From e68e2a7b6ca1e9b091ad4b336381c24a3dac8b30 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Wed, 12 Nov 2025 00:16:42 +0000 Subject: [PATCH 1/2] ## Typescript SDK Changes Detected: * `vercel.projects.updateProjectDataCache()`: `response` **Changed** **Breaking** :warning: * `vercel.teams.inviteUserToTeam()`: `request` **Changed** **Breaking** :warning: * `vercel.user.listUserEvents()`: `response.events.[].payload` **Changed** **Breaking** :warning: * `vercel.integrations.createIntegrationStoreDirect()`: * `response.store` **Changed** **Breaking** :warning: * `error.status[500]` **Added** * `vercel.integrations.getConfigurationProducts()`: `response.products.[].metadataSchema.properties.{}` **Changed** **Breaking** :warning: * `vercel.integrations.deleteConfiguration()`: `error.status[409]` **Removed** **Breaking** :warning: * `vercel.deployments.listDeploymentFiles()`: `response.[].symlink` **Removed** **Breaking** :warning: * `vercel.deployments.cancelDeployment()`: `response` **Changed** **Breaking** :warning: * `vercel.deployments.createDeployment()`: `response` **Changed** **Breaking** :warning: * `vercel.deployments.getDeployment()`: `response` **Changed** **Breaking** :warning: * `vercel.projects.pauseProject()`: `error.status[402]` **Removed** **Breaking** :warning: * `vercel.projects.updateProject()`: * `request.requestBody` **Changed** * `response` **Changed** **Breaking** :warning: * `vercel.projects.createProject()`: `response` **Changed** **Breaking** :warning: * `vercel.projects.getProjects()`: * `request` **Changed** * `response.projects.[]` **Changed** **Breaking** :warning: * `vercel.domainsRegistrar.updateDomainNameservers()`: **Added** * `vercel.domainsRegistrar.updateDomainAutoRenew()`: **Added** * `vercel.domainsRegistrar.getContactInfoSchema()`: **Added** * `vercel.domainsRegistrar.getOrder()`: **Added** * `vercel.logDrains.getConfigurableLogDrain()`: **Added** * `vercel.logDrains.deleteConfigurableLogDrain()`: **Added** * `vercel.logDrains.getAllLogDrains()`: **Added** * `vercel.logDrains.createConfigurableLogDrain()`: **Added** * `vercel.drains.createDrain()`: **Added** * `vercel.drains.getDrains()`: **Added** * `vercel.drains.deleteDrain()`: **Added** * `vercel.drains.getDrain()`: **Added** * `vercel.drains.updateDrain()`: **Added** * `vercel.drains.testDrain()`: **Added** * `vercel.environment.createSharedEnvVariable()`: **Added** * `vercel.environment.listSharedEnvVariable()`: **Added** * `vercel.environment.updateSharedEnvVariable()`: **Added** * `vercel.environment.deleteSharedEnvVariable()`: **Added** * `vercel.environment.getSharedEnvVar()`: **Added** * `vercel.environment.unlinkSharedEnvVariable()`: **Added** * `vercel.marketplace.updateInstallation()`: **Added** * `vercel.marketplace.updateResource()`: **Added** * `vercel.connect.updateStaticIps()`: **Added** * `vercel.staticIps.updateStaticIps()`: **Added** * `vercel.security.get/v1/security/firewall/events()`: **Added** * `vercel.projects.uploadProjectClientCert()`: **Added** * `vercel.domainsRegistrar.renewDomain()`: **Added** * `vercel.domainsRegistrar.getDomainTransferIn()`: **Added** * `vercel.domainsRegistrar.transferInDomain()`: **Added** * `vercel.projects.acceptProjectTransferRequest()`: `response.[1].transferredStoreIds` **Added** * `vercel.domainsRegistrar.buyDomains()`: **Added** * `vercel.domainsRegistrar.buySingleDomain()`: **Added** * `vercel.domainsRegistrar.getDomainAuthCode()`: **Added** * `vercel.domainsRegistrar.getBulkAvailability()`: **Added** * `vercel.domainsRegistrar.getDomainPrice()`: **Added** * `vercel.domainsRegistrar.getDomainAvailability()`: **Added** * `vercel.domainsRegistrar.getTldPrice()`: **Added** * `vercel.domainsRegistrar.getSupportedTlds()`: **Added** * `vercel.domains.checkDomainPrice()`: `error.status[404]` **Added** * `vercel.projects.deleteProjectClientCert()`: **Added** * `vercel.user.getAuthUser()`: `response.user.[authUser].resourceConfig.buildQueue` **Added** * `vercel.marketplace.createEvent()`: * `request.requestBody.event.[2].productId` **Changed** * `vercel.marketplace.exchangeSsoToken()`: `response.expires_in` **Added** * `vercel.marketplace.updateInstallationIntegrationEdgeConfig()`: `response.purpose` **Added** * `vercel.marketplace.createInstallationIntegrationEdgeConfig()`: `response.purpose` **Added** * `vercel.authentication.exchangeSsoToken()`: `response.expires_in` **Added** * `vercel.security.getActiveAttackStatus()`: * `request.since` **Added** * `vercel.projects.getProjectClientCerts()`: **Added** * `vercel.teams.updateTeamMember()`: `error.status[409]` **Added** --- .devcontainer/README.md | 2 +- .speakeasy/gen.lock | 2034 +- .speakeasy/gen.yaml | 9 +- .speakeasy/tests.arazzo.yaml | 899 +- .speakeasy/workflow.lock | 14 +- README.md | 132 +- RELEASES.md | 12 +- RUNTIMES.md | 12 +- docs/models/acceptedpermissionsets.md | 15 + ...cceptprojecttransferrequestresponsebody.md | 3 + ...ceptprojecttransferrequestresponsebody1.md | 6 +- docs/models/actions.md | 24 +- docs/models/additional.md | 14 + docs/models/after.md | 15 + docs/models/aliaserror.md | 2 + docs/models/anomalies.md | 4 +- docs/models/app.md | 21 + ...roverollingreleasestagecanarydeployment.md | 20 +- ...overollingreleasestagecurrentdeployment.md | 20 +- .../approverollingreleasestagereadystate.md | 4 +- ...ingreleasestagerollingreleasereadystate.md | 4 +- ...rollingreleasestagerollingreleasesource.md | 4 +- ...rollingreleasestagerollingreleasetarget.md | 2 + .../approverollingreleasestagesource.md | 4 +- .../approverollingreleasestagetarget.md | 2 + ...{atbrandat543472.md => atbrandat649501.md} | 6 +- .../{atbrandat8486.md => atbrandat8795.md} | 6 +- docs/models/authmethod.md | 2 +- docs/models/authtokenscopesorigin.md | 2 +- docs/models/authuserconfiguration.md | 17 + docs/models/authuserresourceconfig.md | 1 + docs/models/before.md | 15 + docs/models/billingplan.md | 26 +- docs/models/blobt.md | 2 +- docs/models/block.md | 20 +- docs/models/blockhistory.md | 2 +- docs/models/budgetitem.md | 2 +- docs/models/buildqueue.md | 17 + docs/models/buydomainsadditional.md | 14 + docs/models/buydomainscontactinformation.md | 39 + .../buydomainsdomainsregistrarresponsebody.md | 27 + docs/models/buydomainslinks.md | 19 + docs/models/buydomainsmethod.md | 15 + docs/models/buydomainsrequest.md | 39 + docs/models/buydomainsrequestbody.md | 36 + docs/models/buydomainsresponsebody.md | 21 + ...ingledomaindomainsregistrarresponsebody.md | 27 + docs/models/buysingledomainmethod.md | 15 + docs/models/buysingledomainrequest.md | 36 + docs/models/buysingledomainrequestbody.md | 33 + docs/models/buysingledomainresponsebody.md | 26 + docs/models/canarydeployment.md | 20 +- docs/models/canceldeploymentaliaserror.md | 2 + docs/models/canceldeploymentcreator.md | 15 +- .../canceldeploymentcustomenvironment1.md | 2 +- .../canceldeploymentcustomenvironment2.md | 2 + docs/models/canceldeploymentframework.md | 4 +- .../models/canceldeploymentmicrofrontends1.md | 4 +- .../models/canceldeploymentmicrofrontends2.md | 4 +- docs/models/canceldeploymentnodeversion.md | 4 +- .../models/canceldeploymentoidctokenclaims.md | 4 +- docs/models/canceldeploymentproject.md | 2 + docs/models/canceldeploymentreadystate.md | 4 +- docs/models/canceldeploymentresponsebody.md | 212 +- docs/models/canceldeploymentsource.md | 4 +- docs/models/canceldeploymenttarget.md | 2 + docs/models/canceldeploymentteam.md | 2 + docs/models/capabilities.md | 4 +- docs/models/clientauthenticationused.md | 18 + docs/models/clientcerts.md | 19 + docs/models/code.md | 15 + .../completerollingreleasecanarydeployment.md | 20 +- ...completerollingreleasecurrentdeployment.md | 20 +- .../completerollingreleasereadystate.md | 4 +- ...erollingreleaserollingreleasereadystate.md | 4 +- ...pleterollingreleaserollingreleasesource.md | 4 +- ...pleterollingreleaserollingreleasetarget.md | 2 + docs/models/completerollingreleasesource.md | 4 +- docs/models/completerollingreleasetarget.md | 2 + docs/models/compression.md | 15 + docs/models/contactinformation.md | 39 + .../createconfigurablelogdrainrequest.md | 25 + .../createconfigurablelogdrainrequestbody.md | 29 + .../createconfigurablelogdrainresponsebody.md | 14 + docs/models/created.md | 62 +- docs/models/createdeploymentframework.md | 4 +- .../models/createdeploymentmicrofrontends1.md | 4 +- .../models/createdeploymentmicrofrontends2.md | 4 +- docs/models/createdeploymentnodeversion.md | 2 +- docs/models/createdeploymentplan.md | 4 +- docs/models/createdeploymentproject.md | 2 + .../models/createdeploymentprojectsettings.md | 2 +- docs/models/createdeploymentresponsebody.md | 222 +- .../createdeploymentroutestransforms.md | 24 + docs/models/createdeploymentsource.md | 6 +- docs/models/createdeploymentstatus.md | 4 +- docs/models/createdeploymenttarget.md | 6 +- docs/models/createdeploymentteam.md | 2 + docs/models/createdraindelivery1.md | 27 + docs/models/createdraindelivery2.md | 26 + docs/models/createdraindelivery3.md | 21 + docs/models/createdraindelivery4.md | 19 + docs/models/createdraindeliverycompression.md | 15 + docs/models/createdraindeliverydrains1.md | 25 + docs/models/createdraindeliverydrains2.md | 29 + .../createdraindeliverydrainscompression.md | 15 + .../createdraindeliverydrainsencoding.md | 15 + .../createdraindeliverydrainsendpoint.md | 17 + ...rainsresponse200applicationjsonencoding.md | 15 + ...onse200applicationjsonresponsebody2type.md | 17 + ...ponse200applicationjsonresponsebodytype.md | 16 + ...erydrainsresponse200applicationjsontype.md | 15 + ...edraindeliverydrainsresponse200encoding.md | 15 + ...reatedraindeliverydrainsresponse200type.md | 15 + ...eatedraindeliverydrainsresponseencoding.md | 15 + .../createdraindeliverydrainsresponsetype.md | 15 + docs/models/createdraindeliverydrainstype.md | 15 + docs/models/createdraindeliveryencoding.md | 15 + docs/models/createdraindeliveryendpoint.md | 17 + docs/models/createdraindeliverytarget.md | 15 + docs/models/createdraindeliverytype.md | 15 + docs/models/createdrainfilter1.md | 20 + docs/models/createdrainfilter2.md | 19 + docs/models/createdrainfilterdeployment.md | 15 + docs/models/createdrainfilterdrains1.md | 20 + docs/models/createdrainfilterdrains2.md | 19 + .../createdrainfilterdrainsdeployment.md | 15 + .../createdrainfilterdrainsenvironments.md | 15 + docs/models/createdrainfilterdrainslog.md | 16 + docs/models/createdrainfilterdrainsproject.md | 15 + .../createdrainfilterdrainsresponse2.md | 19 + ...eatedrainfilterdrainsresponsedeployment.md | 15 + .../createdrainfilterdrainsresponseproject.md | 15 + .../createdrainfilterdrainsresponsetype.md | 15 + docs/models/createdrainfilterdrainssources.md | 15 + docs/models/createdrainfilterdrainstype.md | 15 + docs/models/createdrainfilterenvironments.md | 15 + docs/models/createdrainfilterlog.md | 16 + docs/models/createdrainfilterproject.md | 15 + docs/models/createdrainfiltersources.md | 15 + docs/models/createdrainfiltertype.md | 15 + docs/models/createdrainfilterv21.md | 17 + docs/models/createdrainfilterv22.md | 22 + ...reatedrainfilterv2drainsresponseversion.md | 15 + .../createdrainfilterv2drainsversion.md | 15 + docs/models/createdrainfilterv2filter.md | 22 + docs/models/createdrainfilterv2version.md | 15 + docs/models/createdrainprojects.md | 15 + docs/models/createdrainrequest.md | 20 + docs/models/createdrainrequestbody.md | 31 + docs/models/createdrainresponsebody.md | 39 + docs/models/createdrainresponsebody1.md | 46 + docs/models/createdrainresponsebody2.md | 50 + .../createdrainresponsebodyanalytics.md | 14 + .../createdrainresponsebodycreatedfrom.md | 15 + .../models/createdrainresponsebodydelivery.md | 51 + .../createdrainresponsebodydrainssource.md | 23 + ...atedrainresponsebodydrainsspeedinsights.md | 14 + .../createdrainresponsebodydrainsstatus.md | 15 + .../createdrainresponsebodydrainstype.md | 15 + docs/models/createdrainresponsebodyenv.md | 15 + .../createdrainresponsebodyframework.md | 15 + ...43472.md => createdrainresponsebodylog.md} | 6 +- ...createdrainresponsebodyprojectsmetadata.md | 21 + .../models/createdrainresponsebodysampling.md | 21 + docs/models/createdrainresponsebodyschemas.md | 18 + docs/models/createdrainresponsebodysource.md | 23 + .../createdrainresponsebodyspeedinsights.md | 14 + docs/models/createdrainresponsebodystatus.md | 15 + docs/models/createdrainresponsebodytype.md | 15 + docs/models/createdrainsource.md | 20 + docs/models/createdrainsource1.md | 17 + docs/models/createdrainsource2.md | 23 + docs/models/createdrainsourcedrains1.md | 17 + docs/models/createdrainsourcedrains2.md | 23 + docs/models/createdrainsourcedrainskind.md | 15 + .../createdrainsourcedrainsresponse200kind.md | 15 + .../createdrainsourcedrainsresponsekind.md | 15 + docs/models/createdrainsourcekind.md | 15 + docs/models/createeventevent.md | 1 - docs/models/createeventrequestbody.md | 1 - .../createintegrationstoredirectactions.md | 10 +- ...reateintegrationstoredirectcapabilities.md | 4 +- ...createintegrationstoredirectdeployments.md | 12 +- .../createintegrationstoredirectframework.md | 4 +- ...tegrationstoredirectintegrationsactions.md | 17 + ...tionstoredirectintegrationsresponsetype.md | 2 +- ...eintegrationstoredirectprojectsmetadata.md | 33 + .../createintegrationstoredirectproperties.md | 2 +- ...createintegrationstoredirectproperties9.md | 2 +- ...tionstoredirectpropertiesatbrandat8795.md} | 6 +- ...ectpropertiesintegrationsatbrandat8795.md} | 6 +- ...redirectpropertiesintegrationsmaxlength.md | 4 +- ...redirectpropertiesintegrationsminlength.md | 4 +- ...toredirectpropertiesintegrationspattern.md | 4 +- ...esponse200applicationjsonatbrandat8795.md} | 6 +- ...ionsresponse200applicationjsonmaxlength.md | 4 +- ...ionsresponse200applicationjsonminlength.md | 4 +- ...ationsresponse200applicationjsonpattern.md | 4 +- ...plicationjsonresponsebodyatbrandat8795.md} | 6 +- ...tionjsonresponsebodystoreatbrandat8795.md} | 6 +- ...nresponsebodystoreproductatbrandat8795.md} | 6 +- ...toreproductmetadataschema1atbrandat8486.md | 18 - ...toreproductmetadataschema1atbrandat8795.md | 18 + ...toreproductmetadataschema6atbrandat8486.md | 18 - ...toreproductmetadataschema6atbrandat8795.md | 18 + ...oductmetadataschema6itemsatbrandat8795.md} | 6 +- ...dataschema6itemsmaxlengthatbrandat8795.md} | 6 +- ...toreproductmetadataschema8atbrandat8486.md | 18 - ...toreproductmetadataschema8atbrandat8795.md | 18 + ...toreproductmetadataschema9atbrandat8486.md | 18 - ...toreproductmetadataschema9atbrandat8795.md | 18 + ...storeproductmetadataschemaatbrandat8486.md | 18 - ...storeproductmetadataschemaatbrandat8795.md | 18 + ...esintegrationsresponse200atbrandat8795.md} | 6 +- ...pertiesintegrationsresponse200maxlength.md | 4 +- ...pertiesintegrationsresponse200minlength.md | 4 +- ...ropertiesintegrationsresponse200pattern.md | 4 +- ...rtiesintegrationsresponseatbrandat8795.md} | 6 +- ...propertiesintegrationsresponsemaxlength.md | 4 +- ...propertiesintegrationsresponseminlength.md | 4 +- ...ctpropertiesintegrationsresponsepattern.md | 4 +- ...propertiesintegrationsresponseuioptions.md | 4 +- ...tegrationstoredirectpropertiesmaxlength.md | 4 +- ...tegrationstoredirectpropertiesminlength.md | 4 +- ...integrationstoredirectpropertiespattern.md | 4 +- ...teintegrationstoredirectpropertiesvalue.md | 4 +- ...reateintegrationstoredirectresponsebody.md | 2 +- .../createintegrationstoredirectstatus.md | 5 +- .../createintegrationstoredirectstore.md | 37 +- .../createintegrationstoredirecttags.md | 4 +- .../createintegrationstoredirectuioptions2.md | 4 +- .../createintegrationstoredirectuioptions3.md | 2 +- ...ationstoredirectuioptionsatbrandat8795.md} | 6 +- ...ateintegrationstoredirectuioptionsvalue.md | 4 +- .../createintegrationstoredirectvalue.md | 4 +- docs/models/createlogdraindeliveryformat.md | 2 +- docs/models/createlogdrainenvironments.md | 6 +- .../createlogdrainlogdrainsdeliveryformat.md | 17 + .../createlogdrainlogdrainsenvironments.md | 17 + docs/models/createlogdrainlogdrainssources.md | 17 + docs/models/createlogdrainrequestbody.md | 6 +- docs/models/createlogdrainresponsebody.md | 38 +- docs/models/createlogdrainsources.md | 6 +- .../createortransferdomainrequestbody.md | 6 +- .../createortransferdomainrequestbody1.md | 14 +- .../createortransferdomainrequestbody2.md | 12 +- .../createortransferdomainrequestbody3.md | 18 +- docs/models/createprojectabuse.md | 3 +- docs/models/createprojectaction.md | 4 +- docs/models/createprojectaibots.md | 8 +- docs/models/createprojectblock.md | 20 +- docs/models/createprojectdismissedtoasts.md | 23 + docs/models/createprojectenvcreated.md | 27 + docs/models/createprojectenvfailed.md | 20 + docs/models/createprojectenvresponsebody.md | 8 +- docs/models/createprojectenvvalue.md | 4 +- docs/models/createprojectenvvalue2.md | 15 + docs/models/createprojectframework.md | 2 +- .../models/createprojectgitprovideroptions.md | 3 +- docs/models/createprojectmicrofrontends.md | 17 +- docs/models/createprojectmicrofrontends1.md | 19 +- docs/models/createprojectmicrofrontends2.md | 15 +- docs/models/createprojectmicrofrontends3.md | 26 + docs/models/createprojectnodeversion.md | 4 +- docs/models/createprojectoidctokenclaims.md | 4 +- docs/models/createprojectpermissions.md | 130 +- docs/models/createprojectprojectsaction.md | 4 +- docs/models/createprojectprojectsframework.md | 4 +- .../createprojectprojectsoidctokenclaims.md | 4 +- ...rojectsresponse200applicationjsonaction.md | 15 + docs/models/createprojectresponsebody.md | 7 +- docs/models/createprojectstaticips.md | 23 + docs/models/createprojectvalue.md | 32 + docs/models/createprojectvalue4.md | 19 + ...reatesharedenvvariableenvironmenttarget.md | 17 + docs/models/createsharedenvvariableerror.md | 28 + docs/models/createsharedenvvariablerequest.md | 20 + .../createsharedenvvariablerequestbody.md | 31 + .../createsharedenvvariablerequestbody1.md | 25 + .../createsharedenvvariablerequestbody2.md | 25 + ...edenvvariablerequestbodyenvironmenttype.md | 17 + ...reatesharedenvvariablerequestbodytarget.md | 15 + .../createsharedenvvariablerequestbodytype.md | 17 + .../createsharedenvvariableresponsebody.md | 40 + docs/models/createsharedenvvariabletarget.md | 17 + docs/models/createsharedenvvariabletarget1.md | 15 + docs/models/createsharedenvvariabletarget2.md | 15 + docs/models/createsharedenvvariabletype.md | 17 + docs/models/createsharedenvvariablevalue.md | 19 + docs/models/createwebhookevents.md | 2 +- docs/models/creator.md | 15 +- docs/models/credentials.md | 2 +- docs/models/credentials1.md | 2 +- docs/models/credentialstype.md | 2 +- docs/models/currentdeployment.md | 20 +- docs/models/currentvalue.md | 23 + docs/models/customenvironment1.md | 2 +- docs/models/customenvironment2.md | 2 + docs/models/data.md | 51 + docs/models/default.md | 4 +- docs/models/defaultroles.md | 8 +- .../deleteconfigurablelogdrainrequest.md | 21 + docs/models/deletedrainrequest.md | 21 + docs/models/deleteprojectclientcertrequest.md | 23 + .../deleteprojectclientcertresponsebody.md | 21 + docs/models/deletesharedenvvariableerror.md | 28 + docs/models/deletesharedenvvariablefailed.md | 20 + docs/models/deletesharedenvvariablerequest.md | 20 + .../deletesharedenvvariablerequestbody.md | 20 + .../deletesharedenvvariableresponsebody.md | 28 + docs/models/deletesharedenvvariabletarget.md | 19 + docs/models/deletesharedenvvariabletarget1.md | 15 + docs/models/deletesharedenvvariabletarget2.md | 15 + docs/models/deletesharedenvvariablevalue.md | 19 + docs/models/deletesharedenvvariablevalue2.md | 15 + docs/models/delivery.md | 35 + docs/models/delivery1.md | 29 + docs/models/delivery2.md | 28 + docs/models/delivery3.md | 21 + docs/models/delivery4.md | 19 + docs/models/deliverycompression.md | 15 + docs/models/deliveryencoding.md | 15 + docs/models/deliveryendpoint.md | 13 + docs/models/deliveryformat.md | 2 +- docs/models/deliverytarget.md | 15 + docs/models/deliverytype.md | 15 + docs/models/details.md | 2 +- docs/models/disabledreason.md | 6 +- docs/models/domains.md | 62 +- docs/models/domains1.md | 28 + docs/models/domains2.md | 26 + docs/models/domains3.md | 28 + docs/models/domainserror.md | 21 + docs/models/domainspurchasetype.md | 15 + docs/models/domainsstatus.md | 15 + docs/models/drains.md | 17 + docs/models/drains1.md | 44 + docs/models/drains2.md | 48 + docs/models/drainsanalytics.md | 14 + docs/models/drainscreatedfrom.md | 15 + docs/models/drainsdelivery.md | 54 + docs/models/drainsdisabledreason.md | 15 + docs/models/drainsenv.md | 15 + docs/models/drainsfilterv2.md | 24 + docs/models/drainsframework.md | 15 + docs/models/drainslog.md | 14 + docs/models/drainsprojectsmetadata.md | 21 + docs/models/drainssampling.md | 21 + docs/models/drainsschemas.md | 18 + docs/models/drainssource.md | 23 + docs/models/drainsspeedinsights.md | 14 + docs/models/drainsstatus.md | 15 + docs/models/drainstrace.md | 14 + docs/models/drainstype.md | 15 + docs/models/eighty.md | 20 +- docs/models/eightyeight.md | 11 +- docs/models/eightyfive.md | 12 +- docs/models/eightyfour.md | 14 +- docs/models/eightynine.md | 17 +- docs/models/eightyone.md | 17 +- docs/models/eightyseven.md | 28 +- docs/models/eightysix.md | 12 +- docs/models/eightythree.md | 18 +- docs/models/eightytwo.md | 17 +- docs/models/endpoint.md | 13 + docs/models/endpoint1.md | 17 + docs/models/env.md | 37 +- docs/models/environments.md | 2 +- docs/models/error1.md | 48 + docs/models/error2.md | 18 + docs/models/event2.md | 3 +- docs/models/events.md | 4 +- docs/models/evs.md | 21 + docs/models/example.md | 4 +- docs/models/exchangessotokenresponsebody.md | 3 +- docs/models/externalresourcestatus.md | 4 +- docs/models/failed.md | 8 +- docs/models/fifty.md | 8 +- docs/models/fiftyeight.md | 51 +- docs/models/fiftyfive.md | 26 +- docs/models/fiftyfour.md | 6 +- docs/models/fiftynine.md | 53 +- docs/models/fiftyone.md | 9 +- docs/models/fiftyseven.md | 59 +- docs/models/fiftysix.md | 45 +- docs/models/fiftythree.md | 13 +- docs/models/fiftytwo.md | 6 +- docs/models/filetree.md | 3 +- docs/models/filter.md | 22 + docs/models/filter1.md | 20 + docs/models/filter2.md | 21 + docs/models/filterdeployment.md | 15 + docs/models/filterenvironments.md | 15 + docs/models/filterfilter.md | 22 + docs/models/filterlog.md | 15 + docs/models/filterproject.md | 15 + docs/models/filtersources.md | 15 + docs/models/filtertype.md | 15 + docs/models/filterv2.md | 25 + docs/models/filterv21.md | 17 + docs/models/filterv22.md | 22 + docs/models/filterv2filter.md | 22 + docs/models/filterv2version.md | 15 + docs/models/forbidden.md | 17 + docs/models/forbiddencode.md | 15 + docs/models/forty.md | 19 +- docs/models/fortyeight.md | 12 +- docs/models/fortyfive.md | 9 +- docs/models/fortyfour.md | 4 +- docs/models/fortynine.md | 8 +- docs/models/fortyone.md | 27 +- docs/models/fortyseven.md | 10 +- docs/models/fortysix.md | 10 +- docs/models/fortythree.md | 11 +- docs/models/fortytwo.md | 11 +- docs/models/framework.md | 2 +- docs/models/getactiveattackstatusrequest.md | 1 + .../getactiveattackstatusresponsebody.md | 2 +- .../getactiveattackstatusresponsebody2.md | 2 +- docs/models/getalllogdrainsdelivery1.md | 25 + docs/models/getalllogdrainsdelivery2.md | 26 + docs/models/getalllogdrainsdelivery3.md | 21 + docs/models/getalllogdrainsdelivery4.md | 19 + .../getalllogdrainsdeliverycompression.md | 15 + .../models/getalllogdrainsdeliveryencoding.md | 15 + .../models/getalllogdrainsdeliveryendpoint.md | 17 + .../getalllogdrainsdeliverylogdrains1.md | 29 + .../getalllogdrainsdeliverylogdrains2.md | 28 + .../getalllogdrainsdeliverylogdrains3.md | 21 + .../getalllogdrainsdeliverylogdrains4.md | 19 + ...lllogdrainsdeliverylogdrainscompression.md | 15 + ...etalllogdrainsdeliverylogdrainsencoding.md | 15 + ...etalllogdrainsdeliverylogdrainsendpoint.md | 17 + ...0applicationjsonresponsebody1drainstype.md | 19 + ...onse200applicationjsonresponsebody1type.md | 17 + ...ponse200applicationjsonresponsebodytype.md | 17 + ...logdrainsresponse200applicationjsontype.md | 16 + ...insdeliverylogdrainsresponse200encoding.md | 15 + ...gdrainsdeliverylogdrainsresponse200type.md | 15 + ...drainsdeliverylogdrainsresponseencoding.md | 15 + ...llogdrainsdeliverylogdrainsresponsetype.md | 15 + .../getalllogdrainsdeliverylogdrainstarget.md | 15 + .../getalllogdrainsdeliverylogdrainstype.md | 15 + docs/models/getalllogdrainsdeliverytarget.md | 15 + docs/models/getalllogdrainsdeliverytype.md | 15 + docs/models/getalllogdrainsdrains1.md | 44 + docs/models/getalllogdrainsdrains2.md | 48 + docs/models/getalllogdrainsdrainsanalytics.md | 14 + .../getalllogdrainsdrainscreatedfrom.md | 15 + docs/models/getalllogdrainsdrainsdelivery.md | 54 + .../getalllogdrainsdrainsdisabledreason.md | 15 + docs/models/getalllogdrainsdrainsenv.md | 15 + docs/models/getalllogdrainsdrainsfilterv2.md | 24 + docs/models/getalllogdrainsdrainsframework.md | 15 + docs/models/getalllogdrainsdrainslog.md | 14 + ...getalllogdrainsdrainslogdrainsanalytics.md | 14 + ...talllogdrainsdrainslogdrainscreatedfrom.md | 15 + .../getalllogdrainsdrainslogdrainsdelivery.md | 48 + ...llogdrainsdrainslogdrainsdisabledreason.md | 16 + .../getalllogdrainsdrainslogdrainsenv.md | 15 + .../getalllogdrainsdrainslogdrainsfilterv2.md | 24 + .../getalllogdrainsdrainslogdrainslog.md | 14 + .../getalllogdrainsdrainslogdrainssampling.md | 21 + .../getalllogdrainsdrainslogdrainsschemas.md | 18 + .../getalllogdrainsdrainslogdrainssource.md | 23 + ...lllogdrainsdrainslogdrainsspeedinsights.md | 14 + .../getalllogdrainsdrainslogdrainsstatus.md | 15 + .../getalllogdrainsdrainslogdrainstrace.md | 14 + .../getalllogdrainsdrainslogdrainstype.md | 15 + .../getalllogdrainsdrainsprojectsmetadata.md | 21 + docs/models/getalllogdrainsdrainssampling.md | 21 + docs/models/getalllogdrainsdrainsschemas.md | 18 + docs/models/getalllogdrainsdrainssource.md | 23 + .../getalllogdrainsdrainsspeedinsights.md | 14 + docs/models/getalllogdrainsdrainsstatus.md | 15 + docs/models/getalllogdrainsdrainstrace.md | 14 + docs/models/getalllogdrainsdrainstype.md | 15 + docs/models/getalllogdrainsfilter1.md | 20 + docs/models/getalllogdrainsfilter2.md | 19 + .../models/getalllogdrainsfilterdeployment.md | 15 + .../getalllogdrainsfilterenvironments.md | 15 + docs/models/getalllogdrainsfilterlog.md | 16 + .../models/getalllogdrainsfilterlogdrains1.md | 20 + .../models/getalllogdrainsfilterlogdrains2.md | 19 + ...etalllogdrainsfilterlogdrainsdeployment.md | 15 + ...alllogdrainsfilterlogdrainsenvironments.md | 15 + .../getalllogdrainsfilterlogdrainslog.md | 16 + .../getalllogdrainsfilterlogdrainsproject.md | 15 + ...logdrainsfilterlogdrainsresponse200type.md | 15 + ...alllogdrainsfilterlogdrainsresponsetype.md | 15 + .../getalllogdrainsfilterlogdrainssources.md | 15 + .../getalllogdrainsfilterlogdrainstype.md | 15 + docs/models/getalllogdrainsfilterproject.md | 15 + docs/models/getalllogdrainsfiltersources.md | 15 + docs/models/getalllogdrainsfiltertype.md | 15 + docs/models/getalllogdrainsfilterv21.md | 17 + docs/models/getalllogdrainsfilterv22.md | 21 + docs/models/getalllogdrainsfilterv2filter.md | 22 + .../getalllogdrainsfilterv2logdrains1.md | 17 + .../getalllogdrainsfilterv2logdrains2.md | 21 + .../getalllogdrainsfilterv2logdrainsfilter.md | 22 + ...ainsfilterv2logdrainsresponse200version.md | 15 + ...gdrainsfilterv2logdrainsresponseversion.md | 15 + ...getalllogdrainsfilterv2logdrainsversion.md | 15 + docs/models/getalllogdrainsfilterv2version.md | 15 + docs/models/getalllogdrainsrequest.md | 22 + docs/models/getalllogdrainsresponsebody.md | 32 + docs/models/getalllogdrainsresponsebody1.md | 28 + docs/models/getalllogdrainsresponsebody2.md | 18 + .../getalllogdrainsresponsebodyframework.md | 15 + docs/models/getalllogdrainssource1.md | 17 + docs/models/getalllogdrainssource2.md | 23 + docs/models/getalllogdrainssourcekind.md | 15 + .../models/getalllogdrainssourcelogdrains1.md | 17 + .../models/getalllogdrainssourcelogdrains2.md | 23 + .../getalllogdrainssourcelogdrainskind.md | 15 + ...logdrainssourcelogdrainsresponse200kind.md | 15 + ...alllogdrainssourcelogdrainsresponsekind.md | 15 + docs/models/getbulkavailabilityrequest.md | 21 + docs/models/getbulkavailabilityrequestbody.md | 19 + .../models/getbulkavailabilityresponsebody.md | 24 + .../getconfigurablelogdrainframework.md | 15 + docs/models/getconfigurablelogdrainrequest.md | 21 + .../getconfigurablelogdrainresponsebody.md | 18 + ...ationproductspropertiesatbrandat649501.md} | 6 +- ...spropertiesintegrationsatbrandat649501.md} | 6 +- ...productspropertiesintegrationsmaxlength.md | 4 +- ...productspropertiesintegrationsminlength.md | 4 +- ...onproductspropertiesintegrationspattern.md | 4 +- ...ponse200applicationjsonatbrandat649501.md} | 6 +- ...icationjsonresponsebodyatbrandat649501.md} | 6 +- ...sonresponsebodyproductsatbrandat649501.md} | 6 +- ...roductsmetadataschema10atbrandat649501.md} | 6 +- ...productsmetadataschema6atbrandat649501.md} | 6 +- ...uctsmetadataschema6itemsatbrandat543472.md | 18 - ...uctsmetadataschema6itemsatbrandat649501.md | 18 + ...taschema6itemsminlengthatbrandat649501.md} | 6 +- ...yproductsmetadataschema8atbrandat543472.md | 18 - ...yproductsmetadataschema8atbrandat649501.md | 18 + ...uctsmetadataschema8itemsatbrandat543472.md | 18 - ...uctsmetadataschema8itemsatbrandat649501.md | 18 + ...taschema8itemsminlengthatbrandat649501.md} | 6 +- ...dataschema8itemspatternatbrandat649501.md} | 6 +- ...yproductsmetadataschema9atbrandat543472.md | 18 - ...yproductsmetadataschema9atbrandat649501.md | 18 + ...metadataschema9maxlengthatbrandat543472.md | 18 - ...metadataschema9maxlengthatbrandat649501.md | 18 + ...tsmetadataschema9patternatbrandat543472.md | 18 - ...tsmetadataschema9patternatbrandat649501.md | 18 + ...yproductsmetadataschemaatbrandat649501.md} | 6 +- ...integrationsresponse200atbrandat649501.md} | 6 +- ...pertiesintegrationsresponse200maxlength.md | 4 +- ...pertiesintegrationsresponse200minlength.md | 4 +- ...ropertiesintegrationsresponse200pattern.md | 4 +- ...iesintegrationsresponseatbrandat649501.md} | 6 +- ...propertiesintegrationsresponsemaxlength.md | 4 +- ...propertiesintegrationsresponseminlength.md | 4 +- ...tspropertiesintegrationsresponsepattern.md | 4 +- ...productspropertiesintegrationsuioptions.md | 4 +- ...onfigurationproductspropertiesmaxlength.md | 4 +- ...onfigurationproductspropertiesminlength.md | 4 +- ...tconfigurationproductspropertiespattern.md | 4 +- ...onfigurationproductspropertiesuioptions.md | 4 +- .../getconfigurationproductsuioptions2.md | 4 +- .../getconfigurationproductsuioptions3.md | 2 +- ...rationproductsuioptionsatbrandat649501.md} | 6 +- ...tsuioptionsintegrationsatbrandat649501.md} | 6 +- ...onsintegrationsresponseatbrandat649501.md} | 6 +- .../getconfigurationproductsuioptionsvalue.md | 4 +- docs/models/getconfigurationsresponsebody1.md | 2 +- docs/models/getconfigurationsresponsebody2.md | 2 +- ...onfigurationsresponsebodydisabledreason.md | 15 + ...sresponsebodyintegrationsdisabledreason.md | 16 + .../getconfigurationtransferrequestkind.md | 4 +- docs/models/getcontactinfoschemarequest.md | 19 + .../getcontactinfoschemaresponsebody.md | 16 + .../models/getdeploymentcustomenvironment1.md | 2 +- .../models/getdeploymentcustomenvironment2.md | 2 + ...deploymentcustomenvironmentdeployments1.md | 2 +- ...deploymentcustomenvironmentdeployments2.md | 2 + docs/models/getdeploymentmicrofrontends1.md | 4 +- docs/models/getdeploymentmicrofrontends2.md | 4 +- docs/models/getdeploymentresponsebody.md | 85 +- docs/models/getdeploymentresponsebody1.md | 213 +- docs/models/getdeploymentresponsebody2.md | 154 +- .../getdeploymentresponsebodyaliaserror.md | 2 + .../getdeploymentresponsebodycreator.md | 15 +- .../getdeploymentresponsebodynodeversion.md | 2 +- ...etdeploymentresponsebodyoidctokenclaims.md | 4 +- .../getdeploymentresponsebodyproject.md | 2 + .../getdeploymentresponsebodyreadystate.md | 4 +- .../models/getdeploymentresponsebodysource.md | 2 + .../models/getdeploymentresponsebodytarget.md | 2 + docs/models/getdeploymentresponsebodyteam.md | 2 + docs/models/getdeploymentsframework.md | 2 +- docs/models/getdeploymentsnodeversion.md | 4 +- ...ainauthcodedomainsregistrarresponsebody.md | 27 + docs/models/getdomainauthcoderequest.md | 19 + docs/models/getdomainauthcoderesponsebody.md | 19 + docs/models/getdomainavailabilityrequest.md | 19 + .../getdomainavailabilityresponsebody.md | 19 + docs/models/getdomainpricerequest.md | 20 + docs/models/getdomainpriceresponsebody.md | 25 + docs/models/getdomainsdomains.md | 63 + docs/models/getdomainsresponsebody.md | 2 +- ...ntransferindomainsregistrarresponsebody.md | 27 + docs/models/getdomaintransferinrequest.md | 19 + .../models/getdomaintransferinresponsebody.md | 19 + docs/models/getdomaintransferinstatus.md | 15 + docs/models/getdraindelivery1.md | 28 + docs/models/getdraindelivery2.md | 29 + docs/models/getdraindelivery3.md | 21 + docs/models/getdraindelivery4.md | 19 + docs/models/getdraindeliverycompression.md | 15 + docs/models/getdraindeliverydrains1.md | 28 + docs/models/getdraindeliverydrains2.md | 28 + docs/models/getdraindeliverydrains3.md | 21 + docs/models/getdraindeliverydrains4.md | 19 + .../getdraindeliverydrainscompression.md | 15 + docs/models/getdraindeliverydrainsencoding.md | 15 + docs/models/getdraindeliverydrainsendpoint.md | 17 + ...nse200applicationjsonresponsebody24type.md | 16 + ...onse200applicationjsonresponsebody2type.md | 16 + ...ponse200applicationjsonresponsebodytype.md | 16 + ...erydrainsresponse200applicationjsontype.md | 15 + ...tdraindeliverydrainsresponse200encoding.md | 15 + .../getdraindeliverydrainsresponse200type.md | 15 + .../getdraindeliverydrainsresponseencoding.md | 15 + .../getdraindeliverydrainsresponsetype.md | 15 + docs/models/getdraindeliverydrainstarget.md | 15 + docs/models/getdraindeliverydrainstype.md | 15 + docs/models/getdraindeliveryencoding.md | 15 + docs/models/getdraindeliveryendpoint.md | 17 + docs/models/getdraindeliverytarget.md | 15 + docs/models/getdraindeliverytype.md | 15 + docs/models/getdrainfilter1.md | 20 + docs/models/getdrainfilter2.md | 19 + docs/models/getdrainfilterdeployment.md | 15 + docs/models/getdrainfilterdrains1.md | 20 + docs/models/getdrainfilterdrains2.md | 19 + docs/models/getdrainfilterdrainsdeployment.md | 15 + .../getdrainfilterdrainsenvironments.md | 15 + docs/models/getdrainfilterdrainslog.md | 16 + docs/models/getdrainfilterdrainsproject.md | 15 + .../getdrainfilterdrainsresponse200type.md | 15 + .../getdrainfilterdrainsresponsetype.md | 15 + docs/models/getdrainfilterdrainssources.md | 15 + docs/models/getdrainfilterdrainstype.md | 15 + docs/models/getdrainfilterenvironments.md | 15 + docs/models/getdrainfilterlog.md | 16 + docs/models/getdrainfilterproject.md | 15 + docs/models/getdrainfiltersources.md | 15 + docs/models/getdrainfiltertype.md | 15 + docs/models/getdrainfilterv21.md | 17 + docs/models/getdrainfilterv22.md | 22 + docs/models/getdrainfilterv2drains1.md | 17 + docs/models/getdrainfilterv2drains2.md | 22 + docs/models/getdrainfilterv2drainsfilter.md | 22 + ...etdrainfilterv2drainsresponse200version.md | 15 + .../getdrainfilterv2drainsresponseversion.md | 15 + docs/models/getdrainfilterv2drainsversion.md | 15 + docs/models/getdrainfilterv2filter.md | 22 + docs/models/getdrainfilterv2version.md | 15 + docs/models/getdrainrequest.md | 21 + docs/models/getdrainresponsebody.md | 39 + docs/models/getdrainresponsebody1.md | 46 + docs/models/getdrainresponsebody2.md | 50 + docs/models/getdrainresponsebodyanalytics.md | 14 + .../models/getdrainresponsebodycreatedfrom.md | 15 + docs/models/getdrainresponsebodydelivery.md | 54 + .../getdrainresponsebodydisabledreason.md | 15 + .../getdrainresponsebodydrainsanalytics.md | 14 + .../getdrainresponsebodydrainscreatedfrom.md | 15 + .../getdrainresponsebodydrainsdelivery.md | 53 + ...etdrainresponsebodydrainsdisabledreason.md | 15 + docs/models/getdrainresponsebodydrainsenv.md | 15 + .../getdrainresponsebodydrainsfilterv2.md | 25 + docs/models/getdrainresponsebodydrainslog.md | 14 + .../getdrainresponsebodydrainssampling.md | 21 + .../getdrainresponsebodydrainsschemas.md | 18 + .../getdrainresponsebodydrainssource.md | 23 + ...getdrainresponsebodydrainsspeedinsights.md | 14 + .../getdrainresponsebodydrainsstatus.md | 15 + .../models/getdrainresponsebodydrainstrace.md | 14 + docs/models/getdrainresponsebodydrainstype.md | 15 + docs/models/getdrainresponsebodyenv.md | 15 + docs/models/getdrainresponsebodyfilterv2.md | 25 + docs/models/getdrainresponsebodyframework.md | 15 + docs/models/getdrainresponsebodylog.md | 14 + .../getdrainresponsebodyprojectsmetadata.md | 21 + docs/models/getdrainresponsebodysampling.md | 21 + docs/models/getdrainresponsebodyschemas.md | 18 + docs/models/getdrainresponsebodysource.md | 23 + .../getdrainresponsebodyspeedinsights.md | 14 + docs/models/getdrainresponsebodystatus.md | 15 + docs/models/getdrainresponsebodytrace.md | 14 + docs/models/getdrainresponsebodytype.md | 15 + docs/models/getdrainsdelivery1.md | 27 + docs/models/getdrainsdelivery2.md | 30 + docs/models/getdrainsdelivery3.md | 21 + docs/models/getdrainsdelivery4.md | 19 + docs/models/getdrainsdeliverycompression.md | 15 + docs/models/getdrainsdeliverydrains1.md | 25 + docs/models/getdrainsdeliverydrains2.md | 26 + docs/models/getdrainsdeliverydrains3.md | 21 + docs/models/getdrainsdeliverydrains4.md | 19 + .../getdrainsdeliverydrainscompression.md | 15 + .../models/getdrainsdeliverydrainsencoding.md | 15 + .../models/getdrainsdeliverydrainsendpoint.md | 17 + ...0applicationjsonresponsebodydrains2type.md | 17 + ...00applicationjsonresponsebodydrainstype.md | 17 + ...ponse200applicationjsonresponsebodytype.md | 16 + ...erydrainsresponse200applicationjsontype.md | 15 + ...drainsdeliverydrainsresponse200encoding.md | 15 + .../getdrainsdeliverydrainsresponse200type.md | 15 + ...getdrainsdeliverydrainsresponseencoding.md | 15 + .../getdrainsdeliverydrainsresponsetype.md | 15 + docs/models/getdrainsdeliverydrainstarget.md | 15 + docs/models/getdrainsdeliverydrainstype.md | 15 + docs/models/getdrainsdeliveryencoding.md | 15 + docs/models/getdrainsdeliveryendpoint.md | 17 + docs/models/getdrainsdeliverytarget.md | 15 + docs/models/getdrainsdeliverytype.md | 15 + docs/models/getdrainsdrainsanalytics.md | 14 + docs/models/getdrainsdrainscreatedfrom.md | 15 + docs/models/getdrainsdrainsdelivery.md | 48 + docs/models/getdrainsdrainsdisabledreason.md | 15 + docs/models/getdrainsdrainsenv.md | 15 + docs/models/getdrainsdrainsfilterv2.md | 25 + docs/models/getdrainsdrainslog.md | 14 + docs/models/getdrainsdrainssampling.md | 21 + docs/models/getdrainsdrainsschemas.md | 18 + docs/models/getdrainsdrainssource.md | 23 + docs/models/getdrainsdrainsspeedinsights.md | 14 + docs/models/getdrainsdrainsstatus.md | 15 + docs/models/getdrainsdrainstrace.md | 14 + docs/models/getdrainsdrainstype.md | 15 + docs/models/getdrainsfilter1.md | 20 + docs/models/getdrainsfilter2.md | 19 + docs/models/getdrainsfilterdeployment.md | 15 + docs/models/getdrainsfilterdrains1.md | 20 + docs/models/getdrainsfilterdrains2.md | 19 + .../models/getdrainsfilterdrainsdeployment.md | 15 + .../getdrainsfilterdrainsenvironments.md | 15 + docs/models/getdrainsfilterdrainslog.md | 16 + docs/models/getdrainsfilterdrainsproject.md | 15 + .../getdrainsfilterdrainsresponse200type.md | 15 + .../getdrainsfilterdrainsresponsetype.md | 15 + docs/models/getdrainsfilterdrainssources.md | 15 + docs/models/getdrainsfilterdrainstype.md | 15 + docs/models/getdrainsfilterenvironments.md | 15 + docs/models/getdrainsfilterlog.md | 16 + docs/models/getdrainsfilterproject.md | 15 + docs/models/getdrainsfiltersources.md | 15 + docs/models/getdrainsfiltertype.md | 15 + docs/models/getdrainsfilterv21.md | 17 + docs/models/getdrainsfilterv22.md | 21 + docs/models/getdrainsfilterv2drains1.md | 17 + docs/models/getdrainsfilterv2drains2.md | 22 + docs/models/getdrainsfilterv2drainsfilter.md | 22 + ...tdrainsfilterv2drainsresponse200version.md | 15 + .../getdrainsfilterv2drainsresponseversion.md | 15 + docs/models/getdrainsfilterv2drainsversion.md | 15 + docs/models/getdrainsfilterv2filter.md | 22 + docs/models/getdrainsfilterv2version.md | 15 + docs/models/getdrainsource1.md | 17 + docs/models/getdrainsource2.md | 23 + docs/models/getdrainsourcedrains1.md | 17 + docs/models/getdrainsourcedrains2.md | 23 + docs/models/getdrainsourcedrainskind.md | 15 + .../getdrainsourcedrainsresponse200kind.md | 15 + .../getdrainsourcedrainsresponsekind.md | 15 + docs/models/getdrainsourcekind.md | 15 + docs/models/getdrainsrequest.md | 21 + docs/models/getdrainsresponsebody.md | 30 + docs/models/getdrainssource1.md | 17 + docs/models/getdrainssource2.md | 23 + docs/models/getdrainssourcedrains1.md | 17 + docs/models/getdrainssourcedrains2.md | 23 + docs/models/getdrainssourcedrainskind.md | 15 + .../getdrainssourcedrainsresponse200kind.md | 15 + .../getdrainssourcedrainsresponsekind.md | 15 + docs/models/getdrainssourcekind.md | 15 + .../getintegrationlogdrainsdeliveryformat.md | 2 +- docs/models/getintegrationlogdrainssource.md | 8 +- docs/models/getintegrationlogdrainssource1.md | 17 + docs/models/getintegrationlogdrainssource2.md | 23 + docs/models/getintegrationlogdrainssources.md | 4 +- .../getintegrationresourcesresources.md | 28 + .../getintegrationresourcesresponsebody.md | 6 +- docs/models/getintegrationresourcesstatus.md | 2 +- docs/models/getintegrationresourcestatus.md | 4 +- docs/models/getinvoicestate.md | 4 +- docs/models/getorder11.md | 17 + docs/models/getorder12.md | 26 + docs/models/getorder13.md | 21 + docs/models/getorder1code.md | 15 + docs/models/getorder1details.md | 17 + docs/models/getorder1domainsregistrar1.md | 21 + docs/models/getorder1domainsregistrar2.md | 17 + docs/models/getorder1domainsregistrar3.md | 17 + docs/models/getorder1domainsregistrarcode.md | 15 + .../getorder1domainsregistrardetails.md | 17 + .../getorder1domainsregistrarresponse1.md | 21 + .../getorder1domainsregistrarresponse2.md | 17 + .../getorder1domainsregistrarresponse2001.md | 21 + .../getorder1domainsregistrarresponse2002.md | 17 + .../getorder1domainsregistrarresponse2003.md | 17 + ...registrarresponse200applicationjsoncode.md | 16 + ...ponse200applicationjsonresponsebodycode.md | 16 + ...applicationjsonresponsebodydomains1code.md | 17 + ...ationjsonresponsebodydomains1error3code.md | 19 + ...cationjsonresponsebodydomains1errorcode.md | 17 + ...applicationjsonresponsebodydomains2code.md | 17 + ...applicationjsonresponsebodydomains3code.md | 17 + ...0applicationjsonresponsebodydomainscode.md | 17 + ...etorder1domainsregistrarresponse200code.md | 16 + ...rder1domainsregistrarresponse200details.md | 17 + .../getorder1domainsregistrarresponse3.md | 17 + .../getorder1domainsregistrarresponsecode.md | 15 + ...etorder1domainsregistrarresponsedetails.md | 17 + docs/models/getorderdomains.md | 43 + .../getorderdomainsdomainsregistrarerror.md | 24 + ...rderdomainsdomainsregistrarpurchasetype.md | 15 + .../getorderdomainsdomainsregistrarstatus.md | 15 + docs/models/getorderdomainserror.md | 21 + docs/models/getorderdomainspurchasetype.md | 15 + .../getorderdomainsregistrarresponsebody.md | 27 + docs/models/getorderdomainsstatus.md | 15 + docs/models/getordererror.md | 24 + docs/models/getordererror1.md | 32 + docs/models/getordererror2.md | 18 + docs/models/getordererrordomainsregistrar1.md | 32 + docs/models/getordererrordomainsregistrar2.md | 18 + .../getordererrordomainsregistrarresponse1.md | 32 + .../getordererrordomainsregistrarresponse2.md | 18 + docs/models/getorderrequest.md | 19 + docs/models/getorderresponsebody.md | 24 + docs/models/getorderstatus.md | 15 + docs/models/getprojectclientcertsrequest.md | 21 + .../getprojectclientcertsresponsebody.md | 24 + docs/models/getprojectsabuse.md | 3 +- docs/models/getprojectsaction.md | 4 +- docs/models/getprojectsaibots.md | 8 +- docs/models/getprojectsblock.md | 20 +- docs/models/getprojectsdismissedtoasts.md | 23 + docs/models/getprojectsframework.md | 4 +- docs/models/getprojectsgitprovideroptions.md | 3 +- docs/models/getprojectsmicrofrontends.md | 18 +- docs/models/getprojectsmicrofrontends1.md | 22 +- docs/models/getprojectsmicrofrontends2.md | 15 +- docs/models/getprojectsmicrofrontends3.md | 24 + docs/models/getprojectsnodeversion.md | 2 +- docs/models/getprojectsoidctokenclaims.md | 4 +- docs/models/getprojectspermissions.md | 130 +- docs/models/getprojectsprojects.md | 5 +- docs/models/getprojectsprojectsaction.md | 4 +- .../getprojectsprojectsoidctokenclaims.md | 4 +- ...rojectsresponse200applicationjsonaction.md | 15 + docs/models/getprojectsrequest.md | 36 +- docs/models/getprojectsresponsebody.md | 2 +- docs/models/getprojectsstaticips.md | 24 + docs/models/getprojectsvalue.md | 32 + docs/models/getprojectsvalue4.md | 19 + docs/models/getprojectsvaluecurrentvalue.md | 23 + docs/models/getprojectsvaluepreviousvalue.md | 23 + docs/models/getrollingreleasereadystate.md | 2 + ...trollingreleaserollingreleasereadystate.md | 4 +- .../getrollingreleaserollingreleasesource.md | 4 +- .../getrollingreleaserollingreleasetarget.md | 2 + docs/models/getrollingreleasesource.md | 4 +- docs/models/getrollingreleasetarget.md | 2 + docs/models/getsharedenvvarrequest.md | 21 + docs/models/getsharedenvvarresponsebody.md | 51 + docs/models/getsharedenvvartarget.md | 17 + docs/models/getsharedenvvartype.md | 17 + docs/models/getsupportedtldsrequest.md | 17 + docs/models/gettldpricerequest.md | 20 + docs/models/gettldpriceresponsebody.md | 25 + .../getv1securityfirewalleventsrequest.md | 20 + ...getv1securityfirewalleventsresponsebody.md | 17 + docs/models/getwebhookevents.md | 2 +- docs/models/getwebhooksresponsebody1.md | 20 +- docs/models/getwebhooksresponsebodyevents.md | 2 +- .../getwebhooksresponsebodyframework.md | 4 +- ...getwebhooksresponsebodyprojectsmetadata.md | 21 + docs/models/git.md | 19 + docs/models/gitprovideroptions.md | 3 +- docs/models/granttype.md | 2 +- ...ourceidexperimentationedgeconfigpurpose.md | 19 + ...idexperimentationedgeconfigresponsebody.md | 11 +- docs/models/highlighteddetails.md | 2 +- docs/models/importresourcebillingplan.md | 28 + docs/models/importresourcedetails.md | 18 + .../importresourcehighlighteddetails.md | 18 + docs/models/importresourcelevel.md | 15 + docs/models/importresourcenotification.md | 21 + docs/models/importresourcerequestbody.md | 22 +- docs/models/importresourcestatus.md | 2 +- docs/models/internalservererror.md | 17 + docs/models/internalservererrorcode.md | 15 + docs/models/invitedteammember.md | 33 + docs/models/inviteusertoteamrequestbody.md | 11 +- docs/models/inviteusertoteamresponsebody.md | 33 - docs/models/inviteusertoteamrole.md | 2 +- docs/models/inviteusertoteamteamroles.md | 17 - .../inviteusertoteamteamsresponserole.md | 17 - docs/models/items.md | 18 +- docs/models/items1.md | 23 +- docs/models/level.md | 2 +- docs/models/links.md | 19 + docs/models/listaccessgroupmembersteamrole.md | 15 + docs/models/listsharedenvvariablerequest.md | 34 + .../listsharedenvvariableresponsebody.md | 23 + docs/models/listsharedenvvariabletarget.md | 17 + docs/models/listsharedenvvariabletype.md | 17 + docs/models/log.md | 15 + docs/models/maxlength.md | 4 +- docs/models/members.md | 18 +- docs/models/membership.md | 26 +- docs/models/method.md | 15 + docs/models/microfrontends.md | 17 +- docs/models/microfrontends1.md | 21 +- docs/models/microfrontends2.md | 15 +- docs/models/microfrontends3.md | 24 + docs/models/microfrontendsrequest.md | 21 + docs/models/minlength.md | 4 +- docs/models/newenvvar.md | 4 +- docs/models/newowner.md | 3 +- docs/models/newplan.md | 15 + docs/models/next.md | 2 +- docs/models/nextacceptedpermissionsets.md | 15 + docs/models/nextpermissions.md | 15 + docs/models/nextscopes.md | 15 + docs/models/ninety.md | 9 +- docs/models/ninetyeight.md | 14 +- docs/models/ninetyfive.md | 14 +- docs/models/ninetyfour.md | 15 +- docs/models/ninetynine.md | 14 +- docs/models/ninetyone.md | 25 +- docs/models/ninetyseven.md | 6 +- docs/models/ninetysix.md | 14 +- docs/models/ninetythree.md | 28 +- docs/models/ninetytwo.md | 11 +- docs/models/nodeversion.md | 2 +- docs/models/notauthorizedforscope.md | 17 + docs/models/notification.md | 25 +- docs/models/notification1.md | 21 + docs/models/notificationlevel.md | 15 + docs/models/oidctokenclaims.md | 4 +- docs/models/oldenvvar.md | 2 +- docs/models/one1.md | 16 +- docs/models/one2.md | 16 +- docs/models/one3.md | 18 +- docs/models/one4.md | 17 + docs/models/onecode.md | 15 + docs/models/onedetails.md | 18 + docs/models/onehundred.md | 14 +- docs/models/onehundredandeight.md | 28 +- docs/models/onehundredandeighteen.md | 18 +- docs/models/onehundredandeleven.md | 8 +- docs/models/onehundredandfifteen.md | 21 +- docs/models/onehundredandfifty.md | 21 +- docs/models/onehundredandfiftyeight.md | 13 +- docs/models/onehundredandfiftyfive.md | 10 +- docs/models/onehundredandfiftyfour.md | 14 +- docs/models/onehundredandfiftyone.md | 24 +- docs/models/onehundredandfiftyseven.md | 13 +- docs/models/onehundredandfiftysix.md | 12 +- docs/models/onehundredandfiftythree.md | 21 +- docs/models/onehundredandfiftytwo.md | 21 +- docs/models/onehundredandfive.md | 31 +- docs/models/onehundredandforty.md | 9 +- docs/models/onehundredandfortyeight.md | 16 +- docs/models/onehundredandfortyfive.md | 19 +- docs/models/onehundredandfortyfour.md | 11 +- docs/models/onehundredandfortynine.md | 18 +- docs/models/onehundredandfortyone.md | 8 +- docs/models/onehundredandfortyseven.md | 14 +- docs/models/onehundredandfortysix.md | 15 +- docs/models/onehundredandfortythree.md | 14 +- docs/models/onehundredandfortytwo.md | 18 +- docs/models/onehundredandfour.md | 23 +- docs/models/onehundredandfourteen.md | 20 +- docs/models/onehundredandnine.md | 10 +- docs/models/onehundredandnineteen.md | 13 +- docs/models/onehundredandone.md | 17 +- docs/models/onehundredandseven.md | 27 +- docs/models/onehundredandseventeen.md | 18 +- docs/models/onehundredandsix.md | 33 +- docs/models/onehundredandsixteen.md | 24 +- docs/models/onehundredandsixty.md | 10 +- docs/models/onehundredandsixtyfive.md | 30 + docs/models/onehundredandsixtyfour.md | 31 +- docs/models/onehundredandsixtyone.md | 24 +- docs/models/onehundredandsixtyseven.md | 32 + docs/models/onehundredandsixtysix.md | 31 + docs/models/onehundredandsixtythree.md | 23 +- docs/models/onehundredandsixtytwo.md | 23 +- docs/models/onehundredandten.md | 18 +- docs/models/onehundredandthirteen.md | 16 +- docs/models/onehundredandthirty.md | 3 +- docs/models/onehundredandthirtyeight.md | 21 +- docs/models/onehundredandthirtyfive.md | 16 +- docs/models/onehundredandthirtyfour.md | 22 +- docs/models/onehundredandthirtynine.md | 21 +- docs/models/onehundredandthirtyone.md | 18 +- docs/models/onehundredandthirtyseven.md | 16 +- docs/models/onehundredandthirtysix.md | 12 +- docs/models/onehundredandthirtythree.md | 10 +- docs/models/onehundredandthirtytwo.md | 16 +- docs/models/onehundredandthree.md | 22 +- docs/models/onehundredandtwelve.md | 17 +- docs/models/onehundredandtwenty.md | 16 +- docs/models/onehundredandtwentyeight.md | 10 +- docs/models/onehundredandtwentyfive.md | 16 +- docs/models/onehundredandtwentyfour.md | 12 +- docs/models/onehundredandtwentynine.md | 11 +- docs/models/onehundredandtwentyone.md | 6 +- docs/models/onehundredandtwentyseven.md | 4 +- docs/models/onehundredandtwentysix.md | 8 +- docs/models/onehundredandtwentythree.md | 18 +- docs/models/onehundredandtwentytwo.md | 6 +- docs/models/onehundredandtwo.md | 6 +- docs/models/patchdomainrequestbody1.md | 12 +- docs/models/patchedgeconfigitems11.md | 22 + docs/models/patchedgeconfigitems12.md | 22 + docs/models/patchedgeconfigitems13.md | 22 + docs/models/patchedgeconfigitemsitems.md | 15 + .../models/patchedgeconfigitemsrequestbody.md | 6 +- docs/models/pattern.md | 4 +- docs/models/payload.md | 797 +- docs/models/payloadapp.md | 25 + docs/models/payloadbudget.md | 2 +- docs/models/payloadbuildqueue.md | 15 + docs/models/payloadfeatureblocks.md | 3 +- .../payloadimageoptimizationtransformation.md | 2 +- docs/models/payloaditems.md | 17 + docs/models/payloadmicrofrontends.md | 17 +- docs/models/payloadprev.md | 2 +- docs/models/payloadprojectids.md | 23 + docs/models/payloadprojectmembership.md | 2 +- docs/models/payloadreasoncode.md | 15 + docs/models/payloadresourceconfig.md | 1 + docs/models/payloadresources.md | 23 + docs/models/payloadrole.md | 4 +- docs/models/payloadscopes.md | 15 + docs/models/payloadsourceimages.md | 2 +- docs/models/payloadstaticips.md | 1 + docs/models/payloaduserpermissionset.md | 15 + docs/models/payloadviewpreference.md | 4 +- docs/models/permissions.md | 225 +- docs/models/postgres.md | 2 +- docs/models/prev.md | 3 +- docs/models/previous.md | 4 +- docs/models/previousplan.md | 15 + docs/models/previousvalue.md | 23 + docs/models/product.md | 2 +- docs/models/projectfilter.md | 15 + docs/models/projectids.md | 23 + docs/models/projectidupdates.md | 25 + docs/models/projectmembership.md | 12 +- docs/models/projectsmetadata.md | 26 +- docs/models/properties.md | 2 +- docs/models/properties10.md | 2 +- ...543472.md => propertiesatbrandat649501.md} | 6 +- ...ndat8486.md => propertiesatbrandat8795.md} | 6 +- docs/models/propertiesmaxlength.md | 4 +- docs/models/propertiesminlength.md | 4 +- docs/models/propertiespattern.md | 4 +- docs/models/propertiesvalue.md | 4 +- docs/models/providers.md | 17 + docs/models/providers1.md | 15 + docs/models/providers2.md | 15 + ...ourceidexperimentationedgeconfigpurpose.md | 19 + ...idexperimentationedgeconfigresponsebody.md | 11 +- docs/models/readystate.md | 6 +- docs/models/reasoncode.md | 4 +- docs/models/redis.md | 2 +- docs/models/removedmembership.md | 12 +- docs/models/removedusers.md | 2 +- docs/models/renewdomaincontactinformation.md | 36 + ...renewdomaindomainsregistrarresponsebody.md | 27 + docs/models/renewdomainlinks.md | 19 + docs/models/renewdomainmethod.md | 15 + docs/models/renewdomainrequest.md | 24 + docs/models/renewdomainrequestbody.md | 20 + docs/models/renewdomainresponsebody.md | 21 + docs/models/requestbodyevs.md | 21 + docs/models/requestbodytarget.md | 15 + docs/models/resources.md | 27 +- docs/models/responsebodyaliaserror.md | 2 + docs/models/responsebodyanalytics.md | 14 + docs/models/responsebodycreatedfrom.md | 15 + docs/models/responsebodycreator.md | 15 +- docs/models/responsebodydelivery.md | 50 + docs/models/responsebodydisabledreason.md | 6 +- docs/models/responsebodydrains.md | 30 + docs/models/responsebodyenv.md | 15 + docs/models/responsebodyevents.md | 2 +- docs/models/responsebodyfilterv2.md | 25 + docs/models/responsebodyframework.md | 4 +- docs/models/responsebodylog.md | 14 + docs/models/responsebodynodeversion.md | 4 +- docs/models/responsebodyoidctokenclaims.md | 4 +- docs/models/responsebodyproject.md | 2 + docs/models/responsebodyprojectsmetadata.md | 14 +- docs/models/responsebodyreadystate.md | 4 +- docs/models/responsebodysampling.md | 21 + docs/models/responsebodyschemas.md | 18 + docs/models/responsebodysource.md | 4 +- docs/models/responsebodytarget.md | 2 + docs/models/responsebodyteam.md | 2 + docs/models/responsebodytrace.md | 14 + docs/models/results.md | 19 + docs/models/role.md | 6 +- docs/models/routes1.md | 2 +- docs/models/rulegroups.md | 2 +- docs/models/sampling.md | 21 + docs/models/schemas.md | 17 + docs/models/scopesorigin.md | 2 +- docs/models/secrets1.md | 21 + docs/models/secrets2.md | 18 + docs/models/secretsenvironmentoverrides.md | 19 + docs/models/secretssecrets.md | 21 + docs/models/seventy.md | 31 +- docs/models/seventyeight.md | 28 +- docs/models/seventyfive.md | 5 +- docs/models/seventyfour.md | 9 +- docs/models/seventynine.md | 13 +- docs/models/seventyone.md | 19 +- docs/models/seventyseven.md | 4 +- docs/models/seventysix.md | 18 +- docs/models/seventythree.md | 4 +- docs/models/seventytwo.md | 27 +- docs/models/siftroute.md | 2 +- docs/models/sixty.md | 21 +- docs/models/sixtyeight.md | 22 +- docs/models/sixtyfive.md | 20 +- docs/models/sixtyfour.md | 38 +- docs/models/sixtynine.md | 6 +- docs/models/sixtyone.md | 14 +- docs/models/sixtyseven.md | 23 +- docs/models/sixtysix.md | 38 +- docs/models/sixtythree.md | 20 +- docs/models/sixtytwo.md | 16 +- docs/models/source1.md | 26 +- docs/models/source2.md | 18 +- docs/models/sources.md | 2 +- docs/models/staticips.md | 1 + docs/models/staticipsenabled.md | 17 + docs/models/steps.md | 10 +- docs/models/tagids.md | 4 +- ...ns.md => teammembershipteampermissions.md} | 8 +- docs/models/teammembershipteamroles.md | 15 + docs/models/teampermissions.md | 6 +- docs/models/teamrole.md | 2 +- docs/models/teamroles.md | 6 +- docs/models/teams.md | 6 +- docs/models/testdraindelivery.md | 35 + docs/models/testdraindelivery1.md | 27 + docs/models/testdraindelivery2.md | 30 + docs/models/testdraindeliverycompression.md | 15 + .../models/testdraindeliverydrainsencoding.md | 15 + docs/models/testdraindeliveryencoding.md | 15 + docs/models/testdraindeliveryendpoint.md | 13 + docs/models/testdrainendpoint1.md | 17 + docs/models/testdrainrequest.md | 20 + docs/models/testdrainrequestbody.md | 26 + docs/models/testdrainresponsebody.md | 21 + docs/models/testdrainresponsebody1.md | 14 + docs/models/testdrainresponsebody2.md | 21 + docs/models/testdrainschemas.md | 17 + docs/models/thirty.md | 21 +- docs/models/thirtyeight.md | 22 +- docs/models/thirtyfive.md | 7 +- docs/models/thirtyfour.md | 20 +- docs/models/thirtynine.md | 32 +- docs/models/thirtyone.md | 11 +- docs/models/thirtyseven.md | 22 +- docs/models/thirtysix.md | 23 +- docs/models/thirtythree.md | 19 +- docs/models/thirtytwo.md | 16 +- docs/models/tlds.md | 19 + docs/models/trace.md | 14 + .../transferindomaincontactinformation.md | 36 + ...ferindomaindomainsregistrarresponsebody.md | 27 + docs/models/transferindomainlinks.md | 19 + docs/models/transferindomainmethod.md | 15 + ...mrequest.md => transferindomainrequest.md} | 34 +- docs/models/transferindomainrequestbody.md | 35 + docs/models/transferindomainresponsebody.md | 21 + docs/models/transferrequest1.md | 30 +- docs/models/transferrequest2.md | 26 +- docs/models/transferrequestkind.md | 4 +- docs/models/transforms.md | 17 +- docs/models/twentyeight.md | 1 + docs/models/twentynine.md | 22 +- docs/models/twentyseven.md | 11 +- docs/models/twentysix.md | 10 +- docs/models/uioptions2.md | 4 +- docs/models/uioptions3.md | 2 +- docs/models/uioptionsatbrandat649501.md | 14 + ...andat8486.md => uioptionsatbrandat8795.md} | 6 +- docs/models/uioptionsvalue.md | 4 +- docs/models/unlinksharedenvvariablerequest.md | 23 + .../unlinksharedenvvariableresponsebody.md | 17 + docs/models/updated.md | 51 + docs/models/updatedomainautorenewrequest.md | 23 + .../updatedomainautorenewrequestbody.md | 17 + .../updatedomainautorenewresponsebody.md | 27 + docs/models/updatedomainnameserversrequest.md | 23 + .../updatedomainnameserversrequestbody.md | 21 + .../updatedomainnameserversresponsebody.md | 27 + docs/models/updatedrain11.md | 18 + docs/models/updatedrain12.md | 18 + docs/models/updatedrain13.md | 15 + docs/models/updatedraindelivery.md | 33 + docs/models/updatedraindelivery1.md | 27 + docs/models/updatedraindelivery2.md | 28 + docs/models/updatedraindelivery3.md | 21 + docs/models/updatedraindelivery4.md | 19 + docs/models/updatedraindeliverycompression.md | 15 + docs/models/updatedraindeliverydrains1.md | 29 + docs/models/updatedraindeliverydrains2.md | 30 + docs/models/updatedraindeliverydrains3.md | 21 + docs/models/updatedraindeliverydrains4.md | 19 + .../updatedraindeliverydrainscompression.md | 15 + .../updatedraindeliverydrainsencoding.md | 15 + .../updatedraindeliverydrainsendpoint.md | 17 + .../updatedraindeliverydrainsresponse1.md | 27 + .../updatedraindeliverydrainsresponse2.md | 28 + ...rainsresponse200applicationjsonencoding.md | 16 + ...nse200applicationjsonresponsebody24type.md | 17 + ...onse200applicationjsonresponsebody2type.md | 17 + ...e200applicationjsonresponsebodyencoding.md | 17 + ...ponse200applicationjsonresponsebodytype.md | 16 + ...erydrainsresponse200applicationjsontype.md | 15 + ...edraindeliverydrainsresponse200encoding.md | 15 + ...pdatedraindeliverydrainsresponse200type.md | 15 + ...datedraindeliverydrainsresponseencoding.md | 15 + .../updatedraindeliverydrainsresponsetype.md | 15 + .../models/updatedraindeliverydrainstarget.md | 15 + docs/models/updatedraindeliverydrainstype.md | 15 + docs/models/updatedraindeliveryencoding.md | 15 + docs/models/updatedraindeliveryendpoint.md | 17 + docs/models/updatedraindeliverytarget.md | 15 + docs/models/updatedraindeliverytype.md | 15 + docs/models/updatedrainendpoint1.md | 17 + docs/models/updatedrainenv.md | 17 + docs/models/updatedrainfilter.md | 22 + docs/models/updatedrainfilter1.md | 20 + docs/models/updatedrainfilter2.md | 21 + docs/models/updatedrainfilterdeployment.md | 15 + docs/models/updatedrainfilterdrains1.md | 20 + docs/models/updatedrainfilterdrains2.md | 19 + .../updatedrainfilterdrainsdeployment.md | 15 + .../updatedrainfilterdrainsenvironments.md | 15 + docs/models/updatedrainfilterdrainslog.md | 16 + docs/models/updatedrainfilterdrainsproject.md | 15 + .../updatedrainfilterdrainsresponse1.md | 20 + .../updatedrainfilterdrainsresponse2.md | 19 + .../updatedrainfilterdrainsresponse2002.md | 19 + .../updatedrainfilterdrainsresponse200type.md | 15 + ...tedrainfilterdrainsresponseenvironments.md | 15 + .../updatedrainfilterdrainsresponsesources.md | 15 + .../updatedrainfilterdrainsresponsetype.md | 15 + docs/models/updatedrainfilterdrainssources.md | 15 + docs/models/updatedrainfilterdrainstype.md | 15 + docs/models/updatedrainfilterenvironments.md | 15 + docs/models/updatedrainfilterfilter.md | 22 + docs/models/updatedrainfilterlog.md | 16 + docs/models/updatedrainfilterproject.md | 15 + docs/models/updatedrainfiltersources.md | 15 + docs/models/updatedrainfiltertype.md | 15 + docs/models/updatedrainfilterv21.md | 17 + docs/models/updatedrainfilterv22.md | 22 + docs/models/updatedrainfilterv2drains1.md | 17 + docs/models/updatedrainfilterv2drains2.md | 21 + .../models/updatedrainfilterv2drainsfilter.md | 22 + ...tedrainfilterv2drainsresponse200version.md | 15 + ...pdatedrainfilterv2drainsresponseversion.md | 15 + .../updatedrainfilterv2drainsversion.md | 15 + docs/models/updatedrainfilterv2filter.md | 22 + docs/models/updatedrainfilterv2version.md | 15 + docs/models/updatedrainprojects.md | 15 + docs/models/updatedrainrequest.md | 22 + docs/models/updatedrainrequestbody.md | 24 + docs/models/updatedrainresponsebody.md | 39 + docs/models/updatedrainresponsebody1.md | 46 + docs/models/updatedrainresponsebody2.md | 50 + .../updatedrainresponsebodyanalytics.md | 14 + .../updatedrainresponsebodycreatedfrom.md | 15 + .../models/updatedrainresponsebodydelivery.md | 56 + .../updatedrainresponsebodydisabledreason.md | 15 + .../updatedrainresponsebodydrainsanalytics.md | 14 + ...pdatedrainresponsebodydrainscreatedfrom.md | 15 + .../updatedrainresponsebodydrainsdelivery.md | 52 + ...tedrainresponsebodydrainsdisabledreason.md | 16 + .../updatedrainresponsebodydrainsenv.md | 15 + .../updatedrainresponsebodydrainsfilterv2.md | 24 + .../updatedrainresponsebodydrainslog.md | 14 + .../updatedrainresponsebodydrainssampling.md | 21 + .../updatedrainresponsebodydrainsschemas.md | 18 + .../updatedrainresponsebodydrainssource.md | 23 + ...atedrainresponsebodydrainsspeedinsights.md | 14 + .../updatedrainresponsebodydrainsstatus.md | 15 + .../updatedrainresponsebodydrainstrace.md | 14 + .../updatedrainresponsebodydrainstype.md | 15 + docs/models/updatedrainresponsebodyenv.md | 15 + .../models/updatedrainresponsebodyfilterv2.md | 25 + .../updatedrainresponsebodyframework.md | 15 + docs/models/updatedrainresponsebodylog.md | 14 + ...updatedrainresponsebodyprojectsmetadata.md | 21 + .../models/updatedrainresponsebodysampling.md | 21 + docs/models/updatedrainresponsebodyschemas.md | 18 + docs/models/updatedrainresponsebodysource.md | 23 + .../updatedrainresponsebodyspeedinsights.md | 14 + docs/models/updatedrainresponsebodystatus.md | 15 + docs/models/updatedrainresponsebodytrace.md | 14 + docs/models/updatedrainresponsebodytype.md | 15 + docs/models/updatedrainsampling.md | 21 + docs/models/updatedrainschemas.md | 17 + docs/models/updatedrainsource.md | 20 + docs/models/updatedrainsource1.md | 27 + docs/models/updatedrainsource2.md | 15 + docs/models/updatedrainsourcedrains1.md | 17 + docs/models/updatedrainsourcedrains2.md | 23 + docs/models/updatedrainsourcedrainskind.md | 15 + .../updatedrainsourcedrainsresponse1.md | 17 + .../updatedrainsourcedrainsresponse2.md | 23 + .../updatedrainsourcedrainsresponse200kind.md | 15 + .../updatedrainsourcedrainsresponsekind.md | 15 + docs/models/updatedrainsourcekind.md | 15 + docs/models/updatedrainstatus.md | 15 + docs/models/updatedraintransforms.md | 17 + docs/models/updateinstallationrequest.md | 18 + docs/models/updateinstallationrequestbody.md | 16 + docs/models/updateinstallationtype.md | 15 + docs/models/updateprojectabuse.md | 3 +- docs/models/updateprojectaction.md | 6 +- docs/models/updateprojectaibots.md | 8 +- docs/models/updateprojectblock.md | 20 +- docs/models/updateprojectbotfilter.md | 8 +- docs/models/updateprojectdatacacheabuse.md | 3 +- docs/models/updateprojectdatacacheaction.md | 4 +- .../updateprojectdatacachedismissedtoasts.md | 26 + docs/models/updateprojectdatacacheenv.md | 38 + .../models/updateprojectdatacacheframework.md | 4 +- .../updateprojectdatacachemicrofrontends.md | 19 +- .../updateprojectdatacachemicrofrontends1.md | 22 +- .../updateprojectdatacachemicrofrontends2.md | 15 +- .../updateprojectdatacachemicrofrontends3.md | 25 + .../updateprojectdatacachenodeversion.md | 2 +- .../updateprojectdatacacheoidctokenclaims.md | 4 +- docs/models/updateprojectdatacacheowasp.md | 8 +- .../updateprojectdatacachepermissions.md | 232 + .../updateprojectdatacacheprojectsaction.md | 4 +- ...projectdatacacheprojectsoidctokenclaims.md | 4 +- ...rojectsresponse200applicationjsonaction.md | 16 + .../updateprojectdatacacheresponsebody.md | 11 +- .../models/updateprojectdatacachestaticips.md | 23 + docs/models/updateprojectdatacachevalue.md | 32 + ...updateprojectdatacachevaluecurrentvalue.md | 23 + ...pdateprojectdatacachevaluepreviousvalue.md | 23 + docs/models/updateprojectdismissedtoasts.md | 23 + docs/models/updateprojectframework.md | 4 +- .../models/updateprojectgitprovideroptions.md | 3 +- docs/models/updateprojectmicrofrontends.md | 23 +- docs/models/updateprojectmicrofrontends1.md | 26 +- docs/models/updateprojectmicrofrontends2.md | 15 +- docs/models/updateprojectmicrofrontends3.md | 25 + docs/models/updateprojectnodeversion.md | 2 +- docs/models/updateprojectoidctokenclaims.md | 4 +- docs/models/updateprojectowasp.md | 8 +- docs/models/updateprojectpermissions.md | 130 +- docs/models/updateprojectprojectsaction.md | 4 +- .../updateprojectprojectsdismissedtoasts.md | 26 + docs/models/updateprojectprojectsframework.md | 4 +- .../updateprojectprojectsnodeversion.md | 4 +- .../updateprojectprojectsoidctokenclaims.md | 4 +- ...rojectsresponse200applicationjsonaction.md | 15 + ...nse200applicationjsonresponsebodyaction.md | 16 + .../updateprojectprojectsresponseaction.md | 4 +- docs/models/updateprojectprojectsstaticips.md | 21 + docs/models/updateprojectrequestbody.md | 5 +- docs/models/updateprojectresponsebody.md | 5 +- docs/models/updateprojectstaticips.md | 19 + docs/models/updateprojectvalue.md | 32 + docs/models/updateprojectvalue4.md | 19 + docs/models/updateprojectvaluecurrentvalue.md | 23 + .../models/updateprojectvaluepreviousvalue.md | 23 + docs/models/updateresourcebillingplan.md | 28 + docs/models/updateresourcedetails.md | 18 + .../updateresourcehighlighteddetails.md | 18 + docs/models/updateresourcenotification.md | 20 + docs/models/updateresourcenotification1.md | 21 + docs/models/updateresourceownership.md | 15 + docs/models/updateresourcerequest.md | 20 + docs/models/updateresourcerequestbody.md | 22 + ...oject.md => updateresourceresponsebody.md} | 9 +- docs/models/updateresourcesecrets.md | 19 + ...esecretsmarketplaceenvironmentoverrides.md | 19 + docs/models/updateresourcestatus.md | 15 + docs/models/updateresourcetype.md | 15 + docs/models/updates.md | 42 + ...redenvvariableenvironmentresponsetarget.md | 17 + ...pdatesharedenvvariableenvironmenttarget.md | 17 + .../updatesharedenvvariableenvironmenttype.md | 17 + docs/models/updatesharedenvvariableerror.md | 28 + docs/models/updatesharedenvvariablefailed.md | 20 + docs/models/updatesharedenvvariablerequest.md | 20 + .../updatesharedenvvariablerequestbody.md | 40 + .../updatesharedenvvariableresponsebody.md | 26 + docs/models/updatesharedenvvariabletarget.md | 15 + docs/models/updatesharedenvvariabletarget1.md | 15 + docs/models/updatesharedenvvariabletarget2.md | 15 + docs/models/updatesharedenvvariabletype.md | 17 + docs/models/updatesharedenvvariablevalue.md | 19 + docs/models/updatesharedenvvariablevalue2.md | 15 + docs/models/updatestaticipsaws.md | 22 + docs/models/updatestaticipsenvid.md | 17 + docs/models/updatestaticipsenvid2.md | 15 + docs/models/updatestaticipsrequest.md | 22 + docs/models/updatestaticipsrequestbody.md | 26 + docs/models/updatestaticipsrequestbody1.md | 21 + docs/models/updatestaticipsrequestbody2.md | 20 + docs/models/updatestaticipsresponsebody.md | 29 + docs/models/updateteammemberrequest.md | 2 +- docs/models/updateteammemberrequestbody.md | 4 +- docs/models/uploadprojectclientcertrequest.md | 22 + .../uploadprojectclientcertrequestbody.md | 24 + .../uploadprojectclientcertresponsebody.md | 23 + docs/models/usereventmicrofrontends1.md | 20 +- docs/models/usereventmicrofrontends2.md | 15 +- docs/models/usereventmicrofrontends3.md | 25 + ...ad98team.md => usereventpayload100team.md} | 6 +- ...ad99team.md => usereventpayload101team.md} | 6 +- docs/models/usereventpayload104type.md | 17 - docs/models/usereventpayload105type.md | 17 - docs/models/usereventpayload107type.md | 17 + docs/models/usereventpayload108type.md | 17 + ...d118user.md => usereventpayload120user.md} | 8 +- docs/models/usereventpayload138project.md | 18 - docs/models/usereventpayload140project.md | 5 +- docs/models/usereventpayload140role.md | 15 - docs/models/usereventpayload141project.md | 13 +- ...oject.md => usereventpayload142project.md} | 6 +- docs/models/usereventpayload142role.md | 15 + docs/models/usereventpayload143project.md | 23 + docs/models/usereventpayload143role.md | 15 + docs/models/usereventpayload147action.md | 15 - docs/models/usereventpayload149action.md | 15 + docs/models/usereventpayload152project.md | 19 + ...t.md => usereventpayload153prevproject.md} | 6 +- ...oject.md => usereventpayload153project.md} | 6 +- .../usereventpayload161resourcestype.md | 15 + docs/models/usereventpayload161type.md | 15 + .../usereventpayload162afterresourcestype.md | 15 + docs/models/usereventpayload162aftertype.md | 15 + docs/models/usereventpayload162beforetype.md | 15 + docs/models/usereventpayload162type.md | 15 + ...md => usereventpayload164configuration.md} | 6 +- ...d161team.md => usereventpayload164team.md} | 6 +- ...md => usereventpayload165configuration.md} | 6 +- ...d162team.md => usereventpayload165team.md} | 6 +- ...md => usereventpayload166configuration.md} | 6 +- ...d163team.md => usereventpayload166team.md} | 6 +- ...oad29team.md => usereventpayload31team.md} | 6 +- ...roject.md => usereventpayload33project.md} | 6 +- ....md => usereventpayload34configuration.md} | 6 +- ...oad32team.md => usereventpayload34team.md} | 6 +- ...roject.md => usereventpayload38project.md} | 6 +- ...ewteam.md => usereventpayload48newteam.md} | 6 +- ...ldteam.md => usereventpayload48oldteam.md} | 6 +- ....md => usereventpayload59oldenvvartype.md} | 6 +- ...7target.md => usereventpayload59target.md} | 6 +- ...oad57type.md => usereventpayload59type.md} | 6 +- docs/models/usereventpayload61action.md | 15 - docs/models/usereventpayload63action.md | 15 + docs/models/usereventpayload64action.md | 15 - docs/models/usereventpayload64blockreason.md | 15 - docs/models/usereventpayload64name.md | 15 - .../usereventpayload64newownerblockreason.md | 15 - ...d64newownerfeatureblocksblobblockreason.md | 16 - ...yload64newownerfeatureblocksblockreason.md | 16 - ...ewownerfeatureblockspostgresblockreason.md | 16 - ...64newownerfeatureblocksredisblockreason.md | 16 - docs/models/usereventpayload64type.md | 15 - docs/models/usereventpayload66action.md | 15 + docs/models/usereventpayload66blockreason.md | 15 + .../models/usereventpayload66configuration.md | 15 + docs/models/usereventpayload66name.md | 15 + .../usereventpayload66newownerblockreason.md | 15 + ...d66newownerfeatureblocksblobblockreason.md | 16 + ...yload66newownerfeatureblocksblockreason.md | 16 + ...eblocksmicrofrontendsrequestblockreason.md | 17 + ...ewownerfeatureblockspostgresblockreason.md | 16 + ...66newownerfeatureblocksredisblockreason.md | 16 + ...oad64role.md => usereventpayload66role.md} | 6 +- docs/models/usereventpayload66type.md | 15 + ...oad76role.md => usereventpayload78role.md} | 6 +- docs/models/usereventpayload85action.md | 15 - docs/models/usereventpayload87action.md | 15 + ...roject.md => usereventpayload89project.md} | 17 +- ...oad87team.md => usereventpayload89team.md} | 6 +- ...d => usereventpayload93previousproject.md} | 8 +- ...roject.md => usereventpayload93project.md} | 6 +- docs/models/usereventpayloadbudget.md | 2 +- docs/models/usereventpayloaddatacache.md | 2 +- docs/models/usereventpayloaditems.md | 17 + docs/models/usereventpayloadprojectids.md | 23 + docs/models/usereventpayloadresources.md | 23 + docs/models/usereventpayloadtype.md | 2 +- docs/models/usereventtype.md | 2 +- docs/models/userpermissionset.md | 15 + docs/models/value2.md | 2 +- docs/models/value4.md | 19 + docs/models/value5.md | 19 + docs/models/valuecurrentvalue.md | 23 + docs/models/valuepreviousvalue.md | 23 + docs/sdks/connect/README.md | 98 + docs/sdks/domains/README.md | 23 +- docs/sdks/domainsregistrar/README.md | 1360 + docs/sdks/drains/README.md | 485 + docs/sdks/environment/README.md | 525 + docs/sdks/logdrains/README.md | 335 +- docs/sdks/marketplace/README.md | 156 + docs/sdks/projects/README.md | 261 + docs/sdks/security/README.md | 75 +- docs/sdks/staticips/README.md | 98 + docs/sdks/teams/README.md | 26 +- docs/sdks/vercel/README.md | 7 - examples/package-lock.json | 4 +- jsr.json | 2 +- package-lock.json | 6 +- package.json | 6 +- src/__tests__/connect.test.ts | 39 + src/__tests__/deployments.test.ts | 10 +- src/__tests__/domains.test.ts | 11 +- src/__tests__/domainsregistrar.test.ts | 331 + src/__tests__/drains.test.ts | 127 + src/__tests__/edgeconfig.test.ts | 12 +- src/__tests__/environment.test.ts | 184 + src/__tests__/integrations.test.ts | 2 +- src/__tests__/logdrains.test.ts | 94 +- src/__tests__/marketplace.test.ts | 19 + .../internal/handler/generated_handlers.go | 35 + .../internal/handler/pathdeletev1env.go | 80 + .../handler/pathdeletev1logdrainsid.go | 48 + ...eletev1projectsidornameclientcertcertid.go | 65 + .../pathgetv1deploymentsdeploymentidchecks.go | 2 +- .../internal/handler/pathgetv1drains.go | 66 + .../internal/handler/pathgetv1drainsid.go | 78 + .../pathgetv1edgeconfigedgeconfigid.go | 4 +- .../internal/handler/pathgetv1env.go | 71 + .../internal/handler/pathgetv1envid.go | 82 + .../internal/handler/pathgetv1logdrains.go | 82 + .../internal/handler/pathgetv1logdrainsid.go | 62 + .../pathgetv1projectsidornameclientcert.go | 64 + ...v1projectsidornamerollingreleasebilling.go | 3 +- ...pathgetv1registrardomainsdomainauthcode.go | 64 + ...getv1registrardomainsdomainavailability.go | 64 + ...registrardomainsdomaincontactinfoschema.go | 62 + .../pathgetv1registrardomainsdomainprice.go | 68 + ...pathgetv1registrardomainsdomaintransfer.go | 64 + .../pathgetv1registrarordersorderid.go | 76 + .../pathgetv1registrartldssupported.go | 64 + .../handler/pathgetv1registrartldstldprice.go | 68 + .../pathgetv1securityfirewallbypass.go | 12 +- .../pathgetv1securityfirewallevents.go | 59 + .../handler/pathgetv6domainsdomainconfig.go | 13 +- .../internal/handler/pathpatchv1drainsid.go | 83 + .../internal/handler/pathpatchv1env.go | 77 + .../pathpatchv1envidunlinkprojectid.go | 64 + ...ationconfigurationidresourcesresourceid.go | 69 + ...tchv1projectsidornamesharedconnectlinks.go | 78 + .../handler/pathpostv10projectsidornameenv.go | 6 +- .../handler/pathpostv13deployments.go | 30 +- .../handler/pathpostv1accessgroupsidorname.go | 4 +- .../internal/handler/pathpostv1drains.go | 81 + .../internal/handler/pathpostv1drainstest.go | 70 + .../internal/handler/pathpostv1edgeconfig.go | 4 +- .../internal/handler/pathpostv1env.go | 70 + .../internal/handler/pathpostv1logdrains.go | 67 + .../pathpostv1projectsidornameclientcert.go | 71 + .../pathpostv1registrardomainsavailability.go | 69 + .../handler/pathpostv1registrardomainsbuy.go | 70 + .../pathpostv1registrardomainsdomainbuy.go | 75 + .../pathpostv1registrardomainsdomainrenew.go | 70 + ...athpostv1registrardomainsdomaintransfer.go | 70 + ...athpostv1storagestoresintegrationdirect.go | 2 +- .../pathpostv2integrationslogdrains.go | 8 +- .../handler/pathpostv2teamsteamidmembers.go | 78 + .../pathputv1edgeconfigedgeconfigid.go | 4 +- .../sdk/models/components/authtoken.go | 6 + .../sdk/models/components/authuser.go | 60 + .../sdk/models/components/filetree.go | 9 - .../sdk/models/components/forbiddenerror.go | 31 + .../models/components/internalservererror.go | 31 + .../models/components/invitedteammember.go | 204 + .../components/notauthorizedforscopeerror.go | 31 + .../sdk/models/components/userevent.go | 5273 ++- .../acceptprojecttransferrequest.go | 18 +- .../sdk/models/operations/addbypassip.go | 8 +- .../sdk/models/operations/addprojectdomain.go | 8 +- .../sdk/models/operations/addprojectmember.go | 8 +- .../operations/approverollingreleasestage.go | 52 +- .../sdk/models/operations/artifactquery.go | 8 +- .../sdk/models/operations/assignalias.go | 8 +- .../operations/batchremoveprojectenv.go | 8 +- .../sdk/models/operations/buydomain.go | 8 +- .../sdk/models/operations/buydomains.go | 303 + .../sdk/models/operations/buysingledomain.go | 292 + .../sdk/models/operations/canceldeployment.go | 180 +- .../operations/completerollingrelease.go | 52 +- .../connectintegrationresourcetoproject.go | 8 +- .../models/operations/createaccessgroup.go | 8 +- .../operations/createaccessgroupproject.go | 8 +- .../sdk/models/operations/createauthtoken.go | 8 +- .../sdk/models/operations/createcheck.go | 8 +- .../operations/createconfigurablelogdrain.go | 232 + .../operations/createcustomenvironment.go | 8 +- .../sdk/models/operations/createdeployment.go | 2170 +- .../sdk/models/operations/createdrain.go | 4804 +++ .../sdk/models/operations/createedgeconfig.go | 8 +- .../operations/createedgeconfigtoken.go | 8 +- .../sdk/models/operations/createevent.go | 14 +- .../createintegrationstoredirect.go | 561 +- .../sdk/models/operations/createlogdrain.go | 54 +- .../operations/createortransferdomain.go | 16 +- .../sdk/models/operations/createproject.go | 1648 +- .../sdk/models/operations/createprojectenv.go | 528 +- .../createprojecttransferrequest.go | 8 +- .../sdk/models/operations/createrecord.go | 8 +- .../operations/createsharedenvvariable.go | 992 + .../sdk/models/operations/createwebhook.go | 20 +- .../operations/dangerouslydeletebytags.go | 8 +- .../operations/deleteconfigurablelogdrain.go | 47 + .../sdk/models/operations/deletedrain.go | 47 + .../operations/deleteedgeconfigtokens.go | 8 +- .../operations/deleteprojectclientcert.go | 86 + .../operations/deletesharedenvvariable.go | 405 + .../sdk/models/operations/deleteteam.go | 8 +- .../sdk/models/operations/editprojectenv.go | 8 +- .../sdk/models/operations/exchangessotoken.go | 14 +- .../operations/getactiveattackstatus.go | 22 +- .../sdk/models/operations/getalllogdrains.go | 4074 +++ .../models/operations/getbulkavailability.go | 89 + .../operations/getconfigurablelogdrain.go | 318 + .../operations/getconfigurationproducts.go | 400 +- .../models/operations/getconfigurations.go | 18 + .../models/operations/getcontactinfoschema.go | 50 + .../sdk/models/operations/getdeployment.go | 301 +- .../sdk/models/operations/getdeployments.go | 18 + .../models/operations/getdomainauthcode.go | 58 + .../operations/getdomainavailability.go | 58 + .../sdk/models/operations/getdomainprice.go | 93 + .../models/operations/getdomaintransferin.go | 116 + .../sdk/models/operations/getdrain.go | 3679 ++ .../sdk/models/operations/getdrains.go | 3709 ++ .../operations/getintegrationlogdrains.go | 6 +- .../operations/getintegrationresource.go | 3 + .../operations/getintegrationresources.go | 3 + .../sdk/models/operations/getinvoice.go | 3 + .../sdk/models/operations/getorder.go | 2092 ++ .../operations/getprojectclientcerts.go | 88 + .../sdk/models/operations/getprojects.go | 1668 +- .../models/operations/getrollingrelease.go | 44 +- .../sdk/models/operations/getsharedenvvar.go | 299 + .../sdk/models/operations/getsupportedtlds.go | 38 + .../sdk/models/operations/getteammembers.go | 40 +- .../sdk/models/operations/gettldprice.go | 94 + .../operations/getv1securityfirewallevents.go | 131 + .../sdk/models/operations/getwebhook.go | 6 + .../sdk/models/operations/getwebhooks.go | 27 + ...rcesresourceidexperimentationedgeconfig.go | 42 +- .../sdk/models/operations/importresource.go | 9 +- .../sdk/models/operations/invalidatebytags.go | 8 +- .../sdk/models/operations/inviteusertoteam.go | 258 +- .../sdk/models/operations/issuecert.go | 8 +- .../sdk/models/operations/jointeam.go | 8 +- .../operations/listsharedenvvariable.go | 372 + .../models/operations/moveprojectdomain.go | 8 +- .../sdk/models/operations/patchdomain.go | 16 +- .../models/operations/patchedgeconfigitems.go | 8 +- .../operations/patchedgeconfigschema.go | 8 +- .../sdk/models/operations/patchteam.go | 8 +- .../operations/patchurlprotectionbypass.go | 8 +- ...cesresourceidexperimentationitemsitemid.go | 6 +- ...resourcesresourceidexperimentationitems.go | 6 +- .../models/operations/putfirewallconfig.go | 8 +- ...rcesresourceidexperimentationedgeconfig.go | 48 +- .../sdk/models/operations/recordevents.go | 8 +- .../sdk/models/operations/removebypassip.go | 8 +- .../operations/removecustomenvironment.go | 8 +- .../models/operations/removeprojectdomain.go | 8 +- .../sdk/models/operations/renewdomain.go | 270 + .../models/operations/requestaccesstoteam.go | 8 +- .../models/operations/submitbillingdata.go | 6 +- .../sdk/models/operations/submitinvoice.go | 6 +- .../operations/submitprepaymentbalances.go | 6 +- .../sdk/models/operations/testdrain.go | 524 + .../sdk/models/operations/transferindomain.go | 287 + .../operations/unlinksharedenvvariable.go | 75 + .../models/operations/updateaccessgroup.go | 8 +- .../operations/updateaccessgroupproject.go | 8 +- .../operations/updateattackchallengemode.go | 8 +- .../sdk/models/operations/updatecheck.go | 8 +- .../operations/updatecustomenvironment.go | 8 +- .../operations/updatedomainautorenew.go | 56 + .../operations/updatedomainnameservers.go | 56 + .../sdk/models/operations/updatedrain.go | 4846 +++ .../sdk/models/operations/updateedgeconfig.go | 8 +- .../models/operations/updatefirewallconfig.go | 8 +- .../models/operations/updateinstallation.go | 358 + .../updateintegrationdeploymentaction.go | 6 +- .../sdk/models/operations/updateinvoice.go | 6 +- .../sdk/models/operations/updateproject.go | 2001 +- .../operations/updateprojectdatacache.go | 1633 +- .../models/operations/updateprojectdomain.go | 8 +- .../updateprojectprotectionbypass.go | 8 +- .../sdk/models/operations/updaterecord.go | 8 +- .../sdk/models/operations/updateresource.go | 773 + .../operations/updateresourcesecrets.go | 6 +- .../operations/updateresourcesecretsbyid.go | 6 +- .../operations/updatesharedenvvariable.go | 788 + .../sdk/models/operations/updatestaticips.go | 368 + .../sdk/models/operations/updateteammember.go | 10 +- .../sdk/models/operations/uploadartifact.go | 8 +- .../sdk/models/operations/uploadcert.go | 8 +- .../sdk/models/operations/uploadfile.go | 8 +- .../operations/uploadprojectclientcert.go | 141 + .../sdk/models/sdkerrors/buydomains.go | 92 + .../sdk/models/sdkerrors/buysingledomain.go | 92 + .../sdk/models/sdkerrors/forbiddenerror.go | 22 + .../sdk/models/sdkerrors/getdomainauthcode.go | 92 + .../models/sdkerrors/getdomaintransferin.go | 92 + .../internal/sdk/models/sdkerrors/getorder.go | 92 + .../models/sdkerrors/internalservererror.go | 22 + .../sdkerrors/notauthorizedforscopeerror.go | 22 + .../sdk/models/sdkerrors/renewdomain.go | 92 + .../sdk/models/sdkerrors/transferindomain.go | 92 + .../models/sdkerrors/updatedomainautorenew.go | 92 + .../sdkerrors/updatedomainnameservers.go | 92 + src/__tests__/projects.test.ts | 70 + src/__tests__/rollingrelease.test.ts | 3 +- src/__tests__/security.test.ts | 19 + src/__tests__/teams.test.ts | 40 + src/funcs/accessGroupsCreateAccessGroup.ts | 2 +- .../accessGroupsCreateAccessGroupProject.ts | 2 +- src/funcs/accessGroupsDeleteAccessGroup.ts | 4 +- .../accessGroupsDeleteAccessGroupProject.ts | 4 +- .../accessGroupsListAccessGroupMembers.ts | 2 +- .../accessGroupsListAccessGroupProjects.ts | 2 +- src/funcs/accessGroupsListAccessGroups.ts | 2 +- src/funcs/accessGroupsReadAccessGroup.ts | 2 +- .../accessGroupsReadAccessGroupProject.ts | 2 +- src/funcs/accessGroupsUpdateAccessGroup.ts | 2 +- .../accessGroupsUpdateAccessGroupProject.ts | 2 +- src/funcs/aliasesAssignAlias.ts | 2 +- src/funcs/aliasesDeleteAlias.ts | 2 +- src/funcs/aliasesGetAlias.ts | 4 +- src/funcs/aliasesListAliases.ts | 2 +- src/funcs/aliasesListDeploymentAliases.ts | 2 +- src/funcs/aliasesPatchUrlProtectionBypass.ts | 4 +- src/funcs/artifactsArtifactExists.ts | 4 +- src/funcs/artifactsArtifactQuery.ts | 4 +- src/funcs/artifactsDownloadArtifact.ts | 4 +- src/funcs/artifactsRecordEvents.ts | 4 +- src/funcs/artifactsStatus.ts | 2 +- src/funcs/artifactsUploadArtifact.ts | 2 +- src/funcs/authenticationCreateAuthToken.ts | 2 +- src/funcs/authenticationDeleteAuthToken.ts | 2 +- src/funcs/authenticationGetAuthToken.ts | 2 +- src/funcs/authenticationListAuthTokens.ts | 2 +- src/funcs/certsGetCertById.ts | 2 +- src/funcs/certsIssueCert.ts | 2 +- src/funcs/certsRemoveCert.ts | 2 +- src/funcs/certsUploadCert.ts | 2 +- src/funcs/checksCreateCheck.ts | 2 +- src/funcs/checksGetAllChecks.ts | 2 +- src/funcs/checksGetCheck.ts | 2 +- src/funcs/checksRerequestCheck.ts | 2 +- src/funcs/checksUpdateCheck.ts | 2 +- src/funcs/connectUpdateStaticIps.ts | 209 + src/funcs/deploymentsCancelDeployment.ts | 2 +- src/funcs/deploymentsCreateDeployment.ts | 2 +- src/funcs/deploymentsDeleteDeployment.ts | 2 +- src/funcs/deploymentsGetDeployment.ts | 2 +- src/funcs/deploymentsGetDeploymentEvents.ts | 2 +- .../deploymentsGetDeploymentFileContents.ts | 4 +- src/funcs/deploymentsGetDeployments.ts | 2 +- src/funcs/deploymentsListDeploymentFiles.ts | 4 +- ...ymentsUpdateIntegrationDeploymentAction.ts | 4 +- src/funcs/deploymentsUploadFile.ts | 2 +- src/funcs/dnsCreateRecord.ts | 2 +- src/funcs/dnsGetRecords.ts | 2 +- src/funcs/dnsRemoveRecord.ts | 2 +- src/funcs/dnsUpdateRecord.ts | 2 +- src/funcs/domainsBuyDomain.ts | 6 +- src/funcs/domainsCheckDomainPrice.ts | 16 +- src/funcs/domainsCheckDomainStatus.ts | 6 +- src/funcs/domainsCreateOrTransferDomain.ts | 6 +- src/funcs/domainsDeleteDomain.ts | 2 +- src/funcs/domainsGetDomain.ts | 2 +- src/funcs/domainsGetDomainConfig.ts | 2 +- src/funcs/domainsGetDomainTransfer.ts | 6 +- src/funcs/domainsGetDomains.ts | 2 +- src/funcs/domainsPatchDomain.ts | 4 +- src/funcs/domainsRegistrarBuyDomains.ts | 212 + src/funcs/domainsRegistrarBuySingleDomain.ts | 219 + .../domainsRegistrarGetBulkAvailability.ts | 214 + .../domainsRegistrarGetContactInfoSchema.ts | 222 + .../domainsRegistrarGetDomainAuthCode.ts | 228 + .../domainsRegistrarGetDomainAvailability.ts | 230 + src/funcs/domainsRegistrarGetDomainPrice.ts | 221 + .../domainsRegistrarGetDomainTransferIn.ts | 231 + src/funcs/domainsRegistrarGetOrder.ts | 226 + src/funcs/domainsRegistrarGetSupportedTlds.ts | 212 + src/funcs/domainsRegistrarGetTldPrice.ts | 221 + src/funcs/domainsRegistrarRenewDomain.ts | 227 + src/funcs/domainsRegistrarTransferInDomain.ts | 221 + .../domainsRegistrarUpdateDomainAutoRenew.ts | 228 + ...domainsRegistrarUpdateDomainNameservers.ts | 228 + src/funcs/drainsCreateDrain.ts | 191 + src/funcs/drainsDeleteDrain.ts | 204 + src/funcs/drainsGetDrain.ts | 205 + src/funcs/drainsGetDrains.ts | 200 + src/funcs/drainsTestDrain.ts | 191 + src/funcs/drainsUpdateDrain.ts | 206 + src/funcs/edgeCacheDangerouslyDeleteByTags.ts | 4 +- src/funcs/edgeCacheInvalidateByTags.ts | 4 +- src/funcs/edgeConfigCreateEdgeConfig.ts | 2 +- src/funcs/edgeConfigCreateEdgeConfigToken.ts | 2 +- src/funcs/edgeConfigDeleteEdgeConfig.ts | 4 +- src/funcs/edgeConfigDeleteEdgeConfigSchema.ts | 4 +- src/funcs/edgeConfigDeleteEdgeConfigTokens.ts | 4 +- src/funcs/edgeConfigGetEdgeConfig.ts | 2 +- src/funcs/edgeConfigGetEdgeConfigBackup.ts | 2 +- src/funcs/edgeConfigGetEdgeConfigBackups.ts | 2 +- src/funcs/edgeConfigGetEdgeConfigItem.ts | 2 +- src/funcs/edgeConfigGetEdgeConfigItems.ts | 4 +- src/funcs/edgeConfigGetEdgeConfigSchema.ts | 2 +- src/funcs/edgeConfigGetEdgeConfigToken.ts | 2 +- src/funcs/edgeConfigGetEdgeConfigTokens.ts | 2 +- src/funcs/edgeConfigGetEdgeConfigs.ts | 4 +- src/funcs/edgeConfigPatchEdgeConfigItems.ts | 2 +- src/funcs/edgeConfigPatchEdgeConfigSchema.ts | 2 +- src/funcs/edgeConfigUpdateEdgeConfig.ts | 2 +- .../environmentCreateCustomEnvironment.ts | 2 +- .../environmentCreateSharedEnvVariable.ts | 191 + .../environmentDeleteSharedEnvVariable.ts | 191 + src/funcs/environmentGetCustomEnvironment.ts | 2 +- src/funcs/environmentGetSharedEnvVar.ts | 197 + ...GetV9ProjectsIdOrNameCustomEnvironments.ts | 2 +- src/funcs/environmentListSharedEnvVariable.ts | 205 + .../environmentRemoveCustomEnvironment.ts | 2 +- .../environmentUnlinkSharedEnvVariable.ts | 201 + .../environmentUpdateCustomEnvironment.ts | 2 +- .../environmentUpdateSharedEnvVariable.ts | 191 + ...ionsConnectIntegrationResourceToProject.ts | 4 +- ...ntegrationsCreateIntegrationStoreDirect.ts | 17 +- src/funcs/integrationsDeleteConfiguration.ts | 8 +- src/funcs/integrationsGetBillingPlans.ts | 2 +- src/funcs/integrationsGetConfiguration.ts | 2 +- .../integrationsGetConfigurationProducts.ts | 2 +- src/funcs/integrationsGetConfigurations.ts | 2 +- .../logDrainsCreateConfigurableLogDrain.ts | 191 + src/funcs/logDrainsCreateLogDrain.ts | 4 +- .../logDrainsDeleteConfigurableLogDrain.ts | 204 + .../logDrainsDeleteIntegrationLogDrain.ts | 6 +- src/funcs/logDrainsGetAllLogDrains.ts | 201 + src/funcs/logDrainsGetConfigurableLogDrain.ts | 205 + src/funcs/logDrainsGetIntegrationLogDrains.ts | 6 +- src/funcs/logsGetRuntimeLogs.ts | 2 +- src/funcs/marketplaceCreateEvent.ts | 4 +- ...ateInstallationIntegrationConfiguration.ts | 4 +- ...CreateInstallationIntegrationEdgeConfig.ts | 2 +- ...eteInstallationIntegrationConfiguration.ts | 4 +- .../marketplaceDeleteIntegrationResource.ts | 4 +- src/funcs/marketplaceExchangeSsoToken.ts | 2 +- src/funcs/marketplaceGetAccountInfo.ts | 2 +- .../marketplaceGetIntegrationResource.ts | 2 +- .../marketplaceGetIntegrationResources.ts | 2 +- src/funcs/marketplaceGetInvoice.ts | 2 +- src/funcs/marketplaceGetMember.ts | 2 +- src/funcs/marketplaceImportResource.ts | 2 +- src/funcs/marketplaceSubmitBillingData.ts | 4 +- src/funcs/marketplaceSubmitInvoice.ts | 2 +- .../marketplaceSubmitPrepaymentBalances.ts | 4 +- src/funcs/marketplaceUpdateInstallation.ts | 202 + ...ateInstallationIntegrationConfiguration.ts | 4 +- ...UpdateInstallationIntegrationEdgeConfig.ts | 2 +- src/funcs/marketplaceUpdateInvoice.ts | 4 +- src/funcs/marketplaceUpdateResource.ts | 207 + src/funcs/marketplaceUpdateResourceSecrets.ts | 4 +- .../marketplaceUpdateResourceSecretsById.ts | 4 +- src/funcs/projectMembersAddProjectMember.ts | 2 +- src/funcs/projectMembersGetProjectMembers.ts | 2 +- .../projectMembersRemoveProjectMember.ts | 2 +- .../projectsAcceptProjectTransferRequest.ts | 2 +- src/funcs/projectsAddProjectDomain.ts | 2 +- src/funcs/projectsBatchRemoveProjectEnv.ts | 2 +- src/funcs/projectsCreateProject.ts | 2 +- src/funcs/projectsCreateProjectEnv.ts | 2 +- .../projectsCreateProjectTransferRequest.ts | 2 +- src/funcs/projectsDeleteProject.ts | 4 +- src/funcs/projectsDeleteProjectClientCert.ts | 211 + src/funcs/projectsEditProjectEnv.ts | 2 +- src/funcs/projectsFilterProjectEnvs.ts | 2 +- src/funcs/projectsGetProjectClientCerts.ts | 205 + src/funcs/projectsGetProjectDomain.ts | 2 +- src/funcs/projectsGetProjectDomains.ts | 2 +- src/funcs/projectsGetProjectEnv.ts | 2 +- src/funcs/projectsGetProjects.ts | 4 +- src/funcs/projectsListPromoteAliases.ts | 2 +- src/funcs/projectsMoveProjectDomain.ts | 2 +- src/funcs/projectsPauseProject.ts | 8 +- src/funcs/projectsRemoveProjectDomain.ts | 2 +- src/funcs/projectsRemoveProjectEnv.ts | 2 +- src/funcs/projectsRequestPromote.ts | 4 +- src/funcs/projectsUnpauseProject.ts | 4 +- src/funcs/projectsUpdateProject.ts | 2 +- src/funcs/projectsUpdateProjectDataCache.ts | 2 +- src/funcs/projectsUpdateProjectDomain.ts | 2 +- .../projectsUpdateProjectProtectionBypass.ts | 2 +- src/funcs/projectsUploadProjectClientCert.ts | 206 + src/funcs/projectsVerifyProjectDomain.ts | 2 +- ...ollingReleaseApproveRollingReleaseStage.ts | 2 +- .../rollingReleaseCompleteRollingRelease.ts | 2 +- ...ollingReleaseDeleteRollingReleaseConfig.ts | 2 +- src/funcs/rollingReleaseGetRollingRelease.ts | 2 +- ...ngReleaseGetRollingReleaseBillingStatus.ts | 2 +- .../rollingReleaseGetRollingReleaseConfig.ts | 2 +- ...ollingReleaseUpdateRollingReleaseConfig.ts | 2 +- src/funcs/securityAddBypassIp.ts | 2 +- src/funcs/securityGetActiveAttackStatus.ts | 5 +- src/funcs/securityGetBypassIp.ts | 2 +- src/funcs/securityGetFirewallConfig.ts | 2 +- .../securityGetV1SecurityFirewallEvents.ts | 194 + src/funcs/securityPutFirewallConfig.ts | 2 +- src/funcs/securityRemoveBypassIp.ts | 2 +- .../securityUpdateAttackChallengeMode.ts | 2 +- src/funcs/securityUpdateFirewallConfig.ts | 2 +- src/funcs/teamsCreateTeam.ts | 2 +- src/funcs/teamsDeleteTeam.ts | 2 +- src/funcs/teamsDeleteTeamInviteCode.ts | 2 +- src/funcs/teamsGetTeam.ts | 2 +- src/funcs/teamsGetTeamAccessRequest.ts | 2 +- src/funcs/teamsGetTeamMembers.ts | 2 +- src/funcs/teamsGetTeams.ts | 2 +- src/funcs/teamsInviteUserToTeam.ts | 47 +- src/funcs/teamsJoinTeam.ts | 2 +- src/funcs/teamsPatchTeam.ts | 2 +- src/funcs/teamsRemoveTeamMember.ts | 2 +- src/funcs/teamsRequestAccessToTeam.ts | 2 +- src/funcs/teamsUpdateTeamMember.ts | 6 +- src/funcs/userGetAuthUser.ts | 2 +- src/funcs/userListUserEvents.ts | 2 +- src/funcs/userRequestDelete.ts | 2 +- src/funcs/webhooksCreateWebhook.ts | 2 +- src/funcs/webhooksDeleteWebhook.ts | 4 +- src/funcs/webhooksGetWebhook.ts | 2 +- src/funcs/webhooksGetWebhooks.ts | 2 +- src/lib/base64.ts | 2 +- src/lib/config.ts | 6 +- src/lib/schemas.ts | 2 +- src/mcp-server/cli/start/command.ts | 5 +- src/mcp-server/extensions.ts | 2 +- src/mcp-server/mcp-server.ts | 2 +- src/mcp-server/prompts.ts | 2 +- src/mcp-server/server.ts | 94 +- src/mcp-server/shared.ts | 3 +- src/mcp-server/tools.ts | 2 +- .../tools/connectUpdateStaticIps.ts | 37 + src/mcp-server/tools/domainsBuyDomain.ts | 4 +- .../tools/domainsCheckDomainPrice.ts | 4 +- .../tools/domainsCheckDomainStatus.ts | 4 +- .../tools/domainsCreateOrTransferDomain.ts | 4 +- .../tools/domainsGetDomainTransfer.ts | 4 +- src/mcp-server/tools/domainsPatchDomain.ts | 2 +- .../tools/domainsRegistrarBuyDomains.ts | 37 + .../tools/domainsRegistrarBuySingleDomain.ts | 38 + .../domainsRegistrarGetBulkAvailability.ts | 39 + .../domainsRegistrarGetContactInfoSchema.ts | 39 + .../domainsRegistrarGetDomainAuthCode.ts | 39 + .../domainsRegistrarGetDomainAvailability.ts | 39 + .../tools/domainsRegistrarGetDomainPrice.ts | 38 + .../domainsRegistrarGetDomainTransferIn.ts | 39 + .../tools/domainsRegistrarGetOrder.ts | 37 + .../tools/domainsRegistrarGetSupportedTlds.ts | 39 + .../tools/domainsRegistrarGetTldPrice.ts | 37 + .../tools/domainsRegistrarRenewDomain.ts | 37 + .../tools/domainsRegistrarTransferInDomain.ts | 39 + .../domainsRegistrarUpdateDomainAutoRenew.ts | 37 + ...domainsRegistrarUpdateDomainNameservers.ts | 37 + src/mcp-server/tools/drainsCreateDrain.ts | 37 + src/mcp-server/tools/drainsDeleteDrain.ts | 35 + src/mcp-server/tools/drainsGetDrain.ts | 37 + src/mcp-server/tools/drainsGetDrains.ts | 37 + src/mcp-server/tools/drainsTestDrain.ts | 37 + src/mcp-server/tools/drainsUpdateDrain.ts | 37 + .../environmentCreateSharedEnvVariable.ts | 39 + .../environmentDeleteSharedEnvVariable.ts | 39 + .../tools/environmentGetSharedEnvVar.ts | 38 + .../tools/environmentListSharedEnvVariable.ts | 39 + .../environmentUnlinkSharedEnvVariable.ts | 39 + .../environmentUpdateSharedEnvVariable.ts | 39 + .../logDrainsCreateConfigurableLogDrain.ts | 39 + .../tools/logDrainsCreateLogDrain.ts | 2 +- .../logDrainsDeleteConfigurableLogDrain.ts | 37 + .../logDrainsDeleteIntegrationLogDrain.ts | 3 +- .../tools/logDrainsGetAllLogDrains.ts | 37 + .../tools/logDrainsGetConfigurableLogDrain.ts | 39 + .../tools/logDrainsGetIntegrationLogDrains.ts | 2 +- .../tools/marketplaceUpdateInstallation.ts | 35 + .../tools/marketplaceUpdateResource.ts | 37 + .../tools/projectsDeleteProjectClientCert.ts | 38 + .../tools/projectsGetProjectClientCerts.ts | 37 + .../tools/projectsUploadProjectClientCert.ts | 38 + .../tools/securityGetActiveAttackStatus.ts | 2 +- .../securityGetV1SecurityFirewallEvents.ts | 39 + src/mcp-server/tools/teamsInviteUserToTeam.ts | 7 +- src/models/acceptprojecttransferrequestop.ts | 205 +- src/models/aclaction.ts | 14 +- src/models/addbypassipop.ts | 149 +- src/models/addprojectdomainop.ts | 75 +- src/models/addprojectmemberop.ts | 130 +- src/models/approverollingreleasestageop.ts | 336 +- src/models/artifactexistsop.ts | 17 +- src/models/artifactqueryop.ts | 92 +- src/models/assignaliasop.ts | 47 +- src/models/authtoken.ts | 139 +- src/models/authuser.ts | 444 +- src/models/authuserlimited.ts | 17 +- src/models/batchremoveprojectenvop.ts | 48 +- src/models/buydomainop.ts | 107 +- src/models/buydomainsop.ts | 518 + src/models/buysingledomainop.ts | 480 + src/models/canceldeploymentop.ts | 2302 +- src/models/checkdomainpriceop.ts | 44 +- src/models/checkdomainstatusop.ts | 32 +- src/models/completerollingreleaseop.ts | 328 +- .../connectintegrationresourcetoprojectop.ts | 37 +- src/models/createaccessgroupop.ts | 86 +- src/models/createaccessgroupprojectop.ts | 77 +- src/models/createauthtokenop.ts | 47 +- src/models/createcheckop.ts | 240 +- src/models/createconfigurablelogdrainop.ts | 267 + src/models/createcustomenvironmentop.ts | 154 +- src/models/createdeploymentop.ts | 4776 +-- src/models/createdrainop.ts | 4780 +++ src/models/createedgeconfigop.ts | 146 +- src/models/createedgeconfigtokenop.ts | 48 +- src/models/createeventop.ts | 109 +- src/models/createintegrationstoredirectop.ts | 5381 +-- src/models/createlogdrainop.ts | 346 +- src/models/createortransferdomainop.ts | 160 +- src/models/createprojectenvop.ts | 1569 +- src/models/createprojectop.ts | 4262 +-- src/models/createprojecttransferrequestop.ts | 53 +- src/models/createrecordop.ts | 391 +- src/models/createsharedenvvariableop.ts | 995 + src/models/createteamop.ts | 62 +- src/models/createwebhookop.ts | 75 +- src/models/dangerouslydeletebytagsop.ts | 60 +- src/models/deleteaccessgroupop.ts | 17 +- src/models/deleteaccessgroupprojectop.ts | 17 +- src/models/deletealiasop.ts | 44 +- src/models/deleteauthtokenop.ts | 32 +- src/models/deleteconfigurablelogdrainop.ts | 67 + src/models/deleteconfigurationop.ts | 17 +- src/models/deletedeploymentop.ts | 44 +- src/models/deletedomainop.ts | 32 +- src/models/deletedrainop.ts | 65 + src/models/deleteedgeconfigop.ts | 17 +- src/models/deleteedgeconfigschemaop.ts | 17 +- src/models/deleteedgeconfigtokensop.ts | 33 +- src/models/deleteintegrationlogdrainop.ts | 17 +- src/models/deleteintegrationresourceop.ts | 17 +- src/models/deleteprojectclientcertop.ts | 130 + src/models/deleteprojectop.ts | 17 +- src/models/deleterollingreleaseconfigop.ts | 35 +- src/models/deletesharedenvvariableop.ts | 464 + src/models/deleteteaminvitecodeop.ts | 32 +- src/models/deleteteamop.ts | 62 +- ...sresourceidexperimentationitemsitemidop.ts | 20 +- src/models/deletewebhookop.ts | 17 +- src/models/downloadartifactop.ts | 17 +- src/models/edgeconfigitem.ts | 17 +- src/models/edgeconfigitemvalue.ts | 17 +- src/models/edgeconfigtoken.ts | 17 +- src/models/editprojectenvop.ts | 621 +- src/models/exchangessotokenop.ts | 50 +- src/models/filetree.ts | 36 +- src/models/filterprojectenvsop.ts | 1800 +- src/models/flagjsonvalue.ts | 17 +- src/models/forbidden.ts | 89 + src/models/getaccountinfoop.ts | 47 +- src/models/getactiveattackstatusop.ts | 137 +- src/models/getaliasop.ts | 293 +- src/models/getallchecksop.ts | 241 +- src/models/getalllogdrainsop.ts | 4105 +++ src/models/getauthtokenop.ts | 32 +- src/models/getauthuserop.ts | 32 +- src/models/getbillingplansop.ts | 117 +- src/models/getbulkavailabilityop.ts | 200 + src/models/getbypassipop.ts | 74 +- src/models/getcertbyidop.ts | 32 +- src/models/getcheckop.ts | 223 +- src/models/getconfigurablelogdrainop.ts | 259 + src/models/getconfigurationop.ts | 399 +- src/models/getconfigurationproductsop.ts | 5718 +--- src/models/getconfigurationsop.ts | 283 +- src/models/getcontactinfoschemaop.ts | 97 + src/models/getcustomenvironmentop.ts | 104 +- src/models/getdeploymenteventsop.ts | 410 +- src/models/getdeploymentfilecontentsop.ts | 17 +- src/models/getdeploymentop.ts | 3386 +- src/models/getdeploymentsop.ts | 347 +- src/models/getdomainauthcodeop.ts | 168 + src/models/getdomainavailabilityop.ts | 105 + src/models/getdomainconfigop.ts | 98 +- src/models/getdomainop.ts | 86 +- src/models/getdomainpriceop.ts | 126 + src/models/getdomainsop.ts | 165 +- src/models/getdomaintransferinop.ts | 196 + src/models/getdomaintransferop.ts | 100 +- src/models/getdrainop.ts | 3668 ++ src/models/getdrainsop.ts | 3592 ++ src/models/getedgeconfigbackupop.ts | 188 +- src/models/getedgeconfigbackupsop.ts | 77 +- src/models/getedgeconfigitemop.ts | 17 +- src/models/getedgeconfigitemsop.ts | 17 +- src/models/getedgeconfigop.ts | 132 +- src/models/getedgeconfigschemaop.ts | 32 +- src/models/getedgeconfigsop.ts | 89 +- src/models/getedgeconfigtokenop.ts | 17 +- src/models/getedgeconfigtokensop.ts | 17 +- src/models/getfirewallconfigop.ts | 694 +- src/models/getintegrationlogdrainsop.ts | 273 +- src/models/getintegrationresourceop.ts | 119 +- src/models/getintegrationresourcesop.ts | 184 +- src/models/getinvoiceop.ts | 90 +- src/models/getmemberop.ts | 44 +- src/models/getorderop.ts | 2371 ++ src/models/getprojectclientcertsop.ts | 161 + src/models/getprojectdomainop.ts | 47 +- src/models/getprojectdomainsop.ts | 203 +- src/models/getprojectenvop.ts | 1726 +- src/models/getprojectmembersop.ts | 130 +- src/models/getprojectsop.ts | 4150 +-- src/models/getrecordsop.ts | 116 +- .../getrollingreleasebillingstatusop.ts | 168 +- src/models/getrollingreleaseconfigop.ts | 66 +- src/models/getrollingreleaseop.ts | 314 +- src/models/getruntimelogsop.ts | 56 +- src/models/getsharedenvvarop.ts | 282 + src/models/getsupportedtldsop.ts | 51 + src/models/getteamaccessrequestop.ts | 119 +- src/models/getteammembersop.ts | 263 +- src/models/getteamop.ts | 17 +- src/models/getteamsop.ts | 47 +- src/models/gettldpriceop.ts | 129 + src/models/getv1securityfirewalleventsop.ts | 189 + ...tv9projectsidornamecustomenvironmentsop.ts | 153 +- src/models/getwebhookop.ts | 46 +- src/models/getwebhooksop.ts | 173 +- ...esresourceidexperimentationedgeconfigop.ts | 73 +- src/models/importresourceop.ts | 381 +- src/models/internalservererror.ts | 91 + src/models/invalidatebytagsop.ts | 59 +- src/models/invitedteammember.ts | 172 + src/models/inviteusertoteamop.ts | 359 +- src/models/issuecertop.ts | 47 +- src/models/jointeamop.ts | 47 +- src/models/listaccessgroupmembersop.ts | 97 +- src/models/listaccessgroupprojectsop.ts | 92 +- src/models/listaccessgroupsop.ts | 92 +- src/models/listaliasesop.ts | 324 +- src/models/listauthtokensop.ts | 17 +- src/models/listdeploymentaliasesop.ts | 203 +- src/models/listdeploymentfilesop.ts | 17 +- src/models/listpromotealiasesop.ts | 77 +- src/models/listsharedenvvariableop.ts | 388 + src/models/listusereventsop.ts | 32 +- src/models/moveprojectdomainop.ts | 62 +- src/models/notauthorizedforscope.ts | 88 + src/models/pagination.ts | 17 +- src/models/patchdomainop.ts | 130 +- src/models/patchedgeconfigitemsop.ts | 462 +- src/models/patchedgeconfigschemaop.ts | 48 +- src/models/patchteamop.ts | 239 +- src/models/patchurlprotectionbypassop.ts | 210 +- ...sresourceidexperimentationitemsitemidop.ts | 52 +- src/models/pauseprojectop.ts | 17 +- ...sourcesresourceidexperimentationitemsop.ts | 68 +- src/models/putfirewallconfigop.ts | 1319 +- ...esresourceidexperimentationedgeconfigop.ts | 91 +- src/models/ratelimitnotice.ts | 17 +- src/models/readaccessgroupop.ts | 56 +- src/models/readaccessgroupprojectop.ts | 45 +- src/models/recordeventsop.ts | 56 +- src/models/removebypassipop.ts | 77 +- src/models/removecertop.ts | 32 +- src/models/removecustomenvironmentop.ts | 125 +- src/models/removeprojectdomainop.ts | 47 +- src/models/removeprojectenvop.ts | 1758 +- src/models/removeprojectmemberop.ts | 32 +- src/models/removerecordop.ts | 32 +- src/models/removeteammemberop.ts | 32 +- src/models/renewdomainop.ts | 439 + src/models/requestaccesstoteamop.ts | 178 +- src/models/requestdeleteop.ts | 47 +- src/models/requestpromoteop.ts | 17 +- src/models/rerequestcheckop.ts | 32 +- src/models/responsevalidationerror.ts | 2 +- src/models/sdkvalidationerror.ts | 2 +- src/models/security.ts | 17 +- src/models/statusop.ts | 44 +- src/models/submitbillingdataop.ts | 149 +- src/models/submitinvoiceop.ts | 119 +- src/models/submitprepaymentbalancesop.ts | 49 +- src/models/team.ts | 565 +- src/models/teamlimited.ts | 182 +- src/models/testdrainop.ts | 596 + src/models/transferindomainop.ts | 459 + src/models/unlinksharedenvvariableop.ts | 120 + src/models/unpauseprojectop.ts | 17 +- src/models/updateaccessgroupop.ts | 86 +- src/models/updateaccessgroupprojectop.ts | 77 +- src/models/updateattackchallengemodeop.ts | 51 +- src/models/updatecheckop.ts | 437 +- src/models/updatecustomenvironmentop.ts | 157 +- src/models/updatedomainautorenewop.ts | 171 + src/models/updatedomainnameserversop.ts | 173 + src/models/updatedrainop.ts | 5070 +++ src/models/updateedgeconfigop.ts | 148 +- src/models/updatefirewallconfigop.ts | 1087 +- src/models/updateinstallationop.ts | 415 + .../updateintegrationdeploymentactionop.ts | 95 +- src/models/updateinvoiceop.ts | 59 +- src/models/updateprojectdatacacheop.ts | 4406 +-- src/models/updateprojectdomainop.ts | 74 +- src/models/updateprojectop.ts | 4722 +-- src/models/updateprojectprotectionbypassop.ts | 164 +- src/models/updaterecordop.ts | 113 +- src/models/updateresourceop.ts | 908 + src/models/updateresourcesecretsbyidop.ts | 66 +- src/models/updateresourcesecretsop.ts | 64 +- src/models/updaterollingreleaseconfigop.ts | 99 +- src/models/updatesharedenvvariableop.ts | 861 + src/models/updatestaticipsop.ts | 413 + src/models/updateteammemberop.ts | 89 +- src/models/uploadartifactop.ts | 32 +- src/models/uploadcertop.ts | 47 +- src/models/uploadfileop.ts | 62 +- src/models/uploadprojectclientcertop.ts | 219 + src/models/userevent.ts | 18171 ++++------ src/models/vercelbadrequesterror.ts | 30 +- src/models/vercelforbiddenerror.ts | 30 +- src/models/vercelnotfounderror.ts | 30 +- src/models/vercelratelimiterror.ts | 30 +- src/models/verifyprojectdomainop.ts | 32 +- src/sdk/connect.ts | 30 + src/sdk/domains.ts | 22 +- src/sdk/domainsregistrar.ts | 326 + src/sdk/drains.ts | 134 + src/sdk/environment.ts | 132 + src/sdk/logdrains.ts | 91 +- src/sdk/marketplace.ts | 41 + src/sdk/projects.ts | 66 + src/sdk/sdk.ts | 40 +- src/sdk/security.ts | 24 +- src/sdk/staticips.ts | 30 + src/sdk/teams.ts | 12 +- src/types/blobs.ts | 13 +- src/types/constdatetime.ts | 2 +- vercel-spec.json | 28242 ++++++++++++---- 2281 files changed, 156789 insertions(+), 89728 deletions(-) create mode 100644 docs/models/acceptedpermissionsets.md create mode 100644 docs/models/additional.md create mode 100644 docs/models/after.md create mode 100644 docs/models/app.md rename docs/models/{atbrandat543472.md => atbrandat649501.md} (61%) rename docs/models/{atbrandat8486.md => atbrandat8795.md} (62%) create mode 100644 docs/models/authuserconfiguration.md create mode 100644 docs/models/before.md create mode 100644 docs/models/buildqueue.md create mode 100644 docs/models/buydomainsadditional.md create mode 100644 docs/models/buydomainscontactinformation.md create mode 100644 docs/models/buydomainsdomainsregistrarresponsebody.md create mode 100644 docs/models/buydomainslinks.md create mode 100644 docs/models/buydomainsmethod.md create mode 100644 docs/models/buydomainsrequest.md create mode 100644 docs/models/buydomainsrequestbody.md create mode 100644 docs/models/buydomainsresponsebody.md create mode 100644 docs/models/buysingledomaindomainsregistrarresponsebody.md create mode 100644 docs/models/buysingledomainmethod.md create mode 100644 docs/models/buysingledomainrequest.md create mode 100644 docs/models/buysingledomainrequestbody.md create mode 100644 docs/models/buysingledomainresponsebody.md create mode 100644 docs/models/clientauthenticationused.md create mode 100644 docs/models/clientcerts.md create mode 100644 docs/models/code.md create mode 100644 docs/models/compression.md create mode 100644 docs/models/contactinformation.md create mode 100644 docs/models/createconfigurablelogdrainrequest.md create mode 100644 docs/models/createconfigurablelogdrainrequestbody.md create mode 100644 docs/models/createconfigurablelogdrainresponsebody.md create mode 100644 docs/models/createdeploymentroutestransforms.md create mode 100644 docs/models/createdraindelivery1.md create mode 100644 docs/models/createdraindelivery2.md create mode 100644 docs/models/createdraindelivery3.md create mode 100644 docs/models/createdraindelivery4.md create mode 100644 docs/models/createdraindeliverycompression.md create mode 100644 docs/models/createdraindeliverydrains1.md create mode 100644 docs/models/createdraindeliverydrains2.md create mode 100644 docs/models/createdraindeliverydrainscompression.md create mode 100644 docs/models/createdraindeliverydrainsencoding.md create mode 100644 docs/models/createdraindeliverydrainsendpoint.md create mode 100644 docs/models/createdraindeliverydrainsresponse200applicationjsonencoding.md create mode 100644 docs/models/createdraindeliverydrainsresponse200applicationjsonresponsebody2type.md create mode 100644 docs/models/createdraindeliverydrainsresponse200applicationjsonresponsebodytype.md create mode 100644 docs/models/createdraindeliverydrainsresponse200applicationjsontype.md create mode 100644 docs/models/createdraindeliverydrainsresponse200encoding.md create mode 100644 docs/models/createdraindeliverydrainsresponse200type.md create mode 100644 docs/models/createdraindeliverydrainsresponseencoding.md create mode 100644 docs/models/createdraindeliverydrainsresponsetype.md create mode 100644 docs/models/createdraindeliverydrainstype.md create mode 100644 docs/models/createdraindeliveryencoding.md create mode 100644 docs/models/createdraindeliveryendpoint.md create mode 100644 docs/models/createdraindeliverytarget.md create mode 100644 docs/models/createdraindeliverytype.md create mode 100644 docs/models/createdrainfilter1.md create mode 100644 docs/models/createdrainfilter2.md create mode 100644 docs/models/createdrainfilterdeployment.md create mode 100644 docs/models/createdrainfilterdrains1.md create mode 100644 docs/models/createdrainfilterdrains2.md create mode 100644 docs/models/createdrainfilterdrainsdeployment.md create mode 100644 docs/models/createdrainfilterdrainsenvironments.md create mode 100644 docs/models/createdrainfilterdrainslog.md create mode 100644 docs/models/createdrainfilterdrainsproject.md create mode 100644 docs/models/createdrainfilterdrainsresponse2.md create mode 100644 docs/models/createdrainfilterdrainsresponsedeployment.md create mode 100644 docs/models/createdrainfilterdrainsresponseproject.md create mode 100644 docs/models/createdrainfilterdrainsresponsetype.md create mode 100644 docs/models/createdrainfilterdrainssources.md create mode 100644 docs/models/createdrainfilterdrainstype.md create mode 100644 docs/models/createdrainfilterenvironments.md create mode 100644 docs/models/createdrainfilterlog.md create mode 100644 docs/models/createdrainfilterproject.md create mode 100644 docs/models/createdrainfiltersources.md create mode 100644 docs/models/createdrainfiltertype.md create mode 100644 docs/models/createdrainfilterv21.md create mode 100644 docs/models/createdrainfilterv22.md create mode 100644 docs/models/createdrainfilterv2drainsresponseversion.md create mode 100644 docs/models/createdrainfilterv2drainsversion.md create mode 100644 docs/models/createdrainfilterv2filter.md create mode 100644 docs/models/createdrainfilterv2version.md create mode 100644 docs/models/createdrainprojects.md create mode 100644 docs/models/createdrainrequest.md create mode 100644 docs/models/createdrainrequestbody.md create mode 100644 docs/models/createdrainresponsebody.md create mode 100644 docs/models/createdrainresponsebody1.md create mode 100644 docs/models/createdrainresponsebody2.md create mode 100644 docs/models/createdrainresponsebodyanalytics.md create mode 100644 docs/models/createdrainresponsebodycreatedfrom.md create mode 100644 docs/models/createdrainresponsebodydelivery.md create mode 100644 docs/models/createdrainresponsebodydrainssource.md create mode 100644 docs/models/createdrainresponsebodydrainsspeedinsights.md create mode 100644 docs/models/createdrainresponsebodydrainsstatus.md create mode 100644 docs/models/createdrainresponsebodydrainstype.md create mode 100644 docs/models/createdrainresponsebodyenv.md create mode 100644 docs/models/createdrainresponsebodyframework.md rename docs/models/{uioptionsatbrandat543472.md => createdrainresponsebodylog.md} (63%) create mode 100644 docs/models/createdrainresponsebodyprojectsmetadata.md create mode 100644 docs/models/createdrainresponsebodysampling.md create mode 100644 docs/models/createdrainresponsebodyschemas.md create mode 100644 docs/models/createdrainresponsebodysource.md create mode 100644 docs/models/createdrainresponsebodyspeedinsights.md create mode 100644 docs/models/createdrainresponsebodystatus.md create mode 100644 docs/models/createdrainresponsebodytype.md create mode 100644 docs/models/createdrainsource.md create mode 100644 docs/models/createdrainsource1.md create mode 100644 docs/models/createdrainsource2.md create mode 100644 docs/models/createdrainsourcedrains1.md create mode 100644 docs/models/createdrainsourcedrains2.md create mode 100644 docs/models/createdrainsourcedrainskind.md create mode 100644 docs/models/createdrainsourcedrainsresponse200kind.md create mode 100644 docs/models/createdrainsourcedrainsresponsekind.md create mode 100644 docs/models/createdrainsourcekind.md create mode 100644 docs/models/createintegrationstoredirectintegrationsactions.md create mode 100644 docs/models/createintegrationstoredirectprojectsmetadata.md rename docs/models/{createintegrationstoredirectpropertiesatbrandat8486.md => createintegrationstoredirectpropertiesatbrandat8795.md} (55%) rename docs/models/{createintegrationstoredirectpropertiesintegrationsatbrandat8486.md => createintegrationstoredirectpropertiesintegrationsatbrandat8795.md} (67%) rename docs/models/{createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonatbrandat8486.md => createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonatbrandat8795.md} (83%) rename docs/models/{createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodyatbrandat8486.md => createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodyatbrandat8795.md} (78%) rename docs/models/{createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreatbrandat8486.md => createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreatbrandat8795.md} (76%) rename docs/models/{createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductatbrandat8486.md => createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductatbrandat8795.md} (73%) delete mode 100644 docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductmetadataschema1atbrandat8486.md create mode 100644 docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductmetadataschema1atbrandat8795.md delete mode 100644 docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductmetadataschema6atbrandat8486.md create mode 100644 docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductmetadataschema6atbrandat8795.md rename docs/models/{createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductmetadataschema6itemsatbrandat8486.md => createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductmetadataschema6itemsatbrandat8795.md} (95%) rename docs/models/{createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductmetadataschema6itemsmaxlengthatbrandat8486.md => createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductmetadataschema6itemsmaxlengthatbrandat8795.md} (92%) delete mode 100644 docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductmetadataschema8atbrandat8486.md create mode 100644 docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductmetadataschema8atbrandat8795.md delete mode 100644 docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductmetadataschema9atbrandat8486.md create mode 100644 docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductmetadataschema9atbrandat8795.md delete mode 100644 docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductmetadataschemaatbrandat8486.md create mode 100644 docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductmetadataschemaatbrandat8795.md rename docs/models/{createintegrationstoredirectpropertiesintegrationsresponse200atbrandat8486.md => createintegrationstoredirectpropertiesintegrationsresponse200atbrandat8795.md} (81%) rename docs/models/{createintegrationstoredirectpropertiesintegrationsresponseatbrandat8486.md => createintegrationstoredirectpropertiesintegrationsresponseatbrandat8795.md} (81%) rename docs/models/{createintegrationstoredirectuioptionsatbrandat8486.md => createintegrationstoredirectuioptionsatbrandat8795.md} (55%) create mode 100644 docs/models/createlogdrainlogdrainsdeliveryformat.md create mode 100644 docs/models/createlogdrainlogdrainsenvironments.md create mode 100644 docs/models/createlogdrainlogdrainssources.md create mode 100644 docs/models/createprojectdismissedtoasts.md create mode 100644 docs/models/createprojectenvcreated.md create mode 100644 docs/models/createprojectenvfailed.md create mode 100644 docs/models/createprojectenvvalue2.md create mode 100644 docs/models/createprojectmicrofrontends3.md create mode 100644 docs/models/createprojectprojectsresponse200applicationjsonaction.md create mode 100644 docs/models/createprojectstaticips.md create mode 100644 docs/models/createprojectvalue.md create mode 100644 docs/models/createprojectvalue4.md create mode 100644 docs/models/createsharedenvvariableenvironmenttarget.md create mode 100644 docs/models/createsharedenvvariableerror.md create mode 100644 docs/models/createsharedenvvariablerequest.md create mode 100644 docs/models/createsharedenvvariablerequestbody.md create mode 100644 docs/models/createsharedenvvariablerequestbody1.md create mode 100644 docs/models/createsharedenvvariablerequestbody2.md create mode 100644 docs/models/createsharedenvvariablerequestbodyenvironmenttype.md create mode 100644 docs/models/createsharedenvvariablerequestbodytarget.md create mode 100644 docs/models/createsharedenvvariablerequestbodytype.md create mode 100644 docs/models/createsharedenvvariableresponsebody.md create mode 100644 docs/models/createsharedenvvariabletarget.md create mode 100644 docs/models/createsharedenvvariabletarget1.md create mode 100644 docs/models/createsharedenvvariabletarget2.md create mode 100644 docs/models/createsharedenvvariabletype.md create mode 100644 docs/models/createsharedenvvariablevalue.md create mode 100644 docs/models/currentvalue.md create mode 100644 docs/models/data.md create mode 100644 docs/models/deleteconfigurablelogdrainrequest.md create mode 100644 docs/models/deletedrainrequest.md create mode 100644 docs/models/deleteprojectclientcertrequest.md create mode 100644 docs/models/deleteprojectclientcertresponsebody.md create mode 100644 docs/models/deletesharedenvvariableerror.md create mode 100644 docs/models/deletesharedenvvariablefailed.md create mode 100644 docs/models/deletesharedenvvariablerequest.md create mode 100644 docs/models/deletesharedenvvariablerequestbody.md create mode 100644 docs/models/deletesharedenvvariableresponsebody.md create mode 100644 docs/models/deletesharedenvvariabletarget.md create mode 100644 docs/models/deletesharedenvvariabletarget1.md create mode 100644 docs/models/deletesharedenvvariabletarget2.md create mode 100644 docs/models/deletesharedenvvariablevalue.md create mode 100644 docs/models/deletesharedenvvariablevalue2.md create mode 100644 docs/models/delivery.md create mode 100644 docs/models/delivery1.md create mode 100644 docs/models/delivery2.md create mode 100644 docs/models/delivery3.md create mode 100644 docs/models/delivery4.md create mode 100644 docs/models/deliverycompression.md create mode 100644 docs/models/deliveryencoding.md create mode 100644 docs/models/deliveryendpoint.md create mode 100644 docs/models/deliverytarget.md create mode 100644 docs/models/deliverytype.md create mode 100644 docs/models/domains1.md create mode 100644 docs/models/domains2.md create mode 100644 docs/models/domains3.md create mode 100644 docs/models/domainserror.md create mode 100644 docs/models/domainspurchasetype.md create mode 100644 docs/models/domainsstatus.md create mode 100644 docs/models/drains.md create mode 100644 docs/models/drains1.md create mode 100644 docs/models/drains2.md create mode 100644 docs/models/drainsanalytics.md create mode 100644 docs/models/drainscreatedfrom.md create mode 100644 docs/models/drainsdelivery.md create mode 100644 docs/models/drainsdisabledreason.md create mode 100644 docs/models/drainsenv.md create mode 100644 docs/models/drainsfilterv2.md create mode 100644 docs/models/drainsframework.md create mode 100644 docs/models/drainslog.md create mode 100644 docs/models/drainsprojectsmetadata.md create mode 100644 docs/models/drainssampling.md create mode 100644 docs/models/drainsschemas.md create mode 100644 docs/models/drainssource.md create mode 100644 docs/models/drainsspeedinsights.md create mode 100644 docs/models/drainsstatus.md create mode 100644 docs/models/drainstrace.md create mode 100644 docs/models/drainstype.md create mode 100644 docs/models/endpoint.md create mode 100644 docs/models/endpoint1.md create mode 100644 docs/models/error1.md create mode 100644 docs/models/error2.md create mode 100644 docs/models/evs.md create mode 100644 docs/models/filter.md create mode 100644 docs/models/filter1.md create mode 100644 docs/models/filter2.md create mode 100644 docs/models/filterdeployment.md create mode 100644 docs/models/filterenvironments.md create mode 100644 docs/models/filterfilter.md create mode 100644 docs/models/filterlog.md create mode 100644 docs/models/filterproject.md create mode 100644 docs/models/filtersources.md create mode 100644 docs/models/filtertype.md create mode 100644 docs/models/filterv2.md create mode 100644 docs/models/filterv21.md create mode 100644 docs/models/filterv22.md create mode 100644 docs/models/filterv2filter.md create mode 100644 docs/models/filterv2version.md create mode 100644 docs/models/forbidden.md create mode 100644 docs/models/forbiddencode.md create mode 100644 docs/models/getalllogdrainsdelivery1.md create mode 100644 docs/models/getalllogdrainsdelivery2.md create mode 100644 docs/models/getalllogdrainsdelivery3.md create mode 100644 docs/models/getalllogdrainsdelivery4.md create mode 100644 docs/models/getalllogdrainsdeliverycompression.md create mode 100644 docs/models/getalllogdrainsdeliveryencoding.md create mode 100644 docs/models/getalllogdrainsdeliveryendpoint.md create mode 100644 docs/models/getalllogdrainsdeliverylogdrains1.md create mode 100644 docs/models/getalllogdrainsdeliverylogdrains2.md create mode 100644 docs/models/getalllogdrainsdeliverylogdrains3.md create mode 100644 docs/models/getalllogdrainsdeliverylogdrains4.md create mode 100644 docs/models/getalllogdrainsdeliverylogdrainscompression.md create mode 100644 docs/models/getalllogdrainsdeliverylogdrainsencoding.md create mode 100644 docs/models/getalllogdrainsdeliverylogdrainsendpoint.md create mode 100644 docs/models/getalllogdrainsdeliverylogdrainsresponse200applicationjsonresponsebody1drainstype.md create mode 100644 docs/models/getalllogdrainsdeliverylogdrainsresponse200applicationjsonresponsebody1type.md create mode 100644 docs/models/getalllogdrainsdeliverylogdrainsresponse200applicationjsonresponsebodytype.md create mode 100644 docs/models/getalllogdrainsdeliverylogdrainsresponse200applicationjsontype.md create mode 100644 docs/models/getalllogdrainsdeliverylogdrainsresponse200encoding.md create mode 100644 docs/models/getalllogdrainsdeliverylogdrainsresponse200type.md create mode 100644 docs/models/getalllogdrainsdeliverylogdrainsresponseencoding.md create mode 100644 docs/models/getalllogdrainsdeliverylogdrainsresponsetype.md create mode 100644 docs/models/getalllogdrainsdeliverylogdrainstarget.md create mode 100644 docs/models/getalllogdrainsdeliverylogdrainstype.md create mode 100644 docs/models/getalllogdrainsdeliverytarget.md create mode 100644 docs/models/getalllogdrainsdeliverytype.md create mode 100644 docs/models/getalllogdrainsdrains1.md create mode 100644 docs/models/getalllogdrainsdrains2.md create mode 100644 docs/models/getalllogdrainsdrainsanalytics.md create mode 100644 docs/models/getalllogdrainsdrainscreatedfrom.md create mode 100644 docs/models/getalllogdrainsdrainsdelivery.md create mode 100644 docs/models/getalllogdrainsdrainsdisabledreason.md create mode 100644 docs/models/getalllogdrainsdrainsenv.md create mode 100644 docs/models/getalllogdrainsdrainsfilterv2.md create mode 100644 docs/models/getalllogdrainsdrainsframework.md create mode 100644 docs/models/getalllogdrainsdrainslog.md create mode 100644 docs/models/getalllogdrainsdrainslogdrainsanalytics.md create mode 100644 docs/models/getalllogdrainsdrainslogdrainscreatedfrom.md create mode 100644 docs/models/getalllogdrainsdrainslogdrainsdelivery.md create mode 100644 docs/models/getalllogdrainsdrainslogdrainsdisabledreason.md create mode 100644 docs/models/getalllogdrainsdrainslogdrainsenv.md create mode 100644 docs/models/getalllogdrainsdrainslogdrainsfilterv2.md create mode 100644 docs/models/getalllogdrainsdrainslogdrainslog.md create mode 100644 docs/models/getalllogdrainsdrainslogdrainssampling.md create mode 100644 docs/models/getalllogdrainsdrainslogdrainsschemas.md create mode 100644 docs/models/getalllogdrainsdrainslogdrainssource.md create mode 100644 docs/models/getalllogdrainsdrainslogdrainsspeedinsights.md create mode 100644 docs/models/getalllogdrainsdrainslogdrainsstatus.md create mode 100644 docs/models/getalllogdrainsdrainslogdrainstrace.md create mode 100644 docs/models/getalllogdrainsdrainslogdrainstype.md create mode 100644 docs/models/getalllogdrainsdrainsprojectsmetadata.md create mode 100644 docs/models/getalllogdrainsdrainssampling.md create mode 100644 docs/models/getalllogdrainsdrainsschemas.md create mode 100644 docs/models/getalllogdrainsdrainssource.md create mode 100644 docs/models/getalllogdrainsdrainsspeedinsights.md create mode 100644 docs/models/getalllogdrainsdrainsstatus.md create mode 100644 docs/models/getalllogdrainsdrainstrace.md create mode 100644 docs/models/getalllogdrainsdrainstype.md create mode 100644 docs/models/getalllogdrainsfilter1.md create mode 100644 docs/models/getalllogdrainsfilter2.md create mode 100644 docs/models/getalllogdrainsfilterdeployment.md create mode 100644 docs/models/getalllogdrainsfilterenvironments.md create mode 100644 docs/models/getalllogdrainsfilterlog.md create mode 100644 docs/models/getalllogdrainsfilterlogdrains1.md create mode 100644 docs/models/getalllogdrainsfilterlogdrains2.md create mode 100644 docs/models/getalllogdrainsfilterlogdrainsdeployment.md create mode 100644 docs/models/getalllogdrainsfilterlogdrainsenvironments.md create mode 100644 docs/models/getalllogdrainsfilterlogdrainslog.md create mode 100644 docs/models/getalllogdrainsfilterlogdrainsproject.md create mode 100644 docs/models/getalllogdrainsfilterlogdrainsresponse200type.md create mode 100644 docs/models/getalllogdrainsfilterlogdrainsresponsetype.md create mode 100644 docs/models/getalllogdrainsfilterlogdrainssources.md create mode 100644 docs/models/getalllogdrainsfilterlogdrainstype.md create mode 100644 docs/models/getalllogdrainsfilterproject.md create mode 100644 docs/models/getalllogdrainsfiltersources.md create mode 100644 docs/models/getalllogdrainsfiltertype.md create mode 100644 docs/models/getalllogdrainsfilterv21.md create mode 100644 docs/models/getalllogdrainsfilterv22.md create mode 100644 docs/models/getalllogdrainsfilterv2filter.md create mode 100644 docs/models/getalllogdrainsfilterv2logdrains1.md create mode 100644 docs/models/getalllogdrainsfilterv2logdrains2.md create mode 100644 docs/models/getalllogdrainsfilterv2logdrainsfilter.md create mode 100644 docs/models/getalllogdrainsfilterv2logdrainsresponse200version.md create mode 100644 docs/models/getalllogdrainsfilterv2logdrainsresponseversion.md create mode 100644 docs/models/getalllogdrainsfilterv2logdrainsversion.md create mode 100644 docs/models/getalllogdrainsfilterv2version.md create mode 100644 docs/models/getalllogdrainsrequest.md create mode 100644 docs/models/getalllogdrainsresponsebody.md create mode 100644 docs/models/getalllogdrainsresponsebody1.md create mode 100644 docs/models/getalllogdrainsresponsebody2.md create mode 100644 docs/models/getalllogdrainsresponsebodyframework.md create mode 100644 docs/models/getalllogdrainssource1.md create mode 100644 docs/models/getalllogdrainssource2.md create mode 100644 docs/models/getalllogdrainssourcekind.md create mode 100644 docs/models/getalllogdrainssourcelogdrains1.md create mode 100644 docs/models/getalllogdrainssourcelogdrains2.md create mode 100644 docs/models/getalllogdrainssourcelogdrainskind.md create mode 100644 docs/models/getalllogdrainssourcelogdrainsresponse200kind.md create mode 100644 docs/models/getalllogdrainssourcelogdrainsresponsekind.md create mode 100644 docs/models/getbulkavailabilityrequest.md create mode 100644 docs/models/getbulkavailabilityrequestbody.md create mode 100644 docs/models/getbulkavailabilityresponsebody.md create mode 100644 docs/models/getconfigurablelogdrainframework.md create mode 100644 docs/models/getconfigurablelogdrainrequest.md create mode 100644 docs/models/getconfigurablelogdrainresponsebody.md rename docs/models/{getconfigurationproductspropertiesatbrandat543472.md => getconfigurationproductspropertiesatbrandat649501.md} (55%) rename docs/models/{getconfigurationproductspropertiesintegrationsatbrandat543472.md => getconfigurationproductspropertiesintegrationsatbrandat649501.md} (67%) rename docs/models/{getconfigurationproductspropertiesintegrationsresponse200applicationjsonatbrandat543472.md => getconfigurationproductspropertiesintegrationsresponse200applicationjsonatbrandat649501.md} (84%) rename docs/models/{getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyatbrandat543472.md => getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyatbrandat649501.md} (79%) rename docs/models/{getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsatbrandat543472.md => getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsatbrandat649501.md} (75%) rename docs/models/{getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema10atbrandat543472.md => getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema10atbrandat649501.md} (70%) rename docs/models/{getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema6atbrandat543472.md => getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema6atbrandat649501.md} (70%) delete mode 100644 docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema6itemsatbrandat543472.md create mode 100644 docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema6itemsatbrandat649501.md rename docs/models/{getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema6itemsminlengthatbrandat543472.md => getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema6itemsminlengthatbrandat649501.md} (94%) delete mode 100644 docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema8atbrandat543472.md create mode 100644 docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema8atbrandat649501.md delete mode 100644 docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema8itemsatbrandat543472.md create mode 100644 docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema8itemsatbrandat649501.md rename docs/models/{getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema8itemsminlengthatbrandat543472.md => getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema8itemsminlengthatbrandat649501.md} (94%) rename docs/models/{getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema8itemspatternatbrandat543472.md => getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema8itemspatternatbrandat649501.md} (95%) delete mode 100644 docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema9atbrandat543472.md create mode 100644 docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema9atbrandat649501.md delete mode 100644 docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema9maxlengthatbrandat543472.md create mode 100644 docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema9maxlengthatbrandat649501.md delete mode 100644 docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema9patternatbrandat543472.md create mode 100644 docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema9patternatbrandat649501.md rename docs/models/{getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschemaatbrandat543472.md => getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschemaatbrandat649501.md} (70%) rename docs/models/{getconfigurationproductspropertiesintegrationsresponse200atbrandat543472.md => getconfigurationproductspropertiesintegrationsresponse200atbrandat649501.md} (80%) rename docs/models/{getconfigurationproductspropertiesintegrationsresponseatbrandat543472.md => getconfigurationproductspropertiesintegrationsresponseatbrandat649501.md} (81%) rename docs/models/{getconfigurationproductsuioptionsatbrandat543472.md => getconfigurationproductsuioptionsatbrandat649501.md} (55%) rename docs/models/{getconfigurationproductsuioptionsintegrationsatbrandat543472.md => getconfigurationproductsuioptionsintegrationsatbrandat649501.md} (52%) rename docs/models/{getconfigurationproductsuioptionsintegrationsresponseatbrandat543472.md => getconfigurationproductsuioptionsintegrationsresponseatbrandat649501.md} (81%) create mode 100644 docs/models/getconfigurationsresponsebodydisabledreason.md create mode 100644 docs/models/getconfigurationsresponsebodyintegrationsdisabledreason.md create mode 100644 docs/models/getcontactinfoschemarequest.md create mode 100644 docs/models/getcontactinfoschemaresponsebody.md create mode 100644 docs/models/getdomainauthcodedomainsregistrarresponsebody.md create mode 100644 docs/models/getdomainauthcoderequest.md create mode 100644 docs/models/getdomainauthcoderesponsebody.md create mode 100644 docs/models/getdomainavailabilityrequest.md create mode 100644 docs/models/getdomainavailabilityresponsebody.md create mode 100644 docs/models/getdomainpricerequest.md create mode 100644 docs/models/getdomainpriceresponsebody.md create mode 100644 docs/models/getdomainsdomains.md create mode 100644 docs/models/getdomaintransferindomainsregistrarresponsebody.md create mode 100644 docs/models/getdomaintransferinrequest.md create mode 100644 docs/models/getdomaintransferinresponsebody.md create mode 100644 docs/models/getdomaintransferinstatus.md create mode 100644 docs/models/getdraindelivery1.md create mode 100644 docs/models/getdraindelivery2.md create mode 100644 docs/models/getdraindelivery3.md create mode 100644 docs/models/getdraindelivery4.md create mode 100644 docs/models/getdraindeliverycompression.md create mode 100644 docs/models/getdraindeliverydrains1.md create mode 100644 docs/models/getdraindeliverydrains2.md create mode 100644 docs/models/getdraindeliverydrains3.md create mode 100644 docs/models/getdraindeliverydrains4.md create mode 100644 docs/models/getdraindeliverydrainscompression.md create mode 100644 docs/models/getdraindeliverydrainsencoding.md create mode 100644 docs/models/getdraindeliverydrainsendpoint.md create mode 100644 docs/models/getdraindeliverydrainsresponse200applicationjsonresponsebody24type.md create mode 100644 docs/models/getdraindeliverydrainsresponse200applicationjsonresponsebody2type.md create mode 100644 docs/models/getdraindeliverydrainsresponse200applicationjsonresponsebodytype.md create mode 100644 docs/models/getdraindeliverydrainsresponse200applicationjsontype.md create mode 100644 docs/models/getdraindeliverydrainsresponse200encoding.md create mode 100644 docs/models/getdraindeliverydrainsresponse200type.md create mode 100644 docs/models/getdraindeliverydrainsresponseencoding.md create mode 100644 docs/models/getdraindeliverydrainsresponsetype.md create mode 100644 docs/models/getdraindeliverydrainstarget.md create mode 100644 docs/models/getdraindeliverydrainstype.md create mode 100644 docs/models/getdraindeliveryencoding.md create mode 100644 docs/models/getdraindeliveryendpoint.md create mode 100644 docs/models/getdraindeliverytarget.md create mode 100644 docs/models/getdraindeliverytype.md create mode 100644 docs/models/getdrainfilter1.md create mode 100644 docs/models/getdrainfilter2.md create mode 100644 docs/models/getdrainfilterdeployment.md create mode 100644 docs/models/getdrainfilterdrains1.md create mode 100644 docs/models/getdrainfilterdrains2.md create mode 100644 docs/models/getdrainfilterdrainsdeployment.md create mode 100644 docs/models/getdrainfilterdrainsenvironments.md create mode 100644 docs/models/getdrainfilterdrainslog.md create mode 100644 docs/models/getdrainfilterdrainsproject.md create mode 100644 docs/models/getdrainfilterdrainsresponse200type.md create mode 100644 docs/models/getdrainfilterdrainsresponsetype.md create mode 100644 docs/models/getdrainfilterdrainssources.md create mode 100644 docs/models/getdrainfilterdrainstype.md create mode 100644 docs/models/getdrainfilterenvironments.md create mode 100644 docs/models/getdrainfilterlog.md create mode 100644 docs/models/getdrainfilterproject.md create mode 100644 docs/models/getdrainfiltersources.md create mode 100644 docs/models/getdrainfiltertype.md create mode 100644 docs/models/getdrainfilterv21.md create mode 100644 docs/models/getdrainfilterv22.md create mode 100644 docs/models/getdrainfilterv2drains1.md create mode 100644 docs/models/getdrainfilterv2drains2.md create mode 100644 docs/models/getdrainfilterv2drainsfilter.md create mode 100644 docs/models/getdrainfilterv2drainsresponse200version.md create mode 100644 docs/models/getdrainfilterv2drainsresponseversion.md create mode 100644 docs/models/getdrainfilterv2drainsversion.md create mode 100644 docs/models/getdrainfilterv2filter.md create mode 100644 docs/models/getdrainfilterv2version.md create mode 100644 docs/models/getdrainrequest.md create mode 100644 docs/models/getdrainresponsebody.md create mode 100644 docs/models/getdrainresponsebody1.md create mode 100644 docs/models/getdrainresponsebody2.md create mode 100644 docs/models/getdrainresponsebodyanalytics.md create mode 100644 docs/models/getdrainresponsebodycreatedfrom.md create mode 100644 docs/models/getdrainresponsebodydelivery.md create mode 100644 docs/models/getdrainresponsebodydisabledreason.md create mode 100644 docs/models/getdrainresponsebodydrainsanalytics.md create mode 100644 docs/models/getdrainresponsebodydrainscreatedfrom.md create mode 100644 docs/models/getdrainresponsebodydrainsdelivery.md create mode 100644 docs/models/getdrainresponsebodydrainsdisabledreason.md create mode 100644 docs/models/getdrainresponsebodydrainsenv.md create mode 100644 docs/models/getdrainresponsebodydrainsfilterv2.md create mode 100644 docs/models/getdrainresponsebodydrainslog.md create mode 100644 docs/models/getdrainresponsebodydrainssampling.md create mode 100644 docs/models/getdrainresponsebodydrainsschemas.md create mode 100644 docs/models/getdrainresponsebodydrainssource.md create mode 100644 docs/models/getdrainresponsebodydrainsspeedinsights.md create mode 100644 docs/models/getdrainresponsebodydrainsstatus.md create mode 100644 docs/models/getdrainresponsebodydrainstrace.md create mode 100644 docs/models/getdrainresponsebodydrainstype.md create mode 100644 docs/models/getdrainresponsebodyenv.md create mode 100644 docs/models/getdrainresponsebodyfilterv2.md create mode 100644 docs/models/getdrainresponsebodyframework.md create mode 100644 docs/models/getdrainresponsebodylog.md create mode 100644 docs/models/getdrainresponsebodyprojectsmetadata.md create mode 100644 docs/models/getdrainresponsebodysampling.md create mode 100644 docs/models/getdrainresponsebodyschemas.md create mode 100644 docs/models/getdrainresponsebodysource.md create mode 100644 docs/models/getdrainresponsebodyspeedinsights.md create mode 100644 docs/models/getdrainresponsebodystatus.md create mode 100644 docs/models/getdrainresponsebodytrace.md create mode 100644 docs/models/getdrainresponsebodytype.md create mode 100644 docs/models/getdrainsdelivery1.md create mode 100644 docs/models/getdrainsdelivery2.md create mode 100644 docs/models/getdrainsdelivery3.md create mode 100644 docs/models/getdrainsdelivery4.md create mode 100644 docs/models/getdrainsdeliverycompression.md create mode 100644 docs/models/getdrainsdeliverydrains1.md create mode 100644 docs/models/getdrainsdeliverydrains2.md create mode 100644 docs/models/getdrainsdeliverydrains3.md create mode 100644 docs/models/getdrainsdeliverydrains4.md create mode 100644 docs/models/getdrainsdeliverydrainscompression.md create mode 100644 docs/models/getdrainsdeliverydrainsencoding.md create mode 100644 docs/models/getdrainsdeliverydrainsendpoint.md create mode 100644 docs/models/getdrainsdeliverydrainsresponse200applicationjsonresponsebodydrains2type.md create mode 100644 docs/models/getdrainsdeliverydrainsresponse200applicationjsonresponsebodydrainstype.md create mode 100644 docs/models/getdrainsdeliverydrainsresponse200applicationjsonresponsebodytype.md create mode 100644 docs/models/getdrainsdeliverydrainsresponse200applicationjsontype.md create mode 100644 docs/models/getdrainsdeliverydrainsresponse200encoding.md create mode 100644 docs/models/getdrainsdeliverydrainsresponse200type.md create mode 100644 docs/models/getdrainsdeliverydrainsresponseencoding.md create mode 100644 docs/models/getdrainsdeliverydrainsresponsetype.md create mode 100644 docs/models/getdrainsdeliverydrainstarget.md create mode 100644 docs/models/getdrainsdeliverydrainstype.md create mode 100644 docs/models/getdrainsdeliveryencoding.md create mode 100644 docs/models/getdrainsdeliveryendpoint.md create mode 100644 docs/models/getdrainsdeliverytarget.md create mode 100644 docs/models/getdrainsdeliverytype.md create mode 100644 docs/models/getdrainsdrainsanalytics.md create mode 100644 docs/models/getdrainsdrainscreatedfrom.md create mode 100644 docs/models/getdrainsdrainsdelivery.md create mode 100644 docs/models/getdrainsdrainsdisabledreason.md create mode 100644 docs/models/getdrainsdrainsenv.md create mode 100644 docs/models/getdrainsdrainsfilterv2.md create mode 100644 docs/models/getdrainsdrainslog.md create mode 100644 docs/models/getdrainsdrainssampling.md create mode 100644 docs/models/getdrainsdrainsschemas.md create mode 100644 docs/models/getdrainsdrainssource.md create mode 100644 docs/models/getdrainsdrainsspeedinsights.md create mode 100644 docs/models/getdrainsdrainsstatus.md create mode 100644 docs/models/getdrainsdrainstrace.md create mode 100644 docs/models/getdrainsdrainstype.md create mode 100644 docs/models/getdrainsfilter1.md create mode 100644 docs/models/getdrainsfilter2.md create mode 100644 docs/models/getdrainsfilterdeployment.md create mode 100644 docs/models/getdrainsfilterdrains1.md create mode 100644 docs/models/getdrainsfilterdrains2.md create mode 100644 docs/models/getdrainsfilterdrainsdeployment.md create mode 100644 docs/models/getdrainsfilterdrainsenvironments.md create mode 100644 docs/models/getdrainsfilterdrainslog.md create mode 100644 docs/models/getdrainsfilterdrainsproject.md create mode 100644 docs/models/getdrainsfilterdrainsresponse200type.md create mode 100644 docs/models/getdrainsfilterdrainsresponsetype.md create mode 100644 docs/models/getdrainsfilterdrainssources.md create mode 100644 docs/models/getdrainsfilterdrainstype.md create mode 100644 docs/models/getdrainsfilterenvironments.md create mode 100644 docs/models/getdrainsfilterlog.md create mode 100644 docs/models/getdrainsfilterproject.md create mode 100644 docs/models/getdrainsfiltersources.md create mode 100644 docs/models/getdrainsfiltertype.md create mode 100644 docs/models/getdrainsfilterv21.md create mode 100644 docs/models/getdrainsfilterv22.md create mode 100644 docs/models/getdrainsfilterv2drains1.md create mode 100644 docs/models/getdrainsfilterv2drains2.md create mode 100644 docs/models/getdrainsfilterv2drainsfilter.md create mode 100644 docs/models/getdrainsfilterv2drainsresponse200version.md create mode 100644 docs/models/getdrainsfilterv2drainsresponseversion.md create mode 100644 docs/models/getdrainsfilterv2drainsversion.md create mode 100644 docs/models/getdrainsfilterv2filter.md create mode 100644 docs/models/getdrainsfilterv2version.md create mode 100644 docs/models/getdrainsource1.md create mode 100644 docs/models/getdrainsource2.md create mode 100644 docs/models/getdrainsourcedrains1.md create mode 100644 docs/models/getdrainsourcedrains2.md create mode 100644 docs/models/getdrainsourcedrainskind.md create mode 100644 docs/models/getdrainsourcedrainsresponse200kind.md create mode 100644 docs/models/getdrainsourcedrainsresponsekind.md create mode 100644 docs/models/getdrainsourcekind.md create mode 100644 docs/models/getdrainsrequest.md create mode 100644 docs/models/getdrainsresponsebody.md create mode 100644 docs/models/getdrainssource1.md create mode 100644 docs/models/getdrainssource2.md create mode 100644 docs/models/getdrainssourcedrains1.md create mode 100644 docs/models/getdrainssourcedrains2.md create mode 100644 docs/models/getdrainssourcedrainskind.md create mode 100644 docs/models/getdrainssourcedrainsresponse200kind.md create mode 100644 docs/models/getdrainssourcedrainsresponsekind.md create mode 100644 docs/models/getdrainssourcekind.md create mode 100644 docs/models/getintegrationlogdrainssource1.md create mode 100644 docs/models/getintegrationlogdrainssource2.md create mode 100644 docs/models/getintegrationresourcesresources.md create mode 100644 docs/models/getorder11.md create mode 100644 docs/models/getorder12.md create mode 100644 docs/models/getorder13.md create mode 100644 docs/models/getorder1code.md create mode 100644 docs/models/getorder1details.md create mode 100644 docs/models/getorder1domainsregistrar1.md create mode 100644 docs/models/getorder1domainsregistrar2.md create mode 100644 docs/models/getorder1domainsregistrar3.md create mode 100644 docs/models/getorder1domainsregistrarcode.md create mode 100644 docs/models/getorder1domainsregistrardetails.md create mode 100644 docs/models/getorder1domainsregistrarresponse1.md create mode 100644 docs/models/getorder1domainsregistrarresponse2.md create mode 100644 docs/models/getorder1domainsregistrarresponse2001.md create mode 100644 docs/models/getorder1domainsregistrarresponse2002.md create mode 100644 docs/models/getorder1domainsregistrarresponse2003.md create mode 100644 docs/models/getorder1domainsregistrarresponse200applicationjsoncode.md create mode 100644 docs/models/getorder1domainsregistrarresponse200applicationjsonresponsebodycode.md create mode 100644 docs/models/getorder1domainsregistrarresponse200applicationjsonresponsebodydomains1code.md create mode 100644 docs/models/getorder1domainsregistrarresponse200applicationjsonresponsebodydomains1error3code.md create mode 100644 docs/models/getorder1domainsregistrarresponse200applicationjsonresponsebodydomains1errorcode.md create mode 100644 docs/models/getorder1domainsregistrarresponse200applicationjsonresponsebodydomains2code.md create mode 100644 docs/models/getorder1domainsregistrarresponse200applicationjsonresponsebodydomains3code.md create mode 100644 docs/models/getorder1domainsregistrarresponse200applicationjsonresponsebodydomainscode.md create mode 100644 docs/models/getorder1domainsregistrarresponse200code.md create mode 100644 docs/models/getorder1domainsregistrarresponse200details.md create mode 100644 docs/models/getorder1domainsregistrarresponse3.md create mode 100644 docs/models/getorder1domainsregistrarresponsecode.md create mode 100644 docs/models/getorder1domainsregistrarresponsedetails.md create mode 100644 docs/models/getorderdomains.md create mode 100644 docs/models/getorderdomainsdomainsregistrarerror.md create mode 100644 docs/models/getorderdomainsdomainsregistrarpurchasetype.md create mode 100644 docs/models/getorderdomainsdomainsregistrarstatus.md create mode 100644 docs/models/getorderdomainserror.md create mode 100644 docs/models/getorderdomainspurchasetype.md create mode 100644 docs/models/getorderdomainsregistrarresponsebody.md create mode 100644 docs/models/getorderdomainsstatus.md create mode 100644 docs/models/getordererror.md create mode 100644 docs/models/getordererror1.md create mode 100644 docs/models/getordererror2.md create mode 100644 docs/models/getordererrordomainsregistrar1.md create mode 100644 docs/models/getordererrordomainsregistrar2.md create mode 100644 docs/models/getordererrordomainsregistrarresponse1.md create mode 100644 docs/models/getordererrordomainsregistrarresponse2.md create mode 100644 docs/models/getorderrequest.md create mode 100644 docs/models/getorderresponsebody.md create mode 100644 docs/models/getorderstatus.md create mode 100644 docs/models/getprojectclientcertsrequest.md create mode 100644 docs/models/getprojectclientcertsresponsebody.md create mode 100644 docs/models/getprojectsdismissedtoasts.md create mode 100644 docs/models/getprojectsmicrofrontends3.md create mode 100644 docs/models/getprojectsprojectsresponse200applicationjsonaction.md create mode 100644 docs/models/getprojectsstaticips.md create mode 100644 docs/models/getprojectsvalue.md create mode 100644 docs/models/getprojectsvalue4.md create mode 100644 docs/models/getprojectsvaluecurrentvalue.md create mode 100644 docs/models/getprojectsvaluepreviousvalue.md create mode 100644 docs/models/getsharedenvvarrequest.md create mode 100644 docs/models/getsharedenvvarresponsebody.md create mode 100644 docs/models/getsharedenvvartarget.md create mode 100644 docs/models/getsharedenvvartype.md create mode 100644 docs/models/getsupportedtldsrequest.md create mode 100644 docs/models/gettldpricerequest.md create mode 100644 docs/models/gettldpriceresponsebody.md create mode 100644 docs/models/getv1securityfirewalleventsrequest.md create mode 100644 docs/models/getv1securityfirewalleventsresponsebody.md create mode 100644 docs/models/getwebhooksresponsebodyprojectsmetadata.md create mode 100644 docs/models/git.md create mode 100644 docs/models/headv1installationsintegrationconfigurationidresourcesresourceidexperimentationedgeconfigpurpose.md create mode 100644 docs/models/importresourcebillingplan.md create mode 100644 docs/models/importresourcedetails.md create mode 100644 docs/models/importresourcehighlighteddetails.md create mode 100644 docs/models/importresourcelevel.md create mode 100644 docs/models/importresourcenotification.md create mode 100644 docs/models/internalservererror.md create mode 100644 docs/models/internalservererrorcode.md create mode 100644 docs/models/invitedteammember.md delete mode 100644 docs/models/inviteusertoteamresponsebody.md delete mode 100644 docs/models/inviteusertoteamteamroles.md delete mode 100644 docs/models/inviteusertoteamteamsresponserole.md create mode 100644 docs/models/links.md create mode 100644 docs/models/listaccessgroupmembersteamrole.md create mode 100644 docs/models/listsharedenvvariablerequest.md create mode 100644 docs/models/listsharedenvvariableresponsebody.md create mode 100644 docs/models/listsharedenvvariabletarget.md create mode 100644 docs/models/listsharedenvvariabletype.md create mode 100644 docs/models/log.md create mode 100644 docs/models/method.md create mode 100644 docs/models/microfrontends3.md create mode 100644 docs/models/microfrontendsrequest.md create mode 100644 docs/models/newplan.md create mode 100644 docs/models/nextacceptedpermissionsets.md create mode 100644 docs/models/nextpermissions.md create mode 100644 docs/models/nextscopes.md create mode 100644 docs/models/notauthorizedforscope.md create mode 100644 docs/models/notification1.md create mode 100644 docs/models/notificationlevel.md create mode 100644 docs/models/one4.md create mode 100644 docs/models/onecode.md create mode 100644 docs/models/onedetails.md create mode 100644 docs/models/onehundredandsixtyfive.md create mode 100644 docs/models/onehundredandsixtyseven.md create mode 100644 docs/models/onehundredandsixtysix.md create mode 100644 docs/models/patchedgeconfigitems11.md create mode 100644 docs/models/patchedgeconfigitems12.md create mode 100644 docs/models/patchedgeconfigitems13.md create mode 100644 docs/models/patchedgeconfigitemsitems.md create mode 100644 docs/models/payloadapp.md create mode 100644 docs/models/payloadbuildqueue.md create mode 100644 docs/models/payloaditems.md create mode 100644 docs/models/payloadprojectids.md create mode 100644 docs/models/payloadreasoncode.md create mode 100644 docs/models/payloadresources.md create mode 100644 docs/models/payloadscopes.md create mode 100644 docs/models/payloaduserpermissionset.md create mode 100644 docs/models/previousplan.md create mode 100644 docs/models/previousvalue.md create mode 100644 docs/models/projectfilter.md create mode 100644 docs/models/projectids.md create mode 100644 docs/models/projectidupdates.md rename docs/models/{propertiesatbrandat543472.md => propertiesatbrandat649501.md} (59%) rename docs/models/{propertiesatbrandat8486.md => propertiesatbrandat8795.md} (60%) create mode 100644 docs/models/providers.md create mode 100644 docs/models/providers1.md create mode 100644 docs/models/providers2.md create mode 100644 docs/models/putv1installationsintegrationconfigurationidresourcesresourceidexperimentationedgeconfigpurpose.md create mode 100644 docs/models/renewdomaincontactinformation.md create mode 100644 docs/models/renewdomaindomainsregistrarresponsebody.md create mode 100644 docs/models/renewdomainlinks.md create mode 100644 docs/models/renewdomainmethod.md create mode 100644 docs/models/renewdomainrequest.md create mode 100644 docs/models/renewdomainrequestbody.md create mode 100644 docs/models/renewdomainresponsebody.md create mode 100644 docs/models/requestbodyevs.md create mode 100644 docs/models/requestbodytarget.md create mode 100644 docs/models/responsebodyanalytics.md create mode 100644 docs/models/responsebodycreatedfrom.md create mode 100644 docs/models/responsebodydelivery.md create mode 100644 docs/models/responsebodydrains.md create mode 100644 docs/models/responsebodyenv.md create mode 100644 docs/models/responsebodyfilterv2.md create mode 100644 docs/models/responsebodylog.md create mode 100644 docs/models/responsebodysampling.md create mode 100644 docs/models/responsebodyschemas.md create mode 100644 docs/models/responsebodytrace.md create mode 100644 docs/models/results.md create mode 100644 docs/models/sampling.md create mode 100644 docs/models/schemas.md create mode 100644 docs/models/secrets1.md create mode 100644 docs/models/secrets2.md create mode 100644 docs/models/secretsenvironmentoverrides.md create mode 100644 docs/models/secretssecrets.md create mode 100644 docs/models/staticipsenabled.md rename docs/models/{inviteusertoteamteampermissions.md => teammembershipteampermissions.md} (51%) create mode 100644 docs/models/teammembershipteamroles.md create mode 100644 docs/models/testdraindelivery.md create mode 100644 docs/models/testdraindelivery1.md create mode 100644 docs/models/testdraindelivery2.md create mode 100644 docs/models/testdraindeliverycompression.md create mode 100644 docs/models/testdraindeliverydrainsencoding.md create mode 100644 docs/models/testdraindeliveryencoding.md create mode 100644 docs/models/testdraindeliveryendpoint.md create mode 100644 docs/models/testdrainendpoint1.md create mode 100644 docs/models/testdrainrequest.md create mode 100644 docs/models/testdrainrequestbody.md create mode 100644 docs/models/testdrainresponsebody.md create mode 100644 docs/models/testdrainresponsebody1.md create mode 100644 docs/models/testdrainresponsebody2.md create mode 100644 docs/models/testdrainschemas.md create mode 100644 docs/models/tlds.md create mode 100644 docs/models/trace.md create mode 100644 docs/models/transferindomaincontactinformation.md create mode 100644 docs/models/transferindomaindomainsregistrarresponsebody.md create mode 100644 docs/models/transferindomainlinks.md create mode 100644 docs/models/transferindomainmethod.md rename docs/models/{inviteusertoteamrequest.md => transferindomainrequest.md} (59%) create mode 100644 docs/models/transferindomainrequestbody.md create mode 100644 docs/models/transferindomainresponsebody.md create mode 100644 docs/models/uioptionsatbrandat649501.md rename docs/models/{uioptionsatbrandat8486.md => uioptionsatbrandat8795.md} (60%) create mode 100644 docs/models/unlinksharedenvvariablerequest.md create mode 100644 docs/models/unlinksharedenvvariableresponsebody.md create mode 100644 docs/models/updated.md create mode 100644 docs/models/updatedomainautorenewrequest.md create mode 100644 docs/models/updatedomainautorenewrequestbody.md create mode 100644 docs/models/updatedomainautorenewresponsebody.md create mode 100644 docs/models/updatedomainnameserversrequest.md create mode 100644 docs/models/updatedomainnameserversrequestbody.md create mode 100644 docs/models/updatedomainnameserversresponsebody.md create mode 100644 docs/models/updatedrain11.md create mode 100644 docs/models/updatedrain12.md create mode 100644 docs/models/updatedrain13.md create mode 100644 docs/models/updatedraindelivery.md create mode 100644 docs/models/updatedraindelivery1.md create mode 100644 docs/models/updatedraindelivery2.md create mode 100644 docs/models/updatedraindelivery3.md create mode 100644 docs/models/updatedraindelivery4.md create mode 100644 docs/models/updatedraindeliverycompression.md create mode 100644 docs/models/updatedraindeliverydrains1.md create mode 100644 docs/models/updatedraindeliverydrains2.md create mode 100644 docs/models/updatedraindeliverydrains3.md create mode 100644 docs/models/updatedraindeliverydrains4.md create mode 100644 docs/models/updatedraindeliverydrainscompression.md create mode 100644 docs/models/updatedraindeliverydrainsencoding.md create mode 100644 docs/models/updatedraindeliverydrainsendpoint.md create mode 100644 docs/models/updatedraindeliverydrainsresponse1.md create mode 100644 docs/models/updatedraindeliverydrainsresponse2.md create mode 100644 docs/models/updatedraindeliverydrainsresponse200applicationjsonencoding.md create mode 100644 docs/models/updatedraindeliverydrainsresponse200applicationjsonresponsebody24type.md create mode 100644 docs/models/updatedraindeliverydrainsresponse200applicationjsonresponsebody2type.md create mode 100644 docs/models/updatedraindeliverydrainsresponse200applicationjsonresponsebodyencoding.md create mode 100644 docs/models/updatedraindeliverydrainsresponse200applicationjsonresponsebodytype.md create mode 100644 docs/models/updatedraindeliverydrainsresponse200applicationjsontype.md create mode 100644 docs/models/updatedraindeliverydrainsresponse200encoding.md create mode 100644 docs/models/updatedraindeliverydrainsresponse200type.md create mode 100644 docs/models/updatedraindeliverydrainsresponseencoding.md create mode 100644 docs/models/updatedraindeliverydrainsresponsetype.md create mode 100644 docs/models/updatedraindeliverydrainstarget.md create mode 100644 docs/models/updatedraindeliverydrainstype.md create mode 100644 docs/models/updatedraindeliveryencoding.md create mode 100644 docs/models/updatedraindeliveryendpoint.md create mode 100644 docs/models/updatedraindeliverytarget.md create mode 100644 docs/models/updatedraindeliverytype.md create mode 100644 docs/models/updatedrainendpoint1.md create mode 100644 docs/models/updatedrainenv.md create mode 100644 docs/models/updatedrainfilter.md create mode 100644 docs/models/updatedrainfilter1.md create mode 100644 docs/models/updatedrainfilter2.md create mode 100644 docs/models/updatedrainfilterdeployment.md create mode 100644 docs/models/updatedrainfilterdrains1.md create mode 100644 docs/models/updatedrainfilterdrains2.md create mode 100644 docs/models/updatedrainfilterdrainsdeployment.md create mode 100644 docs/models/updatedrainfilterdrainsenvironments.md create mode 100644 docs/models/updatedrainfilterdrainslog.md create mode 100644 docs/models/updatedrainfilterdrainsproject.md create mode 100644 docs/models/updatedrainfilterdrainsresponse1.md create mode 100644 docs/models/updatedrainfilterdrainsresponse2.md create mode 100644 docs/models/updatedrainfilterdrainsresponse2002.md create mode 100644 docs/models/updatedrainfilterdrainsresponse200type.md create mode 100644 docs/models/updatedrainfilterdrainsresponseenvironments.md create mode 100644 docs/models/updatedrainfilterdrainsresponsesources.md create mode 100644 docs/models/updatedrainfilterdrainsresponsetype.md create mode 100644 docs/models/updatedrainfilterdrainssources.md create mode 100644 docs/models/updatedrainfilterdrainstype.md create mode 100644 docs/models/updatedrainfilterenvironments.md create mode 100644 docs/models/updatedrainfilterfilter.md create mode 100644 docs/models/updatedrainfilterlog.md create mode 100644 docs/models/updatedrainfilterproject.md create mode 100644 docs/models/updatedrainfiltersources.md create mode 100644 docs/models/updatedrainfiltertype.md create mode 100644 docs/models/updatedrainfilterv21.md create mode 100644 docs/models/updatedrainfilterv22.md create mode 100644 docs/models/updatedrainfilterv2drains1.md create mode 100644 docs/models/updatedrainfilterv2drains2.md create mode 100644 docs/models/updatedrainfilterv2drainsfilter.md create mode 100644 docs/models/updatedrainfilterv2drainsresponse200version.md create mode 100644 docs/models/updatedrainfilterv2drainsresponseversion.md create mode 100644 docs/models/updatedrainfilterv2drainsversion.md create mode 100644 docs/models/updatedrainfilterv2filter.md create mode 100644 docs/models/updatedrainfilterv2version.md create mode 100644 docs/models/updatedrainprojects.md create mode 100644 docs/models/updatedrainrequest.md create mode 100644 docs/models/updatedrainrequestbody.md create mode 100644 docs/models/updatedrainresponsebody.md create mode 100644 docs/models/updatedrainresponsebody1.md create mode 100644 docs/models/updatedrainresponsebody2.md create mode 100644 docs/models/updatedrainresponsebodyanalytics.md create mode 100644 docs/models/updatedrainresponsebodycreatedfrom.md create mode 100644 docs/models/updatedrainresponsebodydelivery.md create mode 100644 docs/models/updatedrainresponsebodydisabledreason.md create mode 100644 docs/models/updatedrainresponsebodydrainsanalytics.md create mode 100644 docs/models/updatedrainresponsebodydrainscreatedfrom.md create mode 100644 docs/models/updatedrainresponsebodydrainsdelivery.md create mode 100644 docs/models/updatedrainresponsebodydrainsdisabledreason.md create mode 100644 docs/models/updatedrainresponsebodydrainsenv.md create mode 100644 docs/models/updatedrainresponsebodydrainsfilterv2.md create mode 100644 docs/models/updatedrainresponsebodydrainslog.md create mode 100644 docs/models/updatedrainresponsebodydrainssampling.md create mode 100644 docs/models/updatedrainresponsebodydrainsschemas.md create mode 100644 docs/models/updatedrainresponsebodydrainssource.md create mode 100644 docs/models/updatedrainresponsebodydrainsspeedinsights.md create mode 100644 docs/models/updatedrainresponsebodydrainsstatus.md create mode 100644 docs/models/updatedrainresponsebodydrainstrace.md create mode 100644 docs/models/updatedrainresponsebodydrainstype.md create mode 100644 docs/models/updatedrainresponsebodyenv.md create mode 100644 docs/models/updatedrainresponsebodyfilterv2.md create mode 100644 docs/models/updatedrainresponsebodyframework.md create mode 100644 docs/models/updatedrainresponsebodylog.md create mode 100644 docs/models/updatedrainresponsebodyprojectsmetadata.md create mode 100644 docs/models/updatedrainresponsebodysampling.md create mode 100644 docs/models/updatedrainresponsebodyschemas.md create mode 100644 docs/models/updatedrainresponsebodysource.md create mode 100644 docs/models/updatedrainresponsebodyspeedinsights.md create mode 100644 docs/models/updatedrainresponsebodystatus.md create mode 100644 docs/models/updatedrainresponsebodytrace.md create mode 100644 docs/models/updatedrainresponsebodytype.md create mode 100644 docs/models/updatedrainsampling.md create mode 100644 docs/models/updatedrainschemas.md create mode 100644 docs/models/updatedrainsource.md create mode 100644 docs/models/updatedrainsource1.md create mode 100644 docs/models/updatedrainsource2.md create mode 100644 docs/models/updatedrainsourcedrains1.md create mode 100644 docs/models/updatedrainsourcedrains2.md create mode 100644 docs/models/updatedrainsourcedrainskind.md create mode 100644 docs/models/updatedrainsourcedrainsresponse1.md create mode 100644 docs/models/updatedrainsourcedrainsresponse2.md create mode 100644 docs/models/updatedrainsourcedrainsresponse200kind.md create mode 100644 docs/models/updatedrainsourcedrainsresponsekind.md create mode 100644 docs/models/updatedrainsourcekind.md create mode 100644 docs/models/updatedrainstatus.md create mode 100644 docs/models/updatedraintransforms.md create mode 100644 docs/models/updateinstallationrequest.md create mode 100644 docs/models/updateinstallationrequestbody.md create mode 100644 docs/models/updateinstallationtype.md create mode 100644 docs/models/updateprojectdatacachedismissedtoasts.md create mode 100644 docs/models/updateprojectdatacacheenv.md create mode 100644 docs/models/updateprojectdatacachemicrofrontends3.md create mode 100644 docs/models/updateprojectdatacachepermissions.md create mode 100644 docs/models/updateprojectdatacacheprojectsresponse200applicationjsonaction.md create mode 100644 docs/models/updateprojectdatacachestaticips.md create mode 100644 docs/models/updateprojectdatacachevalue.md create mode 100644 docs/models/updateprojectdatacachevaluecurrentvalue.md create mode 100644 docs/models/updateprojectdatacachevaluepreviousvalue.md create mode 100644 docs/models/updateprojectdismissedtoasts.md create mode 100644 docs/models/updateprojectmicrofrontends3.md create mode 100644 docs/models/updateprojectprojectsdismissedtoasts.md create mode 100644 docs/models/updateprojectprojectsresponse200applicationjsonaction.md create mode 100644 docs/models/updateprojectprojectsresponse200applicationjsonresponsebodyaction.md create mode 100644 docs/models/updateprojectprojectsstaticips.md create mode 100644 docs/models/updateprojectstaticips.md create mode 100644 docs/models/updateprojectvalue.md create mode 100644 docs/models/updateprojectvalue4.md create mode 100644 docs/models/updateprojectvaluecurrentvalue.md create mode 100644 docs/models/updateprojectvaluepreviousvalue.md create mode 100644 docs/models/updateresourcebillingplan.md create mode 100644 docs/models/updateresourcedetails.md create mode 100644 docs/models/updateresourcehighlighteddetails.md create mode 100644 docs/models/updateresourcenotification.md create mode 100644 docs/models/updateresourcenotification1.md create mode 100644 docs/models/updateresourceownership.md create mode 100644 docs/models/updateresourcerequest.md create mode 100644 docs/models/updateresourcerequestbody.md rename docs/models/{usereventpayload139project.md => updateresourceresponsebody.md} (58%) create mode 100644 docs/models/updateresourcesecrets.md create mode 100644 docs/models/updateresourcesecretsmarketplaceenvironmentoverrides.md create mode 100644 docs/models/updateresourcestatus.md create mode 100644 docs/models/updateresourcetype.md create mode 100644 docs/models/updates.md create mode 100644 docs/models/updatesharedenvvariableenvironmentresponsetarget.md create mode 100644 docs/models/updatesharedenvvariableenvironmenttarget.md create mode 100644 docs/models/updatesharedenvvariableenvironmenttype.md create mode 100644 docs/models/updatesharedenvvariableerror.md create mode 100644 docs/models/updatesharedenvvariablefailed.md create mode 100644 docs/models/updatesharedenvvariablerequest.md create mode 100644 docs/models/updatesharedenvvariablerequestbody.md create mode 100644 docs/models/updatesharedenvvariableresponsebody.md create mode 100644 docs/models/updatesharedenvvariabletarget.md create mode 100644 docs/models/updatesharedenvvariabletarget1.md create mode 100644 docs/models/updatesharedenvvariabletarget2.md create mode 100644 docs/models/updatesharedenvvariabletype.md create mode 100644 docs/models/updatesharedenvvariablevalue.md create mode 100644 docs/models/updatesharedenvvariablevalue2.md create mode 100644 docs/models/updatestaticipsaws.md create mode 100644 docs/models/updatestaticipsenvid.md create mode 100644 docs/models/updatestaticipsenvid2.md create mode 100644 docs/models/updatestaticipsrequest.md create mode 100644 docs/models/updatestaticipsrequestbody.md create mode 100644 docs/models/updatestaticipsrequestbody1.md create mode 100644 docs/models/updatestaticipsrequestbody2.md create mode 100644 docs/models/updatestaticipsresponsebody.md create mode 100644 docs/models/uploadprojectclientcertrequest.md create mode 100644 docs/models/uploadprojectclientcertrequestbody.md create mode 100644 docs/models/uploadprojectclientcertresponsebody.md create mode 100644 docs/models/usereventmicrofrontends3.md rename docs/models/{usereventpayload98team.md => usereventpayload100team.md} (74%) rename docs/models/{usereventpayload99team.md => usereventpayload101team.md} (74%) delete mode 100644 docs/models/usereventpayload104type.md delete mode 100644 docs/models/usereventpayload105type.md create mode 100644 docs/models/usereventpayload107type.md create mode 100644 docs/models/usereventpayload108type.md rename docs/models/{usereventpayload118user.md => usereventpayload120user.md} (72%) delete mode 100644 docs/models/usereventpayload138project.md delete mode 100644 docs/models/usereventpayload140role.md rename docs/models/{usereventpayload150project.md => usereventpayload142project.md} (76%) create mode 100644 docs/models/usereventpayload142role.md create mode 100644 docs/models/usereventpayload143project.md create mode 100644 docs/models/usereventpayload143role.md delete mode 100644 docs/models/usereventpayload147action.md create mode 100644 docs/models/usereventpayload149action.md create mode 100644 docs/models/usereventpayload152project.md rename docs/models/{usereventpayload151prevproject.md => usereventpayload153prevproject.md} (76%) rename docs/models/{usereventpayload151project.md => usereventpayload153project.md} (82%) create mode 100644 docs/models/usereventpayload161resourcestype.md create mode 100644 docs/models/usereventpayload161type.md create mode 100644 docs/models/usereventpayload162afterresourcestype.md create mode 100644 docs/models/usereventpayload162aftertype.md create mode 100644 docs/models/usereventpayload162beforetype.md create mode 100644 docs/models/usereventpayload162type.md rename docs/models/{usereventpayload163configuration.md => usereventpayload164configuration.md} (74%) rename docs/models/{usereventpayload161team.md => usereventpayload164team.md} (77%) rename docs/models/{usereventpayload162configuration.md => usereventpayload165configuration.md} (74%) rename docs/models/{usereventpayload162team.md => usereventpayload165team.md} (77%) rename docs/models/{usereventpayload161configuration.md => usereventpayload166configuration.md} (74%) rename docs/models/{usereventpayload163team.md => usereventpayload166team.md} (77%) rename docs/models/{usereventpayload29team.md => usereventpayload31team.md} (77%) rename docs/models/{usereventpayload31project.md => usereventpayload33project.md} (76%) rename docs/models/{usereventpayload32configuration.md => usereventpayload34configuration.md} (74%) rename docs/models/{usereventpayload32team.md => usereventpayload34team.md} (77%) rename docs/models/{usereventpayload36project.md => usereventpayload38project.md} (72%) rename docs/models/{usereventpayload46newteam.md => usereventpayload48newteam.md} (72%) rename docs/models/{usereventpayload46oldteam.md => usereventpayload48oldteam.md} (72%) rename docs/models/{usereventpayload57oldenvvartype.md => usereventpayload59oldenvvartype.md} (55%) rename docs/models/{usereventpayload57target.md => usereventpayload59target.md} (52%) rename docs/models/{usereventpayload57type.md => usereventpayload59type.md} (57%) delete mode 100644 docs/models/usereventpayload61action.md create mode 100644 docs/models/usereventpayload63action.md delete mode 100644 docs/models/usereventpayload64action.md delete mode 100644 docs/models/usereventpayload64blockreason.md delete mode 100644 docs/models/usereventpayload64name.md delete mode 100644 docs/models/usereventpayload64newownerblockreason.md delete mode 100644 docs/models/usereventpayload64newownerfeatureblocksblobblockreason.md delete mode 100644 docs/models/usereventpayload64newownerfeatureblocksblockreason.md delete mode 100644 docs/models/usereventpayload64newownerfeatureblockspostgresblockreason.md delete mode 100644 docs/models/usereventpayload64newownerfeatureblocksredisblockreason.md delete mode 100644 docs/models/usereventpayload64type.md create mode 100644 docs/models/usereventpayload66action.md create mode 100644 docs/models/usereventpayload66blockreason.md create mode 100644 docs/models/usereventpayload66configuration.md create mode 100644 docs/models/usereventpayload66name.md create mode 100644 docs/models/usereventpayload66newownerblockreason.md create mode 100644 docs/models/usereventpayload66newownerfeatureblocksblobblockreason.md create mode 100644 docs/models/usereventpayload66newownerfeatureblocksblockreason.md create mode 100644 docs/models/usereventpayload66newownerfeatureblocksmicrofrontendsrequestblockreason.md create mode 100644 docs/models/usereventpayload66newownerfeatureblockspostgresblockreason.md create mode 100644 docs/models/usereventpayload66newownerfeatureblocksredisblockreason.md rename docs/models/{usereventpayload64role.md => usereventpayload66role.md} (57%) create mode 100644 docs/models/usereventpayload66type.md rename docs/models/{usereventpayload76role.md => usereventpayload78role.md} (57%) delete mode 100644 docs/models/usereventpayload85action.md create mode 100644 docs/models/usereventpayload87action.md rename docs/models/{usereventpayload87project.md => usereventpayload89project.md} (86%) rename docs/models/{usereventpayload87team.md => usereventpayload89team.md} (77%) rename docs/models/{usereventpayload91previousproject.md => usereventpayload93previousproject.md} (86%) rename docs/models/{usereventpayload91project.md => usereventpayload93project.md} (86%) create mode 100644 docs/models/usereventpayloaditems.md create mode 100644 docs/models/usereventpayloadprojectids.md create mode 100644 docs/models/usereventpayloadresources.md create mode 100644 docs/models/userpermissionset.md create mode 100644 docs/models/value4.md create mode 100644 docs/models/value5.md create mode 100644 docs/models/valuecurrentvalue.md create mode 100644 docs/models/valuepreviousvalue.md create mode 100644 docs/sdks/connect/README.md create mode 100644 docs/sdks/domainsregistrar/README.md create mode 100644 docs/sdks/drains/README.md create mode 100644 docs/sdks/staticips/README.md delete mode 100644 docs/sdks/vercel/README.md create mode 100644 src/__tests__/connect.test.ts create mode 100644 src/__tests__/domainsregistrar.test.ts create mode 100644 src/__tests__/drains.test.ts create mode 100644 src/__tests__/mockserver/internal/handler/pathdeletev1env.go create mode 100644 src/__tests__/mockserver/internal/handler/pathdeletev1logdrainsid.go create mode 100644 src/__tests__/mockserver/internal/handler/pathdeletev1projectsidornameclientcertcertid.go create mode 100644 src/__tests__/mockserver/internal/handler/pathgetv1drains.go create mode 100644 src/__tests__/mockserver/internal/handler/pathgetv1drainsid.go create mode 100644 src/__tests__/mockserver/internal/handler/pathgetv1env.go create mode 100644 src/__tests__/mockserver/internal/handler/pathgetv1envid.go create mode 100644 src/__tests__/mockserver/internal/handler/pathgetv1logdrains.go create mode 100644 src/__tests__/mockserver/internal/handler/pathgetv1logdrainsid.go create mode 100644 src/__tests__/mockserver/internal/handler/pathgetv1projectsidornameclientcert.go create mode 100644 src/__tests__/mockserver/internal/handler/pathgetv1registrardomainsdomainauthcode.go create mode 100644 src/__tests__/mockserver/internal/handler/pathgetv1registrardomainsdomainavailability.go create mode 100644 src/__tests__/mockserver/internal/handler/pathgetv1registrardomainsdomaincontactinfoschema.go create mode 100644 src/__tests__/mockserver/internal/handler/pathgetv1registrardomainsdomainprice.go create mode 100644 src/__tests__/mockserver/internal/handler/pathgetv1registrardomainsdomaintransfer.go create mode 100644 src/__tests__/mockserver/internal/handler/pathgetv1registrarordersorderid.go create mode 100644 src/__tests__/mockserver/internal/handler/pathgetv1registrartldssupported.go create mode 100644 src/__tests__/mockserver/internal/handler/pathgetv1registrartldstldprice.go create mode 100644 src/__tests__/mockserver/internal/handler/pathgetv1securityfirewallevents.go create mode 100644 src/__tests__/mockserver/internal/handler/pathpatchv1drainsid.go create mode 100644 src/__tests__/mockserver/internal/handler/pathpatchv1env.go create mode 100644 src/__tests__/mockserver/internal/handler/pathpatchv1envidunlinkprojectid.go create mode 100644 src/__tests__/mockserver/internal/handler/pathpatchv1installationsintegrationconfigurationidresourcesresourceid.go create mode 100644 src/__tests__/mockserver/internal/handler/pathpatchv1projectsidornamesharedconnectlinks.go create mode 100644 src/__tests__/mockserver/internal/handler/pathpostv1drains.go create mode 100644 src/__tests__/mockserver/internal/handler/pathpostv1drainstest.go create mode 100644 src/__tests__/mockserver/internal/handler/pathpostv1env.go create mode 100644 src/__tests__/mockserver/internal/handler/pathpostv1logdrains.go create mode 100644 src/__tests__/mockserver/internal/handler/pathpostv1projectsidornameclientcert.go create mode 100644 src/__tests__/mockserver/internal/handler/pathpostv1registrardomainsavailability.go create mode 100644 src/__tests__/mockserver/internal/handler/pathpostv1registrardomainsbuy.go create mode 100644 src/__tests__/mockserver/internal/handler/pathpostv1registrardomainsdomainbuy.go create mode 100644 src/__tests__/mockserver/internal/handler/pathpostv1registrardomainsdomainrenew.go create mode 100644 src/__tests__/mockserver/internal/handler/pathpostv1registrardomainsdomaintransfer.go create mode 100644 src/__tests__/mockserver/internal/handler/pathpostv2teamsteamidmembers.go create mode 100644 src/__tests__/mockserver/internal/sdk/models/components/forbiddenerror.go create mode 100644 src/__tests__/mockserver/internal/sdk/models/components/internalservererror.go create mode 100644 src/__tests__/mockserver/internal/sdk/models/components/invitedteammember.go create mode 100644 src/__tests__/mockserver/internal/sdk/models/components/notauthorizedforscopeerror.go create mode 100644 src/__tests__/mockserver/internal/sdk/models/operations/buydomains.go create mode 100644 src/__tests__/mockserver/internal/sdk/models/operations/buysingledomain.go create mode 100644 src/__tests__/mockserver/internal/sdk/models/operations/createconfigurablelogdrain.go create mode 100644 src/__tests__/mockserver/internal/sdk/models/operations/createdrain.go create mode 100644 src/__tests__/mockserver/internal/sdk/models/operations/createsharedenvvariable.go create mode 100644 src/__tests__/mockserver/internal/sdk/models/operations/deleteconfigurablelogdrain.go create mode 100644 src/__tests__/mockserver/internal/sdk/models/operations/deletedrain.go create mode 100644 src/__tests__/mockserver/internal/sdk/models/operations/deleteprojectclientcert.go create mode 100644 src/__tests__/mockserver/internal/sdk/models/operations/deletesharedenvvariable.go create mode 100644 src/__tests__/mockserver/internal/sdk/models/operations/getalllogdrains.go create mode 100644 src/__tests__/mockserver/internal/sdk/models/operations/getbulkavailability.go create mode 100644 src/__tests__/mockserver/internal/sdk/models/operations/getconfigurablelogdrain.go create mode 100644 src/__tests__/mockserver/internal/sdk/models/operations/getcontactinfoschema.go create mode 100644 src/__tests__/mockserver/internal/sdk/models/operations/getdomainauthcode.go create mode 100644 src/__tests__/mockserver/internal/sdk/models/operations/getdomainavailability.go create mode 100644 src/__tests__/mockserver/internal/sdk/models/operations/getdomainprice.go create mode 100644 src/__tests__/mockserver/internal/sdk/models/operations/getdomaintransferin.go create mode 100644 src/__tests__/mockserver/internal/sdk/models/operations/getdrain.go create mode 100644 src/__tests__/mockserver/internal/sdk/models/operations/getdrains.go create mode 100644 src/__tests__/mockserver/internal/sdk/models/operations/getorder.go create mode 100644 src/__tests__/mockserver/internal/sdk/models/operations/getprojectclientcerts.go create mode 100644 src/__tests__/mockserver/internal/sdk/models/operations/getsharedenvvar.go create mode 100644 src/__tests__/mockserver/internal/sdk/models/operations/getsupportedtlds.go create mode 100644 src/__tests__/mockserver/internal/sdk/models/operations/gettldprice.go create mode 100644 src/__tests__/mockserver/internal/sdk/models/operations/getv1securityfirewallevents.go create mode 100644 src/__tests__/mockserver/internal/sdk/models/operations/listsharedenvvariable.go create mode 100644 src/__tests__/mockserver/internal/sdk/models/operations/renewdomain.go create mode 100644 src/__tests__/mockserver/internal/sdk/models/operations/testdrain.go create mode 100644 src/__tests__/mockserver/internal/sdk/models/operations/transferindomain.go create mode 100644 src/__tests__/mockserver/internal/sdk/models/operations/unlinksharedenvvariable.go create mode 100644 src/__tests__/mockserver/internal/sdk/models/operations/updatedomainautorenew.go create mode 100644 src/__tests__/mockserver/internal/sdk/models/operations/updatedomainnameservers.go create mode 100644 src/__tests__/mockserver/internal/sdk/models/operations/updatedrain.go create mode 100644 src/__tests__/mockserver/internal/sdk/models/operations/updateinstallation.go create mode 100644 src/__tests__/mockserver/internal/sdk/models/operations/updateresource.go create mode 100644 src/__tests__/mockserver/internal/sdk/models/operations/updatesharedenvvariable.go create mode 100644 src/__tests__/mockserver/internal/sdk/models/operations/updatestaticips.go create mode 100644 src/__tests__/mockserver/internal/sdk/models/operations/uploadprojectclientcert.go create mode 100644 src/__tests__/mockserver/internal/sdk/models/sdkerrors/buydomains.go create mode 100644 src/__tests__/mockserver/internal/sdk/models/sdkerrors/buysingledomain.go create mode 100644 src/__tests__/mockserver/internal/sdk/models/sdkerrors/forbiddenerror.go create mode 100644 src/__tests__/mockserver/internal/sdk/models/sdkerrors/getdomainauthcode.go create mode 100644 src/__tests__/mockserver/internal/sdk/models/sdkerrors/getdomaintransferin.go create mode 100644 src/__tests__/mockserver/internal/sdk/models/sdkerrors/getorder.go create mode 100644 src/__tests__/mockserver/internal/sdk/models/sdkerrors/internalservererror.go create mode 100644 src/__tests__/mockserver/internal/sdk/models/sdkerrors/notauthorizedforscopeerror.go create mode 100644 src/__tests__/mockserver/internal/sdk/models/sdkerrors/renewdomain.go create mode 100644 src/__tests__/mockserver/internal/sdk/models/sdkerrors/transferindomain.go create mode 100644 src/__tests__/mockserver/internal/sdk/models/sdkerrors/updatedomainautorenew.go create mode 100644 src/__tests__/mockserver/internal/sdk/models/sdkerrors/updatedomainnameservers.go create mode 100644 src/funcs/connectUpdateStaticIps.ts create mode 100644 src/funcs/domainsRegistrarBuyDomains.ts create mode 100644 src/funcs/domainsRegistrarBuySingleDomain.ts create mode 100644 src/funcs/domainsRegistrarGetBulkAvailability.ts create mode 100644 src/funcs/domainsRegistrarGetContactInfoSchema.ts create mode 100644 src/funcs/domainsRegistrarGetDomainAuthCode.ts create mode 100644 src/funcs/domainsRegistrarGetDomainAvailability.ts create mode 100644 src/funcs/domainsRegistrarGetDomainPrice.ts create mode 100644 src/funcs/domainsRegistrarGetDomainTransferIn.ts create mode 100644 src/funcs/domainsRegistrarGetOrder.ts create mode 100644 src/funcs/domainsRegistrarGetSupportedTlds.ts create mode 100644 src/funcs/domainsRegistrarGetTldPrice.ts create mode 100644 src/funcs/domainsRegistrarRenewDomain.ts create mode 100644 src/funcs/domainsRegistrarTransferInDomain.ts create mode 100644 src/funcs/domainsRegistrarUpdateDomainAutoRenew.ts create mode 100644 src/funcs/domainsRegistrarUpdateDomainNameservers.ts create mode 100644 src/funcs/drainsCreateDrain.ts create mode 100644 src/funcs/drainsDeleteDrain.ts create mode 100644 src/funcs/drainsGetDrain.ts create mode 100644 src/funcs/drainsGetDrains.ts create mode 100644 src/funcs/drainsTestDrain.ts create mode 100644 src/funcs/drainsUpdateDrain.ts create mode 100644 src/funcs/environmentCreateSharedEnvVariable.ts create mode 100644 src/funcs/environmentDeleteSharedEnvVariable.ts create mode 100644 src/funcs/environmentGetSharedEnvVar.ts create mode 100644 src/funcs/environmentListSharedEnvVariable.ts create mode 100644 src/funcs/environmentUnlinkSharedEnvVariable.ts create mode 100644 src/funcs/environmentUpdateSharedEnvVariable.ts create mode 100644 src/funcs/logDrainsCreateConfigurableLogDrain.ts create mode 100644 src/funcs/logDrainsDeleteConfigurableLogDrain.ts create mode 100644 src/funcs/logDrainsGetAllLogDrains.ts create mode 100644 src/funcs/logDrainsGetConfigurableLogDrain.ts create mode 100644 src/funcs/marketplaceUpdateInstallation.ts create mode 100644 src/funcs/marketplaceUpdateResource.ts create mode 100644 src/funcs/projectsDeleteProjectClientCert.ts create mode 100644 src/funcs/projectsGetProjectClientCerts.ts create mode 100644 src/funcs/projectsUploadProjectClientCert.ts create mode 100644 src/funcs/securityGetV1SecurityFirewallEvents.ts create mode 100644 src/mcp-server/tools/connectUpdateStaticIps.ts create mode 100644 src/mcp-server/tools/domainsRegistrarBuyDomains.ts create mode 100644 src/mcp-server/tools/domainsRegistrarBuySingleDomain.ts create mode 100644 src/mcp-server/tools/domainsRegistrarGetBulkAvailability.ts create mode 100644 src/mcp-server/tools/domainsRegistrarGetContactInfoSchema.ts create mode 100644 src/mcp-server/tools/domainsRegistrarGetDomainAuthCode.ts create mode 100644 src/mcp-server/tools/domainsRegistrarGetDomainAvailability.ts create mode 100644 src/mcp-server/tools/domainsRegistrarGetDomainPrice.ts create mode 100644 src/mcp-server/tools/domainsRegistrarGetDomainTransferIn.ts create mode 100644 src/mcp-server/tools/domainsRegistrarGetOrder.ts create mode 100644 src/mcp-server/tools/domainsRegistrarGetSupportedTlds.ts create mode 100644 src/mcp-server/tools/domainsRegistrarGetTldPrice.ts create mode 100644 src/mcp-server/tools/domainsRegistrarRenewDomain.ts create mode 100644 src/mcp-server/tools/domainsRegistrarTransferInDomain.ts create mode 100644 src/mcp-server/tools/domainsRegistrarUpdateDomainAutoRenew.ts create mode 100644 src/mcp-server/tools/domainsRegistrarUpdateDomainNameservers.ts create mode 100644 src/mcp-server/tools/drainsCreateDrain.ts create mode 100644 src/mcp-server/tools/drainsDeleteDrain.ts create mode 100644 src/mcp-server/tools/drainsGetDrain.ts create mode 100644 src/mcp-server/tools/drainsGetDrains.ts create mode 100644 src/mcp-server/tools/drainsTestDrain.ts create mode 100644 src/mcp-server/tools/drainsUpdateDrain.ts create mode 100644 src/mcp-server/tools/environmentCreateSharedEnvVariable.ts create mode 100644 src/mcp-server/tools/environmentDeleteSharedEnvVariable.ts create mode 100644 src/mcp-server/tools/environmentGetSharedEnvVar.ts create mode 100644 src/mcp-server/tools/environmentListSharedEnvVariable.ts create mode 100644 src/mcp-server/tools/environmentUnlinkSharedEnvVariable.ts create mode 100644 src/mcp-server/tools/environmentUpdateSharedEnvVariable.ts create mode 100644 src/mcp-server/tools/logDrainsCreateConfigurableLogDrain.ts create mode 100644 src/mcp-server/tools/logDrainsDeleteConfigurableLogDrain.ts create mode 100644 src/mcp-server/tools/logDrainsGetAllLogDrains.ts create mode 100644 src/mcp-server/tools/logDrainsGetConfigurableLogDrain.ts create mode 100644 src/mcp-server/tools/marketplaceUpdateInstallation.ts create mode 100644 src/mcp-server/tools/marketplaceUpdateResource.ts create mode 100644 src/mcp-server/tools/projectsDeleteProjectClientCert.ts create mode 100644 src/mcp-server/tools/projectsGetProjectClientCerts.ts create mode 100644 src/mcp-server/tools/projectsUploadProjectClientCert.ts create mode 100644 src/mcp-server/tools/securityGetV1SecurityFirewallEvents.ts create mode 100644 src/models/buydomainsop.ts create mode 100644 src/models/buysingledomainop.ts create mode 100644 src/models/createconfigurablelogdrainop.ts create mode 100644 src/models/createdrainop.ts create mode 100644 src/models/createsharedenvvariableop.ts create mode 100644 src/models/deleteconfigurablelogdrainop.ts create mode 100644 src/models/deletedrainop.ts create mode 100644 src/models/deleteprojectclientcertop.ts create mode 100644 src/models/deletesharedenvvariableop.ts create mode 100644 src/models/forbidden.ts create mode 100644 src/models/getalllogdrainsop.ts create mode 100644 src/models/getbulkavailabilityop.ts create mode 100644 src/models/getconfigurablelogdrainop.ts create mode 100644 src/models/getcontactinfoschemaop.ts create mode 100644 src/models/getdomainauthcodeop.ts create mode 100644 src/models/getdomainavailabilityop.ts create mode 100644 src/models/getdomainpriceop.ts create mode 100644 src/models/getdomaintransferinop.ts create mode 100644 src/models/getdrainop.ts create mode 100644 src/models/getdrainsop.ts create mode 100644 src/models/getorderop.ts create mode 100644 src/models/getprojectclientcertsop.ts create mode 100644 src/models/getsharedenvvarop.ts create mode 100644 src/models/getsupportedtldsop.ts create mode 100644 src/models/gettldpriceop.ts create mode 100644 src/models/getv1securityfirewalleventsop.ts create mode 100644 src/models/internalservererror.ts create mode 100644 src/models/invitedteammember.ts create mode 100644 src/models/listsharedenvvariableop.ts create mode 100644 src/models/notauthorizedforscope.ts create mode 100644 src/models/renewdomainop.ts create mode 100644 src/models/testdrainop.ts create mode 100644 src/models/transferindomainop.ts create mode 100644 src/models/unlinksharedenvvariableop.ts create mode 100644 src/models/updatedomainautorenewop.ts create mode 100644 src/models/updatedomainnameserversop.ts create mode 100644 src/models/updatedrainop.ts create mode 100644 src/models/updateinstallationop.ts create mode 100644 src/models/updateresourceop.ts create mode 100644 src/models/updatesharedenvvariableop.ts create mode 100644 src/models/updatestaticipsop.ts create mode 100644 src/models/uploadprojectclientcertop.ts create mode 100644 src/sdk/connect.ts create mode 100644 src/sdk/domainsregistrar.ts create mode 100644 src/sdk/drains.ts create mode 100644 src/sdk/staticips.ts diff --git a/.devcontainer/README.md b/.devcontainer/README.md index fb4c3e32e..59693be08 100644 --- a/.devcontainer/README.md +++ b/.devcontainer/README.md @@ -1,6 +1,6 @@
- +

diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index fabebf2af..884a832fd 100644 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,33 +1,34 @@ lockVersion: 2.0.0 id: 79567c4a-05f9-4d65-864d-dfe107aa4e9d management: - docChecksum: db0895b481283c0409914b22938ec60a + docChecksum: 18e0d4fb460cab0c407d05242ce8c9fd docVersion: 0.0.1 - speakeasyVersion: 1.634.1 - generationVersion: 2.721.0 - releaseVersion: 1.12.1 - configChecksum: 9a841355cf5537c1c8a0bc9cd384ad96 - repoURL: https://github.com/vercel/sdk.git - installationURL: https://github.com/vercel/sdk + speakeasyVersion: 1.653.2 + generationVersion: 2.748.4 + releaseVersion: 1.13.0 + configChecksum: 7463b0b4f2434104af7a88035b697ef9 + repoURL: https://github.com/speakeasy-sdks/vercel-typescript.git + installationURL: https://github.com/speakeasy-sdks/vercel-typescript published: true features: typescript: acceptHeaders: 2.81.2 additionalDependencies: 0.1.0 - additionalProperties: 0.1.1 + additionalProperties: 0.1.2 constsAndDefaults: 0.1.12 - core: 3.21.26 + core: 3.26.4 defaultEnabledRetries: 0.1.0 deprecations: 2.81.1 devContainers: 2.90.1 downloadStreams: 0.1.1 enumUnions: 0.1.0 envVarSecurityUsage: 0.1.2 + errorUnions: 0.1.1 examples: 2.82.3 globalSecurity: 2.82.14 globalSecurityCallbacks: 0.1.0 globalSecurityFlattening: 0.1.0 - globalServerURLs: 2.82.5 + globalServerURLs: 2.83.0 mcpServer: 0.9.3 mockServer: 0.1.1 nameOverrides: 2.81.2 @@ -50,6 +51,7 @@ generatedFiles: - docs/lib/utils/retryconfig.md - docs/models/abuse.md - docs/models/acceptedchallenges.md + - docs/models/acceptedpermissionsets.md - docs/models/acceptedpolicies.md - docs/models/acceptprojecttransferrequestrequest.md - docs/models/acceptprojecttransferrequestrequestbody.md @@ -78,6 +80,7 @@ generatedFiles: - docs/models/addbypassipresponsebody1.md - docs/models/addbypassipresponsebody2.md - docs/models/addbypassipresponsebodyresult.md + - docs/models/additional.md - docs/models/addprojectdomainredirectstatuscode.md - docs/models/addprojectdomainrequest.md - docs/models/addprojectdomainrequestbody.md @@ -94,6 +97,7 @@ generatedFiles: - docs/models/addresses.md - docs/models/advancementtype.md - docs/models/affectedhostmap.md + - docs/models/after.md - docs/models/ai.md - docs/models/aibots.md - docs/models/algo.md @@ -106,6 +110,7 @@ generatedFiles: - docs/models/analyticsusage.md - docs/models/anomalies.md - docs/models/anomalyalerts.md + - docs/models/app.md - docs/models/applications.md - docs/models/applications1.md - docs/models/applications2.md @@ -136,8 +141,8 @@ generatedFiles: - docs/models/assignaliasrequest.md - docs/models/assignaliasrequestbody.md - docs/models/assignaliasresponsebody.md - - docs/models/atbrandat543472.md - - docs/models/atbrandat8486.md + - docs/models/atbrandat649501.md + - docs/models/atbrandat8795.md - docs/models/attribution.md - docs/models/authentication.md - docs/models/authmethod.md @@ -147,6 +152,7 @@ generatedFiles: - docs/models/authtokenscopestype.md - docs/models/authuser.md - docs/models/authuserbuildentitlements.md + - docs/models/authuserconfiguration.md - docs/models/authuserlimited.md - docs/models/authuserremotecaching.md - docs/models/authuserresourceconfig.md @@ -160,6 +166,7 @@ generatedFiles: - docs/models/batchremoveprojectenvrequest.md - docs/models/batchremoveprojectenvrequestbody.md - docs/models/batchremoveprojectenvresponsebody.md + - docs/models/before.md - docs/models/billing.md - docs/models/billing1.md - docs/models/billing2.md @@ -193,6 +200,7 @@ generatedFiles: - docs/models/buildentitlements.md - docs/models/buildmachine.md - docs/models/buildmachinetype.md + - docs/models/buildqueue.md - docs/models/builds.md - docs/models/buydomaindomain.md - docs/models/buydomaindomainsdomain.md @@ -201,6 +209,19 @@ generatedFiles: - docs/models/buydomainrequestbody.md - docs/models/buydomainresponse.md - docs/models/buydomainresponsebody.md + - docs/models/buydomainsadditional.md + - docs/models/buydomainscontactinformation.md + - docs/models/buydomainsdomainsregistrarresponsebody.md + - docs/models/buydomainslinks.md + - docs/models/buydomainsmethod.md + - docs/models/buydomainsrequest.md + - docs/models/buydomainsrequestbody.md + - docs/models/buydomainsresponsebody.md + - docs/models/buysingledomaindomainsregistrarresponsebody.md + - docs/models/buysingledomainmethod.md + - docs/models/buysingledomainrequest.md + - docs/models/buysingledomainrequestbody.md + - docs/models/buysingledomainresponsebody.md - docs/models/canarydeployment.md - docs/models/canceldeploymentaliasassignedat.md - docs/models/canceldeploymentaliaserror.md @@ -345,7 +366,10 @@ generatedFiles: - docs/models/checksconclusion.md - docs/models/checksstate.md - docs/models/city.md + - docs/models/clientauthenticationused.md + - docs/models/clientcerts.md - docs/models/cls.md + - docs/models/code.md - docs/models/completerollingreleaseactivestage.md - docs/models/completerollingreleaseadvancementtype.md - docs/models/completerollingreleasecanarydeployment.md @@ -363,6 +387,7 @@ generatedFiles: - docs/models/completerollingreleasestages.md - docs/models/completerollingreleasestate.md - docs/models/completerollingreleasetarget.md + - docs/models/compression.md - docs/models/computedprojectrole.md - docs/models/conclusion.md - docs/models/conditiongroup.md @@ -380,6 +405,7 @@ generatedFiles: - docs/models/connectintegrationresourcetoprojectrequestbody.md - docs/models/connection.md - docs/models/contact.md + - docs/models/contactinformation.md - docs/models/contentdispositiontype.md - docs/models/contenthint.md - docs/models/contenthint1.md @@ -430,6 +456,9 @@ generatedFiles: - docs/models/createcheckstatus.md - docs/models/createchecktbt.md - docs/models/createcheckvirtualexperiencescore.md + - docs/models/createconfigurablelogdrainrequest.md + - docs/models/createconfigurablelogdrainrequestbody.md + - docs/models/createconfigurablelogdrainresponsebody.md - docs/models/createcustomenvironmentbranchmatcher.md - docs/models/createcustomenvironmentdomains.md - docs/models/createcustomenvironmentenvironmentresponsetype.md @@ -514,6 +543,7 @@ generatedFiles: - docs/models/createdeploymentrequestbody.md - docs/models/createdeploymentresponsebody.md - docs/models/createdeploymentroutesop.md + - docs/models/createdeploymentroutestransforms.md - docs/models/createdeployments.md - docs/models/createdeploymentsource.md - docs/models/createdeploymentspeedinsights.md @@ -531,6 +561,87 @@ generatedFiles: - docs/models/createdeploymentwebanalytics.md - docs/models/createdfrom.md - docs/models/createdinternalcontenthint.md + - docs/models/createdraindelivery1.md + - docs/models/createdraindelivery2.md + - docs/models/createdraindelivery3.md + - docs/models/createdraindelivery4.md + - docs/models/createdraindeliverycompression.md + - docs/models/createdraindeliverydrains1.md + - docs/models/createdraindeliverydrains2.md + - docs/models/createdraindeliverydrainscompression.md + - docs/models/createdraindeliverydrainsencoding.md + - docs/models/createdraindeliverydrainsendpoint.md + - docs/models/createdraindeliverydrainsresponse200applicationjsonencoding.md + - docs/models/createdraindeliverydrainsresponse200applicationjsonresponsebody2type.md + - docs/models/createdraindeliverydrainsresponse200applicationjsonresponsebodytype.md + - docs/models/createdraindeliverydrainsresponse200applicationjsontype.md + - docs/models/createdraindeliverydrainsresponse200encoding.md + - docs/models/createdraindeliverydrainsresponse200type.md + - docs/models/createdraindeliverydrainsresponseencoding.md + - docs/models/createdraindeliverydrainsresponsetype.md + - docs/models/createdraindeliverydrainstype.md + - docs/models/createdraindeliveryencoding.md + - docs/models/createdraindeliveryendpoint.md + - docs/models/createdraindeliverytarget.md + - docs/models/createdraindeliverytype.md + - docs/models/createdrainfilter1.md + - docs/models/createdrainfilter2.md + - docs/models/createdrainfilterdeployment.md + - docs/models/createdrainfilterdrains1.md + - docs/models/createdrainfilterdrains2.md + - docs/models/createdrainfilterdrainsdeployment.md + - docs/models/createdrainfilterdrainsenvironments.md + - docs/models/createdrainfilterdrainslog.md + - docs/models/createdrainfilterdrainsproject.md + - docs/models/createdrainfilterdrainsresponse2.md + - docs/models/createdrainfilterdrainsresponsedeployment.md + - docs/models/createdrainfilterdrainsresponseproject.md + - docs/models/createdrainfilterdrainsresponsetype.md + - docs/models/createdrainfilterdrainssources.md + - docs/models/createdrainfilterdrainstype.md + - docs/models/createdrainfilterenvironments.md + - docs/models/createdrainfilterlog.md + - docs/models/createdrainfilterproject.md + - docs/models/createdrainfiltersources.md + - docs/models/createdrainfiltertype.md + - docs/models/createdrainfilterv21.md + - docs/models/createdrainfilterv22.md + - docs/models/createdrainfilterv2drainsresponseversion.md + - docs/models/createdrainfilterv2drainsversion.md + - docs/models/createdrainfilterv2filter.md + - docs/models/createdrainfilterv2version.md + - docs/models/createdrainprojects.md + - docs/models/createdrainrequest.md + - docs/models/createdrainrequestbody.md + - docs/models/createdrainresponsebody.md + - docs/models/createdrainresponsebody1.md + - docs/models/createdrainresponsebody2.md + - docs/models/createdrainresponsebodyanalytics.md + - docs/models/createdrainresponsebodycreatedfrom.md + - docs/models/createdrainresponsebodydelivery.md + - docs/models/createdrainresponsebodydrainssource.md + - docs/models/createdrainresponsebodydrainsspeedinsights.md + - docs/models/createdrainresponsebodydrainsstatus.md + - docs/models/createdrainresponsebodydrainstype.md + - docs/models/createdrainresponsebodyenv.md + - docs/models/createdrainresponsebodyframework.md + - docs/models/createdrainresponsebodylog.md + - docs/models/createdrainresponsebodyprojectsmetadata.md + - docs/models/createdrainresponsebodysampling.md + - docs/models/createdrainresponsebodyschemas.md + - docs/models/createdrainresponsebodysource.md + - docs/models/createdrainresponsebodyspeedinsights.md + - docs/models/createdrainresponsebodystatus.md + - docs/models/createdrainresponsebodytype.md + - docs/models/createdrainsource.md + - docs/models/createdrainsource1.md + - docs/models/createdrainsource2.md + - docs/models/createdrainsourcedrains1.md + - docs/models/createdrainsourcedrains2.md + - docs/models/createdrainsourcedrainskind.md + - docs/models/createdrainsourcedrainsresponse200kind.md + - docs/models/createdrainsourcedrainsresponsekind.md + - docs/models/createdrainsourcekind.md - docs/models/createdtarget.md - docs/models/createdtype.md - docs/models/createedgeconfigpurpose.md @@ -576,6 +687,7 @@ generatedFiles: - docs/models/createintegrationstoredirecthiddenintegrationsresponse200applicationjson3.md - docs/models/createintegrationstoredirecthiddenintegrationsresponse3.md - docs/models/createintegrationstoredirecthighlighteddetails.md + - docs/models/createintegrationstoredirectintegrationsactions.md - docs/models/createintegrationstoredirectintegrationsenvironments.md - docs/models/createintegrationstoredirectintegrationsresponsetype.md - docs/models/createintegrationstoredirectintegrationstype.md @@ -584,6 +696,7 @@ generatedFiles: - docs/models/createintegrationstoredirectmetadataschema.md - docs/models/createintegrationstoredirectnotification.md - docs/models/createintegrationstoredirectownership.md + - docs/models/createintegrationstoredirectprojectsmetadata.md - docs/models/createintegrationstoredirectproperties.md - docs/models/createintegrationstoredirectproperties1.md - docs/models/createintegrationstoredirectproperties2.md @@ -594,31 +707,31 @@ generatedFiles: - docs/models/createintegrationstoredirectproperties7.md - docs/models/createintegrationstoredirectproperties8.md - docs/models/createintegrationstoredirectproperties9.md - - docs/models/createintegrationstoredirectpropertiesatbrandat8486.md + - docs/models/createintegrationstoredirectpropertiesatbrandat8795.md - docs/models/createintegrationstoredirectpropertiesdisabled.md - docs/models/createintegrationstoredirectpropertieshidden.md - - docs/models/createintegrationstoredirectpropertiesintegrationsatbrandat8486.md + - docs/models/createintegrationstoredirectpropertiesintegrationsatbrandat8795.md - docs/models/createintegrationstoredirectpropertiesintegrationsdisabled.md - docs/models/createintegrationstoredirectpropertiesintegrationshidden.md - docs/models/createintegrationstoredirectpropertiesintegrationsitems.md - docs/models/createintegrationstoredirectpropertiesintegrationsmaxlength.md - docs/models/createintegrationstoredirectpropertiesintegrationsminlength.md - docs/models/createintegrationstoredirectpropertiesintegrationspattern.md - - docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonatbrandat8486.md + - docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonatbrandat8795.md - docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonmaxlength.md - docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonminlength.md - docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonpattern.md - - docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodyatbrandat8486.md - - docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreatbrandat8486.md - - docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductatbrandat8486.md - - docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductmetadataschema1atbrandat8486.md - - docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductmetadataschema6atbrandat8486.md - - docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductmetadataschema6itemsatbrandat8486.md - - docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductmetadataschema6itemsmaxlengthatbrandat8486.md + - docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodyatbrandat8795.md + - docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreatbrandat8795.md + - docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductatbrandat8795.md + - docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductmetadataschema1atbrandat8795.md + - docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductmetadataschema6atbrandat8795.md + - docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductmetadataschema6itemsatbrandat8795.md + - docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductmetadataschema6itemsmaxlengthatbrandat8795.md - docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductmetadataschema6type.md - - docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductmetadataschema8atbrandat8486.md - - docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductmetadataschema9atbrandat8486.md - - docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductmetadataschemaatbrandat8486.md + - docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductmetadataschema8atbrandat8795.md + - docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductmetadataschema9atbrandat8795.md + - docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductmetadataschemaatbrandat8795.md - docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductmetadataschematype.md - docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproducttype.md - docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductuicontrol.md @@ -648,7 +761,7 @@ generatedFiles: - docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonuiformattedvalue.md - docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonuihidden.md - docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonuireadonly.md - - docs/models/createintegrationstoredirectpropertiesintegrationsresponse200atbrandat8486.md + - docs/models/createintegrationstoredirectpropertiesintegrationsresponse200atbrandat8795.md - docs/models/createintegrationstoredirectpropertiesintegrationsresponse200maxlength.md - docs/models/createintegrationstoredirectpropertiesintegrationsresponse200minlength.md - docs/models/createintegrationstoredirectpropertiesintegrationsresponse200pattern.md @@ -659,7 +772,7 @@ generatedFiles: - docs/models/createintegrationstoredirectpropertiesintegrationsresponse200uiformattedvalue.md - docs/models/createintegrationstoredirectpropertiesintegrationsresponse200uihidden.md - docs/models/createintegrationstoredirectpropertiesintegrationsresponse200uireadonly.md - - docs/models/createintegrationstoredirectpropertiesintegrationsresponseatbrandat8486.md + - docs/models/createintegrationstoredirectpropertiesintegrationsresponseatbrandat8795.md - docs/models/createintegrationstoredirectpropertiesintegrationsresponsedisabled.md - docs/models/createintegrationstoredirectpropertiesintegrationsresponsehidden.md - docs/models/createintegrationstoredirectpropertiesintegrationsresponsemaxlength.md @@ -748,7 +861,7 @@ generatedFiles: - docs/models/createintegrationstoredirectuioptions1.md - docs/models/createintegrationstoredirectuioptions2.md - docs/models/createintegrationstoredirectuioptions3.md - - docs/models/createintegrationstoredirectuioptionsatbrandat8486.md + - docs/models/createintegrationstoredirectuioptionsatbrandat8795.md - docs/models/createintegrationstoredirectuioptionsdisabled.md - docs/models/createintegrationstoredirectuioptionshidden.md - docs/models/createintegrationstoredirectuioptionsintegrationsdisabled.md @@ -774,6 +887,9 @@ generatedFiles: - docs/models/createlogdraincreatedfrom.md - docs/models/createlogdraindeliveryformat.md - docs/models/createlogdrainenvironments.md + - docs/models/createlogdrainlogdrainsdeliveryformat.md + - docs/models/createlogdrainlogdrainsenvironments.md + - docs/models/createlogdrainlogdrainssources.md - docs/models/createlogdrainrequest.md - docs/models/createlogdrainrequestbody.md - docs/models/createlogdrainresponsebody.md @@ -859,6 +975,7 @@ generatedFiles: - docs/models/createprojectdefinitions.md - docs/models/createprojectdeploymentexpiration.md - docs/models/createprojectdeploymenttype.md + - docs/models/createprojectdismissedtoasts.md - docs/models/createprojectdomains.md - docs/models/createprojectenv.md - docs/models/createprojectenv11.md @@ -927,6 +1044,7 @@ generatedFiles: - docs/models/createprojectenvcontenthintprojectsresponsetype.md - docs/models/createprojectenvcontenthintprojectstype.md - docs/models/createprojectenvcontenthinttype.md + - docs/models/createprojectenvcreated.md - docs/models/createprojectenvcreatedcontenthint.md - docs/models/createprojectenvcreatedinternalcontenthint.md - docs/models/createprojectenvcreatedprojectsresponsetype.md @@ -934,6 +1052,7 @@ generatedFiles: - docs/models/createprojectenvcreatedtarget.md - docs/models/createprojectenvcreatedtype.md - docs/models/createprojectenverror.md + - docs/models/createprojectenvfailed.md - docs/models/createprojectenvid.md - docs/models/createprojectenvid2.md - docs/models/createprojectenvrequest.md @@ -948,6 +1067,7 @@ generatedFiles: - docs/models/createprojectenvtargetprojects2.md - docs/models/createprojectenvtargetprojectsresponse2.md - docs/models/createprojectenvvalue.md + - docs/models/createprojectenvvalue2.md - docs/models/createprojectfeatures.md - docs/models/createprojectframework.md - docs/models/createprojectfunctiondefaultmemorytype.md @@ -1005,6 +1125,7 @@ generatedFiles: - docs/models/createprojectmicrofrontends.md - docs/models/createprojectmicrofrontends1.md - docs/models/createprojectmicrofrontends2.md + - docs/models/createprojectmicrofrontends3.md - docs/models/createprojectnodeversion.md - docs/models/createprojectoidctokenclaims.md - docs/models/createprojectoidctokenconfig.md @@ -1032,6 +1153,7 @@ generatedFiles: - docs/models/createprojectprojectsreadysubstate.md - docs/models/createprojectprojectsresourceconfig.md - docs/models/createprojectprojectsresponse200action.md + - docs/models/createprojectprojectsresponse200applicationjsonaction.md - docs/models/createprojectprojectsresponse200applicationjsonresponsebodycustomenvironmentstype.md - docs/models/createprojectprojectsresponse200applicationjsonresponsebodyenvtype.md - docs/models/createprojectprojectsresponse200applicationjsonresponsebodylastaliasrequesttype.md @@ -1073,6 +1195,7 @@ generatedFiles: - docs/models/createprojectspeedinsights.md - docs/models/createprojectssoprotection.md - docs/models/createprojectstages.md + - docs/models/createprojectstaticips.md - docs/models/createprojecttarget.md - docs/models/createprojecttarget1.md - docs/models/createprojecttarget2.md @@ -1087,6 +1210,8 @@ generatedFiles: - docs/models/createprojecttrustedipsdeploymenttype.md - docs/models/createprojecttrustedipsprojectsdeploymenttype.md - docs/models/createprojecttype.md + - docs/models/createprojectvalue.md + - docs/models/createprojectvalue4.md - docs/models/createprojectverification.md - docs/models/createprojectwebanalytics.md - docs/models/createrecordrequest.md @@ -1103,6 +1228,21 @@ generatedFiles: - docs/models/createrecordresponsebody.md - docs/models/createrecordresponsebody1.md - docs/models/createrecordresponsebody2.md + - docs/models/createsharedenvvariableenvironmenttarget.md + - docs/models/createsharedenvvariableerror.md + - docs/models/createsharedenvvariablerequest.md + - docs/models/createsharedenvvariablerequestbody.md + - docs/models/createsharedenvvariablerequestbody1.md + - docs/models/createsharedenvvariablerequestbody2.md + - docs/models/createsharedenvvariablerequestbodyenvironmenttype.md + - docs/models/createsharedenvvariablerequestbodytarget.md + - docs/models/createsharedenvvariablerequestbodytype.md + - docs/models/createsharedenvvariableresponsebody.md + - docs/models/createsharedenvvariabletarget.md + - docs/models/createsharedenvvariabletarget1.md + - docs/models/createsharedenvvariabletarget2.md + - docs/models/createsharedenvvariabletype.md + - docs/models/createsharedenvvariablevalue.md - docs/models/createteamrequestbody.md - docs/models/createteamresponsebody.md - docs/models/createwebhookevents.md @@ -1117,6 +1257,7 @@ generatedFiles: - docs/models/crons.md - docs/models/crs.md - docs/models/currentdeployment.md + - docs/models/currentvalue.md - docs/models/customenvironment.md - docs/models/customenvironment1.md - docs/models/customenvironment2.md @@ -1129,6 +1270,7 @@ generatedFiles: - docs/models/dangerouslydeletebytagsrequestbody.md - docs/models/dangerouslydeletebytagstags.md - docs/models/dangerouslydeletebytagstarget.md + - docs/models/data.md - docs/models/datacache.md - docs/models/datacacheread.md - docs/models/datacachewrite.md @@ -1149,12 +1291,14 @@ generatedFiles: - 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/deletedrainrequest.md - docs/models/deleteduser.md - docs/models/deleteedgeconfigrequest.md - docs/models/deleteedgeconfigschemarequest.md @@ -1162,9 +1306,21 @@ generatedFiles: - docs/models/deleteedgeconfigtokensrequestbody.md - docs/models/deleteintegrationlogdrainrequest.md - docs/models/deleteintegrationresourcerequest.md + - docs/models/deleteprojectclientcertrequest.md + - docs/models/deleteprojectclientcertresponsebody.md - docs/models/deleteprojectrequest.md - docs/models/deleterollingreleaseconfigrequest.md - docs/models/deleterollingreleaseconfigresponsebody.md + - docs/models/deletesharedenvvariableerror.md + - docs/models/deletesharedenvvariablefailed.md + - docs/models/deletesharedenvvariablerequest.md + - docs/models/deletesharedenvvariablerequestbody.md + - docs/models/deletesharedenvvariableresponsebody.md + - docs/models/deletesharedenvvariabletarget.md + - docs/models/deletesharedenvvariabletarget1.md + - docs/models/deletesharedenvvariabletarget2.md + - docs/models/deletesharedenvvariablevalue.md + - docs/models/deletesharedenvvariablevalue2.md - docs/models/deleteteaminvitecoderequest.md - docs/models/deleteteaminvitecoderesponsebody.md - docs/models/deleteteamreasons.md @@ -1173,7 +1329,17 @@ generatedFiles: - docs/models/deleteteamresponsebody.md - docs/models/deletev1installationsintegrationconfigurationidresourcesresourceidexperimentationitemsitemidrequest.md - docs/models/deletewebhookrequest.md + - docs/models/delivery.md + - docs/models/delivery1.md + - docs/models/delivery2.md + - docs/models/delivery3.md + - docs/models/delivery4.md + - docs/models/deliverycompression.md + - docs/models/deliveryencoding.md + - docs/models/deliveryendpoint.md - docs/models/deliveryformat.md + - docs/models/deliverytarget.md + - docs/models/deliverytype.md - docs/models/deployhook.md - docs/models/deployhooks.md - docs/models/deployment.md @@ -1195,7 +1361,32 @@ generatedFiles: - docs/models/dismissedtoasts.md - docs/models/domain.md - docs/models/domains.md + - docs/models/domains1.md + - docs/models/domains2.md + - docs/models/domains3.md + - docs/models/domainserror.md + - docs/models/domainspurchasetype.md + - docs/models/domainsstatus.md - docs/models/downloadartifactrequest.md + - docs/models/drains.md + - docs/models/drains1.md + - docs/models/drains2.md + - docs/models/drainsanalytics.md + - docs/models/drainscreatedfrom.md + - docs/models/drainsdelivery.md + - docs/models/drainsdisabledreason.md + - docs/models/drainsenv.md + - docs/models/drainsfilterv2.md + - docs/models/drainsframework.md + - docs/models/drainslog.md + - docs/models/drainsprojectsmetadata.md + - docs/models/drainssampling.md + - docs/models/drainsschemas.md + - docs/models/drainssource.md + - docs/models/drainsspeedinsights.md + - docs/models/drainsstatus.md + - docs/models/drainstrace.md + - docs/models/drainstype.md - docs/models/edgeconfigitem.md - docs/models/edgeconfigitemvalue.md - docs/models/edgeconfigread.md @@ -1268,6 +1459,8 @@ generatedFiles: - docs/models/enablepreviewfeedback.md - docs/models/enableproductionfeedback.md - docs/models/encoding.md + - docs/models/endpoint.md + - docs/models/endpoint1.md - docs/models/entities.md - docs/models/entitlements.md - docs/models/env.md @@ -1278,12 +1471,15 @@ generatedFiles: - docs/models/environmentvariables.md - docs/models/envs.md - docs/models/eq.md + - docs/models/error1.md + - docs/models/error2.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/evs.md - docs/models/example.md - docs/models/exchangessotokengranttype.md - docs/models/exchangessotokenrequestbody.md @@ -1316,6 +1512,14 @@ generatedFiles: - docs/models/fiftytwo.md - docs/models/files.md - docs/models/filetree.md + - docs/models/filter.md + - docs/models/filter1.md + - docs/models/filter2.md + - docs/models/filterdeployment.md + - docs/models/filterenvironments.md + - docs/models/filterfilter.md + - docs/models/filterlog.md + - docs/models/filterproject.md - docs/models/filterprojectenvscontenthint1.md - docs/models/filterprojectenvscontenthint10.md - docs/models/filterprojectenvscontenthint11.md @@ -1430,6 +1634,13 @@ generatedFiles: - docs/models/filterprojectenvstargetprojects2.md - docs/models/filterprojectenvstargetprojectsresponse1.md - docs/models/filterprojectenvstargetprojectsresponse2.md + - docs/models/filtersources.md + - docs/models/filtertype.md + - docs/models/filterv2.md + - docs/models/filterv21.md + - docs/models/filterv22.md + - docs/models/filterv2filter.md + - docs/models/filterv2version.md - docs/models/five.md - docs/models/flagjsonvalue.md - docs/models/flags.md @@ -1439,6 +1650,8 @@ generatedFiles: - docs/models/flagsoptions.md - docs/models/fluidcpuduration.md - docs/models/fluidduration.md + - docs/models/forbidden.md + - docs/models/forbiddencode.md - docs/models/forcenew.md - docs/models/format.md - docs/models/formats.md @@ -1498,6 +1711,105 @@ generatedFiles: - docs/models/getallchecksstatus.md - docs/models/getallcheckstbt.md - docs/models/getallchecksvirtualexperiencescore.md + - docs/models/getalllogdrainsdelivery1.md + - docs/models/getalllogdrainsdelivery2.md + - docs/models/getalllogdrainsdelivery3.md + - docs/models/getalllogdrainsdelivery4.md + - docs/models/getalllogdrainsdeliverycompression.md + - docs/models/getalllogdrainsdeliveryencoding.md + - docs/models/getalllogdrainsdeliveryendpoint.md + - docs/models/getalllogdrainsdeliverylogdrains1.md + - docs/models/getalllogdrainsdeliverylogdrains2.md + - docs/models/getalllogdrainsdeliverylogdrains3.md + - docs/models/getalllogdrainsdeliverylogdrains4.md + - docs/models/getalllogdrainsdeliverylogdrainscompression.md + - docs/models/getalllogdrainsdeliverylogdrainsencoding.md + - docs/models/getalllogdrainsdeliverylogdrainsendpoint.md + - docs/models/getalllogdrainsdeliverylogdrainsresponse200applicationjsonresponsebody1drainstype.md + - docs/models/getalllogdrainsdeliverylogdrainsresponse200applicationjsonresponsebody1type.md + - docs/models/getalllogdrainsdeliverylogdrainsresponse200applicationjsonresponsebodytype.md + - docs/models/getalllogdrainsdeliverylogdrainsresponse200applicationjsontype.md + - docs/models/getalllogdrainsdeliverylogdrainsresponse200encoding.md + - docs/models/getalllogdrainsdeliverylogdrainsresponse200type.md + - docs/models/getalllogdrainsdeliverylogdrainsresponseencoding.md + - docs/models/getalllogdrainsdeliverylogdrainsresponsetype.md + - docs/models/getalllogdrainsdeliverylogdrainstarget.md + - docs/models/getalllogdrainsdeliverylogdrainstype.md + - docs/models/getalllogdrainsdeliverytarget.md + - docs/models/getalllogdrainsdeliverytype.md + - docs/models/getalllogdrainsdrains1.md + - docs/models/getalllogdrainsdrains2.md + - docs/models/getalllogdrainsdrainsanalytics.md + - docs/models/getalllogdrainsdrainscreatedfrom.md + - docs/models/getalllogdrainsdrainsdelivery.md + - docs/models/getalllogdrainsdrainsdisabledreason.md + - docs/models/getalllogdrainsdrainsenv.md + - docs/models/getalllogdrainsdrainsfilterv2.md + - docs/models/getalllogdrainsdrainsframework.md + - docs/models/getalllogdrainsdrainslog.md + - docs/models/getalllogdrainsdrainslogdrainsanalytics.md + - docs/models/getalllogdrainsdrainslogdrainscreatedfrom.md + - docs/models/getalllogdrainsdrainslogdrainsdelivery.md + - docs/models/getalllogdrainsdrainslogdrainsdisabledreason.md + - docs/models/getalllogdrainsdrainslogdrainsenv.md + - docs/models/getalllogdrainsdrainslogdrainsfilterv2.md + - docs/models/getalllogdrainsdrainslogdrainslog.md + - docs/models/getalllogdrainsdrainslogdrainssampling.md + - docs/models/getalllogdrainsdrainslogdrainsschemas.md + - docs/models/getalllogdrainsdrainslogdrainssource.md + - docs/models/getalllogdrainsdrainslogdrainsspeedinsights.md + - docs/models/getalllogdrainsdrainslogdrainsstatus.md + - docs/models/getalllogdrainsdrainslogdrainstrace.md + - docs/models/getalllogdrainsdrainslogdrainstype.md + - docs/models/getalllogdrainsdrainsprojectsmetadata.md + - docs/models/getalllogdrainsdrainssampling.md + - docs/models/getalllogdrainsdrainsschemas.md + - docs/models/getalllogdrainsdrainssource.md + - docs/models/getalllogdrainsdrainsspeedinsights.md + - docs/models/getalllogdrainsdrainsstatus.md + - docs/models/getalllogdrainsdrainstrace.md + - docs/models/getalllogdrainsdrainstype.md + - docs/models/getalllogdrainsfilter1.md + - docs/models/getalllogdrainsfilter2.md + - docs/models/getalllogdrainsfilterdeployment.md + - docs/models/getalllogdrainsfilterenvironments.md + - docs/models/getalllogdrainsfilterlog.md + - docs/models/getalllogdrainsfilterlogdrains1.md + - docs/models/getalllogdrainsfilterlogdrains2.md + - docs/models/getalllogdrainsfilterlogdrainsdeployment.md + - docs/models/getalllogdrainsfilterlogdrainsenvironments.md + - docs/models/getalllogdrainsfilterlogdrainslog.md + - docs/models/getalllogdrainsfilterlogdrainsproject.md + - docs/models/getalllogdrainsfilterlogdrainsresponse200type.md + - docs/models/getalllogdrainsfilterlogdrainsresponsetype.md + - docs/models/getalllogdrainsfilterlogdrainssources.md + - docs/models/getalllogdrainsfilterlogdrainstype.md + - docs/models/getalllogdrainsfilterproject.md + - docs/models/getalllogdrainsfiltersources.md + - docs/models/getalllogdrainsfiltertype.md + - docs/models/getalllogdrainsfilterv21.md + - docs/models/getalllogdrainsfilterv22.md + - docs/models/getalllogdrainsfilterv2filter.md + - docs/models/getalllogdrainsfilterv2logdrains1.md + - docs/models/getalllogdrainsfilterv2logdrains2.md + - docs/models/getalllogdrainsfilterv2logdrainsfilter.md + - docs/models/getalllogdrainsfilterv2logdrainsresponse200version.md + - docs/models/getalllogdrainsfilterv2logdrainsresponseversion.md + - docs/models/getalllogdrainsfilterv2logdrainsversion.md + - docs/models/getalllogdrainsfilterv2version.md + - docs/models/getalllogdrainsrequest.md + - docs/models/getalllogdrainsresponsebody.md + - docs/models/getalllogdrainsresponsebody1.md + - docs/models/getalllogdrainsresponsebody2.md + - docs/models/getalllogdrainsresponsebodyframework.md + - docs/models/getalllogdrainssource1.md + - docs/models/getalllogdrainssource2.md + - docs/models/getalllogdrainssourcekind.md + - docs/models/getalllogdrainssourcelogdrains1.md + - docs/models/getalllogdrainssourcelogdrains2.md + - docs/models/getalllogdrainssourcelogdrainskind.md + - docs/models/getalllogdrainssourcelogdrainsresponse200kind.md + - docs/models/getalllogdrainssourcelogdrainsresponsekind.md - docs/models/getauthtokenrequest.md - docs/models/getauthtokenresponsebody.md - docs/models/getauthuserresponsebody.md @@ -1508,6 +1820,9 @@ generatedFiles: - docs/models/getbillingplansresponsebody.md - docs/models/getbillingplansscope.md - docs/models/getbillingplanstype.md + - docs/models/getbulkavailabilityrequest.md + - docs/models/getbulkavailabilityrequestbody.md + - docs/models/getbulkavailabilityresponsebody.md - docs/models/getbypassipaction.md - docs/models/getbypassippagination.md - docs/models/getbypassiprequest.md @@ -1531,6 +1846,9 @@ generatedFiles: - docs/models/getcheckstatus.md - docs/models/getchecktbt.md - docs/models/getcheckvirtualexperiencescore.md + - docs/models/getconfigurablelogdrainframework.md + - docs/models/getconfigurablelogdrainrequest.md + - docs/models/getconfigurablelogdrainresponsebody.md - docs/models/getconfigurationproductschecks.md - docs/models/getconfigurationproductsconfiguration.md - docs/models/getconfigurationproductsdisabled2.md @@ -1574,34 +1892,34 @@ generatedFiles: - docs/models/getconfigurationproductsintegrationsresponse200status.md - docs/models/getconfigurationproductsintegrationsresponsestatus.md - docs/models/getconfigurationproductsintegrationsstatus.md - - docs/models/getconfigurationproductspropertiesatbrandat543472.md + - docs/models/getconfigurationproductspropertiesatbrandat649501.md - docs/models/getconfigurationproductspropertiesdisabled.md - docs/models/getconfigurationproductspropertieshidden.md - - docs/models/getconfigurationproductspropertiesintegrationsatbrandat543472.md + - docs/models/getconfigurationproductspropertiesintegrationsatbrandat649501.md - docs/models/getconfigurationproductspropertiesintegrationsdisabled.md - docs/models/getconfigurationproductspropertiesintegrationshidden.md - docs/models/getconfigurationproductspropertiesintegrationsitems.md - docs/models/getconfigurationproductspropertiesintegrationsmaxlength.md - docs/models/getconfigurationproductspropertiesintegrationsminlength.md - docs/models/getconfigurationproductspropertiesintegrationspattern.md - - docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonatbrandat543472.md - - docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyatbrandat543472.md - - docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsatbrandat543472.md - - docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema10atbrandat543472.md + - docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonatbrandat649501.md + - docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyatbrandat649501.md + - docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsatbrandat649501.md + - docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema10atbrandat649501.md - docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema4type.md - - docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema6atbrandat543472.md - - docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema6itemsatbrandat543472.md - - docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema6itemsminlengthatbrandat543472.md + - docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema6atbrandat649501.md + - docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema6itemsatbrandat649501.md + - docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema6itemsminlengthatbrandat649501.md - docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema6type.md - - docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema8atbrandat543472.md - - docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema8itemsatbrandat543472.md - - docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema8itemsminlengthatbrandat543472.md - - docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema8itemspatternatbrandat543472.md + - docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema8atbrandat649501.md + - docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema8itemsatbrandat649501.md + - docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema8itemsminlengthatbrandat649501.md + - docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema8itemspatternatbrandat649501.md - docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema8type.md - - docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema9atbrandat543472.md - - docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema9maxlengthatbrandat543472.md - - docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema9patternatbrandat543472.md - - docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschemaatbrandat543472.md + - docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema9atbrandat649501.md + - docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema9maxlengthatbrandat649501.md + - docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema9patternatbrandat649501.md + - docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschemaatbrandat649501.md - docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschematype.md - docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductstype.md - docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsuicontrol.md @@ -1624,7 +1942,7 @@ generatedFiles: - docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonuiformattedvalue.md - docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonuihidden.md - docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonuireadonly.md - - docs/models/getconfigurationproductspropertiesintegrationsresponse200atbrandat543472.md + - docs/models/getconfigurationproductspropertiesintegrationsresponse200atbrandat649501.md - docs/models/getconfigurationproductspropertiesintegrationsresponse200maxlength.md - docs/models/getconfigurationproductspropertiesintegrationsresponse200minlength.md - docs/models/getconfigurationproductspropertiesintegrationsresponse200pattern.md @@ -1635,7 +1953,7 @@ generatedFiles: - docs/models/getconfigurationproductspropertiesintegrationsresponse200uiformattedvalue.md - docs/models/getconfigurationproductspropertiesintegrationsresponse200uihidden.md - docs/models/getconfigurationproductspropertiesintegrationsresponse200uireadonly.md - - docs/models/getconfigurationproductspropertiesintegrationsresponseatbrandat543472.md + - docs/models/getconfigurationproductspropertiesintegrationsresponseatbrandat649501.md - docs/models/getconfigurationproductspropertiesintegrationsresponsemaxlength.md - docs/models/getconfigurationproductspropertiesintegrationsresponseminlength.md - docs/models/getconfigurationproductspropertiesintegrationsresponsepattern.md @@ -1714,13 +2032,13 @@ generatedFiles: - docs/models/getconfigurationproductsuioptions1.md - docs/models/getconfigurationproductsuioptions2.md - docs/models/getconfigurationproductsuioptions3.md - - docs/models/getconfigurationproductsuioptionsatbrandat543472.md + - docs/models/getconfigurationproductsuioptionsatbrandat649501.md - docs/models/getconfigurationproductsuioptionsdisabled.md - docs/models/getconfigurationproductsuioptionshidden.md - - docs/models/getconfigurationproductsuioptionsintegrationsatbrandat543472.md + - docs/models/getconfigurationproductsuioptionsintegrationsatbrandat649501.md - docs/models/getconfigurationproductsuioptionsintegrationsdisabled.md - docs/models/getconfigurationproductsuioptionsintegrationshidden.md - - docs/models/getconfigurationproductsuioptionsintegrationsresponseatbrandat543472.md + - docs/models/getconfigurationproductsuioptionsintegrationsresponseatbrandat649501.md - docs/models/getconfigurationproductsuioptionsintegrationsresponsedisabled.md - docs/models/getconfigurationproductsuioptionsintegrationsresponsehidden.md - docs/models/getconfigurationproductsuioptionsvalue.md @@ -1757,12 +2075,16 @@ generatedFiles: - docs/models/getconfigurationsresponsebody.md - docs/models/getconfigurationsresponsebody1.md - docs/models/getconfigurationsresponsebody2.md + - docs/models/getconfigurationsresponsebodydisabledreason.md - docs/models/getconfigurationsresponsebodyinstallationtype.md + - docs/models/getconfigurationsresponsebodyintegrationsdisabledreason.md - docs/models/getconfigurationsresponsebodyintegrationssource.md - docs/models/getconfigurationsresponsebodyintegrationstype.md - docs/models/getconfigurationsresponsebodysource.md - docs/models/getconfigurationsresponsebodytype.md - docs/models/getconfigurationtransferrequestkind.md + - docs/models/getcontactinfoschemarequest.md + - docs/models/getcontactinfoschemaresponsebody.md - docs/models/getcustomenvironmentbranchmatcher.md - docs/models/getcustomenvironmentdomains.md - docs/models/getcustomenvironmentenvironmenttype.md @@ -1975,22 +2297,208 @@ generatedFiles: - docs/models/getdeploymentvaluedeploymentsresponse200eq.md - docs/models/getdeploymentvaluedeploymentsresponseeq.md - docs/models/getdeploymentvalueeq.md + - docs/models/getdomainauthcodedomainsregistrarresponsebody.md + - docs/models/getdomainauthcoderequest.md + - docs/models/getdomainauthcoderesponsebody.md + - docs/models/getdomainavailabilityrequest.md + - docs/models/getdomainavailabilityresponsebody.md - docs/models/getdomainconfigrequest.md - docs/models/getdomainconfigresponsebody.md - docs/models/getdomaincreator.md - docs/models/getdomaindomain.md + - docs/models/getdomainpricerequest.md + - docs/models/getdomainpriceresponsebody.md - docs/models/getdomainrequest.md - docs/models/getdomainresponsebody.md - docs/models/getdomainscreator.md + - docs/models/getdomainsdomains.md - docs/models/getdomainsregistrar.md - docs/models/getdomainsrequest.md - docs/models/getdomainsresponsebody.md - docs/models/getdomainsservicetype.md + - docs/models/getdomaintransferindomainsregistrarresponsebody.md + - docs/models/getdomaintransferinrequest.md + - docs/models/getdomaintransferinresponsebody.md + - docs/models/getdomaintransferinstatus.md - docs/models/getdomaintransferrequest.md - docs/models/getdomaintransferresponsebody.md - docs/models/getdomaintransferresponsebody1.md - docs/models/getdomaintransferresponsebody2.md - docs/models/getdomaintransferresponsebodystatus.md + - docs/models/getdraindelivery1.md + - docs/models/getdraindelivery2.md + - docs/models/getdraindelivery3.md + - docs/models/getdraindelivery4.md + - docs/models/getdraindeliverycompression.md + - docs/models/getdraindeliverydrains1.md + - docs/models/getdraindeliverydrains2.md + - docs/models/getdraindeliverydrains3.md + - docs/models/getdraindeliverydrains4.md + - docs/models/getdraindeliverydrainscompression.md + - docs/models/getdraindeliverydrainsencoding.md + - docs/models/getdraindeliverydrainsendpoint.md + - docs/models/getdraindeliverydrainsresponse200applicationjsonresponsebody24type.md + - docs/models/getdraindeliverydrainsresponse200applicationjsonresponsebody2type.md + - docs/models/getdraindeliverydrainsresponse200applicationjsonresponsebodytype.md + - docs/models/getdraindeliverydrainsresponse200applicationjsontype.md + - docs/models/getdraindeliverydrainsresponse200encoding.md + - docs/models/getdraindeliverydrainsresponse200type.md + - docs/models/getdraindeliverydrainsresponseencoding.md + - docs/models/getdraindeliverydrainsresponsetype.md + - docs/models/getdraindeliverydrainstarget.md + - docs/models/getdraindeliverydrainstype.md + - docs/models/getdraindeliveryencoding.md + - docs/models/getdraindeliveryendpoint.md + - docs/models/getdraindeliverytarget.md + - docs/models/getdraindeliverytype.md + - docs/models/getdrainfilter1.md + - docs/models/getdrainfilter2.md + - docs/models/getdrainfilterdeployment.md + - docs/models/getdrainfilterdrains1.md + - docs/models/getdrainfilterdrains2.md + - docs/models/getdrainfilterdrainsdeployment.md + - docs/models/getdrainfilterdrainsenvironments.md + - docs/models/getdrainfilterdrainslog.md + - docs/models/getdrainfilterdrainsproject.md + - docs/models/getdrainfilterdrainsresponse200type.md + - docs/models/getdrainfilterdrainsresponsetype.md + - docs/models/getdrainfilterdrainssources.md + - docs/models/getdrainfilterdrainstype.md + - docs/models/getdrainfilterenvironments.md + - docs/models/getdrainfilterlog.md + - docs/models/getdrainfilterproject.md + - docs/models/getdrainfiltersources.md + - docs/models/getdrainfiltertype.md + - docs/models/getdrainfilterv21.md + - docs/models/getdrainfilterv22.md + - docs/models/getdrainfilterv2drains1.md + - docs/models/getdrainfilterv2drains2.md + - docs/models/getdrainfilterv2drainsfilter.md + - docs/models/getdrainfilterv2drainsresponse200version.md + - docs/models/getdrainfilterv2drainsresponseversion.md + - docs/models/getdrainfilterv2drainsversion.md + - docs/models/getdrainfilterv2filter.md + - docs/models/getdrainfilterv2version.md + - docs/models/getdrainrequest.md + - docs/models/getdrainresponsebody.md + - docs/models/getdrainresponsebody1.md + - docs/models/getdrainresponsebody2.md + - docs/models/getdrainresponsebodyanalytics.md + - docs/models/getdrainresponsebodycreatedfrom.md + - docs/models/getdrainresponsebodydelivery.md + - docs/models/getdrainresponsebodydisabledreason.md + - docs/models/getdrainresponsebodydrainsanalytics.md + - docs/models/getdrainresponsebodydrainscreatedfrom.md + - docs/models/getdrainresponsebodydrainsdelivery.md + - docs/models/getdrainresponsebodydrainsdisabledreason.md + - docs/models/getdrainresponsebodydrainsenv.md + - docs/models/getdrainresponsebodydrainsfilterv2.md + - docs/models/getdrainresponsebodydrainslog.md + - docs/models/getdrainresponsebodydrainssampling.md + - docs/models/getdrainresponsebodydrainsschemas.md + - docs/models/getdrainresponsebodydrainssource.md + - docs/models/getdrainresponsebodydrainsspeedinsights.md + - docs/models/getdrainresponsebodydrainsstatus.md + - docs/models/getdrainresponsebodydrainstrace.md + - docs/models/getdrainresponsebodydrainstype.md + - docs/models/getdrainresponsebodyenv.md + - docs/models/getdrainresponsebodyfilterv2.md + - docs/models/getdrainresponsebodyframework.md + - docs/models/getdrainresponsebodylog.md + - docs/models/getdrainresponsebodyprojectsmetadata.md + - docs/models/getdrainresponsebodysampling.md + - docs/models/getdrainresponsebodyschemas.md + - docs/models/getdrainresponsebodysource.md + - docs/models/getdrainresponsebodyspeedinsights.md + - docs/models/getdrainresponsebodystatus.md + - docs/models/getdrainresponsebodytrace.md + - docs/models/getdrainresponsebodytype.md + - docs/models/getdrainsdelivery1.md + - docs/models/getdrainsdelivery2.md + - docs/models/getdrainsdelivery3.md + - docs/models/getdrainsdelivery4.md + - docs/models/getdrainsdeliverycompression.md + - docs/models/getdrainsdeliverydrains1.md + - docs/models/getdrainsdeliverydrains2.md + - docs/models/getdrainsdeliverydrains3.md + - docs/models/getdrainsdeliverydrains4.md + - docs/models/getdrainsdeliverydrainscompression.md + - docs/models/getdrainsdeliverydrainsencoding.md + - docs/models/getdrainsdeliverydrainsendpoint.md + - docs/models/getdrainsdeliverydrainsresponse200applicationjsonresponsebodydrains2type.md + - docs/models/getdrainsdeliverydrainsresponse200applicationjsonresponsebodydrainstype.md + - docs/models/getdrainsdeliverydrainsresponse200applicationjsonresponsebodytype.md + - docs/models/getdrainsdeliverydrainsresponse200applicationjsontype.md + - docs/models/getdrainsdeliverydrainsresponse200encoding.md + - docs/models/getdrainsdeliverydrainsresponse200type.md + - docs/models/getdrainsdeliverydrainsresponseencoding.md + - docs/models/getdrainsdeliverydrainsresponsetype.md + - docs/models/getdrainsdeliverydrainstarget.md + - docs/models/getdrainsdeliverydrainstype.md + - docs/models/getdrainsdeliveryencoding.md + - docs/models/getdrainsdeliveryendpoint.md + - docs/models/getdrainsdeliverytarget.md + - docs/models/getdrainsdeliverytype.md + - docs/models/getdrainsdrainsanalytics.md + - docs/models/getdrainsdrainscreatedfrom.md + - docs/models/getdrainsdrainsdelivery.md + - docs/models/getdrainsdrainsdisabledreason.md + - docs/models/getdrainsdrainsenv.md + - docs/models/getdrainsdrainsfilterv2.md + - docs/models/getdrainsdrainslog.md + - docs/models/getdrainsdrainssampling.md + - docs/models/getdrainsdrainsschemas.md + - docs/models/getdrainsdrainssource.md + - docs/models/getdrainsdrainsspeedinsights.md + - docs/models/getdrainsdrainsstatus.md + - docs/models/getdrainsdrainstrace.md + - docs/models/getdrainsdrainstype.md + - docs/models/getdrainsfilter1.md + - docs/models/getdrainsfilter2.md + - docs/models/getdrainsfilterdeployment.md + - docs/models/getdrainsfilterdrains1.md + - docs/models/getdrainsfilterdrains2.md + - docs/models/getdrainsfilterdrainsdeployment.md + - docs/models/getdrainsfilterdrainsenvironments.md + - docs/models/getdrainsfilterdrainslog.md + - docs/models/getdrainsfilterdrainsproject.md + - docs/models/getdrainsfilterdrainsresponse200type.md + - docs/models/getdrainsfilterdrainsresponsetype.md + - docs/models/getdrainsfilterdrainssources.md + - docs/models/getdrainsfilterdrainstype.md + - docs/models/getdrainsfilterenvironments.md + - docs/models/getdrainsfilterlog.md + - docs/models/getdrainsfilterproject.md + - docs/models/getdrainsfiltersources.md + - docs/models/getdrainsfiltertype.md + - docs/models/getdrainsfilterv21.md + - docs/models/getdrainsfilterv22.md + - docs/models/getdrainsfilterv2drains1.md + - docs/models/getdrainsfilterv2drains2.md + - docs/models/getdrainsfilterv2drainsfilter.md + - docs/models/getdrainsfilterv2drainsresponse200version.md + - docs/models/getdrainsfilterv2drainsresponseversion.md + - docs/models/getdrainsfilterv2drainsversion.md + - docs/models/getdrainsfilterv2filter.md + - docs/models/getdrainsfilterv2version.md + - docs/models/getdrainsource1.md + - docs/models/getdrainsource2.md + - docs/models/getdrainsourcedrains1.md + - docs/models/getdrainsourcedrains2.md + - docs/models/getdrainsourcedrainskind.md + - docs/models/getdrainsourcedrainsresponse200kind.md + - docs/models/getdrainsourcedrainsresponsekind.md + - docs/models/getdrainsourcekind.md + - docs/models/getdrainsrequest.md + - docs/models/getdrainsresponsebody.md + - docs/models/getdrainssource1.md + - docs/models/getdrainssource2.md + - docs/models/getdrainssourcedrains1.md + - docs/models/getdrainssourcedrains2.md + - docs/models/getdrainssourcedrainskind.md + - docs/models/getdrainssourcedrainsresponse200kind.md + - docs/models/getdrainssourcedrainsresponsekind.md + - docs/models/getdrainssourcekind.md - docs/models/getedgeconfigbackuprequest.md - docs/models/getedgeconfigbackupresponsebody.md - docs/models/getedgeconfigbackupresponsebody1.md @@ -2068,6 +2576,8 @@ generatedFiles: - docs/models/getintegrationlogdrainsrequest.md - docs/models/getintegrationlogdrainsresponsebody.md - docs/models/getintegrationlogdrainssource.md + - docs/models/getintegrationlogdrainssource1.md + - docs/models/getintegrationlogdrainssource2.md - docs/models/getintegrationlogdrainssources.md - docs/models/getintegrationresourcelevel.md - docs/models/getintegrationresourcemetadata.md @@ -2080,6 +2590,7 @@ generatedFiles: - docs/models/getintegrationresourcesnotification.md - docs/models/getintegrationresourcesprotocolsettings.md - docs/models/getintegrationresourcesrequest.md + - docs/models/getintegrationresourcesresources.md - docs/models/getintegrationresourcesresponsebody.md - docs/models/getintegrationresourcesstatus.md - docs/models/getintegrationresourcestatus.md @@ -2092,6 +2603,54 @@ generatedFiles: - docs/models/getmemberrequest.md - docs/models/getmemberresponsebody.md - docs/models/getmemberrole.md + - docs/models/getorder11.md + - docs/models/getorder12.md + - docs/models/getorder13.md + - docs/models/getorder1code.md + - docs/models/getorder1details.md + - docs/models/getorder1domainsregistrar1.md + - docs/models/getorder1domainsregistrar2.md + - docs/models/getorder1domainsregistrar3.md + - docs/models/getorder1domainsregistrarcode.md + - docs/models/getorder1domainsregistrardetails.md + - docs/models/getorder1domainsregistrarresponse1.md + - docs/models/getorder1domainsregistrarresponse2.md + - docs/models/getorder1domainsregistrarresponse2001.md + - docs/models/getorder1domainsregistrarresponse2002.md + - docs/models/getorder1domainsregistrarresponse2003.md + - docs/models/getorder1domainsregistrarresponse200applicationjsoncode.md + - docs/models/getorder1domainsregistrarresponse200applicationjsonresponsebodycode.md + - docs/models/getorder1domainsregistrarresponse200applicationjsonresponsebodydomains1code.md + - docs/models/getorder1domainsregistrarresponse200applicationjsonresponsebodydomains1error3code.md + - docs/models/getorder1domainsregistrarresponse200applicationjsonresponsebodydomains1errorcode.md + - docs/models/getorder1domainsregistrarresponse200applicationjsonresponsebodydomains2code.md + - docs/models/getorder1domainsregistrarresponse200applicationjsonresponsebodydomains3code.md + - docs/models/getorder1domainsregistrarresponse200applicationjsonresponsebodydomainscode.md + - docs/models/getorder1domainsregistrarresponse200code.md + - docs/models/getorder1domainsregistrarresponse200details.md + - docs/models/getorder1domainsregistrarresponse3.md + - docs/models/getorder1domainsregistrarresponsecode.md + - docs/models/getorder1domainsregistrarresponsedetails.md + - docs/models/getorderdomains.md + - docs/models/getorderdomainsdomainsregistrarerror.md + - docs/models/getorderdomainsdomainsregistrarpurchasetype.md + - docs/models/getorderdomainsdomainsregistrarstatus.md + - docs/models/getorderdomainserror.md + - docs/models/getorderdomainspurchasetype.md + - docs/models/getorderdomainsregistrarresponsebody.md + - docs/models/getorderdomainsstatus.md + - docs/models/getordererror.md + - docs/models/getordererror1.md + - docs/models/getordererror2.md + - docs/models/getordererrordomainsregistrar1.md + - docs/models/getordererrordomainsregistrar2.md + - docs/models/getordererrordomainsregistrarresponse1.md + - docs/models/getordererrordomainsregistrarresponse2.md + - docs/models/getorderrequest.md + - docs/models/getorderresponsebody.md + - docs/models/getorderstatus.md + - docs/models/getprojectclientcertsrequest.md + - docs/models/getprojectclientcertsresponsebody.md - docs/models/getprojectdomainrequest.md - docs/models/getprojectdomainresponsebody.md - docs/models/getprojectdomainsrequest.md @@ -2287,6 +2846,7 @@ generatedFiles: - docs/models/getprojectsdefinitions.md - docs/models/getprojectsdeploymentexpiration.md - docs/models/getprojectsdeploymenttype.md + - docs/models/getprojectsdismissedtoasts.md - docs/models/getprojectsdomains.md - docs/models/getprojectsenv.md - docs/models/getprojectsenvid.md @@ -2351,6 +2911,7 @@ generatedFiles: - docs/models/getprojectsmicrofrontends.md - docs/models/getprojectsmicrofrontends1.md - docs/models/getprojectsmicrofrontends2.md + - docs/models/getprojectsmicrofrontends3.md - docs/models/getprojectsnodeversion.md - docs/models/getprojectsoidctokenclaims.md - docs/models/getprojectsoidctokenconfig.md @@ -2377,6 +2938,7 @@ generatedFiles: - docs/models/getprojectsprojectsreadystate.md - docs/models/getprojectsprojectsreadysubstate.md - docs/models/getprojectsprojectsresponse200action.md + - docs/models/getprojectsprojectsresponse200applicationjsonaction.md - docs/models/getprojectsprojectsresponse200applicationjsonresponsebodyprojectscustomenvironmentstype.md - docs/models/getprojectsprojectsresponse200applicationjsonresponsebodyprojectslatestdeploymentstype.md - docs/models/getprojectsprojectsresponse200applicationjsonresponsebodyprojectstype.md @@ -2413,6 +2975,7 @@ generatedFiles: - docs/models/getprojectsspeedinsights.md - docs/models/getprojectsssoprotection.md - docs/models/getprojectsstages.md + - docs/models/getprojectsstaticips.md - docs/models/getprojectstarget.md - docs/models/getprojectstarget1.md - docs/models/getprojectstarget2.md @@ -2426,6 +2989,10 @@ generatedFiles: - docs/models/getprojectstrustedipsprojectsdeploymenttype.md - docs/models/getprojectstrustedipsprotectionmode.md - docs/models/getprojectstype.md + - docs/models/getprojectsvalue.md + - docs/models/getprojectsvalue4.md + - docs/models/getprojectsvaluecurrentvalue.md + - docs/models/getprojectsvaluepreviousvalue.md - docs/models/getprojectsverification.md - docs/models/getprojectswebanalytics.md - docs/models/getrecordsrequest.md @@ -2460,6 +3027,11 @@ generatedFiles: - docs/models/getruntimelogsrequest.md - docs/models/getruntimelogsresponsebody.md - docs/models/getruntimelogssource.md + - docs/models/getsharedenvvarrequest.md + - docs/models/getsharedenvvarresponsebody.md + - docs/models/getsharedenvvartarget.md + - docs/models/getsharedenvvartype.md + - docs/models/getsupportedtldsrequest.md - docs/models/getteamaccessrequestbitbucket.md - docs/models/getteamaccessrequestgithub.md - docs/models/getteamaccessrequestgitlab.md @@ -2489,6 +3061,10 @@ generatedFiles: - docs/models/getteamsrequest.md - docs/models/getteamsresponsebody.md - docs/models/getteamsteams.md + - docs/models/gettldpricerequest.md + - docs/models/gettldpriceresponsebody.md + - docs/models/getv1securityfirewalleventsrequest.md + - docs/models/getv1securityfirewalleventsresponsebody.md - docs/models/getv9projectsidornamecustomenvironmentsbranchmatcher.md - docs/models/getv9projectsidornamecustomenvironmentsdomains.md - docs/models/getv9projectsidornamecustomenvironmentsenvironments.md @@ -2506,6 +3082,8 @@ generatedFiles: - docs/models/getwebhooksresponsebody2.md - docs/models/getwebhooksresponsebodyevents.md - docs/models/getwebhooksresponsebodyframework.md + - docs/models/getwebhooksresponsebodyprojectsmetadata.md + - docs/models/git.md - docs/models/gitcomments.md - docs/models/gitforkprotection.md - docs/models/github.md @@ -2550,6 +3128,7 @@ generatedFiles: - docs/models/haskey.md - docs/models/hastype.md - docs/models/hasvalue.md + - docs/models/headv1installationsintegrationconfigurationidresourcesresourceidexperimentationedgeconfigpurpose.md - docs/models/headv1installationsintegrationconfigurationidresourcesresourceidexperimentationedgeconfigrequest.md - docs/models/headv1installationsintegrationconfigurationidresourcesresourceidexperimentationedgeconfigresponsebody.md - docs/models/hidden.md @@ -2566,6 +3145,11 @@ generatedFiles: - docs/models/importflowgitnamespace.md - docs/models/importflowgitnamespaceid.md - docs/models/importflowgitprovider.md + - docs/models/importresourcebillingplan.md + - docs/models/importresourcedetails.md + - docs/models/importresourcehighlighteddetails.md + - docs/models/importresourcelevel.md + - docs/models/importresourcenotification.md - docs/models/importresourcerequest.md - docs/models/importresourcerequestbody.md - docs/models/importresourceresponsebody.md @@ -2584,18 +3168,16 @@ generatedFiles: - docs/models/internalroutesaction.md - docs/models/internalrouteshas.md - docs/models/internalroutesmitigate.md + - docs/models/internalservererror.md + - docs/models/internalservererrorcode.md - docs/models/invalidatebytagsrequest.md - docs/models/invalidatebytagsrequestbody.md - docs/models/invalidatebytagstarget.md + - docs/models/invitedteammember.md - docs/models/inviteduser.md - docs/models/inviteusertoteamprojects.md - - docs/models/inviteusertoteamrequest.md - docs/models/inviteusertoteamrequestbody.md - - docs/models/inviteusertoteamresponsebody.md - docs/models/inviteusertoteamrole.md - - docs/models/inviteusertoteamteampermissions.md - - docs/models/inviteusertoteamteamroles.md - - docs/models/inviteusertoteamteamsresponserole.md - docs/models/inviteusertoteamteamsrole.md - docs/models/ipbuckets.md - docs/models/ips.md @@ -2631,10 +3213,12 @@ generatedFiles: - docs/models/link4.md - docs/models/link5.md - docs/models/linkdeployhooks.md + - docs/models/links.md - docs/models/linktype.md - docs/models/listaccessgroupmemberspagination.md - docs/models/listaccessgroupmembersrequest.md - docs/models/listaccessgroupmembersresponsebody.md + - docs/models/listaccessgroupmembersteamrole.md - docs/models/listaccessgroupprojectspagination.md - docs/models/listaccessgroupprojectsproject.md - docs/models/listaccessgroupprojectsprojects.md @@ -2684,10 +3268,15 @@ generatedFiles: - docs/models/listpromotealiasesresponsebody.md - docs/models/listpromotealiasesresponsebody1.md - docs/models/listpromotealiasesresponsebody2.md + - docs/models/listsharedenvvariablerequest.md + - docs/models/listsharedenvvariableresponsebody.md + - docs/models/listsharedenvvariabletarget.md + - docs/models/listsharedenvvariabletype.md - docs/models/listusereventsrequest.md - docs/models/listusereventsresponsebody.md - docs/models/locale.md - docs/models/localpatterns.md + - docs/models/log.md - docs/models/logdrain.md - docs/models/logdrainsvolume.md - docs/models/ma.md @@ -2698,14 +3287,17 @@ generatedFiles: - docs/models/messaging.md - docs/models/metadata.md - docs/models/metadataschema.md + - docs/models/method.md - docs/models/metrics.md - docs/models/mfaconfiguration.md - docs/models/mfeconfiguploadstate.md - docs/models/microfrontends.md - docs/models/microfrontends1.md - docs/models/microfrontends2.md + - docs/models/microfrontends3.md - docs/models/microfrontendsapplications.md - docs/models/microfrontendsmfeconfiguploadstate.md + - docs/models/microfrontendsrequest.md - docs/models/minlength.md - docs/models/missing.md - docs/models/missing1.md @@ -2726,12 +3318,16 @@ generatedFiles: - docs/models/newconnectconfigurations.md - docs/models/newenvvar.md - docs/models/newowner.md + - docs/models/newplan.md - docs/models/newprojects.md - docs/models/newtarget.md - docs/models/newteam.md - docs/models/next.md + - docs/models/nextacceptedpermissionsets.md + - docs/models/nextpermissions.md - docs/models/nextrole.md - docs/models/nextrule.md + - docs/models/nextscopes.md - docs/models/nextstage.md - docs/models/nine.md - docs/models/nineteen.md @@ -2747,7 +3343,10 @@ generatedFiles: - docs/models/ninetytwo.md - docs/models/nodeversion.md - docs/models/northstarmigration.md + - docs/models/notauthorizedforscope.md - docs/models/notification.md + - docs/models/notification1.md + - docs/models/notificationlevel.md - docs/models/observability.md - docs/models/observabilityevent.md - docs/models/observabilityplus.md @@ -2773,7 +3372,10 @@ generatedFiles: - docs/models/one1.md - docs/models/one2.md - docs/models/one3.md + - docs/models/one4.md + - docs/models/onecode.md - docs/models/onedescription.md + - docs/models/onedetails.md - docs/models/onehundred.md - docs/models/onehundredandeight.md - docs/models/onehundredandeighteen.md @@ -2810,8 +3412,11 @@ generatedFiles: - docs/models/onehundredandsix.md - docs/models/onehundredandsixteen.md - docs/models/onehundredandsixty.md + - docs/models/onehundredandsixtyfive.md - docs/models/onehundredandsixtyfour.md - docs/models/onehundredandsixtyone.md + - docs/models/onehundredandsixtyseven.md + - docs/models/onehundredandsixtysix.md - docs/models/onehundredandsixtythree.md - docs/models/onehundredandsixtytwo.md - docs/models/onehundredandten.md @@ -2877,8 +3482,12 @@ generatedFiles: - docs/models/patchdomainresponsebody1.md - docs/models/patchdomainresponsebody2.md - docs/models/patchdomainresponsebody3.md + - docs/models/patchedgeconfigitems11.md + - docs/models/patchedgeconfigitems12.md + - docs/models/patchedgeconfigitems13.md - docs/models/patchedgeconfigitems1description.md - docs/models/patchedgeconfigitems1operation.md + - docs/models/patchedgeconfigitemsitems.md - docs/models/patchedgeconfigitemsrequest.md - docs/models/patchedgeconfigitemsrequestbody.md - docs/models/patchedgeconfigitemsresponsebody.md @@ -2916,6 +3525,7 @@ generatedFiles: - docs/models/payloadaccessgroup.md - docs/models/payloadaction.md - docs/models/payloadactivedashboardviews.md + - docs/models/payloadapp.md - docs/models/payloadaws.md - docs/models/payloadbilling.md - docs/models/payloadblockedduetooveragetype.md @@ -2924,6 +3534,7 @@ generatedFiles: - docs/models/payloadbudget.md - docs/models/payloadbuildentitlements.md - docs/models/payloadbuildmachine.md + - docs/models/payloadbuildqueue.md - docs/models/payloadconfiguration.md - docs/models/payloaddatacache.md - docs/models/payloaddeployment.md @@ -2941,6 +3552,7 @@ generatedFiles: - docs/models/payloadimportflowgitnamespace.md - docs/models/payloadimportflowgitnamespaceid.md - docs/models/payloadimportflowgitprovider.md + - docs/models/payloaditems.md - docs/models/payloadjoinedfrom.md - docs/models/payloadmicrofrontends.md - docs/models/payloadname.md @@ -2960,14 +3572,18 @@ generatedFiles: - docs/models/payloadpreviousrule.md - docs/models/payloadpricingplan.md - docs/models/payloadproject.md + - docs/models/payloadprojectids.md - docs/models/payloadprojectmembership.md - docs/models/payloadpurchasetype.md - docs/models/payloadreason.md + - docs/models/payloadreasoncode.md - docs/models/payloadreasons.md - docs/models/payloadrecentsviewpreference.md - docs/models/payloadremotecaching.md - docs/models/payloadresourceconfig.md + - docs/models/payloadresources.md - docs/models/payloadrole.md + - docs/models/payloadscopes.md - docs/models/payloadsecurity.md - docs/models/payloadsoftblock.md - docs/models/payloadsourceimages.md @@ -2979,6 +3595,7 @@ generatedFiles: - docs/models/payloadteamroles.md - docs/models/payloadtype.md - docs/models/payloaduser.md + - docs/models/payloaduserpermissionset.md - docs/models/payloadviewpreference.md - docs/models/payloadwebanalytics.md - docs/models/peering.md @@ -2995,8 +3612,10 @@ generatedFiles: - docs/models/prev.md - docs/models/preventautoblocking.md - docs/models/previous.md + - docs/models/previousplan.md - docs/models/previousrole.md - docs/models/previousrule.md + - docs/models/previousvalue.md - docs/models/prevprojectanalytics.md - docs/models/prevprojectwebanalytics.md - docs/models/pricingplan.md @@ -3009,7 +3628,10 @@ generatedFiles: - docs/models/project.md - docs/models/projectanalytics.md - docs/models/projectconnectionscopes.md + - docs/models/projectfilter.md - docs/models/projectid.md + - docs/models/projectids.md + - docs/models/projectidupdates.md - docs/models/projectmembership.md - docs/models/projects.md - docs/models/projectselection.md @@ -3027,8 +3649,8 @@ generatedFiles: - docs/models/properties7.md - docs/models/properties8.md - docs/models/properties9.md - - docs/models/propertiesatbrandat543472.md - - docs/models/propertiesatbrandat8486.md + - docs/models/propertiesatbrandat649501.md + - docs/models/propertiesatbrandat8795.md - docs/models/propertiesdisabled.md - docs/models/propertieshidden.md - docs/models/propertiesitems.md @@ -3055,6 +3677,9 @@ generatedFiles: - docs/models/protocol.md - docs/models/protocols.md - docs/models/protocolsettings.md + - docs/models/providers.md + - docs/models/providers1.md + - docs/models/providers2.md - docs/models/proxy.md - docs/models/purchasetype.md - docs/models/purpose.md @@ -3126,6 +3751,7 @@ generatedFiles: - docs/models/putfirewallconfigtype.md - docs/models/putfirewallconfigvalue.md - docs/models/putfirewallconfigxss.md + - docs/models/putv1installationsintegrationconfigurationidresourcesresourceidexperimentationedgeconfigpurpose.md - docs/models/putv1installationsintegrationconfigurationidresourcesresourceidexperimentationedgeconfigrequest.md - docs/models/putv1installationsintegrationconfigurationidresourcesresourceidexperimentationedgeconfigrequestbody.md - docs/models/putv1installationsintegrationconfigurationidresourcesresourceidexperimentationedgeconfigresponsebody.md @@ -3307,6 +3933,13 @@ generatedFiles: - docs/models/removerecordresponsebody.md - docs/models/removeteammemberrequest.md - docs/models/removeteammemberresponsebody.md + - docs/models/renewdomaincontactinformation.md + - docs/models/renewdomaindomainsregistrarresponsebody.md + - docs/models/renewdomainlinks.md + - docs/models/renewdomainmethod.md + - docs/models/renewdomainrequest.md + - docs/models/renewdomainrequestbody.md + - docs/models/renewdomainresponsebody.md - docs/models/repl.md - docs/models/repoid.md - docs/models/requestaccesstoteamgituserid.md @@ -3335,6 +3968,7 @@ generatedFiles: - docs/models/requestbodyaction.md - docs/models/requestbodyconditiongroup.md - docs/models/requestbodyconditions.md + - docs/models/requestbodyevs.md - docs/models/requestbodyhttps.md - docs/models/requestbodyid.md - docs/models/requestbodymitigate.md @@ -3345,6 +3979,7 @@ generatedFiles: - docs/models/requestbodyrole.md - docs/models/requestbodyscope.md - docs/models/requestbodysrv.md + - docs/models/requestbodytarget.md - docs/models/requestbodytype.md - docs/models/requestbodyvalue.md - docs/models/requestdeletereasons.md @@ -3369,6 +4004,7 @@ generatedFiles: - docs/models/responsebodyaliaserror.md - docs/models/responsebodyaliases.md - docs/models/responsebodyaliaswarning.md + - docs/models/responsebodyanalytics.md - docs/models/responsebodyarchitecture.md - docs/models/responsebodybackup.md - docs/models/responsebodybuild.md @@ -3379,16 +4015,21 @@ generatedFiles: - docs/models/responsebodyconfig.md - docs/models/responsebodycontentdispositiontype.md - docs/models/responsebodycontenthint.md + - docs/models/responsebodycreatedfrom.md - docs/models/responsebodycreator.md - docs/models/responsebodycrons.md - docs/models/responsebodycustomenvironment.md + - docs/models/responsebodydelivery.md - docs/models/responsebodydeploymentalias.md - docs/models/responsebodydisabledreason.md - docs/models/responsebodydomains.md + - docs/models/responsebodydrains.md + - docs/models/responsebodyenv.md - docs/models/responsebodyenvs.md - docs/models/responsebodyerror.md - docs/models/responsebodyevents.md - docs/models/responsebodyexperimentaltriggers.md + - docs/models/responsebodyfilterv2.md - docs/models/responsebodyflags.md - docs/models/responsebodyformats.md - docs/models/responsebodyframework.md @@ -3407,6 +4048,7 @@ generatedFiles: - docs/models/responsebodylambdas.md - docs/models/responsebodylevel.md - docs/models/responsebodylocalpatterns.md + - docs/models/responsebodylog.md - docs/models/responsebodymembers.md - docs/models/responsebodymetadata.md - docs/models/responsebodymicrofrontends.md @@ -3432,6 +4074,8 @@ generatedFiles: - docs/models/responsebodyrole.md - docs/models/responsebodyrollingrelease.md - docs/models/responsebodyroutes.md + - docs/models/responsebodysampling.md + - docs/models/responsebodyschemas.md - docs/models/responsebodysource.md - docs/models/responsebodyspeedinsights.md - docs/models/responsebodystages.md @@ -3440,6 +4084,7 @@ generatedFiles: - docs/models/responsebodytarget.md - docs/models/responsebodyteam.md - docs/models/responsebodyteamrole.md + - docs/models/responsebodytrace.md - docs/models/responsebodytransferpolicy.md - docs/models/responsebodytype.md - docs/models/responsebodyuser.md @@ -3448,6 +4093,7 @@ generatedFiles: - docs/models/responsebodywafaction.md - docs/models/responsebodywebanalytics.md - docs/models/result.md + - docs/models/results.md - docs/models/revoke.md - docs/models/rfi.md - docs/models/role.md @@ -3483,8 +4129,10 @@ generatedFiles: - docs/models/runtimecacheread.md - docs/models/runtimecachewrite.md - docs/models/saml.md + - docs/models/sampling.md - docs/models/scalingrules.md - docs/models/schema.md + - docs/models/schemas.md - docs/models/scope.md - docs/models/scope1.md - docs/models/scope2.md @@ -3497,6 +4145,10 @@ generatedFiles: - docs/models/sd.md - docs/models/secondaryemails.md - docs/models/secrets.md + - docs/models/secrets1.md + - docs/models/secrets2.md + - docs/models/secretsenvironmentoverrides.md + - docs/models/secretssecrets.md - docs/models/security.md - docs/models/sensitiveenvironmentvariablepolicy.md - docs/models/serverlessfunctionexecution.md @@ -3545,6 +4197,7 @@ generatedFiles: - docs/models/stages.md - docs/models/state.md - docs/models/staticips.md + - docs/models/staticipsenabled.md - docs/models/status.md - docs/models/statuscode.md - docs/models/statusrequest.md @@ -3588,6 +4241,8 @@ generatedFiles: - docs/models/teamlimitedsaml.md - docs/models/teamlimitedteampermissions.md - docs/models/teamlimitedteamroles.md + - docs/models/teammembershipteampermissions.md + - docs/models/teammembershipteamroles.md - docs/models/teampermissions.md - docs/models/teamrole.md - docs/models/teamroles.md @@ -3596,6 +4251,20 @@ generatedFiles: - docs/models/teamteamroles.md - docs/models/ten.md - docs/models/test.md + - docs/models/testdraindelivery.md + - docs/models/testdraindelivery1.md + - docs/models/testdraindelivery2.md + - docs/models/testdraindeliverycompression.md + - docs/models/testdraindeliverydrainsencoding.md + - docs/models/testdraindeliveryencoding.md + - docs/models/testdraindeliveryendpoint.md + - docs/models/testdrainendpoint1.md + - docs/models/testdrainrequest.md + - docs/models/testdrainrequestbody.md + - docs/models/testdrainresponsebody.md + - docs/models/testdrainresponsebody1.md + - docs/models/testdrainresponsebody2.md + - docs/models/testdrainschemas.md - docs/models/thirteen.md - docs/models/thirty.md - docs/models/thirtyeight.md @@ -3609,9 +4278,18 @@ generatedFiles: - docs/models/thirtytwo.md - docs/models/three.md - docs/models/tier.md + - docs/models/tlds.md - docs/models/totp.md + - docs/models/trace.md - docs/models/tracedrain.md - docs/models/transfer.md + - docs/models/transferindomaincontactinformation.md + - docs/models/transferindomaindomainsregistrarresponsebody.md + - docs/models/transferindomainlinks.md + - docs/models/transferindomainmethod.md + - docs/models/transferindomainrequest.md + - docs/models/transferindomainrequestbody.md + - docs/models/transferindomainresponsebody.md - docs/models/transferpolicy.md - docs/models/transferrequest.md - docs/models/transferrequest1.md @@ -3659,14 +4337,16 @@ generatedFiles: - docs/models/uioptions1.md - docs/models/uioptions2.md - docs/models/uioptions3.md - - docs/models/uioptionsatbrandat543472.md - - docs/models/uioptionsatbrandat8486.md + - docs/models/uioptionsatbrandat649501.md + - docs/models/uioptionsatbrandat8795.md - docs/models/uioptionsdisabled.md - docs/models/uioptionshidden.md - docs/models/uioptionsvalue.md - docs/models/uireadonly.md - docs/models/uireadonly2.md - docs/models/uireadonly3.md + - docs/models/unlinksharedenvvariablerequest.md + - docs/models/unlinksharedenvvariableresponsebody.md - docs/models/unpauseprojectrequest.md - docs/models/updateaccessgroupentitlements.md - docs/models/updateaccessgroupprojectaccessgroupsrole.md @@ -3713,7 +4393,136 @@ generatedFiles: - docs/models/updatecustomenvironmentresponsebody.md - docs/models/updatecustomenvironmenttype.md - docs/models/updatecustomenvironmentverification.md + - docs/models/updated.md - docs/models/updatediff.md + - docs/models/updatedomainautorenewrequest.md + - docs/models/updatedomainautorenewrequestbody.md + - docs/models/updatedomainautorenewresponsebody.md + - docs/models/updatedomainnameserversrequest.md + - docs/models/updatedomainnameserversrequestbody.md + - docs/models/updatedomainnameserversresponsebody.md + - docs/models/updatedrain11.md + - docs/models/updatedrain12.md + - docs/models/updatedrain13.md + - docs/models/updatedraindelivery.md + - docs/models/updatedraindelivery1.md + - docs/models/updatedraindelivery2.md + - docs/models/updatedraindelivery3.md + - docs/models/updatedraindelivery4.md + - docs/models/updatedraindeliverycompression.md + - docs/models/updatedraindeliverydrains1.md + - docs/models/updatedraindeliverydrains2.md + - docs/models/updatedraindeliverydrains3.md + - docs/models/updatedraindeliverydrains4.md + - docs/models/updatedraindeliverydrainscompression.md + - docs/models/updatedraindeliverydrainsencoding.md + - docs/models/updatedraindeliverydrainsendpoint.md + - docs/models/updatedraindeliverydrainsresponse1.md + - docs/models/updatedraindeliverydrainsresponse2.md + - docs/models/updatedraindeliverydrainsresponse200applicationjsonencoding.md + - docs/models/updatedraindeliverydrainsresponse200applicationjsonresponsebody24type.md + - docs/models/updatedraindeliverydrainsresponse200applicationjsonresponsebody2type.md + - docs/models/updatedraindeliverydrainsresponse200applicationjsonresponsebodyencoding.md + - docs/models/updatedraindeliverydrainsresponse200applicationjsonresponsebodytype.md + - docs/models/updatedraindeliverydrainsresponse200applicationjsontype.md + - docs/models/updatedraindeliverydrainsresponse200encoding.md + - docs/models/updatedraindeliverydrainsresponse200type.md + - docs/models/updatedraindeliverydrainsresponseencoding.md + - docs/models/updatedraindeliverydrainsresponsetype.md + - docs/models/updatedraindeliverydrainstarget.md + - docs/models/updatedraindeliverydrainstype.md + - docs/models/updatedraindeliveryencoding.md + - docs/models/updatedraindeliveryendpoint.md + - docs/models/updatedraindeliverytarget.md + - docs/models/updatedraindeliverytype.md + - docs/models/updatedrainendpoint1.md + - docs/models/updatedrainenv.md + - docs/models/updatedrainfilter.md + - docs/models/updatedrainfilter1.md + - docs/models/updatedrainfilter2.md + - docs/models/updatedrainfilterdeployment.md + - docs/models/updatedrainfilterdrains1.md + - docs/models/updatedrainfilterdrains2.md + - docs/models/updatedrainfilterdrainsdeployment.md + - docs/models/updatedrainfilterdrainsenvironments.md + - docs/models/updatedrainfilterdrainslog.md + - docs/models/updatedrainfilterdrainsproject.md + - docs/models/updatedrainfilterdrainsresponse1.md + - docs/models/updatedrainfilterdrainsresponse2.md + - docs/models/updatedrainfilterdrainsresponse2002.md + - docs/models/updatedrainfilterdrainsresponse200type.md + - docs/models/updatedrainfilterdrainsresponseenvironments.md + - docs/models/updatedrainfilterdrainsresponsesources.md + - docs/models/updatedrainfilterdrainsresponsetype.md + - docs/models/updatedrainfilterdrainssources.md + - docs/models/updatedrainfilterdrainstype.md + - docs/models/updatedrainfilterenvironments.md + - docs/models/updatedrainfilterfilter.md + - docs/models/updatedrainfilterlog.md + - docs/models/updatedrainfilterproject.md + - docs/models/updatedrainfiltersources.md + - docs/models/updatedrainfiltertype.md + - docs/models/updatedrainfilterv21.md + - docs/models/updatedrainfilterv22.md + - docs/models/updatedrainfilterv2drains1.md + - docs/models/updatedrainfilterv2drains2.md + - docs/models/updatedrainfilterv2drainsfilter.md + - docs/models/updatedrainfilterv2drainsresponse200version.md + - docs/models/updatedrainfilterv2drainsresponseversion.md + - docs/models/updatedrainfilterv2drainsversion.md + - docs/models/updatedrainfilterv2filter.md + - docs/models/updatedrainfilterv2version.md + - docs/models/updatedrainprojects.md + - docs/models/updatedrainrequest.md + - docs/models/updatedrainrequestbody.md + - docs/models/updatedrainresponsebody.md + - docs/models/updatedrainresponsebody1.md + - docs/models/updatedrainresponsebody2.md + - docs/models/updatedrainresponsebodyanalytics.md + - docs/models/updatedrainresponsebodycreatedfrom.md + - docs/models/updatedrainresponsebodydelivery.md + - docs/models/updatedrainresponsebodydisabledreason.md + - docs/models/updatedrainresponsebodydrainsanalytics.md + - docs/models/updatedrainresponsebodydrainscreatedfrom.md + - docs/models/updatedrainresponsebodydrainsdelivery.md + - docs/models/updatedrainresponsebodydrainsdisabledreason.md + - docs/models/updatedrainresponsebodydrainsenv.md + - docs/models/updatedrainresponsebodydrainsfilterv2.md + - docs/models/updatedrainresponsebodydrainslog.md + - docs/models/updatedrainresponsebodydrainssampling.md + - docs/models/updatedrainresponsebodydrainsschemas.md + - docs/models/updatedrainresponsebodydrainssource.md + - docs/models/updatedrainresponsebodydrainsspeedinsights.md + - docs/models/updatedrainresponsebodydrainsstatus.md + - docs/models/updatedrainresponsebodydrainstrace.md + - docs/models/updatedrainresponsebodydrainstype.md + - docs/models/updatedrainresponsebodyenv.md + - docs/models/updatedrainresponsebodyfilterv2.md + - docs/models/updatedrainresponsebodyframework.md + - docs/models/updatedrainresponsebodylog.md + - docs/models/updatedrainresponsebodyprojectsmetadata.md + - docs/models/updatedrainresponsebodysampling.md + - docs/models/updatedrainresponsebodyschemas.md + - docs/models/updatedrainresponsebodysource.md + - docs/models/updatedrainresponsebodyspeedinsights.md + - docs/models/updatedrainresponsebodystatus.md + - docs/models/updatedrainresponsebodytrace.md + - docs/models/updatedrainresponsebodytype.md + - docs/models/updatedrainsampling.md + - docs/models/updatedrainschemas.md + - docs/models/updatedrainsource.md + - docs/models/updatedrainsource1.md + - docs/models/updatedrainsource2.md + - docs/models/updatedrainsourcedrains1.md + - docs/models/updatedrainsourcedrains2.md + - docs/models/updatedrainsourcedrainskind.md + - docs/models/updatedrainsourcedrainsresponse1.md + - docs/models/updatedrainsourcedrainsresponse2.md + - docs/models/updatedrainsourcedrainsresponse200kind.md + - docs/models/updatedrainsourcedrainsresponsekind.md + - docs/models/updatedrainsourcekind.md + - docs/models/updatedrainstatus.md + - docs/models/updatedraintransforms.md - docs/models/updateduser.md - docs/models/updateedgeconfigpurpose.md - docs/models/updateedgeconfigpurpose1.md @@ -3784,6 +4593,9 @@ generatedFiles: - docs/models/updatefirewallconfigrequestbodytype.md - docs/models/updatefirewallconfigrequestbodyvalue.md - docs/models/updatefirewallconfigresponsebody.md + - docs/models/updateinstallationrequest.md + - docs/models/updateinstallationrequestbody.md + - docs/models/updateinstallationtype.md - docs/models/updateintegrationdeploymentactionrequest.md - docs/models/updateintegrationdeploymentactionrequestbody.md - docs/models/updateintegrationdeploymentactionstatus.md @@ -3885,7 +4697,9 @@ generatedFiles: - docs/models/updateprojectdatacachecreator.md - docs/models/updateprojectdatacachedatacache.md - docs/models/updateprojectdatacachedeploymenttype.md + - docs/models/updateprojectdatacachedismissedtoasts.md - docs/models/updateprojectdatacachedomains.md + - docs/models/updateprojectdatacacheenv.md - docs/models/updateprojectdatacacheenvid.md - docs/models/updateprojectdatacacheenvid2.md - docs/models/updateprojectdatacacheframework.md @@ -3921,6 +4735,7 @@ generatedFiles: - docs/models/updateprojectdatacachemicrofrontends.md - docs/models/updateprojectdatacachemicrofrontends1.md - docs/models/updateprojectdatacachemicrofrontends2.md + - docs/models/updateprojectdatacachemicrofrontends3.md - docs/models/updateprojectdatacachenodeversion.md - docs/models/updateprojectdatacacheoidctokenclaims.md - docs/models/updateprojectdatacacheoidctokenconfig.md @@ -3928,6 +4743,7 @@ generatedFiles: - docs/models/updateprojectdatacacheowasp.md - docs/models/updateprojectdatacachepasswordprotection.md - docs/models/updateprojectdatacachepaths.md + - docs/models/updateprojectdatacachepermissions.md - docs/models/updateprojectdatacacheplan.md - docs/models/updateprojectdatacacheprojectsaction.md - docs/models/updateprojectdatacacheprojectsaliaserror.md @@ -3943,6 +4759,7 @@ generatedFiles: - docs/models/updateprojectdatacacheprojectsreadystate.md - docs/models/updateprojectdatacacheprojectsreadysubstate.md - docs/models/updateprojectdatacacheprojectsresponse200action.md + - docs/models/updateprojectdatacacheprojectsresponse200applicationjsonaction.md - docs/models/updateprojectdatacacheprojectsresponse200applicationjsonresponsebodycustomenvironmentstype.md - docs/models/updateprojectdatacacheprojectsresponse200applicationjsonresponsebodyenvtype.md - docs/models/updateprojectdatacacheprojectsresponse200applicationjsonresponsebodylatestdeploymentstype.md @@ -3967,6 +4784,7 @@ generatedFiles: - docs/models/updateprojectdatacacheroutemitigate.md - docs/models/updateprojectdatacachesecurity.md - docs/models/updateprojectdatacachessoprotection.md + - docs/models/updateprojectdatacachestaticips.md - docs/models/updateprojectdatacachetarget.md - docs/models/updateprojectdatacachetarget1.md - docs/models/updateprojectdatacachetarget2.md @@ -3976,12 +4794,16 @@ generatedFiles: - docs/models/updateprojectdatacachetrustedipsdeploymenttype.md - docs/models/updateprojectdatacachetrustedipsprotectionmode.md - docs/models/updateprojectdatacachetype.md + - docs/models/updateprojectdatacachevalue.md + - docs/models/updateprojectdatacachevaluecurrentvalue.md + - docs/models/updateprojectdatacachevaluepreviousvalue.md - docs/models/updateprojectdatacacheverification.md - docs/models/updateprojectdatacachewebanalytics.md - docs/models/updateprojectdefaultresourceconfig.md - docs/models/updateprojectdefinitions.md - docs/models/updateprojectdeploymentexpiration.md - docs/models/updateprojectdeploymenttype.md + - docs/models/updateprojectdismissedtoasts.md - docs/models/updateprojectdomainrequest.md - docs/models/updateprojectdomainrequestbody.md - docs/models/updateprojectdomainresponsebody.md @@ -4050,6 +4872,7 @@ generatedFiles: - docs/models/updateprojectmicrofrontends.md - docs/models/updateprojectmicrofrontends1.md - docs/models/updateprojectmicrofrontends2.md + - docs/models/updateprojectmicrofrontends3.md - docs/models/updateprojectnodeversion.md - docs/models/updateprojectoidctokenclaims.md - docs/models/updateprojectoidctokenconfig.md @@ -4069,6 +4892,7 @@ generatedFiles: - docs/models/updateprojectprojectschecksstate.md - docs/models/updateprojectprojectscreator.md - docs/models/updateprojectprojectsdeploymenttype.md + - docs/models/updateprojectprojectsdismissedtoasts.md - docs/models/updateprojectprojectsframework.md - docs/models/updateprojectprojectsfunctiondefaultmemorytype.md - docs/models/updateprojectprojectsissuermode.md @@ -4084,6 +4908,8 @@ generatedFiles: - docs/models/updateprojectprojectsrequestdeploymenttype.md - docs/models/updateprojectprojectsresourceconfig.md - docs/models/updateprojectprojectsresponse200action.md + - docs/models/updateprojectprojectsresponse200applicationjsonaction.md + - docs/models/updateprojectprojectsresponse200applicationjsonresponsebodyaction.md - docs/models/updateprojectprojectsresponse200applicationjsonresponsebodycustomenvironmentstype.md - docs/models/updateprojectprojectsresponse200applicationjsonresponsebodylatestdeploymentstype.md - docs/models/updateprojectprojectsresponse200applicationjsonresponsebodytargetstype.md @@ -4097,6 +4923,7 @@ generatedFiles: - docs/models/updateprojectprojectsresponsefunctiondefaultmemorytype.md - docs/models/updateprojectprojectsresponsetype.md - docs/models/updateprojectprojectsssoprotection.md + - docs/models/updateprojectprojectsstaticips.md - docs/models/updateprojectprojectstrustedips.md - docs/models/updateprojectprojectstype.md - docs/models/updateprojectprotectionbypass.md @@ -4134,6 +4961,7 @@ generatedFiles: - docs/models/updateprojectspeedinsights.md - docs/models/updateprojectssoprotection.md - docs/models/updateprojectstages.md + - docs/models/updateprojectstaticips.md - docs/models/updateprojecttarget.md - docs/models/updateprojecttarget2.md - docs/models/updateprojecttargets.md @@ -4146,6 +4974,10 @@ generatedFiles: - docs/models/updateprojecttrustedipsprojectsdeploymenttype.md - docs/models/updateprojecttrustedipsprotectionmode.md - docs/models/updateprojecttype.md + - docs/models/updateprojectvalue.md + - docs/models/updateprojectvalue4.md + - docs/models/updateprojectvaluecurrentvalue.md + - docs/models/updateprojectvaluepreviousvalue.md - docs/models/updateprojectverification.md - docs/models/updateprojectwebanalytics.md - docs/models/updaterecorddnstype.md @@ -4153,18 +4985,54 @@ generatedFiles: - docs/models/updaterecordrequestbody.md - docs/models/updaterecordresponsebody.md - docs/models/updaterecordtype.md + - docs/models/updateresourcebillingplan.md + - docs/models/updateresourcedetails.md + - docs/models/updateresourcehighlighteddetails.md + - docs/models/updateresourcenotification.md + - docs/models/updateresourcenotification1.md + - docs/models/updateresourceownership.md + - docs/models/updateresourcerequest.md + - docs/models/updateresourcerequestbody.md + - docs/models/updateresourceresponsebody.md + - docs/models/updateresourcesecrets.md - docs/models/updateresourcesecretsbyidenvironmentoverrides.md - docs/models/updateresourcesecretsbyidrequest.md - docs/models/updateresourcesecretsbyidrequestbody.md - docs/models/updateresourcesecretsbyidsecrets.md - docs/models/updateresourcesecretsenvironmentoverrides.md + - docs/models/updateresourcesecretsmarketplaceenvironmentoverrides.md - docs/models/updateresourcesecretsrequest.md - docs/models/updateresourcesecretsrequestbody.md - docs/models/updateresourcesecretssecrets.md + - docs/models/updateresourcestatus.md + - docs/models/updateresourcetype.md - docs/models/updaterollingreleaseconfigrequest.md - docs/models/updaterollingreleaseconfigresponsebody.md - docs/models/updaterollingreleaseconfigresponsebody1.md - docs/models/updaterollingreleaseconfigresponsebody2.md + - docs/models/updates.md + - docs/models/updatesharedenvvariableenvironmentresponsetarget.md + - docs/models/updatesharedenvvariableenvironmenttarget.md + - docs/models/updatesharedenvvariableenvironmenttype.md + - docs/models/updatesharedenvvariableerror.md + - docs/models/updatesharedenvvariablefailed.md + - docs/models/updatesharedenvvariablerequest.md + - docs/models/updatesharedenvvariablerequestbody.md + - docs/models/updatesharedenvvariableresponsebody.md + - docs/models/updatesharedenvvariabletarget.md + - docs/models/updatesharedenvvariabletarget1.md + - docs/models/updatesharedenvvariabletarget2.md + - docs/models/updatesharedenvvariabletype.md + - docs/models/updatesharedenvvariablevalue.md + - docs/models/updatesharedenvvariablevalue2.md + - docs/models/updatestaticipsaws.md + - docs/models/updatestaticipsenvid.md + - docs/models/updatestaticipsenvid2.md + - docs/models/updatestaticipsrequest.md + - docs/models/updatestaticipsrequestbody.md + - docs/models/updatestaticipsrequestbody1.md + - docs/models/updatestaticipsrequestbody2.md + - docs/models/updatestaticipsresponsebody.md - docs/models/updateteammemberjoinedfrom.md - docs/models/updateteammemberprojects.md - docs/models/updateteammemberrequest.md @@ -4181,6 +5049,9 @@ generatedFiles: - docs/models/uploadfileresponsebody.md - docs/models/uploadfileresponsebody1.md - docs/models/uploadfileresponsebody2.md + - docs/models/uploadprojectclientcertrequest.md + - docs/models/uploadprojectclientcertrequestbody.md + - docs/models/uploadprojectclientcertresponsebody.md - docs/models/usage.md - docs/models/usagealerts.md - docs/models/user.md @@ -4190,56 +5061,66 @@ generatedFiles: - docs/models/usereventenvid2.md - docs/models/usereventmicrofrontends1.md - docs/models/usereventmicrofrontends2.md - - docs/models/usereventpayload104type.md - - docs/models/usereventpayload105type.md + - docs/models/usereventmicrofrontends3.md + - docs/models/usereventpayload100team.md + - docs/models/usereventpayload101team.md - docs/models/usereventpayload106type.md - - docs/models/usereventpayload118user.md - - docs/models/usereventpayload138project.md - - docs/models/usereventpayload139project.md + - docs/models/usereventpayload107type.md + - docs/models/usereventpayload108type.md + - docs/models/usereventpayload120user.md - docs/models/usereventpayload140project.md - - docs/models/usereventpayload140role.md - docs/models/usereventpayload141project.md - docs/models/usereventpayload141role.md - - docs/models/usereventpayload147action.md - - docs/models/usereventpayload150project.md - - docs/models/usereventpayload151prevproject.md - - docs/models/usereventpayload151project.md - - docs/models/usereventpayload161configuration.md - - docs/models/usereventpayload161team.md - - docs/models/usereventpayload162configuration.md - - docs/models/usereventpayload162team.md - - docs/models/usereventpayload163configuration.md - - docs/models/usereventpayload163team.md - - docs/models/usereventpayload29team.md - - docs/models/usereventpayload31project.md - - docs/models/usereventpayload32configuration.md - - docs/models/usereventpayload32team.md - - docs/models/usereventpayload36project.md - - docs/models/usereventpayload46newteam.md - - docs/models/usereventpayload46oldteam.md - - docs/models/usereventpayload57oldenvvartype.md - - docs/models/usereventpayload57target.md - - docs/models/usereventpayload57type.md - - docs/models/usereventpayload61action.md - - docs/models/usereventpayload64action.md - - docs/models/usereventpayload64blockreason.md - - docs/models/usereventpayload64name.md - - docs/models/usereventpayload64newownerblockreason.md - - docs/models/usereventpayload64newownerfeatureblocksblobblockreason.md - - docs/models/usereventpayload64newownerfeatureblocksblockreason.md - - docs/models/usereventpayload64newownerfeatureblockspostgresblockreason.md - - docs/models/usereventpayload64newownerfeatureblocksredisblockreason.md - - docs/models/usereventpayload64role.md - - docs/models/usereventpayload64type.md + - docs/models/usereventpayload142project.md + - docs/models/usereventpayload142role.md + - docs/models/usereventpayload143project.md + - docs/models/usereventpayload143role.md + - docs/models/usereventpayload149action.md + - docs/models/usereventpayload152project.md + - docs/models/usereventpayload153prevproject.md + - docs/models/usereventpayload153project.md + - docs/models/usereventpayload161resourcestype.md + - docs/models/usereventpayload161type.md + - docs/models/usereventpayload162afterresourcestype.md + - docs/models/usereventpayload162aftertype.md + - docs/models/usereventpayload162beforetype.md + - docs/models/usereventpayload162type.md + - docs/models/usereventpayload164configuration.md + - docs/models/usereventpayload164team.md + - docs/models/usereventpayload165configuration.md + - docs/models/usereventpayload165team.md + - docs/models/usereventpayload166configuration.md + - docs/models/usereventpayload166team.md + - docs/models/usereventpayload31team.md + - docs/models/usereventpayload33project.md + - docs/models/usereventpayload34configuration.md + - docs/models/usereventpayload34team.md + - docs/models/usereventpayload38project.md + - docs/models/usereventpayload48newteam.md + - docs/models/usereventpayload48oldteam.md + - docs/models/usereventpayload59oldenvvartype.md + - docs/models/usereventpayload59target.md + - docs/models/usereventpayload59type.md + - docs/models/usereventpayload63action.md + - docs/models/usereventpayload66action.md + - docs/models/usereventpayload66blockreason.md + - docs/models/usereventpayload66configuration.md + - docs/models/usereventpayload66name.md + - docs/models/usereventpayload66newownerblockreason.md + - docs/models/usereventpayload66newownerfeatureblocksblobblockreason.md + - docs/models/usereventpayload66newownerfeatureblocksblockreason.md + - docs/models/usereventpayload66newownerfeatureblocksmicrofrontendsrequestblockreason.md + - docs/models/usereventpayload66newownerfeatureblockspostgresblockreason.md + - docs/models/usereventpayload66newownerfeatureblocksredisblockreason.md + - docs/models/usereventpayload66role.md + - docs/models/usereventpayload66type.md - docs/models/usereventpayload6accessgroup.md - - docs/models/usereventpayload76role.md - - docs/models/usereventpayload85action.md - - docs/models/usereventpayload87project.md - - docs/models/usereventpayload87team.md - - docs/models/usereventpayload91previousproject.md - - docs/models/usereventpayload91project.md - - docs/models/usereventpayload98team.md - - docs/models/usereventpayload99team.md + - docs/models/usereventpayload78role.md + - docs/models/usereventpayload87action.md + - docs/models/usereventpayload89project.md + - docs/models/usereventpayload89team.md + - docs/models/usereventpayload93previousproject.md + - docs/models/usereventpayload93project.md - docs/models/usereventpayloadaccessgroup.md - docs/models/usereventpayloadaction.md - docs/models/usereventpayloadblockreason.md @@ -4248,6 +5129,7 @@ generatedFiles: - docs/models/usereventpayloaddatacache.md - docs/models/usereventpayloaddeployment.md - docs/models/usereventpayloadgituserid.md + - docs/models/usereventpayloaditems.md - docs/models/usereventpayloadjoinedfrom.md - docs/models/usereventpayloadname.md - docs/models/usereventpayloadnames.md @@ -4258,7 +5140,9 @@ generatedFiles: - docs/models/usereventpayloadpeering.md - docs/models/usereventpayloadpricingplan.md - docs/models/usereventpayloadproject.md + - docs/models/usereventpayloadprojectids.md - docs/models/usereventpayloadremotecaching.md + - docs/models/usereventpayloadresources.md - docs/models/usereventpayloadrole.md - docs/models/usereventpayloadtarget.md - docs/models/usereventpayloadteam.md @@ -4267,10 +5151,15 @@ generatedFiles: - docs/models/usereventprincipaltype.md - docs/models/usereventtype.md - docs/models/usereventviatype.md + - docs/models/userpermissionset.md - docs/models/utm.md - docs/models/value.md - docs/models/value2.md + - docs/models/value4.md + - docs/models/value5.md + - docs/models/valuecurrentvalue.md - docs/models/valueeq.md + - docs/models/valuepreviousvalue.md - docs/models/vercelbadrequesterror.md - docs/models/vercelcache.md - docs/models/vercelforbiddenerror.md @@ -4306,9 +5195,12 @@ generatedFiles: - docs/sdks/authentication/README.md - docs/sdks/certs/README.md - docs/sdks/checks/README.md + - docs/sdks/connect/README.md - docs/sdks/deployments/README.md - docs/sdks/dns/README.md - docs/sdks/domains/README.md + - docs/sdks/domainsregistrar/README.md + - docs/sdks/drains/README.md - docs/sdks/edgecache/README.md - docs/sdks/edgeconfig/README.md - docs/sdks/environment/README.md @@ -4320,9 +5212,9 @@ generatedFiles: - docs/sdks/projects/README.md - docs/sdks/rollingrelease/README.md - docs/sdks/security/README.md + - docs/sdks/staticips/README.md - docs/sdks/teams/README.md - docs/sdks/user/README.md - - docs/sdks/vercel/README.md - docs/sdks/webhooks/README.md - eslint.config.mjs - examples/.env.template @@ -4338,9 +5230,12 @@ generatedFiles: - src/__tests__/authentication.test.ts - src/__tests__/certs.test.ts - src/__tests__/checks.test.ts + - src/__tests__/connect.test.ts - src/__tests__/deployments.test.ts - src/__tests__/dns.test.ts - src/__tests__/domains.test.ts + - src/__tests__/domainsregistrar.test.ts + - src/__tests__/drains.test.ts - src/__tests__/edgeconfig.test.ts - src/__tests__/environment.test.ts - src/__tests__/files.ts @@ -4368,9 +5263,12 @@ generatedFiles: - src/__tests__/mockserver/internal/handler/pathdeletev1edgeconfigedgeconfigid.go - src/__tests__/mockserver/internal/handler/pathdeletev1edgeconfigedgeconfigidschema.go - src/__tests__/mockserver/internal/handler/pathdeletev1edgeconfigedgeconfigidtokens.go + - src/__tests__/mockserver/internal/handler/pathdeletev1env.go - src/__tests__/mockserver/internal/handler/pathdeletev1installationsintegrationconfigurationidresourcesresourceidexperimentationitemsitemid.go - src/__tests__/mockserver/internal/handler/pathdeletev1integrationsconfigurationid.go - src/__tests__/mockserver/internal/handler/pathdeletev1integrationslogdrainsid.go + - src/__tests__/mockserver/internal/handler/pathdeletev1logdrainsid.go + - src/__tests__/mockserver/internal/handler/pathdeletev1projectsidornameclientcertcertid.go - src/__tests__/mockserver/internal/handler/pathdeletev1projectsidornameenv.go - src/__tests__/mockserver/internal/handler/pathdeletev1projectsidornamemembersuid.go - src/__tests__/mockserver/internal/handler/pathdeletev1projectsidornamerollingreleaseconfig.go @@ -4399,6 +5297,8 @@ generatedFiles: - src/__tests__/mockserver/internal/handler/pathgetv1deploymentsdeploymentidchecks.go - src/__tests__/mockserver/internal/handler/pathgetv1deploymentsdeploymentidcheckscheckid.go - src/__tests__/mockserver/internal/handler/pathgetv1domainsdomainregistry.go + - src/__tests__/mockserver/internal/handler/pathgetv1drains.go + - src/__tests__/mockserver/internal/handler/pathgetv1drainsid.go - src/__tests__/mockserver/internal/handler/pathgetv1edgeconfig.go - src/__tests__/mockserver/internal/handler/pathgetv1edgeconfigedgeconfigid.go - src/__tests__/mockserver/internal/handler/pathgetv1edgeconfigedgeconfigidbackups.go @@ -4407,6 +5307,8 @@ generatedFiles: - src/__tests__/mockserver/internal/handler/pathgetv1edgeconfigedgeconfigidschema.go - src/__tests__/mockserver/internal/handler/pathgetv1edgeconfigedgeconfigidtokens.go - src/__tests__/mockserver/internal/handler/pathgetv1edgeconfigedgeconfigidtokentoken.go + - src/__tests__/mockserver/internal/handler/pathgetv1env.go + - src/__tests__/mockserver/internal/handler/pathgetv1envid.go - src/__tests__/mockserver/internal/handler/pathgetv1installationsintegrationconfigurationidaccount.go - src/__tests__/mockserver/internal/handler/pathgetv1installationsintegrationconfigurationidbillinginvoicesinvoiceid.go - src/__tests__/mockserver/internal/handler/pathgetv1installationsintegrationconfigurationidmembermemberid.go @@ -4415,14 +5317,26 @@ generatedFiles: - src/__tests__/mockserver/internal/handler/pathgetv1integrationsconfigurationid.go - src/__tests__/mockserver/internal/handler/pathgetv1integrationsconfigurationidproducts.go - src/__tests__/mockserver/internal/handler/pathgetv1integrationsintegrationintegrationidorslugproductsproductidorslugplans.go + - src/__tests__/mockserver/internal/handler/pathgetv1logdrains.go + - src/__tests__/mockserver/internal/handler/pathgetv1logdrainsid.go + - src/__tests__/mockserver/internal/handler/pathgetv1projectsidornameclientcert.go - src/__tests__/mockserver/internal/handler/pathgetv1projectsidornameenvid.go - src/__tests__/mockserver/internal/handler/pathgetv1projectsidornamerollingrelease.go - src/__tests__/mockserver/internal/handler/pathgetv1projectsidornamerollingreleasebilling.go - src/__tests__/mockserver/internal/handler/pathgetv1projectsidornamerollingreleaseconfig.go - src/__tests__/mockserver/internal/handler/pathgetv1projectsprojectiddeploymentsdeploymentidruntimelogs.go - src/__tests__/mockserver/internal/handler/pathgetv1projectsprojectidpromotealiases.go + - src/__tests__/mockserver/internal/handler/pathgetv1registrardomainsdomainauthcode.go + - src/__tests__/mockserver/internal/handler/pathgetv1registrardomainsdomainavailability.go + - src/__tests__/mockserver/internal/handler/pathgetv1registrardomainsdomaincontactinfoschema.go + - src/__tests__/mockserver/internal/handler/pathgetv1registrardomainsdomainprice.go + - src/__tests__/mockserver/internal/handler/pathgetv1registrardomainsdomaintransfer.go + - src/__tests__/mockserver/internal/handler/pathgetv1registrarordersorderid.go + - src/__tests__/mockserver/internal/handler/pathgetv1registrartldssupported.go + - src/__tests__/mockserver/internal/handler/pathgetv1registrartldstldprice.go - src/__tests__/mockserver/internal/handler/pathgetv1securityfirewallbypass.go - src/__tests__/mockserver/internal/handler/pathgetv1securityfirewallconfigconfigversion.go + - src/__tests__/mockserver/internal/handler/pathgetv1securityfirewallevents.go - src/__tests__/mockserver/internal/handler/pathgetv1teamsteamidrequestuserid.go - src/__tests__/mockserver/internal/handler/pathgetv1webhooks.go - src/__tests__/mockserver/internal/handler/pathgetv1webhooksid.go @@ -4459,10 +5373,15 @@ generatedFiles: - src/__tests__/mockserver/internal/handler/pathpatchv1deploymentsdeploymentidcheckscheckid.go - src/__tests__/mockserver/internal/handler/pathpatchv1deploymentsdeploymentidintegrationsintegrationconfigurationidresourcesresourceidactionsaction.go - src/__tests__/mockserver/internal/handler/pathpatchv1domainsrecordsrecordid.go + - src/__tests__/mockserver/internal/handler/pathpatchv1drainsid.go - src/__tests__/mockserver/internal/handler/pathpatchv1edgeconfigedgeconfigiditems.go + - src/__tests__/mockserver/internal/handler/pathpatchv1env.go + - src/__tests__/mockserver/internal/handler/pathpatchv1envidunlinkprojectid.go + - src/__tests__/mockserver/internal/handler/pathpatchv1installationsintegrationconfigurationidresourcesresourceid.go - src/__tests__/mockserver/internal/handler/pathpatchv1installationsintegrationconfigurationidresourcesresourceidexperimentationitemsitemid.go - src/__tests__/mockserver/internal/handler/pathpatchv1projectsidornameprotectionbypass.go - src/__tests__/mockserver/internal/handler/pathpatchv1projectsidornamerollingreleaseconfig.go + - src/__tests__/mockserver/internal/handler/pathpatchv1projectsidornamesharedconnectlinks.go - src/__tests__/mockserver/internal/handler/pathpatchv1securityfirewallconfig.go - src/__tests__/mockserver/internal/handler/pathpatchv1teamsteamidmembersuid.go - src/__tests__/mockserver/internal/handler/pathpatchv2teamsteamid.go @@ -4480,9 +5399,12 @@ generatedFiles: - src/__tests__/mockserver/internal/handler/pathpostv1accessgroupsidorname.go - src/__tests__/mockserver/internal/handler/pathpostv1deploymentsdeploymentidchecks.go - src/__tests__/mockserver/internal/handler/pathpostv1deploymentsdeploymentidcheckscheckidrerequest.go + - src/__tests__/mockserver/internal/handler/pathpostv1drains.go + - src/__tests__/mockserver/internal/handler/pathpostv1drainstest.go - src/__tests__/mockserver/internal/handler/pathpostv1edgeconfig.go - src/__tests__/mockserver/internal/handler/pathpostv1edgeconfigedgeconfigidschema.go - src/__tests__/mockserver/internal/handler/pathpostv1edgeconfigedgeconfigidtoken.go + - src/__tests__/mockserver/internal/handler/pathpostv1env.go - src/__tests__/mockserver/internal/handler/pathpostv1installationsintegrationconfigurationidbilling.go - src/__tests__/mockserver/internal/handler/pathpostv1installationsintegrationconfigurationidbillingbalance.go - src/__tests__/mockserver/internal/handler/pathpostv1installationsintegrationconfigurationidbillinginvoices.go @@ -4490,12 +5412,19 @@ generatedFiles: - src/__tests__/mockserver/internal/handler/pathpostv1installationsintegrationconfigurationidevents.go - src/__tests__/mockserver/internal/handler/pathpostv1installationsintegrationconfigurationidresourcesresourceidexperimentationitems.go - src/__tests__/mockserver/internal/handler/pathpostv1integrationsssotoken.go + - src/__tests__/mockserver/internal/handler/pathpostv1logdrains.go + - src/__tests__/mockserver/internal/handler/pathpostv1projectsidornameclientcert.go - src/__tests__/mockserver/internal/handler/pathpostv1projectsidornamedomainsdomainmove.go - src/__tests__/mockserver/internal/handler/pathpostv1projectsidornamemembers.go - src/__tests__/mockserver/internal/handler/pathpostv1projectsidornamerollingreleaseapprovestage.go - src/__tests__/mockserver/internal/handler/pathpostv1projectsidornamerollingreleasecomplete.go - src/__tests__/mockserver/internal/handler/pathpostv1projectsprojectidpause.go - src/__tests__/mockserver/internal/handler/pathpostv1projectsprojectidunpause.go + - src/__tests__/mockserver/internal/handler/pathpostv1registrardomainsavailability.go + - src/__tests__/mockserver/internal/handler/pathpostv1registrardomainsbuy.go + - src/__tests__/mockserver/internal/handler/pathpostv1registrardomainsdomainbuy.go + - src/__tests__/mockserver/internal/handler/pathpostv1registrardomainsdomainrenew.go + - src/__tests__/mockserver/internal/handler/pathpostv1registrardomainsdomaintransfer.go - src/__tests__/mockserver/internal/handler/pathpostv1securityattackmode.go - src/__tests__/mockserver/internal/handler/pathpostv1securityfirewallbypass.go - src/__tests__/mockserver/internal/handler/pathpostv1storagestoresintegrationdirect.go @@ -4506,6 +5435,7 @@ generatedFiles: - src/__tests__/mockserver/internal/handler/pathpostv2deploymentsidaliases.go - src/__tests__/mockserver/internal/handler/pathpostv2files.go - src/__tests__/mockserver/internal/handler/pathpostv2integrationslogdrains.go + - src/__tests__/mockserver/internal/handler/pathpostv2teamsteamidmembers.go - src/__tests__/mockserver/internal/handler/pathpostv3usertokens.go - src/__tests__/mockserver/internal/handler/pathpostv5domainsbuy.go - src/__tests__/mockserver/internal/handler/pathpostv8artifacts.go @@ -4539,7 +5469,11 @@ generatedFiles: - src/__tests__/mockserver/internal/sdk/models/components/edgeconfigtoken.go - src/__tests__/mockserver/internal/sdk/models/components/filetree.go - src/__tests__/mockserver/internal/sdk/models/components/flagjsonvalue.go + - src/__tests__/mockserver/internal/sdk/models/components/forbiddenerror.go - src/__tests__/mockserver/internal/sdk/models/components/httpmetadata.go + - src/__tests__/mockserver/internal/sdk/models/components/internalservererror.go + - src/__tests__/mockserver/internal/sdk/models/components/invitedteammember.go + - src/__tests__/mockserver/internal/sdk/models/components/notauthorizedforscopeerror.go - src/__tests__/mockserver/internal/sdk/models/components/pagination.go - src/__tests__/mockserver/internal/sdk/models/components/ratelimitnotice.go - src/__tests__/mockserver/internal/sdk/models/components/security.go @@ -4560,6 +5494,8 @@ generatedFiles: - src/__tests__/mockserver/internal/sdk/models/operations/assignalias.go - src/__tests__/mockserver/internal/sdk/models/operations/batchremoveprojectenv.go - src/__tests__/mockserver/internal/sdk/models/operations/buydomain.go + - src/__tests__/mockserver/internal/sdk/models/operations/buydomains.go + - src/__tests__/mockserver/internal/sdk/models/operations/buysingledomain.go - src/__tests__/mockserver/internal/sdk/models/operations/canceldeployment.go - src/__tests__/mockserver/internal/sdk/models/operations/checkdomainprice.go - src/__tests__/mockserver/internal/sdk/models/operations/checkdomainstatus.go @@ -4569,8 +5505,10 @@ generatedFiles: - src/__tests__/mockserver/internal/sdk/models/operations/createaccessgroupproject.go - src/__tests__/mockserver/internal/sdk/models/operations/createauthtoken.go - src/__tests__/mockserver/internal/sdk/models/operations/createcheck.go + - src/__tests__/mockserver/internal/sdk/models/operations/createconfigurablelogdrain.go - src/__tests__/mockserver/internal/sdk/models/operations/createcustomenvironment.go - src/__tests__/mockserver/internal/sdk/models/operations/createdeployment.go + - src/__tests__/mockserver/internal/sdk/models/operations/createdrain.go - src/__tests__/mockserver/internal/sdk/models/operations/createedgeconfig.go - src/__tests__/mockserver/internal/sdk/models/operations/createedgeconfigtoken.go - src/__tests__/mockserver/internal/sdk/models/operations/createevent.go @@ -4581,6 +5519,7 @@ generatedFiles: - src/__tests__/mockserver/internal/sdk/models/operations/createprojectenv.go - src/__tests__/mockserver/internal/sdk/models/operations/createprojecttransferrequest.go - src/__tests__/mockserver/internal/sdk/models/operations/createrecord.go + - src/__tests__/mockserver/internal/sdk/models/operations/createsharedenvvariable.go - src/__tests__/mockserver/internal/sdk/models/operations/createteam.go - src/__tests__/mockserver/internal/sdk/models/operations/createwebhook.go - src/__tests__/mockserver/internal/sdk/models/operations/dangerouslydeletebytags.go @@ -4588,16 +5527,20 @@ generatedFiles: - src/__tests__/mockserver/internal/sdk/models/operations/deleteaccessgroupproject.go - src/__tests__/mockserver/internal/sdk/models/operations/deletealias.go - src/__tests__/mockserver/internal/sdk/models/operations/deleteauthtoken.go + - src/__tests__/mockserver/internal/sdk/models/operations/deleteconfigurablelogdrain.go - src/__tests__/mockserver/internal/sdk/models/operations/deleteconfiguration.go - src/__tests__/mockserver/internal/sdk/models/operations/deletedeployment.go - src/__tests__/mockserver/internal/sdk/models/operations/deletedomain.go + - src/__tests__/mockserver/internal/sdk/models/operations/deletedrain.go - src/__tests__/mockserver/internal/sdk/models/operations/deleteedgeconfig.go - src/__tests__/mockserver/internal/sdk/models/operations/deleteedgeconfigschema.go - src/__tests__/mockserver/internal/sdk/models/operations/deleteedgeconfigtokens.go - src/__tests__/mockserver/internal/sdk/models/operations/deleteintegrationlogdrain.go - src/__tests__/mockserver/internal/sdk/models/operations/deleteintegrationresource.go - src/__tests__/mockserver/internal/sdk/models/operations/deleteproject.go + - src/__tests__/mockserver/internal/sdk/models/operations/deleteprojectclientcert.go - src/__tests__/mockserver/internal/sdk/models/operations/deleterollingreleaseconfig.go + - src/__tests__/mockserver/internal/sdk/models/operations/deletesharedenvvariable.go - src/__tests__/mockserver/internal/sdk/models/operations/deleteteam.go - src/__tests__/mockserver/internal/sdk/models/operations/deleteteaminvitecode.go - src/__tests__/mockserver/internal/sdk/models/operations/deletev1installationsintegrationconfigurationidresourcesresourceidexperimentationitemsitemid.go @@ -4610,24 +5553,34 @@ generatedFiles: - src/__tests__/mockserver/internal/sdk/models/operations/getactiveattackstatus.go - src/__tests__/mockserver/internal/sdk/models/operations/getalias.go - src/__tests__/mockserver/internal/sdk/models/operations/getallchecks.go + - src/__tests__/mockserver/internal/sdk/models/operations/getalllogdrains.go - src/__tests__/mockserver/internal/sdk/models/operations/getauthtoken.go - src/__tests__/mockserver/internal/sdk/models/operations/getauthuser.go - src/__tests__/mockserver/internal/sdk/models/operations/getbillingplans.go + - src/__tests__/mockserver/internal/sdk/models/operations/getbulkavailability.go - src/__tests__/mockserver/internal/sdk/models/operations/getbypassip.go - src/__tests__/mockserver/internal/sdk/models/operations/getcertbyid.go - src/__tests__/mockserver/internal/sdk/models/operations/getcheck.go + - src/__tests__/mockserver/internal/sdk/models/operations/getconfigurablelogdrain.go - src/__tests__/mockserver/internal/sdk/models/operations/getconfiguration.go - src/__tests__/mockserver/internal/sdk/models/operations/getconfigurationproducts.go - src/__tests__/mockserver/internal/sdk/models/operations/getconfigurations.go + - src/__tests__/mockserver/internal/sdk/models/operations/getcontactinfoschema.go - src/__tests__/mockserver/internal/sdk/models/operations/getcustomenvironment.go - src/__tests__/mockserver/internal/sdk/models/operations/getdeployment.go - src/__tests__/mockserver/internal/sdk/models/operations/getdeploymentevents.go - src/__tests__/mockserver/internal/sdk/models/operations/getdeploymentfilecontents.go - src/__tests__/mockserver/internal/sdk/models/operations/getdeployments.go - src/__tests__/mockserver/internal/sdk/models/operations/getdomain.go + - src/__tests__/mockserver/internal/sdk/models/operations/getdomainauthcode.go + - src/__tests__/mockserver/internal/sdk/models/operations/getdomainavailability.go - src/__tests__/mockserver/internal/sdk/models/operations/getdomainconfig.go + - src/__tests__/mockserver/internal/sdk/models/operations/getdomainprice.go - src/__tests__/mockserver/internal/sdk/models/operations/getdomains.go - src/__tests__/mockserver/internal/sdk/models/operations/getdomaintransfer.go + - src/__tests__/mockserver/internal/sdk/models/operations/getdomaintransferin.go + - src/__tests__/mockserver/internal/sdk/models/operations/getdrain.go + - src/__tests__/mockserver/internal/sdk/models/operations/getdrains.go - src/__tests__/mockserver/internal/sdk/models/operations/getedgeconfig.go - src/__tests__/mockserver/internal/sdk/models/operations/getedgeconfigbackup.go - src/__tests__/mockserver/internal/sdk/models/operations/getedgeconfigbackups.go @@ -4643,6 +5596,8 @@ generatedFiles: - src/__tests__/mockserver/internal/sdk/models/operations/getintegrationresources.go - src/__tests__/mockserver/internal/sdk/models/operations/getinvoice.go - src/__tests__/mockserver/internal/sdk/models/operations/getmember.go + - src/__tests__/mockserver/internal/sdk/models/operations/getorder.go + - src/__tests__/mockserver/internal/sdk/models/operations/getprojectclientcerts.go - src/__tests__/mockserver/internal/sdk/models/operations/getprojectdomain.go - src/__tests__/mockserver/internal/sdk/models/operations/getprojectdomains.go - src/__tests__/mockserver/internal/sdk/models/operations/getprojectenv.go @@ -4653,10 +5608,14 @@ generatedFiles: - src/__tests__/mockserver/internal/sdk/models/operations/getrollingreleasebillingstatus.go - src/__tests__/mockserver/internal/sdk/models/operations/getrollingreleaseconfig.go - src/__tests__/mockserver/internal/sdk/models/operations/getruntimelogs.go + - src/__tests__/mockserver/internal/sdk/models/operations/getsharedenvvar.go + - src/__tests__/mockserver/internal/sdk/models/operations/getsupportedtlds.go - src/__tests__/mockserver/internal/sdk/models/operations/getteam.go - src/__tests__/mockserver/internal/sdk/models/operations/getteamaccessrequest.go - src/__tests__/mockserver/internal/sdk/models/operations/getteammembers.go - src/__tests__/mockserver/internal/sdk/models/operations/getteams.go + - src/__tests__/mockserver/internal/sdk/models/operations/gettldprice.go + - src/__tests__/mockserver/internal/sdk/models/operations/getv1securityfirewallevents.go - src/__tests__/mockserver/internal/sdk/models/operations/getv9projectsidornamecustomenvironments.go - src/__tests__/mockserver/internal/sdk/models/operations/getwebhook.go - src/__tests__/mockserver/internal/sdk/models/operations/getwebhooks.go @@ -4674,6 +5633,7 @@ generatedFiles: - src/__tests__/mockserver/internal/sdk/models/operations/listdeploymentaliases.go - src/__tests__/mockserver/internal/sdk/models/operations/listdeploymentfiles.go - src/__tests__/mockserver/internal/sdk/models/operations/listpromotealiases.go + - src/__tests__/mockserver/internal/sdk/models/operations/listsharedenvvariable.go - src/__tests__/mockserver/internal/sdk/models/operations/listuserevents.go - src/__tests__/mockserver/internal/sdk/models/operations/moveprojectdomain.go - src/__tests__/mockserver/internal/sdk/models/operations/patchdomain.go @@ -4697,6 +5657,7 @@ generatedFiles: - src/__tests__/mockserver/internal/sdk/models/operations/removeprojectmember.go - src/__tests__/mockserver/internal/sdk/models/operations/removerecord.go - src/__tests__/mockserver/internal/sdk/models/operations/removeteammember.go + - src/__tests__/mockserver/internal/sdk/models/operations/renewdomain.go - src/__tests__/mockserver/internal/sdk/models/operations/requestaccesstoteam.go - src/__tests__/mockserver/internal/sdk/models/operations/requestdelete.go - src/__tests__/mockserver/internal/sdk/models/operations/requestpromote.go @@ -4705,14 +5666,21 @@ generatedFiles: - src/__tests__/mockserver/internal/sdk/models/operations/submitbillingdata.go - src/__tests__/mockserver/internal/sdk/models/operations/submitinvoice.go - src/__tests__/mockserver/internal/sdk/models/operations/submitprepaymentbalances.go + - src/__tests__/mockserver/internal/sdk/models/operations/testdrain.go + - src/__tests__/mockserver/internal/sdk/models/operations/transferindomain.go + - src/__tests__/mockserver/internal/sdk/models/operations/unlinksharedenvvariable.go - src/__tests__/mockserver/internal/sdk/models/operations/unpauseproject.go - src/__tests__/mockserver/internal/sdk/models/operations/updateaccessgroup.go - src/__tests__/mockserver/internal/sdk/models/operations/updateaccessgroupproject.go - src/__tests__/mockserver/internal/sdk/models/operations/updateattackchallengemode.go - src/__tests__/mockserver/internal/sdk/models/operations/updatecheck.go - src/__tests__/mockserver/internal/sdk/models/operations/updatecustomenvironment.go + - src/__tests__/mockserver/internal/sdk/models/operations/updatedomainautorenew.go + - src/__tests__/mockserver/internal/sdk/models/operations/updatedomainnameservers.go + - src/__tests__/mockserver/internal/sdk/models/operations/updatedrain.go - src/__tests__/mockserver/internal/sdk/models/operations/updateedgeconfig.go - src/__tests__/mockserver/internal/sdk/models/operations/updatefirewallconfig.go + - src/__tests__/mockserver/internal/sdk/models/operations/updateinstallation.go - src/__tests__/mockserver/internal/sdk/models/operations/updateintegrationdeploymentaction.go - src/__tests__/mockserver/internal/sdk/models/operations/updateinvoice.go - src/__tests__/mockserver/internal/sdk/models/operations/updateproject.go @@ -4720,14 +5688,30 @@ generatedFiles: - src/__tests__/mockserver/internal/sdk/models/operations/updateprojectdomain.go - src/__tests__/mockserver/internal/sdk/models/operations/updateprojectprotectionbypass.go - src/__tests__/mockserver/internal/sdk/models/operations/updaterecord.go + - src/__tests__/mockserver/internal/sdk/models/operations/updateresource.go - src/__tests__/mockserver/internal/sdk/models/operations/updateresourcesecrets.go - src/__tests__/mockserver/internal/sdk/models/operations/updateresourcesecretsbyid.go - src/__tests__/mockserver/internal/sdk/models/operations/updaterollingreleaseconfig.go + - src/__tests__/mockserver/internal/sdk/models/operations/updatesharedenvvariable.go + - src/__tests__/mockserver/internal/sdk/models/operations/updatestaticips.go - src/__tests__/mockserver/internal/sdk/models/operations/updateteammember.go - src/__tests__/mockserver/internal/sdk/models/operations/uploadartifact.go - src/__tests__/mockserver/internal/sdk/models/operations/uploadcert.go - src/__tests__/mockserver/internal/sdk/models/operations/uploadfile.go + - src/__tests__/mockserver/internal/sdk/models/operations/uploadprojectclientcert.go - src/__tests__/mockserver/internal/sdk/models/operations/verifyprojectdomain.go + - src/__tests__/mockserver/internal/sdk/models/sdkerrors/buydomains.go + - src/__tests__/mockserver/internal/sdk/models/sdkerrors/buysingledomain.go + - src/__tests__/mockserver/internal/sdk/models/sdkerrors/forbiddenerror.go + - src/__tests__/mockserver/internal/sdk/models/sdkerrors/getdomainauthcode.go + - src/__tests__/mockserver/internal/sdk/models/sdkerrors/getdomaintransferin.go + - src/__tests__/mockserver/internal/sdk/models/sdkerrors/getorder.go + - src/__tests__/mockserver/internal/sdk/models/sdkerrors/internalservererror.go + - src/__tests__/mockserver/internal/sdk/models/sdkerrors/notauthorizedforscopeerror.go + - src/__tests__/mockserver/internal/sdk/models/sdkerrors/renewdomain.go + - src/__tests__/mockserver/internal/sdk/models/sdkerrors/transferindomain.go + - src/__tests__/mockserver/internal/sdk/models/sdkerrors/updatedomainautorenew.go + - src/__tests__/mockserver/internal/sdk/models/sdkerrors/updatedomainnameservers.go - src/__tests__/mockserver/internal/sdk/models/sdkerrors/vercelbadrequesterror.go - src/__tests__/mockserver/internal/sdk/models/sdkerrors/vercelforbiddenerror.go - src/__tests__/mockserver/internal/sdk/models/sdkerrors/vercelnotfounderror.go @@ -4797,6 +5781,7 @@ generatedFiles: - src/funcs/checksGetCheck.ts - src/funcs/checksRerequestCheck.ts - src/funcs/checksUpdateCheck.ts + - src/funcs/connectUpdateStaticIps.ts - src/funcs/deploymentsCancelDeployment.ts - src/funcs/deploymentsCreateDeployment.ts - src/funcs/deploymentsDeleteDeployment.ts @@ -4821,6 +5806,27 @@ generatedFiles: - src/funcs/domainsGetDomainTransfer.ts - src/funcs/domainsGetDomains.ts - src/funcs/domainsPatchDomain.ts + - src/funcs/domainsRegistrarBuyDomains.ts + - src/funcs/domainsRegistrarBuySingleDomain.ts + - src/funcs/domainsRegistrarGetBulkAvailability.ts + - src/funcs/domainsRegistrarGetContactInfoSchema.ts + - src/funcs/domainsRegistrarGetDomainAuthCode.ts + - src/funcs/domainsRegistrarGetDomainAvailability.ts + - src/funcs/domainsRegistrarGetDomainPrice.ts + - src/funcs/domainsRegistrarGetDomainTransferIn.ts + - src/funcs/domainsRegistrarGetOrder.ts + - src/funcs/domainsRegistrarGetSupportedTlds.ts + - src/funcs/domainsRegistrarGetTldPrice.ts + - src/funcs/domainsRegistrarRenewDomain.ts + - src/funcs/domainsRegistrarTransferInDomain.ts + - src/funcs/domainsRegistrarUpdateDomainAutoRenew.ts + - src/funcs/domainsRegistrarUpdateDomainNameservers.ts + - src/funcs/drainsCreateDrain.ts + - src/funcs/drainsDeleteDrain.ts + - src/funcs/drainsGetDrain.ts + - src/funcs/drainsGetDrains.ts + - src/funcs/drainsTestDrain.ts + - src/funcs/drainsUpdateDrain.ts - src/funcs/edgeCacheDangerouslyDeleteByTags.ts - src/funcs/edgeCacheInvalidateByTags.ts - src/funcs/edgeConfigCreateEdgeConfig.ts @@ -4841,10 +5847,16 @@ generatedFiles: - src/funcs/edgeConfigPatchEdgeConfigSchema.ts - src/funcs/edgeConfigUpdateEdgeConfig.ts - src/funcs/environmentCreateCustomEnvironment.ts + - src/funcs/environmentCreateSharedEnvVariable.ts + - src/funcs/environmentDeleteSharedEnvVariable.ts - src/funcs/environmentGetCustomEnvironment.ts + - src/funcs/environmentGetSharedEnvVar.ts - src/funcs/environmentGetV9ProjectsIdOrNameCustomEnvironments.ts + - src/funcs/environmentListSharedEnvVariable.ts - src/funcs/environmentRemoveCustomEnvironment.ts + - src/funcs/environmentUnlinkSharedEnvVariable.ts - src/funcs/environmentUpdateCustomEnvironment.ts + - src/funcs/environmentUpdateSharedEnvVariable.ts - src/funcs/integrationsConnectIntegrationResourceToProject.ts - src/funcs/integrationsCreateIntegrationStoreDirect.ts - src/funcs/integrationsDeleteConfiguration.ts @@ -4852,8 +5864,12 @@ generatedFiles: - src/funcs/integrationsGetConfiguration.ts - src/funcs/integrationsGetConfigurationProducts.ts - src/funcs/integrationsGetConfigurations.ts + - src/funcs/logDrainsCreateConfigurableLogDrain.ts - src/funcs/logDrainsCreateLogDrain.ts + - src/funcs/logDrainsDeleteConfigurableLogDrain.ts - src/funcs/logDrainsDeleteIntegrationLogDrain.ts + - src/funcs/logDrainsGetAllLogDrains.ts + - src/funcs/logDrainsGetConfigurableLogDrain.ts - src/funcs/logDrainsGetIntegrationLogDrains.ts - src/funcs/logsGetRuntimeLogs.ts - src/funcs/marketplaceCreateEvent.ts @@ -4871,9 +5887,11 @@ generatedFiles: - src/funcs/marketplaceSubmitBillingData.ts - src/funcs/marketplaceSubmitInvoice.ts - src/funcs/marketplaceSubmitPrepaymentBalances.ts + - src/funcs/marketplaceUpdateInstallation.ts - src/funcs/marketplaceUpdateInstallationIntegrationConfiguration.ts - src/funcs/marketplaceUpdateInstallationIntegrationEdgeConfig.ts - src/funcs/marketplaceUpdateInvoice.ts + - src/funcs/marketplaceUpdateResource.ts - src/funcs/marketplaceUpdateResourceSecrets.ts - src/funcs/marketplaceUpdateResourceSecretsById.ts - src/funcs/projectMembersAddProjectMember.ts @@ -4886,8 +5904,10 @@ generatedFiles: - src/funcs/projectsCreateProjectEnv.ts - src/funcs/projectsCreateProjectTransferRequest.ts - src/funcs/projectsDeleteProject.ts + - src/funcs/projectsDeleteProjectClientCert.ts - src/funcs/projectsEditProjectEnv.ts - src/funcs/projectsFilterProjectEnvs.ts + - src/funcs/projectsGetProjectClientCerts.ts - src/funcs/projectsGetProjectDomain.ts - src/funcs/projectsGetProjectDomains.ts - src/funcs/projectsGetProjectEnv.ts @@ -4903,6 +5923,7 @@ generatedFiles: - src/funcs/projectsUpdateProjectDataCache.ts - src/funcs/projectsUpdateProjectDomain.ts - src/funcs/projectsUpdateProjectProtectionBypass.ts + - src/funcs/projectsUploadProjectClientCert.ts - src/funcs/projectsVerifyProjectDomain.ts - src/funcs/rollingReleaseApproveRollingReleaseStage.ts - src/funcs/rollingReleaseCompleteRollingRelease.ts @@ -4915,6 +5936,7 @@ generatedFiles: - src/funcs/securityGetActiveAttackStatus.ts - src/funcs/securityGetBypassIp.ts - src/funcs/securityGetFirewallConfig.ts + - src/funcs/securityGetV1SecurityFirewallEvents.ts - src/funcs/securityPutFirewallConfig.ts - src/funcs/securityRemoveBypassIp.ts - src/funcs/securityUpdateAttackChallengeMode.ts @@ -5006,6 +6028,7 @@ generatedFiles: - src/mcp-server/tools/checksGetCheck.ts - src/mcp-server/tools/checksRerequestCheck.ts - src/mcp-server/tools/checksUpdateCheck.ts + - src/mcp-server/tools/connectUpdateStaticIps.ts - src/mcp-server/tools/deploymentsCancelDeployment.ts - src/mcp-server/tools/deploymentsCreateDeployment.ts - src/mcp-server/tools/deploymentsDeleteDeployment.ts @@ -5030,6 +6053,27 @@ generatedFiles: - src/mcp-server/tools/domainsGetDomainTransfer.ts - src/mcp-server/tools/domainsGetDomains.ts - src/mcp-server/tools/domainsPatchDomain.ts + - src/mcp-server/tools/domainsRegistrarBuyDomains.ts + - src/mcp-server/tools/domainsRegistrarBuySingleDomain.ts + - src/mcp-server/tools/domainsRegistrarGetBulkAvailability.ts + - src/mcp-server/tools/domainsRegistrarGetContactInfoSchema.ts + - src/mcp-server/tools/domainsRegistrarGetDomainAuthCode.ts + - src/mcp-server/tools/domainsRegistrarGetDomainAvailability.ts + - src/mcp-server/tools/domainsRegistrarGetDomainPrice.ts + - src/mcp-server/tools/domainsRegistrarGetDomainTransferIn.ts + - src/mcp-server/tools/domainsRegistrarGetOrder.ts + - src/mcp-server/tools/domainsRegistrarGetSupportedTlds.ts + - src/mcp-server/tools/domainsRegistrarGetTldPrice.ts + - src/mcp-server/tools/domainsRegistrarRenewDomain.ts + - src/mcp-server/tools/domainsRegistrarTransferInDomain.ts + - src/mcp-server/tools/domainsRegistrarUpdateDomainAutoRenew.ts + - src/mcp-server/tools/domainsRegistrarUpdateDomainNameservers.ts + - src/mcp-server/tools/drainsCreateDrain.ts + - src/mcp-server/tools/drainsDeleteDrain.ts + - src/mcp-server/tools/drainsGetDrain.ts + - src/mcp-server/tools/drainsGetDrains.ts + - src/mcp-server/tools/drainsTestDrain.ts + - src/mcp-server/tools/drainsUpdateDrain.ts - src/mcp-server/tools/edgeCacheDangerouslyDeleteByTags.ts - src/mcp-server/tools/edgeCacheInvalidateByTags.ts - src/mcp-server/tools/edgeConfigCreateEdgeConfig.ts @@ -5050,10 +6094,16 @@ generatedFiles: - src/mcp-server/tools/edgeConfigPatchEdgeConfigSchema.ts - src/mcp-server/tools/edgeConfigUpdateEdgeConfig.ts - src/mcp-server/tools/environmentCreateCustomEnvironment.ts + - src/mcp-server/tools/environmentCreateSharedEnvVariable.ts + - src/mcp-server/tools/environmentDeleteSharedEnvVariable.ts - src/mcp-server/tools/environmentGetCustomEnvironment.ts + - src/mcp-server/tools/environmentGetSharedEnvVar.ts - src/mcp-server/tools/environmentGetV9ProjectsIdOrNameCustomEnvironments.ts + - src/mcp-server/tools/environmentListSharedEnvVariable.ts - src/mcp-server/tools/environmentRemoveCustomEnvironment.ts + - src/mcp-server/tools/environmentUnlinkSharedEnvVariable.ts - src/mcp-server/tools/environmentUpdateCustomEnvironment.ts + - src/mcp-server/tools/environmentUpdateSharedEnvVariable.ts - src/mcp-server/tools/integrationsConnectIntegrationResourceToProject.ts - src/mcp-server/tools/integrationsCreateIntegrationStoreDirect.ts - src/mcp-server/tools/integrationsDeleteConfiguration.ts @@ -5061,8 +6111,12 @@ generatedFiles: - src/mcp-server/tools/integrationsGetConfiguration.ts - src/mcp-server/tools/integrationsGetConfigurationProducts.ts - src/mcp-server/tools/integrationsGetConfigurations.ts + - src/mcp-server/tools/logDrainsCreateConfigurableLogDrain.ts - src/mcp-server/tools/logDrainsCreateLogDrain.ts + - src/mcp-server/tools/logDrainsDeleteConfigurableLogDrain.ts - src/mcp-server/tools/logDrainsDeleteIntegrationLogDrain.ts + - src/mcp-server/tools/logDrainsGetAllLogDrains.ts + - src/mcp-server/tools/logDrainsGetConfigurableLogDrain.ts - src/mcp-server/tools/logDrainsGetIntegrationLogDrains.ts - src/mcp-server/tools/logsGetRuntimeLogs.ts - src/mcp-server/tools/marketplaceCreateEvent.ts @@ -5080,9 +6134,11 @@ generatedFiles: - src/mcp-server/tools/marketplaceSubmitBillingData.ts - src/mcp-server/tools/marketplaceSubmitInvoice.ts - src/mcp-server/tools/marketplaceSubmitPrepaymentBalances.ts + - src/mcp-server/tools/marketplaceUpdateInstallation.ts - src/mcp-server/tools/marketplaceUpdateInstallationIntegrationConfiguration.ts - src/mcp-server/tools/marketplaceUpdateInstallationIntegrationEdgeConfig.ts - src/mcp-server/tools/marketplaceUpdateInvoice.ts + - src/mcp-server/tools/marketplaceUpdateResource.ts - src/mcp-server/tools/marketplaceUpdateResourceSecrets.ts - src/mcp-server/tools/marketplaceUpdateResourceSecretsById.ts - src/mcp-server/tools/projectMembersAddProjectMember.ts @@ -5095,8 +6151,10 @@ generatedFiles: - src/mcp-server/tools/projectsCreateProjectEnv.ts - src/mcp-server/tools/projectsCreateProjectTransferRequest.ts - src/mcp-server/tools/projectsDeleteProject.ts + - src/mcp-server/tools/projectsDeleteProjectClientCert.ts - src/mcp-server/tools/projectsEditProjectEnv.ts - src/mcp-server/tools/projectsFilterProjectEnvs.ts + - src/mcp-server/tools/projectsGetProjectClientCerts.ts - src/mcp-server/tools/projectsGetProjectDomain.ts - src/mcp-server/tools/projectsGetProjectDomains.ts - src/mcp-server/tools/projectsGetProjectEnv.ts @@ -5112,6 +6170,7 @@ generatedFiles: - src/mcp-server/tools/projectsUpdateProjectDataCache.ts - src/mcp-server/tools/projectsUpdateProjectDomain.ts - src/mcp-server/tools/projectsUpdateProjectProtectionBypass.ts + - src/mcp-server/tools/projectsUploadProjectClientCert.ts - src/mcp-server/tools/projectsVerifyProjectDomain.ts - src/mcp-server/tools/rollingReleaseApproveRollingReleaseStage.ts - src/mcp-server/tools/rollingReleaseCompleteRollingRelease.ts @@ -5124,6 +6183,7 @@ generatedFiles: - src/mcp-server/tools/securityGetActiveAttackStatus.ts - src/mcp-server/tools/securityGetBypassIp.ts - src/mcp-server/tools/securityGetFirewallConfig.ts + - src/mcp-server/tools/securityGetV1SecurityFirewallEvents.ts - src/mcp-server/tools/securityPutFirewallConfig.ts - src/mcp-server/tools/securityRemoveBypassIp.ts - src/mcp-server/tools/securityUpdateAttackChallengeMode.ts @@ -5162,6 +6222,8 @@ generatedFiles: - src/models/authuserlimited.ts - src/models/batchremoveprojectenvop.ts - src/models/buydomainop.ts + - src/models/buydomainsop.ts + - src/models/buysingledomainop.ts - src/models/canceldeploymentop.ts - src/models/checkdomainpriceop.ts - src/models/checkdomainstatusop.ts @@ -5171,8 +6233,10 @@ generatedFiles: - src/models/createaccessgroupprojectop.ts - src/models/createauthtokenop.ts - src/models/createcheckop.ts + - src/models/createconfigurablelogdrainop.ts - src/models/createcustomenvironmentop.ts - src/models/createdeploymentop.ts + - src/models/createdrainop.ts - src/models/createedgeconfigop.ts - src/models/createedgeconfigtokenop.ts - src/models/createeventop.ts @@ -5183,6 +6247,7 @@ generatedFiles: - src/models/createprojectop.ts - src/models/createprojecttransferrequestop.ts - src/models/createrecordop.ts + - src/models/createsharedenvvariableop.ts - src/models/createteamop.ts - src/models/createwebhookop.ts - src/models/dangerouslydeletebytagsop.ts @@ -5190,16 +6255,20 @@ generatedFiles: - 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/deletedrainop.ts - src/models/deleteedgeconfigop.ts - src/models/deleteedgeconfigschemaop.ts - src/models/deleteedgeconfigtokensop.ts - src/models/deleteintegrationlogdrainop.ts - src/models/deleteintegrationresourceop.ts + - src/models/deleteprojectclientcertop.ts - src/models/deleteprojectop.ts - src/models/deleterollingreleaseconfigop.ts + - src/models/deletesharedenvvariableop.ts - src/models/deleteteaminvitecodeop.ts - src/models/deleteteamop.ts - src/models/deletev1installationsintegrationconfigurationidresourcesresourceidexperimentationitemsitemidop.ts @@ -5213,28 +6282,39 @@ generatedFiles: - src/models/filetree.ts - src/models/filterprojectenvsop.ts - src/models/flagjsonvalue.ts + - src/models/forbidden.ts - src/models/getaccountinfoop.ts - src/models/getactiveattackstatusop.ts - src/models/getaliasop.ts - src/models/getallchecksop.ts + - src/models/getalllogdrainsop.ts - src/models/getauthtokenop.ts - src/models/getauthuserop.ts - src/models/getbillingplansop.ts + - src/models/getbulkavailabilityop.ts - src/models/getbypassipop.ts - src/models/getcertbyidop.ts - src/models/getcheckop.ts + - src/models/getconfigurablelogdrainop.ts - src/models/getconfigurationop.ts - src/models/getconfigurationproductsop.ts - src/models/getconfigurationsop.ts + - src/models/getcontactinfoschemaop.ts - src/models/getcustomenvironmentop.ts - src/models/getdeploymenteventsop.ts - src/models/getdeploymentfilecontentsop.ts - src/models/getdeploymentop.ts - src/models/getdeploymentsop.ts + - src/models/getdomainauthcodeop.ts + - src/models/getdomainavailabilityop.ts - src/models/getdomainconfigop.ts - src/models/getdomainop.ts + - src/models/getdomainpriceop.ts - src/models/getdomainsop.ts + - src/models/getdomaintransferinop.ts - src/models/getdomaintransferop.ts + - src/models/getdrainop.ts + - src/models/getdrainsop.ts - src/models/getedgeconfigbackupop.ts - src/models/getedgeconfigbackupsop.ts - src/models/getedgeconfigitemop.ts @@ -5250,6 +6330,8 @@ generatedFiles: - src/models/getintegrationresourcesop.ts - src/models/getinvoiceop.ts - src/models/getmemberop.ts + - src/models/getorderop.ts + - src/models/getprojectclientcertsop.ts - src/models/getprojectdomainop.ts - src/models/getprojectdomainsop.ts - src/models/getprojectenvop.ts @@ -5260,17 +6342,23 @@ generatedFiles: - src/models/getrollingreleaseconfigop.ts - src/models/getrollingreleaseop.ts - src/models/getruntimelogsop.ts + - src/models/getsharedenvvarop.ts + - src/models/getsupportedtldsop.ts - src/models/getteamaccessrequestop.ts - src/models/getteammembersop.ts - src/models/getteamop.ts - src/models/getteamsop.ts + - src/models/gettldpriceop.ts + - src/models/getv1securityfirewalleventsop.ts - src/models/getv9projectsidornamecustomenvironmentsop.ts - src/models/getwebhookop.ts - src/models/getwebhooksop.ts - src/models/headv1installationsintegrationconfigurationidresourcesresourceidexperimentationedgeconfigop.ts - src/models/httpclienterrors.ts - src/models/importresourceop.ts + - src/models/internalservererror.ts - src/models/invalidatebytagsop.ts + - src/models/invitedteammember.ts - src/models/inviteusertoteamop.ts - src/models/issuecertop.ts - src/models/jointeamop.ts @@ -5282,8 +6370,10 @@ generatedFiles: - src/models/listdeploymentaliasesop.ts - src/models/listdeploymentfilesop.ts - src/models/listpromotealiasesop.ts + - src/models/listsharedenvvariableop.ts - src/models/listusereventsop.ts - src/models/moveprojectdomainop.ts + - src/models/notauthorizedforscope.ts - src/models/pagination.ts - src/models/patchdomainop.ts - src/models/patchedgeconfigitemsop.ts @@ -5307,6 +6397,7 @@ generatedFiles: - src/models/removeprojectmemberop.ts - src/models/removerecordop.ts - src/models/removeteammemberop.ts + - src/models/renewdomainop.ts - src/models/requestaccesstoteamop.ts - src/models/requestdeleteop.ts - src/models/requestpromoteop.ts @@ -5321,14 +6412,21 @@ generatedFiles: - src/models/submitprepaymentbalancesop.ts - src/models/team.ts - src/models/teamlimited.ts + - src/models/testdrainop.ts + - src/models/transferindomainop.ts + - src/models/unlinksharedenvvariableop.ts - src/models/unpauseprojectop.ts - src/models/updateaccessgroupop.ts - src/models/updateaccessgroupprojectop.ts - src/models/updateattackchallengemodeop.ts - src/models/updatecheckop.ts - src/models/updatecustomenvironmentop.ts + - src/models/updatedomainautorenewop.ts + - src/models/updatedomainnameserversop.ts + - src/models/updatedrainop.ts - src/models/updateedgeconfigop.ts - src/models/updatefirewallconfigop.ts + - src/models/updateinstallationop.ts - src/models/updateintegrationdeploymentactionop.ts - src/models/updateinvoiceop.ts - src/models/updateprojectdatacacheop.ts @@ -5336,13 +6434,17 @@ generatedFiles: - src/models/updateprojectop.ts - src/models/updateprojectprotectionbypassop.ts - src/models/updaterecordop.ts + - src/models/updateresourceop.ts - src/models/updateresourcesecretsbyidop.ts - src/models/updateresourcesecretsop.ts - src/models/updaterollingreleaseconfigop.ts + - src/models/updatesharedenvvariableop.ts + - src/models/updatestaticipsop.ts - src/models/updateteammemberop.ts - src/models/uploadartifactop.ts - src/models/uploadcertop.ts - src/models/uploadfileop.ts + - src/models/uploadprojectclientcertop.ts - src/models/userevent.ts - src/models/vercelbadrequesterror.ts - src/models/vercelerror.ts @@ -5356,9 +6458,12 @@ generatedFiles: - src/sdk/authentication.ts - src/sdk/certs.ts - src/sdk/checks.ts + - src/sdk/connect.ts - src/sdk/deployments.ts - src/sdk/dns.ts - src/sdk/domains.ts + - src/sdk/domainsregistrar.ts + - src/sdk/drains.ts - src/sdk/edgecache.ts - src/sdk/edgeconfig.ts - src/sdk/environment.ts @@ -5371,6 +6476,7 @@ generatedFiles: - src/sdk/rollingrelease.ts - src/sdk/sdk.ts - src/sdk/security.ts + - src/sdk/staticips.ts - src/sdk/teams.ts - src/sdk/user.ts - src/sdk/webhooks.ts @@ -6035,6 +7141,8 @@ examples: slug: "my-team-url-slug" elasticConcurrencyEnabled: "1" sortByElasticConcurrency: "desc" + staticIpsEnabled: "1" + buildMachineTypes: "default,enhanced" responses: "200": application/json: {"projects": [{"accountId": "", "crons": {"enabledAt": 5254.53, "disabledAt": null, "updatedAt": 514.35, "deploymentId": "", "definitions": [{"host": "vercel.com", "path": "/api/crons/sync-something?hello=world", "schedule": "0 0 * * *"}]}, "directoryListing": false, "id": "", "latestDeployments": [{"id": "", "createdAt": 6310.4, "createdIn": "", "creator": {"email": "Howell_Metz@gmail.com", "uid": "", "username": "Mohammed_Bechtelar67"}, "deploymentHostname": "", "name": "", "plan": "pro", "previewCommentsEnabled": false, "private": true, "readyState": "ERROR", "type": "LAMBDAS", "url": "https://monthly-numeracy.net/", "userId": ""}, {"id": "", "createdAt": 6310.4, "createdIn": "", "creator": {"email": "Howell_Metz@gmail.com", "uid": "", "username": "Mohammed_Bechtelar67"}, "deploymentHostname": "", "name": "", "plan": "pro", "previewCommentsEnabled": false, "private": true, "readyState": "ERROR", "type": "LAMBDAS", "url": "https://monthly-numeracy.net/", "userId": ""}], "name": "", "nodeVersion": "14.x", "resourceConfig": {"functionDefaultRegions": ["", ""]}, "defaultResourceConfig": {"functionDefaultRegions": ["", ""]}, "targets": {"key": {"id": "", "createdAt": 3954.3, "createdIn": "", "creator": {"email": "Tavares_Hills95@gmail.com", "uid": "", "username": "Dariana_Hand"}, "deploymentHostname": "", "name": "", "plan": "hobby", "previewCommentsEnabled": false, "private": false, "readyState": "ERROR", "type": "LAMBDAS", "url": "https://obedient-mentor.org/", "userId": ""}}}, {"accountId": "", "crons": {"enabledAt": 5254.53, "disabledAt": null, "updatedAt": 514.35, "deploymentId": "", "definitions": [{"host": "vercel.com", "path": "/api/crons/sync-something?hello=world", "schedule": "0 0 * * *"}]}, "directoryListing": false, "id": "", "latestDeployments": [{"id": "", "createdAt": 6310.4, "createdIn": "", "creator": {"email": "Howell_Metz@gmail.com", "uid": "", "username": "Mohammed_Bechtelar67"}, "deploymentHostname": "", "name": "", "plan": "pro", "previewCommentsEnabled": false, "private": true, "readyState": "ERROR", "type": "LAMBDAS", "url": "https://monthly-numeracy.net/", "userId": ""}, {"id": "", "createdAt": 6310.4, "createdIn": "", "creator": {"email": "Howell_Metz@gmail.com", "uid": "", "username": "Mohammed_Bechtelar67"}, "deploymentHostname": "", "name": "", "plan": "pro", "previewCommentsEnabled": false, "private": true, "readyState": "ERROR", "type": "LAMBDAS", "url": "https://monthly-numeracy.net/", "userId": ""}], "name": "", "nodeVersion": "14.x", "resourceConfig": {"functionDefaultRegions": ["", ""]}, "defaultResourceConfig": {"functionDefaultRegions": ["", ""]}, "targets": {"key": {"id": "", "createdAt": 3954.3, "createdIn": "", "creator": {"email": "Tavares_Hills95@gmail.com", "uid": "", "username": "Dariana_Hand"}, "deploymentHostname": "", "name": "", "plan": "hobby", "previewCommentsEnabled": false, "private": false, "readyState": "ERROR", "type": "LAMBDAS", "url": "https://obedient-mentor.org/", "userId": ""}}}], "pagination": {"count": 20, "next": 1540095775951, "prev": 1540095775951}} @@ -6493,7 +7601,7 @@ examples: application/json: {"deploymentId": "dpl_2qn7PZrx89yxY34vEZPD31Y9XVj6", "files": [{"file": "folder/file.js"}], "gitMetadata": {"remoteUrl": "https://github.com/vercel/next.js", "commitAuthorName": "kyliau", "commitAuthorEmail": "kyliau@example.com", "commitMessage": "add method to measure Interaction to Next Paint (INP) (#36490)", "commitRef": "main", "commitSha": "dc36199b2234c6586ebe05ec94078a895c707e29", "dirty": true, "ci": true, "ciType": "github-actions", "ciGitProviderUsername": "rauchg", "ciGitRepoVisibility": "private"}, "gitSource": {"org": "vercel", "ref": "main", "repo": "next.js", "sha": "a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0", "type": "github"}, "meta": {"foo": "bar"}, "name": "my-instant-deployment", "project": "my-deployment-project", "projectSettings": {"buildCommand": "next build", "installCommand": "pnpm install"}, "target": "production"} responses: "200": - application/json: {"build": {"env": ["", "", ""]}, "env": [], "inspectorUrl": null, "isInConcurrentBuildsQueue": false, "isInSystemBuildsQueue": false, "projectSettings": {}, "aliasAssigned": false, "bootedAt": 3619.08, "buildingAt": 1664.36, "buildSkipped": false, "creator": {"uid": ""}, "public": false, "status": "CANCELED", "id": "", "name": "", "createdAt": 179.28, "type": "LAMBDAS", "meta": {"key": ""}, "readyState": "BUILDING", "regions": [], "version": 8477.72, "url": "https://unwritten-viability.org", "projectId": "", "ownerId": "", "plan": "enterprise", "routes": [], "createdIn": ""} + application/json: {"build": {"env": ["", "", ""]}, "env": [], "inspectorUrl": null, "isInConcurrentBuildsQueue": false, "isInSystemBuildsQueue": false, "projectSettings": {}, "alias": [], "aliasAssigned": true, "bootedAt": 3619.08, "buildingAt": 1664.36, "buildSkipped": false, "creator": {"uid": "96SnxkFiMyVKsK3pnoHfx3Hz", "username": "john-doe"}, "public": false, "status": "CANCELED", "userAliases": ["sub1.example.com", "sub2.example.com"], "previewCommentsEnabled": false, "id": "dpl_89qyp1cskzkLrVicDaZoDbjyHuDJ", "createdAt": 1540257589405, "readyState": "READY", "name": "my-project", "type": "LAMBDAS", "aliasError": null, "deletedAt": 1540257589405, "meta": {"key": ""}, "regions": ["sfo1"], "softDeletedByRetention": true, "source": "cli", "target": null, "undeletedAt": 1540257589405, "url": "my-instant-deployment-3ij3cxz9qr.now.sh", "version": 2, "projectId": "", "plan": "enterprise", "createdIn": "", "ownerId": "", "routes": []} "400": application/json: {"error": {"code": "", "message": ""}} "401": @@ -6510,7 +7618,7 @@ examples: slug: "my-team-url-slug" responses: "200": - application/json: {"build": {"env": ["", ""]}, "env": [], "inspectorUrl": "https://grown-gymnast.net", "isInConcurrentBuildsQueue": false, "isInSystemBuildsQueue": false, "projectSettings": {}, "aliasAssigned": false, "bootedAt": 9923.4, "buildingAt": 4182.97, "buildSkipped": true, "creator": {"uid": ""}, "public": false, "status": "CANCELED", "id": "", "createdAt": 4076.8, "name": "", "meta": {}, "readyState": "READY", "regions": [], "type": "LAMBDAS", "url": "https://medium-tribe.org/", "version": 7316.38, "createdIn": "", "ownerId": "", "plan": "hobby", "projectId": "", "routes": [{"src": ""}, {"src": "", "continue": true, "middleware": 1635.94}]} + application/json: {"build": {"env": ["", ""]}, "env": [], "inspectorUrl": "https://grown-gymnast.net", "isInConcurrentBuildsQueue": false, "isInSystemBuildsQueue": false, "projectSettings": {}, "alias": [], "aliasAssigned": true, "bootedAt": 9923.4, "buildingAt": 4182.97, "buildSkipped": true, "creator": {"uid": "96SnxkFiMyVKsK3pnoHfx3Hz", "username": "john-doe"}, "public": false, "status": "CANCELED", "userAliases": ["sub1.example.com", "sub2.example.com"], "previewCommentsEnabled": false, "id": "dpl_89qyp1cskzkLrVicDaZoDbjyHuDJ", "aliasError": null, "createdAt": 1540257589405, "deletedAt": 1540257589405, "name": "my-project", "meta": {}, "readyState": "READY", "regions": ["sfo1"], "softDeletedByRetention": false, "source": "cli", "target": null, "type": "LAMBDAS", "undeletedAt": 1540257589405, "url": "my-instant-deployment-3ij3cxz9qr.now.sh", "version": 2, "createdIn": "", "ownerId": "", "plan": "hobby", "projectId": "", "routes": [{"src": ""}, {"src": "", "continue": true, "middleware": 1635.94}]} "400": application/json: {"error": {"code": "", "message": ""}} "401": @@ -6687,6 +7795,8 @@ examples: application/json: {"error": {"code": "", "message": ""}} "401": application/json: {"error": {"code": "", "message": ""}} + "404": + application/json: {"error": {"code": "", "message": ""}} checkDomainStatus: speakeasy-default-check-domain-status: parameters: @@ -7845,7 +8955,7 @@ examples: path: teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l" requestBody: - application/json: {"email": "john@example.com", "role": "DEVELOPER", "projects": [{"projectId": "prj_ndlgr43fadlPyCtREAqxxdyFK", "role": "ADMIN"}, {"projectId": "prj_ndlgr43fadlPyCtREAqxxdyFK", "role": "ADMIN"}]} + application/json: [{"email": "john@example.com", "role": "DEVELOPER", "projects": [{"projectId": "prj_ndlgr43fadlPyCtREAqxxdyFK", "role": "ADMIN"}, {"projectId": "prj_ndlgr43fadlPyCtREAqxxdyFK", "role": "ADMIN"}]}] responses: "200": application/json: {"uid": "kr1PsOIzqEL5Xg6M4VZcZosf", "username": "john-doe", "email": "john@user.co", "role": "MEMBER", "teamRoles": ["MEMBER"], "teamPermissions": ["CreateProject"]} @@ -7909,7 +9019,7 @@ examples: uid: "ndfasllgPyCtREAqxxdyFKb" teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l" requestBody: - application/json: {"confirmed": true, "role": "[\"MEMBER\",\"VIEWER\"]", "projects": [{"projectId": "prj_ndlgr43fadlPyCtREAqxxdyFK", "role": "ADMIN"}, {"projectId": "prj_ndlgr43fadlPyCtREAqxxdyFK", "role": "ADMIN"}, {"projectId": "prj_ndlgr43fadlPyCtREAqxxdyFK", "role": "ADMIN"}]} + application/json: {"confirmed": true, "role": "VIEWER", "projects": [{"projectId": "prj_ndlgr43fadlPyCtREAqxxdyFK", "role": "ADMIN"}, {"projectId": "prj_ndlgr43fadlPyCtREAqxxdyFK", "role": "ADMIN"}, {"projectId": "prj_ndlgr43fadlPyCtREAqxxdyFK", "role": "ADMIN"}]} responses: "200": application/json: {"id": ""} @@ -8555,7 +9665,7 @@ examples: application/json: {"name": "my-dev-database", "integrationConfigurationId": "icfg_cuwj0AdCdH3BwWT4LPijCC7t", "integrationProductIdOrSlug": "iap_postgres_db", "metadata": {"environment": "development", "project": "my-app", "tags": ["database", "postgres"]}, "externalId": "dev-db-001", "protocolSettings": {"experimentation": {"edgeConfigSyncingEnabled": true}}, "source": "api", "billingPlanId": "bp_abc123def456", "paymentMethodId": "pm_1AbcDefGhiJklMno", "prepaymentAmountCents": 5000} responses: "200": - application/json: {"store": {"projectsMetadata": [{"id": "", "projectId": "", "name": "", "environments": [], "envVarPrefix": "", "environmentVariables": ["", ""]}], "usageQuotaExceeded": true, "status": "available", "externalResourceId": "", "product": {"value": {"__@BRAND@8486": {}}}, "secrets": []}} + application/json: {"store": {"projectsMetadata": [{"id": "", "projectId": "", "name": "", "environments": [], "envVarPrefix": "", "environmentVariables": ["", ""]}], "usageQuotaExceeded": true, "status": "available", "externalResourceId": "", "product": {"value": {"__@BRAND@8795": {}}}, "secrets": []}} "400": application/json: {"error": {"code": "", "message": ""}} "401": @@ -8627,6 +9737,674 @@ examples: application/json: {"error": {"code": "", "message": ""}} "404": application/json: {"error": {"code": "", "message": ""}} + uploadProjectClientCert: + speakeasy-default-upload-project-client-cert: + parameters: + path: + idOrName: "prj_XLKmu1DyR1eY7zq8UgeRKbA7yVLA" + query: + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l" + slug: "my-team-url-slug" + requestBody: + application/json: {"cert": "-----BEGIN CERTIFICATE-----\\\\n...\\\\n-----END CERTIFICATE-----", "key": "-----BEGIN PRIVATE KEY-----\\\\n...\\\\n-----END PRIVATE KEY-----", "ca": "-----BEGIN CERTIFICATE-----\\\\n...\\\\n-----END CERTIFICATE-----", "origin": "https://api.example.com"} + responses: + "200": + application/json: {"updated": false, "origin": "", "certId": ""} + "400": + application/json: {"error": {"code": "", "message": ""}} + "401": + application/json: {"error": {"code": "", "message": ""}} + "404": + application/json: {"error": {"code": "", "message": ""}} + getProjectClientCerts: + speakeasy-default-get-project-client-certs: + parameters: + path: + idOrName: "prj_XLKmu1DyR1eY7zq8UgeRKbA7yVLA" + query: + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l" + slug: "my-team-url-slug" + responses: + "200": + application/json: {"clientCerts": []} + "400": + application/json: {"error": {"code": "", "message": ""}} + "401": + application/json: {"error": {"code": "", "message": ""}} + "404": + application/json: {"error": {"code": "", "message": ""}} + deleteProjectClientCert: + speakeasy-default-delete-project-client-cert: + parameters: + path: + idOrName: "prj_XLKmu1DyR1eY7zq8UgeRKbA7yVLA" + certId: "cert_a1b2c3d4e5f6g7h8" + query: + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l" + slug: "my-team-url-slug" + responses: + "200": + application/json: {"origin": "", "certId": ""} + "400": + application/json: {"error": {"code": "", "message": ""}} + "401": + application/json: {"error": {"code": "", "message": ""}} + "404": + application/json: {"error": {"code": "", "message": ""}} + getSupportedTlds: + speakeasy-default-get-supported-tlds: + parameters: + query: + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l" + responses: + "200": + application/json: ["", ""] + "400": + application/json: {"error": {"code": "", "message": ""}} + "401": + application/json: {"error": {"code": "", "message": ""}} + "403": + application/json: {"status": 4914.28, "code": "not_authorized_for_scope", "message": ""} + "429": + application/json: {"error": {"code": "", "message": ""}} + "500": + application/json: {"status": 3690.98, "code": "internal_server_error", "message": ""} + getTldPrice: + speakeasy-default-get-tld-price: + parameters: + path: + tld: "" + query: + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l" + responses: + "200": + application/json: {"years": 8935.16, "purchasePrice": 7886.17, "renewalPrice": 4537.84, "transferPrice": 7204.57} + "400": + application/json: {"error": {"code": "", "message": ""}} + "401": + application/json: {"error": {"code": "", "message": ""}} + "403": + application/json: {"status": 7142.83, "code": "not_authorized_for_scope", "message": ""} + "429": + application/json: {"error": {"code": "", "message": ""}} + "500": + application/json: {"status": 1823.23, "code": "internal_server_error", "message": ""} + getDomainAvailability: + speakeasy-default-get-domain-availability: + parameters: + path: + domain: "hungry-birdbath.info" + query: + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l" + responses: + "200": + application/json: {"available": false} + "400": + application/json: {"error": {"code": "", "message": ""}} + "401": + application/json: {"error": {"code": "", "message": ""}} + "403": + application/json: {"status": 7767.2, "code": "not_authorized_for_scope", "message": ""} + "404": + application/json: {"error": {"code": "", "message": ""}} + "429": + application/json: {"error": {"code": "", "message": ""}} + "500": + application/json: {"status": 4554.54, "code": "internal_server_error", "message": ""} + getDomainPrice: + speakeasy-default-get-domain-price: + parameters: + path: + domain: "excited-dwell.org" + query: + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l" + responses: + "200": + application/json: {"years": 40.44, "purchasePrice": 1523.71, "renewalPrice": 3417.52, "transferPrice": 7908.61} + "400": + application/json: {"error": {"code": "", "message": ""}} + "401": + application/json: {"error": {"code": "", "message": ""}} + "403": + application/json: {"status": 1865.62, "code": "not_authorized_for_scope", "message": ""} + "429": + application/json: {"error": {"code": "", "message": ""}} + "500": + application/json: {"status": 2707.01, "code": "internal_server_error", "message": ""} + getBulkAvailability: + speakeasy-default-get-bulk-availability: + parameters: + query: + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l" + requestBody: + application/json: {"domains": [""]} + responses: + "200": + application/json: {"results": []} + "400": + application/json: {"error": {"code": "", "message": ""}} + "401": + application/json: {"error": {"code": "", "message": ""}} + "403": + application/json: {"status": 9981.65, "code": "not_authorized_for_scope", "message": ""} + "429": + application/json: {"error": {"code": "", "message": ""}} + "500": + application/json: {"status": 8722.69, "code": "internal_server_error", "message": ""} + getDomainAuthCode: + speakeasy-default-get-domain-auth-code: + parameters: + path: + domain: "ruddy-coil.org" + query: + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l" + responses: + "200": + application/json: {"authCode": ""} + "400": + application/json: {"error": {"code": "", "message": ""}} + "401": + application/json: {"error": {"code": "", "message": ""}} + "403": + application/json: {"status": 2686.57, "code": "forbidden", "message": ""} + "404": + application/json: {"error": {"code": "", "message": ""}} + "429": + application/json: {"error": {"code": "", "message": ""}} + "500": + application/json: {"status": 2122.94, "code": "internal_server_error", "message": ""} + buySingleDomain: + speakeasy-default-buy-single-domain: + parameters: + path: + domain: "metallic-simple.com" + query: + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l" + requestBody: + application/json: {"autoRenew": false, "years": 7602.67, "expectedPrice": 7390.34, "contactInformation": {"firstName": "Lexie", "lastName": "Lemke", "email": "Lionel21@gmail.com", "phone": "550.220.6330 x258", "address1": "", "city": "Spencerport", "state": "West Virginia", "zip": "46432", "country": "Sweden"}} + responses: + "200": + application/json: {"orderId": "", "_links": {"key": {"href": "", "method": "PUT"}}} + "400": + application/json: {"error": {"code": "", "message": ""}} + "401": + application/json: {"error": {"code": "", "message": ""}} + "403": + application/json: {"status": 2011.55, "code": "forbidden", "message": ""} + "429": + application/json: {"error": {"code": "", "message": ""}} + "500": + application/json: {"status": 6569.33, "code": "internal_server_error", "message": ""} + buyDomains: + speakeasy-default-buy-domains: + parameters: + query: + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l" + requestBody: + application/json: {"domains": [], "contactInformation": {"firstName": "Leonie", "lastName": "Johnston", "email": "Anna_Fisher13@hotmail.com", "phone": "(688) 699-0656", "address1": "", "city": "Rennerland", "state": "New Jersey", "zip": "70054", "country": "Peru"}} + responses: + "200": + application/json: {"orderId": "", "_links": {}} + "400": + application/json: {"error": {"code": "", "message": ""}} + "401": + application/json: {"error": {"code": "", "message": ""}} + "403": + application/json: {"status": 2313.14, "code": "not_authorized_for_scope", "message": ""} + "429": + application/json: {"error": {"code": "", "message": ""}} + "500": + application/json: {"status": 6638.06, "code": "internal_server_error", "message": ""} + transferInDomain: + speakeasy-default-transfer-in-domain: + parameters: + path: + domain: "silky-fund.org" + query: + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l" + requestBody: + application/json: {"authCode": "", "autoRenew": true, "years": 298.08, "expectedPrice": 5092.5, "contactInformation": {"firstName": "Gabrielle", "lastName": "Hackett", "email": "Keshawn99@yahoo.com", "phone": "(758) 385-1802 x13762", "address1": "", "city": "Pattiestead", "state": "Idaho", "zip": "64653-9022", "country": "Bolivia"}} + responses: + "200": + application/json: {"orderId": "", "_links": {}} + "400": + application/json: {"error": {"code": "", "message": ""}} + "401": + application/json: {"error": {"code": "", "message": ""}} + "403": + application/json: {"status": 4267.72, "code": "forbidden", "message": ""} + "429": + application/json: {"error": {"code": "", "message": ""}} + "500": + application/json: {"status": 5592.6, "code": "internal_server_error", "message": ""} + getDomainTransferIn: + speakeasy-default-get-domain-transfer-in: + parameters: + path: + domain: "unsung-antelope.com" + query: + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l" + responses: + "200": + application/json: {"status": "pending_transfer"} + "400": + application/json: {"error": {"code": "", "message": ""}} + "401": + application/json: {"error": {"code": "", "message": ""}} + "403": + application/json: {"status": 1024.64, "code": "not_authorized_for_scope", "message": ""} + "404": + application/json: {"error": {"code": "", "message": ""}} + "429": + application/json: {"error": {"code": "", "message": ""}} + "500": + application/json: {"status": 2505.39, "code": "internal_server_error", "message": ""} + renewDomain: + speakeasy-default-renew-domain: + parameters: + path: + domain: "scaly-daughter.biz" + query: + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l" + requestBody: + application/json: {"years": 1981.72, "expectedPrice": 7096.16} + responses: + "200": + application/json: {"orderId": "", "_links": {}} + "400": + application/json: {"error": {"code": "", "message": ""}} + "401": + application/json: {"error": {"code": "", "message": ""}} + "403": + application/json: {"status": 2060.78, "code": "not_authorized_for_scope", "message": ""} + "404": + application/json: {"error": {"code": "", "message": ""}} + "429": + application/json: {"error": {"code": "", "message": ""}} + "500": + application/json: {"status": 766.11, "code": "internal_server_error", "message": ""} + updateDomainAutoRenew: + speakeasy-default-update-domain-auto-renew: + parameters: + path: + domain: "worthwhile-dwell.net" + query: + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l" + requestBody: + application/json: {"autoRenew": true} + responses: + "400": + application/json: {"error": {"code": "", "message": ""}} + "401": + application/json: {"error": {"code": "", "message": ""}} + "403": + application/json: {"status": 9253.84, "code": "not_authorized_for_scope", "message": ""} + "404": + application/json: {"error": {"code": "", "message": ""}} + "429": + application/json: {"error": {"code": "", "message": ""}} + "500": + application/json: {"status": 3198.13, "code": "internal_server_error", "message": ""} + updateDomainNameservers: + speakeasy-default-update-domain-nameservers: + parameters: + path: + domain: "unique-formula.biz" + query: + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l" + requestBody: + application/json: {"nameservers": [""]} + responses: + "400": + application/json: {"error": {"code": "", "message": ""}} + "401": + application/json: {"error": {"code": "", "message": ""}} + "403": + application/json: {"status": 2948.13, "code": "not_authorized_for_scope", "message": ""} + "404": + application/json: {"error": {"code": "", "message": ""}} + "429": + application/json: {"error": {"code": "", "message": ""}} + "500": + application/json: {"status": 7420.51, "code": "internal_server_error", "message": ""} + getContactInfoSchema: + speakeasy-default-get-contact-info-schema: + parameters: + path: + domain: "tricky-issue.name" + query: + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l" + responses: + "200": + application/json: {} + "400": + application/json: {"error": {"code": "", "message": ""}} + "401": + application/json: {"error": {"code": "", "message": ""}} + "403": + application/json: {"status": 3905.78, "code": "not_authorized_for_scope", "message": ""} + "429": + application/json: {"error": {"code": "", "message": ""}} + "500": + application/json: {"status": 6860.15, "code": "internal_server_error", "message": ""} + getOrder: + speakeasy-default-get-order: + parameters: + path: + orderId: "" + query: + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l" + responses: + "200": + application/json: {"orderId": "", "domains": [{"purchaseType": "renewal", "years": 340.32, "domainName": "average-farmer.name", "status": "failed", "price": 3271.32}], "status": "purchasing"} + "400": + application/json: {"error": {"code": "", "message": ""}} + "401": + application/json: {"error": {"code": "", "message": ""}} + "403": + application/json: {"status": 665.06, "code": "not_authorized_for_scope", "message": ""} + "404": + application/json: {"error": {"code": "", "message": ""}} + "429": + application/json: {"error": {"code": "", "message": ""}} + "500": + application/json: {"status": 948.19, "code": "internal_server_error", "message": ""} + getConfigurableLogDrain: + speakeasy-default-get-configurable-log-drain: + parameters: + path: + id: "" + query: + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l" + slug: "my-team-url-slug" + responses: + "200": + application/json: {} + "400": + application/json: {"error": {"code": "", "message": ""}} + "401": + application/json: {"error": {"code": "", "message": ""}} + "404": + application/json: {"error": {"code": "", "message": ""}} + getAllLogDrains: + speakeasy-default-get-all-log-drains: + parameters: + query: + includeMetadata: false + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l" + slug: "my-team-url-slug" + responses: + "200": + application/json: {"drains": [{"id": "", "ownerId": "", "name": "", "createdAt": 7495.57, "updatedAt": 4759.82, "source": {"kind": "self-served"}}]} + "400": + application/json: {"error": {"code": "", "message": ""}} + "401": + application/json: {"error": {"code": "", "message": ""}} + "404": + application/json: {"error": {"code": "", "message": ""}} + createConfigurableLogDrain: + speakeasy-default-create-configurable-log-drain: + parameters: + query: + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l" + slug: "my-team-url-slug" + requestBody: + application/json: {"deliveryFormat": "json", "url": "https://wavy-meander.net", "sources": []} + responses: + "200": + application/json: {} + "400": + application/json: {"error": {"code": "", "message": ""}} + "401": + application/json: {"error": {"code": "", "message": ""}} + createDrain: + speakeasy-default-create-drain: + parameters: + query: + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l" + slug: "my-team-url-slug" + responses: + "200": + application/json: {"id": "", "ownerId": "", "name": "", "createdAt": 3665.73, "updatedAt": 3681.88, "source": {"kind": "self-served"}} + "400": + application/json: {"error": {"code": "", "message": ""}} + "401": + application/json: {"error": {"code": "", "message": ""}} + getDrains: + speakeasy-default-get-drains: + parameters: + query: + includeMetadata: false + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l" + slug: "my-team-url-slug" + responses: + "200": + application/json: {"drains": []} + "400": + application/json: {"error": {"code": "", "message": ""}} + "401": + application/json: {"error": {"code": "", "message": ""}} + "404": + application/json: {"error": {"code": "", "message": ""}} + deleteDrain: + speakeasy-default-delete-drain: + parameters: + path: + id: "" + query: + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l" + slug: "my-team-url-slug" + responses: + "400": + application/json: {"error": {"code": "", "message": ""}} + "401": + application/json: {"error": {"code": "", "message": ""}} + "404": + application/json: {"error": {"code": "", "message": ""}} + getDrain: + speakeasy-default-get-drain: + parameters: + path: + id: "" + query: + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l" + slug: "my-team-url-slug" + responses: + "200": + application/json: {"id": "", "ownerId": "", "name": "", "createdAt": 1182.63, "updatedAt": 7579.11, "source": {"kind": "integration", "integrationId": "", "integrationConfigurationId": ""}} + "400": + application/json: {"error": {"code": "", "message": ""}} + "401": + application/json: {"error": {"code": "", "message": ""}} + "404": + application/json: {"error": {"code": "", "message": ""}} + updateDrain: + speakeasy-default-update-drain: + parameters: + path: + id: "" + query: + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l" + slug: "my-team-url-slug" + responses: + "200": + application/json: {"id": "", "ownerId": "", "name": "", "createdAt": 7781.81, "updatedAt": 8087.89, "source": {"kind": "integration", "integrationId": "", "integrationConfigurationId": ""}} + "400": + application/json: {"error": {"code": "", "message": ""}} + "401": + application/json: {"error": {"code": "", "message": ""}} + "404": + application/json: {"error": {"code": "", "message": ""}} + testDrain: + speakeasy-default-test-drain: + parameters: + query: + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l" + slug: "my-team-url-slug" + responses: + "200": + application/json: {} + "400": + application/json: {"error": {"code": "", "message": ""}} + "401": + application/json: {"error": {"code": "", "message": ""}} + createSharedEnvVariable: + speakeasy-default-create-shared-env-variable: + parameters: + query: + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l" + slug: "my-team-url-slug" + requestBody: + application/json: {"evs": [], "type": "encrypted", "target": ["production", "preview"]} + responses: + "201": + application/json: {"created": [], "failed": []} + "400": + application/json: {"error": {"code": "", "message": ""}} + "401": + application/json: {"error": {"code": "", "message": ""}} + listSharedEnvVariable: + speakeasy-default-list-shared-env-variable: + parameters: + query: + projectId: "prj_2WjyKQmM8ZnGcJsPWMrHRHrE" + ids: "env_2WjyKQmM8ZnGcJsPWMrHRHrE,env_2WjyKQmM8ZnGcJsPWMrHRCRV" + exclude_ids: "env_2WjyKQmM8ZnGcJsPWMrHRHrE,env_2WjyKQmM8ZnGcJsPWMrHRCRV" + exclude-ids: "env_2WjyKQmM8ZnGcJsPWMrHRHrE,env_2WjyKQmM8ZnGcJsPWMrHRCRV" + exclude_projectId: "prj_2WjyKQmM8ZnGcJsPWMrHRHrE" + exclude-projectId: "prj_2WjyKQmM8ZnGcJsPWMrHRHrE" + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l" + slug: "my-team-url-slug" + responses: + "200": + application/json: {"data": [], "pagination": {"count": 20, "next": 1540095775951, "prev": 1540095775951}} + "400": + application/json: {"error": {"code": "", "message": ""}} + "401": + application/json: {"error": {"code": "", "message": ""}} + "404": + application/json: {"error": {"code": "", "message": ""}} + updateSharedEnvVariable: + speakeasy-default-update-shared-env-variable: + parameters: + query: + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l" + slug: "my-team-url-slug" + requestBody: + application/json: {"updates": {}} + responses: + "200": + application/json: {"updated": [], "failed": [{"error": {"code": "", "message": ""}}]} + "400": + application/json: {"error": {"code": "", "message": ""}} + "401": + application/json: {"error": {"code": "", "message": ""}} + deleteSharedEnvVariable: + speakeasy-default-delete-shared-env-variable: + parameters: + query: + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l" + slug: "my-team-url-slug" + requestBody: + application/json: {"ids": ["env_abc123", "env_abc124"]} + responses: + "200": + application/json: {"deleted": ["", ""], "failed": [{"error": {"code": "", "message": ""}}]} + "400": + application/json: {"error": {"code": "", "message": ""}} + "401": + application/json: {"error": {"code": "", "message": ""}} + getSharedEnvVar: + speakeasy-default-get-shared-env-var: + parameters: + path: + id: "" + query: + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l" + slug: "my-team-url-slug" + responses: + "200": + application/json: {"created": "2021-02-10T13:11:49.180Z", "key": "my-api-key", "ownerId": "team_LLHUOMOoDlqOp8wPE4kFo9pE", "id": "env_XCG7t7AIHuO2SBA8667zNUiM", "createdBy": "2qDDuGFTWXBLDNnqZfWPDp1A", "deletedBy": "2qDDuGFTWXBLDNnqZfWPDp1A", "updatedBy": "2qDDuGFTWXBLDNnqZfWPDp1A", "createdAt": 1609492210000, "deletedAt": 1609492210000, "updatedAt": 1609492210000, "projectId": ["prj_2WjyKQmM8ZnGcJsPWMrHRHrE", "prj_2WjyKQmM8ZnGcJsPWMrasEFg"], "type": "encrypted", "target": ["production"]} + "400": + application/json: {"error": {"code": "", "message": ""}} + "401": + application/json: {"error": {"code": "", "message": ""}} + unlinkSharedEnvVariable: + speakeasy-default-unlink-shared-env-variable: + parameters: + path: + id: "" + projectId: "" + query: + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l" + slug: "my-team-url-slug" + responses: + "200": + application/json: {"id": ""} + "400": + application/json: {"error": {"code": "", "message": ""}} + "401": + application/json: {"error": {"code": "", "message": ""}} + update-installation: + speakeasy-default-update-installation: + parameters: + path: + integrationConfigurationId: "" + responses: + "400": + application/json: {"error": {"code": "", "message": ""}} + "401": + application/json: {"error": {"code": "", "message": ""}} + "404": + application/json: {"error": {"code": "", "message": ""}} + update-resource: + speakeasy-default-update-resource: + parameters: + path: + integrationConfigurationId: "" + resourceId: "" + responses: + "200": + application/json: {"name": ""} + "400": + application/json: {"error": {"code": "", "message": ""}} + "401": + application/json: {"error": {"code": "", "message": ""}} + "404": + application/json: {"error": {"code": "", "message": ""}} + updateStaticIps: + speakeasy-default-update-static-ips: + parameters: + path: + idOrName: "" + query: + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l" + slug: "my-team-url-slug" + requestBody: + application/json: {"regions": ["iad1"]} + responses: + "200": + application/json: [{"envId": "", "connectConfigurationId": "", "passive": true, "buildsEnabled": false, "createdAt": 5943.97, "updatedAt": 7734.38}] + "400": + application/json: {"error": {"code": "", "message": ""}} + "401": + application/json: {"error": {"code": "", "message": ""}} + "404": + application/json: {"error": {"code": "", "message": ""}} + get_/v1/security/firewall/events: + speakeasy-default-get-/v1-/security/firewall/events: + parameters: + query: + projectId: "" + responses: + "200": + application/json: {"actions": []} + "400": + application/json: {"error": {"code": "", "message": ""}} + "401": + application/json: {"error": {"code": "", "message": ""}} + "404": + application/json: {"error": {"code": "", "message": ""}} examplesVersion: 1.0.2 generatedTests: readAccessGroup: "2025-04-29T14:51:46-05:00" @@ -8800,4 +10578,38 @@ generatedTests: createIntegrationStoreDirect: "2025-09-03T16:44:43Z" getBillingPlans: "2025-09-23T00:08:35Z" batchRemoveProjectEnv: "2025-10-03T17:36:10Z" -releaseNotes: "## Typescript SDK Changes Detected:\n* `vercel.integrations.getConfiguration()`: `response` **Changed** **Breaking** :warning:\n* `vercel.integrations.getConfigurationProducts()`: `response.products.[].metadataSchema.properties.{}` **Changed** **Breaking** :warning:\n* `vercel.integrations.createIntegrationStoreDirect()`: \n * `response.store.product` **Changed** **Breaking** :warning:\n * `error.status[409]` **Added**\n* `vercel.projects.batchRemoveProjectEnv()`: **Added**\n* `vercel.integrations.deleteConfiguration()`: `error.status[409]` **Added**\n* `vercel.edgeConfig.updateEdgeConfig()`: `error.status[409]` **Added**\n* `vercel.edgeConfig.deleteEdgeConfig()`: `error.status[409]` **Added**\n* `vercel.edgeConfig.patchEdgeConfigSchema()`: `error.status[409]` **Added**\n* `vercel.edgeConfig.deleteEdgeConfigSchema()`: `error.status[409]` **Added**\n* `vercel.edgeConfig.deleteEdgeConfigTokens()`: `error.status[409]` **Added**\n* `vercel.edgeConfig.createEdgeConfigToken()`: `error.status[409]` **Added**\n" + uploadProjectClientCert: "2025-11-12T00:07:48Z" + getProjectClientCerts: "2025-11-12T00:07:48Z" + deleteProjectClientCert: "2025-11-12T00:07:48Z" + getSupportedTlds: "2025-11-12T00:07:48Z" + getTldPrice: "2025-11-12T00:07:48Z" + getDomainAvailability: "2025-11-12T00:07:48Z" + getDomainPrice: "2025-11-12T00:07:48Z" + getBulkAvailability: "2025-11-12T00:07:48Z" + getDomainAuthCode: "2025-11-12T00:07:48Z" + buySingleDomain: "2025-11-12T00:07:48Z" + buyDomains: "2025-11-12T00:07:48Z" + transferInDomain: "2025-11-12T00:07:48Z" + getDomainTransferIn: "2025-11-12T00:07:48Z" + renewDomain: "2025-11-12T00:07:48Z" + getContactInfoSchema: "2025-11-12T00:07:48Z" + getOrder: "2025-11-12T00:07:48Z" + getConfigurableLogDrain: "2025-11-12T00:07:48Z" + getAllLogDrains: "2025-11-12T00:07:48Z" + createConfigurableLogDrain: "2025-11-12T00:07:48Z" + createDrain: "2025-11-12T00:07:48Z" + getDrains: "2025-11-12T00:07:48Z" + getDrain: "2025-11-12T00:07:48Z" + updateDrain: "2025-11-12T00:07:48Z" + testDrain: "2025-11-12T00:07:48Z" + createSharedEnvVariable: "2025-11-12T00:07:48Z" + listSharedEnvVariable: "2025-11-12T00:07:48Z" + updateSharedEnvVariable: "2025-11-12T00:07:48Z" + deleteSharedEnvVariable: "2025-11-12T00:07:48Z" + getSharedEnvVar: "2025-11-12T00:07:48Z" + unlinkSharedEnvVariable: "2025-11-12T00:07:48Z" + update-resource: "2025-11-12T00:07:48Z" + updateStaticIps: "2025-11-12T00:07:48Z" + get_/v1/security/firewall/events: "2025-11-12T00:07:48Z" + inviteUserToTeam: "2025-11-12T00:07:48Z" +releaseNotes: "## Typescript SDK Changes Detected:\n* `vercel.projects.updateProjectDataCache()`: `response` **Changed** **Breaking** :warning:\n* `vercel.teams.inviteUserToTeam()`: `request` **Changed** **Breaking** :warning:\n* `vercel.user.listUserEvents()`: `response.events.[].payload` **Changed** **Breaking** :warning:\n* `vercel.integrations.createIntegrationStoreDirect()`: \n * `response.store` **Changed** **Breaking** :warning:\n * `error.status[500]` **Added**\n* `vercel.integrations.getConfigurationProducts()`: `response.products.[].metadataSchema.properties.{}` **Changed** **Breaking** :warning:\n* `vercel.integrations.deleteConfiguration()`: `error.status[409]` **Removed** **Breaking** :warning:\n* `vercel.deployments.listDeploymentFiles()`: `response.[].symlink` **Removed** **Breaking** :warning:\n* `vercel.deployments.cancelDeployment()`: `response` **Changed** **Breaking** :warning:\n* `vercel.deployments.createDeployment()`: `response` **Changed** **Breaking** :warning:\n* `vercel.deployments.getDeployment()`: `response` **Changed** **Breaking** :warning:\n* `vercel.projects.pauseProject()`: `error.status[402]` **Removed** **Breaking** :warning:\n* `vercel.projects.updateProject()`: \n * `request.requestBody` **Changed**\n * `response` **Changed** **Breaking** :warning:\n* `vercel.projects.createProject()`: `response` **Changed** **Breaking** :warning:\n* `vercel.projects.getProjects()`: \n * `request` **Changed**\n * `response.projects.[]` **Changed** **Breaking** :warning:\n* `vercel.domainsRegistrar.updateDomainNameservers()`: **Added**\n* `vercel.domainsRegistrar.updateDomainAutoRenew()`: **Added**\n* `vercel.domainsRegistrar.getContactInfoSchema()`: **Added**\n* `vercel.domainsRegistrar.getOrder()`: **Added**\n* `vercel.logDrains.getConfigurableLogDrain()`: **Added**\n* `vercel.logDrains.deleteConfigurableLogDrain()`: **Added**\n* `vercel.logDrains.getAllLogDrains()`: **Added**\n* `vercel.logDrains.createConfigurableLogDrain()`: **Added**\n* `vercel.drains.createDrain()`: **Added**\n* `vercel.drains.getDrains()`: **Added**\n* `vercel.drains.deleteDrain()`: **Added**\n* `vercel.drains.getDrain()`: **Added**\n* `vercel.drains.updateDrain()`: **Added**\n* `vercel.drains.testDrain()`: **Added**\n* `vercel.environment.createSharedEnvVariable()`: **Added**\n* `vercel.environment.listSharedEnvVariable()`: **Added**\n* `vercel.environment.updateSharedEnvVariable()`: **Added**\n* `vercel.environment.deleteSharedEnvVariable()`: **Added**\n* `vercel.environment.getSharedEnvVar()`: **Added**\n* `vercel.environment.unlinkSharedEnvVariable()`: **Added**\n* `vercel.marketplace.updateInstallation()`: **Added**\n* `vercel.marketplace.updateResource()`: **Added**\n* `vercel.connect.updateStaticIps()`: **Added**\n* `vercel.staticIps.updateStaticIps()`: **Added**\n* `vercel.security.get/v1/security/firewall/events()`: **Added**\n* `vercel.projects.uploadProjectClientCert()`: **Added**\n* `vercel.domainsRegistrar.renewDomain()`: **Added**\n* `vercel.domainsRegistrar.getDomainTransferIn()`: **Added**\n* `vercel.domainsRegistrar.transferInDomain()`: **Added**\n* `vercel.projects.acceptProjectTransferRequest()`: `response.[1].transferredStoreIds` **Added**\n* `vercel.domainsRegistrar.buyDomains()`: **Added**\n* `vercel.domainsRegistrar.buySingleDomain()`: **Added**\n* `vercel.domainsRegistrar.getDomainAuthCode()`: **Added**\n* `vercel.domainsRegistrar.getBulkAvailability()`: **Added**\n* `vercel.domainsRegistrar.getDomainPrice()`: **Added**\n* `vercel.domainsRegistrar.getDomainAvailability()`: **Added**\n* `vercel.domainsRegistrar.getTldPrice()`: **Added**\n* `vercel.domainsRegistrar.getSupportedTlds()`: **Added**\n* `vercel.domains.checkDomainPrice()`: `error.status[404]` **Added**\n* `vercel.projects.deleteProjectClientCert()`: **Added**\n* `vercel.user.getAuthUser()`: `response.user.[authUser].resourceConfig.buildQueue` **Added**\n* `vercel.marketplace.createEvent()`: \n * `request.requestBody.event.[2].productId` **Changed**\n* `vercel.marketplace.exchangeSsoToken()`: `response.expires_in` **Added**\n* `vercel.marketplace.updateInstallationIntegrationEdgeConfig()`: `response.purpose` **Added**\n* `vercel.marketplace.createInstallationIntegrationEdgeConfig()`: `response.purpose` **Added**\n* `vercel.authentication.exchangeSsoToken()`: `response.expires_in` **Added**\n* `vercel.security.getActiveAttackStatus()`: \n * `request.since` **Added**\n* `vercel.projects.getProjectClientCerts()`: **Added**\n* `vercel.teams.updateTeamMember()`: `error.status[409]` **Added**\n" diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index 4098187ef..3e44843b4 100644 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -20,18 +20,23 @@ generation: oAuth2ClientCredentialsEnabled: false oAuth2PasswordEnabled: false hoistGlobalSecurity: true + schemas: + allOfMergeStrategy: shallowMerge + requestBodyFieldName: "" tests: generateTests: true generateNewTests: true skipResponseBodyAssertions: false typescript: - version: 1.12.1 + version: 1.13.0 acceptHeaderEnum: true additionalDependencies: dependencies: {} devDependencies: {} peerDependencies: {} additionalPackageJSON: {} + additionalScripts: {} + alwaysIncludeInboundAndOutbound: false author: Speakeasy baseErrorName: VercelError clientServerStatusCodesAsErrors: true @@ -41,6 +46,7 @@ typescript: enableMCPServer: true enableReactQuery: false enumFormat: union + exportZodModelNamespace: false flattenGlobalSecurity: true flatteningOrder: body-first generateExamples: true @@ -65,3 +71,4 @@ typescript: templateVersion: v2 usageSDKInitImports: [] useIndexModules: false + zodVersion: v3 diff --git a/.speakeasy/tests.arazzo.yaml b/.speakeasy/tests.arazzo.yaml index ba7a852c8..fd654fcf6 100644 --- a/.speakeasy/tests.arazzo.yaml +++ b/.speakeasy/tests.arazzo.yaml @@ -6225,16 +6225,7 @@ workflows: - condition: $response.header.Content-Type == application/json - context: $response.body condition: | - { - "resources": [ - { - "partnerId": "\u003cid\u003e", - "internalId": "\u003cid\u003e", - "name": "\u003cvalue\u003e", - "productId": "\u003cid\u003e" - } - ] - } + {"resources":[{"partnerId":"","internalId":"","name":"","productId":""}]} type: simple x-speakeasy-test-group: marketplace x-speakeasy-test-rebuild: true @@ -6254,12 +6245,7 @@ workflows: - condition: $response.header.Content-Type == application/json - context: $response.body condition: | - { - "id": "\u003cid\u003e", - "internalId": "\u003cid\u003e", - "name": "\u003cvalue\u003e", - "productId": "\u003cid\u003e" - } + {"id":"","internalId":"","name":"","productId":""} type: simple x-speakeasy-test-group: marketplace x-speakeasy-test-rebuild: true @@ -6282,17 +6268,7 @@ workflows: - condition: $response.header.Content-Type == application/json - context: $response.body condition: | - { - "products": [], - "integration": { - "id": "\u003cid\u003e", - "slug": "\u003cvalue\u003e", - "name": "\u003cvalue\u003e" - }, - "configuration": { - "id": "\u003cid\u003e" - } - } + {"products":[],"integration":{"id":"","slug":"","name":""},"configuration":{"id":""}} type: simple x-speakeasy-test-group: integrations x-speakeasy-test-rebuild: true @@ -6363,32 +6339,7 @@ workflows: - condition: $response.header.Content-Type == application/json - context: $response.body condition: | - { - "store": { - "projectsMetadata": [ - { - "id": "\u003cid\u003e", - "projectId": "\u003cid\u003e", - "name": "\u003cvalue\u003e", - "environments": [], - "envVarPrefix": "\u003cvalue\u003e", - "environmentVariables": [ - "\u003cvalue 1\u003e", - "\u003cvalue 2\u003e" - ] - } - ], - "usageQuotaExceeded": true, - "status": "available", - "externalResourceId": "\u003cid\u003e", - "product": { - "value": { - "__@BRAND@8486": {} - } - }, - "secrets": [] - } - } + {"store":{"projectsMetadata":[{"id":"","projectId":"","name":"","environments":[],"envVarPrefix":"","environmentVariables":["",""]}],"usageQuotaExceeded":true,"status":"available","externalResourceId":"","product":{"value":{"__@BRAND@8795":{}}},"secrets":[]}} type: simple x-speakeasy-test-group: integrations x-speakeasy-test-rebuild: true @@ -6414,18 +6365,7 @@ workflows: - condition: $response.header.Content-Type == application/json - context: $response.body condition: | - { - "plans": [ - { - "type": "prepayment", - "description": "outside fatally ultimate limply upon especially hm jellyfish expostulate", - "id": "\u003cid\u003e", - "name": "\u003cvalue\u003e", - "scope": "installation", - "paymentMethodRequired": false - } - ] - } + {"plans":[{"type":"prepayment","description":"outside fatally ultimate limply upon especially hm jellyfish expostulate","id":"","name":"","scope":"installation","paymentMethodRequired":false}]} type: simple x-speakeasy-test-group: integrations x-speakeasy-test-rebuild: true @@ -6448,13 +6388,828 @@ workflows: - condition: $response.header.Content-Type == application/json - context: $response.body condition: | - { - "deleted": 2417.01, - "ids": [ - "\u003cvalue 1\u003e", - "\u003cvalue 2\u003e" - ] - } + {"deleted":2417.01,"ids":["",""]} + type: simple + x-speakeasy-test-group: projects + x-speakeasy-test-rebuild: true + - workflowId: uploadProjectClientCert + steps: + - stepId: test + operationId: uploadProjectClientCert + parameters: + - name: idOrName + in: path + value: prj_XLKmu1DyR1eY7zq8UgeRKbA7yVLA + - name: teamId + in: query + value: team_1a2b3c4d5e6f7g8h9i0j1k2l + - name: slug + in: query + value: my-team-url-slug + requestBody: + contentType: application/json + payload: + ca: '-----BEGIN CERTIFICATE-----\\n...\\n-----END CERTIFICATE-----' + cert: '-----BEGIN CERTIFICATE-----\\n...\\n-----END CERTIFICATE-----' + key: '-----BEGIN PRIVATE KEY-----\\n...\\n-----END PRIVATE KEY-----' + origin: https://api.example.com + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"updated":false,"origin":"","certId":""} + type: simple + x-speakeasy-test-group: projects + x-speakeasy-test-rebuild: true + - workflowId: getProjectClientCerts + steps: + - stepId: test + operationId: getProjectClientCerts + parameters: + - name: idOrName + in: path + value: prj_XLKmu1DyR1eY7zq8UgeRKbA7yVLA + - name: teamId + in: query + value: team_1a2b3c4d5e6f7g8h9i0j1k2l + - name: slug + in: query + value: my-team-url-slug + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"clientCerts":[]} + type: simple + x-speakeasy-test-group: projects + x-speakeasy-test-rebuild: true + - workflowId: deleteProjectClientCert + steps: + - stepId: test + operationId: deleteProjectClientCert + parameters: + - name: idOrName + in: path + value: prj_XLKmu1DyR1eY7zq8UgeRKbA7yVLA + - name: certId + in: path + value: cert_a1b2c3d4e5f6g7h8 + - name: teamId + in: query + value: team_1a2b3c4d5e6f7g8h9i0j1k2l + - name: slug + in: query + value: my-team-url-slug + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"origin":"","certId":""} type: simple x-speakeasy-test-group: projects x-speakeasy-test-rebuild: true + - workflowId: getSupportedTlds + steps: + - stepId: test + operationId: getSupportedTlds + parameters: + - name: teamId + in: query + value: team_1a2b3c4d5e6f7g8h9i0j1k2l + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + ["",""] + type: simple + x-speakeasy-test-group: domains-registrar + x-speakeasy-test-rebuild: true + - workflowId: getTldPrice + steps: + - stepId: test + operationId: getTldPrice + parameters: + - name: tld + in: path + value: + - name: teamId + in: query + value: team_1a2b3c4d5e6f7g8h9i0j1k2l + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"years":8935.16,"purchasePrice":7886.17,"renewalPrice":4537.84,"transferPrice":7204.57} + type: simple + x-speakeasy-test-group: domains-registrar + x-speakeasy-test-rebuild: true + - workflowId: getDomainAvailability + steps: + - stepId: test + operationId: getDomainAvailability + parameters: + - name: domain + in: path + value: hungry-birdbath.info + - name: teamId + in: query + value: team_1a2b3c4d5e6f7g8h9i0j1k2l + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"available":false} + type: simple + x-speakeasy-test-group: domains-registrar + x-speakeasy-test-rebuild: true + - workflowId: getDomainPrice + steps: + - stepId: test + operationId: getDomainPrice + parameters: + - name: domain + in: path + value: excited-dwell.org + - name: teamId + in: query + value: team_1a2b3c4d5e6f7g8h9i0j1k2l + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"years":40.44,"purchasePrice":1523.71,"renewalPrice":3417.52,"transferPrice":7908.61} + type: simple + x-speakeasy-test-group: domains-registrar + x-speakeasy-test-rebuild: true + - workflowId: getBulkAvailability + steps: + - stepId: test + operationId: getBulkAvailability + parameters: + - name: teamId + in: query + value: team_1a2b3c4d5e6f7g8h9i0j1k2l + requestBody: + contentType: application/json + payload: + domains: + - + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"results":[]} + type: simple + x-speakeasy-test-group: domains-registrar + x-speakeasy-test-rebuild: true + - workflowId: getDomainAuthCode + steps: + - stepId: test + operationId: getDomainAuthCode + parameters: + - name: domain + in: path + value: ruddy-coil.org + - name: teamId + in: query + value: team_1a2b3c4d5e6f7g8h9i0j1k2l + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"authCode":""} + type: simple + x-speakeasy-test-group: domains-registrar + x-speakeasy-test-rebuild: true + - workflowId: buySingleDomain + steps: + - stepId: test + operationId: buySingleDomain + parameters: + - name: domain + in: path + value: metallic-simple.com + - name: teamId + in: query + value: team_1a2b3c4d5e6f7g8h9i0j1k2l + requestBody: + contentType: application/json + payload: + autoRenew: false + contactInformation: + address1: + city: Spencerport + country: Sweden + email: Lionel21@gmail.com + firstName: Lexie + lastName: Lemke + phone: 550.220.6330 x258 + state: West Virginia + zip: "46432" + expectedPrice: 7390.34 + years: 7602.67 + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"orderId":"","_links":{"key":{"href":"","method":"PUT"}}} + type: simple + x-speakeasy-test-group: domains-registrar + x-speakeasy-test-rebuild: true + - workflowId: buyDomains + steps: + - stepId: test + operationId: buyDomains + parameters: + - name: teamId + in: query + value: team_1a2b3c4d5e6f7g8h9i0j1k2l + requestBody: + contentType: application/json + payload: + contactInformation: + address1: + city: Rennerland + country: Peru + email: Anna_Fisher13@hotmail.com + firstName: Leonie + lastName: Johnston + phone: (688) 699-0656 + state: New Jersey + zip: "70054" + domains: [] + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"orderId":"","_links":{}} + type: simple + x-speakeasy-test-group: domains-registrar + x-speakeasy-test-rebuild: true + - workflowId: transferInDomain + steps: + - stepId: test + operationId: transferInDomain + parameters: + - name: domain + in: path + value: silky-fund.org + - name: teamId + in: query + value: team_1a2b3c4d5e6f7g8h9i0j1k2l + requestBody: + contentType: application/json + payload: + authCode: + autoRenew: true + contactInformation: + address1: + city: Pattiestead + country: Bolivia + email: Keshawn99@yahoo.com + firstName: Gabrielle + lastName: Hackett + phone: (758) 385-1802 x13762 + state: Idaho + zip: 64653-9022 + expectedPrice: 5092.5 + years: 298.08 + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"orderId":"","_links":{}} + type: simple + x-speakeasy-test-group: domains-registrar + x-speakeasy-test-rebuild: true + - workflowId: getDomainTransferIn + steps: + - stepId: test + operationId: getDomainTransferIn + parameters: + - name: domain + in: path + value: unsung-antelope.com + - name: teamId + in: query + value: team_1a2b3c4d5e6f7g8h9i0j1k2l + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"status":"pending_transfer"} + type: simple + x-speakeasy-test-group: domains-registrar + x-speakeasy-test-rebuild: true + - workflowId: renewDomain + steps: + - stepId: test + operationId: renewDomain + parameters: + - name: domain + in: path + value: scaly-daughter.biz + - name: teamId + in: query + value: team_1a2b3c4d5e6f7g8h9i0j1k2l + requestBody: + contentType: application/json + payload: + expectedPrice: 7096.16 + years: 1981.72 + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"orderId":"","_links":{}} + type: simple + x-speakeasy-test-group: domains-registrar + x-speakeasy-test-rebuild: true + - workflowId: getContactInfoSchema + steps: + - stepId: test + operationId: getContactInfoSchema + parameters: + - name: domain + in: path + value: tricky-issue.name + - name: teamId + in: query + value: team_1a2b3c4d5e6f7g8h9i0j1k2l + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {} + type: simple + x-speakeasy-test-group: domains-registrar + x-speakeasy-test-rebuild: true + - workflowId: getOrder + steps: + - stepId: test + operationId: getOrder + parameters: + - name: orderId + in: path + value: + - name: teamId + in: query + value: team_1a2b3c4d5e6f7g8h9i0j1k2l + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"orderId":"","domains":[{"purchaseType":"renewal","years":340.32,"domainName":"average-farmer.name","status":"failed","price":3271.32}],"status":"purchasing"} + type: simple + x-speakeasy-test-group: domains-registrar + x-speakeasy-test-rebuild: true + - workflowId: getConfigurableLogDrain + steps: + - stepId: test + operationId: getConfigurableLogDrain + parameters: + - name: id + in: path + value: + - name: teamId + in: query + value: team_1a2b3c4d5e6f7g8h9i0j1k2l + - name: slug + in: query + value: my-team-url-slug + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {} + type: simple + x-speakeasy-test-group: logDrains + x-speakeasy-test-rebuild: true + - workflowId: getAllLogDrains + steps: + - stepId: test + operationId: getAllLogDrains + parameters: + - name: includeMetadata + in: query + value: false + - name: teamId + in: query + value: team_1a2b3c4d5e6f7g8h9i0j1k2l + - name: slug + in: query + value: my-team-url-slug + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"drains":[{"id":"","ownerId":"","name":"","createdAt":7495.57,"updatedAt":4759.82,"source":{"kind":"self-served"}}]} + type: simple + x-speakeasy-test-group: logDrains + x-speakeasy-test-rebuild: true + - workflowId: createConfigurableLogDrain + steps: + - stepId: test + operationId: createConfigurableLogDrain + parameters: + - name: teamId + in: query + value: team_1a2b3c4d5e6f7g8h9i0j1k2l + - name: slug + in: query + value: my-team-url-slug + requestBody: + contentType: application/json + payload: + deliveryFormat: json + sources: [] + url: https://wavy-meander.net + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {} + type: simple + x-speakeasy-test-group: logDrains + x-speakeasy-test-rebuild: true + - workflowId: createDrain + steps: + - stepId: test + operationId: createDrain + parameters: + - name: teamId + in: query + value: team_1a2b3c4d5e6f7g8h9i0j1k2l + - name: slug + in: query + value: my-team-url-slug + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"id":"","ownerId":"","name":"","createdAt":3665.73,"updatedAt":3681.88,"source":{"kind":"self-served"}} + type: simple + x-speakeasy-test-group: drains + x-speakeasy-test-rebuild: true + - workflowId: getDrains + steps: + - stepId: test + operationId: getDrains + parameters: + - name: includeMetadata + in: query + value: false + - name: teamId + in: query + value: team_1a2b3c4d5e6f7g8h9i0j1k2l + - name: slug + in: query + value: my-team-url-slug + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"drains":[]} + type: simple + x-speakeasy-test-group: drains + x-speakeasy-test-rebuild: true + - workflowId: getDrain + steps: + - stepId: test + operationId: getDrain + parameters: + - name: id + in: path + value: + - name: teamId + in: query + value: team_1a2b3c4d5e6f7g8h9i0j1k2l + - name: slug + in: query + value: my-team-url-slug + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"id":"","ownerId":"","name":"","createdAt":1182.63,"updatedAt":7579.11,"source":{"kind":"integration","integrationId":"","integrationConfigurationId":""}} + type: simple + x-speakeasy-test-group: drains + x-speakeasy-test-rebuild: true + - workflowId: updateDrain + steps: + - stepId: test + operationId: updateDrain + parameters: + - name: id + in: path + value: + - name: teamId + in: query + value: team_1a2b3c4d5e6f7g8h9i0j1k2l + - name: slug + in: query + value: my-team-url-slug + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"id":"","ownerId":"","name":"","createdAt":7781.81,"updatedAt":8087.89,"source":{"kind":"integration","integrationId":"","integrationConfigurationId":""}} + type: simple + x-speakeasy-test-group: drains + x-speakeasy-test-rebuild: true + - workflowId: testDrain + steps: + - stepId: test + operationId: testDrain + parameters: + - name: teamId + in: query + value: team_1a2b3c4d5e6f7g8h9i0j1k2l + - name: slug + in: query + value: my-team-url-slug + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {} + type: simple + x-speakeasy-test-group: drains + x-speakeasy-test-rebuild: true + - workflowId: createSharedEnvVariable + steps: + - stepId: test + operationId: createSharedEnvVariable + parameters: + - name: teamId + in: query + value: team_1a2b3c4d5e6f7g8h9i0j1k2l + - name: slug + in: query + value: my-team-url-slug + requestBody: + contentType: application/json + payload: + evs: [] + target: + - production + - preview + type: encrypted + successCriteria: + - condition: $statusCode == 201 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"created":[],"failed":[]} + type: simple + x-speakeasy-test-group: environment + x-speakeasy-test-rebuild: true + - workflowId: listSharedEnvVariable + steps: + - stepId: test + operationId: listSharedEnvVariable + parameters: + - name: projectId + in: query + value: prj_2WjyKQmM8ZnGcJsPWMrHRHrE + - name: ids + in: query + value: env_2WjyKQmM8ZnGcJsPWMrHRHrE,env_2WjyKQmM8ZnGcJsPWMrHRCRV + - name: exclude_ids + in: query + value: env_2WjyKQmM8ZnGcJsPWMrHRHrE,env_2WjyKQmM8ZnGcJsPWMrHRCRV + - name: exclude-ids + in: query + value: env_2WjyKQmM8ZnGcJsPWMrHRHrE,env_2WjyKQmM8ZnGcJsPWMrHRCRV + - name: exclude_projectId + in: query + value: prj_2WjyKQmM8ZnGcJsPWMrHRHrE + - name: exclude-projectId + in: query + value: prj_2WjyKQmM8ZnGcJsPWMrHRHrE + - name: teamId + in: query + value: team_1a2b3c4d5e6f7g8h9i0j1k2l + - name: slug + in: query + value: my-team-url-slug + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"data":[],"pagination":{"count":20,"next":1540095775951,"prev":1540095775951}} + type: simple + x-speakeasy-test-group: environment + x-speakeasy-test-rebuild: true + - workflowId: updateSharedEnvVariable + steps: + - stepId: test + operationId: updateSharedEnvVariable + parameters: + - name: teamId + in: query + value: team_1a2b3c4d5e6f7g8h9i0j1k2l + - name: slug + in: query + value: my-team-url-slug + requestBody: + contentType: application/json + payload: + updates: {} + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"updated":[],"failed":[{"error":{"code":"","message":""}}]} + type: simple + x-speakeasy-test-group: environment + x-speakeasy-test-rebuild: true + - workflowId: deleteSharedEnvVariable + steps: + - stepId: test + operationId: deleteSharedEnvVariable + parameters: + - name: teamId + in: query + value: team_1a2b3c4d5e6f7g8h9i0j1k2l + - name: slug + in: query + value: my-team-url-slug + requestBody: + contentType: application/json + payload: + ids: + - env_abc123 + - env_abc124 + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"deleted":["",""],"failed":[{"error":{"code":"","message":""}}]} + type: simple + x-speakeasy-test-group: environment + x-speakeasy-test-rebuild: true + - workflowId: getSharedEnvVar + steps: + - stepId: test + operationId: getSharedEnvVar + parameters: + - name: id + in: path + value: + - name: teamId + in: query + value: team_1a2b3c4d5e6f7g8h9i0j1k2l + - name: slug + in: query + value: my-team-url-slug + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"created":"2021-02-10T13:11:49.180Z","key":"my-api-key","ownerId":"team_LLHUOMOoDlqOp8wPE4kFo9pE","id":"env_XCG7t7AIHuO2SBA8667zNUiM","createdBy":"2qDDuGFTWXBLDNnqZfWPDp1A","deletedBy":"2qDDuGFTWXBLDNnqZfWPDp1A","updatedBy":"2qDDuGFTWXBLDNnqZfWPDp1A","createdAt":1609492210000,"deletedAt":1609492210000,"updatedAt":1609492210000,"projectId":["prj_2WjyKQmM8ZnGcJsPWMrHRHrE","prj_2WjyKQmM8ZnGcJsPWMrasEFg"],"type":"encrypted","target":["production"]} + type: simple + x-speakeasy-test-group: environment + x-speakeasy-test-rebuild: true + - workflowId: unlinkSharedEnvVariable + steps: + - stepId: test + operationId: unlinkSharedEnvVariable + parameters: + - name: id + in: path + value: + - name: projectId + in: path + value: + - name: teamId + in: query + value: team_1a2b3c4d5e6f7g8h9i0j1k2l + - name: slug + in: query + value: my-team-url-slug + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"id":""} + type: simple + x-speakeasy-test-group: environment + x-speakeasy-test-rebuild: true + - workflowId: update-resource + steps: + - stepId: test + operationId: update-resource + parameters: + - name: integrationConfigurationId + in: path + value: + - name: resourceId + in: path + value: + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"name":""} + type: simple + x-speakeasy-test-group: marketplace + x-speakeasy-test-rebuild: true + - workflowId: updateStaticIps + steps: + - stepId: test + operationId: updateStaticIps + parameters: + - name: idOrName + in: path + value: + - name: teamId + in: query + value: team_1a2b3c4d5e6f7g8h9i0j1k2l + - name: slug + in: query + value: my-team-url-slug + requestBody: + contentType: application/json + payload: + regions: + - iad1 + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + [{"envId":"","connectConfigurationId":"","passive":true,"buildsEnabled":false,"createdAt":5943.97,"updatedAt":7734.38}] + type: simple + x-speakeasy-test-group: connect + x-speakeasy-test-rebuild: true + - workflowId: get_/v1/security/firewall/events + steps: + - stepId: test + operationId: get_/v1/security/firewall/events + parameters: + - name: projectId + in: query + value: + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"actions":[]} + type: simple + x-speakeasy-test-group: security + x-speakeasy-test-rebuild: true + - workflowId: inviteUserToTeam + steps: + - stepId: test + operationId: inviteUserToTeam + requestBody: + contentType: application/json + payload: + - email: john@example.com + projects: + - projectId: prj_ndlgr43fadlPyCtREAqxxdyFK + role: ADMIN + - projectId: prj_ndlgr43fadlPyCtREAqxxdyFK + role: ADMIN + role: DEVELOPER + successCriteria: + - condition: $statusCode == 200 + - condition: $response.header.Content-Type == application/json + - context: $response.body + condition: | + {"uid":"kr1PsOIzqEL5Xg6M4VZcZosf","username":"john-doe","email":"john@user.co","role":"MEMBER","teamRoles":["MEMBER"],"teamPermissions":["CreateProject"]} + type: simple + x-speakeasy-test-group: teams + x-speakeasy-test-rebuild: true diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index a985a5770..ae8a2a339 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -1,21 +1,21 @@ -speakeasyVersion: 1.634.1 +speakeasyVersion: 1.653.2 sources: vercel-OAS: sourceNamespace: vercel-oas - sourceRevisionDigest: sha256:e9a28e6e5e9119374f0d3383d3260a16f3d49be6c63723972faa6ed0b569a509 - sourceBlobDigest: sha256:f74f8bd9d9c37aef8b03b8889a3f076942ab177005b197cfb2cdc37bc5895046 + sourceRevisionDigest: sha256:6dccdfd578efded9c931876ef650ba6accc495b66dfa6dc59b62856355fa13e4 + sourceBlobDigest: sha256:5cd63441fd510b65495fd61a82faca369db83dd31395b4208c91d7a58a52f467 tags: - latest - - speakeasy-sdk-regen-1759507793 + - speakeasy-sdk-regen-1762301212 - 0.0.1 targets: vercel: source: vercel-OAS sourceNamespace: vercel-oas - sourceRevisionDigest: sha256:e9a28e6e5e9119374f0d3383d3260a16f3d49be6c63723972faa6ed0b569a509 - sourceBlobDigest: sha256:f74f8bd9d9c37aef8b03b8889a3f076942ab177005b197cfb2cdc37bc5895046 + sourceRevisionDigest: sha256:6dccdfd578efded9c931876ef650ba6accc495b66dfa6dc59b62856355fa13e4 + sourceBlobDigest: sha256:5cd63441fd510b65495fd61a82faca369db83dd31395b4208c91d7a58a52f467 codeSamplesNamespace: vercel-oas-typescript-code-samples - codeSamplesRevisionDigest: sha256:1e0e75a2a20c01cb88840e7c5fb7f3c5ebdad2ec4890105678fea6f4c731c988 + codeSamplesRevisionDigest: sha256:1a22ca1af676fea5c78964571d755c5e24a07092ec88d453132affa5ceb8582a workflow: workflowVersion: 1.0.0 speakeasyVersion: latest diff --git a/README.md b/README.md index a950447c2..c83c76d73 100644 --- a/README.md +++ b/README.md @@ -340,6 +340,10 @@ run(); * [updateCheck](docs/sdks/checks/README.md#updatecheck) - Update a check * [rerequestCheck](docs/sdks/checks/README.md#rerequestcheck) - Rerequest a check +### [connect](docs/sdks/connect/README.md) + +* [updateStaticIps](docs/sdks/connect/README.md#updatestaticips) - Configures Static IPs for a project + ### [deployments](docs/sdks/deployments/README.md) * [getDeploymentEvents](docs/sdks/deployments/README.md#getdeploymentevents) - Get deployment events @@ -362,17 +366,44 @@ run(); ### [domains](docs/sdks/domains/README.md) -* [buyDomain](docs/sdks/domains/README.md#buydomain) - Purchase a domain -* [checkDomainPrice](docs/sdks/domains/README.md#checkdomainprice) - Check the price for a domain -* [checkDomainStatus](docs/sdks/domains/README.md#checkdomainstatus) - Check a Domain Availability -* [getDomainTransfer](docs/sdks/domains/README.md#getdomaintransfer) - Get domain transfer info. +* [buyDomain](docs/sdks/domains/README.md#buydomain) - Purchase a domain (deprecated) +* [checkDomainPrice](docs/sdks/domains/README.md#checkdomainprice) - Check the price for a domain (deprecated) +* [checkDomainStatus](docs/sdks/domains/README.md#checkdomainstatus) - Check a Domain Availability (deprecated) +* [getDomainTransfer](docs/sdks/domains/README.md#getdomaintransfer) - Get domain transfer info (deprecated) * [getDomainConfig](docs/sdks/domains/README.md#getdomainconfig) - Get a Domain's configuration * [getDomain](docs/sdks/domains/README.md#getdomain) - Get Information for a Single Domain * [getDomains](docs/sdks/domains/README.md#getdomains) - List all the domains -* [createOrTransferDomain](docs/sdks/domains/README.md#createortransferdomain) - Register or transfer-in a new Domain +* [createOrTransferDomain](docs/sdks/domains/README.md#createortransferdomain) - Add an existing domain to the Vercel platform * [patchDomain](docs/sdks/domains/README.md#patchdomain) - Update or move apex domain * [deleteDomain](docs/sdks/domains/README.md#deletedomain) - Remove a domain by name +### [domainsRegistrar](docs/sdks/domainsregistrar/README.md) + +* [getSupportedTlds](docs/sdks/domainsregistrar/README.md#getsupportedtlds) - Get supported TLDs +* [getTldPrice](docs/sdks/domainsregistrar/README.md#gettldprice) - Get TLD price data +* [getDomainAvailability](docs/sdks/domainsregistrar/README.md#getdomainavailability) - Get availability for a domain +* [getDomainPrice](docs/sdks/domainsregistrar/README.md#getdomainprice) - Get price data for a domain +* [getBulkAvailability](docs/sdks/domainsregistrar/README.md#getbulkavailability) - Get availability for multiple domains +* [getDomainAuthCode](docs/sdks/domainsregistrar/README.md#getdomainauthcode) - Get the auth code for a domain +* [buySingleDomain](docs/sdks/domainsregistrar/README.md#buysingledomain) - Buy a domain +* [buyDomains](docs/sdks/domainsregistrar/README.md#buydomains) - Buy multiple domains +* [transferInDomain](docs/sdks/domainsregistrar/README.md#transferindomain) - Transfer-in a domain +* [getDomainTransferIn](docs/sdks/domainsregistrar/README.md#getdomaintransferin) - Get a domain's transfer status +* [renewDomain](docs/sdks/domainsregistrar/README.md#renewdomain) - Renew a domain +* [updateDomainAutoRenew](docs/sdks/domainsregistrar/README.md#updatedomainautorenew) - Update auto-renew for a domain +* [updateDomainNameservers](docs/sdks/domainsregistrar/README.md#updatedomainnameservers) - Update nameservers for a domain +* [getContactInfoSchema](docs/sdks/domainsregistrar/README.md#getcontactinfoschema) - Get contact info schema +* [getOrder](docs/sdks/domainsregistrar/README.md#getorder) - Get a domain order + +### [drains](docs/sdks/drains/README.md) + +* [createDrain](docs/sdks/drains/README.md#createdrain) - Create a new Drain +* [getDrains](docs/sdks/drains/README.md#getdrains) - Retrieve a list of all Drains +* [deleteDrain](docs/sdks/drains/README.md#deletedrain) - Delete a drain +* [getDrain](docs/sdks/drains/README.md#getdrain) - Find a Drain by id +* [updateDrain](docs/sdks/drains/README.md#updatedrain) - Update an existing Drain +* [testDrain](docs/sdks/drains/README.md#testdrain) - Validate Drain delivery configuration + ### [edgeCache](docs/sdks/edgecache/README.md) * [invalidateByTags](docs/sdks/edgecache/README.md#invalidatebytags) - Invalidate by tag @@ -400,6 +431,12 @@ run(); ### [environment](docs/sdks/environment/README.md) +* [createSharedEnvVariable](docs/sdks/environment/README.md#createsharedenvvariable) - Create one or more shared environment variables +* [listSharedEnvVariable](docs/sdks/environment/README.md#listsharedenvvariable) - Lists all Shared Environment Variables for a team +* [updateSharedEnvVariable](docs/sdks/environment/README.md#updatesharedenvvariable) - Updates one or more shared environment variables +* [deleteSharedEnvVariable](docs/sdks/environment/README.md#deletesharedenvvariable) - Delete one or more Env Var +* [getSharedEnvVar](docs/sdks/environment/README.md#getsharedenvvar) - Retrieve the decrypted value of a Shared Environment Variable by id. +* [unlinkSharedEnvVariable](docs/sdks/environment/README.md#unlinksharedenvvariable) - Disconnects a shared environment variable for a given project * [createCustomEnvironment](docs/sdks/environment/README.md#createcustomenvironment) - Create a custom environment for the current project. * [getV9ProjectsIdOrNameCustomEnvironments](docs/sdks/environment/README.md#getv9projectsidornamecustomenvironments) - Retrieve custom environments * [getCustomEnvironment](docs/sdks/environment/README.md#getcustomenvironment) - Retrieve a custom environment @@ -419,9 +456,13 @@ run(); ### [logDrains](docs/sdks/logdrains/README.md) -* [getIntegrationLogDrains](docs/sdks/logdrains/README.md#getintegrationlogdrains) - Retrieves a list of Integration log drains -* [createLogDrain](docs/sdks/logdrains/README.md#createlogdrain) - Creates a new Integration Log Drain -* [deleteIntegrationLogDrain](docs/sdks/logdrains/README.md#deleteintegrationlogdrain) - Deletes the Integration log drain with the provided `id` +* [getConfigurableLogDrain](docs/sdks/logdrains/README.md#getconfigurablelogdrain) - Retrieves a Configurable Log Drain (deprecated) +* [deleteConfigurableLogDrain](docs/sdks/logdrains/README.md#deleteconfigurablelogdrain) - Deletes a Configurable Log Drain (deprecated) +* [getAllLogDrains](docs/sdks/logdrains/README.md#getalllogdrains) - Retrieves a list of all the Log Drains (deprecated) +* [createConfigurableLogDrain](docs/sdks/logdrains/README.md#createconfigurablelogdrain) - Creates a Configurable Log Drain (deprecated) +* [getIntegrationLogDrains](docs/sdks/logdrains/README.md#getintegrationlogdrains) - Retrieves a list of Integration log drains (deprecated) +* [createLogDrain](docs/sdks/logdrains/README.md#createlogdrain) - Creates a new Integration Log Drain (deprecated) +* [deleteIntegrationLogDrain](docs/sdks/logdrains/README.md#deleteintegrationlogdrain) - Deletes the Integration log drain with the provided `id` (deprecated) ### [logs](docs/sdks/logs/README.md) @@ -429,6 +470,7 @@ run(); ### [marketplace](docs/sdks/marketplace/README.md) +* [updateInstallation](docs/sdks/marketplace/README.md#updateinstallation) - Update Installation * [getAccountInfo](docs/sdks/marketplace/README.md#getaccountinfo) - Get Account Information * [getMember](docs/sdks/marketplace/README.md#getmember) - Get Member Information * [createEvent](docs/sdks/marketplace/README.md#createevent) - Create Event @@ -436,6 +478,7 @@ run(); * [getIntegrationResource](docs/sdks/marketplace/README.md#getintegrationresource) - Get Integration Resource * [deleteIntegrationResource](docs/sdks/marketplace/README.md#deleteintegrationresource) - Delete Integration Resource * [importResource](docs/sdks/marketplace/README.md#importresource) - Import Resource +* [updateResource](docs/sdks/marketplace/README.md#updateresource) - Update Resource * [submitBillingData](docs/sdks/marketplace/README.md#submitbillingdata) - Submit Billing Data * [submitInvoice](docs/sdks/marketplace/README.md#submitinvoice) - Submit Invoice * [getInvoice](docs/sdks/marketplace/README.md#getinvoice) - Get Invoice @@ -476,6 +519,9 @@ run(); * [removeProjectEnv](docs/sdks/projects/README.md#removeprojectenv) - Remove an environment variable * [editProjectEnv](docs/sdks/projects/README.md#editprojectenv) - Edit an environment variable * [batchRemoveProjectEnv](docs/sdks/projects/README.md#batchremoveprojectenv) - Batch remove environment variables +* [uploadProjectClientCert](docs/sdks/projects/README.md#uploadprojectclientcert) - Upload client certificate for egress mTLS +* [getProjectClientCerts](docs/sdks/projects/README.md#getprojectclientcerts) - Get client certificates for a project +* [deleteProjectClientCert](docs/sdks/projects/README.md#deleteprojectclientcert) - Delete client certificate for egress mTLS * [createProjectTransferRequest](docs/sdks/projects/README.md#createprojecttransferrequest) - Create project transfer request * [acceptProjectTransferRequest](docs/sdks/projects/README.md#acceptprojecttransferrequest) - Accept project transfer request * [updateProjectProtectionBypass](docs/sdks/projects/README.md#updateprojectprotectionbypass) - Update Protection Bypass for Automation @@ -504,6 +550,11 @@ run(); * [getBypassIp](docs/sdks/security/README.md#getbypassip) - Read System Bypass * [addBypassIp](docs/sdks/security/README.md#addbypassip) - Create System Bypass Rule * [removeBypassIp](docs/sdks/security/README.md#removebypassip) - Remove System Bypass Rule +* [getV1SecurityFirewallEvents](docs/sdks/security/README.md#getv1securityfirewallevents) - Read Firewall Actions by Project + +### [staticIps](docs/sdks/staticips/README.md) + +* [updateStaticIps](docs/sdks/staticips/README.md#updatestaticips) - Configures Static IPs for a project ### [teams](docs/sdks/teams/README.md) @@ -527,7 +578,6 @@ run(); * [getAuthUser](docs/sdks/user/README.md#getauthuser) - Get the User * [requestDelete](docs/sdks/user/README.md#requestdelete) - Delete User Account - ### [webhooks](docs/sdks/webhooks/README.md) * [createWebhook](docs/sdks/webhooks/README.md#createwebhook) - Creates a webhook @@ -589,6 +639,8 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md). - [`checksGetCheck`](docs/sdks/checks/README.md#getcheck) - Get a single check - [`checksRerequestCheck`](docs/sdks/checks/README.md#rerequestcheck) - Rerequest a check - [`checksUpdateCheck`](docs/sdks/checks/README.md#updatecheck) - Update a check +- [`connectUpdateStaticIps`](docs/sdks/connect/README.md#updatestaticips) - Configures Static IPs for a project +- [`connectUpdateStaticIps`](docs/sdks/staticips/README.md#updatestaticips) - Configures Static IPs for a project - [`deploymentsCancelDeployment`](docs/sdks/deployments/README.md#canceldeployment) - Cancel a deployment - [`deploymentsCreateDeployment`](docs/sdks/deployments/README.md#createdeployment) - Create a new deployment - [`deploymentsDeleteDeployment`](docs/sdks/deployments/README.md#deletedeployment) - Delete a Deployment @@ -604,16 +656,37 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md). - [`dnsGetRecords`](docs/sdks/dns/README.md#getrecords) - List existing DNS records - [`dnsRemoveRecord`](docs/sdks/dns/README.md#removerecord) - Delete a DNS record - [`dnsUpdateRecord`](docs/sdks/dns/README.md#updaterecord) - Update an existing DNS record -- [`domainsBuyDomain`](docs/sdks/domains/README.md#buydomain) - Purchase a domain -- [`domainsCheckDomainPrice`](docs/sdks/domains/README.md#checkdomainprice) - Check the price for a domain -- [`domainsCheckDomainStatus`](docs/sdks/domains/README.md#checkdomainstatus) - Check a Domain Availability -- [`domainsCreateOrTransferDomain`](docs/sdks/domains/README.md#createortransferdomain) - Register or transfer-in a new Domain +- [`domainsBuyDomain`](docs/sdks/domains/README.md#buydomain) - Purchase a domain (deprecated) +- [`domainsCheckDomainPrice`](docs/sdks/domains/README.md#checkdomainprice) - Check the price for a domain (deprecated) +- [`domainsCheckDomainStatus`](docs/sdks/domains/README.md#checkdomainstatus) - Check a Domain Availability (deprecated) +- [`domainsCreateOrTransferDomain`](docs/sdks/domains/README.md#createortransferdomain) - Add an existing domain to the Vercel platform - [`domainsDeleteDomain`](docs/sdks/domains/README.md#deletedomain) - Remove a domain by name - [`domainsGetDomain`](docs/sdks/domains/README.md#getdomain) - Get Information for a Single Domain - [`domainsGetDomainConfig`](docs/sdks/domains/README.md#getdomainconfig) - Get a Domain's configuration - [`domainsGetDomains`](docs/sdks/domains/README.md#getdomains) - List all the domains -- [`domainsGetDomainTransfer`](docs/sdks/domains/README.md#getdomaintransfer) - Get domain transfer info. +- [`domainsGetDomainTransfer`](docs/sdks/domains/README.md#getdomaintransfer) - Get domain transfer info (deprecated) - [`domainsPatchDomain`](docs/sdks/domains/README.md#patchdomain) - Update or move apex domain +- [`domainsRegistrarBuyDomains`](docs/sdks/domainsregistrar/README.md#buydomains) - Buy multiple domains +- [`domainsRegistrarBuySingleDomain`](docs/sdks/domainsregistrar/README.md#buysingledomain) - Buy a domain +- [`domainsRegistrarGetBulkAvailability`](docs/sdks/domainsregistrar/README.md#getbulkavailability) - Get availability for multiple domains +- [`domainsRegistrarGetContactInfoSchema`](docs/sdks/domainsregistrar/README.md#getcontactinfoschema) - Get contact info schema +- [`domainsRegistrarGetDomainAuthCode`](docs/sdks/domainsregistrar/README.md#getdomainauthcode) - Get the auth code for a domain +- [`domainsRegistrarGetDomainAvailability`](docs/sdks/domainsregistrar/README.md#getdomainavailability) - Get availability for a domain +- [`domainsRegistrarGetDomainPrice`](docs/sdks/domainsregistrar/README.md#getdomainprice) - Get price data for a domain +- [`domainsRegistrarGetDomainTransferIn`](docs/sdks/domainsregistrar/README.md#getdomaintransferin) - Get a domain's transfer status +- [`domainsRegistrarGetOrder`](docs/sdks/domainsregistrar/README.md#getorder) - Get a domain order +- [`domainsRegistrarGetSupportedTlds`](docs/sdks/domainsregistrar/README.md#getsupportedtlds) - Get supported TLDs +- [`domainsRegistrarGetTldPrice`](docs/sdks/domainsregistrar/README.md#gettldprice) - Get TLD price data +- [`domainsRegistrarRenewDomain`](docs/sdks/domainsregistrar/README.md#renewdomain) - Renew a domain +- [`domainsRegistrarTransferInDomain`](docs/sdks/domainsregistrar/README.md#transferindomain) - Transfer-in a domain +- [`domainsRegistrarUpdateDomainAutoRenew`](docs/sdks/domainsregistrar/README.md#updatedomainautorenew) - Update auto-renew for a domain +- [`domainsRegistrarUpdateDomainNameservers`](docs/sdks/domainsregistrar/README.md#updatedomainnameservers) - Update nameservers for a domain +- [`drainsCreateDrain`](docs/sdks/drains/README.md#createdrain) - Create a new Drain +- [`drainsDeleteDrain`](docs/sdks/drains/README.md#deletedrain) - Delete a drain +- [`drainsGetDrain`](docs/sdks/drains/README.md#getdrain) - Find a Drain by id +- [`drainsGetDrains`](docs/sdks/drains/README.md#getdrains) - Retrieve a list of all Drains +- [`drainsTestDrain`](docs/sdks/drains/README.md#testdrain) - Validate Drain delivery configuration +- [`drainsUpdateDrain`](docs/sdks/drains/README.md#updatedrain) - Update an existing Drain - [`edgeCacheDangerouslyDeleteByTags`](docs/sdks/edgecache/README.md#dangerouslydeletebytags) - Dangerously delete by tag - [`edgeCacheInvalidateByTags`](docs/sdks/edgecache/README.md#invalidatebytags) - Invalidate by tag - [`edgeConfigCreateEdgeConfig`](docs/sdks/edgeconfig/README.md#createedgeconfig) - Create an Edge Config @@ -634,10 +707,16 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md). - [`edgeConfigPatchEdgeConfigSchema`](docs/sdks/edgeconfig/README.md#patchedgeconfigschema) - Update Edge Config schema - [`edgeConfigUpdateEdgeConfig`](docs/sdks/edgeconfig/README.md#updateedgeconfig) - Update an Edge Config - [`environmentCreateCustomEnvironment`](docs/sdks/environment/README.md#createcustomenvironment) - Create a custom environment for the current project. +- [`environmentCreateSharedEnvVariable`](docs/sdks/environment/README.md#createsharedenvvariable) - Create one or more shared environment variables +- [`environmentDeleteSharedEnvVariable`](docs/sdks/environment/README.md#deletesharedenvvariable) - Delete one or more Env Var - [`environmentGetCustomEnvironment`](docs/sdks/environment/README.md#getcustomenvironment) - Retrieve a custom environment +- [`environmentGetSharedEnvVar`](docs/sdks/environment/README.md#getsharedenvvar) - Retrieve the decrypted value of a Shared Environment Variable by id. - [`environmentGetV9ProjectsIdOrNameCustomEnvironments`](docs/sdks/environment/README.md#getv9projectsidornamecustomenvironments) - Retrieve custom environments +- [`environmentListSharedEnvVariable`](docs/sdks/environment/README.md#listsharedenvvariable) - Lists all Shared Environment Variables for a team - [`environmentRemoveCustomEnvironment`](docs/sdks/environment/README.md#removecustomenvironment) - Remove a custom environment +- [`environmentUnlinkSharedEnvVariable`](docs/sdks/environment/README.md#unlinksharedenvvariable) - Disconnects a shared environment variable for a given project - [`environmentUpdateCustomEnvironment`](docs/sdks/environment/README.md#updatecustomenvironment) - Update a custom environment +- [`environmentUpdateSharedEnvVariable`](docs/sdks/environment/README.md#updatesharedenvvariable) - Updates one or more shared environment variables - [`integrationsConnectIntegrationResourceToProject`](docs/sdks/integrations/README.md#connectintegrationresourcetoproject) - Connect integration resource to project - [`integrationsCreateIntegrationStoreDirect`](docs/sdks/integrations/README.md#createintegrationstoredirect) - Create integration store (free and paid plans) - [`integrationsDeleteConfiguration`](docs/sdks/integrations/README.md#deleteconfiguration) - Delete an integration configuration @@ -645,9 +724,13 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md). - [`integrationsGetConfiguration`](docs/sdks/integrations/README.md#getconfiguration) - Retrieve an integration configuration - [`integrationsGetConfigurationProducts`](docs/sdks/integrations/README.md#getconfigurationproducts) - List products for integration configuration - [`integrationsGetConfigurations`](docs/sdks/integrations/README.md#getconfigurations) - Get configurations for the authenticated user or team -- [`logDrainsCreateLogDrain`](docs/sdks/logdrains/README.md#createlogdrain) - Creates a new Integration Log Drain -- [`logDrainsDeleteIntegrationLogDrain`](docs/sdks/logdrains/README.md#deleteintegrationlogdrain) - Deletes the Integration log drain with the provided `id` -- [`logDrainsGetIntegrationLogDrains`](docs/sdks/logdrains/README.md#getintegrationlogdrains) - Retrieves a list of Integration log drains +- [`logDrainsCreateConfigurableLogDrain`](docs/sdks/logdrains/README.md#createconfigurablelogdrain) - Creates a Configurable Log Drain (deprecated) +- [`logDrainsCreateLogDrain`](docs/sdks/logdrains/README.md#createlogdrain) - Creates a new Integration Log Drain (deprecated) +- [`logDrainsDeleteConfigurableLogDrain`](docs/sdks/logdrains/README.md#deleteconfigurablelogdrain) - Deletes a Configurable Log Drain (deprecated) +- [`logDrainsDeleteIntegrationLogDrain`](docs/sdks/logdrains/README.md#deleteintegrationlogdrain) - Deletes the Integration log drain with the provided `id` (deprecated) +- [`logDrainsGetAllLogDrains`](docs/sdks/logdrains/README.md#getalllogdrains) - Retrieves a list of all the Log Drains (deprecated) +- [`logDrainsGetConfigurableLogDrain`](docs/sdks/logdrains/README.md#getconfigurablelogdrain) - Retrieves a Configurable Log Drain (deprecated) +- [`logDrainsGetIntegrationLogDrains`](docs/sdks/logdrains/README.md#getintegrationlogdrains) - Retrieves a list of Integration log drains (deprecated) - [`logsGetRuntimeLogs`](docs/sdks/logs/README.md#getruntimelogs) - Get logs for a deployment - [`marketplaceCreateEvent`](docs/sdks/marketplace/README.md#createevent) - Create Event - [`marketplaceCreateInstallationIntegrationConfiguration`](docs/sdks/marketplace/README.md#createinstallationintegrationconfiguration) - Create one or multiple experimentation items @@ -665,9 +748,11 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md). - [`marketplaceSubmitBillingData`](docs/sdks/marketplace/README.md#submitbillingdata) - Submit Billing Data - [`marketplaceSubmitInvoice`](docs/sdks/marketplace/README.md#submitinvoice) - Submit Invoice - [`marketplaceSubmitPrepaymentBalances`](docs/sdks/marketplace/README.md#submitprepaymentbalances) - Submit Prepayment Balances +- [`marketplaceUpdateInstallation`](docs/sdks/marketplace/README.md#updateinstallation) - Update Installation - [`marketplaceUpdateInstallationIntegrationConfiguration`](docs/sdks/marketplace/README.md#updateinstallationintegrationconfiguration) - Patch an existing experimentation item - [`marketplaceUpdateInstallationIntegrationEdgeConfig`](docs/sdks/marketplace/README.md#updateinstallationintegrationedgeconfig) - Push data into a user-provided Edge Config - [`marketplaceUpdateInvoice`](docs/sdks/marketplace/README.md#updateinvoice) - Invoice Actions +- [`marketplaceUpdateResource`](docs/sdks/marketplace/README.md#updateresource) - Update Resource - [`marketplaceUpdateResourceSecrets`](docs/sdks/marketplace/README.md#updateresourcesecrets) - Update Resource Secrets (Deprecated) - [`marketplaceUpdateResourceSecretsById`](docs/sdks/marketplace/README.md#updateresourcesecretsbyid) - Update Resource Secrets - [`projectMembersAddProjectMember`](docs/sdks/projectmembers/README.md#addprojectmember) - Adds a new member to a project. @@ -680,8 +765,10 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md). - [`projectsCreateProjectEnv`](docs/sdks/projects/README.md#createprojectenv) - Create one or more environment variables - [`projectsCreateProjectTransferRequest`](docs/sdks/projects/README.md#createprojecttransferrequest) - Create project transfer request - [`projectsDeleteProject`](docs/sdks/projects/README.md#deleteproject) - Delete a Project +- [`projectsDeleteProjectClientCert`](docs/sdks/projects/README.md#deleteprojectclientcert) - Delete client certificate for egress mTLS - [`projectsEditProjectEnv`](docs/sdks/projects/README.md#editprojectenv) - Edit an environment variable - [`projectsFilterProjectEnvs`](docs/sdks/projects/README.md#filterprojectenvs) - Retrieve the environment variables of a project by id or name +- [`projectsGetProjectClientCerts`](docs/sdks/projects/README.md#getprojectclientcerts) - Get client certificates for a project - [`projectsGetProjectDomain`](docs/sdks/projects/README.md#getprojectdomain) - Get a project domain - [`projectsGetProjectDomains`](docs/sdks/projects/README.md#getprojectdomains) - Retrieve project domains by project by id or name - [`projectsGetProjectEnv`](docs/sdks/projects/README.md#getprojectenv) - Retrieve the decrypted value of an environment variable of a project by id @@ -697,6 +784,7 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md). - [`projectsUpdateProjectDataCache`](docs/sdks/projects/README.md#updateprojectdatacache) - Update the data cache feature - [`projectsUpdateProjectDomain`](docs/sdks/projects/README.md#updateprojectdomain) - Update a project domain - [`projectsUpdateProjectProtectionBypass`](docs/sdks/projects/README.md#updateprojectprotectionbypass) - Update Protection Bypass for Automation +- [`projectsUploadProjectClientCert`](docs/sdks/projects/README.md#uploadprojectclientcert) - Upload client certificate for egress mTLS - [`projectsVerifyProjectDomain`](docs/sdks/projects/README.md#verifyprojectdomain) - Verify project domain - [`rollingReleaseApproveRollingReleaseStage`](docs/sdks/rollingrelease/README.md#approverollingreleasestage) - Update the active rolling release to the next stage for a project - [`rollingReleaseCompleteRollingRelease`](docs/sdks/rollingrelease/README.md#completerollingrelease) - Complete the rolling release for the project @@ -709,6 +797,7 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md). - [`securityGetActiveAttackStatus`](docs/sdks/security/README.md#getactiveattackstatus) - Read active attack data - [`securityGetBypassIp`](docs/sdks/security/README.md#getbypassip) - Read System Bypass - [`securityGetFirewallConfig`](docs/sdks/security/README.md#getfirewallconfig) - Read Firewall Configuration +- [`securityGetV1SecurityFirewallEvents`](docs/sdks/security/README.md#getv1securityfirewallevents) - Read Firewall Actions by Project - [`securityPutFirewallConfig`](docs/sdks/security/README.md#putfirewallconfig) - Put Firewall Configuration - [`securityRemoveBypassIp`](docs/sdks/security/README.md#removebypassip) - Remove System Bypass Rule - [`securityUpdateAttackChallengeMode`](docs/sdks/security/README.md#updateattackchallengemode) - Update Attack Challenge mode @@ -910,7 +999,7 @@ run(); * [`VercelBadRequestError`](./src/models/vercelbadrequesterror.ts): Status code `400`. * * [`VercelForbiddenError`](./src/models/vercelforbiddenerror.ts): Status code `401`. * -
Less common errors (8) +
Less common errors (11)
@@ -923,8 +1012,11 @@ run(); **Inherit from [`VercelError`](./src/models/vercelerror.ts)**: -* [`VercelNotFoundError`](./src/models/vercelnotfounderror.ts): Status code `404`. Applicable to 112 of 180 methods.* -* [`VercelRateLimitError`](./src/models/vercelratelimiterror.ts): . Status code `429`. Applicable to 5 of 180 methods.* +* [`VercelNotFoundError`](./src/models/vercelnotfounderror.ts): Status code `404`. Applicable to 135 of 219 methods.* +* [`VercelRateLimitError`](./src/models/vercelratelimiterror.ts): Status code `429`. Applicable to 20 of 219 methods.* +* [`NotAuthorizedForScope`](./src/models/notauthorizedforscope.ts): NotAuthorizedForScope. Status code `403`. Applicable to 15 of 219 methods.* +* [`InternalServerError`](./src/models/internalservererror.ts): InternalServerError. Status code `500`. Applicable to 15 of 219 methods.* +* [`Forbidden`](./src/models/forbidden.ts): NotAuthorizedForScope. Status code `403`. Applicable to 9 of 219 methods.* * [`ResponseValidationError`](./src/models/responsevalidationerror.ts): Type mismatch between the data returned from the server and the structure expected by the SDK. See `error.rawValue` for the raw value and `error.pretty()` for a nicely formatted multi-line string.
diff --git a/RELEASES.md b/RELEASES.md index 045e89ae3..b4d834b8c 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -588,4 +588,14 @@ Based on: ### Generated - [typescript v1.12.1] . ### Releases -- [NPM v1.12.1] https://www.npmjs.com/package/@vercel/sdk/v/1.12.1 - . \ No newline at end of file +- [NPM v1.12.1] https://www.npmjs.com/package/@vercel/sdk/v/1.12.1 - . + +## 2025-11-12 00:06:28 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.653.2 (2.748.4) https://github.com/speakeasy-api/speakeasy +### Generated +- [typescript v1.13.0] . +### Releases +- [NPM v1.13.0] https://www.npmjs.com/package/@vercel/sdk/v/1.13.0 - . \ No newline at end of file diff --git a/RUNTIMES.md b/RUNTIMES.md index db7ea9423..27731c3b5 100644 --- a/RUNTIMES.md +++ b/RUNTIMES.md @@ -2,9 +2,9 @@ This SDK is intended to be used in JavaScript runtimes that support ECMAScript 2020 or newer. The SDK uses the following features: -* [Web Fetch API][web-fetch] -* [Web Streams API][web-streams] and in particular `ReadableStream` -* [Async iterables][async-iter] using `Symbol.asyncIterator` +- [Web Fetch API][web-fetch] +- [Web Streams API][web-streams] and in particular `ReadableStream` +- [Async iterables][async-iter] using `Symbol.asyncIterator` [web-fetch]: https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API [web-streams]: https://developer.mozilla.org/en-US/docs/Web/API/Streams_API @@ -25,7 +25,7 @@ Runtime environments that are explicitly supported are: The following `tsconfig.json` options are recommended for projects using this SDK in order to get static type support for features like async iterables, -streams and `fetch`-related APIs ([`for await...of`][for-await-of], +streams and `fetch`-related APIs ([`for await...of`][for-await-of], [`AbortSignal`][abort-signal], [`Request`][request], [`Response`][response] and so on): @@ -38,11 +38,11 @@ so on): { "compilerOptions": { "target": "es2020", // or higher - "lib": ["es2020", "dom", "dom.iterable"], + "lib": ["es2020", "dom", "dom.iterable"] } } ``` While `target` can be set to older ECMAScript versions, it may result in extra, unnecessary compatibility code being generated if you are not targeting old -runtimes. \ No newline at end of file +runtimes. diff --git a/docs/models/acceptedpermissionsets.md b/docs/models/acceptedpermissionsets.md new file mode 100644 index 000000000..5af143705 --- /dev/null +++ b/docs/models/acceptedpermissionsets.md @@ -0,0 +1,15 @@ +# AcceptedPermissionSets + +## Example Usage + +```typescript +import { AcceptedPermissionSets } from "@vercel/sdk/models/userevent.js"; + +let value: AcceptedPermissionSets = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `userPermissionSet` | [models.UserPermissionSet](../models/userpermissionset.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/acceptprojecttransferrequestresponsebody.md b/docs/models/acceptprojecttransferrequestresponsebody.md index 8c686be35..9b1420b35 100644 --- a/docs/models/acceptprojecttransferrequestresponsebody.md +++ b/docs/models/acceptprojecttransferrequestresponsebody.md @@ -13,6 +13,9 @@ const value: models.AcceptProjectTransferRequestResponseBody1 = { resourceTransferErrors: [ {}, ], + transferredStoreIds: [ + "", + ], }; ``` diff --git a/docs/models/acceptprojecttransferrequestresponsebody1.md b/docs/models/acceptprojecttransferrequestresponsebody1.md index eb7e3af2f..8d78fc20b 100644 --- a/docs/models/acceptprojecttransferrequestresponsebody1.md +++ b/docs/models/acceptprojecttransferrequestresponsebody1.md @@ -10,6 +10,9 @@ let value: AcceptProjectTransferRequestResponseBody1 = { resourceTransferErrors: [ {}, ], + transferredStoreIds: [ + "", + ], }; ``` @@ -18,4 +21,5 @@ let value: AcceptProjectTransferRequestResponseBody1 = { | Field | Type | Required | Description | | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | | `partnerCalls` | [models.PartnerCalls](../models/partnercalls.md)[] | :heavy_check_mark: | N/A | -| `resourceTransferErrors` | [models.ResourceTransferErrors](../models/resourcetransfererrors.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file +| `resourceTransferErrors` | [models.ResourceTransferErrors](../models/resourcetransfererrors.md)[] | :heavy_check_mark: | N/A | +| `transferredStoreIds` | *string*[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/actions.md b/docs/models/actions.md index 655830b38..35d81aaf4 100644 --- a/docs/models/actions.md +++ b/docs/models/actions.md @@ -3,17 +3,27 @@ ## Example Usage ```typescript -import { Actions } from "@vercel/sdk/models/createintegrationstoredirectop.js"; +import { Actions } from "@vercel/sdk/models/getv1securityfirewalleventsop.js"; let value: Actions = { - slug: "", - environments: [], + startTime: "", + endTime: "", + isActive: true, + actionType: "", + host: "harmful-fowl.biz", + publicIp: "", + count: 1399.26, }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | -| `slug` | *string* | :heavy_check_mark: | N/A | -| `environments` | [models.CreateIntegrationStoreDirectIntegrationsEnvironments](../models/createintegrationstoredirectintegrationsenvironments.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `startTime` | *string* | :heavy_check_mark: | N/A | +| `endTime` | *string* | :heavy_check_mark: | N/A | +| `isActive` | *boolean* | :heavy_check_mark: | N/A | +| `actionType` | *string* | :heavy_check_mark: | N/A | +| `host` | *string* | :heavy_check_mark: | N/A | +| `publicIp` | *string* | :heavy_check_mark: | N/A | +| `count` | *number* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/additional.md b/docs/models/additional.md new file mode 100644 index 000000000..5b0d196d3 --- /dev/null +++ b/docs/models/additional.md @@ -0,0 +1,14 @@ +# Additional + +## Example Usage + +```typescript +import { Additional } from "@vercel/sdk/models/buysingledomainop.js"; + +let value: Additional = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/after.md b/docs/models/after.md new file mode 100644 index 000000000..8476e04f7 --- /dev/null +++ b/docs/models/after.md @@ -0,0 +1,15 @@ +# After + +## Example Usage + +```typescript +import { After } from "@vercel/sdk/models/userevent.js"; + +let value: After = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `resources` | [models.UserEventPayloadResources](../models/usereventpayloadresources.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/aliaserror.md b/docs/models/aliaserror.md index 051b58d17..4b005a171 100644 --- a/docs/models/aliaserror.md +++ b/docs/models/aliaserror.md @@ -1,5 +1,7 @@ # AliasError +An object that will contain a `code` and a `message` when the aliasing fails, otherwise the value will be `null` + ## Example Usage ```typescript diff --git a/docs/models/anomalies.md b/docs/models/anomalies.md index 73793fde6..458839431 100644 --- a/docs/models/anomalies.md +++ b/docs/models/anomalies.md @@ -6,8 +6,8 @@ import { Anomalies } from "@vercel/sdk/models/getactiveattackstatusop.js"; let value: Anomalies = { - ownerId: "", projectId: "", + ownerId: "", startTime: 1785.24, endTime: 937.85, atMinute: 3117.97, @@ -19,8 +19,8 @@ let value: Anomalies = { | Field | Type | Required | Description | | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | -| `ownerId` | *string* | :heavy_check_mark: | N/A | | `projectId` | *string* | :heavy_check_mark: | N/A | +| `ownerId` | *string* | :heavy_check_mark: | N/A | | `startTime` | *number* | :heavy_check_mark: | N/A | | `endTime` | *number* | :heavy_check_mark: | N/A | | `atMinute` | *number* | :heavy_check_mark: | N/A | diff --git a/docs/models/app.md b/docs/models/app.md new file mode 100644 index 000000000..fadfdfe2a --- /dev/null +++ b/docs/models/app.md @@ -0,0 +1,21 @@ +# App + +Note that not all historical events have this field. + +## Example Usage + +```typescript +import { App } from "@vercel/sdk/models/userevent.js"; + +let value: App = { + id: "", + name: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | The App's ID. | +| `name` | *string* | :heavy_check_mark: | The App's name at the moment this even was published (it may have changed since then). | \ No newline at end of file diff --git a/docs/models/approverollingreleasestagecanarydeployment.md b/docs/models/approverollingreleasestagecanarydeployment.md index 8f12fc2da..6b48b18ee 100644 --- a/docs/models/approverollingreleasestagecanarydeployment.md +++ b/docs/models/approverollingreleasestagecanarydeployment.md @@ -21,13 +21,13 @@ let value: ApproveRollingReleaseStageCanaryDeployment = { ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | -| `id` | *string* | :heavy_check_mark: | N/A | -| `name` | *string* | :heavy_check_mark: | N/A | -| `url` | *string* | :heavy_check_mark: | N/A | -| `target` | [models.ApproveRollingReleaseStageRollingReleaseTarget](../models/approverollingreleasestagerollingreleasetarget.md) | :heavy_minus_sign: | N/A | -| `source` | [models.ApproveRollingReleaseStageRollingReleaseSource](../models/approverollingreleasestagerollingreleasesource.md) | :heavy_minus_sign: | N/A | -| `createdAt` | *number* | :heavy_check_mark: | N/A | -| `readyState` | [models.ApproveRollingReleaseStageRollingReleaseReadyState](../models/approverollingreleasestagerollingreleasereadystate.md) | :heavy_check_mark: | N/A | -| `readyStateAt` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | A string holding the unique ID of the deployment | dpl_89qyp1cskzkLrVicDaZoDbjyHuDJ | +| `name` | *string* | :heavy_check_mark: | The name of the project associated with the deployment at the time that the deployment was created | my-project | +| `url` | *string* | :heavy_check_mark: | A string with the unique URL of the deployment | my-instant-deployment-3ij3cxz9qr.now.sh | +| `target` | [models.ApproveRollingReleaseStageRollingReleaseTarget](../models/approverollingreleasestagerollingreleasetarget.md) | :heavy_minus_sign: | If defined, either `staging` if a staging alias in the format `..now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment. | | +| `source` | [models.ApproveRollingReleaseStageRollingReleaseSource](../models/approverollingreleasestagerollingreleasesource.md) | :heavy_minus_sign: | Where was the deployment created from | cli | +| `createdAt` | *number* | :heavy_check_mark: | A number containing the date when the deployment was created in milliseconds | 1540257589405 | +| `readyState` | [models.ApproveRollingReleaseStageRollingReleaseReadyState](../models/approverollingreleasestagerollingreleasereadystate.md) | :heavy_check_mark: | The state of the deployment depending on the process of deploying, or if it is ready or in an error state | READY | +| `readyStateAt` | *number* | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/approverollingreleasestagecurrentdeployment.md b/docs/models/approverollingreleasestagecurrentdeployment.md index 15141b428..a520b7d60 100644 --- a/docs/models/approverollingreleasestagecurrentdeployment.md +++ b/docs/models/approverollingreleasestagecurrentdeployment.md @@ -21,13 +21,13 @@ let value: ApproveRollingReleaseStageCurrentDeployment = { ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | -| `id` | *string* | :heavy_check_mark: | N/A | -| `name` | *string* | :heavy_check_mark: | N/A | -| `url` | *string* | :heavy_check_mark: | N/A | -| `target` | [models.ApproveRollingReleaseStageTarget](../models/approverollingreleasestagetarget.md) | :heavy_minus_sign: | N/A | -| `source` | [models.ApproveRollingReleaseStageSource](../models/approverollingreleasestagesource.md) | :heavy_minus_sign: | N/A | -| `createdAt` | *number* | :heavy_check_mark: | N/A | -| `readyState` | [models.ApproveRollingReleaseStageReadyState](../models/approverollingreleasestagereadystate.md) | :heavy_check_mark: | N/A | -| `readyStateAt` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | A string holding the unique ID of the deployment | dpl_89qyp1cskzkLrVicDaZoDbjyHuDJ | +| `name` | *string* | :heavy_check_mark: | The name of the project associated with the deployment at the time that the deployment was created | my-project | +| `url` | *string* | :heavy_check_mark: | A string with the unique URL of the deployment | my-instant-deployment-3ij3cxz9qr.now.sh | +| `target` | [models.ApproveRollingReleaseStageTarget](../models/approverollingreleasestagetarget.md) | :heavy_minus_sign: | If defined, either `staging` if a staging alias in the format `..now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment. | | +| `source` | [models.ApproveRollingReleaseStageSource](../models/approverollingreleasestagesource.md) | :heavy_minus_sign: | Where was the deployment created from | cli | +| `createdAt` | *number* | :heavy_check_mark: | A number containing the date when the deployment was created in milliseconds | 1540257589405 | +| `readyState` | [models.ApproveRollingReleaseStageReadyState](../models/approverollingreleasestagereadystate.md) | :heavy_check_mark: | The state of the deployment depending on the process of deploying, or if it is ready or in an error state | READY | +| `readyStateAt` | *number* | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/approverollingreleasestagereadystate.md b/docs/models/approverollingreleasestagereadystate.md index 5647ec41b..81e1ec86c 100644 --- a/docs/models/approverollingreleasestagereadystate.md +++ b/docs/models/approverollingreleasestagereadystate.md @@ -1,11 +1,13 @@ # ApproveRollingReleaseStageReadyState +The state of the deployment depending on the process of deploying, or if it is ready or in an error state + ## Example Usage ```typescript import { ApproveRollingReleaseStageReadyState } from "@vercel/sdk/models/approverollingreleasestageop.js"; -let value: ApproveRollingReleaseStageReadyState = "QUEUED"; +let value: ApproveRollingReleaseStageReadyState = "READY"; ``` ## Values diff --git a/docs/models/approverollingreleasestagerollingreleasereadystate.md b/docs/models/approverollingreleasestagerollingreleasereadystate.md index f7933aa94..5269fd9c1 100644 --- a/docs/models/approverollingreleasestagerollingreleasereadystate.md +++ b/docs/models/approverollingreleasestagerollingreleasereadystate.md @@ -1,11 +1,13 @@ # ApproveRollingReleaseStageRollingReleaseReadyState +The state of the deployment depending on the process of deploying, or if it is ready or in an error state + ## Example Usage ```typescript import { ApproveRollingReleaseStageRollingReleaseReadyState } from "@vercel/sdk/models/approverollingreleasestageop.js"; -let value: ApproveRollingReleaseStageRollingReleaseReadyState = "BUILDING"; +let value: ApproveRollingReleaseStageRollingReleaseReadyState = "READY"; ``` ## Values diff --git a/docs/models/approverollingreleasestagerollingreleasesource.md b/docs/models/approverollingreleasestagerollingreleasesource.md index 7ced47022..0b7ac9a76 100644 --- a/docs/models/approverollingreleasestagerollingreleasesource.md +++ b/docs/models/approverollingreleasestagerollingreleasesource.md @@ -1,11 +1,13 @@ # ApproveRollingReleaseStageRollingReleaseSource +Where was the deployment created from + ## Example Usage ```typescript import { ApproveRollingReleaseStageRollingReleaseSource } from "@vercel/sdk/models/approverollingreleasestageop.js"; -let value: ApproveRollingReleaseStageRollingReleaseSource = "redeploy"; +let value: ApproveRollingReleaseStageRollingReleaseSource = "cli"; ``` ## Values diff --git a/docs/models/approverollingreleasestagerollingreleasetarget.md b/docs/models/approverollingreleasestagerollingreleasetarget.md index d2b6f7ba7..e5456ca03 100644 --- a/docs/models/approverollingreleasestagerollingreleasetarget.md +++ b/docs/models/approverollingreleasestagerollingreleasetarget.md @@ -1,5 +1,7 @@ # ApproveRollingReleaseStageRollingReleaseTarget +If defined, either `staging` if a staging alias in the format `..now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment. + ## Example Usage ```typescript diff --git a/docs/models/approverollingreleasestagesource.md b/docs/models/approverollingreleasestagesource.md index 1371b41fb..0e2c6bbf4 100644 --- a/docs/models/approverollingreleasestagesource.md +++ b/docs/models/approverollingreleasestagesource.md @@ -1,11 +1,13 @@ # ApproveRollingReleaseStageSource +Where was the deployment created from + ## Example Usage ```typescript import { ApproveRollingReleaseStageSource } from "@vercel/sdk/models/approverollingreleasestageop.js"; -let value: ApproveRollingReleaseStageSource = "api-trigger-git-deploy"; +let value: ApproveRollingReleaseStageSource = "cli"; ``` ## Values diff --git a/docs/models/approverollingreleasestagetarget.md b/docs/models/approverollingreleasestagetarget.md index dfc168f4e..012b0e3bd 100644 --- a/docs/models/approverollingreleasestagetarget.md +++ b/docs/models/approverollingreleasestagetarget.md @@ -1,5 +1,7 @@ # ApproveRollingReleaseStageTarget +If defined, either `staging` if a staging alias in the format `..now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment. + ## Example Usage ```typescript diff --git a/docs/models/atbrandat543472.md b/docs/models/atbrandat649501.md similarity index 61% rename from docs/models/atbrandat543472.md rename to docs/models/atbrandat649501.md index 269867c54..3bb31505d 100644 --- a/docs/models/atbrandat543472.md +++ b/docs/models/atbrandat649501.md @@ -1,11 +1,11 @@ -# AtBRANDAt543472 +# AtBRANDAt649501 ## Example Usage ```typescript -import { AtBRANDAt543472 } from "@vercel/sdk/models/getconfigurationproductsop.js"; +import { AtBRANDAt649501 } from "@vercel/sdk/models/getconfigurationproductsop.js"; -let value: AtBRANDAt543472 = {}; +let value: AtBRANDAt649501 = {}; ``` ## Fields diff --git a/docs/models/atbrandat8486.md b/docs/models/atbrandat8795.md similarity index 62% rename from docs/models/atbrandat8486.md rename to docs/models/atbrandat8795.md index ec0e3ce15..6a7371ea6 100644 --- a/docs/models/atbrandat8486.md +++ b/docs/models/atbrandat8795.md @@ -1,11 +1,11 @@ -# AtBRANDAt8486 +# AtBRANDAt8795 ## Example Usage ```typescript -import { AtBRANDAt8486 } from "@vercel/sdk/models/createintegrationstoredirectop.js"; +import { AtBRANDAt8795 } from "@vercel/sdk/models/createintegrationstoredirectop.js"; -let value: AtBRANDAt8486 = {}; +let value: AtBRANDAt8795 = {}; ``` ## Fields diff --git a/docs/models/authmethod.md b/docs/models/authmethod.md index 133501d2a..198b49b1f 100644 --- a/docs/models/authmethod.md +++ b/docs/models/authmethod.md @@ -11,5 +11,5 @@ let value: AuthMethod = "passkey"; ## Values ```typescript -"email" | "saml" | "app" | "github" | "gitlab" | "bitbucket" | "manual" | "passkey" | "otp" | "sms" | "invite" | "google" +"email" | "saml" | "app" | "github" | "gitlab" | "bitbucket" | "manual" | "passkey" | "otp" | "sms" | "invite" | "google" | "apple" ``` \ No newline at end of file diff --git a/docs/models/authtokenscopesorigin.md b/docs/models/authtokenscopesorigin.md index 051680b74..6559af093 100644 --- a/docs/models/authtokenscopesorigin.md +++ b/docs/models/authtokenscopesorigin.md @@ -11,5 +11,5 @@ let value: AuthTokenScopesOrigin = "sms"; ## Values ```typescript -"saml" | "github" | "gitlab" | "bitbucket" | "email" | "manual" | "passkey" | "otp" | "sms" | "invite" | "google" | "app" +"saml" | "github" | "gitlab" | "bitbucket" | "email" | "manual" | "passkey" | "otp" | "sms" | "invite" | "google" | "apple" | "app" ``` \ No newline at end of file diff --git a/docs/models/authuserconfiguration.md b/docs/models/authuserconfiguration.md new file mode 100644 index 000000000..a8372962c --- /dev/null +++ b/docs/models/authuserconfiguration.md @@ -0,0 +1,17 @@ +# AuthUserConfiguration + +An object containing infomation related to the amount of platform resources may be allocated to the User account. + +## Example Usage + +```typescript +import { AuthUserConfiguration } from "@vercel/sdk/models/authuser.js"; + +let value: AuthUserConfiguration = "SKIP_NAMESPACE_QUEUE"; +``` + +## Values + +```typescript +"SKIP_NAMESPACE_QUEUE" | "WAIT_FOR_NAMESPACE_QUEUE" +``` \ No newline at end of file diff --git a/docs/models/authuserresourceconfig.md b/docs/models/authuserresourceconfig.md index ad63fd976..235dff298 100644 --- a/docs/models/authuserresourceconfig.md +++ b/docs/models/authuserresourceconfig.md @@ -18,6 +18,7 @@ let value: AuthUserResourceConfig = {}; | `concurrentBuilds` | *number* | :heavy_minus_sign: | An object containing infomation related to the amount of platform resources may be allocated to the User account. | | `elasticConcurrencyEnabled` | *boolean* | :heavy_minus_sign: | An object containing infomation related to the amount of platform resources may be allocated to the User account. | | `buildEntitlements` | [models.AuthUserBuildEntitlements](../models/authuserbuildentitlements.md) | :heavy_minus_sign: | An object containing infomation related to the amount of platform resources may be allocated to the User account. | +| `buildQueue` | [models.BuildQueue](../models/buildqueue.md) | :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. | diff --git a/docs/models/before.md b/docs/models/before.md new file mode 100644 index 000000000..ea756bf63 --- /dev/null +++ b/docs/models/before.md @@ -0,0 +1,15 @@ +# Before + +## Example Usage + +```typescript +import { Before } from "@vercel/sdk/models/userevent.js"; + +let value: Before = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | +| `resources` | [models.PayloadResources](../models/payloadresources.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/billingplan.md b/docs/models/billingplan.md index b1f442aac..4e7b1dfe3 100644 --- a/docs/models/billingplan.md +++ b/docs/models/billingplan.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { BillingPlan } from "@vercel/sdk/models/importresourceop.js"; +import { BillingPlan } from "@vercel/sdk/models/updateinstallationop.js"; let value: BillingPlan = { id: "", @@ -14,15 +14,15 @@ let value: BillingPlan = { ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -| `id` | *string* | :heavy_check_mark: | N/A | -| `type` | [models.ImportResourceType](../models/importresourcetype.md) | :heavy_check_mark: | N/A | -| `name` | *string* | :heavy_check_mark: | N/A | -| `description` | *string* | :heavy_minus_sign: | N/A | -| `paymentMethodRequired` | *boolean* | :heavy_minus_sign: | N/A | -| `cost` | *string* | :heavy_minus_sign: | N/A | -| `details` | [models.Details](../models/details.md)[] | :heavy_minus_sign: | N/A | -| `highlightedDetails` | [models.HighlightedDetails](../models/highlighteddetails.md)[] | :heavy_minus_sign: | N/A | -| `effectiveDate` | *string* | :heavy_minus_sign: | N/A | -| `additionalProperties` | Record | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | N/A | +| `type` | [models.UpdateInstallationType](../models/updateinstallationtype.md) | :heavy_check_mark: | N/A | +| `name` | *string* | :heavy_check_mark: | N/A | +| `description` | *string* | :heavy_minus_sign: | N/A | +| `paymentMethodRequired` | *boolean* | :heavy_minus_sign: | N/A | +| `cost` | *string* | :heavy_minus_sign: | N/A | +| `details` | [models.Details](../models/details.md)[] | :heavy_minus_sign: | N/A | +| `highlightedDetails` | [models.HighlightedDetails](../models/highlighteddetails.md)[] | :heavy_minus_sign: | N/A | +| `effectiveDate` | *string* | :heavy_minus_sign: | N/A | +| `additionalProperties` | Record | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/blobt.md b/docs/models/blobt.md index aada24a43..def21b638 100644 --- a/docs/models/blobt.md +++ b/docs/models/blobt.md @@ -19,5 +19,5 @@ let value: BlobT = { | `updatedAt` | *number* | :heavy_check_mark: | N/A | | `blockedFrom` | *number* | :heavy_minus_sign: | N/A | | `blockedUntil` | *number* | :heavy_minus_sign: | N/A | -| `blockReason` | [models.UserEventPayload64NewOwnerFeatureBlocksBlobBlockReason](../models/usereventpayload64newownerfeatureblocksblobblockreason.md) | :heavy_check_mark: | N/A | +| `blockReason` | [models.UserEventPayload66NewOwnerFeatureBlocksBlobBlockReason](../models/usereventpayload66newownerfeatureblocksblobblockreason.md) | :heavy_check_mark: | N/A | | `overageReason` | [models.OverageReason](../models/overagereason.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/block.md b/docs/models/block.md index 28dbdb5f2..4029db6d8 100644 --- a/docs/models/block.md +++ b/docs/models/block.md @@ -15,13 +15,13 @@ let value: Block = { ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -| `action` | [models.UpdateProjectDataCacheAction](../models/updateprojectdatacacheaction.md) | :heavy_check_mark: | N/A | -| `reason` | *string* | :heavy_check_mark: | N/A | -| `statusCode` | *number* | :heavy_check_mark: | N/A | -| `createdAt` | *number* | :heavy_check_mark: | N/A | -| `caseId` | *string* | :heavy_minus_sign: | N/A | -| `actor` | *string* | :heavy_minus_sign: | N/A | -| `comment` | *string* | :heavy_minus_sign: | N/A | -| `isCascading` | *boolean* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | +| `action` | [models.UpdateProjectDataCacheProjectsAction](../models/updateprojectdatacacheprojectsaction.md) | :heavy_check_mark: | N/A | +| `reason` | *string* | :heavy_check_mark: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `createdAt` | *number* | :heavy_check_mark: | N/A | +| `caseId` | *string* | :heavy_minus_sign: | N/A | +| `actor` | *string* | :heavy_minus_sign: | N/A | +| `comment` | *string* | :heavy_minus_sign: | N/A | +| `isCascading` | *boolean* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/blockhistory.md b/docs/models/blockhistory.md index fb2cbe3d4..51c27d9f9 100644 --- a/docs/models/blockhistory.md +++ b/docs/models/blockhistory.md @@ -18,7 +18,7 @@ let value: BlockHistory = { | Field | Type | Required | Description | | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | -| `action` | [models.UserEventPayload64Action](../models/usereventpayload64action.md) | :heavy_check_mark: | N/A | +| `action` | [models.UserEventPayload66Action](../models/usereventpayload66action.md) | :heavy_check_mark: | N/A | | `createdAt` | *number* | :heavy_check_mark: | N/A | | `caseId` | *string* | :heavy_minus_sign: | N/A | | `reason` | *string* | :heavy_check_mark: | N/A | diff --git a/docs/models/budgetitem.md b/docs/models/budgetitem.md index 635152a61..992ee4ea4 100644 --- a/docs/models/budgetitem.md +++ b/docs/models/budgetitem.md @@ -28,7 +28,7 @@ let value: BudgetItem = { | Field | Type | Required | Description | | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -| `type` | [models.UserEventPayload104Type](../models/usereventpayload104type.md) | :heavy_check_mark: | The budget type | +| `type` | [models.UserEventPayload106Type](../models/usereventpayload106type.md) | :heavy_check_mark: | The budget type | | `fixedBudget` | *number* | :heavy_check_mark: | Budget amount (USD / dollars) | | `previousSpend` | *number*[] | :heavy_check_mark: | Array of the last 3 months of spend data | | `notifiedAt` | *number*[] | :heavy_check_mark: | Array of 50, 75, 100 to keep track of notifications sent out | diff --git a/docs/models/buildqueue.md b/docs/models/buildqueue.md new file mode 100644 index 000000000..d871fe7ee --- /dev/null +++ b/docs/models/buildqueue.md @@ -0,0 +1,17 @@ +# BuildQueue + +An object containing infomation related to the amount of platform resources may be allocated to the User account. + +## Example Usage + +```typescript +import { BuildQueue } from "@vercel/sdk/models/authuser.js"; + +let value: BuildQueue = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | +| `configuration` | [models.AuthUserConfiguration](../models/authuserconfiguration.md) | :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/buydomainsadditional.md b/docs/models/buydomainsadditional.md new file mode 100644 index 000000000..6179fbd55 --- /dev/null +++ b/docs/models/buydomainsadditional.md @@ -0,0 +1,14 @@ +# BuyDomainsAdditional + +## Example Usage + +```typescript +import { BuyDomainsAdditional } from "@vercel/sdk/models/buydomainsop.js"; + +let value: BuyDomainsAdditional = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/buydomainscontactinformation.md b/docs/models/buydomainscontactinformation.md new file mode 100644 index 000000000..3d3990b49 --- /dev/null +++ b/docs/models/buydomainscontactinformation.md @@ -0,0 +1,39 @@ +# BuyDomainsContactInformation + +The contact information for the domain. Some TLDs require additional contact information. Use the [Get contact info schema](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/get-contact-info-schema) endpoint to retrieve the required fields. + +## Example Usage + +```typescript +import { BuyDomainsContactInformation } from "@vercel/sdk/models/buydomainsop.js"; + +let value: BuyDomainsContactInformation = { + firstName: "Eleazar", + lastName: "Borer", + email: "Kathryn.Wilkinson62@hotmail.com", + phone: "532.373.8983 x9101", + address1: "", + city: "Odellmouth", + state: "Nebraska", + zip: "09572-2511", + country: "Pitcairn Islands", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | +| `firstName` | *string* | :heavy_check_mark: | a non empty string | +| `lastName` | *string* | :heavy_check_mark: | a non empty string | +| `email` | *string* | :heavy_check_mark: | a non empty string | +| `phone` | *string* | :heavy_check_mark: | A valid E.164 phone number | +| `address1` | *string* | :heavy_check_mark: | a non empty string | +| `address2` | *string* | :heavy_minus_sign: | a non empty string | +| `city` | *string* | :heavy_check_mark: | a non empty string | +| `state` | *string* | :heavy_check_mark: | a non empty string | +| `zip` | *string* | :heavy_check_mark: | a non empty string | +| `country` | *string* | :heavy_check_mark: | A valid ISO 3166-1 alpha-2 country code | +| `companyName` | *string* | :heavy_minus_sign: | a non empty string | +| `fax` | *string* | :heavy_minus_sign: | A valid E.164 phone number | +| `additional` | [models.BuyDomainsAdditional](../models/buydomainsadditional.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/buydomainsdomainsregistrarresponsebody.md b/docs/models/buydomainsdomainsregistrarresponsebody.md new file mode 100644 index 000000000..35628efb4 --- /dev/null +++ b/docs/models/buydomainsdomainsregistrarresponsebody.md @@ -0,0 +1,27 @@ +# BuyDomainsDomainsRegistrarResponseBody + +NotAuthorizedForScope + + +## Supported Types + +### `models.NotAuthorizedForScope` + +```typescript +const value: models.NotAuthorizedForScope = { + status: 4853.56, + code: "not_authorized_for_scope", + message: "", +}; +``` + +### `models.Forbidden` + +```typescript +const value: models.Forbidden = { + status: 7108.3, + code: "forbidden", + message: "", +}; +``` + diff --git a/docs/models/buydomainslinks.md b/docs/models/buydomainslinks.md new file mode 100644 index 000000000..fbb6f81da --- /dev/null +++ b/docs/models/buydomainslinks.md @@ -0,0 +1,19 @@ +# BuyDomainsLinks + +## Example Usage + +```typescript +import { BuyDomainsLinks } from "@vercel/sdk/models/buydomainsop.js"; + +let value: BuyDomainsLinks = { + href: "", + method: "POST", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | +| `href` | *string* | :heavy_check_mark: | N/A | +| `method` | [models.BuyDomainsMethod](../models/buydomainsmethod.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/buydomainsmethod.md b/docs/models/buydomainsmethod.md new file mode 100644 index 000000000..d14e3daff --- /dev/null +++ b/docs/models/buydomainsmethod.md @@ -0,0 +1,15 @@ +# BuyDomainsMethod + +## Example Usage + +```typescript +import { BuyDomainsMethod } from "@vercel/sdk/models/buydomainsop.js"; + +let value: BuyDomainsMethod = "PATCH"; +``` + +## Values + +```typescript +"GET" | "POST" | "PUT" | "DELETE" | "PATCH" +``` \ No newline at end of file diff --git a/docs/models/buydomainsrequest.md b/docs/models/buydomainsrequest.md new file mode 100644 index 000000000..dc0df56cb --- /dev/null +++ b/docs/models/buydomainsrequest.md @@ -0,0 +1,39 @@ +# BuyDomainsRequest + +## Example Usage + +```typescript +import { BuyDomainsRequest } from "@vercel/sdk/models/buydomainsop.js"; + +let value: BuyDomainsRequest = { + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + requestBody: { + domains: [ + { + domainName: "concerned-bell.name", + autoRenew: true, + years: 101.03, + expectedPrice: 3273.83, + }, + ], + contactInformation: { + firstName: "Ansel", + lastName: "Nitzsche", + email: "Emely_Torphy@yahoo.com", + phone: "(341) 568-5177 x9849", + address1: "", + city: "Lake Zettaville", + state: "Indiana", + zip: "08371", + country: "Seychelles", + }, + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `teamId` | *string* | :heavy_minus_sign: | N/A | team_1a2b3c4d5e6f7g8h9i0j1k2l | +| `requestBody` | [models.BuyDomainsRequestBody](../models/buydomainsrequestbody.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/buydomainsrequestbody.md b/docs/models/buydomainsrequestbody.md new file mode 100644 index 000000000..b8b0172b9 --- /dev/null +++ b/docs/models/buydomainsrequestbody.md @@ -0,0 +1,36 @@ +# BuyDomainsRequestBody + +## Example Usage + +```typescript +import { BuyDomainsRequestBody } from "@vercel/sdk/models/buydomainsop.js"; + +let value: BuyDomainsRequestBody = { + domains: [ + { + domainName: "concerned-bell.name", + autoRenew: true, + years: 101.03, + expectedPrice: 3273.83, + }, + ], + contactInformation: { + firstName: "Ansel", + lastName: "Nitzsche", + email: "Emely_Torphy@yahoo.com", + phone: "(341) 568-5177 x9849", + address1: "", + city: "Lake Zettaville", + state: "Indiana", + zip: "08371", + country: "Seychelles", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `domains` | [models.Domains](../models/domains.md)[] | :heavy_check_mark: | N/A | +| `contactInformation` | [models.BuyDomainsContactInformation](../models/buydomainscontactinformation.md) | :heavy_check_mark: | The contact information for the domain. Some TLDs require additional contact information. Use the [Get contact info schema](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/get-contact-info-schema) endpoint to retrieve the required fields. | \ No newline at end of file diff --git a/docs/models/buydomainsresponsebody.md b/docs/models/buydomainsresponsebody.md new file mode 100644 index 000000000..fa3569eda --- /dev/null +++ b/docs/models/buydomainsresponsebody.md @@ -0,0 +1,21 @@ +# BuyDomainsResponseBody + +Success + +## Example Usage + +```typescript +import { BuyDomainsResponseBody } from "@vercel/sdk/models/buydomainsop.js"; + +let value: BuyDomainsResponseBody = { + orderId: "", + links: {}, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | +| `orderId` | *string* | :heavy_check_mark: | N/A | +| `links` | Record | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/buysingledomaindomainsregistrarresponsebody.md b/docs/models/buysingledomaindomainsregistrarresponsebody.md new file mode 100644 index 000000000..ee9b04483 --- /dev/null +++ b/docs/models/buysingledomaindomainsregistrarresponsebody.md @@ -0,0 +1,27 @@ +# BuySingleDomainDomainsRegistrarResponseBody + +NotAuthorizedForScope + + +## Supported Types + +### `models.NotAuthorizedForScope` + +```typescript +const value: models.NotAuthorizedForScope = { + status: 4853.56, + code: "not_authorized_for_scope", + message: "", +}; +``` + +### `models.Forbidden` + +```typescript +const value: models.Forbidden = { + status: 7108.3, + code: "forbidden", + message: "", +}; +``` + diff --git a/docs/models/buysingledomainmethod.md b/docs/models/buysingledomainmethod.md new file mode 100644 index 000000000..e497f904d --- /dev/null +++ b/docs/models/buysingledomainmethod.md @@ -0,0 +1,15 @@ +# BuySingleDomainMethod + +## Example Usage + +```typescript +import { BuySingleDomainMethod } from "@vercel/sdk/models/buysingledomainop.js"; + +let value: BuySingleDomainMethod = "PUT"; +``` + +## Values + +```typescript +"GET" | "POST" | "PUT" | "DELETE" | "PATCH" +``` \ No newline at end of file diff --git a/docs/models/buysingledomainrequest.md b/docs/models/buysingledomainrequest.md new file mode 100644 index 000000000..d0a6a00b4 --- /dev/null +++ b/docs/models/buysingledomainrequest.md @@ -0,0 +1,36 @@ +# BuySingleDomainRequest + +## Example Usage + +```typescript +import { BuySingleDomainRequest } from "@vercel/sdk/models/buysingledomainop.js"; + +let value: BuySingleDomainRequest = { + domain: "feline-charm.biz", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + requestBody: { + autoRenew: true, + years: 2686.01, + expectedPrice: 4248.66, + contactInformation: { + firstName: "Ebony", + lastName: "Graham", + email: "Aaliyah_Predovic60@yahoo.com", + phone: "439.308.5038 x5255", + address1: "", + city: "Amberfurt", + state: "North Dakota", + zip: "89617", + country: "Cocos (Keeling) Islands", + }, + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `domain` | *string* | :heavy_check_mark: | N/A | | +| `teamId` | *string* | :heavy_minus_sign: | N/A | team_1a2b3c4d5e6f7g8h9i0j1k2l | +| `requestBody` | [models.BuySingleDomainRequestBody](../models/buysingledomainrequestbody.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/buysingledomainrequestbody.md b/docs/models/buysingledomainrequestbody.md new file mode 100644 index 000000000..f08ee79f0 --- /dev/null +++ b/docs/models/buysingledomainrequestbody.md @@ -0,0 +1,33 @@ +# BuySingleDomainRequestBody + +## Example Usage + +```typescript +import { BuySingleDomainRequestBody } from "@vercel/sdk/models/buysingledomainop.js"; + +let value: BuySingleDomainRequestBody = { + autoRenew: false, + years: 6366.02, + expectedPrice: 9357.51, + contactInformation: { + firstName: "Ebony", + lastName: "Graham", + email: "Aaliyah_Predovic60@yahoo.com", + phone: "439.308.5038 x5255", + address1: "", + city: "Amberfurt", + state: "North Dakota", + zip: "89617", + country: "Cocos (Keeling) Islands", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `autoRenew` | *boolean* | :heavy_check_mark: | Whether the domain should be auto-renewed before it expires. This can be configured later through the Vercel Dashboard or the [Update auto-renew for a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/update-auto-renew-for-a-domain) endpoint. | +| `years` | *number* | :heavy_check_mark: | The number of years to purchase the domain for. | +| `expectedPrice` | *number* | :heavy_check_mark: | The expected price for the domain. Use the [Get price data for a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/get-price-data-for-a-domain) endpoint to retrieve the price data for a domain. | +| `contactInformation` | [models.ContactInformation](../models/contactinformation.md) | :heavy_check_mark: | The contact information for the domain. Some TLDs require additional contact information. Use the [Get contact info schema](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/get-contact-info-schema) endpoint to retrieve the required fields. | \ No newline at end of file diff --git a/docs/models/buysingledomainresponsebody.md b/docs/models/buysingledomainresponsebody.md new file mode 100644 index 000000000..d1a8b8a8e --- /dev/null +++ b/docs/models/buysingledomainresponsebody.md @@ -0,0 +1,26 @@ +# BuySingleDomainResponseBody + +Success + +## Example Usage + +```typescript +import { BuySingleDomainResponseBody } from "@vercel/sdk/models/buysingledomainop.js"; + +let value: BuySingleDomainResponseBody = { + orderId: "", + links: { + "key": { + href: "", + method: "PATCH", + }, + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | +| `orderId` | *string* | :heavy_check_mark: | N/A | +| `links` | Record | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/canarydeployment.md b/docs/models/canarydeployment.md index e778fd920..cdfabc833 100644 --- a/docs/models/canarydeployment.md +++ b/docs/models/canarydeployment.md @@ -21,13 +21,13 @@ let value: CanaryDeployment = { ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | -| `id` | *string* | :heavy_check_mark: | N/A | -| `name` | *string* | :heavy_check_mark: | N/A | -| `url` | *string* | :heavy_check_mark: | N/A | -| `target` | [models.GetRollingReleaseRollingReleaseTarget](../models/getrollingreleaserollingreleasetarget.md) | :heavy_minus_sign: | N/A | -| `source` | [models.GetRollingReleaseRollingReleaseSource](../models/getrollingreleaserollingreleasesource.md) | :heavy_minus_sign: | N/A | -| `createdAt` | *number* | :heavy_check_mark: | N/A | -| `readyState` | [models.GetRollingReleaseRollingReleaseReadyState](../models/getrollingreleaserollingreleasereadystate.md) | :heavy_check_mark: | N/A | -| `readyStateAt` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | A string holding the unique ID of the deployment | dpl_89qyp1cskzkLrVicDaZoDbjyHuDJ | +| `name` | *string* | :heavy_check_mark: | The name of the project associated with the deployment at the time that the deployment was created | my-project | +| `url` | *string* | :heavy_check_mark: | A string with the unique URL of the deployment | my-instant-deployment-3ij3cxz9qr.now.sh | +| `target` | [models.GetRollingReleaseRollingReleaseTarget](../models/getrollingreleaserollingreleasetarget.md) | :heavy_minus_sign: | If defined, either `staging` if a staging alias in the format `..now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment. | | +| `source` | [models.GetRollingReleaseRollingReleaseSource](../models/getrollingreleaserollingreleasesource.md) | :heavy_minus_sign: | Where was the deployment created from | cli | +| `createdAt` | *number* | :heavy_check_mark: | A number containing the date when the deployment was created in milliseconds | 1540257589405 | +| `readyState` | [models.GetRollingReleaseRollingReleaseReadyState](../models/getrollingreleaserollingreleasereadystate.md) | :heavy_check_mark: | The state of the deployment depending on the process of deploying, or if it is ready or in an error state | READY | +| `readyStateAt` | *number* | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/canceldeploymentaliaserror.md b/docs/models/canceldeploymentaliaserror.md index 363900a4a..44f83a9f8 100644 --- a/docs/models/canceldeploymentaliaserror.md +++ b/docs/models/canceldeploymentaliaserror.md @@ -1,5 +1,7 @@ # CancelDeploymentAliasError +An object that will contain a `code` and a `message` when the aliasing fails, otherwise the value will be `null` + ## Example Usage ```typescript diff --git a/docs/models/canceldeploymentcreator.md b/docs/models/canceldeploymentcreator.md index 09bd9b353..f929d0b32 100644 --- a/docs/models/canceldeploymentcreator.md +++ b/docs/models/canceldeploymentcreator.md @@ -1,19 +1,22 @@ # CancelDeploymentCreator +Information about the deployment creator + ## Example Usage ```typescript import { CancelDeploymentCreator } from "@vercel/sdk/models/canceldeploymentop.js"; let value: CancelDeploymentCreator = { - uid: "", + uid: "96SnxkFiMyVKsK3pnoHfx3Hz", + username: "john-doe", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `uid` | *string* | :heavy_check_mark: | N/A | -| `username` | *string* | :heavy_minus_sign: | N/A | -| `avatar` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | +| `uid` | *string* | :heavy_check_mark: | The ID of the user that created the deployment | 96SnxkFiMyVKsK3pnoHfx3Hz | +| `username` | *string* | :heavy_minus_sign: | The username of the user that created the deployment | john-doe | +| `avatar` | *string* | :heavy_minus_sign: | The avatar of the user that created the deployment | | \ No newline at end of file diff --git a/docs/models/canceldeploymentcustomenvironment1.md b/docs/models/canceldeploymentcustomenvironment1.md index 0f041520e..267f9dfb0 100644 --- a/docs/models/canceldeploymentcustomenvironment1.md +++ b/docs/models/canceldeploymentcustomenvironment1.md @@ -1,6 +1,6 @@ # CancelDeploymentCustomEnvironment1 -Internal representation of a custom environment with all required properties +If the deployment was created using a Custom Environment, then this property contains information regarding the environment used. ## Example Usage diff --git a/docs/models/canceldeploymentcustomenvironment2.md b/docs/models/canceldeploymentcustomenvironment2.md index 92c2dd14f..85fbd8829 100644 --- a/docs/models/canceldeploymentcustomenvironment2.md +++ b/docs/models/canceldeploymentcustomenvironment2.md @@ -1,5 +1,7 @@ # CancelDeploymentCustomEnvironment2 +If the deployment was created using a Custom Environment, then this property contains information regarding the environment used. + ## Example Usage ```typescript diff --git a/docs/models/canceldeploymentframework.md b/docs/models/canceldeploymentframework.md index df0c51ed9..19c5909c8 100644 --- a/docs/models/canceldeploymentframework.md +++ b/docs/models/canceldeploymentframework.md @@ -5,11 +5,11 @@ ```typescript import { CancelDeploymentFramework } from "@vercel/sdk/models/canceldeploymentop.js"; -let value: CancelDeploymentFramework = "sveltekit"; +let value: CancelDeploymentFramework = "ionic-react"; ``` ## Values ```typescript -"blitzjs" | "nextjs" | "gatsby" | "remix" | "react-router" | "astro" | "hexo" | "eleventy" | "docusaurus-2" | "docusaurus" | "preact" | "solidstart-1" | "solidstart" | "dojo" | "ember" | "vue" | "scully" | "ionic-angular" | "angular" | "polymer" | "svelte" | "sveltekit" | "sveltekit-1" | "ionic-react" | "create-react-app" | "gridsome" | "umijs" | "sapper" | "saber" | "stencil" | "nuxtjs" | "redwoodjs" | "hugo" | "jekyll" | "brunch" | "middleman" | "zola" | "hydrogen" | "vite" | "vitepress" | "vuepress" | "parcel" | "fastapi" | "fasthtml" | "sanity-v3" | "sanity" | "storybook" | "nitro" | "hono" | "express" | "h3" | "xmcp" +"blitzjs" | "nextjs" | "gatsby" | "remix" | "react-router" | "astro" | "hexo" | "eleventy" | "docusaurus-2" | "docusaurus" | "preact" | "solidstart-1" | "solidstart" | "dojo" | "ember" | "vue" | "scully" | "ionic-angular" | "angular" | "polymer" | "svelte" | "sveltekit" | "sveltekit-1" | "ionic-react" | "create-react-app" | "gridsome" | "umijs" | "sapper" | "saber" | "stencil" | "nuxtjs" | "redwoodjs" | "hugo" | "jekyll" | "brunch" | "middleman" | "zola" | "hydrogen" | "vite" | "tanstack-start" | "vitepress" | "vuepress" | "parcel" | "fastapi" | "flask" | "fasthtml" | "sanity-v3" | "sanity" | "storybook" | "nitro" | "hono" | "express" | "h3" | "nestjs" | "elysia" | "fastify" | "xmcp" ``` \ No newline at end of file diff --git a/docs/models/canceldeploymentmicrofrontends1.md b/docs/models/canceldeploymentmicrofrontends1.md index 7584c49fd..f22fa36e2 100644 --- a/docs/models/canceldeploymentmicrofrontends1.md +++ b/docs/models/canceldeploymentmicrofrontends1.md @@ -20,6 +20,4 @@ let value: CancelDeploymentMicrofrontends1 = { | `isDefaultApp` | *boolean* | :heavy_minus_sign: | N/A | | `defaultAppProjectName` | *string* | :heavy_check_mark: | The project name of the default app of this deployment's microfrontends group. | | `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. | -| `microfrontendsAlias2Enabled` | *boolean* | :heavy_minus_sign: | Whether the MicrofrontendsAlias2 team flag should be considered enabled for this deployment or not. | -| `microfrontendsAliasRoutingVercelSiteProdTestHost` | *boolean* | :heavy_minus_sign: | Temporary flag to safely test MFE alias routing in vercel-site production for specific production hosts (not vercel.com) | \ No newline at end of file +| `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/canceldeploymentmicrofrontends2.md b/docs/models/canceldeploymentmicrofrontends2.md index e6e793619..c79ddbafd 100644 --- a/docs/models/canceldeploymentmicrofrontends2.md +++ b/docs/models/canceldeploymentmicrofrontends2.md @@ -23,6 +23,4 @@ let value: CancelDeploymentMicrofrontends2 = { | `mfeConfigUploadState` | [models.MicrofrontendsMfeConfigUploadState](../models/microfrontendsmfeconfiguploadstate.md) | :heavy_minus_sign: | The result of the microfrontends config upload during deployment creation / build. Only set for default app deployments. The config upload is attempted during deployment create, and then again during the build. If the config is not in the root directory, or the deployment is prebuilt, the config cannot be uploaded during deployment create. The upload during deployment build finds the config even if it's not in the root directory, as it has access to all files. Uploading the config during create is ideal, as then all child deployments are guaranteed to have access to the default app deployment config even if the default app has not yet started building. If the config is not uploaded, the child app will show as building until the config has been uploaded during the default app build. - `success` - The config was uploaded successfully, either when the deployment was created or during the build. - `waiting_on_build` - The config could not be uploaded during deployment create, will be attempted again during the build. - `no_config` - No config was found. Only set once the build has not found the config in any of the deployment's files. - `undefined` - Legacy deployments, or there was an error uploading the config during deployment create. | | `defaultAppProjectName` | *string* | :heavy_check_mark: | The project name of the default app of this deployment's microfrontends group. | | `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. | -| `microfrontendsAlias2Enabled` | *boolean* | :heavy_minus_sign: | Whether the MicrofrontendsAlias2 team flag should be considered enabled for this deployment or not. | -| `microfrontendsAliasRoutingVercelSiteProdTestHost` | *boolean* | :heavy_minus_sign: | Temporary flag to safely test MFE alias routing in vercel-site production for specific production hosts (not vercel.com) | \ No newline at end of file +| `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/canceldeploymentnodeversion.md b/docs/models/canceldeploymentnodeversion.md index b2a2ef50e..94c69df3a 100644 --- a/docs/models/canceldeploymentnodeversion.md +++ b/docs/models/canceldeploymentnodeversion.md @@ -7,11 +7,11 @@ If set it overrides the `projectSettings.nodeVersion` for this deployment. ```typescript import { CancelDeploymentNodeVersion } from "@vercel/sdk/models/canceldeploymentop.js"; -let value: CancelDeploymentNodeVersion = "18.x"; +let value: CancelDeploymentNodeVersion = "20.x"; ``` ## Values ```typescript -"22.x" | "20.x" | "18.x" | "16.x" | "14.x" | "12.x" | "10.x" | "8.10.x" +"24.x" | "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/canceldeploymentoidctokenclaims.md b/docs/models/canceldeploymentoidctokenclaims.md index bbfa905d9..a9c0bf775 100644 --- a/docs/models/canceldeploymentoidctokenclaims.md +++ b/docs/models/canceldeploymentoidctokenclaims.md @@ -15,6 +15,7 @@ let value: CancelDeploymentOidcTokenClaims = { project: "", projectId: "", environment: "", + plan: "", }; ``` @@ -30,4 +31,5 @@ let value: CancelDeploymentOidcTokenClaims = { | `ownerId` | *string* | :heavy_check_mark: | N/A | | `project` | *string* | :heavy_check_mark: | N/A | | `projectId` | *string* | :heavy_check_mark: | N/A | -| `environment` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| `environment` | *string* | :heavy_check_mark: | N/A | +| `plan` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/canceldeploymentproject.md b/docs/models/canceldeploymentproject.md index b569c4c60..9fbed48f3 100644 --- a/docs/models/canceldeploymentproject.md +++ b/docs/models/canceldeploymentproject.md @@ -1,5 +1,7 @@ # CancelDeploymentProject +The public project information associated with the deployment. + ## Example Usage ```typescript diff --git a/docs/models/canceldeploymentreadystate.md b/docs/models/canceldeploymentreadystate.md index 3fbe2a666..5403ce8bc 100644 --- a/docs/models/canceldeploymentreadystate.md +++ b/docs/models/canceldeploymentreadystate.md @@ -1,11 +1,13 @@ # CancelDeploymentReadyState +The state of the deployment depending on the process of deploying, or if it is ready or in an error state + ## Example Usage ```typescript import { CancelDeploymentReadyState } from "@vercel/sdk/models/canceldeploymentop.js"; -let value: CancelDeploymentReadyState = "CANCELED"; +let value: CancelDeploymentReadyState = "READY"; ``` ## Values diff --git a/docs/models/canceldeploymentresponsebody.md b/docs/models/canceldeploymentresponsebody.md index cd33e06ad..e24a8ca72 100644 --- a/docs/models/canceldeploymentresponsebody.md +++ b/docs/models/canceldeploymentresponsebody.md @@ -22,37 +22,51 @@ let value: CancelDeploymentResponseBody = { isInConcurrentBuildsQueue: true, isInSystemBuildsQueue: true, projectSettings: {}, + alias: [], aliasAssigned: true, - bootedAt: 4945.71, - buildingAt: 8506.11, + bootedAt: 2648.29, + buildingAt: 4945.71, buildSkipped: false, creator: { - uid: "", + uid: "96SnxkFiMyVKsK3pnoHfx3Hz", + username: "john-doe", }, public: false, - status: "ERROR", - id: "", - createdAt: 8106.36, - name: "", + status: "READY", + userAliases: [ + "sub1.example.com", + "sub2.example.com", + ], + previewCommentsEnabled: false, + id: "dpl_89qyp1cskzkLrVicDaZoDbjyHuDJ", + aliasError: null, + createdAt: 1540257589405, + deletedAt: 1540257589405, + name: "my-project", meta: { "key": "", + "key1": "", }, - readyState: "CANCELED", + readyState: "READY", regions: [ - "", - "", - "", + "sfo1", ], + softDeletedByRetention: true, + source: "cli", + target: null, type: "LAMBDAS", - url: "https://front-cheetah.org/", - version: 7768.72, + undeletedAt: 1540257589405, + url: "my-instant-deployment-3ij3cxz9qr.now.sh", + version: 2, createdIn: "", ownerId: "", - plan: "pro", + plan: "hobby", projectId: "", routes: [ { src: "", + continue: true, + middleware: 3028.54, }, ], }; @@ -60,88 +74,88 @@ let value: CancelDeploymentResponseBody = { ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `aliasAssignedAt` | *models.CancelDeploymentAliasAssignedAt* | :heavy_minus_sign: | N/A | -| `alwaysRefuseToBuild` | *boolean* | :heavy_minus_sign: | N/A | -| `build` | [models.CancelDeploymentBuild](../models/canceldeploymentbuild.md) | :heavy_check_mark: | N/A | -| `buildArtifactUrls` | *string*[] | :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` | [models.CancelDeploymentProjectSettings](../models/canceldeploymentprojectsettings.md) | :heavy_check_mark: | N/A | -| `readyStateReason` | *string* | :heavy_minus_sign: | N/A | -| `integrations` | [models.CancelDeploymentIntegrations](../models/canceldeploymentintegrations.md) | :heavy_minus_sign: | N/A | -| `images` | [models.CancelDeploymentImages](../models/canceldeploymentimages.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 | -| `buildContainerFinishedAt` | *number* | :heavy_minus_sign: | Since April 2025 it necessary for On-Demand Concurrency Minutes calculation | -| `buildSkipped` | *boolean* | :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` | [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` | [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` | *models.CancelDeploymentCustomEnvironment* | :heavy_minus_sign: | N/A | -| `oomReport` | [models.CancelDeploymentOomReport](../models/canceldeploymentoomreport.md) | :heavy_minus_sign: | N/A | -| `id` | *string* | :heavy_check_mark: | N/A | -| `aliasError` | [models.CancelDeploymentAliasError](../models/canceldeploymentaliaserror.md) | :heavy_minus_sign: | N/A | -| `aliasFinal` | *string* | :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` | [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. | -| `canceledAt` | *number* | :heavy_minus_sign: | N/A | -| `errorCode` | *string* | :heavy_minus_sign: | N/A | -| `errorLink` | *string* | :heavy_minus_sign: | N/A | -| `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` | *models.CancelDeploymentGitSource* | :heavy_minus_sign: | N/A | -| `name` | *string* | :heavy_check_mark: | N/A | -| `meta` | Record | :heavy_check_mark: | N/A | -| `originCacheRegion` | *string* | :heavy_minus_sign: | N/A | -| `nodeVersion` | [models.CancelDeploymentNodeVersion](../models/canceldeploymentnodeversion.md) | :heavy_minus_sign: | If set it overrides the `projectSettings.nodeVersion` for this deployment. | -| `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: | Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - ROLLING: in the process of having production traffic gradually transitioned. - PROMOTED: has seen production traffic | -| `regions` | *string*[] | :heavy_check_mark: | N/A | -| `softDeletedByRetention` | *boolean* | :heavy_minus_sign: | 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` | [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` | [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` | [models.CancelDeploymentPlan](../models/canceldeploymentplan.md) | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `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 | -| `config` | [models.CancelDeploymentConfig](../models/canceldeploymentconfig.md) | :heavy_minus_sign: | Since February 2025 the configuration must include snapshot data at the time of deployment creation to capture properties for the /deployments/:id/config endpoint utilized for displaying Deployment Configuration on the frontend This is optional because older deployments may not have this data captured | -| `checks` | [models.CancelDeploymentChecks](../models/canceldeploymentchecks.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `aliasAssignedAt` | *models.CancelDeploymentAliasAssignedAt* | :heavy_minus_sign: | N/A | | +| `alwaysRefuseToBuild` | *boolean* | :heavy_minus_sign: | N/A | | +| `build` | [models.CancelDeploymentBuild](../models/canceldeploymentbuild.md) | :heavy_check_mark: | N/A | | +| `buildArtifactUrls` | *string*[] | :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` | [models.CancelDeploymentProjectSettings](../models/canceldeploymentprojectsettings.md) | :heavy_check_mark: | N/A | | +| `readyStateReason` | *string* | :heavy_minus_sign: | N/A | | +| `integrations` | [models.CancelDeploymentIntegrations](../models/canceldeploymentintegrations.md) | :heavy_minus_sign: | N/A | | +| `images` | [models.CancelDeploymentImages](../models/canceldeploymentimages.md) | :heavy_minus_sign: | N/A | | +| `alias` | *string*[] | :heavy_minus_sign: | A list of all the aliases (default aliases, staging aliases and production aliases) that were assigned upon deployment creation | [] | +| `aliasAssigned` | *boolean* | :heavy_check_mark: | A boolean that will be true when the aliases from the alias property were assigned successfully | true | +| `bootedAt` | *number* | :heavy_check_mark: | N/A | | +| `buildingAt` | *number* | :heavy_check_mark: | N/A | | +| `buildContainerFinishedAt` | *number* | :heavy_minus_sign: | Since April 2025 it necessary for On-Demand Concurrency Minutes calculation | | +| `buildSkipped` | *boolean* | :heavy_check_mark: | N/A | | +| `creator` | [models.CancelDeploymentCreator](../models/canceldeploymentcreator.md) | :heavy_check_mark: | Information about the deployment creator | | +| `initReadyAt` | *number* | :heavy_minus_sign: | N/A | | +| `isFirstBranchDeployment` | *boolean* | :heavy_minus_sign: | N/A | | +| `lambdas` | [models.CancelDeploymentLambdas](../models/canceldeploymentlambdas.md)[] | :heavy_minus_sign: | N/A | | +| `public` | *boolean* | :heavy_check_mark: | A boolean representing if the deployment is public or not. By default this is `false` | false | +| `ready` | *number* | :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: | The team that owns the deployment if any | | +| `userAliases` | *string*[] | :heavy_minus_sign: | An array of domains that were provided by the user when creating the Deployment. | [
"sub1.example.com",
"sub2.example.com"
] | +| `previewCommentsEnabled` | *boolean* | :heavy_minus_sign: | Whether or not preview comments are enabled for the deployment | false | +| `ttyBuildLogs` | *boolean* | :heavy_minus_sign: | N/A | | +| `customEnvironment` | *models.CancelDeploymentCustomEnvironment* | :heavy_minus_sign: | N/A | | +| `oomReport` | [models.CancelDeploymentOomReport](../models/canceldeploymentoomreport.md) | :heavy_minus_sign: | N/A | | +| `id` | *string* | :heavy_check_mark: | A string holding the unique ID of the deployment | dpl_89qyp1cskzkLrVicDaZoDbjyHuDJ | +| `aliasError` | [models.CancelDeploymentAliasError](../models/canceldeploymentaliaserror.md) | :heavy_minus_sign: | An object that will contain a `code` and a `message` when the aliasing fails, otherwise the value will be `null` | | +| `aliasFinal` | *string* | :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` | [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: | A number containing the date when the deployment was created in milliseconds | 1540257589405 | +| `deletedAt` | *number* | :heavy_minus_sign: | A number containing the date when the deployment was deleted at milliseconds | 1540257589405 | +| `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 | | +| `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` | *models.CancelDeploymentGitSource* | :heavy_minus_sign: | N/A | | +| `name` | *string* | :heavy_check_mark: | The name of the project associated with the deployment at the time that the deployment was created | my-project | +| `meta` | Record | :heavy_check_mark: | N/A | | +| `originCacheRegion` | *string* | :heavy_minus_sign: | N/A | | +| `nodeVersion` | [models.CancelDeploymentNodeVersion](../models/canceldeploymentnodeversion.md) | :heavy_minus_sign: | If set it overrides the `projectSettings.nodeVersion` for this deployment. | | +| `project` | [models.CancelDeploymentProject](../models/canceldeploymentproject.md) | :heavy_minus_sign: | The public project information associated with the deployment. | | +| `readyState` | [models.CancelDeploymentReadyState](../models/canceldeploymentreadystate.md) | :heavy_check_mark: | The state of the deployment depending on the process of deploying, or if it is ready or in an error state | READY | +| `readySubstate` | [models.CancelDeploymentReadySubstate](../models/canceldeploymentreadysubstate.md) | :heavy_minus_sign: | Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - ROLLING: in the process of having production traffic gradually transitioned. - PROMOTED: has seen production traffic | | +| `regions` | *string*[] | :heavy_check_mark: | The regions the deployment exists in | [
"sfo1"
] | +| `softDeletedByRetention` | *boolean* | :heavy_minus_sign: | flag to indicate if the deployment was deleted by retention policy | true | +| `source` | [models.CancelDeploymentSource](../models/canceldeploymentsource.md) | :heavy_minus_sign: | Where was the deployment created from | cli | +| `target` | [models.CancelDeploymentTarget](../models/canceldeploymenttarget.md) | :heavy_minus_sign: | If defined, either `staging` if a staging alias in the format `..now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment. | | +| `type` | [models.CancelDeploymentType](../models/canceldeploymenttype.md) | :heavy_check_mark: | N/A | | +| `undeletedAt` | *number* | :heavy_minus_sign: | A number containing the date when the deployment was undeleted at milliseconds | 1540257589405 | +| `url` | *string* | :heavy_check_mark: | A string with the unique URL of the deployment | my-instant-deployment-3ij3cxz9qr.now.sh | +| `version` | *number* | :heavy_check_mark: | The platform version that was used to create the deployment. | 2 | +| `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` | [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` | [models.CancelDeploymentPlan](../models/canceldeploymentplan.md) | :heavy_check_mark: | N/A | | +| `projectId` | *string* | :heavy_check_mark: | N/A | | +| `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 | | +| `config` | [models.CancelDeploymentConfig](../models/canceldeploymentconfig.md) | :heavy_minus_sign: | Since February 2025 the configuration must include snapshot data at the time of deployment creation to capture properties for the /deployments/:id/config endpoint utilized for displaying Deployment Configuration on the frontend This is optional because older deployments may not have this data captured | | +| `checks` | [models.CancelDeploymentChecks](../models/canceldeploymentchecks.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/canceldeploymentsource.md b/docs/models/canceldeploymentsource.md index d2ed43c7b..b3a773d90 100644 --- a/docs/models/canceldeploymentsource.md +++ b/docs/models/canceldeploymentsource.md @@ -1,11 +1,13 @@ # CancelDeploymentSource +Where was the deployment created from + ## Example Usage ```typescript import { CancelDeploymentSource } from "@vercel/sdk/models/canceldeploymentop.js"; -let value: CancelDeploymentSource = "v0-web"; +let value: CancelDeploymentSource = "cli"; ``` ## Values diff --git a/docs/models/canceldeploymenttarget.md b/docs/models/canceldeploymenttarget.md index 5a4d93882..b88409848 100644 --- a/docs/models/canceldeploymenttarget.md +++ b/docs/models/canceldeploymenttarget.md @@ -1,5 +1,7 @@ # CancelDeploymentTarget +If defined, either `staging` if a staging alias in the format `..now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment. + ## Example Usage ```typescript diff --git a/docs/models/canceldeploymentteam.md b/docs/models/canceldeploymentteam.md index e03a5eb2f..47f6d619a 100644 --- a/docs/models/canceldeploymentteam.md +++ b/docs/models/canceldeploymentteam.md @@ -1,5 +1,7 @@ # CancelDeploymentTeam +The team that owns the deployment if any + ## Example Usage ```typescript diff --git a/docs/models/capabilities.md b/docs/models/capabilities.md index 3054c92a4..3823746bd 100644 --- a/docs/models/capabilities.md +++ b/docs/models/capabilities.md @@ -15,4 +15,6 @@ let value: Capabilities = {}; | `mcp` | *boolean* | :heavy_minus_sign: | N/A | | `sso` | *boolean* | :heavy_minus_sign: | N/A | | `billable` | *boolean* | :heavy_minus_sign: | N/A | -| `secretsSync` | *boolean* | :heavy_minus_sign: | N/A | \ No newline at end of file +| `transferable` | *boolean* | :heavy_minus_sign: | N/A | +| `secretsSync` | *boolean* | :heavy_minus_sign: | N/A | +| `projects` | *boolean* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/clientauthenticationused.md b/docs/models/clientauthenticationused.md new file mode 100644 index 000000000..84c6ed2be --- /dev/null +++ b/docs/models/clientauthenticationused.md @@ -0,0 +1,18 @@ +# ClientAuthenticationUsed + +## Example Usage + +```typescript +import { ClientAuthenticationUsed } from "@vercel/sdk/models/userevent.js"; + +let value: ClientAuthenticationUsed = { + method: "client_secret_jwt", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `method` | [models.Method](../models/method.md) | :heavy_check_mark: | N/A | +| `secretId` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/clientcerts.md b/docs/models/clientcerts.md new file mode 100644 index 000000000..227d04cc4 --- /dev/null +++ b/docs/models/clientcerts.md @@ -0,0 +1,19 @@ +# ClientCerts + +## Example Usage + +```typescript +import { ClientCerts } from "@vercel/sdk/models/getprojectclientcertsop.js"; + +let value: ClientCerts = { + origin: "", + id: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `origin` | *string* | :heavy_check_mark: | N/A | +| `id` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/code.md b/docs/models/code.md new file mode 100644 index 000000000..b70ce47bf --- /dev/null +++ b/docs/models/code.md @@ -0,0 +1,15 @@ +# Code + +## Example Usage + +```typescript +import { Code } from "@vercel/sdk/models/notauthorizedforscope.js"; + +let value: Code = "not_authorized_for_scope"; +``` + +## Values + +```typescript +"not_authorized_for_scope" +``` \ No newline at end of file diff --git a/docs/models/completerollingreleasecanarydeployment.md b/docs/models/completerollingreleasecanarydeployment.md index 78be34167..bfea73af8 100644 --- a/docs/models/completerollingreleasecanarydeployment.md +++ b/docs/models/completerollingreleasecanarydeployment.md @@ -21,13 +21,13 @@ let value: CompleteRollingReleaseCanaryDeployment = { ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -| `id` | *string* | :heavy_check_mark: | N/A | -| `name` | *string* | :heavy_check_mark: | N/A | -| `url` | *string* | :heavy_check_mark: | N/A | -| `target` | [models.CompleteRollingReleaseRollingReleaseTarget](../models/completerollingreleaserollingreleasetarget.md) | :heavy_minus_sign: | N/A | -| `source` | [models.CompleteRollingReleaseRollingReleaseSource](../models/completerollingreleaserollingreleasesource.md) | :heavy_minus_sign: | N/A | -| `createdAt` | *number* | :heavy_check_mark: | N/A | -| `readyState` | [models.CompleteRollingReleaseRollingReleaseReadyState](../models/completerollingreleaserollingreleasereadystate.md) | :heavy_check_mark: | N/A | -| `readyStateAt` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | A string holding the unique ID of the deployment | dpl_89qyp1cskzkLrVicDaZoDbjyHuDJ | +| `name` | *string* | :heavy_check_mark: | The name of the project associated with the deployment at the time that the deployment was created | my-project | +| `url` | *string* | :heavy_check_mark: | A string with the unique URL of the deployment | my-instant-deployment-3ij3cxz9qr.now.sh | +| `target` | [models.CompleteRollingReleaseRollingReleaseTarget](../models/completerollingreleaserollingreleasetarget.md) | :heavy_minus_sign: | If defined, either `staging` if a staging alias in the format `..now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment. | | +| `source` | [models.CompleteRollingReleaseRollingReleaseSource](../models/completerollingreleaserollingreleasesource.md) | :heavy_minus_sign: | Where was the deployment created from | cli | +| `createdAt` | *number* | :heavy_check_mark: | A number containing the date when the deployment was created in milliseconds | 1540257589405 | +| `readyState` | [models.CompleteRollingReleaseRollingReleaseReadyState](../models/completerollingreleaserollingreleasereadystate.md) | :heavy_check_mark: | The state of the deployment depending on the process of deploying, or if it is ready or in an error state | READY | +| `readyStateAt` | *number* | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/completerollingreleasecurrentdeployment.md b/docs/models/completerollingreleasecurrentdeployment.md index 42183cb38..0276ab510 100644 --- a/docs/models/completerollingreleasecurrentdeployment.md +++ b/docs/models/completerollingreleasecurrentdeployment.md @@ -21,13 +21,13 @@ let value: CompleteRollingReleaseCurrentDeployment = { ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | -| `id` | *string* | :heavy_check_mark: | N/A | -| `name` | *string* | :heavy_check_mark: | N/A | -| `url` | *string* | :heavy_check_mark: | N/A | -| `target` | [models.CompleteRollingReleaseTarget](../models/completerollingreleasetarget.md) | :heavy_minus_sign: | N/A | -| `source` | [models.CompleteRollingReleaseSource](../models/completerollingreleasesource.md) | :heavy_minus_sign: | N/A | -| `createdAt` | *number* | :heavy_check_mark: | N/A | -| `readyState` | [models.CompleteRollingReleaseReadyState](../models/completerollingreleasereadystate.md) | :heavy_check_mark: | N/A | -| `readyStateAt` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | A string holding the unique ID of the deployment | dpl_89qyp1cskzkLrVicDaZoDbjyHuDJ | +| `name` | *string* | :heavy_check_mark: | The name of the project associated with the deployment at the time that the deployment was created | my-project | +| `url` | *string* | :heavy_check_mark: | A string with the unique URL of the deployment | my-instant-deployment-3ij3cxz9qr.now.sh | +| `target` | [models.CompleteRollingReleaseTarget](../models/completerollingreleasetarget.md) | :heavy_minus_sign: | If defined, either `staging` if a staging alias in the format `..now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment. | | +| `source` | [models.CompleteRollingReleaseSource](../models/completerollingreleasesource.md) | :heavy_minus_sign: | Where was the deployment created from | cli | +| `createdAt` | *number* | :heavy_check_mark: | A number containing the date when the deployment was created in milliseconds | 1540257589405 | +| `readyState` | [models.CompleteRollingReleaseReadyState](../models/completerollingreleasereadystate.md) | :heavy_check_mark: | The state of the deployment depending on the process of deploying, or if it is ready or in an error state | READY | +| `readyStateAt` | *number* | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/completerollingreleasereadystate.md b/docs/models/completerollingreleasereadystate.md index 1cfdd321f..79fd07a8c 100644 --- a/docs/models/completerollingreleasereadystate.md +++ b/docs/models/completerollingreleasereadystate.md @@ -1,11 +1,13 @@ # CompleteRollingReleaseReadyState +The state of the deployment depending on the process of deploying, or if it is ready or in an error state + ## Example Usage ```typescript import { CompleteRollingReleaseReadyState } from "@vercel/sdk/models/completerollingreleaseop.js"; -let value: CompleteRollingReleaseReadyState = "BUILDING"; +let value: CompleteRollingReleaseReadyState = "READY"; ``` ## Values diff --git a/docs/models/completerollingreleaserollingreleasereadystate.md b/docs/models/completerollingreleaserollingreleasereadystate.md index bdee988c6..c7fce1055 100644 --- a/docs/models/completerollingreleaserollingreleasereadystate.md +++ b/docs/models/completerollingreleaserollingreleasereadystate.md @@ -1,11 +1,13 @@ # CompleteRollingReleaseRollingReleaseReadyState +The state of the deployment depending on the process of deploying, or if it is ready or in an error state + ## Example Usage ```typescript import { CompleteRollingReleaseRollingReleaseReadyState } from "@vercel/sdk/models/completerollingreleaseop.js"; -let value: CompleteRollingReleaseRollingReleaseReadyState = "INITIALIZING"; +let value: CompleteRollingReleaseRollingReleaseReadyState = "READY"; ``` ## Values diff --git a/docs/models/completerollingreleaserollingreleasesource.md b/docs/models/completerollingreleaserollingreleasesource.md index e329b1008..bcb59e0eb 100644 --- a/docs/models/completerollingreleaserollingreleasesource.md +++ b/docs/models/completerollingreleaserollingreleasesource.md @@ -1,11 +1,13 @@ # CompleteRollingReleaseRollingReleaseSource +Where was the deployment created from + ## Example Usage ```typescript import { CompleteRollingReleaseRollingReleaseSource } from "@vercel/sdk/models/completerollingreleaseop.js"; -let value: CompleteRollingReleaseRollingReleaseSource = "redeploy"; +let value: CompleteRollingReleaseRollingReleaseSource = "cli"; ``` ## Values diff --git a/docs/models/completerollingreleaserollingreleasetarget.md b/docs/models/completerollingreleaserollingreleasetarget.md index e7b6b9724..f4ab4e412 100644 --- a/docs/models/completerollingreleaserollingreleasetarget.md +++ b/docs/models/completerollingreleaserollingreleasetarget.md @@ -1,5 +1,7 @@ # CompleteRollingReleaseRollingReleaseTarget +If defined, either `staging` if a staging alias in the format `..now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment. + ## Example Usage ```typescript diff --git a/docs/models/completerollingreleasesource.md b/docs/models/completerollingreleasesource.md index 54065163c..804a73ee1 100644 --- a/docs/models/completerollingreleasesource.md +++ b/docs/models/completerollingreleasesource.md @@ -1,11 +1,13 @@ # CompleteRollingReleaseSource +Where was the deployment created from + ## Example Usage ```typescript import { CompleteRollingReleaseSource } from "@vercel/sdk/models/completerollingreleaseop.js"; -let value: CompleteRollingReleaseSource = "import"; +let value: CompleteRollingReleaseSource = "cli"; ``` ## Values diff --git a/docs/models/completerollingreleasetarget.md b/docs/models/completerollingreleasetarget.md index d606abbdf..030528f36 100644 --- a/docs/models/completerollingreleasetarget.md +++ b/docs/models/completerollingreleasetarget.md @@ -1,5 +1,7 @@ # CompleteRollingReleaseTarget +If defined, either `staging` if a staging alias in the format `..now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment. + ## Example Usage ```typescript diff --git a/docs/models/compression.md b/docs/models/compression.md new file mode 100644 index 000000000..a591f2c33 --- /dev/null +++ b/docs/models/compression.md @@ -0,0 +1,15 @@ +# Compression + +## Example Usage + +```typescript +import { Compression } from "@vercel/sdk/models/createdrainop.js"; + +let value: Compression = "none"; +``` + +## Values + +```typescript +"gzip" | "none" +``` \ No newline at end of file diff --git a/docs/models/contactinformation.md b/docs/models/contactinformation.md new file mode 100644 index 000000000..7b619bac3 --- /dev/null +++ b/docs/models/contactinformation.md @@ -0,0 +1,39 @@ +# ContactInformation + +The contact information for the domain. Some TLDs require additional contact information. Use the [Get contact info schema](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/get-contact-info-schema) endpoint to retrieve the required fields. + +## Example Usage + +```typescript +import { ContactInformation } from "@vercel/sdk/models/buysingledomainop.js"; + +let value: ContactInformation = { + firstName: "Louie", + lastName: "Bayer-Bernier", + email: "Bettye53@gmail.com", + phone: "761-684-9318 x5838", + address1: "", + city: "East Jordan", + state: "Connecticut", + zip: "35007-7802", + country: "Israel", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | +| `firstName` | *string* | :heavy_check_mark: | a non empty string | +| `lastName` | *string* | :heavy_check_mark: | a non empty string | +| `email` | *string* | :heavy_check_mark: | a non empty string | +| `phone` | *string* | :heavy_check_mark: | A valid E.164 phone number | +| `address1` | *string* | :heavy_check_mark: | a non empty string | +| `address2` | *string* | :heavy_minus_sign: | a non empty string | +| `city` | *string* | :heavy_check_mark: | a non empty string | +| `state` | *string* | :heavy_check_mark: | a non empty string | +| `zip` | *string* | :heavy_check_mark: | a non empty string | +| `country` | *string* | :heavy_check_mark: | A valid ISO 3166-1 alpha-2 country code | +| `companyName` | *string* | :heavy_minus_sign: | a non empty string | +| `fax` | *string* | :heavy_minus_sign: | A valid E.164 phone number | +| `additional` | [models.Additional](../models/additional.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/createconfigurablelogdrainrequest.md b/docs/models/createconfigurablelogdrainrequest.md new file mode 100644 index 000000000..06b6d1472 --- /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 = { + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + slug: "my-team-url-slug", + requestBody: { + deliveryFormat: "json", + url: "https://doting-synergy.info", + sources: [], + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | team_1a2b3c4d5e6f7g8h9i0j1k2l | +| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | my-team-url-slug | +| `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 000000000..0f82e04c3 --- /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://scared-lawmaker.name", + sources: [ + "static", + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | +| `deliveryFormat` | [models.DeliveryFormat](../models/deliveryformat.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.Sources](../models/sources.md)[] | :heavy_check_mark: | N/A | | +| `environments` | [models.Environments](../models/environments.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 000000000..fac058ea6 --- /dev/null +++ b/docs/models/createconfigurablelogdrainresponsebody.md @@ -0,0 +1,14 @@ +# CreateConfigurableLogDrainResponseBody + +## Example Usage + +```typescript +import { CreateConfigurableLogDrainResponseBody } from "@vercel/sdk/models/createconfigurablelogdrainop.js"; + +let value: CreateConfigurableLogDrainResponseBody = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/created.md b/docs/models/created.md index 6e748a367..4d7446eae 100644 --- a/docs/models/created.md +++ b/docs/models/created.md @@ -1,27 +1,51 @@ # Created - -## Supported Types - -### `models.Created1` +## Example Usage ```typescript -const value: models.Created1 = { - type: "secret", - value: "", - key: "", +import { Created } from "@vercel/sdk/models/createsharedenvvariableop.js"; + +let value: Created = { + created: new Date("2021-02-10T13:11:49.180Z"), + key: "my-api-key", + ownerId: "team_LLHUOMOoDlqOp8wPE4kFo9pE", + id: "env_XCG7t7AIHuO2SBA8667zNUiM", + createdBy: "2qDDuGFTWXBLDNnqZfWPDp1A", + deletedBy: "2qDDuGFTWXBLDNnqZfWPDp1A", + updatedBy: "2qDDuGFTWXBLDNnqZfWPDp1A", + createdAt: 1609492210000, + deletedAt: 1609492210000, + updatedAt: 1609492210000, + projectId: [ + "prj_2WjyKQmM8ZnGcJsPWMrHRHrE", + "prj_2WjyKQmM8ZnGcJsPWMrasEFg", + ], + type: "encrypted", + target: [ + "production", + ], }; ``` -### `models.Created2[]` - -```typescript -const value: models.Created2[] = [ - { - type: "sensitive", - value: "", - key: "", - }, -]; -``` +## Fields +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `created` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The date when the Shared Env Var was created. | 2021-02-10T13:11:49.180Z | +| `key` | *string* | :heavy_minus_sign: | The name of the Shared Env Var. | my-api-key | +| `ownerId` | *string* | :heavy_minus_sign: | The unique identifier of the owner (team) the Shared Env Var was created for. | team_LLHUOMOoDlqOp8wPE4kFo9pE | +| `id` | *string* | :heavy_minus_sign: | The unique identifier of the Shared Env Var. | env_XCG7t7AIHuO2SBA8667zNUiM | +| `createdBy` | *string* | :heavy_minus_sign: | The unique identifier of the user who created the Shared Env Var. | 2qDDuGFTWXBLDNnqZfWPDp1A | +| `deletedBy` | *string* | :heavy_minus_sign: | The unique identifier of the user who deleted the Shared Env Var. | 2qDDuGFTWXBLDNnqZfWPDp1A | +| `updatedBy` | *string* | :heavy_minus_sign: | The unique identifier of the user who last updated the Shared Env Var. | 2qDDuGFTWXBLDNnqZfWPDp1A | +| `createdAt` | *number* | :heavy_minus_sign: | Timestamp for when the Shared Env Var was created. | 1609492210000 | +| `deletedAt` | *number* | :heavy_minus_sign: | Timestamp for when the Shared Env Var was (soft) deleted. | 1609492210000 | +| `updatedAt` | *number* | :heavy_minus_sign: | Timestamp for when the Shared Env Var was last updated. | 1609492210000 | +| `value` | *string* | :heavy_minus_sign: | The value of the Shared Env Var. | | +| `projectId` | *string*[] | :heavy_minus_sign: | The unique identifiers of the projects which the Shared Env Var is linked to. | [
"prj_2WjyKQmM8ZnGcJsPWMrHRHrE",
"prj_2WjyKQmM8ZnGcJsPWMrasEFg"
] | +| `type` | [models.CreateSharedEnvVariableType](../models/createsharedenvvariabletype.md) | :heavy_minus_sign: | The type of this cosmos doc instance, if blank, assume secret. | encrypted | +| `target` | [models.CreateSharedEnvVariableTarget](../models/createsharedenvvariabletarget.md)[] | :heavy_minus_sign: | environments this env variable targets | production | +| `applyToAllCustomEnvironments` | *boolean* | :heavy_minus_sign: | whether or not this env varible applies to custom environments | | +| `decrypted` | *boolean* | :heavy_minus_sign: | whether or not this env variable is decrypted | | +| `comment` | *string* | :heavy_minus_sign: | A user provided comment that describes what this Shared Env Var is for. | | +| `lastEditedByDisplayName` | *string* | :heavy_minus_sign: | The last editor full name or username. | | \ No newline at end of file diff --git a/docs/models/createdeploymentframework.md b/docs/models/createdeploymentframework.md index a60b167a6..2de021e78 100644 --- a/docs/models/createdeploymentframework.md +++ b/docs/models/createdeploymentframework.md @@ -5,11 +5,11 @@ ```typescript import { CreateDeploymentFramework } from "@vercel/sdk/models/createdeploymentop.js"; -let value: CreateDeploymentFramework = "sveltekit"; +let value: CreateDeploymentFramework = "ionic-react"; ``` ## Values ```typescript -"blitzjs" | "nextjs" | "gatsby" | "remix" | "react-router" | "astro" | "hexo" | "eleventy" | "docusaurus-2" | "docusaurus" | "preact" | "solidstart-1" | "solidstart" | "dojo" | "ember" | "vue" | "scully" | "ionic-angular" | "angular" | "polymer" | "svelte" | "sveltekit" | "sveltekit-1" | "ionic-react" | "create-react-app" | "gridsome" | "umijs" | "sapper" | "saber" | "stencil" | "nuxtjs" | "redwoodjs" | "hugo" | "jekyll" | "brunch" | "middleman" | "zola" | "hydrogen" | "vite" | "vitepress" | "vuepress" | "parcel" | "fastapi" | "fasthtml" | "sanity-v3" | "sanity" | "storybook" | "nitro" | "hono" | "express" | "h3" | "xmcp" +"blitzjs" | "nextjs" | "gatsby" | "remix" | "react-router" | "astro" | "hexo" | "eleventy" | "docusaurus-2" | "docusaurus" | "preact" | "solidstart-1" | "solidstart" | "dojo" | "ember" | "vue" | "scully" | "ionic-angular" | "angular" | "polymer" | "svelte" | "sveltekit" | "sveltekit-1" | "ionic-react" | "create-react-app" | "gridsome" | "umijs" | "sapper" | "saber" | "stencil" | "nuxtjs" | "redwoodjs" | "hugo" | "jekyll" | "brunch" | "middleman" | "zola" | "hydrogen" | "vite" | "tanstack-start" | "vitepress" | "vuepress" | "parcel" | "fastapi" | "flask" | "fasthtml" | "sanity-v3" | "sanity" | "storybook" | "nitro" | "hono" | "express" | "h3" | "nestjs" | "elysia" | "fastify" | "xmcp" ``` \ No newline at end of file diff --git a/docs/models/createdeploymentmicrofrontends1.md b/docs/models/createdeploymentmicrofrontends1.md index 55b48a9f6..8302a4857 100644 --- a/docs/models/createdeploymentmicrofrontends1.md +++ b/docs/models/createdeploymentmicrofrontends1.md @@ -21,6 +21,4 @@ let value: CreateDeploymentMicrofrontends1 = { | `isDefaultApp` | *boolean* | :heavy_minus_sign: | N/A | | `defaultAppProjectName` | *string* | :heavy_check_mark: | The project name of the default app of this deployment's microfrontends group. | | `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. | -| `microfrontendsAlias2Enabled` | *boolean* | :heavy_minus_sign: | Whether the MicrofrontendsAlias2 team flag should be considered enabled for this deployment or not. | -| `microfrontendsAliasRoutingVercelSiteProdTestHost` | *boolean* | :heavy_minus_sign: | Temporary flag to safely test MFE alias routing in vercel-site production for specific production hosts (not vercel.com) | \ No newline at end of file +| `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/createdeploymentmicrofrontends2.md b/docs/models/createdeploymentmicrofrontends2.md index b9f9c3ff9..2ac180ed1 100644 --- a/docs/models/createdeploymentmicrofrontends2.md +++ b/docs/models/createdeploymentmicrofrontends2.md @@ -21,6 +21,4 @@ let value: CreateDeploymentMicrofrontends2 = { | `mfeConfigUploadState` | [models.MfeConfigUploadState](../models/mfeconfiguploadstate.md) | :heavy_minus_sign: | The result of the microfrontends config upload during deployment creation / build. Only set for default app deployments. The config upload is attempted during deployment create, and then again during the build. If the config is not in the root directory, or the deployment is prebuilt, the config cannot be uploaded during deployment create. The upload during deployment build finds the config even if it's not in the root directory, as it has access to all files. Uploading the config during create is ideal, as then all child deployments are guaranteed to have access to the default app deployment config even if the default app has not yet started building. If the config is not uploaded, the child app will show as building until the config has been uploaded during the default app build. - `success` - The config was uploaded successfully, either when the deployment was created or during the build. - `waiting_on_build` - The config could not be uploaded during deployment create, will be attempted again during the build. - `no_config` - No config was found. Only set once the build has not found the config in any of the deployment's files. - `undefined` - Legacy deployments, or there was an error uploading the config during deployment create. | | `defaultAppProjectName` | *string* | :heavy_check_mark: | The project name of the default app of this deployment's microfrontends group. | | `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. | -| `microfrontendsAlias2Enabled` | *boolean* | :heavy_minus_sign: | Whether the MicrofrontendsAlias2 team flag should be considered enabled for this deployment or not. | -| `microfrontendsAliasRoutingVercelSiteProdTestHost` | *boolean* | :heavy_minus_sign: | Temporary flag to safely test MFE alias routing in vercel-site production for specific production hosts (not vercel.com) | \ No newline at end of file +| `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/createdeploymentnodeversion.md b/docs/models/createdeploymentnodeversion.md index 6387dfac6..c4cbf8187 100644 --- a/docs/models/createdeploymentnodeversion.md +++ b/docs/models/createdeploymentnodeversion.md @@ -13,5 +13,5 @@ let value: CreateDeploymentNodeVersion = "22.x"; ## Values ```typescript -"22.x" | "20.x" | "18.x" | "16.x" | "14.x" | "12.x" | "10.x" | "8.10.x" +"24.x" | "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/createdeploymentplan.md b/docs/models/createdeploymentplan.md index 0d88d4e5a..69ef69a32 100644 --- a/docs/models/createdeploymentplan.md +++ b/docs/models/createdeploymentplan.md @@ -5,11 +5,11 @@ ```typescript import { CreateDeploymentPlan } from "@vercel/sdk/models/createdeploymentop.js"; -let value: CreateDeploymentPlan = "enterprise"; +let value: CreateDeploymentPlan = "hobby"; ``` ## Values ```typescript -"hobby" | "pro" | "enterprise" +"pro" | "enterprise" | "hobby" ``` \ No newline at end of file diff --git a/docs/models/createdeploymentproject.md b/docs/models/createdeploymentproject.md index 2baa9d165..68851d061 100644 --- a/docs/models/createdeploymentproject.md +++ b/docs/models/createdeploymentproject.md @@ -1,5 +1,7 @@ # CreateDeploymentProject +The public project information associated with the deployment. + ## Example Usage ```typescript diff --git a/docs/models/createdeploymentprojectsettings.md b/docs/models/createdeploymentprojectsettings.md index 7a64a6acf..4a8b7cbc8 100644 --- a/docs/models/createdeploymentprojectsettings.md +++ b/docs/models/createdeploymentprojectsettings.md @@ -13,9 +13,9 @@ let value: CreateDeploymentProjectSettings = {}; | 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 | +| `commandForIgnoringBuildStep` | *string* | :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 | diff --git a/docs/models/createdeploymentresponsebody.md b/docs/models/createdeploymentresponsebody.md index 30ed5a8fb..fa4a8e7bd 100644 --- a/docs/models/createdeploymentresponsebody.md +++ b/docs/models/createdeploymentresponsebody.md @@ -19,123 +19,131 @@ let value: CreateDeploymentResponseBody = { isInConcurrentBuildsQueue: false, isInSystemBuildsQueue: true, projectSettings: {}, + alias: [], aliasAssigned: true, - bootedAt: 981.6, - buildingAt: 2676.08, + bootedAt: 4757.16, + buildingAt: 981.6, buildSkipped: true, creator: { - uid: "", + uid: "96SnxkFiMyVKsK3pnoHfx3Hz", + username: "john-doe", }, - public: true, - status: "READY", - id: "", - name: "", - createdAt: 7484.22, + public: false, + status: "ERROR", + userAliases: [ + "sub1.example.com", + "sub2.example.com", + ], + previewCommentsEnabled: false, + id: "dpl_89qyp1cskzkLrVicDaZoDbjyHuDJ", + createdAt: 1540257589405, + readyState: "READY", + name: "my-project", type: "LAMBDAS", - meta: { - "key": "", - "key1": "", - }, - readyState: "CANCELED", - regions: [], - version: 419.99, - url: "https://zesty-tuxedo.name", + aliasError: null, + deletedAt: 1540257589405, + meta: {}, + regions: [ + "sfo1", + ], + softDeletedByRetention: false, + source: "cli", + target: null, + undeletedAt: 1540257589405, + url: "my-instant-deployment-3ij3cxz9qr.now.sh", + version: 2, projectId: "", - ownerId: "", plan: "hobby", - routes: [ - { - handle: "rewrite", - }, - ], createdIn: "", + ownerId: "", + routes: [], }; ``` ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `aliasAssignedAt` | *models.AliasAssignedAt* | :heavy_minus_sign: | N/A | -| `alwaysRefuseToBuild` | *boolean* | :heavy_minus_sign: | N/A | -| `build` | [models.Build](../models/build.md) | :heavy_check_mark: | N/A | -| `buildArtifactUrls` | *string*[] | :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` | [models.CreateDeploymentProjectSettings](../models/createdeploymentprojectsettings.md) | :heavy_check_mark: | N/A | -| `readyStateReason` | *string* | :heavy_minus_sign: | N/A | -| `integrations` | [models.Integrations](../models/integrations.md) | :heavy_minus_sign: | N/A | -| `images` | [models.Images](../models/images.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 | -| `buildContainerFinishedAt` | *number* | :heavy_minus_sign: | Since April 2025 it necessary for On-Demand Concurrency Minutes calculation | -| `buildSkipped` | *boolean* | :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` | [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` | [models.CreateDeploymentStatus](../models/createdeploymentstatus.md) | :heavy_check_mark: | N/A | -| `team` | [models.CreateDeploymentTeam](../models/createdeploymentteam.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` | *models.CustomEnvironment* | :heavy_minus_sign: | N/A | -| `oomReport` | [models.OomReport](../models/oomreport.md) | :heavy_minus_sign: | N/A | -| `id` | *string* | :heavy_check_mark: | N/A | -| `name` | *string* | :heavy_check_mark: | N/A | -| `createdAt` | *number* | :heavy_check_mark: | N/A | -| `type` | [models.CreateDeploymentType](../models/createdeploymenttype.md) | :heavy_check_mark: | N/A | -| `autoAssignCustomDomains` | *boolean* | :heavy_minus_sign: | applies to custom domains only, defaults to `true` | -| `gitSource` | *models.CreateDeploymentGitSource* | :heavy_minus_sign: | N/A | -| `meta` | Record | :heavy_check_mark: | N/A | -| `project` | [models.CreateDeploymentProject](../models/createdeploymentproject.md) | :heavy_minus_sign: | N/A | -| `nodeVersion` | [models.CreateDeploymentNodeVersion](../models/createdeploymentnodeversion.md) | :heavy_minus_sign: | If set it overrides the `projectSettings.nodeVersion` for this deployment. | -| `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 | -| `errorMessage` | *string* | :heavy_minus_sign: | N/A | -| `deletedAt` | *number* | :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 | -| `version` | *number* | :heavy_check_mark: | N/A | -| `aliasError` | [models.AliasError](../models/aliaserror.md) | :heavy_minus_sign: | N/A | -| `aliasFinal` | *string* | :heavy_minus_sign: | N/A | -| `aliasWarning` | [models.AliasWarning](../models/aliaswarning.md) | :heavy_minus_sign: | N/A | -| `automaticAliases` | *string*[] | :heavy_minus_sign: | N/A | -| `buildErrorAt` | *number* | :heavy_minus_sign: | N/A | -| `canceledAt` | *number* | :heavy_minus_sign: | N/A | -| `checksConclusion` | [models.ChecksConclusion](../models/checksconclusion.md) | :heavy_minus_sign: | N/A | -| `checksState` | [models.ChecksState](../models/checksstate.md) | :heavy_minus_sign: | N/A | -| `defaultRoute` | *string* | :heavy_minus_sign: | Computed field that is only available for deployments with a microfrontend configuration. | -| `errorCode` | *string* | :heavy_minus_sign: | N/A | -| `errorLink` | *string* | :heavy_minus_sign: | N/A | -| `errorStep` | *string* | :heavy_minus_sign: | N/A | -| `originCacheRegion` | *string* | :heavy_minus_sign: | N/A | -| `oidcTokenClaims` | [models.OidcTokenClaims](../models/oidctokenclaims.md) | :heavy_minus_sign: | N/A | -| `readySubstate` | [models.ReadySubstate](../models/readysubstate.md) | :heavy_minus_sign: | Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - ROLLING: in the process of having production traffic gradually transitioned. - 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 | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `monorepoManager` | *string* | :heavy_minus_sign: | N/A | -| `ownerId` | *string* | :heavy_check_mark: | N/A | -| `plan` | [models.CreateDeploymentPlan](../models/createdeploymentplan.md) | :heavy_check_mark: | N/A | -| `config` | [models.Config](../models/config.md) | :heavy_minus_sign: | Since February 2025 the configuration must include snapshot data at the time of deployment creation to capture properties for the /deployments/:id/config endpoint utilized for displaying Deployment Configuration on the frontend This is optional because older deployments may not have this data captured | -| `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 | -| `checks` | [models.CreateDeploymentChecks](../models/createdeploymentchecks.md) | :heavy_minus_sign: | N/A | -| `microfrontends` | *models.CreateDeploymentMicrofrontends* | :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 | -| `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) | -| `flags` | *models.Flags* | :heavy_minus_sign: | N/A | -| `gitRepo` | *models.GitRepo* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `aliasAssignedAt` | *models.AliasAssignedAt* | :heavy_minus_sign: | N/A | | +| `alwaysRefuseToBuild` | *boolean* | :heavy_minus_sign: | N/A | | +| `build` | [models.Build](../models/build.md) | :heavy_check_mark: | N/A | | +| `buildArtifactUrls` | *string*[] | :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` | [models.CreateDeploymentProjectSettings](../models/createdeploymentprojectsettings.md) | :heavy_check_mark: | N/A | | +| `readyStateReason` | *string* | :heavy_minus_sign: | N/A | | +| `integrations` | [models.Integrations](../models/integrations.md) | :heavy_minus_sign: | N/A | | +| `images` | [models.Images](../models/images.md) | :heavy_minus_sign: | N/A | | +| `alias` | *string*[] | :heavy_minus_sign: | A list of all the aliases (default aliases, staging aliases and production aliases) that were assigned upon deployment creation | [] | +| `aliasAssigned` | *boolean* | :heavy_check_mark: | A boolean that will be true when the aliases from the alias property were assigned successfully | true | +| `bootedAt` | *number* | :heavy_check_mark: | N/A | | +| `buildingAt` | *number* | :heavy_check_mark: | N/A | | +| `buildContainerFinishedAt` | *number* | :heavy_minus_sign: | Since April 2025 it necessary for On-Demand Concurrency Minutes calculation | | +| `buildSkipped` | *boolean* | :heavy_check_mark: | N/A | | +| `creator` | [models.Creator](../models/creator.md) | :heavy_check_mark: | Information about the deployment creator | | +| `initReadyAt` | *number* | :heavy_minus_sign: | N/A | | +| `isFirstBranchDeployment` | *boolean* | :heavy_minus_sign: | N/A | | +| `lambdas` | [models.Lambdas](../models/lambdas.md)[] | :heavy_minus_sign: | N/A | | +| `public` | *boolean* | :heavy_check_mark: | A boolean representing if the deployment is public or not. By default this is `false` | false | +| `ready` | *number* | :heavy_minus_sign: | N/A | | +| `status` | [models.CreateDeploymentStatus](../models/createdeploymentstatus.md) | :heavy_check_mark: | N/A | | +| `team` | [models.CreateDeploymentTeam](../models/createdeploymentteam.md) | :heavy_minus_sign: | The team that owns the deployment if any | | +| `userAliases` | *string*[] | :heavy_minus_sign: | An array of domains that were provided by the user when creating the Deployment. | [
"sub1.example.com",
"sub2.example.com"
] | +| `previewCommentsEnabled` | *boolean* | :heavy_minus_sign: | Whether or not preview comments are enabled for the deployment | false | +| `ttyBuildLogs` | *boolean* | :heavy_minus_sign: | N/A | | +| `customEnvironment` | *models.CustomEnvironment* | :heavy_minus_sign: | N/A | | +| `oomReport` | [models.OomReport](../models/oomreport.md) | :heavy_minus_sign: | N/A | | +| `aliasWarning` | [models.AliasWarning](../models/aliaswarning.md) | :heavy_minus_sign: | N/A | | +| `id` | *string* | :heavy_check_mark: | A string holding the unique ID of the deployment | dpl_89qyp1cskzkLrVicDaZoDbjyHuDJ | +| `createdAt` | *number* | :heavy_check_mark: | A number containing the date when the deployment was created in milliseconds | 1540257589405 | +| `readyState` | [models.ReadyState](../models/readystate.md) | :heavy_check_mark: | The state of the deployment depending on the process of deploying, or if it is ready or in an error state | READY | +| `name` | *string* | :heavy_check_mark: | The name of the project associated with the deployment at the time that the deployment was created | my-project | +| `type` | [models.CreateDeploymentType](../models/createdeploymenttype.md) | :heavy_check_mark: | N/A | | +| `aliasError` | [models.AliasError](../models/aliaserror.md) | :heavy_minus_sign: | An object that will contain a `code` and a `message` when the aliasing fails, otherwise the value will be `null` | | +| `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` | [models.ChecksState](../models/checksstate.md) | :heavy_minus_sign: | N/A | | +| `checksConclusion` | [models.ChecksConclusion](../models/checksconclusion.md) | :heavy_minus_sign: | N/A | | +| `deletedAt` | *number* | :heavy_minus_sign: | A number containing the date when the deployment was deleted at milliseconds | 1540257589405 | +| `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 | | +| `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` | *models.CreateDeploymentGitSource* | :heavy_minus_sign: | N/A | | +| `meta` | Record | :heavy_check_mark: | N/A | | +| `originCacheRegion` | *string* | :heavy_minus_sign: | N/A | | +| `nodeVersion` | [models.CreateDeploymentNodeVersion](../models/createdeploymentnodeversion.md) | :heavy_minus_sign: | If set it overrides the `projectSettings.nodeVersion` for this deployment. | | +| `project` | [models.CreateDeploymentProject](../models/createdeploymentproject.md) | :heavy_minus_sign: | The public project information associated with the deployment. | | +| `readySubstate` | [models.ReadySubstate](../models/readysubstate.md) | :heavy_minus_sign: | Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - ROLLING: in the process of having production traffic gradually transitioned. - PROMOTED: has seen production traffic | | +| `regions` | *string*[] | :heavy_check_mark: | The regions the deployment exists in | [
"sfo1"
] | +| `softDeletedByRetention` | *boolean* | :heavy_minus_sign: | flag to indicate if the deployment was deleted by retention policy | true | +| `source` | [models.CreateDeploymentSource](../models/createdeploymentsource.md) | :heavy_minus_sign: | Where was the deployment created from | cli | +| `target` | [models.CreateDeploymentTarget](../models/createdeploymenttarget.md) | :heavy_minus_sign: | If defined, either `staging` if a staging alias in the format `..now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment. | | +| `undeletedAt` | *number* | :heavy_minus_sign: | A number containing the date when the deployment was undeleted at milliseconds | 1540257589405 | +| `url` | *string* | :heavy_check_mark: | A string with the unique URL of the deployment | my-instant-deployment-3ij3cxz9qr.now.sh | +| `version` | *number* | :heavy_check_mark: | The platform version that was used to create the deployment. | 2 | +| `oidcTokenClaims` | [models.OidcTokenClaims](../models/oidctokenclaims.md) | :heavy_minus_sign: | N/A | | +| `projectId` | *string* | :heavy_check_mark: | N/A | | +| `plan` | [models.CreateDeploymentPlan](../models/createdeploymentplan.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` | [models.CreateDeploymentCrons](../models/createdeploymentcrons.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` | *models.Routes*[] | :heavy_check_mark: | N/A | | +| `gitRepo` | *models.GitRepo* | :heavy_minus_sign: | N/A | | +| `flags` | *models.Flags* | :heavy_minus_sign: | N/A | | +| `microfrontends` | *models.CreateDeploymentMicrofrontends* | :heavy_minus_sign: | N/A | | +| `config` | [models.Config](../models/config.md) | :heavy_minus_sign: | Since February 2025 the configuration must include snapshot data at the time of deployment creation to capture properties for the /deployments/:id/config endpoint utilized for displaying Deployment Configuration on the frontend This is optional because older deployments may not have this data captured | | +| `checks` | [models.CreateDeploymentChecks](../models/createdeploymentchecks.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/createdeploymentroutestransforms.md b/docs/models/createdeploymentroutestransforms.md new file mode 100644 index 000000000..7ead9348e --- /dev/null +++ b/docs/models/createdeploymentroutestransforms.md @@ -0,0 +1,24 @@ +# CreateDeploymentRoutesTransforms + +## Example Usage + +```typescript +import { CreateDeploymentRoutesTransforms } from "@vercel/sdk/models/createdeploymentop.js"; + +let value: CreateDeploymentRoutesTransforms = { + type: "request.query", + op: "append", + target: { + key: {}, + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | +| `type` | [models.RoutesType](../models/routestype.md) | :heavy_check_mark: | N/A | +| `op` | [models.CreateDeploymentRoutesOp](../models/createdeploymentroutesop.md) | :heavy_check_mark: | N/A | +| `target` | [models.RoutesTarget](../models/routestarget.md) | :heavy_check_mark: | N/A | +| `args` | *models.Args* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/createdeploymentsource.md b/docs/models/createdeploymentsource.md index 8dbf3e55d..b1065869c 100644 --- a/docs/models/createdeploymentsource.md +++ b/docs/models/createdeploymentsource.md @@ -1,15 +1,17 @@ # CreateDeploymentSource +Where was the deployment created from + ## Example Usage ```typescript import { CreateDeploymentSource } from "@vercel/sdk/models/createdeploymentop.js"; -let value: CreateDeploymentSource = "clone/repo"; +let value: CreateDeploymentSource = "cli"; ``` ## Values ```typescript -"cli" | "git" | "import" | "import/repo" | "clone/repo" | "api-trigger-git-deploy" | "redeploy" | "v0-web" +"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/createdeploymentstatus.md b/docs/models/createdeploymentstatus.md index 8b3745720..1e2f9c587 100644 --- a/docs/models/createdeploymentstatus.md +++ b/docs/models/createdeploymentstatus.md @@ -5,11 +5,11 @@ ```typescript import { CreateDeploymentStatus } from "@vercel/sdk/models/createdeploymentop.js"; -let value: CreateDeploymentStatus = "INITIALIZING"; +let value: CreateDeploymentStatus = "READY"; ``` ## Values ```typescript -"CANCELED" | "ERROR" | "QUEUED" | "BUILDING" | "INITIALIZING" | "READY" +"QUEUED" | "BUILDING" | "ERROR" | "INITIALIZING" | "READY" | "CANCELED" ``` \ No newline at end of file diff --git a/docs/models/createdeploymenttarget.md b/docs/models/createdeploymenttarget.md index 9c0d152a8..ec4e15024 100644 --- a/docs/models/createdeploymenttarget.md +++ b/docs/models/createdeploymenttarget.md @@ -1,15 +1,17 @@ # CreateDeploymentTarget +If defined, either `staging` if a staging alias in the format `..now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment. + ## Example Usage ```typescript import { CreateDeploymentTarget } from "@vercel/sdk/models/createdeploymentop.js"; -let value: CreateDeploymentTarget = "staging"; +let value: CreateDeploymentTarget = "production"; ``` ## Values ```typescript -"production" | "staging" +"staging" | "production" ``` \ No newline at end of file diff --git a/docs/models/createdeploymentteam.md b/docs/models/createdeploymentteam.md index 00ab57d1e..902bbf22b 100644 --- a/docs/models/createdeploymentteam.md +++ b/docs/models/createdeploymentteam.md @@ -1,5 +1,7 @@ # CreateDeploymentTeam +The team that owns the deployment if any + ## Example Usage ```typescript diff --git a/docs/models/createdraindelivery1.md b/docs/models/createdraindelivery1.md new file mode 100644 index 000000000..766f14dd2 --- /dev/null +++ b/docs/models/createdraindelivery1.md @@ -0,0 +1,27 @@ +# CreateDrainDelivery1 + +## Example Usage + +```typescript +import { CreateDrainDelivery1 } from "@vercel/sdk/models/createdrainop.js"; + +let value: CreateDrainDelivery1 = { + type: "http", + endpoint: "", + encoding: "ndjson", + headers: { + "key": "", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | +| `type` | [models.DeliveryType](../models/deliverytype.md) | :heavy_check_mark: | N/A | +| `endpoint` | *string* | :heavy_check_mark: | N/A | +| `encoding` | [models.CreateDrainDeliveryDrainsEncoding](../models/createdraindeliverydrainsencoding.md) | :heavy_check_mark: | N/A | +| `compression` | [models.CreateDrainDeliveryDrainsCompression](../models/createdraindeliverydrainscompression.md) | :heavy_minus_sign: | N/A | +| `headers` | Record | :heavy_check_mark: | N/A | +| `secret` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/createdraindelivery2.md b/docs/models/createdraindelivery2.md new file mode 100644 index 000000000..a1ba9c7f0 --- /dev/null +++ b/docs/models/createdraindelivery2.md @@ -0,0 +1,26 @@ +# CreateDrainDelivery2 + +## Example Usage + +```typescript +import { CreateDrainDelivery2 } from "@vercel/sdk/models/createdrainop.js"; + +let value: CreateDrainDelivery2 = { + type: "otlphttp", + endpoint: { + traces: "", + }, + encoding: "proto", + headers: {}, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | +| `type` | [models.CreateDrainDeliveryType](../models/createdraindeliverytype.md) | :heavy_check_mark: | N/A | +| `endpoint` | [models.CreateDrainDeliveryDrainsEndpoint](../models/createdraindeliverydrainsendpoint.md) | :heavy_check_mark: | N/A | +| `encoding` | [models.CreateDrainDeliveryDrainsResponseEncoding](../models/createdraindeliverydrainsresponseencoding.md) | :heavy_check_mark: | N/A | +| `headers` | Record | :heavy_check_mark: | N/A | +| `secret` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/createdraindelivery3.md b/docs/models/createdraindelivery3.md new file mode 100644 index 000000000..76a183b37 --- /dev/null +++ b/docs/models/createdraindelivery3.md @@ -0,0 +1,21 @@ +# CreateDrainDelivery3 + +## Example Usage + +```typescript +import { CreateDrainDelivery3 } from "@vercel/sdk/models/createdrainop.js"; + +let value: CreateDrainDelivery3 = { + type: "clickhouse", + endpoint: "", + table: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.CreateDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyType](../models/createdraindeliverydrainsresponse200applicationjsonresponsebodytype.md) | :heavy_check_mark: | N/A | +| `endpoint` | *string* | :heavy_check_mark: | N/A | +| `table` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createdraindelivery4.md b/docs/models/createdraindelivery4.md new file mode 100644 index 000000000..0ca4d42e0 --- /dev/null +++ b/docs/models/createdraindelivery4.md @@ -0,0 +1,19 @@ +# CreateDrainDelivery4 + +## Example Usage + +```typescript +import { CreateDrainDelivery4 } from "@vercel/sdk/models/createdrainop.js"; + +let value: CreateDrainDelivery4 = { + type: "internal", + target: "vercel-otel-traces-db", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.CreateDrainDeliveryDrainsResponse200ApplicationJSONResponseBody2Type](../models/createdraindeliverydrainsresponse200applicationjsonresponsebody2type.md) | :heavy_check_mark: | N/A | +| `target` | [models.CreateDrainDeliveryTarget](../models/createdraindeliverytarget.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createdraindeliverycompression.md b/docs/models/createdraindeliverycompression.md new file mode 100644 index 000000000..ead5f2bdf --- /dev/null +++ b/docs/models/createdraindeliverycompression.md @@ -0,0 +1,15 @@ +# CreateDrainDeliveryCompression + +## Example Usage + +```typescript +import { CreateDrainDeliveryCompression } from "@vercel/sdk/models/createdrainop.js"; + +let value: CreateDrainDeliveryCompression = "none"; +``` + +## Values + +```typescript +"gzip" | "none" +``` \ No newline at end of file diff --git a/docs/models/createdraindeliverydrains1.md b/docs/models/createdraindeliverydrains1.md new file mode 100644 index 000000000..bce8c8cc9 --- /dev/null +++ b/docs/models/createdraindeliverydrains1.md @@ -0,0 +1,25 @@ +# CreateDrainDeliveryDrains1 + +## Example Usage + +```typescript +import { CreateDrainDeliveryDrains1 } from "@vercel/sdk/models/createdrainop.js"; + +let value: CreateDrainDeliveryDrains1 = { + type: "http", + endpoint: "", + encoding: "ndjson", + headers: {}, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | +| `type` | [models.CreateDrainDeliveryDrainsResponse200Type](../models/createdraindeliverydrainsresponse200type.md) | :heavy_check_mark: | N/A | +| `endpoint` | *string* | :heavy_check_mark: | N/A | +| `encoding` | [models.CreateDrainDeliveryDrainsResponse200Encoding](../models/createdraindeliverydrainsresponse200encoding.md) | :heavy_check_mark: | N/A | +| `compression` | [models.CreateDrainDeliveryCompression](../models/createdraindeliverycompression.md) | :heavy_minus_sign: | N/A | +| `headers` | Record | :heavy_check_mark: | N/A | +| `secret` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/createdraindeliverydrains2.md b/docs/models/createdraindeliverydrains2.md new file mode 100644 index 000000000..10b466697 --- /dev/null +++ b/docs/models/createdraindeliverydrains2.md @@ -0,0 +1,29 @@ +# CreateDrainDeliveryDrains2 + +## Example Usage + +```typescript +import { CreateDrainDeliveryDrains2 } from "@vercel/sdk/models/createdrainop.js"; + +let value: CreateDrainDeliveryDrains2 = { + type: "otlphttp", + endpoint: { + traces: "", + }, + encoding: "json", + headers: { + "key": "", + "key1": "", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.CreateDrainDeliveryDrainsResponse200ApplicationJSONType](../models/createdraindeliverydrainsresponse200applicationjsontype.md) | :heavy_check_mark: | N/A | +| `endpoint` | [models.CreateDrainDeliveryEndpoint](../models/createdraindeliveryendpoint.md) | :heavy_check_mark: | N/A | +| `encoding` | [models.CreateDrainDeliveryDrainsResponse200ApplicationJSONEncoding](../models/createdraindeliverydrainsresponse200applicationjsonencoding.md) | :heavy_check_mark: | N/A | +| `headers` | Record | :heavy_check_mark: | N/A | +| `secret` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/createdraindeliverydrainscompression.md b/docs/models/createdraindeliverydrainscompression.md new file mode 100644 index 000000000..cebaecd98 --- /dev/null +++ b/docs/models/createdraindeliverydrainscompression.md @@ -0,0 +1,15 @@ +# CreateDrainDeliveryDrainsCompression + +## Example Usage + +```typescript +import { CreateDrainDeliveryDrainsCompression } from "@vercel/sdk/models/createdrainop.js"; + +let value: CreateDrainDeliveryDrainsCompression = "gzip"; +``` + +## Values + +```typescript +"gzip" | "none" +``` \ No newline at end of file diff --git a/docs/models/createdraindeliverydrainsencoding.md b/docs/models/createdraindeliverydrainsencoding.md new file mode 100644 index 000000000..9e5fc8333 --- /dev/null +++ b/docs/models/createdraindeliverydrainsencoding.md @@ -0,0 +1,15 @@ +# CreateDrainDeliveryDrainsEncoding + +## Example Usage + +```typescript +import { CreateDrainDeliveryDrainsEncoding } from "@vercel/sdk/models/createdrainop.js"; + +let value: CreateDrainDeliveryDrainsEncoding = "json"; +``` + +## Values + +```typescript +"json" | "ndjson" +``` \ No newline at end of file diff --git a/docs/models/createdraindeliverydrainsendpoint.md b/docs/models/createdraindeliverydrainsendpoint.md new file mode 100644 index 000000000..c33f1cf06 --- /dev/null +++ b/docs/models/createdraindeliverydrainsendpoint.md @@ -0,0 +1,17 @@ +# CreateDrainDeliveryDrainsEndpoint + +## Example Usage + +```typescript +import { CreateDrainDeliveryDrainsEndpoint } from "@vercel/sdk/models/createdrainop.js"; + +let value: CreateDrainDeliveryDrainsEndpoint = { + traces: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `traces` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createdraindeliverydrainsresponse200applicationjsonencoding.md b/docs/models/createdraindeliverydrainsresponse200applicationjsonencoding.md new file mode 100644 index 000000000..bcab87a11 --- /dev/null +++ b/docs/models/createdraindeliverydrainsresponse200applicationjsonencoding.md @@ -0,0 +1,15 @@ +# CreateDrainDeliveryDrainsResponse200ApplicationJSONEncoding + +## Example Usage + +```typescript +import { CreateDrainDeliveryDrainsResponse200ApplicationJSONEncoding } from "@vercel/sdk/models/createdrainop.js"; + +let value: CreateDrainDeliveryDrainsResponse200ApplicationJSONEncoding = "json"; +``` + +## Values + +```typescript +"json" | "proto" +``` \ No newline at end of file diff --git a/docs/models/createdraindeliverydrainsresponse200applicationjsonresponsebody2type.md b/docs/models/createdraindeliverydrainsresponse200applicationjsonresponsebody2type.md new file mode 100644 index 000000000..257368aa9 --- /dev/null +++ b/docs/models/createdraindeliverydrainsresponse200applicationjsonresponsebody2type.md @@ -0,0 +1,17 @@ +# CreateDrainDeliveryDrainsResponse200ApplicationJSONResponseBody2Type + +## Example Usage + +```typescript +import { CreateDrainDeliveryDrainsResponse200ApplicationJSONResponseBody2Type } from "@vercel/sdk/models/createdrainop.js"; + +let value: + CreateDrainDeliveryDrainsResponse200ApplicationJSONResponseBody2Type = + "internal"; +``` + +## Values + +```typescript +"internal" +``` \ No newline at end of file diff --git a/docs/models/createdraindeliverydrainsresponse200applicationjsonresponsebodytype.md b/docs/models/createdraindeliverydrainsresponse200applicationjsonresponsebodytype.md new file mode 100644 index 000000000..d19e1dc3d --- /dev/null +++ b/docs/models/createdraindeliverydrainsresponse200applicationjsonresponsebodytype.md @@ -0,0 +1,16 @@ +# CreateDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyType + +## Example Usage + +```typescript +import { CreateDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyType } from "@vercel/sdk/models/createdrainop.js"; + +let value: CreateDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyType = + "clickhouse"; +``` + +## Values + +```typescript +"clickhouse" +``` \ No newline at end of file diff --git a/docs/models/createdraindeliverydrainsresponse200applicationjsontype.md b/docs/models/createdraindeliverydrainsresponse200applicationjsontype.md new file mode 100644 index 000000000..179ac1d6e --- /dev/null +++ b/docs/models/createdraindeliverydrainsresponse200applicationjsontype.md @@ -0,0 +1,15 @@ +# CreateDrainDeliveryDrainsResponse200ApplicationJSONType + +## Example Usage + +```typescript +import { CreateDrainDeliveryDrainsResponse200ApplicationJSONType } from "@vercel/sdk/models/createdrainop.js"; + +let value: CreateDrainDeliveryDrainsResponse200ApplicationJSONType = "otlphttp"; +``` + +## Values + +```typescript +"otlphttp" +``` \ No newline at end of file diff --git a/docs/models/createdraindeliverydrainsresponse200encoding.md b/docs/models/createdraindeliverydrainsresponse200encoding.md new file mode 100644 index 000000000..ccfcaa63e --- /dev/null +++ b/docs/models/createdraindeliverydrainsresponse200encoding.md @@ -0,0 +1,15 @@ +# CreateDrainDeliveryDrainsResponse200Encoding + +## Example Usage + +```typescript +import { CreateDrainDeliveryDrainsResponse200Encoding } from "@vercel/sdk/models/createdrainop.js"; + +let value: CreateDrainDeliveryDrainsResponse200Encoding = "ndjson"; +``` + +## Values + +```typescript +"json" | "ndjson" +``` \ No newline at end of file diff --git a/docs/models/createdraindeliverydrainsresponse200type.md b/docs/models/createdraindeliverydrainsresponse200type.md new file mode 100644 index 000000000..f56d5777a --- /dev/null +++ b/docs/models/createdraindeliverydrainsresponse200type.md @@ -0,0 +1,15 @@ +# CreateDrainDeliveryDrainsResponse200Type + +## Example Usage + +```typescript +import { CreateDrainDeliveryDrainsResponse200Type } from "@vercel/sdk/models/createdrainop.js"; + +let value: CreateDrainDeliveryDrainsResponse200Type = "http"; +``` + +## Values + +```typescript +"http" +``` \ No newline at end of file diff --git a/docs/models/createdraindeliverydrainsresponseencoding.md b/docs/models/createdraindeliverydrainsresponseencoding.md new file mode 100644 index 000000000..2f81e8c7b --- /dev/null +++ b/docs/models/createdraindeliverydrainsresponseencoding.md @@ -0,0 +1,15 @@ +# CreateDrainDeliveryDrainsResponseEncoding + +## Example Usage + +```typescript +import { CreateDrainDeliveryDrainsResponseEncoding } from "@vercel/sdk/models/createdrainop.js"; + +let value: CreateDrainDeliveryDrainsResponseEncoding = "proto"; +``` + +## Values + +```typescript +"json" | "proto" +``` \ No newline at end of file diff --git a/docs/models/createdraindeliverydrainsresponsetype.md b/docs/models/createdraindeliverydrainsresponsetype.md new file mode 100644 index 000000000..a180d9c9e --- /dev/null +++ b/docs/models/createdraindeliverydrainsresponsetype.md @@ -0,0 +1,15 @@ +# CreateDrainDeliveryDrainsResponseType + +## Example Usage + +```typescript +import { CreateDrainDeliveryDrainsResponseType } from "@vercel/sdk/models/createdrainop.js"; + +let value: CreateDrainDeliveryDrainsResponseType = "internal"; +``` + +## Values + +```typescript +"internal" +``` \ No newline at end of file diff --git a/docs/models/createdraindeliverydrainstype.md b/docs/models/createdraindeliverydrainstype.md new file mode 100644 index 000000000..362073a5c --- /dev/null +++ b/docs/models/createdraindeliverydrainstype.md @@ -0,0 +1,15 @@ +# CreateDrainDeliveryDrainsType + +## Example Usage + +```typescript +import { CreateDrainDeliveryDrainsType } from "@vercel/sdk/models/createdrainop.js"; + +let value: CreateDrainDeliveryDrainsType = "clickhouse"; +``` + +## Values + +```typescript +"clickhouse" +``` \ No newline at end of file diff --git a/docs/models/createdraindeliveryencoding.md b/docs/models/createdraindeliveryencoding.md new file mode 100644 index 000000000..f0396cb06 --- /dev/null +++ b/docs/models/createdraindeliveryencoding.md @@ -0,0 +1,15 @@ +# CreateDrainDeliveryEncoding + +## Example Usage + +```typescript +import { CreateDrainDeliveryEncoding } from "@vercel/sdk/models/createdrainop.js"; + +let value: CreateDrainDeliveryEncoding = "json"; +``` + +## Values + +```typescript +"proto" | "json" +``` \ No newline at end of file diff --git a/docs/models/createdraindeliveryendpoint.md b/docs/models/createdraindeliveryendpoint.md new file mode 100644 index 000000000..cd1cab804 --- /dev/null +++ b/docs/models/createdraindeliveryendpoint.md @@ -0,0 +1,17 @@ +# CreateDrainDeliveryEndpoint + +## Example Usage + +```typescript +import { CreateDrainDeliveryEndpoint } from "@vercel/sdk/models/createdrainop.js"; + +let value: CreateDrainDeliveryEndpoint = { + traces: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `traces` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createdraindeliverytarget.md b/docs/models/createdraindeliverytarget.md new file mode 100644 index 000000000..0767568d4 --- /dev/null +++ b/docs/models/createdraindeliverytarget.md @@ -0,0 +1,15 @@ +# CreateDrainDeliveryTarget + +## Example Usage + +```typescript +import { CreateDrainDeliveryTarget } from "@vercel/sdk/models/createdrainop.js"; + +let value: CreateDrainDeliveryTarget = "vercel-otel-traces-db"; +``` + +## Values + +```typescript +"vercel-otel-traces-db" +``` \ No newline at end of file diff --git a/docs/models/createdraindeliverytype.md b/docs/models/createdraindeliverytype.md new file mode 100644 index 000000000..77ab33658 --- /dev/null +++ b/docs/models/createdraindeliverytype.md @@ -0,0 +1,15 @@ +# CreateDrainDeliveryType + +## Example Usage + +```typescript +import { CreateDrainDeliveryType } from "@vercel/sdk/models/createdrainop.js"; + +let value: CreateDrainDeliveryType = "otlphttp"; +``` + +## Values + +```typescript +"otlphttp" +``` \ No newline at end of file diff --git a/docs/models/createdrainfilter1.md b/docs/models/createdrainfilter1.md new file mode 100644 index 000000000..f51b4620a --- /dev/null +++ b/docs/models/createdrainfilter1.md @@ -0,0 +1,20 @@ +# CreateDrainFilter1 + +## Example Usage + +```typescript +import { CreateDrainFilter1 } from "@vercel/sdk/models/createdrainop.js"; + +let value: CreateDrainFilter1 = { + type: "basic", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `type` | [models.FilterType](../models/filtertype.md) | :heavy_check_mark: | N/A | +| `project` | [models.CreateDrainFilterDrainsProject](../models/createdrainfilterdrainsproject.md) | :heavy_minus_sign: | N/A | +| `log` | [models.CreateDrainFilterDrainsLog](../models/createdrainfilterdrainslog.md) | :heavy_minus_sign: | N/A | +| `deployment` | [models.CreateDrainFilterDrainsDeployment](../models/createdrainfilterdrainsdeployment.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/createdrainfilter2.md b/docs/models/createdrainfilter2.md new file mode 100644 index 000000000..98f8f116c --- /dev/null +++ b/docs/models/createdrainfilter2.md @@ -0,0 +1,19 @@ +# CreateDrainFilter2 + +## Example Usage + +```typescript +import { CreateDrainFilter2 } from "@vercel/sdk/models/createdrainop.js"; + +let value: CreateDrainFilter2 = { + type: "", + text: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `type` | *string* | :heavy_check_mark: | N/A | +| `text` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createdrainfilterdeployment.md b/docs/models/createdrainfilterdeployment.md new file mode 100644 index 000000000..6f131d47f --- /dev/null +++ b/docs/models/createdrainfilterdeployment.md @@ -0,0 +1,15 @@ +# CreateDrainFilterDeployment + +## Example Usage + +```typescript +import { CreateDrainFilterDeployment } from "@vercel/sdk/models/createdrainop.js"; + +let value: CreateDrainFilterDeployment = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | +| `environments` | [models.FilterEnvironments](../models/filterenvironments.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/createdrainfilterdrains1.md b/docs/models/createdrainfilterdrains1.md new file mode 100644 index 000000000..60dce02c4 --- /dev/null +++ b/docs/models/createdrainfilterdrains1.md @@ -0,0 +1,20 @@ +# CreateDrainFilterDrains1 + +## Example Usage + +```typescript +import { CreateDrainFilterDrains1 } from "@vercel/sdk/models/createdrainop.js"; + +let value: CreateDrainFilterDrains1 = { + type: "basic", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | +| `type` | [models.CreateDrainFilterDrainsType](../models/createdrainfilterdrainstype.md) | :heavy_check_mark: | N/A | +| `project` | [models.CreateDrainFilterDrainsResponseProject](../models/createdrainfilterdrainsresponseproject.md) | :heavy_minus_sign: | N/A | +| `log` | [models.CreateDrainFilterLog](../models/createdrainfilterlog.md) | :heavy_minus_sign: | N/A | +| `deployment` | [models.CreateDrainFilterDrainsResponseDeployment](../models/createdrainfilterdrainsresponsedeployment.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/createdrainfilterdrains2.md b/docs/models/createdrainfilterdrains2.md new file mode 100644 index 000000000..2b9605b64 --- /dev/null +++ b/docs/models/createdrainfilterdrains2.md @@ -0,0 +1,19 @@ +# CreateDrainFilterDrains2 + +## Example Usage + +```typescript +import { CreateDrainFilterDrains2 } from "@vercel/sdk/models/createdrainop.js"; + +let value: CreateDrainFilterDrains2 = { + type: "odata", + text: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `type` | [models.CreateDrainFilterType](../models/createdrainfiltertype.md) | :heavy_check_mark: | N/A | +| `text` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createdrainfilterdrainsdeployment.md b/docs/models/createdrainfilterdrainsdeployment.md new file mode 100644 index 000000000..ac3191686 --- /dev/null +++ b/docs/models/createdrainfilterdrainsdeployment.md @@ -0,0 +1,15 @@ +# CreateDrainFilterDrainsDeployment + +## Example Usage + +```typescript +import { CreateDrainFilterDrainsDeployment } from "@vercel/sdk/models/createdrainop.js"; + +let value: CreateDrainFilterDrainsDeployment = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `environments` | [models.CreateDrainFilterEnvironments](../models/createdrainfilterenvironments.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/createdrainfilterdrainsenvironments.md b/docs/models/createdrainfilterdrainsenvironments.md new file mode 100644 index 000000000..37d7c6eba --- /dev/null +++ b/docs/models/createdrainfilterdrainsenvironments.md @@ -0,0 +1,15 @@ +# CreateDrainFilterDrainsEnvironments + +## Example Usage + +```typescript +import { CreateDrainFilterDrainsEnvironments } from "@vercel/sdk/models/createdrainop.js"; + +let value: CreateDrainFilterDrainsEnvironments = "preview"; +``` + +## Values + +```typescript +"production" | "preview" +``` \ No newline at end of file diff --git a/docs/models/createdrainfilterdrainslog.md b/docs/models/createdrainfilterdrainslog.md new file mode 100644 index 000000000..27ed0d52a --- /dev/null +++ b/docs/models/createdrainfilterdrainslog.md @@ -0,0 +1,16 @@ +# CreateDrainFilterDrainsLog + +## Example Usage + +```typescript +import { CreateDrainFilterDrainsLog } from "@vercel/sdk/models/createdrainop.js"; + +let value: CreateDrainFilterDrainsLog = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `sources` | [models.CreateDrainFilterSources](../models/createdrainfiltersources.md)[] | :heavy_minus_sign: | N/A | +| `legacyExcludeCachedStaticAssetLogs` | *boolean* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/createdrainfilterdrainsproject.md b/docs/models/createdrainfilterdrainsproject.md new file mode 100644 index 000000000..cde571051 --- /dev/null +++ b/docs/models/createdrainfilterdrainsproject.md @@ -0,0 +1,15 @@ +# CreateDrainFilterDrainsProject + +## Example Usage + +```typescript +import { CreateDrainFilterDrainsProject } from "@vercel/sdk/models/createdrainop.js"; + +let value: CreateDrainFilterDrainsProject = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `ids` | *string*[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/createdrainfilterdrainsresponse2.md b/docs/models/createdrainfilterdrainsresponse2.md new file mode 100644 index 000000000..ebdd1fa2d --- /dev/null +++ b/docs/models/createdrainfilterdrainsresponse2.md @@ -0,0 +1,19 @@ +# CreateDrainFilterDrainsResponse2 + +## Example Usage + +```typescript +import { CreateDrainFilterDrainsResponse2 } from "@vercel/sdk/models/createdrainop.js"; + +let value: CreateDrainFilterDrainsResponse2 = { + type: "odata", + text: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `type` | [models.CreateDrainFilterDrainsResponseType](../models/createdrainfilterdrainsresponsetype.md) | :heavy_check_mark: | N/A | +| `text` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createdrainfilterdrainsresponsedeployment.md b/docs/models/createdrainfilterdrainsresponsedeployment.md new file mode 100644 index 000000000..76246e5a8 --- /dev/null +++ b/docs/models/createdrainfilterdrainsresponsedeployment.md @@ -0,0 +1,15 @@ +# CreateDrainFilterDrainsResponseDeployment + +## Example Usage + +```typescript +import { CreateDrainFilterDrainsResponseDeployment } from "@vercel/sdk/models/createdrainop.js"; + +let value: CreateDrainFilterDrainsResponseDeployment = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | +| `environments` | [models.CreateDrainFilterDrainsEnvironments](../models/createdrainfilterdrainsenvironments.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/createdrainfilterdrainsresponseproject.md b/docs/models/createdrainfilterdrainsresponseproject.md new file mode 100644 index 000000000..0c3d7bb50 --- /dev/null +++ b/docs/models/createdrainfilterdrainsresponseproject.md @@ -0,0 +1,15 @@ +# CreateDrainFilterDrainsResponseProject + +## Example Usage + +```typescript +import { CreateDrainFilterDrainsResponseProject } from "@vercel/sdk/models/createdrainop.js"; + +let value: CreateDrainFilterDrainsResponseProject = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `ids` | *string*[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/createdrainfilterdrainsresponsetype.md b/docs/models/createdrainfilterdrainsresponsetype.md new file mode 100644 index 000000000..0d51099b1 --- /dev/null +++ b/docs/models/createdrainfilterdrainsresponsetype.md @@ -0,0 +1,15 @@ +# CreateDrainFilterDrainsResponseType + +## Example Usage + +```typescript +import { CreateDrainFilterDrainsResponseType } from "@vercel/sdk/models/createdrainop.js"; + +let value: CreateDrainFilterDrainsResponseType = "odata"; +``` + +## Values + +```typescript +"odata" +``` \ No newline at end of file diff --git a/docs/models/createdrainfilterdrainssources.md b/docs/models/createdrainfilterdrainssources.md new file mode 100644 index 000000000..becd4d82c --- /dev/null +++ b/docs/models/createdrainfilterdrainssources.md @@ -0,0 +1,15 @@ +# CreateDrainFilterDrainsSources + +## Example Usage + +```typescript +import { CreateDrainFilterDrainsSources } from "@vercel/sdk/models/createdrainop.js"; + +let value: CreateDrainFilterDrainsSources = "external"; +``` + +## Values + +```typescript +"build" | "edge" | "lambda" | "static" | "external" | "firewall" | "redirect" +``` \ No newline at end of file diff --git a/docs/models/createdrainfilterdrainstype.md b/docs/models/createdrainfilterdrainstype.md new file mode 100644 index 000000000..564cb81d9 --- /dev/null +++ b/docs/models/createdrainfilterdrainstype.md @@ -0,0 +1,15 @@ +# CreateDrainFilterDrainsType + +## Example Usage + +```typescript +import { CreateDrainFilterDrainsType } from "@vercel/sdk/models/createdrainop.js"; + +let value: CreateDrainFilterDrainsType = "basic"; +``` + +## Values + +```typescript +"basic" +``` \ No newline at end of file diff --git a/docs/models/createdrainfilterenvironments.md b/docs/models/createdrainfilterenvironments.md new file mode 100644 index 000000000..130093351 --- /dev/null +++ b/docs/models/createdrainfilterenvironments.md @@ -0,0 +1,15 @@ +# CreateDrainFilterEnvironments + +## Example Usage + +```typescript +import { CreateDrainFilterEnvironments } from "@vercel/sdk/models/createdrainop.js"; + +let value: CreateDrainFilterEnvironments = "production"; +``` + +## Values + +```typescript +"production" | "preview" +``` \ No newline at end of file diff --git a/docs/models/createdrainfilterlog.md b/docs/models/createdrainfilterlog.md new file mode 100644 index 000000000..18135fe1a --- /dev/null +++ b/docs/models/createdrainfilterlog.md @@ -0,0 +1,16 @@ +# CreateDrainFilterLog + +## Example Usage + +```typescript +import { CreateDrainFilterLog } from "@vercel/sdk/models/createdrainop.js"; + +let value: CreateDrainFilterLog = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `sources` | [models.CreateDrainFilterDrainsSources](../models/createdrainfilterdrainssources.md)[] | :heavy_minus_sign: | N/A | +| `legacyExcludeCachedStaticAssetLogs` | *boolean* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/createdrainfilterproject.md b/docs/models/createdrainfilterproject.md new file mode 100644 index 000000000..eaf1bac32 --- /dev/null +++ b/docs/models/createdrainfilterproject.md @@ -0,0 +1,15 @@ +# CreateDrainFilterProject + +## Example Usage + +```typescript +import { CreateDrainFilterProject } from "@vercel/sdk/models/createdrainop.js"; + +let value: CreateDrainFilterProject = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `ids` | *string*[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/createdrainfiltersources.md b/docs/models/createdrainfiltersources.md new file mode 100644 index 000000000..2f3cd1aca --- /dev/null +++ b/docs/models/createdrainfiltersources.md @@ -0,0 +1,15 @@ +# CreateDrainFilterSources + +## Example Usage + +```typescript +import { CreateDrainFilterSources } from "@vercel/sdk/models/createdrainop.js"; + +let value: CreateDrainFilterSources = "build"; +``` + +## Values + +```typescript +"build" | "edge" | "lambda" | "static" | "external" | "firewall" | "redirect" +``` \ No newline at end of file diff --git a/docs/models/createdrainfiltertype.md b/docs/models/createdrainfiltertype.md new file mode 100644 index 000000000..d8f1d753c --- /dev/null +++ b/docs/models/createdrainfiltertype.md @@ -0,0 +1,15 @@ +# CreateDrainFilterType + +## Example Usage + +```typescript +import { CreateDrainFilterType } from "@vercel/sdk/models/createdrainop.js"; + +let value: CreateDrainFilterType = "odata"; +``` + +## Values + +```typescript +"odata" +``` \ No newline at end of file diff --git a/docs/models/createdrainfilterv21.md b/docs/models/createdrainfilterv21.md new file mode 100644 index 000000000..38a8b5b19 --- /dev/null +++ b/docs/models/createdrainfilterv21.md @@ -0,0 +1,17 @@ +# CreateDrainFilterV21 + +## Example Usage + +```typescript +import { CreateDrainFilterV21 } from "@vercel/sdk/models/createdrainop.js"; + +let value: CreateDrainFilterV21 = { + version: "v1", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `version` | [models.CreateDrainFilterV2Version](../models/createdrainfilterv2version.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createdrainfilterv22.md b/docs/models/createdrainfilterv22.md new file mode 100644 index 000000000..ed434cf9f --- /dev/null +++ b/docs/models/createdrainfilterv22.md @@ -0,0 +1,22 @@ +# CreateDrainFilterV22 + +## Example Usage + +```typescript +import { CreateDrainFilterV22 } from "@vercel/sdk/models/createdrainop.js"; + +let value: CreateDrainFilterV22 = { + version: "v2", + filter: { + type: "odata", + text: "", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `version` | [models.CreateDrainFilterV2DrainsVersion](../models/createdrainfilterv2drainsversion.md) | :heavy_check_mark: | N/A | +| `filter` | *models.CreateDrainFilterV2Filter* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createdrainfilterv2drainsresponseversion.md b/docs/models/createdrainfilterv2drainsresponseversion.md new file mode 100644 index 000000000..0430de5f6 --- /dev/null +++ b/docs/models/createdrainfilterv2drainsresponseversion.md @@ -0,0 +1,15 @@ +# CreateDrainFilterV2DrainsResponseVersion + +## Example Usage + +```typescript +import { CreateDrainFilterV2DrainsResponseVersion } from "@vercel/sdk/models/createdrainop.js"; + +let value: CreateDrainFilterV2DrainsResponseVersion = "v1"; +``` + +## Values + +```typescript +"v1" +``` \ No newline at end of file diff --git a/docs/models/createdrainfilterv2drainsversion.md b/docs/models/createdrainfilterv2drainsversion.md new file mode 100644 index 000000000..447188cd9 --- /dev/null +++ b/docs/models/createdrainfilterv2drainsversion.md @@ -0,0 +1,15 @@ +# CreateDrainFilterV2DrainsVersion + +## Example Usage + +```typescript +import { CreateDrainFilterV2DrainsVersion } from "@vercel/sdk/models/createdrainop.js"; + +let value: CreateDrainFilterV2DrainsVersion = "v2"; +``` + +## Values + +```typescript +"v2" +``` \ No newline at end of file diff --git a/docs/models/createdrainfilterv2filter.md b/docs/models/createdrainfilterv2filter.md new file mode 100644 index 000000000..586ee3564 --- /dev/null +++ b/docs/models/createdrainfilterv2filter.md @@ -0,0 +1,22 @@ +# CreateDrainFilterV2Filter + + +## Supported Types + +### `models.CreateDrainFilterDrains1` + +```typescript +const value: models.CreateDrainFilterDrains1 = { + type: "basic", +}; +``` + +### `models.CreateDrainFilterDrainsResponse2` + +```typescript +const value: models.CreateDrainFilterDrainsResponse2 = { + type: "odata", + text: "", +}; +``` + diff --git a/docs/models/createdrainfilterv2version.md b/docs/models/createdrainfilterv2version.md new file mode 100644 index 000000000..31ce6c27e --- /dev/null +++ b/docs/models/createdrainfilterv2version.md @@ -0,0 +1,15 @@ +# CreateDrainFilterV2Version + +## Example Usage + +```typescript +import { CreateDrainFilterV2Version } from "@vercel/sdk/models/createdrainop.js"; + +let value: CreateDrainFilterV2Version = "v1"; +``` + +## Values + +```typescript +"v1" +``` \ No newline at end of file diff --git a/docs/models/createdrainprojects.md b/docs/models/createdrainprojects.md new file mode 100644 index 000000000..678f4bd9c --- /dev/null +++ b/docs/models/createdrainprojects.md @@ -0,0 +1,15 @@ +# CreateDrainProjects + +## Example Usage + +```typescript +import { CreateDrainProjects } from "@vercel/sdk/models/createdrainop.js"; + +let value: CreateDrainProjects = "some"; +``` + +## Values + +```typescript +"some" | "all" +``` \ No newline at end of file diff --git a/docs/models/createdrainrequest.md b/docs/models/createdrainrequest.md new file mode 100644 index 000000000..6507c304f --- /dev/null +++ b/docs/models/createdrainrequest.md @@ -0,0 +1,20 @@ +# CreateDrainRequest + +## Example Usage + +```typescript +import { CreateDrainRequest } from "@vercel/sdk/models/createdrainop.js"; + +let value: CreateDrainRequest = { + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + slug: "my-team-url-slug", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | team_1a2b3c4d5e6f7g8h9i0j1k2l | +| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | my-team-url-slug | +| `requestBody` | [models.CreateDrainRequestBody](../models/createdrainrequestbody.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/createdrainrequestbody.md b/docs/models/createdrainrequestbody.md new file mode 100644 index 000000000..224b672d7 --- /dev/null +++ b/docs/models/createdrainrequestbody.md @@ -0,0 +1,31 @@ +# CreateDrainRequestBody + +## Example Usage + +```typescript +import { CreateDrainRequestBody } from "@vercel/sdk/models/createdrainop.js"; + +let value: CreateDrainRequestBody = { + name: "", + projects: "some", + schemas: { + "key": { + version: "", + }, + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | +| `name` | *string* | :heavy_check_mark: | N/A | +| `projects` | [models.CreateDrainProjects](../models/createdrainprojects.md) | :heavy_check_mark: | N/A | +| `projectIds` | *string*[] | :heavy_minus_sign: | N/A | +| `filter` | *models.Filter* | :heavy_minus_sign: | N/A | +| `schemas` | Record | :heavy_check_mark: | N/A | +| `delivery` | *models.Delivery* | :heavy_minus_sign: | N/A | +| `sampling` | [models.Sampling](../models/sampling.md)[] | :heavy_minus_sign: | N/A | +| `transforms` | [models.Transforms](../models/transforms.md)[] | :heavy_minus_sign: | N/A | +| `source` | *models.CreateDrainSource* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/createdrainresponsebody.md b/docs/models/createdrainresponsebody.md new file mode 100644 index 000000000..d46da29a8 --- /dev/null +++ b/docs/models/createdrainresponsebody.md @@ -0,0 +1,39 @@ +# CreateDrainResponseBody + + +## Supported Types + +### `models.CreateDrainResponseBody1` + +```typescript +const value: models.CreateDrainResponseBody1 = { + id: "", + ownerId: "", + name: "", + createdAt: 9104.12, + updatedAt: 815.09, + source: { + kind: "integration", + integrationId: "", + integrationConfigurationId: "", + }, +}; +``` + +### `models.CreateDrainResponseBody2` + +```typescript +const value: models.CreateDrainResponseBody2 = { + id: "", + ownerId: "", + name: "", + createdAt: 8513.2, + updatedAt: 8458.35, + source: { + kind: "integration", + integrationId: "", + integrationConfigurationId: "", + }, +}; +``` + diff --git a/docs/models/createdrainresponsebody1.md b/docs/models/createdrainresponsebody1.md new file mode 100644 index 000000000..be0a09a0a --- /dev/null +++ b/docs/models/createdrainresponsebody1.md @@ -0,0 +1,46 @@ +# CreateDrainResponseBody1 + +## Example Usage + +```typescript +import { CreateDrainResponseBody1 } from "@vercel/sdk/models/createdrainop.js"; + +let value: CreateDrainResponseBody1 = { + id: "", + ownerId: "", + name: "", + createdAt: 9104.12, + updatedAt: 815.09, + source: { + kind: "integration", + integrationId: "", + integrationConfigurationId: "", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | N/A | +| `ownerId` | *string* | :heavy_check_mark: | N/A | +| `name` | *string* | :heavy_check_mark: | N/A | +| `createdAt` | *number* | :heavy_check_mark: | N/A | +| `createdFrom` | [models.CreateDrainResponseBodyCreatedFrom](../models/createdrainresponsebodycreatedfrom.md) | :heavy_minus_sign: | N/A | +| `updatedAt` | *number* | :heavy_check_mark: | N/A | +| `projectIds` | *string*[] | :heavy_minus_sign: | N/A | +| `schemas` | [models.ResponseBodySchemas](../models/responsebodyschemas.md) | :heavy_minus_sign: | N/A | +| `delivery` | *models.ResponseBodyDelivery* | :heavy_minus_sign: | N/A | +| `sampling` | [models.ResponseBodySampling](../models/responsebodysampling.md)[] | :heavy_minus_sign: | N/A | +| `teamId` | *string* | :heavy_minus_sign: | N/A | +| `status` | [models.CreateDrainResponseBodyStatus](../models/createdrainresponsebodystatus.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 | +| `configurationId` | *string* | :heavy_minus_sign: | N/A | +| `clientId` | *string* | :heavy_minus_sign: | N/A | +| `source` | *models.CreateDrainResponseBodySource* | :heavy_check_mark: | N/A | +| `filter` | *string* | :heavy_minus_sign: | N/A | +| `filterV2` | *models.FilterV2* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/createdrainresponsebody2.md b/docs/models/createdrainresponsebody2.md new file mode 100644 index 000000000..3a49ca2a6 --- /dev/null +++ b/docs/models/createdrainresponsebody2.md @@ -0,0 +1,50 @@ +# CreateDrainResponseBody2 + +## Example Usage + +```typescript +import { CreateDrainResponseBody2 } from "@vercel/sdk/models/createdrainop.js"; + +let value: CreateDrainResponseBody2 = { + id: "", + ownerId: "", + name: "", + createdAt: 8513.2, + updatedAt: 8458.35, + source: { + kind: "integration", + integrationId: "", + integrationConfigurationId: "", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | N/A | +| `ownerId` | *string* | :heavy_check_mark: | N/A | +| `name` | *string* | :heavy_check_mark: | N/A | +| `createdAt` | *number* | :heavy_check_mark: | N/A | +| `createdFrom` | [models.ResponseBodyCreatedFrom](../models/responsebodycreatedfrom.md) | :heavy_minus_sign: | N/A | +| `updatedAt` | *number* | :heavy_check_mark: | N/A | +| `projectIds` | *string*[] | :heavy_minus_sign: | N/A | +| `schemas` | [models.CreateDrainResponseBodySchemas](../models/createdrainresponsebodyschemas.md) | :heavy_minus_sign: | N/A | +| `delivery` | *models.CreateDrainResponseBodyDelivery* | :heavy_minus_sign: | N/A | +| `sampling` | [models.CreateDrainResponseBodySampling](../models/createdrainresponsebodysampling.md)[] | :heavy_minus_sign: | N/A | +| `teamId` | *string* | :heavy_minus_sign: | N/A | +| `status` | [models.CreateDrainResponseBodyDrainsStatus](../models/createdrainresponsebodydrainsstatus.md) | :heavy_minus_sign: | N/A | +| `disabledAt` | *number* | :heavy_minus_sign: | N/A | +| `disabledReason` | [models.ResponseBodyDisabledReason](../models/responsebodydisabledreason.md) | :heavy_minus_sign: | N/A | +| `disabledBy` | *string* | :heavy_minus_sign: | N/A | +| `firstErrorTimestamp` | *number* | :heavy_minus_sign: | N/A | +| `configurationId` | *string* | :heavy_minus_sign: | N/A | +| `clientId` | *string* | :heavy_minus_sign: | N/A | +| `source` | *models.CreateDrainResponseBodyDrainsSource* | :heavy_check_mark: | N/A | +| `filter` | *string* | :heavy_minus_sign: | N/A | +| `filterV2` | *models.ResponseBodyFilterV2* | :heavy_minus_sign: | N/A | +| `integrationIcon` | *string* | :heavy_minus_sign: | N/A | +| `integrationConfigurationUri` | *string* | :heavy_minus_sign: | N/A | +| `integrationWebsite` | *string* | :heavy_minus_sign: | N/A | +| `projectsMetadata` | [models.CreateDrainResponseBodyProjectsMetadata](../models/createdrainresponsebodyprojectsmetadata.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/createdrainresponsebodyanalytics.md b/docs/models/createdrainresponsebodyanalytics.md new file mode 100644 index 000000000..84dba2500 --- /dev/null +++ b/docs/models/createdrainresponsebodyanalytics.md @@ -0,0 +1,14 @@ +# CreateDrainResponseBodyAnalytics + +## Example Usage + +```typescript +import { CreateDrainResponseBodyAnalytics } from "@vercel/sdk/models/createdrainop.js"; + +let value: CreateDrainResponseBodyAnalytics = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/createdrainresponsebodycreatedfrom.md b/docs/models/createdrainresponsebodycreatedfrom.md new file mode 100644 index 000000000..ba2ed3766 --- /dev/null +++ b/docs/models/createdrainresponsebodycreatedfrom.md @@ -0,0 +1,15 @@ +# CreateDrainResponseBodyCreatedFrom + +## Example Usage + +```typescript +import { CreateDrainResponseBodyCreatedFrom } from "@vercel/sdk/models/createdrainop.js"; + +let value: CreateDrainResponseBodyCreatedFrom = "integration"; +``` + +## Values + +```typescript +"self-served" | "integration" +``` \ No newline at end of file diff --git a/docs/models/createdrainresponsebodydelivery.md b/docs/models/createdrainresponsebodydelivery.md new file mode 100644 index 000000000..ba9da56f0 --- /dev/null +++ b/docs/models/createdrainresponsebodydelivery.md @@ -0,0 +1,51 @@ +# CreateDrainResponseBodyDelivery + + +## Supported Types + +### `models.CreateDrainDeliveryDrains1` + +```typescript +const value: models.CreateDrainDeliveryDrains1 = { + type: "http", + endpoint: "", + encoding: "ndjson", + headers: {}, +}; +``` + +### `models.CreateDrainDeliveryDrains2` + +```typescript +const value: models.CreateDrainDeliveryDrains2 = { + type: "otlphttp", + endpoint: { + traces: "", + }, + encoding: "json", + headers: { + "key": "", + "key1": "", + }, +}; +``` + +### `models.CreateDrainDelivery3` + +```typescript +const value: models.CreateDrainDelivery3 = { + type: "clickhouse", + endpoint: "", + table: "", +}; +``` + +### `models.CreateDrainDelivery4` + +```typescript +const value: models.CreateDrainDelivery4 = { + type: "internal", + target: "vercel-otel-traces-db", +}; +``` + diff --git a/docs/models/createdrainresponsebodydrainssource.md b/docs/models/createdrainresponsebodydrainssource.md new file mode 100644 index 000000000..3debd7f3f --- /dev/null +++ b/docs/models/createdrainresponsebodydrainssource.md @@ -0,0 +1,23 @@ +# CreateDrainResponseBodyDrainsSource + + +## Supported Types + +### `models.CreateDrainSourceDrains1` + +```typescript +const value: models.CreateDrainSourceDrains1 = { + kind: "self-served", +}; +``` + +### `models.CreateDrainSourceDrains2` + +```typescript +const value: models.CreateDrainSourceDrains2 = { + kind: "integration", + integrationId: "", + integrationConfigurationId: "", +}; +``` + diff --git a/docs/models/createdrainresponsebodydrainsspeedinsights.md b/docs/models/createdrainresponsebodydrainsspeedinsights.md new file mode 100644 index 000000000..7b5d9dfed --- /dev/null +++ b/docs/models/createdrainresponsebodydrainsspeedinsights.md @@ -0,0 +1,14 @@ +# CreateDrainResponseBodyDrainsSpeedInsights + +## Example Usage + +```typescript +import { CreateDrainResponseBodyDrainsSpeedInsights } from "@vercel/sdk/models/createdrainop.js"; + +let value: CreateDrainResponseBodyDrainsSpeedInsights = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/createdrainresponsebodydrainsstatus.md b/docs/models/createdrainresponsebodydrainsstatus.md new file mode 100644 index 000000000..08fdd4282 --- /dev/null +++ b/docs/models/createdrainresponsebodydrainsstatus.md @@ -0,0 +1,15 @@ +# CreateDrainResponseBodyDrainsStatus + +## Example Usage + +```typescript +import { CreateDrainResponseBodyDrainsStatus } from "@vercel/sdk/models/createdrainop.js"; + +let value: CreateDrainResponseBodyDrainsStatus = "disabled"; +``` + +## Values + +```typescript +"enabled" | "disabled" | "errored" +``` \ No newline at end of file diff --git a/docs/models/createdrainresponsebodydrainstype.md b/docs/models/createdrainresponsebodydrainstype.md new file mode 100644 index 000000000..791f508a7 --- /dev/null +++ b/docs/models/createdrainresponsebodydrainstype.md @@ -0,0 +1,15 @@ +# CreateDrainResponseBodyDrainsType + +## Example Usage + +```typescript +import { CreateDrainResponseBodyDrainsType } from "@vercel/sdk/models/createdrainop.js"; + +let value: CreateDrainResponseBodyDrainsType = "head_sampling"; +``` + +## Values + +```typescript +"head_sampling" +``` \ No newline at end of file diff --git a/docs/models/createdrainresponsebodyenv.md b/docs/models/createdrainresponsebodyenv.md new file mode 100644 index 000000000..4ec6125fa --- /dev/null +++ b/docs/models/createdrainresponsebodyenv.md @@ -0,0 +1,15 @@ +# CreateDrainResponseBodyEnv + +## Example Usage + +```typescript +import { CreateDrainResponseBodyEnv } from "@vercel/sdk/models/createdrainop.js"; + +let value: CreateDrainResponseBodyEnv = "production"; +``` + +## Values + +```typescript +"production" | "preview" +``` \ No newline at end of file diff --git a/docs/models/createdrainresponsebodyframework.md b/docs/models/createdrainresponsebodyframework.md new file mode 100644 index 000000000..4b688984a --- /dev/null +++ b/docs/models/createdrainresponsebodyframework.md @@ -0,0 +1,15 @@ +# CreateDrainResponseBodyFramework + +## Example Usage + +```typescript +import { CreateDrainResponseBodyFramework } from "@vercel/sdk/models/createdrainop.js"; + +let value: CreateDrainResponseBodyFramework = "tanstack-start"; +``` + +## Values + +```typescript +"blitzjs" | "nextjs" | "gatsby" | "remix" | "react-router" | "astro" | "hexo" | "eleventy" | "docusaurus-2" | "docusaurus" | "preact" | "solidstart-1" | "solidstart" | "dojo" | "ember" | "vue" | "scully" | "ionic-angular" | "angular" | "polymer" | "svelte" | "sveltekit" | "sveltekit-1" | "ionic-react" | "create-react-app" | "gridsome" | "umijs" | "sapper" | "saber" | "stencil" | "nuxtjs" | "redwoodjs" | "hugo" | "jekyll" | "brunch" | "middleman" | "zola" | "hydrogen" | "vite" | "tanstack-start" | "vitepress" | "vuepress" | "parcel" | "fastapi" | "flask" | "fasthtml" | "sanity-v3" | "sanity" | "storybook" | "nitro" | "hono" | "express" | "h3" | "nestjs" | "elysia" | "fastify" | "xmcp" +``` \ No newline at end of file diff --git a/docs/models/uioptionsatbrandat543472.md b/docs/models/createdrainresponsebodylog.md similarity index 63% rename from docs/models/uioptionsatbrandat543472.md rename to docs/models/createdrainresponsebodylog.md index 1e8d23b45..fcf00d886 100644 --- a/docs/models/uioptionsatbrandat543472.md +++ b/docs/models/createdrainresponsebodylog.md @@ -1,11 +1,11 @@ -# UiOptionsAtBRANDAt543472 +# CreateDrainResponseBodyLog ## Example Usage ```typescript -import { UiOptionsAtBRANDAt543472 } from "@vercel/sdk/models/getconfigurationproductsop.js"; +import { CreateDrainResponseBodyLog } from "@vercel/sdk/models/createdrainop.js"; -let value: UiOptionsAtBRANDAt543472 = {}; +let value: CreateDrainResponseBodyLog = {}; ``` ## Fields diff --git a/docs/models/createdrainresponsebodyprojectsmetadata.md b/docs/models/createdrainresponsebodyprojectsmetadata.md new file mode 100644 index 000000000..a1dc5aa93 --- /dev/null +++ b/docs/models/createdrainresponsebodyprojectsmetadata.md @@ -0,0 +1,21 @@ +# CreateDrainResponseBodyProjectsMetadata + +## Example Usage + +```typescript +import { CreateDrainResponseBodyProjectsMetadata } from "@vercel/sdk/models/createdrainop.js"; + +let value: CreateDrainResponseBodyProjectsMetadata = { + id: "", + name: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | N/A | +| `name` | *string* | :heavy_check_mark: | N/A | +| `framework` | [models.CreateDrainResponseBodyFramework](../models/createdrainresponsebodyframework.md) | :heavy_minus_sign: | N/A | +| `latestDeployment` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/createdrainresponsebodysampling.md b/docs/models/createdrainresponsebodysampling.md new file mode 100644 index 000000000..5e69a7da7 --- /dev/null +++ b/docs/models/createdrainresponsebodysampling.md @@ -0,0 +1,21 @@ +# CreateDrainResponseBodySampling + +## Example Usage + +```typescript +import { CreateDrainResponseBodySampling } from "@vercel/sdk/models/createdrainop.js"; + +let value: CreateDrainResponseBodySampling = { + type: "head_sampling", + rate: 1240.81, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `type` | [models.CreateDrainResponseBodyDrainsType](../models/createdrainresponsebodydrainstype.md) | :heavy_check_mark: | N/A | +| `rate` | *number* | :heavy_check_mark: | N/A | +| `env` | [models.CreateDrainResponseBodyEnv](../models/createdrainresponsebodyenv.md) | :heavy_minus_sign: | N/A | +| `requestPath` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/createdrainresponsebodyschemas.md b/docs/models/createdrainresponsebodyschemas.md new file mode 100644 index 000000000..29671c606 --- /dev/null +++ b/docs/models/createdrainresponsebodyschemas.md @@ -0,0 +1,18 @@ +# CreateDrainResponseBodySchemas + +## Example Usage + +```typescript +import { CreateDrainResponseBodySchemas } from "@vercel/sdk/models/createdrainop.js"; + +let value: CreateDrainResponseBodySchemas = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | +| `log` | [models.CreateDrainResponseBodyLog](../models/createdrainresponsebodylog.md) | :heavy_minus_sign: | N/A | +| `trace` | [models.ResponseBodyTrace](../models/responsebodytrace.md) | :heavy_minus_sign: | N/A | +| `analytics` | [models.CreateDrainResponseBodyAnalytics](../models/createdrainresponsebodyanalytics.md) | :heavy_minus_sign: | N/A | +| `speedInsights` | [models.CreateDrainResponseBodyDrainsSpeedInsights](../models/createdrainresponsebodydrainsspeedinsights.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/createdrainresponsebodysource.md b/docs/models/createdrainresponsebodysource.md new file mode 100644 index 000000000..7b03bfcf3 --- /dev/null +++ b/docs/models/createdrainresponsebodysource.md @@ -0,0 +1,23 @@ +# CreateDrainResponseBodySource + + +## Supported Types + +### `models.CreateDrainSource1` + +```typescript +const value: models.CreateDrainSource1 = { + kind: "self-served", +}; +``` + +### `models.CreateDrainSource2` + +```typescript +const value: models.CreateDrainSource2 = { + kind: "integration", + integrationId: "", + integrationConfigurationId: "", +}; +``` + diff --git a/docs/models/createdrainresponsebodyspeedinsights.md b/docs/models/createdrainresponsebodyspeedinsights.md new file mode 100644 index 000000000..4a423e3c6 --- /dev/null +++ b/docs/models/createdrainresponsebodyspeedinsights.md @@ -0,0 +1,14 @@ +# CreateDrainResponseBodySpeedInsights + +## Example Usage + +```typescript +import { CreateDrainResponseBodySpeedInsights } from "@vercel/sdk/models/createdrainop.js"; + +let value: CreateDrainResponseBodySpeedInsights = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/createdrainresponsebodystatus.md b/docs/models/createdrainresponsebodystatus.md new file mode 100644 index 000000000..1351fbc6c --- /dev/null +++ b/docs/models/createdrainresponsebodystatus.md @@ -0,0 +1,15 @@ +# CreateDrainResponseBodyStatus + +## Example Usage + +```typescript +import { CreateDrainResponseBodyStatus } from "@vercel/sdk/models/createdrainop.js"; + +let value: CreateDrainResponseBodyStatus = "errored"; +``` + +## Values + +```typescript +"enabled" | "disabled" | "errored" +``` \ No newline at end of file diff --git a/docs/models/createdrainresponsebodytype.md b/docs/models/createdrainresponsebodytype.md new file mode 100644 index 000000000..773a9c8cc --- /dev/null +++ b/docs/models/createdrainresponsebodytype.md @@ -0,0 +1,15 @@ +# CreateDrainResponseBodyType + +## Example Usage + +```typescript +import { CreateDrainResponseBodyType } from "@vercel/sdk/models/createdrainop.js"; + +let value: CreateDrainResponseBodyType = "head_sampling"; +``` + +## Values + +```typescript +"head_sampling" +``` \ No newline at end of file diff --git a/docs/models/createdrainsource.md b/docs/models/createdrainsource.md new file mode 100644 index 000000000..34d1ef488 --- /dev/null +++ b/docs/models/createdrainsource.md @@ -0,0 +1,20 @@ +# CreateDrainSource + + +## Supported Types + +### `models.Source1` + +```typescript +const value: models.Source1 = { + kind: "integration", + externalResourceId: "", +}; +``` + +### `models.Source2` + +```typescript +const value: models.Source2 = {}; +``` + diff --git a/docs/models/createdrainsource1.md b/docs/models/createdrainsource1.md new file mode 100644 index 000000000..443c3c54e --- /dev/null +++ b/docs/models/createdrainsource1.md @@ -0,0 +1,17 @@ +# CreateDrainSource1 + +## Example Usage + +```typescript +import { CreateDrainSource1 } from "@vercel/sdk/models/createdrainop.js"; + +let value: CreateDrainSource1 = { + kind: "self-served", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `kind` | [models.CreateDrainSourceDrainsResponseKind](../models/createdrainsourcedrainsresponsekind.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createdrainsource2.md b/docs/models/createdrainsource2.md new file mode 100644 index 000000000..492b37e46 --- /dev/null +++ b/docs/models/createdrainsource2.md @@ -0,0 +1,23 @@ +# CreateDrainSource2 + +## Example Usage + +```typescript +import { CreateDrainSource2 } from "@vercel/sdk/models/createdrainop.js"; + +let value: CreateDrainSource2 = { + kind: "integration", + integrationId: "", + integrationConfigurationId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | +| `kind` | [models.CreateDrainSourceDrainsResponse200Kind](../models/createdrainsourcedrainsresponse200kind.md) | :heavy_check_mark: | N/A | +| `resourceId` | *string* | :heavy_minus_sign: | N/A | +| `externalResourceId` | *string* | :heavy_minus_sign: | N/A | +| `integrationId` | *string* | :heavy_check_mark: | N/A | +| `integrationConfigurationId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createdrainsourcedrains1.md b/docs/models/createdrainsourcedrains1.md new file mode 100644 index 000000000..79115c7c3 --- /dev/null +++ b/docs/models/createdrainsourcedrains1.md @@ -0,0 +1,17 @@ +# CreateDrainSourceDrains1 + +## Example Usage + +```typescript +import { CreateDrainSourceDrains1 } from "@vercel/sdk/models/createdrainop.js"; + +let value: CreateDrainSourceDrains1 = { + kind: "self-served", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `kind` | [models.CreateDrainSourceKind](../models/createdrainsourcekind.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createdrainsourcedrains2.md b/docs/models/createdrainsourcedrains2.md new file mode 100644 index 000000000..fac0fbb14 --- /dev/null +++ b/docs/models/createdrainsourcedrains2.md @@ -0,0 +1,23 @@ +# CreateDrainSourceDrains2 + +## Example Usage + +```typescript +import { CreateDrainSourceDrains2 } from "@vercel/sdk/models/createdrainop.js"; + +let value: CreateDrainSourceDrains2 = { + kind: "integration", + integrationId: "", + integrationConfigurationId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `kind` | [models.CreateDrainSourceDrainsKind](../models/createdrainsourcedrainskind.md) | :heavy_check_mark: | N/A | +| `resourceId` | *string* | :heavy_minus_sign: | N/A | +| `externalResourceId` | *string* | :heavy_minus_sign: | N/A | +| `integrationId` | *string* | :heavy_check_mark: | N/A | +| `integrationConfigurationId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createdrainsourcedrainskind.md b/docs/models/createdrainsourcedrainskind.md new file mode 100644 index 000000000..94a073635 --- /dev/null +++ b/docs/models/createdrainsourcedrainskind.md @@ -0,0 +1,15 @@ +# CreateDrainSourceDrainsKind + +## Example Usage + +```typescript +import { CreateDrainSourceDrainsKind } from "@vercel/sdk/models/createdrainop.js"; + +let value: CreateDrainSourceDrainsKind = "integration"; +``` + +## Values + +```typescript +"integration" +``` \ No newline at end of file diff --git a/docs/models/createdrainsourcedrainsresponse200kind.md b/docs/models/createdrainsourcedrainsresponse200kind.md new file mode 100644 index 000000000..e672f8669 --- /dev/null +++ b/docs/models/createdrainsourcedrainsresponse200kind.md @@ -0,0 +1,15 @@ +# CreateDrainSourceDrainsResponse200Kind + +## Example Usage + +```typescript +import { CreateDrainSourceDrainsResponse200Kind } from "@vercel/sdk/models/createdrainop.js"; + +let value: CreateDrainSourceDrainsResponse200Kind = "integration"; +``` + +## Values + +```typescript +"integration" +``` \ No newline at end of file diff --git a/docs/models/createdrainsourcedrainsresponsekind.md b/docs/models/createdrainsourcedrainsresponsekind.md new file mode 100644 index 000000000..59211ad0b --- /dev/null +++ b/docs/models/createdrainsourcedrainsresponsekind.md @@ -0,0 +1,15 @@ +# CreateDrainSourceDrainsResponseKind + +## Example Usage + +```typescript +import { CreateDrainSourceDrainsResponseKind } from "@vercel/sdk/models/createdrainop.js"; + +let value: CreateDrainSourceDrainsResponseKind = "self-served"; +``` + +## Values + +```typescript +"self-served" +``` \ No newline at end of file diff --git a/docs/models/createdrainsourcekind.md b/docs/models/createdrainsourcekind.md new file mode 100644 index 000000000..8f9b56b90 --- /dev/null +++ b/docs/models/createdrainsourcekind.md @@ -0,0 +1,15 @@ +# CreateDrainSourceKind + +## Example Usage + +```typescript +import { CreateDrainSourceKind } from "@vercel/sdk/models/createdrainop.js"; + +let value: CreateDrainSourceKind = "self-served"; +``` + +## Values + +```typescript +"self-served" +``` \ No newline at end of file diff --git a/docs/models/createeventevent.md b/docs/models/createeventevent.md index 7a38b3f23..2030d3ca7 100644 --- a/docs/models/createeventevent.md +++ b/docs/models/createeventevent.md @@ -16,7 +16,6 @@ const value: models.Event1 = { ```typescript const value: models.Event2 = { type: "resource.updated", - productId: "", resourceId: "", }; ``` diff --git a/docs/models/createeventrequestbody.md b/docs/models/createeventrequestbody.md index fa6e9f586..4a920c447 100644 --- a/docs/models/createeventrequestbody.md +++ b/docs/models/createeventrequestbody.md @@ -8,7 +8,6 @@ import { CreateEventRequestBody } from "@vercel/sdk/models/createeventop.js"; let value: CreateEventRequestBody = { event: { type: "resource.updated", - productId: "", resourceId: "", }, }; diff --git a/docs/models/createintegrationstoredirectactions.md b/docs/models/createintegrationstoredirectactions.md index 6b4db4145..ab90d16af 100644 --- a/docs/models/createintegrationstoredirectactions.md +++ b/docs/models/createintegrationstoredirectactions.md @@ -6,12 +6,14 @@ import { CreateIntegrationStoreDirectActions } from "@vercel/sdk/models/createintegrationstoredirectop.js"; let value: CreateIntegrationStoreDirectActions = { - type: "connect_to_project", + slug: "", + environments: [], }; ``` ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -| `type` | [models.CreateIntegrationStoreDirectIntegrationsResponseType](../models/createintegrationstoredirectintegrationsresponsetype.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | +| `slug` | *string* | :heavy_check_mark: | N/A | +| `environments` | [models.CreateIntegrationStoreDirectIntegrationsEnvironments](../models/createintegrationstoredirectintegrationsenvironments.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createintegrationstoredirectcapabilities.md b/docs/models/createintegrationstoredirectcapabilities.md index d39ea51d9..ac5ead725 100644 --- a/docs/models/createintegrationstoredirectcapabilities.md +++ b/docs/models/createintegrationstoredirectcapabilities.md @@ -15,6 +15,8 @@ let value: CreateIntegrationStoreDirectCapabilities = {}; | `mcp` | *boolean* | :heavy_minus_sign: | N/A | | `sso` | *boolean* | :heavy_minus_sign: | N/A | | `billable` | *boolean* | :heavy_minus_sign: | N/A | +| `transferable` | *boolean* | :heavy_minus_sign: | N/A | | `secretsSync` | *boolean* | :heavy_minus_sign: | N/A | | `sandbox` | *boolean* | :heavy_minus_sign: | N/A | -| `linking` | *boolean* | :heavy_minus_sign: | N/A | \ No newline at end of file +| `linking` | *boolean* | :heavy_minus_sign: | N/A | +| `projects` | *boolean* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/createintegrationstoredirectdeployments.md b/docs/models/createintegrationstoredirectdeployments.md index 7c7f902b9..6cf0ee3e3 100644 --- a/docs/models/createintegrationstoredirectdeployments.md +++ b/docs/models/createintegrationstoredirectdeployments.md @@ -10,7 +10,9 @@ let value: CreateIntegrationStoreDirectDeployments = { actions: [ { slug: "", - environments: [], + environments: [ + "production", + ], }, ], }; @@ -18,7 +20,7 @@ let value: CreateIntegrationStoreDirectDeployments = { ## Fields -| Field | Type | Required | Description | -| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | -| `required` | *boolean* | :heavy_check_mark: | N/A | -| `actions` | [models.Actions](../models/actions.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | +| `required` | *boolean* | :heavy_check_mark: | N/A | +| `actions` | [models.CreateIntegrationStoreDirectActions](../models/createintegrationstoredirectactions.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createintegrationstoredirectframework.md b/docs/models/createintegrationstoredirectframework.md index 4810eacd4..384ef07d0 100644 --- a/docs/models/createintegrationstoredirectframework.md +++ b/docs/models/createintegrationstoredirectframework.md @@ -5,11 +5,11 @@ ```typescript import { CreateIntegrationStoreDirectFramework } from "@vercel/sdk/models/createintegrationstoredirectop.js"; -let value: CreateIntegrationStoreDirectFramework = "gridsome"; +let value: CreateIntegrationStoreDirectFramework = "sapper"; ``` ## Values ```typescript -"blitzjs" | "nextjs" | "gatsby" | "remix" | "react-router" | "astro" | "hexo" | "eleventy" | "docusaurus-2" | "docusaurus" | "preact" | "solidstart-1" | "solidstart" | "dojo" | "ember" | "vue" | "scully" | "ionic-angular" | "angular" | "polymer" | "svelte" | "sveltekit" | "sveltekit-1" | "ionic-react" | "create-react-app" | "gridsome" | "umijs" | "sapper" | "saber" | "stencil" | "nuxtjs" | "redwoodjs" | "hugo" | "jekyll" | "brunch" | "middleman" | "zola" | "hydrogen" | "vite" | "vitepress" | "vuepress" | "parcel" | "fastapi" | "fasthtml" | "sanity-v3" | "sanity" | "storybook" | "nitro" | "hono" | "express" | "h3" | "xmcp" +"blitzjs" | "nextjs" | "gatsby" | "remix" | "react-router" | "astro" | "hexo" | "eleventy" | "docusaurus-2" | "docusaurus" | "preact" | "solidstart-1" | "solidstart" | "dojo" | "ember" | "vue" | "scully" | "ionic-angular" | "angular" | "polymer" | "svelte" | "sveltekit" | "sveltekit-1" | "ionic-react" | "create-react-app" | "gridsome" | "umijs" | "sapper" | "saber" | "stencil" | "nuxtjs" | "redwoodjs" | "hugo" | "jekyll" | "brunch" | "middleman" | "zola" | "hydrogen" | "vite" | "tanstack-start" | "vitepress" | "vuepress" | "parcel" | "fastapi" | "flask" | "fasthtml" | "sanity-v3" | "sanity" | "storybook" | "nitro" | "hono" | "express" | "h3" | "nestjs" | "elysia" | "fastify" | "xmcp" ``` \ No newline at end of file diff --git a/docs/models/createintegrationstoredirectintegrationsactions.md b/docs/models/createintegrationstoredirectintegrationsactions.md new file mode 100644 index 000000000..bed77d5eb --- /dev/null +++ b/docs/models/createintegrationstoredirectintegrationsactions.md @@ -0,0 +1,17 @@ +# CreateIntegrationStoreDirectIntegrationsActions + +## Example Usage + +```typescript +import { CreateIntegrationStoreDirectIntegrationsActions } from "@vercel/sdk/models/createintegrationstoredirectop.js"; + +let value: CreateIntegrationStoreDirectIntegrationsActions = { + type: "connect_to_project", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.CreateIntegrationStoreDirectIntegrationsResponseType](../models/createintegrationstoredirectintegrationsresponsetype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createintegrationstoredirectintegrationsresponsetype.md b/docs/models/createintegrationstoredirectintegrationsresponsetype.md index e1279e4ff..0692afa08 100644 --- a/docs/models/createintegrationstoredirectintegrationsresponsetype.md +++ b/docs/models/createintegrationstoredirectintegrationsresponsetype.md @@ -12,5 +12,5 @@ let value: CreateIntegrationStoreDirectIntegrationsResponseType = ## Values ```typescript -"connect_to_project" | "configure_project_connections" +"connect_to_project" | "configure_project_connections" | "add_drain" ``` \ No newline at end of file diff --git a/docs/models/createintegrationstoredirectprojectsmetadata.md b/docs/models/createintegrationstoredirectprojectsmetadata.md new file mode 100644 index 000000000..49d1d610d --- /dev/null +++ b/docs/models/createintegrationstoredirectprojectsmetadata.md @@ -0,0 +1,33 @@ +# CreateIntegrationStoreDirectProjectsMetadata + +## Example Usage + +```typescript +import { CreateIntegrationStoreDirectProjectsMetadata } from "@vercel/sdk/models/createintegrationstoredirectop.js"; + +let value: CreateIntegrationStoreDirectProjectsMetadata = { + id: "", + projectId: "", + name: "", + environments: [], + envVarPrefix: "", + environmentVariables: [ + "", + "", + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `name` | *string* | :heavy_check_mark: | N/A | +| `framework` | [models.CreateIntegrationStoreDirectFramework](../models/createintegrationstoredirectframework.md) | :heavy_minus_sign: | N/A | +| `latestDeployment` | *string* | :heavy_minus_sign: | N/A | +| `environments` | [models.CreateIntegrationStoreDirectEnvironments](../models/createintegrationstoredirectenvironments.md)[] | :heavy_check_mark: | N/A | +| `envVarPrefix` | *string* | :heavy_check_mark: | N/A | +| `environmentVariables` | *string*[] | :heavy_check_mark: | N/A | +| `deployments` | [models.CreateIntegrationStoreDirectDeployments](../models/createintegrationstoredirectdeployments.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/createintegrationstoredirectproperties.md b/docs/models/createintegrationstoredirectproperties.md index d9ccec836..094d0e851 100644 --- a/docs/models/createintegrationstoredirectproperties.md +++ b/docs/models/createintegrationstoredirectproperties.md @@ -99,7 +99,7 @@ const value: models.CreateIntegrationStoreDirectProperties8 = { ```typescript const value: models.CreateIntegrationStoreDirectProperties9 = { value: { - atBRANDAt8486: {}, + atBRANDAt8795: {}, }, }; ``` diff --git a/docs/models/createintegrationstoredirectproperties9.md b/docs/models/createintegrationstoredirectproperties9.md index bfd0258c9..bfedd1ee3 100644 --- a/docs/models/createintegrationstoredirectproperties9.md +++ b/docs/models/createintegrationstoredirectproperties9.md @@ -7,7 +7,7 @@ import { CreateIntegrationStoreDirectProperties9 } from "@vercel/sdk/models/crea let value: CreateIntegrationStoreDirectProperties9 = { value: { - atBRANDAt8486: {}, + atBRANDAt8795: {}, }, }; ``` diff --git a/docs/models/createintegrationstoredirectpropertiesatbrandat8486.md b/docs/models/createintegrationstoredirectpropertiesatbrandat8795.md similarity index 55% rename from docs/models/createintegrationstoredirectpropertiesatbrandat8486.md rename to docs/models/createintegrationstoredirectpropertiesatbrandat8795.md index 34f47602b..acb24e859 100644 --- a/docs/models/createintegrationstoredirectpropertiesatbrandat8486.md +++ b/docs/models/createintegrationstoredirectpropertiesatbrandat8795.md @@ -1,11 +1,11 @@ -# CreateIntegrationStoreDirectPropertiesAtBRANDAt8486 +# CreateIntegrationStoreDirectPropertiesAtBRANDAt8795 ## Example Usage ```typescript -import { CreateIntegrationStoreDirectPropertiesAtBRANDAt8486 } from "@vercel/sdk/models/createintegrationstoredirectop.js"; +import { CreateIntegrationStoreDirectPropertiesAtBRANDAt8795 } from "@vercel/sdk/models/createintegrationstoredirectop.js"; -let value: CreateIntegrationStoreDirectPropertiesAtBRANDAt8486 = {}; +let value: CreateIntegrationStoreDirectPropertiesAtBRANDAt8795 = {}; ``` ## Fields diff --git a/docs/models/createintegrationstoredirectpropertiesintegrationsatbrandat8486.md b/docs/models/createintegrationstoredirectpropertiesintegrationsatbrandat8795.md similarity index 67% rename from docs/models/createintegrationstoredirectpropertiesintegrationsatbrandat8486.md rename to docs/models/createintegrationstoredirectpropertiesintegrationsatbrandat8795.md index 86aa74ac5..f35087946 100644 --- a/docs/models/createintegrationstoredirectpropertiesintegrationsatbrandat8486.md +++ b/docs/models/createintegrationstoredirectpropertiesintegrationsatbrandat8795.md @@ -1,11 +1,11 @@ -# CreateIntegrationStoreDirectPropertiesIntegrationsAtBRANDAt8486 +# CreateIntegrationStoreDirectPropertiesIntegrationsAtBRANDAt8795 ## Example Usage ```typescript -import { CreateIntegrationStoreDirectPropertiesIntegrationsAtBRANDAt8486 } from "@vercel/sdk/models/createintegrationstoredirectop.js"; +import { CreateIntegrationStoreDirectPropertiesIntegrationsAtBRANDAt8795 } from "@vercel/sdk/models/createintegrationstoredirectop.js"; -let value: CreateIntegrationStoreDirectPropertiesIntegrationsAtBRANDAt8486 = {}; +let value: CreateIntegrationStoreDirectPropertiesIntegrationsAtBRANDAt8795 = {}; ``` ## Fields diff --git a/docs/models/createintegrationstoredirectpropertiesintegrationsmaxlength.md b/docs/models/createintegrationstoredirectpropertiesintegrationsmaxlength.md index 89bf16ac7..795759244 100644 --- a/docs/models/createintegrationstoredirectpropertiesintegrationsmaxlength.md +++ b/docs/models/createintegrationstoredirectpropertiesintegrationsmaxlength.md @@ -6,7 +6,7 @@ import { CreateIntegrationStoreDirectPropertiesIntegrationsMaxLength } from "@vercel/sdk/models/createintegrationstoredirectop.js"; let value: CreateIntegrationStoreDirectPropertiesIntegrationsMaxLength = { - atBRANDAt8486: {}, + atBRANDAt8795: {}, }; ``` @@ -14,4 +14,4 @@ let value: CreateIntegrationStoreDirectPropertiesIntegrationsMaxLength = { | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `atBRANDAt8486` | [models.CreateIntegrationStoreDirectPropertiesIntegrationsAtBRANDAt8486](../models/createintegrationstoredirectpropertiesintegrationsatbrandat8486.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `atBRANDAt8795` | [models.CreateIntegrationStoreDirectPropertiesIntegrationsAtBRANDAt8795](../models/createintegrationstoredirectpropertiesintegrationsatbrandat8795.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createintegrationstoredirectpropertiesintegrationsminlength.md b/docs/models/createintegrationstoredirectpropertiesintegrationsminlength.md index e9188eaea..5775e182c 100644 --- a/docs/models/createintegrationstoredirectpropertiesintegrationsminlength.md +++ b/docs/models/createintegrationstoredirectpropertiesintegrationsminlength.md @@ -6,7 +6,7 @@ import { CreateIntegrationStoreDirectPropertiesIntegrationsMinLength } from "@vercel/sdk/models/createintegrationstoredirectop.js"; let value: CreateIntegrationStoreDirectPropertiesIntegrationsMinLength = { - atBRANDAt8486: {}, + atBRANDAt8795: {}, }; ``` @@ -14,4 +14,4 @@ let value: CreateIntegrationStoreDirectPropertiesIntegrationsMinLength = { | Field | Type | Required | Description | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `atBRANDAt8486` | [models.CreateIntegrationStoreDirectPropertiesIntegrationsResponseAtBRANDAt8486](../models/createintegrationstoredirectpropertiesintegrationsresponseatbrandat8486.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `atBRANDAt8795` | [models.CreateIntegrationStoreDirectPropertiesIntegrationsResponseAtBRANDAt8795](../models/createintegrationstoredirectpropertiesintegrationsresponseatbrandat8795.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createintegrationstoredirectpropertiesintegrationspattern.md b/docs/models/createintegrationstoredirectpropertiesintegrationspattern.md index c5445e5d2..3c4939882 100644 --- a/docs/models/createintegrationstoredirectpropertiesintegrationspattern.md +++ b/docs/models/createintegrationstoredirectpropertiesintegrationspattern.md @@ -6,7 +6,7 @@ import { CreateIntegrationStoreDirectPropertiesIntegrationsPattern } from "@vercel/sdk/models/createintegrationstoredirectop.js"; let value: CreateIntegrationStoreDirectPropertiesIntegrationsPattern = { - atBRANDAt8486: {}, + atBRANDAt8795: {}, }; ``` @@ -14,4 +14,4 @@ let value: CreateIntegrationStoreDirectPropertiesIntegrationsPattern = { | Field | Type | Required | Description | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `atBRANDAt8486` | [models.CreateIntegrationStoreDirectPropertiesIntegrationsResponse200AtBRANDAt8486](../models/createintegrationstoredirectpropertiesintegrationsresponse200atbrandat8486.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `atBRANDAt8795` | [models.CreateIntegrationStoreDirectPropertiesIntegrationsResponse200AtBRANDAt8795](../models/createintegrationstoredirectpropertiesintegrationsresponse200atbrandat8795.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonatbrandat8486.md b/docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonatbrandat8795.md similarity index 83% rename from docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonatbrandat8486.md rename to docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonatbrandat8795.md index bf67885a5..44d16a11c 100644 --- a/docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonatbrandat8486.md +++ b/docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonatbrandat8795.md @@ -1,14 +1,14 @@ -# CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt8486 +# CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt8795 ## Example Usage ```typescript import { - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt8486, + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt8795, } from "@vercel/sdk/models/createintegrationstoredirectop.js"; let value: - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt8486 = + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt8795 = {}; ``` diff --git a/docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonmaxlength.md b/docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonmaxlength.md index 1c1e79776..479a42ce7 100644 --- a/docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonmaxlength.md +++ b/docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonmaxlength.md @@ -10,7 +10,7 @@ import { let value: CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONMaxLength = { - atBRANDAt8486: {}, + atBRANDAt8795: {}, }; ``` @@ -18,4 +18,4 @@ let value: | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `atBRANDAt8486` | [models.CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsMaxLengthAtBRANDAt8486](../models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductmetadataschema6itemsmaxlengthatbrandat8486.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `atBRANDAt8795` | [models.CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsMaxLengthAtBRANDAt8795](../models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductmetadataschema6itemsmaxlengthatbrandat8795.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonminlength.md b/docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonminlength.md index 1ba0b5685..72f3cf905 100644 --- a/docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonminlength.md +++ b/docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonminlength.md @@ -10,7 +10,7 @@ import { let value: CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONMinLength = { - atBRANDAt8486: {}, + atBRANDAt8795: {}, }; ``` @@ -18,4 +18,4 @@ let value: | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `atBRANDAt8486` | [models.CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsAtBRANDAt8486](../models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductmetadataschema6itemsatbrandat8486.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `atBRANDAt8795` | [models.CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsAtBRANDAt8795](../models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductmetadataschema6itemsatbrandat8795.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonpattern.md b/docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonpattern.md index 74b23dbdb..e0aa22f5a 100644 --- a/docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonpattern.md +++ b/docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonpattern.md @@ -10,7 +10,7 @@ import { let value: CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONPattern = { - atBRANDAt8486: {}, + atBRANDAt8795: {}, }; ``` @@ -18,4 +18,4 @@ let value: | Field | Type | Required | Description | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `atBRANDAt8486` | [models.CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6AtBRANDAt8486](../models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductmetadataschema6atbrandat8486.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `atBRANDAt8795` | [models.CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6AtBRANDAt8795](../models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductmetadataschema6atbrandat8795.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodyatbrandat8486.md b/docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodyatbrandat8795.md similarity index 78% rename from docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodyatbrandat8486.md rename to docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodyatbrandat8795.md index 66a9b317a..0d6688779 100644 --- a/docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodyatbrandat8486.md +++ b/docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodyatbrandat8795.md @@ -1,14 +1,14 @@ -# CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt8486 +# CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt8795 ## Example Usage ```typescript import { - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt8486, + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt8795, } from "@vercel/sdk/models/createintegrationstoredirectop.js"; let value: - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt8486 = + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt8795 = {}; ``` diff --git a/docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreatbrandat8486.md b/docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreatbrandat8795.md similarity index 76% rename from docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreatbrandat8486.md rename to docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreatbrandat8795.md index a34977705..ee89a8927 100644 --- a/docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreatbrandat8486.md +++ b/docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreatbrandat8795.md @@ -1,14 +1,14 @@ -# CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreAtBRANDAt8486 +# CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreAtBRANDAt8795 ## Example Usage ```typescript import { - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreAtBRANDAt8486, + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreAtBRANDAt8795, } from "@vercel/sdk/models/createintegrationstoredirectop.js"; let value: - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreAtBRANDAt8486 = + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreAtBRANDAt8795 = {}; ``` diff --git a/docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductatbrandat8486.md b/docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductatbrandat8795.md similarity index 73% rename from docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductatbrandat8486.md rename to docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductatbrandat8795.md index c6144aa0a..bdb5abb75 100644 --- a/docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductatbrandat8486.md +++ b/docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductatbrandat8795.md @@ -1,14 +1,14 @@ -# CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductAtBRANDAt8486 +# CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductAtBRANDAt8795 ## Example Usage ```typescript import { - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductAtBRANDAt8486, + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductAtBRANDAt8795, } from "@vercel/sdk/models/createintegrationstoredirectop.js"; let value: - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductAtBRANDAt8486 = + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductAtBRANDAt8795 = {}; ``` diff --git a/docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductmetadataschema1atbrandat8486.md b/docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductmetadataschema1atbrandat8486.md deleted file mode 100644 index ed806701b..000000000 --- a/docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductmetadataschema1atbrandat8486.md +++ /dev/null @@ -1,18 +0,0 @@ -# CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema1AtBRANDAt8486 - -## Example Usage - -```typescript -import { - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema1AtBRANDAt8486, -} from "@vercel/sdk/models/createintegrationstoredirectop.js"; - -let value: - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema1AtBRANDAt8486 = - {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductmetadataschema1atbrandat8795.md b/docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductmetadataschema1atbrandat8795.md new file mode 100644 index 000000000..168dd52d5 --- /dev/null +++ b/docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductmetadataschema1atbrandat8795.md @@ -0,0 +1,18 @@ +# CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema1AtBRANDAt8795 + +## Example Usage + +```typescript +import { + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema1AtBRANDAt8795, +} from "@vercel/sdk/models/createintegrationstoredirectop.js"; + +let value: + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema1AtBRANDAt8795 = + {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductmetadataschema6atbrandat8486.md b/docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductmetadataschema6atbrandat8486.md deleted file mode 100644 index 62f291616..000000000 --- a/docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductmetadataschema6atbrandat8486.md +++ /dev/null @@ -1,18 +0,0 @@ -# CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6AtBRANDAt8486 - -## Example Usage - -```typescript -import { - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6AtBRANDAt8486, -} from "@vercel/sdk/models/createintegrationstoredirectop.js"; - -let value: - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6AtBRANDAt8486 = - {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductmetadataschema6atbrandat8795.md b/docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductmetadataschema6atbrandat8795.md new file mode 100644 index 000000000..bc9b7e0e4 --- /dev/null +++ b/docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductmetadataschema6atbrandat8795.md @@ -0,0 +1,18 @@ +# CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6AtBRANDAt8795 + +## Example Usage + +```typescript +import { + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6AtBRANDAt8795, +} from "@vercel/sdk/models/createintegrationstoredirectop.js"; + +let value: + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6AtBRANDAt8795 = + {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductmetadataschema6itemsatbrandat8486.md b/docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductmetadataschema6itemsatbrandat8795.md similarity index 95% rename from docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductmetadataschema6itemsatbrandat8486.md rename to docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductmetadataschema6itemsatbrandat8795.md index 0c2125b3b..272bbbf23 100644 --- a/docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductmetadataschema6itemsatbrandat8486.md +++ b/docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductmetadataschema6itemsatbrandat8795.md @@ -1,14 +1,14 @@ -# CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsAtBRANDAt8486 +# CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsAtBRANDAt8795 ## Example Usage ```typescript import { - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsAtBRANDAt8486, + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsAtBRANDAt8795, } from "@vercel/sdk/models/createintegrationstoredirectop.js"; let value: - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsAtBRANDAt8486 = + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsAtBRANDAt8795 = {}; ``` diff --git a/docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductmetadataschema6itemsmaxlengthatbrandat8486.md b/docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductmetadataschema6itemsmaxlengthatbrandat8795.md similarity index 92% rename from docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductmetadataschema6itemsmaxlengthatbrandat8486.md rename to docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductmetadataschema6itemsmaxlengthatbrandat8795.md index 6c7f32430..38a208373 100644 --- a/docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductmetadataschema6itemsmaxlengthatbrandat8486.md +++ b/docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductmetadataschema6itemsmaxlengthatbrandat8795.md @@ -1,14 +1,14 @@ -# CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsMaxLengthAtBRANDAt8486 +# CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsMaxLengthAtBRANDAt8795 ## Example Usage ```typescript import { - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsMaxLengthAtBRANDAt8486, + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsMaxLengthAtBRANDAt8795, } from "@vercel/sdk/models/createintegrationstoredirectop.js"; let value: - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsMaxLengthAtBRANDAt8486 = + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsMaxLengthAtBRANDAt8795 = {}; ``` diff --git a/docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductmetadataschema8atbrandat8486.md b/docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductmetadataschema8atbrandat8486.md deleted file mode 100644 index 6472cd1a3..000000000 --- a/docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductmetadataschema8atbrandat8486.md +++ /dev/null @@ -1,18 +0,0 @@ -# CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema8AtBRANDAt8486 - -## Example Usage - -```typescript -import { - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema8AtBRANDAt8486, -} from "@vercel/sdk/models/createintegrationstoredirectop.js"; - -let value: - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema8AtBRANDAt8486 = - {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductmetadataschema8atbrandat8795.md b/docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductmetadataschema8atbrandat8795.md new file mode 100644 index 000000000..f4624f743 --- /dev/null +++ b/docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductmetadataschema8atbrandat8795.md @@ -0,0 +1,18 @@ +# CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema8AtBRANDAt8795 + +## Example Usage + +```typescript +import { + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema8AtBRANDAt8795, +} from "@vercel/sdk/models/createintegrationstoredirectop.js"; + +let value: + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema8AtBRANDAt8795 = + {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductmetadataschema9atbrandat8486.md b/docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductmetadataschema9atbrandat8486.md deleted file mode 100644 index e8d24b1e9..000000000 --- a/docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductmetadataschema9atbrandat8486.md +++ /dev/null @@ -1,18 +0,0 @@ -# CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema9AtBRANDAt8486 - -## Example Usage - -```typescript -import { - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema9AtBRANDAt8486, -} from "@vercel/sdk/models/createintegrationstoredirectop.js"; - -let value: - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema9AtBRANDAt8486 = - {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductmetadataschema9atbrandat8795.md b/docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductmetadataschema9atbrandat8795.md new file mode 100644 index 000000000..d4e7ba4a0 --- /dev/null +++ b/docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductmetadataschema9atbrandat8795.md @@ -0,0 +1,18 @@ +# CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema9AtBRANDAt8795 + +## Example Usage + +```typescript +import { + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema9AtBRANDAt8795, +} from "@vercel/sdk/models/createintegrationstoredirectop.js"; + +let value: + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema9AtBRANDAt8795 = + {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductmetadataschemaatbrandat8486.md b/docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductmetadataschemaatbrandat8486.md deleted file mode 100644 index 3dac7765c..000000000 --- a/docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductmetadataschemaatbrandat8486.md +++ /dev/null @@ -1,18 +0,0 @@ -# CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaAtBRANDAt8486 - -## Example Usage - -```typescript -import { - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaAtBRANDAt8486, -} from "@vercel/sdk/models/createintegrationstoredirectop.js"; - -let value: - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaAtBRANDAt8486 = - {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductmetadataschemaatbrandat8795.md b/docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductmetadataschemaatbrandat8795.md new file mode 100644 index 000000000..40474e31a --- /dev/null +++ b/docs/models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductmetadataschemaatbrandat8795.md @@ -0,0 +1,18 @@ +# CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaAtBRANDAt8795 + +## Example Usage + +```typescript +import { + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaAtBRANDAt8795, +} from "@vercel/sdk/models/createintegrationstoredirectop.js"; + +let value: + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaAtBRANDAt8795 = + {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/createintegrationstoredirectpropertiesintegrationsresponse200atbrandat8486.md b/docs/models/createintegrationstoredirectpropertiesintegrationsresponse200atbrandat8795.md similarity index 81% rename from docs/models/createintegrationstoredirectpropertiesintegrationsresponse200atbrandat8486.md rename to docs/models/createintegrationstoredirectpropertiesintegrationsresponse200atbrandat8795.md index bfc4e7e17..d4c0fc640 100644 --- a/docs/models/createintegrationstoredirectpropertiesintegrationsresponse200atbrandat8486.md +++ b/docs/models/createintegrationstoredirectpropertiesintegrationsresponse200atbrandat8795.md @@ -1,12 +1,12 @@ -# CreateIntegrationStoreDirectPropertiesIntegrationsResponse200AtBRANDAt8486 +# CreateIntegrationStoreDirectPropertiesIntegrationsResponse200AtBRANDAt8795 ## Example Usage ```typescript -import { CreateIntegrationStoreDirectPropertiesIntegrationsResponse200AtBRANDAt8486 } from "@vercel/sdk/models/createintegrationstoredirectop.js"; +import { CreateIntegrationStoreDirectPropertiesIntegrationsResponse200AtBRANDAt8795 } from "@vercel/sdk/models/createintegrationstoredirectop.js"; let value: - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200AtBRANDAt8486 = + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200AtBRANDAt8795 = {}; ``` diff --git a/docs/models/createintegrationstoredirectpropertiesintegrationsresponse200maxlength.md b/docs/models/createintegrationstoredirectpropertiesintegrationsresponse200maxlength.md index 3ac8c34ca..d4c5e6c4e 100644 --- a/docs/models/createintegrationstoredirectpropertiesintegrationsresponse200maxlength.md +++ b/docs/models/createintegrationstoredirectpropertiesintegrationsresponse200maxlength.md @@ -7,7 +7,7 @@ import { CreateIntegrationStoreDirectPropertiesIntegrationsResponse200MaxLength let value: CreateIntegrationStoreDirectPropertiesIntegrationsResponse200MaxLength = { - atBRANDAt8486: {}, + atBRANDAt8795: {}, }; ``` @@ -15,4 +15,4 @@ let value: | Field | Type | Required | Description | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `atBRANDAt8486` | [models.CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductAtBRANDAt8486](../models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductatbrandat8486.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `atBRANDAt8795` | [models.CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductAtBRANDAt8795](../models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductatbrandat8795.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createintegrationstoredirectpropertiesintegrationsresponse200minlength.md b/docs/models/createintegrationstoredirectpropertiesintegrationsresponse200minlength.md index 07cd4831e..fd76b824c 100644 --- a/docs/models/createintegrationstoredirectpropertiesintegrationsresponse200minlength.md +++ b/docs/models/createintegrationstoredirectpropertiesintegrationsresponse200minlength.md @@ -7,7 +7,7 @@ import { CreateIntegrationStoreDirectPropertiesIntegrationsResponse200MinLength let value: CreateIntegrationStoreDirectPropertiesIntegrationsResponse200MinLength = { - atBRANDAt8486: {}, + atBRANDAt8795: {}, }; ``` @@ -15,4 +15,4 @@ let value: | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `atBRANDAt8486` | [models.CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaAtBRANDAt8486](../models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductmetadataschemaatbrandat8486.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `atBRANDAt8795` | [models.CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaAtBRANDAt8795](../models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductmetadataschemaatbrandat8795.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createintegrationstoredirectpropertiesintegrationsresponse200pattern.md b/docs/models/createintegrationstoredirectpropertiesintegrationsresponse200pattern.md index 7632303e9..f31791541 100644 --- a/docs/models/createintegrationstoredirectpropertiesintegrationsresponse200pattern.md +++ b/docs/models/createintegrationstoredirectpropertiesintegrationsresponse200pattern.md @@ -7,7 +7,7 @@ import { CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Pattern } let value: CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Pattern = { - atBRANDAt8486: {}, + atBRANDAt8795: {}, }; ``` @@ -15,4 +15,4 @@ let value: | Field | Type | Required | Description | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `atBRANDAt8486` | [models.CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema8AtBRANDAt8486](../models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductmetadataschema8atbrandat8486.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `atBRANDAt8795` | [models.CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema8AtBRANDAt8795](../models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductmetadataschema8atbrandat8795.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createintegrationstoredirectpropertiesintegrationsresponseatbrandat8486.md b/docs/models/createintegrationstoredirectpropertiesintegrationsresponseatbrandat8795.md similarity index 81% rename from docs/models/createintegrationstoredirectpropertiesintegrationsresponseatbrandat8486.md rename to docs/models/createintegrationstoredirectpropertiesintegrationsresponseatbrandat8795.md index f683a8b5f..787e574d0 100644 --- a/docs/models/createintegrationstoredirectpropertiesintegrationsresponseatbrandat8486.md +++ b/docs/models/createintegrationstoredirectpropertiesintegrationsresponseatbrandat8795.md @@ -1,12 +1,12 @@ -# CreateIntegrationStoreDirectPropertiesIntegrationsResponseAtBRANDAt8486 +# CreateIntegrationStoreDirectPropertiesIntegrationsResponseAtBRANDAt8795 ## Example Usage ```typescript -import { CreateIntegrationStoreDirectPropertiesIntegrationsResponseAtBRANDAt8486 } from "@vercel/sdk/models/createintegrationstoredirectop.js"; +import { CreateIntegrationStoreDirectPropertiesIntegrationsResponseAtBRANDAt8795 } from "@vercel/sdk/models/createintegrationstoredirectop.js"; let value: - CreateIntegrationStoreDirectPropertiesIntegrationsResponseAtBRANDAt8486 = {}; + CreateIntegrationStoreDirectPropertiesIntegrationsResponseAtBRANDAt8795 = {}; ``` ## Fields diff --git a/docs/models/createintegrationstoredirectpropertiesintegrationsresponsemaxlength.md b/docs/models/createintegrationstoredirectpropertiesintegrationsresponsemaxlength.md index c58ee940f..85de81671 100644 --- a/docs/models/createintegrationstoredirectpropertiesintegrationsresponsemaxlength.md +++ b/docs/models/createintegrationstoredirectpropertiesintegrationsresponsemaxlength.md @@ -7,7 +7,7 @@ import { CreateIntegrationStoreDirectPropertiesIntegrationsResponseMaxLength } f let value: CreateIntegrationStoreDirectPropertiesIntegrationsResponseMaxLength = { - atBRANDAt8486: {}, + atBRANDAt8795: {}, }; ``` @@ -15,4 +15,4 @@ let value: CreateIntegrationStoreDirectPropertiesIntegrationsResponseMaxLength = | Field | Type | Required | Description | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `atBRANDAt8486` | [models.CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt8486](../models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonatbrandat8486.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `atBRANDAt8795` | [models.CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt8795](../models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonatbrandat8795.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createintegrationstoredirectpropertiesintegrationsresponseminlength.md b/docs/models/createintegrationstoredirectpropertiesintegrationsresponseminlength.md index c08e28c8f..f35fc574b 100644 --- a/docs/models/createintegrationstoredirectpropertiesintegrationsresponseminlength.md +++ b/docs/models/createintegrationstoredirectpropertiesintegrationsresponseminlength.md @@ -7,7 +7,7 @@ import { CreateIntegrationStoreDirectPropertiesIntegrationsResponseMinLength } f let value: CreateIntegrationStoreDirectPropertiesIntegrationsResponseMinLength = { - atBRANDAt8486: {}, + atBRANDAt8795: {}, }; ``` @@ -15,4 +15,4 @@ let value: CreateIntegrationStoreDirectPropertiesIntegrationsResponseMinLength = | Field | Type | Required | Description | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `atBRANDAt8486` | [models.CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt8486](../models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodyatbrandat8486.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `atBRANDAt8795` | [models.CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt8795](../models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodyatbrandat8795.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createintegrationstoredirectpropertiesintegrationsresponsepattern.md b/docs/models/createintegrationstoredirectpropertiesintegrationsresponsepattern.md index 63912d338..be8805d2f 100644 --- a/docs/models/createintegrationstoredirectpropertiesintegrationsresponsepattern.md +++ b/docs/models/createintegrationstoredirectpropertiesintegrationsresponsepattern.md @@ -6,7 +6,7 @@ import { CreateIntegrationStoreDirectPropertiesIntegrationsResponsePattern } from "@vercel/sdk/models/createintegrationstoredirectop.js"; let value: CreateIntegrationStoreDirectPropertiesIntegrationsResponsePattern = { - atBRANDAt8486: {}, + atBRANDAt8795: {}, }; ``` @@ -14,4 +14,4 @@ let value: CreateIntegrationStoreDirectPropertiesIntegrationsResponsePattern = { | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `atBRANDAt8486` | [models.CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreAtBRANDAt8486](../models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreatbrandat8486.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `atBRANDAt8795` | [models.CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreAtBRANDAt8795](../models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreatbrandat8795.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createintegrationstoredirectpropertiesintegrationsresponseuioptions.md b/docs/models/createintegrationstoredirectpropertiesintegrationsresponseuioptions.md index 032529875..b993472bf 100644 --- a/docs/models/createintegrationstoredirectpropertiesintegrationsresponseuioptions.md +++ b/docs/models/createintegrationstoredirectpropertiesintegrationsresponseuioptions.md @@ -16,7 +16,7 @@ const value: models.CreateIntegrationStoreDirectUiOptions1 = { ```typescript const value: models.CreateIntegrationStoreDirectUiOptions2 = { - atBRANDAt8486: {}, + atBRANDAt8795: {}, }; ``` @@ -25,7 +25,7 @@ const value: models.CreateIntegrationStoreDirectUiOptions2 = { ```typescript const value: models.CreateIntegrationStoreDirectUiOptions3 = { value: { - atBRANDAt8486: {}, + atBRANDAt8795: {}, }, }; ``` diff --git a/docs/models/createintegrationstoredirectpropertiesmaxlength.md b/docs/models/createintegrationstoredirectpropertiesmaxlength.md index 5ecdcd8fe..42e4ead0f 100644 --- a/docs/models/createintegrationstoredirectpropertiesmaxlength.md +++ b/docs/models/createintegrationstoredirectpropertiesmaxlength.md @@ -6,7 +6,7 @@ import { CreateIntegrationStoreDirectPropertiesMaxLength } from "@vercel/sdk/models/createintegrationstoredirectop.js"; let value: CreateIntegrationStoreDirectPropertiesMaxLength = { - atBRANDAt8486: {}, + atBRANDAt8795: {}, }; ``` @@ -14,4 +14,4 @@ let value: CreateIntegrationStoreDirectPropertiesMaxLength = { | Field | Type | Required | Description | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `atBRANDAt8486` | [models.CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema1AtBRANDAt8486](../models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductmetadataschema1atbrandat8486.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `atBRANDAt8795` | [models.CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema1AtBRANDAt8795](../models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductmetadataschema1atbrandat8795.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createintegrationstoredirectpropertiesminlength.md b/docs/models/createintegrationstoredirectpropertiesminlength.md index 7bf725a42..7613f7442 100644 --- a/docs/models/createintegrationstoredirectpropertiesminlength.md +++ b/docs/models/createintegrationstoredirectpropertiesminlength.md @@ -6,7 +6,7 @@ import { CreateIntegrationStoreDirectPropertiesMinLength } from "@vercel/sdk/models/createintegrationstoredirectop.js"; let value: CreateIntegrationStoreDirectPropertiesMinLength = { - atBRANDAt8486: {}, + atBRANDAt8795: {}, }; ``` @@ -14,4 +14,4 @@ let value: CreateIntegrationStoreDirectPropertiesMinLength = { | Field | Type | Required | Description | | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | -| `atBRANDAt8486` | [models.PropertiesAtBRANDAt8486](../models/propertiesatbrandat8486.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `atBRANDAt8795` | [models.PropertiesAtBRANDAt8795](../models/propertiesatbrandat8795.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createintegrationstoredirectpropertiespattern.md b/docs/models/createintegrationstoredirectpropertiespattern.md index 3d99661a0..8e1af9306 100644 --- a/docs/models/createintegrationstoredirectpropertiespattern.md +++ b/docs/models/createintegrationstoredirectpropertiespattern.md @@ -6,7 +6,7 @@ import { CreateIntegrationStoreDirectPropertiesPattern } from "@vercel/sdk/models/createintegrationstoredirectop.js"; let value: CreateIntegrationStoreDirectPropertiesPattern = { - atBRANDAt8486: {}, + atBRANDAt8795: {}, }; ``` @@ -14,4 +14,4 @@ let value: CreateIntegrationStoreDirectPropertiesPattern = { | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | -| `atBRANDAt8486` | [models.CreateIntegrationStoreDirectPropertiesAtBRANDAt8486](../models/createintegrationstoredirectpropertiesatbrandat8486.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `atBRANDAt8795` | [models.CreateIntegrationStoreDirectPropertiesAtBRANDAt8795](../models/createintegrationstoredirectpropertiesatbrandat8795.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createintegrationstoredirectpropertiesvalue.md b/docs/models/createintegrationstoredirectpropertiesvalue.md index 4f62e2656..54982f886 100644 --- a/docs/models/createintegrationstoredirectpropertiesvalue.md +++ b/docs/models/createintegrationstoredirectpropertiesvalue.md @@ -6,7 +6,7 @@ import { CreateIntegrationStoreDirectPropertiesValue } from "@vercel/sdk/models/createintegrationstoredirectop.js"; let value: CreateIntegrationStoreDirectPropertiesValue = { - atBRANDAt8486: {}, + atBRANDAt8795: {}, }; ``` @@ -14,4 +14,4 @@ let value: CreateIntegrationStoreDirectPropertiesValue = { | Field | Type | Required | Description | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `atBRANDAt8486` | [models.CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema9AtBRANDAt8486](../models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductmetadataschema9atbrandat8486.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `atBRANDAt8795` | [models.CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema9AtBRANDAt8795](../models/createintegrationstoredirectpropertiesintegrationsresponse200applicationjsonresponsebodystoreproductmetadataschema9atbrandat8795.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createintegrationstoredirectresponsebody.md b/docs/models/createintegrationstoredirectresponsebody.md index cb32a4108..8832ef628 100644 --- a/docs/models/createintegrationstoredirectresponsebody.md +++ b/docs/models/createintegrationstoredirectresponsebody.md @@ -13,7 +13,7 @@ let value: CreateIntegrationStoreDirectResponseBody = { externalResourceId: "", product: { value: { - atBRANDAt8486: {}, + atBRANDAt8795: {}, }, }, secrets: [], diff --git a/docs/models/createintegrationstoredirectstatus.md b/docs/models/createintegrationstoredirectstatus.md index ff11f1819..723200132 100644 --- a/docs/models/createintegrationstoredirectstatus.md +++ b/docs/models/createintegrationstoredirectstatus.md @@ -5,11 +5,12 @@ ```typescript import { CreateIntegrationStoreDirectStatus } from "@vercel/sdk/models/createintegrationstoredirectop.js"; -let value: CreateIntegrationStoreDirectStatus = "limits-exceeded-suspended"; +let value: CreateIntegrationStoreDirectStatus = + "limits-exceeded-suspended-store-count"; ``` ## Values ```typescript -"available" | "error" | "suspended" | "limits-exceeded-suspended" | "limits-exceeded-suspended-store-count" | "initializing" | "uninstalled" +"available" | "error" | "suspended" | "limits-exceeded-suspended" | "limits-exceeded-suspended-store-count" | "initializing" | "onboarding" | "uninstalled" ``` \ No newline at end of file diff --git a/docs/models/createintegrationstoredirectstore.md b/docs/models/createintegrationstoredirectstore.md index 59d4e5b43..0752823ce 100644 --- a/docs/models/createintegrationstoredirectstore.md +++ b/docs/models/createintegrationstoredirectstore.md @@ -8,11 +8,11 @@ import { CreateIntegrationStoreDirectStore } from "@vercel/sdk/models/createinte let value: CreateIntegrationStoreDirectStore = { projectsMetadata: [], usageQuotaExceeded: true, - status: "limits-exceeded-suspended", + status: "limits-exceeded-suspended-store-count", externalResourceId: "", product: { value: { - atBRANDAt8486: {}, + atBRANDAt8795: {}, }, }, secrets: [ @@ -26,19 +26,20 @@ let value: CreateIntegrationStoreDirectStore = { ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | -| `projectsMetadata` | [models.ProjectsMetadata](../models/projectsmetadata.md)[] | :heavy_check_mark: | N/A | -| `totalConnectedProjects` | *number* | :heavy_minus_sign: | N/A | -| `usageQuotaExceeded` | *boolean* | :heavy_check_mark: | N/A | -| `status` | [models.CreateIntegrationStoreDirectStatus](../models/createintegrationstoredirectstatus.md) | :heavy_check_mark: | N/A | -| `ownership` | [models.CreateIntegrationStoreDirectOwnership](../models/createintegrationstoredirectownership.md) | :heavy_minus_sign: | N/A | -| `capabilities` | [models.Capabilities](../models/capabilities.md) | :heavy_minus_sign: | N/A | -| `metadata` | Record | :heavy_minus_sign: | N/A | -| `externalResourceId` | *string* | :heavy_check_mark: | N/A | -| `externalResourceStatus` | [models.ExternalResourceStatus](../models/externalresourcestatus.md) | :heavy_minus_sign: | N/A | -| `product` | [models.Product](../models/product.md) | :heavy_check_mark: | N/A | -| `protocolSettings` | [models.CreateIntegrationStoreDirectProtocolSettings](../models/createintegrationstoredirectprotocolsettings.md) | :heavy_minus_sign: | N/A | -| `notification` | [models.CreateIntegrationStoreDirectNotification](../models/createintegrationstoredirectnotification.md) | :heavy_minus_sign: | N/A | -| `secrets` | [models.CreateIntegrationStoreDirectSecrets](../models/createintegrationstoredirectsecrets.md)[] | :heavy_check_mark: | N/A | -| `billingPlan` | [models.CreateIntegrationStoreDirectBillingPlan](../models/createintegrationstoredirectbillingplan.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | +| `projectsMetadata` | [models.CreateIntegrationStoreDirectProjectsMetadata](../models/createintegrationstoredirectprojectsmetadata.md)[] | :heavy_check_mark: | N/A | +| `projectFilter` | [models.ProjectFilter](../models/projectfilter.md) | :heavy_minus_sign: | N/A | +| `totalConnectedProjects` | *number* | :heavy_minus_sign: | N/A | +| `usageQuotaExceeded` | *boolean* | :heavy_check_mark: | N/A | +| `status` | [models.CreateIntegrationStoreDirectStatus](../models/createintegrationstoredirectstatus.md) | :heavy_check_mark: | N/A | +| `ownership` | [models.CreateIntegrationStoreDirectOwnership](../models/createintegrationstoredirectownership.md) | :heavy_minus_sign: | N/A | +| `capabilities` | [models.Capabilities](../models/capabilities.md) | :heavy_minus_sign: | N/A | +| `metadata` | Record | :heavy_minus_sign: | N/A | +| `externalResourceId` | *string* | :heavy_check_mark: | N/A | +| `externalResourceStatus` | [models.ExternalResourceStatus](../models/externalresourcestatus.md) | :heavy_minus_sign: | N/A | +| `product` | [models.Product](../models/product.md) | :heavy_check_mark: | N/A | +| `protocolSettings` | [models.CreateIntegrationStoreDirectProtocolSettings](../models/createintegrationstoredirectprotocolsettings.md) | :heavy_minus_sign: | N/A | +| `notification` | [models.CreateIntegrationStoreDirectNotification](../models/createintegrationstoredirectnotification.md) | :heavy_minus_sign: | N/A | +| `secrets` | [models.CreateIntegrationStoreDirectSecrets](../models/createintegrationstoredirectsecrets.md)[] | :heavy_check_mark: | N/A | +| `billingPlan` | [models.CreateIntegrationStoreDirectBillingPlan](../models/createintegrationstoredirectbillingplan.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/createintegrationstoredirecttags.md b/docs/models/createintegrationstoredirecttags.md index 001f15ca2..f82b0f292 100644 --- a/docs/models/createintegrationstoredirecttags.md +++ b/docs/models/createintegrationstoredirecttags.md @@ -5,11 +5,11 @@ ```typescript import { CreateIntegrationStoreDirectTags } from "@vercel/sdk/models/createintegrationstoredirectop.js"; -let value: CreateIntegrationStoreDirectTags = "workflow"; +let value: CreateIntegrationStoreDirectTags = "traceDrain"; ``` ## Values ```typescript -"edge-config" | "redis" | "postgres" | "blob" | "experimentation" | "checks" | "storage" | "ai" | "observability" | "video" | "authentication" | "workflow" | "logDrain" | "traceDrain" | "messaging" | "other" | "mysql" | "vector" | "tag_ai" | "tag_analytics" | "tag_authentication" | "tag_cms" | "tag_code_repository" | "tag_commerce" | "tag_databases" | "tag_dev_tools" | "tag_experimentation" | "tag_flags" | "tag_logging" | "tag_messaging" | "tag_monitoring" | "tag_observability" | "tag_payments" | "tag_performance" | "tag_productivity" | "tag_searching" | "tag_security" | "tag_testing" | "tag_video" | "tag_workflow" | "tag_checks" | "tag_storage" | "tag_logDrain" | "tag_traceDrain" | "tag_other" +"edge-config" | "redis" | "postgres" | "blob" | "experimentation" | "checks" | "storage" | "ai" | "observability" | "video" | "authentication" | "workflow" | "logDrain" | "traceDrain" | "messaging" | "other" | "mysql" | "vector" | "tag_agents" | "tag_ai" | "tag_analytics" | "tag_authentication" | "tag_cms" | "tag_code_repository" | "tag_code_review" | "tag_code_security" | "tag_code_testing" | "tag_commerce" | "tag_databases" | "tag_dev_tools" | "tag_experimentation" | "tag_flags" | "tag_logging" | "tag_messaging" | "tag_monitoring" | "tag_observability" | "tag_payments" | "tag_performance" | "tag_productivity" | "tag_searching" | "tag_security" | "tag_support_agent" | "tag_testing" | "tag_video" | "tag_web_automation" | "tag_workflow" | "tag_checks" | "tag_storage" | "tag_logDrain" | "tag_traceDrain" | "tag_other" ``` \ No newline at end of file diff --git a/docs/models/createintegrationstoredirectuioptions2.md b/docs/models/createintegrationstoredirectuioptions2.md index 54bf1bb50..8a65a3520 100644 --- a/docs/models/createintegrationstoredirectuioptions2.md +++ b/docs/models/createintegrationstoredirectuioptions2.md @@ -6,7 +6,7 @@ import { CreateIntegrationStoreDirectUiOptions2 } from "@vercel/sdk/models/createintegrationstoredirectop.js"; let value: CreateIntegrationStoreDirectUiOptions2 = { - atBRANDAt8486: {}, + atBRANDAt8795: {}, }; ``` @@ -14,4 +14,4 @@ let value: CreateIntegrationStoreDirectUiOptions2 = { | Field | Type | Required | Description | | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -| `atBRANDAt8486` | [models.UiOptionsAtBRANDAt8486](../models/uioptionsatbrandat8486.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `atBRANDAt8795` | [models.UiOptionsAtBRANDAt8795](../models/uioptionsatbrandat8795.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createintegrationstoredirectuioptions3.md b/docs/models/createintegrationstoredirectuioptions3.md index f3879156d..22ea93ea0 100644 --- a/docs/models/createintegrationstoredirectuioptions3.md +++ b/docs/models/createintegrationstoredirectuioptions3.md @@ -7,7 +7,7 @@ import { CreateIntegrationStoreDirectUiOptions3 } from "@vercel/sdk/models/creat let value: CreateIntegrationStoreDirectUiOptions3 = { value: { - atBRANDAt8486: {}, + atBRANDAt8795: {}, }, }; ``` diff --git a/docs/models/createintegrationstoredirectuioptionsatbrandat8486.md b/docs/models/createintegrationstoredirectuioptionsatbrandat8795.md similarity index 55% rename from docs/models/createintegrationstoredirectuioptionsatbrandat8486.md rename to docs/models/createintegrationstoredirectuioptionsatbrandat8795.md index bdef266ba..15de8e4ad 100644 --- a/docs/models/createintegrationstoredirectuioptionsatbrandat8486.md +++ b/docs/models/createintegrationstoredirectuioptionsatbrandat8795.md @@ -1,11 +1,11 @@ -# CreateIntegrationStoreDirectUiOptionsAtBRANDAt8486 +# CreateIntegrationStoreDirectUiOptionsAtBRANDAt8795 ## Example Usage ```typescript -import { CreateIntegrationStoreDirectUiOptionsAtBRANDAt8486 } from "@vercel/sdk/models/createintegrationstoredirectop.js"; +import { CreateIntegrationStoreDirectUiOptionsAtBRANDAt8795 } from "@vercel/sdk/models/createintegrationstoredirectop.js"; -let value: CreateIntegrationStoreDirectUiOptionsAtBRANDAt8486 = {}; +let value: CreateIntegrationStoreDirectUiOptionsAtBRANDAt8795 = {}; ``` ## Fields diff --git a/docs/models/createintegrationstoredirectuioptionsvalue.md b/docs/models/createintegrationstoredirectuioptionsvalue.md index 2b231d0fd..c54e838bd 100644 --- a/docs/models/createintegrationstoredirectuioptionsvalue.md +++ b/docs/models/createintegrationstoredirectuioptionsvalue.md @@ -6,7 +6,7 @@ import { CreateIntegrationStoreDirectUiOptionsValue } from "@vercel/sdk/models/createintegrationstoredirectop.js"; let value: CreateIntegrationStoreDirectUiOptionsValue = { - atBRANDAt8486: {}, + atBRANDAt8795: {}, }; ``` @@ -14,4 +14,4 @@ let value: CreateIntegrationStoreDirectUiOptionsValue = { | Field | Type | Required | Description | | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | -| `atBRANDAt8486` | [models.CreateIntegrationStoreDirectUiOptionsAtBRANDAt8486](../models/createintegrationstoredirectuioptionsatbrandat8486.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `atBRANDAt8795` | [models.CreateIntegrationStoreDirectUiOptionsAtBRANDAt8795](../models/createintegrationstoredirectuioptionsatbrandat8795.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createintegrationstoredirectvalue.md b/docs/models/createintegrationstoredirectvalue.md index f13287810..1c7a772ea 100644 --- a/docs/models/createintegrationstoredirectvalue.md +++ b/docs/models/createintegrationstoredirectvalue.md @@ -6,7 +6,7 @@ import { CreateIntegrationStoreDirectValue } from "@vercel/sdk/models/createintegrationstoredirectop.js"; let value: CreateIntegrationStoreDirectValue = { - atBRANDAt8486: {}, + atBRANDAt8795: {}, }; ``` @@ -14,4 +14,4 @@ let value: CreateIntegrationStoreDirectValue = { | Field | Type | Required | Description | | -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -| `atBRANDAt8486` | [models.AtBRANDAt8486](../models/atbrandat8486.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `atBRANDAt8795` | [models.AtBRANDAt8795](../models/atbrandat8795.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createlogdraindeliveryformat.md b/docs/models/createlogdraindeliveryformat.md index 3acd680bb..df274266b 100644 --- a/docs/models/createlogdraindeliveryformat.md +++ b/docs/models/createlogdraindeliveryformat.md @@ -13,5 +13,5 @@ let value: CreateLogDrainDeliveryFormat = "json"; ## Values ```typescript -"json" | "ndjson" | "syslog" | "protobuf" +"json" | "ndjson" ``` \ No newline at end of file diff --git a/docs/models/createlogdrainenvironments.md b/docs/models/createlogdrainenvironments.md index 6bc8cbe26..452f6658c 100644 --- a/docs/models/createlogdrainenvironments.md +++ b/docs/models/createlogdrainenvironments.md @@ -1,17 +1,15 @@ # CreateLogDrainEnvironments -The environment of log drain - ## Example Usage ```typescript import { CreateLogDrainEnvironments } from "@vercel/sdk/models/createlogdrainop.js"; -let value: CreateLogDrainEnvironments = "production"; +let value: CreateLogDrainEnvironments = "preview"; ``` ## Values ```typescript -"production" | "preview" +"preview" | "production" ``` \ No newline at end of file diff --git a/docs/models/createlogdrainlogdrainsdeliveryformat.md b/docs/models/createlogdrainlogdrainsdeliveryformat.md new file mode 100644 index 000000000..63a6e79dd --- /dev/null +++ b/docs/models/createlogdrainlogdrainsdeliveryformat.md @@ -0,0 +1,17 @@ +# CreateLogDrainLogDrainsDeliveryFormat + +The delivery log format + +## Example Usage + +```typescript +import { CreateLogDrainLogDrainsDeliveryFormat } from "@vercel/sdk/models/createlogdrainop.js"; + +let value: CreateLogDrainLogDrainsDeliveryFormat = "json"; +``` + +## Values + +```typescript +"json" | "ndjson" | "protobuf" +``` \ No newline at end of file diff --git a/docs/models/createlogdrainlogdrainsenvironments.md b/docs/models/createlogdrainlogdrainsenvironments.md new file mode 100644 index 000000000..fb5e2aaf4 --- /dev/null +++ b/docs/models/createlogdrainlogdrainsenvironments.md @@ -0,0 +1,17 @@ +# CreateLogDrainLogDrainsEnvironments + +The environment of log drain + +## Example Usage + +```typescript +import { CreateLogDrainLogDrainsEnvironments } from "@vercel/sdk/models/createlogdrainop.js"; + +let value: CreateLogDrainLogDrainsEnvironments = "production"; +``` + +## Values + +```typescript +"production" | "preview" +``` \ No newline at end of file diff --git a/docs/models/createlogdrainlogdrainssources.md b/docs/models/createlogdrainlogdrainssources.md new file mode 100644 index 000000000..bc5675c04 --- /dev/null +++ b/docs/models/createlogdrainlogdrainssources.md @@ -0,0 +1,17 @@ +# CreateLogDrainLogDrainsSources + +The sources from which logs are currently being delivered to this log drain. + +## Example Usage + +```typescript +import { CreateLogDrainLogDrainsSources } from "@vercel/sdk/models/createlogdrainop.js"; + +let value: CreateLogDrainLogDrainsSources = "edge"; +``` + +## Values + +```typescript +"build" | "edge" | "lambda" | "static" | "external" | "firewall" | "redirect" +``` \ No newline at end of file diff --git a/docs/models/createlogdrainrequestbody.md b/docs/models/createlogdrainrequestbody.md index 354c74b7e..532a7d3aa 100644 --- a/docs/models/createlogdrainrequestbody.md +++ b/docs/models/createlogdrainrequestbody.md @@ -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` | [models.DeliveryFormat](../models/deliveryformat.md) | :heavy_minus_sign: | The delivery log format | json | +| `deliveryFormat` | [models.CreateLogDrainDeliveryFormat](../models/createlogdraindeliveryformat.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`. | https://example.com/log-drain | -| `sources` | [models.Sources](../models/sources.md)[] | :heavy_minus_sign: | N/A | | +| `sources` | [models.CreateLogDrainSources](../models/createlogdrainsources.md)[] | :heavy_minus_sign: | N/A | | | `headers` | Record | :heavy_minus_sign: | Headers to be sent together with the request | | -| `environments` | [models.Environments](../models/environments.md)[] | :heavy_minus_sign: | N/A | | \ No newline at end of file +| `environments` | [models.CreateLogDrainEnvironments](../models/createlogdrainenvironments.md)[] | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/createlogdrainresponsebody.md b/docs/models/createlogdrainresponsebody.md index 7875c631f..f20689ca6 100644 --- a/docs/models/createlogdrainresponsebody.md +++ b/docs/models/createlogdrainresponsebody.md @@ -43,22 +43,22 @@ let value: CreateLogDrainResponseBody = { ## 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_3bwCLgxL8qt5kjRLcv2Dit7F | -| `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_minus_sign: | 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 | -| `source` | *models.CreateLogDrainSource* | :heavy_check_mark: | N/A | | \ No newline at end of file +| 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_3bwCLgxL8qt5kjRLcv2Dit7F | +| `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.CreateLogDrainLogDrainsDeliveryFormat](../models/createlogdrainlogdrainsdeliveryformat.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.CreateLogDrainLogDrainsSources](../models/createlogdrainlogdrainssources.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.CreateLogDrainLogDrainsEnvironments](../models/createlogdrainlogdrainsenvironments.md)[] | :heavy_minus_sign: | 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 | +| `source` | *models.CreateLogDrainSource* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/createlogdrainsources.md b/docs/models/createlogdrainsources.md index 58b48902d..9f398325b 100644 --- a/docs/models/createlogdrainsources.md +++ b/docs/models/createlogdrainsources.md @@ -1,17 +1,15 @@ # CreateLogDrainSources -The sources from which logs are currently being delivered to this log drain. - ## Example Usage ```typescript import { CreateLogDrainSources } from "@vercel/sdk/models/createlogdrainop.js"; -let value: CreateLogDrainSources = "static"; +let value: CreateLogDrainSources = "edge"; ``` ## Values ```typescript -"build" | "edge" | "lambda" | "static" | "external" | "firewall" +"static" | "lambda" | "build" | "edge" | "external" | "firewall" ``` \ No newline at end of file diff --git a/docs/models/createortransferdomainrequestbody.md b/docs/models/createortransferdomainrequestbody.md index 3ba23a35b..f8d805075 100644 --- a/docs/models/createortransferdomainrequestbody.md +++ b/docs/models/createortransferdomainrequestbody.md @@ -9,7 +9,7 @@ const value: models.CreateOrTransferDomainRequestBody1 = { name: "example.com", cdnEnabled: true, - method: "transfer-in", + method: "add", }; ``` @@ -18,7 +18,7 @@ const value: models.CreateOrTransferDomainRequestBody1 = { ```typescript const value: models.CreateOrTransferDomainRequestBody2 = { name: "example.com", - method: "transfer-in", + method: "add", token: "fdhfr820ad#@FAdlj$$", }; ``` @@ -28,7 +28,7 @@ const value: models.CreateOrTransferDomainRequestBody2 = { ```typescript const value: models.CreateOrTransferDomainRequestBody3 = { name: "example.com", - method: "transfer-in", + method: "add", authCode: "fdhfr820ad#@FAdlj$$", expectedPrice: 8, }; diff --git a/docs/models/createortransferdomainrequestbody1.md b/docs/models/createortransferdomainrequestbody1.md index fbb2c0228..b43510fc3 100644 --- a/docs/models/createortransferdomainrequestbody1.md +++ b/docs/models/createortransferdomainrequestbody1.md @@ -10,15 +10,15 @@ import { CreateOrTransferDomainRequestBody1 } from "@vercel/sdk/models/createort let value: CreateOrTransferDomainRequestBody1 = { name: "example.com", cdnEnabled: true, - method: "transfer-in", + method: "add", }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | -| `name` | *string* | :heavy_check_mark: | The domain name you want to add. | example.com | -| `cdnEnabled` | *boolean* | :heavy_minus_sign: | Whether the domain has the Vercel Edge Network enabled or not. | true | -| `zone` | *boolean* | :heavy_minus_sign: | N/A | | -| `method` | *string* | :heavy_minus_sign: | The domain operation to perform. It can be either `add` or `transfer-in`. | transfer-in | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | +| `name` | *string* | :heavy_check_mark: | The domain name you want to add. | example.com | +| `cdnEnabled` | *boolean* | :heavy_minus_sign: | Whether the domain has the Vercel Edge Network enabled or not. | true | +| `zone` | *boolean* | :heavy_minus_sign: | N/A | | +| `method` | *string* | :heavy_minus_sign: | The domain operation to perform. It can be either `add` or `move-in`. | add | \ No newline at end of file diff --git a/docs/models/createortransferdomainrequestbody2.md b/docs/models/createortransferdomainrequestbody2.md index 5b0fea3e3..cb5fb1bcf 100644 --- a/docs/models/createortransferdomainrequestbody2.md +++ b/docs/models/createortransferdomainrequestbody2.md @@ -9,15 +9,15 @@ import { CreateOrTransferDomainRequestBody2 } from "@vercel/sdk/models/createort let value: CreateOrTransferDomainRequestBody2 = { name: "example.com", - method: "transfer-in", + method: "add", token: "fdhfr820ad#@FAdlj$$", }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | -| `name` | *string* | :heavy_check_mark: | The domain name you want to add. | example.com | -| `method` | *string* | :heavy_check_mark: | The domain operation to perform. It can be either `add` or `transfer-in`. | transfer-in | -| `token` | *string* | :heavy_minus_sign: | The move-in token from Move Requested email. | fdhfr820ad#@FAdlj$$ | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | +| `name` | *string* | :heavy_check_mark: | The domain name you want to add. | example.com | +| `method` | *string* | :heavy_check_mark: | The domain operation to perform. It can be either `add` or `move-in`. | add | +| `token` | *string* | :heavy_minus_sign: | The move-in token from Move Requested email. | fdhfr820ad#@FAdlj$$ | \ No newline at end of file diff --git a/docs/models/createortransferdomainrequestbody3.md b/docs/models/createortransferdomainrequestbody3.md index 48d7cdbd4..5f348c7e1 100644 --- a/docs/models/createortransferdomainrequestbody3.md +++ b/docs/models/createortransferdomainrequestbody3.md @@ -1,7 +1,9 @@ -# CreateOrTransferDomainRequestBody3 +# ~~CreateOrTransferDomainRequestBody3~~ transfer-in +> :warning: **DEPRECATED**: This will be removed in a future release, please migrate away from it as soon as possible. + ## Example Usage ```typescript @@ -9,7 +11,7 @@ import { CreateOrTransferDomainRequestBody3 } from "@vercel/sdk/models/createort let value: CreateOrTransferDomainRequestBody3 = { name: "example.com", - method: "transfer-in", + method: "add", authCode: "fdhfr820ad#@FAdlj$$", expectedPrice: 8, }; @@ -17,9 +19,9 @@ let value: CreateOrTransferDomainRequestBody3 = { ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | -| `name` | *string* | :heavy_check_mark: | The domain name you want to add. | example.com | -| `method` | *string* | :heavy_check_mark: | The domain operation to perform. It can be either `add` or `transfer-in`. | transfer-in | -| `authCode` | *string* | :heavy_minus_sign: | The authorization code assigned to the domain. | fdhfr820ad#@FAdlj$$ | -| `expectedPrice` | *number* | :heavy_minus_sign: | The price you expect to be charged for the required 1 year renewal. | 8 | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | +| `name` | *string* | :heavy_check_mark: | The domain name you want to add. | example.com | +| `method` | *string* | :heavy_check_mark: | The domain operation to perform. It can be either `add` or `move-in`. | add | +| `authCode` | *string* | :heavy_minus_sign: | The authorization code assigned to the domain. | fdhfr820ad#@FAdlj$$ | +| `expectedPrice` | *number* | :heavy_minus_sign: | The price you expect to be charged for the required 1 year renewal. | 8 | \ No newline at end of file diff --git a/docs/models/createprojectabuse.md b/docs/models/createprojectabuse.md index 63b3d37e7..b723a7b93 100644 --- a/docs/models/createprojectabuse.md +++ b/docs/models/createprojectabuse.md @@ -27,4 +27,5 @@ let value: CreateProjectAbuse = { | `history` | [models.CreateProjectHistory](../models/createprojecthistory.md)[] | :heavy_check_mark: | N/A | | `updatedAt` | *number* | :heavy_check_mark: | N/A | | `block` | [models.CreateProjectBlock](../models/createprojectblock.md) | :heavy_minus_sign: | N/A | -| `blockHistory` | *models.CreateProjectBlockHistory*[] | :heavy_minus_sign: | N/A | \ No newline at end of file +| `blockHistory` | *models.CreateProjectBlockHistory*[] | :heavy_minus_sign: | N/A | +| `interstitial` | *boolean* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/createprojectaction.md b/docs/models/createprojectaction.md index 2a2326960..319f7d897 100644 --- a/docs/models/createprojectaction.md +++ b/docs/models/createprojectaction.md @@ -5,11 +5,11 @@ ```typescript import { CreateProjectAction } from "@vercel/sdk/models/createprojectop.js"; -let value: CreateProjectAction = "blocked"; +let value: CreateProjectAction = "cancel"; ``` ## Values ```typescript -"blocked" +"cancel" | "accept" | "delete" ``` \ No newline at end of file diff --git a/docs/models/createprojectaibots.md b/docs/models/createprojectaibots.md index c98583988..751bb809d 100644 --- a/docs/models/createprojectaibots.md +++ b/docs/models/createprojectaibots.md @@ -12,7 +12,7 @@ let value: CreateProjectAiBots = { ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -| `active` | *boolean* | :heavy_check_mark: | N/A | -| `action` | [models.CreateProjectProjectsAction](../models/createprojectprojectsaction.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | +| `active` | *boolean* | :heavy_check_mark: | N/A | +| `action` | [models.CreateProjectProjectsResponse200ApplicationJSONAction](../models/createprojectprojectsresponse200applicationjsonaction.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/createprojectblock.md b/docs/models/createprojectblock.md index 89263b9ec..ede8ed4ab 100644 --- a/docs/models/createprojectblock.md +++ b/docs/models/createprojectblock.md @@ -15,13 +15,13 @@ let value: CreateProjectBlock = { ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -| `action` | [models.CreateProjectAction](../models/createprojectaction.md) | :heavy_check_mark: | N/A | -| `reason` | *string* | :heavy_check_mark: | N/A | -| `statusCode` | *number* | :heavy_check_mark: | N/A | -| `createdAt` | *number* | :heavy_check_mark: | N/A | -| `caseId` | *string* | :heavy_minus_sign: | N/A | -| `actor` | *string* | :heavy_minus_sign: | N/A | -| `comment` | *string* | :heavy_minus_sign: | N/A | -| `isCascading` | *boolean* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `action` | [models.CreateProjectProjectsAction](../models/createprojectprojectsaction.md) | :heavy_check_mark: | N/A | +| `reason` | *string* | :heavy_check_mark: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `createdAt` | *number* | :heavy_check_mark: | N/A | +| `caseId` | *string* | :heavy_minus_sign: | N/A | +| `actor` | *string* | :heavy_minus_sign: | N/A | +| `comment` | *string* | :heavy_minus_sign: | N/A | +| `isCascading` | *boolean* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/createprojectdismissedtoasts.md b/docs/models/createprojectdismissedtoasts.md new file mode 100644 index 000000000..833cccbc5 --- /dev/null +++ b/docs/models/createprojectdismissedtoasts.md @@ -0,0 +1,23 @@ +# CreateProjectDismissedToasts + +## Example Usage + +```typescript +import { CreateProjectDismissedToasts } from "@vercel/sdk/models/createprojectop.js"; + +let value: CreateProjectDismissedToasts = { + key: "", + dismissedAt: 9269.94, + action: "accept", + value: false, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | +| `key` | *string* | :heavy_check_mark: | N/A | +| `dismissedAt` | *number* | :heavy_check_mark: | N/A | +| `action` | [models.CreateProjectAction](../models/createprojectaction.md) | :heavy_check_mark: | N/A | +| `value` | *models.CreateProjectValue* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createprojectenvcreated.md b/docs/models/createprojectenvcreated.md new file mode 100644 index 000000000..d613af968 --- /dev/null +++ b/docs/models/createprojectenvcreated.md @@ -0,0 +1,27 @@ +# CreateProjectEnvCreated + + +## Supported Types + +### `models.Created1` + +```typescript +const value: models.Created1 = { + type: "secret", + value: "", + key: "", +}; +``` + +### `models.Created2[]` + +```typescript +const value: models.Created2[] = [ + { + type: "sensitive", + value: "", + key: "", + }, +]; +``` + diff --git a/docs/models/createprojectenvfailed.md b/docs/models/createprojectenvfailed.md new file mode 100644 index 000000000..4ed671d6a --- /dev/null +++ b/docs/models/createprojectenvfailed.md @@ -0,0 +1,20 @@ +# CreateProjectEnvFailed + +## Example Usage + +```typescript +import { CreateProjectEnvFailed } from "@vercel/sdk/models/createprojectenvop.js"; + +let value: CreateProjectEnvFailed = { + 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/createprojectenvresponsebody.md b/docs/models/createprojectenvresponsebody.md index d127f514d..69c49ba17 100644 --- a/docs/models/createprojectenvresponsebody.md +++ b/docs/models/createprojectenvresponsebody.md @@ -19,7 +19,7 @@ let value: CreateProjectEnvResponseBody = { ## 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 +| Field | Type | Required | Description | +| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | +| `created` | *models.CreateProjectEnvCreated* | :heavy_check_mark: | N/A | +| `failed` | [models.CreateProjectEnvFailed](../models/createprojectenvfailed.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createprojectenvvalue.md b/docs/models/createprojectenvvalue.md index 21119d14b..62f65e37f 100644 --- a/docs/models/createprojectenvvalue.md +++ b/docs/models/createprojectenvvalue.md @@ -9,10 +9,10 @@ const value: string = ""; ``` -### `models.Value2[]` +### `models.CreateProjectEnvValue2[]` ```typescript -const value: models.Value2[] = [ +const value: models.CreateProjectEnvValue2[] = [ "production", ]; ``` diff --git a/docs/models/createprojectenvvalue2.md b/docs/models/createprojectenvvalue2.md new file mode 100644 index 000000000..e4b115878 --- /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 = "production"; +``` + +## Values + +```typescript +"production" | "preview" | "development" +``` \ No newline at end of file diff --git a/docs/models/createprojectframework.md b/docs/models/createprojectframework.md index b87909ee6..19acc6b5e 100644 --- a/docs/models/createprojectframework.md +++ b/docs/models/createprojectframework.md @@ -13,5 +13,5 @@ let value: CreateProjectFramework = "remix"; ## Values ```typescript -"blitzjs" | "nextjs" | "gatsby" | "remix" | "react-router" | "astro" | "hexo" | "eleventy" | "docusaurus-2" | "docusaurus" | "preact" | "solidstart-1" | "solidstart" | "dojo" | "ember" | "vue" | "scully" | "ionic-angular" | "angular" | "polymer" | "svelte" | "sveltekit" | "sveltekit-1" | "ionic-react" | "create-react-app" | "gridsome" | "umijs" | "sapper" | "saber" | "stencil" | "nuxtjs" | "redwoodjs" | "hugo" | "jekyll" | "brunch" | "middleman" | "zola" | "hydrogen" | "vite" | "vitepress" | "vuepress" | "parcel" | "fastapi" | "fasthtml" | "sanity-v3" | "sanity" | "storybook" | "nitro" | "hono" | "express" | "h3" | "xmcp" +"blitzjs" | "nextjs" | "gatsby" | "remix" | "react-router" | "astro" | "hexo" | "eleventy" | "docusaurus-2" | "docusaurus" | "preact" | "solidstart-1" | "solidstart" | "dojo" | "ember" | "vue" | "scully" | "ionic-angular" | "angular" | "polymer" | "svelte" | "sveltekit" | "sveltekit-1" | "ionic-react" | "create-react-app" | "gridsome" | "umijs" | "sapper" | "saber" | "stencil" | "nuxtjs" | "redwoodjs" | "hugo" | "jekyll" | "brunch" | "middleman" | "zola" | "hydrogen" | "vite" | "tanstack-start" | "vitepress" | "vuepress" | "parcel" | "fastapi" | "flask" | "fasthtml" | "sanity-v3" | "sanity" | "storybook" | "nitro" | "hono" | "express" | "h3" | "nestjs" | "elysia" | "fastify" | "xmcp" ``` \ No newline at end of file diff --git a/docs/models/createprojectgitprovideroptions.md b/docs/models/createprojectgitprovideroptions.md index b15095400..f484e4674 100644 --- a/docs/models/createprojectgitprovideroptions.md +++ b/docs/models/createprojectgitprovideroptions.md @@ -15,4 +15,5 @@ let value: CreateProjectGitProviderOptions = { | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `createDeployments` | [models.CreateProjectCreateDeployments](../models/createprojectcreatedeployments.md) | :heavy_check_mark: | Whether the Vercel bot should automatically create GitHub deployments https://docs.github.com/en/rest/deployments/deployments#about-deployments NOTE: repository-dispatch events should be used instead | -| `disableRepositoryDispatchEvents` | *boolean* | :heavy_minus_sign: | Whether the Vercel bot should not automatically create GitHub repository-dispatch events on deployment events. https://vercel.com/docs/git/vercel-for-github#repository-dispatch-events | \ No newline at end of file +| `disableRepositoryDispatchEvents` | *boolean* | :heavy_minus_sign: | Whether the Vercel bot should not automatically create GitHub repository-dispatch events on deployment events. https://vercel.com/docs/git/vercel-for-github#repository-dispatch-events | +| `requireVerifiedCommits` | *boolean* | :heavy_minus_sign: | Whether the project requires commits to be signed before deployments will be created. | \ No newline at end of file diff --git a/docs/models/createprojectmicrofrontends.md b/docs/models/createprojectmicrofrontends.md index a5d51f0ec..ca24e4b7e 100644 --- a/docs/models/createprojectmicrofrontends.md +++ b/docs/models/createprojectmicrofrontends.md @@ -7,7 +7,8 @@ ```typescript const value: models.CreateProjectMicrofrontends1 = { - updatedAt: 1263.63, + isDefaultApp: true, + updatedAt: 8233.66, groupIds: [ "", "", @@ -27,3 +28,17 @@ const value: models.CreateProjectMicrofrontends2 = { }; ``` +### `models.CreateProjectMicrofrontends3` + +```typescript +const value: models.CreateProjectMicrofrontends3 = { + updatedAt: 5547.04, + groupIds: [ + "", + "", + "", + ], + enabled: true, +}; +``` + diff --git a/docs/models/createprojectmicrofrontends1.md b/docs/models/createprojectmicrofrontends1.md index 5af0fcf31..739c0b1b2 100644 --- a/docs/models/createprojectmicrofrontends1.md +++ b/docs/models/createprojectmicrofrontends1.md @@ -6,7 +6,8 @@ import { CreateProjectMicrofrontends1 } from "@vercel/sdk/models/createprojectop.js"; let value: CreateProjectMicrofrontends1 = { - updatedAt: 1263.63, + isDefaultApp: true, + updatedAt: 8233.66, groupIds: [ "", "", @@ -18,11 +19,11 @@ let value: CreateProjectMicrofrontends1 = { ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `updatedAt` | *number* | :heavy_check_mark: | Timestamp when the microfrontends settings were last updated. | -| `groupIds` | *string*[] | :heavy_check_mark: | 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. | -| `enabled` | *boolean* | :heavy_check_mark: | Whether microfrontends are enabled for this project. | -| `isDefaultApp` | *boolean* | :heavy_minus_sign: | 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. | -| `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. Includes the leading slash, e.g. `/docs` | -| `routeObservabilityToThisProject` | *boolean* | :heavy_minus_sign: | Whether observability data should be routed to this microfrontend project or a root project. | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `isDefaultApp` | *boolean* | :heavy_check_mark: | N/A | +| `updatedAt` | *number* | :heavy_check_mark: | Timestamp when the microfrontends settings were last updated. | +| `groupIds` | *string*[] | :heavy_check_mark: | 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. | +| `enabled` | *boolean* | :heavy_check_mark: | Whether microfrontends are enabled for this project. | +| `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. Includes the leading slash, e.g. `/docs` | +| `freeProjectForLegacyLimits` | *boolean* | :heavy_minus_sign: | Whether the project was part of the legacy limits for hobby and pro-trial before billing was added. This field is only set when the team is upgraded to a paid plan and we are backfilling the subscription status. We cap the subscription to 2 projects and set this field for the 3rd project. When this field is set, the project is not charged for and we do not call any billing APIs for this project. | \ No newline at end of file diff --git a/docs/models/createprojectmicrofrontends2.md b/docs/models/createprojectmicrofrontends2.md index 946af0cea..87bde5893 100644 --- a/docs/models/createprojectmicrofrontends2.md +++ b/docs/models/createprojectmicrofrontends2.md @@ -14,8 +14,13 @@ let value: CreateProjectMicrofrontends2 = { ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `updatedAt` | *number* | :heavy_check_mark: | N/A | -| `groupIds` | *any*[] | :heavy_check_mark: | N/A | -| `enabled` | *boolean* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `isDefaultApp` | *boolean* | :heavy_minus_sign: | N/A | +| `routeObservabilityToThisProject` | *boolean* | :heavy_minus_sign: | Whether observability data should be routed to this microfrontend project or a root project. | +| `doNotRouteWithMicrofrontendsRouting` | *boolean* | :heavy_minus_sign: | Whether to add microfrontends routing to aliases. This means domains in this project will route as a microfrontend. | +| `updatedAt` | *number* | :heavy_check_mark: | Timestamp when the microfrontends settings were last updated. | +| `groupIds` | *string*[] | :heavy_check_mark: | 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. | +| `enabled` | *boolean* | :heavy_check_mark: | Whether microfrontends are enabled for this project. | +| `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. Includes the leading slash, e.g. `/docs` | +| `freeProjectForLegacyLimits` | *boolean* | :heavy_minus_sign: | Whether the project was part of the legacy limits for hobby and pro-trial before billing was added. This field is only set when the team is upgraded to a paid plan and we are backfilling the subscription status. We cap the subscription to 2 projects and set this field for the 3rd project. When this field is set, the project is not charged for and we do not call any billing APIs for this project. | \ No newline at end of file diff --git a/docs/models/createprojectmicrofrontends3.md b/docs/models/createprojectmicrofrontends3.md new file mode 100644 index 000000000..ce612e1ec --- /dev/null +++ b/docs/models/createprojectmicrofrontends3.md @@ -0,0 +1,26 @@ +# CreateProjectMicrofrontends3 + +## Example Usage + +```typescript +import { CreateProjectMicrofrontends3 } from "@vercel/sdk/models/createprojectop.js"; + +let value: CreateProjectMicrofrontends3 = { + updatedAt: 5547.04, + groupIds: [ + "", + "", + "", + ], + enabled: true, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------- | ---------------------------- | ---------------------------- | ---------------------------- | +| `updatedAt` | *number* | :heavy_check_mark: | N/A | +| `groupIds` | *any*[] | :heavy_check_mark: | N/A | +| `enabled` | *boolean* | :heavy_check_mark: | N/A | +| `freeProjectForLegacyLimits` | *boolean* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/createprojectnodeversion.md b/docs/models/createprojectnodeversion.md index fcab5c640..fad815b23 100644 --- a/docs/models/createprojectnodeversion.md +++ b/docs/models/createprojectnodeversion.md @@ -5,11 +5,11 @@ ```typescript import { CreateProjectNodeVersion } from "@vercel/sdk/models/createprojectop.js"; -let value: CreateProjectNodeVersion = "12.x"; +let value: CreateProjectNodeVersion = "14.x"; ``` ## Values ```typescript -"22.x" | "20.x" | "18.x" | "16.x" | "14.x" | "12.x" | "10.x" | "8.10.x" +"24.x" | "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/createprojectoidctokenclaims.md b/docs/models/createprojectoidctokenclaims.md index 7b6fc48b5..6db5cd247 100644 --- a/docs/models/createprojectoidctokenclaims.md +++ b/docs/models/createprojectoidctokenclaims.md @@ -15,6 +15,7 @@ let value: CreateProjectOidcTokenClaims = { project: "", projectId: "", environment: "", + plan: "", }; ``` @@ -30,4 +31,5 @@ let value: CreateProjectOidcTokenClaims = { | `ownerId` | *string* | :heavy_check_mark: | N/A | | `project` | *string* | :heavy_check_mark: | N/A | | `projectId` | *string* | :heavy_check_mark: | N/A | -| `environment` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| `environment` | *string* | :heavy_check_mark: | N/A | +| `plan` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createprojectpermissions.md b/docs/models/createprojectpermissions.md index 6e90f35f3..c5fc5a715 100644 --- a/docs/models/createprojectpermissions.md +++ b/docs/models/createprojectpermissions.md @@ -18,9 +18,17 @@ let value: CreateProjectPermissions = {}; | `userSudo` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | | `webAuthn` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | | `accessGroup` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `agent` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `alerts` | [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 | +| `apiKey` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `apiKeyAiGateway` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `apiKeyOwnedBySelf` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `oauth2Application` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `vercelAppInstallation` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `vercelAppInstallationRequest` | [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 | @@ -32,6 +40,7 @@ let value: CreateProjectPermissions = {}; | `billingRefund` | [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 | +| `blobStoreTokenSet` | [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 | @@ -39,6 +48,7 @@ let value: CreateProjectPermissions = {}; | `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 | +| `dataCacheBillingSettings` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | | `defaultDeploymentProtection` | [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 | @@ -49,40 +59,48 @@ let value: CreateProjectPermissions = {}; | `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 | +| `drain` | [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 | +| `endpointVerification` | [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 | | `flagsExplorerSubscription` | [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 | | `imageOptimizationNewPrice` | [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 | -| `integrationSSOSession` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `integrationResource` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `integrationConfigurationTransfer` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `integrationDeploymentAction` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | | `integrationEvent` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `integrationLog` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `integrationResource` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `integrationResourceReplCommand` | [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 | +| `integrationSSOSession` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `integrationStoreTokenSet` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `integrationVercelConfigurationOverride` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `integrationPullRequest` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `ipBlocking` | [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 | | `marketplaceBillingData` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `marketplaceExperimentationEdgeConfigData` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `marketplaceExperimentationItem` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `marketplaceInstallationMember` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | | `marketplaceInvoice` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | | `marketplaceSettings` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `marketplaceExperimentationItem` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `marketplaceExperimentationEdgeConfigData` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `jobGlobal` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `drain` | [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 | +| `monitoringChart` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `monitoringQuery` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `monitoringSettings` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `notificationCustomerBudget` | [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 | @@ -93,42 +111,38 @@ let value: CreateProjectPermissions = {}; | `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 | | `notificationPreferences` | [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 | +| `notificationUsageAlert` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | | `observabilityConfiguration` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `alerts` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `observabilityNotebook` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | | `observabilityFunnel` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `observabilityNotebook` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | | `openTelemetryEndpoint` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `vercelAppInstallation` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `vercelAppInstallationRequest` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `ownEvent` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `organizationDomain` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `passwordProtectionInvoiceItem` | [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 | +| `postgresStoreTokenSet` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | | `previewDeploymentSuffix` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectTransferIn` | [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 | +| `redisStoreTokenSet` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | | `remoteCaching` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `repository` | [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 | +| `sensitiveEnvironmentVariablePolicy` | [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 | | `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 | @@ -143,26 +157,15 @@ let value: CreateProjectPermissions = {}; | `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 | +| `vercelRun` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `vercelRunExec` | [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 | -| `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 | -| `vercelRun` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `vercelRunExec` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `apiKey` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `apiKeyOwnedBySelf` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `apiKeyAiGateway` | [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 | | `buildMachine` | [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 | @@ -178,51 +181,52 @@ let value: CreateProjectPermissions = {}; | `deploymentRollback` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | | `edgeCacheNamespace` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | | `environments` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `job` | [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 | | `onDemandBuild` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | | `onDemandConcurrency` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `optionsAllowlist` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `passwordProtection` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `productionAliasProtectionBypass` | [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 | +| `projectAnalyticsUsage` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | | `projectCheck` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | | `projectCheckRun` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectDeploymentExpiration` | [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 | +| `projectDomainMove` | [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 | +| `projectFlagsProduction` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectFromV0` | [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 | +| `projectOIDCToken` | [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 | +| `projectRollingRelease` | [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 | -| `projectRollingRelease` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | | `projectTier` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectOIDCToken` | [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 | +| `projectUsage` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | | `seawallConfig` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `sharedEnvVarConnection` | [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 | | `v0Chat` | [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 +| `webAnalytics` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/createprojectprojectsaction.md b/docs/models/createprojectprojectsaction.md index 120f86a9e..5e59c47fc 100644 --- a/docs/models/createprojectprojectsaction.md +++ b/docs/models/createprojectprojectsaction.md @@ -5,11 +5,11 @@ ```typescript import { CreateProjectProjectsAction } from "@vercel/sdk/models/createprojectop.js"; -let value: CreateProjectProjectsAction = "log"; +let value: CreateProjectProjectsAction = "blocked"; ``` ## Values ```typescript -"log" | "challenge" | "deny" +"blocked" ``` \ No newline at end of file diff --git a/docs/models/createprojectprojectsframework.md b/docs/models/createprojectprojectsframework.md index 2cbc23f18..f77b5e36b 100644 --- a/docs/models/createprojectprojectsframework.md +++ b/docs/models/createprojectprojectsframework.md @@ -5,11 +5,11 @@ ```typescript import { CreateProjectProjectsFramework } from "@vercel/sdk/models/createprojectop.js"; -let value: CreateProjectProjectsFramework = "create-react-app"; +let value: CreateProjectProjectsFramework = "umijs"; ``` ## Values ```typescript -"blitzjs" | "nextjs" | "gatsby" | "remix" | "react-router" | "astro" | "hexo" | "eleventy" | "docusaurus-2" | "docusaurus" | "preact" | "solidstart-1" | "solidstart" | "dojo" | "ember" | "vue" | "scully" | "ionic-angular" | "angular" | "polymer" | "svelte" | "sveltekit" | "sveltekit-1" | "ionic-react" | "create-react-app" | "gridsome" | "umijs" | "sapper" | "saber" | "stencil" | "nuxtjs" | "redwoodjs" | "hugo" | "jekyll" | "brunch" | "middleman" | "zola" | "hydrogen" | "vite" | "vitepress" | "vuepress" | "parcel" | "fastapi" | "fasthtml" | "sanity-v3" | "sanity" | "storybook" | "nitro" | "hono" | "express" | "h3" | "xmcp" +"blitzjs" | "nextjs" | "gatsby" | "remix" | "react-router" | "astro" | "hexo" | "eleventy" | "docusaurus-2" | "docusaurus" | "preact" | "solidstart-1" | "solidstart" | "dojo" | "ember" | "vue" | "scully" | "ionic-angular" | "angular" | "polymer" | "svelte" | "sveltekit" | "sveltekit-1" | "ionic-react" | "create-react-app" | "gridsome" | "umijs" | "sapper" | "saber" | "stencil" | "nuxtjs" | "redwoodjs" | "hugo" | "jekyll" | "brunch" | "middleman" | "zola" | "hydrogen" | "vite" | "tanstack-start" | "vitepress" | "vuepress" | "parcel" | "fastapi" | "flask" | "fasthtml" | "sanity-v3" | "sanity" | "storybook" | "nitro" | "hono" | "express" | "h3" | "nestjs" | "elysia" | "fastify" | "xmcp" ``` \ No newline at end of file diff --git a/docs/models/createprojectprojectsoidctokenclaims.md b/docs/models/createprojectprojectsoidctokenclaims.md index fb8d67929..cc88c4ddd 100644 --- a/docs/models/createprojectprojectsoidctokenclaims.md +++ b/docs/models/createprojectprojectsoidctokenclaims.md @@ -15,6 +15,7 @@ let value: CreateProjectProjectsOidcTokenClaims = { project: "", projectId: "", environment: "", + plan: "", }; ``` @@ -30,4 +31,5 @@ let value: CreateProjectProjectsOidcTokenClaims = { | `ownerId` | *string* | :heavy_check_mark: | N/A | | `project` | *string* | :heavy_check_mark: | N/A | | `projectId` | *string* | :heavy_check_mark: | N/A | -| `environment` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| `environment` | *string* | :heavy_check_mark: | N/A | +| `plan` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createprojectprojectsresponse200applicationjsonaction.md b/docs/models/createprojectprojectsresponse200applicationjsonaction.md new file mode 100644 index 000000000..a303813cf --- /dev/null +++ b/docs/models/createprojectprojectsresponse200applicationjsonaction.md @@ -0,0 +1,15 @@ +# CreateProjectProjectsResponse200ApplicationJSONAction + +## Example Usage + +```typescript +import { CreateProjectProjectsResponse200ApplicationJSONAction } from "@vercel/sdk/models/createprojectop.js"; + +let value: CreateProjectProjectsResponse200ApplicationJSONAction = "challenge"; +``` + +## Values + +```typescript +"log" | "challenge" | "deny" +``` \ No newline at end of file diff --git a/docs/models/createprojectresponsebody.md b/docs/models/createprojectresponsebody.md index 7400f7279..97a73fbdc 100644 --- a/docs/models/createprojectresponsebody.md +++ b/docs/models/createprojectresponsebody.md @@ -36,7 +36,7 @@ let value: CreateProjectResponseBody = { }, ], name: "", - nodeVersion: "22.x", + nodeVersion: "24.x", resourceConfig: { functionDefaultRegions: [ "", @@ -133,6 +133,7 @@ let value: CreateProjectResponseBody = { | `skewProtectionBoundaryAt` | *number* | :heavy_minus_sign: | N/A | | `skewProtectionMaxAge` | *number* | :heavy_minus_sign: | N/A | | `skipGitConnectDuringLink` | *boolean* | :heavy_minus_sign: | N/A | +| `staticIps` | [models.CreateProjectStaticIps](../models/createprojectstaticips.md) | :heavy_minus_sign: | N/A | | `sourceFilesOutsideRootDirectory` | *boolean* | :heavy_minus_sign: | N/A | | `enableAffectedProjectsDeployments` | *boolean* | :heavy_minus_sign: | N/A | | `ssoProtection` | [models.CreateProjectProjectsSsoProtection](../models/createprojectprojectsssoprotection.md) | :heavy_minus_sign: | N/A | @@ -162,4 +163,6 @@ let value: CreateProjectResponseBody = { | `features` | [models.CreateProjectFeatures](../models/createprojectfeatures.md) | :heavy_minus_sign: | N/A | | `v0` | *boolean* | :heavy_minus_sign: | N/A | | `abuse` | [models.CreateProjectAbuse](../models/createprojectabuse.md) | :heavy_minus_sign: | N/A | -| `internalRoutes` | *models.CreateProjectInternalRoutes*[] | :heavy_minus_sign: | N/A | \ No newline at end of file +| `internalRoutes` | *models.CreateProjectInternalRoutes*[] | :heavy_minus_sign: | N/A | +| `hasDeployments` | *boolean* | :heavy_minus_sign: | N/A | +| `dismissedToasts` | [models.CreateProjectDismissedToasts](../models/createprojectdismissedtoasts.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/createprojectstaticips.md b/docs/models/createprojectstaticips.md new file mode 100644 index 000000000..9b5d5fd84 --- /dev/null +++ b/docs/models/createprojectstaticips.md @@ -0,0 +1,23 @@ +# CreateProjectStaticIps + +## Example Usage + +```typescript +import { CreateProjectStaticIps } from "@vercel/sdk/models/createprojectop.js"; + +let value: CreateProjectStaticIps = { + builds: false, + enabled: false, + regions: [ + "", + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `builds` | *boolean* | :heavy_check_mark: | N/A | +| `enabled` | *boolean* | :heavy_check_mark: | N/A | +| `regions` | *string*[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createprojectvalue.md b/docs/models/createprojectvalue.md new file mode 100644 index 000000000..a034eb54c --- /dev/null +++ b/docs/models/createprojectvalue.md @@ -0,0 +1,32 @@ +# CreateProjectValue + + +## Supported Types + +### `string` + +```typescript +const value: string = ""; +``` + +### `number` + +```typescript +const value: number = 1284.03; +``` + +### `boolean` + +```typescript +const value: boolean = true; +``` + +### `models.CreateProjectValue4` + +```typescript +const value: models.CreateProjectValue4 = { + previousValue: false, + currentValue: "", +}; +``` + diff --git a/docs/models/createprojectvalue4.md b/docs/models/createprojectvalue4.md new file mode 100644 index 000000000..86a351913 --- /dev/null +++ b/docs/models/createprojectvalue4.md @@ -0,0 +1,19 @@ +# CreateProjectValue4 + +## Example Usage + +```typescript +import { CreateProjectValue4 } from "@vercel/sdk/models/createprojectop.js"; + +let value: CreateProjectValue4 = { + previousValue: false, + currentValue: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| --------------------------- | --------------------------- | --------------------------- | --------------------------- | +| `previousValue` | *models.ValuePreviousValue* | :heavy_check_mark: | N/A | +| `currentValue` | *models.ValueCurrentValue* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/createsharedenvvariableenvironmenttarget.md b/docs/models/createsharedenvvariableenvironmenttarget.md new file mode 100644 index 000000000..5302e918c --- /dev/null +++ b/docs/models/createsharedenvvariableenvironmenttarget.md @@ -0,0 +1,17 @@ +# CreateSharedEnvVariableEnvironmentTarget + + +## Supported Types + +### `models.CreateSharedEnvVariableTarget1[]` + +```typescript +const value: models.CreateSharedEnvVariableTarget1[] = []; +``` + +### `models.CreateSharedEnvVariableTarget2` + +```typescript +const value: models.CreateSharedEnvVariableTarget2 = "production"; +``` + diff --git a/docs/models/createsharedenvvariableerror.md b/docs/models/createsharedenvvariableerror.md new file mode 100644 index 000000000..f4012b989 --- /dev/null +++ b/docs/models/createsharedenvvariableerror.md @@ -0,0 +1,28 @@ +# CreateSharedEnvVariableError + +## Example Usage + +```typescript +import { CreateSharedEnvVariableError } from "@vercel/sdk/models/createsharedenvvariableop.js"; + +let value: CreateSharedEnvVariableError = { + 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.CreateSharedEnvVariableValue* | :heavy_minus_sign: | N/A | +| `gitBranch` | *string* | :heavy_minus_sign: | N/A | +| `target` | *models.CreateSharedEnvVariableEnvironmentTarget* | :heavy_minus_sign: | N/A | +| `project` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/createsharedenvvariablerequest.md b/docs/models/createsharedenvvariablerequest.md new file mode 100644 index 000000000..f6cf52c2c --- /dev/null +++ b/docs/models/createsharedenvvariablerequest.md @@ -0,0 +1,20 @@ +# CreateSharedEnvVariableRequest + +## Example Usage + +```typescript +import { CreateSharedEnvVariableRequest } from "@vercel/sdk/models/createsharedenvvariableop.js"; + +let value: CreateSharedEnvVariableRequest = { + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + slug: "my-team-url-slug", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | +| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | team_1a2b3c4d5e6f7g8h9i0j1k2l | +| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | my-team-url-slug | +| `requestBody` | *models.CreateSharedEnvVariableRequestBody* | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/createsharedenvvariablerequestbody.md b/docs/models/createsharedenvvariablerequestbody.md new file mode 100644 index 000000000..16baaf8ff --- /dev/null +++ b/docs/models/createsharedenvvariablerequestbody.md @@ -0,0 +1,31 @@ +# CreateSharedEnvVariableRequestBody + + +## Supported Types + +### `models.CreateSharedEnvVariableRequestBody1` + +```typescript +const value: models.CreateSharedEnvVariableRequestBody1 = { + evs: [], + type: "encrypted", + target: [ + "production", + "preview", + ], +}; +``` + +### `models.CreateSharedEnvVariableRequestBody2` + +```typescript +const value: models.CreateSharedEnvVariableRequestBody2 = { + evs: [], + type: "encrypted", + target: [ + "production", + "preview", + ], +}; +``` + diff --git a/docs/models/createsharedenvvariablerequestbody1.md b/docs/models/createsharedenvvariablerequestbody1.md new file mode 100644 index 000000000..4bad131a9 --- /dev/null +++ b/docs/models/createsharedenvvariablerequestbody1.md @@ -0,0 +1,25 @@ +# CreateSharedEnvVariableRequestBody1 + +## Example Usage + +```typescript +import { CreateSharedEnvVariableRequestBody1 } from "@vercel/sdk/models/createsharedenvvariableop.js"; + +let value: CreateSharedEnvVariableRequestBody1 = { + evs: [], + type: "encrypted", + target: [ + "production", + "preview", + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `evs` | [models.Evs](../models/evs.md)[] | :heavy_check_mark: | N/A | | +| `type` | [models.CreateSharedEnvVariableRequestBodyType](../models/createsharedenvvariablerequestbodytype.md) | :heavy_minus_sign: | The type of environment variable | encrypted | +| `target` | [models.RequestBodyTarget](../models/requestbodytarget.md)[] | :heavy_check_mark: | The target environment of the Shared Environment Variable | [
"production",
"preview"
] | +| ~~`projectId`~~ | *string*[] | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Associate a Shared Environment Variable to projects. | [
"prj_2WjyKQmM8ZnGcJsPWMrHRHrE",
"prj_2WjyKQmM8ZnGcJsPWMrHRCRV"
] | \ No newline at end of file diff --git a/docs/models/createsharedenvvariablerequestbody2.md b/docs/models/createsharedenvvariablerequestbody2.md new file mode 100644 index 000000000..680d69a0a --- /dev/null +++ b/docs/models/createsharedenvvariablerequestbody2.md @@ -0,0 +1,25 @@ +# CreateSharedEnvVariableRequestBody2 + +## Example Usage + +```typescript +import { CreateSharedEnvVariableRequestBody2 } from "@vercel/sdk/models/createsharedenvvariableop.js"; + +let value: CreateSharedEnvVariableRequestBody2 = { + evs: [], + type: "encrypted", + target: [ + "production", + "preview", + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `evs` | [models.RequestBodyEvs](../models/requestbodyevs.md)[] | :heavy_check_mark: | N/A | | +| `type` | [models.CreateSharedEnvVariableRequestBodyEnvironmentType](../models/createsharedenvvariablerequestbodyenvironmenttype.md) | :heavy_minus_sign: | The type of environment variable | encrypted | +| `target` | [models.CreateSharedEnvVariableRequestBodyTarget](../models/createsharedenvvariablerequestbodytarget.md)[] | :heavy_minus_sign: | The target environment of the Shared Environment Variable | [
"production",
"preview"
] | +| ~~`projectId`~~ | *string*[] | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Associate a Shared Environment Variable to projects. | [
"prj_2WjyKQmM8ZnGcJsPWMrHRHrE",
"prj_2WjyKQmM8ZnGcJsPWMrHRCRV"
] | \ No newline at end of file diff --git a/docs/models/createsharedenvvariablerequestbodyenvironmenttype.md b/docs/models/createsharedenvvariablerequestbodyenvironmenttype.md new file mode 100644 index 000000000..b2c621174 --- /dev/null +++ b/docs/models/createsharedenvvariablerequestbodyenvironmenttype.md @@ -0,0 +1,17 @@ +# CreateSharedEnvVariableRequestBodyEnvironmentType + +The type of environment variable + +## Example Usage + +```typescript +import { CreateSharedEnvVariableRequestBodyEnvironmentType } from "@vercel/sdk/models/createsharedenvvariableop.js"; + +let value: CreateSharedEnvVariableRequestBodyEnvironmentType = "encrypted"; +``` + +## Values + +```typescript +"encrypted" | "sensitive" +``` \ No newline at end of file diff --git a/docs/models/createsharedenvvariablerequestbodytarget.md b/docs/models/createsharedenvvariablerequestbodytarget.md new file mode 100644 index 000000000..09a42cc8a --- /dev/null +++ b/docs/models/createsharedenvvariablerequestbodytarget.md @@ -0,0 +1,15 @@ +# CreateSharedEnvVariableRequestBodyTarget + +## Example Usage + +```typescript +import { CreateSharedEnvVariableRequestBodyTarget } from "@vercel/sdk/models/createsharedenvvariableop.js"; + +let value: CreateSharedEnvVariableRequestBodyTarget = "preview"; +``` + +## Values + +```typescript +"production" | "preview" | "development" +``` \ No newline at end of file diff --git a/docs/models/createsharedenvvariablerequestbodytype.md b/docs/models/createsharedenvvariablerequestbodytype.md new file mode 100644 index 000000000..ce85cd78b --- /dev/null +++ b/docs/models/createsharedenvvariablerequestbodytype.md @@ -0,0 +1,17 @@ +# CreateSharedEnvVariableRequestBodyType + +The type of environment variable + +## Example Usage + +```typescript +import { CreateSharedEnvVariableRequestBodyType } from "@vercel/sdk/models/createsharedenvvariableop.js"; + +let value: CreateSharedEnvVariableRequestBodyType = "encrypted"; +``` + +## Values + +```typescript +"encrypted" | "sensitive" +``` \ No newline at end of file diff --git a/docs/models/createsharedenvvariableresponsebody.md b/docs/models/createsharedenvvariableresponsebody.md new file mode 100644 index 000000000..628c04ccb --- /dev/null +++ b/docs/models/createsharedenvvariableresponsebody.md @@ -0,0 +1,40 @@ +# CreateSharedEnvVariableResponseBody + +## Example Usage + +```typescript +import { CreateSharedEnvVariableResponseBody } from "@vercel/sdk/models/createsharedenvvariableop.js"; + +let value: CreateSharedEnvVariableResponseBody = { + created: [ + { + created: new Date("2021-02-10T13:11:49.180Z"), + key: "my-api-key", + ownerId: "team_LLHUOMOoDlqOp8wPE4kFo9pE", + id: "env_XCG7t7AIHuO2SBA8667zNUiM", + createdBy: "2qDDuGFTWXBLDNnqZfWPDp1A", + deletedBy: "2qDDuGFTWXBLDNnqZfWPDp1A", + updatedBy: "2qDDuGFTWXBLDNnqZfWPDp1A", + createdAt: 1609492210000, + deletedAt: 1609492210000, + updatedAt: 1609492210000, + projectId: [ + "prj_2WjyKQmM8ZnGcJsPWMrHRHrE", + "prj_2WjyKQmM8ZnGcJsPWMrasEFg", + ], + type: "encrypted", + target: [ + "production", + ], + }, + ], + failed: [], +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | +| `created` | [models.Created](../models/created.md)[] | :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/createsharedenvvariabletarget.md b/docs/models/createsharedenvvariabletarget.md new file mode 100644 index 000000000..06adb0b28 --- /dev/null +++ b/docs/models/createsharedenvvariabletarget.md @@ -0,0 +1,17 @@ +# CreateSharedEnvVariableTarget + +environments this env variable targets + +## Example Usage + +```typescript +import { CreateSharedEnvVariableTarget } from "@vercel/sdk/models/createsharedenvvariableop.js"; + +let value: CreateSharedEnvVariableTarget = "production"; +``` + +## Values + +```typescript +"production" | "preview" | "development" +``` \ No newline at end of file diff --git a/docs/models/createsharedenvvariabletarget1.md b/docs/models/createsharedenvvariabletarget1.md new file mode 100644 index 000000000..262ff87dc --- /dev/null +++ b/docs/models/createsharedenvvariabletarget1.md @@ -0,0 +1,15 @@ +# CreateSharedEnvVariableTarget1 + +## Example Usage + +```typescript +import { CreateSharedEnvVariableTarget1 } from "@vercel/sdk/models/createsharedenvvariableop.js"; + +let value: CreateSharedEnvVariableTarget1 = "production"; +``` + +## Values + +```typescript +"production" | "preview" | "development" +``` \ No newline at end of file diff --git a/docs/models/createsharedenvvariabletarget2.md b/docs/models/createsharedenvvariabletarget2.md new file mode 100644 index 000000000..3f742e262 --- /dev/null +++ b/docs/models/createsharedenvvariabletarget2.md @@ -0,0 +1,15 @@ +# CreateSharedEnvVariableTarget2 + +## Example Usage + +```typescript +import { CreateSharedEnvVariableTarget2 } from "@vercel/sdk/models/createsharedenvvariableop.js"; + +let value: CreateSharedEnvVariableTarget2 = "preview"; +``` + +## Values + +```typescript +"production" | "preview" | "development" +``` \ No newline at end of file diff --git a/docs/models/createsharedenvvariabletype.md b/docs/models/createsharedenvvariabletype.md new file mode 100644 index 000000000..6931888d1 --- /dev/null +++ b/docs/models/createsharedenvvariabletype.md @@ -0,0 +1,17 @@ +# CreateSharedEnvVariableType + +The type of this cosmos doc instance, if blank, assume secret. + +## Example Usage + +```typescript +import { CreateSharedEnvVariableType } from "@vercel/sdk/models/createsharedenvvariableop.js"; + +let value: CreateSharedEnvVariableType = "encrypted"; +``` + +## Values + +```typescript +"encrypted" | "sensitive" | "system" | "plain" +``` \ No newline at end of file diff --git a/docs/models/createsharedenvvariablevalue.md b/docs/models/createsharedenvvariablevalue.md new file mode 100644 index 000000000..3f6a43617 --- /dev/null +++ b/docs/models/createsharedenvvariablevalue.md @@ -0,0 +1,19 @@ +# CreateSharedEnvVariableValue + + +## Supported Types + +### `string` + +```typescript +const value: string = ""; +``` + +### `models.Value2[]` + +```typescript +const value: models.Value2[] = [ + "production", +]; +``` + diff --git a/docs/models/createwebhookevents.md b/docs/models/createwebhookevents.md index 97b027702..ffceb5d9a 100644 --- a/docs/models/createwebhookevents.md +++ b/docs/models/createwebhookevents.md @@ -13,5 +13,5 @@ let value: CreateWebhookEvents = "deployment.created"; ## Values ```typescript -"budget.reached" | "budget.reset" | "domain.created" | "domain.dns.records.changed" | "domain.transfer-in.started" | "domain.transfer-in.completed" | "domain.transfer-in.failed" | "domain.certificate.add" | "domain.certificate.add.failed" | "domain.certificate.renew" | "domain.certificate.renew.failed" | "domain.certificate.deleted" | "domain.renewal" | "domain.renewal.failed" | "domain.auto-renew.changed" | "deployment.created" | "deployment.cleanup" | "deployment.error" | "deployment.canceled" | "deployment.succeeded" | "deployment.ready" | "deployment.check-rerequested" | "deployment.promoted" | "deployment.integration.action.start" | "deployment.integration.action.cancel" | "deployment.integration.action.cleanup" | "deployment.checkrun.start" | "deployment.checkrun.cancel" | "edge-config.created" | "edge-config.deleted" | "edge-config.items.updated" | "firewall.attack" | "integration-configuration.permission-upgraded" | "integration-configuration.removed" | "integration-configuration.scope-change-confirmed" | "integration-resource.project-connected" | "integration-resource.project-disconnected" | "project.created" | "project.removed" | "project.domain.created" | "project.domain.updated" | "project.domain.deleted" | "project.domain.verified" | "project.domain.unverified" | "project.domain.moved" | "project.rolling-release.started" | "project.rolling-release.aborted" | "project.rolling-release.completed" | "project.rolling-release.approved" | "deployment.checks.failed" | "deployment.checks.succeeded" | "deployment-checks-completed" | "deployment-ready" | "deployment-prepared" | "deployment-error" | "deployment-check-rerequested" | "deployment-canceled" | "project-created" | "project-removed" | "domain-created" | "deployment" | "integration-configuration-permission-updated" | "integration-configuration-removed" | "integration-configuration-scope-change-confirmed" | "marketplace.member.changed" | "marketplace.invoice.created" | "marketplace.invoice.paid" | "marketplace.invoice.notpaid" | "marketplace.invoice.refunded" | "observability.anomaly" | "observability.anomaly-error" | "observability.anomaly-botId" | "test-webhook" +"budget.reached" | "budget.reset" | "domain.created" | "domain.dns.records.changed" | "domain.transfer-in.started" | "domain.transfer-in.completed" | "domain.transfer-in.failed" | "domain.certificate.add" | "domain.certificate.add.failed" | "domain.certificate.renew" | "domain.certificate.renew.failed" | "domain.certificate.deleted" | "domain.renewal" | "domain.renewal.failed" | "domain.auto-renew.changed" | "deployment.created" | "deployment.cleanup" | "deployment.error" | "deployment.canceled" | "deployment.succeeded" | "deployment.ready" | "deployment.check-rerequested" | "deployment.promoted" | "deployment.integration.action.start" | "deployment.integration.action.cancel" | "deployment.integration.action.cleanup" | "deployment.checkrun.start" | "deployment.checkrun.cancel" | "edge-config.created" | "edge-config.deleted" | "edge-config.items.updated" | "firewall.attack" | "integration-configuration.permission-upgraded" | "integration-configuration.removed" | "integration-configuration.scope-change-confirmed" | "integration-resource.project-connected" | "integration-resource.project-disconnected" | "project.created" | "project.removed" | "project.domain.created" | "project.domain.updated" | "project.domain.deleted" | "project.domain.verified" | "project.domain.unverified" | "project.domain.moved" | "project.rolling-release.started" | "project.rolling-release.aborted" | "project.rolling-release.completed" | "project.rolling-release.approved" | "deployment.checks.failed" | "deployment.checks.succeeded" | "deployment-checks-completed" | "deployment-ready" | "deployment-prepared" | "deployment-error" | "deployment-check-rerequested" | "deployment-canceled" | "project-created" | "project-removed" | "domain-created" | "deployment" | "integration-configuration-permission-updated" | "integration-configuration-removed" | "integration-configuration-scope-change-confirmed" | "marketplace.member.changed" | "marketplace.invoice.created" | "marketplace.invoice.paid" | "marketplace.invoice.notpaid" | "marketplace.invoice.refunded" | "observability.anomaly" | "observability.anomaly-error" | "observability.usage-anomaly" | "observability.error-anomaly" | "observability.anomaly-botId" | "test-webhook" ``` \ No newline at end of file diff --git a/docs/models/creator.md b/docs/models/creator.md index c79e3b441..6e6e89fd2 100644 --- a/docs/models/creator.md +++ b/docs/models/creator.md @@ -1,19 +1,22 @@ # Creator +Information about the deployment creator + ## Example Usage ```typescript import { Creator } from "@vercel/sdk/models/createdeploymentop.js"; let value: Creator = { - uid: "", + uid: "96SnxkFiMyVKsK3pnoHfx3Hz", + username: "john-doe", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `uid` | *string* | :heavy_check_mark: | N/A | -| `username` | *string* | :heavy_minus_sign: | N/A | -| `avatar` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | +| `uid` | *string* | :heavy_check_mark: | The ID of the user that created the deployment | 96SnxkFiMyVKsK3pnoHfx3Hz | +| `username` | *string* | :heavy_minus_sign: | The username of the user that created the deployment | john-doe | +| `avatar` | *string* | :heavy_minus_sign: | The avatar of the user that created the deployment | | \ No newline at end of file diff --git a/docs/models/credentials.md b/docs/models/credentials.md index 90fb9cdfe..1201a1fa3 100644 --- a/docs/models/credentials.md +++ b/docs/models/credentials.md @@ -7,7 +7,7 @@ ```typescript const value: models.Credentials1 = { - type: "google", + type: "apple", id: "", }; ``` diff --git a/docs/models/credentials1.md b/docs/models/credentials1.md index 2f5742961..675dad612 100644 --- a/docs/models/credentials1.md +++ b/docs/models/credentials1.md @@ -6,7 +6,7 @@ import { Credentials1 } from "@vercel/sdk/models/userevent.js"; let value: Credentials1 = { - type: "google", + type: "apple", id: "", }; ``` diff --git a/docs/models/credentialstype.md b/docs/models/credentialstype.md index d9f7ec2ab..059e83482 100644 --- a/docs/models/credentialstype.md +++ b/docs/models/credentialstype.md @@ -11,5 +11,5 @@ let value: CredentialsType = "github-oauth-limited"; ## Values ```typescript -"gitlab" | "bitbucket" | "google" | "github-oauth" | "github-oauth-limited" +"gitlab" | "bitbucket" | "google" | "apple" | "github-oauth" | "github-oauth-limited" ``` \ No newline at end of file diff --git a/docs/models/currentdeployment.md b/docs/models/currentdeployment.md index c9f9b30fe..5f9e4ed34 100644 --- a/docs/models/currentdeployment.md +++ b/docs/models/currentdeployment.md @@ -21,13 +21,13 @@ let value: CurrentDeployment = { ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -| `id` | *string* | :heavy_check_mark: | N/A | -| `name` | *string* | :heavy_check_mark: | N/A | -| `url` | *string* | :heavy_check_mark: | N/A | -| `target` | [models.GetRollingReleaseTarget](../models/getrollingreleasetarget.md) | :heavy_minus_sign: | N/A | -| `source` | [models.GetRollingReleaseSource](../models/getrollingreleasesource.md) | :heavy_minus_sign: | N/A | -| `createdAt` | *number* | :heavy_check_mark: | N/A | -| `readyState` | [models.GetRollingReleaseReadyState](../models/getrollingreleasereadystate.md) | :heavy_check_mark: | N/A | -| `readyStateAt` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | A string holding the unique ID of the deployment | dpl_89qyp1cskzkLrVicDaZoDbjyHuDJ | +| `name` | *string* | :heavy_check_mark: | The name of the project associated with the deployment at the time that the deployment was created | my-project | +| `url` | *string* | :heavy_check_mark: | A string with the unique URL of the deployment | my-instant-deployment-3ij3cxz9qr.now.sh | +| `target` | [models.GetRollingReleaseTarget](../models/getrollingreleasetarget.md) | :heavy_minus_sign: | If defined, either `staging` if a staging alias in the format `..now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment. | | +| `source` | [models.GetRollingReleaseSource](../models/getrollingreleasesource.md) | :heavy_minus_sign: | Where was the deployment created from | cli | +| `createdAt` | *number* | :heavy_check_mark: | A number containing the date when the deployment was created in milliseconds | 1540257589405 | +| `readyState` | [models.GetRollingReleaseReadyState](../models/getrollingreleasereadystate.md) | :heavy_check_mark: | The state of the deployment depending on the process of deploying, or if it is ready or in an error state | READY | +| `readyStateAt` | *number* | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/currentvalue.md b/docs/models/currentvalue.md new file mode 100644 index 000000000..52cc11417 --- /dev/null +++ b/docs/models/currentvalue.md @@ -0,0 +1,23 @@ +# CurrentValue + + +## Supported Types + +### `number` + +```typescript +const value: number = 1284.03; +``` + +### `boolean` + +```typescript +const value: boolean = true; +``` + +### `string` + +```typescript +const value: string = ""; +``` + diff --git a/docs/models/customenvironment1.md b/docs/models/customenvironment1.md index d4e0adc04..f50899211 100644 --- a/docs/models/customenvironment1.md +++ b/docs/models/customenvironment1.md @@ -1,6 +1,6 @@ # CustomEnvironment1 -Internal representation of a custom environment with all required properties +If the deployment was created using a Custom Environment, then this property contains information regarding the environment used. ## Example Usage diff --git a/docs/models/customenvironment2.md b/docs/models/customenvironment2.md index d178dfc88..9452d32e4 100644 --- a/docs/models/customenvironment2.md +++ b/docs/models/customenvironment2.md @@ -1,5 +1,7 @@ # CustomEnvironment2 +If the deployment was created using a Custom Environment, then this property contains information regarding the environment used. + ## Example Usage ```typescript diff --git a/docs/models/data.md b/docs/models/data.md new file mode 100644 index 000000000..5bcaea7f7 --- /dev/null +++ b/docs/models/data.md @@ -0,0 +1,51 @@ +# Data + +## Example Usage + +```typescript +import { Data } from "@vercel/sdk/models/listsharedenvvariableop.js"; + +let value: Data = { + created: new Date("2021-02-10T13:11:49.180Z"), + key: "my-api-key", + ownerId: "team_LLHUOMOoDlqOp8wPE4kFo9pE", + id: "env_XCG7t7AIHuO2SBA8667zNUiM", + createdBy: "2qDDuGFTWXBLDNnqZfWPDp1A", + deletedBy: "2qDDuGFTWXBLDNnqZfWPDp1A", + updatedBy: "2qDDuGFTWXBLDNnqZfWPDp1A", + createdAt: 1609492210000, + deletedAt: 1609492210000, + updatedAt: 1609492210000, + projectId: [ + "prj_2WjyKQmM8ZnGcJsPWMrHRHrE", + "prj_2WjyKQmM8ZnGcJsPWMrasEFg", + ], + type: "encrypted", + target: [ + "production", + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `created` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The date when the Shared Env Var was created. | 2021-02-10T13:11:49.180Z | +| `key` | *string* | :heavy_minus_sign: | The name of the Shared Env Var. | my-api-key | +| `ownerId` | *string* | :heavy_minus_sign: | The unique identifier of the owner (team) the Shared Env Var was created for. | team_LLHUOMOoDlqOp8wPE4kFo9pE | +| `id` | *string* | :heavy_minus_sign: | The unique identifier of the Shared Env Var. | env_XCG7t7AIHuO2SBA8667zNUiM | +| `createdBy` | *string* | :heavy_minus_sign: | The unique identifier of the user who created the Shared Env Var. | 2qDDuGFTWXBLDNnqZfWPDp1A | +| `deletedBy` | *string* | :heavy_minus_sign: | The unique identifier of the user who deleted the Shared Env Var. | 2qDDuGFTWXBLDNnqZfWPDp1A | +| `updatedBy` | *string* | :heavy_minus_sign: | The unique identifier of the user who last updated the Shared Env Var. | 2qDDuGFTWXBLDNnqZfWPDp1A | +| `createdAt` | *number* | :heavy_minus_sign: | Timestamp for when the Shared Env Var was created. | 1609492210000 | +| `deletedAt` | *number* | :heavy_minus_sign: | Timestamp for when the Shared Env Var was (soft) deleted. | 1609492210000 | +| `updatedAt` | *number* | :heavy_minus_sign: | Timestamp for when the Shared Env Var was last updated. | 1609492210000 | +| `value` | *string* | :heavy_minus_sign: | The value of the Shared Env Var. | | +| `projectId` | *string*[] | :heavy_minus_sign: | The unique identifiers of the projects which the Shared Env Var is linked to. | [
"prj_2WjyKQmM8ZnGcJsPWMrHRHrE",
"prj_2WjyKQmM8ZnGcJsPWMrasEFg"
] | +| `type` | [models.ListSharedEnvVariableType](../models/listsharedenvvariabletype.md) | :heavy_minus_sign: | The type of this cosmos doc instance, if blank, assume secret. | encrypted | +| `target` | [models.ListSharedEnvVariableTarget](../models/listsharedenvvariabletarget.md)[] | :heavy_minus_sign: | environments this env variable targets | production | +| `applyToAllCustomEnvironments` | *boolean* | :heavy_minus_sign: | whether or not this env varible applies to custom environments | | +| `decrypted` | *boolean* | :heavy_minus_sign: | whether or not this env variable is decrypted | | +| `comment` | *string* | :heavy_minus_sign: | A user provided comment that describes what this Shared Env Var is for. | | +| `lastEditedByDisplayName` | *string* | :heavy_minus_sign: | The last editor full name or username. | | \ No newline at end of file diff --git a/docs/models/default.md b/docs/models/default.md index 47316bb4c..88bec7659 100644 --- a/docs/models/default.md +++ b/docs/models/default.md @@ -6,7 +6,7 @@ import { Default } from "@vercel/sdk/models/getconfigurationproductsop.js"; let value: Default = { - atBRANDAt543472: {}, + atBRANDAt649501: {}, }; ``` @@ -14,4 +14,4 @@ let value: Default = { | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `atBRANDAt543472` | [models.GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaAtBRANDAt543472](../models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschemaatbrandat543472.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `atBRANDAt649501` | [models.GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaAtBRANDAt649501](../models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschemaatbrandat649501.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/defaultroles.md b/docs/models/defaultroles.md index 5d2752bd3..c9d5f0030 100644 --- a/docs/models/defaultroles.md +++ b/docs/models/defaultroles.md @@ -12,7 +12,7 @@ let value: DefaultRoles = {}; ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -| `teamRoles` | [models.TeamRoles](../models/teamroles.md)[] | :heavy_minus_sign: | N/A | -| `teamPermissions` | [models.TeamPermissions](../models/teampermissions.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | +| `teamRoles` | [models.TeamTeamRoles](../models/teamteamroles.md)[] | :heavy_minus_sign: | N/A | +| `teamPermissions` | [models.TeamTeamPermissions](../models/teamteampermissions.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/deleteconfigurablelogdrainrequest.md b/docs/models/deleteconfigurablelogdrainrequest.md new file mode 100644 index 000000000..b45d0e62a --- /dev/null +++ b/docs/models/deleteconfigurablelogdrainrequest.md @@ -0,0 +1,21 @@ +# DeleteConfigurableLogDrainRequest + +## Example Usage + +```typescript +import { DeleteConfigurableLogDrainRequest } from "@vercel/sdk/models/deleteconfigurablelogdrainop.js"; + +let value: DeleteConfigurableLogDrainRequest = { + id: "", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + slug: "my-team-url-slug", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | N/A | | +| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | team_1a2b3c4d5e6f7g8h9i0j1k2l | +| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | my-team-url-slug | \ No newline at end of file diff --git a/docs/models/deletedrainrequest.md b/docs/models/deletedrainrequest.md new file mode 100644 index 000000000..c65784ba8 --- /dev/null +++ b/docs/models/deletedrainrequest.md @@ -0,0 +1,21 @@ +# DeleteDrainRequest + +## Example Usage + +```typescript +import { DeleteDrainRequest } from "@vercel/sdk/models/deletedrainop.js"; + +let value: DeleteDrainRequest = { + id: "", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + slug: "my-team-url-slug", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | N/A | | +| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | team_1a2b3c4d5e6f7g8h9i0j1k2l | +| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | my-team-url-slug | \ No newline at end of file diff --git a/docs/models/deleteprojectclientcertrequest.md b/docs/models/deleteprojectclientcertrequest.md new file mode 100644 index 000000000..e12b0c420 --- /dev/null +++ b/docs/models/deleteprojectclientcertrequest.md @@ -0,0 +1,23 @@ +# DeleteProjectClientCertRequest + +## Example Usage + +```typescript +import { DeleteProjectClientCertRequest } from "@vercel/sdk/models/deleteprojectclientcertop.js"; + +let value: DeleteProjectClientCertRequest = { + idOrName: "prj_XLKmu1DyR1eY7zq8UgeRKbA7yVLA", + certId: "cert_a1b2c3d4e5f6g7h8", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + slug: "my-team-url-slug", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | +| `idOrName` | *string* | :heavy_check_mark: | The unique project identifier or the project name | prj_XLKmu1DyR1eY7zq8UgeRKbA7yVLA | +| `certId` | *string* | :heavy_check_mark: | The certificate identifier | cert_a1b2c3d4e5f6g7h8 | +| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | team_1a2b3c4d5e6f7g8h9i0j1k2l | +| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | my-team-url-slug | \ No newline at end of file diff --git a/docs/models/deleteprojectclientcertresponsebody.md b/docs/models/deleteprojectclientcertresponsebody.md new file mode 100644 index 000000000..e85afc4ea --- /dev/null +++ b/docs/models/deleteprojectclientcertresponsebody.md @@ -0,0 +1,21 @@ +# DeleteProjectClientCertResponseBody + +Client certificate deleted successfully + +## Example Usage + +```typescript +import { DeleteProjectClientCertResponseBody } from "@vercel/sdk/models/deleteprojectclientcertop.js"; + +let value: DeleteProjectClientCertResponseBody = { + origin: "", + certId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `origin` | *string* | :heavy_check_mark: | N/A | +| `certId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/deletesharedenvvariableerror.md b/docs/models/deletesharedenvvariableerror.md new file mode 100644 index 000000000..8a4125387 --- /dev/null +++ b/docs/models/deletesharedenvvariableerror.md @@ -0,0 +1,28 @@ +# DeleteSharedEnvVariableError + +## Example Usage + +```typescript +import { DeleteSharedEnvVariableError } from "@vercel/sdk/models/deletesharedenvvariableop.js"; + +let value: DeleteSharedEnvVariableError = { + 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.DeleteSharedEnvVariableValue* | :heavy_minus_sign: | N/A | +| `gitBranch` | *string* | :heavy_minus_sign: | N/A | +| `target` | *models.DeleteSharedEnvVariableTarget* | :heavy_minus_sign: | N/A | +| `project` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/deletesharedenvvariablefailed.md b/docs/models/deletesharedenvvariablefailed.md new file mode 100644 index 000000000..5e0fe28bf --- /dev/null +++ b/docs/models/deletesharedenvvariablefailed.md @@ -0,0 +1,20 @@ +# DeleteSharedEnvVariableFailed + +## Example Usage + +```typescript +import { DeleteSharedEnvVariableFailed } from "@vercel/sdk/models/deletesharedenvvariableop.js"; + +let value: DeleteSharedEnvVariableFailed = { + error: { + code: "", + message: "", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `error` | [models.DeleteSharedEnvVariableError](../models/deletesharedenvvariableerror.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/deletesharedenvvariablerequest.md b/docs/models/deletesharedenvvariablerequest.md new file mode 100644 index 000000000..297f98f1f --- /dev/null +++ b/docs/models/deletesharedenvvariablerequest.md @@ -0,0 +1,20 @@ +# DeleteSharedEnvVariableRequest + +## Example Usage + +```typescript +import { DeleteSharedEnvVariableRequest } from "@vercel/sdk/models/deletesharedenvvariableop.js"; + +let value: DeleteSharedEnvVariableRequest = { + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + slug: "my-team-url-slug", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | team_1a2b3c4d5e6f7g8h9i0j1k2l | +| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | my-team-url-slug | +| `requestBody` | [models.DeleteSharedEnvVariableRequestBody](../models/deletesharedenvvariablerequestbody.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/deletesharedenvvariablerequestbody.md b/docs/models/deletesharedenvvariablerequestbody.md new file mode 100644 index 000000000..8843b103d --- /dev/null +++ b/docs/models/deletesharedenvvariablerequestbody.md @@ -0,0 +1,20 @@ +# DeleteSharedEnvVariableRequestBody + +## Example Usage + +```typescript +import { DeleteSharedEnvVariableRequestBody } from "@vercel/sdk/models/deletesharedenvvariableop.js"; + +let value: DeleteSharedEnvVariableRequestBody = { + ids: [ + "env_abc123", + "env_abc124", + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | +| `ids` | *string*[] | :heavy_check_mark: | IDs of the Shared Environment Variables to delete | [
"env_abc123",
"env_abc124"
] | \ No newline at end of file diff --git a/docs/models/deletesharedenvvariableresponsebody.md b/docs/models/deletesharedenvvariableresponsebody.md new file mode 100644 index 000000000..12cfc7139 --- /dev/null +++ b/docs/models/deletesharedenvvariableresponsebody.md @@ -0,0 +1,28 @@ +# DeleteSharedEnvVariableResponseBody + +## Example Usage + +```typescript +import { DeleteSharedEnvVariableResponseBody } from "@vercel/sdk/models/deletesharedenvvariableop.js"; + +let value: DeleteSharedEnvVariableResponseBody = { + deleted: [ + "", + ], + failed: [ + { + error: { + code: "", + message: "", + }, + }, + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `deleted` | *string*[] | :heavy_check_mark: | N/A | +| `failed` | [models.DeleteSharedEnvVariableFailed](../models/deletesharedenvvariablefailed.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/deletesharedenvvariabletarget.md b/docs/models/deletesharedenvvariabletarget.md new file mode 100644 index 000000000..83c836958 --- /dev/null +++ b/docs/models/deletesharedenvvariabletarget.md @@ -0,0 +1,19 @@ +# DeleteSharedEnvVariableTarget + + +## Supported Types + +### `models.DeleteSharedEnvVariableTarget1[]` + +```typescript +const value: models.DeleteSharedEnvVariableTarget1[] = [ + "development", +]; +``` + +### `models.DeleteSharedEnvVariableTarget2` + +```typescript +const value: models.DeleteSharedEnvVariableTarget2 = "preview"; +``` + diff --git a/docs/models/deletesharedenvvariabletarget1.md b/docs/models/deletesharedenvvariabletarget1.md new file mode 100644 index 000000000..56a3ffade --- /dev/null +++ b/docs/models/deletesharedenvvariabletarget1.md @@ -0,0 +1,15 @@ +# DeleteSharedEnvVariableTarget1 + +## Example Usage + +```typescript +import { DeleteSharedEnvVariableTarget1 } from "@vercel/sdk/models/deletesharedenvvariableop.js"; + +let value: DeleteSharedEnvVariableTarget1 = "development"; +``` + +## Values + +```typescript +"production" | "preview" | "development" +``` \ No newline at end of file diff --git a/docs/models/deletesharedenvvariabletarget2.md b/docs/models/deletesharedenvvariabletarget2.md new file mode 100644 index 000000000..3fea1eaa9 --- /dev/null +++ b/docs/models/deletesharedenvvariabletarget2.md @@ -0,0 +1,15 @@ +# DeleteSharedEnvVariableTarget2 + +## Example Usage + +```typescript +import { DeleteSharedEnvVariableTarget2 } from "@vercel/sdk/models/deletesharedenvvariableop.js"; + +let value: DeleteSharedEnvVariableTarget2 = "production"; +``` + +## Values + +```typescript +"production" | "preview" | "development" +``` \ No newline at end of file diff --git a/docs/models/deletesharedenvvariablevalue.md b/docs/models/deletesharedenvvariablevalue.md new file mode 100644 index 000000000..768407c5a --- /dev/null +++ b/docs/models/deletesharedenvvariablevalue.md @@ -0,0 +1,19 @@ +# DeleteSharedEnvVariableValue + + +## Supported Types + +### `string` + +```typescript +const value: string = ""; +``` + +### `models.DeleteSharedEnvVariableValue2[]` + +```typescript +const value: models.DeleteSharedEnvVariableValue2[] = [ + "preview", +]; +``` + diff --git a/docs/models/deletesharedenvvariablevalue2.md b/docs/models/deletesharedenvvariablevalue2.md new file mode 100644 index 000000000..e785e086b --- /dev/null +++ b/docs/models/deletesharedenvvariablevalue2.md @@ -0,0 +1,15 @@ +# DeleteSharedEnvVariableValue2 + +## Example Usage + +```typescript +import { DeleteSharedEnvVariableValue2 } from "@vercel/sdk/models/deletesharedenvvariableop.js"; + +let value: DeleteSharedEnvVariableValue2 = "preview"; +``` + +## Values + +```typescript +"production" | "preview" | "development" +``` \ No newline at end of file diff --git a/docs/models/delivery.md b/docs/models/delivery.md new file mode 100644 index 000000000..c00c55dc5 --- /dev/null +++ b/docs/models/delivery.md @@ -0,0 +1,35 @@ +# Delivery + + +## Supported Types + +### `models.Delivery1` + +```typescript +const value: models.Delivery1 = { + type: "", + endpoint: "", + encoding: "json", + headers: { + "key": "", + "key1": "", + "key2": "", + }, +}; +``` + +### `models.Delivery2` + +```typescript +const value: models.Delivery2 = { + type: "", + endpoint: { + traces: "", + }, + encoding: "json", + headers: { + "key": "", + }, +}; +``` + diff --git a/docs/models/delivery1.md b/docs/models/delivery1.md new file mode 100644 index 000000000..965a7dd21 --- /dev/null +++ b/docs/models/delivery1.md @@ -0,0 +1,29 @@ +# Delivery1 + +## Example Usage + +```typescript +import { Delivery1 } from "@vercel/sdk/models/createdrainop.js"; + +let value: Delivery1 = { + type: "", + endpoint: "", + encoding: "json", + headers: { + "key": "", + "key1": "", + "key2": "", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | +| `type` | *string* | :heavy_check_mark: | N/A | +| `endpoint` | *string* | :heavy_check_mark: | N/A | +| `compression` | [models.Compression](../models/compression.md) | :heavy_minus_sign: | N/A | +| `encoding` | [models.DeliveryEncoding](../models/deliveryencoding.md) | :heavy_check_mark: | N/A | +| `headers` | Record | :heavy_check_mark: | N/A | +| `secret` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/delivery2.md b/docs/models/delivery2.md new file mode 100644 index 000000000..6ac85442f --- /dev/null +++ b/docs/models/delivery2.md @@ -0,0 +1,28 @@ +# Delivery2 + +## Example Usage + +```typescript +import { Delivery2 } from "@vercel/sdk/models/createdrainop.js"; + +let value: Delivery2 = { + type: "", + endpoint: { + traces: "", + }, + encoding: "json", + headers: { + "key": "", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `type` | *string* | :heavy_check_mark: | N/A | +| `endpoint` | *models.Endpoint* | :heavy_check_mark: | N/A | +| `encoding` | [models.CreateDrainDeliveryEncoding](../models/createdraindeliveryencoding.md) | :heavy_check_mark: | N/A | +| `headers` | Record | :heavy_check_mark: | N/A | +| `secret` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/delivery3.md b/docs/models/delivery3.md new file mode 100644 index 000000000..c8912e6a6 --- /dev/null +++ b/docs/models/delivery3.md @@ -0,0 +1,21 @@ +# Delivery3 + +## Example Usage + +```typescript +import { Delivery3 } from "@vercel/sdk/models/createdrainop.js"; + +let value: Delivery3 = { + type: "clickhouse", + endpoint: "", + table: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `type` | [models.CreateDrainDeliveryDrainsType](../models/createdraindeliverydrainstype.md) | :heavy_check_mark: | N/A | +| `endpoint` | *string* | :heavy_check_mark: | N/A | +| `table` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/delivery4.md b/docs/models/delivery4.md new file mode 100644 index 000000000..2e47e9fd4 --- /dev/null +++ b/docs/models/delivery4.md @@ -0,0 +1,19 @@ +# Delivery4 + +## Example Usage + +```typescript +import { Delivery4 } from "@vercel/sdk/models/createdrainop.js"; + +let value: Delivery4 = { + type: "internal", + target: "vercel-otel-traces-db", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `type` | [models.CreateDrainDeliveryDrainsResponseType](../models/createdraindeliverydrainsresponsetype.md) | :heavy_check_mark: | N/A | +| `target` | [models.DeliveryTarget](../models/deliverytarget.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/deliverycompression.md b/docs/models/deliverycompression.md new file mode 100644 index 000000000..cddabb42f --- /dev/null +++ b/docs/models/deliverycompression.md @@ -0,0 +1,15 @@ +# DeliveryCompression + +## Example Usage + +```typescript +import { DeliveryCompression } from "@vercel/sdk/models/updatedrainop.js"; + +let value: DeliveryCompression = "gzip"; +``` + +## Values + +```typescript +"gzip" | "none" +``` \ No newline at end of file diff --git a/docs/models/deliveryencoding.md b/docs/models/deliveryencoding.md new file mode 100644 index 000000000..80631a4ed --- /dev/null +++ b/docs/models/deliveryencoding.md @@ -0,0 +1,15 @@ +# DeliveryEncoding + +## Example Usage + +```typescript +import { DeliveryEncoding } from "@vercel/sdk/models/createdrainop.js"; + +let value: DeliveryEncoding = "json"; +``` + +## Values + +```typescript +"json" | "ndjson" +``` \ No newline at end of file diff --git a/docs/models/deliveryendpoint.md b/docs/models/deliveryendpoint.md new file mode 100644 index 000000000..a296b2a1b --- /dev/null +++ b/docs/models/deliveryendpoint.md @@ -0,0 +1,13 @@ +# DeliveryEndpoint + + +## Supported Types + +### `models.UpdateDrainEndpoint1` + +```typescript +const value: models.UpdateDrainEndpoint1 = { + traces: "", +}; +``` + diff --git a/docs/models/deliveryformat.md b/docs/models/deliveryformat.md index 3a40497ca..e7802b624 100644 --- a/docs/models/deliveryformat.md +++ b/docs/models/deliveryformat.md @@ -5,7 +5,7 @@ The delivery log format ## Example Usage ```typescript -import { DeliveryFormat } from "@vercel/sdk/models/createlogdrainop.js"; +import { DeliveryFormat } from "@vercel/sdk/models/createconfigurablelogdrainop.js"; let value: DeliveryFormat = "json"; ``` diff --git a/docs/models/deliverytarget.md b/docs/models/deliverytarget.md new file mode 100644 index 000000000..d9b50f902 --- /dev/null +++ b/docs/models/deliverytarget.md @@ -0,0 +1,15 @@ +# DeliveryTarget + +## Example Usage + +```typescript +import { DeliveryTarget } from "@vercel/sdk/models/createdrainop.js"; + +let value: DeliveryTarget = "vercel-otel-traces-db"; +``` + +## Values + +```typescript +"vercel-otel-traces-db" +``` \ No newline at end of file diff --git a/docs/models/deliverytype.md b/docs/models/deliverytype.md new file mode 100644 index 000000000..8be57dfb4 --- /dev/null +++ b/docs/models/deliverytype.md @@ -0,0 +1,15 @@ +# DeliveryType + +## Example Usage + +```typescript +import { DeliveryType } from "@vercel/sdk/models/createdrainop.js"; + +let value: DeliveryType = "http"; +``` + +## Values + +```typescript +"http" +``` \ No newline at end of file diff --git a/docs/models/details.md b/docs/models/details.md index be66af11d..41a8e3769 100644 --- a/docs/models/details.md +++ b/docs/models/details.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Details } from "@vercel/sdk/models/importresourceop.js"; +import { Details } from "@vercel/sdk/models/updateinstallationop.js"; let value: Details = { label: "", diff --git a/docs/models/disabledreason.md b/docs/models/disabledreason.md index 11778239e..18c5b9d93 100644 --- a/docs/models/disabledreason.md +++ b/docs/models/disabledreason.md @@ -3,13 +3,13 @@ ## Example Usage ```typescript -import { DisabledReason } from "@vercel/sdk/models/getconfigurationsop.js"; +import { DisabledReason } from "@vercel/sdk/models/createdrainop.js"; -let value: DisabledReason = "disabled-by-admin"; +let value: DisabledReason = "feature-not-available"; ``` ## Values ```typescript -"disabled-by-owner" | "feature-not-available" | "disabled-by-admin" | "original-owner-left-the-team" | "account-plan-downgrade" | "original-owner-role-downgraded" +"disabled-by-owner" | "feature-not-available" | "account-plan-downgrade" | "disabled-by-admin" ``` \ No newline at end of file diff --git a/docs/models/domains.md b/docs/models/domains.md index b33857ce5..412510bae 100644 --- a/docs/models/domains.md +++ b/docs/models/domains.md @@ -3,61 +3,21 @@ ## Example Usage ```typescript -import { Domains } from "@vercel/sdk/models/getdomainsop.js"; +import { Domains } from "@vercel/sdk/models/buydomainsop.js"; let value: 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: "", + domainName: "concerned-bell.name", + autoRenew: true, + years: 101.03, + expectedPrice: 3273.83, }; ``` ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `verified` | *boolean* | :heavy_check_mark: | If the domain has the ownership verified. | true | -| `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` | [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"
} | -| `registrar` | [models.GetDomainsRegistrar](../models/getdomainsregistrar.md) | :heavy_minus_sign: | Whether or not the domain is registered with Name.com. If set to `true`, the domain is registered with Name.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 | -| `expiresAt` | *number* | :heavy_check_mark: | Timestamp in milliseconds at which the domain is set to expire. `null` if not bought with Vercel. | 1613602938882 | -| `id` | *string* | :heavy_check_mark: | The unique identifier of the domain. | EmTbe5CEJyTk2yVAHBUWy4A3sRusca3GCwRjTC1bpeVnt1 | -| `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` | [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 +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `domainName` | *string* | :heavy_check_mark: | N/A | +| `autoRenew` | *boolean* | :heavy_check_mark: | Whether the domain should be auto-renewed before it expires. This can be configured later through the Vercel Dashboard or the [Update auto-renew for a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/update-auto-renew-for-a-domain) endpoint. | +| `years` | *number* | :heavy_check_mark: | The number of years to purchase the domain for. | +| `expectedPrice` | *number* | :heavy_check_mark: | The expected price for the domain. Use the [Get price data for a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/get-price-data-for-a-domain) endpoint to retrieve the price data for a domain. | \ No newline at end of file diff --git a/docs/models/domains1.md b/docs/models/domains1.md new file mode 100644 index 000000000..d7137d873 --- /dev/null +++ b/docs/models/domains1.md @@ -0,0 +1,28 @@ +# Domains1 + +## Example Usage + +```typescript +import { Domains1 } from "@vercel/sdk/models/getorderop.js"; + +let value: Domains1 = { + purchaseType: "purchase", + autoRenew: true, + years: 7534.4, + domainName: "taut-cauliflower.net", + status: "completed", + price: 3599.64, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | +| `purchaseType` | [models.GetOrderDomainsDomainsRegistrarPurchaseType](../models/getorderdomainsdomainsregistrarpurchasetype.md) | :heavy_check_mark: | N/A | +| `autoRenew` | *boolean* | :heavy_check_mark: | N/A | +| `years` | *number* | :heavy_check_mark: | The number of years the domain is being purchased for. | +| `domainName` | *string* | :heavy_check_mark: | N/A | +| `status` | [models.DomainsStatus](../models/domainsstatus.md) | :heavy_check_mark: | N/A | +| `price` | *number* | :heavy_check_mark: | The price for the domain. | +| `error` | *models.DomainsError* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/domains2.md b/docs/models/domains2.md new file mode 100644 index 000000000..badc91d0a --- /dev/null +++ b/docs/models/domains2.md @@ -0,0 +1,26 @@ +# Domains2 + +## Example Usage + +```typescript +import { Domains2 } from "@vercel/sdk/models/getorderop.js"; + +let value: Domains2 = { + purchaseType: "renewal", + years: 7846.54, + domainName: "hungry-mountain.net", + status: "pending", + price: 8001.66, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `purchaseType` | [models.DomainsPurchaseType](../models/domainspurchasetype.md) | :heavy_check_mark: | N/A | +| `years` | *number* | :heavy_check_mark: | The number of years the domain is being renewed for. | +| `domainName` | *string* | :heavy_check_mark: | N/A | +| `status` | [models.GetOrderDomainsStatus](../models/getorderdomainsstatus.md) | :heavy_check_mark: | N/A | +| `price` | *number* | :heavy_check_mark: | The price for the domain. | +| `error` | *models.GetOrderDomainsError* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/domains3.md b/docs/models/domains3.md new file mode 100644 index 000000000..b55946970 --- /dev/null +++ b/docs/models/domains3.md @@ -0,0 +1,28 @@ +# Domains3 + +## Example Usage + +```typescript +import { Domains3 } from "@vercel/sdk/models/getorderop.js"; + +let value: Domains3 = { + purchaseType: "transfer", + autoRenew: false, + years: 8949.87, + domainName: "hurtful-essence.name", + status: "failed", + price: 6459.45, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `purchaseType` | [models.GetOrderDomainsPurchaseType](../models/getorderdomainspurchasetype.md) | :heavy_check_mark: | N/A | +| `autoRenew` | *boolean* | :heavy_check_mark: | N/A | +| `years` | *number* | :heavy_check_mark: | The number of years the domain is being transferred for. | +| `domainName` | *string* | :heavy_check_mark: | N/A | +| `status` | [models.GetOrderDomainsDomainsRegistrarStatus](../models/getorderdomainsdomainsregistrarstatus.md) | :heavy_check_mark: | N/A | +| `price` | *number* | :heavy_check_mark: | The price for the domain. | +| `error` | *models.GetOrderDomainsDomainsRegistrarError* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/domainserror.md b/docs/models/domainserror.md new file mode 100644 index 000000000..ae4def047 --- /dev/null +++ b/docs/models/domainserror.md @@ -0,0 +1,21 @@ +# DomainsError + + +## Supported Types + +### `models.GetOrderErrorDomainsRegistrarResponse1` + +```typescript +const value: models.GetOrderErrorDomainsRegistrarResponse1 = { + code: "claims-notice-required", +}; +``` + +### `models.GetOrderErrorDomainsRegistrarResponse2` + +```typescript +const value: models.GetOrderErrorDomainsRegistrarResponse2 = { + code: "", +}; +``` + diff --git a/docs/models/domainspurchasetype.md b/docs/models/domainspurchasetype.md new file mode 100644 index 000000000..d93bfe8c7 --- /dev/null +++ b/docs/models/domainspurchasetype.md @@ -0,0 +1,15 @@ +# DomainsPurchaseType + +## Example Usage + +```typescript +import { DomainsPurchaseType } from "@vercel/sdk/models/getorderop.js"; + +let value: DomainsPurchaseType = "renewal"; +``` + +## Values + +```typescript +"renewal" +``` \ No newline at end of file diff --git a/docs/models/domainsstatus.md b/docs/models/domainsstatus.md new file mode 100644 index 000000000..12efb39ec --- /dev/null +++ b/docs/models/domainsstatus.md @@ -0,0 +1,15 @@ +# DomainsStatus + +## Example Usage + +```typescript +import { DomainsStatus } from "@vercel/sdk/models/getorderop.js"; + +let value: DomainsStatus = "pending"; +``` + +## Values + +```typescript +"pending" | "completed" | "failed" | "refunded" | "refund-failed" +``` \ No newline at end of file diff --git a/docs/models/drains.md b/docs/models/drains.md new file mode 100644 index 000000000..d00f7cd88 --- /dev/null +++ b/docs/models/drains.md @@ -0,0 +1,17 @@ +# Drains + + +## Supported Types + +### `models.Drains1[]` + +```typescript +const value: models.Drains1[] = []; +``` + +### `models.Drains2[]` + +```typescript +const value: models.Drains2[] = []; +``` + diff --git a/docs/models/drains1.md b/docs/models/drains1.md new file mode 100644 index 000000000..ee9f0ca88 --- /dev/null +++ b/docs/models/drains1.md @@ -0,0 +1,44 @@ +# Drains1 + +## Example Usage + +```typescript +import { Drains1 } from "@vercel/sdk/models/getdrainsop.js"; + +let value: Drains1 = { + id: "", + ownerId: "", + name: "", + createdAt: 9071.91, + updatedAt: 1734.08, + source: { + kind: "self-served", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | N/A | +| `ownerId` | *string* | :heavy_check_mark: | N/A | +| `name` | *string* | :heavy_check_mark: | N/A | +| `createdAt` | *number* | :heavy_check_mark: | N/A | +| `createdFrom` | [models.DrainsCreatedFrom](../models/drainscreatedfrom.md) | :heavy_minus_sign: | N/A | +| `updatedAt` | *number* | :heavy_check_mark: | N/A | +| `projectIds` | *string*[] | :heavy_minus_sign: | N/A | +| `schemas` | [models.DrainsSchemas](../models/drainsschemas.md) | :heavy_minus_sign: | N/A | +| `delivery` | *models.DrainsDelivery* | :heavy_minus_sign: | N/A | +| `sampling` | [models.DrainsSampling](../models/drainssampling.md)[] | :heavy_minus_sign: | N/A | +| `teamId` | *string* | :heavy_minus_sign: | N/A | +| `status` | [models.DrainsStatus](../models/drainsstatus.md) | :heavy_minus_sign: | N/A | +| `disabledAt` | *number* | :heavy_minus_sign: | N/A | +| `disabledReason` | [models.DrainsDisabledReason](../models/drainsdisabledreason.md) | :heavy_minus_sign: | N/A | +| `disabledBy` | *string* | :heavy_minus_sign: | N/A | +| `firstErrorTimestamp` | *number* | :heavy_minus_sign: | N/A | +| `configurationId` | *string* | :heavy_minus_sign: | N/A | +| `clientId` | *string* | :heavy_minus_sign: | N/A | +| `source` | *models.DrainsSource* | :heavy_check_mark: | N/A | +| `filter` | *string* | :heavy_minus_sign: | N/A | +| `filterV2` | *models.DrainsFilterV2* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/drains2.md b/docs/models/drains2.md new file mode 100644 index 000000000..70aba542b --- /dev/null +++ b/docs/models/drains2.md @@ -0,0 +1,48 @@ +# Drains2 + +## Example Usage + +```typescript +import { Drains2 } from "@vercel/sdk/models/getdrainsop.js"; + +let value: Drains2 = { + id: "", + ownerId: "", + name: "", + createdAt: 7356.26, + updatedAt: 7249.52, + source: { + kind: "self-served", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | N/A | +| `ownerId` | *string* | :heavy_check_mark: | N/A | +| `name` | *string* | :heavy_check_mark: | N/A | +| `createdAt` | *number* | :heavy_check_mark: | N/A | +| `createdFrom` | [models.GetDrainsDrainsCreatedFrom](../models/getdrainsdrainscreatedfrom.md) | :heavy_minus_sign: | N/A | +| `updatedAt` | *number* | :heavy_check_mark: | N/A | +| `projectIds` | *string*[] | :heavy_minus_sign: | N/A | +| `schemas` | [models.GetDrainsDrainsSchemas](../models/getdrainsdrainsschemas.md) | :heavy_minus_sign: | N/A | +| `delivery` | *models.GetDrainsDrainsDelivery* | :heavy_minus_sign: | N/A | +| `sampling` | [models.GetDrainsDrainsSampling](../models/getdrainsdrainssampling.md)[] | :heavy_minus_sign: | N/A | +| `teamId` | *string* | :heavy_minus_sign: | N/A | +| `status` | [models.GetDrainsDrainsStatus](../models/getdrainsdrainsstatus.md) | :heavy_minus_sign: | N/A | +| `disabledAt` | *number* | :heavy_minus_sign: | N/A | +| `disabledReason` | [models.GetDrainsDrainsDisabledReason](../models/getdrainsdrainsdisabledreason.md) | :heavy_minus_sign: | N/A | +| `disabledBy` | *string* | :heavy_minus_sign: | N/A | +| `firstErrorTimestamp` | *number* | :heavy_minus_sign: | N/A | +| `configurationId` | *string* | :heavy_minus_sign: | N/A | +| `clientId` | *string* | :heavy_minus_sign: | N/A | +| `source` | *models.GetDrainsDrainsSource* | :heavy_check_mark: | N/A | +| `filter` | *string* | :heavy_minus_sign: | N/A | +| `filterV2` | *models.GetDrainsDrainsFilterV2* | :heavy_minus_sign: | N/A | +| `integrationIcon` | *string* | :heavy_minus_sign: | N/A | +| `integrationConfigurationUri` | *string* | :heavy_minus_sign: | N/A | +| `integrationWebsite` | *string* | :heavy_minus_sign: | N/A | +| `projectsMetadata` | [models.DrainsProjectsMetadata](../models/drainsprojectsmetadata.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/drainsanalytics.md b/docs/models/drainsanalytics.md new file mode 100644 index 000000000..ec35d0b0f --- /dev/null +++ b/docs/models/drainsanalytics.md @@ -0,0 +1,14 @@ +# DrainsAnalytics + +## Example Usage + +```typescript +import { DrainsAnalytics } from "@vercel/sdk/models/getdrainsop.js"; + +let value: DrainsAnalytics = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/drainscreatedfrom.md b/docs/models/drainscreatedfrom.md new file mode 100644 index 000000000..956d63e91 --- /dev/null +++ b/docs/models/drainscreatedfrom.md @@ -0,0 +1,15 @@ +# DrainsCreatedFrom + +## Example Usage + +```typescript +import { DrainsCreatedFrom } from "@vercel/sdk/models/getdrainsop.js"; + +let value: DrainsCreatedFrom = "self-served"; +``` + +## Values + +```typescript +"self-served" | "integration" +``` \ No newline at end of file diff --git a/docs/models/drainsdelivery.md b/docs/models/drainsdelivery.md new file mode 100644 index 000000000..f232e9d6c --- /dev/null +++ b/docs/models/drainsdelivery.md @@ -0,0 +1,54 @@ +# DrainsDelivery + + +## Supported Types + +### `models.GetDrainsDelivery1` + +```typescript +const value: models.GetDrainsDelivery1 = { + type: "http", + endpoint: "", + encoding: "json", + headers: { + "key": "", + }, +}; +``` + +### `models.GetDrainsDelivery2` + +```typescript +const value: models.GetDrainsDelivery2 = { + type: "otlphttp", + endpoint: { + traces: "", + }, + encoding: "proto", + headers: { + "key": "", + "key1": "", + "key2": "", + }, +}; +``` + +### `models.GetDrainsDelivery3` + +```typescript +const value: models.GetDrainsDelivery3 = { + type: "clickhouse", + endpoint: "", + table: "", +}; +``` + +### `models.GetDrainsDelivery4` + +```typescript +const value: models.GetDrainsDelivery4 = { + type: "internal", + target: "vercel-otel-traces-db", +}; +``` + diff --git a/docs/models/drainsdisabledreason.md b/docs/models/drainsdisabledreason.md new file mode 100644 index 000000000..b3e649d2b --- /dev/null +++ b/docs/models/drainsdisabledreason.md @@ -0,0 +1,15 @@ +# DrainsDisabledReason + +## Example Usage + +```typescript +import { DrainsDisabledReason } from "@vercel/sdk/models/getdrainsop.js"; + +let value: DrainsDisabledReason = "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/drainsenv.md b/docs/models/drainsenv.md new file mode 100644 index 000000000..30ff716b3 --- /dev/null +++ b/docs/models/drainsenv.md @@ -0,0 +1,15 @@ +# DrainsEnv + +## Example Usage + +```typescript +import { DrainsEnv } from "@vercel/sdk/models/getdrainsop.js"; + +let value: DrainsEnv = "preview"; +``` + +## Values + +```typescript +"production" | "preview" +``` \ No newline at end of file diff --git a/docs/models/drainsfilterv2.md b/docs/models/drainsfilterv2.md new file mode 100644 index 000000000..961d34283 --- /dev/null +++ b/docs/models/drainsfilterv2.md @@ -0,0 +1,24 @@ +# DrainsFilterV2 + + +## Supported Types + +### `models.GetDrainsFilterV21` + +```typescript +const value: models.GetDrainsFilterV21 = { + version: "v1", +}; +``` + +### `models.GetDrainsFilterV22` + +```typescript +const value: models.GetDrainsFilterV22 = { + version: "v2", + filter: { + type: "basic", + }, +}; +``` + diff --git a/docs/models/drainsframework.md b/docs/models/drainsframework.md new file mode 100644 index 000000000..fe7a1feaa --- /dev/null +++ b/docs/models/drainsframework.md @@ -0,0 +1,15 @@ +# DrainsFramework + +## Example Usage + +```typescript +import { DrainsFramework } from "@vercel/sdk/models/getdrainsop.js"; + +let value: DrainsFramework = "svelte"; +``` + +## Values + +```typescript +"blitzjs" | "nextjs" | "gatsby" | "remix" | "react-router" | "astro" | "hexo" | "eleventy" | "docusaurus-2" | "docusaurus" | "preact" | "solidstart-1" | "solidstart" | "dojo" | "ember" | "vue" | "scully" | "ionic-angular" | "angular" | "polymer" | "svelte" | "sveltekit" | "sveltekit-1" | "ionic-react" | "create-react-app" | "gridsome" | "umijs" | "sapper" | "saber" | "stencil" | "nuxtjs" | "redwoodjs" | "hugo" | "jekyll" | "brunch" | "middleman" | "zola" | "hydrogen" | "vite" | "tanstack-start" | "vitepress" | "vuepress" | "parcel" | "fastapi" | "flask" | "fasthtml" | "sanity-v3" | "sanity" | "storybook" | "nitro" | "hono" | "express" | "h3" | "nestjs" | "elysia" | "fastify" | "xmcp" +``` \ No newline at end of file diff --git a/docs/models/drainslog.md b/docs/models/drainslog.md new file mode 100644 index 000000000..de76fc29c --- /dev/null +++ b/docs/models/drainslog.md @@ -0,0 +1,14 @@ +# DrainsLog + +## Example Usage + +```typescript +import { DrainsLog } from "@vercel/sdk/models/getdrainsop.js"; + +let value: DrainsLog = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/drainsprojectsmetadata.md b/docs/models/drainsprojectsmetadata.md new file mode 100644 index 000000000..0900121cb --- /dev/null +++ b/docs/models/drainsprojectsmetadata.md @@ -0,0 +1,21 @@ +# DrainsProjectsMetadata + +## Example Usage + +```typescript +import { DrainsProjectsMetadata } from "@vercel/sdk/models/getdrainsop.js"; + +let value: DrainsProjectsMetadata = { + id: "", + name: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | +| `id` | *string* | :heavy_check_mark: | N/A | +| `name` | *string* | :heavy_check_mark: | N/A | +| `framework` | [models.DrainsFramework](../models/drainsframework.md) | :heavy_minus_sign: | N/A | +| `latestDeployment` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/drainssampling.md b/docs/models/drainssampling.md new file mode 100644 index 000000000..03e94e64a --- /dev/null +++ b/docs/models/drainssampling.md @@ -0,0 +1,21 @@ +# DrainsSampling + +## Example Usage + +```typescript +import { DrainsSampling } from "@vercel/sdk/models/getdrainsop.js"; + +let value: DrainsSampling = { + type: "head_sampling", + rate: 8962.45, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | +| `type` | [models.DrainsType](../models/drainstype.md) | :heavy_check_mark: | N/A | +| `rate` | *number* | :heavy_check_mark: | N/A | +| `env` | [models.DrainsEnv](../models/drainsenv.md) | :heavy_minus_sign: | N/A | +| `requestPath` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/drainsschemas.md b/docs/models/drainsschemas.md new file mode 100644 index 000000000..a53ca1a92 --- /dev/null +++ b/docs/models/drainsschemas.md @@ -0,0 +1,18 @@ +# DrainsSchemas + +## Example Usage + +```typescript +import { DrainsSchemas } from "@vercel/sdk/models/getdrainsop.js"; + +let value: DrainsSchemas = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | +| `log` | [models.DrainsLog](../models/drainslog.md) | :heavy_minus_sign: | N/A | +| `trace` | [models.DrainsTrace](../models/drainstrace.md) | :heavy_minus_sign: | N/A | +| `analytics` | [models.DrainsAnalytics](../models/drainsanalytics.md) | :heavy_minus_sign: | N/A | +| `speedInsights` | [models.DrainsSpeedInsights](../models/drainsspeedinsights.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/drainssource.md b/docs/models/drainssource.md new file mode 100644 index 000000000..f13ffd603 --- /dev/null +++ b/docs/models/drainssource.md @@ -0,0 +1,23 @@ +# DrainsSource + + +## Supported Types + +### `models.GetDrainsSource1` + +```typescript +const value: models.GetDrainsSource1 = { + kind: "self-served", +}; +``` + +### `models.GetDrainsSource2` + +```typescript +const value: models.GetDrainsSource2 = { + kind: "integration", + integrationId: "", + integrationConfigurationId: "", +}; +``` + diff --git a/docs/models/drainsspeedinsights.md b/docs/models/drainsspeedinsights.md new file mode 100644 index 000000000..12df41772 --- /dev/null +++ b/docs/models/drainsspeedinsights.md @@ -0,0 +1,14 @@ +# DrainsSpeedInsights + +## Example Usage + +```typescript +import { DrainsSpeedInsights } from "@vercel/sdk/models/getdrainsop.js"; + +let value: DrainsSpeedInsights = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/drainsstatus.md b/docs/models/drainsstatus.md new file mode 100644 index 000000000..b57f2e019 --- /dev/null +++ b/docs/models/drainsstatus.md @@ -0,0 +1,15 @@ +# DrainsStatus + +## Example Usage + +```typescript +import { DrainsStatus } from "@vercel/sdk/models/getdrainsop.js"; + +let value: DrainsStatus = "disabled"; +``` + +## Values + +```typescript +"enabled" | "disabled" | "errored" +``` \ No newline at end of file diff --git a/docs/models/drainstrace.md b/docs/models/drainstrace.md new file mode 100644 index 000000000..709ee316e --- /dev/null +++ b/docs/models/drainstrace.md @@ -0,0 +1,14 @@ +# DrainsTrace + +## Example Usage + +```typescript +import { DrainsTrace } from "@vercel/sdk/models/getdrainsop.js"; + +let value: DrainsTrace = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/drainstype.md b/docs/models/drainstype.md new file mode 100644 index 000000000..0bd996c6f --- /dev/null +++ b/docs/models/drainstype.md @@ -0,0 +1,15 @@ +# DrainsType + +## Example Usage + +```typescript +import { DrainsType } from "@vercel/sdk/models/getdrainsop.js"; + +let value: DrainsType = "head_sampling"; +``` + +## Values + +```typescript +"head_sampling" +``` \ No newline at end of file diff --git a/docs/models/eighty.md b/docs/models/eighty.md index 822882245..3fc3c7db2 100644 --- a/docs/models/eighty.md +++ b/docs/models/eighty.md @@ -9,12 +9,24 @@ import { Eighty } from "@vercel/sdk/models/userevent.js"; let value: Eighty = { projectId: "", + projectAnalytics: { + id: "", + disabledAt: 7344.14, + enabledAt: 2336.35, + }, + prevProjectAnalytics: { + id: "", + disabledAt: 9242.8, + enabledAt: 2794.41, + }, }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `projectName` | *string* | :heavy_minus_sign: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | +| `projectName` | *string* | :heavy_minus_sign: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectAnalytics` | [models.ProjectAnalytics](../models/projectanalytics.md) | :heavy_check_mark: | N/A | +| `prevProjectAnalytics` | [models.PrevProjectAnalytics](../models/prevprojectanalytics.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/eightyeight.md b/docs/models/eightyeight.md index 871c19a7f..b9f308f40 100644 --- a/docs/models/eightyeight.md +++ b/docs/models/eightyeight.md @@ -8,13 +8,14 @@ The payload of the event, if requested. import { EightyEight } from "@vercel/sdk/models/userevent.js"; let value: EightyEight = { - projectId: "", + name: "", + ownerId: "", }; ``` ## Fields -| Field | Type | Required | Description | -| -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `reasonCode` | [models.ReasonCode](../models/reasoncode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `name` | *string* | :heavy_check_mark: | N/A | +| `ownerId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/eightyfive.md b/docs/models/eightyfive.md index 56c1b81a5..53f7dc4ff 100644 --- a/docs/models/eightyfive.md +++ b/docs/models/eightyfive.md @@ -9,13 +9,15 @@ import { EightyFive } from "@vercel/sdk/models/userevent.js"; let value: EightyFive = { projectName: "", - action: "disabled", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | -| `projectName` | *string* | :heavy_check_mark: | N/A | -| `action` | [models.UserEventPayload85Action](../models/usereventpayload85action.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | +| `projectName` | *string* | :heavy_check_mark: | N/A | +| `trustedIps` | [models.TrustedIps](../models/trustedips.md) | :heavy_minus_sign: | N/A | +| `oldTrustedIps` | [models.OldTrustedIps](../models/oldtrustedips.md) | :heavy_minus_sign: | N/A | +| `addedAddresses` | *string*[] | :heavy_minus_sign: | N/A | +| `removedAddresses` | *string*[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/eightyfour.md b/docs/models/eightyfour.md index 216a425cc..a79a7d82b 100644 --- a/docs/models/eightyfour.md +++ b/docs/models/eightyfour.md @@ -9,13 +9,17 @@ import { EightyFour } from "@vercel/sdk/models/userevent.js"; let value: EightyFour = { projectName: "", + passwordProtection: { + deploymentType: "prod_deployment_urls_and_all_previews", + }, + oldPasswordProtection: "all_except_custom_domains", }; ``` ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -| `projectName` | *string* | :heavy_check_mark: | N/A | -| `optionsAllowlist` | [models.OptionsAllowlist](../models/optionsallowlist.md) | :heavy_minus_sign: | N/A | -| `oldOptionsAllowlist` | [models.OldOptionsAllowlist](../models/oldoptionsallowlist.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------- | ---------------------------------- | ---------------------------------- | ---------------------------------- | +| `projectName` | *string* | :heavy_check_mark: | N/A | +| `passwordProtection` | *models.PayloadPasswordProtection* | :heavy_check_mark: | N/A | +| `oldPasswordProtection` | *models.OldPasswordProtection* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/eightynine.md b/docs/models/eightynine.md index 7b8d48a89..fe8f7dc5b 100644 --- a/docs/models/eightynine.md +++ b/docs/models/eightynine.md @@ -8,12 +8,21 @@ The payload of the event, if requested. import { EightyNine } from "@vercel/sdk/models/userevent.js"; let value: EightyNine = { - projectId: "", + team: { + id: "", + name: "", + }, + project: { + id: "", + oldConnectConfigurations: [], + newConnectConfigurations: [], + }, }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `projectId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `team` | [models.UserEventPayload89Team](../models/usereventpayload89team.md) | :heavy_check_mark: | N/A | +| `project` | [models.UserEventPayload89Project](../models/usereventpayload89project.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/eightyone.md b/docs/models/eightyone.md index 6b16d6dec..0f6d7a069 100644 --- a/docs/models/eightyone.md +++ b/docs/models/eightyone.md @@ -8,18 +8,15 @@ The payload of the event, if requested. import { EightyOne } from "@vercel/sdk/models/userevent.js"; let value: EightyOne = { - projectName: "", - ssoProtection: "preview", - oldSsoProtection: { - deploymentType: "preview", - }, + projectId: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ----------------------------- | ----------------------------- | ----------------------------- | ----------------------------- | -| `projectName` | *string* | :heavy_check_mark: | N/A | -| `ssoProtection` | *models.PayloadSsoProtection* | :heavy_check_mark: | N/A | -| `oldSsoProtection` | *models.OldSsoProtection* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------- | ---------------------- | ---------------------- | ---------------------- | +| `projectName` | *string* | :heavy_minus_sign: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectAnalytics` | Record | :heavy_minus_sign: | N/A | +| `prevProjectAnalytics` | Record | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/eightyseven.md b/docs/models/eightyseven.md index a48282cf3..ec400c7e1 100644 --- a/docs/models/eightyseven.md +++ b/docs/models/eightyseven.md @@ -8,30 +8,14 @@ The payload of the event, if requested. import { EightySeven } from "@vercel/sdk/models/userevent.js"; let value: EightySeven = { - team: { - id: "", - name: "", - }, - project: { - id: "", - oldConnectConfigurations: null, - newConnectConfigurations: [ - { - envId: "", - connectConfigurationId: "", - passive: true, - buildsEnabled: false, - createdAt: 5463.76, - updatedAt: 2696.76, - }, - ], - }, + projectName: "", + action: "enabled", }; ``` ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -| `team` | [models.UserEventPayload87Team](../models/usereventpayload87team.md) | :heavy_check_mark: | N/A | -| `project` | [models.UserEventPayload87Project](../models/usereventpayload87project.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | +| `projectName` | *string* | :heavy_check_mark: | N/A | +| `action` | [models.UserEventPayload87Action](../models/usereventpayload87action.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/eightysix.md b/docs/models/eightysix.md index 385e272e7..9829b1798 100644 --- a/docs/models/eightysix.md +++ b/docs/models/eightysix.md @@ -8,14 +8,14 @@ The payload of the event, if requested. import { EightySix } from "@vercel/sdk/models/userevent.js"; let value: EightySix = { - name: "", - ownerId: "", + projectName: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `name` | *string* | :heavy_check_mark: | N/A | -| `ownerId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | +| `projectName` | *string* | :heavy_check_mark: | N/A | +| `optionsAllowlist` | [models.OptionsAllowlist](../models/optionsallowlist.md) | :heavy_minus_sign: | N/A | +| `oldOptionsAllowlist` | [models.OldOptionsAllowlist](../models/oldoptionsallowlist.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/eightythree.md b/docs/models/eightythree.md index 597e5437d..bd2280546 100644 --- a/docs/models/eightythree.md +++ b/docs/models/eightythree.md @@ -9,15 +9,19 @@ import { EightyThree } from "@vercel/sdk/models/userevent.js"; let value: EightyThree = { projectName: "", + ssoProtection: { + deploymentType: "preview", + }, + oldSsoProtection: { + deploymentType: "preview", + }, }; ``` ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -| `projectName` | *string* | :heavy_check_mark: | N/A | -| `trustedIps` | [models.TrustedIps](../models/trustedips.md) | :heavy_minus_sign: | N/A | -| `oldTrustedIps` | [models.OldTrustedIps](../models/oldtrustedips.md) | :heavy_minus_sign: | N/A | -| `addedAddresses` | *string*[] | :heavy_minus_sign: | N/A | -| `removedAddresses` | *string*[] | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------- | ----------------------------- | ----------------------------- | ----------------------------- | +| `projectName` | *string* | :heavy_check_mark: | N/A | +| `ssoProtection` | *models.PayloadSsoProtection* | :heavy_check_mark: | N/A | +| `oldSsoProtection` | *models.OldSsoProtection* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/eightytwo.md b/docs/models/eightytwo.md index 3da9985d1..f5cab1988 100644 --- a/docs/models/eightytwo.md +++ b/docs/models/eightytwo.md @@ -8,20 +8,13 @@ The payload of the event, if requested. import { EightyTwo } from "@vercel/sdk/models/userevent.js"; let value: EightyTwo = { - projectName: "", - passwordProtection: { - deploymentType: "preview", - }, - oldPasswordProtection: { - deploymentType: "all_except_custom_domains", - }, + projectId: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------- | ---------------------------------- | ---------------------------------- | ---------------------------------- | -| `projectName` | *string* | :heavy_check_mark: | N/A | -| `passwordProtection` | *models.PayloadPasswordProtection* | :heavy_check_mark: | N/A | -| `oldPasswordProtection` | *models.OldPasswordProtection* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `projectName` | *string* | :heavy_minus_sign: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/endpoint.md b/docs/models/endpoint.md new file mode 100644 index 000000000..2e43f2003 --- /dev/null +++ b/docs/models/endpoint.md @@ -0,0 +1,13 @@ +# Endpoint + + +## Supported Types + +### `models.Endpoint1` + +```typescript +const value: models.Endpoint1 = { + traces: "", +}; +``` + diff --git a/docs/models/endpoint1.md b/docs/models/endpoint1.md new file mode 100644 index 000000000..60b3f8afa --- /dev/null +++ b/docs/models/endpoint1.md @@ -0,0 +1,17 @@ +# Endpoint1 + +## Example Usage + +```typescript +import { Endpoint1 } from "@vercel/sdk/models/createdrainop.js"; + +let value: Endpoint1 = { + traces: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `traces` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/env.md b/docs/models/env.md index 159ed59a5..e904262a3 100644 --- a/docs/models/env.md +++ b/docs/models/env.md @@ -1,38 +1,17 @@ # Env +Environment to apply sampling to + ## Example Usage ```typescript -import { Env } from "@vercel/sdk/models/updateprojectdatacacheop.js"; +import { Env } from "@vercel/sdk/models/createdrainop.js"; -let value: Env = { - type: "system", - value: "", - key: "", -}; +let value: Env = "production"; ``` -## Fields +## Values -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | -| `target` | *models.UpdateProjectDataCacheTarget* | :heavy_minus_sign: | N/A | -| `type` | [models.UpdateProjectDataCacheProjectsResponse200ApplicationJSONType](../models/updateprojectdatacacheprojectsresponse200applicationjsontype.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. | -| `decrypted` | *boolean* | :heavy_minus_sign: | N/A | -| `value` | *string* | :heavy_check_mark: | N/A | -| `vsmValue` | *string* | :heavy_minus_sign: | N/A | -| `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.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. | -| `comment` | *string* | :heavy_minus_sign: | N/A | -| `customEnvironmentIds` | *string*[] | :heavy_minus_sign: | N/A | \ No newline at end of file +```typescript +"production" | "preview" +``` \ No newline at end of file diff --git a/docs/models/environments.md b/docs/models/environments.md index 9dbc09371..cefd39228 100644 --- a/docs/models/environments.md +++ b/docs/models/environments.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Environments } from "@vercel/sdk/models/createlogdrainop.js"; +import { Environments } from "@vercel/sdk/models/createconfigurablelogdrainop.js"; let value: Environments = "preview"; ``` diff --git a/docs/models/error1.md b/docs/models/error1.md new file mode 100644 index 000000000..ecfdf4b2a --- /dev/null +++ b/docs/models/error1.md @@ -0,0 +1,48 @@ +# Error1 + + +## Supported Types + +### `models.GetOrder11` + +```typescript +const value: models.GetOrder11 = { + code: "payment-failed", +}; +``` + +### `models.GetOrder12` + +```typescript +const value: models.GetOrder12 = { + code: "tld-outage", + details: { + tlds: [ + { + tldName: "", + endsAt: "", + }, + ], + }, +}; +``` + +### `models.GetOrder13` + +```typescript +const value: models.GetOrder13 = { + code: "price-mismatch", + details: { + expectedPrice: 6230.96, + }, +}; +``` + +### `models.One4` + +```typescript +const value: models.One4 = { + code: "unexpected-error", +}; +``` + diff --git a/docs/models/error2.md b/docs/models/error2.md new file mode 100644 index 000000000..8ba7dc717 --- /dev/null +++ b/docs/models/error2.md @@ -0,0 +1,18 @@ +# Error2 + +## Example Usage + +```typescript +import { Error2 } from "@vercel/sdk/models/getorderop.js"; + +let value: Error2 = { + code: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `code` | *string* | :heavy_check_mark: | N/A | +| `details` | *any* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/event2.md b/docs/models/event2.md index c08f40c61..66f9db2be 100644 --- a/docs/models/event2.md +++ b/docs/models/event2.md @@ -7,7 +7,6 @@ import { Event2 } from "@vercel/sdk/models/createeventop.js"; let value: Event2 = { type: "resource.updated", - productId: "", resourceId: "", }; ``` @@ -17,5 +16,5 @@ let value: Event2 = { | 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 | +| `productId` | *string* | :heavy_minus_sign: | 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/events.md b/docs/models/events.md index d0ba1a172..1daa90b0b 100644 --- a/docs/models/events.md +++ b/docs/models/events.md @@ -5,11 +5,11 @@ ```typescript import { Events } from "@vercel/sdk/models/createwebhookop.js"; -let value: Events = "deployment"; +let value: Events = "integration-configuration-permission-updated"; ``` ## Values ```typescript -"budget.reached" | "budget.reset" | "domain.created" | "domain.dns.records.changed" | "domain.transfer-in.started" | "domain.transfer-in.completed" | "domain.transfer-in.failed" | "domain.certificate.add" | "domain.certificate.add.failed" | "domain.certificate.renew" | "domain.certificate.renew.failed" | "domain.certificate.deleted" | "domain.renewal" | "domain.renewal.failed" | "domain.auto-renew.changed" | "deployment.created" | "deployment.cleanup" | "deployment.error" | "deployment.canceled" | "deployment.succeeded" | "deployment.ready" | "deployment.check-rerequested" | "deployment.promoted" | "deployment.integration.action.start" | "deployment.integration.action.cancel" | "deployment.integration.action.cleanup" | "deployment.checkrun.start" | "deployment.checkrun.cancel" | "edge-config.created" | "edge-config.deleted" | "edge-config.items.updated" | "firewall.attack" | "integration-configuration.permission-upgraded" | "integration-configuration.removed" | "integration-configuration.scope-change-confirmed" | "integration-resource.project-connected" | "integration-resource.project-disconnected" | "project.created" | "project.removed" | "project.domain.created" | "project.domain.updated" | "project.domain.deleted" | "project.domain.verified" | "project.domain.unverified" | "project.domain.moved" | "project.rolling-release.started" | "project.rolling-release.aborted" | "project.rolling-release.completed" | "project.rolling-release.approved" | "deployment.checks.failed" | "deployment.checks.succeeded" | "deployment-checks-completed" | "deployment-ready" | "deployment-prepared" | "deployment-error" | "deployment-check-rerequested" | "deployment-canceled" | "project-created" | "project-removed" | "domain-created" | "deployment" | "integration-configuration-permission-updated" | "integration-configuration-removed" | "integration-configuration-scope-change-confirmed" | "marketplace.member.changed" | "marketplace.invoice.created" | "marketplace.invoice.paid" | "marketplace.invoice.notpaid" | "marketplace.invoice.refunded" | "observability.anomaly" | "observability.anomaly-error" | "observability.anomaly-botId" | "test-webhook" +"budget.reached" | "budget.reset" | "domain.created" | "domain.dns.records.changed" | "domain.transfer-in.started" | "domain.transfer-in.completed" | "domain.transfer-in.failed" | "domain.certificate.add" | "domain.certificate.add.failed" | "domain.certificate.renew" | "domain.certificate.renew.failed" | "domain.certificate.deleted" | "domain.renewal" | "domain.renewal.failed" | "domain.auto-renew.changed" | "deployment.created" | "deployment.cleanup" | "deployment.error" | "deployment.canceled" | "deployment.succeeded" | "deployment.ready" | "deployment.check-rerequested" | "deployment.promoted" | "deployment.integration.action.start" | "deployment.integration.action.cancel" | "deployment.integration.action.cleanup" | "deployment.checkrun.start" | "deployment.checkrun.cancel" | "edge-config.created" | "edge-config.deleted" | "edge-config.items.updated" | "firewall.attack" | "integration-configuration.permission-upgraded" | "integration-configuration.removed" | "integration-configuration.scope-change-confirmed" | "integration-resource.project-connected" | "integration-resource.project-disconnected" | "project.created" | "project.removed" | "project.domain.created" | "project.domain.updated" | "project.domain.deleted" | "project.domain.verified" | "project.domain.unverified" | "project.domain.moved" | "project.rolling-release.started" | "project.rolling-release.aborted" | "project.rolling-release.completed" | "project.rolling-release.approved" | "deployment.checks.failed" | "deployment.checks.succeeded" | "deployment-checks-completed" | "deployment-ready" | "deployment-prepared" | "deployment-error" | "deployment-check-rerequested" | "deployment-canceled" | "project-created" | "project-removed" | "domain-created" | "deployment" | "integration-configuration-permission-updated" | "integration-configuration-removed" | "integration-configuration-scope-change-confirmed" | "marketplace.member.changed" | "marketplace.invoice.created" | "marketplace.invoice.paid" | "marketplace.invoice.notpaid" | "marketplace.invoice.refunded" | "observability.anomaly" | "observability.anomaly-error" | "observability.usage-anomaly" | "observability.error-anomaly" | "observability.anomaly-botId" | "test-webhook" ``` \ No newline at end of file diff --git a/docs/models/evs.md b/docs/models/evs.md new file mode 100644 index 000000000..69c1272da --- /dev/null +++ b/docs/models/evs.md @@ -0,0 +1,21 @@ +# Evs + +## Example Usage + +```typescript +import { Evs } from "@vercel/sdk/models/createsharedenvvariableop.js"; + +let value: Evs = { + key: "API_URL", + value: "https://api.vercel.com", + comment: "database connection string for production", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | +| `key` | *string* | :heavy_check_mark: | The name of the Shared Environment Variable | API_URL | +| `value` | *string* | :heavy_check_mark: | The value of the Shared Environment Variable | https://api.vercel.com | +| `comment` | *string* | :heavy_minus_sign: | A comment to add context on what this Shared Environment Variable is for | database connection string for production | \ No newline at end of file diff --git a/docs/models/example.md b/docs/models/example.md index e14eb8833..5a5177cd1 100644 --- a/docs/models/example.md +++ b/docs/models/example.md @@ -6,7 +6,7 @@ import { Example } from "@vercel/sdk/models/getconfigurationproductsop.js"; let value: Example = { - atBRANDAt543472: {}, + atBRANDAt649501: {}, }; ``` @@ -14,4 +14,4 @@ let value: Example = { | Field | Type | Required | Description | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `atBRANDAt543472` | [models.GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8AtBRANDAt543472](../models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema8atbrandat543472.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `atBRANDAt649501` | [models.GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8AtBRANDAt649501](../models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema8atbrandat649501.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/exchangessotokenresponsebody.md b/docs/models/exchangessotokenresponsebody.md index 6473b7848..a89a14f5f 100644 --- a/docs/models/exchangessotokenresponsebody.md +++ b/docs/models/exchangessotokenresponsebody.md @@ -18,4 +18,5 @@ let value: ExchangeSsoTokenResponseBody = { | ------------------ | ------------------ | ------------------ | ------------------ | | `idToken` | *string* | :heavy_check_mark: | N/A | | `accessToken` | *string* | :heavy_check_mark: | N/A | -| `tokenType` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| `tokenType` | *string* | :heavy_check_mark: | N/A | +| `expiresIn` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/externalresourcestatus.md b/docs/models/externalresourcestatus.md index c7f5ce66f..13eea58a0 100644 --- a/docs/models/externalresourcestatus.md +++ b/docs/models/externalresourcestatus.md @@ -5,11 +5,11 @@ ```typescript import { ExternalResourceStatus } from "@vercel/sdk/models/createintegrationstoredirectop.js"; -let value: ExternalResourceStatus = "pending"; +let value: ExternalResourceStatus = "ready"; ``` ## Values ```typescript -"error" | "suspended" | "uninstalled" | "ready" | "pending" | "resumed" +"error" | "suspended" | "onboarding" | "uninstalled" | "ready" | "pending" | "resumed" ``` \ No newline at end of file diff --git a/docs/models/failed.md b/docs/models/failed.md index 826438d2d..55d5d33ae 100644 --- a/docs/models/failed.md +++ b/docs/models/failed.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Failed } from "@vercel/sdk/models/createprojectenvop.js"; +import { Failed } from "@vercel/sdk/models/createsharedenvvariableop.js"; let value: Failed = { error: { @@ -15,6 +15,6 @@ let value: Failed = { ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | -| `error` | [models.CreateProjectEnvError](../models/createprojectenverror.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `error` | [models.CreateSharedEnvVariableError](../models/createsharedenvvariableerror.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fifty.md b/docs/models/fifty.md index 682299c0a..0d5feb922 100644 --- a/docs/models/fifty.md +++ b/docs/models/fifty.md @@ -9,8 +9,8 @@ import { Fifty } from "@vercel/sdk/models/userevent.js"; let value: Fifty = { name: "", - destinationId: "", - destinationName: "", + fromId: "", + fromName: "", }; ``` @@ -19,5 +19,5 @@ let value: Fifty = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | | `name` | *string* | :heavy_check_mark: | N/A | -| `destinationId` | *string* | :heavy_check_mark: | N/A | -| `destinationName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| `fromId` | *string* | :heavy_check_mark: | N/A | +| `fromName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fiftyeight.md b/docs/models/fiftyeight.md index f5326cba2..8de9ba42a 100644 --- a/docs/models/fiftyeight.md +++ b/docs/models/fiftyeight.md @@ -8,22 +8,47 @@ The payload of the event, if requested. import { FiftyEight } from "@vercel/sdk/models/userevent.js"; let value: FiftyEight = { - projectId: "", - restore: true, - configVersion: 2420.26, - configChangeCount: 129.83, - configChanges: [ - {}, + created: new Date("2021-02-10T13:11:49.180Z"), + key: "my-api-key", + ownerId: "team_LLHUOMOoDlqOp8wPE4kFo9pE", + id: "env_XCG7t7AIHuO2SBA8667zNUiM", + createdBy: "2qDDuGFTWXBLDNnqZfWPDp1A", + deletedBy: "2qDDuGFTWXBLDNnqZfWPDp1A", + updatedBy: "2qDDuGFTWXBLDNnqZfWPDp1A", + createdAt: 1609492210000, + deletedAt: 1609492210000, + updatedAt: 1609492210000, + projectId: [ + "prj_2WjyKQmM8ZnGcJsPWMrHRHrE", + "prj_2WjyKQmM8ZnGcJsPWMrasEFg", + ], + type: "encrypted", + target: [ + "production", ], }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `restore` | *boolean* | :heavy_check_mark: | N/A | -| `configVersion` | *number* | :heavy_check_mark: | N/A | -| `configChangeCount` | *number* | :heavy_check_mark: | N/A | -| `configChanges` | [models.ConfigChanges](../models/configchanges.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `created` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The date when the Shared Env Var was created. | 2021-02-10T13:11:49.180Z | +| `key` | *string* | :heavy_minus_sign: | The name of the Shared Env Var. | my-api-key | +| `ownerId` | *string* | :heavy_minus_sign: | The unique identifier of the owner (team) the Shared Env Var was created for. | team_LLHUOMOoDlqOp8wPE4kFo9pE | +| `id` | *string* | :heavy_minus_sign: | The unique identifier of the Shared Env Var. | env_XCG7t7AIHuO2SBA8667zNUiM | +| `createdBy` | *string* | :heavy_minus_sign: | The unique identifier of the user who created the Shared Env Var. | 2qDDuGFTWXBLDNnqZfWPDp1A | +| `deletedBy` | *string* | :heavy_minus_sign: | The unique identifier of the user who deleted the Shared Env Var. | 2qDDuGFTWXBLDNnqZfWPDp1A | +| `updatedBy` | *string* | :heavy_minus_sign: | The unique identifier of the user who last updated the Shared Env Var. | 2qDDuGFTWXBLDNnqZfWPDp1A | +| `createdAt` | *number* | :heavy_minus_sign: | Timestamp for when the Shared Env Var was created. | 1609492210000 | +| `deletedAt` | *number* | :heavy_minus_sign: | Timestamp for when the Shared Env Var was (soft) deleted. | 1609492210000 | +| `updatedAt` | *number* | :heavy_minus_sign: | Timestamp for when the Shared Env Var was last updated. | 1609492210000 | +| `value` | *string* | :heavy_minus_sign: | The value of the Shared Env Var. | | +| `projectId` | *string*[] | :heavy_minus_sign: | The unique identifiers of the projects which the Shared Env Var is linked to. | [
"prj_2WjyKQmM8ZnGcJsPWMrHRHrE",
"prj_2WjyKQmM8ZnGcJsPWMrasEFg"
] | +| `type` | [models.PayloadType](../models/payloadtype.md) | :heavy_minus_sign: | The type of this cosmos doc instance, if blank, assume secret. | encrypted | +| `target` | [models.PayloadTarget](../models/payloadtarget.md)[] | :heavy_minus_sign: | environments this env variable targets | production | +| `applyToAllCustomEnvironments` | *boolean* | :heavy_minus_sign: | whether or not this env varible applies to custom environments | | +| `decrypted` | *boolean* | :heavy_minus_sign: | whether or not this env variable is decrypted | | +| `comment` | *string* | :heavy_minus_sign: | A user provided comment that describes what this Shared Env Var is for. | | +| `lastEditedByDisplayName` | *string* | :heavy_minus_sign: | The last editor full name or username. | | +| `projectNames` | *string*[] | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/fiftyfive.md b/docs/models/fiftyfive.md index 29e68f089..90576cb52 100644 --- a/docs/models/fiftyfive.md +++ b/docs/models/fiftyfive.md @@ -7,19 +7,21 @@ The payload of the event, if requested. ```typescript import { FiftyFive } from "@vercel/sdk/models/userevent.js"; -let value: FiftyFive = {}; +let value: FiftyFive = { + sha: "", + gitUserPlatform: "", + projectName: "", + gitCommitterName: "", + source: "", +}; ``` ## Fields -| Field | Type | Required | Description | -| ------------------- | ------------------- | ------------------- | ------------------- | -| `key` | *string* | :heavy_minus_sign: | N/A | -| `projectId` | *string* | :heavy_minus_sign: | N/A | -| `projectName` | *string* | :heavy_minus_sign: | N/A | -| `target` | *models.Target* | :heavy_minus_sign: | N/A | -| `id` | *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 | -| `source` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `sha` | *string* | :heavy_check_mark: | N/A | +| `gitUserPlatform` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | +| `gitCommitterName` | *string* | :heavy_check_mark: | N/A | +| `source` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fiftyfour.md b/docs/models/fiftyfour.md index 37a7c04b3..2875bb380 100644 --- a/docs/models/fiftyfour.md +++ b/docs/models/fiftyfour.md @@ -8,7 +8,6 @@ The payload of the event, if requested. import { FiftyFour } from "@vercel/sdk/models/userevent.js"; let value: FiftyFour = { - email: "Sheldon.Huels@gmail.com", name: "", }; ``` @@ -17,5 +16,6 @@ let value: FiftyFour = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `email` | *string* | :heavy_check_mark: | N/A | -| `name` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| `name` | *string* | :heavy_check_mark: | N/A | +| `price` | *number* | :heavy_minus_sign: | N/A | +| `currency` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/fiftynine.md b/docs/models/fiftynine.md index 26fc44a30..8c40c86a4 100644 --- a/docs/models/fiftynine.md +++ b/docs/models/fiftynine.md @@ -8,16 +8,53 @@ The payload of the event, if requested. import { FiftyNine } from "@vercel/sdk/models/userevent.js"; let value: FiftyNine = { - projectId: "", - scope: "", - source: "", + oldEnvVar: { + created: new Date("2021-02-10T13:11:49.180Z"), + key: "my-api-key", + ownerId: "team_LLHUOMOoDlqOp8wPE4kFo9pE", + id: "env_XCG7t7AIHuO2SBA8667zNUiM", + createdBy: "2qDDuGFTWXBLDNnqZfWPDp1A", + deletedBy: "2qDDuGFTWXBLDNnqZfWPDp1A", + updatedBy: "2qDDuGFTWXBLDNnqZfWPDp1A", + createdAt: 1609492210000, + deletedAt: 1609492210000, + updatedAt: 1609492210000, + projectId: [ + "prj_2WjyKQmM8ZnGcJsPWMrHRHrE", + "prj_2WjyKQmM8ZnGcJsPWMrasEFg", + ], + type: "encrypted", + target: [ + "production", + ], + }, + newEnvVar: { + created: new Date("2021-02-10T13:11:49.180Z"), + key: "my-api-key", + ownerId: "team_LLHUOMOoDlqOp8wPE4kFo9pE", + id: "env_XCG7t7AIHuO2SBA8667zNUiM", + createdBy: "2qDDuGFTWXBLDNnqZfWPDp1A", + deletedBy: "2qDDuGFTWXBLDNnqZfWPDp1A", + updatedBy: "2qDDuGFTWXBLDNnqZfWPDp1A", + createdAt: 1609492210000, + deletedAt: 1609492210000, + updatedAt: 1609492210000, + projectId: [ + "prj_2WjyKQmM8ZnGcJsPWMrHRHrE", + "prj_2WjyKQmM8ZnGcJsPWMrasEFg", + ], + type: "encrypted", + target: [ + "production", + ], + }, }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `scope` | *string* | :heavy_check_mark: | N/A | -| `source` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | +| `oldEnvVar` | [models.OldEnvVar](../models/oldenvvar.md) | :heavy_minus_sign: | N/A | +| `newEnvVar` | [models.NewEnvVar](../models/newenvvar.md) | :heavy_minus_sign: | N/A | +| `updateDiff` | [models.UpdateDiff](../models/updatediff.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/fiftyone.md b/docs/models/fiftyone.md index a0821cf4f..0244c0511 100644 --- a/docs/models/fiftyone.md +++ b/docs/models/fiftyone.md @@ -8,7 +8,9 @@ The payload of the event, if requested. import { FiftyOne } from "@vercel/sdk/models/userevent.js"; let value: FiftyOne = { - domain: "timely-essence.net", + name: "", + destinationId: "", + destinationName: "", }; ``` @@ -16,5 +18,6 @@ let value: FiftyOne = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `renew` | *boolean* | :heavy_minus_sign: | N/A | -| `domain` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| `name` | *string* | :heavy_check_mark: | N/A | +| `destinationId` | *string* | :heavy_check_mark: | N/A | +| `destinationName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fiftyseven.md b/docs/models/fiftyseven.md index 9bf6ef76d..0f1bac5e3 100644 --- a/docs/models/fiftyseven.md +++ b/docs/models/fiftyseven.md @@ -7,54 +7,19 @@ The payload of the event, if requested. ```typescript import { FiftySeven } from "@vercel/sdk/models/userevent.js"; -let value: FiftySeven = { - oldEnvVar: { - created: new Date("2021-02-10T13:11:49.180Z"), - key: "my-api-key", - ownerId: "team_LLHUOMOoDlqOp8wPE4kFo9pE", - id: "env_XCG7t7AIHuO2SBA8667zNUiM", - createdBy: "2qDDuGFTWXBLDNnqZfWPDp1A", - deletedBy: "2qDDuGFTWXBLDNnqZfWPDp1A", - updatedBy: "2qDDuGFTWXBLDNnqZfWPDp1A", - createdAt: 1609492210000, - deletedAt: 1609492210000, - updatedAt: 1609492210000, - projectId: [ - "prj_2WjyKQmM8ZnGcJsPWMrHRHrE", - "prj_2WjyKQmM8ZnGcJsPWMrasEFg", - ], - type: "encrypted", - target: [ - "production", - ], - }, - newEnvVar: { - created: new Date("2021-02-10T13:11:49.180Z"), - key: "my-api-key", - ownerId: "team_LLHUOMOoDlqOp8wPE4kFo9pE", - id: "env_XCG7t7AIHuO2SBA8667zNUiM", - createdBy: "2qDDuGFTWXBLDNnqZfWPDp1A", - deletedBy: "2qDDuGFTWXBLDNnqZfWPDp1A", - updatedBy: "2qDDuGFTWXBLDNnqZfWPDp1A", - createdAt: 1609492210000, - deletedAt: 1609492210000, - updatedAt: 1609492210000, - projectId: [ - "prj_2WjyKQmM8ZnGcJsPWMrHRHrE", - "prj_2WjyKQmM8ZnGcJsPWMrasEFg", - ], - type: "encrypted", - target: [ - "production", - ], - }, -}; +let value: FiftySeven = {}; ``` ## Fields -| Field | Type | Required | Description | -| -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -| `oldEnvVar` | [models.OldEnvVar](../models/oldenvvar.md) | :heavy_minus_sign: | N/A | -| `newEnvVar` | [models.NewEnvVar](../models/newenvvar.md) | :heavy_minus_sign: | N/A | -| `updateDiff` | [models.UpdateDiff](../models/updatediff.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------- | ------------------- | ------------------- | ------------------- | +| `key` | *string* | :heavy_minus_sign: | N/A | +| `projectId` | *string* | :heavy_minus_sign: | N/A | +| `projectName` | *string* | :heavy_minus_sign: | N/A | +| `target` | *models.Target* | :heavy_minus_sign: | N/A | +| `id` | *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 | +| `source` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/fiftysix.md b/docs/models/fiftysix.md index 1e433bd3e..1ca6c1b45 100644 --- a/docs/models/fiftysix.md +++ b/docs/models/fiftysix.md @@ -8,47 +8,14 @@ The payload of the event, if requested. import { FiftySix } from "@vercel/sdk/models/userevent.js"; let value: FiftySix = { - created: new Date("2021-02-10T13:11:49.180Z"), - key: "my-api-key", - ownerId: "team_LLHUOMOoDlqOp8wPE4kFo9pE", - id: "env_XCG7t7AIHuO2SBA8667zNUiM", - createdBy: "2qDDuGFTWXBLDNnqZfWPDp1A", - deletedBy: "2qDDuGFTWXBLDNnqZfWPDp1A", - updatedBy: "2qDDuGFTWXBLDNnqZfWPDp1A", - createdAt: 1609492210000, - deletedAt: 1609492210000, - updatedAt: 1609492210000, - projectId: [ - "prj_2WjyKQmM8ZnGcJsPWMrHRHrE", - "prj_2WjyKQmM8ZnGcJsPWMrasEFg", - ], - type: "encrypted", - target: [ - "production", - ], + email: "Filomena47@gmail.com", + name: "", }; ``` ## Fields -| Field | Type | Required | Description | Example | -| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | -| `created` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The date when the Shared Env Var was created. | 2021-02-10T13:11:49.180Z | -| `key` | *string* | :heavy_minus_sign: | The name of the Shared Env Var. | my-api-key | -| `ownerId` | *string* | :heavy_minus_sign: | The unique identifier of the owner (team) the Shared Env Var was created for. | team_LLHUOMOoDlqOp8wPE4kFo9pE | -| `id` | *string* | :heavy_minus_sign: | The unique identifier of the Shared Env Var. | env_XCG7t7AIHuO2SBA8667zNUiM | -| `createdBy` | *string* | :heavy_minus_sign: | The unique identifier of the user who created the Shared Env Var. | 2qDDuGFTWXBLDNnqZfWPDp1A | -| `deletedBy` | *string* | :heavy_minus_sign: | The unique identifier of the user who deleted the Shared Env Var. | 2qDDuGFTWXBLDNnqZfWPDp1A | -| `updatedBy` | *string* | :heavy_minus_sign: | The unique identifier of the user who last updated the Shared Env Var. | 2qDDuGFTWXBLDNnqZfWPDp1A | -| `createdAt` | *number* | :heavy_minus_sign: | Timestamp for when the Shared Env Var was created. | 1609492210000 | -| `deletedAt` | *number* | :heavy_minus_sign: | Timestamp for when the Shared Env Var was (soft) deleted. | 1609492210000 | -| `updatedAt` | *number* | :heavy_minus_sign: | Timestamp for when the Shared Env Var was last updated. | 1609492210000 | -| `value` | *string* | :heavy_minus_sign: | The value of the Shared Env Var. | | -| `projectId` | *string*[] | :heavy_minus_sign: | The unique identifiers of the projects which the Shared Env Var is linked to. | [
"prj_2WjyKQmM8ZnGcJsPWMrHRHrE",
"prj_2WjyKQmM8ZnGcJsPWMrasEFg"
] | -| `type` | [models.PayloadType](../models/payloadtype.md) | :heavy_minus_sign: | The type of this cosmos doc instance, if blank, assume secret. | encrypted | -| `target` | [models.PayloadTarget](../models/payloadtarget.md)[] | :heavy_minus_sign: | environments this env variable targets | production | -| `applyToAllCustomEnvironments` | *boolean* | :heavy_minus_sign: | whether or not this env varible applies to custom environments | | -| `decrypted` | *boolean* | :heavy_minus_sign: | whether or not this env variable is decrypted | | -| `comment` | *string* | :heavy_minus_sign: | A user provided comment that describes what this Shared Env Var is for. | | -| `lastEditedByDisplayName` | *string* | :heavy_minus_sign: | The last editor full name or username. | | -| `projectNames` | *string*[] | :heavy_minus_sign: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `email` | *string* | :heavy_check_mark: | N/A | +| `name` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fiftythree.md b/docs/models/fiftythree.md index 416be4dc0..1a3768003 100644 --- a/docs/models/fiftythree.md +++ b/docs/models/fiftythree.md @@ -8,11 +8,7 @@ The payload of the event, if requested. import { FiftyThree } from "@vercel/sdk/models/userevent.js"; let value: FiftyThree = { - sha: "", - gitUserPlatform: "", - projectName: "", - gitCommitterName: "", - source: "", + domain: "splendid-gymnast.biz", }; ``` @@ -20,8 +16,5 @@ let value: FiftyThree = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `sha` | *string* | :heavy_check_mark: | N/A | -| `gitUserPlatform` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | -| `gitCommitterName` | *string* | :heavy_check_mark: | N/A | -| `source` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| `renew` | *boolean* | :heavy_minus_sign: | N/A | +| `domain` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fiftytwo.md b/docs/models/fiftytwo.md index 247019a47..725a6086d 100644 --- a/docs/models/fiftytwo.md +++ b/docs/models/fiftytwo.md @@ -9,6 +9,8 @@ import { FiftyTwo } from "@vercel/sdk/models/userevent.js"; let value: FiftyTwo = { name: "", + destinationId: "", + destinationName: "", }; ``` @@ -17,5 +19,5 @@ let value: FiftyTwo = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | | `name` | *string* | :heavy_check_mark: | N/A | -| `price` | *number* | :heavy_minus_sign: | N/A | -| `currency` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| `destinationId` | *string* | :heavy_check_mark: | N/A | +| `destinationName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/filetree.md b/docs/models/filetree.md index fb825eea9..465a80e10 100644 --- a/docs/models/filetree.md +++ b/docs/models/filetree.md @@ -34,5 +34,4 @@ let value: FileTree = { | `uid` | *string* | :heavy_minus_sign: | The unique identifier of the file (only valid for the `file` type) | 2d4aad419917f15b1146e9e03ddc9bb31747e4d0 | | `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 +| `mode` | *number* | :heavy_check_mark: | The file "mode" indicating file type and permissions. | | \ No newline at end of file diff --git a/docs/models/filter.md b/docs/models/filter.md new file mode 100644 index 000000000..37d94c9dd --- /dev/null +++ b/docs/models/filter.md @@ -0,0 +1,22 @@ +# Filter + + +## Supported Types + +### `string` + +```typescript +const value: string = ""; +``` + +### `models.Filter2` + +```typescript +const value: models.Filter2 = { + version: "", + filter: { + type: "", + }, +}; +``` + diff --git a/docs/models/filter1.md b/docs/models/filter1.md new file mode 100644 index 000000000..e25b5e7d4 --- /dev/null +++ b/docs/models/filter1.md @@ -0,0 +1,20 @@ +# Filter1 + +## Example Usage + +```typescript +import { Filter1 } from "@vercel/sdk/models/createdrainop.js"; + +let value: Filter1 = { + type: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `type` | *string* | :heavy_check_mark: | N/A | +| `project` | [models.CreateDrainFilterProject](../models/createdrainfilterproject.md) | :heavy_minus_sign: | N/A | +| `log` | [models.Log](../models/log.md) | :heavy_minus_sign: | N/A | +| `deployment` | [models.CreateDrainFilterDeployment](../models/createdrainfilterdeployment.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/filter2.md b/docs/models/filter2.md new file mode 100644 index 000000000..6da960ea2 --- /dev/null +++ b/docs/models/filter2.md @@ -0,0 +1,21 @@ +# Filter2 + +## Example Usage + +```typescript +import { Filter2 } from "@vercel/sdk/models/createdrainop.js"; + +let value: Filter2 = { + version: "", + filter: { + type: "", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| --------------------- | --------------------- | --------------------- | --------------------- | +| `version` | *string* | :heavy_check_mark: | N/A | +| `filter` | *models.FilterFilter* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/filterdeployment.md b/docs/models/filterdeployment.md new file mode 100644 index 000000000..ec7e5df64 --- /dev/null +++ b/docs/models/filterdeployment.md @@ -0,0 +1,15 @@ +# FilterDeployment + +## Example Usage + +```typescript +import { FilterDeployment } from "@vercel/sdk/models/updatedrainop.js"; + +let value: FilterDeployment = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `environments` | [models.UpdateDrainFilterEnvironments](../models/updatedrainfilterenvironments.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/filterenvironments.md b/docs/models/filterenvironments.md new file mode 100644 index 000000000..4acaa77bb --- /dev/null +++ b/docs/models/filterenvironments.md @@ -0,0 +1,15 @@ +# FilterEnvironments + +## Example Usage + +```typescript +import { FilterEnvironments } from "@vercel/sdk/models/createdrainop.js"; + +let value: FilterEnvironments = "production"; +``` + +## Values + +```typescript +"production" | "preview" +``` \ No newline at end of file diff --git a/docs/models/filterfilter.md b/docs/models/filterfilter.md new file mode 100644 index 000000000..a5b1d435e --- /dev/null +++ b/docs/models/filterfilter.md @@ -0,0 +1,22 @@ +# FilterFilter + + +## Supported Types + +### `models.Filter1` + +```typescript +const value: models.Filter1 = { + type: "", +}; +``` + +### `models.CreateDrainFilter2` + +```typescript +const value: models.CreateDrainFilter2 = { + type: "", + text: "", +}; +``` + diff --git a/docs/models/filterlog.md b/docs/models/filterlog.md new file mode 100644 index 000000000..f328f5657 --- /dev/null +++ b/docs/models/filterlog.md @@ -0,0 +1,15 @@ +# FilterLog + +## Example Usage + +```typescript +import { FilterLog } from "@vercel/sdk/models/updatedrainop.js"; + +let value: FilterLog = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `sources` | [models.UpdateDrainFilterSources](../models/updatedrainfiltersources.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/filterproject.md b/docs/models/filterproject.md new file mode 100644 index 000000000..89954f736 --- /dev/null +++ b/docs/models/filterproject.md @@ -0,0 +1,15 @@ +# FilterProject + +## Example Usage + +```typescript +import { FilterProject } from "@vercel/sdk/models/updatedrainop.js"; + +let value: FilterProject = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `ids` | *string*[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/filtersources.md b/docs/models/filtersources.md new file mode 100644 index 000000000..5abcfbd3b --- /dev/null +++ b/docs/models/filtersources.md @@ -0,0 +1,15 @@ +# FilterSources + +## Example Usage + +```typescript +import { FilterSources } from "@vercel/sdk/models/createdrainop.js"; + +let value: FilterSources = "redirect"; +``` + +## Values + +```typescript +"build" | "edge" | "lambda" | "static" | "external" | "firewall" | "redirect" +``` \ No newline at end of file diff --git a/docs/models/filtertype.md b/docs/models/filtertype.md new file mode 100644 index 000000000..199e2a07a --- /dev/null +++ b/docs/models/filtertype.md @@ -0,0 +1,15 @@ +# FilterType + +## Example Usage + +```typescript +import { FilterType } from "@vercel/sdk/models/createdrainop.js"; + +let value: FilterType = "basic"; +``` + +## Values + +```typescript +"basic" +``` \ No newline at end of file diff --git a/docs/models/filterv2.md b/docs/models/filterv2.md new file mode 100644 index 000000000..af06ac8b7 --- /dev/null +++ b/docs/models/filterv2.md @@ -0,0 +1,25 @@ +# FilterV2 + + +## Supported Types + +### `models.FilterV21` + +```typescript +const value: models.FilterV21 = { + version: "v1", +}; +``` + +### `models.FilterV22` + +```typescript +const value: models.FilterV22 = { + version: "v2", + filter: { + type: "odata", + text: "", + }, +}; +``` + diff --git a/docs/models/filterv21.md b/docs/models/filterv21.md new file mode 100644 index 000000000..980c3ef06 --- /dev/null +++ b/docs/models/filterv21.md @@ -0,0 +1,17 @@ +# FilterV21 + +## Example Usage + +```typescript +import { FilterV21 } from "@vercel/sdk/models/createdrainop.js"; + +let value: FilterV21 = { + version: "v1", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | +| `version` | [models.CreateDrainFilterV2DrainsResponseVersion](../models/createdrainfilterv2drainsresponseversion.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/filterv22.md b/docs/models/filterv22.md new file mode 100644 index 000000000..17d809281 --- /dev/null +++ b/docs/models/filterv22.md @@ -0,0 +1,22 @@ +# FilterV22 + +## Example Usage + +```typescript +import { FilterV22 } from "@vercel/sdk/models/createdrainop.js"; + +let value: FilterV22 = { + version: "v2", + filter: { + type: "odata", + text: "", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | +| `version` | [models.FilterV2Version](../models/filterv2version.md) | :heavy_check_mark: | N/A | +| `filter` | *models.FilterV2Filter* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/filterv2filter.md b/docs/models/filterv2filter.md new file mode 100644 index 000000000..b23b5533c --- /dev/null +++ b/docs/models/filterv2filter.md @@ -0,0 +1,22 @@ +# FilterV2Filter + + +## Supported Types + +### `models.CreateDrainFilter1` + +```typescript +const value: models.CreateDrainFilter1 = { + type: "basic", +}; +``` + +### `models.CreateDrainFilterDrains2` + +```typescript +const value: models.CreateDrainFilterDrains2 = { + type: "odata", + text: "", +}; +``` + diff --git a/docs/models/filterv2version.md b/docs/models/filterv2version.md new file mode 100644 index 000000000..a7e04a177 --- /dev/null +++ b/docs/models/filterv2version.md @@ -0,0 +1,15 @@ +# FilterV2Version + +## Example Usage + +```typescript +import { FilterV2Version } from "@vercel/sdk/models/createdrainop.js"; + +let value: FilterV2Version = "v2"; +``` + +## Values + +```typescript +"v2" +``` \ No newline at end of file diff --git a/docs/models/forbidden.md b/docs/models/forbidden.md new file mode 100644 index 000000000..59b9f968f --- /dev/null +++ b/docs/models/forbidden.md @@ -0,0 +1,17 @@ +# Forbidden + +## Example Usage + +```typescript +import { Forbidden } from "@vercel/sdk/models/forbidden.js"; + +// No examples available for this model +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | +| `status` | *number* | :heavy_check_mark: | N/A | +| `code` | [models.ForbiddenCode](../models/forbiddencode.md) | :heavy_check_mark: | N/A | +| `message` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/forbiddencode.md b/docs/models/forbiddencode.md new file mode 100644 index 000000000..74b726958 --- /dev/null +++ b/docs/models/forbiddencode.md @@ -0,0 +1,15 @@ +# ForbiddenCode + +## Example Usage + +```typescript +import { ForbiddenCode } from "@vercel/sdk/models/forbidden.js"; + +let value: ForbiddenCode = "forbidden"; +``` + +## Values + +```typescript +"forbidden" +``` \ No newline at end of file diff --git a/docs/models/forty.md b/docs/models/forty.md index 10ef27494..9f806bb2b 100644 --- a/docs/models/forty.md +++ b/docs/models/forty.md @@ -8,21 +8,14 @@ The payload of the event, if requested. import { Forty } from "@vercel/sdk/models/userevent.js"; let value: Forty = { - id: "", - value: "", - name: "", - domain: "brilliant-king.com", - type: "", + url: "https://mammoth-atrium.info/", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `id` | *string* | :heavy_check_mark: | N/A | -| `value` | *string* | :heavy_check_mark: | N/A | -| `name` | *string* | :heavy_check_mark: | N/A | -| `domain` | *string* | :heavy_check_mark: | N/A | -| `type` | *string* | :heavy_check_mark: | N/A | -| `mxPriority` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | +| `url` | *string* | :heavy_check_mark: | N/A | +| `oldTeam` | [models.UserEventPayloadOldTeam](../models/usereventpayloadoldteam.md) | :heavy_minus_sign: | N/A | +| `newTeam` | [models.UserEventPayloadNewTeam](../models/usereventpayloadnewteam.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/fortyeight.md b/docs/models/fortyeight.md index e38ca64d5..238f9e534 100644 --- a/docs/models/fortyeight.md +++ b/docs/models/fortyeight.md @@ -9,15 +9,13 @@ import { FortyEight } from "@vercel/sdk/models/userevent.js"; let value: FortyEight = { name: "", - fromId: "", - fromName: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `name` | *string* | :heavy_check_mark: | N/A | -| `fromId` | *string* | :heavy_check_mark: | N/A | -| `fromName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `name` | *string* | :heavy_check_mark: | N/A | +| `oldTeam` | [models.UserEventPayload48OldTeam](../models/usereventpayload48oldteam.md) | :heavy_minus_sign: | N/A | +| `newTeam` | [models.UserEventPayload48NewTeam](../models/usereventpayload48newteam.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/fortyfive.md b/docs/models/fortyfive.md index 0f2d7bae3..1cb536245 100644 --- a/docs/models/fortyfive.md +++ b/docs/models/fortyfive.md @@ -9,9 +9,7 @@ import { FortyFive } from "@vercel/sdk/models/userevent.js"; let value: FortyFive = { name: "", - userId: "", - teamId: "", - ownerName: "", + price: 3124.16, }; ``` @@ -20,6 +18,5 @@ let value: FortyFive = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | | `name` | *string* | :heavy_check_mark: | N/A | -| `userId` | *string* | :heavy_check_mark: | N/A | -| `teamId` | *string* | :heavy_check_mark: | N/A | -| `ownerName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| `price` | *number* | :heavy_check_mark: | N/A | +| `currency` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/fortyfour.md b/docs/models/fortyfour.md index 7e5f31cc7..16d775330 100644 --- a/docs/models/fortyfour.md +++ b/docs/models/fortyfour.md @@ -9,7 +9,6 @@ import { FortyFour } from "@vercel/sdk/models/userevent.js"; let value: FortyFour = { name: "", - cdnEnabled: false, }; ``` @@ -17,5 +16,4 @@ let value: FortyFour = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `name` | *string* | :heavy_check_mark: | N/A | -| `cdnEnabled` | *boolean* | :heavy_check_mark: | N/A | \ No newline at end of file +| `name` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fortynine.md b/docs/models/fortynine.md index 7dafb2715..771aec089 100644 --- a/docs/models/fortynine.md +++ b/docs/models/fortynine.md @@ -8,9 +8,8 @@ The payload of the event, if requested. import { FortyNine } from "@vercel/sdk/models/userevent.js"; let value: FortyNine = { + domainId: "", name: "", - destinationId: "", - destinationName: "", }; ``` @@ -18,6 +17,5 @@ let value: FortyNine = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `name` | *string* | :heavy_check_mark: | N/A | -| `destinationId` | *string* | :heavy_check_mark: | N/A | -| `destinationName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| `domainId` | *string* | :heavy_check_mark: | N/A | +| `name` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fortyone.md b/docs/models/fortyone.md index 4fc06df58..6ecd820d3 100644 --- a/docs/models/fortyone.md +++ b/docs/models/fortyone.md @@ -8,20 +8,23 @@ The payload of the event, if requested. import { FortyOne } from "@vercel/sdk/models/userevent.js"; let value: FortyOne = { - id: "", - value: "", - name: "", - domain: "salty-tomatillo.biz", - type: "", + deployment: { + id: "", + name: "", + url: "https://upbeat-design.biz", + meta: { + "key": "", + }, + }, + deploymentId: "", + url: "https://greedy-publicity.com", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `id` | *string* | :heavy_check_mark: | N/A | -| `value` | *string* | :heavy_check_mark: | N/A | -| `name` | *string* | :heavy_check_mark: | N/A | -| `domain` | *string* | :heavy_check_mark: | N/A | -| `type` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `deployment` | [models.UserEventPayloadDeployment](../models/usereventpayloaddeployment.md) | :heavy_check_mark: | N/A | +| `deploymentId` | *string* | :heavy_check_mark: | N/A | +| `url` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fortyseven.md b/docs/models/fortyseven.md index 0911423a6..e70e37427 100644 --- a/docs/models/fortyseven.md +++ b/docs/models/fortyseven.md @@ -8,8 +8,10 @@ The payload of the event, if requested. import { FortySeven } from "@vercel/sdk/models/userevent.js"; let value: FortySeven = { - domainId: "", name: "", + userId: "", + teamId: "", + ownerName: "", }; ``` @@ -17,5 +19,7 @@ let value: FortySeven = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `domainId` | *string* | :heavy_check_mark: | N/A | -| `name` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| `name` | *string* | :heavy_check_mark: | N/A | +| `userId` | *string* | :heavy_check_mark: | N/A | +| `teamId` | *string* | :heavy_check_mark: | N/A | +| `ownerName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fortysix.md b/docs/models/fortysix.md index d500a74c3..0c10725a2 100644 --- a/docs/models/fortysix.md +++ b/docs/models/fortysix.md @@ -9,13 +9,13 @@ import { FortySix } from "@vercel/sdk/models/userevent.js"; let value: FortySix = { name: "", + cdnEnabled: false, }; ``` ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -| `name` | *string* | :heavy_check_mark: | N/A | -| `oldTeam` | [models.UserEventPayload46OldTeam](../models/usereventpayload46oldteam.md) | :heavy_minus_sign: | N/A | -| `newTeam` | [models.UserEventPayload46NewTeam](../models/usereventpayload46newteam.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `name` | *string* | :heavy_check_mark: | N/A | +| `cdnEnabled` | *boolean* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fortythree.md b/docs/models/fortythree.md index d8f90d454..533c8c64a 100644 --- a/docs/models/fortythree.md +++ b/docs/models/fortythree.md @@ -8,8 +8,11 @@ The payload of the event, if requested. import { FortyThree } from "@vercel/sdk/models/userevent.js"; let value: FortyThree = { + id: "", + value: "", name: "", - price: 2119.33, + domain: "each-costume.info", + type: "", }; ``` @@ -17,6 +20,8 @@ let value: FortyThree = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | +| `id` | *string* | :heavy_check_mark: | N/A | +| `value` | *string* | :heavy_check_mark: | N/A | | `name` | *string* | :heavy_check_mark: | N/A | -| `price` | *number* | :heavy_check_mark: | N/A | -| `currency` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| `domain` | *string* | :heavy_check_mark: | N/A | +| `type` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/fortytwo.md b/docs/models/fortytwo.md index f52e414f1..fe1dcc389 100644 --- a/docs/models/fortytwo.md +++ b/docs/models/fortytwo.md @@ -8,7 +8,11 @@ The payload of the event, if requested. import { FortyTwo } from "@vercel/sdk/models/userevent.js"; let value: FortyTwo = { + id: "", + value: "", name: "", + domain: "digital-pantyhose.biz", + type: "", }; ``` @@ -16,4 +20,9 @@ let value: FortyTwo = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `name` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| `id` | *string* | :heavy_check_mark: | N/A | +| `value` | *string* | :heavy_check_mark: | N/A | +| `name` | *string* | :heavy_check_mark: | N/A | +| `domain` | *string* | :heavy_check_mark: | N/A | +| `type` | *string* | :heavy_check_mark: | N/A | +| `mxPriority` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/framework.md b/docs/models/framework.md index 1ee792e99..227c54e07 100644 --- a/docs/models/framework.md +++ b/docs/models/framework.md @@ -13,5 +13,5 @@ let value: Framework = "blitzjs"; ## Values ```typescript -"blitzjs" | "nextjs" | "gatsby" | "remix" | "react-router" | "astro" | "hexo" | "eleventy" | "docusaurus-2" | "docusaurus" | "preact" | "solidstart-1" | "solidstart" | "dojo" | "ember" | "vue" | "scully" | "ionic-angular" | "angular" | "polymer" | "svelte" | "sveltekit" | "sveltekit-1" | "ionic-react" | "create-react-app" | "gridsome" | "umijs" | "sapper" | "saber" | "stencil" | "nuxtjs" | "redwoodjs" | "hugo" | "jekyll" | "brunch" | "middleman" | "zola" | "hydrogen" | "vite" | "vitepress" | "vuepress" | "parcel" | "fastapi" | "fasthtml" | "sanity-v3" | "sanity" | "storybook" | "nitro" | "hono" | "express" | "h3" | "xmcp" +"blitzjs" | "nextjs" | "gatsby" | "remix" | "react-router" | "astro" | "hexo" | "eleventy" | "docusaurus-2" | "docusaurus" | "preact" | "solidstart-1" | "solidstart" | "dojo" | "ember" | "vue" | "scully" | "ionic-angular" | "angular" | "polymer" | "svelte" | "sveltekit" | "sveltekit-1" | "ionic-react" | "create-react-app" | "gridsome" | "umijs" | "sapper" | "saber" | "stencil" | "nuxtjs" | "redwoodjs" | "hugo" | "jekyll" | "brunch" | "middleman" | "zola" | "hydrogen" | "vite" | "tanstack-start" | "vitepress" | "vuepress" | "parcel" | "fastapi" | "flask" | "fasthtml" | "sanity-v3" | "sanity" | "storybook" | "nitro" | "hono" | "express" | "h3" | "nestjs" | "elysia" | "fastify" | "xmcp" ``` \ No newline at end of file diff --git a/docs/models/getactiveattackstatusrequest.md b/docs/models/getactiveattackstatusrequest.md index 0d8ab006c..39033da32 100644 --- a/docs/models/getactiveattackstatusrequest.md +++ b/docs/models/getactiveattackstatusrequest.md @@ -17,5 +17,6 @@ let value: GetActiveAttackStatusRequest = { | Field | Type | Required | Description | Example | | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | | `projectId` | *string* | :heavy_check_mark: | N/A | | +| `since` | *number* | :heavy_minus_sign: | N/A | | | `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | team_1a2b3c4d5e6f7g8h9i0j1k2l | | `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | my-team-url-slug | \ No newline at end of file diff --git a/docs/models/getactiveattackstatusresponsebody.md b/docs/models/getactiveattackstatusresponsebody.md index 8d72821b6..2af90ef8b 100644 --- a/docs/models/getactiveattackstatusresponsebody.md +++ b/docs/models/getactiveattackstatusresponsebody.md @@ -15,8 +15,8 @@ const value: models.GetActiveAttackStatusResponseBody1 = {}; const value: models.GetActiveAttackStatusResponseBody2 = { anomalies: [ { - ownerId: "", projectId: "", + ownerId: "", startTime: 1785.24, endTime: 937.85, atMinute: 3117.97, diff --git a/docs/models/getactiveattackstatusresponsebody2.md b/docs/models/getactiveattackstatusresponsebody2.md index 94f452037..2b8b8efef 100644 --- a/docs/models/getactiveattackstatusresponsebody2.md +++ b/docs/models/getactiveattackstatusresponsebody2.md @@ -8,8 +8,8 @@ import { GetActiveAttackStatusResponseBody2 } from "@vercel/sdk/models/getactive let value: GetActiveAttackStatusResponseBody2 = { anomalies: [ { - ownerId: "", projectId: "", + ownerId: "", startTime: 1785.24, endTime: 937.85, atMinute: 3117.97, diff --git a/docs/models/getalllogdrainsdelivery1.md b/docs/models/getalllogdrainsdelivery1.md new file mode 100644 index 000000000..3319a33fb --- /dev/null +++ b/docs/models/getalllogdrainsdelivery1.md @@ -0,0 +1,25 @@ +# GetAllLogDrainsDelivery1 + +## Example Usage + +```typescript +import { GetAllLogDrainsDelivery1 } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsDelivery1 = { + type: "http", + endpoint: "", + encoding: "json", + headers: {}, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.GetAllLogDrainsDeliveryLogDrainsResponse200Type](../models/getalllogdrainsdeliverylogdrainsresponse200type.md) | :heavy_check_mark: | N/A | +| `endpoint` | *string* | :heavy_check_mark: | N/A | +| `encoding` | [models.GetAllLogDrainsDeliveryLogDrainsEncoding](../models/getalllogdrainsdeliverylogdrainsencoding.md) | :heavy_check_mark: | N/A | +| `compression` | [models.GetAllLogDrainsDeliveryLogDrainsCompression](../models/getalllogdrainsdeliverylogdrainscompression.md) | :heavy_minus_sign: | N/A | +| `headers` | Record | :heavy_check_mark: | N/A | +| `secret` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getalllogdrainsdelivery2.md b/docs/models/getalllogdrainsdelivery2.md new file mode 100644 index 000000000..de7cb9be8 --- /dev/null +++ b/docs/models/getalllogdrainsdelivery2.md @@ -0,0 +1,26 @@ +# GetAllLogDrainsDelivery2 + +## Example Usage + +```typescript +import { GetAllLogDrainsDelivery2 } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsDelivery2 = { + type: "otlphttp", + endpoint: { + traces: "", + }, + encoding: "proto", + headers: {}, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONType](../models/getalllogdrainsdeliverylogdrainsresponse200applicationjsontype.md) | :heavy_check_mark: | N/A | +| `endpoint` | [models.GetAllLogDrainsDeliveryLogDrainsEndpoint](../models/getalllogdrainsdeliverylogdrainsendpoint.md) | :heavy_check_mark: | N/A | +| `encoding` | [models.GetAllLogDrainsDeliveryLogDrainsResponseEncoding](../models/getalllogdrainsdeliverylogdrainsresponseencoding.md) | :heavy_check_mark: | N/A | +| `headers` | Record | :heavy_check_mark: | N/A | +| `secret` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getalllogdrainsdelivery3.md b/docs/models/getalllogdrainsdelivery3.md new file mode 100644 index 000000000..b8d3e97d0 --- /dev/null +++ b/docs/models/getalllogdrainsdelivery3.md @@ -0,0 +1,21 @@ +# GetAllLogDrainsDelivery3 + +## Example Usage + +```typescript +import { GetAllLogDrainsDelivery3 } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsDelivery3 = { + type: "clickhouse", + endpoint: "", + table: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONResponseBodyType](../models/getalllogdrainsdeliverylogdrainsresponse200applicationjsonresponsebodytype.md) | :heavy_check_mark: | N/A | +| `endpoint` | *string* | :heavy_check_mark: | N/A | +| `table` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getalllogdrainsdelivery4.md b/docs/models/getalllogdrainsdelivery4.md new file mode 100644 index 000000000..49252fd83 --- /dev/null +++ b/docs/models/getalllogdrainsdelivery4.md @@ -0,0 +1,19 @@ +# GetAllLogDrainsDelivery4 + +## Example Usage + +```typescript +import { GetAllLogDrainsDelivery4 } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsDelivery4 = { + type: "internal", + target: "vercel-otel-traces-db", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONResponseBody1Type](../models/getalllogdrainsdeliverylogdrainsresponse200applicationjsonresponsebody1type.md) | :heavy_check_mark: | N/A | +| `target` | [models.GetAllLogDrainsDeliveryTarget](../models/getalllogdrainsdeliverytarget.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getalllogdrainsdeliverycompression.md b/docs/models/getalllogdrainsdeliverycompression.md new file mode 100644 index 000000000..244eea3f9 --- /dev/null +++ b/docs/models/getalllogdrainsdeliverycompression.md @@ -0,0 +1,15 @@ +# GetAllLogDrainsDeliveryCompression + +## Example Usage + +```typescript +import { GetAllLogDrainsDeliveryCompression } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsDeliveryCompression = "none"; +``` + +## Values + +```typescript +"gzip" | "none" +``` \ No newline at end of file diff --git a/docs/models/getalllogdrainsdeliveryencoding.md b/docs/models/getalllogdrainsdeliveryencoding.md new file mode 100644 index 000000000..179d3112b --- /dev/null +++ b/docs/models/getalllogdrainsdeliveryencoding.md @@ -0,0 +1,15 @@ +# GetAllLogDrainsDeliveryEncoding + +## Example Usage + +```typescript +import { GetAllLogDrainsDeliveryEncoding } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsDeliveryEncoding = "proto"; +``` + +## Values + +```typescript +"json" | "proto" +``` \ No newline at end of file diff --git a/docs/models/getalllogdrainsdeliveryendpoint.md b/docs/models/getalllogdrainsdeliveryendpoint.md new file mode 100644 index 000000000..3ac5d203a --- /dev/null +++ b/docs/models/getalllogdrainsdeliveryendpoint.md @@ -0,0 +1,17 @@ +# GetAllLogDrainsDeliveryEndpoint + +## Example Usage + +```typescript +import { GetAllLogDrainsDeliveryEndpoint } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsDeliveryEndpoint = { + traces: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `traces` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getalllogdrainsdeliverylogdrains1.md b/docs/models/getalllogdrainsdeliverylogdrains1.md new file mode 100644 index 000000000..c2a5207e3 --- /dev/null +++ b/docs/models/getalllogdrainsdeliverylogdrains1.md @@ -0,0 +1,29 @@ +# GetAllLogDrainsDeliveryLogDrains1 + +## Example Usage + +```typescript +import { GetAllLogDrainsDeliveryLogDrains1 } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsDeliveryLogDrains1 = { + type: "http", + endpoint: "", + encoding: "ndjson", + headers: { + "key": "", + "key1": "", + "key2": "", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONResponseBody1DrainsType](../models/getalllogdrainsdeliverylogdrainsresponse200applicationjsonresponsebody1drainstype.md) | :heavy_check_mark: | N/A | +| `endpoint` | *string* | :heavy_check_mark: | N/A | +| `encoding` | [models.GetAllLogDrainsDeliveryLogDrainsResponse200Encoding](../models/getalllogdrainsdeliverylogdrainsresponse200encoding.md) | :heavy_check_mark: | N/A | +| `compression` | [models.GetAllLogDrainsDeliveryCompression](../models/getalllogdrainsdeliverycompression.md) | :heavy_minus_sign: | N/A | +| `headers` | Record | :heavy_check_mark: | N/A | +| `secret` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getalllogdrainsdeliverylogdrains2.md b/docs/models/getalllogdrainsdeliverylogdrains2.md new file mode 100644 index 000000000..0f389244f --- /dev/null +++ b/docs/models/getalllogdrainsdeliverylogdrains2.md @@ -0,0 +1,28 @@ +# GetAllLogDrainsDeliveryLogDrains2 + +## Example Usage + +```typescript +import { GetAllLogDrainsDeliveryLogDrains2 } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsDeliveryLogDrains2 = { + type: "otlphttp", + endpoint: { + traces: "", + }, + encoding: "json", + headers: { + "key": "", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `type` | [models.GetAllLogDrainsDeliveryType](../models/getalllogdrainsdeliverytype.md) | :heavy_check_mark: | N/A | +| `endpoint` | [models.GetAllLogDrainsDeliveryEndpoint](../models/getalllogdrainsdeliveryendpoint.md) | :heavy_check_mark: | N/A | +| `encoding` | [models.GetAllLogDrainsDeliveryEncoding](../models/getalllogdrainsdeliveryencoding.md) | :heavy_check_mark: | N/A | +| `headers` | Record | :heavy_check_mark: | N/A | +| `secret` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getalllogdrainsdeliverylogdrains3.md b/docs/models/getalllogdrainsdeliverylogdrains3.md new file mode 100644 index 000000000..56b35328f --- /dev/null +++ b/docs/models/getalllogdrainsdeliverylogdrains3.md @@ -0,0 +1,21 @@ +# GetAllLogDrainsDeliveryLogDrains3 + +## Example Usage + +```typescript +import { GetAllLogDrainsDeliveryLogDrains3 } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsDeliveryLogDrains3 = { + type: "clickhouse", + endpoint: "", + table: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | +| `type` | [models.GetAllLogDrainsDeliveryLogDrainsType](../models/getalllogdrainsdeliverylogdrainstype.md) | :heavy_check_mark: | N/A | +| `endpoint` | *string* | :heavy_check_mark: | N/A | +| `table` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getalllogdrainsdeliverylogdrains4.md b/docs/models/getalllogdrainsdeliverylogdrains4.md new file mode 100644 index 000000000..241b74053 --- /dev/null +++ b/docs/models/getalllogdrainsdeliverylogdrains4.md @@ -0,0 +1,19 @@ +# GetAllLogDrainsDeliveryLogDrains4 + +## Example Usage + +```typescript +import { GetAllLogDrainsDeliveryLogDrains4 } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsDeliveryLogDrains4 = { + type: "internal", + target: "vercel-otel-traces-db", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | +| `type` | [models.GetAllLogDrainsDeliveryLogDrainsResponseType](../models/getalllogdrainsdeliverylogdrainsresponsetype.md) | :heavy_check_mark: | N/A | +| `target` | [models.GetAllLogDrainsDeliveryLogDrainsTarget](../models/getalllogdrainsdeliverylogdrainstarget.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getalllogdrainsdeliverylogdrainscompression.md b/docs/models/getalllogdrainsdeliverylogdrainscompression.md new file mode 100644 index 000000000..29110a8fc --- /dev/null +++ b/docs/models/getalllogdrainsdeliverylogdrainscompression.md @@ -0,0 +1,15 @@ +# GetAllLogDrainsDeliveryLogDrainsCompression + +## Example Usage + +```typescript +import { GetAllLogDrainsDeliveryLogDrainsCompression } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsDeliveryLogDrainsCompression = "gzip"; +``` + +## Values + +```typescript +"gzip" | "none" +``` \ No newline at end of file diff --git a/docs/models/getalllogdrainsdeliverylogdrainsencoding.md b/docs/models/getalllogdrainsdeliverylogdrainsencoding.md new file mode 100644 index 000000000..ab924c163 --- /dev/null +++ b/docs/models/getalllogdrainsdeliverylogdrainsencoding.md @@ -0,0 +1,15 @@ +# GetAllLogDrainsDeliveryLogDrainsEncoding + +## Example Usage + +```typescript +import { GetAllLogDrainsDeliveryLogDrainsEncoding } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsDeliveryLogDrainsEncoding = "json"; +``` + +## Values + +```typescript +"json" | "ndjson" +``` \ No newline at end of file diff --git a/docs/models/getalllogdrainsdeliverylogdrainsendpoint.md b/docs/models/getalllogdrainsdeliverylogdrainsendpoint.md new file mode 100644 index 000000000..3ca3b11a1 --- /dev/null +++ b/docs/models/getalllogdrainsdeliverylogdrainsendpoint.md @@ -0,0 +1,17 @@ +# GetAllLogDrainsDeliveryLogDrainsEndpoint + +## Example Usage + +```typescript +import { GetAllLogDrainsDeliveryLogDrainsEndpoint } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsDeliveryLogDrainsEndpoint = { + traces: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `traces` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getalllogdrainsdeliverylogdrainsresponse200applicationjsonresponsebody1drainstype.md b/docs/models/getalllogdrainsdeliverylogdrainsresponse200applicationjsonresponsebody1drainstype.md new file mode 100644 index 000000000..8b56917bc --- /dev/null +++ b/docs/models/getalllogdrainsdeliverylogdrainsresponse200applicationjsonresponsebody1drainstype.md @@ -0,0 +1,19 @@ +# GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONResponseBody1DrainsType + +## Example Usage + +```typescript +import { + GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONResponseBody1DrainsType, +} from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: + GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONResponseBody1DrainsType = + "http"; +``` + +## Values + +```typescript +"http" +``` \ No newline at end of file diff --git a/docs/models/getalllogdrainsdeliverylogdrainsresponse200applicationjsonresponsebody1type.md b/docs/models/getalllogdrainsdeliverylogdrainsresponse200applicationjsonresponsebody1type.md new file mode 100644 index 000000000..b91138db8 --- /dev/null +++ b/docs/models/getalllogdrainsdeliverylogdrainsresponse200applicationjsonresponsebody1type.md @@ -0,0 +1,17 @@ +# GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONResponseBody1Type + +## Example Usage + +```typescript +import { GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONResponseBody1Type } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: + GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONResponseBody1Type = + "internal"; +``` + +## Values + +```typescript +"internal" +``` \ No newline at end of file diff --git a/docs/models/getalllogdrainsdeliverylogdrainsresponse200applicationjsonresponsebodytype.md b/docs/models/getalllogdrainsdeliverylogdrainsresponse200applicationjsonresponsebodytype.md new file mode 100644 index 000000000..ea49a4e24 --- /dev/null +++ b/docs/models/getalllogdrainsdeliverylogdrainsresponse200applicationjsonresponsebodytype.md @@ -0,0 +1,17 @@ +# GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONResponseBodyType + +## Example Usage + +```typescript +import { GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONResponseBodyType } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: + GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONResponseBodyType = + "clickhouse"; +``` + +## Values + +```typescript +"clickhouse" +``` \ No newline at end of file diff --git a/docs/models/getalllogdrainsdeliverylogdrainsresponse200applicationjsontype.md b/docs/models/getalllogdrainsdeliverylogdrainsresponse200applicationjsontype.md new file mode 100644 index 000000000..2283c1b2d --- /dev/null +++ b/docs/models/getalllogdrainsdeliverylogdrainsresponse200applicationjsontype.md @@ -0,0 +1,16 @@ +# GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONType + +## Example Usage + +```typescript +import { GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONType } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONType = + "otlphttp"; +``` + +## Values + +```typescript +"otlphttp" +``` \ No newline at end of file diff --git a/docs/models/getalllogdrainsdeliverylogdrainsresponse200encoding.md b/docs/models/getalllogdrainsdeliverylogdrainsresponse200encoding.md new file mode 100644 index 000000000..a3b3b7f50 --- /dev/null +++ b/docs/models/getalllogdrainsdeliverylogdrainsresponse200encoding.md @@ -0,0 +1,15 @@ +# GetAllLogDrainsDeliveryLogDrainsResponse200Encoding + +## Example Usage + +```typescript +import { GetAllLogDrainsDeliveryLogDrainsResponse200Encoding } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsDeliveryLogDrainsResponse200Encoding = "json"; +``` + +## Values + +```typescript +"json" | "ndjson" +``` \ No newline at end of file diff --git a/docs/models/getalllogdrainsdeliverylogdrainsresponse200type.md b/docs/models/getalllogdrainsdeliverylogdrainsresponse200type.md new file mode 100644 index 000000000..b50d065b2 --- /dev/null +++ b/docs/models/getalllogdrainsdeliverylogdrainsresponse200type.md @@ -0,0 +1,15 @@ +# GetAllLogDrainsDeliveryLogDrainsResponse200Type + +## Example Usage + +```typescript +import { GetAllLogDrainsDeliveryLogDrainsResponse200Type } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsDeliveryLogDrainsResponse200Type = "http"; +``` + +## Values + +```typescript +"http" +``` \ No newline at end of file diff --git a/docs/models/getalllogdrainsdeliverylogdrainsresponseencoding.md b/docs/models/getalllogdrainsdeliverylogdrainsresponseencoding.md new file mode 100644 index 000000000..ec3d67fd3 --- /dev/null +++ b/docs/models/getalllogdrainsdeliverylogdrainsresponseencoding.md @@ -0,0 +1,15 @@ +# GetAllLogDrainsDeliveryLogDrainsResponseEncoding + +## Example Usage + +```typescript +import { GetAllLogDrainsDeliveryLogDrainsResponseEncoding } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsDeliveryLogDrainsResponseEncoding = "json"; +``` + +## Values + +```typescript +"json" | "proto" +``` \ No newline at end of file diff --git a/docs/models/getalllogdrainsdeliverylogdrainsresponsetype.md b/docs/models/getalllogdrainsdeliverylogdrainsresponsetype.md new file mode 100644 index 000000000..45ed05fa6 --- /dev/null +++ b/docs/models/getalllogdrainsdeliverylogdrainsresponsetype.md @@ -0,0 +1,15 @@ +# GetAllLogDrainsDeliveryLogDrainsResponseType + +## Example Usage + +```typescript +import { GetAllLogDrainsDeliveryLogDrainsResponseType } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsDeliveryLogDrainsResponseType = "internal"; +``` + +## Values + +```typescript +"internal" +``` \ No newline at end of file diff --git a/docs/models/getalllogdrainsdeliverylogdrainstarget.md b/docs/models/getalllogdrainsdeliverylogdrainstarget.md new file mode 100644 index 000000000..a173c3335 --- /dev/null +++ b/docs/models/getalllogdrainsdeliverylogdrainstarget.md @@ -0,0 +1,15 @@ +# GetAllLogDrainsDeliveryLogDrainsTarget + +## Example Usage + +```typescript +import { GetAllLogDrainsDeliveryLogDrainsTarget } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsDeliveryLogDrainsTarget = "vercel-otel-traces-db"; +``` + +## Values + +```typescript +"vercel-otel-traces-db" +``` \ No newline at end of file diff --git a/docs/models/getalllogdrainsdeliverylogdrainstype.md b/docs/models/getalllogdrainsdeliverylogdrainstype.md new file mode 100644 index 000000000..73c670597 --- /dev/null +++ b/docs/models/getalllogdrainsdeliverylogdrainstype.md @@ -0,0 +1,15 @@ +# GetAllLogDrainsDeliveryLogDrainsType + +## Example Usage + +```typescript +import { GetAllLogDrainsDeliveryLogDrainsType } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsDeliveryLogDrainsType = "clickhouse"; +``` + +## Values + +```typescript +"clickhouse" +``` \ No newline at end of file diff --git a/docs/models/getalllogdrainsdeliverytarget.md b/docs/models/getalllogdrainsdeliverytarget.md new file mode 100644 index 000000000..6a4eb2ea5 --- /dev/null +++ b/docs/models/getalllogdrainsdeliverytarget.md @@ -0,0 +1,15 @@ +# GetAllLogDrainsDeliveryTarget + +## Example Usage + +```typescript +import { GetAllLogDrainsDeliveryTarget } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsDeliveryTarget = "vercel-otel-traces-db"; +``` + +## Values + +```typescript +"vercel-otel-traces-db" +``` \ No newline at end of file diff --git a/docs/models/getalllogdrainsdeliverytype.md b/docs/models/getalllogdrainsdeliverytype.md new file mode 100644 index 000000000..2d43cf5c2 --- /dev/null +++ b/docs/models/getalllogdrainsdeliverytype.md @@ -0,0 +1,15 @@ +# GetAllLogDrainsDeliveryType + +## Example Usage + +```typescript +import { GetAllLogDrainsDeliveryType } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsDeliveryType = "otlphttp"; +``` + +## Values + +```typescript +"otlphttp" +``` \ No newline at end of file diff --git a/docs/models/getalllogdrainsdrains1.md b/docs/models/getalllogdrainsdrains1.md new file mode 100644 index 000000000..e6e144d8e --- /dev/null +++ b/docs/models/getalllogdrainsdrains1.md @@ -0,0 +1,44 @@ +# GetAllLogDrainsDrains1 + +## Example Usage + +```typescript +import { GetAllLogDrainsDrains1 } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsDrains1 = { + id: "", + ownerId: "", + name: "", + createdAt: 1886.51, + updatedAt: 4820.62, + source: { + kind: "self-served", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | +| `id` | *string* | :heavy_check_mark: | N/A | +| `ownerId` | *string* | :heavy_check_mark: | N/A | +| `name` | *string* | :heavy_check_mark: | N/A | +| `createdAt` | *number* | :heavy_check_mark: | N/A | +| `createdFrom` | [models.GetAllLogDrainsDrainsCreatedFrom](../models/getalllogdrainsdrainscreatedfrom.md) | :heavy_minus_sign: | N/A | +| `updatedAt` | *number* | :heavy_check_mark: | N/A | +| `projectIds` | *string*[] | :heavy_minus_sign: | N/A | +| `schemas` | [models.GetAllLogDrainsDrainsSchemas](../models/getalllogdrainsdrainsschemas.md) | :heavy_minus_sign: | N/A | +| `delivery` | *models.GetAllLogDrainsDrainsDelivery* | :heavy_minus_sign: | N/A | +| `sampling` | [models.GetAllLogDrainsDrainsSampling](../models/getalllogdrainsdrainssampling.md)[] | :heavy_minus_sign: | N/A | +| `teamId` | *string* | :heavy_minus_sign: | N/A | +| `status` | [models.GetAllLogDrainsDrainsLogDrainsStatus](../models/getalllogdrainsdrainslogdrainsstatus.md) | :heavy_minus_sign: | N/A | +| `disabledAt` | *number* | :heavy_minus_sign: | N/A | +| `disabledReason` | [models.GetAllLogDrainsDrainsDisabledReason](../models/getalllogdrainsdrainsdisabledreason.md) | :heavy_minus_sign: | N/A | +| `disabledBy` | *string* | :heavy_minus_sign: | N/A | +| `firstErrorTimestamp` | *number* | :heavy_minus_sign: | N/A | +| `configurationId` | *string* | :heavy_minus_sign: | N/A | +| `clientId` | *string* | :heavy_minus_sign: | N/A | +| `source` | *models.GetAllLogDrainsDrainsLogDrainsSource* | :heavy_check_mark: | N/A | +| `filter` | *string* | :heavy_minus_sign: | N/A | +| `filterV2` | *models.GetAllLogDrainsDrainsFilterV2* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getalllogdrainsdrains2.md b/docs/models/getalllogdrainsdrains2.md new file mode 100644 index 000000000..98a61ab10 --- /dev/null +++ b/docs/models/getalllogdrainsdrains2.md @@ -0,0 +1,48 @@ +# GetAllLogDrainsDrains2 + +## Example Usage + +```typescript +import { GetAllLogDrainsDrains2 } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsDrains2 = { + id: "", + ownerId: "", + name: "", + createdAt: 4071.99, + updatedAt: 9691.01, + source: { + kind: "self-served", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | N/A | +| `ownerId` | *string* | :heavy_check_mark: | N/A | +| `name` | *string* | :heavy_check_mark: | N/A | +| `createdAt` | *number* | :heavy_check_mark: | N/A | +| `createdFrom` | [models.GetAllLogDrainsDrainsLogDrainsCreatedFrom](../models/getalllogdrainsdrainslogdrainscreatedfrom.md) | :heavy_minus_sign: | N/A | +| `updatedAt` | *number* | :heavy_check_mark: | N/A | +| `projectIds` | *string*[] | :heavy_minus_sign: | N/A | +| `schemas` | [models.GetAllLogDrainsDrainsLogDrainsSchemas](../models/getalllogdrainsdrainslogdrainsschemas.md) | :heavy_minus_sign: | N/A | +| `delivery` | *models.GetAllLogDrainsDrainsLogDrainsDelivery* | :heavy_minus_sign: | N/A | +| `sampling` | [models.GetAllLogDrainsDrainsLogDrainsSampling](../models/getalllogdrainsdrainslogdrainssampling.md)[] | :heavy_minus_sign: | N/A | +| `teamId` | *string* | :heavy_minus_sign: | N/A | +| `status` | [models.GetAllLogDrainsDrainsStatus](../models/getalllogdrainsdrainsstatus.md) | :heavy_minus_sign: | N/A | +| `disabledAt` | *number* | :heavy_minus_sign: | N/A | +| `disabledReason` | [models.GetAllLogDrainsDrainsLogDrainsDisabledReason](../models/getalllogdrainsdrainslogdrainsdisabledreason.md) | :heavy_minus_sign: | N/A | +| `disabledBy` | *string* | :heavy_minus_sign: | N/A | +| `firstErrorTimestamp` | *number* | :heavy_minus_sign: | N/A | +| `configurationId` | *string* | :heavy_minus_sign: | N/A | +| `clientId` | *string* | :heavy_minus_sign: | N/A | +| `source` | *models.GetAllLogDrainsDrainsSource* | :heavy_check_mark: | N/A | +| `filter` | *string* | :heavy_minus_sign: | N/A | +| `filterV2` | *models.GetAllLogDrainsDrainsLogDrainsFilterV2* | :heavy_minus_sign: | N/A | +| `integrationIcon` | *string* | :heavy_minus_sign: | N/A | +| `integrationConfigurationUri` | *string* | :heavy_minus_sign: | N/A | +| `integrationWebsite` | *string* | :heavy_minus_sign: | N/A | +| `projectsMetadata` | [models.GetAllLogDrainsDrainsProjectsMetadata](../models/getalllogdrainsdrainsprojectsmetadata.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getalllogdrainsdrainsanalytics.md b/docs/models/getalllogdrainsdrainsanalytics.md new file mode 100644 index 000000000..b8aab016c --- /dev/null +++ b/docs/models/getalllogdrainsdrainsanalytics.md @@ -0,0 +1,14 @@ +# GetAllLogDrainsDrainsAnalytics + +## Example Usage + +```typescript +import { GetAllLogDrainsDrainsAnalytics } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsDrainsAnalytics = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/getalllogdrainsdrainscreatedfrom.md b/docs/models/getalllogdrainsdrainscreatedfrom.md new file mode 100644 index 000000000..cf027217d --- /dev/null +++ b/docs/models/getalllogdrainsdrainscreatedfrom.md @@ -0,0 +1,15 @@ +# GetAllLogDrainsDrainsCreatedFrom + +## Example Usage + +```typescript +import { GetAllLogDrainsDrainsCreatedFrom } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsDrainsCreatedFrom = "self-served"; +``` + +## Values + +```typescript +"self-served" | "integration" +``` \ No newline at end of file diff --git a/docs/models/getalllogdrainsdrainsdelivery.md b/docs/models/getalllogdrainsdrainsdelivery.md new file mode 100644 index 000000000..34335cbd7 --- /dev/null +++ b/docs/models/getalllogdrainsdrainsdelivery.md @@ -0,0 +1,54 @@ +# GetAllLogDrainsDrainsDelivery + + +## Supported Types + +### `models.GetAllLogDrainsDeliveryLogDrains1` + +```typescript +const value: models.GetAllLogDrainsDeliveryLogDrains1 = { + type: "http", + endpoint: "", + encoding: "ndjson", + headers: { + "key": "", + "key1": "", + "key2": "", + }, +}; +``` + +### `models.GetAllLogDrainsDeliveryLogDrains2` + +```typescript +const value: models.GetAllLogDrainsDeliveryLogDrains2 = { + type: "otlphttp", + endpoint: { + traces: "", + }, + encoding: "json", + headers: { + "key": "", + }, +}; +``` + +### `models.GetAllLogDrainsDeliveryLogDrains3` + +```typescript +const value: models.GetAllLogDrainsDeliveryLogDrains3 = { + type: "clickhouse", + endpoint: "", + table: "", +}; +``` + +### `models.GetAllLogDrainsDeliveryLogDrains4` + +```typescript +const value: models.GetAllLogDrainsDeliveryLogDrains4 = { + type: "internal", + target: "vercel-otel-traces-db", +}; +``` + diff --git a/docs/models/getalllogdrainsdrainsdisabledreason.md b/docs/models/getalllogdrainsdrainsdisabledreason.md new file mode 100644 index 000000000..ec6419816 --- /dev/null +++ b/docs/models/getalllogdrainsdrainsdisabledreason.md @@ -0,0 +1,15 @@ +# GetAllLogDrainsDrainsDisabledReason + +## Example Usage + +```typescript +import { GetAllLogDrainsDrainsDisabledReason } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsDrainsDisabledReason = "account-plan-downgrade"; +``` + +## 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/getalllogdrainsdrainsenv.md b/docs/models/getalllogdrainsdrainsenv.md new file mode 100644 index 000000000..31ff2141f --- /dev/null +++ b/docs/models/getalllogdrainsdrainsenv.md @@ -0,0 +1,15 @@ +# GetAllLogDrainsDrainsEnv + +## Example Usage + +```typescript +import { GetAllLogDrainsDrainsEnv } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsDrainsEnv = "production"; +``` + +## Values + +```typescript +"production" | "preview" +``` \ No newline at end of file diff --git a/docs/models/getalllogdrainsdrainsfilterv2.md b/docs/models/getalllogdrainsdrainsfilterv2.md new file mode 100644 index 000000000..1a9162889 --- /dev/null +++ b/docs/models/getalllogdrainsdrainsfilterv2.md @@ -0,0 +1,24 @@ +# GetAllLogDrainsDrainsFilterV2 + + +## Supported Types + +### `models.GetAllLogDrainsFilterV2LogDrains1` + +```typescript +const value: models.GetAllLogDrainsFilterV2LogDrains1 = { + version: "v1", +}; +``` + +### `models.GetAllLogDrainsFilterV2LogDrains2` + +```typescript +const value: models.GetAllLogDrainsFilterV2LogDrains2 = { + version: "v2", + filter: { + type: "basic", + }, +}; +``` + diff --git a/docs/models/getalllogdrainsdrainsframework.md b/docs/models/getalllogdrainsdrainsframework.md new file mode 100644 index 000000000..7ae1df541 --- /dev/null +++ b/docs/models/getalllogdrainsdrainsframework.md @@ -0,0 +1,15 @@ +# GetAllLogDrainsDrainsFramework + +## Example Usage + +```typescript +import { GetAllLogDrainsDrainsFramework } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsDrainsFramework = "elysia"; +``` + +## Values + +```typescript +"blitzjs" | "nextjs" | "gatsby" | "remix" | "react-router" | "astro" | "hexo" | "eleventy" | "docusaurus-2" | "docusaurus" | "preact" | "solidstart-1" | "solidstart" | "dojo" | "ember" | "vue" | "scully" | "ionic-angular" | "angular" | "polymer" | "svelte" | "sveltekit" | "sveltekit-1" | "ionic-react" | "create-react-app" | "gridsome" | "umijs" | "sapper" | "saber" | "stencil" | "nuxtjs" | "redwoodjs" | "hugo" | "jekyll" | "brunch" | "middleman" | "zola" | "hydrogen" | "vite" | "tanstack-start" | "vitepress" | "vuepress" | "parcel" | "fastapi" | "flask" | "fasthtml" | "sanity-v3" | "sanity" | "storybook" | "nitro" | "hono" | "express" | "h3" | "nestjs" | "elysia" | "fastify" | "xmcp" +``` \ No newline at end of file diff --git a/docs/models/getalllogdrainsdrainslog.md b/docs/models/getalllogdrainsdrainslog.md new file mode 100644 index 000000000..05a5cd973 --- /dev/null +++ b/docs/models/getalllogdrainsdrainslog.md @@ -0,0 +1,14 @@ +# GetAllLogDrainsDrainsLog + +## Example Usage + +```typescript +import { GetAllLogDrainsDrainsLog } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsDrainsLog = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/getalllogdrainsdrainslogdrainsanalytics.md b/docs/models/getalllogdrainsdrainslogdrainsanalytics.md new file mode 100644 index 000000000..9210bd14e --- /dev/null +++ b/docs/models/getalllogdrainsdrainslogdrainsanalytics.md @@ -0,0 +1,14 @@ +# GetAllLogDrainsDrainsLogDrainsAnalytics + +## Example Usage + +```typescript +import { GetAllLogDrainsDrainsLogDrainsAnalytics } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsDrainsLogDrainsAnalytics = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/getalllogdrainsdrainslogdrainscreatedfrom.md b/docs/models/getalllogdrainsdrainslogdrainscreatedfrom.md new file mode 100644 index 000000000..4102afe81 --- /dev/null +++ b/docs/models/getalllogdrainsdrainslogdrainscreatedfrom.md @@ -0,0 +1,15 @@ +# GetAllLogDrainsDrainsLogDrainsCreatedFrom + +## Example Usage + +```typescript +import { GetAllLogDrainsDrainsLogDrainsCreatedFrom } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsDrainsLogDrainsCreatedFrom = "integration"; +``` + +## Values + +```typescript +"self-served" | "integration" +``` \ No newline at end of file diff --git a/docs/models/getalllogdrainsdrainslogdrainsdelivery.md b/docs/models/getalllogdrainsdrainslogdrainsdelivery.md new file mode 100644 index 000000000..7e9acf2c8 --- /dev/null +++ b/docs/models/getalllogdrainsdrainslogdrainsdelivery.md @@ -0,0 +1,48 @@ +# GetAllLogDrainsDrainsLogDrainsDelivery + + +## Supported Types + +### `models.GetAllLogDrainsDelivery1` + +```typescript +const value: models.GetAllLogDrainsDelivery1 = { + type: "http", + endpoint: "", + encoding: "json", + headers: {}, +}; +``` + +### `models.GetAllLogDrainsDelivery2` + +```typescript +const value: models.GetAllLogDrainsDelivery2 = { + type: "otlphttp", + endpoint: { + traces: "", + }, + encoding: "proto", + headers: {}, +}; +``` + +### `models.GetAllLogDrainsDelivery3` + +```typescript +const value: models.GetAllLogDrainsDelivery3 = { + type: "clickhouse", + endpoint: "", + table: "", +}; +``` + +### `models.GetAllLogDrainsDelivery4` + +```typescript +const value: models.GetAllLogDrainsDelivery4 = { + type: "internal", + target: "vercel-otel-traces-db", +}; +``` + diff --git a/docs/models/getalllogdrainsdrainslogdrainsdisabledreason.md b/docs/models/getalllogdrainsdrainslogdrainsdisabledreason.md new file mode 100644 index 000000000..5191c6d8c --- /dev/null +++ b/docs/models/getalllogdrainsdrainslogdrainsdisabledreason.md @@ -0,0 +1,16 @@ +# GetAllLogDrainsDrainsLogDrainsDisabledReason + +## Example Usage + +```typescript +import { GetAllLogDrainsDrainsLogDrainsDisabledReason } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsDrainsLogDrainsDisabledReason = + "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/getalllogdrainsdrainslogdrainsenv.md b/docs/models/getalllogdrainsdrainslogdrainsenv.md new file mode 100644 index 000000000..f488df856 --- /dev/null +++ b/docs/models/getalllogdrainsdrainslogdrainsenv.md @@ -0,0 +1,15 @@ +# GetAllLogDrainsDrainsLogDrainsEnv + +## Example Usage + +```typescript +import { GetAllLogDrainsDrainsLogDrainsEnv } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsDrainsLogDrainsEnv = "preview"; +``` + +## Values + +```typescript +"production" | "preview" +``` \ No newline at end of file diff --git a/docs/models/getalllogdrainsdrainslogdrainsfilterv2.md b/docs/models/getalllogdrainsdrainslogdrainsfilterv2.md new file mode 100644 index 000000000..bdd5ae462 --- /dev/null +++ b/docs/models/getalllogdrainsdrainslogdrainsfilterv2.md @@ -0,0 +1,24 @@ +# GetAllLogDrainsDrainsLogDrainsFilterV2 + + +## Supported Types + +### `models.GetAllLogDrainsFilterV21` + +```typescript +const value: models.GetAllLogDrainsFilterV21 = { + version: "v1", +}; +``` + +### `models.GetAllLogDrainsFilterV22` + +```typescript +const value: models.GetAllLogDrainsFilterV22 = { + version: "v2", + filter: { + type: "basic", + }, +}; +``` + diff --git a/docs/models/getalllogdrainsdrainslogdrainslog.md b/docs/models/getalllogdrainsdrainslogdrainslog.md new file mode 100644 index 000000000..1822b069b --- /dev/null +++ b/docs/models/getalllogdrainsdrainslogdrainslog.md @@ -0,0 +1,14 @@ +# GetAllLogDrainsDrainsLogDrainsLog + +## Example Usage + +```typescript +import { GetAllLogDrainsDrainsLogDrainsLog } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsDrainsLogDrainsLog = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/getalllogdrainsdrainslogdrainssampling.md b/docs/models/getalllogdrainsdrainslogdrainssampling.md new file mode 100644 index 000000000..dfbf9ca2e --- /dev/null +++ b/docs/models/getalllogdrainsdrainslogdrainssampling.md @@ -0,0 +1,21 @@ +# GetAllLogDrainsDrainsLogDrainsSampling + +## Example Usage + +```typescript +import { GetAllLogDrainsDrainsLogDrainsSampling } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsDrainsLogDrainsSampling = { + type: "head_sampling", + rate: 2784.86, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `type` | [models.GetAllLogDrainsDrainsType](../models/getalllogdrainsdrainstype.md) | :heavy_check_mark: | N/A | +| `rate` | *number* | :heavy_check_mark: | N/A | +| `env` | [models.GetAllLogDrainsDrainsEnv](../models/getalllogdrainsdrainsenv.md) | :heavy_minus_sign: | N/A | +| `requestPath` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getalllogdrainsdrainslogdrainsschemas.md b/docs/models/getalllogdrainsdrainslogdrainsschemas.md new file mode 100644 index 000000000..294065189 --- /dev/null +++ b/docs/models/getalllogdrainsdrainslogdrainsschemas.md @@ -0,0 +1,18 @@ +# GetAllLogDrainsDrainsLogDrainsSchemas + +## Example Usage + +```typescript +import { GetAllLogDrainsDrainsLogDrainsSchemas } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsDrainsLogDrainsSchemas = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `log` | [models.GetAllLogDrainsDrainsLogDrainsLog](../models/getalllogdrainsdrainslogdrainslog.md) | :heavy_minus_sign: | N/A | +| `trace` | [models.GetAllLogDrainsDrainsLogDrainsTrace](../models/getalllogdrainsdrainslogdrainstrace.md) | :heavy_minus_sign: | N/A | +| `analytics` | [models.GetAllLogDrainsDrainsAnalytics](../models/getalllogdrainsdrainsanalytics.md) | :heavy_minus_sign: | N/A | +| `speedInsights` | [models.GetAllLogDrainsDrainsSpeedInsights](../models/getalllogdrainsdrainsspeedinsights.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getalllogdrainsdrainslogdrainssource.md b/docs/models/getalllogdrainsdrainslogdrainssource.md new file mode 100644 index 000000000..8988d665a --- /dev/null +++ b/docs/models/getalllogdrainsdrainslogdrainssource.md @@ -0,0 +1,23 @@ +# GetAllLogDrainsDrainsLogDrainsSource + + +## Supported Types + +### `models.GetAllLogDrainsSourceLogDrains1` + +```typescript +const value: models.GetAllLogDrainsSourceLogDrains1 = { + kind: "self-served", +}; +``` + +### `models.GetAllLogDrainsSourceLogDrains2` + +```typescript +const value: models.GetAllLogDrainsSourceLogDrains2 = { + kind: "integration", + integrationId: "", + integrationConfigurationId: "", +}; +``` + diff --git a/docs/models/getalllogdrainsdrainslogdrainsspeedinsights.md b/docs/models/getalllogdrainsdrainslogdrainsspeedinsights.md new file mode 100644 index 000000000..0e034f3a3 --- /dev/null +++ b/docs/models/getalllogdrainsdrainslogdrainsspeedinsights.md @@ -0,0 +1,14 @@ +# GetAllLogDrainsDrainsLogDrainsSpeedInsights + +## Example Usage + +```typescript +import { GetAllLogDrainsDrainsLogDrainsSpeedInsights } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsDrainsLogDrainsSpeedInsights = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/getalllogdrainsdrainslogdrainsstatus.md b/docs/models/getalllogdrainsdrainslogdrainsstatus.md new file mode 100644 index 000000000..e6fb57c39 --- /dev/null +++ b/docs/models/getalllogdrainsdrainslogdrainsstatus.md @@ -0,0 +1,15 @@ +# GetAllLogDrainsDrainsLogDrainsStatus + +## Example Usage + +```typescript +import { GetAllLogDrainsDrainsLogDrainsStatus } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsDrainsLogDrainsStatus = "enabled"; +``` + +## Values + +```typescript +"enabled" | "disabled" | "errored" +``` \ No newline at end of file diff --git a/docs/models/getalllogdrainsdrainslogdrainstrace.md b/docs/models/getalllogdrainsdrainslogdrainstrace.md new file mode 100644 index 000000000..95fba1557 --- /dev/null +++ b/docs/models/getalllogdrainsdrainslogdrainstrace.md @@ -0,0 +1,14 @@ +# GetAllLogDrainsDrainsLogDrainsTrace + +## Example Usage + +```typescript +import { GetAllLogDrainsDrainsLogDrainsTrace } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsDrainsLogDrainsTrace = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/getalllogdrainsdrainslogdrainstype.md b/docs/models/getalllogdrainsdrainslogdrainstype.md new file mode 100644 index 000000000..c06eaecef --- /dev/null +++ b/docs/models/getalllogdrainsdrainslogdrainstype.md @@ -0,0 +1,15 @@ +# GetAllLogDrainsDrainsLogDrainsType + +## Example Usage + +```typescript +import { GetAllLogDrainsDrainsLogDrainsType } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsDrainsLogDrainsType = "head_sampling"; +``` + +## Values + +```typescript +"head_sampling" +``` \ No newline at end of file diff --git a/docs/models/getalllogdrainsdrainsprojectsmetadata.md b/docs/models/getalllogdrainsdrainsprojectsmetadata.md new file mode 100644 index 000000000..e74509c0f --- /dev/null +++ b/docs/models/getalllogdrainsdrainsprojectsmetadata.md @@ -0,0 +1,21 @@ +# GetAllLogDrainsDrainsProjectsMetadata + +## Example Usage + +```typescript +import { GetAllLogDrainsDrainsProjectsMetadata } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsDrainsProjectsMetadata = { + id: "", + name: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `id` | *string* | :heavy_check_mark: | N/A | +| `name` | *string* | :heavy_check_mark: | N/A | +| `framework` | [models.GetAllLogDrainsDrainsFramework](../models/getalllogdrainsdrainsframework.md) | :heavy_minus_sign: | N/A | +| `latestDeployment` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getalllogdrainsdrainssampling.md b/docs/models/getalllogdrainsdrainssampling.md new file mode 100644 index 000000000..d591a797b --- /dev/null +++ b/docs/models/getalllogdrainsdrainssampling.md @@ -0,0 +1,21 @@ +# GetAllLogDrainsDrainsSampling + +## Example Usage + +```typescript +import { GetAllLogDrainsDrainsSampling } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsDrainsSampling = { + type: "head_sampling", + rate: 9093.5, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `type` | [models.GetAllLogDrainsDrainsLogDrainsType](../models/getalllogdrainsdrainslogdrainstype.md) | :heavy_check_mark: | N/A | +| `rate` | *number* | :heavy_check_mark: | N/A | +| `env` | [models.GetAllLogDrainsDrainsLogDrainsEnv](../models/getalllogdrainsdrainslogdrainsenv.md) | :heavy_minus_sign: | N/A | +| `requestPath` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getalllogdrainsdrainsschemas.md b/docs/models/getalllogdrainsdrainsschemas.md new file mode 100644 index 000000000..43130d520 --- /dev/null +++ b/docs/models/getalllogdrainsdrainsschemas.md @@ -0,0 +1,18 @@ +# GetAllLogDrainsDrainsSchemas + +## Example Usage + +```typescript +import { GetAllLogDrainsDrainsSchemas } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsDrainsSchemas = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | +| `log` | [models.GetAllLogDrainsDrainsLog](../models/getalllogdrainsdrainslog.md) | :heavy_minus_sign: | N/A | +| `trace` | [models.GetAllLogDrainsDrainsTrace](../models/getalllogdrainsdrainstrace.md) | :heavy_minus_sign: | N/A | +| `analytics` | [models.GetAllLogDrainsDrainsLogDrainsAnalytics](../models/getalllogdrainsdrainslogdrainsanalytics.md) | :heavy_minus_sign: | N/A | +| `speedInsights` | [models.GetAllLogDrainsDrainsLogDrainsSpeedInsights](../models/getalllogdrainsdrainslogdrainsspeedinsights.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getalllogdrainsdrainssource.md b/docs/models/getalllogdrainsdrainssource.md new file mode 100644 index 000000000..5690b0542 --- /dev/null +++ b/docs/models/getalllogdrainsdrainssource.md @@ -0,0 +1,23 @@ +# GetAllLogDrainsDrainsSource + + +## Supported Types + +### `models.GetAllLogDrainsSource1` + +```typescript +const value: models.GetAllLogDrainsSource1 = { + kind: "self-served", +}; +``` + +### `models.GetAllLogDrainsSource2` + +```typescript +const value: models.GetAllLogDrainsSource2 = { + kind: "integration", + integrationId: "", + integrationConfigurationId: "", +}; +``` + diff --git a/docs/models/getalllogdrainsdrainsspeedinsights.md b/docs/models/getalllogdrainsdrainsspeedinsights.md new file mode 100644 index 000000000..d8ffe3143 --- /dev/null +++ b/docs/models/getalllogdrainsdrainsspeedinsights.md @@ -0,0 +1,14 @@ +# GetAllLogDrainsDrainsSpeedInsights + +## Example Usage + +```typescript +import { GetAllLogDrainsDrainsSpeedInsights } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsDrainsSpeedInsights = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/getalllogdrainsdrainsstatus.md b/docs/models/getalllogdrainsdrainsstatus.md new file mode 100644 index 000000000..8a7606235 --- /dev/null +++ b/docs/models/getalllogdrainsdrainsstatus.md @@ -0,0 +1,15 @@ +# GetAllLogDrainsDrainsStatus + +## Example Usage + +```typescript +import { GetAllLogDrainsDrainsStatus } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsDrainsStatus = "enabled"; +``` + +## Values + +```typescript +"enabled" | "disabled" | "errored" +``` \ No newline at end of file diff --git a/docs/models/getalllogdrainsdrainstrace.md b/docs/models/getalllogdrainsdrainstrace.md new file mode 100644 index 000000000..2cea768b8 --- /dev/null +++ b/docs/models/getalllogdrainsdrainstrace.md @@ -0,0 +1,14 @@ +# GetAllLogDrainsDrainsTrace + +## Example Usage + +```typescript +import { GetAllLogDrainsDrainsTrace } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsDrainsTrace = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/getalllogdrainsdrainstype.md b/docs/models/getalllogdrainsdrainstype.md new file mode 100644 index 000000000..fddd29d42 --- /dev/null +++ b/docs/models/getalllogdrainsdrainstype.md @@ -0,0 +1,15 @@ +# GetAllLogDrainsDrainsType + +## Example Usage + +```typescript +import { GetAllLogDrainsDrainsType } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsDrainsType = "head_sampling"; +``` + +## Values + +```typescript +"head_sampling" +``` \ No newline at end of file diff --git a/docs/models/getalllogdrainsfilter1.md b/docs/models/getalllogdrainsfilter1.md new file mode 100644 index 000000000..c8c990abd --- /dev/null +++ b/docs/models/getalllogdrainsfilter1.md @@ -0,0 +1,20 @@ +# GetAllLogDrainsFilter1 + +## Example Usage + +```typescript +import { GetAllLogDrainsFilter1 } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsFilter1 = { + type: "basic", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | +| `type` | [models.GetAllLogDrainsFilterLogDrainsType](../models/getalllogdrainsfilterlogdrainstype.md) | :heavy_check_mark: | N/A | +| `project` | [models.GetAllLogDrainsFilterProject](../models/getalllogdrainsfilterproject.md) | :heavy_minus_sign: | N/A | +| `log` | [models.GetAllLogDrainsFilterLog](../models/getalllogdrainsfilterlog.md) | :heavy_minus_sign: | N/A | +| `deployment` | [models.GetAllLogDrainsFilterLogDrainsDeployment](../models/getalllogdrainsfilterlogdrainsdeployment.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getalllogdrainsfilter2.md b/docs/models/getalllogdrainsfilter2.md new file mode 100644 index 000000000..357d36d47 --- /dev/null +++ b/docs/models/getalllogdrainsfilter2.md @@ -0,0 +1,19 @@ +# GetAllLogDrainsFilter2 + +## Example Usage + +```typescript +import { GetAllLogDrainsFilter2 } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsFilter2 = { + type: "odata", + text: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | +| `type` | [models.GetAllLogDrainsFilterLogDrainsResponseType](../models/getalllogdrainsfilterlogdrainsresponsetype.md) | :heavy_check_mark: | N/A | +| `text` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getalllogdrainsfilterdeployment.md b/docs/models/getalllogdrainsfilterdeployment.md new file mode 100644 index 000000000..617659622 --- /dev/null +++ b/docs/models/getalllogdrainsfilterdeployment.md @@ -0,0 +1,15 @@ +# GetAllLogDrainsFilterDeployment + +## Example Usage + +```typescript +import { GetAllLogDrainsFilterDeployment } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsFilterDeployment = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `environments` | [models.GetAllLogDrainsFilterEnvironments](../models/getalllogdrainsfilterenvironments.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getalllogdrainsfilterenvironments.md b/docs/models/getalllogdrainsfilterenvironments.md new file mode 100644 index 000000000..99a1bd263 --- /dev/null +++ b/docs/models/getalllogdrainsfilterenvironments.md @@ -0,0 +1,15 @@ +# GetAllLogDrainsFilterEnvironments + +## Example Usage + +```typescript +import { GetAllLogDrainsFilterEnvironments } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsFilterEnvironments = "preview"; +``` + +## Values + +```typescript +"production" | "preview" +``` \ No newline at end of file diff --git a/docs/models/getalllogdrainsfilterlog.md b/docs/models/getalllogdrainsfilterlog.md new file mode 100644 index 000000000..86c98220c --- /dev/null +++ b/docs/models/getalllogdrainsfilterlog.md @@ -0,0 +1,16 @@ +# GetAllLogDrainsFilterLog + +## Example Usage + +```typescript +import { GetAllLogDrainsFilterLog } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsFilterLog = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | +| `sources` | [models.GetAllLogDrainsFilterLogDrainsSources](../models/getalllogdrainsfilterlogdrainssources.md)[] | :heavy_minus_sign: | N/A | +| `legacyExcludeCachedStaticAssetLogs` | *boolean* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getalllogdrainsfilterlogdrains1.md b/docs/models/getalllogdrainsfilterlogdrains1.md new file mode 100644 index 000000000..6d5fc9b6e --- /dev/null +++ b/docs/models/getalllogdrainsfilterlogdrains1.md @@ -0,0 +1,20 @@ +# GetAllLogDrainsFilterLogDrains1 + +## Example Usage + +```typescript +import { GetAllLogDrainsFilterLogDrains1 } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsFilterLogDrains1 = { + type: "basic", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.GetAllLogDrainsFilterLogDrainsResponse200Type](../models/getalllogdrainsfilterlogdrainsresponse200type.md) | :heavy_check_mark: | N/A | +| `project` | [models.GetAllLogDrainsFilterLogDrainsProject](../models/getalllogdrainsfilterlogdrainsproject.md) | :heavy_minus_sign: | N/A | +| `log` | [models.GetAllLogDrainsFilterLogDrainsLog](../models/getalllogdrainsfilterlogdrainslog.md) | :heavy_minus_sign: | N/A | +| `deployment` | [models.GetAllLogDrainsFilterDeployment](../models/getalllogdrainsfilterdeployment.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getalllogdrainsfilterlogdrains2.md b/docs/models/getalllogdrainsfilterlogdrains2.md new file mode 100644 index 000000000..7828bcf9c --- /dev/null +++ b/docs/models/getalllogdrainsfilterlogdrains2.md @@ -0,0 +1,19 @@ +# GetAllLogDrainsFilterLogDrains2 + +## Example Usage + +```typescript +import { GetAllLogDrainsFilterLogDrains2 } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsFilterLogDrains2 = { + type: "odata", + text: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `type` | [models.GetAllLogDrainsFilterType](../models/getalllogdrainsfiltertype.md) | :heavy_check_mark: | N/A | +| `text` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getalllogdrainsfilterlogdrainsdeployment.md b/docs/models/getalllogdrainsfilterlogdrainsdeployment.md new file mode 100644 index 000000000..b12f5f900 --- /dev/null +++ b/docs/models/getalllogdrainsfilterlogdrainsdeployment.md @@ -0,0 +1,15 @@ +# GetAllLogDrainsFilterLogDrainsDeployment + +## Example Usage + +```typescript +import { GetAllLogDrainsFilterLogDrainsDeployment } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsFilterLogDrainsDeployment = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | +| `environments` | [models.GetAllLogDrainsFilterLogDrainsEnvironments](../models/getalllogdrainsfilterlogdrainsenvironments.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getalllogdrainsfilterlogdrainsenvironments.md b/docs/models/getalllogdrainsfilterlogdrainsenvironments.md new file mode 100644 index 000000000..88b1591db --- /dev/null +++ b/docs/models/getalllogdrainsfilterlogdrainsenvironments.md @@ -0,0 +1,15 @@ +# GetAllLogDrainsFilterLogDrainsEnvironments + +## Example Usage + +```typescript +import { GetAllLogDrainsFilterLogDrainsEnvironments } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsFilterLogDrainsEnvironments = "preview"; +``` + +## Values + +```typescript +"production" | "preview" +``` \ No newline at end of file diff --git a/docs/models/getalllogdrainsfilterlogdrainslog.md b/docs/models/getalllogdrainsfilterlogdrainslog.md new file mode 100644 index 000000000..fef5da238 --- /dev/null +++ b/docs/models/getalllogdrainsfilterlogdrainslog.md @@ -0,0 +1,16 @@ +# GetAllLogDrainsFilterLogDrainsLog + +## Example Usage + +```typescript +import { GetAllLogDrainsFilterLogDrainsLog } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsFilterLogDrainsLog = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `sources` | [models.GetAllLogDrainsFilterSources](../models/getalllogdrainsfiltersources.md)[] | :heavy_minus_sign: | N/A | +| `legacyExcludeCachedStaticAssetLogs` | *boolean* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getalllogdrainsfilterlogdrainsproject.md b/docs/models/getalllogdrainsfilterlogdrainsproject.md new file mode 100644 index 000000000..8d43a426c --- /dev/null +++ b/docs/models/getalllogdrainsfilterlogdrainsproject.md @@ -0,0 +1,15 @@ +# GetAllLogDrainsFilterLogDrainsProject + +## Example Usage + +```typescript +import { GetAllLogDrainsFilterLogDrainsProject } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsFilterLogDrainsProject = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `ids` | *string*[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getalllogdrainsfilterlogdrainsresponse200type.md b/docs/models/getalllogdrainsfilterlogdrainsresponse200type.md new file mode 100644 index 000000000..4cebc52ba --- /dev/null +++ b/docs/models/getalllogdrainsfilterlogdrainsresponse200type.md @@ -0,0 +1,15 @@ +# GetAllLogDrainsFilterLogDrainsResponse200Type + +## Example Usage + +```typescript +import { GetAllLogDrainsFilterLogDrainsResponse200Type } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsFilterLogDrainsResponse200Type = "basic"; +``` + +## Values + +```typescript +"basic" +``` \ No newline at end of file diff --git a/docs/models/getalllogdrainsfilterlogdrainsresponsetype.md b/docs/models/getalllogdrainsfilterlogdrainsresponsetype.md new file mode 100644 index 000000000..f9b84fcde --- /dev/null +++ b/docs/models/getalllogdrainsfilterlogdrainsresponsetype.md @@ -0,0 +1,15 @@ +# GetAllLogDrainsFilterLogDrainsResponseType + +## Example Usage + +```typescript +import { GetAllLogDrainsFilterLogDrainsResponseType } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsFilterLogDrainsResponseType = "odata"; +``` + +## Values + +```typescript +"odata" +``` \ No newline at end of file diff --git a/docs/models/getalllogdrainsfilterlogdrainssources.md b/docs/models/getalllogdrainsfilterlogdrainssources.md new file mode 100644 index 000000000..933b14f7e --- /dev/null +++ b/docs/models/getalllogdrainsfilterlogdrainssources.md @@ -0,0 +1,15 @@ +# GetAllLogDrainsFilterLogDrainsSources + +## Example Usage + +```typescript +import { GetAllLogDrainsFilterLogDrainsSources } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsFilterLogDrainsSources = "build"; +``` + +## Values + +```typescript +"build" | "edge" | "lambda" | "static" | "external" | "firewall" | "redirect" +``` \ No newline at end of file diff --git a/docs/models/getalllogdrainsfilterlogdrainstype.md b/docs/models/getalllogdrainsfilterlogdrainstype.md new file mode 100644 index 000000000..23a40d10b --- /dev/null +++ b/docs/models/getalllogdrainsfilterlogdrainstype.md @@ -0,0 +1,15 @@ +# GetAllLogDrainsFilterLogDrainsType + +## Example Usage + +```typescript +import { GetAllLogDrainsFilterLogDrainsType } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsFilterLogDrainsType = "basic"; +``` + +## Values + +```typescript +"basic" +``` \ No newline at end of file diff --git a/docs/models/getalllogdrainsfilterproject.md b/docs/models/getalllogdrainsfilterproject.md new file mode 100644 index 000000000..8b234d7a7 --- /dev/null +++ b/docs/models/getalllogdrainsfilterproject.md @@ -0,0 +1,15 @@ +# GetAllLogDrainsFilterProject + +## Example Usage + +```typescript +import { GetAllLogDrainsFilterProject } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsFilterProject = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `ids` | *string*[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getalllogdrainsfiltersources.md b/docs/models/getalllogdrainsfiltersources.md new file mode 100644 index 000000000..5353d5d3e --- /dev/null +++ b/docs/models/getalllogdrainsfiltersources.md @@ -0,0 +1,15 @@ +# GetAllLogDrainsFilterSources + +## Example Usage + +```typescript +import { GetAllLogDrainsFilterSources } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsFilterSources = "external"; +``` + +## Values + +```typescript +"build" | "edge" | "lambda" | "static" | "external" | "firewall" | "redirect" +``` \ No newline at end of file diff --git a/docs/models/getalllogdrainsfiltertype.md b/docs/models/getalllogdrainsfiltertype.md new file mode 100644 index 000000000..0c36d4c63 --- /dev/null +++ b/docs/models/getalllogdrainsfiltertype.md @@ -0,0 +1,15 @@ +# GetAllLogDrainsFilterType + +## Example Usage + +```typescript +import { GetAllLogDrainsFilterType } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsFilterType = "odata"; +``` + +## Values + +```typescript +"odata" +``` \ No newline at end of file diff --git a/docs/models/getalllogdrainsfilterv21.md b/docs/models/getalllogdrainsfilterv21.md new file mode 100644 index 000000000..ac64b55ba --- /dev/null +++ b/docs/models/getalllogdrainsfilterv21.md @@ -0,0 +1,17 @@ +# GetAllLogDrainsFilterV21 + +## Example Usage + +```typescript +import { GetAllLogDrainsFilterV21 } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsFilterV21 = { + version: "v1", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `version` | [models.GetAllLogDrainsFilterV2Version](../models/getalllogdrainsfilterv2version.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getalllogdrainsfilterv22.md b/docs/models/getalllogdrainsfilterv22.md new file mode 100644 index 000000000..88d0e67f8 --- /dev/null +++ b/docs/models/getalllogdrainsfilterv22.md @@ -0,0 +1,21 @@ +# GetAllLogDrainsFilterV22 + +## Example Usage + +```typescript +import { GetAllLogDrainsFilterV22 } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsFilterV22 = { + version: "v2", + filter: { + type: "basic", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | +| `version` | [models.GetAllLogDrainsFilterV2LogDrainsVersion](../models/getalllogdrainsfilterv2logdrainsversion.md) | :heavy_check_mark: | N/A | +| `filter` | *models.GetAllLogDrainsFilterV2LogDrainsFilter* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getalllogdrainsfilterv2filter.md b/docs/models/getalllogdrainsfilterv2filter.md new file mode 100644 index 000000000..19aa96a0b --- /dev/null +++ b/docs/models/getalllogdrainsfilterv2filter.md @@ -0,0 +1,22 @@ +# GetAllLogDrainsFilterV2Filter + + +## Supported Types + +### `models.GetAllLogDrainsFilterLogDrains1` + +```typescript +const value: models.GetAllLogDrainsFilterLogDrains1 = { + type: "basic", +}; +``` + +### `models.GetAllLogDrainsFilterLogDrains2` + +```typescript +const value: models.GetAllLogDrainsFilterLogDrains2 = { + type: "odata", + text: "", +}; +``` + diff --git a/docs/models/getalllogdrainsfilterv2logdrains1.md b/docs/models/getalllogdrainsfilterv2logdrains1.md new file mode 100644 index 000000000..c2451bcc1 --- /dev/null +++ b/docs/models/getalllogdrainsfilterv2logdrains1.md @@ -0,0 +1,17 @@ +# GetAllLogDrainsFilterV2LogDrains1 + +## Example Usage + +```typescript +import { GetAllLogDrainsFilterV2LogDrains1 } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsFilterV2LogDrains1 = { + version: "v1", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | +| `version` | [models.GetAllLogDrainsFilterV2LogDrainsResponseVersion](../models/getalllogdrainsfilterv2logdrainsresponseversion.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getalllogdrainsfilterv2logdrains2.md b/docs/models/getalllogdrainsfilterv2logdrains2.md new file mode 100644 index 000000000..7d60bd661 --- /dev/null +++ b/docs/models/getalllogdrainsfilterv2logdrains2.md @@ -0,0 +1,21 @@ +# GetAllLogDrainsFilterV2LogDrains2 + +## Example Usage + +```typescript +import { GetAllLogDrainsFilterV2LogDrains2 } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsFilterV2LogDrains2 = { + version: "v2", + filter: { + type: "basic", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | +| `version` | [models.GetAllLogDrainsFilterV2LogDrainsResponse200Version](../models/getalllogdrainsfilterv2logdrainsresponse200version.md) | :heavy_check_mark: | N/A | +| `filter` | *models.GetAllLogDrainsFilterV2Filter* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getalllogdrainsfilterv2logdrainsfilter.md b/docs/models/getalllogdrainsfilterv2logdrainsfilter.md new file mode 100644 index 000000000..284d49ace --- /dev/null +++ b/docs/models/getalllogdrainsfilterv2logdrainsfilter.md @@ -0,0 +1,22 @@ +# GetAllLogDrainsFilterV2LogDrainsFilter + + +## Supported Types + +### `models.GetAllLogDrainsFilter1` + +```typescript +const value: models.GetAllLogDrainsFilter1 = { + type: "basic", +}; +``` + +### `models.GetAllLogDrainsFilter2` + +```typescript +const value: models.GetAllLogDrainsFilter2 = { + type: "odata", + text: "", +}; +``` + diff --git a/docs/models/getalllogdrainsfilterv2logdrainsresponse200version.md b/docs/models/getalllogdrainsfilterv2logdrainsresponse200version.md new file mode 100644 index 000000000..8926baa4d --- /dev/null +++ b/docs/models/getalllogdrainsfilterv2logdrainsresponse200version.md @@ -0,0 +1,15 @@ +# GetAllLogDrainsFilterV2LogDrainsResponse200Version + +## Example Usage + +```typescript +import { GetAllLogDrainsFilterV2LogDrainsResponse200Version } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsFilterV2LogDrainsResponse200Version = "v2"; +``` + +## Values + +```typescript +"v2" +``` \ No newline at end of file diff --git a/docs/models/getalllogdrainsfilterv2logdrainsresponseversion.md b/docs/models/getalllogdrainsfilterv2logdrainsresponseversion.md new file mode 100644 index 000000000..ab37ae4a7 --- /dev/null +++ b/docs/models/getalllogdrainsfilterv2logdrainsresponseversion.md @@ -0,0 +1,15 @@ +# GetAllLogDrainsFilterV2LogDrainsResponseVersion + +## Example Usage + +```typescript +import { GetAllLogDrainsFilterV2LogDrainsResponseVersion } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsFilterV2LogDrainsResponseVersion = "v1"; +``` + +## Values + +```typescript +"v1" +``` \ No newline at end of file diff --git a/docs/models/getalllogdrainsfilterv2logdrainsversion.md b/docs/models/getalllogdrainsfilterv2logdrainsversion.md new file mode 100644 index 000000000..7785a685a --- /dev/null +++ b/docs/models/getalllogdrainsfilterv2logdrainsversion.md @@ -0,0 +1,15 @@ +# GetAllLogDrainsFilterV2LogDrainsVersion + +## Example Usage + +```typescript +import { GetAllLogDrainsFilterV2LogDrainsVersion } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsFilterV2LogDrainsVersion = "v2"; +``` + +## Values + +```typescript +"v2" +``` \ No newline at end of file diff --git a/docs/models/getalllogdrainsfilterv2version.md b/docs/models/getalllogdrainsfilterv2version.md new file mode 100644 index 000000000..01a6ed2a5 --- /dev/null +++ b/docs/models/getalllogdrainsfilterv2version.md @@ -0,0 +1,15 @@ +# GetAllLogDrainsFilterV2Version + +## Example Usage + +```typescript +import { GetAllLogDrainsFilterV2Version } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsFilterV2Version = "v1"; +``` + +## Values + +```typescript +"v1" +``` \ No newline at end of file diff --git a/docs/models/getalllogdrainsrequest.md b/docs/models/getalllogdrainsrequest.md new file mode 100644 index 000000000..a550325c4 --- /dev/null +++ b/docs/models/getalllogdrainsrequest.md @@ -0,0 +1,22 @@ +# GetAllLogDrainsRequest + +## Example Usage + +```typescript +import { GetAllLogDrainsRequest } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsRequest = { + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + slug: "my-team-url-slug", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | +| `projectId` | *string* | :heavy_minus_sign: | N/A | | +| `includeMetadata` | *boolean* | :heavy_minus_sign: | N/A | | +| `projectIdOrName` | *string* | :heavy_minus_sign: | N/A | | +| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | team_1a2b3c4d5e6f7g8h9i0j1k2l | +| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | my-team-url-slug | \ No newline at end of file diff --git a/docs/models/getalllogdrainsresponsebody.md b/docs/models/getalllogdrainsresponsebody.md new file mode 100644 index 000000000..5f3876abc --- /dev/null +++ b/docs/models/getalllogdrainsresponsebody.md @@ -0,0 +1,32 @@ +# GetAllLogDrainsResponseBody + + +## Supported Types + +### `models.GetAllLogDrainsResponseBody1` + +```typescript +const value: models.GetAllLogDrainsResponseBody1 = { + drains: [ + { + id: "", + ownerId: "", + name: "", + createdAt: 5888.29, + updatedAt: 3587.18, + source: { + kind: "self-served", + }, + }, + ], +}; +``` + +### `models.GetAllLogDrainsResponseBody2[]` + +```typescript +const value: models.GetAllLogDrainsResponseBody2[] = [ + {}, +]; +``` + diff --git a/docs/models/getalllogdrainsresponsebody1.md b/docs/models/getalllogdrainsresponsebody1.md new file mode 100644 index 000000000..513c5e75a --- /dev/null +++ b/docs/models/getalllogdrainsresponsebody1.md @@ -0,0 +1,28 @@ +# GetAllLogDrainsResponseBody1 + +## Example Usage + +```typescript +import { GetAllLogDrainsResponseBody1 } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsResponseBody1 = { + drains: [ + { + id: "", + ownerId: "", + name: "", + createdAt: 5888.29, + updatedAt: 3587.18, + source: { + kind: "self-served", + }, + }, + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | +| --------------------------- | --------------------------- | --------------------------- | --------------------------- | +| `drains` | *models.ResponseBodyDrains* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getalllogdrainsresponsebody2.md b/docs/models/getalllogdrainsresponsebody2.md new file mode 100644 index 000000000..59667bdcb --- /dev/null +++ b/docs/models/getalllogdrainsresponsebody2.md @@ -0,0 +1,18 @@ +# GetAllLogDrainsResponseBody2 + +## Example Usage + +```typescript +import { GetAllLogDrainsResponseBody2 } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsResponseBody2 = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `projectsMetadata` | [models.ResponseBodyProjectsMetadata](../models/responsebodyprojectsmetadata.md)[] | :heavy_minus_sign: | N/A | +| `integrationIcon` | *string* | :heavy_minus_sign: | N/A | +| `integrationConfigurationUri` | *string* | :heavy_minus_sign: | N/A | +| `integrationWebsite` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getalllogdrainsresponsebodyframework.md b/docs/models/getalllogdrainsresponsebodyframework.md new file mode 100644 index 000000000..43fa96242 --- /dev/null +++ b/docs/models/getalllogdrainsresponsebodyframework.md @@ -0,0 +1,15 @@ +# GetAllLogDrainsResponseBodyFramework + +## Example Usage + +```typescript +import { GetAllLogDrainsResponseBodyFramework } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsResponseBodyFramework = "saber"; +``` + +## Values + +```typescript +"blitzjs" | "nextjs" | "gatsby" | "remix" | "react-router" | "astro" | "hexo" | "eleventy" | "docusaurus-2" | "docusaurus" | "preact" | "solidstart-1" | "solidstart" | "dojo" | "ember" | "vue" | "scully" | "ionic-angular" | "angular" | "polymer" | "svelte" | "sveltekit" | "sveltekit-1" | "ionic-react" | "create-react-app" | "gridsome" | "umijs" | "sapper" | "saber" | "stencil" | "nuxtjs" | "redwoodjs" | "hugo" | "jekyll" | "brunch" | "middleman" | "zola" | "hydrogen" | "vite" | "tanstack-start" | "vitepress" | "vuepress" | "parcel" | "fastapi" | "flask" | "fasthtml" | "sanity-v3" | "sanity" | "storybook" | "nitro" | "hono" | "express" | "h3" | "nestjs" | "elysia" | "fastify" | "xmcp" +``` \ No newline at end of file diff --git a/docs/models/getalllogdrainssource1.md b/docs/models/getalllogdrainssource1.md new file mode 100644 index 000000000..8cd667821 --- /dev/null +++ b/docs/models/getalllogdrainssource1.md @@ -0,0 +1,17 @@ +# GetAllLogDrainsSource1 + +## Example Usage + +```typescript +import { GetAllLogDrainsSource1 } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsSource1 = { + kind: "self-served", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `kind` | [models.GetAllLogDrainsSourceKind](../models/getalllogdrainssourcekind.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getalllogdrainssource2.md b/docs/models/getalllogdrainssource2.md new file mode 100644 index 000000000..6bbc54f55 --- /dev/null +++ b/docs/models/getalllogdrainssource2.md @@ -0,0 +1,23 @@ +# GetAllLogDrainsSource2 + +## Example Usage + +```typescript +import { GetAllLogDrainsSource2 } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsSource2 = { + kind: "integration", + integrationId: "", + integrationConfigurationId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `kind` | [models.GetAllLogDrainsSourceLogDrainsKind](../models/getalllogdrainssourcelogdrainskind.md) | :heavy_check_mark: | N/A | +| `resourceId` | *string* | :heavy_minus_sign: | N/A | +| `externalResourceId` | *string* | :heavy_minus_sign: | N/A | +| `integrationId` | *string* | :heavy_check_mark: | N/A | +| `integrationConfigurationId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getalllogdrainssourcekind.md b/docs/models/getalllogdrainssourcekind.md new file mode 100644 index 000000000..0c24b43a0 --- /dev/null +++ b/docs/models/getalllogdrainssourcekind.md @@ -0,0 +1,15 @@ +# GetAllLogDrainsSourceKind + +## Example Usage + +```typescript +import { GetAllLogDrainsSourceKind } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsSourceKind = "self-served"; +``` + +## Values + +```typescript +"self-served" +``` \ No newline at end of file diff --git a/docs/models/getalllogdrainssourcelogdrains1.md b/docs/models/getalllogdrainssourcelogdrains1.md new file mode 100644 index 000000000..ed16e4b2f --- /dev/null +++ b/docs/models/getalllogdrainssourcelogdrains1.md @@ -0,0 +1,17 @@ +# GetAllLogDrainsSourceLogDrains1 + +## Example Usage + +```typescript +import { GetAllLogDrainsSourceLogDrains1 } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsSourceLogDrains1 = { + kind: "self-served", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | +| `kind` | [models.GetAllLogDrainsSourceLogDrainsResponseKind](../models/getalllogdrainssourcelogdrainsresponsekind.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getalllogdrainssourcelogdrains2.md b/docs/models/getalllogdrainssourcelogdrains2.md new file mode 100644 index 000000000..a432990d6 --- /dev/null +++ b/docs/models/getalllogdrainssourcelogdrains2.md @@ -0,0 +1,23 @@ +# GetAllLogDrainsSourceLogDrains2 + +## Example Usage + +```typescript +import { GetAllLogDrainsSourceLogDrains2 } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsSourceLogDrains2 = { + kind: "integration", + integrationId: "", + integrationConfigurationId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | +| `kind` | [models.GetAllLogDrainsSourceLogDrainsResponse200Kind](../models/getalllogdrainssourcelogdrainsresponse200kind.md) | :heavy_check_mark: | N/A | +| `resourceId` | *string* | :heavy_minus_sign: | N/A | +| `externalResourceId` | *string* | :heavy_minus_sign: | N/A | +| `integrationId` | *string* | :heavy_check_mark: | N/A | +| `integrationConfigurationId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getalllogdrainssourcelogdrainskind.md b/docs/models/getalllogdrainssourcelogdrainskind.md new file mode 100644 index 000000000..9efb7b40a --- /dev/null +++ b/docs/models/getalllogdrainssourcelogdrainskind.md @@ -0,0 +1,15 @@ +# GetAllLogDrainsSourceLogDrainsKind + +## Example Usage + +```typescript +import { GetAllLogDrainsSourceLogDrainsKind } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsSourceLogDrainsKind = "integration"; +``` + +## Values + +```typescript +"integration" +``` \ No newline at end of file diff --git a/docs/models/getalllogdrainssourcelogdrainsresponse200kind.md b/docs/models/getalllogdrainssourcelogdrainsresponse200kind.md new file mode 100644 index 000000000..399e702ec --- /dev/null +++ b/docs/models/getalllogdrainssourcelogdrainsresponse200kind.md @@ -0,0 +1,15 @@ +# GetAllLogDrainsSourceLogDrainsResponse200Kind + +## Example Usage + +```typescript +import { GetAllLogDrainsSourceLogDrainsResponse200Kind } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsSourceLogDrainsResponse200Kind = "integration"; +``` + +## Values + +```typescript +"integration" +``` \ No newline at end of file diff --git a/docs/models/getalllogdrainssourcelogdrainsresponsekind.md b/docs/models/getalllogdrainssourcelogdrainsresponsekind.md new file mode 100644 index 000000000..cc3dae5e7 --- /dev/null +++ b/docs/models/getalllogdrainssourcelogdrainsresponsekind.md @@ -0,0 +1,15 @@ +# GetAllLogDrainsSourceLogDrainsResponseKind + +## Example Usage + +```typescript +import { GetAllLogDrainsSourceLogDrainsResponseKind } from "@vercel/sdk/models/getalllogdrainsop.js"; + +let value: GetAllLogDrainsSourceLogDrainsResponseKind = "self-served"; +``` + +## Values + +```typescript +"self-served" +``` \ No newline at end of file diff --git a/docs/models/getbulkavailabilityrequest.md b/docs/models/getbulkavailabilityrequest.md new file mode 100644 index 000000000..101727c32 --- /dev/null +++ b/docs/models/getbulkavailabilityrequest.md @@ -0,0 +1,21 @@ +# GetBulkAvailabilityRequest + +## Example Usage + +```typescript +import { GetBulkAvailabilityRequest } from "@vercel/sdk/models/getbulkavailabilityop.js"; + +let value: GetBulkAvailabilityRequest = { + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + requestBody: { + domains: [], + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `teamId` | *string* | :heavy_minus_sign: | N/A | team_1a2b3c4d5e6f7g8h9i0j1k2l | +| `requestBody` | [models.GetBulkAvailabilityRequestBody](../models/getbulkavailabilityrequestbody.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/getbulkavailabilityrequestbody.md b/docs/models/getbulkavailabilityrequestbody.md new file mode 100644 index 000000000..a7a4f57fe --- /dev/null +++ b/docs/models/getbulkavailabilityrequestbody.md @@ -0,0 +1,19 @@ +# GetBulkAvailabilityRequestBody + +## Example Usage + +```typescript +import { GetBulkAvailabilityRequestBody } from "@vercel/sdk/models/getbulkavailabilityop.js"; + +let value: GetBulkAvailabilityRequestBody = { + domains: [ + "", + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------ | ------------------------------ | ------------------------------ | ------------------------------ | +| `domains` | *string*[] | :heavy_check_mark: | an array of at most 50 item(s) | \ No newline at end of file diff --git a/docs/models/getbulkavailabilityresponsebody.md b/docs/models/getbulkavailabilityresponsebody.md new file mode 100644 index 000000000..36214d0f7 --- /dev/null +++ b/docs/models/getbulkavailabilityresponsebody.md @@ -0,0 +1,24 @@ +# GetBulkAvailabilityResponseBody + +Success + +## Example Usage + +```typescript +import { GetBulkAvailabilityResponseBody } from "@vercel/sdk/models/getbulkavailabilityop.js"; + +let value: GetBulkAvailabilityResponseBody = { + results: [ + { + domain: "wrathful-puppet.net", + available: true, + }, + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | +| `results` | [models.Results](../models/results.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getconfigurablelogdrainframework.md b/docs/models/getconfigurablelogdrainframework.md new file mode 100644 index 000000000..7769fd050 --- /dev/null +++ b/docs/models/getconfigurablelogdrainframework.md @@ -0,0 +1,15 @@ +# GetConfigurableLogDrainFramework + +## Example Usage + +```typescript +import { GetConfigurableLogDrainFramework } from "@vercel/sdk/models/getconfigurablelogdrainop.js"; + +let value: GetConfigurableLogDrainFramework = "vite"; +``` + +## Values + +```typescript +"blitzjs" | "nextjs" | "gatsby" | "remix" | "react-router" | "astro" | "hexo" | "eleventy" | "docusaurus-2" | "docusaurus" | "preact" | "solidstart-1" | "solidstart" | "dojo" | "ember" | "vue" | "scully" | "ionic-angular" | "angular" | "polymer" | "svelte" | "sveltekit" | "sveltekit-1" | "ionic-react" | "create-react-app" | "gridsome" | "umijs" | "sapper" | "saber" | "stencil" | "nuxtjs" | "redwoodjs" | "hugo" | "jekyll" | "brunch" | "middleman" | "zola" | "hydrogen" | "vite" | "tanstack-start" | "vitepress" | "vuepress" | "parcel" | "fastapi" | "flask" | "fasthtml" | "sanity-v3" | "sanity" | "storybook" | "nitro" | "hono" | "express" | "h3" | "nestjs" | "elysia" | "fastify" | "xmcp" +``` \ No newline at end of file diff --git a/docs/models/getconfigurablelogdrainrequest.md b/docs/models/getconfigurablelogdrainrequest.md new file mode 100644 index 000000000..e1eeb74bb --- /dev/null +++ b/docs/models/getconfigurablelogdrainrequest.md @@ -0,0 +1,21 @@ +# GetConfigurableLogDrainRequest + +## Example Usage + +```typescript +import { GetConfigurableLogDrainRequest } from "@vercel/sdk/models/getconfigurablelogdrainop.js"; + +let value: GetConfigurableLogDrainRequest = { + id: "", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + slug: "my-team-url-slug", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | N/A | | +| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | team_1a2b3c4d5e6f7g8h9i0j1k2l | +| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | my-team-url-slug | \ No newline at end of file diff --git a/docs/models/getconfigurablelogdrainresponsebody.md b/docs/models/getconfigurablelogdrainresponsebody.md new file mode 100644 index 000000000..b7f7b83c9 --- /dev/null +++ b/docs/models/getconfigurablelogdrainresponsebody.md @@ -0,0 +1,18 @@ +# GetConfigurableLogDrainResponseBody + +## Example Usage + +```typescript +import { GetConfigurableLogDrainResponseBody } from "@vercel/sdk/models/getconfigurablelogdrainop.js"; + +let value: GetConfigurableLogDrainResponseBody = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | +| `projectsMetadata` | [models.ProjectsMetadata](../models/projectsmetadata.md)[] | :heavy_minus_sign: | N/A | +| `integrationIcon` | *string* | :heavy_minus_sign: | N/A | +| `integrationConfigurationUri` | *string* | :heavy_minus_sign: | N/A | +| `integrationWebsite` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getconfigurationproductspropertiesatbrandat543472.md b/docs/models/getconfigurationproductspropertiesatbrandat649501.md similarity index 55% rename from docs/models/getconfigurationproductspropertiesatbrandat543472.md rename to docs/models/getconfigurationproductspropertiesatbrandat649501.md index 1f3be1bff..50cd4b6f5 100644 --- a/docs/models/getconfigurationproductspropertiesatbrandat543472.md +++ b/docs/models/getconfigurationproductspropertiesatbrandat649501.md @@ -1,11 +1,11 @@ -# GetConfigurationProductsPropertiesAtBRANDAt543472 +# GetConfigurationProductsPropertiesAtBRANDAt649501 ## Example Usage ```typescript -import { GetConfigurationProductsPropertiesAtBRANDAt543472 } from "@vercel/sdk/models/getconfigurationproductsop.js"; +import { GetConfigurationProductsPropertiesAtBRANDAt649501 } from "@vercel/sdk/models/getconfigurationproductsop.js"; -let value: GetConfigurationProductsPropertiesAtBRANDAt543472 = {}; +let value: GetConfigurationProductsPropertiesAtBRANDAt649501 = {}; ``` ## Fields diff --git a/docs/models/getconfigurationproductspropertiesintegrationsatbrandat543472.md b/docs/models/getconfigurationproductspropertiesintegrationsatbrandat649501.md similarity index 67% rename from docs/models/getconfigurationproductspropertiesintegrationsatbrandat543472.md rename to docs/models/getconfigurationproductspropertiesintegrationsatbrandat649501.md index e5f7fe642..d6eab9312 100644 --- a/docs/models/getconfigurationproductspropertiesintegrationsatbrandat543472.md +++ b/docs/models/getconfigurationproductspropertiesintegrationsatbrandat649501.md @@ -1,11 +1,11 @@ -# GetConfigurationProductsPropertiesIntegrationsAtBRANDAt543472 +# GetConfigurationProductsPropertiesIntegrationsAtBRANDAt649501 ## Example Usage ```typescript -import { GetConfigurationProductsPropertiesIntegrationsAtBRANDAt543472 } from "@vercel/sdk/models/getconfigurationproductsop.js"; +import { GetConfigurationProductsPropertiesIntegrationsAtBRANDAt649501 } from "@vercel/sdk/models/getconfigurationproductsop.js"; -let value: GetConfigurationProductsPropertiesIntegrationsAtBRANDAt543472 = {}; +let value: GetConfigurationProductsPropertiesIntegrationsAtBRANDAt649501 = {}; ``` ## Fields diff --git a/docs/models/getconfigurationproductspropertiesintegrationsmaxlength.md b/docs/models/getconfigurationproductspropertiesintegrationsmaxlength.md index 6d8db0bd2..36d97f306 100644 --- a/docs/models/getconfigurationproductspropertiesintegrationsmaxlength.md +++ b/docs/models/getconfigurationproductspropertiesintegrationsmaxlength.md @@ -6,7 +6,7 @@ import { GetConfigurationProductsPropertiesIntegrationsMaxLength } from "@vercel/sdk/models/getconfigurationproductsop.js"; let value: GetConfigurationProductsPropertiesIntegrationsMaxLength = { - atBRANDAt543472: {}, + atBRANDAt649501: {}, }; ``` @@ -14,4 +14,4 @@ let value: GetConfigurationProductsPropertiesIntegrationsMaxLength = { | Field | Type | Required | Description | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `atBRANDAt543472` | [models.GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9MaxLengthAtBRANDAt543472](../models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema9maxlengthatbrandat543472.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `atBRANDAt649501` | [models.GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9MaxLengthAtBRANDAt649501](../models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema9maxlengthatbrandat649501.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getconfigurationproductspropertiesintegrationsminlength.md b/docs/models/getconfigurationproductspropertiesintegrationsminlength.md index 759318f03..e82ebe38a 100644 --- a/docs/models/getconfigurationproductspropertiesintegrationsminlength.md +++ b/docs/models/getconfigurationproductspropertiesintegrationsminlength.md @@ -6,7 +6,7 @@ import { GetConfigurationProductsPropertiesIntegrationsMinLength } from "@vercel/sdk/models/getconfigurationproductsop.js"; let value: GetConfigurationProductsPropertiesIntegrationsMinLength = { - atBRANDAt543472: {}, + atBRANDAt649501: {}, }; ``` @@ -14,4 +14,4 @@ let value: GetConfigurationProductsPropertiesIntegrationsMinLength = { | Field | Type | Required | Description | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `atBRANDAt543472` | [models.GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9AtBRANDAt543472](../models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema9atbrandat543472.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `atBRANDAt649501` | [models.GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9AtBRANDAt649501](../models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema9atbrandat649501.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getconfigurationproductspropertiesintegrationspattern.md b/docs/models/getconfigurationproductspropertiesintegrationspattern.md index f693a93a8..f00b537b9 100644 --- a/docs/models/getconfigurationproductspropertiesintegrationspattern.md +++ b/docs/models/getconfigurationproductspropertiesintegrationspattern.md @@ -6,7 +6,7 @@ import { GetConfigurationProductsPropertiesIntegrationsPattern } from "@vercel/sdk/models/getconfigurationproductsop.js"; let value: GetConfigurationProductsPropertiesIntegrationsPattern = { - atBRANDAt543472: {}, + atBRANDAt649501: {}, }; ``` @@ -14,4 +14,4 @@ let value: GetConfigurationProductsPropertiesIntegrationsPattern = { | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `atBRANDAt543472` | [models.GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9PatternAtBRANDAt543472](../models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema9patternatbrandat543472.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `atBRANDAt649501` | [models.GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9PatternAtBRANDAt649501](../models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema9patternatbrandat649501.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonatbrandat543472.md b/docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonatbrandat649501.md similarity index 84% rename from docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonatbrandat543472.md rename to docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonatbrandat649501.md index 0ef31bcc9..9cf218988 100644 --- a/docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonatbrandat543472.md +++ b/docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonatbrandat649501.md @@ -1,14 +1,14 @@ -# GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt543472 +# GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt649501 ## Example Usage ```typescript import { - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt543472, + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt649501, } from "@vercel/sdk/models/getconfigurationproductsop.js"; let value: - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt543472 = + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt649501 = {}; ``` diff --git a/docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyatbrandat543472.md b/docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyatbrandat649501.md similarity index 79% rename from docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyatbrandat543472.md rename to docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyatbrandat649501.md index 14ccaae7b..648ddac52 100644 --- a/docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyatbrandat543472.md +++ b/docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyatbrandat649501.md @@ -1,14 +1,14 @@ -# GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt543472 +# GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt649501 ## Example Usage ```typescript import { - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt543472, + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt649501, } from "@vercel/sdk/models/getconfigurationproductsop.js"; let value: - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt543472 = + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt649501 = {}; ``` diff --git a/docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsatbrandat543472.md b/docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsatbrandat649501.md similarity index 75% rename from docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsatbrandat543472.md rename to docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsatbrandat649501.md index bf9edcfaa..ebf4da200 100644 --- a/docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsatbrandat543472.md +++ b/docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsatbrandat649501.md @@ -1,14 +1,14 @@ -# GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsAtBRANDAt543472 +# GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsAtBRANDAt649501 ## Example Usage ```typescript import { - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsAtBRANDAt543472, + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsAtBRANDAt649501, } from "@vercel/sdk/models/getconfigurationproductsop.js"; let value: - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsAtBRANDAt543472 = + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsAtBRANDAt649501 = {}; ``` diff --git a/docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema10atbrandat543472.md b/docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema10atbrandat649501.md similarity index 70% rename from docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema10atbrandat543472.md rename to docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema10atbrandat649501.md index 7c932e0fb..e5c66baba 100644 --- a/docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema10atbrandat543472.md +++ b/docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema10atbrandat649501.md @@ -1,14 +1,14 @@ -# GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema10AtBRANDAt543472 +# GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema10AtBRANDAt649501 ## Example Usage ```typescript import { - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema10AtBRANDAt543472, + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema10AtBRANDAt649501, } from "@vercel/sdk/models/getconfigurationproductsop.js"; let value: - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema10AtBRANDAt543472 = + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema10AtBRANDAt649501 = {}; ``` diff --git a/docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema6atbrandat543472.md b/docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema6atbrandat649501.md similarity index 70% rename from docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema6atbrandat543472.md rename to docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema6atbrandat649501.md index 843e76808..9a1e8565f 100644 --- a/docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema6atbrandat543472.md +++ b/docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema6atbrandat649501.md @@ -1,14 +1,14 @@ -# GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6AtBRANDAt543472 +# GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6AtBRANDAt649501 ## Example Usage ```typescript import { - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6AtBRANDAt543472, + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6AtBRANDAt649501, } from "@vercel/sdk/models/getconfigurationproductsop.js"; let value: - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6AtBRANDAt543472 = + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6AtBRANDAt649501 = {}; ``` diff --git a/docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema6itemsatbrandat543472.md b/docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema6itemsatbrandat543472.md deleted file mode 100644 index fde80198f..000000000 --- a/docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema6itemsatbrandat543472.md +++ /dev/null @@ -1,18 +0,0 @@ -# GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsAtBRANDAt543472 - -## Example Usage - -```typescript -import { - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsAtBRANDAt543472, -} from "@vercel/sdk/models/getconfigurationproductsop.js"; - -let value: - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsAtBRANDAt543472 = - {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema6itemsatbrandat649501.md b/docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema6itemsatbrandat649501.md new file mode 100644 index 000000000..bcfbcd5ba --- /dev/null +++ b/docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema6itemsatbrandat649501.md @@ -0,0 +1,18 @@ +# GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsAtBRANDAt649501 + +## Example Usage + +```typescript +import { + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsAtBRANDAt649501, +} from "@vercel/sdk/models/getconfigurationproductsop.js"; + +let value: + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsAtBRANDAt649501 = + {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema6itemsminlengthatbrandat543472.md b/docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema6itemsminlengthatbrandat649501.md similarity index 94% rename from docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema6itemsminlengthatbrandat543472.md rename to docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema6itemsminlengthatbrandat649501.md index 68c86152c..e754a8058 100644 --- a/docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema6itemsminlengthatbrandat543472.md +++ b/docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema6itemsminlengthatbrandat649501.md @@ -1,14 +1,14 @@ -# GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsMinLengthAtBRANDAt543472 +# GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsMinLengthAtBRANDAt649501 ## Example Usage ```typescript import { - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsMinLengthAtBRANDAt543472, + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsMinLengthAtBRANDAt649501, } from "@vercel/sdk/models/getconfigurationproductsop.js"; let value: - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsMinLengthAtBRANDAt543472 = + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsMinLengthAtBRANDAt649501 = {}; ``` diff --git a/docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema8atbrandat543472.md b/docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema8atbrandat543472.md deleted file mode 100644 index 1e6cc8b9a..000000000 --- a/docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema8atbrandat543472.md +++ /dev/null @@ -1,18 +0,0 @@ -# GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8AtBRANDAt543472 - -## Example Usage - -```typescript -import { - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8AtBRANDAt543472, -} from "@vercel/sdk/models/getconfigurationproductsop.js"; - -let value: - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8AtBRANDAt543472 = - {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema8atbrandat649501.md b/docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema8atbrandat649501.md new file mode 100644 index 000000000..1de507ad3 --- /dev/null +++ b/docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema8atbrandat649501.md @@ -0,0 +1,18 @@ +# GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8AtBRANDAt649501 + +## Example Usage + +```typescript +import { + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8AtBRANDAt649501, +} from "@vercel/sdk/models/getconfigurationproductsop.js"; + +let value: + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8AtBRANDAt649501 = + {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema8itemsatbrandat543472.md b/docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema8itemsatbrandat543472.md deleted file mode 100644 index 55ba7b51c..000000000 --- a/docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema8itemsatbrandat543472.md +++ /dev/null @@ -1,18 +0,0 @@ -# GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsAtBRANDAt543472 - -## Example Usage - -```typescript -import { - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsAtBRANDAt543472, -} from "@vercel/sdk/models/getconfigurationproductsop.js"; - -let value: - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsAtBRANDAt543472 = - {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema8itemsatbrandat649501.md b/docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema8itemsatbrandat649501.md new file mode 100644 index 000000000..869f62678 --- /dev/null +++ b/docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema8itemsatbrandat649501.md @@ -0,0 +1,18 @@ +# GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsAtBRANDAt649501 + +## Example Usage + +```typescript +import { + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsAtBRANDAt649501, +} from "@vercel/sdk/models/getconfigurationproductsop.js"; + +let value: + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsAtBRANDAt649501 = + {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema8itemsminlengthatbrandat543472.md b/docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema8itemsminlengthatbrandat649501.md similarity index 94% rename from docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema8itemsminlengthatbrandat543472.md rename to docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema8itemsminlengthatbrandat649501.md index af8ffdf1e..5c8d3eb7d 100644 --- a/docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema8itemsminlengthatbrandat543472.md +++ b/docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema8itemsminlengthatbrandat649501.md @@ -1,14 +1,14 @@ -# GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsMinLengthAtBRANDAt543472 +# GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsMinLengthAtBRANDAt649501 ## Example Usage ```typescript import { - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsMinLengthAtBRANDAt543472, + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsMinLengthAtBRANDAt649501, } from "@vercel/sdk/models/getconfigurationproductsop.js"; let value: - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsMinLengthAtBRANDAt543472 = + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsMinLengthAtBRANDAt649501 = {}; ``` diff --git a/docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema8itemspatternatbrandat543472.md b/docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema8itemspatternatbrandat649501.md similarity index 95% rename from docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema8itemspatternatbrandat543472.md rename to docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema8itemspatternatbrandat649501.md index a5989ac2b..688224011 100644 --- a/docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema8itemspatternatbrandat543472.md +++ b/docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema8itemspatternatbrandat649501.md @@ -1,14 +1,14 @@ -# GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsPatternAtBRANDAt543472 +# GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsPatternAtBRANDAt649501 ## Example Usage ```typescript import { - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsPatternAtBRANDAt543472, + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsPatternAtBRANDAt649501, } from "@vercel/sdk/models/getconfigurationproductsop.js"; let value: - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsPatternAtBRANDAt543472 = + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsPatternAtBRANDAt649501 = {}; ``` diff --git a/docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema9atbrandat543472.md b/docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema9atbrandat543472.md deleted file mode 100644 index efd6aec5d..000000000 --- a/docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema9atbrandat543472.md +++ /dev/null @@ -1,18 +0,0 @@ -# GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9AtBRANDAt543472 - -## Example Usage - -```typescript -import { - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9AtBRANDAt543472, -} from "@vercel/sdk/models/getconfigurationproductsop.js"; - -let value: - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9AtBRANDAt543472 = - {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema9atbrandat649501.md b/docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema9atbrandat649501.md new file mode 100644 index 000000000..ea3ba4c92 --- /dev/null +++ b/docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema9atbrandat649501.md @@ -0,0 +1,18 @@ +# GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9AtBRANDAt649501 + +## Example Usage + +```typescript +import { + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9AtBRANDAt649501, +} from "@vercel/sdk/models/getconfigurationproductsop.js"; + +let value: + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9AtBRANDAt649501 = + {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema9maxlengthatbrandat543472.md b/docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema9maxlengthatbrandat543472.md deleted file mode 100644 index cec4ec2af..000000000 --- a/docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema9maxlengthatbrandat543472.md +++ /dev/null @@ -1,18 +0,0 @@ -# GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9MaxLengthAtBRANDAt543472 - -## Example Usage - -```typescript -import { - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9MaxLengthAtBRANDAt543472, -} from "@vercel/sdk/models/getconfigurationproductsop.js"; - -let value: - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9MaxLengthAtBRANDAt543472 = - {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema9maxlengthatbrandat649501.md b/docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema9maxlengthatbrandat649501.md new file mode 100644 index 000000000..a5fe71447 --- /dev/null +++ b/docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema9maxlengthatbrandat649501.md @@ -0,0 +1,18 @@ +# GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9MaxLengthAtBRANDAt649501 + +## Example Usage + +```typescript +import { + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9MaxLengthAtBRANDAt649501, +} from "@vercel/sdk/models/getconfigurationproductsop.js"; + +let value: + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9MaxLengthAtBRANDAt649501 = + {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema9patternatbrandat543472.md b/docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema9patternatbrandat543472.md deleted file mode 100644 index 427e61f96..000000000 --- a/docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema9patternatbrandat543472.md +++ /dev/null @@ -1,18 +0,0 @@ -# GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9PatternAtBRANDAt543472 - -## Example Usage - -```typescript -import { - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9PatternAtBRANDAt543472, -} from "@vercel/sdk/models/getconfigurationproductsop.js"; - -let value: - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9PatternAtBRANDAt543472 = - {}; -``` - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema9patternatbrandat649501.md b/docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema9patternatbrandat649501.md new file mode 100644 index 000000000..4a1bab951 --- /dev/null +++ b/docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema9patternatbrandat649501.md @@ -0,0 +1,18 @@ +# GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9PatternAtBRANDAt649501 + +## Example Usage + +```typescript +import { + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9PatternAtBRANDAt649501, +} from "@vercel/sdk/models/getconfigurationproductsop.js"; + +let value: + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9PatternAtBRANDAt649501 = + {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschemaatbrandat543472.md b/docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschemaatbrandat649501.md similarity index 70% rename from docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschemaatbrandat543472.md rename to docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschemaatbrandat649501.md index 5f3f3f546..0114a0552 100644 --- a/docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschemaatbrandat543472.md +++ b/docs/models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschemaatbrandat649501.md @@ -1,14 +1,14 @@ -# GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaAtBRANDAt543472 +# GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaAtBRANDAt649501 ## Example Usage ```typescript import { - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaAtBRANDAt543472, + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaAtBRANDAt649501, } from "@vercel/sdk/models/getconfigurationproductsop.js"; let value: - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaAtBRANDAt543472 = + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaAtBRANDAt649501 = {}; ``` diff --git a/docs/models/getconfigurationproductspropertiesintegrationsresponse200atbrandat543472.md b/docs/models/getconfigurationproductspropertiesintegrationsresponse200atbrandat649501.md similarity index 80% rename from docs/models/getconfigurationproductspropertiesintegrationsresponse200atbrandat543472.md rename to docs/models/getconfigurationproductspropertiesintegrationsresponse200atbrandat649501.md index 74e0f614c..1ab1ce9f5 100644 --- a/docs/models/getconfigurationproductspropertiesintegrationsresponse200atbrandat543472.md +++ b/docs/models/getconfigurationproductspropertiesintegrationsresponse200atbrandat649501.md @@ -1,12 +1,12 @@ -# GetConfigurationProductsPropertiesIntegrationsResponse200AtBRANDAt543472 +# GetConfigurationProductsPropertiesIntegrationsResponse200AtBRANDAt649501 ## Example Usage ```typescript -import { GetConfigurationProductsPropertiesIntegrationsResponse200AtBRANDAt543472 } from "@vercel/sdk/models/getconfigurationproductsop.js"; +import { GetConfigurationProductsPropertiesIntegrationsResponse200AtBRANDAt649501 } from "@vercel/sdk/models/getconfigurationproductsop.js"; let value: - GetConfigurationProductsPropertiesIntegrationsResponse200AtBRANDAt543472 = {}; + GetConfigurationProductsPropertiesIntegrationsResponse200AtBRANDAt649501 = {}; ``` ## Fields diff --git a/docs/models/getconfigurationproductspropertiesintegrationsresponse200maxlength.md b/docs/models/getconfigurationproductspropertiesintegrationsresponse200maxlength.md index c2f52ea1d..189ff6683 100644 --- a/docs/models/getconfigurationproductspropertiesintegrationsresponse200maxlength.md +++ b/docs/models/getconfigurationproductspropertiesintegrationsresponse200maxlength.md @@ -7,7 +7,7 @@ import { GetConfigurationProductsPropertiesIntegrationsResponse200MaxLength } fr let value: GetConfigurationProductsPropertiesIntegrationsResponse200MaxLength = { - atBRANDAt543472: {}, + atBRANDAt649501: {}, }; ``` @@ -15,4 +15,4 @@ let value: GetConfigurationProductsPropertiesIntegrationsResponse200MaxLength = | Field | Type | Required | Description | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `atBRANDAt543472` | [models.GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6AtBRANDAt543472](../models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema6atbrandat543472.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `atBRANDAt649501` | [models.GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6AtBRANDAt649501](../models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema6atbrandat649501.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getconfigurationproductspropertiesintegrationsresponse200minlength.md b/docs/models/getconfigurationproductspropertiesintegrationsresponse200minlength.md index 2211e3440..31d667df9 100644 --- a/docs/models/getconfigurationproductspropertiesintegrationsresponse200minlength.md +++ b/docs/models/getconfigurationproductspropertiesintegrationsresponse200minlength.md @@ -7,7 +7,7 @@ import { GetConfigurationProductsPropertiesIntegrationsResponse200MinLength } fr let value: GetConfigurationProductsPropertiesIntegrationsResponse200MinLength = { - atBRANDAt543472: {}, + atBRANDAt649501: {}, }; ``` @@ -15,4 +15,4 @@ let value: GetConfigurationProductsPropertiesIntegrationsResponse200MinLength = | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `atBRANDAt543472` | [models.GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsMinLengthAtBRANDAt543472](../models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema6itemsminlengthatbrandat543472.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `atBRANDAt649501` | [models.GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsMinLengthAtBRANDAt649501](../models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema6itemsminlengthatbrandat649501.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getconfigurationproductspropertiesintegrationsresponse200pattern.md b/docs/models/getconfigurationproductspropertiesintegrationsresponse200pattern.md index a39b951d7..e6ab98dd8 100644 --- a/docs/models/getconfigurationproductspropertiesintegrationsresponse200pattern.md +++ b/docs/models/getconfigurationproductspropertiesintegrationsresponse200pattern.md @@ -6,7 +6,7 @@ import { GetConfigurationProductsPropertiesIntegrationsResponse200Pattern } from "@vercel/sdk/models/getconfigurationproductsop.js"; let value: GetConfigurationProductsPropertiesIntegrationsResponse200Pattern = { - atBRANDAt543472: {}, + atBRANDAt649501: {}, }; ``` @@ -14,4 +14,4 @@ let value: GetConfigurationProductsPropertiesIntegrationsResponse200Pattern = { | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `atBRANDAt543472` | [models.GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsAtBRANDAt543472](../models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema6itemsatbrandat543472.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `atBRANDAt649501` | [models.GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsAtBRANDAt649501](../models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema6itemsatbrandat649501.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getconfigurationproductspropertiesintegrationsresponseatbrandat543472.md b/docs/models/getconfigurationproductspropertiesintegrationsresponseatbrandat649501.md similarity index 81% rename from docs/models/getconfigurationproductspropertiesintegrationsresponseatbrandat543472.md rename to docs/models/getconfigurationproductspropertiesintegrationsresponseatbrandat649501.md index 1a21dec0b..f91873bf9 100644 --- a/docs/models/getconfigurationproductspropertiesintegrationsresponseatbrandat543472.md +++ b/docs/models/getconfigurationproductspropertiesintegrationsresponseatbrandat649501.md @@ -1,12 +1,12 @@ -# GetConfigurationProductsPropertiesIntegrationsResponseAtBRANDAt543472 +# GetConfigurationProductsPropertiesIntegrationsResponseAtBRANDAt649501 ## Example Usage ```typescript -import { GetConfigurationProductsPropertiesIntegrationsResponseAtBRANDAt543472 } from "@vercel/sdk/models/getconfigurationproductsop.js"; +import { GetConfigurationProductsPropertiesIntegrationsResponseAtBRANDAt649501 } from "@vercel/sdk/models/getconfigurationproductsop.js"; let value: - GetConfigurationProductsPropertiesIntegrationsResponseAtBRANDAt543472 = {}; + GetConfigurationProductsPropertiesIntegrationsResponseAtBRANDAt649501 = {}; ``` ## Fields diff --git a/docs/models/getconfigurationproductspropertiesintegrationsresponsemaxlength.md b/docs/models/getconfigurationproductspropertiesintegrationsresponsemaxlength.md index 5b847e527..e58515ffe 100644 --- a/docs/models/getconfigurationproductspropertiesintegrationsresponsemaxlength.md +++ b/docs/models/getconfigurationproductspropertiesintegrationsresponsemaxlength.md @@ -6,7 +6,7 @@ import { GetConfigurationProductsPropertiesIntegrationsResponseMaxLength } from "@vercel/sdk/models/getconfigurationproductsop.js"; let value: GetConfigurationProductsPropertiesIntegrationsResponseMaxLength = { - atBRANDAt543472: {}, + atBRANDAt649501: {}, }; ``` @@ -14,4 +14,4 @@ let value: GetConfigurationProductsPropertiesIntegrationsResponseMaxLength = { | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `atBRANDAt543472` | [models.GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsAtBRANDAt543472](../models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema8itemsatbrandat543472.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `atBRANDAt649501` | [models.GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsAtBRANDAt649501](../models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema8itemsatbrandat649501.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getconfigurationproductspropertiesintegrationsresponseminlength.md b/docs/models/getconfigurationproductspropertiesintegrationsresponseminlength.md index a01dd1b82..60aa53d44 100644 --- a/docs/models/getconfigurationproductspropertiesintegrationsresponseminlength.md +++ b/docs/models/getconfigurationproductspropertiesintegrationsresponseminlength.md @@ -6,7 +6,7 @@ import { GetConfigurationProductsPropertiesIntegrationsResponseMinLength } from "@vercel/sdk/models/getconfigurationproductsop.js"; let value: GetConfigurationProductsPropertiesIntegrationsResponseMinLength = { - atBRANDAt543472: {}, + atBRANDAt649501: {}, }; ``` @@ -14,4 +14,4 @@ let value: GetConfigurationProductsPropertiesIntegrationsResponseMinLength = { | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `atBRANDAt543472` | [models.GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsMinLengthAtBRANDAt543472](../models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema8itemsminlengthatbrandat543472.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `atBRANDAt649501` | [models.GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsMinLengthAtBRANDAt649501](../models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema8itemsminlengthatbrandat649501.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getconfigurationproductspropertiesintegrationsresponsepattern.md b/docs/models/getconfigurationproductspropertiesintegrationsresponsepattern.md index 2c774160d..ecf96e58b 100644 --- a/docs/models/getconfigurationproductspropertiesintegrationsresponsepattern.md +++ b/docs/models/getconfigurationproductspropertiesintegrationsresponsepattern.md @@ -6,7 +6,7 @@ import { GetConfigurationProductsPropertiesIntegrationsResponsePattern } from "@vercel/sdk/models/getconfigurationproductsop.js"; let value: GetConfigurationProductsPropertiesIntegrationsResponsePattern = { - atBRANDAt543472: {}, + atBRANDAt649501: {}, }; ``` @@ -14,4 +14,4 @@ let value: GetConfigurationProductsPropertiesIntegrationsResponsePattern = { | Field | Type | Required | Description | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `atBRANDAt543472` | [models.GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsPatternAtBRANDAt543472](../models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema8itemspatternatbrandat543472.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `atBRANDAt649501` | [models.GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsPatternAtBRANDAt649501](../models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema8itemspatternatbrandat649501.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getconfigurationproductspropertiesintegrationsuioptions.md b/docs/models/getconfigurationproductspropertiesintegrationsuioptions.md index 0d4d1a3a4..6d0b45d7f 100644 --- a/docs/models/getconfigurationproductspropertiesintegrationsuioptions.md +++ b/docs/models/getconfigurationproductspropertiesintegrationsuioptions.md @@ -16,7 +16,7 @@ const value: models.GetConfigurationProductsUiOptions1 = { ```typescript const value: models.GetConfigurationProductsUiOptions2 = { - atBRANDAt543472: {}, + atBRANDAt649501: {}, }; ``` @@ -25,7 +25,7 @@ const value: models.GetConfigurationProductsUiOptions2 = { ```typescript const value: models.GetConfigurationProductsUiOptions3 = { value: { - atBRANDAt543472: {}, + atBRANDAt649501: {}, }, }; ``` diff --git a/docs/models/getconfigurationproductspropertiesmaxlength.md b/docs/models/getconfigurationproductspropertiesmaxlength.md index 4b963859b..c49712515 100644 --- a/docs/models/getconfigurationproductspropertiesmaxlength.md +++ b/docs/models/getconfigurationproductspropertiesmaxlength.md @@ -6,7 +6,7 @@ import { GetConfigurationProductsPropertiesMaxLength } from "@vercel/sdk/models/getconfigurationproductsop.js"; let value: GetConfigurationProductsPropertiesMaxLength = { - atBRANDAt543472: {}, + atBRANDAt649501: {}, }; ``` @@ -14,4 +14,4 @@ let value: GetConfigurationProductsPropertiesMaxLength = { | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `atBRANDAt543472` | [models.GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt543472](../models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyatbrandat543472.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `atBRANDAt649501` | [models.GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt649501](../models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyatbrandat649501.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getconfigurationproductspropertiesminlength.md b/docs/models/getconfigurationproductspropertiesminlength.md index e1ae9c8d6..8d370e85e 100644 --- a/docs/models/getconfigurationproductspropertiesminlength.md +++ b/docs/models/getconfigurationproductspropertiesminlength.md @@ -6,7 +6,7 @@ import { GetConfigurationProductsPropertiesMinLength } from "@vercel/sdk/models/getconfigurationproductsop.js"; let value: GetConfigurationProductsPropertiesMinLength = { - atBRANDAt543472: {}, + atBRANDAt649501: {}, }; ``` @@ -14,4 +14,4 @@ let value: GetConfigurationProductsPropertiesMinLength = { | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `atBRANDAt543472` | [models.GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt543472](../models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonatbrandat543472.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `atBRANDAt649501` | [models.GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt649501](../models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonatbrandat649501.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getconfigurationproductspropertiespattern.md b/docs/models/getconfigurationproductspropertiespattern.md index f45f29286..084fdd082 100644 --- a/docs/models/getconfigurationproductspropertiespattern.md +++ b/docs/models/getconfigurationproductspropertiespattern.md @@ -6,7 +6,7 @@ import { GetConfigurationProductsPropertiesPattern } from "@vercel/sdk/models/getconfigurationproductsop.js"; let value: GetConfigurationProductsPropertiesPattern = { - atBRANDAt543472: {}, + atBRANDAt649501: {}, }; ``` @@ -14,4 +14,4 @@ let value: GetConfigurationProductsPropertiesPattern = { | Field | Type | Required | Description | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `atBRANDAt543472` | [models.GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsAtBRANDAt543472](../models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsatbrandat543472.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `atBRANDAt649501` | [models.GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsAtBRANDAt649501](../models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsatbrandat649501.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getconfigurationproductspropertiesuioptions.md b/docs/models/getconfigurationproductspropertiesuioptions.md index 0794a3fe9..81c4557ca 100644 --- a/docs/models/getconfigurationproductspropertiesuioptions.md +++ b/docs/models/getconfigurationproductspropertiesuioptions.md @@ -16,7 +16,7 @@ const value: models.UiOptions1 = { ```typescript const value: models.UiOptions2 = { - atBRANDAt543472: {}, + atBRANDAt649501: {}, }; ``` @@ -25,7 +25,7 @@ const value: models.UiOptions2 = { ```typescript const value: models.UiOptions3 = { value: { - atBRANDAt543472: {}, + atBRANDAt649501: {}, }, }; ``` diff --git a/docs/models/getconfigurationproductsuioptions2.md b/docs/models/getconfigurationproductsuioptions2.md index 4ab62f6a8..4634ae7a0 100644 --- a/docs/models/getconfigurationproductsuioptions2.md +++ b/docs/models/getconfigurationproductsuioptions2.md @@ -6,7 +6,7 @@ import { GetConfigurationProductsUiOptions2 } from "@vercel/sdk/models/getconfigurationproductsop.js"; let value: GetConfigurationProductsUiOptions2 = { - atBRANDAt543472: {}, + atBRANDAt649501: {}, }; ``` @@ -14,4 +14,4 @@ let value: GetConfigurationProductsUiOptions2 = { | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | -| `atBRANDAt543472` | [models.GetConfigurationProductsUiOptionsAtBRANDAt543472](../models/getconfigurationproductsuioptionsatbrandat543472.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `atBRANDAt649501` | [models.GetConfigurationProductsUiOptionsAtBRANDAt649501](../models/getconfigurationproductsuioptionsatbrandat649501.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getconfigurationproductsuioptions3.md b/docs/models/getconfigurationproductsuioptions3.md index 53e6f796a..64a375e09 100644 --- a/docs/models/getconfigurationproductsuioptions3.md +++ b/docs/models/getconfigurationproductsuioptions3.md @@ -7,7 +7,7 @@ import { GetConfigurationProductsUiOptions3 } from "@vercel/sdk/models/getconfig let value: GetConfigurationProductsUiOptions3 = { value: { - atBRANDAt543472: {}, + atBRANDAt649501: {}, }, }; ``` diff --git a/docs/models/getconfigurationproductsuioptionsatbrandat543472.md b/docs/models/getconfigurationproductsuioptionsatbrandat649501.md similarity index 55% rename from docs/models/getconfigurationproductsuioptionsatbrandat543472.md rename to docs/models/getconfigurationproductsuioptionsatbrandat649501.md index a24fb0259..6013f79c1 100644 --- a/docs/models/getconfigurationproductsuioptionsatbrandat543472.md +++ b/docs/models/getconfigurationproductsuioptionsatbrandat649501.md @@ -1,11 +1,11 @@ -# GetConfigurationProductsUiOptionsAtBRANDAt543472 +# GetConfigurationProductsUiOptionsAtBRANDAt649501 ## Example Usage ```typescript -import { GetConfigurationProductsUiOptionsAtBRANDAt543472 } from "@vercel/sdk/models/getconfigurationproductsop.js"; +import { GetConfigurationProductsUiOptionsAtBRANDAt649501 } from "@vercel/sdk/models/getconfigurationproductsop.js"; -let value: GetConfigurationProductsUiOptionsAtBRANDAt543472 = {}; +let value: GetConfigurationProductsUiOptionsAtBRANDAt649501 = {}; ``` ## Fields diff --git a/docs/models/getconfigurationproductsuioptionsintegrationsatbrandat543472.md b/docs/models/getconfigurationproductsuioptionsintegrationsatbrandat649501.md similarity index 52% rename from docs/models/getconfigurationproductsuioptionsintegrationsatbrandat543472.md rename to docs/models/getconfigurationproductsuioptionsintegrationsatbrandat649501.md index 429781370..aa80c7ed4 100644 --- a/docs/models/getconfigurationproductsuioptionsintegrationsatbrandat543472.md +++ b/docs/models/getconfigurationproductsuioptionsintegrationsatbrandat649501.md @@ -1,11 +1,11 @@ -# GetConfigurationProductsUiOptionsIntegrationsAtBRANDAt543472 +# GetConfigurationProductsUiOptionsIntegrationsAtBRANDAt649501 ## Example Usage ```typescript -import { GetConfigurationProductsUiOptionsIntegrationsAtBRANDAt543472 } from "@vercel/sdk/models/getconfigurationproductsop.js"; +import { GetConfigurationProductsUiOptionsIntegrationsAtBRANDAt649501 } from "@vercel/sdk/models/getconfigurationproductsop.js"; -let value: GetConfigurationProductsUiOptionsIntegrationsAtBRANDAt543472 = {}; +let value: GetConfigurationProductsUiOptionsIntegrationsAtBRANDAt649501 = {}; ``` ## Fields diff --git a/docs/models/getconfigurationproductsuioptionsintegrationsresponseatbrandat543472.md b/docs/models/getconfigurationproductsuioptionsintegrationsresponseatbrandat649501.md similarity index 81% rename from docs/models/getconfigurationproductsuioptionsintegrationsresponseatbrandat543472.md rename to docs/models/getconfigurationproductsuioptionsintegrationsresponseatbrandat649501.md index bdaa6f938..198107702 100644 --- a/docs/models/getconfigurationproductsuioptionsintegrationsresponseatbrandat543472.md +++ b/docs/models/getconfigurationproductsuioptionsintegrationsresponseatbrandat649501.md @@ -1,12 +1,12 @@ -# GetConfigurationProductsUiOptionsIntegrationsResponseAtBRANDAt543472 +# GetConfigurationProductsUiOptionsIntegrationsResponseAtBRANDAt649501 ## Example Usage ```typescript -import { GetConfigurationProductsUiOptionsIntegrationsResponseAtBRANDAt543472 } from "@vercel/sdk/models/getconfigurationproductsop.js"; +import { GetConfigurationProductsUiOptionsIntegrationsResponseAtBRANDAt649501 } from "@vercel/sdk/models/getconfigurationproductsop.js"; let value: - GetConfigurationProductsUiOptionsIntegrationsResponseAtBRANDAt543472 = {}; + GetConfigurationProductsUiOptionsIntegrationsResponseAtBRANDAt649501 = {}; ``` ## Fields diff --git a/docs/models/getconfigurationproductsuioptionsvalue.md b/docs/models/getconfigurationproductsuioptionsvalue.md index fbc39bff5..7ebee74c3 100644 --- a/docs/models/getconfigurationproductsuioptionsvalue.md +++ b/docs/models/getconfigurationproductsuioptionsvalue.md @@ -6,7 +6,7 @@ import { GetConfigurationProductsUiOptionsValue } from "@vercel/sdk/models/getconfigurationproductsop.js"; let value: GetConfigurationProductsUiOptionsValue = { - atBRANDAt543472: {}, + atBRANDAt649501: {}, }; ``` @@ -14,4 +14,4 @@ let value: GetConfigurationProductsUiOptionsValue = { | Field | Type | Required | Description | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `atBRANDAt543472` | [models.GetConfigurationProductsUiOptionsIntegrationsResponseAtBRANDAt543472](../models/getconfigurationproductsuioptionsintegrationsresponseatbrandat543472.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `atBRANDAt649501` | [models.GetConfigurationProductsUiOptionsIntegrationsResponseAtBRANDAt649501](../models/getconfigurationproductsuioptionsintegrationsresponseatbrandat649501.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getconfigurationsresponsebody1.md b/docs/models/getconfigurationsresponsebody1.md index a8a269c4d..084570975 100644 --- a/docs/models/getconfigurationsresponsebody1.md +++ b/docs/models/getconfigurationsresponsebody1.md @@ -51,5 +51,5 @@ let value: GetConfigurationsResponseBody1 = { | `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` | [models.DisabledReason](../models/disabledreason.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' | | \ No newline at end of file diff --git a/docs/models/getconfigurationsresponsebody2.md b/docs/models/getconfigurationsresponsebody2.md index d8516272f..0d917e350 100644 --- a/docs/models/getconfigurationsresponsebody2.md +++ b/docs/models/getconfigurationsresponsebody2.md @@ -56,5 +56,5 @@ let value: GetConfigurationsResponseBody2 = { | `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` | [models.ResponseBodyDisabledReason](../models/responsebodydisabledreason.md) | :heavy_minus_sign: | N/A | | +| `disabledReason` | [models.GetConfigurationsResponseBodyIntegrationsDisabledReason](../models/getconfigurationsresponsebodyintegrationsdisabledreason.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' | | \ No newline at end of file diff --git a/docs/models/getconfigurationsresponsebodydisabledreason.md b/docs/models/getconfigurationsresponsebodydisabledreason.md new file mode 100644 index 000000000..f04caacab --- /dev/null +++ b/docs/models/getconfigurationsresponsebodydisabledreason.md @@ -0,0 +1,15 @@ +# GetConfigurationsResponseBodyDisabledReason + +## Example Usage + +```typescript +import { GetConfigurationsResponseBodyDisabledReason } from "@vercel/sdk/models/getconfigurationsop.js"; + +let value: GetConfigurationsResponseBodyDisabledReason = "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/getconfigurationsresponsebodyintegrationsdisabledreason.md b/docs/models/getconfigurationsresponsebodyintegrationsdisabledreason.md new file mode 100644 index 000000000..ad6268082 --- /dev/null +++ b/docs/models/getconfigurationsresponsebodyintegrationsdisabledreason.md @@ -0,0 +1,16 @@ +# GetConfigurationsResponseBodyIntegrationsDisabledReason + +## Example Usage + +```typescript +import { GetConfigurationsResponseBodyIntegrationsDisabledReason } from "@vercel/sdk/models/getconfigurationsop.js"; + +let value: GetConfigurationsResponseBodyIntegrationsDisabledReason = + "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/getconfigurationtransferrequestkind.md b/docs/models/getconfigurationtransferrequestkind.md index 99cbd8100..927d7d8d0 100644 --- a/docs/models/getconfigurationtransferrequestkind.md +++ b/docs/models/getconfigurationtransferrequestkind.md @@ -5,11 +5,11 @@ ```typescript import { GetConfigurationTransferRequestKind } from "@vercel/sdk/models/getconfigurationop.js"; -let value: GetConfigurationTransferRequestKind = "transfer-to-marketplace"; +let value: GetConfigurationTransferRequestKind = "transfer-from-marketplace"; ``` ## Values ```typescript -"transfer-to-marketplace" +"transfer-from-marketplace" ``` \ No newline at end of file diff --git a/docs/models/getcontactinfoschemarequest.md b/docs/models/getcontactinfoschemarequest.md new file mode 100644 index 000000000..44ec60712 --- /dev/null +++ b/docs/models/getcontactinfoschemarequest.md @@ -0,0 +1,19 @@ +# GetContactInfoSchemaRequest + +## Example Usage + +```typescript +import { GetContactInfoSchemaRequest } from "@vercel/sdk/models/getcontactinfoschemaop.js"; + +let value: GetContactInfoSchemaRequest = { + domain: "glorious-ad.name", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------- | ----------------------------- | ----------------------------- | ----------------------------- | ----------------------------- | +| `domain` | *string* | :heavy_check_mark: | N/A | | +| `teamId` | *string* | :heavy_minus_sign: | N/A | team_1a2b3c4d5e6f7g8h9i0j1k2l | \ No newline at end of file diff --git a/docs/models/getcontactinfoschemaresponsebody.md b/docs/models/getcontactinfoschemaresponsebody.md new file mode 100644 index 000000000..30cd195b0 --- /dev/null +++ b/docs/models/getcontactinfoschemaresponsebody.md @@ -0,0 +1,16 @@ +# GetContactInfoSchemaResponseBody + +Success + +## Example Usage + +```typescript +import { GetContactInfoSchemaResponseBody } from "@vercel/sdk/models/getcontactinfoschemaop.js"; + +let value: GetContactInfoSchemaResponseBody = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/getdeploymentcustomenvironment1.md b/docs/models/getdeploymentcustomenvironment1.md index c65725b8e..c267b2b03 100644 --- a/docs/models/getdeploymentcustomenvironment1.md +++ b/docs/models/getdeploymentcustomenvironment1.md @@ -1,6 +1,6 @@ # GetDeploymentCustomEnvironment1 -Internal representation of a custom environment with all required properties +If the deployment was created using a Custom Environment, then this property contains information regarding the environment used. ## Example Usage diff --git a/docs/models/getdeploymentcustomenvironment2.md b/docs/models/getdeploymentcustomenvironment2.md index f06008bb5..61141ef14 100644 --- a/docs/models/getdeploymentcustomenvironment2.md +++ b/docs/models/getdeploymentcustomenvironment2.md @@ -1,5 +1,7 @@ # GetDeploymentCustomEnvironment2 +If the deployment was created using a Custom Environment, then this property contains information regarding the environment used. + ## Example Usage ```typescript diff --git a/docs/models/getdeploymentcustomenvironmentdeployments1.md b/docs/models/getdeploymentcustomenvironmentdeployments1.md index bd8813422..6d74c2df1 100644 --- a/docs/models/getdeploymentcustomenvironmentdeployments1.md +++ b/docs/models/getdeploymentcustomenvironmentdeployments1.md @@ -1,6 +1,6 @@ # GetDeploymentCustomEnvironmentDeployments1 -Internal representation of a custom environment with all required properties +If the deployment was created using a Custom Environment, then this property contains information regarding the environment used. ## Example Usage diff --git a/docs/models/getdeploymentcustomenvironmentdeployments2.md b/docs/models/getdeploymentcustomenvironmentdeployments2.md index e57d8bd32..e833ac5d7 100644 --- a/docs/models/getdeploymentcustomenvironmentdeployments2.md +++ b/docs/models/getdeploymentcustomenvironmentdeployments2.md @@ -1,5 +1,7 @@ # GetDeploymentCustomEnvironmentDeployments2 +If the deployment was created using a Custom Environment, then this property contains information regarding the environment used. + ## Example Usage ```typescript diff --git a/docs/models/getdeploymentmicrofrontends1.md b/docs/models/getdeploymentmicrofrontends1.md index 76be9fd22..7d487cc3e 100644 --- a/docs/models/getdeploymentmicrofrontends1.md +++ b/docs/models/getdeploymentmicrofrontends1.md @@ -22,6 +22,4 @@ let value: GetDeploymentMicrofrontends1 = { | `isDefaultApp` | *boolean* | :heavy_minus_sign: | N/A | | `defaultAppProjectName` | *string* | :heavy_check_mark: | The project name of the default app of this deployment's microfrontends group. | | `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. | -| `microfrontendsAlias2Enabled` | *boolean* | :heavy_minus_sign: | Whether the MicrofrontendsAlias2 team flag should be considered enabled for this deployment or not. | -| `microfrontendsAliasRoutingVercelSiteProdTestHost` | *boolean* | :heavy_minus_sign: | Temporary flag to safely test MFE alias routing in vercel-site production for specific production hosts (not vercel.com) | \ No newline at end of file +| `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/getdeploymentmicrofrontends2.md b/docs/models/getdeploymentmicrofrontends2.md index 0672f7a57..23d38c8c8 100644 --- a/docs/models/getdeploymentmicrofrontends2.md +++ b/docs/models/getdeploymentmicrofrontends2.md @@ -24,6 +24,4 @@ let value: GetDeploymentMicrofrontends2 = { | `mfeConfigUploadState` | [models.GetDeploymentMicrofrontendsMfeConfigUploadState](../models/getdeploymentmicrofrontendsmfeconfiguploadstate.md) | :heavy_minus_sign: | The result of the microfrontends config upload during deployment creation / build. Only set for default app deployments. The config upload is attempted during deployment create, and then again during the build. If the config is not in the root directory, or the deployment is prebuilt, the config cannot be uploaded during deployment create. The upload during deployment build finds the config even if it's not in the root directory, as it has access to all files. Uploading the config during create is ideal, as then all child deployments are guaranteed to have access to the default app deployment config even if the default app has not yet started building. If the config is not uploaded, the child app will show as building until the config has been uploaded during the default app build. - `success` - The config was uploaded successfully, either when the deployment was created or during the build. - `waiting_on_build` - The config could not be uploaded during deployment create, will be attempted again during the build. - `no_config` - No config was found. Only set once the build has not found the config in any of the deployment's files. - `undefined` - Legacy deployments, or there was an error uploading the config during deployment create. | | `defaultAppProjectName` | *string* | :heavy_check_mark: | The project name of the default app of this deployment's microfrontends group. | | `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. | -| `microfrontendsAlias2Enabled` | *boolean* | :heavy_minus_sign: | Whether the MicrofrontendsAlias2 team flag should be considered enabled for this deployment or not. | -| `microfrontendsAliasRoutingVercelSiteProdTestHost` | *boolean* | :heavy_minus_sign: | Temporary flag to safely test MFE alias routing in vercel-site production for specific production hosts (not vercel.com) | \ No newline at end of file +| `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/getdeploymentresponsebody.md b/docs/models/getdeploymentresponsebody.md index c77af1f42..ac7bb9062 100644 --- a/docs/models/getdeploymentresponsebody.md +++ b/docs/models/getdeploymentresponsebody.md @@ -21,32 +21,43 @@ const value: models.GetDeploymentResponseBody1 = { isInConcurrentBuildsQueue: false, isInSystemBuildsQueue: true, projectSettings: {}, - aliasAssigned: false, - bootedAt: 2272.68, - buildingAt: 1383.88, + alias: [], + aliasAssigned: true, + bootedAt: 8312.01, + buildingAt: 2272.68, buildSkipped: true, creator: { - uid: "", + uid: "96SnxkFiMyVKsK3pnoHfx3Hz", + username: "john-doe", }, - public: true, - status: "ERROR", - id: "", - createdAt: 5083.52, - readyState: "INITIALIZING", - name: "", + public: false, + status: "BUILDING", + userAliases: [ + "sub1.example.com", + "sub2.example.com", + ], + previewCommentsEnabled: false, + id: "dpl_89qyp1cskzkLrVicDaZoDbjyHuDJ", + createdAt: 1540257589405, + readyState: "READY", + name: "my-project", type: "LAMBDAS", + aliasError: null, + deletedAt: 1540257589405, meta: { "key": "", }, regions: [ - "", - "", - "", + "sfo1", ], - url: "https://stale-giant.net", - version: 3513.65, + softDeletedByRetention: true, + source: "cli", + target: null, + undeletedAt: 1540257589405, + url: "my-instant-deployment-3ij3cxz9qr.now.sh", + version: 2, projectId: "", - plan: "pro", + plan: "enterprise", createdIn: "", ownerId: "", routes: [], @@ -57,27 +68,43 @@ const value: models.GetDeploymentResponseBody1 = { ```typescript const value: models.GetDeploymentResponseBody2 = { + alias: [], aliasAssigned: true, - bootedAt: 1303.95, - buildingAt: 4156.67, - buildSkipped: false, + bootedAt: 3380.01, + buildingAt: 1303.95, + buildSkipped: true, creator: { - uid: "", + uid: "96SnxkFiMyVKsK3pnoHfx3Hz", + username: "john-doe", }, public: false, - status: "ERROR", - id: "", - createdAt: 9590.27, + status: "INITIALIZING", + userAliases: [ + "sub1.example.com", + "sub2.example.com", + ], + previewCommentsEnabled: false, + id: "dpl_89qyp1cskzkLrVicDaZoDbjyHuDJ", + createdAt: 1540257589405, readyState: "READY", - name: "", + name: "my-project", type: "LAMBDAS", - meta: {}, + aliasError: null, + deletedAt: 1540257589405, + meta: { + "key": "", + "key1": "", + "key2": "", + }, regions: [ - "", - "", + "sfo1", ], - url: "https://normal-sonnet.info", - version: 2871.74, + softDeletedByRetention: true, + source: "cli", + target: null, + undeletedAt: 1540257589405, + url: "my-instant-deployment-3ij3cxz9qr.now.sh", + version: 2, }; ``` diff --git a/docs/models/getdeploymentresponsebody1.md b/docs/models/getdeploymentresponsebody1.md index 69ae7eae3..5b696d49e 100644 --- a/docs/models/getdeploymentresponsebody1.md +++ b/docs/models/getdeploymentresponsebody1.md @@ -19,32 +19,43 @@ let value: GetDeploymentResponseBody1 = { isInConcurrentBuildsQueue: false, isInSystemBuildsQueue: true, projectSettings: {}, - aliasAssigned: false, - bootedAt: 2272.68, - buildingAt: 1383.88, + alias: [], + aliasAssigned: true, + bootedAt: 8312.01, + buildingAt: 2272.68, buildSkipped: true, creator: { - uid: "", + uid: "96SnxkFiMyVKsK3pnoHfx3Hz", + username: "john-doe", }, - public: true, - status: "ERROR", - id: "", - createdAt: 5083.52, - readyState: "INITIALIZING", - name: "", + public: false, + status: "BUILDING", + userAliases: [ + "sub1.example.com", + "sub2.example.com", + ], + previewCommentsEnabled: false, + id: "dpl_89qyp1cskzkLrVicDaZoDbjyHuDJ", + createdAt: 1540257589405, + readyState: "READY", + name: "my-project", type: "LAMBDAS", + aliasError: null, + deletedAt: 1540257589405, meta: { "key": "", }, regions: [ - "", - "", - "", + "sfo1", ], - url: "https://stale-giant.net", - version: 3513.65, + softDeletedByRetention: true, + source: "cli", + target: null, + undeletedAt: 1540257589405, + url: "my-instant-deployment-3ij3cxz9qr.now.sh", + version: 2, projectId: "", - plan: "pro", + plan: "enterprise", createdIn: "", ownerId: "", routes: [], @@ -53,88 +64,88 @@ let value: GetDeploymentResponseBody1 = { ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `aliasAssignedAt` | *models.ResponseBodyAliasAssignedAt* | :heavy_minus_sign: | N/A | -| `alwaysRefuseToBuild` | *boolean* | :heavy_minus_sign: | N/A | -| `build` | [models.ResponseBodyBuild](../models/responsebodybuild.md) | :heavy_check_mark: | N/A | -| `buildArtifactUrls` | *string*[] | :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` | [models.ResponseBodyProjectSettings](../models/responsebodyprojectsettings.md) | :heavy_check_mark: | N/A | -| `readyStateReason` | *string* | :heavy_minus_sign: | N/A | -| `integrations` | [models.ResponseBodyIntegrations](../models/responsebodyintegrations.md) | :heavy_minus_sign: | N/A | -| `images` | [models.ResponseBodyImages](../models/responsebodyimages.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 | -| `buildContainerFinishedAt` | *number* | :heavy_minus_sign: | Since April 2025 it necessary for On-Demand Concurrency Minutes calculation | -| `buildSkipped` | *boolean* | :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` | [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` | [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` | *models.GetDeploymentResponseBodyCustomEnvironment* | :heavy_minus_sign: | N/A | -| `oomReport` | [models.GetDeploymentResponseBodyOomReport](../models/getdeploymentresponsebodyoomreport.md) | :heavy_minus_sign: | N/A | -| `aliasWarning` | [models.GetDeploymentResponseBodyAliasWarning](../models/getdeploymentresponsebodyaliaswarning.md) | :heavy_minus_sign: | N/A | -| `id` | *string* | :heavy_check_mark: | N/A | -| `createdAt` | *number* | :heavy_check_mark: | N/A | -| `readyState` | [models.ResponseBodyReadyState](../models/responsebodyreadystate.md) | :heavy_check_mark: | N/A | -| `name` | *string* | :heavy_check_mark: | N/A | -| `type` | [models.GetDeploymentResponseBodyType](../models/getdeploymentresponsebodytype.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` | [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 | -| `errorCode` | *string* | :heavy_minus_sign: | N/A | -| `errorLink` | *string* | :heavy_minus_sign: | N/A | -| `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` | *models.GetDeploymentResponseBodyGitSource* | :heavy_minus_sign: | N/A | -| `meta` | Record | :heavy_check_mark: | N/A | -| `originCacheRegion` | *string* | :heavy_minus_sign: | N/A | -| `nodeVersion` | [models.ResponseBodyNodeVersion](../models/responsebodynodeversion.md) | :heavy_minus_sign: | If set it overrides the `projectSettings.nodeVersion` for this deployment. | -| `project` | [models.ResponseBodyProject](../models/responsebodyproject.md) | :heavy_minus_sign: | N/A | -| `readySubstate` | [models.ResponseBodyReadySubstate](../models/responsebodyreadysubstate.md) | :heavy_minus_sign: | Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - ROLLING: in the process of having production traffic gradually transitioned. - PROMOTED: has seen production traffic | -| `regions` | *string*[] | :heavy_check_mark: | N/A | -| `softDeletedByRetention` | *boolean* | :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` | [models.ResponseBodyOidcTokenClaims](../models/responsebodyoidctokenclaims.md) | :heavy_minus_sign: | N/A | -| `projectId` | *string* | :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` | [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` | *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 | -| `config` | [models.ResponseBodyConfig](../models/responsebodyconfig.md) | :heavy_minus_sign: | Since February 2025 the configuration must include snapshot data at the time of deployment creation to capture properties for the /deployments/:id/config endpoint utilized for displaying Deployment Configuration on the frontend This is optional because older deployments may not have this data captured | -| `checks` | [models.ResponseBodyChecks](../models/responsebodychecks.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `aliasAssignedAt` | *models.ResponseBodyAliasAssignedAt* | :heavy_minus_sign: | N/A | | +| `alwaysRefuseToBuild` | *boolean* | :heavy_minus_sign: | N/A | | +| `build` | [models.ResponseBodyBuild](../models/responsebodybuild.md) | :heavy_check_mark: | N/A | | +| `buildArtifactUrls` | *string*[] | :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` | [models.ResponseBodyProjectSettings](../models/responsebodyprojectsettings.md) | :heavy_check_mark: | N/A | | +| `readyStateReason` | *string* | :heavy_minus_sign: | N/A | | +| `integrations` | [models.ResponseBodyIntegrations](../models/responsebodyintegrations.md) | :heavy_minus_sign: | N/A | | +| `images` | [models.ResponseBodyImages](../models/responsebodyimages.md) | :heavy_minus_sign: | N/A | | +| `alias` | *string*[] | :heavy_minus_sign: | A list of all the aliases (default aliases, staging aliases and production aliases) that were assigned upon deployment creation | [] | +| `aliasAssigned` | *boolean* | :heavy_check_mark: | A boolean that will be true when the aliases from the alias property were assigned successfully | true | +| `bootedAt` | *number* | :heavy_check_mark: | N/A | | +| `buildingAt` | *number* | :heavy_check_mark: | N/A | | +| `buildContainerFinishedAt` | *number* | :heavy_minus_sign: | Since April 2025 it necessary for On-Demand Concurrency Minutes calculation | | +| `buildSkipped` | *boolean* | :heavy_check_mark: | N/A | | +| `creator` | [models.ResponseBodyCreator](../models/responsebodycreator.md) | :heavy_check_mark: | Information about the deployment creator | | +| `initReadyAt` | *number* | :heavy_minus_sign: | N/A | | +| `isFirstBranchDeployment` | *boolean* | :heavy_minus_sign: | N/A | | +| `lambdas` | [models.GetDeploymentResponseBodyLambdas](../models/getdeploymentresponsebodylambdas.md)[] | :heavy_minus_sign: | N/A | | +| `public` | *boolean* | :heavy_check_mark: | A boolean representing if the deployment is public or not. By default this is `false` | false | +| `ready` | *number* | :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: | The team that owns the deployment if any | | +| `userAliases` | *string*[] | :heavy_minus_sign: | An array of domains that were provided by the user when creating the Deployment. | [
"sub1.example.com",
"sub2.example.com"
] | +| `previewCommentsEnabled` | *boolean* | :heavy_minus_sign: | Whether or not preview comments are enabled for the deployment | false | +| `ttyBuildLogs` | *boolean* | :heavy_minus_sign: | N/A | | +| `customEnvironment` | *models.GetDeploymentResponseBodyCustomEnvironment* | :heavy_minus_sign: | N/A | | +| `oomReport` | [models.GetDeploymentResponseBodyOomReport](../models/getdeploymentresponsebodyoomreport.md) | :heavy_minus_sign: | N/A | | +| `aliasWarning` | [models.GetDeploymentResponseBodyAliasWarning](../models/getdeploymentresponsebodyaliaswarning.md) | :heavy_minus_sign: | N/A | | +| `id` | *string* | :heavy_check_mark: | A string holding the unique ID of the deployment | dpl_89qyp1cskzkLrVicDaZoDbjyHuDJ | +| `createdAt` | *number* | :heavy_check_mark: | A number containing the date when the deployment was created in milliseconds | 1540257589405 | +| `readyState` | [models.ResponseBodyReadyState](../models/responsebodyreadystate.md) | :heavy_check_mark: | The state of the deployment depending on the process of deploying, or if it is ready or in an error state | READY | +| `name` | *string* | :heavy_check_mark: | The name of the project associated with the deployment at the time that the deployment was created | my-project | +| `type` | [models.GetDeploymentResponseBodyType](../models/getdeploymentresponsebodytype.md) | :heavy_check_mark: | N/A | | +| `aliasError` | [models.ResponseBodyAliasError](../models/responsebodyaliaserror.md) | :heavy_minus_sign: | An object that will contain a `code` and a `message` when the aliasing fails, otherwise the value will be `null` | | +| `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` | [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: | A number containing the date when the deployment was deleted at milliseconds | 1540257589405 | +| `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 | | +| `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` | *models.GetDeploymentResponseBodyGitSource* | :heavy_minus_sign: | N/A | | +| `meta` | Record | :heavy_check_mark: | N/A | | +| `originCacheRegion` | *string* | :heavy_minus_sign: | N/A | | +| `nodeVersion` | [models.ResponseBodyNodeVersion](../models/responsebodynodeversion.md) | :heavy_minus_sign: | If set it overrides the `projectSettings.nodeVersion` for this deployment. | | +| `project` | [models.ResponseBodyProject](../models/responsebodyproject.md) | :heavy_minus_sign: | The public project information associated with the deployment. | | +| `readySubstate` | [models.ResponseBodyReadySubstate](../models/responsebodyreadysubstate.md) | :heavy_minus_sign: | Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - ROLLING: in the process of having production traffic gradually transitioned. - PROMOTED: has seen production traffic | | +| `regions` | *string*[] | :heavy_check_mark: | The regions the deployment exists in | [
"sfo1"
] | +| `softDeletedByRetention` | *boolean* | :heavy_minus_sign: | flag to indicate if the deployment was deleted by retention policy | true | +| `source` | [models.ResponseBodySource](../models/responsebodysource.md) | :heavy_minus_sign: | Where was the deployment created from | cli | +| `target` | [models.ResponseBodyTarget](../models/responsebodytarget.md) | :heavy_minus_sign: | If defined, either `staging` if a staging alias in the format `..now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment. | | +| `undeletedAt` | *number* | :heavy_minus_sign: | A number containing the date when the deployment was undeleted at milliseconds | 1540257589405 | +| `url` | *string* | :heavy_check_mark: | A string with the unique URL of the deployment | my-instant-deployment-3ij3cxz9qr.now.sh | +| `version` | *number* | :heavy_check_mark: | The platform version that was used to create the deployment. | 2 | +| `oidcTokenClaims` | [models.ResponseBodyOidcTokenClaims](../models/responsebodyoidctokenclaims.md) | :heavy_minus_sign: | N/A | | +| `projectId` | *string* | :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` | [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` | *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 | | +| `config` | [models.ResponseBodyConfig](../models/responsebodyconfig.md) | :heavy_minus_sign: | Since February 2025 the configuration must include snapshot data at the time of deployment creation to capture properties for the /deployments/:id/config endpoint utilized for displaying Deployment Configuration on the frontend This is optional because older deployments may not have this data captured | | +| `checks` | [models.ResponseBodyChecks](../models/responsebodychecks.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/getdeploymentresponsebody2.md b/docs/models/getdeploymentresponsebody2.md index 36e9dc6ef..1cbae33d7 100644 --- a/docs/models/getdeploymentresponsebody2.md +++ b/docs/models/getdeploymentresponsebody2.md @@ -8,85 +8,101 @@ The deployment including only public information import { GetDeploymentResponseBody2 } from "@vercel/sdk/models/getdeploymentop.js"; let value: GetDeploymentResponseBody2 = { + alias: [], aliasAssigned: true, - bootedAt: 1303.95, - buildingAt: 4156.67, - buildSkipped: false, + bootedAt: 3380.01, + buildingAt: 1303.95, + buildSkipped: true, creator: { - uid: "", + uid: "96SnxkFiMyVKsK3pnoHfx3Hz", + username: "john-doe", }, public: false, - status: "ERROR", - id: "", - createdAt: 9590.27, + status: "INITIALIZING", + userAliases: [ + "sub1.example.com", + "sub2.example.com", + ], + previewCommentsEnabled: false, + id: "dpl_89qyp1cskzkLrVicDaZoDbjyHuDJ", + createdAt: 1540257589405, readyState: "READY", - name: "", + name: "my-project", type: "LAMBDAS", - meta: {}, + aliasError: null, + deletedAt: 1540257589405, + meta: { + "key": "", + "key1": "", + "key2": "", + }, regions: [ - "", - "", + "sfo1", ], - url: "https://normal-sonnet.info", - version: 2871.74, + softDeletedByRetention: true, + source: "cli", + target: null, + undeletedAt: 1540257589405, + url: "my-instant-deployment-3ij3cxz9qr.now.sh", + version: 2, }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `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 | -| `buildContainerFinishedAt` | *number* | :heavy_minus_sign: | Since April 2025 it necessary for On-Demand Concurrency Minutes calculation | -| `buildSkipped` | *boolean* | :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` | [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` | [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` | *models.ResponseBodyCustomEnvironment* | :heavy_minus_sign: | N/A | -| `oomReport` | [models.ResponseBodyOomReport](../models/responsebodyoomreport.md) | :heavy_minus_sign: | N/A | -| `aliasWarning` | [models.ResponseBodyAliasWarning](../models/responsebodyaliaswarning.md) | :heavy_minus_sign: | N/A | -| `id` | *string* | :heavy_check_mark: | N/A | -| `createdAt` | *number* | :heavy_check_mark: | N/A | -| `readyState` | [models.GetDeploymentResponseBodyReadyState](../models/getdeploymentresponsebodyreadystate.md) | :heavy_check_mark: | N/A | -| `name` | *string* | :heavy_check_mark: | N/A | -| `type` | [models.GetDeploymentResponseBodyDeploymentsType](../models/getdeploymentresponsebodydeploymentstype.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` | [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 | -| `errorCode` | *string* | :heavy_minus_sign: | N/A | -| `errorLink` | *string* | :heavy_minus_sign: | N/A | -| `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` | *models.ResponseBodyGitSource* | :heavy_minus_sign: | N/A | -| `meta` | Record | :heavy_check_mark: | N/A | -| `originCacheRegion` | *string* | :heavy_minus_sign: | N/A | -| `nodeVersion` | [models.GetDeploymentResponseBodyNodeVersion](../models/getdeploymentresponsebodynodeversion.md) | :heavy_minus_sign: | If set it overrides the `projectSettings.nodeVersion` for this deployment. | -| `project` | [models.GetDeploymentResponseBodyProject](../models/getdeploymentresponsebodyproject.md) | :heavy_minus_sign: | N/A | -| `readySubstate` | [models.GetDeploymentResponseBodyReadySubstate](../models/getdeploymentresponsebodyreadysubstate.md) | :heavy_minus_sign: | Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - ROLLING: in the process of having production traffic gradually transitioned. - PROMOTED: has seen production traffic | -| `regions` | *string*[] | :heavy_check_mark: | N/A | -| `softDeletedByRetention` | *boolean* | :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` | [models.GetDeploymentResponseBodyOidcTokenClaims](../models/getdeploymentresponsebodyoidctokenclaims.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `alias` | *string*[] | :heavy_minus_sign: | A list of all the aliases (default aliases, staging aliases and production aliases) that were assigned upon deployment creation | [] | +| `aliasAssigned` | *boolean* | :heavy_check_mark: | A boolean that will be true when the aliases from the alias property were assigned successfully | true | +| `bootedAt` | *number* | :heavy_check_mark: | N/A | | +| `buildingAt` | *number* | :heavy_check_mark: | N/A | | +| `buildContainerFinishedAt` | *number* | :heavy_minus_sign: | Since April 2025 it necessary for On-Demand Concurrency Minutes calculation | | +| `buildSkipped` | *boolean* | :heavy_check_mark: | N/A | | +| `creator` | [models.GetDeploymentResponseBodyCreator](../models/getdeploymentresponsebodycreator.md) | :heavy_check_mark: | Information about the deployment creator | | +| `initReadyAt` | *number* | :heavy_minus_sign: | N/A | | +| `isFirstBranchDeployment` | *boolean* | :heavy_minus_sign: | N/A | | +| `lambdas` | [models.ResponseBodyLambdas](../models/responsebodylambdas.md)[] | :heavy_minus_sign: | N/A | | +| `public` | *boolean* | :heavy_check_mark: | A boolean representing if the deployment is public or not. By default this is `false` | false | +| `ready` | *number* | :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: | The team that owns the deployment if any | | +| `userAliases` | *string*[] | :heavy_minus_sign: | An array of domains that were provided by the user when creating the Deployment. | [
"sub1.example.com",
"sub2.example.com"
] | +| `previewCommentsEnabled` | *boolean* | :heavy_minus_sign: | Whether or not preview comments are enabled for the deployment | false | +| `ttyBuildLogs` | *boolean* | :heavy_minus_sign: | N/A | | +| `customEnvironment` | *models.ResponseBodyCustomEnvironment* | :heavy_minus_sign: | N/A | | +| `oomReport` | [models.ResponseBodyOomReport](../models/responsebodyoomreport.md) | :heavy_minus_sign: | N/A | | +| `aliasWarning` | [models.ResponseBodyAliasWarning](../models/responsebodyaliaswarning.md) | :heavy_minus_sign: | N/A | | +| `id` | *string* | :heavy_check_mark: | A string holding the unique ID of the deployment | dpl_89qyp1cskzkLrVicDaZoDbjyHuDJ | +| `createdAt` | *number* | :heavy_check_mark: | A number containing the date when the deployment was created in milliseconds | 1540257589405 | +| `readyState` | [models.GetDeploymentResponseBodyReadyState](../models/getdeploymentresponsebodyreadystate.md) | :heavy_check_mark: | The state of the deployment depending on the process of deploying, or if it is ready or in an error state | READY | +| `name` | *string* | :heavy_check_mark: | The name of the project associated with the deployment at the time that the deployment was created | my-project | +| `type` | [models.GetDeploymentResponseBodyDeploymentsType](../models/getdeploymentresponsebodydeploymentstype.md) | :heavy_check_mark: | N/A | | +| `aliasError` | [models.GetDeploymentResponseBodyAliasError](../models/getdeploymentresponsebodyaliaserror.md) | :heavy_minus_sign: | An object that will contain a `code` and a `message` when the aliasing fails, otherwise the value will be `null` | | +| `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` | [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: | A number containing the date when the deployment was deleted at milliseconds | 1540257589405 | +| `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 | | +| `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` | *models.ResponseBodyGitSource* | :heavy_minus_sign: | N/A | | +| `meta` | Record | :heavy_check_mark: | N/A | | +| `originCacheRegion` | *string* | :heavy_minus_sign: | N/A | | +| `nodeVersion` | [models.GetDeploymentResponseBodyNodeVersion](../models/getdeploymentresponsebodynodeversion.md) | :heavy_minus_sign: | If set it overrides the `projectSettings.nodeVersion` for this deployment. | | +| `project` | [models.GetDeploymentResponseBodyProject](../models/getdeploymentresponsebodyproject.md) | :heavy_minus_sign: | The public project information associated with the deployment. | | +| `readySubstate` | [models.GetDeploymentResponseBodyReadySubstate](../models/getdeploymentresponsebodyreadysubstate.md) | :heavy_minus_sign: | Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - ROLLING: in the process of having production traffic gradually transitioned. - PROMOTED: has seen production traffic | | +| `regions` | *string*[] | :heavy_check_mark: | The regions the deployment exists in | [
"sfo1"
] | +| `softDeletedByRetention` | *boolean* | :heavy_minus_sign: | flag to indicate if the deployment was deleted by retention policy | true | +| `source` | [models.GetDeploymentResponseBodySource](../models/getdeploymentresponsebodysource.md) | :heavy_minus_sign: | Where was the deployment created from | cli | +| `target` | [models.GetDeploymentResponseBodyTarget](../models/getdeploymentresponsebodytarget.md) | :heavy_minus_sign: | If defined, either `staging` if a staging alias in the format `..now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment. | | +| `undeletedAt` | *number* | :heavy_minus_sign: | A number containing the date when the deployment was undeleted at milliseconds | 1540257589405 | +| `url` | *string* | :heavy_check_mark: | A string with the unique URL of the deployment | my-instant-deployment-3ij3cxz9qr.now.sh | +| `version` | *number* | :heavy_check_mark: | The platform version that was used to create the deployment. | 2 | +| `oidcTokenClaims` | [models.GetDeploymentResponseBodyOidcTokenClaims](../models/getdeploymentresponsebodyoidctokenclaims.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/getdeploymentresponsebodyaliaserror.md b/docs/models/getdeploymentresponsebodyaliaserror.md index e94698c1a..d769fe078 100644 --- a/docs/models/getdeploymentresponsebodyaliaserror.md +++ b/docs/models/getdeploymentresponsebodyaliaserror.md @@ -1,5 +1,7 @@ # GetDeploymentResponseBodyAliasError +An object that will contain a `code` and a `message` when the aliasing fails, otherwise the value will be `null` + ## Example Usage ```typescript diff --git a/docs/models/getdeploymentresponsebodycreator.md b/docs/models/getdeploymentresponsebodycreator.md index 1cea360a5..8c4513a9d 100644 --- a/docs/models/getdeploymentresponsebodycreator.md +++ b/docs/models/getdeploymentresponsebodycreator.md @@ -1,19 +1,22 @@ # GetDeploymentResponseBodyCreator +Information about the deployment creator + ## Example Usage ```typescript import { GetDeploymentResponseBodyCreator } from "@vercel/sdk/models/getdeploymentop.js"; let value: GetDeploymentResponseBodyCreator = { - uid: "", + uid: "96SnxkFiMyVKsK3pnoHfx3Hz", + username: "john-doe", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `uid` | *string* | :heavy_check_mark: | N/A | -| `username` | *string* | :heavy_minus_sign: | N/A | -| `avatar` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | +| `uid` | *string* | :heavy_check_mark: | The ID of the user that created the deployment | 96SnxkFiMyVKsK3pnoHfx3Hz | +| `username` | *string* | :heavy_minus_sign: | The username of the user that created the deployment | john-doe | +| `avatar` | *string* | :heavy_minus_sign: | The avatar of the user that created the deployment | | \ No newline at end of file diff --git a/docs/models/getdeploymentresponsebodynodeversion.md b/docs/models/getdeploymentresponsebodynodeversion.md index 0d0ad452c..9e44bbea8 100644 --- a/docs/models/getdeploymentresponsebodynodeversion.md +++ b/docs/models/getdeploymentresponsebodynodeversion.md @@ -13,5 +13,5 @@ let value: GetDeploymentResponseBodyNodeVersion = "16.x"; ## Values ```typescript -"22.x" | "20.x" | "18.x" | "16.x" | "14.x" | "12.x" | "10.x" | "8.10.x" +"24.x" | "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/getdeploymentresponsebodyoidctokenclaims.md b/docs/models/getdeploymentresponsebodyoidctokenclaims.md index 9eeae246c..5d77e524e 100644 --- a/docs/models/getdeploymentresponsebodyoidctokenclaims.md +++ b/docs/models/getdeploymentresponsebodyoidctokenclaims.md @@ -15,6 +15,7 @@ let value: GetDeploymentResponseBodyOidcTokenClaims = { project: "", projectId: "", environment: "", + plan: "", }; ``` @@ -30,4 +31,5 @@ let value: GetDeploymentResponseBodyOidcTokenClaims = { | `ownerId` | *string* | :heavy_check_mark: | N/A | | `project` | *string* | :heavy_check_mark: | N/A | | `projectId` | *string* | :heavy_check_mark: | N/A | -| `environment` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| `environment` | *string* | :heavy_check_mark: | N/A | +| `plan` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getdeploymentresponsebodyproject.md b/docs/models/getdeploymentresponsebodyproject.md index ccb4bc467..eaa2761df 100644 --- a/docs/models/getdeploymentresponsebodyproject.md +++ b/docs/models/getdeploymentresponsebodyproject.md @@ -1,5 +1,7 @@ # GetDeploymentResponseBodyProject +The public project information associated with the deployment. + ## Example Usage ```typescript diff --git a/docs/models/getdeploymentresponsebodyreadystate.md b/docs/models/getdeploymentresponsebodyreadystate.md index 40d152048..d061895d3 100644 --- a/docs/models/getdeploymentresponsebodyreadystate.md +++ b/docs/models/getdeploymentresponsebodyreadystate.md @@ -1,11 +1,13 @@ # GetDeploymentResponseBodyReadyState +The state of the deployment depending on the process of deploying, or if it is ready or in an error state + ## Example Usage ```typescript import { GetDeploymentResponseBodyReadyState } from "@vercel/sdk/models/getdeploymentop.js"; -let value: GetDeploymentResponseBodyReadyState = "ERROR"; +let value: GetDeploymentResponseBodyReadyState = "READY"; ``` ## Values diff --git a/docs/models/getdeploymentresponsebodysource.md b/docs/models/getdeploymentresponsebodysource.md index e671306c8..153ce54a7 100644 --- a/docs/models/getdeploymentresponsebodysource.md +++ b/docs/models/getdeploymentresponsebodysource.md @@ -1,5 +1,7 @@ # GetDeploymentResponseBodySource +Where was the deployment created from + ## Example Usage ```typescript diff --git a/docs/models/getdeploymentresponsebodytarget.md b/docs/models/getdeploymentresponsebodytarget.md index cddf348b4..1644e0258 100644 --- a/docs/models/getdeploymentresponsebodytarget.md +++ b/docs/models/getdeploymentresponsebodytarget.md @@ -1,5 +1,7 @@ # GetDeploymentResponseBodyTarget +If defined, either `staging` if a staging alias in the format `..now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment. + ## Example Usage ```typescript diff --git a/docs/models/getdeploymentresponsebodyteam.md b/docs/models/getdeploymentresponsebodyteam.md index 05d54f3fa..cb2b41ce3 100644 --- a/docs/models/getdeploymentresponsebodyteam.md +++ b/docs/models/getdeploymentresponsebodyteam.md @@ -1,5 +1,7 @@ # GetDeploymentResponseBodyTeam +The team that owns the deployment if any + ## Example Usage ```typescript diff --git a/docs/models/getdeploymentsframework.md b/docs/models/getdeploymentsframework.md index 52c520b70..afcb6c19b 100644 --- a/docs/models/getdeploymentsframework.md +++ b/docs/models/getdeploymentsframework.md @@ -11,5 +11,5 @@ let value: GetDeploymentsFramework = "preact"; ## Values ```typescript -"blitzjs" | "nextjs" | "gatsby" | "remix" | "react-router" | "astro" | "hexo" | "eleventy" | "docusaurus-2" | "docusaurus" | "preact" | "solidstart-1" | "solidstart" | "dojo" | "ember" | "vue" | "scully" | "ionic-angular" | "angular" | "polymer" | "svelte" | "sveltekit" | "sveltekit-1" | "ionic-react" | "create-react-app" | "gridsome" | "umijs" | "sapper" | "saber" | "stencil" | "nuxtjs" | "redwoodjs" | "hugo" | "jekyll" | "brunch" | "middleman" | "zola" | "hydrogen" | "vite" | "vitepress" | "vuepress" | "parcel" | "fastapi" | "fasthtml" | "sanity-v3" | "sanity" | "storybook" | "nitro" | "hono" | "express" | "h3" | "xmcp" +"blitzjs" | "nextjs" | "gatsby" | "remix" | "react-router" | "astro" | "hexo" | "eleventy" | "docusaurus-2" | "docusaurus" | "preact" | "solidstart-1" | "solidstart" | "dojo" | "ember" | "vue" | "scully" | "ionic-angular" | "angular" | "polymer" | "svelte" | "sveltekit" | "sveltekit-1" | "ionic-react" | "create-react-app" | "gridsome" | "umijs" | "sapper" | "saber" | "stencil" | "nuxtjs" | "redwoodjs" | "hugo" | "jekyll" | "brunch" | "middleman" | "zola" | "hydrogen" | "vite" | "tanstack-start" | "vitepress" | "vuepress" | "parcel" | "fastapi" | "flask" | "fasthtml" | "sanity-v3" | "sanity" | "storybook" | "nitro" | "hono" | "express" | "h3" | "nestjs" | "elysia" | "fastify" | "xmcp" ``` \ No newline at end of file diff --git a/docs/models/getdeploymentsnodeversion.md b/docs/models/getdeploymentsnodeversion.md index cde301d4f..4d24813b7 100644 --- a/docs/models/getdeploymentsnodeversion.md +++ b/docs/models/getdeploymentsnodeversion.md @@ -5,11 +5,11 @@ ```typescript import { GetDeploymentsNodeVersion } from "@vercel/sdk/models/getdeploymentsop.js"; -let value: GetDeploymentsNodeVersion = "20.x"; +let value: GetDeploymentsNodeVersion = "22.x"; ``` ## Values ```typescript -"22.x" | "20.x" | "18.x" | "16.x" | "14.x" | "12.x" | "10.x" | "8.10.x" +"24.x" | "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/getdomainauthcodedomainsregistrarresponsebody.md b/docs/models/getdomainauthcodedomainsregistrarresponsebody.md new file mode 100644 index 000000000..0fccfcd39 --- /dev/null +++ b/docs/models/getdomainauthcodedomainsregistrarresponsebody.md @@ -0,0 +1,27 @@ +# GetDomainAuthCodeDomainsRegistrarResponseBody + +NotAuthorizedForScope + + +## Supported Types + +### `models.NotAuthorizedForScope` + +```typescript +const value: models.NotAuthorizedForScope = { + status: 4853.56, + code: "not_authorized_for_scope", + message: "", +}; +``` + +### `models.Forbidden` + +```typescript +const value: models.Forbidden = { + status: 7108.3, + code: "forbidden", + message: "", +}; +``` + diff --git a/docs/models/getdomainauthcoderequest.md b/docs/models/getdomainauthcoderequest.md new file mode 100644 index 000000000..026da7cff --- /dev/null +++ b/docs/models/getdomainauthcoderequest.md @@ -0,0 +1,19 @@ +# GetDomainAuthCodeRequest + +## Example Usage + +```typescript +import { GetDomainAuthCodeRequest } from "@vercel/sdk/models/getdomainauthcodeop.js"; + +let value: GetDomainAuthCodeRequest = { + domain: "strange-almighty.net", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------- | ----------------------------- | ----------------------------- | ----------------------------- | ----------------------------- | +| `domain` | *string* | :heavy_check_mark: | N/A | | +| `teamId` | *string* | :heavy_minus_sign: | N/A | team_1a2b3c4d5e6f7g8h9i0j1k2l | \ No newline at end of file diff --git a/docs/models/getdomainauthcoderesponsebody.md b/docs/models/getdomainauthcoderesponsebody.md new file mode 100644 index 000000000..3e2289d53 --- /dev/null +++ b/docs/models/getdomainauthcoderesponsebody.md @@ -0,0 +1,19 @@ +# GetDomainAuthCodeResponseBody + +Success + +## Example Usage + +```typescript +import { GetDomainAuthCodeResponseBody } from "@vercel/sdk/models/getdomainauthcodeop.js"; + +let value: GetDomainAuthCodeResponseBody = { + authCode: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `authCode` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getdomainavailabilityrequest.md b/docs/models/getdomainavailabilityrequest.md new file mode 100644 index 000000000..b0f0fbf1c --- /dev/null +++ b/docs/models/getdomainavailabilityrequest.md @@ -0,0 +1,19 @@ +# GetDomainAvailabilityRequest + +## Example Usage + +```typescript +import { GetDomainAvailabilityRequest } from "@vercel/sdk/models/getdomainavailabilityop.js"; + +let value: GetDomainAvailabilityRequest = { + domain: "sorrowful-volleyball.com", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------- | ----------------------------- | ----------------------------- | ----------------------------- | ----------------------------- | +| `domain` | *string* | :heavy_check_mark: | N/A | | +| `teamId` | *string* | :heavy_minus_sign: | N/A | team_1a2b3c4d5e6f7g8h9i0j1k2l | \ No newline at end of file diff --git a/docs/models/getdomainavailabilityresponsebody.md b/docs/models/getdomainavailabilityresponsebody.md new file mode 100644 index 000000000..0dcff82fa --- /dev/null +++ b/docs/models/getdomainavailabilityresponsebody.md @@ -0,0 +1,19 @@ +# GetDomainAvailabilityResponseBody + +Success + +## Example Usage + +```typescript +import { GetDomainAvailabilityResponseBody } from "@vercel/sdk/models/getdomainavailabilityop.js"; + +let value: GetDomainAvailabilityResponseBody = { + available: false, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `available` | *boolean* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getdomainpricerequest.md b/docs/models/getdomainpricerequest.md new file mode 100644 index 000000000..ed473848e --- /dev/null +++ b/docs/models/getdomainpricerequest.md @@ -0,0 +1,20 @@ +# GetDomainPriceRequest + +## Example Usage + +```typescript +import { GetDomainPriceRequest } from "@vercel/sdk/models/getdomainpriceop.js"; + +let value: GetDomainPriceRequest = { + domain: "bogus-loyalty.info", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------- | ----------------------------- | ----------------------------- | ----------------------------- | ----------------------------- | +| `domain` | *string* | :heavy_check_mark: | N/A | | +| `years` | *string* | :heavy_minus_sign: | N/A | | +| `teamId` | *string* | :heavy_minus_sign: | N/A | team_1a2b3c4d5e6f7g8h9i0j1k2l | \ No newline at end of file diff --git a/docs/models/getdomainpriceresponsebody.md b/docs/models/getdomainpriceresponsebody.md new file mode 100644 index 000000000..0606fd543 --- /dev/null +++ b/docs/models/getdomainpriceresponsebody.md @@ -0,0 +1,25 @@ +# GetDomainPriceResponseBody + +Success + +## Example Usage + +```typescript +import { GetDomainPriceResponseBody } from "@vercel/sdk/models/getdomainpriceop.js"; + +let value: GetDomainPriceResponseBody = { + years: 6336.28, + purchasePrice: null, + renewalPrice: null, + transferPrice: 2910.01, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | +| `years` | *number* | :heavy_check_mark: | N/A | +| `purchasePrice` | *number* | :heavy_check_mark: | The price for purchasing this domain for the given number of years. If null, the domain is not available for purchase for the given number of years. | +| `renewalPrice` | *number* | :heavy_check_mark: | The price for renewing this domain for the given number of years. If null, the domain cannot be renewed for the given number of years. | +| `transferPrice` | *number* | :heavy_check_mark: | The price for transferring this domain in for the given number of years. If null, the domain cannot be transferred in for the given number of years. | \ No newline at end of file diff --git a/docs/models/getdomainsdomains.md b/docs/models/getdomainsdomains.md new file mode 100644 index 000000000..d195ed62f --- /dev/null +++ b/docs/models/getdomainsdomains.md @@ -0,0 +1,63 @@ +# GetDomainsDomains + +## Example Usage + +```typescript +import { GetDomainsDomains } from "@vercel/sdk/models/getdomainsop.js"; + +let value: GetDomainsDomains = { + 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: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `verified` | *boolean* | :heavy_check_mark: | If the domain has the ownership verified. | true | +| `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` | [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"
} | +| `registrar` | [models.GetDomainsRegistrar](../models/getdomainsregistrar.md) | :heavy_minus_sign: | Whether or not the domain is registered with Name.com. If set to `true`, the domain is registered with Name.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 | +| `expiresAt` | *number* | :heavy_check_mark: | Timestamp in milliseconds at which the domain is set to expire. `null` if not bought with Vercel. | 1613602938882 | +| `id` | *string* | :heavy_check_mark: | The unique identifier of the domain. | EmTbe5CEJyTk2yVAHBUWy4A3sRusca3GCwRjTC1bpeVnt1 | +| `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` | [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/getdomainsresponsebody.md b/docs/models/getdomainsresponsebody.md index aa5889ed5..02a239a24 100644 --- a/docs/models/getdomainsresponsebody.md +++ b/docs/models/getdomainsresponsebody.md @@ -54,5 +54,5 @@ let value: GetDomainsResponseBody = { | Field | Type | Required | Description | | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `domains` | [models.Domains](../models/domains.md)[] | :heavy_check_mark: | N/A | +| `domains` | [models.GetDomainsDomains](../models/getdomainsdomains.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/getdomaintransferindomainsregistrarresponsebody.md b/docs/models/getdomaintransferindomainsregistrarresponsebody.md new file mode 100644 index 000000000..2eeb7d640 --- /dev/null +++ b/docs/models/getdomaintransferindomainsregistrarresponsebody.md @@ -0,0 +1,27 @@ +# GetDomainTransferInDomainsRegistrarResponseBody + +NotAuthorizedForScope + + +## Supported Types + +### `models.NotAuthorizedForScope` + +```typescript +const value: models.NotAuthorizedForScope = { + status: 4853.56, + code: "not_authorized_for_scope", + message: "", +}; +``` + +### `models.Forbidden` + +```typescript +const value: models.Forbidden = { + status: 7108.3, + code: "forbidden", + message: "", +}; +``` + diff --git a/docs/models/getdomaintransferinrequest.md b/docs/models/getdomaintransferinrequest.md new file mode 100644 index 000000000..db57350a1 --- /dev/null +++ b/docs/models/getdomaintransferinrequest.md @@ -0,0 +1,19 @@ +# GetDomainTransferInRequest + +## Example Usage + +```typescript +import { GetDomainTransferInRequest } from "@vercel/sdk/models/getdomaintransferinop.js"; + +let value: GetDomainTransferInRequest = { + domain: "enchanting-summary.com", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------- | ----------------------------- | ----------------------------- | ----------------------------- | ----------------------------- | +| `domain` | *string* | :heavy_check_mark: | N/A | | +| `teamId` | *string* | :heavy_minus_sign: | N/A | team_1a2b3c4d5e6f7g8h9i0j1k2l | \ No newline at end of file diff --git a/docs/models/getdomaintransferinresponsebody.md b/docs/models/getdomaintransferinresponsebody.md new file mode 100644 index 000000000..e64718ce9 --- /dev/null +++ b/docs/models/getdomaintransferinresponsebody.md @@ -0,0 +1,19 @@ +# GetDomainTransferInResponseBody + +Success + +## Example Usage + +```typescript +import { GetDomainTransferInResponseBody } from "@vercel/sdk/models/getdomaintransferinop.js"; + +let value: GetDomainTransferInResponseBody = { + status: "pending", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `status` | [models.GetDomainTransferInStatus](../models/getdomaintransferinstatus.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getdomaintransferinstatus.md b/docs/models/getdomaintransferinstatus.md new file mode 100644 index 000000000..e8f41af30 --- /dev/null +++ b/docs/models/getdomaintransferinstatus.md @@ -0,0 +1,15 @@ +# GetDomainTransferInStatus + +## Example Usage + +```typescript +import { GetDomainTransferInStatus } from "@vercel/sdk/models/getdomaintransferinop.js"; + +let value: GetDomainTransferInStatus = "completed"; +``` + +## Values + +```typescript +"canceled" | "canceled_pending_refund" | "completed" | "created" | "failed" | "pending" | "pending_insert" | "pending_new_auth_code" | "pending_transfer" | "pending_unlock" | "rejected" | "submitting_transfer" +``` \ No newline at end of file diff --git a/docs/models/getdraindelivery1.md b/docs/models/getdraindelivery1.md new file mode 100644 index 000000000..156cdd525 --- /dev/null +++ b/docs/models/getdraindelivery1.md @@ -0,0 +1,28 @@ +# GetDrainDelivery1 + +## Example Usage + +```typescript +import { GetDrainDelivery1 } from "@vercel/sdk/models/getdrainop.js"; + +let value: GetDrainDelivery1 = { + type: "http", + endpoint: "", + encoding: "ndjson", + headers: { + "key": "", + "key1": "", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `type` | [models.GetDrainDeliveryType](../models/getdraindeliverytype.md) | :heavy_check_mark: | N/A | +| `endpoint` | *string* | :heavy_check_mark: | N/A | +| `encoding` | [models.GetDrainDeliveryEncoding](../models/getdraindeliveryencoding.md) | :heavy_check_mark: | N/A | +| `compression` | [models.GetDrainDeliveryCompression](../models/getdraindeliverycompression.md) | :heavy_minus_sign: | N/A | +| `headers` | Record | :heavy_check_mark: | N/A | +| `secret` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getdraindelivery2.md b/docs/models/getdraindelivery2.md new file mode 100644 index 000000000..8c031770b --- /dev/null +++ b/docs/models/getdraindelivery2.md @@ -0,0 +1,29 @@ +# GetDrainDelivery2 + +## Example Usage + +```typescript +import { GetDrainDelivery2 } from "@vercel/sdk/models/getdrainop.js"; + +let value: GetDrainDelivery2 = { + type: "otlphttp", + endpoint: { + traces: "", + }, + encoding: "json", + headers: { + "key": "", + "key1": "", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `type` | [models.GetDrainDeliveryDrainsType](../models/getdraindeliverydrainstype.md) | :heavy_check_mark: | N/A | +| `endpoint` | [models.GetDrainDeliveryEndpoint](../models/getdraindeliveryendpoint.md) | :heavy_check_mark: | N/A | +| `encoding` | [models.GetDrainDeliveryDrainsEncoding](../models/getdraindeliverydrainsencoding.md) | :heavy_check_mark: | N/A | +| `headers` | Record | :heavy_check_mark: | N/A | +| `secret` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getdraindelivery3.md b/docs/models/getdraindelivery3.md new file mode 100644 index 000000000..db09b0d38 --- /dev/null +++ b/docs/models/getdraindelivery3.md @@ -0,0 +1,21 @@ +# GetDrainDelivery3 + +## Example Usage + +```typescript +import { GetDrainDelivery3 } from "@vercel/sdk/models/getdrainop.js"; + +let value: GetDrainDelivery3 = { + type: "clickhouse", + endpoint: "", + table: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `type` | [models.GetDrainDeliveryDrainsResponseType](../models/getdraindeliverydrainsresponsetype.md) | :heavy_check_mark: | N/A | +| `endpoint` | *string* | :heavy_check_mark: | N/A | +| `table` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getdraindelivery4.md b/docs/models/getdraindelivery4.md new file mode 100644 index 000000000..41f47a0ec --- /dev/null +++ b/docs/models/getdraindelivery4.md @@ -0,0 +1,19 @@ +# GetDrainDelivery4 + +## Example Usage + +```typescript +import { GetDrainDelivery4 } from "@vercel/sdk/models/getdrainop.js"; + +let value: GetDrainDelivery4 = { + type: "internal", + target: "vercel-otel-traces-db", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `type` | [models.GetDrainDeliveryDrainsResponse200Type](../models/getdraindeliverydrainsresponse200type.md) | :heavy_check_mark: | N/A | +| `target` | [models.GetDrainDeliveryTarget](../models/getdraindeliverytarget.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getdraindeliverycompression.md b/docs/models/getdraindeliverycompression.md new file mode 100644 index 000000000..463db5385 --- /dev/null +++ b/docs/models/getdraindeliverycompression.md @@ -0,0 +1,15 @@ +# GetDrainDeliveryCompression + +## Example Usage + +```typescript +import { GetDrainDeliveryCompression } from "@vercel/sdk/models/getdrainop.js"; + +let value: GetDrainDeliveryCompression = "none"; +``` + +## Values + +```typescript +"gzip" | "none" +``` \ No newline at end of file diff --git a/docs/models/getdraindeliverydrains1.md b/docs/models/getdraindeliverydrains1.md new file mode 100644 index 000000000..ed66525aa --- /dev/null +++ b/docs/models/getdraindeliverydrains1.md @@ -0,0 +1,28 @@ +# GetDrainDeliveryDrains1 + +## Example Usage + +```typescript +import { GetDrainDeliveryDrains1 } from "@vercel/sdk/models/getdrainop.js"; + +let value: GetDrainDeliveryDrains1 = { + type: "http", + endpoint: "", + encoding: "ndjson", + headers: { + "key": "", + "key1": "", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.GetDrainDeliveryDrainsResponse200ApplicationJSONType](../models/getdraindeliverydrainsresponse200applicationjsontype.md) | :heavy_check_mark: | N/A | +| `endpoint` | *string* | :heavy_check_mark: | N/A | +| `encoding` | [models.GetDrainDeliveryDrainsResponseEncoding](../models/getdraindeliverydrainsresponseencoding.md) | :heavy_check_mark: | N/A | +| `compression` | [models.GetDrainDeliveryDrainsCompression](../models/getdraindeliverydrainscompression.md) | :heavy_minus_sign: | N/A | +| `headers` | Record | :heavy_check_mark: | N/A | +| `secret` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getdraindeliverydrains2.md b/docs/models/getdraindeliverydrains2.md new file mode 100644 index 000000000..d49f8ae2a --- /dev/null +++ b/docs/models/getdraindeliverydrains2.md @@ -0,0 +1,28 @@ +# GetDrainDeliveryDrains2 + +## Example Usage + +```typescript +import { GetDrainDeliveryDrains2 } from "@vercel/sdk/models/getdrainop.js"; + +let value: GetDrainDeliveryDrains2 = { + type: "otlphttp", + endpoint: { + traces: "", + }, + encoding: "json", + headers: { + "key": "", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.GetDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyType](../models/getdraindeliverydrainsresponse200applicationjsonresponsebodytype.md) | :heavy_check_mark: | N/A | +| `endpoint` | [models.GetDrainDeliveryDrainsEndpoint](../models/getdraindeliverydrainsendpoint.md) | :heavy_check_mark: | N/A | +| `encoding` | [models.GetDrainDeliveryDrainsResponse200Encoding](../models/getdraindeliverydrainsresponse200encoding.md) | :heavy_check_mark: | N/A | +| `headers` | Record | :heavy_check_mark: | N/A | +| `secret` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getdraindeliverydrains3.md b/docs/models/getdraindeliverydrains3.md new file mode 100644 index 000000000..9845079d4 --- /dev/null +++ b/docs/models/getdraindeliverydrains3.md @@ -0,0 +1,21 @@ +# GetDrainDeliveryDrains3 + +## Example Usage + +```typescript +import { GetDrainDeliveryDrains3 } from "@vercel/sdk/models/getdrainop.js"; + +let value: GetDrainDeliveryDrains3 = { + type: "clickhouse", + endpoint: "", + table: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.GetDrainDeliveryDrainsResponse200ApplicationJSONResponseBody2Type](../models/getdraindeliverydrainsresponse200applicationjsonresponsebody2type.md) | :heavy_check_mark: | N/A | +| `endpoint` | *string* | :heavy_check_mark: | N/A | +| `table` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getdraindeliverydrains4.md b/docs/models/getdraindeliverydrains4.md new file mode 100644 index 000000000..97775af4a --- /dev/null +++ b/docs/models/getdraindeliverydrains4.md @@ -0,0 +1,19 @@ +# GetDrainDeliveryDrains4 + +## Example Usage + +```typescript +import { GetDrainDeliveryDrains4 } from "@vercel/sdk/models/getdrainop.js"; + +let value: GetDrainDeliveryDrains4 = { + type: "internal", + target: "vercel-otel-traces-db", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.GetDrainDeliveryDrainsResponse200ApplicationJSONResponseBody24Type](../models/getdraindeliverydrainsresponse200applicationjsonresponsebody24type.md) | :heavy_check_mark: | N/A | +| `target` | [models.GetDrainDeliveryDrainsTarget](../models/getdraindeliverydrainstarget.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getdraindeliverydrainscompression.md b/docs/models/getdraindeliverydrainscompression.md new file mode 100644 index 000000000..db1e4c08d --- /dev/null +++ b/docs/models/getdraindeliverydrainscompression.md @@ -0,0 +1,15 @@ +# GetDrainDeliveryDrainsCompression + +## Example Usage + +```typescript +import { GetDrainDeliveryDrainsCompression } from "@vercel/sdk/models/getdrainop.js"; + +let value: GetDrainDeliveryDrainsCompression = "none"; +``` + +## Values + +```typescript +"gzip" | "none" +``` \ No newline at end of file diff --git a/docs/models/getdraindeliverydrainsencoding.md b/docs/models/getdraindeliverydrainsencoding.md new file mode 100644 index 000000000..3e1c961f6 --- /dev/null +++ b/docs/models/getdraindeliverydrainsencoding.md @@ -0,0 +1,15 @@ +# GetDrainDeliveryDrainsEncoding + +## Example Usage + +```typescript +import { GetDrainDeliveryDrainsEncoding } from "@vercel/sdk/models/getdrainop.js"; + +let value: GetDrainDeliveryDrainsEncoding = "proto"; +``` + +## Values + +```typescript +"json" | "proto" +``` \ No newline at end of file diff --git a/docs/models/getdraindeliverydrainsendpoint.md b/docs/models/getdraindeliverydrainsendpoint.md new file mode 100644 index 000000000..781dfe11b --- /dev/null +++ b/docs/models/getdraindeliverydrainsendpoint.md @@ -0,0 +1,17 @@ +# GetDrainDeliveryDrainsEndpoint + +## Example Usage + +```typescript +import { GetDrainDeliveryDrainsEndpoint } from "@vercel/sdk/models/getdrainop.js"; + +let value: GetDrainDeliveryDrainsEndpoint = { + traces: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `traces` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getdraindeliverydrainsresponse200applicationjsonresponsebody24type.md b/docs/models/getdraindeliverydrainsresponse200applicationjsonresponsebody24type.md new file mode 100644 index 000000000..a2755af3e --- /dev/null +++ b/docs/models/getdraindeliverydrainsresponse200applicationjsonresponsebody24type.md @@ -0,0 +1,16 @@ +# GetDrainDeliveryDrainsResponse200ApplicationJSONResponseBody24Type + +## Example Usage + +```typescript +import { GetDrainDeliveryDrainsResponse200ApplicationJSONResponseBody24Type } from "@vercel/sdk/models/getdrainop.js"; + +let value: GetDrainDeliveryDrainsResponse200ApplicationJSONResponseBody24Type = + "internal"; +``` + +## Values + +```typescript +"internal" +``` \ No newline at end of file diff --git a/docs/models/getdraindeliverydrainsresponse200applicationjsonresponsebody2type.md b/docs/models/getdraindeliverydrainsresponse200applicationjsonresponsebody2type.md new file mode 100644 index 000000000..bcae20a24 --- /dev/null +++ b/docs/models/getdraindeliverydrainsresponse200applicationjsonresponsebody2type.md @@ -0,0 +1,16 @@ +# GetDrainDeliveryDrainsResponse200ApplicationJSONResponseBody2Type + +## Example Usage + +```typescript +import { GetDrainDeliveryDrainsResponse200ApplicationJSONResponseBody2Type } from "@vercel/sdk/models/getdrainop.js"; + +let value: GetDrainDeliveryDrainsResponse200ApplicationJSONResponseBody2Type = + "clickhouse"; +``` + +## Values + +```typescript +"clickhouse" +``` \ No newline at end of file diff --git a/docs/models/getdraindeliverydrainsresponse200applicationjsonresponsebodytype.md b/docs/models/getdraindeliverydrainsresponse200applicationjsonresponsebodytype.md new file mode 100644 index 000000000..85467b1c0 --- /dev/null +++ b/docs/models/getdraindeliverydrainsresponse200applicationjsonresponsebodytype.md @@ -0,0 +1,16 @@ +# GetDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyType + +## Example Usage + +```typescript +import { GetDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyType } from "@vercel/sdk/models/getdrainop.js"; + +let value: GetDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyType = + "otlphttp"; +``` + +## Values + +```typescript +"otlphttp" +``` \ No newline at end of file diff --git a/docs/models/getdraindeliverydrainsresponse200applicationjsontype.md b/docs/models/getdraindeliverydrainsresponse200applicationjsontype.md new file mode 100644 index 000000000..2b2cc0c2c --- /dev/null +++ b/docs/models/getdraindeliverydrainsresponse200applicationjsontype.md @@ -0,0 +1,15 @@ +# GetDrainDeliveryDrainsResponse200ApplicationJSONType + +## Example Usage + +```typescript +import { GetDrainDeliveryDrainsResponse200ApplicationJSONType } from "@vercel/sdk/models/getdrainop.js"; + +let value: GetDrainDeliveryDrainsResponse200ApplicationJSONType = "http"; +``` + +## Values + +```typescript +"http" +``` \ No newline at end of file diff --git a/docs/models/getdraindeliverydrainsresponse200encoding.md b/docs/models/getdraindeliverydrainsresponse200encoding.md new file mode 100644 index 000000000..f21751a13 --- /dev/null +++ b/docs/models/getdraindeliverydrainsresponse200encoding.md @@ -0,0 +1,15 @@ +# GetDrainDeliveryDrainsResponse200Encoding + +## Example Usage + +```typescript +import { GetDrainDeliveryDrainsResponse200Encoding } from "@vercel/sdk/models/getdrainop.js"; + +let value: GetDrainDeliveryDrainsResponse200Encoding = "json"; +``` + +## Values + +```typescript +"json" | "proto" +``` \ No newline at end of file diff --git a/docs/models/getdraindeliverydrainsresponse200type.md b/docs/models/getdraindeliverydrainsresponse200type.md new file mode 100644 index 000000000..78b8149bd --- /dev/null +++ b/docs/models/getdraindeliverydrainsresponse200type.md @@ -0,0 +1,15 @@ +# GetDrainDeliveryDrainsResponse200Type + +## Example Usage + +```typescript +import { GetDrainDeliveryDrainsResponse200Type } from "@vercel/sdk/models/getdrainop.js"; + +let value: GetDrainDeliveryDrainsResponse200Type = "internal"; +``` + +## Values + +```typescript +"internal" +``` \ No newline at end of file diff --git a/docs/models/getdraindeliverydrainsresponseencoding.md b/docs/models/getdraindeliverydrainsresponseencoding.md new file mode 100644 index 000000000..3026fb6b9 --- /dev/null +++ b/docs/models/getdraindeliverydrainsresponseencoding.md @@ -0,0 +1,15 @@ +# GetDrainDeliveryDrainsResponseEncoding + +## Example Usage + +```typescript +import { GetDrainDeliveryDrainsResponseEncoding } from "@vercel/sdk/models/getdrainop.js"; + +let value: GetDrainDeliveryDrainsResponseEncoding = "json"; +``` + +## Values + +```typescript +"json" | "ndjson" +``` \ No newline at end of file diff --git a/docs/models/getdraindeliverydrainsresponsetype.md b/docs/models/getdraindeliverydrainsresponsetype.md new file mode 100644 index 000000000..01cc97009 --- /dev/null +++ b/docs/models/getdraindeliverydrainsresponsetype.md @@ -0,0 +1,15 @@ +# GetDrainDeliveryDrainsResponseType + +## Example Usage + +```typescript +import { GetDrainDeliveryDrainsResponseType } from "@vercel/sdk/models/getdrainop.js"; + +let value: GetDrainDeliveryDrainsResponseType = "clickhouse"; +``` + +## Values + +```typescript +"clickhouse" +``` \ No newline at end of file diff --git a/docs/models/getdraindeliverydrainstarget.md b/docs/models/getdraindeliverydrainstarget.md new file mode 100644 index 000000000..47d32786d --- /dev/null +++ b/docs/models/getdraindeliverydrainstarget.md @@ -0,0 +1,15 @@ +# GetDrainDeliveryDrainsTarget + +## Example Usage + +```typescript +import { GetDrainDeliveryDrainsTarget } from "@vercel/sdk/models/getdrainop.js"; + +let value: GetDrainDeliveryDrainsTarget = "vercel-otel-traces-db"; +``` + +## Values + +```typescript +"vercel-otel-traces-db" +``` \ No newline at end of file diff --git a/docs/models/getdraindeliverydrainstype.md b/docs/models/getdraindeliverydrainstype.md new file mode 100644 index 000000000..da8139a64 --- /dev/null +++ b/docs/models/getdraindeliverydrainstype.md @@ -0,0 +1,15 @@ +# GetDrainDeliveryDrainsType + +## Example Usage + +```typescript +import { GetDrainDeliveryDrainsType } from "@vercel/sdk/models/getdrainop.js"; + +let value: GetDrainDeliveryDrainsType = "otlphttp"; +``` + +## Values + +```typescript +"otlphttp" +``` \ No newline at end of file diff --git a/docs/models/getdraindeliveryencoding.md b/docs/models/getdraindeliveryencoding.md new file mode 100644 index 000000000..a80c35812 --- /dev/null +++ b/docs/models/getdraindeliveryencoding.md @@ -0,0 +1,15 @@ +# GetDrainDeliveryEncoding + +## Example Usage + +```typescript +import { GetDrainDeliveryEncoding } from "@vercel/sdk/models/getdrainop.js"; + +let value: GetDrainDeliveryEncoding = "ndjson"; +``` + +## Values + +```typescript +"json" | "ndjson" +``` \ No newline at end of file diff --git a/docs/models/getdraindeliveryendpoint.md b/docs/models/getdraindeliveryendpoint.md new file mode 100644 index 000000000..18017ce70 --- /dev/null +++ b/docs/models/getdraindeliveryendpoint.md @@ -0,0 +1,17 @@ +# GetDrainDeliveryEndpoint + +## Example Usage + +```typescript +import { GetDrainDeliveryEndpoint } from "@vercel/sdk/models/getdrainop.js"; + +let value: GetDrainDeliveryEndpoint = { + traces: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `traces` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getdraindeliverytarget.md b/docs/models/getdraindeliverytarget.md new file mode 100644 index 000000000..b31d87b08 --- /dev/null +++ b/docs/models/getdraindeliverytarget.md @@ -0,0 +1,15 @@ +# GetDrainDeliveryTarget + +## Example Usage + +```typescript +import { GetDrainDeliveryTarget } from "@vercel/sdk/models/getdrainop.js"; + +let value: GetDrainDeliveryTarget = "vercel-otel-traces-db"; +``` + +## Values + +```typescript +"vercel-otel-traces-db" +``` \ No newline at end of file diff --git a/docs/models/getdraindeliverytype.md b/docs/models/getdraindeliverytype.md new file mode 100644 index 000000000..df60c6169 --- /dev/null +++ b/docs/models/getdraindeliverytype.md @@ -0,0 +1,15 @@ +# GetDrainDeliveryType + +## Example Usage + +```typescript +import { GetDrainDeliveryType } from "@vercel/sdk/models/getdrainop.js"; + +let value: GetDrainDeliveryType = "http"; +``` + +## Values + +```typescript +"http" +``` \ No newline at end of file diff --git a/docs/models/getdrainfilter1.md b/docs/models/getdrainfilter1.md new file mode 100644 index 000000000..c03a81e6a --- /dev/null +++ b/docs/models/getdrainfilter1.md @@ -0,0 +1,20 @@ +# GetDrainFilter1 + +## Example Usage + +```typescript +import { GetDrainFilter1 } from "@vercel/sdk/models/getdrainop.js"; + +let value: GetDrainFilter1 = { + type: "basic", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | +| `type` | [models.GetDrainFilterType](../models/getdrainfiltertype.md) | :heavy_check_mark: | N/A | +| `project` | [models.GetDrainFilterProject](../models/getdrainfilterproject.md) | :heavy_minus_sign: | N/A | +| `log` | [models.GetDrainFilterLog](../models/getdrainfilterlog.md) | :heavy_minus_sign: | N/A | +| `deployment` | [models.GetDrainFilterDeployment](../models/getdrainfilterdeployment.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getdrainfilter2.md b/docs/models/getdrainfilter2.md new file mode 100644 index 000000000..3370c6d5d --- /dev/null +++ b/docs/models/getdrainfilter2.md @@ -0,0 +1,19 @@ +# GetDrainFilter2 + +## Example Usage + +```typescript +import { GetDrainFilter2 } from "@vercel/sdk/models/getdrainop.js"; + +let value: GetDrainFilter2 = { + type: "odata", + text: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | +| `type` | [models.GetDrainFilterDrainsType](../models/getdrainfilterdrainstype.md) | :heavy_check_mark: | N/A | +| `text` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getdrainfilterdeployment.md b/docs/models/getdrainfilterdeployment.md new file mode 100644 index 000000000..d52a65723 --- /dev/null +++ b/docs/models/getdrainfilterdeployment.md @@ -0,0 +1,15 @@ +# GetDrainFilterDeployment + +## Example Usage + +```typescript +import { GetDrainFilterDeployment } from "@vercel/sdk/models/getdrainop.js"; + +let value: GetDrainFilterDeployment = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `environments` | [models.GetDrainFilterEnvironments](../models/getdrainfilterenvironments.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getdrainfilterdrains1.md b/docs/models/getdrainfilterdrains1.md new file mode 100644 index 000000000..c8ced2d54 --- /dev/null +++ b/docs/models/getdrainfilterdrains1.md @@ -0,0 +1,20 @@ +# GetDrainFilterDrains1 + +## Example Usage + +```typescript +import { GetDrainFilterDrains1 } from "@vercel/sdk/models/getdrainop.js"; + +let value: GetDrainFilterDrains1 = { + type: "basic", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `type` | [models.GetDrainFilterDrainsResponseType](../models/getdrainfilterdrainsresponsetype.md) | :heavy_check_mark: | N/A | +| `project` | [models.GetDrainFilterDrainsProject](../models/getdrainfilterdrainsproject.md) | :heavy_minus_sign: | N/A | +| `log` | [models.GetDrainFilterDrainsLog](../models/getdrainfilterdrainslog.md) | :heavy_minus_sign: | N/A | +| `deployment` | [models.GetDrainFilterDrainsDeployment](../models/getdrainfilterdrainsdeployment.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getdrainfilterdrains2.md b/docs/models/getdrainfilterdrains2.md new file mode 100644 index 000000000..b4d5c126f --- /dev/null +++ b/docs/models/getdrainfilterdrains2.md @@ -0,0 +1,19 @@ +# GetDrainFilterDrains2 + +## Example Usage + +```typescript +import { GetDrainFilterDrains2 } from "@vercel/sdk/models/getdrainop.js"; + +let value: GetDrainFilterDrains2 = { + type: "odata", + text: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `type` | [models.GetDrainFilterDrainsResponse200Type](../models/getdrainfilterdrainsresponse200type.md) | :heavy_check_mark: | N/A | +| `text` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getdrainfilterdrainsdeployment.md b/docs/models/getdrainfilterdrainsdeployment.md new file mode 100644 index 000000000..8754b1d0b --- /dev/null +++ b/docs/models/getdrainfilterdrainsdeployment.md @@ -0,0 +1,15 @@ +# GetDrainFilterDrainsDeployment + +## Example Usage + +```typescript +import { GetDrainFilterDrainsDeployment } from "@vercel/sdk/models/getdrainop.js"; + +let value: GetDrainFilterDrainsDeployment = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `environments` | [models.GetDrainFilterDrainsEnvironments](../models/getdrainfilterdrainsenvironments.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getdrainfilterdrainsenvironments.md b/docs/models/getdrainfilterdrainsenvironments.md new file mode 100644 index 000000000..ef8454804 --- /dev/null +++ b/docs/models/getdrainfilterdrainsenvironments.md @@ -0,0 +1,15 @@ +# GetDrainFilterDrainsEnvironments + +## Example Usage + +```typescript +import { GetDrainFilterDrainsEnvironments } from "@vercel/sdk/models/getdrainop.js"; + +let value: GetDrainFilterDrainsEnvironments = "preview"; +``` + +## Values + +```typescript +"production" | "preview" +``` \ No newline at end of file diff --git a/docs/models/getdrainfilterdrainslog.md b/docs/models/getdrainfilterdrainslog.md new file mode 100644 index 000000000..56e38e1d7 --- /dev/null +++ b/docs/models/getdrainfilterdrainslog.md @@ -0,0 +1,16 @@ +# GetDrainFilterDrainsLog + +## Example Usage + +```typescript +import { GetDrainFilterDrainsLog } from "@vercel/sdk/models/getdrainop.js"; + +let value: GetDrainFilterDrainsLog = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `sources` | [models.GetDrainFilterDrainsSources](../models/getdrainfilterdrainssources.md)[] | :heavy_minus_sign: | N/A | +| `legacyExcludeCachedStaticAssetLogs` | *boolean* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getdrainfilterdrainsproject.md b/docs/models/getdrainfilterdrainsproject.md new file mode 100644 index 000000000..d829bda6e --- /dev/null +++ b/docs/models/getdrainfilterdrainsproject.md @@ -0,0 +1,15 @@ +# GetDrainFilterDrainsProject + +## Example Usage + +```typescript +import { GetDrainFilterDrainsProject } from "@vercel/sdk/models/getdrainop.js"; + +let value: GetDrainFilterDrainsProject = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `ids` | *string*[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getdrainfilterdrainsresponse200type.md b/docs/models/getdrainfilterdrainsresponse200type.md new file mode 100644 index 000000000..b62923ee2 --- /dev/null +++ b/docs/models/getdrainfilterdrainsresponse200type.md @@ -0,0 +1,15 @@ +# GetDrainFilterDrainsResponse200Type + +## Example Usage + +```typescript +import { GetDrainFilterDrainsResponse200Type } from "@vercel/sdk/models/getdrainop.js"; + +let value: GetDrainFilterDrainsResponse200Type = "odata"; +``` + +## Values + +```typescript +"odata" +``` \ No newline at end of file diff --git a/docs/models/getdrainfilterdrainsresponsetype.md b/docs/models/getdrainfilterdrainsresponsetype.md new file mode 100644 index 000000000..76356b2e4 --- /dev/null +++ b/docs/models/getdrainfilterdrainsresponsetype.md @@ -0,0 +1,15 @@ +# GetDrainFilterDrainsResponseType + +## Example Usage + +```typescript +import { GetDrainFilterDrainsResponseType } from "@vercel/sdk/models/getdrainop.js"; + +let value: GetDrainFilterDrainsResponseType = "basic"; +``` + +## Values + +```typescript +"basic" +``` \ No newline at end of file diff --git a/docs/models/getdrainfilterdrainssources.md b/docs/models/getdrainfilterdrainssources.md new file mode 100644 index 000000000..89173ce8d --- /dev/null +++ b/docs/models/getdrainfilterdrainssources.md @@ -0,0 +1,15 @@ +# GetDrainFilterDrainsSources + +## Example Usage + +```typescript +import { GetDrainFilterDrainsSources } from "@vercel/sdk/models/getdrainop.js"; + +let value: GetDrainFilterDrainsSources = "external"; +``` + +## Values + +```typescript +"build" | "edge" | "lambda" | "static" | "external" | "firewall" | "redirect" +``` \ No newline at end of file diff --git a/docs/models/getdrainfilterdrainstype.md b/docs/models/getdrainfilterdrainstype.md new file mode 100644 index 000000000..742452620 --- /dev/null +++ b/docs/models/getdrainfilterdrainstype.md @@ -0,0 +1,15 @@ +# GetDrainFilterDrainsType + +## Example Usage + +```typescript +import { GetDrainFilterDrainsType } from "@vercel/sdk/models/getdrainop.js"; + +let value: GetDrainFilterDrainsType = "odata"; +``` + +## Values + +```typescript +"odata" +``` \ No newline at end of file diff --git a/docs/models/getdrainfilterenvironments.md b/docs/models/getdrainfilterenvironments.md new file mode 100644 index 000000000..4d371b0ac --- /dev/null +++ b/docs/models/getdrainfilterenvironments.md @@ -0,0 +1,15 @@ +# GetDrainFilterEnvironments + +## Example Usage + +```typescript +import { GetDrainFilterEnvironments } from "@vercel/sdk/models/getdrainop.js"; + +let value: GetDrainFilterEnvironments = "production"; +``` + +## Values + +```typescript +"production" | "preview" +``` \ No newline at end of file diff --git a/docs/models/getdrainfilterlog.md b/docs/models/getdrainfilterlog.md new file mode 100644 index 000000000..8794c5354 --- /dev/null +++ b/docs/models/getdrainfilterlog.md @@ -0,0 +1,16 @@ +# GetDrainFilterLog + +## Example Usage + +```typescript +import { GetDrainFilterLog } from "@vercel/sdk/models/getdrainop.js"; + +let value: GetDrainFilterLog = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `sources` | [models.GetDrainFilterSources](../models/getdrainfiltersources.md)[] | :heavy_minus_sign: | N/A | +| `legacyExcludeCachedStaticAssetLogs` | *boolean* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getdrainfilterproject.md b/docs/models/getdrainfilterproject.md new file mode 100644 index 000000000..8ebcd8e96 --- /dev/null +++ b/docs/models/getdrainfilterproject.md @@ -0,0 +1,15 @@ +# GetDrainFilterProject + +## Example Usage + +```typescript +import { GetDrainFilterProject } from "@vercel/sdk/models/getdrainop.js"; + +let value: GetDrainFilterProject = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `ids` | *string*[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getdrainfiltersources.md b/docs/models/getdrainfiltersources.md new file mode 100644 index 000000000..f3dd82733 --- /dev/null +++ b/docs/models/getdrainfiltersources.md @@ -0,0 +1,15 @@ +# GetDrainFilterSources + +## Example Usage + +```typescript +import { GetDrainFilterSources } from "@vercel/sdk/models/getdrainop.js"; + +let value: GetDrainFilterSources = "external"; +``` + +## Values + +```typescript +"build" | "edge" | "lambda" | "static" | "external" | "firewall" | "redirect" +``` \ No newline at end of file diff --git a/docs/models/getdrainfiltertype.md b/docs/models/getdrainfiltertype.md new file mode 100644 index 000000000..9fdac8fe9 --- /dev/null +++ b/docs/models/getdrainfiltertype.md @@ -0,0 +1,15 @@ +# GetDrainFilterType + +## Example Usage + +```typescript +import { GetDrainFilterType } from "@vercel/sdk/models/getdrainop.js"; + +let value: GetDrainFilterType = "basic"; +``` + +## Values + +```typescript +"basic" +``` \ No newline at end of file diff --git a/docs/models/getdrainfilterv21.md b/docs/models/getdrainfilterv21.md new file mode 100644 index 000000000..be19832a6 --- /dev/null +++ b/docs/models/getdrainfilterv21.md @@ -0,0 +1,17 @@ +# GetDrainFilterV21 + +## Example Usage + +```typescript +import { GetDrainFilterV21 } from "@vercel/sdk/models/getdrainop.js"; + +let value: GetDrainFilterV21 = { + version: "v1", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | +| `version` | [models.GetDrainFilterV2Version](../models/getdrainfilterv2version.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getdrainfilterv22.md b/docs/models/getdrainfilterv22.md new file mode 100644 index 000000000..4c0f84e69 --- /dev/null +++ b/docs/models/getdrainfilterv22.md @@ -0,0 +1,22 @@ +# GetDrainFilterV22 + +## Example Usage + +```typescript +import { GetDrainFilterV22 } from "@vercel/sdk/models/getdrainop.js"; + +let value: GetDrainFilterV22 = { + version: "v2", + filter: { + type: "odata", + text: "", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `version` | [models.GetDrainFilterV2DrainsVersion](../models/getdrainfilterv2drainsversion.md) | :heavy_check_mark: | N/A | +| `filter` | *models.GetDrainFilterV2Filter* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getdrainfilterv2drains1.md b/docs/models/getdrainfilterv2drains1.md new file mode 100644 index 000000000..f71dd65a7 --- /dev/null +++ b/docs/models/getdrainfilterv2drains1.md @@ -0,0 +1,17 @@ +# GetDrainFilterV2Drains1 + +## Example Usage + +```typescript +import { GetDrainFilterV2Drains1 } from "@vercel/sdk/models/getdrainop.js"; + +let value: GetDrainFilterV2Drains1 = { + version: "v1", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `version` | [models.GetDrainFilterV2DrainsResponseVersion](../models/getdrainfilterv2drainsresponseversion.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getdrainfilterv2drains2.md b/docs/models/getdrainfilterv2drains2.md new file mode 100644 index 000000000..51f3efa57 --- /dev/null +++ b/docs/models/getdrainfilterv2drains2.md @@ -0,0 +1,22 @@ +# GetDrainFilterV2Drains2 + +## Example Usage + +```typescript +import { GetDrainFilterV2Drains2 } from "@vercel/sdk/models/getdrainop.js"; + +let value: GetDrainFilterV2Drains2 = { + version: "v2", + filter: { + type: "odata", + text: "", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | +| `version` | [models.GetDrainFilterV2DrainsResponse200Version](../models/getdrainfilterv2drainsresponse200version.md) | :heavy_check_mark: | N/A | +| `filter` | *models.GetDrainFilterV2DrainsFilter* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getdrainfilterv2drainsfilter.md b/docs/models/getdrainfilterv2drainsfilter.md new file mode 100644 index 000000000..56cea88c8 --- /dev/null +++ b/docs/models/getdrainfilterv2drainsfilter.md @@ -0,0 +1,22 @@ +# GetDrainFilterV2DrainsFilter + + +## Supported Types + +### `models.GetDrainFilterDrains1` + +```typescript +const value: models.GetDrainFilterDrains1 = { + type: "basic", +}; +``` + +### `models.GetDrainFilterDrains2` + +```typescript +const value: models.GetDrainFilterDrains2 = { + type: "odata", + text: "", +}; +``` + diff --git a/docs/models/getdrainfilterv2drainsresponse200version.md b/docs/models/getdrainfilterv2drainsresponse200version.md new file mode 100644 index 000000000..d7cb98681 --- /dev/null +++ b/docs/models/getdrainfilterv2drainsresponse200version.md @@ -0,0 +1,15 @@ +# GetDrainFilterV2DrainsResponse200Version + +## Example Usage + +```typescript +import { GetDrainFilterV2DrainsResponse200Version } from "@vercel/sdk/models/getdrainop.js"; + +let value: GetDrainFilterV2DrainsResponse200Version = "v2"; +``` + +## Values + +```typescript +"v2" +``` \ No newline at end of file diff --git a/docs/models/getdrainfilterv2drainsresponseversion.md b/docs/models/getdrainfilterv2drainsresponseversion.md new file mode 100644 index 000000000..42910ac03 --- /dev/null +++ b/docs/models/getdrainfilterv2drainsresponseversion.md @@ -0,0 +1,15 @@ +# GetDrainFilterV2DrainsResponseVersion + +## Example Usage + +```typescript +import { GetDrainFilterV2DrainsResponseVersion } from "@vercel/sdk/models/getdrainop.js"; + +let value: GetDrainFilterV2DrainsResponseVersion = "v1"; +``` + +## Values + +```typescript +"v1" +``` \ No newline at end of file diff --git a/docs/models/getdrainfilterv2drainsversion.md b/docs/models/getdrainfilterv2drainsversion.md new file mode 100644 index 000000000..ffb3034bc --- /dev/null +++ b/docs/models/getdrainfilterv2drainsversion.md @@ -0,0 +1,15 @@ +# GetDrainFilterV2DrainsVersion + +## Example Usage + +```typescript +import { GetDrainFilterV2DrainsVersion } from "@vercel/sdk/models/getdrainop.js"; + +let value: GetDrainFilterV2DrainsVersion = "v2"; +``` + +## Values + +```typescript +"v2" +``` \ No newline at end of file diff --git a/docs/models/getdrainfilterv2filter.md b/docs/models/getdrainfilterv2filter.md new file mode 100644 index 000000000..c1d1320c8 --- /dev/null +++ b/docs/models/getdrainfilterv2filter.md @@ -0,0 +1,22 @@ +# GetDrainFilterV2Filter + + +## Supported Types + +### `models.GetDrainFilter1` + +```typescript +const value: models.GetDrainFilter1 = { + type: "basic", +}; +``` + +### `models.GetDrainFilter2` + +```typescript +const value: models.GetDrainFilter2 = { + type: "odata", + text: "", +}; +``` + diff --git a/docs/models/getdrainfilterv2version.md b/docs/models/getdrainfilterv2version.md new file mode 100644 index 000000000..588c8e42b --- /dev/null +++ b/docs/models/getdrainfilterv2version.md @@ -0,0 +1,15 @@ +# GetDrainFilterV2Version + +## Example Usage + +```typescript +import { GetDrainFilterV2Version } from "@vercel/sdk/models/getdrainop.js"; + +let value: GetDrainFilterV2Version = "v1"; +``` + +## Values + +```typescript +"v1" +``` \ No newline at end of file diff --git a/docs/models/getdrainrequest.md b/docs/models/getdrainrequest.md new file mode 100644 index 000000000..49c7583e8 --- /dev/null +++ b/docs/models/getdrainrequest.md @@ -0,0 +1,21 @@ +# GetDrainRequest + +## Example Usage + +```typescript +import { GetDrainRequest } from "@vercel/sdk/models/getdrainop.js"; + +let value: GetDrainRequest = { + id: "", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + slug: "my-team-url-slug", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | N/A | | +| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | team_1a2b3c4d5e6f7g8h9i0j1k2l | +| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | my-team-url-slug | \ No newline at end of file diff --git a/docs/models/getdrainresponsebody.md b/docs/models/getdrainresponsebody.md new file mode 100644 index 000000000..fedb7fc33 --- /dev/null +++ b/docs/models/getdrainresponsebody.md @@ -0,0 +1,39 @@ +# GetDrainResponseBody + + +## Supported Types + +### `models.GetDrainResponseBody1` + +```typescript +const value: models.GetDrainResponseBody1 = { + id: "", + ownerId: "", + name: "", + createdAt: 5261.65, + updatedAt: 5879.78, + source: { + kind: "integration", + integrationId: "", + integrationConfigurationId: "", + }, +}; +``` + +### `models.GetDrainResponseBody2` + +```typescript +const value: models.GetDrainResponseBody2 = { + id: "", + ownerId: "", + name: "", + createdAt: 9964.39, + updatedAt: 908.45, + source: { + kind: "integration", + integrationId: "", + integrationConfigurationId: "", + }, +}; +``` + diff --git a/docs/models/getdrainresponsebody1.md b/docs/models/getdrainresponsebody1.md new file mode 100644 index 000000000..5e65f4ebd --- /dev/null +++ b/docs/models/getdrainresponsebody1.md @@ -0,0 +1,46 @@ +# GetDrainResponseBody1 + +## Example Usage + +```typescript +import { GetDrainResponseBody1 } from "@vercel/sdk/models/getdrainop.js"; + +let value: GetDrainResponseBody1 = { + id: "", + ownerId: "", + name: "", + createdAt: 5261.65, + updatedAt: 5879.78, + source: { + kind: "integration", + integrationId: "", + integrationConfigurationId: "", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | N/A | +| `ownerId` | *string* | :heavy_check_mark: | N/A | +| `name` | *string* | :heavy_check_mark: | N/A | +| `createdAt` | *number* | :heavy_check_mark: | N/A | +| `createdFrom` | [models.GetDrainResponseBodyCreatedFrom](../models/getdrainresponsebodycreatedfrom.md) | :heavy_minus_sign: | N/A | +| `updatedAt` | *number* | :heavy_check_mark: | N/A | +| `projectIds` | *string*[] | :heavy_minus_sign: | N/A | +| `schemas` | [models.GetDrainResponseBodySchemas](../models/getdrainresponsebodyschemas.md) | :heavy_minus_sign: | N/A | +| `delivery` | *models.GetDrainResponseBodyDelivery* | :heavy_minus_sign: | N/A | +| `sampling` | [models.GetDrainResponseBodySampling](../models/getdrainresponsebodysampling.md)[] | :heavy_minus_sign: | N/A | +| `teamId` | *string* | :heavy_minus_sign: | N/A | +| `status` | [models.GetDrainResponseBodyStatus](../models/getdrainresponsebodystatus.md) | :heavy_minus_sign: | N/A | +| `disabledAt` | *number* | :heavy_minus_sign: | N/A | +| `disabledReason` | [models.GetDrainResponseBodyDisabledReason](../models/getdrainresponsebodydisabledreason.md) | :heavy_minus_sign: | N/A | +| `disabledBy` | *string* | :heavy_minus_sign: | N/A | +| `firstErrorTimestamp` | *number* | :heavy_minus_sign: | N/A | +| `configurationId` | *string* | :heavy_minus_sign: | N/A | +| `clientId` | *string* | :heavy_minus_sign: | N/A | +| `source` | *models.GetDrainResponseBodySource* | :heavy_check_mark: | N/A | +| `filter` | *string* | :heavy_minus_sign: | N/A | +| `filterV2` | *models.GetDrainResponseBodyFilterV2* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getdrainresponsebody2.md b/docs/models/getdrainresponsebody2.md new file mode 100644 index 000000000..9a07732f1 --- /dev/null +++ b/docs/models/getdrainresponsebody2.md @@ -0,0 +1,50 @@ +# GetDrainResponseBody2 + +## Example Usage + +```typescript +import { GetDrainResponseBody2 } from "@vercel/sdk/models/getdrainop.js"; + +let value: GetDrainResponseBody2 = { + id: "", + ownerId: "", + name: "", + createdAt: 9964.39, + updatedAt: 908.45, + source: { + kind: "integration", + integrationId: "", + integrationConfigurationId: "", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | N/A | +| `ownerId` | *string* | :heavy_check_mark: | N/A | +| `name` | *string* | :heavy_check_mark: | N/A | +| `createdAt` | *number* | :heavy_check_mark: | N/A | +| `createdFrom` | [models.GetDrainResponseBodyDrainsCreatedFrom](../models/getdrainresponsebodydrainscreatedfrom.md) | :heavy_minus_sign: | N/A | +| `updatedAt` | *number* | :heavy_check_mark: | N/A | +| `projectIds` | *string*[] | :heavy_minus_sign: | N/A | +| `schemas` | [models.GetDrainResponseBodyDrainsSchemas](../models/getdrainresponsebodydrainsschemas.md) | :heavy_minus_sign: | N/A | +| `delivery` | *models.GetDrainResponseBodyDrainsDelivery* | :heavy_minus_sign: | N/A | +| `sampling` | [models.GetDrainResponseBodyDrainsSampling](../models/getdrainresponsebodydrainssampling.md)[] | :heavy_minus_sign: | N/A | +| `teamId` | *string* | :heavy_minus_sign: | N/A | +| `status` | [models.GetDrainResponseBodyDrainsStatus](../models/getdrainresponsebodydrainsstatus.md) | :heavy_minus_sign: | N/A | +| `disabledAt` | *number* | :heavy_minus_sign: | N/A | +| `disabledReason` | [models.GetDrainResponseBodyDrainsDisabledReason](../models/getdrainresponsebodydrainsdisabledreason.md) | :heavy_minus_sign: | N/A | +| `disabledBy` | *string* | :heavy_minus_sign: | N/A | +| `firstErrorTimestamp` | *number* | :heavy_minus_sign: | N/A | +| `configurationId` | *string* | :heavy_minus_sign: | N/A | +| `clientId` | *string* | :heavy_minus_sign: | N/A | +| `source` | *models.GetDrainResponseBodyDrainsSource* | :heavy_check_mark: | N/A | +| `filter` | *string* | :heavy_minus_sign: | N/A | +| `filterV2` | *models.GetDrainResponseBodyDrainsFilterV2* | :heavy_minus_sign: | N/A | +| `integrationIcon` | *string* | :heavy_minus_sign: | N/A | +| `integrationConfigurationUri` | *string* | :heavy_minus_sign: | N/A | +| `integrationWebsite` | *string* | :heavy_minus_sign: | N/A | +| `projectsMetadata` | [models.GetDrainResponseBodyProjectsMetadata](../models/getdrainresponsebodyprojectsmetadata.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getdrainresponsebodyanalytics.md b/docs/models/getdrainresponsebodyanalytics.md new file mode 100644 index 000000000..9c57f80fc --- /dev/null +++ b/docs/models/getdrainresponsebodyanalytics.md @@ -0,0 +1,14 @@ +# GetDrainResponseBodyAnalytics + +## Example Usage + +```typescript +import { GetDrainResponseBodyAnalytics } from "@vercel/sdk/models/getdrainop.js"; + +let value: GetDrainResponseBodyAnalytics = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/getdrainresponsebodycreatedfrom.md b/docs/models/getdrainresponsebodycreatedfrom.md new file mode 100644 index 000000000..df3a68d9d --- /dev/null +++ b/docs/models/getdrainresponsebodycreatedfrom.md @@ -0,0 +1,15 @@ +# GetDrainResponseBodyCreatedFrom + +## Example Usage + +```typescript +import { GetDrainResponseBodyCreatedFrom } from "@vercel/sdk/models/getdrainop.js"; + +let value: GetDrainResponseBodyCreatedFrom = "self-served"; +``` + +## Values + +```typescript +"self-served" | "integration" +``` \ No newline at end of file diff --git a/docs/models/getdrainresponsebodydelivery.md b/docs/models/getdrainresponsebodydelivery.md new file mode 100644 index 000000000..925ac2b04 --- /dev/null +++ b/docs/models/getdrainresponsebodydelivery.md @@ -0,0 +1,54 @@ +# GetDrainResponseBodyDelivery + + +## Supported Types + +### `models.GetDrainDelivery1` + +```typescript +const value: models.GetDrainDelivery1 = { + type: "http", + endpoint: "", + encoding: "ndjson", + headers: { + "key": "", + "key1": "", + }, +}; +``` + +### `models.GetDrainDelivery2` + +```typescript +const value: models.GetDrainDelivery2 = { + type: "otlphttp", + endpoint: { + traces: "", + }, + encoding: "json", + headers: { + "key": "", + "key1": "", + }, +}; +``` + +### `models.GetDrainDelivery3` + +```typescript +const value: models.GetDrainDelivery3 = { + type: "clickhouse", + endpoint: "", + table: "", +}; +``` + +### `models.GetDrainDelivery4` + +```typescript +const value: models.GetDrainDelivery4 = { + type: "internal", + target: "vercel-otel-traces-db", +}; +``` + diff --git a/docs/models/getdrainresponsebodydisabledreason.md b/docs/models/getdrainresponsebodydisabledreason.md new file mode 100644 index 000000000..324a0ce11 --- /dev/null +++ b/docs/models/getdrainresponsebodydisabledreason.md @@ -0,0 +1,15 @@ +# GetDrainResponseBodyDisabledReason + +## Example Usage + +```typescript +import { GetDrainResponseBodyDisabledReason } from "@vercel/sdk/models/getdrainop.js"; + +let value: GetDrainResponseBodyDisabledReason = "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/getdrainresponsebodydrainsanalytics.md b/docs/models/getdrainresponsebodydrainsanalytics.md new file mode 100644 index 000000000..9174c2dc0 --- /dev/null +++ b/docs/models/getdrainresponsebodydrainsanalytics.md @@ -0,0 +1,14 @@ +# GetDrainResponseBodyDrainsAnalytics + +## Example Usage + +```typescript +import { GetDrainResponseBodyDrainsAnalytics } from "@vercel/sdk/models/getdrainop.js"; + +let value: GetDrainResponseBodyDrainsAnalytics = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/getdrainresponsebodydrainscreatedfrom.md b/docs/models/getdrainresponsebodydrainscreatedfrom.md new file mode 100644 index 000000000..566e19819 --- /dev/null +++ b/docs/models/getdrainresponsebodydrainscreatedfrom.md @@ -0,0 +1,15 @@ +# GetDrainResponseBodyDrainsCreatedFrom + +## Example Usage + +```typescript +import { GetDrainResponseBodyDrainsCreatedFrom } from "@vercel/sdk/models/getdrainop.js"; + +let value: GetDrainResponseBodyDrainsCreatedFrom = "self-served"; +``` + +## Values + +```typescript +"self-served" | "integration" +``` \ No newline at end of file diff --git a/docs/models/getdrainresponsebodydrainsdelivery.md b/docs/models/getdrainresponsebodydrainsdelivery.md new file mode 100644 index 000000000..0f9c56f36 --- /dev/null +++ b/docs/models/getdrainresponsebodydrainsdelivery.md @@ -0,0 +1,53 @@ +# GetDrainResponseBodyDrainsDelivery + + +## Supported Types + +### `models.GetDrainDeliveryDrains1` + +```typescript +const value: models.GetDrainDeliveryDrains1 = { + type: "http", + endpoint: "", + encoding: "ndjson", + headers: { + "key": "", + "key1": "", + }, +}; +``` + +### `models.GetDrainDeliveryDrains2` + +```typescript +const value: models.GetDrainDeliveryDrains2 = { + type: "otlphttp", + endpoint: { + traces: "", + }, + encoding: "json", + headers: { + "key": "", + }, +}; +``` + +### `models.GetDrainDeliveryDrains3` + +```typescript +const value: models.GetDrainDeliveryDrains3 = { + type: "clickhouse", + endpoint: "", + table: "", +}; +``` + +### `models.GetDrainDeliveryDrains4` + +```typescript +const value: models.GetDrainDeliveryDrains4 = { + type: "internal", + target: "vercel-otel-traces-db", +}; +``` + diff --git a/docs/models/getdrainresponsebodydrainsdisabledreason.md b/docs/models/getdrainresponsebodydrainsdisabledreason.md new file mode 100644 index 000000000..ba558979f --- /dev/null +++ b/docs/models/getdrainresponsebodydrainsdisabledreason.md @@ -0,0 +1,15 @@ +# GetDrainResponseBodyDrainsDisabledReason + +## Example Usage + +```typescript +import { GetDrainResponseBodyDrainsDisabledReason } from "@vercel/sdk/models/getdrainop.js"; + +let value: GetDrainResponseBodyDrainsDisabledReason = "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/getdrainresponsebodydrainsenv.md b/docs/models/getdrainresponsebodydrainsenv.md new file mode 100644 index 000000000..d6abaf666 --- /dev/null +++ b/docs/models/getdrainresponsebodydrainsenv.md @@ -0,0 +1,15 @@ +# GetDrainResponseBodyDrainsEnv + +## Example Usage + +```typescript +import { GetDrainResponseBodyDrainsEnv } from "@vercel/sdk/models/getdrainop.js"; + +let value: GetDrainResponseBodyDrainsEnv = "production"; +``` + +## Values + +```typescript +"production" | "preview" +``` \ No newline at end of file diff --git a/docs/models/getdrainresponsebodydrainsfilterv2.md b/docs/models/getdrainresponsebodydrainsfilterv2.md new file mode 100644 index 000000000..906248c76 --- /dev/null +++ b/docs/models/getdrainresponsebodydrainsfilterv2.md @@ -0,0 +1,25 @@ +# GetDrainResponseBodyDrainsFilterV2 + + +## Supported Types + +### `models.GetDrainFilterV2Drains1` + +```typescript +const value: models.GetDrainFilterV2Drains1 = { + version: "v1", +}; +``` + +### `models.GetDrainFilterV2Drains2` + +```typescript +const value: models.GetDrainFilterV2Drains2 = { + version: "v2", + filter: { + type: "odata", + text: "", + }, +}; +``` + diff --git a/docs/models/getdrainresponsebodydrainslog.md b/docs/models/getdrainresponsebodydrainslog.md new file mode 100644 index 000000000..cce4cdf05 --- /dev/null +++ b/docs/models/getdrainresponsebodydrainslog.md @@ -0,0 +1,14 @@ +# GetDrainResponseBodyDrainsLog + +## Example Usage + +```typescript +import { GetDrainResponseBodyDrainsLog } from "@vercel/sdk/models/getdrainop.js"; + +let value: GetDrainResponseBodyDrainsLog = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/getdrainresponsebodydrainssampling.md b/docs/models/getdrainresponsebodydrainssampling.md new file mode 100644 index 000000000..eebf3826d --- /dev/null +++ b/docs/models/getdrainresponsebodydrainssampling.md @@ -0,0 +1,21 @@ +# GetDrainResponseBodyDrainsSampling + +## Example Usage + +```typescript +import { GetDrainResponseBodyDrainsSampling } from "@vercel/sdk/models/getdrainop.js"; + +let value: GetDrainResponseBodyDrainsSampling = { + type: "head_sampling", + rate: 7168.06, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `type` | [models.GetDrainResponseBodyDrainsType](../models/getdrainresponsebodydrainstype.md) | :heavy_check_mark: | N/A | +| `rate` | *number* | :heavy_check_mark: | N/A | +| `env` | [models.GetDrainResponseBodyDrainsEnv](../models/getdrainresponsebodydrainsenv.md) | :heavy_minus_sign: | N/A | +| `requestPath` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getdrainresponsebodydrainsschemas.md b/docs/models/getdrainresponsebodydrainsschemas.md new file mode 100644 index 000000000..e4e2ef232 --- /dev/null +++ b/docs/models/getdrainresponsebodydrainsschemas.md @@ -0,0 +1,18 @@ +# GetDrainResponseBodyDrainsSchemas + +## Example Usage + +```typescript +import { GetDrainResponseBodyDrainsSchemas } from "@vercel/sdk/models/getdrainop.js"; + +let value: GetDrainResponseBodyDrainsSchemas = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | +| `log` | [models.GetDrainResponseBodyDrainsLog](../models/getdrainresponsebodydrainslog.md) | :heavy_minus_sign: | N/A | +| `trace` | [models.GetDrainResponseBodyDrainsTrace](../models/getdrainresponsebodydrainstrace.md) | :heavy_minus_sign: | N/A | +| `analytics` | [models.GetDrainResponseBodyDrainsAnalytics](../models/getdrainresponsebodydrainsanalytics.md) | :heavy_minus_sign: | N/A | +| `speedInsights` | [models.GetDrainResponseBodyDrainsSpeedInsights](../models/getdrainresponsebodydrainsspeedinsights.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getdrainresponsebodydrainssource.md b/docs/models/getdrainresponsebodydrainssource.md new file mode 100644 index 000000000..44bd218cf --- /dev/null +++ b/docs/models/getdrainresponsebodydrainssource.md @@ -0,0 +1,23 @@ +# GetDrainResponseBodyDrainsSource + + +## Supported Types + +### `models.GetDrainSourceDrains1` + +```typescript +const value: models.GetDrainSourceDrains1 = { + kind: "self-served", +}; +``` + +### `models.GetDrainSourceDrains2` + +```typescript +const value: models.GetDrainSourceDrains2 = { + kind: "integration", + integrationId: "", + integrationConfigurationId: "", +}; +``` + diff --git a/docs/models/getdrainresponsebodydrainsspeedinsights.md b/docs/models/getdrainresponsebodydrainsspeedinsights.md new file mode 100644 index 000000000..56ef16067 --- /dev/null +++ b/docs/models/getdrainresponsebodydrainsspeedinsights.md @@ -0,0 +1,14 @@ +# GetDrainResponseBodyDrainsSpeedInsights + +## Example Usage + +```typescript +import { GetDrainResponseBodyDrainsSpeedInsights } from "@vercel/sdk/models/getdrainop.js"; + +let value: GetDrainResponseBodyDrainsSpeedInsights = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/getdrainresponsebodydrainsstatus.md b/docs/models/getdrainresponsebodydrainsstatus.md new file mode 100644 index 000000000..9ec668d17 --- /dev/null +++ b/docs/models/getdrainresponsebodydrainsstatus.md @@ -0,0 +1,15 @@ +# GetDrainResponseBodyDrainsStatus + +## Example Usage + +```typescript +import { GetDrainResponseBodyDrainsStatus } from "@vercel/sdk/models/getdrainop.js"; + +let value: GetDrainResponseBodyDrainsStatus = "enabled"; +``` + +## Values + +```typescript +"enabled" | "disabled" | "errored" +``` \ No newline at end of file diff --git a/docs/models/getdrainresponsebodydrainstrace.md b/docs/models/getdrainresponsebodydrainstrace.md new file mode 100644 index 000000000..505a76f66 --- /dev/null +++ b/docs/models/getdrainresponsebodydrainstrace.md @@ -0,0 +1,14 @@ +# GetDrainResponseBodyDrainsTrace + +## Example Usage + +```typescript +import { GetDrainResponseBodyDrainsTrace } from "@vercel/sdk/models/getdrainop.js"; + +let value: GetDrainResponseBodyDrainsTrace = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/getdrainresponsebodydrainstype.md b/docs/models/getdrainresponsebodydrainstype.md new file mode 100644 index 000000000..78e4f4793 --- /dev/null +++ b/docs/models/getdrainresponsebodydrainstype.md @@ -0,0 +1,15 @@ +# GetDrainResponseBodyDrainsType + +## Example Usage + +```typescript +import { GetDrainResponseBodyDrainsType } from "@vercel/sdk/models/getdrainop.js"; + +let value: GetDrainResponseBodyDrainsType = "head_sampling"; +``` + +## Values + +```typescript +"head_sampling" +``` \ No newline at end of file diff --git a/docs/models/getdrainresponsebodyenv.md b/docs/models/getdrainresponsebodyenv.md new file mode 100644 index 000000000..8518ef6b1 --- /dev/null +++ b/docs/models/getdrainresponsebodyenv.md @@ -0,0 +1,15 @@ +# GetDrainResponseBodyEnv + +## Example Usage + +```typescript +import { GetDrainResponseBodyEnv } from "@vercel/sdk/models/getdrainop.js"; + +let value: GetDrainResponseBodyEnv = "preview"; +``` + +## Values + +```typescript +"production" | "preview" +``` \ No newline at end of file diff --git a/docs/models/getdrainresponsebodyfilterv2.md b/docs/models/getdrainresponsebodyfilterv2.md new file mode 100644 index 000000000..4d01025bc --- /dev/null +++ b/docs/models/getdrainresponsebodyfilterv2.md @@ -0,0 +1,25 @@ +# GetDrainResponseBodyFilterV2 + + +## Supported Types + +### `models.GetDrainFilterV21` + +```typescript +const value: models.GetDrainFilterV21 = { + version: "v1", +}; +``` + +### `models.GetDrainFilterV22` + +```typescript +const value: models.GetDrainFilterV22 = { + version: "v2", + filter: { + type: "odata", + text: "", + }, +}; +``` + diff --git a/docs/models/getdrainresponsebodyframework.md b/docs/models/getdrainresponsebodyframework.md new file mode 100644 index 000000000..03c2941b3 --- /dev/null +++ b/docs/models/getdrainresponsebodyframework.md @@ -0,0 +1,15 @@ +# GetDrainResponseBodyFramework + +## Example Usage + +```typescript +import { GetDrainResponseBodyFramework } from "@vercel/sdk/models/getdrainop.js"; + +let value: GetDrainResponseBodyFramework = "stencil"; +``` + +## Values + +```typescript +"blitzjs" | "nextjs" | "gatsby" | "remix" | "react-router" | "astro" | "hexo" | "eleventy" | "docusaurus-2" | "docusaurus" | "preact" | "solidstart-1" | "solidstart" | "dojo" | "ember" | "vue" | "scully" | "ionic-angular" | "angular" | "polymer" | "svelte" | "sveltekit" | "sveltekit-1" | "ionic-react" | "create-react-app" | "gridsome" | "umijs" | "sapper" | "saber" | "stencil" | "nuxtjs" | "redwoodjs" | "hugo" | "jekyll" | "brunch" | "middleman" | "zola" | "hydrogen" | "vite" | "tanstack-start" | "vitepress" | "vuepress" | "parcel" | "fastapi" | "flask" | "fasthtml" | "sanity-v3" | "sanity" | "storybook" | "nitro" | "hono" | "express" | "h3" | "nestjs" | "elysia" | "fastify" | "xmcp" +``` \ No newline at end of file diff --git a/docs/models/getdrainresponsebodylog.md b/docs/models/getdrainresponsebodylog.md new file mode 100644 index 000000000..92ed78f3f --- /dev/null +++ b/docs/models/getdrainresponsebodylog.md @@ -0,0 +1,14 @@ +# GetDrainResponseBodyLog + +## Example Usage + +```typescript +import { GetDrainResponseBodyLog } from "@vercel/sdk/models/getdrainop.js"; + +let value: GetDrainResponseBodyLog = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/getdrainresponsebodyprojectsmetadata.md b/docs/models/getdrainresponsebodyprojectsmetadata.md new file mode 100644 index 000000000..9a81c7992 --- /dev/null +++ b/docs/models/getdrainresponsebodyprojectsmetadata.md @@ -0,0 +1,21 @@ +# GetDrainResponseBodyProjectsMetadata + +## Example Usage + +```typescript +import { GetDrainResponseBodyProjectsMetadata } from "@vercel/sdk/models/getdrainop.js"; + +let value: GetDrainResponseBodyProjectsMetadata = { + id: "", + name: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | N/A | +| `name` | *string* | :heavy_check_mark: | N/A | +| `framework` | [models.GetDrainResponseBodyFramework](../models/getdrainresponsebodyframework.md) | :heavy_minus_sign: | N/A | +| `latestDeployment` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getdrainresponsebodysampling.md b/docs/models/getdrainresponsebodysampling.md new file mode 100644 index 000000000..7f7d1cb2e --- /dev/null +++ b/docs/models/getdrainresponsebodysampling.md @@ -0,0 +1,21 @@ +# GetDrainResponseBodySampling + +## Example Usage + +```typescript +import { GetDrainResponseBodySampling } from "@vercel/sdk/models/getdrainop.js"; + +let value: GetDrainResponseBodySampling = { + type: "head_sampling", + rate: 5823.78, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | +| `type` | [models.GetDrainResponseBodyType](../models/getdrainresponsebodytype.md) | :heavy_check_mark: | N/A | +| `rate` | *number* | :heavy_check_mark: | N/A | +| `env` | [models.GetDrainResponseBodyEnv](../models/getdrainresponsebodyenv.md) | :heavy_minus_sign: | N/A | +| `requestPath` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getdrainresponsebodyschemas.md b/docs/models/getdrainresponsebodyschemas.md new file mode 100644 index 000000000..ed908970f --- /dev/null +++ b/docs/models/getdrainresponsebodyschemas.md @@ -0,0 +1,18 @@ +# GetDrainResponseBodySchemas + +## Example Usage + +```typescript +import { GetDrainResponseBodySchemas } from "@vercel/sdk/models/getdrainop.js"; + +let value: GetDrainResponseBodySchemas = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `log` | [models.GetDrainResponseBodyLog](../models/getdrainresponsebodylog.md) | :heavy_minus_sign: | N/A | +| `trace` | [models.GetDrainResponseBodyTrace](../models/getdrainresponsebodytrace.md) | :heavy_minus_sign: | N/A | +| `analytics` | [models.GetDrainResponseBodyAnalytics](../models/getdrainresponsebodyanalytics.md) | :heavy_minus_sign: | N/A | +| `speedInsights` | [models.GetDrainResponseBodySpeedInsights](../models/getdrainresponsebodyspeedinsights.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getdrainresponsebodysource.md b/docs/models/getdrainresponsebodysource.md new file mode 100644 index 000000000..c32da1a7a --- /dev/null +++ b/docs/models/getdrainresponsebodysource.md @@ -0,0 +1,23 @@ +# GetDrainResponseBodySource + + +## Supported Types + +### `models.GetDrainSource1` + +```typescript +const value: models.GetDrainSource1 = { + kind: "self-served", +}; +``` + +### `models.GetDrainSource2` + +```typescript +const value: models.GetDrainSource2 = { + kind: "integration", + integrationId: "", + integrationConfigurationId: "", +}; +``` + diff --git a/docs/models/getdrainresponsebodyspeedinsights.md b/docs/models/getdrainresponsebodyspeedinsights.md new file mode 100644 index 000000000..7e12b7d97 --- /dev/null +++ b/docs/models/getdrainresponsebodyspeedinsights.md @@ -0,0 +1,14 @@ +# GetDrainResponseBodySpeedInsights + +## Example Usage + +```typescript +import { GetDrainResponseBodySpeedInsights } from "@vercel/sdk/models/getdrainop.js"; + +let value: GetDrainResponseBodySpeedInsights = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/getdrainresponsebodystatus.md b/docs/models/getdrainresponsebodystatus.md new file mode 100644 index 000000000..09f8e3322 --- /dev/null +++ b/docs/models/getdrainresponsebodystatus.md @@ -0,0 +1,15 @@ +# GetDrainResponseBodyStatus + +## Example Usage + +```typescript +import { GetDrainResponseBodyStatus } from "@vercel/sdk/models/getdrainop.js"; + +let value: GetDrainResponseBodyStatus = "disabled"; +``` + +## Values + +```typescript +"enabled" | "disabled" | "errored" +``` \ No newline at end of file diff --git a/docs/models/getdrainresponsebodytrace.md b/docs/models/getdrainresponsebodytrace.md new file mode 100644 index 000000000..9460b5846 --- /dev/null +++ b/docs/models/getdrainresponsebodytrace.md @@ -0,0 +1,14 @@ +# GetDrainResponseBodyTrace + +## Example Usage + +```typescript +import { GetDrainResponseBodyTrace } from "@vercel/sdk/models/getdrainop.js"; + +let value: GetDrainResponseBodyTrace = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/getdrainresponsebodytype.md b/docs/models/getdrainresponsebodytype.md new file mode 100644 index 000000000..5cb8656a2 --- /dev/null +++ b/docs/models/getdrainresponsebodytype.md @@ -0,0 +1,15 @@ +# GetDrainResponseBodyType + +## Example Usage + +```typescript +import { GetDrainResponseBodyType } from "@vercel/sdk/models/getdrainop.js"; + +let value: GetDrainResponseBodyType = "head_sampling"; +``` + +## Values + +```typescript +"head_sampling" +``` \ No newline at end of file diff --git a/docs/models/getdrainsdelivery1.md b/docs/models/getdrainsdelivery1.md new file mode 100644 index 000000000..4153a04d6 --- /dev/null +++ b/docs/models/getdrainsdelivery1.md @@ -0,0 +1,27 @@ +# GetDrainsDelivery1 + +## Example Usage + +```typescript +import { GetDrainsDelivery1 } from "@vercel/sdk/models/getdrainsop.js"; + +let value: GetDrainsDelivery1 = { + type: "http", + endpoint: "", + encoding: "json", + headers: { + "key": "", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `type` | [models.GetDrainsDeliveryType](../models/getdrainsdeliverytype.md) | :heavy_check_mark: | N/A | +| `endpoint` | *string* | :heavy_check_mark: | N/A | +| `encoding` | [models.GetDrainsDeliveryEncoding](../models/getdrainsdeliveryencoding.md) | :heavy_check_mark: | N/A | +| `compression` | [models.GetDrainsDeliveryCompression](../models/getdrainsdeliverycompression.md) | :heavy_minus_sign: | N/A | +| `headers` | Record | :heavy_check_mark: | N/A | +| `secret` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getdrainsdelivery2.md b/docs/models/getdrainsdelivery2.md new file mode 100644 index 000000000..c2f9678f5 --- /dev/null +++ b/docs/models/getdrainsdelivery2.md @@ -0,0 +1,30 @@ +# GetDrainsDelivery2 + +## Example Usage + +```typescript +import { GetDrainsDelivery2 } from "@vercel/sdk/models/getdrainsop.js"; + +let value: GetDrainsDelivery2 = { + type: "otlphttp", + endpoint: { + traces: "", + }, + encoding: "proto", + headers: { + "key": "", + "key1": "", + "key2": "", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `type` | [models.GetDrainsDeliveryDrainsType](../models/getdrainsdeliverydrainstype.md) | :heavy_check_mark: | N/A | +| `endpoint` | [models.GetDrainsDeliveryEndpoint](../models/getdrainsdeliveryendpoint.md) | :heavy_check_mark: | N/A | +| `encoding` | [models.GetDrainsDeliveryDrainsEncoding](../models/getdrainsdeliverydrainsencoding.md) | :heavy_check_mark: | N/A | +| `headers` | Record | :heavy_check_mark: | N/A | +| `secret` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getdrainsdelivery3.md b/docs/models/getdrainsdelivery3.md new file mode 100644 index 000000000..3cfa10b84 --- /dev/null +++ b/docs/models/getdrainsdelivery3.md @@ -0,0 +1,21 @@ +# GetDrainsDelivery3 + +## Example Usage + +```typescript +import { GetDrainsDelivery3 } from "@vercel/sdk/models/getdrainsop.js"; + +let value: GetDrainsDelivery3 = { + type: "clickhouse", + endpoint: "", + table: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `type` | [models.GetDrainsDeliveryDrainsResponseType](../models/getdrainsdeliverydrainsresponsetype.md) | :heavy_check_mark: | N/A | +| `endpoint` | *string* | :heavy_check_mark: | N/A | +| `table` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getdrainsdelivery4.md b/docs/models/getdrainsdelivery4.md new file mode 100644 index 000000000..bc3a2677f --- /dev/null +++ b/docs/models/getdrainsdelivery4.md @@ -0,0 +1,19 @@ +# GetDrainsDelivery4 + +## Example Usage + +```typescript +import { GetDrainsDelivery4 } from "@vercel/sdk/models/getdrainsop.js"; + +let value: GetDrainsDelivery4 = { + type: "internal", + target: "vercel-otel-traces-db", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | +| `type` | [models.GetDrainsDeliveryDrainsResponse200Type](../models/getdrainsdeliverydrainsresponse200type.md) | :heavy_check_mark: | N/A | +| `target` | [models.GetDrainsDeliveryTarget](../models/getdrainsdeliverytarget.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getdrainsdeliverycompression.md b/docs/models/getdrainsdeliverycompression.md new file mode 100644 index 000000000..c2f810976 --- /dev/null +++ b/docs/models/getdrainsdeliverycompression.md @@ -0,0 +1,15 @@ +# GetDrainsDeliveryCompression + +## Example Usage + +```typescript +import { GetDrainsDeliveryCompression } from "@vercel/sdk/models/getdrainsop.js"; + +let value: GetDrainsDeliveryCompression = "gzip"; +``` + +## Values + +```typescript +"gzip" | "none" +``` \ No newline at end of file diff --git a/docs/models/getdrainsdeliverydrains1.md b/docs/models/getdrainsdeliverydrains1.md new file mode 100644 index 000000000..6424541b2 --- /dev/null +++ b/docs/models/getdrainsdeliverydrains1.md @@ -0,0 +1,25 @@ +# GetDrainsDeliveryDrains1 + +## Example Usage + +```typescript +import { GetDrainsDeliveryDrains1 } from "@vercel/sdk/models/getdrainsop.js"; + +let value: GetDrainsDeliveryDrains1 = { + type: "http", + endpoint: "", + encoding: "json", + headers: {}, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.GetDrainsDeliveryDrainsResponse200ApplicationJSONType](../models/getdrainsdeliverydrainsresponse200applicationjsontype.md) | :heavy_check_mark: | N/A | +| `endpoint` | *string* | :heavy_check_mark: | N/A | +| `encoding` | [models.GetDrainsDeliveryDrainsResponseEncoding](../models/getdrainsdeliverydrainsresponseencoding.md) | :heavy_check_mark: | N/A | +| `compression` | [models.GetDrainsDeliveryDrainsCompression](../models/getdrainsdeliverydrainscompression.md) | :heavy_minus_sign: | N/A | +| `headers` | Record | :heavy_check_mark: | N/A | +| `secret` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getdrainsdeliverydrains2.md b/docs/models/getdrainsdeliverydrains2.md new file mode 100644 index 000000000..c1611c717 --- /dev/null +++ b/docs/models/getdrainsdeliverydrains2.md @@ -0,0 +1,26 @@ +# GetDrainsDeliveryDrains2 + +## Example Usage + +```typescript +import { GetDrainsDeliveryDrains2 } from "@vercel/sdk/models/getdrainsop.js"; + +let value: GetDrainsDeliveryDrains2 = { + type: "otlphttp", + endpoint: { + traces: "", + }, + encoding: "json", + headers: {}, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyType](../models/getdrainsdeliverydrainsresponse200applicationjsonresponsebodytype.md) | :heavy_check_mark: | N/A | +| `endpoint` | [models.GetDrainsDeliveryDrainsEndpoint](../models/getdrainsdeliverydrainsendpoint.md) | :heavy_check_mark: | N/A | +| `encoding` | [models.GetDrainsDeliveryDrainsResponse200Encoding](../models/getdrainsdeliverydrainsresponse200encoding.md) | :heavy_check_mark: | N/A | +| `headers` | Record | :heavy_check_mark: | N/A | +| `secret` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getdrainsdeliverydrains3.md b/docs/models/getdrainsdeliverydrains3.md new file mode 100644 index 000000000..f235d68e2 --- /dev/null +++ b/docs/models/getdrainsdeliverydrains3.md @@ -0,0 +1,21 @@ +# GetDrainsDeliveryDrains3 + +## Example Usage + +```typescript +import { GetDrainsDeliveryDrains3 } from "@vercel/sdk/models/getdrainsop.js"; + +let value: GetDrainsDeliveryDrains3 = { + type: "clickhouse", + endpoint: "", + table: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyDrainsType](../models/getdrainsdeliverydrainsresponse200applicationjsonresponsebodydrainstype.md) | :heavy_check_mark: | N/A | +| `endpoint` | *string* | :heavy_check_mark: | N/A | +| `table` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getdrainsdeliverydrains4.md b/docs/models/getdrainsdeliverydrains4.md new file mode 100644 index 000000000..abd3a1a23 --- /dev/null +++ b/docs/models/getdrainsdeliverydrains4.md @@ -0,0 +1,19 @@ +# GetDrainsDeliveryDrains4 + +## Example Usage + +```typescript +import { GetDrainsDeliveryDrains4 } from "@vercel/sdk/models/getdrainsop.js"; + +let value: GetDrainsDeliveryDrains4 = { + type: "internal", + target: "vercel-otel-traces-db", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyDrains2Type](../models/getdrainsdeliverydrainsresponse200applicationjsonresponsebodydrains2type.md) | :heavy_check_mark: | N/A | +| `target` | [models.GetDrainsDeliveryDrainsTarget](../models/getdrainsdeliverydrainstarget.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getdrainsdeliverydrainscompression.md b/docs/models/getdrainsdeliverydrainscompression.md new file mode 100644 index 000000000..55e67e10a --- /dev/null +++ b/docs/models/getdrainsdeliverydrainscompression.md @@ -0,0 +1,15 @@ +# GetDrainsDeliveryDrainsCompression + +## Example Usage + +```typescript +import { GetDrainsDeliveryDrainsCompression } from "@vercel/sdk/models/getdrainsop.js"; + +let value: GetDrainsDeliveryDrainsCompression = "none"; +``` + +## Values + +```typescript +"gzip" | "none" +``` \ No newline at end of file diff --git a/docs/models/getdrainsdeliverydrainsencoding.md b/docs/models/getdrainsdeliverydrainsencoding.md new file mode 100644 index 000000000..62a4d3fce --- /dev/null +++ b/docs/models/getdrainsdeliverydrainsencoding.md @@ -0,0 +1,15 @@ +# GetDrainsDeliveryDrainsEncoding + +## Example Usage + +```typescript +import { GetDrainsDeliveryDrainsEncoding } from "@vercel/sdk/models/getdrainsop.js"; + +let value: GetDrainsDeliveryDrainsEncoding = "json"; +``` + +## Values + +```typescript +"json" | "proto" +``` \ No newline at end of file diff --git a/docs/models/getdrainsdeliverydrainsendpoint.md b/docs/models/getdrainsdeliverydrainsendpoint.md new file mode 100644 index 000000000..550857b67 --- /dev/null +++ b/docs/models/getdrainsdeliverydrainsendpoint.md @@ -0,0 +1,17 @@ +# GetDrainsDeliveryDrainsEndpoint + +## Example Usage + +```typescript +import { GetDrainsDeliveryDrainsEndpoint } from "@vercel/sdk/models/getdrainsop.js"; + +let value: GetDrainsDeliveryDrainsEndpoint = { + traces: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `traces` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getdrainsdeliverydrainsresponse200applicationjsonresponsebodydrains2type.md b/docs/models/getdrainsdeliverydrainsresponse200applicationjsonresponsebodydrains2type.md new file mode 100644 index 000000000..bf262f965 --- /dev/null +++ b/docs/models/getdrainsdeliverydrainsresponse200applicationjsonresponsebodydrains2type.md @@ -0,0 +1,17 @@ +# GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyDrains2Type + +## Example Usage + +```typescript +import { GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyDrains2Type } from "@vercel/sdk/models/getdrainsop.js"; + +let value: + GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyDrains2Type = + "internal"; +``` + +## Values + +```typescript +"internal" +``` \ No newline at end of file diff --git a/docs/models/getdrainsdeliverydrainsresponse200applicationjsonresponsebodydrainstype.md b/docs/models/getdrainsdeliverydrainsresponse200applicationjsonresponsebodydrainstype.md new file mode 100644 index 000000000..53a3b69b6 --- /dev/null +++ b/docs/models/getdrainsdeliverydrainsresponse200applicationjsonresponsebodydrainstype.md @@ -0,0 +1,17 @@ +# GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyDrainsType + +## Example Usage + +```typescript +import { GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyDrainsType } from "@vercel/sdk/models/getdrainsop.js"; + +let value: + GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyDrainsType = + "clickhouse"; +``` + +## Values + +```typescript +"clickhouse" +``` \ No newline at end of file diff --git a/docs/models/getdrainsdeliverydrainsresponse200applicationjsonresponsebodytype.md b/docs/models/getdrainsdeliverydrainsresponse200applicationjsonresponsebodytype.md new file mode 100644 index 000000000..13693dde1 --- /dev/null +++ b/docs/models/getdrainsdeliverydrainsresponse200applicationjsonresponsebodytype.md @@ -0,0 +1,16 @@ +# GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyType + +## Example Usage + +```typescript +import { GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyType } from "@vercel/sdk/models/getdrainsop.js"; + +let value: GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyType = + "otlphttp"; +``` + +## Values + +```typescript +"otlphttp" +``` \ No newline at end of file diff --git a/docs/models/getdrainsdeliverydrainsresponse200applicationjsontype.md b/docs/models/getdrainsdeliverydrainsresponse200applicationjsontype.md new file mode 100644 index 000000000..2d503fa17 --- /dev/null +++ b/docs/models/getdrainsdeliverydrainsresponse200applicationjsontype.md @@ -0,0 +1,15 @@ +# GetDrainsDeliveryDrainsResponse200ApplicationJSONType + +## Example Usage + +```typescript +import { GetDrainsDeliveryDrainsResponse200ApplicationJSONType } from "@vercel/sdk/models/getdrainsop.js"; + +let value: GetDrainsDeliveryDrainsResponse200ApplicationJSONType = "http"; +``` + +## Values + +```typescript +"http" +``` \ No newline at end of file diff --git a/docs/models/getdrainsdeliverydrainsresponse200encoding.md b/docs/models/getdrainsdeliverydrainsresponse200encoding.md new file mode 100644 index 000000000..d20546cd5 --- /dev/null +++ b/docs/models/getdrainsdeliverydrainsresponse200encoding.md @@ -0,0 +1,15 @@ +# GetDrainsDeliveryDrainsResponse200Encoding + +## Example Usage + +```typescript +import { GetDrainsDeliveryDrainsResponse200Encoding } from "@vercel/sdk/models/getdrainsop.js"; + +let value: GetDrainsDeliveryDrainsResponse200Encoding = "json"; +``` + +## Values + +```typescript +"json" | "proto" +``` \ No newline at end of file diff --git a/docs/models/getdrainsdeliverydrainsresponse200type.md b/docs/models/getdrainsdeliverydrainsresponse200type.md new file mode 100644 index 000000000..24e46d29f --- /dev/null +++ b/docs/models/getdrainsdeliverydrainsresponse200type.md @@ -0,0 +1,15 @@ +# GetDrainsDeliveryDrainsResponse200Type + +## Example Usage + +```typescript +import { GetDrainsDeliveryDrainsResponse200Type } from "@vercel/sdk/models/getdrainsop.js"; + +let value: GetDrainsDeliveryDrainsResponse200Type = "internal"; +``` + +## Values + +```typescript +"internal" +``` \ No newline at end of file diff --git a/docs/models/getdrainsdeliverydrainsresponseencoding.md b/docs/models/getdrainsdeliverydrainsresponseencoding.md new file mode 100644 index 000000000..ee3273d82 --- /dev/null +++ b/docs/models/getdrainsdeliverydrainsresponseencoding.md @@ -0,0 +1,15 @@ +# GetDrainsDeliveryDrainsResponseEncoding + +## Example Usage + +```typescript +import { GetDrainsDeliveryDrainsResponseEncoding } from "@vercel/sdk/models/getdrainsop.js"; + +let value: GetDrainsDeliveryDrainsResponseEncoding = "json"; +``` + +## Values + +```typescript +"json" | "ndjson" +``` \ No newline at end of file diff --git a/docs/models/getdrainsdeliverydrainsresponsetype.md b/docs/models/getdrainsdeliverydrainsresponsetype.md new file mode 100644 index 000000000..7ecc92211 --- /dev/null +++ b/docs/models/getdrainsdeliverydrainsresponsetype.md @@ -0,0 +1,15 @@ +# GetDrainsDeliveryDrainsResponseType + +## Example Usage + +```typescript +import { GetDrainsDeliveryDrainsResponseType } from "@vercel/sdk/models/getdrainsop.js"; + +let value: GetDrainsDeliveryDrainsResponseType = "clickhouse"; +``` + +## Values + +```typescript +"clickhouse" +``` \ No newline at end of file diff --git a/docs/models/getdrainsdeliverydrainstarget.md b/docs/models/getdrainsdeliverydrainstarget.md new file mode 100644 index 000000000..dfa3f6626 --- /dev/null +++ b/docs/models/getdrainsdeliverydrainstarget.md @@ -0,0 +1,15 @@ +# GetDrainsDeliveryDrainsTarget + +## Example Usage + +```typescript +import { GetDrainsDeliveryDrainsTarget } from "@vercel/sdk/models/getdrainsop.js"; + +let value: GetDrainsDeliveryDrainsTarget = "vercel-otel-traces-db"; +``` + +## Values + +```typescript +"vercel-otel-traces-db" +``` \ No newline at end of file diff --git a/docs/models/getdrainsdeliverydrainstype.md b/docs/models/getdrainsdeliverydrainstype.md new file mode 100644 index 000000000..7d088f232 --- /dev/null +++ b/docs/models/getdrainsdeliverydrainstype.md @@ -0,0 +1,15 @@ +# GetDrainsDeliveryDrainsType + +## Example Usage + +```typescript +import { GetDrainsDeliveryDrainsType } from "@vercel/sdk/models/getdrainsop.js"; + +let value: GetDrainsDeliveryDrainsType = "otlphttp"; +``` + +## Values + +```typescript +"otlphttp" +``` \ No newline at end of file diff --git a/docs/models/getdrainsdeliveryencoding.md b/docs/models/getdrainsdeliveryencoding.md new file mode 100644 index 000000000..1210358e4 --- /dev/null +++ b/docs/models/getdrainsdeliveryencoding.md @@ -0,0 +1,15 @@ +# GetDrainsDeliveryEncoding + +## Example Usage + +```typescript +import { GetDrainsDeliveryEncoding } from "@vercel/sdk/models/getdrainsop.js"; + +let value: GetDrainsDeliveryEncoding = "ndjson"; +``` + +## Values + +```typescript +"json" | "ndjson" +``` \ No newline at end of file diff --git a/docs/models/getdrainsdeliveryendpoint.md b/docs/models/getdrainsdeliveryendpoint.md new file mode 100644 index 000000000..87eb6cbe9 --- /dev/null +++ b/docs/models/getdrainsdeliveryendpoint.md @@ -0,0 +1,17 @@ +# GetDrainsDeliveryEndpoint + +## Example Usage + +```typescript +import { GetDrainsDeliveryEndpoint } from "@vercel/sdk/models/getdrainsop.js"; + +let value: GetDrainsDeliveryEndpoint = { + traces: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `traces` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getdrainsdeliverytarget.md b/docs/models/getdrainsdeliverytarget.md new file mode 100644 index 000000000..926cfd687 --- /dev/null +++ b/docs/models/getdrainsdeliverytarget.md @@ -0,0 +1,15 @@ +# GetDrainsDeliveryTarget + +## Example Usage + +```typescript +import { GetDrainsDeliveryTarget } from "@vercel/sdk/models/getdrainsop.js"; + +let value: GetDrainsDeliveryTarget = "vercel-otel-traces-db"; +``` + +## Values + +```typescript +"vercel-otel-traces-db" +``` \ No newline at end of file diff --git a/docs/models/getdrainsdeliverytype.md b/docs/models/getdrainsdeliverytype.md new file mode 100644 index 000000000..726612240 --- /dev/null +++ b/docs/models/getdrainsdeliverytype.md @@ -0,0 +1,15 @@ +# GetDrainsDeliveryType + +## Example Usage + +```typescript +import { GetDrainsDeliveryType } from "@vercel/sdk/models/getdrainsop.js"; + +let value: GetDrainsDeliveryType = "http"; +``` + +## Values + +```typescript +"http" +``` \ No newline at end of file diff --git a/docs/models/getdrainsdrainsanalytics.md b/docs/models/getdrainsdrainsanalytics.md new file mode 100644 index 000000000..6fd6c1327 --- /dev/null +++ b/docs/models/getdrainsdrainsanalytics.md @@ -0,0 +1,14 @@ +# GetDrainsDrainsAnalytics + +## Example Usage + +```typescript +import { GetDrainsDrainsAnalytics } from "@vercel/sdk/models/getdrainsop.js"; + +let value: GetDrainsDrainsAnalytics = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/getdrainsdrainscreatedfrom.md b/docs/models/getdrainsdrainscreatedfrom.md new file mode 100644 index 000000000..dd1d2361b --- /dev/null +++ b/docs/models/getdrainsdrainscreatedfrom.md @@ -0,0 +1,15 @@ +# GetDrainsDrainsCreatedFrom + +## Example Usage + +```typescript +import { GetDrainsDrainsCreatedFrom } from "@vercel/sdk/models/getdrainsop.js"; + +let value: GetDrainsDrainsCreatedFrom = "self-served"; +``` + +## Values + +```typescript +"self-served" | "integration" +``` \ No newline at end of file diff --git a/docs/models/getdrainsdrainsdelivery.md b/docs/models/getdrainsdrainsdelivery.md new file mode 100644 index 000000000..4e989b693 --- /dev/null +++ b/docs/models/getdrainsdrainsdelivery.md @@ -0,0 +1,48 @@ +# GetDrainsDrainsDelivery + + +## Supported Types + +### `models.GetDrainsDeliveryDrains1` + +```typescript +const value: models.GetDrainsDeliveryDrains1 = { + type: "http", + endpoint: "", + encoding: "json", + headers: {}, +}; +``` + +### `models.GetDrainsDeliveryDrains2` + +```typescript +const value: models.GetDrainsDeliveryDrains2 = { + type: "otlphttp", + endpoint: { + traces: "", + }, + encoding: "json", + headers: {}, +}; +``` + +### `models.GetDrainsDeliveryDrains3` + +```typescript +const value: models.GetDrainsDeliveryDrains3 = { + type: "clickhouse", + endpoint: "", + table: "", +}; +``` + +### `models.GetDrainsDeliveryDrains4` + +```typescript +const value: models.GetDrainsDeliveryDrains4 = { + type: "internal", + target: "vercel-otel-traces-db", +}; +``` + diff --git a/docs/models/getdrainsdrainsdisabledreason.md b/docs/models/getdrainsdrainsdisabledreason.md new file mode 100644 index 000000000..eb7ea7007 --- /dev/null +++ b/docs/models/getdrainsdrainsdisabledreason.md @@ -0,0 +1,15 @@ +# GetDrainsDrainsDisabledReason + +## Example Usage + +```typescript +import { GetDrainsDrainsDisabledReason } from "@vercel/sdk/models/getdrainsop.js"; + +let value: GetDrainsDrainsDisabledReason = "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/getdrainsdrainsenv.md b/docs/models/getdrainsdrainsenv.md new file mode 100644 index 000000000..e4bebef2a --- /dev/null +++ b/docs/models/getdrainsdrainsenv.md @@ -0,0 +1,15 @@ +# GetDrainsDrainsEnv + +## Example Usage + +```typescript +import { GetDrainsDrainsEnv } from "@vercel/sdk/models/getdrainsop.js"; + +let value: GetDrainsDrainsEnv = "preview"; +``` + +## Values + +```typescript +"production" | "preview" +``` \ No newline at end of file diff --git a/docs/models/getdrainsdrainsfilterv2.md b/docs/models/getdrainsdrainsfilterv2.md new file mode 100644 index 000000000..93dee7336 --- /dev/null +++ b/docs/models/getdrainsdrainsfilterv2.md @@ -0,0 +1,25 @@ +# GetDrainsDrainsFilterV2 + + +## Supported Types + +### `models.GetDrainsFilterV2Drains1` + +```typescript +const value: models.GetDrainsFilterV2Drains1 = { + version: "v1", +}; +``` + +### `models.GetDrainsFilterV2Drains2` + +```typescript +const value: models.GetDrainsFilterV2Drains2 = { + version: "v2", + filter: { + type: "odata", + text: "", + }, +}; +``` + diff --git a/docs/models/getdrainsdrainslog.md b/docs/models/getdrainsdrainslog.md new file mode 100644 index 000000000..978540f6b --- /dev/null +++ b/docs/models/getdrainsdrainslog.md @@ -0,0 +1,14 @@ +# GetDrainsDrainsLog + +## Example Usage + +```typescript +import { GetDrainsDrainsLog } from "@vercel/sdk/models/getdrainsop.js"; + +let value: GetDrainsDrainsLog = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/getdrainsdrainssampling.md b/docs/models/getdrainsdrainssampling.md new file mode 100644 index 000000000..6a72fac20 --- /dev/null +++ b/docs/models/getdrainsdrainssampling.md @@ -0,0 +1,21 @@ +# GetDrainsDrainsSampling + +## Example Usage + +```typescript +import { GetDrainsDrainsSampling } from "@vercel/sdk/models/getdrainsop.js"; + +let value: GetDrainsDrainsSampling = { + type: "head_sampling", + rate: 2275.47, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | +| `type` | [models.GetDrainsDrainsType](../models/getdrainsdrainstype.md) | :heavy_check_mark: | N/A | +| `rate` | *number* | :heavy_check_mark: | N/A | +| `env` | [models.GetDrainsDrainsEnv](../models/getdrainsdrainsenv.md) | :heavy_minus_sign: | N/A | +| `requestPath` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getdrainsdrainsschemas.md b/docs/models/getdrainsdrainsschemas.md new file mode 100644 index 000000000..d55b17a37 --- /dev/null +++ b/docs/models/getdrainsdrainsschemas.md @@ -0,0 +1,18 @@ +# GetDrainsDrainsSchemas + +## Example Usage + +```typescript +import { GetDrainsDrainsSchemas } from "@vercel/sdk/models/getdrainsop.js"; + +let value: GetDrainsDrainsSchemas = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `log` | [models.GetDrainsDrainsLog](../models/getdrainsdrainslog.md) | :heavy_minus_sign: | N/A | +| `trace` | [models.GetDrainsDrainsTrace](../models/getdrainsdrainstrace.md) | :heavy_minus_sign: | N/A | +| `analytics` | [models.GetDrainsDrainsAnalytics](../models/getdrainsdrainsanalytics.md) | :heavy_minus_sign: | N/A | +| `speedInsights` | [models.GetDrainsDrainsSpeedInsights](../models/getdrainsdrainsspeedinsights.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getdrainsdrainssource.md b/docs/models/getdrainsdrainssource.md new file mode 100644 index 000000000..ad96ca3ef --- /dev/null +++ b/docs/models/getdrainsdrainssource.md @@ -0,0 +1,23 @@ +# GetDrainsDrainsSource + + +## Supported Types + +### `models.GetDrainsSourceDrains1` + +```typescript +const value: models.GetDrainsSourceDrains1 = { + kind: "self-served", +}; +``` + +### `models.GetDrainsSourceDrains2` + +```typescript +const value: models.GetDrainsSourceDrains2 = { + kind: "integration", + integrationId: "", + integrationConfigurationId: "", +}; +``` + diff --git a/docs/models/getdrainsdrainsspeedinsights.md b/docs/models/getdrainsdrainsspeedinsights.md new file mode 100644 index 000000000..b095a28fe --- /dev/null +++ b/docs/models/getdrainsdrainsspeedinsights.md @@ -0,0 +1,14 @@ +# GetDrainsDrainsSpeedInsights + +## Example Usage + +```typescript +import { GetDrainsDrainsSpeedInsights } from "@vercel/sdk/models/getdrainsop.js"; + +let value: GetDrainsDrainsSpeedInsights = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/getdrainsdrainsstatus.md b/docs/models/getdrainsdrainsstatus.md new file mode 100644 index 000000000..e4d842152 --- /dev/null +++ b/docs/models/getdrainsdrainsstatus.md @@ -0,0 +1,15 @@ +# GetDrainsDrainsStatus + +## Example Usage + +```typescript +import { GetDrainsDrainsStatus } from "@vercel/sdk/models/getdrainsop.js"; + +let value: GetDrainsDrainsStatus = "errored"; +``` + +## Values + +```typescript +"enabled" | "disabled" | "errored" +``` \ No newline at end of file diff --git a/docs/models/getdrainsdrainstrace.md b/docs/models/getdrainsdrainstrace.md new file mode 100644 index 000000000..f477e6877 --- /dev/null +++ b/docs/models/getdrainsdrainstrace.md @@ -0,0 +1,14 @@ +# GetDrainsDrainsTrace + +## Example Usage + +```typescript +import { GetDrainsDrainsTrace } from "@vercel/sdk/models/getdrainsop.js"; + +let value: GetDrainsDrainsTrace = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/getdrainsdrainstype.md b/docs/models/getdrainsdrainstype.md new file mode 100644 index 000000000..082de3dc6 --- /dev/null +++ b/docs/models/getdrainsdrainstype.md @@ -0,0 +1,15 @@ +# GetDrainsDrainsType + +## Example Usage + +```typescript +import { GetDrainsDrainsType } from "@vercel/sdk/models/getdrainsop.js"; + +let value: GetDrainsDrainsType = "head_sampling"; +``` + +## Values + +```typescript +"head_sampling" +``` \ No newline at end of file diff --git a/docs/models/getdrainsfilter1.md b/docs/models/getdrainsfilter1.md new file mode 100644 index 000000000..decc5f4ea --- /dev/null +++ b/docs/models/getdrainsfilter1.md @@ -0,0 +1,20 @@ +# GetDrainsFilter1 + +## Example Usage + +```typescript +import { GetDrainsFilter1 } from "@vercel/sdk/models/getdrainsop.js"; + +let value: GetDrainsFilter1 = { + type: "basic", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `type` | [models.GetDrainsFilterType](../models/getdrainsfiltertype.md) | :heavy_check_mark: | N/A | +| `project` | [models.GetDrainsFilterProject](../models/getdrainsfilterproject.md) | :heavy_minus_sign: | N/A | +| `log` | [models.GetDrainsFilterLog](../models/getdrainsfilterlog.md) | :heavy_minus_sign: | N/A | +| `deployment` | [models.GetDrainsFilterDeployment](../models/getdrainsfilterdeployment.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getdrainsfilter2.md b/docs/models/getdrainsfilter2.md new file mode 100644 index 000000000..86d13d803 --- /dev/null +++ b/docs/models/getdrainsfilter2.md @@ -0,0 +1,19 @@ +# GetDrainsFilter2 + +## Example Usage + +```typescript +import { GetDrainsFilter2 } from "@vercel/sdk/models/getdrainsop.js"; + +let value: GetDrainsFilter2 = { + type: "odata", + text: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `type` | [models.GetDrainsFilterDrainsType](../models/getdrainsfilterdrainstype.md) | :heavy_check_mark: | N/A | +| `text` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getdrainsfilterdeployment.md b/docs/models/getdrainsfilterdeployment.md new file mode 100644 index 000000000..9662aaa3d --- /dev/null +++ b/docs/models/getdrainsfilterdeployment.md @@ -0,0 +1,15 @@ +# GetDrainsFilterDeployment + +## Example Usage + +```typescript +import { GetDrainsFilterDeployment } from "@vercel/sdk/models/getdrainsop.js"; + +let value: GetDrainsFilterDeployment = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `environments` | [models.GetDrainsFilterEnvironments](../models/getdrainsfilterenvironments.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getdrainsfilterdrains1.md b/docs/models/getdrainsfilterdrains1.md new file mode 100644 index 000000000..960ff4175 --- /dev/null +++ b/docs/models/getdrainsfilterdrains1.md @@ -0,0 +1,20 @@ +# GetDrainsFilterDrains1 + +## Example Usage + +```typescript +import { GetDrainsFilterDrains1 } from "@vercel/sdk/models/getdrainsop.js"; + +let value: GetDrainsFilterDrains1 = { + type: "basic", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `type` | [models.GetDrainsFilterDrainsResponseType](../models/getdrainsfilterdrainsresponsetype.md) | :heavy_check_mark: | N/A | +| `project` | [models.GetDrainsFilterDrainsProject](../models/getdrainsfilterdrainsproject.md) | :heavy_minus_sign: | N/A | +| `log` | [models.GetDrainsFilterDrainsLog](../models/getdrainsfilterdrainslog.md) | :heavy_minus_sign: | N/A | +| `deployment` | [models.GetDrainsFilterDrainsDeployment](../models/getdrainsfilterdrainsdeployment.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getdrainsfilterdrains2.md b/docs/models/getdrainsfilterdrains2.md new file mode 100644 index 000000000..977009ef3 --- /dev/null +++ b/docs/models/getdrainsfilterdrains2.md @@ -0,0 +1,19 @@ +# GetDrainsFilterDrains2 + +## Example Usage + +```typescript +import { GetDrainsFilterDrains2 } from "@vercel/sdk/models/getdrainsop.js"; + +let value: GetDrainsFilterDrains2 = { + type: "odata", + text: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | +| `type` | [models.GetDrainsFilterDrainsResponse200Type](../models/getdrainsfilterdrainsresponse200type.md) | :heavy_check_mark: | N/A | +| `text` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getdrainsfilterdrainsdeployment.md b/docs/models/getdrainsfilterdrainsdeployment.md new file mode 100644 index 000000000..dcbab3830 --- /dev/null +++ b/docs/models/getdrainsfilterdrainsdeployment.md @@ -0,0 +1,15 @@ +# GetDrainsFilterDrainsDeployment + +## Example Usage + +```typescript +import { GetDrainsFilterDrainsDeployment } from "@vercel/sdk/models/getdrainsop.js"; + +let value: GetDrainsFilterDrainsDeployment = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `environments` | [models.GetDrainsFilterDrainsEnvironments](../models/getdrainsfilterdrainsenvironments.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getdrainsfilterdrainsenvironments.md b/docs/models/getdrainsfilterdrainsenvironments.md new file mode 100644 index 000000000..69ecf3379 --- /dev/null +++ b/docs/models/getdrainsfilterdrainsenvironments.md @@ -0,0 +1,15 @@ +# GetDrainsFilterDrainsEnvironments + +## Example Usage + +```typescript +import { GetDrainsFilterDrainsEnvironments } from "@vercel/sdk/models/getdrainsop.js"; + +let value: GetDrainsFilterDrainsEnvironments = "production"; +``` + +## Values + +```typescript +"production" | "preview" +``` \ No newline at end of file diff --git a/docs/models/getdrainsfilterdrainslog.md b/docs/models/getdrainsfilterdrainslog.md new file mode 100644 index 000000000..16905aca0 --- /dev/null +++ b/docs/models/getdrainsfilterdrainslog.md @@ -0,0 +1,16 @@ +# GetDrainsFilterDrainsLog + +## Example Usage + +```typescript +import { GetDrainsFilterDrainsLog } from "@vercel/sdk/models/getdrainsop.js"; + +let value: GetDrainsFilterDrainsLog = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `sources` | [models.GetDrainsFilterDrainsSources](../models/getdrainsfilterdrainssources.md)[] | :heavy_minus_sign: | N/A | +| `legacyExcludeCachedStaticAssetLogs` | *boolean* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getdrainsfilterdrainsproject.md b/docs/models/getdrainsfilterdrainsproject.md new file mode 100644 index 000000000..4910fd3df --- /dev/null +++ b/docs/models/getdrainsfilterdrainsproject.md @@ -0,0 +1,15 @@ +# GetDrainsFilterDrainsProject + +## Example Usage + +```typescript +import { GetDrainsFilterDrainsProject } from "@vercel/sdk/models/getdrainsop.js"; + +let value: GetDrainsFilterDrainsProject = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `ids` | *string*[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getdrainsfilterdrainsresponse200type.md b/docs/models/getdrainsfilterdrainsresponse200type.md new file mode 100644 index 000000000..1b8ddc6d5 --- /dev/null +++ b/docs/models/getdrainsfilterdrainsresponse200type.md @@ -0,0 +1,15 @@ +# GetDrainsFilterDrainsResponse200Type + +## Example Usage + +```typescript +import { GetDrainsFilterDrainsResponse200Type } from "@vercel/sdk/models/getdrainsop.js"; + +let value: GetDrainsFilterDrainsResponse200Type = "odata"; +``` + +## Values + +```typescript +"odata" +``` \ No newline at end of file diff --git a/docs/models/getdrainsfilterdrainsresponsetype.md b/docs/models/getdrainsfilterdrainsresponsetype.md new file mode 100644 index 000000000..d21006a02 --- /dev/null +++ b/docs/models/getdrainsfilterdrainsresponsetype.md @@ -0,0 +1,15 @@ +# GetDrainsFilterDrainsResponseType + +## Example Usage + +```typescript +import { GetDrainsFilterDrainsResponseType } from "@vercel/sdk/models/getdrainsop.js"; + +let value: GetDrainsFilterDrainsResponseType = "basic"; +``` + +## Values + +```typescript +"basic" +``` \ No newline at end of file diff --git a/docs/models/getdrainsfilterdrainssources.md b/docs/models/getdrainsfilterdrainssources.md new file mode 100644 index 000000000..70d62be12 --- /dev/null +++ b/docs/models/getdrainsfilterdrainssources.md @@ -0,0 +1,15 @@ +# GetDrainsFilterDrainsSources + +## Example Usage + +```typescript +import { GetDrainsFilterDrainsSources } from "@vercel/sdk/models/getdrainsop.js"; + +let value: GetDrainsFilterDrainsSources = "redirect"; +``` + +## Values + +```typescript +"build" | "edge" | "lambda" | "static" | "external" | "firewall" | "redirect" +``` \ No newline at end of file diff --git a/docs/models/getdrainsfilterdrainstype.md b/docs/models/getdrainsfilterdrainstype.md new file mode 100644 index 000000000..4443eb36a --- /dev/null +++ b/docs/models/getdrainsfilterdrainstype.md @@ -0,0 +1,15 @@ +# GetDrainsFilterDrainsType + +## Example Usage + +```typescript +import { GetDrainsFilterDrainsType } from "@vercel/sdk/models/getdrainsop.js"; + +let value: GetDrainsFilterDrainsType = "odata"; +``` + +## Values + +```typescript +"odata" +``` \ No newline at end of file diff --git a/docs/models/getdrainsfilterenvironments.md b/docs/models/getdrainsfilterenvironments.md new file mode 100644 index 000000000..b79437ebb --- /dev/null +++ b/docs/models/getdrainsfilterenvironments.md @@ -0,0 +1,15 @@ +# GetDrainsFilterEnvironments + +## Example Usage + +```typescript +import { GetDrainsFilterEnvironments } from "@vercel/sdk/models/getdrainsop.js"; + +let value: GetDrainsFilterEnvironments = "preview"; +``` + +## Values + +```typescript +"production" | "preview" +``` \ No newline at end of file diff --git a/docs/models/getdrainsfilterlog.md b/docs/models/getdrainsfilterlog.md new file mode 100644 index 000000000..209aff6b7 --- /dev/null +++ b/docs/models/getdrainsfilterlog.md @@ -0,0 +1,16 @@ +# GetDrainsFilterLog + +## Example Usage + +```typescript +import { GetDrainsFilterLog } from "@vercel/sdk/models/getdrainsop.js"; + +let value: GetDrainsFilterLog = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | +| `sources` | [models.GetDrainsFilterSources](../models/getdrainsfiltersources.md)[] | :heavy_minus_sign: | N/A | +| `legacyExcludeCachedStaticAssetLogs` | *boolean* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getdrainsfilterproject.md b/docs/models/getdrainsfilterproject.md new file mode 100644 index 000000000..31c4ef783 --- /dev/null +++ b/docs/models/getdrainsfilterproject.md @@ -0,0 +1,15 @@ +# GetDrainsFilterProject + +## Example Usage + +```typescript +import { GetDrainsFilterProject } from "@vercel/sdk/models/getdrainsop.js"; + +let value: GetDrainsFilterProject = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `ids` | *string*[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getdrainsfiltersources.md b/docs/models/getdrainsfiltersources.md new file mode 100644 index 000000000..5349d5738 --- /dev/null +++ b/docs/models/getdrainsfiltersources.md @@ -0,0 +1,15 @@ +# GetDrainsFilterSources + +## Example Usage + +```typescript +import { GetDrainsFilterSources } from "@vercel/sdk/models/getdrainsop.js"; + +let value: GetDrainsFilterSources = "static"; +``` + +## Values + +```typescript +"build" | "edge" | "lambda" | "static" | "external" | "firewall" | "redirect" +``` \ No newline at end of file diff --git a/docs/models/getdrainsfiltertype.md b/docs/models/getdrainsfiltertype.md new file mode 100644 index 000000000..1d60a55dd --- /dev/null +++ b/docs/models/getdrainsfiltertype.md @@ -0,0 +1,15 @@ +# GetDrainsFilterType + +## Example Usage + +```typescript +import { GetDrainsFilterType } from "@vercel/sdk/models/getdrainsop.js"; + +let value: GetDrainsFilterType = "basic"; +``` + +## Values + +```typescript +"basic" +``` \ No newline at end of file diff --git a/docs/models/getdrainsfilterv21.md b/docs/models/getdrainsfilterv21.md new file mode 100644 index 000000000..f67cbe0d5 --- /dev/null +++ b/docs/models/getdrainsfilterv21.md @@ -0,0 +1,17 @@ +# GetDrainsFilterV21 + +## Example Usage + +```typescript +import { GetDrainsFilterV21 } from "@vercel/sdk/models/getdrainsop.js"; + +let value: GetDrainsFilterV21 = { + version: "v1", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | +| `version` | [models.GetDrainsFilterV2Version](../models/getdrainsfilterv2version.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getdrainsfilterv22.md b/docs/models/getdrainsfilterv22.md new file mode 100644 index 000000000..4bc061ba7 --- /dev/null +++ b/docs/models/getdrainsfilterv22.md @@ -0,0 +1,21 @@ +# GetDrainsFilterV22 + +## Example Usage + +```typescript +import { GetDrainsFilterV22 } from "@vercel/sdk/models/getdrainsop.js"; + +let value: GetDrainsFilterV22 = { + version: "v2", + filter: { + type: "basic", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `version` | [models.GetDrainsFilterV2DrainsVersion](../models/getdrainsfilterv2drainsversion.md) | :heavy_check_mark: | N/A | +| `filter` | *models.GetDrainsFilterV2Filter* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getdrainsfilterv2drains1.md b/docs/models/getdrainsfilterv2drains1.md new file mode 100644 index 000000000..b9259e99f --- /dev/null +++ b/docs/models/getdrainsfilterv2drains1.md @@ -0,0 +1,17 @@ +# GetDrainsFilterV2Drains1 + +## Example Usage + +```typescript +import { GetDrainsFilterV2Drains1 } from "@vercel/sdk/models/getdrainsop.js"; + +let value: GetDrainsFilterV2Drains1 = { + version: "v1", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | +| `version` | [models.GetDrainsFilterV2DrainsResponseVersion](../models/getdrainsfilterv2drainsresponseversion.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getdrainsfilterv2drains2.md b/docs/models/getdrainsfilterv2drains2.md new file mode 100644 index 000000000..dcd060feb --- /dev/null +++ b/docs/models/getdrainsfilterv2drains2.md @@ -0,0 +1,22 @@ +# GetDrainsFilterV2Drains2 + +## Example Usage + +```typescript +import { GetDrainsFilterV2Drains2 } from "@vercel/sdk/models/getdrainsop.js"; + +let value: GetDrainsFilterV2Drains2 = { + version: "v2", + filter: { + type: "odata", + text: "", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | +| `version` | [models.GetDrainsFilterV2DrainsResponse200Version](../models/getdrainsfilterv2drainsresponse200version.md) | :heavy_check_mark: | N/A | +| `filter` | *models.GetDrainsFilterV2DrainsFilter* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getdrainsfilterv2drainsfilter.md b/docs/models/getdrainsfilterv2drainsfilter.md new file mode 100644 index 000000000..44e04545a --- /dev/null +++ b/docs/models/getdrainsfilterv2drainsfilter.md @@ -0,0 +1,22 @@ +# GetDrainsFilterV2DrainsFilter + + +## Supported Types + +### `models.GetDrainsFilterDrains1` + +```typescript +const value: models.GetDrainsFilterDrains1 = { + type: "basic", +}; +``` + +### `models.GetDrainsFilterDrains2` + +```typescript +const value: models.GetDrainsFilterDrains2 = { + type: "odata", + text: "", +}; +``` + diff --git a/docs/models/getdrainsfilterv2drainsresponse200version.md b/docs/models/getdrainsfilterv2drainsresponse200version.md new file mode 100644 index 000000000..90201d3ec --- /dev/null +++ b/docs/models/getdrainsfilterv2drainsresponse200version.md @@ -0,0 +1,15 @@ +# GetDrainsFilterV2DrainsResponse200Version + +## Example Usage + +```typescript +import { GetDrainsFilterV2DrainsResponse200Version } from "@vercel/sdk/models/getdrainsop.js"; + +let value: GetDrainsFilterV2DrainsResponse200Version = "v2"; +``` + +## Values + +```typescript +"v2" +``` \ No newline at end of file diff --git a/docs/models/getdrainsfilterv2drainsresponseversion.md b/docs/models/getdrainsfilterv2drainsresponseversion.md new file mode 100644 index 000000000..f935afb58 --- /dev/null +++ b/docs/models/getdrainsfilterv2drainsresponseversion.md @@ -0,0 +1,15 @@ +# GetDrainsFilterV2DrainsResponseVersion + +## Example Usage + +```typescript +import { GetDrainsFilterV2DrainsResponseVersion } from "@vercel/sdk/models/getdrainsop.js"; + +let value: GetDrainsFilterV2DrainsResponseVersion = "v1"; +``` + +## Values + +```typescript +"v1" +``` \ No newline at end of file diff --git a/docs/models/getdrainsfilterv2drainsversion.md b/docs/models/getdrainsfilterv2drainsversion.md new file mode 100644 index 000000000..46de4ca50 --- /dev/null +++ b/docs/models/getdrainsfilterv2drainsversion.md @@ -0,0 +1,15 @@ +# GetDrainsFilterV2DrainsVersion + +## Example Usage + +```typescript +import { GetDrainsFilterV2DrainsVersion } from "@vercel/sdk/models/getdrainsop.js"; + +let value: GetDrainsFilterV2DrainsVersion = "v2"; +``` + +## Values + +```typescript +"v2" +``` \ No newline at end of file diff --git a/docs/models/getdrainsfilterv2filter.md b/docs/models/getdrainsfilterv2filter.md new file mode 100644 index 000000000..60a123339 --- /dev/null +++ b/docs/models/getdrainsfilterv2filter.md @@ -0,0 +1,22 @@ +# GetDrainsFilterV2Filter + + +## Supported Types + +### `models.GetDrainsFilter1` + +```typescript +const value: models.GetDrainsFilter1 = { + type: "basic", +}; +``` + +### `models.GetDrainsFilter2` + +```typescript +const value: models.GetDrainsFilter2 = { + type: "odata", + text: "", +}; +``` + diff --git a/docs/models/getdrainsfilterv2version.md b/docs/models/getdrainsfilterv2version.md new file mode 100644 index 000000000..b0498facd --- /dev/null +++ b/docs/models/getdrainsfilterv2version.md @@ -0,0 +1,15 @@ +# GetDrainsFilterV2Version + +## Example Usage + +```typescript +import { GetDrainsFilterV2Version } from "@vercel/sdk/models/getdrainsop.js"; + +let value: GetDrainsFilterV2Version = "v1"; +``` + +## Values + +```typescript +"v1" +``` \ No newline at end of file diff --git a/docs/models/getdrainsource1.md b/docs/models/getdrainsource1.md new file mode 100644 index 000000000..999862e20 --- /dev/null +++ b/docs/models/getdrainsource1.md @@ -0,0 +1,17 @@ +# GetDrainSource1 + +## Example Usage + +```typescript +import { GetDrainSource1 } from "@vercel/sdk/models/getdrainop.js"; + +let value: GetDrainSource1 = { + kind: "self-served", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `kind` | [models.GetDrainSourceKind](../models/getdrainsourcekind.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getdrainsource2.md b/docs/models/getdrainsource2.md new file mode 100644 index 000000000..4ba605774 --- /dev/null +++ b/docs/models/getdrainsource2.md @@ -0,0 +1,23 @@ +# GetDrainSource2 + +## Example Usage + +```typescript +import { GetDrainSource2 } from "@vercel/sdk/models/getdrainop.js"; + +let value: GetDrainSource2 = { + kind: "integration", + integrationId: "", + integrationConfigurationId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | +| `kind` | [models.GetDrainSourceDrainsKind](../models/getdrainsourcedrainskind.md) | :heavy_check_mark: | N/A | +| `resourceId` | *string* | :heavy_minus_sign: | N/A | +| `externalResourceId` | *string* | :heavy_minus_sign: | N/A | +| `integrationId` | *string* | :heavy_check_mark: | N/A | +| `integrationConfigurationId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getdrainsourcedrains1.md b/docs/models/getdrainsourcedrains1.md new file mode 100644 index 000000000..cd1764284 --- /dev/null +++ b/docs/models/getdrainsourcedrains1.md @@ -0,0 +1,17 @@ +# GetDrainSourceDrains1 + +## Example Usage + +```typescript +import { GetDrainSourceDrains1 } from "@vercel/sdk/models/getdrainop.js"; + +let value: GetDrainSourceDrains1 = { + kind: "self-served", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `kind` | [models.GetDrainSourceDrainsResponseKind](../models/getdrainsourcedrainsresponsekind.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getdrainsourcedrains2.md b/docs/models/getdrainsourcedrains2.md new file mode 100644 index 000000000..6aa6cd31e --- /dev/null +++ b/docs/models/getdrainsourcedrains2.md @@ -0,0 +1,23 @@ +# GetDrainSourceDrains2 + +## Example Usage + +```typescript +import { GetDrainSourceDrains2 } from "@vercel/sdk/models/getdrainop.js"; + +let value: GetDrainSourceDrains2 = { + kind: "integration", + integrationId: "", + integrationConfigurationId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `kind` | [models.GetDrainSourceDrainsResponse200Kind](../models/getdrainsourcedrainsresponse200kind.md) | :heavy_check_mark: | N/A | +| `resourceId` | *string* | :heavy_minus_sign: | N/A | +| `externalResourceId` | *string* | :heavy_minus_sign: | N/A | +| `integrationId` | *string* | :heavy_check_mark: | N/A | +| `integrationConfigurationId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getdrainsourcedrainskind.md b/docs/models/getdrainsourcedrainskind.md new file mode 100644 index 000000000..8c4d1d7c2 --- /dev/null +++ b/docs/models/getdrainsourcedrainskind.md @@ -0,0 +1,15 @@ +# GetDrainSourceDrainsKind + +## Example Usage + +```typescript +import { GetDrainSourceDrainsKind } from "@vercel/sdk/models/getdrainop.js"; + +let value: GetDrainSourceDrainsKind = "integration"; +``` + +## Values + +```typescript +"integration" +``` \ No newline at end of file diff --git a/docs/models/getdrainsourcedrainsresponse200kind.md b/docs/models/getdrainsourcedrainsresponse200kind.md new file mode 100644 index 000000000..57eb40b7d --- /dev/null +++ b/docs/models/getdrainsourcedrainsresponse200kind.md @@ -0,0 +1,15 @@ +# GetDrainSourceDrainsResponse200Kind + +## Example Usage + +```typescript +import { GetDrainSourceDrainsResponse200Kind } from "@vercel/sdk/models/getdrainop.js"; + +let value: GetDrainSourceDrainsResponse200Kind = "integration"; +``` + +## Values + +```typescript +"integration" +``` \ No newline at end of file diff --git a/docs/models/getdrainsourcedrainsresponsekind.md b/docs/models/getdrainsourcedrainsresponsekind.md new file mode 100644 index 000000000..b4ef1807e --- /dev/null +++ b/docs/models/getdrainsourcedrainsresponsekind.md @@ -0,0 +1,15 @@ +# GetDrainSourceDrainsResponseKind + +## Example Usage + +```typescript +import { GetDrainSourceDrainsResponseKind } from "@vercel/sdk/models/getdrainop.js"; + +let value: GetDrainSourceDrainsResponseKind = "self-served"; +``` + +## Values + +```typescript +"self-served" +``` \ No newline at end of file diff --git a/docs/models/getdrainsourcekind.md b/docs/models/getdrainsourcekind.md new file mode 100644 index 000000000..7e317b83a --- /dev/null +++ b/docs/models/getdrainsourcekind.md @@ -0,0 +1,15 @@ +# GetDrainSourceKind + +## Example Usage + +```typescript +import { GetDrainSourceKind } from "@vercel/sdk/models/getdrainop.js"; + +let value: GetDrainSourceKind = "self-served"; +``` + +## Values + +```typescript +"self-served" +``` \ No newline at end of file diff --git a/docs/models/getdrainsrequest.md b/docs/models/getdrainsrequest.md new file mode 100644 index 000000000..8a11a29cb --- /dev/null +++ b/docs/models/getdrainsrequest.md @@ -0,0 +1,21 @@ +# GetDrainsRequest + +## Example Usage + +```typescript +import { GetDrainsRequest } from "@vercel/sdk/models/getdrainsop.js"; + +let value: GetDrainsRequest = { + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + slug: "my-team-url-slug", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | +| `projectId` | *string* | :heavy_minus_sign: | N/A | | +| `includeMetadata` | *boolean* | :heavy_minus_sign: | N/A | | +| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | team_1a2b3c4d5e6f7g8h9i0j1k2l | +| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | my-team-url-slug | \ No newline at end of file diff --git a/docs/models/getdrainsresponsebody.md b/docs/models/getdrainsresponsebody.md new file mode 100644 index 000000000..144abf81d --- /dev/null +++ b/docs/models/getdrainsresponsebody.md @@ -0,0 +1,30 @@ +# GetDrainsResponseBody + +## Example Usage + +```typescript +import { GetDrainsResponseBody } from "@vercel/sdk/models/getdrainsop.js"; + +let value: GetDrainsResponseBody = { + drains: [ + { + id: "", + ownerId: "", + name: "", + createdAt: 639.21, + updatedAt: 2576.2, + source: { + kind: "integration", + integrationId: "", + integrationConfigurationId: "", + }, + }, + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `drains` | *models.Drains* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getdrainssource1.md b/docs/models/getdrainssource1.md new file mode 100644 index 000000000..cd4088e46 --- /dev/null +++ b/docs/models/getdrainssource1.md @@ -0,0 +1,17 @@ +# GetDrainsSource1 + +## Example Usage + +```typescript +import { GetDrainsSource1 } from "@vercel/sdk/models/getdrainsop.js"; + +let value: GetDrainsSource1 = { + kind: "self-served", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | +| `kind` | [models.GetDrainsSourceKind](../models/getdrainssourcekind.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getdrainssource2.md b/docs/models/getdrainssource2.md new file mode 100644 index 000000000..3ea6e17d6 --- /dev/null +++ b/docs/models/getdrainssource2.md @@ -0,0 +1,23 @@ +# GetDrainsSource2 + +## Example Usage + +```typescript +import { GetDrainsSource2 } from "@vercel/sdk/models/getdrainsop.js"; + +let value: GetDrainsSource2 = { + kind: "integration", + integrationId: "", + integrationConfigurationId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `kind` | [models.GetDrainsSourceDrainsKind](../models/getdrainssourcedrainskind.md) | :heavy_check_mark: | N/A | +| `resourceId` | *string* | :heavy_minus_sign: | N/A | +| `externalResourceId` | *string* | :heavy_minus_sign: | N/A | +| `integrationId` | *string* | :heavy_check_mark: | N/A | +| `integrationConfigurationId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getdrainssourcedrains1.md b/docs/models/getdrainssourcedrains1.md new file mode 100644 index 000000000..59af0c774 --- /dev/null +++ b/docs/models/getdrainssourcedrains1.md @@ -0,0 +1,17 @@ +# GetDrainsSourceDrains1 + +## Example Usage + +```typescript +import { GetDrainsSourceDrains1 } from "@vercel/sdk/models/getdrainsop.js"; + +let value: GetDrainsSourceDrains1 = { + kind: "self-served", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `kind` | [models.GetDrainsSourceDrainsResponseKind](../models/getdrainssourcedrainsresponsekind.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getdrainssourcedrains2.md b/docs/models/getdrainssourcedrains2.md new file mode 100644 index 000000000..d60377eb8 --- /dev/null +++ b/docs/models/getdrainssourcedrains2.md @@ -0,0 +1,23 @@ +# GetDrainsSourceDrains2 + +## Example Usage + +```typescript +import { GetDrainsSourceDrains2 } from "@vercel/sdk/models/getdrainsop.js"; + +let value: GetDrainsSourceDrains2 = { + kind: "integration", + integrationId: "", + integrationConfigurationId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | +| `kind` | [models.GetDrainsSourceDrainsResponse200Kind](../models/getdrainssourcedrainsresponse200kind.md) | :heavy_check_mark: | N/A | +| `resourceId` | *string* | :heavy_minus_sign: | N/A | +| `externalResourceId` | *string* | :heavy_minus_sign: | N/A | +| `integrationId` | *string* | :heavy_check_mark: | N/A | +| `integrationConfigurationId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getdrainssourcedrainskind.md b/docs/models/getdrainssourcedrainskind.md new file mode 100644 index 000000000..1cceb263f --- /dev/null +++ b/docs/models/getdrainssourcedrainskind.md @@ -0,0 +1,15 @@ +# GetDrainsSourceDrainsKind + +## Example Usage + +```typescript +import { GetDrainsSourceDrainsKind } from "@vercel/sdk/models/getdrainsop.js"; + +let value: GetDrainsSourceDrainsKind = "integration"; +``` + +## Values + +```typescript +"integration" +``` \ No newline at end of file diff --git a/docs/models/getdrainssourcedrainsresponse200kind.md b/docs/models/getdrainssourcedrainsresponse200kind.md new file mode 100644 index 000000000..4031860eb --- /dev/null +++ b/docs/models/getdrainssourcedrainsresponse200kind.md @@ -0,0 +1,15 @@ +# GetDrainsSourceDrainsResponse200Kind + +## Example Usage + +```typescript +import { GetDrainsSourceDrainsResponse200Kind } from "@vercel/sdk/models/getdrainsop.js"; + +let value: GetDrainsSourceDrainsResponse200Kind = "integration"; +``` + +## Values + +```typescript +"integration" +``` \ No newline at end of file diff --git a/docs/models/getdrainssourcedrainsresponsekind.md b/docs/models/getdrainssourcedrainsresponsekind.md new file mode 100644 index 000000000..183e35ec5 --- /dev/null +++ b/docs/models/getdrainssourcedrainsresponsekind.md @@ -0,0 +1,15 @@ +# GetDrainsSourceDrainsResponseKind + +## Example Usage + +```typescript +import { GetDrainsSourceDrainsResponseKind } from "@vercel/sdk/models/getdrainsop.js"; + +let value: GetDrainsSourceDrainsResponseKind = "self-served"; +``` + +## Values + +```typescript +"self-served" +``` \ No newline at end of file diff --git a/docs/models/getdrainssourcekind.md b/docs/models/getdrainssourcekind.md new file mode 100644 index 000000000..2b44fd9dc --- /dev/null +++ b/docs/models/getdrainssourcekind.md @@ -0,0 +1,15 @@ +# GetDrainsSourceKind + +## Example Usage + +```typescript +import { GetDrainsSourceKind } from "@vercel/sdk/models/getdrainsop.js"; + +let value: GetDrainsSourceKind = "self-served"; +``` + +## Values + +```typescript +"self-served" +``` \ No newline at end of file diff --git a/docs/models/getintegrationlogdrainsdeliveryformat.md b/docs/models/getintegrationlogdrainsdeliveryformat.md index 2d2fd0110..9c670f89d 100644 --- a/docs/models/getintegrationlogdrainsdeliveryformat.md +++ b/docs/models/getintegrationlogdrainsdeliveryformat.md @@ -13,5 +13,5 @@ let value: GetIntegrationLogDrainsDeliveryFormat = "json"; ## Values ```typescript -"json" | "ndjson" | "syslog" | "protobuf" +"json" | "ndjson" | "protobuf" ``` \ No newline at end of file diff --git a/docs/models/getintegrationlogdrainssource.md b/docs/models/getintegrationlogdrainssource.md index e07dea7fe..c7229f94d 100644 --- a/docs/models/getintegrationlogdrainssource.md +++ b/docs/models/getintegrationlogdrainssource.md @@ -3,18 +3,18 @@ ## Supported Types -### `models.Source1` +### `models.GetIntegrationLogDrainsSource1` ```typescript -const value: models.Source1 = { +const value: models.GetIntegrationLogDrainsSource1 = { kind: "self-served", }; ``` -### `models.Source2` +### `models.GetIntegrationLogDrainsSource2` ```typescript -const value: models.Source2 = { +const value: models.GetIntegrationLogDrainsSource2 = { kind: "integration", integrationId: "", integrationConfigurationId: "", diff --git a/docs/models/getintegrationlogdrainssource1.md b/docs/models/getintegrationlogdrainssource1.md new file mode 100644 index 000000000..75f9d4c0d --- /dev/null +++ b/docs/models/getintegrationlogdrainssource1.md @@ -0,0 +1,17 @@ +# GetIntegrationLogDrainsSource1 + +## Example Usage + +```typescript +import { GetIntegrationLogDrainsSource1 } from "@vercel/sdk/models/getintegrationlogdrainsop.js"; + +let value: GetIntegrationLogDrainsSource1 = { + kind: "self-served", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------- | -------------------------------- | -------------------------------- | -------------------------------- | +| `kind` | [models.Kind](../models/kind.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getintegrationlogdrainssource2.md b/docs/models/getintegrationlogdrainssource2.md new file mode 100644 index 000000000..2ffc2b23d --- /dev/null +++ b/docs/models/getintegrationlogdrainssource2.md @@ -0,0 +1,23 @@ +# GetIntegrationLogDrainsSource2 + +## Example Usage + +```typescript +import { GetIntegrationLogDrainsSource2 } from "@vercel/sdk/models/getintegrationlogdrainsop.js"; + +let value: GetIntegrationLogDrainsSource2 = { + kind: "integration", + integrationId: "", + integrationConfigurationId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | +| `kind` | [models.SourceKind](../models/sourcekind.md) | :heavy_check_mark: | N/A | +| `resourceId` | *string* | :heavy_minus_sign: | N/A | +| `externalResourceId` | *string* | :heavy_minus_sign: | N/A | +| `integrationId` | *string* | :heavy_check_mark: | N/A | +| `integrationConfigurationId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getintegrationlogdrainssources.md b/docs/models/getintegrationlogdrainssources.md index 58e36536d..3567cce63 100644 --- a/docs/models/getintegrationlogdrainssources.md +++ b/docs/models/getintegrationlogdrainssources.md @@ -7,11 +7,11 @@ The sources from which logs are currently being delivered to this log drain. ```typescript import { GetIntegrationLogDrainsSources } from "@vercel/sdk/models/getintegrationlogdrainsop.js"; -let value: GetIntegrationLogDrainsSources = "build"; +let value: GetIntegrationLogDrainsSources = "edge"; ``` ## Values ```typescript -"build" | "edge" | "lambda" | "static" | "external" | "firewall" +"build" | "edge" | "lambda" | "static" | "external" | "firewall" | "redirect" ``` \ No newline at end of file diff --git a/docs/models/getintegrationresourcesresources.md b/docs/models/getintegrationresourcesresources.md new file mode 100644 index 000000000..93733ae24 --- /dev/null +++ b/docs/models/getintegrationresourcesresources.md @@ -0,0 +1,28 @@ +# GetIntegrationResourcesResources + +## Example Usage + +```typescript +import { GetIntegrationResourcesResources } from "@vercel/sdk/models/getintegrationresourcesop.js"; + +let value: GetIntegrationResourcesResources = { + partnerId: "", + internalId: "", + name: "", + productId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | +| `partnerId` | *string* | :heavy_check_mark: | The ID provided by the partner for the given resource | +| `internalId` | *string* | :heavy_check_mark: | The ID assigned by Vercel for the given resource | +| `name` | *string* | :heavy_check_mark: | The name of the resource as it is recorded in Vercel | +| `status` | [models.GetIntegrationResourcesStatus](../models/getintegrationresourcesstatus.md) | :heavy_minus_sign: | The current status of the resource | +| `productId` | *string* | :heavy_check_mark: | The ID of the product the resource is derived from | +| `protocolSettings` | [models.GetIntegrationResourcesProtocolSettings](../models/getintegrationresourcesprotocolsettings.md) | :heavy_minus_sign: | Any settings provided for the resource to support its product's protocols | +| `notification` | [models.GetIntegrationResourcesNotification](../models/getintegrationresourcesnotification.md) | :heavy_minus_sign: | The notification, if set, displayed to the user when viewing the resource in Vercel | +| `billingPlanId` | *string* | :heavy_minus_sign: | The ID of the billing plan the resource is subscribed to, if applicable | +| `metadata` | Record | :heavy_minus_sign: | The configured metadata for the resource as defined by its product's Metadata Schema | \ No newline at end of file diff --git a/docs/models/getintegrationresourcesresponsebody.md b/docs/models/getintegrationresourcesresponsebody.md index e72d05288..54499d402 100644 --- a/docs/models/getintegrationresourcesresponsebody.md +++ b/docs/models/getintegrationresourcesresponsebody.md @@ -19,6 +19,6 @@ let value: GetIntegrationResourcesResponseBody = { ## Fields -| Field | Type | Required | Description | -| -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -| `resources` | [models.Resources](../models/resources.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `resources` | [models.GetIntegrationResourcesResources](../models/getintegrationresourcesresources.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getintegrationresourcesstatus.md b/docs/models/getintegrationresourcesstatus.md index 82c00a1a5..65633ae15 100644 --- a/docs/models/getintegrationresourcesstatus.md +++ b/docs/models/getintegrationresourcesstatus.md @@ -13,5 +13,5 @@ let value: GetIntegrationResourcesStatus = "error"; ## Values ```typescript -"ready" | "pending" | "suspended" | "resumed" | "uninstalled" | "error" +"ready" | "pending" | "onboarding" | "suspended" | "resumed" | "uninstalled" | "error" ``` \ No newline at end of file diff --git a/docs/models/getintegrationresourcestatus.md b/docs/models/getintegrationresourcestatus.md index bea88d528..eb97dc6aa 100644 --- a/docs/models/getintegrationresourcestatus.md +++ b/docs/models/getintegrationresourcestatus.md @@ -7,11 +7,11 @@ The current status of the resource ```typescript import { GetIntegrationResourceStatus } from "@vercel/sdk/models/getintegrationresourceop.js"; -let value: GetIntegrationResourceStatus = "ready"; +let value: GetIntegrationResourceStatus = "pending"; ``` ## Values ```typescript -"ready" | "pending" | "suspended" | "resumed" | "uninstalled" | "error" +"ready" | "pending" | "onboarding" | "suspended" | "resumed" | "uninstalled" | "error" ``` \ No newline at end of file diff --git a/docs/models/getinvoicestate.md b/docs/models/getinvoicestate.md index a3bef7245..db92a6f61 100644 --- a/docs/models/getinvoicestate.md +++ b/docs/models/getinvoicestate.md @@ -7,11 +7,11 @@ Invoice state. ```typescript import { GetInvoiceState } from "@vercel/sdk/models/getinvoiceop.js"; -let value: GetInvoiceState = "pending"; +let value: GetInvoiceState = "draft"; ``` ## Values ```typescript -"pending" | "scheduled" | "invoiced" | "paid" | "notpaid" | "refund_requested" | "refunded" +"draft" | "pending" | "scheduled" | "invoiced" | "paid" | "notpaid" | "refund_requested" | "refunded" ``` \ No newline at end of file diff --git a/docs/models/getorder11.md b/docs/models/getorder11.md new file mode 100644 index 000000000..f380aa7f7 --- /dev/null +++ b/docs/models/getorder11.md @@ -0,0 +1,17 @@ +# GetOrder11 + +## Example Usage + +```typescript +import { GetOrder11 } from "@vercel/sdk/models/getorderop.js"; + +let value: GetOrder11 = { + code: "payment-failed", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | +| `code` | [models.OneCode](../models/onecode.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getorder12.md b/docs/models/getorder12.md new file mode 100644 index 000000000..f845b8837 --- /dev/null +++ b/docs/models/getorder12.md @@ -0,0 +1,26 @@ +# GetOrder12 + +## Example Usage + +```typescript +import { GetOrder12 } from "@vercel/sdk/models/getorderop.js"; + +let value: GetOrder12 = { + code: "tld-outage", + details: { + tlds: [ + { + tldName: "", + endsAt: "", + }, + ], + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | +| `code` | [models.GetOrder1Code](../models/getorder1code.md) | :heavy_check_mark: | N/A | +| `details` | [models.GetOrder1Details](../models/getorder1details.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getorder13.md b/docs/models/getorder13.md new file mode 100644 index 000000000..ccc81ad49 --- /dev/null +++ b/docs/models/getorder13.md @@ -0,0 +1,21 @@ +# GetOrder13 + +## Example Usage + +```typescript +import { GetOrder13 } from "@vercel/sdk/models/getorderop.js"; + +let value: GetOrder13 = { + code: "price-mismatch", + details: { + expectedPrice: 6230.96, + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `code` | [models.GetOrder1DomainsRegistrarCode](../models/getorder1domainsregistrarcode.md) | :heavy_check_mark: | N/A | +| `details` | [models.OneDetails](../models/onedetails.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getorder1code.md b/docs/models/getorder1code.md new file mode 100644 index 000000000..6e1d7c23f --- /dev/null +++ b/docs/models/getorder1code.md @@ -0,0 +1,15 @@ +# GetOrder1Code + +## Example Usage + +```typescript +import { GetOrder1Code } from "@vercel/sdk/models/getorderop.js"; + +let value: GetOrder1Code = "tld-outage"; +``` + +## Values + +```typescript +"tld-outage" +``` \ No newline at end of file diff --git a/docs/models/getorder1details.md b/docs/models/getorder1details.md new file mode 100644 index 000000000..1a9849e4d --- /dev/null +++ b/docs/models/getorder1details.md @@ -0,0 +1,17 @@ +# GetOrder1Details + +## Example Usage + +```typescript +import { GetOrder1Details } from "@vercel/sdk/models/getorderop.js"; + +let value: GetOrder1Details = { + tlds: [], +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------- | ---------------------------------- | ---------------------------------- | ---------------------------------- | +| `tlds` | [models.Tlds](../models/tlds.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getorder1domainsregistrar1.md b/docs/models/getorder1domainsregistrar1.md new file mode 100644 index 000000000..7311f8ec1 --- /dev/null +++ b/docs/models/getorder1domainsregistrar1.md @@ -0,0 +1,21 @@ +# GetOrder1DomainsRegistrar1 + +## Example Usage + +```typescript +import { GetOrder1DomainsRegistrar1 } from "@vercel/sdk/models/getorderop.js"; + +let value: GetOrder1DomainsRegistrar1 = { + code: "unsupported-language-code", + details: { + detectedLanguageCode: "", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `code` | [models.GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyCode](../models/getorder1domainsregistrarresponse200applicationjsonresponsebodycode.md) | :heavy_check_mark: | N/A | +| `details` | [models.GetOrder1DomainsRegistrarResponse200Details](../models/getorder1domainsregistrarresponse200details.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getorder1domainsregistrar2.md b/docs/models/getorder1domainsregistrar2.md new file mode 100644 index 000000000..4ca1c1dc8 --- /dev/null +++ b/docs/models/getorder1domainsregistrar2.md @@ -0,0 +1,17 @@ +# GetOrder1DomainsRegistrar2 + +## Example Usage + +```typescript +import { GetOrder1DomainsRegistrar2 } from "@vercel/sdk/models/getorderop.js"; + +let value: GetOrder1DomainsRegistrar2 = { + code: "client-transfer-prohibited", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `code` | [models.GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomainsCode](../models/getorder1domainsregistrarresponse200applicationjsonresponsebodydomainscode.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getorder1domainsregistrar3.md b/docs/models/getorder1domainsregistrar3.md new file mode 100644 index 000000000..906713874 --- /dev/null +++ b/docs/models/getorder1domainsregistrar3.md @@ -0,0 +1,17 @@ +# GetOrder1DomainsRegistrar3 + +## Example Usage + +```typescript +import { GetOrder1DomainsRegistrar3 } from "@vercel/sdk/models/getorderop.js"; + +let value: GetOrder1DomainsRegistrar3 = { + code: "claims-notice-required", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `code` | [models.GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains3Code](../models/getorder1domainsregistrarresponse200applicationjsonresponsebodydomains3code.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getorder1domainsregistrarcode.md b/docs/models/getorder1domainsregistrarcode.md new file mode 100644 index 000000000..4b5a410e7 --- /dev/null +++ b/docs/models/getorder1domainsregistrarcode.md @@ -0,0 +1,15 @@ +# GetOrder1DomainsRegistrarCode + +## Example Usage + +```typescript +import { GetOrder1DomainsRegistrarCode } from "@vercel/sdk/models/getorderop.js"; + +let value: GetOrder1DomainsRegistrarCode = "price-mismatch"; +``` + +## Values + +```typescript +"price-mismatch" +``` \ No newline at end of file diff --git a/docs/models/getorder1domainsregistrardetails.md b/docs/models/getorder1domainsregistrardetails.md new file mode 100644 index 000000000..f6d7c0e53 --- /dev/null +++ b/docs/models/getorder1domainsregistrardetails.md @@ -0,0 +1,17 @@ +# GetOrder1DomainsRegistrarDetails + +## Example Usage + +```typescript +import { GetOrder1DomainsRegistrarDetails } from "@vercel/sdk/models/getorderop.js"; + +let value: GetOrder1DomainsRegistrarDetails = { + detectedLanguageCode: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------- | ---------------------- | ---------------------- | ---------------------- | +| `detectedLanguageCode` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getorder1domainsregistrarresponse1.md b/docs/models/getorder1domainsregistrarresponse1.md new file mode 100644 index 000000000..10b185488 --- /dev/null +++ b/docs/models/getorder1domainsregistrarresponse1.md @@ -0,0 +1,21 @@ +# GetOrder1DomainsRegistrarResponse1 + +## Example Usage + +```typescript +import { GetOrder1DomainsRegistrarResponse1 } from "@vercel/sdk/models/getorderop.js"; + +let value: GetOrder1DomainsRegistrarResponse1 = { + code: "unsupported-language-code", + details: { + detectedLanguageCode: "", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `code` | [models.GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains1Code](../models/getorder1domainsregistrarresponse200applicationjsonresponsebodydomains1code.md) | :heavy_check_mark: | N/A | +| `details` | [models.GetOrder1DomainsRegistrarDetails](../models/getorder1domainsregistrardetails.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getorder1domainsregistrarresponse2.md b/docs/models/getorder1domainsregistrarresponse2.md new file mode 100644 index 000000000..4a36cd2f9 --- /dev/null +++ b/docs/models/getorder1domainsregistrarresponse2.md @@ -0,0 +1,17 @@ +# GetOrder1DomainsRegistrarResponse2 + +## Example Usage + +```typescript +import { GetOrder1DomainsRegistrarResponse2 } from "@vercel/sdk/models/getorderop.js"; + +let value: GetOrder1DomainsRegistrarResponse2 = { + code: "client-transfer-prohibited", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `code` | [models.GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains1ErrorCode](../models/getorder1domainsregistrarresponse200applicationjsonresponsebodydomains1errorcode.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getorder1domainsregistrarresponse2001.md b/docs/models/getorder1domainsregistrarresponse2001.md new file mode 100644 index 000000000..5cba49dae --- /dev/null +++ b/docs/models/getorder1domainsregistrarresponse2001.md @@ -0,0 +1,21 @@ +# GetOrder1DomainsRegistrarResponse2001 + +## Example Usage + +```typescript +import { GetOrder1DomainsRegistrarResponse2001 } from "@vercel/sdk/models/getorderop.js"; + +let value: GetOrder1DomainsRegistrarResponse2001 = { + code: "unsupported-language-code", + details: { + detectedLanguageCode: "", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `code` | [models.GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains2Code](../models/getorder1domainsregistrarresponse200applicationjsonresponsebodydomains2code.md) | :heavy_check_mark: | N/A | +| `details` | [models.GetOrder1DomainsRegistrarResponseDetails](../models/getorder1domainsregistrarresponsedetails.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getorder1domainsregistrarresponse2002.md b/docs/models/getorder1domainsregistrarresponse2002.md new file mode 100644 index 000000000..bb91b7d8d --- /dev/null +++ b/docs/models/getorder1domainsregistrarresponse2002.md @@ -0,0 +1,17 @@ +# GetOrder1DomainsRegistrarResponse2002 + +## Example Usage + +```typescript +import { GetOrder1DomainsRegistrarResponse2002 } from "@vercel/sdk/models/getorderop.js"; + +let value: GetOrder1DomainsRegistrarResponse2002 = { + code: "client-transfer-prohibited", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | +| `code` | [models.GetOrder1DomainsRegistrarResponse200Code](../models/getorder1domainsregistrarresponse200code.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getorder1domainsregistrarresponse2003.md b/docs/models/getorder1domainsregistrarresponse2003.md new file mode 100644 index 000000000..56166847b --- /dev/null +++ b/docs/models/getorder1domainsregistrarresponse2003.md @@ -0,0 +1,17 @@ +# GetOrder1DomainsRegistrarResponse2003 + +## Example Usage + +```typescript +import { GetOrder1DomainsRegistrarResponse2003 } from "@vercel/sdk/models/getorderop.js"; + +let value: GetOrder1DomainsRegistrarResponse2003 = { + code: "claims-notice-required", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | +| `code` | [models.GetOrder1DomainsRegistrarResponse200ApplicationJSONCode](../models/getorder1domainsregistrarresponse200applicationjsoncode.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getorder1domainsregistrarresponse200applicationjsoncode.md b/docs/models/getorder1domainsregistrarresponse200applicationjsoncode.md new file mode 100644 index 000000000..8b887605d --- /dev/null +++ b/docs/models/getorder1domainsregistrarresponse200applicationjsoncode.md @@ -0,0 +1,16 @@ +# GetOrder1DomainsRegistrarResponse200ApplicationJSONCode + +## Example Usage + +```typescript +import { GetOrder1DomainsRegistrarResponse200ApplicationJSONCode } from "@vercel/sdk/models/getorderop.js"; + +let value: GetOrder1DomainsRegistrarResponse200ApplicationJSONCode = + "claims-notice-required"; +``` + +## Values + +```typescript +"claims-notice-required" +``` \ No newline at end of file diff --git a/docs/models/getorder1domainsregistrarresponse200applicationjsonresponsebodycode.md b/docs/models/getorder1domainsregistrarresponse200applicationjsonresponsebodycode.md new file mode 100644 index 000000000..e14b184b5 --- /dev/null +++ b/docs/models/getorder1domainsregistrarresponse200applicationjsonresponsebodycode.md @@ -0,0 +1,16 @@ +# GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyCode + +## Example Usage + +```typescript +import { GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyCode } from "@vercel/sdk/models/getorderop.js"; + +let value: GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyCode = + "unsupported-language-code"; +``` + +## Values + +```typescript +"unsupported-language-code" +``` \ No newline at end of file diff --git a/docs/models/getorder1domainsregistrarresponse200applicationjsonresponsebodydomains1code.md b/docs/models/getorder1domainsregistrarresponse200applicationjsonresponsebodydomains1code.md new file mode 100644 index 000000000..8a6341940 --- /dev/null +++ b/docs/models/getorder1domainsregistrarresponse200applicationjsonresponsebodydomains1code.md @@ -0,0 +1,17 @@ +# GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains1Code + +## Example Usage + +```typescript +import { GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains1Code } from "@vercel/sdk/models/getorderop.js"; + +let value: + GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains1Code = + "unsupported-language-code"; +``` + +## Values + +```typescript +"unsupported-language-code" +``` \ No newline at end of file diff --git a/docs/models/getorder1domainsregistrarresponse200applicationjsonresponsebodydomains1error3code.md b/docs/models/getorder1domainsregistrarresponse200applicationjsonresponsebodydomains1error3code.md new file mode 100644 index 000000000..f74d2b084 --- /dev/null +++ b/docs/models/getorder1domainsregistrarresponse200applicationjsonresponsebodydomains1error3code.md @@ -0,0 +1,19 @@ +# GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains1Error3Code + +## Example Usage + +```typescript +import { + GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains1Error3Code, +} from "@vercel/sdk/models/getorderop.js"; + +let value: + GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains1Error3Code = + "claims-notice-required"; +``` + +## Values + +```typescript +"claims-notice-required" +``` \ No newline at end of file diff --git a/docs/models/getorder1domainsregistrarresponse200applicationjsonresponsebodydomains1errorcode.md b/docs/models/getorder1domainsregistrarresponse200applicationjsonresponsebodydomains1errorcode.md new file mode 100644 index 000000000..a56930a42 --- /dev/null +++ b/docs/models/getorder1domainsregistrarresponse200applicationjsonresponsebodydomains1errorcode.md @@ -0,0 +1,17 @@ +# GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains1ErrorCode + +## Example Usage + +```typescript +import { GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains1ErrorCode } from "@vercel/sdk/models/getorderop.js"; + +let value: + GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains1ErrorCode = + "client-transfer-prohibited"; +``` + +## Values + +```typescript +"client-transfer-prohibited" +``` \ No newline at end of file diff --git a/docs/models/getorder1domainsregistrarresponse200applicationjsonresponsebodydomains2code.md b/docs/models/getorder1domainsregistrarresponse200applicationjsonresponsebodydomains2code.md new file mode 100644 index 000000000..824c37b21 --- /dev/null +++ b/docs/models/getorder1domainsregistrarresponse200applicationjsonresponsebodydomains2code.md @@ -0,0 +1,17 @@ +# GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains2Code + +## Example Usage + +```typescript +import { GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains2Code } from "@vercel/sdk/models/getorderop.js"; + +let value: + GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains2Code = + "unsupported-language-code"; +``` + +## Values + +```typescript +"unsupported-language-code" +``` \ No newline at end of file diff --git a/docs/models/getorder1domainsregistrarresponse200applicationjsonresponsebodydomains3code.md b/docs/models/getorder1domainsregistrarresponse200applicationjsonresponsebodydomains3code.md new file mode 100644 index 000000000..ad187d1c1 --- /dev/null +++ b/docs/models/getorder1domainsregistrarresponse200applicationjsonresponsebodydomains3code.md @@ -0,0 +1,17 @@ +# GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains3Code + +## Example Usage + +```typescript +import { GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains3Code } from "@vercel/sdk/models/getorderop.js"; + +let value: + GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains3Code = + "claims-notice-required"; +``` + +## Values + +```typescript +"claims-notice-required" +``` \ No newline at end of file diff --git a/docs/models/getorder1domainsregistrarresponse200applicationjsonresponsebodydomainscode.md b/docs/models/getorder1domainsregistrarresponse200applicationjsonresponsebodydomainscode.md new file mode 100644 index 000000000..e3539673b --- /dev/null +++ b/docs/models/getorder1domainsregistrarresponse200applicationjsonresponsebodydomainscode.md @@ -0,0 +1,17 @@ +# GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomainsCode + +## Example Usage + +```typescript +import { GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomainsCode } from "@vercel/sdk/models/getorderop.js"; + +let value: + GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomainsCode = + "client-transfer-prohibited"; +``` + +## Values + +```typescript +"client-transfer-prohibited" +``` \ No newline at end of file diff --git a/docs/models/getorder1domainsregistrarresponse200code.md b/docs/models/getorder1domainsregistrarresponse200code.md new file mode 100644 index 000000000..fdb6aff82 --- /dev/null +++ b/docs/models/getorder1domainsregistrarresponse200code.md @@ -0,0 +1,16 @@ +# GetOrder1DomainsRegistrarResponse200Code + +## Example Usage + +```typescript +import { GetOrder1DomainsRegistrarResponse200Code } from "@vercel/sdk/models/getorderop.js"; + +let value: GetOrder1DomainsRegistrarResponse200Code = + "client-transfer-prohibited"; +``` + +## Values + +```typescript +"client-transfer-prohibited" +``` \ No newline at end of file diff --git a/docs/models/getorder1domainsregistrarresponse200details.md b/docs/models/getorder1domainsregistrarresponse200details.md new file mode 100644 index 000000000..864fd4235 --- /dev/null +++ b/docs/models/getorder1domainsregistrarresponse200details.md @@ -0,0 +1,17 @@ +# GetOrder1DomainsRegistrarResponse200Details + +## Example Usage + +```typescript +import { GetOrder1DomainsRegistrarResponse200Details } from "@vercel/sdk/models/getorderop.js"; + +let value: GetOrder1DomainsRegistrarResponse200Details = { + detectedLanguageCode: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------- | ---------------------- | ---------------------- | ---------------------- | +| `detectedLanguageCode` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getorder1domainsregistrarresponse3.md b/docs/models/getorder1domainsregistrarresponse3.md new file mode 100644 index 000000000..f8d93e60f --- /dev/null +++ b/docs/models/getorder1domainsregistrarresponse3.md @@ -0,0 +1,17 @@ +# GetOrder1DomainsRegistrarResponse3 + +## Example Usage + +```typescript +import { GetOrder1DomainsRegistrarResponse3 } from "@vercel/sdk/models/getorderop.js"; + +let value: GetOrder1DomainsRegistrarResponse3 = { + code: "claims-notice-required", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `code` | [models.GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains1Error3Code](../models/getorder1domainsregistrarresponse200applicationjsonresponsebodydomains1error3code.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getorder1domainsregistrarresponsecode.md b/docs/models/getorder1domainsregistrarresponsecode.md new file mode 100644 index 000000000..3b56dba3c --- /dev/null +++ b/docs/models/getorder1domainsregistrarresponsecode.md @@ -0,0 +1,15 @@ +# GetOrder1DomainsRegistrarResponseCode + +## Example Usage + +```typescript +import { GetOrder1DomainsRegistrarResponseCode } from "@vercel/sdk/models/getorderop.js"; + +let value: GetOrder1DomainsRegistrarResponseCode = "unexpected-error"; +``` + +## Values + +```typescript +"unexpected-error" +``` \ No newline at end of file diff --git a/docs/models/getorder1domainsregistrarresponsedetails.md b/docs/models/getorder1domainsregistrarresponsedetails.md new file mode 100644 index 000000000..dd9752ca9 --- /dev/null +++ b/docs/models/getorder1domainsregistrarresponsedetails.md @@ -0,0 +1,17 @@ +# GetOrder1DomainsRegistrarResponseDetails + +## Example Usage + +```typescript +import { GetOrder1DomainsRegistrarResponseDetails } from "@vercel/sdk/models/getorderop.js"; + +let value: GetOrder1DomainsRegistrarResponseDetails = { + detectedLanguageCode: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------- | ---------------------- | ---------------------- | ---------------------- | +| `detectedLanguageCode` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getorderdomains.md b/docs/models/getorderdomains.md new file mode 100644 index 000000000..cffeb87cb --- /dev/null +++ b/docs/models/getorderdomains.md @@ -0,0 +1,43 @@ +# GetOrderDomains + + +## Supported Types + +### `models.Domains1` + +```typescript +const value: models.Domains1 = { + purchaseType: "purchase", + autoRenew: true, + years: 7534.4, + domainName: "taut-cauliflower.net", + status: "completed", + price: 3599.64, +}; +``` + +### `models.Domains2` + +```typescript +const value: models.Domains2 = { + purchaseType: "renewal", + years: 7846.54, + domainName: "hungry-mountain.net", + status: "pending", + price: 8001.66, +}; +``` + +### `models.Domains3` + +```typescript +const value: models.Domains3 = { + purchaseType: "transfer", + autoRenew: false, + years: 8949.87, + domainName: "hurtful-essence.name", + status: "failed", + price: 6459.45, +}; +``` + diff --git a/docs/models/getorderdomainsdomainsregistrarerror.md b/docs/models/getorderdomainsdomainsregistrarerror.md new file mode 100644 index 000000000..20c39f301 --- /dev/null +++ b/docs/models/getorderdomainsdomainsregistrarerror.md @@ -0,0 +1,24 @@ +# GetOrderDomainsDomainsRegistrarError + + +## Supported Types + +### `models.GetOrderErrorDomainsRegistrar1` + +```typescript +const value: models.GetOrderErrorDomainsRegistrar1 = { + code: "unsupported-language-code", + details: { + detectedLanguageCode: "", + }, +}; +``` + +### `models.GetOrderErrorDomainsRegistrar2` + +```typescript +const value: models.GetOrderErrorDomainsRegistrar2 = { + code: "", +}; +``` + diff --git a/docs/models/getorderdomainsdomainsregistrarpurchasetype.md b/docs/models/getorderdomainsdomainsregistrarpurchasetype.md new file mode 100644 index 000000000..64432441d --- /dev/null +++ b/docs/models/getorderdomainsdomainsregistrarpurchasetype.md @@ -0,0 +1,15 @@ +# GetOrderDomainsDomainsRegistrarPurchaseType + +## Example Usage + +```typescript +import { GetOrderDomainsDomainsRegistrarPurchaseType } from "@vercel/sdk/models/getorderop.js"; + +let value: GetOrderDomainsDomainsRegistrarPurchaseType = "purchase"; +``` + +## Values + +```typescript +"purchase" +``` \ No newline at end of file diff --git a/docs/models/getorderdomainsdomainsregistrarstatus.md b/docs/models/getorderdomainsdomainsregistrarstatus.md new file mode 100644 index 000000000..dca91f785 --- /dev/null +++ b/docs/models/getorderdomainsdomainsregistrarstatus.md @@ -0,0 +1,15 @@ +# GetOrderDomainsDomainsRegistrarStatus + +## Example Usage + +```typescript +import { GetOrderDomainsDomainsRegistrarStatus } from "@vercel/sdk/models/getorderop.js"; + +let value: GetOrderDomainsDomainsRegistrarStatus = "refund-failed"; +``` + +## Values + +```typescript +"pending" | "completed" | "failed" | "refunded" | "refund-failed" +``` \ No newline at end of file diff --git a/docs/models/getorderdomainserror.md b/docs/models/getorderdomainserror.md new file mode 100644 index 000000000..9ef1dba47 --- /dev/null +++ b/docs/models/getorderdomainserror.md @@ -0,0 +1,21 @@ +# GetOrderDomainsError + + +## Supported Types + +### `models.GetOrderError1` + +```typescript +const value: models.GetOrderError1 = { + code: "claims-notice-required", +}; +``` + +### `models.GetOrderError2` + +```typescript +const value: models.GetOrderError2 = { + code: "", +}; +``` + diff --git a/docs/models/getorderdomainspurchasetype.md b/docs/models/getorderdomainspurchasetype.md new file mode 100644 index 000000000..b66279a40 --- /dev/null +++ b/docs/models/getorderdomainspurchasetype.md @@ -0,0 +1,15 @@ +# GetOrderDomainsPurchaseType + +## Example Usage + +```typescript +import { GetOrderDomainsPurchaseType } from "@vercel/sdk/models/getorderop.js"; + +let value: GetOrderDomainsPurchaseType = "transfer"; +``` + +## Values + +```typescript +"transfer" +``` \ No newline at end of file diff --git a/docs/models/getorderdomainsregistrarresponsebody.md b/docs/models/getorderdomainsregistrarresponsebody.md new file mode 100644 index 000000000..030c680c9 --- /dev/null +++ b/docs/models/getorderdomainsregistrarresponsebody.md @@ -0,0 +1,27 @@ +# GetOrderDomainsRegistrarResponseBody + +NotAuthorizedForScope + + +## Supported Types + +### `models.NotAuthorizedForScope` + +```typescript +const value: models.NotAuthorizedForScope = { + status: 4853.56, + code: "not_authorized_for_scope", + message: "", +}; +``` + +### `models.Forbidden` + +```typescript +const value: models.Forbidden = { + status: 7108.3, + code: "forbidden", + message: "", +}; +``` + diff --git a/docs/models/getorderdomainsstatus.md b/docs/models/getorderdomainsstatus.md new file mode 100644 index 000000000..8683c3cbb --- /dev/null +++ b/docs/models/getorderdomainsstatus.md @@ -0,0 +1,15 @@ +# GetOrderDomainsStatus + +## Example Usage + +```typescript +import { GetOrderDomainsStatus } from "@vercel/sdk/models/getorderop.js"; + +let value: GetOrderDomainsStatus = "pending"; +``` + +## Values + +```typescript +"pending" | "completed" | "failed" | "refunded" | "refund-failed" +``` \ No newline at end of file diff --git a/docs/models/getordererror.md b/docs/models/getordererror.md new file mode 100644 index 000000000..d15f58ec4 --- /dev/null +++ b/docs/models/getordererror.md @@ -0,0 +1,24 @@ +# GetOrderError + + +## Supported Types + +### `models.Error1` + +```typescript +const value: models.Error1 = { + code: "price-mismatch", + details: { + expectedPrice: 6230.96, + }, +}; +``` + +### `models.Error2` + +```typescript +const value: models.Error2 = { + code: "", +}; +``` + diff --git a/docs/models/getordererror1.md b/docs/models/getordererror1.md new file mode 100644 index 000000000..bec2e12e2 --- /dev/null +++ b/docs/models/getordererror1.md @@ -0,0 +1,32 @@ +# GetOrderError1 + + +## Supported Types + +### `models.GetOrder1DomainsRegistrarResponse2001` + +```typescript +const value: models.GetOrder1DomainsRegistrarResponse2001 = { + code: "unsupported-language-code", + details: { + detectedLanguageCode: "", + }, +}; +``` + +### `models.GetOrder1DomainsRegistrarResponse2002` + +```typescript +const value: models.GetOrder1DomainsRegistrarResponse2002 = { + code: "client-transfer-prohibited", +}; +``` + +### `models.GetOrder1DomainsRegistrarResponse2003` + +```typescript +const value: models.GetOrder1DomainsRegistrarResponse2003 = { + code: "claims-notice-required", +}; +``` + diff --git a/docs/models/getordererror2.md b/docs/models/getordererror2.md new file mode 100644 index 000000000..05047fccf --- /dev/null +++ b/docs/models/getordererror2.md @@ -0,0 +1,18 @@ +# GetOrderError2 + +## Example Usage + +```typescript +import { GetOrderError2 } from "@vercel/sdk/models/getorderop.js"; + +let value: GetOrderError2 = { + code: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `code` | *string* | :heavy_check_mark: | N/A | +| `details` | *any* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getordererrordomainsregistrar1.md b/docs/models/getordererrordomainsregistrar1.md new file mode 100644 index 000000000..98caa9fe4 --- /dev/null +++ b/docs/models/getordererrordomainsregistrar1.md @@ -0,0 +1,32 @@ +# GetOrderErrorDomainsRegistrar1 + + +## Supported Types + +### `models.GetOrder1DomainsRegistrar1` + +```typescript +const value: models.GetOrder1DomainsRegistrar1 = { + code: "unsupported-language-code", + details: { + detectedLanguageCode: "", + }, +}; +``` + +### `models.GetOrder1DomainsRegistrar2` + +```typescript +const value: models.GetOrder1DomainsRegistrar2 = { + code: "client-transfer-prohibited", +}; +``` + +### `models.GetOrder1DomainsRegistrar3` + +```typescript +const value: models.GetOrder1DomainsRegistrar3 = { + code: "claims-notice-required", +}; +``` + diff --git a/docs/models/getordererrordomainsregistrar2.md b/docs/models/getordererrordomainsregistrar2.md new file mode 100644 index 000000000..5082e92ff --- /dev/null +++ b/docs/models/getordererrordomainsregistrar2.md @@ -0,0 +1,18 @@ +# GetOrderErrorDomainsRegistrar2 + +## Example Usage + +```typescript +import { GetOrderErrorDomainsRegistrar2 } from "@vercel/sdk/models/getorderop.js"; + +let value: GetOrderErrorDomainsRegistrar2 = { + code: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `code` | *string* | :heavy_check_mark: | N/A | +| `details` | *any* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getordererrordomainsregistrarresponse1.md b/docs/models/getordererrordomainsregistrarresponse1.md new file mode 100644 index 000000000..fc4d17444 --- /dev/null +++ b/docs/models/getordererrordomainsregistrarresponse1.md @@ -0,0 +1,32 @@ +# GetOrderErrorDomainsRegistrarResponse1 + + +## Supported Types + +### `models.GetOrder1DomainsRegistrarResponse1` + +```typescript +const value: models.GetOrder1DomainsRegistrarResponse1 = { + code: "unsupported-language-code", + details: { + detectedLanguageCode: "", + }, +}; +``` + +### `models.GetOrder1DomainsRegistrarResponse2` + +```typescript +const value: models.GetOrder1DomainsRegistrarResponse2 = { + code: "client-transfer-prohibited", +}; +``` + +### `models.GetOrder1DomainsRegistrarResponse3` + +```typescript +const value: models.GetOrder1DomainsRegistrarResponse3 = { + code: "claims-notice-required", +}; +``` + diff --git a/docs/models/getordererrordomainsregistrarresponse2.md b/docs/models/getordererrordomainsregistrarresponse2.md new file mode 100644 index 000000000..642aa6865 --- /dev/null +++ b/docs/models/getordererrordomainsregistrarresponse2.md @@ -0,0 +1,18 @@ +# GetOrderErrorDomainsRegistrarResponse2 + +## Example Usage + +```typescript +import { GetOrderErrorDomainsRegistrarResponse2 } from "@vercel/sdk/models/getorderop.js"; + +let value: GetOrderErrorDomainsRegistrarResponse2 = { + code: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `code` | *string* | :heavy_check_mark: | N/A | +| `details` | *any* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getorderrequest.md b/docs/models/getorderrequest.md new file mode 100644 index 000000000..924145bf6 --- /dev/null +++ b/docs/models/getorderrequest.md @@ -0,0 +1,19 @@ +# GetOrderRequest + +## Example Usage + +```typescript +import { GetOrderRequest } from "@vercel/sdk/models/getorderop.js"; + +let value: GetOrderRequest = { + orderId: "", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------- | ----------------------------- | ----------------------------- | ----------------------------- | ----------------------------- | +| `orderId` | *string* | :heavy_check_mark: | N/A | | +| `teamId` | *string* | :heavy_minus_sign: | N/A | team_1a2b3c4d5e6f7g8h9i0j1k2l | \ No newline at end of file diff --git a/docs/models/getorderresponsebody.md b/docs/models/getorderresponsebody.md new file mode 100644 index 000000000..cdbd35c2f --- /dev/null +++ b/docs/models/getorderresponsebody.md @@ -0,0 +1,24 @@ +# GetOrderResponseBody + +Success + +## Example Usage + +```typescript +import { GetOrderResponseBody } from "@vercel/sdk/models/getorderop.js"; + +let value: GetOrderResponseBody = { + orderId: "", + domains: [], + status: "draft", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | +| `orderId` | *string* | :heavy_check_mark: | N/A | +| `domains` | *models.GetOrderDomains*[] | :heavy_check_mark: | N/A | +| `status` | [models.GetOrderStatus](../models/getorderstatus.md) | :heavy_check_mark: | N/A | +| `error` | *models.GetOrderError* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getorderstatus.md b/docs/models/getorderstatus.md new file mode 100644 index 000000000..0ad389751 --- /dev/null +++ b/docs/models/getorderstatus.md @@ -0,0 +1,15 @@ +# GetOrderStatus + +## Example Usage + +```typescript +import { GetOrderStatus } from "@vercel/sdk/models/getorderop.js"; + +let value: GetOrderStatus = "failed"; +``` + +## Values + +```typescript +"draft" | "purchasing" | "completed" | "failed" +``` \ No newline at end of file diff --git a/docs/models/getprojectclientcertsrequest.md b/docs/models/getprojectclientcertsrequest.md new file mode 100644 index 000000000..7016de4a9 --- /dev/null +++ b/docs/models/getprojectclientcertsrequest.md @@ -0,0 +1,21 @@ +# GetProjectClientCertsRequest + +## Example Usage + +```typescript +import { GetProjectClientCertsRequest } from "@vercel/sdk/models/getprojectclientcertsop.js"; + +let value: GetProjectClientCertsRequest = { + idOrName: "prj_XLKmu1DyR1eY7zq8UgeRKbA7yVLA", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + slug: "my-team-url-slug", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | +| `idOrName` | *string* | :heavy_check_mark: | The unique project identifier or the project name | prj_XLKmu1DyR1eY7zq8UgeRKbA7yVLA | +| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | team_1a2b3c4d5e6f7g8h9i0j1k2l | +| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | my-team-url-slug | \ No newline at end of file diff --git a/docs/models/getprojectclientcertsresponsebody.md b/docs/models/getprojectclientcertsresponsebody.md new file mode 100644 index 000000000..924fa73b2 --- /dev/null +++ b/docs/models/getprojectclientcertsresponsebody.md @@ -0,0 +1,24 @@ +# GetProjectClientCertsResponseBody + +Client certificates retrieved successfully + +## Example Usage + +```typescript +import { GetProjectClientCertsResponseBody } from "@vercel/sdk/models/getprojectclientcertsop.js"; + +let value: GetProjectClientCertsResponseBody = { + clientCerts: [ + { + origin: "", + id: "", + }, + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | +| `clientCerts` | [models.ClientCerts](../models/clientcerts.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getprojectsabuse.md b/docs/models/getprojectsabuse.md index ac2f358eb..3166adfd7 100644 --- a/docs/models/getprojectsabuse.md +++ b/docs/models/getprojectsabuse.md @@ -19,4 +19,5 @@ let value: GetProjectsAbuse = { | `history` | [models.GetProjectsHistory](../models/getprojectshistory.md)[] | :heavy_check_mark: | N/A | | `updatedAt` | *number* | :heavy_check_mark: | N/A | | `block` | [models.GetProjectsBlock](../models/getprojectsblock.md) | :heavy_minus_sign: | N/A | -| `blockHistory` | *models.GetProjectsBlockHistory*[] | :heavy_minus_sign: | N/A | \ No newline at end of file +| `blockHistory` | *models.GetProjectsBlockHistory*[] | :heavy_minus_sign: | N/A | +| `interstitial` | *boolean* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getprojectsaction.md b/docs/models/getprojectsaction.md index e4631b25c..5627c35e8 100644 --- a/docs/models/getprojectsaction.md +++ b/docs/models/getprojectsaction.md @@ -5,11 +5,11 @@ ```typescript import { GetProjectsAction } from "@vercel/sdk/models/getprojectsop.js"; -let value: GetProjectsAction = "blocked"; +let value: GetProjectsAction = "delete"; ``` ## Values ```typescript -"blocked" +"cancel" | "accept" | "delete" ``` \ No newline at end of file diff --git a/docs/models/getprojectsaibots.md b/docs/models/getprojectsaibots.md index e80055f75..a8aa53424 100644 --- a/docs/models/getprojectsaibots.md +++ b/docs/models/getprojectsaibots.md @@ -12,7 +12,7 @@ let value: GetProjectsAiBots = { ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -| `active` | *boolean* | :heavy_check_mark: | N/A | -| `action` | [models.GetProjectsProjectsAction](../models/getprojectsprojectsaction.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | +| `active` | *boolean* | :heavy_check_mark: | N/A | +| `action` | [models.GetProjectsProjectsResponse200ApplicationJSONAction](../models/getprojectsprojectsresponse200applicationjsonaction.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getprojectsblock.md b/docs/models/getprojectsblock.md index 96eddd40e..a7529016c 100644 --- a/docs/models/getprojectsblock.md +++ b/docs/models/getprojectsblock.md @@ -15,13 +15,13 @@ let value: GetProjectsBlock = { ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | -| `action` | [models.GetProjectsAction](../models/getprojectsaction.md) | :heavy_check_mark: | N/A | -| `reason` | *string* | :heavy_check_mark: | N/A | -| `statusCode` | *number* | :heavy_check_mark: | N/A | -| `createdAt` | *number* | :heavy_check_mark: | N/A | -| `caseId` | *string* | :heavy_minus_sign: | N/A | -| `actor` | *string* | :heavy_minus_sign: | N/A | -| `comment` | *string* | :heavy_minus_sign: | N/A | -| `isCascading` | *boolean* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `action` | [models.GetProjectsProjectsAction](../models/getprojectsprojectsaction.md) | :heavy_check_mark: | N/A | +| `reason` | *string* | :heavy_check_mark: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `createdAt` | *number* | :heavy_check_mark: | N/A | +| `caseId` | *string* | :heavy_minus_sign: | N/A | +| `actor` | *string* | :heavy_minus_sign: | N/A | +| `comment` | *string* | :heavy_minus_sign: | N/A | +| `isCascading` | *boolean* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getprojectsdismissedtoasts.md b/docs/models/getprojectsdismissedtoasts.md new file mode 100644 index 000000000..8a1610960 --- /dev/null +++ b/docs/models/getprojectsdismissedtoasts.md @@ -0,0 +1,23 @@ +# GetProjectsDismissedToasts + +## Example Usage + +```typescript +import { GetProjectsDismissedToasts } from "@vercel/sdk/models/getprojectsop.js"; + +let value: GetProjectsDismissedToasts = { + key: "", + dismissedAt: 9528.57, + action: "accept", + value: null, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | +| `key` | *string* | :heavy_check_mark: | N/A | +| `dismissedAt` | *number* | :heavy_check_mark: | N/A | +| `action` | [models.GetProjectsAction](../models/getprojectsaction.md) | :heavy_check_mark: | N/A | +| `value` | *models.GetProjectsValue* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getprojectsframework.md b/docs/models/getprojectsframework.md index a5a04f674..621a57dd1 100644 --- a/docs/models/getprojectsframework.md +++ b/docs/models/getprojectsframework.md @@ -5,11 +5,11 @@ ```typescript import { GetProjectsFramework } from "@vercel/sdk/models/getprojectsop.js"; -let value: GetProjectsFramework = "sanity-v3"; +let value: GetProjectsFramework = "nitro"; ``` ## Values ```typescript -"blitzjs" | "nextjs" | "gatsby" | "remix" | "react-router" | "astro" | "hexo" | "eleventy" | "docusaurus-2" | "docusaurus" | "preact" | "solidstart-1" | "solidstart" | "dojo" | "ember" | "vue" | "scully" | "ionic-angular" | "angular" | "polymer" | "svelte" | "sveltekit" | "sveltekit-1" | "ionic-react" | "create-react-app" | "gridsome" | "umijs" | "sapper" | "saber" | "stencil" | "nuxtjs" | "redwoodjs" | "hugo" | "jekyll" | "brunch" | "middleman" | "zola" | "hydrogen" | "vite" | "vitepress" | "vuepress" | "parcel" | "fastapi" | "fasthtml" | "sanity-v3" | "sanity" | "storybook" | "nitro" | "hono" | "express" | "h3" | "xmcp" +"blitzjs" | "nextjs" | "gatsby" | "remix" | "react-router" | "astro" | "hexo" | "eleventy" | "docusaurus-2" | "docusaurus" | "preact" | "solidstart-1" | "solidstart" | "dojo" | "ember" | "vue" | "scully" | "ionic-angular" | "angular" | "polymer" | "svelte" | "sveltekit" | "sveltekit-1" | "ionic-react" | "create-react-app" | "gridsome" | "umijs" | "sapper" | "saber" | "stencil" | "nuxtjs" | "redwoodjs" | "hugo" | "jekyll" | "brunch" | "middleman" | "zola" | "hydrogen" | "vite" | "tanstack-start" | "vitepress" | "vuepress" | "parcel" | "fastapi" | "flask" | "fasthtml" | "sanity-v3" | "sanity" | "storybook" | "nitro" | "hono" | "express" | "h3" | "nestjs" | "elysia" | "fastify" | "xmcp" ``` \ No newline at end of file diff --git a/docs/models/getprojectsgitprovideroptions.md b/docs/models/getprojectsgitprovideroptions.md index de4353aab..515cadcfa 100644 --- a/docs/models/getprojectsgitprovideroptions.md +++ b/docs/models/getprojectsgitprovideroptions.md @@ -15,4 +15,5 @@ let value: GetProjectsGitProviderOptions = { | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `createDeployments` | [models.GetProjectsCreateDeployments](../models/getprojectscreatedeployments.md) | :heavy_check_mark: | Whether the Vercel bot should automatically create GitHub deployments https://docs.github.com/en/rest/deployments/deployments#about-deployments NOTE: repository-dispatch events should be used instead | -| `disableRepositoryDispatchEvents` | *boolean* | :heavy_minus_sign: | Whether the Vercel bot should not automatically create GitHub repository-dispatch events on deployment events. https://vercel.com/docs/git/vercel-for-github#repository-dispatch-events | \ No newline at end of file +| `disableRepositoryDispatchEvents` | *boolean* | :heavy_minus_sign: | Whether the Vercel bot should not automatically create GitHub repository-dispatch events on deployment events. https://vercel.com/docs/git/vercel-for-github#repository-dispatch-events | +| `requireVerifiedCommits` | *boolean* | :heavy_minus_sign: | Whether the project requires commits to be signed before deployments will be created. | \ No newline at end of file diff --git a/docs/models/getprojectsmicrofrontends.md b/docs/models/getprojectsmicrofrontends.md index 9c8c69d48..23428e0c5 100644 --- a/docs/models/getprojectsmicrofrontends.md +++ b/docs/models/getprojectsmicrofrontends.md @@ -7,12 +7,12 @@ ```typescript const value: models.GetProjectsMicrofrontends1 = { - updatedAt: 7627.68, + isDefaultApp: false, + updatedAt: 6343.18, groupIds: [ "", - "", ], - enabled: true, + enabled: false, }; ``` @@ -28,3 +28,15 @@ const value: models.GetProjectsMicrofrontends2 = { }; ``` +### `models.GetProjectsMicrofrontends3` + +```typescript +const value: models.GetProjectsMicrofrontends3 = { + updatedAt: 2084.87, + groupIds: [ + "", + ], + enabled: true, +}; +``` + diff --git a/docs/models/getprojectsmicrofrontends1.md b/docs/models/getprojectsmicrofrontends1.md index 0e24a1e27..e6824f215 100644 --- a/docs/models/getprojectsmicrofrontends1.md +++ b/docs/models/getprojectsmicrofrontends1.md @@ -6,22 +6,22 @@ import { GetProjectsMicrofrontends1 } from "@vercel/sdk/models/getprojectsop.js"; let value: GetProjectsMicrofrontends1 = { - updatedAt: 7627.68, + isDefaultApp: false, + updatedAt: 6343.18, groupIds: [ "", - "", ], - enabled: true, + enabled: false, }; ``` ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `updatedAt` | *number* | :heavy_check_mark: | Timestamp when the microfrontends settings were last updated. | -| `groupIds` | *string*[] | :heavy_check_mark: | 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. | -| `enabled` | *boolean* | :heavy_check_mark: | Whether microfrontends are enabled for this project. | -| `isDefaultApp` | *boolean* | :heavy_minus_sign: | 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. | -| `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. Includes the leading slash, e.g. `/docs` | -| `routeObservabilityToThisProject` | *boolean* | :heavy_minus_sign: | Whether observability data should be routed to this microfrontend project or a root project. | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `isDefaultApp` | *boolean* | :heavy_check_mark: | N/A | +| `updatedAt` | *number* | :heavy_check_mark: | Timestamp when the microfrontends settings were last updated. | +| `groupIds` | *string*[] | :heavy_check_mark: | 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. | +| `enabled` | *boolean* | :heavy_check_mark: | Whether microfrontends are enabled for this project. | +| `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. Includes the leading slash, e.g. `/docs` | +| `freeProjectForLegacyLimits` | *boolean* | :heavy_minus_sign: | Whether the project was part of the legacy limits for hobby and pro-trial before billing was added. This field is only set when the team is upgraded to a paid plan and we are backfilling the subscription status. We cap the subscription to 2 projects and set this field for the 3rd project. When this field is set, the project is not charged for and we do not call any billing APIs for this project. | \ No newline at end of file diff --git a/docs/models/getprojectsmicrofrontends2.md b/docs/models/getprojectsmicrofrontends2.md index 8e6b483bd..c40461888 100644 --- a/docs/models/getprojectsmicrofrontends2.md +++ b/docs/models/getprojectsmicrofrontends2.md @@ -16,8 +16,13 @@ let value: GetProjectsMicrofrontends2 = { ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `updatedAt` | *number* | :heavy_check_mark: | N/A | -| `groupIds` | *any*[] | :heavy_check_mark: | N/A | -| `enabled` | *boolean* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `isDefaultApp` | *boolean* | :heavy_minus_sign: | N/A | +| `routeObservabilityToThisProject` | *boolean* | :heavy_minus_sign: | Whether observability data should be routed to this microfrontend project or a root project. | +| `doNotRouteWithMicrofrontendsRouting` | *boolean* | :heavy_minus_sign: | Whether to add microfrontends routing to aliases. This means domains in this project will route as a microfrontend. | +| `updatedAt` | *number* | :heavy_check_mark: | Timestamp when the microfrontends settings were last updated. | +| `groupIds` | *string*[] | :heavy_check_mark: | 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. | +| `enabled` | *boolean* | :heavy_check_mark: | Whether microfrontends are enabled for this project. | +| `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. Includes the leading slash, e.g. `/docs` | +| `freeProjectForLegacyLimits` | *boolean* | :heavy_minus_sign: | Whether the project was part of the legacy limits for hobby and pro-trial before billing was added. This field is only set when the team is upgraded to a paid plan and we are backfilling the subscription status. We cap the subscription to 2 projects and set this field for the 3rd project. When this field is set, the project is not charged for and we do not call any billing APIs for this project. | \ No newline at end of file diff --git a/docs/models/getprojectsmicrofrontends3.md b/docs/models/getprojectsmicrofrontends3.md new file mode 100644 index 000000000..beae1c88c --- /dev/null +++ b/docs/models/getprojectsmicrofrontends3.md @@ -0,0 +1,24 @@ +# GetProjectsMicrofrontends3 + +## Example Usage + +```typescript +import { GetProjectsMicrofrontends3 } from "@vercel/sdk/models/getprojectsop.js"; + +let value: GetProjectsMicrofrontends3 = { + updatedAt: 2084.87, + groupIds: [ + "", + ], + enabled: true, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------- | ---------------------------- | ---------------------------- | ---------------------------- | +| `updatedAt` | *number* | :heavy_check_mark: | N/A | +| `groupIds` | *any*[] | :heavy_check_mark: | N/A | +| `enabled` | *boolean* | :heavy_check_mark: | N/A | +| `freeProjectForLegacyLimits` | *boolean* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getprojectsnodeversion.md b/docs/models/getprojectsnodeversion.md index 43c5ab8eb..c8c7e025a 100644 --- a/docs/models/getprojectsnodeversion.md +++ b/docs/models/getprojectsnodeversion.md @@ -11,5 +11,5 @@ let value: GetProjectsNodeVersion = "10.x"; ## Values ```typescript -"22.x" | "20.x" | "18.x" | "16.x" | "14.x" | "12.x" | "10.x" | "8.10.x" +"24.x" | "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/getprojectsoidctokenclaims.md b/docs/models/getprojectsoidctokenclaims.md index dd42199e0..111ffb409 100644 --- a/docs/models/getprojectsoidctokenclaims.md +++ b/docs/models/getprojectsoidctokenclaims.md @@ -15,6 +15,7 @@ let value: GetProjectsOidcTokenClaims = { project: "", projectId: "", environment: "", + plan: "", }; ``` @@ -30,4 +31,5 @@ let value: GetProjectsOidcTokenClaims = { | `ownerId` | *string* | :heavy_check_mark: | N/A | | `project` | *string* | :heavy_check_mark: | N/A | | `projectId` | *string* | :heavy_check_mark: | N/A | -| `environment` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| `environment` | *string* | :heavy_check_mark: | N/A | +| `plan` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getprojectspermissions.md b/docs/models/getprojectspermissions.md index e1fc38e98..d51d5242e 100644 --- a/docs/models/getprojectspermissions.md +++ b/docs/models/getprojectspermissions.md @@ -18,9 +18,17 @@ let value: GetProjectsPermissions = {}; | `userSudo` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | | `webAuthn` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | | `accessGroup` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `agent` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `alerts` | [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 | +| `apiKey` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `apiKeyAiGateway` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `apiKeyOwnedBySelf` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `oauth2Application` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `vercelAppInstallation` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `vercelAppInstallationRequest` | [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 | @@ -32,6 +40,7 @@ let value: GetProjectsPermissions = {}; | `billingRefund` | [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 | +| `blobStoreTokenSet` | [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 | @@ -39,6 +48,7 @@ let value: GetProjectsPermissions = {}; | `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 | +| `dataCacheBillingSettings` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | | `defaultDeploymentProtection` | [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 | @@ -49,40 +59,48 @@ let value: GetProjectsPermissions = {}; | `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 | +| `drain` | [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 | +| `endpointVerification` | [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 | | `flagsExplorerSubscription` | [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 | | `imageOptimizationNewPrice` | [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 | -| `integrationSSOSession` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `integrationResource` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `integrationConfigurationTransfer` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `integrationDeploymentAction` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | | `integrationEvent` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `integrationLog` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `integrationResource` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `integrationResourceReplCommand` | [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 | +| `integrationSSOSession` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `integrationStoreTokenSet` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `integrationVercelConfigurationOverride` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `integrationPullRequest` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `ipBlocking` | [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 | | `marketplaceBillingData` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `marketplaceExperimentationEdgeConfigData` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `marketplaceExperimentationItem` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `marketplaceInstallationMember` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | | `marketplaceInvoice` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | | `marketplaceSettings` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `marketplaceExperimentationItem` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `marketplaceExperimentationEdgeConfigData` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `jobGlobal` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `drain` | [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 | +| `monitoringChart` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `monitoringQuery` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `monitoringSettings` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `notificationCustomerBudget` | [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 | @@ -93,42 +111,38 @@ let value: GetProjectsPermissions = {}; | `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 | | `notificationPreferences` | [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 | +| `notificationUsageAlert` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | | `observabilityConfiguration` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `alerts` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `observabilityNotebook` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | | `observabilityFunnel` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `observabilityNotebook` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | | `openTelemetryEndpoint` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `vercelAppInstallation` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `vercelAppInstallationRequest` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `ownEvent` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `organizationDomain` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `passwordProtectionInvoiceItem` | [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 | +| `postgresStoreTokenSet` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | | `previewDeploymentSuffix` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectTransferIn` | [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 | +| `redisStoreTokenSet` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | | `remoteCaching` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `repository` | [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 | +| `sensitiveEnvironmentVariablePolicy` | [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 | | `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 | @@ -143,26 +157,15 @@ let value: GetProjectsPermissions = {}; | `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 | +| `vercelRun` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `vercelRunExec` | [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 | -| `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 | -| `vercelRun` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `vercelRunExec` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `apiKey` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `apiKeyOwnedBySelf` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `apiKeyAiGateway` | [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 | | `buildMachine` | [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 | @@ -178,51 +181,52 @@ let value: GetProjectsPermissions = {}; | `deploymentRollback` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | | `edgeCacheNamespace` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | | `environments` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `job` | [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 | | `onDemandBuild` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | | `onDemandConcurrency` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `optionsAllowlist` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `passwordProtection` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `productionAliasProtectionBypass` | [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 | +| `projectAnalyticsUsage` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | | `projectCheck` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | | `projectCheckRun` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectDeploymentExpiration` | [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 | +| `projectDomainMove` | [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 | +| `projectFlagsProduction` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectFromV0` | [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 | +| `projectOIDCToken` | [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 | +| `projectRollingRelease` | [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 | -| `projectRollingRelease` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | | `projectTier` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectOIDCToken` | [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 | +| `projectUsage` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | | `seawallConfig` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `sharedEnvVarConnection` | [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 | | `v0Chat` | [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 +| `webAnalytics` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getprojectsprojects.md b/docs/models/getprojectsprojects.md index 3979e5dee..22300ff9a 100644 --- a/docs/models/getprojectsprojects.md +++ b/docs/models/getprojectsprojects.md @@ -136,6 +136,7 @@ let value: GetProjectsProjects = { | `skewProtectionBoundaryAt` | *number* | :heavy_minus_sign: | N/A | | `skewProtectionMaxAge` | *number* | :heavy_minus_sign: | N/A | | `skipGitConnectDuringLink` | *boolean* | :heavy_minus_sign: | N/A | +| `staticIps` | [models.GetProjectsStaticIps](../models/getprojectsstaticips.md) | :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 | @@ -165,4 +166,6 @@ let value: GetProjectsProjects = { | `features` | [models.GetProjectsFeatures](../models/getprojectsfeatures.md) | :heavy_minus_sign: | N/A | | `v0` | *boolean* | :heavy_minus_sign: | N/A | | `abuse` | [models.GetProjectsAbuse](../models/getprojectsabuse.md) | :heavy_minus_sign: | N/A | -| `internalRoutes` | *models.GetProjectsInternalRoutes*[] | :heavy_minus_sign: | N/A | \ No newline at end of file +| `internalRoutes` | *models.GetProjectsInternalRoutes*[] | :heavy_minus_sign: | N/A | +| `hasDeployments` | *boolean* | :heavy_minus_sign: | N/A | +| `dismissedToasts` | [models.GetProjectsDismissedToasts](../models/getprojectsdismissedtoasts.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getprojectsprojectsaction.md b/docs/models/getprojectsprojectsaction.md index a7b117325..f5330a563 100644 --- a/docs/models/getprojectsprojectsaction.md +++ b/docs/models/getprojectsprojectsaction.md @@ -5,11 +5,11 @@ ```typescript import { GetProjectsProjectsAction } from "@vercel/sdk/models/getprojectsop.js"; -let value: GetProjectsProjectsAction = "log"; +let value: GetProjectsProjectsAction = "blocked"; ``` ## Values ```typescript -"log" | "challenge" | "deny" +"blocked" ``` \ No newline at end of file diff --git a/docs/models/getprojectsprojectsoidctokenclaims.md b/docs/models/getprojectsprojectsoidctokenclaims.md index 32cb8e840..b542c040a 100644 --- a/docs/models/getprojectsprojectsoidctokenclaims.md +++ b/docs/models/getprojectsprojectsoidctokenclaims.md @@ -15,6 +15,7 @@ let value: GetProjectsProjectsOidcTokenClaims = { project: "", projectId: "", environment: "", + plan: "", }; ``` @@ -30,4 +31,5 @@ let value: GetProjectsProjectsOidcTokenClaims = { | `ownerId` | *string* | :heavy_check_mark: | N/A | | `project` | *string* | :heavy_check_mark: | N/A | | `projectId` | *string* | :heavy_check_mark: | N/A | -| `environment` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| `environment` | *string* | :heavy_check_mark: | N/A | +| `plan` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getprojectsprojectsresponse200applicationjsonaction.md b/docs/models/getprojectsprojectsresponse200applicationjsonaction.md new file mode 100644 index 000000000..f52f08ba5 --- /dev/null +++ b/docs/models/getprojectsprojectsresponse200applicationjsonaction.md @@ -0,0 +1,15 @@ +# GetProjectsProjectsResponse200ApplicationJSONAction + +## Example Usage + +```typescript +import { GetProjectsProjectsResponse200ApplicationJSONAction } from "@vercel/sdk/models/getprojectsop.js"; + +let value: GetProjectsProjectsResponse200ApplicationJSONAction = "challenge"; +``` + +## Values + +```typescript +"log" | "challenge" | "deny" +``` \ No newline at end of file diff --git a/docs/models/getprojectsrequest.md b/docs/models/getprojectsrequest.md index e6eec0ae3..109aede5e 100644 --- a/docs/models/getprojectsrequest.md +++ b/docs/models/getprojectsrequest.md @@ -9,6 +9,8 @@ let value: GetProjectsRequest = { gitForkProtection: "1", repoUrl: "https://github.com/vercel/next.js", elasticConcurrencyEnabled: "1", + staticIpsEnabled: "1", + buildMachineTypes: "default,enhanced", teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", slug: "my-team-url-slug", }; @@ -16,19 +18,21 @@ let value: GetProjectsRequest = { ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | -| `from` | *string* | :heavy_minus_sign: | Query only projects updated after the given timestamp or continuation token. | | -| `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 | | -| `repoId` | *string* | :heavy_minus_sign: | Filter results by Repository ID. | | -| `repoUrl` | *string* | :heavy_minus_sign: | Filter results by Repository URL. | https://github.com/vercel/next.js | -| `excludeRepos` | *string* | :heavy_minus_sign: | Filter results by excluding those projects that belong to a repo | | -| `edgeConfigId` | *string* | :heavy_minus_sign: | Filter results by connected Edge Config ID | | -| `edgeConfigTokenId` | *string* | :heavy_minus_sign: | Filter results by connected Edge Config Token ID | | -| `deprecated` | *boolean* | :heavy_minus_sign: | N/A | | -| `elasticConcurrencyEnabled` | [models.ElasticConcurrencyEnabled](../models/elasticconcurrencyenabled.md) | :heavy_minus_sign: | Filter results by projects with elastic concurrency enabled | 1 | -| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | team_1a2b3c4d5e6f7g8h9i0j1k2l | -| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | my-team-url-slug | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | +| `from` | *string* | :heavy_minus_sign: | Query only projects updated after the given timestamp or continuation token. | | +| `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 | | +| `repoId` | *string* | :heavy_minus_sign: | Filter results by Repository ID. | | +| `repoUrl` | *string* | :heavy_minus_sign: | Filter results by Repository URL. | https://github.com/vercel/next.js | +| `excludeRepos` | *string* | :heavy_minus_sign: | Filter results by excluding those projects that belong to a repo | | +| `edgeConfigId` | *string* | :heavy_minus_sign: | Filter results by connected Edge Config ID | | +| `edgeConfigTokenId` | *string* | :heavy_minus_sign: | Filter results by connected Edge Config Token ID | | +| `deprecated` | *boolean* | :heavy_minus_sign: | N/A | | +| `elasticConcurrencyEnabled` | [models.ElasticConcurrencyEnabled](../models/elasticconcurrencyenabled.md) | :heavy_minus_sign: | Filter results by projects with elastic concurrency enabled | 1 | +| `staticIpsEnabled` | [models.StaticIpsEnabled](../models/staticipsenabled.md) | :heavy_minus_sign: | Filter results by projects with Static IPs enabled | 1 | +| `buildMachineTypes` | *string* | :heavy_minus_sign: | Filter results by build machine types. Accepts comma-separated values. Use \"default\" for projects without a build machine type set. | default,enhanced | +| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | team_1a2b3c4d5e6f7g8h9i0j1k2l | +| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | my-team-url-slug | \ No newline at end of file diff --git a/docs/models/getprojectsresponsebody.md b/docs/models/getprojectsresponsebody.md index ae32d95ba..e740227a0 100644 --- a/docs/models/getprojectsresponsebody.md +++ b/docs/models/getprojectsresponsebody.md @@ -48,7 +48,7 @@ let value: GetProjectsResponseBody = { }, ], name: "", - nodeVersion: "20.x", + nodeVersion: "22.x", resourceConfig: { functionDefaultRegions: [ "", diff --git a/docs/models/getprojectsstaticips.md b/docs/models/getprojectsstaticips.md new file mode 100644 index 000000000..a424796ef --- /dev/null +++ b/docs/models/getprojectsstaticips.md @@ -0,0 +1,24 @@ +# GetProjectsStaticIps + +## Example Usage + +```typescript +import { GetProjectsStaticIps } from "@vercel/sdk/models/getprojectsop.js"; + +let value: GetProjectsStaticIps = { + builds: true, + enabled: true, + regions: [ + "", + "", + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `builds` | *boolean* | :heavy_check_mark: | N/A | +| `enabled` | *boolean* | :heavy_check_mark: | N/A | +| `regions` | *string*[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getprojectsvalue.md b/docs/models/getprojectsvalue.md new file mode 100644 index 000000000..c9c354519 --- /dev/null +++ b/docs/models/getprojectsvalue.md @@ -0,0 +1,32 @@ +# GetProjectsValue + + +## Supported Types + +### `string` + +```typescript +const value: string = ""; +``` + +### `number` + +```typescript +const value: number = 1284.03; +``` + +### `boolean` + +```typescript +const value: boolean = true; +``` + +### `models.GetProjectsValue4` + +```typescript +const value: models.GetProjectsValue4 = { + previousValue: "", + currentValue: "", +}; +``` + diff --git a/docs/models/getprojectsvalue4.md b/docs/models/getprojectsvalue4.md new file mode 100644 index 000000000..2f26d4758 --- /dev/null +++ b/docs/models/getprojectsvalue4.md @@ -0,0 +1,19 @@ +# GetProjectsValue4 + +## Example Usage + +```typescript +import { GetProjectsValue4 } from "@vercel/sdk/models/getprojectsop.js"; + +let value: GetProjectsValue4 = { + previousValue: "", + currentValue: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- | +| `previousValue` | *models.GetProjectsValuePreviousValue* | :heavy_check_mark: | N/A | +| `currentValue` | *models.GetProjectsValueCurrentValue* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getprojectsvaluecurrentvalue.md b/docs/models/getprojectsvaluecurrentvalue.md new file mode 100644 index 000000000..7715d84fd --- /dev/null +++ b/docs/models/getprojectsvaluecurrentvalue.md @@ -0,0 +1,23 @@ +# GetProjectsValueCurrentValue + + +## Supported Types + +### `string` + +```typescript +const value: string = ""; +``` + +### `number` + +```typescript +const value: number = 1284.03; +``` + +### `boolean` + +```typescript +const value: boolean = true; +``` + diff --git a/docs/models/getprojectsvaluepreviousvalue.md b/docs/models/getprojectsvaluepreviousvalue.md new file mode 100644 index 000000000..2272dccb1 --- /dev/null +++ b/docs/models/getprojectsvaluepreviousvalue.md @@ -0,0 +1,23 @@ +# GetProjectsValuePreviousValue + + +## Supported Types + +### `string` + +```typescript +const value: string = ""; +``` + +### `number` + +```typescript +const value: number = 1284.03; +``` + +### `boolean` + +```typescript +const value: boolean = true; +``` + diff --git a/docs/models/getrollingreleasereadystate.md b/docs/models/getrollingreleasereadystate.md index 3356a1bb2..9d9c8acbb 100644 --- a/docs/models/getrollingreleasereadystate.md +++ b/docs/models/getrollingreleasereadystate.md @@ -1,5 +1,7 @@ # GetRollingReleaseReadyState +The state of the deployment depending on the process of deploying, or if it is ready or in an error state + ## Example Usage ```typescript diff --git a/docs/models/getrollingreleaserollingreleasereadystate.md b/docs/models/getrollingreleaserollingreleasereadystate.md index e9bfad7bd..932c82df7 100644 --- a/docs/models/getrollingreleaserollingreleasereadystate.md +++ b/docs/models/getrollingreleaserollingreleasereadystate.md @@ -1,11 +1,13 @@ # GetRollingReleaseRollingReleaseReadyState +The state of the deployment depending on the process of deploying, or if it is ready or in an error state + ## Example Usage ```typescript import { GetRollingReleaseRollingReleaseReadyState } from "@vercel/sdk/models/getrollingreleaseop.js"; -let value: GetRollingReleaseRollingReleaseReadyState = "CANCELED"; +let value: GetRollingReleaseRollingReleaseReadyState = "READY"; ``` ## Values diff --git a/docs/models/getrollingreleaserollingreleasesource.md b/docs/models/getrollingreleaserollingreleasesource.md index 6d2a83caf..e2af83415 100644 --- a/docs/models/getrollingreleaserollingreleasesource.md +++ b/docs/models/getrollingreleaserollingreleasesource.md @@ -1,11 +1,13 @@ # GetRollingReleaseRollingReleaseSource +Where was the deployment created from + ## Example Usage ```typescript import { GetRollingReleaseRollingReleaseSource } from "@vercel/sdk/models/getrollingreleaseop.js"; -let value: GetRollingReleaseRollingReleaseSource = "api-trigger-git-deploy"; +let value: GetRollingReleaseRollingReleaseSource = "cli"; ``` ## Values diff --git a/docs/models/getrollingreleaserollingreleasetarget.md b/docs/models/getrollingreleaserollingreleasetarget.md index 0dea06638..0bd13b62f 100644 --- a/docs/models/getrollingreleaserollingreleasetarget.md +++ b/docs/models/getrollingreleaserollingreleasetarget.md @@ -1,5 +1,7 @@ # GetRollingReleaseRollingReleaseTarget +If defined, either `staging` if a staging alias in the format `..now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment. + ## Example Usage ```typescript diff --git a/docs/models/getrollingreleasesource.md b/docs/models/getrollingreleasesource.md index c580fc815..042a40427 100644 --- a/docs/models/getrollingreleasesource.md +++ b/docs/models/getrollingreleasesource.md @@ -1,11 +1,13 @@ # GetRollingReleaseSource +Where was the deployment created from + ## Example Usage ```typescript import { GetRollingReleaseSource } from "@vercel/sdk/models/getrollingreleaseop.js"; -let value: GetRollingReleaseSource = "import"; +let value: GetRollingReleaseSource = "cli"; ``` ## Values diff --git a/docs/models/getrollingreleasetarget.md b/docs/models/getrollingreleasetarget.md index f397f5529..41478e7bc 100644 --- a/docs/models/getrollingreleasetarget.md +++ b/docs/models/getrollingreleasetarget.md @@ -1,5 +1,7 @@ # GetRollingReleaseTarget +If defined, either `staging` if a staging alias in the format `..now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment. + ## Example Usage ```typescript diff --git a/docs/models/getsharedenvvarrequest.md b/docs/models/getsharedenvvarrequest.md new file mode 100644 index 000000000..da3b86bec --- /dev/null +++ b/docs/models/getsharedenvvarrequest.md @@ -0,0 +1,21 @@ +# GetSharedEnvVarRequest + +## Example Usage + +```typescript +import { GetSharedEnvVarRequest } from "@vercel/sdk/models/getsharedenvvarop.js"; + +let value: GetSharedEnvVarRequest = { + id: "", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + slug: "my-team-url-slug", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | The unique ID for the Shared Environment Variable to get the decrypted value. | | +| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | team_1a2b3c4d5e6f7g8h9i0j1k2l | +| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | my-team-url-slug | \ No newline at end of file diff --git a/docs/models/getsharedenvvarresponsebody.md b/docs/models/getsharedenvvarresponsebody.md new file mode 100644 index 000000000..46ecb72ca --- /dev/null +++ b/docs/models/getsharedenvvarresponsebody.md @@ -0,0 +1,51 @@ +# GetSharedEnvVarResponseBody + +## Example Usage + +```typescript +import { GetSharedEnvVarResponseBody } from "@vercel/sdk/models/getsharedenvvarop.js"; + +let value: GetSharedEnvVarResponseBody = { + created: new Date("2021-02-10T13:11:49.180Z"), + key: "my-api-key", + ownerId: "team_LLHUOMOoDlqOp8wPE4kFo9pE", + id: "env_XCG7t7AIHuO2SBA8667zNUiM", + createdBy: "2qDDuGFTWXBLDNnqZfWPDp1A", + deletedBy: "2qDDuGFTWXBLDNnqZfWPDp1A", + updatedBy: "2qDDuGFTWXBLDNnqZfWPDp1A", + createdAt: 1609492210000, + deletedAt: 1609492210000, + updatedAt: 1609492210000, + projectId: [ + "prj_2WjyKQmM8ZnGcJsPWMrHRHrE", + "prj_2WjyKQmM8ZnGcJsPWMrasEFg", + ], + type: "encrypted", + target: [ + "production", + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `created` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The date when the Shared Env Var was created. | 2021-02-10T13:11:49.180Z | +| `key` | *string* | :heavy_minus_sign: | The name of the Shared Env Var. | my-api-key | +| `ownerId` | *string* | :heavy_minus_sign: | The unique identifier of the owner (team) the Shared Env Var was created for. | team_LLHUOMOoDlqOp8wPE4kFo9pE | +| `id` | *string* | :heavy_minus_sign: | The unique identifier of the Shared Env Var. | env_XCG7t7AIHuO2SBA8667zNUiM | +| `createdBy` | *string* | :heavy_minus_sign: | The unique identifier of the user who created the Shared Env Var. | 2qDDuGFTWXBLDNnqZfWPDp1A | +| `deletedBy` | *string* | :heavy_minus_sign: | The unique identifier of the user who deleted the Shared Env Var. | 2qDDuGFTWXBLDNnqZfWPDp1A | +| `updatedBy` | *string* | :heavy_minus_sign: | The unique identifier of the user who last updated the Shared Env Var. | 2qDDuGFTWXBLDNnqZfWPDp1A | +| `createdAt` | *number* | :heavy_minus_sign: | Timestamp for when the Shared Env Var was created. | 1609492210000 | +| `deletedAt` | *number* | :heavy_minus_sign: | Timestamp for when the Shared Env Var was (soft) deleted. | 1609492210000 | +| `updatedAt` | *number* | :heavy_minus_sign: | Timestamp for when the Shared Env Var was last updated. | 1609492210000 | +| `value` | *string* | :heavy_minus_sign: | The value of the Shared Env Var. | | +| `projectId` | *string*[] | :heavy_minus_sign: | The unique identifiers of the projects which the Shared Env Var is linked to. | [
"prj_2WjyKQmM8ZnGcJsPWMrHRHrE",
"prj_2WjyKQmM8ZnGcJsPWMrasEFg"
] | +| `type` | [models.GetSharedEnvVarType](../models/getsharedenvvartype.md) | :heavy_minus_sign: | The type of this cosmos doc instance, if blank, assume secret. | encrypted | +| `target` | [models.GetSharedEnvVarTarget](../models/getsharedenvvartarget.md)[] | :heavy_minus_sign: | environments this env variable targets | production | +| `applyToAllCustomEnvironments` | *boolean* | :heavy_minus_sign: | whether or not this env varible applies to custom environments | | +| `decrypted` | *boolean* | :heavy_minus_sign: | whether or not this env variable is decrypted | | +| `comment` | *string* | :heavy_minus_sign: | A user provided comment that describes what this Shared Env Var is for. | | +| `lastEditedByDisplayName` | *string* | :heavy_minus_sign: | The last editor full name or username. | | \ No newline at end of file diff --git a/docs/models/getsharedenvvartarget.md b/docs/models/getsharedenvvartarget.md new file mode 100644 index 000000000..54dbe7531 --- /dev/null +++ b/docs/models/getsharedenvvartarget.md @@ -0,0 +1,17 @@ +# GetSharedEnvVarTarget + +environments this env variable targets + +## Example Usage + +```typescript +import { GetSharedEnvVarTarget } from "@vercel/sdk/models/getsharedenvvarop.js"; + +let value: GetSharedEnvVarTarget = "production"; +``` + +## Values + +```typescript +"production" | "preview" | "development" +``` \ No newline at end of file diff --git a/docs/models/getsharedenvvartype.md b/docs/models/getsharedenvvartype.md new file mode 100644 index 000000000..f590c5906 --- /dev/null +++ b/docs/models/getsharedenvvartype.md @@ -0,0 +1,17 @@ +# GetSharedEnvVarType + +The type of this cosmos doc instance, if blank, assume secret. + +## Example Usage + +```typescript +import { GetSharedEnvVarType } from "@vercel/sdk/models/getsharedenvvarop.js"; + +let value: GetSharedEnvVarType = "encrypted"; +``` + +## Values + +```typescript +"encrypted" | "sensitive" | "system" | "plain" +``` \ No newline at end of file diff --git a/docs/models/getsupportedtldsrequest.md b/docs/models/getsupportedtldsrequest.md new file mode 100644 index 000000000..97a6aafe9 --- /dev/null +++ b/docs/models/getsupportedtldsrequest.md @@ -0,0 +1,17 @@ +# GetSupportedTldsRequest + +## Example Usage + +```typescript +import { GetSupportedTldsRequest } from "@vercel/sdk/models/getsupportedtldsop.js"; + +let value: GetSupportedTldsRequest = { + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------- | ----------------------------- | ----------------------------- | ----------------------------- | ----------------------------- | +| `teamId` | *string* | :heavy_minus_sign: | N/A | team_1a2b3c4d5e6f7g8h9i0j1k2l | \ No newline at end of file diff --git a/docs/models/gettldpricerequest.md b/docs/models/gettldpricerequest.md new file mode 100644 index 000000000..486fe9643 --- /dev/null +++ b/docs/models/gettldpricerequest.md @@ -0,0 +1,20 @@ +# GetTldPriceRequest + +## Example Usage + +```typescript +import { GetTldPriceRequest } from "@vercel/sdk/models/gettldpriceop.js"; + +let value: GetTldPriceRequest = { + tld: "", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------- | ----------------------------- | ----------------------------- | ----------------------------- | ----------------------------- | +| `tld` | *string* | :heavy_check_mark: | N/A | | +| `years` | *string* | :heavy_minus_sign: | N/A | | +| `teamId` | *string* | :heavy_minus_sign: | N/A | team_1a2b3c4d5e6f7g8h9i0j1k2l | \ No newline at end of file diff --git a/docs/models/gettldpriceresponsebody.md b/docs/models/gettldpriceresponsebody.md new file mode 100644 index 000000000..f87516930 --- /dev/null +++ b/docs/models/gettldpriceresponsebody.md @@ -0,0 +1,25 @@ +# GetTldPriceResponseBody + +Success + +## Example Usage + +```typescript +import { GetTldPriceResponseBody } from "@vercel/sdk/models/gettldpriceop.js"; + +let value: GetTldPriceResponseBody = { + years: 1341.28, + purchasePrice: 8116.17, + renewalPrice: 5324.89, + transferPrice: 2602.11, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `years` | *number* | :heavy_check_mark: | The number of years the returned price is for. | +| `purchasePrice` | *number* | :heavy_check_mark: | The base TLD price for purchasing a domain for the given number of years. If null, the TLD does not support purchasing domains for the given number of years. | +| `renewalPrice` | *number* | :heavy_check_mark: | The base TLD price for renewing a domain for the given number of years. If null, the TLD does not support renewing domains for the given number of years. | +| `transferPrice` | *number* | :heavy_check_mark: | The base TLD price for transferring a domain in for the given number of years. If null, the TLD does not support transferring domains in for the given number of years. | \ No newline at end of file diff --git a/docs/models/getv1securityfirewalleventsrequest.md b/docs/models/getv1securityfirewalleventsrequest.md new file mode 100644 index 000000000..53bdaea34 --- /dev/null +++ b/docs/models/getv1securityfirewalleventsrequest.md @@ -0,0 +1,20 @@ +# GetV1SecurityFirewallEventsRequest + +## Example Usage + +```typescript +import { GetV1SecurityFirewallEventsRequest } from "@vercel/sdk/models/getv1securityfirewalleventsop.js"; + +let value: GetV1SecurityFirewallEventsRequest = { + projectId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `startTimestamp` | *number* | :heavy_minus_sign: | N/A | +| `endTimestamp` | *number* | :heavy_minus_sign: | N/A | +| `hosts` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/getv1securityfirewalleventsresponsebody.md b/docs/models/getv1securityfirewalleventsresponsebody.md new file mode 100644 index 000000000..b12dd71eb --- /dev/null +++ b/docs/models/getv1securityfirewalleventsresponsebody.md @@ -0,0 +1,17 @@ +# GetV1SecurityFirewallEventsResponseBody + +## Example Usage + +```typescript +import { GetV1SecurityFirewallEventsResponseBody } from "@vercel/sdk/models/getv1securityfirewalleventsop.js"; + +let value: GetV1SecurityFirewallEventsResponseBody = { + actions: [], +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | +| `actions` | [models.Actions](../models/actions.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/getwebhookevents.md b/docs/models/getwebhookevents.md index 8dd190eb7..74a43aaff 100644 --- a/docs/models/getwebhookevents.md +++ b/docs/models/getwebhookevents.md @@ -13,5 +13,5 @@ let value: GetWebhookEvents = "deployment.created"; ## Values ```typescript -"budget.reached" | "budget.reset" | "domain.created" | "domain.dns.records.changed" | "domain.transfer-in.started" | "domain.transfer-in.completed" | "domain.transfer-in.failed" | "domain.certificate.add" | "domain.certificate.add.failed" | "domain.certificate.renew" | "domain.certificate.renew.failed" | "domain.certificate.deleted" | "domain.renewal" | "domain.renewal.failed" | "domain.auto-renew.changed" | "deployment.created" | "deployment.cleanup" | "deployment.error" | "deployment.canceled" | "deployment.succeeded" | "deployment.ready" | "deployment.check-rerequested" | "deployment.promoted" | "deployment.integration.action.start" | "deployment.integration.action.cancel" | "deployment.integration.action.cleanup" | "deployment.checkrun.start" | "deployment.checkrun.cancel" | "edge-config.created" | "edge-config.deleted" | "edge-config.items.updated" | "firewall.attack" | "integration-configuration.permission-upgraded" | "integration-configuration.removed" | "integration-configuration.scope-change-confirmed" | "integration-resource.project-connected" | "integration-resource.project-disconnected" | "project.created" | "project.removed" | "project.domain.created" | "project.domain.updated" | "project.domain.deleted" | "project.domain.verified" | "project.domain.unverified" | "project.domain.moved" | "project.rolling-release.started" | "project.rolling-release.aborted" | "project.rolling-release.completed" | "project.rolling-release.approved" | "deployment.checks.failed" | "deployment.checks.succeeded" | "deployment-checks-completed" | "deployment-ready" | "deployment-prepared" | "deployment-error" | "deployment-check-rerequested" | "deployment-canceled" | "project-created" | "project-removed" | "domain-created" | "deployment" | "integration-configuration-permission-updated" | "integration-configuration-removed" | "integration-configuration-scope-change-confirmed" | "marketplace.member.changed" | "marketplace.invoice.created" | "marketplace.invoice.paid" | "marketplace.invoice.notpaid" | "marketplace.invoice.refunded" | "observability.anomaly" | "observability.anomaly-error" | "observability.anomaly-botId" | "test-webhook" +"budget.reached" | "budget.reset" | "domain.created" | "domain.dns.records.changed" | "domain.transfer-in.started" | "domain.transfer-in.completed" | "domain.transfer-in.failed" | "domain.certificate.add" | "domain.certificate.add.failed" | "domain.certificate.renew" | "domain.certificate.renew.failed" | "domain.certificate.deleted" | "domain.renewal" | "domain.renewal.failed" | "domain.auto-renew.changed" | "deployment.created" | "deployment.cleanup" | "deployment.error" | "deployment.canceled" | "deployment.succeeded" | "deployment.ready" | "deployment.check-rerequested" | "deployment.promoted" | "deployment.integration.action.start" | "deployment.integration.action.cancel" | "deployment.integration.action.cleanup" | "deployment.checkrun.start" | "deployment.checkrun.cancel" | "edge-config.created" | "edge-config.deleted" | "edge-config.items.updated" | "firewall.attack" | "integration-configuration.permission-upgraded" | "integration-configuration.removed" | "integration-configuration.scope-change-confirmed" | "integration-resource.project-connected" | "integration-resource.project-disconnected" | "project.created" | "project.removed" | "project.domain.created" | "project.domain.updated" | "project.domain.deleted" | "project.domain.verified" | "project.domain.unverified" | "project.domain.moved" | "project.rolling-release.started" | "project.rolling-release.aborted" | "project.rolling-release.completed" | "project.rolling-release.approved" | "deployment.checks.failed" | "deployment.checks.succeeded" | "deployment-checks-completed" | "deployment-ready" | "deployment-prepared" | "deployment-error" | "deployment-check-rerequested" | "deployment-canceled" | "project-created" | "project-removed" | "domain-created" | "deployment" | "integration-configuration-permission-updated" | "integration-configuration-removed" | "integration-configuration-scope-change-confirmed" | "marketplace.member.changed" | "marketplace.invoice.created" | "marketplace.invoice.paid" | "marketplace.invoice.notpaid" | "marketplace.invoice.refunded" | "observability.anomaly" | "observability.anomaly-error" | "observability.usage-anomaly" | "observability.error-anomaly" | "observability.anomaly-botId" | "test-webhook" ``` \ No newline at end of file diff --git a/docs/models/getwebhooksresponsebody1.md b/docs/models/getwebhooksresponsebody1.md index 2add57537..8df893ab0 100644 --- a/docs/models/getwebhooksresponsebody1.md +++ b/docs/models/getwebhooksresponsebody1.md @@ -23,13 +23,13 @@ let value: GetWebhooksResponseBody1 = { ## Fields -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | -| `projectsMetadata` | [models.ResponseBodyProjectsMetadata](../models/responsebodyprojectsmetadata.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 +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | +| `projectsMetadata` | [models.GetWebhooksResponseBodyProjectsMetadata](../models/getwebhooksresponsebodyprojectsmetadata.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/getwebhooksresponsebodyevents.md b/docs/models/getwebhooksresponsebodyevents.md index cb6c55d12..0c7876560 100644 --- a/docs/models/getwebhooksresponsebodyevents.md +++ b/docs/models/getwebhooksresponsebodyevents.md @@ -13,5 +13,5 @@ let value: GetWebhooksResponseBodyEvents = "deployment.created"; ## Values ```typescript -"budget.reached" | "budget.reset" | "domain.created" | "domain.dns.records.changed" | "domain.transfer-in.started" | "domain.transfer-in.completed" | "domain.transfer-in.failed" | "domain.certificate.add" | "domain.certificate.add.failed" | "domain.certificate.renew" | "domain.certificate.renew.failed" | "domain.certificate.deleted" | "domain.renewal" | "domain.renewal.failed" | "domain.auto-renew.changed" | "deployment.created" | "deployment.cleanup" | "deployment.error" | "deployment.canceled" | "deployment.succeeded" | "deployment.ready" | "deployment.check-rerequested" | "deployment.promoted" | "deployment.integration.action.start" | "deployment.integration.action.cancel" | "deployment.integration.action.cleanup" | "deployment.checkrun.start" | "deployment.checkrun.cancel" | "edge-config.created" | "edge-config.deleted" | "edge-config.items.updated" | "firewall.attack" | "integration-configuration.permission-upgraded" | "integration-configuration.removed" | "integration-configuration.scope-change-confirmed" | "integration-resource.project-connected" | "integration-resource.project-disconnected" | "project.created" | "project.removed" | "project.domain.created" | "project.domain.updated" | "project.domain.deleted" | "project.domain.verified" | "project.domain.unverified" | "project.domain.moved" | "project.rolling-release.started" | "project.rolling-release.aborted" | "project.rolling-release.completed" | "project.rolling-release.approved" | "deployment.checks.failed" | "deployment.checks.succeeded" | "deployment-checks-completed" | "deployment-ready" | "deployment-prepared" | "deployment-error" | "deployment-check-rerequested" | "deployment-canceled" | "project-created" | "project-removed" | "domain-created" | "deployment" | "integration-configuration-permission-updated" | "integration-configuration-removed" | "integration-configuration-scope-change-confirmed" | "marketplace.member.changed" | "marketplace.invoice.created" | "marketplace.invoice.paid" | "marketplace.invoice.notpaid" | "marketplace.invoice.refunded" | "observability.anomaly" | "observability.anomaly-error" | "observability.anomaly-botId" | "test-webhook" +"budget.reached" | "budget.reset" | "domain.created" | "domain.dns.records.changed" | "domain.transfer-in.started" | "domain.transfer-in.completed" | "domain.transfer-in.failed" | "domain.certificate.add" | "domain.certificate.add.failed" | "domain.certificate.renew" | "domain.certificate.renew.failed" | "domain.certificate.deleted" | "domain.renewal" | "domain.renewal.failed" | "domain.auto-renew.changed" | "deployment.created" | "deployment.cleanup" | "deployment.error" | "deployment.canceled" | "deployment.succeeded" | "deployment.ready" | "deployment.check-rerequested" | "deployment.promoted" | "deployment.integration.action.start" | "deployment.integration.action.cancel" | "deployment.integration.action.cleanup" | "deployment.checkrun.start" | "deployment.checkrun.cancel" | "edge-config.created" | "edge-config.deleted" | "edge-config.items.updated" | "firewall.attack" | "integration-configuration.permission-upgraded" | "integration-configuration.removed" | "integration-configuration.scope-change-confirmed" | "integration-resource.project-connected" | "integration-resource.project-disconnected" | "project.created" | "project.removed" | "project.domain.created" | "project.domain.updated" | "project.domain.deleted" | "project.domain.verified" | "project.domain.unverified" | "project.domain.moved" | "project.rolling-release.started" | "project.rolling-release.aborted" | "project.rolling-release.completed" | "project.rolling-release.approved" | "deployment.checks.failed" | "deployment.checks.succeeded" | "deployment-checks-completed" | "deployment-ready" | "deployment-prepared" | "deployment-error" | "deployment-check-rerequested" | "deployment-canceled" | "project-created" | "project-removed" | "domain-created" | "deployment" | "integration-configuration-permission-updated" | "integration-configuration-removed" | "integration-configuration-scope-change-confirmed" | "marketplace.member.changed" | "marketplace.invoice.created" | "marketplace.invoice.paid" | "marketplace.invoice.notpaid" | "marketplace.invoice.refunded" | "observability.anomaly" | "observability.anomaly-error" | "observability.usage-anomaly" | "observability.error-anomaly" | "observability.anomaly-botId" | "test-webhook" ``` \ No newline at end of file diff --git a/docs/models/getwebhooksresponsebodyframework.md b/docs/models/getwebhooksresponsebodyframework.md index 9e4c0abba..146ea7ded 100644 --- a/docs/models/getwebhooksresponsebodyframework.md +++ b/docs/models/getwebhooksresponsebodyframework.md @@ -5,11 +5,11 @@ ```typescript import { GetWebhooksResponseBodyFramework } from "@vercel/sdk/models/getwebhooksop.js"; -let value: GetWebhooksResponseBodyFramework = "vitepress"; +let value: GetWebhooksResponseBodyFramework = "fastapi"; ``` ## Values ```typescript -"blitzjs" | "nextjs" | "gatsby" | "remix" | "react-router" | "astro" | "hexo" | "eleventy" | "docusaurus-2" | "docusaurus" | "preact" | "solidstart-1" | "solidstart" | "dojo" | "ember" | "vue" | "scully" | "ionic-angular" | "angular" | "polymer" | "svelte" | "sveltekit" | "sveltekit-1" | "ionic-react" | "create-react-app" | "gridsome" | "umijs" | "sapper" | "saber" | "stencil" | "nuxtjs" | "redwoodjs" | "hugo" | "jekyll" | "brunch" | "middleman" | "zola" | "hydrogen" | "vite" | "vitepress" | "vuepress" | "parcel" | "fastapi" | "fasthtml" | "sanity-v3" | "sanity" | "storybook" | "nitro" | "hono" | "express" | "h3" | "xmcp" +"blitzjs" | "nextjs" | "gatsby" | "remix" | "react-router" | "astro" | "hexo" | "eleventy" | "docusaurus-2" | "docusaurus" | "preact" | "solidstart-1" | "solidstart" | "dojo" | "ember" | "vue" | "scully" | "ionic-angular" | "angular" | "polymer" | "svelte" | "sveltekit" | "sveltekit-1" | "ionic-react" | "create-react-app" | "gridsome" | "umijs" | "sapper" | "saber" | "stencil" | "nuxtjs" | "redwoodjs" | "hugo" | "jekyll" | "brunch" | "middleman" | "zola" | "hydrogen" | "vite" | "tanstack-start" | "vitepress" | "vuepress" | "parcel" | "fastapi" | "flask" | "fasthtml" | "sanity-v3" | "sanity" | "storybook" | "nitro" | "hono" | "express" | "h3" | "nestjs" | "elysia" | "fastify" | "xmcp" ``` \ No newline at end of file diff --git a/docs/models/getwebhooksresponsebodyprojectsmetadata.md b/docs/models/getwebhooksresponsebodyprojectsmetadata.md new file mode 100644 index 000000000..246a678cd --- /dev/null +++ b/docs/models/getwebhooksresponsebodyprojectsmetadata.md @@ -0,0 +1,21 @@ +# GetWebhooksResponseBodyProjectsMetadata + +## Example Usage + +```typescript +import { GetWebhooksResponseBodyProjectsMetadata } from "@vercel/sdk/models/getwebhooksop.js"; + +let value: GetWebhooksResponseBodyProjectsMetadata = { + 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/git.md b/docs/models/git.md new file mode 100644 index 000000000..60f67e345 --- /dev/null +++ b/docs/models/git.md @@ -0,0 +1,19 @@ +# Git + +## Example Usage + +```typescript +import { Git } from "@vercel/sdk/models/createintegrationstoredirectop.js"; + +let value: Git = { + providers: "*", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `providers` | *models.Providers* | :heavy_check_mark: | N/A | +| `owners` | *string*[] | :heavy_minus_sign: | N/A | +| `repos` | *string*[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/gitprovideroptions.md b/docs/models/gitprovideroptions.md index 9b2f60d87..632f5dea7 100644 --- a/docs/models/gitprovideroptions.md +++ b/docs/models/gitprovideroptions.md @@ -15,4 +15,5 @@ let value: GitProviderOptions = { | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `createDeployments` | [models.CreateDeployments](../models/createdeployments.md) | :heavy_check_mark: | Whether the Vercel bot should automatically create GitHub deployments https://docs.github.com/en/rest/deployments/deployments#about-deployments NOTE: repository-dispatch events should be used instead | -| `disableRepositoryDispatchEvents` | *boolean* | :heavy_minus_sign: | Whether the Vercel bot should not automatically create GitHub repository-dispatch events on deployment events. https://vercel.com/docs/git/vercel-for-github#repository-dispatch-events | \ No newline at end of file +| `disableRepositoryDispatchEvents` | *boolean* | :heavy_minus_sign: | Whether the Vercel bot should not automatically create GitHub repository-dispatch events on deployment events. https://vercel.com/docs/git/vercel-for-github#repository-dispatch-events | +| `requireVerifiedCommits` | *boolean* | :heavy_minus_sign: | Whether the project requires commits to be signed before deployments will be created. | \ No newline at end of file diff --git a/docs/models/granttype.md b/docs/models/granttype.md index deb718180..0dca710b6 100644 --- a/docs/models/granttype.md +++ b/docs/models/granttype.md @@ -11,5 +11,5 @@ let value: GrantType = "authorization_code"; ## Values ```typescript -"authorization_code" | "refresh_token" | "urn:ietf:params:oauth:grant-type:device_code" | "client_credentials" +"authorization_code" | "urn:ietf:params:oauth:grant-type:device_code" ``` \ No newline at end of file diff --git a/docs/models/headv1installationsintegrationconfigurationidresourcesresourceidexperimentationedgeconfigpurpose.md b/docs/models/headv1installationsintegrationconfigurationidresourcesresourceidexperimentationedgeconfigpurpose.md new file mode 100644 index 000000000..e0725bfa8 --- /dev/null +++ b/docs/models/headv1installationsintegrationconfigurationidresourcesresourceidexperimentationedgeconfigpurpose.md @@ -0,0 +1,19 @@ +# HeadV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigPurpose + +## Example Usage + +```typescript +import { + HeadV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigPurpose, +} from "@vercel/sdk/models/headv1installationsintegrationconfigurationidresourcesresourceidexperimentationedgeconfigop.js"; + +let value: + HeadV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigPurpose = + "experimentation"; +``` + +## Values + +```typescript +"flags" | "experimentation" +``` \ No newline at end of file diff --git a/docs/models/headv1installationsintegrationconfigurationidresourcesresourceidexperimentationedgeconfigresponsebody.md b/docs/models/headv1installationsintegrationconfigurationidresourcesresourceidexperimentationedgeconfigresponsebody.md index c39ec0a95..0bc273213 100644 --- a/docs/models/headv1installationsintegrationconfigurationidresourcesresourceidexperimentationedgeconfigresponsebody.md +++ b/docs/models/headv1installationsintegrationconfigurationidresourcesresourceidexperimentationedgeconfigresponsebody.md @@ -20,8 +20,9 @@ let value: ## Fields -| Field | Type | Required | Description | -| -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -| `items` | Record | :heavy_check_mark: | N/A | -| `updatedAt` | *number* | :heavy_check_mark: | N/A | -| `digest` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `items` | Record | :heavy_check_mark: | N/A | +| `updatedAt` | *number* | :heavy_check_mark: | N/A | +| `digest` | *string* | :heavy_check_mark: | N/A | +| `purpose` | [models.HeadV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigPurpose](../models/headv1installationsintegrationconfigurationidresourcesresourceidexperimentationedgeconfigpurpose.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/highlighteddetails.md b/docs/models/highlighteddetails.md index d481c0f2e..57c40bd02 100644 --- a/docs/models/highlighteddetails.md +++ b/docs/models/highlighteddetails.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { HighlightedDetails } from "@vercel/sdk/models/importresourceop.js"; +import { HighlightedDetails } from "@vercel/sdk/models/updateinstallationop.js"; let value: HighlightedDetails = { label: "", diff --git a/docs/models/importresourcebillingplan.md b/docs/models/importresourcebillingplan.md new file mode 100644 index 000000000..491463994 --- /dev/null +++ b/docs/models/importresourcebillingplan.md @@ -0,0 +1,28 @@ +# ImportResourceBillingPlan + +## Example Usage + +```typescript +import { ImportResourceBillingPlan } from "@vercel/sdk/models/importresourceop.js"; + +let value: ImportResourceBillingPlan = { + id: "", + type: "subscription", + name: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `id` | *string* | :heavy_check_mark: | N/A | +| `type` | [models.ImportResourceType](../models/importresourcetype.md) | :heavy_check_mark: | N/A | +| `name` | *string* | :heavy_check_mark: | N/A | +| `description` | *string* | :heavy_minus_sign: | N/A | +| `paymentMethodRequired` | *boolean* | :heavy_minus_sign: | N/A | +| `cost` | *string* | :heavy_minus_sign: | N/A | +| `details` | [models.ImportResourceDetails](../models/importresourcedetails.md)[] | :heavy_minus_sign: | N/A | +| `highlightedDetails` | [models.ImportResourceHighlightedDetails](../models/importresourcehighlighteddetails.md)[] | :heavy_minus_sign: | N/A | +| `effectiveDate` | *string* | :heavy_minus_sign: | N/A | +| `additionalProperties` | Record | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/importresourcedetails.md b/docs/models/importresourcedetails.md new file mode 100644 index 000000000..815114c49 --- /dev/null +++ b/docs/models/importresourcedetails.md @@ -0,0 +1,18 @@ +# ImportResourceDetails + +## Example Usage + +```typescript +import { ImportResourceDetails } from "@vercel/sdk/models/importresourceop.js"; + +let value: ImportResourceDetails = { + label: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `label` | *string* | :heavy_check_mark: | N/A | +| `value` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/importresourcehighlighteddetails.md b/docs/models/importresourcehighlighteddetails.md new file mode 100644 index 000000000..4b981b66f --- /dev/null +++ b/docs/models/importresourcehighlighteddetails.md @@ -0,0 +1,18 @@ +# ImportResourceHighlightedDetails + +## Example Usage + +```typescript +import { ImportResourceHighlightedDetails } from "@vercel/sdk/models/importresourceop.js"; + +let value: ImportResourceHighlightedDetails = { + label: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `label` | *string* | :heavy_check_mark: | N/A | +| `value` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/importresourcelevel.md b/docs/models/importresourcelevel.md new file mode 100644 index 000000000..38d188569 --- /dev/null +++ b/docs/models/importresourcelevel.md @@ -0,0 +1,15 @@ +# ImportResourceLevel + +## Example Usage + +```typescript +import { ImportResourceLevel } from "@vercel/sdk/models/importresourceop.js"; + +let value: ImportResourceLevel = "warn"; +``` + +## Values + +```typescript +"info" | "warn" | "error" +``` \ No newline at end of file diff --git a/docs/models/importresourcenotification.md b/docs/models/importresourcenotification.md new file mode 100644 index 000000000..8cb2599db --- /dev/null +++ b/docs/models/importresourcenotification.md @@ -0,0 +1,21 @@ +# ImportResourceNotification + +## Example Usage + +```typescript +import { ImportResourceNotification } from "@vercel/sdk/models/importresourceop.js"; + +let value: ImportResourceNotification = { + level: "error", + title: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | +| `level` | [models.ImportResourceLevel](../models/importresourcelevel.md) | :heavy_check_mark: | N/A | +| `title` | *string* | :heavy_check_mark: | N/A | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `href` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/importresourcerequestbody.md b/docs/models/importresourcerequestbody.md index b83fa1a2a..45eef4de5 100644 --- a/docs/models/importresourcerequestbody.md +++ b/docs/models/importresourcerequestbody.md @@ -14,14 +14,14 @@ let value: ImportResourceRequestBody = { ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -| `ownership` | [models.Ownership](../models/ownership.md) | :heavy_minus_sign: | N/A | -| `productId` | *string* | :heavy_check_mark: | N/A | -| `name` | *string* | :heavy_check_mark: | N/A | -| `status` | [models.ImportResourceStatus](../models/importresourcestatus.md) | :heavy_check_mark: | N/A | -| `metadata` | Record | :heavy_minus_sign: | N/A | -| `billingPlan` | [models.BillingPlan](../models/billingplan.md) | :heavy_minus_sign: | N/A | -| `notification` | [models.Notification](../models/notification.md) | :heavy_minus_sign: | N/A | -| `extras` | Record | :heavy_minus_sign: | N/A | -| `secrets` | [models.ImportResourceSecrets](../models/importresourcesecrets.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `ownership` | [models.Ownership](../models/ownership.md) | :heavy_minus_sign: | N/A | +| `productId` | *string* | :heavy_check_mark: | N/A | +| `name` | *string* | :heavy_check_mark: | N/A | +| `status` | [models.ImportResourceStatus](../models/importresourcestatus.md) | :heavy_check_mark: | N/A | +| `metadata` | Record | :heavy_minus_sign: | N/A | +| `billingPlan` | [models.ImportResourceBillingPlan](../models/importresourcebillingplan.md) | :heavy_minus_sign: | N/A | +| `notification` | [models.ImportResourceNotification](../models/importresourcenotification.md) | :heavy_minus_sign: | N/A | +| `extras` | Record | :heavy_minus_sign: | N/A | +| `secrets` | [models.ImportResourceSecrets](../models/importresourcesecrets.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/importresourcestatus.md b/docs/models/importresourcestatus.md index effe4a6f2..932780045 100644 --- a/docs/models/importresourcestatus.md +++ b/docs/models/importresourcestatus.md @@ -11,5 +11,5 @@ let value: ImportResourceStatus = "ready"; ## Values ```typescript -"ready" | "pending" | "suspended" | "resumed" | "uninstalled" | "error" +"ready" | "pending" | "onboarding" | "suspended" | "resumed" | "uninstalled" | "error" ``` \ No newline at end of file diff --git a/docs/models/internalservererror.md b/docs/models/internalservererror.md new file mode 100644 index 000000000..d5b3565e0 --- /dev/null +++ b/docs/models/internalservererror.md @@ -0,0 +1,17 @@ +# InternalServerError + +## Example Usage + +```typescript +import { InternalServerError } from "@vercel/sdk/models/internalservererror.js"; + +// No examples available for this model +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | +| `status` | *number* | :heavy_check_mark: | N/A | +| `code` | [models.InternalServerErrorCode](../models/internalservererrorcode.md) | :heavy_check_mark: | N/A | +| `message` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/internalservererrorcode.md b/docs/models/internalservererrorcode.md new file mode 100644 index 000000000..0bd61304d --- /dev/null +++ b/docs/models/internalservererrorcode.md @@ -0,0 +1,15 @@ +# InternalServerErrorCode + +## Example Usage + +```typescript +import { InternalServerErrorCode } from "@vercel/sdk/models/internalservererror.js"; + +let value: InternalServerErrorCode = "internal_server_error"; +``` + +## Values + +```typescript +"internal_server_error" +``` \ No newline at end of file diff --git a/docs/models/invitedteammember.md b/docs/models/invitedteammember.md new file mode 100644 index 000000000..b38e7ea40 --- /dev/null +++ b/docs/models/invitedteammember.md @@ -0,0 +1,33 @@ +# InvitedTeamMember + +The member was successfully added to the team. + +## Example Usage + +```typescript +import { InvitedTeamMember } from "@vercel/sdk/models/invitedteammember.js"; + +let value: InvitedTeamMember = { + uid: "kr1PsOIzqEL5Xg6M4VZcZosf", + username: "john-doe", + email: "john@user.co", + role: "MEMBER", + teamRoles: [ + "MEMBER", + ], + teamPermissions: [ + "CreateProject", + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | +| `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_check_mark: | The email of the invited user. | john@user.co | +| `role` | [models.Role](../models/role.md) | :heavy_check_mark: | The role used for the invitation | MEMBER | +| `teamRoles` | [models.TeamRoles](../models/teamroles.md)[] | :heavy_minus_sign: | The team roles of the user | [
"MEMBER"
] | +| `teamPermissions` | [models.TeamPermissions](../models/teampermissions.md)[] | :heavy_minus_sign: | The team permissions of the user | [
"CreateProject"
] | \ No newline at end of file diff --git a/docs/models/inviteusertoteamrequestbody.md b/docs/models/inviteusertoteamrequestbody.md index acbd66d43..cd75c3e74 100644 --- a/docs/models/inviteusertoteamrequestbody.md +++ b/docs/models/inviteusertoteamrequestbody.md @@ -7,7 +7,6 @@ import { InviteUserToTeamRequestBody } from "@vercel/sdk/models/inviteusertoteam let value: InviteUserToTeamRequestBody = { email: "john@example.com", - role: "OWNER", projects: [ { projectId: "prj_ndlgr43fadlPyCtREAqxxdyFK", @@ -19,8 +18,8 @@ let value: InviteUserToTeamRequestBody = { ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | -| `email` | *string* | :heavy_check_mark: | 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 | [
"OWNER",
"MEMBER",
"DEVELOPER",
"SECURITY",
"BILLING",
"VIEWER",
"VIEWER_FOR_PLUS",
"CONTRIBUTOR"
] | -| `projects` | [models.InviteUserToTeamProjects](../models/inviteusertoteamprojects.md)[] | :heavy_minus_sign: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `email` | *string* | :heavy_check_mark: | 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 | 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 deleted file mode 100644 index cd415f0fb..000000000 --- a/docs/models/inviteusertoteamresponsebody.md +++ /dev/null @@ -1,33 +0,0 @@ -# InviteUserToTeamResponseBody - -The member was successfully added to the team - -## Example Usage - -```typescript -import { InviteUserToTeamResponseBody } from "@vercel/sdk/models/inviteusertoteamop.js"; - -let value: InviteUserToTeamResponseBody = { - uid: "kr1PsOIzqEL5Xg6M4VZcZosf", - username: "john-doe", - email: "john@user.co", - role: "MEMBER", - teamRoles: [ - "MEMBER", - ], - teamPermissions: [ - "CreateProject", - ], -}; -``` - -## Fields - -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | -| `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_check_mark: | The email of the invited user. | john@user.co | -| `role` | [models.InviteUserToTeamTeamsResponseRole](../models/inviteusertoteamteamsresponserole.md) | :heavy_check_mark: | The role used for the invitation | MEMBER | -| `teamRoles` | [models.InviteUserToTeamTeamRoles](../models/inviteusertoteamteamroles.md)[] | :heavy_minus_sign: | The team roles of the user | [
"MEMBER"
] | -| `teamPermissions` | [models.InviteUserToTeamTeamPermissions](../models/inviteusertoteamteampermissions.md)[] | :heavy_minus_sign: | The team permissions of the user | [
"CreateProject"
] | \ No newline at end of file diff --git a/docs/models/inviteusertoteamrole.md b/docs/models/inviteusertoteamrole.md index edef9ab50..f4dd56908 100644 --- a/docs/models/inviteusertoteamrole.md +++ b/docs/models/inviteusertoteamrole.md @@ -7,7 +7,7 @@ The role of the user to invite ```typescript import { InviteUserToTeamRole } from "@vercel/sdk/models/inviteusertoteamop.js"; -let value: InviteUserToTeamRole = "VIEWER_FOR_PLUS"; +let value: InviteUserToTeamRole = "VIEWER"; ``` ## Values diff --git a/docs/models/inviteusertoteamteamroles.md b/docs/models/inviteusertoteamteamroles.md deleted file mode 100644 index 988290de2..000000000 --- a/docs/models/inviteusertoteamteamroles.md +++ /dev/null @@ -1,17 +0,0 @@ -# InviteUserToTeamTeamRoles - -The team roles of the user - -## Example Usage - -```typescript -import { InviteUserToTeamTeamRoles } from "@vercel/sdk/models/inviteusertoteamop.js"; - -let value: InviteUserToTeamTeamRoles = "MEMBER"; -``` - -## Values - -```typescript -"OWNER" | "MEMBER" | "DEVELOPER" | "SECURITY" | "BILLING" | "VIEWER" | "VIEWER_FOR_PLUS" | "CONTRIBUTOR" -``` \ No newline at end of file diff --git a/docs/models/inviteusertoteamteamsresponserole.md b/docs/models/inviteusertoteamteamsresponserole.md deleted file mode 100644 index 654dd3ae9..000000000 --- a/docs/models/inviteusertoteamteamsresponserole.md +++ /dev/null @@ -1,17 +0,0 @@ -# InviteUserToTeamTeamsResponseRole - -The role used for the invitation - -## Example Usage - -```typescript -import { InviteUserToTeamTeamsResponseRole } from "@vercel/sdk/models/inviteusertoteamop.js"; - -let value: InviteUserToTeamTeamsResponseRole = "MEMBER"; -``` - -## Values - -```typescript -"OWNER" | "MEMBER" | "DEVELOPER" | "SECURITY" | "BILLING" | "VIEWER" | "VIEWER_FOR_PLUS" | "CONTRIBUTOR" -``` \ No newline at end of file diff --git a/docs/models/items.md b/docs/models/items.md index 22aeed44f..f8fa1b838 100644 --- a/docs/models/items.md +++ b/docs/models/items.md @@ -1,15 +1,17 @@ # Items - -## Supported Types - -### `models.Items1` +## Example Usage ```typescript -const value: models.Items1 = { - operation: "upsert", - key: "", - value: "", +import { Items } from "@vercel/sdk/models/userevent.js"; + +let value: Items = { + type: "string", }; ``` +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `type` | [models.UserEventPayload161ResourcesType](../models/usereventpayload161resourcestype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/items1.md b/docs/models/items1.md index ac523b33e..3fd0767ab 100644 --- a/docs/models/items1.md +++ b/docs/models/items1.md @@ -3,34 +3,33 @@ ## Supported Types -### `models.One1` +### `models.PatchEdgeConfigItems11` ```typescript -const value: models.One1 = { - operation: "create", +const value: models.PatchEdgeConfigItems11 = { + operation: "delete", key: "", value: "", }; ``` -### `models.One2` +### `models.PatchEdgeConfigItems12` ```typescript -const value: models.One2 = { - operation: "delete", +const value: models.PatchEdgeConfigItems12 = { + operation: "create", key: "", - value: null, + value: "", }; ``` -### `models.One3` +### `models.PatchEdgeConfigItems13` ```typescript -const value: models.One3 = { - operation: "update", +const value: models.PatchEdgeConfigItems13 = { + operation: "upsert", key: "", - description: - "yum which suddenly correctly yippee soap down illustrious gosh rarely", + description: "helpfully potentially astonishing", }; ``` diff --git a/docs/models/level.md b/docs/models/level.md index 2d7c17623..d548e88d8 100644 --- a/docs/models/level.md +++ b/docs/models/level.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Level } from "@vercel/sdk/models/importresourceop.js"; +import { Level } from "@vercel/sdk/models/updateinstallationop.js"; let value: Level = "warn"; ``` diff --git a/docs/models/links.md b/docs/models/links.md new file mode 100644 index 000000000..249081afc --- /dev/null +++ b/docs/models/links.md @@ -0,0 +1,19 @@ +# Links + +## Example Usage + +```typescript +import { Links } from "@vercel/sdk/models/buysingledomainop.js"; + +let value: Links = { + href: "", + method: "PATCH", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `href` | *string* | :heavy_check_mark: | N/A | +| `method` | [models.BuySingleDomainMethod](../models/buysingledomainmethod.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/listaccessgroupmembersteamrole.md b/docs/models/listaccessgroupmembersteamrole.md new file mode 100644 index 000000000..6cb781ff3 --- /dev/null +++ b/docs/models/listaccessgroupmembersteamrole.md @@ -0,0 +1,15 @@ +# ListAccessGroupMembersTeamRole + +## Example Usage + +```typescript +import { ListAccessGroupMembersTeamRole } from "@vercel/sdk/models/listaccessgroupmembersop.js"; + +let value: ListAccessGroupMembersTeamRole = "SECURITY"; +``` + +## Values + +```typescript +"OWNER" | "MEMBER" | "DEVELOPER" | "SECURITY" | "BILLING" | "VIEWER" | "VIEWER_FOR_PLUS" | "CONTRIBUTOR" +``` \ No newline at end of file diff --git a/docs/models/listsharedenvvariablerequest.md b/docs/models/listsharedenvvariablerequest.md new file mode 100644 index 000000000..44941951c --- /dev/null +++ b/docs/models/listsharedenvvariablerequest.md @@ -0,0 +1,34 @@ +# ListSharedEnvVariableRequest + +## Example Usage + +```typescript +import { ListSharedEnvVariableRequest } from "@vercel/sdk/models/listsharedenvvariableop.js"; + +let value: ListSharedEnvVariableRequest = { + projectId: "prj_2WjyKQmM8ZnGcJsPWMrHRHrE", + ids: "env_2WjyKQmM8ZnGcJsPWMrHRHrE,env_2WjyKQmM8ZnGcJsPWMrHRCRV", + excludeIdsQueryParameter: + "env_2WjyKQmM8ZnGcJsPWMrHRHrE,env_2WjyKQmM8ZnGcJsPWMrHRCRV", + excludeIdsQueryParameter1: + "env_2WjyKQmM8ZnGcJsPWMrHRHrE,env_2WjyKQmM8ZnGcJsPWMrHRCRV", + excludeProjectIdQueryParameter: "prj_2WjyKQmM8ZnGcJsPWMrHRHrE", + excludeProjectIdQueryParameter1: "prj_2WjyKQmM8ZnGcJsPWMrHRHrE", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + slug: "my-team-url-slug", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | +| `search` | *string* | :heavy_minus_sign: | N/A | | +| `projectId` | *string* | :heavy_minus_sign: | Filter SharedEnvVariables that belong to a project | prj_2WjyKQmM8ZnGcJsPWMrHRHrE | +| `ids` | *string* | :heavy_minus_sign: | Filter SharedEnvVariables based on comma separated ids | env_2WjyKQmM8ZnGcJsPWMrHRHrE,env_2WjyKQmM8ZnGcJsPWMrHRCRV | +| `excludeIdsQueryParameter` | *string* | :heavy_minus_sign: | Filter SharedEnvVariables based on comma separated ids | env_2WjyKQmM8ZnGcJsPWMrHRHrE,env_2WjyKQmM8ZnGcJsPWMrHRCRV | +| `excludeIdsQueryParameter1` | *string* | :heavy_minus_sign: | Filter SharedEnvVariables based on comma separated ids | env_2WjyKQmM8ZnGcJsPWMrHRHrE,env_2WjyKQmM8ZnGcJsPWMrHRCRV | +| `excludeProjectIdQueryParameter` | *string* | :heavy_minus_sign: | Filter SharedEnvVariables that belong to a project | prj_2WjyKQmM8ZnGcJsPWMrHRHrE | +| `excludeProjectIdQueryParameter1` | *string* | :heavy_minus_sign: | Filter SharedEnvVariables that belong to a project | prj_2WjyKQmM8ZnGcJsPWMrHRHrE | +| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | team_1a2b3c4d5e6f7g8h9i0j1k2l | +| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | my-team-url-slug | \ No newline at end of file diff --git a/docs/models/listsharedenvvariableresponsebody.md b/docs/models/listsharedenvvariableresponsebody.md new file mode 100644 index 000000000..3734fe17d --- /dev/null +++ b/docs/models/listsharedenvvariableresponsebody.md @@ -0,0 +1,23 @@ +# ListSharedEnvVariableResponseBody + +## Example Usage + +```typescript +import { ListSharedEnvVariableResponseBody } from "@vercel/sdk/models/listsharedenvvariableop.js"; + +let value: ListSharedEnvVariableResponseBody = { + data: [], + pagination: { + count: 20, + next: 1540095775951, + prev: 1540095775951, + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `data` | [models.Data](../models/data.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/listsharedenvvariabletarget.md b/docs/models/listsharedenvvariabletarget.md new file mode 100644 index 000000000..1c3d6312e --- /dev/null +++ b/docs/models/listsharedenvvariabletarget.md @@ -0,0 +1,17 @@ +# ListSharedEnvVariableTarget + +environments this env variable targets + +## Example Usage + +```typescript +import { ListSharedEnvVariableTarget } from "@vercel/sdk/models/listsharedenvvariableop.js"; + +let value: ListSharedEnvVariableTarget = "production"; +``` + +## Values + +```typescript +"production" | "preview" | "development" +``` \ No newline at end of file diff --git a/docs/models/listsharedenvvariabletype.md b/docs/models/listsharedenvvariabletype.md new file mode 100644 index 000000000..1c87c81fa --- /dev/null +++ b/docs/models/listsharedenvvariabletype.md @@ -0,0 +1,17 @@ +# ListSharedEnvVariableType + +The type of this cosmos doc instance, if blank, assume secret. + +## Example Usage + +```typescript +import { ListSharedEnvVariableType } from "@vercel/sdk/models/listsharedenvvariableop.js"; + +let value: ListSharedEnvVariableType = "encrypted"; +``` + +## Values + +```typescript +"encrypted" | "sensitive" | "system" | "plain" +``` \ No newline at end of file diff --git a/docs/models/log.md b/docs/models/log.md new file mode 100644 index 000000000..bef14605f --- /dev/null +++ b/docs/models/log.md @@ -0,0 +1,15 @@ +# Log + +## Example Usage + +```typescript +import { Log } from "@vercel/sdk/models/createdrainop.js"; + +let value: Log = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | +| `sources` | [models.FilterSources](../models/filtersources.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/maxlength.md b/docs/models/maxlength.md index c0688a723..74a9399b5 100644 --- a/docs/models/maxlength.md +++ b/docs/models/maxlength.md @@ -6,7 +6,7 @@ import { MaxLength } from "@vercel/sdk/models/getconfigurationproductsop.js"; let value: MaxLength = { - atBRANDAt543472: {}, + atBRANDAt649501: {}, }; ``` @@ -14,4 +14,4 @@ let value: MaxLength = { | Field | Type | Required | Description | | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -| `atBRANDAt543472` | [models.PropertiesAtBRANDAt543472](../models/propertiesatbrandat543472.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `atBRANDAt649501` | [models.PropertiesAtBRANDAt649501](../models/propertiesatbrandat649501.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/members.md b/docs/models/members.md index c7c6698b3..cfdc0adc8 100644 --- a/docs/models/members.md +++ b/docs/models/members.md @@ -15,12 +15,12 @@ let value: Members = { ## 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 +| 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.ListAccessGroupMembersTeamRole](../models/listaccessgroupmembersteamrole.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/membership.md b/docs/models/membership.md index 8d650b869..dbfd309b0 100644 --- a/docs/models/membership.md +++ b/docs/models/membership.md @@ -17,16 +17,16 @@ let value: Membership = { ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | -| `uid` | *string* | :heavy_minus_sign: | N/A | -| `entitlements` | [models.Entitlements](../models/entitlements.md)[] | :heavy_minus_sign: | N/A | -| `teamId` | *string* | :heavy_minus_sign: | N/A | -| `confirmed` | *boolean* | :heavy_check_mark: | N/A | -| `accessRequestedAt` | *number* | :heavy_minus_sign: | N/A | -| `role` | [models.Role](../models/role.md) | :heavy_check_mark: | N/A | -| `teamRoles` | [models.TeamTeamRoles](../models/teamteamroles.md)[] | :heavy_minus_sign: | N/A | -| `teamPermissions` | [models.TeamTeamPermissions](../models/teamteampermissions.md)[] | :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 +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `uid` | *string* | :heavy_minus_sign: | N/A | +| `entitlements` | [models.Entitlements](../models/entitlements.md)[] | :heavy_minus_sign: | N/A | +| `teamId` | *string* | :heavy_minus_sign: | N/A | +| `confirmed` | *boolean* | :heavy_check_mark: | N/A | +| `accessRequestedAt` | *number* | :heavy_minus_sign: | N/A | +| `role` | [models.TeamRole](../models/teamrole.md) | :heavy_check_mark: | N/A | +| `teamRoles` | [models.TeamMembershipTeamRoles](../models/teammembershipteamroles.md)[] | :heavy_minus_sign: | N/A | +| `teamPermissions` | [models.TeamMembershipTeamPermissions](../models/teammembershipteampermissions.md)[] | :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/method.md b/docs/models/method.md new file mode 100644 index 000000000..95a4e4785 --- /dev/null +++ b/docs/models/method.md @@ -0,0 +1,15 @@ +# Method + +## Example Usage + +```typescript +import { Method } from "@vercel/sdk/models/userevent.js"; + +let value: Method = "client_secret_basic"; +``` + +## Values + +```typescript +"none" | "client_secret_basic" | "client_secret_post" | "client_secret_jwt" | "private_key_jwt" | "oidc_token" +``` \ No newline at end of file diff --git a/docs/models/microfrontends.md b/docs/models/microfrontends.md index be3237079..7b8f0308e 100644 --- a/docs/models/microfrontends.md +++ b/docs/models/microfrontends.md @@ -7,11 +7,10 @@ ```typescript const value: models.Microfrontends1 = { - updatedAt: 6954.14, + isDefaultApp: false, + updatedAt: 9718.38, groupIds: [ "", - "", - "", ], enabled: true, }; @@ -27,3 +26,15 @@ const value: models.Microfrontends2 = { }; ``` +### `models.Microfrontends3` + +```typescript +const value: models.Microfrontends3 = { + updatedAt: 3952.86, + groupIds: [ + "", + ], + enabled: false, +}; +``` + diff --git a/docs/models/microfrontends1.md b/docs/models/microfrontends1.md index 2b8133153..21aae1921 100644 --- a/docs/models/microfrontends1.md +++ b/docs/models/microfrontends1.md @@ -6,11 +6,10 @@ import { Microfrontends1 } from "@vercel/sdk/models/userevent.js"; let value: Microfrontends1 = { - updatedAt: 6954.14, + isDefaultApp: false, + updatedAt: 9718.38, groupIds: [ "", - "", - "", ], enabled: true, }; @@ -18,11 +17,11 @@ let value: Microfrontends1 = { ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `updatedAt` | *number* | :heavy_check_mark: | Timestamp when the microfrontends settings were last updated. | -| `groupIds` | *string*[] | :heavy_check_mark: | 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. | -| `enabled` | *boolean* | :heavy_check_mark: | Whether microfrontends are enabled for this project. | -| `isDefaultApp` | *boolean* | :heavy_minus_sign: | 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. | -| `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. Includes the leading slash, e.g. `/docs` | -| `routeObservabilityToThisProject` | *boolean* | :heavy_minus_sign: | Whether observability data should be routed to this microfrontend project or a root project. | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `isDefaultApp` | *boolean* | :heavy_check_mark: | N/A | +| `updatedAt` | *number* | :heavy_check_mark: | Timestamp when the microfrontends settings were last updated. | +| `groupIds` | *string*[] | :heavy_check_mark: | 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. | +| `enabled` | *boolean* | :heavy_check_mark: | Whether microfrontends are enabled for this project. | +| `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. Includes the leading slash, e.g. `/docs` | +| `freeProjectForLegacyLimits` | *boolean* | :heavy_minus_sign: | Whether the project was part of the legacy limits for hobby and pro-trial before billing was added. This field is only set when the team is upgraded to a paid plan and we are backfilling the subscription status. We cap the subscription to 2 projects and set this field for the 3rd project. When this field is set, the project is not charged for and we do not call any billing APIs for this project. | \ No newline at end of file diff --git a/docs/models/microfrontends2.md b/docs/models/microfrontends2.md index 7d3f23a07..6611967f6 100644 --- a/docs/models/microfrontends2.md +++ b/docs/models/microfrontends2.md @@ -14,8 +14,13 @@ let value: Microfrontends2 = { ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `updatedAt` | *number* | :heavy_check_mark: | N/A | -| `groupIds` | *any*[] | :heavy_check_mark: | N/A | -| `enabled` | *boolean* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `isDefaultApp` | *boolean* | :heavy_minus_sign: | N/A | +| `routeObservabilityToThisProject` | *boolean* | :heavy_minus_sign: | Whether observability data should be routed to this microfrontend project or a root project. | +| `doNotRouteWithMicrofrontendsRouting` | *boolean* | :heavy_minus_sign: | Whether to add microfrontends routing to aliases. This means domains in this project will route as a microfrontend. | +| `updatedAt` | *number* | :heavy_check_mark: | Timestamp when the microfrontends settings were last updated. | +| `groupIds` | *string*[] | :heavy_check_mark: | 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. | +| `enabled` | *boolean* | :heavy_check_mark: | Whether microfrontends are enabled for this project. | +| `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. Includes the leading slash, e.g. `/docs` | +| `freeProjectForLegacyLimits` | *boolean* | :heavy_minus_sign: | Whether the project was part of the legacy limits for hobby and pro-trial before billing was added. This field is only set when the team is upgraded to a paid plan and we are backfilling the subscription status. We cap the subscription to 2 projects and set this field for the 3rd project. When this field is set, the project is not charged for and we do not call any billing APIs for this project. | \ No newline at end of file diff --git a/docs/models/microfrontends3.md b/docs/models/microfrontends3.md new file mode 100644 index 000000000..fda76d020 --- /dev/null +++ b/docs/models/microfrontends3.md @@ -0,0 +1,24 @@ +# Microfrontends3 + +## Example Usage + +```typescript +import { Microfrontends3 } from "@vercel/sdk/models/userevent.js"; + +let value: Microfrontends3 = { + updatedAt: 3952.86, + groupIds: [ + "", + ], + enabled: false, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------- | ---------------------------- | ---------------------------- | ---------------------------- | +| `updatedAt` | *number* | :heavy_check_mark: | N/A | +| `groupIds` | *any*[] | :heavy_check_mark: | N/A | +| `enabled` | *boolean* | :heavy_check_mark: | N/A | +| `freeProjectForLegacyLimits` | *boolean* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/microfrontendsrequest.md b/docs/models/microfrontendsrequest.md new file mode 100644 index 000000000..12e25decc --- /dev/null +++ b/docs/models/microfrontendsrequest.md @@ -0,0 +1,21 @@ +# MicrofrontendsRequest + +## Example Usage + +```typescript +import { MicrofrontendsRequest } from "@vercel/sdk/models/userevent.js"; + +let value: MicrofrontendsRequest = { + updatedAt: 1025.59, + blockReason: "admin_override", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `updatedAt` | *number* | :heavy_check_mark: | N/A | +| `blockedFrom` | *number* | :heavy_minus_sign: | N/A | +| `blockedUntil` | *number* | :heavy_minus_sign: | N/A | +| `blockReason` | [models.UserEventPayload66NewOwnerFeatureBlocksMicrofrontendsRequestBlockReason](../models/usereventpayload66newownerfeatureblocksmicrofrontendsrequestblockreason.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/minlength.md b/docs/models/minlength.md index 549b1c672..2737ff0dc 100644 --- a/docs/models/minlength.md +++ b/docs/models/minlength.md @@ -6,7 +6,7 @@ import { MinLength } from "@vercel/sdk/models/getconfigurationproductsop.js"; let value: MinLength = { - atBRANDAt543472: {}, + atBRANDAt649501: {}, }; ``` @@ -14,4 +14,4 @@ let value: MinLength = { | Field | Type | Required | Description | | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | -| `atBRANDAt543472` | [models.AtBRANDAt543472](../models/atbrandat543472.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `atBRANDAt649501` | [models.AtBRANDAt649501](../models/atbrandat649501.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/newenvvar.md b/docs/models/newenvvar.md index 48bcbf44c..b3971898c 100644 --- a/docs/models/newenvvar.md +++ b/docs/models/newenvvar.md @@ -43,8 +43,8 @@ let value: NewEnvVar = { | `updatedAt` | *number* | :heavy_minus_sign: | Timestamp for when the Shared Env Var was last updated. | 1609492210000 | | `value` | *string* | :heavy_minus_sign: | The value of the Shared Env Var. | | | `projectId` | *string*[] | :heavy_minus_sign: | The unique identifiers of the projects which the Shared Env Var is linked to. | [
"prj_2WjyKQmM8ZnGcJsPWMrHRHrE",
"prj_2WjyKQmM8ZnGcJsPWMrasEFg"
] | -| `type` | [models.UserEventPayload57Type](../models/usereventpayload57type.md) | :heavy_minus_sign: | The type of this cosmos doc instance, if blank, assume secret. | encrypted | -| `target` | [models.UserEventPayload57Target](../models/usereventpayload57target.md)[] | :heavy_minus_sign: | environments this env variable targets | production | +| `type` | [models.UserEventPayload59Type](../models/usereventpayload59type.md) | :heavy_minus_sign: | The type of this cosmos doc instance, if blank, assume secret. | encrypted | +| `target` | [models.UserEventPayload59Target](../models/usereventpayload59target.md)[] | :heavy_minus_sign: | environments this env variable targets | production | | `applyToAllCustomEnvironments` | *boolean* | :heavy_minus_sign: | whether or not this env varible applies to custom environments | | | `decrypted` | *boolean* | :heavy_minus_sign: | whether or not this env variable is decrypted | | | `comment` | *string* | :heavy_minus_sign: | A user provided comment that describes what this Shared Env Var is for. | | diff --git a/docs/models/newowner.md b/docs/models/newowner.md index f2b695d58..d7c3a1157 100644 --- a/docs/models/newowner.md +++ b/docs/models/newowner.md @@ -75,6 +75,7 @@ let value: NewOwner = { | `resourceLimits` | Record | :heavy_minus_sign: | User \| Team resource limits | | `activeDashboardViews` | [models.PayloadActiveDashboardViews](../models/payloadactivedashboardviews.md)[] | :heavy_minus_sign: | N/A | | `secondaryEmails` | [models.SecondaryEmails](../models/secondaryemails.md)[] | :heavy_minus_sign: | N/A | +| `emailDomains` | *string*[] | :heavy_minus_sign: | N/A | | `emailNotifications` | [models.EmailNotifications](../models/emailnotifications.md) | :heavy_minus_sign: | N/A | | `siftScore` | *number* | :heavy_minus_sign: | N/A | | `siftScores` | Record | :heavy_minus_sign: | N/A | @@ -87,7 +88,7 @@ let value: NewOwner = { | `trialTeamIds` | *string*[] | :heavy_minus_sign: | Introduced 2022-04-12 An array of teamIds (for trial teams created after 2022-04-01), created by the user in question. Used in determining whether the team has a trial available in utils/api-teams/user-has-trial-available.ts. | | `maxTrials` | *number* | :heavy_minus_sign: | Introduced 2022-04-19 Number of maximum trials to allocate to a user. When undefined, defaults to MAX_TRIALS in utils/api-teams/user-has-trial-available.ts. This is set to trialTeamIds + 1 by services/api-backoffice/src/handlers/add-additional-trial.ts. | | `trialTeamId` | *string* | :heavy_minus_sign: | Deprecated on 2022-04-12 in favor of trialTeamIds and using utils/api-teams/user-has-trial-available.ts. | -| `type` | [models.UserEventPayload64Type](../models/usereventpayload64type.md) | :heavy_check_mark: | N/A | +| `type` | [models.UserEventPayload66Type](../models/usereventpayload66type.md) | :heavy_check_mark: | N/A | | `usageAlerts` | [models.UsageAlerts](../models/usagealerts.md) | :heavy_minus_sign: | Contains the timestamps when a user was notified about their usage | | `overageUsageAlerts` | [models.OverageUsageAlerts](../models/overageusagealerts.md) | :heavy_minus_sign: | N/A | | `overageMetadata` | [models.OverageMetadata](../models/overagemetadata.md) | :heavy_minus_sign: | Contains the timestamps for usage summary emails. | diff --git a/docs/models/newplan.md b/docs/models/newplan.md new file mode 100644 index 000000000..c130ffcf7 --- /dev/null +++ b/docs/models/newplan.md @@ -0,0 +1,15 @@ +# NewPlan + +## Example Usage + +```typescript +import { NewPlan } from "@vercel/sdk/models/userevent.js"; + +let value: NewPlan = "hobby"; +``` + +## Values + +```typescript +"pro" | "enterprise" | "hobby" +``` \ No newline at end of file diff --git a/docs/models/next.md b/docs/models/next.md index 4cc2b4108..1b398e76f 100644 --- a/docs/models/next.md +++ b/docs/models/next.md @@ -19,4 +19,4 @@ let value: Next = { | Field | Type | Required | Description | | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -| `project` | [models.UserEventPayload91Project](../models/usereventpayload91project.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `project` | [models.UserEventPayload93Project](../models/usereventpayload93project.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/nextacceptedpermissionsets.md b/docs/models/nextacceptedpermissionsets.md new file mode 100644 index 000000000..cc3d78fcd --- /dev/null +++ b/docs/models/nextacceptedpermissionsets.md @@ -0,0 +1,15 @@ +# NextAcceptedPermissionSets + +## Example Usage + +```typescript +import { NextAcceptedPermissionSets } from "@vercel/sdk/models/userevent.js"; + +let value: NextAcceptedPermissionSets = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `userPermissionSet` | [models.PayloadUserPermissionSet](../models/payloaduserpermissionset.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/nextpermissions.md b/docs/models/nextpermissions.md new file mode 100644 index 000000000..f75c30f87 --- /dev/null +++ b/docs/models/nextpermissions.md @@ -0,0 +1,15 @@ +# NextPermissions + +## Example Usage + +```typescript +import { NextPermissions } from "@vercel/sdk/models/userevent.js"; + +let value: NextPermissions = "read-write:user"; +``` + +## Values + +```typescript +"*" | "read:user" | "read-write:user" | "read:domain" | "read-write:domain" | "read:team" | "read-write:team" | "read:billing" | "read:project" | "read-write:project" | "read:deployment" | "read-write:deployment" +``` \ No newline at end of file diff --git a/docs/models/nextscopes.md b/docs/models/nextscopes.md new file mode 100644 index 000000000..438e959b7 --- /dev/null +++ b/docs/models/nextscopes.md @@ -0,0 +1,15 @@ +# NextScopes + +## Example Usage + +```typescript +import { NextScopes } from "@vercel/sdk/models/userevent.js"; + +let value: NextScopes = "profile"; +``` + +## Values + +```typescript +"openid" | "email" | "profile" | "offline_access" +``` \ No newline at end of file diff --git a/docs/models/ninety.md b/docs/models/ninety.md index f7c9cc28f..80d2da1cb 100644 --- a/docs/models/ninety.md +++ b/docs/models/ninety.md @@ -8,14 +8,13 @@ The payload of the event, if requested. import { Ninety } from "@vercel/sdk/models/userevent.js"; let value: Ninety = { - source: "", projectId: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `source` | *string* | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `reasonCode` | [models.ReasonCode](../models/reasoncode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/ninetyeight.md b/docs/models/ninetyeight.md index 0b3a67479..3e8ef34a9 100644 --- a/docs/models/ninetyeight.md +++ b/docs/models/ninetyeight.md @@ -8,16 +8,14 @@ The payload of the event, if requested. import { NinetyEight } from "@vercel/sdk/models/userevent.js"; let value: NinetyEight = { - team: { - id: "", - }, + email: "Marilyne_Grant29@hotmail.com", + verified: false, }; ``` ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -| `team` | [models.UserEventPayload98Team](../models/usereventpayload98team.md) | :heavy_check_mark: | N/A | -| `previousRule` | [models.PreviousRule](../models/previousrule.md) | :heavy_minus_sign: | N/A | -| `nextRule` | [models.NextRule](../models/nextrule.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `email` | *string* | :heavy_check_mark: | N/A | +| `verified` | *boolean* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/ninetyfive.md b/docs/models/ninetyfive.md index 2bf9082c5..28b105108 100644 --- a/docs/models/ninetyfive.md +++ b/docs/models/ninetyfive.md @@ -8,14 +8,16 @@ The payload of the event, if requested. import { NinetyFive } from "@vercel/sdk/models/userevent.js"; let value: NinetyFive = { - instances: 7567.04, - url: "https://valuable-curl.info", + projectId: "", + projectName: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `instances` | *number* | :heavy_check_mark: | N/A | -| `url` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------- | --------------------- | --------------------- | --------------------- | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | +| `targetDeploymentId` | *string* | :heavy_minus_sign: | N/A | +| `newTargetPercentage` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/ninetyfour.md b/docs/models/ninetyfour.md index 1b7ee2325..d5410db54 100644 --- a/docs/models/ninetyfour.md +++ b/docs/models/ninetyfour.md @@ -8,16 +8,15 @@ The payload of the event, if requested. import { NinetyFour } from "@vercel/sdk/models/userevent.js"; let value: NinetyFour = { - gitProvider: "", - gitProviderGroupDescriptor: "", - gitScope: "", + projectId: "", + projectName: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------- | ---------------------------- | ---------------------------- | ---------------------------- | -| `gitProvider` | *string* | :heavy_check_mark: | N/A | -| `gitProviderGroupDescriptor` | *string* | :heavy_check_mark: | N/A | -| `gitScope` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------- | -------------------- | -------------------- | -------------------- | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | +| `targetDeploymentId` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/ninetynine.md b/docs/models/ninetynine.md index 62fd3fdbc..3ce21e0bb 100644 --- a/docs/models/ninetynine.md +++ b/docs/models/ninetynine.md @@ -8,18 +8,12 @@ The payload of the event, if requested. import { NinetyNine } from "@vercel/sdk/models/userevent.js"; let value: NinetyNine = { - team: { - id: "", - }, - previousRule: { - email: "Johan3@yahoo.com", - }, + email: "Johan3@yahoo.com", }; ``` ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -| `team` | [models.UserEventPayload99Team](../models/usereventpayload99team.md) | :heavy_check_mark: | N/A | -| `previousRule` | [models.PayloadPreviousRule](../models/payloadpreviousrule.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `email` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/ninetyone.md b/docs/models/ninetyone.md index d639a4215..760bdff3a 100644 --- a/docs/models/ninetyone.md +++ b/docs/models/ninetyone.md @@ -8,28 +8,13 @@ The payload of the event, if requested. import { NinetyOne } from "@vercel/sdk/models/userevent.js"; let value: NinetyOne = { - next: { - project: { - id: "", - staticIps: { - enabled: true, - }, - }, - }, - previous: { - project: { - id: "", - staticIps: { - enabled: false, - }, - }, - }, + projectId: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | -| `next` | [models.Next](../models/next.md) | :heavy_check_mark: | N/A | -| `previous` | [models.Previous](../models/previous.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `reasonCode` | [models.PayloadReasonCode](../models/payloadreasoncode.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/ninetyseven.md b/docs/models/ninetyseven.md index bf99d7a3c..fb02a9f8b 100644 --- a/docs/models/ninetyseven.md +++ b/docs/models/ninetyseven.md @@ -8,7 +8,8 @@ The payload of the event, if requested. import { NinetySeven } from "@vercel/sdk/models/userevent.js"; let value: NinetySeven = { - email: "Camryn.Feeney@yahoo.com", + instances: 4466.53, + url: "https://unfortunate-density.biz/", }; ``` @@ -16,4 +17,5 @@ let value: NinetySeven = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `email` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| `instances` | *number* | :heavy_check_mark: | N/A | +| `url` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/ninetysix.md b/docs/models/ninetysix.md index 889fd9f9e..840c67642 100644 --- a/docs/models/ninetysix.md +++ b/docs/models/ninetysix.md @@ -8,14 +8,16 @@ The payload of the event, if requested. import { NinetySix } from "@vercel/sdk/models/userevent.js"; let value: NinetySix = { - email: "Lonny_Kassulke62@gmail.com", - verified: false, + gitProvider: "", + gitProviderGroupDescriptor: "", + gitScope: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `email` | *string* | :heavy_check_mark: | N/A | -| `verified` | *boolean* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------- | ---------------------------- | ---------------------------- | ---------------------------- | +| `gitProvider` | *string* | :heavy_check_mark: | N/A | +| `gitProviderGroupDescriptor` | *string* | :heavy_check_mark: | N/A | +| `gitScope` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/ninetythree.md b/docs/models/ninetythree.md index 86a811a5e..9c8450336 100644 --- a/docs/models/ninetythree.md +++ b/docs/models/ninetythree.md @@ -8,16 +8,28 @@ The payload of the event, if requested. import { NinetyThree } from "@vercel/sdk/models/userevent.js"; let value: NinetyThree = { - projectId: "", - projectName: "", + next: { + project: { + id: "", + staticIps: { + enabled: true, + }, + }, + }, + previous: { + project: { + id: "", + staticIps: { + enabled: true, + }, + }, + }, }; ``` ## Fields -| Field | Type | Required | Description | -| --------------------- | --------------------- | --------------------- | --------------------- | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | -| `targetDeploymentId` | *string* | :heavy_minus_sign: | N/A | -| `newTargetPercentage` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | +| `next` | [models.Next](../models/next.md) | :heavy_check_mark: | N/A | +| `previous` | [models.Previous](../models/previous.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/ninetytwo.md b/docs/models/ninetytwo.md index 882e190fa..a00f0f538 100644 --- a/docs/models/ninetytwo.md +++ b/docs/models/ninetytwo.md @@ -8,15 +8,14 @@ The payload of the event, if requested. import { NinetyTwo } from "@vercel/sdk/models/userevent.js"; let value: NinetyTwo = { + source: "", projectId: "", - projectName: "", }; ``` ## Fields -| Field | Type | Required | Description | -| -------------------- | -------------------- | -------------------- | -------------------- | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | -| `targetDeploymentId` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `source` | *string* | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/nodeversion.md b/docs/models/nodeversion.md index 211530e92..99d637ddc 100644 --- a/docs/models/nodeversion.md +++ b/docs/models/nodeversion.md @@ -13,5 +13,5 @@ let value: NodeVersion = "8.10.x"; ## Values ```typescript -"22.x" | "20.x" | "18.x" | "16.x" | "14.x" | "12.x" | "10.x" | "8.10.x" +"24.x" | "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/notauthorizedforscope.md b/docs/models/notauthorizedforscope.md new file mode 100644 index 000000000..642b0875d --- /dev/null +++ b/docs/models/notauthorizedforscope.md @@ -0,0 +1,17 @@ +# NotAuthorizedForScope + +## Example Usage + +```typescript +import { NotAuthorizedForScope } from "@vercel/sdk/models/notauthorizedforscope.js"; + +// No examples available for this model +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------- | -------------------------------- | -------------------------------- | -------------------------------- | +| `status` | *number* | :heavy_check_mark: | N/A | +| `code` | [models.Code](../models/code.md) | :heavy_check_mark: | N/A | +| `message` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/notification.md b/docs/models/notification.md index bbd46d70b..7e4c8c68f 100644 --- a/docs/models/notification.md +++ b/docs/models/notification.md @@ -1,21 +1,22 @@ # Notification -## Example Usage +A notification to display to your customer. Send `null` to clear the current notification. -```typescript -import { Notification } from "@vercel/sdk/models/importresourceop.js"; -let value: Notification = { - level: "warn", +## Supported Types + +### `models.Notification1` + +```typescript +const value: models.Notification1 = { + level: "info", title: "", }; ``` -## Fields +### `string` + +```typescript +const value: string = ""; +``` -| Field | Type | Required | Description | -| ---------------------------------- | ---------------------------------- | ---------------------------------- | ---------------------------------- | -| `level` | [models.Level](../models/level.md) | :heavy_check_mark: | N/A | -| `title` | *string* | :heavy_check_mark: | N/A | -| `message` | *string* | :heavy_minus_sign: | N/A | -| `href` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/notification1.md b/docs/models/notification1.md new file mode 100644 index 000000000..cd5a63572 --- /dev/null +++ b/docs/models/notification1.md @@ -0,0 +1,21 @@ +# Notification1 + +## Example Usage + +```typescript +import { Notification1 } from "@vercel/sdk/models/updateinstallationop.js"; + +let value: Notification1 = { + level: "info", + title: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------- | ---------------------------------- | ---------------------------------- | ---------------------------------- | +| `level` | [models.Level](../models/level.md) | :heavy_check_mark: | N/A | +| `title` | *string* | :heavy_check_mark: | N/A | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `href` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/notificationlevel.md b/docs/models/notificationlevel.md new file mode 100644 index 000000000..4a73f8886 --- /dev/null +++ b/docs/models/notificationlevel.md @@ -0,0 +1,15 @@ +# NotificationLevel + +## Example Usage + +```typescript +import { NotificationLevel } from "@vercel/sdk/models/updateresourceop.js"; + +let value: NotificationLevel = "error"; +``` + +## Values + +```typescript +"info" | "warn" | "error" +``` \ No newline at end of file diff --git a/docs/models/oidctokenclaims.md b/docs/models/oidctokenclaims.md index ccb890ffd..9dd16f24f 100644 --- a/docs/models/oidctokenclaims.md +++ b/docs/models/oidctokenclaims.md @@ -15,6 +15,7 @@ let value: OidcTokenClaims = { project: "", projectId: "", environment: "", + plan: "", }; ``` @@ -30,4 +31,5 @@ let value: OidcTokenClaims = { | `ownerId` | *string* | :heavy_check_mark: | N/A | | `project` | *string* | :heavy_check_mark: | N/A | | `projectId` | *string* | :heavy_check_mark: | N/A | -| `environment` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| `environment` | *string* | :heavy_check_mark: | N/A | +| `plan` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/oldenvvar.md b/docs/models/oldenvvar.md index 06cfb9f12..104f369d4 100644 --- a/docs/models/oldenvvar.md +++ b/docs/models/oldenvvar.md @@ -43,7 +43,7 @@ let value: OldEnvVar = { | `updatedAt` | *number* | :heavy_minus_sign: | Timestamp for when the Shared Env Var was last updated. | 1609492210000 | | `value` | *string* | :heavy_minus_sign: | The value of the Shared Env Var. | | | `projectId` | *string*[] | :heavy_minus_sign: | The unique identifiers of the projects which the Shared Env Var is linked to. | [
"prj_2WjyKQmM8ZnGcJsPWMrHRHrE",
"prj_2WjyKQmM8ZnGcJsPWMrasEFg"
] | -| `type` | [models.UserEventPayload57OldEnvVarType](../models/usereventpayload57oldenvvartype.md) | :heavy_minus_sign: | The type of this cosmos doc instance, if blank, assume secret. | encrypted | +| `type` | [models.UserEventPayload59OldEnvVarType](../models/usereventpayload59oldenvvartype.md) | :heavy_minus_sign: | The type of this cosmos doc instance, if blank, assume secret. | encrypted | | `target` | [models.UserEventPayloadTarget](../models/usereventpayloadtarget.md)[] | :heavy_minus_sign: | environments this env variable targets | production | | `applyToAllCustomEnvironments` | *boolean* | :heavy_minus_sign: | whether or not this env varible applies to custom environments | | | `decrypted` | *boolean* | :heavy_minus_sign: | whether or not this env variable is decrypted | | diff --git a/docs/models/one1.md b/docs/models/one1.md index 6435a8f90..8c2853294 100644 --- a/docs/models/one1.md +++ b/docs/models/one1.md @@ -3,20 +3,16 @@ ## Example Usage ```typescript -import { One1 } from "@vercel/sdk/models/patchedgeconfigitemsop.js"; +import { One1 } from "@vercel/sdk/models/createdrainop.js"; let value: One1 = { - operation: "create", - key: "", - value: "", + externalResourceId: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | -| `operation` | [models.Operation](../models/operation.md) | :heavy_check_mark: | N/A | -| `key` | *string* | :heavy_check_mark: | N/A | -| `value` | *any* | :heavy_check_mark: | N/A | -| `description` | *models.Description* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------- | -------------------- | -------------------- | -------------------- | +| `kind` | *string* | :heavy_minus_sign: | N/A | +| `externalResourceId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/one2.md b/docs/models/one2.md index c160197d0..023b8267d 100644 --- a/docs/models/one2.md +++ b/docs/models/one2.md @@ -3,20 +3,16 @@ ## Example Usage ```typescript -import { One2 } from "@vercel/sdk/models/patchedgeconfigitemsop.js"; +import { One2 } from "@vercel/sdk/models/createdrainop.js"; let value: One2 = { - operation: "delete", - key: "", - value: null, + resourceId: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | -| `operation` | [models.OneOperation](../models/oneoperation.md) | :heavy_check_mark: | N/A | -| `key` | *string* | :heavy_check_mark: | N/A | -| `value` | *any* | :heavy_check_mark: | N/A | -| `description` | *models.OneDescription* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `kind` | *string* | :heavy_minus_sign: | N/A | +| `resourceId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/one3.md b/docs/models/one3.md index 06b12449b..3c142d357 100644 --- a/docs/models/one3.md +++ b/docs/models/one3.md @@ -3,21 +3,13 @@ ## Example Usage ```typescript -import { One3 } from "@vercel/sdk/models/patchedgeconfigitemsop.js"; +import { One3 } from "@vercel/sdk/models/createdrainop.js"; -let value: One3 = { - operation: "update", - key: "", - description: - "yum which suddenly correctly yippee soap down illustrious gosh rarely", -}; +let value: One3 = {}; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | -| `operation` | [models.PatchEdgeConfigItems1Operation](../models/patchedgeconfigitems1operation.md) | :heavy_check_mark: | N/A | -| `key` | *string* | :heavy_check_mark: | N/A | -| `value` | *any* | :heavy_minus_sign: | N/A | -| `description` | *models.PatchEdgeConfigItems1Description* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `kind` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/one4.md b/docs/models/one4.md new file mode 100644 index 000000000..3a7c98726 --- /dev/null +++ b/docs/models/one4.md @@ -0,0 +1,17 @@ +# One4 + +## Example Usage + +```typescript +import { One4 } from "@vercel/sdk/models/getorderop.js"; + +let value: One4 = { + code: "unexpected-error", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `code` | [models.GetOrder1DomainsRegistrarResponseCode](../models/getorder1domainsregistrarresponsecode.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onecode.md b/docs/models/onecode.md new file mode 100644 index 000000000..8ab8afcbb --- /dev/null +++ b/docs/models/onecode.md @@ -0,0 +1,15 @@ +# OneCode + +## Example Usage + +```typescript +import { OneCode } from "@vercel/sdk/models/getorderop.js"; + +let value: OneCode = "payment-failed"; +``` + +## Values + +```typescript +"payment-failed" +``` \ No newline at end of file diff --git a/docs/models/onedetails.md b/docs/models/onedetails.md new file mode 100644 index 000000000..0b7d0d433 --- /dev/null +++ b/docs/models/onedetails.md @@ -0,0 +1,18 @@ +# OneDetails + +## Example Usage + +```typescript +import { OneDetails } from "@vercel/sdk/models/getorderop.js"; + +let value: OneDetails = { + expectedPrice: 9380.9, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `expectedPrice` | *number* | :heavy_check_mark: | N/A | +| `actualPrice` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/onehundred.md b/docs/models/onehundred.md index 3ed6fc2dc..cd71283fd 100644 --- a/docs/models/onehundred.md +++ b/docs/models/onehundred.md @@ -8,16 +8,16 @@ The payload of the event, if requested. import { OneHundred } from "@vercel/sdk/models/userevent.js"; let value: OneHundred = { - uid: "", - name: { - name: "", + team: { + id: "", }, }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `uid` | *string* | :heavy_check_mark: | N/A | -| `name` | *models.Name* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | +| `team` | [models.UserEventPayload100Team](../models/usereventpayload100team.md) | :heavy_check_mark: | N/A | +| `previousRule` | [models.PreviousRule](../models/previousrule.md) | :heavy_minus_sign: | N/A | +| `nextRule` | [models.NextRule](../models/nextrule.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandeight.md b/docs/models/onehundredandeight.md index 4e848ccee..e9f73bdab 100644 --- a/docs/models/onehundredandeight.md +++ b/docs/models/onehundredandeight.md @@ -8,18 +8,26 @@ The payload of the event, if requested. import { OneHundredAndEight } from "@vercel/sdk/models/userevent.js"; let value: OneHundredAndEight = { - id: "", - type: "redis", + budget: { + type: "fixed", + fixedBudget: 15.38, + previousSpend: [], + notifiedAt: [ + 8740.23, + 7414.18, + 1057.41, + ], + createdAt: 2679.24, + isActive: true, + teamId: "", + id: "", + }, }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | -| `id` | *string* | :heavy_check_mark: | N/A | -| `name` | *string* | :heavy_minus_sign: | N/A | -| `computeUnitsMax` | *number* | :heavy_minus_sign: | N/A | -| `computeUnitsMin` | *number* | :heavy_minus_sign: | N/A | -| `suspendTimeoutSeconds` | *number* | :heavy_minus_sign: | N/A | -| `type` | [models.UserEventPayloadType](../models/usereventpayloadtype.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `budget` | [models.UserEventPayloadBudget](../models/usereventpayloadbudget.md) | :heavy_check_mark: | Represents a budget for tracking and notifying teams on their spending. | +| `webhookUrl` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandeighteen.md b/docs/models/onehundredandeighteen.md index 8c346f70d..9f554e9a9 100644 --- a/docs/models/onehundredandeighteen.md +++ b/docs/models/onehundredandeighteen.md @@ -8,18 +8,16 @@ The payload of the event, if requested. import { OneHundredAndEighteen } from "@vercel/sdk/models/userevent.js"; let value: OneHundredAndEighteen = { - entitlement: "", - user: { - id: "", - username: "Wilton51", - }, + previousRole: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | -| `entitlement` | *string* | :heavy_check_mark: | N/A | -| `user` | [models.UserEventPayload118User](../models/usereventpayload118user.md) | :heavy_check_mark: | N/A | -| `previousCanceledAt` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | +| `directoryType` | *string* | :heavy_minus_sign: | N/A | +| `updatedUser` | [models.UpdatedUser](../models/updateduser.md) | :heavy_minus_sign: | N/A | +| `role` | *string* | :heavy_minus_sign: | N/A | +| `previousRole` | *string* | :heavy_check_mark: | N/A | +| `updatedUid` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandeleven.md b/docs/models/onehundredandeleven.md index d4beec29b..b0095f298 100644 --- a/docs/models/onehundredandeleven.md +++ b/docs/models/onehundredandeleven.md @@ -8,12 +8,12 @@ The payload of the event, if requested. import { OneHundredAndEleven } from "@vercel/sdk/models/userevent.js"; let value: OneHundredAndEleven = { - slug: "", + storeType: "postgres", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `slug` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | +| `storeType` | [models.StoreType](../models/storetype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandfifteen.md b/docs/models/onehundredandfifteen.md index 1b30be0b4..1222dace6 100644 --- a/docs/models/onehundredandfifteen.md +++ b/docs/models/onehundredandfifteen.md @@ -7,18 +7,17 @@ The payload of the event, if requested. ```typescript import { OneHundredAndFifteen } from "@vercel/sdk/models/userevent.js"; -let value: OneHundredAndFifteen = { - uid: "", -}; +let value: OneHundredAndFifteen = {}; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `role` | *string* | :heavy_minus_sign: | N/A | -| `uid` | *string* | :heavy_check_mark: | N/A | -| `origin` | *string* | :heavy_minus_sign: | N/A | -| `teamRoles` | *string*[] | :heavy_minus_sign: | N/A | -| `teamPermissions` | *string*[] | :heavy_minus_sign: | N/A | -| `entitlements` | *string*[] | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | +| `directoryType` | *string* | :heavy_minus_sign: | N/A | +| `ssoType` | *string* | :heavy_minus_sign: | N/A | +| `invitedUser` | [models.InvitedUser](../models/inviteduser.md) | :heavy_minus_sign: | N/A | +| `invitedEmail` | *string* | :heavy_minus_sign: | N/A | +| `invitationRole` | *string* | :heavy_minus_sign: | N/A | +| `entitlements` | *string*[] | :heavy_minus_sign: | N/A | +| `invitedUid` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandfifty.md b/docs/models/onehundredandfifty.md index 8e2269e8a..dd522df05 100644 --- a/docs/models/onehundredandfifty.md +++ b/docs/models/onehundredandfifty.md @@ -8,21 +8,16 @@ The payload of the event, if requested. import { OneHundredAndFifty } from "@vercel/sdk/models/userevent.js"; let value: OneHundredAndFifty = { - project: { - id: "", - name: "", - }, - group: { - id: "", - slug: "", - name: "", - }, + id: "", + slug: "", + name: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | -| `project` | [models.UserEventPayload150Project](../models/usereventpayload150project.md) | :heavy_check_mark: | N/A | -| `group` | [models.Group](../models/group.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| 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 | \ No newline at end of file diff --git a/docs/models/onehundredandfiftyeight.md b/docs/models/onehundredandfiftyeight.md index 7d7d19d02..283c1eaaf 100644 --- a/docs/models/onehundredandfiftyeight.md +++ b/docs/models/onehundredandfiftyeight.md @@ -9,13 +9,16 @@ import { OneHundredAndFiftyEight } from "@vercel/sdk/models/userevent.js"; let value: OneHundredAndFiftyEight = { appName: "", - appId: "", + nextScopes: [], }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `appName` | *string* | :heavy_check_mark: | N/A | -| `appId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `appName` | *string* | :heavy_check_mark: | N/A | +| `appId` | *string* | :heavy_minus_sign: | N/A | +| `nextScopes` | [models.NextScopes](../models/nextscopes.md)[] | :heavy_check_mark: | N/A | +| `nextPermissions` | [models.NextPermissions](../models/nextpermissions.md)[] | :heavy_minus_sign: | N/A | +| `nextAcceptedPermissionSets` | [models.NextAcceptedPermissionSets](../models/nextacceptedpermissionsets.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandfiftyfive.md b/docs/models/onehundredandfiftyfive.md index 1956a86ba..d8a33ee0f 100644 --- a/docs/models/onehundredandfiftyfive.md +++ b/docs/models/onehundredandfiftyfive.md @@ -8,14 +8,12 @@ The payload of the event, if requested. import { OneHundredAndFiftyFive } from "@vercel/sdk/models/userevent.js"; let value: OneHundredAndFiftyFive = { - appName: "", - scopes: [], + tier: "pro", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `appName` | *string* | :heavy_check_mark: | N/A | -| `scopes` | *string*[] | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------- | -------------------------------- | -------------------------------- | -------------------------------- | +| `tier` | [models.Tier](../models/tier.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandfiftyfour.md b/docs/models/onehundredandfiftyfour.md index c12539e81..034ced197 100644 --- a/docs/models/onehundredandfiftyfour.md +++ b/docs/models/onehundredandfiftyfour.md @@ -8,14 +8,16 @@ The payload of the event, if requested. import { OneHundredAndFiftyFour } from "@vercel/sdk/models/userevent.js"; let value: OneHundredAndFiftyFour = { - oldName: "", - newName: "", + projectId: "", + projectName: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `oldName` | *string* | :heavy_check_mark: | N/A | -| `newName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | +| `projectWebAnalytics` | [models.ProjectWebAnalytics](../models/projectwebanalytics.md) | :heavy_minus_sign: | N/A | +| `prevProjectWebAnalytics` | [models.PrevProjectWebAnalytics](../models/prevprojectwebanalytics.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandfiftyone.md b/docs/models/onehundredandfiftyone.md index be21fafbf..d0275c803 100644 --- a/docs/models/onehundredandfiftyone.md +++ b/docs/models/onehundredandfiftyone.md @@ -8,25 +8,21 @@ The payload of the event, if requested. import { OneHundredAndFiftyOne } from "@vercel/sdk/models/userevent.js"; let value: OneHundredAndFiftyOne = { - project: { - id: "", - name: "", - }, + id: "", prev: { - project: {}, - }, - group: { - id: "", - slug: "", name: "", + slug: "", + fallbackEnvironment: "", }, }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | -| `project` | [models.UserEventPayload151Project](../models/usereventpayload151project.md) | :heavy_check_mark: | N/A | -| `prev` | [models.PayloadPrev](../models/payloadprev.md) | :heavy_check_mark: | N/A | -| `group` | [models.PayloadGroup](../models/payloadgroup.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------- | -------------------------------- | -------------------------------- | -------------------------------- | +| `id` | *string* | :heavy_check_mark: | N/A | +| `slug` | *string* | :heavy_minus_sign: | N/A | +| `name` | *string* | :heavy_minus_sign: | N/A | +| `fallbackEnvironment` | *string* | :heavy_minus_sign: | N/A | +| `prev` | [models.Prev](../models/prev.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandfiftyseven.md b/docs/models/onehundredandfiftyseven.md index 316961742..5258da27d 100644 --- a/docs/models/onehundredandfiftyseven.md +++ b/docs/models/onehundredandfiftyseven.md @@ -9,11 +9,18 @@ import { OneHundredAndFiftySeven } from "@vercel/sdk/models/userevent.js"; let value: OneHundredAndFiftySeven = { appName: "", + scopes: [ + "openid", + ], }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `appName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `appName` | *string* | :heavy_check_mark: | N/A | +| `appId` | *string* | :heavy_minus_sign: | N/A | +| `scopes` | [models.PayloadScopes](../models/payloadscopes.md)[] | :heavy_check_mark: | N/A | +| `permissions` | [models.Permissions](../models/permissions.md)[] | :heavy_minus_sign: | N/A | +| `acceptedPermissionSets` | [models.AcceptedPermissionSets](../models/acceptedpermissionsets.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandfiftysix.md b/docs/models/onehundredandfiftysix.md index 716ed88f3..228433d68 100644 --- a/docs/models/onehundredandfiftysix.md +++ b/docs/models/onehundredandfiftysix.md @@ -8,12 +8,8 @@ The payload of the event, if requested. import { OneHundredAndFiftySix } from "@vercel/sdk/models/userevent.js"; let value: OneHundredAndFiftySix = { - appName: "", - nextScopes: [ - "", - "", - "", - ], + oldName: "", + newName: "", }; ``` @@ -21,5 +17,5 @@ let value: OneHundredAndFiftySix = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `appName` | *string* | :heavy_check_mark: | N/A | -| `nextScopes` | *string*[] | :heavy_check_mark: | N/A | \ No newline at end of file +| `oldName` | *string* | :heavy_check_mark: | N/A | +| `newName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandfiftythree.md b/docs/models/onehundredandfiftythree.md index f1dafc609..be1a4b325 100644 --- a/docs/models/onehundredandfiftythree.md +++ b/docs/models/onehundredandfiftythree.md @@ -8,12 +8,25 @@ The payload of the event, if requested. import { OneHundredAndFiftyThree } from "@vercel/sdk/models/userevent.js"; let value: OneHundredAndFiftyThree = { - tier: "pro", + project: { + id: "", + name: "", + }, + prev: { + project: {}, + }, + group: { + id: "", + slug: "", + name: "", + }, }; ``` ## Fields -| Field | Type | Required | Description | -| -------------------------------- | -------------------------------- | -------------------------------- | -------------------------------- | -| `tier` | [models.Tier](../models/tier.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `project` | [models.UserEventPayload153Project](../models/usereventpayload153project.md) | :heavy_check_mark: | N/A | +| `prev` | [models.PayloadPrev](../models/payloadprev.md) | :heavy_check_mark: | N/A | +| `group` | [models.PayloadGroup](../models/payloadgroup.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandfiftytwo.md b/docs/models/onehundredandfiftytwo.md index 095a87b6e..c6eaf2883 100644 --- a/docs/models/onehundredandfiftytwo.md +++ b/docs/models/onehundredandfiftytwo.md @@ -8,16 +8,21 @@ The payload of the event, if requested. import { OneHundredAndFiftyTwo } from "@vercel/sdk/models/userevent.js"; let value: OneHundredAndFiftyTwo = { - projectId: "", - projectName: "", + project: { + id: "", + name: "", + }, + group: { + id: "", + slug: "", + name: "", + }, }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | -| `projectWebAnalytics` | [models.ProjectWebAnalytics](../models/projectwebanalytics.md) | :heavy_minus_sign: | N/A | -| `prevProjectWebAnalytics` | [models.PrevProjectWebAnalytics](../models/prevprojectwebanalytics.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `project` | [models.UserEventPayload152Project](../models/usereventpayload152project.md) | :heavy_check_mark: | N/A | +| `group` | [models.Group](../models/group.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandfive.md b/docs/models/onehundredandfive.md index c80b39584..bbbd0d728 100644 --- a/docs/models/onehundredandfive.md +++ b/docs/models/onehundredandfive.md @@ -8,29 +8,18 @@ The payload of the event, if requested. import { OneHundredAndFive } from "@vercel/sdk/models/userevent.js"; let value: OneHundredAndFive = { - budget: { - type: "fixed", - fixedBudget: 1236.74, - previousSpend: [ - 8664.74, - 4850.97, - 8759.72, - ], - notifiedAt: [ - 7004.13, - 2121.1, - 9128.57, - ], - createdAt: 5735.15, - isActive: true, - teamId: "", - id: "", - }, + scalingRules: {}, + min: 8074.56, + max: 8664.74, + url: "https://twin-stranger.net/", }; ``` ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | -| `budget` | [models.PayloadBudget](../models/payloadbudget.md) | :heavy_check_mark: | Represents a budget for tracking and notifying teams on their spending. | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | +| `scalingRules` | Record | :heavy_check_mark: | N/A | +| `min` | *number* | :heavy_check_mark: | N/A | +| `max` | *number* | :heavy_check_mark: | N/A | +| `url` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandforty.md b/docs/models/onehundredandforty.md index e01a17a80..9f1ff2226 100644 --- a/docs/models/onehundredandforty.md +++ b/docs/models/onehundredandforty.md @@ -9,10 +9,13 @@ import { OneHundredAndForty } from "@vercel/sdk/models/userevent.js"; let value: OneHundredAndForty = { project: { - id: "", name: "", }, - projectMembership: {}, + projectMembership: { + role: "PROJECT_DEVELOPER", + uid: "", + createdAt: 6908.82, + }, }; ``` @@ -21,4 +24,4 @@ let value: OneHundredAndForty = { | Field | Type | Required | Description | | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | | `project` | [models.UserEventPayload140Project](../models/usereventpayload140project.md) | :heavy_check_mark: | N/A | -| `projectMembership` | [models.PayloadProjectMembership](../models/payloadprojectmembership.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `projectMembership` | [models.ProjectMembership](../models/projectmembership.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandfortyeight.md b/docs/models/onehundredandfortyeight.md index 9537bfb05..13461a574 100644 --- a/docs/models/onehundredandfortyeight.md +++ b/docs/models/onehundredandfortyeight.md @@ -8,16 +8,16 @@ The payload of the event, if requested. import { OneHundredAndFortyEight } from "@vercel/sdk/models/userevent.js"; let value: OneHundredAndFortyEight = { - id: "", - slug: "", - name: "", + edgeConfigId: "", + edgeConfigSlug: "", + edgeConfigTokenIds: [], }; ``` ## 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 | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------- | --------------------- | --------------------- | --------------------- | +| `edgeConfigId` | *string* | :heavy_check_mark: | N/A | +| `edgeConfigSlug` | *string* | :heavy_check_mark: | N/A | +| `edgeConfigTokenIds` | *string*[] | :heavy_check_mark: | ids of deleted tokens | \ No newline at end of file diff --git a/docs/models/onehundredandfortyfive.md b/docs/models/onehundredandfortyfive.md index 2d865b27f..567bfc091 100644 --- a/docs/models/onehundredandfortyfive.md +++ b/docs/models/onehundredandfortyfive.md @@ -8,18 +8,17 @@ The payload of the event, if requested. import { OneHundredAndFortyFive } from "@vercel/sdk/models/userevent.js"; let value: OneHundredAndFortyFive = { - edgeConfigId: "", - edgeConfigSlug: "", - edgeConfigTokenId: "", - label: "", + projectName: "", + srcImages: [ + "", + "", + ], }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------- | ------------------- | ------------------- | ------------------- | -| `edgeConfigId` | *string* | :heavy_check_mark: | N/A | -| `edgeConfigSlug` | *string* | :heavy_check_mark: | N/A | -| `edgeConfigTokenId` | *string* | :heavy_check_mark: | N/A | -| `label` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `projectName` | *string* | :heavy_check_mark: | N/A | +| `srcImages` | *string*[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandfortyfour.md b/docs/models/onehundredandfortyfour.md index 10db12c4a..fea1fae55 100644 --- a/docs/models/onehundredandfortyfour.md +++ b/docs/models/onehundredandfortyfour.md @@ -8,9 +8,8 @@ The payload of the event, if requested. import { OneHundredAndFortyFour } from "@vercel/sdk/models/userevent.js"; let value: OneHundredAndFortyFour = { - edgeConfigId: "", - edgeConfigSlug: "", - edgeConfigDigest: "", + projectName: "", + tags: [], }; ``` @@ -18,6 +17,6 @@ let value: OneHundredAndFortyFour = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `edgeConfigId` | *string* | :heavy_check_mark: | N/A | -| `edgeConfigSlug` | *string* | :heavy_check_mark: | N/A | -| `edgeConfigDigest` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| `projectName` | *string* | :heavy_check_mark: | N/A | +| `tags` | *string*[] | :heavy_check_mark: | N/A | +| `target` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandfortynine.md b/docs/models/onehundredandfortynine.md index a24f2db33..4666b6d4e 100644 --- a/docs/models/onehundredandfortynine.md +++ b/docs/models/onehundredandfortynine.md @@ -8,22 +8,12 @@ The payload of the event, if requested. import { OneHundredAndFortyNine } from "@vercel/sdk/models/userevent.js"; let value: OneHundredAndFortyNine = { - id: "", - prev: { - name: "", - slug: "", - fallbackEnvironment: "", - }, + action: "enable", }; ``` ## Fields -| Field | Type | Required | Description | -| -------------------------------- | -------------------------------- | -------------------------------- | -------------------------------- | -| `id` | *string* | :heavy_check_mark: | N/A | -| `slug` | *string* | :heavy_minus_sign: | N/A | -| `name` | *string* | :heavy_minus_sign: | N/A | -| `fallbackEnvironment` | *string* | :heavy_minus_sign: | N/A | -| `enableMfeAliases` | *boolean* | :heavy_minus_sign: | N/A | -| `prev` | [models.Prev](../models/prev.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `action` | [models.UserEventPayload149Action](../models/usereventpayload149action.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandfortyone.md b/docs/models/onehundredandfortyone.md index 61c3b9ead..155ffb9b5 100644 --- a/docs/models/onehundredandfortyone.md +++ b/docs/models/onehundredandfortyone.md @@ -10,8 +10,11 @@ import { OneHundredAndFortyOne } from "@vercel/sdk/models/userevent.js"; let value: OneHundredAndFortyOne = { project: { name: "", + }, + removedMembership: { role: "ADMIN", - invitedUserName: "", + uid: "", + createdAt: 5426.29, }, }; ``` @@ -20,4 +23,5 @@ let value: OneHundredAndFortyOne = { | Field | Type | Required | Description | | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | -| `project` | [models.UserEventPayload141Project](../models/usereventpayload141project.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `project` | [models.UserEventPayload141Project](../models/usereventpayload141project.md) | :heavy_check_mark: | N/A | +| `removedMembership` | [models.RemovedMembership](../models/removedmembership.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandfortyseven.md b/docs/models/onehundredandfortyseven.md index 8bd389f71..baac502ff 100644 --- a/docs/models/onehundredandfortyseven.md +++ b/docs/models/onehundredandfortyseven.md @@ -8,12 +8,18 @@ The payload of the event, if requested. import { OneHundredAndFortySeven } from "@vercel/sdk/models/userevent.js"; let value: OneHundredAndFortySeven = { - action: "disable", + edgeConfigId: "", + edgeConfigSlug: "", + edgeConfigTokenId: "", + label: "", }; ``` ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -| `action` | [models.UserEventPayload147Action](../models/usereventpayload147action.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------- | ------------------- | ------------------- | ------------------- | +| `edgeConfigId` | *string* | :heavy_check_mark: | N/A | +| `edgeConfigSlug` | *string* | :heavy_check_mark: | N/A | +| `edgeConfigTokenId` | *string* | :heavy_check_mark: | N/A | +| `label` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandfortysix.md b/docs/models/onehundredandfortysix.md index cfde4920c..e86eb9437 100644 --- a/docs/models/onehundredandfortysix.md +++ b/docs/models/onehundredandfortysix.md @@ -10,17 +10,14 @@ import { OneHundredAndFortySix } from "@vercel/sdk/models/userevent.js"; let value: OneHundredAndFortySix = { edgeConfigId: "", edgeConfigSlug: "", - edgeConfigTokenIds: [ - "", - "", - ], + edgeConfigDigest: "", }; ``` ## Fields -| Field | Type | Required | Description | -| --------------------- | --------------------- | --------------------- | --------------------- | -| `edgeConfigId` | *string* | :heavy_check_mark: | N/A | -| `edgeConfigSlug` | *string* | :heavy_check_mark: | N/A | -| `edgeConfigTokenIds` | *string*[] | :heavy_check_mark: | ids of deleted tokens | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `edgeConfigId` | *string* | :heavy_check_mark: | N/A | +| `edgeConfigSlug` | *string* | :heavy_check_mark: | N/A | +| `edgeConfigDigest` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandfortythree.md b/docs/models/onehundredandfortythree.md index defd62bca..1ce9140a7 100644 --- a/docs/models/onehundredandfortythree.md +++ b/docs/models/onehundredandfortythree.md @@ -8,14 +8,16 @@ The payload of the event, if requested. import { OneHundredAndFortyThree } from "@vercel/sdk/models/userevent.js"; let value: OneHundredAndFortyThree = { - projectName: "", - urls: [], + project: { + name: "", + role: "ADMIN", + invitedUserName: "", + }, }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `projectName` | *string* | :heavy_check_mark: | N/A | -| `urls` | *string*[] | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `project` | [models.UserEventPayload143Project](../models/usereventpayload143project.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandfortytwo.md b/docs/models/onehundredandfortytwo.md index 2da77137e..5c362f9c0 100644 --- a/docs/models/onehundredandfortytwo.md +++ b/docs/models/onehundredandfortytwo.md @@ -8,17 +8,17 @@ The payload of the event, if requested. import { OneHundredAndFortyTwo } from "@vercel/sdk/models/userevent.js"; let value: OneHundredAndFortyTwo = { - projectName: "", - tags: [ - "", - ], + project: { + id: "", + name: "", + }, + projectMembership: {}, }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `projectName` | *string* | :heavy_check_mark: | N/A | -| `tags` | *string*[] | :heavy_check_mark: | N/A | -| `target` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `project` | [models.UserEventPayload142Project](../models/usereventpayload142project.md) | :heavy_check_mark: | N/A | +| `projectMembership` | [models.PayloadProjectMembership](../models/payloadprojectmembership.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandfour.md b/docs/models/onehundredandfour.md index a91f54bf8..640607c45 100644 --- a/docs/models/onehundredandfour.md +++ b/docs/models/onehundredandfour.md @@ -8,27 +8,12 @@ The payload of the event, if requested. import { OneHundredAndFour } from "@vercel/sdk/models/userevent.js"; let value: OneHundredAndFour = { - budget: { - budgetItem: { - type: "fixed", - fixedBudget: 268.4, - previousSpend: [ - 2211.33, - 3066.93, - 9049.6, - ], - notifiedAt: [], - createdAt: 2535.69, - isActive: true, - teamId: "", - id: "", - }, - }, + bio: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | -| `budget` | [models.Budget](../models/budget.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `bio` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandfourteen.md b/docs/models/onehundredandfourteen.md index d5b3f78f0..c0a04326c 100644 --- a/docs/models/onehundredandfourteen.md +++ b/docs/models/onehundredandfourteen.md @@ -7,16 +7,18 @@ The payload of the event, if requested. ```typescript import { OneHundredAndFourteen } from "@vercel/sdk/models/userevent.js"; -let value: OneHundredAndFourteen = {}; +let value: OneHundredAndFourteen = { + slug: "", + teamId: "", + by: "", +}; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | -| `deletedUser` | [models.DeletedUser](../models/deleteduser.md) | :heavy_minus_sign: | N/A | -| `deletedUid` | *string* | :heavy_minus_sign: | N/A | -| `githubUsername` | *string* | :heavy_minus_sign: | N/A | -| `gitlabUsername` | *string* | :heavy_minus_sign: | N/A | -| `bitbucketUsername` | *string* | :heavy_minus_sign: | N/A | -| `directoryType` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | +| `slug` | *string* | :heavy_check_mark: | N/A | +| `teamId` | *string* | :heavy_check_mark: | N/A | +| `by` | *string* | :heavy_check_mark: | N/A | +| `reasons` | [models.Reasons](../models/reasons.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandnine.md b/docs/models/onehundredandnine.md index 9c2858ab4..56e3e30a6 100644 --- a/docs/models/onehundredandnine.md +++ b/docs/models/onehundredandnine.md @@ -7,13 +7,11 @@ The payload of the event, if requested. ```typescript import { OneHundredAndNine } from "@vercel/sdk/models/userevent.js"; -let value: OneHundredAndNine = { - storeType: "postgres", -}; +let value: OneHundredAndNine = {}; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | -| `storeType` | [models.StoreType](../models/storetype.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `webhookUrl` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandnineteen.md b/docs/models/onehundredandnineteen.md index e37b30857..781dc11e4 100644 --- a/docs/models/onehundredandnineteen.md +++ b/docs/models/onehundredandnineteen.md @@ -8,12 +8,17 @@ The payload of the event, if requested. import { OneHundredAndNineteen } from "@vercel/sdk/models/userevent.js"; let value: OneHundredAndNineteen = { - enforced: true, + entitlement: "", + user: { + id: "", + username: "Elian18", + }, }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `enforced` | *boolean* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | +| `entitlement` | *string* | :heavy_check_mark: | N/A | +| `user` | [models.UserEventPayloadUser](../models/usereventpayloaduser.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandone.md b/docs/models/onehundredandone.md index 4ddbce256..3bf97ea40 100644 --- a/docs/models/onehundredandone.md +++ b/docs/models/onehundredandone.md @@ -8,15 +8,18 @@ The payload of the event, if requested. import { OneHundredAndOne } from "@vercel/sdk/models/userevent.js"; let value: OneHundredAndOne = { - oldName: "", - newName: "", + team: { + id: "", + }, + previousRule: { + email: "Kristoffer35@gmail.com", + }, }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `oldName` | *string* | :heavy_check_mark: | N/A | -| `newName` | *string* | :heavy_check_mark: | N/A | -| `uid` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | +| `team` | [models.UserEventPayload101Team](../models/usereventpayload101team.md) | :heavy_check_mark: | N/A | +| `previousRule` | [models.PayloadPreviousRule](../models/payloadpreviousrule.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandseven.md b/docs/models/onehundredandseven.md index f28f27336..eda538126 100644 --- a/docs/models/onehundredandseven.md +++ b/docs/models/onehundredandseven.md @@ -7,11 +7,30 @@ The payload of the event, if requested. ```typescript import { OneHundredAndSeven } from "@vercel/sdk/models/userevent.js"; -let value: OneHundredAndSeven = {}; +let value: OneHundredAndSeven = { + budget: { + type: "fixed", + fixedBudget: 862.85, + previousSpend: [ + 6422.59, + 2998.38, + 4041.28, + ], + notifiedAt: [ + 112.55, + 5000.45, + 501.14, + ], + createdAt: 8910.5, + isActive: false, + teamId: "", + id: "", + }, +}; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `webhookUrl` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `budget` | [models.PayloadBudget](../models/payloadbudget.md) | :heavy_check_mark: | Represents a budget for tracking and notifying teams on their spending. | \ No newline at end of file diff --git a/docs/models/onehundredandseventeen.md b/docs/models/onehundredandseventeen.md index e9592b70f..614c85b22 100644 --- a/docs/models/onehundredandseventeen.md +++ b/docs/models/onehundredandseventeen.md @@ -8,17 +8,17 @@ The payload of the event, if requested. import { OneHundredAndSeventeen } from "@vercel/sdk/models/userevent.js"; let value: OneHundredAndSeventeen = { - entitlement: "", - user: { - id: "", - username: "Roxanne.DAmore", - }, + uid: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | -| `entitlement` | *string* | :heavy_check_mark: | N/A | -| `user` | [models.UserEventPayloadUser](../models/usereventpayloaduser.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `role` | *string* | :heavy_minus_sign: | N/A | +| `uid` | *string* | :heavy_check_mark: | N/A | +| `origin` | *string* | :heavy_minus_sign: | N/A | +| `teamRoles` | *string*[] | :heavy_minus_sign: | N/A | +| `teamPermissions` | *string*[] | :heavy_minus_sign: | N/A | +| `entitlements` | *string*[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandsix.md b/docs/models/onehundredandsix.md index acd374413..0e8ae4c38 100644 --- a/docs/models/onehundredandsix.md +++ b/docs/models/onehundredandsix.md @@ -9,25 +9,26 @@ import { OneHundredAndSix } from "@vercel/sdk/models/userevent.js"; let value: OneHundredAndSix = { budget: { - type: "fixed", - fixedBudget: 7787.16, - previousSpend: [ - 2291.11, - 8090.21, - 9995.92, - ], - notifiedAt: [], - createdAt: 7509.42, - isActive: false, - teamId: "", - id: "", + budgetItem: { + type: "fixed", + fixedBudget: 268.4, + previousSpend: [ + 2211.33, + 3066.93, + 9049.6, + ], + notifiedAt: [], + createdAt: 2535.69, + isActive: true, + teamId: "", + id: "", + }, }, }; ``` ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | -| `budget` | [models.UserEventPayloadBudget](../models/usereventpayloadbudget.md) | :heavy_check_mark: | Represents a budget for tracking and notifying teams on their spending. | -| `webhookUrl` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `budget` | [models.Budget](../models/budget.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandsixteen.md b/docs/models/onehundredandsixteen.md index b4f15337e..78cc0ff46 100644 --- a/docs/models/onehundredandsixteen.md +++ b/docs/models/onehundredandsixteen.md @@ -7,17 +7,21 @@ The payload of the event, if requested. ```typescript import { OneHundredAndSixteen } from "@vercel/sdk/models/userevent.js"; -let value: OneHundredAndSixteen = { - previousRole: "", -}; +let value: OneHundredAndSixteen = {}; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | -| `directoryType` | *string* | :heavy_minus_sign: | N/A | -| `updatedUser` | [models.UpdatedUser](../models/updateduser.md) | :heavy_minus_sign: | N/A | -| `role` | *string* | :heavy_minus_sign: | N/A | -| `previousRole` | *string* | :heavy_check_mark: | N/A | -| `updatedUid` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | +| `deletedUser` | [models.DeletedUser](../models/deleteduser.md) | :heavy_minus_sign: | N/A | +| `deletedUid` | *string* | :heavy_minus_sign: | N/A | +| `githubUsername` | *string* | :heavy_minus_sign: | N/A | +| `gitlabUsername` | *string* | :heavy_minus_sign: | N/A | +| `bitbucketUsername` | *string* | :heavy_minus_sign: | N/A | +| `directoryType` | *string* | :heavy_minus_sign: | N/A | +| `role` | [models.PayloadRole](../models/payloadrole.md) | :heavy_minus_sign: | N/A | +| `reason` | *string* | :heavy_minus_sign: | N/A | +| `previousPlan` | [models.PreviousPlan](../models/previousplan.md) | :heavy_minus_sign: | N/A | +| `newPlan` | [models.NewPlan](../models/newplan.md) | :heavy_minus_sign: | N/A | +| `automated` | *boolean* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandsixty.md b/docs/models/onehundredandsixty.md index 2137839e7..3a4effe88 100644 --- a/docs/models/onehundredandsixty.md +++ b/docs/models/onehundredandsixty.md @@ -14,8 +14,8 @@ let value: OneHundredAndSixty = { ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `appName` | *string* | :heavy_check_mark: | N/A | -| `appId` | *string* | :heavy_minus_sign: | N/A | -| `installationId` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------- | --------------------- | --------------------- | --------------------- | +| `appName` | *string* | :heavy_check_mark: | N/A | +| `appId` | *string* | :heavy_minus_sign: | N/A | +| `secretLastFourChars` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandsixtyfive.md b/docs/models/onehundredandsixtyfive.md new file mode 100644 index 000000000..ce371d600 --- /dev/null +++ b/docs/models/onehundredandsixtyfive.md @@ -0,0 +1,30 @@ +# OneHundredAndSixtyFive + +The payload of the event, if requested. + +## Example Usage + +```typescript +import { OneHundredAndSixtyFive } from "@vercel/sdk/models/userevent.js"; + +let value: OneHundredAndSixtyFive = { + team: { + id: "", + name: "", + }, + configuration: { + id: "", + }, + peering: { + id: "", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `team` | [models.UserEventPayload165Team](../models/usereventpayload165team.md) | :heavy_check_mark: | N/A | +| `configuration` | [models.UserEventPayload165Configuration](../models/usereventpayload165configuration.md) | :heavy_check_mark: | N/A | +| `peering` | [models.PayloadPeering](../models/payloadpeering.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandsixtyfour.md b/docs/models/onehundredandsixtyfour.md index fce0e72a9..8a6fcdf4b 100644 --- a/docs/models/onehundredandsixtyfour.md +++ b/docs/models/onehundredandsixtyfour.md @@ -8,21 +8,26 @@ The payload of the event, if requested. import { OneHundredAndSixtyFour } from "@vercel/sdk/models/userevent.js"; let value: OneHundredAndSixtyFour = { - grantType: "refresh_token", - appName: "", - atTTL: 9181.17, - scope: "", - authMethod: "app", + team: { + id: "", + name: "", + }, + configuration: { + id: "", + }, + peering: { + id: "", + accountId: "", + region: "", + vpcId: "", + }, }; ``` ## Fields -| Field | Type | Required | Description | -| -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -| `grantType` | [models.GrantType](../models/granttype.md) | :heavy_check_mark: | N/A | -| `appName` | *string* | :heavy_check_mark: | N/A | -| `atTTL` | *number* | :heavy_check_mark: | access_token TTL | -| `rtTTL` | *number* | :heavy_minus_sign: | refresh_token TTL | -| `scope` | *string* | :heavy_check_mark: | N/A | -| `authMethod` | [models.AuthMethod](../models/authmethod.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `team` | [models.UserEventPayload164Team](../models/usereventpayload164team.md) | :heavy_check_mark: | N/A | +| `configuration` | [models.UserEventPayload164Configuration](../models/usereventpayload164configuration.md) | :heavy_check_mark: | N/A | +| `peering` | [models.Peering](../models/peering.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandsixtyone.md b/docs/models/onehundredandsixtyone.md index ffa2d3ce0..c2c3364d0 100644 --- a/docs/models/onehundredandsixtyone.md +++ b/docs/models/onehundredandsixtyone.md @@ -8,26 +8,14 @@ The payload of the event, if requested. import { OneHundredAndSixtyOne } from "@vercel/sdk/models/userevent.js"; let value: OneHundredAndSixtyOne = { - team: { - id: "", - name: "", - }, - configuration: { - id: "", - }, - peering: { - id: "", - accountId: "", - region: "", - vpcId: "", - }, + appName: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | -| `team` | [models.UserEventPayload161Team](../models/usereventpayload161team.md) | :heavy_check_mark: | N/A | -| `configuration` | [models.UserEventPayload161Configuration](../models/usereventpayload161configuration.md) | :heavy_check_mark: | N/A | -| `peering` | [models.Peering](../models/peering.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | +| `appName` | *string* | :heavy_check_mark: | N/A | +| `appId` | *string* | :heavy_minus_sign: | N/A | +| `resources` | [models.Resources](../models/resources.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandsixtyseven.md b/docs/models/onehundredandsixtyseven.md new file mode 100644 index 000000000..1501f9ae8 --- /dev/null +++ b/docs/models/onehundredandsixtyseven.md @@ -0,0 +1,32 @@ +# OneHundredAndSixtySeven + +The payload of the event, if requested. + +## Example Usage + +```typescript +import { OneHundredAndSixtySeven } from "@vercel/sdk/models/userevent.js"; + +let value: OneHundredAndSixtySeven = { + grantType: "urn:ietf:params:oauth:grant-type:device_code", + appName: "", + atTTL: 5566.29, + scope: "", + authMethod: "github", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | +| `grantType` | [models.GrantType](../models/granttype.md) | :heavy_check_mark: | N/A | +| `appName` | *string* | :heavy_check_mark: | the app's name at the time the event was published (it could have changed since then) | +| `atTTL` | *number* | :heavy_check_mark: | access_token TTL | +| `rtTTL` | *number* | :heavy_minus_sign: | refresh_token TTL | +| `scope` | *string* | :heavy_check_mark: | N/A | +| `authMethod` | [models.AuthMethod](../models/authmethod.md) | :heavy_check_mark: | N/A | +| `app` | [models.PayloadApp](../models/payloadapp.md) | :heavy_minus_sign: | optional since entries prior to 2025-10-13 do not contain app information | +| `includesRefreshToken` | *boolean* | :heavy_minus_sign: | optional since entries prior to 2025-10-13 do not contain this field | +| `publicId` | *string* | :heavy_minus_sign: | optional since entries prior to 2025-10-13 do not contain this field | +| `sessionId` | *string* | :heavy_minus_sign: | optional since entries prior to 2025-10-13 do not contain this field | \ No newline at end of file diff --git a/docs/models/onehundredandsixtysix.md b/docs/models/onehundredandsixtysix.md new file mode 100644 index 000000000..7ee8555ea --- /dev/null +++ b/docs/models/onehundredandsixtysix.md @@ -0,0 +1,31 @@ +# OneHundredAndSixtySix + +The payload of the event, if requested. + +## Example Usage + +```typescript +import { OneHundredAndSixtySix } from "@vercel/sdk/models/userevent.js"; + +let value: OneHundredAndSixtySix = { + team: { + id: "", + name: "", + }, + configuration: { + id: "", + }, + peering: { + id: "", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `team` | [models.UserEventPayload166Team](../models/usereventpayload166team.md) | :heavy_check_mark: | N/A | +| `configuration` | [models.UserEventPayload166Configuration](../models/usereventpayload166configuration.md) | :heavy_check_mark: | N/A | +| `peering` | [models.UserEventPayloadPeering](../models/usereventpayloadpeering.md) | :heavy_check_mark: | N/A | +| `newName` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandsixtythree.md b/docs/models/onehundredandsixtythree.md index e6979dc49..8d0b6db4a 100644 --- a/docs/models/onehundredandsixtythree.md +++ b/docs/models/onehundredandsixtythree.md @@ -8,24 +8,15 @@ The payload of the event, if requested. import { OneHundredAndSixtyThree } from "@vercel/sdk/models/userevent.js"; let value: OneHundredAndSixtyThree = { - team: { - id: "", - name: "", - }, - configuration: { - id: "", - }, - peering: { - id: "", - }, + appName: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | -| `team` | [models.UserEventPayload163Team](../models/usereventpayload163team.md) | :heavy_check_mark: | N/A | -| `configuration` | [models.UserEventPayload163Configuration](../models/usereventpayload163configuration.md) | :heavy_check_mark: | N/A | -| `peering` | [models.UserEventPayloadPeering](../models/usereventpayloadpeering.md) | :heavy_check_mark: | N/A | -| `newName` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | +| `appName` | *string* | :heavy_check_mark: | The App's name at the moment this even was published (it may have changed since then). | +| `appId` | *string* | :heavy_minus_sign: | The App's ID. Note that not all historical events have this field. | +| `app` | [models.App](../models/app.md) | :heavy_minus_sign: | Note that not all historical events have this field. | +| `issuedBefore` | *number* | :heavy_minus_sign: | UNIX timestamp in seconds. Tokens issued before this timestamp will be revoked. Note that not all historical events have this field. | \ No newline at end of file diff --git a/docs/models/onehundredandsixtytwo.md b/docs/models/onehundredandsixtytwo.md index 9ef913457..9a34fbce0 100644 --- a/docs/models/onehundredandsixtytwo.md +++ b/docs/models/onehundredandsixtytwo.md @@ -8,23 +8,16 @@ The payload of the event, if requested. import { OneHundredAndSixtyTwo } from "@vercel/sdk/models/userevent.js"; let value: OneHundredAndSixtyTwo = { - team: { - id: "", - name: "", - }, - configuration: { - id: "", - }, - peering: { - id: "", - }, + appName: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | -| `team` | [models.UserEventPayload162Team](../models/usereventpayload162team.md) | :heavy_check_mark: | N/A | -| `configuration` | [models.UserEventPayload162Configuration](../models/usereventpayload162configuration.md) | :heavy_check_mark: | N/A | -| `peering` | [models.PayloadPeering](../models/payloadpeering.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `appName` | *string* | :heavy_check_mark: | N/A | +| `appId` | *string* | :heavy_minus_sign: | N/A | +| `installationId` | *string* | :heavy_minus_sign: | N/A | +| `before` | [models.Before](../models/before.md) | :heavy_minus_sign: | N/A | +| `after` | [models.After](../models/after.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandten.md b/docs/models/onehundredandten.md index a7dc3545a..019920be0 100644 --- a/docs/models/onehundredandten.md +++ b/docs/models/onehundredandten.md @@ -8,16 +8,18 @@ The payload of the event, if requested. import { OneHundredAndTen } from "@vercel/sdk/models/userevent.js"; let value: OneHundredAndTen = { - store: { - name: "", - id: "", - }, + id: "", + type: "redis", }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------- | ---------------------------------- | ---------------------------------- | ---------------------------------- | -| `store` | [models.Store](../models/store.md) | :heavy_check_mark: | N/A | -| `ownerId` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | N/A | +| `name` | *string* | :heavy_minus_sign: | N/A | +| `computeUnitsMax` | *number* | :heavy_minus_sign: | N/A | +| `computeUnitsMin` | *number* | :heavy_minus_sign: | N/A | +| `suspendTimeoutSeconds` | *number* | :heavy_minus_sign: | N/A | +| `type` | [models.UserEventPayloadType](../models/usereventpayloadtype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandthirteen.md b/docs/models/onehundredandthirteen.md index 4f3239ca9..47e709788 100644 --- a/docs/models/onehundredandthirteen.md +++ b/docs/models/onehundredandthirteen.md @@ -7,17 +7,13 @@ The payload of the event, if requested. ```typescript import { OneHundredAndThirteen } from "@vercel/sdk/models/userevent.js"; -let value: OneHundredAndThirteen = {}; +let value: OneHundredAndThirteen = { + slug: "", +}; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | -| `directoryType` | *string* | :heavy_minus_sign: | N/A | -| `ssoType` | *string* | :heavy_minus_sign: | N/A | -| `invitedUser` | [models.InvitedUser](../models/inviteduser.md) | :heavy_minus_sign: | N/A | -| `invitedEmail` | *string* | :heavy_minus_sign: | N/A | -| `invitationRole` | *string* | :heavy_minus_sign: | N/A | -| `entitlements` | *string*[] | :heavy_minus_sign: | N/A | -| `invitedUid` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `slug` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandthirty.md b/docs/models/onehundredandthirty.md index 91584d6f8..e0eccd158 100644 --- a/docs/models/onehundredandthirty.md +++ b/docs/models/onehundredandthirty.md @@ -15,4 +15,5 @@ let value: OneHundredAndThirty = {}; | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | | `price` | *number* | :heavy_minus_sign: | N/A | -| `currency` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| `currency` | *string* | :heavy_minus_sign: | N/A | +| `enabled` | *boolean* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandthirtyeight.md b/docs/models/onehundredandthirtyeight.md index 812fa0f90..bc0dccccf 100644 --- a/docs/models/onehundredandthirtyeight.md +++ b/docs/models/onehundredandthirtyeight.md @@ -8,20 +8,17 @@ The payload of the event, if requested. import { OneHundredAndThirtyEight } from "@vercel/sdk/models/userevent.js"; let value: OneHundredAndThirtyEight = { - project: { - name: "", - }, - projectMembership: { - role: "PROJECT_VIEWER", - uid: "", - createdAt: 3187.55, - }, + previousProjectName: "", + newProjectName: "", + destinationAccountName: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | -| `project` | [models.UserEventPayload138Project](../models/usereventpayload138project.md) | :heavy_check_mark: | N/A | -| `projectMembership` | [models.ProjectMembership](../models/projectmembership.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------ | ------------------------ | ------------------------ | ------------------------ | +| `previousProjectName` | *string* | :heavy_check_mark: | N/A | +| `newProjectName` | *string* | :heavy_check_mark: | N/A | +| `destinationAccountName` | *string* | :heavy_check_mark: | N/A | +| `transferId` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandthirtyfive.md b/docs/models/onehundredandthirtyfive.md index 8acafae9b..ad89ad031 100644 --- a/docs/models/onehundredandthirtyfive.md +++ b/docs/models/onehundredandthirtyfive.md @@ -8,15 +8,17 @@ The payload of the event, if requested. import { OneHundredAndThirtyFive } from "@vercel/sdk/models/userevent.js"; let value: OneHundredAndThirtyFive = { - projectName: "", - destinationAccountName: "", + requestedTeamName: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------ | ------------------------ | ------------------------ | ------------------------ | -| `projectName` | *string* | :heavy_check_mark: | N/A | -| `destinationAccountName` | *string* | :heavy_check_mark: | N/A | -| `transferId` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------- | ------------------- | ------------------- | ------------------- | +| `requestedTeamName` | *string* | :heavy_check_mark: | N/A | +| `requestedUserName` | *string* | :heavy_minus_sign: | N/A | +| `gitUsername` | *string* | :heavy_minus_sign: | N/A | +| `githubUsername` | *string* | :heavy_minus_sign: | N/A | +| `gitlabUsername` | *string* | :heavy_minus_sign: | N/A | +| `bitbucketUsername` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandthirtyfour.md b/docs/models/onehundredandthirtyfour.md index ee9780a0c..c2fbf992d 100644 --- a/docs/models/onehundredandthirtyfour.md +++ b/docs/models/onehundredandthirtyfour.md @@ -8,21 +8,17 @@ The payload of the event, if requested. import { OneHundredAndThirtyFour } from "@vercel/sdk/models/userevent.js"; let value: OneHundredAndThirtyFour = { - projectId: "", - projectName: "", - originAccountName: "", - destinationAccountName: "", - destinationAccountId: "", + teamName: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------ | ------------------------ | ------------------------ | ------------------------ | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | -| `originAccountName` | *string* | :heavy_check_mark: | N/A | -| `destinationAccountName` | *string* | :heavy_check_mark: | N/A | -| `destinationAccountId` | *string* | :heavy_check_mark: | N/A | -| `transferId` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------- | ------------------- | ------------------- | ------------------- | +| `teamName` | *string* | :heavy_check_mark: | N/A | +| `username` | *string* | :heavy_minus_sign: | N/A | +| `gitUsername` | *string* | :heavy_minus_sign: | N/A | +| `githubUsername` | *string* | :heavy_minus_sign: | N/A | +| `gitlabUsername` | *string* | :heavy_minus_sign: | N/A | +| `bitbucketUsername` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandthirtynine.md b/docs/models/onehundredandthirtynine.md index 27b019a7c..e0c8010fb 100644 --- a/docs/models/onehundredandthirtynine.md +++ b/docs/models/onehundredandthirtynine.md @@ -8,20 +8,17 @@ The payload of the event, if requested. import { OneHundredAndThirtyNine } from "@vercel/sdk/models/userevent.js"; let value: OneHundredAndThirtyNine = { - project: { - name: "", - }, - removedMembership: { - role: "PROJECT_VIEWER", - uid: "", - createdAt: 3075.54, - }, + previousProjectName: "", + newProjectName: "", + originAccountName: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | -| `project` | [models.UserEventPayload139Project](../models/usereventpayload139project.md) | :heavy_check_mark: | N/A | -| `removedMembership` | [models.RemovedMembership](../models/removedmembership.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------- | --------------------- | --------------------- | --------------------- | +| `previousProjectName` | *string* | :heavy_check_mark: | N/A | +| `newProjectName` | *string* | :heavy_check_mark: | N/A | +| `originAccountName` | *string* | :heavy_check_mark: | N/A | +| `transferId` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandthirtyone.md b/docs/models/onehundredandthirtyone.md index 5d96f8fdd..d8dac0788 100644 --- a/docs/models/onehundredandthirtyone.md +++ b/docs/models/onehundredandthirtyone.md @@ -7,20 +7,12 @@ The payload of the event, if requested. ```typescript import { OneHundredAndThirtyOne } from "@vercel/sdk/models/userevent.js"; -let value: OneHundredAndThirtyOne = { - teamName: "", -}; +let value: OneHundredAndThirtyOne = {}; ``` ## Fields -| Field | Type | Required | Description | -| ------------------- | ------------------- | ------------------- | ------------------- | -| `teamName` | *string* | :heavy_check_mark: | N/A | -| `username` | *string* | :heavy_minus_sign: | N/A | -| `gitUsername` | *string* | :heavy_minus_sign: | N/A | -| `githubUsername` | *string* | :heavy_minus_sign: | N/A | -| `gitlabUsername` | *string* | :heavy_minus_sign: | N/A | -| `bitbucketUsername` | *string* | :heavy_minus_sign: | N/A | -| `updatedUid` | *string* | :heavy_minus_sign: | N/A | -| `teamId` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------- | --------------------------------- | --------------------------------- | --------------------------------- | +| `previewDeploymentSuffix` | *string* | :heavy_minus_sign: | N/A | +| `previousPreviewDeploymentSuffix` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandthirtyseven.md b/docs/models/onehundredandthirtyseven.md index 1d4c1b3cb..ca8f38f56 100644 --- a/docs/models/onehundredandthirtyseven.md +++ b/docs/models/onehundredandthirtyseven.md @@ -8,17 +8,15 @@ The payload of the event, if requested. import { OneHundredAndThirtySeven } from "@vercel/sdk/models/userevent.js"; let value: OneHundredAndThirtySeven = { - previousProjectName: "", - newProjectName: "", - originAccountName: "", + projectName: "", + destinationAccountName: "", }; ``` ## Fields -| Field | Type | Required | Description | -| --------------------- | --------------------- | --------------------- | --------------------- | -| `previousProjectName` | *string* | :heavy_check_mark: | N/A | -| `newProjectName` | *string* | :heavy_check_mark: | N/A | -| `originAccountName` | *string* | :heavy_check_mark: | N/A | -| `transferId` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------ | ------------------------ | ------------------------ | ------------------------ | +| `projectName` | *string* | :heavy_check_mark: | N/A | +| `destinationAccountName` | *string* | :heavy_check_mark: | N/A | +| `transferId` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandthirtysix.md b/docs/models/onehundredandthirtysix.md index 7e17e3524..2da9bb7db 100644 --- a/docs/models/onehundredandthirtysix.md +++ b/docs/models/onehundredandthirtysix.md @@ -8,9 +8,11 @@ The payload of the event, if requested. import { OneHundredAndThirtySix } from "@vercel/sdk/models/userevent.js"; let value: OneHundredAndThirtySix = { - previousProjectName: "", - newProjectName: "", + projectId: "", + projectName: "", + originAccountName: "", destinationAccountName: "", + destinationAccountId: "", }; ``` @@ -18,7 +20,9 @@ let value: OneHundredAndThirtySix = { | Field | Type | Required | Description | | ------------------------ | ------------------------ | ------------------------ | ------------------------ | -| `previousProjectName` | *string* | :heavy_check_mark: | N/A | -| `newProjectName` | *string* | :heavy_check_mark: | N/A | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | +| `originAccountName` | *string* | :heavy_check_mark: | N/A | | `destinationAccountName` | *string* | :heavy_check_mark: | N/A | +| `destinationAccountId` | *string* | :heavy_check_mark: | N/A | | `transferId` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandthirtythree.md b/docs/models/onehundredandthirtythree.md index 1ce034c6a..ea5e64c1d 100644 --- a/docs/models/onehundredandthirtythree.md +++ b/docs/models/onehundredandthirtythree.md @@ -8,7 +8,7 @@ The payload of the event, if requested. import { OneHundredAndThirtyThree } from "@vercel/sdk/models/userevent.js"; let value: OneHundredAndThirtyThree = { - requestedTeamName: "", + teamName: "", }; ``` @@ -16,9 +16,11 @@ let value: OneHundredAndThirtyThree = { | Field | Type | Required | Description | | ------------------- | ------------------- | ------------------- | ------------------- | -| `requestedTeamName` | *string* | :heavy_check_mark: | N/A | -| `requestedUserName` | *string* | :heavy_minus_sign: | N/A | +| `teamName` | *string* | :heavy_check_mark: | N/A | +| `username` | *string* | :heavy_minus_sign: | N/A | | `gitUsername` | *string* | :heavy_minus_sign: | N/A | | `githubUsername` | *string* | :heavy_minus_sign: | N/A | | `gitlabUsername` | *string* | :heavy_minus_sign: | N/A | -| `bitbucketUsername` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| `bitbucketUsername` | *string* | :heavy_minus_sign: | N/A | +| `updatedUid` | *string* | :heavy_minus_sign: | N/A | +| `teamId` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandthirtytwo.md b/docs/models/onehundredandthirtytwo.md index 51f92e3f6..1f3013e48 100644 --- a/docs/models/onehundredandthirtytwo.md +++ b/docs/models/onehundredandthirtytwo.md @@ -7,18 +7,12 @@ The payload of the event, if requested. ```typescript import { OneHundredAndThirtyTwo } from "@vercel/sdk/models/userevent.js"; -let value: OneHundredAndThirtyTwo = { - teamName: "", -}; +let value: OneHundredAndThirtyTwo = {}; ``` ## Fields -| Field | Type | Required | Description | -| ------------------- | ------------------- | ------------------- | ------------------- | -| `teamName` | *string* | :heavy_check_mark: | N/A | -| `username` | *string* | :heavy_minus_sign: | N/A | -| `gitUsername` | *string* | :heavy_minus_sign: | N/A | -| `githubUsername` | *string* | :heavy_minus_sign: | N/A | -| `gitlabUsername` | *string* | :heavy_minus_sign: | N/A | -| `bitbucketUsername` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `price` | *number* | :heavy_minus_sign: | N/A | +| `currency` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandthree.md b/docs/models/onehundredandthree.md index 21b7e90f2..d458e53cf 100644 --- a/docs/models/onehundredandthree.md +++ b/docs/models/onehundredandthree.md @@ -8,23 +8,15 @@ The payload of the event, if requested. import { OneHundredAndThree } from "@vercel/sdk/models/userevent.js"; let value: OneHundredAndThree = { - scalingRules: { - "key": { - min: 7732.79, - max: 2712.29, - }, - }, - min: 7095.53, - max: 4808.19, - url: "https://present-address.com", + oldName: "", + newName: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | -| `scalingRules` | Record | :heavy_check_mark: | N/A | -| `min` | *number* | :heavy_check_mark: | N/A | -| `max` | *number* | :heavy_check_mark: | N/A | -| `url` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `oldName` | *string* | :heavy_check_mark: | N/A | +| `newName` | *string* | :heavy_check_mark: | N/A | +| `uid` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandtwelve.md b/docs/models/onehundredandtwelve.md index d2846fc4c..46cd6bf3f 100644 --- a/docs/models/onehundredandtwelve.md +++ b/docs/models/onehundredandtwelve.md @@ -8,17 +8,16 @@ The payload of the event, if requested. import { OneHundredAndTwelve } from "@vercel/sdk/models/userevent.js"; let value: OneHundredAndTwelve = { - slug: "", - teamId: "", - by: "", + store: { + name: "", + id: "", + }, }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | -| `slug` | *string* | :heavy_check_mark: | N/A | -| `teamId` | *string* | :heavy_check_mark: | N/A | -| `by` | *string* | :heavy_check_mark: | N/A | -| `reasons` | [models.Reasons](../models/reasons.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------- | ---------------------------------- | ---------------------------------- | ---------------------------------- | +| `store` | [models.Store](../models/store.md) | :heavy_check_mark: | N/A | +| `ownerId` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandtwenty.md b/docs/models/onehundredandtwenty.md index 590eebcfc..662bb8052 100644 --- a/docs/models/onehundredandtwenty.md +++ b/docs/models/onehundredandtwenty.md @@ -7,11 +7,19 @@ The payload of the event, if requested. ```typescript import { OneHundredAndTwenty } from "@vercel/sdk/models/userevent.js"; -let value: OneHundredAndTwenty = {}; +let value: OneHundredAndTwenty = { + entitlement: "", + user: { + id: "", + username: "Althea62", + }, +}; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `name` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | +| `entitlement` | *string* | :heavy_check_mark: | N/A | +| `user` | [models.UserEventPayload120User](../models/usereventpayload120user.md) | :heavy_check_mark: | N/A | +| `previousCanceledAt` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandtwentyeight.md b/docs/models/onehundredandtwentyeight.md index bc41887c3..c2e7a12c5 100644 --- a/docs/models/onehundredandtwentyeight.md +++ b/docs/models/onehundredandtwentyeight.md @@ -7,13 +7,15 @@ The payload of the event, if requested. ```typescript import { OneHundredAndTwentyEight } from "@vercel/sdk/models/userevent.js"; -let value: OneHundredAndTwentyEight = {}; +let value: OneHundredAndTwentyEight = { + email: "Ariel.Hoeger54@yahoo.com", + prevEmail: "", +}; ``` ## Fields | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `price` | *number* | :heavy_minus_sign: | N/A | -| `currency` | *string* | :heavy_minus_sign: | N/A | -| `enabled` | *boolean* | :heavy_minus_sign: | N/A | \ No newline at end of file +| `email` | *string* | :heavy_check_mark: | N/A | +| `prevEmail` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandtwentyfive.md b/docs/models/onehundredandtwentyfive.md index cd8535513..e1d8c38ab 100644 --- a/docs/models/onehundredandtwentyfive.md +++ b/docs/models/onehundredandtwentyfive.md @@ -8,12 +8,20 @@ The payload of the event, if requested. import { OneHundredAndTwentyFive } from "@vercel/sdk/models/userevent.js"; let value: OneHundredAndTwentyFive = { - mfaEnabled: true, + previous: { + enabled: true, + totpVerified: true, + }, + next: { + enabled: true, + totpVerified: true, + }, }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `mfaEnabled` | *boolean* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | +| `previous` | [models.PayloadPrevious](../models/payloadprevious.md) | :heavy_check_mark: | N/A | +| `next` | [models.PayloadNext](../models/payloadnext.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandtwentyfour.md b/docs/models/onehundredandtwentyfour.md index c650fd772..bfb1431fa 100644 --- a/docs/models/onehundredandtwentyfour.md +++ b/docs/models/onehundredandtwentyfour.md @@ -7,15 +7,11 @@ The payload of the event, if requested. ```typescript import { OneHundredAndTwentyFour } from "@vercel/sdk/models/userevent.js"; -let value: OneHundredAndTwentyFour = { - enabled: false, - totpVerified: true, -}; +let value: OneHundredAndTwentyFour = {}; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `enabled` | *boolean* | :heavy_check_mark: | N/A | -| `totpVerified` | *boolean* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | +| `remoteCaching` | [models.PayloadRemoteCaching](../models/payloadremotecaching.md) | :heavy_minus_sign: | Represents configuration for remote caching | \ No newline at end of file diff --git a/docs/models/onehundredandtwentynine.md b/docs/models/onehundredandtwentynine.md index 9c5920573..ca35ead2c 100644 --- a/docs/models/onehundredandtwentynine.md +++ b/docs/models/onehundredandtwentynine.md @@ -7,12 +7,13 @@ The payload of the event, if requested. ```typescript import { OneHundredAndTwentyNine } from "@vercel/sdk/models/userevent.js"; -let value: OneHundredAndTwentyNine = {}; +let value: OneHundredAndTwentyNine = { + username: "Karelle.Will20", +}; ``` ## Fields -| Field | Type | Required | Description | -| --------------------------------- | --------------------------------- | --------------------------------- | --------------------------------- | -| `previewDeploymentSuffix` | *string* | :heavy_minus_sign: | N/A | -| `previousPreviewDeploymentSuffix` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `username` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandtwentyone.md b/docs/models/onehundredandtwentyone.md index eac663564..c0b1ae717 100644 --- a/docs/models/onehundredandtwentyone.md +++ b/docs/models/onehundredandtwentyone.md @@ -7,11 +7,13 @@ The payload of the event, if requested. ```typescript import { OneHundredAndTwentyOne } from "@vercel/sdk/models/userevent.js"; -let value: OneHundredAndTwentyOne = {}; +let value: OneHundredAndTwentyOne = { + enforced: true, +}; ``` ## Fields | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `slug` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| `enforced` | *boolean* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandtwentyseven.md b/docs/models/onehundredandtwentyseven.md index a3da6f501..56b44bcfc 100644 --- a/docs/models/onehundredandtwentyseven.md +++ b/docs/models/onehundredandtwentyseven.md @@ -8,7 +8,7 @@ The payload of the event, if requested. import { OneHundredAndTwentySeven } from "@vercel/sdk/models/userevent.js"; let value: OneHundredAndTwentySeven = { - username: "Avery.Kovacek", + mfaEnabled: true, }; ``` @@ -16,4 +16,4 @@ let value: OneHundredAndTwentySeven = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `username` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| `mfaEnabled` | *boolean* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandtwentysix.md b/docs/models/onehundredandtwentysix.md index ed7c89224..49b929219 100644 --- a/docs/models/onehundredandtwentysix.md +++ b/docs/models/onehundredandtwentysix.md @@ -8,8 +8,8 @@ The payload of the event, if requested. import { OneHundredAndTwentySix } from "@vercel/sdk/models/userevent.js"; let value: OneHundredAndTwentySix = { - email: "Doris.Stanton47@gmail.com", - prevEmail: "", + enabled: true, + totpVerified: true, }; ``` @@ -17,5 +17,5 @@ let value: OneHundredAndTwentySix = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `email` | *string* | :heavy_check_mark: | N/A | -| `prevEmail` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| `enabled` | *boolean* | :heavy_check_mark: | N/A | +| `totpVerified` | *boolean* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandtwentythree.md b/docs/models/onehundredandtwentythree.md index d79ea86e7..9331b39f7 100644 --- a/docs/models/onehundredandtwentythree.md +++ b/docs/models/onehundredandtwentythree.md @@ -7,21 +7,11 @@ The payload of the event, if requested. ```typescript import { OneHundredAndTwentyThree } from "@vercel/sdk/models/userevent.js"; -let value: OneHundredAndTwentyThree = { - previous: { - enabled: false, - totpVerified: false, - }, - next: { - enabled: true, - totpVerified: true, - }, -}; +let value: OneHundredAndTwentyThree = {}; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | -| `previous` | [models.PayloadPrevious](../models/payloadprevious.md) | :heavy_check_mark: | N/A | -| `next` | [models.PayloadNext](../models/payloadnext.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `slug` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandtwentytwo.md b/docs/models/onehundredandtwentytwo.md index 4163044ef..4bcbcb288 100644 --- a/docs/models/onehundredandtwentytwo.md +++ b/docs/models/onehundredandtwentytwo.md @@ -12,6 +12,6 @@ let value: OneHundredAndTwentyTwo = {}; ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | -| `remoteCaching` | [models.PayloadRemoteCaching](../models/payloadremotecaching.md) | :heavy_minus_sign: | Represents configuration for remote caching | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `name` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/onehundredandtwo.md b/docs/models/onehundredandtwo.md index 1c4553da0..e9027b108 100644 --- a/docs/models/onehundredandtwo.md +++ b/docs/models/onehundredandtwo.md @@ -8,7 +8,8 @@ The payload of the event, if requested. import { OneHundredAndTwo } from "@vercel/sdk/models/userevent.js"; let value: OneHundredAndTwo = { - bio: "", + uid: "", + name: "", }; ``` @@ -16,4 +17,5 @@ let value: OneHundredAndTwo = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `bio` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| `uid` | *string* | :heavy_check_mark: | N/A | +| `name` | *models.Name* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/patchdomainrequestbody1.md b/docs/models/patchdomainrequestbody1.md index 6f2b71255..16fc9ed35 100644 --- a/docs/models/patchdomainrequestbody1.md +++ b/docs/models/patchdomainrequestbody1.md @@ -14,9 +14,9 @@ let value: PatchDomainRequestBody1 = { ## Fields -| Field | Type | Required | Description | Example | -| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -| `op` | *string* | :heavy_minus_sign: | N/A | update | -| `renew` | *boolean* | :heavy_minus_sign: | Specifies whether domain should be renewed. | | -| `customNameservers` | *string*[] | :heavy_minus_sign: | The custom nameservers for this project. | | -| `zone` | *boolean* | :heavy_minus_sign: | Specifies whether this is a DNS zone that intends to use Vercel's nameservers. | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `op` | *string* | :heavy_minus_sign: | N/A | update | +| ~~`renew`~~ | *boolean* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

This field is deprecated. Please use PATCH /v1/registrar/domains/{domainName}/auto-renew instead. | | +| ~~`customNameservers`~~ | *string*[] | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

This field is deprecated. Please use PATCH /v1/registrar/domains/{domainName}/nameservers instead. | | +| `zone` | *boolean* | :heavy_minus_sign: | Specifies whether this is a DNS zone that intends to use Vercel's nameservers. | | \ No newline at end of file diff --git a/docs/models/patchedgeconfigitems11.md b/docs/models/patchedgeconfigitems11.md new file mode 100644 index 000000000..62ced1ed0 --- /dev/null +++ b/docs/models/patchedgeconfigitems11.md @@ -0,0 +1,22 @@ +# PatchEdgeConfigItems11 + +## Example Usage + +```typescript +import { PatchEdgeConfigItems11 } from "@vercel/sdk/models/patchedgeconfigitemsop.js"; + +let value: PatchEdgeConfigItems11 = { + operation: "delete", + key: "", + value: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | +| `operation` | [models.Operation](../models/operation.md) | :heavy_check_mark: | N/A | +| `key` | *string* | :heavy_check_mark: | N/A | +| `value` | *any* | :heavy_check_mark: | N/A | +| `description` | *models.Description* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/patchedgeconfigitems12.md b/docs/models/patchedgeconfigitems12.md new file mode 100644 index 000000000..51a3cdaf5 --- /dev/null +++ b/docs/models/patchedgeconfigitems12.md @@ -0,0 +1,22 @@ +# PatchEdgeConfigItems12 + +## Example Usage + +```typescript +import { PatchEdgeConfigItems12 } from "@vercel/sdk/models/patchedgeconfigitemsop.js"; + +let value: PatchEdgeConfigItems12 = { + operation: "create", + key: "", + value: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | +| `operation` | [models.OneOperation](../models/oneoperation.md) | :heavy_check_mark: | N/A | +| `key` | *string* | :heavy_check_mark: | N/A | +| `value` | *any* | :heavy_check_mark: | N/A | +| `description` | *models.OneDescription* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/patchedgeconfigitems13.md b/docs/models/patchedgeconfigitems13.md new file mode 100644 index 000000000..61de4bb72 --- /dev/null +++ b/docs/models/patchedgeconfigitems13.md @@ -0,0 +1,22 @@ +# PatchEdgeConfigItems13 + +## Example Usage + +```typescript +import { PatchEdgeConfigItems13 } from "@vercel/sdk/models/patchedgeconfigitemsop.js"; + +let value: PatchEdgeConfigItems13 = { + operation: "upsert", + key: "", + description: "helpfully potentially astonishing", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `operation` | [models.PatchEdgeConfigItems1Operation](../models/patchedgeconfigitems1operation.md) | :heavy_check_mark: | N/A | +| `key` | *string* | :heavy_check_mark: | N/A | +| `value` | *any* | :heavy_minus_sign: | N/A | +| `description` | *models.PatchEdgeConfigItems1Description* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/patchedgeconfigitemsitems.md b/docs/models/patchedgeconfigitemsitems.md new file mode 100644 index 000000000..8c03ca7b1 --- /dev/null +++ b/docs/models/patchedgeconfigitemsitems.md @@ -0,0 +1,15 @@ +# PatchEdgeConfigItemsItems + + +## Supported Types + +### `models.Items1` + +```typescript +const value: models.Items1 = { + operation: "upsert", + key: "", + value: "", +}; +``` + diff --git a/docs/models/patchedgeconfigitemsrequestbody.md b/docs/models/patchedgeconfigitemsrequestbody.md index 783bc342a..3f40705cd 100644 --- a/docs/models/patchedgeconfigitemsrequestbody.md +++ b/docs/models/patchedgeconfigitemsrequestbody.md @@ -18,6 +18,6 @@ let value: PatchEdgeConfigItemsRequestBody = { ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `items` | *models.Items*[] | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `items` | *models.PatchEdgeConfigItemsItems*[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/pattern.md b/docs/models/pattern.md index 776826577..02319db87 100644 --- a/docs/models/pattern.md +++ b/docs/models/pattern.md @@ -6,7 +6,7 @@ import { Pattern } from "@vercel/sdk/models/getconfigurationproductsop.js"; let value: Pattern = { - atBRANDAt543472: {}, + atBRANDAt649501: {}, }; ``` @@ -14,4 +14,4 @@ let value: Pattern = { | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -| `atBRANDAt543472` | [models.GetConfigurationProductsPropertiesAtBRANDAt543472](../models/getconfigurationproductspropertiesatbrandat543472.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `atBRANDAt649501` | [models.GetConfigurationProductsPropertiesAtBRANDAt649501](../models/getconfigurationproductspropertiesatbrandat649501.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/payload.md b/docs/models/payload.md index a316ddc79..95a89f095 100644 --- a/docs/models/payload.md +++ b/docs/models/payload.md @@ -212,18 +212,13 @@ const value: models.TwentyFive = {}; ### `models.TwentySix` ```typescript -const value: models.TwentySix = { - suffix: "", -}; +const value: models.TwentySix = {}; ``` ### `models.TwentySeven` ```typescript -const value: models.TwentySeven = { - status: "", - suffix: "", -}; +const value: models.TwentySeven = {}; ``` ### `models.TwentyEight` @@ -238,6 +233,23 @@ const value: models.TwentyEight = { ```typescript const value: models.TwentyNine = { + status: "", + suffix: "", +}; +``` + +### `models.Thirty` + +```typescript +const value: models.Thirty = { + suffix: "", +}; +``` + +### `models.ThirtyOne` + +```typescript +const value: models.ThirtyOne = { team: { id: "", name: "", @@ -251,10 +263,10 @@ const value: models.TwentyNine = { }; ``` -### `models.Thirty` +### `models.ThirtyTwo` ```typescript -const value: models.Thirty = { +const value: models.ThirtyTwo = { team: { id: "", name: "", @@ -268,10 +280,10 @@ const value: models.Thirty = { }; ``` -### `models.ThirtyOne` +### `models.ThirtyThree` ```typescript -const value: models.ThirtyOne = { +const value: models.ThirtyThree = { team: { id: "", name: "", @@ -285,10 +297,10 @@ const value: models.ThirtyOne = { }; ``` -### `models.ThirtyTwo` +### `models.ThirtyFour` ```typescript -const value: models.ThirtyTwo = { +const value: models.ThirtyFour = { team: { id: "", name: "", @@ -300,36 +312,36 @@ const value: models.ThirtyTwo = { }; ``` -### `models.ThirtyThree` +### `models.ThirtyFive` ```typescript -const value: models.ThirtyThree = { +const value: models.ThirtyFive = { githubLogin: "", }; ``` -### `models.ThirtyFour` +### `models.ThirtySix` ```typescript -const value: models.ThirtyFour = { +const value: models.ThirtySix = { gitlabLogin: "", gitlabEmail: "", }; ``` -### `models.ThirtyFive` +### `models.ThirtySeven` ```typescript -const value: models.ThirtyFive = { +const value: models.ThirtySeven = { bitbucketEmail: "", bitbucketLogin: "", }; ``` -### `models.ThirtySix` +### `models.ThirtyEight` ```typescript -const value: models.ThirtySix = { +const value: models.ThirtyEight = { project: { name: "", }, @@ -340,100 +352,98 @@ const value: models.ThirtySix = { name: "", ref: "", }, - state: "Wisconsin", + state: "Massachusetts", }, }; ``` -### `models.ThirtySeven` +### `models.ThirtyNine` ```typescript -const value: models.ThirtySeven = { - url: "https://wide-eyed-birdcage.biz/", +const value: models.ThirtyNine = { + url: "https://handy-negotiation.org/", }; ``` -### `models.ThirtyEight` +### `models.Forty` ```typescript -const value: models.ThirtyEight = { - url: "https://limping-goodwill.name/", +const value: models.Forty = { + url: "https://mammoth-atrium.info/", }; ``` -### `models.ThirtyNine` +### `models.FortyOne` ```typescript -const value: models.ThirtyNine = { +const value: models.FortyOne = { deployment: { id: "", name: "", - url: "https://handy-negotiation.org/", + url: "https://upbeat-design.biz", meta: { "key": "", - "key1": "", - "key2": "", }, }, deploymentId: "", - url: "https://inborn-doorpost.name/", + url: "https://greedy-publicity.com", }; ``` -### `models.Forty` +### `models.FortyTwo` ```typescript -const value: models.Forty = { +const value: models.FortyTwo = { id: "", value: "", name: "", - domain: "brilliant-king.com", + domain: "digital-pantyhose.biz", type: "", }; ``` -### `models.FortyOne` +### `models.FortyThree` ```typescript -const value: models.FortyOne = { +const value: models.FortyThree = { id: "", value: "", name: "", - domain: "salty-tomatillo.biz", + domain: "each-costume.info", type: "", }; ``` -### `models.FortyTwo` +### `models.FortyFour` ```typescript -const value: models.FortyTwo = { +const value: models.FortyFour = { name: "", }; ``` -### `models.FortyThree` +### `models.FortyFive` ```typescript -const value: models.FortyThree = { +const value: models.FortyFive = { name: "", - price: 2119.33, + price: 3124.16, }; ``` -### `models.FortyFour` +### `models.FortySix` ```typescript -const value: models.FortyFour = { +const value: models.FortySix = { name: "", cdnEnabled: false, }; ``` -### `models.FortyFive` +### `models.FortySeven` ```typescript -const value: models.FortyFive = { +const value: models.FortySeven = { name: "", userId: "", teamId: "", @@ -441,73 +451,73 @@ const value: models.FortyFive = { }; ``` -### `models.FortySix` +### `models.FortyEight` ```typescript -const value: models.FortySix = { +const value: models.FortyEight = { name: "", }; ``` -### `models.FortySeven` +### `models.FortyNine` ```typescript -const value: models.FortySeven = { +const value: models.FortyNine = { domainId: "", name: "", }; ``` -### `models.FortyEight` +### `models.Fifty` ```typescript -const value: models.FortyEight = { +const value: models.Fifty = { name: "", fromId: "", fromName: "", }; ``` -### `models.FortyNine` +### `models.FiftyOne` ```typescript -const value: models.FortyNine = { +const value: models.FiftyOne = { name: "", destinationId: "", destinationName: "", }; ``` -### `models.Fifty` +### `models.FiftyTwo` ```typescript -const value: models.Fifty = { +const value: models.FiftyTwo = { name: "", destinationId: "", destinationName: "", }; ``` -### `models.FiftyOne` +### `models.FiftyThree` ```typescript -const value: models.FiftyOne = { - domain: "timely-essence.net", +const value: models.FiftyThree = { + domain: "splendid-gymnast.biz", }; ``` -### `models.FiftyTwo` +### `models.FiftyFour` ```typescript -const value: models.FiftyTwo = { +const value: models.FiftyFour = { name: "", }; ``` -### `models.FiftyThree` +### `models.FiftyFive` ```typescript -const value: models.FiftyThree = { +const value: models.FiftyFive = { sha: "", gitUserPlatform: "", projectName: "", @@ -516,25 +526,25 @@ const value: models.FiftyThree = { }; ``` -### `models.FiftyFour` +### `models.FiftySix` ```typescript -const value: models.FiftyFour = { - email: "Sheldon.Huels@gmail.com", +const value: models.FiftySix = { + email: "Filomena47@gmail.com", name: "", }; ``` -### `models.FiftyFive` +### `models.FiftySeven` ```typescript -const value: models.FiftyFive = {}; +const value: models.FiftySeven = {}; ``` -### `models.FiftySix` +### `models.FiftyEight` ```typescript -const value: models.FiftySix = { +const value: models.FiftyEight = { created: new Date("2021-02-10T13:11:49.180Z"), key: "my-api-key", ownerId: "team_LLHUOMOoDlqOp8wPE4kFo9pE", @@ -556,10 +566,10 @@ const value: models.FiftySix = { }; ``` -### `models.FiftySeven` +### `models.FiftyNine` ```typescript -const value: models.FiftySeven = { +const value: models.FiftyNine = { oldEnvVar: { created: new Date("2021-02-10T13:11:49.180Z"), key: "my-api-key", @@ -603,73 +613,77 @@ const value: models.FiftySeven = { }; ``` -### `models.FiftyEight` +### `models.Sixty` ```typescript -const value: models.FiftyEight = { +const value: models.Sixty = { projectId: "", restore: true, - configVersion: 2420.26, - configChangeCount: 129.83, + configVersion: 5742.5, + configChangeCount: 5282.21, configChanges: [ {}, ], }; ``` -### `models.FiftyNine` +### `models.SixtyOne` ```typescript -const value: models.FiftyNine = { +const value: models.SixtyOne = { projectId: "", scope: "", source: "", }; ``` -### `models.Sixty` +### `models.SixtyTwo` ```typescript -const value: models.Sixty = { +const value: models.SixtyTwo = { projectId: "", rulesetName: "", - active: true, + active: false, }; ``` -### `models.SixtyOne` +### `models.SixtyThree` ```typescript -const value: models.SixtyOne = { +const value: models.SixtyThree = { projectId: "", rulesetName: "", - ruleGroups: {}, + ruleGroups: { + "key": { + active: false, + }, + }, }; ``` -### `models.SixtyTwo` +### `models.SixtyFour` ```typescript -const value: models.SixtyTwo = { +const value: models.SixtyFour = { projectId: "", attackModeEnabled: false, }; ``` -### `models.SixtyThree` +### `models.SixtyFive` ```typescript -const value: models.SixtyThree = { +const value: models.SixtyFive = { integrationId: "", integrationSlug: "", integrationName: "", }; ``` -### `models.SixtyFour` +### `models.SixtySix` ```typescript -const value: models.SixtyFour = { +const value: models.SixtySix = { userId: "", integrationId: "", configurationId: "", @@ -678,26 +692,26 @@ const value: models.SixtyFour = { billing: { plan: "enterprise", }, - blocked: 2726.5, - createdAt: 3574.57, + blocked: 3027.85, + createdAt: 9498.55, deploymentSecret: "", - email: "Otha.Fay@yahoo.com", + email: "Gail_Bergnaum58@gmail.com", id: "", - platformVersion: 6228.58, + platformVersion: 6684.95, stagingPrefix: "", sysToken: "", type: "user", - username: "Donny95", - updatedAt: 9978.55, + username: "Sheldon_McKenzie", + updatedAt: 4178.38, version: "northstar", }, }; ``` -### `models.SixtyFive` +### `models.SixtySeven` ```typescript -const value: models.SixtyFive = { +const value: models.SixtySeven = { configurations: [ { integrationId: "", @@ -709,10 +723,10 @@ const value: models.SixtyFive = { }; ``` -### `models.SixtySix` +### `models.SixtyEight` ```typescript -const value: models.SixtySix = { +const value: models.SixtyEight = { integrationId: "", configurationId: "", integrationSlug: "", @@ -722,10 +736,10 @@ const value: models.SixtySix = { }; ``` -### `models.SixtySeven` +### `models.SixtyNine` ```typescript -const value: models.SixtySeven = { +const value: models.SixtyNine = { integrationId: "", configurationId: "", integrationSlug: "", @@ -734,10 +748,10 @@ const value: models.SixtySeven = { }; ``` -### `models.SixtyEight` +### `models.Seventy` ```typescript -const value: models.SixtyEight = { +const value: models.Seventy = { projectId: "", fromDeploymentId: "", toDeploymentId: "", @@ -745,10 +759,10 @@ const value: models.SixtyEight = { }; ``` -### `models.SixtyNine` +### `models.SeventyOne` ```typescript -const value: models.SixtyNine = { +const value: models.SeventyOne = { integrationId: "", configurationId: "", integrationSlug: "", @@ -756,36 +770,22 @@ const value: models.SixtyNine = { ownerId: "", confirmedScopes: [ "", + "", ], }; ``` -### `models.Seventy` - -```typescript -const value: models.Seventy = { - viaGithub: false, - viaGitlab: true, - viaBitbucket: false, - viaGoogle: true, - viaSamlSso: true, - viaPasskey: false, -}; -``` - -### `models.SeventyOne` - -```typescript -const value: models.SeventyOne = { - logDrainUrl: "https://superior-gripper.biz/", -}; -``` - ### `models.SeventyTwo` ```typescript const value: models.SeventyTwo = { - logDrainUrl: "https://mysterious-carboxyl.biz/", + viaGithub: true, + viaGitlab: false, + viaBitbucket: true, + viaGoogle: true, + viaApple: true, + viaSamlSso: false, + viaPasskey: true, }; ``` @@ -793,7 +793,7 @@ const value: models.SeventyTwo = { ```typescript const value: models.SeventyThree = { - drainUrl: "https://puny-descendant.name/", + logDrainUrl: "https://puny-descendant.name/", }; ``` @@ -801,9 +801,7 @@ const value: models.SeventyThree = { ```typescript const value: models.SeventyFour = { - projectId: "", - toDeploymentId: "", - projectName: "", + logDrainUrl: "https://sparse-hunt.net", }; ``` @@ -811,7 +809,7 @@ const value: models.SeventyFour = { ```typescript const value: models.SeventyFive = { - projectName: "", + drainUrl: null, }; ``` @@ -819,7 +817,9 @@ const value: models.SeventyFive = { ```typescript const value: models.SeventySix = { - plan: "", + projectId: "", + toDeploymentId: "", + projectName: "", }; ``` @@ -828,7 +828,6 @@ const value: models.SeventySix = { ```typescript const value: models.SeventySeven = { projectName: "", - branch: "", }; ``` @@ -836,17 +835,7 @@ const value: models.SeventySeven = { ```typescript const value: models.SeventyEight = { - projectId: "", - projectAnalytics: { - id: "", - disabledAt: 9651.51, - enabledAt: 1242.8, - }, - prevProjectAnalytics: { - id: "", - disabledAt: 1378.58, - enabledAt: 7641.68, - }, + plan: "", }; ``` @@ -854,7 +843,8 @@ const value: models.SeventyEight = { ```typescript const value: models.SeventyNine = { - projectId: "", + projectName: "", + branch: "", }; ``` @@ -863,6 +853,16 @@ const value: models.SeventyNine = { ```typescript const value: models.Eighty = { projectId: "", + projectAnalytics: { + id: "", + disabledAt: 7344.14, + enabledAt: 2336.35, + }, + prevProjectAnalytics: { + id: "", + disabledAt: 9242.8, + enabledAt: 2794.41, + }, }; ``` @@ -870,11 +870,7 @@ const value: models.Eighty = { ```typescript const value: models.EightyOne = { - projectName: "", - ssoProtection: "preview", - oldSsoProtection: { - deploymentType: "preview", - }, + projectId: "", }; ``` @@ -882,13 +878,7 @@ const value: models.EightyOne = { ```typescript const value: models.EightyTwo = { - projectName: "", - passwordProtection: { - deploymentType: "preview", - }, - oldPasswordProtection: { - deploymentType: "all_except_custom_domains", - }, + projectId: "", }; ``` @@ -897,6 +887,12 @@ const value: models.EightyTwo = { ```typescript const value: models.EightyThree = { projectName: "", + ssoProtection: { + deploymentType: "preview", + }, + oldSsoProtection: { + deploymentType: "preview", + }, }; ``` @@ -905,6 +901,10 @@ const value: models.EightyThree = { ```typescript const value: models.EightyFour = { projectName: "", + passwordProtection: { + deploymentType: "prod_deployment_urls_and_all_previews", + }, + oldPasswordProtection: "all_except_custom_domains", }; ``` @@ -913,7 +913,6 @@ const value: models.EightyFour = { ```typescript const value: models.EightyFive = { projectName: "", - action: "disabled", }; ``` @@ -921,8 +920,7 @@ const value: models.EightyFive = { ```typescript const value: models.EightySix = { - name: "", - ownerId: "", + projectName: "", }; ``` @@ -930,24 +928,8 @@ const value: models.EightySix = { ```typescript const value: models.EightySeven = { - team: { - id: "", - name: "", - }, - project: { - id: "", - oldConnectConfigurations: null, - newConnectConfigurations: [ - { - envId: "", - connectConfigurationId: "", - passive: true, - buildsEnabled: false, - createdAt: 5463.76, - updatedAt: 2696.76, - }, - ], - }, + projectName: "", + action: "enabled", }; ``` @@ -955,7 +937,8 @@ const value: models.EightySeven = { ```typescript const value: models.EightyEight = { - projectId: "", + name: "", + ownerId: "", }; ``` @@ -963,7 +946,15 @@ const value: models.EightyEight = { ```typescript const value: models.EightyNine = { - projectId: "", + team: { + id: "", + name: "", + }, + project: { + id: "", + oldConnectConfigurations: [], + newConnectConfigurations: [], + }, }; ``` @@ -971,7 +962,6 @@ const value: models.EightyNine = { ```typescript const value: models.Ninety = { - source: "", projectId: "", }; ``` @@ -980,6 +970,23 @@ const value: models.Ninety = { ```typescript const value: models.NinetyOne = { + projectId: "", +}; +``` + +### `models.NinetyTwo` + +```typescript +const value: models.NinetyTwo = { + source: "", + projectId: "", +}; +``` + +### `models.NinetyThree` + +```typescript +const value: models.NinetyThree = { next: { project: { id: "", @@ -992,138 +999,131 @@ const value: models.NinetyOne = { project: { id: "", staticIps: { - enabled: false, + enabled: true, }, }, }, }; ``` -### `models.NinetyTwo` +### `models.NinetyFour` ```typescript -const value: models.NinetyTwo = { +const value: models.NinetyFour = { projectId: "", projectName: "", }; ``` -### `models.NinetyThree` +### `models.NinetyFive` ```typescript -const value: models.NinetyThree = { +const value: models.NinetyFive = { projectId: "", projectName: "", }; ``` -### `models.NinetyFour` +### `models.NinetySix` ```typescript -const value: models.NinetyFour = { +const value: models.NinetySix = { gitProvider: "", gitProviderGroupDescriptor: "", gitScope: "", }; ``` -### `models.NinetyFive` +### `models.NinetySeven` ```typescript -const value: models.NinetyFive = { - instances: 7567.04, - url: "https://valuable-curl.info", +const value: models.NinetySeven = { + instances: 4466.53, + url: "https://unfortunate-density.biz/", }; ``` -### `models.NinetySix` +### `models.NinetyEight` ```typescript -const value: models.NinetySix = { - email: "Lonny_Kassulke62@gmail.com", +const value: models.NinetyEight = { + email: "Marilyne_Grant29@hotmail.com", verified: false, }; ``` -### `models.NinetySeven` +### `models.NinetyNine` ```typescript -const value: models.NinetySeven = { - email: "Camryn.Feeney@yahoo.com", +const value: models.NinetyNine = { + email: "Johan3@yahoo.com", }; ``` -### `models.NinetyEight` +### `models.OneHundred` ```typescript -const value: models.NinetyEight = { +const value: models.OneHundred = { team: { id: "", }, }; ``` -### `models.NinetyNine` +### `models.OneHundredAndOne` ```typescript -const value: models.NinetyNine = { +const value: models.OneHundredAndOne = { team: { id: "", }, previousRule: { - email: "Johan3@yahoo.com", + email: "Kristoffer35@gmail.com", }, }; ``` -### `models.OneHundred` +### `models.OneHundredAndTwo` ```typescript -const value: models.OneHundred = { +const value: models.OneHundredAndTwo = { uid: "", - name: { - name: "", - }, + name: "", }; ``` -### `models.OneHundredAndOne` +### `models.OneHundredAndThree` ```typescript -const value: models.OneHundredAndOne = { +const value: models.OneHundredAndThree = { oldName: "", newName: "", }; ``` -### `models.OneHundredAndTwo` +### `models.OneHundredAndFour` ```typescript -const value: models.OneHundredAndTwo = { +const value: models.OneHundredAndFour = { bio: "", }; ``` -### `models.OneHundredAndThree` +### `models.OneHundredAndFive` ```typescript -const value: models.OneHundredAndThree = { - scalingRules: { - "key": { - min: 7732.79, - max: 2712.29, - }, - }, - min: 7095.53, - max: 4808.19, - url: "https://present-address.com", +const value: models.OneHundredAndFive = { + scalingRules: {}, + min: 8074.56, + max: 8664.74, + url: "https://twin-stranger.net/", }; ``` -### `models.OneHundredAndFour` +### `models.OneHundredAndSix` ```typescript -const value: models.OneHundredAndFour = { +const value: models.OneHundredAndSix = { budget: { budgetItem: { type: "fixed", @@ -1143,79 +1143,79 @@ const value: models.OneHundredAndFour = { }; ``` -### `models.OneHundredAndFive` +### `models.OneHundredAndSeven` ```typescript -const value: models.OneHundredAndFive = { +const value: models.OneHundredAndSeven = { budget: { type: "fixed", - fixedBudget: 1236.74, + fixedBudget: 862.85, previousSpend: [ - 8664.74, - 4850.97, - 8759.72, + 6422.59, + 2998.38, + 4041.28, ], notifiedAt: [ - 7004.13, - 2121.1, - 9128.57, + 112.55, + 5000.45, + 501.14, ], - createdAt: 5735.15, - isActive: true, + createdAt: 8910.5, + isActive: false, teamId: "", id: "", }, }; ``` -### `models.OneHundredAndSix` +### `models.OneHundredAndEight` ```typescript -const value: models.OneHundredAndSix = { +const value: models.OneHundredAndEight = { budget: { type: "fixed", - fixedBudget: 7787.16, - previousSpend: [ - 2291.11, - 8090.21, - 9995.92, + fixedBudget: 15.38, + previousSpend: [], + notifiedAt: [ + 8740.23, + 7414.18, + 1057.41, ], - notifiedAt: [], - createdAt: 7509.42, - isActive: false, + createdAt: 2679.24, + isActive: true, teamId: "", id: "", }, }; ``` -### `models.OneHundredAndSeven` +### `models.OneHundredAndNine` ```typescript -const value: models.OneHundredAndSeven = {}; +const value: models.OneHundredAndNine = {}; ``` -### `models.OneHundredAndEight` +### `models.OneHundredAndTen` ```typescript -const value: models.OneHundredAndEight = { +const value: models.OneHundredAndTen = { id: "", type: "redis", }; ``` -### `models.OneHundredAndNine` +### `models.OneHundredAndEleven` ```typescript -const value: models.OneHundredAndNine = { +const value: models.OneHundredAndEleven = { storeType: "postgres", }; ``` -### `models.OneHundredAndTen` +### `models.OneHundredAndTwelve` ```typescript -const value: models.OneHundredAndTen = { +const value: models.OneHundredAndTwelve = { store: { name: "", id: "", @@ -1223,109 +1223,109 @@ const value: models.OneHundredAndTen = { }; ``` -### `models.OneHundredAndEleven` +### `models.OneHundredAndThirteen` ```typescript -const value: models.OneHundredAndEleven = { +const value: models.OneHundredAndThirteen = { slug: "", }; ``` -### `models.OneHundredAndTwelve` +### `models.OneHundredAndFourteen` ```typescript -const value: models.OneHundredAndTwelve = { +const value: models.OneHundredAndFourteen = { slug: "", teamId: "", by: "", }; ``` -### `models.OneHundredAndThirteen` +### `models.OneHundredAndFifteen` ```typescript -const value: models.OneHundredAndThirteen = {}; +const value: models.OneHundredAndFifteen = {}; ``` -### `models.OneHundredAndFourteen` +### `models.OneHundredAndSixteen` ```typescript -const value: models.OneHundredAndFourteen = {}; +const value: models.OneHundredAndSixteen = {}; ``` -### `models.OneHundredAndFifteen` +### `models.OneHundredAndSeventeen` ```typescript -const value: models.OneHundredAndFifteen = { +const value: models.OneHundredAndSeventeen = { uid: "", }; ``` -### `models.OneHundredAndSixteen` +### `models.OneHundredAndEighteen` ```typescript -const value: models.OneHundredAndSixteen = { +const value: models.OneHundredAndEighteen = { previousRole: "", }; ``` -### `models.OneHundredAndSeventeen` +### `models.OneHundredAndNineteen` ```typescript -const value: models.OneHundredAndSeventeen = { +const value: models.OneHundredAndNineteen = { entitlement: "", user: { id: "", - username: "Roxanne.DAmore", + username: "Elian18", }, }; ``` -### `models.OneHundredAndEighteen` +### `models.OneHundredAndTwenty` ```typescript -const value: models.OneHundredAndEighteen = { +const value: models.OneHundredAndTwenty = { entitlement: "", user: { id: "", - username: "Wilton51", + username: "Althea62", }, }; ``` -### `models.OneHundredAndNineteen` +### `models.OneHundredAndTwentyOne` ```typescript -const value: models.OneHundredAndNineteen = { +const value: models.OneHundredAndTwentyOne = { enforced: true, }; ``` -### `models.OneHundredAndTwenty` +### `models.OneHundredAndTwentyTwo` ```typescript -const value: models.OneHundredAndTwenty = {}; +const value: models.OneHundredAndTwentyTwo = {}; ``` -### `models.OneHundredAndTwentyOne` +### `models.OneHundredAndTwentyThree` ```typescript -const value: models.OneHundredAndTwentyOne = {}; +const value: models.OneHundredAndTwentyThree = {}; ``` -### `models.OneHundredAndTwentyTwo` +### `models.OneHundredAndTwentyFour` ```typescript -const value: models.OneHundredAndTwentyTwo = {}; +const value: models.OneHundredAndTwentyFour = {}; ``` -### `models.OneHundredAndTwentyThree` +### `models.OneHundredAndTwentyFive` ```typescript -const value: models.OneHundredAndTwentyThree = { +const value: models.OneHundredAndTwentyFive = { previous: { - enabled: false, - totpVerified: false, + enabled: true, + totpVerified: true, }, next: { enabled: true, @@ -1334,86 +1334,86 @@ const value: models.OneHundredAndTwentyThree = { }; ``` -### `models.OneHundredAndTwentyFour` +### `models.OneHundredAndTwentySix` ```typescript -const value: models.OneHundredAndTwentyFour = { - enabled: false, +const value: models.OneHundredAndTwentySix = { + enabled: true, totpVerified: true, }; ``` -### `models.OneHundredAndTwentyFive` +### `models.OneHundredAndTwentySeven` ```typescript -const value: models.OneHundredAndTwentyFive = { +const value: models.OneHundredAndTwentySeven = { mfaEnabled: true, }; ``` -### `models.OneHundredAndTwentySix` +### `models.OneHundredAndTwentyEight` ```typescript -const value: models.OneHundredAndTwentySix = { - email: "Doris.Stanton47@gmail.com", +const value: models.OneHundredAndTwentyEight = { + email: "Ariel.Hoeger54@yahoo.com", prevEmail: "", }; ``` -### `models.OneHundredAndTwentySeven` +### `models.OneHundredAndTwentyNine` ```typescript -const value: models.OneHundredAndTwentySeven = { - username: "Avery.Kovacek", +const value: models.OneHundredAndTwentyNine = { + username: "Karelle.Will20", }; ``` -### `models.OneHundredAndTwentyEight` +### `models.OneHundredAndThirty` ```typescript -const value: models.OneHundredAndTwentyEight = {}; +const value: models.OneHundredAndThirty = {}; ``` -### `models.OneHundredAndTwentyNine` +### `models.OneHundredAndThirtyOne` ```typescript -const value: models.OneHundredAndTwentyNine = {}; +const value: models.OneHundredAndThirtyOne = {}; ``` -### `models.OneHundredAndThirty` +### `models.OneHundredAndThirtyTwo` ```typescript -const value: models.OneHundredAndThirty = {}; +const value: models.OneHundredAndThirtyTwo = {}; ``` -### `models.OneHundredAndThirtyOne` +### `models.OneHundredAndThirtyThree` ```typescript -const value: models.OneHundredAndThirtyOne = { +const value: models.OneHundredAndThirtyThree = { teamName: "", }; ``` -### `models.OneHundredAndThirtyTwo` +### `models.OneHundredAndThirtyFour` ```typescript -const value: models.OneHundredAndThirtyTwo = { +const value: models.OneHundredAndThirtyFour = { teamName: "", }; ``` -### `models.OneHundredAndThirtyThree` +### `models.OneHundredAndThirtyFive` ```typescript -const value: models.OneHundredAndThirtyThree = { +const value: models.OneHundredAndThirtyFive = { requestedTeamName: "", }; ``` -### `models.OneHundredAndThirtyFour` +### `models.OneHundredAndThirtySix` ```typescript -const value: models.OneHundredAndThirtyFour = { +const value: models.OneHundredAndThirtySix = { projectId: "", projectName: "", originAccountName: "", @@ -1422,69 +1422,69 @@ const value: models.OneHundredAndThirtyFour = { }; ``` -### `models.OneHundredAndThirtyFive` +### `models.OneHundredAndThirtySeven` ```typescript -const value: models.OneHundredAndThirtyFive = { +const value: models.OneHundredAndThirtySeven = { projectName: "", destinationAccountName: "", }; ``` -### `models.OneHundredAndThirtySix` +### `models.OneHundredAndThirtyEight` ```typescript -const value: models.OneHundredAndThirtySix = { +const value: models.OneHundredAndThirtyEight = { previousProjectName: "", newProjectName: "", destinationAccountName: "", }; ``` -### `models.OneHundredAndThirtySeven` +### `models.OneHundredAndThirtyNine` ```typescript -const value: models.OneHundredAndThirtySeven = { +const value: models.OneHundredAndThirtyNine = { previousProjectName: "", newProjectName: "", originAccountName: "", }; ``` -### `models.OneHundredAndThirtyEight` +### `models.OneHundredAndForty` ```typescript -const value: models.OneHundredAndThirtyEight = { +const value: models.OneHundredAndForty = { project: { name: "", }, projectMembership: { - role: "PROJECT_VIEWER", + role: "PROJECT_DEVELOPER", uid: "", - createdAt: 3187.55, + createdAt: 6908.82, }, }; ``` -### `models.OneHundredAndThirtyNine` +### `models.OneHundredAndFortyOne` ```typescript -const value: models.OneHundredAndThirtyNine = { +const value: models.OneHundredAndFortyOne = { project: { name: "", }, removedMembership: { - role: "PROJECT_VIEWER", + role: "ADMIN", uid: "", - createdAt: 3075.54, + createdAt: 5426.29, }, }; ``` -### `models.OneHundredAndForty` +### `models.OneHundredAndFortyTwo` ```typescript -const value: models.OneHundredAndForty = { +const value: models.OneHundredAndFortyTwo = { project: { id: "", name: "", @@ -1493,10 +1493,10 @@ const value: models.OneHundredAndForty = { }; ``` -### `models.OneHundredAndFortyOne` +### `models.OneHundredAndFortyThree` ```typescript -const value: models.OneHundredAndFortyOne = { +const value: models.OneHundredAndFortyThree = { project: { name: "", role: "ADMIN", @@ -1505,40 +1505,41 @@ const value: models.OneHundredAndFortyOne = { }; ``` -### `models.OneHundredAndFortyTwo` +### `models.OneHundredAndFortyFour` ```typescript -const value: models.OneHundredAndFortyTwo = { +const value: models.OneHundredAndFortyFour = { projectName: "", - tags: [ - "", - ], + tags: [], }; ``` -### `models.OneHundredAndFortyThree` +### `models.OneHundredAndFortyFive` ```typescript -const value: models.OneHundredAndFortyThree = { +const value: models.OneHundredAndFortyFive = { projectName: "", - urls: [], + srcImages: [ + "", + "", + ], }; ``` -### `models.OneHundredAndFortyFour` +### `models.OneHundredAndFortySix` ```typescript -const value: models.OneHundredAndFortyFour = { +const value: models.OneHundredAndFortySix = { edgeConfigId: "", edgeConfigSlug: "", edgeConfigDigest: "", }; ``` -### `models.OneHundredAndFortyFive` +### `models.OneHundredAndFortySeven` ```typescript -const value: models.OneHundredAndFortyFive = { +const value: models.OneHundredAndFortySeven = { edgeConfigId: "", edgeConfigSlug: "", edgeConfigTokenId: "", @@ -1546,41 +1547,38 @@ const value: models.OneHundredAndFortyFive = { }; ``` -### `models.OneHundredAndFortySix` +### `models.OneHundredAndFortyEight` ```typescript -const value: models.OneHundredAndFortySix = { +const value: models.OneHundredAndFortyEight = { edgeConfigId: "", edgeConfigSlug: "", - edgeConfigTokenIds: [ - "", - "", - ], + edgeConfigTokenIds: [], }; ``` -### `models.OneHundredAndFortySeven` +### `models.OneHundredAndFortyNine` ```typescript -const value: models.OneHundredAndFortySeven = { - action: "disable", +const value: models.OneHundredAndFortyNine = { + action: "enable", }; ``` -### `models.OneHundredAndFortyEight` +### `models.OneHundredAndFifty` ```typescript -const value: models.OneHundredAndFortyEight = { +const value: models.OneHundredAndFifty = { id: "", slug: "", name: "", }; ``` -### `models.OneHundredAndFortyNine` +### `models.OneHundredAndFiftyOne` ```typescript -const value: models.OneHundredAndFortyNine = { +const value: models.OneHundredAndFiftyOne = { id: "", prev: { name: "", @@ -1590,10 +1588,10 @@ const value: models.OneHundredAndFortyNine = { }; ``` -### `models.OneHundredAndFifty` +### `models.OneHundredAndFiftyTwo` ```typescript -const value: models.OneHundredAndFifty = { +const value: models.OneHundredAndFiftyTwo = { project: { id: "", name: "", @@ -1606,10 +1604,10 @@ const value: models.OneHundredAndFifty = { }; ``` -### `models.OneHundredAndFiftyOne` +### `models.OneHundredAndFiftyThree` ```typescript -const value: models.OneHundredAndFiftyOne = { +const value: models.OneHundredAndFiftyThree = { project: { id: "", name: "", @@ -1625,91 +1623,96 @@ const value: models.OneHundredAndFiftyOne = { }; ``` -### `models.OneHundredAndFiftyTwo` +### `models.OneHundredAndFiftyFour` ```typescript -const value: models.OneHundredAndFiftyTwo = { +const value: models.OneHundredAndFiftyFour = { projectId: "", projectName: "", }; ``` -### `models.OneHundredAndFiftyThree` +### `models.OneHundredAndFiftyFive` ```typescript -const value: models.OneHundredAndFiftyThree = { +const value: models.OneHundredAndFiftyFive = { tier: "pro", }; ``` -### `models.OneHundredAndFiftyFour` +### `models.OneHundredAndFiftySix` ```typescript -const value: models.OneHundredAndFiftyFour = { +const value: models.OneHundredAndFiftySix = { oldName: "", newName: "", }; ``` -### `models.OneHundredAndFiftyFive` +### `models.OneHundredAndFiftySeven` ```typescript -const value: models.OneHundredAndFiftyFive = { +const value: models.OneHundredAndFiftySeven = { appName: "", - scopes: [], + scopes: [ + "openid", + ], }; ``` -### `models.OneHundredAndFiftySix` +### `models.OneHundredAndFiftyEight` ```typescript -const value: models.OneHundredAndFiftySix = { +const value: models.OneHundredAndFiftyEight = { appName: "", - nextScopes: [ - "", - "", - "", - ], + nextScopes: [], }; ``` -### `models.OneHundredAndFiftySeven` +### `models.OneHundredAndFiftyNine` ```typescript -const value: models.OneHundredAndFiftySeven = { +const value: models.OneHundredAndFiftyNine = { appName: "", }; ``` -### `models.OneHundredAndFiftyEight` +### `models.OneHundredAndSixty` ```typescript -const value: models.OneHundredAndFiftyEight = { +const value: models.OneHundredAndSixty = { appName: "", - appId: "", }; ``` -### `models.OneHundredAndFiftyNine` +### `models.OneHundredAndSixtyOne` ```typescript -const value: models.OneHundredAndFiftyNine = { +const value: models.OneHundredAndSixtyOne = { appName: "", }; ``` -### `models.OneHundredAndSixty` +### `models.OneHundredAndSixtyTwo` ```typescript -const value: models.OneHundredAndSixty = { +const value: models.OneHundredAndSixtyTwo = { appName: "", }; ``` -### `models.OneHundredAndSixtyOne` +### `models.OneHundredAndSixtyThree` ```typescript -const value: models.OneHundredAndSixtyOne = { +const value: models.OneHundredAndSixtyThree = { + appName: "", +}; +``` + +### `models.OneHundredAndSixtyFour` + +```typescript +const value: models.OneHundredAndSixtyFour = { team: { id: "", name: "", @@ -1726,10 +1729,10 @@ const value: models.OneHundredAndSixtyOne = { }; ``` -### `models.OneHundredAndSixtyTwo` +### `models.OneHundredAndSixtyFive` ```typescript -const value: models.OneHundredAndSixtyTwo = { +const value: models.OneHundredAndSixtyFive = { team: { id: "", name: "", @@ -1743,10 +1746,10 @@ const value: models.OneHundredAndSixtyTwo = { }; ``` -### `models.OneHundredAndSixtyThree` +### `models.OneHundredAndSixtySix` ```typescript -const value: models.OneHundredAndSixtyThree = { +const value: models.OneHundredAndSixtySix = { team: { id: "", name: "", @@ -1760,15 +1763,15 @@ const value: models.OneHundredAndSixtyThree = { }; ``` -### `models.OneHundredAndSixtyFour` +### `models.OneHundredAndSixtySeven` ```typescript -const value: models.OneHundredAndSixtyFour = { - grantType: "refresh_token", +const value: models.OneHundredAndSixtySeven = { + grantType: "urn:ietf:params:oauth:grant-type:device_code", appName: "", - atTTL: 9181.17, + atTTL: 5566.29, scope: "", - authMethod: "app", + authMethod: "github", }; ``` diff --git a/docs/models/payloadapp.md b/docs/models/payloadapp.md new file mode 100644 index 000000000..ca5f1f88c --- /dev/null +++ b/docs/models/payloadapp.md @@ -0,0 +1,25 @@ +# PayloadApp + +optional since entries prior to 2025-10-13 do not contain app information + +## Example Usage + +```typescript +import { PayloadApp } from "@vercel/sdk/models/userevent.js"; + +let value: PayloadApp = { + clientId: "", + name: "", + clientAuthenticationUsed: { + method: "client_secret_basic", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | +| `clientId` | *string* | :heavy_check_mark: | N/A | +| `name` | *string* | :heavy_check_mark: | the app's name at the time the event was published (it could have changed since then) | +| `clientAuthenticationUsed` | [models.ClientAuthenticationUsed](../models/clientauthenticationused.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/payloadbudget.md b/docs/models/payloadbudget.md index 3356062d9..5d15e3cde 100644 --- a/docs/models/payloadbudget.md +++ b/docs/models/payloadbudget.md @@ -28,7 +28,7 @@ let value: PayloadBudget = { | Field | Type | Required | Description | | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | -| `type` | [models.UserEventPayload105Type](../models/usereventpayload105type.md) | :heavy_check_mark: | The budget type | +| `type` | [models.UserEventPayload107Type](../models/usereventpayload107type.md) | :heavy_check_mark: | The budget type | | `fixedBudget` | *number* | :heavy_check_mark: | Budget amount (USD / dollars) | | `previousSpend` | *number*[] | :heavy_check_mark: | Array of the last 3 months of spend data | | `notifiedAt` | *number*[] | :heavy_check_mark: | Array of 50, 75, 100 to keep track of notifications sent out | diff --git a/docs/models/payloadbuildqueue.md b/docs/models/payloadbuildqueue.md new file mode 100644 index 000000000..0d5a7c26f --- /dev/null +++ b/docs/models/payloadbuildqueue.md @@ -0,0 +1,15 @@ +# PayloadBuildQueue + +## Example Usage + +```typescript +import { PayloadBuildQueue } from "@vercel/sdk/models/userevent.js"; + +let value: PayloadBuildQueue = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `configuration` | [models.UserEventPayload66Configuration](../models/usereventpayload66configuration.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/payloadfeatureblocks.md b/docs/models/payloadfeatureblocks.md index be22dc420..642e36ff0 100644 --- a/docs/models/payloadfeatureblocks.md +++ b/docs/models/payloadfeatureblocks.md @@ -22,4 +22,5 @@ let value: PayloadFeatureBlocks = {}; | `sourceImages` | [models.PayloadSourceImages](../models/payloadsourceimages.md) | :heavy_minus_sign: | N/A | | `blob` | [models.BlobT](../models/blobt.md) | :heavy_minus_sign: | N/A | | `postgres` | [models.Postgres](../models/postgres.md) | :heavy_minus_sign: | N/A | -| `redis` | [models.Redis](../models/redis.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| `redis` | [models.Redis](../models/redis.md) | :heavy_minus_sign: | N/A | +| `microfrontendsRequest` | [models.MicrofrontendsRequest](../models/microfrontendsrequest.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/payloadimageoptimizationtransformation.md b/docs/models/payloadimageoptimizationtransformation.md index be0014295..327cc5ab7 100644 --- a/docs/models/payloadimageoptimizationtransformation.md +++ b/docs/models/payloadimageoptimizationtransformation.md @@ -18,4 +18,4 @@ let value: PayloadImageOptimizationTransformation = { | `updatedAt` | *number* | :heavy_check_mark: | N/A | | `blockedFrom` | *number* | :heavy_minus_sign: | N/A | | `blockedUntil` | *number* | :heavy_minus_sign: | N/A | -| `blockReason` | [models.UserEventPayload64NewOwnerBlockReason](../models/usereventpayload64newownerblockreason.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `blockReason` | [models.UserEventPayload66NewOwnerBlockReason](../models/usereventpayload66newownerblockreason.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/payloaditems.md b/docs/models/payloaditems.md new file mode 100644 index 000000000..c9ec57257 --- /dev/null +++ b/docs/models/payloaditems.md @@ -0,0 +1,17 @@ +# PayloadItems + +## Example Usage + +```typescript +import { PayloadItems } from "@vercel/sdk/models/userevent.js"; + +let value: PayloadItems = { + type: "string", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `type` | [models.UserEventPayload162BeforeType](../models/usereventpayload162beforetype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/payloadmicrofrontends.md b/docs/models/payloadmicrofrontends.md index fc73712a1..45098e7c5 100644 --- a/docs/models/payloadmicrofrontends.md +++ b/docs/models/payloadmicrofrontends.md @@ -7,9 +7,11 @@ ```typescript const value: models.UserEventMicrofrontends1 = { - updatedAt: 1770.01, + isDefaultApp: true, + updatedAt: 3153.83, groupIds: [ "", + "", ], enabled: false, }; @@ -28,3 +30,16 @@ const value: models.UserEventMicrofrontends2 = { }; ``` +### `models.UserEventMicrofrontends3` + +```typescript +const value: models.UserEventMicrofrontends3 = { + updatedAt: 6600.72, + groupIds: [ + "", + "", + ], + enabled: false, +}; +``` + diff --git a/docs/models/payloadprev.md b/docs/models/payloadprev.md index 42e732420..eebedc6e0 100644 --- a/docs/models/payloadprev.md +++ b/docs/models/payloadprev.md @@ -14,4 +14,4 @@ let value: PayloadPrev = { | Field | Type | Required | Description | | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | -| `project` | [models.UserEventPayload151PrevProject](../models/usereventpayload151prevproject.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `project` | [models.UserEventPayload153PrevProject](../models/usereventpayload153prevproject.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/payloadprojectids.md b/docs/models/payloadprojectids.md new file mode 100644 index 000000000..73ca3a131 --- /dev/null +++ b/docs/models/payloadprojectids.md @@ -0,0 +1,23 @@ +# PayloadProjectIds + +## Example Usage + +```typescript +import { PayloadProjectIds } from "@vercel/sdk/models/userevent.js"; + +let value: PayloadProjectIds = { + type: "list", + required: true, + items: { + type: "string", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | +| `type` | [models.UserEventPayload162Type](../models/usereventpayload162type.md) | :heavy_check_mark: | N/A | +| `required` | *boolean* | :heavy_check_mark: | N/A | +| `items` | [models.PayloadItems](../models/payloaditems.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/payloadprojectmembership.md b/docs/models/payloadprojectmembership.md index 683a10e54..a5ce11ac7 100644 --- a/docs/models/payloadprojectmembership.md +++ b/docs/models/payloadprojectmembership.md @@ -12,7 +12,7 @@ let value: PayloadProjectMembership = {}; | Field | Type | Required | Description | | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | -| `role` | [models.UserEventPayload140Role](../models/usereventpayload140role.md) | :heavy_minus_sign: | N/A | +| `role` | [models.UserEventPayload142Role](../models/usereventpayload142role.md) | :heavy_minus_sign: | N/A | | `uid` | *string* | :heavy_minus_sign: | N/A | | `createdAt` | *number* | :heavy_minus_sign: | N/A | | `username` | *string* | :heavy_minus_sign: | N/A | diff --git a/docs/models/payloadreasoncode.md b/docs/models/payloadreasoncode.md new file mode 100644 index 000000000..70caa5a66 --- /dev/null +++ b/docs/models/payloadreasoncode.md @@ -0,0 +1,15 @@ +# PayloadReasonCode + +## Example Usage + +```typescript +import { PayloadReasonCode } from "@vercel/sdk/models/userevent.js"; + +let value: PayloadReasonCode = "BACKOFFICE"; +``` + +## Values + +```typescript +"PUBLIC_API" | "BACKOFFICE" +``` \ No newline at end of file diff --git a/docs/models/payloadresourceconfig.md b/docs/models/payloadresourceconfig.md index 61a918db8..4b942b8d7 100644 --- a/docs/models/payloadresourceconfig.md +++ b/docs/models/payloadresourceconfig.md @@ -16,6 +16,7 @@ let value: PayloadResourceConfig = {}; | `concurrentBuilds` | *number* | :heavy_minus_sign: | N/A | | `elasticConcurrencyEnabled` | *boolean* | :heavy_minus_sign: | N/A | | `buildEntitlements` | [models.PayloadBuildEntitlements](../models/payloadbuildentitlements.md) | :heavy_minus_sign: | N/A | +| `buildQueue` | [models.PayloadBuildQueue](../models/payloadbuildqueue.md) | :heavy_minus_sign: | N/A | | `awsAccountType` | *string* | :heavy_minus_sign: | N/A | | `awsAccountIds` | *string*[] | :heavy_minus_sign: | N/A | | `cfZoneName` | *string* | :heavy_minus_sign: | N/A | diff --git a/docs/models/payloadresources.md b/docs/models/payloadresources.md new file mode 100644 index 000000000..b6db413b1 --- /dev/null +++ b/docs/models/payloadresources.md @@ -0,0 +1,23 @@ +# PayloadResources + +## Example Usage + +```typescript +import { PayloadResources } from "@vercel/sdk/models/userevent.js"; + +let value: PayloadResources = { + projectIds: { + type: "list", + required: false, + items: { + type: "string", + }, + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | +| `projectIds` | [models.PayloadProjectIds](../models/payloadprojectids.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/payloadrole.md b/docs/models/payloadrole.md index 4670bff3d..35aab8648 100644 --- a/docs/models/payloadrole.md +++ b/docs/models/payloadrole.md @@ -5,11 +5,11 @@ ```typescript import { PayloadRole } from "@vercel/sdk/models/userevent.js"; -let value: PayloadRole = "PROJECT_DEVELOPER"; +let value: PayloadRole = "BILLING"; ``` ## Values ```typescript -"ADMIN" | "PROJECT_DEVELOPER" | "PROJECT_VIEWER" +"OWNER" | "MEMBER" | "DEVELOPER" | "SECURITY" | "BILLING" | "VIEWER" | "VIEWER_FOR_PLUS" | "CONTRIBUTOR" ``` \ No newline at end of file diff --git a/docs/models/payloadscopes.md b/docs/models/payloadscopes.md new file mode 100644 index 000000000..51434cae2 --- /dev/null +++ b/docs/models/payloadscopes.md @@ -0,0 +1,15 @@ +# PayloadScopes + +## Example Usage + +```typescript +import { PayloadScopes } from "@vercel/sdk/models/userevent.js"; + +let value: PayloadScopes = "profile"; +``` + +## Values + +```typescript +"openid" | "email" | "profile" | "offline_access" +``` \ No newline at end of file diff --git a/docs/models/payloadsourceimages.md b/docs/models/payloadsourceimages.md index 7b965aa2e..c69d3d3a4 100644 --- a/docs/models/payloadsourceimages.md +++ b/docs/models/payloadsourceimages.md @@ -18,4 +18,4 @@ let value: PayloadSourceImages = { | `updatedAt` | *number* | :heavy_check_mark: | N/A | | `blockedFrom` | *number* | :heavy_minus_sign: | N/A | | `blockedUntil` | *number* | :heavy_minus_sign: | N/A | -| `blockReason` | [models.UserEventPayload64NewOwnerFeatureBlocksBlockReason](../models/usereventpayload64newownerfeatureblocksblockreason.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `blockReason` | [models.UserEventPayload66NewOwnerFeatureBlocksBlockReason](../models/usereventpayload66newownerfeatureblocksblockreason.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/payloadstaticips.md b/docs/models/payloadstaticips.md index 1c106a1a5..2c5b14405 100644 --- a/docs/models/payloadstaticips.md +++ b/docs/models/payloadstaticips.md @@ -14,5 +14,6 @@ let value: PayloadStaticIps = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | +| `builds` | *boolean* | :heavy_minus_sign: | N/A | | `enabled` | *boolean* | :heavy_check_mark: | N/A | | `regions` | *string*[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/payloaduserpermissionset.md b/docs/models/payloaduserpermissionset.md new file mode 100644 index 000000000..e03ef8271 --- /dev/null +++ b/docs/models/payloaduserpermissionset.md @@ -0,0 +1,15 @@ +# PayloadUserPermissionSet + +## Example Usage + +```typescript +import { PayloadUserPermissionSet } from "@vercel/sdk/models/userevent.js"; + +let value: PayloadUserPermissionSet = "read:user"; +``` + +## Values + +```typescript +"read:user" +``` \ No newline at end of file diff --git a/docs/models/payloadviewpreference.md b/docs/models/payloadviewpreference.md index 05798f454..737728ff7 100644 --- a/docs/models/payloadviewpreference.md +++ b/docs/models/payloadviewpreference.md @@ -5,11 +5,11 @@ ```typescript import { PayloadViewPreference } from "@vercel/sdk/models/userevent.js"; -let value: PayloadViewPreference = "cards"; +let value: PayloadViewPreference = "list"; ``` ## Values ```typescript -"cards" | "list" +"list" | "cards" ``` \ No newline at end of file diff --git a/docs/models/permissions.md b/docs/models/permissions.md index 8a710c60f..5d78c1202 100644 --- a/docs/models/permissions.md +++ b/docs/models/permissions.md @@ -3,226 +3,13 @@ ## Example Usage ```typescript -import { Permissions } from "@vercel/sdk/models/updateprojectdatacacheop.js"; +import { Permissions } from "@vercel/sdk/models/userevent.js"; -let value: Permissions = {}; +let value: Permissions = "read-write:project"; ``` -## Fields +## Values -| Field | Type | Required | Description | -| -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -| `oauth2Connection` | [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 | -| `userSudo` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `webAuthn` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `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 | -| `billingRefund` | [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 | -| `defaultDeploymentProtection` | [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 | -| `flagsExplorerSubscription` | [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 | -| `imageOptimizationNewPrice` | [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 | -| `integrationSSOSession` | [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 | -| `marketplaceSettings` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `marketplaceExperimentationItem` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `marketplaceExperimentationEdgeConfigData` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `jobGlobal` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `drain` | [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 | -| `notificationPreferences` | [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 | -| `observabilityConfiguration` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `alerts` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `observabilityNotebook` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `observabilityFunnel` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `openTelemetryEndpoint` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `vercelAppInstallation` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `vercelAppInstallationRequest` | [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 | -| `teamMemberMfaStatus` | [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 | -| `vpcPeeringConnection` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `webAnalyticsPlan` | [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 | -| `vercelRun` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `vercelRunExec` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `apiKey` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `apiKeyOwnedBySelf` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `apiKeyAiGateway` | [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 | -| `buildMachine` | [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 | -| `deploymentBuildLogs` | [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 | -| `edgeCacheNamespace` | [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 | -| `onDemandBuild` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `onDemandConcurrency` | [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 | -| `projectCheck` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectCheckRun` | [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 | -| `projectRollingRelease` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectTier` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectOIDCToken` | [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 | -| `v0Chat` | [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 +```typescript +"*" | "read:user" | "read-write:user" | "read:domain" | "read-write:domain" | "read:team" | "read-write:team" | "read:billing" | "read:project" | "read-write:project" | "read:deployment" | "read-write:deployment" +``` \ No newline at end of file diff --git a/docs/models/postgres.md b/docs/models/postgres.md index 3bdbb714e..24f6b5a61 100644 --- a/docs/models/postgres.md +++ b/docs/models/postgres.md @@ -19,5 +19,5 @@ let value: Postgres = { | `updatedAt` | *number* | :heavy_check_mark: | N/A | | `blockedFrom` | *number* | :heavy_minus_sign: | N/A | | `blockedUntil` | *number* | :heavy_minus_sign: | N/A | -| `blockReason` | [models.UserEventPayload64NewOwnerFeatureBlocksPostgresBlockReason](../models/usereventpayload64newownerfeatureblockspostgresblockreason.md) | :heavy_check_mark: | N/A | +| `blockReason` | [models.UserEventPayload66NewOwnerFeatureBlocksPostgresBlockReason](../models/usereventpayload66newownerfeatureblockspostgresblockreason.md) | :heavy_check_mark: | N/A | | `overageReason` | [models.PayloadOverageReason](../models/payloadoveragereason.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/prev.md b/docs/models/prev.md index 2251f7ee8..535ed4473 100644 --- a/docs/models/prev.md +++ b/docs/models/prev.md @@ -18,5 +18,4 @@ let value: Prev = { | --------------------- | --------------------- | --------------------- | --------------------- | | `name` | *string* | :heavy_check_mark: | N/A | | `slug` | *string* | :heavy_check_mark: | N/A | -| `fallbackEnvironment` | *string* | :heavy_check_mark: | N/A | -| `enableMfeAliases` | *boolean* | :heavy_minus_sign: | N/A | \ No newline at end of file +| `fallbackEnvironment` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/previous.md b/docs/models/previous.md index f9a944b34..ead75a641 100644 --- a/docs/models/previous.md +++ b/docs/models/previous.md @@ -9,7 +9,7 @@ let value: Previous = { project: { id: "", staticIps: { - enabled: false, + enabled: true, }, }, }; @@ -19,4 +19,4 @@ let value: Previous = { | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | -| `project` | [models.UserEventPayload91PreviousProject](../models/usereventpayload91previousproject.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `project` | [models.UserEventPayload93PreviousProject](../models/usereventpayload93previousproject.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/previousplan.md b/docs/models/previousplan.md new file mode 100644 index 000000000..02307901e --- /dev/null +++ b/docs/models/previousplan.md @@ -0,0 +1,15 @@ +# PreviousPlan + +## Example Usage + +```typescript +import { PreviousPlan } from "@vercel/sdk/models/userevent.js"; + +let value: PreviousPlan = "pro"; +``` + +## Values + +```typescript +"pro" | "enterprise" | "hobby" +``` \ No newline at end of file diff --git a/docs/models/previousvalue.md b/docs/models/previousvalue.md new file mode 100644 index 000000000..f260d638a --- /dev/null +++ b/docs/models/previousvalue.md @@ -0,0 +1,23 @@ +# PreviousValue + + +## Supported Types + +### `number` + +```typescript +const value: number = 1284.03; +``` + +### `boolean` + +```typescript +const value: boolean = true; +``` + +### `string` + +```typescript +const value: string = ""; +``` + diff --git a/docs/models/product.md b/docs/models/product.md index ff189983d..7af8959c1 100644 --- a/docs/models/product.md +++ b/docs/models/product.md @@ -7,7 +7,7 @@ import { Product } from "@vercel/sdk/models/createintegrationstoredirectop.js"; let value: Product = { value: { - atBRANDAt8486: {}, + atBRANDAt8795: {}, }, }; ``` diff --git a/docs/models/projectfilter.md b/docs/models/projectfilter.md new file mode 100644 index 000000000..81fd9c34b --- /dev/null +++ b/docs/models/projectfilter.md @@ -0,0 +1,15 @@ +# ProjectFilter + +## Example Usage + +```typescript +import { ProjectFilter } from "@vercel/sdk/models/createintegrationstoredirectop.js"; + +let value: ProjectFilter = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------ | ------------------------------ | ------------------------------ | ------------------------------ | +| `git` | [models.Git](../models/git.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/projectids.md b/docs/models/projectids.md new file mode 100644 index 000000000..e047cf5bb --- /dev/null +++ b/docs/models/projectids.md @@ -0,0 +1,23 @@ +# ProjectIds + +## Example Usage + +```typescript +import { ProjectIds } from "@vercel/sdk/models/userevent.js"; + +let value: ProjectIds = { + type: "list", + required: false, + items: { + type: "string", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | +| `type` | [models.UserEventPayload161Type](../models/usereventpayload161type.md) | :heavy_check_mark: | N/A | +| `required` | *boolean* | :heavy_check_mark: | N/A | +| `items` | [models.Items](../models/items.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/projectidupdates.md b/docs/models/projectidupdates.md new file mode 100644 index 000000000..9f2461dcd --- /dev/null +++ b/docs/models/projectidupdates.md @@ -0,0 +1,25 @@ +# ProjectIdUpdates + +Incrementally update project associations without specifying the full list + +## Example Usage + +```typescript +import { ProjectIdUpdates } from "@vercel/sdk/models/updatesharedenvvariableop.js"; + +let value: ProjectIdUpdates = { + link: [ + "prj_2WjyKQmM8ZnGcJsPWMrHRHrE", + ], + unlink: [ + "prj_2WjyKQmM8ZnGcJsPWMrHRCRV", + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | +| `link` | *string*[] | :heavy_minus_sign: | Project IDs to add to this environment variable | [
"prj_2WjyKQmM8ZnGcJsPWMrHRHrE"
] | +| `unlink` | *string*[] | :heavy_minus_sign: | Project IDs to remove from this environment variable | [
"prj_2WjyKQmM8ZnGcJsPWMrHRCRV"
] | \ No newline at end of file diff --git a/docs/models/projectmembership.md b/docs/models/projectmembership.md index a7ed04cb8..83201a689 100644 --- a/docs/models/projectmembership.md +++ b/docs/models/projectmembership.md @@ -14,9 +14,9 @@ let value: ProjectMembership = { ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | -| `role` | [models.PayloadRole](../models/payloadrole.md) | :heavy_check_mark: | N/A | -| `uid` | *string* | :heavy_check_mark: | N/A | -| `createdAt` | *number* | :heavy_check_mark: | N/A | -| `username` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | +| `role` | [models.UserEventPayloadRole](../models/usereventpayloadrole.md) | :heavy_check_mark: | N/A | +| `uid` | *string* | :heavy_check_mark: | N/A | +| `createdAt` | *number* | :heavy_check_mark: | N/A | +| `username` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/projectsmetadata.md b/docs/models/projectsmetadata.md index 1336229a0..cf2d21633 100644 --- a/docs/models/projectsmetadata.md +++ b/docs/models/projectsmetadata.md @@ -3,31 +3,19 @@ ## Example Usage ```typescript -import { ProjectsMetadata } from "@vercel/sdk/models/createintegrationstoredirectop.js"; +import { ProjectsMetadata } from "@vercel/sdk/models/getconfigurablelogdrainop.js"; let value: ProjectsMetadata = { id: "", - projectId: "", name: "", - environments: [], - envVarPrefix: "", - environmentVariables: [ - "", - "", - ], }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | -| `id` | *string* | :heavy_check_mark: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `name` | *string* | :heavy_check_mark: | N/A | -| `framework` | [models.CreateIntegrationStoreDirectFramework](../models/createintegrationstoredirectframework.md) | :heavy_minus_sign: | N/A | -| `latestDeployment` | *string* | :heavy_minus_sign: | N/A | -| `environments` | [models.CreateIntegrationStoreDirectEnvironments](../models/createintegrationstoredirectenvironments.md)[] | :heavy_check_mark: | N/A | -| `envVarPrefix` | *string* | :heavy_check_mark: | N/A | -| `environmentVariables` | *string*[] | :heavy_check_mark: | N/A | -| `deployments` | [models.CreateIntegrationStoreDirectDeployments](../models/createintegrationstoredirectdeployments.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | N/A | +| `name` | *string* | :heavy_check_mark: | N/A | +| `framework` | [models.GetConfigurableLogDrainFramework](../models/getconfigurablelogdrainframework.md) | :heavy_minus_sign: | N/A | +| `latestDeployment` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/properties.md b/docs/models/properties.md index 810e63880..315cd7db4 100644 --- a/docs/models/properties.md +++ b/docs/models/properties.md @@ -112,7 +112,7 @@ const value: models.Properties9 = { ```typescript const value: models.Properties10 = { value: { - atBRANDAt543472: {}, + atBRANDAt649501: {}, }, }; ``` diff --git a/docs/models/properties10.md b/docs/models/properties10.md index ccb9c8296..5f7c6c5f6 100644 --- a/docs/models/properties10.md +++ b/docs/models/properties10.md @@ -7,7 +7,7 @@ import { Properties10 } from "@vercel/sdk/models/getconfigurationproductsop.js"; let value: Properties10 = { value: { - atBRANDAt543472: {}, + atBRANDAt649501: {}, }, }; ``` diff --git a/docs/models/propertiesatbrandat543472.md b/docs/models/propertiesatbrandat649501.md similarity index 59% rename from docs/models/propertiesatbrandat543472.md rename to docs/models/propertiesatbrandat649501.md index 9f7f51baf..51a5392df 100644 --- a/docs/models/propertiesatbrandat543472.md +++ b/docs/models/propertiesatbrandat649501.md @@ -1,11 +1,11 @@ -# PropertiesAtBRANDAt543472 +# PropertiesAtBRANDAt649501 ## Example Usage ```typescript -import { PropertiesAtBRANDAt543472 } from "@vercel/sdk/models/getconfigurationproductsop.js"; +import { PropertiesAtBRANDAt649501 } from "@vercel/sdk/models/getconfigurationproductsop.js"; -let value: PropertiesAtBRANDAt543472 = {}; +let value: PropertiesAtBRANDAt649501 = {}; ``` ## Fields diff --git a/docs/models/propertiesatbrandat8486.md b/docs/models/propertiesatbrandat8795.md similarity index 60% rename from docs/models/propertiesatbrandat8486.md rename to docs/models/propertiesatbrandat8795.md index c22a2eb16..0aed49426 100644 --- a/docs/models/propertiesatbrandat8486.md +++ b/docs/models/propertiesatbrandat8795.md @@ -1,11 +1,11 @@ -# PropertiesAtBRANDAt8486 +# PropertiesAtBRANDAt8795 ## Example Usage ```typescript -import { PropertiesAtBRANDAt8486 } from "@vercel/sdk/models/createintegrationstoredirectop.js"; +import { PropertiesAtBRANDAt8795 } from "@vercel/sdk/models/createintegrationstoredirectop.js"; -let value: PropertiesAtBRANDAt8486 = {}; +let value: PropertiesAtBRANDAt8795 = {}; ``` ## Fields diff --git a/docs/models/propertiesmaxlength.md b/docs/models/propertiesmaxlength.md index a1e5d5ea7..b3dd31b7c 100644 --- a/docs/models/propertiesmaxlength.md +++ b/docs/models/propertiesmaxlength.md @@ -6,7 +6,7 @@ import { PropertiesMaxLength } from "@vercel/sdk/models/getconfigurationproductsop.js"; let value: PropertiesMaxLength = { - atBRANDAt543472: {}, + atBRANDAt649501: {}, }; ``` @@ -14,4 +14,4 @@ let value: PropertiesMaxLength = { | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `atBRANDAt543472` | [models.GetConfigurationProductsPropertiesIntegrationsResponseAtBRANDAt543472](../models/getconfigurationproductspropertiesintegrationsresponseatbrandat543472.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `atBRANDAt649501` | [models.GetConfigurationProductsPropertiesIntegrationsResponseAtBRANDAt649501](../models/getconfigurationproductspropertiesintegrationsresponseatbrandat649501.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/propertiesminlength.md b/docs/models/propertiesminlength.md index 4bf235332..ec686fe6e 100644 --- a/docs/models/propertiesminlength.md +++ b/docs/models/propertiesminlength.md @@ -6,7 +6,7 @@ import { PropertiesMinLength } from "@vercel/sdk/models/getconfigurationproductsop.js"; let value: PropertiesMinLength = { - atBRANDAt543472: {}, + atBRANDAt649501: {}, }; ``` @@ -14,4 +14,4 @@ let value: PropertiesMinLength = { | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | -| `atBRANDAt543472` | [models.GetConfigurationProductsPropertiesIntegrationsAtBRANDAt543472](../models/getconfigurationproductspropertiesintegrationsatbrandat543472.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `atBRANDAt649501` | [models.GetConfigurationProductsPropertiesIntegrationsAtBRANDAt649501](../models/getconfigurationproductspropertiesintegrationsatbrandat649501.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/propertiespattern.md b/docs/models/propertiespattern.md index db924e962..639573734 100644 --- a/docs/models/propertiespattern.md +++ b/docs/models/propertiespattern.md @@ -6,7 +6,7 @@ import { PropertiesPattern } from "@vercel/sdk/models/getconfigurationproductsop.js"; let value: PropertiesPattern = { - atBRANDAt543472: {}, + atBRANDAt649501: {}, }; ``` @@ -14,4 +14,4 @@ let value: PropertiesPattern = { | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `atBRANDAt543472` | [models.GetConfigurationProductsPropertiesIntegrationsResponse200AtBRANDAt543472](../models/getconfigurationproductspropertiesintegrationsresponse200atbrandat543472.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `atBRANDAt649501` | [models.GetConfigurationProductsPropertiesIntegrationsResponse200AtBRANDAt649501](../models/getconfigurationproductspropertiesintegrationsresponse200atbrandat649501.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/propertiesvalue.md b/docs/models/propertiesvalue.md index 794f31f7a..f1b1f1385 100644 --- a/docs/models/propertiesvalue.md +++ b/docs/models/propertiesvalue.md @@ -6,7 +6,7 @@ import { PropertiesValue } from "@vercel/sdk/models/getconfigurationproductsop.js"; let value: PropertiesValue = { - atBRANDAt543472: {}, + atBRANDAt649501: {}, }; ``` @@ -14,4 +14,4 @@ let value: PropertiesValue = { | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `atBRANDAt543472` | [models.GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema10AtBRANDAt543472](../models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema10atbrandat543472.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `atBRANDAt649501` | [models.GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema10AtBRANDAt649501](../models/getconfigurationproductspropertiesintegrationsresponse200applicationjsonresponsebodyproductsmetadataschema10atbrandat649501.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/providers.md b/docs/models/providers.md new file mode 100644 index 000000000..9df9f046a --- /dev/null +++ b/docs/models/providers.md @@ -0,0 +1,17 @@ +# Providers + + +## Supported Types + +### `models.Providers1[]` + +```typescript +const value: models.Providers1[] = []; +``` + +### `models.Providers2` + +```typescript +const value: models.Providers2 = "*"; +``` + diff --git a/docs/models/providers1.md b/docs/models/providers1.md new file mode 100644 index 000000000..886e62923 --- /dev/null +++ b/docs/models/providers1.md @@ -0,0 +1,15 @@ +# Providers1 + +## Example Usage + +```typescript +import { Providers1 } from "@vercel/sdk/models/createintegrationstoredirectop.js"; + +let value: Providers1 = "gitlab"; +``` + +## Values + +```typescript +"github" | "gitlab" | "bitbucket" +``` \ No newline at end of file diff --git a/docs/models/providers2.md b/docs/models/providers2.md new file mode 100644 index 000000000..3a4eeb651 --- /dev/null +++ b/docs/models/providers2.md @@ -0,0 +1,15 @@ +# Providers2 + +## Example Usage + +```typescript +import { Providers2 } from "@vercel/sdk/models/createintegrationstoredirectop.js"; + +let value: Providers2 = "*"; +``` + +## Values + +```typescript +"*" +``` \ No newline at end of file diff --git a/docs/models/putv1installationsintegrationconfigurationidresourcesresourceidexperimentationedgeconfigpurpose.md b/docs/models/putv1installationsintegrationconfigurationidresourcesresourceidexperimentationedgeconfigpurpose.md new file mode 100644 index 000000000..4090a3914 --- /dev/null +++ b/docs/models/putv1installationsintegrationconfigurationidresourcesresourceidexperimentationedgeconfigpurpose.md @@ -0,0 +1,19 @@ +# PutV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigPurpose + +## Example Usage + +```typescript +import { + PutV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigPurpose, +} from "@vercel/sdk/models/putv1installationsintegrationconfigurationidresourcesresourceidexperimentationedgeconfigop.js"; + +let value: + PutV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigPurpose = + "experimentation"; +``` + +## Values + +```typescript +"flags" | "experimentation" +``` \ No newline at end of file diff --git a/docs/models/putv1installationsintegrationconfigurationidresourcesresourceidexperimentationedgeconfigresponsebody.md b/docs/models/putv1installationsintegrationconfigurationidresourcesresourceidexperimentationedgeconfigresponsebody.md index 8e7e5e2f9..f93b196cf 100644 --- a/docs/models/putv1installationsintegrationconfigurationidresourcesresourceidexperimentationedgeconfigresponsebody.md +++ b/docs/models/putv1installationsintegrationconfigurationidresourcesresourceidexperimentationedgeconfigresponsebody.md @@ -20,8 +20,9 @@ let value: ## Fields -| Field | Type | Required | Description | -| -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -| `items` | Record | :heavy_check_mark: | N/A | -| `updatedAt` | *number* | :heavy_check_mark: | N/A | -| `digest` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `items` | Record | :heavy_check_mark: | N/A | +| `updatedAt` | *number* | :heavy_check_mark: | N/A | +| `digest` | *string* | :heavy_check_mark: | N/A | +| `purpose` | [models.PutV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigPurpose](../models/putv1installationsintegrationconfigurationidresourcesresourceidexperimentationedgeconfigpurpose.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/readystate.md b/docs/models/readystate.md index 090524791..df358d723 100644 --- a/docs/models/readystate.md +++ b/docs/models/readystate.md @@ -1,15 +1,17 @@ # ReadyState +The state of the deployment depending on the process of deploying, or if it is ready or in an error state + ## Example Usage ```typescript import { ReadyState } from "@vercel/sdk/models/createdeploymentop.js"; -let value: ReadyState = "INITIALIZING"; +let value: ReadyState = "READY"; ``` ## Values ```typescript -"CANCELED" | "ERROR" | "QUEUED" | "BUILDING" | "INITIALIZING" | "READY" +"QUEUED" | "BUILDING" | "ERROR" | "INITIALIZING" | "READY" | "CANCELED" ``` \ No newline at end of file diff --git a/docs/models/reasoncode.md b/docs/models/reasoncode.md index 40893e7f6..c65af525b 100644 --- a/docs/models/reasoncode.md +++ b/docs/models/reasoncode.md @@ -5,11 +5,11 @@ ```typescript import { ReasonCode } from "@vercel/sdk/models/userevent.js"; -let value: ReasonCode = "PUBLIC_API"; +let value: ReasonCode = "BACKOFFICE"; ``` ## Values ```typescript -"BUDGET_REACHED" | "PUBLIC_API" +"BUDGET_REACHED" | "PUBLIC_API" | "BACKOFFICE" ``` \ No newline at end of file diff --git a/docs/models/redis.md b/docs/models/redis.md index 508f69b7e..896462d7b 100644 --- a/docs/models/redis.md +++ b/docs/models/redis.md @@ -19,5 +19,5 @@ let value: Redis = { | `updatedAt` | *number* | :heavy_check_mark: | N/A | | `blockedFrom` | *number* | :heavy_minus_sign: | N/A | | `blockedUntil` | *number* | :heavy_minus_sign: | N/A | -| `blockReason` | [models.UserEventPayload64NewOwnerFeatureBlocksRedisBlockReason](../models/usereventpayload64newownerfeatureblocksredisblockreason.md) | :heavy_check_mark: | N/A | +| `blockReason` | [models.UserEventPayload66NewOwnerFeatureBlocksRedisBlockReason](../models/usereventpayload66newownerfeatureblocksredisblockreason.md) | :heavy_check_mark: | N/A | | `overageReason` | [models.UserEventPayloadOverageReason](../models/usereventpayloadoveragereason.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/removedmembership.md b/docs/models/removedmembership.md index 775e017a7..250811548 100644 --- a/docs/models/removedmembership.md +++ b/docs/models/removedmembership.md @@ -14,9 +14,9 @@ let value: RemovedMembership = { ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | -| `role` | [models.UserEventPayloadRole](../models/usereventpayloadrole.md) | :heavy_check_mark: | N/A | -| `uid` | *string* | :heavy_check_mark: | N/A | -| `createdAt` | *number* | :heavy_check_mark: | N/A | -| `username` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | +| `role` | [models.UserEventPayload141Role](../models/usereventpayload141role.md) | :heavy_check_mark: | N/A | +| `uid` | *string* | :heavy_check_mark: | N/A | +| `createdAt` | *number* | :heavy_check_mark: | N/A | +| `username` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/removedusers.md b/docs/models/removedusers.md index 4d945da7b..1f1decf03 100644 --- a/docs/models/removedusers.md +++ b/docs/models/removedusers.md @@ -15,7 +15,7 @@ let value: RemovedUsers = { | Field | Type | Required | Description | | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -| `role` | [models.UserEventPayload76Role](../models/usereventpayload76role.md) | :heavy_check_mark: | N/A | +| `role` | [models.UserEventPayload78Role](../models/usereventpayload78role.md) | :heavy_check_mark: | N/A | | `confirmed` | *boolean* | :heavy_check_mark: | N/A | | `confirmedAt` | *number* | :heavy_minus_sign: | N/A | | `joinedFrom` | [models.PayloadJoinedFrom](../models/payloadjoinedfrom.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/renewdomaincontactinformation.md b/docs/models/renewdomaincontactinformation.md new file mode 100644 index 000000000..fd90afebe --- /dev/null +++ b/docs/models/renewdomaincontactinformation.md @@ -0,0 +1,36 @@ +# RenewDomainContactInformation + +## Example Usage + +```typescript +import { RenewDomainContactInformation } from "@vercel/sdk/models/renewdomainop.js"; + +let value: RenewDomainContactInformation = { + firstName: "Monserrat", + lastName: "Roberts", + email: "Nils.Keeling@hotmail.com", + phone: "(939) 271-5135 x433", + address1: "", + city: "Oranborough", + state: "New Hampshire", + zip: "77125", + country: "Indonesia", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------- | --------------------------------------- | --------------------------------------- | --------------------------------------- | +| `firstName` | *string* | :heavy_check_mark: | a non empty string | +| `lastName` | *string* | :heavy_check_mark: | a non empty string | +| `email` | *string* | :heavy_check_mark: | a non empty string | +| `phone` | *string* | :heavy_check_mark: | A valid E.164 phone number | +| `address1` | *string* | :heavy_check_mark: | a non empty string | +| `address2` | *string* | :heavy_minus_sign: | a non empty string | +| `city` | *string* | :heavy_check_mark: | a non empty string | +| `state` | *string* | :heavy_check_mark: | a non empty string | +| `zip` | *string* | :heavy_check_mark: | a non empty string | +| `country` | *string* | :heavy_check_mark: | A valid ISO 3166-1 alpha-2 country code | +| `companyName` | *string* | :heavy_minus_sign: | a non empty string | +| `fax` | *string* | :heavy_minus_sign: | A valid E.164 phone number | \ No newline at end of file diff --git a/docs/models/renewdomaindomainsregistrarresponsebody.md b/docs/models/renewdomaindomainsregistrarresponsebody.md new file mode 100644 index 000000000..bbfeb9175 --- /dev/null +++ b/docs/models/renewdomaindomainsregistrarresponsebody.md @@ -0,0 +1,27 @@ +# RenewDomainDomainsRegistrarResponseBody + +NotAuthorizedForScope + + +## Supported Types + +### `models.NotAuthorizedForScope` + +```typescript +const value: models.NotAuthorizedForScope = { + status: 4853.56, + code: "not_authorized_for_scope", + message: "", +}; +``` + +### `models.Forbidden` + +```typescript +const value: models.Forbidden = { + status: 7108.3, + code: "forbidden", + message: "", +}; +``` + diff --git a/docs/models/renewdomainlinks.md b/docs/models/renewdomainlinks.md new file mode 100644 index 000000000..1507aa8c7 --- /dev/null +++ b/docs/models/renewdomainlinks.md @@ -0,0 +1,19 @@ +# RenewDomainLinks + +## Example Usage + +```typescript +import { RenewDomainLinks } from "@vercel/sdk/models/renewdomainop.js"; + +let value: RenewDomainLinks = { + href: "", + method: "PUT", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | +| `href` | *string* | :heavy_check_mark: | N/A | +| `method` | [models.RenewDomainMethod](../models/renewdomainmethod.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/renewdomainmethod.md b/docs/models/renewdomainmethod.md new file mode 100644 index 000000000..afb86b589 --- /dev/null +++ b/docs/models/renewdomainmethod.md @@ -0,0 +1,15 @@ +# RenewDomainMethod + +## Example Usage + +```typescript +import { RenewDomainMethod } from "@vercel/sdk/models/renewdomainop.js"; + +let value: RenewDomainMethod = "PATCH"; +``` + +## Values + +```typescript +"GET" | "POST" | "PUT" | "DELETE" | "PATCH" +``` \ No newline at end of file diff --git a/docs/models/renewdomainrequest.md b/docs/models/renewdomainrequest.md new file mode 100644 index 000000000..1a6de30cc --- /dev/null +++ b/docs/models/renewdomainrequest.md @@ -0,0 +1,24 @@ +# RenewDomainRequest + +## Example Usage + +```typescript +import { RenewDomainRequest } from "@vercel/sdk/models/renewdomainop.js"; + +let value: RenewDomainRequest = { + domain: "fatherly-ad.info", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + requestBody: { + years: 6227.86, + expectedPrice: 3189.85, + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `domain` | *string* | :heavy_check_mark: | N/A | | +| `teamId` | *string* | :heavy_minus_sign: | N/A | team_1a2b3c4d5e6f7g8h9i0j1k2l | +| `requestBody` | [models.RenewDomainRequestBody](../models/renewdomainrequestbody.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/renewdomainrequestbody.md b/docs/models/renewdomainrequestbody.md new file mode 100644 index 000000000..9067c0105 --- /dev/null +++ b/docs/models/renewdomainrequestbody.md @@ -0,0 +1,20 @@ +# RenewDomainRequestBody + +## Example Usage + +```typescript +import { RenewDomainRequestBody } from "@vercel/sdk/models/renewdomainop.js"; + +let value: RenewDomainRequestBody = { + years: 4900.82, + expectedPrice: 546.09, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `years` | *number* | :heavy_check_mark: | The number of years to renew the domain for. | +| `expectedPrice` | *number* | :heavy_check_mark: | The expected price for the domain. Use the [Get price data for a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/get-price-data-for-a-domain) endpoint to retrieve the price data for a domain. | +| `contactInformation` | [models.RenewDomainContactInformation](../models/renewdomaincontactinformation.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/renewdomainresponsebody.md b/docs/models/renewdomainresponsebody.md new file mode 100644 index 000000000..b4645a37e --- /dev/null +++ b/docs/models/renewdomainresponsebody.md @@ -0,0 +1,21 @@ +# RenewDomainResponseBody + +Success + +## Example Usage + +```typescript +import { RenewDomainResponseBody } from "@vercel/sdk/models/renewdomainop.js"; + +let value: RenewDomainResponseBody = { + orderId: "", + links: {}, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | +| `orderId` | *string* | :heavy_check_mark: | N/A | +| `links` | Record | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/requestbodyevs.md b/docs/models/requestbodyevs.md new file mode 100644 index 000000000..ccd7fc6dc --- /dev/null +++ b/docs/models/requestbodyevs.md @@ -0,0 +1,21 @@ +# RequestBodyEvs + +## Example Usage + +```typescript +import { RequestBodyEvs } from "@vercel/sdk/models/createsharedenvvariableop.js"; + +let value: RequestBodyEvs = { + key: "API_URL", + value: "https://api.vercel.com", + comment: "database connection string for production", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | +| `key` | *string* | :heavy_check_mark: | The name of the Shared Environment Variable | API_URL | +| `value` | *string* | :heavy_check_mark: | The value of the Shared Environment Variable | https://api.vercel.com | +| `comment` | *string* | :heavy_minus_sign: | A comment to add context on what this Shared Environment Variable is for | database connection string for production | \ No newline at end of file diff --git a/docs/models/requestbodytarget.md b/docs/models/requestbodytarget.md new file mode 100644 index 000000000..fef2b22dd --- /dev/null +++ b/docs/models/requestbodytarget.md @@ -0,0 +1,15 @@ +# RequestBodyTarget + +## Example Usage + +```typescript +import { RequestBodyTarget } from "@vercel/sdk/models/createsharedenvvariableop.js"; + +let value: RequestBodyTarget = "development"; +``` + +## Values + +```typescript +"production" | "preview" | "development" +``` \ No newline at end of file diff --git a/docs/models/resources.md b/docs/models/resources.md index f87a1f9e3..5a874ed31 100644 --- a/docs/models/resources.md +++ b/docs/models/resources.md @@ -3,26 +3,21 @@ ## Example Usage ```typescript -import { Resources } from "@vercel/sdk/models/getintegrationresourcesop.js"; +import { Resources } from "@vercel/sdk/models/userevent.js"; let value: Resources = { - partnerId: "", - internalId: "", - name: "", - productId: "", + projectIds: { + type: "list", + required: false, + items: { + type: "string", + }, + }, }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | -| `partnerId` | *string* | :heavy_check_mark: | The ID provided by the partner for the given resource | -| `internalId` | *string* | :heavy_check_mark: | The ID assigned by Vercel for the given resource | -| `name` | *string* | :heavy_check_mark: | The name of the resource as it is recorded in Vercel | -| `status` | [models.GetIntegrationResourcesStatus](../models/getintegrationresourcesstatus.md) | :heavy_minus_sign: | The current status of the resource | -| `productId` | *string* | :heavy_check_mark: | The ID of the product the resource is derived from | -| `protocolSettings` | [models.GetIntegrationResourcesProtocolSettings](../models/getintegrationresourcesprotocolsettings.md) | :heavy_minus_sign: | Any settings provided for the resource to support its product's protocols | -| `notification` | [models.GetIntegrationResourcesNotification](../models/getintegrationresourcesnotification.md) | :heavy_minus_sign: | The notification, if set, displayed to the user when viewing the resource in Vercel | -| `billingPlanId` | *string* | :heavy_minus_sign: | The ID of the billing plan the resource is subscribed to, if applicable | -| `metadata` | Record | :heavy_minus_sign: | The configured metadata for the resource as defined by its product's Metadata Schema | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | +| `projectIds` | [models.ProjectIds](../models/projectids.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/responsebodyaliaserror.md b/docs/models/responsebodyaliaserror.md index dbed2d735..86fee94ee 100644 --- a/docs/models/responsebodyaliaserror.md +++ b/docs/models/responsebodyaliaserror.md @@ -1,5 +1,7 @@ # ResponseBodyAliasError +An object that will contain a `code` and a `message` when the aliasing fails, otherwise the value will be `null` + ## Example Usage ```typescript diff --git a/docs/models/responsebodyanalytics.md b/docs/models/responsebodyanalytics.md new file mode 100644 index 000000000..a548513b7 --- /dev/null +++ b/docs/models/responsebodyanalytics.md @@ -0,0 +1,14 @@ +# ResponseBodyAnalytics + +## Example Usage + +```typescript +import { ResponseBodyAnalytics } from "@vercel/sdk/models/createdrainop.js"; + +let value: ResponseBodyAnalytics = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/responsebodycreatedfrom.md b/docs/models/responsebodycreatedfrom.md new file mode 100644 index 000000000..390349316 --- /dev/null +++ b/docs/models/responsebodycreatedfrom.md @@ -0,0 +1,15 @@ +# ResponseBodyCreatedFrom + +## Example Usage + +```typescript +import { ResponseBodyCreatedFrom } from "@vercel/sdk/models/createdrainop.js"; + +let value: ResponseBodyCreatedFrom = "integration"; +``` + +## Values + +```typescript +"self-served" | "integration" +``` \ No newline at end of file diff --git a/docs/models/responsebodycreator.md b/docs/models/responsebodycreator.md index 46dac0deb..e9405ca5f 100644 --- a/docs/models/responsebodycreator.md +++ b/docs/models/responsebodycreator.md @@ -1,19 +1,22 @@ # ResponseBodyCreator +Information about the deployment creator + ## Example Usage ```typescript import { ResponseBodyCreator } from "@vercel/sdk/models/getdeploymentop.js"; let value: ResponseBodyCreator = { - uid: "", + uid: "96SnxkFiMyVKsK3pnoHfx3Hz", + username: "john-doe", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `uid` | *string* | :heavy_check_mark: | N/A | -| `username` | *string* | :heavy_minus_sign: | N/A | -| `avatar` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | +| `uid` | *string* | :heavy_check_mark: | The ID of the user that created the deployment | 96SnxkFiMyVKsK3pnoHfx3Hz | +| `username` | *string* | :heavy_minus_sign: | The username of the user that created the deployment | john-doe | +| `avatar` | *string* | :heavy_minus_sign: | The avatar of the user that created the deployment | | \ No newline at end of file diff --git a/docs/models/responsebodydelivery.md b/docs/models/responsebodydelivery.md new file mode 100644 index 000000000..2d7d733e5 --- /dev/null +++ b/docs/models/responsebodydelivery.md @@ -0,0 +1,50 @@ +# ResponseBodyDelivery + + +## Supported Types + +### `models.CreateDrainDelivery1` + +```typescript +const value: models.CreateDrainDelivery1 = { + type: "http", + endpoint: "", + encoding: "ndjson", + headers: { + "key": "", + }, +}; +``` + +### `models.CreateDrainDelivery2` + +```typescript +const value: models.CreateDrainDelivery2 = { + type: "otlphttp", + endpoint: { + traces: "", + }, + encoding: "proto", + headers: {}, +}; +``` + +### `models.Delivery3` + +```typescript +const value: models.Delivery3 = { + type: "clickhouse", + endpoint: "", + table: "", +}; +``` + +### `models.Delivery4` + +```typescript +const value: models.Delivery4 = { + type: "internal", + target: "vercel-otel-traces-db", +}; +``` + diff --git a/docs/models/responsebodydisabledreason.md b/docs/models/responsebodydisabledreason.md index 944e55476..7c1609a30 100644 --- a/docs/models/responsebodydisabledreason.md +++ b/docs/models/responsebodydisabledreason.md @@ -3,13 +3,13 @@ ## Example Usage ```typescript -import { ResponseBodyDisabledReason } from "@vercel/sdk/models/getconfigurationsop.js"; +import { ResponseBodyDisabledReason } from "@vercel/sdk/models/createdrainop.js"; -let value: ResponseBodyDisabledReason = "disabled-by-admin"; +let value: ResponseBodyDisabledReason = "feature-not-available"; ``` ## Values ```typescript -"disabled-by-owner" | "feature-not-available" | "disabled-by-admin" | "original-owner-left-the-team" | "account-plan-downgrade" | "original-owner-role-downgraded" +"disabled-by-owner" | "feature-not-available" | "account-plan-downgrade" | "disabled-by-admin" ``` \ No newline at end of file diff --git a/docs/models/responsebodydrains.md b/docs/models/responsebodydrains.md new file mode 100644 index 000000000..1b19e394f --- /dev/null +++ b/docs/models/responsebodydrains.md @@ -0,0 +1,30 @@ +# ResponseBodyDrains + + +## Supported Types + +### `models.GetAllLogDrainsDrains1[]` + +```typescript +const value: models.GetAllLogDrainsDrains1[] = []; +``` + +### `models.GetAllLogDrainsDrains2[]` + +```typescript +const value: models.GetAllLogDrainsDrains2[] = [ + { + id: "", + ownerId: "", + name: "", + createdAt: 7250.96, + updatedAt: 5978.89, + source: { + kind: "integration", + integrationId: "", + integrationConfigurationId: "", + }, + }, +]; +``` + diff --git a/docs/models/responsebodyenv.md b/docs/models/responsebodyenv.md new file mode 100644 index 000000000..afa16ab53 --- /dev/null +++ b/docs/models/responsebodyenv.md @@ -0,0 +1,15 @@ +# ResponseBodyEnv + +## Example Usage + +```typescript +import { ResponseBodyEnv } from "@vercel/sdk/models/createdrainop.js"; + +let value: ResponseBodyEnv = "preview"; +``` + +## Values + +```typescript +"production" | "preview" +``` \ No newline at end of file diff --git a/docs/models/responsebodyevents.md b/docs/models/responsebodyevents.md index 273311564..d1d1902e7 100644 --- a/docs/models/responsebodyevents.md +++ b/docs/models/responsebodyevents.md @@ -13,5 +13,5 @@ let value: ResponseBodyEvents = "deployment.created"; ## Values ```typescript -"budget.reached" | "budget.reset" | "domain.created" | "domain.dns.records.changed" | "domain.transfer-in.started" | "domain.transfer-in.completed" | "domain.transfer-in.failed" | "domain.certificate.add" | "domain.certificate.add.failed" | "domain.certificate.renew" | "domain.certificate.renew.failed" | "domain.certificate.deleted" | "domain.renewal" | "domain.renewal.failed" | "domain.auto-renew.changed" | "deployment.created" | "deployment.cleanup" | "deployment.error" | "deployment.canceled" | "deployment.succeeded" | "deployment.ready" | "deployment.check-rerequested" | "deployment.promoted" | "deployment.integration.action.start" | "deployment.integration.action.cancel" | "deployment.integration.action.cleanup" | "deployment.checkrun.start" | "deployment.checkrun.cancel" | "edge-config.created" | "edge-config.deleted" | "edge-config.items.updated" | "firewall.attack" | "integration-configuration.permission-upgraded" | "integration-configuration.removed" | "integration-configuration.scope-change-confirmed" | "integration-resource.project-connected" | "integration-resource.project-disconnected" | "project.created" | "project.removed" | "project.domain.created" | "project.domain.updated" | "project.domain.deleted" | "project.domain.verified" | "project.domain.unverified" | "project.domain.moved" | "project.rolling-release.started" | "project.rolling-release.aborted" | "project.rolling-release.completed" | "project.rolling-release.approved" | "deployment.checks.failed" | "deployment.checks.succeeded" | "deployment-checks-completed" | "deployment-ready" | "deployment-prepared" | "deployment-error" | "deployment-check-rerequested" | "deployment-canceled" | "project-created" | "project-removed" | "domain-created" | "deployment" | "integration-configuration-permission-updated" | "integration-configuration-removed" | "integration-configuration-scope-change-confirmed" | "marketplace.member.changed" | "marketplace.invoice.created" | "marketplace.invoice.paid" | "marketplace.invoice.notpaid" | "marketplace.invoice.refunded" | "observability.anomaly" | "observability.anomaly-error" | "observability.anomaly-botId" | "test-webhook" +"budget.reached" | "budget.reset" | "domain.created" | "domain.dns.records.changed" | "domain.transfer-in.started" | "domain.transfer-in.completed" | "domain.transfer-in.failed" | "domain.certificate.add" | "domain.certificate.add.failed" | "domain.certificate.renew" | "domain.certificate.renew.failed" | "domain.certificate.deleted" | "domain.renewal" | "domain.renewal.failed" | "domain.auto-renew.changed" | "deployment.created" | "deployment.cleanup" | "deployment.error" | "deployment.canceled" | "deployment.succeeded" | "deployment.ready" | "deployment.check-rerequested" | "deployment.promoted" | "deployment.integration.action.start" | "deployment.integration.action.cancel" | "deployment.integration.action.cleanup" | "deployment.checkrun.start" | "deployment.checkrun.cancel" | "edge-config.created" | "edge-config.deleted" | "edge-config.items.updated" | "firewall.attack" | "integration-configuration.permission-upgraded" | "integration-configuration.removed" | "integration-configuration.scope-change-confirmed" | "integration-resource.project-connected" | "integration-resource.project-disconnected" | "project.created" | "project.removed" | "project.domain.created" | "project.domain.updated" | "project.domain.deleted" | "project.domain.verified" | "project.domain.unverified" | "project.domain.moved" | "project.rolling-release.started" | "project.rolling-release.aborted" | "project.rolling-release.completed" | "project.rolling-release.approved" | "deployment.checks.failed" | "deployment.checks.succeeded" | "deployment-checks-completed" | "deployment-ready" | "deployment-prepared" | "deployment-error" | "deployment-check-rerequested" | "deployment-canceled" | "project-created" | "project-removed" | "domain-created" | "deployment" | "integration-configuration-permission-updated" | "integration-configuration-removed" | "integration-configuration-scope-change-confirmed" | "marketplace.member.changed" | "marketplace.invoice.created" | "marketplace.invoice.paid" | "marketplace.invoice.notpaid" | "marketplace.invoice.refunded" | "observability.anomaly" | "observability.anomaly-error" | "observability.usage-anomaly" | "observability.error-anomaly" | "observability.anomaly-botId" | "test-webhook" ``` \ No newline at end of file diff --git a/docs/models/responsebodyfilterv2.md b/docs/models/responsebodyfilterv2.md new file mode 100644 index 000000000..837a57e1a --- /dev/null +++ b/docs/models/responsebodyfilterv2.md @@ -0,0 +1,25 @@ +# ResponseBodyFilterV2 + + +## Supported Types + +### `models.CreateDrainFilterV21` + +```typescript +const value: models.CreateDrainFilterV21 = { + version: "v1", +}; +``` + +### `models.CreateDrainFilterV22` + +```typescript +const value: models.CreateDrainFilterV22 = { + version: "v2", + filter: { + type: "odata", + text: "", + }, +}; +``` + diff --git a/docs/models/responsebodyframework.md b/docs/models/responsebodyframework.md index 26a07b400..4b4adb25e 100644 --- a/docs/models/responsebodyframework.md +++ b/docs/models/responsebodyframework.md @@ -5,11 +5,11 @@ ```typescript import { ResponseBodyFramework } from "@vercel/sdk/models/getdeploymentop.js"; -let value: ResponseBodyFramework = "hydrogen"; +let value: ResponseBodyFramework = "vitepress"; ``` ## Values ```typescript -"blitzjs" | "nextjs" | "gatsby" | "remix" | "react-router" | "astro" | "hexo" | "eleventy" | "docusaurus-2" | "docusaurus" | "preact" | "solidstart-1" | "solidstart" | "dojo" | "ember" | "vue" | "scully" | "ionic-angular" | "angular" | "polymer" | "svelte" | "sveltekit" | "sveltekit-1" | "ionic-react" | "create-react-app" | "gridsome" | "umijs" | "sapper" | "saber" | "stencil" | "nuxtjs" | "redwoodjs" | "hugo" | "jekyll" | "brunch" | "middleman" | "zola" | "hydrogen" | "vite" | "vitepress" | "vuepress" | "parcel" | "fastapi" | "fasthtml" | "sanity-v3" | "sanity" | "storybook" | "nitro" | "hono" | "express" | "h3" | "xmcp" +"blitzjs" | "nextjs" | "gatsby" | "remix" | "react-router" | "astro" | "hexo" | "eleventy" | "docusaurus-2" | "docusaurus" | "preact" | "solidstart-1" | "solidstart" | "dojo" | "ember" | "vue" | "scully" | "ionic-angular" | "angular" | "polymer" | "svelte" | "sveltekit" | "sveltekit-1" | "ionic-react" | "create-react-app" | "gridsome" | "umijs" | "sapper" | "saber" | "stencil" | "nuxtjs" | "redwoodjs" | "hugo" | "jekyll" | "brunch" | "middleman" | "zola" | "hydrogen" | "vite" | "tanstack-start" | "vitepress" | "vuepress" | "parcel" | "fastapi" | "flask" | "fasthtml" | "sanity-v3" | "sanity" | "storybook" | "nitro" | "hono" | "express" | "h3" | "nestjs" | "elysia" | "fastify" | "xmcp" ``` \ No newline at end of file diff --git a/docs/models/responsebodylog.md b/docs/models/responsebodylog.md new file mode 100644 index 000000000..d0e387f68 --- /dev/null +++ b/docs/models/responsebodylog.md @@ -0,0 +1,14 @@ +# ResponseBodyLog + +## Example Usage + +```typescript +import { ResponseBodyLog } from "@vercel/sdk/models/createdrainop.js"; + +let value: ResponseBodyLog = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/responsebodynodeversion.md b/docs/models/responsebodynodeversion.md index 974ec3d9e..0e9b9d41c 100644 --- a/docs/models/responsebodynodeversion.md +++ b/docs/models/responsebodynodeversion.md @@ -7,11 +7,11 @@ If set it overrides the `projectSettings.nodeVersion` for this deployment. ```typescript import { ResponseBodyNodeVersion } from "@vercel/sdk/models/getdeploymentop.js"; -let value: ResponseBodyNodeVersion = "22.x"; +let value: ResponseBodyNodeVersion = "24.x"; ``` ## Values ```typescript -"22.x" | "20.x" | "18.x" | "16.x" | "14.x" | "12.x" | "10.x" | "8.10.x" +"24.x" | "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/responsebodyoidctokenclaims.md b/docs/models/responsebodyoidctokenclaims.md index 16eca234e..e1da3531d 100644 --- a/docs/models/responsebodyoidctokenclaims.md +++ b/docs/models/responsebodyoidctokenclaims.md @@ -15,6 +15,7 @@ let value: ResponseBodyOidcTokenClaims = { project: "", projectId: "", environment: "", + plan: "", }; ``` @@ -30,4 +31,5 @@ let value: ResponseBodyOidcTokenClaims = { | `ownerId` | *string* | :heavy_check_mark: | N/A | | `project` | *string* | :heavy_check_mark: | N/A | | `projectId` | *string* | :heavy_check_mark: | N/A | -| `environment` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| `environment` | *string* | :heavy_check_mark: | N/A | +| `plan` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/responsebodyproject.md b/docs/models/responsebodyproject.md index 7d7acc504..b49e7f124 100644 --- a/docs/models/responsebodyproject.md +++ b/docs/models/responsebodyproject.md @@ -1,5 +1,7 @@ # ResponseBodyProject +The public project information associated with the deployment. + ## Example Usage ```typescript diff --git a/docs/models/responsebodyprojectsmetadata.md b/docs/models/responsebodyprojectsmetadata.md index 8461d699b..99770972c 100644 --- a/docs/models/responsebodyprojectsmetadata.md +++ b/docs/models/responsebodyprojectsmetadata.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { ResponseBodyProjectsMetadata } from "@vercel/sdk/models/getwebhooksop.js"; +import { ResponseBodyProjectsMetadata } from "@vercel/sdk/models/getalllogdrainsop.js"; let value: ResponseBodyProjectsMetadata = { id: "", @@ -13,9 +13,9 @@ let value: ResponseBodyProjectsMetadata = { ## 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 +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | +| `id` | *string* | :heavy_check_mark: | N/A | +| `name` | *string* | :heavy_check_mark: | N/A | +| `framework` | [models.GetAllLogDrainsResponseBodyFramework](../models/getalllogdrainsresponsebodyframework.md) | :heavy_minus_sign: | N/A | +| `latestDeployment` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/responsebodyreadystate.md b/docs/models/responsebodyreadystate.md index f579ce0e7..35de7aaa8 100644 --- a/docs/models/responsebodyreadystate.md +++ b/docs/models/responsebodyreadystate.md @@ -1,11 +1,13 @@ # ResponseBodyReadyState +The state of the deployment depending on the process of deploying, or if it is ready or in an error state + ## Example Usage ```typescript import { ResponseBodyReadyState } from "@vercel/sdk/models/getdeploymentop.js"; -let value: ResponseBodyReadyState = "BUILDING"; +let value: ResponseBodyReadyState = "READY"; ``` ## Values diff --git a/docs/models/responsebodysampling.md b/docs/models/responsebodysampling.md new file mode 100644 index 000000000..e6eb05d4e --- /dev/null +++ b/docs/models/responsebodysampling.md @@ -0,0 +1,21 @@ +# ResponseBodySampling + +## Example Usage + +```typescript +import { ResponseBodySampling } from "@vercel/sdk/models/createdrainop.js"; + +let value: ResponseBodySampling = { + type: "head_sampling", + rate: 5293.76, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `type` | [models.CreateDrainResponseBodyType](../models/createdrainresponsebodytype.md) | :heavy_check_mark: | N/A | +| `rate` | *number* | :heavy_check_mark: | N/A | +| `env` | [models.ResponseBodyEnv](../models/responsebodyenv.md) | :heavy_minus_sign: | N/A | +| `requestPath` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/responsebodyschemas.md b/docs/models/responsebodyschemas.md new file mode 100644 index 000000000..a601dd15b --- /dev/null +++ b/docs/models/responsebodyschemas.md @@ -0,0 +1,18 @@ +# ResponseBodySchemas + +## Example Usage + +```typescript +import { ResponseBodySchemas } from "@vercel/sdk/models/createdrainop.js"; + +let value: ResponseBodySchemas = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | +| `log` | [models.ResponseBodyLog](../models/responsebodylog.md) | :heavy_minus_sign: | N/A | +| `trace` | [models.Trace](../models/trace.md) | :heavy_minus_sign: | N/A | +| `analytics` | [models.ResponseBodyAnalytics](../models/responsebodyanalytics.md) | :heavy_minus_sign: | N/A | +| `speedInsights` | [models.CreateDrainResponseBodySpeedInsights](../models/createdrainresponsebodyspeedinsights.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/responsebodysource.md b/docs/models/responsebodysource.md index 42fbc0632..7c824a347 100644 --- a/docs/models/responsebodysource.md +++ b/docs/models/responsebodysource.md @@ -1,11 +1,13 @@ # ResponseBodySource +Where was the deployment created from + ## Example Usage ```typescript import { ResponseBodySource } from "@vercel/sdk/models/getdeploymentop.js"; -let value: ResponseBodySource = "git"; +let value: ResponseBodySource = "cli"; ``` ## Values diff --git a/docs/models/responsebodytarget.md b/docs/models/responsebodytarget.md index f086300c0..4fdb02f79 100644 --- a/docs/models/responsebodytarget.md +++ b/docs/models/responsebodytarget.md @@ -1,5 +1,7 @@ # ResponseBodyTarget +If defined, either `staging` if a staging alias in the format `..now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment. + ## Example Usage ```typescript diff --git a/docs/models/responsebodyteam.md b/docs/models/responsebodyteam.md index 7b5a21b75..27eabe270 100644 --- a/docs/models/responsebodyteam.md +++ b/docs/models/responsebodyteam.md @@ -1,5 +1,7 @@ # ResponseBodyTeam +The team that owns the deployment if any + ## Example Usage ```typescript diff --git a/docs/models/responsebodytrace.md b/docs/models/responsebodytrace.md new file mode 100644 index 000000000..4d4cdbbef --- /dev/null +++ b/docs/models/responsebodytrace.md @@ -0,0 +1,14 @@ +# ResponseBodyTrace + +## Example Usage + +```typescript +import { ResponseBodyTrace } from "@vercel/sdk/models/createdrainop.js"; + +let value: ResponseBodyTrace = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/results.md b/docs/models/results.md new file mode 100644 index 000000000..ea5e4eb3f --- /dev/null +++ b/docs/models/results.md @@ -0,0 +1,19 @@ +# Results + +## Example Usage + +```typescript +import { Results } from "@vercel/sdk/models/getbulkavailabilityop.js"; + +let value: Results = { + domain: "wrathful-puppet.net", + available: true, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `domain` | *string* | :heavy_check_mark: | N/A | +| `available` | *boolean* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/role.md b/docs/models/role.md index 830cd3dc5..9d29c00d8 100644 --- a/docs/models/role.md +++ b/docs/models/role.md @@ -1,11 +1,13 @@ # Role +The role used for the invitation + ## Example Usage ```typescript -import { Role } from "@vercel/sdk/models/team.js"; +import { Role } from "@vercel/sdk/models/invitedteammember.js"; -let value: Role = "DEVELOPER"; +let value: Role = "MEMBER"; ``` ## Values diff --git a/docs/models/routes1.md b/docs/models/routes1.md index 4443cd7ce..e8eac73c0 100644 --- a/docs/models/routes1.md +++ b/docs/models/routes1.md @@ -27,7 +27,7 @@ let value: Routes1 = { | `has` | *models.RoutesHas*[] | :heavy_minus_sign: | N/A | | `missing` | *models.Missing*[] | :heavy_minus_sign: | N/A | | `mitigate` | [models.RoutesMitigate](../models/routesmitigate.md) | :heavy_minus_sign: | N/A | -| `transforms` | [models.Transforms](../models/transforms.md)[] | :heavy_minus_sign: | N/A | +| `transforms` | [models.CreateDeploymentRoutesTransforms](../models/createdeploymentroutestransforms.md)[] | :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. | diff --git a/docs/models/rulegroups.md b/docs/models/rulegroups.md index 1e49df937..e68197dfe 100644 --- a/docs/models/rulegroups.md +++ b/docs/models/rulegroups.md @@ -15,4 +15,4 @@ let value: RuleGroups = { | Field | Type | Required | Description | | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | | `active` | *boolean* | :heavy_check_mark: | N/A | -| `action` | [models.UserEventPayload61Action](../models/usereventpayload61action.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| `action` | [models.UserEventPayload63Action](../models/usereventpayload63action.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/sampling.md b/docs/models/sampling.md new file mode 100644 index 000000000..4c84ae1b0 --- /dev/null +++ b/docs/models/sampling.md @@ -0,0 +1,21 @@ +# Sampling + +## Example Usage + +```typescript +import { Sampling } from "@vercel/sdk/models/createdrainop.js"; + +let value: Sampling = { + type: "", + rate: 1983.19, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | +| `type` | *string* | :heavy_check_mark: | N/A | +| `rate` | *number* | :heavy_check_mark: | Sampling rate from 0 to 1 (e.g., 0.1 for 10%) | +| `env` | [models.Env](../models/env.md) | :heavy_minus_sign: | Environment to apply sampling to | +| `requestPath` | *string* | :heavy_minus_sign: | Request path prefix to apply the sampling rule to | \ No newline at end of file diff --git a/docs/models/schemas.md b/docs/models/schemas.md new file mode 100644 index 000000000..a36d348eb --- /dev/null +++ b/docs/models/schemas.md @@ -0,0 +1,17 @@ +# Schemas + +## Example Usage + +```typescript +import { Schemas } from "@vercel/sdk/models/createdrainop.js"; + +let value: Schemas = { + version: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `version` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/scopesorigin.md b/docs/models/scopesorigin.md index 807ce946c..35bd01d7e 100644 --- a/docs/models/scopesorigin.md +++ b/docs/models/scopesorigin.md @@ -11,5 +11,5 @@ let value: ScopesOrigin = "bitbucket"; ## Values ```typescript -"saml" | "github" | "gitlab" | "bitbucket" | "email" | "manual" | "passkey" | "otp" | "sms" | "invite" | "google" | "app" +"saml" | "github" | "gitlab" | "bitbucket" | "email" | "manual" | "passkey" | "otp" | "sms" | "invite" | "google" | "apple" | "app" ``` \ No newline at end of file diff --git a/docs/models/secrets1.md b/docs/models/secrets1.md new file mode 100644 index 000000000..7e0caee82 --- /dev/null +++ b/docs/models/secrets1.md @@ -0,0 +1,21 @@ +# Secrets1 + +## Example Usage + +```typescript +import { Secrets1 } from "@vercel/sdk/models/updateresourceop.js"; + +let value: Secrets1 = { + 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 | +| `environmentOverrides` | [models.SecretsEnvironmentOverrides](../models/secretsenvironmentoverrides.md) | :heavy_minus_sign: | A map of environments to override values for the secret, used for setting different values across deployments in production, preview, and development environments. Note: the same value will be used for all deployments in the given environment. | \ No newline at end of file diff --git a/docs/models/secrets2.md b/docs/models/secrets2.md new file mode 100644 index 000000000..abdba17cc --- /dev/null +++ b/docs/models/secrets2.md @@ -0,0 +1,18 @@ +# Secrets2 + +## Example Usage + +```typescript +import { Secrets2 } from "@vercel/sdk/models/updateresourceop.js"; + +let value: Secrets2 = { + secrets: [], +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- | +| `secrets` | [models.SecretsSecrets](../models/secretssecrets.md)[] | :heavy_check_mark: | N/A | +| `partial` | *boolean* | :heavy_minus_sign: | If true, will only overwrite the provided secrets instead of replacing all secrets. | \ No newline at end of file diff --git a/docs/models/secretsenvironmentoverrides.md b/docs/models/secretsenvironmentoverrides.md new file mode 100644 index 000000000..b569122ca --- /dev/null +++ b/docs/models/secretsenvironmentoverrides.md @@ -0,0 +1,19 @@ +# SecretsEnvironmentOverrides + +A map of environments to override values for the secret, used for setting different values across deployments in production, preview, and development environments. Note: the same value will be used for all deployments in the given environment. + +## Example Usage + +```typescript +import { SecretsEnvironmentOverrides } from "@vercel/sdk/models/updateresourceop.js"; + +let value: SecretsEnvironmentOverrides = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------- | --------------------------------------- | --------------------------------------- | --------------------------------------- | +| `development` | *string* | :heavy_minus_sign: | Value used for development environment. | +| `preview` | *string* | :heavy_minus_sign: | Value used for preview environment. | +| `production` | *string* | :heavy_minus_sign: | Value used for production environment. | \ No newline at end of file diff --git a/docs/models/secretssecrets.md b/docs/models/secretssecrets.md new file mode 100644 index 000000000..b7b56680c --- /dev/null +++ b/docs/models/secretssecrets.md @@ -0,0 +1,21 @@ +# SecretsSecrets + +## Example Usage + +```typescript +import { SecretsSecrets } from "@vercel/sdk/models/updateresourceop.js"; + +let value: SecretsSecrets = { + 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 | +| `environmentOverrides` | [models.UpdateResourceSecretsMarketplaceEnvironmentOverrides](../models/updateresourcesecretsmarketplaceenvironmentoverrides.md) | :heavy_minus_sign: | A map of environments to override values for the secret, used for setting different values across deployments in production, preview, and development environments. Note: the same value will be used for all deployments in the given environment. | \ No newline at end of file diff --git a/docs/models/seventy.md b/docs/models/seventy.md index 429bdf6b8..de8bca938 100644 --- a/docs/models/seventy.md +++ b/docs/models/seventy.md @@ -8,28 +8,19 @@ The payload of the event, if requested. import { Seventy } from "@vercel/sdk/models/userevent.js"; let value: Seventy = { - viaGithub: false, - viaGitlab: true, - viaBitbucket: false, - viaGoogle: true, - viaSamlSso: true, - viaPasskey: false, + projectId: "", + fromDeploymentId: "", + toDeploymentId: "", + projectName: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | -| `userAgent` | [models.UserAgent](../models/useragent.md) | :heavy_minus_sign: | N/A | -| `geolocation` | [models.Geolocation](../models/geolocation.md) | :heavy_minus_sign: | N/A | -| `viaGithub` | *boolean* | :heavy_check_mark: | N/A | -| `viaGitlab` | *boolean* | :heavy_check_mark: | N/A | -| `viaBitbucket` | *boolean* | :heavy_check_mark: | N/A | -| `viaGoogle` | *boolean* | :heavy_check_mark: | N/A | -| `viaSamlSso` | *boolean* | :heavy_check_mark: | N/A | -| `viaPasskey` | *boolean* | :heavy_check_mark: | N/A | -| `ssoType` | *string* | :heavy_minus_sign: | N/A | -| `env` | *string* | :heavy_minus_sign: | N/A | -| `os` | *string* | :heavy_minus_sign: | N/A | -| `username` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `fromDeploymentId` | *string* | :heavy_check_mark: | N/A | +| `toDeploymentId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | +| `reason` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/seventyeight.md b/docs/models/seventyeight.md index f4881630e..3777113e2 100644 --- a/docs/models/seventyeight.md +++ b/docs/models/seventyeight.md @@ -8,17 +8,7 @@ The payload of the event, if requested. import { SeventyEight } from "@vercel/sdk/models/userevent.js"; let value: SeventyEight = { - projectId: "", - projectAnalytics: { - id: "", - disabledAt: 9651.51, - enabledAt: 1242.8, - }, - prevProjectAnalytics: { - id: "", - disabledAt: 1378.58, - enabledAt: 7641.68, - }, + plan: "", }; ``` @@ -26,7 +16,15 @@ let value: SeventyEight = { | Field | Type | Required | Description | | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | -| `projectName` | *string* | :heavy_minus_sign: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectAnalytics` | [models.ProjectAnalytics](../models/projectanalytics.md) | :heavy_check_mark: | N/A | -| `prevProjectAnalytics` | [models.PrevProjectAnalytics](../models/prevprojectanalytics.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `plan` | *string* | :heavy_check_mark: | N/A | +| `removedUsers` | Record | :heavy_minus_sign: | N/A | +| `prevPlan` | *string* | :heavy_minus_sign: | N/A | +| `priorPlan` | *string* | :heavy_minus_sign: | N/A | +| `isDowngrade` | *boolean* | :heavy_minus_sign: | N/A | +| `userAgent` | *string* | :heavy_minus_sign: | N/A | +| `isReactivate` | *boolean* | :heavy_minus_sign: | N/A | +| `isTrialUpgrade` | *boolean* | :heavy_minus_sign: | N/A | +| `automated` | *boolean* | :heavy_minus_sign: | N/A | +| `reason` | *string* | :heavy_minus_sign: | N/A | +| `timestamp` | *number* | :heavy_minus_sign: | N/A | +| `removedMemberCount` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/seventyfive.md b/docs/models/seventyfive.md index ebef34ccb..f6223f873 100644 --- a/docs/models/seventyfive.md +++ b/docs/models/seventyfive.md @@ -8,7 +8,7 @@ The payload of the event, if requested. import { SeventyFive } from "@vercel/sdk/models/userevent.js"; let value: SeventyFive = { - projectName: "", + drainUrl: null, }; ``` @@ -16,4 +16,5 @@ let value: SeventyFive = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| `drainUrl` | *string* | :heavy_check_mark: | N/A | +| `integrationName` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/seventyfour.md b/docs/models/seventyfour.md index c9d46621a..cd5a421c2 100644 --- a/docs/models/seventyfour.md +++ b/docs/models/seventyfour.md @@ -8,9 +8,7 @@ The payload of the event, if requested. import { SeventyFour } from "@vercel/sdk/models/userevent.js"; let value: SeventyFour = { - projectId: "", - toDeploymentId: "", - projectName: "", + logDrainUrl: "https://sparse-hunt.net", }; ``` @@ -18,6 +16,5 @@ let value: SeventyFour = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `toDeploymentId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| `logDrainUrl` | *string* | :heavy_check_mark: | N/A | +| `integrationName` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/seventynine.md b/docs/models/seventynine.md index 636e26ddb..0ddb782d4 100644 --- a/docs/models/seventynine.md +++ b/docs/models/seventynine.md @@ -8,15 +8,14 @@ The payload of the event, if requested. import { SeventyNine } from "@vercel/sdk/models/userevent.js"; let value: SeventyNine = { - projectId: "", + projectName: "", + branch: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------- | ---------------------- | ---------------------- | ---------------------- | -| `projectName` | *string* | :heavy_minus_sign: | N/A | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `projectAnalytics` | Record | :heavy_minus_sign: | N/A | -| `prevProjectAnalytics` | Record | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `projectName` | *string* | :heavy_check_mark: | N/A | +| `branch` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/seventyone.md b/docs/models/seventyone.md index 9d2a3d1e8..08450cc63 100644 --- a/docs/models/seventyone.md +++ b/docs/models/seventyone.md @@ -8,7 +8,15 @@ The payload of the event, if requested. import { SeventyOne } from "@vercel/sdk/models/userevent.js"; let value: SeventyOne = { - logDrainUrl: "https://superior-gripper.biz/", + integrationId: "", + configurationId: "", + integrationSlug: "", + integrationName: "", + ownerId: "", + confirmedScopes: [ + "", + "", + ], }; ``` @@ -16,5 +24,10 @@ let value: SeventyOne = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `logDrainUrl` | *string* | :heavy_check_mark: | N/A | -| `integrationName` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| `integrationId` | *string* | :heavy_check_mark: | N/A | +| `configurationId` | *string* | :heavy_check_mark: | N/A | +| `integrationSlug` | *string* | :heavy_check_mark: | N/A | +| `integrationName` | *string* | :heavy_check_mark: | N/A | +| `ownerId` | *string* | :heavy_check_mark: | N/A | +| `projectIds` | *string*[] | :heavy_minus_sign: | N/A | +| `confirmedScopes` | *string*[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/seventyseven.md b/docs/models/seventyseven.md index c21b09f61..4de4a3c5b 100644 --- a/docs/models/seventyseven.md +++ b/docs/models/seventyseven.md @@ -9,7 +9,6 @@ import { SeventySeven } from "@vercel/sdk/models/userevent.js"; let value: SeventySeven = { projectName: "", - branch: "", }; ``` @@ -17,5 +16,4 @@ let value: SeventySeven = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `projectName` | *string* | :heavy_check_mark: | N/A | -| `branch` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/seventysix.md b/docs/models/seventysix.md index bedef9fa7..01f402877 100644 --- a/docs/models/seventysix.md +++ b/docs/models/seventysix.md @@ -8,18 +8,16 @@ The payload of the event, if requested. import { SeventySix } from "@vercel/sdk/models/userevent.js"; let value: SeventySix = { - plan: "", + projectId: "", + toDeploymentId: "", + projectName: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | -| `plan` | *string* | :heavy_check_mark: | N/A | -| `removedUsers` | Record | :heavy_minus_sign: | N/A | -| `priorPlan` | *string* | :heavy_minus_sign: | N/A | -| `isDowngrade` | *boolean* | :heavy_minus_sign: | N/A | -| `userAgent` | *string* | :heavy_minus_sign: | N/A | -| `isReactivate` | *boolean* | :heavy_minus_sign: | N/A | -| `isTrialUpgrade` | *boolean* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `toDeploymentId` | *string* | :heavy_check_mark: | N/A | +| `projectName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/seventythree.md b/docs/models/seventythree.md index d89e96207..50ff48d3f 100644 --- a/docs/models/seventythree.md +++ b/docs/models/seventythree.md @@ -8,7 +8,7 @@ The payload of the event, if requested. import { SeventyThree } from "@vercel/sdk/models/userevent.js"; let value: SeventyThree = { - drainUrl: "https://puny-descendant.name/", + logDrainUrl: "https://puny-descendant.name/", }; ``` @@ -16,5 +16,5 @@ let value: SeventyThree = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `drainUrl` | *string* | :heavy_check_mark: | N/A | +| `logDrainUrl` | *string* | :heavy_check_mark: | N/A | | `integrationName` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/seventytwo.md b/docs/models/seventytwo.md index c9e5a0191..f148a029a 100644 --- a/docs/models/seventytwo.md +++ b/docs/models/seventytwo.md @@ -8,13 +8,30 @@ The payload of the event, if requested. import { SeventyTwo } from "@vercel/sdk/models/userevent.js"; let value: SeventyTwo = { - logDrainUrl: "https://mysterious-carboxyl.biz/", + viaGithub: true, + viaGitlab: false, + viaBitbucket: true, + viaGoogle: true, + viaApple: true, + viaSamlSso: false, + viaPasskey: true, }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `logDrainUrl` | *string* | :heavy_check_mark: | N/A | -| `integrationName` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | ---------------------------------------------- | +| `userAgent` | [models.UserAgent](../models/useragent.md) | :heavy_minus_sign: | N/A | +| `geolocation` | [models.Geolocation](../models/geolocation.md) | :heavy_minus_sign: | N/A | +| `viaGithub` | *boolean* | :heavy_check_mark: | N/A | +| `viaGitlab` | *boolean* | :heavy_check_mark: | N/A | +| `viaBitbucket` | *boolean* | :heavy_check_mark: | N/A | +| `viaGoogle` | *boolean* | :heavy_check_mark: | N/A | +| `viaApple` | *boolean* | :heavy_check_mark: | N/A | +| `viaSamlSso` | *boolean* | :heavy_check_mark: | N/A | +| `viaPasskey` | *boolean* | :heavy_check_mark: | N/A | +| `ssoType` | *string* | :heavy_minus_sign: | N/A | +| `env` | *string* | :heavy_minus_sign: | N/A | +| `os` | *string* | :heavy_minus_sign: | N/A | +| `username` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/siftroute.md b/docs/models/siftroute.md index 2c48b3585..d8606eedd 100644 --- a/docs/models/siftroute.md +++ b/docs/models/siftroute.md @@ -14,4 +14,4 @@ let value: SiftRoute = { | Field | Type | Required | Description | | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -| `name` | [models.UserEventPayload64Name](../models/usereventpayload64name.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `name` | [models.UserEventPayload66Name](../models/usereventpayload66name.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/sixty.md b/docs/models/sixty.md index 6b28c32cd..2a20f0a7d 100644 --- a/docs/models/sixty.md +++ b/docs/models/sixty.md @@ -9,16 +9,21 @@ import { Sixty } from "@vercel/sdk/models/userevent.js"; let value: Sixty = { projectId: "", - rulesetName: "", - active: true, + restore: true, + configVersion: 5742.5, + configChangeCount: 5282.21, + configChanges: [ + {}, + ], }; ``` ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `rulesetName` | *string* | :heavy_check_mark: | N/A | -| `active` | *boolean* | :heavy_check_mark: | N/A | -| `action` | [models.UserEventPayloadAction](../models/usereventpayloadaction.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `restore` | *boolean* | :heavy_check_mark: | N/A | +| `configVersion` | *number* | :heavy_check_mark: | N/A | +| `configChangeCount` | *number* | :heavy_check_mark: | N/A | +| `configChanges` | [models.ConfigChanges](../models/configchanges.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/sixtyeight.md b/docs/models/sixtyeight.md index ee9cc1e53..5cb27bc05 100644 --- a/docs/models/sixtyeight.md +++ b/docs/models/sixtyeight.md @@ -8,10 +8,12 @@ The payload of the event, if requested. import { SixtyEight } from "@vercel/sdk/models/userevent.js"; let value: SixtyEight = { - projectId: "", - fromDeploymentId: "", - toDeploymentId: "", - projectName: "", + integrationId: "", + configurationId: "", + integrationSlug: "", + integrationName: "", + ownerId: "", + billingPlanId: "", }; ``` @@ -19,8 +21,10 @@ let value: SixtyEight = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `fromDeploymentId` | *string* | :heavy_check_mark: | N/A | -| `toDeploymentId` | *string* | :heavy_check_mark: | N/A | -| `projectName` | *string* | :heavy_check_mark: | N/A | -| `reason` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| `integrationId` | *string* | :heavy_check_mark: | N/A | +| `configurationId` | *string* | :heavy_check_mark: | N/A | +| `integrationSlug` | *string* | :heavy_check_mark: | N/A | +| `integrationName` | *string* | :heavy_check_mark: | N/A | +| `ownerId` | *string* | :heavy_check_mark: | N/A | +| `billingPlanId` | *string* | :heavy_check_mark: | N/A | +| `billingPlanName` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/sixtyfive.md b/docs/models/sixtyfive.md index 0e3f3c5db..a9d1a8d6b 100644 --- a/docs/models/sixtyfive.md +++ b/docs/models/sixtyfive.md @@ -8,20 +8,16 @@ The payload of the event, if requested. import { SixtyFive } from "@vercel/sdk/models/userevent.js"; let value: SixtyFive = { - configurations: [ - { - integrationId: "", - configurationId: "", - integrationSlug: "", - }, - ], - ownerId: "", + integrationId: "", + integrationSlug: "", + integrationName: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | -| `configurations` | [models.Configurations](../models/configurations.md)[] | :heavy_check_mark: | N/A | -| `ownerId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `integrationId` | *string* | :heavy_check_mark: | N/A | +| `integrationSlug` | *string* | :heavy_check_mark: | N/A | +| `integrationName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/sixtyfour.md b/docs/models/sixtyfour.md index e26439f93..9ec807d6c 100644 --- a/docs/models/sixtyfour.md +++ b/docs/models/sixtyfour.md @@ -8,37 +8,17 @@ The payload of the event, if requested. import { SixtyFour } from "@vercel/sdk/models/userevent.js"; let value: SixtyFour = { - userId: "", - integrationId: "", - configurationId: "", - integrationSlug: "", - newOwner: { - billing: { - plan: "enterprise", - }, - blocked: 2726.5, - createdAt: 3574.57, - deploymentSecret: "", - email: "Otha.Fay@yahoo.com", - id: "", - platformVersion: 6228.58, - stagingPrefix: "", - sysToken: "", - type: "user", - username: "Donny95", - updatedAt: 9978.55, - version: "northstar", - }, + projectId: "", + attackModeEnabled: false, }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | -| `userId` | *string* | :heavy_check_mark: | N/A | -| `integrationId` | *string* | :heavy_check_mark: | N/A | -| `configurationId` | *string* | :heavy_check_mark: | N/A | -| `integrationSlug` | *string* | :heavy_check_mark: | N/A | -| `integrationName` | *string* | :heavy_minus_sign: | N/A | -| `newOwner` | [models.NewOwner](../models/newowner.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------- | --------------------------- | --------------------------- | --------------------------- | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `prevAttackModeEnabled` | *boolean* | :heavy_minus_sign: | N/A | +| `prevAttackModeActiveUntil` | *number* | :heavy_minus_sign: | N/A | +| `attackModeEnabled` | *boolean* | :heavy_check_mark: | N/A | +| `attackModeActiveUntil` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/sixtynine.md b/docs/models/sixtynine.md index 934b535fb..e90b39358 100644 --- a/docs/models/sixtynine.md +++ b/docs/models/sixtynine.md @@ -13,9 +13,6 @@ let value: SixtyNine = { integrationSlug: "", integrationName: "", ownerId: "", - confirmedScopes: [ - "", - ], }; ``` @@ -28,5 +25,4 @@ let value: SixtyNine = { | `integrationSlug` | *string* | :heavy_check_mark: | N/A | | `integrationName` | *string* | :heavy_check_mark: | N/A | | `ownerId` | *string* | :heavy_check_mark: | N/A | -| `projectIds` | *string*[] | :heavy_minus_sign: | N/A | -| `confirmedScopes` | *string*[] | :heavy_check_mark: | N/A | \ No newline at end of file +| `projectIds` | *string*[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/sixtyone.md b/docs/models/sixtyone.md index 44d76ffba..dc9a7ee45 100644 --- a/docs/models/sixtyone.md +++ b/docs/models/sixtyone.md @@ -9,15 +9,15 @@ import { SixtyOne } from "@vercel/sdk/models/userevent.js"; let value: SixtyOne = { projectId: "", - rulesetName: "", - ruleGroups: {}, + scope: "", + source: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `rulesetName` | *string* | :heavy_check_mark: | N/A | -| `ruleGroups` | Record | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `scope` | *string* | :heavy_check_mark: | N/A | +| `source` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/sixtyseven.md b/docs/models/sixtyseven.md index bbc608d17..9854b1138 100644 --- a/docs/models/sixtyseven.md +++ b/docs/models/sixtyseven.md @@ -8,21 +8,20 @@ The payload of the event, if requested. import { SixtySeven } from "@vercel/sdk/models/userevent.js"; let value: SixtySeven = { - integrationId: "", - configurationId: "", - integrationSlug: "", - integrationName: "", + configurations: [ + { + integrationId: "", + configurationId: "", + integrationSlug: "", + }, + ], ownerId: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `integrationId` | *string* | :heavy_check_mark: | N/A | -| `configurationId` | *string* | :heavy_check_mark: | N/A | -| `integrationSlug` | *string* | :heavy_check_mark: | N/A | -| `integrationName` | *string* | :heavy_check_mark: | N/A | -| `ownerId` | *string* | :heavy_check_mark: | N/A | -| `projectIds` | *string*[] | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | +| `configurations` | [models.Configurations](../models/configurations.md)[] | :heavy_check_mark: | N/A | +| `ownerId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/sixtysix.md b/docs/models/sixtysix.md index 021724f68..01e6c28fe 100644 --- a/docs/models/sixtysix.md +++ b/docs/models/sixtysix.md @@ -8,23 +8,37 @@ The payload of the event, if requested. import { SixtySix } from "@vercel/sdk/models/userevent.js"; let value: SixtySix = { + userId: "", integrationId: "", configurationId: "", integrationSlug: "", - integrationName: "", - ownerId: "", - billingPlanId: "", + newOwner: { + billing: { + plan: "enterprise", + }, + blocked: 3027.85, + createdAt: 9498.55, + deploymentSecret: "", + email: "Gail_Bergnaum58@gmail.com", + id: "", + platformVersion: 6684.95, + stagingPrefix: "", + sysToken: "", + type: "user", + username: "Sheldon_McKenzie", + updatedAt: 4178.38, + version: "northstar", + }, }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `integrationId` | *string* | :heavy_check_mark: | N/A | -| `configurationId` | *string* | :heavy_check_mark: | N/A | -| `integrationSlug` | *string* | :heavy_check_mark: | N/A | -| `integrationName` | *string* | :heavy_check_mark: | N/A | -| `ownerId` | *string* | :heavy_check_mark: | N/A | -| `billingPlanId` | *string* | :heavy_check_mark: | N/A | -| `billingPlanName` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | +| `userId` | *string* | :heavy_check_mark: | N/A | +| `integrationId` | *string* | :heavy_check_mark: | N/A | +| `configurationId` | *string* | :heavy_check_mark: | N/A | +| `integrationSlug` | *string* | :heavy_check_mark: | N/A | +| `integrationName` | *string* | :heavy_minus_sign: | N/A | +| `newOwner` | [models.NewOwner](../models/newowner.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/sixtythree.md b/docs/models/sixtythree.md index d63a858d3..e47e48812 100644 --- a/docs/models/sixtythree.md +++ b/docs/models/sixtythree.md @@ -8,16 +8,20 @@ The payload of the event, if requested. import { SixtyThree } from "@vercel/sdk/models/userevent.js"; let value: SixtyThree = { - integrationId: "", - integrationSlug: "", - integrationName: "", + projectId: "", + rulesetName: "", + ruleGroups: { + "key": { + active: false, + }, + }, }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `integrationId` | *string* | :heavy_check_mark: | N/A | -| `integrationSlug` | *string* | :heavy_check_mark: | N/A | -| `integrationName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `rulesetName` | *string* | :heavy_check_mark: | N/A | +| `ruleGroups` | Record | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/sixtytwo.md b/docs/models/sixtytwo.md index 04c93d697..22ff14d7c 100644 --- a/docs/models/sixtytwo.md +++ b/docs/models/sixtytwo.md @@ -9,16 +9,16 @@ import { SixtyTwo } from "@vercel/sdk/models/userevent.js"; let value: SixtyTwo = { projectId: "", - attackModeEnabled: false, + rulesetName: "", + active: false, }; ``` ## Fields -| Field | Type | Required | Description | -| --------------------------- | --------------------------- | --------------------------- | --------------------------- | -| `projectId` | *string* | :heavy_check_mark: | N/A | -| `prevAttackModeEnabled` | *boolean* | :heavy_minus_sign: | N/A | -| `prevAttackModeActiveUntil` | *number* | :heavy_minus_sign: | N/A | -| `attackModeEnabled` | *boolean* | :heavy_check_mark: | N/A | -| `attackModeActiveUntil` | *number* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `projectId` | *string* | :heavy_check_mark: | N/A | +| `rulesetName` | *string* | :heavy_check_mark: | N/A | +| `active` | *boolean* | :heavy_check_mark: | N/A | +| `action` | [models.UserEventPayloadAction](../models/usereventpayloadaction.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/source1.md b/docs/models/source1.md index fbd67d687..20fdb721a 100644 --- a/docs/models/source1.md +++ b/docs/models/source1.md @@ -1,17 +1,27 @@ # Source1 -## Example Usage + +## Supported Types + +### `models.One1` ```typescript -import { Source1 } from "@vercel/sdk/models/getintegrationlogdrainsop.js"; +const value: models.One1 = { + externalResourceId: "", +}; +``` + +### `models.One2` -let value: Source1 = { - kind: "self-served", +```typescript +const value: models.One2 = { + resourceId: "", }; ``` -## Fields +### `models.One3` + +```typescript +const value: models.One3 = {}; +``` -| Field | Type | Required | Description | -| -------------------------------- | -------------------------------- | -------------------------------- | -------------------------------- | -| `kind` | [models.Kind](../models/kind.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/source2.md b/docs/models/source2.md index d77b6e63e..b4b5cd551 100644 --- a/docs/models/source2.md +++ b/docs/models/source2.md @@ -3,21 +3,13 @@ ## Example Usage ```typescript -import { Source2 } from "@vercel/sdk/models/getintegrationlogdrainsop.js"; +import { Source2 } from "@vercel/sdk/models/createdrainop.js"; -let value: Source2 = { - kind: "integration", - integrationId: "", - integrationConfigurationId: "", -}; +let value: Source2 = {}; ``` ## Fields -| Field | Type | Required | Description | -| -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -| `kind` | [models.SourceKind](../models/sourcekind.md) | :heavy_check_mark: | N/A | -| `resourceId` | *string* | :heavy_minus_sign: | N/A | -| `externalResourceId` | *string* | :heavy_minus_sign: | N/A | -| `integrationId` | *string* | :heavy_check_mark: | N/A | -| `integrationConfigurationId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `kind` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/sources.md b/docs/models/sources.md index fab7f33a6..2e3b81343 100644 --- a/docs/models/sources.md +++ b/docs/models/sources.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Sources } from "@vercel/sdk/models/createlogdrainop.js"; +import { Sources } from "@vercel/sdk/models/createconfigurablelogdrainop.js"; let value: Sources = "edge"; ``` diff --git a/docs/models/staticips.md b/docs/models/staticips.md index 6d834d0bd..bf668bc57 100644 --- a/docs/models/staticips.md +++ b/docs/models/staticips.md @@ -14,5 +14,6 @@ let value: StaticIps = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | +| `builds` | *boolean* | :heavy_minus_sign: | N/A | | `enabled` | *boolean* | :heavy_check_mark: | N/A | | `regions` | *string*[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/staticipsenabled.md b/docs/models/staticipsenabled.md new file mode 100644 index 000000000..e401cb158 --- /dev/null +++ b/docs/models/staticipsenabled.md @@ -0,0 +1,17 @@ +# StaticIpsEnabled + +Filter results by projects with Static IPs enabled + +## Example Usage + +```typescript +import { StaticIpsEnabled } from "@vercel/sdk/models/getprojectsop.js"; + +let value: StaticIpsEnabled = "1"; +``` + +## Values + +```typescript +"0" | "1" +``` \ No newline at end of file diff --git a/docs/models/steps.md b/docs/models/steps.md index b0c292116..ea611a633 100644 --- a/docs/models/steps.md +++ b/docs/models/steps.md @@ -13,8 +13,8 @@ let value: Steps = { ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | -| `title` | *string* | :heavy_check_mark: | N/A | -| `content` | *string* | :heavy_check_mark: | N/A | -| `actions` | [models.CreateIntegrationStoreDirectActions](../models/createintegrationstoredirectactions.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | +| `title` | *string* | :heavy_check_mark: | N/A | +| `content` | *string* | :heavy_check_mark: | N/A | +| `actions` | [models.CreateIntegrationStoreDirectIntegrationsActions](../models/createintegrationstoredirectintegrationsactions.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/tagids.md b/docs/models/tagids.md index dfb26cf0f..34a6212e5 100644 --- a/docs/models/tagids.md +++ b/docs/models/tagids.md @@ -5,11 +5,11 @@ ```typescript import { TagIds } from "@vercel/sdk/models/getconfigurationsop.js"; -let value: TagIds = "tag_ai"; +let value: TagIds = "tag_agents"; ``` ## Values ```typescript -"tag_ai" | "tag_analytics" | "tag_authentication" | "tag_cms" | "tag_code_repository" | "tag_commerce" | "tag_databases" | "tag_dev_tools" | "tag_experimentation" | "tag_flags" | "tag_logging" | "tag_messaging" | "tag_monitoring" | "tag_observability" | "tag_payments" | "tag_performance" | "tag_productivity" | "tag_searching" | "tag_security" | "tag_testing" | "tag_video" | "tag_workflow" +"tag_agents" | "tag_ai" | "tag_analytics" | "tag_authentication" | "tag_cms" | "tag_code_repository" | "tag_code_review" | "tag_code_security" | "tag_code_testing" | "tag_commerce" | "tag_databases" | "tag_dev_tools" | "tag_experimentation" | "tag_flags" | "tag_logging" | "tag_messaging" | "tag_monitoring" | "tag_observability" | "tag_payments" | "tag_performance" | "tag_productivity" | "tag_searching" | "tag_security" | "tag_support_agent" | "tag_testing" | "tag_video" | "tag_web_automation" | "tag_workflow" ``` \ No newline at end of file diff --git a/docs/models/inviteusertoteamteampermissions.md b/docs/models/teammembershipteampermissions.md similarity index 51% rename from docs/models/inviteusertoteamteampermissions.md rename to docs/models/teammembershipteampermissions.md index 500ace07c..a1acc11f8 100644 --- a/docs/models/inviteusertoteamteampermissions.md +++ b/docs/models/teammembershipteampermissions.md @@ -1,13 +1,11 @@ -# InviteUserToTeamTeamPermissions - -The team permissions of the user +# TeamMembershipTeamPermissions ## Example Usage ```typescript -import { InviteUserToTeamTeamPermissions } from "@vercel/sdk/models/inviteusertoteamop.js"; +import { TeamMembershipTeamPermissions } from "@vercel/sdk/models/team.js"; -let value: InviteUserToTeamTeamPermissions = "CreateProject"; +let value: TeamMembershipTeamPermissions = "V0Viewer"; ``` ## Values diff --git a/docs/models/teammembershipteamroles.md b/docs/models/teammembershipteamroles.md new file mode 100644 index 000000000..2acff0b22 --- /dev/null +++ b/docs/models/teammembershipteamroles.md @@ -0,0 +1,15 @@ +# TeamMembershipTeamRoles + +## Example Usage + +```typescript +import { TeamMembershipTeamRoles } from "@vercel/sdk/models/team.js"; + +let value: TeamMembershipTeamRoles = "CONTRIBUTOR"; +``` + +## Values + +```typescript +"OWNER" | "MEMBER" | "DEVELOPER" | "SECURITY" | "BILLING" | "VIEWER" | "VIEWER_FOR_PLUS" | "CONTRIBUTOR" +``` \ No newline at end of file diff --git a/docs/models/teampermissions.md b/docs/models/teampermissions.md index 23b5771f9..450dd7c3a 100644 --- a/docs/models/teampermissions.md +++ b/docs/models/teampermissions.md @@ -1,11 +1,13 @@ # TeamPermissions +The team permissions of the user + ## Example Usage ```typescript -import { TeamPermissions } from "@vercel/sdk/models/team.js"; +import { TeamPermissions } from "@vercel/sdk/models/invitedteammember.js"; -let value: TeamPermissions = "FullProductionDeployment"; +let value: TeamPermissions = "CreateProject"; ``` ## Values diff --git a/docs/models/teamrole.md b/docs/models/teamrole.md index de2a95067..fa83edeb2 100644 --- a/docs/models/teamrole.md +++ b/docs/models/teamrole.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { TeamRole } from "@vercel/sdk/models/listaccessgroupmembersop.js"; +import { TeamRole } from "@vercel/sdk/models/team.js"; let value: TeamRole = "VIEWER"; ``` diff --git a/docs/models/teamroles.md b/docs/models/teamroles.md index 7ad00216a..29dcb60f8 100644 --- a/docs/models/teamroles.md +++ b/docs/models/teamroles.md @@ -1,11 +1,13 @@ # TeamRoles +The team roles of the user + ## Example Usage ```typescript -import { TeamRoles } from "@vercel/sdk/models/team.js"; +import { TeamRoles } from "@vercel/sdk/models/invitedteammember.js"; -let value: TeamRoles = "VIEWER_FOR_PLUS"; +let value: TeamRoles = "MEMBER"; ``` ## Values diff --git a/docs/models/teams.md b/docs/models/teams.md index 1a62f46a5..1a86f336f 100644 --- a/docs/models/teams.md +++ b/docs/models/teams.md @@ -22,10 +22,10 @@ let value: Teams = { | `created` | *number* | :heavy_check_mark: | N/A | | `createdAt` | *number* | :heavy_check_mark: | N/A | | `teamId` | *string* | :heavy_check_mark: | N/A | -| `role` | [models.UserEventPayload64Role](../models/usereventpayload64role.md) | :heavy_check_mark: | N/A | +| `role` | [models.UserEventPayload66Role](../models/usereventpayload66role.md) | :heavy_check_mark: | N/A | +| `teamRoles` | [models.PayloadTeamRoles](../models/payloadteamroles.md)[] | :heavy_minus_sign: | N/A | +| `teamPermissions` | [models.PayloadTeamPermissions](../models/payloadteampermissions.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 | -| `teamRoles` | [models.PayloadTeamRoles](../models/payloadteamroles.md)[] | :heavy_minus_sign: | N/A | -| `teamPermissions` | [models.PayloadTeamPermissions](../models/payloadteampermissions.md)[] | :heavy_minus_sign: | N/A | | `joinedFrom` | [models.UserEventPayloadJoinedFrom](../models/usereventpayloadjoinedfrom.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/testdraindelivery.md b/docs/models/testdraindelivery.md new file mode 100644 index 000000000..d21424c34 --- /dev/null +++ b/docs/models/testdraindelivery.md @@ -0,0 +1,35 @@ +# TestDrainDelivery + + +## Supported Types + +### `models.TestDrainDelivery1` + +```typescript +const value: models.TestDrainDelivery1 = { + type: "", + endpoint: "", + encoding: "json", + headers: { + "key": "", + }, +}; +``` + +### `models.TestDrainDelivery2` + +```typescript +const value: models.TestDrainDelivery2 = { + type: "", + endpoint: { + traces: "", + }, + encoding: "proto", + headers: { + "key": "", + "key1": "", + "key2": "", + }, +}; +``` + diff --git a/docs/models/testdraindelivery1.md b/docs/models/testdraindelivery1.md new file mode 100644 index 000000000..2598cb1c1 --- /dev/null +++ b/docs/models/testdraindelivery1.md @@ -0,0 +1,27 @@ +# TestDrainDelivery1 + +## Example Usage + +```typescript +import { TestDrainDelivery1 } from "@vercel/sdk/models/testdrainop.js"; + +let value: TestDrainDelivery1 = { + type: "", + endpoint: "", + encoding: "json", + headers: { + "key": "", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `type` | *string* | :heavy_check_mark: | N/A | +| `endpoint` | *string* | :heavy_check_mark: | N/A | +| `compression` | [models.TestDrainDeliveryCompression](../models/testdraindeliverycompression.md) | :heavy_minus_sign: | N/A | +| `encoding` | [models.TestDrainDeliveryEncoding](../models/testdraindeliveryencoding.md) | :heavy_check_mark: | N/A | +| `headers` | Record | :heavy_check_mark: | N/A | +| `secret` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/testdraindelivery2.md b/docs/models/testdraindelivery2.md new file mode 100644 index 000000000..a3b844ab7 --- /dev/null +++ b/docs/models/testdraindelivery2.md @@ -0,0 +1,30 @@ +# TestDrainDelivery2 + +## Example Usage + +```typescript +import { TestDrainDelivery2 } from "@vercel/sdk/models/testdrainop.js"; + +let value: TestDrainDelivery2 = { + type: "", + endpoint: { + traces: "", + }, + encoding: "proto", + headers: { + "key": "", + "key1": "", + "key2": "", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `type` | *string* | :heavy_check_mark: | N/A | +| `endpoint` | *models.TestDrainDeliveryEndpoint* | :heavy_check_mark: | N/A | +| `encoding` | [models.TestDrainDeliveryDrainsEncoding](../models/testdraindeliverydrainsencoding.md) | :heavy_check_mark: | N/A | +| `headers` | Record | :heavy_check_mark: | N/A | +| `secret` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/testdraindeliverycompression.md b/docs/models/testdraindeliverycompression.md new file mode 100644 index 000000000..de60d5cbf --- /dev/null +++ b/docs/models/testdraindeliverycompression.md @@ -0,0 +1,15 @@ +# TestDrainDeliveryCompression + +## Example Usage + +```typescript +import { TestDrainDeliveryCompression } from "@vercel/sdk/models/testdrainop.js"; + +let value: TestDrainDeliveryCompression = "none"; +``` + +## Values + +```typescript +"gzip" | "none" +``` \ No newline at end of file diff --git a/docs/models/testdraindeliverydrainsencoding.md b/docs/models/testdraindeliverydrainsencoding.md new file mode 100644 index 000000000..444224da2 --- /dev/null +++ b/docs/models/testdraindeliverydrainsencoding.md @@ -0,0 +1,15 @@ +# TestDrainDeliveryDrainsEncoding + +## Example Usage + +```typescript +import { TestDrainDeliveryDrainsEncoding } from "@vercel/sdk/models/testdrainop.js"; + +let value: TestDrainDeliveryDrainsEncoding = "json"; +``` + +## Values + +```typescript +"proto" | "json" +``` \ No newline at end of file diff --git a/docs/models/testdraindeliveryencoding.md b/docs/models/testdraindeliveryencoding.md new file mode 100644 index 000000000..ff92c6a44 --- /dev/null +++ b/docs/models/testdraindeliveryencoding.md @@ -0,0 +1,15 @@ +# TestDrainDeliveryEncoding + +## Example Usage + +```typescript +import { TestDrainDeliveryEncoding } from "@vercel/sdk/models/testdrainop.js"; + +let value: TestDrainDeliveryEncoding = "json"; +``` + +## Values + +```typescript +"json" | "ndjson" +``` \ No newline at end of file diff --git a/docs/models/testdraindeliveryendpoint.md b/docs/models/testdraindeliveryendpoint.md new file mode 100644 index 000000000..a24fb8eb3 --- /dev/null +++ b/docs/models/testdraindeliveryendpoint.md @@ -0,0 +1,13 @@ +# TestDrainDeliveryEndpoint + + +## Supported Types + +### `models.TestDrainEndpoint1` + +```typescript +const value: models.TestDrainEndpoint1 = { + traces: "", +}; +``` + diff --git a/docs/models/testdrainendpoint1.md b/docs/models/testdrainendpoint1.md new file mode 100644 index 000000000..21423434a --- /dev/null +++ b/docs/models/testdrainendpoint1.md @@ -0,0 +1,17 @@ +# TestDrainEndpoint1 + +## Example Usage + +```typescript +import { TestDrainEndpoint1 } from "@vercel/sdk/models/testdrainop.js"; + +let value: TestDrainEndpoint1 = { + traces: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `traces` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/testdrainrequest.md b/docs/models/testdrainrequest.md new file mode 100644 index 000000000..67803eb63 --- /dev/null +++ b/docs/models/testdrainrequest.md @@ -0,0 +1,20 @@ +# TestDrainRequest + +## Example Usage + +```typescript +import { TestDrainRequest } from "@vercel/sdk/models/testdrainop.js"; + +let value: TestDrainRequest = { + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + slug: "my-team-url-slug", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | ---------------------------------------------------------------- | +| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | team_1a2b3c4d5e6f7g8h9i0j1k2l | +| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | my-team-url-slug | +| `requestBody` | [models.TestDrainRequestBody](../models/testdrainrequestbody.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/testdrainrequestbody.md b/docs/models/testdrainrequestbody.md new file mode 100644 index 000000000..c02ec60e1 --- /dev/null +++ b/docs/models/testdrainrequestbody.md @@ -0,0 +1,26 @@ +# TestDrainRequestBody + +## Example Usage + +```typescript +import { TestDrainRequestBody } from "@vercel/sdk/models/testdrainop.js"; + +let value: TestDrainRequestBody = { + schemas: {}, + delivery: { + type: "", + endpoint: { + traces: "", + }, + encoding: "proto", + headers: {}, + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | +| `schemas` | Record | :heavy_check_mark: | N/A | +| `delivery` | *models.TestDrainDelivery* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/testdrainresponsebody.md b/docs/models/testdrainresponsebody.md new file mode 100644 index 000000000..8d06033eb --- /dev/null +++ b/docs/models/testdrainresponsebody.md @@ -0,0 +1,21 @@ +# TestDrainResponseBody + + +## Supported Types + +### `models.TestDrainResponseBody1` + +```typescript +const value: models.TestDrainResponseBody1 = {}; +``` + +### `models.TestDrainResponseBody2` + +```typescript +const value: models.TestDrainResponseBody2 = { + status: "", + error: "", + endpoint: "", +}; +``` + diff --git a/docs/models/testdrainresponsebody1.md b/docs/models/testdrainresponsebody1.md new file mode 100644 index 000000000..26ee538ea --- /dev/null +++ b/docs/models/testdrainresponsebody1.md @@ -0,0 +1,14 @@ +# TestDrainResponseBody1 + +## Example Usage + +```typescript +import { TestDrainResponseBody1 } from "@vercel/sdk/models/testdrainop.js"; + +let value: TestDrainResponseBody1 = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/testdrainresponsebody2.md b/docs/models/testdrainresponsebody2.md new file mode 100644 index 000000000..2eb6d0763 --- /dev/null +++ b/docs/models/testdrainresponsebody2.md @@ -0,0 +1,21 @@ +# TestDrainResponseBody2 + +## Example Usage + +```typescript +import { TestDrainResponseBody2 } from "@vercel/sdk/models/testdrainop.js"; + +let value: TestDrainResponseBody2 = { + status: "", + error: "", + endpoint: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `status` | *string* | :heavy_check_mark: | N/A | +| `error` | *string* | :heavy_check_mark: | N/A | +| `endpoint` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/testdrainschemas.md b/docs/models/testdrainschemas.md new file mode 100644 index 000000000..8c129e48f --- /dev/null +++ b/docs/models/testdrainschemas.md @@ -0,0 +1,17 @@ +# TestDrainSchemas + +## Example Usage + +```typescript +import { TestDrainSchemas } from "@vercel/sdk/models/testdrainop.js"; + +let value: TestDrainSchemas = { + version: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `version` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/thirty.md b/docs/models/thirty.md index 2a21de4e7..a50fbcb0c 100644 --- a/docs/models/thirty.md +++ b/docs/models/thirty.md @@ -8,25 +8,12 @@ The payload of the event, if requested. import { Thirty } from "@vercel/sdk/models/userevent.js"; let value: Thirty = { - team: { - id: "", - name: "", - }, - configuration: { - id: "", - }, - project: { - id: "", - }, + suffix: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | -| `team` | [models.PayloadTeam](../models/payloadteam.md) | :heavy_check_mark: | N/A | -| `configuration` | [models.PayloadConfiguration](../models/payloadconfiguration.md) | :heavy_check_mark: | N/A | -| `project` | [models.UserEventPayloadProject](../models/usereventpayloadproject.md) | :heavy_check_mark: | N/A | -| `buildsEnabled` | *boolean* | :heavy_minus_sign: | N/A | -| `passive` | *boolean* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `suffix` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/thirtyeight.md b/docs/models/thirtyeight.md index d393c96e9..015590e58 100644 --- a/docs/models/thirtyeight.md +++ b/docs/models/thirtyeight.md @@ -8,14 +8,24 @@ The payload of the event, if requested. import { ThirtyEight } from "@vercel/sdk/models/userevent.js"; let value: ThirtyEight = { - url: "https://limping-goodwill.name/", + project: { + name: "", + }, + job: { + deployHook: { + createdAt: 3393.49, + id: "", + name: "", + ref: "", + }, + state: "Massachusetts", + }, }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | -| `url` | *string* | :heavy_check_mark: | N/A | -| `oldTeam` | [models.UserEventPayloadOldTeam](../models/usereventpayloadoldteam.md) | :heavy_minus_sign: | N/A | -| `newTeam` | [models.UserEventPayloadNewTeam](../models/usereventpayloadnewteam.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `project` | [models.UserEventPayload38Project](../models/usereventpayload38project.md) | :heavy_check_mark: | N/A | +| `job` | [models.Job](../models/job.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/thirtyfive.md b/docs/models/thirtyfive.md index 128692967..f3c850162 100644 --- a/docs/models/thirtyfive.md +++ b/docs/models/thirtyfive.md @@ -8,8 +8,7 @@ The payload of the event, if requested. import { ThirtyFive } from "@vercel/sdk/models/userevent.js"; let value: ThirtyFive = { - bitbucketEmail: "", - bitbucketLogin: "", + githubLogin: "", }; ``` @@ -17,6 +16,4 @@ let value: ThirtyFive = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `bitbucketEmail` | *string* | :heavy_check_mark: | N/A | -| `bitbucketLogin` | *string* | :heavy_check_mark: | N/A | -| `bitbucketName` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| `githubLogin` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/thirtyfour.md b/docs/models/thirtyfour.md index 5cc39622f..d26f3e9e2 100644 --- a/docs/models/thirtyfour.md +++ b/docs/models/thirtyfour.md @@ -8,15 +8,21 @@ The payload of the event, if requested. import { ThirtyFour } from "@vercel/sdk/models/userevent.js"; let value: ThirtyFour = { - gitlabLogin: "", - gitlabEmail: "", + team: { + id: "", + name: "", + }, + configuration: { + id: "", + }, + newName: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `gitlabLogin` | *string* | :heavy_check_mark: | N/A | -| `gitlabEmail` | *string* | :heavy_check_mark: | N/A | -| `gitlabName` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `team` | [models.UserEventPayload34Team](../models/usereventpayload34team.md) | :heavy_check_mark: | N/A | +| `configuration` | [models.UserEventPayload34Configuration](../models/usereventpayload34configuration.md) | :heavy_check_mark: | N/A | +| `newName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/thirtynine.md b/docs/models/thirtynine.md index 6efb64f10..11171dee9 100644 --- a/docs/models/thirtynine.md +++ b/docs/models/thirtynine.md @@ -8,25 +8,23 @@ The payload of the event, if requested. import { ThirtyNine } from "@vercel/sdk/models/userevent.js"; let value: ThirtyNine = { - deployment: { - id: "", - name: "", - url: "https://handy-negotiation.org/", - meta: { - "key": "", - "key1": "", - "key2": "", - }, - }, - deploymentId: "", - url: "https://inborn-doorpost.name/", + url: "https://handy-negotiation.org/", }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | -| `deployment` | [models.UserEventPayloadDeployment](../models/usereventpayloaddeployment.md) | :heavy_check_mark: | N/A | -| `deploymentId` | *string* | :heavy_check_mark: | N/A | -| `url` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | +| `name` | *string* | :heavy_minus_sign: | N/A | +| `alias` | *string*[] | :heavy_minus_sign: | N/A | +| `target` | *string* | :heavy_minus_sign: | N/A | +| `deployment` | [models.PayloadDeployment](../models/payloaddeployment.md) | :heavy_minus_sign: | N/A | +| `url` | *string* | :heavy_check_mark: | N/A | +| `forced` | *boolean* | :heavy_minus_sign: | N/A | +| `deploymentId` | *string* | :heavy_minus_sign: | N/A | +| `plan` | *string* | :heavy_minus_sign: | N/A | +| `project` | *string* | :heavy_minus_sign: | N/A | +| `projectId` | *string* | :heavy_minus_sign: | N/A | +| `regions` | *string*[] | :heavy_minus_sign: | N/A | +| `type` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/thirtyone.md b/docs/models/thirtyone.md index 2143b6ca4..4ecb69d7d 100644 --- a/docs/models/thirtyone.md +++ b/docs/models/thirtyone.md @@ -23,8 +23,9 @@ let value: ThirtyOne = { ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | -| `team` | [models.UserEventPayloadTeam](../models/usereventpayloadteam.md) | :heavy_check_mark: | N/A | -| `configuration` | [models.UserEventPayloadConfiguration](../models/usereventpayloadconfiguration.md) | :heavy_check_mark: | N/A | -| `project` | [models.UserEventPayload31Project](../models/usereventpayload31project.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `team` | [models.UserEventPayload31Team](../models/usereventpayload31team.md) | :heavy_check_mark: | N/A | +| `configuration` | [models.Configuration](../models/configuration.md) | :heavy_check_mark: | N/A | +| `project` | [models.PayloadProject](../models/payloadproject.md) | :heavy_check_mark: | N/A | +| `buildsEnabled` | *boolean* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/thirtyseven.md b/docs/models/thirtyseven.md index 0862d9597..20e5265ea 100644 --- a/docs/models/thirtyseven.md +++ b/docs/models/thirtyseven.md @@ -8,23 +8,15 @@ The payload of the event, if requested. import { ThirtySeven } from "@vercel/sdk/models/userevent.js"; let value: ThirtySeven = { - url: "https://wide-eyed-birdcage.biz/", + bitbucketEmail: "", + bitbucketLogin: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | -| `name` | *string* | :heavy_minus_sign: | N/A | -| `alias` | *string*[] | :heavy_minus_sign: | N/A | -| `target` | *string* | :heavy_minus_sign: | N/A | -| `deployment` | [models.PayloadDeployment](../models/payloaddeployment.md) | :heavy_minus_sign: | N/A | -| `url` | *string* | :heavy_check_mark: | N/A | -| `forced` | *boolean* | :heavy_minus_sign: | N/A | -| `deploymentId` | *string* | :heavy_minus_sign: | N/A | -| `plan` | *string* | :heavy_minus_sign: | N/A | -| `project` | *string* | :heavy_minus_sign: | N/A | -| `projectId` | *string* | :heavy_minus_sign: | N/A | -| `regions` | *string*[] | :heavy_minus_sign: | N/A | -| `type` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `bitbucketEmail` | *string* | :heavy_check_mark: | N/A | +| `bitbucketLogin` | *string* | :heavy_check_mark: | N/A | +| `bitbucketName` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/thirtysix.md b/docs/models/thirtysix.md index 6301fcec1..bd82161c1 100644 --- a/docs/models/thirtysix.md +++ b/docs/models/thirtysix.md @@ -8,24 +8,15 @@ The payload of the event, if requested. import { ThirtySix } from "@vercel/sdk/models/userevent.js"; let value: ThirtySix = { - project: { - name: "", - }, - job: { - deployHook: { - createdAt: 3393.49, - id: "", - name: "", - ref: "", - }, - state: "Wisconsin", - }, + gitlabLogin: "", + gitlabEmail: "", }; ``` ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -| `project` | [models.UserEventPayload36Project](../models/usereventpayload36project.md) | :heavy_check_mark: | N/A | -| `job` | [models.Job](../models/job.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `gitlabLogin` | *string* | :heavy_check_mark: | N/A | +| `gitlabEmail` | *string* | :heavy_check_mark: | N/A | +| `gitlabName` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/thirtythree.md b/docs/models/thirtythree.md index b5dca1f10..36b926f23 100644 --- a/docs/models/thirtythree.md +++ b/docs/models/thirtythree.md @@ -8,12 +8,23 @@ The payload of the event, if requested. import { ThirtyThree } from "@vercel/sdk/models/userevent.js"; let value: ThirtyThree = { - githubLogin: "", + team: { + id: "", + name: "", + }, + configuration: { + id: "", + }, + project: { + id: "", + }, }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `githubLogin` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `team` | [models.UserEventPayloadTeam](../models/usereventpayloadteam.md) | :heavy_check_mark: | N/A | +| `configuration` | [models.UserEventPayloadConfiguration](../models/usereventpayloadconfiguration.md) | :heavy_check_mark: | N/A | +| `project` | [models.UserEventPayload33Project](../models/usereventpayload33project.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/thirtytwo.md b/docs/models/thirtytwo.md index b0c886de6..45155827d 100644 --- a/docs/models/thirtytwo.md +++ b/docs/models/thirtytwo.md @@ -15,14 +15,18 @@ let value: ThirtyTwo = { configuration: { id: "", }, - newName: "", + project: { + id: "", + }, }; ``` ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -| `team` | [models.UserEventPayload32Team](../models/usereventpayload32team.md) | :heavy_check_mark: | N/A | -| `configuration` | [models.UserEventPayload32Configuration](../models/usereventpayload32configuration.md) | :heavy_check_mark: | N/A | -| `newName` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | +| `team` | [models.PayloadTeam](../models/payloadteam.md) | :heavy_check_mark: | N/A | +| `configuration` | [models.PayloadConfiguration](../models/payloadconfiguration.md) | :heavy_check_mark: | N/A | +| `project` | [models.UserEventPayloadProject](../models/usereventpayloadproject.md) | :heavy_check_mark: | N/A | +| `buildsEnabled` | *boolean* | :heavy_minus_sign: | N/A | +| `passive` | *boolean* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/tlds.md b/docs/models/tlds.md new file mode 100644 index 000000000..ea53cfe8e --- /dev/null +++ b/docs/models/tlds.md @@ -0,0 +1,19 @@ +# Tlds + +## Example Usage + +```typescript +import { Tlds } from "@vercel/sdk/models/getorderop.js"; + +let value: Tlds = { + tldName: "", + endsAt: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `tldName` | *string* | :heavy_check_mark: | N/A | +| `endsAt` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/trace.md b/docs/models/trace.md new file mode 100644 index 000000000..aba74e63d --- /dev/null +++ b/docs/models/trace.md @@ -0,0 +1,14 @@ +# Trace + +## Example Usage + +```typescript +import { Trace } from "@vercel/sdk/models/createdrainop.js"; + +let value: Trace = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/transferindomaincontactinformation.md b/docs/models/transferindomaincontactinformation.md new file mode 100644 index 000000000..5800df10a --- /dev/null +++ b/docs/models/transferindomaincontactinformation.md @@ -0,0 +1,36 @@ +# TransferInDomainContactInformation + +## Example Usage + +```typescript +import { TransferInDomainContactInformation } from "@vercel/sdk/models/transferindomainop.js"; + +let value: TransferInDomainContactInformation = { + firstName: "Kirstin", + lastName: "Ledner", + email: "Anthony61@gmail.com", + phone: "279-247-7310 x844", + address1: "", + city: "Dorotheaburgh", + state: "Illinois", + zip: "81774", + country: "Samoa", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------- | --------------------------------------- | --------------------------------------- | --------------------------------------- | +| `firstName` | *string* | :heavy_check_mark: | a non empty string | +| `lastName` | *string* | :heavy_check_mark: | a non empty string | +| `email` | *string* | :heavy_check_mark: | a non empty string | +| `phone` | *string* | :heavy_check_mark: | A valid E.164 phone number | +| `address1` | *string* | :heavy_check_mark: | a non empty string | +| `address2` | *string* | :heavy_minus_sign: | a non empty string | +| `city` | *string* | :heavy_check_mark: | a non empty string | +| `state` | *string* | :heavy_check_mark: | a non empty string | +| `zip` | *string* | :heavy_check_mark: | a non empty string | +| `country` | *string* | :heavy_check_mark: | A valid ISO 3166-1 alpha-2 country code | +| `companyName` | *string* | :heavy_minus_sign: | a non empty string | +| `fax` | *string* | :heavy_minus_sign: | A valid E.164 phone number | \ No newline at end of file diff --git a/docs/models/transferindomaindomainsregistrarresponsebody.md b/docs/models/transferindomaindomainsregistrarresponsebody.md new file mode 100644 index 000000000..9c77b3a1b --- /dev/null +++ b/docs/models/transferindomaindomainsregistrarresponsebody.md @@ -0,0 +1,27 @@ +# TransferInDomainDomainsRegistrarResponseBody + +NotAuthorizedForScope + + +## Supported Types + +### `models.NotAuthorizedForScope` + +```typescript +const value: models.NotAuthorizedForScope = { + status: 4853.56, + code: "not_authorized_for_scope", + message: "", +}; +``` + +### `models.Forbidden` + +```typescript +const value: models.Forbidden = { + status: 7108.3, + code: "forbidden", + message: "", +}; +``` + diff --git a/docs/models/transferindomainlinks.md b/docs/models/transferindomainlinks.md new file mode 100644 index 000000000..4c1cf654e --- /dev/null +++ b/docs/models/transferindomainlinks.md @@ -0,0 +1,19 @@ +# TransferInDomainLinks + +## Example Usage + +```typescript +import { TransferInDomainLinks } from "@vercel/sdk/models/transferindomainop.js"; + +let value: TransferInDomainLinks = { + href: "", + method: "PUT", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `href` | *string* | :heavy_check_mark: | N/A | +| `method` | [models.TransferInDomainMethod](../models/transferindomainmethod.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/transferindomainmethod.md b/docs/models/transferindomainmethod.md new file mode 100644 index 000000000..50a4d0d88 --- /dev/null +++ b/docs/models/transferindomainmethod.md @@ -0,0 +1,15 @@ +# TransferInDomainMethod + +## Example Usage + +```typescript +import { TransferInDomainMethod } from "@vercel/sdk/models/transferindomainop.js"; + +let value: TransferInDomainMethod = "PATCH"; +``` + +## Values + +```typescript +"GET" | "POST" | "PUT" | "DELETE" | "PATCH" +``` \ No newline at end of file diff --git a/docs/models/inviteusertoteamrequest.md b/docs/models/transferindomainrequest.md similarity index 59% rename from docs/models/inviteusertoteamrequest.md rename to docs/models/transferindomainrequest.md index 274cc33e4..74084ae20 100644 --- a/docs/models/inviteusertoteamrequest.md +++ b/docs/models/transferindomainrequest.md @@ -1,20 +1,29 @@ -# InviteUserToTeamRequest +# TransferInDomainRequest ## Example Usage ```typescript -import { InviteUserToTeamRequest } from "@vercel/sdk/models/inviteusertoteamop.js"; +import { TransferInDomainRequest } from "@vercel/sdk/models/transferindomainop.js"; -let value: InviteUserToTeamRequest = { +let value: TransferInDomainRequest = { + domain: "rewarding-scorn.com", teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", requestBody: { - email: "john@example.com", - projects: [ - { - projectId: "prj_ndlgr43fadlPyCtREAqxxdyFK", - role: "ADMIN", - }, - ], + authCode: "", + autoRenew: false, + years: 1056.14, + expectedPrice: 1321.24, + contactInformation: { + firstName: "Paige", + lastName: "Dicki", + email: "Hailie.Kihn88@gmail.com", + phone: "1-337-543-3908 x05676", + address1: "", + city: "Palm Desert", + state: "New Jersey", + zip: "34043", + country: "Malta", + }, }, }; ``` @@ -23,5 +32,6 @@ let value: InviteUserToTeamRequest = { | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -| `teamId` | *string* | :heavy_check_mark: | N/A | team_1a2b3c4d5e6f7g8h9i0j1k2l | -| `requestBody` | [models.InviteUserToTeamRequestBody](../models/inviteusertoteamrequestbody.md) | :heavy_check_mark: | N/A | | \ No newline at end of file +| `domain` | *string* | :heavy_check_mark: | N/A | | +| `teamId` | *string* | :heavy_minus_sign: | N/A | team_1a2b3c4d5e6f7g8h9i0j1k2l | +| `requestBody` | [models.TransferInDomainRequestBody](../models/transferindomainrequestbody.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/transferindomainrequestbody.md b/docs/models/transferindomainrequestbody.md new file mode 100644 index 000000000..1e873b2d7 --- /dev/null +++ b/docs/models/transferindomainrequestbody.md @@ -0,0 +1,35 @@ +# TransferInDomainRequestBody + +## Example Usage + +```typescript +import { TransferInDomainRequestBody } from "@vercel/sdk/models/transferindomainop.js"; + +let value: TransferInDomainRequestBody = { + authCode: "", + autoRenew: true, + years: 4262.75, + expectedPrice: 2936.87, + contactInformation: { + firstName: "Paige", + lastName: "Dicki", + email: "Hailie.Kihn88@gmail.com", + phone: "1-337-543-3908 x05676", + address1: "", + city: "Palm Desert", + state: "New Jersey", + zip: "34043", + country: "Malta", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `authCode` | *string* | :heavy_check_mark: | N/A | +| `autoRenew` | *boolean* | :heavy_check_mark: | Whether the domain should be auto-renewed before it expires. This can be configured later through the Vercel Dashboard or the [Update auto-renew for a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/update-auto-renew-for-a-domain) endpoint. | +| `years` | *number* | :heavy_check_mark: | The number of years to renew the domain for once it is transferred in. This must be a valid number of transfer years for the TLD. | +| `expectedPrice` | *number* | :heavy_check_mark: | The expected price for the domain. Use the [Get price data for a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/get-price-data-for-a-domain) endpoint to retrieve the price data for a domain. | +| `contactInformation` | [models.TransferInDomainContactInformation](../models/transferindomaincontactinformation.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/transferindomainresponsebody.md b/docs/models/transferindomainresponsebody.md new file mode 100644 index 000000000..59925198e --- /dev/null +++ b/docs/models/transferindomainresponsebody.md @@ -0,0 +1,21 @@ +# TransferInDomainResponseBody + +Success + +## Example Usage + +```typescript +import { TransferInDomainResponseBody } from "@vercel/sdk/models/transferindomainop.js"; + +let value: TransferInDomainResponseBody = { + orderId: "", + links: {}, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `orderId` | *string* | :heavy_check_mark: | N/A | +| `links` | Record | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/transferrequest1.md b/docs/models/transferrequest1.md index 2df32b80e..0adc598cc 100644 --- a/docs/models/transferrequest1.md +++ b/docs/models/transferrequest1.md @@ -19,18 +19,18 @@ let value: TransferRequest1 = { ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | -| `kind` | [models.GetConfigurationTransferRequestKind](../models/getconfigurationtransferrequestkind.md) | :heavy_check_mark: | N/A | -| `metadata` | Record | :heavy_minus_sign: | N/A | -| `billingPlan` | [models.TransferRequestBillingPlan](../models/transferrequestbillingplan.md) | :heavy_minus_sign: | N/A | -| `requestId` | *string* | :heavy_check_mark: | N/A | -| `transferId` | *string* | :heavy_check_mark: | N/A | -| `requester` | [models.Requester](../models/requester.md) | :heavy_check_mark: | N/A | -| `createdAt` | *number* | :heavy_check_mark: | N/A | -| `expiresAt` | *number* | :heavy_check_mark: | N/A | -| `discardedAt` | *number* | :heavy_minus_sign: | N/A | -| `discardedBy` | *string* | :heavy_minus_sign: | N/A | -| `approvedAt` | *number* | :heavy_minus_sign: | N/A | -| `approvedBy` | *string* | :heavy_minus_sign: | N/A | -| `authorizationId` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `kind` | [models.TransferRequestKind](../models/transferrequestkind.md) | :heavy_check_mark: | N/A | +| `metadata` | Record | :heavy_minus_sign: | N/A | +| `billingPlan` | [models.TransferRequestBillingPlan](../models/transferrequestbillingplan.md) | :heavy_minus_sign: | N/A | +| `requestId` | *string* | :heavy_check_mark: | N/A | +| `transferId` | *string* | :heavy_check_mark: | N/A | +| `requester` | [models.Requester](../models/requester.md) | :heavy_check_mark: | N/A | +| `createdAt` | *number* | :heavy_check_mark: | N/A | +| `expiresAt` | *number* | :heavy_check_mark: | N/A | +| `discardedAt` | *number* | :heavy_minus_sign: | N/A | +| `discardedBy` | *string* | :heavy_minus_sign: | N/A | +| `approvedAt` | *number* | :heavy_minus_sign: | N/A | +| `approvedBy` | *string* | :heavy_minus_sign: | N/A | +| `authorizationId` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/transferrequest2.md b/docs/models/transferrequest2.md index 8d2d96401..25676dbbd 100644 --- a/docs/models/transferrequest2.md +++ b/docs/models/transferrequest2.md @@ -19,16 +19,16 @@ let value: TransferRequest2 = { ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | -| `kind` | [models.TransferRequestKind](../models/transferrequestkind.md) | :heavy_check_mark: | N/A | -| `requestId` | *string* | :heavy_check_mark: | N/A | -| `transferId` | *string* | :heavy_check_mark: | N/A | -| `requester` | [models.TransferRequestRequester](../models/transferrequestrequester.md) | :heavy_check_mark: | N/A | -| `createdAt` | *number* | :heavy_check_mark: | N/A | -| `expiresAt` | *number* | :heavy_check_mark: | N/A | -| `discardedAt` | *number* | :heavy_minus_sign: | N/A | -| `discardedBy` | *string* | :heavy_minus_sign: | N/A | -| `approvedAt` | *number* | :heavy_minus_sign: | N/A | -| `approvedBy` | *string* | :heavy_minus_sign: | N/A | -| `authorizationId` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `kind` | [models.GetConfigurationTransferRequestKind](../models/getconfigurationtransferrequestkind.md) | :heavy_check_mark: | N/A | +| `requestId` | *string* | :heavy_check_mark: | N/A | +| `transferId` | *string* | :heavy_check_mark: | N/A | +| `requester` | [models.TransferRequestRequester](../models/transferrequestrequester.md) | :heavy_check_mark: | N/A | +| `createdAt` | *number* | :heavy_check_mark: | N/A | +| `expiresAt` | *number* | :heavy_check_mark: | N/A | +| `discardedAt` | *number* | :heavy_minus_sign: | N/A | +| `discardedBy` | *string* | :heavy_minus_sign: | N/A | +| `approvedAt` | *number* | :heavy_minus_sign: | N/A | +| `approvedBy` | *string* | :heavy_minus_sign: | N/A | +| `authorizationId` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/transferrequestkind.md b/docs/models/transferrequestkind.md index 76ca3d60f..3a587cd9c 100644 --- a/docs/models/transferrequestkind.md +++ b/docs/models/transferrequestkind.md @@ -5,11 +5,11 @@ ```typescript import { TransferRequestKind } from "@vercel/sdk/models/getconfigurationop.js"; -let value: TransferRequestKind = "transfer-from-marketplace"; +let value: TransferRequestKind = "transfer-to-marketplace"; ``` ## Values ```typescript -"transfer-from-marketplace" +"transfer-to-marketplace" ``` \ No newline at end of file diff --git a/docs/models/transforms.md b/docs/models/transforms.md index 0ecd08cf0..ce98fed63 100644 --- a/docs/models/transforms.md +++ b/docs/models/transforms.md @@ -3,22 +3,15 @@ ## Example Usage ```typescript -import { Transforms } from "@vercel/sdk/models/createdeploymentop.js"; +import { Transforms } from "@vercel/sdk/models/createdrainop.js"; let value: Transforms = { - type: "request.headers", - op: "set", - target: { - key: "", - }, + id: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | -| `type` | [models.RoutesType](../models/routestype.md) | :heavy_check_mark: | N/A | -| `op` | [models.CreateDeploymentRoutesOp](../models/createdeploymentroutesop.md) | :heavy_check_mark: | N/A | -| `target` | [models.RoutesTarget](../models/routestarget.md) | :heavy_check_mark: | N/A | -| `args` | *models.Args* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `id` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/twentyeight.md b/docs/models/twentyeight.md index 2d94bbe0f..7752ae06c 100644 --- a/docs/models/twentyeight.md +++ b/docs/models/twentyeight.md @@ -16,4 +16,5 @@ let value: TwentyEight = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | +| `reason` | *string* | :heavy_minus_sign: | N/A | | `suffix` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/twentynine.md b/docs/models/twentynine.md index 80374707a..3924c5ba6 100644 --- a/docs/models/twentynine.md +++ b/docs/models/twentynine.md @@ -8,24 +8,14 @@ The payload of the event, if requested. import { TwentyNine } from "@vercel/sdk/models/userevent.js"; let value: TwentyNine = { - team: { - id: "", - name: "", - }, - configuration: { - id: "", - }, - project: { - id: "", - }, + status: "", + suffix: "", }; ``` ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -| `team` | [models.UserEventPayload29Team](../models/usereventpayload29team.md) | :heavy_check_mark: | N/A | -| `configuration` | [models.Configuration](../models/configuration.md) | :heavy_check_mark: | N/A | -| `project` | [models.PayloadProject](../models/payloadproject.md) | :heavy_check_mark: | N/A | -| `buildsEnabled` | *boolean* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `status` | *string* | :heavy_check_mark: | N/A | +| `suffix` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/twentyseven.md b/docs/models/twentyseven.md index 291386bf8..e53f80e93 100644 --- a/docs/models/twentyseven.md +++ b/docs/models/twentyseven.md @@ -7,15 +7,14 @@ The payload of the event, if requested. ```typescript import { TwentySeven } from "@vercel/sdk/models/userevent.js"; -let value: TwentySeven = { - status: "", - suffix: "", -}; +let value: TwentySeven = {}; ``` ## Fields | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `status` | *string* | :heavy_check_mark: | N/A | -| `suffix` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| `projectId` | *string* | :heavy_minus_sign: | N/A | +| `projectName` | *string* | :heavy_minus_sign: | N/A | +| `certId` | *string* | :heavy_minus_sign: | N/A | +| `origin` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/twentysix.md b/docs/models/twentysix.md index 003514ad3..be1e7221e 100644 --- a/docs/models/twentysix.md +++ b/docs/models/twentysix.md @@ -7,14 +7,14 @@ The payload of the event, if requested. ```typescript import { TwentySix } from "@vercel/sdk/models/userevent.js"; -let value: TwentySix = { - suffix: "", -}; +let value: TwentySix = {}; ``` ## Fields | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `reason` | *string* | :heavy_minus_sign: | N/A | -| `suffix` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| `projectId` | *string* | :heavy_minus_sign: | N/A | +| `projectName` | *string* | :heavy_minus_sign: | N/A | +| `target` | *string*[] | :heavy_minus_sign: | N/A | +| `updated` | *boolean* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/uioptions2.md b/docs/models/uioptions2.md index e77d97d6c..2e6b29803 100644 --- a/docs/models/uioptions2.md +++ b/docs/models/uioptions2.md @@ -6,7 +6,7 @@ import { UiOptions2 } from "@vercel/sdk/models/getconfigurationproductsop.js"; let value: UiOptions2 = { - atBRANDAt543472: {}, + atBRANDAt649501: {}, }; ``` @@ -14,4 +14,4 @@ let value: UiOptions2 = { | Field | Type | Required | Description | | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | -| `atBRANDAt543472` | [models.UiOptionsAtBRANDAt543472](../models/uioptionsatbrandat543472.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `atBRANDAt649501` | [models.UiOptionsAtBRANDAt649501](../models/uioptionsatbrandat649501.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/uioptions3.md b/docs/models/uioptions3.md index fe700b0b1..6bfa93dcf 100644 --- a/docs/models/uioptions3.md +++ b/docs/models/uioptions3.md @@ -7,7 +7,7 @@ import { UiOptions3 } from "@vercel/sdk/models/getconfigurationproductsop.js"; let value: UiOptions3 = { value: { - atBRANDAt543472: {}, + atBRANDAt649501: {}, }, }; ``` diff --git a/docs/models/uioptionsatbrandat649501.md b/docs/models/uioptionsatbrandat649501.md new file mode 100644 index 000000000..da4605cb1 --- /dev/null +++ b/docs/models/uioptionsatbrandat649501.md @@ -0,0 +1,14 @@ +# UiOptionsAtBRANDAt649501 + +## Example Usage + +```typescript +import { UiOptionsAtBRANDAt649501 } from "@vercel/sdk/models/getconfigurationproductsop.js"; + +let value: UiOptionsAtBRANDAt649501 = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/uioptionsatbrandat8486.md b/docs/models/uioptionsatbrandat8795.md similarity index 60% rename from docs/models/uioptionsatbrandat8486.md rename to docs/models/uioptionsatbrandat8795.md index 1d9d8af36..2dbc4dd2d 100644 --- a/docs/models/uioptionsatbrandat8486.md +++ b/docs/models/uioptionsatbrandat8795.md @@ -1,11 +1,11 @@ -# UiOptionsAtBRANDAt8486 +# UiOptionsAtBRANDAt8795 ## Example Usage ```typescript -import { UiOptionsAtBRANDAt8486 } from "@vercel/sdk/models/createintegrationstoredirectop.js"; +import { UiOptionsAtBRANDAt8795 } from "@vercel/sdk/models/createintegrationstoredirectop.js"; -let value: UiOptionsAtBRANDAt8486 = {}; +let value: UiOptionsAtBRANDAt8795 = {}; ``` ## Fields diff --git a/docs/models/uioptionsvalue.md b/docs/models/uioptionsvalue.md index 0507c10f5..f035f7afc 100644 --- a/docs/models/uioptionsvalue.md +++ b/docs/models/uioptionsvalue.md @@ -6,7 +6,7 @@ import { UiOptionsValue } from "@vercel/sdk/models/getconfigurationproductsop.js"; let value: UiOptionsValue = { - atBRANDAt543472: {}, + atBRANDAt649501: {}, }; ``` @@ -14,4 +14,4 @@ let value: UiOptionsValue = { | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | -| `atBRANDAt543472` | [models.GetConfigurationProductsUiOptionsIntegrationsAtBRANDAt543472](../models/getconfigurationproductsuioptionsintegrationsatbrandat543472.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `atBRANDAt649501` | [models.GetConfigurationProductsUiOptionsIntegrationsAtBRANDAt649501](../models/getconfigurationproductsuioptionsintegrationsatbrandat649501.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/unlinksharedenvvariablerequest.md b/docs/models/unlinksharedenvvariablerequest.md new file mode 100644 index 000000000..56d14df0b --- /dev/null +++ b/docs/models/unlinksharedenvvariablerequest.md @@ -0,0 +1,23 @@ +# UnlinkSharedEnvVariableRequest + +## Example Usage + +```typescript +import { UnlinkSharedEnvVariableRequest } from "@vercel/sdk/models/unlinksharedenvvariableop.js"; + +let value: UnlinkSharedEnvVariableRequest = { + id: "", + projectId: "", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + slug: "my-team-url-slug", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | The unique ID for the Shared Environment Variable to unlink from the project. | | +| `projectId` | *string* | :heavy_check_mark: | N/A | | +| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | team_1a2b3c4d5e6f7g8h9i0j1k2l | +| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | my-team-url-slug | \ No newline at end of file diff --git a/docs/models/unlinksharedenvvariableresponsebody.md b/docs/models/unlinksharedenvvariableresponsebody.md new file mode 100644 index 000000000..031bdbbea --- /dev/null +++ b/docs/models/unlinksharedenvvariableresponsebody.md @@ -0,0 +1,17 @@ +# UnlinkSharedEnvVariableResponseBody + +## Example Usage + +```typescript +import { UnlinkSharedEnvVariableResponseBody } from "@vercel/sdk/models/unlinksharedenvvariableop.js"; + +let value: UnlinkSharedEnvVariableResponseBody = { + id: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `id` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/updated.md b/docs/models/updated.md new file mode 100644 index 000000000..37beeab03 --- /dev/null +++ b/docs/models/updated.md @@ -0,0 +1,51 @@ +# Updated + +## Example Usage + +```typescript +import { Updated } from "@vercel/sdk/models/updatesharedenvvariableop.js"; + +let value: Updated = { + created: new Date("2021-02-10T13:11:49.180Z"), + key: "my-api-key", + ownerId: "team_LLHUOMOoDlqOp8wPE4kFo9pE", + id: "env_XCG7t7AIHuO2SBA8667zNUiM", + createdBy: "2qDDuGFTWXBLDNnqZfWPDp1A", + deletedBy: "2qDDuGFTWXBLDNnqZfWPDp1A", + updatedBy: "2qDDuGFTWXBLDNnqZfWPDp1A", + createdAt: 1609492210000, + deletedAt: 1609492210000, + updatedAt: 1609492210000, + projectId: [ + "prj_2WjyKQmM8ZnGcJsPWMrHRHrE", + "prj_2WjyKQmM8ZnGcJsPWMrasEFg", + ], + type: "encrypted", + target: [ + "production", + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | +| `created` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_minus_sign: | The date when the Shared Env Var was created. | 2021-02-10T13:11:49.180Z | +| `key` | *string* | :heavy_minus_sign: | The name of the Shared Env Var. | my-api-key | +| `ownerId` | *string* | :heavy_minus_sign: | The unique identifier of the owner (team) the Shared Env Var was created for. | team_LLHUOMOoDlqOp8wPE4kFo9pE | +| `id` | *string* | :heavy_minus_sign: | The unique identifier of the Shared Env Var. | env_XCG7t7AIHuO2SBA8667zNUiM | +| `createdBy` | *string* | :heavy_minus_sign: | The unique identifier of the user who created the Shared Env Var. | 2qDDuGFTWXBLDNnqZfWPDp1A | +| `deletedBy` | *string* | :heavy_minus_sign: | The unique identifier of the user who deleted the Shared Env Var. | 2qDDuGFTWXBLDNnqZfWPDp1A | +| `updatedBy` | *string* | :heavy_minus_sign: | The unique identifier of the user who last updated the Shared Env Var. | 2qDDuGFTWXBLDNnqZfWPDp1A | +| `createdAt` | *number* | :heavy_minus_sign: | Timestamp for when the Shared Env Var was created. | 1609492210000 | +| `deletedAt` | *number* | :heavy_minus_sign: | Timestamp for when the Shared Env Var was (soft) deleted. | 1609492210000 | +| `updatedAt` | *number* | :heavy_minus_sign: | Timestamp for when the Shared Env Var was last updated. | 1609492210000 | +| `value` | *string* | :heavy_minus_sign: | The value of the Shared Env Var. | | +| `projectId` | *string*[] | :heavy_minus_sign: | The unique identifiers of the projects which the Shared Env Var is linked to. | [
"prj_2WjyKQmM8ZnGcJsPWMrHRHrE",
"prj_2WjyKQmM8ZnGcJsPWMrasEFg"
] | +| `type` | [models.UpdateSharedEnvVariableEnvironmentType](../models/updatesharedenvvariableenvironmenttype.md) | :heavy_minus_sign: | The type of this cosmos doc instance, if blank, assume secret. | encrypted | +| `target` | [models.UpdateSharedEnvVariableEnvironmentTarget](../models/updatesharedenvvariableenvironmenttarget.md)[] | :heavy_minus_sign: | environments this env variable targets | production | +| `applyToAllCustomEnvironments` | *boolean* | :heavy_minus_sign: | whether or not this env varible applies to custom environments | | +| `decrypted` | *boolean* | :heavy_minus_sign: | whether or not this env variable is decrypted | | +| `comment` | *string* | :heavy_minus_sign: | A user provided comment that describes what this Shared Env Var is for. | | +| `lastEditedByDisplayName` | *string* | :heavy_minus_sign: | The last editor full name or username. | | \ No newline at end of file diff --git a/docs/models/updatedomainautorenewrequest.md b/docs/models/updatedomainautorenewrequest.md new file mode 100644 index 000000000..d79160c04 --- /dev/null +++ b/docs/models/updatedomainautorenewrequest.md @@ -0,0 +1,23 @@ +# UpdateDomainAutoRenewRequest + +## Example Usage + +```typescript +import { UpdateDomainAutoRenewRequest } from "@vercel/sdk/models/updatedomainautorenewop.js"; + +let value: UpdateDomainAutoRenewRequest = { + domain: "granular-rust.com", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + requestBody: { + autoRenew: false, + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `domain` | *string* | :heavy_check_mark: | N/A | | +| `teamId` | *string* | :heavy_minus_sign: | N/A | team_1a2b3c4d5e6f7g8h9i0j1k2l | +| `requestBody` | [models.UpdateDomainAutoRenewRequestBody](../models/updatedomainautorenewrequestbody.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/updatedomainautorenewrequestbody.md b/docs/models/updatedomainautorenewrequestbody.md new file mode 100644 index 000000000..5204f3b56 --- /dev/null +++ b/docs/models/updatedomainautorenewrequestbody.md @@ -0,0 +1,17 @@ +# UpdateDomainAutoRenewRequestBody + +## Example Usage + +```typescript +import { UpdateDomainAutoRenewRequestBody } from "@vercel/sdk/models/updatedomainautorenewop.js"; + +let value: UpdateDomainAutoRenewRequestBody = { + autoRenew: false, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `autoRenew` | *boolean* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/updatedomainautorenewresponsebody.md b/docs/models/updatedomainautorenewresponsebody.md new file mode 100644 index 000000000..4fbb1f9d2 --- /dev/null +++ b/docs/models/updatedomainautorenewresponsebody.md @@ -0,0 +1,27 @@ +# UpdateDomainAutoRenewResponseBody + +NotAuthorizedForScope + + +## Supported Types + +### `models.NotAuthorizedForScope` + +```typescript +const value: models.NotAuthorizedForScope = { + status: 4853.56, + code: "not_authorized_for_scope", + message: "", +}; +``` + +### `models.Forbidden` + +```typescript +const value: models.Forbidden = { + status: 7108.3, + code: "forbidden", + message: "", +}; +``` + diff --git a/docs/models/updatedomainnameserversrequest.md b/docs/models/updatedomainnameserversrequest.md new file mode 100644 index 000000000..7867b227c --- /dev/null +++ b/docs/models/updatedomainnameserversrequest.md @@ -0,0 +1,23 @@ +# UpdateDomainNameserversRequest + +## Example Usage + +```typescript +import { UpdateDomainNameserversRequest } from "@vercel/sdk/models/updatedomainnameserversop.js"; + +let value: UpdateDomainNameserversRequest = { + domain: "thorny-pecan.biz", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + requestBody: { + nameservers: [], + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `domain` | *string* | :heavy_check_mark: | N/A | | +| `teamId` | *string* | :heavy_minus_sign: | N/A | team_1a2b3c4d5e6f7g8h9i0j1k2l | +| `requestBody` | [models.UpdateDomainNameserversRequestBody](../models/updatedomainnameserversrequestbody.md) | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/models/updatedomainnameserversrequestbody.md b/docs/models/updatedomainnameserversrequestbody.md new file mode 100644 index 000000000..e6bff9f58 --- /dev/null +++ b/docs/models/updatedomainnameserversrequestbody.md @@ -0,0 +1,21 @@ +# UpdateDomainNameserversRequestBody + +## Example Usage + +```typescript +import { UpdateDomainNameserversRequestBody } from "@vercel/sdk/models/updatedomainnameserversop.js"; + +let value: UpdateDomainNameserversRequestBody = { + nameservers: [ + "", + "", + "", + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `nameservers` | *string*[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/updatedomainnameserversresponsebody.md b/docs/models/updatedomainnameserversresponsebody.md new file mode 100644 index 000000000..a3a9a8a52 --- /dev/null +++ b/docs/models/updatedomainnameserversresponsebody.md @@ -0,0 +1,27 @@ +# UpdateDomainNameserversResponseBody + +NotAuthorizedForScope + + +## Supported Types + +### `models.NotAuthorizedForScope` + +```typescript +const value: models.NotAuthorizedForScope = { + status: 4853.56, + code: "not_authorized_for_scope", + message: "", +}; +``` + +### `models.Forbidden` + +```typescript +const value: models.Forbidden = { + status: 7108.3, + code: "forbidden", + message: "", +}; +``` + diff --git a/docs/models/updatedrain11.md b/docs/models/updatedrain11.md new file mode 100644 index 000000000..ccb99bcdc --- /dev/null +++ b/docs/models/updatedrain11.md @@ -0,0 +1,18 @@ +# UpdateDrain11 + +## Example Usage + +```typescript +import { UpdateDrain11 } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrain11 = { + externalResourceId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------- | -------------------- | -------------------- | -------------------- | +| `kind` | *string* | :heavy_minus_sign: | N/A | +| `externalResourceId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/updatedrain12.md b/docs/models/updatedrain12.md new file mode 100644 index 000000000..51c8a4ea0 --- /dev/null +++ b/docs/models/updatedrain12.md @@ -0,0 +1,18 @@ +# UpdateDrain12 + +## Example Usage + +```typescript +import { UpdateDrain12 } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrain12 = { + resourceId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `kind` | *string* | :heavy_minus_sign: | N/A | +| `resourceId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/updatedrain13.md b/docs/models/updatedrain13.md new file mode 100644 index 000000000..9d1ce796c --- /dev/null +++ b/docs/models/updatedrain13.md @@ -0,0 +1,15 @@ +# UpdateDrain13 + +## Example Usage + +```typescript +import { UpdateDrain13 } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrain13 = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `kind` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/updatedraindelivery.md b/docs/models/updatedraindelivery.md new file mode 100644 index 000000000..7e198868f --- /dev/null +++ b/docs/models/updatedraindelivery.md @@ -0,0 +1,33 @@ +# UpdateDrainDelivery + + +## Supported Types + +### `models.UpdateDrainDelivery1` + +```typescript +const value: models.UpdateDrainDelivery1 = { + type: "", + endpoint: "", + encoding: "json", + headers: { + "key": "", + }, +}; +``` + +### `models.UpdateDrainDelivery2` + +```typescript +const value: models.UpdateDrainDelivery2 = { + type: "", + endpoint: { + traces: "", + }, + encoding: "json", + headers: { + "key": "", + }, +}; +``` + diff --git a/docs/models/updatedraindelivery1.md b/docs/models/updatedraindelivery1.md new file mode 100644 index 000000000..e4a80062a --- /dev/null +++ b/docs/models/updatedraindelivery1.md @@ -0,0 +1,27 @@ +# UpdateDrainDelivery1 + +## Example Usage + +```typescript +import { UpdateDrainDelivery1 } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainDelivery1 = { + type: "", + endpoint: "", + encoding: "json", + headers: { + "key": "", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `type` | *string* | :heavy_check_mark: | N/A | +| `endpoint` | *string* | :heavy_check_mark: | N/A | +| `compression` | [models.DeliveryCompression](../models/deliverycompression.md) | :heavy_minus_sign: | N/A | +| `encoding` | [models.UpdateDrainDeliveryEncoding](../models/updatedraindeliveryencoding.md) | :heavy_check_mark: | N/A | +| `headers` | Record | :heavy_check_mark: | N/A | +| `secret` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/updatedraindelivery2.md b/docs/models/updatedraindelivery2.md new file mode 100644 index 000000000..e1f41f91a --- /dev/null +++ b/docs/models/updatedraindelivery2.md @@ -0,0 +1,28 @@ +# UpdateDrainDelivery2 + +## Example Usage + +```typescript +import { UpdateDrainDelivery2 } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainDelivery2 = { + type: "", + endpoint: { + traces: "", + }, + encoding: "json", + headers: { + "key": "", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `type` | *string* | :heavy_check_mark: | N/A | +| `endpoint` | *models.DeliveryEndpoint* | :heavy_check_mark: | N/A | +| `encoding` | [models.UpdateDrainDeliveryDrainsEncoding](../models/updatedraindeliverydrainsencoding.md) | :heavy_check_mark: | N/A | +| `headers` | Record | :heavy_check_mark: | N/A | +| `secret` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/updatedraindelivery3.md b/docs/models/updatedraindelivery3.md new file mode 100644 index 000000000..467f21d57 --- /dev/null +++ b/docs/models/updatedraindelivery3.md @@ -0,0 +1,21 @@ +# UpdateDrainDelivery3 + +## Example Usage + +```typescript +import { UpdateDrainDelivery3 } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainDelivery3 = { + type: "clickhouse", + endpoint: "", + table: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `type` | [models.UpdateDrainDeliveryDrainsResponseType](../models/updatedraindeliverydrainsresponsetype.md) | :heavy_check_mark: | N/A | +| `endpoint` | *string* | :heavy_check_mark: | N/A | +| `table` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/updatedraindelivery4.md b/docs/models/updatedraindelivery4.md new file mode 100644 index 000000000..3c21ee43f --- /dev/null +++ b/docs/models/updatedraindelivery4.md @@ -0,0 +1,19 @@ +# UpdateDrainDelivery4 + +## Example Usage + +```typescript +import { UpdateDrainDelivery4 } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainDelivery4 = { + type: "internal", + target: "vercel-otel-traces-db", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | +| `type` | [models.UpdateDrainDeliveryDrainsResponse200Type](../models/updatedraindeliverydrainsresponse200type.md) | :heavy_check_mark: | N/A | +| `target` | [models.UpdateDrainDeliveryTarget](../models/updatedraindeliverytarget.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/updatedraindeliverycompression.md b/docs/models/updatedraindeliverycompression.md new file mode 100644 index 000000000..e771656d9 --- /dev/null +++ b/docs/models/updatedraindeliverycompression.md @@ -0,0 +1,15 @@ +# UpdateDrainDeliveryCompression + +## Example Usage + +```typescript +import { UpdateDrainDeliveryCompression } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainDeliveryCompression = "gzip"; +``` + +## Values + +```typescript +"gzip" | "none" +``` \ No newline at end of file diff --git a/docs/models/updatedraindeliverydrains1.md b/docs/models/updatedraindeliverydrains1.md new file mode 100644 index 000000000..32e10656b --- /dev/null +++ b/docs/models/updatedraindeliverydrains1.md @@ -0,0 +1,29 @@ +# UpdateDrainDeliveryDrains1 + +## Example Usage + +```typescript +import { UpdateDrainDeliveryDrains1 } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainDeliveryDrains1 = { + type: "http", + endpoint: "", + encoding: "json", + headers: { + "key": "", + "key1": "", + "key2": "", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | +| `type` | [models.UpdateDrainDeliveryType](../models/updatedraindeliverytype.md) | :heavy_check_mark: | N/A | +| `endpoint` | *string* | :heavy_check_mark: | N/A | +| `encoding` | [models.UpdateDrainDeliveryDrainsResponseEncoding](../models/updatedraindeliverydrainsresponseencoding.md) | :heavy_check_mark: | N/A | +| `compression` | [models.UpdateDrainDeliveryCompression](../models/updatedraindeliverycompression.md) | :heavy_minus_sign: | N/A | +| `headers` | Record | :heavy_check_mark: | N/A | +| `secret` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/updatedraindeliverydrains2.md b/docs/models/updatedraindeliverydrains2.md new file mode 100644 index 000000000..ae4136b28 --- /dev/null +++ b/docs/models/updatedraindeliverydrains2.md @@ -0,0 +1,30 @@ +# UpdateDrainDeliveryDrains2 + +## Example Usage + +```typescript +import { UpdateDrainDeliveryDrains2 } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainDeliveryDrains2 = { + type: "otlphttp", + endpoint: { + traces: "", + }, + encoding: "proto", + headers: { + "key": "", + "key1": "", + "key2": "", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | +| `type` | [models.UpdateDrainDeliveryDrainsType](../models/updatedraindeliverydrainstype.md) | :heavy_check_mark: | N/A | +| `endpoint` | [models.UpdateDrainDeliveryEndpoint](../models/updatedraindeliveryendpoint.md) | :heavy_check_mark: | N/A | +| `encoding` | [models.UpdateDrainDeliveryDrainsResponse200Encoding](../models/updatedraindeliverydrainsresponse200encoding.md) | :heavy_check_mark: | N/A | +| `headers` | Record | :heavy_check_mark: | N/A | +| `secret` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/updatedraindeliverydrains3.md b/docs/models/updatedraindeliverydrains3.md new file mode 100644 index 000000000..f65582d42 --- /dev/null +++ b/docs/models/updatedraindeliverydrains3.md @@ -0,0 +1,21 @@ +# UpdateDrainDeliveryDrains3 + +## Example Usage + +```typescript +import { UpdateDrainDeliveryDrains3 } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainDeliveryDrains3 = { + type: "clickhouse", + endpoint: "", + table: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.UpdateDrainDeliveryDrainsResponse200ApplicationJSONResponseBody2Type](../models/updatedraindeliverydrainsresponse200applicationjsonresponsebody2type.md) | :heavy_check_mark: | N/A | +| `endpoint` | *string* | :heavy_check_mark: | N/A | +| `table` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/updatedraindeliverydrains4.md b/docs/models/updatedraindeliverydrains4.md new file mode 100644 index 000000000..bcff63a94 --- /dev/null +++ b/docs/models/updatedraindeliverydrains4.md @@ -0,0 +1,19 @@ +# UpdateDrainDeliveryDrains4 + +## Example Usage + +```typescript +import { UpdateDrainDeliveryDrains4 } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainDeliveryDrains4 = { + type: "internal", + target: "vercel-otel-traces-db", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `type` | [models.UpdateDrainDeliveryDrainsResponse200ApplicationJSONResponseBody24Type](../models/updatedraindeliverydrainsresponse200applicationjsonresponsebody24type.md) | :heavy_check_mark: | N/A | +| `target` | [models.UpdateDrainDeliveryDrainsTarget](../models/updatedraindeliverydrainstarget.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/updatedraindeliverydrainscompression.md b/docs/models/updatedraindeliverydrainscompression.md new file mode 100644 index 000000000..f68e74ef1 --- /dev/null +++ b/docs/models/updatedraindeliverydrainscompression.md @@ -0,0 +1,15 @@ +# UpdateDrainDeliveryDrainsCompression + +## Example Usage + +```typescript +import { UpdateDrainDeliveryDrainsCompression } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainDeliveryDrainsCompression = "gzip"; +``` + +## Values + +```typescript +"gzip" | "none" +``` \ No newline at end of file diff --git a/docs/models/updatedraindeliverydrainsencoding.md b/docs/models/updatedraindeliverydrainsencoding.md new file mode 100644 index 000000000..b351d398d --- /dev/null +++ b/docs/models/updatedraindeliverydrainsencoding.md @@ -0,0 +1,15 @@ +# UpdateDrainDeliveryDrainsEncoding + +## Example Usage + +```typescript +import { UpdateDrainDeliveryDrainsEncoding } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainDeliveryDrainsEncoding = "json"; +``` + +## Values + +```typescript +"proto" | "json" +``` \ No newline at end of file diff --git a/docs/models/updatedraindeliverydrainsendpoint.md b/docs/models/updatedraindeliverydrainsendpoint.md new file mode 100644 index 000000000..285807c81 --- /dev/null +++ b/docs/models/updatedraindeliverydrainsendpoint.md @@ -0,0 +1,17 @@ +# UpdateDrainDeliveryDrainsEndpoint + +## Example Usage + +```typescript +import { UpdateDrainDeliveryDrainsEndpoint } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainDeliveryDrainsEndpoint = { + traces: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `traces` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/updatedraindeliverydrainsresponse1.md b/docs/models/updatedraindeliverydrainsresponse1.md new file mode 100644 index 000000000..3f2655b88 --- /dev/null +++ b/docs/models/updatedraindeliverydrainsresponse1.md @@ -0,0 +1,27 @@ +# UpdateDrainDeliveryDrainsResponse1 + +## Example Usage + +```typescript +import { UpdateDrainDeliveryDrainsResponse1 } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainDeliveryDrainsResponse1 = { + type: "http", + endpoint: "", + encoding: "json", + headers: { + "key": "", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.UpdateDrainDeliveryDrainsResponse200ApplicationJSONType](../models/updatedraindeliverydrainsresponse200applicationjsontype.md) | :heavy_check_mark: | N/A | +| `endpoint` | *string* | :heavy_check_mark: | N/A | +| `encoding` | [models.UpdateDrainDeliveryDrainsResponse200ApplicationJSONEncoding](../models/updatedraindeliverydrainsresponse200applicationjsonencoding.md) | :heavy_check_mark: | N/A | +| `compression` | [models.UpdateDrainDeliveryDrainsCompression](../models/updatedraindeliverydrainscompression.md) | :heavy_minus_sign: | N/A | +| `headers` | Record | :heavy_check_mark: | N/A | +| `secret` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/updatedraindeliverydrainsresponse2.md b/docs/models/updatedraindeliverydrainsresponse2.md new file mode 100644 index 000000000..25e72d7e4 --- /dev/null +++ b/docs/models/updatedraindeliverydrainsresponse2.md @@ -0,0 +1,28 @@ +# UpdateDrainDeliveryDrainsResponse2 + +## Example Usage + +```typescript +import { UpdateDrainDeliveryDrainsResponse2 } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainDeliveryDrainsResponse2 = { + type: "otlphttp", + endpoint: { + traces: "", + }, + encoding: "json", + headers: { + "key": "", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `type` | [models.UpdateDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyType](../models/updatedraindeliverydrainsresponse200applicationjsonresponsebodytype.md) | :heavy_check_mark: | N/A | +| `endpoint` | [models.UpdateDrainDeliveryDrainsEndpoint](../models/updatedraindeliverydrainsendpoint.md) | :heavy_check_mark: | N/A | +| `encoding` | [models.UpdateDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyEncoding](../models/updatedraindeliverydrainsresponse200applicationjsonresponsebodyencoding.md) | :heavy_check_mark: | N/A | +| `headers` | Record | :heavy_check_mark: | N/A | +| `secret` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/updatedraindeliverydrainsresponse200applicationjsonencoding.md b/docs/models/updatedraindeliverydrainsresponse200applicationjsonencoding.md new file mode 100644 index 000000000..1e0969fd8 --- /dev/null +++ b/docs/models/updatedraindeliverydrainsresponse200applicationjsonencoding.md @@ -0,0 +1,16 @@ +# UpdateDrainDeliveryDrainsResponse200ApplicationJSONEncoding + +## Example Usage + +```typescript +import { UpdateDrainDeliveryDrainsResponse200ApplicationJSONEncoding } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainDeliveryDrainsResponse200ApplicationJSONEncoding = + "ndjson"; +``` + +## Values + +```typescript +"json" | "ndjson" +``` \ No newline at end of file diff --git a/docs/models/updatedraindeliverydrainsresponse200applicationjsonresponsebody24type.md b/docs/models/updatedraindeliverydrainsresponse200applicationjsonresponsebody24type.md new file mode 100644 index 000000000..4c52691ed --- /dev/null +++ b/docs/models/updatedraindeliverydrainsresponse200applicationjsonresponsebody24type.md @@ -0,0 +1,17 @@ +# UpdateDrainDeliveryDrainsResponse200ApplicationJSONResponseBody24Type + +## Example Usage + +```typescript +import { UpdateDrainDeliveryDrainsResponse200ApplicationJSONResponseBody24Type } from "@vercel/sdk/models/updatedrainop.js"; + +let value: + UpdateDrainDeliveryDrainsResponse200ApplicationJSONResponseBody24Type = + "internal"; +``` + +## Values + +```typescript +"internal" +``` \ No newline at end of file diff --git a/docs/models/updatedraindeliverydrainsresponse200applicationjsonresponsebody2type.md b/docs/models/updatedraindeliverydrainsresponse200applicationjsonresponsebody2type.md new file mode 100644 index 000000000..bb5812237 --- /dev/null +++ b/docs/models/updatedraindeliverydrainsresponse200applicationjsonresponsebody2type.md @@ -0,0 +1,17 @@ +# UpdateDrainDeliveryDrainsResponse200ApplicationJSONResponseBody2Type + +## Example Usage + +```typescript +import { UpdateDrainDeliveryDrainsResponse200ApplicationJSONResponseBody2Type } from "@vercel/sdk/models/updatedrainop.js"; + +let value: + UpdateDrainDeliveryDrainsResponse200ApplicationJSONResponseBody2Type = + "clickhouse"; +``` + +## Values + +```typescript +"clickhouse" +``` \ No newline at end of file diff --git a/docs/models/updatedraindeliverydrainsresponse200applicationjsonresponsebodyencoding.md b/docs/models/updatedraindeliverydrainsresponse200applicationjsonresponsebodyencoding.md new file mode 100644 index 000000000..17d820571 --- /dev/null +++ b/docs/models/updatedraindeliverydrainsresponse200applicationjsonresponsebodyencoding.md @@ -0,0 +1,17 @@ +# UpdateDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyEncoding + +## Example Usage + +```typescript +import { UpdateDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyEncoding } from "@vercel/sdk/models/updatedrainop.js"; + +let value: + UpdateDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyEncoding = + "proto"; +``` + +## Values + +```typescript +"json" | "proto" +``` \ No newline at end of file diff --git a/docs/models/updatedraindeliverydrainsresponse200applicationjsonresponsebodytype.md b/docs/models/updatedraindeliverydrainsresponse200applicationjsonresponsebodytype.md new file mode 100644 index 000000000..2c938ed92 --- /dev/null +++ b/docs/models/updatedraindeliverydrainsresponse200applicationjsonresponsebodytype.md @@ -0,0 +1,16 @@ +# UpdateDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyType + +## Example Usage + +```typescript +import { UpdateDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyType } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyType = + "otlphttp"; +``` + +## Values + +```typescript +"otlphttp" +``` \ No newline at end of file diff --git a/docs/models/updatedraindeliverydrainsresponse200applicationjsontype.md b/docs/models/updatedraindeliverydrainsresponse200applicationjsontype.md new file mode 100644 index 000000000..292cc712d --- /dev/null +++ b/docs/models/updatedraindeliverydrainsresponse200applicationjsontype.md @@ -0,0 +1,15 @@ +# UpdateDrainDeliveryDrainsResponse200ApplicationJSONType + +## Example Usage + +```typescript +import { UpdateDrainDeliveryDrainsResponse200ApplicationJSONType } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainDeliveryDrainsResponse200ApplicationJSONType = "http"; +``` + +## Values + +```typescript +"http" +``` \ No newline at end of file diff --git a/docs/models/updatedraindeliverydrainsresponse200encoding.md b/docs/models/updatedraindeliverydrainsresponse200encoding.md new file mode 100644 index 000000000..57ebb4487 --- /dev/null +++ b/docs/models/updatedraindeliverydrainsresponse200encoding.md @@ -0,0 +1,15 @@ +# UpdateDrainDeliveryDrainsResponse200Encoding + +## Example Usage + +```typescript +import { UpdateDrainDeliveryDrainsResponse200Encoding } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainDeliveryDrainsResponse200Encoding = "proto"; +``` + +## Values + +```typescript +"json" | "proto" +``` \ No newline at end of file diff --git a/docs/models/updatedraindeliverydrainsresponse200type.md b/docs/models/updatedraindeliverydrainsresponse200type.md new file mode 100644 index 000000000..9ac169a85 --- /dev/null +++ b/docs/models/updatedraindeliverydrainsresponse200type.md @@ -0,0 +1,15 @@ +# UpdateDrainDeliveryDrainsResponse200Type + +## Example Usage + +```typescript +import { UpdateDrainDeliveryDrainsResponse200Type } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainDeliveryDrainsResponse200Type = "internal"; +``` + +## Values + +```typescript +"internal" +``` \ No newline at end of file diff --git a/docs/models/updatedraindeliverydrainsresponseencoding.md b/docs/models/updatedraindeliverydrainsresponseencoding.md new file mode 100644 index 000000000..81e016e77 --- /dev/null +++ b/docs/models/updatedraindeliverydrainsresponseencoding.md @@ -0,0 +1,15 @@ +# UpdateDrainDeliveryDrainsResponseEncoding + +## Example Usage + +```typescript +import { UpdateDrainDeliveryDrainsResponseEncoding } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainDeliveryDrainsResponseEncoding = "json"; +``` + +## Values + +```typescript +"json" | "ndjson" +``` \ No newline at end of file diff --git a/docs/models/updatedraindeliverydrainsresponsetype.md b/docs/models/updatedraindeliverydrainsresponsetype.md new file mode 100644 index 000000000..c081fa883 --- /dev/null +++ b/docs/models/updatedraindeliverydrainsresponsetype.md @@ -0,0 +1,15 @@ +# UpdateDrainDeliveryDrainsResponseType + +## Example Usage + +```typescript +import { UpdateDrainDeliveryDrainsResponseType } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainDeliveryDrainsResponseType = "clickhouse"; +``` + +## Values + +```typescript +"clickhouse" +``` \ No newline at end of file diff --git a/docs/models/updatedraindeliverydrainstarget.md b/docs/models/updatedraindeliverydrainstarget.md new file mode 100644 index 000000000..9c198965c --- /dev/null +++ b/docs/models/updatedraindeliverydrainstarget.md @@ -0,0 +1,15 @@ +# UpdateDrainDeliveryDrainsTarget + +## Example Usage + +```typescript +import { UpdateDrainDeliveryDrainsTarget } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainDeliveryDrainsTarget = "vercel-otel-traces-db"; +``` + +## Values + +```typescript +"vercel-otel-traces-db" +``` \ No newline at end of file diff --git a/docs/models/updatedraindeliverydrainstype.md b/docs/models/updatedraindeliverydrainstype.md new file mode 100644 index 000000000..0dcd8aea6 --- /dev/null +++ b/docs/models/updatedraindeliverydrainstype.md @@ -0,0 +1,15 @@ +# UpdateDrainDeliveryDrainsType + +## Example Usage + +```typescript +import { UpdateDrainDeliveryDrainsType } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainDeliveryDrainsType = "otlphttp"; +``` + +## Values + +```typescript +"otlphttp" +``` \ No newline at end of file diff --git a/docs/models/updatedraindeliveryencoding.md b/docs/models/updatedraindeliveryencoding.md new file mode 100644 index 000000000..f2535cb2f --- /dev/null +++ b/docs/models/updatedraindeliveryencoding.md @@ -0,0 +1,15 @@ +# UpdateDrainDeliveryEncoding + +## Example Usage + +```typescript +import { UpdateDrainDeliveryEncoding } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainDeliveryEncoding = "json"; +``` + +## Values + +```typescript +"json" | "ndjson" +``` \ No newline at end of file diff --git a/docs/models/updatedraindeliveryendpoint.md b/docs/models/updatedraindeliveryendpoint.md new file mode 100644 index 000000000..1ff93aeb8 --- /dev/null +++ b/docs/models/updatedraindeliveryendpoint.md @@ -0,0 +1,17 @@ +# UpdateDrainDeliveryEndpoint + +## Example Usage + +```typescript +import { UpdateDrainDeliveryEndpoint } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainDeliveryEndpoint = { + traces: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `traces` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/updatedraindeliverytarget.md b/docs/models/updatedraindeliverytarget.md new file mode 100644 index 000000000..f5b95141b --- /dev/null +++ b/docs/models/updatedraindeliverytarget.md @@ -0,0 +1,15 @@ +# UpdateDrainDeliveryTarget + +## Example Usage + +```typescript +import { UpdateDrainDeliveryTarget } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainDeliveryTarget = "vercel-otel-traces-db"; +``` + +## Values + +```typescript +"vercel-otel-traces-db" +``` \ No newline at end of file diff --git a/docs/models/updatedraindeliverytype.md b/docs/models/updatedraindeliverytype.md new file mode 100644 index 000000000..ad08cae4b --- /dev/null +++ b/docs/models/updatedraindeliverytype.md @@ -0,0 +1,15 @@ +# UpdateDrainDeliveryType + +## Example Usage + +```typescript +import { UpdateDrainDeliveryType } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainDeliveryType = "http"; +``` + +## Values + +```typescript +"http" +``` \ No newline at end of file diff --git a/docs/models/updatedrainendpoint1.md b/docs/models/updatedrainendpoint1.md new file mode 100644 index 000000000..2a3e62c53 --- /dev/null +++ b/docs/models/updatedrainendpoint1.md @@ -0,0 +1,17 @@ +# UpdateDrainEndpoint1 + +## Example Usage + +```typescript +import { UpdateDrainEndpoint1 } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainEndpoint1 = { + traces: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `traces` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/updatedrainenv.md b/docs/models/updatedrainenv.md new file mode 100644 index 000000000..3c0257408 --- /dev/null +++ b/docs/models/updatedrainenv.md @@ -0,0 +1,17 @@ +# UpdateDrainEnv + +Environment to apply sampling to + +## Example Usage + +```typescript +import { UpdateDrainEnv } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainEnv = "preview"; +``` + +## Values + +```typescript +"production" | "preview" +``` \ No newline at end of file diff --git a/docs/models/updatedrainfilter.md b/docs/models/updatedrainfilter.md new file mode 100644 index 000000000..0b6b7d522 --- /dev/null +++ b/docs/models/updatedrainfilter.md @@ -0,0 +1,22 @@ +# UpdateDrainFilter + + +## Supported Types + +### `string` + +```typescript +const value: string = ""; +``` + +### `models.UpdateDrainFilter2` + +```typescript +const value: models.UpdateDrainFilter2 = { + version: "", + filter: { + type: "", + }, +}; +``` + diff --git a/docs/models/updatedrainfilter1.md b/docs/models/updatedrainfilter1.md new file mode 100644 index 000000000..352b38126 --- /dev/null +++ b/docs/models/updatedrainfilter1.md @@ -0,0 +1,20 @@ +# UpdateDrainFilter1 + +## Example Usage + +```typescript +import { UpdateDrainFilter1 } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainFilter1 = { + type: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | +| `type` | *string* | :heavy_check_mark: | N/A | +| `project` | [models.FilterProject](../models/filterproject.md) | :heavy_minus_sign: | N/A | +| `log` | [models.FilterLog](../models/filterlog.md) | :heavy_minus_sign: | N/A | +| `deployment` | [models.FilterDeployment](../models/filterdeployment.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/updatedrainfilter2.md b/docs/models/updatedrainfilter2.md new file mode 100644 index 000000000..deec86c98 --- /dev/null +++ b/docs/models/updatedrainfilter2.md @@ -0,0 +1,21 @@ +# UpdateDrainFilter2 + +## Example Usage + +```typescript +import { UpdateDrainFilter2 } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainFilter2 = { + version: "", + filter: { + type: "", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------- | -------------------------------- | -------------------------------- | -------------------------------- | +| `version` | *string* | :heavy_check_mark: | N/A | +| `filter` | *models.UpdateDrainFilterFilter* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/updatedrainfilterdeployment.md b/docs/models/updatedrainfilterdeployment.md new file mode 100644 index 000000000..ffcb5eee7 --- /dev/null +++ b/docs/models/updatedrainfilterdeployment.md @@ -0,0 +1,15 @@ +# UpdateDrainFilterDeployment + +## Example Usage + +```typescript +import { UpdateDrainFilterDeployment } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainFilterDeployment = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | +| `environments` | [models.UpdateDrainFilterDrainsEnvironments](../models/updatedrainfilterdrainsenvironments.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/updatedrainfilterdrains1.md b/docs/models/updatedrainfilterdrains1.md new file mode 100644 index 000000000..bfbddc029 --- /dev/null +++ b/docs/models/updatedrainfilterdrains1.md @@ -0,0 +1,20 @@ +# UpdateDrainFilterDrains1 + +## Example Usage + +```typescript +import { UpdateDrainFilterDrains1 } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainFilterDrains1 = { + type: "basic", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `type` | [models.UpdateDrainFilterType](../models/updatedrainfiltertype.md) | :heavy_check_mark: | N/A | +| `project` | [models.UpdateDrainFilterProject](../models/updatedrainfilterproject.md) | :heavy_minus_sign: | N/A | +| `log` | [models.UpdateDrainFilterLog](../models/updatedrainfilterlog.md) | :heavy_minus_sign: | N/A | +| `deployment` | [models.UpdateDrainFilterDeployment](../models/updatedrainfilterdeployment.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/updatedrainfilterdrains2.md b/docs/models/updatedrainfilterdrains2.md new file mode 100644 index 000000000..7f4bf286d --- /dev/null +++ b/docs/models/updatedrainfilterdrains2.md @@ -0,0 +1,19 @@ +# UpdateDrainFilterDrains2 + +## Example Usage + +```typescript +import { UpdateDrainFilterDrains2 } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainFilterDrains2 = { + type: "", + text: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `type` | *string* | :heavy_check_mark: | N/A | +| `text` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/updatedrainfilterdrainsdeployment.md b/docs/models/updatedrainfilterdrainsdeployment.md new file mode 100644 index 000000000..7ae8610ef --- /dev/null +++ b/docs/models/updatedrainfilterdrainsdeployment.md @@ -0,0 +1,15 @@ +# UpdateDrainFilterDrainsDeployment + +## Example Usage + +```typescript +import { UpdateDrainFilterDrainsDeployment } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainFilterDrainsDeployment = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | +| `environments` | [models.UpdateDrainFilterDrainsResponseEnvironments](../models/updatedrainfilterdrainsresponseenvironments.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/updatedrainfilterdrainsenvironments.md b/docs/models/updatedrainfilterdrainsenvironments.md new file mode 100644 index 000000000..7e5fa6dd1 --- /dev/null +++ b/docs/models/updatedrainfilterdrainsenvironments.md @@ -0,0 +1,15 @@ +# UpdateDrainFilterDrainsEnvironments + +## Example Usage + +```typescript +import { UpdateDrainFilterDrainsEnvironments } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainFilterDrainsEnvironments = "production"; +``` + +## Values + +```typescript +"production" | "preview" +``` \ No newline at end of file diff --git a/docs/models/updatedrainfilterdrainslog.md b/docs/models/updatedrainfilterdrainslog.md new file mode 100644 index 000000000..f85a2b429 --- /dev/null +++ b/docs/models/updatedrainfilterdrainslog.md @@ -0,0 +1,16 @@ +# UpdateDrainFilterDrainsLog + +## Example Usage + +```typescript +import { UpdateDrainFilterDrainsLog } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainFilterDrainsLog = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | +| `sources` | [models.UpdateDrainFilterDrainsResponseSources](../models/updatedrainfilterdrainsresponsesources.md)[] | :heavy_minus_sign: | N/A | +| `legacyExcludeCachedStaticAssetLogs` | *boolean* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/updatedrainfilterdrainsproject.md b/docs/models/updatedrainfilterdrainsproject.md new file mode 100644 index 000000000..ffdd4a189 --- /dev/null +++ b/docs/models/updatedrainfilterdrainsproject.md @@ -0,0 +1,15 @@ +# UpdateDrainFilterDrainsProject + +## Example Usage + +```typescript +import { UpdateDrainFilterDrainsProject } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainFilterDrainsProject = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `ids` | *string*[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/updatedrainfilterdrainsresponse1.md b/docs/models/updatedrainfilterdrainsresponse1.md new file mode 100644 index 000000000..d2443da16 --- /dev/null +++ b/docs/models/updatedrainfilterdrainsresponse1.md @@ -0,0 +1,20 @@ +# UpdateDrainFilterDrainsResponse1 + +## Example Usage + +```typescript +import { UpdateDrainFilterDrainsResponse1 } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainFilterDrainsResponse1 = { + type: "basic", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `type` | [models.UpdateDrainFilterDrainsResponseType](../models/updatedrainfilterdrainsresponsetype.md) | :heavy_check_mark: | N/A | +| `project` | [models.UpdateDrainFilterDrainsProject](../models/updatedrainfilterdrainsproject.md) | :heavy_minus_sign: | N/A | +| `log` | [models.UpdateDrainFilterDrainsLog](../models/updatedrainfilterdrainslog.md) | :heavy_minus_sign: | N/A | +| `deployment` | [models.UpdateDrainFilterDrainsDeployment](../models/updatedrainfilterdrainsdeployment.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/updatedrainfilterdrainsresponse2.md b/docs/models/updatedrainfilterdrainsresponse2.md new file mode 100644 index 000000000..300e9ebc3 --- /dev/null +++ b/docs/models/updatedrainfilterdrainsresponse2.md @@ -0,0 +1,19 @@ +# UpdateDrainFilterDrainsResponse2 + +## Example Usage + +```typescript +import { UpdateDrainFilterDrainsResponse2 } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainFilterDrainsResponse2 = { + type: "odata", + text: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `type` | [models.UpdateDrainFilterDrainsType](../models/updatedrainfilterdrainstype.md) | :heavy_check_mark: | N/A | +| `text` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/updatedrainfilterdrainsresponse2002.md b/docs/models/updatedrainfilterdrainsresponse2002.md new file mode 100644 index 000000000..07eee5d46 --- /dev/null +++ b/docs/models/updatedrainfilterdrainsresponse2002.md @@ -0,0 +1,19 @@ +# UpdateDrainFilterDrainsResponse2002 + +## Example Usage + +```typescript +import { UpdateDrainFilterDrainsResponse2002 } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainFilterDrainsResponse2002 = { + type: "odata", + text: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | +| `type` | [models.UpdateDrainFilterDrainsResponse200Type](../models/updatedrainfilterdrainsresponse200type.md) | :heavy_check_mark: | N/A | +| `text` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/updatedrainfilterdrainsresponse200type.md b/docs/models/updatedrainfilterdrainsresponse200type.md new file mode 100644 index 000000000..da5dcc678 --- /dev/null +++ b/docs/models/updatedrainfilterdrainsresponse200type.md @@ -0,0 +1,15 @@ +# UpdateDrainFilterDrainsResponse200Type + +## Example Usage + +```typescript +import { UpdateDrainFilterDrainsResponse200Type } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainFilterDrainsResponse200Type = "odata"; +``` + +## Values + +```typescript +"odata" +``` \ No newline at end of file diff --git a/docs/models/updatedrainfilterdrainsresponseenvironments.md b/docs/models/updatedrainfilterdrainsresponseenvironments.md new file mode 100644 index 000000000..abb38755f --- /dev/null +++ b/docs/models/updatedrainfilterdrainsresponseenvironments.md @@ -0,0 +1,15 @@ +# UpdateDrainFilterDrainsResponseEnvironments + +## Example Usage + +```typescript +import { UpdateDrainFilterDrainsResponseEnvironments } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainFilterDrainsResponseEnvironments = "preview"; +``` + +## Values + +```typescript +"production" | "preview" +``` \ No newline at end of file diff --git a/docs/models/updatedrainfilterdrainsresponsesources.md b/docs/models/updatedrainfilterdrainsresponsesources.md new file mode 100644 index 000000000..46453905d --- /dev/null +++ b/docs/models/updatedrainfilterdrainsresponsesources.md @@ -0,0 +1,15 @@ +# UpdateDrainFilterDrainsResponseSources + +## Example Usage + +```typescript +import { UpdateDrainFilterDrainsResponseSources } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainFilterDrainsResponseSources = "edge"; +``` + +## Values + +```typescript +"build" | "edge" | "lambda" | "static" | "external" | "firewall" | "redirect" +``` \ No newline at end of file diff --git a/docs/models/updatedrainfilterdrainsresponsetype.md b/docs/models/updatedrainfilterdrainsresponsetype.md new file mode 100644 index 000000000..aa612a77e --- /dev/null +++ b/docs/models/updatedrainfilterdrainsresponsetype.md @@ -0,0 +1,15 @@ +# UpdateDrainFilterDrainsResponseType + +## Example Usage + +```typescript +import { UpdateDrainFilterDrainsResponseType } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainFilterDrainsResponseType = "basic"; +``` + +## Values + +```typescript +"basic" +``` \ No newline at end of file diff --git a/docs/models/updatedrainfilterdrainssources.md b/docs/models/updatedrainfilterdrainssources.md new file mode 100644 index 000000000..dac80dd2a --- /dev/null +++ b/docs/models/updatedrainfilterdrainssources.md @@ -0,0 +1,15 @@ +# UpdateDrainFilterDrainsSources + +## Example Usage + +```typescript +import { UpdateDrainFilterDrainsSources } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainFilterDrainsSources = "external"; +``` + +## Values + +```typescript +"build" | "edge" | "lambda" | "static" | "external" | "firewall" | "redirect" +``` \ No newline at end of file diff --git a/docs/models/updatedrainfilterdrainstype.md b/docs/models/updatedrainfilterdrainstype.md new file mode 100644 index 000000000..e478aeb95 --- /dev/null +++ b/docs/models/updatedrainfilterdrainstype.md @@ -0,0 +1,15 @@ +# UpdateDrainFilterDrainsType + +## Example Usage + +```typescript +import { UpdateDrainFilterDrainsType } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainFilterDrainsType = "odata"; +``` + +## Values + +```typescript +"odata" +``` \ No newline at end of file diff --git a/docs/models/updatedrainfilterenvironments.md b/docs/models/updatedrainfilterenvironments.md new file mode 100644 index 000000000..0a565f881 --- /dev/null +++ b/docs/models/updatedrainfilterenvironments.md @@ -0,0 +1,15 @@ +# UpdateDrainFilterEnvironments + +## Example Usage + +```typescript +import { UpdateDrainFilterEnvironments } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainFilterEnvironments = "production"; +``` + +## Values + +```typescript +"production" | "preview" +``` \ No newline at end of file diff --git a/docs/models/updatedrainfilterfilter.md b/docs/models/updatedrainfilterfilter.md new file mode 100644 index 000000000..3ebb9bff3 --- /dev/null +++ b/docs/models/updatedrainfilterfilter.md @@ -0,0 +1,22 @@ +# UpdateDrainFilterFilter + + +## Supported Types + +### `models.UpdateDrainFilter1` + +```typescript +const value: models.UpdateDrainFilter1 = { + type: "", +}; +``` + +### `models.UpdateDrainFilterDrains2` + +```typescript +const value: models.UpdateDrainFilterDrains2 = { + type: "", + text: "", +}; +``` + diff --git a/docs/models/updatedrainfilterlog.md b/docs/models/updatedrainfilterlog.md new file mode 100644 index 000000000..49e4664fb --- /dev/null +++ b/docs/models/updatedrainfilterlog.md @@ -0,0 +1,16 @@ +# UpdateDrainFilterLog + +## Example Usage + +```typescript +import { UpdateDrainFilterLog } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainFilterLog = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `sources` | [models.UpdateDrainFilterDrainsSources](../models/updatedrainfilterdrainssources.md)[] | :heavy_minus_sign: | N/A | +| `legacyExcludeCachedStaticAssetLogs` | *boolean* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/updatedrainfilterproject.md b/docs/models/updatedrainfilterproject.md new file mode 100644 index 000000000..ecbf2f840 --- /dev/null +++ b/docs/models/updatedrainfilterproject.md @@ -0,0 +1,15 @@ +# UpdateDrainFilterProject + +## Example Usage + +```typescript +import { UpdateDrainFilterProject } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainFilterProject = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `ids` | *string*[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/updatedrainfiltersources.md b/docs/models/updatedrainfiltersources.md new file mode 100644 index 000000000..39bea8829 --- /dev/null +++ b/docs/models/updatedrainfiltersources.md @@ -0,0 +1,15 @@ +# UpdateDrainFilterSources + +## Example Usage + +```typescript +import { UpdateDrainFilterSources } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainFilterSources = "firewall"; +``` + +## Values + +```typescript +"build" | "edge" | "lambda" | "static" | "external" | "firewall" | "redirect" +``` \ No newline at end of file diff --git a/docs/models/updatedrainfiltertype.md b/docs/models/updatedrainfiltertype.md new file mode 100644 index 000000000..c1751a504 --- /dev/null +++ b/docs/models/updatedrainfiltertype.md @@ -0,0 +1,15 @@ +# UpdateDrainFilterType + +## Example Usage + +```typescript +import { UpdateDrainFilterType } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainFilterType = "basic"; +``` + +## Values + +```typescript +"basic" +``` \ No newline at end of file diff --git a/docs/models/updatedrainfilterv21.md b/docs/models/updatedrainfilterv21.md new file mode 100644 index 000000000..bc050262e --- /dev/null +++ b/docs/models/updatedrainfilterv21.md @@ -0,0 +1,17 @@ +# UpdateDrainFilterV21 + +## Example Usage + +```typescript +import { UpdateDrainFilterV21 } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainFilterV21 = { + version: "v1", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `version` | [models.UpdateDrainFilterV2Version](../models/updatedrainfilterv2version.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/updatedrainfilterv22.md b/docs/models/updatedrainfilterv22.md new file mode 100644 index 000000000..365c2d6f6 --- /dev/null +++ b/docs/models/updatedrainfilterv22.md @@ -0,0 +1,22 @@ +# UpdateDrainFilterV22 + +## Example Usage + +```typescript +import { UpdateDrainFilterV22 } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainFilterV22 = { + version: "v2", + filter: { + type: "odata", + text: "", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `version` | [models.UpdateDrainFilterV2DrainsVersion](../models/updatedrainfilterv2drainsversion.md) | :heavy_check_mark: | N/A | +| `filter` | *models.UpdateDrainFilterV2Filter* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/updatedrainfilterv2drains1.md b/docs/models/updatedrainfilterv2drains1.md new file mode 100644 index 000000000..f11381b65 --- /dev/null +++ b/docs/models/updatedrainfilterv2drains1.md @@ -0,0 +1,17 @@ +# UpdateDrainFilterV2Drains1 + +## Example Usage + +```typescript +import { UpdateDrainFilterV2Drains1 } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainFilterV2Drains1 = { + version: "v1", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | +| `version` | [models.UpdateDrainFilterV2DrainsResponseVersion](../models/updatedrainfilterv2drainsresponseversion.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/updatedrainfilterv2drains2.md b/docs/models/updatedrainfilterv2drains2.md new file mode 100644 index 000000000..a271fc257 --- /dev/null +++ b/docs/models/updatedrainfilterv2drains2.md @@ -0,0 +1,21 @@ +# UpdateDrainFilterV2Drains2 + +## Example Usage + +```typescript +import { UpdateDrainFilterV2Drains2 } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainFilterV2Drains2 = { + version: "v2", + filter: { + type: "basic", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | +| `version` | [models.UpdateDrainFilterV2DrainsResponse200Version](../models/updatedrainfilterv2drainsresponse200version.md) | :heavy_check_mark: | N/A | +| `filter` | *models.UpdateDrainFilterV2DrainsFilter* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/updatedrainfilterv2drainsfilter.md b/docs/models/updatedrainfilterv2drainsfilter.md new file mode 100644 index 000000000..ae8324b12 --- /dev/null +++ b/docs/models/updatedrainfilterv2drainsfilter.md @@ -0,0 +1,22 @@ +# UpdateDrainFilterV2DrainsFilter + + +## Supported Types + +### `models.UpdateDrainFilterDrainsResponse1` + +```typescript +const value: models.UpdateDrainFilterDrainsResponse1 = { + type: "basic", +}; +``` + +### `models.UpdateDrainFilterDrainsResponse2002` + +```typescript +const value: models.UpdateDrainFilterDrainsResponse2002 = { + type: "odata", + text: "", +}; +``` + diff --git a/docs/models/updatedrainfilterv2drainsresponse200version.md b/docs/models/updatedrainfilterv2drainsresponse200version.md new file mode 100644 index 000000000..ad5e9eeae --- /dev/null +++ b/docs/models/updatedrainfilterv2drainsresponse200version.md @@ -0,0 +1,15 @@ +# UpdateDrainFilterV2DrainsResponse200Version + +## Example Usage + +```typescript +import { UpdateDrainFilterV2DrainsResponse200Version } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainFilterV2DrainsResponse200Version = "v2"; +``` + +## Values + +```typescript +"v2" +``` \ No newline at end of file diff --git a/docs/models/updatedrainfilterv2drainsresponseversion.md b/docs/models/updatedrainfilterv2drainsresponseversion.md new file mode 100644 index 000000000..ae1ba27c2 --- /dev/null +++ b/docs/models/updatedrainfilterv2drainsresponseversion.md @@ -0,0 +1,15 @@ +# UpdateDrainFilterV2DrainsResponseVersion + +## Example Usage + +```typescript +import { UpdateDrainFilterV2DrainsResponseVersion } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainFilterV2DrainsResponseVersion = "v1"; +``` + +## Values + +```typescript +"v1" +``` \ No newline at end of file diff --git a/docs/models/updatedrainfilterv2drainsversion.md b/docs/models/updatedrainfilterv2drainsversion.md new file mode 100644 index 000000000..0ff1f1fc0 --- /dev/null +++ b/docs/models/updatedrainfilterv2drainsversion.md @@ -0,0 +1,15 @@ +# UpdateDrainFilterV2DrainsVersion + +## Example Usage + +```typescript +import { UpdateDrainFilterV2DrainsVersion } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainFilterV2DrainsVersion = "v2"; +``` + +## Values + +```typescript +"v2" +``` \ No newline at end of file diff --git a/docs/models/updatedrainfilterv2filter.md b/docs/models/updatedrainfilterv2filter.md new file mode 100644 index 000000000..6e25b72a1 --- /dev/null +++ b/docs/models/updatedrainfilterv2filter.md @@ -0,0 +1,22 @@ +# UpdateDrainFilterV2Filter + + +## Supported Types + +### `models.UpdateDrainFilterDrains1` + +```typescript +const value: models.UpdateDrainFilterDrains1 = { + type: "basic", +}; +``` + +### `models.UpdateDrainFilterDrainsResponse2` + +```typescript +const value: models.UpdateDrainFilterDrainsResponse2 = { + type: "odata", + text: "", +}; +``` + diff --git a/docs/models/updatedrainfilterv2version.md b/docs/models/updatedrainfilterv2version.md new file mode 100644 index 000000000..c9060c395 --- /dev/null +++ b/docs/models/updatedrainfilterv2version.md @@ -0,0 +1,15 @@ +# UpdateDrainFilterV2Version + +## Example Usage + +```typescript +import { UpdateDrainFilterV2Version } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainFilterV2Version = "v1"; +``` + +## Values + +```typescript +"v1" +``` \ No newline at end of file diff --git a/docs/models/updatedrainprojects.md b/docs/models/updatedrainprojects.md new file mode 100644 index 000000000..8609a859e --- /dev/null +++ b/docs/models/updatedrainprojects.md @@ -0,0 +1,15 @@ +# UpdateDrainProjects + +## Example Usage + +```typescript +import { UpdateDrainProjects } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainProjects = "some"; +``` + +## Values + +```typescript +"some" | "all" +``` \ No newline at end of file diff --git a/docs/models/updatedrainrequest.md b/docs/models/updatedrainrequest.md new file mode 100644 index 000000000..3496ee2df --- /dev/null +++ b/docs/models/updatedrainrequest.md @@ -0,0 +1,22 @@ +# UpdateDrainRequest + +## Example Usage + +```typescript +import { UpdateDrainRequest } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainRequest = { + id: "", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + slug: "my-team-url-slug", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | N/A | | +| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | team_1a2b3c4d5e6f7g8h9i0j1k2l | +| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | my-team-url-slug | +| `requestBody` | [models.UpdateDrainRequestBody](../models/updatedrainrequestbody.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/updatedrainrequestbody.md b/docs/models/updatedrainrequestbody.md new file mode 100644 index 000000000..2723227c1 --- /dev/null +++ b/docs/models/updatedrainrequestbody.md @@ -0,0 +1,24 @@ +# UpdateDrainRequestBody + +## Example Usage + +```typescript +import { UpdateDrainRequestBody } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainRequestBody = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `name` | *string* | :heavy_minus_sign: | N/A | +| `projects` | [models.UpdateDrainProjects](../models/updatedrainprojects.md) | :heavy_minus_sign: | N/A | +| `projectIds` | *string*[] | :heavy_minus_sign: | N/A | +| `filter` | *models.UpdateDrainFilter* | :heavy_minus_sign: | N/A | +| `schemas` | Record | :heavy_minus_sign: | N/A | +| `delivery` | *models.UpdateDrainDelivery* | :heavy_minus_sign: | N/A | +| `sampling` | [models.UpdateDrainSampling](../models/updatedrainsampling.md)[] | :heavy_minus_sign: | N/A | +| `transforms` | [models.UpdateDrainTransforms](../models/updatedraintransforms.md)[] | :heavy_minus_sign: | N/A | +| `status` | [models.UpdateDrainStatus](../models/updatedrainstatus.md) | :heavy_minus_sign: | N/A | +| `source` | *models.UpdateDrainSource* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/updatedrainresponsebody.md b/docs/models/updatedrainresponsebody.md new file mode 100644 index 000000000..69f04aa60 --- /dev/null +++ b/docs/models/updatedrainresponsebody.md @@ -0,0 +1,39 @@ +# UpdateDrainResponseBody + + +## Supported Types + +### `models.UpdateDrainResponseBody1` + +```typescript +const value: models.UpdateDrainResponseBody1 = { + id: "", + ownerId: "", + name: "", + createdAt: 2996.75, + updatedAt: 9500.11, + source: { + kind: "integration", + integrationId: "", + integrationConfigurationId: "", + }, +}; +``` + +### `models.UpdateDrainResponseBody2` + +```typescript +const value: models.UpdateDrainResponseBody2 = { + id: "", + ownerId: "", + name: "", + createdAt: 7836.46, + updatedAt: 3329.98, + source: { + kind: "integration", + integrationId: "", + integrationConfigurationId: "", + }, +}; +``` + diff --git a/docs/models/updatedrainresponsebody1.md b/docs/models/updatedrainresponsebody1.md new file mode 100644 index 000000000..522c18b85 --- /dev/null +++ b/docs/models/updatedrainresponsebody1.md @@ -0,0 +1,46 @@ +# UpdateDrainResponseBody1 + +## Example Usage + +```typescript +import { UpdateDrainResponseBody1 } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainResponseBody1 = { + id: "", + ownerId: "", + name: "", + createdAt: 2996.75, + updatedAt: 9500.11, + source: { + kind: "integration", + integrationId: "", + integrationConfigurationId: "", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | N/A | +| `ownerId` | *string* | :heavy_check_mark: | N/A | +| `name` | *string* | :heavy_check_mark: | N/A | +| `createdAt` | *number* | :heavy_check_mark: | N/A | +| `createdFrom` | [models.UpdateDrainResponseBodyCreatedFrom](../models/updatedrainresponsebodycreatedfrom.md) | :heavy_minus_sign: | N/A | +| `updatedAt` | *number* | :heavy_check_mark: | N/A | +| `projectIds` | *string*[] | :heavy_minus_sign: | N/A | +| `schemas` | [models.UpdateDrainResponseBodySchemas](../models/updatedrainresponsebodyschemas.md) | :heavy_minus_sign: | N/A | +| `delivery` | *models.UpdateDrainResponseBodyDelivery* | :heavy_minus_sign: | N/A | +| `sampling` | [models.UpdateDrainResponseBodySampling](../models/updatedrainresponsebodysampling.md)[] | :heavy_minus_sign: | N/A | +| `teamId` | *string* | :heavy_minus_sign: | N/A | +| `status` | [models.UpdateDrainResponseBodyStatus](../models/updatedrainresponsebodystatus.md) | :heavy_minus_sign: | N/A | +| `disabledAt` | *number* | :heavy_minus_sign: | N/A | +| `disabledReason` | [models.UpdateDrainResponseBodyDisabledReason](../models/updatedrainresponsebodydisabledreason.md) | :heavy_minus_sign: | N/A | +| `disabledBy` | *string* | :heavy_minus_sign: | N/A | +| `firstErrorTimestamp` | *number* | :heavy_minus_sign: | N/A | +| `configurationId` | *string* | :heavy_minus_sign: | N/A | +| `clientId` | *string* | :heavy_minus_sign: | N/A | +| `source` | *models.UpdateDrainResponseBodySource* | :heavy_check_mark: | N/A | +| `filter` | *string* | :heavy_minus_sign: | N/A | +| `filterV2` | *models.UpdateDrainResponseBodyFilterV2* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/updatedrainresponsebody2.md b/docs/models/updatedrainresponsebody2.md new file mode 100644 index 000000000..3e923f0f9 --- /dev/null +++ b/docs/models/updatedrainresponsebody2.md @@ -0,0 +1,50 @@ +# UpdateDrainResponseBody2 + +## Example Usage + +```typescript +import { UpdateDrainResponseBody2 } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainResponseBody2 = { + id: "", + ownerId: "", + name: "", + createdAt: 7836.46, + updatedAt: 3329.98, + source: { + kind: "integration", + integrationId: "", + integrationConfigurationId: "", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | N/A | +| `ownerId` | *string* | :heavy_check_mark: | N/A | +| `name` | *string* | :heavy_check_mark: | N/A | +| `createdAt` | *number* | :heavy_check_mark: | N/A | +| `createdFrom` | [models.UpdateDrainResponseBodyDrainsCreatedFrom](../models/updatedrainresponsebodydrainscreatedfrom.md) | :heavy_minus_sign: | N/A | +| `updatedAt` | *number* | :heavy_check_mark: | N/A | +| `projectIds` | *string*[] | :heavy_minus_sign: | N/A | +| `schemas` | [models.UpdateDrainResponseBodyDrainsSchemas](../models/updatedrainresponsebodydrainsschemas.md) | :heavy_minus_sign: | N/A | +| `delivery` | *models.UpdateDrainResponseBodyDrainsDelivery* | :heavy_minus_sign: | N/A | +| `sampling` | [models.UpdateDrainResponseBodyDrainsSampling](../models/updatedrainresponsebodydrainssampling.md)[] | :heavy_minus_sign: | N/A | +| `teamId` | *string* | :heavy_minus_sign: | N/A | +| `status` | [models.UpdateDrainResponseBodyDrainsStatus](../models/updatedrainresponsebodydrainsstatus.md) | :heavy_minus_sign: | N/A | +| `disabledAt` | *number* | :heavy_minus_sign: | N/A | +| `disabledReason` | [models.UpdateDrainResponseBodyDrainsDisabledReason](../models/updatedrainresponsebodydrainsdisabledreason.md) | :heavy_minus_sign: | N/A | +| `disabledBy` | *string* | :heavy_minus_sign: | N/A | +| `firstErrorTimestamp` | *number* | :heavy_minus_sign: | N/A | +| `configurationId` | *string* | :heavy_minus_sign: | N/A | +| `clientId` | *string* | :heavy_minus_sign: | N/A | +| `source` | *models.UpdateDrainResponseBodyDrainsSource* | :heavy_check_mark: | N/A | +| `filter` | *string* | :heavy_minus_sign: | N/A | +| `filterV2` | *models.UpdateDrainResponseBodyDrainsFilterV2* | :heavy_minus_sign: | N/A | +| `integrationIcon` | *string* | :heavy_minus_sign: | N/A | +| `integrationConfigurationUri` | *string* | :heavy_minus_sign: | N/A | +| `integrationWebsite` | *string* | :heavy_minus_sign: | N/A | +| `projectsMetadata` | [models.UpdateDrainResponseBodyProjectsMetadata](../models/updatedrainresponsebodyprojectsmetadata.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/updatedrainresponsebodyanalytics.md b/docs/models/updatedrainresponsebodyanalytics.md new file mode 100644 index 000000000..596975574 --- /dev/null +++ b/docs/models/updatedrainresponsebodyanalytics.md @@ -0,0 +1,14 @@ +# UpdateDrainResponseBodyAnalytics + +## Example Usage + +```typescript +import { UpdateDrainResponseBodyAnalytics } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainResponseBodyAnalytics = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/updatedrainresponsebodycreatedfrom.md b/docs/models/updatedrainresponsebodycreatedfrom.md new file mode 100644 index 000000000..640b696b5 --- /dev/null +++ b/docs/models/updatedrainresponsebodycreatedfrom.md @@ -0,0 +1,15 @@ +# UpdateDrainResponseBodyCreatedFrom + +## Example Usage + +```typescript +import { UpdateDrainResponseBodyCreatedFrom } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainResponseBodyCreatedFrom = "self-served"; +``` + +## Values + +```typescript +"self-served" | "integration" +``` \ No newline at end of file diff --git a/docs/models/updatedrainresponsebodydelivery.md b/docs/models/updatedrainresponsebodydelivery.md new file mode 100644 index 000000000..5caeab3c5 --- /dev/null +++ b/docs/models/updatedrainresponsebodydelivery.md @@ -0,0 +1,56 @@ +# UpdateDrainResponseBodyDelivery + + +## Supported Types + +### `models.UpdateDrainDeliveryDrains1` + +```typescript +const value: models.UpdateDrainDeliveryDrains1 = { + type: "http", + endpoint: "", + encoding: "json", + headers: { + "key": "", + "key1": "", + "key2": "", + }, +}; +``` + +### `models.UpdateDrainDeliveryDrains2` + +```typescript +const value: models.UpdateDrainDeliveryDrains2 = { + type: "otlphttp", + endpoint: { + traces: "", + }, + encoding: "proto", + headers: { + "key": "", + "key1": "", + "key2": "", + }, +}; +``` + +### `models.UpdateDrainDelivery3` + +```typescript +const value: models.UpdateDrainDelivery3 = { + type: "clickhouse", + endpoint: "", + table: "", +}; +``` + +### `models.UpdateDrainDelivery4` + +```typescript +const value: models.UpdateDrainDelivery4 = { + type: "internal", + target: "vercel-otel-traces-db", +}; +``` + diff --git a/docs/models/updatedrainresponsebodydisabledreason.md b/docs/models/updatedrainresponsebodydisabledreason.md new file mode 100644 index 000000000..2d919bdee --- /dev/null +++ b/docs/models/updatedrainresponsebodydisabledreason.md @@ -0,0 +1,15 @@ +# UpdateDrainResponseBodyDisabledReason + +## Example Usage + +```typescript +import { UpdateDrainResponseBodyDisabledReason } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainResponseBodyDisabledReason = "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/updatedrainresponsebodydrainsanalytics.md b/docs/models/updatedrainresponsebodydrainsanalytics.md new file mode 100644 index 000000000..11b610b79 --- /dev/null +++ b/docs/models/updatedrainresponsebodydrainsanalytics.md @@ -0,0 +1,14 @@ +# UpdateDrainResponseBodyDrainsAnalytics + +## Example Usage + +```typescript +import { UpdateDrainResponseBodyDrainsAnalytics } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainResponseBodyDrainsAnalytics = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/updatedrainresponsebodydrainscreatedfrom.md b/docs/models/updatedrainresponsebodydrainscreatedfrom.md new file mode 100644 index 000000000..ecc34b163 --- /dev/null +++ b/docs/models/updatedrainresponsebodydrainscreatedfrom.md @@ -0,0 +1,15 @@ +# UpdateDrainResponseBodyDrainsCreatedFrom + +## Example Usage + +```typescript +import { UpdateDrainResponseBodyDrainsCreatedFrom } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainResponseBodyDrainsCreatedFrom = "self-served"; +``` + +## Values + +```typescript +"self-served" | "integration" +``` \ No newline at end of file diff --git a/docs/models/updatedrainresponsebodydrainsdelivery.md b/docs/models/updatedrainresponsebodydrainsdelivery.md new file mode 100644 index 000000000..4147ac5f8 --- /dev/null +++ b/docs/models/updatedrainresponsebodydrainsdelivery.md @@ -0,0 +1,52 @@ +# UpdateDrainResponseBodyDrainsDelivery + + +## Supported Types + +### `models.UpdateDrainDeliveryDrainsResponse1` + +```typescript +const value: models.UpdateDrainDeliveryDrainsResponse1 = { + type: "http", + endpoint: "", + encoding: "json", + headers: { + "key": "", + }, +}; +``` + +### `models.UpdateDrainDeliveryDrainsResponse2` + +```typescript +const value: models.UpdateDrainDeliveryDrainsResponse2 = { + type: "otlphttp", + endpoint: { + traces: "", + }, + encoding: "json", + headers: { + "key": "", + }, +}; +``` + +### `models.UpdateDrainDeliveryDrains3` + +```typescript +const value: models.UpdateDrainDeliveryDrains3 = { + type: "clickhouse", + endpoint: "", + table: "", +}; +``` + +### `models.UpdateDrainDeliveryDrains4` + +```typescript +const value: models.UpdateDrainDeliveryDrains4 = { + type: "internal", + target: "vercel-otel-traces-db", +}; +``` + diff --git a/docs/models/updatedrainresponsebodydrainsdisabledreason.md b/docs/models/updatedrainresponsebodydrainsdisabledreason.md new file mode 100644 index 000000000..0602521a7 --- /dev/null +++ b/docs/models/updatedrainresponsebodydrainsdisabledreason.md @@ -0,0 +1,16 @@ +# UpdateDrainResponseBodyDrainsDisabledReason + +## Example Usage + +```typescript +import { UpdateDrainResponseBodyDrainsDisabledReason } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainResponseBodyDrainsDisabledReason = + "account-plan-downgrade"; +``` + +## 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/updatedrainresponsebodydrainsenv.md b/docs/models/updatedrainresponsebodydrainsenv.md new file mode 100644 index 000000000..1beb76581 --- /dev/null +++ b/docs/models/updatedrainresponsebodydrainsenv.md @@ -0,0 +1,15 @@ +# UpdateDrainResponseBodyDrainsEnv + +## Example Usage + +```typescript +import { UpdateDrainResponseBodyDrainsEnv } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainResponseBodyDrainsEnv = "preview"; +``` + +## Values + +```typescript +"production" | "preview" +``` \ No newline at end of file diff --git a/docs/models/updatedrainresponsebodydrainsfilterv2.md b/docs/models/updatedrainresponsebodydrainsfilterv2.md new file mode 100644 index 000000000..9f2a72935 --- /dev/null +++ b/docs/models/updatedrainresponsebodydrainsfilterv2.md @@ -0,0 +1,24 @@ +# UpdateDrainResponseBodyDrainsFilterV2 + + +## Supported Types + +### `models.UpdateDrainFilterV2Drains1` + +```typescript +const value: models.UpdateDrainFilterV2Drains1 = { + version: "v1", +}; +``` + +### `models.UpdateDrainFilterV2Drains2` + +```typescript +const value: models.UpdateDrainFilterV2Drains2 = { + version: "v2", + filter: { + type: "basic", + }, +}; +``` + diff --git a/docs/models/updatedrainresponsebodydrainslog.md b/docs/models/updatedrainresponsebodydrainslog.md new file mode 100644 index 000000000..b82c21ecc --- /dev/null +++ b/docs/models/updatedrainresponsebodydrainslog.md @@ -0,0 +1,14 @@ +# UpdateDrainResponseBodyDrainsLog + +## Example Usage + +```typescript +import { UpdateDrainResponseBodyDrainsLog } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainResponseBodyDrainsLog = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/updatedrainresponsebodydrainssampling.md b/docs/models/updatedrainresponsebodydrainssampling.md new file mode 100644 index 000000000..8f503965f --- /dev/null +++ b/docs/models/updatedrainresponsebodydrainssampling.md @@ -0,0 +1,21 @@ +# UpdateDrainResponseBodyDrainsSampling + +## Example Usage + +```typescript +import { UpdateDrainResponseBodyDrainsSampling } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainResponseBodyDrainsSampling = { + type: "head_sampling", + rate: 3801.99, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `type` | [models.UpdateDrainResponseBodyDrainsType](../models/updatedrainresponsebodydrainstype.md) | :heavy_check_mark: | N/A | +| `rate` | *number* | :heavy_check_mark: | N/A | +| `env` | [models.UpdateDrainResponseBodyDrainsEnv](../models/updatedrainresponsebodydrainsenv.md) | :heavy_minus_sign: | N/A | +| `requestPath` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/updatedrainresponsebodydrainsschemas.md b/docs/models/updatedrainresponsebodydrainsschemas.md new file mode 100644 index 000000000..23b4fd26b --- /dev/null +++ b/docs/models/updatedrainresponsebodydrainsschemas.md @@ -0,0 +1,18 @@ +# UpdateDrainResponseBodyDrainsSchemas + +## Example Usage + +```typescript +import { UpdateDrainResponseBodyDrainsSchemas } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainResponseBodyDrainsSchemas = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | +| `log` | [models.UpdateDrainResponseBodyDrainsLog](../models/updatedrainresponsebodydrainslog.md) | :heavy_minus_sign: | N/A | +| `trace` | [models.UpdateDrainResponseBodyDrainsTrace](../models/updatedrainresponsebodydrainstrace.md) | :heavy_minus_sign: | N/A | +| `analytics` | [models.UpdateDrainResponseBodyDrainsAnalytics](../models/updatedrainresponsebodydrainsanalytics.md) | :heavy_minus_sign: | N/A | +| `speedInsights` | [models.UpdateDrainResponseBodyDrainsSpeedInsights](../models/updatedrainresponsebodydrainsspeedinsights.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/updatedrainresponsebodydrainssource.md b/docs/models/updatedrainresponsebodydrainssource.md new file mode 100644 index 000000000..796579ceb --- /dev/null +++ b/docs/models/updatedrainresponsebodydrainssource.md @@ -0,0 +1,23 @@ +# UpdateDrainResponseBodyDrainsSource + + +## Supported Types + +### `models.UpdateDrainSourceDrainsResponse1` + +```typescript +const value: models.UpdateDrainSourceDrainsResponse1 = { + kind: "self-served", +}; +``` + +### `models.UpdateDrainSourceDrainsResponse2` + +```typescript +const value: models.UpdateDrainSourceDrainsResponse2 = { + kind: "integration", + integrationId: "", + integrationConfigurationId: "", +}; +``` + diff --git a/docs/models/updatedrainresponsebodydrainsspeedinsights.md b/docs/models/updatedrainresponsebodydrainsspeedinsights.md new file mode 100644 index 000000000..80f0d1e8d --- /dev/null +++ b/docs/models/updatedrainresponsebodydrainsspeedinsights.md @@ -0,0 +1,14 @@ +# UpdateDrainResponseBodyDrainsSpeedInsights + +## Example Usage + +```typescript +import { UpdateDrainResponseBodyDrainsSpeedInsights } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainResponseBodyDrainsSpeedInsights = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/updatedrainresponsebodydrainsstatus.md b/docs/models/updatedrainresponsebodydrainsstatus.md new file mode 100644 index 000000000..934e6fc21 --- /dev/null +++ b/docs/models/updatedrainresponsebodydrainsstatus.md @@ -0,0 +1,15 @@ +# UpdateDrainResponseBodyDrainsStatus + +## Example Usage + +```typescript +import { UpdateDrainResponseBodyDrainsStatus } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainResponseBodyDrainsStatus = "errored"; +``` + +## Values + +```typescript +"enabled" | "disabled" | "errored" +``` \ No newline at end of file diff --git a/docs/models/updatedrainresponsebodydrainstrace.md b/docs/models/updatedrainresponsebodydrainstrace.md new file mode 100644 index 000000000..7d24441b6 --- /dev/null +++ b/docs/models/updatedrainresponsebodydrainstrace.md @@ -0,0 +1,14 @@ +# UpdateDrainResponseBodyDrainsTrace + +## Example Usage + +```typescript +import { UpdateDrainResponseBodyDrainsTrace } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainResponseBodyDrainsTrace = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/updatedrainresponsebodydrainstype.md b/docs/models/updatedrainresponsebodydrainstype.md new file mode 100644 index 000000000..dc4ad34c3 --- /dev/null +++ b/docs/models/updatedrainresponsebodydrainstype.md @@ -0,0 +1,15 @@ +# UpdateDrainResponseBodyDrainsType + +## Example Usage + +```typescript +import { UpdateDrainResponseBodyDrainsType } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainResponseBodyDrainsType = "head_sampling"; +``` + +## Values + +```typescript +"head_sampling" +``` \ No newline at end of file diff --git a/docs/models/updatedrainresponsebodyenv.md b/docs/models/updatedrainresponsebodyenv.md new file mode 100644 index 000000000..6729ddc03 --- /dev/null +++ b/docs/models/updatedrainresponsebodyenv.md @@ -0,0 +1,15 @@ +# UpdateDrainResponseBodyEnv + +## Example Usage + +```typescript +import { UpdateDrainResponseBodyEnv } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainResponseBodyEnv = "preview"; +``` + +## Values + +```typescript +"production" | "preview" +``` \ No newline at end of file diff --git a/docs/models/updatedrainresponsebodyfilterv2.md b/docs/models/updatedrainresponsebodyfilterv2.md new file mode 100644 index 000000000..5d237fd01 --- /dev/null +++ b/docs/models/updatedrainresponsebodyfilterv2.md @@ -0,0 +1,25 @@ +# UpdateDrainResponseBodyFilterV2 + + +## Supported Types + +### `models.UpdateDrainFilterV21` + +```typescript +const value: models.UpdateDrainFilterV21 = { + version: "v1", +}; +``` + +### `models.UpdateDrainFilterV22` + +```typescript +const value: models.UpdateDrainFilterV22 = { + version: "v2", + filter: { + type: "odata", + text: "", + }, +}; +``` + diff --git a/docs/models/updatedrainresponsebodyframework.md b/docs/models/updatedrainresponsebodyframework.md new file mode 100644 index 000000000..fb0ad69c3 --- /dev/null +++ b/docs/models/updatedrainresponsebodyframework.md @@ -0,0 +1,15 @@ +# UpdateDrainResponseBodyFramework + +## Example Usage + +```typescript +import { UpdateDrainResponseBodyFramework } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainResponseBodyFramework = "remix"; +``` + +## Values + +```typescript +"blitzjs" | "nextjs" | "gatsby" | "remix" | "react-router" | "astro" | "hexo" | "eleventy" | "docusaurus-2" | "docusaurus" | "preact" | "solidstart-1" | "solidstart" | "dojo" | "ember" | "vue" | "scully" | "ionic-angular" | "angular" | "polymer" | "svelte" | "sveltekit" | "sveltekit-1" | "ionic-react" | "create-react-app" | "gridsome" | "umijs" | "sapper" | "saber" | "stencil" | "nuxtjs" | "redwoodjs" | "hugo" | "jekyll" | "brunch" | "middleman" | "zola" | "hydrogen" | "vite" | "tanstack-start" | "vitepress" | "vuepress" | "parcel" | "fastapi" | "flask" | "fasthtml" | "sanity-v3" | "sanity" | "storybook" | "nitro" | "hono" | "express" | "h3" | "nestjs" | "elysia" | "fastify" | "xmcp" +``` \ No newline at end of file diff --git a/docs/models/updatedrainresponsebodylog.md b/docs/models/updatedrainresponsebodylog.md new file mode 100644 index 000000000..0f500a1e7 --- /dev/null +++ b/docs/models/updatedrainresponsebodylog.md @@ -0,0 +1,14 @@ +# UpdateDrainResponseBodyLog + +## Example Usage + +```typescript +import { UpdateDrainResponseBodyLog } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainResponseBodyLog = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/updatedrainresponsebodyprojectsmetadata.md b/docs/models/updatedrainresponsebodyprojectsmetadata.md new file mode 100644 index 000000000..bcfdc7d74 --- /dev/null +++ b/docs/models/updatedrainresponsebodyprojectsmetadata.md @@ -0,0 +1,21 @@ +# UpdateDrainResponseBodyProjectsMetadata + +## Example Usage + +```typescript +import { UpdateDrainResponseBodyProjectsMetadata } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainResponseBodyProjectsMetadata = { + id: "", + name: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `id` | *string* | :heavy_check_mark: | N/A | +| `name` | *string* | :heavy_check_mark: | N/A | +| `framework` | [models.UpdateDrainResponseBodyFramework](../models/updatedrainresponsebodyframework.md) | :heavy_minus_sign: | N/A | +| `latestDeployment` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/updatedrainresponsebodysampling.md b/docs/models/updatedrainresponsebodysampling.md new file mode 100644 index 000000000..3bd36554a --- /dev/null +++ b/docs/models/updatedrainresponsebodysampling.md @@ -0,0 +1,21 @@ +# UpdateDrainResponseBodySampling + +## Example Usage + +```typescript +import { UpdateDrainResponseBodySampling } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainResponseBodySampling = { + type: "head_sampling", + rate: 9851.33, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `type` | [models.UpdateDrainResponseBodyType](../models/updatedrainresponsebodytype.md) | :heavy_check_mark: | N/A | +| `rate` | *number* | :heavy_check_mark: | N/A | +| `env` | [models.UpdateDrainResponseBodyEnv](../models/updatedrainresponsebodyenv.md) | :heavy_minus_sign: | N/A | +| `requestPath` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/updatedrainresponsebodyschemas.md b/docs/models/updatedrainresponsebodyschemas.md new file mode 100644 index 000000000..bd18f88e9 --- /dev/null +++ b/docs/models/updatedrainresponsebodyschemas.md @@ -0,0 +1,18 @@ +# UpdateDrainResponseBodySchemas + +## Example Usage + +```typescript +import { UpdateDrainResponseBodySchemas } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainResponseBodySchemas = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | +| `log` | [models.UpdateDrainResponseBodyLog](../models/updatedrainresponsebodylog.md) | :heavy_minus_sign: | N/A | +| `trace` | [models.UpdateDrainResponseBodyTrace](../models/updatedrainresponsebodytrace.md) | :heavy_minus_sign: | N/A | +| `analytics` | [models.UpdateDrainResponseBodyAnalytics](../models/updatedrainresponsebodyanalytics.md) | :heavy_minus_sign: | N/A | +| `speedInsights` | [models.UpdateDrainResponseBodySpeedInsights](../models/updatedrainresponsebodyspeedinsights.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/updatedrainresponsebodysource.md b/docs/models/updatedrainresponsebodysource.md new file mode 100644 index 000000000..89684f7b0 --- /dev/null +++ b/docs/models/updatedrainresponsebodysource.md @@ -0,0 +1,23 @@ +# UpdateDrainResponseBodySource + + +## Supported Types + +### `models.UpdateDrainSourceDrains1` + +```typescript +const value: models.UpdateDrainSourceDrains1 = { + kind: "self-served", +}; +``` + +### `models.UpdateDrainSourceDrains2` + +```typescript +const value: models.UpdateDrainSourceDrains2 = { + kind: "integration", + integrationId: "", + integrationConfigurationId: "", +}; +``` + diff --git a/docs/models/updatedrainresponsebodyspeedinsights.md b/docs/models/updatedrainresponsebodyspeedinsights.md new file mode 100644 index 000000000..b55f071a8 --- /dev/null +++ b/docs/models/updatedrainresponsebodyspeedinsights.md @@ -0,0 +1,14 @@ +# UpdateDrainResponseBodySpeedInsights + +## Example Usage + +```typescript +import { UpdateDrainResponseBodySpeedInsights } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainResponseBodySpeedInsights = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/updatedrainresponsebodystatus.md b/docs/models/updatedrainresponsebodystatus.md new file mode 100644 index 000000000..9a1dbc989 --- /dev/null +++ b/docs/models/updatedrainresponsebodystatus.md @@ -0,0 +1,15 @@ +# UpdateDrainResponseBodyStatus + +## Example Usage + +```typescript +import { UpdateDrainResponseBodyStatus } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainResponseBodyStatus = "enabled"; +``` + +## Values + +```typescript +"enabled" | "disabled" | "errored" +``` \ No newline at end of file diff --git a/docs/models/updatedrainresponsebodytrace.md b/docs/models/updatedrainresponsebodytrace.md new file mode 100644 index 000000000..c5a9fdd28 --- /dev/null +++ b/docs/models/updatedrainresponsebodytrace.md @@ -0,0 +1,14 @@ +# UpdateDrainResponseBodyTrace + +## Example Usage + +```typescript +import { UpdateDrainResponseBodyTrace } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainResponseBodyTrace = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/updatedrainresponsebodytype.md b/docs/models/updatedrainresponsebodytype.md new file mode 100644 index 000000000..64389a8bd --- /dev/null +++ b/docs/models/updatedrainresponsebodytype.md @@ -0,0 +1,15 @@ +# UpdateDrainResponseBodyType + +## Example Usage + +```typescript +import { UpdateDrainResponseBodyType } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainResponseBodyType = "head_sampling"; +``` + +## Values + +```typescript +"head_sampling" +``` \ No newline at end of file diff --git a/docs/models/updatedrainsampling.md b/docs/models/updatedrainsampling.md new file mode 100644 index 000000000..de7f2e3a0 --- /dev/null +++ b/docs/models/updatedrainsampling.md @@ -0,0 +1,21 @@ +# UpdateDrainSampling + +## Example Usage + +```typescript +import { UpdateDrainSampling } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainSampling = { + type: "", + rate: 5155.52, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | +| `type` | *string* | :heavy_check_mark: | N/A | +| `rate` | *number* | :heavy_check_mark: | Sampling rate from 0 to 1 (e.g., 0.1 for 10%) | +| `env` | [models.UpdateDrainEnv](../models/updatedrainenv.md) | :heavy_minus_sign: | Environment to apply sampling to | +| `requestPath` | *string* | :heavy_minus_sign: | Request path prefix to apply the sampling rule to | \ No newline at end of file diff --git a/docs/models/updatedrainschemas.md b/docs/models/updatedrainschemas.md new file mode 100644 index 000000000..287c03d02 --- /dev/null +++ b/docs/models/updatedrainschemas.md @@ -0,0 +1,17 @@ +# UpdateDrainSchemas + +## Example Usage + +```typescript +import { UpdateDrainSchemas } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainSchemas = { + version: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `version` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/updatedrainsource.md b/docs/models/updatedrainsource.md new file mode 100644 index 000000000..c8b347953 --- /dev/null +++ b/docs/models/updatedrainsource.md @@ -0,0 +1,20 @@ +# UpdateDrainSource + + +## Supported Types + +### `models.UpdateDrainSource1` + +```typescript +const value: models.UpdateDrainSource1 = { + kind: "integration", + externalResourceId: "", +}; +``` + +### `models.UpdateDrainSource2` + +```typescript +const value: models.UpdateDrainSource2 = {}; +``` + diff --git a/docs/models/updatedrainsource1.md b/docs/models/updatedrainsource1.md new file mode 100644 index 000000000..86715d33b --- /dev/null +++ b/docs/models/updatedrainsource1.md @@ -0,0 +1,27 @@ +# UpdateDrainSource1 + + +## Supported Types + +### `models.UpdateDrain11` + +```typescript +const value: models.UpdateDrain11 = { + externalResourceId: "", +}; +``` + +### `models.UpdateDrain12` + +```typescript +const value: models.UpdateDrain12 = { + resourceId: "", +}; +``` + +### `models.UpdateDrain13` + +```typescript +const value: models.UpdateDrain13 = {}; +``` + diff --git a/docs/models/updatedrainsource2.md b/docs/models/updatedrainsource2.md new file mode 100644 index 000000000..208a3b041 --- /dev/null +++ b/docs/models/updatedrainsource2.md @@ -0,0 +1,15 @@ +# UpdateDrainSource2 + +## Example Usage + +```typescript +import { UpdateDrainSource2 } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainSource2 = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `kind` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/updatedrainsourcedrains1.md b/docs/models/updatedrainsourcedrains1.md new file mode 100644 index 000000000..7a32bd3e0 --- /dev/null +++ b/docs/models/updatedrainsourcedrains1.md @@ -0,0 +1,17 @@ +# UpdateDrainSourceDrains1 + +## Example Usage + +```typescript +import { UpdateDrainSourceDrains1 } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainSourceDrains1 = { + kind: "self-served", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `kind` | [models.UpdateDrainSourceKind](../models/updatedrainsourcekind.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/updatedrainsourcedrains2.md b/docs/models/updatedrainsourcedrains2.md new file mode 100644 index 000000000..3f28d2f37 --- /dev/null +++ b/docs/models/updatedrainsourcedrains2.md @@ -0,0 +1,23 @@ +# UpdateDrainSourceDrains2 + +## Example Usage + +```typescript +import { UpdateDrainSourceDrains2 } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainSourceDrains2 = { + kind: "integration", + integrationId: "", + integrationConfigurationId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `kind` | [models.UpdateDrainSourceDrainsKind](../models/updatedrainsourcedrainskind.md) | :heavy_check_mark: | N/A | +| `resourceId` | *string* | :heavy_minus_sign: | N/A | +| `externalResourceId` | *string* | :heavy_minus_sign: | N/A | +| `integrationId` | *string* | :heavy_check_mark: | N/A | +| `integrationConfigurationId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/updatedrainsourcedrainskind.md b/docs/models/updatedrainsourcedrainskind.md new file mode 100644 index 000000000..bd6307dc6 --- /dev/null +++ b/docs/models/updatedrainsourcedrainskind.md @@ -0,0 +1,15 @@ +# UpdateDrainSourceDrainsKind + +## Example Usage + +```typescript +import { UpdateDrainSourceDrainsKind } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainSourceDrainsKind = "integration"; +``` + +## Values + +```typescript +"integration" +``` \ No newline at end of file diff --git a/docs/models/updatedrainsourcedrainsresponse1.md b/docs/models/updatedrainsourcedrainsresponse1.md new file mode 100644 index 000000000..12b7db2df --- /dev/null +++ b/docs/models/updatedrainsourcedrainsresponse1.md @@ -0,0 +1,17 @@ +# UpdateDrainSourceDrainsResponse1 + +## Example Usage + +```typescript +import { UpdateDrainSourceDrainsResponse1 } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainSourceDrainsResponse1 = { + kind: "self-served", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `kind` | [models.UpdateDrainSourceDrainsResponseKind](../models/updatedrainsourcedrainsresponsekind.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/updatedrainsourcedrainsresponse2.md b/docs/models/updatedrainsourcedrainsresponse2.md new file mode 100644 index 000000000..ec1ff55c9 --- /dev/null +++ b/docs/models/updatedrainsourcedrainsresponse2.md @@ -0,0 +1,23 @@ +# UpdateDrainSourceDrainsResponse2 + +## Example Usage + +```typescript +import { UpdateDrainSourceDrainsResponse2 } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainSourceDrainsResponse2 = { + kind: "integration", + integrationId: "", + integrationConfigurationId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | +| `kind` | [models.UpdateDrainSourceDrainsResponse200Kind](../models/updatedrainsourcedrainsresponse200kind.md) | :heavy_check_mark: | N/A | +| `resourceId` | *string* | :heavy_minus_sign: | N/A | +| `externalResourceId` | *string* | :heavy_minus_sign: | N/A | +| `integrationId` | *string* | :heavy_check_mark: | N/A | +| `integrationConfigurationId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/updatedrainsourcedrainsresponse200kind.md b/docs/models/updatedrainsourcedrainsresponse200kind.md new file mode 100644 index 000000000..be1c65cbb --- /dev/null +++ b/docs/models/updatedrainsourcedrainsresponse200kind.md @@ -0,0 +1,15 @@ +# UpdateDrainSourceDrainsResponse200Kind + +## Example Usage + +```typescript +import { UpdateDrainSourceDrainsResponse200Kind } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainSourceDrainsResponse200Kind = "integration"; +``` + +## Values + +```typescript +"integration" +``` \ No newline at end of file diff --git a/docs/models/updatedrainsourcedrainsresponsekind.md b/docs/models/updatedrainsourcedrainsresponsekind.md new file mode 100644 index 000000000..76dae588d --- /dev/null +++ b/docs/models/updatedrainsourcedrainsresponsekind.md @@ -0,0 +1,15 @@ +# UpdateDrainSourceDrainsResponseKind + +## Example Usage + +```typescript +import { UpdateDrainSourceDrainsResponseKind } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainSourceDrainsResponseKind = "self-served"; +``` + +## Values + +```typescript +"self-served" +``` \ No newline at end of file diff --git a/docs/models/updatedrainsourcekind.md b/docs/models/updatedrainsourcekind.md new file mode 100644 index 000000000..b19356780 --- /dev/null +++ b/docs/models/updatedrainsourcekind.md @@ -0,0 +1,15 @@ +# UpdateDrainSourceKind + +## Example Usage + +```typescript +import { UpdateDrainSourceKind } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainSourceKind = "self-served"; +``` + +## Values + +```typescript +"self-served" +``` \ No newline at end of file diff --git a/docs/models/updatedrainstatus.md b/docs/models/updatedrainstatus.md new file mode 100644 index 000000000..de946a621 --- /dev/null +++ b/docs/models/updatedrainstatus.md @@ -0,0 +1,15 @@ +# UpdateDrainStatus + +## Example Usage + +```typescript +import { UpdateDrainStatus } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainStatus = "enabled"; +``` + +## Values + +```typescript +"enabled" | "disabled" +``` \ No newline at end of file diff --git a/docs/models/updatedraintransforms.md b/docs/models/updatedraintransforms.md new file mode 100644 index 000000000..b6bb100e9 --- /dev/null +++ b/docs/models/updatedraintransforms.md @@ -0,0 +1,17 @@ +# UpdateDrainTransforms + +## Example Usage + +```typescript +import { UpdateDrainTransforms } from "@vercel/sdk/models/updatedrainop.js"; + +let value: UpdateDrainTransforms = { + id: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `id` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/updateinstallationrequest.md b/docs/models/updateinstallationrequest.md new file mode 100644 index 000000000..1325f0b88 --- /dev/null +++ b/docs/models/updateinstallationrequest.md @@ -0,0 +1,18 @@ +# UpdateInstallationRequest + +## Example Usage + +```typescript +import { UpdateInstallationRequest } from "@vercel/sdk/models/updateinstallationop.js"; + +let value: UpdateInstallationRequest = { + integrationConfigurationId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `integrationConfigurationId` | *string* | :heavy_check_mark: | N/A | +| `requestBody` | [models.UpdateInstallationRequestBody](../models/updateinstallationrequestbody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/updateinstallationrequestbody.md b/docs/models/updateinstallationrequestbody.md new file mode 100644 index 000000000..c2fb56d22 --- /dev/null +++ b/docs/models/updateinstallationrequestbody.md @@ -0,0 +1,16 @@ +# UpdateInstallationRequestBody + +## Example Usage + +```typescript +import { UpdateInstallationRequestBody } from "@vercel/sdk/models/updateinstallationop.js"; + +let value: UpdateInstallationRequestBody = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `billingPlan` | [models.BillingPlan](../models/billingplan.md) | :heavy_minus_sign: | N/A | +| `notification` | *models.Notification* | :heavy_minus_sign: | A notification to display to your customer. Send `null` to clear the current notification. | \ No newline at end of file diff --git a/docs/models/updateinstallationtype.md b/docs/models/updateinstallationtype.md new file mode 100644 index 000000000..77a92ae17 --- /dev/null +++ b/docs/models/updateinstallationtype.md @@ -0,0 +1,15 @@ +# UpdateInstallationType + +## Example Usage + +```typescript +import { UpdateInstallationType } from "@vercel/sdk/models/updateinstallationop.js"; + +let value: UpdateInstallationType = "prepayment"; +``` + +## Values + +```typescript +"prepayment" | "subscription" +``` \ No newline at end of file diff --git a/docs/models/updateprojectabuse.md b/docs/models/updateprojectabuse.md index c6d62ecf7..a7b809763 100644 --- a/docs/models/updateprojectabuse.md +++ b/docs/models/updateprojectabuse.md @@ -27,4 +27,5 @@ let value: UpdateProjectAbuse = { | `history` | [models.UpdateProjectHistory](../models/updateprojecthistory.md)[] | :heavy_check_mark: | N/A | | `updatedAt` | *number* | :heavy_check_mark: | N/A | | `block` | [models.UpdateProjectBlock](../models/updateprojectblock.md) | :heavy_minus_sign: | N/A | -| `blockHistory` | *models.UpdateProjectBlockHistory*[] | :heavy_minus_sign: | N/A | \ No newline at end of file +| `blockHistory` | *models.UpdateProjectBlockHistory*[] | :heavy_minus_sign: | N/A | +| `interstitial` | *boolean* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/updateprojectaction.md b/docs/models/updateprojectaction.md index ddd1803c7..436d41ffd 100644 --- a/docs/models/updateprojectaction.md +++ b/docs/models/updateprojectaction.md @@ -1,15 +1,17 @@ # UpdateProjectAction +Whether the toast was dismissed, the action was accepted, or the dismissal with this key should be removed + ## Example Usage ```typescript import { UpdateProjectAction } from "@vercel/sdk/models/updateprojectop.js"; -let value: UpdateProjectAction = "blocked"; +let value: UpdateProjectAction = "delete"; ``` ## Values ```typescript -"blocked" +"cancel" | "accept" | "delete" ``` \ No newline at end of file diff --git a/docs/models/updateprojectaibots.md b/docs/models/updateprojectaibots.md index afe55d52f..e3968a1f8 100644 --- a/docs/models/updateprojectaibots.md +++ b/docs/models/updateprojectaibots.md @@ -12,7 +12,7 @@ let value: UpdateProjectAiBots = { ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -| `active` | *boolean* | :heavy_check_mark: | N/A | -| `action` | [models.UpdateProjectProjectsAction](../models/updateprojectprojectsaction.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `active` | *boolean* | :heavy_check_mark: | N/A | +| `action` | [models.UpdateProjectProjectsResponse200ApplicationJSONResponseBodyAction](../models/updateprojectprojectsresponse200applicationjsonresponsebodyaction.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/updateprojectblock.md b/docs/models/updateprojectblock.md index ed67ffab8..891fc02bd 100644 --- a/docs/models/updateprojectblock.md +++ b/docs/models/updateprojectblock.md @@ -15,13 +15,13 @@ let value: UpdateProjectBlock = { ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -| `action` | [models.UpdateProjectAction](../models/updateprojectaction.md) | :heavy_check_mark: | N/A | -| `reason` | *string* | :heavy_check_mark: | N/A | -| `statusCode` | *number* | :heavy_check_mark: | N/A | -| `createdAt` | *number* | :heavy_check_mark: | N/A | -| `caseId` | *string* | :heavy_minus_sign: | N/A | -| `actor` | *string* | :heavy_minus_sign: | N/A | -| `comment` | *string* | :heavy_minus_sign: | N/A | -| `isCascading` | *boolean* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `action` | [models.UpdateProjectProjectsResponseAction](../models/updateprojectprojectsresponseaction.md) | :heavy_check_mark: | N/A | +| `reason` | *string* | :heavy_check_mark: | N/A | +| `statusCode` | *number* | :heavy_check_mark: | N/A | +| `createdAt` | *number* | :heavy_check_mark: | N/A | +| `caseId` | *string* | :heavy_minus_sign: | N/A | +| `actor` | *string* | :heavy_minus_sign: | N/A | +| `comment` | *string* | :heavy_minus_sign: | N/A | +| `isCascading` | *boolean* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/updateprojectbotfilter.md b/docs/models/updateprojectbotfilter.md index 85f5703a4..b1ba7bcb1 100644 --- a/docs/models/updateprojectbotfilter.md +++ b/docs/models/updateprojectbotfilter.md @@ -12,7 +12,7 @@ let value: UpdateProjectBotFilter = { ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | -| `active` | *boolean* | :heavy_check_mark: | N/A | -| `action` | [models.UpdateProjectProjectsResponse200Action](../models/updateprojectprojectsresponse200action.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | +| `active` | *boolean* | :heavy_check_mark: | N/A | +| `action` | [models.UpdateProjectProjectsResponse200ApplicationJSONAction](../models/updateprojectprojectsresponse200applicationjsonaction.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/updateprojectdatacacheabuse.md b/docs/models/updateprojectdatacacheabuse.md index 1f821a9bd..6b72ef4d9 100644 --- a/docs/models/updateprojectdatacacheabuse.md +++ b/docs/models/updateprojectdatacacheabuse.md @@ -27,4 +27,5 @@ let value: UpdateProjectDataCacheAbuse = { | `history` | [models.UpdateProjectDataCacheHistory](../models/updateprojectdatacachehistory.md)[] | :heavy_check_mark: | N/A | | `updatedAt` | *number* | :heavy_check_mark: | N/A | | `block` | [models.Block](../models/block.md) | :heavy_minus_sign: | N/A | -| `blockHistory` | *models.UpdateProjectDataCacheBlockHistory*[] | :heavy_minus_sign: | N/A | \ No newline at end of file +| `blockHistory` | *models.UpdateProjectDataCacheBlockHistory*[] | :heavy_minus_sign: | N/A | +| `interstitial` | *boolean* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/updateprojectdatacacheaction.md b/docs/models/updateprojectdatacacheaction.md index 628d05996..9bfa88014 100644 --- a/docs/models/updateprojectdatacacheaction.md +++ b/docs/models/updateprojectdatacacheaction.md @@ -5,11 +5,11 @@ ```typescript import { UpdateProjectDataCacheAction } from "@vercel/sdk/models/updateprojectdatacacheop.js"; -let value: UpdateProjectDataCacheAction = "blocked"; +let value: UpdateProjectDataCacheAction = "delete"; ``` ## Values ```typescript -"blocked" +"cancel" | "accept" | "delete" ``` \ No newline at end of file diff --git a/docs/models/updateprojectdatacachedismissedtoasts.md b/docs/models/updateprojectdatacachedismissedtoasts.md new file mode 100644 index 000000000..2a5b5bed1 --- /dev/null +++ b/docs/models/updateprojectdatacachedismissedtoasts.md @@ -0,0 +1,26 @@ +# UpdateProjectDataCacheDismissedToasts + +## Example Usage + +```typescript +import { UpdateProjectDataCacheDismissedToasts } from "@vercel/sdk/models/updateprojectdatacacheop.js"; + +let value: UpdateProjectDataCacheDismissedToasts = { + key: "", + dismissedAt: 4681.05, + action: "delete", + value: { + previousValue: false, + currentValue: "", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `key` | *string* | :heavy_check_mark: | N/A | +| `dismissedAt` | *number* | :heavy_check_mark: | N/A | +| `action` | [models.UpdateProjectDataCacheAction](../models/updateprojectdatacacheaction.md) | :heavy_check_mark: | N/A | +| `value` | *models.UpdateProjectDataCacheValue* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/updateprojectdatacacheenv.md b/docs/models/updateprojectdatacacheenv.md new file mode 100644 index 000000000..a5945d92a --- /dev/null +++ b/docs/models/updateprojectdatacacheenv.md @@ -0,0 +1,38 @@ +# UpdateProjectDataCacheEnv + +## Example Usage + +```typescript +import { UpdateProjectDataCacheEnv } from "@vercel/sdk/models/updateprojectdatacacheop.js"; + +let value: UpdateProjectDataCacheEnv = { + type: "encrypted", + value: "", + key: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ | +| `target` | *models.UpdateProjectDataCacheTarget* | :heavy_minus_sign: | N/A | +| `type` | [models.UpdateProjectDataCacheProjectsResponse200ApplicationJSONType](../models/updateprojectdatacacheprojectsresponse200applicationjsontype.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. | +| `decrypted` | *boolean* | :heavy_minus_sign: | N/A | +| `value` | *string* | :heavy_check_mark: | N/A | +| `vsmValue` | *string* | :heavy_minus_sign: | N/A | +| `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.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. | +| `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/updateprojectdatacacheframework.md b/docs/models/updateprojectdatacacheframework.md index f17456e79..d10b28f7b 100644 --- a/docs/models/updateprojectdatacacheframework.md +++ b/docs/models/updateprojectdatacacheframework.md @@ -5,11 +5,11 @@ ```typescript import { UpdateProjectDataCacheFramework } from "@vercel/sdk/models/updateprojectdatacacheop.js"; -let value: UpdateProjectDataCacheFramework = "saber"; +let value: UpdateProjectDataCacheFramework = "redwoodjs"; ``` ## Values ```typescript -"blitzjs" | "nextjs" | "gatsby" | "remix" | "react-router" | "astro" | "hexo" | "eleventy" | "docusaurus-2" | "docusaurus" | "preact" | "solidstart-1" | "solidstart" | "dojo" | "ember" | "vue" | "scully" | "ionic-angular" | "angular" | "polymer" | "svelte" | "sveltekit" | "sveltekit-1" | "ionic-react" | "create-react-app" | "gridsome" | "umijs" | "sapper" | "saber" | "stencil" | "nuxtjs" | "redwoodjs" | "hugo" | "jekyll" | "brunch" | "middleman" | "zola" | "hydrogen" | "vite" | "vitepress" | "vuepress" | "parcel" | "fastapi" | "fasthtml" | "sanity-v3" | "sanity" | "storybook" | "nitro" | "hono" | "express" | "h3" | "xmcp" +"blitzjs" | "nextjs" | "gatsby" | "remix" | "react-router" | "astro" | "hexo" | "eleventy" | "docusaurus-2" | "docusaurus" | "preact" | "solidstart-1" | "solidstart" | "dojo" | "ember" | "vue" | "scully" | "ionic-angular" | "angular" | "polymer" | "svelte" | "sveltekit" | "sveltekit-1" | "ionic-react" | "create-react-app" | "gridsome" | "umijs" | "sapper" | "saber" | "stencil" | "nuxtjs" | "redwoodjs" | "hugo" | "jekyll" | "brunch" | "middleman" | "zola" | "hydrogen" | "vite" | "tanstack-start" | "vitepress" | "vuepress" | "parcel" | "fastapi" | "flask" | "fasthtml" | "sanity-v3" | "sanity" | "storybook" | "nitro" | "hono" | "express" | "h3" | "nestjs" | "elysia" | "fastify" | "xmcp" ``` \ No newline at end of file diff --git a/docs/models/updateprojectdatacachemicrofrontends.md b/docs/models/updateprojectdatacachemicrofrontends.md index d628b9b67..4aeb43f07 100644 --- a/docs/models/updateprojectdatacachemicrofrontends.md +++ b/docs/models/updateprojectdatacachemicrofrontends.md @@ -7,12 +7,14 @@ ```typescript const value: models.UpdateProjectDataCacheMicrofrontends1 = { - updatedAt: 1432.42, + isDefaultApp: true, + updatedAt: 6300.39, groupIds: [ "", "", + "", ], - enabled: false, + enabled: true, }; ``` @@ -26,3 +28,16 @@ const value: models.UpdateProjectDataCacheMicrofrontends2 = { }; ``` +### `models.UpdateProjectDataCacheMicrofrontends3` + +```typescript +const value: models.UpdateProjectDataCacheMicrofrontends3 = { + updatedAt: 7871.93, + groupIds: [ + "", + "", + ], + enabled: false, +}; +``` + diff --git a/docs/models/updateprojectdatacachemicrofrontends1.md b/docs/models/updateprojectdatacachemicrofrontends1.md index 1b6fc1d35..a2cd3f205 100644 --- a/docs/models/updateprojectdatacachemicrofrontends1.md +++ b/docs/models/updateprojectdatacachemicrofrontends1.md @@ -6,22 +6,24 @@ import { UpdateProjectDataCacheMicrofrontends1 } from "@vercel/sdk/models/updateprojectdatacacheop.js"; let value: UpdateProjectDataCacheMicrofrontends1 = { - updatedAt: 1432.42, + isDefaultApp: true, + updatedAt: 6300.39, groupIds: [ "", "", + "", ], - enabled: false, + enabled: true, }; ``` ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `updatedAt` | *number* | :heavy_check_mark: | Timestamp when the microfrontends settings were last updated. | -| `groupIds` | *string*[] | :heavy_check_mark: | 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. | -| `enabled` | *boolean* | :heavy_check_mark: | Whether microfrontends are enabled for this project. | -| `isDefaultApp` | *boolean* | :heavy_minus_sign: | 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. | -| `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. Includes the leading slash, e.g. `/docs` | -| `routeObservabilityToThisProject` | *boolean* | :heavy_minus_sign: | Whether observability data should be routed to this microfrontend project or a root project. | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `isDefaultApp` | *boolean* | :heavy_check_mark: | N/A | +| `updatedAt` | *number* | :heavy_check_mark: | Timestamp when the microfrontends settings were last updated. | +| `groupIds` | *string*[] | :heavy_check_mark: | 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. | +| `enabled` | *boolean* | :heavy_check_mark: | Whether microfrontends are enabled for this project. | +| `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. Includes the leading slash, e.g. `/docs` | +| `freeProjectForLegacyLimits` | *boolean* | :heavy_minus_sign: | Whether the project was part of the legacy limits for hobby and pro-trial before billing was added. This field is only set when the team is upgraded to a paid plan and we are backfilling the subscription status. We cap the subscription to 2 projects and set this field for the 3rd project. When this field is set, the project is not charged for and we do not call any billing APIs for this project. | \ No newline at end of file diff --git a/docs/models/updateprojectdatacachemicrofrontends2.md b/docs/models/updateprojectdatacachemicrofrontends2.md index d958cb385..c362dce1b 100644 --- a/docs/models/updateprojectdatacachemicrofrontends2.md +++ b/docs/models/updateprojectdatacachemicrofrontends2.md @@ -14,8 +14,13 @@ let value: UpdateProjectDataCacheMicrofrontends2 = { ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `updatedAt` | *number* | :heavy_check_mark: | N/A | -| `groupIds` | *any*[] | :heavy_check_mark: | N/A | -| `enabled` | *boolean* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `isDefaultApp` | *boolean* | :heavy_minus_sign: | N/A | +| `routeObservabilityToThisProject` | *boolean* | :heavy_minus_sign: | Whether observability data should be routed to this microfrontend project or a root project. | +| `doNotRouteWithMicrofrontendsRouting` | *boolean* | :heavy_minus_sign: | Whether to add microfrontends routing to aliases. This means domains in this project will route as a microfrontend. | +| `updatedAt` | *number* | :heavy_check_mark: | Timestamp when the microfrontends settings were last updated. | +| `groupIds` | *string*[] | :heavy_check_mark: | 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. | +| `enabled` | *boolean* | :heavy_check_mark: | Whether microfrontends are enabled for this project. | +| `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. Includes the leading slash, e.g. `/docs` | +| `freeProjectForLegacyLimits` | *boolean* | :heavy_minus_sign: | Whether the project was part of the legacy limits for hobby and pro-trial before billing was added. This field is only set when the team is upgraded to a paid plan and we are backfilling the subscription status. We cap the subscription to 2 projects and set this field for the 3rd project. When this field is set, the project is not charged for and we do not call any billing APIs for this project. | \ No newline at end of file diff --git a/docs/models/updateprojectdatacachemicrofrontends3.md b/docs/models/updateprojectdatacachemicrofrontends3.md new file mode 100644 index 000000000..ae77a33b3 --- /dev/null +++ b/docs/models/updateprojectdatacachemicrofrontends3.md @@ -0,0 +1,25 @@ +# UpdateProjectDataCacheMicrofrontends3 + +## Example Usage + +```typescript +import { UpdateProjectDataCacheMicrofrontends3 } from "@vercel/sdk/models/updateprojectdatacacheop.js"; + +let value: UpdateProjectDataCacheMicrofrontends3 = { + updatedAt: 7871.93, + groupIds: [ + "", + "", + ], + enabled: false, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------- | ---------------------------- | ---------------------------- | ---------------------------- | +| `updatedAt` | *number* | :heavy_check_mark: | N/A | +| `groupIds` | *any*[] | :heavy_check_mark: | N/A | +| `enabled` | *boolean* | :heavy_check_mark: | N/A | +| `freeProjectForLegacyLimits` | *boolean* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/updateprojectdatacachenodeversion.md b/docs/models/updateprojectdatacachenodeversion.md index db2f16168..5f6a89ae6 100644 --- a/docs/models/updateprojectdatacachenodeversion.md +++ b/docs/models/updateprojectdatacachenodeversion.md @@ -11,5 +11,5 @@ let value: UpdateProjectDataCacheNodeVersion = "16.x"; ## Values ```typescript -"22.x" | "20.x" | "18.x" | "16.x" | "14.x" | "12.x" | "10.x" | "8.10.x" +"24.x" | "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/updateprojectdatacacheoidctokenclaims.md b/docs/models/updateprojectdatacacheoidctokenclaims.md index 967f9e813..e3e6b23f8 100644 --- a/docs/models/updateprojectdatacacheoidctokenclaims.md +++ b/docs/models/updateprojectdatacacheoidctokenclaims.md @@ -15,6 +15,7 @@ let value: UpdateProjectDataCacheOidcTokenClaims = { project: "", projectId: "", environment: "", + plan: "", }; ``` @@ -30,4 +31,5 @@ let value: UpdateProjectDataCacheOidcTokenClaims = { | `ownerId` | *string* | :heavy_check_mark: | N/A | | `project` | *string* | :heavy_check_mark: | N/A | | `projectId` | *string* | :heavy_check_mark: | N/A | -| `environment` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| `environment` | *string* | :heavy_check_mark: | N/A | +| `plan` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/updateprojectdatacacheowasp.md b/docs/models/updateprojectdatacacheowasp.md index 8b53eae15..ee6333c73 100644 --- a/docs/models/updateprojectdatacacheowasp.md +++ b/docs/models/updateprojectdatacacheowasp.md @@ -12,7 +12,7 @@ let value: UpdateProjectDataCacheOwasp = { ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | -| `active` | *boolean* | :heavy_check_mark: | N/A | -| `action` | [models.UpdateProjectDataCacheProjectsAction](../models/updateprojectdatacacheprojectsaction.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | +| `active` | *boolean* | :heavy_check_mark: | N/A | +| `action` | [models.UpdateProjectDataCacheProjectsResponse200ApplicationJSONAction](../models/updateprojectdatacacheprojectsresponse200applicationjsonaction.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/updateprojectdatacachepermissions.md b/docs/models/updateprojectdatacachepermissions.md new file mode 100644 index 000000000..cfc75a3e8 --- /dev/null +++ b/docs/models/updateprojectdatacachepermissions.md @@ -0,0 +1,232 @@ +# UpdateProjectDataCachePermissions + +## Example Usage + +```typescript +import { UpdateProjectDataCachePermissions } from "@vercel/sdk/models/updateprojectdatacacheop.js"; + +let value: UpdateProjectDataCachePermissions = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | +| `oauth2Connection` | [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 | +| `userSudo` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `webAuthn` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `accessGroup` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `agent` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `alerts` | [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 | +| `apiKey` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `apiKeyAiGateway` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `apiKeyOwnedBySelf` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `oauth2Application` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `vercelAppInstallation` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `vercelAppInstallationRequest` | [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 | +| `billingRefund` | [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 | +| `blobStoreTokenSet` | [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 | +| `dataCacheBillingSettings` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `defaultDeploymentProtection` | [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 | +| `drain` | [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 | +| `endpointVerification` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `event` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `fileUpload` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `flagsExplorerSubscription` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `gitRepository` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `imageOptimizationNewPrice` | [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 | +| `integrationConfigurationProjects` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `integrationConfigurationRole` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `integrationConfigurationTransfer` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `integrationDeploymentAction` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `integrationEvent` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `integrationLog` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `integrationResource` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `integrationResourceReplCommand` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `integrationResourceSecrets` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `integrationSSOSession` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `integrationStoreTokenSet` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `integrationVercelConfigurationOverride` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `integrationPullRequest` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `ipBlocking` | [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 | +| `marketplaceBillingData` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `marketplaceExperimentationEdgeConfigData` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `marketplaceExperimentationItem` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `marketplaceInstallationMember` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `marketplaceInvoice` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `marketplaceSettings` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `monitoring` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `monitoringAlert` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `monitoringChart` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `monitoringQuery` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `monitoringSettings` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `notificationCustomerBudget` | [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 | +| `notificationPreferences` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `notificationStatementOfReasons` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `notificationUsageAlert` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `observabilityConfiguration` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `observabilityFunnel` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `observabilityNotebook` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `openTelemetryEndpoint` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `ownEvent` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `organizationDomain` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `passwordProtectionInvoiceItem` | [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 | +| `postgresStoreTokenSet` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `previewDeploymentSuffix` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectTransferIn` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `proTrialOnboarding` | [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 | +| `redisStoreTokenSet` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `remoteCaching` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `repository` | [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 | +| `sensitiveEnvironmentVariablePolicy` | [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 | +| `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 | +| `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 | +| `teamMemberMfaStatus` | [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 | +| `vercelRun` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `vercelRunExec` | [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 | +| `webhook` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `webhookEvent` | [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 | +| `buildMachine` | [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 | +| `deploymentBuildLogs` | [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 | +| `edgeCacheNamespace` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `environments` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `job` | [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 | +| `observabilityData` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `onDemandBuild` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `onDemandConcurrency` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `optionsAllowlist` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `passwordProtection` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `productionAliasProtectionBypass` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `project` | [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 | +| `projectAnalyticsUsage` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectCheck` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectCheckRun` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectDeploymentExpiration` | [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 | +| `projectDomainCheckConfig` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectDomainMove` | [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 | +| `projectFlagsProduction` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectFromV0` | [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 | +| `projectOIDCToken` | [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 | +| `projectProtectionBypass` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectRollingRelease` | [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 | +| `projectTier` | [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 | +| `projectUsage` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `seawallConfig` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `sharedEnvVarConnection` | [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 | +| `v0Chat` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `webAnalytics` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/updateprojectdatacacheprojectsaction.md b/docs/models/updateprojectdatacacheprojectsaction.md index 80b790a70..589555b43 100644 --- a/docs/models/updateprojectdatacacheprojectsaction.md +++ b/docs/models/updateprojectdatacacheprojectsaction.md @@ -5,11 +5,11 @@ ```typescript import { UpdateProjectDataCacheProjectsAction } from "@vercel/sdk/models/updateprojectdatacacheop.js"; -let value: UpdateProjectDataCacheProjectsAction = "challenge"; +let value: UpdateProjectDataCacheProjectsAction = "blocked"; ``` ## Values ```typescript -"log" | "challenge" | "deny" +"blocked" ``` \ No newline at end of file diff --git a/docs/models/updateprojectdatacacheprojectsoidctokenclaims.md b/docs/models/updateprojectdatacacheprojectsoidctokenclaims.md index d5fe90fd3..f3cb81b2d 100644 --- a/docs/models/updateprojectdatacacheprojectsoidctokenclaims.md +++ b/docs/models/updateprojectdatacacheprojectsoidctokenclaims.md @@ -15,6 +15,7 @@ let value: UpdateProjectDataCacheProjectsOidcTokenClaims = { project: "", projectId: "", environment: "", + plan: "", }; ``` @@ -30,4 +31,5 @@ let value: UpdateProjectDataCacheProjectsOidcTokenClaims = { | `ownerId` | *string* | :heavy_check_mark: | N/A | | `project` | *string* | :heavy_check_mark: | N/A | | `projectId` | *string* | :heavy_check_mark: | N/A | -| `environment` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| `environment` | *string* | :heavy_check_mark: | N/A | +| `plan` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/updateprojectdatacacheprojectsresponse200applicationjsonaction.md b/docs/models/updateprojectdatacacheprojectsresponse200applicationjsonaction.md new file mode 100644 index 000000000..9c3f28949 --- /dev/null +++ b/docs/models/updateprojectdatacacheprojectsresponse200applicationjsonaction.md @@ -0,0 +1,16 @@ +# UpdateProjectDataCacheProjectsResponse200ApplicationJSONAction + +## Example Usage + +```typescript +import { UpdateProjectDataCacheProjectsResponse200ApplicationJSONAction } from "@vercel/sdk/models/updateprojectdatacacheop.js"; + +let value: UpdateProjectDataCacheProjectsResponse200ApplicationJSONAction = + "deny"; +``` + +## Values + +```typescript +"log" | "challenge" | "deny" +``` \ No newline at end of file diff --git a/docs/models/updateprojectdatacacheresponsebody.md b/docs/models/updateprojectdatacacheresponsebody.md index e9b7db1db..e186b5689 100644 --- a/docs/models/updateprojectdatacacheresponsebody.md +++ b/docs/models/updateprojectdatacacheresponsebody.md @@ -38,7 +38,7 @@ let value: UpdateProjectDataCacheResponseBody = { }, ], name: "", - nodeVersion: "22.x", + nodeVersion: "24.x", resourceConfig: { functionDefaultRegions: [ "", @@ -105,7 +105,7 @@ let value: UpdateProjectDataCacheResponseBody = { | `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 | +| `env` | [models.UpdateProjectDataCacheEnv](../models/updateprojectdatacacheenv.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 | @@ -131,6 +131,7 @@ let value: UpdateProjectDataCacheResponseBody = { | `skewProtectionBoundaryAt` | *number* | :heavy_minus_sign: | N/A | | `skewProtectionMaxAge` | *number* | :heavy_minus_sign: | N/A | | `skipGitConnectDuringLink` | *boolean* | :heavy_minus_sign: | N/A | +| `staticIps` | [models.UpdateProjectDataCacheStaticIps](../models/updateprojectdatacachestaticips.md) | :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 | @@ -143,7 +144,7 @@ let value: UpdateProjectDataCacheResponseBody = { | `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 | +| `permissions` | [models.UpdateProjectDataCachePermissions](../models/updateprojectdatacachepermissions.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 | | `protectionBypass` | Record | :heavy_minus_sign: | N/A | @@ -160,4 +161,6 @@ let value: UpdateProjectDataCacheResponseBody = { | `features` | [models.Features](../models/features.md) | :heavy_minus_sign: | N/A | | `v0` | *boolean* | :heavy_minus_sign: | N/A | | `abuse` | [models.UpdateProjectDataCacheAbuse](../models/updateprojectdatacacheabuse.md) | :heavy_minus_sign: | N/A | -| `internalRoutes` | *models.InternalRoutes*[] | :heavy_minus_sign: | N/A | \ No newline at end of file +| `internalRoutes` | *models.InternalRoutes*[] | :heavy_minus_sign: | N/A | +| `hasDeployments` | *boolean* | :heavy_minus_sign: | N/A | +| `dismissedToasts` | [models.UpdateProjectDataCacheDismissedToasts](../models/updateprojectdatacachedismissedtoasts.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/updateprojectdatacachestaticips.md b/docs/models/updateprojectdatacachestaticips.md new file mode 100644 index 000000000..e0c4d6099 --- /dev/null +++ b/docs/models/updateprojectdatacachestaticips.md @@ -0,0 +1,23 @@ +# UpdateProjectDataCacheStaticIps + +## Example Usage + +```typescript +import { UpdateProjectDataCacheStaticIps } from "@vercel/sdk/models/updateprojectdatacacheop.js"; + +let value: UpdateProjectDataCacheStaticIps = { + builds: true, + enabled: true, + regions: [ + "", + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `builds` | *boolean* | :heavy_check_mark: | N/A | +| `enabled` | *boolean* | :heavy_check_mark: | N/A | +| `regions` | *string*[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/updateprojectdatacachevalue.md b/docs/models/updateprojectdatacachevalue.md new file mode 100644 index 000000000..3ff456b34 --- /dev/null +++ b/docs/models/updateprojectdatacachevalue.md @@ -0,0 +1,32 @@ +# UpdateProjectDataCacheValue + + +## Supported Types + +### `string` + +```typescript +const value: string = ""; +``` + +### `number` + +```typescript +const value: number = 1284.03; +``` + +### `boolean` + +```typescript +const value: boolean = true; +``` + +### `models.Value4` + +```typescript +const value: models.Value4 = { + previousValue: 7089.74, + currentValue: 3333.07, +}; +``` + diff --git a/docs/models/updateprojectdatacachevaluecurrentvalue.md b/docs/models/updateprojectdatacachevaluecurrentvalue.md new file mode 100644 index 000000000..a757253d5 --- /dev/null +++ b/docs/models/updateprojectdatacachevaluecurrentvalue.md @@ -0,0 +1,23 @@ +# UpdateProjectDataCacheValueCurrentValue + + +## Supported Types + +### `string` + +```typescript +const value: string = ""; +``` + +### `number` + +```typescript +const value: number = 1284.03; +``` + +### `boolean` + +```typescript +const value: boolean = true; +``` + diff --git a/docs/models/updateprojectdatacachevaluepreviousvalue.md b/docs/models/updateprojectdatacachevaluepreviousvalue.md new file mode 100644 index 000000000..ebe50e9d5 --- /dev/null +++ b/docs/models/updateprojectdatacachevaluepreviousvalue.md @@ -0,0 +1,23 @@ +# UpdateProjectDataCacheValuePreviousValue + + +## Supported Types + +### `string` + +```typescript +const value: string = ""; +``` + +### `number` + +```typescript +const value: number = 1284.03; +``` + +### `boolean` + +```typescript +const value: boolean = true; +``` + diff --git a/docs/models/updateprojectdismissedtoasts.md b/docs/models/updateprojectdismissedtoasts.md new file mode 100644 index 000000000..e760c4194 --- /dev/null +++ b/docs/models/updateprojectdismissedtoasts.md @@ -0,0 +1,23 @@ +# UpdateProjectDismissedToasts + +## Example Usage + +```typescript +import { UpdateProjectDismissedToasts } from "@vercel/sdk/models/updateprojectop.js"; + +let value: UpdateProjectDismissedToasts = { + key: "", + dismissedAt: 891.87, + action: "delete", + value: 1025.91, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | +| `key` | *string* | :heavy_check_mark: | unique identifier for the dismissed toast | +| `dismissedAt` | *number* | :heavy_check_mark: | unix timestamp representing the time the toast was dimissed | +| `action` | [models.UpdateProjectAction](../models/updateprojectaction.md) | :heavy_check_mark: | Whether the toast was dismissed, the action was accepted, or the dismissal with this key should be removed | +| `value` | *any* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/updateprojectframework.md b/docs/models/updateprojectframework.md index aea4fdce1..e2e3cd056 100644 --- a/docs/models/updateprojectframework.md +++ b/docs/models/updateprojectframework.md @@ -7,11 +7,11 @@ The framework that is being used for this project. When `null` is used no framew ```typescript import { UpdateProjectFramework } from "@vercel/sdk/models/updateprojectop.js"; -let value: UpdateProjectFramework = "react-router"; +let value: UpdateProjectFramework = "astro"; ``` ## Values ```typescript -"blitzjs" | "nextjs" | "gatsby" | "remix" | "react-router" | "astro" | "hexo" | "eleventy" | "docusaurus-2" | "docusaurus" | "preact" | "solidstart-1" | "solidstart" | "dojo" | "ember" | "vue" | "scully" | "ionic-angular" | "angular" | "polymer" | "svelte" | "sveltekit" | "sveltekit-1" | "ionic-react" | "create-react-app" | "gridsome" | "umijs" | "sapper" | "saber" | "stencil" | "nuxtjs" | "redwoodjs" | "hugo" | "jekyll" | "brunch" | "middleman" | "zola" | "hydrogen" | "vite" | "vitepress" | "vuepress" | "parcel" | "fastapi" | "fasthtml" | "sanity-v3" | "sanity" | "storybook" | "nitro" | "hono" | "express" | "h3" | "xmcp" +"blitzjs" | "nextjs" | "gatsby" | "remix" | "react-router" | "astro" | "hexo" | "eleventy" | "docusaurus-2" | "docusaurus" | "preact" | "solidstart-1" | "solidstart" | "dojo" | "ember" | "vue" | "scully" | "ionic-angular" | "angular" | "polymer" | "svelte" | "sveltekit" | "sveltekit-1" | "ionic-react" | "create-react-app" | "gridsome" | "umijs" | "sapper" | "saber" | "stencil" | "nuxtjs" | "redwoodjs" | "hugo" | "jekyll" | "brunch" | "middleman" | "zola" | "hydrogen" | "vite" | "tanstack-start" | "vitepress" | "vuepress" | "parcel" | "fastapi" | "flask" | "fasthtml" | "sanity-v3" | "sanity" | "storybook" | "nitro" | "hono" | "express" | "h3" | "nestjs" | "elysia" | "fastify" | "xmcp" ``` \ No newline at end of file diff --git a/docs/models/updateprojectgitprovideroptions.md b/docs/models/updateprojectgitprovideroptions.md index 5f196c3af..f4cd093ba 100644 --- a/docs/models/updateprojectgitprovideroptions.md +++ b/docs/models/updateprojectgitprovideroptions.md @@ -15,4 +15,5 @@ let value: UpdateProjectGitProviderOptions = { | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `createDeployments` | [models.UpdateProjectCreateDeployments](../models/updateprojectcreatedeployments.md) | :heavy_check_mark: | Whether the Vercel bot should automatically create GitHub deployments https://docs.github.com/en/rest/deployments/deployments#about-deployments NOTE: repository-dispatch events should be used instead | -| `disableRepositoryDispatchEvents` | *boolean* | :heavy_minus_sign: | Whether the Vercel bot should not automatically create GitHub repository-dispatch events on deployment events. https://vercel.com/docs/git/vercel-for-github#repository-dispatch-events | \ No newline at end of file +| `disableRepositoryDispatchEvents` | *boolean* | :heavy_minus_sign: | Whether the Vercel bot should not automatically create GitHub repository-dispatch events on deployment events. https://vercel.com/docs/git/vercel-for-github#repository-dispatch-events | +| `requireVerifiedCommits` | *boolean* | :heavy_minus_sign: | Whether the project requires commits to be signed before deployments will be created. | \ No newline at end of file diff --git a/docs/models/updateprojectmicrofrontends.md b/docs/models/updateprojectmicrofrontends.md index b0d9ed8b5..c5b3c6e54 100644 --- a/docs/models/updateprojectmicrofrontends.md +++ b/docs/models/updateprojectmicrofrontends.md @@ -7,12 +7,10 @@ ```typescript const value: models.UpdateProjectMicrofrontends1 = { - updatedAt: 5290.64, - groupIds: [ - "", - "", - ], - enabled: true, + isDefaultApp: false, + updatedAt: 6659.94, + groupIds: [], + enabled: false, }; ``` @@ -28,3 +26,16 @@ const value: models.UpdateProjectMicrofrontends2 = { }; ``` +### `models.UpdateProjectMicrofrontends3` + +```typescript +const value: models.UpdateProjectMicrofrontends3 = { + updatedAt: 5372.32, + groupIds: [ + "", + "", + ], + enabled: true, +}; +``` + diff --git a/docs/models/updateprojectmicrofrontends1.md b/docs/models/updateprojectmicrofrontends1.md index 6de4fe8d7..53ff1714d 100644 --- a/docs/models/updateprojectmicrofrontends1.md +++ b/docs/models/updateprojectmicrofrontends1.md @@ -6,22 +6,20 @@ import { UpdateProjectMicrofrontends1 } from "@vercel/sdk/models/updateprojectop.js"; let value: UpdateProjectMicrofrontends1 = { - updatedAt: 5290.64, - groupIds: [ - "", - "", - ], - enabled: true, + isDefaultApp: false, + updatedAt: 6659.94, + groupIds: [], + enabled: false, }; ``` ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `updatedAt` | *number* | :heavy_check_mark: | Timestamp when the microfrontends settings were last updated. | -| `groupIds` | *string*[] | :heavy_check_mark: | 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. | -| `enabled` | *boolean* | :heavy_check_mark: | Whether microfrontends are enabled for this project. | -| `isDefaultApp` | *boolean* | :heavy_minus_sign: | 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. | -| `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. Includes the leading slash, e.g. `/docs` | -| `routeObservabilityToThisProject` | *boolean* | :heavy_minus_sign: | Whether observability data should be routed to this microfrontend project or a root project. | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `isDefaultApp` | *boolean* | :heavy_check_mark: | N/A | +| `updatedAt` | *number* | :heavy_check_mark: | Timestamp when the microfrontends settings were last updated. | +| `groupIds` | *string*[] | :heavy_check_mark: | 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. | +| `enabled` | *boolean* | :heavy_check_mark: | Whether microfrontends are enabled for this project. | +| `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. Includes the leading slash, e.g. `/docs` | +| `freeProjectForLegacyLimits` | *boolean* | :heavy_minus_sign: | Whether the project was part of the legacy limits for hobby and pro-trial before billing was added. This field is only set when the team is upgraded to a paid plan and we are backfilling the subscription status. We cap the subscription to 2 projects and set this field for the 3rd project. When this field is set, the project is not charged for and we do not call any billing APIs for this project. | \ No newline at end of file diff --git a/docs/models/updateprojectmicrofrontends2.md b/docs/models/updateprojectmicrofrontends2.md index ded6b5de2..1b35cd307 100644 --- a/docs/models/updateprojectmicrofrontends2.md +++ b/docs/models/updateprojectmicrofrontends2.md @@ -16,8 +16,13 @@ let value: UpdateProjectMicrofrontends2 = { ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `updatedAt` | *number* | :heavy_check_mark: | N/A | -| `groupIds` | *any*[] | :heavy_check_mark: | N/A | -| `enabled` | *boolean* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `isDefaultApp` | *boolean* | :heavy_minus_sign: | N/A | +| `routeObservabilityToThisProject` | *boolean* | :heavy_minus_sign: | Whether observability data should be routed to this microfrontend project or a root project. | +| `doNotRouteWithMicrofrontendsRouting` | *boolean* | :heavy_minus_sign: | Whether to add microfrontends routing to aliases. This means domains in this project will route as a microfrontend. | +| `updatedAt` | *number* | :heavy_check_mark: | Timestamp when the microfrontends settings were last updated. | +| `groupIds` | *string*[] | :heavy_check_mark: | 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. | +| `enabled` | *boolean* | :heavy_check_mark: | Whether microfrontends are enabled for this project. | +| `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. Includes the leading slash, e.g. `/docs` | +| `freeProjectForLegacyLimits` | *boolean* | :heavy_minus_sign: | Whether the project was part of the legacy limits for hobby and pro-trial before billing was added. This field is only set when the team is upgraded to a paid plan and we are backfilling the subscription status. We cap the subscription to 2 projects and set this field for the 3rd project. When this field is set, the project is not charged for and we do not call any billing APIs for this project. | \ No newline at end of file diff --git a/docs/models/updateprojectmicrofrontends3.md b/docs/models/updateprojectmicrofrontends3.md new file mode 100644 index 000000000..943b50d8b --- /dev/null +++ b/docs/models/updateprojectmicrofrontends3.md @@ -0,0 +1,25 @@ +# UpdateProjectMicrofrontends3 + +## Example Usage + +```typescript +import { UpdateProjectMicrofrontends3 } from "@vercel/sdk/models/updateprojectop.js"; + +let value: UpdateProjectMicrofrontends3 = { + updatedAt: 5372.32, + groupIds: [ + "", + "", + ], + enabled: true, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------- | ---------------------------- | ---------------------------- | ---------------------------- | +| `updatedAt` | *number* | :heavy_check_mark: | N/A | +| `groupIds` | *any*[] | :heavy_check_mark: | N/A | +| `enabled` | *boolean* | :heavy_check_mark: | N/A | +| `freeProjectForLegacyLimits` | *boolean* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/updateprojectnodeversion.md b/docs/models/updateprojectnodeversion.md index 35772cd22..3d68d79fc 100644 --- a/docs/models/updateprojectnodeversion.md +++ b/docs/models/updateprojectnodeversion.md @@ -11,5 +11,5 @@ let value: UpdateProjectNodeVersion = "14.x"; ## Values ```typescript -"22.x" | "20.x" | "18.x" | "16.x" | "14.x" | "12.x" | "10.x" +"24.x" | "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/updateprojectoidctokenclaims.md b/docs/models/updateprojectoidctokenclaims.md index 6ad602cfc..23d8f2179 100644 --- a/docs/models/updateprojectoidctokenclaims.md +++ b/docs/models/updateprojectoidctokenclaims.md @@ -15,6 +15,7 @@ let value: UpdateProjectOidcTokenClaims = { project: "", projectId: "", environment: "", + plan: "", }; ``` @@ -30,4 +31,5 @@ let value: UpdateProjectOidcTokenClaims = { | `ownerId` | *string* | :heavy_check_mark: | N/A | | `project` | *string* | :heavy_check_mark: | N/A | | `projectId` | *string* | :heavy_check_mark: | N/A | -| `environment` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| `environment` | *string* | :heavy_check_mark: | N/A | +| `plan` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/updateprojectowasp.md b/docs/models/updateprojectowasp.md index 009092a2d..1a28d8623 100644 --- a/docs/models/updateprojectowasp.md +++ b/docs/models/updateprojectowasp.md @@ -12,7 +12,7 @@ let value: UpdateProjectOwasp = { ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | -| `active` | *boolean* | :heavy_check_mark: | N/A | -| `action` | [models.UpdateProjectProjectsResponseAction](../models/updateprojectprojectsresponseaction.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | +| `active` | *boolean* | :heavy_check_mark: | N/A | +| `action` | [models.UpdateProjectProjectsResponse200Action](../models/updateprojectprojectsresponse200action.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/updateprojectpermissions.md b/docs/models/updateprojectpermissions.md index e0fbcc064..d35d1d6ac 100644 --- a/docs/models/updateprojectpermissions.md +++ b/docs/models/updateprojectpermissions.md @@ -18,9 +18,17 @@ let value: UpdateProjectPermissions = {}; | `userSudo` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | | `webAuthn` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | | `accessGroup` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `agent` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `alerts` | [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 | +| `apiKey` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `apiKeyAiGateway` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `apiKeyOwnedBySelf` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `oauth2Application` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `vercelAppInstallation` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `vercelAppInstallationRequest` | [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 | @@ -32,6 +40,7 @@ let value: UpdateProjectPermissions = {}; | `billingRefund` | [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 | +| `blobStoreTokenSet` | [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 | @@ -39,6 +48,7 @@ let value: UpdateProjectPermissions = {}; | `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 | +| `dataCacheBillingSettings` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | | `defaultDeploymentProtection` | [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 | @@ -49,40 +59,48 @@ let value: UpdateProjectPermissions = {}; | `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 | +| `drain` | [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 | +| `endpointVerification` | [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 | | `flagsExplorerSubscription` | [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 | | `imageOptimizationNewPrice` | [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 | -| `integrationSSOSession` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `integrationResource` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `integrationConfigurationTransfer` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `integrationDeploymentAction` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | | `integrationEvent` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `integrationLog` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `integrationResource` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `integrationResourceReplCommand` | [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 | +| `integrationSSOSession` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `integrationStoreTokenSet` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `integrationVercelConfigurationOverride` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `integrationPullRequest` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `ipBlocking` | [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 | | `marketplaceBillingData` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `marketplaceExperimentationEdgeConfigData` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `marketplaceExperimentationItem` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `marketplaceInstallationMember` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | | `marketplaceInvoice` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | | `marketplaceSettings` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `marketplaceExperimentationItem` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `marketplaceExperimentationEdgeConfigData` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `jobGlobal` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `drain` | [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 | +| `monitoringChart` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `monitoringQuery` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `monitoringSettings` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `notificationCustomerBudget` | [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 | @@ -93,42 +111,38 @@ let value: UpdateProjectPermissions = {}; | `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 | | `notificationPreferences` | [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 | +| `notificationUsageAlert` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | | `observabilityConfiguration` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `alerts` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `observabilityNotebook` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | | `observabilityFunnel` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `observabilityNotebook` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | | `openTelemetryEndpoint` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `vercelAppInstallation` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `vercelAppInstallationRequest` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `ownEvent` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `organizationDomain` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `passwordProtectionInvoiceItem` | [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 | +| `postgresStoreTokenSet` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | | `previewDeploymentSuffix` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectTransferIn` | [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 | +| `redisStoreTokenSet` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | | `remoteCaching` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `repository` | [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 | +| `sensitiveEnvironmentVariablePolicy` | [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 | | `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 | @@ -143,26 +157,15 @@ let value: UpdateProjectPermissions = {}; | `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 | +| `vercelRun` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `vercelRunExec` | [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 | -| `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 | -| `vercelRun` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `vercelRunExec` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `apiKey` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `apiKeyOwnedBySelf` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `apiKeyAiGateway` | [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 | | `buildMachine` | [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 | @@ -178,51 +181,52 @@ let value: UpdateProjectPermissions = {}; | `deploymentRollback` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | | `edgeCacheNamespace` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | | `environments` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `job` | [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 | | `onDemandBuild` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | | `onDemandConcurrency` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `optionsAllowlist` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `passwordProtection` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `productionAliasProtectionBypass` | [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 | +| `projectAnalyticsUsage` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | | `projectCheck` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | | `projectCheckRun` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectDeploymentExpiration` | [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 | +| `projectDomainMove` | [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 | +| `projectFlagsProduction` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `projectFromV0` | [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 | +| `projectOIDCToken` | [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 | +| `projectRollingRelease` | [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 | -| `projectRollingRelease` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | | `projectTier` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | -| `projectOIDCToken` | [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 | +| `projectUsage` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | | `seawallConfig` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | +| `sharedEnvVarConnection` | [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 | | `v0Chat` | [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 +| `webAnalytics` | [models.ACLAction](../models/aclaction.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/updateprojectprojectsaction.md b/docs/models/updateprojectprojectsaction.md index b8e637c81..1ba7e07ce 100644 --- a/docs/models/updateprojectprojectsaction.md +++ b/docs/models/updateprojectprojectsaction.md @@ -5,11 +5,11 @@ ```typescript import { UpdateProjectProjectsAction } from "@vercel/sdk/models/updateprojectop.js"; -let value: UpdateProjectProjectsAction = "deny"; +let value: UpdateProjectProjectsAction = "delete"; ``` ## Values ```typescript -"log" | "challenge" | "deny" +"cancel" | "accept" | "delete" ``` \ No newline at end of file diff --git a/docs/models/updateprojectprojectsdismissedtoasts.md b/docs/models/updateprojectprojectsdismissedtoasts.md new file mode 100644 index 000000000..036cafa83 --- /dev/null +++ b/docs/models/updateprojectprojectsdismissedtoasts.md @@ -0,0 +1,26 @@ +# UpdateProjectProjectsDismissedToasts + +## Example Usage + +```typescript +import { UpdateProjectProjectsDismissedToasts } from "@vercel/sdk/models/updateprojectop.js"; + +let value: UpdateProjectProjectsDismissedToasts = { + key: "", + dismissedAt: 2177.17, + action: "accept", + value: { + previousValue: "", + currentValue: 5659.91, + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | +| `key` | *string* | :heavy_check_mark: | N/A | +| `dismissedAt` | *number* | :heavy_check_mark: | N/A | +| `action` | [models.UpdateProjectProjectsAction](../models/updateprojectprojectsaction.md) | :heavy_check_mark: | N/A | +| `value` | *models.UpdateProjectValue* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/updateprojectprojectsframework.md b/docs/models/updateprojectprojectsframework.md index bdd624d8e..19b272372 100644 --- a/docs/models/updateprojectprojectsframework.md +++ b/docs/models/updateprojectprojectsframework.md @@ -5,11 +5,11 @@ ```typescript import { UpdateProjectProjectsFramework } from "@vercel/sdk/models/updateprojectop.js"; -let value: UpdateProjectProjectsFramework = "vue"; +let value: UpdateProjectProjectsFramework = "ionic-angular"; ``` ## Values ```typescript -"blitzjs" | "nextjs" | "gatsby" | "remix" | "react-router" | "astro" | "hexo" | "eleventy" | "docusaurus-2" | "docusaurus" | "preact" | "solidstart-1" | "solidstart" | "dojo" | "ember" | "vue" | "scully" | "ionic-angular" | "angular" | "polymer" | "svelte" | "sveltekit" | "sveltekit-1" | "ionic-react" | "create-react-app" | "gridsome" | "umijs" | "sapper" | "saber" | "stencil" | "nuxtjs" | "redwoodjs" | "hugo" | "jekyll" | "brunch" | "middleman" | "zola" | "hydrogen" | "vite" | "vitepress" | "vuepress" | "parcel" | "fastapi" | "fasthtml" | "sanity-v3" | "sanity" | "storybook" | "nitro" | "hono" | "express" | "h3" | "xmcp" +"blitzjs" | "nextjs" | "gatsby" | "remix" | "react-router" | "astro" | "hexo" | "eleventy" | "docusaurus-2" | "docusaurus" | "preact" | "solidstart-1" | "solidstart" | "dojo" | "ember" | "vue" | "scully" | "ionic-angular" | "angular" | "polymer" | "svelte" | "sveltekit" | "sveltekit-1" | "ionic-react" | "create-react-app" | "gridsome" | "umijs" | "sapper" | "saber" | "stencil" | "nuxtjs" | "redwoodjs" | "hugo" | "jekyll" | "brunch" | "middleman" | "zola" | "hydrogen" | "vite" | "tanstack-start" | "vitepress" | "vuepress" | "parcel" | "fastapi" | "flask" | "fasthtml" | "sanity-v3" | "sanity" | "storybook" | "nitro" | "hono" | "express" | "h3" | "nestjs" | "elysia" | "fastify" | "xmcp" ``` \ No newline at end of file diff --git a/docs/models/updateprojectprojectsnodeversion.md b/docs/models/updateprojectprojectsnodeversion.md index 6bde38237..479c9a909 100644 --- a/docs/models/updateprojectprojectsnodeversion.md +++ b/docs/models/updateprojectprojectsnodeversion.md @@ -5,11 +5,11 @@ ```typescript import { UpdateProjectProjectsNodeVersion } from "@vercel/sdk/models/updateprojectop.js"; -let value: UpdateProjectProjectsNodeVersion = "14.x"; +let value: UpdateProjectProjectsNodeVersion = "16.x"; ``` ## Values ```typescript -"22.x" | "20.x" | "18.x" | "16.x" | "14.x" | "12.x" | "10.x" | "8.10.x" +"24.x" | "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/updateprojectprojectsoidctokenclaims.md b/docs/models/updateprojectprojectsoidctokenclaims.md index 71c07640b..aa2e70476 100644 --- a/docs/models/updateprojectprojectsoidctokenclaims.md +++ b/docs/models/updateprojectprojectsoidctokenclaims.md @@ -15,6 +15,7 @@ let value: UpdateProjectProjectsOidcTokenClaims = { project: "", projectId: "", environment: "", + plan: "", }; ``` @@ -30,4 +31,5 @@ let value: UpdateProjectProjectsOidcTokenClaims = { | `ownerId` | *string* | :heavy_check_mark: | N/A | | `project` | *string* | :heavy_check_mark: | N/A | | `projectId` | *string* | :heavy_check_mark: | N/A | -| `environment` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| `environment` | *string* | :heavy_check_mark: | N/A | +| `plan` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/updateprojectprojectsresponse200applicationjsonaction.md b/docs/models/updateprojectprojectsresponse200applicationjsonaction.md new file mode 100644 index 000000000..120e8c9d5 --- /dev/null +++ b/docs/models/updateprojectprojectsresponse200applicationjsonaction.md @@ -0,0 +1,15 @@ +# UpdateProjectProjectsResponse200ApplicationJSONAction + +## Example Usage + +```typescript +import { UpdateProjectProjectsResponse200ApplicationJSONAction } from "@vercel/sdk/models/updateprojectop.js"; + +let value: UpdateProjectProjectsResponse200ApplicationJSONAction = "challenge"; +``` + +## Values + +```typescript +"log" | "challenge" | "deny" +``` \ No newline at end of file diff --git a/docs/models/updateprojectprojectsresponse200applicationjsonresponsebodyaction.md b/docs/models/updateprojectprojectsresponse200applicationjsonresponsebodyaction.md new file mode 100644 index 000000000..d6e2a0e3d --- /dev/null +++ b/docs/models/updateprojectprojectsresponse200applicationjsonresponsebodyaction.md @@ -0,0 +1,16 @@ +# UpdateProjectProjectsResponse200ApplicationJSONResponseBodyAction + +## Example Usage + +```typescript +import { UpdateProjectProjectsResponse200ApplicationJSONResponseBodyAction } from "@vercel/sdk/models/updateprojectop.js"; + +let value: UpdateProjectProjectsResponse200ApplicationJSONResponseBodyAction = + "deny"; +``` + +## Values + +```typescript +"log" | "challenge" | "deny" +``` \ No newline at end of file diff --git a/docs/models/updateprojectprojectsresponseaction.md b/docs/models/updateprojectprojectsresponseaction.md index 1620ebc03..95835e278 100644 --- a/docs/models/updateprojectprojectsresponseaction.md +++ b/docs/models/updateprojectprojectsresponseaction.md @@ -5,11 +5,11 @@ ```typescript import { UpdateProjectProjectsResponseAction } from "@vercel/sdk/models/updateprojectop.js"; -let value: UpdateProjectProjectsResponseAction = "deny"; +let value: UpdateProjectProjectsResponseAction = "blocked"; ``` ## Values ```typescript -"log" | "challenge" | "deny" +"blocked" ``` \ No newline at end of file diff --git a/docs/models/updateprojectprojectsstaticips.md b/docs/models/updateprojectprojectsstaticips.md new file mode 100644 index 000000000..f31b3ebf8 --- /dev/null +++ b/docs/models/updateprojectprojectsstaticips.md @@ -0,0 +1,21 @@ +# UpdateProjectProjectsStaticIps + +## Example Usage + +```typescript +import { UpdateProjectProjectsStaticIps } from "@vercel/sdk/models/updateprojectop.js"; + +let value: UpdateProjectProjectsStaticIps = { + builds: true, + enabled: true, + regions: [], +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `builds` | *boolean* | :heavy_check_mark: | N/A | +| `enabled` | *boolean* | :heavy_check_mark: | N/A | +| `regions` | *string*[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/updateprojectrequestbody.md b/docs/models/updateprojectrequestbody.md index 9b2a434cd..e10f71572 100644 --- a/docs/models/updateprojectrequestbody.md +++ b/docs/models/updateprojectrequestbody.md @@ -30,6 +30,7 @@ let value: UpdateProjectRequestBody = { | `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. | | +| `previewDeploymentSuffix` | *string* | :heavy_minus_sign: | Custom domain suffix for preview deployments. Takes precedence over team-level suffix. Must be a domain owned by the team. | | | `publicSource` | *boolean* | :heavy_minus_sign: | Specifies whether the source code and logs of the deployments for this project should be public or not | | | `resourceConfig` | [models.UpdateProjectResourceConfig](../models/updateprojectresourceconfig.md) | :heavy_minus_sign: | Specifies resource override configuration for the project | | | `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 | | @@ -42,9 +43,11 @@ 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 | | +| `staticIps` | [models.UpdateProjectStaticIps](../models/updateprojectstaticips.md) | :heavy_minus_sign: | Manage Static IPs for this project | | | `oidcTokenConfig` | [models.UpdateProjectOidcTokenConfig](../models/updateprojectoidctokenconfig.md) | :heavy_minus_sign: | OpenID Connect JSON Web Token generation configuration. | | | `passwordProtection` | [models.UpdateProjectPasswordProtection](../models/updateprojectpasswordprotection.md) | :heavy_minus_sign: | Allows to protect project deployments with a password | | | `ssoProtection` | [models.UpdateProjectSsoProtection](../models/updateprojectssoprotection.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.UpdateProjectTrustedIps](../models/updateprojecttrustedips.md) | :heavy_minus_sign: | Restricts access to deployments based on the incoming request IP address | | | `optionsAllowlist` | [models.UpdateProjectOptionsAllowlist](../models/updateprojectoptionsallowlist.md) | :heavy_minus_sign: | Specify a list of paths that should not be protected by Deployment Protection to enable Cors preflight requests | | -| `connectConfigurations` | *models.ConnectConfigurations*[] | :heavy_minus_sign: | The list of connections from project environment to Secure Compute network | | \ No newline at end of file +| `connectConfigurations` | *models.ConnectConfigurations*[] | :heavy_minus_sign: | The list of connections from project environment to Secure Compute network | | +| `dismissedToasts` | [models.UpdateProjectDismissedToasts](../models/updateprojectdismissedtoasts.md)[] | :heavy_minus_sign: | An array of objects representing a Dismissed Toast in regards to a Project. Objects are either merged with existing toasts (on key match), or added to the `dimissedToasts` array.` | | \ No newline at end of file diff --git a/docs/models/updateprojectresponsebody.md b/docs/models/updateprojectresponsebody.md index ddf3671ac..99cda5007 100644 --- a/docs/models/updateprojectresponsebody.md +++ b/docs/models/updateprojectresponsebody.md @@ -146,6 +146,7 @@ let value: UpdateProjectResponseBody = { | `skewProtectionBoundaryAt` | *number* | :heavy_minus_sign: | N/A | | `skewProtectionMaxAge` | *number* | :heavy_minus_sign: | N/A | | `skipGitConnectDuringLink` | *boolean* | :heavy_minus_sign: | N/A | +| `staticIps` | [models.UpdateProjectProjectsStaticIps](../models/updateprojectprojectsstaticips.md) | :heavy_minus_sign: | N/A | | `sourceFilesOutsideRootDirectory` | *boolean* | :heavy_minus_sign: | N/A | | `enableAffectedProjectsDeployments` | *boolean* | :heavy_minus_sign: | N/A | | `ssoProtection` | [models.UpdateProjectProjectsSsoProtection](../models/updateprojectprojectsssoprotection.md) | :heavy_minus_sign: | N/A | @@ -175,4 +176,6 @@ let value: UpdateProjectResponseBody = { | `features` | [models.UpdateProjectFeatures](../models/updateprojectfeatures.md) | :heavy_minus_sign: | N/A | | `v0` | *boolean* | :heavy_minus_sign: | N/A | | `abuse` | [models.UpdateProjectAbuse](../models/updateprojectabuse.md) | :heavy_minus_sign: | N/A | -| `internalRoutes` | *models.UpdateProjectInternalRoutes*[] | :heavy_minus_sign: | N/A | \ No newline at end of file +| `internalRoutes` | *models.UpdateProjectInternalRoutes*[] | :heavy_minus_sign: | N/A | +| `hasDeployments` | *boolean* | :heavy_minus_sign: | N/A | +| `dismissedToasts` | [models.UpdateProjectProjectsDismissedToasts](../models/updateprojectprojectsdismissedtoasts.md)[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/updateprojectstaticips.md b/docs/models/updateprojectstaticips.md new file mode 100644 index 000000000..249e11c6f --- /dev/null +++ b/docs/models/updateprojectstaticips.md @@ -0,0 +1,19 @@ +# UpdateProjectStaticIps + +Manage Static IPs for this project + +## Example Usage + +```typescript +import { UpdateProjectStaticIps } from "@vercel/sdk/models/updateprojectop.js"; + +let value: UpdateProjectStaticIps = { + enabled: true, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- | +| `enabled` | *boolean* | :heavy_check_mark: | Opt-in to Static IPs for this project | \ No newline at end of file diff --git a/docs/models/updateprojectvalue.md b/docs/models/updateprojectvalue.md new file mode 100644 index 000000000..5bfc46d21 --- /dev/null +++ b/docs/models/updateprojectvalue.md @@ -0,0 +1,32 @@ +# UpdateProjectValue + + +## Supported Types + +### `string` + +```typescript +const value: string = ""; +``` + +### `number` + +```typescript +const value: number = 1284.03; +``` + +### `boolean` + +```typescript +const value: boolean = true; +``` + +### `models.UpdateProjectValue4` + +```typescript +const value: models.UpdateProjectValue4 = { + previousValue: false, + currentValue: "", +}; +``` + diff --git a/docs/models/updateprojectvalue4.md b/docs/models/updateprojectvalue4.md new file mode 100644 index 000000000..d90907565 --- /dev/null +++ b/docs/models/updateprojectvalue4.md @@ -0,0 +1,19 @@ +# UpdateProjectValue4 + +## Example Usage + +```typescript +import { UpdateProjectValue4 } from "@vercel/sdk/models/updateprojectop.js"; + +let value: UpdateProjectValue4 = { + previousValue: false, + currentValue: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | ---------------------------------------- | +| `previousValue` | *models.UpdateProjectValuePreviousValue* | :heavy_check_mark: | N/A | +| `currentValue` | *models.UpdateProjectValueCurrentValue* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/updateprojectvaluecurrentvalue.md b/docs/models/updateprojectvaluecurrentvalue.md new file mode 100644 index 000000000..576324722 --- /dev/null +++ b/docs/models/updateprojectvaluecurrentvalue.md @@ -0,0 +1,23 @@ +# UpdateProjectValueCurrentValue + + +## Supported Types + +### `string` + +```typescript +const value: string = ""; +``` + +### `number` + +```typescript +const value: number = 1284.03; +``` + +### `boolean` + +```typescript +const value: boolean = true; +``` + diff --git a/docs/models/updateprojectvaluepreviousvalue.md b/docs/models/updateprojectvaluepreviousvalue.md new file mode 100644 index 000000000..8ec71aae6 --- /dev/null +++ b/docs/models/updateprojectvaluepreviousvalue.md @@ -0,0 +1,23 @@ +# UpdateProjectValuePreviousValue + + +## Supported Types + +### `string` + +```typescript +const value: string = ""; +``` + +### `number` + +```typescript +const value: number = 1284.03; +``` + +### `boolean` + +```typescript +const value: boolean = true; +``` + diff --git a/docs/models/updateresourcebillingplan.md b/docs/models/updateresourcebillingplan.md new file mode 100644 index 000000000..421df3cf2 --- /dev/null +++ b/docs/models/updateresourcebillingplan.md @@ -0,0 +1,28 @@ +# UpdateResourceBillingPlan + +## Example Usage + +```typescript +import { UpdateResourceBillingPlan } from "@vercel/sdk/models/updateresourceop.js"; + +let value: UpdateResourceBillingPlan = { + id: "", + type: "prepayment", + name: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | +| `id` | *string* | :heavy_check_mark: | N/A | +| `type` | [models.UpdateResourceType](../models/updateresourcetype.md) | :heavy_check_mark: | N/A | +| `name` | *string* | :heavy_check_mark: | N/A | +| `description` | *string* | :heavy_minus_sign: | N/A | +| `paymentMethodRequired` | *boolean* | :heavy_minus_sign: | N/A | +| `cost` | *string* | :heavy_minus_sign: | N/A | +| `details` | [models.UpdateResourceDetails](../models/updateresourcedetails.md)[] | :heavy_minus_sign: | N/A | +| `highlightedDetails` | [models.UpdateResourceHighlightedDetails](../models/updateresourcehighlighteddetails.md)[] | :heavy_minus_sign: | N/A | +| `effectiveDate` | *string* | :heavy_minus_sign: | N/A | +| `additionalProperties` | Record | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/updateresourcedetails.md b/docs/models/updateresourcedetails.md new file mode 100644 index 000000000..11eedeef1 --- /dev/null +++ b/docs/models/updateresourcedetails.md @@ -0,0 +1,18 @@ +# UpdateResourceDetails + +## Example Usage + +```typescript +import { UpdateResourceDetails } from "@vercel/sdk/models/updateresourceop.js"; + +let value: UpdateResourceDetails = { + label: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `label` | *string* | :heavy_check_mark: | N/A | +| `value` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/updateresourcehighlighteddetails.md b/docs/models/updateresourcehighlighteddetails.md new file mode 100644 index 000000000..e2cc4884d --- /dev/null +++ b/docs/models/updateresourcehighlighteddetails.md @@ -0,0 +1,18 @@ +# UpdateResourceHighlightedDetails + +## Example Usage + +```typescript +import { UpdateResourceHighlightedDetails } from "@vercel/sdk/models/updateresourceop.js"; + +let value: UpdateResourceHighlightedDetails = { + label: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `label` | *string* | :heavy_check_mark: | N/A | +| `value` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/updateresourcenotification.md b/docs/models/updateresourcenotification.md new file mode 100644 index 000000000..f98daff43 --- /dev/null +++ b/docs/models/updateresourcenotification.md @@ -0,0 +1,20 @@ +# UpdateResourceNotification + + +## Supported Types + +### `models.UpdateResourceNotification1` + +```typescript +const value: models.UpdateResourceNotification1 = { + level: "warn", + title: "", +}; +``` + +### `string` + +```typescript +const value: string = ""; +``` + diff --git a/docs/models/updateresourcenotification1.md b/docs/models/updateresourcenotification1.md new file mode 100644 index 000000000..97ad70e46 --- /dev/null +++ b/docs/models/updateresourcenotification1.md @@ -0,0 +1,21 @@ +# UpdateResourceNotification1 + +## Example Usage + +```typescript +import { UpdateResourceNotification1 } from "@vercel/sdk/models/updateresourceop.js"; + +let value: UpdateResourceNotification1 = { + level: "warn", + title: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | +| `level` | [models.NotificationLevel](../models/notificationlevel.md) | :heavy_check_mark: | N/A | +| `title` | *string* | :heavy_check_mark: | N/A | +| `message` | *string* | :heavy_minus_sign: | N/A | +| `href` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/updateresourceownership.md b/docs/models/updateresourceownership.md new file mode 100644 index 000000000..5112e5816 --- /dev/null +++ b/docs/models/updateresourceownership.md @@ -0,0 +1,15 @@ +# UpdateResourceOwnership + +## Example Usage + +```typescript +import { UpdateResourceOwnership } from "@vercel/sdk/models/updateresourceop.js"; + +let value: UpdateResourceOwnership = "linked"; +``` + +## Values + +```typescript +"owned" | "linked" | "sandbox" +``` \ No newline at end of file diff --git a/docs/models/updateresourcerequest.md b/docs/models/updateresourcerequest.md new file mode 100644 index 000000000..18c67e4eb --- /dev/null +++ b/docs/models/updateresourcerequest.md @@ -0,0 +1,20 @@ +# UpdateResourceRequest + +## Example Usage + +```typescript +import { UpdateResourceRequest } from "@vercel/sdk/models/updateresourceop.js"; + +let value: UpdateResourceRequest = { + integrationConfigurationId: "", + resourceId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `integrationConfigurationId` | *string* | :heavy_check_mark: | N/A | +| `resourceId` | *string* | :heavy_check_mark: | N/A | +| `requestBody` | [models.UpdateResourceRequestBody](../models/updateresourcerequestbody.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/updateresourcerequestbody.md b/docs/models/updateresourcerequestbody.md new file mode 100644 index 000000000..c9f3f8be8 --- /dev/null +++ b/docs/models/updateresourcerequestbody.md @@ -0,0 +1,22 @@ +# UpdateResourceRequestBody + +## Example Usage + +```typescript +import { UpdateResourceRequestBody } from "@vercel/sdk/models/updateresourceop.js"; + +let value: UpdateResourceRequestBody = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | +| `ownership` | [models.UpdateResourceOwnership](../models/updateresourceownership.md) | :heavy_minus_sign: | N/A | +| `name` | *string* | :heavy_minus_sign: | N/A | +| `status` | [models.UpdateResourceStatus](../models/updateresourcestatus.md) | :heavy_minus_sign: | N/A | +| `metadata` | Record | :heavy_minus_sign: | N/A | +| `billingPlan` | [models.UpdateResourceBillingPlan](../models/updateresourcebillingplan.md) | :heavy_minus_sign: | N/A | +| `notification` | *models.UpdateResourceNotification* | :heavy_minus_sign: | N/A | +| `extras` | Record | :heavy_minus_sign: | N/A | +| `secrets` | *models.UpdateResourceSecrets* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/usereventpayload139project.md b/docs/models/updateresourceresponsebody.md similarity index 58% rename from docs/models/usereventpayload139project.md rename to docs/models/updateresourceresponsebody.md index 580fdeab2..38c5c531e 100644 --- a/docs/models/usereventpayload139project.md +++ b/docs/models/updateresourceresponsebody.md @@ -1,11 +1,11 @@ -# UserEventPayload139Project +# UpdateResourceResponseBody ## Example Usage ```typescript -import { UserEventPayload139Project } from "@vercel/sdk/models/userevent.js"; +import { UpdateResourceResponseBody } from "@vercel/sdk/models/updateresourceop.js"; -let value: UserEventPayload139Project = { +let value: UpdateResourceResponseBody = { name: "", }; ``` @@ -14,5 +14,4 @@ let value: UserEventPayload139Project = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `name` | *string* | :heavy_check_mark: | N/A | -| `id` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| `name` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/updateresourcesecrets.md b/docs/models/updateresourcesecrets.md new file mode 100644 index 000000000..902317499 --- /dev/null +++ b/docs/models/updateresourcesecrets.md @@ -0,0 +1,19 @@ +# UpdateResourceSecrets + + +## Supported Types + +### `models.Secrets1[]` + +```typescript +const value: models.Secrets1[] = []; +``` + +### `models.Secrets2` + +```typescript +const value: models.Secrets2 = { + secrets: [], +}; +``` + diff --git a/docs/models/updateresourcesecretsmarketplaceenvironmentoverrides.md b/docs/models/updateresourcesecretsmarketplaceenvironmentoverrides.md new file mode 100644 index 000000000..c879ac408 --- /dev/null +++ b/docs/models/updateresourcesecretsmarketplaceenvironmentoverrides.md @@ -0,0 +1,19 @@ +# UpdateResourceSecretsMarketplaceEnvironmentOverrides + +A map of environments to override values for the secret, used for setting different values across deployments in production, preview, and development environments. Note: the same value will be used for all deployments in the given environment. + +## Example Usage + +```typescript +import { UpdateResourceSecretsMarketplaceEnvironmentOverrides } from "@vercel/sdk/models/updateresourceop.js"; + +let value: UpdateResourceSecretsMarketplaceEnvironmentOverrides = {}; +``` + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------- | --------------------------------------- | --------------------------------------- | --------------------------------------- | +| `development` | *string* | :heavy_minus_sign: | Value used for development environment. | +| `preview` | *string* | :heavy_minus_sign: | Value used for preview environment. | +| `production` | *string* | :heavy_minus_sign: | Value used for production environment. | \ No newline at end of file diff --git a/docs/models/updateresourcestatus.md b/docs/models/updateresourcestatus.md new file mode 100644 index 000000000..6e5c218a4 --- /dev/null +++ b/docs/models/updateresourcestatus.md @@ -0,0 +1,15 @@ +# UpdateResourceStatus + +## Example Usage + +```typescript +import { UpdateResourceStatus } from "@vercel/sdk/models/updateresourceop.js"; + +let value: UpdateResourceStatus = "pending"; +``` + +## Values + +```typescript +"ready" | "pending" | "onboarding" | "suspended" | "resumed" | "uninstalled" | "error" +``` \ No newline at end of file diff --git a/docs/models/updateresourcetype.md b/docs/models/updateresourcetype.md new file mode 100644 index 000000000..fee2f0f9b --- /dev/null +++ b/docs/models/updateresourcetype.md @@ -0,0 +1,15 @@ +# UpdateResourceType + +## Example Usage + +```typescript +import { UpdateResourceType } from "@vercel/sdk/models/updateresourceop.js"; + +let value: UpdateResourceType = "prepayment"; +``` + +## Values + +```typescript +"prepayment" | "subscription" +``` \ No newline at end of file diff --git a/docs/models/updates.md b/docs/models/updates.md new file mode 100644 index 000000000..8acaa3307 --- /dev/null +++ b/docs/models/updates.md @@ -0,0 +1,42 @@ +# Updates + +## Example Usage + +```typescript +import { Updates } from "@vercel/sdk/models/updatesharedenvvariableop.js"; + +let value: Updates = { + key: "API_URL", + value: "https://api.vercel.com", + target: [ + "production", + "preview", + ], + projectId: [ + "prj_2WjyKQmM8ZnGcJsPWMrHRHrE", + "prj_2WjyKQmM8ZnGcJsPWMrHRCRV", + ], + projectIdUpdates: { + link: [ + "prj_2WjyKQmM8ZnGcJsPWMrHRHrE", + ], + unlink: [ + "prj_2WjyKQmM8ZnGcJsPWMrHRCRV", + ], + }, + type: "encrypted", + comment: "database connection string for production", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `key` | *string* | :heavy_minus_sign: | The name of the Shared Environment Variable | API_URL | +| `value` | *string* | :heavy_minus_sign: | The value of the Shared Environment Variable | https://api.vercel.com | +| `target` | [models.UpdateSharedEnvVariableTarget](../models/updatesharedenvvariabletarget.md)[] | :heavy_minus_sign: | The target environment of the Shared Environment Variable | [
"production",
"preview"
] | +| `projectId` | *string*[] | :heavy_minus_sign: | Associate a Shared Environment Variable to projects. | [
"prj_2WjyKQmM8ZnGcJsPWMrHRHrE",
"prj_2WjyKQmM8ZnGcJsPWMrHRCRV"
] | +| `projectIdUpdates` | [models.ProjectIdUpdates](../models/projectidupdates.md) | :heavy_minus_sign: | Incrementally update project associations without specifying the full list | | +| `type` | [models.UpdateSharedEnvVariableType](../models/updatesharedenvvariabletype.md) | :heavy_minus_sign: | The new type of the Shared Environment Variable | encrypted | +| `comment` | *string* | :heavy_minus_sign: | A comment to add context on what this Shared Environment Variable is for | database connection string for production | \ No newline at end of file diff --git a/docs/models/updatesharedenvvariableenvironmentresponsetarget.md b/docs/models/updatesharedenvvariableenvironmentresponsetarget.md new file mode 100644 index 000000000..68601f95d --- /dev/null +++ b/docs/models/updatesharedenvvariableenvironmentresponsetarget.md @@ -0,0 +1,17 @@ +# UpdateSharedEnvVariableEnvironmentResponseTarget + + +## Supported Types + +### `models.UpdateSharedEnvVariableTarget1[]` + +```typescript +const value: models.UpdateSharedEnvVariableTarget1[] = []; +``` + +### `models.UpdateSharedEnvVariableTarget2` + +```typescript +const value: models.UpdateSharedEnvVariableTarget2 = "production"; +``` + diff --git a/docs/models/updatesharedenvvariableenvironmenttarget.md b/docs/models/updatesharedenvvariableenvironmenttarget.md new file mode 100644 index 000000000..e51165e7a --- /dev/null +++ b/docs/models/updatesharedenvvariableenvironmenttarget.md @@ -0,0 +1,17 @@ +# UpdateSharedEnvVariableEnvironmentTarget + +environments this env variable targets + +## Example Usage + +```typescript +import { UpdateSharedEnvVariableEnvironmentTarget } from "@vercel/sdk/models/updatesharedenvvariableop.js"; + +let value: UpdateSharedEnvVariableEnvironmentTarget = "production"; +``` + +## Values + +```typescript +"production" | "preview" | "development" +``` \ No newline at end of file diff --git a/docs/models/updatesharedenvvariableenvironmenttype.md b/docs/models/updatesharedenvvariableenvironmenttype.md new file mode 100644 index 000000000..70b44b1d3 --- /dev/null +++ b/docs/models/updatesharedenvvariableenvironmenttype.md @@ -0,0 +1,17 @@ +# UpdateSharedEnvVariableEnvironmentType + +The type of this cosmos doc instance, if blank, assume secret. + +## Example Usage + +```typescript +import { UpdateSharedEnvVariableEnvironmentType } from "@vercel/sdk/models/updatesharedenvvariableop.js"; + +let value: UpdateSharedEnvVariableEnvironmentType = "encrypted"; +``` + +## Values + +```typescript +"encrypted" | "sensitive" | "system" | "plain" +``` \ No newline at end of file diff --git a/docs/models/updatesharedenvvariableerror.md b/docs/models/updatesharedenvvariableerror.md new file mode 100644 index 000000000..e1969120b --- /dev/null +++ b/docs/models/updatesharedenvvariableerror.md @@ -0,0 +1,28 @@ +# UpdateSharedEnvVariableError + +## Example Usage + +```typescript +import { UpdateSharedEnvVariableError } from "@vercel/sdk/models/updatesharedenvvariableop.js"; + +let value: UpdateSharedEnvVariableError = { + 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.UpdateSharedEnvVariableValue* | :heavy_minus_sign: | N/A | +| `gitBranch` | *string* | :heavy_minus_sign: | N/A | +| `target` | *models.UpdateSharedEnvVariableEnvironmentResponseTarget* | :heavy_minus_sign: | N/A | +| `project` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/updatesharedenvvariablefailed.md b/docs/models/updatesharedenvvariablefailed.md new file mode 100644 index 000000000..dc7caa113 --- /dev/null +++ b/docs/models/updatesharedenvvariablefailed.md @@ -0,0 +1,20 @@ +# UpdateSharedEnvVariableFailed + +## Example Usage + +```typescript +import { UpdateSharedEnvVariableFailed } from "@vercel/sdk/models/updatesharedenvvariableop.js"; + +let value: UpdateSharedEnvVariableFailed = { + error: { + code: "", + message: "", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `error` | [models.UpdateSharedEnvVariableError](../models/updatesharedenvvariableerror.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/updatesharedenvvariablerequest.md b/docs/models/updatesharedenvvariablerequest.md new file mode 100644 index 000000000..53bd3c5d5 --- /dev/null +++ b/docs/models/updatesharedenvvariablerequest.md @@ -0,0 +1,20 @@ +# UpdateSharedEnvVariableRequest + +## Example Usage + +```typescript +import { UpdateSharedEnvVariableRequest } from "@vercel/sdk/models/updatesharedenvvariableop.js"; + +let value: UpdateSharedEnvVariableRequest = { + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + slug: "my-team-url-slug", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | team_1a2b3c4d5e6f7g8h9i0j1k2l | +| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | my-team-url-slug | +| `requestBody` | [models.UpdateSharedEnvVariableRequestBody](../models/updatesharedenvvariablerequestbody.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/updatesharedenvvariablerequestbody.md b/docs/models/updatesharedenvvariablerequestbody.md new file mode 100644 index 000000000..1a868c3b4 --- /dev/null +++ b/docs/models/updatesharedenvvariablerequestbody.md @@ -0,0 +1,40 @@ +# UpdateSharedEnvVariableRequestBody + +## Example Usage + +```typescript +import { UpdateSharedEnvVariableRequestBody } from "@vercel/sdk/models/updatesharedenvvariableop.js"; + +let value: UpdateSharedEnvVariableRequestBody = { + updates: { + "key": { + key: "API_URL", + value: "https://api.vercel.com", + target: [ + "production", + "preview", + ], + projectId: [ + "prj_2WjyKQmM8ZnGcJsPWMrHRHrE", + "prj_2WjyKQmM8ZnGcJsPWMrHRCRV", + ], + projectIdUpdates: { + link: [ + "prj_2WjyKQmM8ZnGcJsPWMrHRHrE", + ], + unlink: [ + "prj_2WjyKQmM8ZnGcJsPWMrHRCRV", + ], + }, + type: "encrypted", + comment: "database connection string for production", + }, + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | +| `updates` | Record | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/updatesharedenvvariableresponsebody.md b/docs/models/updatesharedenvvariableresponsebody.md new file mode 100644 index 000000000..a27f9da2f --- /dev/null +++ b/docs/models/updatesharedenvvariableresponsebody.md @@ -0,0 +1,26 @@ +# UpdateSharedEnvVariableResponseBody + +## Example Usage + +```typescript +import { UpdateSharedEnvVariableResponseBody } from "@vercel/sdk/models/updatesharedenvvariableop.js"; + +let value: UpdateSharedEnvVariableResponseBody = { + updated: [], + failed: [ + { + error: { + code: "", + message: "", + }, + }, + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `updated` | [models.Updated](../models/updated.md)[] | :heavy_check_mark: | N/A | +| `failed` | [models.UpdateSharedEnvVariableFailed](../models/updatesharedenvvariablefailed.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/updatesharedenvvariabletarget.md b/docs/models/updatesharedenvvariabletarget.md new file mode 100644 index 000000000..59e8f86cf --- /dev/null +++ b/docs/models/updatesharedenvvariabletarget.md @@ -0,0 +1,15 @@ +# UpdateSharedEnvVariableTarget + +## Example Usage + +```typescript +import { UpdateSharedEnvVariableTarget } from "@vercel/sdk/models/updatesharedenvvariableop.js"; + +let value: UpdateSharedEnvVariableTarget = "production"; +``` + +## Values + +```typescript +"production" | "preview" | "development" +``` \ No newline at end of file diff --git a/docs/models/updatesharedenvvariabletarget1.md b/docs/models/updatesharedenvvariabletarget1.md new file mode 100644 index 000000000..ab5184954 --- /dev/null +++ b/docs/models/updatesharedenvvariabletarget1.md @@ -0,0 +1,15 @@ +# UpdateSharedEnvVariableTarget1 + +## Example Usage + +```typescript +import { UpdateSharedEnvVariableTarget1 } from "@vercel/sdk/models/updatesharedenvvariableop.js"; + +let value: UpdateSharedEnvVariableTarget1 = "development"; +``` + +## Values + +```typescript +"production" | "preview" | "development" +``` \ No newline at end of file diff --git a/docs/models/updatesharedenvvariabletarget2.md b/docs/models/updatesharedenvvariabletarget2.md new file mode 100644 index 000000000..f18118d04 --- /dev/null +++ b/docs/models/updatesharedenvvariabletarget2.md @@ -0,0 +1,15 @@ +# UpdateSharedEnvVariableTarget2 + +## Example Usage + +```typescript +import { UpdateSharedEnvVariableTarget2 } from "@vercel/sdk/models/updatesharedenvvariableop.js"; + +let value: UpdateSharedEnvVariableTarget2 = "preview"; +``` + +## Values + +```typescript +"production" | "preview" | "development" +``` \ No newline at end of file diff --git a/docs/models/updatesharedenvvariabletype.md b/docs/models/updatesharedenvvariabletype.md new file mode 100644 index 000000000..9a1942e6b --- /dev/null +++ b/docs/models/updatesharedenvvariabletype.md @@ -0,0 +1,17 @@ +# UpdateSharedEnvVariableType + +The new type of the Shared Environment Variable + +## Example Usage + +```typescript +import { UpdateSharedEnvVariableType } from "@vercel/sdk/models/updatesharedenvvariableop.js"; + +let value: UpdateSharedEnvVariableType = "encrypted"; +``` + +## Values + +```typescript +"encrypted" | "sensitive" +``` \ No newline at end of file diff --git a/docs/models/updatesharedenvvariablevalue.md b/docs/models/updatesharedenvvariablevalue.md new file mode 100644 index 000000000..83a87fd04 --- /dev/null +++ b/docs/models/updatesharedenvvariablevalue.md @@ -0,0 +1,19 @@ +# UpdateSharedEnvVariableValue + + +## Supported Types + +### `string` + +```typescript +const value: string = ""; +``` + +### `models.UpdateSharedEnvVariableValue2[]` + +```typescript +const value: models.UpdateSharedEnvVariableValue2[] = [ + "preview", +]; +``` + diff --git a/docs/models/updatesharedenvvariablevalue2.md b/docs/models/updatesharedenvvariablevalue2.md new file mode 100644 index 000000000..8daa1c5c8 --- /dev/null +++ b/docs/models/updatesharedenvvariablevalue2.md @@ -0,0 +1,15 @@ +# UpdateSharedEnvVariableValue2 + +## Example Usage + +```typescript +import { UpdateSharedEnvVariableValue2 } from "@vercel/sdk/models/updatesharedenvvariableop.js"; + +let value: UpdateSharedEnvVariableValue2 = "preview"; +``` + +## Values + +```typescript +"production" | "preview" | "development" +``` \ No newline at end of file diff --git a/docs/models/updatestaticipsaws.md b/docs/models/updatestaticipsaws.md new file mode 100644 index 000000000..e1c2d00b4 --- /dev/null +++ b/docs/models/updatestaticipsaws.md @@ -0,0 +1,22 @@ +# UpdateStaticIpsAws + +## Example Usage + +```typescript +import { UpdateStaticIpsAws } from "@vercel/sdk/models/updatestaticipsop.js"; + +let value: UpdateStaticIpsAws = { + subnetIds: [ + "", + "", + ], + securityGroupId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `subnetIds` | *string*[] | :heavy_check_mark: | N/A | +| `securityGroupId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/updatestaticipsenvid.md b/docs/models/updatestaticipsenvid.md new file mode 100644 index 000000000..5d8f81a66 --- /dev/null +++ b/docs/models/updatestaticipsenvid.md @@ -0,0 +1,17 @@ +# UpdateStaticIpsEnvId + + +## Supported Types + +### `string` + +```typescript +const value: string = ""; +``` + +### `models.UpdateStaticIpsEnvId2` + +```typescript +const value: models.UpdateStaticIpsEnvId2 = "production"; +``` + diff --git a/docs/models/updatestaticipsenvid2.md b/docs/models/updatestaticipsenvid2.md new file mode 100644 index 000000000..e6c431c25 --- /dev/null +++ b/docs/models/updatestaticipsenvid2.md @@ -0,0 +1,15 @@ +# UpdateStaticIpsEnvId2 + +## Example Usage + +```typescript +import { UpdateStaticIpsEnvId2 } from "@vercel/sdk/models/updatestaticipsop.js"; + +let value: UpdateStaticIpsEnvId2 = "preview"; +``` + +## Values + +```typescript +"preview" | "production" +``` \ No newline at end of file diff --git a/docs/models/updatestaticipsrequest.md b/docs/models/updatestaticipsrequest.md new file mode 100644 index 000000000..88fc5901d --- /dev/null +++ b/docs/models/updatestaticipsrequest.md @@ -0,0 +1,22 @@ +# UpdateStaticIpsRequest + +## Example Usage + +```typescript +import { UpdateStaticIpsRequest } from "@vercel/sdk/models/updatestaticipsop.js"; + +let value: UpdateStaticIpsRequest = { + idOrName: "", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + slug: "my-team-url-slug", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | +| `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. | team_1a2b3c4d5e6f7g8h9i0j1k2l | +| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | my-team-url-slug | +| `requestBody` | *models.UpdateStaticIpsRequestBody* | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/updatestaticipsrequestbody.md b/docs/models/updatestaticipsrequestbody.md new file mode 100644 index 000000000..646830d74 --- /dev/null +++ b/docs/models/updatestaticipsrequestbody.md @@ -0,0 +1,26 @@ +# UpdateStaticIpsRequestBody + + +## Supported Types + +### `models.UpdateStaticIpsRequestBody1` + +```typescript +const value: models.UpdateStaticIpsRequestBody1 = { + builds: true, + regions: [ + "iad1", + ], +}; +``` + +### `models.UpdateStaticIpsRequestBody2` + +```typescript +const value: models.UpdateStaticIpsRequestBody2 = { + regions: [ + "iad1", + ], +}; +``` + diff --git a/docs/models/updatestaticipsrequestbody1.md b/docs/models/updatestaticipsrequestbody1.md new file mode 100644 index 000000000..13d5f7ffc --- /dev/null +++ b/docs/models/updatestaticipsrequestbody1.md @@ -0,0 +1,21 @@ +# UpdateStaticIpsRequestBody1 + +## Example Usage + +```typescript +import { UpdateStaticIpsRequestBody1 } from "@vercel/sdk/models/updatestaticipsop.js"; + +let value: UpdateStaticIpsRequestBody1 = { + builds: true, + regions: [ + "iad1", + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- | +| `builds` | *boolean* | :heavy_check_mark: | Whether to use Static IPs for builds. | +| `regions` | *string*[] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/updatestaticipsrequestbody2.md b/docs/models/updatestaticipsrequestbody2.md new file mode 100644 index 000000000..ad546ef57 --- /dev/null +++ b/docs/models/updatestaticipsrequestbody2.md @@ -0,0 +1,20 @@ +# UpdateStaticIpsRequestBody2 + +## Example Usage + +```typescript +import { UpdateStaticIpsRequestBody2 } from "@vercel/sdk/models/updatestaticipsop.js"; + +let value: UpdateStaticIpsRequestBody2 = { + regions: [ + "iad1", + ], +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------- | ------------------------------------- | ------------------------------------- | ------------------------------------- | +| `builds` | *boolean* | :heavy_minus_sign: | Whether to use Static IPs for builds. | +| `regions` | *string*[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/updatestaticipsresponsebody.md b/docs/models/updatestaticipsresponsebody.md new file mode 100644 index 000000000..3b22627af --- /dev/null +++ b/docs/models/updatestaticipsresponsebody.md @@ -0,0 +1,29 @@ +# UpdateStaticIpsResponseBody + +## Example Usage + +```typescript +import { UpdateStaticIpsResponseBody } from "@vercel/sdk/models/updatestaticipsop.js"; + +let value: UpdateStaticIpsResponseBody = { + envId: "production", + connectConfigurationId: "", + passive: true, + buildsEnabled: false, + createdAt: 5800.32, + updatedAt: 162.42, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `envId` | *models.UpdateStaticIpsEnvId* | :heavy_check_mark: | N/A | +| `connectConfigurationId` | *string* | :heavy_check_mark: | N/A | +| `dc` | *string* | :heavy_minus_sign: | N/A | +| `passive` | *boolean* | :heavy_check_mark: | N/A | +| `buildsEnabled` | *boolean* | :heavy_check_mark: | N/A | +| `aws` | [models.UpdateStaticIpsAws](../models/updatestaticipsaws.md) | :heavy_minus_sign: | 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/updateteammemberrequest.md b/docs/models/updateteammemberrequest.md index 8ec3bb3fb..4807c1dd6 100644 --- a/docs/models/updateteammemberrequest.md +++ b/docs/models/updateteammemberrequest.md @@ -10,7 +10,7 @@ let value: UpdateTeamMemberRequest = { teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", requestBody: { confirmed: true, - role: "[\"MEMBER\",\"VIEWER\"]", + role: "VIEWER", projects: [ { projectId: "prj_ndlgr43fadlPyCtREAqxxdyFK", diff --git a/docs/models/updateteammemberrequestbody.md b/docs/models/updateteammemberrequestbody.md index ee27f5bed..9ce34ba3f 100644 --- a/docs/models/updateteammemberrequestbody.md +++ b/docs/models/updateteammemberrequestbody.md @@ -7,7 +7,7 @@ import { UpdateTeamMemberRequestBody } from "@vercel/sdk/models/updateteammember let value: UpdateTeamMemberRequestBody = { confirmed: true, - role: "[\"MEMBER\",\"VIEWER\"]", + role: "VIEWER", projects: [ { projectId: "prj_ndlgr43fadlPyCtREAqxxdyFK", @@ -22,6 +22,6 @@ let value: UpdateTeamMemberRequestBody = { | 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"
] | +| `role` | *string* | :heavy_minus_sign: | The role in the team of the 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/uploadprojectclientcertrequest.md b/docs/models/uploadprojectclientcertrequest.md new file mode 100644 index 000000000..68838c4f9 --- /dev/null +++ b/docs/models/uploadprojectclientcertrequest.md @@ -0,0 +1,22 @@ +# UploadProjectClientCertRequest + +## Example Usage + +```typescript +import { UploadProjectClientCertRequest } from "@vercel/sdk/models/uploadprojectclientcertop.js"; + +let value: UploadProjectClientCertRequest = { + idOrName: "prj_XLKmu1DyR1eY7zq8UgeRKbA7yVLA", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + slug: "my-team-url-slug", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `idOrName` | *string* | :heavy_check_mark: | The unique project identifier or the project name | prj_XLKmu1DyR1eY7zq8UgeRKbA7yVLA | +| `teamId` | *string* | :heavy_minus_sign: | The Team identifier to perform the request on behalf of. | team_1a2b3c4d5e6f7g8h9i0j1k2l | +| `slug` | *string* | :heavy_minus_sign: | The Team slug to perform the request on behalf of. | my-team-url-slug | +| `requestBody` | [models.UploadProjectClientCertRequestBody](../models/uploadprojectclientcertrequestbody.md) | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/uploadprojectclientcertrequestbody.md b/docs/models/uploadprojectclientcertrequestbody.md new file mode 100644 index 000000000..c031888fe --- /dev/null +++ b/docs/models/uploadprojectclientcertrequestbody.md @@ -0,0 +1,24 @@ +# UploadProjectClientCertRequestBody + +## Example Usage + +```typescript +import { UploadProjectClientCertRequestBody } from "@vercel/sdk/models/uploadprojectclientcertop.js"; + +let value: UploadProjectClientCertRequestBody = { + cert: "-----BEGIN CERTIFICATE-----\\n...\\n-----END CERTIFICATE-----", + key: "-----BEGIN PRIVATE KEY-----\\n...\\n-----END PRIVATE KEY-----", + ca: "-----BEGIN CERTIFICATE-----\\n...\\n-----END CERTIFICATE-----", + origin: "https://api.example.com", +}; +``` + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | +| `cert` | *string* | :heavy_check_mark: | The client certificate in PEM format | -----BEGIN CERTIFICATE-----\\n...\\n-----END CERTIFICATE----- | +| `key` | *string* | :heavy_check_mark: | The private key in PEM format | -----BEGIN PRIVATE KEY-----\\n...\\n-----END PRIVATE KEY----- | +| `ca` | *string* | :heavy_check_mark: | The certificate authority in PEM format | -----BEGIN CERTIFICATE-----\\n...\\n-----END CERTIFICATE----- | +| `origin` | *string* | :heavy_minus_sign: | The origin this certificate should be used for. If not specified, the certificate will be project-wide. | https://api.example.com | +| `skipValidation` | *boolean* | :heavy_minus_sign: | Skip validation of the certificate | | \ No newline at end of file diff --git a/docs/models/uploadprojectclientcertresponsebody.md b/docs/models/uploadprojectclientcertresponsebody.md new file mode 100644 index 000000000..5fab1321d --- /dev/null +++ b/docs/models/uploadprojectclientcertresponsebody.md @@ -0,0 +1,23 @@ +# UploadProjectClientCertResponseBody + +Client certificate uploaded successfully + +## Example Usage + +```typescript +import { UploadProjectClientCertResponseBody } from "@vercel/sdk/models/uploadprojectclientcertop.js"; + +let value: UploadProjectClientCertResponseBody = { + updated: true, + origin: "", + certId: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `updated` | *boolean* | :heavy_check_mark: | N/A | +| `origin` | *string* | :heavy_check_mark: | N/A | +| `certId` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/usereventmicrofrontends1.md b/docs/models/usereventmicrofrontends1.md index a8467d436..b169f6d8b 100644 --- a/docs/models/usereventmicrofrontends1.md +++ b/docs/models/usereventmicrofrontends1.md @@ -6,9 +6,11 @@ import { UserEventMicrofrontends1 } from "@vercel/sdk/models/userevent.js"; let value: UserEventMicrofrontends1 = { - updatedAt: 1770.01, + isDefaultApp: true, + updatedAt: 3153.83, groupIds: [ "", + "", ], enabled: false, }; @@ -16,11 +18,11 @@ let value: UserEventMicrofrontends1 = { ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `updatedAt` | *number* | :heavy_check_mark: | Timestamp when the microfrontends settings were last updated. | -| `groupIds` | *string*[] | :heavy_check_mark: | 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. | -| `enabled` | *boolean* | :heavy_check_mark: | Whether microfrontends are enabled for this project. | -| `isDefaultApp` | *boolean* | :heavy_minus_sign: | 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. | -| `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. Includes the leading slash, e.g. `/docs` | -| `routeObservabilityToThisProject` | *boolean* | :heavy_minus_sign: | Whether observability data should be routed to this microfrontend project or a root project. | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `isDefaultApp` | *boolean* | :heavy_check_mark: | N/A | +| `updatedAt` | *number* | :heavy_check_mark: | Timestamp when the microfrontends settings were last updated. | +| `groupIds` | *string*[] | :heavy_check_mark: | 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. | +| `enabled` | *boolean* | :heavy_check_mark: | Whether microfrontends are enabled for this project. | +| `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. Includes the leading slash, e.g. `/docs` | +| `freeProjectForLegacyLimits` | *boolean* | :heavy_minus_sign: | Whether the project was part of the legacy limits for hobby and pro-trial before billing was added. This field is only set when the team is upgraded to a paid plan and we are backfilling the subscription status. We cap the subscription to 2 projects and set this field for the 3rd project. When this field is set, the project is not charged for and we do not call any billing APIs for this project. | \ No newline at end of file diff --git a/docs/models/usereventmicrofrontends2.md b/docs/models/usereventmicrofrontends2.md index 723c7a919..cab29db59 100644 --- a/docs/models/usereventmicrofrontends2.md +++ b/docs/models/usereventmicrofrontends2.md @@ -17,8 +17,13 @@ let value: UserEventMicrofrontends2 = { ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `updatedAt` | *number* | :heavy_check_mark: | N/A | -| `groupIds` | *any*[] | :heavy_check_mark: | N/A | -| `enabled` | *boolean* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `isDefaultApp` | *boolean* | :heavy_minus_sign: | N/A | +| `routeObservabilityToThisProject` | *boolean* | :heavy_minus_sign: | Whether observability data should be routed to this microfrontend project or a root project. | +| `doNotRouteWithMicrofrontendsRouting` | *boolean* | :heavy_minus_sign: | Whether to add microfrontends routing to aliases. This means domains in this project will route as a microfrontend. | +| `updatedAt` | *number* | :heavy_check_mark: | Timestamp when the microfrontends settings were last updated. | +| `groupIds` | *string*[] | :heavy_check_mark: | 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. | +| `enabled` | *boolean* | :heavy_check_mark: | Whether microfrontends are enabled for this project. | +| `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. Includes the leading slash, e.g. `/docs` | +| `freeProjectForLegacyLimits` | *boolean* | :heavy_minus_sign: | Whether the project was part of the legacy limits for hobby and pro-trial before billing was added. This field is only set when the team is upgraded to a paid plan and we are backfilling the subscription status. We cap the subscription to 2 projects and set this field for the 3rd project. When this field is set, the project is not charged for and we do not call any billing APIs for this project. | \ No newline at end of file diff --git a/docs/models/usereventmicrofrontends3.md b/docs/models/usereventmicrofrontends3.md new file mode 100644 index 000000000..d29958b81 --- /dev/null +++ b/docs/models/usereventmicrofrontends3.md @@ -0,0 +1,25 @@ +# UserEventMicrofrontends3 + +## Example Usage + +```typescript +import { UserEventMicrofrontends3 } from "@vercel/sdk/models/userevent.js"; + +let value: UserEventMicrofrontends3 = { + updatedAt: 6600.72, + groupIds: [ + "", + "", + ], + enabled: false, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------- | ---------------------------- | ---------------------------- | ---------------------------- | +| `updatedAt` | *number* | :heavy_check_mark: | N/A | +| `groupIds` | *any*[] | :heavy_check_mark: | N/A | +| `enabled` | *boolean* | :heavy_check_mark: | N/A | +| `freeProjectForLegacyLimits` | *boolean* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/usereventpayload98team.md b/docs/models/usereventpayload100team.md similarity index 74% rename from docs/models/usereventpayload98team.md rename to docs/models/usereventpayload100team.md index 2bc463865..3df88433f 100644 --- a/docs/models/usereventpayload98team.md +++ b/docs/models/usereventpayload100team.md @@ -1,11 +1,11 @@ -# UserEventPayload98Team +# UserEventPayload100Team ## Example Usage ```typescript -import { UserEventPayload98Team } from "@vercel/sdk/models/userevent.js"; +import { UserEventPayload100Team } from "@vercel/sdk/models/userevent.js"; -let value: UserEventPayload98Team = { +let value: UserEventPayload100Team = { id: "", }; ``` diff --git a/docs/models/usereventpayload99team.md b/docs/models/usereventpayload101team.md similarity index 74% rename from docs/models/usereventpayload99team.md rename to docs/models/usereventpayload101team.md index 69bcd1744..6744c9d75 100644 --- a/docs/models/usereventpayload99team.md +++ b/docs/models/usereventpayload101team.md @@ -1,11 +1,11 @@ -# UserEventPayload99Team +# UserEventPayload101Team ## Example Usage ```typescript -import { UserEventPayload99Team } from "@vercel/sdk/models/userevent.js"; +import { UserEventPayload101Team } from "@vercel/sdk/models/userevent.js"; -let value: UserEventPayload99Team = { +let value: UserEventPayload101Team = { id: "", }; ``` diff --git a/docs/models/usereventpayload104type.md b/docs/models/usereventpayload104type.md deleted file mode 100644 index 7f01355dc..000000000 --- a/docs/models/usereventpayload104type.md +++ /dev/null @@ -1,17 +0,0 @@ -# UserEventPayload104Type - -The budget type - -## Example Usage - -```typescript -import { UserEventPayload104Type } from "@vercel/sdk/models/userevent.js"; - -let value: UserEventPayload104Type = "fixed"; -``` - -## Values - -```typescript -"fixed" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload105type.md b/docs/models/usereventpayload105type.md deleted file mode 100644 index c19731bab..000000000 --- a/docs/models/usereventpayload105type.md +++ /dev/null @@ -1,17 +0,0 @@ -# UserEventPayload105Type - -The budget type - -## Example Usage - -```typescript -import { UserEventPayload105Type } from "@vercel/sdk/models/userevent.js"; - -let value: UserEventPayload105Type = "fixed"; -``` - -## Values - -```typescript -"fixed" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload107type.md b/docs/models/usereventpayload107type.md new file mode 100644 index 000000000..7ab331548 --- /dev/null +++ b/docs/models/usereventpayload107type.md @@ -0,0 +1,17 @@ +# UserEventPayload107Type + +The budget type + +## Example Usage + +```typescript +import { UserEventPayload107Type } from "@vercel/sdk/models/userevent.js"; + +let value: UserEventPayload107Type = "fixed"; +``` + +## Values + +```typescript +"fixed" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload108type.md b/docs/models/usereventpayload108type.md new file mode 100644 index 000000000..d141c791d --- /dev/null +++ b/docs/models/usereventpayload108type.md @@ -0,0 +1,17 @@ +# UserEventPayload108Type + +The budget type + +## Example Usage + +```typescript +import { UserEventPayload108Type } from "@vercel/sdk/models/userevent.js"; + +let value: UserEventPayload108Type = "fixed"; +``` + +## Values + +```typescript +"fixed" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload118user.md b/docs/models/usereventpayload120user.md similarity index 72% rename from docs/models/usereventpayload118user.md rename to docs/models/usereventpayload120user.md index 4d775fbb0..dfc13ad73 100644 --- a/docs/models/usereventpayload118user.md +++ b/docs/models/usereventpayload120user.md @@ -1,13 +1,13 @@ -# UserEventPayload118User +# UserEventPayload120User ## Example Usage ```typescript -import { UserEventPayload118User } from "@vercel/sdk/models/userevent.js"; +import { UserEventPayload120User } from "@vercel/sdk/models/userevent.js"; -let value: UserEventPayload118User = { +let value: UserEventPayload120User = { id: "", - username: "Cecil_Wuckert", + username: "Anne.Hermann", }; ``` diff --git a/docs/models/usereventpayload138project.md b/docs/models/usereventpayload138project.md deleted file mode 100644 index 08ab5c0e8..000000000 --- a/docs/models/usereventpayload138project.md +++ /dev/null @@ -1,18 +0,0 @@ -# UserEventPayload138Project - -## Example Usage - -```typescript -import { UserEventPayload138Project } from "@vercel/sdk/models/userevent.js"; - -let value: UserEventPayload138Project = { - name: "", -}; -``` - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `name` | *string* | :heavy_check_mark: | N/A | -| `id` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/usereventpayload140project.md b/docs/models/usereventpayload140project.md index 218351b3e..fe3d3363c 100644 --- a/docs/models/usereventpayload140project.md +++ b/docs/models/usereventpayload140project.md @@ -6,7 +6,6 @@ import { UserEventPayload140Project } from "@vercel/sdk/models/userevent.js"; let value: UserEventPayload140Project = { - id: "", name: "", }; ``` @@ -15,5 +14,5 @@ let value: UserEventPayload140Project = { | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | -| `id` | *string* | :heavy_check_mark: | N/A | -| `name` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file +| `name` | *string* | :heavy_check_mark: | N/A | +| `id` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/usereventpayload140role.md b/docs/models/usereventpayload140role.md deleted file mode 100644 index 6319edd94..000000000 --- a/docs/models/usereventpayload140role.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventPayload140Role - -## Example Usage - -```typescript -import { UserEventPayload140Role } from "@vercel/sdk/models/userevent.js"; - -let value: UserEventPayload140Role = "PROJECT_DEVELOPER"; -``` - -## Values - -```typescript -"ADMIN" | "PROJECT_DEVELOPER" | "PROJECT_VIEWER" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload141project.md b/docs/models/usereventpayload141project.md index 06990f40b..63bde16d5 100644 --- a/docs/models/usereventpayload141project.md +++ b/docs/models/usereventpayload141project.md @@ -7,17 +7,12 @@ import { UserEventPayload141Project } from "@vercel/sdk/models/userevent.js"; let value: UserEventPayload141Project = { name: "", - role: "PROJECT_VIEWER", - invitedUserName: "", }; ``` ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | -| `name` | *string* | :heavy_check_mark: | N/A | -| `role` | [models.UserEventPayload141Role](../models/usereventpayload141role.md) | :heavy_check_mark: | N/A | -| `invitedUserName` | *string* | :heavy_check_mark: | N/A | -| `id` | *string* | :heavy_minus_sign: | N/A | -| `invitedUserId` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `name` | *string* | :heavy_check_mark: | N/A | +| `id` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/usereventpayload150project.md b/docs/models/usereventpayload142project.md similarity index 76% rename from docs/models/usereventpayload150project.md rename to docs/models/usereventpayload142project.md index c15bcc7d9..4e86eaa88 100644 --- a/docs/models/usereventpayload150project.md +++ b/docs/models/usereventpayload142project.md @@ -1,11 +1,11 @@ -# UserEventPayload150Project +# UserEventPayload142Project ## Example Usage ```typescript -import { UserEventPayload150Project } from "@vercel/sdk/models/userevent.js"; +import { UserEventPayload142Project } from "@vercel/sdk/models/userevent.js"; -let value: UserEventPayload150Project = { +let value: UserEventPayload142Project = { id: "", name: "", }; diff --git a/docs/models/usereventpayload142role.md b/docs/models/usereventpayload142role.md new file mode 100644 index 000000000..a2d95aee9 --- /dev/null +++ b/docs/models/usereventpayload142role.md @@ -0,0 +1,15 @@ +# UserEventPayload142Role + +## Example Usage + +```typescript +import { UserEventPayload142Role } from "@vercel/sdk/models/userevent.js"; + +let value: UserEventPayload142Role = "PROJECT_DEVELOPER"; +``` + +## Values + +```typescript +"ADMIN" | "PROJECT_DEVELOPER" | "PROJECT_VIEWER" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload143project.md b/docs/models/usereventpayload143project.md new file mode 100644 index 000000000..10b5441e7 --- /dev/null +++ b/docs/models/usereventpayload143project.md @@ -0,0 +1,23 @@ +# UserEventPayload143Project + +## Example Usage + +```typescript +import { UserEventPayload143Project } from "@vercel/sdk/models/userevent.js"; + +let value: UserEventPayload143Project = { + name: "", + role: "PROJECT_DEVELOPER", + invitedUserName: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | +| `name` | *string* | :heavy_check_mark: | N/A | +| `role` | [models.UserEventPayload143Role](../models/usereventpayload143role.md) | :heavy_check_mark: | N/A | +| `invitedUserName` | *string* | :heavy_check_mark: | N/A | +| `id` | *string* | :heavy_minus_sign: | N/A | +| `invitedUserId` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/usereventpayload143role.md b/docs/models/usereventpayload143role.md new file mode 100644 index 000000000..54cdce697 --- /dev/null +++ b/docs/models/usereventpayload143role.md @@ -0,0 +1,15 @@ +# UserEventPayload143Role + +## Example Usage + +```typescript +import { UserEventPayload143Role } from "@vercel/sdk/models/userevent.js"; + +let value: UserEventPayload143Role = "PROJECT_DEVELOPER"; +``` + +## Values + +```typescript +"ADMIN" | "PROJECT_DEVELOPER" | "PROJECT_VIEWER" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload147action.md b/docs/models/usereventpayload147action.md deleted file mode 100644 index 56032c1c4..000000000 --- a/docs/models/usereventpayload147action.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventPayload147Action - -## Example Usage - -```typescript -import { UserEventPayload147Action } from "@vercel/sdk/models/userevent.js"; - -let value: UserEventPayload147Action = "enable"; -``` - -## Values - -```typescript -"enable" | "disable" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload149action.md b/docs/models/usereventpayload149action.md new file mode 100644 index 000000000..ed48ecfd0 --- /dev/null +++ b/docs/models/usereventpayload149action.md @@ -0,0 +1,15 @@ +# UserEventPayload149Action + +## Example Usage + +```typescript +import { UserEventPayload149Action } from "@vercel/sdk/models/userevent.js"; + +let value: UserEventPayload149Action = "enable"; +``` + +## Values + +```typescript +"enable" | "disable" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload152project.md b/docs/models/usereventpayload152project.md new file mode 100644 index 000000000..af5290681 --- /dev/null +++ b/docs/models/usereventpayload152project.md @@ -0,0 +1,19 @@ +# UserEventPayload152Project + +## Example Usage + +```typescript +import { UserEventPayload152Project } from "@vercel/sdk/models/userevent.js"; + +let value: UserEventPayload152Project = { + id: "", + name: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `id` | *string* | :heavy_check_mark: | N/A | +| `name` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/usereventpayload151prevproject.md b/docs/models/usereventpayload153prevproject.md similarity index 76% rename from docs/models/usereventpayload151prevproject.md rename to docs/models/usereventpayload153prevproject.md index 4c21c9c2b..a292d4026 100644 --- a/docs/models/usereventpayload151prevproject.md +++ b/docs/models/usereventpayload153prevproject.md @@ -1,11 +1,11 @@ -# UserEventPayload151PrevProject +# UserEventPayload153PrevProject ## Example Usage ```typescript -import { UserEventPayload151PrevProject } from "@vercel/sdk/models/userevent.js"; +import { UserEventPayload153PrevProject } from "@vercel/sdk/models/userevent.js"; -let value: UserEventPayload151PrevProject = {}; +let value: UserEventPayload153PrevProject = {}; ``` ## Fields diff --git a/docs/models/usereventpayload151project.md b/docs/models/usereventpayload153project.md similarity index 82% rename from docs/models/usereventpayload151project.md rename to docs/models/usereventpayload153project.md index 8d7500bd9..0e4ba30cf 100644 --- a/docs/models/usereventpayload151project.md +++ b/docs/models/usereventpayload153project.md @@ -1,11 +1,11 @@ -# UserEventPayload151Project +# UserEventPayload153Project ## Example Usage ```typescript -import { UserEventPayload151Project } from "@vercel/sdk/models/userevent.js"; +import { UserEventPayload153Project } from "@vercel/sdk/models/userevent.js"; -let value: UserEventPayload151Project = { +let value: UserEventPayload153Project = { id: "", name: "", }; diff --git a/docs/models/usereventpayload161resourcestype.md b/docs/models/usereventpayload161resourcestype.md new file mode 100644 index 000000000..6e2117f34 --- /dev/null +++ b/docs/models/usereventpayload161resourcestype.md @@ -0,0 +1,15 @@ +# UserEventPayload161ResourcesType + +## Example Usage + +```typescript +import { UserEventPayload161ResourcesType } from "@vercel/sdk/models/userevent.js"; + +let value: UserEventPayload161ResourcesType = "string"; +``` + +## Values + +```typescript +"string" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload161type.md b/docs/models/usereventpayload161type.md new file mode 100644 index 000000000..1634017d2 --- /dev/null +++ b/docs/models/usereventpayload161type.md @@ -0,0 +1,15 @@ +# UserEventPayload161Type + +## Example Usage + +```typescript +import { UserEventPayload161Type } from "@vercel/sdk/models/userevent.js"; + +let value: UserEventPayload161Type = "list"; +``` + +## Values + +```typescript +"list" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload162afterresourcestype.md b/docs/models/usereventpayload162afterresourcestype.md new file mode 100644 index 000000000..32a07cdab --- /dev/null +++ b/docs/models/usereventpayload162afterresourcestype.md @@ -0,0 +1,15 @@ +# UserEventPayload162AfterResourcesType + +## Example Usage + +```typescript +import { UserEventPayload162AfterResourcesType } from "@vercel/sdk/models/userevent.js"; + +let value: UserEventPayload162AfterResourcesType = "string"; +``` + +## Values + +```typescript +"string" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload162aftertype.md b/docs/models/usereventpayload162aftertype.md new file mode 100644 index 000000000..0e3bc669f --- /dev/null +++ b/docs/models/usereventpayload162aftertype.md @@ -0,0 +1,15 @@ +# UserEventPayload162AfterType + +## Example Usage + +```typescript +import { UserEventPayload162AfterType } from "@vercel/sdk/models/userevent.js"; + +let value: UserEventPayload162AfterType = "list"; +``` + +## Values + +```typescript +"list" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload162beforetype.md b/docs/models/usereventpayload162beforetype.md new file mode 100644 index 000000000..3d7c631fe --- /dev/null +++ b/docs/models/usereventpayload162beforetype.md @@ -0,0 +1,15 @@ +# UserEventPayload162BeforeType + +## Example Usage + +```typescript +import { UserEventPayload162BeforeType } from "@vercel/sdk/models/userevent.js"; + +let value: UserEventPayload162BeforeType = "string"; +``` + +## Values + +```typescript +"string" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload162type.md b/docs/models/usereventpayload162type.md new file mode 100644 index 000000000..b2d5140df --- /dev/null +++ b/docs/models/usereventpayload162type.md @@ -0,0 +1,15 @@ +# UserEventPayload162Type + +## Example Usage + +```typescript +import { UserEventPayload162Type } from "@vercel/sdk/models/userevent.js"; + +let value: UserEventPayload162Type = "list"; +``` + +## Values + +```typescript +"list" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload163configuration.md b/docs/models/usereventpayload164configuration.md similarity index 74% rename from docs/models/usereventpayload163configuration.md rename to docs/models/usereventpayload164configuration.md index 5e7b70b85..561db5f26 100644 --- a/docs/models/usereventpayload163configuration.md +++ b/docs/models/usereventpayload164configuration.md @@ -1,11 +1,11 @@ -# UserEventPayload163Configuration +# UserEventPayload164Configuration ## Example Usage ```typescript -import { UserEventPayload163Configuration } from "@vercel/sdk/models/userevent.js"; +import { UserEventPayload164Configuration } from "@vercel/sdk/models/userevent.js"; -let value: UserEventPayload163Configuration = { +let value: UserEventPayload164Configuration = { id: "", }; ``` diff --git a/docs/models/usereventpayload161team.md b/docs/models/usereventpayload164team.md similarity index 77% rename from docs/models/usereventpayload161team.md rename to docs/models/usereventpayload164team.md index eb26314a0..39de163db 100644 --- a/docs/models/usereventpayload161team.md +++ b/docs/models/usereventpayload164team.md @@ -1,11 +1,11 @@ -# UserEventPayload161Team +# UserEventPayload164Team ## Example Usage ```typescript -import { UserEventPayload161Team } from "@vercel/sdk/models/userevent.js"; +import { UserEventPayload164Team } from "@vercel/sdk/models/userevent.js"; -let value: UserEventPayload161Team = { +let value: UserEventPayload164Team = { id: "", name: "", }; diff --git a/docs/models/usereventpayload162configuration.md b/docs/models/usereventpayload165configuration.md similarity index 74% rename from docs/models/usereventpayload162configuration.md rename to docs/models/usereventpayload165configuration.md index 4dda0dc2c..dbb4e9bcf 100644 --- a/docs/models/usereventpayload162configuration.md +++ b/docs/models/usereventpayload165configuration.md @@ -1,11 +1,11 @@ -# UserEventPayload162Configuration +# UserEventPayload165Configuration ## Example Usage ```typescript -import { UserEventPayload162Configuration } from "@vercel/sdk/models/userevent.js"; +import { UserEventPayload165Configuration } from "@vercel/sdk/models/userevent.js"; -let value: UserEventPayload162Configuration = { +let value: UserEventPayload165Configuration = { id: "", }; ``` diff --git a/docs/models/usereventpayload162team.md b/docs/models/usereventpayload165team.md similarity index 77% rename from docs/models/usereventpayload162team.md rename to docs/models/usereventpayload165team.md index 24b62c907..b5e43a09a 100644 --- a/docs/models/usereventpayload162team.md +++ b/docs/models/usereventpayload165team.md @@ -1,11 +1,11 @@ -# UserEventPayload162Team +# UserEventPayload165Team ## Example Usage ```typescript -import { UserEventPayload162Team } from "@vercel/sdk/models/userevent.js"; +import { UserEventPayload165Team } from "@vercel/sdk/models/userevent.js"; -let value: UserEventPayload162Team = { +let value: UserEventPayload165Team = { id: "", name: "", }; diff --git a/docs/models/usereventpayload161configuration.md b/docs/models/usereventpayload166configuration.md similarity index 74% rename from docs/models/usereventpayload161configuration.md rename to docs/models/usereventpayload166configuration.md index 06be25ec0..8ef207d31 100644 --- a/docs/models/usereventpayload161configuration.md +++ b/docs/models/usereventpayload166configuration.md @@ -1,11 +1,11 @@ -# UserEventPayload161Configuration +# UserEventPayload166Configuration ## Example Usage ```typescript -import { UserEventPayload161Configuration } from "@vercel/sdk/models/userevent.js"; +import { UserEventPayload166Configuration } from "@vercel/sdk/models/userevent.js"; -let value: UserEventPayload161Configuration = { +let value: UserEventPayload166Configuration = { id: "", }; ``` diff --git a/docs/models/usereventpayload163team.md b/docs/models/usereventpayload166team.md similarity index 77% rename from docs/models/usereventpayload163team.md rename to docs/models/usereventpayload166team.md index 13072ea1b..daeafbac9 100644 --- a/docs/models/usereventpayload163team.md +++ b/docs/models/usereventpayload166team.md @@ -1,11 +1,11 @@ -# UserEventPayload163Team +# UserEventPayload166Team ## Example Usage ```typescript -import { UserEventPayload163Team } from "@vercel/sdk/models/userevent.js"; +import { UserEventPayload166Team } from "@vercel/sdk/models/userevent.js"; -let value: UserEventPayload163Team = { +let value: UserEventPayload166Team = { id: "", name: "", }; diff --git a/docs/models/usereventpayload29team.md b/docs/models/usereventpayload31team.md similarity index 77% rename from docs/models/usereventpayload29team.md rename to docs/models/usereventpayload31team.md index a8c3c0e33..fc7ecf817 100644 --- a/docs/models/usereventpayload29team.md +++ b/docs/models/usereventpayload31team.md @@ -1,11 +1,11 @@ -# UserEventPayload29Team +# UserEventPayload31Team ## Example Usage ```typescript -import { UserEventPayload29Team } from "@vercel/sdk/models/userevent.js"; +import { UserEventPayload31Team } from "@vercel/sdk/models/userevent.js"; -let value: UserEventPayload29Team = { +let value: UserEventPayload31Team = { id: "", name: "", }; diff --git a/docs/models/usereventpayload31project.md b/docs/models/usereventpayload33project.md similarity index 76% rename from docs/models/usereventpayload31project.md rename to docs/models/usereventpayload33project.md index 8e67df3ff..b7e1852c1 100644 --- a/docs/models/usereventpayload31project.md +++ b/docs/models/usereventpayload33project.md @@ -1,11 +1,11 @@ -# UserEventPayload31Project +# UserEventPayload33Project ## Example Usage ```typescript -import { UserEventPayload31Project } from "@vercel/sdk/models/userevent.js"; +import { UserEventPayload33Project } from "@vercel/sdk/models/userevent.js"; -let value: UserEventPayload31Project = { +let value: UserEventPayload33Project = { id: "", }; ``` diff --git a/docs/models/usereventpayload32configuration.md b/docs/models/usereventpayload34configuration.md similarity index 74% rename from docs/models/usereventpayload32configuration.md rename to docs/models/usereventpayload34configuration.md index 8094ef8eb..2fc57630f 100644 --- a/docs/models/usereventpayload32configuration.md +++ b/docs/models/usereventpayload34configuration.md @@ -1,11 +1,11 @@ -# UserEventPayload32Configuration +# UserEventPayload34Configuration ## Example Usage ```typescript -import { UserEventPayload32Configuration } from "@vercel/sdk/models/userevent.js"; +import { UserEventPayload34Configuration } from "@vercel/sdk/models/userevent.js"; -let value: UserEventPayload32Configuration = { +let value: UserEventPayload34Configuration = { id: "", }; ``` diff --git a/docs/models/usereventpayload32team.md b/docs/models/usereventpayload34team.md similarity index 77% rename from docs/models/usereventpayload32team.md rename to docs/models/usereventpayload34team.md index 9e3ab8bad..81b8b2f9f 100644 --- a/docs/models/usereventpayload32team.md +++ b/docs/models/usereventpayload34team.md @@ -1,11 +1,11 @@ -# UserEventPayload32Team +# UserEventPayload34Team ## Example Usage ```typescript -import { UserEventPayload32Team } from "@vercel/sdk/models/userevent.js"; +import { UserEventPayload34Team } from "@vercel/sdk/models/userevent.js"; -let value: UserEventPayload32Team = { +let value: UserEventPayload34Team = { id: "", name: "", }; diff --git a/docs/models/usereventpayload36project.md b/docs/models/usereventpayload38project.md similarity index 72% rename from docs/models/usereventpayload36project.md rename to docs/models/usereventpayload38project.md index 620f7625f..4c956f9df 100644 --- a/docs/models/usereventpayload36project.md +++ b/docs/models/usereventpayload38project.md @@ -1,11 +1,11 @@ -# UserEventPayload36Project +# UserEventPayload38Project ## Example Usage ```typescript -import { UserEventPayload36Project } from "@vercel/sdk/models/userevent.js"; +import { UserEventPayload38Project } from "@vercel/sdk/models/userevent.js"; -let value: UserEventPayload36Project = { +let value: UserEventPayload38Project = { name: "", }; ``` diff --git a/docs/models/usereventpayload46newteam.md b/docs/models/usereventpayload48newteam.md similarity index 72% rename from docs/models/usereventpayload46newteam.md rename to docs/models/usereventpayload48newteam.md index 7a7745d5b..7f7f6ba6f 100644 --- a/docs/models/usereventpayload46newteam.md +++ b/docs/models/usereventpayload48newteam.md @@ -1,11 +1,11 @@ -# UserEventPayload46NewTeam +# UserEventPayload48NewTeam ## Example Usage ```typescript -import { UserEventPayload46NewTeam } from "@vercel/sdk/models/userevent.js"; +import { UserEventPayload48NewTeam } from "@vercel/sdk/models/userevent.js"; -let value: UserEventPayload46NewTeam = { +let value: UserEventPayload48NewTeam = { name: "", }; ``` diff --git a/docs/models/usereventpayload46oldteam.md b/docs/models/usereventpayload48oldteam.md similarity index 72% rename from docs/models/usereventpayload46oldteam.md rename to docs/models/usereventpayload48oldteam.md index ff5aee45f..6c9a7fe1a 100644 --- a/docs/models/usereventpayload46oldteam.md +++ b/docs/models/usereventpayload48oldteam.md @@ -1,11 +1,11 @@ -# UserEventPayload46OldTeam +# UserEventPayload48OldTeam ## Example Usage ```typescript -import { UserEventPayload46OldTeam } from "@vercel/sdk/models/userevent.js"; +import { UserEventPayload48OldTeam } from "@vercel/sdk/models/userevent.js"; -let value: UserEventPayload46OldTeam = { +let value: UserEventPayload48OldTeam = { name: "", }; ``` diff --git a/docs/models/usereventpayload57oldenvvartype.md b/docs/models/usereventpayload59oldenvvartype.md similarity index 55% rename from docs/models/usereventpayload57oldenvvartype.md rename to docs/models/usereventpayload59oldenvvartype.md index 4bd6ef1f1..bbf0e8cb0 100644 --- a/docs/models/usereventpayload57oldenvvartype.md +++ b/docs/models/usereventpayload59oldenvvartype.md @@ -1,13 +1,13 @@ -# UserEventPayload57OldEnvVarType +# UserEventPayload59OldEnvVarType The type of this cosmos doc instance, if blank, assume secret. ## Example Usage ```typescript -import { UserEventPayload57OldEnvVarType } from "@vercel/sdk/models/userevent.js"; +import { UserEventPayload59OldEnvVarType } from "@vercel/sdk/models/userevent.js"; -let value: UserEventPayload57OldEnvVarType = "encrypted"; +let value: UserEventPayload59OldEnvVarType = "encrypted"; ``` ## Values diff --git a/docs/models/usereventpayload57target.md b/docs/models/usereventpayload59target.md similarity index 52% rename from docs/models/usereventpayload57target.md rename to docs/models/usereventpayload59target.md index 64e931fde..f5a760a47 100644 --- a/docs/models/usereventpayload57target.md +++ b/docs/models/usereventpayload59target.md @@ -1,13 +1,13 @@ -# UserEventPayload57Target +# UserEventPayload59Target environments this env variable targets ## Example Usage ```typescript -import { UserEventPayload57Target } from "@vercel/sdk/models/userevent.js"; +import { UserEventPayload59Target } from "@vercel/sdk/models/userevent.js"; -let value: UserEventPayload57Target = "production"; +let value: UserEventPayload59Target = "production"; ``` ## Values diff --git a/docs/models/usereventpayload57type.md b/docs/models/usereventpayload59type.md similarity index 57% rename from docs/models/usereventpayload57type.md rename to docs/models/usereventpayload59type.md index 694b5cef7..c3f23af5e 100644 --- a/docs/models/usereventpayload57type.md +++ b/docs/models/usereventpayload59type.md @@ -1,13 +1,13 @@ -# UserEventPayload57Type +# UserEventPayload59Type The type of this cosmos doc instance, if blank, assume secret. ## Example Usage ```typescript -import { UserEventPayload57Type } from "@vercel/sdk/models/userevent.js"; +import { UserEventPayload59Type } from "@vercel/sdk/models/userevent.js"; -let value: UserEventPayload57Type = "encrypted"; +let value: UserEventPayload59Type = "encrypted"; ``` ## Values diff --git a/docs/models/usereventpayload61action.md b/docs/models/usereventpayload61action.md deleted file mode 100644 index b902d2650..000000000 --- a/docs/models/usereventpayload61action.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventPayload61Action - -## Example Usage - -```typescript -import { UserEventPayload61Action } from "@vercel/sdk/models/userevent.js"; - -let value: UserEventPayload61Action = "log"; -``` - -## Values - -```typescript -"log" | "challenge" | "deny" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload63action.md b/docs/models/usereventpayload63action.md new file mode 100644 index 000000000..d0576a1ec --- /dev/null +++ b/docs/models/usereventpayload63action.md @@ -0,0 +1,15 @@ +# UserEventPayload63Action + +## Example Usage + +```typescript +import { UserEventPayload63Action } from "@vercel/sdk/models/userevent.js"; + +let value: UserEventPayload63Action = "challenge"; +``` + +## Values + +```typescript +"log" | "challenge" | "deny" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload64action.md b/docs/models/usereventpayload64action.md deleted file mode 100644 index f4d8efbd0..000000000 --- a/docs/models/usereventpayload64action.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventPayload64Action - -## Example Usage - -```typescript -import { UserEventPayload64Action } from "@vercel/sdk/models/userevent.js"; - -let value: UserEventPayload64Action = "unblocked"; -``` - -## Values - -```typescript -"hard-blocked" | "soft-blocked" | "unblocked" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload64blockreason.md b/docs/models/usereventpayload64blockreason.md deleted file mode 100644 index 4d053f414..000000000 --- a/docs/models/usereventpayload64blockreason.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventPayload64BlockReason - -## Example Usage - -```typescript -import { UserEventPayload64BlockReason } from "@vercel/sdk/models/userevent.js"; - -let value: UserEventPayload64BlockReason = "admin_override"; -``` - -## Values - -```typescript -"admin_override" | "limits_exceeded" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload64name.md b/docs/models/usereventpayload64name.md deleted file mode 100644 index 86049c29b..000000000 --- a/docs/models/usereventpayload64name.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventPayload64Name - -## Example Usage - -```typescript -import { UserEventPayload64Name } from "@vercel/sdk/models/userevent.js"; - -let value: UserEventPayload64Name = "string"; -``` - -## Values - -```typescript -"string" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload64newownerblockreason.md b/docs/models/usereventpayload64newownerblockreason.md deleted file mode 100644 index fb51ed49b..000000000 --- a/docs/models/usereventpayload64newownerblockreason.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventPayload64NewOwnerBlockReason - -## Example Usage - -```typescript -import { UserEventPayload64NewOwnerBlockReason } from "@vercel/sdk/models/userevent.js"; - -let value: UserEventPayload64NewOwnerBlockReason = "limits_exceeded"; -``` - -## Values - -```typescript -"admin_override" | "limits_exceeded" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload64newownerfeatureblocksblobblockreason.md b/docs/models/usereventpayload64newownerfeatureblocksblobblockreason.md deleted file mode 100644 index f8047a28c..000000000 --- a/docs/models/usereventpayload64newownerfeatureblocksblobblockreason.md +++ /dev/null @@ -1,16 +0,0 @@ -# UserEventPayload64NewOwnerFeatureBlocksBlobBlockReason - -## Example Usage - -```typescript -import { UserEventPayload64NewOwnerFeatureBlocksBlobBlockReason } from "@vercel/sdk/models/userevent.js"; - -let value: UserEventPayload64NewOwnerFeatureBlocksBlobBlockReason = - "limits_exceeded"; -``` - -## Values - -```typescript -"admin_override" | "limits_exceeded" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload64newownerfeatureblocksblockreason.md b/docs/models/usereventpayload64newownerfeatureblocksblockreason.md deleted file mode 100644 index 5da7e5d06..000000000 --- a/docs/models/usereventpayload64newownerfeatureblocksblockreason.md +++ /dev/null @@ -1,16 +0,0 @@ -# UserEventPayload64NewOwnerFeatureBlocksBlockReason - -## Example Usage - -```typescript -import { UserEventPayload64NewOwnerFeatureBlocksBlockReason } from "@vercel/sdk/models/userevent.js"; - -let value: UserEventPayload64NewOwnerFeatureBlocksBlockReason = - "limits_exceeded"; -``` - -## Values - -```typescript -"admin_override" | "limits_exceeded" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload64newownerfeatureblockspostgresblockreason.md b/docs/models/usereventpayload64newownerfeatureblockspostgresblockreason.md deleted file mode 100644 index 953afbecd..000000000 --- a/docs/models/usereventpayload64newownerfeatureblockspostgresblockreason.md +++ /dev/null @@ -1,16 +0,0 @@ -# UserEventPayload64NewOwnerFeatureBlocksPostgresBlockReason - -## Example Usage - -```typescript -import { UserEventPayload64NewOwnerFeatureBlocksPostgresBlockReason } from "@vercel/sdk/models/userevent.js"; - -let value: UserEventPayload64NewOwnerFeatureBlocksPostgresBlockReason = - "limits_exceeded"; -``` - -## Values - -```typescript -"admin_override" | "limits_exceeded" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload64newownerfeatureblocksredisblockreason.md b/docs/models/usereventpayload64newownerfeatureblocksredisblockreason.md deleted file mode 100644 index dd6749af2..000000000 --- a/docs/models/usereventpayload64newownerfeatureblocksredisblockreason.md +++ /dev/null @@ -1,16 +0,0 @@ -# UserEventPayload64NewOwnerFeatureBlocksRedisBlockReason - -## Example Usage - -```typescript -import { UserEventPayload64NewOwnerFeatureBlocksRedisBlockReason } from "@vercel/sdk/models/userevent.js"; - -let value: UserEventPayload64NewOwnerFeatureBlocksRedisBlockReason = - "admin_override"; -``` - -## Values - -```typescript -"admin_override" | "limits_exceeded" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload64type.md b/docs/models/usereventpayload64type.md deleted file mode 100644 index 4300c7ace..000000000 --- a/docs/models/usereventpayload64type.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventPayload64Type - -## Example Usage - -```typescript -import { UserEventPayload64Type } from "@vercel/sdk/models/userevent.js"; - -let value: UserEventPayload64Type = "user"; -``` - -## Values - -```typescript -"user" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload66action.md b/docs/models/usereventpayload66action.md new file mode 100644 index 000000000..6527db739 --- /dev/null +++ b/docs/models/usereventpayload66action.md @@ -0,0 +1,15 @@ +# UserEventPayload66Action + +## Example Usage + +```typescript +import { UserEventPayload66Action } from "@vercel/sdk/models/userevent.js"; + +let value: UserEventPayload66Action = "unblocked"; +``` + +## Values + +```typescript +"hard-blocked" | "soft-blocked" | "unblocked" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload66blockreason.md b/docs/models/usereventpayload66blockreason.md new file mode 100644 index 000000000..f5c372f7e --- /dev/null +++ b/docs/models/usereventpayload66blockreason.md @@ -0,0 +1,15 @@ +# UserEventPayload66BlockReason + +## Example Usage + +```typescript +import { UserEventPayload66BlockReason } from "@vercel/sdk/models/userevent.js"; + +let value: UserEventPayload66BlockReason = "admin_override"; +``` + +## Values + +```typescript +"admin_override" | "limits_exceeded" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload66configuration.md b/docs/models/usereventpayload66configuration.md new file mode 100644 index 000000000..ab18bdcf5 --- /dev/null +++ b/docs/models/usereventpayload66configuration.md @@ -0,0 +1,15 @@ +# UserEventPayload66Configuration + +## Example Usage + +```typescript +import { UserEventPayload66Configuration } from "@vercel/sdk/models/userevent.js"; + +let value: UserEventPayload66Configuration = "WAIT_FOR_NAMESPACE_QUEUE"; +``` + +## Values + +```typescript +"SKIP_NAMESPACE_QUEUE" | "WAIT_FOR_NAMESPACE_QUEUE" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload66name.md b/docs/models/usereventpayload66name.md new file mode 100644 index 000000000..0e05b536a --- /dev/null +++ b/docs/models/usereventpayload66name.md @@ -0,0 +1,15 @@ +# UserEventPayload66Name + +## Example Usage + +```typescript +import { UserEventPayload66Name } from "@vercel/sdk/models/userevent.js"; + +let value: UserEventPayload66Name = "string"; +``` + +## Values + +```typescript +"string" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload66newownerblockreason.md b/docs/models/usereventpayload66newownerblockreason.md new file mode 100644 index 000000000..3478124de --- /dev/null +++ b/docs/models/usereventpayload66newownerblockreason.md @@ -0,0 +1,15 @@ +# UserEventPayload66NewOwnerBlockReason + +## Example Usage + +```typescript +import { UserEventPayload66NewOwnerBlockReason } from "@vercel/sdk/models/userevent.js"; + +let value: UserEventPayload66NewOwnerBlockReason = "limits_exceeded"; +``` + +## Values + +```typescript +"admin_override" | "limits_exceeded" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload66newownerfeatureblocksblobblockreason.md b/docs/models/usereventpayload66newownerfeatureblocksblobblockreason.md new file mode 100644 index 000000000..18485ca2d --- /dev/null +++ b/docs/models/usereventpayload66newownerfeatureblocksblobblockreason.md @@ -0,0 +1,16 @@ +# UserEventPayload66NewOwnerFeatureBlocksBlobBlockReason + +## Example Usage + +```typescript +import { UserEventPayload66NewOwnerFeatureBlocksBlobBlockReason } from "@vercel/sdk/models/userevent.js"; + +let value: UserEventPayload66NewOwnerFeatureBlocksBlobBlockReason = + "admin_override"; +``` + +## Values + +```typescript +"admin_override" | "limits_exceeded" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload66newownerfeatureblocksblockreason.md b/docs/models/usereventpayload66newownerfeatureblocksblockreason.md new file mode 100644 index 000000000..707685800 --- /dev/null +++ b/docs/models/usereventpayload66newownerfeatureblocksblockreason.md @@ -0,0 +1,16 @@ +# UserEventPayload66NewOwnerFeatureBlocksBlockReason + +## Example Usage + +```typescript +import { UserEventPayload66NewOwnerFeatureBlocksBlockReason } from "@vercel/sdk/models/userevent.js"; + +let value: UserEventPayload66NewOwnerFeatureBlocksBlockReason = + "limits_exceeded"; +``` + +## Values + +```typescript +"admin_override" | "limits_exceeded" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload66newownerfeatureblocksmicrofrontendsrequestblockreason.md b/docs/models/usereventpayload66newownerfeatureblocksmicrofrontendsrequestblockreason.md new file mode 100644 index 000000000..44c8b3b66 --- /dev/null +++ b/docs/models/usereventpayload66newownerfeatureblocksmicrofrontendsrequestblockreason.md @@ -0,0 +1,17 @@ +# UserEventPayload66NewOwnerFeatureBlocksMicrofrontendsRequestBlockReason + +## Example Usage + +```typescript +import { UserEventPayload66NewOwnerFeatureBlocksMicrofrontendsRequestBlockReason } from "@vercel/sdk/models/userevent.js"; + +let value: + UserEventPayload66NewOwnerFeatureBlocksMicrofrontendsRequestBlockReason = + "limits_exceeded"; +``` + +## Values + +```typescript +"admin_override" | "limits_exceeded" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload66newownerfeatureblockspostgresblockreason.md b/docs/models/usereventpayload66newownerfeatureblockspostgresblockreason.md new file mode 100644 index 000000000..93daba847 --- /dev/null +++ b/docs/models/usereventpayload66newownerfeatureblockspostgresblockreason.md @@ -0,0 +1,16 @@ +# UserEventPayload66NewOwnerFeatureBlocksPostgresBlockReason + +## Example Usage + +```typescript +import { UserEventPayload66NewOwnerFeatureBlocksPostgresBlockReason } from "@vercel/sdk/models/userevent.js"; + +let value: UserEventPayload66NewOwnerFeatureBlocksPostgresBlockReason = + "admin_override"; +``` + +## Values + +```typescript +"admin_override" | "limits_exceeded" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload66newownerfeatureblocksredisblockreason.md b/docs/models/usereventpayload66newownerfeatureblocksredisblockreason.md new file mode 100644 index 000000000..9a42c3042 --- /dev/null +++ b/docs/models/usereventpayload66newownerfeatureblocksredisblockreason.md @@ -0,0 +1,16 @@ +# UserEventPayload66NewOwnerFeatureBlocksRedisBlockReason + +## Example Usage + +```typescript +import { UserEventPayload66NewOwnerFeatureBlocksRedisBlockReason } from "@vercel/sdk/models/userevent.js"; + +let value: UserEventPayload66NewOwnerFeatureBlocksRedisBlockReason = + "limits_exceeded"; +``` + +## Values + +```typescript +"admin_override" | "limits_exceeded" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload64role.md b/docs/models/usereventpayload66role.md similarity index 57% rename from docs/models/usereventpayload64role.md rename to docs/models/usereventpayload66role.md index 386c7c81e..d29207f69 100644 --- a/docs/models/usereventpayload64role.md +++ b/docs/models/usereventpayload66role.md @@ -1,11 +1,11 @@ -# UserEventPayload64Role +# UserEventPayload66Role ## Example Usage ```typescript -import { UserEventPayload64Role } from "@vercel/sdk/models/userevent.js"; +import { UserEventPayload66Role } from "@vercel/sdk/models/userevent.js"; -let value: UserEventPayload64Role = "VIEWER"; +let value: UserEventPayload66Role = "OWNER"; ``` ## Values diff --git a/docs/models/usereventpayload66type.md b/docs/models/usereventpayload66type.md new file mode 100644 index 000000000..44ccfa37b --- /dev/null +++ b/docs/models/usereventpayload66type.md @@ -0,0 +1,15 @@ +# UserEventPayload66Type + +## Example Usage + +```typescript +import { UserEventPayload66Type } from "@vercel/sdk/models/userevent.js"; + +let value: UserEventPayload66Type = "user"; +``` + +## Values + +```typescript +"user" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload76role.md b/docs/models/usereventpayload78role.md similarity index 57% rename from docs/models/usereventpayload76role.md rename to docs/models/usereventpayload78role.md index 90661fead..e8947cc02 100644 --- a/docs/models/usereventpayload76role.md +++ b/docs/models/usereventpayload78role.md @@ -1,11 +1,11 @@ -# UserEventPayload76Role +# UserEventPayload78Role ## Example Usage ```typescript -import { UserEventPayload76Role } from "@vercel/sdk/models/userevent.js"; +import { UserEventPayload78Role } from "@vercel/sdk/models/userevent.js"; -let value: UserEventPayload76Role = "BILLING"; +let value: UserEventPayload78Role = "VIEWER"; ``` ## Values diff --git a/docs/models/usereventpayload85action.md b/docs/models/usereventpayload85action.md deleted file mode 100644 index 3eb9b409b..000000000 --- a/docs/models/usereventpayload85action.md +++ /dev/null @@ -1,15 +0,0 @@ -# UserEventPayload85Action - -## Example Usage - -```typescript -import { UserEventPayload85Action } from "@vercel/sdk/models/userevent.js"; - -let value: UserEventPayload85Action = "regenerated"; -``` - -## Values - -```typescript -"enabled" | "disabled" | "regenerated" -``` \ No newline at end of file diff --git a/docs/models/usereventpayload87action.md b/docs/models/usereventpayload87action.md new file mode 100644 index 000000000..ed6c6d48a --- /dev/null +++ b/docs/models/usereventpayload87action.md @@ -0,0 +1,15 @@ +# UserEventPayload87Action + +## Example Usage + +```typescript +import { UserEventPayload87Action } from "@vercel/sdk/models/userevent.js"; + +let value: UserEventPayload87Action = "disabled"; +``` + +## Values + +```typescript +"enabled" | "disabled" | "regenerated" +``` \ No newline at end of file diff --git a/docs/models/usereventpayload87project.md b/docs/models/usereventpayload89project.md similarity index 86% rename from docs/models/usereventpayload87project.md rename to docs/models/usereventpayload89project.md index 0b0d32980..a92c7ef4d 100644 --- a/docs/models/usereventpayload87project.md +++ b/docs/models/usereventpayload89project.md @@ -1,22 +1,13 @@ -# UserEventPayload87Project +# UserEventPayload89Project ## Example Usage ```typescript -import { UserEventPayload87Project } from "@vercel/sdk/models/userevent.js"; +import { UserEventPayload89Project } from "@vercel/sdk/models/userevent.js"; -let value: UserEventPayload87Project = { +let value: UserEventPayload89Project = { id: "", - oldConnectConfigurations: [ - { - envId: "", - connectConfigurationId: "", - passive: false, - buildsEnabled: true, - createdAt: 9005.75, - updatedAt: 8968.35, - }, - ], + oldConnectConfigurations: [], newConnectConfigurations: [ { envId: "", diff --git a/docs/models/usereventpayload87team.md b/docs/models/usereventpayload89team.md similarity index 77% rename from docs/models/usereventpayload87team.md rename to docs/models/usereventpayload89team.md index ebceeb745..851f44fbc 100644 --- a/docs/models/usereventpayload87team.md +++ b/docs/models/usereventpayload89team.md @@ -1,11 +1,11 @@ -# UserEventPayload87Team +# UserEventPayload89Team ## Example Usage ```typescript -import { UserEventPayload87Team } from "@vercel/sdk/models/userevent.js"; +import { UserEventPayload89Team } from "@vercel/sdk/models/userevent.js"; -let value: UserEventPayload87Team = { +let value: UserEventPayload89Team = { id: "", name: "", }; diff --git a/docs/models/usereventpayload91previousproject.md b/docs/models/usereventpayload93previousproject.md similarity index 86% rename from docs/models/usereventpayload91previousproject.md rename to docs/models/usereventpayload93previousproject.md index 9b0d7f689..3627c9c19 100644 --- a/docs/models/usereventpayload91previousproject.md +++ b/docs/models/usereventpayload93previousproject.md @@ -1,14 +1,14 @@ -# UserEventPayload91PreviousProject +# UserEventPayload93PreviousProject ## Example Usage ```typescript -import { UserEventPayload91PreviousProject } from "@vercel/sdk/models/userevent.js"; +import { UserEventPayload93PreviousProject } from "@vercel/sdk/models/userevent.js"; -let value: UserEventPayload91PreviousProject = { +let value: UserEventPayload93PreviousProject = { id: "", staticIps: { - enabled: false, + enabled: true, }, }; ``` diff --git a/docs/models/usereventpayload91project.md b/docs/models/usereventpayload93project.md similarity index 86% rename from docs/models/usereventpayload91project.md rename to docs/models/usereventpayload93project.md index a2ea00a2c..666ca3220 100644 --- a/docs/models/usereventpayload91project.md +++ b/docs/models/usereventpayload93project.md @@ -1,11 +1,11 @@ -# UserEventPayload91Project +# UserEventPayload93Project ## Example Usage ```typescript -import { UserEventPayload91Project } from "@vercel/sdk/models/userevent.js"; +import { UserEventPayload93Project } from "@vercel/sdk/models/userevent.js"; -let value: UserEventPayload91Project = { +let value: UserEventPayload93Project = { id: "", staticIps: { enabled: true, diff --git a/docs/models/usereventpayloadbudget.md b/docs/models/usereventpayloadbudget.md index 7d1607458..d91b8fc40 100644 --- a/docs/models/usereventpayloadbudget.md +++ b/docs/models/usereventpayloadbudget.md @@ -26,7 +26,7 @@ let value: UserEventPayloadBudget = { | Field | Type | Required | Description | | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | -| `type` | [models.UserEventPayload106Type](../models/usereventpayload106type.md) | :heavy_check_mark: | The budget type | +| `type` | [models.UserEventPayload108Type](../models/usereventpayload108type.md) | :heavy_check_mark: | The budget type | | `fixedBudget` | *number* | :heavy_check_mark: | Budget amount (USD / dollars) | | `previousSpend` | *number*[] | :heavy_check_mark: | Array of the last 3 months of spend data | | `notifiedAt` | *number*[] | :heavy_check_mark: | Array of 50, 75, 100 to keep track of notifications sent out | diff --git a/docs/models/usereventpayloaddatacache.md b/docs/models/usereventpayloaddatacache.md index 86593cdef..4ea3d2db3 100644 --- a/docs/models/usereventpayloaddatacache.md +++ b/docs/models/usereventpayloaddatacache.md @@ -18,4 +18,4 @@ let value: UserEventPayloadDataCache = { | `updatedAt` | *number* | :heavy_check_mark: | N/A | | `blockedFrom` | *number* | :heavy_minus_sign: | N/A | | `blockedUntil` | *number* | :heavy_minus_sign: | N/A | -| `blockReason` | [models.UserEventPayload64BlockReason](../models/usereventpayload64blockreason.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `blockReason` | [models.UserEventPayload66BlockReason](../models/usereventpayload66blockreason.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/usereventpayloaditems.md b/docs/models/usereventpayloaditems.md new file mode 100644 index 000000000..72d15ac5a --- /dev/null +++ b/docs/models/usereventpayloaditems.md @@ -0,0 +1,17 @@ +# UserEventPayloadItems + +## Example Usage + +```typescript +import { UserEventPayloadItems } from "@vercel/sdk/models/userevent.js"; + +let value: UserEventPayloadItems = { + type: "string", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `type` | [models.UserEventPayload162AfterResourcesType](../models/usereventpayload162afterresourcestype.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/usereventpayloadprojectids.md b/docs/models/usereventpayloadprojectids.md new file mode 100644 index 000000000..b8af4172e --- /dev/null +++ b/docs/models/usereventpayloadprojectids.md @@ -0,0 +1,23 @@ +# UserEventPayloadProjectIds + +## Example Usage + +```typescript +import { UserEventPayloadProjectIds } from "@vercel/sdk/models/userevent.js"; + +let value: UserEventPayloadProjectIds = { + type: "list", + required: true, + items: { + type: "string", + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `type` | [models.UserEventPayload162AfterType](../models/usereventpayload162aftertype.md) | :heavy_check_mark: | N/A | +| `required` | *boolean* | :heavy_check_mark: | N/A | +| `items` | [models.UserEventPayloadItems](../models/usereventpayloaditems.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/usereventpayloadresources.md b/docs/models/usereventpayloadresources.md new file mode 100644 index 000000000..7f2e1efc7 --- /dev/null +++ b/docs/models/usereventpayloadresources.md @@ -0,0 +1,23 @@ +# UserEventPayloadResources + +## Example Usage + +```typescript +import { UserEventPayloadResources } from "@vercel/sdk/models/userevent.js"; + +let value: UserEventPayloadResources = { + projectIds: { + type: "list", + required: true, + items: { + type: "string", + }, + }, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `projectIds` | [models.UserEventPayloadProjectIds](../models/usereventpayloadprojectids.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/usereventpayloadtype.md b/docs/models/usereventpayloadtype.md index 5aac77832..1bfcb4a16 100644 --- a/docs/models/usereventpayloadtype.md +++ b/docs/models/usereventpayloadtype.md @@ -11,5 +11,5 @@ let value: UserEventPayloadType = "redis"; ## Values ```typescript -"redis" | "postgres" | "edge-config" | "blob" | "integration" +"redis" | "edge-config" | "postgres" | "blob" | "integration" ``` \ No newline at end of file diff --git a/docs/models/usereventtype.md b/docs/models/usereventtype.md index c745e1624..fbd74a291 100644 --- a/docs/models/usereventtype.md +++ b/docs/models/usereventtype.md @@ -13,5 +13,5 @@ let value: UserEventType = "author"; ## Values ```typescript -"author" | "bitbucket_login" | "bold" | "deployment_host" | "dns_record" | "git_link" | "github_login" | "gitlab_login" | "hook_name" | "integration" | "edge-config" | "flag" | "flags-segment" | "flags-settings" | "link" | "project_name" | "scaling_rules" | "env_var_name" | "target" | "store" | "system" +"app" | "author" | "bitbucket_login" | "bold" | "deployment_host" | "dns_record" | "git_link" | "github_login" | "gitlab_login" | "hook_name" | "integration" | "edge-config" | "flag" | "flags-segment" | "flags-settings" | "link" | "project_name" | "scaling_rules" | "env_var_name" | "target" | "store" | "system" ``` \ No newline at end of file diff --git a/docs/models/userpermissionset.md b/docs/models/userpermissionset.md new file mode 100644 index 000000000..45f0194b3 --- /dev/null +++ b/docs/models/userpermissionset.md @@ -0,0 +1,15 @@ +# UserPermissionSet + +## Example Usage + +```typescript +import { UserPermissionSet } from "@vercel/sdk/models/userevent.js"; + +let value: UserPermissionSet = "read:user"; +``` + +## Values + +```typescript +"read:user" +``` \ No newline at end of file diff --git a/docs/models/value2.md b/docs/models/value2.md index b0450aa5c..c71ef2fca 100644 --- a/docs/models/value2.md +++ b/docs/models/value2.md @@ -3,7 +3,7 @@ ## Example Usage ```typescript -import { Value2 } from "@vercel/sdk/models/createprojectenvop.js"; +import { Value2 } from "@vercel/sdk/models/createsharedenvvariableop.js"; let value: Value2 = "development"; ``` diff --git a/docs/models/value4.md b/docs/models/value4.md new file mode 100644 index 000000000..4732c0682 --- /dev/null +++ b/docs/models/value4.md @@ -0,0 +1,19 @@ +# Value4 + +## Example Usage + +```typescript +import { Value4 } from "@vercel/sdk/models/updateprojectdatacacheop.js"; + +let value: Value4 = { + previousValue: 7089.74, + currentValue: 3333.07, +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | +| `previousValue` | *models.UpdateProjectDataCacheValuePreviousValue* | :heavy_check_mark: | N/A | +| `currentValue` | *models.UpdateProjectDataCacheValueCurrentValue* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/value5.md b/docs/models/value5.md new file mode 100644 index 000000000..f93dbff07 --- /dev/null +++ b/docs/models/value5.md @@ -0,0 +1,19 @@ +# Value5 + +## Example Usage + +```typescript +import { Value5 } from "@vercel/sdk/models/updateprojectop.js"; + +let value: Value5 = { + previousValue: "", + currentValue: "", +}; +``` + +## Fields + +| Field | Type | Required | Description | +| ---------------------- | ---------------------- | ---------------------- | ---------------------- | +| `previousValue` | *models.PreviousValue* | :heavy_check_mark: | N/A | +| `currentValue` | *models.CurrentValue* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/valuecurrentvalue.md b/docs/models/valuecurrentvalue.md new file mode 100644 index 000000000..9d65cddaf --- /dev/null +++ b/docs/models/valuecurrentvalue.md @@ -0,0 +1,23 @@ +# ValueCurrentValue + + +## Supported Types + +### `string` + +```typescript +const value: string = ""; +``` + +### `number` + +```typescript +const value: number = 1284.03; +``` + +### `boolean` + +```typescript +const value: boolean = true; +``` + diff --git a/docs/models/valuepreviousvalue.md b/docs/models/valuepreviousvalue.md new file mode 100644 index 000000000..4fcd8a6ae --- /dev/null +++ b/docs/models/valuepreviousvalue.md @@ -0,0 +1,23 @@ +# ValuePreviousValue + + +## Supported Types + +### `string` + +```typescript +const value: string = ""; +``` + +### `number` + +```typescript +const value: number = 1284.03; +``` + +### `boolean` + +```typescript +const value: boolean = true; +``` + diff --git a/docs/sdks/connect/README.md b/docs/sdks/connect/README.md new file mode 100644 index 000000000..96b4a9cc6 --- /dev/null +++ b/docs/sdks/connect/README.md @@ -0,0 +1,98 @@ +# Connect +(*connect*) + +## Overview + +### Available Operations + +* [updateStaticIps](#updatestaticips) - Configures Static IPs for a project + +## updateStaticIps + +Allows configuring Static IPs for a project + +### Example Usage + + +```typescript +import { Vercel } from "@vercel/sdk"; + +const vercel = new Vercel({ + bearerToken: "", +}); + +async function run() { + const result = await vercel.connect.updateStaticIps({ + idOrName: "", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + slug: "my-team-url-slug", + requestBody: { + regions: [ + "iad1", + ], + }, + }); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { VercelCore } from "@vercel/sdk/core.js"; +import { connectUpdateStaticIps } from "@vercel/sdk/funcs/connectUpdateStaticIps.js"; + +// Use `VercelCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const vercel = new VercelCore({ + bearerToken: "", +}); + +async function run() { + const res = await connectUpdateStaticIps(vercel, { + idOrName: "", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + slug: "my-team-url-slug", + requestBody: { + regions: [ + "iad1", + ], + }, + }); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("connectUpdateStaticIps failed:", res.error); + } +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [models.UpdateStaticIpsRequest](../../models/updatestaticipsrequest.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\<[models.UpdateStaticIpsResponseBody[]](../../models/.md)\>** + +### Errors + +| 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 7461ed70a..a039c1c06 100644 --- a/docs/sdks/domains/README.md +++ b/docs/sdks/domains/README.md @@ -5,20 +5,20 @@ ### Available Operations -* [buyDomain](#buydomain) - Purchase a domain -* [checkDomainPrice](#checkdomainprice) - Check the price for a domain -* [checkDomainStatus](#checkdomainstatus) - Check a Domain Availability -* [getDomainTransfer](#getdomaintransfer) - Get domain transfer info. +* [buyDomain](#buydomain) - Purchase a domain (deprecated) +* [checkDomainPrice](#checkdomainprice) - Check the price for a domain (deprecated) +* [checkDomainStatus](#checkdomainstatus) - Check a Domain Availability (deprecated) +* [getDomainTransfer](#getdomaintransfer) - Get domain transfer info (deprecated) * [getDomainConfig](#getdomainconfig) - Get a Domain's configuration * [getDomain](#getdomain) - Get Information for a Single Domain * [getDomains](#getdomains) - List all the domains -* [createOrTransferDomain](#createortransferdomain) - Register or transfer-in a new Domain +* [createOrTransferDomain](#createortransferdomain) - Add an existing domain to the Vercel platform * [patchDomain](#patchdomain) - Update or move apex domain * [deleteDomain](#deletedomain) - Remove a domain by name ## buyDomain -Allows to purchase the specified domain. +This endpoint is deprecated and replaced with the endpoint [Buy a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/buy-a-domain). Purchases the specified domain. ### Example Usage @@ -126,7 +126,7 @@ run(); ## checkDomainPrice -Check the price to purchase a domain and how long a single purchase period is. +This endpoint is deprecated and replaced with the endpoint [Get price data for a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/get-price-data-for-a-domain). Check the price to purchase a domain and how long a single purchase period is. ### Example Usage @@ -203,11 +203,12 @@ run(); | ---------------------------- | ---------------------------- | ---------------------------- | | models.VercelBadRequestError | 400 | application/json | | models.VercelForbiddenError | 401 | application/json | +| models.VercelNotFoundError | 404 | application/json | | models.SDKError | 4XX, 5XX | \*/\* | ## checkDomainStatus -Check if a domain name is available for purchase. +This endpoint is deprecated and replaced with the endpoint [Get availability for a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/get-availability-for-a-domain). Check if a domain name is available for purchase. ### Example Usage @@ -286,7 +287,7 @@ run(); ## getDomainTransfer -Fetch domain transfer availability or transfer status if a transfer is in progress. +This endpoint is deprecated and replaced with the endpoint [Get a domain's transfer status](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/get-a-domains-transfer-status). Fetch domain transfer availability or transfer status if a transfer is in progress. ### Example Usage @@ -607,7 +608,7 @@ run(); ## createOrTransferDomain -This endpoint is used for adding a new apex domain name with Vercel for the authenticating user. Can also be used for initiating a domain transfer request from an external Registrar to Vercel. +This endpoint is used for adding a new apex domain name with Vercel for the authenticating user. Note: This endpoint is no longer used for initiating domain transfers from external registrars to Vercel. For this, please use the endpoint [Transfer-in a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/transfer-in-a-domain). ### Example Usage @@ -695,7 +696,7 @@ run(); ## patchDomain -Update or move apex domain. +Update or move apex domain. Note: This endpoint is no longer used for updating auto-renew or nameservers. For this, please use the endpoints [Update auto-renew for a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/update-auto-renew-for-a-domain) and [Update nameservers for a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/update-nameservers-for-a-domain). ### Example Usage diff --git a/docs/sdks/domainsregistrar/README.md b/docs/sdks/domainsregistrar/README.md new file mode 100644 index 000000000..1a187daea --- /dev/null +++ b/docs/sdks/domainsregistrar/README.md @@ -0,0 +1,1360 @@ +# DomainsRegistrar +(*domainsRegistrar*) + +## Overview + +### Available Operations + +* [getSupportedTlds](#getsupportedtlds) - Get supported TLDs +* [getTldPrice](#gettldprice) - Get TLD price data +* [getDomainAvailability](#getdomainavailability) - Get availability for a domain +* [getDomainPrice](#getdomainprice) - Get price data for a domain +* [getBulkAvailability](#getbulkavailability) - Get availability for multiple domains +* [getDomainAuthCode](#getdomainauthcode) - Get the auth code for a domain +* [buySingleDomain](#buysingledomain) - Buy a domain +* [buyDomains](#buydomains) - Buy multiple domains +* [transferInDomain](#transferindomain) - Transfer-in a domain +* [getDomainTransferIn](#getdomaintransferin) - Get a domain's transfer status +* [renewDomain](#renewdomain) - Renew a domain +* [updateDomainAutoRenew](#updatedomainautorenew) - Update auto-renew for a domain +* [updateDomainNameservers](#updatedomainnameservers) - Update nameservers for a domain +* [getContactInfoSchema](#getcontactinfoschema) - Get contact info schema +* [getOrder](#getorder) - Get a domain order + +## getSupportedTlds + +Get a list of TLDs supported by Vercel + +### Example Usage + + +```typescript +import { Vercel } from "@vercel/sdk"; + +const vercel = new Vercel({ + bearerToken: "", +}); + +async function run() { + const result = await vercel.domainsRegistrar.getSupportedTlds({ + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + }); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { VercelCore } from "@vercel/sdk/core.js"; +import { domainsRegistrarGetSupportedTlds } from "@vercel/sdk/funcs/domainsRegistrarGetSupportedTlds.js"; + +// Use `VercelCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const vercel = new VercelCore({ + bearerToken: "", +}); + +async function run() { + const res = await domainsRegistrarGetSupportedTlds(vercel, { + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + }); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("domainsRegistrarGetSupportedTlds failed:", res.error); + } +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [models.GetSupportedTldsRequest](../../models/getsupportedtldsrequest.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\<[string[]](../../models/.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.NotAuthorizedForScope | 403 | application/json | +| models.VercelRateLimitError | 429 | application/json | +| models.InternalServerError | 500 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | + +## getTldPrice + +Get price data for a specific TLD. This only reflects base prices for the given TLD. Premium domains may have different prices. Use the [Get price data for a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/get-price-data-for-a-domain) endpoint to get the price data for a specific domain. + +### Example Usage + + +```typescript +import { Vercel } from "@vercel/sdk"; + +const vercel = new Vercel({ + bearerToken: "", +}); + +async function run() { + const result = await vercel.domainsRegistrar.getTldPrice({ + tld: "", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + }); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { VercelCore } from "@vercel/sdk/core.js"; +import { domainsRegistrarGetTldPrice } from "@vercel/sdk/funcs/domainsRegistrarGetTldPrice.js"; + +// Use `VercelCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const vercel = new VercelCore({ + bearerToken: "", +}); + +async function run() { + const res = await domainsRegistrarGetTldPrice(vercel, { + tld: "", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + }); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("domainsRegistrarGetTldPrice failed:", res.error); + } +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [models.GetTldPriceRequest](../../models/gettldpricerequest.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\<[models.GetTldPriceResponseBody](../../models/gettldpriceresponsebody.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.NotAuthorizedForScope | 403 | application/json | +| models.VercelRateLimitError | 429 | application/json | +| models.InternalServerError | 500 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | + +## getDomainAvailability + +Get availability for a specific domain. If the domain is available, it can be purchased using the [Buy a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/buy-a-domain) endpoint or the [Buy multiple domains](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/buy-multiple-domains) endpoint. + +### Example Usage + + +```typescript +import { Vercel } from "@vercel/sdk"; + +const vercel = new Vercel({ + bearerToken: "", +}); + +async function run() { + const result = await vercel.domainsRegistrar.getDomainAvailability({ + domain: "hungry-birdbath.info", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + }); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { VercelCore } from "@vercel/sdk/core.js"; +import { domainsRegistrarGetDomainAvailability } from "@vercel/sdk/funcs/domainsRegistrarGetDomainAvailability.js"; + +// Use `VercelCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const vercel = new VercelCore({ + bearerToken: "", +}); + +async function run() { + const res = await domainsRegistrarGetDomainAvailability(vercel, { + domain: "hungry-birdbath.info", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + }); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("domainsRegistrarGetDomainAvailability failed:", res.error); + } +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [models.GetDomainAvailabilityRequest](../../models/getdomainavailabilityrequest.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\<[models.GetDomainAvailabilityResponseBody](../../models/getdomainavailabilityresponsebody.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.NotAuthorizedForScope | 403 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.VercelRateLimitError | 429 | application/json | +| models.InternalServerError | 500 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | + +## getDomainPrice + +Get price data for a specific domain + +### Example Usage + + +```typescript +import { Vercel } from "@vercel/sdk"; + +const vercel = new Vercel({ + bearerToken: "", +}); + +async function run() { + const result = await vercel.domainsRegistrar.getDomainPrice({ + domain: "excited-dwell.org", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + }); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { VercelCore } from "@vercel/sdk/core.js"; +import { domainsRegistrarGetDomainPrice } from "@vercel/sdk/funcs/domainsRegistrarGetDomainPrice.js"; + +// Use `VercelCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const vercel = new VercelCore({ + bearerToken: "", +}); + +async function run() { + const res = await domainsRegistrarGetDomainPrice(vercel, { + domain: "excited-dwell.org", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + }); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("domainsRegistrarGetDomainPrice failed:", res.error); + } +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [models.GetDomainPriceRequest](../../models/getdomainpricerequest.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\<[models.GetDomainPriceResponseBody](../../models/getdomainpriceresponsebody.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.NotAuthorizedForScope | 403 | application/json | +| models.VercelRateLimitError | 429 | application/json | +| models.InternalServerError | 500 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | + +## getBulkAvailability + +Get availability for multiple domains. If the domains are available, they can be purchased using the [Buy a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/buy-a-domain) endpoint or the [Buy multiple domains](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/buy-multiple-domains) endpoint. + +### Example Usage + + +```typescript +import { Vercel } from "@vercel/sdk"; + +const vercel = new Vercel({ + bearerToken: "", +}); + +async function run() { + const result = await vercel.domainsRegistrar.getBulkAvailability({ + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + requestBody: { + domains: [ + "", + ], + }, + }); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { VercelCore } from "@vercel/sdk/core.js"; +import { domainsRegistrarGetBulkAvailability } from "@vercel/sdk/funcs/domainsRegistrarGetBulkAvailability.js"; + +// Use `VercelCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const vercel = new VercelCore({ + bearerToken: "", +}); + +async function run() { + const res = await domainsRegistrarGetBulkAvailability(vercel, { + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + requestBody: { + domains: [ + "", + ], + }, + }); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("domainsRegistrarGetBulkAvailability failed:", res.error); + } +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [models.GetBulkAvailabilityRequest](../../models/getbulkavailabilityrequest.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\<[models.GetBulkAvailabilityResponseBody](../../models/getbulkavailabilityresponsebody.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.NotAuthorizedForScope | 403 | application/json | +| models.VercelRateLimitError | 429 | application/json | +| models.InternalServerError | 500 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | + +## getDomainAuthCode + +Get the auth code for a domain. This is required to transfer a domain from Vercel to another registrar. + +### Example Usage + + +```typescript +import { Vercel } from "@vercel/sdk"; + +const vercel = new Vercel({ + bearerToken: "", +}); + +async function run() { + const result = await vercel.domainsRegistrar.getDomainAuthCode({ + domain: "ruddy-coil.org", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + }); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { VercelCore } from "@vercel/sdk/core.js"; +import { domainsRegistrarGetDomainAuthCode } from "@vercel/sdk/funcs/domainsRegistrarGetDomainAuthCode.js"; + +// Use `VercelCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const vercel = new VercelCore({ + bearerToken: "", +}); + +async function run() { + const res = await domainsRegistrarGetDomainAuthCode(vercel, { + domain: "ruddy-coil.org", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + }); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("domainsRegistrarGetDomainAuthCode failed:", res.error); + } +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [models.GetDomainAuthCodeRequest](../../models/getdomainauthcoderequest.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\<[models.GetDomainAuthCodeResponseBody](../../models/getdomainauthcoderesponsebody.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.NotAuthorizedForScope | 403 | application/json | +| models.Forbidden | 403 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.VercelRateLimitError | 429 | application/json | +| models.InternalServerError | 500 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | + +## buySingleDomain + +Buy a domain + +### Example Usage + + +```typescript +import { Vercel } from "@vercel/sdk"; + +const vercel = new Vercel({ + bearerToken: "", +}); + +async function run() { + const result = await vercel.domainsRegistrar.buySingleDomain({ + domain: "metallic-simple.com", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + requestBody: { + autoRenew: false, + years: 7602.67, + expectedPrice: 7390.34, + contactInformation: { + firstName: "Lexie", + lastName: "Lemke", + email: "Lionel21@gmail.com", + phone: "550.220.6330 x258", + address1: "", + city: "Spencerport", + state: "West Virginia", + zip: "46432", + country: "Sweden", + }, + }, + }); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { VercelCore } from "@vercel/sdk/core.js"; +import { domainsRegistrarBuySingleDomain } from "@vercel/sdk/funcs/domainsRegistrarBuySingleDomain.js"; + +// Use `VercelCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const vercel = new VercelCore({ + bearerToken: "", +}); + +async function run() { + const res = await domainsRegistrarBuySingleDomain(vercel, { + domain: "metallic-simple.com", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + requestBody: { + autoRenew: false, + years: 7602.67, + expectedPrice: 7390.34, + contactInformation: { + firstName: "Lexie", + lastName: "Lemke", + email: "Lionel21@gmail.com", + phone: "550.220.6330 x258", + address1: "", + city: "Spencerport", + state: "West Virginia", + zip: "46432", + country: "Sweden", + }, + }, + }); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("domainsRegistrarBuySingleDomain failed:", res.error); + } +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [models.BuySingleDomainRequest](../../models/buysingledomainrequest.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\<[models.BuySingleDomainResponseBody](../../models/buysingledomainresponsebody.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.NotAuthorizedForScope | 403 | application/json | +| models.Forbidden | 403 | application/json | +| models.VercelRateLimitError | 429 | application/json | +| models.InternalServerError | 500 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | + +## buyDomains + +Buy multiple domains at once + +### Example Usage + + +```typescript +import { Vercel } from "@vercel/sdk"; + +const vercel = new Vercel({ + bearerToken: "", +}); + +async function run() { + const result = await vercel.domainsRegistrar.buyDomains({ + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + requestBody: { + domains: [], + contactInformation: { + firstName: "Leonie", + lastName: "Johnston", + email: "Anna_Fisher13@hotmail.com", + phone: "(688) 699-0656", + address1: "", + city: "Rennerland", + state: "New Jersey", + zip: "70054", + country: "Peru", + }, + }, + }); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { VercelCore } from "@vercel/sdk/core.js"; +import { domainsRegistrarBuyDomains } from "@vercel/sdk/funcs/domainsRegistrarBuyDomains.js"; + +// Use `VercelCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const vercel = new VercelCore({ + bearerToken: "", +}); + +async function run() { + const res = await domainsRegistrarBuyDomains(vercel, { + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + requestBody: { + domains: [], + contactInformation: { + firstName: "Leonie", + lastName: "Johnston", + email: "Anna_Fisher13@hotmail.com", + phone: "(688) 699-0656", + address1: "", + city: "Rennerland", + state: "New Jersey", + zip: "70054", + country: "Peru", + }, + }, + }); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("domainsRegistrarBuyDomains failed:", res.error); + } +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [models.BuyDomainsRequest](../../models/buydomainsrequest.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\<[models.BuyDomainsResponseBody](../../models/buydomainsresponsebody.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.NotAuthorizedForScope | 403 | application/json | +| models.Forbidden | 403 | application/json | +| models.VercelRateLimitError | 429 | application/json | +| models.InternalServerError | 500 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | + +## transferInDomain + +Transfer a domain in from another registrar + +### Example Usage + + +```typescript +import { Vercel } from "@vercel/sdk"; + +const vercel = new Vercel({ + bearerToken: "", +}); + +async function run() { + const result = await vercel.domainsRegistrar.transferInDomain({ + domain: "silky-fund.org", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + requestBody: { + authCode: "", + autoRenew: true, + years: 298.08, + expectedPrice: 5092.5, + contactInformation: { + firstName: "Gabrielle", + lastName: "Hackett", + email: "Keshawn99@yahoo.com", + phone: "(758) 385-1802 x13762", + address1: "", + city: "Pattiestead", + state: "Idaho", + zip: "64653-9022", + country: "Bolivia", + }, + }, + }); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { VercelCore } from "@vercel/sdk/core.js"; +import { domainsRegistrarTransferInDomain } from "@vercel/sdk/funcs/domainsRegistrarTransferInDomain.js"; + +// Use `VercelCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const vercel = new VercelCore({ + bearerToken: "", +}); + +async function run() { + const res = await domainsRegistrarTransferInDomain(vercel, { + domain: "silky-fund.org", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + requestBody: { + authCode: "", + autoRenew: true, + years: 298.08, + expectedPrice: 5092.5, + contactInformation: { + firstName: "Gabrielle", + lastName: "Hackett", + email: "Keshawn99@yahoo.com", + phone: "(758) 385-1802 x13762", + address1: "", + city: "Pattiestead", + state: "Idaho", + zip: "64653-9022", + country: "Bolivia", + }, + }, + }); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("domainsRegistrarTransferInDomain failed:", res.error); + } +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [models.TransferInDomainRequest](../../models/transferindomainrequest.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\<[models.TransferInDomainResponseBody](../../models/transferindomainresponsebody.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.NotAuthorizedForScope | 403 | application/json | +| models.Forbidden | 403 | application/json | +| models.VercelRateLimitError | 429 | application/json | +| models.InternalServerError | 500 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | + +## getDomainTransferIn + +Get the transfer status for a domain + +### Example Usage + + +```typescript +import { Vercel } from "@vercel/sdk"; + +const vercel = new Vercel({ + bearerToken: "", +}); + +async function run() { + const result = await vercel.domainsRegistrar.getDomainTransferIn({ + domain: "unsung-antelope.com", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + }); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { VercelCore } from "@vercel/sdk/core.js"; +import { domainsRegistrarGetDomainTransferIn } from "@vercel/sdk/funcs/domainsRegistrarGetDomainTransferIn.js"; + +// Use `VercelCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const vercel = new VercelCore({ + bearerToken: "", +}); + +async function run() { + const res = await domainsRegistrarGetDomainTransferIn(vercel, { + domain: "unsung-antelope.com", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + }); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("domainsRegistrarGetDomainTransferIn failed:", res.error); + } +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [models.GetDomainTransferInRequest](../../models/getdomaintransferinrequest.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\<[models.GetDomainTransferInResponseBody](../../models/getdomaintransferinresponsebody.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.NotAuthorizedForScope | 403 | application/json | +| models.Forbidden | 403 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.VercelRateLimitError | 429 | application/json | +| models.InternalServerError | 500 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | + +## renewDomain + +Renew a domain + +### Example Usage + + +```typescript +import { Vercel } from "@vercel/sdk"; + +const vercel = new Vercel({ + bearerToken: "", +}); + +async function run() { + const result = await vercel.domainsRegistrar.renewDomain({ + domain: "scaly-daughter.biz", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + requestBody: { + years: 1981.72, + expectedPrice: 7096.16, + }, + }); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { VercelCore } from "@vercel/sdk/core.js"; +import { domainsRegistrarRenewDomain } from "@vercel/sdk/funcs/domainsRegistrarRenewDomain.js"; + +// Use `VercelCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const vercel = new VercelCore({ + bearerToken: "", +}); + +async function run() { + const res = await domainsRegistrarRenewDomain(vercel, { + domain: "scaly-daughter.biz", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + requestBody: { + years: 1981.72, + expectedPrice: 7096.16, + }, + }); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("domainsRegistrarRenewDomain failed:", res.error); + } +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [models.RenewDomainRequest](../../models/renewdomainrequest.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\<[models.RenewDomainResponseBody](../../models/renewdomainresponsebody.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.NotAuthorizedForScope | 403 | application/json | +| models.Forbidden | 403 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.VercelRateLimitError | 429 | application/json | +| models.InternalServerError | 500 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | + +## updateDomainAutoRenew + +Update the auto-renew setting for a domain + +### Example Usage + + +```typescript +import { Vercel } from "@vercel/sdk"; + +const vercel = new Vercel({ + bearerToken: "", +}); + +async function run() { + await vercel.domainsRegistrar.updateDomainAutoRenew({ + domain: "worthwhile-dwell.net", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + requestBody: { + autoRenew: true, + }, + }); + + +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { VercelCore } from "@vercel/sdk/core.js"; +import { domainsRegistrarUpdateDomainAutoRenew } from "@vercel/sdk/funcs/domainsRegistrarUpdateDomainAutoRenew.js"; + +// Use `VercelCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const vercel = new VercelCore({ + bearerToken: "", +}); + +async function run() { + const res = await domainsRegistrarUpdateDomainAutoRenew(vercel, { + domain: "worthwhile-dwell.net", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + requestBody: { + autoRenew: true, + }, + }); + if (res.ok) { + const { value: result } = res; + + } else { + console.log("domainsRegistrarUpdateDomainAutoRenew failed:", res.error); + } +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [models.UpdateDomainAutoRenewRequest](../../models/updatedomainautorenewrequest.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\** + +### Errors + +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.NotAuthorizedForScope | 403 | application/json | +| models.Forbidden | 403 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.VercelRateLimitError | 429 | application/json | +| models.InternalServerError | 500 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | + +## updateDomainNameservers + +Update the nameservers for a domain. Pass an empty array to use Vercel's default nameservers. + +### Example Usage + + +```typescript +import { Vercel } from "@vercel/sdk"; + +const vercel = new Vercel({ + bearerToken: "", +}); + +async function run() { + await vercel.domainsRegistrar.updateDomainNameservers({ + domain: "unique-formula.biz", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + requestBody: { + nameservers: [ + "", + ], + }, + }); + + +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { VercelCore } from "@vercel/sdk/core.js"; +import { domainsRegistrarUpdateDomainNameservers } from "@vercel/sdk/funcs/domainsRegistrarUpdateDomainNameservers.js"; + +// Use `VercelCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const vercel = new VercelCore({ + bearerToken: "", +}); + +async function run() { + const res = await domainsRegistrarUpdateDomainNameservers(vercel, { + domain: "unique-formula.biz", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + requestBody: { + nameservers: [ + "", + ], + }, + }); + if (res.ok) { + const { value: result } = res; + + } else { + console.log("domainsRegistrarUpdateDomainNameservers failed:", res.error); + } +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [models.UpdateDomainNameserversRequest](../../models/updatedomainnameserversrequest.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\** + +### Errors + +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.NotAuthorizedForScope | 403 | application/json | +| models.Forbidden | 403 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.VercelRateLimitError | 429 | application/json | +| models.InternalServerError | 500 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | + +## getContactInfoSchema + +Some TLDs require additional contact information. Use this endpoint to get the schema for the tld-specific contact information for a domain. + +### Example Usage + + +```typescript +import { Vercel } from "@vercel/sdk"; + +const vercel = new Vercel({ + bearerToken: "", +}); + +async function run() { + const result = await vercel.domainsRegistrar.getContactInfoSchema({ + domain: "tricky-issue.name", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + }); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { VercelCore } from "@vercel/sdk/core.js"; +import { domainsRegistrarGetContactInfoSchema } from "@vercel/sdk/funcs/domainsRegistrarGetContactInfoSchema.js"; + +// Use `VercelCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const vercel = new VercelCore({ + bearerToken: "", +}); + +async function run() { + const res = await domainsRegistrarGetContactInfoSchema(vercel, { + domain: "tricky-issue.name", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + }); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("domainsRegistrarGetContactInfoSchema failed:", res.error); + } +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [models.GetContactInfoSchemaRequest](../../models/getcontactinfoschemarequest.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\<[models.GetContactInfoSchemaResponseBody](../../models/getcontactinfoschemaresponsebody.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.NotAuthorizedForScope | 403 | application/json | +| models.VercelRateLimitError | 429 | application/json | +| models.InternalServerError | 500 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | + +## getOrder + +Get information about a domain order by its ID + +### Example Usage + + +```typescript +import { Vercel } from "@vercel/sdk"; + +const vercel = new Vercel({ + bearerToken: "", +}); + +async function run() { + const result = await vercel.domainsRegistrar.getOrder({ + orderId: "", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + }); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { VercelCore } from "@vercel/sdk/core.js"; +import { domainsRegistrarGetOrder } from "@vercel/sdk/funcs/domainsRegistrarGetOrder.js"; + +// Use `VercelCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const vercel = new VercelCore({ + bearerToken: "", +}); + +async function run() { + const res = await domainsRegistrarGetOrder(vercel, { + orderId: "", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + }); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("domainsRegistrarGetOrder failed:", res.error); + } +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [models.GetOrderRequest](../../models/getorderrequest.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\<[models.GetOrderResponseBody](../../models/getorderresponsebody.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.NotAuthorizedForScope | 403 | application/json | +| models.Forbidden | 403 | application/json | +| models.VercelNotFoundError | 404 | application/json | +| models.VercelRateLimitError | 429 | application/json | +| models.InternalServerError | 500 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/drains/README.md b/docs/sdks/drains/README.md new file mode 100644 index 000000000..d15b9bc5e --- /dev/null +++ b/docs/sdks/drains/README.md @@ -0,0 +1,485 @@ +# Drains +(*drains*) + +## Overview + +### Available Operations + +* [createDrain](#createdrain) - Create a new Drain +* [getDrains](#getdrains) - Retrieve a list of all Drains +* [deleteDrain](#deletedrain) - Delete a drain +* [getDrain](#getdrain) - Find a Drain by id +* [updateDrain](#updatedrain) - Update an existing Drain +* [testDrain](#testdrain) - Validate Drain delivery configuration + +## createDrain + +Create a new Drain with the provided configuration. + +### Example Usage + + +```typescript +import { Vercel } from "@vercel/sdk"; + +const vercel = new Vercel({ + bearerToken: "", +}); + +async function run() { + const result = await vercel.drains.createDrain({ + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + slug: "my-team-url-slug", + }); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { VercelCore } from "@vercel/sdk/core.js"; +import { drainsCreateDrain } from "@vercel/sdk/funcs/drainsCreateDrain.js"; + +// Use `VercelCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const vercel = new VercelCore({ + bearerToken: "", +}); + +async function run() { + const res = await drainsCreateDrain(vercel, { + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + slug: "my-team-url-slug", + }); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("drainsCreateDrain failed:", res.error); + } +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [models.CreateDrainRequest](../../models/createdrainrequest.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\<[models.CreateDrainResponseBody](../../models/createdrainresponsebody.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | + +## getDrains + +Allows to retrieve the list of Drains of the authenticated team. + +### Example Usage + + +```typescript +import { Vercel } from "@vercel/sdk"; + +const vercel = new Vercel({ + bearerToken: "", +}); + +async function run() { + const result = await vercel.drains.getDrains({ + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + slug: "my-team-url-slug", + }); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { VercelCore } from "@vercel/sdk/core.js"; +import { drainsGetDrains } from "@vercel/sdk/funcs/drainsGetDrains.js"; + +// Use `VercelCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const vercel = new VercelCore({ + bearerToken: "", +}); + +async function run() { + const res = await drainsGetDrains(vercel, { + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + slug: "my-team-url-slug", + }); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("drainsGetDrains failed:", res.error); + } +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [models.GetDrainsRequest](../../models/getdrainsrequest.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\<[models.GetDrainsResponseBody](../../models/getdrainsresponsebody.md)\>** + +### Errors + +| 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 | \*/\* | + +## deleteDrain + +Delete a specific Drain by passing the drain id in the URL. + +### Example Usage + + +```typescript +import { Vercel } from "@vercel/sdk"; + +const vercel = new Vercel({ + bearerToken: "", +}); + +async function run() { + await vercel.drains.deleteDrain({ + id: "", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + slug: "my-team-url-slug", + }); + + +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { VercelCore } from "@vercel/sdk/core.js"; +import { drainsDeleteDrain } from "@vercel/sdk/funcs/drainsDeleteDrain.js"; + +// Use `VercelCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const vercel = new VercelCore({ + bearerToken: "", +}); + +async function run() { + const res = await drainsDeleteDrain(vercel, { + id: "", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + slug: "my-team-url-slug", + }); + if (res.ok) { + const { value: result } = res; + + } else { + console.log("drainsDeleteDrain failed:", res.error); + } +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [models.DeleteDrainRequest](../../models/deletedrainrequest.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\** + +### Errors + +| 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 | \*/\* | + +## getDrain + +Get the information for a specific Drain by passing the drain id in the URL. + +### Example Usage + + +```typescript +import { Vercel } from "@vercel/sdk"; + +const vercel = new Vercel({ + bearerToken: "", +}); + +async function run() { + const result = await vercel.drains.getDrain({ + id: "", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + slug: "my-team-url-slug", + }); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { VercelCore } from "@vercel/sdk/core.js"; +import { drainsGetDrain } from "@vercel/sdk/funcs/drainsGetDrain.js"; + +// Use `VercelCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const vercel = new VercelCore({ + bearerToken: "", +}); + +async function run() { + const res = await drainsGetDrain(vercel, { + id: "", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + slug: "my-team-url-slug", + }); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("drainsGetDrain failed:", res.error); + } +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [models.GetDrainRequest](../../models/getdrainrequest.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\<[models.GetDrainResponseBody](../../models/getdrainresponsebody.md)\>** + +### Errors + +| 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 | \*/\* | + +## updateDrain + +Update the configuration of an existing drain. + +### Example Usage + + +```typescript +import { Vercel } from "@vercel/sdk"; + +const vercel = new Vercel({ + bearerToken: "", +}); + +async function run() { + const result = await vercel.drains.updateDrain({ + id: "", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + slug: "my-team-url-slug", + }); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { VercelCore } from "@vercel/sdk/core.js"; +import { drainsUpdateDrain } from "@vercel/sdk/funcs/drainsUpdateDrain.js"; + +// Use `VercelCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const vercel = new VercelCore({ + bearerToken: "", +}); + +async function run() { + const res = await drainsUpdateDrain(vercel, { + id: "", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + slug: "my-team-url-slug", + }); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("drainsUpdateDrain failed:", res.error); + } +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [models.UpdateDrainRequest](../../models/updatedrainrequest.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\<[models.UpdateDrainResponseBody](../../models/updatedrainresponsebody.md)\>** + +### Errors + +| 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 | \*/\* | + +## testDrain + +Validate the delivery configuration of a Drain using sample events. + +### Example Usage + + +```typescript +import { Vercel } from "@vercel/sdk"; + +const vercel = new Vercel({ + bearerToken: "", +}); + +async function run() { + const result = await vercel.drains.testDrain({ + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + slug: "my-team-url-slug", + }); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { VercelCore } from "@vercel/sdk/core.js"; +import { drainsTestDrain } from "@vercel/sdk/funcs/drainsTestDrain.js"; + +// Use `VercelCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const vercel = new VercelCore({ + bearerToken: "", +}); + +async function run() { + const res = await drainsTestDrain(vercel, { + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + slug: "my-team-url-slug", + }); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("drainsTestDrain failed:", res.error); + } +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [models.TestDrainRequest](../../models/testdrainrequest.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\<[models.TestDrainResponseBody](../../models/testdrainresponsebody.md)\>** + +### Errors + +| 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/environment/README.md b/docs/sdks/environment/README.md index ab5a8b6b6..8350b790a 100644 --- a/docs/sdks/environment/README.md +++ b/docs/sdks/environment/README.md @@ -5,12 +5,537 @@ ### Available Operations +* [createSharedEnvVariable](#createsharedenvvariable) - Create one or more shared environment variables +* [listSharedEnvVariable](#listsharedenvvariable) - Lists all Shared Environment Variables for a team +* [updateSharedEnvVariable](#updatesharedenvvariable) - Updates one or more shared environment variables +* [deleteSharedEnvVariable](#deletesharedenvvariable) - Delete one or more Env Var +* [getSharedEnvVar](#getsharedenvvar) - Retrieve the decrypted value of a Shared Environment Variable by id. +* [unlinkSharedEnvVariable](#unlinksharedenvvariable) - Disconnects a shared environment variable for a given project * [createCustomEnvironment](#createcustomenvironment) - Create a custom environment for the current project. * [getV9ProjectsIdOrNameCustomEnvironments](#getv9projectsidornamecustomenvironments) - Retrieve custom environments * [getCustomEnvironment](#getcustomenvironment) - Retrieve a custom environment * [updateCustomEnvironment](#updatecustomenvironment) - Update a custom environment * [removeCustomEnvironment](#removecustomenvironment) - Remove a custom environment +## createSharedEnvVariable + +Creates shared environment variable(s) for a team. + +### Example Usage + + +```typescript +import { Vercel } from "@vercel/sdk"; + +const vercel = new Vercel({ + bearerToken: "", +}); + +async function run() { + const result = await vercel.environment.createSharedEnvVariable({ + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + slug: "my-team-url-slug", + requestBody: { + evs: [], + type: "encrypted", + target: [ + "production", + "preview", + ], + }, + }); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { VercelCore } from "@vercel/sdk/core.js"; +import { environmentCreateSharedEnvVariable } from "@vercel/sdk/funcs/environmentCreateSharedEnvVariable.js"; + +// Use `VercelCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const vercel = new VercelCore({ + bearerToken: "", +}); + +async function run() { + const res = await environmentCreateSharedEnvVariable(vercel, { + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + slug: "my-team-url-slug", + requestBody: { + evs: [], + type: "encrypted", + target: [ + "production", + "preview", + ], + }, + }); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("environmentCreateSharedEnvVariable failed:", res.error); + } +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [models.CreateSharedEnvVariableRequest](../../models/createsharedenvvariablerequest.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\<[models.CreateSharedEnvVariableResponseBody](../../models/createsharedenvvariableresponsebody.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | + +## listSharedEnvVariable + +Lists all Shared Environment Variables for a team, taking into account optional filters. + +### Example Usage + + +```typescript +import { Vercel } from "@vercel/sdk"; + +const vercel = new Vercel({ + bearerToken: "", +}); + +async function run() { + const result = await vercel.environment.listSharedEnvVariable({ + projectId: "prj_2WjyKQmM8ZnGcJsPWMrHRHrE", + ids: "env_2WjyKQmM8ZnGcJsPWMrHRHrE,env_2WjyKQmM8ZnGcJsPWMrHRCRV", + excludeIdsQueryParameter: "env_2WjyKQmM8ZnGcJsPWMrHRHrE,env_2WjyKQmM8ZnGcJsPWMrHRCRV", + excludeIdsQueryParameter1: "env_2WjyKQmM8ZnGcJsPWMrHRHrE,env_2WjyKQmM8ZnGcJsPWMrHRCRV", + excludeProjectIdQueryParameter: "prj_2WjyKQmM8ZnGcJsPWMrHRHrE", + excludeProjectIdQueryParameter1: "prj_2WjyKQmM8ZnGcJsPWMrHRHrE", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + slug: "my-team-url-slug", + }); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { VercelCore } from "@vercel/sdk/core.js"; +import { environmentListSharedEnvVariable } from "@vercel/sdk/funcs/environmentListSharedEnvVariable.js"; + +// Use `VercelCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const vercel = new VercelCore({ + bearerToken: "", +}); + +async function run() { + const res = await environmentListSharedEnvVariable(vercel, { + projectId: "prj_2WjyKQmM8ZnGcJsPWMrHRHrE", + ids: "env_2WjyKQmM8ZnGcJsPWMrHRHrE,env_2WjyKQmM8ZnGcJsPWMrHRCRV", + excludeIdsQueryParameter: "env_2WjyKQmM8ZnGcJsPWMrHRHrE,env_2WjyKQmM8ZnGcJsPWMrHRCRV", + excludeIdsQueryParameter1: "env_2WjyKQmM8ZnGcJsPWMrHRHrE,env_2WjyKQmM8ZnGcJsPWMrHRCRV", + excludeProjectIdQueryParameter: "prj_2WjyKQmM8ZnGcJsPWMrHRHrE", + excludeProjectIdQueryParameter1: "prj_2WjyKQmM8ZnGcJsPWMrHRHrE", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + slug: "my-team-url-slug", + }); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("environmentListSharedEnvVariable failed:", res.error); + } +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [models.ListSharedEnvVariableRequest](../../models/listsharedenvvariablerequest.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\<[models.ListSharedEnvVariableResponseBody](../../models/listsharedenvvariableresponsebody.md)\>** + +### Errors + +| 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 | \*/\* | + +## updateSharedEnvVariable + +Updates a given Shared Environment Variable for a Team. + +### Example Usage + + +```typescript +import { Vercel } from "@vercel/sdk"; + +const vercel = new Vercel({ + bearerToken: "", +}); + +async function run() { + const result = await vercel.environment.updateSharedEnvVariable({ + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + slug: "my-team-url-slug", + requestBody: { + updates: { + + }, + }, + }); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { VercelCore } from "@vercel/sdk/core.js"; +import { environmentUpdateSharedEnvVariable } from "@vercel/sdk/funcs/environmentUpdateSharedEnvVariable.js"; + +// Use `VercelCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const vercel = new VercelCore({ + bearerToken: "", +}); + +async function run() { + const res = await environmentUpdateSharedEnvVariable(vercel, { + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + slug: "my-team-url-slug", + requestBody: { + updates: { + + }, + }, + }); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("environmentUpdateSharedEnvVariable failed:", res.error); + } +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [models.UpdateSharedEnvVariableRequest](../../models/updatesharedenvvariablerequest.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\<[models.UpdateSharedEnvVariableResponseBody](../../models/updatesharedenvvariableresponsebody.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | + +## deleteSharedEnvVariable + +Deletes one or many Shared Environment Variables for a given team. + +### Example Usage + + +```typescript +import { Vercel } from "@vercel/sdk"; + +const vercel = new Vercel({ + bearerToken: "", +}); + +async function run() { + const result = await vercel.environment.deleteSharedEnvVariable({ + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + slug: "my-team-url-slug", + requestBody: { + ids: [ + "env_abc123", + "env_abc124", + ], + }, + }); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { VercelCore } from "@vercel/sdk/core.js"; +import { environmentDeleteSharedEnvVariable } from "@vercel/sdk/funcs/environmentDeleteSharedEnvVariable.js"; + +// Use `VercelCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const vercel = new VercelCore({ + bearerToken: "", +}); + +async function run() { + const res = await environmentDeleteSharedEnvVariable(vercel, { + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + slug: "my-team-url-slug", + requestBody: { + ids: [ + "env_abc123", + "env_abc124", + ], + }, + }); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("environmentDeleteSharedEnvVariable failed:", res.error); + } +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [models.DeleteSharedEnvVariableRequest](../../models/deletesharedenvvariablerequest.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\<[models.DeleteSharedEnvVariableResponseBody](../../models/deletesharedenvvariableresponsebody.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | + +## getSharedEnvVar + +Retrieve the decrypted value of a Shared Environment Variable by id. + +### Example Usage + + +```typescript +import { Vercel } from "@vercel/sdk"; + +const vercel = new Vercel({ + bearerToken: "", +}); + +async function run() { + const result = await vercel.environment.getSharedEnvVar({ + id: "", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + slug: "my-team-url-slug", + }); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { VercelCore } from "@vercel/sdk/core.js"; +import { environmentGetSharedEnvVar } from "@vercel/sdk/funcs/environmentGetSharedEnvVar.js"; + +// Use `VercelCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const vercel = new VercelCore({ + bearerToken: "", +}); + +async function run() { + const res = await environmentGetSharedEnvVar(vercel, { + id: "", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + slug: "my-team-url-slug", + }); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("environmentGetSharedEnvVar failed:", res.error); + } +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [models.GetSharedEnvVarRequest](../../models/getsharedenvvarrequest.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\<[models.GetSharedEnvVarResponseBody](../../models/getsharedenvvarresponsebody.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | + +## unlinkSharedEnvVariable + +Disconnects a shared environment variable for a given project + +### Example Usage + + +```typescript +import { Vercel } from "@vercel/sdk"; + +const vercel = new Vercel({ + bearerToken: "", +}); + +async function run() { + const result = await vercel.environment.unlinkSharedEnvVariable({ + id: "", + projectId: "", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + slug: "my-team-url-slug", + }); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { VercelCore } from "@vercel/sdk/core.js"; +import { environmentUnlinkSharedEnvVariable } from "@vercel/sdk/funcs/environmentUnlinkSharedEnvVariable.js"; + +// Use `VercelCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const vercel = new VercelCore({ + bearerToken: "", +}); + +async function run() { + const res = await environmentUnlinkSharedEnvVariable(vercel, { + id: "", + projectId: "", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + slug: "my-team-url-slug", + }); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("environmentUnlinkSharedEnvVariable failed:", res.error); + } +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [models.UnlinkSharedEnvVariableRequest](../../models/unlinksharedenvvariablerequest.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\<[models.UnlinkSharedEnvVariableResponseBody](../../models/unlinksharedenvvariableresponsebody.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | + ## createCustomEnvironment Creates a custom environment for the current project. Cannot be named 'Production' or 'Preview'. diff --git a/docs/sdks/logdrains/README.md b/docs/sdks/logdrains/README.md index e897ba671..cfef87e70 100644 --- a/docs/sdks/logdrains/README.md +++ b/docs/sdks/logdrains/README.md @@ -5,9 +5,338 @@ ### Available Operations -* [getIntegrationLogDrains](#getintegrationlogdrains) - Retrieves a list of Integration log drains -* [createLogDrain](#createlogdrain) - Creates a new Integration Log Drain -* [deleteIntegrationLogDrain](#deleteintegrationlogdrain) - Deletes the Integration log drain with the provided `id` +* [getConfigurableLogDrain](#getconfigurablelogdrain) - Retrieves a Configurable Log Drain (deprecated) +* [deleteConfigurableLogDrain](#deleteconfigurablelogdrain) - Deletes a Configurable Log Drain (deprecated) +* [getAllLogDrains](#getalllogdrains) - Retrieves a list of all the Log Drains (deprecated) +* [createConfigurableLogDrain](#createconfigurablelogdrain) - Creates a Configurable Log Drain (deprecated) +* [getIntegrationLogDrains](#getintegrationlogdrains) - Retrieves a list of Integration log drains (deprecated) +* [createLogDrain](#createlogdrain) - Creates a new Integration Log Drain (deprecated) +* [deleteIntegrationLogDrain](#deleteintegrationlogdrain) - Deletes the Integration log drain with the provided `id` (deprecated) + +## getConfigurableLogDrain + +Retrieves a Configurable Log Drain. This endpoint must be called with a team AccessToken (integration OAuth2 clients are not allowed). Only log drains owned by the authenticated team can be accessed. + +### Example Usage + + +```typescript +import { Vercel } from "@vercel/sdk"; + +const vercel = new Vercel({ + bearerToken: "", +}); + +async function run() { + const result = await vercel.logDrains.getConfigurableLogDrain({ + id: "", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + slug: "my-team-url-slug", + }); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { VercelCore } from "@vercel/sdk/core.js"; +import { logDrainsGetConfigurableLogDrain } from "@vercel/sdk/funcs/logDrainsGetConfigurableLogDrain.js"; + +// Use `VercelCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const vercel = new VercelCore({ + bearerToken: "", +}); + +async function run() { + const res = await logDrainsGetConfigurableLogDrain(vercel, { + id: "", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + slug: "my-team-url-slug", + }); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("logDrainsGetConfigurableLogDrain failed:", res.error); + } +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `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\<[models.GetConfigurableLogDrainResponseBody](../../models/getconfigurablelogdrainresponsebody.md)\>** + +### Errors + +| 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 + +Deletes a Configurable Log Drain. This endpoint must be called with a team AccessToken (integration OAuth2 clients are not allowed). Only log drains owned by the authenticated team can be deleted. + +### Example Usage + + +```typescript +import { Vercel } from "@vercel/sdk"; + +const vercel = new Vercel({ + bearerToken: "", +}); + +async function run() { + await vercel.logDrains.deleteConfigurableLogDrain({ + id: "", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + slug: "my-team-url-slug", + }); + + +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { VercelCore } from "@vercel/sdk/core.js"; +import { logDrainsDeleteConfigurableLogDrain } from "@vercel/sdk/funcs/logDrainsDeleteConfigurableLogDrain.js"; + +// Use `VercelCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const vercel = new VercelCore({ + bearerToken: "", +}); + +async function run() { + const res = await logDrainsDeleteConfigurableLogDrain(vercel, { + id: "", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + slug: "my-team-url-slug", + }); + if (res.ok) { + const { value: result } = res; + + } else { + console.log("logDrainsDeleteConfigurableLogDrain failed:", res.error); + } +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `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. | + +### Response + +**Promise\** + +### Errors + +| 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 + +Retrieves a list of all the Log Drains owned by the account. This endpoint must be called with an account AccessToken (integration OAuth2 clients are not allowed). Only log drains owned by the authenticated account can be accessed. + +### Example Usage + + +```typescript +import { Vercel } from "@vercel/sdk"; + +const vercel = new Vercel({ + bearerToken: "", +}); + +async function run() { + const result = await vercel.logDrains.getAllLogDrains({ + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + slug: "my-team-url-slug", + }); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { VercelCore } from "@vercel/sdk/core.js"; +import { logDrainsGetAllLogDrains } from "@vercel/sdk/funcs/logDrainsGetAllLogDrains.js"; + +// Use `VercelCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const vercel = new VercelCore({ + bearerToken: "", +}); + +async function run() { + const res = await logDrainsGetAllLogDrains(vercel, { + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + slug: "my-team-url-slug", + }); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("logDrainsGetAllLogDrains failed:", res.error); + } +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `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\<[models.GetAllLogDrainsResponseBody](../../models/getalllogdrainsresponsebody.md)\>** + +### Errors + +| 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 | \*/\* | + +## createConfigurableLogDrain + +Creates a configurable log drain. This endpoint must be called with a team AccessToken (integration OAuth2 clients are not allowed) + +### Example Usage + + +```typescript +import { Vercel } from "@vercel/sdk"; + +const vercel = new Vercel({ + bearerToken: "", +}); + +async function run() { + const result = await vercel.logDrains.createConfigurableLogDrain({ + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + slug: "my-team-url-slug", + requestBody: { + deliveryFormat: "json", + url: "https://wavy-meander.net", + sources: [], + }, + }); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { VercelCore } from "@vercel/sdk/core.js"; +import { logDrainsCreateConfigurableLogDrain } from "@vercel/sdk/funcs/logDrainsCreateConfigurableLogDrain.js"; + +// Use `VercelCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const vercel = new VercelCore({ + bearerToken: "", +}); + +async function run() { + const res = await logDrainsCreateConfigurableLogDrain(vercel, { + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + slug: "my-team-url-slug", + requestBody: { + deliveryFormat: "json", + url: "https://wavy-meander.net", + sources: [], + }, + }); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("logDrainsCreateConfigurableLogDrain failed:", res.error); + } +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `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\<[models.CreateConfigurableLogDrainResponseBody](../../models/createconfigurablelogdrainresponsebody.md)\>** + +### Errors + +| Error Type | Status Code | Content Type | +| ---------------------------- | ---------------------------- | ---------------------------- | +| models.VercelBadRequestError | 400 | application/json | +| models.VercelForbiddenError | 401 | application/json | +| models.SDKError | 4XX, 5XX | \*/\* | ## getIntegrationLogDrains diff --git a/docs/sdks/marketplace/README.md b/docs/sdks/marketplace/README.md index 40c34aef5..60a630939 100644 --- a/docs/sdks/marketplace/README.md +++ b/docs/sdks/marketplace/README.md @@ -5,6 +5,7 @@ ### Available Operations +* [updateInstallation](#updateinstallation) - Update Installation * [getAccountInfo](#getaccountinfo) - Get Account Information * [getMember](#getmember) - Get Member Information * [createEvent](#createevent) - Create Event @@ -12,6 +13,7 @@ * [getIntegrationResource](#getintegrationresource) - Get Integration Resource * [deleteIntegrationResource](#deleteintegrationresource) - Delete Integration Resource * [importResource](#importresource) - Import Resource +* [updateResource](#updateresource) - Update Resource * [submitBillingData](#submitbillingdata) - Submit Billing Data * [submitInvoice](#submitinvoice) - Submit Invoice * [getInvoice](#getinvoice) - Get Invoice @@ -26,6 +28,82 @@ * [createInstallationIntegrationEdgeConfig](#createinstallationintegrationedgeconfig) - Get the data of a user-provided Edge Config * [updateInstallationIntegrationEdgeConfig](#updateinstallationintegrationedgeconfig) - Push data into a user-provided Edge Config +## updateInstallation + +This endpoint updates an integration installation. + +### Example Usage + + +```typescript +import { Vercel } from "@vercel/sdk"; + +const vercel = new Vercel({ + bearerToken: "", +}); + +async function run() { + await vercel.marketplace.updateInstallation({ + integrationConfigurationId: "", + }); + + +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { VercelCore } from "@vercel/sdk/core.js"; +import { marketplaceUpdateInstallation } from "@vercel/sdk/funcs/marketplaceUpdateInstallation.js"; + +// Use `VercelCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const vercel = new VercelCore({ + bearerToken: "", +}); + +async function run() { + const res = await marketplaceUpdateInstallation(vercel, { + integrationConfigurationId: "", + }); + if (res.ok) { + const { value: result } = res; + + } else { + console.log("marketplaceUpdateInstallation failed:", res.error); + } +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [models.UpdateInstallationRequest](../../models/updateinstallationrequest.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\** + +### Errors + +| 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 | \*/\* | + ## getAccountInfo Fetches the best account or user’s contact info @@ -576,6 +654,84 @@ run(); | models.VercelNotFoundError | 404 | application/json | | models.SDKError | 4XX, 5XX | \*/\* | +## updateResource + +This endpoint updates an existing resource in the installation. All parameters are optional, allowing partial updates. + +### Example Usage + + +```typescript +import { Vercel } from "@vercel/sdk"; + +const vercel = new Vercel({ + bearerToken: "", +}); + +async function run() { + const result = await vercel.marketplace.updateResource({ + integrationConfigurationId: "", + resourceId: "", + }); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { VercelCore } from "@vercel/sdk/core.js"; +import { marketplaceUpdateResource } from "@vercel/sdk/funcs/marketplaceUpdateResource.js"; + +// Use `VercelCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const vercel = new VercelCore({ + bearerToken: "", +}); + +async function run() { + const res = await marketplaceUpdateResource(vercel, { + integrationConfigurationId: "", + resourceId: "", + }); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("marketplaceUpdateResource failed:", res.error); + } +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [models.UpdateResourceRequest](../../models/updateresourcerequest.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\<[models.UpdateResourceResponseBody](../../models/updateresourceresponsebody.md)\>** + +### Errors + +| 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 | \*/\* | + ## 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. diff --git a/docs/sdks/projects/README.md b/docs/sdks/projects/README.md index d9e879920..8005cdb34 100644 --- a/docs/sdks/projects/README.md +++ b/docs/sdks/projects/README.md @@ -23,6 +23,9 @@ * [removeProjectEnv](#removeprojectenv) - Remove an environment variable * [editProjectEnv](#editprojectenv) - Edit an environment variable * [batchRemoveProjectEnv](#batchremoveprojectenv) - Batch remove environment variables +* [uploadProjectClientCert](#uploadprojectclientcert) - Upload client certificate for egress mTLS +* [getProjectClientCerts](#getprojectclientcerts) - Get client certificates for a project +* [deleteProjectClientCert](#deleteprojectclientcert) - Delete client certificate for egress mTLS * [createProjectTransferRequest](#createprojecttransferrequest) - Create project transfer request * [acceptProjectTransferRequest](#acceptprojecttransferrequest) - Accept project transfer request * [updateProjectProtectionBypass](#updateprojectprotectionbypass) - Update Protection Bypass for Automation @@ -136,6 +139,8 @@ async function run() { gitForkProtection: "1", repoUrl: "https://github.com/vercel/next.js", elasticConcurrencyEnabled: "1", + staticIpsEnabled: "1", + buildMachineTypes: "default,enhanced", teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", slug: "my-team-url-slug", }); @@ -165,6 +170,8 @@ async function run() { gitForkProtection: "1", repoUrl: "https://github.com/vercel/next.js", elasticConcurrencyEnabled: "1", + staticIpsEnabled: "1", + buildMachineTypes: "default,enhanced", teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", slug: "my-team-url-slug", }); @@ -1598,6 +1605,260 @@ run(); | models.VercelNotFoundError | 404 | application/json | | models.SDKError | 4XX, 5XX | \*/\* | +## uploadProjectClientCert + +Upload a client certificate for mTLS authentication to external origins. + +### Example Usage + + +```typescript +import { Vercel } from "@vercel/sdk"; + +const vercel = new Vercel({ + bearerToken: "", +}); + +async function run() { + const result = await vercel.projects.uploadProjectClientCert({ + idOrName: "prj_XLKmu1DyR1eY7zq8UgeRKbA7yVLA", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + slug: "my-team-url-slug", + requestBody: { + cert: "-----BEGIN CERTIFICATE-----\\n...\\n-----END CERTIFICATE-----", + key: "-----BEGIN PRIVATE KEY-----\\n...\\n-----END PRIVATE KEY-----", + ca: "-----BEGIN CERTIFICATE-----\\n...\\n-----END CERTIFICATE-----", + origin: "https://api.example.com", + }, + }); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { VercelCore } from "@vercel/sdk/core.js"; +import { projectsUploadProjectClientCert } from "@vercel/sdk/funcs/projectsUploadProjectClientCert.js"; + +// Use `VercelCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const vercel = new VercelCore({ + bearerToken: "", +}); + +async function run() { + const res = await projectsUploadProjectClientCert(vercel, { + idOrName: "prj_XLKmu1DyR1eY7zq8UgeRKbA7yVLA", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + slug: "my-team-url-slug", + requestBody: { + cert: "-----BEGIN CERTIFICATE-----\\n...\\n-----END CERTIFICATE-----", + key: "-----BEGIN PRIVATE KEY-----\\n...\\n-----END PRIVATE KEY-----", + ca: "-----BEGIN CERTIFICATE-----\\n...\\n-----END CERTIFICATE-----", + origin: "https://api.example.com", + }, + }); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("projectsUploadProjectClientCert failed:", res.error); + } +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [models.UploadProjectClientCertRequest](../../models/uploadprojectclientcertrequest.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\<[models.UploadProjectClientCertResponseBody](../../models/uploadprojectclientcertresponsebody.md)\>** + +### Errors + +| 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 | \*/\* | + +## getProjectClientCerts + +Retrieve client certificates configured for a project's mTLS egress authentication. + +### Example Usage + + +```typescript +import { Vercel } from "@vercel/sdk"; + +const vercel = new Vercel({ + bearerToken: "", +}); + +async function run() { + const result = await vercel.projects.getProjectClientCerts({ + idOrName: "prj_XLKmu1DyR1eY7zq8UgeRKbA7yVLA", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + slug: "my-team-url-slug", + }); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { VercelCore } from "@vercel/sdk/core.js"; +import { projectsGetProjectClientCerts } from "@vercel/sdk/funcs/projectsGetProjectClientCerts.js"; + +// Use `VercelCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const vercel = new VercelCore({ + bearerToken: "", +}); + +async function run() { + const res = await projectsGetProjectClientCerts(vercel, { + idOrName: "prj_XLKmu1DyR1eY7zq8UgeRKbA7yVLA", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + slug: "my-team-url-slug", + }); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("projectsGetProjectClientCerts failed:", res.error); + } +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [models.GetProjectClientCertsRequest](../../models/getprojectclientcertsrequest.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\<[models.GetProjectClientCertsResponseBody](../../models/getprojectclientcertsresponsebody.md)\>** + +### Errors + +| 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 | \*/\* | + +## deleteProjectClientCert + +Delete a client certificate for mTLS authentication to external origins. + +### Example Usage + + +```typescript +import { Vercel } from "@vercel/sdk"; + +const vercel = new Vercel({ + bearerToken: "", +}); + +async function run() { + const result = await vercel.projects.deleteProjectClientCert({ + idOrName: "prj_XLKmu1DyR1eY7zq8UgeRKbA7yVLA", + certId: "cert_a1b2c3d4e5f6g7h8", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + slug: "my-team-url-slug", + }); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { VercelCore } from "@vercel/sdk/core.js"; +import { projectsDeleteProjectClientCert } from "@vercel/sdk/funcs/projectsDeleteProjectClientCert.js"; + +// Use `VercelCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const vercel = new VercelCore({ + bearerToken: "", +}); + +async function run() { + const res = await projectsDeleteProjectClientCert(vercel, { + idOrName: "prj_XLKmu1DyR1eY7zq8UgeRKbA7yVLA", + certId: "cert_a1b2c3d4e5f6g7h8", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + slug: "my-team-url-slug", + }); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("projectsDeleteProjectClientCert failed:", res.error); + } +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [models.DeleteProjectClientCertRequest](../../models/deleteprojectclientcertrequest.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\<[models.DeleteProjectClientCertResponseBody](../../models/deleteprojectclientcertresponsebody.md)\>** + +### Errors + +| 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 | \*/\* | + ## createProjectTransferRequest Initiates a project transfer request from one team to another.
Returns a `code` that remains valid for 24 hours and can be used to accept the transfer request by another team using the `PUT /projects/transfer-request/:code` endpoint.
Users can also accept the project transfer request using the claim URL: `https://vercel.com/claim-deployment?code=&returnUrl=`.
The `code` parameter specifies the project transfer request code generated using this endpoint.
The `returnUrl` parameter redirects users to a specific page of the application if the claim URL is invalid or expired. diff --git a/docs/sdks/security/README.md b/docs/sdks/security/README.md index 71f4e45aa..c700b0041 100644 --- a/docs/sdks/security/README.md +++ b/docs/sdks/security/README.md @@ -13,6 +13,7 @@ * [getBypassIp](#getbypassip) - Read System Bypass * [addBypassIp](#addbypassip) - Create System Bypass Rule * [removeBypassIp](#removebypassip) - Remove System Bypass Rule +* [getV1SecurityFirewallEvents](#getv1securityfirewallevents) - Read Firewall Actions by Project ## updateAttackChallengeMode @@ -358,7 +359,7 @@ run(); ## getActiveAttackStatus -Retrieve active attack data within the last 24h window +Retrieve active attack data within the last N days (default: 1 day) ### Example Usage @@ -671,6 +672,78 @@ run(); ### Errors +| 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 | \*/\* | + +## getV1SecurityFirewallEvents + +Retrieve firewall actions for a project + +### Example Usage + + +```typescript +import { Vercel } from "@vercel/sdk"; + +const vercel = new Vercel(); + +async function run() { + const result = await vercel.security.getV1SecurityFirewallEvents({ + projectId: "", + }); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { VercelCore } from "@vercel/sdk/core.js"; +import { securityGetV1SecurityFirewallEvents } from "@vercel/sdk/funcs/securityGetV1SecurityFirewallEvents.js"; + +// Use `VercelCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const vercel = new VercelCore(); + +async function run() { + const res = await securityGetV1SecurityFirewallEvents(vercel, { + projectId: "", + }); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("securityGetV1SecurityFirewallEvents failed:", res.error); + } +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [models.GetV1SecurityFirewallEventsRequest](../../models/getv1securityfirewalleventsrequest.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\<[models.GetV1SecurityFirewallEventsResponseBody](../../models/getv1securityfirewalleventsresponsebody.md)\>** + +### Errors + | Error Type | Status Code | Content Type | | ---------------------------- | ---------------------------- | ---------------------------- | | models.VercelBadRequestError | 400 | application/json | diff --git a/docs/sdks/staticips/README.md b/docs/sdks/staticips/README.md new file mode 100644 index 000000000..e45c20e0f --- /dev/null +++ b/docs/sdks/staticips/README.md @@ -0,0 +1,98 @@ +# StaticIps +(*staticIps*) + +## Overview + +### Available Operations + +* [updateStaticIps](#updatestaticips) - Configures Static IPs for a project + +## updateStaticIps + +Allows configuring Static IPs for a project + +### Example Usage + + +```typescript +import { Vercel } from "@vercel/sdk"; + +const vercel = new Vercel({ + bearerToken: "", +}); + +async function run() { + const result = await vercel.staticIps.updateStaticIps({ + idOrName: "", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + slug: "my-team-url-slug", + requestBody: { + regions: [ + "iad1", + ], + }, + }); + + console.log(result); +} + +run(); +``` + +### Standalone function + +The standalone function version of this method: + +```typescript +import { VercelCore } from "@vercel/sdk/core.js"; +import { connectUpdateStaticIps } from "@vercel/sdk/funcs/connectUpdateStaticIps.js"; + +// Use `VercelCore` for best tree-shaking performance. +// You can create one instance of it to use across an application. +const vercel = new VercelCore({ + bearerToken: "", +}); + +async function run() { + const res = await connectUpdateStaticIps(vercel, { + idOrName: "", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + slug: "my-team-url-slug", + requestBody: { + regions: [ + "iad1", + ], + }, + }); + if (res.ok) { + const { value: result } = res; + console.log(result); + } else { + console.log("connectUpdateStaticIps failed:", res.error); + } +} + +run(); +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `request` | [models.UpdateStaticIpsRequest](../../models/updatestaticipsrequest.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\<[models.UpdateStaticIpsResponseBody[]](../../models/.md)\>** + +### Errors + +| 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 86b3e0177..34bfd1239 100644 --- a/docs/sdks/teams/README.md +++ b/docs/sdks/teams/README.md @@ -103,11 +103,11 @@ run(); ## inviteUserToTeam -Invite a user to join the team specified in the URL. The authenticated user needs to be an `OWNER` in order to successfully invoke this endpoint. The user can be specified with an email or an ID. If both email and ID are provided, ID will take priority. +Invite a user to join the team specified in the URL. The authenticated user needs to be an `OWNER` in order to successfully invoke this endpoint. The user to be invited must be specified by email. ### Example Usage - + ```typescript import { Vercel } from "@vercel/sdk"; @@ -116,9 +116,8 @@ const vercel = new Vercel({ }); async function run() { - const result = await vercel.teams.inviteUserToTeam({ - teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", - requestBody: { + const result = await vercel.teams.inviteUserToTeam([ + { email: "john@example.com", role: "DEVELOPER", projects: [ @@ -132,7 +131,7 @@ async function run() { }, ], }, - }); + ]); console.log(result); } @@ -155,9 +154,8 @@ const vercel = new VercelCore({ }); async function run() { - const res = await teamsInviteUserToTeam(vercel, { - teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", - requestBody: { + const res = await teamsInviteUserToTeam(vercel, [ + { email: "john@example.com", role: "DEVELOPER", projects: [ @@ -171,7 +169,7 @@ async function run() { }, ], }, - }); + ]); if (res.ok) { const { value: result } = res; console.log(result); @@ -187,14 +185,14 @@ run(); | Parameter | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `request` | [models.InviteUserToTeamRequest](../../models/inviteusertoteamrequest.md) | :heavy_check_mark: | The request object to use for the request. | +| `request` | [models.InviteUserToTeamRequestBody[]](../../models/.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\<[models.InviteUserToTeamResponseBody](../../models/inviteusertoteamresponsebody.md)\>** +**Promise\<[models.InvitedTeamMember](../../models/invitedteammember.md)\>** ### Errors @@ -480,7 +478,7 @@ async function run() { teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", requestBody: { confirmed: true, - role: "[\"MEMBER\",\"VIEWER\"]", + role: "VIEWER", projects: [ { projectId: "prj_ndlgr43fadlPyCtREAqxxdyFK", @@ -524,7 +522,7 @@ async function run() { teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", requestBody: { confirmed: true, - role: "[\"MEMBER\",\"VIEWER\"]", + role: "VIEWER", projects: [ { projectId: "prj_ndlgr43fadlPyCtREAqxxdyFK", diff --git a/docs/sdks/vercel/README.md b/docs/sdks/vercel/README.md deleted file mode 100644 index 2980f5f40..000000000 --- a/docs/sdks/vercel/README.md +++ /dev/null @@ -1,7 +0,0 @@ -# Vercel SDK - -## Overview - -Vercel SDK: The [`@vercel/sdk`](https://www.npmjs.com/package/@vercel/sdk) is a type-safe Typescript SDK that allows you to access the resources and methods of the Vercel REST API. Learn how to [install it](https://vercel.com/docs/rest-api/sdk#installing-vercel-sdk) and [authenticate](https://vercel.com/docs/rest-api/sdk#authentication) with a Vercel access token. - -### Available Operations diff --git a/examples/package-lock.json b/examples/package-lock.json index 6d19fbb2f..717536490 100644 --- a/examples/package-lock.json +++ b/examples/package-lock.json @@ -18,9 +18,9 @@ }, "..": { "name": "@vercel/sdk", - "version": "1.12.1", + "version": "1.13.0", "dependencies": { - "zod": "^3.20.0" + "zod": "^3.25.0 || ^4.0.0" }, "bin": { "mcp": "bin/mcp-server.js" diff --git a/jsr.json b/jsr.json index 12c12a959..6fcbe72f5 100644 --- a/jsr.json +++ b/jsr.json @@ -2,7 +2,7 @@ { "name": "@vercel/sdk", - "version": "1.12.1", + "version": "1.13.0", "exports": { ".": "./src/index.ts", "./models": "./src/models/index.ts", diff --git a/package-lock.json b/package-lock.json index ee5626ee0..c1e8be22c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,14 +1,14 @@ { "name": "@vercel/sdk", - "version": "1.12.1", + "version": "1.13.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@vercel/sdk", - "version": "1.12.1", + "version": "1.13.0", "dependencies": { - "zod": "^3.20.0" + "zod": "^3.25.0 || ^4.0.0" }, "bin": { "mcp": "bin/mcp-server.js" diff --git a/package.json b/package.json index 84af2de00..0cd5fa735 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@vercel/sdk", - "version": "1.12.1", + "version": "1.13.0", "author": "Speakeasy", "type": "module", "bin": { @@ -28,7 +28,7 @@ "sideEffects": false, "repository": { "type": "git", - "url": "https://github.com/vercel/sdk.git" + "url": "https://github.com/speakeasy-sdks/vercel-typescript.git" }, "scripts": { "test": "vitest run src --reporter=junit --outputFile=.speakeasy/reports/tests.xml --reporter=default", @@ -60,6 +60,6 @@ "vitest": "^3.0.2" }, "dependencies": { - "zod": "^3.20.0" + "zod": "^3.25.0 || ^4.0.0" } } diff --git a/src/__tests__/connect.test.ts b/src/__tests__/connect.test.ts new file mode 100644 index 000000000..f5476e372 --- /dev/null +++ b/src/__tests__/connect.test.ts @@ -0,0 +1,39 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { expect, test } from "vitest"; +import { Vercel } from "../index.js"; +import { createTestHTTPClient } from "./testclient.js"; + +test("Connect Update Static Ips", async () => { + const testHttpClient = createTestHTTPClient("updateStaticIps"); + + const vercel = new Vercel({ + serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080", + httpClient: testHttpClient, + bearerToken: "", + }); + + const result = await vercel.connect.updateStaticIps({ + idOrName: "", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + slug: "my-team-url-slug", + requestBody: { + regions: [ + "iad1", + ], + }, + }); + expect(result).toBeDefined(); + expect(result).toEqual([ + { + envId: "", + connectConfigurationId: "", + passive: true, + buildsEnabled: false, + createdAt: 5943.97, + updatedAt: 7734.38, + }, + ]); +}); diff --git a/src/__tests__/deployments.test.ts b/src/__tests__/deployments.test.ts index c08ef0f26..9de152280 100644 --- a/src/__tests__/deployments.test.ts +++ b/src/__tests__/deployments.test.ts @@ -202,21 +202,21 @@ test("Deployments Create Deployment", async () => { public: false, status: "CANCELED", id: "", - name: "", createdAt: 179.28, + readyState: "BUILDING", + name: "", type: "LAMBDAS", meta: { "key": "", }, - readyState: "BUILDING", regions: [], - version: 8477.72, url: "https://unwritten-viability.org", + version: 8477.72, projectId: "", - ownerId: "", plan: "enterprise", - routes: [], createdIn: "", + ownerId: "", + routes: [], }); }); diff --git a/src/__tests__/domains.test.ts b/src/__tests__/domains.test.ts index 9bd50033f..ce9cb789c 100644 --- a/src/__tests__/domains.test.ts +++ b/src/__tests__/domains.test.ts @@ -130,20 +130,25 @@ test("Domains Get Domain Config", async () => { }); expect(result).toBeDefined(); expect(result).toEqual({ - configuredBy: "CNAME", + configuredBy: "dns-01", acceptedChallenges: [ "dns-01", ], recommendedIPv4: [ { - rank: 4769.73, + rank: 5288.95, value: [ "", "", ], }, ], - recommendedCNAME: [], + recommendedCNAME: [ + { + rank: 710.36, + value: "", + }, + ], misconfigured: false, }); }); diff --git a/src/__tests__/domainsregistrar.test.ts b/src/__tests__/domainsregistrar.test.ts new file mode 100644 index 000000000..2b651194d --- /dev/null +++ b/src/__tests__/domainsregistrar.test.ts @@ -0,0 +1,331 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { expect, test } from "vitest"; +import { Vercel } from "../index.js"; +import { createTestHTTPClient } from "./testclient.js"; + +test("Domains Registrar Get Supported Tlds", async () => { + const testHttpClient = createTestHTTPClient("getSupportedTlds"); + + const vercel = new Vercel({ + serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080", + httpClient: testHttpClient, + bearerToken: "", + }); + + const result = await vercel.domainsRegistrar.getSupportedTlds({ + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + }); + expect(result).toBeDefined(); + expect(result).toEqual([ + "", + "", + ]); +}); + +test("Domains Registrar Get Tld Price", async () => { + const testHttpClient = createTestHTTPClient("getTldPrice"); + + const vercel = new Vercel({ + serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080", + httpClient: testHttpClient, + bearerToken: "", + }); + + const result = await vercel.domainsRegistrar.getTldPrice({ + tld: "", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + }); + expect(result).toBeDefined(); + expect(result).toEqual({ + years: 8935.16, + purchasePrice: 7886.17, + renewalPrice: 4537.84, + transferPrice: 7204.57, + }); +}); + +test("Domains Registrar Get Domain Availability", async () => { + const testHttpClient = createTestHTTPClient("getDomainAvailability"); + + const vercel = new Vercel({ + serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080", + httpClient: testHttpClient, + bearerToken: "", + }); + + const result = await vercel.domainsRegistrar.getDomainAvailability({ + domain: "hungry-birdbath.info", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + }); + expect(result).toBeDefined(); + expect(result).toEqual({ + available: false, + }); +}); + +test("Domains Registrar Get Domain Price", async () => { + const testHttpClient = createTestHTTPClient("getDomainPrice"); + + const vercel = new Vercel({ + serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080", + httpClient: testHttpClient, + bearerToken: "", + }); + + const result = await vercel.domainsRegistrar.getDomainPrice({ + domain: "excited-dwell.org", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + }); + expect(result).toBeDefined(); + expect(result).toEqual({ + years: 40.44, + purchasePrice: 1523.71, + renewalPrice: 3417.52, + transferPrice: 7908.61, + }); +}); + +test("Domains Registrar Get Bulk Availability", async () => { + const testHttpClient = createTestHTTPClient("getBulkAvailability"); + + const vercel = new Vercel({ + serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080", + httpClient: testHttpClient, + bearerToken: "", + }); + + const result = await vercel.domainsRegistrar.getBulkAvailability({ + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + requestBody: { + domains: [ + "", + ], + }, + }); + expect(result).toBeDefined(); + expect(result).toEqual({ + results: [], + }); +}); + +test("Domains Registrar Get Domain Auth Code", async () => { + const testHttpClient = createTestHTTPClient("getDomainAuthCode"); + + const vercel = new Vercel({ + serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080", + httpClient: testHttpClient, + bearerToken: "", + }); + + const result = await vercel.domainsRegistrar.getDomainAuthCode({ + domain: "ruddy-coil.org", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + }); + expect(result).toBeDefined(); + expect(result).toEqual({ + authCode: "", + }); +}); + +test("Domains Registrar Buy Single Domain", async () => { + const testHttpClient = createTestHTTPClient("buySingleDomain"); + + const vercel = new Vercel({ + serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080", + httpClient: testHttpClient, + bearerToken: "", + }); + + const result = await vercel.domainsRegistrar.buySingleDomain({ + domain: "metallic-simple.com", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + requestBody: { + autoRenew: false, + years: 7602.67, + expectedPrice: 7390.34, + contactInformation: { + firstName: "Lexie", + lastName: "Lemke", + email: "Lionel21@gmail.com", + phone: "550.220.6330 x258", + address1: "", + city: "Spencerport", + state: "West Virginia", + zip: "46432", + country: "Sweden", + }, + }, + }); + expect(result).toBeDefined(); + expect(result).toEqual({ + orderId: "", + links: { + "key": { + href: "", + method: "PUT", + }, + }, + }); +}); + +test("Domains Registrar Buy Domains", async () => { + const testHttpClient = createTestHTTPClient("buyDomains"); + + const vercel = new Vercel({ + serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080", + httpClient: testHttpClient, + bearerToken: "", + }); + + const result = await vercel.domainsRegistrar.buyDomains({ + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + requestBody: { + domains: [], + contactInformation: { + firstName: "Leonie", + lastName: "Johnston", + email: "Anna_Fisher13@hotmail.com", + phone: "(688) 699-0656", + address1: "", + city: "Rennerland", + state: "New Jersey", + zip: "70054", + country: "Peru", + }, + }, + }); + expect(result).toBeDefined(); + expect(result).toEqual({ + orderId: "", + links: {}, + }); +}); + +test("Domains Registrar Transfer In Domain", async () => { + const testHttpClient = createTestHTTPClient("transferInDomain"); + + const vercel = new Vercel({ + serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080", + httpClient: testHttpClient, + bearerToken: "", + }); + + const result = await vercel.domainsRegistrar.transferInDomain({ + domain: "silky-fund.org", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + requestBody: { + authCode: "", + autoRenew: true, + years: 298.08, + expectedPrice: 5092.5, + contactInformation: { + firstName: "Gabrielle", + lastName: "Hackett", + email: "Keshawn99@yahoo.com", + phone: "(758) 385-1802 x13762", + address1: "", + city: "Pattiestead", + state: "Idaho", + zip: "64653-9022", + country: "Bolivia", + }, + }, + }); + expect(result).toBeDefined(); + expect(result).toEqual({ + orderId: "", + links: {}, + }); +}); + +test("Domains Registrar Get Domain Transfer In", async () => { + const testHttpClient = createTestHTTPClient("getDomainTransferIn"); + + const vercel = new Vercel({ + serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080", + httpClient: testHttpClient, + bearerToken: "", + }); + + const result = await vercel.domainsRegistrar.getDomainTransferIn({ + domain: "unsung-antelope.com", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + }); + expect(result).toBeDefined(); + expect(result).toEqual({ + status: "pending_transfer", + }); +}); + +test("Domains Registrar Renew Domain", async () => { + const testHttpClient = createTestHTTPClient("renewDomain"); + + const vercel = new Vercel({ + serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080", + httpClient: testHttpClient, + bearerToken: "", + }); + + const result = await vercel.domainsRegistrar.renewDomain({ + domain: "scaly-daughter.biz", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + requestBody: { + years: 1981.72, + expectedPrice: 7096.16, + }, + }); + expect(result).toBeDefined(); + expect(result).toEqual({ + orderId: "", + links: {}, + }); +}); + +test("Domains Registrar Get Contact Info Schema", async () => { + const testHttpClient = createTestHTTPClient("getContactInfoSchema"); + + const vercel = new Vercel({ + serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080", + httpClient: testHttpClient, + bearerToken: "", + }); + + const result = await vercel.domainsRegistrar.getContactInfoSchema({ + domain: "tricky-issue.name", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + }); + expect(result).toBeDefined(); + expect(result).toEqual({}); +}); + +test("Domains Registrar Get Order", async () => { + const testHttpClient = createTestHTTPClient("getOrder"); + + const vercel = new Vercel({ + serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080", + httpClient: testHttpClient, + bearerToken: "", + }); + + const result = await vercel.domainsRegistrar.getOrder({ + orderId: "", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + }); + expect(result).toBeDefined(); + expect(result).toEqual({ + orderId: "", + domains: [ + { + purchaseType: "renewal", + years: 340.32, + domainName: "average-farmer.name", + status: "failed", + price: 3271.32, + }, + ], + status: "purchasing", + }); +}); diff --git a/src/__tests__/drains.test.ts b/src/__tests__/drains.test.ts new file mode 100644 index 000000000..b9af7a091 --- /dev/null +++ b/src/__tests__/drains.test.ts @@ -0,0 +1,127 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { expect, test } from "vitest"; +import { Vercel } from "../index.js"; +import { createTestHTTPClient } from "./testclient.js"; + +test("Drains Create Drain", async () => { + const testHttpClient = createTestHTTPClient("createDrain"); + + const vercel = new Vercel({ + serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080", + httpClient: testHttpClient, + bearerToken: "", + }); + + const result = await vercel.drains.createDrain({ + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + slug: "my-team-url-slug", + }); + expect(result).toBeDefined(); + expect(result).toEqual({ + id: "", + ownerId: "", + name: "", + createdAt: 3665.73, + updatedAt: 3681.88, + source: { + kind: "self-served", + }, + }); +}); + +test("Drains Get Drains", async () => { + const testHttpClient = createTestHTTPClient("getDrains"); + + const vercel = new Vercel({ + serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080", + httpClient: testHttpClient, + bearerToken: "", + }); + + const result = await vercel.drains.getDrains({ + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + slug: "my-team-url-slug", + }); + expect(result).toBeDefined(); + expect(result).toEqual({ + drains: [], + }); +}); + +test("Drains Get Drain", async () => { + const testHttpClient = createTestHTTPClient("getDrain"); + + const vercel = new Vercel({ + serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080", + httpClient: testHttpClient, + bearerToken: "", + }); + + const result = await vercel.drains.getDrain({ + id: "", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + slug: "my-team-url-slug", + }); + expect(result).toBeDefined(); + expect(result).toEqual({ + id: "", + ownerId: "", + name: "", + createdAt: 1182.63, + updatedAt: 7579.11, + source: { + kind: "integration", + integrationId: "", + integrationConfigurationId: "", + }, + }); +}); + +test("Drains Update Drain", async () => { + const testHttpClient = createTestHTTPClient("updateDrain"); + + const vercel = new Vercel({ + serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080", + httpClient: testHttpClient, + bearerToken: "", + }); + + const result = await vercel.drains.updateDrain({ + id: "", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + slug: "my-team-url-slug", + }); + expect(result).toBeDefined(); + expect(result).toEqual({ + id: "", + ownerId: "", + name: "", + createdAt: 7781.81, + updatedAt: 8087.89, + source: { + kind: "integration", + integrationId: "", + integrationConfigurationId: "", + }, + }); +}); + +test("Drains Test Drain", async () => { + const testHttpClient = createTestHTTPClient("testDrain"); + + const vercel = new Vercel({ + serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080", + httpClient: testHttpClient, + bearerToken: "", + }); + + const result = await vercel.drains.testDrain({ + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + slug: "my-team-url-slug", + }); + expect(result).toBeDefined(); + expect(result).toEqual({}); +}); diff --git a/src/__tests__/edgeconfig.test.ts b/src/__tests__/edgeconfig.test.ts index 8137c00cd..919e9b95b 100644 --- a/src/__tests__/edgeconfig.test.ts +++ b/src/__tests__/edgeconfig.test.ts @@ -50,8 +50,8 @@ test("Edge Config Create Edge Config", async () => { }); expect(result).toBeDefined(); expect(result).toEqual({ - createdAt: 7151.9, - updatedAt: 6027.63, + createdAt: 827.44, + updatedAt: 8692.49, id: "", slug: "", ownerId: "", @@ -77,8 +77,8 @@ test("Edge Config Get Edge Config", async () => { }); expect(result).toBeDefined(); expect(result).toEqual({ - createdAt: 5448.83, - updatedAt: 4236.55, + createdAt: 9685.26, + updatedAt: 3884.97, id: "", slug: "", ownerId: "", @@ -107,8 +107,8 @@ test("Edge Config Update Edge Config", async () => { }); expect(result).toBeDefined(); expect(result).toEqual({ - createdAt: 6458.94, - updatedAt: 4375.87, + createdAt: 4064.3, + updatedAt: 1351.77, id: "", slug: "", ownerId: "", diff --git a/src/__tests__/environment.test.ts b/src/__tests__/environment.test.ts index 02ad7d69a..4c5c2fe7e 100644 --- a/src/__tests__/environment.test.ts +++ b/src/__tests__/environment.test.ts @@ -130,3 +130,187 @@ test("Environment Remove Custom Environment", async () => { updatedAt: 1676.55, }); }); + +test("Environment Create Shared Env Variable", async () => { + const testHttpClient = createTestHTTPClient("createSharedEnvVariable"); + + const vercel = new Vercel({ + serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080", + httpClient: testHttpClient, + bearerToken: "", + }); + + const result = await vercel.environment.createSharedEnvVariable({ + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + slug: "my-team-url-slug", + requestBody: { + evs: [], + type: "encrypted", + target: [ + "production", + "preview", + ], + }, + }); + expect(result).toBeDefined(); + expect(result).toEqual({ + created: [], + failed: [], + }); +}); + +test("Environment List Shared Env Variable", async () => { + const testHttpClient = createTestHTTPClient("listSharedEnvVariable"); + + const vercel = new Vercel({ + serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080", + httpClient: testHttpClient, + bearerToken: "", + }); + + const result = await vercel.environment.listSharedEnvVariable({ + projectId: "prj_2WjyKQmM8ZnGcJsPWMrHRHrE", + ids: "env_2WjyKQmM8ZnGcJsPWMrHRHrE,env_2WjyKQmM8ZnGcJsPWMrHRCRV", + excludeIdsQueryParameter: + "env_2WjyKQmM8ZnGcJsPWMrHRHrE,env_2WjyKQmM8ZnGcJsPWMrHRCRV", + excludeIdsQueryParameter1: + "env_2WjyKQmM8ZnGcJsPWMrHRHrE,env_2WjyKQmM8ZnGcJsPWMrHRCRV", + excludeProjectIdQueryParameter: "prj_2WjyKQmM8ZnGcJsPWMrHRHrE", + excludeProjectIdQueryParameter1: "prj_2WjyKQmM8ZnGcJsPWMrHRHrE", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + slug: "my-team-url-slug", + }); + expect(result).toBeDefined(); + expect(result).toEqual({ + data: [], + pagination: { + count: 20, + next: 1540095775951, + prev: 1540095775951, + }, + }); +}); + +test("Environment Update Shared Env Variable", async () => { + const testHttpClient = createTestHTTPClient("updateSharedEnvVariable"); + + const vercel = new Vercel({ + serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080", + httpClient: testHttpClient, + bearerToken: "", + }); + + const result = await vercel.environment.updateSharedEnvVariable({ + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + slug: "my-team-url-slug", + requestBody: { + updates: {}, + }, + }); + expect(result).toBeDefined(); + expect(result).toEqual({ + updated: [], + failed: [ + { + error: { + code: "", + message: "", + }, + }, + ], + }); +}); + +test("Environment Delete Shared Env Variable", async () => { + const testHttpClient = createTestHTTPClient("deleteSharedEnvVariable"); + + const vercel = new Vercel({ + serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080", + httpClient: testHttpClient, + bearerToken: "", + }); + + const result = await vercel.environment.deleteSharedEnvVariable({ + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + slug: "my-team-url-slug", + requestBody: { + ids: [ + "env_abc123", + "env_abc124", + ], + }, + }); + expect(result).toBeDefined(); + expect(result).toEqual({ + deleted: [ + "", + "", + ], + failed: [ + { + error: { + code: "", + message: "", + }, + }, + ], + }); +}); + +test("Environment Get Shared Env Var", async () => { + const testHttpClient = createTestHTTPClient("getSharedEnvVar"); + + const vercel = new Vercel({ + serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080", + httpClient: testHttpClient, + bearerToken: "", + }); + + const result = await vercel.environment.getSharedEnvVar({ + id: "", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + slug: "my-team-url-slug", + }); + expect(result).toBeDefined(); + expect(result).toEqual({ + created: new Date("2021-02-10T13:11:49.180Z"), + key: "my-api-key", + ownerId: "team_LLHUOMOoDlqOp8wPE4kFo9pE", + id: "env_XCG7t7AIHuO2SBA8667zNUiM", + createdBy: "2qDDuGFTWXBLDNnqZfWPDp1A", + deletedBy: "2qDDuGFTWXBLDNnqZfWPDp1A", + updatedBy: "2qDDuGFTWXBLDNnqZfWPDp1A", + createdAt: 1609492210000, + deletedAt: 1609492210000, + updatedAt: 1609492210000, + projectId: [ + "prj_2WjyKQmM8ZnGcJsPWMrHRHrE", + "prj_2WjyKQmM8ZnGcJsPWMrasEFg", + ], + type: "encrypted", + target: [ + "production", + ], + }); +}); + +test("Environment Unlink Shared Env Variable", async () => { + const testHttpClient = createTestHTTPClient("unlinkSharedEnvVariable"); + + const vercel = new Vercel({ + serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080", + httpClient: testHttpClient, + bearerToken: "", + }); + + const result = await vercel.environment.unlinkSharedEnvVariable({ + id: "", + projectId: "", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + slug: "my-team-url-slug", + }); + expect(result).toBeDefined(); + expect(result).toEqual({ + id: "", + }); +}); diff --git a/src/__tests__/integrations.test.ts b/src/__tests__/integrations.test.ts index 2415d1bb6..ba4c29ee4 100644 --- a/src/__tests__/integrations.test.ts +++ b/src/__tests__/integrations.test.ts @@ -124,7 +124,7 @@ test("Integrations Create Integration Store Direct", async () => { externalResourceId: "", product: { value: { - atBRANDAt8486: {}, + atBRANDAt8795: {}, }, }, secrets: [], diff --git a/src/__tests__/logdrains.test.ts b/src/__tests__/logdrains.test.ts index f156ead27..7e61adf07 100644 --- a/src/__tests__/logdrains.test.ts +++ b/src/__tests__/logdrains.test.ts @@ -2,14 +2,24 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import { assert, expect, it, test } from "vitest"; +import { expect, test } from "vitest"; import { Vercel } from "../index.js"; import { createTestHTTPClient } from "./testclient.js"; -it.skip("Logdrains Delete Configurable Log Drain", async () => { - assert.fail( - "incomplete test found please make sure to address the following errors: [`workflow step deleteConfigurableLogDrain.test referencing operation deleteConfigurableLogDrain not found in document`]", - ); +test("Logdrains Delete Configurable Log Drain", async () => { + const testHttpClient = createTestHTTPClient("deleteConfigurableLogDrain"); + + const vercel = new Vercel({ + serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080", + httpClient: testHttpClient, + bearerToken: "", + }); + + await vercel.logDrains.deleteConfigurableLogDrain({ + id: "", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + slug: "my-team-url-slug", + }); }); test("Logdrains Get Integration Log Drains", async () => { @@ -145,9 +155,7 @@ test("Logdrains Create Log Drain", async () => { branch: "feature/*", samplingRate: 0.5, source: { - kind: "integration", - integrationId: "", - integrationConfigurationId: "", + kind: "self-served", }, }); }); @@ -167,3 +175,73 @@ test("Logdrains Delete Integration Log Drain", async () => { slug: "my-team-url-slug", }); }); + +test("Logdrains Get Configurable Log Drain", async () => { + const testHttpClient = createTestHTTPClient("getConfigurableLogDrain"); + + const vercel = new Vercel({ + serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080", + httpClient: testHttpClient, + bearerToken: "", + }); + + const result = await vercel.logDrains.getConfigurableLogDrain({ + id: "", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + slug: "my-team-url-slug", + }); + expect(result).toBeDefined(); + expect(result).toEqual({}); +}); + +test("Logdrains Get All Log Drains", async () => { + const testHttpClient = createTestHTTPClient("getAllLogDrains"); + + const vercel = new Vercel({ + serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080", + httpClient: testHttpClient, + bearerToken: "", + }); + + const result = await vercel.logDrains.getAllLogDrains({ + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + slug: "my-team-url-slug", + }); + expect(result).toBeDefined(); + expect(result).toEqual({ + drains: [ + { + id: "", + ownerId: "", + name: "", + createdAt: 7495.57, + updatedAt: 4759.82, + source: { + kind: "self-served", + }, + }, + ], + }); +}); + +test("Logdrains Create Configurable Log Drain", async () => { + const testHttpClient = createTestHTTPClient("createConfigurableLogDrain"); + + const vercel = new Vercel({ + serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080", + httpClient: testHttpClient, + bearerToken: "", + }); + + const result = await vercel.logDrains.createConfigurableLogDrain({ + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + slug: "my-team-url-slug", + requestBody: { + deliveryFormat: "json", + url: "https://wavy-meander.net", + sources: [], + }, + }); + expect(result).toBeDefined(); + expect(result).toEqual({}); +}); diff --git a/src/__tests__/marketplace.test.ts b/src/__tests__/marketplace.test.ts index 093083f63..1099ded0e 100644 --- a/src/__tests__/marketplace.test.ts +++ b/src/__tests__/marketplace.test.ts @@ -459,3 +459,22 @@ test("Marketplace Get Integration Resource", async () => { productId: "", }); }); + +test("Marketplace Update Resource", async () => { + const testHttpClient = createTestHTTPClient("update-resource"); + + const vercel = new Vercel({ + serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080", + httpClient: testHttpClient, + bearerToken: "", + }); + + const result = await vercel.marketplace.updateResource({ + integrationConfigurationId: "", + resourceId: "", + }); + expect(result).toBeDefined(); + expect(result).toEqual({ + name: "", + }); +}); diff --git a/src/__tests__/mockserver/internal/handler/generated_handlers.go b/src/__tests__/mockserver/internal/handler/generated_handlers.go index 2a188eab3..8002a0f11 100644 --- a/src/__tests__/mockserver/internal/handler/generated_handlers.go +++ b/src/__tests__/mockserver/internal/handler/generated_handlers.go @@ -17,9 +17,12 @@ func GeneratedHandlers(ctx context.Context, dir *logging.HTTPFileDirectory, rt * NewGeneratedHandler(ctx, http.MethodDelete, "/v1/edge-config/{edgeConfigId}", pathDeleteV1EdgeConfigEdgeConfigID(dir, rt)), NewGeneratedHandler(ctx, http.MethodDelete, "/v1/edge-config/{edgeConfigId}/schema", pathDeleteV1EdgeConfigEdgeConfigIDSchema(dir, rt)), NewGeneratedHandler(ctx, http.MethodDelete, "/v1/edge-config/{edgeConfigId}/tokens", pathDeleteV1EdgeConfigEdgeConfigIDTokens(dir, rt)), + NewGeneratedHandler(ctx, http.MethodDelete, "/v1/env", pathDeleteV1Env(dir, rt)), NewGeneratedHandler(ctx, http.MethodDelete, "/v1/installations/{integrationConfigurationId}/resources/{resourceId}/experimentation/items/{itemId}", pathDeleteV1InstallationsIntegrationConfigurationIDResourcesResourceIDExperimentationItemsItemID(dir, rt)), NewGeneratedHandler(ctx, http.MethodDelete, "/v1/integrations/configuration/{id}", pathDeleteV1IntegrationsConfigurationID(dir, rt)), NewGeneratedHandler(ctx, http.MethodDelete, "/v1/integrations/log-drains/{id}", pathDeleteV1IntegrationsLogDrainsID(dir, rt)), + NewGeneratedHandler(ctx, http.MethodDelete, "/v1/log-drains/{id}", pathDeleteV1LogDrainsID(dir, rt)), + NewGeneratedHandler(ctx, http.MethodDelete, "/v1/projects/{idOrName}/client-cert/{certId}", pathDeleteV1ProjectsIDOrNameClientCertCertID(dir, rt)), NewGeneratedHandler(ctx, http.MethodDelete, "/v1/projects/{idOrName}/env", pathDeleteV1ProjectsIDOrNameEnv(dir, rt)), NewGeneratedHandler(ctx, http.MethodDelete, "/v1/projects/{idOrName}/members/{uid}", pathDeleteV1ProjectsIDOrNameMembersUID(dir, rt)), NewGeneratedHandler(ctx, http.MethodDelete, "/v1/projects/{idOrName}/rolling-release/config", pathDeleteV1ProjectsIDOrNameRollingReleaseConfig(dir, rt)), @@ -47,6 +50,8 @@ func GeneratedHandlers(ctx context.Context, dir *logging.HTTPFileDirectory, rt * NewGeneratedHandler(ctx, http.MethodGet, "/v1/deployments/{deploymentId}/checks", pathGetV1DeploymentsDeploymentIDChecks(dir, rt)), NewGeneratedHandler(ctx, http.MethodGet, "/v1/deployments/{deploymentId}/checks/{checkId}", pathGetV1DeploymentsDeploymentIDChecksCheckID(dir, rt)), NewGeneratedHandler(ctx, http.MethodGet, "/v1/domains/{domain}/registry", pathGetV1DomainsDomainRegistry(dir, rt)), + NewGeneratedHandler(ctx, http.MethodGet, "/v1/drains", pathGetV1Drains(dir, rt)), + NewGeneratedHandler(ctx, http.MethodGet, "/v1/drains/{id}", pathGetV1DrainsID(dir, rt)), NewGeneratedHandler(ctx, http.MethodGet, "/v1/edge-config", pathGetV1EdgeConfig(dir, rt)), NewGeneratedHandler(ctx, http.MethodGet, "/v1/edge-config/{edgeConfigId}", pathGetV1EdgeConfigEdgeConfigID(dir, rt)), NewGeneratedHandler(ctx, http.MethodGet, "/v1/edge-config/{edgeConfigId}/backups", pathGetV1EdgeConfigEdgeConfigIDBackups(dir, rt)), @@ -55,6 +60,8 @@ func GeneratedHandlers(ctx context.Context, dir *logging.HTTPFileDirectory, rt * NewGeneratedHandler(ctx, http.MethodGet, "/v1/edge-config/{edgeConfigId}/schema", pathGetV1EdgeConfigEdgeConfigIDSchema(dir, rt)), NewGeneratedHandler(ctx, http.MethodGet, "/v1/edge-config/{edgeConfigId}/token/{token}", pathGetV1EdgeConfigEdgeConfigIDTokenToken(dir, rt)), NewGeneratedHandler(ctx, http.MethodGet, "/v1/edge-config/{edgeConfigId}/tokens", pathGetV1EdgeConfigEdgeConfigIDTokens(dir, rt)), + NewGeneratedHandler(ctx, http.MethodGet, "/v1/env", pathGetV1Env(dir, rt)), + NewGeneratedHandler(ctx, http.MethodGet, "/v1/env/{id}", pathGetV1EnvID(dir, rt)), NewGeneratedHandler(ctx, http.MethodGet, "/v1/installations/{integrationConfigurationId}/account", pathGetV1InstallationsIntegrationConfigurationIDAccount(dir, rt)), NewGeneratedHandler(ctx, http.MethodGet, "/v1/installations/{integrationConfigurationId}/billing/invoices/{invoiceId}", pathGetV1InstallationsIntegrationConfigurationIDBillingInvoicesInvoiceID(dir, rt)), NewGeneratedHandler(ctx, http.MethodGet, "/v1/installations/{integrationConfigurationId}/member/{memberId}", pathGetV1InstallationsIntegrationConfigurationIDMemberMemberID(dir, rt)), @@ -63,14 +70,26 @@ func GeneratedHandlers(ctx context.Context, dir *logging.HTTPFileDirectory, rt * NewGeneratedHandler(ctx, http.MethodGet, "/v1/integrations/configuration/{id}", pathGetV1IntegrationsConfigurationID(dir, rt)), NewGeneratedHandler(ctx, http.MethodGet, "/v1/integrations/configuration/{id}/products", pathGetV1IntegrationsConfigurationIDProducts(dir, rt)), NewGeneratedHandler(ctx, http.MethodGet, "/v1/integrations/integration/{integrationIdOrSlug}/products/{productIdOrSlug}/plans", pathGetV1IntegrationsIntegrationIntegrationIDOrSlugProductsProductIDOrSlugPlans(dir, rt)), + NewGeneratedHandler(ctx, http.MethodGet, "/v1/log-drains", pathGetV1LogDrains(dir, rt)), + NewGeneratedHandler(ctx, http.MethodGet, "/v1/log-drains/{id}", pathGetV1LogDrainsID(dir, rt)), + NewGeneratedHandler(ctx, http.MethodGet, "/v1/projects/{idOrName}/client-cert", pathGetV1ProjectsIDOrNameClientCert(dir, rt)), NewGeneratedHandler(ctx, http.MethodGet, "/v1/projects/{idOrName}/env/{id}", pathGetV1ProjectsIDOrNameEnvID(dir, rt)), NewGeneratedHandler(ctx, http.MethodGet, "/v1/projects/{idOrName}/rolling-release", pathGetV1ProjectsIDOrNameRollingRelease(dir, rt)), NewGeneratedHandler(ctx, http.MethodGet, "/v1/projects/{idOrName}/rolling-release/billing", pathGetV1ProjectsIDOrNameRollingReleaseBilling(dir, rt)), NewGeneratedHandler(ctx, http.MethodGet, "/v1/projects/{idOrName}/rolling-release/config", pathGetV1ProjectsIDOrNameRollingReleaseConfig(dir, rt)), NewGeneratedHandler(ctx, http.MethodGet, "/v1/projects/{projectId}/deployments/{deploymentId}/runtime-logs", pathGetV1ProjectsProjectIDDeploymentsDeploymentIDRuntimeLogs(dir, rt)), NewGeneratedHandler(ctx, http.MethodGet, "/v1/projects/{projectId}/promote/aliases", pathGetV1ProjectsProjectIDPromoteAliases(dir, rt)), + NewGeneratedHandler(ctx, http.MethodGet, "/v1/registrar/domains/{domain}/auth-code", pathGetV1RegistrarDomainsDomainAuthCode(dir, rt)), + NewGeneratedHandler(ctx, http.MethodGet, "/v1/registrar/domains/{domain}/availability", pathGetV1RegistrarDomainsDomainAvailability(dir, rt)), + NewGeneratedHandler(ctx, http.MethodGet, "/v1/registrar/domains/{domain}/contact-info/schema", pathGetV1RegistrarDomainsDomainContactInfoSchema(dir, rt)), + NewGeneratedHandler(ctx, http.MethodGet, "/v1/registrar/domains/{domain}/price", pathGetV1RegistrarDomainsDomainPrice(dir, rt)), + NewGeneratedHandler(ctx, http.MethodGet, "/v1/registrar/domains/{domain}/transfer", pathGetV1RegistrarDomainsDomainTransfer(dir, rt)), + NewGeneratedHandler(ctx, http.MethodGet, "/v1/registrar/orders/{orderId}", pathGetV1RegistrarOrdersOrderID(dir, rt)), + NewGeneratedHandler(ctx, http.MethodGet, "/v1/registrar/tlds/supported", pathGetV1RegistrarTldsSupported(dir, rt)), + NewGeneratedHandler(ctx, http.MethodGet, "/v1/registrar/tlds/{tld}/price", pathGetV1RegistrarTldsTldPrice(dir, rt)), NewGeneratedHandler(ctx, http.MethodGet, "/v1/security/firewall/bypass", pathGetV1SecurityFirewallBypass(dir, rt)), NewGeneratedHandler(ctx, http.MethodGet, "/v1/security/firewall/config/{configVersion}", pathGetV1SecurityFirewallConfigConfigVersion(dir, rt)), + NewGeneratedHandler(ctx, http.MethodGet, "/v1/security/firewall/events", pathGetV1SecurityFirewallEvents(dir, rt)), NewGeneratedHandler(ctx, http.MethodGet, "/v1/teams/{teamId}/request/{userId}", pathGetV1TeamsTeamIDRequestUserID(dir, rt)), NewGeneratedHandler(ctx, http.MethodGet, "/v1/webhooks", pathGetV1Webhooks(dir, rt)), NewGeneratedHandler(ctx, http.MethodGet, "/v1/webhooks/{id}", pathGetV1WebhooksID(dir, rt)), @@ -108,10 +127,15 @@ func GeneratedHandlers(ctx context.Context, dir *logging.HTTPFileDirectory, rt * NewGeneratedHandler(ctx, http.MethodPatch, "/v1/deployments/{deploymentId}/checks/{checkId}", pathPatchV1DeploymentsDeploymentIDChecksCheckID(dir, rt)), NewGeneratedHandler(ctx, http.MethodPatch, "/v1/deployments/{deploymentId}/integrations/{integrationConfigurationId}/resources/{resourceId}/actions/{action}", pathPatchV1DeploymentsDeploymentIDIntegrationsIntegrationConfigurationIDResourcesResourceIDActionsAction(dir, rt)), NewGeneratedHandler(ctx, http.MethodPatch, "/v1/domains/records/{recordId}", pathPatchV1DomainsRecordsRecordID(dir, rt)), + NewGeneratedHandler(ctx, http.MethodPatch, "/v1/drains/{id}", pathPatchV1DrainsID(dir, rt)), NewGeneratedHandler(ctx, http.MethodPatch, "/v1/edge-config/{edgeConfigId}/items", pathPatchV1EdgeConfigEdgeConfigIDItems(dir, rt)), + NewGeneratedHandler(ctx, http.MethodPatch, "/v1/env", pathPatchV1Env(dir, rt)), + NewGeneratedHandler(ctx, http.MethodPatch, "/v1/env/{id}/unlink/{projectId}", pathPatchV1EnvIDUnlinkProjectID(dir, rt)), + NewGeneratedHandler(ctx, http.MethodPatch, "/v1/installations/{integrationConfigurationId}/resources/{resourceId}", pathPatchV1InstallationsIntegrationConfigurationIDResourcesResourceID(dir, rt)), NewGeneratedHandler(ctx, http.MethodPatch, "/v1/installations/{integrationConfigurationId}/resources/{resourceId}/experimentation/items/{itemId}", pathPatchV1InstallationsIntegrationConfigurationIDResourcesResourceIDExperimentationItemsItemID(dir, rt)), NewGeneratedHandler(ctx, http.MethodPatch, "/v1/projects/{idOrName}/protection-bypass", pathPatchV1ProjectsIDOrNameProtectionBypass(dir, rt)), NewGeneratedHandler(ctx, http.MethodPatch, "/v1/projects/{idOrName}/rolling-release/config", pathPatchV1ProjectsIDOrNameRollingReleaseConfig(dir, rt)), + NewGeneratedHandler(ctx, http.MethodPatch, "/v1/projects/{idOrName}/shared-connect-links", pathPatchV1ProjectsIDOrNameSharedConnectLinks(dir, rt)), NewGeneratedHandler(ctx, http.MethodPatch, "/v1/security/firewall/config", pathPatchV1SecurityFirewallConfig(dir, rt)), NewGeneratedHandler(ctx, http.MethodPatch, "/v1/teams/{teamId}/members/{uid}", pathPatchV1TeamsTeamIDMembersUID(dir, rt)), NewGeneratedHandler(ctx, http.MethodPatch, "/v12/deployments/{id}/cancel", pathPatchV12DeploymentsIDCancel(dir, rt)), @@ -125,9 +149,12 @@ func GeneratedHandlers(ctx context.Context, dir *logging.HTTPFileDirectory, rt * NewGeneratedHandler(ctx, http.MethodPost, "/v1/access-groups/{idOrName}", pathPostV1AccessGroupsIDOrName(dir, rt)), NewGeneratedHandler(ctx, http.MethodPost, "/v1/deployments/{deploymentId}/checks", pathPostV1DeploymentsDeploymentIDChecks(dir, rt)), NewGeneratedHandler(ctx, http.MethodPost, "/v1/deployments/{deploymentId}/checks/{checkId}/rerequest", pathPostV1DeploymentsDeploymentIDChecksCheckIDRerequest(dir, rt)), + NewGeneratedHandler(ctx, http.MethodPost, "/v1/drains", pathPostV1Drains(dir, rt)), + NewGeneratedHandler(ctx, http.MethodPost, "/v1/drains/test", pathPostV1DrainsTest(dir, rt)), NewGeneratedHandler(ctx, http.MethodPost, "/v1/edge-config", pathPostV1EdgeConfig(dir, rt)), NewGeneratedHandler(ctx, http.MethodPost, "/v1/edge-config/{edgeConfigId}/schema", pathPostV1EdgeConfigEdgeConfigIDSchema(dir, rt)), NewGeneratedHandler(ctx, http.MethodPost, "/v1/edge-config/{edgeConfigId}/token", pathPostV1EdgeConfigEdgeConfigIDToken(dir, rt)), + NewGeneratedHandler(ctx, http.MethodPost, "/v1/env", pathPostV1Env(dir, rt)), NewGeneratedHandler(ctx, http.MethodPost, "/v1/installations/{integrationConfigurationId}/billing", pathPostV1InstallationsIntegrationConfigurationIDBilling(dir, rt)), NewGeneratedHandler(ctx, http.MethodPost, "/v1/installations/{integrationConfigurationId}/billing/balance", pathPostV1InstallationsIntegrationConfigurationIDBillingBalance(dir, rt)), NewGeneratedHandler(ctx, http.MethodPost, "/v1/installations/{integrationConfigurationId}/billing/invoices", pathPostV1InstallationsIntegrationConfigurationIDBillingInvoices(dir, rt)), @@ -135,12 +162,19 @@ func GeneratedHandlers(ctx context.Context, dir *logging.HTTPFileDirectory, rt * NewGeneratedHandler(ctx, http.MethodPost, "/v1/installations/{integrationConfigurationId}/events", pathPostV1InstallationsIntegrationConfigurationIDEvents(dir, rt)), NewGeneratedHandler(ctx, http.MethodPost, "/v1/installations/{integrationConfigurationId}/resources/{resourceId}/experimentation/items", pathPostV1InstallationsIntegrationConfigurationIDResourcesResourceIDExperimentationItems(dir, rt)), NewGeneratedHandler(ctx, http.MethodPost, "/v1/integrations/sso/token", pathPostV1IntegrationsSsoToken(dir, rt)), + NewGeneratedHandler(ctx, http.MethodPost, "/v1/log-drains", pathPostV1LogDrains(dir, rt)), + NewGeneratedHandler(ctx, http.MethodPost, "/v1/projects/{idOrName}/client-cert", pathPostV1ProjectsIDOrNameClientCert(dir, rt)), NewGeneratedHandler(ctx, http.MethodPost, "/v1/projects/{idOrName}/domains/{domain}/move", pathPostV1ProjectsIDOrNameDomainsDomainMove(dir, rt)), NewGeneratedHandler(ctx, http.MethodPost, "/v1/projects/{idOrName}/members", pathPostV1ProjectsIDOrNameMembers(dir, rt)), NewGeneratedHandler(ctx, http.MethodPost, "/v1/projects/{idOrName}/rolling-release/approve-stage", pathPostV1ProjectsIDOrNameRollingReleaseApproveStage(dir, rt)), NewGeneratedHandler(ctx, http.MethodPost, "/v1/projects/{idOrName}/rolling-release/complete", pathPostV1ProjectsIDOrNameRollingReleaseComplete(dir, rt)), NewGeneratedHandler(ctx, http.MethodPost, "/v1/projects/{projectId}/pause", pathPostV1ProjectsProjectIDPause(dir, rt)), NewGeneratedHandler(ctx, http.MethodPost, "/v1/projects/{projectId}/unpause", pathPostV1ProjectsProjectIDUnpause(dir, rt)), + NewGeneratedHandler(ctx, http.MethodPost, "/v1/registrar/domains/availability", pathPostV1RegistrarDomainsAvailability(dir, rt)), + NewGeneratedHandler(ctx, http.MethodPost, "/v1/registrar/domains/buy", pathPostV1RegistrarDomainsBuy(dir, rt)), + NewGeneratedHandler(ctx, http.MethodPost, "/v1/registrar/domains/{domain}/buy", pathPostV1RegistrarDomainsDomainBuy(dir, rt)), + NewGeneratedHandler(ctx, http.MethodPost, "/v1/registrar/domains/{domain}/renew", pathPostV1RegistrarDomainsDomainRenew(dir, rt)), + NewGeneratedHandler(ctx, http.MethodPost, "/v1/registrar/domains/{domain}/transfer", pathPostV1RegistrarDomainsDomainTransfer(dir, rt)), NewGeneratedHandler(ctx, http.MethodPost, "/v1/security/attack-mode", pathPostV1SecurityAttackMode(dir, rt)), NewGeneratedHandler(ctx, http.MethodPost, "/v1/security/firewall/bypass", pathPostV1SecurityFirewallBypass(dir, rt)), NewGeneratedHandler(ctx, http.MethodPost, "/v1/storage/stores/integration/direct", pathPostV1StorageStoresIntegrationDirect(dir, rt)), @@ -156,6 +190,7 @@ func GeneratedHandlers(ctx context.Context, dir *logging.HTTPFileDirectory, rt * NewGeneratedHandler(ctx, http.MethodPost, "/v2/deployments/{id}/aliases", pathPostV2DeploymentsIDAliases(dir, rt)), NewGeneratedHandler(ctx, http.MethodPost, "/v2/files", pathPostV2Files(dir, rt)), NewGeneratedHandler(ctx, http.MethodPost, "/v2/integrations/log-drains", pathPostV2IntegrationsLogDrains(dir, rt)), + NewGeneratedHandler(ctx, http.MethodPost, "/v2/teams/{teamId}/members", pathPostV2TeamsTeamIDMembers(dir, rt)), NewGeneratedHandler(ctx, http.MethodPost, "/v3/user/tokens", pathPostV3UserTokens(dir, rt)), NewGeneratedHandler(ctx, http.MethodPost, "/v5/domains/buy", pathPostV5DomainsBuy(dir, rt)), NewGeneratedHandler(ctx, http.MethodPost, "/v8/artifacts", pathPostV8Artifacts(dir, rt)), diff --git a/src/__tests__/mockserver/internal/handler/pathdeletev1env.go b/src/__tests__/mockserver/internal/handler/pathdeletev1env.go new file mode 100644 index 000000000..563adc62f --- /dev/null +++ b/src/__tests__/mockserver/internal/handler/pathdeletev1env.go @@ -0,0 +1,80 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package handler + +import ( + "fmt" + "log" + "mockserver/internal/handler/assert" + "mockserver/internal/logging" + "mockserver/internal/sdk/models/operations" + "mockserver/internal/sdk/utils" + "mockserver/internal/tracking" + "net/http" +) + +func pathDeleteV1Env(dir *logging.HTTPFileDirectory, rt *tracking.RequestTracker) http.HandlerFunc { + return func(w http.ResponseWriter, req *http.Request) { + test := req.Header.Get("x-speakeasy-test-name") + instanceID := req.Header.Get("x-speakeasy-test-instance-id") + + count := rt.GetRequestCount(test, instanceID) + + switch fmt.Sprintf("%s[%d]", test, count) { + case "deleteSharedEnvVariable[0]": + dir.HandlerFunc("deleteSharedEnvVariable", testDeleteSharedEnvVariableDeleteSharedEnvVariable0)(w, req) + default: + http.Error(w, fmt.Sprintf("Unknown test: %s[%d]", test, count), http.StatusBadRequest) + } + } +} + +func testDeleteSharedEnvVariableDeleteSharedEnvVariable0(w http.ResponseWriter, req *http.Request) { + if err := assert.SecurityAuthorizationHeader(req, true, "Bearer"); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusUnauthorized) + return + } + if err := assert.ContentType(req, "application/json", false); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + if err := assert.AcceptHeader(req, []string{"application/json"}); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + if err := assert.HeaderExists(req, "User-Agent"); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + var respBody *operations.DeleteSharedEnvVariableResponseBody = &operations.DeleteSharedEnvVariableResponseBody{ + Deleted: []string{ + "", + "", + }, + Failed: []operations.DeleteSharedEnvVariableFailed{ + operations.DeleteSharedEnvVariableFailed{ + Error: operations.DeleteSharedEnvVariableError{ + Code: "", + Message: "", + }, + }, + }, + } + respBodyBytes, err := utils.MarshalJSON(respBody, "", true) + + if err != nil { + http.Error( + w, + "Unable to encode response body as JSON: "+err.Error(), + http.StatusInternalServerError, + ) + return + } + w.Header().Set("Content-Type", "application/json") + w.WriteHeader(http.StatusOK) + _, _ = w.Write(respBodyBytes) +} diff --git a/src/__tests__/mockserver/internal/handler/pathdeletev1logdrainsid.go b/src/__tests__/mockserver/internal/handler/pathdeletev1logdrainsid.go new file mode 100644 index 000000000..16cad75a1 --- /dev/null +++ b/src/__tests__/mockserver/internal/handler/pathdeletev1logdrainsid.go @@ -0,0 +1,48 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package handler + +import ( + "fmt" + "log" + "mockserver/internal/handler/assert" + "mockserver/internal/logging" + "mockserver/internal/tracking" + "net/http" +) + +func pathDeleteV1LogDrainsID(dir *logging.HTTPFileDirectory, rt *tracking.RequestTracker) http.HandlerFunc { + return func(w http.ResponseWriter, req *http.Request) { + test := req.Header.Get("x-speakeasy-test-name") + instanceID := req.Header.Get("x-speakeasy-test-instance-id") + + count := rt.GetRequestCount(test, instanceID) + + switch fmt.Sprintf("%s[%d]", test, count) { + case "deleteConfigurableLogDrain[0]": + dir.HandlerFunc("deleteConfigurableLogDrain", testDeleteConfigurableLogDrainDeleteConfigurableLogDrain0)(w, req) + default: + http.Error(w, fmt.Sprintf("Unknown test: %s[%d]", test, count), http.StatusBadRequest) + } + } +} + +func testDeleteConfigurableLogDrainDeleteConfigurableLogDrain0(w http.ResponseWriter, req *http.Request) { + if err := assert.SecurityAuthorizationHeader(req, true, "Bearer"); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusUnauthorized) + return + } + if err := assert.AcceptHeader(req, []string{"application/json"}); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + if err := assert.HeaderExists(req, "User-Agent"); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + + w.WriteHeader(http.StatusNoContent) +} diff --git a/src/__tests__/mockserver/internal/handler/pathdeletev1projectsidornameclientcertcertid.go b/src/__tests__/mockserver/internal/handler/pathdeletev1projectsidornameclientcertcertid.go new file mode 100644 index 000000000..8b83a66e7 --- /dev/null +++ b/src/__tests__/mockserver/internal/handler/pathdeletev1projectsidornameclientcertcertid.go @@ -0,0 +1,65 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package handler + +import ( + "fmt" + "log" + "mockserver/internal/handler/assert" + "mockserver/internal/logging" + "mockserver/internal/sdk/models/operations" + "mockserver/internal/sdk/utils" + "mockserver/internal/tracking" + "net/http" +) + +func pathDeleteV1ProjectsIDOrNameClientCertCertID(dir *logging.HTTPFileDirectory, rt *tracking.RequestTracker) http.HandlerFunc { + return func(w http.ResponseWriter, req *http.Request) { + test := req.Header.Get("x-speakeasy-test-name") + instanceID := req.Header.Get("x-speakeasy-test-instance-id") + + count := rt.GetRequestCount(test, instanceID) + + switch fmt.Sprintf("%s[%d]", test, count) { + case "deleteProjectClientCert[0]": + dir.HandlerFunc("deleteProjectClientCert", testDeleteProjectClientCertDeleteProjectClientCert0)(w, req) + default: + http.Error(w, fmt.Sprintf("Unknown test: %s[%d]", test, count), http.StatusBadRequest) + } + } +} + +func testDeleteProjectClientCertDeleteProjectClientCert0(w http.ResponseWriter, req *http.Request) { + if err := assert.SecurityAuthorizationHeader(req, true, "Bearer"); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusUnauthorized) + return + } + if err := assert.AcceptHeader(req, []string{"application/json"}); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + if err := assert.HeaderExists(req, "User-Agent"); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + var respBody *operations.DeleteProjectClientCertResponseBody = &operations.DeleteProjectClientCertResponseBody{ + Origin: "", + CertID: "", + } + respBodyBytes, err := utils.MarshalJSON(respBody, "", true) + + if err != nil { + http.Error( + w, + "Unable to encode response body as JSON: "+err.Error(), + http.StatusInternalServerError, + ) + return + } + w.Header().Set("Content-Type", "application/json") + w.WriteHeader(http.StatusOK) + _, _ = w.Write(respBodyBytes) +} diff --git a/src/__tests__/mockserver/internal/handler/pathgetv1deploymentsdeploymentidchecks.go b/src/__tests__/mockserver/internal/handler/pathgetv1deploymentsdeploymentidchecks.go index 2732da909..0135c41b7 100644 --- a/src/__tests__/mockserver/internal/handler/pathgetv1deploymentsdeploymentidchecks.go +++ b/src/__tests__/mockserver/internal/handler/pathgetv1deploymentsdeploymentidchecks.go @@ -53,7 +53,7 @@ func testGetAllChecksGetAllChecks0(w http.ResponseWriter, req *http.Request) { IntegrationID: "", Name: "", Rerequestable: false, - Blocking: true, + Blocking: false, Status: operations.GetAllChecksStatusCompleted, UpdatedAt: 5993.81, }, diff --git a/src/__tests__/mockserver/internal/handler/pathgetv1drains.go b/src/__tests__/mockserver/internal/handler/pathgetv1drains.go new file mode 100644 index 000000000..efc496ead --- /dev/null +++ b/src/__tests__/mockserver/internal/handler/pathgetv1drains.go @@ -0,0 +1,66 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package handler + +import ( + "fmt" + "log" + "mockserver/internal/handler/assert" + "mockserver/internal/logging" + "mockserver/internal/sdk/models/operations" + "mockserver/internal/sdk/utils" + "mockserver/internal/tracking" + "net/http" +) + +func pathGetV1Drains(dir *logging.HTTPFileDirectory, rt *tracking.RequestTracker) http.HandlerFunc { + return func(w http.ResponseWriter, req *http.Request) { + test := req.Header.Get("x-speakeasy-test-name") + instanceID := req.Header.Get("x-speakeasy-test-instance-id") + + count := rt.GetRequestCount(test, instanceID) + + switch fmt.Sprintf("%s[%d]", test, count) { + case "getDrains[0]": + dir.HandlerFunc("getDrains", testGetDrainsGetDrains0)(w, req) + default: + http.Error(w, fmt.Sprintf("Unknown test: %s[%d]", test, count), http.StatusBadRequest) + } + } +} + +func testGetDrainsGetDrains0(w http.ResponseWriter, req *http.Request) { + if err := assert.SecurityAuthorizationHeader(req, true, "Bearer"); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusUnauthorized) + return + } + if err := assert.AcceptHeader(req, []string{"application/json"}); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + if err := assert.HeaderExists(req, "User-Agent"); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + var respBody *operations.GetDrainsResponseBody = &operations.GetDrainsResponseBody{ + Drains: operations.CreateGetDrainsDrainsUnionArrayOfDrainsGetDrains1( + []operations.DrainsGetDrains1{}, + ), + } + respBodyBytes, err := utils.MarshalJSON(respBody, "", true) + + if err != nil { + http.Error( + w, + "Unable to encode response body as JSON: "+err.Error(), + http.StatusInternalServerError, + ) + return + } + w.Header().Set("Content-Type", "application/json") + w.WriteHeader(http.StatusOK) + _, _ = w.Write(respBodyBytes) +} diff --git a/src/__tests__/mockserver/internal/handler/pathgetv1drainsid.go b/src/__tests__/mockserver/internal/handler/pathgetv1drainsid.go new file mode 100644 index 000000000..6c3197e34 --- /dev/null +++ b/src/__tests__/mockserver/internal/handler/pathgetv1drainsid.go @@ -0,0 +1,78 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package handler + +import ( + "fmt" + "log" + "mockserver/internal/handler/assert" + "mockserver/internal/logging" + "mockserver/internal/sdk/models/operations" + "mockserver/internal/sdk/types" + "mockserver/internal/sdk/utils" + "mockserver/internal/tracking" + "net/http" +) + +func pathGetV1DrainsID(dir *logging.HTTPFileDirectory, rt *tracking.RequestTracker) http.HandlerFunc { + return func(w http.ResponseWriter, req *http.Request) { + test := req.Header.Get("x-speakeasy-test-name") + instanceID := req.Header.Get("x-speakeasy-test-instance-id") + + count := rt.GetRequestCount(test, instanceID) + + switch fmt.Sprintf("%s[%d]", test, count) { + case "getDrain[0]": + dir.HandlerFunc("getDrain", testGetDrainGetDrain0)(w, req) + default: + http.Error(w, fmt.Sprintf("Unknown test: %s[%d]", test, count), http.StatusBadRequest) + } + } +} + +func testGetDrainGetDrain0(w http.ResponseWriter, req *http.Request) { + if err := assert.SecurityAuthorizationHeader(req, true, "Bearer"); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusUnauthorized) + return + } + if err := assert.AcceptHeader(req, []string{"application/json"}); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + if err := assert.HeaderExists(req, "User-Agent"); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + var respBody *operations.GetDrainResponseBody = types.Pointer(operations.CreateGetDrainResponseBodyGetDrainResponseBody1( + operations.GetDrainResponseBody1{ + ID: "", + OwnerID: "", + Name: "", + CreatedAt: 1182.63, + UpdatedAt: 7579.11, + Source: operations.CreateGetDrainSourceUnion1GetDrainSourceIntegration1( + operations.GetDrainSourceIntegration1{ + Kind: operations.GetDrainKindIntegration1Integration, + IntegrationID: "", + IntegrationConfigurationID: "", + }, + ), + }, + )) + respBodyBytes, err := utils.MarshalJSON(respBody, "", true) + + if err != nil { + http.Error( + w, + "Unable to encode response body as JSON: "+err.Error(), + http.StatusInternalServerError, + ) + return + } + w.Header().Set("Content-Type", "application/json") + w.WriteHeader(http.StatusOK) + _, _ = w.Write(respBodyBytes) +} diff --git a/src/__tests__/mockserver/internal/handler/pathgetv1edgeconfigedgeconfigid.go b/src/__tests__/mockserver/internal/handler/pathgetv1edgeconfigedgeconfigid.go index 169fda75e..2762732f4 100644 --- a/src/__tests__/mockserver/internal/handler/pathgetv1edgeconfigedgeconfigid.go +++ b/src/__tests__/mockserver/internal/handler/pathgetv1edgeconfigedgeconfigid.go @@ -46,8 +46,8 @@ func testGetEdgeConfigGetEdgeConfig0(w http.ResponseWriter, req *http.Request) { return } var respBody *operations.GetEdgeConfigResponseBody = &operations.GetEdgeConfigResponseBody{ - CreatedAt: 5488.14, - UpdatedAt: 7151.9, + CreatedAt: 6027.63, + UpdatedAt: 5448.83, ID: "", Slug: "", OwnerID: "", diff --git a/src/__tests__/mockserver/internal/handler/pathgetv1env.go b/src/__tests__/mockserver/internal/handler/pathgetv1env.go new file mode 100644 index 000000000..d5fd4f6a9 --- /dev/null +++ b/src/__tests__/mockserver/internal/handler/pathgetv1env.go @@ -0,0 +1,71 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package handler + +import ( + "fmt" + "log" + "mockserver/internal/handler/assert" + "mockserver/internal/logging" + "mockserver/internal/sdk/models/components" + "mockserver/internal/sdk/models/operations" + "mockserver/internal/sdk/types" + "mockserver/internal/sdk/utils" + "mockserver/internal/tracking" + "net/http" +) + +func pathGetV1Env(dir *logging.HTTPFileDirectory, rt *tracking.RequestTracker) http.HandlerFunc { + return func(w http.ResponseWriter, req *http.Request) { + test := req.Header.Get("x-speakeasy-test-name") + instanceID := req.Header.Get("x-speakeasy-test-instance-id") + + count := rt.GetRequestCount(test, instanceID) + + switch fmt.Sprintf("%s[%d]", test, count) { + case "listSharedEnvVariable[0]": + dir.HandlerFunc("listSharedEnvVariable", testListSharedEnvVariableListSharedEnvVariable0)(w, req) + default: + http.Error(w, fmt.Sprintf("Unknown test: %s[%d]", test, count), http.StatusBadRequest) + } + } +} + +func testListSharedEnvVariableListSharedEnvVariable0(w http.ResponseWriter, req *http.Request) { + if err := assert.SecurityAuthorizationHeader(req, true, "Bearer"); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusUnauthorized) + return + } + if err := assert.AcceptHeader(req, []string{"application/json"}); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + if err := assert.HeaderExists(req, "User-Agent"); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + var respBody *operations.ListSharedEnvVariableResponseBody = &operations.ListSharedEnvVariableResponseBody{ + Data: []operations.Data{}, + Pagination: components.Pagination{ + Count: 20, + Next: types.Float64(1540095775951), + Prev: types.Float64(1540095775951), + }, + } + respBodyBytes, err := utils.MarshalJSON(respBody, "", true) + + if err != nil { + http.Error( + w, + "Unable to encode response body as JSON: "+err.Error(), + http.StatusInternalServerError, + ) + return + } + w.Header().Set("Content-Type", "application/json") + w.WriteHeader(http.StatusOK) + _, _ = w.Write(respBodyBytes) +} diff --git a/src/__tests__/mockserver/internal/handler/pathgetv1envid.go b/src/__tests__/mockserver/internal/handler/pathgetv1envid.go new file mode 100644 index 000000000..3785bf4e7 --- /dev/null +++ b/src/__tests__/mockserver/internal/handler/pathgetv1envid.go @@ -0,0 +1,82 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package handler + +import ( + "fmt" + "log" + "mockserver/internal/handler/assert" + "mockserver/internal/logging" + "mockserver/internal/sdk/models/operations" + "mockserver/internal/sdk/types" + "mockserver/internal/sdk/utils" + "mockserver/internal/tracking" + "net/http" +) + +func pathGetV1EnvID(dir *logging.HTTPFileDirectory, rt *tracking.RequestTracker) http.HandlerFunc { + return func(w http.ResponseWriter, req *http.Request) { + test := req.Header.Get("x-speakeasy-test-name") + instanceID := req.Header.Get("x-speakeasy-test-instance-id") + + count := rt.GetRequestCount(test, instanceID) + + switch fmt.Sprintf("%s[%d]", test, count) { + case "getSharedEnvVar[0]": + dir.HandlerFunc("getSharedEnvVar", testGetSharedEnvVarGetSharedEnvVar0)(w, req) + default: + http.Error(w, fmt.Sprintf("Unknown test: %s[%d]", test, count), http.StatusBadRequest) + } + } +} + +func testGetSharedEnvVarGetSharedEnvVar0(w http.ResponseWriter, req *http.Request) { + if err := assert.SecurityAuthorizationHeader(req, true, "Bearer"); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusUnauthorized) + return + } + if err := assert.AcceptHeader(req, []string{"application/json"}); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + if err := assert.HeaderExists(req, "User-Agent"); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + var respBody *operations.GetSharedEnvVarResponseBody = &operations.GetSharedEnvVarResponseBody{ + Created: types.MustNewTimeFromString("2021-02-10T13:11:49.180Z"), + Key: types.String("my-api-key"), + OwnerID: types.String("team_LLHUOMOoDlqOp8wPE4kFo9pE"), + ID: types.String("env_XCG7t7AIHuO2SBA8667zNUiM"), + CreatedBy: types.String("2qDDuGFTWXBLDNnqZfWPDp1A"), + DeletedBy: types.String("2qDDuGFTWXBLDNnqZfWPDp1A"), + UpdatedBy: types.String("2qDDuGFTWXBLDNnqZfWPDp1A"), + CreatedAt: types.Float64(1609492210000), + DeletedAt: types.Float64(1609492210000), + UpdatedAt: types.Float64(1609492210000), + ProjectID: []string{ + "prj_2WjyKQmM8ZnGcJsPWMrHRHrE", + "prj_2WjyKQmM8ZnGcJsPWMrasEFg", + }, + Type: operations.GetSharedEnvVarTypeEncrypted.ToPointer(), + Target: []operations.GetSharedEnvVarTarget{ + operations.GetSharedEnvVarTargetProduction, + }, + } + respBodyBytes, err := utils.MarshalJSON(respBody, "", true) + + if err != nil { + http.Error( + w, + "Unable to encode response body as JSON: "+err.Error(), + http.StatusInternalServerError, + ) + return + } + w.Header().Set("Content-Type", "application/json") + w.WriteHeader(http.StatusOK) + _, _ = w.Write(respBodyBytes) +} diff --git a/src/__tests__/mockserver/internal/handler/pathgetv1logdrains.go b/src/__tests__/mockserver/internal/handler/pathgetv1logdrains.go new file mode 100644 index 000000000..a91835162 --- /dev/null +++ b/src/__tests__/mockserver/internal/handler/pathgetv1logdrains.go @@ -0,0 +1,82 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package handler + +import ( + "fmt" + "log" + "mockserver/internal/handler/assert" + "mockserver/internal/logging" + "mockserver/internal/sdk/models/operations" + "mockserver/internal/sdk/types" + "mockserver/internal/sdk/utils" + "mockserver/internal/tracking" + "net/http" +) + +func pathGetV1LogDrains(dir *logging.HTTPFileDirectory, rt *tracking.RequestTracker) http.HandlerFunc { + return func(w http.ResponseWriter, req *http.Request) { + test := req.Header.Get("x-speakeasy-test-name") + instanceID := req.Header.Get("x-speakeasy-test-instance-id") + + count := rt.GetRequestCount(test, instanceID) + + switch fmt.Sprintf("%s[%d]", test, count) { + case "getAllLogDrains[0]": + dir.HandlerFunc("getAllLogDrains", testGetAllLogDrainsGetAllLogDrains0)(w, req) + default: + http.Error(w, fmt.Sprintf("Unknown test: %s[%d]", test, count), http.StatusBadRequest) + } + } +} + +func testGetAllLogDrainsGetAllLogDrains0(w http.ResponseWriter, req *http.Request) { + if err := assert.SecurityAuthorizationHeader(req, true, "Bearer"); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusUnauthorized) + return + } + if err := assert.AcceptHeader(req, []string{"application/json"}); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + if err := assert.HeaderExists(req, "User-Agent"); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + var respBody *operations.GetAllLogDrainsResponseBody = types.Pointer(operations.CreateGetAllLogDrainsResponseBodyGetAllLogDrainsResponseBody1( + operations.GetAllLogDrainsResponseBody1{ + Drains: operations.CreateGetAllLogDrainsDrainsUnionArrayOfGetAllLogDrainsDrains1( + []operations.GetAllLogDrainsDrains1{ + operations.GetAllLogDrainsDrains1{ + ID: "", + OwnerID: "", + Name: "", + CreatedAt: 7495.57, + UpdatedAt: 4759.82, + Source: operations.CreateGetAllLogDrainsSourceUnion1GetAllLogDrainsSourceSelfServed1( + operations.GetAllLogDrainsSourceSelfServed1{ + Kind: operations.GetAllLogDrainsKindSelfServed1SelfServed, + }, + ), + }, + }, + ), + }, + )) + respBodyBytes, err := utils.MarshalJSON(respBody, "", true) + + if err != nil { + http.Error( + w, + "Unable to encode response body as JSON: "+err.Error(), + http.StatusInternalServerError, + ) + return + } + w.Header().Set("Content-Type", "application/json") + w.WriteHeader(http.StatusOK) + _, _ = w.Write(respBodyBytes) +} diff --git a/src/__tests__/mockserver/internal/handler/pathgetv1logdrainsid.go b/src/__tests__/mockserver/internal/handler/pathgetv1logdrainsid.go new file mode 100644 index 000000000..fc0dac2d3 --- /dev/null +++ b/src/__tests__/mockserver/internal/handler/pathgetv1logdrainsid.go @@ -0,0 +1,62 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package handler + +import ( + "fmt" + "log" + "mockserver/internal/handler/assert" + "mockserver/internal/logging" + "mockserver/internal/sdk/models/operations" + "mockserver/internal/sdk/utils" + "mockserver/internal/tracking" + "net/http" +) + +func pathGetV1LogDrainsID(dir *logging.HTTPFileDirectory, rt *tracking.RequestTracker) http.HandlerFunc { + return func(w http.ResponseWriter, req *http.Request) { + test := req.Header.Get("x-speakeasy-test-name") + instanceID := req.Header.Get("x-speakeasy-test-instance-id") + + count := rt.GetRequestCount(test, instanceID) + + switch fmt.Sprintf("%s[%d]", test, count) { + case "getConfigurableLogDrain[0]": + dir.HandlerFunc("getConfigurableLogDrain", testGetConfigurableLogDrainGetConfigurableLogDrain0)(w, req) + default: + http.Error(w, fmt.Sprintf("Unknown test: %s[%d]", test, count), http.StatusBadRequest) + } + } +} + +func testGetConfigurableLogDrainGetConfigurableLogDrain0(w http.ResponseWriter, req *http.Request) { + if err := assert.SecurityAuthorizationHeader(req, true, "Bearer"); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusUnauthorized) + return + } + if err := assert.AcceptHeader(req, []string{"application/json"}); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + if err := assert.HeaderExists(req, "User-Agent"); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + var respBody *operations.GetConfigurableLogDrainResponseBody = &operations.GetConfigurableLogDrainResponseBody{} + respBodyBytes, err := utils.MarshalJSON(respBody, "", true) + + if err != nil { + http.Error( + w, + "Unable to encode response body as JSON: "+err.Error(), + http.StatusInternalServerError, + ) + return + } + w.Header().Set("Content-Type", "application/json") + w.WriteHeader(http.StatusOK) + _, _ = w.Write(respBodyBytes) +} diff --git a/src/__tests__/mockserver/internal/handler/pathgetv1projectsidornameclientcert.go b/src/__tests__/mockserver/internal/handler/pathgetv1projectsidornameclientcert.go new file mode 100644 index 000000000..8e081f7a6 --- /dev/null +++ b/src/__tests__/mockserver/internal/handler/pathgetv1projectsidornameclientcert.go @@ -0,0 +1,64 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package handler + +import ( + "fmt" + "log" + "mockserver/internal/handler/assert" + "mockserver/internal/logging" + "mockserver/internal/sdk/models/operations" + "mockserver/internal/sdk/utils" + "mockserver/internal/tracking" + "net/http" +) + +func pathGetV1ProjectsIDOrNameClientCert(dir *logging.HTTPFileDirectory, rt *tracking.RequestTracker) http.HandlerFunc { + return func(w http.ResponseWriter, req *http.Request) { + test := req.Header.Get("x-speakeasy-test-name") + instanceID := req.Header.Get("x-speakeasy-test-instance-id") + + count := rt.GetRequestCount(test, instanceID) + + switch fmt.Sprintf("%s[%d]", test, count) { + case "getProjectClientCerts[0]": + dir.HandlerFunc("getProjectClientCerts", testGetProjectClientCertsGetProjectClientCerts0)(w, req) + default: + http.Error(w, fmt.Sprintf("Unknown test: %s[%d]", test, count), http.StatusBadRequest) + } + } +} + +func testGetProjectClientCertsGetProjectClientCerts0(w http.ResponseWriter, req *http.Request) { + if err := assert.SecurityAuthorizationHeader(req, true, "Bearer"); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusUnauthorized) + return + } + if err := assert.AcceptHeader(req, []string{"application/json"}); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + if err := assert.HeaderExists(req, "User-Agent"); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + var respBody *operations.GetProjectClientCertsResponseBody = &operations.GetProjectClientCertsResponseBody{ + ClientCerts: []operations.ClientCert{}, + } + respBodyBytes, err := utils.MarshalJSON(respBody, "", true) + + if err != nil { + http.Error( + w, + "Unable to encode response body as JSON: "+err.Error(), + http.StatusInternalServerError, + ) + return + } + w.Header().Set("Content-Type", "application/json") + w.WriteHeader(http.StatusOK) + _, _ = w.Write(respBodyBytes) +} diff --git a/src/__tests__/mockserver/internal/handler/pathgetv1projectsidornamerollingreleasebilling.go b/src/__tests__/mockserver/internal/handler/pathgetv1projectsidornamerollingreleasebilling.go index 0931edfdd..d0215aa3a 100644 --- a/src/__tests__/mockserver/internal/handler/pathgetv1projectsidornamerollingreleasebilling.go +++ b/src/__tests__/mockserver/internal/handler/pathgetv1projectsidornamerollingreleasebilling.go @@ -48,13 +48,12 @@ func testGetRollingReleaseBillingStatusGetRollingReleaseBillingStatus0(w http.Re } var respBody *operations.GetRollingReleaseBillingStatusResponseBody = types.Pointer(operations.CreateGetRollingReleaseBillingStatusResponseBodyNoAvailableSlots( operations.NoAvailableSlots{ - AvailableSlots: 4375.87, + AvailableSlots: 7151.9, Reason: operations.ReasonNoAvailableSlotsNoAvailableSlots, Message: "", EnabledProjects: []string{ "", "", - "", }, }, )) diff --git a/src/__tests__/mockserver/internal/handler/pathgetv1registrardomainsdomainauthcode.go b/src/__tests__/mockserver/internal/handler/pathgetv1registrardomainsdomainauthcode.go new file mode 100644 index 000000000..71585df72 --- /dev/null +++ b/src/__tests__/mockserver/internal/handler/pathgetv1registrardomainsdomainauthcode.go @@ -0,0 +1,64 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package handler + +import ( + "fmt" + "log" + "mockserver/internal/handler/assert" + "mockserver/internal/logging" + "mockserver/internal/sdk/models/operations" + "mockserver/internal/sdk/utils" + "mockserver/internal/tracking" + "net/http" +) + +func pathGetV1RegistrarDomainsDomainAuthCode(dir *logging.HTTPFileDirectory, rt *tracking.RequestTracker) http.HandlerFunc { + return func(w http.ResponseWriter, req *http.Request) { + test := req.Header.Get("x-speakeasy-test-name") + instanceID := req.Header.Get("x-speakeasy-test-instance-id") + + count := rt.GetRequestCount(test, instanceID) + + switch fmt.Sprintf("%s[%d]", test, count) { + case "getDomainAuthCode[0]": + dir.HandlerFunc("getDomainAuthCode", testGetDomainAuthCodeGetDomainAuthCode0)(w, req) + default: + http.Error(w, fmt.Sprintf("Unknown test: %s[%d]", test, count), http.StatusBadRequest) + } + } +} + +func testGetDomainAuthCodeGetDomainAuthCode0(w http.ResponseWriter, req *http.Request) { + if err := assert.SecurityAuthorizationHeader(req, true, "Bearer"); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusUnauthorized) + return + } + if err := assert.AcceptHeader(req, []string{"application/json"}); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + if err := assert.HeaderExists(req, "User-Agent"); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + var respBody *operations.GetDomainAuthCodeResponseBody = &operations.GetDomainAuthCodeResponseBody{ + AuthCode: "", + } + respBodyBytes, err := utils.MarshalJSON(respBody, "", true) + + if err != nil { + http.Error( + w, + "Unable to encode response body as JSON: "+err.Error(), + http.StatusInternalServerError, + ) + return + } + w.Header().Set("Content-Type", "application/json") + w.WriteHeader(http.StatusOK) + _, _ = w.Write(respBodyBytes) +} diff --git a/src/__tests__/mockserver/internal/handler/pathgetv1registrardomainsdomainavailability.go b/src/__tests__/mockserver/internal/handler/pathgetv1registrardomainsdomainavailability.go new file mode 100644 index 000000000..5c75ae255 --- /dev/null +++ b/src/__tests__/mockserver/internal/handler/pathgetv1registrardomainsdomainavailability.go @@ -0,0 +1,64 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package handler + +import ( + "fmt" + "log" + "mockserver/internal/handler/assert" + "mockserver/internal/logging" + "mockserver/internal/sdk/models/operations" + "mockserver/internal/sdk/utils" + "mockserver/internal/tracking" + "net/http" +) + +func pathGetV1RegistrarDomainsDomainAvailability(dir *logging.HTTPFileDirectory, rt *tracking.RequestTracker) http.HandlerFunc { + return func(w http.ResponseWriter, req *http.Request) { + test := req.Header.Get("x-speakeasy-test-name") + instanceID := req.Header.Get("x-speakeasy-test-instance-id") + + count := rt.GetRequestCount(test, instanceID) + + switch fmt.Sprintf("%s[%d]", test, count) { + case "getDomainAvailability[0]": + dir.HandlerFunc("getDomainAvailability", testGetDomainAvailabilityGetDomainAvailability0)(w, req) + default: + http.Error(w, fmt.Sprintf("Unknown test: %s[%d]", test, count), http.StatusBadRequest) + } + } +} + +func testGetDomainAvailabilityGetDomainAvailability0(w http.ResponseWriter, req *http.Request) { + if err := assert.SecurityAuthorizationHeader(req, true, "Bearer"); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusUnauthorized) + return + } + if err := assert.AcceptHeader(req, []string{"application/json"}); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + if err := assert.HeaderExists(req, "User-Agent"); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + var respBody *operations.GetDomainAvailabilityResponseBody = &operations.GetDomainAvailabilityResponseBody{ + Available: false, + } + respBodyBytes, err := utils.MarshalJSON(respBody, "", true) + + if err != nil { + http.Error( + w, + "Unable to encode response body as JSON: "+err.Error(), + http.StatusInternalServerError, + ) + return + } + w.Header().Set("Content-Type", "application/json") + w.WriteHeader(http.StatusOK) + _, _ = w.Write(respBodyBytes) +} diff --git a/src/__tests__/mockserver/internal/handler/pathgetv1registrardomainsdomaincontactinfoschema.go b/src/__tests__/mockserver/internal/handler/pathgetv1registrardomainsdomaincontactinfoschema.go new file mode 100644 index 000000000..efb976f86 --- /dev/null +++ b/src/__tests__/mockserver/internal/handler/pathgetv1registrardomainsdomaincontactinfoschema.go @@ -0,0 +1,62 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package handler + +import ( + "fmt" + "log" + "mockserver/internal/handler/assert" + "mockserver/internal/logging" + "mockserver/internal/sdk/models/operations" + "mockserver/internal/sdk/utils" + "mockserver/internal/tracking" + "net/http" +) + +func pathGetV1RegistrarDomainsDomainContactInfoSchema(dir *logging.HTTPFileDirectory, rt *tracking.RequestTracker) http.HandlerFunc { + return func(w http.ResponseWriter, req *http.Request) { + test := req.Header.Get("x-speakeasy-test-name") + instanceID := req.Header.Get("x-speakeasy-test-instance-id") + + count := rt.GetRequestCount(test, instanceID) + + switch fmt.Sprintf("%s[%d]", test, count) { + case "getContactInfoSchema[0]": + dir.HandlerFunc("getContactInfoSchema", testGetContactInfoSchemaGetContactInfoSchema0)(w, req) + default: + http.Error(w, fmt.Sprintf("Unknown test: %s[%d]", test, count), http.StatusBadRequest) + } + } +} + +func testGetContactInfoSchemaGetContactInfoSchema0(w http.ResponseWriter, req *http.Request) { + if err := assert.SecurityAuthorizationHeader(req, true, "Bearer"); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusUnauthorized) + return + } + if err := assert.AcceptHeader(req, []string{"application/json"}); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + if err := assert.HeaderExists(req, "User-Agent"); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + var respBody *operations.GetContactInfoSchemaResponseBody = &operations.GetContactInfoSchemaResponseBody{} + respBodyBytes, err := utils.MarshalJSON(respBody, "", true) + + if err != nil { + http.Error( + w, + "Unable to encode response body as JSON: "+err.Error(), + http.StatusInternalServerError, + ) + return + } + w.Header().Set("Content-Type", "application/json") + w.WriteHeader(http.StatusOK) + _, _ = w.Write(respBodyBytes) +} diff --git a/src/__tests__/mockserver/internal/handler/pathgetv1registrardomainsdomainprice.go b/src/__tests__/mockserver/internal/handler/pathgetv1registrardomainsdomainprice.go new file mode 100644 index 000000000..3aeeb7400 --- /dev/null +++ b/src/__tests__/mockserver/internal/handler/pathgetv1registrardomainsdomainprice.go @@ -0,0 +1,68 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package handler + +import ( + "fmt" + "log" + "mockserver/internal/handler/assert" + "mockserver/internal/logging" + "mockserver/internal/sdk/models/operations" + "mockserver/internal/sdk/types" + "mockserver/internal/sdk/utils" + "mockserver/internal/tracking" + "net/http" +) + +func pathGetV1RegistrarDomainsDomainPrice(dir *logging.HTTPFileDirectory, rt *tracking.RequestTracker) http.HandlerFunc { + return func(w http.ResponseWriter, req *http.Request) { + test := req.Header.Get("x-speakeasy-test-name") + instanceID := req.Header.Get("x-speakeasy-test-instance-id") + + count := rt.GetRequestCount(test, instanceID) + + switch fmt.Sprintf("%s[%d]", test, count) { + case "getDomainPrice[0]": + dir.HandlerFunc("getDomainPrice", testGetDomainPriceGetDomainPrice0)(w, req) + default: + http.Error(w, fmt.Sprintf("Unknown test: %s[%d]", test, count), http.StatusBadRequest) + } + } +} + +func testGetDomainPriceGetDomainPrice0(w http.ResponseWriter, req *http.Request) { + if err := assert.SecurityAuthorizationHeader(req, true, "Bearer"); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusUnauthorized) + return + } + if err := assert.AcceptHeader(req, []string{"application/json"}); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + if err := assert.HeaderExists(req, "User-Agent"); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + var respBody *operations.GetDomainPriceResponseBody = &operations.GetDomainPriceResponseBody{ + Years: 40.44, + PurchasePrice: types.Float64(1523.71), + RenewalPrice: types.Float64(3417.52), + TransferPrice: types.Float64(7908.61), + } + respBodyBytes, err := utils.MarshalJSON(respBody, "", true) + + if err != nil { + http.Error( + w, + "Unable to encode response body as JSON: "+err.Error(), + http.StatusInternalServerError, + ) + return + } + w.Header().Set("Content-Type", "application/json") + w.WriteHeader(http.StatusOK) + _, _ = w.Write(respBodyBytes) +} diff --git a/src/__tests__/mockserver/internal/handler/pathgetv1registrardomainsdomaintransfer.go b/src/__tests__/mockserver/internal/handler/pathgetv1registrardomainsdomaintransfer.go new file mode 100644 index 000000000..eef91d9a9 --- /dev/null +++ b/src/__tests__/mockserver/internal/handler/pathgetv1registrardomainsdomaintransfer.go @@ -0,0 +1,64 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package handler + +import ( + "fmt" + "log" + "mockserver/internal/handler/assert" + "mockserver/internal/logging" + "mockserver/internal/sdk/models/operations" + "mockserver/internal/sdk/utils" + "mockserver/internal/tracking" + "net/http" +) + +func pathGetV1RegistrarDomainsDomainTransfer(dir *logging.HTTPFileDirectory, rt *tracking.RequestTracker) http.HandlerFunc { + return func(w http.ResponseWriter, req *http.Request) { + test := req.Header.Get("x-speakeasy-test-name") + instanceID := req.Header.Get("x-speakeasy-test-instance-id") + + count := rt.GetRequestCount(test, instanceID) + + switch fmt.Sprintf("%s[%d]", test, count) { + case "getDomainTransferIn[0]": + dir.HandlerFunc("getDomainTransferIn", testGetDomainTransferInGetDomainTransferIn0)(w, req) + default: + http.Error(w, fmt.Sprintf("Unknown test: %s[%d]", test, count), http.StatusBadRequest) + } + } +} + +func testGetDomainTransferInGetDomainTransferIn0(w http.ResponseWriter, req *http.Request) { + if err := assert.SecurityAuthorizationHeader(req, true, "Bearer"); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusUnauthorized) + return + } + if err := assert.AcceptHeader(req, []string{"application/json"}); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + if err := assert.HeaderExists(req, "User-Agent"); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + var respBody *operations.GetDomainTransferInResponseBody = &operations.GetDomainTransferInResponseBody{ + Status: operations.GetDomainTransferInStatusPendingTransfer, + } + respBodyBytes, err := utils.MarshalJSON(respBody, "", true) + + if err != nil { + http.Error( + w, + "Unable to encode response body as JSON: "+err.Error(), + http.StatusInternalServerError, + ) + return + } + w.Header().Set("Content-Type", "application/json") + w.WriteHeader(http.StatusOK) + _, _ = w.Write(respBodyBytes) +} diff --git a/src/__tests__/mockserver/internal/handler/pathgetv1registrarordersorderid.go b/src/__tests__/mockserver/internal/handler/pathgetv1registrarordersorderid.go new file mode 100644 index 000000000..0cf679ca9 --- /dev/null +++ b/src/__tests__/mockserver/internal/handler/pathgetv1registrarordersorderid.go @@ -0,0 +1,76 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package handler + +import ( + "fmt" + "log" + "mockserver/internal/handler/assert" + "mockserver/internal/logging" + "mockserver/internal/sdk/models/operations" + "mockserver/internal/sdk/utils" + "mockserver/internal/tracking" + "net/http" +) + +func pathGetV1RegistrarOrdersOrderID(dir *logging.HTTPFileDirectory, rt *tracking.RequestTracker) http.HandlerFunc { + return func(w http.ResponseWriter, req *http.Request) { + test := req.Header.Get("x-speakeasy-test-name") + instanceID := req.Header.Get("x-speakeasy-test-instance-id") + + count := rt.GetRequestCount(test, instanceID) + + switch fmt.Sprintf("%s[%d]", test, count) { + case "getOrder[0]": + dir.HandlerFunc("getOrder", testGetOrderGetOrder0)(w, req) + default: + http.Error(w, fmt.Sprintf("Unknown test: %s[%d]", test, count), http.StatusBadRequest) + } + } +} + +func testGetOrderGetOrder0(w http.ResponseWriter, req *http.Request) { + if err := assert.SecurityAuthorizationHeader(req, true, "Bearer"); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusUnauthorized) + return + } + if err := assert.AcceptHeader(req, []string{"application/json"}); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + if err := assert.HeaderExists(req, "User-Agent"); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + var respBody *operations.GetOrderResponseBody = &operations.GetOrderResponseBody{ + OrderID: "", + Domains: []operations.GetOrderDomainUnion{ + operations.CreateGetOrderDomainUnionDomainRenewal( + operations.DomainRenewal{ + PurchaseType: operations.PurchaseTypeRenewalRenewal, + Years: 340.32, + DomainName: "average-farmer.name", + Status: operations.DomainStatus2Failed, + Price: 3271.32, + }, + ), + }, + Status: operations.GetOrderStatusPurchasing, + } + respBodyBytes, err := utils.MarshalJSON(respBody, "", true) + + if err != nil { + http.Error( + w, + "Unable to encode response body as JSON: "+err.Error(), + http.StatusInternalServerError, + ) + return + } + w.Header().Set("Content-Type", "application/json") + w.WriteHeader(http.StatusOK) + _, _ = w.Write(respBodyBytes) +} diff --git a/src/__tests__/mockserver/internal/handler/pathgetv1registrartldssupported.go b/src/__tests__/mockserver/internal/handler/pathgetv1registrartldssupported.go new file mode 100644 index 000000000..cad35ba5a --- /dev/null +++ b/src/__tests__/mockserver/internal/handler/pathgetv1registrartldssupported.go @@ -0,0 +1,64 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package handler + +import ( + "fmt" + "log" + "mockserver/internal/handler/assert" + "mockserver/internal/logging" + "mockserver/internal/sdk/utils" + "mockserver/internal/tracking" + "net/http" +) + +func pathGetV1RegistrarTldsSupported(dir *logging.HTTPFileDirectory, rt *tracking.RequestTracker) http.HandlerFunc { + return func(w http.ResponseWriter, req *http.Request) { + test := req.Header.Get("x-speakeasy-test-name") + instanceID := req.Header.Get("x-speakeasy-test-instance-id") + + count := rt.GetRequestCount(test, instanceID) + + switch fmt.Sprintf("%s[%d]", test, count) { + case "getSupportedTlds[0]": + dir.HandlerFunc("getSupportedTlds", testGetSupportedTldsGetSupportedTlds0)(w, req) + default: + http.Error(w, fmt.Sprintf("Unknown test: %s[%d]", test, count), http.StatusBadRequest) + } + } +} + +func testGetSupportedTldsGetSupportedTlds0(w http.ResponseWriter, req *http.Request) { + if err := assert.SecurityAuthorizationHeader(req, true, "Bearer"); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusUnauthorized) + return + } + if err := assert.AcceptHeader(req, []string{"application/json"}); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + if err := assert.HeaderExists(req, "User-Agent"); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + var respBody []string = []string{ + "", + "", + } + respBodyBytes, err := utils.MarshalJSON(respBody, "", true) + + if err != nil { + http.Error( + w, + "Unable to encode response body as JSON: "+err.Error(), + http.StatusInternalServerError, + ) + return + } + w.Header().Set("Content-Type", "application/json") + w.WriteHeader(http.StatusOK) + _, _ = w.Write(respBodyBytes) +} diff --git a/src/__tests__/mockserver/internal/handler/pathgetv1registrartldstldprice.go b/src/__tests__/mockserver/internal/handler/pathgetv1registrartldstldprice.go new file mode 100644 index 000000000..e4a76a7f9 --- /dev/null +++ b/src/__tests__/mockserver/internal/handler/pathgetv1registrartldstldprice.go @@ -0,0 +1,68 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package handler + +import ( + "fmt" + "log" + "mockserver/internal/handler/assert" + "mockserver/internal/logging" + "mockserver/internal/sdk/models/operations" + "mockserver/internal/sdk/types" + "mockserver/internal/sdk/utils" + "mockserver/internal/tracking" + "net/http" +) + +func pathGetV1RegistrarTldsTldPrice(dir *logging.HTTPFileDirectory, rt *tracking.RequestTracker) http.HandlerFunc { + return func(w http.ResponseWriter, req *http.Request) { + test := req.Header.Get("x-speakeasy-test-name") + instanceID := req.Header.Get("x-speakeasy-test-instance-id") + + count := rt.GetRequestCount(test, instanceID) + + switch fmt.Sprintf("%s[%d]", test, count) { + case "getTldPrice[0]": + dir.HandlerFunc("getTldPrice", testGetTldPriceGetTldPrice0)(w, req) + default: + http.Error(w, fmt.Sprintf("Unknown test: %s[%d]", test, count), http.StatusBadRequest) + } + } +} + +func testGetTldPriceGetTldPrice0(w http.ResponseWriter, req *http.Request) { + if err := assert.SecurityAuthorizationHeader(req, true, "Bearer"); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusUnauthorized) + return + } + if err := assert.AcceptHeader(req, []string{"application/json"}); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + if err := assert.HeaderExists(req, "User-Agent"); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + var respBody *operations.GetTldPriceResponseBody = &operations.GetTldPriceResponseBody{ + Years: 8935.16, + PurchasePrice: types.Float64(7886.17), + RenewalPrice: types.Float64(4537.84), + TransferPrice: types.Float64(7204.57), + } + respBodyBytes, err := utils.MarshalJSON(respBody, "", true) + + if err != nil { + http.Error( + w, + "Unable to encode response body as JSON: "+err.Error(), + http.StatusInternalServerError, + ) + return + } + w.Header().Set("Content-Type", "application/json") + w.WriteHeader(http.StatusOK) + _, _ = w.Write(respBodyBytes) +} diff --git a/src/__tests__/mockserver/internal/handler/pathgetv1securityfirewallbypass.go b/src/__tests__/mockserver/internal/handler/pathgetv1securityfirewallbypass.go index 25caa1d20..6d8405fd3 100644 --- a/src/__tests__/mockserver/internal/handler/pathgetv1securityfirewallbypass.go +++ b/src/__tests__/mockserver/internal/handler/pathgetv1securityfirewallbypass.go @@ -46,7 +46,17 @@ func testGetBypassIPGetBypassIp0(w http.ResponseWriter, req *http.Request) { return } var respBody *operations.GetBypassIPResponseBody = &operations.GetBypassIPResponseBody{ - Result: []operations.GetBypassIPResult{}, + Result: []operations.GetBypassIPResult{ + operations.GetBypassIPResult{ + OwnerID: "", + ID: "", + Domain: "insignificant-parsnip.info", + IP: "f8bb:ce11:0cbd:fbab:2e3e:b95b:ac0d:ddef", + CreatedAt: "1715491040793", + UpdatedAt: "1735640959124", + UpdatedAtHour: "", + }, + }, } respBodyBytes, err := utils.MarshalJSON(respBody, "", true) diff --git a/src/__tests__/mockserver/internal/handler/pathgetv1securityfirewallevents.go b/src/__tests__/mockserver/internal/handler/pathgetv1securityfirewallevents.go new file mode 100644 index 000000000..9de6747f3 --- /dev/null +++ b/src/__tests__/mockserver/internal/handler/pathgetv1securityfirewallevents.go @@ -0,0 +1,59 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package handler + +import ( + "fmt" + "log" + "mockserver/internal/handler/assert" + "mockserver/internal/logging" + "mockserver/internal/sdk/models/operations" + "mockserver/internal/sdk/utils" + "mockserver/internal/tracking" + "net/http" +) + +func pathGetV1SecurityFirewallEvents(dir *logging.HTTPFileDirectory, rt *tracking.RequestTracker) http.HandlerFunc { + return func(w http.ResponseWriter, req *http.Request) { + test := req.Header.Get("x-speakeasy-test-name") + instanceID := req.Header.Get("x-speakeasy-test-instance-id") + + count := rt.GetRequestCount(test, instanceID) + + switch fmt.Sprintf("%s[%d]", test, count) { + case "get_/v1/security/firewall/events[0]": + dir.HandlerFunc("get_/v1/security/firewall/events", testGetV1SecurityFirewallEventsGetV1SecurityFirewallEvents0)(w, req) + default: + http.Error(w, fmt.Sprintf("Unknown test: %s[%d]", test, count), http.StatusBadRequest) + } + } +} + +func testGetV1SecurityFirewallEventsGetV1SecurityFirewallEvents0(w http.ResponseWriter, req *http.Request) { + if err := assert.AcceptHeader(req, []string{"application/json"}); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + if err := assert.HeaderExists(req, "User-Agent"); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + var respBody *operations.GetV1SecurityFirewallEventsResponseBody = &operations.GetV1SecurityFirewallEventsResponseBody{ + Actions: []operations.GetV1SecurityFirewallEventsAction{}, + } + respBodyBytes, err := utils.MarshalJSON(respBody, "", true) + + if err != nil { + http.Error( + w, + "Unable to encode response body as JSON: "+err.Error(), + http.StatusInternalServerError, + ) + return + } + w.Header().Set("Content-Type", "application/json") + w.WriteHeader(http.StatusOK) + _, _ = w.Write(respBodyBytes) +} diff --git a/src/__tests__/mockserver/internal/handler/pathgetv6domainsdomainconfig.go b/src/__tests__/mockserver/internal/handler/pathgetv6domainsdomainconfig.go index 5278bcc58..79fda1af8 100644 --- a/src/__tests__/mockserver/internal/handler/pathgetv6domainsdomainconfig.go +++ b/src/__tests__/mockserver/internal/handler/pathgetv6domainsdomainconfig.go @@ -46,18 +46,13 @@ func testGetDomainConfigGetDomainConfig0(w http.ResponseWriter, req *http.Reques return } var respBody *operations.GetDomainConfigResponseBody = &operations.GetDomainConfigResponseBody{ - ConfiguredBy: operations.ConfiguredByHTTP.ToPointer(), + ConfiguredBy: operations.ConfiguredByCname.ToPointer(), AcceptedChallenges: []operations.AcceptedChallenge{ operations.AcceptedChallengeHttp01, }, - RecommendedIPv4: []operations.RecommendedIPv4{}, - RecommendedCNAME: []operations.RecommendedCNAME{ - operations.RecommendedCNAME{ - Rank: 4375.87, - Value: "", - }, - }, - Misconfigured: false, + RecommendedIPv4: []operations.RecommendedIPv4{}, + RecommendedCNAME: []operations.RecommendedCNAME{}, + Misconfigured: false, } respBodyBytes, err := utils.MarshalJSON(respBody, "", true) diff --git a/src/__tests__/mockserver/internal/handler/pathpatchv1drainsid.go b/src/__tests__/mockserver/internal/handler/pathpatchv1drainsid.go new file mode 100644 index 000000000..9699c0b1a --- /dev/null +++ b/src/__tests__/mockserver/internal/handler/pathpatchv1drainsid.go @@ -0,0 +1,83 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package handler + +import ( + "fmt" + "log" + "mockserver/internal/handler/assert" + "mockserver/internal/logging" + "mockserver/internal/sdk/models/operations" + "mockserver/internal/sdk/types" + "mockserver/internal/sdk/utils" + "mockserver/internal/tracking" + "net/http" +) + +func pathPatchV1DrainsID(dir *logging.HTTPFileDirectory, rt *tracking.RequestTracker) http.HandlerFunc { + return func(w http.ResponseWriter, req *http.Request) { + test := req.Header.Get("x-speakeasy-test-name") + instanceID := req.Header.Get("x-speakeasy-test-instance-id") + + count := rt.GetRequestCount(test, instanceID) + + switch fmt.Sprintf("%s[%d]", test, count) { + case "updateDrain[0]": + dir.HandlerFunc("updateDrain", testUpdateDrainUpdateDrain0)(w, req) + default: + http.Error(w, fmt.Sprintf("Unknown test: %s[%d]", test, count), http.StatusBadRequest) + } + } +} + +func testUpdateDrainUpdateDrain0(w http.ResponseWriter, req *http.Request) { + if err := assert.SecurityAuthorizationHeader(req, true, "Bearer"); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusUnauthorized) + return + } + if err := assert.ContentType(req, "application/json", false); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + if err := assert.AcceptHeader(req, []string{"application/json"}); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + if err := assert.HeaderExists(req, "User-Agent"); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + var respBody *operations.UpdateDrainResponseBody = types.Pointer(operations.CreateUpdateDrainResponseBodyUpdateDrainResponseBody1( + operations.UpdateDrainResponseBody1{ + ID: "", + OwnerID: "", + Name: "", + CreatedAt: 7781.81, + UpdatedAt: 8087.89, + Source: operations.CreateUpdateDrainResponseBodySourceUnion1UpdateDrainSourceIntegration1( + operations.UpdateDrainSourceIntegration1{ + Kind: operations.UpdateDrainKindIntegration1Integration, + IntegrationID: "", + IntegrationConfigurationID: "", + }, + ), + }, + )) + respBodyBytes, err := utils.MarshalJSON(respBody, "", true) + + if err != nil { + http.Error( + w, + "Unable to encode response body as JSON: "+err.Error(), + http.StatusInternalServerError, + ) + return + } + w.Header().Set("Content-Type", "application/json") + w.WriteHeader(http.StatusOK) + _, _ = w.Write(respBodyBytes) +} diff --git a/src/__tests__/mockserver/internal/handler/pathpatchv1env.go b/src/__tests__/mockserver/internal/handler/pathpatchv1env.go new file mode 100644 index 000000000..80e83214a --- /dev/null +++ b/src/__tests__/mockserver/internal/handler/pathpatchv1env.go @@ -0,0 +1,77 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package handler + +import ( + "fmt" + "log" + "mockserver/internal/handler/assert" + "mockserver/internal/logging" + "mockserver/internal/sdk/models/operations" + "mockserver/internal/sdk/utils" + "mockserver/internal/tracking" + "net/http" +) + +func pathPatchV1Env(dir *logging.HTTPFileDirectory, rt *tracking.RequestTracker) http.HandlerFunc { + return func(w http.ResponseWriter, req *http.Request) { + test := req.Header.Get("x-speakeasy-test-name") + instanceID := req.Header.Get("x-speakeasy-test-instance-id") + + count := rt.GetRequestCount(test, instanceID) + + switch fmt.Sprintf("%s[%d]", test, count) { + case "updateSharedEnvVariable[0]": + dir.HandlerFunc("updateSharedEnvVariable", testUpdateSharedEnvVariableUpdateSharedEnvVariable0)(w, req) + default: + http.Error(w, fmt.Sprintf("Unknown test: %s[%d]", test, count), http.StatusBadRequest) + } + } +} + +func testUpdateSharedEnvVariableUpdateSharedEnvVariable0(w http.ResponseWriter, req *http.Request) { + if err := assert.SecurityAuthorizationHeader(req, true, "Bearer"); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusUnauthorized) + return + } + if err := assert.ContentType(req, "application/json", false); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + if err := assert.AcceptHeader(req, []string{"application/json"}); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + if err := assert.HeaderExists(req, "User-Agent"); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + var respBody *operations.UpdateSharedEnvVariableResponseBody = &operations.UpdateSharedEnvVariableResponseBody{ + Updated: []operations.Updated{}, + Failed: []operations.UpdateSharedEnvVariableFailed{ + operations.UpdateSharedEnvVariableFailed{ + Error: operations.UpdateSharedEnvVariableError{ + Code: "", + Message: "", + }, + }, + }, + } + respBodyBytes, err := utils.MarshalJSON(respBody, "", true) + + if err != nil { + http.Error( + w, + "Unable to encode response body as JSON: "+err.Error(), + http.StatusInternalServerError, + ) + return + } + w.Header().Set("Content-Type", "application/json") + w.WriteHeader(http.StatusOK) + _, _ = w.Write(respBodyBytes) +} diff --git a/src/__tests__/mockserver/internal/handler/pathpatchv1envidunlinkprojectid.go b/src/__tests__/mockserver/internal/handler/pathpatchv1envidunlinkprojectid.go new file mode 100644 index 000000000..5fbbaed28 --- /dev/null +++ b/src/__tests__/mockserver/internal/handler/pathpatchv1envidunlinkprojectid.go @@ -0,0 +1,64 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package handler + +import ( + "fmt" + "log" + "mockserver/internal/handler/assert" + "mockserver/internal/logging" + "mockserver/internal/sdk/models/operations" + "mockserver/internal/sdk/utils" + "mockserver/internal/tracking" + "net/http" +) + +func pathPatchV1EnvIDUnlinkProjectID(dir *logging.HTTPFileDirectory, rt *tracking.RequestTracker) http.HandlerFunc { + return func(w http.ResponseWriter, req *http.Request) { + test := req.Header.Get("x-speakeasy-test-name") + instanceID := req.Header.Get("x-speakeasy-test-instance-id") + + count := rt.GetRequestCount(test, instanceID) + + switch fmt.Sprintf("%s[%d]", test, count) { + case "unlinkSharedEnvVariable[0]": + dir.HandlerFunc("unlinkSharedEnvVariable", testUnlinkSharedEnvVariableUnlinkSharedEnvVariable0)(w, req) + default: + http.Error(w, fmt.Sprintf("Unknown test: %s[%d]", test, count), http.StatusBadRequest) + } + } +} + +func testUnlinkSharedEnvVariableUnlinkSharedEnvVariable0(w http.ResponseWriter, req *http.Request) { + if err := assert.SecurityAuthorizationHeader(req, true, "Bearer"); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusUnauthorized) + return + } + if err := assert.AcceptHeader(req, []string{"application/json"}); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + if err := assert.HeaderExists(req, "User-Agent"); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + var respBody *operations.UnlinkSharedEnvVariableResponseBody = &operations.UnlinkSharedEnvVariableResponseBody{ + ID: "", + } + respBodyBytes, err := utils.MarshalJSON(respBody, "", true) + + if err != nil { + http.Error( + w, + "Unable to encode response body as JSON: "+err.Error(), + http.StatusInternalServerError, + ) + return + } + w.Header().Set("Content-Type", "application/json") + w.WriteHeader(http.StatusOK) + _, _ = w.Write(respBodyBytes) +} diff --git a/src/__tests__/mockserver/internal/handler/pathpatchv1installationsintegrationconfigurationidresourcesresourceid.go b/src/__tests__/mockserver/internal/handler/pathpatchv1installationsintegrationconfigurationidresourcesresourceid.go new file mode 100644 index 000000000..4f8ddb28f --- /dev/null +++ b/src/__tests__/mockserver/internal/handler/pathpatchv1installationsintegrationconfigurationidresourcesresourceid.go @@ -0,0 +1,69 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package handler + +import ( + "fmt" + "log" + "mockserver/internal/handler/assert" + "mockserver/internal/logging" + "mockserver/internal/sdk/models/operations" + "mockserver/internal/sdk/utils" + "mockserver/internal/tracking" + "net/http" +) + +func pathPatchV1InstallationsIntegrationConfigurationIDResourcesResourceID(dir *logging.HTTPFileDirectory, rt *tracking.RequestTracker) http.HandlerFunc { + return func(w http.ResponseWriter, req *http.Request) { + test := req.Header.Get("x-speakeasy-test-name") + instanceID := req.Header.Get("x-speakeasy-test-instance-id") + + count := rt.GetRequestCount(test, instanceID) + + switch fmt.Sprintf("%s[%d]", test, count) { + case "update-resource[0]": + dir.HandlerFunc("update-resource", testUpdateResourceUpdateResource0)(w, req) + default: + http.Error(w, fmt.Sprintf("Unknown test: %s[%d]", test, count), http.StatusBadRequest) + } + } +} + +func testUpdateResourceUpdateResource0(w http.ResponseWriter, req *http.Request) { + if err := assert.SecurityAuthorizationHeader(req, true, "Bearer"); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusUnauthorized) + return + } + if err := assert.ContentType(req, "application/json", false); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + if err := assert.AcceptHeader(req, []string{"application/json"}); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + if err := assert.HeaderExists(req, "User-Agent"); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + var respBody *operations.UpdateResourceResponseBody = &operations.UpdateResourceResponseBody{ + Name: "", + } + respBodyBytes, err := utils.MarshalJSON(respBody, "", true) + + if err != nil { + http.Error( + w, + "Unable to encode response body as JSON: "+err.Error(), + http.StatusInternalServerError, + ) + return + } + w.Header().Set("Content-Type", "application/json") + w.WriteHeader(http.StatusOK) + _, _ = w.Write(respBodyBytes) +} diff --git a/src/__tests__/mockserver/internal/handler/pathpatchv1projectsidornamesharedconnectlinks.go b/src/__tests__/mockserver/internal/handler/pathpatchv1projectsidornamesharedconnectlinks.go new file mode 100644 index 000000000..6ddddc1fd --- /dev/null +++ b/src/__tests__/mockserver/internal/handler/pathpatchv1projectsidornamesharedconnectlinks.go @@ -0,0 +1,78 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package handler + +import ( + "fmt" + "log" + "mockserver/internal/handler/assert" + "mockserver/internal/logging" + "mockserver/internal/sdk/models/operations" + "mockserver/internal/sdk/utils" + "mockserver/internal/tracking" + "net/http" +) + +func pathPatchV1ProjectsIDOrNameSharedConnectLinks(dir *logging.HTTPFileDirectory, rt *tracking.RequestTracker) http.HandlerFunc { + return func(w http.ResponseWriter, req *http.Request) { + test := req.Header.Get("x-speakeasy-test-name") + instanceID := req.Header.Get("x-speakeasy-test-instance-id") + + count := rt.GetRequestCount(test, instanceID) + + switch fmt.Sprintf("%s[%d]", test, count) { + case "updateStaticIps[0]": + dir.HandlerFunc("updateStaticIps", testUpdateStaticIpsUpdateStaticIps0)(w, req) + default: + http.Error(w, fmt.Sprintf("Unknown test: %s[%d]", test, count), http.StatusBadRequest) + } + } +} + +func testUpdateStaticIpsUpdateStaticIps0(w http.ResponseWriter, req *http.Request) { + if err := assert.SecurityAuthorizationHeader(req, true, "Bearer"); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusUnauthorized) + return + } + if err := assert.ContentType(req, "application/json", false); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + if err := assert.AcceptHeader(req, []string{"application/json"}); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + if err := assert.HeaderExists(req, "User-Agent"); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + var respBody []operations.UpdateStaticIpsResponseBody = []operations.UpdateStaticIpsResponseBody{ + operations.UpdateStaticIpsResponseBody{ + EnvID: operations.CreateUpdateStaticIpsEnvIDUnionStr( + "", + ), + ConnectConfigurationID: "", + Passive: true, + BuildsEnabled: false, + CreatedAt: 5943.97, + UpdatedAt: 7734.38, + }, + } + respBodyBytes, err := utils.MarshalJSON(respBody, "", true) + + if err != nil { + http.Error( + w, + "Unable to encode response body as JSON: "+err.Error(), + http.StatusInternalServerError, + ) + return + } + w.Header().Set("Content-Type", "application/json") + w.WriteHeader(http.StatusOK) + _, _ = w.Write(respBodyBytes) +} diff --git a/src/__tests__/mockserver/internal/handler/pathpostv10projectsidornameenv.go b/src/__tests__/mockserver/internal/handler/pathpostv10projectsidornameenv.go index 3333f6273..c7914f610 100644 --- a/src/__tests__/mockserver/internal/handler/pathpostv10projectsidornameenv.go +++ b/src/__tests__/mockserver/internal/handler/pathpostv10projectsidornameenv.go @@ -51,10 +51,10 @@ func testCreateProjectEnvCreateProjectEnv0(w http.ResponseWriter, req *http.Requ return } var respBody *operations.CreateProjectEnvResponseBody = &operations.CreateProjectEnvResponseBody{ - Created: operations.CreateCreatedUnionArrayOfCreated2( - []operations.Created2{}, + Created: operations.CreateCreatedArrayOfCreateProjectEnvCreated2( + []operations.CreateProjectEnvCreated2{}, ), - Failed: []operations.Failed{}, + Failed: []operations.CreateProjectEnvFailed{}, } respBodyBytes, err := utils.MarshalJSON(respBody, "", true) diff --git a/src/__tests__/mockserver/internal/handler/pathpostv13deployments.go b/src/__tests__/mockserver/internal/handler/pathpostv13deployments.go index 263cc7519..2704b63d5 100644 --- a/src/__tests__/mockserver/internal/handler/pathpostv13deployments.go +++ b/src/__tests__/mockserver/internal/handler/pathpostv13deployments.go @@ -70,24 +70,24 @@ func testCreateDeploymentCreateDeployment0(w http.ResponseWriter, req *http.Requ Creator: operations.CreateDeploymentCreator{ UID: "", }, - Public: false, - Status: operations.CreateDeploymentStatusCanceled, - ID: "", - Name: "", - CreatedAt: 179.28, - Type: operations.CreateDeploymentTypeLambdasLambdas, + Public: false, + Status: operations.CreateDeploymentStatusCanceled, + ID: "", + CreatedAt: 179.28, + ReadyState: operations.CreateDeploymentReadyStateBuilding, + Name: "", + Type: operations.CreateDeploymentTypeLambdasLambdas, Meta: map[string]string{ "key": "", }, - ReadyState: operations.CreateDeploymentReadyStateBuilding, - Regions: []string{}, - Version: 8477.72, - URL: "https://unwritten-viability.org", - ProjectID: "", - OwnerID: "", - Plan: operations.CreateDeploymentPlanEnterprise, - Routes: []operations.CreateDeploymentRouteUnion{}, - CreatedIn: "", + Regions: []string{}, + URL: "https://unwritten-viability.org", + Version: 8477.72, + ProjectID: "", + Plan: operations.CreateDeploymentPlanEnterprise, + CreatedIn: "", + OwnerID: "", + Routes: []operations.CreateDeploymentRouteUnion{}, } respBodyBytes, err := utils.MarshalJSON(respBody, "", true) diff --git a/src/__tests__/mockserver/internal/handler/pathpostv1accessgroupsidorname.go b/src/__tests__/mockserver/internal/handler/pathpostv1accessgroupsidorname.go index 5593a6508..e60861785 100644 --- a/src/__tests__/mockserver/internal/handler/pathpostv1accessgroupsidorname.go +++ b/src/__tests__/mockserver/internal/handler/pathpostv1accessgroupsidorname.go @@ -51,7 +51,9 @@ func testUpdateAccessGroupUpdateAccessGroup0(w http.ResponseWriter, req *http.Re return } var respBody *operations.UpdateAccessGroupResponseBody = &operations.UpdateAccessGroupResponseBody{ - Entitlements: []operations.UpdateAccessGroupEntitlement{}, + Entitlements: []operations.UpdateAccessGroupEntitlement{ + operations.UpdateAccessGroupEntitlementV0, + }, Name: "my-access-group", CreatedAt: "1588720733602", TeamID: "team_123a6c5209bc3778245d011443644c8d27dc2c50", diff --git a/src/__tests__/mockserver/internal/handler/pathpostv1drains.go b/src/__tests__/mockserver/internal/handler/pathpostv1drains.go new file mode 100644 index 000000000..11e0d791e --- /dev/null +++ b/src/__tests__/mockserver/internal/handler/pathpostv1drains.go @@ -0,0 +1,81 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package handler + +import ( + "fmt" + "log" + "mockserver/internal/handler/assert" + "mockserver/internal/logging" + "mockserver/internal/sdk/models/operations" + "mockserver/internal/sdk/types" + "mockserver/internal/sdk/utils" + "mockserver/internal/tracking" + "net/http" +) + +func pathPostV1Drains(dir *logging.HTTPFileDirectory, rt *tracking.RequestTracker) http.HandlerFunc { + return func(w http.ResponseWriter, req *http.Request) { + test := req.Header.Get("x-speakeasy-test-name") + instanceID := req.Header.Get("x-speakeasy-test-instance-id") + + count := rt.GetRequestCount(test, instanceID) + + switch fmt.Sprintf("%s[%d]", test, count) { + case "createDrain[0]": + dir.HandlerFunc("createDrain", testCreateDrainCreateDrain0)(w, req) + default: + http.Error(w, fmt.Sprintf("Unknown test: %s[%d]", test, count), http.StatusBadRequest) + } + } +} + +func testCreateDrainCreateDrain0(w http.ResponseWriter, req *http.Request) { + if err := assert.SecurityAuthorizationHeader(req, true, "Bearer"); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusUnauthorized) + return + } + if err := assert.ContentType(req, "application/json", false); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + if err := assert.AcceptHeader(req, []string{"application/json"}); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + if err := assert.HeaderExists(req, "User-Agent"); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + var respBody *operations.CreateDrainResponseBody = types.Pointer(operations.CreateCreateDrainResponseBodyCreateDrainResponseBody1( + operations.CreateDrainResponseBody1{ + ID: "", + OwnerID: "", + Name: "", + CreatedAt: 3665.73, + UpdatedAt: 3681.88, + Source: operations.CreateCreateDrainResponseBodySourceUnion1CreateDrainSourceSelfServed1( + operations.CreateDrainSourceSelfServed1{ + Kind: operations.CreateDrainKindSelfServed1SelfServed, + }, + ), + }, + )) + respBodyBytes, err := utils.MarshalJSON(respBody, "", true) + + if err != nil { + http.Error( + w, + "Unable to encode response body as JSON: "+err.Error(), + http.StatusInternalServerError, + ) + return + } + w.Header().Set("Content-Type", "application/json") + w.WriteHeader(http.StatusOK) + _, _ = w.Write(respBodyBytes) +} diff --git a/src/__tests__/mockserver/internal/handler/pathpostv1drainstest.go b/src/__tests__/mockserver/internal/handler/pathpostv1drainstest.go new file mode 100644 index 000000000..79b1c8554 --- /dev/null +++ b/src/__tests__/mockserver/internal/handler/pathpostv1drainstest.go @@ -0,0 +1,70 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package handler + +import ( + "fmt" + "log" + "mockserver/internal/handler/assert" + "mockserver/internal/logging" + "mockserver/internal/sdk/models/operations" + "mockserver/internal/sdk/types" + "mockserver/internal/sdk/utils" + "mockserver/internal/tracking" + "net/http" +) + +func pathPostV1DrainsTest(dir *logging.HTTPFileDirectory, rt *tracking.RequestTracker) http.HandlerFunc { + return func(w http.ResponseWriter, req *http.Request) { + test := req.Header.Get("x-speakeasy-test-name") + instanceID := req.Header.Get("x-speakeasy-test-instance-id") + + count := rt.GetRequestCount(test, instanceID) + + switch fmt.Sprintf("%s[%d]", test, count) { + case "testDrain[0]": + dir.HandlerFunc("testDrain", testTestDrainTestDrain0)(w, req) + default: + http.Error(w, fmt.Sprintf("Unknown test: %s[%d]", test, count), http.StatusBadRequest) + } + } +} + +func testTestDrainTestDrain0(w http.ResponseWriter, req *http.Request) { + if err := assert.SecurityAuthorizationHeader(req, true, "Bearer"); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusUnauthorized) + return + } + if err := assert.ContentType(req, "application/json", false); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + if err := assert.AcceptHeader(req, []string{"application/json"}); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + if err := assert.HeaderExists(req, "User-Agent"); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + var respBody *operations.TestDrainResponseBody = types.Pointer(operations.CreateTestDrainResponseBodyTestDrainResponseBody1( + operations.TestDrainResponseBody1{}, + )) + respBodyBytes, err := utils.MarshalJSON(respBody, "", true) + + if err != nil { + http.Error( + w, + "Unable to encode response body as JSON: "+err.Error(), + http.StatusInternalServerError, + ) + return + } + w.Header().Set("Content-Type", "application/json") + w.WriteHeader(http.StatusOK) + _, _ = w.Write(respBodyBytes) +} diff --git a/src/__tests__/mockserver/internal/handler/pathpostv1edgeconfig.go b/src/__tests__/mockserver/internal/handler/pathpostv1edgeconfig.go index 36711bf50..bef287aa9 100644 --- a/src/__tests__/mockserver/internal/handler/pathpostv1edgeconfig.go +++ b/src/__tests__/mockserver/internal/handler/pathpostv1edgeconfig.go @@ -51,8 +51,8 @@ func testCreateEdgeConfigCreateEdgeConfig0(w http.ResponseWriter, req *http.Requ return } var respBody *operations.CreateEdgeConfigResponseBody = &operations.CreateEdgeConfigResponseBody{ - CreatedAt: 5488.14, - UpdatedAt: 7151.9, + CreatedAt: 4236.55, + UpdatedAt: 6458.94, ID: "", Slug: "", OwnerID: "", diff --git a/src/__tests__/mockserver/internal/handler/pathpostv1env.go b/src/__tests__/mockserver/internal/handler/pathpostv1env.go new file mode 100644 index 000000000..b0d431112 --- /dev/null +++ b/src/__tests__/mockserver/internal/handler/pathpostv1env.go @@ -0,0 +1,70 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package handler + +import ( + "fmt" + "log" + "mockserver/internal/handler/assert" + "mockserver/internal/logging" + "mockserver/internal/sdk/models/operations" + "mockserver/internal/sdk/utils" + "mockserver/internal/tracking" + "net/http" +) + +func pathPostV1Env(dir *logging.HTTPFileDirectory, rt *tracking.RequestTracker) http.HandlerFunc { + return func(w http.ResponseWriter, req *http.Request) { + test := req.Header.Get("x-speakeasy-test-name") + instanceID := req.Header.Get("x-speakeasy-test-instance-id") + + count := rt.GetRequestCount(test, instanceID) + + switch fmt.Sprintf("%s[%d]", test, count) { + case "createSharedEnvVariable[0]": + dir.HandlerFunc("createSharedEnvVariable", testCreateSharedEnvVariableCreateSharedEnvVariable0)(w, req) + default: + http.Error(w, fmt.Sprintf("Unknown test: %s[%d]", test, count), http.StatusBadRequest) + } + } +} + +func testCreateSharedEnvVariableCreateSharedEnvVariable0(w http.ResponseWriter, req *http.Request) { + if err := assert.SecurityAuthorizationHeader(req, true, "Bearer"); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusUnauthorized) + return + } + if err := assert.ContentType(req, "application/json", false); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + if err := assert.AcceptHeader(req, []string{"application/json"}); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + if err := assert.HeaderExists(req, "User-Agent"); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + var respBody *operations.CreateSharedEnvVariableResponseBody = &operations.CreateSharedEnvVariableResponseBody{ + Created: []operations.CreateSharedEnvVariableCreated{}, + Failed: []operations.CreateSharedEnvVariableFailed{}, + } + respBodyBytes, err := utils.MarshalJSON(respBody, "", true) + + if err != nil { + http.Error( + w, + "Unable to encode response body as JSON: "+err.Error(), + http.StatusInternalServerError, + ) + return + } + w.Header().Set("Content-Type", "application/json") + w.WriteHeader(http.StatusCreated) + _, _ = w.Write(respBodyBytes) +} diff --git a/src/__tests__/mockserver/internal/handler/pathpostv1logdrains.go b/src/__tests__/mockserver/internal/handler/pathpostv1logdrains.go new file mode 100644 index 000000000..f4293cd15 --- /dev/null +++ b/src/__tests__/mockserver/internal/handler/pathpostv1logdrains.go @@ -0,0 +1,67 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package handler + +import ( + "fmt" + "log" + "mockserver/internal/handler/assert" + "mockserver/internal/logging" + "mockserver/internal/sdk/models/operations" + "mockserver/internal/sdk/utils" + "mockserver/internal/tracking" + "net/http" +) + +func pathPostV1LogDrains(dir *logging.HTTPFileDirectory, rt *tracking.RequestTracker) http.HandlerFunc { + return func(w http.ResponseWriter, req *http.Request) { + test := req.Header.Get("x-speakeasy-test-name") + instanceID := req.Header.Get("x-speakeasy-test-instance-id") + + count := rt.GetRequestCount(test, instanceID) + + switch fmt.Sprintf("%s[%d]", test, count) { + case "createConfigurableLogDrain[0]": + dir.HandlerFunc("createConfigurableLogDrain", testCreateConfigurableLogDrainCreateConfigurableLogDrain0)(w, req) + default: + http.Error(w, fmt.Sprintf("Unknown test: %s[%d]", test, count), http.StatusBadRequest) + } + } +} + +func testCreateConfigurableLogDrainCreateConfigurableLogDrain0(w http.ResponseWriter, req *http.Request) { + if err := assert.SecurityAuthorizationHeader(req, true, "Bearer"); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusUnauthorized) + return + } + if err := assert.ContentType(req, "application/json", true); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + if err := assert.AcceptHeader(req, []string{"application/json"}); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + if err := assert.HeaderExists(req, "User-Agent"); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + var respBody *operations.CreateConfigurableLogDrainResponseBody = &operations.CreateConfigurableLogDrainResponseBody{} + respBodyBytes, err := utils.MarshalJSON(respBody, "", true) + + if err != nil { + http.Error( + w, + "Unable to encode response body as JSON: "+err.Error(), + http.StatusInternalServerError, + ) + return + } + w.Header().Set("Content-Type", "application/json") + w.WriteHeader(http.StatusOK) + _, _ = w.Write(respBodyBytes) +} diff --git a/src/__tests__/mockserver/internal/handler/pathpostv1projectsidornameclientcert.go b/src/__tests__/mockserver/internal/handler/pathpostv1projectsidornameclientcert.go new file mode 100644 index 000000000..779e23cb7 --- /dev/null +++ b/src/__tests__/mockserver/internal/handler/pathpostv1projectsidornameclientcert.go @@ -0,0 +1,71 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package handler + +import ( + "fmt" + "log" + "mockserver/internal/handler/assert" + "mockserver/internal/logging" + "mockserver/internal/sdk/models/operations" + "mockserver/internal/sdk/utils" + "mockserver/internal/tracking" + "net/http" +) + +func pathPostV1ProjectsIDOrNameClientCert(dir *logging.HTTPFileDirectory, rt *tracking.RequestTracker) http.HandlerFunc { + return func(w http.ResponseWriter, req *http.Request) { + test := req.Header.Get("x-speakeasy-test-name") + instanceID := req.Header.Get("x-speakeasy-test-instance-id") + + count := rt.GetRequestCount(test, instanceID) + + switch fmt.Sprintf("%s[%d]", test, count) { + case "uploadProjectClientCert[0]": + dir.HandlerFunc("uploadProjectClientCert", testUploadProjectClientCertUploadProjectClientCert0)(w, req) + default: + http.Error(w, fmt.Sprintf("Unknown test: %s[%d]", test, count), http.StatusBadRequest) + } + } +} + +func testUploadProjectClientCertUploadProjectClientCert0(w http.ResponseWriter, req *http.Request) { + if err := assert.SecurityAuthorizationHeader(req, true, "Bearer"); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusUnauthorized) + return + } + if err := assert.ContentType(req, "application/json", false); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + if err := assert.AcceptHeader(req, []string{"application/json"}); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + if err := assert.HeaderExists(req, "User-Agent"); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + var respBody *operations.UploadProjectClientCertResponseBody = &operations.UploadProjectClientCertResponseBody{ + Updated: false, + Origin: "", + CertID: "", + } + respBodyBytes, err := utils.MarshalJSON(respBody, "", true) + + if err != nil { + http.Error( + w, + "Unable to encode response body as JSON: "+err.Error(), + http.StatusInternalServerError, + ) + return + } + w.Header().Set("Content-Type", "application/json") + w.WriteHeader(http.StatusOK) + _, _ = w.Write(respBodyBytes) +} diff --git a/src/__tests__/mockserver/internal/handler/pathpostv1registrardomainsavailability.go b/src/__tests__/mockserver/internal/handler/pathpostv1registrardomainsavailability.go new file mode 100644 index 000000000..15ec53358 --- /dev/null +++ b/src/__tests__/mockserver/internal/handler/pathpostv1registrardomainsavailability.go @@ -0,0 +1,69 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package handler + +import ( + "fmt" + "log" + "mockserver/internal/handler/assert" + "mockserver/internal/logging" + "mockserver/internal/sdk/models/operations" + "mockserver/internal/sdk/utils" + "mockserver/internal/tracking" + "net/http" +) + +func pathPostV1RegistrarDomainsAvailability(dir *logging.HTTPFileDirectory, rt *tracking.RequestTracker) http.HandlerFunc { + return func(w http.ResponseWriter, req *http.Request) { + test := req.Header.Get("x-speakeasy-test-name") + instanceID := req.Header.Get("x-speakeasy-test-instance-id") + + count := rt.GetRequestCount(test, instanceID) + + switch fmt.Sprintf("%s[%d]", test, count) { + case "getBulkAvailability[0]": + dir.HandlerFunc("getBulkAvailability", testGetBulkAvailabilityGetBulkAvailability0)(w, req) + default: + http.Error(w, fmt.Sprintf("Unknown test: %s[%d]", test, count), http.StatusBadRequest) + } + } +} + +func testGetBulkAvailabilityGetBulkAvailability0(w http.ResponseWriter, req *http.Request) { + if err := assert.SecurityAuthorizationHeader(req, true, "Bearer"); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusUnauthorized) + return + } + if err := assert.ContentType(req, "application/json", true); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + if err := assert.AcceptHeader(req, []string{"application/json"}); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + if err := assert.HeaderExists(req, "User-Agent"); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + var respBody *operations.GetBulkAvailabilityResponseBody = &operations.GetBulkAvailabilityResponseBody{ + Results: []operations.GetBulkAvailabilityResult{}, + } + respBodyBytes, err := utils.MarshalJSON(respBody, "", true) + + if err != nil { + http.Error( + w, + "Unable to encode response body as JSON: "+err.Error(), + http.StatusInternalServerError, + ) + return + } + w.Header().Set("Content-Type", "application/json") + w.WriteHeader(http.StatusOK) + _, _ = w.Write(respBodyBytes) +} diff --git a/src/__tests__/mockserver/internal/handler/pathpostv1registrardomainsbuy.go b/src/__tests__/mockserver/internal/handler/pathpostv1registrardomainsbuy.go new file mode 100644 index 000000000..29d63ac31 --- /dev/null +++ b/src/__tests__/mockserver/internal/handler/pathpostv1registrardomainsbuy.go @@ -0,0 +1,70 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package handler + +import ( + "fmt" + "log" + "mockserver/internal/handler/assert" + "mockserver/internal/logging" + "mockserver/internal/sdk/models/operations" + "mockserver/internal/sdk/utils" + "mockserver/internal/tracking" + "net/http" +) + +func pathPostV1RegistrarDomainsBuy(dir *logging.HTTPFileDirectory, rt *tracking.RequestTracker) http.HandlerFunc { + return func(w http.ResponseWriter, req *http.Request) { + test := req.Header.Get("x-speakeasy-test-name") + instanceID := req.Header.Get("x-speakeasy-test-instance-id") + + count := rt.GetRequestCount(test, instanceID) + + switch fmt.Sprintf("%s[%d]", test, count) { + case "buyDomains[0]": + dir.HandlerFunc("buyDomains", testBuyDomainsBuyDomains0)(w, req) + default: + http.Error(w, fmt.Sprintf("Unknown test: %s[%d]", test, count), http.StatusBadRequest) + } + } +} + +func testBuyDomainsBuyDomains0(w http.ResponseWriter, req *http.Request) { + if err := assert.SecurityAuthorizationHeader(req, true, "Bearer"); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusUnauthorized) + return + } + if err := assert.ContentType(req, "application/json", true); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + if err := assert.AcceptHeader(req, []string{"application/json"}); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + if err := assert.HeaderExists(req, "User-Agent"); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + var respBody *operations.BuyDomainsResponseBody = &operations.BuyDomainsResponseBody{ + OrderID: "", + Links: map[string]operations.BuyDomainsLinks{}, + } + respBodyBytes, err := utils.MarshalJSON(respBody, "", true) + + if err != nil { + http.Error( + w, + "Unable to encode response body as JSON: "+err.Error(), + http.StatusInternalServerError, + ) + return + } + w.Header().Set("Content-Type", "application/json") + w.WriteHeader(http.StatusOK) + _, _ = w.Write(respBodyBytes) +} diff --git a/src/__tests__/mockserver/internal/handler/pathpostv1registrardomainsdomainbuy.go b/src/__tests__/mockserver/internal/handler/pathpostv1registrardomainsdomainbuy.go new file mode 100644 index 000000000..e4e90ef61 --- /dev/null +++ b/src/__tests__/mockserver/internal/handler/pathpostv1registrardomainsdomainbuy.go @@ -0,0 +1,75 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package handler + +import ( + "fmt" + "log" + "mockserver/internal/handler/assert" + "mockserver/internal/logging" + "mockserver/internal/sdk/models/operations" + "mockserver/internal/sdk/utils" + "mockserver/internal/tracking" + "net/http" +) + +func pathPostV1RegistrarDomainsDomainBuy(dir *logging.HTTPFileDirectory, rt *tracking.RequestTracker) http.HandlerFunc { + return func(w http.ResponseWriter, req *http.Request) { + test := req.Header.Get("x-speakeasy-test-name") + instanceID := req.Header.Get("x-speakeasy-test-instance-id") + + count := rt.GetRequestCount(test, instanceID) + + switch fmt.Sprintf("%s[%d]", test, count) { + case "buySingleDomain[0]": + dir.HandlerFunc("buySingleDomain", testBuySingleDomainBuySingleDomain0)(w, req) + default: + http.Error(w, fmt.Sprintf("Unknown test: %s[%d]", test, count), http.StatusBadRequest) + } + } +} + +func testBuySingleDomainBuySingleDomain0(w http.ResponseWriter, req *http.Request) { + if err := assert.SecurityAuthorizationHeader(req, true, "Bearer"); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusUnauthorized) + return + } + if err := assert.ContentType(req, "application/json", true); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + if err := assert.AcceptHeader(req, []string{"application/json"}); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + if err := assert.HeaderExists(req, "User-Agent"); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + var respBody *operations.BuySingleDomainResponseBody = &operations.BuySingleDomainResponseBody{ + OrderID: "", + Links: map[string]operations.BuySingleDomainLinks{ + "key": operations.BuySingleDomainLinks{ + Href: "", + Method: operations.BuySingleDomainMethodPut, + }, + }, + } + respBodyBytes, err := utils.MarshalJSON(respBody, "", true) + + if err != nil { + http.Error( + w, + "Unable to encode response body as JSON: "+err.Error(), + http.StatusInternalServerError, + ) + return + } + w.Header().Set("Content-Type", "application/json") + w.WriteHeader(http.StatusOK) + _, _ = w.Write(respBodyBytes) +} diff --git a/src/__tests__/mockserver/internal/handler/pathpostv1registrardomainsdomainrenew.go b/src/__tests__/mockserver/internal/handler/pathpostv1registrardomainsdomainrenew.go new file mode 100644 index 000000000..144a5b358 --- /dev/null +++ b/src/__tests__/mockserver/internal/handler/pathpostv1registrardomainsdomainrenew.go @@ -0,0 +1,70 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package handler + +import ( + "fmt" + "log" + "mockserver/internal/handler/assert" + "mockserver/internal/logging" + "mockserver/internal/sdk/models/operations" + "mockserver/internal/sdk/utils" + "mockserver/internal/tracking" + "net/http" +) + +func pathPostV1RegistrarDomainsDomainRenew(dir *logging.HTTPFileDirectory, rt *tracking.RequestTracker) http.HandlerFunc { + return func(w http.ResponseWriter, req *http.Request) { + test := req.Header.Get("x-speakeasy-test-name") + instanceID := req.Header.Get("x-speakeasy-test-instance-id") + + count := rt.GetRequestCount(test, instanceID) + + switch fmt.Sprintf("%s[%d]", test, count) { + case "renewDomain[0]": + dir.HandlerFunc("renewDomain", testRenewDomainRenewDomain0)(w, req) + default: + http.Error(w, fmt.Sprintf("Unknown test: %s[%d]", test, count), http.StatusBadRequest) + } + } +} + +func testRenewDomainRenewDomain0(w http.ResponseWriter, req *http.Request) { + if err := assert.SecurityAuthorizationHeader(req, true, "Bearer"); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusUnauthorized) + return + } + if err := assert.ContentType(req, "application/json", true); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + if err := assert.AcceptHeader(req, []string{"application/json"}); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + if err := assert.HeaderExists(req, "User-Agent"); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + var respBody *operations.RenewDomainResponseBody = &operations.RenewDomainResponseBody{ + OrderID: "", + Links: map[string]operations.RenewDomainLinks{}, + } + respBodyBytes, err := utils.MarshalJSON(respBody, "", true) + + if err != nil { + http.Error( + w, + "Unable to encode response body as JSON: "+err.Error(), + http.StatusInternalServerError, + ) + return + } + w.Header().Set("Content-Type", "application/json") + w.WriteHeader(http.StatusOK) + _, _ = w.Write(respBodyBytes) +} diff --git a/src/__tests__/mockserver/internal/handler/pathpostv1registrardomainsdomaintransfer.go b/src/__tests__/mockserver/internal/handler/pathpostv1registrardomainsdomaintransfer.go new file mode 100644 index 000000000..33d0a4a84 --- /dev/null +++ b/src/__tests__/mockserver/internal/handler/pathpostv1registrardomainsdomaintransfer.go @@ -0,0 +1,70 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package handler + +import ( + "fmt" + "log" + "mockserver/internal/handler/assert" + "mockserver/internal/logging" + "mockserver/internal/sdk/models/operations" + "mockserver/internal/sdk/utils" + "mockserver/internal/tracking" + "net/http" +) + +func pathPostV1RegistrarDomainsDomainTransfer(dir *logging.HTTPFileDirectory, rt *tracking.RequestTracker) http.HandlerFunc { + return func(w http.ResponseWriter, req *http.Request) { + test := req.Header.Get("x-speakeasy-test-name") + instanceID := req.Header.Get("x-speakeasy-test-instance-id") + + count := rt.GetRequestCount(test, instanceID) + + switch fmt.Sprintf("%s[%d]", test, count) { + case "transferInDomain[0]": + dir.HandlerFunc("transferInDomain", testTransferInDomainTransferInDomain0)(w, req) + default: + http.Error(w, fmt.Sprintf("Unknown test: %s[%d]", test, count), http.StatusBadRequest) + } + } +} + +func testTransferInDomainTransferInDomain0(w http.ResponseWriter, req *http.Request) { + if err := assert.SecurityAuthorizationHeader(req, true, "Bearer"); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusUnauthorized) + return + } + if err := assert.ContentType(req, "application/json", true); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + if err := assert.AcceptHeader(req, []string{"application/json"}); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + if err := assert.HeaderExists(req, "User-Agent"); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + var respBody *operations.TransferInDomainResponseBody = &operations.TransferInDomainResponseBody{ + OrderID: "", + Links: map[string]operations.TransferInDomainLinks{}, + } + respBodyBytes, err := utils.MarshalJSON(respBody, "", true) + + if err != nil { + http.Error( + w, + "Unable to encode response body as JSON: "+err.Error(), + http.StatusInternalServerError, + ) + return + } + w.Header().Set("Content-Type", "application/json") + w.WriteHeader(http.StatusOK) + _, _ = w.Write(respBodyBytes) +} diff --git a/src/__tests__/mockserver/internal/handler/pathpostv1storagestoresintegrationdirect.go b/src/__tests__/mockserver/internal/handler/pathpostv1storagestoresintegrationdirect.go index 24c5b54bf..5fdb0ba81 100644 --- a/src/__tests__/mockserver/internal/handler/pathpostv1storagestoresintegrationdirect.go +++ b/src/__tests__/mockserver/internal/handler/pathpostv1storagestoresintegrationdirect.go @@ -71,7 +71,7 @@ func testCreateIntegrationStoreDirectCreateIntegrationStoreDirect0(w http.Respon ExternalResourceID: "", Product: operations.CreateIntegrationStoreDirectProduct{ Value: operations.CreateIntegrationStoreDirectValue{ - AtBRANDAt8486: operations.ValueAtBRANDAt8486{}, + AtBRANDAt8795: operations.ValueAtBRANDAt8795{}, }, }, Secrets: []operations.CreateIntegrationStoreDirectSecret{}, diff --git a/src/__tests__/mockserver/internal/handler/pathpostv2integrationslogdrains.go b/src/__tests__/mockserver/internal/handler/pathpostv2integrationslogdrains.go index f83d47877..b81f5e99a 100644 --- a/src/__tests__/mockserver/internal/handler/pathpostv2integrationslogdrains.go +++ b/src/__tests__/mockserver/internal/handler/pathpostv2integrationslogdrains.go @@ -77,11 +77,9 @@ func testCreateLogDrainCreateLogDrain0(w http.ResponseWriter, req *http.Request) }, Branch: types.String("feature/*"), SamplingRate: types.Float64(0.5), - Source: operations.CreateCreateLogDrainSourceUnionCreateLogDrainSourceIntegration( - operations.CreateLogDrainSourceIntegration{ - Kind: operations.CreateLogDrainKindIntegrationIntegration, - IntegrationID: "", - IntegrationConfigurationID: "", + Source: operations.CreateCreateLogDrainSourceUnionCreateLogDrainSourceSelfServed( + operations.CreateLogDrainSourceSelfServed{ + Kind: operations.CreateLogDrainKindSelfServedSelfServed, }, ), } diff --git a/src/__tests__/mockserver/internal/handler/pathpostv2teamsteamidmembers.go b/src/__tests__/mockserver/internal/handler/pathpostv2teamsteamidmembers.go new file mode 100644 index 000000000..40dffa8f7 --- /dev/null +++ b/src/__tests__/mockserver/internal/handler/pathpostv2teamsteamidmembers.go @@ -0,0 +1,78 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package handler + +import ( + "fmt" + "log" + "mockserver/internal/handler/assert" + "mockserver/internal/logging" + "mockserver/internal/sdk/models/components" + "mockserver/internal/sdk/utils" + "mockserver/internal/tracking" + "net/http" +) + +func pathPostV2TeamsTeamIDMembers(dir *logging.HTTPFileDirectory, rt *tracking.RequestTracker) http.HandlerFunc { + return func(w http.ResponseWriter, req *http.Request) { + test := req.Header.Get("x-speakeasy-test-name") + instanceID := req.Header.Get("x-speakeasy-test-instance-id") + + count := rt.GetRequestCount(test, instanceID) + + switch fmt.Sprintf("%s[%d]", test, count) { + case "inviteUserToTeam[0]": + dir.HandlerFunc("inviteUserToTeam", testInviteUserToTeamInviteUserToTeam0)(w, req) + default: + http.Error(w, fmt.Sprintf("Unknown test: %s[%d]", test, count), http.StatusBadRequest) + } + } +} + +func testInviteUserToTeamInviteUserToTeam0(w http.ResponseWriter, req *http.Request) { + if err := assert.SecurityAuthorizationHeader(req, true, "Bearer"); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusUnauthorized) + return + } + if err := assert.ContentType(req, "application/json", false); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + if err := assert.AcceptHeader(req, []string{"application/json"}); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + if err := assert.HeaderExists(req, "User-Agent"); err != nil { + log.Printf("assertion error: %s\n", err) + http.Error(w, err.Error(), http.StatusBadRequest) + return + } + var respBody *components.InvitedTeamMember = &components.InvitedTeamMember{ + UID: "kr1PsOIzqEL5Xg6M4VZcZosf", + Username: "john-doe", + Email: "john@user.co", + Role: components.InvitedTeamMemberRoleMember, + TeamRoles: []components.InvitedTeamMemberTeamRole{ + components.InvitedTeamMemberTeamRoleMember, + }, + TeamPermissions: []components.InvitedTeamMemberTeamPermission{ + components.InvitedTeamMemberTeamPermissionCreateProject, + }, + } + respBodyBytes, err := utils.MarshalJSON(respBody, "", true) + + if err != nil { + http.Error( + w, + "Unable to encode response body as JSON: "+err.Error(), + http.StatusInternalServerError, + ) + return + } + w.Header().Set("Content-Type", "application/json") + w.WriteHeader(http.StatusOK) + _, _ = w.Write(respBodyBytes) +} diff --git a/src/__tests__/mockserver/internal/handler/pathputv1edgeconfigedgeconfigid.go b/src/__tests__/mockserver/internal/handler/pathputv1edgeconfigedgeconfigid.go index e8a597080..7900f1071 100644 --- a/src/__tests__/mockserver/internal/handler/pathputv1edgeconfigedgeconfigid.go +++ b/src/__tests__/mockserver/internal/handler/pathputv1edgeconfigedgeconfigid.go @@ -51,8 +51,8 @@ func testUpdateEdgeConfigUpdateEdgeConfig0(w http.ResponseWriter, req *http.Requ return } var respBody *operations.UpdateEdgeConfigResponseBody = &operations.UpdateEdgeConfigResponseBody{ - CreatedAt: 6027.63, - UpdatedAt: 5448.83, + CreatedAt: 5488.14, + UpdatedAt: 7151.9, ID: "", Slug: "", OwnerID: "", diff --git a/src/__tests__/mockserver/internal/sdk/models/components/authtoken.go b/src/__tests__/mockserver/internal/sdk/models/components/authtoken.go index ba5cc8653..cb79e543f 100644 --- a/src/__tests__/mockserver/internal/sdk/models/components/authtoken.go +++ b/src/__tests__/mockserver/internal/sdk/models/components/authtoken.go @@ -46,6 +46,7 @@ const ( AuthTokenOrigin2Sms AuthTokenOrigin2 = "sms" AuthTokenOrigin2Invite AuthTokenOrigin2 = "invite" AuthTokenOrigin2Google AuthTokenOrigin2 = "google" + AuthTokenOrigin2Apple AuthTokenOrigin2 = "apple" AuthTokenOrigin2App AuthTokenOrigin2 = "app" ) @@ -80,6 +81,8 @@ func (e *AuthTokenOrigin2) UnmarshalJSON(data []byte) error { fallthrough case "google": fallthrough + case "apple": + fallthrough case "app": *e = AuthTokenOrigin2(v) return nil @@ -241,6 +244,7 @@ const ( AuthTokenOrigin1Sms AuthTokenOrigin1 = "sms" AuthTokenOrigin1Invite AuthTokenOrigin1 = "invite" AuthTokenOrigin1Google AuthTokenOrigin1 = "google" + AuthTokenOrigin1Apple AuthTokenOrigin1 = "apple" AuthTokenOrigin1App AuthTokenOrigin1 = "app" ) @@ -275,6 +279,8 @@ func (e *AuthTokenOrigin1) UnmarshalJSON(data []byte) error { fallthrough case "google": fallthrough + case "apple": + fallthrough case "app": *e = AuthTokenOrigin1(v) return nil diff --git a/src/__tests__/mockserver/internal/sdk/models/components/authuser.go b/src/__tests__/mockserver/internal/sdk/models/components/authuser.go index 4dce24240..69542f720 100644 --- a/src/__tests__/mockserver/internal/sdk/models/components/authuser.go +++ b/src/__tests__/mockserver/internal/sdk/models/components/authuser.go @@ -262,6 +262,57 @@ func (o *AuthUserBuildEntitlements) GetEnhancedBuilds() *bool { return o.EnhancedBuilds } +// AuthUserConfiguration - An object containing infomation related to the amount of platform resources may be allocated to the User account. +type AuthUserConfiguration string + +const ( + AuthUserConfigurationSkipNamespaceQueue AuthUserConfiguration = "SKIP_NAMESPACE_QUEUE" + AuthUserConfigurationWaitForNamespaceQueue AuthUserConfiguration = "WAIT_FOR_NAMESPACE_QUEUE" +) + +func (e AuthUserConfiguration) ToPointer() *AuthUserConfiguration { + return &e +} +func (e *AuthUserConfiguration) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "SKIP_NAMESPACE_QUEUE": + fallthrough + case "WAIT_FOR_NAMESPACE_QUEUE": + *e = AuthUserConfiguration(v) + return nil + default: + return fmt.Errorf("invalid value for AuthUserConfiguration: %v", v) + } +} + +// AuthUserBuildQueue - An object containing infomation related to the amount of platform resources may be allocated to the User account. +type AuthUserBuildQueue struct { + // An object containing infomation related to the amount of platform resources may be allocated to the User account. + Configuration *AuthUserConfiguration `json:"configuration,omitempty"` +} + +func (a AuthUserBuildQueue) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(a, "", false) +} + +func (a *AuthUserBuildQueue) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &a, "", false, nil); err != nil { + return err + } + return nil +} + +func (o *AuthUserBuildQueue) GetConfiguration() *AuthUserConfiguration { + if o == nil { + return nil + } + return o.Configuration +} + // AuthUserPurchaseType - An object containing infomation related to the amount of platform resources may be allocated to the User account. type AuthUserPurchaseType string @@ -402,6 +453,8 @@ type AuthUserResourceConfig struct { // An object containing infomation related to the amount of platform resources may be allocated to the User account. BuildEntitlements *AuthUserBuildEntitlements `json:"buildEntitlements,omitempty"` // An object containing infomation related to the amount of platform resources may be allocated to the User account. + BuildQueue *AuthUserBuildQueue `json:"buildQueue,omitempty"` + // An object containing infomation related to the amount of platform resources may be allocated to the User account. AwsAccountType *string `json:"awsAccountType,omitempty"` // An object containing infomation related to the amount of platform resources may be allocated to the User account. AwsAccountIds []string `json:"awsAccountIds,omitempty"` @@ -486,6 +539,13 @@ func (o *AuthUserResourceConfig) GetBuildEntitlements() *AuthUserBuildEntitlemen return o.BuildEntitlements } +func (o *AuthUserResourceConfig) GetBuildQueue() *AuthUserBuildQueue { + if o == nil { + return nil + } + return o.BuildQueue +} + func (o *AuthUserResourceConfig) GetAwsAccountType() *string { if o == nil { return nil diff --git a/src/__tests__/mockserver/internal/sdk/models/components/filetree.go b/src/__tests__/mockserver/internal/sdk/models/components/filetree.go index ca008fefb..1ffc063a9 100644 --- a/src/__tests__/mockserver/internal/sdk/models/components/filetree.go +++ b/src/__tests__/mockserver/internal/sdk/models/components/filetree.go @@ -60,8 +60,6 @@ type FileTree struct { ContentType *string `json:"contentType,omitempty"` // The file "mode" indicating file type and permissions. Mode float64 `json:"mode"` - // Not currently used. See `file-list-to-tree.ts`. - Symlink *string `json:"symlink,omitempty"` } func (o *FileTree) GetName() string { @@ -105,10 +103,3 @@ func (o *FileTree) GetMode() float64 { } return o.Mode } - -func (o *FileTree) GetSymlink() *string { - if o == nil { - return nil - } - return o.Symlink -} diff --git a/src/__tests__/mockserver/internal/sdk/models/components/forbiddenerror.go b/src/__tests__/mockserver/internal/sdk/models/components/forbiddenerror.go new file mode 100644 index 000000000..9279567c9 --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/components/forbiddenerror.go @@ -0,0 +1,31 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package components + +import ( + "encoding/json" + "fmt" +) + +type ForbiddenCode string + +const ( + ForbiddenCodeForbidden ForbiddenCode = "forbidden" +) + +func (e ForbiddenCode) ToPointer() *ForbiddenCode { + return &e +} +func (e *ForbiddenCode) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "forbidden": + *e = ForbiddenCode(v) + return nil + default: + return fmt.Errorf("invalid value for ForbiddenCode: %v", v) + } +} diff --git a/src/__tests__/mockserver/internal/sdk/models/components/internalservererror.go b/src/__tests__/mockserver/internal/sdk/models/components/internalservererror.go new file mode 100644 index 000000000..fa32959f8 --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/components/internalservererror.go @@ -0,0 +1,31 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package components + +import ( + "encoding/json" + "fmt" +) + +type InternalServerErrorCode string + +const ( + InternalServerErrorCodeInternalServerError InternalServerErrorCode = "internal_server_error" +) + +func (e InternalServerErrorCode) ToPointer() *InternalServerErrorCode { + return &e +} +func (e *InternalServerErrorCode) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "internal_server_error": + *e = InternalServerErrorCode(v) + return nil + default: + return fmt.Errorf("invalid value for InternalServerErrorCode: %v", v) + } +} diff --git a/src/__tests__/mockserver/internal/sdk/models/components/invitedteammember.go b/src/__tests__/mockserver/internal/sdk/models/components/invitedteammember.go new file mode 100644 index 000000000..9ce9e8c86 --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/components/invitedteammember.go @@ -0,0 +1,204 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package components + +import ( + "encoding/json" + "fmt" +) + +// InvitedTeamMemberRole - The role used for the invitation +type InvitedTeamMemberRole string + +const ( + InvitedTeamMemberRoleOwner InvitedTeamMemberRole = "OWNER" + InvitedTeamMemberRoleMember InvitedTeamMemberRole = "MEMBER" + InvitedTeamMemberRoleDeveloper InvitedTeamMemberRole = "DEVELOPER" + InvitedTeamMemberRoleSecurity InvitedTeamMemberRole = "SECURITY" + InvitedTeamMemberRoleBilling InvitedTeamMemberRole = "BILLING" + InvitedTeamMemberRoleViewer InvitedTeamMemberRole = "VIEWER" + InvitedTeamMemberRoleViewerForPlus InvitedTeamMemberRole = "VIEWER_FOR_PLUS" + InvitedTeamMemberRoleContributor InvitedTeamMemberRole = "CONTRIBUTOR" +) + +func (e InvitedTeamMemberRole) ToPointer() *InvitedTeamMemberRole { + return &e +} +func (e *InvitedTeamMemberRole) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "OWNER": + fallthrough + case "MEMBER": + fallthrough + case "DEVELOPER": + fallthrough + case "SECURITY": + fallthrough + case "BILLING": + fallthrough + case "VIEWER": + fallthrough + case "VIEWER_FOR_PLUS": + fallthrough + case "CONTRIBUTOR": + *e = InvitedTeamMemberRole(v) + return nil + default: + return fmt.Errorf("invalid value for InvitedTeamMemberRole: %v", v) + } +} + +// InvitedTeamMemberTeamRole - The team roles of the user +type InvitedTeamMemberTeamRole string + +const ( + InvitedTeamMemberTeamRoleOwner InvitedTeamMemberTeamRole = "OWNER" + InvitedTeamMemberTeamRoleMember InvitedTeamMemberTeamRole = "MEMBER" + InvitedTeamMemberTeamRoleDeveloper InvitedTeamMemberTeamRole = "DEVELOPER" + InvitedTeamMemberTeamRoleSecurity InvitedTeamMemberTeamRole = "SECURITY" + InvitedTeamMemberTeamRoleBilling InvitedTeamMemberTeamRole = "BILLING" + InvitedTeamMemberTeamRoleViewer InvitedTeamMemberTeamRole = "VIEWER" + InvitedTeamMemberTeamRoleViewerForPlus InvitedTeamMemberTeamRole = "VIEWER_FOR_PLUS" + InvitedTeamMemberTeamRoleContributor InvitedTeamMemberTeamRole = "CONTRIBUTOR" +) + +func (e InvitedTeamMemberTeamRole) ToPointer() *InvitedTeamMemberTeamRole { + return &e +} +func (e *InvitedTeamMemberTeamRole) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "OWNER": + fallthrough + case "MEMBER": + fallthrough + case "DEVELOPER": + fallthrough + case "SECURITY": + fallthrough + case "BILLING": + fallthrough + case "VIEWER": + fallthrough + case "VIEWER_FOR_PLUS": + fallthrough + case "CONTRIBUTOR": + *e = InvitedTeamMemberTeamRole(v) + return nil + default: + return fmt.Errorf("invalid value for InvitedTeamMemberTeamRole: %v", v) + } +} + +// InvitedTeamMemberTeamPermission - The team permissions of the user +type InvitedTeamMemberTeamPermission string + +const ( + InvitedTeamMemberTeamPermissionIntegrationManager InvitedTeamMemberTeamPermission = "IntegrationManager" + InvitedTeamMemberTeamPermissionCreateProject InvitedTeamMemberTeamPermission = "CreateProject" + InvitedTeamMemberTeamPermissionFullProductionDeployment InvitedTeamMemberTeamPermission = "FullProductionDeployment" + InvitedTeamMemberTeamPermissionUsageViewer InvitedTeamMemberTeamPermission = "UsageViewer" + InvitedTeamMemberTeamPermissionEnvVariableManager InvitedTeamMemberTeamPermission = "EnvVariableManager" + InvitedTeamMemberTeamPermissionEnvironmentManager InvitedTeamMemberTeamPermission = "EnvironmentManager" + InvitedTeamMemberTeamPermissionV0Builder InvitedTeamMemberTeamPermission = "V0Builder" + InvitedTeamMemberTeamPermissionV0Chatter InvitedTeamMemberTeamPermission = "V0Chatter" + InvitedTeamMemberTeamPermissionV0Viewer InvitedTeamMemberTeamPermission = "V0Viewer" +) + +func (e InvitedTeamMemberTeamPermission) ToPointer() *InvitedTeamMemberTeamPermission { + return &e +} +func (e *InvitedTeamMemberTeamPermission) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "IntegrationManager": + fallthrough + case "CreateProject": + fallthrough + case "FullProductionDeployment": + fallthrough + case "UsageViewer": + fallthrough + case "EnvVariableManager": + fallthrough + case "EnvironmentManager": + fallthrough + case "V0Builder": + fallthrough + case "V0Chatter": + fallthrough + case "V0Viewer": + *e = InvitedTeamMemberTeamPermission(v) + return nil + default: + return fmt.Errorf("invalid value for InvitedTeamMemberTeamPermission: %v", v) + } +} + +// InvitedTeamMember - The member was successfully added to the team. +type InvitedTeamMember struct { + // The ID of the invited user + UID string `json:"uid"` + // The username of the invited user + Username string `json:"username"` + // The email of the invited user. + Email string `json:"email"` + // The role used for the invitation + Role InvitedTeamMemberRole `json:"role"` + // The team roles of the user + TeamRoles []InvitedTeamMemberTeamRole `json:"teamRoles,omitempty"` + // The team permissions of the user + TeamPermissions []InvitedTeamMemberTeamPermission `json:"teamPermissions,omitempty"` +} + +func (o *InvitedTeamMember) GetUID() string { + if o == nil { + return "" + } + return o.UID +} + +func (o *InvitedTeamMember) GetUsername() string { + if o == nil { + return "" + } + return o.Username +} + +func (o *InvitedTeamMember) GetEmail() string { + if o == nil { + return "" + } + return o.Email +} + +func (o *InvitedTeamMember) GetRole() InvitedTeamMemberRole { + if o == nil { + return InvitedTeamMemberRole("") + } + return o.Role +} + +func (o *InvitedTeamMember) GetTeamRoles() []InvitedTeamMemberTeamRole { + if o == nil { + return nil + } + return o.TeamRoles +} + +func (o *InvitedTeamMember) GetTeamPermissions() []InvitedTeamMemberTeamPermission { + if o == nil { + return nil + } + return o.TeamPermissions +} diff --git a/src/__tests__/mockserver/internal/sdk/models/components/notauthorizedforscopeerror.go b/src/__tests__/mockserver/internal/sdk/models/components/notauthorizedforscopeerror.go new file mode 100644 index 000000000..533eb1f7a --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/components/notauthorizedforscopeerror.go @@ -0,0 +1,31 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package components + +import ( + "encoding/json" + "fmt" +) + +type NotAuthorizedForScopeCode string + +const ( + NotAuthorizedForScopeCodeNotAuthorizedForScope NotAuthorizedForScopeCode = "not_authorized_for_scope" +) + +func (e NotAuthorizedForScopeCode) ToPointer() *NotAuthorizedForScopeCode { + return &e +} +func (e *NotAuthorizedForScopeCode) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "not_authorized_for_scope": + *e = NotAuthorizedForScopeCode(v) + return nil + default: + return fmt.Errorf("invalid value for NotAuthorizedForScopeCode: %v", v) + } +} diff --git a/src/__tests__/mockserver/internal/sdk/models/components/userevent.go b/src/__tests__/mockserver/internal/sdk/models/components/userevent.go index 777f94999..a9c1f74af 100644 --- a/src/__tests__/mockserver/internal/sdk/models/components/userevent.go +++ b/src/__tests__/mockserver/internal/sdk/models/components/userevent.go @@ -14,6 +14,7 @@ import ( type EntityType string const ( + EntityTypeApp EntityType = "app" EntityTypeAuthor EntityType = "author" EntityTypeBitbucketLogin EntityType = "bitbucket_login" EntityTypeBold EntityType = "bold" @@ -46,6 +47,8 @@ func (e *EntityType) UnmarshalJSON(data []byte) error { return err } switch v { + case "app": + fallthrough case "author": fallthrough case "bitbucket_login": @@ -595,9 +598,7 @@ type GrantType string const ( GrantTypeAuthorizationCode GrantType = "authorization_code" - GrantTypeRefreshToken GrantType = "refresh_token" GrantTypeUrnIetfParamsOauthGrantTypeDeviceCode GrantType = "urn:ietf:params:oauth:grant-type:device_code" - GrantTypeClientCredentials GrantType = "client_credentials" ) func (e GrantType) ToPointer() *GrantType { @@ -611,11 +612,7 @@ func (e *GrantType) UnmarshalJSON(data []byte) error { switch v { case "authorization_code": fallthrough - case "refresh_token": - fallthrough case "urn:ietf:params:oauth:grant-type:device_code": - fallthrough - case "client_credentials": *e = GrantType(v) return nil default: @@ -638,6 +635,7 @@ const ( AuthMethodSms AuthMethod = "sms" AuthMethodInvite AuthMethod = "invite" AuthMethodGoogle AuthMethod = "google" + AuthMethodApple AuthMethod = "apple" ) func (e AuthMethod) ToPointer() *AuthMethod { @@ -672,6 +670,8 @@ func (e *AuthMethod) UnmarshalJSON(data []byte) error { case "invite": fallthrough case "google": + fallthrough + case "apple": *e = AuthMethod(v) return nil default: @@ -679,71 +679,216 @@ func (e *AuthMethod) UnmarshalJSON(data []byte) error { } } -// Payload164 - The payload of the event, if requested. -type Payload164 struct { +type Method string + +const ( + MethodNone Method = "none" + MethodClientSecretBasic Method = "client_secret_basic" + MethodClientSecretPost Method = "client_secret_post" + MethodClientSecretJwt Method = "client_secret_jwt" + MethodPrivateKeyJwt Method = "private_key_jwt" + MethodOidcToken Method = "oidc_token" +) + +func (e Method) ToPointer() *Method { + return &e +} +func (e *Method) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "none": + fallthrough + case "client_secret_basic": + fallthrough + case "client_secret_post": + fallthrough + case "client_secret_jwt": + fallthrough + case "private_key_jwt": + fallthrough + case "oidc_token": + *e = Method(v) + return nil + default: + return fmt.Errorf("invalid value for Method: %v", v) + } +} + +type ClientAuthenticationUsed struct { + Method Method `json:"method"` + SecretID *string `json:"secretId,omitempty"` +} + +func (c ClientAuthenticationUsed) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(c, "", false) +} + +func (c *ClientAuthenticationUsed) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &c, "", false, []string{"method"}); err != nil { + return err + } + return nil +} + +func (o *ClientAuthenticationUsed) GetMethod() Method { + if o == nil { + return Method("") + } + return o.Method +} + +func (o *ClientAuthenticationUsed) GetSecretID() *string { + if o == nil { + return nil + } + return o.SecretID +} + +// App2 - optional since entries prior to 2025-10-13 do not contain app information +type App2 struct { + ClientID string `json:"clientId"` + // the app's name at the time the event was published (it could have changed since then) + Name string `json:"name"` + ClientAuthenticationUsed ClientAuthenticationUsed `json:"clientAuthenticationUsed"` +} + +func (a App2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(a, "", false) +} + +func (a *App2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &a, "", false, []string{"clientId", "name", "clientAuthenticationUsed"}); err != nil { + return err + } + return nil +} + +func (o *App2) GetClientID() string { + if o == nil { + return "" + } + return o.ClientID +} + +func (o *App2) GetName() string { + if o == nil { + return "" + } + return o.Name +} + +func (o *App2) GetClientAuthenticationUsed() ClientAuthenticationUsed { + if o == nil { + return ClientAuthenticationUsed{} + } + return o.ClientAuthenticationUsed +} + +// Payload167 - The payload of the event, if requested. +type Payload167 struct { GrantType GrantType `json:"grantType"` - AppName string `json:"appName"` + // the app's name at the time the event was published (it could have changed since then) + AppName string `json:"appName"` // access_token TTL AtTTL float64 `json:"atTTL"` // refresh_token TTL RtTTL *float64 `json:"rtTTL,omitempty"` Scope string `json:"scope"` AuthMethod AuthMethod `json:"authMethod"` + // optional since entries prior to 2025-10-13 do not contain app information + App *App2 `json:"app,omitempty"` + // optional since entries prior to 2025-10-13 do not contain this field + IncludesRefreshToken *bool `json:"includesRefreshToken,omitempty"` + // optional since entries prior to 2025-10-13 do not contain this field + PublicID *string `json:"publicId,omitempty"` + // optional since entries prior to 2025-10-13 do not contain this field + SessionID *string `json:"sessionId,omitempty"` } -func (p Payload164) MarshalJSON() ([]byte, error) { +func (p Payload167) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload164) UnmarshalJSON(data []byte) error { +func (p *Payload167) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"grantType", "appName", "atTTL", "scope", "authMethod"}); err != nil { return err } return nil } -func (o *Payload164) GetGrantType() GrantType { +func (o *Payload167) GetGrantType() GrantType { if o == nil { return GrantType("") } return o.GrantType } -func (o *Payload164) GetAppName() string { +func (o *Payload167) GetAppName() string { if o == nil { return "" } return o.AppName } -func (o *Payload164) GetAtTTL() float64 { +func (o *Payload167) GetAtTTL() float64 { if o == nil { return 0.0 } return o.AtTTL } -func (o *Payload164) GetRtTTL() *float64 { +func (o *Payload167) GetRtTTL() *float64 { if o == nil { return nil } return o.RtTTL } -func (o *Payload164) GetScope() string { +func (o *Payload167) GetScope() string { if o == nil { return "" } return o.Scope } -func (o *Payload164) GetAuthMethod() AuthMethod { +func (o *Payload167) GetAuthMethod() AuthMethod { if o == nil { return AuthMethod("") } return o.AuthMethod } +func (o *Payload167) GetApp() *App2 { + if o == nil { + return nil + } + return o.App +} + +func (o *Payload167) GetIncludesRefreshToken() *bool { + if o == nil { + return nil + } + return o.IncludesRefreshToken +} + +func (o *Payload167) GetPublicID() *string { + if o == nil { + return nil + } + return o.PublicID +} + +func (o *Payload167) GetSessionID() *string { + if o == nil { + return nil + } + return o.SessionID +} + type UserEventTeam10 struct { ID string `json:"id"` Name string `json:"name"` @@ -774,30 +919,30 @@ func (o *UserEventTeam10) GetName() string { return o.Name } -type Configuration8 struct { +type UserEventConfiguration8 struct { ID string `json:"id"` Name *string `json:"name,omitempty"` } -func (c Configuration8) MarshalJSON() ([]byte, error) { - return utils.MarshalJSON(c, "", false) +func (u UserEventConfiguration8) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(u, "", false) } -func (c *Configuration8) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &c, "", false, []string{"id"}); err != nil { +func (u *UserEventConfiguration8) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &u, "", false, []string{"id"}); err != nil { return err } return nil } -func (o *Configuration8) GetID() string { +func (o *UserEventConfiguration8) GetID() string { if o == nil { return "" } return o.ID } -func (o *Configuration8) GetName() *string { +func (o *UserEventConfiguration8) GetName() *string { if o == nil { return nil } @@ -834,47 +979,47 @@ func (o *Peering3) GetName() *string { return o.Name } -// Payload163 - The payload of the event, if requested. -type Payload163 struct { - Team UserEventTeam10 `json:"team"` - Configuration Configuration8 `json:"configuration"` - Peering Peering3 `json:"peering"` - NewName *string `json:"newName,omitempty"` +// Payload166 - The payload of the event, if requested. +type Payload166 struct { + Team UserEventTeam10 `json:"team"` + Configuration UserEventConfiguration8 `json:"configuration"` + Peering Peering3 `json:"peering"` + NewName *string `json:"newName,omitempty"` } -func (p Payload163) MarshalJSON() ([]byte, error) { +func (p Payload166) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload163) UnmarshalJSON(data []byte) error { +func (p *Payload166) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"team", "configuration", "peering"}); err != nil { return err } return nil } -func (o *Payload163) GetTeam() UserEventTeam10 { +func (o *Payload166) GetTeam() UserEventTeam10 { if o == nil { return UserEventTeam10{} } return o.Team } -func (o *Payload163) GetConfiguration() Configuration8 { +func (o *Payload166) GetConfiguration() UserEventConfiguration8 { if o == nil { - return Configuration8{} + return UserEventConfiguration8{} } return o.Configuration } -func (o *Payload163) GetPeering() Peering3 { +func (o *Payload166) GetPeering() Peering3 { if o == nil { return Peering3{} } return o.Peering } -func (o *Payload163) GetNewName() *string { +func (o *Payload166) GetNewName() *string { if o == nil { return nil } @@ -911,30 +1056,30 @@ func (o *UserEventTeam9) GetName() string { return o.Name } -type Configuration7 struct { +type UserEventConfiguration7 struct { ID string `json:"id"` Name *string `json:"name,omitempty"` } -func (c Configuration7) MarshalJSON() ([]byte, error) { - return utils.MarshalJSON(c, "", false) +func (u UserEventConfiguration7) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(u, "", false) } -func (c *Configuration7) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &c, "", false, []string{"id"}); err != nil { +func (u *UserEventConfiguration7) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &u, "", false, []string{"id"}); err != nil { return err } return nil } -func (o *Configuration7) GetID() string { +func (o *UserEventConfiguration7) GetID() string { if o == nil { return "" } return o.ID } -func (o *Configuration7) GetName() *string { +func (o *UserEventConfiguration7) GetName() *string { if o == nil { return nil } @@ -971,39 +1116,39 @@ func (o *Peering2) GetName() *string { return o.Name } -// Payload162 - The payload of the event, if requested. -type Payload162 struct { - Team UserEventTeam9 `json:"team"` - Configuration Configuration7 `json:"configuration"` - Peering Peering2 `json:"peering"` +// Payload165 - The payload of the event, if requested. +type Payload165 struct { + Team UserEventTeam9 `json:"team"` + Configuration UserEventConfiguration7 `json:"configuration"` + Peering Peering2 `json:"peering"` } -func (p Payload162) MarshalJSON() ([]byte, error) { +func (p Payload165) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload162) UnmarshalJSON(data []byte) error { +func (p *Payload165) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"team", "configuration", "peering"}); err != nil { return err } return nil } -func (o *Payload162) GetTeam() UserEventTeam9 { +func (o *Payload165) GetTeam() UserEventTeam9 { if o == nil { return UserEventTeam9{} } return o.Team } -func (o *Payload162) GetConfiguration() Configuration7 { +func (o *Payload165) GetConfiguration() UserEventConfiguration7 { if o == nil { - return Configuration7{} + return UserEventConfiguration7{} } return o.Configuration } -func (o *Payload162) GetPeering() Peering2 { +func (o *Payload165) GetPeering() Peering2 { if o == nil { return Peering2{} } @@ -1040,30 +1185,30 @@ func (o *UserEventTeam8) GetName() string { return o.Name } -type Configuration6 struct { +type UserEventConfiguration6 struct { ID string `json:"id"` Name *string `json:"name,omitempty"` } -func (c Configuration6) MarshalJSON() ([]byte, error) { - return utils.MarshalJSON(c, "", false) +func (u UserEventConfiguration6) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(u, "", false) } -func (c *Configuration6) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &c, "", false, []string{"id"}); err != nil { +func (u *UserEventConfiguration6) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &u, "", false, []string{"id"}); err != nil { return err } return nil } -func (o *Configuration6) GetID() string { +func (o *UserEventConfiguration6) GetID() string { if o == nil { return "" } return o.ID } -func (o *Configuration6) GetName() *string { +func (o *UserEventConfiguration6) GetName() *string { if o == nil { return nil } @@ -1116,256 +1261,1122 @@ func (o *Peering1) GetVpcID() string { return o.VpcID } -// Payload161 - The payload of the event, if requested. -type Payload161 struct { - Team UserEventTeam8 `json:"team"` - Configuration Configuration6 `json:"configuration"` - Peering Peering1 `json:"peering"` +// Payload164 - The payload of the event, if requested. +type Payload164 struct { + Team UserEventTeam8 `json:"team"` + Configuration UserEventConfiguration6 `json:"configuration"` + Peering Peering1 `json:"peering"` } -func (p Payload161) MarshalJSON() ([]byte, error) { +func (p Payload164) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload161) UnmarshalJSON(data []byte) error { +func (p *Payload164) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"team", "configuration", "peering"}); err != nil { return err } return nil } -func (o *Payload161) GetTeam() UserEventTeam8 { +func (o *Payload164) GetTeam() UserEventTeam8 { if o == nil { return UserEventTeam8{} } return o.Team } -func (o *Payload161) GetConfiguration() Configuration6 { +func (o *Payload164) GetConfiguration() UserEventConfiguration6 { if o == nil { - return Configuration6{} + return UserEventConfiguration6{} } return o.Configuration } -func (o *Payload161) GetPeering() Peering1 { +func (o *Payload164) GetPeering() Peering1 { if o == nil { return Peering1{} } return o.Peering } -// Payload160 - The payload of the event, if requested. -type Payload160 struct { - AppName string `json:"appName"` - AppID *string `json:"appId,omitempty"` - InstallationID *string `json:"installationId,omitempty"` +// App1 - Note that not all historical events have this field. +type App1 struct { + // The App's ID. + ID string `json:"id"` + // The App's name at the moment this even was published (it may have changed since then). + Name string `json:"name"` } -func (p Payload160) MarshalJSON() ([]byte, error) { - return utils.MarshalJSON(p, "", false) +func (a App1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(a, "", false) } -func (p *Payload160) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &p, "", false, []string{"appName"}); err != nil { +func (a *App1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &a, "", false, []string{"id", "name"}); err != nil { return err } return nil } -func (o *Payload160) GetAppName() string { +func (o *App1) GetID() string { if o == nil { return "" } - return o.AppName -} - -func (o *Payload160) GetAppID() *string { - if o == nil { - return nil - } - return o.AppID + return o.ID } -func (o *Payload160) GetInstallationID() *string { +func (o *App1) GetName() string { if o == nil { - return nil + return "" } - return o.InstallationID + return o.Name } -// Payload159 - The payload of the event, if requested. -type Payload159 struct { - AppName string `json:"appName"` - AppID *string `json:"appId,omitempty"` +// Payload163 - The payload of the event, if requested. +type Payload163 struct { + // The App's name at the moment this even was published (it may have changed since then). + AppName string `json:"appName"` + // The App's ID. Note that not all historical events have this field. + AppID *string `json:"appId,omitempty"` + // Note that not all historical events have this field. + App *App1 `json:"app,omitempty"` + // UNIX timestamp in seconds. Tokens issued before this timestamp will be revoked. Note that not all historical events have this field. + IssuedBefore *float64 `json:"issuedBefore,omitempty"` } -func (p Payload159) MarshalJSON() ([]byte, error) { +func (p Payload163) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload159) UnmarshalJSON(data []byte) error { +func (p *Payload163) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"appName"}); err != nil { return err } return nil } -func (o *Payload159) GetAppName() string { +func (o *Payload163) GetAppName() string { if o == nil { return "" } return o.AppName } -func (o *Payload159) GetAppID() *string { +func (o *Payload163) GetAppID() *string { if o == nil { return nil } return o.AppID } -// Payload158 - The payload of the event, if requested. -type Payload158 struct { - AppName string `json:"appName"` - AppID string `json:"appId"` +func (o *Payload163) GetApp() *App1 { + if o == nil { + return nil + } + return o.App } -func (p Payload158) MarshalJSON() ([]byte, error) { - return utils.MarshalJSON(p, "", false) +func (o *Payload163) GetIssuedBefore() *float64 { + if o == nil { + return nil + } + return o.IssuedBefore } -func (p *Payload158) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &p, "", false, []string{"appName", "appId"}); err != nil { +type BeforeType string + +const ( + BeforeTypeList BeforeType = "list" +) + +func (e BeforeType) ToPointer() *BeforeType { + return &e +} +func (e *BeforeType) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { return err } - return nil -} - -func (o *Payload158) GetAppName() string { - if o == nil { - return "" + switch v { + case "list": + *e = BeforeType(v) + return nil + default: + return fmt.Errorf("invalid value for BeforeType: %v", v) } - return o.AppName } -func (o *Payload158) GetAppID() string { - if o == nil { - return "" +type BeforeTypeString string + +const ( + BeforeTypeStringString BeforeTypeString = "string" +) + +func (e BeforeTypeString) ToPointer() *BeforeTypeString { + return &e +} +func (e *BeforeTypeString) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "string": + *e = BeforeTypeString(v) + return nil + default: + return fmt.Errorf("invalid value for BeforeTypeString: %v", v) } - return o.AppID } -// Payload157 - The payload of the event, if requested. -type Payload157 struct { - AppName string `json:"appName"` +type BeforeItems struct { + Type BeforeTypeString `json:"type"` } -func (p Payload157) MarshalJSON() ([]byte, error) { - return utils.MarshalJSON(p, "", false) +func (b BeforeItems) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(b, "", false) } -func (p *Payload157) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &p, "", false, []string{"appName"}); err != nil { +func (b *BeforeItems) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &b, "", false, []string{"type"}); err != nil { return err } return nil } -func (o *Payload157) GetAppName() string { +func (o *BeforeItems) GetType() BeforeTypeString { if o == nil { - return "" + return BeforeTypeString("") } - return o.AppName + return o.Type } -// Payload156 - The payload of the event, if requested. -type Payload156 struct { - AppName string `json:"appName"` - NextScopes []string `json:"nextScopes"` +type BeforeProjectIds struct { + Type BeforeType `json:"type"` + Required bool `json:"required"` + Items BeforeItems `json:"items"` } -func (p Payload156) MarshalJSON() ([]byte, error) { - return utils.MarshalJSON(p, "", false) +func (b BeforeProjectIds) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(b, "", false) } -func (p *Payload156) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &p, "", false, []string{"appName", "nextScopes"}); err != nil { +func (b *BeforeProjectIds) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &b, "", false, []string{"type", "required", "items"}); err != nil { return err } return nil } -func (o *Payload156) GetAppName() string { +func (o *BeforeProjectIds) GetType() BeforeType { if o == nil { - return "" + return BeforeType("") } - return o.AppName + return o.Type } -func (o *Payload156) GetNextScopes() []string { +func (o *BeforeProjectIds) GetRequired() bool { if o == nil { - return []string{} + return false } - return o.NextScopes + return o.Required } -// Payload155 - The payload of the event, if requested. -type Payload155 struct { - AppName string `json:"appName"` - Scopes []string `json:"scopes"` +func (o *BeforeProjectIds) GetItems() BeforeItems { + if o == nil { + return BeforeItems{} + } + return o.Items } -func (p Payload155) MarshalJSON() ([]byte, error) { - return utils.MarshalJSON(p, "", false) +type BeforeResources struct { + ProjectIds BeforeProjectIds `json:"projectIds"` } -func (p *Payload155) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &p, "", false, []string{"appName", "scopes"}); err != nil { +func (b BeforeResources) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(b, "", false) +} + +func (b *BeforeResources) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &b, "", false, []string{"projectIds"}); err != nil { return err } return nil } -func (o *Payload155) GetAppName() string { +func (o *BeforeResources) GetProjectIds() BeforeProjectIds { if o == nil { - return "" + return BeforeProjectIds{} } - return o.AppName + return o.ProjectIds } -func (o *Payload155) GetScopes() []string { - if o == nil { - return []string{} - } - return o.Scopes +type Before struct { + Resources *BeforeResources `json:"resources,omitempty"` } -// Payload154 - The payload of the event, if requested. -type Payload154 struct { - OldName string `json:"oldName"` - NewName string `json:"newName"` +func (b Before) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(b, "", false) +} + +func (b *Before) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &b, "", false, nil); err != nil { + return err + } + return nil +} + +func (o *Before) GetResources() *BeforeResources { + if o == nil { + return nil + } + return o.Resources +} + +type AfterType string + +const ( + AfterTypeList AfterType = "list" +) + +func (e AfterType) ToPointer() *AfterType { + return &e +} +func (e *AfterType) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "list": + *e = AfterType(v) + return nil + default: + return fmt.Errorf("invalid value for AfterType: %v", v) + } +} + +type AfterTypeString string + +const ( + AfterTypeStringString AfterTypeString = "string" +) + +func (e AfterTypeString) ToPointer() *AfterTypeString { + return &e +} +func (e *AfterTypeString) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "string": + *e = AfterTypeString(v) + return nil + default: + return fmt.Errorf("invalid value for AfterTypeString: %v", v) + } +} + +type AfterItems struct { + Type AfterTypeString `json:"type"` +} + +func (a AfterItems) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(a, "", false) +} + +func (a *AfterItems) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &a, "", false, []string{"type"}); err != nil { + return err + } + return nil +} + +func (o *AfterItems) GetType() AfterTypeString { + if o == nil { + return AfterTypeString("") + } + return o.Type +} + +type AfterProjectIds struct { + Type AfterType `json:"type"` + Required bool `json:"required"` + Items AfterItems `json:"items"` +} + +func (a AfterProjectIds) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(a, "", false) +} + +func (a *AfterProjectIds) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &a, "", false, []string{"type", "required", "items"}); err != nil { + return err + } + return nil +} + +func (o *AfterProjectIds) GetType() AfterType { + if o == nil { + return AfterType("") + } + return o.Type +} + +func (o *AfterProjectIds) GetRequired() bool { + if o == nil { + return false + } + return o.Required +} + +func (o *AfterProjectIds) GetItems() AfterItems { + if o == nil { + return AfterItems{} + } + return o.Items +} + +type AfterResources struct { + ProjectIds AfterProjectIds `json:"projectIds"` +} + +func (a AfterResources) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(a, "", false) +} + +func (a *AfterResources) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &a, "", false, []string{"projectIds"}); err != nil { + return err + } + return nil +} + +func (o *AfterResources) GetProjectIds() AfterProjectIds { + if o == nil { + return AfterProjectIds{} + } + return o.ProjectIds +} + +type After struct { + Resources *AfterResources `json:"resources,omitempty"` +} + +func (a After) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(a, "", false) +} + +func (a *After) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &a, "", false, nil); err != nil { + return err + } + return nil +} + +func (o *After) GetResources() *AfterResources { + if o == nil { + return nil + } + return o.Resources +} + +// Payload162 - The payload of the event, if requested. +type Payload162 struct { + AppName string `json:"appName"` + AppID *string `json:"appId,omitempty"` + InstallationID *string `json:"installationId,omitempty"` + Before *Before `json:"before,omitempty"` + After *After `json:"after,omitempty"` +} + +func (p Payload162) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(p, "", false) +} + +func (p *Payload162) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &p, "", false, []string{"appName"}); err != nil { + return err + } + return nil +} + +func (o *Payload162) GetAppName() string { + if o == nil { + return "" + } + return o.AppName +} + +func (o *Payload162) GetAppID() *string { + if o == nil { + return nil + } + return o.AppID +} + +func (o *Payload162) GetInstallationID() *string { + if o == nil { + return nil + } + return o.InstallationID +} + +func (o *Payload162) GetBefore() *Before { + if o == nil { + return nil + } + return o.Before +} + +func (o *Payload162) GetAfter() *After { + if o == nil { + return nil + } + return o.After +} + +type ResourcesType string + +const ( + ResourcesTypeList ResourcesType = "list" +) + +func (e ResourcesType) ToPointer() *ResourcesType { + return &e +} +func (e *ResourcesType) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "list": + *e = ResourcesType(v) + return nil + default: + return fmt.Errorf("invalid value for ResourcesType: %v", v) + } +} + +type TypeString string + +const ( + TypeStringString TypeString = "string" +) + +func (e TypeString) ToPointer() *TypeString { + return &e +} +func (e *TypeString) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "string": + *e = TypeString(v) + return nil + default: + return fmt.Errorf("invalid value for TypeString: %v", v) + } +} + +type Items struct { + Type TypeString `json:"type"` +} + +func (i Items) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(i, "", false) +} + +func (i *Items) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &i, "", false, []string{"type"}); err != nil { + return err + } + return nil +} + +func (o *Items) GetType() TypeString { + if o == nil { + return TypeString("") + } + return o.Type +} + +type ProjectIds struct { + Type ResourcesType `json:"type"` + Required bool `json:"required"` + Items Items `json:"items"` +} + +func (p ProjectIds) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(p, "", false) +} + +func (p *ProjectIds) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &p, "", false, []string{"type", "required", "items"}); err != nil { + return err + } + return nil +} + +func (o *ProjectIds) GetType() ResourcesType { + if o == nil { + return ResourcesType("") + } + return o.Type +} + +func (o *ProjectIds) GetRequired() bool { + if o == nil { + return false + } + return o.Required +} + +func (o *ProjectIds) GetItems() Items { + if o == nil { + return Items{} + } + return o.Items +} + +type Resources struct { + ProjectIds ProjectIds `json:"projectIds"` +} + +func (r Resources) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(r, "", false) +} + +func (r *Resources) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &r, "", false, []string{"projectIds"}); err != nil { + return err + } + return nil +} + +func (o *Resources) GetProjectIds() ProjectIds { + if o == nil { + return ProjectIds{} + } + return o.ProjectIds +} + +// Payload161 - The payload of the event, if requested. +type Payload161 struct { + AppName string `json:"appName"` + AppID *string `json:"appId,omitempty"` + Resources *Resources `json:"resources,omitempty"` +} + +func (p Payload161) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(p, "", false) +} + +func (p *Payload161) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &p, "", false, []string{"appName"}); err != nil { + return err + } + return nil +} + +func (o *Payload161) GetAppName() string { + if o == nil { + return "" + } + return o.AppName +} + +func (o *Payload161) GetAppID() *string { + if o == nil { + return nil + } + return o.AppID +} + +func (o *Payload161) GetResources() *Resources { + if o == nil { + return nil + } + return o.Resources +} + +// Payload160 - The payload of the event, if requested. +type Payload160 struct { + AppName string `json:"appName"` + AppID *string `json:"appId,omitempty"` + SecretLastFourChars *string `json:"secretLastFourChars,omitempty"` +} + +func (p Payload160) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(p, "", false) +} + +func (p *Payload160) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &p, "", false, []string{"appName"}); err != nil { + return err + } + return nil +} + +func (o *Payload160) GetAppName() string { + if o == nil { + return "" + } + return o.AppName +} + +func (o *Payload160) GetAppID() *string { + if o == nil { + return nil + } + return o.AppID +} + +func (o *Payload160) GetSecretLastFourChars() *string { + if o == nil { + return nil + } + return o.SecretLastFourChars +} + +// Payload159 - The payload of the event, if requested. +type Payload159 struct { + AppName string `json:"appName"` + AppID *string `json:"appId,omitempty"` +} + +func (p Payload159) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(p, "", false) +} + +func (p *Payload159) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &p, "", false, []string{"appName"}); err != nil { + return err + } + return nil +} + +func (o *Payload159) GetAppName() string { + if o == nil { + return "" + } + return o.AppName +} + +func (o *Payload159) GetAppID() *string { + if o == nil { + return nil + } + return o.AppID +} + +type NextScope string + +const ( + NextScopeOpenid NextScope = "openid" + NextScopeEmail NextScope = "email" + NextScopeProfile NextScope = "profile" + NextScopeOfflineAccess NextScope = "offline_access" +) + +func (e NextScope) ToPointer() *NextScope { + return &e +} +func (e *NextScope) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "openid": + fallthrough + case "email": + fallthrough + case "profile": + fallthrough + case "offline_access": + *e = NextScope(v) + return nil + default: + return fmt.Errorf("invalid value for NextScope: %v", v) + } +} + +type NextPermission string + +const ( + NextPermissionWildcard NextPermission = "*" + NextPermissionReadUser NextPermission = "read:user" + NextPermissionReadWriteUser NextPermission = "read-write:user" + NextPermissionReadDomain NextPermission = "read:domain" + NextPermissionReadWriteDomain NextPermission = "read-write:domain" + NextPermissionReadTeam NextPermission = "read:team" + NextPermissionReadWriteTeam NextPermission = "read-write:team" + NextPermissionReadBilling NextPermission = "read:billing" + NextPermissionReadProject NextPermission = "read:project" + NextPermissionReadWriteProject NextPermission = "read-write:project" + NextPermissionReadDeployment NextPermission = "read:deployment" + NextPermissionReadWriteDeployment NextPermission = "read-write:deployment" +) + +func (e NextPermission) ToPointer() *NextPermission { + return &e +} +func (e *NextPermission) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "*": + fallthrough + case "read:user": + fallthrough + case "read-write:user": + fallthrough + case "read:domain": + fallthrough + case "read-write:domain": + fallthrough + case "read:team": + fallthrough + case "read-write:team": + fallthrough + case "read:billing": + fallthrough + case "read:project": + fallthrough + case "read-write:project": + fallthrough + case "read:deployment": + fallthrough + case "read-write:deployment": + *e = NextPermission(v) + return nil + default: + return fmt.Errorf("invalid value for NextPermission: %v", v) + } +} + +type NextAcceptedPermissionSetsUserPermissionSet string + +const ( + NextAcceptedPermissionSetsUserPermissionSetReadUser NextAcceptedPermissionSetsUserPermissionSet = "read:user" +) + +func (e NextAcceptedPermissionSetsUserPermissionSet) ToPointer() *NextAcceptedPermissionSetsUserPermissionSet { + return &e +} +func (e *NextAcceptedPermissionSetsUserPermissionSet) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "read:user": + *e = NextAcceptedPermissionSetsUserPermissionSet(v) + return nil + default: + return fmt.Errorf("invalid value for NextAcceptedPermissionSetsUserPermissionSet: %v", v) + } +} + +type NextAcceptedPermissionSets struct { + UserPermissionSet []NextAcceptedPermissionSetsUserPermissionSet `json:"userPermissionSet,omitempty"` +} + +func (n NextAcceptedPermissionSets) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(n, "", false) +} + +func (n *NextAcceptedPermissionSets) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &n, "", false, nil); err != nil { + return err + } + return nil +} + +func (o *NextAcceptedPermissionSets) GetUserPermissionSet() []NextAcceptedPermissionSetsUserPermissionSet { + if o == nil { + return nil + } + return o.UserPermissionSet +} + +// Payload158 - The payload of the event, if requested. +type Payload158 struct { + AppName string `json:"appName"` + AppID *string `json:"appId,omitempty"` + NextScopes []NextScope `json:"nextScopes"` + NextPermissions []NextPermission `json:"nextPermissions,omitempty"` + NextAcceptedPermissionSets *NextAcceptedPermissionSets `json:"nextAcceptedPermissionSets,omitempty"` +} + +func (p Payload158) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(p, "", false) +} + +func (p *Payload158) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &p, "", false, []string{"appName", "nextScopes"}); err != nil { + return err + } + return nil +} + +func (o *Payload158) GetAppName() string { + if o == nil { + return "" + } + return o.AppName +} + +func (o *Payload158) GetAppID() *string { + if o == nil { + return nil + } + return o.AppID +} + +func (o *Payload158) GetNextScopes() []NextScope { + if o == nil { + return []NextScope{} + } + return o.NextScopes +} + +func (o *Payload158) GetNextPermissions() []NextPermission { + if o == nil { + return nil + } + return o.NextPermissions +} + +func (o *Payload158) GetNextAcceptedPermissionSets() *NextAcceptedPermissionSets { + if o == nil { + return nil + } + return o.NextAcceptedPermissionSets +} + +type ScopeEnum string + +const ( + ScopeEnumOpenid ScopeEnum = "openid" + ScopeEnumEmail ScopeEnum = "email" + ScopeEnumProfile ScopeEnum = "profile" + ScopeEnumOfflineAccess ScopeEnum = "offline_access" +) + +func (e ScopeEnum) ToPointer() *ScopeEnum { + return &e +} +func (e *ScopeEnum) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "openid": + fallthrough + case "email": + fallthrough + case "profile": + fallthrough + case "offline_access": + *e = ScopeEnum(v) + return nil + default: + return fmt.Errorf("invalid value for ScopeEnum: %v", v) + } +} + +type Permission string + +const ( + PermissionWildcard Permission = "*" + PermissionReadUser Permission = "read:user" + PermissionReadWriteUser Permission = "read-write:user" + PermissionReadDomain Permission = "read:domain" + PermissionReadWriteDomain Permission = "read-write:domain" + PermissionReadTeam Permission = "read:team" + PermissionReadWriteTeam Permission = "read-write:team" + PermissionReadBilling Permission = "read:billing" + PermissionReadProject Permission = "read:project" + PermissionReadWriteProject Permission = "read-write:project" + PermissionReadDeployment Permission = "read:deployment" + PermissionReadWriteDeployment Permission = "read-write:deployment" +) + +func (e Permission) ToPointer() *Permission { + return &e +} +func (e *Permission) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "*": + fallthrough + case "read:user": + fallthrough + case "read-write:user": + fallthrough + case "read:domain": + fallthrough + case "read-write:domain": + fallthrough + case "read:team": + fallthrough + case "read-write:team": + fallthrough + case "read:billing": + fallthrough + case "read:project": + fallthrough + case "read-write:project": + fallthrough + case "read:deployment": + fallthrough + case "read-write:deployment": + *e = Permission(v) + return nil + default: + return fmt.Errorf("invalid value for Permission: %v", v) + } +} + +type AcceptedPermissionSetsUserPermissionSet string + +const ( + AcceptedPermissionSetsUserPermissionSetReadUser AcceptedPermissionSetsUserPermissionSet = "read:user" +) + +func (e AcceptedPermissionSetsUserPermissionSet) ToPointer() *AcceptedPermissionSetsUserPermissionSet { + return &e +} +func (e *AcceptedPermissionSetsUserPermissionSet) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "read:user": + *e = AcceptedPermissionSetsUserPermissionSet(v) + return nil + default: + return fmt.Errorf("invalid value for AcceptedPermissionSetsUserPermissionSet: %v", v) + } } -func (p Payload154) MarshalJSON() ([]byte, error) { +type AcceptedPermissionSets struct { + UserPermissionSet []AcceptedPermissionSetsUserPermissionSet `json:"userPermissionSet,omitempty"` +} + +func (a AcceptedPermissionSets) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(a, "", false) +} + +func (a *AcceptedPermissionSets) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &a, "", false, nil); err != nil { + return err + } + return nil +} + +func (o *AcceptedPermissionSets) GetUserPermissionSet() []AcceptedPermissionSetsUserPermissionSet { + if o == nil { + return nil + } + return o.UserPermissionSet +} + +// Payload157 - The payload of the event, if requested. +type Payload157 struct { + AppName string `json:"appName"` + AppID *string `json:"appId,omitempty"` + Scopes []ScopeEnum `json:"scopes"` + Permissions []Permission `json:"permissions,omitempty"` + AcceptedPermissionSets *AcceptedPermissionSets `json:"acceptedPermissionSets,omitempty"` +} + +func (p Payload157) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload154) UnmarshalJSON(data []byte) error { +func (p *Payload157) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &p, "", false, []string{"appName", "scopes"}); err != nil { + return err + } + return nil +} + +func (o *Payload157) GetAppName() string { + if o == nil { + return "" + } + return o.AppName +} + +func (o *Payload157) GetAppID() *string { + if o == nil { + return nil + } + return o.AppID +} + +func (o *Payload157) GetScopes() []ScopeEnum { + if o == nil { + return []ScopeEnum{} + } + return o.Scopes +} + +func (o *Payload157) GetPermissions() []Permission { + if o == nil { + return nil + } + return o.Permissions +} + +func (o *Payload157) GetAcceptedPermissionSets() *AcceptedPermissionSets { + if o == nil { + return nil + } + return o.AcceptedPermissionSets +} + +// Payload156 - The payload of the event, if requested. +type Payload156 struct { + OldName string `json:"oldName"` + NewName string `json:"newName"` +} + +func (p Payload156) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(p, "", false) +} + +func (p *Payload156) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"oldName", "newName"}); err != nil { return err } return nil } -func (o *Payload154) GetOldName() string { +func (o *Payload156) GetOldName() string { if o == nil { return "" } return o.OldName } -func (o *Payload154) GetNewName() string { +func (o *Payload156) GetNewName() string { if o == nil { return "" } @@ -1398,23 +2409,23 @@ func (e *Tier) UnmarshalJSON(data []byte) error { } } -// Payload153 - The payload of the event, if requested. -type Payload153 struct { +// Payload155 - The payload of the event, if requested. +type Payload155 struct { Tier Tier `json:"tier"` } -func (p Payload153) MarshalJSON() ([]byte, error) { +func (p Payload155) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload153) UnmarshalJSON(data []byte) error { +func (p *Payload155) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"tier"}); err != nil { return err } return nil } -func (o *Payload153) GetTier() Tier { +func (o *Payload155) GetTier() Tier { if o == nil { return Tier("") } @@ -1529,57 +2540,115 @@ func (o *PrevProjectWebAnalytics) GetHasData() *bool { return o.HasData } -// Payload152 - The payload of the event, if requested. -type Payload152 struct { +// Payload154 - The payload of the event, if requested. +type Payload154 struct { ProjectID string `json:"projectId"` ProjectName string `json:"projectName"` ProjectWebAnalytics *ProjectWebAnalytics `json:"projectWebAnalytics,omitempty"` PrevProjectWebAnalytics *PrevProjectWebAnalytics `json:"prevProjectWebAnalytics,omitempty"` } -func (p Payload152) MarshalJSON() ([]byte, error) { +func (p Payload154) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload152) UnmarshalJSON(data []byte) error { +func (p *Payload154) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"projectId", "projectName"}); err != nil { return err } return nil } -func (o *Payload152) GetProjectID() string { +func (o *Payload154) GetProjectID() string { if o == nil { return "" } return o.ProjectID } -func (o *Payload152) GetProjectName() string { +func (o *Payload154) GetProjectName() string { if o == nil { return "" } return o.ProjectName } -func (o *Payload152) GetProjectWebAnalytics() *ProjectWebAnalytics { +func (o *Payload154) GetProjectWebAnalytics() *ProjectWebAnalytics { if o == nil { return nil } return o.ProjectWebAnalytics } -func (o *Payload152) GetPrevProjectWebAnalytics() *PrevProjectWebAnalytics { +func (o *Payload154) GetPrevProjectWebAnalytics() *PrevProjectWebAnalytics { if o == nil { return nil } return o.PrevProjectWebAnalytics } +type Microfrontends3 struct { + UpdatedAt float64 `json:"updatedAt"` + GroupIds []any `json:"groupIds"` + Enabled bool `json:"enabled"` + FreeProjectForLegacyLimits *bool `json:"freeProjectForLegacyLimits,omitempty"` +} + +func (m Microfrontends3) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(m, "", false) +} + +func (m *Microfrontends3) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &m, "", false, []string{"updatedAt", "groupIds", "enabled"}); err != nil { + return err + } + return nil +} + +func (o *Microfrontends3) GetUpdatedAt() float64 { + if o == nil { + return 0.0 + } + return o.UpdatedAt +} + +func (o *Microfrontends3) GetGroupIds() []any { + if o == nil { + return []any{} + } + return o.GroupIds +} + +func (o *Microfrontends3) GetEnabled() bool { + if o == nil { + return false + } + return o.Enabled +} + +func (o *Microfrontends3) GetFreeProjectForLegacyLimits() *bool { + if o == nil { + return nil + } + return o.FreeProjectForLegacyLimits +} + type Microfrontends2 struct { + IsDefaultApp *bool `json:"isDefaultApp,omitempty"` + // Whether observability data should be routed to this microfrontend project or a root project. + RouteObservabilityToThisProject *bool `json:"routeObservabilityToThisProject,omitempty"` + // Whether to add microfrontends routing to aliases. This means domains in this project will route as a microfrontend. + DoNotRouteWithMicrofrontendsRouting *bool `json:"doNotRouteWithMicrofrontendsRouting,omitempty"` + // Timestamp when the microfrontends settings were last updated. UpdatedAt float64 `json:"updatedAt"` - GroupIds []any `json:"groupIds"` - Enabled bool `json:"enabled"` + // 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 []string `json:"groupIds"` + // Whether microfrontends are enabled for this project. + Enabled bool `json:"enabled"` + // 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. Includes the leading slash, e.g. `/docs` + DefaultRoute *string `json:"defaultRoute,omitempty"` + // Whether the project was part of the legacy limits for hobby and pro-trial before billing was added. This field is only set when the team is upgraded to a paid plan and we are backfilling the subscription status. We cap the subscription to 2 projects and set this field for the 3rd project. When this field is set, the project is not charged for and we do not call any billing APIs for this project. + FreeProjectForLegacyLimits *bool `json:"freeProjectForLegacyLimits,omitempty"` } func (m Microfrontends2) MarshalJSON() ([]byte, error) { @@ -1593,6 +2662,27 @@ func (m *Microfrontends2) UnmarshalJSON(data []byte) error { return nil } +func (o *Microfrontends2) GetIsDefaultApp() *bool { + if o == nil { + return nil + } + return o.IsDefaultApp +} + +func (o *Microfrontends2) GetRouteObservabilityToThisProject() *bool { + if o == nil { + return nil + } + return o.RouteObservabilityToThisProject +} + +func (o *Microfrontends2) GetDoNotRouteWithMicrofrontendsRouting() *bool { + if o == nil { + return nil + } + return o.DoNotRouteWithMicrofrontendsRouting +} + func (o *Microfrontends2) GetUpdatedAt() float64 { if o == nil { return 0.0 @@ -1600,9 +2690,9 @@ func (o *Microfrontends2) GetUpdatedAt() float64 { return o.UpdatedAt } -func (o *Microfrontends2) GetGroupIds() []any { +func (o *Microfrontends2) GetGroupIds() []string { if o == nil { - return []any{} + return []string{} } return o.GroupIds } @@ -1614,19 +2704,32 @@ func (o *Microfrontends2) GetEnabled() bool { return o.Enabled } +func (o *Microfrontends2) GetDefaultRoute() *string { + if o == nil { + return nil + } + return o.DefaultRoute +} + +func (o *Microfrontends2) GetFreeProjectForLegacyLimits() *bool { + if o == nil { + return nil + } + return o.FreeProjectForLegacyLimits +} + type Microfrontends1 struct { + IsDefaultApp bool `json:"isDefaultApp"` // Timestamp when the microfrontends settings were last updated. UpdatedAt float64 `json:"updatedAt"` // 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 []string `json:"groupIds"` // Whether microfrontends are enabled for this project. Enabled bool `json:"enabled"` - // 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 *bool `json:"isDefaultApp,omitempty"` // 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. Includes the leading slash, e.g. `/docs` DefaultRoute *string `json:"defaultRoute,omitempty"` - // Whether observability data should be routed to this microfrontend project or a root project. - RouteObservabilityToThisProject *bool `json:"routeObservabilityToThisProject,omitempty"` + // Whether the project was part of the legacy limits for hobby and pro-trial before billing was added. This field is only set when the team is upgraded to a paid plan and we are backfilling the subscription status. We cap the subscription to 2 projects and set this field for the 3rd project. When this field is set, the project is not charged for and we do not call any billing APIs for this project. + FreeProjectForLegacyLimits *bool `json:"freeProjectForLegacyLimits,omitempty"` } func (m Microfrontends1) MarshalJSON() ([]byte, error) { @@ -1634,12 +2737,19 @@ func (m Microfrontends1) MarshalJSON() ([]byte, error) { } func (m *Microfrontends1) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &m, "", false, []string{"updatedAt", "groupIds", "enabled"}); err != nil { + if err := utils.UnmarshalJSON(data, &m, "", false, []string{"isDefaultApp", "updatedAt", "groupIds", "enabled"}); err != nil { return err } return nil } +func (o *Microfrontends1) GetIsDefaultApp() bool { + if o == nil { + return false + } + return o.IsDefaultApp +} + func (o *Microfrontends1) GetUpdatedAt() float64 { if o == nil { return 0.0 @@ -1661,13 +2771,6 @@ func (o *Microfrontends1) GetEnabled() bool { return o.Enabled } -func (o *Microfrontends1) GetIsDefaultApp() *bool { - if o == nil { - return nil - } - return o.IsDefaultApp -} - func (o *Microfrontends1) GetDefaultRoute() *string { if o == nil { return nil @@ -1675,11 +2778,11 @@ func (o *Microfrontends1) GetDefaultRoute() *string { return o.DefaultRoute } -func (o *Microfrontends1) GetRouteObservabilityToThisProject() *bool { +func (o *Microfrontends1) GetFreeProjectForLegacyLimits() *bool { if o == nil { return nil } - return o.RouteObservabilityToThisProject + return o.FreeProjectForLegacyLimits } type MicrofrontendsUnionType string @@ -1687,11 +2790,13 @@ type MicrofrontendsUnionType string const ( MicrofrontendsUnionTypeMicrofrontends1 MicrofrontendsUnionType = "microfrontends_1" MicrofrontendsUnionTypeMicrofrontends2 MicrofrontendsUnionType = "microfrontends_2" + MicrofrontendsUnionTypeMicrofrontends3 MicrofrontendsUnionType = "microfrontends_3" ) type MicrofrontendsUnion struct { Microfrontends1 *Microfrontends1 `queryParam:"inline"` Microfrontends2 *Microfrontends2 `queryParam:"inline"` + Microfrontends3 *Microfrontends3 `queryParam:"inline"` Type MicrofrontendsUnionType } @@ -1714,6 +2819,15 @@ func CreateMicrofrontendsUnionMicrofrontends2(microfrontends2 Microfrontends2) M } } +func CreateMicrofrontendsUnionMicrofrontends3(microfrontends3 Microfrontends3) MicrofrontendsUnion { + typ := MicrofrontendsUnionTypeMicrofrontends3 + + return MicrofrontendsUnion{ + Microfrontends3: µfrontends3, + Type: typ, + } +} + func (u *MicrofrontendsUnion) UnmarshalJSON(data []byte) error { var microfrontends1 Microfrontends1 = Microfrontends1{} @@ -1730,6 +2844,13 @@ func (u *MicrofrontendsUnion) UnmarshalJSON(data []byte) error { return nil } + var microfrontends3 Microfrontends3 = Microfrontends3{} + if err := utils.UnmarshalJSON(data, µfrontends3, "", true, nil); err == nil { + u.Microfrontends3 = µfrontends3 + u.Type = MicrofrontendsUnionTypeMicrofrontends3 + return nil + } + return fmt.Errorf("could not unmarshal `%s` into any supported union types for MicrofrontendsUnion", string(data)) } @@ -1742,6 +2863,10 @@ func (u MicrofrontendsUnion) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(u.Microfrontends2, "", true) } + if u.Microfrontends3 != nil { + return utils.MarshalJSON(u.Microfrontends3, "", true) + } + return nil, errors.New("could not marshal union type MicrofrontendsUnion: all fields are null") } @@ -1783,10 +2908,68 @@ func (o *Project12) GetMicrofrontends() *MicrofrontendsUnion { return o.Microfrontends } +type MicrofrontendsPrev3 struct { + UpdatedAt float64 `json:"updatedAt"` + GroupIds []any `json:"groupIds"` + Enabled bool `json:"enabled"` + FreeProjectForLegacyLimits *bool `json:"freeProjectForLegacyLimits,omitempty"` +} + +func (m MicrofrontendsPrev3) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(m, "", false) +} + +func (m *MicrofrontendsPrev3) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &m, "", false, []string{"updatedAt", "groupIds", "enabled"}); err != nil { + return err + } + return nil +} + +func (o *MicrofrontendsPrev3) GetUpdatedAt() float64 { + if o == nil { + return 0.0 + } + return o.UpdatedAt +} + +func (o *MicrofrontendsPrev3) GetGroupIds() []any { + if o == nil { + return []any{} + } + return o.GroupIds +} + +func (o *MicrofrontendsPrev3) GetEnabled() bool { + if o == nil { + return false + } + return o.Enabled +} + +func (o *MicrofrontendsPrev3) GetFreeProjectForLegacyLimits() *bool { + if o == nil { + return nil + } + return o.FreeProjectForLegacyLimits +} + type MicrofrontendsPrev2 struct { + IsDefaultApp *bool `json:"isDefaultApp,omitempty"` + // Whether observability data should be routed to this microfrontend project or a root project. + RouteObservabilityToThisProject *bool `json:"routeObservabilityToThisProject,omitempty"` + // Whether to add microfrontends routing to aliases. This means domains in this project will route as a microfrontend. + DoNotRouteWithMicrofrontendsRouting *bool `json:"doNotRouteWithMicrofrontendsRouting,omitempty"` + // Timestamp when the microfrontends settings were last updated. UpdatedAt float64 `json:"updatedAt"` - GroupIds []any `json:"groupIds"` - Enabled bool `json:"enabled"` + // 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 []string `json:"groupIds"` + // Whether microfrontends are enabled for this project. + Enabled bool `json:"enabled"` + // 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. Includes the leading slash, e.g. `/docs` + DefaultRoute *string `json:"defaultRoute,omitempty"` + // Whether the project was part of the legacy limits for hobby and pro-trial before billing was added. This field is only set when the team is upgraded to a paid plan and we are backfilling the subscription status. We cap the subscription to 2 projects and set this field for the 3rd project. When this field is set, the project is not charged for and we do not call any billing APIs for this project. + FreeProjectForLegacyLimits *bool `json:"freeProjectForLegacyLimits,omitempty"` } func (m MicrofrontendsPrev2) MarshalJSON() ([]byte, error) { @@ -1800,6 +2983,27 @@ func (m *MicrofrontendsPrev2) UnmarshalJSON(data []byte) error { return nil } +func (o *MicrofrontendsPrev2) GetIsDefaultApp() *bool { + if o == nil { + return nil + } + return o.IsDefaultApp +} + +func (o *MicrofrontendsPrev2) GetRouteObservabilityToThisProject() *bool { + if o == nil { + return nil + } + return o.RouteObservabilityToThisProject +} + +func (o *MicrofrontendsPrev2) GetDoNotRouteWithMicrofrontendsRouting() *bool { + if o == nil { + return nil + } + return o.DoNotRouteWithMicrofrontendsRouting +} + func (o *MicrofrontendsPrev2) GetUpdatedAt() float64 { if o == nil { return 0.0 @@ -1807,9 +3011,9 @@ func (o *MicrofrontendsPrev2) GetUpdatedAt() float64 { return o.UpdatedAt } -func (o *MicrofrontendsPrev2) GetGroupIds() []any { +func (o *MicrofrontendsPrev2) GetGroupIds() []string { if o == nil { - return []any{} + return []string{} } return o.GroupIds } @@ -1821,19 +3025,32 @@ func (o *MicrofrontendsPrev2) GetEnabled() bool { return o.Enabled } +func (o *MicrofrontendsPrev2) GetDefaultRoute() *string { + if o == nil { + return nil + } + return o.DefaultRoute +} + +func (o *MicrofrontendsPrev2) GetFreeProjectForLegacyLimits() *bool { + if o == nil { + return nil + } + return o.FreeProjectForLegacyLimits +} + type MicrofrontendsPrev1 struct { + IsDefaultApp bool `json:"isDefaultApp"` // Timestamp when the microfrontends settings were last updated. UpdatedAt float64 `json:"updatedAt"` // 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 []string `json:"groupIds"` // Whether microfrontends are enabled for this project. Enabled bool `json:"enabled"` - // 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 *bool `json:"isDefaultApp,omitempty"` // 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. Includes the leading slash, e.g. `/docs` DefaultRoute *string `json:"defaultRoute,omitempty"` - // Whether observability data should be routed to this microfrontend project or a root project. - RouteObservabilityToThisProject *bool `json:"routeObservabilityToThisProject,omitempty"` + // Whether the project was part of the legacy limits for hobby and pro-trial before billing was added. This field is only set when the team is upgraded to a paid plan and we are backfilling the subscription status. We cap the subscription to 2 projects and set this field for the 3rd project. When this field is set, the project is not charged for and we do not call any billing APIs for this project. + FreeProjectForLegacyLimits *bool `json:"freeProjectForLegacyLimits,omitempty"` } func (m MicrofrontendsPrev1) MarshalJSON() ([]byte, error) { @@ -1841,12 +3058,19 @@ func (m MicrofrontendsPrev1) MarshalJSON() ([]byte, error) { } func (m *MicrofrontendsPrev1) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &m, "", false, []string{"updatedAt", "groupIds", "enabled"}); err != nil { + if err := utils.UnmarshalJSON(data, &m, "", false, []string{"isDefaultApp", "updatedAt", "groupIds", "enabled"}); err != nil { return err } return nil } +func (o *MicrofrontendsPrev1) GetIsDefaultApp() bool { + if o == nil { + return false + } + return o.IsDefaultApp +} + func (o *MicrofrontendsPrev1) GetUpdatedAt() float64 { if o == nil { return 0.0 @@ -1868,13 +3092,6 @@ func (o *MicrofrontendsPrev1) GetEnabled() bool { return o.Enabled } -func (o *MicrofrontendsPrev1) GetIsDefaultApp() *bool { - if o == nil { - return nil - } - return o.IsDefaultApp -} - func (o *MicrofrontendsPrev1) GetDefaultRoute() *string { if o == nil { return nil @@ -1882,11 +3099,11 @@ func (o *MicrofrontendsPrev1) GetDefaultRoute() *string { return o.DefaultRoute } -func (o *MicrofrontendsPrev1) GetRouteObservabilityToThisProject() *bool { +func (o *MicrofrontendsPrev1) GetFreeProjectForLegacyLimits() *bool { if o == nil { return nil } - return o.RouteObservabilityToThisProject + return o.FreeProjectForLegacyLimits } type PrevMicrofrontendsUnionType string @@ -1894,11 +3111,13 @@ type PrevMicrofrontendsUnionType string const ( PrevMicrofrontendsUnionTypeMicrofrontendsPrev1 PrevMicrofrontendsUnionType = "microfrontends_prev_1" PrevMicrofrontendsUnionTypeMicrofrontendsPrev2 PrevMicrofrontendsUnionType = "microfrontends_prev_2" + PrevMicrofrontendsUnionTypeMicrofrontendsPrev3 PrevMicrofrontendsUnionType = "microfrontends_prev_3" ) type PrevMicrofrontendsUnion struct { MicrofrontendsPrev1 *MicrofrontendsPrev1 `queryParam:"inline"` MicrofrontendsPrev2 *MicrofrontendsPrev2 `queryParam:"inline"` + MicrofrontendsPrev3 *MicrofrontendsPrev3 `queryParam:"inline"` Type PrevMicrofrontendsUnionType } @@ -1921,6 +3140,15 @@ func CreatePrevMicrofrontendsUnionMicrofrontendsPrev2(microfrontendsPrev2 Microf } } +func CreatePrevMicrofrontendsUnionMicrofrontendsPrev3(microfrontendsPrev3 MicrofrontendsPrev3) PrevMicrofrontendsUnion { + typ := PrevMicrofrontendsUnionTypeMicrofrontendsPrev3 + + return PrevMicrofrontendsUnion{ + MicrofrontendsPrev3: µfrontendsPrev3, + Type: typ, + } +} + func (u *PrevMicrofrontendsUnion) UnmarshalJSON(data []byte) error { var microfrontendsPrev1 MicrofrontendsPrev1 = MicrofrontendsPrev1{} @@ -1937,6 +3165,13 @@ func (u *PrevMicrofrontendsUnion) UnmarshalJSON(data []byte) error { return nil } + var microfrontendsPrev3 MicrofrontendsPrev3 = MicrofrontendsPrev3{} + if err := utils.UnmarshalJSON(data, µfrontendsPrev3, "", true, nil); err == nil { + u.MicrofrontendsPrev3 = µfrontendsPrev3 + u.Type = PrevMicrofrontendsUnionTypeMicrofrontendsPrev3 + return nil + } + return fmt.Errorf("could not unmarshal `%s` into any supported union types for PrevMicrofrontendsUnion", string(data)) } @@ -1949,6 +3184,10 @@ func (u PrevMicrofrontendsUnion) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(u.MicrofrontendsPrev2, "", true) } + if u.MicrofrontendsPrev3 != nil { + return utils.MarshalJSON(u.MicrofrontendsPrev3, "", true) + } + return nil, errors.New("could not marshal union type PrevMicrofrontendsUnion: all fields are null") } @@ -2034,39 +3273,39 @@ func (o *Group2) GetName() string { return o.Name } -// Payload151 - The payload of the event, if requested. -type Payload151 struct { +// Payload153 - The payload of the event, if requested. +type Payload153 struct { Project Project12 `json:"project"` Prev Prev2 `json:"prev"` Group Group2 `json:"group"` } -func (p Payload151) MarshalJSON() ([]byte, error) { +func (p Payload153) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload151) UnmarshalJSON(data []byte) error { +func (p *Payload153) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"project", "prev", "group"}); err != nil { return err } return nil } -func (o *Payload151) GetProject() Project12 { +func (o *Payload153) GetProject() Project12 { if o == nil { return Project12{} } return o.Project } -func (o *Payload151) GetPrev() Prev2 { +func (o *Payload153) GetPrev() Prev2 { if o == nil { return Prev2{} } return o.Prev } -func (o *Payload151) GetGroup() Group2 { +func (o *Payload153) GetGroup() Group2 { if o == nil { return Group2{} } @@ -2141,31 +3380,31 @@ func (o *Group1) GetName() string { return o.Name } -// Payload150 - The payload of the event, if requested. -type Payload150 struct { +// Payload152 - The payload of the event, if requested. +type Payload152 struct { Project Project11 `json:"project"` Group Group1 `json:"group"` } -func (p Payload150) MarshalJSON() ([]byte, error) { +func (p Payload152) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload150) UnmarshalJSON(data []byte) error { +func (p *Payload152) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"project", "group"}); err != nil { return err } return nil } -func (o *Payload150) GetProject() Project11 { +func (o *Payload152) GetProject() Project11 { if o == nil { return Project11{} } return o.Project } -func (o *Payload150) GetGroup() Group1 { +func (o *Payload152) GetGroup() Group1 { if o == nil { return Group1{} } @@ -2176,7 +3415,6 @@ type Prev1 struct { Name string `json:"name"` Slug string `json:"slug"` FallbackEnvironment string `json:"fallbackEnvironment"` - EnableMfeAliases *bool `json:"enableMfeAliases,omitempty"` } func (p Prev1) MarshalJSON() ([]byte, error) { @@ -2211,109 +3449,94 @@ func (o *Prev1) GetFallbackEnvironment() string { return o.FallbackEnvironment } -func (o *Prev1) GetEnableMfeAliases() *bool { - if o == nil { - return nil - } - return o.EnableMfeAliases -} - -// Payload149 - The payload of the event, if requested. -type Payload149 struct { +// Payload151 - The payload of the event, if requested. +type Payload151 struct { ID string `json:"id"` Slug *string `json:"slug,omitempty"` Name *string `json:"name,omitempty"` FallbackEnvironment *string `json:"fallbackEnvironment,omitempty"` - EnableMfeAliases *bool `json:"enableMfeAliases,omitempty"` Prev Prev1 `json:"prev"` } -func (p Payload149) MarshalJSON() ([]byte, error) { +func (p Payload151) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload149) UnmarshalJSON(data []byte) error { +func (p *Payload151) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"id", "prev"}); err != nil { return err } return nil } -func (o *Payload149) GetID() string { +func (o *Payload151) GetID() string { if o == nil { return "" } return o.ID } -func (o *Payload149) GetSlug() *string { +func (o *Payload151) GetSlug() *string { if o == nil { return nil } return o.Slug } -func (o *Payload149) GetName() *string { +func (o *Payload151) GetName() *string { if o == nil { return nil } return o.Name } -func (o *Payload149) GetFallbackEnvironment() *string { +func (o *Payload151) GetFallbackEnvironment() *string { if o == nil { return nil } return o.FallbackEnvironment } -func (o *Payload149) GetEnableMfeAliases() *bool { - if o == nil { - return nil - } - return o.EnableMfeAliases -} - -func (o *Payload149) GetPrev() Prev1 { +func (o *Payload151) GetPrev() Prev1 { if o == nil { return Prev1{} } return o.Prev } -// Payload148 - The payload of the event, if requested. -type Payload148 struct { +// Payload150 - The payload of the event, if requested. +type Payload150 struct { ID string `json:"id"` Slug string `json:"slug"` Name string `json:"name"` } -func (p Payload148) MarshalJSON() ([]byte, error) { +func (p Payload150) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload148) UnmarshalJSON(data []byte) error { +func (p *Payload150) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"id", "slug", "name"}); err != nil { return err } return nil } -func (o *Payload148) GetID() string { +func (o *Payload150) GetID() string { if o == nil { return "" } return o.ID } -func (o *Payload148) GetSlug() string { +func (o *Payload150) GetSlug() string { if o == nil { return "" } return o.Slug } -func (o *Payload148) GetName() string { +func (o *Payload150) GetName() string { if o == nil { return "" } @@ -2346,219 +3569,219 @@ func (e *Action5) UnmarshalJSON(data []byte) error { } } -// Payload147 - The payload of the event, if requested. -type Payload147 struct { +// Payload149 - The payload of the event, if requested. +type Payload149 struct { Action Action5 `json:"action"` } -func (p Payload147) MarshalJSON() ([]byte, error) { +func (p Payload149) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload147) UnmarshalJSON(data []byte) error { +func (p *Payload149) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"action"}); err != nil { return err } return nil } -func (o *Payload147) GetAction() Action5 { +func (o *Payload149) GetAction() Action5 { if o == nil { return Action5("") } return o.Action } -// Payload146 - The payload of the event, if requested. -type Payload146 struct { +// Payload148 - The payload of the event, if requested. +type Payload148 struct { EdgeConfigID string `json:"edgeConfigId"` EdgeConfigSlug string `json:"edgeConfigSlug"` // ids of deleted tokens EdgeConfigTokenIds []string `json:"edgeConfigTokenIds"` } -func (p Payload146) MarshalJSON() ([]byte, error) { +func (p Payload148) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload146) UnmarshalJSON(data []byte) error { +func (p *Payload148) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"edgeConfigId", "edgeConfigSlug", "edgeConfigTokenIds"}); err != nil { return err } return nil } -func (o *Payload146) GetEdgeConfigID() string { +func (o *Payload148) GetEdgeConfigID() string { if o == nil { return "" } return o.EdgeConfigID } -func (o *Payload146) GetEdgeConfigSlug() string { +func (o *Payload148) GetEdgeConfigSlug() string { if o == nil { return "" } return o.EdgeConfigSlug } -func (o *Payload146) GetEdgeConfigTokenIds() []string { +func (o *Payload148) GetEdgeConfigTokenIds() []string { if o == nil { return []string{} } return o.EdgeConfigTokenIds } -// Payload145 - The payload of the event, if requested. -type Payload145 struct { +// Payload147 - The payload of the event, if requested. +type Payload147 struct { EdgeConfigID string `json:"edgeConfigId"` EdgeConfigSlug string `json:"edgeConfigSlug"` EdgeConfigTokenID string `json:"edgeConfigTokenId"` Label string `json:"label"` } -func (p Payload145) MarshalJSON() ([]byte, error) { +func (p Payload147) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload145) UnmarshalJSON(data []byte) error { +func (p *Payload147) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"edgeConfigId", "edgeConfigSlug", "edgeConfigTokenId", "label"}); err != nil { return err } return nil } -func (o *Payload145) GetEdgeConfigID() string { +func (o *Payload147) GetEdgeConfigID() string { if o == nil { return "" } return o.EdgeConfigID } -func (o *Payload145) GetEdgeConfigSlug() string { +func (o *Payload147) GetEdgeConfigSlug() string { if o == nil { return "" } return o.EdgeConfigSlug } -func (o *Payload145) GetEdgeConfigTokenID() string { +func (o *Payload147) GetEdgeConfigTokenID() string { if o == nil { return "" } return o.EdgeConfigTokenID } -func (o *Payload145) GetLabel() string { +func (o *Payload147) GetLabel() string { if o == nil { return "" } return o.Label } -// Payload144 - The payload of the event, if requested. -type Payload144 struct { +// Payload146 - The payload of the event, if requested. +type Payload146 struct { EdgeConfigID string `json:"edgeConfigId"` EdgeConfigSlug string `json:"edgeConfigSlug"` EdgeConfigDigest string `json:"edgeConfigDigest"` } -func (p Payload144) MarshalJSON() ([]byte, error) { +func (p Payload146) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload144) UnmarshalJSON(data []byte) error { +func (p *Payload146) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"edgeConfigId", "edgeConfigSlug", "edgeConfigDigest"}); err != nil { return err } return nil } -func (o *Payload144) GetEdgeConfigID() string { +func (o *Payload146) GetEdgeConfigID() string { if o == nil { return "" } return o.EdgeConfigID } -func (o *Payload144) GetEdgeConfigSlug() string { +func (o *Payload146) GetEdgeConfigSlug() string { if o == nil { return "" } return o.EdgeConfigSlug } -func (o *Payload144) GetEdgeConfigDigest() string { +func (o *Payload146) GetEdgeConfigDigest() string { if o == nil { return "" } return o.EdgeConfigDigest } -// Payload143 - The payload of the event, if requested. -type Payload143 struct { +// Payload145 - The payload of the event, if requested. +type Payload145 struct { ProjectName string `json:"projectName"` - Urls []string `json:"urls"` + SrcImages []string `json:"srcImages"` } -func (p Payload143) MarshalJSON() ([]byte, error) { +func (p Payload145) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload143) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &p, "", false, []string{"projectName", "urls"}); err != nil { +func (p *Payload145) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &p, "", false, []string{"projectName", "srcImages"}); err != nil { return err } return nil } -func (o *Payload143) GetProjectName() string { +func (o *Payload145) GetProjectName() string { if o == nil { return "" } return o.ProjectName } -func (o *Payload143) GetUrls() []string { +func (o *Payload145) GetSrcImages() []string { if o == nil { return []string{} } - return o.Urls + return o.SrcImages } -// Payload142 - The payload of the event, if requested. -type Payload142 struct { +// Payload144 - The payload of the event, if requested. +type Payload144 struct { ProjectName string `json:"projectName"` Tags []string `json:"tags"` Target *string `json:"target,omitempty"` } -func (p Payload142) MarshalJSON() ([]byte, error) { +func (p Payload144) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload142) UnmarshalJSON(data []byte) error { +func (p *Payload144) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"projectName", "tags"}); err != nil { return err } return nil } -func (o *Payload142) GetProjectName() string { +func (o *Payload144) GetProjectName() string { if o == nil { return "" } return o.ProjectName } -func (o *Payload142) GetTags() []string { +func (o *Payload144) GetTags() []string { if o == nil { return []string{} } return o.Tags } -func (o *Payload142) GetTarget() *string { +func (o *Payload144) GetTarget() *string { if o == nil { return nil } @@ -2648,23 +3871,23 @@ func (o *Project10) GetInvitedUserID() *string { return o.InvitedUserID } -// Payload141 - The payload of the event, if requested. -type Payload141 struct { +// Payload143 - The payload of the event, if requested. +type Payload143 struct { Project Project10 `json:"project"` } -func (p Payload141) MarshalJSON() ([]byte, error) { +func (p Payload143) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload141) UnmarshalJSON(data []byte) error { +func (p *Payload143) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"project"}); err != nil { return err } return nil } -func (o *Payload141) GetProject() Project10 { +func (o *Payload143) GetProject() Project10 { if o == nil { return Project10{} } @@ -2813,31 +4036,31 @@ func (o *ProjectMembership2) GetPreviousRole() *ProjectMembershipPreviousRole { return o.PreviousRole } -// Payload140 - The payload of the event, if requested. -type Payload140 struct { +// Payload142 - The payload of the event, if requested. +type Payload142 struct { Project Project9 `json:"project"` ProjectMembership ProjectMembership2 `json:"projectMembership"` } -func (p Payload140) MarshalJSON() ([]byte, error) { +func (p Payload142) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload140) UnmarshalJSON(data []byte) error { +func (p *Payload142) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"project", "projectMembership"}); err != nil { return err } return nil } -func (o *Payload140) GetProject() Project9 { +func (o *Payload142) GetProject() Project9 { if o == nil { return Project9{} } return o.Project } -func (o *Payload140) GetProjectMembership() ProjectMembership2 { +func (o *Payload142) GetProjectMembership() ProjectMembership2 { if o == nil { return ProjectMembership2{} } @@ -2949,31 +4172,31 @@ func (o *RemovedMembership) GetUsername() *string { return o.Username } -// Payload139 - The payload of the event, if requested. -type Payload139 struct { +// Payload141 - The payload of the event, if requested. +type Payload141 struct { Project Project8 `json:"project"` RemovedMembership RemovedMembership `json:"removedMembership"` } -func (p Payload139) MarshalJSON() ([]byte, error) { +func (p Payload141) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload139) UnmarshalJSON(data []byte) error { +func (p *Payload141) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"project", "removedMembership"}); err != nil { return err } return nil } -func (o *Payload139) GetProject() Project8 { +func (o *Payload141) GetProject() Project8 { if o == nil { return Project8{} } return o.Project } -func (o *Payload139) GetRemovedMembership() RemovedMembership { +func (o *Payload141) GetRemovedMembership() RemovedMembership { if o == nil { return RemovedMembership{} } @@ -3085,172 +4308,172 @@ func (o *ProjectMembership1) GetUsername() *string { return o.Username } -// Payload138 - The payload of the event, if requested. -type Payload138 struct { +// Payload140 - The payload of the event, if requested. +type Payload140 struct { Project Project7 `json:"project"` ProjectMembership *ProjectMembership1 `json:"projectMembership"` } -func (p Payload138) MarshalJSON() ([]byte, error) { +func (p Payload140) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload138) UnmarshalJSON(data []byte) error { +func (p *Payload140) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"project", "projectMembership"}); err != nil { return err } return nil } -func (o *Payload138) GetProject() Project7 { +func (o *Payload140) GetProject() Project7 { if o == nil { return Project7{} } return o.Project } -func (o *Payload138) GetProjectMembership() *ProjectMembership1 { +func (o *Payload140) GetProjectMembership() *ProjectMembership1 { if o == nil { return nil } return o.ProjectMembership } -// Payload137 - The payload of the event, if requested. -type Payload137 struct { +// Payload139 - The payload of the event, if requested. +type Payload139 struct { PreviousProjectName string `json:"previousProjectName"` NewProjectName string `json:"newProjectName"` OriginAccountName string `json:"originAccountName"` TransferID *string `json:"transferId,omitempty"` } -func (p Payload137) MarshalJSON() ([]byte, error) { +func (p Payload139) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload137) UnmarshalJSON(data []byte) error { +func (p *Payload139) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"previousProjectName", "newProjectName", "originAccountName"}); err != nil { return err } return nil } -func (o *Payload137) GetPreviousProjectName() string { +func (o *Payload139) GetPreviousProjectName() string { if o == nil { return "" } return o.PreviousProjectName } -func (o *Payload137) GetNewProjectName() string { +func (o *Payload139) GetNewProjectName() string { if o == nil { return "" } return o.NewProjectName } -func (o *Payload137) GetOriginAccountName() string { +func (o *Payload139) GetOriginAccountName() string { if o == nil { return "" } return o.OriginAccountName } -func (o *Payload137) GetTransferID() *string { +func (o *Payload139) GetTransferID() *string { if o == nil { return nil } return o.TransferID } -// Payload136 - The payload of the event, if requested. -type Payload136 struct { +// Payload138 - The payload of the event, if requested. +type Payload138 struct { PreviousProjectName string `json:"previousProjectName"` NewProjectName string `json:"newProjectName"` DestinationAccountName string `json:"destinationAccountName"` TransferID *string `json:"transferId,omitempty"` } -func (p Payload136) MarshalJSON() ([]byte, error) { +func (p Payload138) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload136) UnmarshalJSON(data []byte) error { +func (p *Payload138) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"previousProjectName", "newProjectName", "destinationAccountName"}); err != nil { return err } return nil } -func (o *Payload136) GetPreviousProjectName() string { +func (o *Payload138) GetPreviousProjectName() string { if o == nil { return "" } return o.PreviousProjectName } -func (o *Payload136) GetNewProjectName() string { +func (o *Payload138) GetNewProjectName() string { if o == nil { return "" } return o.NewProjectName } -func (o *Payload136) GetDestinationAccountName() string { +func (o *Payload138) GetDestinationAccountName() string { if o == nil { return "" } return o.DestinationAccountName } -func (o *Payload136) GetTransferID() *string { +func (o *Payload138) GetTransferID() *string { if o == nil { return nil } return o.TransferID } -// Payload135 - The payload of the event, if requested. -type Payload135 struct { +// Payload137 - The payload of the event, if requested. +type Payload137 struct { ProjectName string `json:"projectName"` DestinationAccountName *string `json:"destinationAccountName"` TransferID *string `json:"transferId,omitempty"` } -func (p Payload135) MarshalJSON() ([]byte, error) { +func (p Payload137) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload135) UnmarshalJSON(data []byte) error { +func (p *Payload137) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"projectName", "destinationAccountName"}); err != nil { return err } return nil } -func (o *Payload135) GetProjectName() string { +func (o *Payload137) GetProjectName() string { if o == nil { return "" } return o.ProjectName } -func (o *Payload135) GetDestinationAccountName() *string { +func (o *Payload137) GetDestinationAccountName() *string { if o == nil { return nil } return o.DestinationAccountName } -func (o *Payload135) GetTransferID() *string { +func (o *Payload137) GetTransferID() *string { if o == nil { return nil } return o.TransferID } -// Payload134 - The payload of the event, if requested. -type Payload134 struct { +// Payload136 - The payload of the event, if requested. +type Payload136 struct { ProjectID string `json:"projectId"` ProjectName string `json:"projectName"` OriginAccountName string `json:"originAccountName"` @@ -3259,61 +4482,61 @@ type Payload134 struct { TransferID *string `json:"transferId,omitempty"` } -func (p Payload134) MarshalJSON() ([]byte, error) { +func (p Payload136) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload134) UnmarshalJSON(data []byte) error { +func (p *Payload136) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"projectId", "projectName", "originAccountName", "destinationAccountName", "destinationAccountId"}); err != nil { return err } return nil } -func (o *Payload134) GetProjectID() string { +func (o *Payload136) GetProjectID() string { if o == nil { return "" } return o.ProjectID } -func (o *Payload134) GetProjectName() string { +func (o *Payload136) GetProjectName() string { if o == nil { return "" } return o.ProjectName } -func (o *Payload134) GetOriginAccountName() string { +func (o *Payload136) GetOriginAccountName() string { if o == nil { return "" } return o.OriginAccountName } -func (o *Payload134) GetDestinationAccountName() string { +func (o *Payload136) GetDestinationAccountName() string { if o == nil { return "" } return o.DestinationAccountName } -func (o *Payload134) GetDestinationAccountID() string { +func (o *Payload136) GetDestinationAccountID() string { if o == nil { return "" } return o.DestinationAccountID } -func (o *Payload134) GetTransferID() *string { +func (o *Payload136) GetTransferID() *string { if o == nil { return nil } return o.TransferID } -// Payload133 - The payload of the event, if requested. -type Payload133 struct { +// Payload135 - The payload of the event, if requested. +type Payload135 struct { RequestedTeamName string `json:"requestedTeamName"` RequestedUserName *string `json:"requestedUserName,omitempty"` GitUsername *string `json:"gitUsername,omitempty"` @@ -3322,61 +4545,61 @@ type Payload133 struct { BitbucketUsername *string `json:"bitbucketUsername,omitempty"` } -func (p Payload133) MarshalJSON() ([]byte, error) { +func (p Payload135) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload133) UnmarshalJSON(data []byte) error { +func (p *Payload135) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"requestedTeamName"}); err != nil { return err } return nil } -func (o *Payload133) GetRequestedTeamName() string { +func (o *Payload135) GetRequestedTeamName() string { if o == nil { return "" } return o.RequestedTeamName } -func (o *Payload133) GetRequestedUserName() *string { +func (o *Payload135) GetRequestedUserName() *string { if o == nil { return nil } return o.RequestedUserName } -func (o *Payload133) GetGitUsername() *string { +func (o *Payload135) GetGitUsername() *string { if o == nil { return nil } return o.GitUsername } -func (o *Payload133) GetGithubUsername() *string { +func (o *Payload135) GetGithubUsername() *string { if o == nil { return nil } return o.GithubUsername } -func (o *Payload133) GetGitlabUsername() *string { +func (o *Payload135) GetGitlabUsername() *string { if o == nil { return nil } return o.GitlabUsername } -func (o *Payload133) GetBitbucketUsername() *string { +func (o *Payload135) GetBitbucketUsername() *string { if o == nil { return nil } return o.BitbucketUsername } -// Payload132 - The payload of the event, if requested. -type Payload132 struct { +// Payload134 - The payload of the event, if requested. +type Payload134 struct { TeamName string `json:"teamName"` Username *string `json:"username,omitempty"` GitUsername *string `json:"gitUsername,omitempty"` @@ -3385,61 +4608,61 @@ type Payload132 struct { BitbucketUsername *string `json:"bitbucketUsername,omitempty"` } -func (p Payload132) MarshalJSON() ([]byte, error) { +func (p Payload134) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload132) UnmarshalJSON(data []byte) error { +func (p *Payload134) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"teamName"}); err != nil { return err } return nil } -func (o *Payload132) GetTeamName() string { +func (o *Payload134) GetTeamName() string { if o == nil { return "" } return o.TeamName } -func (o *Payload132) GetUsername() *string { +func (o *Payload134) GetUsername() *string { if o == nil { return nil } return o.Username } -func (o *Payload132) GetGitUsername() *string { +func (o *Payload134) GetGitUsername() *string { if o == nil { return nil } return o.GitUsername } -func (o *Payload132) GetGithubUsername() *string { +func (o *Payload134) GetGithubUsername() *string { if o == nil { return nil } return o.GithubUsername } -func (o *Payload132) GetGitlabUsername() *string { +func (o *Payload134) GetGitlabUsername() *string { if o == nil { return nil } return o.GitlabUsername } -func (o *Payload132) GetBitbucketUsername() *string { +func (o *Payload134) GetBitbucketUsername() *string { if o == nil { return nil } return o.BitbucketUsername } -// Payload131 - The payload of the event, if requested. -type Payload131 struct { +// Payload133 - The payload of the event, if requested. +type Payload133 struct { TeamName string `json:"teamName"` Username *string `json:"username,omitempty"` GitUsername *string `json:"gitUsername,omitempty"` @@ -3450,276 +4673,276 @@ type Payload131 struct { TeamID *string `json:"teamId,omitempty"` } -func (p Payload131) MarshalJSON() ([]byte, error) { +func (p Payload133) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload131) UnmarshalJSON(data []byte) error { +func (p *Payload133) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"teamName"}); err != nil { return err } return nil } -func (o *Payload131) GetTeamName() string { +func (o *Payload133) GetTeamName() string { if o == nil { return "" } return o.TeamName } -func (o *Payload131) GetUsername() *string { +func (o *Payload133) GetUsername() *string { if o == nil { return nil } return o.Username } -func (o *Payload131) GetGitUsername() *string { +func (o *Payload133) GetGitUsername() *string { if o == nil { return nil } return o.GitUsername } -func (o *Payload131) GetGithubUsername() *string { +func (o *Payload133) GetGithubUsername() *string { if o == nil { return nil } return o.GithubUsername } -func (o *Payload131) GetGitlabUsername() *string { +func (o *Payload133) GetGitlabUsername() *string { if o == nil { return nil } return o.GitlabUsername } -func (o *Payload131) GetBitbucketUsername() *string { +func (o *Payload133) GetBitbucketUsername() *string { if o == nil { return nil } return o.BitbucketUsername } -func (o *Payload131) GetUpdatedUID() *string { +func (o *Payload133) GetUpdatedUID() *string { if o == nil { return nil } return o.UpdatedUID } -func (o *Payload131) GetTeamID() *string { +func (o *Payload133) GetTeamID() *string { if o == nil { return nil } return o.TeamID } -// Payload130 - The payload of the event, if requested. -type Payload130 struct { +// Payload132 - The payload of the event, if requested. +type Payload132 struct { Price *float64 `json:"price,omitempty"` Currency *string `json:"currency,omitempty"` } -func (p Payload130) MarshalJSON() ([]byte, error) { +func (p Payload132) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload130) UnmarshalJSON(data []byte) error { +func (p *Payload132) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, nil); err != nil { return err } return nil } -func (o *Payload130) GetPrice() *float64 { +func (o *Payload132) GetPrice() *float64 { if o == nil { return nil } return o.Price } -func (o *Payload130) GetCurrency() *string { +func (o *Payload132) GetCurrency() *string { if o == nil { return nil } return o.Currency } -// Payload129 - The payload of the event, if requested. -type Payload129 struct { +// Payload131 - The payload of the event, if requested. +type Payload131 struct { PreviewDeploymentSuffix *string `json:"previewDeploymentSuffix,omitempty"` PreviousPreviewDeploymentSuffix *string `json:"previousPreviewDeploymentSuffix,omitempty"` } -func (p Payload129) MarshalJSON() ([]byte, error) { +func (p Payload131) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload129) UnmarshalJSON(data []byte) error { +func (p *Payload131) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, nil); err != nil { return err } return nil } -func (o *Payload129) GetPreviewDeploymentSuffix() *string { +func (o *Payload131) GetPreviewDeploymentSuffix() *string { if o == nil { return nil } return o.PreviewDeploymentSuffix } -func (o *Payload129) GetPreviousPreviewDeploymentSuffix() *string { +func (o *Payload131) GetPreviousPreviewDeploymentSuffix() *string { if o == nil { return nil } return o.PreviousPreviewDeploymentSuffix } - -// Payload128 - The payload of the event, if requested. -type Payload128 struct { + +// Payload130 - The payload of the event, if requested. +type Payload130 struct { Price *float64 `json:"price,omitempty"` Currency *string `json:"currency,omitempty"` Enabled *bool `json:"enabled,omitempty"` } -func (p Payload128) MarshalJSON() ([]byte, error) { +func (p Payload130) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload128) UnmarshalJSON(data []byte) error { +func (p *Payload130) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, nil); err != nil { return err } return nil } -func (o *Payload128) GetPrice() *float64 { +func (o *Payload130) GetPrice() *float64 { if o == nil { return nil } return o.Price } -func (o *Payload128) GetCurrency() *string { +func (o *Payload130) GetCurrency() *string { if o == nil { return nil } return o.Currency } -func (o *Payload128) GetEnabled() *bool { +func (o *Payload130) GetEnabled() *bool { if o == nil { return nil } return o.Enabled } -// Payload127 - The payload of the event, if requested. -type Payload127 struct { +// Payload129 - The payload of the event, if requested. +type Payload129 struct { Username string `json:"username"` } -func (p Payload127) MarshalJSON() ([]byte, error) { +func (p Payload129) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload127) UnmarshalJSON(data []byte) error { +func (p *Payload129) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"username"}); err != nil { return err } return nil } -func (o *Payload127) GetUsername() string { +func (o *Payload129) GetUsername() string { if o == nil { return "" } return o.Username } -// Payload126 - The payload of the event, if requested. -type Payload126 struct { +// Payload128 - The payload of the event, if requested. +type Payload128 struct { Email string `json:"email"` PrevEmail string `json:"prevEmail"` } -func (p Payload126) MarshalJSON() ([]byte, error) { +func (p Payload128) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload126) UnmarshalJSON(data []byte) error { +func (p *Payload128) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"email", "prevEmail"}); err != nil { return err } return nil } -func (o *Payload126) GetEmail() string { +func (o *Payload128) GetEmail() string { if o == nil { return "" } return o.Email } -func (o *Payload126) GetPrevEmail() string { +func (o *Payload128) GetPrevEmail() string { if o == nil { return "" } return o.PrevEmail } -// Payload125 - The payload of the event, if requested. -type Payload125 struct { +// Payload127 - The payload of the event, if requested. +type Payload127 struct { MfaEnabled bool `json:"mfaEnabled"` } -func (p Payload125) MarshalJSON() ([]byte, error) { +func (p Payload127) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload125) UnmarshalJSON(data []byte) error { +func (p *Payload127) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"mfaEnabled"}); err != nil { return err } return nil } -func (o *Payload125) GetMfaEnabled() bool { +func (o *Payload127) GetMfaEnabled() bool { if o == nil { return false } return o.MfaEnabled } -// Payload124 - The payload of the event, if requested. -type Payload124 struct { +// Payload126 - The payload of the event, if requested. +type Payload126 struct { Enabled bool `json:"enabled"` TotpVerified bool `json:"totpVerified"` } -func (p Payload124) MarshalJSON() ([]byte, error) { +func (p Payload126) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload124) UnmarshalJSON(data []byte) error { +func (p *Payload126) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"enabled", "totpVerified"}); err != nil { return err } return nil } -func (o *Payload124) GetEnabled() bool { +func (o *Payload126) GetEnabled() bool { if o == nil { return false } return o.Enabled } -func (o *Payload124) GetTotpVerified() bool { +func (o *Payload126) GetTotpVerified() bool { if o == nil { return false } @@ -3786,31 +5009,31 @@ func (o *Next2) GetTotpVerified() bool { return o.TotpVerified } -// Payload123 - The payload of the event, if requested. -type Payload123 struct { +// Payload125 - The payload of the event, if requested. +type Payload125 struct { Previous Previous2 `json:"previous"` Next Next2 `json:"next"` } -func (p Payload123) MarshalJSON() ([]byte, error) { +func (p Payload125) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload123) UnmarshalJSON(data []byte) error { +func (p *Payload125) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"previous", "next"}); err != nil { return err } return nil } -func (o *Payload123) GetPrevious() Previous2 { +func (o *Payload125) GetPrevious() Previous2 { if o == nil { return Previous2{} } return o.Previous } -func (o *Payload123) GetNext() Next2 { +func (o *Payload125) GetNext() Next2 { if o == nil { return Next2{} } @@ -3840,93 +5063,93 @@ func (o *UserEventRemoteCaching) GetEnabled() *bool { return o.Enabled } -// Payload122 - The payload of the event, if requested. -type Payload122 struct { +// Payload124 - The payload of the event, if requested. +type Payload124 struct { // Represents configuration for remote caching RemoteCaching *UserEventRemoteCaching `json:"remoteCaching,omitempty"` } -func (p Payload122) MarshalJSON() ([]byte, error) { +func (p Payload124) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload122) UnmarshalJSON(data []byte) error { +func (p *Payload124) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, nil); err != nil { return err } return nil } -func (o *Payload122) GetRemoteCaching() *UserEventRemoteCaching { +func (o *Payload124) GetRemoteCaching() *UserEventRemoteCaching { if o == nil { return nil } return o.RemoteCaching } -// Payload121 - The payload of the event, if requested. -type Payload121 struct { +// Payload123 - The payload of the event, if requested. +type Payload123 struct { Slug *string `json:"slug,omitempty"` } -func (p Payload121) MarshalJSON() ([]byte, error) { +func (p Payload123) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload121) UnmarshalJSON(data []byte) error { +func (p *Payload123) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, nil); err != nil { return err } return nil } -func (o *Payload121) GetSlug() *string { +func (o *Payload123) GetSlug() *string { if o == nil { return nil } return o.Slug } -// Payload120 - The payload of the event, if requested. -type Payload120 struct { +// Payload122 - The payload of the event, if requested. +type Payload122 struct { Name *string `json:"name,omitempty"` } -func (p Payload120) MarshalJSON() ([]byte, error) { +func (p Payload122) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload120) UnmarshalJSON(data []byte) error { +func (p *Payload122) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, nil); err != nil { return err } return nil } -func (o *Payload120) GetName() *string { +func (o *Payload122) GetName() *string { if o == nil { return nil } return o.Name } -// Payload119 - The payload of the event, if requested. -type Payload119 struct { +// Payload121 - The payload of the event, if requested. +type Payload121 struct { Enforced bool `json:"enforced"` } -func (p Payload119) MarshalJSON() ([]byte, error) { +func (p Payload121) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload119) UnmarshalJSON(data []byte) error { +func (p *Payload121) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"enforced"}); err != nil { return err } return nil } -func (o *Payload119) GetEnforced() bool { +func (o *Payload121) GetEnforced() bool { if o == nil { return false } @@ -3963,39 +5186,39 @@ func (o *PayloadUser3) GetUsername() string { return o.Username } -// Payload118 - The payload of the event, if requested. -type Payload118 struct { +// Payload120 - The payload of the event, if requested. +type Payload120 struct { Entitlement string `json:"entitlement"` User PayloadUser3 `json:"user"` PreviousCanceledAt *string `json:"previousCanceledAt,omitempty"` } -func (p Payload118) MarshalJSON() ([]byte, error) { +func (p Payload120) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload118) UnmarshalJSON(data []byte) error { +func (p *Payload120) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"entitlement", "user"}); err != nil { return err } return nil } -func (o *Payload118) GetEntitlement() string { +func (o *Payload120) GetEntitlement() string { if o == nil { return "" } return o.Entitlement } -func (o *Payload118) GetUser() PayloadUser3 { +func (o *Payload120) GetUser() PayloadUser3 { if o == nil { return PayloadUser3{} } return o.User } -func (o *Payload118) GetPreviousCanceledAt() *string { +func (o *Payload120) GetPreviousCanceledAt() *string { if o == nil { return nil } @@ -4032,31 +5255,31 @@ func (o *PayloadUser2) GetUsername() string { return o.Username } -// Payload117 - The payload of the event, if requested. -type Payload117 struct { +// Payload119 - The payload of the event, if requested. +type Payload119 struct { Entitlement string `json:"entitlement"` User PayloadUser2 `json:"user"` } -func (p Payload117) MarshalJSON() ([]byte, error) { +func (p Payload119) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload117) UnmarshalJSON(data []byte) error { +func (p *Payload119) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"entitlement", "user"}); err != nil { return err } return nil } -func (o *Payload117) GetEntitlement() string { +func (o *Payload119) GetEntitlement() string { if o == nil { return "" } return o.Entitlement } -func (o *Payload117) GetUser() PayloadUser2 { +func (o *Payload119) GetUser() PayloadUser2 { if o == nil { return PayloadUser2{} } @@ -4093,8 +5316,8 @@ func (o *UpdatedUser) GetEmail() string { return o.Email } -// Payload116 - The payload of the event, if requested. -type Payload116 struct { +// Payload118 - The payload of the event, if requested. +type Payload118 struct { DirectoryType *string `json:"directoryType,omitempty"` UpdatedUser *UpdatedUser `json:"updatedUser,omitempty"` Role *string `json:"role,omitempty"` @@ -4102,54 +5325,54 @@ type Payload116 struct { UpdatedUID *string `json:"updatedUid,omitempty"` } -func (p Payload116) MarshalJSON() ([]byte, error) { +func (p Payload118) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload116) UnmarshalJSON(data []byte) error { +func (p *Payload118) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"previousRole"}); err != nil { return err } return nil } -func (o *Payload116) GetDirectoryType() *string { +func (o *Payload118) GetDirectoryType() *string { if o == nil { return nil } return o.DirectoryType } -func (o *Payload116) GetUpdatedUser() *UpdatedUser { +func (o *Payload118) GetUpdatedUser() *UpdatedUser { if o == nil { return nil } return o.UpdatedUser } -func (o *Payload116) GetRole() *string { +func (o *Payload118) GetRole() *string { if o == nil { return nil } return o.Role } -func (o *Payload116) GetPreviousRole() string { +func (o *Payload118) GetPreviousRole() string { if o == nil { return "" } return o.PreviousRole } -func (o *Payload116) GetUpdatedUID() *string { +func (o *Payload118) GetUpdatedUID() *string { if o == nil { return nil } return o.UpdatedUID } -// Payload115 - The payload of the event, if requested. -type Payload115 struct { +// Payload117 - The payload of the event, if requested. +type Payload117 struct { Role *string `json:"role,omitempty"` UID string `json:"uid"` Origin *string `json:"origin,omitempty"` @@ -4158,53 +5381,53 @@ type Payload115 struct { Entitlements []string `json:"entitlements,omitempty"` } -func (p Payload115) MarshalJSON() ([]byte, error) { +func (p Payload117) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload115) UnmarshalJSON(data []byte) error { +func (p *Payload117) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"uid"}); err != nil { return err } return nil } -func (o *Payload115) GetRole() *string { +func (o *Payload117) GetRole() *string { if o == nil { return nil } return o.Role } -func (o *Payload115) GetUID() string { +func (o *Payload117) GetUID() string { if o == nil { return "" } return o.UID } -func (o *Payload115) GetOrigin() *string { +func (o *Payload117) GetOrigin() *string { if o == nil { return nil } return o.Origin } -func (o *Payload115) GetTeamRoles() []string { +func (o *Payload117) GetTeamRoles() []string { if o == nil { return nil } return o.TeamRoles } -func (o *Payload115) GetTeamPermissions() []string { +func (o *Payload117) GetTeamPermissions() []string { if o == nil { return nil } return o.TeamPermissions } -func (o *Payload115) GetEntitlements() []string { +func (o *Payload117) GetEntitlements() []string { if o == nil { return nil } @@ -4241,69 +5464,211 @@ func (o *DeletedUser) GetEmail() string { return o.Email } -// Payload114 - The payload of the event, if requested. -type Payload114 struct { - DeletedUser *DeletedUser `json:"deletedUser,omitempty"` - DeletedUID *string `json:"deletedUid,omitempty"` - GithubUsername *string `json:"githubUsername,omitempty"` - GitlabUsername *string `json:"gitlabUsername,omitempty"` - BitbucketUsername *string `json:"bitbucketUsername,omitempty"` - DirectoryType *string `json:"directoryType,omitempty"` +type UserEventRole string + +const ( + UserEventRoleOwner UserEventRole = "OWNER" + UserEventRoleMember UserEventRole = "MEMBER" + UserEventRoleDeveloper UserEventRole = "DEVELOPER" + UserEventRoleSecurity UserEventRole = "SECURITY" + UserEventRoleBilling UserEventRole = "BILLING" + UserEventRoleViewer UserEventRole = "VIEWER" + UserEventRoleViewerForPlus UserEventRole = "VIEWER_FOR_PLUS" + UserEventRoleContributor UserEventRole = "CONTRIBUTOR" +) + +func (e UserEventRole) ToPointer() *UserEventRole { + return &e +} +func (e *UserEventRole) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "OWNER": + fallthrough + case "MEMBER": + fallthrough + case "DEVELOPER": + fallthrough + case "SECURITY": + fallthrough + case "BILLING": + fallthrough + case "VIEWER": + fallthrough + case "VIEWER_FOR_PLUS": + fallthrough + case "CONTRIBUTOR": + *e = UserEventRole(v) + return nil + default: + return fmt.Errorf("invalid value for UserEventRole: %v", v) + } } -func (p Payload114) MarshalJSON() ([]byte, error) { +type PreviousPlan string + +const ( + PreviousPlanPro PreviousPlan = "pro" + PreviousPlanEnterprise PreviousPlan = "enterprise" + PreviousPlanHobby PreviousPlan = "hobby" +) + +func (e PreviousPlan) ToPointer() *PreviousPlan { + return &e +} +func (e *PreviousPlan) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "pro": + fallthrough + case "enterprise": + fallthrough + case "hobby": + *e = PreviousPlan(v) + return nil + default: + return fmt.Errorf("invalid value for PreviousPlan: %v", v) + } +} + +type NewPlan string + +const ( + NewPlanPro NewPlan = "pro" + NewPlanEnterprise NewPlan = "enterprise" + NewPlanHobby NewPlan = "hobby" +) + +func (e NewPlan) ToPointer() *NewPlan { + return &e +} +func (e *NewPlan) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "pro": + fallthrough + case "enterprise": + fallthrough + case "hobby": + *e = NewPlan(v) + return nil + default: + return fmt.Errorf("invalid value for NewPlan: %v", v) + } +} + +// Payload116 - The payload of the event, if requested. +type Payload116 struct { + DeletedUser *DeletedUser `json:"deletedUser,omitempty"` + DeletedUID *string `json:"deletedUid,omitempty"` + GithubUsername *string `json:"githubUsername,omitempty"` + GitlabUsername *string `json:"gitlabUsername,omitempty"` + BitbucketUsername *string `json:"bitbucketUsername,omitempty"` + DirectoryType *string `json:"directoryType,omitempty"` + Role *UserEventRole `json:"role,omitempty"` + Reason *string `json:"reason,omitempty"` + PreviousPlan *PreviousPlan `json:"previousPlan,omitempty"` + NewPlan *NewPlan `json:"newPlan,omitempty"` + Automated *bool `json:"automated,omitempty"` +} + +func (p Payload116) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload114) UnmarshalJSON(data []byte) error { +func (p *Payload116) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, nil); err != nil { return err } return nil } -func (o *Payload114) GetDeletedUser() *DeletedUser { +func (o *Payload116) GetDeletedUser() *DeletedUser { if o == nil { return nil } return o.DeletedUser } -func (o *Payload114) GetDeletedUID() *string { +func (o *Payload116) GetDeletedUID() *string { if o == nil { return nil } return o.DeletedUID } -func (o *Payload114) GetGithubUsername() *string { +func (o *Payload116) GetGithubUsername() *string { if o == nil { return nil } return o.GithubUsername } -func (o *Payload114) GetGitlabUsername() *string { +func (o *Payload116) GetGitlabUsername() *string { if o == nil { return nil } return o.GitlabUsername } -func (o *Payload114) GetBitbucketUsername() *string { +func (o *Payload116) GetBitbucketUsername() *string { if o == nil { return nil } return o.BitbucketUsername } -func (o *Payload114) GetDirectoryType() *string { +func (o *Payload116) GetDirectoryType() *string { if o == nil { return nil } return o.DirectoryType } +func (o *Payload116) GetRole() *UserEventRole { + if o == nil { + return nil + } + return o.Role +} + +func (o *Payload116) GetReason() *string { + if o == nil { + return nil + } + return o.Reason +} + +func (o *Payload116) GetPreviousPlan() *PreviousPlan { + if o == nil { + return nil + } + return o.PreviousPlan +} + +func (o *Payload116) GetNewPlan() *NewPlan { + if o == nil { + return nil + } + return o.NewPlan +} + +func (o *Payload116) GetAutomated() *bool { + if o == nil { + return nil + } + return o.Automated +} + type InvitedUser struct { Username string `json:"username"` Email string `json:"email"` @@ -4334,8 +5699,8 @@ func (o *InvitedUser) GetEmail() string { return o.Email } -// Payload113 - The payload of the event, if requested. -type Payload113 struct { +// Payload115 - The payload of the event, if requested. +type Payload115 struct { DirectoryType *string `json:"directoryType,omitempty"` SsoType *string `json:"ssoType,omitempty"` InvitedUser *InvitedUser `json:"invitedUser,omitempty"` @@ -4345,60 +5710,60 @@ type Payload113 struct { InvitedUID *string `json:"invitedUid,omitempty"` } -func (p Payload113) MarshalJSON() ([]byte, error) { +func (p Payload115) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload113) UnmarshalJSON(data []byte) error { +func (p *Payload115) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, nil); err != nil { return err } return nil } -func (o *Payload113) GetDirectoryType() *string { +func (o *Payload115) GetDirectoryType() *string { if o == nil { return nil } return o.DirectoryType } -func (o *Payload113) GetSsoType() *string { +func (o *Payload115) GetSsoType() *string { if o == nil { return nil } return o.SsoType } -func (o *Payload113) GetInvitedUser() *InvitedUser { +func (o *Payload115) GetInvitedUser() *InvitedUser { if o == nil { return nil } return o.InvitedUser } -func (o *Payload113) GetInvitedEmail() *string { +func (o *Payload115) GetInvitedEmail() *string { if o == nil { return nil } return o.InvitedEmail } -func (o *Payload113) GetInvitationRole() *string { +func (o *Payload115) GetInvitationRole() *string { if o == nil { return nil } return o.InvitationRole } -func (o *Payload113) GetEntitlements() []string { +func (o *Payload115) GetEntitlements() []string { if o == nil { return nil } return o.Entitlements } -func (o *Payload113) GetInvitedUID() *string { +func (o *Payload115) GetInvitedUID() *string { if o == nil { return nil } @@ -4435,70 +5800,70 @@ func (o *UserEventReason) GetDescription() string { return o.Description } -// Payload112 - The payload of the event, if requested. -type Payload112 struct { +// Payload114 - The payload of the event, if requested. +type Payload114 struct { Slug string `json:"slug"` TeamID string `json:"teamId"` By string `json:"by"` Reasons []UserEventReason `json:"reasons,omitempty"` } -func (p Payload112) MarshalJSON() ([]byte, error) { +func (p Payload114) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload112) UnmarshalJSON(data []byte) error { +func (p *Payload114) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"slug", "teamId", "by"}); err != nil { return err } return nil } -func (o *Payload112) GetSlug() string { +func (o *Payload114) GetSlug() string { if o == nil { return "" } return o.Slug } -func (o *Payload112) GetTeamID() string { +func (o *Payload114) GetTeamID() string { if o == nil { return "" } return o.TeamID } -func (o *Payload112) GetBy() string { +func (o *Payload114) GetBy() string { if o == nil { return "" } return o.By } -func (o *Payload112) GetReasons() []UserEventReason { +func (o *Payload114) GetReasons() []UserEventReason { if o == nil { return nil } return o.Reasons } -// Payload111 - The payload of the event, if requested. -type Payload111 struct { +// Payload113 - The payload of the event, if requested. +type Payload113 struct { Slug string `json:"slug"` } -func (p Payload111) MarshalJSON() ([]byte, error) { +func (p Payload113) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload111) UnmarshalJSON(data []byte) error { +func (p *Payload113) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"slug"}); err != nil { return err } return nil } -func (o *Payload111) GetSlug() string { +func (o *Payload113) GetSlug() string { if o == nil { return "" } @@ -4535,31 +5900,31 @@ func (o *Store) GetID() string { return o.ID } -// Payload110 - The payload of the event, if requested. -type Payload110 struct { +// Payload112 - The payload of the event, if requested. +type Payload112 struct { Store Store `json:"store"` OwnerID *string `json:"ownerId,omitempty"` } -func (p Payload110) MarshalJSON() ([]byte, error) { +func (p Payload112) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload110) UnmarshalJSON(data []byte) error { +func (p *Payload112) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"store"}); err != nil { return err } return nil } -func (o *Payload110) GetStore() Store { +func (o *Payload112) GetStore() Store { if o == nil { return Store{} } return o.Store } -func (o *Payload110) GetOwnerID() *string { +func (o *Payload112) GetOwnerID() *string { if o == nil { return nil } @@ -4592,23 +5957,23 @@ func (e *StoreType) UnmarshalJSON(data []byte) error { } } -// Payload109 - The payload of the event, if requested. -type Payload109 struct { +// Payload111 - The payload of the event, if requested. +type Payload111 struct { StoreType StoreType `json:"storeType"` } -func (p Payload109) MarshalJSON() ([]byte, error) { +func (p Payload111) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload109) UnmarshalJSON(data []byte) error { +func (p *Payload111) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"storeType"}); err != nil { return err } return nil } -func (o *Payload109) GetStoreType() StoreType { +func (o *Payload111) GetStoreType() StoreType { if o == nil { return StoreType("") } @@ -4619,8 +5984,8 @@ type PayloadType2 string const ( PayloadType2Redis PayloadType2 = "redis" - PayloadType2Postgres PayloadType2 = "postgres" PayloadType2EdgeConfig PayloadType2 = "edge-config" + PayloadType2Postgres PayloadType2 = "postgres" PayloadType2Blob PayloadType2 = "blob" PayloadType2Integration PayloadType2 = "integration" ) @@ -4636,10 +6001,10 @@ func (e *PayloadType2) UnmarshalJSON(data []byte) error { switch v { case "redis": fallthrough - case "postgres": - fallthrough case "edge-config": fallthrough + case "postgres": + fallthrough case "blob": fallthrough case "integration": @@ -4650,8 +6015,8 @@ func (e *PayloadType2) UnmarshalJSON(data []byte) error { } } -// Payload108 - The payload of the event, if requested. -type Payload108 struct { +// Payload110 - The payload of the event, if requested. +type Payload110 struct { ID string `json:"id"` Name *string `json:"name,omitempty"` ComputeUnitsMax *float64 `json:"computeUnitsMax,omitempty"` @@ -4660,76 +6025,76 @@ type Payload108 struct { Type PayloadType2 `json:"type"` } -func (p Payload108) MarshalJSON() ([]byte, error) { +func (p Payload110) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload108) UnmarshalJSON(data []byte) error { +func (p *Payload110) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"id", "type"}); err != nil { return err } return nil } -func (o *Payload108) GetID() string { +func (o *Payload110) GetID() string { if o == nil { return "" } return o.ID } -func (o *Payload108) GetName() *string { +func (o *Payload110) GetName() *string { if o == nil { return nil } return o.Name } -func (o *Payload108) GetComputeUnitsMax() *float64 { +func (o *Payload110) GetComputeUnitsMax() *float64 { if o == nil { return nil } return o.ComputeUnitsMax } -func (o *Payload108) GetComputeUnitsMin() *float64 { +func (o *Payload110) GetComputeUnitsMin() *float64 { if o == nil { return nil } return o.ComputeUnitsMin } -func (o *Payload108) GetSuspendTimeoutSeconds() *float64 { +func (o *Payload110) GetSuspendTimeoutSeconds() *float64 { if o == nil { return nil } return o.SuspendTimeoutSeconds } -func (o *Payload108) GetType() PayloadType2 { +func (o *Payload110) GetType() PayloadType2 { if o == nil { return PayloadType2("") } return o.Type } -// Payload107 - The payload of the event, if requested. -type Payload107 struct { +// Payload109 - The payload of the event, if requested. +type Payload109 struct { WebhookURL *string `json:"webhookUrl,omitempty"` } -func (p Payload107) MarshalJSON() ([]byte, error) { +func (p Payload109) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload107) UnmarshalJSON(data []byte) error { +func (p *Payload109) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, nil); err != nil { return err } return nil } -func (o *Payload107) GetWebhookURL() *string { +func (o *Payload109) GetWebhookURL() *string { if o == nil { return nil } @@ -4922,32 +6287,32 @@ func (o *BudgetFixed2) GetID() string { return o.ID } -// Payload106 - The payload of the event, if requested. -type Payload106 struct { +// Payload108 - The payload of the event, if requested. +type Payload108 struct { // Represents a budget for tracking and notifying teams on their spending. Budget BudgetFixed2 `json:"budget"` WebhookURL *string `json:"webhookUrl,omitempty"` } -func (p Payload106) MarshalJSON() ([]byte, error) { +func (p Payload108) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload106) UnmarshalJSON(data []byte) error { +func (p *Payload108) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"budget"}); err != nil { return err } return nil } -func (o *Payload106) GetBudget() BudgetFixed2 { +func (o *Payload108) GetBudget() BudgetFixed2 { if o == nil { return BudgetFixed2{} } return o.Budget } -func (o *Payload106) GetWebhookURL() *string { +func (o *Payload108) GetWebhookURL() *string { if o == nil { return nil } @@ -5140,24 +6505,24 @@ func (o *BudgetFixed1) GetID() string { return o.ID } -// Payload105 - The payload of the event, if requested. -type Payload105 struct { +// Payload107 - The payload of the event, if requested. +type Payload107 struct { // Represents a budget for tracking and notifying teams on their spending. Budget BudgetFixed1 `json:"budget"` } -func (p Payload105) MarshalJSON() ([]byte, error) { +func (p Payload107) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload105) UnmarshalJSON(data []byte) error { +func (p *Payload107) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"budget"}); err != nil { return err } return nil } -func (o *Payload105) GetBudget() BudgetFixed1 { +func (o *Payload107) GetBudget() BudgetFixed1 { if o == nil { return BudgetFixed1{} } @@ -5373,23 +6738,23 @@ func (o *Budget) GetBudgetItem() BudgetItem { return o.BudgetItem } -// Payload104 - The payload of the event, if requested. -type Payload104 struct { +// Payload106 - The payload of the event, if requested. +type Payload106 struct { Budget Budget `json:"budget"` } -func (p Payload104) MarshalJSON() ([]byte, error) { +func (p Payload106) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload104) UnmarshalJSON(data []byte) error { +func (p *Payload106) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"budget"}); err != nil { return err } return nil } -func (o *Payload104) GetBudget() Budget { +func (o *Payload106) GetBudget() Budget { if o == nil { return Budget{} } @@ -5426,109 +6791,109 @@ func (o *ScalingRules) GetMax() float64 { return o.Max } -// Payload103 - The payload of the event, if requested. -type Payload103 struct { +// Payload105 - The payload of the event, if requested. +type Payload105 struct { ScalingRules map[string]ScalingRules `json:"scalingRules"` Min float64 `json:"min"` Max float64 `json:"max"` URL string `json:"url"` } -func (p Payload103) MarshalJSON() ([]byte, error) { +func (p Payload105) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload103) UnmarshalJSON(data []byte) error { +func (p *Payload105) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"scalingRules", "min", "max", "url"}); err != nil { return err } return nil } -func (o *Payload103) GetScalingRules() map[string]ScalingRules { +func (o *Payload105) GetScalingRules() map[string]ScalingRules { if o == nil { return map[string]ScalingRules{} } return o.ScalingRules } -func (o *Payload103) GetMin() float64 { +func (o *Payload105) GetMin() float64 { if o == nil { return 0.0 } return o.Min } -func (o *Payload103) GetMax() float64 { +func (o *Payload105) GetMax() float64 { if o == nil { return 0.0 } return o.Max } -func (o *Payload103) GetURL() string { +func (o *Payload105) GetURL() string { if o == nil { return "" } return o.URL } -// Payload102 - The payload of the event, if requested. -type Payload102 struct { +// Payload104 - The payload of the event, if requested. +type Payload104 struct { Bio string `json:"bio"` } -func (p Payload102) MarshalJSON() ([]byte, error) { +func (p Payload104) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload102) UnmarshalJSON(data []byte) error { +func (p *Payload104) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"bio"}); err != nil { return err } return nil } -func (o *Payload102) GetBio() string { +func (o *Payload104) GetBio() string { if o == nil { return "" } return o.Bio } -// Payload101 - The payload of the event, if requested. -type Payload101 struct { +// Payload103 - The payload of the event, if requested. +type Payload103 struct { OldName string `json:"oldName"` NewName string `json:"newName"` UID *string `json:"uid,omitempty"` } -func (p Payload101) MarshalJSON() ([]byte, error) { +func (p Payload103) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload101) UnmarshalJSON(data []byte) error { +func (p *Payload103) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"oldName", "newName"}); err != nil { return err } return nil } -func (o *Payload101) GetOldName() string { +func (o *Payload103) GetOldName() string { if o == nil { return "" } return o.OldName } -func (o *Payload101) GetNewName() string { +func (o *Payload103) GetNewName() string { if o == nil { return "" } return o.NewName } -func (o *Payload101) GetUID() *string { +func (o *Payload103) GetUID() *string { if o == nil { return nil } @@ -5620,31 +6985,31 @@ func (u NameUnion) MarshalJSON() ([]byte, error) { return nil, errors.New("could not marshal union type NameUnion: all fields are null") } -// Payload100 - The payload of the event, if requested. -type Payload100 struct { +// Payload102 - The payload of the event, if requested. +type Payload102 struct { UID string `json:"uid"` Name NameUnion `json:"name"` } -func (p Payload100) MarshalJSON() ([]byte, error) { +func (p Payload102) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload100) UnmarshalJSON(data []byte) error { +func (p *Payload102) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"uid", "name"}); err != nil { return err } return nil } -func (o *Payload100) GetUID() string { +func (o *Payload102) GetUID() string { if o == nil { return "" } return o.UID } -func (o *Payload100) GetName() NameUnion { +func (o *Payload102) GetName() NameUnion { if o == nil { return NameUnion{} } @@ -5703,31 +7068,31 @@ func (o *PreviousRule2) GetEmail() string { return o.Email } -// Payload99 - The payload of the event, if requested. -type Payload99 struct { +// Payload101 - The payload of the event, if requested. +type Payload101 struct { Team UserEventTeam7 `json:"team"` PreviousRule PreviousRule2 `json:"previousRule"` } -func (p Payload99) MarshalJSON() ([]byte, error) { +func (p Payload101) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload99) UnmarshalJSON(data []byte) error { +func (p *Payload101) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"team", "previousRule"}); err != nil { return err } return nil } -func (o *Payload99) GetTeam() UserEventTeam7 { +func (o *Payload101) GetTeam() UserEventTeam7 { if o == nil { return UserEventTeam7{} } return o.Team } -func (o *Payload99) GetPreviousRule() PreviousRule2 { +func (o *Payload101) GetPreviousRule() PreviousRule2 { if o == nil { return PreviousRule2{} } @@ -5808,249 +7173,249 @@ func (o *NextRule) GetEmail() string { return o.Email } -// Payload98 - The payload of the event, if requested. -type Payload98 struct { +// Payload100 - The payload of the event, if requested. +type Payload100 struct { Team UserEventTeam6 `json:"team"` PreviousRule *PreviousRule1 `json:"previousRule,omitempty"` NextRule *NextRule `json:"nextRule,omitempty"` } -func (p Payload98) MarshalJSON() ([]byte, error) { +func (p Payload100) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload98) UnmarshalJSON(data []byte) error { +func (p *Payload100) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"team"}); err != nil { return err } return nil } -func (o *Payload98) GetTeam() UserEventTeam6 { +func (o *Payload100) GetTeam() UserEventTeam6 { if o == nil { return UserEventTeam6{} } return o.Team } -func (o *Payload98) GetPreviousRule() *PreviousRule1 { +func (o *Payload100) GetPreviousRule() *PreviousRule1 { if o == nil { return nil } return o.PreviousRule } -func (o *Payload98) GetNextRule() *NextRule { +func (o *Payload100) GetNextRule() *NextRule { if o == nil { return nil } return o.NextRule } -// Payload97 - The payload of the event, if requested. -type Payload97 struct { +// Payload99 - The payload of the event, if requested. +type Payload99 struct { Email string `json:"email"` } -func (p Payload97) MarshalJSON() ([]byte, error) { +func (p Payload99) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload97) UnmarshalJSON(data []byte) error { +func (p *Payload99) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"email"}); err != nil { return err } return nil } -func (o *Payload97) GetEmail() string { +func (o *Payload99) GetEmail() string { if o == nil { return "" } return o.Email } -// Payload96 - The payload of the event, if requested. -type Payload96 struct { +// Payload98 - The payload of the event, if requested. +type Payload98 struct { Email string `json:"email"` Verified bool `json:"verified"` } -func (p Payload96) MarshalJSON() ([]byte, error) { +func (p Payload98) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload96) UnmarshalJSON(data []byte) error { +func (p *Payload98) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"email", "verified"}); err != nil { return err } return nil } -func (o *Payload96) GetEmail() string { +func (o *Payload98) GetEmail() string { if o == nil { return "" } return o.Email } -func (o *Payload96) GetVerified() bool { +func (o *Payload98) GetVerified() bool { if o == nil { return false } return o.Verified } -// Payload95 - The payload of the event, if requested. -type Payload95 struct { +// Payload97 - The payload of the event, if requested. +type Payload97 struct { Instances float64 `json:"instances"` URL string `json:"url"` } -func (p Payload95) MarshalJSON() ([]byte, error) { +func (p Payload97) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload95) UnmarshalJSON(data []byte) error { +func (p *Payload97) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"instances", "url"}); err != nil { return err } return nil } -func (o *Payload95) GetInstances() float64 { +func (o *Payload97) GetInstances() float64 { if o == nil { return 0.0 } return o.Instances } -func (o *Payload95) GetURL() string { +func (o *Payload97) GetURL() string { if o == nil { return "" } return o.URL } -// Payload94 - The payload of the event, if requested. -type Payload94 struct { +// Payload96 - The payload of the event, if requested. +type Payload96 struct { GitProvider string `json:"gitProvider"` GitProviderGroupDescriptor string `json:"gitProviderGroupDescriptor"` GitScope string `json:"gitScope"` } -func (p Payload94) MarshalJSON() ([]byte, error) { +func (p Payload96) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload94) UnmarshalJSON(data []byte) error { +func (p *Payload96) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"gitProvider", "gitProviderGroupDescriptor", "gitScope"}); err != nil { return err } return nil } -func (o *Payload94) GetGitProvider() string { +func (o *Payload96) GetGitProvider() string { if o == nil { return "" } return o.GitProvider } -func (o *Payload94) GetGitProviderGroupDescriptor() string { +func (o *Payload96) GetGitProviderGroupDescriptor() string { if o == nil { return "" } return o.GitProviderGroupDescriptor } -func (o *Payload94) GetGitScope() string { +func (o *Payload96) GetGitScope() string { if o == nil { return "" } return o.GitScope } -// Payload93 - The payload of the event, if requested. -type Payload93 struct { +// Payload95 - The payload of the event, if requested. +type Payload95 struct { ProjectID string `json:"projectId"` ProjectName string `json:"projectName"` TargetDeploymentID *string `json:"targetDeploymentId,omitempty"` NewTargetPercentage *float64 `json:"newTargetPercentage,omitempty"` } -func (p Payload93) MarshalJSON() ([]byte, error) { +func (p Payload95) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload93) UnmarshalJSON(data []byte) error { +func (p *Payload95) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"projectId", "projectName"}); err != nil { return err } return nil } -func (o *Payload93) GetProjectID() string { +func (o *Payload95) GetProjectID() string { if o == nil { return "" } return o.ProjectID } -func (o *Payload93) GetProjectName() string { +func (o *Payload95) GetProjectName() string { if o == nil { return "" } return o.ProjectName } -func (o *Payload93) GetTargetDeploymentID() *string { +func (o *Payload95) GetTargetDeploymentID() *string { if o == nil { return nil } return o.TargetDeploymentID } -func (o *Payload93) GetNewTargetPercentage() *float64 { +func (o *Payload95) GetNewTargetPercentage() *float64 { if o == nil { return nil } return o.NewTargetPercentage } -// Payload92 - The payload of the event, if requested. -type Payload92 struct { +// Payload94 - The payload of the event, if requested. +type Payload94 struct { ProjectID string `json:"projectId"` ProjectName string `json:"projectName"` TargetDeploymentID *string `json:"targetDeploymentId,omitempty"` } -func (p Payload92) MarshalJSON() ([]byte, error) { +func (p Payload94) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload92) UnmarshalJSON(data []byte) error { +func (p *Payload94) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"projectId", "projectName"}); err != nil { return err } return nil } -func (o *Payload92) GetProjectID() string { +func (o *Payload94) GetProjectID() string { if o == nil { return "" } return o.ProjectID } -func (o *Payload92) GetProjectName() string { +func (o *Payload94) GetProjectName() string { if o == nil { return "" } return o.ProjectName } -func (o *Payload92) GetTargetDeploymentID() *string { +func (o *Payload94) GetTargetDeploymentID() *string { if o == nil { return nil } @@ -6058,6 +7423,7 @@ func (o *Payload92) GetTargetDeploymentID() *string { } type NextStaticIps struct { + Builds *bool `json:"builds,omitempty"` Enabled bool `json:"enabled"` Regions []string `json:"regions,omitempty"` } @@ -6073,6 +7439,13 @@ func (n *NextStaticIps) UnmarshalJSON(data []byte) error { return nil } +func (o *NextStaticIps) GetBuilds() *bool { + if o == nil { + return nil + } + return o.Builds +} + func (o *NextStaticIps) GetEnabled() bool { if o == nil { return false @@ -6140,6 +7513,7 @@ func (o *Next1) GetProject() NextProject { } type PreviousStaticIps struct { + Builds *bool `json:"builds,omitempty"` Enabled bool `json:"enabled"` Regions []string `json:"regions,omitempty"` } @@ -6155,6 +7529,13 @@ func (p *PreviousStaticIps) UnmarshalJSON(data []byte) error { return nil } +func (o *PreviousStaticIps) GetBuilds() *bool { + if o == nil { + return nil + } + return o.Builds +} + func (o *PreviousStaticIps) GetEnabled() bool { if o == nil { return false @@ -6221,102 +7602,137 @@ func (o *Previous1) GetProject() PreviousProject { return o.Project } -// Payload91 - The payload of the event, if requested. -type Payload91 struct { +// Payload93 - The payload of the event, if requested. +type Payload93 struct { Next Next1 `json:"next"` Previous Previous1 `json:"previous"` } -func (p Payload91) MarshalJSON() ([]byte, error) { +func (p Payload93) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload91) UnmarshalJSON(data []byte) error { +func (p *Payload93) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"next", "previous"}); err != nil { return err } return nil } -func (o *Payload91) GetNext() Next1 { +func (o *Payload93) GetNext() Next1 { if o == nil { return Next1{} } return o.Next } -func (o *Payload91) GetPrevious() Previous1 { +func (o *Payload93) GetPrevious() Previous1 { if o == nil { return Previous1{} } return o.Previous } -// Payload90 - The payload of the event, if requested. -type Payload90 struct { +// Payload92 - The payload of the event, if requested. +type Payload92 struct { Source string `json:"source"` ProjectID string `json:"projectId"` } -func (p Payload90) MarshalJSON() ([]byte, error) { +func (p Payload92) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload90) UnmarshalJSON(data []byte) error { +func (p *Payload92) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"source", "projectId"}); err != nil { return err } return nil } -func (o *Payload90) GetSource() string { +func (o *Payload92) GetSource() string { if o == nil { return "" } return o.Source } -func (o *Payload90) GetProjectID() string { +func (o *Payload92) GetProjectID() string { if o == nil { return "" } return o.ProjectID } -// Payload89 - The payload of the event, if requested. -type Payload89 struct { - ProjectID string `json:"projectId"` +type ReasonCode2 string + +const ( + ReasonCode2PublicAPI ReasonCode2 = "PUBLIC_API" + ReasonCode2Backoffice ReasonCode2 = "BACKOFFICE" +) + +func (e ReasonCode2) ToPointer() *ReasonCode2 { + return &e +} +func (e *ReasonCode2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "PUBLIC_API": + fallthrough + case "BACKOFFICE": + *e = ReasonCode2(v) + return nil + default: + return fmt.Errorf("invalid value for ReasonCode2: %v", v) + } } -func (p Payload89) MarshalJSON() ([]byte, error) { +// Payload91 - The payload of the event, if requested. +type Payload91 struct { + ProjectID string `json:"projectId"` + ReasonCode *ReasonCode2 `json:"reasonCode,omitempty"` +} + +func (p Payload91) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload89) UnmarshalJSON(data []byte) error { +func (p *Payload91) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"projectId"}); err != nil { return err } return nil } -func (o *Payload89) GetProjectID() string { +func (o *Payload91) GetProjectID() string { if o == nil { return "" } return o.ProjectID } -type ReasonCode string +func (o *Payload91) GetReasonCode() *ReasonCode2 { + if o == nil { + return nil + } + return o.ReasonCode +} + +type ReasonCode1 string const ( - ReasonCodeBudgetReached ReasonCode = "BUDGET_REACHED" - ReasonCodePublicAPI ReasonCode = "PUBLIC_API" + ReasonCode1BudgetReached ReasonCode1 = "BUDGET_REACHED" + ReasonCode1PublicAPI ReasonCode1 = "PUBLIC_API" + ReasonCode1Backoffice ReasonCode1 = "BACKOFFICE" ) -func (e ReasonCode) ToPointer() *ReasonCode { +func (e ReasonCode1) ToPointer() *ReasonCode1 { return &e } -func (e *ReasonCode) UnmarshalJSON(data []byte) error { +func (e *ReasonCode1) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { return err @@ -6325,38 +7741,40 @@ func (e *ReasonCode) UnmarshalJSON(data []byte) error { case "BUDGET_REACHED": fallthrough case "PUBLIC_API": - *e = ReasonCode(v) + fallthrough + case "BACKOFFICE": + *e = ReasonCode1(v) return nil default: - return fmt.Errorf("invalid value for ReasonCode: %v", v) + return fmt.Errorf("invalid value for ReasonCode1: %v", v) } } -// Payload88 - The payload of the event, if requested. -type Payload88 struct { - ProjectID string `json:"projectId"` - ReasonCode *ReasonCode `json:"reasonCode,omitempty"` +// Payload90 - The payload of the event, if requested. +type Payload90 struct { + ProjectID string `json:"projectId"` + ReasonCode *ReasonCode1 `json:"reasonCode,omitempty"` } -func (p Payload88) MarshalJSON() ([]byte, error) { +func (p Payload90) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload88) UnmarshalJSON(data []byte) error { +func (p *Payload90) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"projectId"}); err != nil { return err } return nil } -func (o *Payload88) GetProjectID() string { +func (o *Payload90) GetProjectID() string { if o == nil { return "" } return o.ProjectID } -func (o *Payload88) GetReasonCode() *ReasonCode { +func (o *Payload90) GetReasonCode() *ReasonCode1 { if o == nil { return nil } @@ -6833,62 +8251,62 @@ func (o *Project6) GetNewConnectConfigurations() []NewConnectConfiguration { return o.NewConnectConfigurations } -// Payload87 - The payload of the event, if requested. -type Payload87 struct { +// Payload89 - The payload of the event, if requested. +type Payload89 struct { Team UserEventTeam5 `json:"team"` Project Project6 `json:"project"` } -func (p Payload87) MarshalJSON() ([]byte, error) { +func (p Payload89) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload87) UnmarshalJSON(data []byte) error { +func (p *Payload89) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"team", "project"}); err != nil { return err } return nil } -func (o *Payload87) GetTeam() UserEventTeam5 { +func (o *Payload89) GetTeam() UserEventTeam5 { if o == nil { return UserEventTeam5{} } return o.Team } -func (o *Payload87) GetProject() Project6 { +func (o *Payload89) GetProject() Project6 { if o == nil { return Project6{} } return o.Project } -// Payload86 - The payload of the event, if requested. -type Payload86 struct { +// Payload88 - The payload of the event, if requested. +type Payload88 struct { Name string `json:"name"` OwnerID string `json:"ownerId"` } -func (p Payload86) MarshalJSON() ([]byte, error) { +func (p Payload88) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload86) UnmarshalJSON(data []byte) error { +func (p *Payload88) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"name", "ownerId"}); err != nil { return err } return nil } -func (o *Payload86) GetName() string { +func (o *Payload88) GetName() string { if o == nil { return "" } return o.Name } -func (o *Payload86) GetOwnerID() string { +func (o *Payload88) GetOwnerID() string { if o == nil { return "" } @@ -6924,31 +8342,31 @@ func (e *Action4) UnmarshalJSON(data []byte) error { } } -// Payload85 - The payload of the event, if requested. -type Payload85 struct { +// Payload87 - The payload of the event, if requested. +type Payload87 struct { ProjectName string `json:"projectName"` Action Action4 `json:"action"` } -func (p Payload85) MarshalJSON() ([]byte, error) { +func (p Payload87) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload85) UnmarshalJSON(data []byte) error { +func (p *Payload87) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"projectName", "action"}); err != nil { return err } return nil } -func (o *Payload85) GetProjectName() string { +func (o *Payload87) GetProjectName() string { if o == nil { return "" } return o.ProjectName } -func (o *Payload85) GetAction() Action4 { +func (o *Payload87) GetAction() Action4 { if o == nil { return Action4("") } @@ -7043,39 +8461,39 @@ func (o *OldOptionsAllowlist) GetPaths() []OldOptionsAllowlistPath { return o.Paths } -// Payload84 - The payload of the event, if requested. -type Payload84 struct { +// Payload86 - The payload of the event, if requested. +type Payload86 struct { ProjectName string `json:"projectName"` OptionsAllowlist *OptionsAllowlist `json:"optionsAllowlist,omitempty"` OldOptionsAllowlist *OldOptionsAllowlist `json:"oldOptionsAllowlist,omitempty"` } -func (p Payload84) MarshalJSON() ([]byte, error) { +func (p Payload86) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload84) UnmarshalJSON(data []byte) error { +func (p *Payload86) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"projectName"}); err != nil { return err } return nil } -func (o *Payload84) GetProjectName() string { +func (o *Payload86) GetProjectName() string { if o == nil { return "" } return o.ProjectName } -func (o *Payload84) GetOptionsAllowlist() *OptionsAllowlist { +func (o *Payload86) GetOptionsAllowlist() *OptionsAllowlist { if o == nil { return nil } return o.OptionsAllowlist } -func (o *Payload84) GetOldOptionsAllowlist() *OldOptionsAllowlist { +func (o *Payload86) GetOldOptionsAllowlist() *OldOptionsAllowlist { if o == nil { return nil } @@ -7152,8 +8570,8 @@ func (e *OldTrustedIps) UnmarshalJSON(data []byte) error { } } -// Payload83 - The payload of the event, if requested. -type Payload83 struct { +// Payload85 - The payload of the event, if requested. +type Payload85 struct { ProjectName string `json:"projectName"` TrustedIps *TrustedIps `json:"trustedIps,omitempty"` OldTrustedIps *OldTrustedIps `json:"oldTrustedIps,omitempty"` @@ -7161,46 +8579,46 @@ type Payload83 struct { RemovedAddresses []string `json:"removedAddresses,omitempty"` } -func (p Payload83) MarshalJSON() ([]byte, error) { +func (p Payload85) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload83) UnmarshalJSON(data []byte) error { +func (p *Payload85) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"projectName"}); err != nil { return err } return nil } -func (o *Payload83) GetProjectName() string { +func (o *Payload85) GetProjectName() string { if o == nil { return "" } return o.ProjectName } -func (o *Payload83) GetTrustedIps() *TrustedIps { +func (o *Payload85) GetTrustedIps() *TrustedIps { if o == nil { return nil } return o.TrustedIps } -func (o *Payload83) GetOldTrustedIps() *OldTrustedIps { +func (o *Payload85) GetOldTrustedIps() *OldTrustedIps { if o == nil { return nil } return o.OldTrustedIps } -func (o *Payload83) GetAddedAddresses() []string { +func (o *Payload85) GetAddedAddresses() []string { if o == nil { return nil } return o.AddedAddresses } -func (o *Payload83) GetRemovedAddresses() []string { +func (o *Payload85) GetRemovedAddresses() []string { if o == nil { return nil } @@ -7505,39 +8923,39 @@ func (u OldPasswordProtectionUnion) MarshalJSON() ([]byte, error) { return nil, errors.New("could not marshal union type OldPasswordProtectionUnion: all fields are null") } -// Payload82 - The payload of the event, if requested. -type Payload82 struct { +// Payload84 - The payload of the event, if requested. +type Payload84 struct { ProjectName string `json:"projectName"` PasswordProtection *PasswordProtection `json:"passwordProtection"` OldPasswordProtection *OldPasswordProtectionUnion `json:"oldPasswordProtection"` } -func (p Payload82) MarshalJSON() ([]byte, error) { +func (p Payload84) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload82) UnmarshalJSON(data []byte) error { +func (p *Payload84) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"projectName", "passwordProtection", "oldPasswordProtection"}); err != nil { return err } return nil } -func (o *Payload82) GetProjectName() string { +func (o *Payload84) GetProjectName() string { if o == nil { return "" } return o.ProjectName } -func (o *Payload82) GetPasswordProtection() *PasswordProtection { +func (o *Payload84) GetPasswordProtection() *PasswordProtection { if o == nil { return nil } return o.PasswordProtection } -func (o *Payload82) GetOldPasswordProtection() *OldPasswordProtectionUnion { +func (o *Payload84) GetOldPasswordProtection() *OldPasswordProtectionUnion { if o == nil { return nil } @@ -7842,117 +9260,117 @@ func (u OldSsoProtectionUnion) MarshalJSON() ([]byte, error) { return nil, errors.New("could not marshal union type OldSsoProtectionUnion: all fields are null") } -// Payload81 - The payload of the event, if requested. -type Payload81 struct { +// Payload83 - The payload of the event, if requested. +type Payload83 struct { ProjectName string `json:"projectName"` SsoProtection *SsoProtection `json:"ssoProtection"` OldSsoProtection *OldSsoProtectionUnion `json:"oldSsoProtection"` } -func (p Payload81) MarshalJSON() ([]byte, error) { +func (p Payload83) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload81) UnmarshalJSON(data []byte) error { +func (p *Payload83) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"projectName", "ssoProtection", "oldSsoProtection"}); err != nil { return err } return nil } -func (o *Payload81) GetProjectName() string { +func (o *Payload83) GetProjectName() string { if o == nil { return "" } return o.ProjectName } -func (o *Payload81) GetSsoProtection() *SsoProtection { +func (o *Payload83) GetSsoProtection() *SsoProtection { if o == nil { return nil } return o.SsoProtection } -func (o *Payload81) GetOldSsoProtection() *OldSsoProtectionUnion { +func (o *Payload83) GetOldSsoProtection() *OldSsoProtectionUnion { if o == nil { return nil } return o.OldSsoProtection } -// Payload80 - The payload of the event, if requested. -type Payload80 struct { +// Payload82 - The payload of the event, if requested. +type Payload82 struct { ProjectName *string `json:"projectName,omitempty"` ProjectID string `json:"projectId"` } -func (p Payload80) MarshalJSON() ([]byte, error) { +func (p Payload82) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload80) UnmarshalJSON(data []byte) error { +func (p *Payload82) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"projectId"}); err != nil { return err } return nil } -func (o *Payload80) GetProjectName() *string { +func (o *Payload82) GetProjectName() *string { if o == nil { return nil } return o.ProjectName } -func (o *Payload80) GetProjectID() string { +func (o *Payload82) GetProjectID() string { if o == nil { return "" } return o.ProjectID } -// Payload79 - The payload of the event, if requested. -type Payload79 struct { +// Payload81 - The payload of the event, if requested. +type Payload81 struct { ProjectName *string `json:"projectName,omitempty"` ProjectID string `json:"projectId"` ProjectAnalytics map[string]any `json:"projectAnalytics,omitempty"` PrevProjectAnalytics map[string]any `json:"prevProjectAnalytics,omitempty"` } -func (p Payload79) MarshalJSON() ([]byte, error) { +func (p Payload81) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload79) UnmarshalJSON(data []byte) error { +func (p *Payload81) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"projectId"}); err != nil { return err } return nil } -func (o *Payload79) GetProjectName() *string { +func (o *Payload81) GetProjectName() *string { if o == nil { return nil } return o.ProjectName } -func (o *Payload79) GetProjectID() string { +func (o *Payload81) GetProjectID() string { if o == nil { return "" } return o.ProjectID } -func (o *Payload79) GetProjectAnalytics() map[string]any { +func (o *Payload81) GetProjectAnalytics() map[string]any { if o == nil { return nil } return o.ProjectAnalytics } -func (o *Payload79) GetPrevProjectAnalytics() map[string]any { +func (o *Payload81) GetPrevProjectAnalytics() map[string]any { if o == nil { return nil } @@ -8099,78 +9517,78 @@ func (o *PrevProjectAnalytics) GetSpendLimitInDollars() *float64 { return o.SpendLimitInDollars } -// Payload78 - The payload of the event, if requested. -type Payload78 struct { +// Payload80 - The payload of the event, if requested. +type Payload80 struct { ProjectName *string `json:"projectName,omitempty"` ProjectID string `json:"projectId"` ProjectAnalytics *ProjectAnalytics `json:"projectAnalytics"` PrevProjectAnalytics *PrevProjectAnalytics `json:"prevProjectAnalytics"` } -func (p Payload78) MarshalJSON() ([]byte, error) { +func (p Payload80) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload78) UnmarshalJSON(data []byte) error { +func (p *Payload80) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"projectId", "projectAnalytics", "prevProjectAnalytics"}); err != nil { return err } return nil } -func (o *Payload78) GetProjectName() *string { +func (o *Payload80) GetProjectName() *string { if o == nil { return nil } return o.ProjectName } -func (o *Payload78) GetProjectID() string { +func (o *Payload80) GetProjectID() string { if o == nil { return "" } return o.ProjectID } -func (o *Payload78) GetProjectAnalytics() *ProjectAnalytics { +func (o *Payload80) GetProjectAnalytics() *ProjectAnalytics { if o == nil { return nil } return o.ProjectAnalytics } -func (o *Payload78) GetPrevProjectAnalytics() *PrevProjectAnalytics { +func (o *Payload80) GetPrevProjectAnalytics() *PrevProjectAnalytics { if o == nil { return nil } return o.PrevProjectAnalytics } -// Payload77 - The payload of the event, if requested. -type Payload77 struct { +// Payload79 - The payload of the event, if requested. +type Payload79 struct { ProjectName string `json:"projectName"` Branch string `json:"branch"` } -func (p Payload77) MarshalJSON() ([]byte, error) { +func (p Payload79) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload77) UnmarshalJSON(data []byte) error { +func (p *Payload79) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"projectName", "branch"}); err != nil { return err } return nil } -func (o *Payload77) GetProjectName() string { +func (o *Payload79) GetProjectName() string { if o == nil { return "" } return o.ProjectName } -func (o *Payload77) GetBranch() string { +func (o *Payload79) GetBranch() string { if o == nil { return "" } @@ -8485,226 +9903,266 @@ func (o *RemovedUsers) GetJoinedFrom() *RemovedUsersJoinedFrom { return o.JoinedFrom } -// Payload76 - The payload of the event, if requested. -type Payload76 struct { - Plan string `json:"plan"` - RemovedUsers map[string]RemovedUsers `json:"removedUsers,omitempty"` - PriorPlan *string `json:"priorPlan,omitempty"` - IsDowngrade *bool `json:"isDowngrade,omitempty"` - UserAgent *string `json:"userAgent,omitempty"` - IsReactivate *bool `json:"isReactivate,omitempty"` - IsTrialUpgrade *bool `json:"isTrialUpgrade,omitempty"` +// Payload78 - The payload of the event, if requested. +type Payload78 struct { + Plan string `json:"plan"` + RemovedUsers map[string]RemovedUsers `json:"removedUsers,omitempty"` + PrevPlan *string `json:"prevPlan,omitempty"` + PriorPlan *string `json:"priorPlan,omitempty"` + IsDowngrade *bool `json:"isDowngrade,omitempty"` + UserAgent *string `json:"userAgent,omitempty"` + IsReactivate *bool `json:"isReactivate,omitempty"` + IsTrialUpgrade *bool `json:"isTrialUpgrade,omitempty"` + Automated *bool `json:"automated,omitempty"` + Reason *string `json:"reason,omitempty"` + Timestamp *float64 `json:"timestamp,omitempty"` + RemovedMemberCount *float64 `json:"removedMemberCount,omitempty"` } -func (p Payload76) MarshalJSON() ([]byte, error) { +func (p Payload78) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload76) UnmarshalJSON(data []byte) error { +func (p *Payload78) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"plan"}); err != nil { return err } return nil } -func (o *Payload76) GetPlan() string { +func (o *Payload78) GetPlan() string { if o == nil { return "" } return o.Plan } -func (o *Payload76) GetRemovedUsers() map[string]RemovedUsers { +func (o *Payload78) GetRemovedUsers() map[string]RemovedUsers { if o == nil { return nil } return o.RemovedUsers } -func (o *Payload76) GetPriorPlan() *string { +func (o *Payload78) GetPrevPlan() *string { + if o == nil { + return nil + } + return o.PrevPlan +} + +func (o *Payload78) GetPriorPlan() *string { if o == nil { return nil } return o.PriorPlan } -func (o *Payload76) GetIsDowngrade() *bool { +func (o *Payload78) GetIsDowngrade() *bool { if o == nil { return nil } return o.IsDowngrade } -func (o *Payload76) GetUserAgent() *string { +func (o *Payload78) GetUserAgent() *string { if o == nil { return nil } return o.UserAgent } -func (o *Payload76) GetIsReactivate() *bool { +func (o *Payload78) GetIsReactivate() *bool { if o == nil { return nil } return o.IsReactivate } -func (o *Payload76) GetIsTrialUpgrade() *bool { +func (o *Payload78) GetIsTrialUpgrade() *bool { if o == nil { return nil } return o.IsTrialUpgrade } -// Payload75 - The payload of the event, if requested. -type Payload75 struct { +func (o *Payload78) GetAutomated() *bool { + if o == nil { + return nil + } + return o.Automated +} + +func (o *Payload78) GetReason() *string { + if o == nil { + return nil + } + return o.Reason +} + +func (o *Payload78) GetTimestamp() *float64 { + if o == nil { + return nil + } + return o.Timestamp +} + +func (o *Payload78) GetRemovedMemberCount() *float64 { + if o == nil { + return nil + } + return o.RemovedMemberCount +} + +// Payload77 - The payload of the event, if requested. +type Payload77 struct { ProjectName string `json:"projectName"` } -func (p Payload75) MarshalJSON() ([]byte, error) { +func (p Payload77) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload75) UnmarshalJSON(data []byte) error { +func (p *Payload77) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"projectName"}); err != nil { return err } return nil } -func (o *Payload75) GetProjectName() string { +func (o *Payload77) GetProjectName() string { if o == nil { return "" } return o.ProjectName } -// Payload74 - The payload of the event, if requested. -type Payload74 struct { +// Payload76 - The payload of the event, if requested. +type Payload76 struct { ProjectID string `json:"projectId"` ToDeploymentID string `json:"toDeploymentId"` ProjectName string `json:"projectName"` } -func (p Payload74) MarshalJSON() ([]byte, error) { +func (p Payload76) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload74) UnmarshalJSON(data []byte) error { +func (p *Payload76) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"projectId", "toDeploymentId", "projectName"}); err != nil { return err } return nil } -func (o *Payload74) GetProjectID() string { +func (o *Payload76) GetProjectID() string { if o == nil { return "" } return o.ProjectID } -func (o *Payload74) GetToDeploymentID() string { +func (o *Payload76) GetToDeploymentID() string { if o == nil { return "" } return o.ToDeploymentID } -func (o *Payload74) GetProjectName() string { +func (o *Payload76) GetProjectName() string { if o == nil { return "" } return o.ProjectName } -// Payload73 - The payload of the event, if requested. -type Payload73 struct { +// Payload75 - The payload of the event, if requested. +type Payload75 struct { DrainURL *string `json:"drainUrl"` IntegrationName *string `json:"integrationName,omitempty"` } -func (p Payload73) MarshalJSON() ([]byte, error) { +func (p Payload75) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload73) UnmarshalJSON(data []byte) error { +func (p *Payload75) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"drainUrl"}); err != nil { return err } return nil } -func (o *Payload73) GetDrainURL() *string { +func (o *Payload75) GetDrainURL() *string { if o == nil { return nil } return o.DrainURL } -func (o *Payload73) GetIntegrationName() *string { +func (o *Payload75) GetIntegrationName() *string { if o == nil { return nil } return o.IntegrationName } -// Payload72 - The payload of the event, if requested. -type Payload72 struct { +// Payload74 - The payload of the event, if requested. +type Payload74 struct { LogDrainURL string `json:"logDrainUrl"` IntegrationName *string `json:"integrationName,omitempty"` } -func (p Payload72) MarshalJSON() ([]byte, error) { +func (p Payload74) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload72) UnmarshalJSON(data []byte) error { +func (p *Payload74) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"logDrainUrl"}); err != nil { return err } return nil } -func (o *Payload72) GetLogDrainURL() string { +func (o *Payload74) GetLogDrainURL() string { if o == nil { return "" } return o.LogDrainURL } -func (o *Payload72) GetIntegrationName() *string { +func (o *Payload74) GetIntegrationName() *string { if o == nil { return nil } return o.IntegrationName } -// Payload71 - The payload of the event, if requested. -type Payload71 struct { +// Payload73 - The payload of the event, if requested. +type Payload73 struct { LogDrainURL *string `json:"logDrainUrl"` IntegrationName *string `json:"integrationName,omitempty"` } -func (p Payload71) MarshalJSON() ([]byte, error) { +func (p Payload73) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload71) UnmarshalJSON(data []byte) error { +func (p *Payload73) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"logDrainUrl"}); err != nil { return err } return nil } -func (o *Payload71) GetLogDrainURL() *string { +func (o *Payload73) GetLogDrainURL() *string { if o == nil { return nil } return o.LogDrainURL } -func (o *Payload71) GetIntegrationName() *string { +func (o *Payload73) GetIntegrationName() *string { if o == nil { return nil } @@ -9079,14 +10537,15 @@ func (o *Geolocation) GetRegionName() *string { return o.RegionName } -// Payload70 - The payload of the event, if requested. -type Payload70 struct { +// Payload72 - The payload of the event, if requested. +type Payload72 struct { UserAgent *UserAgent `json:"userAgent,omitempty"` Geolocation *Geolocation `json:"geolocation,omitempty"` ViaGithub bool `json:"viaGithub"` ViaGitlab bool `json:"viaGitlab"` ViaBitbucket bool `json:"viaBitbucket"` ViaGoogle bool `json:"viaGoogle"` + ViaApple bool `json:"viaApple"` ViaSamlSso bool `json:"viaSamlSso"` ViaPasskey bool `json:"viaPasskey"` SsoType *string `json:"ssoType,omitempty"` @@ -9095,103 +10554,110 @@ type Payload70 struct { Username *string `json:"username,omitempty"` } -func (p Payload70) MarshalJSON() ([]byte, error) { +func (p Payload72) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload70) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &p, "", false, []string{"viaGithub", "viaGitlab", "viaBitbucket", "viaGoogle", "viaSamlSso", "viaPasskey"}); err != nil { +func (p *Payload72) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &p, "", false, []string{"viaGithub", "viaGitlab", "viaBitbucket", "viaGoogle", "viaApple", "viaSamlSso", "viaPasskey"}); err != nil { return err } return nil } -func (o *Payload70) GetUserAgent() *UserAgent { +func (o *Payload72) GetUserAgent() *UserAgent { if o == nil { return nil } return o.UserAgent } -func (o *Payload70) GetGeolocation() *Geolocation { +func (o *Payload72) GetGeolocation() *Geolocation { if o == nil { return nil } return o.Geolocation } -func (o *Payload70) GetViaGithub() bool { +func (o *Payload72) GetViaGithub() bool { if o == nil { return false } return o.ViaGithub } -func (o *Payload70) GetViaGitlab() bool { +func (o *Payload72) GetViaGitlab() bool { if o == nil { return false } return o.ViaGitlab } -func (o *Payload70) GetViaBitbucket() bool { +func (o *Payload72) GetViaBitbucket() bool { if o == nil { return false } return o.ViaBitbucket } -func (o *Payload70) GetViaGoogle() bool { +func (o *Payload72) GetViaGoogle() bool { if o == nil { return false } return o.ViaGoogle } -func (o *Payload70) GetViaSamlSso() bool { +func (o *Payload72) GetViaApple() bool { + if o == nil { + return false + } + return o.ViaApple +} + +func (o *Payload72) GetViaSamlSso() bool { if o == nil { return false } return o.ViaSamlSso } -func (o *Payload70) GetViaPasskey() bool { +func (o *Payload72) GetViaPasskey() bool { if o == nil { return false } return o.ViaPasskey } -func (o *Payload70) GetSsoType() *string { +func (o *Payload72) GetSsoType() *string { if o == nil { return nil } return o.SsoType } -func (o *Payload70) GetEnv() *string { +func (o *Payload72) GetEnv() *string { if o == nil { return nil } return o.Env } -func (o *Payload70) GetOs() *string { +func (o *Payload72) GetOs() *string { if o == nil { return nil } return o.Os } -func (o *Payload70) GetUsername() *string { +func (o *Payload72) GetUsername() *string { if o == nil { return nil } return o.Username } -// Payload69 - The payload of the event, if requested. -type Payload69 struct { +// Payload71 - The payload of the event, if requested. +type Payload71 struct { IntegrationID string `json:"integrationId"` ConfigurationID string `json:"configurationId"` IntegrationSlug string `json:"integrationSlug"` @@ -9201,68 +10667,68 @@ type Payload69 struct { ConfirmedScopes []string `json:"confirmedScopes"` } -func (p Payload69) MarshalJSON() ([]byte, error) { +func (p Payload71) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload69) UnmarshalJSON(data []byte) error { +func (p *Payload71) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"integrationId", "configurationId", "integrationSlug", "integrationName", "ownerId", "confirmedScopes"}); err != nil { return err } return nil } -func (o *Payload69) GetIntegrationID() string { +func (o *Payload71) GetIntegrationID() string { if o == nil { return "" } return o.IntegrationID } -func (o *Payload69) GetConfigurationID() string { +func (o *Payload71) GetConfigurationID() string { if o == nil { return "" } return o.ConfigurationID } -func (o *Payload69) GetIntegrationSlug() string { +func (o *Payload71) GetIntegrationSlug() string { if o == nil { return "" } return o.IntegrationSlug } -func (o *Payload69) GetIntegrationName() string { +func (o *Payload71) GetIntegrationName() string { if o == nil { return "" } return o.IntegrationName } -func (o *Payload69) GetOwnerID() string { +func (o *Payload71) GetOwnerID() string { if o == nil { return "" } return o.OwnerID } -func (o *Payload69) GetProjectIds() []string { +func (o *Payload71) GetProjectIds() []string { if o == nil { return nil } return o.ProjectIds } -func (o *Payload69) GetConfirmedScopes() []string { +func (o *Payload71) GetConfirmedScopes() []string { if o == nil { return []string{} } return o.ConfirmedScopes } -// Payload68 - The payload of the event, if requested. -type Payload68 struct { +// Payload70 - The payload of the event, if requested. +type Payload70 struct { ProjectID string `json:"projectId"` FromDeploymentID string `json:"fromDeploymentId"` ToDeploymentID string `json:"toDeploymentId"` @@ -9270,54 +10736,54 @@ type Payload68 struct { Reason *string `json:"reason,omitempty"` } -func (p Payload68) MarshalJSON() ([]byte, error) { +func (p Payload70) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload68) UnmarshalJSON(data []byte) error { +func (p *Payload70) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"projectId", "fromDeploymentId", "toDeploymentId", "projectName"}); err != nil { return err } return nil } -func (o *Payload68) GetProjectID() string { +func (o *Payload70) GetProjectID() string { if o == nil { return "" } return o.ProjectID } -func (o *Payload68) GetFromDeploymentID() string { +func (o *Payload70) GetFromDeploymentID() string { if o == nil { return "" } return o.FromDeploymentID } -func (o *Payload68) GetToDeploymentID() string { +func (o *Payload70) GetToDeploymentID() string { if o == nil { return "" } return o.ToDeploymentID } -func (o *Payload68) GetProjectName() string { +func (o *Payload70) GetProjectName() string { if o == nil { return "" } return o.ProjectName } -func (o *Payload68) GetReason() *string { +func (o *Payload70) GetReason() *string { if o == nil { return nil } return o.Reason } -// Payload67 - The payload of the event, if requested. -type Payload67 struct { +// Payload69 - The payload of the event, if requested. +type Payload69 struct { IntegrationID string `json:"integrationId"` ConfigurationID string `json:"configurationId"` IntegrationSlug string `json:"integrationSlug"` @@ -9326,61 +10792,61 @@ type Payload67 struct { ProjectIds []string `json:"projectIds,omitempty"` } -func (p Payload67) MarshalJSON() ([]byte, error) { +func (p Payload69) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload67) UnmarshalJSON(data []byte) error { +func (p *Payload69) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"integrationId", "configurationId", "integrationSlug", "integrationName", "ownerId"}); err != nil { return err } return nil } -func (o *Payload67) GetIntegrationID() string { +func (o *Payload69) GetIntegrationID() string { if o == nil { return "" } return o.IntegrationID } -func (o *Payload67) GetConfigurationID() string { +func (o *Payload69) GetConfigurationID() string { if o == nil { return "" } return o.ConfigurationID } -func (o *Payload67) GetIntegrationSlug() string { +func (o *Payload69) GetIntegrationSlug() string { if o == nil { return "" } return o.IntegrationSlug } -func (o *Payload67) GetIntegrationName() string { +func (o *Payload69) GetIntegrationName() string { if o == nil { return "" } return o.IntegrationName } -func (o *Payload67) GetOwnerID() string { +func (o *Payload69) GetOwnerID() string { if o == nil { return "" } return o.OwnerID } -func (o *Payload67) GetProjectIds() []string { +func (o *Payload69) GetProjectIds() []string { if o == nil { return nil } return o.ProjectIds } -// Payload66 - The payload of the event, if requested. -type Payload66 struct { +// Payload68 - The payload of the event, if requested. +type Payload68 struct { IntegrationID string `json:"integrationId"` ConfigurationID string `json:"configurationId"` IntegrationSlug string `json:"integrationSlug"` @@ -9390,137 +10856,137 @@ type Payload66 struct { BillingPlanName *string `json:"billingPlanName,omitempty"` } -func (p Payload66) MarshalJSON() ([]byte, error) { +func (p Payload68) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload66) UnmarshalJSON(data []byte) error { +func (p *Payload68) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"integrationId", "configurationId", "integrationSlug", "integrationName", "ownerId", "billingPlanId"}); err != nil { return err } return nil } -func (o *Payload66) GetIntegrationID() string { +func (o *Payload68) GetIntegrationID() string { if o == nil { return "" } return o.IntegrationID } -func (o *Payload66) GetConfigurationID() string { +func (o *Payload68) GetConfigurationID() string { if o == nil { return "" } return o.ConfigurationID } -func (o *Payload66) GetIntegrationSlug() string { +func (o *Payload68) GetIntegrationSlug() string { if o == nil { return "" } return o.IntegrationSlug } -func (o *Payload66) GetIntegrationName() string { +func (o *Payload68) GetIntegrationName() string { if o == nil { return "" } return o.IntegrationName } -func (o *Payload66) GetOwnerID() string { +func (o *Payload68) GetOwnerID() string { if o == nil { return "" } return o.OwnerID } -func (o *Payload66) GetBillingPlanID() string { +func (o *Payload68) GetBillingPlanID() string { if o == nil { return "" } return o.BillingPlanID } -func (o *Payload66) GetBillingPlanName() *string { +func (o *Payload68) GetBillingPlanName() *string { if o == nil { return nil } return o.BillingPlanName } -type Configuration5 struct { +type UserEventConfiguration5 struct { IntegrationID string `json:"integrationId"` ConfigurationID string `json:"configurationId"` IntegrationSlug string `json:"integrationSlug"` IntegrationName *string `json:"integrationName,omitempty"` } -func (c Configuration5) MarshalJSON() ([]byte, error) { - return utils.MarshalJSON(c, "", false) +func (u UserEventConfiguration5) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(u, "", false) } -func (c *Configuration5) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &c, "", false, []string{"integrationId", "configurationId", "integrationSlug"}); err != nil { +func (u *UserEventConfiguration5) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &u, "", false, []string{"integrationId", "configurationId", "integrationSlug"}); err != nil { return err } return nil } -func (o *Configuration5) GetIntegrationID() string { +func (o *UserEventConfiguration5) GetIntegrationID() string { if o == nil { return "" } return o.IntegrationID } -func (o *Configuration5) GetConfigurationID() string { +func (o *UserEventConfiguration5) GetConfigurationID() string { if o == nil { return "" } return o.ConfigurationID } -func (o *Configuration5) GetIntegrationSlug() string { +func (o *UserEventConfiguration5) GetIntegrationSlug() string { if o == nil { return "" } return o.IntegrationSlug } -func (o *Configuration5) GetIntegrationName() *string { +func (o *UserEventConfiguration5) GetIntegrationName() *string { if o == nil { return nil } return o.IntegrationName } -// Payload65 - The payload of the event, if requested. -type Payload65 struct { - Configurations []Configuration5 `json:"configurations"` - OwnerID string `json:"ownerId"` +// Payload67 - The payload of the event, if requested. +type Payload67 struct { + Configurations []UserEventConfiguration5 `json:"configurations"` + OwnerID string `json:"ownerId"` } -func (p Payload65) MarshalJSON() ([]byte, error) { +func (p Payload67) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload65) UnmarshalJSON(data []byte) error { +func (p *Payload67) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"configurations", "ownerId"}); err != nil { return err } return nil } -func (o *Payload65) GetConfigurations() []Configuration5 { +func (o *Payload67) GetConfigurations() []UserEventConfiguration5 { if o == nil { - return []Configuration5{} + return []UserEventConfiguration5{} } return o.Configurations } -func (o *Payload65) GetOwnerID() string { +func (o *Payload67) GetOwnerID() string { if o == nil { return "" } @@ -9901,6 +11367,7 @@ const ( CredentialTypeGitlab CredentialType = "gitlab" CredentialTypeBitbucket CredentialType = "bitbucket" CredentialTypeGoogle CredentialType = "google" + CredentialTypeApple CredentialType = "apple" CredentialTypeGithubOauth CredentialType = "github-oauth" CredentialTypeGithubOauthLimited CredentialType = "github-oauth-limited" ) @@ -9920,6 +11387,8 @@ func (e *CredentialType) UnmarshalJSON(data []byte) error { fallthrough case "google": fallthrough + case "apple": + fallthrough case "github-oauth": fallthrough case "github-oauth-limited": @@ -10461,40 +11930,88 @@ func (r RemoteCachingUser) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(r, "", false) } -func (r *RemoteCachingUser) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &r, "", false, nil); err != nil { +func (r *RemoteCachingUser) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &r, "", false, nil); err != nil { + return err + } + return nil +} + +func (o *RemoteCachingUser) GetEnabled() *bool { + if o == nil { + return nil + } + return o.Enabled +} + +type UserEventBuildEntitlements struct { + EnhancedBuilds *bool `json:"enhancedBuilds,omitempty"` +} + +func (u UserEventBuildEntitlements) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(u, "", false) +} + +func (u *UserEventBuildEntitlements) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &u, "", false, nil); err != nil { + return err + } + return nil +} + +func (o *UserEventBuildEntitlements) GetEnhancedBuilds() *bool { + if o == nil { + return nil + } + return o.EnhancedBuilds +} + +type ConfigurationUser string + +const ( + ConfigurationUserSkipNamespaceQueue ConfigurationUser = "SKIP_NAMESPACE_QUEUE" + ConfigurationUserWaitForNamespaceQueue ConfigurationUser = "WAIT_FOR_NAMESPACE_QUEUE" +) + +func (e ConfigurationUser) ToPointer() *ConfigurationUser { + return &e +} +func (e *ConfigurationUser) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { return err } - return nil -} - -func (o *RemoteCachingUser) GetEnabled() *bool { - if o == nil { + switch v { + case "SKIP_NAMESPACE_QUEUE": + fallthrough + case "WAIT_FOR_NAMESPACE_QUEUE": + *e = ConfigurationUser(v) return nil + default: + return fmt.Errorf("invalid value for ConfigurationUser: %v", v) } - return o.Enabled } -type UserEventBuildEntitlements struct { - EnhancedBuilds *bool `json:"enhancedBuilds,omitempty"` +type UserEventBuildQueue struct { + Configuration *ConfigurationUser `json:"configuration,omitempty"` } -func (u UserEventBuildEntitlements) MarshalJSON() ([]byte, error) { +func (u UserEventBuildQueue) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(u, "", false) } -func (u *UserEventBuildEntitlements) UnmarshalJSON(data []byte) error { +func (u *UserEventBuildQueue) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &u, "", false, nil); err != nil { return err } return nil } -func (o *UserEventBuildEntitlements) GetEnhancedBuilds() *bool { +func (o *UserEventBuildQueue) GetConfiguration() *ConfigurationUser { if o == nil { return nil } - return o.EnhancedBuilds + return o.Configuration } type UserEventPurchaseType string @@ -10620,6 +12137,7 @@ type UserEventResourceConfig struct { ConcurrentBuilds *float64 `json:"concurrentBuilds,omitempty"` ElasticConcurrencyEnabled *bool `json:"elasticConcurrencyEnabled,omitempty"` BuildEntitlements *UserEventBuildEntitlements `json:"buildEntitlements,omitempty"` + BuildQueue *UserEventBuildQueue `json:"buildQueue,omitempty"` AwsAccountType *string `json:"awsAccountType,omitempty"` AwsAccountIds []string `json:"awsAccountIds,omitempty"` CfZoneName *string `json:"cfZoneName,omitempty"` @@ -10683,6 +12201,13 @@ func (o *UserEventResourceConfig) GetBuildEntitlements() *UserEventBuildEntitlem return o.BuildEntitlements } +func (o *UserEventResourceConfig) GetBuildQueue() *UserEventBuildQueue { + if o == nil { + return nil + } + return o.BuildQueue +} + func (o *UserEventResourceConfig) GetAwsAccountType() *string { if o == nil { return nil @@ -10870,8 +12395,8 @@ func (o *ResourceLimits) GetDuration() float64 { type UserEventViewPreference string const ( - UserEventViewPreferenceCards UserEventViewPreference = "cards" UserEventViewPreferenceList UserEventViewPreference = "list" + UserEventViewPreferenceCards UserEventViewPreference = "cards" ) func (e UserEventViewPreference) ToPointer() *UserEventViewPreference { @@ -10883,9 +12408,9 @@ func (e *UserEventViewPreference) UnmarshalJSON(data []byte) error { return err } switch v { - case "cards": - fallthrough case "list": + fallthrough + case "cards": *e = UserEventViewPreference(v) return nil default: @@ -11741,11 +13266,11 @@ type TeamUser struct { CreatedAt float64 `json:"createdAt"` TeamID string `json:"teamId"` Role TeamRole1 `json:"role"` + TeamRoles []UserEventTeamRole `json:"teamRoles,omitempty"` + TeamPermissions []UserEventTeamPermission `json:"teamPermissions,omitempty"` Confirmed bool `json:"confirmed"` ConfirmedAt float64 `json:"confirmedAt"` AccessRequestedAt *float64 `json:"accessRequestedAt,omitempty"` - TeamRoles []UserEventTeamRole `json:"teamRoles,omitempty"` - TeamPermissions []UserEventTeamPermission `json:"teamPermissions,omitempty"` JoinedFrom *TeamJoinedFrom1 `json:"joinedFrom,omitempty"` } @@ -11788,39 +13313,39 @@ func (o *TeamUser) GetRole() TeamRole1 { return o.Role } -func (o *TeamUser) GetConfirmed() bool { +func (o *TeamUser) GetTeamRoles() []UserEventTeamRole { if o == nil { - return false + return nil } - return o.Confirmed + return o.TeamRoles } -func (o *TeamUser) GetConfirmedAt() float64 { +func (o *TeamUser) GetTeamPermissions() []UserEventTeamPermission { if o == nil { - return 0.0 + return nil } - return o.ConfirmedAt + return o.TeamPermissions } -func (o *TeamUser) GetAccessRequestedAt() *float64 { +func (o *TeamUser) GetConfirmed() bool { if o == nil { - return nil + return false } - return o.AccessRequestedAt + return o.Confirmed } -func (o *TeamUser) GetTeamRoles() []UserEventTeamRole { +func (o *TeamUser) GetConfirmedAt() float64 { if o == nil { - return nil + return 0.0 } - return o.TeamRoles + return o.ConfirmedAt } -func (o *TeamUser) GetTeamPermissions() []UserEventTeamPermission { +func (o *TeamUser) GetAccessRequestedAt() *float64 { if o == nil { return nil } - return o.TeamPermissions + return o.AccessRequestedAt } func (o *TeamUser) GetJoinedFrom() *TeamJoinedFrom1 { @@ -14960,6 +16485,78 @@ func (o *Redis) GetOverageReason() RedisOverageReason { return o.OverageReason } +type MicrofrontendsRequestBlockReason string + +const ( + MicrofrontendsRequestBlockReasonAdminOverride MicrofrontendsRequestBlockReason = "admin_override" + MicrofrontendsRequestBlockReasonLimitsExceeded MicrofrontendsRequestBlockReason = "limits_exceeded" +) + +func (e MicrofrontendsRequestBlockReason) ToPointer() *MicrofrontendsRequestBlockReason { + return &e +} +func (e *MicrofrontendsRequestBlockReason) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "admin_override": + fallthrough + case "limits_exceeded": + *e = MicrofrontendsRequestBlockReason(v) + return nil + default: + return fmt.Errorf("invalid value for MicrofrontendsRequestBlockReason: %v", v) + } +} + +type MicrofrontendsRequest struct { + UpdatedAt float64 `json:"updatedAt"` + BlockedFrom *float64 `json:"blockedFrom,omitempty"` + BlockedUntil *float64 `json:"blockedUntil,omitempty"` + BlockReason MicrofrontendsRequestBlockReason `json:"blockReason"` +} + +func (m MicrofrontendsRequest) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(m, "", false) +} + +func (m *MicrofrontendsRequest) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &m, "", false, []string{"updatedAt", "blockReason"}); err != nil { + return err + } + return nil +} + +func (o *MicrofrontendsRequest) GetUpdatedAt() float64 { + if o == nil { + return 0.0 + } + return o.UpdatedAt +} + +func (o *MicrofrontendsRequest) GetBlockedFrom() *float64 { + if o == nil { + return nil + } + return o.BlockedFrom +} + +func (o *MicrofrontendsRequest) GetBlockedUntil() *float64 { + if o == nil { + return nil + } + return o.BlockedUntil +} + +func (o *MicrofrontendsRequest) GetBlockReason() MicrofrontendsRequestBlockReason { + if o == nil { + return MicrofrontendsRequestBlockReason("") + } + return o.BlockReason +} + // UserEventFeatureBlocks - Information about which features are blocked for a user. Blocks can be either soft (the user can still access the feature, but with a warning, e.g. prompting an upgrade) or hard (the user cannot access the feature at all). type UserEventFeatureBlocks struct { WebAnalytics *UserEventWebAnalytics `json:"webAnalytics,omitempty"` @@ -14972,6 +16569,7 @@ type UserEventFeatureBlocks struct { Blob *Blob `json:"blob,omitempty"` Postgres *Postgres `json:"postgres,omitempty"` Redis *Redis `json:"redis,omitempty"` + MicrofrontendsRequest *MicrofrontendsRequest `json:"microfrontendsRequest,omitempty"` } func (u UserEventFeatureBlocks) MarshalJSON() ([]byte, error) { @@ -15048,6 +16646,13 @@ func (o *UserEventFeatureBlocks) GetRedis() *Redis { return o.Redis } +func (o *UserEventFeatureBlocks) GetMicrofrontendsRequest() *MicrofrontendsRequest { + if o == nil { + return nil + } + return o.MicrofrontendsRequest +} + type Version string const ( @@ -15277,6 +16882,7 @@ type NewOwner struct { ResourceLimits map[string]ResourceLimits `json:"resourceLimits,omitempty"` ActiveDashboardViews []UserEventActiveDashboardView `json:"activeDashboardViews,omitempty"` SecondaryEmails []SecondaryEmail `json:"secondaryEmails,omitempty"` + EmailDomains []string `json:"emailDomains,omitempty"` EmailNotifications *EmailNotifications `json:"emailNotifications,omitempty"` SiftScore *float64 `json:"siftScore,omitempty"` SiftScores map[string]SiftScores `json:"siftScores,omitempty"` @@ -15655,6 +17261,13 @@ func (o *NewOwner) GetSecondaryEmails() []SecondaryEmail { return o.SecondaryEmails } +func (o *NewOwner) GetEmailDomains() []string { + if o == nil { + return nil + } + return o.EmailDomains +} + func (o *NewOwner) GetEmailNotifications() *EmailNotifications { if o == nil { return nil @@ -15830,8 +17443,8 @@ func (o *NewOwner) GetMfaConfiguration() *MfaConfiguration { return o.MfaConfiguration } -// Payload64 - The payload of the event, if requested. -type Payload64 struct { +// Payload66 - The payload of the event, if requested. +type Payload66 struct { UserID string `json:"userId"` IntegrationID string `json:"integrationId"` ConfigurationID string `json:"configurationId"` @@ -15840,100 +17453,100 @@ type Payload64 struct { NewOwner *NewOwner `json:"newOwner"` } -func (p Payload64) MarshalJSON() ([]byte, error) { +func (p Payload66) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload64) UnmarshalJSON(data []byte) error { +func (p *Payload66) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"userId", "integrationId", "configurationId", "integrationSlug", "newOwner"}); err != nil { return err } return nil } -func (o *Payload64) GetUserID() string { +func (o *Payload66) GetUserID() string { if o == nil { return "" } return o.UserID } -func (o *Payload64) GetIntegrationID() string { +func (o *Payload66) GetIntegrationID() string { if o == nil { return "" } return o.IntegrationID } -func (o *Payload64) GetConfigurationID() string { +func (o *Payload66) GetConfigurationID() string { if o == nil { return "" } return o.ConfigurationID } -func (o *Payload64) GetIntegrationSlug() string { +func (o *Payload66) GetIntegrationSlug() string { if o == nil { return "" } return o.IntegrationSlug } -func (o *Payload64) GetIntegrationName() *string { +func (o *Payload66) GetIntegrationName() *string { if o == nil { return nil } return o.IntegrationName } -func (o *Payload64) GetNewOwner() *NewOwner { +func (o *Payload66) GetNewOwner() *NewOwner { if o == nil { return nil } return o.NewOwner } -// Payload63 - The payload of the event, if requested. -type Payload63 struct { +// Payload65 - The payload of the event, if requested. +type Payload65 struct { IntegrationID string `json:"integrationId"` IntegrationSlug string `json:"integrationSlug"` IntegrationName string `json:"integrationName"` } -func (p Payload63) MarshalJSON() ([]byte, error) { +func (p Payload65) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload63) UnmarshalJSON(data []byte) error { +func (p *Payload65) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"integrationId", "integrationSlug", "integrationName"}); err != nil { return err } return nil } -func (o *Payload63) GetIntegrationID() string { +func (o *Payload65) GetIntegrationID() string { if o == nil { return "" } return o.IntegrationID } -func (o *Payload63) GetIntegrationSlug() string { +func (o *Payload65) GetIntegrationSlug() string { if o == nil { return "" } return o.IntegrationSlug } -func (o *Payload63) GetIntegrationName() string { +func (o *Payload65) GetIntegrationName() string { if o == nil { return "" } return o.IntegrationName } -// Payload62 - The payload of the event, if requested. -type Payload62 struct { +// Payload64 - The payload of the event, if requested. +type Payload64 struct { ProjectID string `json:"projectId"` PrevAttackModeEnabled *bool `json:"prevAttackModeEnabled,omitempty"` PrevAttackModeActiveUntil *float64 `json:"prevAttackModeActiveUntil,omitempty"` @@ -15941,46 +17554,46 @@ type Payload62 struct { AttackModeActiveUntil *float64 `json:"attackModeActiveUntil,omitempty"` } -func (p Payload62) MarshalJSON() ([]byte, error) { +func (p Payload64) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload62) UnmarshalJSON(data []byte) error { +func (p *Payload64) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"projectId", "attackModeEnabled"}); err != nil { return err } return nil } -func (o *Payload62) GetProjectID() string { +func (o *Payload64) GetProjectID() string { if o == nil { return "" } return o.ProjectID } -func (o *Payload62) GetPrevAttackModeEnabled() *bool { +func (o *Payload64) GetPrevAttackModeEnabled() *bool { if o == nil { return nil } return o.PrevAttackModeEnabled } -func (o *Payload62) GetPrevAttackModeActiveUntil() *float64 { +func (o *Payload64) GetPrevAttackModeActiveUntil() *float64 { if o == nil { return nil } return o.PrevAttackModeActiveUntil } -func (o *Payload62) GetAttackModeEnabled() bool { +func (o *Payload64) GetAttackModeEnabled() bool { if o == nil { return false } return o.AttackModeEnabled } -func (o *Payload62) GetAttackModeActiveUntil() *float64 { +func (o *Payload64) GetAttackModeActiveUntil() *float64 { if o == nil { return nil } @@ -16046,39 +17659,39 @@ func (o *RuleGroups) GetAction() *RuleGroupsAction { return o.Action } -// Payload61 - The payload of the event, if requested. -type Payload61 struct { +// Payload63 - The payload of the event, if requested. +type Payload63 struct { ProjectID string `json:"projectId"` RulesetName string `json:"rulesetName"` RuleGroups map[string]RuleGroups `json:"ruleGroups"` } -func (p Payload61) MarshalJSON() ([]byte, error) { +func (p Payload63) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload61) UnmarshalJSON(data []byte) error { +func (p *Payload63) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"projectId", "rulesetName", "ruleGroups"}); err != nil { return err } return nil } -func (o *Payload61) GetProjectID() string { +func (o *Payload63) GetProjectID() string { if o == nil { return "" } return o.ProjectID } -func (o *Payload61) GetRulesetName() string { +func (o *Payload63) GetRulesetName() string { if o == nil { return "" } return o.RulesetName } -func (o *Payload61) GetRuleGroups() map[string]RuleGroups { +func (o *Payload63) GetRuleGroups() map[string]RuleGroups { if o == nil { return map[string]RuleGroups{} } @@ -16114,86 +17727,86 @@ func (e *Action3) UnmarshalJSON(data []byte) error { } } -// Payload60 - The payload of the event, if requested. -type Payload60 struct { +// Payload62 - The payload of the event, if requested. +type Payload62 struct { ProjectID string `json:"projectId"` RulesetName string `json:"rulesetName"` Active bool `json:"active"` Action *Action3 `json:"action,omitempty"` } -func (p Payload60) MarshalJSON() ([]byte, error) { +func (p Payload62) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload60) UnmarshalJSON(data []byte) error { +func (p *Payload62) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"projectId", "rulesetName", "active"}); err != nil { return err } return nil } -func (o *Payload60) GetProjectID() string { +func (o *Payload62) GetProjectID() string { if o == nil { return "" } return o.ProjectID } -func (o *Payload60) GetRulesetName() string { +func (o *Payload62) GetRulesetName() string { if o == nil { return "" } return o.RulesetName } -func (o *Payload60) GetActive() bool { +func (o *Payload62) GetActive() bool { if o == nil { return false } return o.Active } -func (o *Payload60) GetAction() *Action3 { +func (o *Payload62) GetAction() *Action3 { if o == nil { return nil } return o.Action } -// Payload59 - The payload of the event, if requested. -type Payload59 struct { +// Payload61 - The payload of the event, if requested. +type Payload61 struct { ProjectID string `json:"projectId"` Scope string `json:"scope"` Source string `json:"source"` } -func (p Payload59) MarshalJSON() ([]byte, error) { +func (p Payload61) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload59) UnmarshalJSON(data []byte) error { +func (p *Payload61) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"projectId", "scope", "source"}); err != nil { return err } return nil } -func (o *Payload59) GetProjectID() string { +func (o *Payload61) GetProjectID() string { if o == nil { return "" } return o.ProjectID } -func (o *Payload59) GetScope() string { +func (o *Payload61) GetScope() string { if o == nil { return "" } return o.Scope } -func (o *Payload59) GetSource() string { +func (o *Payload61) GetSource() string { if o == nil { return "" } @@ -16214,8 +17827,8 @@ func (c *ConfigChange) UnmarshalJSON(data []byte) error { return nil } -// Payload58 - The payload of the event, if requested. -type Payload58 struct { +// Payload60 - The payload of the event, if requested. +type Payload60 struct { ProjectID string `json:"projectId"` Restore bool `json:"restore"` ConfigVersion float64 `json:"configVersion"` @@ -16223,46 +17836,46 @@ type Payload58 struct { ConfigChanges []ConfigChange `json:"configChanges"` } -func (p Payload58) MarshalJSON() ([]byte, error) { +func (p Payload60) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload58) UnmarshalJSON(data []byte) error { +func (p *Payload60) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"projectId", "restore", "configVersion", "configChangeCount", "configChanges"}); err != nil { return err } return nil } -func (o *Payload58) GetProjectID() string { +func (o *Payload60) GetProjectID() string { if o == nil { return "" } return o.ProjectID } -func (o *Payload58) GetRestore() bool { +func (o *Payload60) GetRestore() bool { if o == nil { return false } return o.Restore } -func (o *Payload58) GetConfigVersion() float64 { +func (o *Payload60) GetConfigVersion() float64 { if o == nil { return 0.0 } return o.ConfigVersion } -func (o *Payload58) GetConfigChangeCount() float64 { +func (o *Payload60) GetConfigChangeCount() float64 { if o == nil { return 0.0 } return o.ConfigChangeCount } -func (o *Payload58) GetConfigChanges() []ConfigChange { +func (o *Payload60) GetConfigChanges() []ConfigChange { if o == nil { return []ConfigChange{} } @@ -16959,39 +18572,39 @@ func (o *UpdateDiff) GetChangedValue() bool { return o.ChangedValue } -// Payload57 - The payload of the event, if requested. -type Payload57 struct { +// Payload59 - The payload of the event, if requested. +type Payload59 struct { OldEnvVar *OldEnvVar `json:"oldEnvVar,omitempty"` NewEnvVar *NewEnvVar `json:"newEnvVar,omitempty"` UpdateDiff *UpdateDiff `json:"updateDiff,omitempty"` } -func (p Payload57) MarshalJSON() ([]byte, error) { +func (p Payload59) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload57) UnmarshalJSON(data []byte) error { +func (p *Payload59) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, nil); err != nil { return err } return nil } -func (o *Payload57) GetOldEnvVar() *OldEnvVar { +func (o *Payload59) GetOldEnvVar() *OldEnvVar { if o == nil { return nil } return o.OldEnvVar } -func (o *Payload57) GetNewEnvVar() *NewEnvVar { +func (o *Payload59) GetNewEnvVar() *NewEnvVar { if o == nil { return nil } return o.NewEnvVar } -func (o *Payload57) GetUpdateDiff() *UpdateDiff { +func (o *Payload59) GetUpdateDiff() *UpdateDiff { if o == nil { return nil } @@ -17061,8 +18674,8 @@ func (e *TargetEnum) UnmarshalJSON(data []byte) error { } } -// Payload56 - The payload of the event, if requested. -type Payload56 struct { +// Payload58 - The payload of the event, if requested. +type Payload58 struct { // The date when the Shared Env Var was created. Created *time.Time `json:"created,omitempty"` // The name of the Shared Env Var. @@ -17102,144 +18715,144 @@ type Payload56 struct { ProjectNames []string `json:"projectNames,omitempty"` } -func (p Payload56) MarshalJSON() ([]byte, error) { +func (p Payload58) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload56) UnmarshalJSON(data []byte) error { +func (p *Payload58) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, nil); err != nil { return err } return nil } -func (o *Payload56) GetCreated() *time.Time { +func (o *Payload58) GetCreated() *time.Time { if o == nil { return nil } return o.Created } -func (o *Payload56) GetKey() *string { +func (o *Payload58) GetKey() *string { if o == nil { return nil } return o.Key } -func (o *Payload56) GetOwnerID() *string { +func (o *Payload58) GetOwnerID() *string { if o == nil { return nil } return o.OwnerID } -func (o *Payload56) GetID() *string { +func (o *Payload58) GetID() *string { if o == nil { return nil } return o.ID } -func (o *Payload56) GetCreatedBy() *string { +func (o *Payload58) GetCreatedBy() *string { if o == nil { return nil } return o.CreatedBy } -func (o *Payload56) GetDeletedBy() *string { +func (o *Payload58) GetDeletedBy() *string { if o == nil { return nil } return o.DeletedBy } -func (o *Payload56) GetUpdatedBy() *string { +func (o *Payload58) GetUpdatedBy() *string { if o == nil { return nil } return o.UpdatedBy } -func (o *Payload56) GetCreatedAt() *float64 { +func (o *Payload58) GetCreatedAt() *float64 { if o == nil { return nil } return o.CreatedAt } -func (o *Payload56) GetDeletedAt() *float64 { +func (o *Payload58) GetDeletedAt() *float64 { if o == nil { return nil } return o.DeletedAt } -func (o *Payload56) GetUpdatedAt() *float64 { +func (o *Payload58) GetUpdatedAt() *float64 { if o == nil { return nil } return o.UpdatedAt } -func (o *Payload56) GetValue() *string { +func (o *Payload58) GetValue() *string { if o == nil { return nil } return o.Value } -func (o *Payload56) GetProjectID() []string { +func (o *Payload58) GetProjectID() []string { if o == nil { return nil } return o.ProjectID } -func (o *Payload56) GetType() *PayloadType1 { +func (o *Payload58) GetType() *PayloadType1 { if o == nil { return nil } return o.Type } -func (o *Payload56) GetTarget() []TargetEnum { +func (o *Payload58) GetTarget() []TargetEnum { if o == nil { return nil } return o.Target } -func (o *Payload56) GetApplyToAllCustomEnvironments() *bool { +func (o *Payload58) GetApplyToAllCustomEnvironments() *bool { if o == nil { return nil } return o.ApplyToAllCustomEnvironments } -func (o *Payload56) GetDecrypted() *bool { +func (o *Payload58) GetDecrypted() *bool { if o == nil { return nil } return o.Decrypted } -func (o *Payload56) GetComment() *string { +func (o *Payload58) GetComment() *string { if o == nil { return nil } return o.Comment } -func (o *Payload56) GetLastEditedByDisplayName() *string { +func (o *Payload58) GetLastEditedByDisplayName() *string { if o == nil { return nil } return o.LastEditedByDisplayName } -func (o *Payload56) GetProjectNames() []string { +func (o *Payload58) GetProjectNames() []string { if o == nil { return nil } @@ -17309,8 +18922,8 @@ func (u Target) MarshalJSON() ([]byte, error) { return nil, errors.New("could not marshal union type Target: all fields are null") } -// Payload55 - The payload of the event, if requested. -type Payload55 struct { +// Payload57 - The payload of the event, if requested. +type Payload57 struct { Key *string `json:"key,omitempty"` ProjectID *string `json:"projectId,omitempty"` ProjectName *string `json:"projectName,omitempty"` @@ -17322,113 +18935,113 @@ type Payload55 struct { Source *string `json:"source,omitempty"` } -func (p Payload55) MarshalJSON() ([]byte, error) { +func (p Payload57) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload55) UnmarshalJSON(data []byte) error { +func (p *Payload57) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, nil); err != nil { return err } return nil } -func (o *Payload55) GetKey() *string { +func (o *Payload57) GetKey() *string { if o == nil { return nil } return o.Key } -func (o *Payload55) GetProjectID() *string { +func (o *Payload57) GetProjectID() *string { if o == nil { return nil } return o.ProjectID } -func (o *Payload55) GetProjectName() *string { +func (o *Payload57) GetProjectName() *string { if o == nil { return nil } return o.ProjectName } -func (o *Payload55) GetTarget() *Target { +func (o *Payload57) GetTarget() *Target { if o == nil { return nil } return o.Target } -func (o *Payload55) GetID() *string { +func (o *Payload57) GetID() *string { if o == nil { return nil } return o.ID } -func (o *Payload55) GetGitBranch() *string { +func (o *Payload57) GetGitBranch() *string { if o == nil { return nil } return o.GitBranch } -func (o *Payload55) GetEdgeConfigID() *string { +func (o *Payload57) GetEdgeConfigID() *string { if o == nil { return nil } return o.EdgeConfigID } -func (o *Payload55) GetEdgeConfigTokenID() *string { +func (o *Payload57) GetEdgeConfigTokenID() *string { if o == nil { return nil } return o.EdgeConfigTokenID } -func (o *Payload55) GetSource() *string { +func (o *Payload57) GetSource() *string { if o == nil { return nil } return o.Source } -// Payload54 - The payload of the event, if requested. -type Payload54 struct { +// Payload56 - The payload of the event, if requested. +type Payload56 struct { Email string `json:"email"` Name string `json:"name"` } -func (p Payload54) MarshalJSON() ([]byte, error) { +func (p Payload56) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload54) UnmarshalJSON(data []byte) error { +func (p *Payload56) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"email", "name"}); err != nil { return err } return nil } -func (o *Payload54) GetEmail() string { +func (o *Payload56) GetEmail() string { if o == nil { return "" } return o.Email } -func (o *Payload54) GetName() string { +func (o *Payload56) GetName() string { if o == nil { return "" } return o.Name } -// Payload53 - The payload of the event, if requested. -type Payload53 struct { +// Payload55 - The payload of the event, if requested. +type Payload55 struct { Sha string `json:"sha"` GitUserPlatform string `json:"gitUserPlatform"` ProjectName string `json:"projectName"` @@ -17436,264 +19049,264 @@ type Payload53 struct { Source string `json:"source"` } -func (p Payload53) MarshalJSON() ([]byte, error) { +func (p Payload55) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload53) UnmarshalJSON(data []byte) error { +func (p *Payload55) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"sha", "gitUserPlatform", "projectName", "gitCommitterName", "source"}); err != nil { return err } return nil } -func (o *Payload53) GetSha() string { +func (o *Payload55) GetSha() string { if o == nil { return "" } return o.Sha } -func (o *Payload53) GetGitUserPlatform() string { +func (o *Payload55) GetGitUserPlatform() string { if o == nil { return "" } return o.GitUserPlatform } -func (o *Payload53) GetProjectName() string { +func (o *Payload55) GetProjectName() string { if o == nil { return "" } return o.ProjectName } -func (o *Payload53) GetGitCommitterName() string { +func (o *Payload55) GetGitCommitterName() string { if o == nil { return "" } return o.GitCommitterName } -func (o *Payload53) GetSource() string { +func (o *Payload55) GetSource() string { if o == nil { return "" } return o.Source } -// Payload52 - The payload of the event, if requested. -type Payload52 struct { +// Payload54 - The payload of the event, if requested. +type Payload54 struct { Name string `json:"name"` Price *float64 `json:"price,omitempty"` Currency *string `json:"currency,omitempty"` } -func (p Payload52) MarshalJSON() ([]byte, error) { +func (p Payload54) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload52) UnmarshalJSON(data []byte) error { +func (p *Payload54) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"name"}); err != nil { return err } return nil } -func (o *Payload52) GetName() string { +func (o *Payload54) GetName() string { if o == nil { return "" } return o.Name } -func (o *Payload52) GetPrice() *float64 { +func (o *Payload54) GetPrice() *float64 { if o == nil { return nil } return o.Price } -func (o *Payload52) GetCurrency() *string { +func (o *Payload54) GetCurrency() *string { if o == nil { return nil } return o.Currency } -// Payload51 - The payload of the event, if requested. -type Payload51 struct { +// Payload53 - The payload of the event, if requested. +type Payload53 struct { Renew *bool `json:"renew,omitempty"` Domain string `json:"domain"` } -func (p Payload51) MarshalJSON() ([]byte, error) { +func (p Payload53) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload51) UnmarshalJSON(data []byte) error { +func (p *Payload53) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"domain"}); err != nil { return err } return nil } -func (o *Payload51) GetRenew() *bool { +func (o *Payload53) GetRenew() *bool { if o == nil { return nil } return o.Renew } -func (o *Payload51) GetDomain() string { +func (o *Payload53) GetDomain() string { if o == nil { return "" } return o.Domain } -// Payload50 - The payload of the event, if requested. -type Payload50 struct { +// Payload52 - The payload of the event, if requested. +type Payload52 struct { Name string `json:"name"` DestinationID string `json:"destinationId"` DestinationName string `json:"destinationName"` } -func (p Payload50) MarshalJSON() ([]byte, error) { +func (p Payload52) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload50) UnmarshalJSON(data []byte) error { +func (p *Payload52) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"name", "destinationId", "destinationName"}); err != nil { return err } return nil } -func (o *Payload50) GetName() string { +func (o *Payload52) GetName() string { if o == nil { return "" } return o.Name } -func (o *Payload50) GetDestinationID() string { +func (o *Payload52) GetDestinationID() string { if o == nil { return "" } return o.DestinationID } -func (o *Payload50) GetDestinationName() string { +func (o *Payload52) GetDestinationName() string { if o == nil { return "" } return o.DestinationName } -// Payload49 - The payload of the event, if requested. -type Payload49 struct { +// Payload51 - The payload of the event, if requested. +type Payload51 struct { Name string `json:"name"` DestinationID *string `json:"destinationId"` DestinationName *string `json:"destinationName"` } -func (p Payload49) MarshalJSON() ([]byte, error) { +func (p Payload51) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload49) UnmarshalJSON(data []byte) error { +func (p *Payload51) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"name", "destinationId", "destinationName"}); err != nil { return err } return nil } -func (o *Payload49) GetName() string { +func (o *Payload51) GetName() string { if o == nil { return "" } return o.Name } -func (o *Payload49) GetDestinationID() *string { +func (o *Payload51) GetDestinationID() *string { if o == nil { return nil } return o.DestinationID } -func (o *Payload49) GetDestinationName() *string { +func (o *Payload51) GetDestinationName() *string { if o == nil { return nil } return o.DestinationName } -// Payload48 - The payload of the event, if requested. -type Payload48 struct { +// Payload50 - The payload of the event, if requested. +type Payload50 struct { Name string `json:"name"` FromID *string `json:"fromId"` FromName *string `json:"fromName"` } -func (p Payload48) MarshalJSON() ([]byte, error) { +func (p Payload50) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload48) UnmarshalJSON(data []byte) error { +func (p *Payload50) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"name", "fromId", "fromName"}); err != nil { return err } return nil } -func (o *Payload48) GetName() string { +func (o *Payload50) GetName() string { if o == nil { return "" } return o.Name } -func (o *Payload48) GetFromID() *string { +func (o *Payload50) GetFromID() *string { if o == nil { return nil } return o.FromID } -func (o *Payload48) GetFromName() *string { +func (o *Payload50) GetFromName() *string { if o == nil { return nil } return o.FromName } -// Payload47 - The payload of the event, if requested. -type Payload47 struct { +// Payload49 - The payload of the event, if requested. +type Payload49 struct { DomainID string `json:"domainId"` Name string `json:"name"` } -func (p Payload47) MarshalJSON() ([]byte, error) { +func (p Payload49) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload47) UnmarshalJSON(data []byte) error { +func (p *Payload49) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"domainId", "name"}); err != nil { return err } return nil } -func (o *Payload47) GetDomainID() string { +func (o *Payload49) GetDomainID() string { if o == nil { return "" } return o.DomainID } -func (o *Payload47) GetName() string { +func (o *Payload49) GetName() string { if o == nil { return "" } @@ -17744,187 +19357,187 @@ func (o *NewTeam4) GetName() string { return o.Name } -// Payload46 - The payload of the event, if requested. -type Payload46 struct { +// Payload48 - The payload of the event, if requested. +type Payload48 struct { Name string `json:"name"` OldTeam *OldTeam4 `json:"oldTeam,omitempty"` NewTeam *NewTeam4 `json:"newTeam,omitempty"` } -func (p Payload46) MarshalJSON() ([]byte, error) { +func (p Payload48) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload46) UnmarshalJSON(data []byte) error { +func (p *Payload48) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"name"}); err != nil { return err } return nil } -func (o *Payload46) GetName() string { +func (o *Payload48) GetName() string { if o == nil { return "" } return o.Name } -func (o *Payload46) GetOldTeam() *OldTeam4 { +func (o *Payload48) GetOldTeam() *OldTeam4 { if o == nil { return nil } return o.OldTeam } -func (o *Payload46) GetNewTeam() *NewTeam4 { +func (o *Payload48) GetNewTeam() *NewTeam4 { if o == nil { return nil } return o.NewTeam } -// Payload45 - The payload of the event, if requested. -type Payload45 struct { +// Payload47 - The payload of the event, if requested. +type Payload47 struct { Name string `json:"name"` UserID string `json:"userId"` TeamID string `json:"teamId"` OwnerName string `json:"ownerName"` } -func (p Payload45) MarshalJSON() ([]byte, error) { +func (p Payload47) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload45) UnmarshalJSON(data []byte) error { +func (p *Payload47) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"name", "userId", "teamId", "ownerName"}); err != nil { return err } return nil } -func (o *Payload45) GetName() string { +func (o *Payload47) GetName() string { if o == nil { return "" } return o.Name } -func (o *Payload45) GetUserID() string { +func (o *Payload47) GetUserID() string { if o == nil { return "" } return o.UserID } -func (o *Payload45) GetTeamID() string { +func (o *Payload47) GetTeamID() string { if o == nil { return "" } return o.TeamID } -func (o *Payload45) GetOwnerName() string { +func (o *Payload47) GetOwnerName() string { if o == nil { return "" } return o.OwnerName } -// Payload44 - The payload of the event, if requested. -type Payload44 struct { +// Payload46 - The payload of the event, if requested. +type Payload46 struct { Name string `json:"name"` CdnEnabled bool `json:"cdnEnabled"` } -func (p Payload44) MarshalJSON() ([]byte, error) { +func (p Payload46) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload44) UnmarshalJSON(data []byte) error { +func (p *Payload46) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"name", "cdnEnabled"}); err != nil { return err } return nil } -func (o *Payload44) GetName() string { +func (o *Payload46) GetName() string { if o == nil { return "" } return o.Name } -func (o *Payload44) GetCdnEnabled() bool { +func (o *Payload46) GetCdnEnabled() bool { if o == nil { return false } return o.CdnEnabled } -// Payload43 - The payload of the event, if requested. -type Payload43 struct { +// Payload45 - The payload of the event, if requested. +type Payload45 struct { Name string `json:"name"` Price float64 `json:"price"` Currency *string `json:"currency,omitempty"` } -func (p Payload43) MarshalJSON() ([]byte, error) { +func (p Payload45) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload43) UnmarshalJSON(data []byte) error { +func (p *Payload45) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"name", "price"}); err != nil { return err } return nil } -func (o *Payload43) GetName() string { +func (o *Payload45) GetName() string { if o == nil { return "" } return o.Name } -func (o *Payload43) GetPrice() float64 { +func (o *Payload45) GetPrice() float64 { if o == nil { return 0.0 } return o.Price } -func (o *Payload43) GetCurrency() *string { +func (o *Payload45) GetCurrency() *string { if o == nil { return nil } return o.Currency } -// Payload42 - The payload of the event, if requested. -type Payload42 struct { +// Payload44 - The payload of the event, if requested. +type Payload44 struct { Name string `json:"name"` } -func (p Payload42) MarshalJSON() ([]byte, error) { +func (p Payload44) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload42) UnmarshalJSON(data []byte) error { +func (p *Payload44) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"name"}); err != nil { return err } return nil } -func (o *Payload42) GetName() string { +func (o *Payload44) GetName() string { if o == nil { return "" } return o.Name } -// Payload41 - The payload of the event, if requested. -type Payload41 struct { +// Payload43 - The payload of the event, if requested. +type Payload43 struct { ID string `json:"id"` Value string `json:"value"` Name string `json:"name"` @@ -17932,54 +19545,54 @@ type Payload41 struct { Type string `json:"type"` } -func (p Payload41) MarshalJSON() ([]byte, error) { +func (p Payload43) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload41) UnmarshalJSON(data []byte) error { +func (p *Payload43) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"id", "value", "name", "domain", "type"}); err != nil { return err } return nil } -func (o *Payload41) GetID() string { +func (o *Payload43) GetID() string { if o == nil { return "" } return o.ID } -func (o *Payload41) GetValue() string { +func (o *Payload43) GetValue() string { if o == nil { return "" } return o.Value } -func (o *Payload41) GetName() string { +func (o *Payload43) GetName() string { if o == nil { return "" } return o.Name } -func (o *Payload41) GetDomain() string { +func (o *Payload43) GetDomain() string { if o == nil { return "" } return o.Domain } -func (o *Payload41) GetType() string { +func (o *Payload43) GetType() string { if o == nil { return "" } return o.Type } -// Payload40 - The payload of the event, if requested. -type Payload40 struct { +// Payload42 - The payload of the event, if requested. +type Payload42 struct { ID string `json:"id"` Value string `json:"value"` Name string `json:"name"` @@ -17988,53 +19601,53 @@ type Payload40 struct { MxPriority *float64 `json:"mxPriority,omitempty"` } -func (p Payload40) MarshalJSON() ([]byte, error) { +func (p Payload42) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload40) UnmarshalJSON(data []byte) error { +func (p *Payload42) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"id", "value", "name", "domain", "type"}); err != nil { return err } return nil } -func (o *Payload40) GetID() string { +func (o *Payload42) GetID() string { if o == nil { return "" } return o.ID } -func (o *Payload40) GetValue() string { +func (o *Payload42) GetValue() string { if o == nil { return "" } return o.Value } -func (o *Payload40) GetName() string { +func (o *Payload42) GetName() string { if o == nil { return "" } return o.Name } -func (o *Payload40) GetDomain() string { +func (o *Payload42) GetDomain() string { if o == nil { return "" } return o.Domain } -func (o *Payload40) GetType() string { +func (o *Payload42) GetType() string { if o == nil { return "" } return o.Type } -func (o *Payload40) GetMxPriority() *float64 { +func (o *Payload42) GetMxPriority() *float64 { if o == nil { return nil } @@ -18087,39 +19700,39 @@ func (o *Deployment3) GetMeta() map[string]string { return o.Meta } -// Payload39 - The payload of the event, if requested. -type Payload39 struct { +// Payload41 - The payload of the event, if requested. +type Payload41 struct { Deployment Deployment3 `json:"deployment"` DeploymentID string `json:"deploymentId"` URL string `json:"url"` } -func (p Payload39) MarshalJSON() ([]byte, error) { +func (p Payload41) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload39) UnmarshalJSON(data []byte) error { +func (p *Payload41) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"deployment", "deploymentId", "url"}); err != nil { return err } return nil } -func (o *Payload39) GetDeployment() Deployment3 { +func (o *Payload41) GetDeployment() Deployment3 { if o == nil { return Deployment3{} } return o.Deployment } -func (o *Payload39) GetDeploymentID() string { +func (o *Payload41) GetDeploymentID() string { if o == nil { return "" } return o.DeploymentID } -func (o *Payload39) GetURL() string { +func (o *Payload41) GetURL() string { if o == nil { return "" } @@ -18170,39 +19783,39 @@ func (o *NewTeam3) GetName() string { return o.Name } -// Payload38 - The payload of the event, if requested. -type Payload38 struct { +// Payload40 - The payload of the event, if requested. +type Payload40 struct { URL string `json:"url"` OldTeam *OldTeam3 `json:"oldTeam,omitempty"` NewTeam *NewTeam3 `json:"newTeam,omitempty"` } -func (p Payload38) MarshalJSON() ([]byte, error) { +func (p Payload40) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload38) UnmarshalJSON(data []byte) error { +func (p *Payload40) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"url"}); err != nil { return err } return nil } -func (o *Payload38) GetURL() string { +func (o *Payload40) GetURL() string { if o == nil { return "" } return o.URL } -func (o *Payload38) GetOldTeam() *OldTeam3 { +func (o *Payload40) GetOldTeam() *OldTeam3 { if o == nil { return nil } return o.OldTeam } -func (o *Payload38) GetNewTeam() *NewTeam3 { +func (o *Payload40) GetNewTeam() *NewTeam3 { if o == nil { return nil } @@ -18255,8 +19868,8 @@ func (o *Deployment2) GetMeta() map[string]string { return o.Meta } -// Payload37 - The payload of the event, if requested. -type Payload37 struct { +// Payload39 - The payload of the event, if requested. +type Payload39 struct { Name *string `json:"name,omitempty"` Alias []string `json:"alias,omitempty"` Target *string `json:"target,omitempty"` @@ -18271,95 +19884,95 @@ type Payload37 struct { Type *string `json:"type,omitempty"` } -func (p Payload37) MarshalJSON() ([]byte, error) { +func (p Payload39) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload37) UnmarshalJSON(data []byte) error { +func (p *Payload39) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"url"}); err != nil { return err } return nil } -func (o *Payload37) GetName() *string { +func (o *Payload39) GetName() *string { if o == nil { return nil } return o.Name } -func (o *Payload37) GetAlias() []string { +func (o *Payload39) GetAlias() []string { if o == nil { return nil } return o.Alias } -func (o *Payload37) GetTarget() *string { +func (o *Payload39) GetTarget() *string { if o == nil { return nil } return o.Target } -func (o *Payload37) GetDeployment() *Deployment2 { +func (o *Payload39) GetDeployment() *Deployment2 { if o == nil { return nil } return o.Deployment } -func (o *Payload37) GetURL() string { +func (o *Payload39) GetURL() string { if o == nil { return "" } return o.URL } -func (o *Payload37) GetForced() *bool { +func (o *Payload39) GetForced() *bool { if o == nil { return nil } return o.Forced } -func (o *Payload37) GetDeploymentID() *string { +func (o *Payload39) GetDeploymentID() *string { if o == nil { return nil } return o.DeploymentID } -func (o *Payload37) GetPlan() *string { +func (o *Payload39) GetPlan() *string { if o == nil { return nil } return o.Plan } -func (o *Payload37) GetProject() *string { +func (o *Payload39) GetProject() *string { if o == nil { return nil } return o.Project } -func (o *Payload37) GetProjectID() *string { +func (o *Payload39) GetProjectID() *string { if o == nil { return nil } return o.ProjectID } -func (o *Payload37) GetRegions() []string { +func (o *Payload39) GetRegions() []string { if o == nil { return nil } return o.Regions } -func (o *Payload37) GetType() *string { +func (o *Payload39) GetType() *string { if o == nil { return nil } @@ -18464,132 +20077,132 @@ func (o *Job) GetState() string { return o.State } -// Payload36 - The payload of the event, if requested. -type Payload36 struct { +// Payload38 - The payload of the event, if requested. +type Payload38 struct { Project Project5 `json:"project"` Job Job `json:"job"` } -func (p Payload36) MarshalJSON() ([]byte, error) { +func (p Payload38) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload36) UnmarshalJSON(data []byte) error { +func (p *Payload38) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"project", "job"}); err != nil { return err } return nil } -func (o *Payload36) GetProject() Project5 { +func (o *Payload38) GetProject() Project5 { if o == nil { return Project5{} } return o.Project } -func (o *Payload36) GetJob() Job { +func (o *Payload38) GetJob() Job { if o == nil { return Job{} } return o.Job } -// Payload35 - The payload of the event, if requested. -type Payload35 struct { +// Payload37 - The payload of the event, if requested. +type Payload37 struct { BitbucketEmail string `json:"bitbucketEmail"` BitbucketLogin string `json:"bitbucketLogin"` BitbucketName *string `json:"bitbucketName,omitempty"` } -func (p Payload35) MarshalJSON() ([]byte, error) { +func (p Payload37) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload35) UnmarshalJSON(data []byte) error { +func (p *Payload37) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"bitbucketEmail", "bitbucketLogin"}); err != nil { return err } return nil } -func (o *Payload35) GetBitbucketEmail() string { +func (o *Payload37) GetBitbucketEmail() string { if o == nil { return "" } return o.BitbucketEmail } -func (o *Payload35) GetBitbucketLogin() string { +func (o *Payload37) GetBitbucketLogin() string { if o == nil { return "" } return o.BitbucketLogin } -func (o *Payload35) GetBitbucketName() *string { +func (o *Payload37) GetBitbucketName() *string { if o == nil { return nil } return o.BitbucketName } -// Payload34 - The payload of the event, if requested. -type Payload34 struct { +// Payload36 - The payload of the event, if requested. +type Payload36 struct { GitlabLogin string `json:"gitlabLogin"` GitlabEmail string `json:"gitlabEmail"` GitlabName *string `json:"gitlabName,omitempty"` } -func (p Payload34) MarshalJSON() ([]byte, error) { +func (p Payload36) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload34) UnmarshalJSON(data []byte) error { +func (p *Payload36) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"gitlabLogin", "gitlabEmail"}); err != nil { return err } return nil } -func (o *Payload34) GetGitlabLogin() string { +func (o *Payload36) GetGitlabLogin() string { if o == nil { return "" } return o.GitlabLogin } -func (o *Payload34) GetGitlabEmail() string { +func (o *Payload36) GetGitlabEmail() string { if o == nil { return "" } return o.GitlabEmail } -func (o *Payload34) GetGitlabName() *string { +func (o *Payload36) GetGitlabName() *string { if o == nil { return nil } return o.GitlabName } -// Payload33 - The payload of the event, if requested. -type Payload33 struct { +// Payload35 - The payload of the event, if requested. +type Payload35 struct { GithubLogin string `json:"githubLogin"` } -func (p Payload33) MarshalJSON() ([]byte, error) { +func (p Payload35) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload33) UnmarshalJSON(data []byte) error { +func (p *Payload35) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"githubLogin"}); err != nil { return err } return nil } -func (o *Payload33) GetGithubLogin() string { +func (o *Payload35) GetGithubLogin() string { if o == nil { return "" } @@ -18626,69 +20239,69 @@ func (o *UserEventTeam4) GetName() string { return o.Name } -type Configuration4 struct { +type UserEventConfiguration4 struct { ID string `json:"id"` Name *string `json:"name,omitempty"` } -func (c Configuration4) MarshalJSON() ([]byte, error) { - return utils.MarshalJSON(c, "", false) +func (u UserEventConfiguration4) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(u, "", false) } -func (c *Configuration4) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &c, "", false, []string{"id"}); err != nil { +func (u *UserEventConfiguration4) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &u, "", false, []string{"id"}); err != nil { return err } return nil } -func (o *Configuration4) GetID() string { +func (o *UserEventConfiguration4) GetID() string { if o == nil { return "" } return o.ID } -func (o *Configuration4) GetName() *string { +func (o *UserEventConfiguration4) GetName() *string { if o == nil { return nil } return o.Name } -// Payload32 - The payload of the event, if requested. -type Payload32 struct { - Team UserEventTeam4 `json:"team"` - Configuration Configuration4 `json:"configuration"` - NewName string `json:"newName"` +// Payload34 - The payload of the event, if requested. +type Payload34 struct { + Team UserEventTeam4 `json:"team"` + Configuration UserEventConfiguration4 `json:"configuration"` + NewName string `json:"newName"` } -func (p Payload32) MarshalJSON() ([]byte, error) { +func (p Payload34) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload32) UnmarshalJSON(data []byte) error { +func (p *Payload34) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"team", "configuration", "newName"}); err != nil { return err } return nil } -func (o *Payload32) GetTeam() UserEventTeam4 { +func (o *Payload34) GetTeam() UserEventTeam4 { if o == nil { return UserEventTeam4{} } return o.Team } -func (o *Payload32) GetConfiguration() Configuration4 { +func (o *Payload34) GetConfiguration() UserEventConfiguration4 { if o == nil { - return Configuration4{} + return UserEventConfiguration4{} } return o.Configuration } -func (o *Payload32) GetNewName() string { +func (o *Payload34) GetNewName() string { if o == nil { return "" } @@ -18725,30 +20338,30 @@ func (o *UserEventTeam3) GetName() string { return o.Name } -type Configuration3 struct { +type UserEventConfiguration3 struct { ID string `json:"id"` Name *string `json:"name,omitempty"` } -func (c Configuration3) MarshalJSON() ([]byte, error) { - return utils.MarshalJSON(c, "", false) +func (u UserEventConfiguration3) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(u, "", false) } -func (c *Configuration3) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &c, "", false, []string{"id"}); err != nil { +func (u *UserEventConfiguration3) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &u, "", false, []string{"id"}); err != nil { return err } return nil } -func (o *Configuration3) GetID() string { +func (o *UserEventConfiguration3) GetID() string { if o == nil { return "" } return o.ID } -func (o *Configuration3) GetName() *string { +func (o *UserEventConfiguration3) GetName() *string { if o == nil { return nil } @@ -18785,39 +20398,39 @@ func (o *Project4) GetName() *string { return o.Name } -// Payload31 - The payload of the event, if requested. -type Payload31 struct { - Team UserEventTeam3 `json:"team"` - Configuration Configuration3 `json:"configuration"` - Project Project4 `json:"project"` +// Payload33 - The payload of the event, if requested. +type Payload33 struct { + Team UserEventTeam3 `json:"team"` + Configuration UserEventConfiguration3 `json:"configuration"` + Project Project4 `json:"project"` } -func (p Payload31) MarshalJSON() ([]byte, error) { +func (p Payload33) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload31) UnmarshalJSON(data []byte) error { +func (p *Payload33) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"team", "configuration", "project"}); err != nil { return err } return nil } -func (o *Payload31) GetTeam() UserEventTeam3 { +func (o *Payload33) GetTeam() UserEventTeam3 { if o == nil { return UserEventTeam3{} } return o.Team } -func (o *Payload31) GetConfiguration() Configuration3 { +func (o *Payload33) GetConfiguration() UserEventConfiguration3 { if o == nil { - return Configuration3{} + return UserEventConfiguration3{} } return o.Configuration } -func (o *Payload31) GetProject() Project4 { +func (o *Payload33) GetProject() Project4 { if o == nil { return Project4{} } @@ -18854,30 +20467,30 @@ func (o *UserEventTeam2) GetName() string { return o.Name } -type Configuration2 struct { +type UserEventConfiguration2 struct { ID string `json:"id"` Name *string `json:"name,omitempty"` } -func (c Configuration2) MarshalJSON() ([]byte, error) { - return utils.MarshalJSON(c, "", false) +func (u UserEventConfiguration2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(u, "", false) } -func (c *Configuration2) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &c, "", false, []string{"id"}); err != nil { +func (u *UserEventConfiguration2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &u, "", false, []string{"id"}); err != nil { return err } return nil } -func (o *Configuration2) GetID() string { +func (o *UserEventConfiguration2) GetID() string { if o == nil { return "" } return o.ID } -func (o *Configuration2) GetName() *string { +func (o *UserEventConfiguration2) GetName() *string { if o == nil { return nil } @@ -18914,55 +20527,55 @@ func (o *Project3) GetName() *string { return o.Name } -// Payload30 - The payload of the event, if requested. -type Payload30 struct { - Team UserEventTeam2 `json:"team"` - Configuration Configuration2 `json:"configuration"` - Project Project3 `json:"project"` - BuildsEnabled *bool `json:"buildsEnabled,omitempty"` - Passive *bool `json:"passive,omitempty"` +// Payload32 - The payload of the event, if requested. +type Payload32 struct { + Team UserEventTeam2 `json:"team"` + Configuration UserEventConfiguration2 `json:"configuration"` + Project Project3 `json:"project"` + BuildsEnabled *bool `json:"buildsEnabled,omitempty"` + Passive *bool `json:"passive,omitempty"` } -func (p Payload30) MarshalJSON() ([]byte, error) { +func (p Payload32) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *Payload30) UnmarshalJSON(data []byte) error { +func (p *Payload32) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, []string{"team", "configuration", "project"}); err != nil { return err } return nil } -func (o *Payload30) GetTeam() UserEventTeam2 { +func (o *Payload32) GetTeam() UserEventTeam2 { if o == nil { return UserEventTeam2{} } return o.Team } -func (o *Payload30) GetConfiguration() Configuration2 { +func (o *Payload32) GetConfiguration() UserEventConfiguration2 { if o == nil { - return Configuration2{} + return UserEventConfiguration2{} } return o.Configuration } -func (o *Payload30) GetProject() Project3 { +func (o *Payload32) GetProject() Project3 { if o == nil { return Project3{} } return o.Project } -func (o *Payload30) GetBuildsEnabled() *bool { +func (o *Payload32) GetBuildsEnabled() *bool { if o == nil { return nil } return o.BuildsEnabled } -func (o *Payload30) GetPassive() *bool { +func (o *Payload32) GetPassive() *bool { if o == nil { return nil } @@ -18999,30 +20612,30 @@ func (o *UserEventTeam1) GetName() string { return o.Name } -type Configuration1 struct { +type UserEventConfiguration1 struct { ID string `json:"id"` Name *string `json:"name,omitempty"` } -func (c Configuration1) MarshalJSON() ([]byte, error) { - return utils.MarshalJSON(c, "", false) +func (u UserEventConfiguration1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(u, "", false) } -func (c *Configuration1) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &c, "", false, []string{"id"}); err != nil { +func (u *UserEventConfiguration1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &u, "", false, []string{"id"}); err != nil { return err } return nil } -func (o *Configuration1) GetID() string { +func (o *UserEventConfiguration1) GetID() string { if o == nil { return "" } return o.ID } -func (o *Configuration1) GetName() *string { +func (o *UserEventConfiguration1) GetName() *string { if o == nil { return nil } @@ -19059,12 +20672,80 @@ func (o *Project2) GetName() *string { return o.Name } +// Payload31 - The payload of the event, if requested. +type Payload31 struct { + Team UserEventTeam1 `json:"team"` + Configuration UserEventConfiguration1 `json:"configuration"` + Project Project2 `json:"project"` + BuildsEnabled *bool `json:"buildsEnabled,omitempty"` +} + +func (p Payload31) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(p, "", false) +} + +func (p *Payload31) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &p, "", false, []string{"team", "configuration", "project"}); err != nil { + return err + } + return nil +} + +func (o *Payload31) GetTeam() UserEventTeam1 { + if o == nil { + return UserEventTeam1{} + } + return o.Team +} + +func (o *Payload31) GetConfiguration() UserEventConfiguration1 { + if o == nil { + return UserEventConfiguration1{} + } + return o.Configuration +} + +func (o *Payload31) GetProject() Project2 { + if o == nil { + return Project2{} + } + return o.Project +} + +func (o *Payload31) GetBuildsEnabled() *bool { + if o == nil { + return nil + } + return o.BuildsEnabled +} + +// Payload30 - The payload of the event, if requested. +type Payload30 struct { + Suffix string `json:"suffix"` +} + +func (p Payload30) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(p, "", false) +} + +func (p *Payload30) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &p, "", false, []string{"suffix"}); err != nil { + return err + } + return nil +} + +func (o *Payload30) GetSuffix() string { + if o == nil { + return "" + } + return o.Suffix +} + // Payload29 - The payload of the event, if requested. type Payload29 struct { - Team UserEventTeam1 `json:"team"` - Configuration Configuration1 `json:"configuration"` - Project Project2 `json:"project"` - BuildsEnabled *bool `json:"buildsEnabled,omitempty"` + Status string `json:"status"` + Suffix string `json:"suffix"` } func (p Payload29) MarshalJSON() ([]byte, error) { @@ -19072,43 +20753,30 @@ func (p Payload29) MarshalJSON() ([]byte, error) { } func (p *Payload29) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &p, "", false, []string{"team", "configuration", "project"}); err != nil { + if err := utils.UnmarshalJSON(data, &p, "", false, []string{"status", "suffix"}); err != nil { return err } return nil } -func (o *Payload29) GetTeam() UserEventTeam1 { - if o == nil { - return UserEventTeam1{} - } - return o.Team -} - -func (o *Payload29) GetConfiguration() Configuration1 { - if o == nil { - return Configuration1{} - } - return o.Configuration -} - -func (o *Payload29) GetProject() Project2 { +func (o *Payload29) GetStatus() string { if o == nil { - return Project2{} + return "" } - return o.Project + return o.Status } -func (o *Payload29) GetBuildsEnabled() *bool { +func (o *Payload29) GetSuffix() string { if o == nil { - return nil + return "" } - return o.BuildsEnabled + return o.Suffix } // Payload28 - The payload of the event, if requested. type Payload28 struct { - Suffix string `json:"suffix"` + Reason *string `json:"reason,omitempty"` + Suffix string `json:"suffix"` } func (p Payload28) MarshalJSON() ([]byte, error) { @@ -19122,6 +20790,13 @@ func (p *Payload28) UnmarshalJSON(data []byte) error { return nil } +func (o *Payload28) GetReason() *string { + if o == nil { + return nil + } + return o.Reason +} + func (o *Payload28) GetSuffix() string { if o == nil { return "" @@ -19131,8 +20806,10 @@ func (o *Payload28) GetSuffix() string { // Payload27 - The payload of the event, if requested. type Payload27 struct { - Status string `json:"status"` - Suffix string `json:"suffix"` + ProjectID *string `json:"projectId,omitempty"` + ProjectName *string `json:"projectName,omitempty"` + CertID *string `json:"certId,omitempty"` + Origin *string `json:"origin,omitempty"` } func (p Payload27) MarshalJSON() ([]byte, error) { @@ -19140,30 +20817,46 @@ func (p Payload27) MarshalJSON() ([]byte, error) { } func (p *Payload27) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &p, "", false, []string{"status", "suffix"}); err != nil { + if err := utils.UnmarshalJSON(data, &p, "", false, nil); err != nil { return err } return nil } -func (o *Payload27) GetStatus() string { +func (o *Payload27) GetProjectID() *string { if o == nil { - return "" + return nil } - return o.Status + return o.ProjectID } -func (o *Payload27) GetSuffix() string { +func (o *Payload27) GetProjectName() *string { if o == nil { - return "" + return nil } - return o.Suffix + return o.ProjectName +} + +func (o *Payload27) GetCertID() *string { + if o == nil { + return nil + } + return o.CertID +} + +func (o *Payload27) GetOrigin() *string { + if o == nil { + return nil + } + return o.Origin } // Payload26 - The payload of the event, if requested. type Payload26 struct { - Reason *string `json:"reason,omitempty"` - Suffix string `json:"suffix"` + ProjectID *string `json:"projectId,omitempty"` + ProjectName *string `json:"projectName,omitempty"` + Target []string `json:"target,omitempty"` + Updated *bool `json:"updated,omitempty"` } func (p Payload26) MarshalJSON() ([]byte, error) { @@ -19171,24 +20864,38 @@ func (p Payload26) MarshalJSON() ([]byte, error) { } func (p *Payload26) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &p, "", false, []string{"suffix"}); err != nil { + if err := utils.UnmarshalJSON(data, &p, "", false, nil); err != nil { return err } return nil } -func (o *Payload26) GetReason() *string { +func (o *Payload26) GetProjectID() *string { if o == nil { return nil } - return o.Reason + return o.ProjectID } -func (o *Payload26) GetSuffix() string { +func (o *Payload26) GetProjectName() *string { if o == nil { - return "" + return nil } - return o.Suffix + return o.ProjectName +} + +func (o *Payload26) GetTarget() []string { + if o == nil { + return nil + } + return o.Target +} + +func (o *Payload26) GetUpdated() *bool { + if o == nil { + return nil + } + return o.Updated } // Payload25 - The payload of the event, if requested. @@ -20766,6 +22473,9 @@ const ( PayloadUnionTypePayload162 PayloadUnionType = "payload_162" PayloadUnionTypePayload163 PayloadUnionType = "payload_163" PayloadUnionTypePayload164 PayloadUnionType = "payload_164" + PayloadUnionTypePayload165 PayloadUnionType = "payload_165" + PayloadUnionTypePayload166 PayloadUnionType = "payload_166" + PayloadUnionTypePayload167 PayloadUnionType = "payload_167" ) type PayloadUnion struct { @@ -20933,6 +22643,9 @@ type PayloadUnion struct { Payload162 *Payload162 `queryParam:"inline"` Payload163 *Payload163 `queryParam:"inline"` Payload164 *Payload164 `queryParam:"inline"` + Payload165 *Payload165 `queryParam:"inline"` + Payload166 *Payload166 `queryParam:"inline"` + Payload167 *Payload167 `queryParam:"inline"` Type PayloadUnionType } @@ -22413,82 +24126,109 @@ func CreatePayloadUnionPayload164(payload164 Payload164) PayloadUnion { } } +func CreatePayloadUnionPayload165(payload165 Payload165) PayloadUnion { + typ := PayloadUnionTypePayload165 + + return PayloadUnion{ + Payload165: &payload165, + Type: typ, + } +} + +func CreatePayloadUnionPayload166(payload166 Payload166) PayloadUnion { + typ := PayloadUnionTypePayload166 + + return PayloadUnion{ + Payload166: &payload166, + Type: typ, + } +} + +func CreatePayloadUnionPayload167(payload167 Payload167) PayloadUnion { + typ := PayloadUnionTypePayload167 + + return PayloadUnion{ + Payload167: &payload167, + Type: typ, + } +} + func (u *PayloadUnion) UnmarshalJSON(data []byte) error { - var payload66 Payload66 = Payload66{} - if err := utils.UnmarshalJSON(data, &payload66, "", true, nil); err == nil { - u.Payload66 = &payload66 - u.Type = PayloadUnionTypePayload66 + var payload72 Payload72 = Payload72{} + if err := utils.UnmarshalJSON(data, &payload72, "", true, nil); err == nil { + u.Payload72 = &payload72 + u.Type = PayloadUnionTypePayload72 return nil } - var payload69 Payload69 = Payload69{} - if err := utils.UnmarshalJSON(data, &payload69, "", true, nil); err == nil { - u.Payload69 = &payload69 - u.Type = PayloadUnionTypePayload69 + var payload68 Payload68 = Payload68{} + if err := utils.UnmarshalJSON(data, &payload68, "", true, nil); err == nil { + u.Payload68 = &payload68 + u.Type = PayloadUnionTypePayload68 return nil } - var payload70 Payload70 = Payload70{} - if err := utils.UnmarshalJSON(data, &payload70, "", true, nil); err == nil { - u.Payload70 = &payload70 - u.Type = PayloadUnionTypePayload70 + var payload71 Payload71 = Payload71{} + if err := utils.UnmarshalJSON(data, &payload71, "", true, nil); err == nil { + u.Payload71 = &payload71 + u.Type = PayloadUnionTypePayload71 return nil } - var payload40 Payload40 = Payload40{} - if err := utils.UnmarshalJSON(data, &payload40, "", true, nil); err == nil { - u.Payload40 = &payload40 - u.Type = PayloadUnionTypePayload40 + var payload42 Payload42 = Payload42{} + if err := utils.UnmarshalJSON(data, &payload42, "", true, nil); err == nil { + u.Payload42 = &payload42 + u.Type = PayloadUnionTypePayload42 return nil } - var payload41 Payload41 = Payload41{} - if err := utils.UnmarshalJSON(data, &payload41, "", true, nil); err == nil { - u.Payload41 = &payload41 - u.Type = PayloadUnionTypePayload41 + var payload43 Payload43 = Payload43{} + if err := utils.UnmarshalJSON(data, &payload43, "", true, nil); err == nil { + u.Payload43 = &payload43 + u.Type = PayloadUnionTypePayload43 return nil } - var payload53 Payload53 = Payload53{} - if err := utils.UnmarshalJSON(data, &payload53, "", true, nil); err == nil { - u.Payload53 = &payload53 - u.Type = PayloadUnionTypePayload53 + var payload55 Payload55 = Payload55{} + if err := utils.UnmarshalJSON(data, &payload55, "", true, nil); err == nil { + u.Payload55 = &payload55 + u.Type = PayloadUnionTypePayload55 return nil } - var payload58 Payload58 = Payload58{} - if err := utils.UnmarshalJSON(data, &payload58, "", true, nil); err == nil { - u.Payload58 = &payload58 - u.Type = PayloadUnionTypePayload58 + var payload60 Payload60 = Payload60{} + if err := utils.UnmarshalJSON(data, &payload60, "", true, nil); err == nil { + u.Payload60 = &payload60 + u.Type = PayloadUnionTypePayload60 return nil } - var payload64 Payload64 = Payload64{} - if err := utils.UnmarshalJSON(data, &payload64, "", true, nil); err == nil { - u.Payload64 = &payload64 - u.Type = PayloadUnionTypePayload64 + var payload66 Payload66 = Payload66{} + if err := utils.UnmarshalJSON(data, &payload66, "", true, nil); err == nil { + u.Payload66 = &payload66 + u.Type = PayloadUnionTypePayload66 return nil } - var payload67 Payload67 = Payload67{} - if err := utils.UnmarshalJSON(data, &payload67, "", true, nil); err == nil { - u.Payload67 = &payload67 - u.Type = PayloadUnionTypePayload67 + var payload69 Payload69 = Payload69{} + if err := utils.UnmarshalJSON(data, &payload69, "", true, nil); err == nil { + u.Payload69 = &payload69 + u.Type = PayloadUnionTypePayload69 return nil } - var payload134 Payload134 = Payload134{} - if err := utils.UnmarshalJSON(data, &payload134, "", true, nil); err == nil { - u.Payload134 = &payload134 - u.Type = PayloadUnionTypePayload134 + var payload136 Payload136 = Payload136{} + if err := utils.UnmarshalJSON(data, &payload136, "", true, nil); err == nil { + u.Payload136 = &payload136 + u.Type = PayloadUnionTypePayload136 return nil } - var payload164 Payload164 = Payload164{} - if err := utils.UnmarshalJSON(data, &payload164, "", true, nil); err == nil { - u.Payload164 = &payload164 - u.Type = PayloadUnionTypePayload164 + var payload167 Payload167 = Payload167{} + if err := utils.UnmarshalJSON(data, &payload167, "", true, nil); err == nil { + u.Payload167 = &payload167 + u.Type = PayloadUnionTypePayload167 return nil } @@ -22499,31 +24239,31 @@ func (u *PayloadUnion) UnmarshalJSON(data []byte) error { return nil } - var payload45 Payload45 = Payload45{} - if err := utils.UnmarshalJSON(data, &payload45, "", true, nil); err == nil { - u.Payload45 = &payload45 - u.Type = PayloadUnionTypePayload45 + var payload47 Payload47 = Payload47{} + if err := utils.UnmarshalJSON(data, &payload47, "", true, nil); err == nil { + u.Payload47 = &payload47 + u.Type = PayloadUnionTypePayload47 return nil } - var payload68 Payload68 = Payload68{} - if err := utils.UnmarshalJSON(data, &payload68, "", true, nil); err == nil { - u.Payload68 = &payload68 - u.Type = PayloadUnionTypePayload68 + var payload70 Payload70 = Payload70{} + if err := utils.UnmarshalJSON(data, &payload70, "", true, nil); err == nil { + u.Payload70 = &payload70 + u.Type = PayloadUnionTypePayload70 return nil } - var payload103 Payload103 = Payload103{} - if err := utils.UnmarshalJSON(data, &payload103, "", true, nil); err == nil { - u.Payload103 = &payload103 - u.Type = PayloadUnionTypePayload103 + var payload105 Payload105 = Payload105{} + if err := utils.UnmarshalJSON(data, &payload105, "", true, nil); err == nil { + u.Payload105 = &payload105 + u.Type = PayloadUnionTypePayload105 return nil } - var payload145 Payload145 = Payload145{} - if err := utils.UnmarshalJSON(data, &payload145, "", true, nil); err == nil { - u.Payload145 = &payload145 - u.Type = PayloadUnionTypePayload145 + var payload147 Payload147 = Payload147{} + if err := utils.UnmarshalJSON(data, &payload147, "", true, nil); err == nil { + u.Payload147 = &payload147 + u.Type = PayloadUnionTypePayload147 return nil } @@ -22541,20 +24281,6 @@ func (u *PayloadUnion) UnmarshalJSON(data []byte) error { return nil } - var payload29 Payload29 = Payload29{} - if err := utils.UnmarshalJSON(data, &payload29, "", true, nil); err == nil { - u.Payload29 = &payload29 - u.Type = PayloadUnionTypePayload29 - return nil - } - - var payload30 Payload30 = Payload30{} - if err := utils.UnmarshalJSON(data, &payload30, "", true, nil); err == nil { - u.Payload30 = &payload30 - u.Type = PayloadUnionTypePayload30 - return nil - } - var payload31 Payload31 = Payload31{} if err := utils.UnmarshalJSON(data, &payload31, "", true, nil); err == nil { u.Payload31 = &payload31 @@ -22569,24 +24295,24 @@ func (u *PayloadUnion) UnmarshalJSON(data []byte) error { return nil } - var payload39 Payload39 = Payload39{} - if err := utils.UnmarshalJSON(data, &payload39, "", true, nil); err == nil { - u.Payload39 = &payload39 - u.Type = PayloadUnionTypePayload39 + var payload33 Payload33 = Payload33{} + if err := utils.UnmarshalJSON(data, &payload33, "", true, nil); err == nil { + u.Payload33 = &payload33 + u.Type = PayloadUnionTypePayload33 return nil } - var payload48 Payload48 = Payload48{} - if err := utils.UnmarshalJSON(data, &payload48, "", true, nil); err == nil { - u.Payload48 = &payload48 - u.Type = PayloadUnionTypePayload48 + var payload34 Payload34 = Payload34{} + if err := utils.UnmarshalJSON(data, &payload34, "", true, nil); err == nil { + u.Payload34 = &payload34 + u.Type = PayloadUnionTypePayload34 return nil } - var payload49 Payload49 = Payload49{} - if err := utils.UnmarshalJSON(data, &payload49, "", true, nil); err == nil { - u.Payload49 = &payload49 - u.Type = PayloadUnionTypePayload49 + var payload41 Payload41 = Payload41{} + if err := utils.UnmarshalJSON(data, &payload41, "", true, nil); err == nil { + u.Payload41 = &payload41 + u.Type = PayloadUnionTypePayload41 return nil } @@ -22597,17 +24323,17 @@ func (u *PayloadUnion) UnmarshalJSON(data []byte) error { return nil } - var payload59 Payload59 = Payload59{} - if err := utils.UnmarshalJSON(data, &payload59, "", true, nil); err == nil { - u.Payload59 = &payload59 - u.Type = PayloadUnionTypePayload59 + var payload51 Payload51 = Payload51{} + if err := utils.UnmarshalJSON(data, &payload51, "", true, nil); err == nil { + u.Payload51 = &payload51 + u.Type = PayloadUnionTypePayload51 return nil } - var payload60 Payload60 = Payload60{} - if err := utils.UnmarshalJSON(data, &payload60, "", true, nil); err == nil { - u.Payload60 = &payload60 - u.Type = PayloadUnionTypePayload60 + var payload52 Payload52 = Payload52{} + if err := utils.UnmarshalJSON(data, &payload52, "", true, nil); err == nil { + u.Payload52 = &payload52 + u.Type = PayloadUnionTypePayload52 return nil } @@ -22618,6 +24344,13 @@ func (u *PayloadUnion) UnmarshalJSON(data []byte) error { return nil } + var payload62 Payload62 = Payload62{} + if err := utils.UnmarshalJSON(data, &payload62, "", true, nil); err == nil { + u.Payload62 = &payload62 + u.Type = PayloadUnionTypePayload62 + return nil + } + var payload63 Payload63 = Payload63{} if err := utils.UnmarshalJSON(data, &payload63, "", true, nil); err == nil { u.Payload63 = &payload63 @@ -22625,66 +24358,66 @@ func (u *PayloadUnion) UnmarshalJSON(data []byte) error { return nil } - var payload74 Payload74 = Payload74{} - if err := utils.UnmarshalJSON(data, &payload74, "", true, nil); err == nil { - u.Payload74 = &payload74 - u.Type = PayloadUnionTypePayload74 + var payload65 Payload65 = Payload65{} + if err := utils.UnmarshalJSON(data, &payload65, "", true, nil); err == nil { + u.Payload65 = &payload65 + u.Type = PayloadUnionTypePayload65 return nil } - var payload78 Payload78 = Payload78{} - if err := utils.UnmarshalJSON(data, &payload78, "", true, nil); err == nil { - u.Payload78 = &payload78 - u.Type = PayloadUnionTypePayload78 + var payload76 Payload76 = Payload76{} + if err := utils.UnmarshalJSON(data, &payload76, "", true, nil); err == nil { + u.Payload76 = &payload76 + u.Type = PayloadUnionTypePayload76 return nil } - var payload81 Payload81 = Payload81{} - if err := utils.UnmarshalJSON(data, &payload81, "", true, nil); err == nil { - u.Payload81 = &payload81 - u.Type = PayloadUnionTypePayload81 + var payload80 Payload80 = Payload80{} + if err := utils.UnmarshalJSON(data, &payload80, "", true, nil); err == nil { + u.Payload80 = &payload80 + u.Type = PayloadUnionTypePayload80 return nil } - var payload82 Payload82 = Payload82{} - if err := utils.UnmarshalJSON(data, &payload82, "", true, nil); err == nil { - u.Payload82 = &payload82 - u.Type = PayloadUnionTypePayload82 + var payload83 Payload83 = Payload83{} + if err := utils.UnmarshalJSON(data, &payload83, "", true, nil); err == nil { + u.Payload83 = &payload83 + u.Type = PayloadUnionTypePayload83 return nil } - var payload94 Payload94 = Payload94{} - if err := utils.UnmarshalJSON(data, &payload94, "", true, nil); err == nil { - u.Payload94 = &payload94 - u.Type = PayloadUnionTypePayload94 + var payload84 Payload84 = Payload84{} + if err := utils.UnmarshalJSON(data, &payload84, "", true, nil); err == nil { + u.Payload84 = &payload84 + u.Type = PayloadUnionTypePayload84 return nil } - var payload112 Payload112 = Payload112{} - if err := utils.UnmarshalJSON(data, &payload112, "", true, nil); err == nil { - u.Payload112 = &payload112 - u.Type = PayloadUnionTypePayload112 + var payload96 Payload96 = Payload96{} + if err := utils.UnmarshalJSON(data, &payload96, "", true, nil); err == nil { + u.Payload96 = &payload96 + u.Type = PayloadUnionTypePayload96 return nil } - var payload136 Payload136 = Payload136{} - if err := utils.UnmarshalJSON(data, &payload136, "", true, nil); err == nil { - u.Payload136 = &payload136 - u.Type = PayloadUnionTypePayload136 + var payload114 Payload114 = Payload114{} + if err := utils.UnmarshalJSON(data, &payload114, "", true, nil); err == nil { + u.Payload114 = &payload114 + u.Type = PayloadUnionTypePayload114 return nil } - var payload137 Payload137 = Payload137{} - if err := utils.UnmarshalJSON(data, &payload137, "", true, nil); err == nil { - u.Payload137 = &payload137 - u.Type = PayloadUnionTypePayload137 + var payload138 Payload138 = Payload138{} + if err := utils.UnmarshalJSON(data, &payload138, "", true, nil); err == nil { + u.Payload138 = &payload138 + u.Type = PayloadUnionTypePayload138 return nil } - var payload144 Payload144 = Payload144{} - if err := utils.UnmarshalJSON(data, &payload144, "", true, nil); err == nil { - u.Payload144 = &payload144 - u.Type = PayloadUnionTypePayload144 + var payload139 Payload139 = Payload139{} + if err := utils.UnmarshalJSON(data, &payload139, "", true, nil); err == nil { + u.Payload139 = &payload139 + u.Type = PayloadUnionTypePayload139 return nil } @@ -22702,31 +24435,38 @@ func (u *PayloadUnion) UnmarshalJSON(data []byte) error { return nil } - var payload151 Payload151 = Payload151{} - if err := utils.UnmarshalJSON(data, &payload151, "", true, nil); err == nil { - u.Payload151 = &payload151 - u.Type = PayloadUnionTypePayload151 + var payload150 Payload150 = Payload150{} + if err := utils.UnmarshalJSON(data, &payload150, "", true, nil); err == nil { + u.Payload150 = &payload150 + u.Type = PayloadUnionTypePayload150 return nil } - var payload161 Payload161 = Payload161{} - if err := utils.UnmarshalJSON(data, &payload161, "", true, nil); err == nil { - u.Payload161 = &payload161 - u.Type = PayloadUnionTypePayload161 + var payload153 Payload153 = Payload153{} + if err := utils.UnmarshalJSON(data, &payload153, "", true, nil); err == nil { + u.Payload153 = &payload153 + u.Type = PayloadUnionTypePayload153 return nil } - var payload162 Payload162 = Payload162{} - if err := utils.UnmarshalJSON(data, &payload162, "", true, nil); err == nil { - u.Payload162 = &payload162 - u.Type = PayloadUnionTypePayload162 + var payload164 Payload164 = Payload164{} + if err := utils.UnmarshalJSON(data, &payload164, "", true, nil); err == nil { + u.Payload164 = &payload164 + u.Type = PayloadUnionTypePayload164 return nil } - var payload163 Payload163 = Payload163{} - if err := utils.UnmarshalJSON(data, &payload163, "", true, nil); err == nil { - u.Payload163 = &payload163 - u.Type = PayloadUnionTypePayload163 + var payload165 Payload165 = Payload165{} + if err := utils.UnmarshalJSON(data, &payload165, "", true, nil); err == nil { + u.Payload165 = &payload165 + u.Type = PayloadUnionTypePayload165 + return nil + } + + var payload166 Payload166 = Payload166{} + if err := utils.UnmarshalJSON(data, &payload166, "", true, nil); err == nil { + u.Payload166 = &payload166 + u.Type = PayloadUnionTypePayload166 return nil } @@ -22772,24 +24512,10 @@ func (u *PayloadUnion) UnmarshalJSON(data []byte) error { return nil } - var payload27 Payload27 = Payload27{} - if err := utils.UnmarshalJSON(data, &payload27, "", true, nil); err == nil { - u.Payload27 = &payload27 - u.Type = PayloadUnionTypePayload27 - return nil - } - - var payload34 Payload34 = Payload34{} - if err := utils.UnmarshalJSON(data, &payload34, "", true, nil); err == nil { - u.Payload34 = &payload34 - u.Type = PayloadUnionTypePayload34 - return nil - } - - var payload35 Payload35 = Payload35{} - if err := utils.UnmarshalJSON(data, &payload35, "", true, nil); err == nil { - u.Payload35 = &payload35 - u.Type = PayloadUnionTypePayload35 + var payload29 Payload29 = Payload29{} + if err := utils.UnmarshalJSON(data, &payload29, "", true, nil); err == nil { + u.Payload29 = &payload29 + u.Type = PayloadUnionTypePayload29 return nil } @@ -22800,66 +24526,66 @@ func (u *PayloadUnion) UnmarshalJSON(data []byte) error { return nil } - var payload43 Payload43 = Payload43{} - if err := utils.UnmarshalJSON(data, &payload43, "", true, nil); err == nil { - u.Payload43 = &payload43 - u.Type = PayloadUnionTypePayload43 + var payload37 Payload37 = Payload37{} + if err := utils.UnmarshalJSON(data, &payload37, "", true, nil); err == nil { + u.Payload37 = &payload37 + u.Type = PayloadUnionTypePayload37 return nil } - var payload44 Payload44 = Payload44{} - if err := utils.UnmarshalJSON(data, &payload44, "", true, nil); err == nil { - u.Payload44 = &payload44 - u.Type = PayloadUnionTypePayload44 + var payload38 Payload38 = Payload38{} + if err := utils.UnmarshalJSON(data, &payload38, "", true, nil); err == nil { + u.Payload38 = &payload38 + u.Type = PayloadUnionTypePayload38 return nil } - var payload47 Payload47 = Payload47{} - if err := utils.UnmarshalJSON(data, &payload47, "", true, nil); err == nil { - u.Payload47 = &payload47 - u.Type = PayloadUnionTypePayload47 + var payload45 Payload45 = Payload45{} + if err := utils.UnmarshalJSON(data, &payload45, "", true, nil); err == nil { + u.Payload45 = &payload45 + u.Type = PayloadUnionTypePayload45 return nil } - var payload54 Payload54 = Payload54{} - if err := utils.UnmarshalJSON(data, &payload54, "", true, nil); err == nil { - u.Payload54 = &payload54 - u.Type = PayloadUnionTypePayload54 + var payload46 Payload46 = Payload46{} + if err := utils.UnmarshalJSON(data, &payload46, "", true, nil); err == nil { + u.Payload46 = &payload46 + u.Type = PayloadUnionTypePayload46 return nil } - var payload62 Payload62 = Payload62{} - if err := utils.UnmarshalJSON(data, &payload62, "", true, nil); err == nil { - u.Payload62 = &payload62 - u.Type = PayloadUnionTypePayload62 + var payload49 Payload49 = Payload49{} + if err := utils.UnmarshalJSON(data, &payload49, "", true, nil); err == nil { + u.Payload49 = &payload49 + u.Type = PayloadUnionTypePayload49 return nil } - var payload65 Payload65 = Payload65{} - if err := utils.UnmarshalJSON(data, &payload65, "", true, nil); err == nil { - u.Payload65 = &payload65 - u.Type = PayloadUnionTypePayload65 + var payload56 Payload56 = Payload56{} + if err := utils.UnmarshalJSON(data, &payload56, "", true, nil); err == nil { + u.Payload56 = &payload56 + u.Type = PayloadUnionTypePayload56 return nil } - var payload77 Payload77 = Payload77{} - if err := utils.UnmarshalJSON(data, &payload77, "", true, nil); err == nil { - u.Payload77 = &payload77 - u.Type = PayloadUnionTypePayload77 + var payload64 Payload64 = Payload64{} + if err := utils.UnmarshalJSON(data, &payload64, "", true, nil); err == nil { + u.Payload64 = &payload64 + u.Type = PayloadUnionTypePayload64 return nil } - var payload85 Payload85 = Payload85{} - if err := utils.UnmarshalJSON(data, &payload85, "", true, nil); err == nil { - u.Payload85 = &payload85 - u.Type = PayloadUnionTypePayload85 + var payload67 Payload67 = Payload67{} + if err := utils.UnmarshalJSON(data, &payload67, "", true, nil); err == nil { + u.Payload67 = &payload67 + u.Type = PayloadUnionTypePayload67 return nil } - var payload86 Payload86 = Payload86{} - if err := utils.UnmarshalJSON(data, &payload86, "", true, nil); err == nil { - u.Payload86 = &payload86 - u.Type = PayloadUnionTypePayload86 + var payload79 Payload79 = Payload79{} + if err := utils.UnmarshalJSON(data, &payload79, "", true, nil); err == nil { + u.Payload79 = &payload79 + u.Type = PayloadUnionTypePayload79 return nil } @@ -22870,17 +24596,17 @@ func (u *PayloadUnion) UnmarshalJSON(data []byte) error { return nil } - var payload90 Payload90 = Payload90{} - if err := utils.UnmarshalJSON(data, &payload90, "", true, nil); err == nil { - u.Payload90 = &payload90 - u.Type = PayloadUnionTypePayload90 + var payload88 Payload88 = Payload88{} + if err := utils.UnmarshalJSON(data, &payload88, "", true, nil); err == nil { + u.Payload88 = &payload88 + u.Type = PayloadUnionTypePayload88 return nil } - var payload91 Payload91 = Payload91{} - if err := utils.UnmarshalJSON(data, &payload91, "", true, nil); err == nil { - u.Payload91 = &payload91 - u.Type = PayloadUnionTypePayload91 + var payload89 Payload89 = Payload89{} + if err := utils.UnmarshalJSON(data, &payload89, "", true, nil); err == nil { + u.Payload89 = &payload89 + u.Type = PayloadUnionTypePayload89 return nil } @@ -22898,6 +24624,13 @@ func (u *PayloadUnion) UnmarshalJSON(data []byte) error { return nil } + var payload94 Payload94 = Payload94{} + if err := utils.UnmarshalJSON(data, &payload94, "", true, nil); err == nil { + u.Payload94 = &payload94 + u.Type = PayloadUnionTypePayload94 + return nil + } + var payload95 Payload95 = Payload95{} if err := utils.UnmarshalJSON(data, &payload95, "", true, nil); err == nil { u.Payload95 = &payload95 @@ -22905,24 +24638,17 @@ func (u *PayloadUnion) UnmarshalJSON(data []byte) error { return nil } - var payload96 Payload96 = Payload96{} - if err := utils.UnmarshalJSON(data, &payload96, "", true, nil); err == nil { - u.Payload96 = &payload96 - u.Type = PayloadUnionTypePayload96 - return nil - } - - var payload99 Payload99 = Payload99{} - if err := utils.UnmarshalJSON(data, &payload99, "", true, nil); err == nil { - u.Payload99 = &payload99 - u.Type = PayloadUnionTypePayload99 + var payload97 Payload97 = Payload97{} + if err := utils.UnmarshalJSON(data, &payload97, "", true, nil); err == nil { + u.Payload97 = &payload97 + u.Type = PayloadUnionTypePayload97 return nil } - var payload100 Payload100 = Payload100{} - if err := utils.UnmarshalJSON(data, &payload100, "", true, nil); err == nil { - u.Payload100 = &payload100 - u.Type = PayloadUnionTypePayload100 + var payload98 Payload98 = Payload98{} + if err := utils.UnmarshalJSON(data, &payload98, "", true, nil); err == nil { + u.Payload98 = &payload98 + u.Type = PayloadUnionTypePayload98 return nil } @@ -22933,38 +24659,45 @@ func (u *PayloadUnion) UnmarshalJSON(data []byte) error { return nil } - var payload108 Payload108 = Payload108{} - if err := utils.UnmarshalJSON(data, &payload108, "", true, nil); err == nil { - u.Payload108 = &payload108 - u.Type = PayloadUnionTypePayload108 + var payload102 Payload102 = Payload102{} + if err := utils.UnmarshalJSON(data, &payload102, "", true, nil); err == nil { + u.Payload102 = &payload102 + u.Type = PayloadUnionTypePayload102 return nil } - var payload117 Payload117 = Payload117{} - if err := utils.UnmarshalJSON(data, &payload117, "", true, nil); err == nil { - u.Payload117 = &payload117 - u.Type = PayloadUnionTypePayload117 + var payload103 Payload103 = Payload103{} + if err := utils.UnmarshalJSON(data, &payload103, "", true, nil); err == nil { + u.Payload103 = &payload103 + u.Type = PayloadUnionTypePayload103 return nil } - var payload118 Payload118 = Payload118{} - if err := utils.UnmarshalJSON(data, &payload118, "", true, nil); err == nil { - u.Payload118 = &payload118 - u.Type = PayloadUnionTypePayload118 + var payload110 Payload110 = Payload110{} + if err := utils.UnmarshalJSON(data, &payload110, "", true, nil); err == nil { + u.Payload110 = &payload110 + u.Type = PayloadUnionTypePayload110 return nil } - var payload123 Payload123 = Payload123{} - if err := utils.UnmarshalJSON(data, &payload123, "", true, nil); err == nil { - u.Payload123 = &payload123 - u.Type = PayloadUnionTypePayload123 + var payload119 Payload119 = Payload119{} + if err := utils.UnmarshalJSON(data, &payload119, "", true, nil); err == nil { + u.Payload119 = &payload119 + u.Type = PayloadUnionTypePayload119 return nil } - var payload124 Payload124 = Payload124{} - if err := utils.UnmarshalJSON(data, &payload124, "", true, nil); err == nil { - u.Payload124 = &payload124 - u.Type = PayloadUnionTypePayload124 + var payload120 Payload120 = Payload120{} + if err := utils.UnmarshalJSON(data, &payload120, "", true, nil); err == nil { + u.Payload120 = &payload120 + u.Type = PayloadUnionTypePayload120 + return nil + } + + var payload125 Payload125 = Payload125{} + if err := utils.UnmarshalJSON(data, &payload125, "", true, nil); err == nil { + u.Payload125 = &payload125 + u.Type = PayloadUnionTypePayload125 return nil } @@ -22975,24 +24708,17 @@ func (u *PayloadUnion) UnmarshalJSON(data []byte) error { return nil } - var payload135 Payload135 = Payload135{} - if err := utils.UnmarshalJSON(data, &payload135, "", true, nil); err == nil { - u.Payload135 = &payload135 - u.Type = PayloadUnionTypePayload135 - return nil - } - - var payload138 Payload138 = Payload138{} - if err := utils.UnmarshalJSON(data, &payload138, "", true, nil); err == nil { - u.Payload138 = &payload138 - u.Type = PayloadUnionTypePayload138 + var payload128 Payload128 = Payload128{} + if err := utils.UnmarshalJSON(data, &payload128, "", true, nil); err == nil { + u.Payload128 = &payload128 + u.Type = PayloadUnionTypePayload128 return nil } - var payload139 Payload139 = Payload139{} - if err := utils.UnmarshalJSON(data, &payload139, "", true, nil); err == nil { - u.Payload139 = &payload139 - u.Type = PayloadUnionTypePayload139 + var payload137 Payload137 = Payload137{} + if err := utils.UnmarshalJSON(data, &payload137, "", true, nil); err == nil { + u.Payload137 = &payload137 + u.Type = PayloadUnionTypePayload137 return nil } @@ -23003,6 +24729,13 @@ func (u *PayloadUnion) UnmarshalJSON(data []byte) error { return nil } + var payload141 Payload141 = Payload141{} + if err := utils.UnmarshalJSON(data, &payload141, "", true, nil); err == nil { + u.Payload141 = &payload141 + u.Type = PayloadUnionTypePayload141 + return nil + } + var payload142 Payload142 = Payload142{} if err := utils.UnmarshalJSON(data, &payload142, "", true, nil); err == nil { u.Payload142 = &payload142 @@ -23010,24 +24743,24 @@ func (u *PayloadUnion) UnmarshalJSON(data []byte) error { return nil } - var payload143 Payload143 = Payload143{} - if err := utils.UnmarshalJSON(data, &payload143, "", true, nil); err == nil { - u.Payload143 = &payload143 - u.Type = PayloadUnionTypePayload143 + var payload144 Payload144 = Payload144{} + if err := utils.UnmarshalJSON(data, &payload144, "", true, nil); err == nil { + u.Payload144 = &payload144 + u.Type = PayloadUnionTypePayload144 return nil } - var payload149 Payload149 = Payload149{} - if err := utils.UnmarshalJSON(data, &payload149, "", true, nil); err == nil { - u.Payload149 = &payload149 - u.Type = PayloadUnionTypePayload149 + var payload145 Payload145 = Payload145{} + if err := utils.UnmarshalJSON(data, &payload145, "", true, nil); err == nil { + u.Payload145 = &payload145 + u.Type = PayloadUnionTypePayload145 return nil } - var payload150 Payload150 = Payload150{} - if err := utils.UnmarshalJSON(data, &payload150, "", true, nil); err == nil { - u.Payload150 = &payload150 - u.Type = PayloadUnionTypePayload150 + var payload151 Payload151 = Payload151{} + if err := utils.UnmarshalJSON(data, &payload151, "", true, nil); err == nil { + u.Payload151 = &payload151 + u.Type = PayloadUnionTypePayload151 return nil } @@ -23045,13 +24778,6 @@ func (u *PayloadUnion) UnmarshalJSON(data []byte) error { return nil } - var payload155 Payload155 = Payload155{} - if err := utils.UnmarshalJSON(data, &payload155, "", true, nil); err == nil { - u.Payload155 = &payload155 - u.Type = PayloadUnionTypePayload155 - return nil - } - var payload156 Payload156 = Payload156{} if err := utils.UnmarshalJSON(data, &payload156, "", true, nil); err == nil { u.Payload156 = &payload156 @@ -23059,6 +24785,13 @@ func (u *PayloadUnion) UnmarshalJSON(data []byte) error { return nil } + var payload157 Payload157 = Payload157{} + if err := utils.UnmarshalJSON(data, &payload157, "", true, nil); err == nil { + u.Payload157 = &payload157 + u.Type = PayloadUnionTypePayload157 + return nil + } + var payload158 Payload158 = Payload158{} if err := utils.UnmarshalJSON(data, &payload158, "", true, nil); err == nil { u.Payload158 = &payload158 @@ -23101,13 +24834,6 @@ func (u *PayloadUnion) UnmarshalJSON(data []byte) error { return nil } - var payload26 Payload26 = Payload26{} - if err := utils.UnmarshalJSON(data, &payload26, "", true, nil); err == nil { - u.Payload26 = &payload26 - u.Type = PayloadUnionTypePayload26 - return nil - } - var payload28 Payload28 = Payload28{} if err := utils.UnmarshalJSON(data, &payload28, "", true, nil); err == nil { u.Payload28 = &payload28 @@ -23115,66 +24841,59 @@ func (u *PayloadUnion) UnmarshalJSON(data []byte) error { return nil } - var payload33 Payload33 = Payload33{} - if err := utils.UnmarshalJSON(data, &payload33, "", true, nil); err == nil { - u.Payload33 = &payload33 - u.Type = PayloadUnionTypePayload33 - return nil - } - - var payload37 Payload37 = Payload37{} - if err := utils.UnmarshalJSON(data, &payload37, "", true, nil); err == nil { - u.Payload37 = &payload37 - u.Type = PayloadUnionTypePayload37 + var payload30 Payload30 = Payload30{} + if err := utils.UnmarshalJSON(data, &payload30, "", true, nil); err == nil { + u.Payload30 = &payload30 + u.Type = PayloadUnionTypePayload30 return nil } - var payload38 Payload38 = Payload38{} - if err := utils.UnmarshalJSON(data, &payload38, "", true, nil); err == nil { - u.Payload38 = &payload38 - u.Type = PayloadUnionTypePayload38 + var payload35 Payload35 = Payload35{} + if err := utils.UnmarshalJSON(data, &payload35, "", true, nil); err == nil { + u.Payload35 = &payload35 + u.Type = PayloadUnionTypePayload35 return nil } - var payload42 Payload42 = Payload42{} - if err := utils.UnmarshalJSON(data, &payload42, "", true, nil); err == nil { - u.Payload42 = &payload42 - u.Type = PayloadUnionTypePayload42 + var payload39 Payload39 = Payload39{} + if err := utils.UnmarshalJSON(data, &payload39, "", true, nil); err == nil { + u.Payload39 = &payload39 + u.Type = PayloadUnionTypePayload39 return nil } - var payload46 Payload46 = Payload46{} - if err := utils.UnmarshalJSON(data, &payload46, "", true, nil); err == nil { - u.Payload46 = &payload46 - u.Type = PayloadUnionTypePayload46 + var payload40 Payload40 = Payload40{} + if err := utils.UnmarshalJSON(data, &payload40, "", true, nil); err == nil { + u.Payload40 = &payload40 + u.Type = PayloadUnionTypePayload40 return nil } - var payload51 Payload51 = Payload51{} - if err := utils.UnmarshalJSON(data, &payload51, "", true, nil); err == nil { - u.Payload51 = &payload51 - u.Type = PayloadUnionTypePayload51 + var payload44 Payload44 = Payload44{} + if err := utils.UnmarshalJSON(data, &payload44, "", true, nil); err == nil { + u.Payload44 = &payload44 + u.Type = PayloadUnionTypePayload44 return nil } - var payload52 Payload52 = Payload52{} - if err := utils.UnmarshalJSON(data, &payload52, "", true, nil); err == nil { - u.Payload52 = &payload52 - u.Type = PayloadUnionTypePayload52 + var payload48 Payload48 = Payload48{} + if err := utils.UnmarshalJSON(data, &payload48, "", true, nil); err == nil { + u.Payload48 = &payload48 + u.Type = PayloadUnionTypePayload48 return nil } - var payload71 Payload71 = Payload71{} - if err := utils.UnmarshalJSON(data, &payload71, "", true, nil); err == nil { - u.Payload71 = &payload71 - u.Type = PayloadUnionTypePayload71 + var payload53 Payload53 = Payload53{} + if err := utils.UnmarshalJSON(data, &payload53, "", true, nil); err == nil { + u.Payload53 = &payload53 + u.Type = PayloadUnionTypePayload53 return nil } - var payload72 Payload72 = Payload72{} - if err := utils.UnmarshalJSON(data, &payload72, "", true, nil); err == nil { - u.Payload72 = &payload72 - u.Type = PayloadUnionTypePayload72 + var payload54 Payload54 = Payload54{} + if err := utils.UnmarshalJSON(data, &payload54, "", true, nil); err == nil { + u.Payload54 = &payload54 + u.Type = PayloadUnionTypePayload54 return nil } @@ -23185,6 +24904,13 @@ func (u *PayloadUnion) UnmarshalJSON(data []byte) error { return nil } + var payload74 Payload74 = Payload74{} + if err := utils.UnmarshalJSON(data, &payload74, "", true, nil); err == nil { + u.Payload74 = &payload74 + u.Type = PayloadUnionTypePayload74 + return nil + } + var payload75 Payload75 = Payload75{} if err := utils.UnmarshalJSON(data, &payload75, "", true, nil); err == nil { u.Payload75 = &payload75 @@ -23192,73 +24918,73 @@ func (u *PayloadUnion) UnmarshalJSON(data []byte) error { return nil } - var payload76 Payload76 = Payload76{} - if err := utils.UnmarshalJSON(data, &payload76, "", true, nil); err == nil { - u.Payload76 = &payload76 - u.Type = PayloadUnionTypePayload76 + var payload77 Payload77 = Payload77{} + if err := utils.UnmarshalJSON(data, &payload77, "", true, nil); err == nil { + u.Payload77 = &payload77 + u.Type = PayloadUnionTypePayload77 return nil } - var payload79 Payload79 = Payload79{} - if err := utils.UnmarshalJSON(data, &payload79, "", true, nil); err == nil { - u.Payload79 = &payload79 - u.Type = PayloadUnionTypePayload79 + var payload78 Payload78 = Payload78{} + if err := utils.UnmarshalJSON(data, &payload78, "", true, nil); err == nil { + u.Payload78 = &payload78 + u.Type = PayloadUnionTypePayload78 return nil } - var payload80 Payload80 = Payload80{} - if err := utils.UnmarshalJSON(data, &payload80, "", true, nil); err == nil { - u.Payload80 = &payload80 - u.Type = PayloadUnionTypePayload80 + var payload81 Payload81 = Payload81{} + if err := utils.UnmarshalJSON(data, &payload81, "", true, nil); err == nil { + u.Payload81 = &payload81 + u.Type = PayloadUnionTypePayload81 return nil } - var payload83 Payload83 = Payload83{} - if err := utils.UnmarshalJSON(data, &payload83, "", true, nil); err == nil { - u.Payload83 = &payload83 - u.Type = PayloadUnionTypePayload83 + var payload82 Payload82 = Payload82{} + if err := utils.UnmarshalJSON(data, &payload82, "", true, nil); err == nil { + u.Payload82 = &payload82 + u.Type = PayloadUnionTypePayload82 return nil } - var payload84 Payload84 = Payload84{} - if err := utils.UnmarshalJSON(data, &payload84, "", true, nil); err == nil { - u.Payload84 = &payload84 - u.Type = PayloadUnionTypePayload84 + var payload85 Payload85 = Payload85{} + if err := utils.UnmarshalJSON(data, &payload85, "", true, nil); err == nil { + u.Payload85 = &payload85 + u.Type = PayloadUnionTypePayload85 return nil } - var payload88 Payload88 = Payload88{} - if err := utils.UnmarshalJSON(data, &payload88, "", true, nil); err == nil { - u.Payload88 = &payload88 - u.Type = PayloadUnionTypePayload88 + var payload86 Payload86 = Payload86{} + if err := utils.UnmarshalJSON(data, &payload86, "", true, nil); err == nil { + u.Payload86 = &payload86 + u.Type = PayloadUnionTypePayload86 return nil } - var payload89 Payload89 = Payload89{} - if err := utils.UnmarshalJSON(data, &payload89, "", true, nil); err == nil { - u.Payload89 = &payload89 - u.Type = PayloadUnionTypePayload89 + var payload90 Payload90 = Payload90{} + if err := utils.UnmarshalJSON(data, &payload90, "", true, nil); err == nil { + u.Payload90 = &payload90 + u.Type = PayloadUnionTypePayload90 return nil } - var payload97 Payload97 = Payload97{} - if err := utils.UnmarshalJSON(data, &payload97, "", true, nil); err == nil { - u.Payload97 = &payload97 - u.Type = PayloadUnionTypePayload97 + var payload91 Payload91 = Payload91{} + if err := utils.UnmarshalJSON(data, &payload91, "", true, nil); err == nil { + u.Payload91 = &payload91 + u.Type = PayloadUnionTypePayload91 return nil } - var payload98 Payload98 = Payload98{} - if err := utils.UnmarshalJSON(data, &payload98, "", true, nil); err == nil { - u.Payload98 = &payload98 - u.Type = PayloadUnionTypePayload98 + var payload99 Payload99 = Payload99{} + if err := utils.UnmarshalJSON(data, &payload99, "", true, nil); err == nil { + u.Payload99 = &payload99 + u.Type = PayloadUnionTypePayload99 return nil } - var payload102 Payload102 = Payload102{} - if err := utils.UnmarshalJSON(data, &payload102, "", true, nil); err == nil { - u.Payload102 = &payload102 - u.Type = PayloadUnionTypePayload102 + var payload100 Payload100 = Payload100{} + if err := utils.UnmarshalJSON(data, &payload100, "", true, nil); err == nil { + u.Payload100 = &payload100 + u.Type = PayloadUnionTypePayload100 return nil } @@ -23269,13 +24995,6 @@ func (u *PayloadUnion) UnmarshalJSON(data []byte) error { return nil } - var payload105 Payload105 = Payload105{} - if err := utils.UnmarshalJSON(data, &payload105, "", true, nil); err == nil { - u.Payload105 = &payload105 - u.Type = PayloadUnionTypePayload105 - return nil - } - var payload106 Payload106 = Payload106{} if err := utils.UnmarshalJSON(data, &payload106, "", true, nil); err == nil { u.Payload106 = &payload106 @@ -23283,17 +25002,17 @@ func (u *PayloadUnion) UnmarshalJSON(data []byte) error { return nil } - var payload109 Payload109 = Payload109{} - if err := utils.UnmarshalJSON(data, &payload109, "", true, nil); err == nil { - u.Payload109 = &payload109 - u.Type = PayloadUnionTypePayload109 + var payload107 Payload107 = Payload107{} + if err := utils.UnmarshalJSON(data, &payload107, "", true, nil); err == nil { + u.Payload107 = &payload107 + u.Type = PayloadUnionTypePayload107 return nil } - var payload110 Payload110 = Payload110{} - if err := utils.UnmarshalJSON(data, &payload110, "", true, nil); err == nil { - u.Payload110 = &payload110 - u.Type = PayloadUnionTypePayload110 + var payload108 Payload108 = Payload108{} + if err := utils.UnmarshalJSON(data, &payload108, "", true, nil); err == nil { + u.Payload108 = &payload108 + u.Type = PayloadUnionTypePayload108 return nil } @@ -23304,31 +25023,38 @@ func (u *PayloadUnion) UnmarshalJSON(data []byte) error { return nil } - var payload115 Payload115 = Payload115{} - if err := utils.UnmarshalJSON(data, &payload115, "", true, nil); err == nil { - u.Payload115 = &payload115 - u.Type = PayloadUnionTypePayload115 + var payload112 Payload112 = Payload112{} + if err := utils.UnmarshalJSON(data, &payload112, "", true, nil); err == nil { + u.Payload112 = &payload112 + u.Type = PayloadUnionTypePayload112 return nil } - var payload116 Payload116 = Payload116{} - if err := utils.UnmarshalJSON(data, &payload116, "", true, nil); err == nil { - u.Payload116 = &payload116 - u.Type = PayloadUnionTypePayload116 + var payload113 Payload113 = Payload113{} + if err := utils.UnmarshalJSON(data, &payload113, "", true, nil); err == nil { + u.Payload113 = &payload113 + u.Type = PayloadUnionTypePayload113 return nil } - var payload119 Payload119 = Payload119{} - if err := utils.UnmarshalJSON(data, &payload119, "", true, nil); err == nil { - u.Payload119 = &payload119 - u.Type = PayloadUnionTypePayload119 + var payload117 Payload117 = Payload117{} + if err := utils.UnmarshalJSON(data, &payload117, "", true, nil); err == nil { + u.Payload117 = &payload117 + u.Type = PayloadUnionTypePayload117 return nil } - var payload125 Payload125 = Payload125{} - if err := utils.UnmarshalJSON(data, &payload125, "", true, nil); err == nil { - u.Payload125 = &payload125 - u.Type = PayloadUnionTypePayload125 + var payload118 Payload118 = Payload118{} + if err := utils.UnmarshalJSON(data, &payload118, "", true, nil); err == nil { + u.Payload118 = &payload118 + u.Type = PayloadUnionTypePayload118 + return nil + } + + var payload121 Payload121 = Payload121{} + if err := utils.UnmarshalJSON(data, &payload121, "", true, nil); err == nil { + u.Payload121 = &payload121 + u.Type = PayloadUnionTypePayload121 return nil } @@ -23339,17 +25065,10 @@ func (u *PayloadUnion) UnmarshalJSON(data []byte) error { return nil } - var payload131 Payload131 = Payload131{} - if err := utils.UnmarshalJSON(data, &payload131, "", true, nil); err == nil { - u.Payload131 = &payload131 - u.Type = PayloadUnionTypePayload131 - return nil - } - - var payload132 Payload132 = Payload132{} - if err := utils.UnmarshalJSON(data, &payload132, "", true, nil); err == nil { - u.Payload132 = &payload132 - u.Type = PayloadUnionTypePayload132 + var payload129 Payload129 = Payload129{} + if err := utils.UnmarshalJSON(data, &payload129, "", true, nil); err == nil { + u.Payload129 = &payload129 + u.Type = PayloadUnionTypePayload129 return nil } @@ -23360,31 +25079,38 @@ func (u *PayloadUnion) UnmarshalJSON(data []byte) error { return nil } - var payload141 Payload141 = Payload141{} - if err := utils.UnmarshalJSON(data, &payload141, "", true, nil); err == nil { - u.Payload141 = &payload141 - u.Type = PayloadUnionTypePayload141 + var payload134 Payload134 = Payload134{} + if err := utils.UnmarshalJSON(data, &payload134, "", true, nil); err == nil { + u.Payload134 = &payload134 + u.Type = PayloadUnionTypePayload134 return nil } - var payload147 Payload147 = Payload147{} - if err := utils.UnmarshalJSON(data, &payload147, "", true, nil); err == nil { - u.Payload147 = &payload147 - u.Type = PayloadUnionTypePayload147 + var payload135 Payload135 = Payload135{} + if err := utils.UnmarshalJSON(data, &payload135, "", true, nil); err == nil { + u.Payload135 = &payload135 + u.Type = PayloadUnionTypePayload135 return nil } - var payload153 Payload153 = Payload153{} - if err := utils.UnmarshalJSON(data, &payload153, "", true, nil); err == nil { - u.Payload153 = &payload153 - u.Type = PayloadUnionTypePayload153 + var payload143 Payload143 = Payload143{} + if err := utils.UnmarshalJSON(data, &payload143, "", true, nil); err == nil { + u.Payload143 = &payload143 + u.Type = PayloadUnionTypePayload143 return nil } - var payload157 Payload157 = Payload157{} - if err := utils.UnmarshalJSON(data, &payload157, "", true, nil); err == nil { - u.Payload157 = &payload157 - u.Type = PayloadUnionTypePayload157 + var payload149 Payload149 = Payload149{} + if err := utils.UnmarshalJSON(data, &payload149, "", true, nil); err == nil { + u.Payload149 = &payload149 + u.Type = PayloadUnionTypePayload149 + return nil + } + + var payload155 Payload155 = Payload155{} + if err := utils.UnmarshalJSON(data, &payload155, "", true, nil); err == nil { + u.Payload155 = &payload155 + u.Type = PayloadUnionTypePayload155 return nil } @@ -23402,6 +25128,27 @@ func (u *PayloadUnion) UnmarshalJSON(data []byte) error { return nil } + var payload161 Payload161 = Payload161{} + if err := utils.UnmarshalJSON(data, &payload161, "", true, nil); err == nil { + u.Payload161 = &payload161 + u.Type = PayloadUnionTypePayload161 + return nil + } + + var payload162 Payload162 = Payload162{} + if err := utils.UnmarshalJSON(data, &payload162, "", true, nil); err == nil { + u.Payload162 = &payload162 + u.Type = PayloadUnionTypePayload162 + return nil + } + + var payload163 Payload163 = Payload163{} + if err := utils.UnmarshalJSON(data, &payload163, "", true, nil); err == nil { + u.Payload163 = &payload163 + u.Type = PayloadUnionTypePayload163 + return nil + } + var payload1 Payload1 = Payload1{} if err := utils.UnmarshalJSON(data, &payload1, "", true, nil); err == nil { u.Payload1 = &payload1 @@ -23479,17 +25226,17 @@ func (u *PayloadUnion) UnmarshalJSON(data []byte) error { return nil } - var payload55 Payload55 = Payload55{} - if err := utils.UnmarshalJSON(data, &payload55, "", true, nil); err == nil { - u.Payload55 = &payload55 - u.Type = PayloadUnionTypePayload55 + var payload26 Payload26 = Payload26{} + if err := utils.UnmarshalJSON(data, &payload26, "", true, nil); err == nil { + u.Payload26 = &payload26 + u.Type = PayloadUnionTypePayload26 return nil } - var payload56 Payload56 = Payload56{} - if err := utils.UnmarshalJSON(data, &payload56, "", true, nil); err == nil { - u.Payload56 = &payload56 - u.Type = PayloadUnionTypePayload56 + var payload27 Payload27 = Payload27{} + if err := utils.UnmarshalJSON(data, &payload27, "", true, nil); err == nil { + u.Payload27 = &payload27 + u.Type = PayloadUnionTypePayload27 return nil } @@ -23500,38 +25247,38 @@ func (u *PayloadUnion) UnmarshalJSON(data []byte) error { return nil } - var payload107 Payload107 = Payload107{} - if err := utils.UnmarshalJSON(data, &payload107, "", true, nil); err == nil { - u.Payload107 = &payload107 - u.Type = PayloadUnionTypePayload107 + var payload58 Payload58 = Payload58{} + if err := utils.UnmarshalJSON(data, &payload58, "", true, nil); err == nil { + u.Payload58 = &payload58 + u.Type = PayloadUnionTypePayload58 return nil } - var payload113 Payload113 = Payload113{} - if err := utils.UnmarshalJSON(data, &payload113, "", true, nil); err == nil { - u.Payload113 = &payload113 - u.Type = PayloadUnionTypePayload113 + var payload59 Payload59 = Payload59{} + if err := utils.UnmarshalJSON(data, &payload59, "", true, nil); err == nil { + u.Payload59 = &payload59 + u.Type = PayloadUnionTypePayload59 return nil } - var payload114 Payload114 = Payload114{} - if err := utils.UnmarshalJSON(data, &payload114, "", true, nil); err == nil { - u.Payload114 = &payload114 - u.Type = PayloadUnionTypePayload114 + var payload109 Payload109 = Payload109{} + if err := utils.UnmarshalJSON(data, &payload109, "", true, nil); err == nil { + u.Payload109 = &payload109 + u.Type = PayloadUnionTypePayload109 return nil } - var payload120 Payload120 = Payload120{} - if err := utils.UnmarshalJSON(data, &payload120, "", true, nil); err == nil { - u.Payload120 = &payload120 - u.Type = PayloadUnionTypePayload120 + var payload115 Payload115 = Payload115{} + if err := utils.UnmarshalJSON(data, &payload115, "", true, nil); err == nil { + u.Payload115 = &payload115 + u.Type = PayloadUnionTypePayload115 return nil } - var payload121 Payload121 = Payload121{} - if err := utils.UnmarshalJSON(data, &payload121, "", true, nil); err == nil { - u.Payload121 = &payload121 - u.Type = PayloadUnionTypePayload121 + var payload116 Payload116 = Payload116{} + if err := utils.UnmarshalJSON(data, &payload116, "", true, nil); err == nil { + u.Payload116 = &payload116 + u.Type = PayloadUnionTypePayload116 return nil } @@ -23542,17 +25289,17 @@ func (u *PayloadUnion) UnmarshalJSON(data []byte) error { return nil } - var payload128 Payload128 = Payload128{} - if err := utils.UnmarshalJSON(data, &payload128, "", true, nil); err == nil { - u.Payload128 = &payload128 - u.Type = PayloadUnionTypePayload128 + var payload123 Payload123 = Payload123{} + if err := utils.UnmarshalJSON(data, &payload123, "", true, nil); err == nil { + u.Payload123 = &payload123 + u.Type = PayloadUnionTypePayload123 return nil } - var payload129 Payload129 = Payload129{} - if err := utils.UnmarshalJSON(data, &payload129, "", true, nil); err == nil { - u.Payload129 = &payload129 - u.Type = PayloadUnionTypePayload129 + var payload124 Payload124 = Payload124{} + if err := utils.UnmarshalJSON(data, &payload124, "", true, nil); err == nil { + u.Payload124 = &payload124 + u.Type = PayloadUnionTypePayload124 return nil } @@ -23563,6 +25310,20 @@ func (u *PayloadUnion) UnmarshalJSON(data []byte) error { return nil } + var payload131 Payload131 = Payload131{} + if err := utils.UnmarshalJSON(data, &payload131, "", true, nil); err == nil { + u.Payload131 = &payload131 + u.Type = PayloadUnionTypePayload131 + return nil + } + + var payload132 Payload132 = Payload132{} + if err := utils.UnmarshalJSON(data, &payload132, "", true, nil); err == nil { + u.Payload132 = &payload132 + u.Type = PayloadUnionTypePayload132 + return nil + } + return fmt.Errorf("could not unmarshal `%s` into any supported union types for PayloadUnion", string(data)) } @@ -24223,6 +25984,18 @@ func (u PayloadUnion) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(u.Payload164, "", true) } + if u.Payload165 != nil { + return utils.MarshalJSON(u.Payload165, "", true) + } + + if u.Payload166 != nil { + return utils.MarshalJSON(u.Payload166, "", true) + } + + if u.Payload167 != nil { + return utils.MarshalJSON(u.Payload167, "", true) + } + return nil, errors.New("could not marshal union type PayloadUnion: all fields are null") } diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/acceptprojecttransferrequest.go b/src/__tests__/mockserver/internal/sdk/models/operations/acceptprojecttransferrequest.go index 9828948dc..5bac6098b 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/acceptprojecttransferrequest.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/acceptprojecttransferrequest.go @@ -110,8 +110,8 @@ type AcceptProjectTransferRequestRequest struct { // The Team identifier to perform the request on behalf of. TeamID *string `queryParam:"style=form,explode=true,name=teamId"` // The Team slug to perform the request on behalf of. - Slug *string `queryParam:"style=form,explode=true,name=slug"` - RequestBody *AcceptProjectTransferRequestRequestBody `request:"mediaType=application/json"` + Slug *string `queryParam:"style=form,explode=true,name=slug"` + Body *AcceptProjectTransferRequestRequestBody `request:"mediaType=application/json"` } func (o *AcceptProjectTransferRequestRequest) GetCode() string { @@ -135,11 +135,11 @@ func (o *AcceptProjectTransferRequestRequest) GetSlug() *string { return o.Slug } -func (o *AcceptProjectTransferRequestRequest) GetRequestBody() *AcceptProjectTransferRequestRequestBody { +func (o *AcceptProjectTransferRequestRequest) GetBody() *AcceptProjectTransferRequestRequestBody { if o == nil { return nil } - return o.RequestBody + return o.Body } type AcceptProjectTransferRequestResponseBody2 struct { @@ -289,6 +289,7 @@ func (r *ResourceTransferError) UnmarshalJSON(data []byte) error { type AcceptProjectTransferRequestResponseBody1 struct { PartnerCalls []PartnerCall `json:"partnerCalls"` ResourceTransferErrors []ResourceTransferError `json:"resourceTransferErrors"` + TransferredStoreIds []string `json:"transferredStoreIds"` } func (a AcceptProjectTransferRequestResponseBody1) MarshalJSON() ([]byte, error) { @@ -296,7 +297,7 @@ func (a AcceptProjectTransferRequestResponseBody1) MarshalJSON() ([]byte, error) } func (a *AcceptProjectTransferRequestResponseBody1) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &a, "", false, []string{"partnerCalls", "resourceTransferErrors"}); err != nil { + if err := utils.UnmarshalJSON(data, &a, "", false, []string{"partnerCalls", "resourceTransferErrors", "transferredStoreIds"}); err != nil { return err } return nil @@ -316,6 +317,13 @@ func (o *AcceptProjectTransferRequestResponseBody1) GetResourceTransferErrors() return o.ResourceTransferErrors } +func (o *AcceptProjectTransferRequestResponseBody1) GetTransferredStoreIds() []string { + if o == nil { + return []string{} + } + return o.TransferredStoreIds +} + type AcceptProjectTransferRequestResponseBodyType string const ( diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/addbypassip.go b/src/__tests__/mockserver/internal/sdk/models/operations/addbypassip.go index 129738e97..5e53483fa 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/addbypassip.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/addbypassip.go @@ -206,8 +206,8 @@ type AddBypassIPRequest struct { // The Team identifier to perform the request on behalf of. TeamID *string `queryParam:"style=form,explode=true,name=teamId"` // The Team slug to perform the request on behalf of. - Slug *string `queryParam:"style=form,explode=true,name=slug"` - RequestBody *AddBypassIPRequestBody `request:"mediaType=application/json"` + Slug *string `queryParam:"style=form,explode=true,name=slug"` + Body *AddBypassIPRequestBody `request:"mediaType=application/json"` } func (o *AddBypassIPRequest) GetProjectID() string { @@ -231,11 +231,11 @@ func (o *AddBypassIPRequest) GetSlug() *string { return o.Slug } -func (o *AddBypassIPRequest) GetRequestBody() *AddBypassIPRequestBody { +func (o *AddBypassIPRequest) GetBody() *AddBypassIPRequestBody { if o == nil { return nil } - return o.RequestBody + return o.Body } type AddBypassIPAction string diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/addprojectdomain.go b/src/__tests__/mockserver/internal/sdk/models/operations/addprojectdomain.go index 68c2f003b..56adb5387 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/addprojectdomain.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/addprojectdomain.go @@ -95,8 +95,8 @@ type AddProjectDomainRequest struct { // The Team identifier to perform the request on behalf of. TeamID *string `queryParam:"style=form,explode=true,name=teamId"` // The Team slug to perform the request on behalf of. - Slug *string `queryParam:"style=form,explode=true,name=slug"` - RequestBody AddProjectDomainRequestBody `request:"mediaType=application/json"` + Slug *string `queryParam:"style=form,explode=true,name=slug"` + Body AddProjectDomainRequestBody `request:"mediaType=application/json"` } func (o *AddProjectDomainRequest) GetIDOrName() string { @@ -120,11 +120,11 @@ func (o *AddProjectDomainRequest) GetSlug() *string { return o.Slug } -func (o *AddProjectDomainRequest) GetRequestBody() AddProjectDomainRequestBody { +func (o *AddProjectDomainRequest) GetBody() AddProjectDomainRequestBody { if o == nil { return AddProjectDomainRequestBody{} } - return o.RequestBody + return o.Body } // AddProjectDomainVerification - 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`. diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/addprojectmember.go b/src/__tests__/mockserver/internal/sdk/models/operations/addprojectmember.go index 4ddd124d7..df1223f23 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/addprojectmember.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/addprojectmember.go @@ -341,8 +341,8 @@ type AddProjectMemberRequest struct { // The Team identifier to perform the request on behalf of. TeamID *string `queryParam:"style=form,explode=true,name=teamId"` // The Team slug to perform the request on behalf of. - Slug *string `queryParam:"style=form,explode=true,name=slug"` - RequestBody AddProjectMemberRequestBody `request:"mediaType=application/json"` + Slug *string `queryParam:"style=form,explode=true,name=slug"` + Body AddProjectMemberRequestBody `request:"mediaType=application/json"` } func (o *AddProjectMemberRequest) GetIDOrName() string { @@ -366,11 +366,11 @@ func (o *AddProjectMemberRequest) GetSlug() *string { return o.Slug } -func (o *AddProjectMemberRequest) GetRequestBody() AddProjectMemberRequestBody { +func (o *AddProjectMemberRequest) GetBody() AddProjectMemberRequestBody { if o == nil { return AddProjectMemberRequestBody{} } - return o.RequestBody + return o.Body } // AddProjectMemberResponseBody - Responds with the project ID on success. diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/approverollingreleasestage.go b/src/__tests__/mockserver/internal/sdk/models/operations/approverollingreleasestage.go index cf4be8454..69de3a119 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/approverollingreleasestage.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/approverollingreleasestage.go @@ -35,8 +35,8 @@ type ApproveRollingReleaseStageRequest struct { // The Team identifier to perform the request on behalf of. TeamID *string `queryParam:"style=form,explode=true,name=teamId"` // The Team slug to perform the request on behalf of. - Slug *string `queryParam:"style=form,explode=true,name=slug"` - RequestBody *ApproveRollingReleaseStageRequestBody `request:"mediaType=application/json"` + Slug *string `queryParam:"style=form,explode=true,name=slug"` + Body *ApproveRollingReleaseStageRequestBody `request:"mediaType=application/json"` } func (o *ApproveRollingReleaseStageRequest) GetIDOrName() string { @@ -60,11 +60,11 @@ func (o *ApproveRollingReleaseStageRequest) GetSlug() *string { return o.Slug } -func (o *ApproveRollingReleaseStageRequest) GetRequestBody() *ApproveRollingReleaseStageRequestBody { +func (o *ApproveRollingReleaseStageRequest) GetBody() *ApproveRollingReleaseStageRequestBody { if o == nil { return nil } - return o.RequestBody + return o.Body } // ApproveRollingReleaseStageState - The current state of the rolling release @@ -97,6 +97,7 @@ func (e *ApproveRollingReleaseStageState) UnmarshalJSON(data []byte) error { } } +// ApproveRollingReleaseStageCurrentDeploymentTarget - If defined, either `staging` if a staging alias in the format `..now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment. type ApproveRollingReleaseStageCurrentDeploymentTarget string const ( @@ -123,6 +124,7 @@ func (e *ApproveRollingReleaseStageCurrentDeploymentTarget) UnmarshalJSON(data [ } } +// ApproveRollingReleaseStageCurrentDeploymentSource - Where was the deployment created from type ApproveRollingReleaseStageCurrentDeploymentSource string const ( @@ -167,6 +169,7 @@ func (e *ApproveRollingReleaseStageCurrentDeploymentSource) UnmarshalJSON(data [ } } +// ApproveRollingReleaseStageCurrentDeploymentReadyState - The state of the deployment depending on the process of deploying, or if it is ready or in an error state type ApproveRollingReleaseStageCurrentDeploymentReadyState string const ( @@ -207,12 +210,19 @@ func (e *ApproveRollingReleaseStageCurrentDeploymentReadyState) UnmarshalJSON(da // ApproveRollingReleaseStageCurrentDeployment - The current deployment receiving production traffic type ApproveRollingReleaseStageCurrentDeployment struct { - ID string `json:"id"` - Name string `json:"name"` - URL string `json:"url"` - Target *ApproveRollingReleaseStageCurrentDeploymentTarget `json:"target,omitempty"` - Source *ApproveRollingReleaseStageCurrentDeploymentSource `json:"source,omitempty"` - CreatedAt float64 `json:"createdAt"` + // A string holding the unique ID of the deployment + ID string `json:"id"` + // The name of the project associated with the deployment at the time that the deployment was created + Name string `json:"name"` + // A string with the unique URL of the deployment + URL string `json:"url"` + // If defined, either `staging` if a staging alias in the format `..now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment. + Target *ApproveRollingReleaseStageCurrentDeploymentTarget `json:"target,omitempty"` + // Where was the deployment created from + Source *ApproveRollingReleaseStageCurrentDeploymentSource `json:"source,omitempty"` + // A number containing the date when the deployment was created in milliseconds + CreatedAt float64 `json:"createdAt"` + // The state of the deployment depending on the process of deploying, or if it is ready or in an error state ReadyState ApproveRollingReleaseStageCurrentDeploymentReadyState `json:"readyState"` ReadyStateAt *float64 `json:"readyStateAt,omitempty"` } @@ -273,6 +283,7 @@ func (o *ApproveRollingReleaseStageCurrentDeployment) GetReadyStateAt() *float64 return o.ReadyStateAt } +// ApproveRollingReleaseStageCanaryDeploymentTarget - If defined, either `staging` if a staging alias in the format `..now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment. type ApproveRollingReleaseStageCanaryDeploymentTarget string const ( @@ -299,6 +310,7 @@ func (e *ApproveRollingReleaseStageCanaryDeploymentTarget) UnmarshalJSON(data [] } } +// ApproveRollingReleaseStageCanaryDeploymentSource - Where was the deployment created from type ApproveRollingReleaseStageCanaryDeploymentSource string const ( @@ -343,6 +355,7 @@ func (e *ApproveRollingReleaseStageCanaryDeploymentSource) UnmarshalJSON(data [] } } +// ApproveRollingReleaseStageCanaryDeploymentReadyState - The state of the deployment depending on the process of deploying, or if it is ready or in an error state type ApproveRollingReleaseStageCanaryDeploymentReadyState string const ( @@ -383,12 +396,19 @@ func (e *ApproveRollingReleaseStageCanaryDeploymentReadyState) UnmarshalJSON(dat // ApproveRollingReleaseStageCanaryDeployment - The canary deployment being rolled out type ApproveRollingReleaseStageCanaryDeployment struct { - ID string `json:"id"` - Name string `json:"name"` - URL string `json:"url"` - Target *ApproveRollingReleaseStageCanaryDeploymentTarget `json:"target,omitempty"` - Source *ApproveRollingReleaseStageCanaryDeploymentSource `json:"source,omitempty"` - CreatedAt float64 `json:"createdAt"` + // A string holding the unique ID of the deployment + ID string `json:"id"` + // The name of the project associated with the deployment at the time that the deployment was created + Name string `json:"name"` + // A string with the unique URL of the deployment + URL string `json:"url"` + // If defined, either `staging` if a staging alias in the format `..now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment. + Target *ApproveRollingReleaseStageCanaryDeploymentTarget `json:"target,omitempty"` + // Where was the deployment created from + Source *ApproveRollingReleaseStageCanaryDeploymentSource `json:"source,omitempty"` + // A number containing the date when the deployment was created in milliseconds + CreatedAt float64 `json:"createdAt"` + // The state of the deployment depending on the process of deploying, or if it is ready or in an error state ReadyState ApproveRollingReleaseStageCanaryDeploymentReadyState `json:"readyState"` ReadyStateAt *float64 `json:"readyStateAt,omitempty"` } diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/artifactquery.go b/src/__tests__/mockserver/internal/sdk/models/operations/artifactquery.go index 0c8d22cd3..682e6aba1 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/artifactquery.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/artifactquery.go @@ -25,8 +25,8 @@ type ArtifactQueryRequest struct { // The Team identifier to perform the request on behalf of. TeamID *string `queryParam:"style=form,explode=true,name=teamId"` // The Team slug to perform the request on behalf of. - Slug *string `queryParam:"style=form,explode=true,name=slug"` - RequestBody ArtifactQueryRequestBody `request:"mediaType=application/json"` + Slug *string `queryParam:"style=form,explode=true,name=slug"` + Body ArtifactQueryRequestBody `request:"mediaType=application/json"` } func (o *ArtifactQueryRequest) GetTeamID() *string { @@ -43,11 +43,11 @@ func (o *ArtifactQueryRequest) GetSlug() *string { return o.Slug } -func (o *ArtifactQueryRequest) GetRequestBody() ArtifactQueryRequestBody { +func (o *ArtifactQueryRequest) GetBody() ArtifactQueryRequestBody { if o == nil { return ArtifactQueryRequestBody{} } - return o.RequestBody + return o.Body } type ArtifactQueryError struct { diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/assignalias.go b/src/__tests__/mockserver/internal/sdk/models/operations/assignalias.go index cd8d26aab..ed1d41cf0 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/assignalias.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/assignalias.go @@ -35,8 +35,8 @@ type AssignAliasRequest struct { // The Team identifier to perform the request on behalf of. TeamID *string `queryParam:"style=form,explode=true,name=teamId"` // The Team slug to perform the request on behalf of. - Slug *string `queryParam:"style=form,explode=true,name=slug"` - RequestBody AssignAliasRequestBody `request:"mediaType=application/json"` + Slug *string `queryParam:"style=form,explode=true,name=slug"` + Body AssignAliasRequestBody `request:"mediaType=application/json"` } func (o *AssignAliasRequest) GetID() string { @@ -60,11 +60,11 @@ func (o *AssignAliasRequest) GetSlug() *string { return o.Slug } -func (o *AssignAliasRequest) GetRequestBody() AssignAliasRequestBody { +func (o *AssignAliasRequest) GetBody() AssignAliasRequestBody { if o == nil { return AssignAliasRequestBody{} } - return o.RequestBody + return o.Body } // AssignAliasResponseBody - The alias was successfully assigned to the deployment diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/batchremoveprojectenv.go b/src/__tests__/mockserver/internal/sdk/models/operations/batchremoveprojectenv.go index b358f38a6..edfb0c15a 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/batchremoveprojectenv.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/batchremoveprojectenv.go @@ -24,8 +24,8 @@ type BatchRemoveProjectEnvRequest struct { // The Team identifier to perform the request on behalf of. TeamID *string `queryParam:"style=form,explode=true,name=teamId"` // The Team slug to perform the request on behalf of. - Slug *string `queryParam:"style=form,explode=true,name=slug"` - RequestBody *BatchRemoveProjectEnvRequestBody `request:"mediaType=application/json"` + Slug *string `queryParam:"style=form,explode=true,name=slug"` + Body *BatchRemoveProjectEnvRequestBody `request:"mediaType=application/json"` } func (o *BatchRemoveProjectEnvRequest) GetIDOrName() string { @@ -49,11 +49,11 @@ func (o *BatchRemoveProjectEnvRequest) GetSlug() *string { return o.Slug } -func (o *BatchRemoveProjectEnvRequest) GetRequestBody() *BatchRemoveProjectEnvRequestBody { +func (o *BatchRemoveProjectEnvRequest) GetBody() *BatchRemoveProjectEnvRequestBody { if o == nil { return nil } - return o.RequestBody + return o.Body } type BatchRemoveProjectEnvResponseBody struct { diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/buydomain.go b/src/__tests__/mockserver/internal/sdk/models/operations/buydomain.go index 0d94e48cb..8b8a14aba 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/buydomain.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/buydomain.go @@ -130,8 +130,8 @@ type BuyDomainRequest struct { // The Team identifier to perform the request on behalf of. TeamID *string `queryParam:"style=form,explode=true,name=teamId"` // The Team slug to perform the request on behalf of. - Slug *string `queryParam:"style=form,explode=true,name=slug"` - RequestBody BuyDomainRequestBody `request:"mediaType=application/json"` + Slug *string `queryParam:"style=form,explode=true,name=slug"` + Body BuyDomainRequestBody `request:"mediaType=application/json"` } func (o *BuyDomainRequest) GetTeamID() *string { @@ -148,11 +148,11 @@ func (o *BuyDomainRequest) GetSlug() *string { return o.Slug } -func (o *BuyDomainRequest) GetRequestBody() BuyDomainRequestBody { +func (o *BuyDomainRequest) GetBody() BuyDomainRequestBody { if o == nil { return BuyDomainRequestBody{} } - return o.RequestBody + return o.Body } type BuyDomainDomain2 struct { diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/buydomains.go b/src/__tests__/mockserver/internal/sdk/models/operations/buydomains.go new file mode 100644 index 000000000..79ceb3d77 --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/operations/buydomains.go @@ -0,0 +1,303 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package operations + +import ( + "encoding/json" + "fmt" + "mockserver/internal/sdk/models/components" +) + +type BuyDomainsDomain struct { + DomainName string `json:"domainName"` + // Whether the domain should be auto-renewed before it expires. This can be configured later through the Vercel Dashboard or the [Update auto-renew for a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/update-auto-renew-for-a-domain) endpoint. + AutoRenew bool `json:"autoRenew"` + // The number of years to purchase the domain for. + Years float64 `json:"years"` + // The expected price for the domain. Use the [Get price data for a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/get-price-data-for-a-domain) endpoint to retrieve the price data for a domain. + ExpectedPrice float64 `json:"expectedPrice"` +} + +func (o *BuyDomainsDomain) GetDomainName() string { + if o == nil { + return "" + } + return o.DomainName +} + +func (o *BuyDomainsDomain) GetAutoRenew() bool { + if o == nil { + return false + } + return o.AutoRenew +} + +func (o *BuyDomainsDomain) GetYears() float64 { + if o == nil { + return 0.0 + } + return o.Years +} + +func (o *BuyDomainsDomain) GetExpectedPrice() float64 { + if o == nil { + return 0.0 + } + return o.ExpectedPrice +} + +type BuyDomainsAdditional struct { +} + +// BuyDomainsContactInformation - The contact information for the domain. Some TLDs require additional contact information. Use the [Get contact info schema](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/get-contact-info-schema) endpoint to retrieve the required fields. +type BuyDomainsContactInformation struct { + // a non empty string + FirstName string `json:"firstName"` + // a non empty string + LastName string `json:"lastName"` + // a non empty string + Email string `json:"email"` + // A valid E.164 phone number + Phone string `json:"phone"` + // a non empty string + Address1 string `json:"address1"` + // a non empty string + Address2 *string `json:"address2,omitempty"` + // a non empty string + City string `json:"city"` + // a non empty string + State string `json:"state"` + // a non empty string + Zip string `json:"zip"` + // A valid ISO 3166-1 alpha-2 country code + Country string `json:"country"` + // a non empty string + CompanyName *string `json:"companyName,omitempty"` + // A valid E.164 phone number + Fax *string `json:"fax,omitempty"` + Additional *BuyDomainsAdditional `json:"additional,omitempty"` +} + +func (o *BuyDomainsContactInformation) GetFirstName() string { + if o == nil { + return "" + } + return o.FirstName +} + +func (o *BuyDomainsContactInformation) GetLastName() string { + if o == nil { + return "" + } + return o.LastName +} + +func (o *BuyDomainsContactInformation) GetEmail() string { + if o == nil { + return "" + } + return o.Email +} + +func (o *BuyDomainsContactInformation) GetPhone() string { + if o == nil { + return "" + } + return o.Phone +} + +func (o *BuyDomainsContactInformation) GetAddress1() string { + if o == nil { + return "" + } + return o.Address1 +} + +func (o *BuyDomainsContactInformation) GetAddress2() *string { + if o == nil { + return nil + } + return o.Address2 +} + +func (o *BuyDomainsContactInformation) GetCity() string { + if o == nil { + return "" + } + return o.City +} + +func (o *BuyDomainsContactInformation) GetState() string { + if o == nil { + return "" + } + return o.State +} + +func (o *BuyDomainsContactInformation) GetZip() string { + if o == nil { + return "" + } + return o.Zip +} + +func (o *BuyDomainsContactInformation) GetCountry() string { + if o == nil { + return "" + } + return o.Country +} + +func (o *BuyDomainsContactInformation) GetCompanyName() *string { + if o == nil { + return nil + } + return o.CompanyName +} + +func (o *BuyDomainsContactInformation) GetFax() *string { + if o == nil { + return nil + } + return o.Fax +} + +func (o *BuyDomainsContactInformation) GetAdditional() *BuyDomainsAdditional { + if o == nil { + return nil + } + return o.Additional +} + +type BuyDomainsRequestBody struct { + Domains []BuyDomainsDomain `json:"domains"` + // The contact information for the domain. Some TLDs require additional contact information. Use the [Get contact info schema](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/get-contact-info-schema) endpoint to retrieve the required fields. + ContactInformation BuyDomainsContactInformation `json:"contactInformation"` +} + +func (o *BuyDomainsRequestBody) GetDomains() []BuyDomainsDomain { + if o == nil { + return []BuyDomainsDomain{} + } + return o.Domains +} + +func (o *BuyDomainsRequestBody) GetContactInformation() BuyDomainsContactInformation { + if o == nil { + return BuyDomainsContactInformation{} + } + return o.ContactInformation +} + +type BuyDomainsRequest struct { + TeamID *string `queryParam:"style=form,explode=true,name=teamId"` + Body BuyDomainsRequestBody `request:"mediaType=application/json"` +} + +func (o *BuyDomainsRequest) GetTeamID() *string { + if o == nil { + return nil + } + return o.TeamID +} + +func (o *BuyDomainsRequest) GetBody() BuyDomainsRequestBody { + if o == nil { + return BuyDomainsRequestBody{} + } + return o.Body +} + +type BuyDomainsMethod string + +const ( + BuyDomainsMethodGet BuyDomainsMethod = "GET" + BuyDomainsMethodPost BuyDomainsMethod = "POST" + BuyDomainsMethodPut BuyDomainsMethod = "PUT" + BuyDomainsMethodDelete BuyDomainsMethod = "DELETE" + BuyDomainsMethodPatch BuyDomainsMethod = "PATCH" +) + +func (e BuyDomainsMethod) ToPointer() *BuyDomainsMethod { + return &e +} +func (e *BuyDomainsMethod) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "GET": + fallthrough + case "POST": + fallthrough + case "PUT": + fallthrough + case "DELETE": + fallthrough + case "PATCH": + *e = BuyDomainsMethod(v) + return nil + default: + return fmt.Errorf("invalid value for BuyDomainsMethod: %v", v) + } +} + +type BuyDomainsLinks struct { + Href string `json:"href"` + Method BuyDomainsMethod `json:"method"` +} + +func (o *BuyDomainsLinks) GetHref() string { + if o == nil { + return "" + } + return o.Href +} + +func (o *BuyDomainsLinks) GetMethod() BuyDomainsMethod { + if o == nil { + return BuyDomainsMethod("") + } + return o.Method +} + +// BuyDomainsResponseBody - Success +type BuyDomainsResponseBody struct { + OrderID string `json:"orderId"` + Links map[string]BuyDomainsLinks `json:"_links"` +} + +func (o *BuyDomainsResponseBody) GetOrderID() string { + if o == nil { + return "" + } + return o.OrderID +} + +func (o *BuyDomainsResponseBody) GetLinks() map[string]BuyDomainsLinks { + if o == nil { + return map[string]BuyDomainsLinks{} + } + return o.Links +} + +type BuyDomainsResponse struct { + HTTPMeta components.HTTPMetadata `json:"-"` + // Success + Object *BuyDomainsResponseBody +} + +func (o *BuyDomainsResponse) GetHTTPMeta() components.HTTPMetadata { + if o == nil { + return components.HTTPMetadata{} + } + return o.HTTPMeta +} + +func (o *BuyDomainsResponse) GetObject() *BuyDomainsResponseBody { + if o == nil { + return nil + } + return o.Object +} diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/buysingledomain.go b/src/__tests__/mockserver/internal/sdk/models/operations/buysingledomain.go new file mode 100644 index 000000000..cc17737e0 --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/operations/buysingledomain.go @@ -0,0 +1,292 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package operations + +import ( + "encoding/json" + "fmt" + "mockserver/internal/sdk/models/components" +) + +type BuySingleDomainAdditional struct { +} + +// BuySingleDomainContactInformation - The contact information for the domain. Some TLDs require additional contact information. Use the [Get contact info schema](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/get-contact-info-schema) endpoint to retrieve the required fields. +type BuySingleDomainContactInformation struct { + // a non empty string + FirstName string `json:"firstName"` + // a non empty string + LastName string `json:"lastName"` + // a non empty string + Email string `json:"email"` + // A valid E.164 phone number + Phone string `json:"phone"` + // a non empty string + Address1 string `json:"address1"` + // a non empty string + Address2 *string `json:"address2,omitempty"` + // a non empty string + City string `json:"city"` + // a non empty string + State string `json:"state"` + // a non empty string + Zip string `json:"zip"` + // A valid ISO 3166-1 alpha-2 country code + Country string `json:"country"` + // a non empty string + CompanyName *string `json:"companyName,omitempty"` + // A valid E.164 phone number + Fax *string `json:"fax,omitempty"` + Additional *BuySingleDomainAdditional `json:"additional,omitempty"` +} + +func (o *BuySingleDomainContactInformation) GetFirstName() string { + if o == nil { + return "" + } + return o.FirstName +} + +func (o *BuySingleDomainContactInformation) GetLastName() string { + if o == nil { + return "" + } + return o.LastName +} + +func (o *BuySingleDomainContactInformation) GetEmail() string { + if o == nil { + return "" + } + return o.Email +} + +func (o *BuySingleDomainContactInformation) GetPhone() string { + if o == nil { + return "" + } + return o.Phone +} + +func (o *BuySingleDomainContactInformation) GetAddress1() string { + if o == nil { + return "" + } + return o.Address1 +} + +func (o *BuySingleDomainContactInformation) GetAddress2() *string { + if o == nil { + return nil + } + return o.Address2 +} + +func (o *BuySingleDomainContactInformation) GetCity() string { + if o == nil { + return "" + } + return o.City +} + +func (o *BuySingleDomainContactInformation) GetState() string { + if o == nil { + return "" + } + return o.State +} + +func (o *BuySingleDomainContactInformation) GetZip() string { + if o == nil { + return "" + } + return o.Zip +} + +func (o *BuySingleDomainContactInformation) GetCountry() string { + if o == nil { + return "" + } + return o.Country +} + +func (o *BuySingleDomainContactInformation) GetCompanyName() *string { + if o == nil { + return nil + } + return o.CompanyName +} + +func (o *BuySingleDomainContactInformation) GetFax() *string { + if o == nil { + return nil + } + return o.Fax +} + +func (o *BuySingleDomainContactInformation) GetAdditional() *BuySingleDomainAdditional { + if o == nil { + return nil + } + return o.Additional +} + +type BuySingleDomainRequestBody struct { + // Whether the domain should be auto-renewed before it expires. This can be configured later through the Vercel Dashboard or the [Update auto-renew for a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/update-auto-renew-for-a-domain) endpoint. + AutoRenew bool `json:"autoRenew"` + // The number of years to purchase the domain for. + Years float64 `json:"years"` + // The expected price for the domain. Use the [Get price data for a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/get-price-data-for-a-domain) endpoint to retrieve the price data for a domain. + ExpectedPrice float64 `json:"expectedPrice"` + // The contact information for the domain. Some TLDs require additional contact information. Use the [Get contact info schema](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/get-contact-info-schema) endpoint to retrieve the required fields. + ContactInformation BuySingleDomainContactInformation `json:"contactInformation"` +} + +func (o *BuySingleDomainRequestBody) GetAutoRenew() bool { + if o == nil { + return false + } + return o.AutoRenew +} + +func (o *BuySingleDomainRequestBody) GetYears() float64 { + if o == nil { + return 0.0 + } + return o.Years +} + +func (o *BuySingleDomainRequestBody) GetExpectedPrice() float64 { + if o == nil { + return 0.0 + } + return o.ExpectedPrice +} + +func (o *BuySingleDomainRequestBody) GetContactInformation() BuySingleDomainContactInformation { + if o == nil { + return BuySingleDomainContactInformation{} + } + return o.ContactInformation +} + +type BuySingleDomainRequest struct { + Domain string `pathParam:"style=simple,explode=false,name=domain"` + TeamID *string `queryParam:"style=form,explode=true,name=teamId"` + Body BuySingleDomainRequestBody `request:"mediaType=application/json"` +} + +func (o *BuySingleDomainRequest) GetDomain() string { + if o == nil { + return "" + } + return o.Domain +} + +func (o *BuySingleDomainRequest) GetTeamID() *string { + if o == nil { + return nil + } + return o.TeamID +} + +func (o *BuySingleDomainRequest) GetBody() BuySingleDomainRequestBody { + if o == nil { + return BuySingleDomainRequestBody{} + } + return o.Body +} + +type BuySingleDomainMethod string + +const ( + BuySingleDomainMethodGet BuySingleDomainMethod = "GET" + BuySingleDomainMethodPost BuySingleDomainMethod = "POST" + BuySingleDomainMethodPut BuySingleDomainMethod = "PUT" + BuySingleDomainMethodDelete BuySingleDomainMethod = "DELETE" + BuySingleDomainMethodPatch BuySingleDomainMethod = "PATCH" +) + +func (e BuySingleDomainMethod) ToPointer() *BuySingleDomainMethod { + return &e +} +func (e *BuySingleDomainMethod) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "GET": + fallthrough + case "POST": + fallthrough + case "PUT": + fallthrough + case "DELETE": + fallthrough + case "PATCH": + *e = BuySingleDomainMethod(v) + return nil + default: + return fmt.Errorf("invalid value for BuySingleDomainMethod: %v", v) + } +} + +type BuySingleDomainLinks struct { + Href string `json:"href"` + Method BuySingleDomainMethod `json:"method"` +} + +func (o *BuySingleDomainLinks) GetHref() string { + if o == nil { + return "" + } + return o.Href +} + +func (o *BuySingleDomainLinks) GetMethod() BuySingleDomainMethod { + if o == nil { + return BuySingleDomainMethod("") + } + return o.Method +} + +// BuySingleDomainResponseBody - Success +type BuySingleDomainResponseBody struct { + OrderID string `json:"orderId"` + Links map[string]BuySingleDomainLinks `json:"_links"` +} + +func (o *BuySingleDomainResponseBody) GetOrderID() string { + if o == nil { + return "" + } + return o.OrderID +} + +func (o *BuySingleDomainResponseBody) GetLinks() map[string]BuySingleDomainLinks { + if o == nil { + return map[string]BuySingleDomainLinks{} + } + return o.Links +} + +type BuySingleDomainResponse struct { + HTTPMeta components.HTTPMetadata `json:"-"` + // Success + Object *BuySingleDomainResponseBody +} + +func (o *BuySingleDomainResponse) GetHTTPMeta() components.HTTPMetadata { + if o == nil { + return components.HTTPMetadata{} + } + return o.HTTPMeta +} + +func (o *BuySingleDomainResponse) GetObject() *BuySingleDomainResponseBody { + if o == nil { + return nil + } + return o.Object +} diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/canceldeployment.go b/src/__tests__/mockserver/internal/sdk/models/operations/canceldeployment.go index c6ebcb584..155fc32a9 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/canceldeployment.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/canceldeployment.go @@ -183,10 +183,12 @@ const ( CancelDeploymentFrameworkZola CancelDeploymentFramework = "zola" CancelDeploymentFrameworkHydrogen CancelDeploymentFramework = "hydrogen" CancelDeploymentFrameworkVite CancelDeploymentFramework = "vite" + CancelDeploymentFrameworkTanstackStart CancelDeploymentFramework = "tanstack-start" CancelDeploymentFrameworkVitepress CancelDeploymentFramework = "vitepress" CancelDeploymentFrameworkVuepress CancelDeploymentFramework = "vuepress" CancelDeploymentFrameworkParcel CancelDeploymentFramework = "parcel" CancelDeploymentFrameworkFastapi CancelDeploymentFramework = "fastapi" + CancelDeploymentFrameworkFlask CancelDeploymentFramework = "flask" CancelDeploymentFrameworkFasthtml CancelDeploymentFramework = "fasthtml" CancelDeploymentFrameworkSanityV3 CancelDeploymentFramework = "sanity-v3" CancelDeploymentFrameworkSanity CancelDeploymentFramework = "sanity" @@ -195,6 +197,9 @@ const ( CancelDeploymentFrameworkHono CancelDeploymentFramework = "hono" CancelDeploymentFrameworkExpress CancelDeploymentFramework = "express" CancelDeploymentFrameworkH3 CancelDeploymentFramework = "h3" + CancelDeploymentFrameworkNestjs CancelDeploymentFramework = "nestjs" + CancelDeploymentFrameworkElysia CancelDeploymentFramework = "elysia" + CancelDeploymentFrameworkFastify CancelDeploymentFramework = "fastify" CancelDeploymentFrameworkXmcp CancelDeploymentFramework = "xmcp" ) @@ -285,6 +290,8 @@ func (e *CancelDeploymentFramework) UnmarshalJSON(data []byte) error { fallthrough case "vite": fallthrough + case "tanstack-start": + fallthrough case "vitepress": fallthrough case "vuepress": @@ -293,6 +300,8 @@ func (e *CancelDeploymentFramework) UnmarshalJSON(data []byte) error { fallthrough case "fastapi": fallthrough + case "flask": + fallthrough case "fasthtml": fallthrough case "sanity-v3": @@ -309,6 +318,12 @@ func (e *CancelDeploymentFramework) UnmarshalJSON(data []byte) error { fallthrough case "h3": fallthrough + case "nestjs": + fallthrough + case "elysia": + fallthrough + case "fastify": + fallthrough case "xmcp": *e = CancelDeploymentFramework(v) return nil @@ -787,10 +802,14 @@ func (o *CancelDeploymentImages) GetContentDispositionType() *CancelDeploymentCo return o.ContentDispositionType } +// CancelDeploymentCreator - Information about the deployment creator type CancelDeploymentCreator struct { - UID string `json:"uid"` + // The ID of the user that created the deployment + UID string `json:"uid"` + // The username of the user that created the deployment Username *string `json:"username,omitempty"` - Avatar *string `json:"avatar,omitempty"` + // The avatar of the user that created the deployment + Avatar *string `json:"avatar,omitempty"` } func (o *CancelDeploymentCreator) GetUID() string { @@ -955,6 +974,7 @@ func (e *CancelDeploymentStatus) UnmarshalJSON(data []byte) error { } } +// CancelDeploymentTeam - The team that owns the deployment if any type CancelDeploymentTeam struct { ID string `json:"id"` Name string `json:"name"` @@ -990,6 +1010,7 @@ func (o *CancelDeploymentTeam) GetSlug() string { return o.Slug } +// CancelDeploymentCustomEnvironment2 - If the deployment was created using a Custom Environment, then this property contains information regarding the environment used. type CancelDeploymentCustomEnvironment2 struct { ID string `json:"id"` } @@ -1257,7 +1278,7 @@ func (o *CancelDeploymentDomain) GetVerification() []CancelDeploymentVerificatio return o.Verification } -// CancelDeploymentCustomEnvironment1 - Internal representation of a custom environment with all required properties +// CancelDeploymentCustomEnvironment1 - If the deployment was created using a Custom Environment, then this property contains information regarding the environment used. type CancelDeploymentCustomEnvironment1 struct { // Unique identifier for the custom environment (format: env_*) ID string `json:"id"` @@ -1439,6 +1460,7 @@ func (e *CancelDeploymentOomReport) UnmarshalJSON(data []byte) error { } } +// CancelDeploymentAliasError - An object that will contain a `code` and a `message` when the aliasing fails, otherwise the value will be `null` type CancelDeploymentAliasError struct { Code string `json:"code"` Message string `json:"message"` @@ -3403,6 +3425,7 @@ func (u CancelDeploymentGitSourceUnion) MarshalJSON() ([]byte, error) { type CancelDeploymentNodeVersion string const ( + CancelDeploymentNodeVersionTwentyFourDotX CancelDeploymentNodeVersion = "24.x" CancelDeploymentNodeVersionTwentyTwoDotX CancelDeploymentNodeVersion = "22.x" CancelDeploymentNodeVersionTwentyDotX CancelDeploymentNodeVersion = "20.x" CancelDeploymentNodeVersionEighteenDotX CancelDeploymentNodeVersion = "18.x" @@ -3422,6 +3445,8 @@ func (e *CancelDeploymentNodeVersion) UnmarshalJSON(data []byte) error { return err } switch v { + case "24.x": + fallthrough case "22.x": fallthrough case "20.x": @@ -3444,6 +3469,7 @@ func (e *CancelDeploymentNodeVersion) UnmarshalJSON(data []byte) error { } } +// CancelDeploymentProject - The public project information associated with the deployment. type CancelDeploymentProject struct { ID string `json:"id"` Name string `json:"name"` @@ -3471,6 +3497,7 @@ func (o *CancelDeploymentProject) GetFramework() *string { return o.Framework } +// CancelDeploymentReadyState - The state of the deployment depending on the process of deploying, or if it is ready or in an error state type CancelDeploymentReadyState string const ( @@ -3539,6 +3566,7 @@ func (e *CancelDeploymentReadySubstate) UnmarshalJSON(data []byte) error { } } +// CancelDeploymentSource - Where was the deployment created from type CancelDeploymentSource string const ( @@ -3583,6 +3611,7 @@ func (e *CancelDeploymentSource) UnmarshalJSON(data []byte) error { } } +// CancelDeploymentTargetEnum - If defined, either `staging` if a staging alias in the format `..now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment. type CancelDeploymentTargetEnum string const ( @@ -3642,6 +3671,7 @@ type CancelDeploymentOidcTokenClaims struct { Project string `json:"project"` ProjectID string `json:"project_id"` Environment string `json:"environment"` + Plan string `json:"plan"` } func (o *CancelDeploymentOidcTokenClaims) GetIss() string { @@ -3707,6 +3737,13 @@ func (o *CancelDeploymentOidcTokenClaims) GetEnvironment() string { return o.Environment } +func (o *CancelDeploymentOidcTokenClaims) GetPlan() string { + if o == nil { + return "" + } + return o.Plan +} + type CancelDeploymentCron struct { Schedule string `json:"schedule"` Path string `json:"path"` @@ -6829,10 +6866,6 @@ type CancelDeploymentMicrofrontends2 struct { DefaultRoute *string `json:"defaultRoute,omitempty"` // 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 []string `json:"groupIds"` - // Whether the MicrofrontendsAlias2 team flag should be considered enabled for this deployment or not. - MicrofrontendsAlias2Enabled *bool `json:"microfrontendsAlias2Enabled,omitempty"` - // Temporary flag to safely test MFE alias routing in vercel-site production for specific production hosts (not vercel.com) - MicrofrontendsAliasRoutingVercelSiteProdTestHost *bool `json:"microfrontendsAliasRoutingVercelSiteProdTestHost,omitempty"` } func (c CancelDeploymentMicrofrontends2) MarshalJSON() ([]byte, error) { @@ -6888,20 +6921,6 @@ func (o *CancelDeploymentMicrofrontends2) GetGroupIds() []string { return o.GroupIds } -func (o *CancelDeploymentMicrofrontends2) GetMicrofrontendsAlias2Enabled() *bool { - if o == nil { - return nil - } - return o.MicrofrontendsAlias2Enabled -} - -func (o *CancelDeploymentMicrofrontends2) GetMicrofrontendsAliasRoutingVercelSiteProdTestHost() *bool { - if o == nil { - return nil - } - return o.MicrofrontendsAliasRoutingVercelSiteProdTestHost -} - type CancelDeploymentMicrofrontends1 struct { IsDefaultApp *bool `json:"isDefaultApp,omitempty"` // The project name of the default app of this deployment's microfrontends group. @@ -6910,10 +6929,6 @@ type CancelDeploymentMicrofrontends1 struct { DefaultRoute *string `json:"defaultRoute,omitempty"` // 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 []string `json:"groupIds"` - // Whether the MicrofrontendsAlias2 team flag should be considered enabled for this deployment or not. - MicrofrontendsAlias2Enabled *bool `json:"microfrontendsAlias2Enabled,omitempty"` - // Temporary flag to safely test MFE alias routing in vercel-site production for specific production hosts (not vercel.com) - MicrofrontendsAliasRoutingVercelSiteProdTestHost *bool `json:"microfrontendsAliasRoutingVercelSiteProdTestHost,omitempty"` } func (c CancelDeploymentMicrofrontends1) MarshalJSON() ([]byte, error) { @@ -6955,20 +6970,6 @@ func (o *CancelDeploymentMicrofrontends1) GetGroupIds() []string { return o.GroupIds } -func (o *CancelDeploymentMicrofrontends1) GetMicrofrontendsAlias2Enabled() *bool { - if o == nil { - return nil - } - return o.MicrofrontendsAlias2Enabled -} - -func (o *CancelDeploymentMicrofrontends1) GetMicrofrontendsAliasRoutingVercelSiteProdTestHost() *bool { - if o == nil { - return nil - } - return o.MicrofrontendsAliasRoutingVercelSiteProdTestHost -} - type CancelDeploymentMicrofrontendsUnionType string const ( @@ -7231,38 +7232,49 @@ type CancelDeploymentResponseBody struct { ReadyStateReason *string `json:"readyStateReason,omitempty"` Integrations *CancelDeploymentIntegrations `json:"integrations,omitempty"` Images *CancelDeploymentImages `json:"images,omitempty"` - Alias []string `json:"alias,omitempty"` - AliasAssigned bool `json:"aliasAssigned"` - BootedAt float64 `json:"bootedAt"` - BuildingAt float64 `json:"buildingAt"` + // A list of all the aliases (default aliases, staging aliases and production aliases) that were assigned upon deployment creation + Alias []string `json:"alias,omitempty"` + // A boolean that will be true when the aliases from the alias property were assigned successfully + AliasAssigned bool `json:"aliasAssigned"` + BootedAt float64 `json:"bootedAt"` + BuildingAt float64 `json:"buildingAt"` // Since April 2025 it necessary for On-Demand Concurrency Minutes calculation - BuildContainerFinishedAt *float64 `json:"buildContainerFinishedAt,omitempty"` - BuildSkipped bool `json:"buildSkipped"` - Creator CancelDeploymentCreator `json:"creator"` - InitReadyAt *float64 `json:"initReadyAt,omitempty"` - IsFirstBranchDeployment *bool `json:"isFirstBranchDeployment,omitempty"` - Lambdas []CancelDeploymentLambda `json:"lambdas,omitempty"` - Public bool `json:"public"` - Ready *float64 `json:"ready,omitempty"` - Status CancelDeploymentStatus `json:"status"` - Team *CancelDeploymentTeam `json:"team,omitempty"` - UserAliases []string `json:"userAliases,omitempty"` - PreviewCommentsEnabled *bool `json:"previewCommentsEnabled,omitempty"` - TtyBuildLogs *bool `json:"ttyBuildLogs,omitempty"` - CustomEnvironment *CancelDeploymentCustomEnvironmentUnion `json:"customEnvironment,omitempty"` - OomReport *CancelDeploymentOomReport `json:"oomReport,omitempty"` - ID string `json:"id"` - AliasError *CancelDeploymentAliasError `json:"aliasError,omitempty"` - AliasFinal *string `json:"aliasFinal,omitempty"` - AliasWarning *CancelDeploymentAliasWarning `json:"aliasWarning,omitempty"` + BuildContainerFinishedAt *float64 `json:"buildContainerFinishedAt,omitempty"` + BuildSkipped bool `json:"buildSkipped"` + // Information about the deployment creator + Creator CancelDeploymentCreator `json:"creator"` + InitReadyAt *float64 `json:"initReadyAt,omitempty"` + IsFirstBranchDeployment *bool `json:"isFirstBranchDeployment,omitempty"` + Lambdas []CancelDeploymentLambda `json:"lambdas,omitempty"` + // A boolean representing if the deployment is public or not. By default this is `false` + Public bool `json:"public"` + Ready *float64 `json:"ready,omitempty"` + Status CancelDeploymentStatus `json:"status"` + // The team that owns the deployment if any + Team *CancelDeploymentTeam `json:"team,omitempty"` + // An array of domains that were provided by the user when creating the Deployment. + UserAliases []string `json:"userAliases,omitempty"` + // Whether or not preview comments are enabled for the deployment + PreviewCommentsEnabled *bool `json:"previewCommentsEnabled,omitempty"` + TtyBuildLogs *bool `json:"ttyBuildLogs,omitempty"` + CustomEnvironment *CancelDeploymentCustomEnvironmentUnion `json:"customEnvironment,omitempty"` + OomReport *CancelDeploymentOomReport `json:"oomReport,omitempty"` + // A string holding the unique ID of the deployment + ID string `json:"id"` + // An object that will contain a `code` and a `message` when the aliasing fails, otherwise the value will be `null` + AliasError *CancelDeploymentAliasError `json:"aliasError,omitempty"` + AliasFinal *string `json:"aliasFinal,omitempty"` + AliasWarning *CancelDeploymentAliasWarning `json:"aliasWarning,omitempty"` // applies to custom domains only, defaults to `true` AutoAssignCustomDomains *bool `json:"autoAssignCustomDomains,omitempty"` AutomaticAliases []string `json:"automaticAliases,omitempty"` BuildErrorAt *float64 `json:"buildErrorAt,omitempty"` ChecksState *CancelDeploymentChecksState `json:"checksState,omitempty"` ChecksConclusion *CancelDeploymentChecksConclusion `json:"checksConclusion,omitempty"` - CreatedAt float64 `json:"createdAt"` - DeletedAt *float64 `json:"deletedAt,omitempty"` + // A number containing the date when the deployment was created in milliseconds + CreatedAt float64 `json:"createdAt"` + // A number containing the date when the deployment was deleted at milliseconds + DeletedAt *float64 `json:"deletedAt,omitempty"` // Computed field that is only available for deployments with a microfrontend configuration. DefaultRoute *string `json:"defaultRoute,omitempty"` CanceledAt *float64 `json:"canceledAt,omitempty"` @@ -7271,24 +7283,34 @@ type CancelDeploymentResponseBody struct { ErrorMessage *string `json:"errorMessage,omitempty"` ErrorStep *string `json:"errorStep,omitempty"` // 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 []string `json:"passiveRegions,omitempty"` - GitSource *CancelDeploymentGitSourceUnion `json:"gitSource,omitempty"` - Name string `json:"name"` - Meta map[string]string `json:"meta"` - OriginCacheRegion *string `json:"originCacheRegion,omitempty"` + PassiveRegions []string `json:"passiveRegions,omitempty"` + GitSource *CancelDeploymentGitSourceUnion `json:"gitSource,omitempty"` + // The name of the project associated with the deployment at the time that the deployment was created + Name string `json:"name"` + Meta map[string]string `json:"meta"` + OriginCacheRegion *string `json:"originCacheRegion,omitempty"` // If set it overrides the `projectSettings.nodeVersion` for this deployment. NodeVersion *CancelDeploymentNodeVersion `json:"nodeVersion,omitempty"` - Project *CancelDeploymentProject `json:"project,omitempty"` - ReadyState CancelDeploymentReadyState `json:"readyState"` + // The public project information associated with the deployment. + Project *CancelDeploymentProject `json:"project,omitempty"` + // The state of the deployment depending on the process of deploying, or if it is ready or in an error state + ReadyState CancelDeploymentReadyState `json:"readyState"` // Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - ROLLING: in the process of having production traffic gradually transitioned. - PROMOTED: has seen production traffic - ReadySubstate *CancelDeploymentReadySubstate `json:"readySubstate,omitempty"` - Regions []string `json:"regions"` - SoftDeletedByRetention *bool `json:"softDeletedByRetention,omitempty"` - Source *CancelDeploymentSource `json:"source,omitempty"` - Target *CancelDeploymentTargetEnum `json:"target,omitempty"` - Type CancelDeploymentType `json:"type"` - UndeletedAt *float64 `json:"undeletedAt,omitempty"` - URL string `json:"url"` + ReadySubstate *CancelDeploymentReadySubstate `json:"readySubstate,omitempty"` + // The regions the deployment exists in + Regions []string `json:"regions"` + // flag to indicate if the deployment was deleted by retention policy + SoftDeletedByRetention *bool `json:"softDeletedByRetention,omitempty"` + // Where was the deployment created from + Source *CancelDeploymentSource `json:"source,omitempty"` + // If defined, either `staging` if a staging alias in the format `..now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment. + Target *CancelDeploymentTargetEnum `json:"target,omitempty"` + Type CancelDeploymentType `json:"type"` + // A number containing the date when the deployment was undeleted at milliseconds + UndeletedAt *float64 `json:"undeletedAt,omitempty"` + // A string with the unique URL of the deployment + URL string `json:"url"` + // The platform version that was used to create the deployment. Version float64 `json:"version"` OidcTokenClaims *CancelDeploymentOidcTokenClaims `json:"oidcTokenClaims,omitempty"` ConnectBuildsEnabled *bool `json:"connectBuildsEnabled,omitempty"` diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/completerollingrelease.go b/src/__tests__/mockserver/internal/sdk/models/operations/completerollingrelease.go index 76243a76a..e505c5ca3 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/completerollingrelease.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/completerollingrelease.go @@ -26,8 +26,8 @@ type CompleteRollingReleaseRequest struct { // The Team identifier to perform the request on behalf of. TeamID *string `queryParam:"style=form,explode=true,name=teamId"` // The Team slug to perform the request on behalf of. - Slug *string `queryParam:"style=form,explode=true,name=slug"` - RequestBody *CompleteRollingReleaseRequestBody `request:"mediaType=application/json"` + Slug *string `queryParam:"style=form,explode=true,name=slug"` + Body *CompleteRollingReleaseRequestBody `request:"mediaType=application/json"` } func (o *CompleteRollingReleaseRequest) GetIDOrName() string { @@ -51,11 +51,11 @@ func (o *CompleteRollingReleaseRequest) GetSlug() *string { return o.Slug } -func (o *CompleteRollingReleaseRequest) GetRequestBody() *CompleteRollingReleaseRequestBody { +func (o *CompleteRollingReleaseRequest) GetBody() *CompleteRollingReleaseRequestBody { if o == nil { return nil } - return o.RequestBody + return o.Body } // CompleteRollingReleaseState - The current state of the rolling release @@ -88,6 +88,7 @@ func (e *CompleteRollingReleaseState) UnmarshalJSON(data []byte) error { } } +// CompleteRollingReleaseCurrentDeploymentTarget - If defined, either `staging` if a staging alias in the format `..now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment. type CompleteRollingReleaseCurrentDeploymentTarget string const ( @@ -114,6 +115,7 @@ func (e *CompleteRollingReleaseCurrentDeploymentTarget) UnmarshalJSON(data []byt } } +// CompleteRollingReleaseCurrentDeploymentSource - Where was the deployment created from type CompleteRollingReleaseCurrentDeploymentSource string const ( @@ -158,6 +160,7 @@ func (e *CompleteRollingReleaseCurrentDeploymentSource) UnmarshalJSON(data []byt } } +// CompleteRollingReleaseCurrentDeploymentReadyState - The state of the deployment depending on the process of deploying, or if it is ready or in an error state type CompleteRollingReleaseCurrentDeploymentReadyState string const ( @@ -198,12 +201,19 @@ func (e *CompleteRollingReleaseCurrentDeploymentReadyState) UnmarshalJSON(data [ // CompleteRollingReleaseCurrentDeployment - The current deployment receiving production traffic type CompleteRollingReleaseCurrentDeployment struct { - ID string `json:"id"` - Name string `json:"name"` - URL string `json:"url"` - Target *CompleteRollingReleaseCurrentDeploymentTarget `json:"target,omitempty"` - Source *CompleteRollingReleaseCurrentDeploymentSource `json:"source,omitempty"` - CreatedAt float64 `json:"createdAt"` + // A string holding the unique ID of the deployment + ID string `json:"id"` + // The name of the project associated with the deployment at the time that the deployment was created + Name string `json:"name"` + // A string with the unique URL of the deployment + URL string `json:"url"` + // If defined, either `staging` if a staging alias in the format `..now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment. + Target *CompleteRollingReleaseCurrentDeploymentTarget `json:"target,omitempty"` + // Where was the deployment created from + Source *CompleteRollingReleaseCurrentDeploymentSource `json:"source,omitempty"` + // A number containing the date when the deployment was created in milliseconds + CreatedAt float64 `json:"createdAt"` + // The state of the deployment depending on the process of deploying, or if it is ready or in an error state ReadyState CompleteRollingReleaseCurrentDeploymentReadyState `json:"readyState"` ReadyStateAt *float64 `json:"readyStateAt,omitempty"` } @@ -264,6 +274,7 @@ func (o *CompleteRollingReleaseCurrentDeployment) GetReadyStateAt() *float64 { return o.ReadyStateAt } +// CompleteRollingReleaseCanaryDeploymentTarget - If defined, either `staging` if a staging alias in the format `..now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment. type CompleteRollingReleaseCanaryDeploymentTarget string const ( @@ -290,6 +301,7 @@ func (e *CompleteRollingReleaseCanaryDeploymentTarget) UnmarshalJSON(data []byte } } +// CompleteRollingReleaseCanaryDeploymentSource - Where was the deployment created from type CompleteRollingReleaseCanaryDeploymentSource string const ( @@ -334,6 +346,7 @@ func (e *CompleteRollingReleaseCanaryDeploymentSource) UnmarshalJSON(data []byte } } +// CompleteRollingReleaseCanaryDeploymentReadyState - The state of the deployment depending on the process of deploying, or if it is ready or in an error state type CompleteRollingReleaseCanaryDeploymentReadyState string const ( @@ -374,12 +387,19 @@ func (e *CompleteRollingReleaseCanaryDeploymentReadyState) UnmarshalJSON(data [] // CompleteRollingReleaseCanaryDeployment - The canary deployment being rolled out type CompleteRollingReleaseCanaryDeployment struct { - ID string `json:"id"` - Name string `json:"name"` - URL string `json:"url"` - Target *CompleteRollingReleaseCanaryDeploymentTarget `json:"target,omitempty"` - Source *CompleteRollingReleaseCanaryDeploymentSource `json:"source,omitempty"` - CreatedAt float64 `json:"createdAt"` + // A string holding the unique ID of the deployment + ID string `json:"id"` + // The name of the project associated with the deployment at the time that the deployment was created + Name string `json:"name"` + // A string with the unique URL of the deployment + URL string `json:"url"` + // If defined, either `staging` if a staging alias in the format `..now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment. + Target *CompleteRollingReleaseCanaryDeploymentTarget `json:"target,omitempty"` + // Where was the deployment created from + Source *CompleteRollingReleaseCanaryDeploymentSource `json:"source,omitempty"` + // A number containing the date when the deployment was created in milliseconds + CreatedAt float64 `json:"createdAt"` + // The state of the deployment depending on the process of deploying, or if it is ready or in an error state ReadyState CompleteRollingReleaseCanaryDeploymentReadyState `json:"readyState"` ReadyStateAt *float64 `json:"readyStateAt,omitempty"` } diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/connectintegrationresourcetoproject.go b/src/__tests__/mockserver/internal/sdk/models/operations/connectintegrationresourcetoproject.go index 1f9350d38..caffcd2ed 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/connectintegrationresourcetoproject.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/connectintegrationresourcetoproject.go @@ -23,8 +23,8 @@ type ConnectIntegrationResourceToProjectRequest struct { // The Team identifier to perform the request on behalf of. TeamID *string `queryParam:"style=form,explode=true,name=teamId"` // The Team slug to perform the request on behalf of. - Slug *string `queryParam:"style=form,explode=true,name=slug"` - RequestBody *ConnectIntegrationResourceToProjectRequestBody `request:"mediaType=application/json"` + Slug *string `queryParam:"style=form,explode=true,name=slug"` + Body *ConnectIntegrationResourceToProjectRequestBody `request:"mediaType=application/json"` } func (o *ConnectIntegrationResourceToProjectRequest) GetIntegrationConfigurationID() string { @@ -55,11 +55,11 @@ func (o *ConnectIntegrationResourceToProjectRequest) GetSlug() *string { return o.Slug } -func (o *ConnectIntegrationResourceToProjectRequest) GetRequestBody() *ConnectIntegrationResourceToProjectRequestBody { +func (o *ConnectIntegrationResourceToProjectRequest) GetBody() *ConnectIntegrationResourceToProjectRequestBody { if o == nil { return nil } - return o.RequestBody + return o.Body } type ConnectIntegrationResourceToProjectResponse struct { diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/createaccessgroup.go b/src/__tests__/mockserver/internal/sdk/models/operations/createaccessgroup.go index 0bdbd7022..77bdb25cd 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/createaccessgroup.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/createaccessgroup.go @@ -92,8 +92,8 @@ type CreateAccessGroupRequest struct { // The Team identifier to perform the request on behalf of. TeamID *string `queryParam:"style=form,explode=true,name=teamId"` // The Team slug to perform the request on behalf of. - Slug *string `queryParam:"style=form,explode=true,name=slug"` - RequestBody CreateAccessGroupRequestBody `request:"mediaType=application/json"` + Slug *string `queryParam:"style=form,explode=true,name=slug"` + Body CreateAccessGroupRequestBody `request:"mediaType=application/json"` } func (o *CreateAccessGroupRequest) GetTeamID() *string { @@ -110,11 +110,11 @@ func (o *CreateAccessGroupRequest) GetSlug() *string { return o.Slug } -func (o *CreateAccessGroupRequest) GetRequestBody() CreateAccessGroupRequestBody { +func (o *CreateAccessGroupRequest) GetBody() CreateAccessGroupRequestBody { if o == nil { return CreateAccessGroupRequestBody{} } - return o.RequestBody + return o.Body } type CreateAccessGroupEntitlement string diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/createaccessgroupproject.go b/src/__tests__/mockserver/internal/sdk/models/operations/createaccessgroupproject.go index 9aeebfb6b..2a0af0f3c 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/createaccessgroupproject.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/createaccessgroupproject.go @@ -64,8 +64,8 @@ type CreateAccessGroupProjectRequest struct { // The Team identifier to perform the request on behalf of. TeamID *string `queryParam:"style=form,explode=true,name=teamId"` // The Team slug to perform the request on behalf of. - Slug *string `queryParam:"style=form,explode=true,name=slug"` - RequestBody CreateAccessGroupProjectRequestBody `request:"mediaType=application/json"` + Slug *string `queryParam:"style=form,explode=true,name=slug"` + Body CreateAccessGroupProjectRequestBody `request:"mediaType=application/json"` } func (o *CreateAccessGroupProjectRequest) GetAccessGroupIDOrName() string { @@ -89,11 +89,11 @@ func (o *CreateAccessGroupProjectRequest) GetSlug() *string { return o.Slug } -func (o *CreateAccessGroupProjectRequest) GetRequestBody() CreateAccessGroupProjectRequestBody { +func (o *CreateAccessGroupProjectRequest) GetBody() CreateAccessGroupProjectRequestBody { if o == nil { return CreateAccessGroupProjectRequestBody{} } - return o.RequestBody + return o.Body } type CreateAccessGroupProjectRoleResponse string diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/createauthtoken.go b/src/__tests__/mockserver/internal/sdk/models/operations/createauthtoken.go index 16b66ffe6..1dd704729 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/createauthtoken.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/createauthtoken.go @@ -29,8 +29,8 @@ type CreateAuthTokenRequest struct { // The Team identifier to perform the request on behalf of. TeamID *string `queryParam:"style=form,explode=true,name=teamId"` // The Team slug to perform the request on behalf of. - Slug *string `queryParam:"style=form,explode=true,name=slug"` - RequestBody CreateAuthTokenRequestBody `request:"mediaType=application/json"` + Slug *string `queryParam:"style=form,explode=true,name=slug"` + Body CreateAuthTokenRequestBody `request:"mediaType=application/json"` } func (o *CreateAuthTokenRequest) GetTeamID() *string { @@ -47,11 +47,11 @@ func (o *CreateAuthTokenRequest) GetSlug() *string { return o.Slug } -func (o *CreateAuthTokenRequest) GetRequestBody() CreateAuthTokenRequestBody { +func (o *CreateAuthTokenRequest) GetBody() CreateAuthTokenRequestBody { if o == nil { return CreateAuthTokenRequestBody{} } - return o.RequestBody + return o.Body } // CreateAuthTokenResponseBody - Successful response. diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/createcheck.go b/src/__tests__/mockserver/internal/sdk/models/operations/createcheck.go index ee7d1c7fd..2771fd22c 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/createcheck.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/createcheck.go @@ -71,8 +71,8 @@ type CreateCheckRequest struct { // The Team identifier to perform the request on behalf of. TeamID *string `queryParam:"style=form,explode=true,name=teamId"` // The Team slug to perform the request on behalf of. - Slug *string `queryParam:"style=form,explode=true,name=slug"` - RequestBody CreateCheckRequestBody `request:"mediaType=application/json"` + Slug *string `queryParam:"style=form,explode=true,name=slug"` + Body CreateCheckRequestBody `request:"mediaType=application/json"` } func (o *CreateCheckRequest) GetDeploymentID() string { @@ -96,11 +96,11 @@ func (o *CreateCheckRequest) GetSlug() *string { return o.Slug } -func (o *CreateCheckRequest) GetRequestBody() CreateCheckRequestBody { +func (o *CreateCheckRequest) GetBody() CreateCheckRequestBody { if o == nil { return CreateCheckRequestBody{} } - return o.RequestBody + return o.Body } type CreateCheckStatus string diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/createconfigurablelogdrain.go b/src/__tests__/mockserver/internal/sdk/models/operations/createconfigurablelogdrain.go new file mode 100644 index 000000000..dfa05d140 --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/operations/createconfigurablelogdrain.go @@ -0,0 +1,232 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package operations + +import ( + "encoding/json" + "fmt" + "mockserver/internal/sdk/models/components" +) + +// CreateConfigurableLogDrainDeliveryFormat - The delivery log format +type CreateConfigurableLogDrainDeliveryFormat string + +const ( + CreateConfigurableLogDrainDeliveryFormatJSON CreateConfigurableLogDrainDeliveryFormat = "json" + CreateConfigurableLogDrainDeliveryFormatNdjson CreateConfigurableLogDrainDeliveryFormat = "ndjson" +) + +func (e CreateConfigurableLogDrainDeliveryFormat) ToPointer() *CreateConfigurableLogDrainDeliveryFormat { + return &e +} +func (e *CreateConfigurableLogDrainDeliveryFormat) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "json": + fallthrough + case "ndjson": + *e = CreateConfigurableLogDrainDeliveryFormat(v) + return nil + default: + return fmt.Errorf("invalid value for CreateConfigurableLogDrainDeliveryFormat: %v", v) + } +} + +type CreateConfigurableLogDrainSource string + +const ( + CreateConfigurableLogDrainSourceStatic CreateConfigurableLogDrainSource = "static" + CreateConfigurableLogDrainSourceLambda CreateConfigurableLogDrainSource = "lambda" + CreateConfigurableLogDrainSourceBuild CreateConfigurableLogDrainSource = "build" + CreateConfigurableLogDrainSourceEdge CreateConfigurableLogDrainSource = "edge" + CreateConfigurableLogDrainSourceExternal CreateConfigurableLogDrainSource = "external" + CreateConfigurableLogDrainSourceFirewall CreateConfigurableLogDrainSource = "firewall" +) + +func (e CreateConfigurableLogDrainSource) ToPointer() *CreateConfigurableLogDrainSource { + return &e +} +func (e *CreateConfigurableLogDrainSource) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "static": + fallthrough + case "lambda": + fallthrough + case "build": + fallthrough + case "edge": + fallthrough + case "external": + fallthrough + case "firewall": + *e = CreateConfigurableLogDrainSource(v) + return nil + default: + return fmt.Errorf("invalid value for CreateConfigurableLogDrainSource: %v", v) + } +} + +type CreateConfigurableLogDrainEnvironment string + +const ( + CreateConfigurableLogDrainEnvironmentPreview CreateConfigurableLogDrainEnvironment = "preview" + CreateConfigurableLogDrainEnvironmentProduction CreateConfigurableLogDrainEnvironment = "production" +) + +func (e CreateConfigurableLogDrainEnvironment) ToPointer() *CreateConfigurableLogDrainEnvironment { + return &e +} +func (e *CreateConfigurableLogDrainEnvironment) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "preview": + fallthrough + case "production": + *e = CreateConfigurableLogDrainEnvironment(v) + return nil + default: + return fmt.Errorf("invalid value for CreateConfigurableLogDrainEnvironment: %v", v) + } +} + +type CreateConfigurableLogDrainRequestBody struct { + // The delivery log format + DeliveryFormat CreateConfigurableLogDrainDeliveryFormat `json:"deliveryFormat"` + // The log drain url + URL string `json:"url"` + // Headers to be sent together with the request + Headers map[string]string `json:"headers,omitempty"` + ProjectIds []string `json:"projectIds,omitempty"` + Sources []CreateConfigurableLogDrainSource `json:"sources"` + Environments []CreateConfigurableLogDrainEnvironment `json:"environments,omitempty"` + // Custom secret of log drain + Secret *string `json:"secret,omitempty"` + // The sampling rate for this log drain. It should be a percentage rate between 0 and 100. With max 2 decimal points + SamplingRate *float64 `json:"samplingRate,omitempty"` + // The custom name of this log drain. + Name *string `json:"name,omitempty"` +} + +func (o *CreateConfigurableLogDrainRequestBody) GetDeliveryFormat() CreateConfigurableLogDrainDeliveryFormat { + if o == nil { + return CreateConfigurableLogDrainDeliveryFormat("") + } + return o.DeliveryFormat +} + +func (o *CreateConfigurableLogDrainRequestBody) GetURL() string { + if o == nil { + return "" + } + return o.URL +} + +func (o *CreateConfigurableLogDrainRequestBody) GetHeaders() map[string]string { + if o == nil { + return nil + } + return o.Headers +} + +func (o *CreateConfigurableLogDrainRequestBody) GetProjectIds() []string { + if o == nil { + return nil + } + return o.ProjectIds +} + +func (o *CreateConfigurableLogDrainRequestBody) GetSources() []CreateConfigurableLogDrainSource { + if o == nil { + return []CreateConfigurableLogDrainSource{} + } + return o.Sources +} + +func (o *CreateConfigurableLogDrainRequestBody) GetEnvironments() []CreateConfigurableLogDrainEnvironment { + if o == nil { + return nil + } + return o.Environments +} + +func (o *CreateConfigurableLogDrainRequestBody) GetSecret() *string { + if o == nil { + return nil + } + return o.Secret +} + +func (o *CreateConfigurableLogDrainRequestBody) GetSamplingRate() *float64 { + if o == nil { + return nil + } + return o.SamplingRate +} + +func (o *CreateConfigurableLogDrainRequestBody) GetName() *string { + if o == nil { + return nil + } + return o.Name +} + +type CreateConfigurableLogDrainRequest struct { + // The Team identifier to perform the request on behalf of. + TeamID *string `queryParam:"style=form,explode=true,name=teamId"` + // The Team slug to perform the request on behalf of. + Slug *string `queryParam:"style=form,explode=true,name=slug"` + Body CreateConfigurableLogDrainRequestBody `request:"mediaType=application/json"` +} + +func (o *CreateConfigurableLogDrainRequest) GetTeamID() *string { + if o == nil { + return nil + } + return o.TeamID +} + +func (o *CreateConfigurableLogDrainRequest) GetSlug() *string { + if o == nil { + return nil + } + return o.Slug +} + +func (o *CreateConfigurableLogDrainRequest) GetBody() CreateConfigurableLogDrainRequestBody { + if o == nil { + return CreateConfigurableLogDrainRequestBody{} + } + return o.Body +} + +type CreateConfigurableLogDrainResponseBody struct { +} + +type CreateConfigurableLogDrainResponse struct { + HTTPMeta components.HTTPMetadata `json:"-"` + Object *CreateConfigurableLogDrainResponseBody +} + +func (o *CreateConfigurableLogDrainResponse) GetHTTPMeta() components.HTTPMetadata { + if o == nil { + return components.HTTPMetadata{} + } + return o.HTTPMeta +} + +func (o *CreateConfigurableLogDrainResponse) GetObject() *CreateConfigurableLogDrainResponseBody { + if o == nil { + return nil + } + return o.Object +} diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/createcustomenvironment.go b/src/__tests__/mockserver/internal/sdk/models/operations/createcustomenvironment.go index 5a72ec451..e3090eb5f 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/createcustomenvironment.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/createcustomenvironment.go @@ -105,8 +105,8 @@ type CreateCustomEnvironmentRequest struct { // The Team identifier to perform the request on behalf of. TeamID *string `queryParam:"style=form,explode=true,name=teamId"` // The Team slug to perform the request on behalf of. - Slug *string `queryParam:"style=form,explode=true,name=slug"` - RequestBody *CreateCustomEnvironmentRequestBody `request:"mediaType=application/json"` + Slug *string `queryParam:"style=form,explode=true,name=slug"` + Body *CreateCustomEnvironmentRequestBody `request:"mediaType=application/json"` } func (o *CreateCustomEnvironmentRequest) GetIDOrName() string { @@ -130,11 +130,11 @@ func (o *CreateCustomEnvironmentRequest) GetSlug() *string { return o.Slug } -func (o *CreateCustomEnvironmentRequest) GetRequestBody() *CreateCustomEnvironmentRequestBody { +func (o *CreateCustomEnvironmentRequest) GetBody() *CreateCustomEnvironmentRequestBody { if o == nil { return nil } - return o.RequestBody + return o.Body } // CreateCustomEnvironmentTypeResponseBody - The type of environment (production, preview, or development) diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/createdeployment.go b/src/__tests__/mockserver/internal/sdk/models/operations/createdeployment.go index c41aae92a..358256d20 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/createdeployment.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/createdeployment.go @@ -106,18 +106,18 @@ func (o *UploadedFile) GetSize() *int64 { return o.Size } -// Encoding - The file content encoding, it could be either a base64 (useful for images, etc.) of the files or the plain text for source code. -type Encoding string +// CreateDeploymentEncoding - The file content encoding, it could be either a base64 (useful for images, etc.) of the files or the plain text for source code. +type CreateDeploymentEncoding string const ( - EncodingBase64 Encoding = "base64" - EncodingUTF8 Encoding = "utf-8" + CreateDeploymentEncodingBase64 CreateDeploymentEncoding = "base64" + CreateDeploymentEncodingUTF8 CreateDeploymentEncoding = "utf-8" ) -func (e Encoding) ToPointer() *Encoding { +func (e CreateDeploymentEncoding) ToPointer() *CreateDeploymentEncoding { return &e } -func (e *Encoding) UnmarshalJSON(data []byte) error { +func (e *CreateDeploymentEncoding) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { return err @@ -126,10 +126,10 @@ func (e *Encoding) UnmarshalJSON(data []byte) error { case "base64": fallthrough case "utf-8": - *e = Encoding(v) + *e = CreateDeploymentEncoding(v) return nil default: - return fmt.Errorf("invalid value for Encoding: %v", v) + return fmt.Errorf("invalid value for CreateDeploymentEncoding: %v", v) } } @@ -138,7 +138,7 @@ type InlinedFile struct { // 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 `json:"data"` // 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 `json:"encoding,omitempty"` + Encoding *CreateDeploymentEncoding `json:"encoding,omitempty"` // The file name including the whole path File string `json:"file"` } @@ -161,7 +161,7 @@ func (o *InlinedFile) GetData() string { return o.Data } -func (o *InlinedFile) GetEncoding() *Encoding { +func (o *InlinedFile) GetEncoding() *CreateDeploymentEncoding { if o == nil { return nil } @@ -1262,10 +1262,12 @@ const ( CreateDeploymentFrameworkRequestZola CreateDeploymentFrameworkRequest = "zola" CreateDeploymentFrameworkRequestHydrogen CreateDeploymentFrameworkRequest = "hydrogen" CreateDeploymentFrameworkRequestVite CreateDeploymentFrameworkRequest = "vite" + CreateDeploymentFrameworkRequestTanstackStart CreateDeploymentFrameworkRequest = "tanstack-start" CreateDeploymentFrameworkRequestVitepress CreateDeploymentFrameworkRequest = "vitepress" CreateDeploymentFrameworkRequestVuepress CreateDeploymentFrameworkRequest = "vuepress" CreateDeploymentFrameworkRequestParcel CreateDeploymentFrameworkRequest = "parcel" CreateDeploymentFrameworkRequestFastapi CreateDeploymentFrameworkRequest = "fastapi" + CreateDeploymentFrameworkRequestFlask CreateDeploymentFrameworkRequest = "flask" CreateDeploymentFrameworkRequestFasthtml CreateDeploymentFrameworkRequest = "fasthtml" CreateDeploymentFrameworkRequestSanityV3 CreateDeploymentFrameworkRequest = "sanity-v3" CreateDeploymentFrameworkRequestSanity CreateDeploymentFrameworkRequest = "sanity" @@ -1274,6 +1276,9 @@ const ( CreateDeploymentFrameworkRequestHono CreateDeploymentFrameworkRequest = "hono" CreateDeploymentFrameworkRequestExpress CreateDeploymentFrameworkRequest = "express" CreateDeploymentFrameworkRequestH3 CreateDeploymentFrameworkRequest = "h3" + CreateDeploymentFrameworkRequestNestjs CreateDeploymentFrameworkRequest = "nestjs" + CreateDeploymentFrameworkRequestElysia CreateDeploymentFrameworkRequest = "elysia" + CreateDeploymentFrameworkRequestFastify CreateDeploymentFrameworkRequest = "fastify" CreateDeploymentFrameworkRequestXmcp CreateDeploymentFrameworkRequest = "xmcp" ) @@ -1364,6 +1369,8 @@ func (e *CreateDeploymentFrameworkRequest) UnmarshalJSON(data []byte) error { fallthrough case "vite": fallthrough + case "tanstack-start": + fallthrough case "vitepress": fallthrough case "vuepress": @@ -1372,6 +1379,8 @@ func (e *CreateDeploymentFrameworkRequest) UnmarshalJSON(data []byte) error { fallthrough case "fastapi": fallthrough + case "flask": + fallthrough case "fasthtml": fallthrough case "sanity-v3": @@ -1388,6 +1397,12 @@ func (e *CreateDeploymentFrameworkRequest) UnmarshalJSON(data []byte) error { fallthrough case "h3": fallthrough + case "nestjs": + fallthrough + case "elysia": + fallthrough + case "fastify": + fallthrough case "xmcp": *e = CreateDeploymentFrameworkRequest(v) return nil @@ -1400,6 +1415,7 @@ func (e *CreateDeploymentFrameworkRequest) UnmarshalJSON(data []byte) error { type CreateDeploymentNodeVersionRequest string const ( + CreateDeploymentNodeVersionRequestTwentyFourDotX CreateDeploymentNodeVersionRequest = "24.x" CreateDeploymentNodeVersionRequestTwentyTwoDotX CreateDeploymentNodeVersionRequest = "22.x" CreateDeploymentNodeVersionRequestTwentyDotX CreateDeploymentNodeVersionRequest = "20.x" CreateDeploymentNodeVersionRequestEighteenDotX CreateDeploymentNodeVersionRequest = "18.x" @@ -1419,6 +1435,8 @@ func (e *CreateDeploymentNodeVersionRequest) UnmarshalJSON(data []byte) error { return err } switch v { + case "24.x": + fallthrough case "22.x": fallthrough case "20.x": @@ -1664,8 +1682,8 @@ type CreateDeploymentRequest struct { // The Team identifier to perform the request on behalf of. TeamID *string `queryParam:"style=form,explode=true,name=teamId"` // The Team slug to perform the request on behalf of. - Slug *string `queryParam:"style=form,explode=true,name=slug"` - RequestBody CreateDeploymentRequestBody `request:"mediaType=application/json"` + Slug *string `queryParam:"style=form,explode=true,name=slug"` + Body CreateDeploymentRequestBody `request:"mediaType=application/json"` } func (o *CreateDeploymentRequest) GetForceNew() *ForceNew { @@ -1696,11 +1714,11 @@ func (o *CreateDeploymentRequest) GetSlug() *string { return o.Slug } -func (o *CreateDeploymentRequest) GetRequestBody() CreateDeploymentRequestBody { +func (o *CreateDeploymentRequest) GetBody() CreateDeploymentRequestBody { if o == nil { return CreateDeploymentRequestBody{} } - return o.RequestBody + return o.Body } type CreateDeploymentAliasAssignedAtType string @@ -1846,10 +1864,12 @@ const ( CreateDeploymentFrameworkLambdasZola CreateDeploymentFrameworkLambdas = "zola" CreateDeploymentFrameworkLambdasHydrogen CreateDeploymentFrameworkLambdas = "hydrogen" CreateDeploymentFrameworkLambdasVite CreateDeploymentFrameworkLambdas = "vite" + CreateDeploymentFrameworkLambdasTanstackStart CreateDeploymentFrameworkLambdas = "tanstack-start" CreateDeploymentFrameworkLambdasVitepress CreateDeploymentFrameworkLambdas = "vitepress" CreateDeploymentFrameworkLambdasVuepress CreateDeploymentFrameworkLambdas = "vuepress" CreateDeploymentFrameworkLambdasParcel CreateDeploymentFrameworkLambdas = "parcel" CreateDeploymentFrameworkLambdasFastapi CreateDeploymentFrameworkLambdas = "fastapi" + CreateDeploymentFrameworkLambdasFlask CreateDeploymentFrameworkLambdas = "flask" CreateDeploymentFrameworkLambdasFasthtml CreateDeploymentFrameworkLambdas = "fasthtml" CreateDeploymentFrameworkLambdasSanityV3 CreateDeploymentFrameworkLambdas = "sanity-v3" CreateDeploymentFrameworkLambdasSanity CreateDeploymentFrameworkLambdas = "sanity" @@ -1858,6 +1878,9 @@ const ( CreateDeploymentFrameworkLambdasHono CreateDeploymentFrameworkLambdas = "hono" CreateDeploymentFrameworkLambdasExpress CreateDeploymentFrameworkLambdas = "express" CreateDeploymentFrameworkLambdasH3 CreateDeploymentFrameworkLambdas = "h3" + CreateDeploymentFrameworkLambdasNestjs CreateDeploymentFrameworkLambdas = "nestjs" + CreateDeploymentFrameworkLambdasElysia CreateDeploymentFrameworkLambdas = "elysia" + CreateDeploymentFrameworkLambdasFastify CreateDeploymentFrameworkLambdas = "fastify" CreateDeploymentFrameworkLambdasXmcp CreateDeploymentFrameworkLambdas = "xmcp" ) @@ -1948,6 +1971,8 @@ func (e *CreateDeploymentFrameworkLambdas) UnmarshalJSON(data []byte) error { fallthrough case "vite": fallthrough + case "tanstack-start": + fallthrough case "vitepress": fallthrough case "vuepress": @@ -1956,6 +1981,8 @@ func (e *CreateDeploymentFrameworkLambdas) UnmarshalJSON(data []byte) error { fallthrough case "fastapi": fallthrough + case "flask": + fallthrough case "fasthtml": fallthrough case "sanity-v3": @@ -1972,6 +1999,12 @@ func (e *CreateDeploymentFrameworkLambdas) UnmarshalJSON(data []byte) error { fallthrough case "h3": fallthrough + case "nestjs": + fallthrough + case "elysia": + fallthrough + case "fastify": + fallthrough case "xmcp": *e = CreateDeploymentFrameworkLambdas(v) return nil @@ -2076,9 +2109,9 @@ func (o *CreateDeploymentWebAnalytics) GetHasData() *bool { type CreateDeploymentProjectSettingsLambdas struct { BuildCommand *string `json:"buildCommand,omitempty"` - CommandForIgnoringBuildStep *string `json:"commandForIgnoringBuildStep,omitempty"` DevCommand *string `json:"devCommand,omitempty"` Framework *CreateDeploymentFrameworkLambdas `json:"framework,omitempty"` + CommandForIgnoringBuildStep *string `json:"commandForIgnoringBuildStep,omitempty"` InstallCommand *string `json:"installCommand,omitempty"` OutputDirectory *string `json:"outputDirectory,omitempty"` SpeedInsights *CreateDeploymentSpeedInsights `json:"speedInsights,omitempty"` @@ -2092,25 +2125,25 @@ func (o *CreateDeploymentProjectSettingsLambdas) GetBuildCommand() *string { return o.BuildCommand } -func (o *CreateDeploymentProjectSettingsLambdas) GetCommandForIgnoringBuildStep() *string { +func (o *CreateDeploymentProjectSettingsLambdas) GetDevCommand() *string { if o == nil { return nil } - return o.CommandForIgnoringBuildStep + return o.DevCommand } -func (o *CreateDeploymentProjectSettingsLambdas) GetDevCommand() *string { +func (o *CreateDeploymentProjectSettingsLambdas) GetFramework() *CreateDeploymentFrameworkLambdas { if o == nil { return nil } - return o.DevCommand + return o.Framework } -func (o *CreateDeploymentProjectSettingsLambdas) GetFramework() *CreateDeploymentFrameworkLambdas { +func (o *CreateDeploymentProjectSettingsLambdas) GetCommandForIgnoringBuildStep() *string { if o == nil { return nil } - return o.Framework + return o.CommandForIgnoringBuildStep } func (o *CreateDeploymentProjectSettingsLambdas) GetInstallCommand() *string { @@ -2450,10 +2483,14 @@ func (o *CreateDeploymentImages) GetContentDispositionType() *CreateDeploymentCo return o.ContentDispositionType } +// CreateDeploymentCreator - Information about the deployment creator type CreateDeploymentCreator struct { - UID string `json:"uid"` + // The ID of the user that created the deployment + UID string `json:"uid"` + // The username of the user that created the deployment Username *string `json:"username,omitempty"` - Avatar *string `json:"avatar,omitempty"` + // The avatar of the user that created the deployment + Avatar *string `json:"avatar,omitempty"` } func (o *CreateDeploymentCreator) GetUID() string { @@ -2583,12 +2620,12 @@ func (o *CreateDeploymentLambda) GetOutput() []CreateDeploymentOutput { type CreateDeploymentStatus string const ( - CreateDeploymentStatusCanceled CreateDeploymentStatus = "CANCELED" - CreateDeploymentStatusError CreateDeploymentStatus = "ERROR" CreateDeploymentStatusQueued CreateDeploymentStatus = "QUEUED" CreateDeploymentStatusBuilding CreateDeploymentStatus = "BUILDING" + CreateDeploymentStatusError CreateDeploymentStatus = "ERROR" CreateDeploymentStatusInitializing CreateDeploymentStatus = "INITIALIZING" CreateDeploymentStatusReady CreateDeploymentStatus = "READY" + CreateDeploymentStatusCanceled CreateDeploymentStatus = "CANCELED" ) func (e CreateDeploymentStatus) ToPointer() *CreateDeploymentStatus { @@ -2600,17 +2637,17 @@ func (e *CreateDeploymentStatus) UnmarshalJSON(data []byte) error { return err } switch v { - case "CANCELED": - fallthrough - case "ERROR": - fallthrough case "QUEUED": fallthrough case "BUILDING": fallthrough + case "ERROR": + fallthrough case "INITIALIZING": fallthrough case "READY": + fallthrough + case "CANCELED": *e = CreateDeploymentStatus(v) return nil default: @@ -2618,6 +2655,7 @@ func (e *CreateDeploymentStatus) UnmarshalJSON(data []byte) error { } } +// CreateDeploymentTeam - The team that owns the deployment if any type CreateDeploymentTeam struct { ID string `json:"id"` Name string `json:"name"` @@ -2653,6 +2691,7 @@ func (o *CreateDeploymentTeam) GetAvatar() *string { return o.Avatar } +// CreateDeploymentCustomEnvironment2 - If the deployment was created using a Custom Environment, then this property contains information regarding the environment used. type CreateDeploymentCustomEnvironment2 struct { ID string `json:"id"` } @@ -2920,7 +2959,7 @@ func (o *CreateDeploymentDomain) GetVerification() []CreateDeploymentVerificatio return o.Verification } -// CreateDeploymentCustomEnvironment1 - Internal representation of a custom environment with all required properties +// CreateDeploymentCustomEnvironment1 - If the deployment was created using a Custom Environment, then this property contains information regarding the environment used. type CreateDeploymentCustomEnvironment1 struct { // Unique identifier for the custom environment (format: env_*) ID string `json:"id"` @@ -3102,6 +3141,80 @@ func (e *CreateDeploymentOomReport) UnmarshalJSON(data []byte) error { } } +type CreateDeploymentAliasWarning struct { + Code string `json:"code"` + Message string `json:"message"` + Link *string `json:"link,omitempty"` + Action *string `json:"action,omitempty"` +} + +func (o *CreateDeploymentAliasWarning) GetCode() string { + if o == nil { + return "" + } + return o.Code +} + +func (o *CreateDeploymentAliasWarning) GetMessage() string { + if o == nil { + return "" + } + return o.Message +} + +func (o *CreateDeploymentAliasWarning) GetLink() *string { + if o == nil { + return nil + } + return o.Link +} + +func (o *CreateDeploymentAliasWarning) GetAction() *string { + if o == nil { + return nil + } + return o.Action +} + +// CreateDeploymentReadyState - The state of the deployment depending on the process of deploying, or if it is ready or in an error state +type CreateDeploymentReadyState string + +const ( + CreateDeploymentReadyStateQueued CreateDeploymentReadyState = "QUEUED" + CreateDeploymentReadyStateBuilding CreateDeploymentReadyState = "BUILDING" + CreateDeploymentReadyStateError CreateDeploymentReadyState = "ERROR" + CreateDeploymentReadyStateInitializing CreateDeploymentReadyState = "INITIALIZING" + CreateDeploymentReadyStateReady CreateDeploymentReadyState = "READY" + CreateDeploymentReadyStateCanceled CreateDeploymentReadyState = "CANCELED" +) + +func (e CreateDeploymentReadyState) ToPointer() *CreateDeploymentReadyState { + return &e +} +func (e *CreateDeploymentReadyState) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "QUEUED": + fallthrough + case "BUILDING": + fallthrough + case "ERROR": + fallthrough + case "INITIALIZING": + fallthrough + case "READY": + fallthrough + case "CANCELED": + *e = CreateDeploymentReadyState(v) + return nil + default: + return fmt.Errorf("invalid value for CreateDeploymentReadyState: %v", v) + } +} + type CreateDeploymentTypeLambdas string const ( @@ -3125,6 +3238,87 @@ func (e *CreateDeploymentTypeLambdas) UnmarshalJSON(data []byte) error { } } +// CreateDeploymentAliasError - An object that will contain a `code` and a `message` when the aliasing fails, otherwise the value will be `null` +type CreateDeploymentAliasError struct { + Code string `json:"code"` + Message string `json:"message"` +} + +func (o *CreateDeploymentAliasError) GetCode() string { + if o == nil { + return "" + } + return o.Code +} + +func (o *CreateDeploymentAliasError) GetMessage() string { + if o == nil { + return "" + } + return o.Message +} + +type CreateDeploymentChecksState string + +const ( + CreateDeploymentChecksStateRegistered CreateDeploymentChecksState = "registered" + CreateDeploymentChecksStateRunning CreateDeploymentChecksState = "running" + CreateDeploymentChecksStateCompleted CreateDeploymentChecksState = "completed" +) + +func (e CreateDeploymentChecksState) ToPointer() *CreateDeploymentChecksState { + return &e +} +func (e *CreateDeploymentChecksState) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "registered": + fallthrough + case "running": + fallthrough + case "completed": + *e = CreateDeploymentChecksState(v) + return nil + default: + return fmt.Errorf("invalid value for CreateDeploymentChecksState: %v", v) + } +} + +type CreateDeploymentChecksConclusion string + +const ( + CreateDeploymentChecksConclusionSucceeded CreateDeploymentChecksConclusion = "succeeded" + CreateDeploymentChecksConclusionFailed CreateDeploymentChecksConclusion = "failed" + CreateDeploymentChecksConclusionSkipped CreateDeploymentChecksConclusion = "skipped" + CreateDeploymentChecksConclusionCanceled CreateDeploymentChecksConclusion = "canceled" +) + +func (e CreateDeploymentChecksConclusion) ToPointer() *CreateDeploymentChecksConclusion { + return &e +} +func (e *CreateDeploymentChecksConclusion) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "succeeded": + fallthrough + case "failed": + fallthrough + case "skipped": + fallthrough + case "canceled": + *e = CreateDeploymentChecksConclusion(v) + return nil + default: + return fmt.Errorf("invalid value for CreateDeploymentChecksConclusion: %v", v) + } +} + type CreateDeploymentGitSourceTypeLambdasBitbucket3 string const ( @@ -4970,37 +5164,11 @@ func (u CreateDeploymentGitSourceLambdasUnion) MarshalJSON() ([]byte, error) { return nil, errors.New("could not marshal union type CreateDeploymentGitSourceLambdasUnion: all fields are null") } -type CreateDeploymentProject struct { - ID string `json:"id"` - Name string `json:"name"` - Framework *string `json:"framework,omitempty"` -} - -func (o *CreateDeploymentProject) GetID() string { - if o == nil { - return "" - } - return o.ID -} - -func (o *CreateDeploymentProject) GetName() string { - if o == nil { - return "" - } - return o.Name -} - -func (o *CreateDeploymentProject) GetFramework() *string { - if o == nil { - return nil - } - return o.Framework -} - // CreateDeploymentNodeVersionLambdas - If set it overrides the `projectSettings.nodeVersion` for this deployment. type CreateDeploymentNodeVersionLambdas string const ( + CreateDeploymentNodeVersionLambdasTwentyFourDotX CreateDeploymentNodeVersionLambdas = "24.x" CreateDeploymentNodeVersionLambdasTwentyTwoDotX CreateDeploymentNodeVersionLambdas = "22.x" CreateDeploymentNodeVersionLambdasTwentyDotX CreateDeploymentNodeVersionLambdas = "20.x" CreateDeploymentNodeVersionLambdasEighteenDotX CreateDeploymentNodeVersionLambdas = "18.x" @@ -5020,6 +5188,8 @@ func (e *CreateDeploymentNodeVersionLambdas) UnmarshalJSON(data []byte) error { return err } switch v { + case "24.x": + fallthrough case "22.x": fallthrough case "20.x": @@ -5042,53 +5212,74 @@ func (e *CreateDeploymentNodeVersionLambdas) UnmarshalJSON(data []byte) error { } } -type CreateDeploymentReadyState string +// CreateDeploymentProject - The public project information associated with the deployment. +type CreateDeploymentProject struct { + ID string `json:"id"` + Name string `json:"name"` + Framework *string `json:"framework,omitempty"` +} -const ( - CreateDeploymentReadyStateCanceled CreateDeploymentReadyState = "CANCELED" - CreateDeploymentReadyStateError CreateDeploymentReadyState = "ERROR" - CreateDeploymentReadyStateQueued CreateDeploymentReadyState = "QUEUED" - CreateDeploymentReadyStateBuilding CreateDeploymentReadyState = "BUILDING" - CreateDeploymentReadyStateInitializing CreateDeploymentReadyState = "INITIALIZING" - CreateDeploymentReadyStateReady CreateDeploymentReadyState = "READY" -) +func (o *CreateDeploymentProject) GetID() string { + if o == nil { + return "" + } + return o.ID +} -func (e CreateDeploymentReadyState) ToPointer() *CreateDeploymentReadyState { - return &e +func (o *CreateDeploymentProject) GetName() string { + if o == nil { + return "" + } + return o.Name } -func (e *CreateDeploymentReadyState) UnmarshalJSON(data []byte) error { - var v string - if err := json.Unmarshal(data, &v); err != nil { - return err + +func (o *CreateDeploymentProject) GetFramework() *string { + if o == nil { + return nil } - switch v { - case "CANCELED": - fallthrough - case "ERROR": - fallthrough - case "QUEUED": - fallthrough - case "BUILDING": + return o.Framework +} + +// CreateDeploymentReadySubstate - Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - ROLLING: in the process of having production traffic gradually transitioned. - PROMOTED: has seen production traffic +type CreateDeploymentReadySubstate string + +const ( + CreateDeploymentReadySubstateStaged CreateDeploymentReadySubstate = "STAGED" + CreateDeploymentReadySubstateRolling CreateDeploymentReadySubstate = "ROLLING" + CreateDeploymentReadySubstatePromoted CreateDeploymentReadySubstate = "PROMOTED" +) + +func (e CreateDeploymentReadySubstate) ToPointer() *CreateDeploymentReadySubstate { + return &e +} +func (e *CreateDeploymentReadySubstate) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "STAGED": fallthrough - case "INITIALIZING": + case "ROLLING": fallthrough - case "READY": - *e = CreateDeploymentReadyState(v) + case "PROMOTED": + *e = CreateDeploymentReadySubstate(v) return nil default: - return fmt.Errorf("invalid value for CreateDeploymentReadyState: %v", v) + return fmt.Errorf("invalid value for CreateDeploymentReadySubstate: %v", v) } } +// CreateDeploymentSource - Where was the deployment created from type CreateDeploymentSource string const ( + CreateDeploymentSourceAPITriggerGitDeploy CreateDeploymentSource = "api-trigger-git-deploy" CreateDeploymentSourceCli CreateDeploymentSource = "cli" + CreateDeploymentSourceCloneRepo CreateDeploymentSource = "clone/repo" CreateDeploymentSourceGit CreateDeploymentSource = "git" CreateDeploymentSourceImport CreateDeploymentSource = "import" CreateDeploymentSourceImportRepo CreateDeploymentSource = "import/repo" - CreateDeploymentSourceCloneRepo CreateDeploymentSource = "clone/repo" - CreateDeploymentSourceAPITriggerGitDeploy CreateDeploymentSource = "api-trigger-git-deploy" CreateDeploymentSourceRedeploy CreateDeploymentSource = "redeploy" CreateDeploymentSourceV0Web CreateDeploymentSource = "v0-web" ) @@ -5102,18 +5293,18 @@ func (e *CreateDeploymentSource) UnmarshalJSON(data []byte) error { return err } switch v { + case "api-trigger-git-deploy": + fallthrough case "cli": fallthrough + case "clone/repo": + fallthrough case "git": fallthrough case "import": fallthrough case "import/repo": fallthrough - case "clone/repo": - fallthrough - case "api-trigger-git-deploy": - fallthrough case "redeploy": fallthrough case "v0-web": @@ -5124,11 +5315,12 @@ func (e *CreateDeploymentSource) UnmarshalJSON(data []byte) error { } } +// CreateDeploymentTargetEnum - If defined, either `staging` if a staging alias in the format `..now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment. type CreateDeploymentTargetEnum string const ( - CreateDeploymentTargetEnumProduction CreateDeploymentTargetEnum = "production" CreateDeploymentTargetEnumStaging CreateDeploymentTargetEnum = "staging" + CreateDeploymentTargetEnumProduction CreateDeploymentTargetEnum = "production" ) func (e CreateDeploymentTargetEnum) ToPointer() *CreateDeploymentTargetEnum { @@ -5140,9 +5332,9 @@ func (e *CreateDeploymentTargetEnum) UnmarshalJSON(data []byte) error { return err } switch v { - case "production": - fallthrough case "staging": + fallthrough + case "production": *e = CreateDeploymentTargetEnum(v) return nil default: @@ -5150,121 +5342,6 @@ func (e *CreateDeploymentTargetEnum) UnmarshalJSON(data []byte) error { } } -type CreateDeploymentAliasError struct { - Code string `json:"code"` - Message string `json:"message"` -} - -func (o *CreateDeploymentAliasError) GetCode() string { - if o == nil { - return "" - } - return o.Code -} - -func (o *CreateDeploymentAliasError) GetMessage() string { - if o == nil { - return "" - } - return o.Message -} - -type CreateDeploymentAliasWarning struct { - Code string `json:"code"` - Message string `json:"message"` - Link *string `json:"link,omitempty"` - Action *string `json:"action,omitempty"` -} - -func (o *CreateDeploymentAliasWarning) GetCode() string { - if o == nil { - return "" - } - return o.Code -} - -func (o *CreateDeploymentAliasWarning) GetMessage() string { - if o == nil { - return "" - } - return o.Message -} - -func (o *CreateDeploymentAliasWarning) GetLink() *string { - if o == nil { - return nil - } - return o.Link -} - -func (o *CreateDeploymentAliasWarning) GetAction() *string { - if o == nil { - return nil - } - return o.Action -} - -type CreateDeploymentChecksConclusion string - -const ( - CreateDeploymentChecksConclusionSucceeded CreateDeploymentChecksConclusion = "succeeded" - CreateDeploymentChecksConclusionFailed CreateDeploymentChecksConclusion = "failed" - CreateDeploymentChecksConclusionSkipped CreateDeploymentChecksConclusion = "skipped" - CreateDeploymentChecksConclusionCanceled CreateDeploymentChecksConclusion = "canceled" -) - -func (e CreateDeploymentChecksConclusion) ToPointer() *CreateDeploymentChecksConclusion { - return &e -} -func (e *CreateDeploymentChecksConclusion) UnmarshalJSON(data []byte) error { - var v string - if err := json.Unmarshal(data, &v); err != nil { - return err - } - switch v { - case "succeeded": - fallthrough - case "failed": - fallthrough - case "skipped": - fallthrough - case "canceled": - *e = CreateDeploymentChecksConclusion(v) - return nil - default: - return fmt.Errorf("invalid value for CreateDeploymentChecksConclusion: %v", v) - } -} - -type CreateDeploymentChecksState string - -const ( - CreateDeploymentChecksStateRegistered CreateDeploymentChecksState = "registered" - CreateDeploymentChecksStateRunning CreateDeploymentChecksState = "running" - CreateDeploymentChecksStateCompleted CreateDeploymentChecksState = "completed" -) - -func (e CreateDeploymentChecksState) ToPointer() *CreateDeploymentChecksState { - return &e -} -func (e *CreateDeploymentChecksState) UnmarshalJSON(data []byte) error { - var v string - if err := json.Unmarshal(data, &v); err != nil { - return err - } - switch v { - case "registered": - fallthrough - case "running": - fallthrough - case "completed": - *e = CreateDeploymentChecksState(v) - return nil - default: - return fmt.Errorf("invalid value for CreateDeploymentChecksState: %v", v) - } -} - type CreateDeploymentOidcTokenClaims struct { Iss string `json:"iss"` Sub string `json:"sub"` @@ -5275,6 +5352,7 @@ type CreateDeploymentOidcTokenClaims struct { Project string `json:"project"` ProjectID string `json:"project_id"` Environment string `json:"environment"` + Plan string `json:"plan"` } func (o *CreateDeploymentOidcTokenClaims) GetIss() string { @@ -5340,42 +5418,19 @@ func (o *CreateDeploymentOidcTokenClaims) GetEnvironment() string { return o.Environment } -// CreateDeploymentReadySubstate - Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - ROLLING: in the process of having production traffic gradually transitioned. - PROMOTED: has seen production traffic -type CreateDeploymentReadySubstate string - -const ( - CreateDeploymentReadySubstateStaged CreateDeploymentReadySubstate = "STAGED" - CreateDeploymentReadySubstateRolling CreateDeploymentReadySubstate = "ROLLING" - CreateDeploymentReadySubstatePromoted CreateDeploymentReadySubstate = "PROMOTED" -) - -func (e CreateDeploymentReadySubstate) ToPointer() *CreateDeploymentReadySubstate { - return &e -} -func (e *CreateDeploymentReadySubstate) UnmarshalJSON(data []byte) error { - var v string - if err := json.Unmarshal(data, &v); err != nil { - return err - } - switch v { - case "STAGED": - fallthrough - case "ROLLING": - fallthrough - case "PROMOTED": - *e = CreateDeploymentReadySubstate(v) - return nil - default: - return fmt.Errorf("invalid value for CreateDeploymentReadySubstate: %v", v) +func (o *CreateDeploymentOidcTokenClaims) GetPlan() string { + if o == nil { + return "" } + return o.Plan } type CreateDeploymentPlan string const ( - CreateDeploymentPlanHobby CreateDeploymentPlan = "hobby" CreateDeploymentPlanPro CreateDeploymentPlan = "pro" CreateDeploymentPlanEnterprise CreateDeploymentPlan = "enterprise" + CreateDeploymentPlanHobby CreateDeploymentPlan = "hobby" ) func (e CreateDeploymentPlan) ToPointer() *CreateDeploymentPlan { @@ -5387,11 +5442,11 @@ func (e *CreateDeploymentPlan) UnmarshalJSON(data []byte) error { return err } switch v { - case "hobby": - fallthrough case "pro": fallthrough case "enterprise": + fallthrough + case "hobby": *e = CreateDeploymentPlan(v) return nil default: @@ -5399,158 +5454,62 @@ func (e *CreateDeploymentPlan) UnmarshalJSON(data []byte) error { } } -type CreateDeploymentFunctionType string +type CreateDeploymentCron struct { + Schedule string `json:"schedule"` + Path string `json:"path"` +} + +func (o *CreateDeploymentCron) GetSchedule() string { + if o == nil { + return "" + } + return o.Schedule +} + +func (o *CreateDeploymentCron) GetPath() string { + if o == nil { + return "" + } + return o.Path +} + +type CreateDeploymentArchitecture string const ( - CreateDeploymentFunctionTypeFluid CreateDeploymentFunctionType = "fluid" - CreateDeploymentFunctionTypeStandard CreateDeploymentFunctionType = "standard" + CreateDeploymentArchitectureX8664 CreateDeploymentArchitecture = "x86_64" + CreateDeploymentArchitectureArm64 CreateDeploymentArchitecture = "arm64" ) -func (e CreateDeploymentFunctionType) ToPointer() *CreateDeploymentFunctionType { +func (e CreateDeploymentArchitecture) ToPointer() *CreateDeploymentArchitecture { return &e } -func (e *CreateDeploymentFunctionType) UnmarshalJSON(data []byte) error { +func (e *CreateDeploymentArchitecture) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { return err } switch v { - case "fluid": + case "x86_64": fallthrough - case "standard": - *e = CreateDeploymentFunctionType(v) + case "arm64": + *e = CreateDeploymentArchitecture(v) return nil default: - return fmt.Errorf("invalid value for CreateDeploymentFunctionType: %v", v) + return fmt.Errorf("invalid value for CreateDeploymentArchitecture: %v", v) } } -type CreateDeploymentFunctionMemoryType string +// CreateDeploymentFunctionsType - Event type - must be "queue/v1beta" (REQUIRED) +type CreateDeploymentFunctionsType string const ( - CreateDeploymentFunctionMemoryTypeStandard CreateDeploymentFunctionMemoryType = "standard" - CreateDeploymentFunctionMemoryTypeStandardLegacy CreateDeploymentFunctionMemoryType = "standard_legacy" - CreateDeploymentFunctionMemoryTypePerformance CreateDeploymentFunctionMemoryType = "performance" + CreateDeploymentFunctionsTypeQueueV1beta CreateDeploymentFunctionsType = "queue/v1beta" ) -func (e CreateDeploymentFunctionMemoryType) ToPointer() *CreateDeploymentFunctionMemoryType { +func (e CreateDeploymentFunctionsType) ToPointer() *CreateDeploymentFunctionsType { return &e } -func (e *CreateDeploymentFunctionMemoryType) UnmarshalJSON(data []byte) error { - var v string - if err := json.Unmarshal(data, &v); err != nil { - return err - } - switch v { - case "standard": - fallthrough - case "standard_legacy": - fallthrough - case "performance": - *e = CreateDeploymentFunctionMemoryType(v) - return nil - default: - return fmt.Errorf("invalid value for CreateDeploymentFunctionMemoryType: %v", v) - } -} - -// CreateDeploymentConfig - Since February 2025 the configuration must include snapshot data at the time of deployment creation to capture properties for the /deployments/:id/config endpoint utilized for displaying Deployment Configuration on the frontend This is optional because older deployments may not have this data captured -type CreateDeploymentConfig struct { - Version *float64 `json:"version,omitempty"` - FunctionType CreateDeploymentFunctionType `json:"functionType"` - FunctionMemoryType CreateDeploymentFunctionMemoryType `json:"functionMemoryType"` - FunctionTimeout *float64 `json:"functionTimeout"` - SecureComputePrimaryRegion *string `json:"secureComputePrimaryRegion"` - SecureComputeFallbackRegion *string `json:"secureComputeFallbackRegion"` - IsUsingActiveCPU *bool `json:"isUsingActiveCPU,omitempty"` -} - -func (o *CreateDeploymentConfig) GetVersion() *float64 { - if o == nil { - return nil - } - return o.Version -} - -func (o *CreateDeploymentConfig) GetFunctionType() CreateDeploymentFunctionType { - if o == nil { - return CreateDeploymentFunctionType("") - } - return o.FunctionType -} - -func (o *CreateDeploymentConfig) GetFunctionMemoryType() CreateDeploymentFunctionMemoryType { - if o == nil { - return CreateDeploymentFunctionMemoryType("") - } - return o.FunctionMemoryType -} - -func (o *CreateDeploymentConfig) GetFunctionTimeout() *float64 { - if o == nil { - return nil - } - return o.FunctionTimeout -} - -func (o *CreateDeploymentConfig) GetSecureComputePrimaryRegion() *string { - if o == nil { - return nil - } - return o.SecureComputePrimaryRegion -} - -func (o *CreateDeploymentConfig) GetSecureComputeFallbackRegion() *string { - if o == nil { - return nil - } - return o.SecureComputeFallbackRegion -} - -func (o *CreateDeploymentConfig) GetIsUsingActiveCPU() *bool { - if o == nil { - return nil - } - return o.IsUsingActiveCPU -} - -type CreateDeploymentArchitecture string - -const ( - CreateDeploymentArchitectureX8664 CreateDeploymentArchitecture = "x86_64" - CreateDeploymentArchitectureArm64 CreateDeploymentArchitecture = "arm64" -) - -func (e CreateDeploymentArchitecture) ToPointer() *CreateDeploymentArchitecture { - return &e -} -func (e *CreateDeploymentArchitecture) UnmarshalJSON(data []byte) error { - var v string - if err := json.Unmarshal(data, &v); err != nil { - return err - } - switch v { - case "x86_64": - fallthrough - case "arm64": - *e = CreateDeploymentArchitecture(v) - return nil - default: - return fmt.Errorf("invalid value for CreateDeploymentArchitecture: %v", v) - } -} - -// CreateDeploymentFunctionsType - Event type - must be "queue/v1beta" (REQUIRED) -type CreateDeploymentFunctionsType string - -const ( - CreateDeploymentFunctionsTypeQueueV1beta CreateDeploymentFunctionsType = "queue/v1beta" -) - -func (e CreateDeploymentFunctionsType) ToPointer() *CreateDeploymentFunctionsType { - return &e -} -func (e *CreateDeploymentFunctionsType) UnmarshalJSON(data []byte) error { +func (e *CreateDeploymentFunctionsType) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { return err @@ -7822,386 +7781,510 @@ func (u CreateDeploymentRouteUnion) MarshalJSON() ([]byte, error) { return nil, errors.New("could not marshal union type CreateDeploymentRouteUnion: all fields are null") } -type CreateDeploymentCron struct { - Schedule string `json:"schedule"` - Path string `json:"path"` -} +type CreateDeploymentGitRepoTypeBitbucket string -func (o *CreateDeploymentCron) GetSchedule() string { - if o == nil { - return "" - } - return o.Schedule -} +const ( + CreateDeploymentGitRepoTypeBitbucketBitbucket CreateDeploymentGitRepoTypeBitbucket = "bitbucket" +) -func (o *CreateDeploymentCron) GetPath() string { - if o == nil { - return "" +func (e CreateDeploymentGitRepoTypeBitbucket) ToPointer() *CreateDeploymentGitRepoTypeBitbucket { + return &e +} +func (e *CreateDeploymentGitRepoTypeBitbucket) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "bitbucket": + *e = CreateDeploymentGitRepoTypeBitbucket(v) + return nil + default: + return fmt.Errorf("invalid value for CreateDeploymentGitRepoTypeBitbucket: %v", v) } - return o.Path } -type CreateDeploymentState string +type CreateDeploymentOwnerType3 string const ( - CreateDeploymentStateSucceeded CreateDeploymentState = "succeeded" - CreateDeploymentStateFailed CreateDeploymentState = "failed" - CreateDeploymentStatePending CreateDeploymentState = "pending" + CreateDeploymentOwnerType3Team CreateDeploymentOwnerType3 = "team" + CreateDeploymentOwnerType3User CreateDeploymentOwnerType3 = "user" ) -func (e CreateDeploymentState) ToPointer() *CreateDeploymentState { +func (e CreateDeploymentOwnerType3) ToPointer() *CreateDeploymentOwnerType3 { return &e } -func (e *CreateDeploymentState) UnmarshalJSON(data []byte) error { +func (e *CreateDeploymentOwnerType3) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { return err } switch v { - case "succeeded": - fallthrough - case "failed": + case "team": fallthrough - case "pending": - *e = CreateDeploymentState(v) + case "user": + *e = CreateDeploymentOwnerType3(v) return nil default: - return fmt.Errorf("invalid value for CreateDeploymentState: %v", v) + return fmt.Errorf("invalid value for CreateDeploymentOwnerType3: %v", v) } } -// CreateDeploymentDeploymentAlias - Condensed check data. Retrieve individual check and check run data using api-checks v2 routes. -type CreateDeploymentDeploymentAlias struct { - State CreateDeploymentState `json:"state"` - StartedAt float64 `json:"startedAt"` - CompletedAt *float64 `json:"completedAt,omitempty"` +type CreateDeploymentGitRepoBitbucket struct { + Owner string `json:"owner"` + RepoUUID string `json:"repoUuid"` + Slug string `json:"slug"` + Type CreateDeploymentGitRepoTypeBitbucket `json:"type"` + WorkspaceUUID string `json:"workspaceUuid"` + Path string `json:"path"` + DefaultBranch string `json:"defaultBranch"` + Name string `json:"name"` + Private bool `json:"private"` + OwnerType CreateDeploymentOwnerType3 `json:"ownerType"` } -func (o *CreateDeploymentDeploymentAlias) GetState() CreateDeploymentState { - if o == nil { - return CreateDeploymentState("") - } - return o.State +func (c CreateDeploymentGitRepoBitbucket) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(c, "", false) } -func (o *CreateDeploymentDeploymentAlias) GetStartedAt() float64 { - if o == nil { - return 0.0 +func (c *CreateDeploymentGitRepoBitbucket) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &c, "", false, []string{"owner", "repoUuid", "slug", "type", "workspaceUuid", "path", "defaultBranch", "name", "private", "ownerType"}); err != nil { + return err } - return o.StartedAt + return nil } -func (o *CreateDeploymentDeploymentAlias) GetCompletedAt() *float64 { +func (o *CreateDeploymentGitRepoBitbucket) GetOwner() string { if o == nil { - return nil + return "" } - return o.CompletedAt -} - -type CreateDeploymentChecks struct { - // Condensed check data. Retrieve individual check and check run data using api-checks v2 routes. - DeploymentAlias CreateDeploymentDeploymentAlias `json:"deployment-alias"` + return o.Owner } -func (o *CreateDeploymentChecks) GetDeploymentAlias() CreateDeploymentDeploymentAlias { +func (o *CreateDeploymentGitRepoBitbucket) GetRepoUUID() string { if o == nil { - return CreateDeploymentDeploymentAlias{} + return "" } - return o.DeploymentAlias -} - -// CreateDeploymentApplications - 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. Note: this field will be removed when MFE alias routing is fully rolled out. -type CreateDeploymentApplications struct { - IsDefaultApp *bool `json:"isDefaultApp,omitempty"` - // This is the production alias, it will always show the most up to date of each application. - ProductionHost string `json:"productionHost"` - // 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 `json:"deploymentAlias,omitempty"` - DeploymentHost *string `json:"deploymentHost,omitempty"` -} - -func (c CreateDeploymentApplications) MarshalJSON() ([]byte, error) { - return utils.MarshalJSON(c, "", false) + return o.RepoUUID } -func (c *CreateDeploymentApplications) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &c, "", false, []string{"productionHost"}); err != nil { - return err +func (o *CreateDeploymentGitRepoBitbucket) GetSlug() string { + if o == nil { + return "" } - return nil + return o.Slug } -func (o *CreateDeploymentApplications) GetIsDefaultApp() *bool { +func (o *CreateDeploymentGitRepoBitbucket) GetType() CreateDeploymentGitRepoTypeBitbucket { if o == nil { - return nil + return CreateDeploymentGitRepoTypeBitbucket("") } - return o.IsDefaultApp + return o.Type } -func (o *CreateDeploymentApplications) GetProductionHost() string { +func (o *CreateDeploymentGitRepoBitbucket) GetWorkspaceUUID() string { if o == nil { return "" } - return o.ProductionHost + return o.WorkspaceUUID } -func (o *CreateDeploymentApplications) GetDeploymentAlias() *string { +func (o *CreateDeploymentGitRepoBitbucket) GetPath() string { if o == nil { - return nil + return "" } - return o.DeploymentAlias + return o.Path } -func (o *CreateDeploymentApplications) GetDeploymentHost() *string { +func (o *CreateDeploymentGitRepoBitbucket) GetDefaultBranch() string { if o == nil { - return nil + return "" } - return o.DeploymentHost + return o.DefaultBranch } -// CreateDeploymentMfeConfigUploadState - The result of the microfrontends config upload during deployment creation / build. Only set for default app deployments. The config upload is attempted during deployment create, and then again during the build. If the config is not in the root directory, or the deployment is prebuilt, the config cannot be uploaded during deployment create. The upload during deployment build finds the config even if it's not in the root directory, as it has access to all files. Uploading the config during create is ideal, as then all child deployments are guaranteed to have access to the default app deployment config even if the default app has not yet started building. If the config is not uploaded, the child app will show as building until the config has been uploaded during the default app build. - `success` - The config was uploaded successfully, either when the deployment was created or during the build. - `waiting_on_build` - The config could not be uploaded during deployment create, will be attempted again during the build. - `no_config` - No config was found. Only set once the build has not found the config in any of the deployment's files. - `undefined` - Legacy deployments, or there was an error uploading the config during deployment create. -type CreateDeploymentMfeConfigUploadState string +func (o *CreateDeploymentGitRepoBitbucket) GetName() string { + if o == nil { + return "" + } + return o.Name +} + +func (o *CreateDeploymentGitRepoBitbucket) GetPrivate() bool { + if o == nil { + return false + } + return o.Private +} + +func (o *CreateDeploymentGitRepoBitbucket) GetOwnerType() CreateDeploymentOwnerType3 { + if o == nil { + return CreateDeploymentOwnerType3("") + } + return o.OwnerType +} + +type CreateDeploymentGitRepoTypeGithub string const ( - CreateDeploymentMfeConfigUploadStateSuccess CreateDeploymentMfeConfigUploadState = "success" - CreateDeploymentMfeConfigUploadStateWaitingOnBuild CreateDeploymentMfeConfigUploadState = "waiting_on_build" - CreateDeploymentMfeConfigUploadStateNoConfig CreateDeploymentMfeConfigUploadState = "no_config" + CreateDeploymentGitRepoTypeGithubGithub CreateDeploymentGitRepoTypeGithub = "github" ) -func (e CreateDeploymentMfeConfigUploadState) ToPointer() *CreateDeploymentMfeConfigUploadState { +func (e CreateDeploymentGitRepoTypeGithub) ToPointer() *CreateDeploymentGitRepoTypeGithub { return &e } -func (e *CreateDeploymentMfeConfigUploadState) UnmarshalJSON(data []byte) error { +func (e *CreateDeploymentGitRepoTypeGithub) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { return err } switch v { - case "success": - fallthrough - case "waiting_on_build": + case "github": + *e = CreateDeploymentGitRepoTypeGithub(v) + return nil + default: + return fmt.Errorf("invalid value for CreateDeploymentGitRepoTypeGithub: %v", v) + } +} + +type CreateDeploymentOwnerType2 string + +const ( + CreateDeploymentOwnerType2Team CreateDeploymentOwnerType2 = "team" + CreateDeploymentOwnerType2User CreateDeploymentOwnerType2 = "user" +) + +func (e CreateDeploymentOwnerType2) ToPointer() *CreateDeploymentOwnerType2 { + return &e +} +func (e *CreateDeploymentOwnerType2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "team": fallthrough - case "no_config": - *e = CreateDeploymentMfeConfigUploadState(v) + case "user": + *e = CreateDeploymentOwnerType2(v) return nil default: - return fmt.Errorf("invalid value for CreateDeploymentMfeConfigUploadState: %v", v) + return fmt.Errorf("invalid value for CreateDeploymentOwnerType2: %v", v) } } -type CreateDeploymentMicrofrontends2 struct { - IsDefaultApp bool `json:"isDefaultApp"` - // 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. Note: this field will be removed when MFE alias routing is fully rolled out. - Applications map[string]CreateDeploymentApplications `json:"applications,omitempty"` - // The result of the microfrontends config upload during deployment creation / build. Only set for default app deployments. The config upload is attempted during deployment create, and then again during the build. If the config is not in the root directory, or the deployment is prebuilt, the config cannot be uploaded during deployment create. The upload during deployment build finds the config even if it's not in the root directory, as it has access to all files. Uploading the config during create is ideal, as then all child deployments are guaranteed to have access to the default app deployment config even if the default app has not yet started building. If the config is not uploaded, the child app will show as building until the config has been uploaded during the default app build. - `success` - The config was uploaded successfully, either when the deployment was created or during the build. - `waiting_on_build` - The config could not be uploaded during deployment create, will be attempted again during the build. - `no_config` - No config was found. Only set once the build has not found the config in any of the deployment's files. - `undefined` - Legacy deployments, or there was an error uploading the config during deployment create. - MfeConfigUploadState *CreateDeploymentMfeConfigUploadState `json:"mfeConfigUploadState,omitempty"` - // The project name of the default app of this deployment's microfrontends group. - DefaultAppProjectName string `json:"defaultAppProjectName"` - // 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 `json:"defaultRoute,omitempty"` - // 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 []string `json:"groupIds"` - // Whether the MicrofrontendsAlias2 team flag should be considered enabled for this deployment or not. - MicrofrontendsAlias2Enabled *bool `json:"microfrontendsAlias2Enabled,omitempty"` - // Temporary flag to safely test MFE alias routing in vercel-site production for specific production hosts (not vercel.com) - MicrofrontendsAliasRoutingVercelSiteProdTestHost *bool `json:"microfrontendsAliasRoutingVercelSiteProdTestHost,omitempty"` +type CreateDeploymentGitRepoGithub struct { + Org string `json:"org"` + Repo string `json:"repo"` + RepoID float64 `json:"repoId"` + Type CreateDeploymentGitRepoTypeGithub `json:"type"` + RepoOwnerID float64 `json:"repoOwnerId"` + Path string `json:"path"` + DefaultBranch string `json:"defaultBranch"` + Name string `json:"name"` + Private bool `json:"private"` + OwnerType CreateDeploymentOwnerType2 `json:"ownerType"` } -func (c CreateDeploymentMicrofrontends2) MarshalJSON() ([]byte, error) { +func (c CreateDeploymentGitRepoGithub) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(c, "", false) } -func (c *CreateDeploymentMicrofrontends2) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &c, "", false, []string{"isDefaultApp", "defaultAppProjectName", "groupIds"}); err != nil { +func (c *CreateDeploymentGitRepoGithub) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &c, "", false, []string{"org", "repo", "repoId", "type", "repoOwnerId", "path", "defaultBranch", "name", "private", "ownerType"}); err != nil { return err } return nil } -func (o *CreateDeploymentMicrofrontends2) GetIsDefaultApp() bool { +func (o *CreateDeploymentGitRepoGithub) GetOrg() string { if o == nil { - return false + return "" } - return o.IsDefaultApp + return o.Org } -func (o *CreateDeploymentMicrofrontends2) GetApplications() map[string]CreateDeploymentApplications { +func (o *CreateDeploymentGitRepoGithub) GetRepo() string { if o == nil { - return nil + return "" } - return o.Applications + return o.Repo } -func (o *CreateDeploymentMicrofrontends2) GetMfeConfigUploadState() *CreateDeploymentMfeConfigUploadState { +func (o *CreateDeploymentGitRepoGithub) GetRepoID() float64 { if o == nil { - return nil + return 0.0 } - return o.MfeConfigUploadState + return o.RepoID } -func (o *CreateDeploymentMicrofrontends2) GetDefaultAppProjectName() string { +func (o *CreateDeploymentGitRepoGithub) GetType() CreateDeploymentGitRepoTypeGithub { + if o == nil { + return CreateDeploymentGitRepoTypeGithub("") + } + return o.Type +} + +func (o *CreateDeploymentGitRepoGithub) GetRepoOwnerID() float64 { + if o == nil { + return 0.0 + } + return o.RepoOwnerID +} + +func (o *CreateDeploymentGitRepoGithub) GetPath() string { if o == nil { return "" } - return o.DefaultAppProjectName + return o.Path } -func (o *CreateDeploymentMicrofrontends2) GetDefaultRoute() *string { +func (o *CreateDeploymentGitRepoGithub) GetDefaultBranch() string { if o == nil { - return nil + return "" } - return o.DefaultRoute + return o.DefaultBranch } -func (o *CreateDeploymentMicrofrontends2) GetGroupIds() []string { +func (o *CreateDeploymentGitRepoGithub) GetName() string { if o == nil { - return []string{} + return "" } - return o.GroupIds + return o.Name } -func (o *CreateDeploymentMicrofrontends2) GetMicrofrontendsAlias2Enabled() *bool { +func (o *CreateDeploymentGitRepoGithub) GetPrivate() bool { if o == nil { - return nil + return false } - return o.MicrofrontendsAlias2Enabled + return o.Private } -func (o *CreateDeploymentMicrofrontends2) GetMicrofrontendsAliasRoutingVercelSiteProdTestHost() *bool { +func (o *CreateDeploymentGitRepoGithub) GetOwnerType() CreateDeploymentOwnerType2 { if o == nil { + return CreateDeploymentOwnerType2("") + } + return o.OwnerType +} + +type CreateDeploymentGitRepoTypeGitlab string + +const ( + CreateDeploymentGitRepoTypeGitlabGitlab CreateDeploymentGitRepoTypeGitlab = "gitlab" +) + +func (e CreateDeploymentGitRepoTypeGitlab) ToPointer() *CreateDeploymentGitRepoTypeGitlab { + return &e +} +func (e *CreateDeploymentGitRepoTypeGitlab) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "gitlab": + *e = CreateDeploymentGitRepoTypeGitlab(v) return nil + default: + return fmt.Errorf("invalid value for CreateDeploymentGitRepoTypeGitlab: %v", v) } - return o.MicrofrontendsAliasRoutingVercelSiteProdTestHost } -type CreateDeploymentMicrofrontends1 struct { - IsDefaultApp *bool `json:"isDefaultApp,omitempty"` - // The project name of the default app of this deployment's microfrontends group. - DefaultAppProjectName string `json:"defaultAppProjectName"` - // 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 `json:"defaultRoute,omitempty"` - // 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 []string `json:"groupIds"` - // Whether the MicrofrontendsAlias2 team flag should be considered enabled for this deployment or not. - MicrofrontendsAlias2Enabled *bool `json:"microfrontendsAlias2Enabled,omitempty"` - // Temporary flag to safely test MFE alias routing in vercel-site production for specific production hosts (not vercel.com) - MicrofrontendsAliasRoutingVercelSiteProdTestHost *bool `json:"microfrontendsAliasRoutingVercelSiteProdTestHost,omitempty"` +type CreateDeploymentOwnerType1 string + +const ( + CreateDeploymentOwnerType1Team CreateDeploymentOwnerType1 = "team" + CreateDeploymentOwnerType1User CreateDeploymentOwnerType1 = "user" +) + +func (e CreateDeploymentOwnerType1) ToPointer() *CreateDeploymentOwnerType1 { + return &e +} +func (e *CreateDeploymentOwnerType1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "team": + fallthrough + case "user": + *e = CreateDeploymentOwnerType1(v) + return nil + default: + return fmt.Errorf("invalid value for CreateDeploymentOwnerType1: %v", v) + } } -func (c CreateDeploymentMicrofrontends1) MarshalJSON() ([]byte, error) { +type CreateDeploymentGitRepoGitlab struct { + Namespace string `json:"namespace"` + ProjectID float64 `json:"projectId"` + Type CreateDeploymentGitRepoTypeGitlab `json:"type"` + URL string `json:"url"` + Path string `json:"path"` + DefaultBranch string `json:"defaultBranch"` + Name string `json:"name"` + Private bool `json:"private"` + OwnerType CreateDeploymentOwnerType1 `json:"ownerType"` +} + +func (c CreateDeploymentGitRepoGitlab) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(c, "", false) } -func (c *CreateDeploymentMicrofrontends1) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &c, "", false, []string{"defaultAppProjectName", "groupIds"}); err != nil { +func (c *CreateDeploymentGitRepoGitlab) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &c, "", false, []string{"namespace", "projectId", "type", "url", "path", "defaultBranch", "name", "private", "ownerType"}); err != nil { return err } return nil } -func (o *CreateDeploymentMicrofrontends1) GetIsDefaultApp() *bool { +func (o *CreateDeploymentGitRepoGitlab) GetNamespace() string { if o == nil { - return nil + return "" } - return o.IsDefaultApp + return o.Namespace } -func (o *CreateDeploymentMicrofrontends1) GetDefaultAppProjectName() string { +func (o *CreateDeploymentGitRepoGitlab) GetProjectID() float64 { if o == nil { - return "" + return 0.0 } - return o.DefaultAppProjectName + return o.ProjectID } -func (o *CreateDeploymentMicrofrontends1) GetDefaultRoute() *string { +func (o *CreateDeploymentGitRepoGitlab) GetType() CreateDeploymentGitRepoTypeGitlab { if o == nil { - return nil + return CreateDeploymentGitRepoTypeGitlab("") } - return o.DefaultRoute + return o.Type } -func (o *CreateDeploymentMicrofrontends1) GetGroupIds() []string { +func (o *CreateDeploymentGitRepoGitlab) GetURL() string { if o == nil { - return []string{} + return "" } - return o.GroupIds + return o.URL } -func (o *CreateDeploymentMicrofrontends1) GetMicrofrontendsAlias2Enabled() *bool { +func (o *CreateDeploymentGitRepoGitlab) GetPath() string { if o == nil { - return nil + return "" } - return o.MicrofrontendsAlias2Enabled + return o.Path } -func (o *CreateDeploymentMicrofrontends1) GetMicrofrontendsAliasRoutingVercelSiteProdTestHost() *bool { +func (o *CreateDeploymentGitRepoGitlab) GetDefaultBranch() string { if o == nil { - return nil + return "" } - return o.MicrofrontendsAliasRoutingVercelSiteProdTestHost + return o.DefaultBranch } -type CreateDeploymentMicrofrontendsUnionType string - +func (o *CreateDeploymentGitRepoGitlab) GetName() string { + if o == nil { + return "" + } + return o.Name +} + +func (o *CreateDeploymentGitRepoGitlab) GetPrivate() bool { + if o == nil { + return false + } + return o.Private +} + +func (o *CreateDeploymentGitRepoGitlab) GetOwnerType() CreateDeploymentOwnerType1 { + if o == nil { + return CreateDeploymentOwnerType1("") + } + return o.OwnerType +} + +type CreateDeploymentGitRepoUnionType string + const ( - CreateDeploymentMicrofrontendsUnionTypeCreateDeploymentMicrofrontends1 CreateDeploymentMicrofrontendsUnionType = "createDeployment_microfrontends_1" - CreateDeploymentMicrofrontendsUnionTypeCreateDeploymentMicrofrontends2 CreateDeploymentMicrofrontendsUnionType = "createDeployment_microfrontends_2" + CreateDeploymentGitRepoUnionTypeCreateDeploymentGitRepoGitlab CreateDeploymentGitRepoUnionType = "createDeployment_gitRepo_Gitlab" + CreateDeploymentGitRepoUnionTypeCreateDeploymentGitRepoGithub CreateDeploymentGitRepoUnionType = "createDeployment_gitRepo_Github" + CreateDeploymentGitRepoUnionTypeCreateDeploymentGitRepoBitbucket CreateDeploymentGitRepoUnionType = "createDeployment_gitRepo_Bitbucket" ) -type CreateDeploymentMicrofrontendsUnion struct { - CreateDeploymentMicrofrontends1 *CreateDeploymentMicrofrontends1 `queryParam:"inline"` - CreateDeploymentMicrofrontends2 *CreateDeploymentMicrofrontends2 `queryParam:"inline"` +type CreateDeploymentGitRepoUnion struct { + CreateDeploymentGitRepoGitlab *CreateDeploymentGitRepoGitlab `queryParam:"inline"` + CreateDeploymentGitRepoGithub *CreateDeploymentGitRepoGithub `queryParam:"inline"` + CreateDeploymentGitRepoBitbucket *CreateDeploymentGitRepoBitbucket `queryParam:"inline"` - Type CreateDeploymentMicrofrontendsUnionType + Type CreateDeploymentGitRepoUnionType } -func CreateCreateDeploymentMicrofrontendsUnionCreateDeploymentMicrofrontends1(createDeploymentMicrofrontends1 CreateDeploymentMicrofrontends1) CreateDeploymentMicrofrontendsUnion { - typ := CreateDeploymentMicrofrontendsUnionTypeCreateDeploymentMicrofrontends1 +func CreateCreateDeploymentGitRepoUnionCreateDeploymentGitRepoGitlab(createDeploymentGitRepoGitlab CreateDeploymentGitRepoGitlab) CreateDeploymentGitRepoUnion { + typ := CreateDeploymentGitRepoUnionTypeCreateDeploymentGitRepoGitlab - return CreateDeploymentMicrofrontendsUnion{ - CreateDeploymentMicrofrontends1: &createDeploymentMicrofrontends1, - Type: typ, + return CreateDeploymentGitRepoUnion{ + CreateDeploymentGitRepoGitlab: &createDeploymentGitRepoGitlab, + Type: typ, } } -func CreateCreateDeploymentMicrofrontendsUnionCreateDeploymentMicrofrontends2(createDeploymentMicrofrontends2 CreateDeploymentMicrofrontends2) CreateDeploymentMicrofrontendsUnion { - typ := CreateDeploymentMicrofrontendsUnionTypeCreateDeploymentMicrofrontends2 +func CreateCreateDeploymentGitRepoUnionCreateDeploymentGitRepoGithub(createDeploymentGitRepoGithub CreateDeploymentGitRepoGithub) CreateDeploymentGitRepoUnion { + typ := CreateDeploymentGitRepoUnionTypeCreateDeploymentGitRepoGithub - return CreateDeploymentMicrofrontendsUnion{ - CreateDeploymentMicrofrontends2: &createDeploymentMicrofrontends2, - Type: typ, + return CreateDeploymentGitRepoUnion{ + CreateDeploymentGitRepoGithub: &createDeploymentGitRepoGithub, + Type: typ, } } -func (u *CreateDeploymentMicrofrontendsUnion) UnmarshalJSON(data []byte) error { +func CreateCreateDeploymentGitRepoUnionCreateDeploymentGitRepoBitbucket(createDeploymentGitRepoBitbucket CreateDeploymentGitRepoBitbucket) CreateDeploymentGitRepoUnion { + typ := CreateDeploymentGitRepoUnionTypeCreateDeploymentGitRepoBitbucket - var createDeploymentMicrofrontends2 CreateDeploymentMicrofrontends2 = CreateDeploymentMicrofrontends2{} - if err := utils.UnmarshalJSON(data, &createDeploymentMicrofrontends2, "", true, nil); err == nil { - u.CreateDeploymentMicrofrontends2 = &createDeploymentMicrofrontends2 - u.Type = CreateDeploymentMicrofrontendsUnionTypeCreateDeploymentMicrofrontends2 + return CreateDeploymentGitRepoUnion{ + CreateDeploymentGitRepoBitbucket: &createDeploymentGitRepoBitbucket, + Type: typ, + } +} + +func (u *CreateDeploymentGitRepoUnion) UnmarshalJSON(data []byte) error { + + var createDeploymentGitRepoGithub CreateDeploymentGitRepoGithub = CreateDeploymentGitRepoGithub{} + if err := utils.UnmarshalJSON(data, &createDeploymentGitRepoGithub, "", true, nil); err == nil { + u.CreateDeploymentGitRepoGithub = &createDeploymentGitRepoGithub + u.Type = CreateDeploymentGitRepoUnionTypeCreateDeploymentGitRepoGithub return nil } - var createDeploymentMicrofrontends1 CreateDeploymentMicrofrontends1 = CreateDeploymentMicrofrontends1{} - if err := utils.UnmarshalJSON(data, &createDeploymentMicrofrontends1, "", true, nil); err == nil { - u.CreateDeploymentMicrofrontends1 = &createDeploymentMicrofrontends1 - u.Type = CreateDeploymentMicrofrontendsUnionTypeCreateDeploymentMicrofrontends1 + var createDeploymentGitRepoBitbucket CreateDeploymentGitRepoBitbucket = CreateDeploymentGitRepoBitbucket{} + if err := utils.UnmarshalJSON(data, &createDeploymentGitRepoBitbucket, "", true, nil); err == nil { + u.CreateDeploymentGitRepoBitbucket = &createDeploymentGitRepoBitbucket + u.Type = CreateDeploymentGitRepoUnionTypeCreateDeploymentGitRepoBitbucket return nil } - return fmt.Errorf("could not unmarshal `%s` into any supported union types for CreateDeploymentMicrofrontendsUnion", string(data)) + var createDeploymentGitRepoGitlab CreateDeploymentGitRepoGitlab = CreateDeploymentGitRepoGitlab{} + if err := utils.UnmarshalJSON(data, &createDeploymentGitRepoGitlab, "", true, nil); err == nil { + u.CreateDeploymentGitRepoGitlab = &createDeploymentGitRepoGitlab + u.Type = CreateDeploymentGitRepoUnionTypeCreateDeploymentGitRepoGitlab + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for CreateDeploymentGitRepoUnion", string(data)) } -func (u CreateDeploymentMicrofrontendsUnion) MarshalJSON() ([]byte, error) { - if u.CreateDeploymentMicrofrontends1 != nil { - return utils.MarshalJSON(u.CreateDeploymentMicrofrontends1, "", true) +func (u CreateDeploymentGitRepoUnion) MarshalJSON() ([]byte, error) { + if u.CreateDeploymentGitRepoGitlab != nil { + return utils.MarshalJSON(u.CreateDeploymentGitRepoGitlab, "", true) } - if u.CreateDeploymentMicrofrontends2 != nil { - return utils.MarshalJSON(u.CreateDeploymentMicrofrontends2, "", true) + if u.CreateDeploymentGitRepoGithub != nil { + return utils.MarshalJSON(u.CreateDeploymentGitRepoGithub, "", true) } - return nil, errors.New("could not marshal union type CreateDeploymentMicrofrontendsUnion: all fields are null") + if u.CreateDeploymentGitRepoBitbucket != nil { + return utils.MarshalJSON(u.CreateDeploymentGitRepoBitbucket, "", true) + } + + return nil, errors.New("could not marshal union type CreateDeploymentGitRepoUnion: all fields are null") } // CreateDeploymentFlags2 - Flags defined in the Build Output API, used by this deployment. Primarily used by the Toolbar to know about the used flags. @@ -8373,510 +8456,446 @@ func (u CreateDeploymentFlagsUnion) MarshalJSON() ([]byte, error) { return nil, errors.New("could not marshal union type CreateDeploymentFlagsUnion: all fields are null") } -type CreateDeploymentGitRepoTypeBitbucket string - -const ( - CreateDeploymentGitRepoTypeBitbucketBitbucket CreateDeploymentGitRepoTypeBitbucket = "bitbucket" -) +// CreateDeploymentApplications - 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. Note: this field will be removed when MFE alias routing is fully rolled out. +type CreateDeploymentApplications struct { + IsDefaultApp *bool `json:"isDefaultApp,omitempty"` + // This is the production alias, it will always show the most up to date of each application. + ProductionHost string `json:"productionHost"` + // 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 `json:"deploymentAlias,omitempty"` + DeploymentHost *string `json:"deploymentHost,omitempty"` +} -func (e CreateDeploymentGitRepoTypeBitbucket) ToPointer() *CreateDeploymentGitRepoTypeBitbucket { - return &e +func (c CreateDeploymentApplications) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(c, "", false) } -func (e *CreateDeploymentGitRepoTypeBitbucket) UnmarshalJSON(data []byte) error { - var v string - if err := json.Unmarshal(data, &v); err != nil { + +func (c *CreateDeploymentApplications) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &c, "", false, []string{"productionHost"}); err != nil { return err } - switch v { - case "bitbucket": - *e = CreateDeploymentGitRepoTypeBitbucket(v) + return nil +} + +func (o *CreateDeploymentApplications) GetIsDefaultApp() *bool { + if o == nil { return nil - default: - return fmt.Errorf("invalid value for CreateDeploymentGitRepoTypeBitbucket: %v", v) } + return o.IsDefaultApp +} + +func (o *CreateDeploymentApplications) GetProductionHost() string { + if o == nil { + return "" + } + return o.ProductionHost } -type CreateDeploymentOwnerType3 string +func (o *CreateDeploymentApplications) GetDeploymentAlias() *string { + if o == nil { + return nil + } + return o.DeploymentAlias +} + +func (o *CreateDeploymentApplications) GetDeploymentHost() *string { + if o == nil { + return nil + } + return o.DeploymentHost +} + +// CreateDeploymentMfeConfigUploadState - The result of the microfrontends config upload during deployment creation / build. Only set for default app deployments. The config upload is attempted during deployment create, and then again during the build. If the config is not in the root directory, or the deployment is prebuilt, the config cannot be uploaded during deployment create. The upload during deployment build finds the config even if it's not in the root directory, as it has access to all files. Uploading the config during create is ideal, as then all child deployments are guaranteed to have access to the default app deployment config even if the default app has not yet started building. If the config is not uploaded, the child app will show as building until the config has been uploaded during the default app build. - `success` - The config was uploaded successfully, either when the deployment was created or during the build. - `waiting_on_build` - The config could not be uploaded during deployment create, will be attempted again during the build. - `no_config` - No config was found. Only set once the build has not found the config in any of the deployment's files. - `undefined` - Legacy deployments, or there was an error uploading the config during deployment create. +type CreateDeploymentMfeConfigUploadState string const ( - CreateDeploymentOwnerType3Team CreateDeploymentOwnerType3 = "team" - CreateDeploymentOwnerType3User CreateDeploymentOwnerType3 = "user" + CreateDeploymentMfeConfigUploadStateSuccess CreateDeploymentMfeConfigUploadState = "success" + CreateDeploymentMfeConfigUploadStateWaitingOnBuild CreateDeploymentMfeConfigUploadState = "waiting_on_build" + CreateDeploymentMfeConfigUploadStateNoConfig CreateDeploymentMfeConfigUploadState = "no_config" ) -func (e CreateDeploymentOwnerType3) ToPointer() *CreateDeploymentOwnerType3 { +func (e CreateDeploymentMfeConfigUploadState) ToPointer() *CreateDeploymentMfeConfigUploadState { return &e } -func (e *CreateDeploymentOwnerType3) UnmarshalJSON(data []byte) error { +func (e *CreateDeploymentMfeConfigUploadState) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { return err } switch v { - case "team": + case "success": fallthrough - case "user": - *e = CreateDeploymentOwnerType3(v) + case "waiting_on_build": + fallthrough + case "no_config": + *e = CreateDeploymentMfeConfigUploadState(v) return nil default: - return fmt.Errorf("invalid value for CreateDeploymentOwnerType3: %v", v) + return fmt.Errorf("invalid value for CreateDeploymentMfeConfigUploadState: %v", v) } } -type CreateDeploymentGitRepoBitbucket struct { - Owner string `json:"owner"` - RepoUUID string `json:"repoUuid"` - Slug string `json:"slug"` - Type CreateDeploymentGitRepoTypeBitbucket `json:"type"` - WorkspaceUUID string `json:"workspaceUuid"` - Path string `json:"path"` - DefaultBranch string `json:"defaultBranch"` - Name string `json:"name"` - Private bool `json:"private"` - OwnerType CreateDeploymentOwnerType3 `json:"ownerType"` +type CreateDeploymentMicrofrontends2 struct { + IsDefaultApp bool `json:"isDefaultApp"` + // 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. Note: this field will be removed when MFE alias routing is fully rolled out. + Applications map[string]CreateDeploymentApplications `json:"applications,omitempty"` + // The result of the microfrontends config upload during deployment creation / build. Only set for default app deployments. The config upload is attempted during deployment create, and then again during the build. If the config is not in the root directory, or the deployment is prebuilt, the config cannot be uploaded during deployment create. The upload during deployment build finds the config even if it's not in the root directory, as it has access to all files. Uploading the config during create is ideal, as then all child deployments are guaranteed to have access to the default app deployment config even if the default app has not yet started building. If the config is not uploaded, the child app will show as building until the config has been uploaded during the default app build. - `success` - The config was uploaded successfully, either when the deployment was created or during the build. - `waiting_on_build` - The config could not be uploaded during deployment create, will be attempted again during the build. - `no_config` - No config was found. Only set once the build has not found the config in any of the deployment's files. - `undefined` - Legacy deployments, or there was an error uploading the config during deployment create. + MfeConfigUploadState *CreateDeploymentMfeConfigUploadState `json:"mfeConfigUploadState,omitempty"` + // The project name of the default app of this deployment's microfrontends group. + DefaultAppProjectName string `json:"defaultAppProjectName"` + // 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 `json:"defaultRoute,omitempty"` + // 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 []string `json:"groupIds"` } -func (c CreateDeploymentGitRepoBitbucket) MarshalJSON() ([]byte, error) { +func (c CreateDeploymentMicrofrontends2) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(c, "", false) } -func (c *CreateDeploymentGitRepoBitbucket) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &c, "", false, []string{"owner", "repoUuid", "slug", "type", "workspaceUuid", "path", "defaultBranch", "name", "private", "ownerType"}); err != nil { +func (c *CreateDeploymentMicrofrontends2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &c, "", false, []string{"isDefaultApp", "defaultAppProjectName", "groupIds"}); err != nil { return err } return nil } -func (o *CreateDeploymentGitRepoBitbucket) GetOwner() string { +func (o *CreateDeploymentMicrofrontends2) GetIsDefaultApp() bool { if o == nil { - return "" + return false } - return o.Owner + return o.IsDefaultApp } -func (o *CreateDeploymentGitRepoBitbucket) GetRepoUUID() string { +func (o *CreateDeploymentMicrofrontends2) GetApplications() map[string]CreateDeploymentApplications { if o == nil { - return "" + return nil } - return o.RepoUUID + return o.Applications } -func (o *CreateDeploymentGitRepoBitbucket) GetSlug() string { +func (o *CreateDeploymentMicrofrontends2) GetMfeConfigUploadState() *CreateDeploymentMfeConfigUploadState { if o == nil { - return "" + return nil } - return o.Slug + return o.MfeConfigUploadState } -func (o *CreateDeploymentGitRepoBitbucket) GetType() CreateDeploymentGitRepoTypeBitbucket { +func (o *CreateDeploymentMicrofrontends2) GetDefaultAppProjectName() string { if o == nil { - return CreateDeploymentGitRepoTypeBitbucket("") + return "" } - return o.Type + return o.DefaultAppProjectName } -func (o *CreateDeploymentGitRepoBitbucket) GetWorkspaceUUID() string { +func (o *CreateDeploymentMicrofrontends2) GetDefaultRoute() *string { if o == nil { - return "" + return nil } - return o.WorkspaceUUID + return o.DefaultRoute } -func (o *CreateDeploymentGitRepoBitbucket) GetPath() string { +func (o *CreateDeploymentMicrofrontends2) GetGroupIds() []string { if o == nil { - return "" + return []string{} } - return o.Path + return o.GroupIds } -func (o *CreateDeploymentGitRepoBitbucket) GetDefaultBranch() string { - if o == nil { - return "" - } - return o.DefaultBranch +type CreateDeploymentMicrofrontends1 struct { + IsDefaultApp *bool `json:"isDefaultApp,omitempty"` + // The project name of the default app of this deployment's microfrontends group. + DefaultAppProjectName string `json:"defaultAppProjectName"` + // 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 `json:"defaultRoute,omitempty"` + // 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 []string `json:"groupIds"` } -func (o *CreateDeploymentGitRepoBitbucket) GetName() string { - if o == nil { - return "" +func (c CreateDeploymentMicrofrontends1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(c, "", false) +} + +func (c *CreateDeploymentMicrofrontends1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &c, "", false, []string{"defaultAppProjectName", "groupIds"}); err != nil { + return err } - return o.Name + return nil } -func (o *CreateDeploymentGitRepoBitbucket) GetPrivate() bool { +func (o *CreateDeploymentMicrofrontends1) GetIsDefaultApp() *bool { if o == nil { - return false + return nil } - return o.Private + return o.IsDefaultApp } -func (o *CreateDeploymentGitRepoBitbucket) GetOwnerType() CreateDeploymentOwnerType3 { +func (o *CreateDeploymentMicrofrontends1) GetDefaultAppProjectName() string { if o == nil { - return CreateDeploymentOwnerType3("") + return "" } - return o.OwnerType + return o.DefaultAppProjectName } -type CreateDeploymentGitRepoTypeGithub string - -const ( - CreateDeploymentGitRepoTypeGithubGithub CreateDeploymentGitRepoTypeGithub = "github" -) - -func (e CreateDeploymentGitRepoTypeGithub) ToPointer() *CreateDeploymentGitRepoTypeGithub { - return &e -} -func (e *CreateDeploymentGitRepoTypeGithub) UnmarshalJSON(data []byte) error { - var v string - if err := json.Unmarshal(data, &v); err != nil { - return err - } - switch v { - case "github": - *e = CreateDeploymentGitRepoTypeGithub(v) +func (o *CreateDeploymentMicrofrontends1) GetDefaultRoute() *string { + if o == nil { return nil - default: - return fmt.Errorf("invalid value for CreateDeploymentGitRepoTypeGithub: %v", v) } + return o.DefaultRoute } -type CreateDeploymentOwnerType2 string +func (o *CreateDeploymentMicrofrontends1) GetGroupIds() []string { + if o == nil { + return []string{} + } + return o.GroupIds +} + +type CreateDeploymentMicrofrontendsUnionType string const ( - CreateDeploymentOwnerType2Team CreateDeploymentOwnerType2 = "team" - CreateDeploymentOwnerType2User CreateDeploymentOwnerType2 = "user" + CreateDeploymentMicrofrontendsUnionTypeCreateDeploymentMicrofrontends1 CreateDeploymentMicrofrontendsUnionType = "createDeployment_microfrontends_1" + CreateDeploymentMicrofrontendsUnionTypeCreateDeploymentMicrofrontends2 CreateDeploymentMicrofrontendsUnionType = "createDeployment_microfrontends_2" ) -func (e CreateDeploymentOwnerType2) ToPointer() *CreateDeploymentOwnerType2 { - return &e -} -func (e *CreateDeploymentOwnerType2) UnmarshalJSON(data []byte) error { - var v string - if err := json.Unmarshal(data, &v); err != nil { - return err - } - switch v { - case "team": - fallthrough - case "user": - *e = CreateDeploymentOwnerType2(v) - return nil - default: - return fmt.Errorf("invalid value for CreateDeploymentOwnerType2: %v", v) - } -} - -type CreateDeploymentGitRepoGithub struct { - Org string `json:"org"` - Repo string `json:"repo"` - RepoID float64 `json:"repoId"` - Type CreateDeploymentGitRepoTypeGithub `json:"type"` - RepoOwnerID float64 `json:"repoOwnerId"` - Path string `json:"path"` - DefaultBranch string `json:"defaultBranch"` - Name string `json:"name"` - Private bool `json:"private"` - OwnerType CreateDeploymentOwnerType2 `json:"ownerType"` -} +type CreateDeploymentMicrofrontendsUnion struct { + CreateDeploymentMicrofrontends1 *CreateDeploymentMicrofrontends1 `queryParam:"inline"` + CreateDeploymentMicrofrontends2 *CreateDeploymentMicrofrontends2 `queryParam:"inline"` -func (c CreateDeploymentGitRepoGithub) MarshalJSON() ([]byte, error) { - return utils.MarshalJSON(c, "", false) + Type CreateDeploymentMicrofrontendsUnionType } -func (c *CreateDeploymentGitRepoGithub) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &c, "", false, []string{"org", "repo", "repoId", "type", "repoOwnerId", "path", "defaultBranch", "name", "private", "ownerType"}); err != nil { - return err - } - return nil -} +func CreateCreateDeploymentMicrofrontendsUnionCreateDeploymentMicrofrontends1(createDeploymentMicrofrontends1 CreateDeploymentMicrofrontends1) CreateDeploymentMicrofrontendsUnion { + typ := CreateDeploymentMicrofrontendsUnionTypeCreateDeploymentMicrofrontends1 -func (o *CreateDeploymentGitRepoGithub) GetOrg() string { - if o == nil { - return "" + return CreateDeploymentMicrofrontendsUnion{ + CreateDeploymentMicrofrontends1: &createDeploymentMicrofrontends1, + Type: typ, } - return o.Org } -func (o *CreateDeploymentGitRepoGithub) GetRepo() string { - if o == nil { - return "" - } - return o.Repo -} +func CreateCreateDeploymentMicrofrontendsUnionCreateDeploymentMicrofrontends2(createDeploymentMicrofrontends2 CreateDeploymentMicrofrontends2) CreateDeploymentMicrofrontendsUnion { + typ := CreateDeploymentMicrofrontendsUnionTypeCreateDeploymentMicrofrontends2 -func (o *CreateDeploymentGitRepoGithub) GetRepoID() float64 { - if o == nil { - return 0.0 + return CreateDeploymentMicrofrontendsUnion{ + CreateDeploymentMicrofrontends2: &createDeploymentMicrofrontends2, + Type: typ, } - return o.RepoID } -func (o *CreateDeploymentGitRepoGithub) GetType() CreateDeploymentGitRepoTypeGithub { - if o == nil { - return CreateDeploymentGitRepoTypeGithub("") - } - return o.Type -} +func (u *CreateDeploymentMicrofrontendsUnion) UnmarshalJSON(data []byte) error { -func (o *CreateDeploymentGitRepoGithub) GetRepoOwnerID() float64 { - if o == nil { - return 0.0 + var createDeploymentMicrofrontends2 CreateDeploymentMicrofrontends2 = CreateDeploymentMicrofrontends2{} + if err := utils.UnmarshalJSON(data, &createDeploymentMicrofrontends2, "", true, nil); err == nil { + u.CreateDeploymentMicrofrontends2 = &createDeploymentMicrofrontends2 + u.Type = CreateDeploymentMicrofrontendsUnionTypeCreateDeploymentMicrofrontends2 + return nil } - return o.RepoOwnerID -} -func (o *CreateDeploymentGitRepoGithub) GetPath() string { - if o == nil { - return "" + var createDeploymentMicrofrontends1 CreateDeploymentMicrofrontends1 = CreateDeploymentMicrofrontends1{} + if err := utils.UnmarshalJSON(data, &createDeploymentMicrofrontends1, "", true, nil); err == nil { + u.CreateDeploymentMicrofrontends1 = &createDeploymentMicrofrontends1 + u.Type = CreateDeploymentMicrofrontendsUnionTypeCreateDeploymentMicrofrontends1 + return nil } - return o.Path -} -func (o *CreateDeploymentGitRepoGithub) GetDefaultBranch() string { - if o == nil { - return "" - } - return o.DefaultBranch + return fmt.Errorf("could not unmarshal `%s` into any supported union types for CreateDeploymentMicrofrontendsUnion", string(data)) } -func (o *CreateDeploymentGitRepoGithub) GetName() string { - if o == nil { - return "" +func (u CreateDeploymentMicrofrontendsUnion) MarshalJSON() ([]byte, error) { + if u.CreateDeploymentMicrofrontends1 != nil { + return utils.MarshalJSON(u.CreateDeploymentMicrofrontends1, "", true) } - return o.Name -} -func (o *CreateDeploymentGitRepoGithub) GetPrivate() bool { - if o == nil { - return false + if u.CreateDeploymentMicrofrontends2 != nil { + return utils.MarshalJSON(u.CreateDeploymentMicrofrontends2, "", true) } - return o.Private -} -func (o *CreateDeploymentGitRepoGithub) GetOwnerType() CreateDeploymentOwnerType2 { - if o == nil { - return CreateDeploymentOwnerType2("") - } - return o.OwnerType + return nil, errors.New("could not marshal union type CreateDeploymentMicrofrontendsUnion: all fields are null") } -type CreateDeploymentGitRepoTypeGitlab string +type CreateDeploymentFunctionType string const ( - CreateDeploymentGitRepoTypeGitlabGitlab CreateDeploymentGitRepoTypeGitlab = "gitlab" + CreateDeploymentFunctionTypeFluid CreateDeploymentFunctionType = "fluid" + CreateDeploymentFunctionTypeStandard CreateDeploymentFunctionType = "standard" ) -func (e CreateDeploymentGitRepoTypeGitlab) ToPointer() *CreateDeploymentGitRepoTypeGitlab { +func (e CreateDeploymentFunctionType) ToPointer() *CreateDeploymentFunctionType { return &e } -func (e *CreateDeploymentGitRepoTypeGitlab) UnmarshalJSON(data []byte) error { +func (e *CreateDeploymentFunctionType) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { return err } switch v { - case "gitlab": - *e = CreateDeploymentGitRepoTypeGitlab(v) + case "fluid": + fallthrough + case "standard": + *e = CreateDeploymentFunctionType(v) return nil default: - return fmt.Errorf("invalid value for CreateDeploymentGitRepoTypeGitlab: %v", v) + return fmt.Errorf("invalid value for CreateDeploymentFunctionType: %v", v) } } -type CreateDeploymentOwnerType1 string +type CreateDeploymentFunctionMemoryType string const ( - CreateDeploymentOwnerType1Team CreateDeploymentOwnerType1 = "team" - CreateDeploymentOwnerType1User CreateDeploymentOwnerType1 = "user" + CreateDeploymentFunctionMemoryTypeStandard CreateDeploymentFunctionMemoryType = "standard" + CreateDeploymentFunctionMemoryTypeStandardLegacy CreateDeploymentFunctionMemoryType = "standard_legacy" + CreateDeploymentFunctionMemoryTypePerformance CreateDeploymentFunctionMemoryType = "performance" ) -func (e CreateDeploymentOwnerType1) ToPointer() *CreateDeploymentOwnerType1 { +func (e CreateDeploymentFunctionMemoryType) ToPointer() *CreateDeploymentFunctionMemoryType { return &e } -func (e *CreateDeploymentOwnerType1) UnmarshalJSON(data []byte) error { +func (e *CreateDeploymentFunctionMemoryType) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { return err } switch v { - case "team": + case "standard": fallthrough - case "user": - *e = CreateDeploymentOwnerType1(v) + case "standard_legacy": + fallthrough + case "performance": + *e = CreateDeploymentFunctionMemoryType(v) return nil default: - return fmt.Errorf("invalid value for CreateDeploymentOwnerType1: %v", v) - } -} - -type CreateDeploymentGitRepoGitlab struct { - Namespace string `json:"namespace"` - ProjectID float64 `json:"projectId"` - Type CreateDeploymentGitRepoTypeGitlab `json:"type"` - URL string `json:"url"` - Path string `json:"path"` - DefaultBranch string `json:"defaultBranch"` - Name string `json:"name"` - Private bool `json:"private"` - OwnerType CreateDeploymentOwnerType1 `json:"ownerType"` -} - -func (c CreateDeploymentGitRepoGitlab) MarshalJSON() ([]byte, error) { - return utils.MarshalJSON(c, "", false) -} - -func (c *CreateDeploymentGitRepoGitlab) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &c, "", false, []string{"namespace", "projectId", "type", "url", "path", "defaultBranch", "name", "private", "ownerType"}); err != nil { - return err - } - return nil -} - -func (o *CreateDeploymentGitRepoGitlab) GetNamespace() string { - if o == nil { - return "" + return fmt.Errorf("invalid value for CreateDeploymentFunctionMemoryType: %v", v) } - return o.Namespace } -func (o *CreateDeploymentGitRepoGitlab) GetProjectID() float64 { - if o == nil { - return 0.0 - } - return o.ProjectID +// CreateDeploymentConfig - Since February 2025 the configuration must include snapshot data at the time of deployment creation to capture properties for the /deployments/:id/config endpoint utilized for displaying Deployment Configuration on the frontend This is optional because older deployments may not have this data captured +type CreateDeploymentConfig struct { + Version *float64 `json:"version,omitempty"` + FunctionType CreateDeploymentFunctionType `json:"functionType"` + FunctionMemoryType CreateDeploymentFunctionMemoryType `json:"functionMemoryType"` + FunctionTimeout *float64 `json:"functionTimeout"` + SecureComputePrimaryRegion *string `json:"secureComputePrimaryRegion"` + SecureComputeFallbackRegion *string `json:"secureComputeFallbackRegion"` + IsUsingActiveCPU *bool `json:"isUsingActiveCPU,omitempty"` } -func (o *CreateDeploymentGitRepoGitlab) GetType() CreateDeploymentGitRepoTypeGitlab { +func (o *CreateDeploymentConfig) GetVersion() *float64 { if o == nil { - return CreateDeploymentGitRepoTypeGitlab("") + return nil } - return o.Type + return o.Version } -func (o *CreateDeploymentGitRepoGitlab) GetURL() string { +func (o *CreateDeploymentConfig) GetFunctionType() CreateDeploymentFunctionType { if o == nil { - return "" + return CreateDeploymentFunctionType("") } - return o.URL + return o.FunctionType } -func (o *CreateDeploymentGitRepoGitlab) GetPath() string { +func (o *CreateDeploymentConfig) GetFunctionMemoryType() CreateDeploymentFunctionMemoryType { if o == nil { - return "" + return CreateDeploymentFunctionMemoryType("") } - return o.Path + return o.FunctionMemoryType } -func (o *CreateDeploymentGitRepoGitlab) GetDefaultBranch() string { +func (o *CreateDeploymentConfig) GetFunctionTimeout() *float64 { if o == nil { - return "" + return nil } - return o.DefaultBranch + return o.FunctionTimeout } -func (o *CreateDeploymentGitRepoGitlab) GetName() string { +func (o *CreateDeploymentConfig) GetSecureComputePrimaryRegion() *string { if o == nil { - return "" + return nil } - return o.Name + return o.SecureComputePrimaryRegion } -func (o *CreateDeploymentGitRepoGitlab) GetPrivate() bool { +func (o *CreateDeploymentConfig) GetSecureComputeFallbackRegion() *string { if o == nil { - return false + return nil } - return o.Private + return o.SecureComputeFallbackRegion } -func (o *CreateDeploymentGitRepoGitlab) GetOwnerType() CreateDeploymentOwnerType1 { +func (o *CreateDeploymentConfig) GetIsUsingActiveCPU() *bool { if o == nil { - return CreateDeploymentOwnerType1("") + return nil } - return o.OwnerType + return o.IsUsingActiveCPU } -type CreateDeploymentGitRepoUnionType string +type CreateDeploymentState string const ( - CreateDeploymentGitRepoUnionTypeCreateDeploymentGitRepoGitlab CreateDeploymentGitRepoUnionType = "createDeployment_gitRepo_Gitlab" - CreateDeploymentGitRepoUnionTypeCreateDeploymentGitRepoGithub CreateDeploymentGitRepoUnionType = "createDeployment_gitRepo_Github" - CreateDeploymentGitRepoUnionTypeCreateDeploymentGitRepoBitbucket CreateDeploymentGitRepoUnionType = "createDeployment_gitRepo_Bitbucket" + CreateDeploymentStateSucceeded CreateDeploymentState = "succeeded" + CreateDeploymentStateFailed CreateDeploymentState = "failed" + CreateDeploymentStatePending CreateDeploymentState = "pending" ) -type CreateDeploymentGitRepoUnion struct { - CreateDeploymentGitRepoGitlab *CreateDeploymentGitRepoGitlab `queryParam:"inline"` - CreateDeploymentGitRepoGithub *CreateDeploymentGitRepoGithub `queryParam:"inline"` - CreateDeploymentGitRepoBitbucket *CreateDeploymentGitRepoBitbucket `queryParam:"inline"` - - Type CreateDeploymentGitRepoUnionType +func (e CreateDeploymentState) ToPointer() *CreateDeploymentState { + return &e } - -func CreateCreateDeploymentGitRepoUnionCreateDeploymentGitRepoGitlab(createDeploymentGitRepoGitlab CreateDeploymentGitRepoGitlab) CreateDeploymentGitRepoUnion { - typ := CreateDeploymentGitRepoUnionTypeCreateDeploymentGitRepoGitlab - - return CreateDeploymentGitRepoUnion{ - CreateDeploymentGitRepoGitlab: &createDeploymentGitRepoGitlab, - Type: typ, +func (e *CreateDeploymentState) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err } -} - -func CreateCreateDeploymentGitRepoUnionCreateDeploymentGitRepoGithub(createDeploymentGitRepoGithub CreateDeploymentGitRepoGithub) CreateDeploymentGitRepoUnion { - typ := CreateDeploymentGitRepoUnionTypeCreateDeploymentGitRepoGithub - - return CreateDeploymentGitRepoUnion{ - CreateDeploymentGitRepoGithub: &createDeploymentGitRepoGithub, - Type: typ, + switch v { + case "succeeded": + fallthrough + case "failed": + fallthrough + case "pending": + *e = CreateDeploymentState(v) + return nil + default: + return fmt.Errorf("invalid value for CreateDeploymentState: %v", v) } } -func CreateCreateDeploymentGitRepoUnionCreateDeploymentGitRepoBitbucket(createDeploymentGitRepoBitbucket CreateDeploymentGitRepoBitbucket) CreateDeploymentGitRepoUnion { - typ := CreateDeploymentGitRepoUnionTypeCreateDeploymentGitRepoBitbucket - - return CreateDeploymentGitRepoUnion{ - CreateDeploymentGitRepoBitbucket: &createDeploymentGitRepoBitbucket, - Type: typ, - } +// CreateDeploymentDeploymentAlias - Condensed check data. Retrieve individual check and check run data using api-checks v2 routes. +type CreateDeploymentDeploymentAlias struct { + State CreateDeploymentState `json:"state"` + StartedAt float64 `json:"startedAt"` + CompletedAt *float64 `json:"completedAt,omitempty"` } -func (u *CreateDeploymentGitRepoUnion) UnmarshalJSON(data []byte) error { - - var createDeploymentGitRepoGithub CreateDeploymentGitRepoGithub = CreateDeploymentGitRepoGithub{} - if err := utils.UnmarshalJSON(data, &createDeploymentGitRepoGithub, "", true, nil); err == nil { - u.CreateDeploymentGitRepoGithub = &createDeploymentGitRepoGithub - u.Type = CreateDeploymentGitRepoUnionTypeCreateDeploymentGitRepoGithub - return nil - } - - var createDeploymentGitRepoBitbucket CreateDeploymentGitRepoBitbucket = CreateDeploymentGitRepoBitbucket{} - if err := utils.UnmarshalJSON(data, &createDeploymentGitRepoBitbucket, "", true, nil); err == nil { - u.CreateDeploymentGitRepoBitbucket = &createDeploymentGitRepoBitbucket - u.Type = CreateDeploymentGitRepoUnionTypeCreateDeploymentGitRepoBitbucket - return nil +func (o *CreateDeploymentDeploymentAlias) GetState() CreateDeploymentState { + if o == nil { + return CreateDeploymentState("") } + return o.State +} - var createDeploymentGitRepoGitlab CreateDeploymentGitRepoGitlab = CreateDeploymentGitRepoGitlab{} - if err := utils.UnmarshalJSON(data, &createDeploymentGitRepoGitlab, "", true, nil); err == nil { - u.CreateDeploymentGitRepoGitlab = &createDeploymentGitRepoGitlab - u.Type = CreateDeploymentGitRepoUnionTypeCreateDeploymentGitRepoGitlab - return nil +func (o *CreateDeploymentDeploymentAlias) GetStartedAt() float64 { + if o == nil { + return 0.0 } - - return fmt.Errorf("could not unmarshal `%s` into any supported union types for CreateDeploymentGitRepoUnion", string(data)) + return o.StartedAt } -func (u CreateDeploymentGitRepoUnion) MarshalJSON() ([]byte, error) { - if u.CreateDeploymentGitRepoGitlab != nil { - return utils.MarshalJSON(u.CreateDeploymentGitRepoGitlab, "", true) +func (o *CreateDeploymentDeploymentAlias) GetCompletedAt() *float64 { + if o == nil { + return nil } + return o.CompletedAt +} - if u.CreateDeploymentGitRepoGithub != nil { - return utils.MarshalJSON(u.CreateDeploymentGitRepoGithub, "", true) - } +type CreateDeploymentChecks struct { + // Condensed check data. Retrieve individual check and check run data using api-checks v2 routes. + DeploymentAlias CreateDeploymentDeploymentAlias `json:"deployment-alias"` +} - if u.CreateDeploymentGitRepoBitbucket != nil { - return utils.MarshalJSON(u.CreateDeploymentGitRepoBitbucket, "", true) +func (o *CreateDeploymentChecks) GetDeploymentAlias() CreateDeploymentDeploymentAlias { + if o == nil { + return CreateDeploymentDeploymentAlias{} } - - return nil, errors.New("could not marshal union type CreateDeploymentGitRepoUnion: all fields are null") + return o.DeploymentAlias } // CreateDeploymentResponseBody - The successfully created deployment @@ -8894,84 +8913,105 @@ type CreateDeploymentResponseBody struct { ReadyStateReason *string `json:"readyStateReason,omitempty"` Integrations *CreateDeploymentIntegrations `json:"integrations,omitempty"` Images *CreateDeploymentImages `json:"images,omitempty"` - Alias []string `json:"alias,omitempty"` - AliasAssigned bool `json:"aliasAssigned"` - BootedAt float64 `json:"bootedAt"` - BuildingAt float64 `json:"buildingAt"` + // A list of all the aliases (default aliases, staging aliases and production aliases) that were assigned upon deployment creation + Alias []string `json:"alias,omitempty"` + // A boolean that will be true when the aliases from the alias property were assigned successfully + AliasAssigned bool `json:"aliasAssigned"` + BootedAt float64 `json:"bootedAt"` + BuildingAt float64 `json:"buildingAt"` // Since April 2025 it necessary for On-Demand Concurrency Minutes calculation - BuildContainerFinishedAt *float64 `json:"buildContainerFinishedAt,omitempty"` - BuildSkipped bool `json:"buildSkipped"` - Creator CreateDeploymentCreator `json:"creator"` - InitReadyAt *float64 `json:"initReadyAt,omitempty"` - IsFirstBranchDeployment *bool `json:"isFirstBranchDeployment,omitempty"` - Lambdas []CreateDeploymentLambda `json:"lambdas,omitempty"` - Public bool `json:"public"` - Ready *float64 `json:"ready,omitempty"` - Status CreateDeploymentStatus `json:"status"` - Team *CreateDeploymentTeam `json:"team,omitempty"` - UserAliases []string `json:"userAliases,omitempty"` - PreviewCommentsEnabled *bool `json:"previewCommentsEnabled,omitempty"` - TtyBuildLogs *bool `json:"ttyBuildLogs,omitempty"` - CustomEnvironment *CreateDeploymentCustomEnvironmentUnion `json:"customEnvironment,omitempty"` - OomReport *CreateDeploymentOomReport `json:"oomReport,omitempty"` - ID string `json:"id"` - Name string `json:"name"` - CreatedAt float64 `json:"createdAt"` - Type CreateDeploymentTypeLambdas `json:"type"` + BuildContainerFinishedAt *float64 `json:"buildContainerFinishedAt,omitempty"` + BuildSkipped bool `json:"buildSkipped"` + // Information about the deployment creator + Creator CreateDeploymentCreator `json:"creator"` + InitReadyAt *float64 `json:"initReadyAt,omitempty"` + IsFirstBranchDeployment *bool `json:"isFirstBranchDeployment,omitempty"` + Lambdas []CreateDeploymentLambda `json:"lambdas,omitempty"` + // A boolean representing if the deployment is public or not. By default this is `false` + Public bool `json:"public"` + Ready *float64 `json:"ready,omitempty"` + Status CreateDeploymentStatus `json:"status"` + // The team that owns the deployment if any + Team *CreateDeploymentTeam `json:"team,omitempty"` + // An array of domains that were provided by the user when creating the Deployment. + UserAliases []string `json:"userAliases,omitempty"` + // Whether or not preview comments are enabled for the deployment + PreviewCommentsEnabled *bool `json:"previewCommentsEnabled,omitempty"` + TtyBuildLogs *bool `json:"ttyBuildLogs,omitempty"` + CustomEnvironment *CreateDeploymentCustomEnvironmentUnion `json:"customEnvironment,omitempty"` + OomReport *CreateDeploymentOomReport `json:"oomReport,omitempty"` + AliasWarning *CreateDeploymentAliasWarning `json:"aliasWarning,omitempty"` + // A string holding the unique ID of the deployment + ID string `json:"id"` + // A number containing the date when the deployment was created in milliseconds + CreatedAt float64 `json:"createdAt"` + // The state of the deployment depending on the process of deploying, or if it is ready or in an error state + ReadyState CreateDeploymentReadyState `json:"readyState"` + // The name of the project associated with the deployment at the time that the deployment was created + Name string `json:"name"` + Type CreateDeploymentTypeLambdas `json:"type"` + // An object that will contain a `code` and a `message` when the aliasing fails, otherwise the value will be `null` + AliasError *CreateDeploymentAliasError `json:"aliasError,omitempty"` + AliasFinal *string `json:"aliasFinal,omitempty"` // applies to custom domains only, defaults to `true` - AutoAssignCustomDomains *bool `json:"autoAssignCustomDomains,omitempty"` - GitSource *CreateDeploymentGitSourceLambdasUnion `json:"gitSource,omitempty"` - Meta map[string]string `json:"meta"` - Project *CreateDeploymentProject `json:"project,omitempty"` - // If set it overrides the `projectSettings.nodeVersion` for this deployment. - NodeVersion *CreateDeploymentNodeVersionLambdas `json:"nodeVersion,omitempty"` - ReadyState CreateDeploymentReadyState `json:"readyState"` - Source *CreateDeploymentSource `json:"source,omitempty"` - Target *CreateDeploymentTargetEnum `json:"target,omitempty"` - ErrorMessage *string `json:"errorMessage,omitempty"` - DeletedAt *float64 `json:"deletedAt,omitempty"` - // 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 []string `json:"passiveRegions,omitempty"` - Regions []string `json:"regions"` - Version float64 `json:"version"` - AliasError *CreateDeploymentAliasError `json:"aliasError,omitempty"` - AliasFinal *string `json:"aliasFinal,omitempty"` - AliasWarning *CreateDeploymentAliasWarning `json:"aliasWarning,omitempty"` - AutomaticAliases []string `json:"automaticAliases,omitempty"` - BuildErrorAt *float64 `json:"buildErrorAt,omitempty"` - CanceledAt *float64 `json:"canceledAt,omitempty"` - ChecksConclusion *CreateDeploymentChecksConclusion `json:"checksConclusion,omitempty"` - ChecksState *CreateDeploymentChecksState `json:"checksState,omitempty"` + AutoAssignCustomDomains *bool `json:"autoAssignCustomDomains,omitempty"` + AutomaticAliases []string `json:"automaticAliases,omitempty"` + BuildErrorAt *float64 `json:"buildErrorAt,omitempty"` + ChecksState *CreateDeploymentChecksState `json:"checksState,omitempty"` + ChecksConclusion *CreateDeploymentChecksConclusion `json:"checksConclusion,omitempty"` + // A number containing the date when the deployment was deleted at milliseconds + DeletedAt *float64 `json:"deletedAt,omitempty"` // Computed field that is only available for deployments with a microfrontend configuration. - DefaultRoute *string `json:"defaultRoute,omitempty"` - ErrorCode *string `json:"errorCode,omitempty"` - ErrorLink *string `json:"errorLink,omitempty"` - ErrorStep *string `json:"errorStep,omitempty"` - OriginCacheRegion *string `json:"originCacheRegion,omitempty"` - OidcTokenClaims *CreateDeploymentOidcTokenClaims `json:"oidcTokenClaims,omitempty"` + DefaultRoute *string `json:"defaultRoute,omitempty"` + CanceledAt *float64 `json:"canceledAt,omitempty"` + ErrorCode *string `json:"errorCode,omitempty"` + ErrorLink *string `json:"errorLink,omitempty"` + ErrorMessage *string `json:"errorMessage,omitempty"` + ErrorStep *string `json:"errorStep,omitempty"` + // 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 []string `json:"passiveRegions,omitempty"` + GitSource *CreateDeploymentGitSourceLambdasUnion `json:"gitSource,omitempty"` + Meta map[string]string `json:"meta"` + OriginCacheRegion *string `json:"originCacheRegion,omitempty"` + // If set it overrides the `projectSettings.nodeVersion` for this deployment. + NodeVersion *CreateDeploymentNodeVersionLambdas `json:"nodeVersion,omitempty"` + // The public project information associated with the deployment. + Project *CreateDeploymentProject `json:"project,omitempty"` // Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - ROLLING: in the process of having production traffic gradually transitioned. - PROMOTED: has seen production traffic - ReadySubstate *CreateDeploymentReadySubstate `json:"readySubstate,omitempty"` - SoftDeletedByRetention *bool `json:"softDeletedByRetention,omitempty"` - UndeletedAt *float64 `json:"undeletedAt,omitempty"` - URL string `json:"url"` - ProjectID string `json:"projectId"` - MonorepoManager *string `json:"monorepoManager,omitempty"` - OwnerID string `json:"ownerId"` - Plan CreateDeploymentPlan `json:"plan"` - // Since February 2025 the configuration must include snapshot data at the time of deployment creation to capture properties for the /deployments/:id/config endpoint utilized for displaying Deployment Configuration on the frontend This is optional because older deployments may not have this data captured - Config *CreateDeploymentConfig `json:"config,omitempty"` - Functions map[string]CreateDeploymentFunctions `json:"functions,omitempty"` - Routes []CreateDeploymentRouteUnion `json:"routes"` - Crons []CreateDeploymentCron `json:"crons,omitempty"` - Checks *CreateDeploymentChecks `json:"checks,omitempty"` - Microfrontends *CreateDeploymentMicrofrontendsUnion `json:"microfrontends,omitempty"` + ReadySubstate *CreateDeploymentReadySubstate `json:"readySubstate,omitempty"` + // The regions the deployment exists in + Regions []string `json:"regions"` + // flag to indicate if the deployment was deleted by retention policy + SoftDeletedByRetention *bool `json:"softDeletedByRetention,omitempty"` + // Where was the deployment created from + Source *CreateDeploymentSource `json:"source,omitempty"` + // If defined, either `staging` if a staging alias in the format `..now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment. + Target *CreateDeploymentTargetEnum `json:"target,omitempty"` + // A number containing the date when the deployment was undeleted at milliseconds + UndeletedAt *float64 `json:"undeletedAt,omitempty"` + // A string with the unique URL of the deployment + URL string `json:"url"` + // The platform version that was used to create the deployment. + Version float64 `json:"version"` + OidcTokenClaims *CreateDeploymentOidcTokenClaims `json:"oidcTokenClaims,omitempty"` + ProjectID string `json:"projectId"` + Plan CreateDeploymentPlan `json:"plan"` ConnectBuildsEnabled *bool `json:"connectBuildsEnabled,omitempty"` ConnectConfigurationID *string `json:"connectConfigurationId,omitempty"` CreatedIn string `json:"createdIn"` + Crons []CreateDeploymentCron `json:"crons,omitempty"` + Functions map[string]CreateDeploymentFunctions `json:"functions,omitempty"` + MonorepoManager *string `json:"monorepoManager,omitempty"` + OwnerID string `json:"ownerId"` // 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 `json:"passiveConnectConfigurationId,omitempty"` - Flags *CreateDeploymentFlagsUnion `json:"flags,omitempty"` - GitRepo *CreateDeploymentGitRepoUnion `json:"gitRepo,omitempty"` + PassiveConnectConfigurationID *string `json:"passiveConnectConfigurationId,omitempty"` + Routes []CreateDeploymentRouteUnion `json:"routes"` + GitRepo *CreateDeploymentGitRepoUnion `json:"gitRepo,omitempty"` + Flags *CreateDeploymentFlagsUnion `json:"flags,omitempty"` + Microfrontends *CreateDeploymentMicrofrontendsUnion `json:"microfrontends,omitempty"` + // Since February 2025 the configuration must include snapshot data at the time of deployment creation to capture properties for the /deployments/:id/config endpoint utilized for displaying Deployment Configuration on the frontend This is optional because older deployments may not have this data captured + Config *CreateDeploymentConfig `json:"config,omitempty"` + Checks *CreateDeploymentChecks `json:"checks,omitempty"` } func (o *CreateDeploymentResponseBody) GetAliasAssignedAt() *CreateDeploymentAliasAssignedAt { @@ -9198,18 +9238,18 @@ func (o *CreateDeploymentResponseBody) GetOomReport() *CreateDeploymentOomReport return o.OomReport } -func (o *CreateDeploymentResponseBody) GetID() string { +func (o *CreateDeploymentResponseBody) GetAliasWarning() *CreateDeploymentAliasWarning { if o == nil { - return "" + return nil } - return o.ID + return o.AliasWarning } -func (o *CreateDeploymentResponseBody) GetName() string { +func (o *CreateDeploymentResponseBody) GetID() string { if o == nil { return "" } - return o.Name + return o.ID } func (o *CreateDeploymentResponseBody) GetCreatedAt() float64 { @@ -9219,74 +9259,74 @@ func (o *CreateDeploymentResponseBody) GetCreatedAt() float64 { return o.CreatedAt } -func (o *CreateDeploymentResponseBody) GetType() CreateDeploymentTypeLambdas { +func (o *CreateDeploymentResponseBody) GetReadyState() CreateDeploymentReadyState { if o == nil { - return CreateDeploymentTypeLambdas("") + return CreateDeploymentReadyState("") } - return o.Type + return o.ReadyState } -func (o *CreateDeploymentResponseBody) GetAutoAssignCustomDomains() *bool { +func (o *CreateDeploymentResponseBody) GetName() string { if o == nil { - return nil + return "" } - return o.AutoAssignCustomDomains + return o.Name } -func (o *CreateDeploymentResponseBody) GetGitSource() *CreateDeploymentGitSourceLambdasUnion { +func (o *CreateDeploymentResponseBody) GetType() CreateDeploymentTypeLambdas { if o == nil { - return nil + return CreateDeploymentTypeLambdas("") } - return o.GitSource + return o.Type } -func (o *CreateDeploymentResponseBody) GetMeta() map[string]string { +func (o *CreateDeploymentResponseBody) GetAliasError() *CreateDeploymentAliasError { if o == nil { - return map[string]string{} + return nil } - return o.Meta + return o.AliasError } -func (o *CreateDeploymentResponseBody) GetProject() *CreateDeploymentProject { +func (o *CreateDeploymentResponseBody) GetAliasFinal() *string { if o == nil { return nil } - return o.Project + return o.AliasFinal } -func (o *CreateDeploymentResponseBody) GetNodeVersion() *CreateDeploymentNodeVersionLambdas { +func (o *CreateDeploymentResponseBody) GetAutoAssignCustomDomains() *bool { if o == nil { return nil } - return o.NodeVersion + return o.AutoAssignCustomDomains } -func (o *CreateDeploymentResponseBody) GetReadyState() CreateDeploymentReadyState { +func (o *CreateDeploymentResponseBody) GetAutomaticAliases() []string { if o == nil { - return CreateDeploymentReadyState("") + return nil } - return o.ReadyState + return o.AutomaticAliases } -func (o *CreateDeploymentResponseBody) GetSource() *CreateDeploymentSource { +func (o *CreateDeploymentResponseBody) GetBuildErrorAt() *float64 { if o == nil { return nil } - return o.Source + return o.BuildErrorAt } -func (o *CreateDeploymentResponseBody) GetTarget() *CreateDeploymentTargetEnum { +func (o *CreateDeploymentResponseBody) GetChecksState() *CreateDeploymentChecksState { if o == nil { return nil } - return o.Target + return o.ChecksState } -func (o *CreateDeploymentResponseBody) GetErrorMessage() *string { +func (o *CreateDeploymentResponseBody) GetChecksConclusion() *CreateDeploymentChecksConclusion { if o == nil { return nil } - return o.ErrorMessage + return o.ChecksConclusion } func (o *CreateDeploymentResponseBody) GetDeletedAt() *float64 { @@ -9296,137 +9336,123 @@ func (o *CreateDeploymentResponseBody) GetDeletedAt() *float64 { return o.DeletedAt } -func (o *CreateDeploymentResponseBody) GetPassiveRegions() []string { +func (o *CreateDeploymentResponseBody) GetDefaultRoute() *string { if o == nil { return nil } - return o.PassiveRegions -} - -func (o *CreateDeploymentResponseBody) GetRegions() []string { - if o == nil { - return []string{} - } - return o.Regions -} - -func (o *CreateDeploymentResponseBody) GetVersion() float64 { - if o == nil { - return 0.0 - } - return o.Version + return o.DefaultRoute } -func (o *CreateDeploymentResponseBody) GetAliasError() *CreateDeploymentAliasError { +func (o *CreateDeploymentResponseBody) GetCanceledAt() *float64 { if o == nil { return nil } - return o.AliasError + return o.CanceledAt } -func (o *CreateDeploymentResponseBody) GetAliasFinal() *string { +func (o *CreateDeploymentResponseBody) GetErrorCode() *string { if o == nil { return nil } - return o.AliasFinal + return o.ErrorCode } -func (o *CreateDeploymentResponseBody) GetAliasWarning() *CreateDeploymentAliasWarning { +func (o *CreateDeploymentResponseBody) GetErrorLink() *string { if o == nil { return nil } - return o.AliasWarning + return o.ErrorLink } -func (o *CreateDeploymentResponseBody) GetAutomaticAliases() []string { +func (o *CreateDeploymentResponseBody) GetErrorMessage() *string { if o == nil { return nil } - return o.AutomaticAliases + return o.ErrorMessage } -func (o *CreateDeploymentResponseBody) GetBuildErrorAt() *float64 { +func (o *CreateDeploymentResponseBody) GetErrorStep() *string { if o == nil { return nil } - return o.BuildErrorAt + return o.ErrorStep } -func (o *CreateDeploymentResponseBody) GetCanceledAt() *float64 { +func (o *CreateDeploymentResponseBody) GetPassiveRegions() []string { if o == nil { return nil } - return o.CanceledAt + return o.PassiveRegions } -func (o *CreateDeploymentResponseBody) GetChecksConclusion() *CreateDeploymentChecksConclusion { +func (o *CreateDeploymentResponseBody) GetGitSource() *CreateDeploymentGitSourceLambdasUnion { if o == nil { return nil } - return o.ChecksConclusion + return o.GitSource } -func (o *CreateDeploymentResponseBody) GetChecksState() *CreateDeploymentChecksState { +func (o *CreateDeploymentResponseBody) GetMeta() map[string]string { if o == nil { - return nil + return map[string]string{} } - return o.ChecksState + return o.Meta } -func (o *CreateDeploymentResponseBody) GetDefaultRoute() *string { +func (o *CreateDeploymentResponseBody) GetOriginCacheRegion() *string { if o == nil { return nil } - return o.DefaultRoute + return o.OriginCacheRegion } -func (o *CreateDeploymentResponseBody) GetErrorCode() *string { +func (o *CreateDeploymentResponseBody) GetNodeVersion() *CreateDeploymentNodeVersionLambdas { if o == nil { return nil } - return o.ErrorCode + return o.NodeVersion } -func (o *CreateDeploymentResponseBody) GetErrorLink() *string { +func (o *CreateDeploymentResponseBody) GetProject() *CreateDeploymentProject { if o == nil { return nil } - return o.ErrorLink + return o.Project } -func (o *CreateDeploymentResponseBody) GetErrorStep() *string { +func (o *CreateDeploymentResponseBody) GetReadySubstate() *CreateDeploymentReadySubstate { if o == nil { return nil } - return o.ErrorStep + return o.ReadySubstate } -func (o *CreateDeploymentResponseBody) GetOriginCacheRegion() *string { +func (o *CreateDeploymentResponseBody) GetRegions() []string { if o == nil { - return nil + return []string{} } - return o.OriginCacheRegion + return o.Regions } -func (o *CreateDeploymentResponseBody) GetOidcTokenClaims() *CreateDeploymentOidcTokenClaims { +func (o *CreateDeploymentResponseBody) GetSoftDeletedByRetention() *bool { if o == nil { return nil } - return o.OidcTokenClaims + return o.SoftDeletedByRetention } -func (o *CreateDeploymentResponseBody) GetReadySubstate() *CreateDeploymentReadySubstate { +func (o *CreateDeploymentResponseBody) GetSource() *CreateDeploymentSource { if o == nil { return nil } - return o.ReadySubstate + return o.Source } -func (o *CreateDeploymentResponseBody) GetSoftDeletedByRetention() *bool { +func (o *CreateDeploymentResponseBody) GetTarget() *CreateDeploymentTargetEnum { if o == nil { return nil } - return o.SoftDeletedByRetention + return o.Target } func (o *CreateDeploymentResponseBody) GetUndeletedAt() *float64 { @@ -9443,25 +9469,25 @@ func (o *CreateDeploymentResponseBody) GetURL() string { return o.URL } -func (o *CreateDeploymentResponseBody) GetProjectID() string { +func (o *CreateDeploymentResponseBody) GetVersion() float64 { if o == nil { - return "" + return 0.0 } - return o.ProjectID + return o.Version } -func (o *CreateDeploymentResponseBody) GetMonorepoManager() *string { +func (o *CreateDeploymentResponseBody) GetOidcTokenClaims() *CreateDeploymentOidcTokenClaims { if o == nil { return nil } - return o.MonorepoManager + return o.OidcTokenClaims } -func (o *CreateDeploymentResponseBody) GetOwnerID() string { +func (o *CreateDeploymentResponseBody) GetProjectID() string { if o == nil { return "" } - return o.OwnerID + return o.ProjectID } func (o *CreateDeploymentResponseBody) GetPlan() CreateDeploymentPlan { @@ -9471,25 +9497,25 @@ func (o *CreateDeploymentResponseBody) GetPlan() CreateDeploymentPlan { return o.Plan } -func (o *CreateDeploymentResponseBody) GetConfig() *CreateDeploymentConfig { +func (o *CreateDeploymentResponseBody) GetConnectBuildsEnabled() *bool { if o == nil { return nil } - return o.Config + return o.ConnectBuildsEnabled } -func (o *CreateDeploymentResponseBody) GetFunctions() map[string]CreateDeploymentFunctions { +func (o *CreateDeploymentResponseBody) GetConnectConfigurationID() *string { if o == nil { return nil } - return o.Functions + return o.ConnectConfigurationID } -func (o *CreateDeploymentResponseBody) GetRoutes() []CreateDeploymentRouteUnion { +func (o *CreateDeploymentResponseBody) GetCreatedIn() string { if o == nil { - return nil + return "" } - return o.Routes + return o.CreatedIn } func (o *CreateDeploymentResponseBody) GetCrons() []CreateDeploymentCron { @@ -9499,46 +9525,46 @@ func (o *CreateDeploymentResponseBody) GetCrons() []CreateDeploymentCron { return o.Crons } -func (o *CreateDeploymentResponseBody) GetChecks() *CreateDeploymentChecks { +func (o *CreateDeploymentResponseBody) GetFunctions() map[string]CreateDeploymentFunctions { if o == nil { return nil } - return o.Checks + return o.Functions } -func (o *CreateDeploymentResponseBody) GetMicrofrontends() *CreateDeploymentMicrofrontendsUnion { +func (o *CreateDeploymentResponseBody) GetMonorepoManager() *string { if o == nil { return nil } - return o.Microfrontends + return o.MonorepoManager } -func (o *CreateDeploymentResponseBody) GetConnectBuildsEnabled() *bool { +func (o *CreateDeploymentResponseBody) GetOwnerID() string { if o == nil { - return nil + return "" } - return o.ConnectBuildsEnabled + return o.OwnerID } -func (o *CreateDeploymentResponseBody) GetConnectConfigurationID() *string { +func (o *CreateDeploymentResponseBody) GetPassiveConnectConfigurationID() *string { if o == nil { return nil } - return o.ConnectConfigurationID + return o.PassiveConnectConfigurationID } -func (o *CreateDeploymentResponseBody) GetCreatedIn() string { +func (o *CreateDeploymentResponseBody) GetRoutes() []CreateDeploymentRouteUnion { if o == nil { - return "" + return nil } - return o.CreatedIn + return o.Routes } -func (o *CreateDeploymentResponseBody) GetPassiveConnectConfigurationID() *string { +func (o *CreateDeploymentResponseBody) GetGitRepo() *CreateDeploymentGitRepoUnion { if o == nil { return nil } - return o.PassiveConnectConfigurationID + return o.GitRepo } func (o *CreateDeploymentResponseBody) GetFlags() *CreateDeploymentFlagsUnion { @@ -9548,11 +9574,25 @@ func (o *CreateDeploymentResponseBody) GetFlags() *CreateDeploymentFlagsUnion { return o.Flags } -func (o *CreateDeploymentResponseBody) GetGitRepo() *CreateDeploymentGitRepoUnion { +func (o *CreateDeploymentResponseBody) GetMicrofrontends() *CreateDeploymentMicrofrontendsUnion { if o == nil { return nil } - return o.GitRepo + return o.Microfrontends +} + +func (o *CreateDeploymentResponseBody) GetConfig() *CreateDeploymentConfig { + if o == nil { + return nil + } + return o.Config +} + +func (o *CreateDeploymentResponseBody) GetChecks() *CreateDeploymentChecks { + if o == nil { + return nil + } + return o.Checks } type CreateDeploymentResponse struct { diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/createdrain.go b/src/__tests__/mockserver/internal/sdk/models/operations/createdrain.go new file mode 100644 index 000000000..4410d539b --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/operations/createdrain.go @@ -0,0 +1,4804 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package operations + +import ( + "encoding/json" + "errors" + "fmt" + "mockserver/internal/sdk/models/components" + "mockserver/internal/sdk/utils" +) + +type CreateDrainProjects string + +const ( + CreateDrainProjectsSome CreateDrainProjects = "some" + CreateDrainProjectsAll CreateDrainProjects = "all" +) + +func (e CreateDrainProjects) ToPointer() *CreateDrainProjects { + return &e +} +func (e *CreateDrainProjects) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "some": + fallthrough + case "all": + *e = CreateDrainProjects(v) + return nil + default: + return fmt.Errorf("invalid value for CreateDrainProjects: %v", v) + } +} + +type CreateDrainFilterRequest3 struct { + Type string `json:"type"` + Text string `json:"text"` +} + +func (c CreateDrainFilterRequest3) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(c, "", false) +} + +func (c *CreateDrainFilterRequest3) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &c, "", false, []string{"type", "text"}); err != nil { + return err + } + return nil +} + +func (o *CreateDrainFilterRequest3) GetType() string { + if o == nil { + return "" + } + return o.Type +} + +func (o *CreateDrainFilterRequest3) GetText() string { + if o == nil { + return "" + } + return o.Text +} + +type CreateDrainProjectRequest struct { + Ids []string `json:"ids,omitempty"` +} + +func (c CreateDrainProjectRequest) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(c, "", false) +} + +func (c *CreateDrainProjectRequest) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &c, "", false, nil); err != nil { + return err + } + return nil +} + +func (o *CreateDrainProjectRequest) GetIds() []string { + if o == nil { + return nil + } + return o.Ids +} + +type CreateDrainFilterSourceRequest string + +const ( + CreateDrainFilterSourceRequestBuild CreateDrainFilterSourceRequest = "build" + CreateDrainFilterSourceRequestEdge CreateDrainFilterSourceRequest = "edge" + CreateDrainFilterSourceRequestLambda CreateDrainFilterSourceRequest = "lambda" + CreateDrainFilterSourceRequestStatic CreateDrainFilterSourceRequest = "static" + CreateDrainFilterSourceRequestExternal CreateDrainFilterSourceRequest = "external" + CreateDrainFilterSourceRequestFirewall CreateDrainFilterSourceRequest = "firewall" + CreateDrainFilterSourceRequestRedirect CreateDrainFilterSourceRequest = "redirect" +) + +func (e CreateDrainFilterSourceRequest) ToPointer() *CreateDrainFilterSourceRequest { + return &e +} +func (e *CreateDrainFilterSourceRequest) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "build": + fallthrough + case "edge": + fallthrough + case "lambda": + fallthrough + case "static": + fallthrough + case "external": + fallthrough + case "firewall": + fallthrough + case "redirect": + *e = CreateDrainFilterSourceRequest(v) + return nil + default: + return fmt.Errorf("invalid value for CreateDrainFilterSourceRequest: %v", v) + } +} + +type CreateDrainLogRequest struct { + Sources []CreateDrainFilterSourceRequest `json:"sources,omitempty"` +} + +func (c CreateDrainLogRequest) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(c, "", false) +} + +func (c *CreateDrainLogRequest) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &c, "", false, nil); err != nil { + return err + } + return nil +} + +func (o *CreateDrainLogRequest) GetSources() []CreateDrainFilterSourceRequest { + if o == nil { + return nil + } + return o.Sources +} + +type CreateDrainEnvironmentRequest string + +const ( + CreateDrainEnvironmentRequestProduction CreateDrainEnvironmentRequest = "production" + CreateDrainEnvironmentRequestPreview CreateDrainEnvironmentRequest = "preview" +) + +func (e CreateDrainEnvironmentRequest) ToPointer() *CreateDrainEnvironmentRequest { + return &e +} +func (e *CreateDrainEnvironmentRequest) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "production": + fallthrough + case "preview": + *e = CreateDrainEnvironmentRequest(v) + return nil + default: + return fmt.Errorf("invalid value for CreateDrainEnvironmentRequest: %v", v) + } +} + +type CreateDrainDeploymentRequest struct { + Environments []CreateDrainEnvironmentRequest `json:"environments,omitempty"` +} + +func (c CreateDrainDeploymentRequest) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(c, "", false) +} + +func (c *CreateDrainDeploymentRequest) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &c, "", false, nil); err != nil { + return err + } + return nil +} + +func (o *CreateDrainDeploymentRequest) GetEnvironments() []CreateDrainEnvironmentRequest { + if o == nil { + return nil + } + return o.Environments +} + +type CreateDrainFilterRequest2 struct { + Type string `json:"type"` + Project *CreateDrainProjectRequest `json:"project,omitempty"` + Log *CreateDrainLogRequest `json:"log,omitempty"` + Deployment *CreateDrainDeploymentRequest `json:"deployment,omitempty"` +} + +func (c CreateDrainFilterRequest2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(c, "", false) +} + +func (c *CreateDrainFilterRequest2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &c, "", false, []string{"type"}); err != nil { + return err + } + return nil +} + +func (o *CreateDrainFilterRequest2) GetType() string { + if o == nil { + return "" + } + return o.Type +} + +func (o *CreateDrainFilterRequest2) GetProject() *CreateDrainProjectRequest { + if o == nil { + return nil + } + return o.Project +} + +func (o *CreateDrainFilterRequest2) GetLog() *CreateDrainLogRequest { + if o == nil { + return nil + } + return o.Log +} + +func (o *CreateDrainFilterRequest2) GetDeployment() *CreateDrainDeploymentRequest { + if o == nil { + return nil + } + return o.Deployment +} + +type CreateDrainFilterRequestUnion2Type string + +const ( + CreateDrainFilterRequestUnion2TypeCreateDrainFilterRequest2 CreateDrainFilterRequestUnion2Type = "createDrain_filter_request_2" + CreateDrainFilterRequestUnion2TypeCreateDrainFilterRequest3 CreateDrainFilterRequestUnion2Type = "createDrain_filter_request_3" +) + +type CreateDrainFilterRequestUnion2 struct { + CreateDrainFilterRequest2 *CreateDrainFilterRequest2 `queryParam:"inline"` + CreateDrainFilterRequest3 *CreateDrainFilterRequest3 `queryParam:"inline"` + + Type CreateDrainFilterRequestUnion2Type +} + +func CreateCreateDrainFilterRequestUnion2CreateDrainFilterRequest2(createDrainFilterRequest2 CreateDrainFilterRequest2) CreateDrainFilterRequestUnion2 { + typ := CreateDrainFilterRequestUnion2TypeCreateDrainFilterRequest2 + + return CreateDrainFilterRequestUnion2{ + CreateDrainFilterRequest2: &createDrainFilterRequest2, + Type: typ, + } +} + +func CreateCreateDrainFilterRequestUnion2CreateDrainFilterRequest3(createDrainFilterRequest3 CreateDrainFilterRequest3) CreateDrainFilterRequestUnion2 { + typ := CreateDrainFilterRequestUnion2TypeCreateDrainFilterRequest3 + + return CreateDrainFilterRequestUnion2{ + CreateDrainFilterRequest3: &createDrainFilterRequest3, + Type: typ, + } +} + +func (u *CreateDrainFilterRequestUnion2) UnmarshalJSON(data []byte) error { + + var createDrainFilterRequest3 CreateDrainFilterRequest3 = CreateDrainFilterRequest3{} + if err := utils.UnmarshalJSON(data, &createDrainFilterRequest3, "", true, nil); err == nil { + u.CreateDrainFilterRequest3 = &createDrainFilterRequest3 + u.Type = CreateDrainFilterRequestUnion2TypeCreateDrainFilterRequest3 + return nil + } + + var createDrainFilterRequest2 CreateDrainFilterRequest2 = CreateDrainFilterRequest2{} + if err := utils.UnmarshalJSON(data, &createDrainFilterRequest2, "", true, nil); err == nil { + u.CreateDrainFilterRequest2 = &createDrainFilterRequest2 + u.Type = CreateDrainFilterRequestUnion2TypeCreateDrainFilterRequest2 + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for CreateDrainFilterRequestUnion2", string(data)) +} + +func (u CreateDrainFilterRequestUnion2) MarshalJSON() ([]byte, error) { + if u.CreateDrainFilterRequest2 != nil { + return utils.MarshalJSON(u.CreateDrainFilterRequest2, "", true) + } + + if u.CreateDrainFilterRequest3 != nil { + return utils.MarshalJSON(u.CreateDrainFilterRequest3, "", true) + } + + return nil, errors.New("could not marshal union type CreateDrainFilterRequestUnion2: all fields are null") +} + +type CreateDrainFilterRequest1 struct { + Version string `json:"version"` + Filter CreateDrainFilterRequestUnion2 `json:"filter"` +} + +func (c CreateDrainFilterRequest1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(c, "", false) +} + +func (c *CreateDrainFilterRequest1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &c, "", false, []string{"version", "filter"}); err != nil { + return err + } + return nil +} + +func (o *CreateDrainFilterRequest1) GetVersion() string { + if o == nil { + return "" + } + return o.Version +} + +func (o *CreateDrainFilterRequest1) GetFilter() CreateDrainFilterRequestUnion2 { + if o == nil { + return CreateDrainFilterRequestUnion2{} + } + return o.Filter +} + +type CreateDrainFilterRequestUnion1Type string + +const ( + CreateDrainFilterRequestUnion1TypeStr CreateDrainFilterRequestUnion1Type = "str" + CreateDrainFilterRequestUnion1TypeCreateDrainFilterRequest1 CreateDrainFilterRequestUnion1Type = "createDrain_filter_request_1" +) + +type CreateDrainFilterRequestUnion1 struct { + Str *string `queryParam:"inline"` + CreateDrainFilterRequest1 *CreateDrainFilterRequest1 `queryParam:"inline"` + + Type CreateDrainFilterRequestUnion1Type +} + +func CreateCreateDrainFilterRequestUnion1Str(str string) CreateDrainFilterRequestUnion1 { + typ := CreateDrainFilterRequestUnion1TypeStr + + return CreateDrainFilterRequestUnion1{ + Str: &str, + Type: typ, + } +} + +func CreateCreateDrainFilterRequestUnion1CreateDrainFilterRequest1(createDrainFilterRequest1 CreateDrainFilterRequest1) CreateDrainFilterRequestUnion1 { + typ := CreateDrainFilterRequestUnion1TypeCreateDrainFilterRequest1 + + return CreateDrainFilterRequestUnion1{ + CreateDrainFilterRequest1: &createDrainFilterRequest1, + Type: typ, + } +} + +func (u *CreateDrainFilterRequestUnion1) UnmarshalJSON(data []byte) error { + + var createDrainFilterRequest1 CreateDrainFilterRequest1 = CreateDrainFilterRequest1{} + if err := utils.UnmarshalJSON(data, &createDrainFilterRequest1, "", true, nil); err == nil { + u.CreateDrainFilterRequest1 = &createDrainFilterRequest1 + u.Type = CreateDrainFilterRequestUnion1TypeCreateDrainFilterRequest1 + return nil + } + + var str string = "" + if err := utils.UnmarshalJSON(data, &str, "", true, nil); err == nil { + u.Str = &str + u.Type = CreateDrainFilterRequestUnion1TypeStr + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for CreateDrainFilterRequestUnion1", string(data)) +} + +func (u CreateDrainFilterRequestUnion1) MarshalJSON() ([]byte, error) { + if u.Str != nil { + return utils.MarshalJSON(u.Str, "", true) + } + + if u.CreateDrainFilterRequest1 != nil { + return utils.MarshalJSON(u.CreateDrainFilterRequest1, "", true) + } + + return nil, errors.New("could not marshal union type CreateDrainFilterRequestUnion1: all fields are null") +} + +type CreateDrainSchemasRequest struct { + Version string `json:"version"` +} + +func (o *CreateDrainSchemasRequest) GetVersion() string { + if o == nil { + return "" + } + return o.Version +} + +type CreateDrainEndpointRequest struct { + Traces string `json:"traces"` +} + +func (c CreateDrainEndpointRequest) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(c, "", false) +} + +func (c *CreateDrainEndpointRequest) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &c, "", false, []string{"traces"}); err != nil { + return err + } + return nil +} + +func (o *CreateDrainEndpointRequest) GetTraces() string { + if o == nil { + return "" + } + return o.Traces +} + +type CreateDrainEndpointUnionType string + +const ( + CreateDrainEndpointUnionTypeCreateDrainEndpointRequest CreateDrainEndpointUnionType = "createDrain_endpoint_request" +) + +type CreateDrainEndpointUnion struct { + CreateDrainEndpointRequest *CreateDrainEndpointRequest `queryParam:"inline"` + + Type CreateDrainEndpointUnionType +} + +func CreateCreateDrainEndpointUnionCreateDrainEndpointRequest(createDrainEndpointRequest CreateDrainEndpointRequest) CreateDrainEndpointUnion { + typ := CreateDrainEndpointUnionTypeCreateDrainEndpointRequest + + return CreateDrainEndpointUnion{ + CreateDrainEndpointRequest: &createDrainEndpointRequest, + Type: typ, + } +} + +func (u *CreateDrainEndpointUnion) UnmarshalJSON(data []byte) error { + + var createDrainEndpointRequest CreateDrainEndpointRequest = CreateDrainEndpointRequest{} + if err := utils.UnmarshalJSON(data, &createDrainEndpointRequest, "", true, nil); err == nil { + u.CreateDrainEndpointRequest = &createDrainEndpointRequest + u.Type = CreateDrainEndpointUnionTypeCreateDrainEndpointRequest + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for CreateDrainEndpointUnion", string(data)) +} + +func (u CreateDrainEndpointUnion) MarshalJSON() ([]byte, error) { + if u.CreateDrainEndpointRequest != nil { + return utils.MarshalJSON(u.CreateDrainEndpointRequest, "", true) + } + + return nil, errors.New("could not marshal union type CreateDrainEndpointUnion: all fields are null") +} + +type CreateDrainEncodingRequest2 string + +const ( + CreateDrainEncodingRequest2Proto CreateDrainEncodingRequest2 = "proto" + CreateDrainEncodingRequest2JSON CreateDrainEncodingRequest2 = "json" +) + +func (e CreateDrainEncodingRequest2) ToPointer() *CreateDrainEncodingRequest2 { + return &e +} +func (e *CreateDrainEncodingRequest2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "proto": + fallthrough + case "json": + *e = CreateDrainEncodingRequest2(v) + return nil + default: + return fmt.Errorf("invalid value for CreateDrainEncodingRequest2: %v", v) + } +} + +type CreateDrainDeliveryRequest2 struct { + Type string `json:"type"` + Endpoint CreateDrainEndpointUnion `json:"endpoint"` + Encoding CreateDrainEncodingRequest2 `json:"encoding"` + Headers map[string]string `json:"headers"` + Secret *string `json:"secret,omitempty"` +} + +func (c CreateDrainDeliveryRequest2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(c, "", false) +} + +func (c *CreateDrainDeliveryRequest2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &c, "", false, []string{"type", "endpoint", "encoding", "headers"}); err != nil { + return err + } + return nil +} + +func (o *CreateDrainDeliveryRequest2) GetType() string { + if o == nil { + return "" + } + return o.Type +} + +func (o *CreateDrainDeliveryRequest2) GetEndpoint() CreateDrainEndpointUnion { + if o == nil { + return CreateDrainEndpointUnion{} + } + return o.Endpoint +} + +func (o *CreateDrainDeliveryRequest2) GetEncoding() CreateDrainEncodingRequest2 { + if o == nil { + return CreateDrainEncodingRequest2("") + } + return o.Encoding +} + +func (o *CreateDrainDeliveryRequest2) GetHeaders() map[string]string { + if o == nil { + return map[string]string{} + } + return o.Headers +} + +func (o *CreateDrainDeliveryRequest2) GetSecret() *string { + if o == nil { + return nil + } + return o.Secret +} + +type CreateDrainCompressionRequest string + +const ( + CreateDrainCompressionRequestGzip CreateDrainCompressionRequest = "gzip" + CreateDrainCompressionRequestNone CreateDrainCompressionRequest = "none" +) + +func (e CreateDrainCompressionRequest) ToPointer() *CreateDrainCompressionRequest { + return &e +} +func (e *CreateDrainCompressionRequest) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "gzip": + fallthrough + case "none": + *e = CreateDrainCompressionRequest(v) + return nil + default: + return fmt.Errorf("invalid value for CreateDrainCompressionRequest: %v", v) + } +} + +type CreateDrainEncodingRequest1 string + +const ( + CreateDrainEncodingRequest1JSON CreateDrainEncodingRequest1 = "json" + CreateDrainEncodingRequest1Ndjson CreateDrainEncodingRequest1 = "ndjson" +) + +func (e CreateDrainEncodingRequest1) ToPointer() *CreateDrainEncodingRequest1 { + return &e +} +func (e *CreateDrainEncodingRequest1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "json": + fallthrough + case "ndjson": + *e = CreateDrainEncodingRequest1(v) + return nil + default: + return fmt.Errorf("invalid value for CreateDrainEncodingRequest1: %v", v) + } +} + +type CreateDrainDeliveryRequest1 struct { + Type string `json:"type"` + Endpoint string `json:"endpoint"` + Compression *CreateDrainCompressionRequest `json:"compression,omitempty"` + Encoding CreateDrainEncodingRequest1 `json:"encoding"` + Headers map[string]string `json:"headers"` + Secret *string `json:"secret,omitempty"` +} + +func (c CreateDrainDeliveryRequest1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(c, "", false) +} + +func (c *CreateDrainDeliveryRequest1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &c, "", false, []string{"type", "endpoint", "encoding", "headers"}); err != nil { + return err + } + return nil +} + +func (o *CreateDrainDeliveryRequest1) GetType() string { + if o == nil { + return "" + } + return o.Type +} + +func (o *CreateDrainDeliveryRequest1) GetEndpoint() string { + if o == nil { + return "" + } + return o.Endpoint +} + +func (o *CreateDrainDeliveryRequest1) GetCompression() *CreateDrainCompressionRequest { + if o == nil { + return nil + } + return o.Compression +} + +func (o *CreateDrainDeliveryRequest1) GetEncoding() CreateDrainEncodingRequest1 { + if o == nil { + return CreateDrainEncodingRequest1("") + } + return o.Encoding +} + +func (o *CreateDrainDeliveryRequest1) GetHeaders() map[string]string { + if o == nil { + return map[string]string{} + } + return o.Headers +} + +func (o *CreateDrainDeliveryRequest1) GetSecret() *string { + if o == nil { + return nil + } + return o.Secret +} + +type CreateDrainDeliveryRequestUnionType string + +const ( + CreateDrainDeliveryRequestUnionTypeCreateDrainDeliveryRequest1 CreateDrainDeliveryRequestUnionType = "createDrain_delivery_request_1" + CreateDrainDeliveryRequestUnionTypeCreateDrainDeliveryRequest2 CreateDrainDeliveryRequestUnionType = "createDrain_delivery_request_2" +) + +type CreateDrainDeliveryRequestUnion struct { + CreateDrainDeliveryRequest1 *CreateDrainDeliveryRequest1 `queryParam:"inline"` + CreateDrainDeliveryRequest2 *CreateDrainDeliveryRequest2 `queryParam:"inline"` + + Type CreateDrainDeliveryRequestUnionType +} + +func CreateCreateDrainDeliveryRequestUnionCreateDrainDeliveryRequest1(createDrainDeliveryRequest1 CreateDrainDeliveryRequest1) CreateDrainDeliveryRequestUnion { + typ := CreateDrainDeliveryRequestUnionTypeCreateDrainDeliveryRequest1 + + return CreateDrainDeliveryRequestUnion{ + CreateDrainDeliveryRequest1: &createDrainDeliveryRequest1, + Type: typ, + } +} + +func CreateCreateDrainDeliveryRequestUnionCreateDrainDeliveryRequest2(createDrainDeliveryRequest2 CreateDrainDeliveryRequest2) CreateDrainDeliveryRequestUnion { + typ := CreateDrainDeliveryRequestUnionTypeCreateDrainDeliveryRequest2 + + return CreateDrainDeliveryRequestUnion{ + CreateDrainDeliveryRequest2: &createDrainDeliveryRequest2, + Type: typ, + } +} + +func (u *CreateDrainDeliveryRequestUnion) UnmarshalJSON(data []byte) error { + + var createDrainDeliveryRequest1 CreateDrainDeliveryRequest1 = CreateDrainDeliveryRequest1{} + if err := utils.UnmarshalJSON(data, &createDrainDeliveryRequest1, "", true, nil); err == nil { + u.CreateDrainDeliveryRequest1 = &createDrainDeliveryRequest1 + u.Type = CreateDrainDeliveryRequestUnionTypeCreateDrainDeliveryRequest1 + return nil + } + + var createDrainDeliveryRequest2 CreateDrainDeliveryRequest2 = CreateDrainDeliveryRequest2{} + if err := utils.UnmarshalJSON(data, &createDrainDeliveryRequest2, "", true, nil); err == nil { + u.CreateDrainDeliveryRequest2 = &createDrainDeliveryRequest2 + u.Type = CreateDrainDeliveryRequestUnionTypeCreateDrainDeliveryRequest2 + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for CreateDrainDeliveryRequestUnion", string(data)) +} + +func (u CreateDrainDeliveryRequestUnion) MarshalJSON() ([]byte, error) { + if u.CreateDrainDeliveryRequest1 != nil { + return utils.MarshalJSON(u.CreateDrainDeliveryRequest1, "", true) + } + + if u.CreateDrainDeliveryRequest2 != nil { + return utils.MarshalJSON(u.CreateDrainDeliveryRequest2, "", true) + } + + return nil, errors.New("could not marshal union type CreateDrainDeliveryRequestUnion: all fields are null") +} + +// CreateDrainEnvRequest - Environment to apply sampling to +type CreateDrainEnvRequest string + +const ( + CreateDrainEnvRequestProduction CreateDrainEnvRequest = "production" + CreateDrainEnvRequestPreview CreateDrainEnvRequest = "preview" +) + +func (e CreateDrainEnvRequest) ToPointer() *CreateDrainEnvRequest { + return &e +} +func (e *CreateDrainEnvRequest) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "production": + fallthrough + case "preview": + *e = CreateDrainEnvRequest(v) + return nil + default: + return fmt.Errorf("invalid value for CreateDrainEnvRequest: %v", v) + } +} + +type CreateDrainSamplingRequest struct { + Type string `json:"type"` + // Sampling rate from 0 to 1 (e.g., 0.1 for 10%) + Rate float64 `json:"rate"` + // Environment to apply sampling to + Env *CreateDrainEnvRequest `json:"env,omitempty"` + // Request path prefix to apply the sampling rule to + RequestPath *string `json:"requestPath,omitempty"` +} + +func (o *CreateDrainSamplingRequest) GetType() string { + if o == nil { + return "" + } + return o.Type +} + +func (o *CreateDrainSamplingRequest) GetRate() float64 { + if o == nil { + return 0.0 + } + return o.Rate +} + +func (o *CreateDrainSamplingRequest) GetEnv() *CreateDrainEnvRequest { + if o == nil { + return nil + } + return o.Env +} + +func (o *CreateDrainSamplingRequest) GetRequestPath() *string { + if o == nil { + return nil + } + return o.RequestPath +} + +type CreateDrainTransform struct { + ID string `json:"id"` +} + +func (o *CreateDrainTransform) GetID() string { + if o == nil { + return "" + } + return o.ID +} + +type CreateDrainSourceRequest4 struct { + Kind *string `default:"self-served" json:"kind"` +} + +func (c CreateDrainSourceRequest4) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(c, "", false) +} + +func (c *CreateDrainSourceRequest4) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &c, "", false, nil); err != nil { + return err + } + return nil +} + +func (o *CreateDrainSourceRequest4) GetKind() *string { + if o == nil { + return nil + } + return o.Kind +} + +type CreateDrainSourceRequest3 struct { + Kind *string `default:"integration" json:"kind"` +} + +func (c CreateDrainSourceRequest3) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(c, "", false) +} + +func (c *CreateDrainSourceRequest3) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &c, "", false, nil); err != nil { + return err + } + return nil +} + +func (o *CreateDrainSourceRequest3) GetKind() *string { + if o == nil { + return nil + } + return o.Kind +} + +type CreateDrainSourceRequest2 struct { + Kind *string `default:"integration" json:"kind"` + ResourceID string `json:"resourceId"` +} + +func (c CreateDrainSourceRequest2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(c, "", false) +} + +func (c *CreateDrainSourceRequest2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &c, "", false, []string{"resourceId"}); err != nil { + return err + } + return nil +} + +func (o *CreateDrainSourceRequest2) GetKind() *string { + if o == nil { + return nil + } + return o.Kind +} + +func (o *CreateDrainSourceRequest2) GetResourceID() string { + if o == nil { + return "" + } + return o.ResourceID +} + +type CreateDrainSourceRequest1 struct { + Kind *string `default:"integration" json:"kind"` + ExternalResourceID string `json:"externalResourceId"` +} + +func (c CreateDrainSourceRequest1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(c, "", false) +} + +func (c *CreateDrainSourceRequest1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &c, "", false, []string{"externalResourceId"}); err != nil { + return err + } + return nil +} + +func (o *CreateDrainSourceRequest1) GetKind() *string { + if o == nil { + return nil + } + return o.Kind +} + +func (o *CreateDrainSourceRequest1) GetExternalResourceID() string { + if o == nil { + return "" + } + return o.ExternalResourceID +} + +type CreateDrainSourceRequestUnion2Type string + +const ( + CreateDrainSourceRequestUnion2TypeCreateDrainSourceRequest1 CreateDrainSourceRequestUnion2Type = "createDrain_source_request_1" + CreateDrainSourceRequestUnion2TypeCreateDrainSourceRequest2 CreateDrainSourceRequestUnion2Type = "createDrain_source_request_2" + CreateDrainSourceRequestUnion2TypeCreateDrainSourceRequest3 CreateDrainSourceRequestUnion2Type = "createDrain_source_request_3" +) + +type CreateDrainSourceRequestUnion2 struct { + CreateDrainSourceRequest1 *CreateDrainSourceRequest1 `queryParam:"inline"` + CreateDrainSourceRequest2 *CreateDrainSourceRequest2 `queryParam:"inline"` + CreateDrainSourceRequest3 *CreateDrainSourceRequest3 `queryParam:"inline"` + + Type CreateDrainSourceRequestUnion2Type +} + +func CreateCreateDrainSourceRequestUnion2CreateDrainSourceRequest1(createDrainSourceRequest1 CreateDrainSourceRequest1) CreateDrainSourceRequestUnion2 { + typ := CreateDrainSourceRequestUnion2TypeCreateDrainSourceRequest1 + + return CreateDrainSourceRequestUnion2{ + CreateDrainSourceRequest1: &createDrainSourceRequest1, + Type: typ, + } +} + +func CreateCreateDrainSourceRequestUnion2CreateDrainSourceRequest2(createDrainSourceRequest2 CreateDrainSourceRequest2) CreateDrainSourceRequestUnion2 { + typ := CreateDrainSourceRequestUnion2TypeCreateDrainSourceRequest2 + + return CreateDrainSourceRequestUnion2{ + CreateDrainSourceRequest2: &createDrainSourceRequest2, + Type: typ, + } +} + +func CreateCreateDrainSourceRequestUnion2CreateDrainSourceRequest3(createDrainSourceRequest3 CreateDrainSourceRequest3) CreateDrainSourceRequestUnion2 { + typ := CreateDrainSourceRequestUnion2TypeCreateDrainSourceRequest3 + + return CreateDrainSourceRequestUnion2{ + CreateDrainSourceRequest3: &createDrainSourceRequest3, + Type: typ, + } +} + +func (u *CreateDrainSourceRequestUnion2) UnmarshalJSON(data []byte) error { + + var createDrainSourceRequest1 CreateDrainSourceRequest1 = CreateDrainSourceRequest1{} + if err := utils.UnmarshalJSON(data, &createDrainSourceRequest1, "", true, nil); err == nil { + u.CreateDrainSourceRequest1 = &createDrainSourceRequest1 + u.Type = CreateDrainSourceRequestUnion2TypeCreateDrainSourceRequest1 + return nil + } + + var createDrainSourceRequest2 CreateDrainSourceRequest2 = CreateDrainSourceRequest2{} + if err := utils.UnmarshalJSON(data, &createDrainSourceRequest2, "", true, nil); err == nil { + u.CreateDrainSourceRequest2 = &createDrainSourceRequest2 + u.Type = CreateDrainSourceRequestUnion2TypeCreateDrainSourceRequest2 + return nil + } + + var createDrainSourceRequest3 CreateDrainSourceRequest3 = CreateDrainSourceRequest3{} + if err := utils.UnmarshalJSON(data, &createDrainSourceRequest3, "", true, nil); err == nil { + u.CreateDrainSourceRequest3 = &createDrainSourceRequest3 + u.Type = CreateDrainSourceRequestUnion2TypeCreateDrainSourceRequest3 + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for CreateDrainSourceRequestUnion2", string(data)) +} + +func (u CreateDrainSourceRequestUnion2) MarshalJSON() ([]byte, error) { + if u.CreateDrainSourceRequest1 != nil { + return utils.MarshalJSON(u.CreateDrainSourceRequest1, "", true) + } + + if u.CreateDrainSourceRequest2 != nil { + return utils.MarshalJSON(u.CreateDrainSourceRequest2, "", true) + } + + if u.CreateDrainSourceRequest3 != nil { + return utils.MarshalJSON(u.CreateDrainSourceRequest3, "", true) + } + + return nil, errors.New("could not marshal union type CreateDrainSourceRequestUnion2: all fields are null") +} + +type CreateDrainSourceRequestUnion1Type string + +const ( + CreateDrainSourceRequestUnion1TypeCreateDrainSourceRequestUnion2 CreateDrainSourceRequestUnion1Type = "createDrain_source_request_union_2" + CreateDrainSourceRequestUnion1TypeCreateDrainSourceRequest4 CreateDrainSourceRequestUnion1Type = "createDrain_source_request_4" +) + +type CreateDrainSourceRequestUnion1 struct { + CreateDrainSourceRequestUnion2 *CreateDrainSourceRequestUnion2 `queryParam:"inline"` + CreateDrainSourceRequest4 *CreateDrainSourceRequest4 `queryParam:"inline"` + + Type CreateDrainSourceRequestUnion1Type +} + +func CreateCreateDrainSourceRequestUnion1CreateDrainSourceRequestUnion2(createDrainSourceRequestUnion2 CreateDrainSourceRequestUnion2) CreateDrainSourceRequestUnion1 { + typ := CreateDrainSourceRequestUnion1TypeCreateDrainSourceRequestUnion2 + + return CreateDrainSourceRequestUnion1{ + CreateDrainSourceRequestUnion2: &createDrainSourceRequestUnion2, + Type: typ, + } +} + +func CreateCreateDrainSourceRequestUnion1CreateDrainSourceRequest4(createDrainSourceRequest4 CreateDrainSourceRequest4) CreateDrainSourceRequestUnion1 { + typ := CreateDrainSourceRequestUnion1TypeCreateDrainSourceRequest4 + + return CreateDrainSourceRequestUnion1{ + CreateDrainSourceRequest4: &createDrainSourceRequest4, + Type: typ, + } +} + +func (u *CreateDrainSourceRequestUnion1) UnmarshalJSON(data []byte) error { + + var createDrainSourceRequestUnion2 CreateDrainSourceRequestUnion2 = CreateDrainSourceRequestUnion2{} + if err := utils.UnmarshalJSON(data, &createDrainSourceRequestUnion2, "", true, nil); err == nil { + u.CreateDrainSourceRequestUnion2 = &createDrainSourceRequestUnion2 + u.Type = CreateDrainSourceRequestUnion1TypeCreateDrainSourceRequestUnion2 + return nil + } + + var createDrainSourceRequest4 CreateDrainSourceRequest4 = CreateDrainSourceRequest4{} + if err := utils.UnmarshalJSON(data, &createDrainSourceRequest4, "", true, nil); err == nil { + u.CreateDrainSourceRequest4 = &createDrainSourceRequest4 + u.Type = CreateDrainSourceRequestUnion1TypeCreateDrainSourceRequest4 + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for CreateDrainSourceRequestUnion1", string(data)) +} + +func (u CreateDrainSourceRequestUnion1) MarshalJSON() ([]byte, error) { + if u.CreateDrainSourceRequestUnion2 != nil { + return utils.MarshalJSON(u.CreateDrainSourceRequestUnion2, "", true) + } + + if u.CreateDrainSourceRequest4 != nil { + return utils.MarshalJSON(u.CreateDrainSourceRequest4, "", true) + } + + return nil, errors.New("could not marshal union type CreateDrainSourceRequestUnion1: all fields are null") +} + +type CreateDrainRequestBody struct { + Name string `json:"name"` + Projects CreateDrainProjects `json:"projects"` + ProjectIds []string `json:"projectIds,omitempty"` + Filter *CreateDrainFilterRequestUnion1 `json:"filter,omitempty"` + Schemas map[string]CreateDrainSchemasRequest `json:"schemas"` + Delivery *CreateDrainDeliveryRequestUnion `json:"delivery,omitempty"` + Sampling []CreateDrainSamplingRequest `json:"sampling,omitempty"` + Transforms []CreateDrainTransform `json:"transforms,omitempty"` + Source *CreateDrainSourceRequestUnion1 `json:"source,omitempty"` +} + +func (o *CreateDrainRequestBody) GetName() string { + if o == nil { + return "" + } + return o.Name +} + +func (o *CreateDrainRequestBody) GetProjects() CreateDrainProjects { + if o == nil { + return CreateDrainProjects("") + } + return o.Projects +} + +func (o *CreateDrainRequestBody) GetProjectIds() []string { + if o == nil { + return nil + } + return o.ProjectIds +} + +func (o *CreateDrainRequestBody) GetFilter() *CreateDrainFilterRequestUnion1 { + if o == nil { + return nil + } + return o.Filter +} + +func (o *CreateDrainRequestBody) GetSchemas() map[string]CreateDrainSchemasRequest { + if o == nil { + return map[string]CreateDrainSchemasRequest{} + } + return o.Schemas +} + +func (o *CreateDrainRequestBody) GetDelivery() *CreateDrainDeliveryRequestUnion { + if o == nil { + return nil + } + return o.Delivery +} + +func (o *CreateDrainRequestBody) GetSampling() []CreateDrainSamplingRequest { + if o == nil { + return nil + } + return o.Sampling +} + +func (o *CreateDrainRequestBody) GetTransforms() []CreateDrainTransform { + if o == nil { + return nil + } + return o.Transforms +} + +func (o *CreateDrainRequestBody) GetSource() *CreateDrainSourceRequestUnion1 { + if o == nil { + return nil + } + return o.Source +} + +type CreateDrainRequest struct { + // The Team identifier to perform the request on behalf of. + TeamID *string `queryParam:"style=form,explode=true,name=teamId"` + // The Team slug to perform the request on behalf of. + Slug *string `queryParam:"style=form,explode=true,name=slug"` + Body *CreateDrainRequestBody `request:"mediaType=application/json"` +} + +func (o *CreateDrainRequest) GetTeamID() *string { + if o == nil { + return nil + } + return o.TeamID +} + +func (o *CreateDrainRequest) GetSlug() *string { + if o == nil { + return nil + } + return o.Slug +} + +func (o *CreateDrainRequest) GetBody() *CreateDrainRequestBody { + if o == nil { + return nil + } + return o.Body +} + +type CreateDrainCreatedFrom2 string + +const ( + CreateDrainCreatedFrom2SelfServed CreateDrainCreatedFrom2 = "self-served" + CreateDrainCreatedFrom2Integration CreateDrainCreatedFrom2 = "integration" +) + +func (e CreateDrainCreatedFrom2) ToPointer() *CreateDrainCreatedFrom2 { + return &e +} +func (e *CreateDrainCreatedFrom2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "self-served": + fallthrough + case "integration": + *e = CreateDrainCreatedFrom2(v) + return nil + default: + return fmt.Errorf("invalid value for CreateDrainCreatedFrom2: %v", v) + } +} + +type CreateDrainSchemasLog2 struct { +} + +func (c CreateDrainSchemasLog2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(c, "", false) +} + +func (c *CreateDrainSchemasLog2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &c, "", false, nil); err != nil { + return err + } + return nil +} + +type CreateDrainTrace2 struct { +} + +func (c CreateDrainTrace2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(c, "", false) +} + +func (c *CreateDrainTrace2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &c, "", false, nil); err != nil { + return err + } + return nil +} + +type CreateDrainAnalytics2 struct { +} + +func (c CreateDrainAnalytics2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(c, "", false) +} + +func (c *CreateDrainAnalytics2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &c, "", false, nil); err != nil { + return err + } + return nil +} + +type CreateDrainSpeedInsights2 struct { +} + +func (c CreateDrainSpeedInsights2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(c, "", false) +} + +func (c *CreateDrainSpeedInsights2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &c, "", false, nil); err != nil { + return err + } + return nil +} + +type CreateDrainSchemasResponse2 struct { + Log *CreateDrainSchemasLog2 `json:"log,omitempty"` + Trace *CreateDrainTrace2 `json:"trace,omitempty"` + Analytics *CreateDrainAnalytics2 `json:"analytics,omitempty"` + SpeedInsights *CreateDrainSpeedInsights2 `json:"speed_insights,omitempty"` +} + +func (c CreateDrainSchemasResponse2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(c, "", false) +} + +func (c *CreateDrainSchemasResponse2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &c, "", false, nil); err != nil { + return err + } + return nil +} + +func (o *CreateDrainSchemasResponse2) GetLog() *CreateDrainSchemasLog2 { + if o == nil { + return nil + } + return o.Log +} + +func (o *CreateDrainSchemasResponse2) GetTrace() *CreateDrainTrace2 { + if o == nil { + return nil + } + return o.Trace +} + +func (o *CreateDrainSchemasResponse2) GetAnalytics() *CreateDrainAnalytics2 { + if o == nil { + return nil + } + return o.Analytics +} + +func (o *CreateDrainSchemasResponse2) GetSpeedInsights() *CreateDrainSpeedInsights2 { + if o == nil { + return nil + } + return o.SpeedInsights +} + +type CreateDrainTypeInternal2 string + +const ( + CreateDrainTypeInternal2Internal CreateDrainTypeInternal2 = "internal" +) + +func (e CreateDrainTypeInternal2) ToPointer() *CreateDrainTypeInternal2 { + return &e +} +func (e *CreateDrainTypeInternal2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "internal": + *e = CreateDrainTypeInternal2(v) + return nil + default: + return fmt.Errorf("invalid value for CreateDrainTypeInternal2: %v", v) + } +} + +type CreateDrainTarget2 string + +const ( + CreateDrainTarget2VercelOtelTracesDb CreateDrainTarget2 = "vercel-otel-traces-db" +) + +func (e CreateDrainTarget2) ToPointer() *CreateDrainTarget2 { + return &e +} +func (e *CreateDrainTarget2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "vercel-otel-traces-db": + *e = CreateDrainTarget2(v) + return nil + default: + return fmt.Errorf("invalid value for CreateDrainTarget2: %v", v) + } +} + +type CreateDrainDeliveryVercelOtelTracesDb2 struct { + Type CreateDrainTypeInternal2 `json:"type"` + Target CreateDrainTarget2 `json:"target"` +} + +func (c CreateDrainDeliveryVercelOtelTracesDb2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(c, "", false) +} + +func (c *CreateDrainDeliveryVercelOtelTracesDb2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &c, "", false, []string{"type", "target"}); err != nil { + return err + } + return nil +} + +func (o *CreateDrainDeliveryVercelOtelTracesDb2) GetType() CreateDrainTypeInternal2 { + if o == nil { + return CreateDrainTypeInternal2("") + } + return o.Type +} + +func (o *CreateDrainDeliveryVercelOtelTracesDb2) GetTarget() CreateDrainTarget2 { + if o == nil { + return CreateDrainTarget2("") + } + return o.Target +} + +type CreateDrainTypeClickhouse2 string + +const ( + CreateDrainTypeClickhouse2Clickhouse CreateDrainTypeClickhouse2 = "clickhouse" +) + +func (e CreateDrainTypeClickhouse2) ToPointer() *CreateDrainTypeClickhouse2 { + return &e +} +func (e *CreateDrainTypeClickhouse2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "clickhouse": + *e = CreateDrainTypeClickhouse2(v) + return nil + default: + return fmt.Errorf("invalid value for CreateDrainTypeClickhouse2: %v", v) + } +} + +type CreateDrainDeliveryClickhouse2 struct { + Type CreateDrainTypeClickhouse2 `json:"type"` + Endpoint string `json:"endpoint"` + Table string `json:"table"` +} + +func (c CreateDrainDeliveryClickhouse2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(c, "", false) +} + +func (c *CreateDrainDeliveryClickhouse2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &c, "", false, []string{"type", "endpoint", "table"}); err != nil { + return err + } + return nil +} + +func (o *CreateDrainDeliveryClickhouse2) GetType() CreateDrainTypeClickhouse2 { + if o == nil { + return CreateDrainTypeClickhouse2("") + } + return o.Type +} + +func (o *CreateDrainDeliveryClickhouse2) GetEndpoint() string { + if o == nil { + return "" + } + return o.Endpoint +} + +func (o *CreateDrainDeliveryClickhouse2) GetTable() string { + if o == nil { + return "" + } + return o.Table +} + +type CreateDrainTypeOtlphttp2 string + +const ( + CreateDrainTypeOtlphttp2Otlphttp CreateDrainTypeOtlphttp2 = "otlphttp" +) + +func (e CreateDrainTypeOtlphttp2) ToPointer() *CreateDrainTypeOtlphttp2 { + return &e +} +func (e *CreateDrainTypeOtlphttp2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "otlphttp": + *e = CreateDrainTypeOtlphttp2(v) + return nil + default: + return fmt.Errorf("invalid value for CreateDrainTypeOtlphttp2: %v", v) + } +} + +type CreateDrainEndpointResponse2 struct { + Traces string `json:"traces"` +} + +func (c CreateDrainEndpointResponse2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(c, "", false) +} + +func (c *CreateDrainEndpointResponse2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &c, "", false, []string{"traces"}); err != nil { + return err + } + return nil +} + +func (o *CreateDrainEndpointResponse2) GetTraces() string { + if o == nil { + return "" + } + return o.Traces +} + +type CreateDrainEncodingResponse4 string + +const ( + CreateDrainEncodingResponse4JSON CreateDrainEncodingResponse4 = "json" + CreateDrainEncodingResponse4Proto CreateDrainEncodingResponse4 = "proto" +) + +func (e CreateDrainEncodingResponse4) ToPointer() *CreateDrainEncodingResponse4 { + return &e +} +func (e *CreateDrainEncodingResponse4) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "json": + fallthrough + case "proto": + *e = CreateDrainEncodingResponse4(v) + return nil + default: + return fmt.Errorf("invalid value for CreateDrainEncodingResponse4: %v", v) + } +} + +type CreateDrainDeliveryOtlphttp2 struct { + Type CreateDrainTypeOtlphttp2 `json:"type"` + Endpoint CreateDrainEndpointResponse2 `json:"endpoint"` + Encoding CreateDrainEncodingResponse4 `json:"encoding"` + Headers map[string]string `json:"headers"` + Secret *string `json:"secret,omitempty"` +} + +func (c CreateDrainDeliveryOtlphttp2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(c, "", false) +} + +func (c *CreateDrainDeliveryOtlphttp2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &c, "", false, []string{"type", "endpoint", "encoding", "headers"}); err != nil { + return err + } + return nil +} + +func (o *CreateDrainDeliveryOtlphttp2) GetType() CreateDrainTypeOtlphttp2 { + if o == nil { + return CreateDrainTypeOtlphttp2("") + } + return o.Type +} + +func (o *CreateDrainDeliveryOtlphttp2) GetEndpoint() CreateDrainEndpointResponse2 { + if o == nil { + return CreateDrainEndpointResponse2{} + } + return o.Endpoint +} + +func (o *CreateDrainDeliveryOtlphttp2) GetEncoding() CreateDrainEncodingResponse4 { + if o == nil { + return CreateDrainEncodingResponse4("") + } + return o.Encoding +} + +func (o *CreateDrainDeliveryOtlphttp2) GetHeaders() map[string]string { + if o == nil { + return map[string]string{} + } + return o.Headers +} + +func (o *CreateDrainDeliveryOtlphttp2) GetSecret() *string { + if o == nil { + return nil + } + return o.Secret +} + +type CreateDrainTypeHTTP2 string + +const ( + CreateDrainTypeHTTP2HTTP CreateDrainTypeHTTP2 = "http" +) + +func (e CreateDrainTypeHTTP2) ToPointer() *CreateDrainTypeHTTP2 { + return &e +} +func (e *CreateDrainTypeHTTP2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "http": + *e = CreateDrainTypeHTTP2(v) + return nil + default: + return fmt.Errorf("invalid value for CreateDrainTypeHTTP2: %v", v) + } +} + +type CreateDrainEncodingResponse3 string + +const ( + CreateDrainEncodingResponse3JSON CreateDrainEncodingResponse3 = "json" + CreateDrainEncodingResponse3Ndjson CreateDrainEncodingResponse3 = "ndjson" +) + +func (e CreateDrainEncodingResponse3) ToPointer() *CreateDrainEncodingResponse3 { + return &e +} +func (e *CreateDrainEncodingResponse3) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "json": + fallthrough + case "ndjson": + *e = CreateDrainEncodingResponse3(v) + return nil + default: + return fmt.Errorf("invalid value for CreateDrainEncodingResponse3: %v", v) + } +} + +type CreateDrainCompressionResponse2 string + +const ( + CreateDrainCompressionResponse2Gzip CreateDrainCompressionResponse2 = "gzip" + CreateDrainCompressionResponse2None CreateDrainCompressionResponse2 = "none" +) + +func (e CreateDrainCompressionResponse2) ToPointer() *CreateDrainCompressionResponse2 { + return &e +} +func (e *CreateDrainCompressionResponse2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "gzip": + fallthrough + case "none": + *e = CreateDrainCompressionResponse2(v) + return nil + default: + return fmt.Errorf("invalid value for CreateDrainCompressionResponse2: %v", v) + } +} + +type CreateDrainDeliveryHTTP2 struct { + Type CreateDrainTypeHTTP2 `json:"type"` + Endpoint string `json:"endpoint"` + Encoding CreateDrainEncodingResponse3 `json:"encoding"` + Compression *CreateDrainCompressionResponse2 `json:"compression,omitempty"` + Headers map[string]string `json:"headers"` + Secret *string `json:"secret,omitempty"` +} + +func (c CreateDrainDeliveryHTTP2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(c, "", false) +} + +func (c *CreateDrainDeliveryHTTP2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &c, "", false, []string{"type", "endpoint", "encoding", "headers"}); err != nil { + return err + } + return nil +} + +func (o *CreateDrainDeliveryHTTP2) GetType() CreateDrainTypeHTTP2 { + if o == nil { + return CreateDrainTypeHTTP2("") + } + return o.Type +} + +func (o *CreateDrainDeliveryHTTP2) GetEndpoint() string { + if o == nil { + return "" + } + return o.Endpoint +} + +func (o *CreateDrainDeliveryHTTP2) GetEncoding() CreateDrainEncodingResponse3 { + if o == nil { + return CreateDrainEncodingResponse3("") + } + return o.Encoding +} + +func (o *CreateDrainDeliveryHTTP2) GetCompression() *CreateDrainCompressionResponse2 { + if o == nil { + return nil + } + return o.Compression +} + +func (o *CreateDrainDeliveryHTTP2) GetHeaders() map[string]string { + if o == nil { + return map[string]string{} + } + return o.Headers +} + +func (o *CreateDrainDeliveryHTTP2) GetSecret() *string { + if o == nil { + return nil + } + return o.Secret +} + +type CreateDrainDeliveryResponseUnion2Type string + +const ( + CreateDrainDeliveryResponseUnion2TypeCreateDrainDeliveryHTTP2 CreateDrainDeliveryResponseUnion2Type = "createDrain_delivery_HTTP_2" + CreateDrainDeliveryResponseUnion2TypeCreateDrainDeliveryOtlphttp2 CreateDrainDeliveryResponseUnion2Type = "createDrain_delivery_Otlphttp_2" + CreateDrainDeliveryResponseUnion2TypeCreateDrainDeliveryClickhouse2 CreateDrainDeliveryResponseUnion2Type = "createDrain_delivery_Clickhouse_2" + CreateDrainDeliveryResponseUnion2TypeCreateDrainDeliveryVercelOtelTracesDb2 CreateDrainDeliveryResponseUnion2Type = "createDrain_delivery_VercelOtelTracesDb_2" +) + +type CreateDrainDeliveryResponseUnion2 struct { + CreateDrainDeliveryHTTP2 *CreateDrainDeliveryHTTP2 `queryParam:"inline"` + CreateDrainDeliveryOtlphttp2 *CreateDrainDeliveryOtlphttp2 `queryParam:"inline"` + CreateDrainDeliveryClickhouse2 *CreateDrainDeliveryClickhouse2 `queryParam:"inline"` + CreateDrainDeliveryVercelOtelTracesDb2 *CreateDrainDeliveryVercelOtelTracesDb2 `queryParam:"inline"` + + Type CreateDrainDeliveryResponseUnion2Type +} + +func CreateCreateDrainDeliveryResponseUnion2CreateDrainDeliveryHTTP2(createDrainDeliveryHTTP2 CreateDrainDeliveryHTTP2) CreateDrainDeliveryResponseUnion2 { + typ := CreateDrainDeliveryResponseUnion2TypeCreateDrainDeliveryHTTP2 + + return CreateDrainDeliveryResponseUnion2{ + CreateDrainDeliveryHTTP2: &createDrainDeliveryHTTP2, + Type: typ, + } +} + +func CreateCreateDrainDeliveryResponseUnion2CreateDrainDeliveryOtlphttp2(createDrainDeliveryOtlphttp2 CreateDrainDeliveryOtlphttp2) CreateDrainDeliveryResponseUnion2 { + typ := CreateDrainDeliveryResponseUnion2TypeCreateDrainDeliveryOtlphttp2 + + return CreateDrainDeliveryResponseUnion2{ + CreateDrainDeliveryOtlphttp2: &createDrainDeliveryOtlphttp2, + Type: typ, + } +} + +func CreateCreateDrainDeliveryResponseUnion2CreateDrainDeliveryClickhouse2(createDrainDeliveryClickhouse2 CreateDrainDeliveryClickhouse2) CreateDrainDeliveryResponseUnion2 { + typ := CreateDrainDeliveryResponseUnion2TypeCreateDrainDeliveryClickhouse2 + + return CreateDrainDeliveryResponseUnion2{ + CreateDrainDeliveryClickhouse2: &createDrainDeliveryClickhouse2, + Type: typ, + } +} + +func CreateCreateDrainDeliveryResponseUnion2CreateDrainDeliveryVercelOtelTracesDb2(createDrainDeliveryVercelOtelTracesDb2 CreateDrainDeliveryVercelOtelTracesDb2) CreateDrainDeliveryResponseUnion2 { + typ := CreateDrainDeliveryResponseUnion2TypeCreateDrainDeliveryVercelOtelTracesDb2 + + return CreateDrainDeliveryResponseUnion2{ + CreateDrainDeliveryVercelOtelTracesDb2: &createDrainDeliveryVercelOtelTracesDb2, + Type: typ, + } +} + +func (u *CreateDrainDeliveryResponseUnion2) UnmarshalJSON(data []byte) error { + + var createDrainDeliveryHTTP2 CreateDrainDeliveryHTTP2 = CreateDrainDeliveryHTTP2{} + if err := utils.UnmarshalJSON(data, &createDrainDeliveryHTTP2, "", true, nil); err == nil { + u.CreateDrainDeliveryHTTP2 = &createDrainDeliveryHTTP2 + u.Type = CreateDrainDeliveryResponseUnion2TypeCreateDrainDeliveryHTTP2 + return nil + } + + var createDrainDeliveryOtlphttp2 CreateDrainDeliveryOtlphttp2 = CreateDrainDeliveryOtlphttp2{} + if err := utils.UnmarshalJSON(data, &createDrainDeliveryOtlphttp2, "", true, nil); err == nil { + u.CreateDrainDeliveryOtlphttp2 = &createDrainDeliveryOtlphttp2 + u.Type = CreateDrainDeliveryResponseUnion2TypeCreateDrainDeliveryOtlphttp2 + return nil + } + + var createDrainDeliveryClickhouse2 CreateDrainDeliveryClickhouse2 = CreateDrainDeliveryClickhouse2{} + if err := utils.UnmarshalJSON(data, &createDrainDeliveryClickhouse2, "", true, nil); err == nil { + u.CreateDrainDeliveryClickhouse2 = &createDrainDeliveryClickhouse2 + u.Type = CreateDrainDeliveryResponseUnion2TypeCreateDrainDeliveryClickhouse2 + return nil + } + + var createDrainDeliveryVercelOtelTracesDb2 CreateDrainDeliveryVercelOtelTracesDb2 = CreateDrainDeliveryVercelOtelTracesDb2{} + if err := utils.UnmarshalJSON(data, &createDrainDeliveryVercelOtelTracesDb2, "", true, nil); err == nil { + u.CreateDrainDeliveryVercelOtelTracesDb2 = &createDrainDeliveryVercelOtelTracesDb2 + u.Type = CreateDrainDeliveryResponseUnion2TypeCreateDrainDeliveryVercelOtelTracesDb2 + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for CreateDrainDeliveryResponseUnion2", string(data)) +} + +func (u CreateDrainDeliveryResponseUnion2) MarshalJSON() ([]byte, error) { + if u.CreateDrainDeliveryHTTP2 != nil { + return utils.MarshalJSON(u.CreateDrainDeliveryHTTP2, "", true) + } + + if u.CreateDrainDeliveryOtlphttp2 != nil { + return utils.MarshalJSON(u.CreateDrainDeliveryOtlphttp2, "", true) + } + + if u.CreateDrainDeliveryClickhouse2 != nil { + return utils.MarshalJSON(u.CreateDrainDeliveryClickhouse2, "", true) + } + + if u.CreateDrainDeliveryVercelOtelTracesDb2 != nil { + return utils.MarshalJSON(u.CreateDrainDeliveryVercelOtelTracesDb2, "", true) + } + + return nil, errors.New("could not marshal union type CreateDrainDeliveryResponseUnion2: all fields are null") +} + +type CreateDrainTypeHeadSampling2 string + +const ( + CreateDrainTypeHeadSampling2HeadSampling CreateDrainTypeHeadSampling2 = "head_sampling" +) + +func (e CreateDrainTypeHeadSampling2) ToPointer() *CreateDrainTypeHeadSampling2 { + return &e +} +func (e *CreateDrainTypeHeadSampling2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "head_sampling": + *e = CreateDrainTypeHeadSampling2(v) + return nil + default: + return fmt.Errorf("invalid value for CreateDrainTypeHeadSampling2: %v", v) + } +} + +type CreateDrainEnvHeadSampling2 string + +const ( + CreateDrainEnvHeadSampling2Production CreateDrainEnvHeadSampling2 = "production" + CreateDrainEnvHeadSampling2Preview CreateDrainEnvHeadSampling2 = "preview" +) + +func (e CreateDrainEnvHeadSampling2) ToPointer() *CreateDrainEnvHeadSampling2 { + return &e +} +func (e *CreateDrainEnvHeadSampling2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "production": + fallthrough + case "preview": + *e = CreateDrainEnvHeadSampling2(v) + return nil + default: + return fmt.Errorf("invalid value for CreateDrainEnvHeadSampling2: %v", v) + } +} + +type CreateDrainSamplingResponse2 struct { + Type CreateDrainTypeHeadSampling2 `json:"type"` + Rate float64 `json:"rate"` + Env *CreateDrainEnvHeadSampling2 `json:"env,omitempty"` + RequestPath *string `json:"requestPath,omitempty"` +} + +func (c CreateDrainSamplingResponse2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(c, "", false) +} + +func (c *CreateDrainSamplingResponse2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &c, "", false, []string{"type", "rate"}); err != nil { + return err + } + return nil +} + +func (o *CreateDrainSamplingResponse2) GetType() CreateDrainTypeHeadSampling2 { + if o == nil { + return CreateDrainTypeHeadSampling2("") + } + return o.Type +} + +func (o *CreateDrainSamplingResponse2) GetRate() float64 { + if o == nil { + return 0.0 + } + return o.Rate +} + +func (o *CreateDrainSamplingResponse2) GetEnv() *CreateDrainEnvHeadSampling2 { + if o == nil { + return nil + } + return o.Env +} + +func (o *CreateDrainSamplingResponse2) GetRequestPath() *string { + if o == nil { + return nil + } + return o.RequestPath +} + +type CreateDrainStatus2 string + +const ( + CreateDrainStatus2Enabled CreateDrainStatus2 = "enabled" + CreateDrainStatus2Disabled CreateDrainStatus2 = "disabled" + CreateDrainStatus2Errored CreateDrainStatus2 = "errored" +) + +func (e CreateDrainStatus2) ToPointer() *CreateDrainStatus2 { + return &e +} +func (e *CreateDrainStatus2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "enabled": + fallthrough + case "disabled": + fallthrough + case "errored": + *e = CreateDrainStatus2(v) + return nil + default: + return fmt.Errorf("invalid value for CreateDrainStatus2: %v", v) + } +} + +type CreateDrainDisabledReason2 string + +const ( + CreateDrainDisabledReason2DisabledByOwner CreateDrainDisabledReason2 = "disabled-by-owner" + CreateDrainDisabledReason2FeatureNotAvailable CreateDrainDisabledReason2 = "feature-not-available" + CreateDrainDisabledReason2AccountPlanDowngrade CreateDrainDisabledReason2 = "account-plan-downgrade" + CreateDrainDisabledReason2DisabledByAdmin CreateDrainDisabledReason2 = "disabled-by-admin" +) + +func (e CreateDrainDisabledReason2) ToPointer() *CreateDrainDisabledReason2 { + return &e +} +func (e *CreateDrainDisabledReason2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "disabled-by-owner": + fallthrough + case "feature-not-available": + fallthrough + case "account-plan-downgrade": + fallthrough + case "disabled-by-admin": + *e = CreateDrainDisabledReason2(v) + return nil + default: + return fmt.Errorf("invalid value for CreateDrainDisabledReason2: %v", v) + } +} + +type CreateDrainKindIntegration2 string + +const ( + CreateDrainKindIntegration2Integration CreateDrainKindIntegration2 = "integration" +) + +func (e CreateDrainKindIntegration2) ToPointer() *CreateDrainKindIntegration2 { + return &e +} +func (e *CreateDrainKindIntegration2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "integration": + *e = CreateDrainKindIntegration2(v) + return nil + default: + return fmt.Errorf("invalid value for CreateDrainKindIntegration2: %v", v) + } +} + +type CreateDrainSourceIntegration2 struct { + Kind CreateDrainKindIntegration2 `json:"kind"` + ResourceID *string `json:"resourceId,omitempty"` + ExternalResourceID *string `json:"externalResourceId,omitempty"` + IntegrationID string `json:"integrationId"` + IntegrationConfigurationID string `json:"integrationConfigurationId"` +} + +func (c CreateDrainSourceIntegration2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(c, "", false) +} + +func (c *CreateDrainSourceIntegration2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &c, "", false, []string{"kind", "integrationId", "integrationConfigurationId"}); err != nil { + return err + } + return nil +} + +func (o *CreateDrainSourceIntegration2) GetKind() CreateDrainKindIntegration2 { + if o == nil { + return CreateDrainKindIntegration2("") + } + return o.Kind +} + +func (o *CreateDrainSourceIntegration2) GetResourceID() *string { + if o == nil { + return nil + } + return o.ResourceID +} + +func (o *CreateDrainSourceIntegration2) GetExternalResourceID() *string { + if o == nil { + return nil + } + return o.ExternalResourceID +} + +func (o *CreateDrainSourceIntegration2) GetIntegrationID() string { + if o == nil { + return "" + } + return o.IntegrationID +} + +func (o *CreateDrainSourceIntegration2) GetIntegrationConfigurationID() string { + if o == nil { + return "" + } + return o.IntegrationConfigurationID +} + +type CreateDrainKindSelfServed2 string + +const ( + CreateDrainKindSelfServed2SelfServed CreateDrainKindSelfServed2 = "self-served" +) + +func (e CreateDrainKindSelfServed2) ToPointer() *CreateDrainKindSelfServed2 { + return &e +} +func (e *CreateDrainKindSelfServed2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "self-served": + *e = CreateDrainKindSelfServed2(v) + return nil + default: + return fmt.Errorf("invalid value for CreateDrainKindSelfServed2: %v", v) + } +} + +type CreateDrainSourceSelfServed2 struct { + Kind CreateDrainKindSelfServed2 `json:"kind"` +} + +func (c CreateDrainSourceSelfServed2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(c, "", false) +} + +func (c *CreateDrainSourceSelfServed2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &c, "", false, []string{"kind"}); err != nil { + return err + } + return nil +} + +func (o *CreateDrainSourceSelfServed2) GetKind() CreateDrainKindSelfServed2 { + if o == nil { + return CreateDrainKindSelfServed2("") + } + return o.Kind +} + +type CreateDrainResponseBodySourceUnion2Type string + +const ( + CreateDrainResponseBodySourceUnion2TypeCreateDrainSourceSelfServed2 CreateDrainResponseBodySourceUnion2Type = "createDrain_source_SelfServed_2" + CreateDrainResponseBodySourceUnion2TypeCreateDrainSourceIntegration2 CreateDrainResponseBodySourceUnion2Type = "createDrain_source_Integration_2" +) + +type CreateDrainResponseBodySourceUnion2 struct { + CreateDrainSourceSelfServed2 *CreateDrainSourceSelfServed2 `queryParam:"inline"` + CreateDrainSourceIntegration2 *CreateDrainSourceIntegration2 `queryParam:"inline"` + + Type CreateDrainResponseBodySourceUnion2Type +} + +func CreateCreateDrainResponseBodySourceUnion2CreateDrainSourceSelfServed2(createDrainSourceSelfServed2 CreateDrainSourceSelfServed2) CreateDrainResponseBodySourceUnion2 { + typ := CreateDrainResponseBodySourceUnion2TypeCreateDrainSourceSelfServed2 + + return CreateDrainResponseBodySourceUnion2{ + CreateDrainSourceSelfServed2: &createDrainSourceSelfServed2, + Type: typ, + } +} + +func CreateCreateDrainResponseBodySourceUnion2CreateDrainSourceIntegration2(createDrainSourceIntegration2 CreateDrainSourceIntegration2) CreateDrainResponseBodySourceUnion2 { + typ := CreateDrainResponseBodySourceUnion2TypeCreateDrainSourceIntegration2 + + return CreateDrainResponseBodySourceUnion2{ + CreateDrainSourceIntegration2: &createDrainSourceIntegration2, + Type: typ, + } +} + +func (u *CreateDrainResponseBodySourceUnion2) UnmarshalJSON(data []byte) error { + + var createDrainSourceIntegration2 CreateDrainSourceIntegration2 = CreateDrainSourceIntegration2{} + if err := utils.UnmarshalJSON(data, &createDrainSourceIntegration2, "", true, nil); err == nil { + u.CreateDrainSourceIntegration2 = &createDrainSourceIntegration2 + u.Type = CreateDrainResponseBodySourceUnion2TypeCreateDrainSourceIntegration2 + return nil + } + + var createDrainSourceSelfServed2 CreateDrainSourceSelfServed2 = CreateDrainSourceSelfServed2{} + if err := utils.UnmarshalJSON(data, &createDrainSourceSelfServed2, "", true, nil); err == nil { + u.CreateDrainSourceSelfServed2 = &createDrainSourceSelfServed2 + u.Type = CreateDrainResponseBodySourceUnion2TypeCreateDrainSourceSelfServed2 + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for CreateDrainResponseBodySourceUnion2", string(data)) +} + +func (u CreateDrainResponseBodySourceUnion2) MarshalJSON() ([]byte, error) { + if u.CreateDrainSourceSelfServed2 != nil { + return utils.MarshalJSON(u.CreateDrainSourceSelfServed2, "", true) + } + + if u.CreateDrainSourceIntegration2 != nil { + return utils.MarshalJSON(u.CreateDrainSourceIntegration2, "", true) + } + + return nil, errors.New("could not marshal union type CreateDrainResponseBodySourceUnion2: all fields are null") +} + +type CreateDrainVersionV22 string + +const ( + CreateDrainVersionV22V2 CreateDrainVersionV22 = "v2" +) + +func (e CreateDrainVersionV22) ToPointer() *CreateDrainVersionV22 { + return &e +} +func (e *CreateDrainVersionV22) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "v2": + *e = CreateDrainVersionV22(v) + return nil + default: + return fmt.Errorf("invalid value for CreateDrainVersionV22: %v", v) + } +} + +type CreateDrainTypeOdata2 string + +const ( + CreateDrainTypeOdata2Odata CreateDrainTypeOdata2 = "odata" +) + +func (e CreateDrainTypeOdata2) ToPointer() *CreateDrainTypeOdata2 { + return &e +} +func (e *CreateDrainTypeOdata2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "odata": + *e = CreateDrainTypeOdata2(v) + return nil + default: + return fmt.Errorf("invalid value for CreateDrainTypeOdata2: %v", v) + } +} + +type CreateDrainFilterOdata2 struct { + Type CreateDrainTypeOdata2 `json:"type"` + Text string `json:"text"` +} + +func (c CreateDrainFilterOdata2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(c, "", false) +} + +func (c *CreateDrainFilterOdata2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &c, "", false, []string{"type", "text"}); err != nil { + return err + } + return nil +} + +func (o *CreateDrainFilterOdata2) GetType() CreateDrainTypeOdata2 { + if o == nil { + return CreateDrainTypeOdata2("") + } + return o.Type +} + +func (o *CreateDrainFilterOdata2) GetText() string { + if o == nil { + return "" + } + return o.Text +} + +type CreateDrainTypeBasic2 string + +const ( + CreateDrainTypeBasic2Basic CreateDrainTypeBasic2 = "basic" +) + +func (e CreateDrainTypeBasic2) ToPointer() *CreateDrainTypeBasic2 { + return &e +} +func (e *CreateDrainTypeBasic2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "basic": + *e = CreateDrainTypeBasic2(v) + return nil + default: + return fmt.Errorf("invalid value for CreateDrainTypeBasic2: %v", v) + } +} + +type CreateDrainFilterV2Project2 struct { + Ids []string `json:"ids,omitempty"` +} + +func (c CreateDrainFilterV2Project2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(c, "", false) +} + +func (c *CreateDrainFilterV2Project2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &c, "", false, nil); err != nil { + return err + } + return nil +} + +func (o *CreateDrainFilterV2Project2) GetIds() []string { + if o == nil { + return nil + } + return o.Ids +} + +type CreateDrainFilterV2Source2 string + +const ( + CreateDrainFilterV2Source2Build CreateDrainFilterV2Source2 = "build" + CreateDrainFilterV2Source2Edge CreateDrainFilterV2Source2 = "edge" + CreateDrainFilterV2Source2Lambda CreateDrainFilterV2Source2 = "lambda" + CreateDrainFilterV2Source2Static CreateDrainFilterV2Source2 = "static" + CreateDrainFilterV2Source2External CreateDrainFilterV2Source2 = "external" + CreateDrainFilterV2Source2Firewall CreateDrainFilterV2Source2 = "firewall" + CreateDrainFilterV2Source2Redirect CreateDrainFilterV2Source2 = "redirect" +) + +func (e CreateDrainFilterV2Source2) ToPointer() *CreateDrainFilterV2Source2 { + return &e +} +func (e *CreateDrainFilterV2Source2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "build": + fallthrough + case "edge": + fallthrough + case "lambda": + fallthrough + case "static": + fallthrough + case "external": + fallthrough + case "firewall": + fallthrough + case "redirect": + *e = CreateDrainFilterV2Source2(v) + return nil + default: + return fmt.Errorf("invalid value for CreateDrainFilterV2Source2: %v", v) + } +} + +type CreateDrainFilterV2Log2 struct { + Sources []CreateDrainFilterV2Source2 `json:"sources,omitempty"` + LegacyExcludeCachedStaticAssetLogs *bool `json:"legacy_excludeCachedStaticAssetLogs,omitempty"` +} + +func (c CreateDrainFilterV2Log2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(c, "", false) +} + +func (c *CreateDrainFilterV2Log2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &c, "", false, nil); err != nil { + return err + } + return nil +} + +func (o *CreateDrainFilterV2Log2) GetSources() []CreateDrainFilterV2Source2 { + if o == nil { + return nil + } + return o.Sources +} + +func (o *CreateDrainFilterV2Log2) GetLegacyExcludeCachedStaticAssetLogs() *bool { + if o == nil { + return nil + } + return o.LegacyExcludeCachedStaticAssetLogs +} + +type CreateDrainFilterV2Environment2 string + +const ( + CreateDrainFilterV2Environment2Production CreateDrainFilterV2Environment2 = "production" + CreateDrainFilterV2Environment2Preview CreateDrainFilterV2Environment2 = "preview" +) + +func (e CreateDrainFilterV2Environment2) ToPointer() *CreateDrainFilterV2Environment2 { + return &e +} +func (e *CreateDrainFilterV2Environment2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "production": + fallthrough + case "preview": + *e = CreateDrainFilterV2Environment2(v) + return nil + default: + return fmt.Errorf("invalid value for CreateDrainFilterV2Environment2: %v", v) + } +} + +type CreateDrainFilterV2Deployment2 struct { + Environments []CreateDrainFilterV2Environment2 `json:"environments,omitempty"` +} + +func (c CreateDrainFilterV2Deployment2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(c, "", false) +} + +func (c *CreateDrainFilterV2Deployment2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &c, "", false, nil); err != nil { + return err + } + return nil +} + +func (o *CreateDrainFilterV2Deployment2) GetEnvironments() []CreateDrainFilterV2Environment2 { + if o == nil { + return nil + } + return o.Environments +} + +type CreateDrainFilterBasic2 struct { + Type CreateDrainTypeBasic2 `json:"type"` + Project *CreateDrainFilterV2Project2 `json:"project,omitempty"` + Log *CreateDrainFilterV2Log2 `json:"log,omitempty"` + Deployment *CreateDrainFilterV2Deployment2 `json:"deployment,omitempty"` +} + +func (c CreateDrainFilterBasic2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(c, "", false) +} + +func (c *CreateDrainFilterBasic2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &c, "", false, []string{"type"}); err != nil { + return err + } + return nil +} + +func (o *CreateDrainFilterBasic2) GetType() CreateDrainTypeBasic2 { + if o == nil { + return CreateDrainTypeBasic2("") + } + return o.Type +} + +func (o *CreateDrainFilterBasic2) GetProject() *CreateDrainFilterV2Project2 { + if o == nil { + return nil + } + return o.Project +} + +func (o *CreateDrainFilterBasic2) GetLog() *CreateDrainFilterV2Log2 { + if o == nil { + return nil + } + return o.Log +} + +func (o *CreateDrainFilterBasic2) GetDeployment() *CreateDrainFilterV2Deployment2 { + if o == nil { + return nil + } + return o.Deployment +} + +type CreateDrainFilterResponseUnion2Type string + +const ( + CreateDrainFilterResponseUnion2TypeCreateDrainFilterBasic2 CreateDrainFilterResponseUnion2Type = "createDrain_filter_Basic_2" + CreateDrainFilterResponseUnion2TypeCreateDrainFilterOdata2 CreateDrainFilterResponseUnion2Type = "createDrain_filter_Odata_2" +) + +type CreateDrainFilterResponseUnion2 struct { + CreateDrainFilterBasic2 *CreateDrainFilterBasic2 `queryParam:"inline"` + CreateDrainFilterOdata2 *CreateDrainFilterOdata2 `queryParam:"inline"` + + Type CreateDrainFilterResponseUnion2Type +} + +func CreateCreateDrainFilterResponseUnion2CreateDrainFilterBasic2(createDrainFilterBasic2 CreateDrainFilterBasic2) CreateDrainFilterResponseUnion2 { + typ := CreateDrainFilterResponseUnion2TypeCreateDrainFilterBasic2 + + return CreateDrainFilterResponseUnion2{ + CreateDrainFilterBasic2: &createDrainFilterBasic2, + Type: typ, + } +} + +func CreateCreateDrainFilterResponseUnion2CreateDrainFilterOdata2(createDrainFilterOdata2 CreateDrainFilterOdata2) CreateDrainFilterResponseUnion2 { + typ := CreateDrainFilterResponseUnion2TypeCreateDrainFilterOdata2 + + return CreateDrainFilterResponseUnion2{ + CreateDrainFilterOdata2: &createDrainFilterOdata2, + Type: typ, + } +} + +func (u *CreateDrainFilterResponseUnion2) UnmarshalJSON(data []byte) error { + + var createDrainFilterOdata2 CreateDrainFilterOdata2 = CreateDrainFilterOdata2{} + if err := utils.UnmarshalJSON(data, &createDrainFilterOdata2, "", true, nil); err == nil { + u.CreateDrainFilterOdata2 = &createDrainFilterOdata2 + u.Type = CreateDrainFilterResponseUnion2TypeCreateDrainFilterOdata2 + return nil + } + + var createDrainFilterBasic2 CreateDrainFilterBasic2 = CreateDrainFilterBasic2{} + if err := utils.UnmarshalJSON(data, &createDrainFilterBasic2, "", true, nil); err == nil { + u.CreateDrainFilterBasic2 = &createDrainFilterBasic2 + u.Type = CreateDrainFilterResponseUnion2TypeCreateDrainFilterBasic2 + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for CreateDrainFilterResponseUnion2", string(data)) +} + +func (u CreateDrainFilterResponseUnion2) MarshalJSON() ([]byte, error) { + if u.CreateDrainFilterBasic2 != nil { + return utils.MarshalJSON(u.CreateDrainFilterBasic2, "", true) + } + + if u.CreateDrainFilterOdata2 != nil { + return utils.MarshalJSON(u.CreateDrainFilterOdata2, "", true) + } + + return nil, errors.New("could not marshal union type CreateDrainFilterResponseUnion2: all fields are null") +} + +type CreateDrainFilterV2V22 struct { + Version CreateDrainVersionV22 `json:"version"` + Filter CreateDrainFilterResponseUnion2 `json:"filter"` +} + +func (c CreateDrainFilterV2V22) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(c, "", false) +} + +func (c *CreateDrainFilterV2V22) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &c, "", false, []string{"version", "filter"}); err != nil { + return err + } + return nil +} + +func (o *CreateDrainFilterV2V22) GetVersion() CreateDrainVersionV22 { + if o == nil { + return CreateDrainVersionV22("") + } + return o.Version +} + +func (o *CreateDrainFilterV2V22) GetFilter() CreateDrainFilterResponseUnion2 { + if o == nil { + return CreateDrainFilterResponseUnion2{} + } + return o.Filter +} + +type CreateDrainVersionV12 string + +const ( + CreateDrainVersionV12V1 CreateDrainVersionV12 = "v1" +) + +func (e CreateDrainVersionV12) ToPointer() *CreateDrainVersionV12 { + return &e +} +func (e *CreateDrainVersionV12) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "v1": + *e = CreateDrainVersionV12(v) + return nil + default: + return fmt.Errorf("invalid value for CreateDrainVersionV12: %v", v) + } +} + +type CreateDrainFilterV2V12 struct { + Version CreateDrainVersionV12 `json:"version"` +} + +func (c CreateDrainFilterV2V12) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(c, "", false) +} + +func (c *CreateDrainFilterV2V12) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &c, "", false, []string{"version"}); err != nil { + return err + } + return nil +} + +func (o *CreateDrainFilterV2V12) GetVersion() CreateDrainVersionV12 { + if o == nil { + return CreateDrainVersionV12("") + } + return o.Version +} + +type CreateDrainFilterV2Union2Type string + +const ( + CreateDrainFilterV2Union2TypeCreateDrainFilterV2V12 CreateDrainFilterV2Union2Type = "createDrain_filterV2_V1_2" + CreateDrainFilterV2Union2TypeCreateDrainFilterV2V22 CreateDrainFilterV2Union2Type = "createDrain_filterV2_V2_2" +) + +type CreateDrainFilterV2Union2 struct { + CreateDrainFilterV2V12 *CreateDrainFilterV2V12 `queryParam:"inline"` + CreateDrainFilterV2V22 *CreateDrainFilterV2V22 `queryParam:"inline"` + + Type CreateDrainFilterV2Union2Type +} + +func CreateCreateDrainFilterV2Union2CreateDrainFilterV2V12(createDrainFilterV2V12 CreateDrainFilterV2V12) CreateDrainFilterV2Union2 { + typ := CreateDrainFilterV2Union2TypeCreateDrainFilterV2V12 + + return CreateDrainFilterV2Union2{ + CreateDrainFilterV2V12: &createDrainFilterV2V12, + Type: typ, + } +} + +func CreateCreateDrainFilterV2Union2CreateDrainFilterV2V22(createDrainFilterV2V22 CreateDrainFilterV2V22) CreateDrainFilterV2Union2 { + typ := CreateDrainFilterV2Union2TypeCreateDrainFilterV2V22 + + return CreateDrainFilterV2Union2{ + CreateDrainFilterV2V22: &createDrainFilterV2V22, + Type: typ, + } +} + +func (u *CreateDrainFilterV2Union2) UnmarshalJSON(data []byte) error { + + var createDrainFilterV2V22 CreateDrainFilterV2V22 = CreateDrainFilterV2V22{} + if err := utils.UnmarshalJSON(data, &createDrainFilterV2V22, "", true, nil); err == nil { + u.CreateDrainFilterV2V22 = &createDrainFilterV2V22 + u.Type = CreateDrainFilterV2Union2TypeCreateDrainFilterV2V22 + return nil + } + + var createDrainFilterV2V12 CreateDrainFilterV2V12 = CreateDrainFilterV2V12{} + if err := utils.UnmarshalJSON(data, &createDrainFilterV2V12, "", true, nil); err == nil { + u.CreateDrainFilterV2V12 = &createDrainFilterV2V12 + u.Type = CreateDrainFilterV2Union2TypeCreateDrainFilterV2V12 + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for CreateDrainFilterV2Union2", string(data)) +} + +func (u CreateDrainFilterV2Union2) MarshalJSON() ([]byte, error) { + if u.CreateDrainFilterV2V12 != nil { + return utils.MarshalJSON(u.CreateDrainFilterV2V12, "", true) + } + + if u.CreateDrainFilterV2V22 != nil { + return utils.MarshalJSON(u.CreateDrainFilterV2V22, "", true) + } + + return nil, errors.New("could not marshal union type CreateDrainFilterV2Union2: all fields are null") +} + +type CreateDrainFramework string + +const ( + CreateDrainFrameworkBlitzjs CreateDrainFramework = "blitzjs" + CreateDrainFrameworkNextjs CreateDrainFramework = "nextjs" + CreateDrainFrameworkGatsby CreateDrainFramework = "gatsby" + CreateDrainFrameworkRemix CreateDrainFramework = "remix" + CreateDrainFrameworkReactRouter CreateDrainFramework = "react-router" + CreateDrainFrameworkAstro CreateDrainFramework = "astro" + CreateDrainFrameworkHexo CreateDrainFramework = "hexo" + CreateDrainFrameworkEleventy CreateDrainFramework = "eleventy" + CreateDrainFrameworkDocusaurus2 CreateDrainFramework = "docusaurus-2" + CreateDrainFrameworkDocusaurus CreateDrainFramework = "docusaurus" + CreateDrainFrameworkPreact CreateDrainFramework = "preact" + CreateDrainFrameworkSolidstart1 CreateDrainFramework = "solidstart-1" + CreateDrainFrameworkSolidstart CreateDrainFramework = "solidstart" + CreateDrainFrameworkDojo CreateDrainFramework = "dojo" + CreateDrainFrameworkEmber CreateDrainFramework = "ember" + CreateDrainFrameworkVue CreateDrainFramework = "vue" + CreateDrainFrameworkScully CreateDrainFramework = "scully" + CreateDrainFrameworkIonicAngular CreateDrainFramework = "ionic-angular" + CreateDrainFrameworkAngular CreateDrainFramework = "angular" + CreateDrainFrameworkPolymer CreateDrainFramework = "polymer" + CreateDrainFrameworkSvelte CreateDrainFramework = "svelte" + CreateDrainFrameworkSveltekit CreateDrainFramework = "sveltekit" + CreateDrainFrameworkSveltekit1 CreateDrainFramework = "sveltekit-1" + CreateDrainFrameworkIonicReact CreateDrainFramework = "ionic-react" + CreateDrainFrameworkCreateReactApp CreateDrainFramework = "create-react-app" + CreateDrainFrameworkGridsome CreateDrainFramework = "gridsome" + CreateDrainFrameworkUmijs CreateDrainFramework = "umijs" + CreateDrainFrameworkSapper CreateDrainFramework = "sapper" + CreateDrainFrameworkSaber CreateDrainFramework = "saber" + CreateDrainFrameworkStencil CreateDrainFramework = "stencil" + CreateDrainFrameworkNuxtjs CreateDrainFramework = "nuxtjs" + CreateDrainFrameworkRedwoodjs CreateDrainFramework = "redwoodjs" + CreateDrainFrameworkHugo CreateDrainFramework = "hugo" + CreateDrainFrameworkJekyll CreateDrainFramework = "jekyll" + CreateDrainFrameworkBrunch CreateDrainFramework = "brunch" + CreateDrainFrameworkMiddleman CreateDrainFramework = "middleman" + CreateDrainFrameworkZola CreateDrainFramework = "zola" + CreateDrainFrameworkHydrogen CreateDrainFramework = "hydrogen" + CreateDrainFrameworkVite CreateDrainFramework = "vite" + CreateDrainFrameworkTanstackStart CreateDrainFramework = "tanstack-start" + CreateDrainFrameworkVitepress CreateDrainFramework = "vitepress" + CreateDrainFrameworkVuepress CreateDrainFramework = "vuepress" + CreateDrainFrameworkParcel CreateDrainFramework = "parcel" + CreateDrainFrameworkFastapi CreateDrainFramework = "fastapi" + CreateDrainFrameworkFlask CreateDrainFramework = "flask" + CreateDrainFrameworkFasthtml CreateDrainFramework = "fasthtml" + CreateDrainFrameworkSanityV3 CreateDrainFramework = "sanity-v3" + CreateDrainFrameworkSanity CreateDrainFramework = "sanity" + CreateDrainFrameworkStorybook CreateDrainFramework = "storybook" + CreateDrainFrameworkNitro CreateDrainFramework = "nitro" + CreateDrainFrameworkHono CreateDrainFramework = "hono" + CreateDrainFrameworkExpress CreateDrainFramework = "express" + CreateDrainFrameworkH3 CreateDrainFramework = "h3" + CreateDrainFrameworkNestjs CreateDrainFramework = "nestjs" + CreateDrainFrameworkElysia CreateDrainFramework = "elysia" + CreateDrainFrameworkFastify CreateDrainFramework = "fastify" + CreateDrainFrameworkXmcp CreateDrainFramework = "xmcp" +) + +func (e CreateDrainFramework) ToPointer() *CreateDrainFramework { + return &e +} +func (e *CreateDrainFramework) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "blitzjs": + fallthrough + case "nextjs": + fallthrough + case "gatsby": + fallthrough + case "remix": + fallthrough + case "react-router": + fallthrough + case "astro": + fallthrough + case "hexo": + fallthrough + case "eleventy": + fallthrough + case "docusaurus-2": + fallthrough + case "docusaurus": + fallthrough + case "preact": + fallthrough + case "solidstart-1": + fallthrough + case "solidstart": + fallthrough + case "dojo": + fallthrough + case "ember": + fallthrough + case "vue": + fallthrough + case "scully": + fallthrough + case "ionic-angular": + fallthrough + case "angular": + fallthrough + case "polymer": + fallthrough + case "svelte": + fallthrough + case "sveltekit": + fallthrough + case "sveltekit-1": + fallthrough + case "ionic-react": + fallthrough + case "create-react-app": + fallthrough + case "gridsome": + fallthrough + case "umijs": + fallthrough + case "sapper": + fallthrough + case "saber": + fallthrough + case "stencil": + fallthrough + case "nuxtjs": + fallthrough + case "redwoodjs": + fallthrough + case "hugo": + fallthrough + case "jekyll": + fallthrough + case "brunch": + fallthrough + case "middleman": + fallthrough + case "zola": + fallthrough + case "hydrogen": + fallthrough + case "vite": + fallthrough + case "tanstack-start": + fallthrough + case "vitepress": + fallthrough + case "vuepress": + fallthrough + case "parcel": + fallthrough + case "fastapi": + fallthrough + case "flask": + fallthrough + case "fasthtml": + fallthrough + case "sanity-v3": + fallthrough + case "sanity": + fallthrough + case "storybook": + fallthrough + case "nitro": + fallthrough + case "hono": + fallthrough + case "express": + fallthrough + case "h3": + fallthrough + case "nestjs": + fallthrough + case "elysia": + fallthrough + case "fastify": + fallthrough + case "xmcp": + *e = CreateDrainFramework(v) + return nil + default: + return fmt.Errorf("invalid value for CreateDrainFramework: %v", v) + } +} + +type CreateDrainProjectsMetadatum struct { + ID string `json:"id"` + Name string `json:"name"` + Framework *CreateDrainFramework `json:"framework,omitempty"` + LatestDeployment *string `json:"latestDeployment,omitempty"` +} + +func (c CreateDrainProjectsMetadatum) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(c, "", false) +} + +func (c *CreateDrainProjectsMetadatum) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &c, "", false, []string{"id", "name"}); err != nil { + return err + } + return nil +} + +func (o *CreateDrainProjectsMetadatum) GetID() string { + if o == nil { + return "" + } + return o.ID +} + +func (o *CreateDrainProjectsMetadatum) GetName() string { + if o == nil { + return "" + } + return o.Name +} + +func (o *CreateDrainProjectsMetadatum) GetFramework() *CreateDrainFramework { + if o == nil { + return nil + } + return o.Framework +} + +func (o *CreateDrainProjectsMetadatum) GetLatestDeployment() *string { + if o == nil { + return nil + } + return o.LatestDeployment +} + +type CreateDrainResponseBody2 struct { + ID string `json:"id"` + OwnerID string `json:"ownerId"` + Name string `json:"name"` + CreatedAt float64 `json:"createdAt"` + CreatedFrom *CreateDrainCreatedFrom2 `json:"createdFrom,omitempty"` + UpdatedAt float64 `json:"updatedAt"` + ProjectIds []string `json:"projectIds,omitempty"` + Schemas *CreateDrainSchemasResponse2 `json:"schemas,omitempty"` + Delivery *CreateDrainDeliveryResponseUnion2 `json:"delivery,omitempty"` + Sampling []CreateDrainSamplingResponse2 `json:"sampling,omitempty"` + TeamID *string `json:"teamId,omitempty"` + Status *CreateDrainStatus2 `json:"status,omitempty"` + DisabledAt *float64 `json:"disabledAt,omitempty"` + DisabledReason *CreateDrainDisabledReason2 `json:"disabledReason,omitempty"` + DisabledBy *string `json:"disabledBy,omitempty"` + FirstErrorTimestamp *float64 `json:"firstErrorTimestamp,omitempty"` + ConfigurationID *string `json:"configurationId,omitempty"` + ClientID *string `json:"clientId,omitempty"` + Source CreateDrainResponseBodySourceUnion2 `json:"source"` + Filter *string `json:"filter,omitempty"` + FilterV2 *CreateDrainFilterV2Union2 `json:"filterV2,omitempty"` + IntegrationIcon *string `json:"integrationIcon,omitempty"` + IntegrationConfigurationURI *string `json:"integrationConfigurationUri,omitempty"` + IntegrationWebsite *string `json:"integrationWebsite,omitempty"` + ProjectsMetadata []CreateDrainProjectsMetadatum `json:"projectsMetadata,omitempty"` +} + +func (c CreateDrainResponseBody2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(c, "", false) +} + +func (c *CreateDrainResponseBody2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &c, "", false, []string{"id", "ownerId", "name", "createdAt", "updatedAt", "source"}); err != nil { + return err + } + return nil +} + +func (o *CreateDrainResponseBody2) GetID() string { + if o == nil { + return "" + } + return o.ID +} + +func (o *CreateDrainResponseBody2) GetOwnerID() string { + if o == nil { + return "" + } + return o.OwnerID +} + +func (o *CreateDrainResponseBody2) GetName() string { + if o == nil { + return "" + } + return o.Name +} + +func (o *CreateDrainResponseBody2) GetCreatedAt() float64 { + if o == nil { + return 0.0 + } + return o.CreatedAt +} + +func (o *CreateDrainResponseBody2) GetCreatedFrom() *CreateDrainCreatedFrom2 { + if o == nil { + return nil + } + return o.CreatedFrom +} + +func (o *CreateDrainResponseBody2) GetUpdatedAt() float64 { + if o == nil { + return 0.0 + } + return o.UpdatedAt +} + +func (o *CreateDrainResponseBody2) GetProjectIds() []string { + if o == nil { + return nil + } + return o.ProjectIds +} + +func (o *CreateDrainResponseBody2) GetSchemas() *CreateDrainSchemasResponse2 { + if o == nil { + return nil + } + return o.Schemas +} + +func (o *CreateDrainResponseBody2) GetDelivery() *CreateDrainDeliveryResponseUnion2 { + if o == nil { + return nil + } + return o.Delivery +} + +func (o *CreateDrainResponseBody2) GetSampling() []CreateDrainSamplingResponse2 { + if o == nil { + return nil + } + return o.Sampling +} + +func (o *CreateDrainResponseBody2) GetTeamID() *string { + if o == nil { + return nil + } + return o.TeamID +} + +func (o *CreateDrainResponseBody2) GetStatus() *CreateDrainStatus2 { + if o == nil { + return nil + } + return o.Status +} + +func (o *CreateDrainResponseBody2) GetDisabledAt() *float64 { + if o == nil { + return nil + } + return o.DisabledAt +} + +func (o *CreateDrainResponseBody2) GetDisabledReason() *CreateDrainDisabledReason2 { + if o == nil { + return nil + } + return o.DisabledReason +} + +func (o *CreateDrainResponseBody2) GetDisabledBy() *string { + if o == nil { + return nil + } + return o.DisabledBy +} + +func (o *CreateDrainResponseBody2) GetFirstErrorTimestamp() *float64 { + if o == nil { + return nil + } + return o.FirstErrorTimestamp +} + +func (o *CreateDrainResponseBody2) GetConfigurationID() *string { + if o == nil { + return nil + } + return o.ConfigurationID +} + +func (o *CreateDrainResponseBody2) GetClientID() *string { + if o == nil { + return nil + } + return o.ClientID +} + +func (o *CreateDrainResponseBody2) GetSource() CreateDrainResponseBodySourceUnion2 { + if o == nil { + return CreateDrainResponseBodySourceUnion2{} + } + return o.Source +} + +func (o *CreateDrainResponseBody2) GetFilter() *string { + if o == nil { + return nil + } + return o.Filter +} + +func (o *CreateDrainResponseBody2) GetFilterV2() *CreateDrainFilterV2Union2 { + if o == nil { + return nil + } + return o.FilterV2 +} + +func (o *CreateDrainResponseBody2) GetIntegrationIcon() *string { + if o == nil { + return nil + } + return o.IntegrationIcon +} + +func (o *CreateDrainResponseBody2) GetIntegrationConfigurationURI() *string { + if o == nil { + return nil + } + return o.IntegrationConfigurationURI +} + +func (o *CreateDrainResponseBody2) GetIntegrationWebsite() *string { + if o == nil { + return nil + } + return o.IntegrationWebsite +} + +func (o *CreateDrainResponseBody2) GetProjectsMetadata() []CreateDrainProjectsMetadatum { + if o == nil { + return nil + } + return o.ProjectsMetadata +} + +type CreateDrainCreatedFrom1 string + +const ( + CreateDrainCreatedFrom1SelfServed CreateDrainCreatedFrom1 = "self-served" + CreateDrainCreatedFrom1Integration CreateDrainCreatedFrom1 = "integration" +) + +func (e CreateDrainCreatedFrom1) ToPointer() *CreateDrainCreatedFrom1 { + return &e +} +func (e *CreateDrainCreatedFrom1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "self-served": + fallthrough + case "integration": + *e = CreateDrainCreatedFrom1(v) + return nil + default: + return fmt.Errorf("invalid value for CreateDrainCreatedFrom1: %v", v) + } +} + +type CreateDrainSchemasLog1 struct { +} + +func (c CreateDrainSchemasLog1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(c, "", false) +} + +func (c *CreateDrainSchemasLog1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &c, "", false, nil); err != nil { + return err + } + return nil +} + +type CreateDrainTrace1 struct { +} + +func (c CreateDrainTrace1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(c, "", false) +} + +func (c *CreateDrainTrace1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &c, "", false, nil); err != nil { + return err + } + return nil +} + +type CreateDrainAnalytics1 struct { +} + +func (c CreateDrainAnalytics1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(c, "", false) +} + +func (c *CreateDrainAnalytics1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &c, "", false, nil); err != nil { + return err + } + return nil +} + +type CreateDrainSpeedInsights1 struct { +} + +func (c CreateDrainSpeedInsights1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(c, "", false) +} + +func (c *CreateDrainSpeedInsights1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &c, "", false, nil); err != nil { + return err + } + return nil +} + +type CreateDrainSchemasResponse1 struct { + Log *CreateDrainSchemasLog1 `json:"log,omitempty"` + Trace *CreateDrainTrace1 `json:"trace,omitempty"` + Analytics *CreateDrainAnalytics1 `json:"analytics,omitempty"` + SpeedInsights *CreateDrainSpeedInsights1 `json:"speed_insights,omitempty"` +} + +func (c CreateDrainSchemasResponse1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(c, "", false) +} + +func (c *CreateDrainSchemasResponse1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &c, "", false, nil); err != nil { + return err + } + return nil +} + +func (o *CreateDrainSchemasResponse1) GetLog() *CreateDrainSchemasLog1 { + if o == nil { + return nil + } + return o.Log +} + +func (o *CreateDrainSchemasResponse1) GetTrace() *CreateDrainTrace1 { + if o == nil { + return nil + } + return o.Trace +} + +func (o *CreateDrainSchemasResponse1) GetAnalytics() *CreateDrainAnalytics1 { + if o == nil { + return nil + } + return o.Analytics +} + +func (o *CreateDrainSchemasResponse1) GetSpeedInsights() *CreateDrainSpeedInsights1 { + if o == nil { + return nil + } + return o.SpeedInsights +} + +type CreateDrainTypeInternal1 string + +const ( + CreateDrainTypeInternal1Internal CreateDrainTypeInternal1 = "internal" +) + +func (e CreateDrainTypeInternal1) ToPointer() *CreateDrainTypeInternal1 { + return &e +} +func (e *CreateDrainTypeInternal1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "internal": + *e = CreateDrainTypeInternal1(v) + return nil + default: + return fmt.Errorf("invalid value for CreateDrainTypeInternal1: %v", v) + } +} + +type CreateDrainTarget1 string + +const ( + CreateDrainTarget1VercelOtelTracesDb CreateDrainTarget1 = "vercel-otel-traces-db" +) + +func (e CreateDrainTarget1) ToPointer() *CreateDrainTarget1 { + return &e +} +func (e *CreateDrainTarget1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "vercel-otel-traces-db": + *e = CreateDrainTarget1(v) + return nil + default: + return fmt.Errorf("invalid value for CreateDrainTarget1: %v", v) + } +} + +type CreateDrainDeliveryVercelOtelTracesDb1 struct { + Type CreateDrainTypeInternal1 `json:"type"` + Target CreateDrainTarget1 `json:"target"` +} + +func (c CreateDrainDeliveryVercelOtelTracesDb1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(c, "", false) +} + +func (c *CreateDrainDeliveryVercelOtelTracesDb1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &c, "", false, []string{"type", "target"}); err != nil { + return err + } + return nil +} + +func (o *CreateDrainDeliveryVercelOtelTracesDb1) GetType() CreateDrainTypeInternal1 { + if o == nil { + return CreateDrainTypeInternal1("") + } + return o.Type +} + +func (o *CreateDrainDeliveryVercelOtelTracesDb1) GetTarget() CreateDrainTarget1 { + if o == nil { + return CreateDrainTarget1("") + } + return o.Target +} + +type CreateDrainTypeClickhouse1 string + +const ( + CreateDrainTypeClickhouse1Clickhouse CreateDrainTypeClickhouse1 = "clickhouse" +) + +func (e CreateDrainTypeClickhouse1) ToPointer() *CreateDrainTypeClickhouse1 { + return &e +} +func (e *CreateDrainTypeClickhouse1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "clickhouse": + *e = CreateDrainTypeClickhouse1(v) + return nil + default: + return fmt.Errorf("invalid value for CreateDrainTypeClickhouse1: %v", v) + } +} + +type CreateDrainDeliveryClickhouse1 struct { + Type CreateDrainTypeClickhouse1 `json:"type"` + Endpoint string `json:"endpoint"` + Table string `json:"table"` +} + +func (c CreateDrainDeliveryClickhouse1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(c, "", false) +} + +func (c *CreateDrainDeliveryClickhouse1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &c, "", false, []string{"type", "endpoint", "table"}); err != nil { + return err + } + return nil +} + +func (o *CreateDrainDeliveryClickhouse1) GetType() CreateDrainTypeClickhouse1 { + if o == nil { + return CreateDrainTypeClickhouse1("") + } + return o.Type +} + +func (o *CreateDrainDeliveryClickhouse1) GetEndpoint() string { + if o == nil { + return "" + } + return o.Endpoint +} + +func (o *CreateDrainDeliveryClickhouse1) GetTable() string { + if o == nil { + return "" + } + return o.Table +} + +type CreateDrainTypeOtlphttp1 string + +const ( + CreateDrainTypeOtlphttp1Otlphttp CreateDrainTypeOtlphttp1 = "otlphttp" +) + +func (e CreateDrainTypeOtlphttp1) ToPointer() *CreateDrainTypeOtlphttp1 { + return &e +} +func (e *CreateDrainTypeOtlphttp1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "otlphttp": + *e = CreateDrainTypeOtlphttp1(v) + return nil + default: + return fmt.Errorf("invalid value for CreateDrainTypeOtlphttp1: %v", v) + } +} + +type CreateDrainEndpointResponse1 struct { + Traces string `json:"traces"` +} + +func (c CreateDrainEndpointResponse1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(c, "", false) +} + +func (c *CreateDrainEndpointResponse1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &c, "", false, []string{"traces"}); err != nil { + return err + } + return nil +} + +func (o *CreateDrainEndpointResponse1) GetTraces() string { + if o == nil { + return "" + } + return o.Traces +} + +type CreateDrainEncodingResponse2 string + +const ( + CreateDrainEncodingResponse2JSON CreateDrainEncodingResponse2 = "json" + CreateDrainEncodingResponse2Proto CreateDrainEncodingResponse2 = "proto" +) + +func (e CreateDrainEncodingResponse2) ToPointer() *CreateDrainEncodingResponse2 { + return &e +} +func (e *CreateDrainEncodingResponse2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "json": + fallthrough + case "proto": + *e = CreateDrainEncodingResponse2(v) + return nil + default: + return fmt.Errorf("invalid value for CreateDrainEncodingResponse2: %v", v) + } +} + +type CreateDrainDeliveryOtlphttp1 struct { + Type CreateDrainTypeOtlphttp1 `json:"type"` + Endpoint CreateDrainEndpointResponse1 `json:"endpoint"` + Encoding CreateDrainEncodingResponse2 `json:"encoding"` + Headers map[string]string `json:"headers"` + Secret *string `json:"secret,omitempty"` +} + +func (c CreateDrainDeliveryOtlphttp1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(c, "", false) +} + +func (c *CreateDrainDeliveryOtlphttp1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &c, "", false, []string{"type", "endpoint", "encoding", "headers"}); err != nil { + return err + } + return nil +} + +func (o *CreateDrainDeliveryOtlphttp1) GetType() CreateDrainTypeOtlphttp1 { + if o == nil { + return CreateDrainTypeOtlphttp1("") + } + return o.Type +} + +func (o *CreateDrainDeliveryOtlphttp1) GetEndpoint() CreateDrainEndpointResponse1 { + if o == nil { + return CreateDrainEndpointResponse1{} + } + return o.Endpoint +} + +func (o *CreateDrainDeliveryOtlphttp1) GetEncoding() CreateDrainEncodingResponse2 { + if o == nil { + return CreateDrainEncodingResponse2("") + } + return o.Encoding +} + +func (o *CreateDrainDeliveryOtlphttp1) GetHeaders() map[string]string { + if o == nil { + return map[string]string{} + } + return o.Headers +} + +func (o *CreateDrainDeliveryOtlphttp1) GetSecret() *string { + if o == nil { + return nil + } + return o.Secret +} + +type CreateDrainTypeHTTP1 string + +const ( + CreateDrainTypeHTTP1HTTP CreateDrainTypeHTTP1 = "http" +) + +func (e CreateDrainTypeHTTP1) ToPointer() *CreateDrainTypeHTTP1 { + return &e +} +func (e *CreateDrainTypeHTTP1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "http": + *e = CreateDrainTypeHTTP1(v) + return nil + default: + return fmt.Errorf("invalid value for CreateDrainTypeHTTP1: %v", v) + } +} + +type CreateDrainEncodingResponse1 string + +const ( + CreateDrainEncodingResponse1JSON CreateDrainEncodingResponse1 = "json" + CreateDrainEncodingResponse1Ndjson CreateDrainEncodingResponse1 = "ndjson" +) + +func (e CreateDrainEncodingResponse1) ToPointer() *CreateDrainEncodingResponse1 { + return &e +} +func (e *CreateDrainEncodingResponse1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "json": + fallthrough + case "ndjson": + *e = CreateDrainEncodingResponse1(v) + return nil + default: + return fmt.Errorf("invalid value for CreateDrainEncodingResponse1: %v", v) + } +} + +type CreateDrainCompressionResponse1 string + +const ( + CreateDrainCompressionResponse1Gzip CreateDrainCompressionResponse1 = "gzip" + CreateDrainCompressionResponse1None CreateDrainCompressionResponse1 = "none" +) + +func (e CreateDrainCompressionResponse1) ToPointer() *CreateDrainCompressionResponse1 { + return &e +} +func (e *CreateDrainCompressionResponse1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "gzip": + fallthrough + case "none": + *e = CreateDrainCompressionResponse1(v) + return nil + default: + return fmt.Errorf("invalid value for CreateDrainCompressionResponse1: %v", v) + } +} + +type CreateDrainDeliveryHTTP1 struct { + Type CreateDrainTypeHTTP1 `json:"type"` + Endpoint string `json:"endpoint"` + Encoding CreateDrainEncodingResponse1 `json:"encoding"` + Compression *CreateDrainCompressionResponse1 `json:"compression,omitempty"` + Headers map[string]string `json:"headers"` + Secret *string `json:"secret,omitempty"` +} + +func (c CreateDrainDeliveryHTTP1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(c, "", false) +} + +func (c *CreateDrainDeliveryHTTP1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &c, "", false, []string{"type", "endpoint", "encoding", "headers"}); err != nil { + return err + } + return nil +} + +func (o *CreateDrainDeliveryHTTP1) GetType() CreateDrainTypeHTTP1 { + if o == nil { + return CreateDrainTypeHTTP1("") + } + return o.Type +} + +func (o *CreateDrainDeliveryHTTP1) GetEndpoint() string { + if o == nil { + return "" + } + return o.Endpoint +} + +func (o *CreateDrainDeliveryHTTP1) GetEncoding() CreateDrainEncodingResponse1 { + if o == nil { + return CreateDrainEncodingResponse1("") + } + return o.Encoding +} + +func (o *CreateDrainDeliveryHTTP1) GetCompression() *CreateDrainCompressionResponse1 { + if o == nil { + return nil + } + return o.Compression +} + +func (o *CreateDrainDeliveryHTTP1) GetHeaders() map[string]string { + if o == nil { + return map[string]string{} + } + return o.Headers +} + +func (o *CreateDrainDeliveryHTTP1) GetSecret() *string { + if o == nil { + return nil + } + return o.Secret +} + +type CreateDrainDeliveryResponseUnion1Type string + +const ( + CreateDrainDeliveryResponseUnion1TypeCreateDrainDeliveryHTTP1 CreateDrainDeliveryResponseUnion1Type = "createDrain_delivery_HTTP_1" + CreateDrainDeliveryResponseUnion1TypeCreateDrainDeliveryOtlphttp1 CreateDrainDeliveryResponseUnion1Type = "createDrain_delivery_Otlphttp_1" + CreateDrainDeliveryResponseUnion1TypeCreateDrainDeliveryClickhouse1 CreateDrainDeliveryResponseUnion1Type = "createDrain_delivery_Clickhouse_1" + CreateDrainDeliveryResponseUnion1TypeCreateDrainDeliveryVercelOtelTracesDb1 CreateDrainDeliveryResponseUnion1Type = "createDrain_delivery_VercelOtelTracesDb_1" +) + +type CreateDrainDeliveryResponseUnion1 struct { + CreateDrainDeliveryHTTP1 *CreateDrainDeliveryHTTP1 `queryParam:"inline"` + CreateDrainDeliveryOtlphttp1 *CreateDrainDeliveryOtlphttp1 `queryParam:"inline"` + CreateDrainDeliveryClickhouse1 *CreateDrainDeliveryClickhouse1 `queryParam:"inline"` + CreateDrainDeliveryVercelOtelTracesDb1 *CreateDrainDeliveryVercelOtelTracesDb1 `queryParam:"inline"` + + Type CreateDrainDeliveryResponseUnion1Type +} + +func CreateCreateDrainDeliveryResponseUnion1CreateDrainDeliveryHTTP1(createDrainDeliveryHTTP1 CreateDrainDeliveryHTTP1) CreateDrainDeliveryResponseUnion1 { + typ := CreateDrainDeliveryResponseUnion1TypeCreateDrainDeliveryHTTP1 + + return CreateDrainDeliveryResponseUnion1{ + CreateDrainDeliveryHTTP1: &createDrainDeliveryHTTP1, + Type: typ, + } +} + +func CreateCreateDrainDeliveryResponseUnion1CreateDrainDeliveryOtlphttp1(createDrainDeliveryOtlphttp1 CreateDrainDeliveryOtlphttp1) CreateDrainDeliveryResponseUnion1 { + typ := CreateDrainDeliveryResponseUnion1TypeCreateDrainDeliveryOtlphttp1 + + return CreateDrainDeliveryResponseUnion1{ + CreateDrainDeliveryOtlphttp1: &createDrainDeliveryOtlphttp1, + Type: typ, + } +} + +func CreateCreateDrainDeliveryResponseUnion1CreateDrainDeliveryClickhouse1(createDrainDeliveryClickhouse1 CreateDrainDeliveryClickhouse1) CreateDrainDeliveryResponseUnion1 { + typ := CreateDrainDeliveryResponseUnion1TypeCreateDrainDeliveryClickhouse1 + + return CreateDrainDeliveryResponseUnion1{ + CreateDrainDeliveryClickhouse1: &createDrainDeliveryClickhouse1, + Type: typ, + } +} + +func CreateCreateDrainDeliveryResponseUnion1CreateDrainDeliveryVercelOtelTracesDb1(createDrainDeliveryVercelOtelTracesDb1 CreateDrainDeliveryVercelOtelTracesDb1) CreateDrainDeliveryResponseUnion1 { + typ := CreateDrainDeliveryResponseUnion1TypeCreateDrainDeliveryVercelOtelTracesDb1 + + return CreateDrainDeliveryResponseUnion1{ + CreateDrainDeliveryVercelOtelTracesDb1: &createDrainDeliveryVercelOtelTracesDb1, + Type: typ, + } +} + +func (u *CreateDrainDeliveryResponseUnion1) UnmarshalJSON(data []byte) error { + + var createDrainDeliveryHTTP1 CreateDrainDeliveryHTTP1 = CreateDrainDeliveryHTTP1{} + if err := utils.UnmarshalJSON(data, &createDrainDeliveryHTTP1, "", true, nil); err == nil { + u.CreateDrainDeliveryHTTP1 = &createDrainDeliveryHTTP1 + u.Type = CreateDrainDeliveryResponseUnion1TypeCreateDrainDeliveryHTTP1 + return nil + } + + var createDrainDeliveryOtlphttp1 CreateDrainDeliveryOtlphttp1 = CreateDrainDeliveryOtlphttp1{} + if err := utils.UnmarshalJSON(data, &createDrainDeliveryOtlphttp1, "", true, nil); err == nil { + u.CreateDrainDeliveryOtlphttp1 = &createDrainDeliveryOtlphttp1 + u.Type = CreateDrainDeliveryResponseUnion1TypeCreateDrainDeliveryOtlphttp1 + return nil + } + + var createDrainDeliveryClickhouse1 CreateDrainDeliveryClickhouse1 = CreateDrainDeliveryClickhouse1{} + if err := utils.UnmarshalJSON(data, &createDrainDeliveryClickhouse1, "", true, nil); err == nil { + u.CreateDrainDeliveryClickhouse1 = &createDrainDeliveryClickhouse1 + u.Type = CreateDrainDeliveryResponseUnion1TypeCreateDrainDeliveryClickhouse1 + return nil + } + + var createDrainDeliveryVercelOtelTracesDb1 CreateDrainDeliveryVercelOtelTracesDb1 = CreateDrainDeliveryVercelOtelTracesDb1{} + if err := utils.UnmarshalJSON(data, &createDrainDeliveryVercelOtelTracesDb1, "", true, nil); err == nil { + u.CreateDrainDeliveryVercelOtelTracesDb1 = &createDrainDeliveryVercelOtelTracesDb1 + u.Type = CreateDrainDeliveryResponseUnion1TypeCreateDrainDeliveryVercelOtelTracesDb1 + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for CreateDrainDeliveryResponseUnion1", string(data)) +} + +func (u CreateDrainDeliveryResponseUnion1) MarshalJSON() ([]byte, error) { + if u.CreateDrainDeliveryHTTP1 != nil { + return utils.MarshalJSON(u.CreateDrainDeliveryHTTP1, "", true) + } + + if u.CreateDrainDeliveryOtlphttp1 != nil { + return utils.MarshalJSON(u.CreateDrainDeliveryOtlphttp1, "", true) + } + + if u.CreateDrainDeliveryClickhouse1 != nil { + return utils.MarshalJSON(u.CreateDrainDeliveryClickhouse1, "", true) + } + + if u.CreateDrainDeliveryVercelOtelTracesDb1 != nil { + return utils.MarshalJSON(u.CreateDrainDeliveryVercelOtelTracesDb1, "", true) + } + + return nil, errors.New("could not marshal union type CreateDrainDeliveryResponseUnion1: all fields are null") +} + +type CreateDrainTypeHeadSampling1 string + +const ( + CreateDrainTypeHeadSampling1HeadSampling CreateDrainTypeHeadSampling1 = "head_sampling" +) + +func (e CreateDrainTypeHeadSampling1) ToPointer() *CreateDrainTypeHeadSampling1 { + return &e +} +func (e *CreateDrainTypeHeadSampling1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "head_sampling": + *e = CreateDrainTypeHeadSampling1(v) + return nil + default: + return fmt.Errorf("invalid value for CreateDrainTypeHeadSampling1: %v", v) + } +} + +type CreateDrainEnvHeadSampling1 string + +const ( + CreateDrainEnvHeadSampling1Production CreateDrainEnvHeadSampling1 = "production" + CreateDrainEnvHeadSampling1Preview CreateDrainEnvHeadSampling1 = "preview" +) + +func (e CreateDrainEnvHeadSampling1) ToPointer() *CreateDrainEnvHeadSampling1 { + return &e +} +func (e *CreateDrainEnvHeadSampling1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "production": + fallthrough + case "preview": + *e = CreateDrainEnvHeadSampling1(v) + return nil + default: + return fmt.Errorf("invalid value for CreateDrainEnvHeadSampling1: %v", v) + } +} + +type CreateDrainSamplingResponse1 struct { + Type CreateDrainTypeHeadSampling1 `json:"type"` + Rate float64 `json:"rate"` + Env *CreateDrainEnvHeadSampling1 `json:"env,omitempty"` + RequestPath *string `json:"requestPath,omitempty"` +} + +func (c CreateDrainSamplingResponse1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(c, "", false) +} + +func (c *CreateDrainSamplingResponse1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &c, "", false, []string{"type", "rate"}); err != nil { + return err + } + return nil +} + +func (o *CreateDrainSamplingResponse1) GetType() CreateDrainTypeHeadSampling1 { + if o == nil { + return CreateDrainTypeHeadSampling1("") + } + return o.Type +} + +func (o *CreateDrainSamplingResponse1) GetRate() float64 { + if o == nil { + return 0.0 + } + return o.Rate +} + +func (o *CreateDrainSamplingResponse1) GetEnv() *CreateDrainEnvHeadSampling1 { + if o == nil { + return nil + } + return o.Env +} + +func (o *CreateDrainSamplingResponse1) GetRequestPath() *string { + if o == nil { + return nil + } + return o.RequestPath +} + +type CreateDrainStatus1 string + +const ( + CreateDrainStatus1Enabled CreateDrainStatus1 = "enabled" + CreateDrainStatus1Disabled CreateDrainStatus1 = "disabled" + CreateDrainStatus1Errored CreateDrainStatus1 = "errored" +) + +func (e CreateDrainStatus1) ToPointer() *CreateDrainStatus1 { + return &e +} +func (e *CreateDrainStatus1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "enabled": + fallthrough + case "disabled": + fallthrough + case "errored": + *e = CreateDrainStatus1(v) + return nil + default: + return fmt.Errorf("invalid value for CreateDrainStatus1: %v", v) + } +} + +type CreateDrainDisabledReason1 string + +const ( + CreateDrainDisabledReason1DisabledByOwner CreateDrainDisabledReason1 = "disabled-by-owner" + CreateDrainDisabledReason1FeatureNotAvailable CreateDrainDisabledReason1 = "feature-not-available" + CreateDrainDisabledReason1AccountPlanDowngrade CreateDrainDisabledReason1 = "account-plan-downgrade" + CreateDrainDisabledReason1DisabledByAdmin CreateDrainDisabledReason1 = "disabled-by-admin" +) + +func (e CreateDrainDisabledReason1) ToPointer() *CreateDrainDisabledReason1 { + return &e +} +func (e *CreateDrainDisabledReason1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "disabled-by-owner": + fallthrough + case "feature-not-available": + fallthrough + case "account-plan-downgrade": + fallthrough + case "disabled-by-admin": + *e = CreateDrainDisabledReason1(v) + return nil + default: + return fmt.Errorf("invalid value for CreateDrainDisabledReason1: %v", v) + } +} + +type CreateDrainKindIntegration1 string + +const ( + CreateDrainKindIntegration1Integration CreateDrainKindIntegration1 = "integration" +) + +func (e CreateDrainKindIntegration1) ToPointer() *CreateDrainKindIntegration1 { + return &e +} +func (e *CreateDrainKindIntegration1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "integration": + *e = CreateDrainKindIntegration1(v) + return nil + default: + return fmt.Errorf("invalid value for CreateDrainKindIntegration1: %v", v) + } +} + +type CreateDrainSourceIntegration1 struct { + Kind CreateDrainKindIntegration1 `json:"kind"` + ResourceID *string `json:"resourceId,omitempty"` + ExternalResourceID *string `json:"externalResourceId,omitempty"` + IntegrationID string `json:"integrationId"` + IntegrationConfigurationID string `json:"integrationConfigurationId"` +} + +func (c CreateDrainSourceIntegration1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(c, "", false) +} + +func (c *CreateDrainSourceIntegration1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &c, "", false, []string{"kind", "integrationId", "integrationConfigurationId"}); err != nil { + return err + } + return nil +} + +func (o *CreateDrainSourceIntegration1) GetKind() CreateDrainKindIntegration1 { + if o == nil { + return CreateDrainKindIntegration1("") + } + return o.Kind +} + +func (o *CreateDrainSourceIntegration1) GetResourceID() *string { + if o == nil { + return nil + } + return o.ResourceID +} + +func (o *CreateDrainSourceIntegration1) GetExternalResourceID() *string { + if o == nil { + return nil + } + return o.ExternalResourceID +} + +func (o *CreateDrainSourceIntegration1) GetIntegrationID() string { + if o == nil { + return "" + } + return o.IntegrationID +} + +func (o *CreateDrainSourceIntegration1) GetIntegrationConfigurationID() string { + if o == nil { + return "" + } + return o.IntegrationConfigurationID +} + +type CreateDrainKindSelfServed1 string + +const ( + CreateDrainKindSelfServed1SelfServed CreateDrainKindSelfServed1 = "self-served" +) + +func (e CreateDrainKindSelfServed1) ToPointer() *CreateDrainKindSelfServed1 { + return &e +} +func (e *CreateDrainKindSelfServed1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "self-served": + *e = CreateDrainKindSelfServed1(v) + return nil + default: + return fmt.Errorf("invalid value for CreateDrainKindSelfServed1: %v", v) + } +} + +type CreateDrainSourceSelfServed1 struct { + Kind CreateDrainKindSelfServed1 `json:"kind"` +} + +func (c CreateDrainSourceSelfServed1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(c, "", false) +} + +func (c *CreateDrainSourceSelfServed1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &c, "", false, []string{"kind"}); err != nil { + return err + } + return nil +} + +func (o *CreateDrainSourceSelfServed1) GetKind() CreateDrainKindSelfServed1 { + if o == nil { + return CreateDrainKindSelfServed1("") + } + return o.Kind +} + +type CreateDrainResponseBodySourceUnion1Type string + +const ( + CreateDrainResponseBodySourceUnion1TypeCreateDrainSourceSelfServed1 CreateDrainResponseBodySourceUnion1Type = "createDrain_source_SelfServed_1" + CreateDrainResponseBodySourceUnion1TypeCreateDrainSourceIntegration1 CreateDrainResponseBodySourceUnion1Type = "createDrain_source_Integration_1" +) + +type CreateDrainResponseBodySourceUnion1 struct { + CreateDrainSourceSelfServed1 *CreateDrainSourceSelfServed1 `queryParam:"inline"` + CreateDrainSourceIntegration1 *CreateDrainSourceIntegration1 `queryParam:"inline"` + + Type CreateDrainResponseBodySourceUnion1Type +} + +func CreateCreateDrainResponseBodySourceUnion1CreateDrainSourceSelfServed1(createDrainSourceSelfServed1 CreateDrainSourceSelfServed1) CreateDrainResponseBodySourceUnion1 { + typ := CreateDrainResponseBodySourceUnion1TypeCreateDrainSourceSelfServed1 + + return CreateDrainResponseBodySourceUnion1{ + CreateDrainSourceSelfServed1: &createDrainSourceSelfServed1, + Type: typ, + } +} + +func CreateCreateDrainResponseBodySourceUnion1CreateDrainSourceIntegration1(createDrainSourceIntegration1 CreateDrainSourceIntegration1) CreateDrainResponseBodySourceUnion1 { + typ := CreateDrainResponseBodySourceUnion1TypeCreateDrainSourceIntegration1 + + return CreateDrainResponseBodySourceUnion1{ + CreateDrainSourceIntegration1: &createDrainSourceIntegration1, + Type: typ, + } +} + +func (u *CreateDrainResponseBodySourceUnion1) UnmarshalJSON(data []byte) error { + + var createDrainSourceIntegration1 CreateDrainSourceIntegration1 = CreateDrainSourceIntegration1{} + if err := utils.UnmarshalJSON(data, &createDrainSourceIntegration1, "", true, nil); err == nil { + u.CreateDrainSourceIntegration1 = &createDrainSourceIntegration1 + u.Type = CreateDrainResponseBodySourceUnion1TypeCreateDrainSourceIntegration1 + return nil + } + + var createDrainSourceSelfServed1 CreateDrainSourceSelfServed1 = CreateDrainSourceSelfServed1{} + if err := utils.UnmarshalJSON(data, &createDrainSourceSelfServed1, "", true, nil); err == nil { + u.CreateDrainSourceSelfServed1 = &createDrainSourceSelfServed1 + u.Type = CreateDrainResponseBodySourceUnion1TypeCreateDrainSourceSelfServed1 + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for CreateDrainResponseBodySourceUnion1", string(data)) +} + +func (u CreateDrainResponseBodySourceUnion1) MarshalJSON() ([]byte, error) { + if u.CreateDrainSourceSelfServed1 != nil { + return utils.MarshalJSON(u.CreateDrainSourceSelfServed1, "", true) + } + + if u.CreateDrainSourceIntegration1 != nil { + return utils.MarshalJSON(u.CreateDrainSourceIntegration1, "", true) + } + + return nil, errors.New("could not marshal union type CreateDrainResponseBodySourceUnion1: all fields are null") +} + +type CreateDrainVersionV21 string + +const ( + CreateDrainVersionV21V2 CreateDrainVersionV21 = "v2" +) + +func (e CreateDrainVersionV21) ToPointer() *CreateDrainVersionV21 { + return &e +} +func (e *CreateDrainVersionV21) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "v2": + *e = CreateDrainVersionV21(v) + return nil + default: + return fmt.Errorf("invalid value for CreateDrainVersionV21: %v", v) + } +} + +type CreateDrainTypeOdata1 string + +const ( + CreateDrainTypeOdata1Odata CreateDrainTypeOdata1 = "odata" +) + +func (e CreateDrainTypeOdata1) ToPointer() *CreateDrainTypeOdata1 { + return &e +} +func (e *CreateDrainTypeOdata1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "odata": + *e = CreateDrainTypeOdata1(v) + return nil + default: + return fmt.Errorf("invalid value for CreateDrainTypeOdata1: %v", v) + } +} + +type CreateDrainFilterOdata1 struct { + Type CreateDrainTypeOdata1 `json:"type"` + Text string `json:"text"` +} + +func (c CreateDrainFilterOdata1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(c, "", false) +} + +func (c *CreateDrainFilterOdata1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &c, "", false, []string{"type", "text"}); err != nil { + return err + } + return nil +} + +func (o *CreateDrainFilterOdata1) GetType() CreateDrainTypeOdata1 { + if o == nil { + return CreateDrainTypeOdata1("") + } + return o.Type +} + +func (o *CreateDrainFilterOdata1) GetText() string { + if o == nil { + return "" + } + return o.Text +} + +type CreateDrainTypeBasic1 string + +const ( + CreateDrainTypeBasic1Basic CreateDrainTypeBasic1 = "basic" +) + +func (e CreateDrainTypeBasic1) ToPointer() *CreateDrainTypeBasic1 { + return &e +} +func (e *CreateDrainTypeBasic1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "basic": + *e = CreateDrainTypeBasic1(v) + return nil + default: + return fmt.Errorf("invalid value for CreateDrainTypeBasic1: %v", v) + } +} + +type CreateDrainFilterV2Project1 struct { + Ids []string `json:"ids,omitempty"` +} + +func (c CreateDrainFilterV2Project1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(c, "", false) +} + +func (c *CreateDrainFilterV2Project1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &c, "", false, nil); err != nil { + return err + } + return nil +} + +func (o *CreateDrainFilterV2Project1) GetIds() []string { + if o == nil { + return nil + } + return o.Ids +} + +type CreateDrainFilterV2Source1 string + +const ( + CreateDrainFilterV2Source1Build CreateDrainFilterV2Source1 = "build" + CreateDrainFilterV2Source1Edge CreateDrainFilterV2Source1 = "edge" + CreateDrainFilterV2Source1Lambda CreateDrainFilterV2Source1 = "lambda" + CreateDrainFilterV2Source1Static CreateDrainFilterV2Source1 = "static" + CreateDrainFilterV2Source1External CreateDrainFilterV2Source1 = "external" + CreateDrainFilterV2Source1Firewall CreateDrainFilterV2Source1 = "firewall" + CreateDrainFilterV2Source1Redirect CreateDrainFilterV2Source1 = "redirect" +) + +func (e CreateDrainFilterV2Source1) ToPointer() *CreateDrainFilterV2Source1 { + return &e +} +func (e *CreateDrainFilterV2Source1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "build": + fallthrough + case "edge": + fallthrough + case "lambda": + fallthrough + case "static": + fallthrough + case "external": + fallthrough + case "firewall": + fallthrough + case "redirect": + *e = CreateDrainFilterV2Source1(v) + return nil + default: + return fmt.Errorf("invalid value for CreateDrainFilterV2Source1: %v", v) + } +} + +type CreateDrainFilterV2Log1 struct { + Sources []CreateDrainFilterV2Source1 `json:"sources,omitempty"` + LegacyExcludeCachedStaticAssetLogs *bool `json:"legacy_excludeCachedStaticAssetLogs,omitempty"` +} + +func (c CreateDrainFilterV2Log1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(c, "", false) +} + +func (c *CreateDrainFilterV2Log1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &c, "", false, nil); err != nil { + return err + } + return nil +} + +func (o *CreateDrainFilterV2Log1) GetSources() []CreateDrainFilterV2Source1 { + if o == nil { + return nil + } + return o.Sources +} + +func (o *CreateDrainFilterV2Log1) GetLegacyExcludeCachedStaticAssetLogs() *bool { + if o == nil { + return nil + } + return o.LegacyExcludeCachedStaticAssetLogs +} + +type CreateDrainFilterV2Environment1 string + +const ( + CreateDrainFilterV2Environment1Production CreateDrainFilterV2Environment1 = "production" + CreateDrainFilterV2Environment1Preview CreateDrainFilterV2Environment1 = "preview" +) + +func (e CreateDrainFilterV2Environment1) ToPointer() *CreateDrainFilterV2Environment1 { + return &e +} +func (e *CreateDrainFilterV2Environment1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "production": + fallthrough + case "preview": + *e = CreateDrainFilterV2Environment1(v) + return nil + default: + return fmt.Errorf("invalid value for CreateDrainFilterV2Environment1: %v", v) + } +} + +type CreateDrainFilterV2Deployment1 struct { + Environments []CreateDrainFilterV2Environment1 `json:"environments,omitempty"` +} + +func (c CreateDrainFilterV2Deployment1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(c, "", false) +} + +func (c *CreateDrainFilterV2Deployment1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &c, "", false, nil); err != nil { + return err + } + return nil +} + +func (o *CreateDrainFilterV2Deployment1) GetEnvironments() []CreateDrainFilterV2Environment1 { + if o == nil { + return nil + } + return o.Environments +} + +type CreateDrainFilterBasic1 struct { + Type CreateDrainTypeBasic1 `json:"type"` + Project *CreateDrainFilterV2Project1 `json:"project,omitempty"` + Log *CreateDrainFilterV2Log1 `json:"log,omitempty"` + Deployment *CreateDrainFilterV2Deployment1 `json:"deployment,omitempty"` +} + +func (c CreateDrainFilterBasic1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(c, "", false) +} + +func (c *CreateDrainFilterBasic1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &c, "", false, []string{"type"}); err != nil { + return err + } + return nil +} + +func (o *CreateDrainFilterBasic1) GetType() CreateDrainTypeBasic1 { + if o == nil { + return CreateDrainTypeBasic1("") + } + return o.Type +} + +func (o *CreateDrainFilterBasic1) GetProject() *CreateDrainFilterV2Project1 { + if o == nil { + return nil + } + return o.Project +} + +func (o *CreateDrainFilterBasic1) GetLog() *CreateDrainFilterV2Log1 { + if o == nil { + return nil + } + return o.Log +} + +func (o *CreateDrainFilterBasic1) GetDeployment() *CreateDrainFilterV2Deployment1 { + if o == nil { + return nil + } + return o.Deployment +} + +type CreateDrainFilterResponseUnion1Type string + +const ( + CreateDrainFilterResponseUnion1TypeCreateDrainFilterBasic1 CreateDrainFilterResponseUnion1Type = "createDrain_filter_Basic_1" + CreateDrainFilterResponseUnion1TypeCreateDrainFilterOdata1 CreateDrainFilterResponseUnion1Type = "createDrain_filter_Odata_1" +) + +type CreateDrainFilterResponseUnion1 struct { + CreateDrainFilterBasic1 *CreateDrainFilterBasic1 `queryParam:"inline"` + CreateDrainFilterOdata1 *CreateDrainFilterOdata1 `queryParam:"inline"` + + Type CreateDrainFilterResponseUnion1Type +} + +func CreateCreateDrainFilterResponseUnion1CreateDrainFilterBasic1(createDrainFilterBasic1 CreateDrainFilterBasic1) CreateDrainFilterResponseUnion1 { + typ := CreateDrainFilterResponseUnion1TypeCreateDrainFilterBasic1 + + return CreateDrainFilterResponseUnion1{ + CreateDrainFilterBasic1: &createDrainFilterBasic1, + Type: typ, + } +} + +func CreateCreateDrainFilterResponseUnion1CreateDrainFilterOdata1(createDrainFilterOdata1 CreateDrainFilterOdata1) CreateDrainFilterResponseUnion1 { + typ := CreateDrainFilterResponseUnion1TypeCreateDrainFilterOdata1 + + return CreateDrainFilterResponseUnion1{ + CreateDrainFilterOdata1: &createDrainFilterOdata1, + Type: typ, + } +} + +func (u *CreateDrainFilterResponseUnion1) UnmarshalJSON(data []byte) error { + + var createDrainFilterOdata1 CreateDrainFilterOdata1 = CreateDrainFilterOdata1{} + if err := utils.UnmarshalJSON(data, &createDrainFilterOdata1, "", true, nil); err == nil { + u.CreateDrainFilterOdata1 = &createDrainFilterOdata1 + u.Type = CreateDrainFilterResponseUnion1TypeCreateDrainFilterOdata1 + return nil + } + + var createDrainFilterBasic1 CreateDrainFilterBasic1 = CreateDrainFilterBasic1{} + if err := utils.UnmarshalJSON(data, &createDrainFilterBasic1, "", true, nil); err == nil { + u.CreateDrainFilterBasic1 = &createDrainFilterBasic1 + u.Type = CreateDrainFilterResponseUnion1TypeCreateDrainFilterBasic1 + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for CreateDrainFilterResponseUnion1", string(data)) +} + +func (u CreateDrainFilterResponseUnion1) MarshalJSON() ([]byte, error) { + if u.CreateDrainFilterBasic1 != nil { + return utils.MarshalJSON(u.CreateDrainFilterBasic1, "", true) + } + + if u.CreateDrainFilterOdata1 != nil { + return utils.MarshalJSON(u.CreateDrainFilterOdata1, "", true) + } + + return nil, errors.New("could not marshal union type CreateDrainFilterResponseUnion1: all fields are null") +} + +type CreateDrainFilterV2V21 struct { + Version CreateDrainVersionV21 `json:"version"` + Filter CreateDrainFilterResponseUnion1 `json:"filter"` +} + +func (c CreateDrainFilterV2V21) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(c, "", false) +} + +func (c *CreateDrainFilterV2V21) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &c, "", false, []string{"version", "filter"}); err != nil { + return err + } + return nil +} + +func (o *CreateDrainFilterV2V21) GetVersion() CreateDrainVersionV21 { + if o == nil { + return CreateDrainVersionV21("") + } + return o.Version +} + +func (o *CreateDrainFilterV2V21) GetFilter() CreateDrainFilterResponseUnion1 { + if o == nil { + return CreateDrainFilterResponseUnion1{} + } + return o.Filter +} + +type CreateDrainVersionV11 string + +const ( + CreateDrainVersionV11V1 CreateDrainVersionV11 = "v1" +) + +func (e CreateDrainVersionV11) ToPointer() *CreateDrainVersionV11 { + return &e +} +func (e *CreateDrainVersionV11) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "v1": + *e = CreateDrainVersionV11(v) + return nil + default: + return fmt.Errorf("invalid value for CreateDrainVersionV11: %v", v) + } +} + +type CreateDrainFilterV2V11 struct { + Version CreateDrainVersionV11 `json:"version"` +} + +func (c CreateDrainFilterV2V11) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(c, "", false) +} + +func (c *CreateDrainFilterV2V11) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &c, "", false, []string{"version"}); err != nil { + return err + } + return nil +} + +func (o *CreateDrainFilterV2V11) GetVersion() CreateDrainVersionV11 { + if o == nil { + return CreateDrainVersionV11("") + } + return o.Version +} + +type CreateDrainFilterV2Union1Type string + +const ( + CreateDrainFilterV2Union1TypeCreateDrainFilterV2V11 CreateDrainFilterV2Union1Type = "createDrain_filterV2_V1_1" + CreateDrainFilterV2Union1TypeCreateDrainFilterV2V21 CreateDrainFilterV2Union1Type = "createDrain_filterV2_V2_1" +) + +type CreateDrainFilterV2Union1 struct { + CreateDrainFilterV2V11 *CreateDrainFilterV2V11 `queryParam:"inline"` + CreateDrainFilterV2V21 *CreateDrainFilterV2V21 `queryParam:"inline"` + + Type CreateDrainFilterV2Union1Type +} + +func CreateCreateDrainFilterV2Union1CreateDrainFilterV2V11(createDrainFilterV2V11 CreateDrainFilterV2V11) CreateDrainFilterV2Union1 { + typ := CreateDrainFilterV2Union1TypeCreateDrainFilterV2V11 + + return CreateDrainFilterV2Union1{ + CreateDrainFilterV2V11: &createDrainFilterV2V11, + Type: typ, + } +} + +func CreateCreateDrainFilterV2Union1CreateDrainFilterV2V21(createDrainFilterV2V21 CreateDrainFilterV2V21) CreateDrainFilterV2Union1 { + typ := CreateDrainFilterV2Union1TypeCreateDrainFilterV2V21 + + return CreateDrainFilterV2Union1{ + CreateDrainFilterV2V21: &createDrainFilterV2V21, + Type: typ, + } +} + +func (u *CreateDrainFilterV2Union1) UnmarshalJSON(data []byte) error { + + var createDrainFilterV2V21 CreateDrainFilterV2V21 = CreateDrainFilterV2V21{} + if err := utils.UnmarshalJSON(data, &createDrainFilterV2V21, "", true, nil); err == nil { + u.CreateDrainFilterV2V21 = &createDrainFilterV2V21 + u.Type = CreateDrainFilterV2Union1TypeCreateDrainFilterV2V21 + return nil + } + + var createDrainFilterV2V11 CreateDrainFilterV2V11 = CreateDrainFilterV2V11{} + if err := utils.UnmarshalJSON(data, &createDrainFilterV2V11, "", true, nil); err == nil { + u.CreateDrainFilterV2V11 = &createDrainFilterV2V11 + u.Type = CreateDrainFilterV2Union1TypeCreateDrainFilterV2V11 + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for CreateDrainFilterV2Union1", string(data)) +} + +func (u CreateDrainFilterV2Union1) MarshalJSON() ([]byte, error) { + if u.CreateDrainFilterV2V11 != nil { + return utils.MarshalJSON(u.CreateDrainFilterV2V11, "", true) + } + + if u.CreateDrainFilterV2V21 != nil { + return utils.MarshalJSON(u.CreateDrainFilterV2V21, "", true) + } + + return nil, errors.New("could not marshal union type CreateDrainFilterV2Union1: all fields are null") +} + +type CreateDrainResponseBody1 struct { + ID string `json:"id"` + OwnerID string `json:"ownerId"` + Name string `json:"name"` + CreatedAt float64 `json:"createdAt"` + CreatedFrom *CreateDrainCreatedFrom1 `json:"createdFrom,omitempty"` + UpdatedAt float64 `json:"updatedAt"` + ProjectIds []string `json:"projectIds,omitempty"` + Schemas *CreateDrainSchemasResponse1 `json:"schemas,omitempty"` + Delivery *CreateDrainDeliveryResponseUnion1 `json:"delivery,omitempty"` + Sampling []CreateDrainSamplingResponse1 `json:"sampling,omitempty"` + TeamID *string `json:"teamId,omitempty"` + Status *CreateDrainStatus1 `json:"status,omitempty"` + DisabledAt *float64 `json:"disabledAt,omitempty"` + DisabledReason *CreateDrainDisabledReason1 `json:"disabledReason,omitempty"` + DisabledBy *string `json:"disabledBy,omitempty"` + FirstErrorTimestamp *float64 `json:"firstErrorTimestamp,omitempty"` + ConfigurationID *string `json:"configurationId,omitempty"` + ClientID *string `json:"clientId,omitempty"` + Source CreateDrainResponseBodySourceUnion1 `json:"source"` + Filter *string `json:"filter,omitempty"` + FilterV2 *CreateDrainFilterV2Union1 `json:"filterV2,omitempty"` +} + +func (c CreateDrainResponseBody1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(c, "", false) +} + +func (c *CreateDrainResponseBody1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &c, "", false, []string{"id", "ownerId", "name", "createdAt", "updatedAt", "source"}); err != nil { + return err + } + return nil +} + +func (o *CreateDrainResponseBody1) GetID() string { + if o == nil { + return "" + } + return o.ID +} + +func (o *CreateDrainResponseBody1) GetOwnerID() string { + if o == nil { + return "" + } + return o.OwnerID +} + +func (o *CreateDrainResponseBody1) GetName() string { + if o == nil { + return "" + } + return o.Name +} + +func (o *CreateDrainResponseBody1) GetCreatedAt() float64 { + if o == nil { + return 0.0 + } + return o.CreatedAt +} + +func (o *CreateDrainResponseBody1) GetCreatedFrom() *CreateDrainCreatedFrom1 { + if o == nil { + return nil + } + return o.CreatedFrom +} + +func (o *CreateDrainResponseBody1) GetUpdatedAt() float64 { + if o == nil { + return 0.0 + } + return o.UpdatedAt +} + +func (o *CreateDrainResponseBody1) GetProjectIds() []string { + if o == nil { + return nil + } + return o.ProjectIds +} + +func (o *CreateDrainResponseBody1) GetSchemas() *CreateDrainSchemasResponse1 { + if o == nil { + return nil + } + return o.Schemas +} + +func (o *CreateDrainResponseBody1) GetDelivery() *CreateDrainDeliveryResponseUnion1 { + if o == nil { + return nil + } + return o.Delivery +} + +func (o *CreateDrainResponseBody1) GetSampling() []CreateDrainSamplingResponse1 { + if o == nil { + return nil + } + return o.Sampling +} + +func (o *CreateDrainResponseBody1) GetTeamID() *string { + if o == nil { + return nil + } + return o.TeamID +} + +func (o *CreateDrainResponseBody1) GetStatus() *CreateDrainStatus1 { + if o == nil { + return nil + } + return o.Status +} + +func (o *CreateDrainResponseBody1) GetDisabledAt() *float64 { + if o == nil { + return nil + } + return o.DisabledAt +} + +func (o *CreateDrainResponseBody1) GetDisabledReason() *CreateDrainDisabledReason1 { + if o == nil { + return nil + } + return o.DisabledReason +} + +func (o *CreateDrainResponseBody1) GetDisabledBy() *string { + if o == nil { + return nil + } + return o.DisabledBy +} + +func (o *CreateDrainResponseBody1) GetFirstErrorTimestamp() *float64 { + if o == nil { + return nil + } + return o.FirstErrorTimestamp +} + +func (o *CreateDrainResponseBody1) GetConfigurationID() *string { + if o == nil { + return nil + } + return o.ConfigurationID +} + +func (o *CreateDrainResponseBody1) GetClientID() *string { + if o == nil { + return nil + } + return o.ClientID +} + +func (o *CreateDrainResponseBody1) GetSource() CreateDrainResponseBodySourceUnion1 { + if o == nil { + return CreateDrainResponseBodySourceUnion1{} + } + return o.Source +} + +func (o *CreateDrainResponseBody1) GetFilter() *string { + if o == nil { + return nil + } + return o.Filter +} + +func (o *CreateDrainResponseBody1) GetFilterV2() *CreateDrainFilterV2Union1 { + if o == nil { + return nil + } + return o.FilterV2 +} + +type CreateDrainResponseBodyType string + +const ( + CreateDrainResponseBodyTypeCreateDrainResponseBody1 CreateDrainResponseBodyType = "createDrain_ResponseBody_1" + CreateDrainResponseBodyTypeCreateDrainResponseBody2 CreateDrainResponseBodyType = "createDrain_ResponseBody_2" +) + +type CreateDrainResponseBody struct { + CreateDrainResponseBody1 *CreateDrainResponseBody1 `queryParam:"inline"` + CreateDrainResponseBody2 *CreateDrainResponseBody2 `queryParam:"inline"` + + Type CreateDrainResponseBodyType +} + +func CreateCreateDrainResponseBodyCreateDrainResponseBody1(createDrainResponseBody1 CreateDrainResponseBody1) CreateDrainResponseBody { + typ := CreateDrainResponseBodyTypeCreateDrainResponseBody1 + + return CreateDrainResponseBody{ + CreateDrainResponseBody1: &createDrainResponseBody1, + Type: typ, + } +} + +func CreateCreateDrainResponseBodyCreateDrainResponseBody2(createDrainResponseBody2 CreateDrainResponseBody2) CreateDrainResponseBody { + typ := CreateDrainResponseBodyTypeCreateDrainResponseBody2 + + return CreateDrainResponseBody{ + CreateDrainResponseBody2: &createDrainResponseBody2, + Type: typ, + } +} + +func (u *CreateDrainResponseBody) UnmarshalJSON(data []byte) error { + + var createDrainResponseBody1 CreateDrainResponseBody1 = CreateDrainResponseBody1{} + if err := utils.UnmarshalJSON(data, &createDrainResponseBody1, "", true, nil); err == nil { + u.CreateDrainResponseBody1 = &createDrainResponseBody1 + u.Type = CreateDrainResponseBodyTypeCreateDrainResponseBody1 + return nil + } + + var createDrainResponseBody2 CreateDrainResponseBody2 = CreateDrainResponseBody2{} + if err := utils.UnmarshalJSON(data, &createDrainResponseBody2, "", true, nil); err == nil { + u.CreateDrainResponseBody2 = &createDrainResponseBody2 + u.Type = CreateDrainResponseBodyTypeCreateDrainResponseBody2 + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for CreateDrainResponseBody", string(data)) +} + +func (u CreateDrainResponseBody) MarshalJSON() ([]byte, error) { + if u.CreateDrainResponseBody1 != nil { + return utils.MarshalJSON(u.CreateDrainResponseBody1, "", true) + } + + if u.CreateDrainResponseBody2 != nil { + return utils.MarshalJSON(u.CreateDrainResponseBody2, "", true) + } + + return nil, errors.New("could not marshal union type CreateDrainResponseBody: all fields are null") +} + +type CreateDrainResponse struct { + HTTPMeta components.HTTPMetadata `json:"-"` + OneOf *CreateDrainResponseBody +} + +func (o *CreateDrainResponse) GetHTTPMeta() components.HTTPMetadata { + if o == nil { + return components.HTTPMetadata{} + } + return o.HTTPMeta +} + +func (o *CreateDrainResponse) GetOneOf() *CreateDrainResponseBody { + if o == nil { + return nil + } + return o.OneOf +} diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/createedgeconfig.go b/src/__tests__/mockserver/internal/sdk/models/operations/createedgeconfig.go index a3d32cc01..fc35df641 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/createedgeconfig.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/createedgeconfig.go @@ -33,8 +33,8 @@ type CreateEdgeConfigRequest struct { // The Team identifier to perform the request on behalf of. TeamID *string `queryParam:"style=form,explode=true,name=teamId"` // The Team slug to perform the request on behalf of. - Slug *string `queryParam:"style=form,explode=true,name=slug"` - RequestBody CreateEdgeConfigRequestBody `request:"mediaType=application/json"` + Slug *string `queryParam:"style=form,explode=true,name=slug"` + Body CreateEdgeConfigRequestBody `request:"mediaType=application/json"` } func (o *CreateEdgeConfigRequest) GetTeamID() *string { @@ -51,11 +51,11 @@ func (o *CreateEdgeConfigRequest) GetSlug() *string { return o.Slug } -func (o *CreateEdgeConfigRequest) GetRequestBody() CreateEdgeConfigRequestBody { +func (o *CreateEdgeConfigRequest) GetBody() CreateEdgeConfigRequestBody { if o == nil { return CreateEdgeConfigRequestBody{} } - return o.RequestBody + return o.Body } // CreateEdgeConfigTransfer - Keeps track of the current state of the Edge Config while it gets transferred. diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/createedgeconfigtoken.go b/src/__tests__/mockserver/internal/sdk/models/operations/createedgeconfigtoken.go index 5eaee0ac0..17e4333c1 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/createedgeconfigtoken.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/createedgeconfigtoken.go @@ -22,8 +22,8 @@ type CreateEdgeConfigTokenRequest struct { // The Team identifier to perform the request on behalf of. TeamID *string `queryParam:"style=form,explode=true,name=teamId"` // The Team slug to perform the request on behalf of. - Slug *string `queryParam:"style=form,explode=true,name=slug"` - RequestBody CreateEdgeConfigTokenRequestBody `request:"mediaType=application/json"` + Slug *string `queryParam:"style=form,explode=true,name=slug"` + Body CreateEdgeConfigTokenRequestBody `request:"mediaType=application/json"` } func (o *CreateEdgeConfigTokenRequest) GetEdgeConfigID() string { @@ -47,11 +47,11 @@ func (o *CreateEdgeConfigTokenRequest) GetSlug() *string { return o.Slug } -func (o *CreateEdgeConfigTokenRequest) GetRequestBody() CreateEdgeConfigTokenRequestBody { +func (o *CreateEdgeConfigTokenRequest) GetBody() CreateEdgeConfigTokenRequestBody { if o == nil { return CreateEdgeConfigTokenRequestBody{} } - return o.RequestBody + return o.Body } type CreateEdgeConfigTokenResponseBody struct { diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/createevent.go b/src/__tests__/mockserver/internal/sdk/models/operations/createevent.go index fd3e47d7e..7cb80848e 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/createevent.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/createevent.go @@ -36,7 +36,7 @@ func (e *TypeResourceUpdated) UnmarshalJSON(data []byte) error { type EventResourceUpdated struct { Type TypeResourceUpdated `json:"type"` // Partner-provided product slug or id - ProductID string `json:"productId"` + ProductID *string `json:"productId,omitempty"` // Partner provided resource ID ResourceID string `json:"resourceId"` } @@ -46,7 +46,7 @@ func (e EventResourceUpdated) MarshalJSON() ([]byte, error) { } func (e *EventResourceUpdated) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &e, "", false, []string{"type", "productId", "resourceId"}); err != nil { + if err := utils.UnmarshalJSON(data, &e, "", false, []string{"type", "resourceId"}); err != nil { return err } return nil @@ -59,9 +59,9 @@ func (o *EventResourceUpdated) GetType() TypeResourceUpdated { return o.Type } -func (o *EventResourceUpdated) GetProductID() string { +func (o *EventResourceUpdated) GetProductID() *string { if o == nil { - return "" + return nil } return o.ProductID } @@ -203,7 +203,7 @@ func (o *CreateEventRequestBody) GetEvent() Event { type CreateEventRequest struct { IntegrationConfigurationID string `pathParam:"style=simple,explode=false,name=integrationConfigurationId"` - RequestBody CreateEventRequestBody `request:"mediaType=application/json"` + Body CreateEventRequestBody `request:"mediaType=application/json"` } func (o *CreateEventRequest) GetIntegrationConfigurationID() string { @@ -213,11 +213,11 @@ func (o *CreateEventRequest) GetIntegrationConfigurationID() string { return o.IntegrationConfigurationID } -func (o *CreateEventRequest) GetRequestBody() CreateEventRequestBody { +func (o *CreateEventRequest) GetBody() CreateEventRequestBody { if o == nil { return CreateEventRequestBody{} } - return o.RequestBody + return o.Body } type CreateEventResponse struct { diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/createintegrationstoredirect.go b/src/__tests__/mockserver/internal/sdk/models/operations/createintegrationstoredirect.go index ea0250a2f..c890c9794 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/createintegrationstoredirect.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/createintegrationstoredirect.go @@ -247,8 +247,8 @@ type CreateIntegrationStoreDirectRequest struct { // The Team identifier to perform the request on behalf of. TeamID *string `queryParam:"style=form,explode=true,name=teamId"` // The Team slug to perform the request on behalf of. - Slug *string `queryParam:"style=form,explode=true,name=slug"` - RequestBody *CreateIntegrationStoreDirectRequestBody `request:"mediaType=application/json"` + Slug *string `queryParam:"style=form,explode=true,name=slug"` + Body *CreateIntegrationStoreDirectRequestBody `request:"mediaType=application/json"` } func (o *CreateIntegrationStoreDirectRequest) GetTeamID() *string { @@ -265,11 +265,11 @@ func (o *CreateIntegrationStoreDirectRequest) GetSlug() *string { return o.Slug } -func (o *CreateIntegrationStoreDirectRequest) GetRequestBody() *CreateIntegrationStoreDirectRequestBody { +func (o *CreateIntegrationStoreDirectRequest) GetBody() *CreateIntegrationStoreDirectRequestBody { if o == nil { return nil } - return o.RequestBody + return o.Body } type CreateIntegrationStoreDirectFramework string @@ -314,10 +314,12 @@ const ( CreateIntegrationStoreDirectFrameworkZola CreateIntegrationStoreDirectFramework = "zola" CreateIntegrationStoreDirectFrameworkHydrogen CreateIntegrationStoreDirectFramework = "hydrogen" CreateIntegrationStoreDirectFrameworkVite CreateIntegrationStoreDirectFramework = "vite" + CreateIntegrationStoreDirectFrameworkTanstackStart CreateIntegrationStoreDirectFramework = "tanstack-start" CreateIntegrationStoreDirectFrameworkVitepress CreateIntegrationStoreDirectFramework = "vitepress" CreateIntegrationStoreDirectFrameworkVuepress CreateIntegrationStoreDirectFramework = "vuepress" CreateIntegrationStoreDirectFrameworkParcel CreateIntegrationStoreDirectFramework = "parcel" CreateIntegrationStoreDirectFrameworkFastapi CreateIntegrationStoreDirectFramework = "fastapi" + CreateIntegrationStoreDirectFrameworkFlask CreateIntegrationStoreDirectFramework = "flask" CreateIntegrationStoreDirectFrameworkFasthtml CreateIntegrationStoreDirectFramework = "fasthtml" CreateIntegrationStoreDirectFrameworkSanityV3 CreateIntegrationStoreDirectFramework = "sanity-v3" CreateIntegrationStoreDirectFrameworkSanity CreateIntegrationStoreDirectFramework = "sanity" @@ -326,6 +328,9 @@ const ( CreateIntegrationStoreDirectFrameworkHono CreateIntegrationStoreDirectFramework = "hono" CreateIntegrationStoreDirectFrameworkExpress CreateIntegrationStoreDirectFramework = "express" CreateIntegrationStoreDirectFrameworkH3 CreateIntegrationStoreDirectFramework = "h3" + CreateIntegrationStoreDirectFrameworkNestjs CreateIntegrationStoreDirectFramework = "nestjs" + CreateIntegrationStoreDirectFrameworkElysia CreateIntegrationStoreDirectFramework = "elysia" + CreateIntegrationStoreDirectFrameworkFastify CreateIntegrationStoreDirectFramework = "fastify" CreateIntegrationStoreDirectFrameworkXmcp CreateIntegrationStoreDirectFramework = "xmcp" ) @@ -416,6 +421,8 @@ func (e *CreateIntegrationStoreDirectFramework) UnmarshalJSON(data []byte) error fallthrough case "vite": fallthrough + case "tanstack-start": + fallthrough case "vitepress": fallthrough case "vuepress": @@ -424,6 +431,8 @@ func (e *CreateIntegrationStoreDirectFramework) UnmarshalJSON(data []byte) error fallthrough case "fastapi": fallthrough + case "flask": + fallthrough case "fasthtml": fallthrough case "sanity-v3": @@ -440,6 +449,12 @@ func (e *CreateIntegrationStoreDirectFramework) UnmarshalJSON(data []byte) error fallthrough case "h3": fallthrough + case "nestjs": + fallthrough + case "elysia": + fallthrough + case "fastify": + fallthrough case "xmcp": *e = CreateIntegrationStoreDirectFramework(v) return nil @@ -619,6 +634,159 @@ func (o *CreateIntegrationStoreDirectProjectsMetadatum) GetDeployments() *Deploy return o.Deployments } +type ProvidersWildcard string + +const ( + ProvidersWildcardWildcard ProvidersWildcard = "*" +) + +func (e ProvidersWildcard) ToPointer() *ProvidersWildcard { + return &e +} +func (e *ProvidersWildcard) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "*": + *e = ProvidersWildcard(v) + return nil + default: + return fmt.Errorf("invalid value for ProvidersWildcard: %v", v) + } +} + +type ProvidersEnum string + +const ( + ProvidersEnumGithub ProvidersEnum = "github" + ProvidersEnumGitlab ProvidersEnum = "gitlab" + ProvidersEnumBitbucket ProvidersEnum = "bitbucket" +) + +func (e ProvidersEnum) ToPointer() *ProvidersEnum { + return &e +} +func (e *ProvidersEnum) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "github": + fallthrough + case "gitlab": + fallthrough + case "bitbucket": + *e = ProvidersEnum(v) + return nil + default: + return fmt.Errorf("invalid value for ProvidersEnum: %v", v) + } +} + +type ProvidersType string + +const ( + ProvidersTypeArrayOfProvidersEnum ProvidersType = "arrayOfProvidersEnum" + ProvidersTypeProvidersWildcard ProvidersType = "providers_*" +) + +type Providers struct { + ArrayOfProvidersEnum []ProvidersEnum `queryParam:"inline"` + ProvidersWildcard *ProvidersWildcard `queryParam:"inline"` + + Type ProvidersType +} + +func CreateProvidersArrayOfProvidersEnum(arrayOfProvidersEnum []ProvidersEnum) Providers { + typ := ProvidersTypeArrayOfProvidersEnum + + return Providers{ + ArrayOfProvidersEnum: arrayOfProvidersEnum, + Type: typ, + } +} + +func CreateProvidersProvidersWildcard(providersWildcard ProvidersWildcard) Providers { + typ := ProvidersTypeProvidersWildcard + + return Providers{ + ProvidersWildcard: &providersWildcard, + Type: typ, + } +} + +func (u *Providers) UnmarshalJSON(data []byte) error { + + var arrayOfProvidersEnum []ProvidersEnum = []ProvidersEnum{} + if err := utils.UnmarshalJSON(data, &arrayOfProvidersEnum, "", true, nil); err == nil { + u.ArrayOfProvidersEnum = arrayOfProvidersEnum + u.Type = ProvidersTypeArrayOfProvidersEnum + return nil + } + + var providersWildcard ProvidersWildcard = ProvidersWildcard("") + if err := utils.UnmarshalJSON(data, &providersWildcard, "", true, nil); err == nil { + u.ProvidersWildcard = &providersWildcard + u.Type = ProvidersTypeProvidersWildcard + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for Providers", string(data)) +} + +func (u Providers) MarshalJSON() ([]byte, error) { + if u.ArrayOfProvidersEnum != nil { + return utils.MarshalJSON(u.ArrayOfProvidersEnum, "", true) + } + + if u.ProvidersWildcard != nil { + return utils.MarshalJSON(u.ProvidersWildcard, "", true) + } + + return nil, errors.New("could not marshal union type Providers: all fields are null") +} + +type Git struct { + Providers Providers `json:"providers"` + Owners []string `json:"owners,omitempty"` + Repos []string `json:"repos,omitempty"` +} + +func (o *Git) GetProviders() Providers { + if o == nil { + return Providers{} + } + return o.Providers +} + +func (o *Git) GetOwners() []string { + if o == nil { + return nil + } + return o.Owners +} + +func (o *Git) GetRepos() []string { + if o == nil { + return nil + } + return o.Repos +} + +type ProjectFilter struct { + Git *Git `json:"git,omitempty"` +} + +func (o *ProjectFilter) GetGit() *Git { + if o == nil { + return nil + } + return o.Git +} + type CreateIntegrationStoreDirectStatus string const ( @@ -628,6 +796,7 @@ const ( CreateIntegrationStoreDirectStatusLimitsExceededSuspended CreateIntegrationStoreDirectStatus = "limits-exceeded-suspended" CreateIntegrationStoreDirectStatusLimitsExceededSuspendedStoreCount CreateIntegrationStoreDirectStatus = "limits-exceeded-suspended-store-count" CreateIntegrationStoreDirectStatusInitializing CreateIntegrationStoreDirectStatus = "initializing" + CreateIntegrationStoreDirectStatusOnboarding CreateIntegrationStoreDirectStatus = "onboarding" CreateIntegrationStoreDirectStatusUninstalled CreateIntegrationStoreDirectStatus = "uninstalled" ) @@ -652,6 +821,8 @@ func (e *CreateIntegrationStoreDirectStatus) UnmarshalJSON(data []byte) error { fallthrough case "initializing": fallthrough + case "onboarding": + fallthrough case "uninstalled": *e = CreateIntegrationStoreDirectStatus(v) return nil @@ -690,10 +861,12 @@ func (e *CreateIntegrationStoreDirectOwnership) UnmarshalJSON(data []byte) error } type Capabilities struct { - Mcp *bool `json:"mcp,omitempty"` - Sso *bool `json:"sso,omitempty"` - Billable *bool `json:"billable,omitempty"` - SecretsSync *bool `json:"secretsSync,omitempty"` + Mcp *bool `json:"mcp,omitempty"` + Sso *bool `json:"sso,omitempty"` + Billable *bool `json:"billable,omitempty"` + Transferable *bool `json:"transferable,omitempty"` + SecretsSync *bool `json:"secretsSync,omitempty"` + Projects *bool `json:"projects,omitempty"` } func (o *Capabilities) GetMcp() *bool { @@ -717,6 +890,13 @@ func (o *Capabilities) GetBillable() *bool { return o.Billable } +func (o *Capabilities) GetTransferable() *bool { + if o == nil { + return nil + } + return o.Transferable +} + func (o *Capabilities) GetSecretsSync() *bool { if o == nil { return nil @@ -724,6 +904,13 @@ func (o *Capabilities) GetSecretsSync() *bool { return o.SecretsSync } +func (o *Capabilities) GetProjects() *bool { + if o == nil { + return nil + } + return o.Projects +} + type StoreMetadataType string const ( @@ -858,6 +1045,7 @@ type ExternalResourceStatus string const ( ExternalResourceStatusError ExternalResourceStatus = "error" ExternalResourceStatusSuspended ExternalResourceStatus = "suspended" + ExternalResourceStatusOnboarding ExternalResourceStatus = "onboarding" ExternalResourceStatusUninstalled ExternalResourceStatus = "uninstalled" ExternalResourceStatusReady ExternalResourceStatus = "ready" ExternalResourceStatusPending ExternalResourceStatus = "pending" @@ -877,6 +1065,8 @@ func (e *ExternalResourceStatus) UnmarshalJSON(data []byte) error { fallthrough case "suspended": fallthrough + case "onboarding": + fallthrough case "uninstalled": fallthrough case "ready": @@ -892,12 +1082,14 @@ func (e *ExternalResourceStatus) UnmarshalJSON(data []byte) error { } type ProductCapabilities struct { - Mcp *bool `json:"mcp,omitempty"` - Sso *bool `json:"sso,omitempty"` - Billable *bool `json:"billable,omitempty"` - SecretsSync *bool `json:"secretsSync,omitempty"` - Sandbox *bool `json:"sandbox,omitempty"` - Linking *bool `json:"linking,omitempty"` + Mcp *bool `json:"mcp,omitempty"` + Sso *bool `json:"sso,omitempty"` + Billable *bool `json:"billable,omitempty"` + Transferable *bool `json:"transferable,omitempty"` + SecretsSync *bool `json:"secretsSync,omitempty"` + Sandbox *bool `json:"sandbox,omitempty"` + Linking *bool `json:"linking,omitempty"` + Projects *bool `json:"projects,omitempty"` } func (o *ProductCapabilities) GetMcp() *bool { @@ -921,6 +1113,13 @@ func (o *ProductCapabilities) GetBillable() *bool { return o.Billable } +func (o *ProductCapabilities) GetTransferable() *bool { + if o == nil { + return nil + } + return o.Transferable +} + func (o *ProductCapabilities) GetSecretsSync() *bool { if o == nil { return nil @@ -942,6 +1141,13 @@ func (o *ProductCapabilities) GetLinking() *bool { return o.Linking } +func (o *ProductCapabilities) GetProjects() *bool { + if o == nil { + return nil + } + return o.Projects +} + type CreateIntegrationStoreDirectTypeObject string const ( @@ -965,14 +1171,14 @@ func (e *CreateIntegrationStoreDirectTypeObject) UnmarshalJSON(data []byte) erro } } -type PropertiesValueAtBRANDAt8486 struct { +type PropertiesValueAtBRANDAt8795 struct { } -func (p PropertiesValueAtBRANDAt8486) MarshalJSON() ([]byte, error) { +func (p PropertiesValueAtBRANDAt8795) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *PropertiesValueAtBRANDAt8486) UnmarshalJSON(data []byte) error { +func (p *PropertiesValueAtBRANDAt8795) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, nil); err != nil { return err } @@ -980,7 +1186,7 @@ func (p *PropertiesValueAtBRANDAt8486) UnmarshalJSON(data []byte) error { } type CreateIntegrationStoreDirectPropertiesValue struct { - AtBRANDAt8486 PropertiesValueAtBRANDAt8486 `json:"__@BRAND@8486"` + AtBRANDAt8795 PropertiesValueAtBRANDAt8795 `json:"__@BRAND@8795"` } func (c CreateIntegrationStoreDirectPropertiesValue) MarshalJSON() ([]byte, error) { @@ -988,17 +1194,17 @@ func (c CreateIntegrationStoreDirectPropertiesValue) MarshalJSON() ([]byte, erro } func (c *CreateIntegrationStoreDirectPropertiesValue) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &c, "", false, []string{"__@BRAND@8486"}); err != nil { + if err := utils.UnmarshalJSON(data, &c, "", false, []string{"__@BRAND@8795"}); err != nil { return err } return nil } -func (o *CreateIntegrationStoreDirectPropertiesValue) GetAtBRANDAt8486() PropertiesValueAtBRANDAt8486 { +func (o *CreateIntegrationStoreDirectPropertiesValue) GetAtBRANDAt8795() PropertiesValueAtBRANDAt8795 { if o == nil { - return PropertiesValueAtBRANDAt8486{} + return PropertiesValueAtBRANDAt8795{} } - return o.AtBRANDAt8486 + return o.AtBRANDAt8795 } type CreateIntegrationStoreDirectPropertiesDisabledEnum string @@ -1351,14 +1557,14 @@ func (e *CreateIntegrationStoreDirectUIControlDomain) UnmarshalJSON(data []byte) } } -type MaxLengthAtBRANDAt84864 struct { +type MaxLengthAtBRANDAt87954 struct { } -func (m MaxLengthAtBRANDAt84864) MarshalJSON() ([]byte, error) { +func (m MaxLengthAtBRANDAt87954) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(m, "", false) } -func (m *MaxLengthAtBRANDAt84864) UnmarshalJSON(data []byte) error { +func (m *MaxLengthAtBRANDAt87954) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &m, "", false, nil); err != nil { return err } @@ -1366,7 +1572,7 @@ func (m *MaxLengthAtBRANDAt84864) UnmarshalJSON(data []byte) error { } type CreateIntegrationStoreDirectMaxLength4 struct { - AtBRANDAt8486 MaxLengthAtBRANDAt84864 `json:"__@BRAND@8486"` + AtBRANDAt8795 MaxLengthAtBRANDAt87954 `json:"__@BRAND@8795"` } func (c CreateIntegrationStoreDirectMaxLength4) MarshalJSON() ([]byte, error) { @@ -1374,27 +1580,27 @@ func (c CreateIntegrationStoreDirectMaxLength4) MarshalJSON() ([]byte, error) { } func (c *CreateIntegrationStoreDirectMaxLength4) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &c, "", false, []string{"__@BRAND@8486"}); err != nil { + if err := utils.UnmarshalJSON(data, &c, "", false, []string{"__@BRAND@8795"}); err != nil { return err } return nil } -func (o *CreateIntegrationStoreDirectMaxLength4) GetAtBRANDAt8486() MaxLengthAtBRANDAt84864 { +func (o *CreateIntegrationStoreDirectMaxLength4) GetAtBRANDAt8795() MaxLengthAtBRANDAt87954 { if o == nil { - return MaxLengthAtBRANDAt84864{} + return MaxLengthAtBRANDAt87954{} } - return o.AtBRANDAt8486 + return o.AtBRANDAt8795 } -type MinLengthAtBRANDAt84864 struct { +type MinLengthAtBRANDAt87954 struct { } -func (m MinLengthAtBRANDAt84864) MarshalJSON() ([]byte, error) { +func (m MinLengthAtBRANDAt87954) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(m, "", false) } -func (m *MinLengthAtBRANDAt84864) UnmarshalJSON(data []byte) error { +func (m *MinLengthAtBRANDAt87954) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &m, "", false, nil); err != nil { return err } @@ -1402,7 +1608,7 @@ func (m *MinLengthAtBRANDAt84864) UnmarshalJSON(data []byte) error { } type CreateIntegrationStoreDirectMinLength4 struct { - AtBRANDAt8486 MinLengthAtBRANDAt84864 `json:"__@BRAND@8486"` + AtBRANDAt8795 MinLengthAtBRANDAt87954 `json:"__@BRAND@8795"` } func (c CreateIntegrationStoreDirectMinLength4) MarshalJSON() ([]byte, error) { @@ -1410,27 +1616,27 @@ func (c CreateIntegrationStoreDirectMinLength4) MarshalJSON() ([]byte, error) { } func (c *CreateIntegrationStoreDirectMinLength4) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &c, "", false, []string{"__@BRAND@8486"}); err != nil { + if err := utils.UnmarshalJSON(data, &c, "", false, []string{"__@BRAND@8795"}); err != nil { return err } return nil } -func (o *CreateIntegrationStoreDirectMinLength4) GetAtBRANDAt8486() MinLengthAtBRANDAt84864 { +func (o *CreateIntegrationStoreDirectMinLength4) GetAtBRANDAt8795() MinLengthAtBRANDAt87954 { if o == nil { - return MinLengthAtBRANDAt84864{} + return MinLengthAtBRANDAt87954{} } - return o.AtBRANDAt8486 + return o.AtBRANDAt8795 } -type PatternAtBRANDAt84864 struct { +type PatternAtBRANDAt87954 struct { } -func (p PatternAtBRANDAt84864) MarshalJSON() ([]byte, error) { +func (p PatternAtBRANDAt87954) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *PatternAtBRANDAt84864) UnmarshalJSON(data []byte) error { +func (p *PatternAtBRANDAt87954) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, nil); err != nil { return err } @@ -1438,7 +1644,7 @@ func (p *PatternAtBRANDAt84864) UnmarshalJSON(data []byte) error { } type CreateIntegrationStoreDirectPattern4 struct { - AtBRANDAt8486 PatternAtBRANDAt84864 `json:"__@BRAND@8486"` + AtBRANDAt8795 PatternAtBRANDAt87954 `json:"__@BRAND@8795"` } func (c CreateIntegrationStoreDirectPattern4) MarshalJSON() ([]byte, error) { @@ -1446,17 +1652,17 @@ func (c CreateIntegrationStoreDirectPattern4) MarshalJSON() ([]byte, error) { } func (c *CreateIntegrationStoreDirectPattern4) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &c, "", false, []string{"__@BRAND@8486"}); err != nil { + if err := utils.UnmarshalJSON(data, &c, "", false, []string{"__@BRAND@8795"}); err != nil { return err } return nil } -func (o *CreateIntegrationStoreDirectPattern4) GetAtBRANDAt8486() PatternAtBRANDAt84864 { +func (o *CreateIntegrationStoreDirectPattern4) GetAtBRANDAt8795() PatternAtBRANDAt87954 { if o == nil { - return PatternAtBRANDAt84864{} + return PatternAtBRANDAt87954{} } - return o.AtBRANDAt8486 + return o.AtBRANDAt8795 } type CreateIntegrationStoreDirectUIReadOnlyEnum8 string @@ -2145,14 +2351,14 @@ func (e *CreateIntegrationStoreDirectUIControlVercelRegion) UnmarshalJSON(data [ } } -type UIOptionValueAtBRANDAt8486 struct { +type UIOptionValueAtBRANDAt8795 struct { } -func (u UIOptionValueAtBRANDAt8486) MarshalJSON() ([]byte, error) { +func (u UIOptionValueAtBRANDAt8795) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(u, "", false) } -func (u *UIOptionValueAtBRANDAt8486) UnmarshalJSON(data []byte) error { +func (u *UIOptionValueAtBRANDAt8795) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &u, "", false, nil); err != nil { return err } @@ -2160,7 +2366,7 @@ func (u *UIOptionValueAtBRANDAt8486) UnmarshalJSON(data []byte) error { } type CreateIntegrationStoreDirectUIOptionValue struct { - AtBRANDAt8486 UIOptionValueAtBRANDAt8486 `json:"__@BRAND@8486"` + AtBRANDAt8795 UIOptionValueAtBRANDAt8795 `json:"__@BRAND@8795"` } func (c CreateIntegrationStoreDirectUIOptionValue) MarshalJSON() ([]byte, error) { @@ -2168,17 +2374,17 @@ func (c CreateIntegrationStoreDirectUIOptionValue) MarshalJSON() ([]byte, error) } func (c *CreateIntegrationStoreDirectUIOptionValue) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &c, "", false, []string{"__@BRAND@8486"}); err != nil { + if err := utils.UnmarshalJSON(data, &c, "", false, []string{"__@BRAND@8795"}); err != nil { return err } return nil } -func (o *CreateIntegrationStoreDirectUIOptionValue) GetAtBRANDAt8486() UIOptionValueAtBRANDAt8486 { +func (o *CreateIntegrationStoreDirectUIOptionValue) GetAtBRANDAt8795() UIOptionValueAtBRANDAt8795 { if o == nil { - return UIOptionValueAtBRANDAt8486{} + return UIOptionValueAtBRANDAt8795{} } - return o.AtBRANDAt8486 + return o.AtBRANDAt8795 } type CreateIntegrationStoreDirectUIOptionDisabledEnum2 string @@ -2485,14 +2691,14 @@ func (o *CreateIntegrationStoreDirectUIOption5) GetHidden() *CreateIntegrationSt return o.Hidden } -type UIOptionAtBRANDAt8486 struct { +type UIOptionAtBRANDAt8795 struct { } -func (u UIOptionAtBRANDAt8486) MarshalJSON() ([]byte, error) { +func (u UIOptionAtBRANDAt8795) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(u, "", false) } -func (u *UIOptionAtBRANDAt8486) UnmarshalJSON(data []byte) error { +func (u *UIOptionAtBRANDAt8795) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &u, "", false, nil); err != nil { return err } @@ -2500,7 +2706,7 @@ func (u *UIOptionAtBRANDAt8486) UnmarshalJSON(data []byte) error { } type CreateIntegrationStoreDirectUIOption4 struct { - AtBRANDAt8486 UIOptionAtBRANDAt8486 `json:"__@BRAND@8486"` + AtBRANDAt8795 UIOptionAtBRANDAt8795 `json:"__@BRAND@8795"` } func (c CreateIntegrationStoreDirectUIOption4) MarshalJSON() ([]byte, error) { @@ -2508,17 +2714,17 @@ func (c CreateIntegrationStoreDirectUIOption4) MarshalJSON() ([]byte, error) { } func (c *CreateIntegrationStoreDirectUIOption4) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &c, "", false, []string{"__@BRAND@8486"}); err != nil { + if err := utils.UnmarshalJSON(data, &c, "", false, []string{"__@BRAND@8795"}); err != nil { return err } return nil } -func (o *CreateIntegrationStoreDirectUIOption4) GetAtBRANDAt8486() UIOptionAtBRANDAt8486 { +func (o *CreateIntegrationStoreDirectUIOption4) GetAtBRANDAt8795() UIOptionAtBRANDAt8795 { if o == nil { - return UIOptionAtBRANDAt8486{} + return UIOptionAtBRANDAt8795{} } - return o.AtBRANDAt8486 + return o.AtBRANDAt8795 } type CreateIntegrationStoreDirectUIOptionDisabledEnum1 string @@ -2918,14 +3124,14 @@ func (u CreateIntegrationStoreDirectUIOptionUnion) MarshalJSON() ([]byte, error) return nil, errors.New("could not marshal union type CreateIntegrationStoreDirectUIOptionUnion: all fields are null") } -type MaxLengthAtBRANDAt84863 struct { +type MaxLengthAtBRANDAt87953 struct { } -func (m MaxLengthAtBRANDAt84863) MarshalJSON() ([]byte, error) { +func (m MaxLengthAtBRANDAt87953) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(m, "", false) } -func (m *MaxLengthAtBRANDAt84863) UnmarshalJSON(data []byte) error { +func (m *MaxLengthAtBRANDAt87953) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &m, "", false, nil); err != nil { return err } @@ -2933,7 +3139,7 @@ func (m *MaxLengthAtBRANDAt84863) UnmarshalJSON(data []byte) error { } type CreateIntegrationStoreDirectMaxLength3 struct { - AtBRANDAt8486 MaxLengthAtBRANDAt84863 `json:"__@BRAND@8486"` + AtBRANDAt8795 MaxLengthAtBRANDAt87953 `json:"__@BRAND@8795"` } func (c CreateIntegrationStoreDirectMaxLength3) MarshalJSON() ([]byte, error) { @@ -2941,27 +3147,27 @@ func (c CreateIntegrationStoreDirectMaxLength3) MarshalJSON() ([]byte, error) { } func (c *CreateIntegrationStoreDirectMaxLength3) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &c, "", false, []string{"__@BRAND@8486"}); err != nil { + if err := utils.UnmarshalJSON(data, &c, "", false, []string{"__@BRAND@8795"}); err != nil { return err } return nil } -func (o *CreateIntegrationStoreDirectMaxLength3) GetAtBRANDAt8486() MaxLengthAtBRANDAt84863 { +func (o *CreateIntegrationStoreDirectMaxLength3) GetAtBRANDAt8795() MaxLengthAtBRANDAt87953 { if o == nil { - return MaxLengthAtBRANDAt84863{} + return MaxLengthAtBRANDAt87953{} } - return o.AtBRANDAt8486 + return o.AtBRANDAt8795 } -type MinLengthAtBRANDAt84863 struct { +type MinLengthAtBRANDAt87953 struct { } -func (m MinLengthAtBRANDAt84863) MarshalJSON() ([]byte, error) { +func (m MinLengthAtBRANDAt87953) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(m, "", false) } -func (m *MinLengthAtBRANDAt84863) UnmarshalJSON(data []byte) error { +func (m *MinLengthAtBRANDAt87953) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &m, "", false, nil); err != nil { return err } @@ -2969,7 +3175,7 @@ func (m *MinLengthAtBRANDAt84863) UnmarshalJSON(data []byte) error { } type CreateIntegrationStoreDirectMinLength3 struct { - AtBRANDAt8486 MinLengthAtBRANDAt84863 `json:"__@BRAND@8486"` + AtBRANDAt8795 MinLengthAtBRANDAt87953 `json:"__@BRAND@8795"` } func (c CreateIntegrationStoreDirectMinLength3) MarshalJSON() ([]byte, error) { @@ -2977,27 +3183,27 @@ func (c CreateIntegrationStoreDirectMinLength3) MarshalJSON() ([]byte, error) { } func (c *CreateIntegrationStoreDirectMinLength3) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &c, "", false, []string{"__@BRAND@8486"}); err != nil { + if err := utils.UnmarshalJSON(data, &c, "", false, []string{"__@BRAND@8795"}); err != nil { return err } return nil } -func (o *CreateIntegrationStoreDirectMinLength3) GetAtBRANDAt8486() MinLengthAtBRANDAt84863 { +func (o *CreateIntegrationStoreDirectMinLength3) GetAtBRANDAt8795() MinLengthAtBRANDAt87953 { if o == nil { - return MinLengthAtBRANDAt84863{} + return MinLengthAtBRANDAt87953{} } - return o.AtBRANDAt8486 + return o.AtBRANDAt8795 } -type PatternAtBRANDAt84863 struct { +type PatternAtBRANDAt87953 struct { } -func (p PatternAtBRANDAt84863) MarshalJSON() ([]byte, error) { +func (p PatternAtBRANDAt87953) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *PatternAtBRANDAt84863) UnmarshalJSON(data []byte) error { +func (p *PatternAtBRANDAt87953) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, nil); err != nil { return err } @@ -3005,7 +3211,7 @@ func (p *PatternAtBRANDAt84863) UnmarshalJSON(data []byte) error { } type CreateIntegrationStoreDirectPattern3 struct { - AtBRANDAt8486 PatternAtBRANDAt84863 `json:"__@BRAND@8486"` + AtBRANDAt8795 PatternAtBRANDAt87953 `json:"__@BRAND@8795"` } func (c CreateIntegrationStoreDirectPattern3) MarshalJSON() ([]byte, error) { @@ -3013,17 +3219,17 @@ func (c CreateIntegrationStoreDirectPattern3) MarshalJSON() ([]byte, error) { } func (c *CreateIntegrationStoreDirectPattern3) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &c, "", false, []string{"__@BRAND@8486"}); err != nil { + if err := utils.UnmarshalJSON(data, &c, "", false, []string{"__@BRAND@8795"}); err != nil { return err } return nil } -func (o *CreateIntegrationStoreDirectPattern3) GetAtBRANDAt8486() PatternAtBRANDAt84863 { +func (o *CreateIntegrationStoreDirectPattern3) GetAtBRANDAt8795() PatternAtBRANDAt87953 { if o == nil { - return PatternAtBRANDAt84863{} + return PatternAtBRANDAt87953{} } - return o.AtBRANDAt8486 + return o.AtBRANDAt8795 } type CreateIntegrationStoreDirectUIReadOnlyEnum7 string @@ -3720,14 +3926,14 @@ func (e *CreateIntegrationStoreDirectTypeString3) UnmarshalJSON(data []byte) err } } -type MinLengthAtBRANDAt8486String struct { +type MinLengthAtBRANDAt8795String struct { } -func (m MinLengthAtBRANDAt8486String) MarshalJSON() ([]byte, error) { +func (m MinLengthAtBRANDAt8795String) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(m, "", false) } -func (m *MinLengthAtBRANDAt8486String) UnmarshalJSON(data []byte) error { +func (m *MinLengthAtBRANDAt8795String) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &m, "", false, nil); err != nil { return err } @@ -3735,7 +3941,7 @@ func (m *MinLengthAtBRANDAt8486String) UnmarshalJSON(data []byte) error { } type CreateIntegrationStoreDirectMinLengthString struct { - AtBRANDAt8486 MinLengthAtBRANDAt8486String `json:"__@BRAND@8486"` + AtBRANDAt8795 MinLengthAtBRANDAt8795String `json:"__@BRAND@8795"` } func (c CreateIntegrationStoreDirectMinLengthString) MarshalJSON() ([]byte, error) { @@ -3743,27 +3949,27 @@ func (c CreateIntegrationStoreDirectMinLengthString) MarshalJSON() ([]byte, erro } func (c *CreateIntegrationStoreDirectMinLengthString) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &c, "", false, []string{"__@BRAND@8486"}); err != nil { + if err := utils.UnmarshalJSON(data, &c, "", false, []string{"__@BRAND@8795"}); err != nil { return err } return nil } -func (o *CreateIntegrationStoreDirectMinLengthString) GetAtBRANDAt8486() MinLengthAtBRANDAt8486String { +func (o *CreateIntegrationStoreDirectMinLengthString) GetAtBRANDAt8795() MinLengthAtBRANDAt8795String { if o == nil { - return MinLengthAtBRANDAt8486String{} + return MinLengthAtBRANDAt8795String{} } - return o.AtBRANDAt8486 + return o.AtBRANDAt8795 } -type MaxLengthAtBRANDAt8486String struct { +type MaxLengthAtBRANDAt8795String struct { } -func (m MaxLengthAtBRANDAt8486String) MarshalJSON() ([]byte, error) { +func (m MaxLengthAtBRANDAt8795String) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(m, "", false) } -func (m *MaxLengthAtBRANDAt8486String) UnmarshalJSON(data []byte) error { +func (m *MaxLengthAtBRANDAt8795String) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &m, "", false, nil); err != nil { return err } @@ -3771,7 +3977,7 @@ func (m *MaxLengthAtBRANDAt8486String) UnmarshalJSON(data []byte) error { } type CreateIntegrationStoreDirectMaxLengthString struct { - AtBRANDAt8486 MaxLengthAtBRANDAt8486String `json:"__@BRAND@8486"` + AtBRANDAt8795 MaxLengthAtBRANDAt8795String `json:"__@BRAND@8795"` } func (c CreateIntegrationStoreDirectMaxLengthString) MarshalJSON() ([]byte, error) { @@ -3779,27 +3985,27 @@ func (c CreateIntegrationStoreDirectMaxLengthString) MarshalJSON() ([]byte, erro } func (c *CreateIntegrationStoreDirectMaxLengthString) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &c, "", false, []string{"__@BRAND@8486"}); err != nil { + if err := utils.UnmarshalJSON(data, &c, "", false, []string{"__@BRAND@8795"}); err != nil { return err } return nil } -func (o *CreateIntegrationStoreDirectMaxLengthString) GetAtBRANDAt8486() MaxLengthAtBRANDAt8486String { +func (o *CreateIntegrationStoreDirectMaxLengthString) GetAtBRANDAt8795() MaxLengthAtBRANDAt8795String { if o == nil { - return MaxLengthAtBRANDAt8486String{} + return MaxLengthAtBRANDAt8795String{} } - return o.AtBRANDAt8486 + return o.AtBRANDAt8795 } -type PatternAtBRANDAt8486String struct { +type PatternAtBRANDAt8795String struct { } -func (p PatternAtBRANDAt8486String) MarshalJSON() ([]byte, error) { +func (p PatternAtBRANDAt8795String) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *PatternAtBRANDAt8486String) UnmarshalJSON(data []byte) error { +func (p *PatternAtBRANDAt8795String) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, nil); err != nil { return err } @@ -3807,7 +4013,7 @@ func (p *PatternAtBRANDAt8486String) UnmarshalJSON(data []byte) error { } type CreateIntegrationStoreDirectPatternString struct { - AtBRANDAt8486 PatternAtBRANDAt8486String `json:"__@BRAND@8486"` + AtBRANDAt8795 PatternAtBRANDAt8795String `json:"__@BRAND@8795"` } func (c CreateIntegrationStoreDirectPatternString) MarshalJSON() ([]byte, error) { @@ -3815,17 +4021,17 @@ func (c CreateIntegrationStoreDirectPatternString) MarshalJSON() ([]byte, error) } func (c *CreateIntegrationStoreDirectPatternString) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &c, "", false, []string{"__@BRAND@8486"}); err != nil { + if err := utils.UnmarshalJSON(data, &c, "", false, []string{"__@BRAND@8795"}); err != nil { return err } return nil } -func (o *CreateIntegrationStoreDirectPatternString) GetAtBRANDAt8486() PatternAtBRANDAt8486String { +func (o *CreateIntegrationStoreDirectPatternString) GetAtBRANDAt8795() PatternAtBRANDAt8795String { if o == nil { - return PatternAtBRANDAt8486String{} + return PatternAtBRANDAt8795String{} } - return o.AtBRANDAt8486 + return o.AtBRANDAt8795 } type CreateIntegrationStoreDirectItemsString struct { @@ -5239,14 +5445,14 @@ func (o *CreateIntegrationStoreDirectUIOption1) GetHidden() *CreateIntegrationSt return o.Hidden } -type MaxLengthAtBRANDAt84862 struct { +type MaxLengthAtBRANDAt87952 struct { } -func (m MaxLengthAtBRANDAt84862) MarshalJSON() ([]byte, error) { +func (m MaxLengthAtBRANDAt87952) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(m, "", false) } -func (m *MaxLengthAtBRANDAt84862) UnmarshalJSON(data []byte) error { +func (m *MaxLengthAtBRANDAt87952) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &m, "", false, nil); err != nil { return err } @@ -5254,7 +5460,7 @@ func (m *MaxLengthAtBRANDAt84862) UnmarshalJSON(data []byte) error { } type CreateIntegrationStoreDirectMaxLength2 struct { - AtBRANDAt8486 MaxLengthAtBRANDAt84862 `json:"__@BRAND@8486"` + AtBRANDAt8795 MaxLengthAtBRANDAt87952 `json:"__@BRAND@8795"` } func (c CreateIntegrationStoreDirectMaxLength2) MarshalJSON() ([]byte, error) { @@ -5262,27 +5468,27 @@ func (c CreateIntegrationStoreDirectMaxLength2) MarshalJSON() ([]byte, error) { } func (c *CreateIntegrationStoreDirectMaxLength2) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &c, "", false, []string{"__@BRAND@8486"}); err != nil { + if err := utils.UnmarshalJSON(data, &c, "", false, []string{"__@BRAND@8795"}); err != nil { return err } return nil } -func (o *CreateIntegrationStoreDirectMaxLength2) GetAtBRANDAt8486() MaxLengthAtBRANDAt84862 { +func (o *CreateIntegrationStoreDirectMaxLength2) GetAtBRANDAt8795() MaxLengthAtBRANDAt87952 { if o == nil { - return MaxLengthAtBRANDAt84862{} + return MaxLengthAtBRANDAt87952{} } - return o.AtBRANDAt8486 + return o.AtBRANDAt8795 } -type MinLengthAtBRANDAt84862 struct { +type MinLengthAtBRANDAt87952 struct { } -func (m MinLengthAtBRANDAt84862) MarshalJSON() ([]byte, error) { +func (m MinLengthAtBRANDAt87952) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(m, "", false) } -func (m *MinLengthAtBRANDAt84862) UnmarshalJSON(data []byte) error { +func (m *MinLengthAtBRANDAt87952) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &m, "", false, nil); err != nil { return err } @@ -5290,7 +5496,7 @@ func (m *MinLengthAtBRANDAt84862) UnmarshalJSON(data []byte) error { } type CreateIntegrationStoreDirectMinLength2 struct { - AtBRANDAt8486 MinLengthAtBRANDAt84862 `json:"__@BRAND@8486"` + AtBRANDAt8795 MinLengthAtBRANDAt87952 `json:"__@BRAND@8795"` } func (c CreateIntegrationStoreDirectMinLength2) MarshalJSON() ([]byte, error) { @@ -5298,27 +5504,27 @@ func (c CreateIntegrationStoreDirectMinLength2) MarshalJSON() ([]byte, error) { } func (c *CreateIntegrationStoreDirectMinLength2) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &c, "", false, []string{"__@BRAND@8486"}); err != nil { + if err := utils.UnmarshalJSON(data, &c, "", false, []string{"__@BRAND@8795"}); err != nil { return err } return nil } -func (o *CreateIntegrationStoreDirectMinLength2) GetAtBRANDAt8486() MinLengthAtBRANDAt84862 { +func (o *CreateIntegrationStoreDirectMinLength2) GetAtBRANDAt8795() MinLengthAtBRANDAt87952 { if o == nil { - return MinLengthAtBRANDAt84862{} + return MinLengthAtBRANDAt87952{} } - return o.AtBRANDAt8486 + return o.AtBRANDAt8795 } -type PatternAtBRANDAt84862 struct { +type PatternAtBRANDAt87952 struct { } -func (p PatternAtBRANDAt84862) MarshalJSON() ([]byte, error) { +func (p PatternAtBRANDAt87952) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *PatternAtBRANDAt84862) UnmarshalJSON(data []byte) error { +func (p *PatternAtBRANDAt87952) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, nil); err != nil { return err } @@ -5326,7 +5532,7 @@ func (p *PatternAtBRANDAt84862) UnmarshalJSON(data []byte) error { } type CreateIntegrationStoreDirectPattern2 struct { - AtBRANDAt8486 PatternAtBRANDAt84862 `json:"__@BRAND@8486"` + AtBRANDAt8795 PatternAtBRANDAt87952 `json:"__@BRAND@8795"` } func (c CreateIntegrationStoreDirectPattern2) MarshalJSON() ([]byte, error) { @@ -5334,17 +5540,17 @@ func (c CreateIntegrationStoreDirectPattern2) MarshalJSON() ([]byte, error) { } func (c *CreateIntegrationStoreDirectPattern2) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &c, "", false, []string{"__@BRAND@8486"}); err != nil { + if err := utils.UnmarshalJSON(data, &c, "", false, []string{"__@BRAND@8795"}); err != nil { return err } return nil } -func (o *CreateIntegrationStoreDirectPattern2) GetAtBRANDAt8486() PatternAtBRANDAt84862 { +func (o *CreateIntegrationStoreDirectPattern2) GetAtBRANDAt8795() PatternAtBRANDAt87952 { if o == nil { - return PatternAtBRANDAt84862{} + return PatternAtBRANDAt87952{} } - return o.AtBRANDAt8486 + return o.AtBRANDAt8795 } type CreateIntegrationStoreDirectUIReadOnlyEnum5 string @@ -8144,14 +8350,14 @@ func (e *CreateIntegrationStoreDirectUIControlInput1) UnmarshalJSON(data []byte) } } -type MaxLengthAtBRANDAt84861 struct { +type MaxLengthAtBRANDAt87951 struct { } -func (m MaxLengthAtBRANDAt84861) MarshalJSON() ([]byte, error) { +func (m MaxLengthAtBRANDAt87951) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(m, "", false) } -func (m *MaxLengthAtBRANDAt84861) UnmarshalJSON(data []byte) error { +func (m *MaxLengthAtBRANDAt87951) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &m, "", false, nil); err != nil { return err } @@ -8159,7 +8365,7 @@ func (m *MaxLengthAtBRANDAt84861) UnmarshalJSON(data []byte) error { } type CreateIntegrationStoreDirectMaxLength1 struct { - AtBRANDAt8486 MaxLengthAtBRANDAt84861 `json:"__@BRAND@8486"` + AtBRANDAt8795 MaxLengthAtBRANDAt87951 `json:"__@BRAND@8795"` } func (c CreateIntegrationStoreDirectMaxLength1) MarshalJSON() ([]byte, error) { @@ -8167,27 +8373,27 @@ func (c CreateIntegrationStoreDirectMaxLength1) MarshalJSON() ([]byte, error) { } func (c *CreateIntegrationStoreDirectMaxLength1) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &c, "", false, []string{"__@BRAND@8486"}); err != nil { + if err := utils.UnmarshalJSON(data, &c, "", false, []string{"__@BRAND@8795"}); err != nil { return err } return nil } -func (o *CreateIntegrationStoreDirectMaxLength1) GetAtBRANDAt8486() MaxLengthAtBRANDAt84861 { +func (o *CreateIntegrationStoreDirectMaxLength1) GetAtBRANDAt8795() MaxLengthAtBRANDAt87951 { if o == nil { - return MaxLengthAtBRANDAt84861{} + return MaxLengthAtBRANDAt87951{} } - return o.AtBRANDAt8486 + return o.AtBRANDAt8795 } -type MinLengthAtBRANDAt84861 struct { +type MinLengthAtBRANDAt87951 struct { } -func (m MinLengthAtBRANDAt84861) MarshalJSON() ([]byte, error) { +func (m MinLengthAtBRANDAt87951) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(m, "", false) } -func (m *MinLengthAtBRANDAt84861) UnmarshalJSON(data []byte) error { +func (m *MinLengthAtBRANDAt87951) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &m, "", false, nil); err != nil { return err } @@ -8195,7 +8401,7 @@ func (m *MinLengthAtBRANDAt84861) UnmarshalJSON(data []byte) error { } type CreateIntegrationStoreDirectMinLength1 struct { - AtBRANDAt8486 MinLengthAtBRANDAt84861 `json:"__@BRAND@8486"` + AtBRANDAt8795 MinLengthAtBRANDAt87951 `json:"__@BRAND@8795"` } func (c CreateIntegrationStoreDirectMinLength1) MarshalJSON() ([]byte, error) { @@ -8203,27 +8409,27 @@ func (c CreateIntegrationStoreDirectMinLength1) MarshalJSON() ([]byte, error) { } func (c *CreateIntegrationStoreDirectMinLength1) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &c, "", false, []string{"__@BRAND@8486"}); err != nil { + if err := utils.UnmarshalJSON(data, &c, "", false, []string{"__@BRAND@8795"}); err != nil { return err } return nil } -func (o *CreateIntegrationStoreDirectMinLength1) GetAtBRANDAt8486() MinLengthAtBRANDAt84861 { +func (o *CreateIntegrationStoreDirectMinLength1) GetAtBRANDAt8795() MinLengthAtBRANDAt87951 { if o == nil { - return MinLengthAtBRANDAt84861{} + return MinLengthAtBRANDAt87951{} } - return o.AtBRANDAt8486 + return o.AtBRANDAt8795 } -type PatternAtBRANDAt84861 struct { +type PatternAtBRANDAt87951 struct { } -func (p PatternAtBRANDAt84861) MarshalJSON() ([]byte, error) { +func (p PatternAtBRANDAt87951) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *PatternAtBRANDAt84861) UnmarshalJSON(data []byte) error { +func (p *PatternAtBRANDAt87951) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, nil); err != nil { return err } @@ -8231,7 +8437,7 @@ func (p *PatternAtBRANDAt84861) UnmarshalJSON(data []byte) error { } type CreateIntegrationStoreDirectPattern1 struct { - AtBRANDAt8486 PatternAtBRANDAt84861 `json:"__@BRAND@8486"` + AtBRANDAt8795 PatternAtBRANDAt87951 `json:"__@BRAND@8795"` } func (c CreateIntegrationStoreDirectPattern1) MarshalJSON() ([]byte, error) { @@ -8239,17 +8445,17 @@ func (c CreateIntegrationStoreDirectPattern1) MarshalJSON() ([]byte, error) { } func (c *CreateIntegrationStoreDirectPattern1) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &c, "", false, []string{"__@BRAND@8486"}); err != nil { + if err := utils.UnmarshalJSON(data, &c, "", false, []string{"__@BRAND@8795"}); err != nil { return err } return nil } -func (o *CreateIntegrationStoreDirectPattern1) GetAtBRANDAt8486() PatternAtBRANDAt84861 { +func (o *CreateIntegrationStoreDirectPattern1) GetAtBRANDAt8795() PatternAtBRANDAt87951 { if o == nil { - return PatternAtBRANDAt84861{} + return PatternAtBRANDAt87951{} } - return o.AtBRANDAt8486 + return o.AtBRANDAt8795 } type CreateIntegrationStoreDirectUIReadOnlyEnum1 string @@ -9176,11 +9382,15 @@ const ( TagOther Tag = "other" TagMysql Tag = "mysql" TagVector Tag = "vector" + TagTagAgents Tag = "tag_agents" TagTagAi Tag = "tag_ai" TagTagAnalytics Tag = "tag_analytics" TagTagAuthentication Tag = "tag_authentication" TagTagCms Tag = "tag_cms" TagTagCodeRepository Tag = "tag_code_repository" + TagTagCodeReview Tag = "tag_code_review" + TagTagCodeSecurity Tag = "tag_code_security" + TagTagCodeTesting Tag = "tag_code_testing" TagTagCommerce Tag = "tag_commerce" TagTagDatabases Tag = "tag_databases" TagTagDevTools Tag = "tag_dev_tools" @@ -9195,8 +9405,10 @@ const ( TagTagProductivity Tag = "tag_productivity" TagTagSearching Tag = "tag_searching" TagTagSecurity Tag = "tag_security" + TagTagSupportAgent Tag = "tag_support_agent" TagTagTesting Tag = "tag_testing" TagTagVideo Tag = "tag_video" + TagTagWebAutomation Tag = "tag_web_automation" TagTagWorkflow Tag = "tag_workflow" TagTagChecks Tag = "tag_checks" TagTagStorage Tag = "tag_storage" @@ -9250,6 +9462,8 @@ func (e *Tag) UnmarshalJSON(data []byte) error { fallthrough case "vector": fallthrough + case "tag_agents": + fallthrough case "tag_ai": fallthrough case "tag_analytics": @@ -9260,6 +9474,12 @@ func (e *Tag) UnmarshalJSON(data []byte) error { fallthrough case "tag_code_repository": fallthrough + case "tag_code_review": + fallthrough + case "tag_code_security": + fallthrough + case "tag_code_testing": + fallthrough case "tag_commerce": fallthrough case "tag_databases": @@ -9288,10 +9508,14 @@ func (e *Tag) UnmarshalJSON(data []byte) error { fallthrough case "tag_security": fallthrough + case "tag_support_agent": + fallthrough case "tag_testing": fallthrough case "tag_video": fallthrough + case "tag_web_automation": + fallthrough case "tag_workflow": fallthrough case "tag_checks": @@ -9398,6 +9622,7 @@ type ActionType string const ( ActionTypeConnectToProject ActionType = "connect_to_project" ActionTypeConfigureProjectConnections ActionType = "configure_project_connections" + ActionTypeAddDrain ActionType = "add_drain" ) func (e ActionType) ToPointer() *ActionType { @@ -9412,6 +9637,8 @@ func (e *ActionType) UnmarshalJSON(data []byte) error { case "connect_to_project": fallthrough case "configure_project_connections": + fallthrough + case "add_drain": *e = ActionType(v) return nil default: @@ -9484,18 +9711,18 @@ func (o *Guide) GetSteps() []Step { return o.Steps } -type ValueAtBRANDAt8486 struct { +type ValueAtBRANDAt8795 struct { } type CreateIntegrationStoreDirectValue struct { - AtBRANDAt8486 ValueAtBRANDAt8486 `json:"__@BRAND@8486"` + AtBRANDAt8795 ValueAtBRANDAt8795 `json:"__@BRAND@8795"` } -func (o *CreateIntegrationStoreDirectValue) GetAtBRANDAt8486() ValueAtBRANDAt8486 { +func (o *CreateIntegrationStoreDirectValue) GetAtBRANDAt8795() ValueAtBRANDAt8795 { if o == nil { - return ValueAtBRANDAt8486{} + return ValueAtBRANDAt8795{} } - return o.AtBRANDAt8486 + return o.AtBRANDAt8795 } type CreateIntegrationStoreDirectDisabledEnum string @@ -10274,6 +10501,7 @@ func (o *CreateIntegrationStoreDirectBillingPlan) GetDisabled() *bool { type Store struct { ProjectsMetadata []CreateIntegrationStoreDirectProjectsMetadatum `json:"projectsMetadata"` + ProjectFilter *ProjectFilter `json:"projectFilter,omitempty"` TotalConnectedProjects *float64 `json:"totalConnectedProjects,omitempty"` UsageQuotaExceeded bool `json:"usageQuotaExceeded"` Status *CreateIntegrationStoreDirectStatus `json:"status"` @@ -10296,6 +10524,13 @@ func (o *Store) GetProjectsMetadata() []CreateIntegrationStoreDirectProjectsMeta return o.ProjectsMetadata } +func (o *Store) GetProjectFilter() *ProjectFilter { + if o == nil { + return nil + } + return o.ProjectFilter +} + func (o *Store) GetTotalConnectedProjects() *float64 { if o == nil { return nil diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/createlogdrain.go b/src/__tests__/mockserver/internal/sdk/models/operations/createlogdrain.go index 6f627ddbd..feadd7778 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/createlogdrain.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/createlogdrain.go @@ -10,18 +10,18 @@ import ( "mockserver/internal/sdk/utils" ) -// DeliveryFormatRequest - The delivery log format -type DeliveryFormatRequest string +// CreateLogDrainDeliveryFormatRequest - The delivery log format +type CreateLogDrainDeliveryFormatRequest string const ( - DeliveryFormatRequestJSON DeliveryFormatRequest = "json" - DeliveryFormatRequestNdjson DeliveryFormatRequest = "ndjson" + CreateLogDrainDeliveryFormatRequestJSON CreateLogDrainDeliveryFormatRequest = "json" + CreateLogDrainDeliveryFormatRequestNdjson CreateLogDrainDeliveryFormatRequest = "ndjson" ) -func (e DeliveryFormatRequest) ToPointer() *DeliveryFormatRequest { +func (e CreateLogDrainDeliveryFormatRequest) ToPointer() *CreateLogDrainDeliveryFormatRequest { return &e } -func (e *DeliveryFormatRequest) UnmarshalJSON(data []byte) error { +func (e *CreateLogDrainDeliveryFormatRequest) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { return err @@ -30,10 +30,10 @@ func (e *DeliveryFormatRequest) UnmarshalJSON(data []byte) error { case "json": fallthrough case "ndjson": - *e = DeliveryFormatRequest(v) + *e = CreateLogDrainDeliveryFormatRequest(v) return nil default: - return fmt.Errorf("invalid value for DeliveryFormatRequest: %v", v) + return fmt.Errorf("invalid value for CreateLogDrainDeliveryFormatRequest: %v", v) } } @@ -75,17 +75,17 @@ func (e *CreateLogDrainSourceRequest) UnmarshalJSON(data []byte) error { } } -type EnvironmentRequest string +type CreateLogDrainEnvironmentRequest string const ( - EnvironmentRequestPreview EnvironmentRequest = "preview" - EnvironmentRequestProduction EnvironmentRequest = "production" + CreateLogDrainEnvironmentRequestPreview CreateLogDrainEnvironmentRequest = "preview" + CreateLogDrainEnvironmentRequestProduction CreateLogDrainEnvironmentRequest = "production" ) -func (e EnvironmentRequest) ToPointer() *EnvironmentRequest { +func (e CreateLogDrainEnvironmentRequest) ToPointer() *CreateLogDrainEnvironmentRequest { return &e } -func (e *EnvironmentRequest) UnmarshalJSON(data []byte) error { +func (e *CreateLogDrainEnvironmentRequest) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { return err @@ -94,10 +94,10 @@ func (e *EnvironmentRequest) UnmarshalJSON(data []byte) error { case "preview": fallthrough case "production": - *e = EnvironmentRequest(v) + *e = CreateLogDrainEnvironmentRequest(v) return nil default: - return fmt.Errorf("invalid value for EnvironmentRequest: %v", v) + return fmt.Errorf("invalid value for CreateLogDrainEnvironmentRequest: %v", v) } } @@ -108,13 +108,13 @@ type CreateLogDrainRequestBody struct { // A secret to sign log drain notification headers so a consumer can verify their authenticity Secret *string `json:"secret,omitempty"` // The delivery log format - DeliveryFormat *DeliveryFormatRequest `json:"deliveryFormat,omitempty"` + DeliveryFormat *CreateLogDrainDeliveryFormatRequest `json:"deliveryFormat,omitempty"` // The url where you will receive logs. The protocol must be `https://` or `http://` when type is `json` and `ndjson`. URL string `json:"url"` Sources []CreateLogDrainSourceRequest `json:"sources,omitempty"` // Headers to be sent together with the request - Headers map[string]string `json:"headers,omitempty"` - Environments []EnvironmentRequest `json:"environments,omitempty"` + Headers map[string]string `json:"headers,omitempty"` + Environments []CreateLogDrainEnvironmentRequest `json:"environments,omitempty"` } func (o *CreateLogDrainRequestBody) GetName() string { @@ -138,7 +138,7 @@ func (o *CreateLogDrainRequestBody) GetSecret() *string { return o.Secret } -func (o *CreateLogDrainRequestBody) GetDeliveryFormat() *DeliveryFormatRequest { +func (o *CreateLogDrainRequestBody) GetDeliveryFormat() *CreateLogDrainDeliveryFormatRequest { if o == nil { return nil } @@ -166,7 +166,7 @@ func (o *CreateLogDrainRequestBody) GetHeaders() map[string]string { return o.Headers } -func (o *CreateLogDrainRequestBody) GetEnvironments() []EnvironmentRequest { +func (o *CreateLogDrainRequestBody) GetEnvironments() []CreateLogDrainEnvironmentRequest { if o == nil { return nil } @@ -177,8 +177,8 @@ type CreateLogDrainRequest struct { // The Team identifier to perform the request on behalf of. TeamID *string `queryParam:"style=form,explode=true,name=teamId"` // The Team slug to perform the request on behalf of. - Slug *string `queryParam:"style=form,explode=true,name=slug"` - RequestBody CreateLogDrainRequestBody `request:"mediaType=application/json"` + Slug *string `queryParam:"style=form,explode=true,name=slug"` + Body CreateLogDrainRequestBody `request:"mediaType=application/json"` } func (o *CreateLogDrainRequest) GetTeamID() *string { @@ -195,11 +195,11 @@ func (o *CreateLogDrainRequest) GetSlug() *string { return o.Slug } -func (o *CreateLogDrainRequest) GetRequestBody() CreateLogDrainRequestBody { +func (o *CreateLogDrainRequest) GetBody() CreateLogDrainRequestBody { if o == nil { return CreateLogDrainRequestBody{} } - return o.RequestBody + return o.Body } // CreateLogDrainDeliveryFormatResponse - The delivery log format @@ -208,7 +208,6 @@ type CreateLogDrainDeliveryFormatResponse string const ( CreateLogDrainDeliveryFormatResponseJSON CreateLogDrainDeliveryFormatResponse = "json" CreateLogDrainDeliveryFormatResponseNdjson CreateLogDrainDeliveryFormatResponse = "ndjson" - CreateLogDrainDeliveryFormatResponseSyslog CreateLogDrainDeliveryFormatResponse = "syslog" CreateLogDrainDeliveryFormatResponseProtobuf CreateLogDrainDeliveryFormatResponse = "protobuf" ) @@ -225,8 +224,6 @@ func (e *CreateLogDrainDeliveryFormatResponse) UnmarshalJSON(data []byte) error fallthrough case "ndjson": fallthrough - case "syslog": - fallthrough case "protobuf": *e = CreateLogDrainDeliveryFormatResponse(v) return nil @@ -245,6 +242,7 @@ const ( CreateLogDrainSourceResponseBodyEnumStatic CreateLogDrainSourceResponseBodyEnum = "static" CreateLogDrainSourceResponseBodyEnumExternal CreateLogDrainSourceResponseBodyEnum = "external" CreateLogDrainSourceResponseBodyEnumFirewall CreateLogDrainSourceResponseBodyEnum = "firewall" + CreateLogDrainSourceResponseBodyEnumRedirect CreateLogDrainSourceResponseBodyEnum = "redirect" ) func (e CreateLogDrainSourceResponseBodyEnum) ToPointer() *CreateLogDrainSourceResponseBodyEnum { @@ -267,6 +265,8 @@ func (e *CreateLogDrainSourceResponseBodyEnum) UnmarshalJSON(data []byte) error case "external": fallthrough case "firewall": + fallthrough + case "redirect": *e = CreateLogDrainSourceResponseBodyEnum(v) return nil default: diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/createortransferdomain.go b/src/__tests__/mockserver/internal/sdk/models/operations/createortransferdomain.go index 1c242cab1..0c6604b9c 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/createortransferdomain.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/createortransferdomain.go @@ -11,10 +11,12 @@ import ( ) // CreateOrTransferDomainRequestBody3 - transfer-in +// +// Deprecated: This will be removed in a future release, please migrate away from it as soon as possible. type CreateOrTransferDomainRequestBody3 struct { // The domain name you want to add. Name string `json:"name"` - // The domain operation to perform. It can be either `add` or `transfer-in`. + // The domain operation to perform. It can be either `add` or `move-in`. Method string `json:"method"` // The authorization code assigned to the domain. AuthCode *string `json:"authCode,omitempty"` @@ -65,7 +67,7 @@ func (o *CreateOrTransferDomainRequestBody3) GetExpectedPrice() *float64 { type CreateOrTransferDomainRequestBody2 struct { // The domain name you want to add. Name string `json:"name"` - // The domain operation to perform. It can be either `add` or `transfer-in`. + // The domain operation to perform. It can be either `add` or `move-in`. Method string `json:"method"` // The move-in token from Move Requested email. Token *string `json:"token,omitempty"` @@ -110,7 +112,7 @@ type CreateOrTransferDomainRequestBody1 struct { // Whether the domain has the Vercel Edge Network enabled or not. CdnEnabled *bool `json:"cdnEnabled,omitempty"` Zone *bool `json:"zone,omitempty"` - // The domain operation to perform. It can be either `add` or `transfer-in`. + // The domain operation to perform. It can be either `add` or `move-in`. Method *string `json:"method,omitempty"` } @@ -242,8 +244,8 @@ type CreateOrTransferDomainRequest struct { // The Team identifier to perform the request on behalf of. TeamID *string `queryParam:"style=form,explode=true,name=teamId"` // The Team slug to perform the request on behalf of. - Slug *string `queryParam:"style=form,explode=true,name=slug"` - RequestBody *CreateOrTransferDomainRequestBody `request:"mediaType=application/json"` + Slug *string `queryParam:"style=form,explode=true,name=slug"` + Body *CreateOrTransferDomainRequestBody `request:"mediaType=application/json"` } func (o *CreateOrTransferDomainRequest) GetTeamID() *string { @@ -260,11 +262,11 @@ func (o *CreateOrTransferDomainRequest) GetSlug() *string { return o.Slug } -func (o *CreateOrTransferDomainRequest) GetRequestBody() *CreateOrTransferDomainRequestBody { +func (o *CreateOrTransferDomainRequest) GetBody() *CreateOrTransferDomainRequestBody { if o == nil { return nil } - return o.RequestBody + return o.Body } // CreateOrTransferDomainCreator - An object containing information of the domain creator, including the user's id, username, and email. diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/createproject.go b/src/__tests__/mockserver/internal/sdk/models/operations/createproject.go index 3e1c49b2d..7675dd340 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/createproject.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/createproject.go @@ -259,10 +259,12 @@ const ( CreateProjectFrameworkRequestZola CreateProjectFrameworkRequest = "zola" CreateProjectFrameworkRequestHydrogen CreateProjectFrameworkRequest = "hydrogen" CreateProjectFrameworkRequestVite CreateProjectFrameworkRequest = "vite" + CreateProjectFrameworkRequestTanstackStart CreateProjectFrameworkRequest = "tanstack-start" CreateProjectFrameworkRequestVitepress CreateProjectFrameworkRequest = "vitepress" CreateProjectFrameworkRequestVuepress CreateProjectFrameworkRequest = "vuepress" CreateProjectFrameworkRequestParcel CreateProjectFrameworkRequest = "parcel" CreateProjectFrameworkRequestFastapi CreateProjectFrameworkRequest = "fastapi" + CreateProjectFrameworkRequestFlask CreateProjectFrameworkRequest = "flask" CreateProjectFrameworkRequestFasthtml CreateProjectFrameworkRequest = "fasthtml" CreateProjectFrameworkRequestSanityV3 CreateProjectFrameworkRequest = "sanity-v3" CreateProjectFrameworkRequestSanity CreateProjectFrameworkRequest = "sanity" @@ -271,6 +273,9 @@ const ( CreateProjectFrameworkRequestHono CreateProjectFrameworkRequest = "hono" CreateProjectFrameworkRequestExpress CreateProjectFrameworkRequest = "express" CreateProjectFrameworkRequestH3 CreateProjectFrameworkRequest = "h3" + CreateProjectFrameworkRequestNestjs CreateProjectFrameworkRequest = "nestjs" + CreateProjectFrameworkRequestElysia CreateProjectFrameworkRequest = "elysia" + CreateProjectFrameworkRequestFastify CreateProjectFrameworkRequest = "fastify" CreateProjectFrameworkRequestXmcp CreateProjectFrameworkRequest = "xmcp" ) @@ -361,6 +366,8 @@ func (e *CreateProjectFrameworkRequest) UnmarshalJSON(data []byte) error { fallthrough case "vite": fallthrough + case "tanstack-start": + fallthrough case "vitepress": fallthrough case "vuepress": @@ -369,6 +376,8 @@ func (e *CreateProjectFrameworkRequest) UnmarshalJSON(data []byte) error { fallthrough case "fastapi": fallthrough + case "flask": + fallthrough case "fasthtml": fallthrough case "sanity-v3": @@ -385,6 +394,12 @@ func (e *CreateProjectFrameworkRequest) UnmarshalJSON(data []byte) error { fallthrough case "h3": fallthrough + case "nestjs": + fallthrough + case "elysia": + fallthrough + case "fastify": + fallthrough case "xmcp": *e = CreateProjectFrameworkRequest(v) return nil @@ -876,8 +891,8 @@ type CreateProjectRequest struct { // The Team identifier to perform the request on behalf of. TeamID *string `queryParam:"style=form,explode=true,name=teamId"` // The Team slug to perform the request on behalf of. - Slug *string `queryParam:"style=form,explode=true,name=slug"` - RequestBody *CreateProjectRequestBody `request:"mediaType=application/json"` + Slug *string `queryParam:"style=form,explode=true,name=slug"` + Body *CreateProjectRequestBody `request:"mediaType=application/json"` } func (o *CreateProjectRequest) GetTeamID() *string { @@ -894,11 +909,11 @@ func (o *CreateProjectRequest) GetSlug() *string { return o.Slug } -func (o *CreateProjectRequest) GetRequestBody() *CreateProjectRequestBody { +func (o *CreateProjectRequest) GetBody() *CreateProjectRequestBody { if o == nil { return nil } - return o.RequestBody + return o.Body } type CreateProjectAnalytics struct { @@ -3210,10 +3225,12 @@ const ( CreateProjectFrameworkResponseBodyZola CreateProjectFrameworkResponseBody = "zola" CreateProjectFrameworkResponseBodyHydrogen CreateProjectFrameworkResponseBody = "hydrogen" CreateProjectFrameworkResponseBodyVite CreateProjectFrameworkResponseBody = "vite" + CreateProjectFrameworkResponseBodyTanstackStart CreateProjectFrameworkResponseBody = "tanstack-start" CreateProjectFrameworkResponseBodyVitepress CreateProjectFrameworkResponseBody = "vitepress" CreateProjectFrameworkResponseBodyVuepress CreateProjectFrameworkResponseBody = "vuepress" CreateProjectFrameworkResponseBodyParcel CreateProjectFrameworkResponseBody = "parcel" CreateProjectFrameworkResponseBodyFastapi CreateProjectFrameworkResponseBody = "fastapi" + CreateProjectFrameworkResponseBodyFlask CreateProjectFrameworkResponseBody = "flask" CreateProjectFrameworkResponseBodyFasthtml CreateProjectFrameworkResponseBody = "fasthtml" CreateProjectFrameworkResponseBodySanityV3 CreateProjectFrameworkResponseBody = "sanity-v3" CreateProjectFrameworkResponseBodySanity CreateProjectFrameworkResponseBody = "sanity" @@ -3222,6 +3239,9 @@ const ( CreateProjectFrameworkResponseBodyHono CreateProjectFrameworkResponseBody = "hono" CreateProjectFrameworkResponseBodyExpress CreateProjectFrameworkResponseBody = "express" CreateProjectFrameworkResponseBodyH3 CreateProjectFrameworkResponseBody = "h3" + CreateProjectFrameworkResponseBodyNestjs CreateProjectFrameworkResponseBody = "nestjs" + CreateProjectFrameworkResponseBodyElysia CreateProjectFrameworkResponseBody = "elysia" + CreateProjectFrameworkResponseBodyFastify CreateProjectFrameworkResponseBody = "fastify" CreateProjectFrameworkResponseBodyXmcp CreateProjectFrameworkResponseBody = "xmcp" ) @@ -3312,6 +3332,8 @@ func (e *CreateProjectFrameworkResponseBody) UnmarshalJSON(data []byte) error { fallthrough case "vite": fallthrough + case "tanstack-start": + fallthrough case "vitepress": fallthrough case "vuepress": @@ -3320,6 +3342,8 @@ func (e *CreateProjectFrameworkResponseBody) UnmarshalJSON(data []byte) error { fallthrough case "fastapi": fallthrough + case "flask": + fallthrough case "fasthtml": fallthrough case "sanity-v3": @@ -3336,6 +3360,12 @@ func (e *CreateProjectFrameworkResponseBody) UnmarshalJSON(data []byte) error { fallthrough case "h3": fallthrough + case "nestjs": + fallthrough + case "elysia": + fallthrough + case "fastify": + fallthrough case "xmcp": *e = CreateProjectFrameworkResponseBody(v) return nil @@ -4715,10 +4745,68 @@ func (u CreateProjectLinkUnion) MarshalJSON() ([]byte, error) { return nil, errors.New("could not marshal union type CreateProjectLinkUnion: all fields are null") } +type CreateProjectMicrofrontends3 struct { + UpdatedAt float64 `json:"updatedAt"` + GroupIds []any `json:"groupIds"` + Enabled bool `json:"enabled"` + FreeProjectForLegacyLimits *bool `json:"freeProjectForLegacyLimits,omitempty"` +} + +func (c CreateProjectMicrofrontends3) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(c, "", false) +} + +func (c *CreateProjectMicrofrontends3) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &c, "", false, []string{"updatedAt", "groupIds", "enabled"}); err != nil { + return err + } + return nil +} + +func (o *CreateProjectMicrofrontends3) GetUpdatedAt() float64 { + if o == nil { + return 0.0 + } + return o.UpdatedAt +} + +func (o *CreateProjectMicrofrontends3) GetGroupIds() []any { + if o == nil { + return []any{} + } + return o.GroupIds +} + +func (o *CreateProjectMicrofrontends3) GetEnabled() bool { + if o == nil { + return false + } + return o.Enabled +} + +func (o *CreateProjectMicrofrontends3) GetFreeProjectForLegacyLimits() *bool { + if o == nil { + return nil + } + return o.FreeProjectForLegacyLimits +} + type CreateProjectMicrofrontends2 struct { + IsDefaultApp *bool `json:"isDefaultApp,omitempty"` + // Whether observability data should be routed to this microfrontend project or a root project. + RouteObservabilityToThisProject *bool `json:"routeObservabilityToThisProject,omitempty"` + // Whether to add microfrontends routing to aliases. This means domains in this project will route as a microfrontend. + DoNotRouteWithMicrofrontendsRouting *bool `json:"doNotRouteWithMicrofrontendsRouting,omitempty"` + // Timestamp when the microfrontends settings were last updated. UpdatedAt float64 `json:"updatedAt"` - GroupIds []any `json:"groupIds"` - Enabled bool `json:"enabled"` + // 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 []string `json:"groupIds"` + // Whether microfrontends are enabled for this project. + Enabled bool `json:"enabled"` + // 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. Includes the leading slash, e.g. `/docs` + DefaultRoute *string `json:"defaultRoute,omitempty"` + // Whether the project was part of the legacy limits for hobby and pro-trial before billing was added. This field is only set when the team is upgraded to a paid plan and we are backfilling the subscription status. We cap the subscription to 2 projects and set this field for the 3rd project. When this field is set, the project is not charged for and we do not call any billing APIs for this project. + FreeProjectForLegacyLimits *bool `json:"freeProjectForLegacyLimits,omitempty"` } func (c CreateProjectMicrofrontends2) MarshalJSON() ([]byte, error) { @@ -4732,6 +4820,27 @@ func (c *CreateProjectMicrofrontends2) UnmarshalJSON(data []byte) error { return nil } +func (o *CreateProjectMicrofrontends2) GetIsDefaultApp() *bool { + if o == nil { + return nil + } + return o.IsDefaultApp +} + +func (o *CreateProjectMicrofrontends2) GetRouteObservabilityToThisProject() *bool { + if o == nil { + return nil + } + return o.RouteObservabilityToThisProject +} + +func (o *CreateProjectMicrofrontends2) GetDoNotRouteWithMicrofrontendsRouting() *bool { + if o == nil { + return nil + } + return o.DoNotRouteWithMicrofrontendsRouting +} + func (o *CreateProjectMicrofrontends2) GetUpdatedAt() float64 { if o == nil { return 0.0 @@ -4739,9 +4848,9 @@ func (o *CreateProjectMicrofrontends2) GetUpdatedAt() float64 { return o.UpdatedAt } -func (o *CreateProjectMicrofrontends2) GetGroupIds() []any { +func (o *CreateProjectMicrofrontends2) GetGroupIds() []string { if o == nil { - return []any{} + return []string{} } return o.GroupIds } @@ -4753,19 +4862,32 @@ func (o *CreateProjectMicrofrontends2) GetEnabled() bool { return o.Enabled } +func (o *CreateProjectMicrofrontends2) GetDefaultRoute() *string { + if o == nil { + return nil + } + return o.DefaultRoute +} + +func (o *CreateProjectMicrofrontends2) GetFreeProjectForLegacyLimits() *bool { + if o == nil { + return nil + } + return o.FreeProjectForLegacyLimits +} + type CreateProjectMicrofrontends1 struct { + IsDefaultApp bool `json:"isDefaultApp"` // Timestamp when the microfrontends settings were last updated. UpdatedAt float64 `json:"updatedAt"` // 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 []string `json:"groupIds"` // Whether microfrontends are enabled for this project. Enabled bool `json:"enabled"` - // 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 *bool `json:"isDefaultApp,omitempty"` // 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. Includes the leading slash, e.g. `/docs` DefaultRoute *string `json:"defaultRoute,omitempty"` - // Whether observability data should be routed to this microfrontend project or a root project. - RouteObservabilityToThisProject *bool `json:"routeObservabilityToThisProject,omitempty"` + // Whether the project was part of the legacy limits for hobby and pro-trial before billing was added. This field is only set when the team is upgraded to a paid plan and we are backfilling the subscription status. We cap the subscription to 2 projects and set this field for the 3rd project. When this field is set, the project is not charged for and we do not call any billing APIs for this project. + FreeProjectForLegacyLimits *bool `json:"freeProjectForLegacyLimits,omitempty"` } func (c CreateProjectMicrofrontends1) MarshalJSON() ([]byte, error) { @@ -4773,12 +4895,19 @@ func (c CreateProjectMicrofrontends1) MarshalJSON() ([]byte, error) { } func (c *CreateProjectMicrofrontends1) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &c, "", false, []string{"updatedAt", "groupIds", "enabled"}); err != nil { + if err := utils.UnmarshalJSON(data, &c, "", false, []string{"isDefaultApp", "updatedAt", "groupIds", "enabled"}); err != nil { return err } return nil } +func (o *CreateProjectMicrofrontends1) GetIsDefaultApp() bool { + if o == nil { + return false + } + return o.IsDefaultApp +} + func (o *CreateProjectMicrofrontends1) GetUpdatedAt() float64 { if o == nil { return 0.0 @@ -4800,13 +4929,6 @@ func (o *CreateProjectMicrofrontends1) GetEnabled() bool { return o.Enabled } -func (o *CreateProjectMicrofrontends1) GetIsDefaultApp() *bool { - if o == nil { - return nil - } - return o.IsDefaultApp -} - func (o *CreateProjectMicrofrontends1) GetDefaultRoute() *string { if o == nil { return nil @@ -4814,11 +4936,11 @@ func (o *CreateProjectMicrofrontends1) GetDefaultRoute() *string { return o.DefaultRoute } -func (o *CreateProjectMicrofrontends1) GetRouteObservabilityToThisProject() *bool { +func (o *CreateProjectMicrofrontends1) GetFreeProjectForLegacyLimits() *bool { if o == nil { return nil } - return o.RouteObservabilityToThisProject + return o.FreeProjectForLegacyLimits } type CreateProjectMicrofrontendsUnionType string @@ -4826,11 +4948,13 @@ type CreateProjectMicrofrontendsUnionType string const ( CreateProjectMicrofrontendsUnionTypeCreateProjectMicrofrontends1 CreateProjectMicrofrontendsUnionType = "createProject_microfrontends_1" CreateProjectMicrofrontendsUnionTypeCreateProjectMicrofrontends2 CreateProjectMicrofrontendsUnionType = "createProject_microfrontends_2" + CreateProjectMicrofrontendsUnionTypeCreateProjectMicrofrontends3 CreateProjectMicrofrontendsUnionType = "createProject_microfrontends_3" ) type CreateProjectMicrofrontendsUnion struct { CreateProjectMicrofrontends1 *CreateProjectMicrofrontends1 `queryParam:"inline"` CreateProjectMicrofrontends2 *CreateProjectMicrofrontends2 `queryParam:"inline"` + CreateProjectMicrofrontends3 *CreateProjectMicrofrontends3 `queryParam:"inline"` Type CreateProjectMicrofrontendsUnionType } @@ -4853,6 +4977,15 @@ func CreateCreateProjectMicrofrontendsUnionCreateProjectMicrofrontends2(createPr } } +func CreateCreateProjectMicrofrontendsUnionCreateProjectMicrofrontends3(createProjectMicrofrontends3 CreateProjectMicrofrontends3) CreateProjectMicrofrontendsUnion { + typ := CreateProjectMicrofrontendsUnionTypeCreateProjectMicrofrontends3 + + return CreateProjectMicrofrontendsUnion{ + CreateProjectMicrofrontends3: &createProjectMicrofrontends3, + Type: typ, + } +} + func (u *CreateProjectMicrofrontendsUnion) UnmarshalJSON(data []byte) error { var createProjectMicrofrontends1 CreateProjectMicrofrontends1 = CreateProjectMicrofrontends1{} @@ -4869,6 +5002,13 @@ func (u *CreateProjectMicrofrontendsUnion) UnmarshalJSON(data []byte) error { return nil } + var createProjectMicrofrontends3 CreateProjectMicrofrontends3 = CreateProjectMicrofrontends3{} + if err := utils.UnmarshalJSON(data, &createProjectMicrofrontends3, "", true, nil); err == nil { + u.CreateProjectMicrofrontends3 = &createProjectMicrofrontends3 + u.Type = CreateProjectMicrofrontendsUnionTypeCreateProjectMicrofrontends3 + return nil + } + return fmt.Errorf("could not unmarshal `%s` into any supported union types for CreateProjectMicrofrontendsUnion", string(data)) } @@ -4881,12 +5021,17 @@ func (u CreateProjectMicrofrontendsUnion) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(u.CreateProjectMicrofrontends2, "", true) } + if u.CreateProjectMicrofrontends3 != nil { + return utils.MarshalJSON(u.CreateProjectMicrofrontends3, "", true) + } + return nil, errors.New("could not marshal union type CreateProjectMicrofrontendsUnion: all fields are null") } type CreateProjectNodeVersion string const ( + CreateProjectNodeVersionTwentyFourDotX CreateProjectNodeVersion = "24.x" CreateProjectNodeVersionTwentyTwoDotX CreateProjectNodeVersion = "22.x" CreateProjectNodeVersionTwentyDotX CreateProjectNodeVersion = "20.x" CreateProjectNodeVersionEighteenDotX CreateProjectNodeVersion = "18.x" @@ -4906,6 +5051,8 @@ func (e *CreateProjectNodeVersion) UnmarshalJSON(data []byte) error { return err } switch v { + case "24.x": + fallthrough case "22.x": fallthrough case "20.x": @@ -5308,6 +5455,33 @@ func (o *CreateProjectDefaultResourceConfig) GetIsNSNBDisabled() *bool { return o.IsNSNBDisabled } +type CreateProjectStaticIps struct { + Builds bool `json:"builds"` + Enabled bool `json:"enabled"` + Regions []string `json:"regions"` +} + +func (o *CreateProjectStaticIps) GetBuilds() bool { + if o == nil { + return false + } + return o.Builds +} + +func (o *CreateProjectStaticIps) GetEnabled() bool { + if o == nil { + return false + } + return o.Enabled +} + +func (o *CreateProjectStaticIps) GetRegions() []string { + if o == nil { + return []string{} + } + return o.Regions +} + type CreateProjectSsoProtectionDeploymentTypeResponse string const ( @@ -5625,6 +5799,7 @@ type CreateProjectOidcTokenClaims struct { Project string `json:"project"` ProjectID string `json:"project_id"` Environment string `json:"environment"` + Plan string `json:"plan"` } func (o *CreateProjectOidcTokenClaims) GetIss() string { @@ -5690,6 +5865,13 @@ func (o *CreateProjectOidcTokenClaims) GetEnvironment() string { return o.Environment } +func (o *CreateProjectOidcTokenClaims) GetPlan() string { + if o == nil { + return "" + } + return o.Plan +} + type CreateProjectPlan string const ( @@ -6108,9 +6290,17 @@ type CreateProjectPermissions struct { UserSudo []components.ACLAction `json:"userSudo,omitempty"` WebAuthn []components.ACLAction `json:"webAuthn,omitempty"` AccessGroup []components.ACLAction `json:"accessGroup,omitempty"` + Agent []components.ACLAction `json:"agent,omitempty"` + Alerts []components.ACLAction `json:"alerts,omitempty"` AliasGlobal []components.ACLAction `json:"aliasGlobal,omitempty"` AnalyticsSampling []components.ACLAction `json:"analyticsSampling,omitempty"` AnalyticsUsage []components.ACLAction `json:"analyticsUsage,omitempty"` + APIKey []components.ACLAction `json:"apiKey,omitempty"` + APIKeyAiGateway []components.ACLAction `json:"apiKeyAiGateway,omitempty"` + APIKeyOwnedBySelf []components.ACLAction `json:"apiKeyOwnedBySelf,omitempty"` + Oauth2Application []components.ACLAction `json:"oauth2Application,omitempty"` + VercelAppInstallation []components.ACLAction `json:"vercelAppInstallation,omitempty"` + VercelAppInstallationRequest []components.ACLAction `json:"vercelAppInstallationRequest,omitempty"` AuditLog []components.ACLAction `json:"auditLog,omitempty"` BillingAddress []components.ACLAction `json:"billingAddress,omitempty"` BillingInformation []components.ACLAction `json:"billingInformation,omitempty"` @@ -6122,6 +6312,7 @@ type CreateProjectPermissions struct { BillingRefund []components.ACLAction `json:"billingRefund,omitempty"` BillingTaxID []components.ACLAction `json:"billingTaxId,omitempty"` Blob []components.ACLAction `json:"blob,omitempty"` + BlobStoreTokenSet []components.ACLAction `json:"blobStoreTokenSet,omitempty"` Budget []components.ACLAction `json:"budget,omitempty"` CacheArtifact []components.ACLAction `json:"cacheArtifact,omitempty"` CacheArtifactUsageEvent []components.ACLAction `json:"cacheArtifactUsageEvent,omitempty"` @@ -6129,6 +6320,7 @@ type CreateProjectPermissions struct { ConcurrentBuilds []components.ACLAction `json:"concurrentBuilds,omitempty"` Connect []components.ACLAction `json:"connect,omitempty"` ConnectConfiguration []components.ACLAction `json:"connectConfiguration,omitempty"` + DataCacheBillingSettings []components.ACLAction `json:"dataCacheBillingSettings,omitempty"` DefaultDeploymentProtection []components.ACLAction `json:"defaultDeploymentProtection,omitempty"` Domain []components.ACLAction `json:"domain,omitempty"` DomainAcceptDelegation []components.ACLAction `json:"domainAcceptDelegation,omitempty"` @@ -6139,40 +6331,48 @@ type CreateProjectPermissions struct { DomainPurchase []components.ACLAction `json:"domainPurchase,omitempty"` DomainRecord []components.ACLAction `json:"domainRecord,omitempty"` DomainTransferIn []components.ACLAction `json:"domainTransferIn,omitempty"` + Drain []components.ACLAction `json:"drain,omitempty"` + EdgeConfig []components.ACLAction `json:"edgeConfig,omitempty"` + EdgeConfigItem []components.ACLAction `json:"edgeConfigItem,omitempty"` + EdgeConfigSchema []components.ACLAction `json:"edgeConfigSchema,omitempty"` + EdgeConfigToken []components.ACLAction `json:"edgeConfigToken,omitempty"` + EndpointVerification []components.ACLAction `json:"endpointVerification,omitempty"` Event []components.ACLAction `json:"event,omitempty"` - OwnEvent []components.ACLAction `json:"ownEvent,omitempty"` - SensitiveEnvironmentVariablePolicy []components.ACLAction `json:"sensitiveEnvironmentVariablePolicy,omitempty"` FileUpload []components.ACLAction `json:"fileUpload,omitempty"` FlagsExplorerSubscription []components.ACLAction `json:"flagsExplorerSubscription,omitempty"` GitRepository []components.ACLAction `json:"gitRepository,omitempty"` - IPBlocking []components.ACLAction `json:"ipBlocking,omitempty"` ImageOptimizationNewPrice []components.ACLAction `json:"imageOptimizationNewPrice,omitempty"` Integration []components.ACLAction `json:"integration,omitempty"` IntegrationAccount []components.ACLAction `json:"integrationAccount,omitempty"` IntegrationConfiguration []components.ACLAction `json:"integrationConfiguration,omitempty"` - IntegrationConfigurationTransfer []components.ACLAction `json:"integrationConfigurationTransfer,omitempty"` IntegrationConfigurationProjects []components.ACLAction `json:"integrationConfigurationProjects,omitempty"` - IntegrationVercelConfigurationOverride []components.ACLAction `json:"integrationVercelConfigurationOverride,omitempty"` IntegrationConfigurationRole []components.ACLAction `json:"integrationConfigurationRole,omitempty"` - IntegrationSSOSession []components.ACLAction `json:"integrationSSOSession,omitempty"` - IntegrationResource []components.ACLAction `json:"integrationResource,omitempty"` + IntegrationConfigurationTransfer []components.ACLAction `json:"integrationConfigurationTransfer,omitempty"` + IntegrationDeploymentAction []components.ACLAction `json:"integrationDeploymentAction,omitempty"` IntegrationEvent []components.ACLAction `json:"integrationEvent,omitempty"` + IntegrationLog []components.ACLAction `json:"integrationLog,omitempty"` + IntegrationResource []components.ACLAction `json:"integrationResource,omitempty"` + IntegrationResourceReplCommand []components.ACLAction `json:"integrationResourceReplCommand,omitempty"` IntegrationResourceSecrets []components.ACLAction `json:"integrationResourceSecrets,omitempty"` - IntegrationDeploymentAction []components.ACLAction `json:"integrationDeploymentAction,omitempty"` - MarketplaceInstallationMember []components.ACLAction `json:"marketplaceInstallationMember,omitempty"` + IntegrationSSOSession []components.ACLAction `json:"integrationSSOSession,omitempty"` + IntegrationStoreTokenSet []components.ACLAction `json:"integrationStoreTokenSet,omitempty"` + IntegrationVercelConfigurationOverride []components.ACLAction `json:"integrationVercelConfigurationOverride,omitempty"` + IntegrationPullRequest []components.ACLAction `json:"integrationPullRequest,omitempty"` + IPBlocking []components.ACLAction `json:"ipBlocking,omitempty"` + JobGlobal []components.ACLAction `json:"jobGlobal,omitempty"` + LogDrain []components.ACLAction `json:"logDrain,omitempty"` MarketplaceBillingData []components.ACLAction `json:"marketplaceBillingData,omitempty"` + MarketplaceExperimentationEdgeConfigData []components.ACLAction `json:"marketplaceExperimentationEdgeConfigData,omitempty"` + MarketplaceExperimentationItem []components.ACLAction `json:"marketplaceExperimentationItem,omitempty"` + MarketplaceInstallationMember []components.ACLAction `json:"marketplaceInstallationMember,omitempty"` MarketplaceInvoice []components.ACLAction `json:"marketplaceInvoice,omitempty"` MarketplaceSettings []components.ACLAction `json:"marketplaceSettings,omitempty"` - MarketplaceExperimentationItem []components.ACLAction `json:"marketplaceExperimentationItem,omitempty"` - MarketplaceExperimentationEdgeConfigData []components.ACLAction `json:"marketplaceExperimentationEdgeConfigData,omitempty"` - JobGlobal []components.ACLAction `json:"jobGlobal,omitempty"` - Drain []components.ACLAction `json:"drain,omitempty"` - LogDrain []components.ACLAction `json:"logDrain,omitempty"` Monitoring []components.ACLAction `json:"Monitoring,omitempty"` - MonitoringSettings []components.ACLAction `json:"monitoringSettings,omitempty"` - MonitoringQuery []components.ACLAction `json:"monitoringQuery,omitempty"` - MonitoringChart []components.ACLAction `json:"monitoringChart,omitempty"` MonitoringAlert []components.ACLAction `json:"monitoringAlert,omitempty"` + MonitoringChart []components.ACLAction `json:"monitoringChart,omitempty"` + MonitoringQuery []components.ACLAction `json:"monitoringQuery,omitempty"` + MonitoringSettings []components.ACLAction `json:"monitoringSettings,omitempty"` + NotificationCustomerBudget []components.ACLAction `json:"notificationCustomerBudget,omitempty"` NotificationDeploymentFailed []components.ACLAction `json:"notificationDeploymentFailed,omitempty"` NotificationDomainConfiguration []components.ACLAction `json:"notificationDomainConfiguration,omitempty"` NotificationDomainExpire []components.ACLAction `json:"notificationDomainExpire,omitempty"` @@ -6183,42 +6383,38 @@ type CreateProjectPermissions struct { NotificationDomainUnverified []components.ACLAction `json:"notificationDomainUnverified,omitempty"` NotificationMonitoringAlert []components.ACLAction `json:"NotificationMonitoringAlert,omitempty"` NotificationPaymentFailed []components.ACLAction `json:"notificationPaymentFailed,omitempty"` - NotificationUsageAlert []components.ACLAction `json:"notificationUsageAlert,omitempty"` NotificationPreferences []components.ACLAction `json:"notificationPreferences,omitempty"` - NotificationCustomerBudget []components.ACLAction `json:"notificationCustomerBudget,omitempty"` NotificationStatementOfReasons []components.ACLAction `json:"notificationStatementOfReasons,omitempty"` + NotificationUsageAlert []components.ACLAction `json:"notificationUsageAlert,omitempty"` ObservabilityConfiguration []components.ACLAction `json:"observabilityConfiguration,omitempty"` - Alerts []components.ACLAction `json:"alerts,omitempty"` - ObservabilityNotebook []components.ACLAction `json:"observabilityNotebook,omitempty"` ObservabilityFunnel []components.ACLAction `json:"observabilityFunnel,omitempty"` + ObservabilityNotebook []components.ACLAction `json:"observabilityNotebook,omitempty"` OpenTelemetryEndpoint []components.ACLAction `json:"openTelemetryEndpoint,omitempty"` - VercelAppInstallation []components.ACLAction `json:"vercelAppInstallation,omitempty"` - VercelAppInstallationRequest []components.ACLAction `json:"vercelAppInstallationRequest,omitempty"` + OwnEvent []components.ACLAction `json:"ownEvent,omitempty"` + OrganizationDomain []components.ACLAction `json:"organizationDomain,omitempty"` + PasswordProtectionInvoiceItem []components.ACLAction `json:"passwordProtectionInvoiceItem,omitempty"` PaymentMethod []components.ACLAction `json:"paymentMethod,omitempty"` Permissions []components.ACLAction `json:"permissions,omitempty"` Postgres []components.ACLAction `json:"postgres,omitempty"` + PostgresStoreTokenSet []components.ACLAction `json:"postgresStoreTokenSet,omitempty"` PreviewDeploymentSuffix []components.ACLAction `json:"previewDeploymentSuffix,omitempty"` + ProjectTransferIn []components.ACLAction `json:"projectTransferIn,omitempty"` ProTrialOnboarding []components.ACLAction `json:"proTrialOnboarding,omitempty"` - SharedEnvVars []components.ACLAction `json:"sharedEnvVars,omitempty"` - SharedEnvVarsProduction []components.ACLAction `json:"sharedEnvVarsProduction,omitempty"` - Space []components.ACLAction `json:"space,omitempty"` - SpaceRun []components.ACLAction `json:"spaceRun,omitempty"` - PasswordProtectionInvoiceItem []components.ACLAction `json:"passwordProtectionInvoiceItem,omitempty"` RateLimit []components.ACLAction `json:"rateLimit,omitempty"` Redis []components.ACLAction `json:"redis,omitempty"` - Repository []components.ACLAction `json:"repository,omitempty"` + RedisStoreTokenSet []components.ACLAction `json:"redisStoreTokenSet,omitempty"` RemoteCaching []components.ACLAction `json:"remoteCaching,omitempty"` + Repository []components.ACLAction `json:"repository,omitempty"` SamlConfig []components.ACLAction `json:"samlConfig,omitempty"` Secret []components.ACLAction `json:"secret,omitempty"` - RedisStoreTokenSet []components.ACLAction `json:"redisStoreTokenSet,omitempty"` - BlobStoreTokenSet []components.ACLAction `json:"blobStoreTokenSet,omitempty"` - PostgresStoreTokenSet []components.ACLAction `json:"postgresStoreTokenSet,omitempty"` - IntegrationStoreTokenSet []components.ACLAction `json:"integrationStoreTokenSet,omitempty"` - IntegrationResourceReplCommand []components.ACLAction `json:"integrationResourceReplCommand,omitempty"` + SensitiveEnvironmentVariablePolicy []components.ACLAction `json:"sensitiveEnvironmentVariablePolicy,omitempty"` + SharedEnvVars []components.ACLAction `json:"sharedEnvVars,omitempty"` + SharedEnvVarsProduction []components.ACLAction `json:"sharedEnvVarsProduction,omitempty"` + Space []components.ACLAction `json:"space,omitempty"` + SpaceRun []components.ACLAction `json:"spaceRun,omitempty"` StoreTransfer []components.ACLAction `json:"storeTransfer,omitempty"` SupportCase []components.ACLAction `json:"supportCase,omitempty"` SupportCaseComment []components.ACLAction `json:"supportCaseComment,omitempty"` - DataCacheBillingSettings []components.ACLAction `json:"dataCacheBillingSettings,omitempty"` Team []components.ACLAction `json:"team,omitempty"` TeamAccessRequest []components.ACLAction `json:"teamAccessRequest,omitempty"` TeamFellowMembership []components.ACLAction `json:"teamFellowMembership,omitempty"` @@ -6233,26 +6429,15 @@ type CreateProjectPermissions struct { Token []components.ACLAction `json:"token,omitempty"` Usage []components.ACLAction `json:"usage,omitempty"` UsageCycle []components.ACLAction `json:"usageCycle,omitempty"` + VercelRun []components.ACLAction `json:"vercelRun,omitempty"` + VercelRunExec []components.ACLAction `json:"vercelRunExec,omitempty"` VpcPeeringConnection []components.ACLAction `json:"vpcPeeringConnection,omitempty"` WebAnalyticsPlan []components.ACLAction `json:"webAnalyticsPlan,omitempty"` - EdgeConfig []components.ACLAction `json:"edgeConfig,omitempty"` - EdgeConfigItem []components.ACLAction `json:"edgeConfigItem,omitempty"` - EdgeConfigSchema []components.ACLAction `json:"edgeConfigSchema,omitempty"` - EdgeConfigToken []components.ACLAction `json:"edgeConfigToken,omitempty"` Webhook []components.ACLAction `json:"webhook,omitempty"` WebhookEvent []components.ACLAction `json:"webhook-event,omitempty"` - EndpointVerification []components.ACLAction `json:"endpointVerification,omitempty"` - ProjectTransferIn []components.ACLAction `json:"projectTransferIn,omitempty"` - Oauth2Application []components.ACLAction `json:"oauth2Application,omitempty"` - VercelRun []components.ACLAction `json:"vercelRun,omitempty"` - VercelRunExec []components.ACLAction `json:"vercelRunExec,omitempty"` - APIKey []components.ACLAction `json:"apiKey,omitempty"` - APIKeyOwnedBySelf []components.ACLAction `json:"apiKeyOwnedBySelf,omitempty"` - APIKeyAiGateway []components.ACLAction `json:"apiKeyAiGateway,omitempty"` AliasProject []components.ACLAction `json:"aliasProject,omitempty"` AliasProtectionBypass []components.ACLAction `json:"aliasProtectionBypass,omitempty"` BuildMachine []components.ACLAction `json:"buildMachine,omitempty"` - ProductionAliasProtectionBypass []components.ACLAction `json:"productionAliasProtectionBypass,omitempty"` ConnectConfigurationLink []components.ACLAction `json:"connectConfigurationLink,omitempty"` DataCacheNamespace []components.ACLAction `json:"dataCacheNamespace,omitempty"` Deployment []components.ACLAction `json:"deployment,omitempty"` @@ -6268,54 +6453,55 @@ type CreateProjectPermissions struct { DeploymentRollback []components.ACLAction `json:"deploymentRollback,omitempty"` EdgeCacheNamespace []components.ACLAction `json:"edgeCacheNamespace,omitempty"` Environments []components.ACLAction `json:"environments,omitempty"` + Job []components.ACLAction `json:"job,omitempty"` Logs []components.ACLAction `json:"logs,omitempty"` LogsPreset []components.ACLAction `json:"logsPreset,omitempty"` - PasswordProtection []components.ACLAction `json:"passwordProtection,omitempty"` - OptionsAllowlist []components.ACLAction `json:"optionsAllowlist,omitempty"` - Job []components.ACLAction `json:"job,omitempty"` ObservabilityData []components.ACLAction `json:"observabilityData,omitempty"` OnDemandBuild []components.ACLAction `json:"onDemandBuild,omitempty"` OnDemandConcurrency []components.ACLAction `json:"onDemandConcurrency,omitempty"` + OptionsAllowlist []components.ACLAction `json:"optionsAllowlist,omitempty"` + PasswordProtection []components.ACLAction `json:"passwordProtection,omitempty"` + ProductionAliasProtectionBypass []components.ACLAction `json:"productionAliasProtectionBypass,omitempty"` Project []components.ACLAction `json:"project,omitempty"` - ProjectFromV0 []components.ACLAction `json:"projectFromV0,omitempty"` ProjectAccessGroup []components.ACLAction `json:"projectAccessGroup,omitempty"` ProjectAnalyticsSampling []components.ACLAction `json:"projectAnalyticsSampling,omitempty"` + ProjectAnalyticsUsage []components.ACLAction `json:"projectAnalyticsUsage,omitempty"` ProjectCheck []components.ACLAction `json:"projectCheck,omitempty"` ProjectCheckRun []components.ACLAction `json:"projectCheckRun,omitempty"` + ProjectDeploymentExpiration []components.ACLAction `json:"projectDeploymentExpiration,omitempty"` ProjectDeploymentHook []components.ACLAction `json:"projectDeploymentHook,omitempty"` ProjectDomain []components.ACLAction `json:"projectDomain,omitempty"` - ProjectDomainMove []components.ACLAction `json:"projectDomainMove,omitempty"` ProjectDomainCheckConfig []components.ACLAction `json:"projectDomainCheckConfig,omitempty"` + ProjectDomainMove []components.ACLAction `json:"projectDomainMove,omitempty"` ProjectEnvVars []components.ACLAction `json:"projectEnvVars,omitempty"` ProjectEnvVarsProduction []components.ACLAction `json:"projectEnvVarsProduction,omitempty"` ProjectEnvVarsUnownedByIntegration []components.ACLAction `json:"projectEnvVarsUnownedByIntegration,omitempty"` ProjectFlags []components.ACLAction `json:"projectFlags,omitempty"` + ProjectFlagsProduction []components.ACLAction `json:"projectFlagsProduction,omitempty"` + ProjectFromV0 []components.ACLAction `json:"projectFromV0,omitempty"` ProjectID []components.ACLAction `json:"projectId,omitempty"` ProjectIntegrationConfiguration []components.ACLAction `json:"projectIntegrationConfiguration,omitempty"` ProjectLink []components.ACLAction `json:"projectLink,omitempty"` ProjectMember []components.ACLAction `json:"projectMember,omitempty"` ProjectMonitoring []components.ACLAction `json:"projectMonitoring,omitempty"` + ProjectOIDCToken []components.ACLAction `json:"projectOIDCToken,omitempty"` ProjectPermissions []components.ACLAction `json:"projectPermissions,omitempty"` ProjectProductionBranch []components.ACLAction `json:"projectProductionBranch,omitempty"` - ProjectTransfer []components.ACLAction `json:"projectTransfer,omitempty"` - ProjectTransferOut []components.ACLAction `json:"projectTransferOut,omitempty"` ProjectProtectionBypass []components.ACLAction `json:"projectProtectionBypass,omitempty"` - ProjectUsage []components.ACLAction `json:"projectUsage,omitempty"` - ProjectAnalyticsUsage []components.ACLAction `json:"projectAnalyticsUsage,omitempty"` + ProjectRollingRelease []components.ACLAction `json:"projectRollingRelease,omitempty"` ProjectSupportCase []components.ACLAction `json:"projectSupportCase,omitempty"` ProjectSupportCaseComment []components.ACLAction `json:"projectSupportCaseComment,omitempty"` - ProjectDeploymentExpiration []components.ACLAction `json:"projectDeploymentExpiration,omitempty"` - ProjectRollingRelease []components.ACLAction `json:"projectRollingRelease,omitempty"` ProjectTier []components.ACLAction `json:"projectTier,omitempty"` - ProjectOIDCToken []components.ACLAction `json:"projectOIDCToken,omitempty"` - SeawallConfig []components.ACLAction `json:"seawallConfig,omitempty"` + ProjectTransfer []components.ACLAction `json:"projectTransfer,omitempty"` + ProjectTransferOut []components.ACLAction `json:"projectTransferOut,omitempty"` + ProjectUsage []components.ACLAction `json:"projectUsage,omitempty"` + SeawallConfig []components.ACLAction `json:"seawallConfig,omitempty"` + SharedEnvVarConnection []components.ACLAction `json:"sharedEnvVarConnection,omitempty"` SkewProtection []components.ACLAction `json:"skewProtection,omitempty"` Analytics []components.ACLAction `json:"analytics,omitempty"` TrustedIps []components.ACLAction `json:"trustedIps,omitempty"` V0Chat []components.ACLAction `json:"v0Chat,omitempty"` WebAnalytics []components.ACLAction `json:"webAnalytics,omitempty"` - SharedEnvVarConnection []components.ACLAction `json:"sharedEnvVarConnection,omitempty"` - Sonar []components.ACLAction `json:"sonar,omitempty"` } func (o *CreateProjectPermissions) GetOauth2Connection() []components.ACLAction { @@ -6360,6 +6546,20 @@ func (o *CreateProjectPermissions) GetAccessGroup() []components.ACLAction { return o.AccessGroup } +func (o *CreateProjectPermissions) GetAgent() []components.ACLAction { + if o == nil { + return nil + } + return o.Agent +} + +func (o *CreateProjectPermissions) GetAlerts() []components.ACLAction { + if o == nil { + return nil + } + return o.Alerts +} + func (o *CreateProjectPermissions) GetAliasGlobal() []components.ACLAction { if o == nil { return nil @@ -6381,6 +6581,48 @@ func (o *CreateProjectPermissions) GetAnalyticsUsage() []components.ACLAction { return o.AnalyticsUsage } +func (o *CreateProjectPermissions) GetAPIKey() []components.ACLAction { + if o == nil { + return nil + } + return o.APIKey +} + +func (o *CreateProjectPermissions) GetAPIKeyAiGateway() []components.ACLAction { + if o == nil { + return nil + } + return o.APIKeyAiGateway +} + +func (o *CreateProjectPermissions) GetAPIKeyOwnedBySelf() []components.ACLAction { + if o == nil { + return nil + } + return o.APIKeyOwnedBySelf +} + +func (o *CreateProjectPermissions) GetOauth2Application() []components.ACLAction { + if o == nil { + return nil + } + return o.Oauth2Application +} + +func (o *CreateProjectPermissions) GetVercelAppInstallation() []components.ACLAction { + if o == nil { + return nil + } + return o.VercelAppInstallation +} + +func (o *CreateProjectPermissions) GetVercelAppInstallationRequest() []components.ACLAction { + if o == nil { + return nil + } + return o.VercelAppInstallationRequest +} + func (o *CreateProjectPermissions) GetAuditLog() []components.ACLAction { if o == nil { return nil @@ -6458,6 +6700,13 @@ func (o *CreateProjectPermissions) GetBlob() []components.ACLAction { return o.Blob } +func (o *CreateProjectPermissions) GetBlobStoreTokenSet() []components.ACLAction { + if o == nil { + return nil + } + return o.BlobStoreTokenSet +} + func (o *CreateProjectPermissions) GetBudget() []components.ACLAction { if o == nil { return nil @@ -6507,6 +6756,13 @@ func (o *CreateProjectPermissions) GetConnectConfiguration() []components.ACLAct return o.ConnectConfiguration } +func (o *CreateProjectPermissions) GetDataCacheBillingSettings() []components.ACLAction { + if o == nil { + return nil + } + return o.DataCacheBillingSettings +} + func (o *CreateProjectPermissions) GetDefaultDeploymentProtection() []components.ACLAction { if o == nil { return nil @@ -6577,25 +6833,53 @@ func (o *CreateProjectPermissions) GetDomainTransferIn() []components.ACLAction return o.DomainTransferIn } -func (o *CreateProjectPermissions) GetEvent() []components.ACLAction { +func (o *CreateProjectPermissions) GetDrain() []components.ACLAction { if o == nil { return nil } - return o.Event + return o.Drain } -func (o *CreateProjectPermissions) GetOwnEvent() []components.ACLAction { +func (o *CreateProjectPermissions) GetEdgeConfig() []components.ACLAction { if o == nil { return nil } - return o.OwnEvent + return o.EdgeConfig } -func (o *CreateProjectPermissions) GetSensitiveEnvironmentVariablePolicy() []components.ACLAction { +func (o *CreateProjectPermissions) GetEdgeConfigItem() []components.ACLAction { if o == nil { return nil } - return o.SensitiveEnvironmentVariablePolicy + return o.EdgeConfigItem +} + +func (o *CreateProjectPermissions) GetEdgeConfigSchema() []components.ACLAction { + if o == nil { + return nil + } + return o.EdgeConfigSchema +} + +func (o *CreateProjectPermissions) GetEdgeConfigToken() []components.ACLAction { + if o == nil { + return nil + } + return o.EdgeConfigToken +} + +func (o *CreateProjectPermissions) GetEndpointVerification() []components.ACLAction { + if o == nil { + return nil + } + return o.EndpointVerification +} + +func (o *CreateProjectPermissions) GetEvent() []components.ACLAction { + if o == nil { + return nil + } + return o.Event } func (o *CreateProjectPermissions) GetFileUpload() []components.ACLAction { @@ -6619,13 +6903,6 @@ func (o *CreateProjectPermissions) GetGitRepository() []components.ACLAction { return o.GitRepository } -func (o *CreateProjectPermissions) GetIPBlocking() []components.ACLAction { - if o == nil { - return nil - } - return o.IPBlocking -} - func (o *CreateProjectPermissions) GetImageOptimizationNewPrice() []components.ACLAction { if o == nil { return nil @@ -6654,39 +6931,46 @@ func (o *CreateProjectPermissions) GetIntegrationConfiguration() []components.AC return o.IntegrationConfiguration } -func (o *CreateProjectPermissions) GetIntegrationConfigurationTransfer() []components.ACLAction { +func (o *CreateProjectPermissions) GetIntegrationConfigurationProjects() []components.ACLAction { if o == nil { return nil } - return o.IntegrationConfigurationTransfer + return o.IntegrationConfigurationProjects } -func (o *CreateProjectPermissions) GetIntegrationConfigurationProjects() []components.ACLAction { +func (o *CreateProjectPermissions) GetIntegrationConfigurationRole() []components.ACLAction { if o == nil { return nil } - return o.IntegrationConfigurationProjects + return o.IntegrationConfigurationRole } -func (o *CreateProjectPermissions) GetIntegrationVercelConfigurationOverride() []components.ACLAction { +func (o *CreateProjectPermissions) GetIntegrationConfigurationTransfer() []components.ACLAction { if o == nil { return nil } - return o.IntegrationVercelConfigurationOverride + return o.IntegrationConfigurationTransfer } -func (o *CreateProjectPermissions) GetIntegrationConfigurationRole() []components.ACLAction { +func (o *CreateProjectPermissions) GetIntegrationDeploymentAction() []components.ACLAction { if o == nil { return nil } - return o.IntegrationConfigurationRole + return o.IntegrationDeploymentAction } -func (o *CreateProjectPermissions) GetIntegrationSSOSession() []components.ACLAction { +func (o *CreateProjectPermissions) GetIntegrationEvent() []components.ACLAction { if o == nil { return nil } - return o.IntegrationSSOSession + return o.IntegrationEvent +} + +func (o *CreateProjectPermissions) GetIntegrationLog() []components.ACLAction { + if o == nil { + return nil + } + return o.IntegrationLog } func (o *CreateProjectPermissions) GetIntegrationResource() []components.ACLAction { @@ -6696,11 +6980,11 @@ func (o *CreateProjectPermissions) GetIntegrationResource() []components.ACLActi return o.IntegrationResource } -func (o *CreateProjectPermissions) GetIntegrationEvent() []components.ACLAction { +func (o *CreateProjectPermissions) GetIntegrationResourceReplCommand() []components.ACLAction { if o == nil { return nil } - return o.IntegrationEvent + return o.IntegrationResourceReplCommand } func (o *CreateProjectPermissions) GetIntegrationResourceSecrets() []components.ACLAction { @@ -6710,46 +6994,60 @@ func (o *CreateProjectPermissions) GetIntegrationResourceSecrets() []components. return o.IntegrationResourceSecrets } -func (o *CreateProjectPermissions) GetIntegrationDeploymentAction() []components.ACLAction { +func (o *CreateProjectPermissions) GetIntegrationSSOSession() []components.ACLAction { if o == nil { return nil } - return o.IntegrationDeploymentAction + return o.IntegrationSSOSession } -func (o *CreateProjectPermissions) GetMarketplaceInstallationMember() []components.ACLAction { +func (o *CreateProjectPermissions) GetIntegrationStoreTokenSet() []components.ACLAction { if o == nil { return nil } - return o.MarketplaceInstallationMember + return o.IntegrationStoreTokenSet } -func (o *CreateProjectPermissions) GetMarketplaceBillingData() []components.ACLAction { +func (o *CreateProjectPermissions) GetIntegrationVercelConfigurationOverride() []components.ACLAction { if o == nil { return nil } - return o.MarketplaceBillingData + return o.IntegrationVercelConfigurationOverride } -func (o *CreateProjectPermissions) GetMarketplaceInvoice() []components.ACLAction { +func (o *CreateProjectPermissions) GetIntegrationPullRequest() []components.ACLAction { if o == nil { return nil } - return o.MarketplaceInvoice + return o.IntegrationPullRequest } -func (o *CreateProjectPermissions) GetMarketplaceSettings() []components.ACLAction { +func (o *CreateProjectPermissions) GetIPBlocking() []components.ACLAction { if o == nil { return nil } - return o.MarketplaceSettings + return o.IPBlocking } -func (o *CreateProjectPermissions) GetMarketplaceExperimentationItem() []components.ACLAction { +func (o *CreateProjectPermissions) GetJobGlobal() []components.ACLAction { if o == nil { return nil } - return o.MarketplaceExperimentationItem + return o.JobGlobal +} + +func (o *CreateProjectPermissions) GetLogDrain() []components.ACLAction { + if o == nil { + return nil + } + return o.LogDrain +} + +func (o *CreateProjectPermissions) GetMarketplaceBillingData() []components.ACLAction { + if o == nil { + return nil + } + return o.MarketplaceBillingData } func (o *CreateProjectPermissions) GetMarketplaceExperimentationEdgeConfigData() []components.ACLAction { @@ -6759,25 +7057,32 @@ func (o *CreateProjectPermissions) GetMarketplaceExperimentationEdgeConfigData() return o.MarketplaceExperimentationEdgeConfigData } -func (o *CreateProjectPermissions) GetJobGlobal() []components.ACLAction { +func (o *CreateProjectPermissions) GetMarketplaceExperimentationItem() []components.ACLAction { if o == nil { return nil } - return o.JobGlobal + return o.MarketplaceExperimentationItem } -func (o *CreateProjectPermissions) GetDrain() []components.ACLAction { +func (o *CreateProjectPermissions) GetMarketplaceInstallationMember() []components.ACLAction { if o == nil { return nil } - return o.Drain + return o.MarketplaceInstallationMember } -func (o *CreateProjectPermissions) GetLogDrain() []components.ACLAction { +func (o *CreateProjectPermissions) GetMarketplaceInvoice() []components.ACLAction { if o == nil { return nil } - return o.LogDrain + return o.MarketplaceInvoice +} + +func (o *CreateProjectPermissions) GetMarketplaceSettings() []components.ACLAction { + if o == nil { + return nil + } + return o.MarketplaceSettings } func (o *CreateProjectPermissions) GetMonitoring() []components.ACLAction { @@ -6787,11 +7092,18 @@ func (o *CreateProjectPermissions) GetMonitoring() []components.ACLAction { return o.Monitoring } -func (o *CreateProjectPermissions) GetMonitoringSettings() []components.ACLAction { +func (o *CreateProjectPermissions) GetMonitoringAlert() []components.ACLAction { if o == nil { return nil } - return o.MonitoringSettings + return o.MonitoringAlert +} + +func (o *CreateProjectPermissions) GetMonitoringChart() []components.ACLAction { + if o == nil { + return nil + } + return o.MonitoringChart } func (o *CreateProjectPermissions) GetMonitoringQuery() []components.ACLAction { @@ -6801,18 +7113,18 @@ func (o *CreateProjectPermissions) GetMonitoringQuery() []components.ACLAction { return o.MonitoringQuery } -func (o *CreateProjectPermissions) GetMonitoringChart() []components.ACLAction { +func (o *CreateProjectPermissions) GetMonitoringSettings() []components.ACLAction { if o == nil { return nil } - return o.MonitoringChart + return o.MonitoringSettings } -func (o *CreateProjectPermissions) GetMonitoringAlert() []components.ACLAction { +func (o *CreateProjectPermissions) GetNotificationCustomerBudget() []components.ACLAction { if o == nil { return nil } - return o.MonitoringAlert + return o.NotificationCustomerBudget } func (o *CreateProjectPermissions) GetNotificationDeploymentFailed() []components.ACLAction { @@ -6885,13 +7197,6 @@ func (o *CreateProjectPermissions) GetNotificationPaymentFailed() []components.A return o.NotificationPaymentFailed } -func (o *CreateProjectPermissions) GetNotificationUsageAlert() []components.ACLAction { - if o == nil { - return nil - } - return o.NotificationUsageAlert -} - func (o *CreateProjectPermissions) GetNotificationPreferences() []components.ACLAction { if o == nil { return nil @@ -6899,18 +7204,18 @@ func (o *CreateProjectPermissions) GetNotificationPreferences() []components.ACL return o.NotificationPreferences } -func (o *CreateProjectPermissions) GetNotificationCustomerBudget() []components.ACLAction { +func (o *CreateProjectPermissions) GetNotificationStatementOfReasons() []components.ACLAction { if o == nil { return nil } - return o.NotificationCustomerBudget + return o.NotificationStatementOfReasons } -func (o *CreateProjectPermissions) GetNotificationStatementOfReasons() []components.ACLAction { +func (o *CreateProjectPermissions) GetNotificationUsageAlert() []components.ACLAction { if o == nil { return nil } - return o.NotificationStatementOfReasons + return o.NotificationUsageAlert } func (o *CreateProjectPermissions) GetObservabilityConfiguration() []components.ACLAction { @@ -6920,11 +7225,11 @@ func (o *CreateProjectPermissions) GetObservabilityConfiguration() []components. return o.ObservabilityConfiguration } -func (o *CreateProjectPermissions) GetAlerts() []components.ACLAction { +func (o *CreateProjectPermissions) GetObservabilityFunnel() []components.ACLAction { if o == nil { return nil } - return o.Alerts + return o.ObservabilityFunnel } func (o *CreateProjectPermissions) GetObservabilityNotebook() []components.ACLAction { @@ -6934,32 +7239,32 @@ func (o *CreateProjectPermissions) GetObservabilityNotebook() []components.ACLAc return o.ObservabilityNotebook } -func (o *CreateProjectPermissions) GetObservabilityFunnel() []components.ACLAction { +func (o *CreateProjectPermissions) GetOpenTelemetryEndpoint() []components.ACLAction { if o == nil { return nil } - return o.ObservabilityFunnel + return o.OpenTelemetryEndpoint } -func (o *CreateProjectPermissions) GetOpenTelemetryEndpoint() []components.ACLAction { +func (o *CreateProjectPermissions) GetOwnEvent() []components.ACLAction { if o == nil { return nil } - return o.OpenTelemetryEndpoint + return o.OwnEvent } -func (o *CreateProjectPermissions) GetVercelAppInstallation() []components.ACLAction { +func (o *CreateProjectPermissions) GetOrganizationDomain() []components.ACLAction { if o == nil { return nil } - return o.VercelAppInstallation + return o.OrganizationDomain } -func (o *CreateProjectPermissions) GetVercelAppInstallationRequest() []components.ACLAction { +func (o *CreateProjectPermissions) GetPasswordProtectionInvoiceItem() []components.ACLAction { if o == nil { return nil } - return o.VercelAppInstallationRequest + return o.PasswordProtectionInvoiceItem } func (o *CreateProjectPermissions) GetPaymentMethod() []components.ACLAction { @@ -6983,67 +7288,60 @@ func (o *CreateProjectPermissions) GetPostgres() []components.ACLAction { return o.Postgres } -func (o *CreateProjectPermissions) GetPreviewDeploymentSuffix() []components.ACLAction { - if o == nil { - return nil - } - return o.PreviewDeploymentSuffix -} - -func (o *CreateProjectPermissions) GetProTrialOnboarding() []components.ACLAction { +func (o *CreateProjectPermissions) GetPostgresStoreTokenSet() []components.ACLAction { if o == nil { return nil } - return o.ProTrialOnboarding + return o.PostgresStoreTokenSet } -func (o *CreateProjectPermissions) GetSharedEnvVars() []components.ACLAction { +func (o *CreateProjectPermissions) GetPreviewDeploymentSuffix() []components.ACLAction { if o == nil { return nil } - return o.SharedEnvVars + return o.PreviewDeploymentSuffix } -func (o *CreateProjectPermissions) GetSharedEnvVarsProduction() []components.ACLAction { +func (o *CreateProjectPermissions) GetProjectTransferIn() []components.ACLAction { if o == nil { return nil } - return o.SharedEnvVarsProduction + return o.ProjectTransferIn } -func (o *CreateProjectPermissions) GetSpace() []components.ACLAction { +func (o *CreateProjectPermissions) GetProTrialOnboarding() []components.ACLAction { if o == nil { return nil } - return o.Space + return o.ProTrialOnboarding } -func (o *CreateProjectPermissions) GetSpaceRun() []components.ACLAction { +func (o *CreateProjectPermissions) GetRateLimit() []components.ACLAction { if o == nil { return nil } - return o.SpaceRun + return o.RateLimit } -func (o *CreateProjectPermissions) GetPasswordProtectionInvoiceItem() []components.ACLAction { +func (o *CreateProjectPermissions) GetRedis() []components.ACLAction { if o == nil { return nil } - return o.PasswordProtectionInvoiceItem + return o.Redis } -func (o *CreateProjectPermissions) GetRateLimit() []components.ACLAction { +func (o *CreateProjectPermissions) GetRedisStoreTokenSet() []components.ACLAction { if o == nil { return nil } - return o.RateLimit + return o.RedisStoreTokenSet } -func (o *CreateProjectPermissions) GetRedis() []components.ACLAction { +func (o *CreateProjectPermissions) GetRemoteCaching() []components.ACLAction { if o == nil { return nil } - return o.Redis + return o.RemoteCaching } func (o *CreateProjectPermissions) GetRepository() []components.ACLAction { @@ -7053,13 +7351,6 @@ func (o *CreateProjectPermissions) GetRepository() []components.ACLAction { return o.Repository } -func (o *CreateProjectPermissions) GetRemoteCaching() []components.ACLAction { - if o == nil { - return nil - } - return o.RemoteCaching -} - func (o *CreateProjectPermissions) GetSamlConfig() []components.ACLAction { if o == nil { return nil @@ -7074,39 +7365,39 @@ func (o *CreateProjectPermissions) GetSecret() []components.ACLAction { return o.Secret } -func (o *CreateProjectPermissions) GetRedisStoreTokenSet() []components.ACLAction { +func (o *CreateProjectPermissions) GetSensitiveEnvironmentVariablePolicy() []components.ACLAction { if o == nil { return nil } - return o.RedisStoreTokenSet + return o.SensitiveEnvironmentVariablePolicy } -func (o *CreateProjectPermissions) GetBlobStoreTokenSet() []components.ACLAction { +func (o *CreateProjectPermissions) GetSharedEnvVars() []components.ACLAction { if o == nil { return nil } - return o.BlobStoreTokenSet + return o.SharedEnvVars } -func (o *CreateProjectPermissions) GetPostgresStoreTokenSet() []components.ACLAction { +func (o *CreateProjectPermissions) GetSharedEnvVarsProduction() []components.ACLAction { if o == nil { return nil } - return o.PostgresStoreTokenSet + return o.SharedEnvVarsProduction } -func (o *CreateProjectPermissions) GetIntegrationStoreTokenSet() []components.ACLAction { +func (o *CreateProjectPermissions) GetSpace() []components.ACLAction { if o == nil { return nil } - return o.IntegrationStoreTokenSet + return o.Space } -func (o *CreateProjectPermissions) GetIntegrationResourceReplCommand() []components.ACLAction { +func (o *CreateProjectPermissions) GetSpaceRun() []components.ACLAction { if o == nil { return nil } - return o.IntegrationResourceReplCommand + return o.SpaceRun } func (o *CreateProjectPermissions) GetStoreTransfer() []components.ACLAction { @@ -7130,13 +7421,6 @@ func (o *CreateProjectPermissions) GetSupportCaseComment() []components.ACLActio return o.SupportCaseComment } -func (o *CreateProjectPermissions) GetDataCacheBillingSettings() []components.ACLAction { - if o == nil { - return nil - } - return o.DataCacheBillingSettings -} - func (o *CreateProjectPermissions) GetTeam() []components.ACLAction { if o == nil { return nil @@ -7235,46 +7519,32 @@ func (o *CreateProjectPermissions) GetUsageCycle() []components.ACLAction { return o.UsageCycle } -func (o *CreateProjectPermissions) GetVpcPeeringConnection() []components.ACLAction { - if o == nil { - return nil - } - return o.VpcPeeringConnection -} - -func (o *CreateProjectPermissions) GetWebAnalyticsPlan() []components.ACLAction { - if o == nil { - return nil - } - return o.WebAnalyticsPlan -} - -func (o *CreateProjectPermissions) GetEdgeConfig() []components.ACLAction { +func (o *CreateProjectPermissions) GetVercelRun() []components.ACLAction { if o == nil { return nil } - return o.EdgeConfig + return o.VercelRun } -func (o *CreateProjectPermissions) GetEdgeConfigItem() []components.ACLAction { +func (o *CreateProjectPermissions) GetVercelRunExec() []components.ACLAction { if o == nil { return nil } - return o.EdgeConfigItem + return o.VercelRunExec } -func (o *CreateProjectPermissions) GetEdgeConfigSchema() []components.ACLAction { +func (o *CreateProjectPermissions) GetVpcPeeringConnection() []components.ACLAction { if o == nil { return nil } - return o.EdgeConfigSchema + return o.VpcPeeringConnection } -func (o *CreateProjectPermissions) GetEdgeConfigToken() []components.ACLAction { +func (o *CreateProjectPermissions) GetWebAnalyticsPlan() []components.ACLAction { if o == nil { return nil } - return o.EdgeConfigToken + return o.WebAnalyticsPlan } func (o *CreateProjectPermissions) GetWebhook() []components.ACLAction { @@ -7291,62 +7561,6 @@ func (o *CreateProjectPermissions) GetWebhookEvent() []components.ACLAction { return o.WebhookEvent } -func (o *CreateProjectPermissions) GetEndpointVerification() []components.ACLAction { - if o == nil { - return nil - } - return o.EndpointVerification -} - -func (o *CreateProjectPermissions) GetProjectTransferIn() []components.ACLAction { - if o == nil { - return nil - } - return o.ProjectTransferIn -} - -func (o *CreateProjectPermissions) GetOauth2Application() []components.ACLAction { - if o == nil { - return nil - } - return o.Oauth2Application -} - -func (o *CreateProjectPermissions) GetVercelRun() []components.ACLAction { - if o == nil { - return nil - } - return o.VercelRun -} - -func (o *CreateProjectPermissions) GetVercelRunExec() []components.ACLAction { - if o == nil { - return nil - } - return o.VercelRunExec -} - -func (o *CreateProjectPermissions) GetAPIKey() []components.ACLAction { - if o == nil { - return nil - } - return o.APIKey -} - -func (o *CreateProjectPermissions) GetAPIKeyOwnedBySelf() []components.ACLAction { - if o == nil { - return nil - } - return o.APIKeyOwnedBySelf -} - -func (o *CreateProjectPermissions) GetAPIKeyAiGateway() []components.ACLAction { - if o == nil { - return nil - } - return o.APIKeyAiGateway -} - func (o *CreateProjectPermissions) GetAliasProject() []components.ACLAction { if o == nil { return nil @@ -7368,13 +7582,6 @@ func (o *CreateProjectPermissions) GetBuildMachine() []components.ACLAction { return o.BuildMachine } -func (o *CreateProjectPermissions) GetProductionAliasProtectionBypass() []components.ACLAction { - if o == nil { - return nil - } - return o.ProductionAliasProtectionBypass -} - func (o *CreateProjectPermissions) GetConnectConfigurationLink() []components.ACLAction { if o == nil { return nil @@ -7480,6 +7687,13 @@ func (o *CreateProjectPermissions) GetEnvironments() []components.ACLAction { return o.Environments } +func (o *CreateProjectPermissions) GetJob() []components.ACLAction { + if o == nil { + return nil + } + return o.Job +} + func (o *CreateProjectPermissions) GetLogs() []components.ACLAction { if o == nil { return nil @@ -7494,46 +7708,46 @@ func (o *CreateProjectPermissions) GetLogsPreset() []components.ACLAction { return o.LogsPreset } -func (o *CreateProjectPermissions) GetPasswordProtection() []components.ACLAction { +func (o *CreateProjectPermissions) GetObservabilityData() []components.ACLAction { if o == nil { return nil } - return o.PasswordProtection + return o.ObservabilityData } -func (o *CreateProjectPermissions) GetOptionsAllowlist() []components.ACLAction { +func (o *CreateProjectPermissions) GetOnDemandBuild() []components.ACLAction { if o == nil { return nil } - return o.OptionsAllowlist + return o.OnDemandBuild } -func (o *CreateProjectPermissions) GetJob() []components.ACLAction { +func (o *CreateProjectPermissions) GetOnDemandConcurrency() []components.ACLAction { if o == nil { return nil } - return o.Job + return o.OnDemandConcurrency } -func (o *CreateProjectPermissions) GetObservabilityData() []components.ACLAction { +func (o *CreateProjectPermissions) GetOptionsAllowlist() []components.ACLAction { if o == nil { return nil } - return o.ObservabilityData + return o.OptionsAllowlist } -func (o *CreateProjectPermissions) GetOnDemandBuild() []components.ACLAction { +func (o *CreateProjectPermissions) GetPasswordProtection() []components.ACLAction { if o == nil { return nil } - return o.OnDemandBuild + return o.PasswordProtection } -func (o *CreateProjectPermissions) GetOnDemandConcurrency() []components.ACLAction { +func (o *CreateProjectPermissions) GetProductionAliasProtectionBypass() []components.ACLAction { if o == nil { return nil } - return o.OnDemandConcurrency + return o.ProductionAliasProtectionBypass } func (o *CreateProjectPermissions) GetProject() []components.ACLAction { @@ -7543,25 +7757,25 @@ func (o *CreateProjectPermissions) GetProject() []components.ACLAction { return o.Project } -func (o *CreateProjectPermissions) GetProjectFromV0() []components.ACLAction { +func (o *CreateProjectPermissions) GetProjectAccessGroup() []components.ACLAction { if o == nil { return nil } - return o.ProjectFromV0 + return o.ProjectAccessGroup } -func (o *CreateProjectPermissions) GetProjectAccessGroup() []components.ACLAction { +func (o *CreateProjectPermissions) GetProjectAnalyticsSampling() []components.ACLAction { if o == nil { return nil } - return o.ProjectAccessGroup + return o.ProjectAnalyticsSampling } -func (o *CreateProjectPermissions) GetProjectAnalyticsSampling() []components.ACLAction { +func (o *CreateProjectPermissions) GetProjectAnalyticsUsage() []components.ACLAction { if o == nil { return nil } - return o.ProjectAnalyticsSampling + return o.ProjectAnalyticsUsage } func (o *CreateProjectPermissions) GetProjectCheck() []components.ACLAction { @@ -7578,6 +7792,13 @@ func (o *CreateProjectPermissions) GetProjectCheckRun() []components.ACLAction { return o.ProjectCheckRun } +func (o *CreateProjectPermissions) GetProjectDeploymentExpiration() []components.ACLAction { + if o == nil { + return nil + } + return o.ProjectDeploymentExpiration +} + func (o *CreateProjectPermissions) GetProjectDeploymentHook() []components.ACLAction { if o == nil { return nil @@ -7592,18 +7813,18 @@ func (o *CreateProjectPermissions) GetProjectDomain() []components.ACLAction { return o.ProjectDomain } -func (o *CreateProjectPermissions) GetProjectDomainMove() []components.ACLAction { +func (o *CreateProjectPermissions) GetProjectDomainCheckConfig() []components.ACLAction { if o == nil { return nil } - return o.ProjectDomainMove + return o.ProjectDomainCheckConfig } -func (o *CreateProjectPermissions) GetProjectDomainCheckConfig() []components.ACLAction { +func (o *CreateProjectPermissions) GetProjectDomainMove() []components.ACLAction { if o == nil { return nil } - return o.ProjectDomainCheckConfig + return o.ProjectDomainMove } func (o *CreateProjectPermissions) GetProjectEnvVars() []components.ACLAction { @@ -7634,6 +7855,20 @@ func (o *CreateProjectPermissions) GetProjectFlags() []components.ACLAction { return o.ProjectFlags } +func (o *CreateProjectPermissions) GetProjectFlagsProduction() []components.ACLAction { + if o == nil { + return nil + } + return o.ProjectFlagsProduction +} + +func (o *CreateProjectPermissions) GetProjectFromV0() []components.ACLAction { + if o == nil { + return nil + } + return o.ProjectFromV0 +} + func (o *CreateProjectPermissions) GetProjectID() []components.ACLAction { if o == nil { return nil @@ -7669,6 +7904,13 @@ func (o *CreateProjectPermissions) GetProjectMonitoring() []components.ACLAction return o.ProjectMonitoring } +func (o *CreateProjectPermissions) GetProjectOIDCToken() []components.ACLAction { + if o == nil { + return nil + } + return o.ProjectOIDCToken +} + func (o *CreateProjectPermissions) GetProjectPermissions() []components.ACLAction { if o == nil { return nil @@ -7683,88 +7925,74 @@ func (o *CreateProjectPermissions) GetProjectProductionBranch() []components.ACL return o.ProjectProductionBranch } -func (o *CreateProjectPermissions) GetProjectTransfer() []components.ACLAction { +func (o *CreateProjectPermissions) GetProjectProtectionBypass() []components.ACLAction { if o == nil { return nil } - return o.ProjectTransfer + return o.ProjectProtectionBypass } -func (o *CreateProjectPermissions) GetProjectTransferOut() []components.ACLAction { +func (o *CreateProjectPermissions) GetProjectRollingRelease() []components.ACLAction { if o == nil { return nil } - return o.ProjectTransferOut + return o.ProjectRollingRelease } -func (o *CreateProjectPermissions) GetProjectProtectionBypass() []components.ACLAction { +func (o *CreateProjectPermissions) GetProjectSupportCase() []components.ACLAction { if o == nil { return nil } - return o.ProjectProtectionBypass + return o.ProjectSupportCase } -func (o *CreateProjectPermissions) GetProjectUsage() []components.ACLAction { - if o == nil { - return nil - } - return o.ProjectUsage -} - -func (o *CreateProjectPermissions) GetProjectAnalyticsUsage() []components.ACLAction { - if o == nil { - return nil - } - return o.ProjectAnalyticsUsage -} - -func (o *CreateProjectPermissions) GetProjectSupportCase() []components.ACLAction { +func (o *CreateProjectPermissions) GetProjectSupportCaseComment() []components.ACLAction { if o == nil { return nil } - return o.ProjectSupportCase + return o.ProjectSupportCaseComment } -func (o *CreateProjectPermissions) GetProjectSupportCaseComment() []components.ACLAction { +func (o *CreateProjectPermissions) GetProjectTier() []components.ACLAction { if o == nil { return nil } - return o.ProjectSupportCaseComment + return o.ProjectTier } -func (o *CreateProjectPermissions) GetProjectDeploymentExpiration() []components.ACLAction { +func (o *CreateProjectPermissions) GetProjectTransfer() []components.ACLAction { if o == nil { return nil } - return o.ProjectDeploymentExpiration + return o.ProjectTransfer } -func (o *CreateProjectPermissions) GetProjectRollingRelease() []components.ACLAction { +func (o *CreateProjectPermissions) GetProjectTransferOut() []components.ACLAction { if o == nil { return nil } - return o.ProjectRollingRelease + return o.ProjectTransferOut } -func (o *CreateProjectPermissions) GetProjectTier() []components.ACLAction { +func (o *CreateProjectPermissions) GetProjectUsage() []components.ACLAction { if o == nil { return nil } - return o.ProjectTier + return o.ProjectUsage } -func (o *CreateProjectPermissions) GetProjectOIDCToken() []components.ACLAction { +func (o *CreateProjectPermissions) GetSeawallConfig() []components.ACLAction { if o == nil { return nil } - return o.ProjectOIDCToken + return o.SeawallConfig } -func (o *CreateProjectPermissions) GetSeawallConfig() []components.ACLAction { +func (o *CreateProjectPermissions) GetSharedEnvVarConnection() []components.ACLAction { if o == nil { return nil } - return o.SeawallConfig + return o.SharedEnvVarConnection } func (o *CreateProjectPermissions) GetSkewProtection() []components.ACLAction { @@ -7802,20 +8030,6 @@ func (o *CreateProjectPermissions) GetWebAnalytics() []components.ACLAction { return o.WebAnalytics } -func (o *CreateProjectPermissions) GetSharedEnvVarConnection() []components.ACLAction { - if o == nil { - return nil - } - return o.SharedEnvVarConnection -} - -func (o *CreateProjectPermissions) GetSonar() []components.ACLAction { - if o == nil { - return nil - } - return o.Sonar -} - type CreateProjectLastRollbackTarget struct { } @@ -8435,6 +8649,8 @@ type CreateProjectGitProviderOptions struct { CreateDeployments CreateProjectCreateDeployments `json:"createDeployments"` // Whether the Vercel bot should not automatically create GitHub repository-dispatch events on deployment events. https://vercel.com/docs/git/vercel-for-github#repository-dispatch-events DisableRepositoryDispatchEvents *bool `json:"disableRepositoryDispatchEvents,omitempty"` + // Whether the project requires commits to be signed before deployments will be created. + RequireVerifiedCommits *bool `json:"requireVerifiedCommits,omitempty"` } func (o *CreateProjectGitProviderOptions) GetCreateDeployments() CreateProjectCreateDeployments { @@ -8451,6 +8667,13 @@ func (o *CreateProjectGitProviderOptions) GetDisableRepositoryDispatchEvents() * return o.DisableRepositoryDispatchEvents } +func (o *CreateProjectGitProviderOptions) GetRequireVerifiedCommits() *bool { + if o == nil { + return nil + } + return o.RequireVerifiedCommits +} + type CreateProjectWebAnalytics struct { ID string `json:"id"` DisabledAt *float64 `json:"disabledAt,omitempty"` @@ -10326,6 +10549,7 @@ type CreateProjectAbuse struct { UpdatedAt float64 `json:"updatedAt"` Block *CreateProjectBlock `json:"block,omitempty"` BlockHistory []CreateProjectBlockHistoryUnion `json:"blockHistory,omitempty"` + Interstitial *bool `json:"interstitial,omitempty"` } func (o *CreateProjectAbuse) GetScanner() *string { @@ -10363,6 +10587,13 @@ func (o *CreateProjectAbuse) GetBlockHistory() []CreateProjectBlockHistoryUnion return o.BlockHistory } +func (o *CreateProjectAbuse) GetInterstitial() *bool { + if o == nil { + return nil + } + return o.Interstitial +} + type CreateProjectInternalRouteTypeHost string const ( @@ -10534,253 +10765,624 @@ func (o *CreateProjectInternalRouteHasXVercelIPCountry) GetKey() CreateProjectIn if o == nil { return CreateProjectInternalRouteKey("") } - return o.Key -} + return o.Key +} + +func (o *CreateProjectInternalRouteHasXVercelIPCountry) GetValue() CreateProjectInternalRouteValue1 { + if o == nil { + return CreateProjectInternalRouteValue1{} + } + return o.Value +} + +type CreateProjectInternalRouteHasUnionType string + +const ( + CreateProjectInternalRouteHasUnionTypeCreateProjectInternalRouteHasXVercelIPCountry CreateProjectInternalRouteHasUnionType = "createProject_internalRoute_has_XVercelIPCountry" + CreateProjectInternalRouteHasUnionTypeCreateProjectInternalRouteHasHost CreateProjectInternalRouteHasUnionType = "createProject_internalRoute_has_Host" +) + +type CreateProjectInternalRouteHasUnion struct { + CreateProjectInternalRouteHasXVercelIPCountry *CreateProjectInternalRouteHasXVercelIPCountry `queryParam:"inline"` + CreateProjectInternalRouteHasHost *CreateProjectInternalRouteHasHost `queryParam:"inline"` + + Type CreateProjectInternalRouteHasUnionType +} + +func CreateCreateProjectInternalRouteHasUnionCreateProjectInternalRouteHasXVercelIPCountry(createProjectInternalRouteHasXVercelIPCountry CreateProjectInternalRouteHasXVercelIPCountry) CreateProjectInternalRouteHasUnion { + typ := CreateProjectInternalRouteHasUnionTypeCreateProjectInternalRouteHasXVercelIPCountry + + return CreateProjectInternalRouteHasUnion{ + CreateProjectInternalRouteHasXVercelIPCountry: &createProjectInternalRouteHasXVercelIPCountry, + Type: typ, + } +} + +func CreateCreateProjectInternalRouteHasUnionCreateProjectInternalRouteHasHost(createProjectInternalRouteHasHost CreateProjectInternalRouteHasHost) CreateProjectInternalRouteHasUnion { + typ := CreateProjectInternalRouteHasUnionTypeCreateProjectInternalRouteHasHost + + return CreateProjectInternalRouteHasUnion{ + CreateProjectInternalRouteHasHost: &createProjectInternalRouteHasHost, + Type: typ, + } +} + +func (u *CreateProjectInternalRouteHasUnion) UnmarshalJSON(data []byte) error { + + var createProjectInternalRouteHasXVercelIPCountry CreateProjectInternalRouteHasXVercelIPCountry = CreateProjectInternalRouteHasXVercelIPCountry{} + if err := utils.UnmarshalJSON(data, &createProjectInternalRouteHasXVercelIPCountry, "", true, nil); err == nil { + u.CreateProjectInternalRouteHasXVercelIPCountry = &createProjectInternalRouteHasXVercelIPCountry + u.Type = CreateProjectInternalRouteHasUnionTypeCreateProjectInternalRouteHasXVercelIPCountry + return nil + } + + var createProjectInternalRouteHasHost CreateProjectInternalRouteHasHost = CreateProjectInternalRouteHasHost{} + if err := utils.UnmarshalJSON(data, &createProjectInternalRouteHasHost, "", true, nil); err == nil { + u.CreateProjectInternalRouteHasHost = &createProjectInternalRouteHasHost + u.Type = CreateProjectInternalRouteHasUnionTypeCreateProjectInternalRouteHasHost + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for CreateProjectInternalRouteHasUnion", string(data)) +} + +func (u CreateProjectInternalRouteHasUnion) MarshalJSON() ([]byte, error) { + if u.CreateProjectInternalRouteHasXVercelIPCountry != nil { + return utils.MarshalJSON(u.CreateProjectInternalRouteHasXVercelIPCountry, "", true) + } + + if u.CreateProjectInternalRouteHasHost != nil { + return utils.MarshalJSON(u.CreateProjectInternalRouteHasHost, "", true) + } + + return nil, errors.New("could not marshal union type CreateProjectInternalRouteHasUnion: all fields are null") +} + +type CreateProjectInternalRouteAction string + +const ( + CreateProjectInternalRouteActionBlockLegalCwc CreateProjectInternalRouteAction = "block_legal_cwc" +) + +func (e CreateProjectInternalRouteAction) ToPointer() *CreateProjectInternalRouteAction { + return &e +} +func (e *CreateProjectInternalRouteAction) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "block_legal_cwc": + *e = CreateProjectInternalRouteAction(v) + return nil + default: + return fmt.Errorf("invalid value for CreateProjectInternalRouteAction: %v", v) + } +} + +type CreateProjectInternalRouteMitigate struct { + Action CreateProjectInternalRouteAction `json:"action"` +} + +func (c CreateProjectInternalRouteMitigate) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(c, "", false) +} + +func (c *CreateProjectInternalRouteMitigate) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &c, "", false, []string{"action"}); err != nil { + return err + } + return nil +} + +func (o *CreateProjectInternalRouteMitigate) GetAction() CreateProjectInternalRouteAction { + if o == nil { + return CreateProjectInternalRouteAction("") + } + return o.Action +} + +type CreateProjectInternalRoute2 struct { + Has []CreateProjectInternalRouteHasUnion `json:"has"` + Mitigate CreateProjectInternalRouteMitigate `json:"mitigate"` + Src *string `json:"src,omitempty"` +} + +func (c CreateProjectInternalRoute2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(c, "", false) +} + +func (c *CreateProjectInternalRoute2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &c, "", false, []string{"has", "mitigate"}); err != nil { + return err + } + return nil +} + +func (o *CreateProjectInternalRoute2) GetHas() []CreateProjectInternalRouteHasUnion { + if o == nil { + return []CreateProjectInternalRouteHasUnion{} + } + return o.Has +} + +func (o *CreateProjectInternalRoute2) GetMitigate() CreateProjectInternalRouteMitigate { + if o == nil { + return CreateProjectInternalRouteMitigate{} + } + return o.Mitigate +} + +func (o *CreateProjectInternalRoute2) GetSrc() *string { + if o == nil { + return nil + } + return o.Src +} + +type CreateProjectInternalRoute1 struct { + Src string `json:"src"` + Status float64 `json:"status"` +} + +func (c CreateProjectInternalRoute1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(c, "", false) +} + +func (c *CreateProjectInternalRoute1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &c, "", false, []string{"src", "status"}); err != nil { + return err + } + return nil +} + +func (o *CreateProjectInternalRoute1) GetSrc() string { + if o == nil { + return "" + } + return o.Src +} + +func (o *CreateProjectInternalRoute1) GetStatus() float64 { + if o == nil { + return 0.0 + } + return o.Status +} + +type CreateProjectInternalRouteUnionType string + +const ( + CreateProjectInternalRouteUnionTypeCreateProjectInternalRoute1 CreateProjectInternalRouteUnionType = "createProject_internalRoute_1" + CreateProjectInternalRouteUnionTypeCreateProjectInternalRoute2 CreateProjectInternalRouteUnionType = "createProject_internalRoute_2" +) + +type CreateProjectInternalRouteUnion struct { + CreateProjectInternalRoute1 *CreateProjectInternalRoute1 `queryParam:"inline"` + CreateProjectInternalRoute2 *CreateProjectInternalRoute2 `queryParam:"inline"` + + Type CreateProjectInternalRouteUnionType +} + +func CreateCreateProjectInternalRouteUnionCreateProjectInternalRoute1(createProjectInternalRoute1 CreateProjectInternalRoute1) CreateProjectInternalRouteUnion { + typ := CreateProjectInternalRouteUnionTypeCreateProjectInternalRoute1 + + return CreateProjectInternalRouteUnion{ + CreateProjectInternalRoute1: &createProjectInternalRoute1, + Type: typ, + } +} + +func CreateCreateProjectInternalRouteUnionCreateProjectInternalRoute2(createProjectInternalRoute2 CreateProjectInternalRoute2) CreateProjectInternalRouteUnion { + typ := CreateProjectInternalRouteUnionTypeCreateProjectInternalRoute2 + + return CreateProjectInternalRouteUnion{ + CreateProjectInternalRoute2: &createProjectInternalRoute2, + Type: typ, + } +} + +func (u *CreateProjectInternalRouteUnion) UnmarshalJSON(data []byte) error { + + var createProjectInternalRoute1 CreateProjectInternalRoute1 = CreateProjectInternalRoute1{} + if err := utils.UnmarshalJSON(data, &createProjectInternalRoute1, "", true, nil); err == nil { + u.CreateProjectInternalRoute1 = &createProjectInternalRoute1 + u.Type = CreateProjectInternalRouteUnionTypeCreateProjectInternalRoute1 + return nil + } + + var createProjectInternalRoute2 CreateProjectInternalRoute2 = CreateProjectInternalRoute2{} + if err := utils.UnmarshalJSON(data, &createProjectInternalRoute2, "", true, nil); err == nil { + u.CreateProjectInternalRoute2 = &createProjectInternalRoute2 + u.Type = CreateProjectInternalRouteUnionTypeCreateProjectInternalRoute2 + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for CreateProjectInternalRouteUnion", string(data)) +} + +func (u CreateProjectInternalRouteUnion) MarshalJSON() ([]byte, error) { + if u.CreateProjectInternalRoute1 != nil { + return utils.MarshalJSON(u.CreateProjectInternalRoute1, "", true) + } + + if u.CreateProjectInternalRoute2 != nil { + return utils.MarshalJSON(u.CreateProjectInternalRoute2, "", true) + } + + return nil, errors.New("could not marshal union type CreateProjectInternalRouteUnion: all fields are null") +} + +type CreateProjectDismissedToastAction string + +const ( + CreateProjectDismissedToastActionCancel CreateProjectDismissedToastAction = "cancel" + CreateProjectDismissedToastActionAccept CreateProjectDismissedToastAction = "accept" + CreateProjectDismissedToastActionDelete CreateProjectDismissedToastAction = "delete" +) + +func (e CreateProjectDismissedToastAction) ToPointer() *CreateProjectDismissedToastAction { + return &e +} +func (e *CreateProjectDismissedToastAction) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "cancel": + fallthrough + case "accept": + fallthrough + case "delete": + *e = CreateProjectDismissedToastAction(v) + return nil + default: + return fmt.Errorf("invalid value for CreateProjectDismissedToastAction: %v", v) + } +} + +type CreateProjectPreviousValueType string + +const ( + CreateProjectPreviousValueTypeStr CreateProjectPreviousValueType = "str" + CreateProjectPreviousValueTypeNumber CreateProjectPreviousValueType = "number" + CreateProjectPreviousValueTypeBoolean CreateProjectPreviousValueType = "boolean" +) + +type CreateProjectPreviousValue struct { + Str *string `queryParam:"inline"` + Number *float64 `queryParam:"inline"` + Boolean *bool `queryParam:"inline"` + + Type CreateProjectPreviousValueType +} + +func CreateCreateProjectPreviousValueStr(str string) CreateProjectPreviousValue { + typ := CreateProjectPreviousValueTypeStr + + return CreateProjectPreviousValue{ + Str: &str, + Type: typ, + } +} + +func CreateCreateProjectPreviousValueNumber(number float64) CreateProjectPreviousValue { + typ := CreateProjectPreviousValueTypeNumber + + return CreateProjectPreviousValue{ + Number: &number, + Type: typ, + } +} + +func CreateCreateProjectPreviousValueBoolean(boolean bool) CreateProjectPreviousValue { + typ := CreateProjectPreviousValueTypeBoolean + + return CreateProjectPreviousValue{ + Boolean: &boolean, + Type: typ, + } +} + +func (u *CreateProjectPreviousValue) UnmarshalJSON(data []byte) error { + + var str string = "" + if err := utils.UnmarshalJSON(data, &str, "", true, nil); err == nil { + u.Str = &str + u.Type = CreateProjectPreviousValueTypeStr + return nil + } + + var number float64 = float64(0) + if err := utils.UnmarshalJSON(data, &number, "", true, nil); err == nil { + u.Number = &number + u.Type = CreateProjectPreviousValueTypeNumber + return nil + } + + var boolean bool = false + if err := utils.UnmarshalJSON(data, &boolean, "", true, nil); err == nil { + u.Boolean = &boolean + u.Type = CreateProjectPreviousValueTypeBoolean + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for CreateProjectPreviousValue", string(data)) +} + +func (u CreateProjectPreviousValue) MarshalJSON() ([]byte, error) { + if u.Str != nil { + return utils.MarshalJSON(u.Str, "", true) + } + + if u.Number != nil { + return utils.MarshalJSON(u.Number, "", true) + } -func (o *CreateProjectInternalRouteHasXVercelIPCountry) GetValue() CreateProjectInternalRouteValue1 { - if o == nil { - return CreateProjectInternalRouteValue1{} + if u.Boolean != nil { + return utils.MarshalJSON(u.Boolean, "", true) } - return o.Value + + return nil, errors.New("could not marshal union type CreateProjectPreviousValue: all fields are null") } -type CreateProjectInternalRouteHasUnionType string +type CreateProjectCurrentValueType string const ( - CreateProjectInternalRouteHasUnionTypeCreateProjectInternalRouteHasXVercelIPCountry CreateProjectInternalRouteHasUnionType = "createProject_internalRoute_has_XVercelIPCountry" - CreateProjectInternalRouteHasUnionTypeCreateProjectInternalRouteHasHost CreateProjectInternalRouteHasUnionType = "createProject_internalRoute_has_Host" + CreateProjectCurrentValueTypeStr CreateProjectCurrentValueType = "str" + CreateProjectCurrentValueTypeNumber CreateProjectCurrentValueType = "number" + CreateProjectCurrentValueTypeBoolean CreateProjectCurrentValueType = "boolean" ) -type CreateProjectInternalRouteHasUnion struct { - CreateProjectInternalRouteHasXVercelIPCountry *CreateProjectInternalRouteHasXVercelIPCountry `queryParam:"inline"` - CreateProjectInternalRouteHasHost *CreateProjectInternalRouteHasHost `queryParam:"inline"` +type CreateProjectCurrentValue struct { + Str *string `queryParam:"inline"` + Number *float64 `queryParam:"inline"` + Boolean *bool `queryParam:"inline"` - Type CreateProjectInternalRouteHasUnionType + Type CreateProjectCurrentValueType } -func CreateCreateProjectInternalRouteHasUnionCreateProjectInternalRouteHasXVercelIPCountry(createProjectInternalRouteHasXVercelIPCountry CreateProjectInternalRouteHasXVercelIPCountry) CreateProjectInternalRouteHasUnion { - typ := CreateProjectInternalRouteHasUnionTypeCreateProjectInternalRouteHasXVercelIPCountry +func CreateCreateProjectCurrentValueStr(str string) CreateProjectCurrentValue { + typ := CreateProjectCurrentValueTypeStr - return CreateProjectInternalRouteHasUnion{ - CreateProjectInternalRouteHasXVercelIPCountry: &createProjectInternalRouteHasXVercelIPCountry, + return CreateProjectCurrentValue{ + Str: &str, Type: typ, } } -func CreateCreateProjectInternalRouteHasUnionCreateProjectInternalRouteHasHost(createProjectInternalRouteHasHost CreateProjectInternalRouteHasHost) CreateProjectInternalRouteHasUnion { - typ := CreateProjectInternalRouteHasUnionTypeCreateProjectInternalRouteHasHost +func CreateCreateProjectCurrentValueNumber(number float64) CreateProjectCurrentValue { + typ := CreateProjectCurrentValueTypeNumber - return CreateProjectInternalRouteHasUnion{ - CreateProjectInternalRouteHasHost: &createProjectInternalRouteHasHost, - Type: typ, + return CreateProjectCurrentValue{ + Number: &number, + Type: typ, } } -func (u *CreateProjectInternalRouteHasUnion) UnmarshalJSON(data []byte) error { +func CreateCreateProjectCurrentValueBoolean(boolean bool) CreateProjectCurrentValue { + typ := CreateProjectCurrentValueTypeBoolean - var createProjectInternalRouteHasXVercelIPCountry CreateProjectInternalRouteHasXVercelIPCountry = CreateProjectInternalRouteHasXVercelIPCountry{} - if err := utils.UnmarshalJSON(data, &createProjectInternalRouteHasXVercelIPCountry, "", true, nil); err == nil { - u.CreateProjectInternalRouteHasXVercelIPCountry = &createProjectInternalRouteHasXVercelIPCountry - u.Type = CreateProjectInternalRouteHasUnionTypeCreateProjectInternalRouteHasXVercelIPCountry - return nil + return CreateProjectCurrentValue{ + Boolean: &boolean, + Type: typ, } +} - var createProjectInternalRouteHasHost CreateProjectInternalRouteHasHost = CreateProjectInternalRouteHasHost{} - if err := utils.UnmarshalJSON(data, &createProjectInternalRouteHasHost, "", true, nil); err == nil { - u.CreateProjectInternalRouteHasHost = &createProjectInternalRouteHasHost - u.Type = CreateProjectInternalRouteHasUnionTypeCreateProjectInternalRouteHasHost +func (u *CreateProjectCurrentValue) UnmarshalJSON(data []byte) error { + + var str string = "" + if err := utils.UnmarshalJSON(data, &str, "", true, nil); err == nil { + u.Str = &str + u.Type = CreateProjectCurrentValueTypeStr return nil } - return fmt.Errorf("could not unmarshal `%s` into any supported union types for CreateProjectInternalRouteHasUnion", string(data)) -} - -func (u CreateProjectInternalRouteHasUnion) MarshalJSON() ([]byte, error) { - if u.CreateProjectInternalRouteHasXVercelIPCountry != nil { - return utils.MarshalJSON(u.CreateProjectInternalRouteHasXVercelIPCountry, "", true) + var number float64 = float64(0) + if err := utils.UnmarshalJSON(data, &number, "", true, nil); err == nil { + u.Number = &number + u.Type = CreateProjectCurrentValueTypeNumber + return nil } - if u.CreateProjectInternalRouteHasHost != nil { - return utils.MarshalJSON(u.CreateProjectInternalRouteHasHost, "", true) + var boolean bool = false + if err := utils.UnmarshalJSON(data, &boolean, "", true, nil); err == nil { + u.Boolean = &boolean + u.Type = CreateProjectCurrentValueTypeBoolean + return nil } - return nil, errors.New("could not marshal union type CreateProjectInternalRouteHasUnion: all fields are null") + return fmt.Errorf("could not unmarshal `%s` into any supported union types for CreateProjectCurrentValue", string(data)) } -type CreateProjectInternalRouteAction string - -const ( - CreateProjectInternalRouteActionBlockLegalCwc CreateProjectInternalRouteAction = "block_legal_cwc" -) +func (u CreateProjectCurrentValue) MarshalJSON() ([]byte, error) { + if u.Str != nil { + return utils.MarshalJSON(u.Str, "", true) + } -func (e CreateProjectInternalRouteAction) ToPointer() *CreateProjectInternalRouteAction { - return &e -} -func (e *CreateProjectInternalRouteAction) UnmarshalJSON(data []byte) error { - var v string - if err := json.Unmarshal(data, &v); err != nil { - return err + if u.Number != nil { + return utils.MarshalJSON(u.Number, "", true) } - switch v { - case "block_legal_cwc": - *e = CreateProjectInternalRouteAction(v) - return nil - default: - return fmt.Errorf("invalid value for CreateProjectInternalRouteAction: %v", v) + + if u.Boolean != nil { + return utils.MarshalJSON(u.Boolean, "", true) } + + return nil, errors.New("could not marshal union type CreateProjectCurrentValue: all fields are null") } -type CreateProjectInternalRouteMitigate struct { - Action CreateProjectInternalRouteAction `json:"action"` +type CreateProjectValueDismissedToast struct { + PreviousValue CreateProjectPreviousValue `json:"previousValue"` + CurrentValue CreateProjectCurrentValue `json:"currentValue"` } -func (c CreateProjectInternalRouteMitigate) MarshalJSON() ([]byte, error) { +func (c CreateProjectValueDismissedToast) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(c, "", false) } -func (c *CreateProjectInternalRouteMitigate) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &c, "", false, []string{"action"}); err != nil { +func (c *CreateProjectValueDismissedToast) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &c, "", false, []string{"previousValue", "currentValue"}); err != nil { return err } return nil } -func (o *CreateProjectInternalRouteMitigate) GetAction() CreateProjectInternalRouteAction { +func (o *CreateProjectValueDismissedToast) GetPreviousValue() CreateProjectPreviousValue { if o == nil { - return CreateProjectInternalRouteAction("") + return CreateProjectPreviousValue{} } - return o.Action + return o.PreviousValue } -type CreateProjectInternalRoute2 struct { - Has []CreateProjectInternalRouteHasUnion `json:"has"` - Mitigate CreateProjectInternalRouteMitigate `json:"mitigate"` - Src *string `json:"src,omitempty"` +func (o *CreateProjectValueDismissedToast) GetCurrentValue() CreateProjectCurrentValue { + if o == nil { + return CreateProjectCurrentValue{} + } + return o.CurrentValue } -func (c CreateProjectInternalRoute2) MarshalJSON() ([]byte, error) { - return utils.MarshalJSON(c, "", false) -} +type CreateProjectValueUnionType string -func (c *CreateProjectInternalRoute2) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &c, "", false, []string{"has", "mitigate"}); err != nil { - return err - } - return nil -} +const ( + CreateProjectValueUnionTypeStr CreateProjectValueUnionType = "str" + CreateProjectValueUnionTypeNumber CreateProjectValueUnionType = "number" + CreateProjectValueUnionTypeBoolean CreateProjectValueUnionType = "boolean" + CreateProjectValueUnionTypeCreateProjectValueDismissedToast CreateProjectValueUnionType = "createProject_value_dismissedToast" +) -func (o *CreateProjectInternalRoute2) GetHas() []CreateProjectInternalRouteHasUnion { - if o == nil { - return []CreateProjectInternalRouteHasUnion{} - } - return o.Has -} +type CreateProjectValueUnion struct { + Str *string `queryParam:"inline"` + Number *float64 `queryParam:"inline"` + Boolean *bool `queryParam:"inline"` + CreateProjectValueDismissedToast *CreateProjectValueDismissedToast `queryParam:"inline"` -func (o *CreateProjectInternalRoute2) GetMitigate() CreateProjectInternalRouteMitigate { - if o == nil { - return CreateProjectInternalRouteMitigate{} - } - return o.Mitigate + Type CreateProjectValueUnionType } -func (o *CreateProjectInternalRoute2) GetSrc() *string { - if o == nil { - return nil +func CreateCreateProjectValueUnionStr(str string) CreateProjectValueUnion { + typ := CreateProjectValueUnionTypeStr + + return CreateProjectValueUnion{ + Str: &str, + Type: typ, } - return o.Src } -type CreateProjectInternalRoute1 struct { - Src string `json:"src"` - Status float64 `json:"status"` -} +func CreateCreateProjectValueUnionNumber(number float64) CreateProjectValueUnion { + typ := CreateProjectValueUnionTypeNumber -func (c CreateProjectInternalRoute1) MarshalJSON() ([]byte, error) { - return utils.MarshalJSON(c, "", false) + return CreateProjectValueUnion{ + Number: &number, + Type: typ, + } } -func (c *CreateProjectInternalRoute1) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &c, "", false, []string{"src", "status"}); err != nil { - return err +func CreateCreateProjectValueUnionBoolean(boolean bool) CreateProjectValueUnion { + typ := CreateProjectValueUnionTypeBoolean + + return CreateProjectValueUnion{ + Boolean: &boolean, + Type: typ, } - return nil } -func (o *CreateProjectInternalRoute1) GetSrc() string { - if o == nil { - return "" +func CreateCreateProjectValueUnionCreateProjectValueDismissedToast(createProjectValueDismissedToast CreateProjectValueDismissedToast) CreateProjectValueUnion { + typ := CreateProjectValueUnionTypeCreateProjectValueDismissedToast + + return CreateProjectValueUnion{ + CreateProjectValueDismissedToast: &createProjectValueDismissedToast, + Type: typ, } - return o.Src } -func (o *CreateProjectInternalRoute1) GetStatus() float64 { - if o == nil { - return 0.0 +func (u *CreateProjectValueUnion) UnmarshalJSON(data []byte) error { + + var createProjectValueDismissedToast CreateProjectValueDismissedToast = CreateProjectValueDismissedToast{} + if err := utils.UnmarshalJSON(data, &createProjectValueDismissedToast, "", true, nil); err == nil { + u.CreateProjectValueDismissedToast = &createProjectValueDismissedToast + u.Type = CreateProjectValueUnionTypeCreateProjectValueDismissedToast + return nil } - return o.Status -} -type CreateProjectInternalRouteUnionType string + var str string = "" + if err := utils.UnmarshalJSON(data, &str, "", true, nil); err == nil { + u.Str = &str + u.Type = CreateProjectValueUnionTypeStr + return nil + } -const ( - CreateProjectInternalRouteUnionTypeCreateProjectInternalRoute1 CreateProjectInternalRouteUnionType = "createProject_internalRoute_1" - CreateProjectInternalRouteUnionTypeCreateProjectInternalRoute2 CreateProjectInternalRouteUnionType = "createProject_internalRoute_2" -) + var number float64 = float64(0) + if err := utils.UnmarshalJSON(data, &number, "", true, nil); err == nil { + u.Number = &number + u.Type = CreateProjectValueUnionTypeNumber + return nil + } -type CreateProjectInternalRouteUnion struct { - CreateProjectInternalRoute1 *CreateProjectInternalRoute1 `queryParam:"inline"` - CreateProjectInternalRoute2 *CreateProjectInternalRoute2 `queryParam:"inline"` + var boolean bool = false + if err := utils.UnmarshalJSON(data, &boolean, "", true, nil); err == nil { + u.Boolean = &boolean + u.Type = CreateProjectValueUnionTypeBoolean + return nil + } - Type CreateProjectInternalRouteUnionType + return fmt.Errorf("could not unmarshal `%s` into any supported union types for CreateProjectValueUnion", string(data)) } -func CreateCreateProjectInternalRouteUnionCreateProjectInternalRoute1(createProjectInternalRoute1 CreateProjectInternalRoute1) CreateProjectInternalRouteUnion { - typ := CreateProjectInternalRouteUnionTypeCreateProjectInternalRoute1 +func (u CreateProjectValueUnion) MarshalJSON() ([]byte, error) { + if u.Str != nil { + return utils.MarshalJSON(u.Str, "", true) + } - return CreateProjectInternalRouteUnion{ - CreateProjectInternalRoute1: &createProjectInternalRoute1, - Type: typ, + if u.Number != nil { + return utils.MarshalJSON(u.Number, "", true) } -} -func CreateCreateProjectInternalRouteUnionCreateProjectInternalRoute2(createProjectInternalRoute2 CreateProjectInternalRoute2) CreateProjectInternalRouteUnion { - typ := CreateProjectInternalRouteUnionTypeCreateProjectInternalRoute2 + if u.Boolean != nil { + return utils.MarshalJSON(u.Boolean, "", true) + } - return CreateProjectInternalRouteUnion{ - CreateProjectInternalRoute2: &createProjectInternalRoute2, - Type: typ, + if u.CreateProjectValueDismissedToast != nil { + return utils.MarshalJSON(u.CreateProjectValueDismissedToast, "", true) } + + return nil, errors.New("could not marshal union type CreateProjectValueUnion: all fields are null") } -func (u *CreateProjectInternalRouteUnion) UnmarshalJSON(data []byte) error { +type CreateProjectDismissedToast struct { + Key string `json:"key"` + DismissedAt float64 `json:"dismissedAt"` + Action CreateProjectDismissedToastAction `json:"action"` + Value *CreateProjectValueUnion `json:"value"` +} - var createProjectInternalRoute1 CreateProjectInternalRoute1 = CreateProjectInternalRoute1{} - if err := utils.UnmarshalJSON(data, &createProjectInternalRoute1, "", true, nil); err == nil { - u.CreateProjectInternalRoute1 = &createProjectInternalRoute1 - u.Type = CreateProjectInternalRouteUnionTypeCreateProjectInternalRoute1 - return nil +func (o *CreateProjectDismissedToast) GetKey() string { + if o == nil { + return "" } + return o.Key +} - var createProjectInternalRoute2 CreateProjectInternalRoute2 = CreateProjectInternalRoute2{} - if err := utils.UnmarshalJSON(data, &createProjectInternalRoute2, "", true, nil); err == nil { - u.CreateProjectInternalRoute2 = &createProjectInternalRoute2 - u.Type = CreateProjectInternalRouteUnionTypeCreateProjectInternalRoute2 - return nil +func (o *CreateProjectDismissedToast) GetDismissedAt() float64 { + if o == nil { + return 0.0 } - - return fmt.Errorf("could not unmarshal `%s` into any supported union types for CreateProjectInternalRouteUnion", string(data)) + return o.DismissedAt } -func (u CreateProjectInternalRouteUnion) MarshalJSON() ([]byte, error) { - if u.CreateProjectInternalRoute1 != nil { - return utils.MarshalJSON(u.CreateProjectInternalRoute1, "", true) +func (o *CreateProjectDismissedToast) GetAction() CreateProjectDismissedToastAction { + if o == nil { + return CreateProjectDismissedToastAction("") } + return o.Action +} - if u.CreateProjectInternalRoute2 != nil { - return utils.MarshalJSON(u.CreateProjectInternalRoute2, "", true) +func (o *CreateProjectDismissedToast) GetValue() *CreateProjectValueUnion { + if o == nil { + return nil } - - return nil, errors.New("could not marshal union type CreateProjectInternalRouteUnion: all fields are null") + return o.Value } // CreateProjectResponseBody - The project was successfuly created @@ -10834,6 +11436,7 @@ type CreateProjectResponseBody struct { SkewProtectionBoundaryAt *float64 `json:"skewProtectionBoundaryAt,omitempty"` SkewProtectionMaxAge *float64 `json:"skewProtectionMaxAge,omitempty"` SkipGitConnectDuringLink *bool `json:"skipGitConnectDuringLink,omitempty"` + StaticIps *CreateProjectStaticIps `json:"staticIps,omitempty"` SourceFilesOutsideRootDirectory *bool `json:"sourceFilesOutsideRootDirectory,omitempty"` EnableAffectedProjectsDeployments *bool `json:"enableAffectedProjectsDeployments,omitempty"` SsoProtection *CreateProjectSsoProtectionResponse `json:"ssoProtection,omitempty"` @@ -10864,6 +11467,8 @@ type CreateProjectResponseBody struct { V0 *bool `json:"v0,omitempty"` Abuse *CreateProjectAbuse `json:"abuse,omitempty"` InternalRoutes []CreateProjectInternalRouteUnion `json:"internalRoutes,omitempty"` + HasDeployments *bool `json:"hasDeployments,omitempty"` + DismissedToasts []CreateProjectDismissedToast `json:"dismissedToasts,omitempty"` } func (o *CreateProjectResponseBody) GetAccountID() string { @@ -11188,6 +11793,13 @@ func (o *CreateProjectResponseBody) GetSkipGitConnectDuringLink() *bool { return o.SkipGitConnectDuringLink } +func (o *CreateProjectResponseBody) GetStaticIps() *CreateProjectStaticIps { + if o == nil { + return nil + } + return o.StaticIps +} + func (o *CreateProjectResponseBody) GetSourceFilesOutsideRootDirectory() *bool { if o == nil { return nil @@ -11398,6 +12010,20 @@ func (o *CreateProjectResponseBody) GetInternalRoutes() []CreateProjectInternalR return o.InternalRoutes } +func (o *CreateProjectResponseBody) GetHasDeployments() *bool { + if o == nil { + return nil + } + return o.HasDeployments +} + +func (o *CreateProjectResponseBody) GetDismissedToasts() []CreateProjectDismissedToast { + if o == nil { + return nil + } + return o.DismissedToasts +} + type CreateProjectResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // The project was successfuly created diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/createprojectenv.go b/src/__tests__/mockserver/internal/sdk/models/operations/createprojectenv.go index dc8c8d1a6..61b2b5fb2 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/createprojectenv.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/createprojectenv.go @@ -775,8 +775,8 @@ type CreateProjectEnvRequest struct { // The Team identifier to perform the request on behalf of. TeamID *string `queryParam:"style=form,explode=true,name=teamId"` // The Team slug to perform the request on behalf of. - Slug *string `queryParam:"style=form,explode=true,name=slug"` - RequestBody CreateProjectEnvRequestBody `request:"mediaType=application/json"` + Slug *string `queryParam:"style=form,explode=true,name=slug"` + Body CreateProjectEnvRequestBody `request:"mediaType=application/json"` } func (o *CreateProjectEnvRequest) GetIDOrName() string { @@ -807,25 +807,25 @@ func (o *CreateProjectEnvRequest) GetSlug() *string { return o.Slug } -func (o *CreateProjectEnvRequest) GetRequestBody() CreateProjectEnvRequestBody { +func (o *CreateProjectEnvRequest) GetBody() CreateProjectEnvRequestBody { if o == nil { return CreateProjectEnvRequestBody{} } - return o.RequestBody + return o.Body } -type CreatedTargetEnum3 string +type CreateProjectEnvCreatedTargetEnum3 string const ( - CreatedTargetEnum3Production CreatedTargetEnum3 = "production" - CreatedTargetEnum3Preview CreatedTargetEnum3 = "preview" - CreatedTargetEnum3Development CreatedTargetEnum3 = "development" + CreateProjectEnvCreatedTargetEnum3Production CreateProjectEnvCreatedTargetEnum3 = "production" + CreateProjectEnvCreatedTargetEnum3Preview CreateProjectEnvCreatedTargetEnum3 = "preview" + CreateProjectEnvCreatedTargetEnum3Development CreateProjectEnvCreatedTargetEnum3 = "development" ) -func (e CreatedTargetEnum3) ToPointer() *CreatedTargetEnum3 { +func (e CreateProjectEnvCreatedTargetEnum3) ToPointer() *CreateProjectEnvCreatedTargetEnum3 { return &e } -func (e *CreatedTargetEnum3) UnmarshalJSON(data []byte) error { +func (e *CreateProjectEnvCreatedTargetEnum3) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { return err @@ -836,23 +836,23 @@ func (e *CreatedTargetEnum3) UnmarshalJSON(data []byte) error { case "preview": fallthrough case "development": - *e = CreatedTargetEnum3(v) + *e = CreateProjectEnvCreatedTargetEnum3(v) return nil default: - return fmt.Errorf("invalid value for CreatedTargetEnum3: %v", v) + return fmt.Errorf("invalid value for CreateProjectEnvCreatedTargetEnum3: %v", v) } } type CreatedTargetUnion2Type string const ( - CreatedTargetUnion2TypeArrayOfStr CreatedTargetUnion2Type = "arrayOfStr" - CreatedTargetUnion2TypeCreatedTargetEnum3 CreatedTargetUnion2Type = "created_target_enum_3" + CreatedTargetUnion2TypeArrayOfStr CreatedTargetUnion2Type = "arrayOfStr" + CreatedTargetUnion2TypeCreateProjectEnvCreatedTargetEnum3 CreatedTargetUnion2Type = "createProjectEnv_created_target_enum_3" ) type CreatedTargetUnion2 struct { - ArrayOfStr []string `queryParam:"inline"` - CreatedTargetEnum3 *CreatedTargetEnum3 `queryParam:"inline"` + ArrayOfStr []string `queryParam:"inline"` + CreateProjectEnvCreatedTargetEnum3 *CreateProjectEnvCreatedTargetEnum3 `queryParam:"inline"` Type CreatedTargetUnion2Type } @@ -866,12 +866,12 @@ func CreateCreatedTargetUnion2ArrayOfStr(arrayOfStr []string) CreatedTargetUnion } } -func CreateCreatedTargetUnion2CreatedTargetEnum3(createdTargetEnum3 CreatedTargetEnum3) CreatedTargetUnion2 { - typ := CreatedTargetUnion2TypeCreatedTargetEnum3 +func CreateCreatedTargetUnion2CreateProjectEnvCreatedTargetEnum3(createProjectEnvCreatedTargetEnum3 CreateProjectEnvCreatedTargetEnum3) CreatedTargetUnion2 { + typ := CreatedTargetUnion2TypeCreateProjectEnvCreatedTargetEnum3 return CreatedTargetUnion2{ - CreatedTargetEnum3: &createdTargetEnum3, - Type: typ, + CreateProjectEnvCreatedTargetEnum3: &createProjectEnvCreatedTargetEnum3, + Type: typ, } } @@ -884,10 +884,10 @@ func (u *CreatedTargetUnion2) UnmarshalJSON(data []byte) error { return nil } - var createdTargetEnum3 CreatedTargetEnum3 = CreatedTargetEnum3("") - if err := utils.UnmarshalJSON(data, &createdTargetEnum3, "", true, nil); err == nil { - u.CreatedTargetEnum3 = &createdTargetEnum3 - u.Type = CreatedTargetUnion2TypeCreatedTargetEnum3 + var createProjectEnvCreatedTargetEnum3 CreateProjectEnvCreatedTargetEnum3 = CreateProjectEnvCreatedTargetEnum3("") + if err := utils.UnmarshalJSON(data, &createProjectEnvCreatedTargetEnum3, "", true, nil); err == nil { + u.CreateProjectEnvCreatedTargetEnum3 = &createProjectEnvCreatedTargetEnum3 + u.Type = CreatedTargetUnion2TypeCreateProjectEnvCreatedTargetEnum3 return nil } @@ -899,27 +899,27 @@ func (u CreatedTargetUnion2) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(u.ArrayOfStr, "", true) } - if u.CreatedTargetEnum3 != nil { - return utils.MarshalJSON(u.CreatedTargetEnum3, "", true) + if u.CreateProjectEnvCreatedTargetEnum3 != nil { + return utils.MarshalJSON(u.CreateProjectEnvCreatedTargetEnum3, "", true) } return nil, errors.New("could not marshal union type CreatedTargetUnion2: all fields are null") } -type CreatedType2 string +type CreateProjectEnvCreatedType2 string const ( - CreatedType2System CreatedType2 = "system" - CreatedType2Encrypted CreatedType2 = "encrypted" - CreatedType2Plain CreatedType2 = "plain" - CreatedType2Sensitive CreatedType2 = "sensitive" - CreatedType2Secret CreatedType2 = "secret" + CreateProjectEnvCreatedType2System CreateProjectEnvCreatedType2 = "system" + CreateProjectEnvCreatedType2Encrypted CreateProjectEnvCreatedType2 = "encrypted" + CreateProjectEnvCreatedType2Plain CreateProjectEnvCreatedType2 = "plain" + CreateProjectEnvCreatedType2Sensitive CreateProjectEnvCreatedType2 = "sensitive" + CreateProjectEnvCreatedType2Secret CreateProjectEnvCreatedType2 = "secret" ) -func (e CreatedType2) ToPointer() *CreatedType2 { +func (e CreateProjectEnvCreatedType2) ToPointer() *CreateProjectEnvCreatedType2 { return &e } -func (e *CreatedType2) UnmarshalJSON(data []byte) error { +func (e *CreateProjectEnvCreatedType2) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { return err @@ -934,10 +934,10 @@ func (e *CreatedType2) UnmarshalJSON(data []byte) error { case "sensitive": fallthrough case "secret": - *e = CreatedType2(v) + *e = CreateProjectEnvCreatedType2(v) return nil default: - return fmt.Errorf("invalid value for CreatedType2: %v", v) + return fmt.Errorf("invalid value for CreateProjectEnvCreatedType2: %v", v) } } @@ -2164,9 +2164,9 @@ func (o *CreateProjectEnvInternalContentHint2) GetEncryptedValue() string { return o.EncryptedValue } -type Created2 struct { - Target *CreatedTargetUnion2 `json:"target,omitempty"` - Type CreatedType2 `json:"type"` +type CreateProjectEnvCreated2 struct { + Target *CreatedTargetUnion2 `json:"target,omitempty"` + Type CreateProjectEnvCreatedType2 `json:"type"` // This is used to identiy variables that have been migrated from type secret to sensitive. SunsetSecretID *string `json:"sunsetSecretId,omitempty"` Decrypted *bool `json:"decrypted,omitempty"` @@ -2190,176 +2190,176 @@ type Created2 struct { System *bool `json:"system,omitempty"` } -func (c Created2) MarshalJSON() ([]byte, error) { +func (c CreateProjectEnvCreated2) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(c, "", false) } -func (c *Created2) UnmarshalJSON(data []byte) error { +func (c *CreateProjectEnvCreated2) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &c, "", false, []string{"type", "value", "key"}); err != nil { return err } return nil } -func (o *Created2) GetTarget() *CreatedTargetUnion2 { +func (o *CreateProjectEnvCreated2) GetTarget() *CreatedTargetUnion2 { if o == nil { return nil } return o.Target } -func (o *Created2) GetType() CreatedType2 { +func (o *CreateProjectEnvCreated2) GetType() CreateProjectEnvCreatedType2 { if o == nil { - return CreatedType2("") + return CreateProjectEnvCreatedType2("") } return o.Type } -func (o *Created2) GetSunsetSecretID() *string { +func (o *CreateProjectEnvCreated2) GetSunsetSecretID() *string { if o == nil { return nil } return o.SunsetSecretID } -func (o *Created2) GetDecrypted() *bool { +func (o *CreateProjectEnvCreated2) GetDecrypted() *bool { if o == nil { return nil } return o.Decrypted } -func (o *Created2) GetValue() string { +func (o *CreateProjectEnvCreated2) GetValue() string { if o == nil { return "" } return o.Value } -func (o *Created2) GetVsmValue() *string { +func (o *CreateProjectEnvCreated2) GetVsmValue() *string { if o == nil { return nil } return o.VsmValue } -func (o *Created2) GetID() *string { +func (o *CreateProjectEnvCreated2) GetID() *string { if o == nil { return nil } return o.ID } -func (o *Created2) GetKey() string { +func (o *CreateProjectEnvCreated2) GetKey() string { if o == nil { return "" } return o.Key } -func (o *Created2) GetConfigurationID() *string { +func (o *CreateProjectEnvCreated2) GetConfigurationID() *string { if o == nil { return nil } return o.ConfigurationID } -func (o *Created2) GetCreatedAt() *float64 { +func (o *CreateProjectEnvCreated2) GetCreatedAt() *float64 { if o == nil { return nil } return o.CreatedAt } -func (o *Created2) GetUpdatedAt() *float64 { +func (o *CreateProjectEnvCreated2) GetUpdatedAt() *float64 { if o == nil { return nil } return o.UpdatedAt } -func (o *Created2) GetCreatedBy() *string { +func (o *CreateProjectEnvCreated2) GetCreatedBy() *string { if o == nil { return nil } return o.CreatedBy } -func (o *Created2) GetUpdatedBy() *string { +func (o *CreateProjectEnvCreated2) GetUpdatedBy() *string { if o == nil { return nil } return o.UpdatedBy } -func (o *Created2) GetGitBranch() *string { +func (o *CreateProjectEnvCreated2) GetGitBranch() *string { if o == nil { return nil } return o.GitBranch } -func (o *Created2) GetEdgeConfigID() *string { +func (o *CreateProjectEnvCreated2) GetEdgeConfigID() *string { if o == nil { return nil } return o.EdgeConfigID } -func (o *Created2) GetEdgeConfigTokenID() *string { +func (o *CreateProjectEnvCreated2) GetEdgeConfigTokenID() *string { if o == nil { return nil } return o.EdgeConfigTokenID } -func (o *Created2) GetContentHint() *CreateProjectEnvContentHintUnion2 { +func (o *CreateProjectEnvCreated2) GetContentHint() *CreateProjectEnvContentHintUnion2 { if o == nil { return nil } return o.ContentHint } -func (o *Created2) GetInternalContentHint() *CreateProjectEnvInternalContentHint2 { +func (o *CreateProjectEnvCreated2) GetInternalContentHint() *CreateProjectEnvInternalContentHint2 { if o == nil { return nil } return o.InternalContentHint } -func (o *Created2) GetComment() *string { +func (o *CreateProjectEnvCreated2) GetComment() *string { if o == nil { return nil } return o.Comment } -func (o *Created2) GetCustomEnvironmentIds() []string { +func (o *CreateProjectEnvCreated2) GetCustomEnvironmentIds() []string { if o == nil { return nil } return o.CustomEnvironmentIds } -func (o *Created2) GetSystem() *bool { +func (o *CreateProjectEnvCreated2) GetSystem() *bool { if o == nil { return nil } return o.System } -type CreatedTargetEnum2 string +type CreateProjectEnvCreatedTargetEnum2 string const ( - CreatedTargetEnum2Production CreatedTargetEnum2 = "production" - CreatedTargetEnum2Preview CreatedTargetEnum2 = "preview" - CreatedTargetEnum2Development CreatedTargetEnum2 = "development" + CreateProjectEnvCreatedTargetEnum2Production CreateProjectEnvCreatedTargetEnum2 = "production" + CreateProjectEnvCreatedTargetEnum2Preview CreateProjectEnvCreatedTargetEnum2 = "preview" + CreateProjectEnvCreatedTargetEnum2Development CreateProjectEnvCreatedTargetEnum2 = "development" ) -func (e CreatedTargetEnum2) ToPointer() *CreatedTargetEnum2 { +func (e CreateProjectEnvCreatedTargetEnum2) ToPointer() *CreateProjectEnvCreatedTargetEnum2 { return &e } -func (e *CreatedTargetEnum2) UnmarshalJSON(data []byte) error { +func (e *CreateProjectEnvCreatedTargetEnum2) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { return err @@ -2370,25 +2370,25 @@ func (e *CreatedTargetEnum2) UnmarshalJSON(data []byte) error { case "preview": fallthrough case "development": - *e = CreatedTargetEnum2(v) + *e = CreateProjectEnvCreatedTargetEnum2(v) return nil default: - return fmt.Errorf("invalid value for CreatedTargetEnum2: %v", v) + return fmt.Errorf("invalid value for CreateProjectEnvCreatedTargetEnum2: %v", v) } } -type CreatedTargetEnum1 string +type CreateProjectEnvCreatedTargetEnum1 string const ( - CreatedTargetEnum1Production CreatedTargetEnum1 = "production" - CreatedTargetEnum1Preview CreatedTargetEnum1 = "preview" - CreatedTargetEnum1Development CreatedTargetEnum1 = "development" + CreateProjectEnvCreatedTargetEnum1Production CreateProjectEnvCreatedTargetEnum1 = "production" + CreateProjectEnvCreatedTargetEnum1Preview CreateProjectEnvCreatedTargetEnum1 = "preview" + CreateProjectEnvCreatedTargetEnum1Development CreateProjectEnvCreatedTargetEnum1 = "development" ) -func (e CreatedTargetEnum1) ToPointer() *CreatedTargetEnum1 { +func (e CreateProjectEnvCreatedTargetEnum1) ToPointer() *CreateProjectEnvCreatedTargetEnum1 { return &e } -func (e *CreatedTargetEnum1) UnmarshalJSON(data []byte) error { +func (e *CreateProjectEnvCreatedTargetEnum1) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { return err @@ -2399,58 +2399,58 @@ func (e *CreatedTargetEnum1) UnmarshalJSON(data []byte) error { case "preview": fallthrough case "development": - *e = CreatedTargetEnum1(v) + *e = CreateProjectEnvCreatedTargetEnum1(v) return nil default: - return fmt.Errorf("invalid value for CreatedTargetEnum1: %v", v) + return fmt.Errorf("invalid value for CreateProjectEnvCreatedTargetEnum1: %v", v) } } type CreatedTargetUnion1Type string const ( - CreatedTargetUnion1TypeArrayOfCreatedTargetEnum1 CreatedTargetUnion1Type = "arrayOfCreatedTargetEnum1" - CreatedTargetUnion1TypeCreatedTargetEnum2 CreatedTargetUnion1Type = "created_target_enum_2" + CreatedTargetUnion1TypeArrayOfCreateProjectEnvCreatedTargetEnum1 CreatedTargetUnion1Type = "arrayOfCreateProjectEnvCreatedTargetEnum1" + CreatedTargetUnion1TypeCreateProjectEnvCreatedTargetEnum2 CreatedTargetUnion1Type = "createProjectEnv_created_target_enum_2" ) type CreatedTargetUnion1 struct { - ArrayOfCreatedTargetEnum1 []CreatedTargetEnum1 `queryParam:"inline"` - CreatedTargetEnum2 *CreatedTargetEnum2 `queryParam:"inline"` + ArrayOfCreateProjectEnvCreatedTargetEnum1 []CreateProjectEnvCreatedTargetEnum1 `queryParam:"inline"` + CreateProjectEnvCreatedTargetEnum2 *CreateProjectEnvCreatedTargetEnum2 `queryParam:"inline"` Type CreatedTargetUnion1Type } -func CreateCreatedTargetUnion1ArrayOfCreatedTargetEnum1(arrayOfCreatedTargetEnum1 []CreatedTargetEnum1) CreatedTargetUnion1 { - typ := CreatedTargetUnion1TypeArrayOfCreatedTargetEnum1 +func CreateCreatedTargetUnion1ArrayOfCreateProjectEnvCreatedTargetEnum1(arrayOfCreateProjectEnvCreatedTargetEnum1 []CreateProjectEnvCreatedTargetEnum1) CreatedTargetUnion1 { + typ := CreatedTargetUnion1TypeArrayOfCreateProjectEnvCreatedTargetEnum1 return CreatedTargetUnion1{ - ArrayOfCreatedTargetEnum1: arrayOfCreatedTargetEnum1, - Type: typ, + ArrayOfCreateProjectEnvCreatedTargetEnum1: arrayOfCreateProjectEnvCreatedTargetEnum1, + Type: typ, } } -func CreateCreatedTargetUnion1CreatedTargetEnum2(createdTargetEnum2 CreatedTargetEnum2) CreatedTargetUnion1 { - typ := CreatedTargetUnion1TypeCreatedTargetEnum2 +func CreateCreatedTargetUnion1CreateProjectEnvCreatedTargetEnum2(createProjectEnvCreatedTargetEnum2 CreateProjectEnvCreatedTargetEnum2) CreatedTargetUnion1 { + typ := CreatedTargetUnion1TypeCreateProjectEnvCreatedTargetEnum2 return CreatedTargetUnion1{ - CreatedTargetEnum2: &createdTargetEnum2, - Type: typ, + CreateProjectEnvCreatedTargetEnum2: &createProjectEnvCreatedTargetEnum2, + Type: typ, } } func (u *CreatedTargetUnion1) UnmarshalJSON(data []byte) error { - var arrayOfCreatedTargetEnum1 []CreatedTargetEnum1 = []CreatedTargetEnum1{} - if err := utils.UnmarshalJSON(data, &arrayOfCreatedTargetEnum1, "", true, nil); err == nil { - u.ArrayOfCreatedTargetEnum1 = arrayOfCreatedTargetEnum1 - u.Type = CreatedTargetUnion1TypeArrayOfCreatedTargetEnum1 + var arrayOfCreateProjectEnvCreatedTargetEnum1 []CreateProjectEnvCreatedTargetEnum1 = []CreateProjectEnvCreatedTargetEnum1{} + if err := utils.UnmarshalJSON(data, &arrayOfCreateProjectEnvCreatedTargetEnum1, "", true, nil); err == nil { + u.ArrayOfCreateProjectEnvCreatedTargetEnum1 = arrayOfCreateProjectEnvCreatedTargetEnum1 + u.Type = CreatedTargetUnion1TypeArrayOfCreateProjectEnvCreatedTargetEnum1 return nil } - var createdTargetEnum2 CreatedTargetEnum2 = CreatedTargetEnum2("") - if err := utils.UnmarshalJSON(data, &createdTargetEnum2, "", true, nil); err == nil { - u.CreatedTargetEnum2 = &createdTargetEnum2 - u.Type = CreatedTargetUnion1TypeCreatedTargetEnum2 + var createProjectEnvCreatedTargetEnum2 CreateProjectEnvCreatedTargetEnum2 = CreateProjectEnvCreatedTargetEnum2("") + if err := utils.UnmarshalJSON(data, &createProjectEnvCreatedTargetEnum2, "", true, nil); err == nil { + u.CreateProjectEnvCreatedTargetEnum2 = &createProjectEnvCreatedTargetEnum2 + u.Type = CreatedTargetUnion1TypeCreateProjectEnvCreatedTargetEnum2 return nil } @@ -2458,31 +2458,31 @@ func (u *CreatedTargetUnion1) UnmarshalJSON(data []byte) error { } func (u CreatedTargetUnion1) MarshalJSON() ([]byte, error) { - if u.ArrayOfCreatedTargetEnum1 != nil { - return utils.MarshalJSON(u.ArrayOfCreatedTargetEnum1, "", true) + if u.ArrayOfCreateProjectEnvCreatedTargetEnum1 != nil { + return utils.MarshalJSON(u.ArrayOfCreateProjectEnvCreatedTargetEnum1, "", true) } - if u.CreatedTargetEnum2 != nil { - return utils.MarshalJSON(u.CreatedTargetEnum2, "", true) + if u.CreateProjectEnvCreatedTargetEnum2 != nil { + return utils.MarshalJSON(u.CreateProjectEnvCreatedTargetEnum2, "", true) } return nil, errors.New("could not marshal union type CreatedTargetUnion1: all fields are null") } -type CreatedType1 string +type CreateProjectEnvCreatedType1 string const ( - CreatedType1System CreatedType1 = "system" - CreatedType1Encrypted CreatedType1 = "encrypted" - CreatedType1Plain CreatedType1 = "plain" - CreatedType1Sensitive CreatedType1 = "sensitive" - CreatedType1Secret CreatedType1 = "secret" + CreateProjectEnvCreatedType1System CreateProjectEnvCreatedType1 = "system" + CreateProjectEnvCreatedType1Encrypted CreateProjectEnvCreatedType1 = "encrypted" + CreateProjectEnvCreatedType1Plain CreateProjectEnvCreatedType1 = "plain" + CreateProjectEnvCreatedType1Sensitive CreateProjectEnvCreatedType1 = "sensitive" + CreateProjectEnvCreatedType1Secret CreateProjectEnvCreatedType1 = "secret" ) -func (e CreatedType1) ToPointer() *CreatedType1 { +func (e CreateProjectEnvCreatedType1) ToPointer() *CreateProjectEnvCreatedType1 { return &e } -func (e *CreatedType1) UnmarshalJSON(data []byte) error { +func (e *CreateProjectEnvCreatedType1) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { return err @@ -2497,10 +2497,10 @@ func (e *CreatedType1) UnmarshalJSON(data []byte) error { case "sensitive": fallthrough case "secret": - *e = CreatedType1(v) + *e = CreateProjectEnvCreatedType1(v) return nil default: - return fmt.Errorf("invalid value for CreatedType1: %v", v) + return fmt.Errorf("invalid value for CreateProjectEnvCreatedType1: %v", v) } } @@ -3727,9 +3727,9 @@ func (o *CreateProjectEnvInternalContentHint1) GetEncryptedValue() string { return o.EncryptedValue } -type Created1 struct { - Target *CreatedTargetUnion1 `json:"target,omitempty"` - Type CreatedType1 `json:"type"` +type CreateProjectEnvCreated1 struct { + Target *CreatedTargetUnion1 `json:"target,omitempty"` + Type CreateProjectEnvCreatedType1 `json:"type"` // This is used to identiy variables that have been migrated from type secret to sensitive. SunsetSecretID *string `json:"sunsetSecretId,omitempty"` Decrypted *bool `json:"decrypted,omitempty"` @@ -3753,239 +3753,239 @@ type Created1 struct { System *bool `json:"system,omitempty"` } -func (c Created1) MarshalJSON() ([]byte, error) { +func (c CreateProjectEnvCreated1) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(c, "", false) } -func (c *Created1) UnmarshalJSON(data []byte) error { +func (c *CreateProjectEnvCreated1) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &c, "", false, []string{"type", "value", "key"}); err != nil { return err } return nil } -func (o *Created1) GetTarget() *CreatedTargetUnion1 { +func (o *CreateProjectEnvCreated1) GetTarget() *CreatedTargetUnion1 { if o == nil { return nil } return o.Target } -func (o *Created1) GetType() CreatedType1 { +func (o *CreateProjectEnvCreated1) GetType() CreateProjectEnvCreatedType1 { if o == nil { - return CreatedType1("") + return CreateProjectEnvCreatedType1("") } return o.Type } -func (o *Created1) GetSunsetSecretID() *string { +func (o *CreateProjectEnvCreated1) GetSunsetSecretID() *string { if o == nil { return nil } return o.SunsetSecretID } -func (o *Created1) GetDecrypted() *bool { +func (o *CreateProjectEnvCreated1) GetDecrypted() *bool { if o == nil { return nil } return o.Decrypted } -func (o *Created1) GetValue() string { +func (o *CreateProjectEnvCreated1) GetValue() string { if o == nil { return "" } return o.Value } -func (o *Created1) GetVsmValue() *string { +func (o *CreateProjectEnvCreated1) GetVsmValue() *string { if o == nil { return nil } return o.VsmValue } -func (o *Created1) GetID() *string { +func (o *CreateProjectEnvCreated1) GetID() *string { if o == nil { return nil } return o.ID } -func (o *Created1) GetKey() string { +func (o *CreateProjectEnvCreated1) GetKey() string { if o == nil { return "" } return o.Key } -func (o *Created1) GetConfigurationID() *string { +func (o *CreateProjectEnvCreated1) GetConfigurationID() *string { if o == nil { return nil } return o.ConfigurationID } -func (o *Created1) GetCreatedAt() *float64 { +func (o *CreateProjectEnvCreated1) GetCreatedAt() *float64 { if o == nil { return nil } return o.CreatedAt } -func (o *Created1) GetUpdatedAt() *float64 { +func (o *CreateProjectEnvCreated1) GetUpdatedAt() *float64 { if o == nil { return nil } return o.UpdatedAt } -func (o *Created1) GetCreatedBy() *string { +func (o *CreateProjectEnvCreated1) GetCreatedBy() *string { if o == nil { return nil } return o.CreatedBy } -func (o *Created1) GetUpdatedBy() *string { +func (o *CreateProjectEnvCreated1) GetUpdatedBy() *string { if o == nil { return nil } return o.UpdatedBy } -func (o *Created1) GetGitBranch() *string { +func (o *CreateProjectEnvCreated1) GetGitBranch() *string { if o == nil { return nil } return o.GitBranch } -func (o *Created1) GetEdgeConfigID() *string { +func (o *CreateProjectEnvCreated1) GetEdgeConfigID() *string { if o == nil { return nil } return o.EdgeConfigID } -func (o *Created1) GetEdgeConfigTokenID() *string { +func (o *CreateProjectEnvCreated1) GetEdgeConfigTokenID() *string { if o == nil { return nil } return o.EdgeConfigTokenID } -func (o *Created1) GetContentHint() *CreateProjectEnvContentHintUnion1 { +func (o *CreateProjectEnvCreated1) GetContentHint() *CreateProjectEnvContentHintUnion1 { if o == nil { return nil } return o.ContentHint } -func (o *Created1) GetInternalContentHint() *CreateProjectEnvInternalContentHint1 { +func (o *CreateProjectEnvCreated1) GetInternalContentHint() *CreateProjectEnvInternalContentHint1 { if o == nil { return nil } return o.InternalContentHint } -func (o *Created1) GetComment() *string { +func (o *CreateProjectEnvCreated1) GetComment() *string { if o == nil { return nil } return o.Comment } -func (o *Created1) GetCustomEnvironmentIds() []string { +func (o *CreateProjectEnvCreated1) GetCustomEnvironmentIds() []string { if o == nil { return nil } return o.CustomEnvironmentIds } -func (o *Created1) GetSystem() *bool { +func (o *CreateProjectEnvCreated1) GetSystem() *bool { if o == nil { return nil } return o.System } -type CreatedUnionType string +type CreatedType string const ( - CreatedUnionTypeCreated1 CreatedUnionType = "created_1" - CreatedUnionTypeArrayOfCreated2 CreatedUnionType = "arrayOfCreated2" + CreatedTypeCreateProjectEnvCreated1 CreatedType = "createProjectEnv_created_1" + CreatedTypeArrayOfCreateProjectEnvCreated2 CreatedType = "arrayOfCreateProjectEnvCreated2" ) -type CreatedUnion struct { - Created1 *Created1 `queryParam:"inline"` - ArrayOfCreated2 []Created2 `queryParam:"inline"` +type Created struct { + CreateProjectEnvCreated1 *CreateProjectEnvCreated1 `queryParam:"inline"` + ArrayOfCreateProjectEnvCreated2 []CreateProjectEnvCreated2 `queryParam:"inline"` - Type CreatedUnionType + Type CreatedType } -func CreateCreatedUnionCreated1(created1 Created1) CreatedUnion { - typ := CreatedUnionTypeCreated1 +func CreateCreatedCreateProjectEnvCreated1(createProjectEnvCreated1 CreateProjectEnvCreated1) Created { + typ := CreatedTypeCreateProjectEnvCreated1 - return CreatedUnion{ - Created1: &created1, - Type: typ, + return Created{ + CreateProjectEnvCreated1: &createProjectEnvCreated1, + Type: typ, } } -func CreateCreatedUnionArrayOfCreated2(arrayOfCreated2 []Created2) CreatedUnion { - typ := CreatedUnionTypeArrayOfCreated2 +func CreateCreatedArrayOfCreateProjectEnvCreated2(arrayOfCreateProjectEnvCreated2 []CreateProjectEnvCreated2) Created { + typ := CreatedTypeArrayOfCreateProjectEnvCreated2 - return CreatedUnion{ - ArrayOfCreated2: arrayOfCreated2, - Type: typ, + return Created{ + ArrayOfCreateProjectEnvCreated2: arrayOfCreateProjectEnvCreated2, + Type: typ, } } -func (u *CreatedUnion) UnmarshalJSON(data []byte) error { +func (u *Created) UnmarshalJSON(data []byte) error { - var created1 Created1 = Created1{} - if err := utils.UnmarshalJSON(data, &created1, "", true, nil); err == nil { - u.Created1 = &created1 - u.Type = CreatedUnionTypeCreated1 + var createProjectEnvCreated1 CreateProjectEnvCreated1 = CreateProjectEnvCreated1{} + if err := utils.UnmarshalJSON(data, &createProjectEnvCreated1, "", true, nil); err == nil { + u.CreateProjectEnvCreated1 = &createProjectEnvCreated1 + u.Type = CreatedTypeCreateProjectEnvCreated1 return nil } - var arrayOfCreated2 []Created2 = []Created2{} - if err := utils.UnmarshalJSON(data, &arrayOfCreated2, "", true, nil); err == nil { - u.ArrayOfCreated2 = arrayOfCreated2 - u.Type = CreatedUnionTypeArrayOfCreated2 + var arrayOfCreateProjectEnvCreated2 []CreateProjectEnvCreated2 = []CreateProjectEnvCreated2{} + if err := utils.UnmarshalJSON(data, &arrayOfCreateProjectEnvCreated2, "", true, nil); err == nil { + u.ArrayOfCreateProjectEnvCreated2 = arrayOfCreateProjectEnvCreated2 + u.Type = CreatedTypeArrayOfCreateProjectEnvCreated2 return nil } - return fmt.Errorf("could not unmarshal `%s` into any supported union types for CreatedUnion", string(data)) + return fmt.Errorf("could not unmarshal `%s` into any supported union types for Created", string(data)) } -func (u CreatedUnion) MarshalJSON() ([]byte, error) { - if u.Created1 != nil { - return utils.MarshalJSON(u.Created1, "", true) +func (u Created) MarshalJSON() ([]byte, error) { + if u.CreateProjectEnvCreated1 != nil { + return utils.MarshalJSON(u.CreateProjectEnvCreated1, "", true) } - if u.ArrayOfCreated2 != nil { - return utils.MarshalJSON(u.ArrayOfCreated2, "", true) + if u.ArrayOfCreateProjectEnvCreated2 != nil { + return utils.MarshalJSON(u.ArrayOfCreateProjectEnvCreated2, "", true) } - return nil, errors.New("could not marshal union type CreatedUnion: all fields are null") + return nil, errors.New("could not marshal union type Created: all fields are null") } -type ValueEnum string +type CreateProjectEnvValueEnum string const ( - ValueEnumProduction ValueEnum = "production" - ValueEnumPreview ValueEnum = "preview" - ValueEnumDevelopment ValueEnum = "development" + CreateProjectEnvValueEnumProduction CreateProjectEnvValueEnum = "production" + CreateProjectEnvValueEnumPreview CreateProjectEnvValueEnum = "preview" + CreateProjectEnvValueEnumDevelopment CreateProjectEnvValueEnum = "development" ) -func (e ValueEnum) ToPointer() *ValueEnum { +func (e CreateProjectEnvValueEnum) ToPointer() *CreateProjectEnvValueEnum { return &e } -func (e *ValueEnum) UnmarshalJSON(data []byte) error { +func (e *CreateProjectEnvValueEnum) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { return err @@ -3996,23 +3996,23 @@ func (e *ValueEnum) UnmarshalJSON(data []byte) error { case "preview": fallthrough case "development": - *e = ValueEnum(v) + *e = CreateProjectEnvValueEnum(v) return nil default: - return fmt.Errorf("invalid value for ValueEnum: %v", v) + return fmt.Errorf("invalid value for CreateProjectEnvValueEnum: %v", v) } } type CreateProjectEnvValueUnionType string const ( - CreateProjectEnvValueUnionTypeStr CreateProjectEnvValueUnionType = "str" - CreateProjectEnvValueUnionTypeArrayOfValueEnum CreateProjectEnvValueUnionType = "arrayOfValueEnum" + CreateProjectEnvValueUnionTypeStr CreateProjectEnvValueUnionType = "str" + CreateProjectEnvValueUnionTypeArrayOfCreateProjectEnvValueEnum CreateProjectEnvValueUnionType = "arrayOfCreateProjectEnvValueEnum" ) type CreateProjectEnvValueUnion struct { - Str *string `queryParam:"inline"` - ArrayOfValueEnum []ValueEnum `queryParam:"inline"` + Str *string `queryParam:"inline"` + ArrayOfCreateProjectEnvValueEnum []CreateProjectEnvValueEnum `queryParam:"inline"` Type CreateProjectEnvValueUnionType } @@ -4026,12 +4026,12 @@ func CreateCreateProjectEnvValueUnionStr(str string) CreateProjectEnvValueUnion } } -func CreateCreateProjectEnvValueUnionArrayOfValueEnum(arrayOfValueEnum []ValueEnum) CreateProjectEnvValueUnion { - typ := CreateProjectEnvValueUnionTypeArrayOfValueEnum +func CreateCreateProjectEnvValueUnionArrayOfCreateProjectEnvValueEnum(arrayOfCreateProjectEnvValueEnum []CreateProjectEnvValueEnum) CreateProjectEnvValueUnion { + typ := CreateProjectEnvValueUnionTypeArrayOfCreateProjectEnvValueEnum return CreateProjectEnvValueUnion{ - ArrayOfValueEnum: arrayOfValueEnum, - Type: typ, + ArrayOfCreateProjectEnvValueEnum: arrayOfCreateProjectEnvValueEnum, + Type: typ, } } @@ -4044,10 +4044,10 @@ func (u *CreateProjectEnvValueUnion) UnmarshalJSON(data []byte) error { return nil } - var arrayOfValueEnum []ValueEnum = []ValueEnum{} - if err := utils.UnmarshalJSON(data, &arrayOfValueEnum, "", true, nil); err == nil { - u.ArrayOfValueEnum = arrayOfValueEnum - u.Type = CreateProjectEnvValueUnionTypeArrayOfValueEnum + var arrayOfCreateProjectEnvValueEnum []CreateProjectEnvValueEnum = []CreateProjectEnvValueEnum{} + if err := utils.UnmarshalJSON(data, &arrayOfCreateProjectEnvValueEnum, "", true, nil); err == nil { + u.ArrayOfCreateProjectEnvValueEnum = arrayOfCreateProjectEnvValueEnum + u.Type = CreateProjectEnvValueUnionTypeArrayOfCreateProjectEnvValueEnum return nil } @@ -4059,25 +4059,25 @@ func (u CreateProjectEnvValueUnion) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(u.Str, "", true) } - if u.ArrayOfValueEnum != nil { - return utils.MarshalJSON(u.ArrayOfValueEnum, "", true) + if u.ArrayOfCreateProjectEnvValueEnum != nil { + return utils.MarshalJSON(u.ArrayOfCreateProjectEnvValueEnum, "", true) } return nil, errors.New("could not marshal union type CreateProjectEnvValueUnion: all fields are null") } -type TargetErrorEnum2 string +type CreateProjectEnvTargetErrorEnum2 string const ( - TargetErrorEnum2Production TargetErrorEnum2 = "production" - TargetErrorEnum2Preview TargetErrorEnum2 = "preview" - TargetErrorEnum2Development TargetErrorEnum2 = "development" + CreateProjectEnvTargetErrorEnum2Production CreateProjectEnvTargetErrorEnum2 = "production" + CreateProjectEnvTargetErrorEnum2Preview CreateProjectEnvTargetErrorEnum2 = "preview" + CreateProjectEnvTargetErrorEnum2Development CreateProjectEnvTargetErrorEnum2 = "development" ) -func (e TargetErrorEnum2) ToPointer() *TargetErrorEnum2 { +func (e CreateProjectEnvTargetErrorEnum2) ToPointer() *CreateProjectEnvTargetErrorEnum2 { return &e } -func (e *TargetErrorEnum2) UnmarshalJSON(data []byte) error { +func (e *CreateProjectEnvTargetErrorEnum2) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { return err @@ -4088,25 +4088,25 @@ func (e *TargetErrorEnum2) UnmarshalJSON(data []byte) error { case "preview": fallthrough case "development": - *e = TargetErrorEnum2(v) + *e = CreateProjectEnvTargetErrorEnum2(v) return nil default: - return fmt.Errorf("invalid value for TargetErrorEnum2: %v", v) + return fmt.Errorf("invalid value for CreateProjectEnvTargetErrorEnum2: %v", v) } } -type TargetErrorEnum1 string +type CreateProjectEnvTargetErrorEnum1 string const ( - TargetErrorEnum1Production TargetErrorEnum1 = "production" - TargetErrorEnum1Preview TargetErrorEnum1 = "preview" - TargetErrorEnum1Development TargetErrorEnum1 = "development" + CreateProjectEnvTargetErrorEnum1Production CreateProjectEnvTargetErrorEnum1 = "production" + CreateProjectEnvTargetErrorEnum1Preview CreateProjectEnvTargetErrorEnum1 = "preview" + CreateProjectEnvTargetErrorEnum1Development CreateProjectEnvTargetErrorEnum1 = "development" ) -func (e TargetErrorEnum1) ToPointer() *TargetErrorEnum1 { +func (e CreateProjectEnvTargetErrorEnum1) ToPointer() *CreateProjectEnvTargetErrorEnum1 { return &e } -func (e *TargetErrorEnum1) UnmarshalJSON(data []byte) error { +func (e *CreateProjectEnvTargetErrorEnum1) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { return err @@ -4117,88 +4117,88 @@ func (e *TargetErrorEnum1) UnmarshalJSON(data []byte) error { case "preview": fallthrough case "development": - *e = TargetErrorEnum1(v) + *e = CreateProjectEnvTargetErrorEnum1(v) return nil default: - return fmt.Errorf("invalid value for TargetErrorEnum1: %v", v) + return fmt.Errorf("invalid value for CreateProjectEnvTargetErrorEnum1: %v", v) } } -type ErrorTargetUnionType string +type CreateProjectEnvErrorTargetUnionType string const ( - ErrorTargetUnionTypeArrayOfTargetErrorEnum1 ErrorTargetUnionType = "arrayOfTargetErrorEnum1" - ErrorTargetUnionTypeTargetErrorEnum2 ErrorTargetUnionType = "target_error_enum_2" + CreateProjectEnvErrorTargetUnionTypeArrayOfCreateProjectEnvTargetErrorEnum1 CreateProjectEnvErrorTargetUnionType = "arrayOfCreateProjectEnvTargetErrorEnum1" + CreateProjectEnvErrorTargetUnionTypeCreateProjectEnvTargetErrorEnum2 CreateProjectEnvErrorTargetUnionType = "createProjectEnv_target_error_enum_2" ) -type ErrorTargetUnion struct { - ArrayOfTargetErrorEnum1 []TargetErrorEnum1 `queryParam:"inline"` - TargetErrorEnum2 *TargetErrorEnum2 `queryParam:"inline"` +type CreateProjectEnvErrorTargetUnion struct { + ArrayOfCreateProjectEnvTargetErrorEnum1 []CreateProjectEnvTargetErrorEnum1 `queryParam:"inline"` + CreateProjectEnvTargetErrorEnum2 *CreateProjectEnvTargetErrorEnum2 `queryParam:"inline"` - Type ErrorTargetUnionType + Type CreateProjectEnvErrorTargetUnionType } -func CreateErrorTargetUnionArrayOfTargetErrorEnum1(arrayOfTargetErrorEnum1 []TargetErrorEnum1) ErrorTargetUnion { - typ := ErrorTargetUnionTypeArrayOfTargetErrorEnum1 +func CreateCreateProjectEnvErrorTargetUnionArrayOfCreateProjectEnvTargetErrorEnum1(arrayOfCreateProjectEnvTargetErrorEnum1 []CreateProjectEnvTargetErrorEnum1) CreateProjectEnvErrorTargetUnion { + typ := CreateProjectEnvErrorTargetUnionTypeArrayOfCreateProjectEnvTargetErrorEnum1 - return ErrorTargetUnion{ - ArrayOfTargetErrorEnum1: arrayOfTargetErrorEnum1, - Type: typ, + return CreateProjectEnvErrorTargetUnion{ + ArrayOfCreateProjectEnvTargetErrorEnum1: arrayOfCreateProjectEnvTargetErrorEnum1, + Type: typ, } } -func CreateErrorTargetUnionTargetErrorEnum2(targetErrorEnum2 TargetErrorEnum2) ErrorTargetUnion { - typ := ErrorTargetUnionTypeTargetErrorEnum2 +func CreateCreateProjectEnvErrorTargetUnionCreateProjectEnvTargetErrorEnum2(createProjectEnvTargetErrorEnum2 CreateProjectEnvTargetErrorEnum2) CreateProjectEnvErrorTargetUnion { + typ := CreateProjectEnvErrorTargetUnionTypeCreateProjectEnvTargetErrorEnum2 - return ErrorTargetUnion{ - TargetErrorEnum2: &targetErrorEnum2, - Type: typ, + return CreateProjectEnvErrorTargetUnion{ + CreateProjectEnvTargetErrorEnum2: &createProjectEnvTargetErrorEnum2, + Type: typ, } } -func (u *ErrorTargetUnion) UnmarshalJSON(data []byte) error { +func (u *CreateProjectEnvErrorTargetUnion) UnmarshalJSON(data []byte) error { - var arrayOfTargetErrorEnum1 []TargetErrorEnum1 = []TargetErrorEnum1{} - if err := utils.UnmarshalJSON(data, &arrayOfTargetErrorEnum1, "", true, nil); err == nil { - u.ArrayOfTargetErrorEnum1 = arrayOfTargetErrorEnum1 - u.Type = ErrorTargetUnionTypeArrayOfTargetErrorEnum1 + var arrayOfCreateProjectEnvTargetErrorEnum1 []CreateProjectEnvTargetErrorEnum1 = []CreateProjectEnvTargetErrorEnum1{} + if err := utils.UnmarshalJSON(data, &arrayOfCreateProjectEnvTargetErrorEnum1, "", true, nil); err == nil { + u.ArrayOfCreateProjectEnvTargetErrorEnum1 = arrayOfCreateProjectEnvTargetErrorEnum1 + u.Type = CreateProjectEnvErrorTargetUnionTypeArrayOfCreateProjectEnvTargetErrorEnum1 return nil } - var targetErrorEnum2 TargetErrorEnum2 = TargetErrorEnum2("") - if err := utils.UnmarshalJSON(data, &targetErrorEnum2, "", true, nil); err == nil { - u.TargetErrorEnum2 = &targetErrorEnum2 - u.Type = ErrorTargetUnionTypeTargetErrorEnum2 + var createProjectEnvTargetErrorEnum2 CreateProjectEnvTargetErrorEnum2 = CreateProjectEnvTargetErrorEnum2("") + if err := utils.UnmarshalJSON(data, &createProjectEnvTargetErrorEnum2, "", true, nil); err == nil { + u.CreateProjectEnvTargetErrorEnum2 = &createProjectEnvTargetErrorEnum2 + u.Type = CreateProjectEnvErrorTargetUnionTypeCreateProjectEnvTargetErrorEnum2 return nil } - return fmt.Errorf("could not unmarshal `%s` into any supported union types for ErrorTargetUnion", string(data)) + return fmt.Errorf("could not unmarshal `%s` into any supported union types for CreateProjectEnvErrorTargetUnion", string(data)) } -func (u ErrorTargetUnion) MarshalJSON() ([]byte, error) { - if u.ArrayOfTargetErrorEnum1 != nil { - return utils.MarshalJSON(u.ArrayOfTargetErrorEnum1, "", true) +func (u CreateProjectEnvErrorTargetUnion) MarshalJSON() ([]byte, error) { + if u.ArrayOfCreateProjectEnvTargetErrorEnum1 != nil { + return utils.MarshalJSON(u.ArrayOfCreateProjectEnvTargetErrorEnum1, "", true) } - if u.TargetErrorEnum2 != nil { - return utils.MarshalJSON(u.TargetErrorEnum2, "", true) + if u.CreateProjectEnvTargetErrorEnum2 != nil { + return utils.MarshalJSON(u.CreateProjectEnvTargetErrorEnum2, "", true) } - return nil, errors.New("could not marshal union type ErrorTargetUnion: all fields are null") + return nil, errors.New("could not marshal union type CreateProjectEnvErrorTargetUnion: all fields are null") } type CreateProjectEnvError struct { - Code string `json:"code"` - Message string `json:"message"` - Key *string `json:"key,omitempty"` - EnvVarID *string `json:"envVarId,omitempty"` - EnvVarKey *string `json:"envVarKey,omitempty"` - Action *string `json:"action,omitempty"` - Link *string `json:"link,omitempty"` - Value *CreateProjectEnvValueUnion `json:"value,omitempty"` - GitBranch *string `json:"gitBranch,omitempty"` - Target *ErrorTargetUnion `json:"target,omitempty"` - Project *string `json:"project,omitempty"` + Code string `json:"code"` + Message string `json:"message"` + Key *string `json:"key,omitempty"` + EnvVarID *string `json:"envVarId,omitempty"` + EnvVarKey *string `json:"envVarKey,omitempty"` + Action *string `json:"action,omitempty"` + Link *string `json:"link,omitempty"` + Value *CreateProjectEnvValueUnion `json:"value,omitempty"` + GitBranch *string `json:"gitBranch,omitempty"` + Target *CreateProjectEnvErrorTargetUnion `json:"target,omitempty"` + Project *string `json:"project,omitempty"` } func (o *CreateProjectEnvError) GetCode() string { @@ -4264,7 +4264,7 @@ func (o *CreateProjectEnvError) GetGitBranch() *string { return o.GitBranch } -func (o *CreateProjectEnvError) GetTarget() *ErrorTargetUnion { +func (o *CreateProjectEnvError) GetTarget() *CreateProjectEnvErrorTargetUnion { if o == nil { return nil } @@ -4278,11 +4278,11 @@ func (o *CreateProjectEnvError) GetProject() *string { return o.Project } -type Failed struct { +type CreateProjectEnvFailed struct { Error CreateProjectEnvError `json:"error"` } -func (o *Failed) GetError() CreateProjectEnvError { +func (o *CreateProjectEnvFailed) GetError() CreateProjectEnvError { if o == nil { return CreateProjectEnvError{} } @@ -4291,20 +4291,20 @@ func (o *Failed) GetError() CreateProjectEnvError { // CreateProjectEnvResponseBody - The environment variable was created successfully type CreateProjectEnvResponseBody struct { - Created CreatedUnion `json:"created"` - Failed []Failed `json:"failed"` + Created Created `json:"created"` + Failed []CreateProjectEnvFailed `json:"failed"` } -func (o *CreateProjectEnvResponseBody) GetCreated() CreatedUnion { +func (o *CreateProjectEnvResponseBody) GetCreated() Created { if o == nil { - return CreatedUnion{} + return Created{} } return o.Created } -func (o *CreateProjectEnvResponseBody) GetFailed() []Failed { +func (o *CreateProjectEnvResponseBody) GetFailed() []CreateProjectEnvFailed { if o == nil { - return []Failed{} + return []CreateProjectEnvFailed{} } return o.Failed } diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/createprojecttransferrequest.go b/src/__tests__/mockserver/internal/sdk/models/operations/createprojecttransferrequest.go index 4f322b06a..5af7f5c8d 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/createprojecttransferrequest.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/createprojecttransferrequest.go @@ -33,8 +33,8 @@ type CreateProjectTransferRequestRequest struct { // The Team identifier to perform the request on behalf of. TeamID *string `queryParam:"style=form,explode=true,name=teamId"` // The Team slug to perform the request on behalf of. - Slug *string `queryParam:"style=form,explode=true,name=slug"` - RequestBody *CreateProjectTransferRequestRequestBody `request:"mediaType=application/json"` + Slug *string `queryParam:"style=form,explode=true,name=slug"` + Body *CreateProjectTransferRequestRequestBody `request:"mediaType=application/json"` } func (o *CreateProjectTransferRequestRequest) GetIDOrName() string { @@ -58,11 +58,11 @@ func (o *CreateProjectTransferRequestRequest) GetSlug() *string { return o.Slug } -func (o *CreateProjectTransferRequestRequest) GetRequestBody() *CreateProjectTransferRequestRequestBody { +func (o *CreateProjectTransferRequestRequest) GetBody() *CreateProjectTransferRequestRequestBody { if o == nil { return nil } - return o.RequestBody + return o.Body } // CreateProjectTransferRequestResponseBody - The project transfer request has been initiated successfully. diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/createrecord.go b/src/__tests__/mockserver/internal/sdk/models/operations/createrecord.go index aba5e5639..af084b7a6 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/createrecord.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/createrecord.go @@ -1418,8 +1418,8 @@ type CreateRecordRequest struct { // The Team identifier to perform the request on behalf of. TeamID *string `queryParam:"style=form,explode=true,name=teamId"` // The Team slug to perform the request on behalf of. - Slug *string `queryParam:"style=form,explode=true,name=slug"` - RequestBody CreateRecordRequestBody `request:"mediaType=application/json"` + Slug *string `queryParam:"style=form,explode=true,name=slug"` + Body CreateRecordRequestBody `request:"mediaType=application/json"` } func (o *CreateRecordRequest) GetDomain() string { @@ -1443,11 +1443,11 @@ func (o *CreateRecordRequest) GetSlug() *string { return o.Slug } -func (o *CreateRecordRequest) GetRequestBody() CreateRecordRequestBody { +func (o *CreateRecordRequest) GetBody() CreateRecordRequestBody { if o == nil { return CreateRecordRequestBody{} } - return o.RequestBody + return o.Body } type CreateRecordResponseBody2 struct { diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/createsharedenvvariable.go b/src/__tests__/mockserver/internal/sdk/models/operations/createsharedenvvariable.go new file mode 100644 index 000000000..8a8c3487e --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/operations/createsharedenvvariable.go @@ -0,0 +1,992 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package operations + +import ( + "encoding/json" + "errors" + "fmt" + "mockserver/internal/sdk/models/components" + "mockserver/internal/sdk/utils" + "time" +) + +type Ev2 struct { + // The name of the Shared Environment Variable + Key string `json:"key"` + // The value of the Shared Environment Variable + Value string `json:"value"` + // A comment to add context on what this Shared Environment Variable is for + Comment *string `json:"comment,omitempty"` +} + +func (e Ev2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(e, "", false) +} + +func (e *Ev2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &e, "", false, []string{"key", "value"}); err != nil { + return err + } + return nil +} + +func (o *Ev2) GetKey() string { + if o == nil { + return "" + } + return o.Key +} + +func (o *Ev2) GetValue() string { + if o == nil { + return "" + } + return o.Value +} + +func (o *Ev2) GetComment() *string { + if o == nil { + return nil + } + return o.Comment +} + +// CreateSharedEnvVariableTypeRequest2 - The type of environment variable +type CreateSharedEnvVariableTypeRequest2 string + +const ( + CreateSharedEnvVariableTypeRequest2Encrypted CreateSharedEnvVariableTypeRequest2 = "encrypted" + CreateSharedEnvVariableTypeRequest2Sensitive CreateSharedEnvVariableTypeRequest2 = "sensitive" +) + +func (e CreateSharedEnvVariableTypeRequest2) ToPointer() *CreateSharedEnvVariableTypeRequest2 { + return &e +} +func (e *CreateSharedEnvVariableTypeRequest2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "encrypted": + fallthrough + case "sensitive": + *e = CreateSharedEnvVariableTypeRequest2(v) + return nil + default: + return fmt.Errorf("invalid value for CreateSharedEnvVariableTypeRequest2: %v", v) + } +} + +type CreateSharedEnvVariableTargetRequest2 string + +const ( + CreateSharedEnvVariableTargetRequest2Production CreateSharedEnvVariableTargetRequest2 = "production" + CreateSharedEnvVariableTargetRequest2Preview CreateSharedEnvVariableTargetRequest2 = "preview" + CreateSharedEnvVariableTargetRequest2Development CreateSharedEnvVariableTargetRequest2 = "development" +) + +func (e CreateSharedEnvVariableTargetRequest2) ToPointer() *CreateSharedEnvVariableTargetRequest2 { + return &e +} +func (e *CreateSharedEnvVariableTargetRequest2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "production": + fallthrough + case "preview": + fallthrough + case "development": + *e = CreateSharedEnvVariableTargetRequest2(v) + return nil + default: + return fmt.Errorf("invalid value for CreateSharedEnvVariableTargetRequest2: %v", v) + } +} + +type CreateSharedEnvVariableRequestBody2 struct { + Evs []Ev2 `json:"evs"` + // The type of environment variable + Type *CreateSharedEnvVariableTypeRequest2 `json:"type,omitempty"` + // The target environment of the Shared Environment Variable + Target []CreateSharedEnvVariableTargetRequest2 `json:"target,omitempty"` + // Associate a Shared Environment Variable to projects. + // + // Deprecated: This will be removed in a future release, please migrate away from it as soon as possible. + ProjectID []string `json:"projectId,omitempty"` +} + +func (c CreateSharedEnvVariableRequestBody2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(c, "", false) +} + +func (c *CreateSharedEnvVariableRequestBody2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &c, "", false, []string{"evs"}); err != nil { + return err + } + return nil +} + +func (o *CreateSharedEnvVariableRequestBody2) GetEvs() []Ev2 { + if o == nil { + return []Ev2{} + } + return o.Evs +} + +func (o *CreateSharedEnvVariableRequestBody2) GetType() *CreateSharedEnvVariableTypeRequest2 { + if o == nil { + return nil + } + return o.Type +} + +func (o *CreateSharedEnvVariableRequestBody2) GetTarget() []CreateSharedEnvVariableTargetRequest2 { + if o == nil { + return nil + } + return o.Target +} + +func (o *CreateSharedEnvVariableRequestBody2) GetProjectID() []string { + if o == nil { + return nil + } + return o.ProjectID +} + +type Ev1 struct { + // The name of the Shared Environment Variable + Key string `json:"key"` + // The value of the Shared Environment Variable + Value string `json:"value"` + // A comment to add context on what this Shared Environment Variable is for + Comment *string `json:"comment,omitempty"` +} + +func (e Ev1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(e, "", false) +} + +func (e *Ev1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &e, "", false, []string{"key", "value"}); err != nil { + return err + } + return nil +} + +func (o *Ev1) GetKey() string { + if o == nil { + return "" + } + return o.Key +} + +func (o *Ev1) GetValue() string { + if o == nil { + return "" + } + return o.Value +} + +func (o *Ev1) GetComment() *string { + if o == nil { + return nil + } + return o.Comment +} + +// CreateSharedEnvVariableTypeRequest1 - The type of environment variable +type CreateSharedEnvVariableTypeRequest1 string + +const ( + CreateSharedEnvVariableTypeRequest1Encrypted CreateSharedEnvVariableTypeRequest1 = "encrypted" + CreateSharedEnvVariableTypeRequest1Sensitive CreateSharedEnvVariableTypeRequest1 = "sensitive" +) + +func (e CreateSharedEnvVariableTypeRequest1) ToPointer() *CreateSharedEnvVariableTypeRequest1 { + return &e +} +func (e *CreateSharedEnvVariableTypeRequest1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "encrypted": + fallthrough + case "sensitive": + *e = CreateSharedEnvVariableTypeRequest1(v) + return nil + default: + return fmt.Errorf("invalid value for CreateSharedEnvVariableTypeRequest1: %v", v) + } +} + +type CreateSharedEnvVariableTargetRequest1 string + +const ( + CreateSharedEnvVariableTargetRequest1Production CreateSharedEnvVariableTargetRequest1 = "production" + CreateSharedEnvVariableTargetRequest1Preview CreateSharedEnvVariableTargetRequest1 = "preview" + CreateSharedEnvVariableTargetRequest1Development CreateSharedEnvVariableTargetRequest1 = "development" +) + +func (e CreateSharedEnvVariableTargetRequest1) ToPointer() *CreateSharedEnvVariableTargetRequest1 { + return &e +} +func (e *CreateSharedEnvVariableTargetRequest1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "production": + fallthrough + case "preview": + fallthrough + case "development": + *e = CreateSharedEnvVariableTargetRequest1(v) + return nil + default: + return fmt.Errorf("invalid value for CreateSharedEnvVariableTargetRequest1: %v", v) + } +} + +type CreateSharedEnvVariableRequestBody1 struct { + Evs []Ev1 `json:"evs"` + // The type of environment variable + Type *CreateSharedEnvVariableTypeRequest1 `json:"type,omitempty"` + // The target environment of the Shared Environment Variable + Target []CreateSharedEnvVariableTargetRequest1 `json:"target"` + // Associate a Shared Environment Variable to projects. + // + // Deprecated: This will be removed in a future release, please migrate away from it as soon as possible. + ProjectID []string `json:"projectId,omitempty"` +} + +func (c CreateSharedEnvVariableRequestBody1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(c, "", false) +} + +func (c *CreateSharedEnvVariableRequestBody1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &c, "", false, []string{"evs", "target"}); err != nil { + return err + } + return nil +} + +func (o *CreateSharedEnvVariableRequestBody1) GetEvs() []Ev1 { + if o == nil { + return []Ev1{} + } + return o.Evs +} + +func (o *CreateSharedEnvVariableRequestBody1) GetType() *CreateSharedEnvVariableTypeRequest1 { + if o == nil { + return nil + } + return o.Type +} + +func (o *CreateSharedEnvVariableRequestBody1) GetTarget() []CreateSharedEnvVariableTargetRequest1 { + if o == nil { + return []CreateSharedEnvVariableTargetRequest1{} + } + return o.Target +} + +func (o *CreateSharedEnvVariableRequestBody1) GetProjectID() []string { + if o == nil { + return nil + } + return o.ProjectID +} + +type CreateSharedEnvVariableRequestBodyType string + +const ( + CreateSharedEnvVariableRequestBodyTypeCreateSharedEnvVariableRequestBody1 CreateSharedEnvVariableRequestBodyType = "createSharedEnvVariable_RequestBody_1" + CreateSharedEnvVariableRequestBodyTypeCreateSharedEnvVariableRequestBody2 CreateSharedEnvVariableRequestBodyType = "createSharedEnvVariable_RequestBody_2" +) + +type CreateSharedEnvVariableRequestBody struct { + CreateSharedEnvVariableRequestBody1 *CreateSharedEnvVariableRequestBody1 `queryParam:"inline"` + CreateSharedEnvVariableRequestBody2 *CreateSharedEnvVariableRequestBody2 `queryParam:"inline"` + + Type CreateSharedEnvVariableRequestBodyType +} + +func CreateCreateSharedEnvVariableRequestBodyCreateSharedEnvVariableRequestBody1(createSharedEnvVariableRequestBody1 CreateSharedEnvVariableRequestBody1) CreateSharedEnvVariableRequestBody { + typ := CreateSharedEnvVariableRequestBodyTypeCreateSharedEnvVariableRequestBody1 + + return CreateSharedEnvVariableRequestBody{ + CreateSharedEnvVariableRequestBody1: &createSharedEnvVariableRequestBody1, + Type: typ, + } +} + +func CreateCreateSharedEnvVariableRequestBodyCreateSharedEnvVariableRequestBody2(createSharedEnvVariableRequestBody2 CreateSharedEnvVariableRequestBody2) CreateSharedEnvVariableRequestBody { + typ := CreateSharedEnvVariableRequestBodyTypeCreateSharedEnvVariableRequestBody2 + + return CreateSharedEnvVariableRequestBody{ + CreateSharedEnvVariableRequestBody2: &createSharedEnvVariableRequestBody2, + Type: typ, + } +} + +func (u *CreateSharedEnvVariableRequestBody) UnmarshalJSON(data []byte) error { + + var createSharedEnvVariableRequestBody1 CreateSharedEnvVariableRequestBody1 = CreateSharedEnvVariableRequestBody1{} + if err := utils.UnmarshalJSON(data, &createSharedEnvVariableRequestBody1, "", true, nil); err == nil { + u.CreateSharedEnvVariableRequestBody1 = &createSharedEnvVariableRequestBody1 + u.Type = CreateSharedEnvVariableRequestBodyTypeCreateSharedEnvVariableRequestBody1 + return nil + } + + var createSharedEnvVariableRequestBody2 CreateSharedEnvVariableRequestBody2 = CreateSharedEnvVariableRequestBody2{} + if err := utils.UnmarshalJSON(data, &createSharedEnvVariableRequestBody2, "", true, nil); err == nil { + u.CreateSharedEnvVariableRequestBody2 = &createSharedEnvVariableRequestBody2 + u.Type = CreateSharedEnvVariableRequestBodyTypeCreateSharedEnvVariableRequestBody2 + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for CreateSharedEnvVariableRequestBody", string(data)) +} + +func (u CreateSharedEnvVariableRequestBody) MarshalJSON() ([]byte, error) { + if u.CreateSharedEnvVariableRequestBody1 != nil { + return utils.MarshalJSON(u.CreateSharedEnvVariableRequestBody1, "", true) + } + + if u.CreateSharedEnvVariableRequestBody2 != nil { + return utils.MarshalJSON(u.CreateSharedEnvVariableRequestBody2, "", true) + } + + return nil, errors.New("could not marshal union type CreateSharedEnvVariableRequestBody: all fields are null") +} + +type CreateSharedEnvVariableRequest struct { + // The Team identifier to perform the request on behalf of. + TeamID *string `queryParam:"style=form,explode=true,name=teamId"` + // The Team slug to perform the request on behalf of. + Slug *string `queryParam:"style=form,explode=true,name=slug"` + Body *CreateSharedEnvVariableRequestBody `request:"mediaType=application/json"` +} + +func (o *CreateSharedEnvVariableRequest) GetTeamID() *string { + if o == nil { + return nil + } + return o.TeamID +} + +func (o *CreateSharedEnvVariableRequest) GetSlug() *string { + if o == nil { + return nil + } + return o.Slug +} + +func (o *CreateSharedEnvVariableRequest) GetBody() *CreateSharedEnvVariableRequestBody { + if o == nil { + return nil + } + return o.Body +} + +// CreateSharedEnvVariableCreatedType - The type of this cosmos doc instance, if blank, assume secret. +type CreateSharedEnvVariableCreatedType string + +const ( + CreateSharedEnvVariableCreatedTypeEncrypted CreateSharedEnvVariableCreatedType = "encrypted" + CreateSharedEnvVariableCreatedTypeSensitive CreateSharedEnvVariableCreatedType = "sensitive" + CreateSharedEnvVariableCreatedTypeSystem CreateSharedEnvVariableCreatedType = "system" + CreateSharedEnvVariableCreatedTypePlain CreateSharedEnvVariableCreatedType = "plain" +) + +func (e CreateSharedEnvVariableCreatedType) ToPointer() *CreateSharedEnvVariableCreatedType { + return &e +} +func (e *CreateSharedEnvVariableCreatedType) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "encrypted": + fallthrough + case "sensitive": + fallthrough + case "system": + fallthrough + case "plain": + *e = CreateSharedEnvVariableCreatedType(v) + return nil + default: + return fmt.Errorf("invalid value for CreateSharedEnvVariableCreatedType: %v", v) + } +} + +// CreateSharedEnvVariableCreatedTarget - environments this env variable targets +type CreateSharedEnvVariableCreatedTarget string + +const ( + CreateSharedEnvVariableCreatedTargetProduction CreateSharedEnvVariableCreatedTarget = "production" + CreateSharedEnvVariableCreatedTargetPreview CreateSharedEnvVariableCreatedTarget = "preview" + CreateSharedEnvVariableCreatedTargetDevelopment CreateSharedEnvVariableCreatedTarget = "development" +) + +func (e CreateSharedEnvVariableCreatedTarget) ToPointer() *CreateSharedEnvVariableCreatedTarget { + return &e +} +func (e *CreateSharedEnvVariableCreatedTarget) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "production": + fallthrough + case "preview": + fallthrough + case "development": + *e = CreateSharedEnvVariableCreatedTarget(v) + return nil + default: + return fmt.Errorf("invalid value for CreateSharedEnvVariableCreatedTarget: %v", v) + } +} + +type CreateSharedEnvVariableCreated struct { + // The date when the Shared Env Var was created. + Created *time.Time `json:"created,omitempty"` + // The name of the Shared Env Var. + Key *string `json:"key,omitempty"` + // The unique identifier of the owner (team) the Shared Env Var was created for. + OwnerID *string `json:"ownerId,omitempty"` + // The unique identifier of the Shared Env Var. + ID *string `json:"id,omitempty"` + // The unique identifier of the user who created the Shared Env Var. + CreatedBy *string `json:"createdBy,omitempty"` + // The unique identifier of the user who deleted the Shared Env Var. + DeletedBy *string `json:"deletedBy,omitempty"` + // The unique identifier of the user who last updated the Shared Env Var. + UpdatedBy *string `json:"updatedBy,omitempty"` + // Timestamp for when the Shared Env Var was created. + CreatedAt *float64 `json:"createdAt,omitempty"` + // Timestamp for when the Shared Env Var was (soft) deleted. + DeletedAt *float64 `json:"deletedAt,omitempty"` + // Timestamp for when the Shared Env Var was last updated. + UpdatedAt *float64 `json:"updatedAt,omitempty"` + // The value of the Shared Env Var. + Value *string `json:"value,omitempty"` + // The unique identifiers of the projects which the Shared Env Var is linked to. + ProjectID []string `json:"projectId,omitempty"` + // The type of this cosmos doc instance, if blank, assume secret. + Type *CreateSharedEnvVariableCreatedType `json:"type,omitempty"` + // environments this env variable targets + Target []CreateSharedEnvVariableCreatedTarget `json:"target,omitempty"` + // whether or not this env varible applies to custom environments + ApplyToAllCustomEnvironments *bool `json:"applyToAllCustomEnvironments,omitempty"` + // whether or not this env variable is decrypted + Decrypted *bool `json:"decrypted,omitempty"` + // A user provided comment that describes what this Shared Env Var is for. + Comment *string `json:"comment,omitempty"` + // The last editor full name or username. + LastEditedByDisplayName *string `json:"lastEditedByDisplayName,omitempty"` +} + +func (c CreateSharedEnvVariableCreated) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(c, "", false) +} + +func (c *CreateSharedEnvVariableCreated) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &c, "", false, nil); err != nil { + return err + } + return nil +} + +func (o *CreateSharedEnvVariableCreated) GetCreated() *time.Time { + if o == nil { + return nil + } + return o.Created +} + +func (o *CreateSharedEnvVariableCreated) GetKey() *string { + if o == nil { + return nil + } + return o.Key +} + +func (o *CreateSharedEnvVariableCreated) GetOwnerID() *string { + if o == nil { + return nil + } + return o.OwnerID +} + +func (o *CreateSharedEnvVariableCreated) GetID() *string { + if o == nil { + return nil + } + return o.ID +} + +func (o *CreateSharedEnvVariableCreated) GetCreatedBy() *string { + if o == nil { + return nil + } + return o.CreatedBy +} + +func (o *CreateSharedEnvVariableCreated) GetDeletedBy() *string { + if o == nil { + return nil + } + return o.DeletedBy +} + +func (o *CreateSharedEnvVariableCreated) GetUpdatedBy() *string { + if o == nil { + return nil + } + return o.UpdatedBy +} + +func (o *CreateSharedEnvVariableCreated) GetCreatedAt() *float64 { + if o == nil { + return nil + } + return o.CreatedAt +} + +func (o *CreateSharedEnvVariableCreated) GetDeletedAt() *float64 { + if o == nil { + return nil + } + return o.DeletedAt +} + +func (o *CreateSharedEnvVariableCreated) GetUpdatedAt() *float64 { + if o == nil { + return nil + } + return o.UpdatedAt +} + +func (o *CreateSharedEnvVariableCreated) GetValue() *string { + if o == nil { + return nil + } + return o.Value +} + +func (o *CreateSharedEnvVariableCreated) GetProjectID() []string { + if o == nil { + return nil + } + return o.ProjectID +} + +func (o *CreateSharedEnvVariableCreated) GetType() *CreateSharedEnvVariableCreatedType { + if o == nil { + return nil + } + return o.Type +} + +func (o *CreateSharedEnvVariableCreated) GetTarget() []CreateSharedEnvVariableCreatedTarget { + if o == nil { + return nil + } + return o.Target +} + +func (o *CreateSharedEnvVariableCreated) GetApplyToAllCustomEnvironments() *bool { + if o == nil { + return nil + } + return o.ApplyToAllCustomEnvironments +} + +func (o *CreateSharedEnvVariableCreated) GetDecrypted() *bool { + if o == nil { + return nil + } + return o.Decrypted +} + +func (o *CreateSharedEnvVariableCreated) GetComment() *string { + if o == nil { + return nil + } + return o.Comment +} + +func (o *CreateSharedEnvVariableCreated) GetLastEditedByDisplayName() *string { + if o == nil { + return nil + } + return o.LastEditedByDisplayName +} + +type CreateSharedEnvVariableValueEnum string + +const ( + CreateSharedEnvVariableValueEnumProduction CreateSharedEnvVariableValueEnum = "production" + CreateSharedEnvVariableValueEnumPreview CreateSharedEnvVariableValueEnum = "preview" + CreateSharedEnvVariableValueEnumDevelopment CreateSharedEnvVariableValueEnum = "development" +) + +func (e CreateSharedEnvVariableValueEnum) ToPointer() *CreateSharedEnvVariableValueEnum { + return &e +} +func (e *CreateSharedEnvVariableValueEnum) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "production": + fallthrough + case "preview": + fallthrough + case "development": + *e = CreateSharedEnvVariableValueEnum(v) + return nil + default: + return fmt.Errorf("invalid value for CreateSharedEnvVariableValueEnum: %v", v) + } +} + +type CreateSharedEnvVariableValueUnionType string + +const ( + CreateSharedEnvVariableValueUnionTypeStr CreateSharedEnvVariableValueUnionType = "str" + CreateSharedEnvVariableValueUnionTypeArrayOfCreateSharedEnvVariableValueEnum CreateSharedEnvVariableValueUnionType = "arrayOfCreateSharedEnvVariableValueEnum" +) + +type CreateSharedEnvVariableValueUnion struct { + Str *string `queryParam:"inline"` + ArrayOfCreateSharedEnvVariableValueEnum []CreateSharedEnvVariableValueEnum `queryParam:"inline"` + + Type CreateSharedEnvVariableValueUnionType +} + +func CreateCreateSharedEnvVariableValueUnionStr(str string) CreateSharedEnvVariableValueUnion { + typ := CreateSharedEnvVariableValueUnionTypeStr + + return CreateSharedEnvVariableValueUnion{ + Str: &str, + Type: typ, + } +} + +func CreateCreateSharedEnvVariableValueUnionArrayOfCreateSharedEnvVariableValueEnum(arrayOfCreateSharedEnvVariableValueEnum []CreateSharedEnvVariableValueEnum) CreateSharedEnvVariableValueUnion { + typ := CreateSharedEnvVariableValueUnionTypeArrayOfCreateSharedEnvVariableValueEnum + + return CreateSharedEnvVariableValueUnion{ + ArrayOfCreateSharedEnvVariableValueEnum: arrayOfCreateSharedEnvVariableValueEnum, + Type: typ, + } +} + +func (u *CreateSharedEnvVariableValueUnion) UnmarshalJSON(data []byte) error { + + var str string = "" + if err := utils.UnmarshalJSON(data, &str, "", true, nil); err == nil { + u.Str = &str + u.Type = CreateSharedEnvVariableValueUnionTypeStr + return nil + } + + var arrayOfCreateSharedEnvVariableValueEnum []CreateSharedEnvVariableValueEnum = []CreateSharedEnvVariableValueEnum{} + if err := utils.UnmarshalJSON(data, &arrayOfCreateSharedEnvVariableValueEnum, "", true, nil); err == nil { + u.ArrayOfCreateSharedEnvVariableValueEnum = arrayOfCreateSharedEnvVariableValueEnum + u.Type = CreateSharedEnvVariableValueUnionTypeArrayOfCreateSharedEnvVariableValueEnum + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for CreateSharedEnvVariableValueUnion", string(data)) +} + +func (u CreateSharedEnvVariableValueUnion) MarshalJSON() ([]byte, error) { + if u.Str != nil { + return utils.MarshalJSON(u.Str, "", true) + } + + if u.ArrayOfCreateSharedEnvVariableValueEnum != nil { + return utils.MarshalJSON(u.ArrayOfCreateSharedEnvVariableValueEnum, "", true) + } + + return nil, errors.New("could not marshal union type CreateSharedEnvVariableValueUnion: all fields are null") +} + +type CreateSharedEnvVariableTargetErrorEnum2 string + +const ( + CreateSharedEnvVariableTargetErrorEnum2Production CreateSharedEnvVariableTargetErrorEnum2 = "production" + CreateSharedEnvVariableTargetErrorEnum2Preview CreateSharedEnvVariableTargetErrorEnum2 = "preview" + CreateSharedEnvVariableTargetErrorEnum2Development CreateSharedEnvVariableTargetErrorEnum2 = "development" +) + +func (e CreateSharedEnvVariableTargetErrorEnum2) ToPointer() *CreateSharedEnvVariableTargetErrorEnum2 { + return &e +} +func (e *CreateSharedEnvVariableTargetErrorEnum2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "production": + fallthrough + case "preview": + fallthrough + case "development": + *e = CreateSharedEnvVariableTargetErrorEnum2(v) + return nil + default: + return fmt.Errorf("invalid value for CreateSharedEnvVariableTargetErrorEnum2: %v", v) + } +} + +type CreateSharedEnvVariableTargetErrorEnum1 string + +const ( + CreateSharedEnvVariableTargetErrorEnum1Production CreateSharedEnvVariableTargetErrorEnum1 = "production" + CreateSharedEnvVariableTargetErrorEnum1Preview CreateSharedEnvVariableTargetErrorEnum1 = "preview" + CreateSharedEnvVariableTargetErrorEnum1Development CreateSharedEnvVariableTargetErrorEnum1 = "development" +) + +func (e CreateSharedEnvVariableTargetErrorEnum1) ToPointer() *CreateSharedEnvVariableTargetErrorEnum1 { + return &e +} +func (e *CreateSharedEnvVariableTargetErrorEnum1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "production": + fallthrough + case "preview": + fallthrough + case "development": + *e = CreateSharedEnvVariableTargetErrorEnum1(v) + return nil + default: + return fmt.Errorf("invalid value for CreateSharedEnvVariableTargetErrorEnum1: %v", v) + } +} + +type CreateSharedEnvVariableTargetUnionType string + +const ( + CreateSharedEnvVariableTargetUnionTypeArrayOfCreateSharedEnvVariableTargetErrorEnum1 CreateSharedEnvVariableTargetUnionType = "arrayOfCreateSharedEnvVariableTargetErrorEnum1" + CreateSharedEnvVariableTargetUnionTypeCreateSharedEnvVariableTargetErrorEnum2 CreateSharedEnvVariableTargetUnionType = "createSharedEnvVariable_target_error_enum_2" +) + +type CreateSharedEnvVariableTargetUnion struct { + ArrayOfCreateSharedEnvVariableTargetErrorEnum1 []CreateSharedEnvVariableTargetErrorEnum1 `queryParam:"inline"` + CreateSharedEnvVariableTargetErrorEnum2 *CreateSharedEnvVariableTargetErrorEnum2 `queryParam:"inline"` + + Type CreateSharedEnvVariableTargetUnionType +} + +func CreateCreateSharedEnvVariableTargetUnionArrayOfCreateSharedEnvVariableTargetErrorEnum1(arrayOfCreateSharedEnvVariableTargetErrorEnum1 []CreateSharedEnvVariableTargetErrorEnum1) CreateSharedEnvVariableTargetUnion { + typ := CreateSharedEnvVariableTargetUnionTypeArrayOfCreateSharedEnvVariableTargetErrorEnum1 + + return CreateSharedEnvVariableTargetUnion{ + ArrayOfCreateSharedEnvVariableTargetErrorEnum1: arrayOfCreateSharedEnvVariableTargetErrorEnum1, + Type: typ, + } +} + +func CreateCreateSharedEnvVariableTargetUnionCreateSharedEnvVariableTargetErrorEnum2(createSharedEnvVariableTargetErrorEnum2 CreateSharedEnvVariableTargetErrorEnum2) CreateSharedEnvVariableTargetUnion { + typ := CreateSharedEnvVariableTargetUnionTypeCreateSharedEnvVariableTargetErrorEnum2 + + return CreateSharedEnvVariableTargetUnion{ + CreateSharedEnvVariableTargetErrorEnum2: &createSharedEnvVariableTargetErrorEnum2, + Type: typ, + } +} + +func (u *CreateSharedEnvVariableTargetUnion) UnmarshalJSON(data []byte) error { + + var arrayOfCreateSharedEnvVariableTargetErrorEnum1 []CreateSharedEnvVariableTargetErrorEnum1 = []CreateSharedEnvVariableTargetErrorEnum1{} + if err := utils.UnmarshalJSON(data, &arrayOfCreateSharedEnvVariableTargetErrorEnum1, "", true, nil); err == nil { + u.ArrayOfCreateSharedEnvVariableTargetErrorEnum1 = arrayOfCreateSharedEnvVariableTargetErrorEnum1 + u.Type = CreateSharedEnvVariableTargetUnionTypeArrayOfCreateSharedEnvVariableTargetErrorEnum1 + return nil + } + + var createSharedEnvVariableTargetErrorEnum2 CreateSharedEnvVariableTargetErrorEnum2 = CreateSharedEnvVariableTargetErrorEnum2("") + if err := utils.UnmarshalJSON(data, &createSharedEnvVariableTargetErrorEnum2, "", true, nil); err == nil { + u.CreateSharedEnvVariableTargetErrorEnum2 = &createSharedEnvVariableTargetErrorEnum2 + u.Type = CreateSharedEnvVariableTargetUnionTypeCreateSharedEnvVariableTargetErrorEnum2 + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for CreateSharedEnvVariableTargetUnion", string(data)) +} + +func (u CreateSharedEnvVariableTargetUnion) MarshalJSON() ([]byte, error) { + if u.ArrayOfCreateSharedEnvVariableTargetErrorEnum1 != nil { + return utils.MarshalJSON(u.ArrayOfCreateSharedEnvVariableTargetErrorEnum1, "", true) + } + + if u.CreateSharedEnvVariableTargetErrorEnum2 != nil { + return utils.MarshalJSON(u.CreateSharedEnvVariableTargetErrorEnum2, "", true) + } + + return nil, errors.New("could not marshal union type CreateSharedEnvVariableTargetUnion: all fields are null") +} + +type CreateSharedEnvVariableError struct { + Code string `json:"code"` + Message string `json:"message"` + Key *string `json:"key,omitempty"` + EnvVarID *string `json:"envVarId,omitempty"` + EnvVarKey *string `json:"envVarKey,omitempty"` + Action *string `json:"action,omitempty"` + Link *string `json:"link,omitempty"` + Value *CreateSharedEnvVariableValueUnion `json:"value,omitempty"` + GitBranch *string `json:"gitBranch,omitempty"` + Target *CreateSharedEnvVariableTargetUnion `json:"target,omitempty"` + Project *string `json:"project,omitempty"` +} + +func (o *CreateSharedEnvVariableError) GetCode() string { + if o == nil { + return "" + } + return o.Code +} + +func (o *CreateSharedEnvVariableError) GetMessage() string { + if o == nil { + return "" + } + return o.Message +} + +func (o *CreateSharedEnvVariableError) GetKey() *string { + if o == nil { + return nil + } + return o.Key +} + +func (o *CreateSharedEnvVariableError) GetEnvVarID() *string { + if o == nil { + return nil + } + return o.EnvVarID +} + +func (o *CreateSharedEnvVariableError) GetEnvVarKey() *string { + if o == nil { + return nil + } + return o.EnvVarKey +} + +func (o *CreateSharedEnvVariableError) GetAction() *string { + if o == nil { + return nil + } + return o.Action +} + +func (o *CreateSharedEnvVariableError) GetLink() *string { + if o == nil { + return nil + } + return o.Link +} + +func (o *CreateSharedEnvVariableError) GetValue() *CreateSharedEnvVariableValueUnion { + if o == nil { + return nil + } + return o.Value +} + +func (o *CreateSharedEnvVariableError) GetGitBranch() *string { + if o == nil { + return nil + } + return o.GitBranch +} + +func (o *CreateSharedEnvVariableError) GetTarget() *CreateSharedEnvVariableTargetUnion { + if o == nil { + return nil + } + return o.Target +} + +func (o *CreateSharedEnvVariableError) GetProject() *string { + if o == nil { + return nil + } + return o.Project +} + +type CreateSharedEnvVariableFailed struct { + Error CreateSharedEnvVariableError `json:"error"` +} + +func (o *CreateSharedEnvVariableFailed) GetError() CreateSharedEnvVariableError { + if o == nil { + return CreateSharedEnvVariableError{} + } + return o.Error +} + +type CreateSharedEnvVariableResponseBody struct { + Created []CreateSharedEnvVariableCreated `json:"created"` + Failed []CreateSharedEnvVariableFailed `json:"failed"` +} + +func (o *CreateSharedEnvVariableResponseBody) GetCreated() []CreateSharedEnvVariableCreated { + if o == nil { + return []CreateSharedEnvVariableCreated{} + } + return o.Created +} + +func (o *CreateSharedEnvVariableResponseBody) GetFailed() []CreateSharedEnvVariableFailed { + if o == nil { + return []CreateSharedEnvVariableFailed{} + } + return o.Failed +} + +type CreateSharedEnvVariableResponse struct { + HTTPMeta components.HTTPMetadata `json:"-"` + Object *CreateSharedEnvVariableResponseBody +} + +func (o *CreateSharedEnvVariableResponse) GetHTTPMeta() components.HTTPMetadata { + if o == nil { + return components.HTTPMetadata{} + } + return o.HTTPMeta +} + +func (o *CreateSharedEnvVariableResponse) GetObject() *CreateSharedEnvVariableResponseBody { + if o == nil { + return nil + } + return o.Object +} diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/createwebhook.go b/src/__tests__/mockserver/internal/sdk/models/operations/createwebhook.go index d132f0d67..c0f5b03a7 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/createwebhook.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/createwebhook.go @@ -82,6 +82,8 @@ const ( CreateWebhookEventRequestMarketplaceInvoiceRefunded CreateWebhookEventRequest = "marketplace.invoice.refunded" CreateWebhookEventRequestObservabilityAnomaly CreateWebhookEventRequest = "observability.anomaly" CreateWebhookEventRequestObservabilityAnomalyError CreateWebhookEventRequest = "observability.anomaly-error" + CreateWebhookEventRequestObservabilityUsageAnomaly CreateWebhookEventRequest = "observability.usage-anomaly" + CreateWebhookEventRequestObservabilityErrorAnomaly CreateWebhookEventRequest = "observability.error-anomaly" CreateWebhookEventRequestObservabilityAnomalyBotId CreateWebhookEventRequest = "observability.anomaly-botId" CreateWebhookEventRequestTestWebhook CreateWebhookEventRequest = "test-webhook" ) @@ -237,6 +239,10 @@ func (e *CreateWebhookEventRequest) UnmarshalJSON(data []byte) error { fallthrough case "observability.anomaly-error": fallthrough + case "observability.usage-anomaly": + fallthrough + case "observability.error-anomaly": + fallthrough case "observability.anomaly-botId": fallthrough case "test-webhook": @@ -278,8 +284,8 @@ type CreateWebhookRequest struct { // The Team identifier to perform the request on behalf of. TeamID *string `queryParam:"style=form,explode=true,name=teamId"` // The Team slug to perform the request on behalf of. - Slug *string `queryParam:"style=form,explode=true,name=slug"` - RequestBody CreateWebhookRequestBody `request:"mediaType=application/json"` + Slug *string `queryParam:"style=form,explode=true,name=slug"` + Body CreateWebhookRequestBody `request:"mediaType=application/json"` } func (o *CreateWebhookRequest) GetTeamID() *string { @@ -296,11 +302,11 @@ func (o *CreateWebhookRequest) GetSlug() *string { return o.Slug } -func (o *CreateWebhookRequest) GetRequestBody() CreateWebhookRequestBody { +func (o *CreateWebhookRequest) GetBody() CreateWebhookRequestBody { if o == nil { return CreateWebhookRequestBody{} } - return o.RequestBody + return o.Body } // CreateWebhookEventResponse - The webhooks events @@ -378,6 +384,8 @@ const ( CreateWebhookEventResponseMarketplaceInvoiceRefunded CreateWebhookEventResponse = "marketplace.invoice.refunded" CreateWebhookEventResponseObservabilityAnomaly CreateWebhookEventResponse = "observability.anomaly" CreateWebhookEventResponseObservabilityAnomalyError CreateWebhookEventResponse = "observability.anomaly-error" + CreateWebhookEventResponseObservabilityUsageAnomaly CreateWebhookEventResponse = "observability.usage-anomaly" + CreateWebhookEventResponseObservabilityErrorAnomaly CreateWebhookEventResponse = "observability.error-anomaly" CreateWebhookEventResponseObservabilityAnomalyBotId CreateWebhookEventResponse = "observability.anomaly-botId" CreateWebhookEventResponseTestWebhook CreateWebhookEventResponse = "test-webhook" ) @@ -533,6 +541,10 @@ func (e *CreateWebhookEventResponse) UnmarshalJSON(data []byte) error { fallthrough case "observability.anomaly-error": fallthrough + case "observability.usage-anomaly": + fallthrough + case "observability.error-anomaly": + fallthrough case "observability.anomaly-botId": fallthrough case "test-webhook": diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/dangerouslydeletebytags.go b/src/__tests__/mockserver/internal/sdk/models/operations/dangerouslydeletebytags.go index 7d35ff95c..b065ebc08 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/dangerouslydeletebytags.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/dangerouslydeletebytags.go @@ -131,8 +131,8 @@ type DangerouslyDeleteByTagsRequest struct { // The Team identifier to perform the request on behalf of. TeamID *string `queryParam:"style=form,explode=true,name=teamId"` // The Team slug to perform the request on behalf of. - Slug *string `queryParam:"style=form,explode=true,name=slug"` - RequestBody *DangerouslyDeleteByTagsRequestBody `request:"mediaType=application/json"` + Slug *string `queryParam:"style=form,explode=true,name=slug"` + Body *DangerouslyDeleteByTagsRequestBody `request:"mediaType=application/json"` } func (o *DangerouslyDeleteByTagsRequest) GetProjectIDOrName() string { @@ -156,11 +156,11 @@ func (o *DangerouslyDeleteByTagsRequest) GetSlug() *string { return o.Slug } -func (o *DangerouslyDeleteByTagsRequest) GetRequestBody() *DangerouslyDeleteByTagsRequestBody { +func (o *DangerouslyDeleteByTagsRequest) GetBody() *DangerouslyDeleteByTagsRequestBody { if o == nil { return nil } - return o.RequestBody + return o.Body } type DangerouslyDeleteByTagsResponse struct { diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/deleteconfigurablelogdrain.go b/src/__tests__/mockserver/internal/sdk/models/operations/deleteconfigurablelogdrain.go new file mode 100644 index 000000000..6892faf89 --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/operations/deleteconfigurablelogdrain.go @@ -0,0 +1,47 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package operations + +import ( + "mockserver/internal/sdk/models/components" +) + +type DeleteConfigurableLogDrainRequest struct { + ID string `pathParam:"style=simple,explode=false,name=id"` + // The Team identifier to perform the request on behalf of. + TeamID *string `queryParam:"style=form,explode=true,name=teamId"` + // The Team slug to perform the request on behalf of. + Slug *string `queryParam:"style=form,explode=true,name=slug"` +} + +func (o *DeleteConfigurableLogDrainRequest) GetID() string { + if o == nil { + return "" + } + return o.ID +} + +func (o *DeleteConfigurableLogDrainRequest) GetTeamID() *string { + if o == nil { + return nil + } + return o.TeamID +} + +func (o *DeleteConfigurableLogDrainRequest) GetSlug() *string { + if o == nil { + return nil + } + return o.Slug +} + +type DeleteConfigurableLogDrainResponse struct { + HTTPMeta components.HTTPMetadata `json:"-"` +} + +func (o *DeleteConfigurableLogDrainResponse) GetHTTPMeta() components.HTTPMetadata { + if o == nil { + return components.HTTPMetadata{} + } + return o.HTTPMeta +} diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/deletedrain.go b/src/__tests__/mockserver/internal/sdk/models/operations/deletedrain.go new file mode 100644 index 000000000..01dfe9135 --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/operations/deletedrain.go @@ -0,0 +1,47 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package operations + +import ( + "mockserver/internal/sdk/models/components" +) + +type DeleteDrainRequest struct { + ID string `pathParam:"style=simple,explode=false,name=id"` + // The Team identifier to perform the request on behalf of. + TeamID *string `queryParam:"style=form,explode=true,name=teamId"` + // The Team slug to perform the request on behalf of. + Slug *string `queryParam:"style=form,explode=true,name=slug"` +} + +func (o *DeleteDrainRequest) GetID() string { + if o == nil { + return "" + } + return o.ID +} + +func (o *DeleteDrainRequest) GetTeamID() *string { + if o == nil { + return nil + } + return o.TeamID +} + +func (o *DeleteDrainRequest) GetSlug() *string { + if o == nil { + return nil + } + return o.Slug +} + +type DeleteDrainResponse struct { + HTTPMeta components.HTTPMetadata `json:"-"` +} + +func (o *DeleteDrainResponse) GetHTTPMeta() components.HTTPMetadata { + if o == nil { + return components.HTTPMetadata{} + } + return o.HTTPMeta +} diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/deleteedgeconfigtokens.go b/src/__tests__/mockserver/internal/sdk/models/operations/deleteedgeconfigtokens.go index 416c70cf4..d4514e216 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/deleteedgeconfigtokens.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/deleteedgeconfigtokens.go @@ -22,8 +22,8 @@ type DeleteEdgeConfigTokensRequest struct { // The Team identifier to perform the request on behalf of. TeamID *string `queryParam:"style=form,explode=true,name=teamId"` // The Team slug to perform the request on behalf of. - Slug *string `queryParam:"style=form,explode=true,name=slug"` - RequestBody DeleteEdgeConfigTokensRequestBody `request:"mediaType=application/json"` + Slug *string `queryParam:"style=form,explode=true,name=slug"` + Body DeleteEdgeConfigTokensRequestBody `request:"mediaType=application/json"` } func (o *DeleteEdgeConfigTokensRequest) GetEdgeConfigID() string { @@ -47,11 +47,11 @@ func (o *DeleteEdgeConfigTokensRequest) GetSlug() *string { return o.Slug } -func (o *DeleteEdgeConfigTokensRequest) GetRequestBody() DeleteEdgeConfigTokensRequestBody { +func (o *DeleteEdgeConfigTokensRequest) GetBody() DeleteEdgeConfigTokensRequestBody { if o == nil { return DeleteEdgeConfigTokensRequestBody{} } - return o.RequestBody + return o.Body } type DeleteEdgeConfigTokensResponse struct { diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/deleteprojectclientcert.go b/src/__tests__/mockserver/internal/sdk/models/operations/deleteprojectclientcert.go new file mode 100644 index 000000000..310c51e2c --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/operations/deleteprojectclientcert.go @@ -0,0 +1,86 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package operations + +import ( + "mockserver/internal/sdk/models/components" +) + +type DeleteProjectClientCertRequest struct { + // The unique project identifier or the project name + IDOrName string `pathParam:"style=simple,explode=false,name=idOrName"` + // The certificate identifier + CertID string `pathParam:"style=simple,explode=false,name=certId"` + // The Team identifier to perform the request on behalf of. + TeamID *string `queryParam:"style=form,explode=true,name=teamId"` + // The Team slug to perform the request on behalf of. + Slug *string `queryParam:"style=form,explode=true,name=slug"` +} + +func (o *DeleteProjectClientCertRequest) GetIDOrName() string { + if o == nil { + return "" + } + return o.IDOrName +} + +func (o *DeleteProjectClientCertRequest) GetCertID() string { + if o == nil { + return "" + } + return o.CertID +} + +func (o *DeleteProjectClientCertRequest) GetTeamID() *string { + if o == nil { + return nil + } + return o.TeamID +} + +func (o *DeleteProjectClientCertRequest) GetSlug() *string { + if o == nil { + return nil + } + return o.Slug +} + +// DeleteProjectClientCertResponseBody - Client certificate deleted successfully +type DeleteProjectClientCertResponseBody struct { + Origin string `json:"origin"` + CertID string `json:"certId"` +} + +func (o *DeleteProjectClientCertResponseBody) GetOrigin() string { + if o == nil { + return "" + } + return o.Origin +} + +func (o *DeleteProjectClientCertResponseBody) GetCertID() string { + if o == nil { + return "" + } + return o.CertID +} + +type DeleteProjectClientCertResponse struct { + HTTPMeta components.HTTPMetadata `json:"-"` + // Client certificate deleted successfully + Object *DeleteProjectClientCertResponseBody +} + +func (o *DeleteProjectClientCertResponse) GetHTTPMeta() components.HTTPMetadata { + if o == nil { + return components.HTTPMetadata{} + } + return o.HTTPMeta +} + +func (o *DeleteProjectClientCertResponse) GetObject() *DeleteProjectClientCertResponseBody { + if o == nil { + return nil + } + return o.Object +} diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/deletesharedenvvariable.go b/src/__tests__/mockserver/internal/sdk/models/operations/deletesharedenvvariable.go new file mode 100644 index 000000000..dcd6cfe93 --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/operations/deletesharedenvvariable.go @@ -0,0 +1,405 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package operations + +import ( + "encoding/json" + "errors" + "fmt" + "mockserver/internal/sdk/models/components" + "mockserver/internal/sdk/utils" +) + +type DeleteSharedEnvVariableRequestBody struct { + // IDs of the Shared Environment Variables to delete + Ids []string `json:"ids"` +} + +func (o *DeleteSharedEnvVariableRequestBody) GetIds() []string { + if o == nil { + return []string{} + } + return o.Ids +} + +type DeleteSharedEnvVariableRequest struct { + // The Team identifier to perform the request on behalf of. + TeamID *string `queryParam:"style=form,explode=true,name=teamId"` + // The Team slug to perform the request on behalf of. + Slug *string `queryParam:"style=form,explode=true,name=slug"` + Body *DeleteSharedEnvVariableRequestBody `request:"mediaType=application/json"` +} + +func (o *DeleteSharedEnvVariableRequest) GetTeamID() *string { + if o == nil { + return nil + } + return o.TeamID +} + +func (o *DeleteSharedEnvVariableRequest) GetSlug() *string { + if o == nil { + return nil + } + return o.Slug +} + +func (o *DeleteSharedEnvVariableRequest) GetBody() *DeleteSharedEnvVariableRequestBody { + if o == nil { + return nil + } + return o.Body +} + +type DeleteSharedEnvVariableValueEnum string + +const ( + DeleteSharedEnvVariableValueEnumProduction DeleteSharedEnvVariableValueEnum = "production" + DeleteSharedEnvVariableValueEnumPreview DeleteSharedEnvVariableValueEnum = "preview" + DeleteSharedEnvVariableValueEnumDevelopment DeleteSharedEnvVariableValueEnum = "development" +) + +func (e DeleteSharedEnvVariableValueEnum) ToPointer() *DeleteSharedEnvVariableValueEnum { + return &e +} +func (e *DeleteSharedEnvVariableValueEnum) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "production": + fallthrough + case "preview": + fallthrough + case "development": + *e = DeleteSharedEnvVariableValueEnum(v) + return nil + default: + return fmt.Errorf("invalid value for DeleteSharedEnvVariableValueEnum: %v", v) + } +} + +type DeleteSharedEnvVariableValueUnionType string + +const ( + DeleteSharedEnvVariableValueUnionTypeStr DeleteSharedEnvVariableValueUnionType = "str" + DeleteSharedEnvVariableValueUnionTypeArrayOfDeleteSharedEnvVariableValueEnum DeleteSharedEnvVariableValueUnionType = "arrayOfDeleteSharedEnvVariableValueEnum" +) + +type DeleteSharedEnvVariableValueUnion struct { + Str *string `queryParam:"inline"` + ArrayOfDeleteSharedEnvVariableValueEnum []DeleteSharedEnvVariableValueEnum `queryParam:"inline"` + + Type DeleteSharedEnvVariableValueUnionType +} + +func CreateDeleteSharedEnvVariableValueUnionStr(str string) DeleteSharedEnvVariableValueUnion { + typ := DeleteSharedEnvVariableValueUnionTypeStr + + return DeleteSharedEnvVariableValueUnion{ + Str: &str, + Type: typ, + } +} + +func CreateDeleteSharedEnvVariableValueUnionArrayOfDeleteSharedEnvVariableValueEnum(arrayOfDeleteSharedEnvVariableValueEnum []DeleteSharedEnvVariableValueEnum) DeleteSharedEnvVariableValueUnion { + typ := DeleteSharedEnvVariableValueUnionTypeArrayOfDeleteSharedEnvVariableValueEnum + + return DeleteSharedEnvVariableValueUnion{ + ArrayOfDeleteSharedEnvVariableValueEnum: arrayOfDeleteSharedEnvVariableValueEnum, + Type: typ, + } +} + +func (u *DeleteSharedEnvVariableValueUnion) UnmarshalJSON(data []byte) error { + + var str string = "" + if err := utils.UnmarshalJSON(data, &str, "", true, nil); err == nil { + u.Str = &str + u.Type = DeleteSharedEnvVariableValueUnionTypeStr + return nil + } + + var arrayOfDeleteSharedEnvVariableValueEnum []DeleteSharedEnvVariableValueEnum = []DeleteSharedEnvVariableValueEnum{} + if err := utils.UnmarshalJSON(data, &arrayOfDeleteSharedEnvVariableValueEnum, "", true, nil); err == nil { + u.ArrayOfDeleteSharedEnvVariableValueEnum = arrayOfDeleteSharedEnvVariableValueEnum + u.Type = DeleteSharedEnvVariableValueUnionTypeArrayOfDeleteSharedEnvVariableValueEnum + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for DeleteSharedEnvVariableValueUnion", string(data)) +} + +func (u DeleteSharedEnvVariableValueUnion) MarshalJSON() ([]byte, error) { + if u.Str != nil { + return utils.MarshalJSON(u.Str, "", true) + } + + if u.ArrayOfDeleteSharedEnvVariableValueEnum != nil { + return utils.MarshalJSON(u.ArrayOfDeleteSharedEnvVariableValueEnum, "", true) + } + + return nil, errors.New("could not marshal union type DeleteSharedEnvVariableValueUnion: all fields are null") +} + +type DeleteSharedEnvVariableTargetEnum2 string + +const ( + DeleteSharedEnvVariableTargetEnum2Production DeleteSharedEnvVariableTargetEnum2 = "production" + DeleteSharedEnvVariableTargetEnum2Preview DeleteSharedEnvVariableTargetEnum2 = "preview" + DeleteSharedEnvVariableTargetEnum2Development DeleteSharedEnvVariableTargetEnum2 = "development" +) + +func (e DeleteSharedEnvVariableTargetEnum2) ToPointer() *DeleteSharedEnvVariableTargetEnum2 { + return &e +} +func (e *DeleteSharedEnvVariableTargetEnum2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "production": + fallthrough + case "preview": + fallthrough + case "development": + *e = DeleteSharedEnvVariableTargetEnum2(v) + return nil + default: + return fmt.Errorf("invalid value for DeleteSharedEnvVariableTargetEnum2: %v", v) + } +} + +type DeleteSharedEnvVariableTargetEnum1 string + +const ( + DeleteSharedEnvVariableTargetEnum1Production DeleteSharedEnvVariableTargetEnum1 = "production" + DeleteSharedEnvVariableTargetEnum1Preview DeleteSharedEnvVariableTargetEnum1 = "preview" + DeleteSharedEnvVariableTargetEnum1Development DeleteSharedEnvVariableTargetEnum1 = "development" +) + +func (e DeleteSharedEnvVariableTargetEnum1) ToPointer() *DeleteSharedEnvVariableTargetEnum1 { + return &e +} +func (e *DeleteSharedEnvVariableTargetEnum1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "production": + fallthrough + case "preview": + fallthrough + case "development": + *e = DeleteSharedEnvVariableTargetEnum1(v) + return nil + default: + return fmt.Errorf("invalid value for DeleteSharedEnvVariableTargetEnum1: %v", v) + } +} + +type DeleteSharedEnvVariableTargetUnionType string + +const ( + DeleteSharedEnvVariableTargetUnionTypeArrayOfDeleteSharedEnvVariableTargetEnum1 DeleteSharedEnvVariableTargetUnionType = "arrayOfDeleteSharedEnvVariableTargetEnum1" + DeleteSharedEnvVariableTargetUnionTypeDeleteSharedEnvVariableTargetEnum2 DeleteSharedEnvVariableTargetUnionType = "deleteSharedEnvVariable_target_enum_2" +) + +type DeleteSharedEnvVariableTargetUnion struct { + ArrayOfDeleteSharedEnvVariableTargetEnum1 []DeleteSharedEnvVariableTargetEnum1 `queryParam:"inline"` + DeleteSharedEnvVariableTargetEnum2 *DeleteSharedEnvVariableTargetEnum2 `queryParam:"inline"` + + Type DeleteSharedEnvVariableTargetUnionType +} + +func CreateDeleteSharedEnvVariableTargetUnionArrayOfDeleteSharedEnvVariableTargetEnum1(arrayOfDeleteSharedEnvVariableTargetEnum1 []DeleteSharedEnvVariableTargetEnum1) DeleteSharedEnvVariableTargetUnion { + typ := DeleteSharedEnvVariableTargetUnionTypeArrayOfDeleteSharedEnvVariableTargetEnum1 + + return DeleteSharedEnvVariableTargetUnion{ + ArrayOfDeleteSharedEnvVariableTargetEnum1: arrayOfDeleteSharedEnvVariableTargetEnum1, + Type: typ, + } +} + +func CreateDeleteSharedEnvVariableTargetUnionDeleteSharedEnvVariableTargetEnum2(deleteSharedEnvVariableTargetEnum2 DeleteSharedEnvVariableTargetEnum2) DeleteSharedEnvVariableTargetUnion { + typ := DeleteSharedEnvVariableTargetUnionTypeDeleteSharedEnvVariableTargetEnum2 + + return DeleteSharedEnvVariableTargetUnion{ + DeleteSharedEnvVariableTargetEnum2: &deleteSharedEnvVariableTargetEnum2, + Type: typ, + } +} + +func (u *DeleteSharedEnvVariableTargetUnion) UnmarshalJSON(data []byte) error { + + var arrayOfDeleteSharedEnvVariableTargetEnum1 []DeleteSharedEnvVariableTargetEnum1 = []DeleteSharedEnvVariableTargetEnum1{} + if err := utils.UnmarshalJSON(data, &arrayOfDeleteSharedEnvVariableTargetEnum1, "", true, nil); err == nil { + u.ArrayOfDeleteSharedEnvVariableTargetEnum1 = arrayOfDeleteSharedEnvVariableTargetEnum1 + u.Type = DeleteSharedEnvVariableTargetUnionTypeArrayOfDeleteSharedEnvVariableTargetEnum1 + return nil + } + + var deleteSharedEnvVariableTargetEnum2 DeleteSharedEnvVariableTargetEnum2 = DeleteSharedEnvVariableTargetEnum2("") + if err := utils.UnmarshalJSON(data, &deleteSharedEnvVariableTargetEnum2, "", true, nil); err == nil { + u.DeleteSharedEnvVariableTargetEnum2 = &deleteSharedEnvVariableTargetEnum2 + u.Type = DeleteSharedEnvVariableTargetUnionTypeDeleteSharedEnvVariableTargetEnum2 + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for DeleteSharedEnvVariableTargetUnion", string(data)) +} + +func (u DeleteSharedEnvVariableTargetUnion) MarshalJSON() ([]byte, error) { + if u.ArrayOfDeleteSharedEnvVariableTargetEnum1 != nil { + return utils.MarshalJSON(u.ArrayOfDeleteSharedEnvVariableTargetEnum1, "", true) + } + + if u.DeleteSharedEnvVariableTargetEnum2 != nil { + return utils.MarshalJSON(u.DeleteSharedEnvVariableTargetEnum2, "", true) + } + + return nil, errors.New("could not marshal union type DeleteSharedEnvVariableTargetUnion: all fields are null") +} + +type DeleteSharedEnvVariableError struct { + Code string `json:"code"` + Message string `json:"message"` + Key *string `json:"key,omitempty"` + EnvVarID *string `json:"envVarId,omitempty"` + EnvVarKey *string `json:"envVarKey,omitempty"` + Action *string `json:"action,omitempty"` + Link *string `json:"link,omitempty"` + Value *DeleteSharedEnvVariableValueUnion `json:"value,omitempty"` + GitBranch *string `json:"gitBranch,omitempty"` + Target *DeleteSharedEnvVariableTargetUnion `json:"target,omitempty"` + Project *string `json:"project,omitempty"` +} + +func (o *DeleteSharedEnvVariableError) GetCode() string { + if o == nil { + return "" + } + return o.Code +} + +func (o *DeleteSharedEnvVariableError) GetMessage() string { + if o == nil { + return "" + } + return o.Message +} + +func (o *DeleteSharedEnvVariableError) GetKey() *string { + if o == nil { + return nil + } + return o.Key +} + +func (o *DeleteSharedEnvVariableError) GetEnvVarID() *string { + if o == nil { + return nil + } + return o.EnvVarID +} + +func (o *DeleteSharedEnvVariableError) GetEnvVarKey() *string { + if o == nil { + return nil + } + return o.EnvVarKey +} + +func (o *DeleteSharedEnvVariableError) GetAction() *string { + if o == nil { + return nil + } + return o.Action +} + +func (o *DeleteSharedEnvVariableError) GetLink() *string { + if o == nil { + return nil + } + return o.Link +} + +func (o *DeleteSharedEnvVariableError) GetValue() *DeleteSharedEnvVariableValueUnion { + if o == nil { + return nil + } + return o.Value +} + +func (o *DeleteSharedEnvVariableError) GetGitBranch() *string { + if o == nil { + return nil + } + return o.GitBranch +} + +func (o *DeleteSharedEnvVariableError) GetTarget() *DeleteSharedEnvVariableTargetUnion { + if o == nil { + return nil + } + return o.Target +} + +func (o *DeleteSharedEnvVariableError) GetProject() *string { + if o == nil { + return nil + } + return o.Project +} + +type DeleteSharedEnvVariableFailed struct { + Error DeleteSharedEnvVariableError `json:"error"` +} + +func (o *DeleteSharedEnvVariableFailed) GetError() DeleteSharedEnvVariableError { + if o == nil { + return DeleteSharedEnvVariableError{} + } + return o.Error +} + +type DeleteSharedEnvVariableResponseBody struct { + Deleted []string `json:"deleted"` + Failed []DeleteSharedEnvVariableFailed `json:"failed"` +} + +func (o *DeleteSharedEnvVariableResponseBody) GetDeleted() []string { + if o == nil { + return []string{} + } + return o.Deleted +} + +func (o *DeleteSharedEnvVariableResponseBody) GetFailed() []DeleteSharedEnvVariableFailed { + if o == nil { + return []DeleteSharedEnvVariableFailed{} + } + return o.Failed +} + +type DeleteSharedEnvVariableResponse struct { + HTTPMeta components.HTTPMetadata `json:"-"` + Object *DeleteSharedEnvVariableResponseBody +} + +func (o *DeleteSharedEnvVariableResponse) GetHTTPMeta() components.HTTPMetadata { + if o == nil { + return components.HTTPMetadata{} + } + return o.HTTPMeta +} + +func (o *DeleteSharedEnvVariableResponse) GetObject() *DeleteSharedEnvVariableResponseBody { + if o == nil { + return nil + } + return o.Object +} diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/deleteteam.go b/src/__tests__/mockserver/internal/sdk/models/operations/deleteteam.go index c0387d7d2..f185c59a9 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/deleteteam.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/deleteteam.go @@ -46,8 +46,8 @@ type DeleteTeamRequest struct { // The Team identifier to perform the request on behalf of. TeamID string `pathParam:"style=simple,explode=false,name=teamId"` // The Team slug to perform the request on behalf of. - Slug *string `queryParam:"style=form,explode=true,name=slug"` - RequestBody DeleteTeamRequestBody `request:"mediaType=application/json"` + Slug *string `queryParam:"style=form,explode=true,name=slug"` + Body DeleteTeamRequestBody `request:"mediaType=application/json"` } func (o *DeleteTeamRequest) GetNewDefaultTeamID() *string { @@ -71,11 +71,11 @@ func (o *DeleteTeamRequest) GetSlug() *string { return o.Slug } -func (o *DeleteTeamRequest) GetRequestBody() DeleteTeamRequestBody { +func (o *DeleteTeamRequest) GetBody() DeleteTeamRequestBody { if o == nil { return DeleteTeamRequestBody{} } - return o.RequestBody + return o.Body } // DeleteTeamResponseBody - The Team was successfully deleted diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/editprojectenv.go b/src/__tests__/mockserver/internal/sdk/models/operations/editprojectenv.go index d78df29ec..b25b309f4 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/editprojectenv.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/editprojectenv.go @@ -149,8 +149,8 @@ type EditProjectEnvRequest struct { // The Team identifier to perform the request on behalf of. TeamID *string `queryParam:"style=form,explode=true,name=teamId"` // The Team slug to perform the request on behalf of. - Slug *string `queryParam:"style=form,explode=true,name=slug"` - RequestBody EditProjectEnvRequestBody `request:"mediaType=application/json"` + Slug *string `queryParam:"style=form,explode=true,name=slug"` + Body EditProjectEnvRequestBody `request:"mediaType=application/json"` } func (o *EditProjectEnvRequest) GetIDOrName() string { @@ -181,11 +181,11 @@ func (o *EditProjectEnvRequest) GetSlug() *string { return o.Slug } -func (o *EditProjectEnvRequest) GetRequestBody() EditProjectEnvRequestBody { +func (o *EditProjectEnvRequest) GetBody() EditProjectEnvRequestBody { if o == nil { return EditProjectEnvRequestBody{} } - return o.RequestBody + return o.Body } type EditProjectEnvResponseBody2 struct { diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/exchangessotoken.go b/src/__tests__/mockserver/internal/sdk/models/operations/exchangessotoken.go index 4f0f0ddf1..e51256e3f 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/exchangessotoken.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/exchangessotoken.go @@ -90,9 +90,10 @@ func (o *ExchangeSsoTokenRequest) GetGrantType() *GrantType { } type ExchangeSsoTokenResponseBody struct { - IDToken string `json:"id_token"` - AccessToken *string `json:"access_token"` - TokenType *string `json:"token_type"` + IDToken string `json:"id_token"` + AccessToken *string `json:"access_token"` + TokenType *string `json:"token_type"` + ExpiresIn *float64 `json:"expires_in,omitempty"` } func (o *ExchangeSsoTokenResponseBody) GetIDToken() string { @@ -116,6 +117,13 @@ func (o *ExchangeSsoTokenResponseBody) GetTokenType() *string { return o.TokenType } +func (o *ExchangeSsoTokenResponseBody) GetExpiresIn() *float64 { + if o == nil { + return nil + } + return o.ExpiresIn +} + type ExchangeSsoTokenResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` Object *ExchangeSsoTokenResponseBody diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/getactiveattackstatus.go b/src/__tests__/mockserver/internal/sdk/models/operations/getactiveattackstatus.go index 6bb2e95e6..48d1ca785 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/getactiveattackstatus.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/getactiveattackstatus.go @@ -10,7 +10,8 @@ import ( ) type GetActiveAttackStatusRequest struct { - ProjectID string `queryParam:"style=form,explode=true,name=projectId"` + ProjectID string `queryParam:"style=form,explode=true,name=projectId"` + Since *float64 `queryParam:"style=form,explode=true,name=since"` // The Team identifier to perform the request on behalf of. TeamID *string `queryParam:"style=form,explode=true,name=teamId"` // The Team slug to perform the request on behalf of. @@ -24,6 +25,13 @@ func (o *GetActiveAttackStatusRequest) GetProjectID() string { return o.ProjectID } +func (o *GetActiveAttackStatusRequest) GetSince() *float64 { + if o == nil { + return nil + } + return o.Since +} + func (o *GetActiveAttackStatusRequest) GetTeamID() *string { if o == nil { return nil @@ -153,8 +161,8 @@ func (o *AffectedHostMap) GetDdosAlerts() map[string]DdosAlerts { } type Anomaly struct { - OwnerID string `json:"ownerId"` ProjectID string `json:"projectId"` + OwnerID string `json:"ownerId"` StartTime float64 `json:"startTime"` EndTime *float64 `json:"endTime"` AtMinute float64 `json:"atMinute"` @@ -167,24 +175,24 @@ func (a Anomaly) MarshalJSON() ([]byte, error) { } func (a *Anomaly) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &a, "", false, []string{"ownerId", "projectId", "startTime", "endTime", "atMinute", "affectedHostMap"}); err != nil { + if err := utils.UnmarshalJSON(data, &a, "", false, []string{"projectId", "ownerId", "startTime", "endTime", "atMinute", "affectedHostMap"}); err != nil { return err } return nil } -func (o *Anomaly) GetOwnerID() string { +func (o *Anomaly) GetProjectID() string { if o == nil { return "" } - return o.OwnerID + return o.ProjectID } -func (o *Anomaly) GetProjectID() string { +func (o *Anomaly) GetOwnerID() string { if o == nil { return "" } - return o.ProjectID + return o.OwnerID } func (o *Anomaly) GetStartTime() float64 { diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/getalllogdrains.go b/src/__tests__/mockserver/internal/sdk/models/operations/getalllogdrains.go new file mode 100644 index 000000000..74191a3e9 --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/operations/getalllogdrains.go @@ -0,0 +1,4074 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package operations + +import ( + "encoding/json" + "errors" + "fmt" + "mockserver/internal/sdk/models/components" + "mockserver/internal/sdk/utils" +) + +type GetAllLogDrainsRequest struct { + ProjectID *string `queryParam:"style=form,explode=true,name=projectId"` + IncludeMetadata *bool `default:"false" queryParam:"style=form,explode=true,name=includeMetadata"` + ProjectIDOrName *string `queryParam:"style=form,explode=true,name=projectIdOrName"` + // The Team identifier to perform the request on behalf of. + TeamID *string `queryParam:"style=form,explode=true,name=teamId"` + // The Team slug to perform the request on behalf of. + Slug *string `queryParam:"style=form,explode=true,name=slug"` +} + +func (g GetAllLogDrainsRequest) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetAllLogDrainsRequest) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, nil); err != nil { + return err + } + return nil +} + +func (o *GetAllLogDrainsRequest) GetProjectID() *string { + if o == nil { + return nil + } + return o.ProjectID +} + +func (o *GetAllLogDrainsRequest) GetIncludeMetadata() *bool { + if o == nil { + return nil + } + return o.IncludeMetadata +} + +func (o *GetAllLogDrainsRequest) GetProjectIDOrName() *string { + if o == nil { + return nil + } + return o.ProjectIDOrName +} + +func (o *GetAllLogDrainsRequest) GetTeamID() *string { + if o == nil { + return nil + } + return o.TeamID +} + +func (o *GetAllLogDrainsRequest) GetSlug() *string { + if o == nil { + return nil + } + return o.Slug +} + +type GetAllLogDrainsFramework string + +const ( + GetAllLogDrainsFrameworkBlitzjs GetAllLogDrainsFramework = "blitzjs" + GetAllLogDrainsFrameworkNextjs GetAllLogDrainsFramework = "nextjs" + GetAllLogDrainsFrameworkGatsby GetAllLogDrainsFramework = "gatsby" + GetAllLogDrainsFrameworkRemix GetAllLogDrainsFramework = "remix" + GetAllLogDrainsFrameworkReactRouter GetAllLogDrainsFramework = "react-router" + GetAllLogDrainsFrameworkAstro GetAllLogDrainsFramework = "astro" + GetAllLogDrainsFrameworkHexo GetAllLogDrainsFramework = "hexo" + GetAllLogDrainsFrameworkEleventy GetAllLogDrainsFramework = "eleventy" + GetAllLogDrainsFrameworkDocusaurus2 GetAllLogDrainsFramework = "docusaurus-2" + GetAllLogDrainsFrameworkDocusaurus GetAllLogDrainsFramework = "docusaurus" + GetAllLogDrainsFrameworkPreact GetAllLogDrainsFramework = "preact" + GetAllLogDrainsFrameworkSolidstart1 GetAllLogDrainsFramework = "solidstart-1" + GetAllLogDrainsFrameworkSolidstart GetAllLogDrainsFramework = "solidstart" + GetAllLogDrainsFrameworkDojo GetAllLogDrainsFramework = "dojo" + GetAllLogDrainsFrameworkEmber GetAllLogDrainsFramework = "ember" + GetAllLogDrainsFrameworkVue GetAllLogDrainsFramework = "vue" + GetAllLogDrainsFrameworkScully GetAllLogDrainsFramework = "scully" + GetAllLogDrainsFrameworkIonicAngular GetAllLogDrainsFramework = "ionic-angular" + GetAllLogDrainsFrameworkAngular GetAllLogDrainsFramework = "angular" + GetAllLogDrainsFrameworkPolymer GetAllLogDrainsFramework = "polymer" + GetAllLogDrainsFrameworkSvelte GetAllLogDrainsFramework = "svelte" + GetAllLogDrainsFrameworkSveltekit GetAllLogDrainsFramework = "sveltekit" + GetAllLogDrainsFrameworkSveltekit1 GetAllLogDrainsFramework = "sveltekit-1" + GetAllLogDrainsFrameworkIonicReact GetAllLogDrainsFramework = "ionic-react" + GetAllLogDrainsFrameworkCreateReactApp GetAllLogDrainsFramework = "create-react-app" + GetAllLogDrainsFrameworkGridsome GetAllLogDrainsFramework = "gridsome" + GetAllLogDrainsFrameworkUmijs GetAllLogDrainsFramework = "umijs" + GetAllLogDrainsFrameworkSapper GetAllLogDrainsFramework = "sapper" + GetAllLogDrainsFrameworkSaber GetAllLogDrainsFramework = "saber" + GetAllLogDrainsFrameworkStencil GetAllLogDrainsFramework = "stencil" + GetAllLogDrainsFrameworkNuxtjs GetAllLogDrainsFramework = "nuxtjs" + GetAllLogDrainsFrameworkRedwoodjs GetAllLogDrainsFramework = "redwoodjs" + GetAllLogDrainsFrameworkHugo GetAllLogDrainsFramework = "hugo" + GetAllLogDrainsFrameworkJekyll GetAllLogDrainsFramework = "jekyll" + GetAllLogDrainsFrameworkBrunch GetAllLogDrainsFramework = "brunch" + GetAllLogDrainsFrameworkMiddleman GetAllLogDrainsFramework = "middleman" + GetAllLogDrainsFrameworkZola GetAllLogDrainsFramework = "zola" + GetAllLogDrainsFrameworkHydrogen GetAllLogDrainsFramework = "hydrogen" + GetAllLogDrainsFrameworkVite GetAllLogDrainsFramework = "vite" + GetAllLogDrainsFrameworkTanstackStart GetAllLogDrainsFramework = "tanstack-start" + GetAllLogDrainsFrameworkVitepress GetAllLogDrainsFramework = "vitepress" + GetAllLogDrainsFrameworkVuepress GetAllLogDrainsFramework = "vuepress" + GetAllLogDrainsFrameworkParcel GetAllLogDrainsFramework = "parcel" + GetAllLogDrainsFrameworkFastapi GetAllLogDrainsFramework = "fastapi" + GetAllLogDrainsFrameworkFlask GetAllLogDrainsFramework = "flask" + GetAllLogDrainsFrameworkFasthtml GetAllLogDrainsFramework = "fasthtml" + GetAllLogDrainsFrameworkSanityV3 GetAllLogDrainsFramework = "sanity-v3" + GetAllLogDrainsFrameworkSanity GetAllLogDrainsFramework = "sanity" + GetAllLogDrainsFrameworkStorybook GetAllLogDrainsFramework = "storybook" + GetAllLogDrainsFrameworkNitro GetAllLogDrainsFramework = "nitro" + GetAllLogDrainsFrameworkHono GetAllLogDrainsFramework = "hono" + GetAllLogDrainsFrameworkExpress GetAllLogDrainsFramework = "express" + GetAllLogDrainsFrameworkH3 GetAllLogDrainsFramework = "h3" + GetAllLogDrainsFrameworkNestjs GetAllLogDrainsFramework = "nestjs" + GetAllLogDrainsFrameworkElysia GetAllLogDrainsFramework = "elysia" + GetAllLogDrainsFrameworkFastify GetAllLogDrainsFramework = "fastify" + GetAllLogDrainsFrameworkXmcp GetAllLogDrainsFramework = "xmcp" +) + +func (e GetAllLogDrainsFramework) ToPointer() *GetAllLogDrainsFramework { + return &e +} +func (e *GetAllLogDrainsFramework) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "blitzjs": + fallthrough + case "nextjs": + fallthrough + case "gatsby": + fallthrough + case "remix": + fallthrough + case "react-router": + fallthrough + case "astro": + fallthrough + case "hexo": + fallthrough + case "eleventy": + fallthrough + case "docusaurus-2": + fallthrough + case "docusaurus": + fallthrough + case "preact": + fallthrough + case "solidstart-1": + fallthrough + case "solidstart": + fallthrough + case "dojo": + fallthrough + case "ember": + fallthrough + case "vue": + fallthrough + case "scully": + fallthrough + case "ionic-angular": + fallthrough + case "angular": + fallthrough + case "polymer": + fallthrough + case "svelte": + fallthrough + case "sveltekit": + fallthrough + case "sveltekit-1": + fallthrough + case "ionic-react": + fallthrough + case "create-react-app": + fallthrough + case "gridsome": + fallthrough + case "umijs": + fallthrough + case "sapper": + fallthrough + case "saber": + fallthrough + case "stencil": + fallthrough + case "nuxtjs": + fallthrough + case "redwoodjs": + fallthrough + case "hugo": + fallthrough + case "jekyll": + fallthrough + case "brunch": + fallthrough + case "middleman": + fallthrough + case "zola": + fallthrough + case "hydrogen": + fallthrough + case "vite": + fallthrough + case "tanstack-start": + fallthrough + case "vitepress": + fallthrough + case "vuepress": + fallthrough + case "parcel": + fallthrough + case "fastapi": + fallthrough + case "flask": + fallthrough + case "fasthtml": + fallthrough + case "sanity-v3": + fallthrough + case "sanity": + fallthrough + case "storybook": + fallthrough + case "nitro": + fallthrough + case "hono": + fallthrough + case "express": + fallthrough + case "h3": + fallthrough + case "nestjs": + fallthrough + case "elysia": + fallthrough + case "fastify": + fallthrough + case "xmcp": + *e = GetAllLogDrainsFramework(v) + return nil + default: + return fmt.Errorf("invalid value for GetAllLogDrainsFramework: %v", v) + } +} + +type GetAllLogDrainsProjectsMetadatum struct { + ID string `json:"id"` + Name string `json:"name"` + Framework *GetAllLogDrainsFramework `json:"framework,omitempty"` + LatestDeployment *string `json:"latestDeployment,omitempty"` +} + +func (g GetAllLogDrainsProjectsMetadatum) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetAllLogDrainsProjectsMetadatum) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"id", "name"}); err != nil { + return err + } + return nil +} + +func (o *GetAllLogDrainsProjectsMetadatum) GetID() string { + if o == nil { + return "" + } + return o.ID +} + +func (o *GetAllLogDrainsProjectsMetadatum) GetName() string { + if o == nil { + return "" + } + return o.Name +} + +func (o *GetAllLogDrainsProjectsMetadatum) GetFramework() *GetAllLogDrainsFramework { + if o == nil { + return nil + } + return o.Framework +} + +func (o *GetAllLogDrainsProjectsMetadatum) GetLatestDeployment() *string { + if o == nil { + return nil + } + return o.LatestDeployment +} + +type GetAllLogDrainsResponseBody2 struct { + ProjectsMetadata []GetAllLogDrainsProjectsMetadatum `json:"projectsMetadata,omitempty"` + IntegrationIcon *string `json:"integrationIcon,omitempty"` + IntegrationConfigurationURI *string `json:"integrationConfigurationUri,omitempty"` + IntegrationWebsite *string `json:"integrationWebsite,omitempty"` +} + +func (g GetAllLogDrainsResponseBody2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetAllLogDrainsResponseBody2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, nil); err != nil { + return err + } + return nil +} + +func (o *GetAllLogDrainsResponseBody2) GetProjectsMetadata() []GetAllLogDrainsProjectsMetadatum { + if o == nil { + return nil + } + return o.ProjectsMetadata +} + +func (o *GetAllLogDrainsResponseBody2) GetIntegrationIcon() *string { + if o == nil { + return nil + } + return o.IntegrationIcon +} + +func (o *GetAllLogDrainsResponseBody2) GetIntegrationConfigurationURI() *string { + if o == nil { + return nil + } + return o.IntegrationConfigurationURI +} + +func (o *GetAllLogDrainsResponseBody2) GetIntegrationWebsite() *string { + if o == nil { + return nil + } + return o.IntegrationWebsite +} + +type GetAllLogDrainsCreatedFrom2 string + +const ( + GetAllLogDrainsCreatedFrom2SelfServed GetAllLogDrainsCreatedFrom2 = "self-served" + GetAllLogDrainsCreatedFrom2Integration GetAllLogDrainsCreatedFrom2 = "integration" +) + +func (e GetAllLogDrainsCreatedFrom2) ToPointer() *GetAllLogDrainsCreatedFrom2 { + return &e +} +func (e *GetAllLogDrainsCreatedFrom2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "self-served": + fallthrough + case "integration": + *e = GetAllLogDrainsCreatedFrom2(v) + return nil + default: + return fmt.Errorf("invalid value for GetAllLogDrainsCreatedFrom2: %v", v) + } +} + +type GetAllLogDrainsSchemasLog2 struct { +} + +func (g GetAllLogDrainsSchemasLog2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetAllLogDrainsSchemasLog2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, nil); err != nil { + return err + } + return nil +} + +type GetAllLogDrainsTrace2 struct { +} + +func (g GetAllLogDrainsTrace2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetAllLogDrainsTrace2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, nil); err != nil { + return err + } + return nil +} + +type GetAllLogDrainsAnalytics2 struct { +} + +func (g GetAllLogDrainsAnalytics2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetAllLogDrainsAnalytics2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, nil); err != nil { + return err + } + return nil +} + +type GetAllLogDrainsSpeedInsights2 struct { +} + +func (g GetAllLogDrainsSpeedInsights2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetAllLogDrainsSpeedInsights2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, nil); err != nil { + return err + } + return nil +} + +type GetAllLogDrainsSchemas2 struct { + Log *GetAllLogDrainsSchemasLog2 `json:"log,omitempty"` + Trace *GetAllLogDrainsTrace2 `json:"trace,omitempty"` + Analytics *GetAllLogDrainsAnalytics2 `json:"analytics,omitempty"` + SpeedInsights *GetAllLogDrainsSpeedInsights2 `json:"speed_insights,omitempty"` +} + +func (g GetAllLogDrainsSchemas2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetAllLogDrainsSchemas2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, nil); err != nil { + return err + } + return nil +} + +func (o *GetAllLogDrainsSchemas2) GetLog() *GetAllLogDrainsSchemasLog2 { + if o == nil { + return nil + } + return o.Log +} + +func (o *GetAllLogDrainsSchemas2) GetTrace() *GetAllLogDrainsTrace2 { + if o == nil { + return nil + } + return o.Trace +} + +func (o *GetAllLogDrainsSchemas2) GetAnalytics() *GetAllLogDrainsAnalytics2 { + if o == nil { + return nil + } + return o.Analytics +} + +func (o *GetAllLogDrainsSchemas2) GetSpeedInsights() *GetAllLogDrainsSpeedInsights2 { + if o == nil { + return nil + } + return o.SpeedInsights +} + +type GetAllLogDrainsTypeInternal2 string + +const ( + GetAllLogDrainsTypeInternal2Internal GetAllLogDrainsTypeInternal2 = "internal" +) + +func (e GetAllLogDrainsTypeInternal2) ToPointer() *GetAllLogDrainsTypeInternal2 { + return &e +} +func (e *GetAllLogDrainsTypeInternal2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "internal": + *e = GetAllLogDrainsTypeInternal2(v) + return nil + default: + return fmt.Errorf("invalid value for GetAllLogDrainsTypeInternal2: %v", v) + } +} + +type GetAllLogDrainsTarget2 string + +const ( + GetAllLogDrainsTarget2VercelOtelTracesDb GetAllLogDrainsTarget2 = "vercel-otel-traces-db" +) + +func (e GetAllLogDrainsTarget2) ToPointer() *GetAllLogDrainsTarget2 { + return &e +} +func (e *GetAllLogDrainsTarget2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "vercel-otel-traces-db": + *e = GetAllLogDrainsTarget2(v) + return nil + default: + return fmt.Errorf("invalid value for GetAllLogDrainsTarget2: %v", v) + } +} + +type GetAllLogDrainsDeliveryVercelOtelTracesDb2 struct { + Type GetAllLogDrainsTypeInternal2 `json:"type"` + Target GetAllLogDrainsTarget2 `json:"target"` +} + +func (g GetAllLogDrainsDeliveryVercelOtelTracesDb2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetAllLogDrainsDeliveryVercelOtelTracesDb2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"type", "target"}); err != nil { + return err + } + return nil +} + +func (o *GetAllLogDrainsDeliveryVercelOtelTracesDb2) GetType() GetAllLogDrainsTypeInternal2 { + if o == nil { + return GetAllLogDrainsTypeInternal2("") + } + return o.Type +} + +func (o *GetAllLogDrainsDeliveryVercelOtelTracesDb2) GetTarget() GetAllLogDrainsTarget2 { + if o == nil { + return GetAllLogDrainsTarget2("") + } + return o.Target +} + +type GetAllLogDrainsTypeClickhouse2 string + +const ( + GetAllLogDrainsTypeClickhouse2Clickhouse GetAllLogDrainsTypeClickhouse2 = "clickhouse" +) + +func (e GetAllLogDrainsTypeClickhouse2) ToPointer() *GetAllLogDrainsTypeClickhouse2 { + return &e +} +func (e *GetAllLogDrainsTypeClickhouse2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "clickhouse": + *e = GetAllLogDrainsTypeClickhouse2(v) + return nil + default: + return fmt.Errorf("invalid value for GetAllLogDrainsTypeClickhouse2: %v", v) + } +} + +type GetAllLogDrainsDeliveryClickhouse2 struct { + Type GetAllLogDrainsTypeClickhouse2 `json:"type"` + Endpoint string `json:"endpoint"` + Table string `json:"table"` +} + +func (g GetAllLogDrainsDeliveryClickhouse2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetAllLogDrainsDeliveryClickhouse2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"type", "endpoint", "table"}); err != nil { + return err + } + return nil +} + +func (o *GetAllLogDrainsDeliveryClickhouse2) GetType() GetAllLogDrainsTypeClickhouse2 { + if o == nil { + return GetAllLogDrainsTypeClickhouse2("") + } + return o.Type +} + +func (o *GetAllLogDrainsDeliveryClickhouse2) GetEndpoint() string { + if o == nil { + return "" + } + return o.Endpoint +} + +func (o *GetAllLogDrainsDeliveryClickhouse2) GetTable() string { + if o == nil { + return "" + } + return o.Table +} + +type GetAllLogDrainsTypeOtlphttp2 string + +const ( + GetAllLogDrainsTypeOtlphttp2Otlphttp GetAllLogDrainsTypeOtlphttp2 = "otlphttp" +) + +func (e GetAllLogDrainsTypeOtlphttp2) ToPointer() *GetAllLogDrainsTypeOtlphttp2 { + return &e +} +func (e *GetAllLogDrainsTypeOtlphttp2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "otlphttp": + *e = GetAllLogDrainsTypeOtlphttp2(v) + return nil + default: + return fmt.Errorf("invalid value for GetAllLogDrainsTypeOtlphttp2: %v", v) + } +} + +type GetAllLogDrainsEndpoint2 struct { + Traces string `json:"traces"` +} + +func (g GetAllLogDrainsEndpoint2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetAllLogDrainsEndpoint2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"traces"}); err != nil { + return err + } + return nil +} + +func (o *GetAllLogDrainsEndpoint2) GetTraces() string { + if o == nil { + return "" + } + return o.Traces +} + +type GetAllLogDrainsEncoding4 string + +const ( + GetAllLogDrainsEncoding4JSON GetAllLogDrainsEncoding4 = "json" + GetAllLogDrainsEncoding4Proto GetAllLogDrainsEncoding4 = "proto" +) + +func (e GetAllLogDrainsEncoding4) ToPointer() *GetAllLogDrainsEncoding4 { + return &e +} +func (e *GetAllLogDrainsEncoding4) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "json": + fallthrough + case "proto": + *e = GetAllLogDrainsEncoding4(v) + return nil + default: + return fmt.Errorf("invalid value for GetAllLogDrainsEncoding4: %v", v) + } +} + +type GetAllLogDrainsDeliveryOtlphttp2 struct { + Type GetAllLogDrainsTypeOtlphttp2 `json:"type"` + Endpoint GetAllLogDrainsEndpoint2 `json:"endpoint"` + Encoding GetAllLogDrainsEncoding4 `json:"encoding"` + Headers map[string]string `json:"headers"` + Secret *string `json:"secret,omitempty"` +} + +func (g GetAllLogDrainsDeliveryOtlphttp2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetAllLogDrainsDeliveryOtlphttp2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"type", "endpoint", "encoding", "headers"}); err != nil { + return err + } + return nil +} + +func (o *GetAllLogDrainsDeliveryOtlphttp2) GetType() GetAllLogDrainsTypeOtlphttp2 { + if o == nil { + return GetAllLogDrainsTypeOtlphttp2("") + } + return o.Type +} + +func (o *GetAllLogDrainsDeliveryOtlphttp2) GetEndpoint() GetAllLogDrainsEndpoint2 { + if o == nil { + return GetAllLogDrainsEndpoint2{} + } + return o.Endpoint +} + +func (o *GetAllLogDrainsDeliveryOtlphttp2) GetEncoding() GetAllLogDrainsEncoding4 { + if o == nil { + return GetAllLogDrainsEncoding4("") + } + return o.Encoding +} + +func (o *GetAllLogDrainsDeliveryOtlphttp2) GetHeaders() map[string]string { + if o == nil { + return map[string]string{} + } + return o.Headers +} + +func (o *GetAllLogDrainsDeliveryOtlphttp2) GetSecret() *string { + if o == nil { + return nil + } + return o.Secret +} + +type GetAllLogDrainsTypeHTTP2 string + +const ( + GetAllLogDrainsTypeHTTP2HTTP GetAllLogDrainsTypeHTTP2 = "http" +) + +func (e GetAllLogDrainsTypeHTTP2) ToPointer() *GetAllLogDrainsTypeHTTP2 { + return &e +} +func (e *GetAllLogDrainsTypeHTTP2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "http": + *e = GetAllLogDrainsTypeHTTP2(v) + return nil + default: + return fmt.Errorf("invalid value for GetAllLogDrainsTypeHTTP2: %v", v) + } +} + +type GetAllLogDrainsEncoding3 string + +const ( + GetAllLogDrainsEncoding3JSON GetAllLogDrainsEncoding3 = "json" + GetAllLogDrainsEncoding3Ndjson GetAllLogDrainsEncoding3 = "ndjson" +) + +func (e GetAllLogDrainsEncoding3) ToPointer() *GetAllLogDrainsEncoding3 { + return &e +} +func (e *GetAllLogDrainsEncoding3) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "json": + fallthrough + case "ndjson": + *e = GetAllLogDrainsEncoding3(v) + return nil + default: + return fmt.Errorf("invalid value for GetAllLogDrainsEncoding3: %v", v) + } +} + +type GetAllLogDrainsCompression2 string + +const ( + GetAllLogDrainsCompression2Gzip GetAllLogDrainsCompression2 = "gzip" + GetAllLogDrainsCompression2None GetAllLogDrainsCompression2 = "none" +) + +func (e GetAllLogDrainsCompression2) ToPointer() *GetAllLogDrainsCompression2 { + return &e +} +func (e *GetAllLogDrainsCompression2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "gzip": + fallthrough + case "none": + *e = GetAllLogDrainsCompression2(v) + return nil + default: + return fmt.Errorf("invalid value for GetAllLogDrainsCompression2: %v", v) + } +} + +type GetAllLogDrainsDeliveryHTTP2 struct { + Type GetAllLogDrainsTypeHTTP2 `json:"type"` + Endpoint string `json:"endpoint"` + Encoding GetAllLogDrainsEncoding3 `json:"encoding"` + Compression *GetAllLogDrainsCompression2 `json:"compression,omitempty"` + Headers map[string]string `json:"headers"` + Secret *string `json:"secret,omitempty"` +} + +func (g GetAllLogDrainsDeliveryHTTP2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetAllLogDrainsDeliveryHTTP2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"type", "endpoint", "encoding", "headers"}); err != nil { + return err + } + return nil +} + +func (o *GetAllLogDrainsDeliveryHTTP2) GetType() GetAllLogDrainsTypeHTTP2 { + if o == nil { + return GetAllLogDrainsTypeHTTP2("") + } + return o.Type +} + +func (o *GetAllLogDrainsDeliveryHTTP2) GetEndpoint() string { + if o == nil { + return "" + } + return o.Endpoint +} + +func (o *GetAllLogDrainsDeliveryHTTP2) GetEncoding() GetAllLogDrainsEncoding3 { + if o == nil { + return GetAllLogDrainsEncoding3("") + } + return o.Encoding +} + +func (o *GetAllLogDrainsDeliveryHTTP2) GetCompression() *GetAllLogDrainsCompression2 { + if o == nil { + return nil + } + return o.Compression +} + +func (o *GetAllLogDrainsDeliveryHTTP2) GetHeaders() map[string]string { + if o == nil { + return map[string]string{} + } + return o.Headers +} + +func (o *GetAllLogDrainsDeliveryHTTP2) GetSecret() *string { + if o == nil { + return nil + } + return o.Secret +} + +type GetAllLogDrainsDeliveryUnion2Type string + +const ( + GetAllLogDrainsDeliveryUnion2TypeGetAllLogDrainsDeliveryHTTP2 GetAllLogDrainsDeliveryUnion2Type = "getAllLogDrains_delivery_HTTP_2" + GetAllLogDrainsDeliveryUnion2TypeGetAllLogDrainsDeliveryOtlphttp2 GetAllLogDrainsDeliveryUnion2Type = "getAllLogDrains_delivery_Otlphttp_2" + GetAllLogDrainsDeliveryUnion2TypeGetAllLogDrainsDeliveryClickhouse2 GetAllLogDrainsDeliveryUnion2Type = "getAllLogDrains_delivery_Clickhouse_2" + GetAllLogDrainsDeliveryUnion2TypeGetAllLogDrainsDeliveryVercelOtelTracesDb2 GetAllLogDrainsDeliveryUnion2Type = "getAllLogDrains_delivery_VercelOtelTracesDb_2" +) + +type GetAllLogDrainsDeliveryUnion2 struct { + GetAllLogDrainsDeliveryHTTP2 *GetAllLogDrainsDeliveryHTTP2 `queryParam:"inline"` + GetAllLogDrainsDeliveryOtlphttp2 *GetAllLogDrainsDeliveryOtlphttp2 `queryParam:"inline"` + GetAllLogDrainsDeliveryClickhouse2 *GetAllLogDrainsDeliveryClickhouse2 `queryParam:"inline"` + GetAllLogDrainsDeliveryVercelOtelTracesDb2 *GetAllLogDrainsDeliveryVercelOtelTracesDb2 `queryParam:"inline"` + + Type GetAllLogDrainsDeliveryUnion2Type +} + +func CreateGetAllLogDrainsDeliveryUnion2GetAllLogDrainsDeliveryHTTP2(getAllLogDrainsDeliveryHTTP2 GetAllLogDrainsDeliveryHTTP2) GetAllLogDrainsDeliveryUnion2 { + typ := GetAllLogDrainsDeliveryUnion2TypeGetAllLogDrainsDeliveryHTTP2 + + return GetAllLogDrainsDeliveryUnion2{ + GetAllLogDrainsDeliveryHTTP2: &getAllLogDrainsDeliveryHTTP2, + Type: typ, + } +} + +func CreateGetAllLogDrainsDeliveryUnion2GetAllLogDrainsDeliveryOtlphttp2(getAllLogDrainsDeliveryOtlphttp2 GetAllLogDrainsDeliveryOtlphttp2) GetAllLogDrainsDeliveryUnion2 { + typ := GetAllLogDrainsDeliveryUnion2TypeGetAllLogDrainsDeliveryOtlphttp2 + + return GetAllLogDrainsDeliveryUnion2{ + GetAllLogDrainsDeliveryOtlphttp2: &getAllLogDrainsDeliveryOtlphttp2, + Type: typ, + } +} + +func CreateGetAllLogDrainsDeliveryUnion2GetAllLogDrainsDeliveryClickhouse2(getAllLogDrainsDeliveryClickhouse2 GetAllLogDrainsDeliveryClickhouse2) GetAllLogDrainsDeliveryUnion2 { + typ := GetAllLogDrainsDeliveryUnion2TypeGetAllLogDrainsDeliveryClickhouse2 + + return GetAllLogDrainsDeliveryUnion2{ + GetAllLogDrainsDeliveryClickhouse2: &getAllLogDrainsDeliveryClickhouse2, + Type: typ, + } +} + +func CreateGetAllLogDrainsDeliveryUnion2GetAllLogDrainsDeliveryVercelOtelTracesDb2(getAllLogDrainsDeliveryVercelOtelTracesDb2 GetAllLogDrainsDeliveryVercelOtelTracesDb2) GetAllLogDrainsDeliveryUnion2 { + typ := GetAllLogDrainsDeliveryUnion2TypeGetAllLogDrainsDeliveryVercelOtelTracesDb2 + + return GetAllLogDrainsDeliveryUnion2{ + GetAllLogDrainsDeliveryVercelOtelTracesDb2: &getAllLogDrainsDeliveryVercelOtelTracesDb2, + Type: typ, + } +} + +func (u *GetAllLogDrainsDeliveryUnion2) UnmarshalJSON(data []byte) error { + + var getAllLogDrainsDeliveryHTTP2 GetAllLogDrainsDeliveryHTTP2 = GetAllLogDrainsDeliveryHTTP2{} + if err := utils.UnmarshalJSON(data, &getAllLogDrainsDeliveryHTTP2, "", true, nil); err == nil { + u.GetAllLogDrainsDeliveryHTTP2 = &getAllLogDrainsDeliveryHTTP2 + u.Type = GetAllLogDrainsDeliveryUnion2TypeGetAllLogDrainsDeliveryHTTP2 + return nil + } + + var getAllLogDrainsDeliveryOtlphttp2 GetAllLogDrainsDeliveryOtlphttp2 = GetAllLogDrainsDeliveryOtlphttp2{} + if err := utils.UnmarshalJSON(data, &getAllLogDrainsDeliveryOtlphttp2, "", true, nil); err == nil { + u.GetAllLogDrainsDeliveryOtlphttp2 = &getAllLogDrainsDeliveryOtlphttp2 + u.Type = GetAllLogDrainsDeliveryUnion2TypeGetAllLogDrainsDeliveryOtlphttp2 + return nil + } + + var getAllLogDrainsDeliveryClickhouse2 GetAllLogDrainsDeliveryClickhouse2 = GetAllLogDrainsDeliveryClickhouse2{} + if err := utils.UnmarshalJSON(data, &getAllLogDrainsDeliveryClickhouse2, "", true, nil); err == nil { + u.GetAllLogDrainsDeliveryClickhouse2 = &getAllLogDrainsDeliveryClickhouse2 + u.Type = GetAllLogDrainsDeliveryUnion2TypeGetAllLogDrainsDeliveryClickhouse2 + return nil + } + + var getAllLogDrainsDeliveryVercelOtelTracesDb2 GetAllLogDrainsDeliveryVercelOtelTracesDb2 = GetAllLogDrainsDeliveryVercelOtelTracesDb2{} + if err := utils.UnmarshalJSON(data, &getAllLogDrainsDeliveryVercelOtelTracesDb2, "", true, nil); err == nil { + u.GetAllLogDrainsDeliveryVercelOtelTracesDb2 = &getAllLogDrainsDeliveryVercelOtelTracesDb2 + u.Type = GetAllLogDrainsDeliveryUnion2TypeGetAllLogDrainsDeliveryVercelOtelTracesDb2 + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for GetAllLogDrainsDeliveryUnion2", string(data)) +} + +func (u GetAllLogDrainsDeliveryUnion2) MarshalJSON() ([]byte, error) { + if u.GetAllLogDrainsDeliveryHTTP2 != nil { + return utils.MarshalJSON(u.GetAllLogDrainsDeliveryHTTP2, "", true) + } + + if u.GetAllLogDrainsDeliveryOtlphttp2 != nil { + return utils.MarshalJSON(u.GetAllLogDrainsDeliveryOtlphttp2, "", true) + } + + if u.GetAllLogDrainsDeliveryClickhouse2 != nil { + return utils.MarshalJSON(u.GetAllLogDrainsDeliveryClickhouse2, "", true) + } + + if u.GetAllLogDrainsDeliveryVercelOtelTracesDb2 != nil { + return utils.MarshalJSON(u.GetAllLogDrainsDeliveryVercelOtelTracesDb2, "", true) + } + + return nil, errors.New("could not marshal union type GetAllLogDrainsDeliveryUnion2: all fields are null") +} + +type GetAllLogDrainsTypeHeadSampling2 string + +const ( + GetAllLogDrainsTypeHeadSampling2HeadSampling GetAllLogDrainsTypeHeadSampling2 = "head_sampling" +) + +func (e GetAllLogDrainsTypeHeadSampling2) ToPointer() *GetAllLogDrainsTypeHeadSampling2 { + return &e +} +func (e *GetAllLogDrainsTypeHeadSampling2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "head_sampling": + *e = GetAllLogDrainsTypeHeadSampling2(v) + return nil + default: + return fmt.Errorf("invalid value for GetAllLogDrainsTypeHeadSampling2: %v", v) + } +} + +type GetAllLogDrainsEnv2 string + +const ( + GetAllLogDrainsEnv2Production GetAllLogDrainsEnv2 = "production" + GetAllLogDrainsEnv2Preview GetAllLogDrainsEnv2 = "preview" +) + +func (e GetAllLogDrainsEnv2) ToPointer() *GetAllLogDrainsEnv2 { + return &e +} +func (e *GetAllLogDrainsEnv2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "production": + fallthrough + case "preview": + *e = GetAllLogDrainsEnv2(v) + return nil + default: + return fmt.Errorf("invalid value for GetAllLogDrainsEnv2: %v", v) + } +} + +type GetAllLogDrainsSampling2 struct { + Type GetAllLogDrainsTypeHeadSampling2 `json:"type"` + Rate float64 `json:"rate"` + Env *GetAllLogDrainsEnv2 `json:"env,omitempty"` + RequestPath *string `json:"requestPath,omitempty"` +} + +func (g GetAllLogDrainsSampling2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetAllLogDrainsSampling2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"type", "rate"}); err != nil { + return err + } + return nil +} + +func (o *GetAllLogDrainsSampling2) GetType() GetAllLogDrainsTypeHeadSampling2 { + if o == nil { + return GetAllLogDrainsTypeHeadSampling2("") + } + return o.Type +} + +func (o *GetAllLogDrainsSampling2) GetRate() float64 { + if o == nil { + return 0.0 + } + return o.Rate +} + +func (o *GetAllLogDrainsSampling2) GetEnv() *GetAllLogDrainsEnv2 { + if o == nil { + return nil + } + return o.Env +} + +func (o *GetAllLogDrainsSampling2) GetRequestPath() *string { + if o == nil { + return nil + } + return o.RequestPath +} + +type GetAllLogDrainsStatus2 string + +const ( + GetAllLogDrainsStatus2Enabled GetAllLogDrainsStatus2 = "enabled" + GetAllLogDrainsStatus2Disabled GetAllLogDrainsStatus2 = "disabled" + GetAllLogDrainsStatus2Errored GetAllLogDrainsStatus2 = "errored" +) + +func (e GetAllLogDrainsStatus2) ToPointer() *GetAllLogDrainsStatus2 { + return &e +} +func (e *GetAllLogDrainsStatus2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "enabled": + fallthrough + case "disabled": + fallthrough + case "errored": + *e = GetAllLogDrainsStatus2(v) + return nil + default: + return fmt.Errorf("invalid value for GetAllLogDrainsStatus2: %v", v) + } +} + +type GetAllLogDrainsDisabledReason2 string + +const ( + GetAllLogDrainsDisabledReason2DisabledByOwner GetAllLogDrainsDisabledReason2 = "disabled-by-owner" + GetAllLogDrainsDisabledReason2FeatureNotAvailable GetAllLogDrainsDisabledReason2 = "feature-not-available" + GetAllLogDrainsDisabledReason2AccountPlanDowngrade GetAllLogDrainsDisabledReason2 = "account-plan-downgrade" + GetAllLogDrainsDisabledReason2DisabledByAdmin GetAllLogDrainsDisabledReason2 = "disabled-by-admin" +) + +func (e GetAllLogDrainsDisabledReason2) ToPointer() *GetAllLogDrainsDisabledReason2 { + return &e +} +func (e *GetAllLogDrainsDisabledReason2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "disabled-by-owner": + fallthrough + case "feature-not-available": + fallthrough + case "account-plan-downgrade": + fallthrough + case "disabled-by-admin": + *e = GetAllLogDrainsDisabledReason2(v) + return nil + default: + return fmt.Errorf("invalid value for GetAllLogDrainsDisabledReason2: %v", v) + } +} + +type GetAllLogDrainsKindIntegration2 string + +const ( + GetAllLogDrainsKindIntegration2Integration GetAllLogDrainsKindIntegration2 = "integration" +) + +func (e GetAllLogDrainsKindIntegration2) ToPointer() *GetAllLogDrainsKindIntegration2 { + return &e +} +func (e *GetAllLogDrainsKindIntegration2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "integration": + *e = GetAllLogDrainsKindIntegration2(v) + return nil + default: + return fmt.Errorf("invalid value for GetAllLogDrainsKindIntegration2: %v", v) + } +} + +type GetAllLogDrainsSourceIntegration2 struct { + Kind GetAllLogDrainsKindIntegration2 `json:"kind"` + ResourceID *string `json:"resourceId,omitempty"` + ExternalResourceID *string `json:"externalResourceId,omitempty"` + IntegrationID string `json:"integrationId"` + IntegrationConfigurationID string `json:"integrationConfigurationId"` +} + +func (g GetAllLogDrainsSourceIntegration2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetAllLogDrainsSourceIntegration2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"kind", "integrationId", "integrationConfigurationId"}); err != nil { + return err + } + return nil +} + +func (o *GetAllLogDrainsSourceIntegration2) GetKind() GetAllLogDrainsKindIntegration2 { + if o == nil { + return GetAllLogDrainsKindIntegration2("") + } + return o.Kind +} + +func (o *GetAllLogDrainsSourceIntegration2) GetResourceID() *string { + if o == nil { + return nil + } + return o.ResourceID +} + +func (o *GetAllLogDrainsSourceIntegration2) GetExternalResourceID() *string { + if o == nil { + return nil + } + return o.ExternalResourceID +} + +func (o *GetAllLogDrainsSourceIntegration2) GetIntegrationID() string { + if o == nil { + return "" + } + return o.IntegrationID +} + +func (o *GetAllLogDrainsSourceIntegration2) GetIntegrationConfigurationID() string { + if o == nil { + return "" + } + return o.IntegrationConfigurationID +} + +type GetAllLogDrainsKindSelfServed2 string + +const ( + GetAllLogDrainsKindSelfServed2SelfServed GetAllLogDrainsKindSelfServed2 = "self-served" +) + +func (e GetAllLogDrainsKindSelfServed2) ToPointer() *GetAllLogDrainsKindSelfServed2 { + return &e +} +func (e *GetAllLogDrainsKindSelfServed2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "self-served": + *e = GetAllLogDrainsKindSelfServed2(v) + return nil + default: + return fmt.Errorf("invalid value for GetAllLogDrainsKindSelfServed2: %v", v) + } +} + +type GetAllLogDrainsSourceSelfServed2 struct { + Kind GetAllLogDrainsKindSelfServed2 `json:"kind"` +} + +func (g GetAllLogDrainsSourceSelfServed2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetAllLogDrainsSourceSelfServed2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"kind"}); err != nil { + return err + } + return nil +} + +func (o *GetAllLogDrainsSourceSelfServed2) GetKind() GetAllLogDrainsKindSelfServed2 { + if o == nil { + return GetAllLogDrainsKindSelfServed2("") + } + return o.Kind +} + +type GetAllLogDrainsSourceUnion2Type string + +const ( + GetAllLogDrainsSourceUnion2TypeGetAllLogDrainsSourceSelfServed2 GetAllLogDrainsSourceUnion2Type = "getAllLogDrains_source_SelfServed_2" + GetAllLogDrainsSourceUnion2TypeGetAllLogDrainsSourceIntegration2 GetAllLogDrainsSourceUnion2Type = "getAllLogDrains_source_Integration_2" +) + +type GetAllLogDrainsSourceUnion2 struct { + GetAllLogDrainsSourceSelfServed2 *GetAllLogDrainsSourceSelfServed2 `queryParam:"inline"` + GetAllLogDrainsSourceIntegration2 *GetAllLogDrainsSourceIntegration2 `queryParam:"inline"` + + Type GetAllLogDrainsSourceUnion2Type +} + +func CreateGetAllLogDrainsSourceUnion2GetAllLogDrainsSourceSelfServed2(getAllLogDrainsSourceSelfServed2 GetAllLogDrainsSourceSelfServed2) GetAllLogDrainsSourceUnion2 { + typ := GetAllLogDrainsSourceUnion2TypeGetAllLogDrainsSourceSelfServed2 + + return GetAllLogDrainsSourceUnion2{ + GetAllLogDrainsSourceSelfServed2: &getAllLogDrainsSourceSelfServed2, + Type: typ, + } +} + +func CreateGetAllLogDrainsSourceUnion2GetAllLogDrainsSourceIntegration2(getAllLogDrainsSourceIntegration2 GetAllLogDrainsSourceIntegration2) GetAllLogDrainsSourceUnion2 { + typ := GetAllLogDrainsSourceUnion2TypeGetAllLogDrainsSourceIntegration2 + + return GetAllLogDrainsSourceUnion2{ + GetAllLogDrainsSourceIntegration2: &getAllLogDrainsSourceIntegration2, + Type: typ, + } +} + +func (u *GetAllLogDrainsSourceUnion2) UnmarshalJSON(data []byte) error { + + var getAllLogDrainsSourceIntegration2 GetAllLogDrainsSourceIntegration2 = GetAllLogDrainsSourceIntegration2{} + if err := utils.UnmarshalJSON(data, &getAllLogDrainsSourceIntegration2, "", true, nil); err == nil { + u.GetAllLogDrainsSourceIntegration2 = &getAllLogDrainsSourceIntegration2 + u.Type = GetAllLogDrainsSourceUnion2TypeGetAllLogDrainsSourceIntegration2 + return nil + } + + var getAllLogDrainsSourceSelfServed2 GetAllLogDrainsSourceSelfServed2 = GetAllLogDrainsSourceSelfServed2{} + if err := utils.UnmarshalJSON(data, &getAllLogDrainsSourceSelfServed2, "", true, nil); err == nil { + u.GetAllLogDrainsSourceSelfServed2 = &getAllLogDrainsSourceSelfServed2 + u.Type = GetAllLogDrainsSourceUnion2TypeGetAllLogDrainsSourceSelfServed2 + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for GetAllLogDrainsSourceUnion2", string(data)) +} + +func (u GetAllLogDrainsSourceUnion2) MarshalJSON() ([]byte, error) { + if u.GetAllLogDrainsSourceSelfServed2 != nil { + return utils.MarshalJSON(u.GetAllLogDrainsSourceSelfServed2, "", true) + } + + if u.GetAllLogDrainsSourceIntegration2 != nil { + return utils.MarshalJSON(u.GetAllLogDrainsSourceIntegration2, "", true) + } + + return nil, errors.New("could not marshal union type GetAllLogDrainsSourceUnion2: all fields are null") +} + +type GetAllLogDrainsVersionV22 string + +const ( + GetAllLogDrainsVersionV22V2 GetAllLogDrainsVersionV22 = "v2" +) + +func (e GetAllLogDrainsVersionV22) ToPointer() *GetAllLogDrainsVersionV22 { + return &e +} +func (e *GetAllLogDrainsVersionV22) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "v2": + *e = GetAllLogDrainsVersionV22(v) + return nil + default: + return fmt.Errorf("invalid value for GetAllLogDrainsVersionV22: %v", v) + } +} + +type GetAllLogDrainsTypeOdata2 string + +const ( + GetAllLogDrainsTypeOdata2Odata GetAllLogDrainsTypeOdata2 = "odata" +) + +func (e GetAllLogDrainsTypeOdata2) ToPointer() *GetAllLogDrainsTypeOdata2 { + return &e +} +func (e *GetAllLogDrainsTypeOdata2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "odata": + *e = GetAllLogDrainsTypeOdata2(v) + return nil + default: + return fmt.Errorf("invalid value for GetAllLogDrainsTypeOdata2: %v", v) + } +} + +type GetAllLogDrainsFilterOdata2 struct { + Type GetAllLogDrainsTypeOdata2 `json:"type"` + Text string `json:"text"` +} + +func (g GetAllLogDrainsFilterOdata2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetAllLogDrainsFilterOdata2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"type", "text"}); err != nil { + return err + } + return nil +} + +func (o *GetAllLogDrainsFilterOdata2) GetType() GetAllLogDrainsTypeOdata2 { + if o == nil { + return GetAllLogDrainsTypeOdata2("") + } + return o.Type +} + +func (o *GetAllLogDrainsFilterOdata2) GetText() string { + if o == nil { + return "" + } + return o.Text +} + +type GetAllLogDrainsTypeBasic2 string + +const ( + GetAllLogDrainsTypeBasic2Basic GetAllLogDrainsTypeBasic2 = "basic" +) + +func (e GetAllLogDrainsTypeBasic2) ToPointer() *GetAllLogDrainsTypeBasic2 { + return &e +} +func (e *GetAllLogDrainsTypeBasic2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "basic": + *e = GetAllLogDrainsTypeBasic2(v) + return nil + default: + return fmt.Errorf("invalid value for GetAllLogDrainsTypeBasic2: %v", v) + } +} + +type GetAllLogDrainsProject2 struct { + Ids []string `json:"ids,omitempty"` +} + +func (g GetAllLogDrainsProject2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetAllLogDrainsProject2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, nil); err != nil { + return err + } + return nil +} + +func (o *GetAllLogDrainsProject2) GetIds() []string { + if o == nil { + return nil + } + return o.Ids +} + +type GetAllLogDrainsFilterV2Source2 string + +const ( + GetAllLogDrainsFilterV2Source2Build GetAllLogDrainsFilterV2Source2 = "build" + GetAllLogDrainsFilterV2Source2Edge GetAllLogDrainsFilterV2Source2 = "edge" + GetAllLogDrainsFilterV2Source2Lambda GetAllLogDrainsFilterV2Source2 = "lambda" + GetAllLogDrainsFilterV2Source2Static GetAllLogDrainsFilterV2Source2 = "static" + GetAllLogDrainsFilterV2Source2External GetAllLogDrainsFilterV2Source2 = "external" + GetAllLogDrainsFilterV2Source2Firewall GetAllLogDrainsFilterV2Source2 = "firewall" + GetAllLogDrainsFilterV2Source2Redirect GetAllLogDrainsFilterV2Source2 = "redirect" +) + +func (e GetAllLogDrainsFilterV2Source2) ToPointer() *GetAllLogDrainsFilterV2Source2 { + return &e +} +func (e *GetAllLogDrainsFilterV2Source2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "build": + fallthrough + case "edge": + fallthrough + case "lambda": + fallthrough + case "static": + fallthrough + case "external": + fallthrough + case "firewall": + fallthrough + case "redirect": + *e = GetAllLogDrainsFilterV2Source2(v) + return nil + default: + return fmt.Errorf("invalid value for GetAllLogDrainsFilterV2Source2: %v", v) + } +} + +type GetAllLogDrainsFilterV2Log2 struct { + Sources []GetAllLogDrainsFilterV2Source2 `json:"sources,omitempty"` + LegacyExcludeCachedStaticAssetLogs *bool `json:"legacy_excludeCachedStaticAssetLogs,omitempty"` +} + +func (g GetAllLogDrainsFilterV2Log2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetAllLogDrainsFilterV2Log2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, nil); err != nil { + return err + } + return nil +} + +func (o *GetAllLogDrainsFilterV2Log2) GetSources() []GetAllLogDrainsFilterV2Source2 { + if o == nil { + return nil + } + return o.Sources +} + +func (o *GetAllLogDrainsFilterV2Log2) GetLegacyExcludeCachedStaticAssetLogs() *bool { + if o == nil { + return nil + } + return o.LegacyExcludeCachedStaticAssetLogs +} + +type GetAllLogDrainsEnvironment2 string + +const ( + GetAllLogDrainsEnvironment2Production GetAllLogDrainsEnvironment2 = "production" + GetAllLogDrainsEnvironment2Preview GetAllLogDrainsEnvironment2 = "preview" +) + +func (e GetAllLogDrainsEnvironment2) ToPointer() *GetAllLogDrainsEnvironment2 { + return &e +} +func (e *GetAllLogDrainsEnvironment2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "production": + fallthrough + case "preview": + *e = GetAllLogDrainsEnvironment2(v) + return nil + default: + return fmt.Errorf("invalid value for GetAllLogDrainsEnvironment2: %v", v) + } +} + +type GetAllLogDrainsDeployment2 struct { + Environments []GetAllLogDrainsEnvironment2 `json:"environments,omitempty"` +} + +func (g GetAllLogDrainsDeployment2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetAllLogDrainsDeployment2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, nil); err != nil { + return err + } + return nil +} + +func (o *GetAllLogDrainsDeployment2) GetEnvironments() []GetAllLogDrainsEnvironment2 { + if o == nil { + return nil + } + return o.Environments +} + +type GetAllLogDrainsFilterBasic2 struct { + Type GetAllLogDrainsTypeBasic2 `json:"type"` + Project *GetAllLogDrainsProject2 `json:"project,omitempty"` + Log *GetAllLogDrainsFilterV2Log2 `json:"log,omitempty"` + Deployment *GetAllLogDrainsDeployment2 `json:"deployment,omitempty"` +} + +func (g GetAllLogDrainsFilterBasic2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetAllLogDrainsFilterBasic2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"type"}); err != nil { + return err + } + return nil +} + +func (o *GetAllLogDrainsFilterBasic2) GetType() GetAllLogDrainsTypeBasic2 { + if o == nil { + return GetAllLogDrainsTypeBasic2("") + } + return o.Type +} + +func (o *GetAllLogDrainsFilterBasic2) GetProject() *GetAllLogDrainsProject2 { + if o == nil { + return nil + } + return o.Project +} + +func (o *GetAllLogDrainsFilterBasic2) GetLog() *GetAllLogDrainsFilterV2Log2 { + if o == nil { + return nil + } + return o.Log +} + +func (o *GetAllLogDrainsFilterBasic2) GetDeployment() *GetAllLogDrainsDeployment2 { + if o == nil { + return nil + } + return o.Deployment +} + +type GetAllLogDrainsFilterUnion2Type string + +const ( + GetAllLogDrainsFilterUnion2TypeGetAllLogDrainsFilterBasic2 GetAllLogDrainsFilterUnion2Type = "getAllLogDrains_filter_Basic_2" + GetAllLogDrainsFilterUnion2TypeGetAllLogDrainsFilterOdata2 GetAllLogDrainsFilterUnion2Type = "getAllLogDrains_filter_Odata_2" +) + +type GetAllLogDrainsFilterUnion2 struct { + GetAllLogDrainsFilterBasic2 *GetAllLogDrainsFilterBasic2 `queryParam:"inline"` + GetAllLogDrainsFilterOdata2 *GetAllLogDrainsFilterOdata2 `queryParam:"inline"` + + Type GetAllLogDrainsFilterUnion2Type +} + +func CreateGetAllLogDrainsFilterUnion2GetAllLogDrainsFilterBasic2(getAllLogDrainsFilterBasic2 GetAllLogDrainsFilterBasic2) GetAllLogDrainsFilterUnion2 { + typ := GetAllLogDrainsFilterUnion2TypeGetAllLogDrainsFilterBasic2 + + return GetAllLogDrainsFilterUnion2{ + GetAllLogDrainsFilterBasic2: &getAllLogDrainsFilterBasic2, + Type: typ, + } +} + +func CreateGetAllLogDrainsFilterUnion2GetAllLogDrainsFilterOdata2(getAllLogDrainsFilterOdata2 GetAllLogDrainsFilterOdata2) GetAllLogDrainsFilterUnion2 { + typ := GetAllLogDrainsFilterUnion2TypeGetAllLogDrainsFilterOdata2 + + return GetAllLogDrainsFilterUnion2{ + GetAllLogDrainsFilterOdata2: &getAllLogDrainsFilterOdata2, + Type: typ, + } +} + +func (u *GetAllLogDrainsFilterUnion2) UnmarshalJSON(data []byte) error { + + var getAllLogDrainsFilterOdata2 GetAllLogDrainsFilterOdata2 = GetAllLogDrainsFilterOdata2{} + if err := utils.UnmarshalJSON(data, &getAllLogDrainsFilterOdata2, "", true, nil); err == nil { + u.GetAllLogDrainsFilterOdata2 = &getAllLogDrainsFilterOdata2 + u.Type = GetAllLogDrainsFilterUnion2TypeGetAllLogDrainsFilterOdata2 + return nil + } + + var getAllLogDrainsFilterBasic2 GetAllLogDrainsFilterBasic2 = GetAllLogDrainsFilterBasic2{} + if err := utils.UnmarshalJSON(data, &getAllLogDrainsFilterBasic2, "", true, nil); err == nil { + u.GetAllLogDrainsFilterBasic2 = &getAllLogDrainsFilterBasic2 + u.Type = GetAllLogDrainsFilterUnion2TypeGetAllLogDrainsFilterBasic2 + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for GetAllLogDrainsFilterUnion2", string(data)) +} + +func (u GetAllLogDrainsFilterUnion2) MarshalJSON() ([]byte, error) { + if u.GetAllLogDrainsFilterBasic2 != nil { + return utils.MarshalJSON(u.GetAllLogDrainsFilterBasic2, "", true) + } + + if u.GetAllLogDrainsFilterOdata2 != nil { + return utils.MarshalJSON(u.GetAllLogDrainsFilterOdata2, "", true) + } + + return nil, errors.New("could not marshal union type GetAllLogDrainsFilterUnion2: all fields are null") +} + +type GetAllLogDrainsFilterV2V22 struct { + Version GetAllLogDrainsVersionV22 `json:"version"` + Filter GetAllLogDrainsFilterUnion2 `json:"filter"` +} + +func (g GetAllLogDrainsFilterV2V22) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetAllLogDrainsFilterV2V22) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"version", "filter"}); err != nil { + return err + } + return nil +} + +func (o *GetAllLogDrainsFilterV2V22) GetVersion() GetAllLogDrainsVersionV22 { + if o == nil { + return GetAllLogDrainsVersionV22("") + } + return o.Version +} + +func (o *GetAllLogDrainsFilterV2V22) GetFilter() GetAllLogDrainsFilterUnion2 { + if o == nil { + return GetAllLogDrainsFilterUnion2{} + } + return o.Filter +} + +type GetAllLogDrainsVersionV12 string + +const ( + GetAllLogDrainsVersionV12V1 GetAllLogDrainsVersionV12 = "v1" +) + +func (e GetAllLogDrainsVersionV12) ToPointer() *GetAllLogDrainsVersionV12 { + return &e +} +func (e *GetAllLogDrainsVersionV12) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "v1": + *e = GetAllLogDrainsVersionV12(v) + return nil + default: + return fmt.Errorf("invalid value for GetAllLogDrainsVersionV12: %v", v) + } +} + +type GetAllLogDrainsFilterV2V12 struct { + Version GetAllLogDrainsVersionV12 `json:"version"` +} + +func (g GetAllLogDrainsFilterV2V12) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetAllLogDrainsFilterV2V12) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"version"}); err != nil { + return err + } + return nil +} + +func (o *GetAllLogDrainsFilterV2V12) GetVersion() GetAllLogDrainsVersionV12 { + if o == nil { + return GetAllLogDrainsVersionV12("") + } + return o.Version +} + +type GetAllLogDrainsFilterV2Union2Type string + +const ( + GetAllLogDrainsFilterV2Union2TypeGetAllLogDrainsFilterV2V12 GetAllLogDrainsFilterV2Union2Type = "getAllLogDrains_filterV2_V1_2" + GetAllLogDrainsFilterV2Union2TypeGetAllLogDrainsFilterV2V22 GetAllLogDrainsFilterV2Union2Type = "getAllLogDrains_filterV2_V2_2" +) + +type GetAllLogDrainsFilterV2Union2 struct { + GetAllLogDrainsFilterV2V12 *GetAllLogDrainsFilterV2V12 `queryParam:"inline"` + GetAllLogDrainsFilterV2V22 *GetAllLogDrainsFilterV2V22 `queryParam:"inline"` + + Type GetAllLogDrainsFilterV2Union2Type +} + +func CreateGetAllLogDrainsFilterV2Union2GetAllLogDrainsFilterV2V12(getAllLogDrainsFilterV2V12 GetAllLogDrainsFilterV2V12) GetAllLogDrainsFilterV2Union2 { + typ := GetAllLogDrainsFilterV2Union2TypeGetAllLogDrainsFilterV2V12 + + return GetAllLogDrainsFilterV2Union2{ + GetAllLogDrainsFilterV2V12: &getAllLogDrainsFilterV2V12, + Type: typ, + } +} + +func CreateGetAllLogDrainsFilterV2Union2GetAllLogDrainsFilterV2V22(getAllLogDrainsFilterV2V22 GetAllLogDrainsFilterV2V22) GetAllLogDrainsFilterV2Union2 { + typ := GetAllLogDrainsFilterV2Union2TypeGetAllLogDrainsFilterV2V22 + + return GetAllLogDrainsFilterV2Union2{ + GetAllLogDrainsFilterV2V22: &getAllLogDrainsFilterV2V22, + Type: typ, + } +} + +func (u *GetAllLogDrainsFilterV2Union2) UnmarshalJSON(data []byte) error { + + var getAllLogDrainsFilterV2V22 GetAllLogDrainsFilterV2V22 = GetAllLogDrainsFilterV2V22{} + if err := utils.UnmarshalJSON(data, &getAllLogDrainsFilterV2V22, "", true, nil); err == nil { + u.GetAllLogDrainsFilterV2V22 = &getAllLogDrainsFilterV2V22 + u.Type = GetAllLogDrainsFilterV2Union2TypeGetAllLogDrainsFilterV2V22 + return nil + } + + var getAllLogDrainsFilterV2V12 GetAllLogDrainsFilterV2V12 = GetAllLogDrainsFilterV2V12{} + if err := utils.UnmarshalJSON(data, &getAllLogDrainsFilterV2V12, "", true, nil); err == nil { + u.GetAllLogDrainsFilterV2V12 = &getAllLogDrainsFilterV2V12 + u.Type = GetAllLogDrainsFilterV2Union2TypeGetAllLogDrainsFilterV2V12 + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for GetAllLogDrainsFilterV2Union2", string(data)) +} + +func (u GetAllLogDrainsFilterV2Union2) MarshalJSON() ([]byte, error) { + if u.GetAllLogDrainsFilterV2V12 != nil { + return utils.MarshalJSON(u.GetAllLogDrainsFilterV2V12, "", true) + } + + if u.GetAllLogDrainsFilterV2V22 != nil { + return utils.MarshalJSON(u.GetAllLogDrainsFilterV2V22, "", true) + } + + return nil, errors.New("could not marshal union type GetAllLogDrainsFilterV2Union2: all fields are null") +} + +type GetAllLogDrainsDrainsFramework string + +const ( + GetAllLogDrainsDrainsFrameworkBlitzjs GetAllLogDrainsDrainsFramework = "blitzjs" + GetAllLogDrainsDrainsFrameworkNextjs GetAllLogDrainsDrainsFramework = "nextjs" + GetAllLogDrainsDrainsFrameworkGatsby GetAllLogDrainsDrainsFramework = "gatsby" + GetAllLogDrainsDrainsFrameworkRemix GetAllLogDrainsDrainsFramework = "remix" + GetAllLogDrainsDrainsFrameworkReactRouter GetAllLogDrainsDrainsFramework = "react-router" + GetAllLogDrainsDrainsFrameworkAstro GetAllLogDrainsDrainsFramework = "astro" + GetAllLogDrainsDrainsFrameworkHexo GetAllLogDrainsDrainsFramework = "hexo" + GetAllLogDrainsDrainsFrameworkEleventy GetAllLogDrainsDrainsFramework = "eleventy" + GetAllLogDrainsDrainsFrameworkDocusaurus2 GetAllLogDrainsDrainsFramework = "docusaurus-2" + GetAllLogDrainsDrainsFrameworkDocusaurus GetAllLogDrainsDrainsFramework = "docusaurus" + GetAllLogDrainsDrainsFrameworkPreact GetAllLogDrainsDrainsFramework = "preact" + GetAllLogDrainsDrainsFrameworkSolidstart1 GetAllLogDrainsDrainsFramework = "solidstart-1" + GetAllLogDrainsDrainsFrameworkSolidstart GetAllLogDrainsDrainsFramework = "solidstart" + GetAllLogDrainsDrainsFrameworkDojo GetAllLogDrainsDrainsFramework = "dojo" + GetAllLogDrainsDrainsFrameworkEmber GetAllLogDrainsDrainsFramework = "ember" + GetAllLogDrainsDrainsFrameworkVue GetAllLogDrainsDrainsFramework = "vue" + GetAllLogDrainsDrainsFrameworkScully GetAllLogDrainsDrainsFramework = "scully" + GetAllLogDrainsDrainsFrameworkIonicAngular GetAllLogDrainsDrainsFramework = "ionic-angular" + GetAllLogDrainsDrainsFrameworkAngular GetAllLogDrainsDrainsFramework = "angular" + GetAllLogDrainsDrainsFrameworkPolymer GetAllLogDrainsDrainsFramework = "polymer" + GetAllLogDrainsDrainsFrameworkSvelte GetAllLogDrainsDrainsFramework = "svelte" + GetAllLogDrainsDrainsFrameworkSveltekit GetAllLogDrainsDrainsFramework = "sveltekit" + GetAllLogDrainsDrainsFrameworkSveltekit1 GetAllLogDrainsDrainsFramework = "sveltekit-1" + GetAllLogDrainsDrainsFrameworkIonicReact GetAllLogDrainsDrainsFramework = "ionic-react" + GetAllLogDrainsDrainsFrameworkCreateReactApp GetAllLogDrainsDrainsFramework = "create-react-app" + GetAllLogDrainsDrainsFrameworkGridsome GetAllLogDrainsDrainsFramework = "gridsome" + GetAllLogDrainsDrainsFrameworkUmijs GetAllLogDrainsDrainsFramework = "umijs" + GetAllLogDrainsDrainsFrameworkSapper GetAllLogDrainsDrainsFramework = "sapper" + GetAllLogDrainsDrainsFrameworkSaber GetAllLogDrainsDrainsFramework = "saber" + GetAllLogDrainsDrainsFrameworkStencil GetAllLogDrainsDrainsFramework = "stencil" + GetAllLogDrainsDrainsFrameworkNuxtjs GetAllLogDrainsDrainsFramework = "nuxtjs" + GetAllLogDrainsDrainsFrameworkRedwoodjs GetAllLogDrainsDrainsFramework = "redwoodjs" + GetAllLogDrainsDrainsFrameworkHugo GetAllLogDrainsDrainsFramework = "hugo" + GetAllLogDrainsDrainsFrameworkJekyll GetAllLogDrainsDrainsFramework = "jekyll" + GetAllLogDrainsDrainsFrameworkBrunch GetAllLogDrainsDrainsFramework = "brunch" + GetAllLogDrainsDrainsFrameworkMiddleman GetAllLogDrainsDrainsFramework = "middleman" + GetAllLogDrainsDrainsFrameworkZola GetAllLogDrainsDrainsFramework = "zola" + GetAllLogDrainsDrainsFrameworkHydrogen GetAllLogDrainsDrainsFramework = "hydrogen" + GetAllLogDrainsDrainsFrameworkVite GetAllLogDrainsDrainsFramework = "vite" + GetAllLogDrainsDrainsFrameworkTanstackStart GetAllLogDrainsDrainsFramework = "tanstack-start" + GetAllLogDrainsDrainsFrameworkVitepress GetAllLogDrainsDrainsFramework = "vitepress" + GetAllLogDrainsDrainsFrameworkVuepress GetAllLogDrainsDrainsFramework = "vuepress" + GetAllLogDrainsDrainsFrameworkParcel GetAllLogDrainsDrainsFramework = "parcel" + GetAllLogDrainsDrainsFrameworkFastapi GetAllLogDrainsDrainsFramework = "fastapi" + GetAllLogDrainsDrainsFrameworkFlask GetAllLogDrainsDrainsFramework = "flask" + GetAllLogDrainsDrainsFrameworkFasthtml GetAllLogDrainsDrainsFramework = "fasthtml" + GetAllLogDrainsDrainsFrameworkSanityV3 GetAllLogDrainsDrainsFramework = "sanity-v3" + GetAllLogDrainsDrainsFrameworkSanity GetAllLogDrainsDrainsFramework = "sanity" + GetAllLogDrainsDrainsFrameworkStorybook GetAllLogDrainsDrainsFramework = "storybook" + GetAllLogDrainsDrainsFrameworkNitro GetAllLogDrainsDrainsFramework = "nitro" + GetAllLogDrainsDrainsFrameworkHono GetAllLogDrainsDrainsFramework = "hono" + GetAllLogDrainsDrainsFrameworkExpress GetAllLogDrainsDrainsFramework = "express" + GetAllLogDrainsDrainsFrameworkH3 GetAllLogDrainsDrainsFramework = "h3" + GetAllLogDrainsDrainsFrameworkNestjs GetAllLogDrainsDrainsFramework = "nestjs" + GetAllLogDrainsDrainsFrameworkElysia GetAllLogDrainsDrainsFramework = "elysia" + GetAllLogDrainsDrainsFrameworkFastify GetAllLogDrainsDrainsFramework = "fastify" + GetAllLogDrainsDrainsFrameworkXmcp GetAllLogDrainsDrainsFramework = "xmcp" +) + +func (e GetAllLogDrainsDrainsFramework) ToPointer() *GetAllLogDrainsDrainsFramework { + return &e +} +func (e *GetAllLogDrainsDrainsFramework) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "blitzjs": + fallthrough + case "nextjs": + fallthrough + case "gatsby": + fallthrough + case "remix": + fallthrough + case "react-router": + fallthrough + case "astro": + fallthrough + case "hexo": + fallthrough + case "eleventy": + fallthrough + case "docusaurus-2": + fallthrough + case "docusaurus": + fallthrough + case "preact": + fallthrough + case "solidstart-1": + fallthrough + case "solidstart": + fallthrough + case "dojo": + fallthrough + case "ember": + fallthrough + case "vue": + fallthrough + case "scully": + fallthrough + case "ionic-angular": + fallthrough + case "angular": + fallthrough + case "polymer": + fallthrough + case "svelte": + fallthrough + case "sveltekit": + fallthrough + case "sveltekit-1": + fallthrough + case "ionic-react": + fallthrough + case "create-react-app": + fallthrough + case "gridsome": + fallthrough + case "umijs": + fallthrough + case "sapper": + fallthrough + case "saber": + fallthrough + case "stencil": + fallthrough + case "nuxtjs": + fallthrough + case "redwoodjs": + fallthrough + case "hugo": + fallthrough + case "jekyll": + fallthrough + case "brunch": + fallthrough + case "middleman": + fallthrough + case "zola": + fallthrough + case "hydrogen": + fallthrough + case "vite": + fallthrough + case "tanstack-start": + fallthrough + case "vitepress": + fallthrough + case "vuepress": + fallthrough + case "parcel": + fallthrough + case "fastapi": + fallthrough + case "flask": + fallthrough + case "fasthtml": + fallthrough + case "sanity-v3": + fallthrough + case "sanity": + fallthrough + case "storybook": + fallthrough + case "nitro": + fallthrough + case "hono": + fallthrough + case "express": + fallthrough + case "h3": + fallthrough + case "nestjs": + fallthrough + case "elysia": + fallthrough + case "fastify": + fallthrough + case "xmcp": + *e = GetAllLogDrainsDrainsFramework(v) + return nil + default: + return fmt.Errorf("invalid value for GetAllLogDrainsDrainsFramework: %v", v) + } +} + +type GetAllLogDrainsDrainsProjectsMetadatum struct { + ID string `json:"id"` + Name string `json:"name"` + Framework *GetAllLogDrainsDrainsFramework `json:"framework,omitempty"` + LatestDeployment *string `json:"latestDeployment,omitempty"` +} + +func (g GetAllLogDrainsDrainsProjectsMetadatum) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetAllLogDrainsDrainsProjectsMetadatum) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"id", "name"}); err != nil { + return err + } + return nil +} + +func (o *GetAllLogDrainsDrainsProjectsMetadatum) GetID() string { + if o == nil { + return "" + } + return o.ID +} + +func (o *GetAllLogDrainsDrainsProjectsMetadatum) GetName() string { + if o == nil { + return "" + } + return o.Name +} + +func (o *GetAllLogDrainsDrainsProjectsMetadatum) GetFramework() *GetAllLogDrainsDrainsFramework { + if o == nil { + return nil + } + return o.Framework +} + +func (o *GetAllLogDrainsDrainsProjectsMetadatum) GetLatestDeployment() *string { + if o == nil { + return nil + } + return o.LatestDeployment +} + +type GetAllLogDrainsDrains2 struct { + ID string `json:"id"` + OwnerID string `json:"ownerId"` + Name string `json:"name"` + CreatedAt float64 `json:"createdAt"` + CreatedFrom *GetAllLogDrainsCreatedFrom2 `json:"createdFrom,omitempty"` + UpdatedAt float64 `json:"updatedAt"` + ProjectIds []string `json:"projectIds,omitempty"` + Schemas *GetAllLogDrainsSchemas2 `json:"schemas,omitempty"` + Delivery *GetAllLogDrainsDeliveryUnion2 `json:"delivery,omitempty"` + Sampling []GetAllLogDrainsSampling2 `json:"sampling,omitempty"` + TeamID *string `json:"teamId,omitempty"` + Status *GetAllLogDrainsStatus2 `json:"status,omitempty"` + DisabledAt *float64 `json:"disabledAt,omitempty"` + DisabledReason *GetAllLogDrainsDisabledReason2 `json:"disabledReason,omitempty"` + DisabledBy *string `json:"disabledBy,omitempty"` + FirstErrorTimestamp *float64 `json:"firstErrorTimestamp,omitempty"` + ConfigurationID *string `json:"configurationId,omitempty"` + ClientID *string `json:"clientId,omitempty"` + Source GetAllLogDrainsSourceUnion2 `json:"source"` + Filter *string `json:"filter,omitempty"` + FilterV2 *GetAllLogDrainsFilterV2Union2 `json:"filterV2,omitempty"` + IntegrationIcon *string `json:"integrationIcon,omitempty"` + IntegrationConfigurationURI *string `json:"integrationConfigurationUri,omitempty"` + IntegrationWebsite *string `json:"integrationWebsite,omitempty"` + ProjectsMetadata []GetAllLogDrainsDrainsProjectsMetadatum `json:"projectsMetadata,omitempty"` +} + +func (g GetAllLogDrainsDrains2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetAllLogDrainsDrains2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"id", "ownerId", "name", "createdAt", "updatedAt", "source"}); err != nil { + return err + } + return nil +} + +func (o *GetAllLogDrainsDrains2) GetID() string { + if o == nil { + return "" + } + return o.ID +} + +func (o *GetAllLogDrainsDrains2) GetOwnerID() string { + if o == nil { + return "" + } + return o.OwnerID +} + +func (o *GetAllLogDrainsDrains2) GetName() string { + if o == nil { + return "" + } + return o.Name +} + +func (o *GetAllLogDrainsDrains2) GetCreatedAt() float64 { + if o == nil { + return 0.0 + } + return o.CreatedAt +} + +func (o *GetAllLogDrainsDrains2) GetCreatedFrom() *GetAllLogDrainsCreatedFrom2 { + if o == nil { + return nil + } + return o.CreatedFrom +} + +func (o *GetAllLogDrainsDrains2) GetUpdatedAt() float64 { + if o == nil { + return 0.0 + } + return o.UpdatedAt +} + +func (o *GetAllLogDrainsDrains2) GetProjectIds() []string { + if o == nil { + return nil + } + return o.ProjectIds +} + +func (o *GetAllLogDrainsDrains2) GetSchemas() *GetAllLogDrainsSchemas2 { + if o == nil { + return nil + } + return o.Schemas +} + +func (o *GetAllLogDrainsDrains2) GetDelivery() *GetAllLogDrainsDeliveryUnion2 { + if o == nil { + return nil + } + return o.Delivery +} + +func (o *GetAllLogDrainsDrains2) GetSampling() []GetAllLogDrainsSampling2 { + if o == nil { + return nil + } + return o.Sampling +} + +func (o *GetAllLogDrainsDrains2) GetTeamID() *string { + if o == nil { + return nil + } + return o.TeamID +} + +func (o *GetAllLogDrainsDrains2) GetStatus() *GetAllLogDrainsStatus2 { + if o == nil { + return nil + } + return o.Status +} + +func (o *GetAllLogDrainsDrains2) GetDisabledAt() *float64 { + if o == nil { + return nil + } + return o.DisabledAt +} + +func (o *GetAllLogDrainsDrains2) GetDisabledReason() *GetAllLogDrainsDisabledReason2 { + if o == nil { + return nil + } + return o.DisabledReason +} + +func (o *GetAllLogDrainsDrains2) GetDisabledBy() *string { + if o == nil { + return nil + } + return o.DisabledBy +} + +func (o *GetAllLogDrainsDrains2) GetFirstErrorTimestamp() *float64 { + if o == nil { + return nil + } + return o.FirstErrorTimestamp +} + +func (o *GetAllLogDrainsDrains2) GetConfigurationID() *string { + if o == nil { + return nil + } + return o.ConfigurationID +} + +func (o *GetAllLogDrainsDrains2) GetClientID() *string { + if o == nil { + return nil + } + return o.ClientID +} + +func (o *GetAllLogDrainsDrains2) GetSource() GetAllLogDrainsSourceUnion2 { + if o == nil { + return GetAllLogDrainsSourceUnion2{} + } + return o.Source +} + +func (o *GetAllLogDrainsDrains2) GetFilter() *string { + if o == nil { + return nil + } + return o.Filter +} + +func (o *GetAllLogDrainsDrains2) GetFilterV2() *GetAllLogDrainsFilterV2Union2 { + if o == nil { + return nil + } + return o.FilterV2 +} + +func (o *GetAllLogDrainsDrains2) GetIntegrationIcon() *string { + if o == nil { + return nil + } + return o.IntegrationIcon +} + +func (o *GetAllLogDrainsDrains2) GetIntegrationConfigurationURI() *string { + if o == nil { + return nil + } + return o.IntegrationConfigurationURI +} + +func (o *GetAllLogDrainsDrains2) GetIntegrationWebsite() *string { + if o == nil { + return nil + } + return o.IntegrationWebsite +} + +func (o *GetAllLogDrainsDrains2) GetProjectsMetadata() []GetAllLogDrainsDrainsProjectsMetadatum { + if o == nil { + return nil + } + return o.ProjectsMetadata +} + +type GetAllLogDrainsCreatedFrom1 string + +const ( + GetAllLogDrainsCreatedFrom1SelfServed GetAllLogDrainsCreatedFrom1 = "self-served" + GetAllLogDrainsCreatedFrom1Integration GetAllLogDrainsCreatedFrom1 = "integration" +) + +func (e GetAllLogDrainsCreatedFrom1) ToPointer() *GetAllLogDrainsCreatedFrom1 { + return &e +} +func (e *GetAllLogDrainsCreatedFrom1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "self-served": + fallthrough + case "integration": + *e = GetAllLogDrainsCreatedFrom1(v) + return nil + default: + return fmt.Errorf("invalid value for GetAllLogDrainsCreatedFrom1: %v", v) + } +} + +type GetAllLogDrainsSchemasLog1 struct { +} + +func (g GetAllLogDrainsSchemasLog1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetAllLogDrainsSchemasLog1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, nil); err != nil { + return err + } + return nil +} + +type GetAllLogDrainsTrace1 struct { +} + +func (g GetAllLogDrainsTrace1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetAllLogDrainsTrace1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, nil); err != nil { + return err + } + return nil +} + +type GetAllLogDrainsAnalytics1 struct { +} + +func (g GetAllLogDrainsAnalytics1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetAllLogDrainsAnalytics1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, nil); err != nil { + return err + } + return nil +} + +type GetAllLogDrainsSpeedInsights1 struct { +} + +func (g GetAllLogDrainsSpeedInsights1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetAllLogDrainsSpeedInsights1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, nil); err != nil { + return err + } + return nil +} + +type GetAllLogDrainsSchemas1 struct { + Log *GetAllLogDrainsSchemasLog1 `json:"log,omitempty"` + Trace *GetAllLogDrainsTrace1 `json:"trace,omitempty"` + Analytics *GetAllLogDrainsAnalytics1 `json:"analytics,omitempty"` + SpeedInsights *GetAllLogDrainsSpeedInsights1 `json:"speed_insights,omitempty"` +} + +func (g GetAllLogDrainsSchemas1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetAllLogDrainsSchemas1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, nil); err != nil { + return err + } + return nil +} + +func (o *GetAllLogDrainsSchemas1) GetLog() *GetAllLogDrainsSchemasLog1 { + if o == nil { + return nil + } + return o.Log +} + +func (o *GetAllLogDrainsSchemas1) GetTrace() *GetAllLogDrainsTrace1 { + if o == nil { + return nil + } + return o.Trace +} + +func (o *GetAllLogDrainsSchemas1) GetAnalytics() *GetAllLogDrainsAnalytics1 { + if o == nil { + return nil + } + return o.Analytics +} + +func (o *GetAllLogDrainsSchemas1) GetSpeedInsights() *GetAllLogDrainsSpeedInsights1 { + if o == nil { + return nil + } + return o.SpeedInsights +} + +type GetAllLogDrainsTypeInternal1 string + +const ( + GetAllLogDrainsTypeInternal1Internal GetAllLogDrainsTypeInternal1 = "internal" +) + +func (e GetAllLogDrainsTypeInternal1) ToPointer() *GetAllLogDrainsTypeInternal1 { + return &e +} +func (e *GetAllLogDrainsTypeInternal1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "internal": + *e = GetAllLogDrainsTypeInternal1(v) + return nil + default: + return fmt.Errorf("invalid value for GetAllLogDrainsTypeInternal1: %v", v) + } +} + +type GetAllLogDrainsTarget1 string + +const ( + GetAllLogDrainsTarget1VercelOtelTracesDb GetAllLogDrainsTarget1 = "vercel-otel-traces-db" +) + +func (e GetAllLogDrainsTarget1) ToPointer() *GetAllLogDrainsTarget1 { + return &e +} +func (e *GetAllLogDrainsTarget1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "vercel-otel-traces-db": + *e = GetAllLogDrainsTarget1(v) + return nil + default: + return fmt.Errorf("invalid value for GetAllLogDrainsTarget1: %v", v) + } +} + +type GetAllLogDrainsDeliveryVercelOtelTracesDb1 struct { + Type GetAllLogDrainsTypeInternal1 `json:"type"` + Target GetAllLogDrainsTarget1 `json:"target"` +} + +func (g GetAllLogDrainsDeliveryVercelOtelTracesDb1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetAllLogDrainsDeliveryVercelOtelTracesDb1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"type", "target"}); err != nil { + return err + } + return nil +} + +func (o *GetAllLogDrainsDeliveryVercelOtelTracesDb1) GetType() GetAllLogDrainsTypeInternal1 { + if o == nil { + return GetAllLogDrainsTypeInternal1("") + } + return o.Type +} + +func (o *GetAllLogDrainsDeliveryVercelOtelTracesDb1) GetTarget() GetAllLogDrainsTarget1 { + if o == nil { + return GetAllLogDrainsTarget1("") + } + return o.Target +} + +type GetAllLogDrainsTypeClickhouse1 string + +const ( + GetAllLogDrainsTypeClickhouse1Clickhouse GetAllLogDrainsTypeClickhouse1 = "clickhouse" +) + +func (e GetAllLogDrainsTypeClickhouse1) ToPointer() *GetAllLogDrainsTypeClickhouse1 { + return &e +} +func (e *GetAllLogDrainsTypeClickhouse1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "clickhouse": + *e = GetAllLogDrainsTypeClickhouse1(v) + return nil + default: + return fmt.Errorf("invalid value for GetAllLogDrainsTypeClickhouse1: %v", v) + } +} + +type GetAllLogDrainsDeliveryClickhouse1 struct { + Type GetAllLogDrainsTypeClickhouse1 `json:"type"` + Endpoint string `json:"endpoint"` + Table string `json:"table"` +} + +func (g GetAllLogDrainsDeliveryClickhouse1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetAllLogDrainsDeliveryClickhouse1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"type", "endpoint", "table"}); err != nil { + return err + } + return nil +} + +func (o *GetAllLogDrainsDeliveryClickhouse1) GetType() GetAllLogDrainsTypeClickhouse1 { + if o == nil { + return GetAllLogDrainsTypeClickhouse1("") + } + return o.Type +} + +func (o *GetAllLogDrainsDeliveryClickhouse1) GetEndpoint() string { + if o == nil { + return "" + } + return o.Endpoint +} + +func (o *GetAllLogDrainsDeliveryClickhouse1) GetTable() string { + if o == nil { + return "" + } + return o.Table +} + +type GetAllLogDrainsTypeOtlphttp1 string + +const ( + GetAllLogDrainsTypeOtlphttp1Otlphttp GetAllLogDrainsTypeOtlphttp1 = "otlphttp" +) + +func (e GetAllLogDrainsTypeOtlphttp1) ToPointer() *GetAllLogDrainsTypeOtlphttp1 { + return &e +} +func (e *GetAllLogDrainsTypeOtlphttp1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "otlphttp": + *e = GetAllLogDrainsTypeOtlphttp1(v) + return nil + default: + return fmt.Errorf("invalid value for GetAllLogDrainsTypeOtlphttp1: %v", v) + } +} + +type GetAllLogDrainsEndpoint1 struct { + Traces string `json:"traces"` +} + +func (g GetAllLogDrainsEndpoint1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetAllLogDrainsEndpoint1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"traces"}); err != nil { + return err + } + return nil +} + +func (o *GetAllLogDrainsEndpoint1) GetTraces() string { + if o == nil { + return "" + } + return o.Traces +} + +type GetAllLogDrainsEncoding2 string + +const ( + GetAllLogDrainsEncoding2JSON GetAllLogDrainsEncoding2 = "json" + GetAllLogDrainsEncoding2Proto GetAllLogDrainsEncoding2 = "proto" +) + +func (e GetAllLogDrainsEncoding2) ToPointer() *GetAllLogDrainsEncoding2 { + return &e +} +func (e *GetAllLogDrainsEncoding2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "json": + fallthrough + case "proto": + *e = GetAllLogDrainsEncoding2(v) + return nil + default: + return fmt.Errorf("invalid value for GetAllLogDrainsEncoding2: %v", v) + } +} + +type GetAllLogDrainsDeliveryOtlphttp1 struct { + Type GetAllLogDrainsTypeOtlphttp1 `json:"type"` + Endpoint GetAllLogDrainsEndpoint1 `json:"endpoint"` + Encoding GetAllLogDrainsEncoding2 `json:"encoding"` + Headers map[string]string `json:"headers"` + Secret *string `json:"secret,omitempty"` +} + +func (g GetAllLogDrainsDeliveryOtlphttp1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetAllLogDrainsDeliveryOtlphttp1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"type", "endpoint", "encoding", "headers"}); err != nil { + return err + } + return nil +} + +func (o *GetAllLogDrainsDeliveryOtlphttp1) GetType() GetAllLogDrainsTypeOtlphttp1 { + if o == nil { + return GetAllLogDrainsTypeOtlphttp1("") + } + return o.Type +} + +func (o *GetAllLogDrainsDeliveryOtlphttp1) GetEndpoint() GetAllLogDrainsEndpoint1 { + if o == nil { + return GetAllLogDrainsEndpoint1{} + } + return o.Endpoint +} + +func (o *GetAllLogDrainsDeliveryOtlphttp1) GetEncoding() GetAllLogDrainsEncoding2 { + if o == nil { + return GetAllLogDrainsEncoding2("") + } + return o.Encoding +} + +func (o *GetAllLogDrainsDeliveryOtlphttp1) GetHeaders() map[string]string { + if o == nil { + return map[string]string{} + } + return o.Headers +} + +func (o *GetAllLogDrainsDeliveryOtlphttp1) GetSecret() *string { + if o == nil { + return nil + } + return o.Secret +} + +type GetAllLogDrainsTypeHTTP1 string + +const ( + GetAllLogDrainsTypeHTTP1HTTP GetAllLogDrainsTypeHTTP1 = "http" +) + +func (e GetAllLogDrainsTypeHTTP1) ToPointer() *GetAllLogDrainsTypeHTTP1 { + return &e +} +func (e *GetAllLogDrainsTypeHTTP1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "http": + *e = GetAllLogDrainsTypeHTTP1(v) + return nil + default: + return fmt.Errorf("invalid value for GetAllLogDrainsTypeHTTP1: %v", v) + } +} + +type GetAllLogDrainsEncoding1 string + +const ( + GetAllLogDrainsEncoding1JSON GetAllLogDrainsEncoding1 = "json" + GetAllLogDrainsEncoding1Ndjson GetAllLogDrainsEncoding1 = "ndjson" +) + +func (e GetAllLogDrainsEncoding1) ToPointer() *GetAllLogDrainsEncoding1 { + return &e +} +func (e *GetAllLogDrainsEncoding1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "json": + fallthrough + case "ndjson": + *e = GetAllLogDrainsEncoding1(v) + return nil + default: + return fmt.Errorf("invalid value for GetAllLogDrainsEncoding1: %v", v) + } +} + +type GetAllLogDrainsCompression1 string + +const ( + GetAllLogDrainsCompression1Gzip GetAllLogDrainsCompression1 = "gzip" + GetAllLogDrainsCompression1None GetAllLogDrainsCompression1 = "none" +) + +func (e GetAllLogDrainsCompression1) ToPointer() *GetAllLogDrainsCompression1 { + return &e +} +func (e *GetAllLogDrainsCompression1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "gzip": + fallthrough + case "none": + *e = GetAllLogDrainsCompression1(v) + return nil + default: + return fmt.Errorf("invalid value for GetAllLogDrainsCompression1: %v", v) + } +} + +type GetAllLogDrainsDeliveryHTTP1 struct { + Type GetAllLogDrainsTypeHTTP1 `json:"type"` + Endpoint string `json:"endpoint"` + Encoding GetAllLogDrainsEncoding1 `json:"encoding"` + Compression *GetAllLogDrainsCompression1 `json:"compression,omitempty"` + Headers map[string]string `json:"headers"` + Secret *string `json:"secret,omitempty"` +} + +func (g GetAllLogDrainsDeliveryHTTP1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetAllLogDrainsDeliveryHTTP1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"type", "endpoint", "encoding", "headers"}); err != nil { + return err + } + return nil +} + +func (o *GetAllLogDrainsDeliveryHTTP1) GetType() GetAllLogDrainsTypeHTTP1 { + if o == nil { + return GetAllLogDrainsTypeHTTP1("") + } + return o.Type +} + +func (o *GetAllLogDrainsDeliveryHTTP1) GetEndpoint() string { + if o == nil { + return "" + } + return o.Endpoint +} + +func (o *GetAllLogDrainsDeliveryHTTP1) GetEncoding() GetAllLogDrainsEncoding1 { + if o == nil { + return GetAllLogDrainsEncoding1("") + } + return o.Encoding +} + +func (o *GetAllLogDrainsDeliveryHTTP1) GetCompression() *GetAllLogDrainsCompression1 { + if o == nil { + return nil + } + return o.Compression +} + +func (o *GetAllLogDrainsDeliveryHTTP1) GetHeaders() map[string]string { + if o == nil { + return map[string]string{} + } + return o.Headers +} + +func (o *GetAllLogDrainsDeliveryHTTP1) GetSecret() *string { + if o == nil { + return nil + } + return o.Secret +} + +type GetAllLogDrainsDeliveryUnion1Type string + +const ( + GetAllLogDrainsDeliveryUnion1TypeGetAllLogDrainsDeliveryHTTP1 GetAllLogDrainsDeliveryUnion1Type = "getAllLogDrains_delivery_HTTP_1" + GetAllLogDrainsDeliveryUnion1TypeGetAllLogDrainsDeliveryOtlphttp1 GetAllLogDrainsDeliveryUnion1Type = "getAllLogDrains_delivery_Otlphttp_1" + GetAllLogDrainsDeliveryUnion1TypeGetAllLogDrainsDeliveryClickhouse1 GetAllLogDrainsDeliveryUnion1Type = "getAllLogDrains_delivery_Clickhouse_1" + GetAllLogDrainsDeliveryUnion1TypeGetAllLogDrainsDeliveryVercelOtelTracesDb1 GetAllLogDrainsDeliveryUnion1Type = "getAllLogDrains_delivery_VercelOtelTracesDb_1" +) + +type GetAllLogDrainsDeliveryUnion1 struct { + GetAllLogDrainsDeliveryHTTP1 *GetAllLogDrainsDeliveryHTTP1 `queryParam:"inline"` + GetAllLogDrainsDeliveryOtlphttp1 *GetAllLogDrainsDeliveryOtlphttp1 `queryParam:"inline"` + GetAllLogDrainsDeliveryClickhouse1 *GetAllLogDrainsDeliveryClickhouse1 `queryParam:"inline"` + GetAllLogDrainsDeliveryVercelOtelTracesDb1 *GetAllLogDrainsDeliveryVercelOtelTracesDb1 `queryParam:"inline"` + + Type GetAllLogDrainsDeliveryUnion1Type +} + +func CreateGetAllLogDrainsDeliveryUnion1GetAllLogDrainsDeliveryHTTP1(getAllLogDrainsDeliveryHTTP1 GetAllLogDrainsDeliveryHTTP1) GetAllLogDrainsDeliveryUnion1 { + typ := GetAllLogDrainsDeliveryUnion1TypeGetAllLogDrainsDeliveryHTTP1 + + return GetAllLogDrainsDeliveryUnion1{ + GetAllLogDrainsDeliveryHTTP1: &getAllLogDrainsDeliveryHTTP1, + Type: typ, + } +} + +func CreateGetAllLogDrainsDeliveryUnion1GetAllLogDrainsDeliveryOtlphttp1(getAllLogDrainsDeliveryOtlphttp1 GetAllLogDrainsDeliveryOtlphttp1) GetAllLogDrainsDeliveryUnion1 { + typ := GetAllLogDrainsDeliveryUnion1TypeGetAllLogDrainsDeliveryOtlphttp1 + + return GetAllLogDrainsDeliveryUnion1{ + GetAllLogDrainsDeliveryOtlphttp1: &getAllLogDrainsDeliveryOtlphttp1, + Type: typ, + } +} + +func CreateGetAllLogDrainsDeliveryUnion1GetAllLogDrainsDeliveryClickhouse1(getAllLogDrainsDeliveryClickhouse1 GetAllLogDrainsDeliveryClickhouse1) GetAllLogDrainsDeliveryUnion1 { + typ := GetAllLogDrainsDeliveryUnion1TypeGetAllLogDrainsDeliveryClickhouse1 + + return GetAllLogDrainsDeliveryUnion1{ + GetAllLogDrainsDeliveryClickhouse1: &getAllLogDrainsDeliveryClickhouse1, + Type: typ, + } +} + +func CreateGetAllLogDrainsDeliveryUnion1GetAllLogDrainsDeliveryVercelOtelTracesDb1(getAllLogDrainsDeliveryVercelOtelTracesDb1 GetAllLogDrainsDeliveryVercelOtelTracesDb1) GetAllLogDrainsDeliveryUnion1 { + typ := GetAllLogDrainsDeliveryUnion1TypeGetAllLogDrainsDeliveryVercelOtelTracesDb1 + + return GetAllLogDrainsDeliveryUnion1{ + GetAllLogDrainsDeliveryVercelOtelTracesDb1: &getAllLogDrainsDeliveryVercelOtelTracesDb1, + Type: typ, + } +} + +func (u *GetAllLogDrainsDeliveryUnion1) UnmarshalJSON(data []byte) error { + + var getAllLogDrainsDeliveryHTTP1 GetAllLogDrainsDeliveryHTTP1 = GetAllLogDrainsDeliveryHTTP1{} + if err := utils.UnmarshalJSON(data, &getAllLogDrainsDeliveryHTTP1, "", true, nil); err == nil { + u.GetAllLogDrainsDeliveryHTTP1 = &getAllLogDrainsDeliveryHTTP1 + u.Type = GetAllLogDrainsDeliveryUnion1TypeGetAllLogDrainsDeliveryHTTP1 + return nil + } + + var getAllLogDrainsDeliveryOtlphttp1 GetAllLogDrainsDeliveryOtlphttp1 = GetAllLogDrainsDeliveryOtlphttp1{} + if err := utils.UnmarshalJSON(data, &getAllLogDrainsDeliveryOtlphttp1, "", true, nil); err == nil { + u.GetAllLogDrainsDeliveryOtlphttp1 = &getAllLogDrainsDeliveryOtlphttp1 + u.Type = GetAllLogDrainsDeliveryUnion1TypeGetAllLogDrainsDeliveryOtlphttp1 + return nil + } + + var getAllLogDrainsDeliveryClickhouse1 GetAllLogDrainsDeliveryClickhouse1 = GetAllLogDrainsDeliveryClickhouse1{} + if err := utils.UnmarshalJSON(data, &getAllLogDrainsDeliveryClickhouse1, "", true, nil); err == nil { + u.GetAllLogDrainsDeliveryClickhouse1 = &getAllLogDrainsDeliveryClickhouse1 + u.Type = GetAllLogDrainsDeliveryUnion1TypeGetAllLogDrainsDeliveryClickhouse1 + return nil + } + + var getAllLogDrainsDeliveryVercelOtelTracesDb1 GetAllLogDrainsDeliveryVercelOtelTracesDb1 = GetAllLogDrainsDeliveryVercelOtelTracesDb1{} + if err := utils.UnmarshalJSON(data, &getAllLogDrainsDeliveryVercelOtelTracesDb1, "", true, nil); err == nil { + u.GetAllLogDrainsDeliveryVercelOtelTracesDb1 = &getAllLogDrainsDeliveryVercelOtelTracesDb1 + u.Type = GetAllLogDrainsDeliveryUnion1TypeGetAllLogDrainsDeliveryVercelOtelTracesDb1 + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for GetAllLogDrainsDeliveryUnion1", string(data)) +} + +func (u GetAllLogDrainsDeliveryUnion1) MarshalJSON() ([]byte, error) { + if u.GetAllLogDrainsDeliveryHTTP1 != nil { + return utils.MarshalJSON(u.GetAllLogDrainsDeliveryHTTP1, "", true) + } + + if u.GetAllLogDrainsDeliveryOtlphttp1 != nil { + return utils.MarshalJSON(u.GetAllLogDrainsDeliveryOtlphttp1, "", true) + } + + if u.GetAllLogDrainsDeliveryClickhouse1 != nil { + return utils.MarshalJSON(u.GetAllLogDrainsDeliveryClickhouse1, "", true) + } + + if u.GetAllLogDrainsDeliveryVercelOtelTracesDb1 != nil { + return utils.MarshalJSON(u.GetAllLogDrainsDeliveryVercelOtelTracesDb1, "", true) + } + + return nil, errors.New("could not marshal union type GetAllLogDrainsDeliveryUnion1: all fields are null") +} + +type GetAllLogDrainsTypeHeadSampling1 string + +const ( + GetAllLogDrainsTypeHeadSampling1HeadSampling GetAllLogDrainsTypeHeadSampling1 = "head_sampling" +) + +func (e GetAllLogDrainsTypeHeadSampling1) ToPointer() *GetAllLogDrainsTypeHeadSampling1 { + return &e +} +func (e *GetAllLogDrainsTypeHeadSampling1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "head_sampling": + *e = GetAllLogDrainsTypeHeadSampling1(v) + return nil + default: + return fmt.Errorf("invalid value for GetAllLogDrainsTypeHeadSampling1: %v", v) + } +} + +type GetAllLogDrainsEnv1 string + +const ( + GetAllLogDrainsEnv1Production GetAllLogDrainsEnv1 = "production" + GetAllLogDrainsEnv1Preview GetAllLogDrainsEnv1 = "preview" +) + +func (e GetAllLogDrainsEnv1) ToPointer() *GetAllLogDrainsEnv1 { + return &e +} +func (e *GetAllLogDrainsEnv1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "production": + fallthrough + case "preview": + *e = GetAllLogDrainsEnv1(v) + return nil + default: + return fmt.Errorf("invalid value for GetAllLogDrainsEnv1: %v", v) + } +} + +type GetAllLogDrainsSampling1 struct { + Type GetAllLogDrainsTypeHeadSampling1 `json:"type"` + Rate float64 `json:"rate"` + Env *GetAllLogDrainsEnv1 `json:"env,omitempty"` + RequestPath *string `json:"requestPath,omitempty"` +} + +func (g GetAllLogDrainsSampling1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetAllLogDrainsSampling1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"type", "rate"}); err != nil { + return err + } + return nil +} + +func (o *GetAllLogDrainsSampling1) GetType() GetAllLogDrainsTypeHeadSampling1 { + if o == nil { + return GetAllLogDrainsTypeHeadSampling1("") + } + return o.Type +} + +func (o *GetAllLogDrainsSampling1) GetRate() float64 { + if o == nil { + return 0.0 + } + return o.Rate +} + +func (o *GetAllLogDrainsSampling1) GetEnv() *GetAllLogDrainsEnv1 { + if o == nil { + return nil + } + return o.Env +} + +func (o *GetAllLogDrainsSampling1) GetRequestPath() *string { + if o == nil { + return nil + } + return o.RequestPath +} + +type GetAllLogDrainsStatus1 string + +const ( + GetAllLogDrainsStatus1Enabled GetAllLogDrainsStatus1 = "enabled" + GetAllLogDrainsStatus1Disabled GetAllLogDrainsStatus1 = "disabled" + GetAllLogDrainsStatus1Errored GetAllLogDrainsStatus1 = "errored" +) + +func (e GetAllLogDrainsStatus1) ToPointer() *GetAllLogDrainsStatus1 { + return &e +} +func (e *GetAllLogDrainsStatus1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "enabled": + fallthrough + case "disabled": + fallthrough + case "errored": + *e = GetAllLogDrainsStatus1(v) + return nil + default: + return fmt.Errorf("invalid value for GetAllLogDrainsStatus1: %v", v) + } +} + +type GetAllLogDrainsDisabledReason1 string + +const ( + GetAllLogDrainsDisabledReason1DisabledByOwner GetAllLogDrainsDisabledReason1 = "disabled-by-owner" + GetAllLogDrainsDisabledReason1FeatureNotAvailable GetAllLogDrainsDisabledReason1 = "feature-not-available" + GetAllLogDrainsDisabledReason1AccountPlanDowngrade GetAllLogDrainsDisabledReason1 = "account-plan-downgrade" + GetAllLogDrainsDisabledReason1DisabledByAdmin GetAllLogDrainsDisabledReason1 = "disabled-by-admin" +) + +func (e GetAllLogDrainsDisabledReason1) ToPointer() *GetAllLogDrainsDisabledReason1 { + return &e +} +func (e *GetAllLogDrainsDisabledReason1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "disabled-by-owner": + fallthrough + case "feature-not-available": + fallthrough + case "account-plan-downgrade": + fallthrough + case "disabled-by-admin": + *e = GetAllLogDrainsDisabledReason1(v) + return nil + default: + return fmt.Errorf("invalid value for GetAllLogDrainsDisabledReason1: %v", v) + } +} + +type GetAllLogDrainsKindIntegration1 string + +const ( + GetAllLogDrainsKindIntegration1Integration GetAllLogDrainsKindIntegration1 = "integration" +) + +func (e GetAllLogDrainsKindIntegration1) ToPointer() *GetAllLogDrainsKindIntegration1 { + return &e +} +func (e *GetAllLogDrainsKindIntegration1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "integration": + *e = GetAllLogDrainsKindIntegration1(v) + return nil + default: + return fmt.Errorf("invalid value for GetAllLogDrainsKindIntegration1: %v", v) + } +} + +type GetAllLogDrainsSourceIntegration1 struct { + Kind GetAllLogDrainsKindIntegration1 `json:"kind"` + ResourceID *string `json:"resourceId,omitempty"` + ExternalResourceID *string `json:"externalResourceId,omitempty"` + IntegrationID string `json:"integrationId"` + IntegrationConfigurationID string `json:"integrationConfigurationId"` +} + +func (g GetAllLogDrainsSourceIntegration1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetAllLogDrainsSourceIntegration1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"kind", "integrationId", "integrationConfigurationId"}); err != nil { + return err + } + return nil +} + +func (o *GetAllLogDrainsSourceIntegration1) GetKind() GetAllLogDrainsKindIntegration1 { + if o == nil { + return GetAllLogDrainsKindIntegration1("") + } + return o.Kind +} + +func (o *GetAllLogDrainsSourceIntegration1) GetResourceID() *string { + if o == nil { + return nil + } + return o.ResourceID +} + +func (o *GetAllLogDrainsSourceIntegration1) GetExternalResourceID() *string { + if o == nil { + return nil + } + return o.ExternalResourceID +} + +func (o *GetAllLogDrainsSourceIntegration1) GetIntegrationID() string { + if o == nil { + return "" + } + return o.IntegrationID +} + +func (o *GetAllLogDrainsSourceIntegration1) GetIntegrationConfigurationID() string { + if o == nil { + return "" + } + return o.IntegrationConfigurationID +} + +type GetAllLogDrainsKindSelfServed1 string + +const ( + GetAllLogDrainsKindSelfServed1SelfServed GetAllLogDrainsKindSelfServed1 = "self-served" +) + +func (e GetAllLogDrainsKindSelfServed1) ToPointer() *GetAllLogDrainsKindSelfServed1 { + return &e +} +func (e *GetAllLogDrainsKindSelfServed1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "self-served": + *e = GetAllLogDrainsKindSelfServed1(v) + return nil + default: + return fmt.Errorf("invalid value for GetAllLogDrainsKindSelfServed1: %v", v) + } +} + +type GetAllLogDrainsSourceSelfServed1 struct { + Kind GetAllLogDrainsKindSelfServed1 `json:"kind"` +} + +func (g GetAllLogDrainsSourceSelfServed1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetAllLogDrainsSourceSelfServed1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"kind"}); err != nil { + return err + } + return nil +} + +func (o *GetAllLogDrainsSourceSelfServed1) GetKind() GetAllLogDrainsKindSelfServed1 { + if o == nil { + return GetAllLogDrainsKindSelfServed1("") + } + return o.Kind +} + +type GetAllLogDrainsSourceUnion1Type string + +const ( + GetAllLogDrainsSourceUnion1TypeGetAllLogDrainsSourceSelfServed1 GetAllLogDrainsSourceUnion1Type = "getAllLogDrains_source_SelfServed_1" + GetAllLogDrainsSourceUnion1TypeGetAllLogDrainsSourceIntegration1 GetAllLogDrainsSourceUnion1Type = "getAllLogDrains_source_Integration_1" +) + +type GetAllLogDrainsSourceUnion1 struct { + GetAllLogDrainsSourceSelfServed1 *GetAllLogDrainsSourceSelfServed1 `queryParam:"inline"` + GetAllLogDrainsSourceIntegration1 *GetAllLogDrainsSourceIntegration1 `queryParam:"inline"` + + Type GetAllLogDrainsSourceUnion1Type +} + +func CreateGetAllLogDrainsSourceUnion1GetAllLogDrainsSourceSelfServed1(getAllLogDrainsSourceSelfServed1 GetAllLogDrainsSourceSelfServed1) GetAllLogDrainsSourceUnion1 { + typ := GetAllLogDrainsSourceUnion1TypeGetAllLogDrainsSourceSelfServed1 + + return GetAllLogDrainsSourceUnion1{ + GetAllLogDrainsSourceSelfServed1: &getAllLogDrainsSourceSelfServed1, + Type: typ, + } +} + +func CreateGetAllLogDrainsSourceUnion1GetAllLogDrainsSourceIntegration1(getAllLogDrainsSourceIntegration1 GetAllLogDrainsSourceIntegration1) GetAllLogDrainsSourceUnion1 { + typ := GetAllLogDrainsSourceUnion1TypeGetAllLogDrainsSourceIntegration1 + + return GetAllLogDrainsSourceUnion1{ + GetAllLogDrainsSourceIntegration1: &getAllLogDrainsSourceIntegration1, + Type: typ, + } +} + +func (u *GetAllLogDrainsSourceUnion1) UnmarshalJSON(data []byte) error { + + var getAllLogDrainsSourceIntegration1 GetAllLogDrainsSourceIntegration1 = GetAllLogDrainsSourceIntegration1{} + if err := utils.UnmarshalJSON(data, &getAllLogDrainsSourceIntegration1, "", true, nil); err == nil { + u.GetAllLogDrainsSourceIntegration1 = &getAllLogDrainsSourceIntegration1 + u.Type = GetAllLogDrainsSourceUnion1TypeGetAllLogDrainsSourceIntegration1 + return nil + } + + var getAllLogDrainsSourceSelfServed1 GetAllLogDrainsSourceSelfServed1 = GetAllLogDrainsSourceSelfServed1{} + if err := utils.UnmarshalJSON(data, &getAllLogDrainsSourceSelfServed1, "", true, nil); err == nil { + u.GetAllLogDrainsSourceSelfServed1 = &getAllLogDrainsSourceSelfServed1 + u.Type = GetAllLogDrainsSourceUnion1TypeGetAllLogDrainsSourceSelfServed1 + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for GetAllLogDrainsSourceUnion1", string(data)) +} + +func (u GetAllLogDrainsSourceUnion1) MarshalJSON() ([]byte, error) { + if u.GetAllLogDrainsSourceSelfServed1 != nil { + return utils.MarshalJSON(u.GetAllLogDrainsSourceSelfServed1, "", true) + } + + if u.GetAllLogDrainsSourceIntegration1 != nil { + return utils.MarshalJSON(u.GetAllLogDrainsSourceIntegration1, "", true) + } + + return nil, errors.New("could not marshal union type GetAllLogDrainsSourceUnion1: all fields are null") +} + +type GetAllLogDrainsVersionV21 string + +const ( + GetAllLogDrainsVersionV21V2 GetAllLogDrainsVersionV21 = "v2" +) + +func (e GetAllLogDrainsVersionV21) ToPointer() *GetAllLogDrainsVersionV21 { + return &e +} +func (e *GetAllLogDrainsVersionV21) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "v2": + *e = GetAllLogDrainsVersionV21(v) + return nil + default: + return fmt.Errorf("invalid value for GetAllLogDrainsVersionV21: %v", v) + } +} + +type GetAllLogDrainsTypeOdata1 string + +const ( + GetAllLogDrainsTypeOdata1Odata GetAllLogDrainsTypeOdata1 = "odata" +) + +func (e GetAllLogDrainsTypeOdata1) ToPointer() *GetAllLogDrainsTypeOdata1 { + return &e +} +func (e *GetAllLogDrainsTypeOdata1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "odata": + *e = GetAllLogDrainsTypeOdata1(v) + return nil + default: + return fmt.Errorf("invalid value for GetAllLogDrainsTypeOdata1: %v", v) + } +} + +type GetAllLogDrainsFilterOdata1 struct { + Type GetAllLogDrainsTypeOdata1 `json:"type"` + Text string `json:"text"` +} + +func (g GetAllLogDrainsFilterOdata1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetAllLogDrainsFilterOdata1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"type", "text"}); err != nil { + return err + } + return nil +} + +func (o *GetAllLogDrainsFilterOdata1) GetType() GetAllLogDrainsTypeOdata1 { + if o == nil { + return GetAllLogDrainsTypeOdata1("") + } + return o.Type +} + +func (o *GetAllLogDrainsFilterOdata1) GetText() string { + if o == nil { + return "" + } + return o.Text +} + +type GetAllLogDrainsTypeBasic1 string + +const ( + GetAllLogDrainsTypeBasic1Basic GetAllLogDrainsTypeBasic1 = "basic" +) + +func (e GetAllLogDrainsTypeBasic1) ToPointer() *GetAllLogDrainsTypeBasic1 { + return &e +} +func (e *GetAllLogDrainsTypeBasic1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "basic": + *e = GetAllLogDrainsTypeBasic1(v) + return nil + default: + return fmt.Errorf("invalid value for GetAllLogDrainsTypeBasic1: %v", v) + } +} + +type GetAllLogDrainsProject1 struct { + Ids []string `json:"ids,omitempty"` +} + +func (g GetAllLogDrainsProject1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetAllLogDrainsProject1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, nil); err != nil { + return err + } + return nil +} + +func (o *GetAllLogDrainsProject1) GetIds() []string { + if o == nil { + return nil + } + return o.Ids +} + +type GetAllLogDrainsFilterV2Source1 string + +const ( + GetAllLogDrainsFilterV2Source1Build GetAllLogDrainsFilterV2Source1 = "build" + GetAllLogDrainsFilterV2Source1Edge GetAllLogDrainsFilterV2Source1 = "edge" + GetAllLogDrainsFilterV2Source1Lambda GetAllLogDrainsFilterV2Source1 = "lambda" + GetAllLogDrainsFilterV2Source1Static GetAllLogDrainsFilterV2Source1 = "static" + GetAllLogDrainsFilterV2Source1External GetAllLogDrainsFilterV2Source1 = "external" + GetAllLogDrainsFilterV2Source1Firewall GetAllLogDrainsFilterV2Source1 = "firewall" + GetAllLogDrainsFilterV2Source1Redirect GetAllLogDrainsFilterV2Source1 = "redirect" +) + +func (e GetAllLogDrainsFilterV2Source1) ToPointer() *GetAllLogDrainsFilterV2Source1 { + return &e +} +func (e *GetAllLogDrainsFilterV2Source1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "build": + fallthrough + case "edge": + fallthrough + case "lambda": + fallthrough + case "static": + fallthrough + case "external": + fallthrough + case "firewall": + fallthrough + case "redirect": + *e = GetAllLogDrainsFilterV2Source1(v) + return nil + default: + return fmt.Errorf("invalid value for GetAllLogDrainsFilterV2Source1: %v", v) + } +} + +type GetAllLogDrainsFilterV2Log1 struct { + Sources []GetAllLogDrainsFilterV2Source1 `json:"sources,omitempty"` + LegacyExcludeCachedStaticAssetLogs *bool `json:"legacy_excludeCachedStaticAssetLogs,omitempty"` +} + +func (g GetAllLogDrainsFilterV2Log1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetAllLogDrainsFilterV2Log1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, nil); err != nil { + return err + } + return nil +} + +func (o *GetAllLogDrainsFilterV2Log1) GetSources() []GetAllLogDrainsFilterV2Source1 { + if o == nil { + return nil + } + return o.Sources +} + +func (o *GetAllLogDrainsFilterV2Log1) GetLegacyExcludeCachedStaticAssetLogs() *bool { + if o == nil { + return nil + } + return o.LegacyExcludeCachedStaticAssetLogs +} + +type GetAllLogDrainsEnvironment1 string + +const ( + GetAllLogDrainsEnvironment1Production GetAllLogDrainsEnvironment1 = "production" + GetAllLogDrainsEnvironment1Preview GetAllLogDrainsEnvironment1 = "preview" +) + +func (e GetAllLogDrainsEnvironment1) ToPointer() *GetAllLogDrainsEnvironment1 { + return &e +} +func (e *GetAllLogDrainsEnvironment1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "production": + fallthrough + case "preview": + *e = GetAllLogDrainsEnvironment1(v) + return nil + default: + return fmt.Errorf("invalid value for GetAllLogDrainsEnvironment1: %v", v) + } +} + +type GetAllLogDrainsDeployment1 struct { + Environments []GetAllLogDrainsEnvironment1 `json:"environments,omitempty"` +} + +func (g GetAllLogDrainsDeployment1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetAllLogDrainsDeployment1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, nil); err != nil { + return err + } + return nil +} + +func (o *GetAllLogDrainsDeployment1) GetEnvironments() []GetAllLogDrainsEnvironment1 { + if o == nil { + return nil + } + return o.Environments +} + +type GetAllLogDrainsFilterBasic1 struct { + Type GetAllLogDrainsTypeBasic1 `json:"type"` + Project *GetAllLogDrainsProject1 `json:"project,omitempty"` + Log *GetAllLogDrainsFilterV2Log1 `json:"log,omitempty"` + Deployment *GetAllLogDrainsDeployment1 `json:"deployment,omitempty"` +} + +func (g GetAllLogDrainsFilterBasic1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetAllLogDrainsFilterBasic1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"type"}); err != nil { + return err + } + return nil +} + +func (o *GetAllLogDrainsFilterBasic1) GetType() GetAllLogDrainsTypeBasic1 { + if o == nil { + return GetAllLogDrainsTypeBasic1("") + } + return o.Type +} + +func (o *GetAllLogDrainsFilterBasic1) GetProject() *GetAllLogDrainsProject1 { + if o == nil { + return nil + } + return o.Project +} + +func (o *GetAllLogDrainsFilterBasic1) GetLog() *GetAllLogDrainsFilterV2Log1 { + if o == nil { + return nil + } + return o.Log +} + +func (o *GetAllLogDrainsFilterBasic1) GetDeployment() *GetAllLogDrainsDeployment1 { + if o == nil { + return nil + } + return o.Deployment +} + +type GetAllLogDrainsFilterUnion1Type string + +const ( + GetAllLogDrainsFilterUnion1TypeGetAllLogDrainsFilterBasic1 GetAllLogDrainsFilterUnion1Type = "getAllLogDrains_filter_Basic_1" + GetAllLogDrainsFilterUnion1TypeGetAllLogDrainsFilterOdata1 GetAllLogDrainsFilterUnion1Type = "getAllLogDrains_filter_Odata_1" +) + +type GetAllLogDrainsFilterUnion1 struct { + GetAllLogDrainsFilterBasic1 *GetAllLogDrainsFilterBasic1 `queryParam:"inline"` + GetAllLogDrainsFilterOdata1 *GetAllLogDrainsFilterOdata1 `queryParam:"inline"` + + Type GetAllLogDrainsFilterUnion1Type +} + +func CreateGetAllLogDrainsFilterUnion1GetAllLogDrainsFilterBasic1(getAllLogDrainsFilterBasic1 GetAllLogDrainsFilterBasic1) GetAllLogDrainsFilterUnion1 { + typ := GetAllLogDrainsFilterUnion1TypeGetAllLogDrainsFilterBasic1 + + return GetAllLogDrainsFilterUnion1{ + GetAllLogDrainsFilterBasic1: &getAllLogDrainsFilterBasic1, + Type: typ, + } +} + +func CreateGetAllLogDrainsFilterUnion1GetAllLogDrainsFilterOdata1(getAllLogDrainsFilterOdata1 GetAllLogDrainsFilterOdata1) GetAllLogDrainsFilterUnion1 { + typ := GetAllLogDrainsFilterUnion1TypeGetAllLogDrainsFilterOdata1 + + return GetAllLogDrainsFilterUnion1{ + GetAllLogDrainsFilterOdata1: &getAllLogDrainsFilterOdata1, + Type: typ, + } +} + +func (u *GetAllLogDrainsFilterUnion1) UnmarshalJSON(data []byte) error { + + var getAllLogDrainsFilterOdata1 GetAllLogDrainsFilterOdata1 = GetAllLogDrainsFilterOdata1{} + if err := utils.UnmarshalJSON(data, &getAllLogDrainsFilterOdata1, "", true, nil); err == nil { + u.GetAllLogDrainsFilterOdata1 = &getAllLogDrainsFilterOdata1 + u.Type = GetAllLogDrainsFilterUnion1TypeGetAllLogDrainsFilterOdata1 + return nil + } + + var getAllLogDrainsFilterBasic1 GetAllLogDrainsFilterBasic1 = GetAllLogDrainsFilterBasic1{} + if err := utils.UnmarshalJSON(data, &getAllLogDrainsFilterBasic1, "", true, nil); err == nil { + u.GetAllLogDrainsFilterBasic1 = &getAllLogDrainsFilterBasic1 + u.Type = GetAllLogDrainsFilterUnion1TypeGetAllLogDrainsFilterBasic1 + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for GetAllLogDrainsFilterUnion1", string(data)) +} + +func (u GetAllLogDrainsFilterUnion1) MarshalJSON() ([]byte, error) { + if u.GetAllLogDrainsFilterBasic1 != nil { + return utils.MarshalJSON(u.GetAllLogDrainsFilterBasic1, "", true) + } + + if u.GetAllLogDrainsFilterOdata1 != nil { + return utils.MarshalJSON(u.GetAllLogDrainsFilterOdata1, "", true) + } + + return nil, errors.New("could not marshal union type GetAllLogDrainsFilterUnion1: all fields are null") +} + +type GetAllLogDrainsFilterV2V21 struct { + Version GetAllLogDrainsVersionV21 `json:"version"` + Filter GetAllLogDrainsFilterUnion1 `json:"filter"` +} + +func (g GetAllLogDrainsFilterV2V21) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetAllLogDrainsFilterV2V21) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"version", "filter"}); err != nil { + return err + } + return nil +} + +func (o *GetAllLogDrainsFilterV2V21) GetVersion() GetAllLogDrainsVersionV21 { + if o == nil { + return GetAllLogDrainsVersionV21("") + } + return o.Version +} + +func (o *GetAllLogDrainsFilterV2V21) GetFilter() GetAllLogDrainsFilterUnion1 { + if o == nil { + return GetAllLogDrainsFilterUnion1{} + } + return o.Filter +} + +type GetAllLogDrainsVersionV11 string + +const ( + GetAllLogDrainsVersionV11V1 GetAllLogDrainsVersionV11 = "v1" +) + +func (e GetAllLogDrainsVersionV11) ToPointer() *GetAllLogDrainsVersionV11 { + return &e +} +func (e *GetAllLogDrainsVersionV11) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "v1": + *e = GetAllLogDrainsVersionV11(v) + return nil + default: + return fmt.Errorf("invalid value for GetAllLogDrainsVersionV11: %v", v) + } +} + +type GetAllLogDrainsFilterV2V11 struct { + Version GetAllLogDrainsVersionV11 `json:"version"` +} + +func (g GetAllLogDrainsFilterV2V11) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetAllLogDrainsFilterV2V11) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"version"}); err != nil { + return err + } + return nil +} + +func (o *GetAllLogDrainsFilterV2V11) GetVersion() GetAllLogDrainsVersionV11 { + if o == nil { + return GetAllLogDrainsVersionV11("") + } + return o.Version +} + +type GetAllLogDrainsFilterV2Union1Type string + +const ( + GetAllLogDrainsFilterV2Union1TypeGetAllLogDrainsFilterV2V11 GetAllLogDrainsFilterV2Union1Type = "getAllLogDrains_filterV2_V1_1" + GetAllLogDrainsFilterV2Union1TypeGetAllLogDrainsFilterV2V21 GetAllLogDrainsFilterV2Union1Type = "getAllLogDrains_filterV2_V2_1" +) + +type GetAllLogDrainsFilterV2Union1 struct { + GetAllLogDrainsFilterV2V11 *GetAllLogDrainsFilterV2V11 `queryParam:"inline"` + GetAllLogDrainsFilterV2V21 *GetAllLogDrainsFilterV2V21 `queryParam:"inline"` + + Type GetAllLogDrainsFilterV2Union1Type +} + +func CreateGetAllLogDrainsFilterV2Union1GetAllLogDrainsFilterV2V11(getAllLogDrainsFilterV2V11 GetAllLogDrainsFilterV2V11) GetAllLogDrainsFilterV2Union1 { + typ := GetAllLogDrainsFilterV2Union1TypeGetAllLogDrainsFilterV2V11 + + return GetAllLogDrainsFilterV2Union1{ + GetAllLogDrainsFilterV2V11: &getAllLogDrainsFilterV2V11, + Type: typ, + } +} + +func CreateGetAllLogDrainsFilterV2Union1GetAllLogDrainsFilterV2V21(getAllLogDrainsFilterV2V21 GetAllLogDrainsFilterV2V21) GetAllLogDrainsFilterV2Union1 { + typ := GetAllLogDrainsFilterV2Union1TypeGetAllLogDrainsFilterV2V21 + + return GetAllLogDrainsFilterV2Union1{ + GetAllLogDrainsFilterV2V21: &getAllLogDrainsFilterV2V21, + Type: typ, + } +} + +func (u *GetAllLogDrainsFilterV2Union1) UnmarshalJSON(data []byte) error { + + var getAllLogDrainsFilterV2V21 GetAllLogDrainsFilterV2V21 = GetAllLogDrainsFilterV2V21{} + if err := utils.UnmarshalJSON(data, &getAllLogDrainsFilterV2V21, "", true, nil); err == nil { + u.GetAllLogDrainsFilterV2V21 = &getAllLogDrainsFilterV2V21 + u.Type = GetAllLogDrainsFilterV2Union1TypeGetAllLogDrainsFilterV2V21 + return nil + } + + var getAllLogDrainsFilterV2V11 GetAllLogDrainsFilterV2V11 = GetAllLogDrainsFilterV2V11{} + if err := utils.UnmarshalJSON(data, &getAllLogDrainsFilterV2V11, "", true, nil); err == nil { + u.GetAllLogDrainsFilterV2V11 = &getAllLogDrainsFilterV2V11 + u.Type = GetAllLogDrainsFilterV2Union1TypeGetAllLogDrainsFilterV2V11 + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for GetAllLogDrainsFilterV2Union1", string(data)) +} + +func (u GetAllLogDrainsFilterV2Union1) MarshalJSON() ([]byte, error) { + if u.GetAllLogDrainsFilterV2V11 != nil { + return utils.MarshalJSON(u.GetAllLogDrainsFilterV2V11, "", true) + } + + if u.GetAllLogDrainsFilterV2V21 != nil { + return utils.MarshalJSON(u.GetAllLogDrainsFilterV2V21, "", true) + } + + return nil, errors.New("could not marshal union type GetAllLogDrainsFilterV2Union1: all fields are null") +} + +type GetAllLogDrainsDrains1 struct { + ID string `json:"id"` + OwnerID string `json:"ownerId"` + Name string `json:"name"` + CreatedAt float64 `json:"createdAt"` + CreatedFrom *GetAllLogDrainsCreatedFrom1 `json:"createdFrom,omitempty"` + UpdatedAt float64 `json:"updatedAt"` + ProjectIds []string `json:"projectIds,omitempty"` + Schemas *GetAllLogDrainsSchemas1 `json:"schemas,omitempty"` + Delivery *GetAllLogDrainsDeliveryUnion1 `json:"delivery,omitempty"` + Sampling []GetAllLogDrainsSampling1 `json:"sampling,omitempty"` + TeamID *string `json:"teamId,omitempty"` + Status *GetAllLogDrainsStatus1 `json:"status,omitempty"` + DisabledAt *float64 `json:"disabledAt,omitempty"` + DisabledReason *GetAllLogDrainsDisabledReason1 `json:"disabledReason,omitempty"` + DisabledBy *string `json:"disabledBy,omitempty"` + FirstErrorTimestamp *float64 `json:"firstErrorTimestamp,omitempty"` + ConfigurationID *string `json:"configurationId,omitempty"` + ClientID *string `json:"clientId,omitempty"` + Source GetAllLogDrainsSourceUnion1 `json:"source"` + Filter *string `json:"filter,omitempty"` + FilterV2 *GetAllLogDrainsFilterV2Union1 `json:"filterV2,omitempty"` +} + +func (g GetAllLogDrainsDrains1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetAllLogDrainsDrains1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"id", "ownerId", "name", "createdAt", "updatedAt", "source"}); err != nil { + return err + } + return nil +} + +func (o *GetAllLogDrainsDrains1) GetID() string { + if o == nil { + return "" + } + return o.ID +} + +func (o *GetAllLogDrainsDrains1) GetOwnerID() string { + if o == nil { + return "" + } + return o.OwnerID +} + +func (o *GetAllLogDrainsDrains1) GetName() string { + if o == nil { + return "" + } + return o.Name +} + +func (o *GetAllLogDrainsDrains1) GetCreatedAt() float64 { + if o == nil { + return 0.0 + } + return o.CreatedAt +} + +func (o *GetAllLogDrainsDrains1) GetCreatedFrom() *GetAllLogDrainsCreatedFrom1 { + if o == nil { + return nil + } + return o.CreatedFrom +} + +func (o *GetAllLogDrainsDrains1) GetUpdatedAt() float64 { + if o == nil { + return 0.0 + } + return o.UpdatedAt +} + +func (o *GetAllLogDrainsDrains1) GetProjectIds() []string { + if o == nil { + return nil + } + return o.ProjectIds +} + +func (o *GetAllLogDrainsDrains1) GetSchemas() *GetAllLogDrainsSchemas1 { + if o == nil { + return nil + } + return o.Schemas +} + +func (o *GetAllLogDrainsDrains1) GetDelivery() *GetAllLogDrainsDeliveryUnion1 { + if o == nil { + return nil + } + return o.Delivery +} + +func (o *GetAllLogDrainsDrains1) GetSampling() []GetAllLogDrainsSampling1 { + if o == nil { + return nil + } + return o.Sampling +} + +func (o *GetAllLogDrainsDrains1) GetTeamID() *string { + if o == nil { + return nil + } + return o.TeamID +} + +func (o *GetAllLogDrainsDrains1) GetStatus() *GetAllLogDrainsStatus1 { + if o == nil { + return nil + } + return o.Status +} + +func (o *GetAllLogDrainsDrains1) GetDisabledAt() *float64 { + if o == nil { + return nil + } + return o.DisabledAt +} + +func (o *GetAllLogDrainsDrains1) GetDisabledReason() *GetAllLogDrainsDisabledReason1 { + if o == nil { + return nil + } + return o.DisabledReason +} + +func (o *GetAllLogDrainsDrains1) GetDisabledBy() *string { + if o == nil { + return nil + } + return o.DisabledBy +} + +func (o *GetAllLogDrainsDrains1) GetFirstErrorTimestamp() *float64 { + if o == nil { + return nil + } + return o.FirstErrorTimestamp +} + +func (o *GetAllLogDrainsDrains1) GetConfigurationID() *string { + if o == nil { + return nil + } + return o.ConfigurationID +} + +func (o *GetAllLogDrainsDrains1) GetClientID() *string { + if o == nil { + return nil + } + return o.ClientID +} + +func (o *GetAllLogDrainsDrains1) GetSource() GetAllLogDrainsSourceUnion1 { + if o == nil { + return GetAllLogDrainsSourceUnion1{} + } + return o.Source +} + +func (o *GetAllLogDrainsDrains1) GetFilter() *string { + if o == nil { + return nil + } + return o.Filter +} + +func (o *GetAllLogDrainsDrains1) GetFilterV2() *GetAllLogDrainsFilterV2Union1 { + if o == nil { + return nil + } + return o.FilterV2 +} + +type GetAllLogDrainsDrainsUnionType string + +const ( + GetAllLogDrainsDrainsUnionTypeArrayOfGetAllLogDrainsDrains1 GetAllLogDrainsDrainsUnionType = "arrayOfGetAllLogDrainsDrains1" + GetAllLogDrainsDrainsUnionTypeArrayOfGetAllLogDrainsDrains2 GetAllLogDrainsDrainsUnionType = "arrayOfGetAllLogDrainsDrains2" +) + +type GetAllLogDrainsDrainsUnion struct { + ArrayOfGetAllLogDrainsDrains1 []GetAllLogDrainsDrains1 `queryParam:"inline"` + ArrayOfGetAllLogDrainsDrains2 []GetAllLogDrainsDrains2 `queryParam:"inline"` + + Type GetAllLogDrainsDrainsUnionType +} + +func CreateGetAllLogDrainsDrainsUnionArrayOfGetAllLogDrainsDrains1(arrayOfGetAllLogDrainsDrains1 []GetAllLogDrainsDrains1) GetAllLogDrainsDrainsUnion { + typ := GetAllLogDrainsDrainsUnionTypeArrayOfGetAllLogDrainsDrains1 + + return GetAllLogDrainsDrainsUnion{ + ArrayOfGetAllLogDrainsDrains1: arrayOfGetAllLogDrainsDrains1, + Type: typ, + } +} + +func CreateGetAllLogDrainsDrainsUnionArrayOfGetAllLogDrainsDrains2(arrayOfGetAllLogDrainsDrains2 []GetAllLogDrainsDrains2) GetAllLogDrainsDrainsUnion { + typ := GetAllLogDrainsDrainsUnionTypeArrayOfGetAllLogDrainsDrains2 + + return GetAllLogDrainsDrainsUnion{ + ArrayOfGetAllLogDrainsDrains2: arrayOfGetAllLogDrainsDrains2, + Type: typ, + } +} + +func (u *GetAllLogDrainsDrainsUnion) UnmarshalJSON(data []byte) error { + + var arrayOfGetAllLogDrainsDrains1 []GetAllLogDrainsDrains1 = []GetAllLogDrainsDrains1{} + if err := utils.UnmarshalJSON(data, &arrayOfGetAllLogDrainsDrains1, "", true, nil); err == nil { + u.ArrayOfGetAllLogDrainsDrains1 = arrayOfGetAllLogDrainsDrains1 + u.Type = GetAllLogDrainsDrainsUnionTypeArrayOfGetAllLogDrainsDrains1 + return nil + } + + var arrayOfGetAllLogDrainsDrains2 []GetAllLogDrainsDrains2 = []GetAllLogDrainsDrains2{} + if err := utils.UnmarshalJSON(data, &arrayOfGetAllLogDrainsDrains2, "", true, nil); err == nil { + u.ArrayOfGetAllLogDrainsDrains2 = arrayOfGetAllLogDrainsDrains2 + u.Type = GetAllLogDrainsDrainsUnionTypeArrayOfGetAllLogDrainsDrains2 + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for GetAllLogDrainsDrainsUnion", string(data)) +} + +func (u GetAllLogDrainsDrainsUnion) MarshalJSON() ([]byte, error) { + if u.ArrayOfGetAllLogDrainsDrains1 != nil { + return utils.MarshalJSON(u.ArrayOfGetAllLogDrainsDrains1, "", true) + } + + if u.ArrayOfGetAllLogDrainsDrains2 != nil { + return utils.MarshalJSON(u.ArrayOfGetAllLogDrainsDrains2, "", true) + } + + return nil, errors.New("could not marshal union type GetAllLogDrainsDrainsUnion: all fields are null") +} + +type GetAllLogDrainsResponseBody1 struct { + Drains GetAllLogDrainsDrainsUnion `json:"drains"` +} + +func (g GetAllLogDrainsResponseBody1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetAllLogDrainsResponseBody1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"drains"}); err != nil { + return err + } + return nil +} + +func (o *GetAllLogDrainsResponseBody1) GetDrains() GetAllLogDrainsDrainsUnion { + if o == nil { + return GetAllLogDrainsDrainsUnion{} + } + return o.Drains +} + +type GetAllLogDrainsResponseBodyType string + +const ( + GetAllLogDrainsResponseBodyTypeGetAllLogDrainsResponseBody1 GetAllLogDrainsResponseBodyType = "getAllLogDrains_ResponseBody_1" + GetAllLogDrainsResponseBodyTypeArrayOfGetAllLogDrainsResponseBody2 GetAllLogDrainsResponseBodyType = "arrayOfGetAllLogDrainsResponseBody2" +) + +type GetAllLogDrainsResponseBody struct { + GetAllLogDrainsResponseBody1 *GetAllLogDrainsResponseBody1 `queryParam:"inline"` + ArrayOfGetAllLogDrainsResponseBody2 []GetAllLogDrainsResponseBody2 `queryParam:"inline"` + + Type GetAllLogDrainsResponseBodyType +} + +func CreateGetAllLogDrainsResponseBodyGetAllLogDrainsResponseBody1(getAllLogDrainsResponseBody1 GetAllLogDrainsResponseBody1) GetAllLogDrainsResponseBody { + typ := GetAllLogDrainsResponseBodyTypeGetAllLogDrainsResponseBody1 + + return GetAllLogDrainsResponseBody{ + GetAllLogDrainsResponseBody1: &getAllLogDrainsResponseBody1, + Type: typ, + } +} + +func CreateGetAllLogDrainsResponseBodyArrayOfGetAllLogDrainsResponseBody2(arrayOfGetAllLogDrainsResponseBody2 []GetAllLogDrainsResponseBody2) GetAllLogDrainsResponseBody { + typ := GetAllLogDrainsResponseBodyTypeArrayOfGetAllLogDrainsResponseBody2 + + return GetAllLogDrainsResponseBody{ + ArrayOfGetAllLogDrainsResponseBody2: arrayOfGetAllLogDrainsResponseBody2, + Type: typ, + } +} + +func (u *GetAllLogDrainsResponseBody) UnmarshalJSON(data []byte) error { + + var getAllLogDrainsResponseBody1 GetAllLogDrainsResponseBody1 = GetAllLogDrainsResponseBody1{} + if err := utils.UnmarshalJSON(data, &getAllLogDrainsResponseBody1, "", true, nil); err == nil { + u.GetAllLogDrainsResponseBody1 = &getAllLogDrainsResponseBody1 + u.Type = GetAllLogDrainsResponseBodyTypeGetAllLogDrainsResponseBody1 + return nil + } + + var arrayOfGetAllLogDrainsResponseBody2 []GetAllLogDrainsResponseBody2 = []GetAllLogDrainsResponseBody2{} + if err := utils.UnmarshalJSON(data, &arrayOfGetAllLogDrainsResponseBody2, "", true, nil); err == nil { + u.ArrayOfGetAllLogDrainsResponseBody2 = arrayOfGetAllLogDrainsResponseBody2 + u.Type = GetAllLogDrainsResponseBodyTypeArrayOfGetAllLogDrainsResponseBody2 + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for GetAllLogDrainsResponseBody", string(data)) +} + +func (u GetAllLogDrainsResponseBody) MarshalJSON() ([]byte, error) { + if u.GetAllLogDrainsResponseBody1 != nil { + return utils.MarshalJSON(u.GetAllLogDrainsResponseBody1, "", true) + } + + if u.ArrayOfGetAllLogDrainsResponseBody2 != nil { + return utils.MarshalJSON(u.ArrayOfGetAllLogDrainsResponseBody2, "", true) + } + + return nil, errors.New("could not marshal union type GetAllLogDrainsResponseBody: all fields are null") +} + +type GetAllLogDrainsResponse struct { + HTTPMeta components.HTTPMetadata `json:"-"` + OneOf *GetAllLogDrainsResponseBody +} + +func (o *GetAllLogDrainsResponse) GetHTTPMeta() components.HTTPMetadata { + if o == nil { + return components.HTTPMetadata{} + } + return o.HTTPMeta +} + +func (o *GetAllLogDrainsResponse) GetOneOf() *GetAllLogDrainsResponseBody { + if o == nil { + return nil + } + return o.OneOf +} diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/getbulkavailability.go b/src/__tests__/mockserver/internal/sdk/models/operations/getbulkavailability.go new file mode 100644 index 000000000..6aa9050f8 --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/operations/getbulkavailability.go @@ -0,0 +1,89 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package operations + +import ( + "mockserver/internal/sdk/models/components" +) + +type GetBulkAvailabilityRequestBody struct { + // an array of at most 50 item(s) + Domains []string `json:"domains"` +} + +func (o *GetBulkAvailabilityRequestBody) GetDomains() []string { + if o == nil { + return []string{} + } + return o.Domains +} + +type GetBulkAvailabilityRequest struct { + TeamID *string `queryParam:"style=form,explode=true,name=teamId"` + Body GetBulkAvailabilityRequestBody `request:"mediaType=application/json"` +} + +func (o *GetBulkAvailabilityRequest) GetTeamID() *string { + if o == nil { + return nil + } + return o.TeamID +} + +func (o *GetBulkAvailabilityRequest) GetBody() GetBulkAvailabilityRequestBody { + if o == nil { + return GetBulkAvailabilityRequestBody{} + } + return o.Body +} + +type GetBulkAvailabilityResult struct { + Domain string `json:"domain"` + Available bool `json:"available"` +} + +func (o *GetBulkAvailabilityResult) GetDomain() string { + if o == nil { + return "" + } + return o.Domain +} + +func (o *GetBulkAvailabilityResult) GetAvailable() bool { + if o == nil { + return false + } + return o.Available +} + +// GetBulkAvailabilityResponseBody - Success +type GetBulkAvailabilityResponseBody struct { + Results []GetBulkAvailabilityResult `json:"results"` +} + +func (o *GetBulkAvailabilityResponseBody) GetResults() []GetBulkAvailabilityResult { + if o == nil { + return []GetBulkAvailabilityResult{} + } + return o.Results +} + +type GetBulkAvailabilityResponse struct { + HTTPMeta components.HTTPMetadata `json:"-"` + // Success + Object *GetBulkAvailabilityResponseBody +} + +func (o *GetBulkAvailabilityResponse) GetHTTPMeta() components.HTTPMetadata { + if o == nil { + return components.HTTPMetadata{} + } + return o.HTTPMeta +} + +func (o *GetBulkAvailabilityResponse) GetObject() *GetBulkAvailabilityResponseBody { + if o == nil { + return nil + } + return o.Object +} diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/getconfigurablelogdrain.go b/src/__tests__/mockserver/internal/sdk/models/operations/getconfigurablelogdrain.go new file mode 100644 index 000000000..e489c1b71 --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/operations/getconfigurablelogdrain.go @@ -0,0 +1,318 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package operations + +import ( + "encoding/json" + "fmt" + "mockserver/internal/sdk/models/components" +) + +type GetConfigurableLogDrainRequest struct { + ID string `pathParam:"style=simple,explode=false,name=id"` + // The Team identifier to perform the request on behalf of. + TeamID *string `queryParam:"style=form,explode=true,name=teamId"` + // The Team slug to perform the request on behalf of. + Slug *string `queryParam:"style=form,explode=true,name=slug"` +} + +func (o *GetConfigurableLogDrainRequest) GetID() string { + if o == nil { + return "" + } + return o.ID +} + +func (o *GetConfigurableLogDrainRequest) GetTeamID() *string { + if o == nil { + return nil + } + return o.TeamID +} + +func (o *GetConfigurableLogDrainRequest) GetSlug() *string { + if o == nil { + return nil + } + return o.Slug +} + +type GetConfigurableLogDrainFramework string + +const ( + GetConfigurableLogDrainFrameworkBlitzjs GetConfigurableLogDrainFramework = "blitzjs" + GetConfigurableLogDrainFrameworkNextjs GetConfigurableLogDrainFramework = "nextjs" + GetConfigurableLogDrainFrameworkGatsby GetConfigurableLogDrainFramework = "gatsby" + GetConfigurableLogDrainFrameworkRemix GetConfigurableLogDrainFramework = "remix" + GetConfigurableLogDrainFrameworkReactRouter GetConfigurableLogDrainFramework = "react-router" + GetConfigurableLogDrainFrameworkAstro GetConfigurableLogDrainFramework = "astro" + GetConfigurableLogDrainFrameworkHexo GetConfigurableLogDrainFramework = "hexo" + GetConfigurableLogDrainFrameworkEleventy GetConfigurableLogDrainFramework = "eleventy" + GetConfigurableLogDrainFrameworkDocusaurus2 GetConfigurableLogDrainFramework = "docusaurus-2" + GetConfigurableLogDrainFrameworkDocusaurus GetConfigurableLogDrainFramework = "docusaurus" + GetConfigurableLogDrainFrameworkPreact GetConfigurableLogDrainFramework = "preact" + GetConfigurableLogDrainFrameworkSolidstart1 GetConfigurableLogDrainFramework = "solidstart-1" + GetConfigurableLogDrainFrameworkSolidstart GetConfigurableLogDrainFramework = "solidstart" + GetConfigurableLogDrainFrameworkDojo GetConfigurableLogDrainFramework = "dojo" + GetConfigurableLogDrainFrameworkEmber GetConfigurableLogDrainFramework = "ember" + GetConfigurableLogDrainFrameworkVue GetConfigurableLogDrainFramework = "vue" + GetConfigurableLogDrainFrameworkScully GetConfigurableLogDrainFramework = "scully" + GetConfigurableLogDrainFrameworkIonicAngular GetConfigurableLogDrainFramework = "ionic-angular" + GetConfigurableLogDrainFrameworkAngular GetConfigurableLogDrainFramework = "angular" + GetConfigurableLogDrainFrameworkPolymer GetConfigurableLogDrainFramework = "polymer" + GetConfigurableLogDrainFrameworkSvelte GetConfigurableLogDrainFramework = "svelte" + GetConfigurableLogDrainFrameworkSveltekit GetConfigurableLogDrainFramework = "sveltekit" + GetConfigurableLogDrainFrameworkSveltekit1 GetConfigurableLogDrainFramework = "sveltekit-1" + GetConfigurableLogDrainFrameworkIonicReact GetConfigurableLogDrainFramework = "ionic-react" + GetConfigurableLogDrainFrameworkCreateReactApp GetConfigurableLogDrainFramework = "create-react-app" + GetConfigurableLogDrainFrameworkGridsome GetConfigurableLogDrainFramework = "gridsome" + GetConfigurableLogDrainFrameworkUmijs GetConfigurableLogDrainFramework = "umijs" + GetConfigurableLogDrainFrameworkSapper GetConfigurableLogDrainFramework = "sapper" + GetConfigurableLogDrainFrameworkSaber GetConfigurableLogDrainFramework = "saber" + GetConfigurableLogDrainFrameworkStencil GetConfigurableLogDrainFramework = "stencil" + GetConfigurableLogDrainFrameworkNuxtjs GetConfigurableLogDrainFramework = "nuxtjs" + GetConfigurableLogDrainFrameworkRedwoodjs GetConfigurableLogDrainFramework = "redwoodjs" + GetConfigurableLogDrainFrameworkHugo GetConfigurableLogDrainFramework = "hugo" + GetConfigurableLogDrainFrameworkJekyll GetConfigurableLogDrainFramework = "jekyll" + GetConfigurableLogDrainFrameworkBrunch GetConfigurableLogDrainFramework = "brunch" + GetConfigurableLogDrainFrameworkMiddleman GetConfigurableLogDrainFramework = "middleman" + GetConfigurableLogDrainFrameworkZola GetConfigurableLogDrainFramework = "zola" + GetConfigurableLogDrainFrameworkHydrogen GetConfigurableLogDrainFramework = "hydrogen" + GetConfigurableLogDrainFrameworkVite GetConfigurableLogDrainFramework = "vite" + GetConfigurableLogDrainFrameworkTanstackStart GetConfigurableLogDrainFramework = "tanstack-start" + GetConfigurableLogDrainFrameworkVitepress GetConfigurableLogDrainFramework = "vitepress" + GetConfigurableLogDrainFrameworkVuepress GetConfigurableLogDrainFramework = "vuepress" + GetConfigurableLogDrainFrameworkParcel GetConfigurableLogDrainFramework = "parcel" + GetConfigurableLogDrainFrameworkFastapi GetConfigurableLogDrainFramework = "fastapi" + GetConfigurableLogDrainFrameworkFlask GetConfigurableLogDrainFramework = "flask" + GetConfigurableLogDrainFrameworkFasthtml GetConfigurableLogDrainFramework = "fasthtml" + GetConfigurableLogDrainFrameworkSanityV3 GetConfigurableLogDrainFramework = "sanity-v3" + GetConfigurableLogDrainFrameworkSanity GetConfigurableLogDrainFramework = "sanity" + GetConfigurableLogDrainFrameworkStorybook GetConfigurableLogDrainFramework = "storybook" + GetConfigurableLogDrainFrameworkNitro GetConfigurableLogDrainFramework = "nitro" + GetConfigurableLogDrainFrameworkHono GetConfigurableLogDrainFramework = "hono" + GetConfigurableLogDrainFrameworkExpress GetConfigurableLogDrainFramework = "express" + GetConfigurableLogDrainFrameworkH3 GetConfigurableLogDrainFramework = "h3" + GetConfigurableLogDrainFrameworkNestjs GetConfigurableLogDrainFramework = "nestjs" + GetConfigurableLogDrainFrameworkElysia GetConfigurableLogDrainFramework = "elysia" + GetConfigurableLogDrainFrameworkFastify GetConfigurableLogDrainFramework = "fastify" + GetConfigurableLogDrainFrameworkXmcp GetConfigurableLogDrainFramework = "xmcp" +) + +func (e GetConfigurableLogDrainFramework) ToPointer() *GetConfigurableLogDrainFramework { + return &e +} +func (e *GetConfigurableLogDrainFramework) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "blitzjs": + fallthrough + case "nextjs": + fallthrough + case "gatsby": + fallthrough + case "remix": + fallthrough + case "react-router": + fallthrough + case "astro": + fallthrough + case "hexo": + fallthrough + case "eleventy": + fallthrough + case "docusaurus-2": + fallthrough + case "docusaurus": + fallthrough + case "preact": + fallthrough + case "solidstart-1": + fallthrough + case "solidstart": + fallthrough + case "dojo": + fallthrough + case "ember": + fallthrough + case "vue": + fallthrough + case "scully": + fallthrough + case "ionic-angular": + fallthrough + case "angular": + fallthrough + case "polymer": + fallthrough + case "svelte": + fallthrough + case "sveltekit": + fallthrough + case "sveltekit-1": + fallthrough + case "ionic-react": + fallthrough + case "create-react-app": + fallthrough + case "gridsome": + fallthrough + case "umijs": + fallthrough + case "sapper": + fallthrough + case "saber": + fallthrough + case "stencil": + fallthrough + case "nuxtjs": + fallthrough + case "redwoodjs": + fallthrough + case "hugo": + fallthrough + case "jekyll": + fallthrough + case "brunch": + fallthrough + case "middleman": + fallthrough + case "zola": + fallthrough + case "hydrogen": + fallthrough + case "vite": + fallthrough + case "tanstack-start": + fallthrough + case "vitepress": + fallthrough + case "vuepress": + fallthrough + case "parcel": + fallthrough + case "fastapi": + fallthrough + case "flask": + fallthrough + case "fasthtml": + fallthrough + case "sanity-v3": + fallthrough + case "sanity": + fallthrough + case "storybook": + fallthrough + case "nitro": + fallthrough + case "hono": + fallthrough + case "express": + fallthrough + case "h3": + fallthrough + case "nestjs": + fallthrough + case "elysia": + fallthrough + case "fastify": + fallthrough + case "xmcp": + *e = GetConfigurableLogDrainFramework(v) + return nil + default: + return fmt.Errorf("invalid value for GetConfigurableLogDrainFramework: %v", v) + } +} + +type GetConfigurableLogDrainProjectsMetadatum struct { + ID string `json:"id"` + Name string `json:"name"` + Framework *GetConfigurableLogDrainFramework `json:"framework,omitempty"` + LatestDeployment *string `json:"latestDeployment,omitempty"` +} + +func (o *GetConfigurableLogDrainProjectsMetadatum) GetID() string { + if o == nil { + return "" + } + return o.ID +} + +func (o *GetConfigurableLogDrainProjectsMetadatum) GetName() string { + if o == nil { + return "" + } + return o.Name +} + +func (o *GetConfigurableLogDrainProjectsMetadatum) GetFramework() *GetConfigurableLogDrainFramework { + if o == nil { + return nil + } + return o.Framework +} + +func (o *GetConfigurableLogDrainProjectsMetadatum) GetLatestDeployment() *string { + if o == nil { + return nil + } + return o.LatestDeployment +} + +type GetConfigurableLogDrainResponseBody struct { + ProjectsMetadata []GetConfigurableLogDrainProjectsMetadatum `json:"projectsMetadata,omitempty"` + IntegrationIcon *string `json:"integrationIcon,omitempty"` + IntegrationConfigurationURI *string `json:"integrationConfigurationUri,omitempty"` + IntegrationWebsite *string `json:"integrationWebsite,omitempty"` +} + +func (o *GetConfigurableLogDrainResponseBody) GetProjectsMetadata() []GetConfigurableLogDrainProjectsMetadatum { + if o == nil { + return nil + } + return o.ProjectsMetadata +} + +func (o *GetConfigurableLogDrainResponseBody) GetIntegrationIcon() *string { + if o == nil { + return nil + } + return o.IntegrationIcon +} + +func (o *GetConfigurableLogDrainResponseBody) GetIntegrationConfigurationURI() *string { + if o == nil { + return nil + } + return o.IntegrationConfigurationURI +} + +func (o *GetConfigurableLogDrainResponseBody) GetIntegrationWebsite() *string { + if o == nil { + return nil + } + return o.IntegrationWebsite +} + +type GetConfigurableLogDrainResponse struct { + HTTPMeta components.HTTPMetadata `json:"-"` + Object *GetConfigurableLogDrainResponseBody +} + +func (o *GetConfigurableLogDrainResponse) GetHTTPMeta() components.HTTPMetadata { + if o == nil { + return components.HTTPMetadata{} + } + return o.HTTPMeta +} + +func (o *GetConfigurableLogDrainResponse) GetObject() *GetConfigurableLogDrainResponseBody { + if o == nil { + return nil + } + return o.Object +} diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/getconfigurationproducts.go b/src/__tests__/mockserver/internal/sdk/models/operations/getconfigurationproducts.go index c99aa279f..3b49f0c50 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/getconfigurationproducts.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/getconfigurationproducts.go @@ -805,14 +805,14 @@ func (e *GetConfigurationProductsType) UnmarshalJSON(data []byte) error { } } -type ValueAtBRANDAt543472 struct { +type ValueAtBRANDAt649501 struct { } -func (v ValueAtBRANDAt543472) MarshalJSON() ([]byte, error) { +func (v ValueAtBRANDAt649501) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(v, "", false) } -func (v *ValueAtBRANDAt543472) UnmarshalJSON(data []byte) error { +func (v *ValueAtBRANDAt649501) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &v, "", false, nil); err != nil { return err } @@ -820,7 +820,7 @@ func (v *ValueAtBRANDAt543472) UnmarshalJSON(data []byte) error { } type GetConfigurationProductsValue struct { - AtBRANDAt543472 ValueAtBRANDAt543472 `json:"__@BRAND@543472"` + AtBRANDAt649501 ValueAtBRANDAt649501 `json:"__@BRAND@649501"` } func (g GetConfigurationProductsValue) MarshalJSON() ([]byte, error) { @@ -828,17 +828,17 @@ func (g GetConfigurationProductsValue) MarshalJSON() ([]byte, error) { } func (g *GetConfigurationProductsValue) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &g, "", false, []string{"__@BRAND@543472"}); err != nil { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"__@BRAND@649501"}); err != nil { return err } return nil } -func (o *GetConfigurationProductsValue) GetAtBRANDAt543472() ValueAtBRANDAt543472 { +func (o *GetConfigurationProductsValue) GetAtBRANDAt649501() ValueAtBRANDAt649501 { if o == nil { - return ValueAtBRANDAt543472{} + return ValueAtBRANDAt649501{} } - return o.AtBRANDAt543472 + return o.AtBRANDAt649501 } type GetConfigurationProductsDisabledEnum string @@ -1191,14 +1191,14 @@ func (e *GetConfigurationProductsUIControlDomain) UnmarshalJSON(data []byte) err } } -type MinLengthAtBRANDAt5434724 struct { +type MinLengthAtBRANDAt6495014 struct { } -func (m MinLengthAtBRANDAt5434724) MarshalJSON() ([]byte, error) { +func (m MinLengthAtBRANDAt6495014) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(m, "", false) } -func (m *MinLengthAtBRANDAt5434724) UnmarshalJSON(data []byte) error { +func (m *MinLengthAtBRANDAt6495014) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &m, "", false, nil); err != nil { return err } @@ -1206,7 +1206,7 @@ func (m *MinLengthAtBRANDAt5434724) UnmarshalJSON(data []byte) error { } type GetConfigurationProductsMinLength4 struct { - AtBRANDAt543472 MinLengthAtBRANDAt5434724 `json:"__@BRAND@543472"` + AtBRANDAt649501 MinLengthAtBRANDAt6495014 `json:"__@BRAND@649501"` } func (g GetConfigurationProductsMinLength4) MarshalJSON() ([]byte, error) { @@ -1214,27 +1214,27 @@ func (g GetConfigurationProductsMinLength4) MarshalJSON() ([]byte, error) { } func (g *GetConfigurationProductsMinLength4) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &g, "", false, []string{"__@BRAND@543472"}); err != nil { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"__@BRAND@649501"}); err != nil { return err } return nil } -func (o *GetConfigurationProductsMinLength4) GetAtBRANDAt543472() MinLengthAtBRANDAt5434724 { +func (o *GetConfigurationProductsMinLength4) GetAtBRANDAt649501() MinLengthAtBRANDAt6495014 { if o == nil { - return MinLengthAtBRANDAt5434724{} + return MinLengthAtBRANDAt6495014{} } - return o.AtBRANDAt543472 + return o.AtBRANDAt649501 } -type MaxLengthAtBRANDAt5434724 struct { +type MaxLengthAtBRANDAt6495014 struct { } -func (m MaxLengthAtBRANDAt5434724) MarshalJSON() ([]byte, error) { +func (m MaxLengthAtBRANDAt6495014) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(m, "", false) } -func (m *MaxLengthAtBRANDAt5434724) UnmarshalJSON(data []byte) error { +func (m *MaxLengthAtBRANDAt6495014) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &m, "", false, nil); err != nil { return err } @@ -1242,7 +1242,7 @@ func (m *MaxLengthAtBRANDAt5434724) UnmarshalJSON(data []byte) error { } type GetConfigurationProductsMaxLength4 struct { - AtBRANDAt543472 MaxLengthAtBRANDAt5434724 `json:"__@BRAND@543472"` + AtBRANDAt649501 MaxLengthAtBRANDAt6495014 `json:"__@BRAND@649501"` } func (g GetConfigurationProductsMaxLength4) MarshalJSON() ([]byte, error) { @@ -1250,27 +1250,27 @@ func (g GetConfigurationProductsMaxLength4) MarshalJSON() ([]byte, error) { } func (g *GetConfigurationProductsMaxLength4) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &g, "", false, []string{"__@BRAND@543472"}); err != nil { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"__@BRAND@649501"}); err != nil { return err } return nil } -func (o *GetConfigurationProductsMaxLength4) GetAtBRANDAt543472() MaxLengthAtBRANDAt5434724 { +func (o *GetConfigurationProductsMaxLength4) GetAtBRANDAt649501() MaxLengthAtBRANDAt6495014 { if o == nil { - return MaxLengthAtBRANDAt5434724{} + return MaxLengthAtBRANDAt6495014{} } - return o.AtBRANDAt543472 + return o.AtBRANDAt649501 } -type PatternAtBRANDAt5434724 struct { +type PatternAtBRANDAt6495014 struct { } -func (p PatternAtBRANDAt5434724) MarshalJSON() ([]byte, error) { +func (p PatternAtBRANDAt6495014) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *PatternAtBRANDAt5434724) UnmarshalJSON(data []byte) error { +func (p *PatternAtBRANDAt6495014) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, nil); err != nil { return err } @@ -1278,7 +1278,7 @@ func (p *PatternAtBRANDAt5434724) UnmarshalJSON(data []byte) error { } type GetConfigurationProductsPattern4 struct { - AtBRANDAt543472 PatternAtBRANDAt5434724 `json:"__@BRAND@543472"` + AtBRANDAt649501 PatternAtBRANDAt6495014 `json:"__@BRAND@649501"` } func (g GetConfigurationProductsPattern4) MarshalJSON() ([]byte, error) { @@ -1286,17 +1286,17 @@ func (g GetConfigurationProductsPattern4) MarshalJSON() ([]byte, error) { } func (g *GetConfigurationProductsPattern4) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &g, "", false, []string{"__@BRAND@543472"}); err != nil { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"__@BRAND@649501"}); err != nil { return err } return nil } -func (o *GetConfigurationProductsPattern4) GetAtBRANDAt543472() PatternAtBRANDAt5434724 { +func (o *GetConfigurationProductsPattern4) GetAtBRANDAt649501() PatternAtBRANDAt6495014 { if o == nil { - return PatternAtBRANDAt5434724{} + return PatternAtBRANDAt6495014{} } - return o.AtBRANDAt543472 + return o.AtBRANDAt649501 } type GetConfigurationProductsUIReadOnlyEnum9 string @@ -2008,14 +2008,14 @@ func (e *GetConfigurationProductsTypeString5) UnmarshalJSON(data []byte) error { } } -type MinLengthAtBRANDAt543472String2 struct { +type MinLengthAtBRANDAt649501String2 struct { } -func (m MinLengthAtBRANDAt543472String2) MarshalJSON() ([]byte, error) { +func (m MinLengthAtBRANDAt649501String2) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(m, "", false) } -func (m *MinLengthAtBRANDAt543472String2) UnmarshalJSON(data []byte) error { +func (m *MinLengthAtBRANDAt649501String2) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &m, "", false, nil); err != nil { return err } @@ -2023,7 +2023,7 @@ func (m *MinLengthAtBRANDAt543472String2) UnmarshalJSON(data []byte) error { } type GetConfigurationProductsMinLengthString2 struct { - AtBRANDAt543472 MinLengthAtBRANDAt543472String2 `json:"__@BRAND@543472"` + AtBRANDAt649501 MinLengthAtBRANDAt649501String2 `json:"__@BRAND@649501"` } func (g GetConfigurationProductsMinLengthString2) MarshalJSON() ([]byte, error) { @@ -2031,27 +2031,27 @@ func (g GetConfigurationProductsMinLengthString2) MarshalJSON() ([]byte, error) } func (g *GetConfigurationProductsMinLengthString2) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &g, "", false, []string{"__@BRAND@543472"}); err != nil { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"__@BRAND@649501"}); err != nil { return err } return nil } -func (o *GetConfigurationProductsMinLengthString2) GetAtBRANDAt543472() MinLengthAtBRANDAt543472String2 { +func (o *GetConfigurationProductsMinLengthString2) GetAtBRANDAt649501() MinLengthAtBRANDAt649501String2 { if o == nil { - return MinLengthAtBRANDAt543472String2{} + return MinLengthAtBRANDAt649501String2{} } - return o.AtBRANDAt543472 + return o.AtBRANDAt649501 } -type MaxLengthAtBRANDAt543472String2 struct { +type MaxLengthAtBRANDAt649501String2 struct { } -func (m MaxLengthAtBRANDAt543472String2) MarshalJSON() ([]byte, error) { +func (m MaxLengthAtBRANDAt649501String2) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(m, "", false) } -func (m *MaxLengthAtBRANDAt543472String2) UnmarshalJSON(data []byte) error { +func (m *MaxLengthAtBRANDAt649501String2) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &m, "", false, nil); err != nil { return err } @@ -2059,7 +2059,7 @@ func (m *MaxLengthAtBRANDAt543472String2) UnmarshalJSON(data []byte) error { } type GetConfigurationProductsMaxLengthString2 struct { - AtBRANDAt543472 MaxLengthAtBRANDAt543472String2 `json:"__@BRAND@543472"` + AtBRANDAt649501 MaxLengthAtBRANDAt649501String2 `json:"__@BRAND@649501"` } func (g GetConfigurationProductsMaxLengthString2) MarshalJSON() ([]byte, error) { @@ -2067,27 +2067,27 @@ func (g GetConfigurationProductsMaxLengthString2) MarshalJSON() ([]byte, error) } func (g *GetConfigurationProductsMaxLengthString2) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &g, "", false, []string{"__@BRAND@543472"}); err != nil { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"__@BRAND@649501"}); err != nil { return err } return nil } -func (o *GetConfigurationProductsMaxLengthString2) GetAtBRANDAt543472() MaxLengthAtBRANDAt543472String2 { +func (o *GetConfigurationProductsMaxLengthString2) GetAtBRANDAt649501() MaxLengthAtBRANDAt649501String2 { if o == nil { - return MaxLengthAtBRANDAt543472String2{} + return MaxLengthAtBRANDAt649501String2{} } - return o.AtBRANDAt543472 + return o.AtBRANDAt649501 } -type PatternAtBRANDAt543472String2 struct { +type PatternAtBRANDAt649501String2 struct { } -func (p PatternAtBRANDAt543472String2) MarshalJSON() ([]byte, error) { +func (p PatternAtBRANDAt649501String2) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *PatternAtBRANDAt543472String2) UnmarshalJSON(data []byte) error { +func (p *PatternAtBRANDAt649501String2) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, nil); err != nil { return err } @@ -2095,7 +2095,7 @@ func (p *PatternAtBRANDAt543472String2) UnmarshalJSON(data []byte) error { } type GetConfigurationProductsPatternString2 struct { - AtBRANDAt543472 PatternAtBRANDAt543472String2 `json:"__@BRAND@543472"` + AtBRANDAt649501 PatternAtBRANDAt649501String2 `json:"__@BRAND@649501"` } func (g GetConfigurationProductsPatternString2) MarshalJSON() ([]byte, error) { @@ -2103,17 +2103,17 @@ func (g GetConfigurationProductsPatternString2) MarshalJSON() ([]byte, error) { } func (g *GetConfigurationProductsPatternString2) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &g, "", false, []string{"__@BRAND@543472"}); err != nil { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"__@BRAND@649501"}); err != nil { return err } return nil } -func (o *GetConfigurationProductsPatternString2) GetAtBRANDAt543472() PatternAtBRANDAt543472String2 { +func (o *GetConfigurationProductsPatternString2) GetAtBRANDAt649501() PatternAtBRANDAt649501String2 { if o == nil { - return PatternAtBRANDAt543472String2{} + return PatternAtBRANDAt649501String2{} } - return o.AtBRANDAt543472 + return o.AtBRANDAt649501 } type GetConfigurationProductsItemsString2 struct { @@ -2186,14 +2186,14 @@ func (o *GetConfigurationProductsItemsString2) GetEnum() []string { return o.Enum } -type UIOptionValueAtBRANDAt5434722 struct { +type UIOptionValueAtBRANDAt6495012 struct { } -func (u UIOptionValueAtBRANDAt5434722) MarshalJSON() ([]byte, error) { +func (u UIOptionValueAtBRANDAt6495012) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(u, "", false) } -func (u *UIOptionValueAtBRANDAt5434722) UnmarshalJSON(data []byte) error { +func (u *UIOptionValueAtBRANDAt6495012) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &u, "", false, nil); err != nil { return err } @@ -2201,7 +2201,7 @@ func (u *UIOptionValueAtBRANDAt5434722) UnmarshalJSON(data []byte) error { } type GetConfigurationProductsUIOptionValue2 struct { - AtBRANDAt543472 UIOptionValueAtBRANDAt5434722 `json:"__@BRAND@543472"` + AtBRANDAt649501 UIOptionValueAtBRANDAt6495012 `json:"__@BRAND@649501"` } func (g GetConfigurationProductsUIOptionValue2) MarshalJSON() ([]byte, error) { @@ -2209,17 +2209,17 @@ func (g GetConfigurationProductsUIOptionValue2) MarshalJSON() ([]byte, error) { } func (g *GetConfigurationProductsUIOptionValue2) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &g, "", false, []string{"__@BRAND@543472"}); err != nil { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"__@BRAND@649501"}); err != nil { return err } return nil } -func (o *GetConfigurationProductsUIOptionValue2) GetAtBRANDAt543472() UIOptionValueAtBRANDAt5434722 { +func (o *GetConfigurationProductsUIOptionValue2) GetAtBRANDAt649501() UIOptionValueAtBRANDAt6495012 { if o == nil { - return UIOptionValueAtBRANDAt5434722{} + return UIOptionValueAtBRANDAt6495012{} } - return o.AtBRANDAt543472 + return o.AtBRANDAt649501 } type GetConfigurationProductsUIOptionDisabledEnum4 string @@ -2526,14 +2526,14 @@ func (o *GetConfigurationProductsUIOption8) GetHidden() *GetConfigurationProduct return o.Hidden } -type UIOptionAtBRANDAt5434722 struct { +type UIOptionAtBRANDAt6495012 struct { } -func (u UIOptionAtBRANDAt5434722) MarshalJSON() ([]byte, error) { +func (u UIOptionAtBRANDAt6495012) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(u, "", false) } -func (u *UIOptionAtBRANDAt5434722) UnmarshalJSON(data []byte) error { +func (u *UIOptionAtBRANDAt6495012) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &u, "", false, nil); err != nil { return err } @@ -2541,7 +2541,7 @@ func (u *UIOptionAtBRANDAt5434722) UnmarshalJSON(data []byte) error { } type GetConfigurationProductsUIOption7 struct { - AtBRANDAt543472 UIOptionAtBRANDAt5434722 `json:"__@BRAND@543472"` + AtBRANDAt649501 UIOptionAtBRANDAt6495012 `json:"__@BRAND@649501"` } func (g GetConfigurationProductsUIOption7) MarshalJSON() ([]byte, error) { @@ -2549,17 +2549,17 @@ func (g GetConfigurationProductsUIOption7) MarshalJSON() ([]byte, error) { } func (g *GetConfigurationProductsUIOption7) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &g, "", false, []string{"__@BRAND@543472"}); err != nil { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"__@BRAND@649501"}); err != nil { return err } return nil } -func (o *GetConfigurationProductsUIOption7) GetAtBRANDAt543472() UIOptionAtBRANDAt5434722 { +func (o *GetConfigurationProductsUIOption7) GetAtBRANDAt649501() UIOptionAtBRANDAt6495012 { if o == nil { - return UIOptionAtBRANDAt5434722{} + return UIOptionAtBRANDAt6495012{} } - return o.AtBRANDAt543472 + return o.AtBRANDAt649501 } type GetConfigurationProductsUIOptionDisabledEnum3 string @@ -3465,14 +3465,14 @@ func (o *GetConfigurationProductsUIFormattedValue8) GetExpr() string { return o.Expr } -type DefaultAtBRANDAt543472 struct { +type DefaultAtBRANDAt649501 struct { } -func (d DefaultAtBRANDAt543472) MarshalJSON() ([]byte, error) { +func (d DefaultAtBRANDAt649501) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(d, "", false) } -func (d *DefaultAtBRANDAt543472) UnmarshalJSON(data []byte) error { +func (d *DefaultAtBRANDAt649501) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &d, "", false, nil); err != nil { return err } @@ -3480,7 +3480,7 @@ func (d *DefaultAtBRANDAt543472) UnmarshalJSON(data []byte) error { } type Default struct { - AtBRANDAt543472 DefaultAtBRANDAt543472 `json:"__@BRAND@543472"` + AtBRANDAt649501 DefaultAtBRANDAt649501 `json:"__@BRAND@649501"` } func (d Default) MarshalJSON() ([]byte, error) { @@ -3488,27 +3488,27 @@ func (d Default) MarshalJSON() ([]byte, error) { } func (d *Default) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &d, "", false, []string{"__@BRAND@543472"}); err != nil { + if err := utils.UnmarshalJSON(data, &d, "", false, []string{"__@BRAND@649501"}); err != nil { return err } return nil } -func (o *Default) GetAtBRANDAt543472() DefaultAtBRANDAt543472 { +func (o *Default) GetAtBRANDAt649501() DefaultAtBRANDAt649501 { if o == nil { - return DefaultAtBRANDAt543472{} + return DefaultAtBRANDAt649501{} } - return o.AtBRANDAt543472 + return o.AtBRANDAt649501 } -type ExampleAtBRANDAt543472 struct { +type ExampleAtBRANDAt649501 struct { } -func (e ExampleAtBRANDAt543472) MarshalJSON() ([]byte, error) { +func (e ExampleAtBRANDAt649501) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(e, "", false) } -func (e *ExampleAtBRANDAt543472) UnmarshalJSON(data []byte) error { +func (e *ExampleAtBRANDAt649501) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &e, "", false, nil); err != nil { return err } @@ -3516,7 +3516,7 @@ func (e *ExampleAtBRANDAt543472) UnmarshalJSON(data []byte) error { } type Example struct { - AtBRANDAt543472 ExampleAtBRANDAt543472 `json:"__@BRAND@543472"` + AtBRANDAt649501 ExampleAtBRANDAt649501 `json:"__@BRAND@649501"` } func (e Example) MarshalJSON() ([]byte, error) { @@ -3524,17 +3524,17 @@ func (e Example) MarshalJSON() ([]byte, error) { } func (e *Example) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &e, "", false, []string{"__@BRAND@543472"}); err != nil { + if err := utils.UnmarshalJSON(data, &e, "", false, []string{"__@BRAND@649501"}); err != nil { return err } return nil } -func (o *Example) GetAtBRANDAt543472() ExampleAtBRANDAt543472 { +func (o *Example) GetAtBRANDAt649501() ExampleAtBRANDAt649501 { if o == nil { - return ExampleAtBRANDAt543472{} + return ExampleAtBRANDAt649501{} } - return o.AtBRANDAt543472 + return o.AtBRANDAt649501 } type PropertiesMultiVercelRegion struct { @@ -3725,14 +3725,14 @@ func (e *GetConfigurationProductsUIControlVercelRegion) UnmarshalJSON(data []byt } } -type UIOptionValueAtBRANDAt5434721 struct { +type UIOptionValueAtBRANDAt6495011 struct { } -func (u UIOptionValueAtBRANDAt5434721) MarshalJSON() ([]byte, error) { +func (u UIOptionValueAtBRANDAt6495011) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(u, "", false) } -func (u *UIOptionValueAtBRANDAt5434721) UnmarshalJSON(data []byte) error { +func (u *UIOptionValueAtBRANDAt6495011) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &u, "", false, nil); err != nil { return err } @@ -3740,7 +3740,7 @@ func (u *UIOptionValueAtBRANDAt5434721) UnmarshalJSON(data []byte) error { } type GetConfigurationProductsUIOptionValue1 struct { - AtBRANDAt543472 UIOptionValueAtBRANDAt5434721 `json:"__@BRAND@543472"` + AtBRANDAt649501 UIOptionValueAtBRANDAt6495011 `json:"__@BRAND@649501"` } func (g GetConfigurationProductsUIOptionValue1) MarshalJSON() ([]byte, error) { @@ -3748,17 +3748,17 @@ func (g GetConfigurationProductsUIOptionValue1) MarshalJSON() ([]byte, error) { } func (g *GetConfigurationProductsUIOptionValue1) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &g, "", false, []string{"__@BRAND@543472"}); err != nil { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"__@BRAND@649501"}); err != nil { return err } return nil } -func (o *GetConfigurationProductsUIOptionValue1) GetAtBRANDAt543472() UIOptionValueAtBRANDAt5434721 { +func (o *GetConfigurationProductsUIOptionValue1) GetAtBRANDAt649501() UIOptionValueAtBRANDAt6495011 { if o == nil { - return UIOptionValueAtBRANDAt5434721{} + return UIOptionValueAtBRANDAt6495011{} } - return o.AtBRANDAt543472 + return o.AtBRANDAt649501 } type GetConfigurationProductsUIOptionDisabledEnum2 string @@ -4065,14 +4065,14 @@ func (o *GetConfigurationProductsUIOption5) GetHidden() *GetConfigurationProduct return o.Hidden } -type UIOptionAtBRANDAt5434721 struct { +type UIOptionAtBRANDAt6495011 struct { } -func (u UIOptionAtBRANDAt5434721) MarshalJSON() ([]byte, error) { +func (u UIOptionAtBRANDAt6495011) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(u, "", false) } -func (u *UIOptionAtBRANDAt5434721) UnmarshalJSON(data []byte) error { +func (u *UIOptionAtBRANDAt6495011) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &u, "", false, nil); err != nil { return err } @@ -4080,7 +4080,7 @@ func (u *UIOptionAtBRANDAt5434721) UnmarshalJSON(data []byte) error { } type GetConfigurationProductsUIOption4 struct { - AtBRANDAt543472 UIOptionAtBRANDAt5434721 `json:"__@BRAND@543472"` + AtBRANDAt649501 UIOptionAtBRANDAt6495011 `json:"__@BRAND@649501"` } func (g GetConfigurationProductsUIOption4) MarshalJSON() ([]byte, error) { @@ -4088,17 +4088,17 @@ func (g GetConfigurationProductsUIOption4) MarshalJSON() ([]byte, error) { } func (g *GetConfigurationProductsUIOption4) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &g, "", false, []string{"__@BRAND@543472"}); err != nil { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"__@BRAND@649501"}); err != nil { return err } return nil } -func (o *GetConfigurationProductsUIOption4) GetAtBRANDAt543472() UIOptionAtBRANDAt5434721 { +func (o *GetConfigurationProductsUIOption4) GetAtBRANDAt649501() UIOptionAtBRANDAt6495011 { if o == nil { - return UIOptionAtBRANDAt5434721{} + return UIOptionAtBRANDAt6495011{} } - return o.AtBRANDAt543472 + return o.AtBRANDAt649501 } type GetConfigurationProductsUIOptionDisabledEnum1 string @@ -4498,14 +4498,14 @@ func (u GetConfigurationProductsUIOptionUnion1) MarshalJSON() ([]byte, error) { return nil, errors.New("could not marshal union type GetConfigurationProductsUIOptionUnion1: all fields are null") } -type MinLengthAtBRANDAt5434723 struct { +type MinLengthAtBRANDAt6495013 struct { } -func (m MinLengthAtBRANDAt5434723) MarshalJSON() ([]byte, error) { +func (m MinLengthAtBRANDAt6495013) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(m, "", false) } -func (m *MinLengthAtBRANDAt5434723) UnmarshalJSON(data []byte) error { +func (m *MinLengthAtBRANDAt6495013) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &m, "", false, nil); err != nil { return err } @@ -4513,7 +4513,7 @@ func (m *MinLengthAtBRANDAt5434723) UnmarshalJSON(data []byte) error { } type GetConfigurationProductsMinLength3 struct { - AtBRANDAt543472 MinLengthAtBRANDAt5434723 `json:"__@BRAND@543472"` + AtBRANDAt649501 MinLengthAtBRANDAt6495013 `json:"__@BRAND@649501"` } func (g GetConfigurationProductsMinLength3) MarshalJSON() ([]byte, error) { @@ -4521,27 +4521,27 @@ func (g GetConfigurationProductsMinLength3) MarshalJSON() ([]byte, error) { } func (g *GetConfigurationProductsMinLength3) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &g, "", false, []string{"__@BRAND@543472"}); err != nil { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"__@BRAND@649501"}); err != nil { return err } return nil } -func (o *GetConfigurationProductsMinLength3) GetAtBRANDAt543472() MinLengthAtBRANDAt5434723 { +func (o *GetConfigurationProductsMinLength3) GetAtBRANDAt649501() MinLengthAtBRANDAt6495013 { if o == nil { - return MinLengthAtBRANDAt5434723{} + return MinLengthAtBRANDAt6495013{} } - return o.AtBRANDAt543472 + return o.AtBRANDAt649501 } -type MaxLengthAtBRANDAt5434723 struct { +type MaxLengthAtBRANDAt6495013 struct { } -func (m MaxLengthAtBRANDAt5434723) MarshalJSON() ([]byte, error) { +func (m MaxLengthAtBRANDAt6495013) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(m, "", false) } -func (m *MaxLengthAtBRANDAt5434723) UnmarshalJSON(data []byte) error { +func (m *MaxLengthAtBRANDAt6495013) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &m, "", false, nil); err != nil { return err } @@ -4549,7 +4549,7 @@ func (m *MaxLengthAtBRANDAt5434723) UnmarshalJSON(data []byte) error { } type GetConfigurationProductsMaxLength3 struct { - AtBRANDAt543472 MaxLengthAtBRANDAt5434723 `json:"__@BRAND@543472"` + AtBRANDAt649501 MaxLengthAtBRANDAt6495013 `json:"__@BRAND@649501"` } func (g GetConfigurationProductsMaxLength3) MarshalJSON() ([]byte, error) { @@ -4557,27 +4557,27 @@ func (g GetConfigurationProductsMaxLength3) MarshalJSON() ([]byte, error) { } func (g *GetConfigurationProductsMaxLength3) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &g, "", false, []string{"__@BRAND@543472"}); err != nil { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"__@BRAND@649501"}); err != nil { return err } return nil } -func (o *GetConfigurationProductsMaxLength3) GetAtBRANDAt543472() MaxLengthAtBRANDAt5434723 { +func (o *GetConfigurationProductsMaxLength3) GetAtBRANDAt649501() MaxLengthAtBRANDAt6495013 { if o == nil { - return MaxLengthAtBRANDAt5434723{} + return MaxLengthAtBRANDAt6495013{} } - return o.AtBRANDAt543472 + return o.AtBRANDAt649501 } -type PatternAtBRANDAt5434723 struct { +type PatternAtBRANDAt6495013 struct { } -func (p PatternAtBRANDAt5434723) MarshalJSON() ([]byte, error) { +func (p PatternAtBRANDAt6495013) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *PatternAtBRANDAt5434723) UnmarshalJSON(data []byte) error { +func (p *PatternAtBRANDAt6495013) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, nil); err != nil { return err } @@ -4585,7 +4585,7 @@ func (p *PatternAtBRANDAt5434723) UnmarshalJSON(data []byte) error { } type GetConfigurationProductsPattern3 struct { - AtBRANDAt543472 PatternAtBRANDAt5434723 `json:"__@BRAND@543472"` + AtBRANDAt649501 PatternAtBRANDAt6495013 `json:"__@BRAND@649501"` } func (g GetConfigurationProductsPattern3) MarshalJSON() ([]byte, error) { @@ -4593,17 +4593,17 @@ func (g GetConfigurationProductsPattern3) MarshalJSON() ([]byte, error) { } func (g *GetConfigurationProductsPattern3) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &g, "", false, []string{"__@BRAND@543472"}); err != nil { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"__@BRAND@649501"}); err != nil { return err } return nil } -func (o *GetConfigurationProductsPattern3) GetAtBRANDAt543472() PatternAtBRANDAt5434723 { +func (o *GetConfigurationProductsPattern3) GetAtBRANDAt649501() PatternAtBRANDAt6495013 { if o == nil { - return PatternAtBRANDAt5434723{} + return PatternAtBRANDAt6495013{} } - return o.AtBRANDAt543472 + return o.AtBRANDAt649501 } type GetConfigurationProductsUIReadOnlyEnum7 string @@ -5323,14 +5323,14 @@ func (e *GetConfigurationProductsTypeString3) UnmarshalJSON(data []byte) error { } } -type MinLengthAtBRANDAt543472String1 struct { +type MinLengthAtBRANDAt649501String1 struct { } -func (m MinLengthAtBRANDAt543472String1) MarshalJSON() ([]byte, error) { +func (m MinLengthAtBRANDAt649501String1) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(m, "", false) } -func (m *MinLengthAtBRANDAt543472String1) UnmarshalJSON(data []byte) error { +func (m *MinLengthAtBRANDAt649501String1) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &m, "", false, nil); err != nil { return err } @@ -5338,7 +5338,7 @@ func (m *MinLengthAtBRANDAt543472String1) UnmarshalJSON(data []byte) error { } type GetConfigurationProductsMinLengthString1 struct { - AtBRANDAt543472 MinLengthAtBRANDAt543472String1 `json:"__@BRAND@543472"` + AtBRANDAt649501 MinLengthAtBRANDAt649501String1 `json:"__@BRAND@649501"` } func (g GetConfigurationProductsMinLengthString1) MarshalJSON() ([]byte, error) { @@ -5346,27 +5346,27 @@ func (g GetConfigurationProductsMinLengthString1) MarshalJSON() ([]byte, error) } func (g *GetConfigurationProductsMinLengthString1) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &g, "", false, []string{"__@BRAND@543472"}); err != nil { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"__@BRAND@649501"}); err != nil { return err } return nil } -func (o *GetConfigurationProductsMinLengthString1) GetAtBRANDAt543472() MinLengthAtBRANDAt543472String1 { +func (o *GetConfigurationProductsMinLengthString1) GetAtBRANDAt649501() MinLengthAtBRANDAt649501String1 { if o == nil { - return MinLengthAtBRANDAt543472String1{} + return MinLengthAtBRANDAt649501String1{} } - return o.AtBRANDAt543472 + return o.AtBRANDAt649501 } -type MaxLengthAtBRANDAt543472String1 struct { +type MaxLengthAtBRANDAt649501String1 struct { } -func (m MaxLengthAtBRANDAt543472String1) MarshalJSON() ([]byte, error) { +func (m MaxLengthAtBRANDAt649501String1) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(m, "", false) } -func (m *MaxLengthAtBRANDAt543472String1) UnmarshalJSON(data []byte) error { +func (m *MaxLengthAtBRANDAt649501String1) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &m, "", false, nil); err != nil { return err } @@ -5374,7 +5374,7 @@ func (m *MaxLengthAtBRANDAt543472String1) UnmarshalJSON(data []byte) error { } type GetConfigurationProductsMaxLengthString1 struct { - AtBRANDAt543472 MaxLengthAtBRANDAt543472String1 `json:"__@BRAND@543472"` + AtBRANDAt649501 MaxLengthAtBRANDAt649501String1 `json:"__@BRAND@649501"` } func (g GetConfigurationProductsMaxLengthString1) MarshalJSON() ([]byte, error) { @@ -5382,27 +5382,27 @@ func (g GetConfigurationProductsMaxLengthString1) MarshalJSON() ([]byte, error) } func (g *GetConfigurationProductsMaxLengthString1) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &g, "", false, []string{"__@BRAND@543472"}); err != nil { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"__@BRAND@649501"}); err != nil { return err } return nil } -func (o *GetConfigurationProductsMaxLengthString1) GetAtBRANDAt543472() MaxLengthAtBRANDAt543472String1 { +func (o *GetConfigurationProductsMaxLengthString1) GetAtBRANDAt649501() MaxLengthAtBRANDAt649501String1 { if o == nil { - return MaxLengthAtBRANDAt543472String1{} + return MaxLengthAtBRANDAt649501String1{} } - return o.AtBRANDAt543472 + return o.AtBRANDAt649501 } -type PatternAtBRANDAt543472String1 struct { +type PatternAtBRANDAt649501String1 struct { } -func (p PatternAtBRANDAt543472String1) MarshalJSON() ([]byte, error) { +func (p PatternAtBRANDAt649501String1) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *PatternAtBRANDAt543472String1) UnmarshalJSON(data []byte) error { +func (p *PatternAtBRANDAt649501String1) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, nil); err != nil { return err } @@ -5410,7 +5410,7 @@ func (p *PatternAtBRANDAt543472String1) UnmarshalJSON(data []byte) error { } type GetConfigurationProductsPatternString1 struct { - AtBRANDAt543472 PatternAtBRANDAt543472String1 `json:"__@BRAND@543472"` + AtBRANDAt649501 PatternAtBRANDAt649501String1 `json:"__@BRAND@649501"` } func (g GetConfigurationProductsPatternString1) MarshalJSON() ([]byte, error) { @@ -5418,17 +5418,17 @@ func (g GetConfigurationProductsPatternString1) MarshalJSON() ([]byte, error) { } func (g *GetConfigurationProductsPatternString1) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &g, "", false, []string{"__@BRAND@543472"}); err != nil { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"__@BRAND@649501"}); err != nil { return err } return nil } -func (o *GetConfigurationProductsPatternString1) GetAtBRANDAt543472() PatternAtBRANDAt543472String1 { +func (o *GetConfigurationProductsPatternString1) GetAtBRANDAt649501() PatternAtBRANDAt649501String1 { if o == nil { - return PatternAtBRANDAt543472String1{} + return PatternAtBRANDAt649501String1{} } - return o.AtBRANDAt543472 + return o.AtBRANDAt649501 } type GetConfigurationProductsItemsString1 struct { @@ -6819,14 +6819,14 @@ func (o *GetConfigurationProductsUIOption1) GetHidden() *GetConfigurationProduct return o.Hidden } -type MinLengthAtBRANDAt5434722 struct { +type MinLengthAtBRANDAt6495012 struct { } -func (m MinLengthAtBRANDAt5434722) MarshalJSON() ([]byte, error) { +func (m MinLengthAtBRANDAt6495012) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(m, "", false) } -func (m *MinLengthAtBRANDAt5434722) UnmarshalJSON(data []byte) error { +func (m *MinLengthAtBRANDAt6495012) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &m, "", false, nil); err != nil { return err } @@ -6834,7 +6834,7 @@ func (m *MinLengthAtBRANDAt5434722) UnmarshalJSON(data []byte) error { } type GetConfigurationProductsMinLength2 struct { - AtBRANDAt543472 MinLengthAtBRANDAt5434722 `json:"__@BRAND@543472"` + AtBRANDAt649501 MinLengthAtBRANDAt6495012 `json:"__@BRAND@649501"` } func (g GetConfigurationProductsMinLength2) MarshalJSON() ([]byte, error) { @@ -6842,27 +6842,27 @@ func (g GetConfigurationProductsMinLength2) MarshalJSON() ([]byte, error) { } func (g *GetConfigurationProductsMinLength2) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &g, "", false, []string{"__@BRAND@543472"}); err != nil { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"__@BRAND@649501"}); err != nil { return err } return nil } -func (o *GetConfigurationProductsMinLength2) GetAtBRANDAt543472() MinLengthAtBRANDAt5434722 { +func (o *GetConfigurationProductsMinLength2) GetAtBRANDAt649501() MinLengthAtBRANDAt6495012 { if o == nil { - return MinLengthAtBRANDAt5434722{} + return MinLengthAtBRANDAt6495012{} } - return o.AtBRANDAt543472 + return o.AtBRANDAt649501 } -type MaxLengthAtBRANDAt5434722 struct { +type MaxLengthAtBRANDAt6495012 struct { } -func (m MaxLengthAtBRANDAt5434722) MarshalJSON() ([]byte, error) { +func (m MaxLengthAtBRANDAt6495012) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(m, "", false) } -func (m *MaxLengthAtBRANDAt5434722) UnmarshalJSON(data []byte) error { +func (m *MaxLengthAtBRANDAt6495012) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &m, "", false, nil); err != nil { return err } @@ -6870,7 +6870,7 @@ func (m *MaxLengthAtBRANDAt5434722) UnmarshalJSON(data []byte) error { } type GetConfigurationProductsMaxLength2 struct { - AtBRANDAt543472 MaxLengthAtBRANDAt5434722 `json:"__@BRAND@543472"` + AtBRANDAt649501 MaxLengthAtBRANDAt6495012 `json:"__@BRAND@649501"` } func (g GetConfigurationProductsMaxLength2) MarshalJSON() ([]byte, error) { @@ -6878,27 +6878,27 @@ func (g GetConfigurationProductsMaxLength2) MarshalJSON() ([]byte, error) { } func (g *GetConfigurationProductsMaxLength2) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &g, "", false, []string{"__@BRAND@543472"}); err != nil { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"__@BRAND@649501"}); err != nil { return err } return nil } -func (o *GetConfigurationProductsMaxLength2) GetAtBRANDAt543472() MaxLengthAtBRANDAt5434722 { +func (o *GetConfigurationProductsMaxLength2) GetAtBRANDAt649501() MaxLengthAtBRANDAt6495012 { if o == nil { - return MaxLengthAtBRANDAt5434722{} + return MaxLengthAtBRANDAt6495012{} } - return o.AtBRANDAt543472 + return o.AtBRANDAt649501 } -type PatternAtBRANDAt5434722 struct { +type PatternAtBRANDAt6495012 struct { } -func (p PatternAtBRANDAt5434722) MarshalJSON() ([]byte, error) { +func (p PatternAtBRANDAt6495012) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *PatternAtBRANDAt5434722) UnmarshalJSON(data []byte) error { +func (p *PatternAtBRANDAt6495012) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, nil); err != nil { return err } @@ -6906,7 +6906,7 @@ func (p *PatternAtBRANDAt5434722) UnmarshalJSON(data []byte) error { } type GetConfigurationProductsPattern2 struct { - AtBRANDAt543472 PatternAtBRANDAt5434722 `json:"__@BRAND@543472"` + AtBRANDAt649501 PatternAtBRANDAt6495012 `json:"__@BRAND@649501"` } func (g GetConfigurationProductsPattern2) MarshalJSON() ([]byte, error) { @@ -6914,17 +6914,17 @@ func (g GetConfigurationProductsPattern2) MarshalJSON() ([]byte, error) { } func (g *GetConfigurationProductsPattern2) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &g, "", false, []string{"__@BRAND@543472"}); err != nil { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"__@BRAND@649501"}); err != nil { return err } return nil } -func (o *GetConfigurationProductsPattern2) GetAtBRANDAt543472() PatternAtBRANDAt5434722 { +func (o *GetConfigurationProductsPattern2) GetAtBRANDAt649501() PatternAtBRANDAt6495012 { if o == nil { - return PatternAtBRANDAt5434722{} + return PatternAtBRANDAt6495012{} } - return o.AtBRANDAt543472 + return o.AtBRANDAt649501 } type GetConfigurationProductsUIReadOnlyEnum5 string @@ -9724,14 +9724,14 @@ func (e *GetConfigurationProductsUIControlInput1) UnmarshalJSON(data []byte) err } } -type MinLengthAtBRANDAt5434721 struct { +type MinLengthAtBRANDAt6495011 struct { } -func (m MinLengthAtBRANDAt5434721) MarshalJSON() ([]byte, error) { +func (m MinLengthAtBRANDAt6495011) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(m, "", false) } -func (m *MinLengthAtBRANDAt5434721) UnmarshalJSON(data []byte) error { +func (m *MinLengthAtBRANDAt6495011) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &m, "", false, nil); err != nil { return err } @@ -9739,7 +9739,7 @@ func (m *MinLengthAtBRANDAt5434721) UnmarshalJSON(data []byte) error { } type GetConfigurationProductsMinLength1 struct { - AtBRANDAt543472 MinLengthAtBRANDAt5434721 `json:"__@BRAND@543472"` + AtBRANDAt649501 MinLengthAtBRANDAt6495011 `json:"__@BRAND@649501"` } func (g GetConfigurationProductsMinLength1) MarshalJSON() ([]byte, error) { @@ -9747,27 +9747,27 @@ func (g GetConfigurationProductsMinLength1) MarshalJSON() ([]byte, error) { } func (g *GetConfigurationProductsMinLength1) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &g, "", false, []string{"__@BRAND@543472"}); err != nil { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"__@BRAND@649501"}); err != nil { return err } return nil } -func (o *GetConfigurationProductsMinLength1) GetAtBRANDAt543472() MinLengthAtBRANDAt5434721 { +func (o *GetConfigurationProductsMinLength1) GetAtBRANDAt649501() MinLengthAtBRANDAt6495011 { if o == nil { - return MinLengthAtBRANDAt5434721{} + return MinLengthAtBRANDAt6495011{} } - return o.AtBRANDAt543472 + return o.AtBRANDAt649501 } -type MaxLengthAtBRANDAt5434721 struct { +type MaxLengthAtBRANDAt6495011 struct { } -func (m MaxLengthAtBRANDAt5434721) MarshalJSON() ([]byte, error) { +func (m MaxLengthAtBRANDAt6495011) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(m, "", false) } -func (m *MaxLengthAtBRANDAt5434721) UnmarshalJSON(data []byte) error { +func (m *MaxLengthAtBRANDAt6495011) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &m, "", false, nil); err != nil { return err } @@ -9775,7 +9775,7 @@ func (m *MaxLengthAtBRANDAt5434721) UnmarshalJSON(data []byte) error { } type GetConfigurationProductsMaxLength1 struct { - AtBRANDAt543472 MaxLengthAtBRANDAt5434721 `json:"__@BRAND@543472"` + AtBRANDAt649501 MaxLengthAtBRANDAt6495011 `json:"__@BRAND@649501"` } func (g GetConfigurationProductsMaxLength1) MarshalJSON() ([]byte, error) { @@ -9783,27 +9783,27 @@ func (g GetConfigurationProductsMaxLength1) MarshalJSON() ([]byte, error) { } func (g *GetConfigurationProductsMaxLength1) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &g, "", false, []string{"__@BRAND@543472"}); err != nil { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"__@BRAND@649501"}); err != nil { return err } return nil } -func (o *GetConfigurationProductsMaxLength1) GetAtBRANDAt543472() MaxLengthAtBRANDAt5434721 { +func (o *GetConfigurationProductsMaxLength1) GetAtBRANDAt649501() MaxLengthAtBRANDAt6495011 { if o == nil { - return MaxLengthAtBRANDAt5434721{} + return MaxLengthAtBRANDAt6495011{} } - return o.AtBRANDAt543472 + return o.AtBRANDAt649501 } -type PatternAtBRANDAt5434721 struct { +type PatternAtBRANDAt6495011 struct { } -func (p PatternAtBRANDAt5434721) MarshalJSON() ([]byte, error) { +func (p PatternAtBRANDAt6495011) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(p, "", false) } -func (p *PatternAtBRANDAt5434721) UnmarshalJSON(data []byte) error { +func (p *PatternAtBRANDAt6495011) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &p, "", false, nil); err != nil { return err } @@ -9811,7 +9811,7 @@ func (p *PatternAtBRANDAt5434721) UnmarshalJSON(data []byte) error { } type GetConfigurationProductsPattern1 struct { - AtBRANDAt543472 PatternAtBRANDAt5434721 `json:"__@BRAND@543472"` + AtBRANDAt649501 PatternAtBRANDAt6495011 `json:"__@BRAND@649501"` } func (g GetConfigurationProductsPattern1) MarshalJSON() ([]byte, error) { @@ -9819,17 +9819,17 @@ func (g GetConfigurationProductsPattern1) MarshalJSON() ([]byte, error) { } func (g *GetConfigurationProductsPattern1) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &g, "", false, []string{"__@BRAND@543472"}); err != nil { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"__@BRAND@649501"}); err != nil { return err } return nil } -func (o *GetConfigurationProductsPattern1) GetAtBRANDAt543472() PatternAtBRANDAt5434721 { +func (o *GetConfigurationProductsPattern1) GetAtBRANDAt649501() PatternAtBRANDAt6495011 { if o == nil { - return PatternAtBRANDAt5434721{} + return PatternAtBRANDAt6495011{} } - return o.AtBRANDAt543472 + return o.AtBRANDAt649501 } type GetConfigurationProductsUIReadOnlyEnum1 string diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/getconfigurations.go b/src/__tests__/mockserver/internal/sdk/models/operations/getconfigurations.go index a08d64d22..6ab95e958 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/getconfigurations.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/getconfigurations.go @@ -111,11 +111,15 @@ func (o *GetConfigurationsRequest) GetSlug() *string { type TagID string const ( + TagIDTagAgents TagID = "tag_agents" TagIDTagAi TagID = "tag_ai" TagIDTagAnalytics TagID = "tag_analytics" TagIDTagAuthentication TagID = "tag_authentication" TagIDTagCms TagID = "tag_cms" TagIDTagCodeRepository TagID = "tag_code_repository" + TagIDTagCodeReview TagID = "tag_code_review" + TagIDTagCodeSecurity TagID = "tag_code_security" + TagIDTagCodeTesting TagID = "tag_code_testing" TagIDTagCommerce TagID = "tag_commerce" TagIDTagDatabases TagID = "tag_databases" TagIDTagDevTools TagID = "tag_dev_tools" @@ -130,8 +134,10 @@ const ( TagIDTagProductivity TagID = "tag_productivity" TagIDTagSearching TagID = "tag_searching" TagIDTagSecurity TagID = "tag_security" + TagIDTagSupportAgent TagID = "tag_support_agent" TagIDTagTesting TagID = "tag_testing" TagIDTagVideo TagID = "tag_video" + TagIDTagWebAutomation TagID = "tag_web_automation" TagIDTagWorkflow TagID = "tag_workflow" ) @@ -144,6 +150,8 @@ func (e *TagID) UnmarshalJSON(data []byte) error { return err } switch v { + case "tag_agents": + fallthrough case "tag_ai": fallthrough case "tag_analytics": @@ -154,6 +162,12 @@ func (e *TagID) UnmarshalJSON(data []byte) error { fallthrough case "tag_code_repository": fallthrough + case "tag_code_review": + fallthrough + case "tag_code_security": + fallthrough + case "tag_code_testing": + fallthrough case "tag_commerce": fallthrough case "tag_databases": @@ -182,10 +196,14 @@ func (e *TagID) UnmarshalJSON(data []byte) error { fallthrough case "tag_security": fallthrough + case "tag_support_agent": + fallthrough case "tag_testing": fallthrough case "tag_video": fallthrough + case "tag_web_automation": + fallthrough case "tag_workflow": *e = TagID(v) return nil diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/getcontactinfoschema.go b/src/__tests__/mockserver/internal/sdk/models/operations/getcontactinfoschema.go new file mode 100644 index 000000000..8253978e8 --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/operations/getcontactinfoschema.go @@ -0,0 +1,50 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package operations + +import ( + "mockserver/internal/sdk/models/components" +) + +type GetContactInfoSchemaRequest struct { + Domain string `pathParam:"style=simple,explode=false,name=domain"` + TeamID *string `queryParam:"style=form,explode=true,name=teamId"` +} + +func (o *GetContactInfoSchemaRequest) GetDomain() string { + if o == nil { + return "" + } + return o.Domain +} + +func (o *GetContactInfoSchemaRequest) GetTeamID() *string { + if o == nil { + return nil + } + return o.TeamID +} + +// GetContactInfoSchemaResponseBody - Success +type GetContactInfoSchemaResponseBody struct { +} + +type GetContactInfoSchemaResponse struct { + HTTPMeta components.HTTPMetadata `json:"-"` + // Success + Object *GetContactInfoSchemaResponseBody +} + +func (o *GetContactInfoSchemaResponse) GetHTTPMeta() components.HTTPMetadata { + if o == nil { + return components.HTTPMetadata{} + } + return o.HTTPMeta +} + +func (o *GetContactInfoSchemaResponse) GetObject() *GetContactInfoSchemaResponseBody { + if o == nil { + return nil + } + return o.Object +} diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/getdeployment.go b/src/__tests__/mockserver/internal/sdk/models/operations/getdeployment.go index dfbdff662..df4667ec5 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/getdeployment.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/getdeployment.go @@ -49,10 +49,14 @@ func (o *GetDeploymentRequest) GetSlug() *string { return o.Slug } +// GetDeploymentCreator2 - Information about the deployment creator type GetDeploymentCreator2 struct { - UID string `json:"uid"` + // The ID of the user that created the deployment + UID string `json:"uid"` + // The username of the user that created the deployment Username *string `json:"username,omitempty"` - Avatar *string `json:"avatar,omitempty"` + // The avatar of the user that created the deployment + Avatar *string `json:"avatar,omitempty"` } func (g GetDeploymentCreator2) MarshalJSON() ([]byte, error) { @@ -250,6 +254,7 @@ func (e *GetDeploymentStatus2) UnmarshalJSON(data []byte) error { } } +// GetDeploymentTeam2 - The team that owns the deployment if any type GetDeploymentTeam2 struct { ID string `json:"id"` Name string `json:"name"` @@ -296,6 +301,7 @@ func (o *GetDeploymentTeam2) GetAvatar() *string { return o.Avatar } +// GetDeploymentCustomEnvironment4 - If the deployment was created using a Custom Environment, then this property contains information regarding the environment used. type GetDeploymentCustomEnvironment4 struct { ID string `json:"id"` } @@ -563,7 +569,7 @@ func (o *GetDeploymentDomain2) GetVerification() []GetDeploymentVerification2 { return o.Verification } -// GetDeploymentCustomEnvironment3 - Internal representation of a custom environment with all required properties +// GetDeploymentCustomEnvironment3 - If the deployment was created using a Custom Environment, then this property contains information regarding the environment used. type GetDeploymentCustomEnvironment3 struct { // Unique identifier for the custom environment (format: env_*) ID string `json:"id"` @@ -791,6 +797,7 @@ func (o *GetDeploymentAliasWarning2) GetAction() *string { return o.Action } +// GetDeploymentReadyState2 - The state of the deployment depending on the process of deploying, or if it is ready or in an error state type GetDeploymentReadyState2 string const ( @@ -852,6 +859,7 @@ func (e *GetDeploymentTypeLambdas2) UnmarshalJSON(data []byte) error { } } +// GetDeploymentAliasError2 - An object that will contain a `code` and a `message` when the aliasing fails, otherwise the value will be `null` type GetDeploymentAliasError2 struct { Code string `json:"code"` Message string `json:"message"` @@ -2792,6 +2800,7 @@ func (u GetDeploymentGitSourceUnion2) MarshalJSON() ([]byte, error) { type GetDeploymentNodeVersion2 string const ( + GetDeploymentNodeVersion2TwentyFourDotX GetDeploymentNodeVersion2 = "24.x" GetDeploymentNodeVersion2TwentyTwoDotX GetDeploymentNodeVersion2 = "22.x" GetDeploymentNodeVersion2TwentyDotX GetDeploymentNodeVersion2 = "20.x" GetDeploymentNodeVersion2EighteenDotX GetDeploymentNodeVersion2 = "18.x" @@ -2811,6 +2820,8 @@ func (e *GetDeploymentNodeVersion2) UnmarshalJSON(data []byte) error { return err } switch v { + case "24.x": + fallthrough case "22.x": fallthrough case "20.x": @@ -2833,6 +2844,7 @@ func (e *GetDeploymentNodeVersion2) UnmarshalJSON(data []byte) error { } } +// GetDeploymentProject2 - The public project information associated with the deployment. type GetDeploymentProject2 struct { ID string `json:"id"` Name string `json:"name"` @@ -2901,6 +2913,7 @@ func (e *GetDeploymentReadySubstate2) UnmarshalJSON(data []byte) error { } } +// GetDeploymentSource2 - Where was the deployment created from type GetDeploymentSource2 string const ( @@ -2945,6 +2958,7 @@ func (e *GetDeploymentSource2) UnmarshalJSON(data []byte) error { } } +// GetDeploymentTargetEnum2 - If defined, either `staging` if a staging alias in the format `..now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment. type GetDeploymentTargetEnum2 string const ( @@ -2981,6 +2995,7 @@ type GetDeploymentOidcTokenClaims2 struct { Project string `json:"project"` ProjectID string `json:"project_id"` Environment string `json:"environment"` + Plan string `json:"plan"` } func (g GetDeploymentOidcTokenClaims2) MarshalJSON() ([]byte, error) { @@ -2988,7 +3003,7 @@ func (g GetDeploymentOidcTokenClaims2) MarshalJSON() ([]byte, error) { } func (g *GetDeploymentOidcTokenClaims2) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &g, "", false, []string{"iss", "sub", "scope", "aud", "owner", "owner_id", "project", "project_id", "environment"}); err != nil { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"iss", "sub", "scope", "aud", "owner", "owner_id", "project", "project_id", "environment", "plan"}); err != nil { return err } return nil @@ -3057,43 +3072,63 @@ func (o *GetDeploymentOidcTokenClaims2) GetEnvironment() string { return o.Environment } +func (o *GetDeploymentOidcTokenClaims2) GetPlan() string { + if o == nil { + return "" + } + return o.Plan +} + // Lambdas2 - The deployment including only public information type Lambdas2 struct { - Alias []string `json:"alias,omitempty"` - AliasAssigned bool `json:"aliasAssigned"` - BootedAt float64 `json:"bootedAt"` - BuildingAt float64 `json:"buildingAt"` + // A list of all the aliases (default aliases, staging aliases and production aliases) that were assigned upon deployment creation + Alias []string `json:"alias,omitempty"` + // A boolean that will be true when the aliases from the alias property were assigned successfully + AliasAssigned bool `json:"aliasAssigned"` + BootedAt float64 `json:"bootedAt"` + BuildingAt float64 `json:"buildingAt"` // Since April 2025 it necessary for On-Demand Concurrency Minutes calculation - BuildContainerFinishedAt *float64 `json:"buildContainerFinishedAt,omitempty"` - BuildSkipped bool `json:"buildSkipped"` - Creator GetDeploymentCreator2 `json:"creator"` - InitReadyAt *float64 `json:"initReadyAt,omitempty"` - IsFirstBranchDeployment *bool `json:"isFirstBranchDeployment,omitempty"` - Lambdas []GetDeploymentLambda2 `json:"lambdas,omitempty"` - Public bool `json:"public"` - Ready *float64 `json:"ready,omitempty"` - Status GetDeploymentStatus2 `json:"status"` - Team *GetDeploymentTeam2 `json:"team,omitempty"` - UserAliases []string `json:"userAliases,omitempty"` - PreviewCommentsEnabled *bool `json:"previewCommentsEnabled,omitempty"` - TtyBuildLogs *bool `json:"ttyBuildLogs,omitempty"` - CustomEnvironment *GetDeploymentCustomEnvironmentUnion2 `json:"customEnvironment,omitempty"` - OomReport *GetDeploymentOomReport2 `json:"oomReport,omitempty"` - AliasWarning *GetDeploymentAliasWarning2 `json:"aliasWarning,omitempty"` - ID string `json:"id"` - CreatedAt float64 `json:"createdAt"` - ReadyState GetDeploymentReadyState2 `json:"readyState"` - Name string `json:"name"` - Type GetDeploymentTypeLambdas2 `json:"type"` - AliasError *GetDeploymentAliasError2 `json:"aliasError,omitempty"` - AliasFinal *string `json:"aliasFinal,omitempty"` + BuildContainerFinishedAt *float64 `json:"buildContainerFinishedAt,omitempty"` + BuildSkipped bool `json:"buildSkipped"` + // Information about the deployment creator + Creator GetDeploymentCreator2 `json:"creator"` + InitReadyAt *float64 `json:"initReadyAt,omitempty"` + IsFirstBranchDeployment *bool `json:"isFirstBranchDeployment,omitempty"` + Lambdas []GetDeploymentLambda2 `json:"lambdas,omitempty"` + // A boolean representing if the deployment is public or not. By default this is `false` + Public bool `json:"public"` + Ready *float64 `json:"ready,omitempty"` + Status GetDeploymentStatus2 `json:"status"` + // The team that owns the deployment if any + Team *GetDeploymentTeam2 `json:"team,omitempty"` + // An array of domains that were provided by the user when creating the Deployment. + UserAliases []string `json:"userAliases,omitempty"` + // Whether or not preview comments are enabled for the deployment + PreviewCommentsEnabled *bool `json:"previewCommentsEnabled,omitempty"` + TtyBuildLogs *bool `json:"ttyBuildLogs,omitempty"` + CustomEnvironment *GetDeploymentCustomEnvironmentUnion2 `json:"customEnvironment,omitempty"` + OomReport *GetDeploymentOomReport2 `json:"oomReport,omitempty"` + AliasWarning *GetDeploymentAliasWarning2 `json:"aliasWarning,omitempty"` + // A string holding the unique ID of the deployment + ID string `json:"id"` + // A number containing the date when the deployment was created in milliseconds + CreatedAt float64 `json:"createdAt"` + // The state of the deployment depending on the process of deploying, or if it is ready or in an error state + ReadyState GetDeploymentReadyState2 `json:"readyState"` + // The name of the project associated with the deployment at the time that the deployment was created + Name string `json:"name"` + Type GetDeploymentTypeLambdas2 `json:"type"` + // An object that will contain a `code` and a `message` when the aliasing fails, otherwise the value will be `null` + AliasError *GetDeploymentAliasError2 `json:"aliasError,omitempty"` + AliasFinal *string `json:"aliasFinal,omitempty"` // applies to custom domains only, defaults to `true` AutoAssignCustomDomains *bool `json:"autoAssignCustomDomains,omitempty"` AutomaticAliases []string `json:"automaticAliases,omitempty"` BuildErrorAt *float64 `json:"buildErrorAt,omitempty"` ChecksState *GetDeploymentChecksState2 `json:"checksState,omitempty"` ChecksConclusion *GetDeploymentChecksConclusion2 `json:"checksConclusion,omitempty"` - DeletedAt *float64 `json:"deletedAt,omitempty"` + // A number containing the date when the deployment was deleted at milliseconds + DeletedAt *float64 `json:"deletedAt,omitempty"` // Computed field that is only available for deployments with a microfrontend configuration. DefaultRoute *string `json:"defaultRoute,omitempty"` CanceledAt *float64 `json:"canceledAt,omitempty"` @@ -3108,17 +3143,25 @@ type Lambdas2 struct { OriginCacheRegion *string `json:"originCacheRegion,omitempty"` // If set it overrides the `projectSettings.nodeVersion` for this deployment. NodeVersion *GetDeploymentNodeVersion2 `json:"nodeVersion,omitempty"` - Project *GetDeploymentProject2 `json:"project,omitempty"` + // The public project information associated with the deployment. + Project *GetDeploymentProject2 `json:"project,omitempty"` // Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - ROLLING: in the process of having production traffic gradually transitioned. - PROMOTED: has seen production traffic - ReadySubstate *GetDeploymentReadySubstate2 `json:"readySubstate,omitempty"` - Regions []string `json:"regions"` - SoftDeletedByRetention *bool `json:"softDeletedByRetention,omitempty"` - Source *GetDeploymentSource2 `json:"source,omitempty"` - Target *GetDeploymentTargetEnum2 `json:"target,omitempty"` - UndeletedAt *float64 `json:"undeletedAt,omitempty"` - URL string `json:"url"` - Version float64 `json:"version"` - OidcTokenClaims *GetDeploymentOidcTokenClaims2 `json:"oidcTokenClaims,omitempty"` + ReadySubstate *GetDeploymentReadySubstate2 `json:"readySubstate,omitempty"` + // The regions the deployment exists in + Regions []string `json:"regions"` + // flag to indicate if the deployment was deleted by retention policy + SoftDeletedByRetention *bool `json:"softDeletedByRetention,omitempty"` + // Where was the deployment created from + Source *GetDeploymentSource2 `json:"source,omitempty"` + // If defined, either `staging` if a staging alias in the format `..now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment. + Target *GetDeploymentTargetEnum2 `json:"target,omitempty"` + // A number containing the date when the deployment was undeleted at milliseconds + UndeletedAt *float64 `json:"undeletedAt,omitempty"` + // A string with the unique URL of the deployment + URL string `json:"url"` + // The platform version that was used to create the deployment. + Version float64 `json:"version"` + OidcTokenClaims *GetDeploymentOidcTokenClaims2 `json:"oidcTokenClaims,omitempty"` } func (l Lambdas2) MarshalJSON() ([]byte, error) { @@ -3675,10 +3718,12 @@ const ( GetDeploymentFrameworkZola GetDeploymentFramework = "zola" GetDeploymentFrameworkHydrogen GetDeploymentFramework = "hydrogen" GetDeploymentFrameworkVite GetDeploymentFramework = "vite" + GetDeploymentFrameworkTanstackStart GetDeploymentFramework = "tanstack-start" GetDeploymentFrameworkVitepress GetDeploymentFramework = "vitepress" GetDeploymentFrameworkVuepress GetDeploymentFramework = "vuepress" GetDeploymentFrameworkParcel GetDeploymentFramework = "parcel" GetDeploymentFrameworkFastapi GetDeploymentFramework = "fastapi" + GetDeploymentFrameworkFlask GetDeploymentFramework = "flask" GetDeploymentFrameworkFasthtml GetDeploymentFramework = "fasthtml" GetDeploymentFrameworkSanityV3 GetDeploymentFramework = "sanity-v3" GetDeploymentFrameworkSanity GetDeploymentFramework = "sanity" @@ -3687,6 +3732,9 @@ const ( GetDeploymentFrameworkHono GetDeploymentFramework = "hono" GetDeploymentFrameworkExpress GetDeploymentFramework = "express" GetDeploymentFrameworkH3 GetDeploymentFramework = "h3" + GetDeploymentFrameworkNestjs GetDeploymentFramework = "nestjs" + GetDeploymentFrameworkElysia GetDeploymentFramework = "elysia" + GetDeploymentFrameworkFastify GetDeploymentFramework = "fastify" GetDeploymentFrameworkXmcp GetDeploymentFramework = "xmcp" ) @@ -3777,6 +3825,8 @@ func (e *GetDeploymentFramework) UnmarshalJSON(data []byte) error { fallthrough case "vite": fallthrough + case "tanstack-start": + fallthrough case "vitepress": fallthrough case "vuepress": @@ -3785,6 +3835,8 @@ func (e *GetDeploymentFramework) UnmarshalJSON(data []byte) error { fallthrough case "fastapi": fallthrough + case "flask": + fallthrough case "fasthtml": fallthrough case "sanity-v3": @@ -3801,6 +3853,12 @@ func (e *GetDeploymentFramework) UnmarshalJSON(data []byte) error { fallthrough case "h3": fallthrough + case "nestjs": + fallthrough + case "elysia": + fallthrough + case "fastify": + fallthrough case "xmcp": *e = GetDeploymentFramework(v) return nil @@ -4356,10 +4414,14 @@ func (o *GetDeploymentImages) GetContentDispositionType() *GetDeploymentContentD return o.ContentDispositionType } +// GetDeploymentCreator1 - Information about the deployment creator type GetDeploymentCreator1 struct { - UID string `json:"uid"` + // The ID of the user that created the deployment + UID string `json:"uid"` + // The username of the user that created the deployment Username *string `json:"username,omitempty"` - Avatar *string `json:"avatar,omitempty"` + // The avatar of the user that created the deployment + Avatar *string `json:"avatar,omitempty"` } func (g GetDeploymentCreator1) MarshalJSON() ([]byte, error) { @@ -4557,6 +4619,7 @@ func (e *GetDeploymentStatus1) UnmarshalJSON(data []byte) error { } } +// GetDeploymentTeam1 - The team that owns the deployment if any type GetDeploymentTeam1 struct { ID string `json:"id"` Name string `json:"name"` @@ -4603,6 +4666,7 @@ func (o *GetDeploymentTeam1) GetAvatar() *string { return o.Avatar } +// GetDeploymentCustomEnvironment2 - If the deployment was created using a Custom Environment, then this property contains information regarding the environment used. type GetDeploymentCustomEnvironment2 struct { ID string `json:"id"` } @@ -4870,7 +4934,7 @@ func (o *GetDeploymentDomain1) GetVerification() []GetDeploymentVerification1 { return o.Verification } -// GetDeploymentCustomEnvironment1 - Internal representation of a custom environment with all required properties +// GetDeploymentCustomEnvironment1 - If the deployment was created using a Custom Environment, then this property contains information regarding the environment used. type GetDeploymentCustomEnvironment1 struct { // Unique identifier for the custom environment (format: env_*) ID string `json:"id"` @@ -5098,6 +5162,7 @@ func (o *GetDeploymentAliasWarning1) GetAction() *string { return o.Action } +// GetDeploymentReadyState1 - The state of the deployment depending on the process of deploying, or if it is ready or in an error state type GetDeploymentReadyState1 string const ( @@ -5159,6 +5224,7 @@ func (e *GetDeploymentTypeLambdas1) UnmarshalJSON(data []byte) error { } } +// GetDeploymentAliasError1 - An object that will contain a `code` and a `message` when the aliasing fails, otherwise the value will be `null` type GetDeploymentAliasError1 struct { Code string `json:"code"` Message string `json:"message"` @@ -7099,6 +7165,7 @@ func (u GetDeploymentGitSourceUnion1) MarshalJSON() ([]byte, error) { type GetDeploymentNodeVersion1 string const ( + GetDeploymentNodeVersion1TwentyFourDotX GetDeploymentNodeVersion1 = "24.x" GetDeploymentNodeVersion1TwentyTwoDotX GetDeploymentNodeVersion1 = "22.x" GetDeploymentNodeVersion1TwentyDotX GetDeploymentNodeVersion1 = "20.x" GetDeploymentNodeVersion1EighteenDotX GetDeploymentNodeVersion1 = "18.x" @@ -7118,6 +7185,8 @@ func (e *GetDeploymentNodeVersion1) UnmarshalJSON(data []byte) error { return err } switch v { + case "24.x": + fallthrough case "22.x": fallthrough case "20.x": @@ -7140,6 +7209,7 @@ func (e *GetDeploymentNodeVersion1) UnmarshalJSON(data []byte) error { } } +// GetDeploymentProject1 - The public project information associated with the deployment. type GetDeploymentProject1 struct { ID string `json:"id"` Name string `json:"name"` @@ -7208,6 +7278,7 @@ func (e *GetDeploymentReadySubstate1) UnmarshalJSON(data []byte) error { } } +// GetDeploymentSource1 - Where was the deployment created from type GetDeploymentSource1 string const ( @@ -7252,6 +7323,7 @@ func (e *GetDeploymentSource1) UnmarshalJSON(data []byte) error { } } +// GetDeploymentTargetEnum1 - If defined, either `staging` if a staging alias in the format `..now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment. type GetDeploymentTargetEnum1 string const ( @@ -7288,6 +7360,7 @@ type GetDeploymentOidcTokenClaims1 struct { Project string `json:"project"` ProjectID string `json:"project_id"` Environment string `json:"environment"` + Plan string `json:"plan"` } func (g GetDeploymentOidcTokenClaims1) MarshalJSON() ([]byte, error) { @@ -7295,7 +7368,7 @@ func (g GetDeploymentOidcTokenClaims1) MarshalJSON() ([]byte, error) { } func (g *GetDeploymentOidcTokenClaims1) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &g, "", false, []string{"iss", "sub", "scope", "aud", "owner", "owner_id", "project", "project_id", "environment"}); err != nil { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"iss", "sub", "scope", "aud", "owner", "owner_id", "project", "project_id", "environment", "plan"}); err != nil { return err } return nil @@ -7364,6 +7437,13 @@ func (o *GetDeploymentOidcTokenClaims1) GetEnvironment() string { return o.Environment } +func (o *GetDeploymentOidcTokenClaims1) GetPlan() string { + if o == nil { + return "" + } + return o.Plan +} + type GetDeploymentPlan string const ( @@ -10519,10 +10599,6 @@ type GetDeploymentMicrofrontends2 struct { DefaultRoute *string `json:"defaultRoute,omitempty"` // 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 []string `json:"groupIds"` - // Whether the MicrofrontendsAlias2 team flag should be considered enabled for this deployment or not. - MicrofrontendsAlias2Enabled *bool `json:"microfrontendsAlias2Enabled,omitempty"` - // Temporary flag to safely test MFE alias routing in vercel-site production for specific production hosts (not vercel.com) - MicrofrontendsAliasRoutingVercelSiteProdTestHost *bool `json:"microfrontendsAliasRoutingVercelSiteProdTestHost,omitempty"` } func (g GetDeploymentMicrofrontends2) MarshalJSON() ([]byte, error) { @@ -10578,20 +10654,6 @@ func (o *GetDeploymentMicrofrontends2) GetGroupIds() []string { return o.GroupIds } -func (o *GetDeploymentMicrofrontends2) GetMicrofrontendsAlias2Enabled() *bool { - if o == nil { - return nil - } - return o.MicrofrontendsAlias2Enabled -} - -func (o *GetDeploymentMicrofrontends2) GetMicrofrontendsAliasRoutingVercelSiteProdTestHost() *bool { - if o == nil { - return nil - } - return o.MicrofrontendsAliasRoutingVercelSiteProdTestHost -} - type GetDeploymentMicrofrontends1 struct { IsDefaultApp *bool `json:"isDefaultApp,omitempty"` // The project name of the default app of this deployment's microfrontends group. @@ -10600,10 +10662,6 @@ type GetDeploymentMicrofrontends1 struct { DefaultRoute *string `json:"defaultRoute,omitempty"` // 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 []string `json:"groupIds"` - // Whether the MicrofrontendsAlias2 team flag should be considered enabled for this deployment or not. - MicrofrontendsAlias2Enabled *bool `json:"microfrontendsAlias2Enabled,omitempty"` - // Temporary flag to safely test MFE alias routing in vercel-site production for specific production hosts (not vercel.com) - MicrofrontendsAliasRoutingVercelSiteProdTestHost *bool `json:"microfrontendsAliasRoutingVercelSiteProdTestHost,omitempty"` } func (g GetDeploymentMicrofrontends1) MarshalJSON() ([]byte, error) { @@ -10645,20 +10703,6 @@ func (o *GetDeploymentMicrofrontends1) GetGroupIds() []string { return o.GroupIds } -func (o *GetDeploymentMicrofrontends1) GetMicrofrontendsAlias2Enabled() *bool { - if o == nil { - return nil - } - return o.MicrofrontendsAlias2Enabled -} - -func (o *GetDeploymentMicrofrontends1) GetMicrofrontendsAliasRoutingVercelSiteProdTestHost() *bool { - if o == nil { - return nil - } - return o.MicrofrontendsAliasRoutingVercelSiteProdTestHost -} - type GetDeploymentMicrofrontendsUnionType string const ( @@ -10954,41 +10998,54 @@ type Lambdas1 struct { ReadyStateReason *string `json:"readyStateReason,omitempty"` Integrations *GetDeploymentIntegrations `json:"integrations,omitempty"` Images *GetDeploymentImages `json:"images,omitempty"` - Alias []string `json:"alias,omitempty"` - AliasAssigned bool `json:"aliasAssigned"` - BootedAt float64 `json:"bootedAt"` - BuildingAt float64 `json:"buildingAt"` + // A list of all the aliases (default aliases, staging aliases and production aliases) that were assigned upon deployment creation + Alias []string `json:"alias,omitempty"` + // A boolean that will be true when the aliases from the alias property were assigned successfully + AliasAssigned bool `json:"aliasAssigned"` + BootedAt float64 `json:"bootedAt"` + BuildingAt float64 `json:"buildingAt"` // Since April 2025 it necessary for On-Demand Concurrency Minutes calculation - BuildContainerFinishedAt *float64 `json:"buildContainerFinishedAt,omitempty"` - BuildSkipped bool `json:"buildSkipped"` - Creator GetDeploymentCreator1 `json:"creator"` - InitReadyAt *float64 `json:"initReadyAt,omitempty"` - IsFirstBranchDeployment *bool `json:"isFirstBranchDeployment,omitempty"` - Lambdas []GetDeploymentLambda1 `json:"lambdas,omitempty"` - Public bool `json:"public"` - Ready *float64 `json:"ready,omitempty"` - Status GetDeploymentStatus1 `json:"status"` - Team *GetDeploymentTeam1 `json:"team,omitempty"` - UserAliases []string `json:"userAliases,omitempty"` - PreviewCommentsEnabled *bool `json:"previewCommentsEnabled,omitempty"` - TtyBuildLogs *bool `json:"ttyBuildLogs,omitempty"` - CustomEnvironment *GetDeploymentCustomEnvironmentUnion1 `json:"customEnvironment,omitempty"` - OomReport *GetDeploymentOomReport1 `json:"oomReport,omitempty"` - AliasWarning *GetDeploymentAliasWarning1 `json:"aliasWarning,omitempty"` - ID string `json:"id"` - CreatedAt float64 `json:"createdAt"` - ReadyState GetDeploymentReadyState1 `json:"readyState"` - Name string `json:"name"` - Type GetDeploymentTypeLambdas1 `json:"type"` - AliasError *GetDeploymentAliasError1 `json:"aliasError,omitempty"` - AliasFinal *string `json:"aliasFinal,omitempty"` + BuildContainerFinishedAt *float64 `json:"buildContainerFinishedAt,omitempty"` + BuildSkipped bool `json:"buildSkipped"` + // Information about the deployment creator + Creator GetDeploymentCreator1 `json:"creator"` + InitReadyAt *float64 `json:"initReadyAt,omitempty"` + IsFirstBranchDeployment *bool `json:"isFirstBranchDeployment,omitempty"` + Lambdas []GetDeploymentLambda1 `json:"lambdas,omitempty"` + // A boolean representing if the deployment is public or not. By default this is `false` + Public bool `json:"public"` + Ready *float64 `json:"ready,omitempty"` + Status GetDeploymentStatus1 `json:"status"` + // The team that owns the deployment if any + Team *GetDeploymentTeam1 `json:"team,omitempty"` + // An array of domains that were provided by the user when creating the Deployment. + UserAliases []string `json:"userAliases,omitempty"` + // Whether or not preview comments are enabled for the deployment + PreviewCommentsEnabled *bool `json:"previewCommentsEnabled,omitempty"` + TtyBuildLogs *bool `json:"ttyBuildLogs,omitempty"` + CustomEnvironment *GetDeploymentCustomEnvironmentUnion1 `json:"customEnvironment,omitempty"` + OomReport *GetDeploymentOomReport1 `json:"oomReport,omitempty"` + AliasWarning *GetDeploymentAliasWarning1 `json:"aliasWarning,omitempty"` + // A string holding the unique ID of the deployment + ID string `json:"id"` + // A number containing the date when the deployment was created in milliseconds + CreatedAt float64 `json:"createdAt"` + // The state of the deployment depending on the process of deploying, or if it is ready or in an error state + ReadyState GetDeploymentReadyState1 `json:"readyState"` + // The name of the project associated with the deployment at the time that the deployment was created + Name string `json:"name"` + Type GetDeploymentTypeLambdas1 `json:"type"` + // An object that will contain a `code` and a `message` when the aliasing fails, otherwise the value will be `null` + AliasError *GetDeploymentAliasError1 `json:"aliasError,omitempty"` + AliasFinal *string `json:"aliasFinal,omitempty"` // applies to custom domains only, defaults to `true` AutoAssignCustomDomains *bool `json:"autoAssignCustomDomains,omitempty"` AutomaticAliases []string `json:"automaticAliases,omitempty"` BuildErrorAt *float64 `json:"buildErrorAt,omitempty"` ChecksState *GetDeploymentChecksState1 `json:"checksState,omitempty"` ChecksConclusion *GetDeploymentChecksConclusion1 `json:"checksConclusion,omitempty"` - DeletedAt *float64 `json:"deletedAt,omitempty"` + // A number containing the date when the deployment was deleted at milliseconds + DeletedAt *float64 `json:"deletedAt,omitempty"` // Computed field that is only available for deployments with a microfrontend configuration. DefaultRoute *string `json:"defaultRoute,omitempty"` CanceledAt *float64 `json:"canceledAt,omitempty"` @@ -11003,15 +11060,23 @@ type Lambdas1 struct { OriginCacheRegion *string `json:"originCacheRegion,omitempty"` // If set it overrides the `projectSettings.nodeVersion` for this deployment. NodeVersion *GetDeploymentNodeVersion1 `json:"nodeVersion,omitempty"` - Project *GetDeploymentProject1 `json:"project,omitempty"` + // The public project information associated with the deployment. + Project *GetDeploymentProject1 `json:"project,omitempty"` // Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - ROLLING: in the process of having production traffic gradually transitioned. - PROMOTED: has seen production traffic - ReadySubstate *GetDeploymentReadySubstate1 `json:"readySubstate,omitempty"` - Regions []string `json:"regions"` - SoftDeletedByRetention *bool `json:"softDeletedByRetention,omitempty"` - Source *GetDeploymentSource1 `json:"source,omitempty"` - Target *GetDeploymentTargetEnum1 `json:"target,omitempty"` - UndeletedAt *float64 `json:"undeletedAt,omitempty"` - URL string `json:"url"` + ReadySubstate *GetDeploymentReadySubstate1 `json:"readySubstate,omitempty"` + // The regions the deployment exists in + Regions []string `json:"regions"` + // flag to indicate if the deployment was deleted by retention policy + SoftDeletedByRetention *bool `json:"softDeletedByRetention,omitempty"` + // Where was the deployment created from + Source *GetDeploymentSource1 `json:"source,omitempty"` + // If defined, either `staging` if a staging alias in the format `..now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment. + Target *GetDeploymentTargetEnum1 `json:"target,omitempty"` + // A number containing the date when the deployment was undeleted at milliseconds + UndeletedAt *float64 `json:"undeletedAt,omitempty"` + // A string with the unique URL of the deployment + URL string `json:"url"` + // The platform version that was used to create the deployment. Version float64 `json:"version"` OidcTokenClaims *GetDeploymentOidcTokenClaims1 `json:"oidcTokenClaims,omitempty"` ProjectID string `json:"projectId"` diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/getdeployments.go b/src/__tests__/mockserver/internal/sdk/models/operations/getdeployments.go index 291e79100..e2485b1cf 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/getdeployments.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/getdeployments.go @@ -698,10 +698,12 @@ const ( GetDeploymentsFrameworkZola GetDeploymentsFramework = "zola" GetDeploymentsFrameworkHydrogen GetDeploymentsFramework = "hydrogen" GetDeploymentsFrameworkVite GetDeploymentsFramework = "vite" + GetDeploymentsFrameworkTanstackStart GetDeploymentsFramework = "tanstack-start" GetDeploymentsFrameworkVitepress GetDeploymentsFramework = "vitepress" GetDeploymentsFrameworkVuepress GetDeploymentsFramework = "vuepress" GetDeploymentsFrameworkParcel GetDeploymentsFramework = "parcel" GetDeploymentsFrameworkFastapi GetDeploymentsFramework = "fastapi" + GetDeploymentsFrameworkFlask GetDeploymentsFramework = "flask" GetDeploymentsFrameworkFasthtml GetDeploymentsFramework = "fasthtml" GetDeploymentsFrameworkSanityV3 GetDeploymentsFramework = "sanity-v3" GetDeploymentsFrameworkSanity GetDeploymentsFramework = "sanity" @@ -710,6 +712,9 @@ const ( GetDeploymentsFrameworkHono GetDeploymentsFramework = "hono" GetDeploymentsFrameworkExpress GetDeploymentsFramework = "express" GetDeploymentsFrameworkH3 GetDeploymentsFramework = "h3" + GetDeploymentsFrameworkNestjs GetDeploymentsFramework = "nestjs" + GetDeploymentsFrameworkElysia GetDeploymentsFramework = "elysia" + GetDeploymentsFrameworkFastify GetDeploymentsFramework = "fastify" GetDeploymentsFrameworkXmcp GetDeploymentsFramework = "xmcp" ) @@ -800,6 +805,8 @@ func (e *GetDeploymentsFramework) UnmarshalJSON(data []byte) error { fallthrough case "vite": fallthrough + case "tanstack-start": + fallthrough case "vitepress": fallthrough case "vuepress": @@ -808,6 +815,8 @@ func (e *GetDeploymentsFramework) UnmarshalJSON(data []byte) error { fallthrough case "fastapi": fallthrough + case "flask": + fallthrough case "fasthtml": fallthrough case "sanity-v3": @@ -824,6 +833,12 @@ func (e *GetDeploymentsFramework) UnmarshalJSON(data []byte) error { fallthrough case "h3": fallthrough + case "nestjs": + fallthrough + case "elysia": + fallthrough + case "fastify": + fallthrough case "xmcp": *e = GetDeploymentsFramework(v) return nil @@ -835,6 +850,7 @@ func (e *GetDeploymentsFramework) UnmarshalJSON(data []byte) error { type GetDeploymentsNodeVersion string const ( + GetDeploymentsNodeVersionTwentyFourDotX GetDeploymentsNodeVersion = "24.x" GetDeploymentsNodeVersionTwentyTwoDotX GetDeploymentsNodeVersion = "22.x" GetDeploymentsNodeVersionTwentyDotX GetDeploymentsNodeVersion = "20.x" GetDeploymentsNodeVersionEighteenDotX GetDeploymentsNodeVersion = "18.x" @@ -854,6 +870,8 @@ func (e *GetDeploymentsNodeVersion) UnmarshalJSON(data []byte) error { return err } switch v { + case "24.x": + fallthrough case "22.x": fallthrough case "20.x": diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/getdomainauthcode.go b/src/__tests__/mockserver/internal/sdk/models/operations/getdomainauthcode.go new file mode 100644 index 000000000..0c2d9c3bf --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/operations/getdomainauthcode.go @@ -0,0 +1,58 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package operations + +import ( + "mockserver/internal/sdk/models/components" +) + +type GetDomainAuthCodeRequest struct { + Domain string `pathParam:"style=simple,explode=false,name=domain"` + TeamID *string `queryParam:"style=form,explode=true,name=teamId"` +} + +func (o *GetDomainAuthCodeRequest) GetDomain() string { + if o == nil { + return "" + } + return o.Domain +} + +func (o *GetDomainAuthCodeRequest) GetTeamID() *string { + if o == nil { + return nil + } + return o.TeamID +} + +// GetDomainAuthCodeResponseBody - Success +type GetDomainAuthCodeResponseBody struct { + AuthCode string `json:"authCode"` +} + +func (o *GetDomainAuthCodeResponseBody) GetAuthCode() string { + if o == nil { + return "" + } + return o.AuthCode +} + +type GetDomainAuthCodeResponse struct { + HTTPMeta components.HTTPMetadata `json:"-"` + // Success + Object *GetDomainAuthCodeResponseBody +} + +func (o *GetDomainAuthCodeResponse) GetHTTPMeta() components.HTTPMetadata { + if o == nil { + return components.HTTPMetadata{} + } + return o.HTTPMeta +} + +func (o *GetDomainAuthCodeResponse) GetObject() *GetDomainAuthCodeResponseBody { + if o == nil { + return nil + } + return o.Object +} diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/getdomainavailability.go b/src/__tests__/mockserver/internal/sdk/models/operations/getdomainavailability.go new file mode 100644 index 000000000..0e4ad36b0 --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/operations/getdomainavailability.go @@ -0,0 +1,58 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package operations + +import ( + "mockserver/internal/sdk/models/components" +) + +type GetDomainAvailabilityRequest struct { + Domain string `pathParam:"style=simple,explode=false,name=domain"` + TeamID *string `queryParam:"style=form,explode=true,name=teamId"` +} + +func (o *GetDomainAvailabilityRequest) GetDomain() string { + if o == nil { + return "" + } + return o.Domain +} + +func (o *GetDomainAvailabilityRequest) GetTeamID() *string { + if o == nil { + return nil + } + return o.TeamID +} + +// GetDomainAvailabilityResponseBody - Success +type GetDomainAvailabilityResponseBody struct { + Available bool `json:"available"` +} + +func (o *GetDomainAvailabilityResponseBody) GetAvailable() bool { + if o == nil { + return false + } + return o.Available +} + +type GetDomainAvailabilityResponse struct { + HTTPMeta components.HTTPMetadata `json:"-"` + // Success + Object *GetDomainAvailabilityResponseBody +} + +func (o *GetDomainAvailabilityResponse) GetHTTPMeta() components.HTTPMetadata { + if o == nil { + return components.HTTPMetadata{} + } + return o.HTTPMeta +} + +func (o *GetDomainAvailabilityResponse) GetObject() *GetDomainAvailabilityResponseBody { + if o == nil { + return nil + } + return o.Object +} diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/getdomainprice.go b/src/__tests__/mockserver/internal/sdk/models/operations/getdomainprice.go new file mode 100644 index 000000000..c217919d7 --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/operations/getdomainprice.go @@ -0,0 +1,93 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package operations + +import ( + "mockserver/internal/sdk/models/components" +) + +type GetDomainPriceRequest struct { + Domain string `pathParam:"style=simple,explode=false,name=domain"` + Years *string `queryParam:"style=form,explode=true,name=years"` + TeamID *string `queryParam:"style=form,explode=true,name=teamId"` +} + +func (o *GetDomainPriceRequest) GetDomain() string { + if o == nil { + return "" + } + return o.Domain +} + +func (o *GetDomainPriceRequest) GetYears() *string { + if o == nil { + return nil + } + return o.Years +} + +func (o *GetDomainPriceRequest) GetTeamID() *string { + if o == nil { + return nil + } + return o.TeamID +} + +// GetDomainPriceResponseBody - Success +type GetDomainPriceResponseBody struct { + Years float64 `json:"years"` + // The price for purchasing this domain for the given number of years. If null, the domain is not available for purchase for the given number of years. + PurchasePrice *float64 `json:"purchasePrice"` + // The price for renewing this domain for the given number of years. If null, the domain cannot be renewed for the given number of years. + RenewalPrice *float64 `json:"renewalPrice"` + // The price for transferring this domain in for the given number of years. If null, the domain cannot be transferred in for the given number of years. + TransferPrice *float64 `json:"transferPrice"` +} + +func (o *GetDomainPriceResponseBody) GetYears() float64 { + if o == nil { + return 0.0 + } + return o.Years +} + +func (o *GetDomainPriceResponseBody) GetPurchasePrice() *float64 { + if o == nil { + return nil + } + return o.PurchasePrice +} + +func (o *GetDomainPriceResponseBody) GetRenewalPrice() *float64 { + if o == nil { + return nil + } + return o.RenewalPrice +} + +func (o *GetDomainPriceResponseBody) GetTransferPrice() *float64 { + if o == nil { + return nil + } + return o.TransferPrice +} + +type GetDomainPriceResponse struct { + HTTPMeta components.HTTPMetadata `json:"-"` + // Success + Object *GetDomainPriceResponseBody +} + +func (o *GetDomainPriceResponse) GetHTTPMeta() components.HTTPMetadata { + if o == nil { + return components.HTTPMetadata{} + } + return o.HTTPMeta +} + +func (o *GetDomainPriceResponse) GetObject() *GetDomainPriceResponseBody { + if o == nil { + return nil + } + return o.Object +} diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/getdomaintransferin.go b/src/__tests__/mockserver/internal/sdk/models/operations/getdomaintransferin.go new file mode 100644 index 000000000..d88607ef9 --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/operations/getdomaintransferin.go @@ -0,0 +1,116 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package operations + +import ( + "encoding/json" + "fmt" + "mockserver/internal/sdk/models/components" +) + +type GetDomainTransferInRequest struct { + Domain string `pathParam:"style=simple,explode=false,name=domain"` + TeamID *string `queryParam:"style=form,explode=true,name=teamId"` +} + +func (o *GetDomainTransferInRequest) GetDomain() string { + if o == nil { + return "" + } + return o.Domain +} + +func (o *GetDomainTransferInRequest) GetTeamID() *string { + if o == nil { + return nil + } + return o.TeamID +} + +type GetDomainTransferInStatus string + +const ( + GetDomainTransferInStatusCanceled GetDomainTransferInStatus = "canceled" + GetDomainTransferInStatusCanceledPendingRefund GetDomainTransferInStatus = "canceled_pending_refund" + GetDomainTransferInStatusCompleted GetDomainTransferInStatus = "completed" + GetDomainTransferInStatusCreated GetDomainTransferInStatus = "created" + GetDomainTransferInStatusFailed GetDomainTransferInStatus = "failed" + GetDomainTransferInStatusPending GetDomainTransferInStatus = "pending" + GetDomainTransferInStatusPendingInsert GetDomainTransferInStatus = "pending_insert" + GetDomainTransferInStatusPendingNewAuthCode GetDomainTransferInStatus = "pending_new_auth_code" + GetDomainTransferInStatusPendingTransfer GetDomainTransferInStatus = "pending_transfer" + GetDomainTransferInStatusPendingUnlock GetDomainTransferInStatus = "pending_unlock" + GetDomainTransferInStatusRejected GetDomainTransferInStatus = "rejected" + GetDomainTransferInStatusSubmittingTransfer GetDomainTransferInStatus = "submitting_transfer" +) + +func (e GetDomainTransferInStatus) ToPointer() *GetDomainTransferInStatus { + return &e +} +func (e *GetDomainTransferInStatus) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "canceled": + fallthrough + case "canceled_pending_refund": + fallthrough + case "completed": + fallthrough + case "created": + fallthrough + case "failed": + fallthrough + case "pending": + fallthrough + case "pending_insert": + fallthrough + case "pending_new_auth_code": + fallthrough + case "pending_transfer": + fallthrough + case "pending_unlock": + fallthrough + case "rejected": + fallthrough + case "submitting_transfer": + *e = GetDomainTransferInStatus(v) + return nil + default: + return fmt.Errorf("invalid value for GetDomainTransferInStatus: %v", v) + } +} + +// GetDomainTransferInResponseBody - Success +type GetDomainTransferInResponseBody struct { + Status GetDomainTransferInStatus `json:"status"` +} + +func (o *GetDomainTransferInResponseBody) GetStatus() GetDomainTransferInStatus { + if o == nil { + return GetDomainTransferInStatus("") + } + return o.Status +} + +type GetDomainTransferInResponse struct { + HTTPMeta components.HTTPMetadata `json:"-"` + // Success + Object *GetDomainTransferInResponseBody +} + +func (o *GetDomainTransferInResponse) GetHTTPMeta() components.HTTPMetadata { + if o == nil { + return components.HTTPMetadata{} + } + return o.HTTPMeta +} + +func (o *GetDomainTransferInResponse) GetObject() *GetDomainTransferInResponseBody { + if o == nil { + return nil + } + return o.Object +} diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/getdrain.go b/src/__tests__/mockserver/internal/sdk/models/operations/getdrain.go new file mode 100644 index 000000000..6d98c5242 --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/operations/getdrain.go @@ -0,0 +1,3679 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package operations + +import ( + "encoding/json" + "errors" + "fmt" + "mockserver/internal/sdk/models/components" + "mockserver/internal/sdk/utils" +) + +type GetDrainRequest struct { + ID string `pathParam:"style=simple,explode=false,name=id"` + // The Team identifier to perform the request on behalf of. + TeamID *string `queryParam:"style=form,explode=true,name=teamId"` + // The Team slug to perform the request on behalf of. + Slug *string `queryParam:"style=form,explode=true,name=slug"` +} + +func (o *GetDrainRequest) GetID() string { + if o == nil { + return "" + } + return o.ID +} + +func (o *GetDrainRequest) GetTeamID() *string { + if o == nil { + return nil + } + return o.TeamID +} + +func (o *GetDrainRequest) GetSlug() *string { + if o == nil { + return nil + } + return o.Slug +} + +type GetDrainCreatedFrom2 string + +const ( + GetDrainCreatedFrom2SelfServed GetDrainCreatedFrom2 = "self-served" + GetDrainCreatedFrom2Integration GetDrainCreatedFrom2 = "integration" +) + +func (e GetDrainCreatedFrom2) ToPointer() *GetDrainCreatedFrom2 { + return &e +} +func (e *GetDrainCreatedFrom2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "self-served": + fallthrough + case "integration": + *e = GetDrainCreatedFrom2(v) + return nil + default: + return fmt.Errorf("invalid value for GetDrainCreatedFrom2: %v", v) + } +} + +type GetDrainSchemasLog2 struct { +} + +func (g GetDrainSchemasLog2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetDrainSchemasLog2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, nil); err != nil { + return err + } + return nil +} + +type GetDrainTrace2 struct { +} + +func (g GetDrainTrace2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetDrainTrace2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, nil); err != nil { + return err + } + return nil +} + +type GetDrainAnalytics2 struct { +} + +func (g GetDrainAnalytics2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetDrainAnalytics2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, nil); err != nil { + return err + } + return nil +} + +type GetDrainSpeedInsights2 struct { +} + +func (g GetDrainSpeedInsights2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetDrainSpeedInsights2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, nil); err != nil { + return err + } + return nil +} + +type GetDrainSchemas2 struct { + Log *GetDrainSchemasLog2 `json:"log,omitempty"` + Trace *GetDrainTrace2 `json:"trace,omitempty"` + Analytics *GetDrainAnalytics2 `json:"analytics,omitempty"` + SpeedInsights *GetDrainSpeedInsights2 `json:"speed_insights,omitempty"` +} + +func (g GetDrainSchemas2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetDrainSchemas2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, nil); err != nil { + return err + } + return nil +} + +func (o *GetDrainSchemas2) GetLog() *GetDrainSchemasLog2 { + if o == nil { + return nil + } + return o.Log +} + +func (o *GetDrainSchemas2) GetTrace() *GetDrainTrace2 { + if o == nil { + return nil + } + return o.Trace +} + +func (o *GetDrainSchemas2) GetAnalytics() *GetDrainAnalytics2 { + if o == nil { + return nil + } + return o.Analytics +} + +func (o *GetDrainSchemas2) GetSpeedInsights() *GetDrainSpeedInsights2 { + if o == nil { + return nil + } + return o.SpeedInsights +} + +type GetDrainTypeInternal2 string + +const ( + GetDrainTypeInternal2Internal GetDrainTypeInternal2 = "internal" +) + +func (e GetDrainTypeInternal2) ToPointer() *GetDrainTypeInternal2 { + return &e +} +func (e *GetDrainTypeInternal2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "internal": + *e = GetDrainTypeInternal2(v) + return nil + default: + return fmt.Errorf("invalid value for GetDrainTypeInternal2: %v", v) + } +} + +type GetDrainTarget2 string + +const ( + GetDrainTarget2VercelOtelTracesDb GetDrainTarget2 = "vercel-otel-traces-db" +) + +func (e GetDrainTarget2) ToPointer() *GetDrainTarget2 { + return &e +} +func (e *GetDrainTarget2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "vercel-otel-traces-db": + *e = GetDrainTarget2(v) + return nil + default: + return fmt.Errorf("invalid value for GetDrainTarget2: %v", v) + } +} + +type GetDrainDeliveryVercelOtelTracesDb2 struct { + Type GetDrainTypeInternal2 `json:"type"` + Target GetDrainTarget2 `json:"target"` +} + +func (g GetDrainDeliveryVercelOtelTracesDb2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetDrainDeliveryVercelOtelTracesDb2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"type", "target"}); err != nil { + return err + } + return nil +} + +func (o *GetDrainDeliveryVercelOtelTracesDb2) GetType() GetDrainTypeInternal2 { + if o == nil { + return GetDrainTypeInternal2("") + } + return o.Type +} + +func (o *GetDrainDeliveryVercelOtelTracesDb2) GetTarget() GetDrainTarget2 { + if o == nil { + return GetDrainTarget2("") + } + return o.Target +} + +type GetDrainTypeClickhouse2 string + +const ( + GetDrainTypeClickhouse2Clickhouse GetDrainTypeClickhouse2 = "clickhouse" +) + +func (e GetDrainTypeClickhouse2) ToPointer() *GetDrainTypeClickhouse2 { + return &e +} +func (e *GetDrainTypeClickhouse2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "clickhouse": + *e = GetDrainTypeClickhouse2(v) + return nil + default: + return fmt.Errorf("invalid value for GetDrainTypeClickhouse2: %v", v) + } +} + +type GetDrainDeliveryClickhouse2 struct { + Type GetDrainTypeClickhouse2 `json:"type"` + Endpoint string `json:"endpoint"` + Table string `json:"table"` +} + +func (g GetDrainDeliveryClickhouse2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetDrainDeliveryClickhouse2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"type", "endpoint", "table"}); err != nil { + return err + } + return nil +} + +func (o *GetDrainDeliveryClickhouse2) GetType() GetDrainTypeClickhouse2 { + if o == nil { + return GetDrainTypeClickhouse2("") + } + return o.Type +} + +func (o *GetDrainDeliveryClickhouse2) GetEndpoint() string { + if o == nil { + return "" + } + return o.Endpoint +} + +func (o *GetDrainDeliveryClickhouse2) GetTable() string { + if o == nil { + return "" + } + return o.Table +} + +type GetDrainTypeOtlphttp2 string + +const ( + GetDrainTypeOtlphttp2Otlphttp GetDrainTypeOtlphttp2 = "otlphttp" +) + +func (e GetDrainTypeOtlphttp2) ToPointer() *GetDrainTypeOtlphttp2 { + return &e +} +func (e *GetDrainTypeOtlphttp2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "otlphttp": + *e = GetDrainTypeOtlphttp2(v) + return nil + default: + return fmt.Errorf("invalid value for GetDrainTypeOtlphttp2: %v", v) + } +} + +type GetDrainEndpoint2 struct { + Traces string `json:"traces"` +} + +func (g GetDrainEndpoint2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetDrainEndpoint2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"traces"}); err != nil { + return err + } + return nil +} + +func (o *GetDrainEndpoint2) GetTraces() string { + if o == nil { + return "" + } + return o.Traces +} + +type GetDrainEncoding4 string + +const ( + GetDrainEncoding4JSON GetDrainEncoding4 = "json" + GetDrainEncoding4Proto GetDrainEncoding4 = "proto" +) + +func (e GetDrainEncoding4) ToPointer() *GetDrainEncoding4 { + return &e +} +func (e *GetDrainEncoding4) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "json": + fallthrough + case "proto": + *e = GetDrainEncoding4(v) + return nil + default: + return fmt.Errorf("invalid value for GetDrainEncoding4: %v", v) + } +} + +type GetDrainDeliveryOtlphttp2 struct { + Type GetDrainTypeOtlphttp2 `json:"type"` + Endpoint GetDrainEndpoint2 `json:"endpoint"` + Encoding GetDrainEncoding4 `json:"encoding"` + Headers map[string]string `json:"headers"` + Secret *string `json:"secret,omitempty"` +} + +func (g GetDrainDeliveryOtlphttp2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetDrainDeliveryOtlphttp2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"type", "endpoint", "encoding", "headers"}); err != nil { + return err + } + return nil +} + +func (o *GetDrainDeliveryOtlphttp2) GetType() GetDrainTypeOtlphttp2 { + if o == nil { + return GetDrainTypeOtlphttp2("") + } + return o.Type +} + +func (o *GetDrainDeliveryOtlphttp2) GetEndpoint() GetDrainEndpoint2 { + if o == nil { + return GetDrainEndpoint2{} + } + return o.Endpoint +} + +func (o *GetDrainDeliveryOtlphttp2) GetEncoding() GetDrainEncoding4 { + if o == nil { + return GetDrainEncoding4("") + } + return o.Encoding +} + +func (o *GetDrainDeliveryOtlphttp2) GetHeaders() map[string]string { + if o == nil { + return map[string]string{} + } + return o.Headers +} + +func (o *GetDrainDeliveryOtlphttp2) GetSecret() *string { + if o == nil { + return nil + } + return o.Secret +} + +type GetDrainTypeHTTP2 string + +const ( + GetDrainTypeHTTP2HTTP GetDrainTypeHTTP2 = "http" +) + +func (e GetDrainTypeHTTP2) ToPointer() *GetDrainTypeHTTP2 { + return &e +} +func (e *GetDrainTypeHTTP2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "http": + *e = GetDrainTypeHTTP2(v) + return nil + default: + return fmt.Errorf("invalid value for GetDrainTypeHTTP2: %v", v) + } +} + +type GetDrainEncoding3 string + +const ( + GetDrainEncoding3JSON GetDrainEncoding3 = "json" + GetDrainEncoding3Ndjson GetDrainEncoding3 = "ndjson" +) + +func (e GetDrainEncoding3) ToPointer() *GetDrainEncoding3 { + return &e +} +func (e *GetDrainEncoding3) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "json": + fallthrough + case "ndjson": + *e = GetDrainEncoding3(v) + return nil + default: + return fmt.Errorf("invalid value for GetDrainEncoding3: %v", v) + } +} + +type GetDrainCompression2 string + +const ( + GetDrainCompression2Gzip GetDrainCompression2 = "gzip" + GetDrainCompression2None GetDrainCompression2 = "none" +) + +func (e GetDrainCompression2) ToPointer() *GetDrainCompression2 { + return &e +} +func (e *GetDrainCompression2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "gzip": + fallthrough + case "none": + *e = GetDrainCompression2(v) + return nil + default: + return fmt.Errorf("invalid value for GetDrainCompression2: %v", v) + } +} + +type GetDrainDeliveryHTTP2 struct { + Type GetDrainTypeHTTP2 `json:"type"` + Endpoint string `json:"endpoint"` + Encoding GetDrainEncoding3 `json:"encoding"` + Compression *GetDrainCompression2 `json:"compression,omitempty"` + Headers map[string]string `json:"headers"` + Secret *string `json:"secret,omitempty"` +} + +func (g GetDrainDeliveryHTTP2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetDrainDeliveryHTTP2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"type", "endpoint", "encoding", "headers"}); err != nil { + return err + } + return nil +} + +func (o *GetDrainDeliveryHTTP2) GetType() GetDrainTypeHTTP2 { + if o == nil { + return GetDrainTypeHTTP2("") + } + return o.Type +} + +func (o *GetDrainDeliveryHTTP2) GetEndpoint() string { + if o == nil { + return "" + } + return o.Endpoint +} + +func (o *GetDrainDeliveryHTTP2) GetEncoding() GetDrainEncoding3 { + if o == nil { + return GetDrainEncoding3("") + } + return o.Encoding +} + +func (o *GetDrainDeliveryHTTP2) GetCompression() *GetDrainCompression2 { + if o == nil { + return nil + } + return o.Compression +} + +func (o *GetDrainDeliveryHTTP2) GetHeaders() map[string]string { + if o == nil { + return map[string]string{} + } + return o.Headers +} + +func (o *GetDrainDeliveryHTTP2) GetSecret() *string { + if o == nil { + return nil + } + return o.Secret +} + +type GetDrainDeliveryUnion2Type string + +const ( + GetDrainDeliveryUnion2TypeGetDrainDeliveryHTTP2 GetDrainDeliveryUnion2Type = "getDrain_delivery_HTTP_2" + GetDrainDeliveryUnion2TypeGetDrainDeliveryOtlphttp2 GetDrainDeliveryUnion2Type = "getDrain_delivery_Otlphttp_2" + GetDrainDeliveryUnion2TypeGetDrainDeliveryClickhouse2 GetDrainDeliveryUnion2Type = "getDrain_delivery_Clickhouse_2" + GetDrainDeliveryUnion2TypeGetDrainDeliveryVercelOtelTracesDb2 GetDrainDeliveryUnion2Type = "getDrain_delivery_VercelOtelTracesDb_2" +) + +type GetDrainDeliveryUnion2 struct { + GetDrainDeliveryHTTP2 *GetDrainDeliveryHTTP2 `queryParam:"inline"` + GetDrainDeliveryOtlphttp2 *GetDrainDeliveryOtlphttp2 `queryParam:"inline"` + GetDrainDeliveryClickhouse2 *GetDrainDeliveryClickhouse2 `queryParam:"inline"` + GetDrainDeliveryVercelOtelTracesDb2 *GetDrainDeliveryVercelOtelTracesDb2 `queryParam:"inline"` + + Type GetDrainDeliveryUnion2Type +} + +func CreateGetDrainDeliveryUnion2GetDrainDeliveryHTTP2(getDrainDeliveryHTTP2 GetDrainDeliveryHTTP2) GetDrainDeliveryUnion2 { + typ := GetDrainDeliveryUnion2TypeGetDrainDeliveryHTTP2 + + return GetDrainDeliveryUnion2{ + GetDrainDeliveryHTTP2: &getDrainDeliveryHTTP2, + Type: typ, + } +} + +func CreateGetDrainDeliveryUnion2GetDrainDeliveryOtlphttp2(getDrainDeliveryOtlphttp2 GetDrainDeliveryOtlphttp2) GetDrainDeliveryUnion2 { + typ := GetDrainDeliveryUnion2TypeGetDrainDeliveryOtlphttp2 + + return GetDrainDeliveryUnion2{ + GetDrainDeliveryOtlphttp2: &getDrainDeliveryOtlphttp2, + Type: typ, + } +} + +func CreateGetDrainDeliveryUnion2GetDrainDeliveryClickhouse2(getDrainDeliveryClickhouse2 GetDrainDeliveryClickhouse2) GetDrainDeliveryUnion2 { + typ := GetDrainDeliveryUnion2TypeGetDrainDeliveryClickhouse2 + + return GetDrainDeliveryUnion2{ + GetDrainDeliveryClickhouse2: &getDrainDeliveryClickhouse2, + Type: typ, + } +} + +func CreateGetDrainDeliveryUnion2GetDrainDeliveryVercelOtelTracesDb2(getDrainDeliveryVercelOtelTracesDb2 GetDrainDeliveryVercelOtelTracesDb2) GetDrainDeliveryUnion2 { + typ := GetDrainDeliveryUnion2TypeGetDrainDeliveryVercelOtelTracesDb2 + + return GetDrainDeliveryUnion2{ + GetDrainDeliveryVercelOtelTracesDb2: &getDrainDeliveryVercelOtelTracesDb2, + Type: typ, + } +} + +func (u *GetDrainDeliveryUnion2) UnmarshalJSON(data []byte) error { + + var getDrainDeliveryHTTP2 GetDrainDeliveryHTTP2 = GetDrainDeliveryHTTP2{} + if err := utils.UnmarshalJSON(data, &getDrainDeliveryHTTP2, "", true, nil); err == nil { + u.GetDrainDeliveryHTTP2 = &getDrainDeliveryHTTP2 + u.Type = GetDrainDeliveryUnion2TypeGetDrainDeliveryHTTP2 + return nil + } + + var getDrainDeliveryOtlphttp2 GetDrainDeliveryOtlphttp2 = GetDrainDeliveryOtlphttp2{} + if err := utils.UnmarshalJSON(data, &getDrainDeliveryOtlphttp2, "", true, nil); err == nil { + u.GetDrainDeliveryOtlphttp2 = &getDrainDeliveryOtlphttp2 + u.Type = GetDrainDeliveryUnion2TypeGetDrainDeliveryOtlphttp2 + return nil + } + + var getDrainDeliveryClickhouse2 GetDrainDeliveryClickhouse2 = GetDrainDeliveryClickhouse2{} + if err := utils.UnmarshalJSON(data, &getDrainDeliveryClickhouse2, "", true, nil); err == nil { + u.GetDrainDeliveryClickhouse2 = &getDrainDeliveryClickhouse2 + u.Type = GetDrainDeliveryUnion2TypeGetDrainDeliveryClickhouse2 + return nil + } + + var getDrainDeliveryVercelOtelTracesDb2 GetDrainDeliveryVercelOtelTracesDb2 = GetDrainDeliveryVercelOtelTracesDb2{} + if err := utils.UnmarshalJSON(data, &getDrainDeliveryVercelOtelTracesDb2, "", true, nil); err == nil { + u.GetDrainDeliveryVercelOtelTracesDb2 = &getDrainDeliveryVercelOtelTracesDb2 + u.Type = GetDrainDeliveryUnion2TypeGetDrainDeliveryVercelOtelTracesDb2 + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for GetDrainDeliveryUnion2", string(data)) +} + +func (u GetDrainDeliveryUnion2) MarshalJSON() ([]byte, error) { + if u.GetDrainDeliveryHTTP2 != nil { + return utils.MarshalJSON(u.GetDrainDeliveryHTTP2, "", true) + } + + if u.GetDrainDeliveryOtlphttp2 != nil { + return utils.MarshalJSON(u.GetDrainDeliveryOtlphttp2, "", true) + } + + if u.GetDrainDeliveryClickhouse2 != nil { + return utils.MarshalJSON(u.GetDrainDeliveryClickhouse2, "", true) + } + + if u.GetDrainDeliveryVercelOtelTracesDb2 != nil { + return utils.MarshalJSON(u.GetDrainDeliveryVercelOtelTracesDb2, "", true) + } + + return nil, errors.New("could not marshal union type GetDrainDeliveryUnion2: all fields are null") +} + +type GetDrainTypeHeadSampling2 string + +const ( + GetDrainTypeHeadSampling2HeadSampling GetDrainTypeHeadSampling2 = "head_sampling" +) + +func (e GetDrainTypeHeadSampling2) ToPointer() *GetDrainTypeHeadSampling2 { + return &e +} +func (e *GetDrainTypeHeadSampling2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "head_sampling": + *e = GetDrainTypeHeadSampling2(v) + return nil + default: + return fmt.Errorf("invalid value for GetDrainTypeHeadSampling2: %v", v) + } +} + +type GetDrainEnv2 string + +const ( + GetDrainEnv2Production GetDrainEnv2 = "production" + GetDrainEnv2Preview GetDrainEnv2 = "preview" +) + +func (e GetDrainEnv2) ToPointer() *GetDrainEnv2 { + return &e +} +func (e *GetDrainEnv2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "production": + fallthrough + case "preview": + *e = GetDrainEnv2(v) + return nil + default: + return fmt.Errorf("invalid value for GetDrainEnv2: %v", v) + } +} + +type GetDrainSampling2 struct { + Type GetDrainTypeHeadSampling2 `json:"type"` + Rate float64 `json:"rate"` + Env *GetDrainEnv2 `json:"env,omitempty"` + RequestPath *string `json:"requestPath,omitempty"` +} + +func (g GetDrainSampling2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetDrainSampling2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"type", "rate"}); err != nil { + return err + } + return nil +} + +func (o *GetDrainSampling2) GetType() GetDrainTypeHeadSampling2 { + if o == nil { + return GetDrainTypeHeadSampling2("") + } + return o.Type +} + +func (o *GetDrainSampling2) GetRate() float64 { + if o == nil { + return 0.0 + } + return o.Rate +} + +func (o *GetDrainSampling2) GetEnv() *GetDrainEnv2 { + if o == nil { + return nil + } + return o.Env +} + +func (o *GetDrainSampling2) GetRequestPath() *string { + if o == nil { + return nil + } + return o.RequestPath +} + +type GetDrainStatus2 string + +const ( + GetDrainStatus2Enabled GetDrainStatus2 = "enabled" + GetDrainStatus2Disabled GetDrainStatus2 = "disabled" + GetDrainStatus2Errored GetDrainStatus2 = "errored" +) + +func (e GetDrainStatus2) ToPointer() *GetDrainStatus2 { + return &e +} +func (e *GetDrainStatus2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "enabled": + fallthrough + case "disabled": + fallthrough + case "errored": + *e = GetDrainStatus2(v) + return nil + default: + return fmt.Errorf("invalid value for GetDrainStatus2: %v", v) + } +} + +type GetDrainDisabledReason2 string + +const ( + GetDrainDisabledReason2DisabledByOwner GetDrainDisabledReason2 = "disabled-by-owner" + GetDrainDisabledReason2FeatureNotAvailable GetDrainDisabledReason2 = "feature-not-available" + GetDrainDisabledReason2AccountPlanDowngrade GetDrainDisabledReason2 = "account-plan-downgrade" + GetDrainDisabledReason2DisabledByAdmin GetDrainDisabledReason2 = "disabled-by-admin" +) + +func (e GetDrainDisabledReason2) ToPointer() *GetDrainDisabledReason2 { + return &e +} +func (e *GetDrainDisabledReason2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "disabled-by-owner": + fallthrough + case "feature-not-available": + fallthrough + case "account-plan-downgrade": + fallthrough + case "disabled-by-admin": + *e = GetDrainDisabledReason2(v) + return nil + default: + return fmt.Errorf("invalid value for GetDrainDisabledReason2: %v", v) + } +} + +type GetDrainKindIntegration2 string + +const ( + GetDrainKindIntegration2Integration GetDrainKindIntegration2 = "integration" +) + +func (e GetDrainKindIntegration2) ToPointer() *GetDrainKindIntegration2 { + return &e +} +func (e *GetDrainKindIntegration2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "integration": + *e = GetDrainKindIntegration2(v) + return nil + default: + return fmt.Errorf("invalid value for GetDrainKindIntegration2: %v", v) + } +} + +type GetDrainSourceIntegration2 struct { + Kind GetDrainKindIntegration2 `json:"kind"` + ResourceID *string `json:"resourceId,omitempty"` + ExternalResourceID *string `json:"externalResourceId,omitempty"` + IntegrationID string `json:"integrationId"` + IntegrationConfigurationID string `json:"integrationConfigurationId"` +} + +func (g GetDrainSourceIntegration2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetDrainSourceIntegration2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"kind", "integrationId", "integrationConfigurationId"}); err != nil { + return err + } + return nil +} + +func (o *GetDrainSourceIntegration2) GetKind() GetDrainKindIntegration2 { + if o == nil { + return GetDrainKindIntegration2("") + } + return o.Kind +} + +func (o *GetDrainSourceIntegration2) GetResourceID() *string { + if o == nil { + return nil + } + return o.ResourceID +} + +func (o *GetDrainSourceIntegration2) GetExternalResourceID() *string { + if o == nil { + return nil + } + return o.ExternalResourceID +} + +func (o *GetDrainSourceIntegration2) GetIntegrationID() string { + if o == nil { + return "" + } + return o.IntegrationID +} + +func (o *GetDrainSourceIntegration2) GetIntegrationConfigurationID() string { + if o == nil { + return "" + } + return o.IntegrationConfigurationID +} + +type GetDrainKindSelfServed2 string + +const ( + GetDrainKindSelfServed2SelfServed GetDrainKindSelfServed2 = "self-served" +) + +func (e GetDrainKindSelfServed2) ToPointer() *GetDrainKindSelfServed2 { + return &e +} +func (e *GetDrainKindSelfServed2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "self-served": + *e = GetDrainKindSelfServed2(v) + return nil + default: + return fmt.Errorf("invalid value for GetDrainKindSelfServed2: %v", v) + } +} + +type GetDrainSourceSelfServed2 struct { + Kind GetDrainKindSelfServed2 `json:"kind"` +} + +func (g GetDrainSourceSelfServed2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetDrainSourceSelfServed2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"kind"}); err != nil { + return err + } + return nil +} + +func (o *GetDrainSourceSelfServed2) GetKind() GetDrainKindSelfServed2 { + if o == nil { + return GetDrainKindSelfServed2("") + } + return o.Kind +} + +type GetDrainSourceUnion2Type string + +const ( + GetDrainSourceUnion2TypeGetDrainSourceSelfServed2 GetDrainSourceUnion2Type = "getDrain_source_SelfServed_2" + GetDrainSourceUnion2TypeGetDrainSourceIntegration2 GetDrainSourceUnion2Type = "getDrain_source_Integration_2" +) + +type GetDrainSourceUnion2 struct { + GetDrainSourceSelfServed2 *GetDrainSourceSelfServed2 `queryParam:"inline"` + GetDrainSourceIntegration2 *GetDrainSourceIntegration2 `queryParam:"inline"` + + Type GetDrainSourceUnion2Type +} + +func CreateGetDrainSourceUnion2GetDrainSourceSelfServed2(getDrainSourceSelfServed2 GetDrainSourceSelfServed2) GetDrainSourceUnion2 { + typ := GetDrainSourceUnion2TypeGetDrainSourceSelfServed2 + + return GetDrainSourceUnion2{ + GetDrainSourceSelfServed2: &getDrainSourceSelfServed2, + Type: typ, + } +} + +func CreateGetDrainSourceUnion2GetDrainSourceIntegration2(getDrainSourceIntegration2 GetDrainSourceIntegration2) GetDrainSourceUnion2 { + typ := GetDrainSourceUnion2TypeGetDrainSourceIntegration2 + + return GetDrainSourceUnion2{ + GetDrainSourceIntegration2: &getDrainSourceIntegration2, + Type: typ, + } +} + +func (u *GetDrainSourceUnion2) UnmarshalJSON(data []byte) error { + + var getDrainSourceIntegration2 GetDrainSourceIntegration2 = GetDrainSourceIntegration2{} + if err := utils.UnmarshalJSON(data, &getDrainSourceIntegration2, "", true, nil); err == nil { + u.GetDrainSourceIntegration2 = &getDrainSourceIntegration2 + u.Type = GetDrainSourceUnion2TypeGetDrainSourceIntegration2 + return nil + } + + var getDrainSourceSelfServed2 GetDrainSourceSelfServed2 = GetDrainSourceSelfServed2{} + if err := utils.UnmarshalJSON(data, &getDrainSourceSelfServed2, "", true, nil); err == nil { + u.GetDrainSourceSelfServed2 = &getDrainSourceSelfServed2 + u.Type = GetDrainSourceUnion2TypeGetDrainSourceSelfServed2 + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for GetDrainSourceUnion2", string(data)) +} + +func (u GetDrainSourceUnion2) MarshalJSON() ([]byte, error) { + if u.GetDrainSourceSelfServed2 != nil { + return utils.MarshalJSON(u.GetDrainSourceSelfServed2, "", true) + } + + if u.GetDrainSourceIntegration2 != nil { + return utils.MarshalJSON(u.GetDrainSourceIntegration2, "", true) + } + + return nil, errors.New("could not marshal union type GetDrainSourceUnion2: all fields are null") +} + +type GetDrainVersionV22 string + +const ( + GetDrainVersionV22V2 GetDrainVersionV22 = "v2" +) + +func (e GetDrainVersionV22) ToPointer() *GetDrainVersionV22 { + return &e +} +func (e *GetDrainVersionV22) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "v2": + *e = GetDrainVersionV22(v) + return nil + default: + return fmt.Errorf("invalid value for GetDrainVersionV22: %v", v) + } +} + +type GetDrainTypeOdata2 string + +const ( + GetDrainTypeOdata2Odata GetDrainTypeOdata2 = "odata" +) + +func (e GetDrainTypeOdata2) ToPointer() *GetDrainTypeOdata2 { + return &e +} +func (e *GetDrainTypeOdata2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "odata": + *e = GetDrainTypeOdata2(v) + return nil + default: + return fmt.Errorf("invalid value for GetDrainTypeOdata2: %v", v) + } +} + +type GetDrainFilterOdata2 struct { + Type GetDrainTypeOdata2 `json:"type"` + Text string `json:"text"` +} + +func (g GetDrainFilterOdata2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetDrainFilterOdata2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"type", "text"}); err != nil { + return err + } + return nil +} + +func (o *GetDrainFilterOdata2) GetType() GetDrainTypeOdata2 { + if o == nil { + return GetDrainTypeOdata2("") + } + return o.Type +} + +func (o *GetDrainFilterOdata2) GetText() string { + if o == nil { + return "" + } + return o.Text +} + +type GetDrainTypeBasic2 string + +const ( + GetDrainTypeBasic2Basic GetDrainTypeBasic2 = "basic" +) + +func (e GetDrainTypeBasic2) ToPointer() *GetDrainTypeBasic2 { + return &e +} +func (e *GetDrainTypeBasic2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "basic": + *e = GetDrainTypeBasic2(v) + return nil + default: + return fmt.Errorf("invalid value for GetDrainTypeBasic2: %v", v) + } +} + +type GetDrainProject2 struct { + Ids []string `json:"ids,omitempty"` +} + +func (g GetDrainProject2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetDrainProject2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, nil); err != nil { + return err + } + return nil +} + +func (o *GetDrainProject2) GetIds() []string { + if o == nil { + return nil + } + return o.Ids +} + +type GetDrainFilterV2Source2 string + +const ( + GetDrainFilterV2Source2Build GetDrainFilterV2Source2 = "build" + GetDrainFilterV2Source2Edge GetDrainFilterV2Source2 = "edge" + GetDrainFilterV2Source2Lambda GetDrainFilterV2Source2 = "lambda" + GetDrainFilterV2Source2Static GetDrainFilterV2Source2 = "static" + GetDrainFilterV2Source2External GetDrainFilterV2Source2 = "external" + GetDrainFilterV2Source2Firewall GetDrainFilterV2Source2 = "firewall" + GetDrainFilterV2Source2Redirect GetDrainFilterV2Source2 = "redirect" +) + +func (e GetDrainFilterV2Source2) ToPointer() *GetDrainFilterV2Source2 { + return &e +} +func (e *GetDrainFilterV2Source2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "build": + fallthrough + case "edge": + fallthrough + case "lambda": + fallthrough + case "static": + fallthrough + case "external": + fallthrough + case "firewall": + fallthrough + case "redirect": + *e = GetDrainFilterV2Source2(v) + return nil + default: + return fmt.Errorf("invalid value for GetDrainFilterV2Source2: %v", v) + } +} + +type GetDrainFilterV2Log2 struct { + Sources []GetDrainFilterV2Source2 `json:"sources,omitempty"` + LegacyExcludeCachedStaticAssetLogs *bool `json:"legacy_excludeCachedStaticAssetLogs,omitempty"` +} + +func (g GetDrainFilterV2Log2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetDrainFilterV2Log2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, nil); err != nil { + return err + } + return nil +} + +func (o *GetDrainFilterV2Log2) GetSources() []GetDrainFilterV2Source2 { + if o == nil { + return nil + } + return o.Sources +} + +func (o *GetDrainFilterV2Log2) GetLegacyExcludeCachedStaticAssetLogs() *bool { + if o == nil { + return nil + } + return o.LegacyExcludeCachedStaticAssetLogs +} + +type GetDrainEnvironment2 string + +const ( + GetDrainEnvironment2Production GetDrainEnvironment2 = "production" + GetDrainEnvironment2Preview GetDrainEnvironment2 = "preview" +) + +func (e GetDrainEnvironment2) ToPointer() *GetDrainEnvironment2 { + return &e +} +func (e *GetDrainEnvironment2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "production": + fallthrough + case "preview": + *e = GetDrainEnvironment2(v) + return nil + default: + return fmt.Errorf("invalid value for GetDrainEnvironment2: %v", v) + } +} + +type GetDrainDeployment2 struct { + Environments []GetDrainEnvironment2 `json:"environments,omitempty"` +} + +func (g GetDrainDeployment2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetDrainDeployment2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, nil); err != nil { + return err + } + return nil +} + +func (o *GetDrainDeployment2) GetEnvironments() []GetDrainEnvironment2 { + if o == nil { + return nil + } + return o.Environments +} + +type GetDrainFilterBasic2 struct { + Type GetDrainTypeBasic2 `json:"type"` + Project *GetDrainProject2 `json:"project,omitempty"` + Log *GetDrainFilterV2Log2 `json:"log,omitempty"` + Deployment *GetDrainDeployment2 `json:"deployment,omitempty"` +} + +func (g GetDrainFilterBasic2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetDrainFilterBasic2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"type"}); err != nil { + return err + } + return nil +} + +func (o *GetDrainFilterBasic2) GetType() GetDrainTypeBasic2 { + if o == nil { + return GetDrainTypeBasic2("") + } + return o.Type +} + +func (o *GetDrainFilterBasic2) GetProject() *GetDrainProject2 { + if o == nil { + return nil + } + return o.Project +} + +func (o *GetDrainFilterBasic2) GetLog() *GetDrainFilterV2Log2 { + if o == nil { + return nil + } + return o.Log +} + +func (o *GetDrainFilterBasic2) GetDeployment() *GetDrainDeployment2 { + if o == nil { + return nil + } + return o.Deployment +} + +type GetDrainFilterUnion2Type string + +const ( + GetDrainFilterUnion2TypeGetDrainFilterBasic2 GetDrainFilterUnion2Type = "getDrain_filter_Basic_2" + GetDrainFilterUnion2TypeGetDrainFilterOdata2 GetDrainFilterUnion2Type = "getDrain_filter_Odata_2" +) + +type GetDrainFilterUnion2 struct { + GetDrainFilterBasic2 *GetDrainFilterBasic2 `queryParam:"inline"` + GetDrainFilterOdata2 *GetDrainFilterOdata2 `queryParam:"inline"` + + Type GetDrainFilterUnion2Type +} + +func CreateGetDrainFilterUnion2GetDrainFilterBasic2(getDrainFilterBasic2 GetDrainFilterBasic2) GetDrainFilterUnion2 { + typ := GetDrainFilterUnion2TypeGetDrainFilterBasic2 + + return GetDrainFilterUnion2{ + GetDrainFilterBasic2: &getDrainFilterBasic2, + Type: typ, + } +} + +func CreateGetDrainFilterUnion2GetDrainFilterOdata2(getDrainFilterOdata2 GetDrainFilterOdata2) GetDrainFilterUnion2 { + typ := GetDrainFilterUnion2TypeGetDrainFilterOdata2 + + return GetDrainFilterUnion2{ + GetDrainFilterOdata2: &getDrainFilterOdata2, + Type: typ, + } +} + +func (u *GetDrainFilterUnion2) UnmarshalJSON(data []byte) error { + + var getDrainFilterOdata2 GetDrainFilterOdata2 = GetDrainFilterOdata2{} + if err := utils.UnmarshalJSON(data, &getDrainFilterOdata2, "", true, nil); err == nil { + u.GetDrainFilterOdata2 = &getDrainFilterOdata2 + u.Type = GetDrainFilterUnion2TypeGetDrainFilterOdata2 + return nil + } + + var getDrainFilterBasic2 GetDrainFilterBasic2 = GetDrainFilterBasic2{} + if err := utils.UnmarshalJSON(data, &getDrainFilterBasic2, "", true, nil); err == nil { + u.GetDrainFilterBasic2 = &getDrainFilterBasic2 + u.Type = GetDrainFilterUnion2TypeGetDrainFilterBasic2 + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for GetDrainFilterUnion2", string(data)) +} + +func (u GetDrainFilterUnion2) MarshalJSON() ([]byte, error) { + if u.GetDrainFilterBasic2 != nil { + return utils.MarshalJSON(u.GetDrainFilterBasic2, "", true) + } + + if u.GetDrainFilterOdata2 != nil { + return utils.MarshalJSON(u.GetDrainFilterOdata2, "", true) + } + + return nil, errors.New("could not marshal union type GetDrainFilterUnion2: all fields are null") +} + +type GetDrainFilterV2V22 struct { + Version GetDrainVersionV22 `json:"version"` + Filter GetDrainFilterUnion2 `json:"filter"` +} + +func (g GetDrainFilterV2V22) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetDrainFilterV2V22) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"version", "filter"}); err != nil { + return err + } + return nil +} + +func (o *GetDrainFilterV2V22) GetVersion() GetDrainVersionV22 { + if o == nil { + return GetDrainVersionV22("") + } + return o.Version +} + +func (o *GetDrainFilterV2V22) GetFilter() GetDrainFilterUnion2 { + if o == nil { + return GetDrainFilterUnion2{} + } + return o.Filter +} + +type GetDrainVersionV12 string + +const ( + GetDrainVersionV12V1 GetDrainVersionV12 = "v1" +) + +func (e GetDrainVersionV12) ToPointer() *GetDrainVersionV12 { + return &e +} +func (e *GetDrainVersionV12) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "v1": + *e = GetDrainVersionV12(v) + return nil + default: + return fmt.Errorf("invalid value for GetDrainVersionV12: %v", v) + } +} + +type GetDrainFilterV2V12 struct { + Version GetDrainVersionV12 `json:"version"` +} + +func (g GetDrainFilterV2V12) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetDrainFilterV2V12) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"version"}); err != nil { + return err + } + return nil +} + +func (o *GetDrainFilterV2V12) GetVersion() GetDrainVersionV12 { + if o == nil { + return GetDrainVersionV12("") + } + return o.Version +} + +type GetDrainFilterV2Union2Type string + +const ( + GetDrainFilterV2Union2TypeGetDrainFilterV2V12 GetDrainFilterV2Union2Type = "getDrain_filterV2_V1_2" + GetDrainFilterV2Union2TypeGetDrainFilterV2V22 GetDrainFilterV2Union2Type = "getDrain_filterV2_V2_2" +) + +type GetDrainFilterV2Union2 struct { + GetDrainFilterV2V12 *GetDrainFilterV2V12 `queryParam:"inline"` + GetDrainFilterV2V22 *GetDrainFilterV2V22 `queryParam:"inline"` + + Type GetDrainFilterV2Union2Type +} + +func CreateGetDrainFilterV2Union2GetDrainFilterV2V12(getDrainFilterV2V12 GetDrainFilterV2V12) GetDrainFilterV2Union2 { + typ := GetDrainFilterV2Union2TypeGetDrainFilterV2V12 + + return GetDrainFilterV2Union2{ + GetDrainFilterV2V12: &getDrainFilterV2V12, + Type: typ, + } +} + +func CreateGetDrainFilterV2Union2GetDrainFilterV2V22(getDrainFilterV2V22 GetDrainFilterV2V22) GetDrainFilterV2Union2 { + typ := GetDrainFilterV2Union2TypeGetDrainFilterV2V22 + + return GetDrainFilterV2Union2{ + GetDrainFilterV2V22: &getDrainFilterV2V22, + Type: typ, + } +} + +func (u *GetDrainFilterV2Union2) UnmarshalJSON(data []byte) error { + + var getDrainFilterV2V22 GetDrainFilterV2V22 = GetDrainFilterV2V22{} + if err := utils.UnmarshalJSON(data, &getDrainFilterV2V22, "", true, nil); err == nil { + u.GetDrainFilterV2V22 = &getDrainFilterV2V22 + u.Type = GetDrainFilterV2Union2TypeGetDrainFilterV2V22 + return nil + } + + var getDrainFilterV2V12 GetDrainFilterV2V12 = GetDrainFilterV2V12{} + if err := utils.UnmarshalJSON(data, &getDrainFilterV2V12, "", true, nil); err == nil { + u.GetDrainFilterV2V12 = &getDrainFilterV2V12 + u.Type = GetDrainFilterV2Union2TypeGetDrainFilterV2V12 + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for GetDrainFilterV2Union2", string(data)) +} + +func (u GetDrainFilterV2Union2) MarshalJSON() ([]byte, error) { + if u.GetDrainFilterV2V12 != nil { + return utils.MarshalJSON(u.GetDrainFilterV2V12, "", true) + } + + if u.GetDrainFilterV2V22 != nil { + return utils.MarshalJSON(u.GetDrainFilterV2V22, "", true) + } + + return nil, errors.New("could not marshal union type GetDrainFilterV2Union2: all fields are null") +} + +type GetDrainFramework string + +const ( + GetDrainFrameworkBlitzjs GetDrainFramework = "blitzjs" + GetDrainFrameworkNextjs GetDrainFramework = "nextjs" + GetDrainFrameworkGatsby GetDrainFramework = "gatsby" + GetDrainFrameworkRemix GetDrainFramework = "remix" + GetDrainFrameworkReactRouter GetDrainFramework = "react-router" + GetDrainFrameworkAstro GetDrainFramework = "astro" + GetDrainFrameworkHexo GetDrainFramework = "hexo" + GetDrainFrameworkEleventy GetDrainFramework = "eleventy" + GetDrainFrameworkDocusaurus2 GetDrainFramework = "docusaurus-2" + GetDrainFrameworkDocusaurus GetDrainFramework = "docusaurus" + GetDrainFrameworkPreact GetDrainFramework = "preact" + GetDrainFrameworkSolidstart1 GetDrainFramework = "solidstart-1" + GetDrainFrameworkSolidstart GetDrainFramework = "solidstart" + GetDrainFrameworkDojo GetDrainFramework = "dojo" + GetDrainFrameworkEmber GetDrainFramework = "ember" + GetDrainFrameworkVue GetDrainFramework = "vue" + GetDrainFrameworkScully GetDrainFramework = "scully" + GetDrainFrameworkIonicAngular GetDrainFramework = "ionic-angular" + GetDrainFrameworkAngular GetDrainFramework = "angular" + GetDrainFrameworkPolymer GetDrainFramework = "polymer" + GetDrainFrameworkSvelte GetDrainFramework = "svelte" + GetDrainFrameworkSveltekit GetDrainFramework = "sveltekit" + GetDrainFrameworkSveltekit1 GetDrainFramework = "sveltekit-1" + GetDrainFrameworkIonicReact GetDrainFramework = "ionic-react" + GetDrainFrameworkCreateReactApp GetDrainFramework = "create-react-app" + GetDrainFrameworkGridsome GetDrainFramework = "gridsome" + GetDrainFrameworkUmijs GetDrainFramework = "umijs" + GetDrainFrameworkSapper GetDrainFramework = "sapper" + GetDrainFrameworkSaber GetDrainFramework = "saber" + GetDrainFrameworkStencil GetDrainFramework = "stencil" + GetDrainFrameworkNuxtjs GetDrainFramework = "nuxtjs" + GetDrainFrameworkRedwoodjs GetDrainFramework = "redwoodjs" + GetDrainFrameworkHugo GetDrainFramework = "hugo" + GetDrainFrameworkJekyll GetDrainFramework = "jekyll" + GetDrainFrameworkBrunch GetDrainFramework = "brunch" + GetDrainFrameworkMiddleman GetDrainFramework = "middleman" + GetDrainFrameworkZola GetDrainFramework = "zola" + GetDrainFrameworkHydrogen GetDrainFramework = "hydrogen" + GetDrainFrameworkVite GetDrainFramework = "vite" + GetDrainFrameworkTanstackStart GetDrainFramework = "tanstack-start" + GetDrainFrameworkVitepress GetDrainFramework = "vitepress" + GetDrainFrameworkVuepress GetDrainFramework = "vuepress" + GetDrainFrameworkParcel GetDrainFramework = "parcel" + GetDrainFrameworkFastapi GetDrainFramework = "fastapi" + GetDrainFrameworkFlask GetDrainFramework = "flask" + GetDrainFrameworkFasthtml GetDrainFramework = "fasthtml" + GetDrainFrameworkSanityV3 GetDrainFramework = "sanity-v3" + GetDrainFrameworkSanity GetDrainFramework = "sanity" + GetDrainFrameworkStorybook GetDrainFramework = "storybook" + GetDrainFrameworkNitro GetDrainFramework = "nitro" + GetDrainFrameworkHono GetDrainFramework = "hono" + GetDrainFrameworkExpress GetDrainFramework = "express" + GetDrainFrameworkH3 GetDrainFramework = "h3" + GetDrainFrameworkNestjs GetDrainFramework = "nestjs" + GetDrainFrameworkElysia GetDrainFramework = "elysia" + GetDrainFrameworkFastify GetDrainFramework = "fastify" + GetDrainFrameworkXmcp GetDrainFramework = "xmcp" +) + +func (e GetDrainFramework) ToPointer() *GetDrainFramework { + return &e +} +func (e *GetDrainFramework) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "blitzjs": + fallthrough + case "nextjs": + fallthrough + case "gatsby": + fallthrough + case "remix": + fallthrough + case "react-router": + fallthrough + case "astro": + fallthrough + case "hexo": + fallthrough + case "eleventy": + fallthrough + case "docusaurus-2": + fallthrough + case "docusaurus": + fallthrough + case "preact": + fallthrough + case "solidstart-1": + fallthrough + case "solidstart": + fallthrough + case "dojo": + fallthrough + case "ember": + fallthrough + case "vue": + fallthrough + case "scully": + fallthrough + case "ionic-angular": + fallthrough + case "angular": + fallthrough + case "polymer": + fallthrough + case "svelte": + fallthrough + case "sveltekit": + fallthrough + case "sveltekit-1": + fallthrough + case "ionic-react": + fallthrough + case "create-react-app": + fallthrough + case "gridsome": + fallthrough + case "umijs": + fallthrough + case "sapper": + fallthrough + case "saber": + fallthrough + case "stencil": + fallthrough + case "nuxtjs": + fallthrough + case "redwoodjs": + fallthrough + case "hugo": + fallthrough + case "jekyll": + fallthrough + case "brunch": + fallthrough + case "middleman": + fallthrough + case "zola": + fallthrough + case "hydrogen": + fallthrough + case "vite": + fallthrough + case "tanstack-start": + fallthrough + case "vitepress": + fallthrough + case "vuepress": + fallthrough + case "parcel": + fallthrough + case "fastapi": + fallthrough + case "flask": + fallthrough + case "fasthtml": + fallthrough + case "sanity-v3": + fallthrough + case "sanity": + fallthrough + case "storybook": + fallthrough + case "nitro": + fallthrough + case "hono": + fallthrough + case "express": + fallthrough + case "h3": + fallthrough + case "nestjs": + fallthrough + case "elysia": + fallthrough + case "fastify": + fallthrough + case "xmcp": + *e = GetDrainFramework(v) + return nil + default: + return fmt.Errorf("invalid value for GetDrainFramework: %v", v) + } +} + +type GetDrainProjectsMetadatum struct { + ID string `json:"id"` + Name string `json:"name"` + Framework *GetDrainFramework `json:"framework,omitempty"` + LatestDeployment *string `json:"latestDeployment,omitempty"` +} + +func (g GetDrainProjectsMetadatum) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetDrainProjectsMetadatum) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"id", "name"}); err != nil { + return err + } + return nil +} + +func (o *GetDrainProjectsMetadatum) GetID() string { + if o == nil { + return "" + } + return o.ID +} + +func (o *GetDrainProjectsMetadatum) GetName() string { + if o == nil { + return "" + } + return o.Name +} + +func (o *GetDrainProjectsMetadatum) GetFramework() *GetDrainFramework { + if o == nil { + return nil + } + return o.Framework +} + +func (o *GetDrainProjectsMetadatum) GetLatestDeployment() *string { + if o == nil { + return nil + } + return o.LatestDeployment +} + +type GetDrainResponseBody2 struct { + ID string `json:"id"` + OwnerID string `json:"ownerId"` + Name string `json:"name"` + CreatedAt float64 `json:"createdAt"` + CreatedFrom *GetDrainCreatedFrom2 `json:"createdFrom,omitempty"` + UpdatedAt float64 `json:"updatedAt"` + ProjectIds []string `json:"projectIds,omitempty"` + Schemas *GetDrainSchemas2 `json:"schemas,omitempty"` + Delivery *GetDrainDeliveryUnion2 `json:"delivery,omitempty"` + Sampling []GetDrainSampling2 `json:"sampling,omitempty"` + TeamID *string `json:"teamId,omitempty"` + Status *GetDrainStatus2 `json:"status,omitempty"` + DisabledAt *float64 `json:"disabledAt,omitempty"` + DisabledReason *GetDrainDisabledReason2 `json:"disabledReason,omitempty"` + DisabledBy *string `json:"disabledBy,omitempty"` + FirstErrorTimestamp *float64 `json:"firstErrorTimestamp,omitempty"` + ConfigurationID *string `json:"configurationId,omitempty"` + ClientID *string `json:"clientId,omitempty"` + Source GetDrainSourceUnion2 `json:"source"` + Filter *string `json:"filter,omitempty"` + FilterV2 *GetDrainFilterV2Union2 `json:"filterV2,omitempty"` + IntegrationIcon *string `json:"integrationIcon,omitempty"` + IntegrationConfigurationURI *string `json:"integrationConfigurationUri,omitempty"` + IntegrationWebsite *string `json:"integrationWebsite,omitempty"` + ProjectsMetadata []GetDrainProjectsMetadatum `json:"projectsMetadata,omitempty"` +} + +func (g GetDrainResponseBody2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetDrainResponseBody2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"id", "ownerId", "name", "createdAt", "updatedAt", "source"}); err != nil { + return err + } + return nil +} + +func (o *GetDrainResponseBody2) GetID() string { + if o == nil { + return "" + } + return o.ID +} + +func (o *GetDrainResponseBody2) GetOwnerID() string { + if o == nil { + return "" + } + return o.OwnerID +} + +func (o *GetDrainResponseBody2) GetName() string { + if o == nil { + return "" + } + return o.Name +} + +func (o *GetDrainResponseBody2) GetCreatedAt() float64 { + if o == nil { + return 0.0 + } + return o.CreatedAt +} + +func (o *GetDrainResponseBody2) GetCreatedFrom() *GetDrainCreatedFrom2 { + if o == nil { + return nil + } + return o.CreatedFrom +} + +func (o *GetDrainResponseBody2) GetUpdatedAt() float64 { + if o == nil { + return 0.0 + } + return o.UpdatedAt +} + +func (o *GetDrainResponseBody2) GetProjectIds() []string { + if o == nil { + return nil + } + return o.ProjectIds +} + +func (o *GetDrainResponseBody2) GetSchemas() *GetDrainSchemas2 { + if o == nil { + return nil + } + return o.Schemas +} + +func (o *GetDrainResponseBody2) GetDelivery() *GetDrainDeliveryUnion2 { + if o == nil { + return nil + } + return o.Delivery +} + +func (o *GetDrainResponseBody2) GetSampling() []GetDrainSampling2 { + if o == nil { + return nil + } + return o.Sampling +} + +func (o *GetDrainResponseBody2) GetTeamID() *string { + if o == nil { + return nil + } + return o.TeamID +} + +func (o *GetDrainResponseBody2) GetStatus() *GetDrainStatus2 { + if o == nil { + return nil + } + return o.Status +} + +func (o *GetDrainResponseBody2) GetDisabledAt() *float64 { + if o == nil { + return nil + } + return o.DisabledAt +} + +func (o *GetDrainResponseBody2) GetDisabledReason() *GetDrainDisabledReason2 { + if o == nil { + return nil + } + return o.DisabledReason +} + +func (o *GetDrainResponseBody2) GetDisabledBy() *string { + if o == nil { + return nil + } + return o.DisabledBy +} + +func (o *GetDrainResponseBody2) GetFirstErrorTimestamp() *float64 { + if o == nil { + return nil + } + return o.FirstErrorTimestamp +} + +func (o *GetDrainResponseBody2) GetConfigurationID() *string { + if o == nil { + return nil + } + return o.ConfigurationID +} + +func (o *GetDrainResponseBody2) GetClientID() *string { + if o == nil { + return nil + } + return o.ClientID +} + +func (o *GetDrainResponseBody2) GetSource() GetDrainSourceUnion2 { + if o == nil { + return GetDrainSourceUnion2{} + } + return o.Source +} + +func (o *GetDrainResponseBody2) GetFilter() *string { + if o == nil { + return nil + } + return o.Filter +} + +func (o *GetDrainResponseBody2) GetFilterV2() *GetDrainFilterV2Union2 { + if o == nil { + return nil + } + return o.FilterV2 +} + +func (o *GetDrainResponseBody2) GetIntegrationIcon() *string { + if o == nil { + return nil + } + return o.IntegrationIcon +} + +func (o *GetDrainResponseBody2) GetIntegrationConfigurationURI() *string { + if o == nil { + return nil + } + return o.IntegrationConfigurationURI +} + +func (o *GetDrainResponseBody2) GetIntegrationWebsite() *string { + if o == nil { + return nil + } + return o.IntegrationWebsite +} + +func (o *GetDrainResponseBody2) GetProjectsMetadata() []GetDrainProjectsMetadatum { + if o == nil { + return nil + } + return o.ProjectsMetadata +} + +type GetDrainCreatedFrom1 string + +const ( + GetDrainCreatedFrom1SelfServed GetDrainCreatedFrom1 = "self-served" + GetDrainCreatedFrom1Integration GetDrainCreatedFrom1 = "integration" +) + +func (e GetDrainCreatedFrom1) ToPointer() *GetDrainCreatedFrom1 { + return &e +} +func (e *GetDrainCreatedFrom1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "self-served": + fallthrough + case "integration": + *e = GetDrainCreatedFrom1(v) + return nil + default: + return fmt.Errorf("invalid value for GetDrainCreatedFrom1: %v", v) + } +} + +type GetDrainSchemasLog1 struct { +} + +func (g GetDrainSchemasLog1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetDrainSchemasLog1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, nil); err != nil { + return err + } + return nil +} + +type GetDrainTrace1 struct { +} + +func (g GetDrainTrace1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetDrainTrace1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, nil); err != nil { + return err + } + return nil +} + +type GetDrainAnalytics1 struct { +} + +func (g GetDrainAnalytics1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetDrainAnalytics1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, nil); err != nil { + return err + } + return nil +} + +type GetDrainSpeedInsights1 struct { +} + +func (g GetDrainSpeedInsights1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetDrainSpeedInsights1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, nil); err != nil { + return err + } + return nil +} + +type GetDrainSchemas1 struct { + Log *GetDrainSchemasLog1 `json:"log,omitempty"` + Trace *GetDrainTrace1 `json:"trace,omitempty"` + Analytics *GetDrainAnalytics1 `json:"analytics,omitempty"` + SpeedInsights *GetDrainSpeedInsights1 `json:"speed_insights,omitempty"` +} + +func (g GetDrainSchemas1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetDrainSchemas1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, nil); err != nil { + return err + } + return nil +} + +func (o *GetDrainSchemas1) GetLog() *GetDrainSchemasLog1 { + if o == nil { + return nil + } + return o.Log +} + +func (o *GetDrainSchemas1) GetTrace() *GetDrainTrace1 { + if o == nil { + return nil + } + return o.Trace +} + +func (o *GetDrainSchemas1) GetAnalytics() *GetDrainAnalytics1 { + if o == nil { + return nil + } + return o.Analytics +} + +func (o *GetDrainSchemas1) GetSpeedInsights() *GetDrainSpeedInsights1 { + if o == nil { + return nil + } + return o.SpeedInsights +} + +type GetDrainTypeInternal1 string + +const ( + GetDrainTypeInternal1Internal GetDrainTypeInternal1 = "internal" +) + +func (e GetDrainTypeInternal1) ToPointer() *GetDrainTypeInternal1 { + return &e +} +func (e *GetDrainTypeInternal1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "internal": + *e = GetDrainTypeInternal1(v) + return nil + default: + return fmt.Errorf("invalid value for GetDrainTypeInternal1: %v", v) + } +} + +type GetDrainTarget1 string + +const ( + GetDrainTarget1VercelOtelTracesDb GetDrainTarget1 = "vercel-otel-traces-db" +) + +func (e GetDrainTarget1) ToPointer() *GetDrainTarget1 { + return &e +} +func (e *GetDrainTarget1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "vercel-otel-traces-db": + *e = GetDrainTarget1(v) + return nil + default: + return fmt.Errorf("invalid value for GetDrainTarget1: %v", v) + } +} + +type GetDrainDeliveryVercelOtelTracesDb1 struct { + Type GetDrainTypeInternal1 `json:"type"` + Target GetDrainTarget1 `json:"target"` +} + +func (g GetDrainDeliveryVercelOtelTracesDb1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetDrainDeliveryVercelOtelTracesDb1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"type", "target"}); err != nil { + return err + } + return nil +} + +func (o *GetDrainDeliveryVercelOtelTracesDb1) GetType() GetDrainTypeInternal1 { + if o == nil { + return GetDrainTypeInternal1("") + } + return o.Type +} + +func (o *GetDrainDeliveryVercelOtelTracesDb1) GetTarget() GetDrainTarget1 { + if o == nil { + return GetDrainTarget1("") + } + return o.Target +} + +type GetDrainTypeClickhouse1 string + +const ( + GetDrainTypeClickhouse1Clickhouse GetDrainTypeClickhouse1 = "clickhouse" +) + +func (e GetDrainTypeClickhouse1) ToPointer() *GetDrainTypeClickhouse1 { + return &e +} +func (e *GetDrainTypeClickhouse1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "clickhouse": + *e = GetDrainTypeClickhouse1(v) + return nil + default: + return fmt.Errorf("invalid value for GetDrainTypeClickhouse1: %v", v) + } +} + +type GetDrainDeliveryClickhouse1 struct { + Type GetDrainTypeClickhouse1 `json:"type"` + Endpoint string `json:"endpoint"` + Table string `json:"table"` +} + +func (g GetDrainDeliveryClickhouse1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetDrainDeliveryClickhouse1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"type", "endpoint", "table"}); err != nil { + return err + } + return nil +} + +func (o *GetDrainDeliveryClickhouse1) GetType() GetDrainTypeClickhouse1 { + if o == nil { + return GetDrainTypeClickhouse1("") + } + return o.Type +} + +func (o *GetDrainDeliveryClickhouse1) GetEndpoint() string { + if o == nil { + return "" + } + return o.Endpoint +} + +func (o *GetDrainDeliveryClickhouse1) GetTable() string { + if o == nil { + return "" + } + return o.Table +} + +type GetDrainTypeOtlphttp1 string + +const ( + GetDrainTypeOtlphttp1Otlphttp GetDrainTypeOtlphttp1 = "otlphttp" +) + +func (e GetDrainTypeOtlphttp1) ToPointer() *GetDrainTypeOtlphttp1 { + return &e +} +func (e *GetDrainTypeOtlphttp1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "otlphttp": + *e = GetDrainTypeOtlphttp1(v) + return nil + default: + return fmt.Errorf("invalid value for GetDrainTypeOtlphttp1: %v", v) + } +} + +type GetDrainEndpoint1 struct { + Traces string `json:"traces"` +} + +func (g GetDrainEndpoint1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetDrainEndpoint1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"traces"}); err != nil { + return err + } + return nil +} + +func (o *GetDrainEndpoint1) GetTraces() string { + if o == nil { + return "" + } + return o.Traces +} + +type GetDrainEncoding2 string + +const ( + GetDrainEncoding2JSON GetDrainEncoding2 = "json" + GetDrainEncoding2Proto GetDrainEncoding2 = "proto" +) + +func (e GetDrainEncoding2) ToPointer() *GetDrainEncoding2 { + return &e +} +func (e *GetDrainEncoding2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "json": + fallthrough + case "proto": + *e = GetDrainEncoding2(v) + return nil + default: + return fmt.Errorf("invalid value for GetDrainEncoding2: %v", v) + } +} + +type GetDrainDeliveryOtlphttp1 struct { + Type GetDrainTypeOtlphttp1 `json:"type"` + Endpoint GetDrainEndpoint1 `json:"endpoint"` + Encoding GetDrainEncoding2 `json:"encoding"` + Headers map[string]string `json:"headers"` + Secret *string `json:"secret,omitempty"` +} + +func (g GetDrainDeliveryOtlphttp1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetDrainDeliveryOtlphttp1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"type", "endpoint", "encoding", "headers"}); err != nil { + return err + } + return nil +} + +func (o *GetDrainDeliveryOtlphttp1) GetType() GetDrainTypeOtlphttp1 { + if o == nil { + return GetDrainTypeOtlphttp1("") + } + return o.Type +} + +func (o *GetDrainDeliveryOtlphttp1) GetEndpoint() GetDrainEndpoint1 { + if o == nil { + return GetDrainEndpoint1{} + } + return o.Endpoint +} + +func (o *GetDrainDeliveryOtlphttp1) GetEncoding() GetDrainEncoding2 { + if o == nil { + return GetDrainEncoding2("") + } + return o.Encoding +} + +func (o *GetDrainDeliveryOtlphttp1) GetHeaders() map[string]string { + if o == nil { + return map[string]string{} + } + return o.Headers +} + +func (o *GetDrainDeliveryOtlphttp1) GetSecret() *string { + if o == nil { + return nil + } + return o.Secret +} + +type GetDrainTypeHTTP1 string + +const ( + GetDrainTypeHTTP1HTTP GetDrainTypeHTTP1 = "http" +) + +func (e GetDrainTypeHTTP1) ToPointer() *GetDrainTypeHTTP1 { + return &e +} +func (e *GetDrainTypeHTTP1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "http": + *e = GetDrainTypeHTTP1(v) + return nil + default: + return fmt.Errorf("invalid value for GetDrainTypeHTTP1: %v", v) + } +} + +type GetDrainEncoding1 string + +const ( + GetDrainEncoding1JSON GetDrainEncoding1 = "json" + GetDrainEncoding1Ndjson GetDrainEncoding1 = "ndjson" +) + +func (e GetDrainEncoding1) ToPointer() *GetDrainEncoding1 { + return &e +} +func (e *GetDrainEncoding1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "json": + fallthrough + case "ndjson": + *e = GetDrainEncoding1(v) + return nil + default: + return fmt.Errorf("invalid value for GetDrainEncoding1: %v", v) + } +} + +type GetDrainCompression1 string + +const ( + GetDrainCompression1Gzip GetDrainCompression1 = "gzip" + GetDrainCompression1None GetDrainCompression1 = "none" +) + +func (e GetDrainCompression1) ToPointer() *GetDrainCompression1 { + return &e +} +func (e *GetDrainCompression1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "gzip": + fallthrough + case "none": + *e = GetDrainCompression1(v) + return nil + default: + return fmt.Errorf("invalid value for GetDrainCompression1: %v", v) + } +} + +type GetDrainDeliveryHTTP1 struct { + Type GetDrainTypeHTTP1 `json:"type"` + Endpoint string `json:"endpoint"` + Encoding GetDrainEncoding1 `json:"encoding"` + Compression *GetDrainCompression1 `json:"compression,omitempty"` + Headers map[string]string `json:"headers"` + Secret *string `json:"secret,omitempty"` +} + +func (g GetDrainDeliveryHTTP1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetDrainDeliveryHTTP1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"type", "endpoint", "encoding", "headers"}); err != nil { + return err + } + return nil +} + +func (o *GetDrainDeliveryHTTP1) GetType() GetDrainTypeHTTP1 { + if o == nil { + return GetDrainTypeHTTP1("") + } + return o.Type +} + +func (o *GetDrainDeliveryHTTP1) GetEndpoint() string { + if o == nil { + return "" + } + return o.Endpoint +} + +func (o *GetDrainDeliveryHTTP1) GetEncoding() GetDrainEncoding1 { + if o == nil { + return GetDrainEncoding1("") + } + return o.Encoding +} + +func (o *GetDrainDeliveryHTTP1) GetCompression() *GetDrainCompression1 { + if o == nil { + return nil + } + return o.Compression +} + +func (o *GetDrainDeliveryHTTP1) GetHeaders() map[string]string { + if o == nil { + return map[string]string{} + } + return o.Headers +} + +func (o *GetDrainDeliveryHTTP1) GetSecret() *string { + if o == nil { + return nil + } + return o.Secret +} + +type GetDrainDeliveryUnion1Type string + +const ( + GetDrainDeliveryUnion1TypeGetDrainDeliveryHTTP1 GetDrainDeliveryUnion1Type = "getDrain_delivery_HTTP_1" + GetDrainDeliveryUnion1TypeGetDrainDeliveryOtlphttp1 GetDrainDeliveryUnion1Type = "getDrain_delivery_Otlphttp_1" + GetDrainDeliveryUnion1TypeGetDrainDeliveryClickhouse1 GetDrainDeliveryUnion1Type = "getDrain_delivery_Clickhouse_1" + GetDrainDeliveryUnion1TypeGetDrainDeliveryVercelOtelTracesDb1 GetDrainDeliveryUnion1Type = "getDrain_delivery_VercelOtelTracesDb_1" +) + +type GetDrainDeliveryUnion1 struct { + GetDrainDeliveryHTTP1 *GetDrainDeliveryHTTP1 `queryParam:"inline"` + GetDrainDeliveryOtlphttp1 *GetDrainDeliveryOtlphttp1 `queryParam:"inline"` + GetDrainDeliveryClickhouse1 *GetDrainDeliveryClickhouse1 `queryParam:"inline"` + GetDrainDeliveryVercelOtelTracesDb1 *GetDrainDeliveryVercelOtelTracesDb1 `queryParam:"inline"` + + Type GetDrainDeliveryUnion1Type +} + +func CreateGetDrainDeliveryUnion1GetDrainDeliveryHTTP1(getDrainDeliveryHTTP1 GetDrainDeliveryHTTP1) GetDrainDeliveryUnion1 { + typ := GetDrainDeliveryUnion1TypeGetDrainDeliveryHTTP1 + + return GetDrainDeliveryUnion1{ + GetDrainDeliveryHTTP1: &getDrainDeliveryHTTP1, + Type: typ, + } +} + +func CreateGetDrainDeliveryUnion1GetDrainDeliveryOtlphttp1(getDrainDeliveryOtlphttp1 GetDrainDeliveryOtlphttp1) GetDrainDeliveryUnion1 { + typ := GetDrainDeliveryUnion1TypeGetDrainDeliveryOtlphttp1 + + return GetDrainDeliveryUnion1{ + GetDrainDeliveryOtlphttp1: &getDrainDeliveryOtlphttp1, + Type: typ, + } +} + +func CreateGetDrainDeliveryUnion1GetDrainDeliveryClickhouse1(getDrainDeliveryClickhouse1 GetDrainDeliveryClickhouse1) GetDrainDeliveryUnion1 { + typ := GetDrainDeliveryUnion1TypeGetDrainDeliveryClickhouse1 + + return GetDrainDeliveryUnion1{ + GetDrainDeliveryClickhouse1: &getDrainDeliveryClickhouse1, + Type: typ, + } +} + +func CreateGetDrainDeliveryUnion1GetDrainDeliveryVercelOtelTracesDb1(getDrainDeliveryVercelOtelTracesDb1 GetDrainDeliveryVercelOtelTracesDb1) GetDrainDeliveryUnion1 { + typ := GetDrainDeliveryUnion1TypeGetDrainDeliveryVercelOtelTracesDb1 + + return GetDrainDeliveryUnion1{ + GetDrainDeliveryVercelOtelTracesDb1: &getDrainDeliveryVercelOtelTracesDb1, + Type: typ, + } +} + +func (u *GetDrainDeliveryUnion1) UnmarshalJSON(data []byte) error { + + var getDrainDeliveryHTTP1 GetDrainDeliveryHTTP1 = GetDrainDeliveryHTTP1{} + if err := utils.UnmarshalJSON(data, &getDrainDeliveryHTTP1, "", true, nil); err == nil { + u.GetDrainDeliveryHTTP1 = &getDrainDeliveryHTTP1 + u.Type = GetDrainDeliveryUnion1TypeGetDrainDeliveryHTTP1 + return nil + } + + var getDrainDeliveryOtlphttp1 GetDrainDeliveryOtlphttp1 = GetDrainDeliveryOtlphttp1{} + if err := utils.UnmarshalJSON(data, &getDrainDeliveryOtlphttp1, "", true, nil); err == nil { + u.GetDrainDeliveryOtlphttp1 = &getDrainDeliveryOtlphttp1 + u.Type = GetDrainDeliveryUnion1TypeGetDrainDeliveryOtlphttp1 + return nil + } + + var getDrainDeliveryClickhouse1 GetDrainDeliveryClickhouse1 = GetDrainDeliveryClickhouse1{} + if err := utils.UnmarshalJSON(data, &getDrainDeliveryClickhouse1, "", true, nil); err == nil { + u.GetDrainDeliveryClickhouse1 = &getDrainDeliveryClickhouse1 + u.Type = GetDrainDeliveryUnion1TypeGetDrainDeliveryClickhouse1 + return nil + } + + var getDrainDeliveryVercelOtelTracesDb1 GetDrainDeliveryVercelOtelTracesDb1 = GetDrainDeliveryVercelOtelTracesDb1{} + if err := utils.UnmarshalJSON(data, &getDrainDeliveryVercelOtelTracesDb1, "", true, nil); err == nil { + u.GetDrainDeliveryVercelOtelTracesDb1 = &getDrainDeliveryVercelOtelTracesDb1 + u.Type = GetDrainDeliveryUnion1TypeGetDrainDeliveryVercelOtelTracesDb1 + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for GetDrainDeliveryUnion1", string(data)) +} + +func (u GetDrainDeliveryUnion1) MarshalJSON() ([]byte, error) { + if u.GetDrainDeliveryHTTP1 != nil { + return utils.MarshalJSON(u.GetDrainDeliveryHTTP1, "", true) + } + + if u.GetDrainDeliveryOtlphttp1 != nil { + return utils.MarshalJSON(u.GetDrainDeliveryOtlphttp1, "", true) + } + + if u.GetDrainDeliveryClickhouse1 != nil { + return utils.MarshalJSON(u.GetDrainDeliveryClickhouse1, "", true) + } + + if u.GetDrainDeliveryVercelOtelTracesDb1 != nil { + return utils.MarshalJSON(u.GetDrainDeliveryVercelOtelTracesDb1, "", true) + } + + return nil, errors.New("could not marshal union type GetDrainDeliveryUnion1: all fields are null") +} + +type GetDrainTypeHeadSampling1 string + +const ( + GetDrainTypeHeadSampling1HeadSampling GetDrainTypeHeadSampling1 = "head_sampling" +) + +func (e GetDrainTypeHeadSampling1) ToPointer() *GetDrainTypeHeadSampling1 { + return &e +} +func (e *GetDrainTypeHeadSampling1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "head_sampling": + *e = GetDrainTypeHeadSampling1(v) + return nil + default: + return fmt.Errorf("invalid value for GetDrainTypeHeadSampling1: %v", v) + } +} + +type GetDrainEnv1 string + +const ( + GetDrainEnv1Production GetDrainEnv1 = "production" + GetDrainEnv1Preview GetDrainEnv1 = "preview" +) + +func (e GetDrainEnv1) ToPointer() *GetDrainEnv1 { + return &e +} +func (e *GetDrainEnv1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "production": + fallthrough + case "preview": + *e = GetDrainEnv1(v) + return nil + default: + return fmt.Errorf("invalid value for GetDrainEnv1: %v", v) + } +} + +type GetDrainSampling1 struct { + Type GetDrainTypeHeadSampling1 `json:"type"` + Rate float64 `json:"rate"` + Env *GetDrainEnv1 `json:"env,omitempty"` + RequestPath *string `json:"requestPath,omitempty"` +} + +func (g GetDrainSampling1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetDrainSampling1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"type", "rate"}); err != nil { + return err + } + return nil +} + +func (o *GetDrainSampling1) GetType() GetDrainTypeHeadSampling1 { + if o == nil { + return GetDrainTypeHeadSampling1("") + } + return o.Type +} + +func (o *GetDrainSampling1) GetRate() float64 { + if o == nil { + return 0.0 + } + return o.Rate +} + +func (o *GetDrainSampling1) GetEnv() *GetDrainEnv1 { + if o == nil { + return nil + } + return o.Env +} + +func (o *GetDrainSampling1) GetRequestPath() *string { + if o == nil { + return nil + } + return o.RequestPath +} + +type GetDrainStatus1 string + +const ( + GetDrainStatus1Enabled GetDrainStatus1 = "enabled" + GetDrainStatus1Disabled GetDrainStatus1 = "disabled" + GetDrainStatus1Errored GetDrainStatus1 = "errored" +) + +func (e GetDrainStatus1) ToPointer() *GetDrainStatus1 { + return &e +} +func (e *GetDrainStatus1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "enabled": + fallthrough + case "disabled": + fallthrough + case "errored": + *e = GetDrainStatus1(v) + return nil + default: + return fmt.Errorf("invalid value for GetDrainStatus1: %v", v) + } +} + +type GetDrainDisabledReason1 string + +const ( + GetDrainDisabledReason1DisabledByOwner GetDrainDisabledReason1 = "disabled-by-owner" + GetDrainDisabledReason1FeatureNotAvailable GetDrainDisabledReason1 = "feature-not-available" + GetDrainDisabledReason1AccountPlanDowngrade GetDrainDisabledReason1 = "account-plan-downgrade" + GetDrainDisabledReason1DisabledByAdmin GetDrainDisabledReason1 = "disabled-by-admin" +) + +func (e GetDrainDisabledReason1) ToPointer() *GetDrainDisabledReason1 { + return &e +} +func (e *GetDrainDisabledReason1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "disabled-by-owner": + fallthrough + case "feature-not-available": + fallthrough + case "account-plan-downgrade": + fallthrough + case "disabled-by-admin": + *e = GetDrainDisabledReason1(v) + return nil + default: + return fmt.Errorf("invalid value for GetDrainDisabledReason1: %v", v) + } +} + +type GetDrainKindIntegration1 string + +const ( + GetDrainKindIntegration1Integration GetDrainKindIntegration1 = "integration" +) + +func (e GetDrainKindIntegration1) ToPointer() *GetDrainKindIntegration1 { + return &e +} +func (e *GetDrainKindIntegration1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "integration": + *e = GetDrainKindIntegration1(v) + return nil + default: + return fmt.Errorf("invalid value for GetDrainKindIntegration1: %v", v) + } +} + +type GetDrainSourceIntegration1 struct { + Kind GetDrainKindIntegration1 `json:"kind"` + ResourceID *string `json:"resourceId,omitempty"` + ExternalResourceID *string `json:"externalResourceId,omitempty"` + IntegrationID string `json:"integrationId"` + IntegrationConfigurationID string `json:"integrationConfigurationId"` +} + +func (g GetDrainSourceIntegration1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetDrainSourceIntegration1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"kind", "integrationId", "integrationConfigurationId"}); err != nil { + return err + } + return nil +} + +func (o *GetDrainSourceIntegration1) GetKind() GetDrainKindIntegration1 { + if o == nil { + return GetDrainKindIntegration1("") + } + return o.Kind +} + +func (o *GetDrainSourceIntegration1) GetResourceID() *string { + if o == nil { + return nil + } + return o.ResourceID +} + +func (o *GetDrainSourceIntegration1) GetExternalResourceID() *string { + if o == nil { + return nil + } + return o.ExternalResourceID +} + +func (o *GetDrainSourceIntegration1) GetIntegrationID() string { + if o == nil { + return "" + } + return o.IntegrationID +} + +func (o *GetDrainSourceIntegration1) GetIntegrationConfigurationID() string { + if o == nil { + return "" + } + return o.IntegrationConfigurationID +} + +type GetDrainKindSelfServed1 string + +const ( + GetDrainKindSelfServed1SelfServed GetDrainKindSelfServed1 = "self-served" +) + +func (e GetDrainKindSelfServed1) ToPointer() *GetDrainKindSelfServed1 { + return &e +} +func (e *GetDrainKindSelfServed1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "self-served": + *e = GetDrainKindSelfServed1(v) + return nil + default: + return fmt.Errorf("invalid value for GetDrainKindSelfServed1: %v", v) + } +} + +type GetDrainSourceSelfServed1 struct { + Kind GetDrainKindSelfServed1 `json:"kind"` +} + +func (g GetDrainSourceSelfServed1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetDrainSourceSelfServed1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"kind"}); err != nil { + return err + } + return nil +} + +func (o *GetDrainSourceSelfServed1) GetKind() GetDrainKindSelfServed1 { + if o == nil { + return GetDrainKindSelfServed1("") + } + return o.Kind +} + +type GetDrainSourceUnion1Type string + +const ( + GetDrainSourceUnion1TypeGetDrainSourceSelfServed1 GetDrainSourceUnion1Type = "getDrain_source_SelfServed_1" + GetDrainSourceUnion1TypeGetDrainSourceIntegration1 GetDrainSourceUnion1Type = "getDrain_source_Integration_1" +) + +type GetDrainSourceUnion1 struct { + GetDrainSourceSelfServed1 *GetDrainSourceSelfServed1 `queryParam:"inline"` + GetDrainSourceIntegration1 *GetDrainSourceIntegration1 `queryParam:"inline"` + + Type GetDrainSourceUnion1Type +} + +func CreateGetDrainSourceUnion1GetDrainSourceSelfServed1(getDrainSourceSelfServed1 GetDrainSourceSelfServed1) GetDrainSourceUnion1 { + typ := GetDrainSourceUnion1TypeGetDrainSourceSelfServed1 + + return GetDrainSourceUnion1{ + GetDrainSourceSelfServed1: &getDrainSourceSelfServed1, + Type: typ, + } +} + +func CreateGetDrainSourceUnion1GetDrainSourceIntegration1(getDrainSourceIntegration1 GetDrainSourceIntegration1) GetDrainSourceUnion1 { + typ := GetDrainSourceUnion1TypeGetDrainSourceIntegration1 + + return GetDrainSourceUnion1{ + GetDrainSourceIntegration1: &getDrainSourceIntegration1, + Type: typ, + } +} + +func (u *GetDrainSourceUnion1) UnmarshalJSON(data []byte) error { + + var getDrainSourceIntegration1 GetDrainSourceIntegration1 = GetDrainSourceIntegration1{} + if err := utils.UnmarshalJSON(data, &getDrainSourceIntegration1, "", true, nil); err == nil { + u.GetDrainSourceIntegration1 = &getDrainSourceIntegration1 + u.Type = GetDrainSourceUnion1TypeGetDrainSourceIntegration1 + return nil + } + + var getDrainSourceSelfServed1 GetDrainSourceSelfServed1 = GetDrainSourceSelfServed1{} + if err := utils.UnmarshalJSON(data, &getDrainSourceSelfServed1, "", true, nil); err == nil { + u.GetDrainSourceSelfServed1 = &getDrainSourceSelfServed1 + u.Type = GetDrainSourceUnion1TypeGetDrainSourceSelfServed1 + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for GetDrainSourceUnion1", string(data)) +} + +func (u GetDrainSourceUnion1) MarshalJSON() ([]byte, error) { + if u.GetDrainSourceSelfServed1 != nil { + return utils.MarshalJSON(u.GetDrainSourceSelfServed1, "", true) + } + + if u.GetDrainSourceIntegration1 != nil { + return utils.MarshalJSON(u.GetDrainSourceIntegration1, "", true) + } + + return nil, errors.New("could not marshal union type GetDrainSourceUnion1: all fields are null") +} + +type GetDrainVersionV21 string + +const ( + GetDrainVersionV21V2 GetDrainVersionV21 = "v2" +) + +func (e GetDrainVersionV21) ToPointer() *GetDrainVersionV21 { + return &e +} +func (e *GetDrainVersionV21) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "v2": + *e = GetDrainVersionV21(v) + return nil + default: + return fmt.Errorf("invalid value for GetDrainVersionV21: %v", v) + } +} + +type GetDrainTypeOdata1 string + +const ( + GetDrainTypeOdata1Odata GetDrainTypeOdata1 = "odata" +) + +func (e GetDrainTypeOdata1) ToPointer() *GetDrainTypeOdata1 { + return &e +} +func (e *GetDrainTypeOdata1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "odata": + *e = GetDrainTypeOdata1(v) + return nil + default: + return fmt.Errorf("invalid value for GetDrainTypeOdata1: %v", v) + } +} + +type GetDrainFilterOdata1 struct { + Type GetDrainTypeOdata1 `json:"type"` + Text string `json:"text"` +} + +func (g GetDrainFilterOdata1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetDrainFilterOdata1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"type", "text"}); err != nil { + return err + } + return nil +} + +func (o *GetDrainFilterOdata1) GetType() GetDrainTypeOdata1 { + if o == nil { + return GetDrainTypeOdata1("") + } + return o.Type +} + +func (o *GetDrainFilterOdata1) GetText() string { + if o == nil { + return "" + } + return o.Text +} + +type GetDrainTypeBasic1 string + +const ( + GetDrainTypeBasic1Basic GetDrainTypeBasic1 = "basic" +) + +func (e GetDrainTypeBasic1) ToPointer() *GetDrainTypeBasic1 { + return &e +} +func (e *GetDrainTypeBasic1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "basic": + *e = GetDrainTypeBasic1(v) + return nil + default: + return fmt.Errorf("invalid value for GetDrainTypeBasic1: %v", v) + } +} + +type GetDrainProject1 struct { + Ids []string `json:"ids,omitempty"` +} + +func (g GetDrainProject1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetDrainProject1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, nil); err != nil { + return err + } + return nil +} + +func (o *GetDrainProject1) GetIds() []string { + if o == nil { + return nil + } + return o.Ids +} + +type GetDrainFilterV2Source1 string + +const ( + GetDrainFilterV2Source1Build GetDrainFilterV2Source1 = "build" + GetDrainFilterV2Source1Edge GetDrainFilterV2Source1 = "edge" + GetDrainFilterV2Source1Lambda GetDrainFilterV2Source1 = "lambda" + GetDrainFilterV2Source1Static GetDrainFilterV2Source1 = "static" + GetDrainFilterV2Source1External GetDrainFilterV2Source1 = "external" + GetDrainFilterV2Source1Firewall GetDrainFilterV2Source1 = "firewall" + GetDrainFilterV2Source1Redirect GetDrainFilterV2Source1 = "redirect" +) + +func (e GetDrainFilterV2Source1) ToPointer() *GetDrainFilterV2Source1 { + return &e +} +func (e *GetDrainFilterV2Source1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "build": + fallthrough + case "edge": + fallthrough + case "lambda": + fallthrough + case "static": + fallthrough + case "external": + fallthrough + case "firewall": + fallthrough + case "redirect": + *e = GetDrainFilterV2Source1(v) + return nil + default: + return fmt.Errorf("invalid value for GetDrainFilterV2Source1: %v", v) + } +} + +type GetDrainFilterV2Log1 struct { + Sources []GetDrainFilterV2Source1 `json:"sources,omitempty"` + LegacyExcludeCachedStaticAssetLogs *bool `json:"legacy_excludeCachedStaticAssetLogs,omitempty"` +} + +func (g GetDrainFilterV2Log1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetDrainFilterV2Log1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, nil); err != nil { + return err + } + return nil +} + +func (o *GetDrainFilterV2Log1) GetSources() []GetDrainFilterV2Source1 { + if o == nil { + return nil + } + return o.Sources +} + +func (o *GetDrainFilterV2Log1) GetLegacyExcludeCachedStaticAssetLogs() *bool { + if o == nil { + return nil + } + return o.LegacyExcludeCachedStaticAssetLogs +} + +type GetDrainEnvironment1 string + +const ( + GetDrainEnvironment1Production GetDrainEnvironment1 = "production" + GetDrainEnvironment1Preview GetDrainEnvironment1 = "preview" +) + +func (e GetDrainEnvironment1) ToPointer() *GetDrainEnvironment1 { + return &e +} +func (e *GetDrainEnvironment1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "production": + fallthrough + case "preview": + *e = GetDrainEnvironment1(v) + return nil + default: + return fmt.Errorf("invalid value for GetDrainEnvironment1: %v", v) + } +} + +type GetDrainDeployment1 struct { + Environments []GetDrainEnvironment1 `json:"environments,omitempty"` +} + +func (g GetDrainDeployment1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetDrainDeployment1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, nil); err != nil { + return err + } + return nil +} + +func (o *GetDrainDeployment1) GetEnvironments() []GetDrainEnvironment1 { + if o == nil { + return nil + } + return o.Environments +} + +type GetDrainFilterBasic1 struct { + Type GetDrainTypeBasic1 `json:"type"` + Project *GetDrainProject1 `json:"project,omitempty"` + Log *GetDrainFilterV2Log1 `json:"log,omitempty"` + Deployment *GetDrainDeployment1 `json:"deployment,omitempty"` +} + +func (g GetDrainFilterBasic1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetDrainFilterBasic1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"type"}); err != nil { + return err + } + return nil +} + +func (o *GetDrainFilterBasic1) GetType() GetDrainTypeBasic1 { + if o == nil { + return GetDrainTypeBasic1("") + } + return o.Type +} + +func (o *GetDrainFilterBasic1) GetProject() *GetDrainProject1 { + if o == nil { + return nil + } + return o.Project +} + +func (o *GetDrainFilterBasic1) GetLog() *GetDrainFilterV2Log1 { + if o == nil { + return nil + } + return o.Log +} + +func (o *GetDrainFilterBasic1) GetDeployment() *GetDrainDeployment1 { + if o == nil { + return nil + } + return o.Deployment +} + +type GetDrainFilterUnion1Type string + +const ( + GetDrainFilterUnion1TypeGetDrainFilterBasic1 GetDrainFilterUnion1Type = "getDrain_filter_Basic_1" + GetDrainFilterUnion1TypeGetDrainFilterOdata1 GetDrainFilterUnion1Type = "getDrain_filter_Odata_1" +) + +type GetDrainFilterUnion1 struct { + GetDrainFilterBasic1 *GetDrainFilterBasic1 `queryParam:"inline"` + GetDrainFilterOdata1 *GetDrainFilterOdata1 `queryParam:"inline"` + + Type GetDrainFilterUnion1Type +} + +func CreateGetDrainFilterUnion1GetDrainFilterBasic1(getDrainFilterBasic1 GetDrainFilterBasic1) GetDrainFilterUnion1 { + typ := GetDrainFilterUnion1TypeGetDrainFilterBasic1 + + return GetDrainFilterUnion1{ + GetDrainFilterBasic1: &getDrainFilterBasic1, + Type: typ, + } +} + +func CreateGetDrainFilterUnion1GetDrainFilterOdata1(getDrainFilterOdata1 GetDrainFilterOdata1) GetDrainFilterUnion1 { + typ := GetDrainFilterUnion1TypeGetDrainFilterOdata1 + + return GetDrainFilterUnion1{ + GetDrainFilterOdata1: &getDrainFilterOdata1, + Type: typ, + } +} + +func (u *GetDrainFilterUnion1) UnmarshalJSON(data []byte) error { + + var getDrainFilterOdata1 GetDrainFilterOdata1 = GetDrainFilterOdata1{} + if err := utils.UnmarshalJSON(data, &getDrainFilterOdata1, "", true, nil); err == nil { + u.GetDrainFilterOdata1 = &getDrainFilterOdata1 + u.Type = GetDrainFilterUnion1TypeGetDrainFilterOdata1 + return nil + } + + var getDrainFilterBasic1 GetDrainFilterBasic1 = GetDrainFilterBasic1{} + if err := utils.UnmarshalJSON(data, &getDrainFilterBasic1, "", true, nil); err == nil { + u.GetDrainFilterBasic1 = &getDrainFilterBasic1 + u.Type = GetDrainFilterUnion1TypeGetDrainFilterBasic1 + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for GetDrainFilterUnion1", string(data)) +} + +func (u GetDrainFilterUnion1) MarshalJSON() ([]byte, error) { + if u.GetDrainFilterBasic1 != nil { + return utils.MarshalJSON(u.GetDrainFilterBasic1, "", true) + } + + if u.GetDrainFilterOdata1 != nil { + return utils.MarshalJSON(u.GetDrainFilterOdata1, "", true) + } + + return nil, errors.New("could not marshal union type GetDrainFilterUnion1: all fields are null") +} + +type GetDrainFilterV2V21 struct { + Version GetDrainVersionV21 `json:"version"` + Filter GetDrainFilterUnion1 `json:"filter"` +} + +func (g GetDrainFilterV2V21) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetDrainFilterV2V21) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"version", "filter"}); err != nil { + return err + } + return nil +} + +func (o *GetDrainFilterV2V21) GetVersion() GetDrainVersionV21 { + if o == nil { + return GetDrainVersionV21("") + } + return o.Version +} + +func (o *GetDrainFilterV2V21) GetFilter() GetDrainFilterUnion1 { + if o == nil { + return GetDrainFilterUnion1{} + } + return o.Filter +} + +type GetDrainVersionV11 string + +const ( + GetDrainVersionV11V1 GetDrainVersionV11 = "v1" +) + +func (e GetDrainVersionV11) ToPointer() *GetDrainVersionV11 { + return &e +} +func (e *GetDrainVersionV11) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "v1": + *e = GetDrainVersionV11(v) + return nil + default: + return fmt.Errorf("invalid value for GetDrainVersionV11: %v", v) + } +} + +type GetDrainFilterV2V11 struct { + Version GetDrainVersionV11 `json:"version"` +} + +func (g GetDrainFilterV2V11) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetDrainFilterV2V11) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"version"}); err != nil { + return err + } + return nil +} + +func (o *GetDrainFilterV2V11) GetVersion() GetDrainVersionV11 { + if o == nil { + return GetDrainVersionV11("") + } + return o.Version +} + +type GetDrainFilterV2Union1Type string + +const ( + GetDrainFilterV2Union1TypeGetDrainFilterV2V11 GetDrainFilterV2Union1Type = "getDrain_filterV2_V1_1" + GetDrainFilterV2Union1TypeGetDrainFilterV2V21 GetDrainFilterV2Union1Type = "getDrain_filterV2_V2_1" +) + +type GetDrainFilterV2Union1 struct { + GetDrainFilterV2V11 *GetDrainFilterV2V11 `queryParam:"inline"` + GetDrainFilterV2V21 *GetDrainFilterV2V21 `queryParam:"inline"` + + Type GetDrainFilterV2Union1Type +} + +func CreateGetDrainFilterV2Union1GetDrainFilterV2V11(getDrainFilterV2V11 GetDrainFilterV2V11) GetDrainFilterV2Union1 { + typ := GetDrainFilterV2Union1TypeGetDrainFilterV2V11 + + return GetDrainFilterV2Union1{ + GetDrainFilterV2V11: &getDrainFilterV2V11, + Type: typ, + } +} + +func CreateGetDrainFilterV2Union1GetDrainFilterV2V21(getDrainFilterV2V21 GetDrainFilterV2V21) GetDrainFilterV2Union1 { + typ := GetDrainFilterV2Union1TypeGetDrainFilterV2V21 + + return GetDrainFilterV2Union1{ + GetDrainFilterV2V21: &getDrainFilterV2V21, + Type: typ, + } +} + +func (u *GetDrainFilterV2Union1) UnmarshalJSON(data []byte) error { + + var getDrainFilterV2V21 GetDrainFilterV2V21 = GetDrainFilterV2V21{} + if err := utils.UnmarshalJSON(data, &getDrainFilterV2V21, "", true, nil); err == nil { + u.GetDrainFilterV2V21 = &getDrainFilterV2V21 + u.Type = GetDrainFilterV2Union1TypeGetDrainFilterV2V21 + return nil + } + + var getDrainFilterV2V11 GetDrainFilterV2V11 = GetDrainFilterV2V11{} + if err := utils.UnmarshalJSON(data, &getDrainFilterV2V11, "", true, nil); err == nil { + u.GetDrainFilterV2V11 = &getDrainFilterV2V11 + u.Type = GetDrainFilterV2Union1TypeGetDrainFilterV2V11 + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for GetDrainFilterV2Union1", string(data)) +} + +func (u GetDrainFilterV2Union1) MarshalJSON() ([]byte, error) { + if u.GetDrainFilterV2V11 != nil { + return utils.MarshalJSON(u.GetDrainFilterV2V11, "", true) + } + + if u.GetDrainFilterV2V21 != nil { + return utils.MarshalJSON(u.GetDrainFilterV2V21, "", true) + } + + return nil, errors.New("could not marshal union type GetDrainFilterV2Union1: all fields are null") +} + +type GetDrainResponseBody1 struct { + ID string `json:"id"` + OwnerID string `json:"ownerId"` + Name string `json:"name"` + CreatedAt float64 `json:"createdAt"` + CreatedFrom *GetDrainCreatedFrom1 `json:"createdFrom,omitempty"` + UpdatedAt float64 `json:"updatedAt"` + ProjectIds []string `json:"projectIds,omitempty"` + Schemas *GetDrainSchemas1 `json:"schemas,omitempty"` + Delivery *GetDrainDeliveryUnion1 `json:"delivery,omitempty"` + Sampling []GetDrainSampling1 `json:"sampling,omitempty"` + TeamID *string `json:"teamId,omitempty"` + Status *GetDrainStatus1 `json:"status,omitempty"` + DisabledAt *float64 `json:"disabledAt,omitempty"` + DisabledReason *GetDrainDisabledReason1 `json:"disabledReason,omitempty"` + DisabledBy *string `json:"disabledBy,omitempty"` + FirstErrorTimestamp *float64 `json:"firstErrorTimestamp,omitempty"` + ConfigurationID *string `json:"configurationId,omitempty"` + ClientID *string `json:"clientId,omitempty"` + Source GetDrainSourceUnion1 `json:"source"` + Filter *string `json:"filter,omitempty"` + FilterV2 *GetDrainFilterV2Union1 `json:"filterV2,omitempty"` +} + +func (g GetDrainResponseBody1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetDrainResponseBody1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"id", "ownerId", "name", "createdAt", "updatedAt", "source"}); err != nil { + return err + } + return nil +} + +func (o *GetDrainResponseBody1) GetID() string { + if o == nil { + return "" + } + return o.ID +} + +func (o *GetDrainResponseBody1) GetOwnerID() string { + if o == nil { + return "" + } + return o.OwnerID +} + +func (o *GetDrainResponseBody1) GetName() string { + if o == nil { + return "" + } + return o.Name +} + +func (o *GetDrainResponseBody1) GetCreatedAt() float64 { + if o == nil { + return 0.0 + } + return o.CreatedAt +} + +func (o *GetDrainResponseBody1) GetCreatedFrom() *GetDrainCreatedFrom1 { + if o == nil { + return nil + } + return o.CreatedFrom +} + +func (o *GetDrainResponseBody1) GetUpdatedAt() float64 { + if o == nil { + return 0.0 + } + return o.UpdatedAt +} + +func (o *GetDrainResponseBody1) GetProjectIds() []string { + if o == nil { + return nil + } + return o.ProjectIds +} + +func (o *GetDrainResponseBody1) GetSchemas() *GetDrainSchemas1 { + if o == nil { + return nil + } + return o.Schemas +} + +func (o *GetDrainResponseBody1) GetDelivery() *GetDrainDeliveryUnion1 { + if o == nil { + return nil + } + return o.Delivery +} + +func (o *GetDrainResponseBody1) GetSampling() []GetDrainSampling1 { + if o == nil { + return nil + } + return o.Sampling +} + +func (o *GetDrainResponseBody1) GetTeamID() *string { + if o == nil { + return nil + } + return o.TeamID +} + +func (o *GetDrainResponseBody1) GetStatus() *GetDrainStatus1 { + if o == nil { + return nil + } + return o.Status +} + +func (o *GetDrainResponseBody1) GetDisabledAt() *float64 { + if o == nil { + return nil + } + return o.DisabledAt +} + +func (o *GetDrainResponseBody1) GetDisabledReason() *GetDrainDisabledReason1 { + if o == nil { + return nil + } + return o.DisabledReason +} + +func (o *GetDrainResponseBody1) GetDisabledBy() *string { + if o == nil { + return nil + } + return o.DisabledBy +} + +func (o *GetDrainResponseBody1) GetFirstErrorTimestamp() *float64 { + if o == nil { + return nil + } + return o.FirstErrorTimestamp +} + +func (o *GetDrainResponseBody1) GetConfigurationID() *string { + if o == nil { + return nil + } + return o.ConfigurationID +} + +func (o *GetDrainResponseBody1) GetClientID() *string { + if o == nil { + return nil + } + return o.ClientID +} + +func (o *GetDrainResponseBody1) GetSource() GetDrainSourceUnion1 { + if o == nil { + return GetDrainSourceUnion1{} + } + return o.Source +} + +func (o *GetDrainResponseBody1) GetFilter() *string { + if o == nil { + return nil + } + return o.Filter +} + +func (o *GetDrainResponseBody1) GetFilterV2() *GetDrainFilterV2Union1 { + if o == nil { + return nil + } + return o.FilterV2 +} + +type GetDrainResponseBodyType string + +const ( + GetDrainResponseBodyTypeGetDrainResponseBody1 GetDrainResponseBodyType = "getDrain_ResponseBody_1" + GetDrainResponseBodyTypeGetDrainResponseBody2 GetDrainResponseBodyType = "getDrain_ResponseBody_2" +) + +type GetDrainResponseBody struct { + GetDrainResponseBody1 *GetDrainResponseBody1 `queryParam:"inline"` + GetDrainResponseBody2 *GetDrainResponseBody2 `queryParam:"inline"` + + Type GetDrainResponseBodyType +} + +func CreateGetDrainResponseBodyGetDrainResponseBody1(getDrainResponseBody1 GetDrainResponseBody1) GetDrainResponseBody { + typ := GetDrainResponseBodyTypeGetDrainResponseBody1 + + return GetDrainResponseBody{ + GetDrainResponseBody1: &getDrainResponseBody1, + Type: typ, + } +} + +func CreateGetDrainResponseBodyGetDrainResponseBody2(getDrainResponseBody2 GetDrainResponseBody2) GetDrainResponseBody { + typ := GetDrainResponseBodyTypeGetDrainResponseBody2 + + return GetDrainResponseBody{ + GetDrainResponseBody2: &getDrainResponseBody2, + Type: typ, + } +} + +func (u *GetDrainResponseBody) UnmarshalJSON(data []byte) error { + + var getDrainResponseBody1 GetDrainResponseBody1 = GetDrainResponseBody1{} + if err := utils.UnmarshalJSON(data, &getDrainResponseBody1, "", true, nil); err == nil { + u.GetDrainResponseBody1 = &getDrainResponseBody1 + u.Type = GetDrainResponseBodyTypeGetDrainResponseBody1 + return nil + } + + var getDrainResponseBody2 GetDrainResponseBody2 = GetDrainResponseBody2{} + if err := utils.UnmarshalJSON(data, &getDrainResponseBody2, "", true, nil); err == nil { + u.GetDrainResponseBody2 = &getDrainResponseBody2 + u.Type = GetDrainResponseBodyTypeGetDrainResponseBody2 + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for GetDrainResponseBody", string(data)) +} + +func (u GetDrainResponseBody) MarshalJSON() ([]byte, error) { + if u.GetDrainResponseBody1 != nil { + return utils.MarshalJSON(u.GetDrainResponseBody1, "", true) + } + + if u.GetDrainResponseBody2 != nil { + return utils.MarshalJSON(u.GetDrainResponseBody2, "", true) + } + + return nil, errors.New("could not marshal union type GetDrainResponseBody: all fields are null") +} + +type GetDrainResponse struct { + HTTPMeta components.HTTPMetadata `json:"-"` + OneOf *GetDrainResponseBody +} + +func (o *GetDrainResponse) GetHTTPMeta() components.HTTPMetadata { + if o == nil { + return components.HTTPMetadata{} + } + return o.HTTPMeta +} + +func (o *GetDrainResponse) GetOneOf() *GetDrainResponseBody { + if o == nil { + return nil + } + return o.OneOf +} diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/getdrains.go b/src/__tests__/mockserver/internal/sdk/models/operations/getdrains.go new file mode 100644 index 000000000..b0f15824c --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/operations/getdrains.go @@ -0,0 +1,3709 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package operations + +import ( + "encoding/json" + "errors" + "fmt" + "mockserver/internal/sdk/models/components" + "mockserver/internal/sdk/utils" +) + +type GetDrainsRequest struct { + ProjectID *string `queryParam:"style=form,explode=true,name=projectId"` + IncludeMetadata *bool `default:"false" queryParam:"style=form,explode=true,name=includeMetadata"` + // The Team identifier to perform the request on behalf of. + TeamID *string `queryParam:"style=form,explode=true,name=teamId"` + // The Team slug to perform the request on behalf of. + Slug *string `queryParam:"style=form,explode=true,name=slug"` +} + +func (g GetDrainsRequest) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetDrainsRequest) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, nil); err != nil { + return err + } + return nil +} + +func (o *GetDrainsRequest) GetProjectID() *string { + if o == nil { + return nil + } + return o.ProjectID +} + +func (o *GetDrainsRequest) GetIncludeMetadata() *bool { + if o == nil { + return nil + } + return o.IncludeMetadata +} + +func (o *GetDrainsRequest) GetTeamID() *string { + if o == nil { + return nil + } + return o.TeamID +} + +func (o *GetDrainsRequest) GetSlug() *string { + if o == nil { + return nil + } + return o.Slug +} + +type GetDrainsCreatedFrom2 string + +const ( + GetDrainsCreatedFrom2SelfServed GetDrainsCreatedFrom2 = "self-served" + GetDrainsCreatedFrom2Integration GetDrainsCreatedFrom2 = "integration" +) + +func (e GetDrainsCreatedFrom2) ToPointer() *GetDrainsCreatedFrom2 { + return &e +} +func (e *GetDrainsCreatedFrom2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "self-served": + fallthrough + case "integration": + *e = GetDrainsCreatedFrom2(v) + return nil + default: + return fmt.Errorf("invalid value for GetDrainsCreatedFrom2: %v", v) + } +} + +type GetDrainsSchemasLog2 struct { +} + +func (g GetDrainsSchemasLog2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetDrainsSchemasLog2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, nil); err != nil { + return err + } + return nil +} + +type GetDrainsTrace2 struct { +} + +func (g GetDrainsTrace2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetDrainsTrace2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, nil); err != nil { + return err + } + return nil +} + +type GetDrainsAnalytics2 struct { +} + +func (g GetDrainsAnalytics2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetDrainsAnalytics2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, nil); err != nil { + return err + } + return nil +} + +type GetDrainsSpeedInsights2 struct { +} + +func (g GetDrainsSpeedInsights2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetDrainsSpeedInsights2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, nil); err != nil { + return err + } + return nil +} + +type GetDrainsSchemas2 struct { + Log *GetDrainsSchemasLog2 `json:"log,omitempty"` + Trace *GetDrainsTrace2 `json:"trace,omitempty"` + Analytics *GetDrainsAnalytics2 `json:"analytics,omitempty"` + SpeedInsights *GetDrainsSpeedInsights2 `json:"speed_insights,omitempty"` +} + +func (g GetDrainsSchemas2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetDrainsSchemas2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, nil); err != nil { + return err + } + return nil +} + +func (o *GetDrainsSchemas2) GetLog() *GetDrainsSchemasLog2 { + if o == nil { + return nil + } + return o.Log +} + +func (o *GetDrainsSchemas2) GetTrace() *GetDrainsTrace2 { + if o == nil { + return nil + } + return o.Trace +} + +func (o *GetDrainsSchemas2) GetAnalytics() *GetDrainsAnalytics2 { + if o == nil { + return nil + } + return o.Analytics +} + +func (o *GetDrainsSchemas2) GetSpeedInsights() *GetDrainsSpeedInsights2 { + if o == nil { + return nil + } + return o.SpeedInsights +} + +type GetDrainsTypeInternal2 string + +const ( + GetDrainsTypeInternal2Internal GetDrainsTypeInternal2 = "internal" +) + +func (e GetDrainsTypeInternal2) ToPointer() *GetDrainsTypeInternal2 { + return &e +} +func (e *GetDrainsTypeInternal2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "internal": + *e = GetDrainsTypeInternal2(v) + return nil + default: + return fmt.Errorf("invalid value for GetDrainsTypeInternal2: %v", v) + } +} + +type GetDrainsTarget2 string + +const ( + GetDrainsTarget2VercelOtelTracesDb GetDrainsTarget2 = "vercel-otel-traces-db" +) + +func (e GetDrainsTarget2) ToPointer() *GetDrainsTarget2 { + return &e +} +func (e *GetDrainsTarget2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "vercel-otel-traces-db": + *e = GetDrainsTarget2(v) + return nil + default: + return fmt.Errorf("invalid value for GetDrainsTarget2: %v", v) + } +} + +type GetDrainsDeliveryVercelOtelTracesDb2 struct { + Type GetDrainsTypeInternal2 `json:"type"` + Target GetDrainsTarget2 `json:"target"` +} + +func (g GetDrainsDeliveryVercelOtelTracesDb2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetDrainsDeliveryVercelOtelTracesDb2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"type", "target"}); err != nil { + return err + } + return nil +} + +func (o *GetDrainsDeliveryVercelOtelTracesDb2) GetType() GetDrainsTypeInternal2 { + if o == nil { + return GetDrainsTypeInternal2("") + } + return o.Type +} + +func (o *GetDrainsDeliveryVercelOtelTracesDb2) GetTarget() GetDrainsTarget2 { + if o == nil { + return GetDrainsTarget2("") + } + return o.Target +} + +type GetDrainsTypeClickhouse2 string + +const ( + GetDrainsTypeClickhouse2Clickhouse GetDrainsTypeClickhouse2 = "clickhouse" +) + +func (e GetDrainsTypeClickhouse2) ToPointer() *GetDrainsTypeClickhouse2 { + return &e +} +func (e *GetDrainsTypeClickhouse2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "clickhouse": + *e = GetDrainsTypeClickhouse2(v) + return nil + default: + return fmt.Errorf("invalid value for GetDrainsTypeClickhouse2: %v", v) + } +} + +type GetDrainsDeliveryClickhouse2 struct { + Type GetDrainsTypeClickhouse2 `json:"type"` + Endpoint string `json:"endpoint"` + Table string `json:"table"` +} + +func (g GetDrainsDeliveryClickhouse2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetDrainsDeliveryClickhouse2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"type", "endpoint", "table"}); err != nil { + return err + } + return nil +} + +func (o *GetDrainsDeliveryClickhouse2) GetType() GetDrainsTypeClickhouse2 { + if o == nil { + return GetDrainsTypeClickhouse2("") + } + return o.Type +} + +func (o *GetDrainsDeliveryClickhouse2) GetEndpoint() string { + if o == nil { + return "" + } + return o.Endpoint +} + +func (o *GetDrainsDeliveryClickhouse2) GetTable() string { + if o == nil { + return "" + } + return o.Table +} + +type GetDrainsTypeOtlphttp2 string + +const ( + GetDrainsTypeOtlphttp2Otlphttp GetDrainsTypeOtlphttp2 = "otlphttp" +) + +func (e GetDrainsTypeOtlphttp2) ToPointer() *GetDrainsTypeOtlphttp2 { + return &e +} +func (e *GetDrainsTypeOtlphttp2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "otlphttp": + *e = GetDrainsTypeOtlphttp2(v) + return nil + default: + return fmt.Errorf("invalid value for GetDrainsTypeOtlphttp2: %v", v) + } +} + +type GetDrainsEndpoint2 struct { + Traces string `json:"traces"` +} + +func (g GetDrainsEndpoint2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetDrainsEndpoint2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"traces"}); err != nil { + return err + } + return nil +} + +func (o *GetDrainsEndpoint2) GetTraces() string { + if o == nil { + return "" + } + return o.Traces +} + +type GetDrainsEncoding4 string + +const ( + GetDrainsEncoding4JSON GetDrainsEncoding4 = "json" + GetDrainsEncoding4Proto GetDrainsEncoding4 = "proto" +) + +func (e GetDrainsEncoding4) ToPointer() *GetDrainsEncoding4 { + return &e +} +func (e *GetDrainsEncoding4) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "json": + fallthrough + case "proto": + *e = GetDrainsEncoding4(v) + return nil + default: + return fmt.Errorf("invalid value for GetDrainsEncoding4: %v", v) + } +} + +type GetDrainsDeliveryOtlphttp2 struct { + Type GetDrainsTypeOtlphttp2 `json:"type"` + Endpoint GetDrainsEndpoint2 `json:"endpoint"` + Encoding GetDrainsEncoding4 `json:"encoding"` + Headers map[string]string `json:"headers"` + Secret *string `json:"secret,omitempty"` +} + +func (g GetDrainsDeliveryOtlphttp2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetDrainsDeliveryOtlphttp2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"type", "endpoint", "encoding", "headers"}); err != nil { + return err + } + return nil +} + +func (o *GetDrainsDeliveryOtlphttp2) GetType() GetDrainsTypeOtlphttp2 { + if o == nil { + return GetDrainsTypeOtlphttp2("") + } + return o.Type +} + +func (o *GetDrainsDeliveryOtlphttp2) GetEndpoint() GetDrainsEndpoint2 { + if o == nil { + return GetDrainsEndpoint2{} + } + return o.Endpoint +} + +func (o *GetDrainsDeliveryOtlphttp2) GetEncoding() GetDrainsEncoding4 { + if o == nil { + return GetDrainsEncoding4("") + } + return o.Encoding +} + +func (o *GetDrainsDeliveryOtlphttp2) GetHeaders() map[string]string { + if o == nil { + return map[string]string{} + } + return o.Headers +} + +func (o *GetDrainsDeliveryOtlphttp2) GetSecret() *string { + if o == nil { + return nil + } + return o.Secret +} + +type GetDrainsTypeHTTP2 string + +const ( + GetDrainsTypeHTTP2HTTP GetDrainsTypeHTTP2 = "http" +) + +func (e GetDrainsTypeHTTP2) ToPointer() *GetDrainsTypeHTTP2 { + return &e +} +func (e *GetDrainsTypeHTTP2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "http": + *e = GetDrainsTypeHTTP2(v) + return nil + default: + return fmt.Errorf("invalid value for GetDrainsTypeHTTP2: %v", v) + } +} + +type GetDrainsEncoding3 string + +const ( + GetDrainsEncoding3JSON GetDrainsEncoding3 = "json" + GetDrainsEncoding3Ndjson GetDrainsEncoding3 = "ndjson" +) + +func (e GetDrainsEncoding3) ToPointer() *GetDrainsEncoding3 { + return &e +} +func (e *GetDrainsEncoding3) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "json": + fallthrough + case "ndjson": + *e = GetDrainsEncoding3(v) + return nil + default: + return fmt.Errorf("invalid value for GetDrainsEncoding3: %v", v) + } +} + +type GetDrainsCompression2 string + +const ( + GetDrainsCompression2Gzip GetDrainsCompression2 = "gzip" + GetDrainsCompression2None GetDrainsCompression2 = "none" +) + +func (e GetDrainsCompression2) ToPointer() *GetDrainsCompression2 { + return &e +} +func (e *GetDrainsCompression2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "gzip": + fallthrough + case "none": + *e = GetDrainsCompression2(v) + return nil + default: + return fmt.Errorf("invalid value for GetDrainsCompression2: %v", v) + } +} + +type GetDrainsDeliveryHTTP2 struct { + Type GetDrainsTypeHTTP2 `json:"type"` + Endpoint string `json:"endpoint"` + Encoding GetDrainsEncoding3 `json:"encoding"` + Compression *GetDrainsCompression2 `json:"compression,omitempty"` + Headers map[string]string `json:"headers"` + Secret *string `json:"secret,omitempty"` +} + +func (g GetDrainsDeliveryHTTP2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetDrainsDeliveryHTTP2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"type", "endpoint", "encoding", "headers"}); err != nil { + return err + } + return nil +} + +func (o *GetDrainsDeliveryHTTP2) GetType() GetDrainsTypeHTTP2 { + if o == nil { + return GetDrainsTypeHTTP2("") + } + return o.Type +} + +func (o *GetDrainsDeliveryHTTP2) GetEndpoint() string { + if o == nil { + return "" + } + return o.Endpoint +} + +func (o *GetDrainsDeliveryHTTP2) GetEncoding() GetDrainsEncoding3 { + if o == nil { + return GetDrainsEncoding3("") + } + return o.Encoding +} + +func (o *GetDrainsDeliveryHTTP2) GetCompression() *GetDrainsCompression2 { + if o == nil { + return nil + } + return o.Compression +} + +func (o *GetDrainsDeliveryHTTP2) GetHeaders() map[string]string { + if o == nil { + return map[string]string{} + } + return o.Headers +} + +func (o *GetDrainsDeliveryHTTP2) GetSecret() *string { + if o == nil { + return nil + } + return o.Secret +} + +type GetDrainsDeliveryUnion2Type string + +const ( + GetDrainsDeliveryUnion2TypeGetDrainsDeliveryHTTP2 GetDrainsDeliveryUnion2Type = "getDrains_delivery_HTTP_2" + GetDrainsDeliveryUnion2TypeGetDrainsDeliveryOtlphttp2 GetDrainsDeliveryUnion2Type = "getDrains_delivery_Otlphttp_2" + GetDrainsDeliveryUnion2TypeGetDrainsDeliveryClickhouse2 GetDrainsDeliveryUnion2Type = "getDrains_delivery_Clickhouse_2" + GetDrainsDeliveryUnion2TypeGetDrainsDeliveryVercelOtelTracesDb2 GetDrainsDeliveryUnion2Type = "getDrains_delivery_VercelOtelTracesDb_2" +) + +type GetDrainsDeliveryUnion2 struct { + GetDrainsDeliveryHTTP2 *GetDrainsDeliveryHTTP2 `queryParam:"inline"` + GetDrainsDeliveryOtlphttp2 *GetDrainsDeliveryOtlphttp2 `queryParam:"inline"` + GetDrainsDeliveryClickhouse2 *GetDrainsDeliveryClickhouse2 `queryParam:"inline"` + GetDrainsDeliveryVercelOtelTracesDb2 *GetDrainsDeliveryVercelOtelTracesDb2 `queryParam:"inline"` + + Type GetDrainsDeliveryUnion2Type +} + +func CreateGetDrainsDeliveryUnion2GetDrainsDeliveryHTTP2(getDrainsDeliveryHTTP2 GetDrainsDeliveryHTTP2) GetDrainsDeliveryUnion2 { + typ := GetDrainsDeliveryUnion2TypeGetDrainsDeliveryHTTP2 + + return GetDrainsDeliveryUnion2{ + GetDrainsDeliveryHTTP2: &getDrainsDeliveryHTTP2, + Type: typ, + } +} + +func CreateGetDrainsDeliveryUnion2GetDrainsDeliveryOtlphttp2(getDrainsDeliveryOtlphttp2 GetDrainsDeliveryOtlphttp2) GetDrainsDeliveryUnion2 { + typ := GetDrainsDeliveryUnion2TypeGetDrainsDeliveryOtlphttp2 + + return GetDrainsDeliveryUnion2{ + GetDrainsDeliveryOtlphttp2: &getDrainsDeliveryOtlphttp2, + Type: typ, + } +} + +func CreateGetDrainsDeliveryUnion2GetDrainsDeliveryClickhouse2(getDrainsDeliveryClickhouse2 GetDrainsDeliveryClickhouse2) GetDrainsDeliveryUnion2 { + typ := GetDrainsDeliveryUnion2TypeGetDrainsDeliveryClickhouse2 + + return GetDrainsDeliveryUnion2{ + GetDrainsDeliveryClickhouse2: &getDrainsDeliveryClickhouse2, + Type: typ, + } +} + +func CreateGetDrainsDeliveryUnion2GetDrainsDeliveryVercelOtelTracesDb2(getDrainsDeliveryVercelOtelTracesDb2 GetDrainsDeliveryVercelOtelTracesDb2) GetDrainsDeliveryUnion2 { + typ := GetDrainsDeliveryUnion2TypeGetDrainsDeliveryVercelOtelTracesDb2 + + return GetDrainsDeliveryUnion2{ + GetDrainsDeliveryVercelOtelTracesDb2: &getDrainsDeliveryVercelOtelTracesDb2, + Type: typ, + } +} + +func (u *GetDrainsDeliveryUnion2) UnmarshalJSON(data []byte) error { + + var getDrainsDeliveryHTTP2 GetDrainsDeliveryHTTP2 = GetDrainsDeliveryHTTP2{} + if err := utils.UnmarshalJSON(data, &getDrainsDeliveryHTTP2, "", true, nil); err == nil { + u.GetDrainsDeliveryHTTP2 = &getDrainsDeliveryHTTP2 + u.Type = GetDrainsDeliveryUnion2TypeGetDrainsDeliveryHTTP2 + return nil + } + + var getDrainsDeliveryOtlphttp2 GetDrainsDeliveryOtlphttp2 = GetDrainsDeliveryOtlphttp2{} + if err := utils.UnmarshalJSON(data, &getDrainsDeliveryOtlphttp2, "", true, nil); err == nil { + u.GetDrainsDeliveryOtlphttp2 = &getDrainsDeliveryOtlphttp2 + u.Type = GetDrainsDeliveryUnion2TypeGetDrainsDeliveryOtlphttp2 + return nil + } + + var getDrainsDeliveryClickhouse2 GetDrainsDeliveryClickhouse2 = GetDrainsDeliveryClickhouse2{} + if err := utils.UnmarshalJSON(data, &getDrainsDeliveryClickhouse2, "", true, nil); err == nil { + u.GetDrainsDeliveryClickhouse2 = &getDrainsDeliveryClickhouse2 + u.Type = GetDrainsDeliveryUnion2TypeGetDrainsDeliveryClickhouse2 + return nil + } + + var getDrainsDeliveryVercelOtelTracesDb2 GetDrainsDeliveryVercelOtelTracesDb2 = GetDrainsDeliveryVercelOtelTracesDb2{} + if err := utils.UnmarshalJSON(data, &getDrainsDeliveryVercelOtelTracesDb2, "", true, nil); err == nil { + u.GetDrainsDeliveryVercelOtelTracesDb2 = &getDrainsDeliveryVercelOtelTracesDb2 + u.Type = GetDrainsDeliveryUnion2TypeGetDrainsDeliveryVercelOtelTracesDb2 + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for GetDrainsDeliveryUnion2", string(data)) +} + +func (u GetDrainsDeliveryUnion2) MarshalJSON() ([]byte, error) { + if u.GetDrainsDeliveryHTTP2 != nil { + return utils.MarshalJSON(u.GetDrainsDeliveryHTTP2, "", true) + } + + if u.GetDrainsDeliveryOtlphttp2 != nil { + return utils.MarshalJSON(u.GetDrainsDeliveryOtlphttp2, "", true) + } + + if u.GetDrainsDeliveryClickhouse2 != nil { + return utils.MarshalJSON(u.GetDrainsDeliveryClickhouse2, "", true) + } + + if u.GetDrainsDeliveryVercelOtelTracesDb2 != nil { + return utils.MarshalJSON(u.GetDrainsDeliveryVercelOtelTracesDb2, "", true) + } + + return nil, errors.New("could not marshal union type GetDrainsDeliveryUnion2: all fields are null") +} + +type GetDrainsTypeHeadSampling2 string + +const ( + GetDrainsTypeHeadSampling2HeadSampling GetDrainsTypeHeadSampling2 = "head_sampling" +) + +func (e GetDrainsTypeHeadSampling2) ToPointer() *GetDrainsTypeHeadSampling2 { + return &e +} +func (e *GetDrainsTypeHeadSampling2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "head_sampling": + *e = GetDrainsTypeHeadSampling2(v) + return nil + default: + return fmt.Errorf("invalid value for GetDrainsTypeHeadSampling2: %v", v) + } +} + +type GetDrainsEnv2 string + +const ( + GetDrainsEnv2Production GetDrainsEnv2 = "production" + GetDrainsEnv2Preview GetDrainsEnv2 = "preview" +) + +func (e GetDrainsEnv2) ToPointer() *GetDrainsEnv2 { + return &e +} +func (e *GetDrainsEnv2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "production": + fallthrough + case "preview": + *e = GetDrainsEnv2(v) + return nil + default: + return fmt.Errorf("invalid value for GetDrainsEnv2: %v", v) + } +} + +type GetDrainsSampling2 struct { + Type GetDrainsTypeHeadSampling2 `json:"type"` + Rate float64 `json:"rate"` + Env *GetDrainsEnv2 `json:"env,omitempty"` + RequestPath *string `json:"requestPath,omitempty"` +} + +func (g GetDrainsSampling2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetDrainsSampling2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"type", "rate"}); err != nil { + return err + } + return nil +} + +func (o *GetDrainsSampling2) GetType() GetDrainsTypeHeadSampling2 { + if o == nil { + return GetDrainsTypeHeadSampling2("") + } + return o.Type +} + +func (o *GetDrainsSampling2) GetRate() float64 { + if o == nil { + return 0.0 + } + return o.Rate +} + +func (o *GetDrainsSampling2) GetEnv() *GetDrainsEnv2 { + if o == nil { + return nil + } + return o.Env +} + +func (o *GetDrainsSampling2) GetRequestPath() *string { + if o == nil { + return nil + } + return o.RequestPath +} + +type GetDrainsStatus2 string + +const ( + GetDrainsStatus2Enabled GetDrainsStatus2 = "enabled" + GetDrainsStatus2Disabled GetDrainsStatus2 = "disabled" + GetDrainsStatus2Errored GetDrainsStatus2 = "errored" +) + +func (e GetDrainsStatus2) ToPointer() *GetDrainsStatus2 { + return &e +} +func (e *GetDrainsStatus2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "enabled": + fallthrough + case "disabled": + fallthrough + case "errored": + *e = GetDrainsStatus2(v) + return nil + default: + return fmt.Errorf("invalid value for GetDrainsStatus2: %v", v) + } +} + +type GetDrainsDisabledReason2 string + +const ( + GetDrainsDisabledReason2DisabledByOwner GetDrainsDisabledReason2 = "disabled-by-owner" + GetDrainsDisabledReason2FeatureNotAvailable GetDrainsDisabledReason2 = "feature-not-available" + GetDrainsDisabledReason2AccountPlanDowngrade GetDrainsDisabledReason2 = "account-plan-downgrade" + GetDrainsDisabledReason2DisabledByAdmin GetDrainsDisabledReason2 = "disabled-by-admin" +) + +func (e GetDrainsDisabledReason2) ToPointer() *GetDrainsDisabledReason2 { + return &e +} +func (e *GetDrainsDisabledReason2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "disabled-by-owner": + fallthrough + case "feature-not-available": + fallthrough + case "account-plan-downgrade": + fallthrough + case "disabled-by-admin": + *e = GetDrainsDisabledReason2(v) + return nil + default: + return fmt.Errorf("invalid value for GetDrainsDisabledReason2: %v", v) + } +} + +type GetDrainsKindIntegration2 string + +const ( + GetDrainsKindIntegration2Integration GetDrainsKindIntegration2 = "integration" +) + +func (e GetDrainsKindIntegration2) ToPointer() *GetDrainsKindIntegration2 { + return &e +} +func (e *GetDrainsKindIntegration2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "integration": + *e = GetDrainsKindIntegration2(v) + return nil + default: + return fmt.Errorf("invalid value for GetDrainsKindIntegration2: %v", v) + } +} + +type GetDrainsSourceIntegration2 struct { + Kind GetDrainsKindIntegration2 `json:"kind"` + ResourceID *string `json:"resourceId,omitempty"` + ExternalResourceID *string `json:"externalResourceId,omitempty"` + IntegrationID string `json:"integrationId"` + IntegrationConfigurationID string `json:"integrationConfigurationId"` +} + +func (g GetDrainsSourceIntegration2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetDrainsSourceIntegration2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"kind", "integrationId", "integrationConfigurationId"}); err != nil { + return err + } + return nil +} + +func (o *GetDrainsSourceIntegration2) GetKind() GetDrainsKindIntegration2 { + if o == nil { + return GetDrainsKindIntegration2("") + } + return o.Kind +} + +func (o *GetDrainsSourceIntegration2) GetResourceID() *string { + if o == nil { + return nil + } + return o.ResourceID +} + +func (o *GetDrainsSourceIntegration2) GetExternalResourceID() *string { + if o == nil { + return nil + } + return o.ExternalResourceID +} + +func (o *GetDrainsSourceIntegration2) GetIntegrationID() string { + if o == nil { + return "" + } + return o.IntegrationID +} + +func (o *GetDrainsSourceIntegration2) GetIntegrationConfigurationID() string { + if o == nil { + return "" + } + return o.IntegrationConfigurationID +} + +type GetDrainsKindSelfServed2 string + +const ( + GetDrainsKindSelfServed2SelfServed GetDrainsKindSelfServed2 = "self-served" +) + +func (e GetDrainsKindSelfServed2) ToPointer() *GetDrainsKindSelfServed2 { + return &e +} +func (e *GetDrainsKindSelfServed2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "self-served": + *e = GetDrainsKindSelfServed2(v) + return nil + default: + return fmt.Errorf("invalid value for GetDrainsKindSelfServed2: %v", v) + } +} + +type GetDrainsSourceSelfServed2 struct { + Kind GetDrainsKindSelfServed2 `json:"kind"` +} + +func (g GetDrainsSourceSelfServed2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetDrainsSourceSelfServed2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"kind"}); err != nil { + return err + } + return nil +} + +func (o *GetDrainsSourceSelfServed2) GetKind() GetDrainsKindSelfServed2 { + if o == nil { + return GetDrainsKindSelfServed2("") + } + return o.Kind +} + +type GetDrainsSourceUnion2Type string + +const ( + GetDrainsSourceUnion2TypeGetDrainsSourceSelfServed2 GetDrainsSourceUnion2Type = "getDrains_source_SelfServed_2" + GetDrainsSourceUnion2TypeGetDrainsSourceIntegration2 GetDrainsSourceUnion2Type = "getDrains_source_Integration_2" +) + +type GetDrainsSourceUnion2 struct { + GetDrainsSourceSelfServed2 *GetDrainsSourceSelfServed2 `queryParam:"inline"` + GetDrainsSourceIntegration2 *GetDrainsSourceIntegration2 `queryParam:"inline"` + + Type GetDrainsSourceUnion2Type +} + +func CreateGetDrainsSourceUnion2GetDrainsSourceSelfServed2(getDrainsSourceSelfServed2 GetDrainsSourceSelfServed2) GetDrainsSourceUnion2 { + typ := GetDrainsSourceUnion2TypeGetDrainsSourceSelfServed2 + + return GetDrainsSourceUnion2{ + GetDrainsSourceSelfServed2: &getDrainsSourceSelfServed2, + Type: typ, + } +} + +func CreateGetDrainsSourceUnion2GetDrainsSourceIntegration2(getDrainsSourceIntegration2 GetDrainsSourceIntegration2) GetDrainsSourceUnion2 { + typ := GetDrainsSourceUnion2TypeGetDrainsSourceIntegration2 + + return GetDrainsSourceUnion2{ + GetDrainsSourceIntegration2: &getDrainsSourceIntegration2, + Type: typ, + } +} + +func (u *GetDrainsSourceUnion2) UnmarshalJSON(data []byte) error { + + var getDrainsSourceIntegration2 GetDrainsSourceIntegration2 = GetDrainsSourceIntegration2{} + if err := utils.UnmarshalJSON(data, &getDrainsSourceIntegration2, "", true, nil); err == nil { + u.GetDrainsSourceIntegration2 = &getDrainsSourceIntegration2 + u.Type = GetDrainsSourceUnion2TypeGetDrainsSourceIntegration2 + return nil + } + + var getDrainsSourceSelfServed2 GetDrainsSourceSelfServed2 = GetDrainsSourceSelfServed2{} + if err := utils.UnmarshalJSON(data, &getDrainsSourceSelfServed2, "", true, nil); err == nil { + u.GetDrainsSourceSelfServed2 = &getDrainsSourceSelfServed2 + u.Type = GetDrainsSourceUnion2TypeGetDrainsSourceSelfServed2 + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for GetDrainsSourceUnion2", string(data)) +} + +func (u GetDrainsSourceUnion2) MarshalJSON() ([]byte, error) { + if u.GetDrainsSourceSelfServed2 != nil { + return utils.MarshalJSON(u.GetDrainsSourceSelfServed2, "", true) + } + + if u.GetDrainsSourceIntegration2 != nil { + return utils.MarshalJSON(u.GetDrainsSourceIntegration2, "", true) + } + + return nil, errors.New("could not marshal union type GetDrainsSourceUnion2: all fields are null") +} + +type GetDrainsVersionV22 string + +const ( + GetDrainsVersionV22V2 GetDrainsVersionV22 = "v2" +) + +func (e GetDrainsVersionV22) ToPointer() *GetDrainsVersionV22 { + return &e +} +func (e *GetDrainsVersionV22) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "v2": + *e = GetDrainsVersionV22(v) + return nil + default: + return fmt.Errorf("invalid value for GetDrainsVersionV22: %v", v) + } +} + +type GetDrainsTypeOdata2 string + +const ( + GetDrainsTypeOdata2Odata GetDrainsTypeOdata2 = "odata" +) + +func (e GetDrainsTypeOdata2) ToPointer() *GetDrainsTypeOdata2 { + return &e +} +func (e *GetDrainsTypeOdata2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "odata": + *e = GetDrainsTypeOdata2(v) + return nil + default: + return fmt.Errorf("invalid value for GetDrainsTypeOdata2: %v", v) + } +} + +type GetDrainsFilterOdata2 struct { + Type GetDrainsTypeOdata2 `json:"type"` + Text string `json:"text"` +} + +func (g GetDrainsFilterOdata2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetDrainsFilterOdata2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"type", "text"}); err != nil { + return err + } + return nil +} + +func (o *GetDrainsFilterOdata2) GetType() GetDrainsTypeOdata2 { + if o == nil { + return GetDrainsTypeOdata2("") + } + return o.Type +} + +func (o *GetDrainsFilterOdata2) GetText() string { + if o == nil { + return "" + } + return o.Text +} + +type GetDrainsTypeBasic2 string + +const ( + GetDrainsTypeBasic2Basic GetDrainsTypeBasic2 = "basic" +) + +func (e GetDrainsTypeBasic2) ToPointer() *GetDrainsTypeBasic2 { + return &e +} +func (e *GetDrainsTypeBasic2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "basic": + *e = GetDrainsTypeBasic2(v) + return nil + default: + return fmt.Errorf("invalid value for GetDrainsTypeBasic2: %v", v) + } +} + +type GetDrainsProject2 struct { + Ids []string `json:"ids,omitempty"` +} + +func (g GetDrainsProject2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetDrainsProject2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, nil); err != nil { + return err + } + return nil +} + +func (o *GetDrainsProject2) GetIds() []string { + if o == nil { + return nil + } + return o.Ids +} + +type GetDrainsFilterV2Source2 string + +const ( + GetDrainsFilterV2Source2Build GetDrainsFilterV2Source2 = "build" + GetDrainsFilterV2Source2Edge GetDrainsFilterV2Source2 = "edge" + GetDrainsFilterV2Source2Lambda GetDrainsFilterV2Source2 = "lambda" + GetDrainsFilterV2Source2Static GetDrainsFilterV2Source2 = "static" + GetDrainsFilterV2Source2External GetDrainsFilterV2Source2 = "external" + GetDrainsFilterV2Source2Firewall GetDrainsFilterV2Source2 = "firewall" + GetDrainsFilterV2Source2Redirect GetDrainsFilterV2Source2 = "redirect" +) + +func (e GetDrainsFilterV2Source2) ToPointer() *GetDrainsFilterV2Source2 { + return &e +} +func (e *GetDrainsFilterV2Source2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "build": + fallthrough + case "edge": + fallthrough + case "lambda": + fallthrough + case "static": + fallthrough + case "external": + fallthrough + case "firewall": + fallthrough + case "redirect": + *e = GetDrainsFilterV2Source2(v) + return nil + default: + return fmt.Errorf("invalid value for GetDrainsFilterV2Source2: %v", v) + } +} + +type GetDrainsFilterV2Log2 struct { + Sources []GetDrainsFilterV2Source2 `json:"sources,omitempty"` + LegacyExcludeCachedStaticAssetLogs *bool `json:"legacy_excludeCachedStaticAssetLogs,omitempty"` +} + +func (g GetDrainsFilterV2Log2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetDrainsFilterV2Log2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, nil); err != nil { + return err + } + return nil +} + +func (o *GetDrainsFilterV2Log2) GetSources() []GetDrainsFilterV2Source2 { + if o == nil { + return nil + } + return o.Sources +} + +func (o *GetDrainsFilterV2Log2) GetLegacyExcludeCachedStaticAssetLogs() *bool { + if o == nil { + return nil + } + return o.LegacyExcludeCachedStaticAssetLogs +} + +type GetDrainsEnvironment2 string + +const ( + GetDrainsEnvironment2Production GetDrainsEnvironment2 = "production" + GetDrainsEnvironment2Preview GetDrainsEnvironment2 = "preview" +) + +func (e GetDrainsEnvironment2) ToPointer() *GetDrainsEnvironment2 { + return &e +} +func (e *GetDrainsEnvironment2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "production": + fallthrough + case "preview": + *e = GetDrainsEnvironment2(v) + return nil + default: + return fmt.Errorf("invalid value for GetDrainsEnvironment2: %v", v) + } +} + +type GetDrainsDeployment2 struct { + Environments []GetDrainsEnvironment2 `json:"environments,omitempty"` +} + +func (g GetDrainsDeployment2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetDrainsDeployment2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, nil); err != nil { + return err + } + return nil +} + +func (o *GetDrainsDeployment2) GetEnvironments() []GetDrainsEnvironment2 { + if o == nil { + return nil + } + return o.Environments +} + +type GetDrainsFilterBasic2 struct { + Type GetDrainsTypeBasic2 `json:"type"` + Project *GetDrainsProject2 `json:"project,omitempty"` + Log *GetDrainsFilterV2Log2 `json:"log,omitempty"` + Deployment *GetDrainsDeployment2 `json:"deployment,omitempty"` +} + +func (g GetDrainsFilterBasic2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetDrainsFilterBasic2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"type"}); err != nil { + return err + } + return nil +} + +func (o *GetDrainsFilterBasic2) GetType() GetDrainsTypeBasic2 { + if o == nil { + return GetDrainsTypeBasic2("") + } + return o.Type +} + +func (o *GetDrainsFilterBasic2) GetProject() *GetDrainsProject2 { + if o == nil { + return nil + } + return o.Project +} + +func (o *GetDrainsFilterBasic2) GetLog() *GetDrainsFilterV2Log2 { + if o == nil { + return nil + } + return o.Log +} + +func (o *GetDrainsFilterBasic2) GetDeployment() *GetDrainsDeployment2 { + if o == nil { + return nil + } + return o.Deployment +} + +type GetDrainsFilterUnion2Type string + +const ( + GetDrainsFilterUnion2TypeGetDrainsFilterBasic2 GetDrainsFilterUnion2Type = "getDrains_filter_Basic_2" + GetDrainsFilterUnion2TypeGetDrainsFilterOdata2 GetDrainsFilterUnion2Type = "getDrains_filter_Odata_2" +) + +type GetDrainsFilterUnion2 struct { + GetDrainsFilterBasic2 *GetDrainsFilterBasic2 `queryParam:"inline"` + GetDrainsFilterOdata2 *GetDrainsFilterOdata2 `queryParam:"inline"` + + Type GetDrainsFilterUnion2Type +} + +func CreateGetDrainsFilterUnion2GetDrainsFilterBasic2(getDrainsFilterBasic2 GetDrainsFilterBasic2) GetDrainsFilterUnion2 { + typ := GetDrainsFilterUnion2TypeGetDrainsFilterBasic2 + + return GetDrainsFilterUnion2{ + GetDrainsFilterBasic2: &getDrainsFilterBasic2, + Type: typ, + } +} + +func CreateGetDrainsFilterUnion2GetDrainsFilterOdata2(getDrainsFilterOdata2 GetDrainsFilterOdata2) GetDrainsFilterUnion2 { + typ := GetDrainsFilterUnion2TypeGetDrainsFilterOdata2 + + return GetDrainsFilterUnion2{ + GetDrainsFilterOdata2: &getDrainsFilterOdata2, + Type: typ, + } +} + +func (u *GetDrainsFilterUnion2) UnmarshalJSON(data []byte) error { + + var getDrainsFilterOdata2 GetDrainsFilterOdata2 = GetDrainsFilterOdata2{} + if err := utils.UnmarshalJSON(data, &getDrainsFilterOdata2, "", true, nil); err == nil { + u.GetDrainsFilterOdata2 = &getDrainsFilterOdata2 + u.Type = GetDrainsFilterUnion2TypeGetDrainsFilterOdata2 + return nil + } + + var getDrainsFilterBasic2 GetDrainsFilterBasic2 = GetDrainsFilterBasic2{} + if err := utils.UnmarshalJSON(data, &getDrainsFilterBasic2, "", true, nil); err == nil { + u.GetDrainsFilterBasic2 = &getDrainsFilterBasic2 + u.Type = GetDrainsFilterUnion2TypeGetDrainsFilterBasic2 + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for GetDrainsFilterUnion2", string(data)) +} + +func (u GetDrainsFilterUnion2) MarshalJSON() ([]byte, error) { + if u.GetDrainsFilterBasic2 != nil { + return utils.MarshalJSON(u.GetDrainsFilterBasic2, "", true) + } + + if u.GetDrainsFilterOdata2 != nil { + return utils.MarshalJSON(u.GetDrainsFilterOdata2, "", true) + } + + return nil, errors.New("could not marshal union type GetDrainsFilterUnion2: all fields are null") +} + +type GetDrainsFilterV2V22 struct { + Version GetDrainsVersionV22 `json:"version"` + Filter GetDrainsFilterUnion2 `json:"filter"` +} + +func (g GetDrainsFilterV2V22) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetDrainsFilterV2V22) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"version", "filter"}); err != nil { + return err + } + return nil +} + +func (o *GetDrainsFilterV2V22) GetVersion() GetDrainsVersionV22 { + if o == nil { + return GetDrainsVersionV22("") + } + return o.Version +} + +func (o *GetDrainsFilterV2V22) GetFilter() GetDrainsFilterUnion2 { + if o == nil { + return GetDrainsFilterUnion2{} + } + return o.Filter +} + +type GetDrainsVersionV12 string + +const ( + GetDrainsVersionV12V1 GetDrainsVersionV12 = "v1" +) + +func (e GetDrainsVersionV12) ToPointer() *GetDrainsVersionV12 { + return &e +} +func (e *GetDrainsVersionV12) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "v1": + *e = GetDrainsVersionV12(v) + return nil + default: + return fmt.Errorf("invalid value for GetDrainsVersionV12: %v", v) + } +} + +type GetDrainsFilterV2V12 struct { + Version GetDrainsVersionV12 `json:"version"` +} + +func (g GetDrainsFilterV2V12) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetDrainsFilterV2V12) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"version"}); err != nil { + return err + } + return nil +} + +func (o *GetDrainsFilterV2V12) GetVersion() GetDrainsVersionV12 { + if o == nil { + return GetDrainsVersionV12("") + } + return o.Version +} + +type GetDrainsFilterV2Union2Type string + +const ( + GetDrainsFilterV2Union2TypeGetDrainsFilterV2V12 GetDrainsFilterV2Union2Type = "getDrains_filterV2_V1_2" + GetDrainsFilterV2Union2TypeGetDrainsFilterV2V22 GetDrainsFilterV2Union2Type = "getDrains_filterV2_V2_2" +) + +type GetDrainsFilterV2Union2 struct { + GetDrainsFilterV2V12 *GetDrainsFilterV2V12 `queryParam:"inline"` + GetDrainsFilterV2V22 *GetDrainsFilterV2V22 `queryParam:"inline"` + + Type GetDrainsFilterV2Union2Type +} + +func CreateGetDrainsFilterV2Union2GetDrainsFilterV2V12(getDrainsFilterV2V12 GetDrainsFilterV2V12) GetDrainsFilterV2Union2 { + typ := GetDrainsFilterV2Union2TypeGetDrainsFilterV2V12 + + return GetDrainsFilterV2Union2{ + GetDrainsFilterV2V12: &getDrainsFilterV2V12, + Type: typ, + } +} + +func CreateGetDrainsFilterV2Union2GetDrainsFilterV2V22(getDrainsFilterV2V22 GetDrainsFilterV2V22) GetDrainsFilterV2Union2 { + typ := GetDrainsFilterV2Union2TypeGetDrainsFilterV2V22 + + return GetDrainsFilterV2Union2{ + GetDrainsFilterV2V22: &getDrainsFilterV2V22, + Type: typ, + } +} + +func (u *GetDrainsFilterV2Union2) UnmarshalJSON(data []byte) error { + + var getDrainsFilterV2V22 GetDrainsFilterV2V22 = GetDrainsFilterV2V22{} + if err := utils.UnmarshalJSON(data, &getDrainsFilterV2V22, "", true, nil); err == nil { + u.GetDrainsFilterV2V22 = &getDrainsFilterV2V22 + u.Type = GetDrainsFilterV2Union2TypeGetDrainsFilterV2V22 + return nil + } + + var getDrainsFilterV2V12 GetDrainsFilterV2V12 = GetDrainsFilterV2V12{} + if err := utils.UnmarshalJSON(data, &getDrainsFilterV2V12, "", true, nil); err == nil { + u.GetDrainsFilterV2V12 = &getDrainsFilterV2V12 + u.Type = GetDrainsFilterV2Union2TypeGetDrainsFilterV2V12 + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for GetDrainsFilterV2Union2", string(data)) +} + +func (u GetDrainsFilterV2Union2) MarshalJSON() ([]byte, error) { + if u.GetDrainsFilterV2V12 != nil { + return utils.MarshalJSON(u.GetDrainsFilterV2V12, "", true) + } + + if u.GetDrainsFilterV2V22 != nil { + return utils.MarshalJSON(u.GetDrainsFilterV2V22, "", true) + } + + return nil, errors.New("could not marshal union type GetDrainsFilterV2Union2: all fields are null") +} + +type GetDrainsFramework string + +const ( + GetDrainsFrameworkBlitzjs GetDrainsFramework = "blitzjs" + GetDrainsFrameworkNextjs GetDrainsFramework = "nextjs" + GetDrainsFrameworkGatsby GetDrainsFramework = "gatsby" + GetDrainsFrameworkRemix GetDrainsFramework = "remix" + GetDrainsFrameworkReactRouter GetDrainsFramework = "react-router" + GetDrainsFrameworkAstro GetDrainsFramework = "astro" + GetDrainsFrameworkHexo GetDrainsFramework = "hexo" + GetDrainsFrameworkEleventy GetDrainsFramework = "eleventy" + GetDrainsFrameworkDocusaurus2 GetDrainsFramework = "docusaurus-2" + GetDrainsFrameworkDocusaurus GetDrainsFramework = "docusaurus" + GetDrainsFrameworkPreact GetDrainsFramework = "preact" + GetDrainsFrameworkSolidstart1 GetDrainsFramework = "solidstart-1" + GetDrainsFrameworkSolidstart GetDrainsFramework = "solidstart" + GetDrainsFrameworkDojo GetDrainsFramework = "dojo" + GetDrainsFrameworkEmber GetDrainsFramework = "ember" + GetDrainsFrameworkVue GetDrainsFramework = "vue" + GetDrainsFrameworkScully GetDrainsFramework = "scully" + GetDrainsFrameworkIonicAngular GetDrainsFramework = "ionic-angular" + GetDrainsFrameworkAngular GetDrainsFramework = "angular" + GetDrainsFrameworkPolymer GetDrainsFramework = "polymer" + GetDrainsFrameworkSvelte GetDrainsFramework = "svelte" + GetDrainsFrameworkSveltekit GetDrainsFramework = "sveltekit" + GetDrainsFrameworkSveltekit1 GetDrainsFramework = "sveltekit-1" + GetDrainsFrameworkIonicReact GetDrainsFramework = "ionic-react" + GetDrainsFrameworkCreateReactApp GetDrainsFramework = "create-react-app" + GetDrainsFrameworkGridsome GetDrainsFramework = "gridsome" + GetDrainsFrameworkUmijs GetDrainsFramework = "umijs" + GetDrainsFrameworkSapper GetDrainsFramework = "sapper" + GetDrainsFrameworkSaber GetDrainsFramework = "saber" + GetDrainsFrameworkStencil GetDrainsFramework = "stencil" + GetDrainsFrameworkNuxtjs GetDrainsFramework = "nuxtjs" + GetDrainsFrameworkRedwoodjs GetDrainsFramework = "redwoodjs" + GetDrainsFrameworkHugo GetDrainsFramework = "hugo" + GetDrainsFrameworkJekyll GetDrainsFramework = "jekyll" + GetDrainsFrameworkBrunch GetDrainsFramework = "brunch" + GetDrainsFrameworkMiddleman GetDrainsFramework = "middleman" + GetDrainsFrameworkZola GetDrainsFramework = "zola" + GetDrainsFrameworkHydrogen GetDrainsFramework = "hydrogen" + GetDrainsFrameworkVite GetDrainsFramework = "vite" + GetDrainsFrameworkTanstackStart GetDrainsFramework = "tanstack-start" + GetDrainsFrameworkVitepress GetDrainsFramework = "vitepress" + GetDrainsFrameworkVuepress GetDrainsFramework = "vuepress" + GetDrainsFrameworkParcel GetDrainsFramework = "parcel" + GetDrainsFrameworkFastapi GetDrainsFramework = "fastapi" + GetDrainsFrameworkFlask GetDrainsFramework = "flask" + GetDrainsFrameworkFasthtml GetDrainsFramework = "fasthtml" + GetDrainsFrameworkSanityV3 GetDrainsFramework = "sanity-v3" + GetDrainsFrameworkSanity GetDrainsFramework = "sanity" + GetDrainsFrameworkStorybook GetDrainsFramework = "storybook" + GetDrainsFrameworkNitro GetDrainsFramework = "nitro" + GetDrainsFrameworkHono GetDrainsFramework = "hono" + GetDrainsFrameworkExpress GetDrainsFramework = "express" + GetDrainsFrameworkH3 GetDrainsFramework = "h3" + GetDrainsFrameworkNestjs GetDrainsFramework = "nestjs" + GetDrainsFrameworkElysia GetDrainsFramework = "elysia" + GetDrainsFrameworkFastify GetDrainsFramework = "fastify" + GetDrainsFrameworkXmcp GetDrainsFramework = "xmcp" +) + +func (e GetDrainsFramework) ToPointer() *GetDrainsFramework { + return &e +} +func (e *GetDrainsFramework) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "blitzjs": + fallthrough + case "nextjs": + fallthrough + case "gatsby": + fallthrough + case "remix": + fallthrough + case "react-router": + fallthrough + case "astro": + fallthrough + case "hexo": + fallthrough + case "eleventy": + fallthrough + case "docusaurus-2": + fallthrough + case "docusaurus": + fallthrough + case "preact": + fallthrough + case "solidstart-1": + fallthrough + case "solidstart": + fallthrough + case "dojo": + fallthrough + case "ember": + fallthrough + case "vue": + fallthrough + case "scully": + fallthrough + case "ionic-angular": + fallthrough + case "angular": + fallthrough + case "polymer": + fallthrough + case "svelte": + fallthrough + case "sveltekit": + fallthrough + case "sveltekit-1": + fallthrough + case "ionic-react": + fallthrough + case "create-react-app": + fallthrough + case "gridsome": + fallthrough + case "umijs": + fallthrough + case "sapper": + fallthrough + case "saber": + fallthrough + case "stencil": + fallthrough + case "nuxtjs": + fallthrough + case "redwoodjs": + fallthrough + case "hugo": + fallthrough + case "jekyll": + fallthrough + case "brunch": + fallthrough + case "middleman": + fallthrough + case "zola": + fallthrough + case "hydrogen": + fallthrough + case "vite": + fallthrough + case "tanstack-start": + fallthrough + case "vitepress": + fallthrough + case "vuepress": + fallthrough + case "parcel": + fallthrough + case "fastapi": + fallthrough + case "flask": + fallthrough + case "fasthtml": + fallthrough + case "sanity-v3": + fallthrough + case "sanity": + fallthrough + case "storybook": + fallthrough + case "nitro": + fallthrough + case "hono": + fallthrough + case "express": + fallthrough + case "h3": + fallthrough + case "nestjs": + fallthrough + case "elysia": + fallthrough + case "fastify": + fallthrough + case "xmcp": + *e = GetDrainsFramework(v) + return nil + default: + return fmt.Errorf("invalid value for GetDrainsFramework: %v", v) + } +} + +type GetDrainsProjectsMetadatum struct { + ID string `json:"id"` + Name string `json:"name"` + Framework *GetDrainsFramework `json:"framework,omitempty"` + LatestDeployment *string `json:"latestDeployment,omitempty"` +} + +func (g GetDrainsProjectsMetadatum) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetDrainsProjectsMetadatum) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"id", "name"}); err != nil { + return err + } + return nil +} + +func (o *GetDrainsProjectsMetadatum) GetID() string { + if o == nil { + return "" + } + return o.ID +} + +func (o *GetDrainsProjectsMetadatum) GetName() string { + if o == nil { + return "" + } + return o.Name +} + +func (o *GetDrainsProjectsMetadatum) GetFramework() *GetDrainsFramework { + if o == nil { + return nil + } + return o.Framework +} + +func (o *GetDrainsProjectsMetadatum) GetLatestDeployment() *string { + if o == nil { + return nil + } + return o.LatestDeployment +} + +type DrainsGetDrains2 struct { + ID string `json:"id"` + OwnerID string `json:"ownerId"` + Name string `json:"name"` + CreatedAt float64 `json:"createdAt"` + CreatedFrom *GetDrainsCreatedFrom2 `json:"createdFrom,omitempty"` + UpdatedAt float64 `json:"updatedAt"` + ProjectIds []string `json:"projectIds,omitempty"` + Schemas *GetDrainsSchemas2 `json:"schemas,omitempty"` + Delivery *GetDrainsDeliveryUnion2 `json:"delivery,omitempty"` + Sampling []GetDrainsSampling2 `json:"sampling,omitempty"` + TeamID *string `json:"teamId,omitempty"` + Status *GetDrainsStatus2 `json:"status,omitempty"` + DisabledAt *float64 `json:"disabledAt,omitempty"` + DisabledReason *GetDrainsDisabledReason2 `json:"disabledReason,omitempty"` + DisabledBy *string `json:"disabledBy,omitempty"` + FirstErrorTimestamp *float64 `json:"firstErrorTimestamp,omitempty"` + ConfigurationID *string `json:"configurationId,omitempty"` + ClientID *string `json:"clientId,omitempty"` + Source GetDrainsSourceUnion2 `json:"source"` + Filter *string `json:"filter,omitempty"` + FilterV2 *GetDrainsFilterV2Union2 `json:"filterV2,omitempty"` + IntegrationIcon *string `json:"integrationIcon,omitempty"` + IntegrationConfigurationURI *string `json:"integrationConfigurationUri,omitempty"` + IntegrationWebsite *string `json:"integrationWebsite,omitempty"` + ProjectsMetadata []GetDrainsProjectsMetadatum `json:"projectsMetadata,omitempty"` +} + +func (d DrainsGetDrains2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(d, "", false) +} + +func (d *DrainsGetDrains2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &d, "", false, []string{"id", "ownerId", "name", "createdAt", "updatedAt", "source"}); err != nil { + return err + } + return nil +} + +func (o *DrainsGetDrains2) GetID() string { + if o == nil { + return "" + } + return o.ID +} + +func (o *DrainsGetDrains2) GetOwnerID() string { + if o == nil { + return "" + } + return o.OwnerID +} + +func (o *DrainsGetDrains2) GetName() string { + if o == nil { + return "" + } + return o.Name +} + +func (o *DrainsGetDrains2) GetCreatedAt() float64 { + if o == nil { + return 0.0 + } + return o.CreatedAt +} + +func (o *DrainsGetDrains2) GetCreatedFrom() *GetDrainsCreatedFrom2 { + if o == nil { + return nil + } + return o.CreatedFrom +} + +func (o *DrainsGetDrains2) GetUpdatedAt() float64 { + if o == nil { + return 0.0 + } + return o.UpdatedAt +} + +func (o *DrainsGetDrains2) GetProjectIds() []string { + if o == nil { + return nil + } + return o.ProjectIds +} + +func (o *DrainsGetDrains2) GetSchemas() *GetDrainsSchemas2 { + if o == nil { + return nil + } + return o.Schemas +} + +func (o *DrainsGetDrains2) GetDelivery() *GetDrainsDeliveryUnion2 { + if o == nil { + return nil + } + return o.Delivery +} + +func (o *DrainsGetDrains2) GetSampling() []GetDrainsSampling2 { + if o == nil { + return nil + } + return o.Sampling +} + +func (o *DrainsGetDrains2) GetTeamID() *string { + if o == nil { + return nil + } + return o.TeamID +} + +func (o *DrainsGetDrains2) GetStatus() *GetDrainsStatus2 { + if o == nil { + return nil + } + return o.Status +} + +func (o *DrainsGetDrains2) GetDisabledAt() *float64 { + if o == nil { + return nil + } + return o.DisabledAt +} + +func (o *DrainsGetDrains2) GetDisabledReason() *GetDrainsDisabledReason2 { + if o == nil { + return nil + } + return o.DisabledReason +} + +func (o *DrainsGetDrains2) GetDisabledBy() *string { + if o == nil { + return nil + } + return o.DisabledBy +} + +func (o *DrainsGetDrains2) GetFirstErrorTimestamp() *float64 { + if o == nil { + return nil + } + return o.FirstErrorTimestamp +} + +func (o *DrainsGetDrains2) GetConfigurationID() *string { + if o == nil { + return nil + } + return o.ConfigurationID +} + +func (o *DrainsGetDrains2) GetClientID() *string { + if o == nil { + return nil + } + return o.ClientID +} + +func (o *DrainsGetDrains2) GetSource() GetDrainsSourceUnion2 { + if o == nil { + return GetDrainsSourceUnion2{} + } + return o.Source +} + +func (o *DrainsGetDrains2) GetFilter() *string { + if o == nil { + return nil + } + return o.Filter +} + +func (o *DrainsGetDrains2) GetFilterV2() *GetDrainsFilterV2Union2 { + if o == nil { + return nil + } + return o.FilterV2 +} + +func (o *DrainsGetDrains2) GetIntegrationIcon() *string { + if o == nil { + return nil + } + return o.IntegrationIcon +} + +func (o *DrainsGetDrains2) GetIntegrationConfigurationURI() *string { + if o == nil { + return nil + } + return o.IntegrationConfigurationURI +} + +func (o *DrainsGetDrains2) GetIntegrationWebsite() *string { + if o == nil { + return nil + } + return o.IntegrationWebsite +} + +func (o *DrainsGetDrains2) GetProjectsMetadata() []GetDrainsProjectsMetadatum { + if o == nil { + return nil + } + return o.ProjectsMetadata +} + +type GetDrainsCreatedFrom1 string + +const ( + GetDrainsCreatedFrom1SelfServed GetDrainsCreatedFrom1 = "self-served" + GetDrainsCreatedFrom1Integration GetDrainsCreatedFrom1 = "integration" +) + +func (e GetDrainsCreatedFrom1) ToPointer() *GetDrainsCreatedFrom1 { + return &e +} +func (e *GetDrainsCreatedFrom1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "self-served": + fallthrough + case "integration": + *e = GetDrainsCreatedFrom1(v) + return nil + default: + return fmt.Errorf("invalid value for GetDrainsCreatedFrom1: %v", v) + } +} + +type GetDrainsSchemasLog1 struct { +} + +func (g GetDrainsSchemasLog1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetDrainsSchemasLog1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, nil); err != nil { + return err + } + return nil +} + +type GetDrainsTrace1 struct { +} + +func (g GetDrainsTrace1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetDrainsTrace1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, nil); err != nil { + return err + } + return nil +} + +type GetDrainsAnalytics1 struct { +} + +func (g GetDrainsAnalytics1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetDrainsAnalytics1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, nil); err != nil { + return err + } + return nil +} + +type GetDrainsSpeedInsights1 struct { +} + +func (g GetDrainsSpeedInsights1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetDrainsSpeedInsights1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, nil); err != nil { + return err + } + return nil +} + +type GetDrainsSchemas1 struct { + Log *GetDrainsSchemasLog1 `json:"log,omitempty"` + Trace *GetDrainsTrace1 `json:"trace,omitempty"` + Analytics *GetDrainsAnalytics1 `json:"analytics,omitempty"` + SpeedInsights *GetDrainsSpeedInsights1 `json:"speed_insights,omitempty"` +} + +func (g GetDrainsSchemas1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetDrainsSchemas1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, nil); err != nil { + return err + } + return nil +} + +func (o *GetDrainsSchemas1) GetLog() *GetDrainsSchemasLog1 { + if o == nil { + return nil + } + return o.Log +} + +func (o *GetDrainsSchemas1) GetTrace() *GetDrainsTrace1 { + if o == nil { + return nil + } + return o.Trace +} + +func (o *GetDrainsSchemas1) GetAnalytics() *GetDrainsAnalytics1 { + if o == nil { + return nil + } + return o.Analytics +} + +func (o *GetDrainsSchemas1) GetSpeedInsights() *GetDrainsSpeedInsights1 { + if o == nil { + return nil + } + return o.SpeedInsights +} + +type GetDrainsTypeInternal1 string + +const ( + GetDrainsTypeInternal1Internal GetDrainsTypeInternal1 = "internal" +) + +func (e GetDrainsTypeInternal1) ToPointer() *GetDrainsTypeInternal1 { + return &e +} +func (e *GetDrainsTypeInternal1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "internal": + *e = GetDrainsTypeInternal1(v) + return nil + default: + return fmt.Errorf("invalid value for GetDrainsTypeInternal1: %v", v) + } +} + +type GetDrainsTarget1 string + +const ( + GetDrainsTarget1VercelOtelTracesDb GetDrainsTarget1 = "vercel-otel-traces-db" +) + +func (e GetDrainsTarget1) ToPointer() *GetDrainsTarget1 { + return &e +} +func (e *GetDrainsTarget1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "vercel-otel-traces-db": + *e = GetDrainsTarget1(v) + return nil + default: + return fmt.Errorf("invalid value for GetDrainsTarget1: %v", v) + } +} + +type GetDrainsDeliveryVercelOtelTracesDb1 struct { + Type GetDrainsTypeInternal1 `json:"type"` + Target GetDrainsTarget1 `json:"target"` +} + +func (g GetDrainsDeliveryVercelOtelTracesDb1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetDrainsDeliveryVercelOtelTracesDb1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"type", "target"}); err != nil { + return err + } + return nil +} + +func (o *GetDrainsDeliveryVercelOtelTracesDb1) GetType() GetDrainsTypeInternal1 { + if o == nil { + return GetDrainsTypeInternal1("") + } + return o.Type +} + +func (o *GetDrainsDeliveryVercelOtelTracesDb1) GetTarget() GetDrainsTarget1 { + if o == nil { + return GetDrainsTarget1("") + } + return o.Target +} + +type GetDrainsTypeClickhouse1 string + +const ( + GetDrainsTypeClickhouse1Clickhouse GetDrainsTypeClickhouse1 = "clickhouse" +) + +func (e GetDrainsTypeClickhouse1) ToPointer() *GetDrainsTypeClickhouse1 { + return &e +} +func (e *GetDrainsTypeClickhouse1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "clickhouse": + *e = GetDrainsTypeClickhouse1(v) + return nil + default: + return fmt.Errorf("invalid value for GetDrainsTypeClickhouse1: %v", v) + } +} + +type GetDrainsDeliveryClickhouse1 struct { + Type GetDrainsTypeClickhouse1 `json:"type"` + Endpoint string `json:"endpoint"` + Table string `json:"table"` +} + +func (g GetDrainsDeliveryClickhouse1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetDrainsDeliveryClickhouse1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"type", "endpoint", "table"}); err != nil { + return err + } + return nil +} + +func (o *GetDrainsDeliveryClickhouse1) GetType() GetDrainsTypeClickhouse1 { + if o == nil { + return GetDrainsTypeClickhouse1("") + } + return o.Type +} + +func (o *GetDrainsDeliveryClickhouse1) GetEndpoint() string { + if o == nil { + return "" + } + return o.Endpoint +} + +func (o *GetDrainsDeliveryClickhouse1) GetTable() string { + if o == nil { + return "" + } + return o.Table +} + +type GetDrainsTypeOtlphttp1 string + +const ( + GetDrainsTypeOtlphttp1Otlphttp GetDrainsTypeOtlphttp1 = "otlphttp" +) + +func (e GetDrainsTypeOtlphttp1) ToPointer() *GetDrainsTypeOtlphttp1 { + return &e +} +func (e *GetDrainsTypeOtlphttp1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "otlphttp": + *e = GetDrainsTypeOtlphttp1(v) + return nil + default: + return fmt.Errorf("invalid value for GetDrainsTypeOtlphttp1: %v", v) + } +} + +type GetDrainsEndpoint1 struct { + Traces string `json:"traces"` +} + +func (g GetDrainsEndpoint1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetDrainsEndpoint1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"traces"}); err != nil { + return err + } + return nil +} + +func (o *GetDrainsEndpoint1) GetTraces() string { + if o == nil { + return "" + } + return o.Traces +} + +type GetDrainsEncoding2 string + +const ( + GetDrainsEncoding2JSON GetDrainsEncoding2 = "json" + GetDrainsEncoding2Proto GetDrainsEncoding2 = "proto" +) + +func (e GetDrainsEncoding2) ToPointer() *GetDrainsEncoding2 { + return &e +} +func (e *GetDrainsEncoding2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "json": + fallthrough + case "proto": + *e = GetDrainsEncoding2(v) + return nil + default: + return fmt.Errorf("invalid value for GetDrainsEncoding2: %v", v) + } +} + +type GetDrainsDeliveryOtlphttp1 struct { + Type GetDrainsTypeOtlphttp1 `json:"type"` + Endpoint GetDrainsEndpoint1 `json:"endpoint"` + Encoding GetDrainsEncoding2 `json:"encoding"` + Headers map[string]string `json:"headers"` + Secret *string `json:"secret,omitempty"` +} + +func (g GetDrainsDeliveryOtlphttp1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetDrainsDeliveryOtlphttp1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"type", "endpoint", "encoding", "headers"}); err != nil { + return err + } + return nil +} + +func (o *GetDrainsDeliveryOtlphttp1) GetType() GetDrainsTypeOtlphttp1 { + if o == nil { + return GetDrainsTypeOtlphttp1("") + } + return o.Type +} + +func (o *GetDrainsDeliveryOtlphttp1) GetEndpoint() GetDrainsEndpoint1 { + if o == nil { + return GetDrainsEndpoint1{} + } + return o.Endpoint +} + +func (o *GetDrainsDeliveryOtlphttp1) GetEncoding() GetDrainsEncoding2 { + if o == nil { + return GetDrainsEncoding2("") + } + return o.Encoding +} + +func (o *GetDrainsDeliveryOtlphttp1) GetHeaders() map[string]string { + if o == nil { + return map[string]string{} + } + return o.Headers +} + +func (o *GetDrainsDeliveryOtlphttp1) GetSecret() *string { + if o == nil { + return nil + } + return o.Secret +} + +type GetDrainsTypeHTTP1 string + +const ( + GetDrainsTypeHTTP1HTTP GetDrainsTypeHTTP1 = "http" +) + +func (e GetDrainsTypeHTTP1) ToPointer() *GetDrainsTypeHTTP1 { + return &e +} +func (e *GetDrainsTypeHTTP1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "http": + *e = GetDrainsTypeHTTP1(v) + return nil + default: + return fmt.Errorf("invalid value for GetDrainsTypeHTTP1: %v", v) + } +} + +type GetDrainsEncoding1 string + +const ( + GetDrainsEncoding1JSON GetDrainsEncoding1 = "json" + GetDrainsEncoding1Ndjson GetDrainsEncoding1 = "ndjson" +) + +func (e GetDrainsEncoding1) ToPointer() *GetDrainsEncoding1 { + return &e +} +func (e *GetDrainsEncoding1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "json": + fallthrough + case "ndjson": + *e = GetDrainsEncoding1(v) + return nil + default: + return fmt.Errorf("invalid value for GetDrainsEncoding1: %v", v) + } +} + +type GetDrainsCompression1 string + +const ( + GetDrainsCompression1Gzip GetDrainsCompression1 = "gzip" + GetDrainsCompression1None GetDrainsCompression1 = "none" +) + +func (e GetDrainsCompression1) ToPointer() *GetDrainsCompression1 { + return &e +} +func (e *GetDrainsCompression1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "gzip": + fallthrough + case "none": + *e = GetDrainsCompression1(v) + return nil + default: + return fmt.Errorf("invalid value for GetDrainsCompression1: %v", v) + } +} + +type GetDrainsDeliveryHTTP1 struct { + Type GetDrainsTypeHTTP1 `json:"type"` + Endpoint string `json:"endpoint"` + Encoding GetDrainsEncoding1 `json:"encoding"` + Compression *GetDrainsCompression1 `json:"compression,omitempty"` + Headers map[string]string `json:"headers"` + Secret *string `json:"secret,omitempty"` +} + +func (g GetDrainsDeliveryHTTP1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetDrainsDeliveryHTTP1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"type", "endpoint", "encoding", "headers"}); err != nil { + return err + } + return nil +} + +func (o *GetDrainsDeliveryHTTP1) GetType() GetDrainsTypeHTTP1 { + if o == nil { + return GetDrainsTypeHTTP1("") + } + return o.Type +} + +func (o *GetDrainsDeliveryHTTP1) GetEndpoint() string { + if o == nil { + return "" + } + return o.Endpoint +} + +func (o *GetDrainsDeliveryHTTP1) GetEncoding() GetDrainsEncoding1 { + if o == nil { + return GetDrainsEncoding1("") + } + return o.Encoding +} + +func (o *GetDrainsDeliveryHTTP1) GetCompression() *GetDrainsCompression1 { + if o == nil { + return nil + } + return o.Compression +} + +func (o *GetDrainsDeliveryHTTP1) GetHeaders() map[string]string { + if o == nil { + return map[string]string{} + } + return o.Headers +} + +func (o *GetDrainsDeliveryHTTP1) GetSecret() *string { + if o == nil { + return nil + } + return o.Secret +} + +type GetDrainsDeliveryUnion1Type string + +const ( + GetDrainsDeliveryUnion1TypeGetDrainsDeliveryHTTP1 GetDrainsDeliveryUnion1Type = "getDrains_delivery_HTTP_1" + GetDrainsDeliveryUnion1TypeGetDrainsDeliveryOtlphttp1 GetDrainsDeliveryUnion1Type = "getDrains_delivery_Otlphttp_1" + GetDrainsDeliveryUnion1TypeGetDrainsDeliveryClickhouse1 GetDrainsDeliveryUnion1Type = "getDrains_delivery_Clickhouse_1" + GetDrainsDeliveryUnion1TypeGetDrainsDeliveryVercelOtelTracesDb1 GetDrainsDeliveryUnion1Type = "getDrains_delivery_VercelOtelTracesDb_1" +) + +type GetDrainsDeliveryUnion1 struct { + GetDrainsDeliveryHTTP1 *GetDrainsDeliveryHTTP1 `queryParam:"inline"` + GetDrainsDeliveryOtlphttp1 *GetDrainsDeliveryOtlphttp1 `queryParam:"inline"` + GetDrainsDeliveryClickhouse1 *GetDrainsDeliveryClickhouse1 `queryParam:"inline"` + GetDrainsDeliveryVercelOtelTracesDb1 *GetDrainsDeliveryVercelOtelTracesDb1 `queryParam:"inline"` + + Type GetDrainsDeliveryUnion1Type +} + +func CreateGetDrainsDeliveryUnion1GetDrainsDeliveryHTTP1(getDrainsDeliveryHTTP1 GetDrainsDeliveryHTTP1) GetDrainsDeliveryUnion1 { + typ := GetDrainsDeliveryUnion1TypeGetDrainsDeliveryHTTP1 + + return GetDrainsDeliveryUnion1{ + GetDrainsDeliveryHTTP1: &getDrainsDeliveryHTTP1, + Type: typ, + } +} + +func CreateGetDrainsDeliveryUnion1GetDrainsDeliveryOtlphttp1(getDrainsDeliveryOtlphttp1 GetDrainsDeliveryOtlphttp1) GetDrainsDeliveryUnion1 { + typ := GetDrainsDeliveryUnion1TypeGetDrainsDeliveryOtlphttp1 + + return GetDrainsDeliveryUnion1{ + GetDrainsDeliveryOtlphttp1: &getDrainsDeliveryOtlphttp1, + Type: typ, + } +} + +func CreateGetDrainsDeliveryUnion1GetDrainsDeliveryClickhouse1(getDrainsDeliveryClickhouse1 GetDrainsDeliveryClickhouse1) GetDrainsDeliveryUnion1 { + typ := GetDrainsDeliveryUnion1TypeGetDrainsDeliveryClickhouse1 + + return GetDrainsDeliveryUnion1{ + GetDrainsDeliveryClickhouse1: &getDrainsDeliveryClickhouse1, + Type: typ, + } +} + +func CreateGetDrainsDeliveryUnion1GetDrainsDeliveryVercelOtelTracesDb1(getDrainsDeliveryVercelOtelTracesDb1 GetDrainsDeliveryVercelOtelTracesDb1) GetDrainsDeliveryUnion1 { + typ := GetDrainsDeliveryUnion1TypeGetDrainsDeliveryVercelOtelTracesDb1 + + return GetDrainsDeliveryUnion1{ + GetDrainsDeliveryVercelOtelTracesDb1: &getDrainsDeliveryVercelOtelTracesDb1, + Type: typ, + } +} + +func (u *GetDrainsDeliveryUnion1) UnmarshalJSON(data []byte) error { + + var getDrainsDeliveryHTTP1 GetDrainsDeliveryHTTP1 = GetDrainsDeliveryHTTP1{} + if err := utils.UnmarshalJSON(data, &getDrainsDeliveryHTTP1, "", true, nil); err == nil { + u.GetDrainsDeliveryHTTP1 = &getDrainsDeliveryHTTP1 + u.Type = GetDrainsDeliveryUnion1TypeGetDrainsDeliveryHTTP1 + return nil + } + + var getDrainsDeliveryOtlphttp1 GetDrainsDeliveryOtlphttp1 = GetDrainsDeliveryOtlphttp1{} + if err := utils.UnmarshalJSON(data, &getDrainsDeliveryOtlphttp1, "", true, nil); err == nil { + u.GetDrainsDeliveryOtlphttp1 = &getDrainsDeliveryOtlphttp1 + u.Type = GetDrainsDeliveryUnion1TypeGetDrainsDeliveryOtlphttp1 + return nil + } + + var getDrainsDeliveryClickhouse1 GetDrainsDeliveryClickhouse1 = GetDrainsDeliveryClickhouse1{} + if err := utils.UnmarshalJSON(data, &getDrainsDeliveryClickhouse1, "", true, nil); err == nil { + u.GetDrainsDeliveryClickhouse1 = &getDrainsDeliveryClickhouse1 + u.Type = GetDrainsDeliveryUnion1TypeGetDrainsDeliveryClickhouse1 + return nil + } + + var getDrainsDeliveryVercelOtelTracesDb1 GetDrainsDeliveryVercelOtelTracesDb1 = GetDrainsDeliveryVercelOtelTracesDb1{} + if err := utils.UnmarshalJSON(data, &getDrainsDeliveryVercelOtelTracesDb1, "", true, nil); err == nil { + u.GetDrainsDeliveryVercelOtelTracesDb1 = &getDrainsDeliveryVercelOtelTracesDb1 + u.Type = GetDrainsDeliveryUnion1TypeGetDrainsDeliveryVercelOtelTracesDb1 + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for GetDrainsDeliveryUnion1", string(data)) +} + +func (u GetDrainsDeliveryUnion1) MarshalJSON() ([]byte, error) { + if u.GetDrainsDeliveryHTTP1 != nil { + return utils.MarshalJSON(u.GetDrainsDeliveryHTTP1, "", true) + } + + if u.GetDrainsDeliveryOtlphttp1 != nil { + return utils.MarshalJSON(u.GetDrainsDeliveryOtlphttp1, "", true) + } + + if u.GetDrainsDeliveryClickhouse1 != nil { + return utils.MarshalJSON(u.GetDrainsDeliveryClickhouse1, "", true) + } + + if u.GetDrainsDeliveryVercelOtelTracesDb1 != nil { + return utils.MarshalJSON(u.GetDrainsDeliveryVercelOtelTracesDb1, "", true) + } + + return nil, errors.New("could not marshal union type GetDrainsDeliveryUnion1: all fields are null") +} + +type GetDrainsTypeHeadSampling1 string + +const ( + GetDrainsTypeHeadSampling1HeadSampling GetDrainsTypeHeadSampling1 = "head_sampling" +) + +func (e GetDrainsTypeHeadSampling1) ToPointer() *GetDrainsTypeHeadSampling1 { + return &e +} +func (e *GetDrainsTypeHeadSampling1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "head_sampling": + *e = GetDrainsTypeHeadSampling1(v) + return nil + default: + return fmt.Errorf("invalid value for GetDrainsTypeHeadSampling1: %v", v) + } +} + +type GetDrainsEnv1 string + +const ( + GetDrainsEnv1Production GetDrainsEnv1 = "production" + GetDrainsEnv1Preview GetDrainsEnv1 = "preview" +) + +func (e GetDrainsEnv1) ToPointer() *GetDrainsEnv1 { + return &e +} +func (e *GetDrainsEnv1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "production": + fallthrough + case "preview": + *e = GetDrainsEnv1(v) + return nil + default: + return fmt.Errorf("invalid value for GetDrainsEnv1: %v", v) + } +} + +type GetDrainsSampling1 struct { + Type GetDrainsTypeHeadSampling1 `json:"type"` + Rate float64 `json:"rate"` + Env *GetDrainsEnv1 `json:"env,omitempty"` + RequestPath *string `json:"requestPath,omitempty"` +} + +func (g GetDrainsSampling1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetDrainsSampling1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"type", "rate"}); err != nil { + return err + } + return nil +} + +func (o *GetDrainsSampling1) GetType() GetDrainsTypeHeadSampling1 { + if o == nil { + return GetDrainsTypeHeadSampling1("") + } + return o.Type +} + +func (o *GetDrainsSampling1) GetRate() float64 { + if o == nil { + return 0.0 + } + return o.Rate +} + +func (o *GetDrainsSampling1) GetEnv() *GetDrainsEnv1 { + if o == nil { + return nil + } + return o.Env +} + +func (o *GetDrainsSampling1) GetRequestPath() *string { + if o == nil { + return nil + } + return o.RequestPath +} + +type GetDrainsStatus1 string + +const ( + GetDrainsStatus1Enabled GetDrainsStatus1 = "enabled" + GetDrainsStatus1Disabled GetDrainsStatus1 = "disabled" + GetDrainsStatus1Errored GetDrainsStatus1 = "errored" +) + +func (e GetDrainsStatus1) ToPointer() *GetDrainsStatus1 { + return &e +} +func (e *GetDrainsStatus1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "enabled": + fallthrough + case "disabled": + fallthrough + case "errored": + *e = GetDrainsStatus1(v) + return nil + default: + return fmt.Errorf("invalid value for GetDrainsStatus1: %v", v) + } +} + +type GetDrainsDisabledReason1 string + +const ( + GetDrainsDisabledReason1DisabledByOwner GetDrainsDisabledReason1 = "disabled-by-owner" + GetDrainsDisabledReason1FeatureNotAvailable GetDrainsDisabledReason1 = "feature-not-available" + GetDrainsDisabledReason1AccountPlanDowngrade GetDrainsDisabledReason1 = "account-plan-downgrade" + GetDrainsDisabledReason1DisabledByAdmin GetDrainsDisabledReason1 = "disabled-by-admin" +) + +func (e GetDrainsDisabledReason1) ToPointer() *GetDrainsDisabledReason1 { + return &e +} +func (e *GetDrainsDisabledReason1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "disabled-by-owner": + fallthrough + case "feature-not-available": + fallthrough + case "account-plan-downgrade": + fallthrough + case "disabled-by-admin": + *e = GetDrainsDisabledReason1(v) + return nil + default: + return fmt.Errorf("invalid value for GetDrainsDisabledReason1: %v", v) + } +} + +type GetDrainsKindIntegration1 string + +const ( + GetDrainsKindIntegration1Integration GetDrainsKindIntegration1 = "integration" +) + +func (e GetDrainsKindIntegration1) ToPointer() *GetDrainsKindIntegration1 { + return &e +} +func (e *GetDrainsKindIntegration1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "integration": + *e = GetDrainsKindIntegration1(v) + return nil + default: + return fmt.Errorf("invalid value for GetDrainsKindIntegration1: %v", v) + } +} + +type GetDrainsSourceIntegration1 struct { + Kind GetDrainsKindIntegration1 `json:"kind"` + ResourceID *string `json:"resourceId,omitempty"` + ExternalResourceID *string `json:"externalResourceId,omitempty"` + IntegrationID string `json:"integrationId"` + IntegrationConfigurationID string `json:"integrationConfigurationId"` +} + +func (g GetDrainsSourceIntegration1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetDrainsSourceIntegration1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"kind", "integrationId", "integrationConfigurationId"}); err != nil { + return err + } + return nil +} + +func (o *GetDrainsSourceIntegration1) GetKind() GetDrainsKindIntegration1 { + if o == nil { + return GetDrainsKindIntegration1("") + } + return o.Kind +} + +func (o *GetDrainsSourceIntegration1) GetResourceID() *string { + if o == nil { + return nil + } + return o.ResourceID +} + +func (o *GetDrainsSourceIntegration1) GetExternalResourceID() *string { + if o == nil { + return nil + } + return o.ExternalResourceID +} + +func (o *GetDrainsSourceIntegration1) GetIntegrationID() string { + if o == nil { + return "" + } + return o.IntegrationID +} + +func (o *GetDrainsSourceIntegration1) GetIntegrationConfigurationID() string { + if o == nil { + return "" + } + return o.IntegrationConfigurationID +} + +type GetDrainsKindSelfServed1 string + +const ( + GetDrainsKindSelfServed1SelfServed GetDrainsKindSelfServed1 = "self-served" +) + +func (e GetDrainsKindSelfServed1) ToPointer() *GetDrainsKindSelfServed1 { + return &e +} +func (e *GetDrainsKindSelfServed1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "self-served": + *e = GetDrainsKindSelfServed1(v) + return nil + default: + return fmt.Errorf("invalid value for GetDrainsKindSelfServed1: %v", v) + } +} + +type GetDrainsSourceSelfServed1 struct { + Kind GetDrainsKindSelfServed1 `json:"kind"` +} + +func (g GetDrainsSourceSelfServed1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetDrainsSourceSelfServed1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"kind"}); err != nil { + return err + } + return nil +} + +func (o *GetDrainsSourceSelfServed1) GetKind() GetDrainsKindSelfServed1 { + if o == nil { + return GetDrainsKindSelfServed1("") + } + return o.Kind +} + +type GetDrainsSourceUnion1Type string + +const ( + GetDrainsSourceUnion1TypeGetDrainsSourceSelfServed1 GetDrainsSourceUnion1Type = "getDrains_source_SelfServed_1" + GetDrainsSourceUnion1TypeGetDrainsSourceIntegration1 GetDrainsSourceUnion1Type = "getDrains_source_Integration_1" +) + +type GetDrainsSourceUnion1 struct { + GetDrainsSourceSelfServed1 *GetDrainsSourceSelfServed1 `queryParam:"inline"` + GetDrainsSourceIntegration1 *GetDrainsSourceIntegration1 `queryParam:"inline"` + + Type GetDrainsSourceUnion1Type +} + +func CreateGetDrainsSourceUnion1GetDrainsSourceSelfServed1(getDrainsSourceSelfServed1 GetDrainsSourceSelfServed1) GetDrainsSourceUnion1 { + typ := GetDrainsSourceUnion1TypeGetDrainsSourceSelfServed1 + + return GetDrainsSourceUnion1{ + GetDrainsSourceSelfServed1: &getDrainsSourceSelfServed1, + Type: typ, + } +} + +func CreateGetDrainsSourceUnion1GetDrainsSourceIntegration1(getDrainsSourceIntegration1 GetDrainsSourceIntegration1) GetDrainsSourceUnion1 { + typ := GetDrainsSourceUnion1TypeGetDrainsSourceIntegration1 + + return GetDrainsSourceUnion1{ + GetDrainsSourceIntegration1: &getDrainsSourceIntegration1, + Type: typ, + } +} + +func (u *GetDrainsSourceUnion1) UnmarshalJSON(data []byte) error { + + var getDrainsSourceIntegration1 GetDrainsSourceIntegration1 = GetDrainsSourceIntegration1{} + if err := utils.UnmarshalJSON(data, &getDrainsSourceIntegration1, "", true, nil); err == nil { + u.GetDrainsSourceIntegration1 = &getDrainsSourceIntegration1 + u.Type = GetDrainsSourceUnion1TypeGetDrainsSourceIntegration1 + return nil + } + + var getDrainsSourceSelfServed1 GetDrainsSourceSelfServed1 = GetDrainsSourceSelfServed1{} + if err := utils.UnmarshalJSON(data, &getDrainsSourceSelfServed1, "", true, nil); err == nil { + u.GetDrainsSourceSelfServed1 = &getDrainsSourceSelfServed1 + u.Type = GetDrainsSourceUnion1TypeGetDrainsSourceSelfServed1 + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for GetDrainsSourceUnion1", string(data)) +} + +func (u GetDrainsSourceUnion1) MarshalJSON() ([]byte, error) { + if u.GetDrainsSourceSelfServed1 != nil { + return utils.MarshalJSON(u.GetDrainsSourceSelfServed1, "", true) + } + + if u.GetDrainsSourceIntegration1 != nil { + return utils.MarshalJSON(u.GetDrainsSourceIntegration1, "", true) + } + + return nil, errors.New("could not marshal union type GetDrainsSourceUnion1: all fields are null") +} + +type GetDrainsVersionV21 string + +const ( + GetDrainsVersionV21V2 GetDrainsVersionV21 = "v2" +) + +func (e GetDrainsVersionV21) ToPointer() *GetDrainsVersionV21 { + return &e +} +func (e *GetDrainsVersionV21) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "v2": + *e = GetDrainsVersionV21(v) + return nil + default: + return fmt.Errorf("invalid value for GetDrainsVersionV21: %v", v) + } +} + +type GetDrainsTypeOdata1 string + +const ( + GetDrainsTypeOdata1Odata GetDrainsTypeOdata1 = "odata" +) + +func (e GetDrainsTypeOdata1) ToPointer() *GetDrainsTypeOdata1 { + return &e +} +func (e *GetDrainsTypeOdata1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "odata": + *e = GetDrainsTypeOdata1(v) + return nil + default: + return fmt.Errorf("invalid value for GetDrainsTypeOdata1: %v", v) + } +} + +type GetDrainsFilterOdata1 struct { + Type GetDrainsTypeOdata1 `json:"type"` + Text string `json:"text"` +} + +func (g GetDrainsFilterOdata1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetDrainsFilterOdata1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"type", "text"}); err != nil { + return err + } + return nil +} + +func (o *GetDrainsFilterOdata1) GetType() GetDrainsTypeOdata1 { + if o == nil { + return GetDrainsTypeOdata1("") + } + return o.Type +} + +func (o *GetDrainsFilterOdata1) GetText() string { + if o == nil { + return "" + } + return o.Text +} + +type GetDrainsTypeBasic1 string + +const ( + GetDrainsTypeBasic1Basic GetDrainsTypeBasic1 = "basic" +) + +func (e GetDrainsTypeBasic1) ToPointer() *GetDrainsTypeBasic1 { + return &e +} +func (e *GetDrainsTypeBasic1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "basic": + *e = GetDrainsTypeBasic1(v) + return nil + default: + return fmt.Errorf("invalid value for GetDrainsTypeBasic1: %v", v) + } +} + +type GetDrainsProject1 struct { + Ids []string `json:"ids,omitempty"` +} + +func (g GetDrainsProject1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetDrainsProject1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, nil); err != nil { + return err + } + return nil +} + +func (o *GetDrainsProject1) GetIds() []string { + if o == nil { + return nil + } + return o.Ids +} + +type GetDrainsFilterV2Source1 string + +const ( + GetDrainsFilterV2Source1Build GetDrainsFilterV2Source1 = "build" + GetDrainsFilterV2Source1Edge GetDrainsFilterV2Source1 = "edge" + GetDrainsFilterV2Source1Lambda GetDrainsFilterV2Source1 = "lambda" + GetDrainsFilterV2Source1Static GetDrainsFilterV2Source1 = "static" + GetDrainsFilterV2Source1External GetDrainsFilterV2Source1 = "external" + GetDrainsFilterV2Source1Firewall GetDrainsFilterV2Source1 = "firewall" + GetDrainsFilterV2Source1Redirect GetDrainsFilterV2Source1 = "redirect" +) + +func (e GetDrainsFilterV2Source1) ToPointer() *GetDrainsFilterV2Source1 { + return &e +} +func (e *GetDrainsFilterV2Source1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "build": + fallthrough + case "edge": + fallthrough + case "lambda": + fallthrough + case "static": + fallthrough + case "external": + fallthrough + case "firewall": + fallthrough + case "redirect": + *e = GetDrainsFilterV2Source1(v) + return nil + default: + return fmt.Errorf("invalid value for GetDrainsFilterV2Source1: %v", v) + } +} + +type GetDrainsFilterV2Log1 struct { + Sources []GetDrainsFilterV2Source1 `json:"sources,omitempty"` + LegacyExcludeCachedStaticAssetLogs *bool `json:"legacy_excludeCachedStaticAssetLogs,omitempty"` +} + +func (g GetDrainsFilterV2Log1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetDrainsFilterV2Log1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, nil); err != nil { + return err + } + return nil +} + +func (o *GetDrainsFilterV2Log1) GetSources() []GetDrainsFilterV2Source1 { + if o == nil { + return nil + } + return o.Sources +} + +func (o *GetDrainsFilterV2Log1) GetLegacyExcludeCachedStaticAssetLogs() *bool { + if o == nil { + return nil + } + return o.LegacyExcludeCachedStaticAssetLogs +} + +type GetDrainsEnvironment1 string + +const ( + GetDrainsEnvironment1Production GetDrainsEnvironment1 = "production" + GetDrainsEnvironment1Preview GetDrainsEnvironment1 = "preview" +) + +func (e GetDrainsEnvironment1) ToPointer() *GetDrainsEnvironment1 { + return &e +} +func (e *GetDrainsEnvironment1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "production": + fallthrough + case "preview": + *e = GetDrainsEnvironment1(v) + return nil + default: + return fmt.Errorf("invalid value for GetDrainsEnvironment1: %v", v) + } +} + +type GetDrainsDeployment1 struct { + Environments []GetDrainsEnvironment1 `json:"environments,omitempty"` +} + +func (g GetDrainsDeployment1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetDrainsDeployment1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, nil); err != nil { + return err + } + return nil +} + +func (o *GetDrainsDeployment1) GetEnvironments() []GetDrainsEnvironment1 { + if o == nil { + return nil + } + return o.Environments +} + +type GetDrainsFilterBasic1 struct { + Type GetDrainsTypeBasic1 `json:"type"` + Project *GetDrainsProject1 `json:"project,omitempty"` + Log *GetDrainsFilterV2Log1 `json:"log,omitempty"` + Deployment *GetDrainsDeployment1 `json:"deployment,omitempty"` +} + +func (g GetDrainsFilterBasic1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetDrainsFilterBasic1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"type"}); err != nil { + return err + } + return nil +} + +func (o *GetDrainsFilterBasic1) GetType() GetDrainsTypeBasic1 { + if o == nil { + return GetDrainsTypeBasic1("") + } + return o.Type +} + +func (o *GetDrainsFilterBasic1) GetProject() *GetDrainsProject1 { + if o == nil { + return nil + } + return o.Project +} + +func (o *GetDrainsFilterBasic1) GetLog() *GetDrainsFilterV2Log1 { + if o == nil { + return nil + } + return o.Log +} + +func (o *GetDrainsFilterBasic1) GetDeployment() *GetDrainsDeployment1 { + if o == nil { + return nil + } + return o.Deployment +} + +type GetDrainsFilterUnion1Type string + +const ( + GetDrainsFilterUnion1TypeGetDrainsFilterBasic1 GetDrainsFilterUnion1Type = "getDrains_filter_Basic_1" + GetDrainsFilterUnion1TypeGetDrainsFilterOdata1 GetDrainsFilterUnion1Type = "getDrains_filter_Odata_1" +) + +type GetDrainsFilterUnion1 struct { + GetDrainsFilterBasic1 *GetDrainsFilterBasic1 `queryParam:"inline"` + GetDrainsFilterOdata1 *GetDrainsFilterOdata1 `queryParam:"inline"` + + Type GetDrainsFilterUnion1Type +} + +func CreateGetDrainsFilterUnion1GetDrainsFilterBasic1(getDrainsFilterBasic1 GetDrainsFilterBasic1) GetDrainsFilterUnion1 { + typ := GetDrainsFilterUnion1TypeGetDrainsFilterBasic1 + + return GetDrainsFilterUnion1{ + GetDrainsFilterBasic1: &getDrainsFilterBasic1, + Type: typ, + } +} + +func CreateGetDrainsFilterUnion1GetDrainsFilterOdata1(getDrainsFilterOdata1 GetDrainsFilterOdata1) GetDrainsFilterUnion1 { + typ := GetDrainsFilterUnion1TypeGetDrainsFilterOdata1 + + return GetDrainsFilterUnion1{ + GetDrainsFilterOdata1: &getDrainsFilterOdata1, + Type: typ, + } +} + +func (u *GetDrainsFilterUnion1) UnmarshalJSON(data []byte) error { + + var getDrainsFilterOdata1 GetDrainsFilterOdata1 = GetDrainsFilterOdata1{} + if err := utils.UnmarshalJSON(data, &getDrainsFilterOdata1, "", true, nil); err == nil { + u.GetDrainsFilterOdata1 = &getDrainsFilterOdata1 + u.Type = GetDrainsFilterUnion1TypeGetDrainsFilterOdata1 + return nil + } + + var getDrainsFilterBasic1 GetDrainsFilterBasic1 = GetDrainsFilterBasic1{} + if err := utils.UnmarshalJSON(data, &getDrainsFilterBasic1, "", true, nil); err == nil { + u.GetDrainsFilterBasic1 = &getDrainsFilterBasic1 + u.Type = GetDrainsFilterUnion1TypeGetDrainsFilterBasic1 + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for GetDrainsFilterUnion1", string(data)) +} + +func (u GetDrainsFilterUnion1) MarshalJSON() ([]byte, error) { + if u.GetDrainsFilterBasic1 != nil { + return utils.MarshalJSON(u.GetDrainsFilterBasic1, "", true) + } + + if u.GetDrainsFilterOdata1 != nil { + return utils.MarshalJSON(u.GetDrainsFilterOdata1, "", true) + } + + return nil, errors.New("could not marshal union type GetDrainsFilterUnion1: all fields are null") +} + +type GetDrainsFilterV2V21 struct { + Version GetDrainsVersionV21 `json:"version"` + Filter GetDrainsFilterUnion1 `json:"filter"` +} + +func (g GetDrainsFilterV2V21) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetDrainsFilterV2V21) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"version", "filter"}); err != nil { + return err + } + return nil +} + +func (o *GetDrainsFilterV2V21) GetVersion() GetDrainsVersionV21 { + if o == nil { + return GetDrainsVersionV21("") + } + return o.Version +} + +func (o *GetDrainsFilterV2V21) GetFilter() GetDrainsFilterUnion1 { + if o == nil { + return GetDrainsFilterUnion1{} + } + return o.Filter +} + +type GetDrainsVersionV11 string + +const ( + GetDrainsVersionV11V1 GetDrainsVersionV11 = "v1" +) + +func (e GetDrainsVersionV11) ToPointer() *GetDrainsVersionV11 { + return &e +} +func (e *GetDrainsVersionV11) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "v1": + *e = GetDrainsVersionV11(v) + return nil + default: + return fmt.Errorf("invalid value for GetDrainsVersionV11: %v", v) + } +} + +type GetDrainsFilterV2V11 struct { + Version GetDrainsVersionV11 `json:"version"` +} + +func (g GetDrainsFilterV2V11) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetDrainsFilterV2V11) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"version"}); err != nil { + return err + } + return nil +} + +func (o *GetDrainsFilterV2V11) GetVersion() GetDrainsVersionV11 { + if o == nil { + return GetDrainsVersionV11("") + } + return o.Version +} + +type GetDrainsFilterV2Union1Type string + +const ( + GetDrainsFilterV2Union1TypeGetDrainsFilterV2V11 GetDrainsFilterV2Union1Type = "getDrains_filterV2_V1_1" + GetDrainsFilterV2Union1TypeGetDrainsFilterV2V21 GetDrainsFilterV2Union1Type = "getDrains_filterV2_V2_1" +) + +type GetDrainsFilterV2Union1 struct { + GetDrainsFilterV2V11 *GetDrainsFilterV2V11 `queryParam:"inline"` + GetDrainsFilterV2V21 *GetDrainsFilterV2V21 `queryParam:"inline"` + + Type GetDrainsFilterV2Union1Type +} + +func CreateGetDrainsFilterV2Union1GetDrainsFilterV2V11(getDrainsFilterV2V11 GetDrainsFilterV2V11) GetDrainsFilterV2Union1 { + typ := GetDrainsFilterV2Union1TypeGetDrainsFilterV2V11 + + return GetDrainsFilterV2Union1{ + GetDrainsFilterV2V11: &getDrainsFilterV2V11, + Type: typ, + } +} + +func CreateGetDrainsFilterV2Union1GetDrainsFilterV2V21(getDrainsFilterV2V21 GetDrainsFilterV2V21) GetDrainsFilterV2Union1 { + typ := GetDrainsFilterV2Union1TypeGetDrainsFilterV2V21 + + return GetDrainsFilterV2Union1{ + GetDrainsFilterV2V21: &getDrainsFilterV2V21, + Type: typ, + } +} + +func (u *GetDrainsFilterV2Union1) UnmarshalJSON(data []byte) error { + + var getDrainsFilterV2V21 GetDrainsFilterV2V21 = GetDrainsFilterV2V21{} + if err := utils.UnmarshalJSON(data, &getDrainsFilterV2V21, "", true, nil); err == nil { + u.GetDrainsFilterV2V21 = &getDrainsFilterV2V21 + u.Type = GetDrainsFilterV2Union1TypeGetDrainsFilterV2V21 + return nil + } + + var getDrainsFilterV2V11 GetDrainsFilterV2V11 = GetDrainsFilterV2V11{} + if err := utils.UnmarshalJSON(data, &getDrainsFilterV2V11, "", true, nil); err == nil { + u.GetDrainsFilterV2V11 = &getDrainsFilterV2V11 + u.Type = GetDrainsFilterV2Union1TypeGetDrainsFilterV2V11 + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for GetDrainsFilterV2Union1", string(data)) +} + +func (u GetDrainsFilterV2Union1) MarshalJSON() ([]byte, error) { + if u.GetDrainsFilterV2V11 != nil { + return utils.MarshalJSON(u.GetDrainsFilterV2V11, "", true) + } + + if u.GetDrainsFilterV2V21 != nil { + return utils.MarshalJSON(u.GetDrainsFilterV2V21, "", true) + } + + return nil, errors.New("could not marshal union type GetDrainsFilterV2Union1: all fields are null") +} + +type DrainsGetDrains1 struct { + ID string `json:"id"` + OwnerID string `json:"ownerId"` + Name string `json:"name"` + CreatedAt float64 `json:"createdAt"` + CreatedFrom *GetDrainsCreatedFrom1 `json:"createdFrom,omitempty"` + UpdatedAt float64 `json:"updatedAt"` + ProjectIds []string `json:"projectIds,omitempty"` + Schemas *GetDrainsSchemas1 `json:"schemas,omitempty"` + Delivery *GetDrainsDeliveryUnion1 `json:"delivery,omitempty"` + Sampling []GetDrainsSampling1 `json:"sampling,omitempty"` + TeamID *string `json:"teamId,omitempty"` + Status *GetDrainsStatus1 `json:"status,omitempty"` + DisabledAt *float64 `json:"disabledAt,omitempty"` + DisabledReason *GetDrainsDisabledReason1 `json:"disabledReason,omitempty"` + DisabledBy *string `json:"disabledBy,omitempty"` + FirstErrorTimestamp *float64 `json:"firstErrorTimestamp,omitempty"` + ConfigurationID *string `json:"configurationId,omitempty"` + ClientID *string `json:"clientId,omitempty"` + Source GetDrainsSourceUnion1 `json:"source"` + Filter *string `json:"filter,omitempty"` + FilterV2 *GetDrainsFilterV2Union1 `json:"filterV2,omitempty"` +} + +func (d DrainsGetDrains1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(d, "", false) +} + +func (d *DrainsGetDrains1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &d, "", false, []string{"id", "ownerId", "name", "createdAt", "updatedAt", "source"}); err != nil { + return err + } + return nil +} + +func (o *DrainsGetDrains1) GetID() string { + if o == nil { + return "" + } + return o.ID +} + +func (o *DrainsGetDrains1) GetOwnerID() string { + if o == nil { + return "" + } + return o.OwnerID +} + +func (o *DrainsGetDrains1) GetName() string { + if o == nil { + return "" + } + return o.Name +} + +func (o *DrainsGetDrains1) GetCreatedAt() float64 { + if o == nil { + return 0.0 + } + return o.CreatedAt +} + +func (o *DrainsGetDrains1) GetCreatedFrom() *GetDrainsCreatedFrom1 { + if o == nil { + return nil + } + return o.CreatedFrom +} + +func (o *DrainsGetDrains1) GetUpdatedAt() float64 { + if o == nil { + return 0.0 + } + return o.UpdatedAt +} + +func (o *DrainsGetDrains1) GetProjectIds() []string { + if o == nil { + return nil + } + return o.ProjectIds +} + +func (o *DrainsGetDrains1) GetSchemas() *GetDrainsSchemas1 { + if o == nil { + return nil + } + return o.Schemas +} + +func (o *DrainsGetDrains1) GetDelivery() *GetDrainsDeliveryUnion1 { + if o == nil { + return nil + } + return o.Delivery +} + +func (o *DrainsGetDrains1) GetSampling() []GetDrainsSampling1 { + if o == nil { + return nil + } + return o.Sampling +} + +func (o *DrainsGetDrains1) GetTeamID() *string { + if o == nil { + return nil + } + return o.TeamID +} + +func (o *DrainsGetDrains1) GetStatus() *GetDrainsStatus1 { + if o == nil { + return nil + } + return o.Status +} + +func (o *DrainsGetDrains1) GetDisabledAt() *float64 { + if o == nil { + return nil + } + return o.DisabledAt +} + +func (o *DrainsGetDrains1) GetDisabledReason() *GetDrainsDisabledReason1 { + if o == nil { + return nil + } + return o.DisabledReason +} + +func (o *DrainsGetDrains1) GetDisabledBy() *string { + if o == nil { + return nil + } + return o.DisabledBy +} + +func (o *DrainsGetDrains1) GetFirstErrorTimestamp() *float64 { + if o == nil { + return nil + } + return o.FirstErrorTimestamp +} + +func (o *DrainsGetDrains1) GetConfigurationID() *string { + if o == nil { + return nil + } + return o.ConfigurationID +} + +func (o *DrainsGetDrains1) GetClientID() *string { + if o == nil { + return nil + } + return o.ClientID +} + +func (o *DrainsGetDrains1) GetSource() GetDrainsSourceUnion1 { + if o == nil { + return GetDrainsSourceUnion1{} + } + return o.Source +} + +func (o *DrainsGetDrains1) GetFilter() *string { + if o == nil { + return nil + } + return o.Filter +} + +func (o *DrainsGetDrains1) GetFilterV2() *GetDrainsFilterV2Union1 { + if o == nil { + return nil + } + return o.FilterV2 +} + +type GetDrainsDrainsUnionType string + +const ( + GetDrainsDrainsUnionTypeArrayOfDrainsGetDrains1 GetDrainsDrainsUnionType = "arrayOfDrainsGetDrains1" + GetDrainsDrainsUnionTypeArrayOfDrainsGetDrains2 GetDrainsDrainsUnionType = "arrayOfDrainsGetDrains2" +) + +type GetDrainsDrainsUnion struct { + ArrayOfDrainsGetDrains1 []DrainsGetDrains1 `queryParam:"inline"` + ArrayOfDrainsGetDrains2 []DrainsGetDrains2 `queryParam:"inline"` + + Type GetDrainsDrainsUnionType +} + +func CreateGetDrainsDrainsUnionArrayOfDrainsGetDrains1(arrayOfDrainsGetDrains1 []DrainsGetDrains1) GetDrainsDrainsUnion { + typ := GetDrainsDrainsUnionTypeArrayOfDrainsGetDrains1 + + return GetDrainsDrainsUnion{ + ArrayOfDrainsGetDrains1: arrayOfDrainsGetDrains1, + Type: typ, + } +} + +func CreateGetDrainsDrainsUnionArrayOfDrainsGetDrains2(arrayOfDrainsGetDrains2 []DrainsGetDrains2) GetDrainsDrainsUnion { + typ := GetDrainsDrainsUnionTypeArrayOfDrainsGetDrains2 + + return GetDrainsDrainsUnion{ + ArrayOfDrainsGetDrains2: arrayOfDrainsGetDrains2, + Type: typ, + } +} + +func (u *GetDrainsDrainsUnion) UnmarshalJSON(data []byte) error { + + var arrayOfDrainsGetDrains1 []DrainsGetDrains1 = []DrainsGetDrains1{} + if err := utils.UnmarshalJSON(data, &arrayOfDrainsGetDrains1, "", true, nil); err == nil { + u.ArrayOfDrainsGetDrains1 = arrayOfDrainsGetDrains1 + u.Type = GetDrainsDrainsUnionTypeArrayOfDrainsGetDrains1 + return nil + } + + var arrayOfDrainsGetDrains2 []DrainsGetDrains2 = []DrainsGetDrains2{} + if err := utils.UnmarshalJSON(data, &arrayOfDrainsGetDrains2, "", true, nil); err == nil { + u.ArrayOfDrainsGetDrains2 = arrayOfDrainsGetDrains2 + u.Type = GetDrainsDrainsUnionTypeArrayOfDrainsGetDrains2 + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for GetDrainsDrainsUnion", string(data)) +} + +func (u GetDrainsDrainsUnion) MarshalJSON() ([]byte, error) { + if u.ArrayOfDrainsGetDrains1 != nil { + return utils.MarshalJSON(u.ArrayOfDrainsGetDrains1, "", true) + } + + if u.ArrayOfDrainsGetDrains2 != nil { + return utils.MarshalJSON(u.ArrayOfDrainsGetDrains2, "", true) + } + + return nil, errors.New("could not marshal union type GetDrainsDrainsUnion: all fields are null") +} + +type GetDrainsResponseBody struct { + Drains GetDrainsDrainsUnion `json:"drains"` +} + +func (o *GetDrainsResponseBody) GetDrains() GetDrainsDrainsUnion { + if o == nil { + return GetDrainsDrainsUnion{} + } + return o.Drains +} + +type GetDrainsResponse struct { + HTTPMeta components.HTTPMetadata `json:"-"` + Object *GetDrainsResponseBody +} + +func (o *GetDrainsResponse) GetHTTPMeta() components.HTTPMetadata { + if o == nil { + return components.HTTPMetadata{} + } + return o.HTTPMeta +} + +func (o *GetDrainsResponse) GetObject() *GetDrainsResponseBody { + if o == nil { + return nil + } + return o.Object +} diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/getintegrationlogdrains.go b/src/__tests__/mockserver/internal/sdk/models/operations/getintegrationlogdrains.go index a76cc2e2c..3d20331d5 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/getintegrationlogdrains.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/getintegrationlogdrains.go @@ -37,7 +37,6 @@ type GetIntegrationLogDrainsDeliveryFormat string const ( GetIntegrationLogDrainsDeliveryFormatJSON GetIntegrationLogDrainsDeliveryFormat = "json" GetIntegrationLogDrainsDeliveryFormatNdjson GetIntegrationLogDrainsDeliveryFormat = "ndjson" - GetIntegrationLogDrainsDeliveryFormatSyslog GetIntegrationLogDrainsDeliveryFormat = "syslog" GetIntegrationLogDrainsDeliveryFormatProtobuf GetIntegrationLogDrainsDeliveryFormat = "protobuf" ) @@ -54,8 +53,6 @@ func (e *GetIntegrationLogDrainsDeliveryFormat) UnmarshalJSON(data []byte) error fallthrough case "ndjson": fallthrough - case "syslog": - fallthrough case "protobuf": *e = GetIntegrationLogDrainsDeliveryFormat(v) return nil @@ -74,6 +71,7 @@ const ( GetIntegrationLogDrainsSourceEnumStatic GetIntegrationLogDrainsSourceEnum = "static" GetIntegrationLogDrainsSourceEnumExternal GetIntegrationLogDrainsSourceEnum = "external" GetIntegrationLogDrainsSourceEnumFirewall GetIntegrationLogDrainsSourceEnum = "firewall" + GetIntegrationLogDrainsSourceEnumRedirect GetIntegrationLogDrainsSourceEnum = "redirect" ) func (e GetIntegrationLogDrainsSourceEnum) ToPointer() *GetIntegrationLogDrainsSourceEnum { @@ -96,6 +94,8 @@ func (e *GetIntegrationLogDrainsSourceEnum) UnmarshalJSON(data []byte) error { case "external": fallthrough case "firewall": + fallthrough + case "redirect": *e = GetIntegrationLogDrainsSourceEnum(v) return nil default: diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/getintegrationresource.go b/src/__tests__/mockserver/internal/sdk/models/operations/getintegrationresource.go index 702baa344..f0176689f 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/getintegrationresource.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/getintegrationresource.go @@ -37,6 +37,7 @@ type GetIntegrationResourceStatus string const ( GetIntegrationResourceStatusReady GetIntegrationResourceStatus = "ready" GetIntegrationResourceStatusPending GetIntegrationResourceStatus = "pending" + GetIntegrationResourceStatusOnboarding GetIntegrationResourceStatus = "onboarding" GetIntegrationResourceStatusSuspended GetIntegrationResourceStatus = "suspended" GetIntegrationResourceStatusResumed GetIntegrationResourceStatus = "resumed" GetIntegrationResourceStatusUninstalled GetIntegrationResourceStatus = "uninstalled" @@ -56,6 +57,8 @@ func (e *GetIntegrationResourceStatus) UnmarshalJSON(data []byte) error { fallthrough case "pending": fallthrough + case "onboarding": + fallthrough case "suspended": fallthrough case "resumed": diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/getintegrationresources.go b/src/__tests__/mockserver/internal/sdk/models/operations/getintegrationresources.go index 78c5f05e2..84ca29131 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/getintegrationresources.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/getintegrationresources.go @@ -27,6 +27,7 @@ type GetIntegrationResourcesStatus string const ( GetIntegrationResourcesStatusReady GetIntegrationResourcesStatus = "ready" GetIntegrationResourcesStatusPending GetIntegrationResourcesStatus = "pending" + GetIntegrationResourcesStatusOnboarding GetIntegrationResourcesStatus = "onboarding" GetIntegrationResourcesStatusSuspended GetIntegrationResourcesStatus = "suspended" GetIntegrationResourcesStatusResumed GetIntegrationResourcesStatus = "resumed" GetIntegrationResourcesStatusUninstalled GetIntegrationResourcesStatus = "uninstalled" @@ -46,6 +47,8 @@ func (e *GetIntegrationResourcesStatus) UnmarshalJSON(data []byte) error { fallthrough case "pending": fallthrough + case "onboarding": + fallthrough case "suspended": fallthrough case "resumed": diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/getinvoice.go b/src/__tests__/mockserver/internal/sdk/models/operations/getinvoice.go index 3f278c607..83075c4fa 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/getinvoice.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/getinvoice.go @@ -31,6 +31,7 @@ func (o *GetInvoiceRequest) GetInvoiceID() string { type GetInvoiceState string const ( + GetInvoiceStateDraft GetInvoiceState = "draft" GetInvoiceStatePending GetInvoiceState = "pending" GetInvoiceStateScheduled GetInvoiceState = "scheduled" GetInvoiceStateInvoiced GetInvoiceState = "invoiced" @@ -49,6 +50,8 @@ func (e *GetInvoiceState) UnmarshalJSON(data []byte) error { return err } switch v { + case "draft": + fallthrough case "pending": fallthrough case "scheduled": diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/getorder.go b/src/__tests__/mockserver/internal/sdk/models/operations/getorder.go new file mode 100644 index 000000000..bd2977ff2 --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/operations/getorder.go @@ -0,0 +1,2092 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package operations + +import ( + "encoding/json" + "errors" + "fmt" + "mockserver/internal/sdk/models/components" + "mockserver/internal/sdk/utils" +) + +type GetOrderRequest struct { + OrderID string `pathParam:"style=simple,explode=false,name=orderId"` + TeamID *string `queryParam:"style=form,explode=true,name=teamId"` +} + +func (o *GetOrderRequest) GetOrderID() string { + if o == nil { + return "" + } + return o.OrderID +} + +func (o *GetOrderRequest) GetTeamID() *string { + if o == nil { + return nil + } + return o.TeamID +} + +type PurchaseTypeTransfer string + +const ( + PurchaseTypeTransferTransfer PurchaseTypeTransfer = "transfer" +) + +func (e PurchaseTypeTransfer) ToPointer() *PurchaseTypeTransfer { + return &e +} +func (e *PurchaseTypeTransfer) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "transfer": + *e = PurchaseTypeTransfer(v) + return nil + default: + return fmt.Errorf("invalid value for PurchaseTypeTransfer: %v", v) + } +} + +type DomainStatus3 string + +const ( + DomainStatus3Pending DomainStatus3 = "pending" + DomainStatus3Completed DomainStatus3 = "completed" + DomainStatus3Failed DomainStatus3 = "failed" + DomainStatus3Refunded DomainStatus3 = "refunded" + DomainStatus3RefundFailed DomainStatus3 = "refund-failed" +) + +func (e DomainStatus3) ToPointer() *DomainStatus3 { + return &e +} +func (e *DomainStatus3) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "pending": + fallthrough + case "completed": + fallthrough + case "failed": + fallthrough + case "refunded": + fallthrough + case "refund-failed": + *e = DomainStatus3(v) + return nil + default: + return fmt.Errorf("invalid value for DomainStatus3: %v", v) + } +} + +type DomainError3 struct { + Code string `json:"code"` + Details any `json:"details,omitempty"` +} + +func (d DomainError3) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(d, "", false) +} + +func (d *DomainError3) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &d, "", false, []string{"code"}); err != nil { + return err + } + return nil +} + +func (o *DomainError3) GetCode() string { + if o == nil { + return "" + } + return o.Code +} + +func (o *DomainError3) GetDetails() any { + if o == nil { + return nil + } + return o.Details +} + +type CodeClaimsNoticeRequired3 string + +const ( + CodeClaimsNoticeRequired3ClaimsNoticeRequired CodeClaimsNoticeRequired3 = "claims-notice-required" +) + +func (e CodeClaimsNoticeRequired3) ToPointer() *CodeClaimsNoticeRequired3 { + return &e +} +func (e *CodeClaimsNoticeRequired3) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "claims-notice-required": + *e = CodeClaimsNoticeRequired3(v) + return nil + default: + return fmt.Errorf("invalid value for CodeClaimsNoticeRequired3: %v", v) + } +} + +type ErrorClaimsNoticeRequired3 struct { + Code CodeClaimsNoticeRequired3 `json:"code"` +} + +func (e ErrorClaimsNoticeRequired3) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(e, "", false) +} + +func (e *ErrorClaimsNoticeRequired3) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &e, "", false, []string{"code"}); err != nil { + return err + } + return nil +} + +func (o *ErrorClaimsNoticeRequired3) GetCode() CodeClaimsNoticeRequired3 { + if o == nil { + return CodeClaimsNoticeRequired3("") + } + return o.Code +} + +type CodeClientTransferProhibited3 string + +const ( + CodeClientTransferProhibited3ClientTransferProhibited CodeClientTransferProhibited3 = "client-transfer-prohibited" +) + +func (e CodeClientTransferProhibited3) ToPointer() *CodeClientTransferProhibited3 { + return &e +} +func (e *CodeClientTransferProhibited3) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "client-transfer-prohibited": + *e = CodeClientTransferProhibited3(v) + return nil + default: + return fmt.Errorf("invalid value for CodeClientTransferProhibited3: %v", v) + } +} + +type ErrorClientTransferProhibited3 struct { + Code CodeClientTransferProhibited3 `json:"code"` +} + +func (e ErrorClientTransferProhibited3) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(e, "", false) +} + +func (e *ErrorClientTransferProhibited3) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &e, "", false, []string{"code"}); err != nil { + return err + } + return nil +} + +func (o *ErrorClientTransferProhibited3) GetCode() CodeClientTransferProhibited3 { + if o == nil { + return CodeClientTransferProhibited3("") + } + return o.Code +} + +type CodeUnsupportedLanguageCode3 string + +const ( + CodeUnsupportedLanguageCode3UnsupportedLanguageCode CodeUnsupportedLanguageCode3 = "unsupported-language-code" +) + +func (e CodeUnsupportedLanguageCode3) ToPointer() *CodeUnsupportedLanguageCode3 { + return &e +} +func (e *CodeUnsupportedLanguageCode3) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "unsupported-language-code": + *e = CodeUnsupportedLanguageCode3(v) + return nil + default: + return fmt.Errorf("invalid value for CodeUnsupportedLanguageCode3: %v", v) + } +} + +type DomainDetails3 struct { + DetectedLanguageCode string `json:"detectedLanguageCode"` +} + +func (d DomainDetails3) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(d, "", false) +} + +func (d *DomainDetails3) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &d, "", false, []string{"detectedLanguageCode"}); err != nil { + return err + } + return nil +} + +func (o *DomainDetails3) GetDetectedLanguageCode() string { + if o == nil { + return "" + } + return o.DetectedLanguageCode +} + +type ErrorUnsupportedLanguageCode3 struct { + Code CodeUnsupportedLanguageCode3 `json:"code"` + Details DomainDetails3 `json:"details"` +} + +func (e ErrorUnsupportedLanguageCode3) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(e, "", false) +} + +func (e *ErrorUnsupportedLanguageCode3) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &e, "", false, []string{"code", "details"}); err != nil { + return err + } + return nil +} + +func (o *ErrorUnsupportedLanguageCode3) GetCode() CodeUnsupportedLanguageCode3 { + if o == nil { + return CodeUnsupportedLanguageCode3("") + } + return o.Code +} + +func (o *ErrorUnsupportedLanguageCode3) GetDetails() DomainDetails3 { + if o == nil { + return DomainDetails3{} + } + return o.Details +} + +type DomainErrorUnion5Type string + +const ( + DomainErrorUnion5TypeErrorUnsupportedLanguageCode3 DomainErrorUnion5Type = "error_UnsupportedLanguageCode_3" + DomainErrorUnion5TypeErrorClientTransferProhibited3 DomainErrorUnion5Type = "error_ClientTransferProhibited_3" + DomainErrorUnion5TypeErrorClaimsNoticeRequired3 DomainErrorUnion5Type = "error_ClaimsNoticeRequired_3" +) + +type DomainErrorUnion5 struct { + ErrorUnsupportedLanguageCode3 *ErrorUnsupportedLanguageCode3 `queryParam:"inline"` + ErrorClientTransferProhibited3 *ErrorClientTransferProhibited3 `queryParam:"inline"` + ErrorClaimsNoticeRequired3 *ErrorClaimsNoticeRequired3 `queryParam:"inline"` + + Type DomainErrorUnion5Type +} + +func CreateDomainErrorUnion5ErrorUnsupportedLanguageCode3(errorUnsupportedLanguageCode3 ErrorUnsupportedLanguageCode3) DomainErrorUnion5 { + typ := DomainErrorUnion5TypeErrorUnsupportedLanguageCode3 + + return DomainErrorUnion5{ + ErrorUnsupportedLanguageCode3: &errorUnsupportedLanguageCode3, + Type: typ, + } +} + +func CreateDomainErrorUnion5ErrorClientTransferProhibited3(errorClientTransferProhibited3 ErrorClientTransferProhibited3) DomainErrorUnion5 { + typ := DomainErrorUnion5TypeErrorClientTransferProhibited3 + + return DomainErrorUnion5{ + ErrorClientTransferProhibited3: &errorClientTransferProhibited3, + Type: typ, + } +} + +func CreateDomainErrorUnion5ErrorClaimsNoticeRequired3(errorClaimsNoticeRequired3 ErrorClaimsNoticeRequired3) DomainErrorUnion5 { + typ := DomainErrorUnion5TypeErrorClaimsNoticeRequired3 + + return DomainErrorUnion5{ + ErrorClaimsNoticeRequired3: &errorClaimsNoticeRequired3, + Type: typ, + } +} + +func (u *DomainErrorUnion5) UnmarshalJSON(data []byte) error { + + var errorUnsupportedLanguageCode3 ErrorUnsupportedLanguageCode3 = ErrorUnsupportedLanguageCode3{} + if err := utils.UnmarshalJSON(data, &errorUnsupportedLanguageCode3, "", true, nil); err == nil { + u.ErrorUnsupportedLanguageCode3 = &errorUnsupportedLanguageCode3 + u.Type = DomainErrorUnion5TypeErrorUnsupportedLanguageCode3 + return nil + } + + var errorClientTransferProhibited3 ErrorClientTransferProhibited3 = ErrorClientTransferProhibited3{} + if err := utils.UnmarshalJSON(data, &errorClientTransferProhibited3, "", true, nil); err == nil { + u.ErrorClientTransferProhibited3 = &errorClientTransferProhibited3 + u.Type = DomainErrorUnion5TypeErrorClientTransferProhibited3 + return nil + } + + var errorClaimsNoticeRequired3 ErrorClaimsNoticeRequired3 = ErrorClaimsNoticeRequired3{} + if err := utils.UnmarshalJSON(data, &errorClaimsNoticeRequired3, "", true, nil); err == nil { + u.ErrorClaimsNoticeRequired3 = &errorClaimsNoticeRequired3 + u.Type = DomainErrorUnion5TypeErrorClaimsNoticeRequired3 + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for DomainErrorUnion5", string(data)) +} + +func (u DomainErrorUnion5) MarshalJSON() ([]byte, error) { + if u.ErrorUnsupportedLanguageCode3 != nil { + return utils.MarshalJSON(u.ErrorUnsupportedLanguageCode3, "", true) + } + + if u.ErrorClientTransferProhibited3 != nil { + return utils.MarshalJSON(u.ErrorClientTransferProhibited3, "", true) + } + + if u.ErrorClaimsNoticeRequired3 != nil { + return utils.MarshalJSON(u.ErrorClaimsNoticeRequired3, "", true) + } + + return nil, errors.New("could not marshal union type DomainErrorUnion5: all fields are null") +} + +type DomainErrorUnion6Type string + +const ( + DomainErrorUnion6TypeDomainErrorUnion5 DomainErrorUnion6Type = "domain_error_union_5" + DomainErrorUnion6TypeDomainError3 DomainErrorUnion6Type = "domain_error_3" +) + +type DomainErrorUnion6 struct { + DomainErrorUnion5 *DomainErrorUnion5 `queryParam:"inline"` + DomainError3 *DomainError3 `queryParam:"inline"` + + Type DomainErrorUnion6Type +} + +func CreateDomainErrorUnion6DomainErrorUnion5(domainErrorUnion5 DomainErrorUnion5) DomainErrorUnion6 { + typ := DomainErrorUnion6TypeDomainErrorUnion5 + + return DomainErrorUnion6{ + DomainErrorUnion5: &domainErrorUnion5, + Type: typ, + } +} + +func CreateDomainErrorUnion6DomainError3(domainError3 DomainError3) DomainErrorUnion6 { + typ := DomainErrorUnion6TypeDomainError3 + + return DomainErrorUnion6{ + DomainError3: &domainError3, + Type: typ, + } +} + +func (u *DomainErrorUnion6) UnmarshalJSON(data []byte) error { + + var domainError3 DomainError3 = DomainError3{} + if err := utils.UnmarshalJSON(data, &domainError3, "", true, nil); err == nil { + u.DomainError3 = &domainError3 + u.Type = DomainErrorUnion6TypeDomainError3 + return nil + } + + var domainErrorUnion5 DomainErrorUnion5 = DomainErrorUnion5{} + if err := utils.UnmarshalJSON(data, &domainErrorUnion5, "", true, nil); err == nil { + u.DomainErrorUnion5 = &domainErrorUnion5 + u.Type = DomainErrorUnion6TypeDomainErrorUnion5 + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for DomainErrorUnion6", string(data)) +} + +func (u DomainErrorUnion6) MarshalJSON() ([]byte, error) { + if u.DomainErrorUnion5 != nil { + return utils.MarshalJSON(u.DomainErrorUnion5, "", true) + } + + if u.DomainError3 != nil { + return utils.MarshalJSON(u.DomainError3, "", true) + } + + return nil, errors.New("could not marshal union type DomainErrorUnion6: all fields are null") +} + +type DomainTransfer struct { + PurchaseType PurchaseTypeTransfer `json:"purchaseType"` + AutoRenew bool `json:"autoRenew"` + // The number of years the domain is being transferred for. + Years float64 `json:"years"` + DomainName string `json:"domainName"` + Status DomainStatus3 `json:"status"` + // The price for the domain. + Price float64 `json:"price"` + Error *DomainErrorUnion6 `json:"error,omitempty"` +} + +func (d DomainTransfer) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(d, "", false) +} + +func (d *DomainTransfer) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &d, "", false, []string{"purchaseType", "autoRenew", "years", "domainName", "status", "price"}); err != nil { + return err + } + return nil +} + +func (o *DomainTransfer) GetPurchaseType() PurchaseTypeTransfer { + if o == nil { + return PurchaseTypeTransfer("") + } + return o.PurchaseType +} + +func (o *DomainTransfer) GetAutoRenew() bool { + if o == nil { + return false + } + return o.AutoRenew +} + +func (o *DomainTransfer) GetYears() float64 { + if o == nil { + return 0.0 + } + return o.Years +} + +func (o *DomainTransfer) GetDomainName() string { + if o == nil { + return "" + } + return o.DomainName +} + +func (o *DomainTransfer) GetStatus() DomainStatus3 { + if o == nil { + return DomainStatus3("") + } + return o.Status +} + +func (o *DomainTransfer) GetPrice() float64 { + if o == nil { + return 0.0 + } + return o.Price +} + +func (o *DomainTransfer) GetError() *DomainErrorUnion6 { + if o == nil { + return nil + } + return o.Error +} + +type PurchaseTypeRenewal string + +const ( + PurchaseTypeRenewalRenewal PurchaseTypeRenewal = "renewal" +) + +func (e PurchaseTypeRenewal) ToPointer() *PurchaseTypeRenewal { + return &e +} +func (e *PurchaseTypeRenewal) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "renewal": + *e = PurchaseTypeRenewal(v) + return nil + default: + return fmt.Errorf("invalid value for PurchaseTypeRenewal: %v", v) + } +} + +type DomainStatus2 string + +const ( + DomainStatus2Pending DomainStatus2 = "pending" + DomainStatus2Completed DomainStatus2 = "completed" + DomainStatus2Failed DomainStatus2 = "failed" + DomainStatus2Refunded DomainStatus2 = "refunded" + DomainStatus2RefundFailed DomainStatus2 = "refund-failed" +) + +func (e DomainStatus2) ToPointer() *DomainStatus2 { + return &e +} +func (e *DomainStatus2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "pending": + fallthrough + case "completed": + fallthrough + case "failed": + fallthrough + case "refunded": + fallthrough + case "refund-failed": + *e = DomainStatus2(v) + return nil + default: + return fmt.Errorf("invalid value for DomainStatus2: %v", v) + } +} + +type DomainError2 struct { + Code string `json:"code"` + Details any `json:"details,omitempty"` +} + +func (d DomainError2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(d, "", false) +} + +func (d *DomainError2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &d, "", false, []string{"code"}); err != nil { + return err + } + return nil +} + +func (o *DomainError2) GetCode() string { + if o == nil { + return "" + } + return o.Code +} + +func (o *DomainError2) GetDetails() any { + if o == nil { + return nil + } + return o.Details +} + +type CodeClaimsNoticeRequired2 string + +const ( + CodeClaimsNoticeRequired2ClaimsNoticeRequired CodeClaimsNoticeRequired2 = "claims-notice-required" +) + +func (e CodeClaimsNoticeRequired2) ToPointer() *CodeClaimsNoticeRequired2 { + return &e +} +func (e *CodeClaimsNoticeRequired2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "claims-notice-required": + *e = CodeClaimsNoticeRequired2(v) + return nil + default: + return fmt.Errorf("invalid value for CodeClaimsNoticeRequired2: %v", v) + } +} + +type ErrorClaimsNoticeRequired2 struct { + Code CodeClaimsNoticeRequired2 `json:"code"` +} + +func (e ErrorClaimsNoticeRequired2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(e, "", false) +} + +func (e *ErrorClaimsNoticeRequired2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &e, "", false, []string{"code"}); err != nil { + return err + } + return nil +} + +func (o *ErrorClaimsNoticeRequired2) GetCode() CodeClaimsNoticeRequired2 { + if o == nil { + return CodeClaimsNoticeRequired2("") + } + return o.Code +} + +type CodeClientTransferProhibited2 string + +const ( + CodeClientTransferProhibited2ClientTransferProhibited CodeClientTransferProhibited2 = "client-transfer-prohibited" +) + +func (e CodeClientTransferProhibited2) ToPointer() *CodeClientTransferProhibited2 { + return &e +} +func (e *CodeClientTransferProhibited2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "client-transfer-prohibited": + *e = CodeClientTransferProhibited2(v) + return nil + default: + return fmt.Errorf("invalid value for CodeClientTransferProhibited2: %v", v) + } +} + +type ErrorClientTransferProhibited2 struct { + Code CodeClientTransferProhibited2 `json:"code"` +} + +func (e ErrorClientTransferProhibited2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(e, "", false) +} + +func (e *ErrorClientTransferProhibited2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &e, "", false, []string{"code"}); err != nil { + return err + } + return nil +} + +func (o *ErrorClientTransferProhibited2) GetCode() CodeClientTransferProhibited2 { + if o == nil { + return CodeClientTransferProhibited2("") + } + return o.Code +} + +type CodeUnsupportedLanguageCode2 string + +const ( + CodeUnsupportedLanguageCode2UnsupportedLanguageCode CodeUnsupportedLanguageCode2 = "unsupported-language-code" +) + +func (e CodeUnsupportedLanguageCode2) ToPointer() *CodeUnsupportedLanguageCode2 { + return &e +} +func (e *CodeUnsupportedLanguageCode2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "unsupported-language-code": + *e = CodeUnsupportedLanguageCode2(v) + return nil + default: + return fmt.Errorf("invalid value for CodeUnsupportedLanguageCode2: %v", v) + } +} + +type DomainDetails2 struct { + DetectedLanguageCode string `json:"detectedLanguageCode"` +} + +func (d DomainDetails2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(d, "", false) +} + +func (d *DomainDetails2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &d, "", false, []string{"detectedLanguageCode"}); err != nil { + return err + } + return nil +} + +func (o *DomainDetails2) GetDetectedLanguageCode() string { + if o == nil { + return "" + } + return o.DetectedLanguageCode +} + +type ErrorUnsupportedLanguageCode2 struct { + Code CodeUnsupportedLanguageCode2 `json:"code"` + Details DomainDetails2 `json:"details"` +} + +func (e ErrorUnsupportedLanguageCode2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(e, "", false) +} + +func (e *ErrorUnsupportedLanguageCode2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &e, "", false, []string{"code", "details"}); err != nil { + return err + } + return nil +} + +func (o *ErrorUnsupportedLanguageCode2) GetCode() CodeUnsupportedLanguageCode2 { + if o == nil { + return CodeUnsupportedLanguageCode2("") + } + return o.Code +} + +func (o *ErrorUnsupportedLanguageCode2) GetDetails() DomainDetails2 { + if o == nil { + return DomainDetails2{} + } + return o.Details +} + +type DomainErrorUnion3Type string + +const ( + DomainErrorUnion3TypeErrorUnsupportedLanguageCode2 DomainErrorUnion3Type = "error_UnsupportedLanguageCode_2" + DomainErrorUnion3TypeErrorClientTransferProhibited2 DomainErrorUnion3Type = "error_ClientTransferProhibited_2" + DomainErrorUnion3TypeErrorClaimsNoticeRequired2 DomainErrorUnion3Type = "error_ClaimsNoticeRequired_2" +) + +type DomainErrorUnion3 struct { + ErrorUnsupportedLanguageCode2 *ErrorUnsupportedLanguageCode2 `queryParam:"inline"` + ErrorClientTransferProhibited2 *ErrorClientTransferProhibited2 `queryParam:"inline"` + ErrorClaimsNoticeRequired2 *ErrorClaimsNoticeRequired2 `queryParam:"inline"` + + Type DomainErrorUnion3Type +} + +func CreateDomainErrorUnion3ErrorUnsupportedLanguageCode2(errorUnsupportedLanguageCode2 ErrorUnsupportedLanguageCode2) DomainErrorUnion3 { + typ := DomainErrorUnion3TypeErrorUnsupportedLanguageCode2 + + return DomainErrorUnion3{ + ErrorUnsupportedLanguageCode2: &errorUnsupportedLanguageCode2, + Type: typ, + } +} + +func CreateDomainErrorUnion3ErrorClientTransferProhibited2(errorClientTransferProhibited2 ErrorClientTransferProhibited2) DomainErrorUnion3 { + typ := DomainErrorUnion3TypeErrorClientTransferProhibited2 + + return DomainErrorUnion3{ + ErrorClientTransferProhibited2: &errorClientTransferProhibited2, + Type: typ, + } +} + +func CreateDomainErrorUnion3ErrorClaimsNoticeRequired2(errorClaimsNoticeRequired2 ErrorClaimsNoticeRequired2) DomainErrorUnion3 { + typ := DomainErrorUnion3TypeErrorClaimsNoticeRequired2 + + return DomainErrorUnion3{ + ErrorClaimsNoticeRequired2: &errorClaimsNoticeRequired2, + Type: typ, + } +} + +func (u *DomainErrorUnion3) UnmarshalJSON(data []byte) error { + + var errorUnsupportedLanguageCode2 ErrorUnsupportedLanguageCode2 = ErrorUnsupportedLanguageCode2{} + if err := utils.UnmarshalJSON(data, &errorUnsupportedLanguageCode2, "", true, nil); err == nil { + u.ErrorUnsupportedLanguageCode2 = &errorUnsupportedLanguageCode2 + u.Type = DomainErrorUnion3TypeErrorUnsupportedLanguageCode2 + return nil + } + + var errorClientTransferProhibited2 ErrorClientTransferProhibited2 = ErrorClientTransferProhibited2{} + if err := utils.UnmarshalJSON(data, &errorClientTransferProhibited2, "", true, nil); err == nil { + u.ErrorClientTransferProhibited2 = &errorClientTransferProhibited2 + u.Type = DomainErrorUnion3TypeErrorClientTransferProhibited2 + return nil + } + + var errorClaimsNoticeRequired2 ErrorClaimsNoticeRequired2 = ErrorClaimsNoticeRequired2{} + if err := utils.UnmarshalJSON(data, &errorClaimsNoticeRequired2, "", true, nil); err == nil { + u.ErrorClaimsNoticeRequired2 = &errorClaimsNoticeRequired2 + u.Type = DomainErrorUnion3TypeErrorClaimsNoticeRequired2 + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for DomainErrorUnion3", string(data)) +} + +func (u DomainErrorUnion3) MarshalJSON() ([]byte, error) { + if u.ErrorUnsupportedLanguageCode2 != nil { + return utils.MarshalJSON(u.ErrorUnsupportedLanguageCode2, "", true) + } + + if u.ErrorClientTransferProhibited2 != nil { + return utils.MarshalJSON(u.ErrorClientTransferProhibited2, "", true) + } + + if u.ErrorClaimsNoticeRequired2 != nil { + return utils.MarshalJSON(u.ErrorClaimsNoticeRequired2, "", true) + } + + return nil, errors.New("could not marshal union type DomainErrorUnion3: all fields are null") +} + +type DomainErrorUnion4Type string + +const ( + DomainErrorUnion4TypeDomainErrorUnion3 DomainErrorUnion4Type = "domain_error_union_3" + DomainErrorUnion4TypeDomainError2 DomainErrorUnion4Type = "domain_error_2" +) + +type DomainErrorUnion4 struct { + DomainErrorUnion3 *DomainErrorUnion3 `queryParam:"inline"` + DomainError2 *DomainError2 `queryParam:"inline"` + + Type DomainErrorUnion4Type +} + +func CreateDomainErrorUnion4DomainErrorUnion3(domainErrorUnion3 DomainErrorUnion3) DomainErrorUnion4 { + typ := DomainErrorUnion4TypeDomainErrorUnion3 + + return DomainErrorUnion4{ + DomainErrorUnion3: &domainErrorUnion3, + Type: typ, + } +} + +func CreateDomainErrorUnion4DomainError2(domainError2 DomainError2) DomainErrorUnion4 { + typ := DomainErrorUnion4TypeDomainError2 + + return DomainErrorUnion4{ + DomainError2: &domainError2, + Type: typ, + } +} + +func (u *DomainErrorUnion4) UnmarshalJSON(data []byte) error { + + var domainError2 DomainError2 = DomainError2{} + if err := utils.UnmarshalJSON(data, &domainError2, "", true, nil); err == nil { + u.DomainError2 = &domainError2 + u.Type = DomainErrorUnion4TypeDomainError2 + return nil + } + + var domainErrorUnion3 DomainErrorUnion3 = DomainErrorUnion3{} + if err := utils.UnmarshalJSON(data, &domainErrorUnion3, "", true, nil); err == nil { + u.DomainErrorUnion3 = &domainErrorUnion3 + u.Type = DomainErrorUnion4TypeDomainErrorUnion3 + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for DomainErrorUnion4", string(data)) +} + +func (u DomainErrorUnion4) MarshalJSON() ([]byte, error) { + if u.DomainErrorUnion3 != nil { + return utils.MarshalJSON(u.DomainErrorUnion3, "", true) + } + + if u.DomainError2 != nil { + return utils.MarshalJSON(u.DomainError2, "", true) + } + + return nil, errors.New("could not marshal union type DomainErrorUnion4: all fields are null") +} + +type DomainRenewal struct { + PurchaseType PurchaseTypeRenewal `json:"purchaseType"` + // The number of years the domain is being renewed for. + Years float64 `json:"years"` + DomainName string `json:"domainName"` + Status DomainStatus2 `json:"status"` + // The price for the domain. + Price float64 `json:"price"` + Error *DomainErrorUnion4 `json:"error,omitempty"` +} + +func (d DomainRenewal) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(d, "", false) +} + +func (d *DomainRenewal) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &d, "", false, []string{"purchaseType", "years", "domainName", "status", "price"}); err != nil { + return err + } + return nil +} + +func (o *DomainRenewal) GetPurchaseType() PurchaseTypeRenewal { + if o == nil { + return PurchaseTypeRenewal("") + } + return o.PurchaseType +} + +func (o *DomainRenewal) GetYears() float64 { + if o == nil { + return 0.0 + } + return o.Years +} + +func (o *DomainRenewal) GetDomainName() string { + if o == nil { + return "" + } + return o.DomainName +} + +func (o *DomainRenewal) GetStatus() DomainStatus2 { + if o == nil { + return DomainStatus2("") + } + return o.Status +} + +func (o *DomainRenewal) GetPrice() float64 { + if o == nil { + return 0.0 + } + return o.Price +} + +func (o *DomainRenewal) GetError() *DomainErrorUnion4 { + if o == nil { + return nil + } + return o.Error +} + +type PurchaseTypePurchase string + +const ( + PurchaseTypePurchasePurchase PurchaseTypePurchase = "purchase" +) + +func (e PurchaseTypePurchase) ToPointer() *PurchaseTypePurchase { + return &e +} +func (e *PurchaseTypePurchase) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "purchase": + *e = PurchaseTypePurchase(v) + return nil + default: + return fmt.Errorf("invalid value for PurchaseTypePurchase: %v", v) + } +} + +type DomainStatus1 string + +const ( + DomainStatus1Pending DomainStatus1 = "pending" + DomainStatus1Completed DomainStatus1 = "completed" + DomainStatus1Failed DomainStatus1 = "failed" + DomainStatus1Refunded DomainStatus1 = "refunded" + DomainStatus1RefundFailed DomainStatus1 = "refund-failed" +) + +func (e DomainStatus1) ToPointer() *DomainStatus1 { + return &e +} +func (e *DomainStatus1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "pending": + fallthrough + case "completed": + fallthrough + case "failed": + fallthrough + case "refunded": + fallthrough + case "refund-failed": + *e = DomainStatus1(v) + return nil + default: + return fmt.Errorf("invalid value for DomainStatus1: %v", v) + } +} + +type DomainError1 struct { + Code string `json:"code"` + Details any `json:"details,omitempty"` +} + +func (d DomainError1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(d, "", false) +} + +func (d *DomainError1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &d, "", false, []string{"code"}); err != nil { + return err + } + return nil +} + +func (o *DomainError1) GetCode() string { + if o == nil { + return "" + } + return o.Code +} + +func (o *DomainError1) GetDetails() any { + if o == nil { + return nil + } + return o.Details +} + +type CodeClaimsNoticeRequired1 string + +const ( + CodeClaimsNoticeRequired1ClaimsNoticeRequired CodeClaimsNoticeRequired1 = "claims-notice-required" +) + +func (e CodeClaimsNoticeRequired1) ToPointer() *CodeClaimsNoticeRequired1 { + return &e +} +func (e *CodeClaimsNoticeRequired1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "claims-notice-required": + *e = CodeClaimsNoticeRequired1(v) + return nil + default: + return fmt.Errorf("invalid value for CodeClaimsNoticeRequired1: %v", v) + } +} + +type ErrorClaimsNoticeRequired1 struct { + Code CodeClaimsNoticeRequired1 `json:"code"` +} + +func (e ErrorClaimsNoticeRequired1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(e, "", false) +} + +func (e *ErrorClaimsNoticeRequired1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &e, "", false, []string{"code"}); err != nil { + return err + } + return nil +} + +func (o *ErrorClaimsNoticeRequired1) GetCode() CodeClaimsNoticeRequired1 { + if o == nil { + return CodeClaimsNoticeRequired1("") + } + return o.Code +} + +type CodeClientTransferProhibited1 string + +const ( + CodeClientTransferProhibited1ClientTransferProhibited CodeClientTransferProhibited1 = "client-transfer-prohibited" +) + +func (e CodeClientTransferProhibited1) ToPointer() *CodeClientTransferProhibited1 { + return &e +} +func (e *CodeClientTransferProhibited1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "client-transfer-prohibited": + *e = CodeClientTransferProhibited1(v) + return nil + default: + return fmt.Errorf("invalid value for CodeClientTransferProhibited1: %v", v) + } +} + +type ErrorClientTransferProhibited1 struct { + Code CodeClientTransferProhibited1 `json:"code"` +} + +func (e ErrorClientTransferProhibited1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(e, "", false) +} + +func (e *ErrorClientTransferProhibited1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &e, "", false, []string{"code"}); err != nil { + return err + } + return nil +} + +func (o *ErrorClientTransferProhibited1) GetCode() CodeClientTransferProhibited1 { + if o == nil { + return CodeClientTransferProhibited1("") + } + return o.Code +} + +type CodeUnsupportedLanguageCode1 string + +const ( + CodeUnsupportedLanguageCode1UnsupportedLanguageCode CodeUnsupportedLanguageCode1 = "unsupported-language-code" +) + +func (e CodeUnsupportedLanguageCode1) ToPointer() *CodeUnsupportedLanguageCode1 { + return &e +} +func (e *CodeUnsupportedLanguageCode1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "unsupported-language-code": + *e = CodeUnsupportedLanguageCode1(v) + return nil + default: + return fmt.Errorf("invalid value for CodeUnsupportedLanguageCode1: %v", v) + } +} + +type DomainDetails1 struct { + DetectedLanguageCode string `json:"detectedLanguageCode"` +} + +func (d DomainDetails1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(d, "", false) +} + +func (d *DomainDetails1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &d, "", false, []string{"detectedLanguageCode"}); err != nil { + return err + } + return nil +} + +func (o *DomainDetails1) GetDetectedLanguageCode() string { + if o == nil { + return "" + } + return o.DetectedLanguageCode +} + +type ErrorUnsupportedLanguageCode1 struct { + Code CodeUnsupportedLanguageCode1 `json:"code"` + Details DomainDetails1 `json:"details"` +} + +func (e ErrorUnsupportedLanguageCode1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(e, "", false) +} + +func (e *ErrorUnsupportedLanguageCode1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &e, "", false, []string{"code", "details"}); err != nil { + return err + } + return nil +} + +func (o *ErrorUnsupportedLanguageCode1) GetCode() CodeUnsupportedLanguageCode1 { + if o == nil { + return CodeUnsupportedLanguageCode1("") + } + return o.Code +} + +func (o *ErrorUnsupportedLanguageCode1) GetDetails() DomainDetails1 { + if o == nil { + return DomainDetails1{} + } + return o.Details +} + +type DomainErrorUnion1Type string + +const ( + DomainErrorUnion1TypeErrorUnsupportedLanguageCode1 DomainErrorUnion1Type = "error_UnsupportedLanguageCode_1" + DomainErrorUnion1TypeErrorClientTransferProhibited1 DomainErrorUnion1Type = "error_ClientTransferProhibited_1" + DomainErrorUnion1TypeErrorClaimsNoticeRequired1 DomainErrorUnion1Type = "error_ClaimsNoticeRequired_1" +) + +type DomainErrorUnion1 struct { + ErrorUnsupportedLanguageCode1 *ErrorUnsupportedLanguageCode1 `queryParam:"inline"` + ErrorClientTransferProhibited1 *ErrorClientTransferProhibited1 `queryParam:"inline"` + ErrorClaimsNoticeRequired1 *ErrorClaimsNoticeRequired1 `queryParam:"inline"` + + Type DomainErrorUnion1Type +} + +func CreateDomainErrorUnion1ErrorUnsupportedLanguageCode1(errorUnsupportedLanguageCode1 ErrorUnsupportedLanguageCode1) DomainErrorUnion1 { + typ := DomainErrorUnion1TypeErrorUnsupportedLanguageCode1 + + return DomainErrorUnion1{ + ErrorUnsupportedLanguageCode1: &errorUnsupportedLanguageCode1, + Type: typ, + } +} + +func CreateDomainErrorUnion1ErrorClientTransferProhibited1(errorClientTransferProhibited1 ErrorClientTransferProhibited1) DomainErrorUnion1 { + typ := DomainErrorUnion1TypeErrorClientTransferProhibited1 + + return DomainErrorUnion1{ + ErrorClientTransferProhibited1: &errorClientTransferProhibited1, + Type: typ, + } +} + +func CreateDomainErrorUnion1ErrorClaimsNoticeRequired1(errorClaimsNoticeRequired1 ErrorClaimsNoticeRequired1) DomainErrorUnion1 { + typ := DomainErrorUnion1TypeErrorClaimsNoticeRequired1 + + return DomainErrorUnion1{ + ErrorClaimsNoticeRequired1: &errorClaimsNoticeRequired1, + Type: typ, + } +} + +func (u *DomainErrorUnion1) UnmarshalJSON(data []byte) error { + + var errorUnsupportedLanguageCode1 ErrorUnsupportedLanguageCode1 = ErrorUnsupportedLanguageCode1{} + if err := utils.UnmarshalJSON(data, &errorUnsupportedLanguageCode1, "", true, nil); err == nil { + u.ErrorUnsupportedLanguageCode1 = &errorUnsupportedLanguageCode1 + u.Type = DomainErrorUnion1TypeErrorUnsupportedLanguageCode1 + return nil + } + + var errorClientTransferProhibited1 ErrorClientTransferProhibited1 = ErrorClientTransferProhibited1{} + if err := utils.UnmarshalJSON(data, &errorClientTransferProhibited1, "", true, nil); err == nil { + u.ErrorClientTransferProhibited1 = &errorClientTransferProhibited1 + u.Type = DomainErrorUnion1TypeErrorClientTransferProhibited1 + return nil + } + + var errorClaimsNoticeRequired1 ErrorClaimsNoticeRequired1 = ErrorClaimsNoticeRequired1{} + if err := utils.UnmarshalJSON(data, &errorClaimsNoticeRequired1, "", true, nil); err == nil { + u.ErrorClaimsNoticeRequired1 = &errorClaimsNoticeRequired1 + u.Type = DomainErrorUnion1TypeErrorClaimsNoticeRequired1 + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for DomainErrorUnion1", string(data)) +} + +func (u DomainErrorUnion1) MarshalJSON() ([]byte, error) { + if u.ErrorUnsupportedLanguageCode1 != nil { + return utils.MarshalJSON(u.ErrorUnsupportedLanguageCode1, "", true) + } + + if u.ErrorClientTransferProhibited1 != nil { + return utils.MarshalJSON(u.ErrorClientTransferProhibited1, "", true) + } + + if u.ErrorClaimsNoticeRequired1 != nil { + return utils.MarshalJSON(u.ErrorClaimsNoticeRequired1, "", true) + } + + return nil, errors.New("could not marshal union type DomainErrorUnion1: all fields are null") +} + +type DomainErrorUnion2Type string + +const ( + DomainErrorUnion2TypeDomainErrorUnion1 DomainErrorUnion2Type = "domain_error_union_1" + DomainErrorUnion2TypeDomainError1 DomainErrorUnion2Type = "domain_error_1" +) + +type DomainErrorUnion2 struct { + DomainErrorUnion1 *DomainErrorUnion1 `queryParam:"inline"` + DomainError1 *DomainError1 `queryParam:"inline"` + + Type DomainErrorUnion2Type +} + +func CreateDomainErrorUnion2DomainErrorUnion1(domainErrorUnion1 DomainErrorUnion1) DomainErrorUnion2 { + typ := DomainErrorUnion2TypeDomainErrorUnion1 + + return DomainErrorUnion2{ + DomainErrorUnion1: &domainErrorUnion1, + Type: typ, + } +} + +func CreateDomainErrorUnion2DomainError1(domainError1 DomainError1) DomainErrorUnion2 { + typ := DomainErrorUnion2TypeDomainError1 + + return DomainErrorUnion2{ + DomainError1: &domainError1, + Type: typ, + } +} + +func (u *DomainErrorUnion2) UnmarshalJSON(data []byte) error { + + var domainError1 DomainError1 = DomainError1{} + if err := utils.UnmarshalJSON(data, &domainError1, "", true, nil); err == nil { + u.DomainError1 = &domainError1 + u.Type = DomainErrorUnion2TypeDomainError1 + return nil + } + + var domainErrorUnion1 DomainErrorUnion1 = DomainErrorUnion1{} + if err := utils.UnmarshalJSON(data, &domainErrorUnion1, "", true, nil); err == nil { + u.DomainErrorUnion1 = &domainErrorUnion1 + u.Type = DomainErrorUnion2TypeDomainErrorUnion1 + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for DomainErrorUnion2", string(data)) +} + +func (u DomainErrorUnion2) MarshalJSON() ([]byte, error) { + if u.DomainErrorUnion1 != nil { + return utils.MarshalJSON(u.DomainErrorUnion1, "", true) + } + + if u.DomainError1 != nil { + return utils.MarshalJSON(u.DomainError1, "", true) + } + + return nil, errors.New("could not marshal union type DomainErrorUnion2: all fields are null") +} + +type DomainPurchase struct { + PurchaseType PurchaseTypePurchase `json:"purchaseType"` + AutoRenew bool `json:"autoRenew"` + // The number of years the domain is being purchased for. + Years float64 `json:"years"` + DomainName string `json:"domainName"` + Status DomainStatus1 `json:"status"` + // The price for the domain. + Price float64 `json:"price"` + Error *DomainErrorUnion2 `json:"error,omitempty"` +} + +func (d DomainPurchase) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(d, "", false) +} + +func (d *DomainPurchase) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &d, "", false, []string{"purchaseType", "autoRenew", "years", "domainName", "status", "price"}); err != nil { + return err + } + return nil +} + +func (o *DomainPurchase) GetPurchaseType() PurchaseTypePurchase { + if o == nil { + return PurchaseTypePurchase("") + } + return o.PurchaseType +} + +func (o *DomainPurchase) GetAutoRenew() bool { + if o == nil { + return false + } + return o.AutoRenew +} + +func (o *DomainPurchase) GetYears() float64 { + if o == nil { + return 0.0 + } + return o.Years +} + +func (o *DomainPurchase) GetDomainName() string { + if o == nil { + return "" + } + return o.DomainName +} + +func (o *DomainPurchase) GetStatus() DomainStatus1 { + if o == nil { + return DomainStatus1("") + } + return o.Status +} + +func (o *DomainPurchase) GetPrice() float64 { + if o == nil { + return 0.0 + } + return o.Price +} + +func (o *DomainPurchase) GetError() *DomainErrorUnion2 { + if o == nil { + return nil + } + return o.Error +} + +type GetOrderDomainUnionType string + +const ( + GetOrderDomainUnionTypeDomainPurchase GetOrderDomainUnionType = "domain_Purchase" + GetOrderDomainUnionTypeDomainRenewal GetOrderDomainUnionType = "domain_Renewal" + GetOrderDomainUnionTypeDomainTransfer GetOrderDomainUnionType = "domain_Transfer" +) + +type GetOrderDomainUnion struct { + DomainPurchase *DomainPurchase `queryParam:"inline"` + DomainRenewal *DomainRenewal `queryParam:"inline"` + DomainTransfer *DomainTransfer `queryParam:"inline"` + + Type GetOrderDomainUnionType +} + +func CreateGetOrderDomainUnionDomainPurchase(domainPurchase DomainPurchase) GetOrderDomainUnion { + typ := GetOrderDomainUnionTypeDomainPurchase + + return GetOrderDomainUnion{ + DomainPurchase: &domainPurchase, + Type: typ, + } +} + +func CreateGetOrderDomainUnionDomainRenewal(domainRenewal DomainRenewal) GetOrderDomainUnion { + typ := GetOrderDomainUnionTypeDomainRenewal + + return GetOrderDomainUnion{ + DomainRenewal: &domainRenewal, + Type: typ, + } +} + +func CreateGetOrderDomainUnionDomainTransfer(domainTransfer DomainTransfer) GetOrderDomainUnion { + typ := GetOrderDomainUnionTypeDomainTransfer + + return GetOrderDomainUnion{ + DomainTransfer: &domainTransfer, + Type: typ, + } +} + +func (u *GetOrderDomainUnion) UnmarshalJSON(data []byte) error { + + var domainPurchase DomainPurchase = DomainPurchase{} + if err := utils.UnmarshalJSON(data, &domainPurchase, "", true, nil); err == nil { + u.DomainPurchase = &domainPurchase + u.Type = GetOrderDomainUnionTypeDomainPurchase + return nil + } + + var domainTransfer DomainTransfer = DomainTransfer{} + if err := utils.UnmarshalJSON(data, &domainTransfer, "", true, nil); err == nil { + u.DomainTransfer = &domainTransfer + u.Type = GetOrderDomainUnionTypeDomainTransfer + return nil + } + + var domainRenewal DomainRenewal = DomainRenewal{} + if err := utils.UnmarshalJSON(data, &domainRenewal, "", true, nil); err == nil { + u.DomainRenewal = &domainRenewal + u.Type = GetOrderDomainUnionTypeDomainRenewal + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for GetOrderDomainUnion", string(data)) +} + +func (u GetOrderDomainUnion) MarshalJSON() ([]byte, error) { + if u.DomainPurchase != nil { + return utils.MarshalJSON(u.DomainPurchase, "", true) + } + + if u.DomainRenewal != nil { + return utils.MarshalJSON(u.DomainRenewal, "", true) + } + + if u.DomainTransfer != nil { + return utils.MarshalJSON(u.DomainTransfer, "", true) + } + + return nil, errors.New("could not marshal union type GetOrderDomainUnion: all fields are null") +} + +type GetOrderStatus string + +const ( + GetOrderStatusDraft GetOrderStatus = "draft" + GetOrderStatusPurchasing GetOrderStatus = "purchasing" + GetOrderStatusCompleted GetOrderStatus = "completed" + GetOrderStatusFailed GetOrderStatus = "failed" +) + +func (e GetOrderStatus) ToPointer() *GetOrderStatus { + return &e +} +func (e *GetOrderStatus) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "draft": + fallthrough + case "purchasing": + fallthrough + case "completed": + fallthrough + case "failed": + *e = GetOrderStatus(v) + return nil + default: + return fmt.Errorf("invalid value for GetOrderStatus: %v", v) + } +} + +type GetOrderError struct { + Code string `json:"code"` + Details any `json:"details,omitempty"` +} + +func (g GetOrderError) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetOrderError) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"code"}); err != nil { + return err + } + return nil +} + +func (o *GetOrderError) GetCode() string { + if o == nil { + return "" + } + return o.Code +} + +func (o *GetOrderError) GetDetails() any { + if o == nil { + return nil + } + return o.Details +} + +type CodeUnexpectedError string + +const ( + CodeUnexpectedErrorUnexpectedError CodeUnexpectedError = "unexpected-error" +) + +func (e CodeUnexpectedError) ToPointer() *CodeUnexpectedError { + return &e +} +func (e *CodeUnexpectedError) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "unexpected-error": + *e = CodeUnexpectedError(v) + return nil + default: + return fmt.Errorf("invalid value for CodeUnexpectedError: %v", v) + } +} + +type ErrorUnexpectedError struct { + Code CodeUnexpectedError `json:"code"` +} + +func (e ErrorUnexpectedError) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(e, "", false) +} + +func (e *ErrorUnexpectedError) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &e, "", false, []string{"code"}); err != nil { + return err + } + return nil +} + +func (o *ErrorUnexpectedError) GetCode() CodeUnexpectedError { + if o == nil { + return CodeUnexpectedError("") + } + return o.Code +} + +type CodePriceMismatch string + +const ( + CodePriceMismatchPriceMismatch CodePriceMismatch = "price-mismatch" +) + +func (e CodePriceMismatch) ToPointer() *CodePriceMismatch { + return &e +} +func (e *CodePriceMismatch) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "price-mismatch": + *e = CodePriceMismatch(v) + return nil + default: + return fmt.Errorf("invalid value for CodePriceMismatch: %v", v) + } +} + +type Details2 struct { + ExpectedPrice float64 `json:"expectedPrice"` + ActualPrice *float64 `json:"actualPrice,omitempty"` +} + +func (d Details2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(d, "", false) +} + +func (d *Details2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &d, "", false, []string{"expectedPrice"}); err != nil { + return err + } + return nil +} + +func (o *Details2) GetExpectedPrice() float64 { + if o == nil { + return 0.0 + } + return o.ExpectedPrice +} + +func (o *Details2) GetActualPrice() *float64 { + if o == nil { + return nil + } + return o.ActualPrice +} + +type ErrorPriceMismatch struct { + Code CodePriceMismatch `json:"code"` + Details Details2 `json:"details"` +} + +func (e ErrorPriceMismatch) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(e, "", false) +} + +func (e *ErrorPriceMismatch) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &e, "", false, []string{"code", "details"}); err != nil { + return err + } + return nil +} + +func (o *ErrorPriceMismatch) GetCode() CodePriceMismatch { + if o == nil { + return CodePriceMismatch("") + } + return o.Code +} + +func (o *ErrorPriceMismatch) GetDetails() Details2 { + if o == nil { + return Details2{} + } + return o.Details +} + +type CodeTldOutage string + +const ( + CodeTldOutageTldOutage CodeTldOutage = "tld-outage" +) + +func (e CodeTldOutage) ToPointer() *CodeTldOutage { + return &e +} +func (e *CodeTldOutage) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "tld-outage": + *e = CodeTldOutage(v) + return nil + default: + return fmt.Errorf("invalid value for CodeTldOutage: %v", v) + } +} + +type Tld struct { + TldName string `json:"tldName"` + EndsAt string `json:"endsAt"` +} + +func (t Tld) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(t, "", false) +} + +func (t *Tld) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &t, "", false, []string{"tldName", "endsAt"}); err != nil { + return err + } + return nil +} + +func (o *Tld) GetTldName() string { + if o == nil { + return "" + } + return o.TldName +} + +func (o *Tld) GetEndsAt() string { + if o == nil { + return "" + } + return o.EndsAt +} + +type Details1 struct { + Tlds []Tld `json:"tlds"` +} + +func (d Details1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(d, "", false) +} + +func (d *Details1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &d, "", false, []string{"tlds"}); err != nil { + return err + } + return nil +} + +func (o *Details1) GetTlds() []Tld { + if o == nil { + return []Tld{} + } + return o.Tlds +} + +type ErrorTldOutage struct { + Code CodeTldOutage `json:"code"` + Details Details1 `json:"details"` +} + +func (e ErrorTldOutage) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(e, "", false) +} + +func (e *ErrorTldOutage) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &e, "", false, []string{"code", "details"}); err != nil { + return err + } + return nil +} + +func (o *ErrorTldOutage) GetCode() CodeTldOutage { + if o == nil { + return CodeTldOutage("") + } + return o.Code +} + +func (o *ErrorTldOutage) GetDetails() Details1 { + if o == nil { + return Details1{} + } + return o.Details +} + +type CodePaymentFailed string + +const ( + CodePaymentFailedPaymentFailed CodePaymentFailed = "payment-failed" +) + +func (e CodePaymentFailed) ToPointer() *CodePaymentFailed { + return &e +} +func (e *CodePaymentFailed) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "payment-failed": + *e = CodePaymentFailed(v) + return nil + default: + return fmt.Errorf("invalid value for CodePaymentFailed: %v", v) + } +} + +type ErrorPaymentFailed struct { + Code CodePaymentFailed `json:"code"` +} + +func (e ErrorPaymentFailed) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(e, "", false) +} + +func (e *ErrorPaymentFailed) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &e, "", false, []string{"code"}); err != nil { + return err + } + return nil +} + +func (o *ErrorPaymentFailed) GetCode() CodePaymentFailed { + if o == nil { + return CodePaymentFailed("") + } + return o.Code +} + +type ErrorUnion1Type string + +const ( + ErrorUnion1TypeErrorPaymentFailed ErrorUnion1Type = "error_PaymentFailed" + ErrorUnion1TypeErrorTldOutage ErrorUnion1Type = "error_TldOutage" + ErrorUnion1TypeErrorPriceMismatch ErrorUnion1Type = "error_PriceMismatch" + ErrorUnion1TypeErrorUnexpectedError ErrorUnion1Type = "error_UnexpectedError" +) + +type ErrorUnion1 struct { + ErrorPaymentFailed *ErrorPaymentFailed `queryParam:"inline"` + ErrorTldOutage *ErrorTldOutage `queryParam:"inline"` + ErrorPriceMismatch *ErrorPriceMismatch `queryParam:"inline"` + ErrorUnexpectedError *ErrorUnexpectedError `queryParam:"inline"` + + Type ErrorUnion1Type +} + +func CreateErrorUnion1ErrorPaymentFailed(errorPaymentFailed ErrorPaymentFailed) ErrorUnion1 { + typ := ErrorUnion1TypeErrorPaymentFailed + + return ErrorUnion1{ + ErrorPaymentFailed: &errorPaymentFailed, + Type: typ, + } +} + +func CreateErrorUnion1ErrorTldOutage(errorTldOutage ErrorTldOutage) ErrorUnion1 { + typ := ErrorUnion1TypeErrorTldOutage + + return ErrorUnion1{ + ErrorTldOutage: &errorTldOutage, + Type: typ, + } +} + +func CreateErrorUnion1ErrorPriceMismatch(errorPriceMismatch ErrorPriceMismatch) ErrorUnion1 { + typ := ErrorUnion1TypeErrorPriceMismatch + + return ErrorUnion1{ + ErrorPriceMismatch: &errorPriceMismatch, + Type: typ, + } +} + +func CreateErrorUnion1ErrorUnexpectedError(errorUnexpectedError ErrorUnexpectedError) ErrorUnion1 { + typ := ErrorUnion1TypeErrorUnexpectedError + + return ErrorUnion1{ + ErrorUnexpectedError: &errorUnexpectedError, + Type: typ, + } +} + +func (u *ErrorUnion1) UnmarshalJSON(data []byte) error { + + var errorTldOutage ErrorTldOutage = ErrorTldOutage{} + if err := utils.UnmarshalJSON(data, &errorTldOutage, "", true, nil); err == nil { + u.ErrorTldOutage = &errorTldOutage + u.Type = ErrorUnion1TypeErrorTldOutage + return nil + } + + var errorPriceMismatch ErrorPriceMismatch = ErrorPriceMismatch{} + if err := utils.UnmarshalJSON(data, &errorPriceMismatch, "", true, nil); err == nil { + u.ErrorPriceMismatch = &errorPriceMismatch + u.Type = ErrorUnion1TypeErrorPriceMismatch + return nil + } + + var errorPaymentFailed ErrorPaymentFailed = ErrorPaymentFailed{} + if err := utils.UnmarshalJSON(data, &errorPaymentFailed, "", true, nil); err == nil { + u.ErrorPaymentFailed = &errorPaymentFailed + u.Type = ErrorUnion1TypeErrorPaymentFailed + return nil + } + + var errorUnexpectedError ErrorUnexpectedError = ErrorUnexpectedError{} + if err := utils.UnmarshalJSON(data, &errorUnexpectedError, "", true, nil); err == nil { + u.ErrorUnexpectedError = &errorUnexpectedError + u.Type = ErrorUnion1TypeErrorUnexpectedError + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for ErrorUnion1", string(data)) +} + +func (u ErrorUnion1) MarshalJSON() ([]byte, error) { + if u.ErrorPaymentFailed != nil { + return utils.MarshalJSON(u.ErrorPaymentFailed, "", true) + } + + if u.ErrorTldOutage != nil { + return utils.MarshalJSON(u.ErrorTldOutage, "", true) + } + + if u.ErrorPriceMismatch != nil { + return utils.MarshalJSON(u.ErrorPriceMismatch, "", true) + } + + if u.ErrorUnexpectedError != nil { + return utils.MarshalJSON(u.ErrorUnexpectedError, "", true) + } + + return nil, errors.New("could not marshal union type ErrorUnion1: all fields are null") +} + +type ErrorUnion2Type string + +const ( + ErrorUnion2TypeErrorUnion1 ErrorUnion2Type = "error_union_1" + ErrorUnion2TypeGetOrderError ErrorUnion2Type = "getOrder_error" +) + +type ErrorUnion2 struct { + ErrorUnion1 *ErrorUnion1 `queryParam:"inline"` + GetOrderError *GetOrderError `queryParam:"inline"` + + Type ErrorUnion2Type +} + +func CreateErrorUnion2ErrorUnion1(errorUnion1 ErrorUnion1) ErrorUnion2 { + typ := ErrorUnion2TypeErrorUnion1 + + return ErrorUnion2{ + ErrorUnion1: &errorUnion1, + Type: typ, + } +} + +func CreateErrorUnion2GetOrderError(getOrderError GetOrderError) ErrorUnion2 { + typ := ErrorUnion2TypeGetOrderError + + return ErrorUnion2{ + GetOrderError: &getOrderError, + Type: typ, + } +} + +func (u *ErrorUnion2) UnmarshalJSON(data []byte) error { + + var getOrderError GetOrderError = GetOrderError{} + if err := utils.UnmarshalJSON(data, &getOrderError, "", true, nil); err == nil { + u.GetOrderError = &getOrderError + u.Type = ErrorUnion2TypeGetOrderError + return nil + } + + var errorUnion1 ErrorUnion1 = ErrorUnion1{} + if err := utils.UnmarshalJSON(data, &errorUnion1, "", true, nil); err == nil { + u.ErrorUnion1 = &errorUnion1 + u.Type = ErrorUnion2TypeErrorUnion1 + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for ErrorUnion2", string(data)) +} + +func (u ErrorUnion2) MarshalJSON() ([]byte, error) { + if u.ErrorUnion1 != nil { + return utils.MarshalJSON(u.ErrorUnion1, "", true) + } + + if u.GetOrderError != nil { + return utils.MarshalJSON(u.GetOrderError, "", true) + } + + return nil, errors.New("could not marshal union type ErrorUnion2: all fields are null") +} + +// GetOrderResponseBody - Success +type GetOrderResponseBody struct { + OrderID string `json:"orderId"` + Domains []GetOrderDomainUnion `json:"domains"` + Status GetOrderStatus `json:"status"` + Error *ErrorUnion2 `json:"error,omitempty"` +} + +func (o *GetOrderResponseBody) GetOrderID() string { + if o == nil { + return "" + } + return o.OrderID +} + +func (o *GetOrderResponseBody) GetDomains() []GetOrderDomainUnion { + if o == nil { + return []GetOrderDomainUnion{} + } + return o.Domains +} + +func (o *GetOrderResponseBody) GetStatus() GetOrderStatus { + if o == nil { + return GetOrderStatus("") + } + return o.Status +} + +func (o *GetOrderResponseBody) GetError() *ErrorUnion2 { + if o == nil { + return nil + } + return o.Error +} + +type GetOrderResponse struct { + HTTPMeta components.HTTPMetadata `json:"-"` + // Success + Object *GetOrderResponseBody +} + +func (o *GetOrderResponse) GetHTTPMeta() components.HTTPMetadata { + if o == nil { + return components.HTTPMetadata{} + } + return o.HTTPMeta +} + +func (o *GetOrderResponse) GetObject() *GetOrderResponseBody { + if o == nil { + return nil + } + return o.Object +} diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/getprojectclientcerts.go b/src/__tests__/mockserver/internal/sdk/models/operations/getprojectclientcerts.go new file mode 100644 index 000000000..a8f26bf47 --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/operations/getprojectclientcerts.go @@ -0,0 +1,88 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package operations + +import ( + "mockserver/internal/sdk/models/components" +) + +type GetProjectClientCertsRequest struct { + // The unique project identifier or the project name + IDOrName string `pathParam:"style=simple,explode=false,name=idOrName"` + // The Team identifier to perform the request on behalf of. + TeamID *string `queryParam:"style=form,explode=true,name=teamId"` + // The Team slug to perform the request on behalf of. + Slug *string `queryParam:"style=form,explode=true,name=slug"` +} + +func (o *GetProjectClientCertsRequest) GetIDOrName() string { + if o == nil { + return "" + } + return o.IDOrName +} + +func (o *GetProjectClientCertsRequest) GetTeamID() *string { + if o == nil { + return nil + } + return o.TeamID +} + +func (o *GetProjectClientCertsRequest) GetSlug() *string { + if o == nil { + return nil + } + return o.Slug +} + +type ClientCert struct { + Origin string `json:"origin"` + ID string `json:"id"` +} + +func (o *ClientCert) GetOrigin() string { + if o == nil { + return "" + } + return o.Origin +} + +func (o *ClientCert) GetID() string { + if o == nil { + return "" + } + return o.ID +} + +// GetProjectClientCertsResponseBody - Client certificates retrieved successfully +type GetProjectClientCertsResponseBody struct { + ClientCerts []ClientCert `json:"clientCerts"` +} + +func (o *GetProjectClientCertsResponseBody) GetClientCerts() []ClientCert { + if o == nil { + return []ClientCert{} + } + return o.ClientCerts +} + +type GetProjectClientCertsResponse struct { + HTTPMeta components.HTTPMetadata `json:"-"` + // Client certificates retrieved successfully + Object *GetProjectClientCertsResponseBody +} + +func (o *GetProjectClientCertsResponse) GetHTTPMeta() components.HTTPMetadata { + if o == nil { + return components.HTTPMetadata{} + } + return o.HTTPMeta +} + +func (o *GetProjectClientCertsResponse) GetObject() *GetProjectClientCertsResponseBody { + if o == nil { + return nil + } + return o.Object +} diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/getprojects.go b/src/__tests__/mockserver/internal/sdk/models/operations/getprojects.go index eb741e6d7..c6fb2b8bc 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/getprojects.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/getprojects.go @@ -64,6 +64,33 @@ func (e *ElasticConcurrencyEnabled) UnmarshalJSON(data []byte) error { } } +// StaticIpsEnabled - Filter results by projects with Static IPs enabled +type StaticIpsEnabled string + +const ( + StaticIpsEnabledZero StaticIpsEnabled = "0" + StaticIpsEnabledOne StaticIpsEnabled = "1" +) + +func (e StaticIpsEnabled) ToPointer() *StaticIpsEnabled { + return &e +} +func (e *StaticIpsEnabled) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "0": + fallthrough + case "1": + *e = StaticIpsEnabled(v) + return nil + default: + return fmt.Errorf("invalid value for StaticIpsEnabled: %v", v) + } +} + type GetProjectsRequest struct { // Query only projects updated after the given timestamp or continuation token. From *string `queryParam:"style=form,explode=true,name=from"` @@ -88,6 +115,10 @@ type GetProjectsRequest struct { Deprecated *bool `queryParam:"style=form,explode=true,name=deprecated"` // Filter results by projects with elastic concurrency enabled ElasticConcurrencyEnabled *ElasticConcurrencyEnabled `queryParam:"style=form,explode=true,name=elasticConcurrencyEnabled"` + // Filter results by projects with Static IPs enabled + StaticIpsEnabled *StaticIpsEnabled `queryParam:"style=form,explode=true,name=staticIpsEnabled"` + // Filter results by build machine types. Accepts comma-separated values. Use \"default\" for projects without a build machine type set. + BuildMachineTypes *string `queryParam:"style=form,explode=true,name=buildMachineTypes"` // The Team identifier to perform the request on behalf of. TeamID *string `queryParam:"style=form,explode=true,name=teamId"` // The Team slug to perform the request on behalf of. @@ -178,6 +209,20 @@ func (o *GetProjectsRequest) GetElasticConcurrencyEnabled() *ElasticConcurrencyE return o.ElasticConcurrencyEnabled } +func (o *GetProjectsRequest) GetStaticIpsEnabled() *StaticIpsEnabled { + if o == nil { + return nil + } + return o.StaticIpsEnabled +} + +func (o *GetProjectsRequest) GetBuildMachineTypes() *string { + if o == nil { + return nil + } + return o.BuildMachineTypes +} + func (o *GetProjectsRequest) GetTeamID() *string { if o == nil { return nil @@ -2501,10 +2546,12 @@ const ( GetProjectsFrameworkZola GetProjectsFramework = "zola" GetProjectsFrameworkHydrogen GetProjectsFramework = "hydrogen" GetProjectsFrameworkVite GetProjectsFramework = "vite" + GetProjectsFrameworkTanstackStart GetProjectsFramework = "tanstack-start" GetProjectsFrameworkVitepress GetProjectsFramework = "vitepress" GetProjectsFrameworkVuepress GetProjectsFramework = "vuepress" GetProjectsFrameworkParcel GetProjectsFramework = "parcel" GetProjectsFrameworkFastapi GetProjectsFramework = "fastapi" + GetProjectsFrameworkFlask GetProjectsFramework = "flask" GetProjectsFrameworkFasthtml GetProjectsFramework = "fasthtml" GetProjectsFrameworkSanityV3 GetProjectsFramework = "sanity-v3" GetProjectsFrameworkSanity GetProjectsFramework = "sanity" @@ -2513,6 +2560,9 @@ const ( GetProjectsFrameworkHono GetProjectsFramework = "hono" GetProjectsFrameworkExpress GetProjectsFramework = "express" GetProjectsFrameworkH3 GetProjectsFramework = "h3" + GetProjectsFrameworkNestjs GetProjectsFramework = "nestjs" + GetProjectsFrameworkElysia GetProjectsFramework = "elysia" + GetProjectsFrameworkFastify GetProjectsFramework = "fastify" GetProjectsFrameworkXmcp GetProjectsFramework = "xmcp" ) @@ -2603,6 +2653,8 @@ func (e *GetProjectsFramework) UnmarshalJSON(data []byte) error { fallthrough case "vite": fallthrough + case "tanstack-start": + fallthrough case "vitepress": fallthrough case "vuepress": @@ -2611,6 +2663,8 @@ func (e *GetProjectsFramework) UnmarshalJSON(data []byte) error { fallthrough case "fastapi": fallthrough + case "flask": + fallthrough case "fasthtml": fallthrough case "sanity-v3": @@ -2627,6 +2681,12 @@ func (e *GetProjectsFramework) UnmarshalJSON(data []byte) error { fallthrough case "h3": fallthrough + case "nestjs": + fallthrough + case "elysia": + fallthrough + case "fastify": + fallthrough case "xmcp": *e = GetProjectsFramework(v) return nil @@ -4006,10 +4066,68 @@ func (u GetProjectsLinkUnion) MarshalJSON() ([]byte, error) { return nil, errors.New("could not marshal union type GetProjectsLinkUnion: all fields are null") } +type GetProjectsMicrofrontends3 struct { + UpdatedAt float64 `json:"updatedAt"` + GroupIds []any `json:"groupIds"` + Enabled bool `json:"enabled"` + FreeProjectForLegacyLimits *bool `json:"freeProjectForLegacyLimits,omitempty"` +} + +func (g GetProjectsMicrofrontends3) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetProjectsMicrofrontends3) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"updatedAt", "groupIds", "enabled"}); err != nil { + return err + } + return nil +} + +func (o *GetProjectsMicrofrontends3) GetUpdatedAt() float64 { + if o == nil { + return 0.0 + } + return o.UpdatedAt +} + +func (o *GetProjectsMicrofrontends3) GetGroupIds() []any { + if o == nil { + return []any{} + } + return o.GroupIds +} + +func (o *GetProjectsMicrofrontends3) GetEnabled() bool { + if o == nil { + return false + } + return o.Enabled +} + +func (o *GetProjectsMicrofrontends3) GetFreeProjectForLegacyLimits() *bool { + if o == nil { + return nil + } + return o.FreeProjectForLegacyLimits +} + type GetProjectsMicrofrontends2 struct { + IsDefaultApp *bool `json:"isDefaultApp,omitempty"` + // Whether observability data should be routed to this microfrontend project or a root project. + RouteObservabilityToThisProject *bool `json:"routeObservabilityToThisProject,omitempty"` + // Whether to add microfrontends routing to aliases. This means domains in this project will route as a microfrontend. + DoNotRouteWithMicrofrontendsRouting *bool `json:"doNotRouteWithMicrofrontendsRouting,omitempty"` + // Timestamp when the microfrontends settings were last updated. UpdatedAt float64 `json:"updatedAt"` - GroupIds []any `json:"groupIds"` - Enabled bool `json:"enabled"` + // 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 []string `json:"groupIds"` + // Whether microfrontends are enabled for this project. + Enabled bool `json:"enabled"` + // 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. Includes the leading slash, e.g. `/docs` + DefaultRoute *string `json:"defaultRoute,omitempty"` + // Whether the project was part of the legacy limits for hobby and pro-trial before billing was added. This field is only set when the team is upgraded to a paid plan and we are backfilling the subscription status. We cap the subscription to 2 projects and set this field for the 3rd project. When this field is set, the project is not charged for and we do not call any billing APIs for this project. + FreeProjectForLegacyLimits *bool `json:"freeProjectForLegacyLimits,omitempty"` } func (g GetProjectsMicrofrontends2) MarshalJSON() ([]byte, error) { @@ -4023,6 +4141,27 @@ func (g *GetProjectsMicrofrontends2) UnmarshalJSON(data []byte) error { return nil } +func (o *GetProjectsMicrofrontends2) GetIsDefaultApp() *bool { + if o == nil { + return nil + } + return o.IsDefaultApp +} + +func (o *GetProjectsMicrofrontends2) GetRouteObservabilityToThisProject() *bool { + if o == nil { + return nil + } + return o.RouteObservabilityToThisProject +} + +func (o *GetProjectsMicrofrontends2) GetDoNotRouteWithMicrofrontendsRouting() *bool { + if o == nil { + return nil + } + return o.DoNotRouteWithMicrofrontendsRouting +} + func (o *GetProjectsMicrofrontends2) GetUpdatedAt() float64 { if o == nil { return 0.0 @@ -4030,9 +4169,9 @@ func (o *GetProjectsMicrofrontends2) GetUpdatedAt() float64 { return o.UpdatedAt } -func (o *GetProjectsMicrofrontends2) GetGroupIds() []any { +func (o *GetProjectsMicrofrontends2) GetGroupIds() []string { if o == nil { - return []any{} + return []string{} } return o.GroupIds } @@ -4044,19 +4183,32 @@ func (o *GetProjectsMicrofrontends2) GetEnabled() bool { return o.Enabled } +func (o *GetProjectsMicrofrontends2) GetDefaultRoute() *string { + if o == nil { + return nil + } + return o.DefaultRoute +} + +func (o *GetProjectsMicrofrontends2) GetFreeProjectForLegacyLimits() *bool { + if o == nil { + return nil + } + return o.FreeProjectForLegacyLimits +} + type GetProjectsMicrofrontends1 struct { + IsDefaultApp bool `json:"isDefaultApp"` // Timestamp when the microfrontends settings were last updated. UpdatedAt float64 `json:"updatedAt"` // 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 []string `json:"groupIds"` // Whether microfrontends are enabled for this project. Enabled bool `json:"enabled"` - // 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 *bool `json:"isDefaultApp,omitempty"` // 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. Includes the leading slash, e.g. `/docs` DefaultRoute *string `json:"defaultRoute,omitempty"` - // Whether observability data should be routed to this microfrontend project or a root project. - RouteObservabilityToThisProject *bool `json:"routeObservabilityToThisProject,omitempty"` + // Whether the project was part of the legacy limits for hobby and pro-trial before billing was added. This field is only set when the team is upgraded to a paid plan and we are backfilling the subscription status. We cap the subscription to 2 projects and set this field for the 3rd project. When this field is set, the project is not charged for and we do not call any billing APIs for this project. + FreeProjectForLegacyLimits *bool `json:"freeProjectForLegacyLimits,omitempty"` } func (g GetProjectsMicrofrontends1) MarshalJSON() ([]byte, error) { @@ -4064,12 +4216,19 @@ func (g GetProjectsMicrofrontends1) MarshalJSON() ([]byte, error) { } func (g *GetProjectsMicrofrontends1) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &g, "", false, []string{"updatedAt", "groupIds", "enabled"}); err != nil { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"isDefaultApp", "updatedAt", "groupIds", "enabled"}); err != nil { return err } return nil } +func (o *GetProjectsMicrofrontends1) GetIsDefaultApp() bool { + if o == nil { + return false + } + return o.IsDefaultApp +} + func (o *GetProjectsMicrofrontends1) GetUpdatedAt() float64 { if o == nil { return 0.0 @@ -4091,13 +4250,6 @@ func (o *GetProjectsMicrofrontends1) GetEnabled() bool { return o.Enabled } -func (o *GetProjectsMicrofrontends1) GetIsDefaultApp() *bool { - if o == nil { - return nil - } - return o.IsDefaultApp -} - func (o *GetProjectsMicrofrontends1) GetDefaultRoute() *string { if o == nil { return nil @@ -4105,11 +4257,11 @@ func (o *GetProjectsMicrofrontends1) GetDefaultRoute() *string { return o.DefaultRoute } -func (o *GetProjectsMicrofrontends1) GetRouteObservabilityToThisProject() *bool { +func (o *GetProjectsMicrofrontends1) GetFreeProjectForLegacyLimits() *bool { if o == nil { return nil } - return o.RouteObservabilityToThisProject + return o.FreeProjectForLegacyLimits } type GetProjectsMicrofrontendsUnionType string @@ -4117,11 +4269,13 @@ type GetProjectsMicrofrontendsUnionType string const ( GetProjectsMicrofrontendsUnionTypeGetProjectsMicrofrontends1 GetProjectsMicrofrontendsUnionType = "getProjects_microfrontends_1" GetProjectsMicrofrontendsUnionTypeGetProjectsMicrofrontends2 GetProjectsMicrofrontendsUnionType = "getProjects_microfrontends_2" + GetProjectsMicrofrontendsUnionTypeGetProjectsMicrofrontends3 GetProjectsMicrofrontendsUnionType = "getProjects_microfrontends_3" ) type GetProjectsMicrofrontendsUnion struct { GetProjectsMicrofrontends1 *GetProjectsMicrofrontends1 `queryParam:"inline"` GetProjectsMicrofrontends2 *GetProjectsMicrofrontends2 `queryParam:"inline"` + GetProjectsMicrofrontends3 *GetProjectsMicrofrontends3 `queryParam:"inline"` Type GetProjectsMicrofrontendsUnionType } @@ -4144,6 +4298,15 @@ func CreateGetProjectsMicrofrontendsUnionGetProjectsMicrofrontends2(getProjectsM } } +func CreateGetProjectsMicrofrontendsUnionGetProjectsMicrofrontends3(getProjectsMicrofrontends3 GetProjectsMicrofrontends3) GetProjectsMicrofrontendsUnion { + typ := GetProjectsMicrofrontendsUnionTypeGetProjectsMicrofrontends3 + + return GetProjectsMicrofrontendsUnion{ + GetProjectsMicrofrontends3: &getProjectsMicrofrontends3, + Type: typ, + } +} + func (u *GetProjectsMicrofrontendsUnion) UnmarshalJSON(data []byte) error { var getProjectsMicrofrontends1 GetProjectsMicrofrontends1 = GetProjectsMicrofrontends1{} @@ -4160,6 +4323,13 @@ func (u *GetProjectsMicrofrontendsUnion) UnmarshalJSON(data []byte) error { return nil } + var getProjectsMicrofrontends3 GetProjectsMicrofrontends3 = GetProjectsMicrofrontends3{} + if err := utils.UnmarshalJSON(data, &getProjectsMicrofrontends3, "", true, nil); err == nil { + u.GetProjectsMicrofrontends3 = &getProjectsMicrofrontends3 + u.Type = GetProjectsMicrofrontendsUnionTypeGetProjectsMicrofrontends3 + return nil + } + return fmt.Errorf("could not unmarshal `%s` into any supported union types for GetProjectsMicrofrontendsUnion", string(data)) } @@ -4172,12 +4342,17 @@ func (u GetProjectsMicrofrontendsUnion) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(u.GetProjectsMicrofrontends2, "", true) } + if u.GetProjectsMicrofrontends3 != nil { + return utils.MarshalJSON(u.GetProjectsMicrofrontends3, "", true) + } + return nil, errors.New("could not marshal union type GetProjectsMicrofrontendsUnion: all fields are null") } type GetProjectsNodeVersion string const ( + GetProjectsNodeVersionTwentyFourDotX GetProjectsNodeVersion = "24.x" GetProjectsNodeVersionTwentyTwoDotX GetProjectsNodeVersion = "22.x" GetProjectsNodeVersionTwentyDotX GetProjectsNodeVersion = "20.x" GetProjectsNodeVersionEighteenDotX GetProjectsNodeVersion = "18.x" @@ -4197,6 +4372,8 @@ func (e *GetProjectsNodeVersion) UnmarshalJSON(data []byte) error { return err } switch v { + case "24.x": + fallthrough case "22.x": fallthrough case "20.x": @@ -4599,6 +4776,33 @@ func (o *GetProjectsDefaultResourceConfig) GetIsNSNBDisabled() *bool { return o.IsNSNBDisabled } +type GetProjectsStaticIps struct { + Builds bool `json:"builds"` + Enabled bool `json:"enabled"` + Regions []string `json:"regions"` +} + +func (o *GetProjectsStaticIps) GetBuilds() bool { + if o == nil { + return false + } + return o.Builds +} + +func (o *GetProjectsStaticIps) GetEnabled() bool { + if o == nil { + return false + } + return o.Enabled +} + +func (o *GetProjectsStaticIps) GetRegions() []string { + if o == nil { + return []string{} + } + return o.Regions +} + type GetProjectsSsoProtectionDeploymentType string const ( @@ -4916,6 +5120,7 @@ type GetProjectsOidcTokenClaims struct { Project string `json:"project"` ProjectID string `json:"project_id"` Environment string `json:"environment"` + Plan string `json:"plan"` } func (o *GetProjectsOidcTokenClaims) GetIss() string { @@ -4981,6 +5186,13 @@ func (o *GetProjectsOidcTokenClaims) GetEnvironment() string { return o.Environment } +func (o *GetProjectsOidcTokenClaims) GetPlan() string { + if o == nil { + return "" + } + return o.Plan +} + type GetProjectsPlan string const ( @@ -5399,9 +5611,17 @@ type GetProjectsPermissions struct { UserSudo []components.ACLAction `json:"userSudo,omitempty"` WebAuthn []components.ACLAction `json:"webAuthn,omitempty"` AccessGroup []components.ACLAction `json:"accessGroup,omitempty"` + Agent []components.ACLAction `json:"agent,omitempty"` + Alerts []components.ACLAction `json:"alerts,omitempty"` AliasGlobal []components.ACLAction `json:"aliasGlobal,omitempty"` AnalyticsSampling []components.ACLAction `json:"analyticsSampling,omitempty"` AnalyticsUsage []components.ACLAction `json:"analyticsUsage,omitempty"` + APIKey []components.ACLAction `json:"apiKey,omitempty"` + APIKeyAiGateway []components.ACLAction `json:"apiKeyAiGateway,omitempty"` + APIKeyOwnedBySelf []components.ACLAction `json:"apiKeyOwnedBySelf,omitempty"` + Oauth2Application []components.ACLAction `json:"oauth2Application,omitempty"` + VercelAppInstallation []components.ACLAction `json:"vercelAppInstallation,omitempty"` + VercelAppInstallationRequest []components.ACLAction `json:"vercelAppInstallationRequest,omitempty"` AuditLog []components.ACLAction `json:"auditLog,omitempty"` BillingAddress []components.ACLAction `json:"billingAddress,omitempty"` BillingInformation []components.ACLAction `json:"billingInformation,omitempty"` @@ -5413,6 +5633,7 @@ type GetProjectsPermissions struct { BillingRefund []components.ACLAction `json:"billingRefund,omitempty"` BillingTaxID []components.ACLAction `json:"billingTaxId,omitempty"` Blob []components.ACLAction `json:"blob,omitempty"` + BlobStoreTokenSet []components.ACLAction `json:"blobStoreTokenSet,omitempty"` Budget []components.ACLAction `json:"budget,omitempty"` CacheArtifact []components.ACLAction `json:"cacheArtifact,omitempty"` CacheArtifactUsageEvent []components.ACLAction `json:"cacheArtifactUsageEvent,omitempty"` @@ -5420,6 +5641,7 @@ type GetProjectsPermissions struct { ConcurrentBuilds []components.ACLAction `json:"concurrentBuilds,omitempty"` Connect []components.ACLAction `json:"connect,omitempty"` ConnectConfiguration []components.ACLAction `json:"connectConfiguration,omitempty"` + DataCacheBillingSettings []components.ACLAction `json:"dataCacheBillingSettings,omitempty"` DefaultDeploymentProtection []components.ACLAction `json:"defaultDeploymentProtection,omitempty"` Domain []components.ACLAction `json:"domain,omitempty"` DomainAcceptDelegation []components.ACLAction `json:"domainAcceptDelegation,omitempty"` @@ -5430,40 +5652,48 @@ type GetProjectsPermissions struct { DomainPurchase []components.ACLAction `json:"domainPurchase,omitempty"` DomainRecord []components.ACLAction `json:"domainRecord,omitempty"` DomainTransferIn []components.ACLAction `json:"domainTransferIn,omitempty"` + Drain []components.ACLAction `json:"drain,omitempty"` + EdgeConfig []components.ACLAction `json:"edgeConfig,omitempty"` + EdgeConfigItem []components.ACLAction `json:"edgeConfigItem,omitempty"` + EdgeConfigSchema []components.ACLAction `json:"edgeConfigSchema,omitempty"` + EdgeConfigToken []components.ACLAction `json:"edgeConfigToken,omitempty"` + EndpointVerification []components.ACLAction `json:"endpointVerification,omitempty"` Event []components.ACLAction `json:"event,omitempty"` - OwnEvent []components.ACLAction `json:"ownEvent,omitempty"` - SensitiveEnvironmentVariablePolicy []components.ACLAction `json:"sensitiveEnvironmentVariablePolicy,omitempty"` FileUpload []components.ACLAction `json:"fileUpload,omitempty"` FlagsExplorerSubscription []components.ACLAction `json:"flagsExplorerSubscription,omitempty"` GitRepository []components.ACLAction `json:"gitRepository,omitempty"` - IPBlocking []components.ACLAction `json:"ipBlocking,omitempty"` ImageOptimizationNewPrice []components.ACLAction `json:"imageOptimizationNewPrice,omitempty"` Integration []components.ACLAction `json:"integration,omitempty"` IntegrationAccount []components.ACLAction `json:"integrationAccount,omitempty"` IntegrationConfiguration []components.ACLAction `json:"integrationConfiguration,omitempty"` - IntegrationConfigurationTransfer []components.ACLAction `json:"integrationConfigurationTransfer,omitempty"` IntegrationConfigurationProjects []components.ACLAction `json:"integrationConfigurationProjects,omitempty"` - IntegrationVercelConfigurationOverride []components.ACLAction `json:"integrationVercelConfigurationOverride,omitempty"` IntegrationConfigurationRole []components.ACLAction `json:"integrationConfigurationRole,omitempty"` - IntegrationSSOSession []components.ACLAction `json:"integrationSSOSession,omitempty"` - IntegrationResource []components.ACLAction `json:"integrationResource,omitempty"` + IntegrationConfigurationTransfer []components.ACLAction `json:"integrationConfigurationTransfer,omitempty"` + IntegrationDeploymentAction []components.ACLAction `json:"integrationDeploymentAction,omitempty"` IntegrationEvent []components.ACLAction `json:"integrationEvent,omitempty"` + IntegrationLog []components.ACLAction `json:"integrationLog,omitempty"` + IntegrationResource []components.ACLAction `json:"integrationResource,omitempty"` + IntegrationResourceReplCommand []components.ACLAction `json:"integrationResourceReplCommand,omitempty"` IntegrationResourceSecrets []components.ACLAction `json:"integrationResourceSecrets,omitempty"` - IntegrationDeploymentAction []components.ACLAction `json:"integrationDeploymentAction,omitempty"` - MarketplaceInstallationMember []components.ACLAction `json:"marketplaceInstallationMember,omitempty"` + IntegrationSSOSession []components.ACLAction `json:"integrationSSOSession,omitempty"` + IntegrationStoreTokenSet []components.ACLAction `json:"integrationStoreTokenSet,omitempty"` + IntegrationVercelConfigurationOverride []components.ACLAction `json:"integrationVercelConfigurationOverride,omitempty"` + IntegrationPullRequest []components.ACLAction `json:"integrationPullRequest,omitempty"` + IPBlocking []components.ACLAction `json:"ipBlocking,omitempty"` + JobGlobal []components.ACLAction `json:"jobGlobal,omitempty"` + LogDrain []components.ACLAction `json:"logDrain,omitempty"` MarketplaceBillingData []components.ACLAction `json:"marketplaceBillingData,omitempty"` + MarketplaceExperimentationEdgeConfigData []components.ACLAction `json:"marketplaceExperimentationEdgeConfigData,omitempty"` + MarketplaceExperimentationItem []components.ACLAction `json:"marketplaceExperimentationItem,omitempty"` + MarketplaceInstallationMember []components.ACLAction `json:"marketplaceInstallationMember,omitempty"` MarketplaceInvoice []components.ACLAction `json:"marketplaceInvoice,omitempty"` MarketplaceSettings []components.ACLAction `json:"marketplaceSettings,omitempty"` - MarketplaceExperimentationItem []components.ACLAction `json:"marketplaceExperimentationItem,omitempty"` - MarketplaceExperimentationEdgeConfigData []components.ACLAction `json:"marketplaceExperimentationEdgeConfigData,omitempty"` - JobGlobal []components.ACLAction `json:"jobGlobal,omitempty"` - Drain []components.ACLAction `json:"drain,omitempty"` - LogDrain []components.ACLAction `json:"logDrain,omitempty"` Monitoring []components.ACLAction `json:"Monitoring,omitempty"` - MonitoringSettings []components.ACLAction `json:"monitoringSettings,omitempty"` - MonitoringQuery []components.ACLAction `json:"monitoringQuery,omitempty"` - MonitoringChart []components.ACLAction `json:"monitoringChart,omitempty"` MonitoringAlert []components.ACLAction `json:"monitoringAlert,omitempty"` + MonitoringChart []components.ACLAction `json:"monitoringChart,omitempty"` + MonitoringQuery []components.ACLAction `json:"monitoringQuery,omitempty"` + MonitoringSettings []components.ACLAction `json:"monitoringSettings,omitempty"` + NotificationCustomerBudget []components.ACLAction `json:"notificationCustomerBudget,omitempty"` NotificationDeploymentFailed []components.ACLAction `json:"notificationDeploymentFailed,omitempty"` NotificationDomainConfiguration []components.ACLAction `json:"notificationDomainConfiguration,omitempty"` NotificationDomainExpire []components.ACLAction `json:"notificationDomainExpire,omitempty"` @@ -5474,42 +5704,38 @@ type GetProjectsPermissions struct { NotificationDomainUnverified []components.ACLAction `json:"notificationDomainUnverified,omitempty"` NotificationMonitoringAlert []components.ACLAction `json:"NotificationMonitoringAlert,omitempty"` NotificationPaymentFailed []components.ACLAction `json:"notificationPaymentFailed,omitempty"` - NotificationUsageAlert []components.ACLAction `json:"notificationUsageAlert,omitempty"` NotificationPreferences []components.ACLAction `json:"notificationPreferences,omitempty"` - NotificationCustomerBudget []components.ACLAction `json:"notificationCustomerBudget,omitempty"` NotificationStatementOfReasons []components.ACLAction `json:"notificationStatementOfReasons,omitempty"` + NotificationUsageAlert []components.ACLAction `json:"notificationUsageAlert,omitempty"` ObservabilityConfiguration []components.ACLAction `json:"observabilityConfiguration,omitempty"` - Alerts []components.ACLAction `json:"alerts,omitempty"` - ObservabilityNotebook []components.ACLAction `json:"observabilityNotebook,omitempty"` ObservabilityFunnel []components.ACLAction `json:"observabilityFunnel,omitempty"` + ObservabilityNotebook []components.ACLAction `json:"observabilityNotebook,omitempty"` OpenTelemetryEndpoint []components.ACLAction `json:"openTelemetryEndpoint,omitempty"` - VercelAppInstallation []components.ACLAction `json:"vercelAppInstallation,omitempty"` - VercelAppInstallationRequest []components.ACLAction `json:"vercelAppInstallationRequest,omitempty"` + OwnEvent []components.ACLAction `json:"ownEvent,omitempty"` + OrganizationDomain []components.ACLAction `json:"organizationDomain,omitempty"` + PasswordProtectionInvoiceItem []components.ACLAction `json:"passwordProtectionInvoiceItem,omitempty"` PaymentMethod []components.ACLAction `json:"paymentMethod,omitempty"` Permissions []components.ACLAction `json:"permissions,omitempty"` Postgres []components.ACLAction `json:"postgres,omitempty"` + PostgresStoreTokenSet []components.ACLAction `json:"postgresStoreTokenSet,omitempty"` PreviewDeploymentSuffix []components.ACLAction `json:"previewDeploymentSuffix,omitempty"` + ProjectTransferIn []components.ACLAction `json:"projectTransferIn,omitempty"` ProTrialOnboarding []components.ACLAction `json:"proTrialOnboarding,omitempty"` - SharedEnvVars []components.ACLAction `json:"sharedEnvVars,omitempty"` - SharedEnvVarsProduction []components.ACLAction `json:"sharedEnvVarsProduction,omitempty"` - Space []components.ACLAction `json:"space,omitempty"` - SpaceRun []components.ACLAction `json:"spaceRun,omitempty"` - PasswordProtectionInvoiceItem []components.ACLAction `json:"passwordProtectionInvoiceItem,omitempty"` RateLimit []components.ACLAction `json:"rateLimit,omitempty"` Redis []components.ACLAction `json:"redis,omitempty"` - Repository []components.ACLAction `json:"repository,omitempty"` + RedisStoreTokenSet []components.ACLAction `json:"redisStoreTokenSet,omitempty"` RemoteCaching []components.ACLAction `json:"remoteCaching,omitempty"` + Repository []components.ACLAction `json:"repository,omitempty"` SamlConfig []components.ACLAction `json:"samlConfig,omitempty"` Secret []components.ACLAction `json:"secret,omitempty"` - RedisStoreTokenSet []components.ACLAction `json:"redisStoreTokenSet,omitempty"` - BlobStoreTokenSet []components.ACLAction `json:"blobStoreTokenSet,omitempty"` - PostgresStoreTokenSet []components.ACLAction `json:"postgresStoreTokenSet,omitempty"` - IntegrationStoreTokenSet []components.ACLAction `json:"integrationStoreTokenSet,omitempty"` - IntegrationResourceReplCommand []components.ACLAction `json:"integrationResourceReplCommand,omitempty"` + SensitiveEnvironmentVariablePolicy []components.ACLAction `json:"sensitiveEnvironmentVariablePolicy,omitempty"` + SharedEnvVars []components.ACLAction `json:"sharedEnvVars,omitempty"` + SharedEnvVarsProduction []components.ACLAction `json:"sharedEnvVarsProduction,omitempty"` + Space []components.ACLAction `json:"space,omitempty"` + SpaceRun []components.ACLAction `json:"spaceRun,omitempty"` StoreTransfer []components.ACLAction `json:"storeTransfer,omitempty"` SupportCase []components.ACLAction `json:"supportCase,omitempty"` SupportCaseComment []components.ACLAction `json:"supportCaseComment,omitempty"` - DataCacheBillingSettings []components.ACLAction `json:"dataCacheBillingSettings,omitempty"` Team []components.ACLAction `json:"team,omitempty"` TeamAccessRequest []components.ACLAction `json:"teamAccessRequest,omitempty"` TeamFellowMembership []components.ACLAction `json:"teamFellowMembership,omitempty"` @@ -5524,26 +5750,15 @@ type GetProjectsPermissions struct { Token []components.ACLAction `json:"token,omitempty"` Usage []components.ACLAction `json:"usage,omitempty"` UsageCycle []components.ACLAction `json:"usageCycle,omitempty"` + VercelRun []components.ACLAction `json:"vercelRun,omitempty"` + VercelRunExec []components.ACLAction `json:"vercelRunExec,omitempty"` VpcPeeringConnection []components.ACLAction `json:"vpcPeeringConnection,omitempty"` WebAnalyticsPlan []components.ACLAction `json:"webAnalyticsPlan,omitempty"` - EdgeConfig []components.ACLAction `json:"edgeConfig,omitempty"` - EdgeConfigItem []components.ACLAction `json:"edgeConfigItem,omitempty"` - EdgeConfigSchema []components.ACLAction `json:"edgeConfigSchema,omitempty"` - EdgeConfigToken []components.ACLAction `json:"edgeConfigToken,omitempty"` Webhook []components.ACLAction `json:"webhook,omitempty"` WebhookEvent []components.ACLAction `json:"webhook-event,omitempty"` - EndpointVerification []components.ACLAction `json:"endpointVerification,omitempty"` - ProjectTransferIn []components.ACLAction `json:"projectTransferIn,omitempty"` - Oauth2Application []components.ACLAction `json:"oauth2Application,omitempty"` - VercelRun []components.ACLAction `json:"vercelRun,omitempty"` - VercelRunExec []components.ACLAction `json:"vercelRunExec,omitempty"` - APIKey []components.ACLAction `json:"apiKey,omitempty"` - APIKeyOwnedBySelf []components.ACLAction `json:"apiKeyOwnedBySelf,omitempty"` - APIKeyAiGateway []components.ACLAction `json:"apiKeyAiGateway,omitempty"` AliasProject []components.ACLAction `json:"aliasProject,omitempty"` AliasProtectionBypass []components.ACLAction `json:"aliasProtectionBypass,omitempty"` BuildMachine []components.ACLAction `json:"buildMachine,omitempty"` - ProductionAliasProtectionBypass []components.ACLAction `json:"productionAliasProtectionBypass,omitempty"` ConnectConfigurationLink []components.ACLAction `json:"connectConfigurationLink,omitempty"` DataCacheNamespace []components.ACLAction `json:"dataCacheNamespace,omitempty"` Deployment []components.ACLAction `json:"deployment,omitempty"` @@ -5559,54 +5774,55 @@ type GetProjectsPermissions struct { DeploymentRollback []components.ACLAction `json:"deploymentRollback,omitempty"` EdgeCacheNamespace []components.ACLAction `json:"edgeCacheNamespace,omitempty"` Environments []components.ACLAction `json:"environments,omitempty"` + Job []components.ACLAction `json:"job,omitempty"` Logs []components.ACLAction `json:"logs,omitempty"` LogsPreset []components.ACLAction `json:"logsPreset,omitempty"` - PasswordProtection []components.ACLAction `json:"passwordProtection,omitempty"` - OptionsAllowlist []components.ACLAction `json:"optionsAllowlist,omitempty"` - Job []components.ACLAction `json:"job,omitempty"` ObservabilityData []components.ACLAction `json:"observabilityData,omitempty"` OnDemandBuild []components.ACLAction `json:"onDemandBuild,omitempty"` OnDemandConcurrency []components.ACLAction `json:"onDemandConcurrency,omitempty"` + OptionsAllowlist []components.ACLAction `json:"optionsAllowlist,omitempty"` + PasswordProtection []components.ACLAction `json:"passwordProtection,omitempty"` + ProductionAliasProtectionBypass []components.ACLAction `json:"productionAliasProtectionBypass,omitempty"` Project []components.ACLAction `json:"project,omitempty"` - ProjectFromV0 []components.ACLAction `json:"projectFromV0,omitempty"` ProjectAccessGroup []components.ACLAction `json:"projectAccessGroup,omitempty"` ProjectAnalyticsSampling []components.ACLAction `json:"projectAnalyticsSampling,omitempty"` + ProjectAnalyticsUsage []components.ACLAction `json:"projectAnalyticsUsage,omitempty"` ProjectCheck []components.ACLAction `json:"projectCheck,omitempty"` ProjectCheckRun []components.ACLAction `json:"projectCheckRun,omitempty"` + ProjectDeploymentExpiration []components.ACLAction `json:"projectDeploymentExpiration,omitempty"` ProjectDeploymentHook []components.ACLAction `json:"projectDeploymentHook,omitempty"` ProjectDomain []components.ACLAction `json:"projectDomain,omitempty"` - ProjectDomainMove []components.ACLAction `json:"projectDomainMove,omitempty"` ProjectDomainCheckConfig []components.ACLAction `json:"projectDomainCheckConfig,omitempty"` + ProjectDomainMove []components.ACLAction `json:"projectDomainMove,omitempty"` ProjectEnvVars []components.ACLAction `json:"projectEnvVars,omitempty"` ProjectEnvVarsProduction []components.ACLAction `json:"projectEnvVarsProduction,omitempty"` ProjectEnvVarsUnownedByIntegration []components.ACLAction `json:"projectEnvVarsUnownedByIntegration,omitempty"` ProjectFlags []components.ACLAction `json:"projectFlags,omitempty"` + ProjectFlagsProduction []components.ACLAction `json:"projectFlagsProduction,omitempty"` + ProjectFromV0 []components.ACLAction `json:"projectFromV0,omitempty"` ProjectID []components.ACLAction `json:"projectId,omitempty"` ProjectIntegrationConfiguration []components.ACLAction `json:"projectIntegrationConfiguration,omitempty"` ProjectLink []components.ACLAction `json:"projectLink,omitempty"` ProjectMember []components.ACLAction `json:"projectMember,omitempty"` ProjectMonitoring []components.ACLAction `json:"projectMonitoring,omitempty"` + ProjectOIDCToken []components.ACLAction `json:"projectOIDCToken,omitempty"` ProjectPermissions []components.ACLAction `json:"projectPermissions,omitempty"` ProjectProductionBranch []components.ACLAction `json:"projectProductionBranch,omitempty"` - ProjectTransfer []components.ACLAction `json:"projectTransfer,omitempty"` - ProjectTransferOut []components.ACLAction `json:"projectTransferOut,omitempty"` ProjectProtectionBypass []components.ACLAction `json:"projectProtectionBypass,omitempty"` - ProjectUsage []components.ACLAction `json:"projectUsage,omitempty"` - ProjectAnalyticsUsage []components.ACLAction `json:"projectAnalyticsUsage,omitempty"` + ProjectRollingRelease []components.ACLAction `json:"projectRollingRelease,omitempty"` ProjectSupportCase []components.ACLAction `json:"projectSupportCase,omitempty"` ProjectSupportCaseComment []components.ACLAction `json:"projectSupportCaseComment,omitempty"` - ProjectDeploymentExpiration []components.ACLAction `json:"projectDeploymentExpiration,omitempty"` - ProjectRollingRelease []components.ACLAction `json:"projectRollingRelease,omitempty"` ProjectTier []components.ACLAction `json:"projectTier,omitempty"` - ProjectOIDCToken []components.ACLAction `json:"projectOIDCToken,omitempty"` + ProjectTransfer []components.ACLAction `json:"projectTransfer,omitempty"` + ProjectTransferOut []components.ACLAction `json:"projectTransferOut,omitempty"` + ProjectUsage []components.ACLAction `json:"projectUsage,omitempty"` SeawallConfig []components.ACLAction `json:"seawallConfig,omitempty"` + SharedEnvVarConnection []components.ACLAction `json:"sharedEnvVarConnection,omitempty"` SkewProtection []components.ACLAction `json:"skewProtection,omitempty"` Analytics []components.ACLAction `json:"analytics,omitempty"` TrustedIps []components.ACLAction `json:"trustedIps,omitempty"` V0Chat []components.ACLAction `json:"v0Chat,omitempty"` WebAnalytics []components.ACLAction `json:"webAnalytics,omitempty"` - SharedEnvVarConnection []components.ACLAction `json:"sharedEnvVarConnection,omitempty"` - Sonar []components.ACLAction `json:"sonar,omitempty"` } func (o *GetProjectsPermissions) GetOauth2Connection() []components.ACLAction { @@ -5651,6 +5867,20 @@ func (o *GetProjectsPermissions) GetAccessGroup() []components.ACLAction { return o.AccessGroup } +func (o *GetProjectsPermissions) GetAgent() []components.ACLAction { + if o == nil { + return nil + } + return o.Agent +} + +func (o *GetProjectsPermissions) GetAlerts() []components.ACLAction { + if o == nil { + return nil + } + return o.Alerts +} + func (o *GetProjectsPermissions) GetAliasGlobal() []components.ACLAction { if o == nil { return nil @@ -5672,6 +5902,48 @@ func (o *GetProjectsPermissions) GetAnalyticsUsage() []components.ACLAction { return o.AnalyticsUsage } +func (o *GetProjectsPermissions) GetAPIKey() []components.ACLAction { + if o == nil { + return nil + } + return o.APIKey +} + +func (o *GetProjectsPermissions) GetAPIKeyAiGateway() []components.ACLAction { + if o == nil { + return nil + } + return o.APIKeyAiGateway +} + +func (o *GetProjectsPermissions) GetAPIKeyOwnedBySelf() []components.ACLAction { + if o == nil { + return nil + } + return o.APIKeyOwnedBySelf +} + +func (o *GetProjectsPermissions) GetOauth2Application() []components.ACLAction { + if o == nil { + return nil + } + return o.Oauth2Application +} + +func (o *GetProjectsPermissions) GetVercelAppInstallation() []components.ACLAction { + if o == nil { + return nil + } + return o.VercelAppInstallation +} + +func (o *GetProjectsPermissions) GetVercelAppInstallationRequest() []components.ACLAction { + if o == nil { + return nil + } + return o.VercelAppInstallationRequest +} + func (o *GetProjectsPermissions) GetAuditLog() []components.ACLAction { if o == nil { return nil @@ -5749,6 +6021,13 @@ func (o *GetProjectsPermissions) GetBlob() []components.ACLAction { return o.Blob } +func (o *GetProjectsPermissions) GetBlobStoreTokenSet() []components.ACLAction { + if o == nil { + return nil + } + return o.BlobStoreTokenSet +} + func (o *GetProjectsPermissions) GetBudget() []components.ACLAction { if o == nil { return nil @@ -5798,6 +6077,13 @@ func (o *GetProjectsPermissions) GetConnectConfiguration() []components.ACLActio return o.ConnectConfiguration } +func (o *GetProjectsPermissions) GetDataCacheBillingSettings() []components.ACLAction { + if o == nil { + return nil + } + return o.DataCacheBillingSettings +} + func (o *GetProjectsPermissions) GetDefaultDeploymentProtection() []components.ACLAction { if o == nil { return nil @@ -5868,25 +6154,53 @@ func (o *GetProjectsPermissions) GetDomainTransferIn() []components.ACLAction { return o.DomainTransferIn } -func (o *GetProjectsPermissions) GetEvent() []components.ACLAction { +func (o *GetProjectsPermissions) GetDrain() []components.ACLAction { if o == nil { return nil } - return o.Event + return o.Drain } -func (o *GetProjectsPermissions) GetOwnEvent() []components.ACLAction { +func (o *GetProjectsPermissions) GetEdgeConfig() []components.ACLAction { if o == nil { return nil } - return o.OwnEvent + return o.EdgeConfig } -func (o *GetProjectsPermissions) GetSensitiveEnvironmentVariablePolicy() []components.ACLAction { +func (o *GetProjectsPermissions) GetEdgeConfigItem() []components.ACLAction { if o == nil { return nil } - return o.SensitiveEnvironmentVariablePolicy + return o.EdgeConfigItem +} + +func (o *GetProjectsPermissions) GetEdgeConfigSchema() []components.ACLAction { + if o == nil { + return nil + } + return o.EdgeConfigSchema +} + +func (o *GetProjectsPermissions) GetEdgeConfigToken() []components.ACLAction { + if o == nil { + return nil + } + return o.EdgeConfigToken +} + +func (o *GetProjectsPermissions) GetEndpointVerification() []components.ACLAction { + if o == nil { + return nil + } + return o.EndpointVerification +} + +func (o *GetProjectsPermissions) GetEvent() []components.ACLAction { + if o == nil { + return nil + } + return o.Event } func (o *GetProjectsPermissions) GetFileUpload() []components.ACLAction { @@ -5910,13 +6224,6 @@ func (o *GetProjectsPermissions) GetGitRepository() []components.ACLAction { return o.GitRepository } -func (o *GetProjectsPermissions) GetIPBlocking() []components.ACLAction { - if o == nil { - return nil - } - return o.IPBlocking -} - func (o *GetProjectsPermissions) GetImageOptimizationNewPrice() []components.ACLAction { if o == nil { return nil @@ -5945,39 +6252,46 @@ func (o *GetProjectsPermissions) GetIntegrationConfiguration() []components.ACLA return o.IntegrationConfiguration } -func (o *GetProjectsPermissions) GetIntegrationConfigurationTransfer() []components.ACLAction { +func (o *GetProjectsPermissions) GetIntegrationConfigurationProjects() []components.ACLAction { if o == nil { return nil } - return o.IntegrationConfigurationTransfer + return o.IntegrationConfigurationProjects } -func (o *GetProjectsPermissions) GetIntegrationConfigurationProjects() []components.ACLAction { +func (o *GetProjectsPermissions) GetIntegrationConfigurationRole() []components.ACLAction { if o == nil { return nil } - return o.IntegrationConfigurationProjects + return o.IntegrationConfigurationRole } -func (o *GetProjectsPermissions) GetIntegrationVercelConfigurationOverride() []components.ACLAction { +func (o *GetProjectsPermissions) GetIntegrationConfigurationTransfer() []components.ACLAction { if o == nil { return nil } - return o.IntegrationVercelConfigurationOverride + return o.IntegrationConfigurationTransfer } -func (o *GetProjectsPermissions) GetIntegrationConfigurationRole() []components.ACLAction { +func (o *GetProjectsPermissions) GetIntegrationDeploymentAction() []components.ACLAction { if o == nil { return nil } - return o.IntegrationConfigurationRole + return o.IntegrationDeploymentAction } -func (o *GetProjectsPermissions) GetIntegrationSSOSession() []components.ACLAction { +func (o *GetProjectsPermissions) GetIntegrationEvent() []components.ACLAction { if o == nil { return nil } - return o.IntegrationSSOSession + return o.IntegrationEvent +} + +func (o *GetProjectsPermissions) GetIntegrationLog() []components.ACLAction { + if o == nil { + return nil + } + return o.IntegrationLog } func (o *GetProjectsPermissions) GetIntegrationResource() []components.ACLAction { @@ -5987,11 +6301,11 @@ func (o *GetProjectsPermissions) GetIntegrationResource() []components.ACLAction return o.IntegrationResource } -func (o *GetProjectsPermissions) GetIntegrationEvent() []components.ACLAction { +func (o *GetProjectsPermissions) GetIntegrationResourceReplCommand() []components.ACLAction { if o == nil { return nil } - return o.IntegrationEvent + return o.IntegrationResourceReplCommand } func (o *GetProjectsPermissions) GetIntegrationResourceSecrets() []components.ACLAction { @@ -6001,46 +6315,60 @@ func (o *GetProjectsPermissions) GetIntegrationResourceSecrets() []components.AC return o.IntegrationResourceSecrets } -func (o *GetProjectsPermissions) GetIntegrationDeploymentAction() []components.ACLAction { +func (o *GetProjectsPermissions) GetIntegrationSSOSession() []components.ACLAction { if o == nil { return nil } - return o.IntegrationDeploymentAction + return o.IntegrationSSOSession } -func (o *GetProjectsPermissions) GetMarketplaceInstallationMember() []components.ACLAction { +func (o *GetProjectsPermissions) GetIntegrationStoreTokenSet() []components.ACLAction { if o == nil { return nil } - return o.MarketplaceInstallationMember + return o.IntegrationStoreTokenSet } -func (o *GetProjectsPermissions) GetMarketplaceBillingData() []components.ACLAction { +func (o *GetProjectsPermissions) GetIntegrationVercelConfigurationOverride() []components.ACLAction { if o == nil { return nil } - return o.MarketplaceBillingData + return o.IntegrationVercelConfigurationOverride } -func (o *GetProjectsPermissions) GetMarketplaceInvoice() []components.ACLAction { +func (o *GetProjectsPermissions) GetIntegrationPullRequest() []components.ACLAction { if o == nil { return nil } - return o.MarketplaceInvoice + return o.IntegrationPullRequest } -func (o *GetProjectsPermissions) GetMarketplaceSettings() []components.ACLAction { +func (o *GetProjectsPermissions) GetIPBlocking() []components.ACLAction { if o == nil { return nil } - return o.MarketplaceSettings + return o.IPBlocking } -func (o *GetProjectsPermissions) GetMarketplaceExperimentationItem() []components.ACLAction { +func (o *GetProjectsPermissions) GetJobGlobal() []components.ACLAction { if o == nil { return nil } - return o.MarketplaceExperimentationItem + return o.JobGlobal +} + +func (o *GetProjectsPermissions) GetLogDrain() []components.ACLAction { + if o == nil { + return nil + } + return o.LogDrain +} + +func (o *GetProjectsPermissions) GetMarketplaceBillingData() []components.ACLAction { + if o == nil { + return nil + } + return o.MarketplaceBillingData } func (o *GetProjectsPermissions) GetMarketplaceExperimentationEdgeConfigData() []components.ACLAction { @@ -6050,25 +6378,32 @@ func (o *GetProjectsPermissions) GetMarketplaceExperimentationEdgeConfigData() [ return o.MarketplaceExperimentationEdgeConfigData } -func (o *GetProjectsPermissions) GetJobGlobal() []components.ACLAction { +func (o *GetProjectsPermissions) GetMarketplaceExperimentationItem() []components.ACLAction { if o == nil { return nil } - return o.JobGlobal + return o.MarketplaceExperimentationItem } -func (o *GetProjectsPermissions) GetDrain() []components.ACLAction { +func (o *GetProjectsPermissions) GetMarketplaceInstallationMember() []components.ACLAction { if o == nil { return nil } - return o.Drain + return o.MarketplaceInstallationMember } -func (o *GetProjectsPermissions) GetLogDrain() []components.ACLAction { +func (o *GetProjectsPermissions) GetMarketplaceInvoice() []components.ACLAction { if o == nil { return nil } - return o.LogDrain + return o.MarketplaceInvoice +} + +func (o *GetProjectsPermissions) GetMarketplaceSettings() []components.ACLAction { + if o == nil { + return nil + } + return o.MarketplaceSettings } func (o *GetProjectsPermissions) GetMonitoring() []components.ACLAction { @@ -6078,11 +6413,18 @@ func (o *GetProjectsPermissions) GetMonitoring() []components.ACLAction { return o.Monitoring } -func (o *GetProjectsPermissions) GetMonitoringSettings() []components.ACLAction { +func (o *GetProjectsPermissions) GetMonitoringAlert() []components.ACLAction { if o == nil { return nil } - return o.MonitoringSettings + return o.MonitoringAlert +} + +func (o *GetProjectsPermissions) GetMonitoringChart() []components.ACLAction { + if o == nil { + return nil + } + return o.MonitoringChart } func (o *GetProjectsPermissions) GetMonitoringQuery() []components.ACLAction { @@ -6092,18 +6434,18 @@ func (o *GetProjectsPermissions) GetMonitoringQuery() []components.ACLAction { return o.MonitoringQuery } -func (o *GetProjectsPermissions) GetMonitoringChart() []components.ACLAction { +func (o *GetProjectsPermissions) GetMonitoringSettings() []components.ACLAction { if o == nil { return nil } - return o.MonitoringChart + return o.MonitoringSettings } -func (o *GetProjectsPermissions) GetMonitoringAlert() []components.ACLAction { +func (o *GetProjectsPermissions) GetNotificationCustomerBudget() []components.ACLAction { if o == nil { return nil } - return o.MonitoringAlert + return o.NotificationCustomerBudget } func (o *GetProjectsPermissions) GetNotificationDeploymentFailed() []components.ACLAction { @@ -6176,32 +6518,25 @@ func (o *GetProjectsPermissions) GetNotificationPaymentFailed() []components.ACL return o.NotificationPaymentFailed } -func (o *GetProjectsPermissions) GetNotificationUsageAlert() []components.ACLAction { +func (o *GetProjectsPermissions) GetNotificationPreferences() []components.ACLAction { if o == nil { return nil } - return o.NotificationUsageAlert + return o.NotificationPreferences } -func (o *GetProjectsPermissions) GetNotificationPreferences() []components.ACLAction { +func (o *GetProjectsPermissions) GetNotificationStatementOfReasons() []components.ACLAction { if o == nil { return nil } - return o.NotificationPreferences + return o.NotificationStatementOfReasons } -func (o *GetProjectsPermissions) GetNotificationCustomerBudget() []components.ACLAction { +func (o *GetProjectsPermissions) GetNotificationUsageAlert() []components.ACLAction { if o == nil { return nil } - return o.NotificationCustomerBudget -} - -func (o *GetProjectsPermissions) GetNotificationStatementOfReasons() []components.ACLAction { - if o == nil { - return nil - } - return o.NotificationStatementOfReasons + return o.NotificationUsageAlert } func (o *GetProjectsPermissions) GetObservabilityConfiguration() []components.ACLAction { @@ -6211,11 +6546,11 @@ func (o *GetProjectsPermissions) GetObservabilityConfiguration() []components.AC return o.ObservabilityConfiguration } -func (o *GetProjectsPermissions) GetAlerts() []components.ACLAction { +func (o *GetProjectsPermissions) GetObservabilityFunnel() []components.ACLAction { if o == nil { return nil } - return o.Alerts + return o.ObservabilityFunnel } func (o *GetProjectsPermissions) GetObservabilityNotebook() []components.ACLAction { @@ -6225,32 +6560,32 @@ func (o *GetProjectsPermissions) GetObservabilityNotebook() []components.ACLActi return o.ObservabilityNotebook } -func (o *GetProjectsPermissions) GetObservabilityFunnel() []components.ACLAction { +func (o *GetProjectsPermissions) GetOpenTelemetryEndpoint() []components.ACLAction { if o == nil { return nil } - return o.ObservabilityFunnel + return o.OpenTelemetryEndpoint } -func (o *GetProjectsPermissions) GetOpenTelemetryEndpoint() []components.ACLAction { +func (o *GetProjectsPermissions) GetOwnEvent() []components.ACLAction { if o == nil { return nil } - return o.OpenTelemetryEndpoint + return o.OwnEvent } -func (o *GetProjectsPermissions) GetVercelAppInstallation() []components.ACLAction { +func (o *GetProjectsPermissions) GetOrganizationDomain() []components.ACLAction { if o == nil { return nil } - return o.VercelAppInstallation + return o.OrganizationDomain } -func (o *GetProjectsPermissions) GetVercelAppInstallationRequest() []components.ACLAction { +func (o *GetProjectsPermissions) GetPasswordProtectionInvoiceItem() []components.ACLAction { if o == nil { return nil } - return o.VercelAppInstallationRequest + return o.PasswordProtectionInvoiceItem } func (o *GetProjectsPermissions) GetPaymentMethod() []components.ACLAction { @@ -6274,67 +6609,60 @@ func (o *GetProjectsPermissions) GetPostgres() []components.ACLAction { return o.Postgres } -func (o *GetProjectsPermissions) GetPreviewDeploymentSuffix() []components.ACLAction { - if o == nil { - return nil - } - return o.PreviewDeploymentSuffix -} - -func (o *GetProjectsPermissions) GetProTrialOnboarding() []components.ACLAction { +func (o *GetProjectsPermissions) GetPostgresStoreTokenSet() []components.ACLAction { if o == nil { return nil } - return o.ProTrialOnboarding + return o.PostgresStoreTokenSet } -func (o *GetProjectsPermissions) GetSharedEnvVars() []components.ACLAction { +func (o *GetProjectsPermissions) GetPreviewDeploymentSuffix() []components.ACLAction { if o == nil { return nil } - return o.SharedEnvVars + return o.PreviewDeploymentSuffix } -func (o *GetProjectsPermissions) GetSharedEnvVarsProduction() []components.ACLAction { +func (o *GetProjectsPermissions) GetProjectTransferIn() []components.ACLAction { if o == nil { return nil } - return o.SharedEnvVarsProduction + return o.ProjectTransferIn } -func (o *GetProjectsPermissions) GetSpace() []components.ACLAction { +func (o *GetProjectsPermissions) GetProTrialOnboarding() []components.ACLAction { if o == nil { return nil } - return o.Space + return o.ProTrialOnboarding } -func (o *GetProjectsPermissions) GetSpaceRun() []components.ACLAction { +func (o *GetProjectsPermissions) GetRateLimit() []components.ACLAction { if o == nil { return nil } - return o.SpaceRun + return o.RateLimit } -func (o *GetProjectsPermissions) GetPasswordProtectionInvoiceItem() []components.ACLAction { +func (o *GetProjectsPermissions) GetRedis() []components.ACLAction { if o == nil { return nil } - return o.PasswordProtectionInvoiceItem + return o.Redis } -func (o *GetProjectsPermissions) GetRateLimit() []components.ACLAction { +func (o *GetProjectsPermissions) GetRedisStoreTokenSet() []components.ACLAction { if o == nil { return nil } - return o.RateLimit + return o.RedisStoreTokenSet } -func (o *GetProjectsPermissions) GetRedis() []components.ACLAction { +func (o *GetProjectsPermissions) GetRemoteCaching() []components.ACLAction { if o == nil { return nil } - return o.Redis + return o.RemoteCaching } func (o *GetProjectsPermissions) GetRepository() []components.ACLAction { @@ -6344,13 +6672,6 @@ func (o *GetProjectsPermissions) GetRepository() []components.ACLAction { return o.Repository } -func (o *GetProjectsPermissions) GetRemoteCaching() []components.ACLAction { - if o == nil { - return nil - } - return o.RemoteCaching -} - func (o *GetProjectsPermissions) GetSamlConfig() []components.ACLAction { if o == nil { return nil @@ -6365,39 +6686,39 @@ func (o *GetProjectsPermissions) GetSecret() []components.ACLAction { return o.Secret } -func (o *GetProjectsPermissions) GetRedisStoreTokenSet() []components.ACLAction { +func (o *GetProjectsPermissions) GetSensitiveEnvironmentVariablePolicy() []components.ACLAction { if o == nil { return nil } - return o.RedisStoreTokenSet + return o.SensitiveEnvironmentVariablePolicy } -func (o *GetProjectsPermissions) GetBlobStoreTokenSet() []components.ACLAction { +func (o *GetProjectsPermissions) GetSharedEnvVars() []components.ACLAction { if o == nil { return nil } - return o.BlobStoreTokenSet + return o.SharedEnvVars } -func (o *GetProjectsPermissions) GetPostgresStoreTokenSet() []components.ACLAction { +func (o *GetProjectsPermissions) GetSharedEnvVarsProduction() []components.ACLAction { if o == nil { return nil } - return o.PostgresStoreTokenSet + return o.SharedEnvVarsProduction } -func (o *GetProjectsPermissions) GetIntegrationStoreTokenSet() []components.ACLAction { +func (o *GetProjectsPermissions) GetSpace() []components.ACLAction { if o == nil { return nil } - return o.IntegrationStoreTokenSet + return o.Space } -func (o *GetProjectsPermissions) GetIntegrationResourceReplCommand() []components.ACLAction { +func (o *GetProjectsPermissions) GetSpaceRun() []components.ACLAction { if o == nil { return nil } - return o.IntegrationResourceReplCommand + return o.SpaceRun } func (o *GetProjectsPermissions) GetStoreTransfer() []components.ACLAction { @@ -6421,13 +6742,6 @@ func (o *GetProjectsPermissions) GetSupportCaseComment() []components.ACLAction return o.SupportCaseComment } -func (o *GetProjectsPermissions) GetDataCacheBillingSettings() []components.ACLAction { - if o == nil { - return nil - } - return o.DataCacheBillingSettings -} - func (o *GetProjectsPermissions) GetTeam() []components.ACLAction { if o == nil { return nil @@ -6526,46 +6840,32 @@ func (o *GetProjectsPermissions) GetUsageCycle() []components.ACLAction { return o.UsageCycle } -func (o *GetProjectsPermissions) GetVpcPeeringConnection() []components.ACLAction { - if o == nil { - return nil - } - return o.VpcPeeringConnection -} - -func (o *GetProjectsPermissions) GetWebAnalyticsPlan() []components.ACLAction { - if o == nil { - return nil - } - return o.WebAnalyticsPlan -} - -func (o *GetProjectsPermissions) GetEdgeConfig() []components.ACLAction { +func (o *GetProjectsPermissions) GetVercelRun() []components.ACLAction { if o == nil { return nil } - return o.EdgeConfig + return o.VercelRun } -func (o *GetProjectsPermissions) GetEdgeConfigItem() []components.ACLAction { +func (o *GetProjectsPermissions) GetVercelRunExec() []components.ACLAction { if o == nil { return nil } - return o.EdgeConfigItem + return o.VercelRunExec } -func (o *GetProjectsPermissions) GetEdgeConfigSchema() []components.ACLAction { +func (o *GetProjectsPermissions) GetVpcPeeringConnection() []components.ACLAction { if o == nil { return nil } - return o.EdgeConfigSchema + return o.VpcPeeringConnection } -func (o *GetProjectsPermissions) GetEdgeConfigToken() []components.ACLAction { +func (o *GetProjectsPermissions) GetWebAnalyticsPlan() []components.ACLAction { if o == nil { return nil } - return o.EdgeConfigToken + return o.WebAnalyticsPlan } func (o *GetProjectsPermissions) GetWebhook() []components.ACLAction { @@ -6582,62 +6882,6 @@ func (o *GetProjectsPermissions) GetWebhookEvent() []components.ACLAction { return o.WebhookEvent } -func (o *GetProjectsPermissions) GetEndpointVerification() []components.ACLAction { - if o == nil { - return nil - } - return o.EndpointVerification -} - -func (o *GetProjectsPermissions) GetProjectTransferIn() []components.ACLAction { - if o == nil { - return nil - } - return o.ProjectTransferIn -} - -func (o *GetProjectsPermissions) GetOauth2Application() []components.ACLAction { - if o == nil { - return nil - } - return o.Oauth2Application -} - -func (o *GetProjectsPermissions) GetVercelRun() []components.ACLAction { - if o == nil { - return nil - } - return o.VercelRun -} - -func (o *GetProjectsPermissions) GetVercelRunExec() []components.ACLAction { - if o == nil { - return nil - } - return o.VercelRunExec -} - -func (o *GetProjectsPermissions) GetAPIKey() []components.ACLAction { - if o == nil { - return nil - } - return o.APIKey -} - -func (o *GetProjectsPermissions) GetAPIKeyOwnedBySelf() []components.ACLAction { - if o == nil { - return nil - } - return o.APIKeyOwnedBySelf -} - -func (o *GetProjectsPermissions) GetAPIKeyAiGateway() []components.ACLAction { - if o == nil { - return nil - } - return o.APIKeyAiGateway -} - func (o *GetProjectsPermissions) GetAliasProject() []components.ACLAction { if o == nil { return nil @@ -6659,13 +6903,6 @@ func (o *GetProjectsPermissions) GetBuildMachine() []components.ACLAction { return o.BuildMachine } -func (o *GetProjectsPermissions) GetProductionAliasProtectionBypass() []components.ACLAction { - if o == nil { - return nil - } - return o.ProductionAliasProtectionBypass -} - func (o *GetProjectsPermissions) GetConnectConfigurationLink() []components.ACLAction { if o == nil { return nil @@ -6771,6 +7008,13 @@ func (o *GetProjectsPermissions) GetEnvironments() []components.ACLAction { return o.Environments } +func (o *GetProjectsPermissions) GetJob() []components.ACLAction { + if o == nil { + return nil + } + return o.Job +} + func (o *GetProjectsPermissions) GetLogs() []components.ACLAction { if o == nil { return nil @@ -6785,46 +7029,46 @@ func (o *GetProjectsPermissions) GetLogsPreset() []components.ACLAction { return o.LogsPreset } -func (o *GetProjectsPermissions) GetPasswordProtection() []components.ACLAction { +func (o *GetProjectsPermissions) GetObservabilityData() []components.ACLAction { if o == nil { return nil } - return o.PasswordProtection + return o.ObservabilityData } -func (o *GetProjectsPermissions) GetOptionsAllowlist() []components.ACLAction { +func (o *GetProjectsPermissions) GetOnDemandBuild() []components.ACLAction { if o == nil { return nil } - return o.OptionsAllowlist + return o.OnDemandBuild } -func (o *GetProjectsPermissions) GetJob() []components.ACLAction { +func (o *GetProjectsPermissions) GetOnDemandConcurrency() []components.ACLAction { if o == nil { return nil } - return o.Job + return o.OnDemandConcurrency } -func (o *GetProjectsPermissions) GetObservabilityData() []components.ACLAction { +func (o *GetProjectsPermissions) GetOptionsAllowlist() []components.ACLAction { if o == nil { return nil } - return o.ObservabilityData + return o.OptionsAllowlist } -func (o *GetProjectsPermissions) GetOnDemandBuild() []components.ACLAction { +func (o *GetProjectsPermissions) GetPasswordProtection() []components.ACLAction { if o == nil { return nil } - return o.OnDemandBuild + return o.PasswordProtection } -func (o *GetProjectsPermissions) GetOnDemandConcurrency() []components.ACLAction { +func (o *GetProjectsPermissions) GetProductionAliasProtectionBypass() []components.ACLAction { if o == nil { return nil } - return o.OnDemandConcurrency + return o.ProductionAliasProtectionBypass } func (o *GetProjectsPermissions) GetProject() []components.ACLAction { @@ -6834,25 +7078,25 @@ func (o *GetProjectsPermissions) GetProject() []components.ACLAction { return o.Project } -func (o *GetProjectsPermissions) GetProjectFromV0() []components.ACLAction { +func (o *GetProjectsPermissions) GetProjectAccessGroup() []components.ACLAction { if o == nil { return nil } - return o.ProjectFromV0 + return o.ProjectAccessGroup } -func (o *GetProjectsPermissions) GetProjectAccessGroup() []components.ACLAction { +func (o *GetProjectsPermissions) GetProjectAnalyticsSampling() []components.ACLAction { if o == nil { return nil } - return o.ProjectAccessGroup + return o.ProjectAnalyticsSampling } -func (o *GetProjectsPermissions) GetProjectAnalyticsSampling() []components.ACLAction { +func (o *GetProjectsPermissions) GetProjectAnalyticsUsage() []components.ACLAction { if o == nil { return nil } - return o.ProjectAnalyticsSampling + return o.ProjectAnalyticsUsage } func (o *GetProjectsPermissions) GetProjectCheck() []components.ACLAction { @@ -6869,6 +7113,13 @@ func (o *GetProjectsPermissions) GetProjectCheckRun() []components.ACLAction { return o.ProjectCheckRun } +func (o *GetProjectsPermissions) GetProjectDeploymentExpiration() []components.ACLAction { + if o == nil { + return nil + } + return o.ProjectDeploymentExpiration +} + func (o *GetProjectsPermissions) GetProjectDeploymentHook() []components.ACLAction { if o == nil { return nil @@ -6883,18 +7134,18 @@ func (o *GetProjectsPermissions) GetProjectDomain() []components.ACLAction { return o.ProjectDomain } -func (o *GetProjectsPermissions) GetProjectDomainMove() []components.ACLAction { +func (o *GetProjectsPermissions) GetProjectDomainCheckConfig() []components.ACLAction { if o == nil { return nil } - return o.ProjectDomainMove + return o.ProjectDomainCheckConfig } -func (o *GetProjectsPermissions) GetProjectDomainCheckConfig() []components.ACLAction { +func (o *GetProjectsPermissions) GetProjectDomainMove() []components.ACLAction { if o == nil { return nil } - return o.ProjectDomainCheckConfig + return o.ProjectDomainMove } func (o *GetProjectsPermissions) GetProjectEnvVars() []components.ACLAction { @@ -6925,88 +7176,88 @@ func (o *GetProjectsPermissions) GetProjectFlags() []components.ACLAction { return o.ProjectFlags } -func (o *GetProjectsPermissions) GetProjectID() []components.ACLAction { +func (o *GetProjectsPermissions) GetProjectFlagsProduction() []components.ACLAction { if o == nil { return nil } - return o.ProjectID + return o.ProjectFlagsProduction } -func (o *GetProjectsPermissions) GetProjectIntegrationConfiguration() []components.ACLAction { +func (o *GetProjectsPermissions) GetProjectFromV0() []components.ACLAction { if o == nil { return nil } - return o.ProjectIntegrationConfiguration + return o.ProjectFromV0 } -func (o *GetProjectsPermissions) GetProjectLink() []components.ACLAction { +func (o *GetProjectsPermissions) GetProjectID() []components.ACLAction { if o == nil { return nil } - return o.ProjectLink + return o.ProjectID } -func (o *GetProjectsPermissions) GetProjectMember() []components.ACLAction { +func (o *GetProjectsPermissions) GetProjectIntegrationConfiguration() []components.ACLAction { if o == nil { return nil } - return o.ProjectMember + return o.ProjectIntegrationConfiguration } -func (o *GetProjectsPermissions) GetProjectMonitoring() []components.ACLAction { +func (o *GetProjectsPermissions) GetProjectLink() []components.ACLAction { if o == nil { return nil } - return o.ProjectMonitoring + return o.ProjectLink } -func (o *GetProjectsPermissions) GetProjectPermissions() []components.ACLAction { +func (o *GetProjectsPermissions) GetProjectMember() []components.ACLAction { if o == nil { return nil } - return o.ProjectPermissions + return o.ProjectMember } -func (o *GetProjectsPermissions) GetProjectProductionBranch() []components.ACLAction { +func (o *GetProjectsPermissions) GetProjectMonitoring() []components.ACLAction { if o == nil { return nil } - return o.ProjectProductionBranch + return o.ProjectMonitoring } -func (o *GetProjectsPermissions) GetProjectTransfer() []components.ACLAction { +func (o *GetProjectsPermissions) GetProjectOIDCToken() []components.ACLAction { if o == nil { return nil } - return o.ProjectTransfer + return o.ProjectOIDCToken } -func (o *GetProjectsPermissions) GetProjectTransferOut() []components.ACLAction { +func (o *GetProjectsPermissions) GetProjectPermissions() []components.ACLAction { if o == nil { return nil } - return o.ProjectTransferOut + return o.ProjectPermissions } -func (o *GetProjectsPermissions) GetProjectProtectionBypass() []components.ACLAction { +func (o *GetProjectsPermissions) GetProjectProductionBranch() []components.ACLAction { if o == nil { return nil } - return o.ProjectProtectionBypass + return o.ProjectProductionBranch } -func (o *GetProjectsPermissions) GetProjectUsage() []components.ACLAction { +func (o *GetProjectsPermissions) GetProjectProtectionBypass() []components.ACLAction { if o == nil { return nil } - return o.ProjectUsage + return o.ProjectProtectionBypass } -func (o *GetProjectsPermissions) GetProjectAnalyticsUsage() []components.ACLAction { +func (o *GetProjectsPermissions) GetProjectRollingRelease() []components.ACLAction { if o == nil { return nil } - return o.ProjectAnalyticsUsage + return o.ProjectRollingRelease } func (o *GetProjectsPermissions) GetProjectSupportCase() []components.ACLAction { @@ -7023,32 +7274,32 @@ func (o *GetProjectsPermissions) GetProjectSupportCaseComment() []components.ACL return o.ProjectSupportCaseComment } -func (o *GetProjectsPermissions) GetProjectDeploymentExpiration() []components.ACLAction { +func (o *GetProjectsPermissions) GetProjectTier() []components.ACLAction { if o == nil { return nil } - return o.ProjectDeploymentExpiration + return o.ProjectTier } -func (o *GetProjectsPermissions) GetProjectRollingRelease() []components.ACLAction { +func (o *GetProjectsPermissions) GetProjectTransfer() []components.ACLAction { if o == nil { return nil } - return o.ProjectRollingRelease + return o.ProjectTransfer } -func (o *GetProjectsPermissions) GetProjectTier() []components.ACLAction { +func (o *GetProjectsPermissions) GetProjectTransferOut() []components.ACLAction { if o == nil { return nil } - return o.ProjectTier + return o.ProjectTransferOut } -func (o *GetProjectsPermissions) GetProjectOIDCToken() []components.ACLAction { +func (o *GetProjectsPermissions) GetProjectUsage() []components.ACLAction { if o == nil { return nil } - return o.ProjectOIDCToken + return o.ProjectUsage } func (o *GetProjectsPermissions) GetSeawallConfig() []components.ACLAction { @@ -7058,6 +7309,13 @@ func (o *GetProjectsPermissions) GetSeawallConfig() []components.ACLAction { return o.SeawallConfig } +func (o *GetProjectsPermissions) GetSharedEnvVarConnection() []components.ACLAction { + if o == nil { + return nil + } + return o.SharedEnvVarConnection +} + func (o *GetProjectsPermissions) GetSkewProtection() []components.ACLAction { if o == nil { return nil @@ -7093,20 +7351,6 @@ func (o *GetProjectsPermissions) GetWebAnalytics() []components.ACLAction { return o.WebAnalytics } -func (o *GetProjectsPermissions) GetSharedEnvVarConnection() []components.ACLAction { - if o == nil { - return nil - } - return o.SharedEnvVarConnection -} - -func (o *GetProjectsPermissions) GetSonar() []components.ACLAction { - if o == nil { - return nil - } - return o.Sonar -} - type GetProjectsLastRollbackTarget struct { } @@ -7726,6 +7970,8 @@ type GetProjectsGitProviderOptions struct { CreateDeployments GetProjectsCreateDeployments `json:"createDeployments"` // Whether the Vercel bot should not automatically create GitHub repository-dispatch events on deployment events. https://vercel.com/docs/git/vercel-for-github#repository-dispatch-events DisableRepositoryDispatchEvents *bool `json:"disableRepositoryDispatchEvents,omitempty"` + // Whether the project requires commits to be signed before deployments will be created. + RequireVerifiedCommits *bool `json:"requireVerifiedCommits,omitempty"` } func (o *GetProjectsGitProviderOptions) GetCreateDeployments() GetProjectsCreateDeployments { @@ -7742,6 +7988,13 @@ func (o *GetProjectsGitProviderOptions) GetDisableRepositoryDispatchEvents() *bo return o.DisableRepositoryDispatchEvents } +func (o *GetProjectsGitProviderOptions) GetRequireVerifiedCommits() *bool { + if o == nil { + return nil + } + return o.RequireVerifiedCommits +} + type GetProjectsWebAnalytics struct { ID string `json:"id"` DisabledAt *float64 `json:"disabledAt,omitempty"` @@ -9617,6 +9870,7 @@ type GetProjectsAbuse struct { UpdatedAt float64 `json:"updatedAt"` Block *GetProjectsBlock `json:"block,omitempty"` BlockHistory []GetProjectsBlockHistoryUnion `json:"blockHistory,omitempty"` + Interstitial *bool `json:"interstitial,omitempty"` } func (o *GetProjectsAbuse) GetScanner() *string { @@ -9654,6 +9908,13 @@ func (o *GetProjectsAbuse) GetBlockHistory() []GetProjectsBlockHistoryUnion { return o.BlockHistory } +func (o *GetProjectsAbuse) GetInterstitial() *bool { + if o == nil { + return nil + } + return o.Interstitial +} + type GetProjectsInternalRouteTypeHost string const ( @@ -9825,253 +10086,624 @@ func (o *GetProjectsInternalRouteHasXVercelIPCountry) GetKey() GetProjectsIntern if o == nil { return GetProjectsInternalRouteKey("") } - return o.Key -} + return o.Key +} + +func (o *GetProjectsInternalRouteHasXVercelIPCountry) GetValue() GetProjectsInternalRouteValue1 { + if o == nil { + return GetProjectsInternalRouteValue1{} + } + return o.Value +} + +type GetProjectsInternalRouteHasUnionType string + +const ( + GetProjectsInternalRouteHasUnionTypeGetProjectsInternalRouteHasXVercelIPCountry GetProjectsInternalRouteHasUnionType = "getProjects_internalRoute_has_XVercelIPCountry" + GetProjectsInternalRouteHasUnionTypeGetProjectsInternalRouteHasHost GetProjectsInternalRouteHasUnionType = "getProjects_internalRoute_has_Host" +) + +type GetProjectsInternalRouteHasUnion struct { + GetProjectsInternalRouteHasXVercelIPCountry *GetProjectsInternalRouteHasXVercelIPCountry `queryParam:"inline"` + GetProjectsInternalRouteHasHost *GetProjectsInternalRouteHasHost `queryParam:"inline"` + + Type GetProjectsInternalRouteHasUnionType +} + +func CreateGetProjectsInternalRouteHasUnionGetProjectsInternalRouteHasXVercelIPCountry(getProjectsInternalRouteHasXVercelIPCountry GetProjectsInternalRouteHasXVercelIPCountry) GetProjectsInternalRouteHasUnion { + typ := GetProjectsInternalRouteHasUnionTypeGetProjectsInternalRouteHasXVercelIPCountry + + return GetProjectsInternalRouteHasUnion{ + GetProjectsInternalRouteHasXVercelIPCountry: &getProjectsInternalRouteHasXVercelIPCountry, + Type: typ, + } +} + +func CreateGetProjectsInternalRouteHasUnionGetProjectsInternalRouteHasHost(getProjectsInternalRouteHasHost GetProjectsInternalRouteHasHost) GetProjectsInternalRouteHasUnion { + typ := GetProjectsInternalRouteHasUnionTypeGetProjectsInternalRouteHasHost + + return GetProjectsInternalRouteHasUnion{ + GetProjectsInternalRouteHasHost: &getProjectsInternalRouteHasHost, + Type: typ, + } +} + +func (u *GetProjectsInternalRouteHasUnion) UnmarshalJSON(data []byte) error { + + var getProjectsInternalRouteHasXVercelIPCountry GetProjectsInternalRouteHasXVercelIPCountry = GetProjectsInternalRouteHasXVercelIPCountry{} + if err := utils.UnmarshalJSON(data, &getProjectsInternalRouteHasXVercelIPCountry, "", true, nil); err == nil { + u.GetProjectsInternalRouteHasXVercelIPCountry = &getProjectsInternalRouteHasXVercelIPCountry + u.Type = GetProjectsInternalRouteHasUnionTypeGetProjectsInternalRouteHasXVercelIPCountry + return nil + } + + var getProjectsInternalRouteHasHost GetProjectsInternalRouteHasHost = GetProjectsInternalRouteHasHost{} + if err := utils.UnmarshalJSON(data, &getProjectsInternalRouteHasHost, "", true, nil); err == nil { + u.GetProjectsInternalRouteHasHost = &getProjectsInternalRouteHasHost + u.Type = GetProjectsInternalRouteHasUnionTypeGetProjectsInternalRouteHasHost + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for GetProjectsInternalRouteHasUnion", string(data)) +} + +func (u GetProjectsInternalRouteHasUnion) MarshalJSON() ([]byte, error) { + if u.GetProjectsInternalRouteHasXVercelIPCountry != nil { + return utils.MarshalJSON(u.GetProjectsInternalRouteHasXVercelIPCountry, "", true) + } + + if u.GetProjectsInternalRouteHasHost != nil { + return utils.MarshalJSON(u.GetProjectsInternalRouteHasHost, "", true) + } + + return nil, errors.New("could not marshal union type GetProjectsInternalRouteHasUnion: all fields are null") +} + +type GetProjectsInternalRouteAction string + +const ( + GetProjectsInternalRouteActionBlockLegalCwc GetProjectsInternalRouteAction = "block_legal_cwc" +) + +func (e GetProjectsInternalRouteAction) ToPointer() *GetProjectsInternalRouteAction { + return &e +} +func (e *GetProjectsInternalRouteAction) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "block_legal_cwc": + *e = GetProjectsInternalRouteAction(v) + return nil + default: + return fmt.Errorf("invalid value for GetProjectsInternalRouteAction: %v", v) + } +} + +type GetProjectsInternalRouteMitigate struct { + Action GetProjectsInternalRouteAction `json:"action"` +} + +func (g GetProjectsInternalRouteMitigate) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetProjectsInternalRouteMitigate) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"action"}); err != nil { + return err + } + return nil +} + +func (o *GetProjectsInternalRouteMitigate) GetAction() GetProjectsInternalRouteAction { + if o == nil { + return GetProjectsInternalRouteAction("") + } + return o.Action +} + +type GetProjectsInternalRoute2 struct { + Has []GetProjectsInternalRouteHasUnion `json:"has"` + Mitigate GetProjectsInternalRouteMitigate `json:"mitigate"` + Src *string `json:"src,omitempty"` +} + +func (g GetProjectsInternalRoute2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetProjectsInternalRoute2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"has", "mitigate"}); err != nil { + return err + } + return nil +} + +func (o *GetProjectsInternalRoute2) GetHas() []GetProjectsInternalRouteHasUnion { + if o == nil { + return []GetProjectsInternalRouteHasUnion{} + } + return o.Has +} + +func (o *GetProjectsInternalRoute2) GetMitigate() GetProjectsInternalRouteMitigate { + if o == nil { + return GetProjectsInternalRouteMitigate{} + } + return o.Mitigate +} + +func (o *GetProjectsInternalRoute2) GetSrc() *string { + if o == nil { + return nil + } + return o.Src +} + +type GetProjectsInternalRoute1 struct { + Src string `json:"src"` + Status float64 `json:"status"` +} + +func (g GetProjectsInternalRoute1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetProjectsInternalRoute1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"src", "status"}); err != nil { + return err + } + return nil +} + +func (o *GetProjectsInternalRoute1) GetSrc() string { + if o == nil { + return "" + } + return o.Src +} + +func (o *GetProjectsInternalRoute1) GetStatus() float64 { + if o == nil { + return 0.0 + } + return o.Status +} + +type GetProjectsInternalRouteUnionType string + +const ( + GetProjectsInternalRouteUnionTypeGetProjectsInternalRoute1 GetProjectsInternalRouteUnionType = "getProjects_internalRoute_1" + GetProjectsInternalRouteUnionTypeGetProjectsInternalRoute2 GetProjectsInternalRouteUnionType = "getProjects_internalRoute_2" +) + +type GetProjectsInternalRouteUnion struct { + GetProjectsInternalRoute1 *GetProjectsInternalRoute1 `queryParam:"inline"` + GetProjectsInternalRoute2 *GetProjectsInternalRoute2 `queryParam:"inline"` + + Type GetProjectsInternalRouteUnionType +} + +func CreateGetProjectsInternalRouteUnionGetProjectsInternalRoute1(getProjectsInternalRoute1 GetProjectsInternalRoute1) GetProjectsInternalRouteUnion { + typ := GetProjectsInternalRouteUnionTypeGetProjectsInternalRoute1 + + return GetProjectsInternalRouteUnion{ + GetProjectsInternalRoute1: &getProjectsInternalRoute1, + Type: typ, + } +} + +func CreateGetProjectsInternalRouteUnionGetProjectsInternalRoute2(getProjectsInternalRoute2 GetProjectsInternalRoute2) GetProjectsInternalRouteUnion { + typ := GetProjectsInternalRouteUnionTypeGetProjectsInternalRoute2 + + return GetProjectsInternalRouteUnion{ + GetProjectsInternalRoute2: &getProjectsInternalRoute2, + Type: typ, + } +} + +func (u *GetProjectsInternalRouteUnion) UnmarshalJSON(data []byte) error { + + var getProjectsInternalRoute1 GetProjectsInternalRoute1 = GetProjectsInternalRoute1{} + if err := utils.UnmarshalJSON(data, &getProjectsInternalRoute1, "", true, nil); err == nil { + u.GetProjectsInternalRoute1 = &getProjectsInternalRoute1 + u.Type = GetProjectsInternalRouteUnionTypeGetProjectsInternalRoute1 + return nil + } + + var getProjectsInternalRoute2 GetProjectsInternalRoute2 = GetProjectsInternalRoute2{} + if err := utils.UnmarshalJSON(data, &getProjectsInternalRoute2, "", true, nil); err == nil { + u.GetProjectsInternalRoute2 = &getProjectsInternalRoute2 + u.Type = GetProjectsInternalRouteUnionTypeGetProjectsInternalRoute2 + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for GetProjectsInternalRouteUnion", string(data)) +} + +func (u GetProjectsInternalRouteUnion) MarshalJSON() ([]byte, error) { + if u.GetProjectsInternalRoute1 != nil { + return utils.MarshalJSON(u.GetProjectsInternalRoute1, "", true) + } + + if u.GetProjectsInternalRoute2 != nil { + return utils.MarshalJSON(u.GetProjectsInternalRoute2, "", true) + } + + return nil, errors.New("could not marshal union type GetProjectsInternalRouteUnion: all fields are null") +} + +type GetProjectsDismissedToastAction string + +const ( + GetProjectsDismissedToastActionCancel GetProjectsDismissedToastAction = "cancel" + GetProjectsDismissedToastActionAccept GetProjectsDismissedToastAction = "accept" + GetProjectsDismissedToastActionDelete GetProjectsDismissedToastAction = "delete" +) + +func (e GetProjectsDismissedToastAction) ToPointer() *GetProjectsDismissedToastAction { + return &e +} +func (e *GetProjectsDismissedToastAction) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "cancel": + fallthrough + case "accept": + fallthrough + case "delete": + *e = GetProjectsDismissedToastAction(v) + return nil + default: + return fmt.Errorf("invalid value for GetProjectsDismissedToastAction: %v", v) + } +} + +type GetProjectsPreviousValueType string + +const ( + GetProjectsPreviousValueTypeStr GetProjectsPreviousValueType = "str" + GetProjectsPreviousValueTypeNumber GetProjectsPreviousValueType = "number" + GetProjectsPreviousValueTypeBoolean GetProjectsPreviousValueType = "boolean" +) + +type GetProjectsPreviousValue struct { + Str *string `queryParam:"inline"` + Number *float64 `queryParam:"inline"` + Boolean *bool `queryParam:"inline"` + + Type GetProjectsPreviousValueType +} + +func CreateGetProjectsPreviousValueStr(str string) GetProjectsPreviousValue { + typ := GetProjectsPreviousValueTypeStr + + return GetProjectsPreviousValue{ + Str: &str, + Type: typ, + } +} + +func CreateGetProjectsPreviousValueNumber(number float64) GetProjectsPreviousValue { + typ := GetProjectsPreviousValueTypeNumber + + return GetProjectsPreviousValue{ + Number: &number, + Type: typ, + } +} + +func CreateGetProjectsPreviousValueBoolean(boolean bool) GetProjectsPreviousValue { + typ := GetProjectsPreviousValueTypeBoolean + + return GetProjectsPreviousValue{ + Boolean: &boolean, + Type: typ, + } +} + +func (u *GetProjectsPreviousValue) UnmarshalJSON(data []byte) error { + + var str string = "" + if err := utils.UnmarshalJSON(data, &str, "", true, nil); err == nil { + u.Str = &str + u.Type = GetProjectsPreviousValueTypeStr + return nil + } + + var number float64 = float64(0) + if err := utils.UnmarshalJSON(data, &number, "", true, nil); err == nil { + u.Number = &number + u.Type = GetProjectsPreviousValueTypeNumber + return nil + } + + var boolean bool = false + if err := utils.UnmarshalJSON(data, &boolean, "", true, nil); err == nil { + u.Boolean = &boolean + u.Type = GetProjectsPreviousValueTypeBoolean + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for GetProjectsPreviousValue", string(data)) +} + +func (u GetProjectsPreviousValue) MarshalJSON() ([]byte, error) { + if u.Str != nil { + return utils.MarshalJSON(u.Str, "", true) + } + + if u.Number != nil { + return utils.MarshalJSON(u.Number, "", true) + } -func (o *GetProjectsInternalRouteHasXVercelIPCountry) GetValue() GetProjectsInternalRouteValue1 { - if o == nil { - return GetProjectsInternalRouteValue1{} + if u.Boolean != nil { + return utils.MarshalJSON(u.Boolean, "", true) } - return o.Value + + return nil, errors.New("could not marshal union type GetProjectsPreviousValue: all fields are null") } -type GetProjectsInternalRouteHasUnionType string +type GetProjectsCurrentValueType string const ( - GetProjectsInternalRouteHasUnionTypeGetProjectsInternalRouteHasXVercelIPCountry GetProjectsInternalRouteHasUnionType = "getProjects_internalRoute_has_XVercelIPCountry" - GetProjectsInternalRouteHasUnionTypeGetProjectsInternalRouteHasHost GetProjectsInternalRouteHasUnionType = "getProjects_internalRoute_has_Host" + GetProjectsCurrentValueTypeStr GetProjectsCurrentValueType = "str" + GetProjectsCurrentValueTypeNumber GetProjectsCurrentValueType = "number" + GetProjectsCurrentValueTypeBoolean GetProjectsCurrentValueType = "boolean" ) -type GetProjectsInternalRouteHasUnion struct { - GetProjectsInternalRouteHasXVercelIPCountry *GetProjectsInternalRouteHasXVercelIPCountry `queryParam:"inline"` - GetProjectsInternalRouteHasHost *GetProjectsInternalRouteHasHost `queryParam:"inline"` +type GetProjectsCurrentValue struct { + Str *string `queryParam:"inline"` + Number *float64 `queryParam:"inline"` + Boolean *bool `queryParam:"inline"` - Type GetProjectsInternalRouteHasUnionType + Type GetProjectsCurrentValueType } -func CreateGetProjectsInternalRouteHasUnionGetProjectsInternalRouteHasXVercelIPCountry(getProjectsInternalRouteHasXVercelIPCountry GetProjectsInternalRouteHasXVercelIPCountry) GetProjectsInternalRouteHasUnion { - typ := GetProjectsInternalRouteHasUnionTypeGetProjectsInternalRouteHasXVercelIPCountry +func CreateGetProjectsCurrentValueStr(str string) GetProjectsCurrentValue { + typ := GetProjectsCurrentValueTypeStr - return GetProjectsInternalRouteHasUnion{ - GetProjectsInternalRouteHasXVercelIPCountry: &getProjectsInternalRouteHasXVercelIPCountry, + return GetProjectsCurrentValue{ + Str: &str, Type: typ, } } -func CreateGetProjectsInternalRouteHasUnionGetProjectsInternalRouteHasHost(getProjectsInternalRouteHasHost GetProjectsInternalRouteHasHost) GetProjectsInternalRouteHasUnion { - typ := GetProjectsInternalRouteHasUnionTypeGetProjectsInternalRouteHasHost +func CreateGetProjectsCurrentValueNumber(number float64) GetProjectsCurrentValue { + typ := GetProjectsCurrentValueTypeNumber - return GetProjectsInternalRouteHasUnion{ - GetProjectsInternalRouteHasHost: &getProjectsInternalRouteHasHost, - Type: typ, + return GetProjectsCurrentValue{ + Number: &number, + Type: typ, } } -func (u *GetProjectsInternalRouteHasUnion) UnmarshalJSON(data []byte) error { +func CreateGetProjectsCurrentValueBoolean(boolean bool) GetProjectsCurrentValue { + typ := GetProjectsCurrentValueTypeBoolean - var getProjectsInternalRouteHasXVercelIPCountry GetProjectsInternalRouteHasXVercelIPCountry = GetProjectsInternalRouteHasXVercelIPCountry{} - if err := utils.UnmarshalJSON(data, &getProjectsInternalRouteHasXVercelIPCountry, "", true, nil); err == nil { - u.GetProjectsInternalRouteHasXVercelIPCountry = &getProjectsInternalRouteHasXVercelIPCountry - u.Type = GetProjectsInternalRouteHasUnionTypeGetProjectsInternalRouteHasXVercelIPCountry - return nil + return GetProjectsCurrentValue{ + Boolean: &boolean, + Type: typ, } +} - var getProjectsInternalRouteHasHost GetProjectsInternalRouteHasHost = GetProjectsInternalRouteHasHost{} - if err := utils.UnmarshalJSON(data, &getProjectsInternalRouteHasHost, "", true, nil); err == nil { - u.GetProjectsInternalRouteHasHost = &getProjectsInternalRouteHasHost - u.Type = GetProjectsInternalRouteHasUnionTypeGetProjectsInternalRouteHasHost +func (u *GetProjectsCurrentValue) UnmarshalJSON(data []byte) error { + + var str string = "" + if err := utils.UnmarshalJSON(data, &str, "", true, nil); err == nil { + u.Str = &str + u.Type = GetProjectsCurrentValueTypeStr return nil } - return fmt.Errorf("could not unmarshal `%s` into any supported union types for GetProjectsInternalRouteHasUnion", string(data)) -} - -func (u GetProjectsInternalRouteHasUnion) MarshalJSON() ([]byte, error) { - if u.GetProjectsInternalRouteHasXVercelIPCountry != nil { - return utils.MarshalJSON(u.GetProjectsInternalRouteHasXVercelIPCountry, "", true) + var number float64 = float64(0) + if err := utils.UnmarshalJSON(data, &number, "", true, nil); err == nil { + u.Number = &number + u.Type = GetProjectsCurrentValueTypeNumber + return nil } - if u.GetProjectsInternalRouteHasHost != nil { - return utils.MarshalJSON(u.GetProjectsInternalRouteHasHost, "", true) + var boolean bool = false + if err := utils.UnmarshalJSON(data, &boolean, "", true, nil); err == nil { + u.Boolean = &boolean + u.Type = GetProjectsCurrentValueTypeBoolean + return nil } - return nil, errors.New("could not marshal union type GetProjectsInternalRouteHasUnion: all fields are null") + return fmt.Errorf("could not unmarshal `%s` into any supported union types for GetProjectsCurrentValue", string(data)) } -type GetProjectsInternalRouteAction string - -const ( - GetProjectsInternalRouteActionBlockLegalCwc GetProjectsInternalRouteAction = "block_legal_cwc" -) +func (u GetProjectsCurrentValue) MarshalJSON() ([]byte, error) { + if u.Str != nil { + return utils.MarshalJSON(u.Str, "", true) + } -func (e GetProjectsInternalRouteAction) ToPointer() *GetProjectsInternalRouteAction { - return &e -} -func (e *GetProjectsInternalRouteAction) UnmarshalJSON(data []byte) error { - var v string - if err := json.Unmarshal(data, &v); err != nil { - return err + if u.Number != nil { + return utils.MarshalJSON(u.Number, "", true) } - switch v { - case "block_legal_cwc": - *e = GetProjectsInternalRouteAction(v) - return nil - default: - return fmt.Errorf("invalid value for GetProjectsInternalRouteAction: %v", v) + + if u.Boolean != nil { + return utils.MarshalJSON(u.Boolean, "", true) } + + return nil, errors.New("could not marshal union type GetProjectsCurrentValue: all fields are null") } -type GetProjectsInternalRouteMitigate struct { - Action GetProjectsInternalRouteAction `json:"action"` +type GetProjectsValueDismissedToast struct { + PreviousValue GetProjectsPreviousValue `json:"previousValue"` + CurrentValue GetProjectsCurrentValue `json:"currentValue"` } -func (g GetProjectsInternalRouteMitigate) MarshalJSON() ([]byte, error) { +func (g GetProjectsValueDismissedToast) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(g, "", false) } -func (g *GetProjectsInternalRouteMitigate) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &g, "", false, []string{"action"}); err != nil { +func (g *GetProjectsValueDismissedToast) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, []string{"previousValue", "currentValue"}); err != nil { return err } return nil } -func (o *GetProjectsInternalRouteMitigate) GetAction() GetProjectsInternalRouteAction { +func (o *GetProjectsValueDismissedToast) GetPreviousValue() GetProjectsPreviousValue { if o == nil { - return GetProjectsInternalRouteAction("") + return GetProjectsPreviousValue{} } - return o.Action + return o.PreviousValue } -type GetProjectsInternalRoute2 struct { - Has []GetProjectsInternalRouteHasUnion `json:"has"` - Mitigate GetProjectsInternalRouteMitigate `json:"mitigate"` - Src *string `json:"src,omitempty"` +func (o *GetProjectsValueDismissedToast) GetCurrentValue() GetProjectsCurrentValue { + if o == nil { + return GetProjectsCurrentValue{} + } + return o.CurrentValue } -func (g GetProjectsInternalRoute2) MarshalJSON() ([]byte, error) { - return utils.MarshalJSON(g, "", false) -} +type GetProjectsValueUnionType string -func (g *GetProjectsInternalRoute2) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &g, "", false, []string{"has", "mitigate"}); err != nil { - return err - } - return nil -} +const ( + GetProjectsValueUnionTypeStr GetProjectsValueUnionType = "str" + GetProjectsValueUnionTypeNumber GetProjectsValueUnionType = "number" + GetProjectsValueUnionTypeBoolean GetProjectsValueUnionType = "boolean" + GetProjectsValueUnionTypeGetProjectsValueDismissedToast GetProjectsValueUnionType = "getProjects_value_dismissedToast" +) -func (o *GetProjectsInternalRoute2) GetHas() []GetProjectsInternalRouteHasUnion { - if o == nil { - return []GetProjectsInternalRouteHasUnion{} - } - return o.Has -} +type GetProjectsValueUnion struct { + Str *string `queryParam:"inline"` + Number *float64 `queryParam:"inline"` + Boolean *bool `queryParam:"inline"` + GetProjectsValueDismissedToast *GetProjectsValueDismissedToast `queryParam:"inline"` -func (o *GetProjectsInternalRoute2) GetMitigate() GetProjectsInternalRouteMitigate { - if o == nil { - return GetProjectsInternalRouteMitigate{} - } - return o.Mitigate + Type GetProjectsValueUnionType } -func (o *GetProjectsInternalRoute2) GetSrc() *string { - if o == nil { - return nil +func CreateGetProjectsValueUnionStr(str string) GetProjectsValueUnion { + typ := GetProjectsValueUnionTypeStr + + return GetProjectsValueUnion{ + Str: &str, + Type: typ, } - return o.Src } -type GetProjectsInternalRoute1 struct { - Src string `json:"src"` - Status float64 `json:"status"` -} +func CreateGetProjectsValueUnionNumber(number float64) GetProjectsValueUnion { + typ := GetProjectsValueUnionTypeNumber -func (g GetProjectsInternalRoute1) MarshalJSON() ([]byte, error) { - return utils.MarshalJSON(g, "", false) + return GetProjectsValueUnion{ + Number: &number, + Type: typ, + } } -func (g *GetProjectsInternalRoute1) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &g, "", false, []string{"src", "status"}); err != nil { - return err +func CreateGetProjectsValueUnionBoolean(boolean bool) GetProjectsValueUnion { + typ := GetProjectsValueUnionTypeBoolean + + return GetProjectsValueUnion{ + Boolean: &boolean, + Type: typ, } - return nil } -func (o *GetProjectsInternalRoute1) GetSrc() string { - if o == nil { - return "" +func CreateGetProjectsValueUnionGetProjectsValueDismissedToast(getProjectsValueDismissedToast GetProjectsValueDismissedToast) GetProjectsValueUnion { + typ := GetProjectsValueUnionTypeGetProjectsValueDismissedToast + + return GetProjectsValueUnion{ + GetProjectsValueDismissedToast: &getProjectsValueDismissedToast, + Type: typ, } - return o.Src } -func (o *GetProjectsInternalRoute1) GetStatus() float64 { - if o == nil { - return 0.0 +func (u *GetProjectsValueUnion) UnmarshalJSON(data []byte) error { + + var getProjectsValueDismissedToast GetProjectsValueDismissedToast = GetProjectsValueDismissedToast{} + if err := utils.UnmarshalJSON(data, &getProjectsValueDismissedToast, "", true, nil); err == nil { + u.GetProjectsValueDismissedToast = &getProjectsValueDismissedToast + u.Type = GetProjectsValueUnionTypeGetProjectsValueDismissedToast + return nil } - return o.Status -} -type GetProjectsInternalRouteUnionType string + var str string = "" + if err := utils.UnmarshalJSON(data, &str, "", true, nil); err == nil { + u.Str = &str + u.Type = GetProjectsValueUnionTypeStr + return nil + } -const ( - GetProjectsInternalRouteUnionTypeGetProjectsInternalRoute1 GetProjectsInternalRouteUnionType = "getProjects_internalRoute_1" - GetProjectsInternalRouteUnionTypeGetProjectsInternalRoute2 GetProjectsInternalRouteUnionType = "getProjects_internalRoute_2" -) + var number float64 = float64(0) + if err := utils.UnmarshalJSON(data, &number, "", true, nil); err == nil { + u.Number = &number + u.Type = GetProjectsValueUnionTypeNumber + return nil + } -type GetProjectsInternalRouteUnion struct { - GetProjectsInternalRoute1 *GetProjectsInternalRoute1 `queryParam:"inline"` - GetProjectsInternalRoute2 *GetProjectsInternalRoute2 `queryParam:"inline"` + var boolean bool = false + if err := utils.UnmarshalJSON(data, &boolean, "", true, nil); err == nil { + u.Boolean = &boolean + u.Type = GetProjectsValueUnionTypeBoolean + return nil + } - Type GetProjectsInternalRouteUnionType + return fmt.Errorf("could not unmarshal `%s` into any supported union types for GetProjectsValueUnion", string(data)) } -func CreateGetProjectsInternalRouteUnionGetProjectsInternalRoute1(getProjectsInternalRoute1 GetProjectsInternalRoute1) GetProjectsInternalRouteUnion { - typ := GetProjectsInternalRouteUnionTypeGetProjectsInternalRoute1 +func (u GetProjectsValueUnion) MarshalJSON() ([]byte, error) { + if u.Str != nil { + return utils.MarshalJSON(u.Str, "", true) + } - return GetProjectsInternalRouteUnion{ - GetProjectsInternalRoute1: &getProjectsInternalRoute1, - Type: typ, + if u.Number != nil { + return utils.MarshalJSON(u.Number, "", true) } -} -func CreateGetProjectsInternalRouteUnionGetProjectsInternalRoute2(getProjectsInternalRoute2 GetProjectsInternalRoute2) GetProjectsInternalRouteUnion { - typ := GetProjectsInternalRouteUnionTypeGetProjectsInternalRoute2 + if u.Boolean != nil { + return utils.MarshalJSON(u.Boolean, "", true) + } - return GetProjectsInternalRouteUnion{ - GetProjectsInternalRoute2: &getProjectsInternalRoute2, - Type: typ, + if u.GetProjectsValueDismissedToast != nil { + return utils.MarshalJSON(u.GetProjectsValueDismissedToast, "", true) } + + return nil, errors.New("could not marshal union type GetProjectsValueUnion: all fields are null") } -func (u *GetProjectsInternalRouteUnion) UnmarshalJSON(data []byte) error { +type GetProjectsDismissedToast struct { + Key string `json:"key"` + DismissedAt float64 `json:"dismissedAt"` + Action GetProjectsDismissedToastAction `json:"action"` + Value *GetProjectsValueUnion `json:"value"` +} - var getProjectsInternalRoute1 GetProjectsInternalRoute1 = GetProjectsInternalRoute1{} - if err := utils.UnmarshalJSON(data, &getProjectsInternalRoute1, "", true, nil); err == nil { - u.GetProjectsInternalRoute1 = &getProjectsInternalRoute1 - u.Type = GetProjectsInternalRouteUnionTypeGetProjectsInternalRoute1 - return nil +func (o *GetProjectsDismissedToast) GetKey() string { + if o == nil { + return "" } + return o.Key +} - var getProjectsInternalRoute2 GetProjectsInternalRoute2 = GetProjectsInternalRoute2{} - if err := utils.UnmarshalJSON(data, &getProjectsInternalRoute2, "", true, nil); err == nil { - u.GetProjectsInternalRoute2 = &getProjectsInternalRoute2 - u.Type = GetProjectsInternalRouteUnionTypeGetProjectsInternalRoute2 - return nil +func (o *GetProjectsDismissedToast) GetDismissedAt() float64 { + if o == nil { + return 0.0 } - - return fmt.Errorf("could not unmarshal `%s` into any supported union types for GetProjectsInternalRouteUnion", string(data)) + return o.DismissedAt } -func (u GetProjectsInternalRouteUnion) MarshalJSON() ([]byte, error) { - if u.GetProjectsInternalRoute1 != nil { - return utils.MarshalJSON(u.GetProjectsInternalRoute1, "", true) +func (o *GetProjectsDismissedToast) GetAction() GetProjectsDismissedToastAction { + if o == nil { + return GetProjectsDismissedToastAction("") } + return o.Action +} - if u.GetProjectsInternalRoute2 != nil { - return utils.MarshalJSON(u.GetProjectsInternalRoute2, "", true) +func (o *GetProjectsDismissedToast) GetValue() *GetProjectsValueUnion { + if o == nil { + return nil } - - return nil, errors.New("could not marshal union type GetProjectsInternalRouteUnion: all fields are null") + return o.Value } type GetProjectsProject struct { @@ -10124,6 +10756,7 @@ type GetProjectsProject struct { SkewProtectionBoundaryAt *float64 `json:"skewProtectionBoundaryAt,omitempty"` SkewProtectionMaxAge *float64 `json:"skewProtectionMaxAge,omitempty"` SkipGitConnectDuringLink *bool `json:"skipGitConnectDuringLink,omitempty"` + StaticIps *GetProjectsStaticIps `json:"staticIps,omitempty"` SourceFilesOutsideRootDirectory *bool `json:"sourceFilesOutsideRootDirectory,omitempty"` EnableAffectedProjectsDeployments *bool `json:"enableAffectedProjectsDeployments,omitempty"` SsoProtection *GetProjectsSsoProtection `json:"ssoProtection,omitempty"` @@ -10154,6 +10787,8 @@ type GetProjectsProject struct { V0 *bool `json:"v0,omitempty"` Abuse *GetProjectsAbuse `json:"abuse,omitempty"` InternalRoutes []GetProjectsInternalRouteUnion `json:"internalRoutes,omitempty"` + HasDeployments *bool `json:"hasDeployments,omitempty"` + DismissedToasts []GetProjectsDismissedToast `json:"dismissedToasts,omitempty"` } func (o *GetProjectsProject) GetAccountID() string { @@ -10478,6 +11113,13 @@ func (o *GetProjectsProject) GetSkipGitConnectDuringLink() *bool { return o.SkipGitConnectDuringLink } +func (o *GetProjectsProject) GetStaticIps() *GetProjectsStaticIps { + if o == nil { + return nil + } + return o.StaticIps +} + func (o *GetProjectsProject) GetSourceFilesOutsideRootDirectory() *bool { if o == nil { return nil @@ -10688,6 +11330,20 @@ func (o *GetProjectsProject) GetInternalRoutes() []GetProjectsInternalRouteUnion return o.InternalRoutes } +func (o *GetProjectsProject) GetHasDeployments() *bool { + if o == nil { + return nil + } + return o.HasDeployments +} + +func (o *GetProjectsProject) GetDismissedToasts() []GetProjectsDismissedToast { + if o == nil { + return nil + } + return o.DismissedToasts +} + // GetProjectsPagination - This object contains information related to the pagination of the current request using continuation tokens. Since CosmosDB doesn't support going to previous pages, only count and next are provided. type GetProjectsPagination struct { // Amount of items in the current page. diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/getrollingrelease.go b/src/__tests__/mockserver/internal/sdk/models/operations/getrollingrelease.go index 012fc84f1..b9627a7cd 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/getrollingrelease.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/getrollingrelease.go @@ -107,6 +107,7 @@ func (e *GetRollingReleaseStateResponseBody) UnmarshalJSON(data []byte) error { } } +// GetRollingReleaseCurrentDeploymentTarget - If defined, either `staging` if a staging alias in the format `..now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment. type GetRollingReleaseCurrentDeploymentTarget string const ( @@ -133,6 +134,7 @@ func (e *GetRollingReleaseCurrentDeploymentTarget) UnmarshalJSON(data []byte) er } } +// GetRollingReleaseCurrentDeploymentSource - Where was the deployment created from type GetRollingReleaseCurrentDeploymentSource string const ( @@ -177,6 +179,7 @@ func (e *GetRollingReleaseCurrentDeploymentSource) UnmarshalJSON(data []byte) er } } +// GetRollingReleaseCurrentDeploymentReadyState - The state of the deployment depending on the process of deploying, or if it is ready or in an error state type GetRollingReleaseCurrentDeploymentReadyState string const ( @@ -217,12 +220,19 @@ func (e *GetRollingReleaseCurrentDeploymentReadyState) UnmarshalJSON(data []byte // GetRollingReleaseCurrentDeployment - The current deployment receiving production traffic type GetRollingReleaseCurrentDeployment struct { - ID string `json:"id"` - Name string `json:"name"` - URL string `json:"url"` - Target *GetRollingReleaseCurrentDeploymentTarget `json:"target,omitempty"` - Source *GetRollingReleaseCurrentDeploymentSource `json:"source,omitempty"` - CreatedAt float64 `json:"createdAt"` + // A string holding the unique ID of the deployment + ID string `json:"id"` + // The name of the project associated with the deployment at the time that the deployment was created + Name string `json:"name"` + // A string with the unique URL of the deployment + URL string `json:"url"` + // If defined, either `staging` if a staging alias in the format `..now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment. + Target *GetRollingReleaseCurrentDeploymentTarget `json:"target,omitempty"` + // Where was the deployment created from + Source *GetRollingReleaseCurrentDeploymentSource `json:"source,omitempty"` + // A number containing the date when the deployment was created in milliseconds + CreatedAt float64 `json:"createdAt"` + // The state of the deployment depending on the process of deploying, or if it is ready or in an error state ReadyState GetRollingReleaseCurrentDeploymentReadyState `json:"readyState"` ReadyStateAt *float64 `json:"readyStateAt,omitempty"` } @@ -283,6 +293,7 @@ func (o *GetRollingReleaseCurrentDeployment) GetReadyStateAt() *float64 { return o.ReadyStateAt } +// GetRollingReleaseCanaryDeploymentTarget - If defined, either `staging` if a staging alias in the format `..now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment. type GetRollingReleaseCanaryDeploymentTarget string const ( @@ -309,6 +320,7 @@ func (e *GetRollingReleaseCanaryDeploymentTarget) UnmarshalJSON(data []byte) err } } +// GetRollingReleaseCanaryDeploymentSource - Where was the deployment created from type GetRollingReleaseCanaryDeploymentSource string const ( @@ -353,6 +365,7 @@ func (e *GetRollingReleaseCanaryDeploymentSource) UnmarshalJSON(data []byte) err } } +// GetRollingReleaseCanaryDeploymentReadyState - The state of the deployment depending on the process of deploying, or if it is ready or in an error state type GetRollingReleaseCanaryDeploymentReadyState string const ( @@ -393,12 +406,19 @@ func (e *GetRollingReleaseCanaryDeploymentReadyState) UnmarshalJSON(data []byte) // GetRollingReleaseCanaryDeployment - The canary deployment being rolled out type GetRollingReleaseCanaryDeployment struct { - ID string `json:"id"` - Name string `json:"name"` - URL string `json:"url"` - Target *GetRollingReleaseCanaryDeploymentTarget `json:"target,omitempty"` - Source *GetRollingReleaseCanaryDeploymentSource `json:"source,omitempty"` - CreatedAt float64 `json:"createdAt"` + // A string holding the unique ID of the deployment + ID string `json:"id"` + // The name of the project associated with the deployment at the time that the deployment was created + Name string `json:"name"` + // A string with the unique URL of the deployment + URL string `json:"url"` + // If defined, either `staging` if a staging alias in the format `..now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment. + Target *GetRollingReleaseCanaryDeploymentTarget `json:"target,omitempty"` + // Where was the deployment created from + Source *GetRollingReleaseCanaryDeploymentSource `json:"source,omitempty"` + // A number containing the date when the deployment was created in milliseconds + CreatedAt float64 `json:"createdAt"` + // The state of the deployment depending on the process of deploying, or if it is ready or in an error state ReadyState GetRollingReleaseCanaryDeploymentReadyState `json:"readyState"` ReadyStateAt *float64 `json:"readyStateAt,omitempty"` } diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/getsharedenvvar.go b/src/__tests__/mockserver/internal/sdk/models/operations/getsharedenvvar.go new file mode 100644 index 000000000..fd68416b8 --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/operations/getsharedenvvar.go @@ -0,0 +1,299 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package operations + +import ( + "encoding/json" + "fmt" + "mockserver/internal/sdk/models/components" + "mockserver/internal/sdk/utils" + "time" +) + +type GetSharedEnvVarRequest struct { + // The unique ID for the Shared Environment Variable to get the decrypted value. + ID string `pathParam:"style=simple,explode=false,name=id"` + // The Team identifier to perform the request on behalf of. + TeamID *string `queryParam:"style=form,explode=true,name=teamId"` + // The Team slug to perform the request on behalf of. + Slug *string `queryParam:"style=form,explode=true,name=slug"` +} + +func (o *GetSharedEnvVarRequest) GetID() string { + if o == nil { + return "" + } + return o.ID +} + +func (o *GetSharedEnvVarRequest) GetTeamID() *string { + if o == nil { + return nil + } + return o.TeamID +} + +func (o *GetSharedEnvVarRequest) GetSlug() *string { + if o == nil { + return nil + } + return o.Slug +} + +// GetSharedEnvVarType - The type of this cosmos doc instance, if blank, assume secret. +type GetSharedEnvVarType string + +const ( + GetSharedEnvVarTypeEncrypted GetSharedEnvVarType = "encrypted" + GetSharedEnvVarTypeSensitive GetSharedEnvVarType = "sensitive" + GetSharedEnvVarTypeSystem GetSharedEnvVarType = "system" + GetSharedEnvVarTypePlain GetSharedEnvVarType = "plain" +) + +func (e GetSharedEnvVarType) ToPointer() *GetSharedEnvVarType { + return &e +} +func (e *GetSharedEnvVarType) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "encrypted": + fallthrough + case "sensitive": + fallthrough + case "system": + fallthrough + case "plain": + *e = GetSharedEnvVarType(v) + return nil + default: + return fmt.Errorf("invalid value for GetSharedEnvVarType: %v", v) + } +} + +// GetSharedEnvVarTarget - environments this env variable targets +type GetSharedEnvVarTarget string + +const ( + GetSharedEnvVarTargetProduction GetSharedEnvVarTarget = "production" + GetSharedEnvVarTargetPreview GetSharedEnvVarTarget = "preview" + GetSharedEnvVarTargetDevelopment GetSharedEnvVarTarget = "development" +) + +func (e GetSharedEnvVarTarget) ToPointer() *GetSharedEnvVarTarget { + return &e +} +func (e *GetSharedEnvVarTarget) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "production": + fallthrough + case "preview": + fallthrough + case "development": + *e = GetSharedEnvVarTarget(v) + return nil + default: + return fmt.Errorf("invalid value for GetSharedEnvVarTarget: %v", v) + } +} + +type GetSharedEnvVarResponseBody struct { + // The date when the Shared Env Var was created. + Created *time.Time `json:"created,omitempty"` + // The name of the Shared Env Var. + Key *string `json:"key,omitempty"` + // The unique identifier of the owner (team) the Shared Env Var was created for. + OwnerID *string `json:"ownerId,omitempty"` + // The unique identifier of the Shared Env Var. + ID *string `json:"id,omitempty"` + // The unique identifier of the user who created the Shared Env Var. + CreatedBy *string `json:"createdBy,omitempty"` + // The unique identifier of the user who deleted the Shared Env Var. + DeletedBy *string `json:"deletedBy,omitempty"` + // The unique identifier of the user who last updated the Shared Env Var. + UpdatedBy *string `json:"updatedBy,omitempty"` + // Timestamp for when the Shared Env Var was created. + CreatedAt *float64 `json:"createdAt,omitempty"` + // Timestamp for when the Shared Env Var was (soft) deleted. + DeletedAt *float64 `json:"deletedAt,omitempty"` + // Timestamp for when the Shared Env Var was last updated. + UpdatedAt *float64 `json:"updatedAt,omitempty"` + // The value of the Shared Env Var. + Value *string `json:"value,omitempty"` + // The unique identifiers of the projects which the Shared Env Var is linked to. + ProjectID []string `json:"projectId,omitempty"` + // The type of this cosmos doc instance, if blank, assume secret. + Type *GetSharedEnvVarType `json:"type,omitempty"` + // environments this env variable targets + Target []GetSharedEnvVarTarget `json:"target,omitempty"` + // whether or not this env varible applies to custom environments + ApplyToAllCustomEnvironments *bool `json:"applyToAllCustomEnvironments,omitempty"` + // whether or not this env variable is decrypted + Decrypted *bool `json:"decrypted,omitempty"` + // A user provided comment that describes what this Shared Env Var is for. + Comment *string `json:"comment,omitempty"` + // The last editor full name or username. + LastEditedByDisplayName *string `json:"lastEditedByDisplayName,omitempty"` +} + +func (g GetSharedEnvVarResponseBody) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(g, "", false) +} + +func (g *GetSharedEnvVarResponseBody) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &g, "", false, nil); err != nil { + return err + } + return nil +} + +func (o *GetSharedEnvVarResponseBody) GetCreated() *time.Time { + if o == nil { + return nil + } + return o.Created +} + +func (o *GetSharedEnvVarResponseBody) GetKey() *string { + if o == nil { + return nil + } + return o.Key +} + +func (o *GetSharedEnvVarResponseBody) GetOwnerID() *string { + if o == nil { + return nil + } + return o.OwnerID +} + +func (o *GetSharedEnvVarResponseBody) GetID() *string { + if o == nil { + return nil + } + return o.ID +} + +func (o *GetSharedEnvVarResponseBody) GetCreatedBy() *string { + if o == nil { + return nil + } + return o.CreatedBy +} + +func (o *GetSharedEnvVarResponseBody) GetDeletedBy() *string { + if o == nil { + return nil + } + return o.DeletedBy +} + +func (o *GetSharedEnvVarResponseBody) GetUpdatedBy() *string { + if o == nil { + return nil + } + return o.UpdatedBy +} + +func (o *GetSharedEnvVarResponseBody) GetCreatedAt() *float64 { + if o == nil { + return nil + } + return o.CreatedAt +} + +func (o *GetSharedEnvVarResponseBody) GetDeletedAt() *float64 { + if o == nil { + return nil + } + return o.DeletedAt +} + +func (o *GetSharedEnvVarResponseBody) GetUpdatedAt() *float64 { + if o == nil { + return nil + } + return o.UpdatedAt +} + +func (o *GetSharedEnvVarResponseBody) GetValue() *string { + if o == nil { + return nil + } + return o.Value +} + +func (o *GetSharedEnvVarResponseBody) GetProjectID() []string { + if o == nil { + return nil + } + return o.ProjectID +} + +func (o *GetSharedEnvVarResponseBody) GetType() *GetSharedEnvVarType { + if o == nil { + return nil + } + return o.Type +} + +func (o *GetSharedEnvVarResponseBody) GetTarget() []GetSharedEnvVarTarget { + if o == nil { + return nil + } + return o.Target +} + +func (o *GetSharedEnvVarResponseBody) GetApplyToAllCustomEnvironments() *bool { + if o == nil { + return nil + } + return o.ApplyToAllCustomEnvironments +} + +func (o *GetSharedEnvVarResponseBody) GetDecrypted() *bool { + if o == nil { + return nil + } + return o.Decrypted +} + +func (o *GetSharedEnvVarResponseBody) GetComment() *string { + if o == nil { + return nil + } + return o.Comment +} + +func (o *GetSharedEnvVarResponseBody) GetLastEditedByDisplayName() *string { + if o == nil { + return nil + } + return o.LastEditedByDisplayName +} + +type GetSharedEnvVarResponse struct { + HTTPMeta components.HTTPMetadata `json:"-"` + Object *GetSharedEnvVarResponseBody +} + +func (o *GetSharedEnvVarResponse) GetHTTPMeta() components.HTTPMetadata { + if o == nil { + return components.HTTPMetadata{} + } + return o.HTTPMeta +} + +func (o *GetSharedEnvVarResponse) GetObject() *GetSharedEnvVarResponseBody { + if o == nil { + return nil + } + return o.Object +} diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/getsupportedtlds.go b/src/__tests__/mockserver/internal/sdk/models/operations/getsupportedtlds.go new file mode 100644 index 000000000..6ea2daabe --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/operations/getsupportedtlds.go @@ -0,0 +1,38 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package operations + +import ( + "mockserver/internal/sdk/models/components" +) + +type GetSupportedTldsRequest struct { + TeamID *string `queryParam:"style=form,explode=true,name=teamId"` +} + +func (o *GetSupportedTldsRequest) GetTeamID() *string { + if o == nil { + return nil + } + return o.TeamID +} + +type GetSupportedTldsResponse struct { + HTTPMeta components.HTTPMetadata `json:"-"` + // A list of the TLDs supported by Vercel. + Strings []string +} + +func (o *GetSupportedTldsResponse) GetHTTPMeta() components.HTTPMetadata { + if o == nil { + return components.HTTPMetadata{} + } + return o.HTTPMeta +} + +func (o *GetSupportedTldsResponse) GetStrings() []string { + if o == nil { + return nil + } + return o.Strings +} diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/getteammembers.go b/src/__tests__/mockserver/internal/sdk/models/operations/getteammembers.go index 2159826c3..4b07f1f4c 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/getteammembers.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/getteammembers.go @@ -731,18 +731,18 @@ func (e *GetTeamMembersTeamPermission) UnmarshalJSON(data []byte) error { } } -type Projects string +type GetTeamMembersProjects string const ( - ProjectsAdmin Projects = "ADMIN" - ProjectsProjectDeveloper Projects = "PROJECT_DEVELOPER" - ProjectsProjectViewer Projects = "PROJECT_VIEWER" + GetTeamMembersProjectsAdmin GetTeamMembersProjects = "ADMIN" + GetTeamMembersProjectsProjectDeveloper GetTeamMembersProjects = "PROJECT_DEVELOPER" + GetTeamMembersProjectsProjectViewer GetTeamMembersProjects = "PROJECT_VIEWER" ) -func (e Projects) ToPointer() *Projects { +func (e GetTeamMembersProjects) ToPointer() *GetTeamMembersProjects { return &e } -func (e *Projects) UnmarshalJSON(data []byte) error { +func (e *GetTeamMembersProjects) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { return err @@ -753,25 +753,25 @@ func (e *Projects) UnmarshalJSON(data []byte) error { case "PROJECT_DEVELOPER": fallthrough case "PROJECT_VIEWER": - *e = Projects(v) + *e = GetTeamMembersProjects(v) return nil default: - return fmt.Errorf("invalid value for Projects: %v", v) + return fmt.Errorf("invalid value for GetTeamMembersProjects: %v", v) } } type EmailInviteCode struct { - AccessGroups []string `json:"accessGroups,omitempty"` - ID string `json:"id"` - Email *string `json:"email,omitempty"` - Role *EmailInviteCodeRole `json:"role,omitempty"` - TeamRoles []GetTeamMembersTeamRole `json:"teamRoles,omitempty"` - TeamPermissions []GetTeamMembersTeamPermission `json:"teamPermissions,omitempty"` - IsDSyncUser bool `json:"isDSyncUser"` - CreatedAt *float64 `json:"createdAt,omitempty"` - Expired *bool `json:"expired,omitempty"` - Projects map[string]Projects `json:"projects,omitempty"` - Entitlements []string `json:"entitlements,omitempty"` + AccessGroups []string `json:"accessGroups,omitempty"` + ID string `json:"id"` + Email *string `json:"email,omitempty"` + Role *EmailInviteCodeRole `json:"role,omitempty"` + TeamRoles []GetTeamMembersTeamRole `json:"teamRoles,omitempty"` + TeamPermissions []GetTeamMembersTeamPermission `json:"teamPermissions,omitempty"` + IsDSyncUser bool `json:"isDSyncUser"` + CreatedAt *float64 `json:"createdAt,omitempty"` + Expired *bool `json:"expired,omitempty"` + Projects map[string]GetTeamMembersProjects `json:"projects,omitempty"` + Entitlements []string `json:"entitlements,omitempty"` } func (o *EmailInviteCode) GetAccessGroups() []string { @@ -837,7 +837,7 @@ func (o *EmailInviteCode) GetExpired() *bool { return o.Expired } -func (o *EmailInviteCode) GetProjects() map[string]Projects { +func (o *EmailInviteCode) GetProjects() map[string]GetTeamMembersProjects { if o == nil { return nil } diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/gettldprice.go b/src/__tests__/mockserver/internal/sdk/models/operations/gettldprice.go new file mode 100644 index 000000000..fd4ef308d --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/operations/gettldprice.go @@ -0,0 +1,94 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package operations + +import ( + "mockserver/internal/sdk/models/components" +) + +type GetTldPriceRequest struct { + Tld string `pathParam:"style=simple,explode=false,name=tld"` + Years *string `queryParam:"style=form,explode=true,name=years"` + TeamID *string `queryParam:"style=form,explode=true,name=teamId"` +} + +func (o *GetTldPriceRequest) GetTld() string { + if o == nil { + return "" + } + return o.Tld +} + +func (o *GetTldPriceRequest) GetYears() *string { + if o == nil { + return nil + } + return o.Years +} + +func (o *GetTldPriceRequest) GetTeamID() *string { + if o == nil { + return nil + } + return o.TeamID +} + +// GetTldPriceResponseBody - Success +type GetTldPriceResponseBody struct { + // The number of years the returned price is for. + Years float64 `json:"years"` + // The base TLD price for purchasing a domain for the given number of years. If null, the TLD does not support purchasing domains for the given number of years. + PurchasePrice *float64 `json:"purchasePrice"` + // The base TLD price for renewing a domain for the given number of years. If null, the TLD does not support renewing domains for the given number of years. + RenewalPrice *float64 `json:"renewalPrice"` + // The base TLD price for transferring a domain in for the given number of years. If null, the TLD does not support transferring domains in for the given number of years. + TransferPrice *float64 `json:"transferPrice"` +} + +func (o *GetTldPriceResponseBody) GetYears() float64 { + if o == nil { + return 0.0 + } + return o.Years +} + +func (o *GetTldPriceResponseBody) GetPurchasePrice() *float64 { + if o == nil { + return nil + } + return o.PurchasePrice +} + +func (o *GetTldPriceResponseBody) GetRenewalPrice() *float64 { + if o == nil { + return nil + } + return o.RenewalPrice +} + +func (o *GetTldPriceResponseBody) GetTransferPrice() *float64 { + if o == nil { + return nil + } + return o.TransferPrice +} + +type GetTldPriceResponse struct { + HTTPMeta components.HTTPMetadata `json:"-"` + // Success + Object *GetTldPriceResponseBody +} + +func (o *GetTldPriceResponse) GetHTTPMeta() components.HTTPMetadata { + if o == nil { + return components.HTTPMetadata{} + } + return o.HTTPMeta +} + +func (o *GetTldPriceResponse) GetObject() *GetTldPriceResponseBody { + if o == nil { + return nil + } + return o.Object +} diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/getv1securityfirewallevents.go b/src/__tests__/mockserver/internal/sdk/models/operations/getv1securityfirewallevents.go new file mode 100644 index 000000000..6309553c5 --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/operations/getv1securityfirewallevents.go @@ -0,0 +1,131 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package operations + +import ( + "mockserver/internal/sdk/models/components" +) + +type GetV1SecurityFirewallEventsRequest struct { + ProjectID string `queryParam:"style=form,explode=true,name=projectId"` + StartTimestamp *float64 `queryParam:"style=form,explode=true,name=startTimestamp"` + EndTimestamp *float64 `queryParam:"style=form,explode=true,name=endTimestamp"` + Hosts *string `queryParam:"style=form,explode=true,name=hosts"` +} + +func (o *GetV1SecurityFirewallEventsRequest) GetProjectID() string { + if o == nil { + return "" + } + return o.ProjectID +} + +func (o *GetV1SecurityFirewallEventsRequest) GetStartTimestamp() *float64 { + if o == nil { + return nil + } + return o.StartTimestamp +} + +func (o *GetV1SecurityFirewallEventsRequest) GetEndTimestamp() *float64 { + if o == nil { + return nil + } + return o.EndTimestamp +} + +func (o *GetV1SecurityFirewallEventsRequest) GetHosts() *string { + if o == nil { + return nil + } + return o.Hosts +} + +type GetV1SecurityFirewallEventsAction struct { + StartTime string `json:"startTime"` + EndTime string `json:"endTime"` + IsActive bool `json:"isActive"` + ActionType string `json:"action_type"` + Host string `json:"host"` + PublicIP string `json:"public_ip"` + Count float64 `json:"count"` +} + +func (o *GetV1SecurityFirewallEventsAction) GetStartTime() string { + if o == nil { + return "" + } + return o.StartTime +} + +func (o *GetV1SecurityFirewallEventsAction) GetEndTime() string { + if o == nil { + return "" + } + return o.EndTime +} + +func (o *GetV1SecurityFirewallEventsAction) GetIsActive() bool { + if o == nil { + return false + } + return o.IsActive +} + +func (o *GetV1SecurityFirewallEventsAction) GetActionType() string { + if o == nil { + return "" + } + return o.ActionType +} + +func (o *GetV1SecurityFirewallEventsAction) GetHost() string { + if o == nil { + return "" + } + return o.Host +} + +func (o *GetV1SecurityFirewallEventsAction) GetPublicIP() string { + if o == nil { + return "" + } + return o.PublicIP +} + +func (o *GetV1SecurityFirewallEventsAction) GetCount() float64 { + if o == nil { + return 0.0 + } + return o.Count +} + +type GetV1SecurityFirewallEventsResponseBody struct { + Actions []GetV1SecurityFirewallEventsAction `json:"actions"` +} + +func (o *GetV1SecurityFirewallEventsResponseBody) GetActions() []GetV1SecurityFirewallEventsAction { + if o == nil { + return []GetV1SecurityFirewallEventsAction{} + } + return o.Actions +} + +type GetV1SecurityFirewallEventsResponse struct { + HTTPMeta components.HTTPMetadata `json:"-"` + Object *GetV1SecurityFirewallEventsResponseBody +} + +func (o *GetV1SecurityFirewallEventsResponse) GetHTTPMeta() components.HTTPMetadata { + if o == nil { + return components.HTTPMetadata{} + } + return o.HTTPMeta +} + +func (o *GetV1SecurityFirewallEventsResponse) GetObject() *GetV1SecurityFirewallEventsResponseBody { + if o == nil { + return nil + } + return o.Object +} diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/getwebhook.go b/src/__tests__/mockserver/internal/sdk/models/operations/getwebhook.go index aed32cc2b..4b2511d4c 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/getwebhook.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/getwebhook.go @@ -112,6 +112,8 @@ const ( GetWebhookEventMarketplaceInvoiceRefunded GetWebhookEvent = "marketplace.invoice.refunded" GetWebhookEventObservabilityAnomaly GetWebhookEvent = "observability.anomaly" GetWebhookEventObservabilityAnomalyError GetWebhookEvent = "observability.anomaly-error" + GetWebhookEventObservabilityUsageAnomaly GetWebhookEvent = "observability.usage-anomaly" + GetWebhookEventObservabilityErrorAnomaly GetWebhookEvent = "observability.error-anomaly" GetWebhookEventObservabilityAnomalyBotId GetWebhookEvent = "observability.anomaly-botId" GetWebhookEventTestWebhook GetWebhookEvent = "test-webhook" ) @@ -267,6 +269,10 @@ func (e *GetWebhookEvent) UnmarshalJSON(data []byte) error { fallthrough case "observability.anomaly-error": fallthrough + case "observability.usage-anomaly": + fallthrough + case "observability.error-anomaly": + fallthrough case "observability.anomaly-botId": fallthrough case "test-webhook": diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/getwebhooks.go b/src/__tests__/mockserver/internal/sdk/models/operations/getwebhooks.go index f4acbda4c..1295494f8 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/getwebhooks.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/getwebhooks.go @@ -114,6 +114,8 @@ const ( GetWebhooksEvent2MarketplaceInvoiceRefunded GetWebhooksEvent2 = "marketplace.invoice.refunded" GetWebhooksEvent2ObservabilityAnomaly GetWebhooksEvent2 = "observability.anomaly" GetWebhooksEvent2ObservabilityAnomalyError GetWebhooksEvent2 = "observability.anomaly-error" + GetWebhooksEvent2ObservabilityUsageAnomaly GetWebhooksEvent2 = "observability.usage-anomaly" + GetWebhooksEvent2ObservabilityErrorAnomaly GetWebhooksEvent2 = "observability.error-anomaly" GetWebhooksEvent2ObservabilityAnomalyBotId GetWebhooksEvent2 = "observability.anomaly-botId" GetWebhooksEvent2TestWebhook GetWebhooksEvent2 = "test-webhook" ) @@ -269,6 +271,10 @@ func (e *GetWebhooksEvent2) UnmarshalJSON(data []byte) error { fallthrough case "observability.anomaly-error": fallthrough + case "observability.usage-anomaly": + fallthrough + case "observability.error-anomaly": + fallthrough case "observability.anomaly-botId": fallthrough case "test-webhook": @@ -398,10 +404,12 @@ const ( GetWebhooksFrameworkZola GetWebhooksFramework = "zola" GetWebhooksFrameworkHydrogen GetWebhooksFramework = "hydrogen" GetWebhooksFrameworkVite GetWebhooksFramework = "vite" + GetWebhooksFrameworkTanstackStart GetWebhooksFramework = "tanstack-start" GetWebhooksFrameworkVitepress GetWebhooksFramework = "vitepress" GetWebhooksFrameworkVuepress GetWebhooksFramework = "vuepress" GetWebhooksFrameworkParcel GetWebhooksFramework = "parcel" GetWebhooksFrameworkFastapi GetWebhooksFramework = "fastapi" + GetWebhooksFrameworkFlask GetWebhooksFramework = "flask" GetWebhooksFrameworkFasthtml GetWebhooksFramework = "fasthtml" GetWebhooksFrameworkSanityV3 GetWebhooksFramework = "sanity-v3" GetWebhooksFrameworkSanity GetWebhooksFramework = "sanity" @@ -410,6 +418,9 @@ const ( GetWebhooksFrameworkHono GetWebhooksFramework = "hono" GetWebhooksFrameworkExpress GetWebhooksFramework = "express" GetWebhooksFrameworkH3 GetWebhooksFramework = "h3" + GetWebhooksFrameworkNestjs GetWebhooksFramework = "nestjs" + GetWebhooksFrameworkElysia GetWebhooksFramework = "elysia" + GetWebhooksFrameworkFastify GetWebhooksFramework = "fastify" GetWebhooksFrameworkXmcp GetWebhooksFramework = "xmcp" ) @@ -500,6 +511,8 @@ func (e *GetWebhooksFramework) UnmarshalJSON(data []byte) error { fallthrough case "vite": fallthrough + case "tanstack-start": + fallthrough case "vitepress": fallthrough case "vuepress": @@ -508,6 +521,8 @@ func (e *GetWebhooksFramework) UnmarshalJSON(data []byte) error { fallthrough case "fastapi": fallthrough + case "flask": + fallthrough case "fasthtml": fallthrough case "sanity-v3": @@ -524,6 +539,12 @@ func (e *GetWebhooksFramework) UnmarshalJSON(data []byte) error { fallthrough case "h3": fallthrough + case "nestjs": + fallthrough + case "elysia": + fallthrough + case "fastify": + fallthrough case "xmcp": *e = GetWebhooksFramework(v) return nil @@ -653,6 +674,8 @@ const ( GetWebhooksEvent1MarketplaceInvoiceRefunded GetWebhooksEvent1 = "marketplace.invoice.refunded" GetWebhooksEvent1ObservabilityAnomaly GetWebhooksEvent1 = "observability.anomaly" GetWebhooksEvent1ObservabilityAnomalyError GetWebhooksEvent1 = "observability.anomaly-error" + GetWebhooksEvent1ObservabilityUsageAnomaly GetWebhooksEvent1 = "observability.usage-anomaly" + GetWebhooksEvent1ObservabilityErrorAnomaly GetWebhooksEvent1 = "observability.error-anomaly" GetWebhooksEvent1ObservabilityAnomalyBotId GetWebhooksEvent1 = "observability.anomaly-botId" GetWebhooksEvent1TestWebhook GetWebhooksEvent1 = "test-webhook" ) @@ -808,6 +831,10 @@ func (e *GetWebhooksEvent1) UnmarshalJSON(data []byte) error { fallthrough case "observability.anomaly-error": fallthrough + case "observability.usage-anomaly": + fallthrough + case "observability.error-anomaly": + fallthrough case "observability.anomaly-botId": fallthrough case "test-webhook": diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/headv1installationsintegrationconfigurationidresourcesresourceidexperimentationedgeconfig.go b/src/__tests__/mockserver/internal/sdk/models/operations/headv1installationsintegrationconfigurationidresourcesresourceidexperimentationedgeconfig.go index ce52ce345..3c73e3aa1 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/headv1installationsintegrationconfigurationidresourcesresourceidexperimentationedgeconfig.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/headv1installationsintegrationconfigurationidresourcesresourceidexperimentationedgeconfig.go @@ -3,6 +3,8 @@ package operations import ( + "encoding/json" + "fmt" "mockserver/internal/sdk/models/components" ) @@ -25,11 +27,38 @@ func (o *HeadV1InstallationsIntegrationConfigurationIDResourcesResourceIDExperim return o.ResourceID } +type HeadV1InstallationsIntegrationConfigurationIDResourcesResourceIDExperimentationEdgeConfigPurpose string + +const ( + HeadV1InstallationsIntegrationConfigurationIDResourcesResourceIDExperimentationEdgeConfigPurposeFlags HeadV1InstallationsIntegrationConfigurationIDResourcesResourceIDExperimentationEdgeConfigPurpose = "flags" + HeadV1InstallationsIntegrationConfigurationIDResourcesResourceIDExperimentationEdgeConfigPurposeExperimentation HeadV1InstallationsIntegrationConfigurationIDResourcesResourceIDExperimentationEdgeConfigPurpose = "experimentation" +) + +func (e HeadV1InstallationsIntegrationConfigurationIDResourcesResourceIDExperimentationEdgeConfigPurpose) ToPointer() *HeadV1InstallationsIntegrationConfigurationIDResourcesResourceIDExperimentationEdgeConfigPurpose { + return &e +} +func (e *HeadV1InstallationsIntegrationConfigurationIDResourcesResourceIDExperimentationEdgeConfigPurpose) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "flags": + fallthrough + case "experimentation": + *e = HeadV1InstallationsIntegrationConfigurationIDResourcesResourceIDExperimentationEdgeConfigPurpose(v) + return nil + default: + return fmt.Errorf("invalid value for HeadV1InstallationsIntegrationConfigurationIDResourcesResourceIDExperimentationEdgeConfigPurpose: %v", v) + } +} + // HeadV1InstallationsIntegrationConfigurationIDResourcesResourceIDExperimentationEdgeConfigResponseBody - The Edge Config data type HeadV1InstallationsIntegrationConfigurationIDResourcesResourceIDExperimentationEdgeConfigResponseBody struct { - Items map[string]*components.EdgeConfigItemValue `json:"items"` - UpdatedAt float64 `json:"updatedAt"` - Digest string `json:"digest"` + Items map[string]*components.EdgeConfigItemValue `json:"items"` + UpdatedAt float64 `json:"updatedAt"` + Digest string `json:"digest"` + Purpose *HeadV1InstallationsIntegrationConfigurationIDResourcesResourceIDExperimentationEdgeConfigPurpose `json:"purpose,omitempty"` } func (o *HeadV1InstallationsIntegrationConfigurationIDResourcesResourceIDExperimentationEdgeConfigResponseBody) GetItems() map[string]*components.EdgeConfigItemValue { @@ -53,6 +82,13 @@ func (o *HeadV1InstallationsIntegrationConfigurationIDResourcesResourceIDExperim return o.Digest } +func (o *HeadV1InstallationsIntegrationConfigurationIDResourcesResourceIDExperimentationEdgeConfigResponseBody) GetPurpose() *HeadV1InstallationsIntegrationConfigurationIDResourcesResourceIDExperimentationEdgeConfigPurpose { + if o == nil { + return nil + } + return o.Purpose +} + type HeadV1InstallationsIntegrationConfigurationIDResourcesResourceIDExperimentationEdgeConfigResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // The Edge Config data diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/importresource.go b/src/__tests__/mockserver/internal/sdk/models/operations/importresource.go index 5d713a36c..58a25b39e 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/importresource.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/importresource.go @@ -43,6 +43,7 @@ type ImportResourceStatus string const ( ImportResourceStatusReady ImportResourceStatus = "ready" ImportResourceStatusPending ImportResourceStatus = "pending" + ImportResourceStatusOnboarding ImportResourceStatus = "onboarding" ImportResourceStatusSuspended ImportResourceStatus = "suspended" ImportResourceStatusResumed ImportResourceStatus = "resumed" ImportResourceStatusUninstalled ImportResourceStatus = "uninstalled" @@ -62,6 +63,8 @@ func (e *ImportResourceStatus) UnmarshalJSON(data []byte) error { fallthrough case "pending": fallthrough + case "onboarding": + fallthrough case "suspended": fallthrough case "resumed": @@ -443,7 +446,7 @@ func (o *ImportResourceRequestBody) GetSecrets() []ImportResourceSecret { type ImportResourceRequest struct { IntegrationConfigurationID string `pathParam:"style=simple,explode=false,name=integrationConfigurationId"` ResourceID string `pathParam:"style=simple,explode=false,name=resourceId"` - RequestBody *ImportResourceRequestBody `request:"mediaType=application/json"` + Body *ImportResourceRequestBody `request:"mediaType=application/json"` } func (o *ImportResourceRequest) GetIntegrationConfigurationID() string { @@ -460,11 +463,11 @@ func (o *ImportResourceRequest) GetResourceID() string { return o.ResourceID } -func (o *ImportResourceRequest) GetRequestBody() *ImportResourceRequestBody { +func (o *ImportResourceRequest) GetBody() *ImportResourceRequestBody { if o == nil { return nil } - return o.RequestBody + return o.Body } type ImportResourceResponseBody struct { diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/invalidatebytags.go b/src/__tests__/mockserver/internal/sdk/models/operations/invalidatebytags.go index 4cc7a3b54..c4788b94d 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/invalidatebytags.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/invalidatebytags.go @@ -123,8 +123,8 @@ type InvalidateByTagsRequest struct { // The Team identifier to perform the request on behalf of. TeamID *string `queryParam:"style=form,explode=true,name=teamId"` // The Team slug to perform the request on behalf of. - Slug *string `queryParam:"style=form,explode=true,name=slug"` - RequestBody *InvalidateByTagsRequestBody `request:"mediaType=application/json"` + Slug *string `queryParam:"style=form,explode=true,name=slug"` + Body *InvalidateByTagsRequestBody `request:"mediaType=application/json"` } func (o *InvalidateByTagsRequest) GetProjectIDOrName() string { @@ -148,11 +148,11 @@ func (o *InvalidateByTagsRequest) GetSlug() *string { return o.Slug } -func (o *InvalidateByTagsRequest) GetRequestBody() *InvalidateByTagsRequestBody { +func (o *InvalidateByTagsRequest) GetBody() *InvalidateByTagsRequestBody { if o == nil { return nil } - return o.RequestBody + return o.Body } type InvalidateByTagsResponse struct { diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/inviteusertoteam.go b/src/__tests__/mockserver/internal/sdk/models/operations/inviteusertoteam.go index 46efbd106..29bdc0b9e 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/inviteusertoteam.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/inviteusertoteam.go @@ -9,24 +9,24 @@ import ( "mockserver/internal/sdk/utils" ) -// InviteUserToTeamRoleRequest - The role of the user to invite -type InviteUserToTeamRoleRequest string +// InviteUserToTeamRole - The role of the user to invite +type InviteUserToTeamRole string const ( - InviteUserToTeamRoleRequestOwner InviteUserToTeamRoleRequest = "OWNER" - InviteUserToTeamRoleRequestMember InviteUserToTeamRoleRequest = "MEMBER" - InviteUserToTeamRoleRequestDeveloper InviteUserToTeamRoleRequest = "DEVELOPER" - InviteUserToTeamRoleRequestSecurity InviteUserToTeamRoleRequest = "SECURITY" - InviteUserToTeamRoleRequestBilling InviteUserToTeamRoleRequest = "BILLING" - InviteUserToTeamRoleRequestViewer InviteUserToTeamRoleRequest = "VIEWER" - InviteUserToTeamRoleRequestViewerForPlus InviteUserToTeamRoleRequest = "VIEWER_FOR_PLUS" - InviteUserToTeamRoleRequestContributor InviteUserToTeamRoleRequest = "CONTRIBUTOR" + InviteUserToTeamRoleOwner InviteUserToTeamRole = "OWNER" + InviteUserToTeamRoleMember InviteUserToTeamRole = "MEMBER" + InviteUserToTeamRoleDeveloper InviteUserToTeamRole = "DEVELOPER" + InviteUserToTeamRoleSecurity InviteUserToTeamRole = "SECURITY" + InviteUserToTeamRoleBilling InviteUserToTeamRole = "BILLING" + InviteUserToTeamRoleViewer InviteUserToTeamRole = "VIEWER" + InviteUserToTeamRoleViewerForPlus InviteUserToTeamRole = "VIEWER_FOR_PLUS" + InviteUserToTeamRoleContributor InviteUserToTeamRole = "CONTRIBUTOR" ) -func (e InviteUserToTeamRoleRequest) ToPointer() *InviteUserToTeamRoleRequest { +func (e InviteUserToTeamRole) ToPointer() *InviteUserToTeamRole { return &e } -func (e *InviteUserToTeamRoleRequest) UnmarshalJSON(data []byte) error { +func (e *InviteUserToTeamRole) UnmarshalJSON(data []byte) error { var v string if err := json.Unmarshal(data, &v); err != nil { return err @@ -47,10 +47,10 @@ func (e *InviteUserToTeamRoleRequest) UnmarshalJSON(data []byte) error { case "VIEWER_FOR_PLUS": fallthrough case "CONTRIBUTOR": - *e = InviteUserToTeamRoleRequest(v) + *e = InviteUserToTeamRole(v) return nil default: - return fmt.Errorf("invalid value for InviteUserToTeamRoleRequest: %v", v) + return fmt.Errorf("invalid value for InviteUserToTeamRole: %v", v) } } @@ -109,8 +109,8 @@ type InviteUserToTeamRequestBody struct { // The email address of the user to invite Email string `json:"email"` // The role of the user to invite - Role *InviteUserToTeamRoleRequest `default:"MEMBER" json:"role"` - Projects []InviteUserToTeamProject `json:"projects,omitempty"` + Role *InviteUserToTeamRole `default:"VIEWER" json:"role"` + Projects []InviteUserToTeamProject `json:"projects,omitempty"` } func (i InviteUserToTeamRequestBody) MarshalJSON() ([]byte, error) { @@ -131,7 +131,7 @@ func (o *InviteUserToTeamRequestBody) GetEmail() string { return o.Email } -func (o *InviteUserToTeamRequestBody) GetRole() *InviteUserToTeamRoleRequest { +func (o *InviteUserToTeamRequestBody) GetRole() *InviteUserToTeamRole { if o == nil { return nil } @@ -145,225 +145,9 @@ func (o *InviteUserToTeamRequestBody) GetProjects() []InviteUserToTeamProject { return o.Projects } -type InviteUserToTeamRequest struct { - TeamID string `pathParam:"style=simple,explode=false,name=teamId"` - RequestBody InviteUserToTeamRequestBody `request:"mediaType=application/json"` -} - -func (o *InviteUserToTeamRequest) GetTeamID() string { - if o == nil { - return "" - } - return o.TeamID -} - -func (o *InviteUserToTeamRequest) GetRequestBody() InviteUserToTeamRequestBody { - if o == nil { - return InviteUserToTeamRequestBody{} - } - return o.RequestBody -} - -// InviteUserToTeamRoleResponse - The role used for the invitation -type InviteUserToTeamRoleResponse string - -const ( - InviteUserToTeamRoleResponseOwner InviteUserToTeamRoleResponse = "OWNER" - InviteUserToTeamRoleResponseMember InviteUserToTeamRoleResponse = "MEMBER" - InviteUserToTeamRoleResponseDeveloper InviteUserToTeamRoleResponse = "DEVELOPER" - InviteUserToTeamRoleResponseSecurity InviteUserToTeamRoleResponse = "SECURITY" - InviteUserToTeamRoleResponseBilling InviteUserToTeamRoleResponse = "BILLING" - InviteUserToTeamRoleResponseViewer InviteUserToTeamRoleResponse = "VIEWER" - InviteUserToTeamRoleResponseViewerForPlus InviteUserToTeamRoleResponse = "VIEWER_FOR_PLUS" - InviteUserToTeamRoleResponseContributor InviteUserToTeamRoleResponse = "CONTRIBUTOR" -) - -func (e InviteUserToTeamRoleResponse) ToPointer() *InviteUserToTeamRoleResponse { - return &e -} -func (e *InviteUserToTeamRoleResponse) UnmarshalJSON(data []byte) error { - var v string - if err := json.Unmarshal(data, &v); err != nil { - return err - } - switch v { - case "OWNER": - fallthrough - case "MEMBER": - fallthrough - case "DEVELOPER": - fallthrough - case "SECURITY": - fallthrough - case "BILLING": - fallthrough - case "VIEWER": - fallthrough - case "VIEWER_FOR_PLUS": - fallthrough - case "CONTRIBUTOR": - *e = InviteUserToTeamRoleResponse(v) - return nil - default: - return fmt.Errorf("invalid value for InviteUserToTeamRoleResponse: %v", v) - } -} - -// InviteUserToTeamTeamRole - The team roles of the user -type InviteUserToTeamTeamRole string - -const ( - InviteUserToTeamTeamRoleOwner InviteUserToTeamTeamRole = "OWNER" - InviteUserToTeamTeamRoleMember InviteUserToTeamTeamRole = "MEMBER" - InviteUserToTeamTeamRoleDeveloper InviteUserToTeamTeamRole = "DEVELOPER" - InviteUserToTeamTeamRoleSecurity InviteUserToTeamTeamRole = "SECURITY" - InviteUserToTeamTeamRoleBilling InviteUserToTeamTeamRole = "BILLING" - InviteUserToTeamTeamRoleViewer InviteUserToTeamTeamRole = "VIEWER" - InviteUserToTeamTeamRoleViewerForPlus InviteUserToTeamTeamRole = "VIEWER_FOR_PLUS" - InviteUserToTeamTeamRoleContributor InviteUserToTeamTeamRole = "CONTRIBUTOR" -) - -func (e InviteUserToTeamTeamRole) ToPointer() *InviteUserToTeamTeamRole { - return &e -} -func (e *InviteUserToTeamTeamRole) UnmarshalJSON(data []byte) error { - var v string - if err := json.Unmarshal(data, &v); err != nil { - return err - } - switch v { - case "OWNER": - fallthrough - case "MEMBER": - fallthrough - case "DEVELOPER": - fallthrough - case "SECURITY": - fallthrough - case "BILLING": - fallthrough - case "VIEWER": - fallthrough - case "VIEWER_FOR_PLUS": - fallthrough - case "CONTRIBUTOR": - *e = InviteUserToTeamTeamRole(v) - return nil - default: - return fmt.Errorf("invalid value for InviteUserToTeamTeamRole: %v", v) - } -} - -// InviteUserToTeamTeamPermission - The team permissions of the user -type InviteUserToTeamTeamPermission string - -const ( - InviteUserToTeamTeamPermissionIntegrationManager InviteUserToTeamTeamPermission = "IntegrationManager" - InviteUserToTeamTeamPermissionCreateProject InviteUserToTeamTeamPermission = "CreateProject" - InviteUserToTeamTeamPermissionFullProductionDeployment InviteUserToTeamTeamPermission = "FullProductionDeployment" - InviteUserToTeamTeamPermissionUsageViewer InviteUserToTeamTeamPermission = "UsageViewer" - InviteUserToTeamTeamPermissionEnvVariableManager InviteUserToTeamTeamPermission = "EnvVariableManager" - InviteUserToTeamTeamPermissionEnvironmentManager InviteUserToTeamTeamPermission = "EnvironmentManager" - InviteUserToTeamTeamPermissionV0Builder InviteUserToTeamTeamPermission = "V0Builder" - InviteUserToTeamTeamPermissionV0Chatter InviteUserToTeamTeamPermission = "V0Chatter" - InviteUserToTeamTeamPermissionV0Viewer InviteUserToTeamTeamPermission = "V0Viewer" -) - -func (e InviteUserToTeamTeamPermission) ToPointer() *InviteUserToTeamTeamPermission { - return &e -} -func (e *InviteUserToTeamTeamPermission) UnmarshalJSON(data []byte) error { - var v string - if err := json.Unmarshal(data, &v); err != nil { - return err - } - switch v { - case "IntegrationManager": - fallthrough - case "CreateProject": - fallthrough - case "FullProductionDeployment": - fallthrough - case "UsageViewer": - fallthrough - case "EnvVariableManager": - fallthrough - case "EnvironmentManager": - fallthrough - case "V0Builder": - fallthrough - case "V0Chatter": - fallthrough - case "V0Viewer": - *e = InviteUserToTeamTeamPermission(v) - return nil - default: - return fmt.Errorf("invalid value for InviteUserToTeamTeamPermission: %v", v) - } -} - -// InviteUserToTeamResponseBody - The member was successfully added to the team -type InviteUserToTeamResponseBody struct { - // The ID of the invited user - UID string `json:"uid"` - // The username of the invited user - Username string `json:"username"` - // The email of the invited user. - Email string `json:"email"` - // The role used for the invitation - Role InviteUserToTeamRoleResponse `json:"role"` - // The team roles of the user - TeamRoles []InviteUserToTeamTeamRole `json:"teamRoles,omitempty"` - // The team permissions of the user - TeamPermissions []InviteUserToTeamTeamPermission `json:"teamPermissions,omitempty"` -} - -func (o *InviteUserToTeamResponseBody) GetUID() string { - if o == nil { - return "" - } - return o.UID -} - -func (o *InviteUserToTeamResponseBody) GetUsername() string { - if o == nil { - return "" - } - return o.Username -} - -func (o *InviteUserToTeamResponseBody) GetEmail() string { - if o == nil { - return "" - } - return o.Email -} - -func (o *InviteUserToTeamResponseBody) GetRole() InviteUserToTeamRoleResponse { - if o == nil { - return InviteUserToTeamRoleResponse("") - } - return o.Role -} - -func (o *InviteUserToTeamResponseBody) GetTeamRoles() []InviteUserToTeamTeamRole { - if o == nil { - return nil - } - return o.TeamRoles -} - -func (o *InviteUserToTeamResponseBody) GetTeamPermissions() []InviteUserToTeamTeamPermission { - if o == nil { - return nil - } - return o.TeamPermissions -} - type InviteUserToTeamResponse struct { - HTTPMeta components.HTTPMetadata `json:"-"` - // The member was successfully added to the team - Object *InviteUserToTeamResponseBody + HTTPMeta components.HTTPMetadata `json:"-"` + InvitedTeamMember *components.InvitedTeamMember } func (o *InviteUserToTeamResponse) GetHTTPMeta() components.HTTPMetadata { @@ -373,9 +157,9 @@ func (o *InviteUserToTeamResponse) GetHTTPMeta() components.HTTPMetadata { return o.HTTPMeta } -func (o *InviteUserToTeamResponse) GetObject() *InviteUserToTeamResponseBody { +func (o *InviteUserToTeamResponse) GetInvitedTeamMember() *components.InvitedTeamMember { if o == nil { return nil } - return o.Object + return o.InvitedTeamMember } diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/issuecert.go b/src/__tests__/mockserver/internal/sdk/models/operations/issuecert.go index fab803f2d..230d2a71a 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/issuecert.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/issuecert.go @@ -22,8 +22,8 @@ type IssueCertRequest struct { // The Team identifier to perform the request on behalf of. TeamID *string `queryParam:"style=form,explode=true,name=teamId"` // The Team slug to perform the request on behalf of. - Slug *string `queryParam:"style=form,explode=true,name=slug"` - RequestBody *IssueCertRequestBody `request:"mediaType=application/json"` + Slug *string `queryParam:"style=form,explode=true,name=slug"` + Body *IssueCertRequestBody `request:"mediaType=application/json"` } func (o *IssueCertRequest) GetTeamID() *string { @@ -40,11 +40,11 @@ func (o *IssueCertRequest) GetSlug() *string { return o.Slug } -func (o *IssueCertRequest) GetRequestBody() *IssueCertRequestBody { +func (o *IssueCertRequest) GetBody() *IssueCertRequestBody { if o == nil { return nil } - return o.RequestBody + return o.Body } type IssueCertResponseBody struct { diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/jointeam.go b/src/__tests__/mockserver/internal/sdk/models/operations/jointeam.go index 3f3f1d2c0..c6b85468f 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/jointeam.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/jointeam.go @@ -19,8 +19,8 @@ func (o *JoinTeamRequestBody) GetInviteCode() *string { } type JoinTeamRequest struct { - TeamID string `pathParam:"style=simple,explode=false,name=teamId"` - RequestBody JoinTeamRequestBody `request:"mediaType=application/json"` + TeamID string `pathParam:"style=simple,explode=false,name=teamId"` + Body JoinTeamRequestBody `request:"mediaType=application/json"` } func (o *JoinTeamRequest) GetTeamID() string { @@ -30,11 +30,11 @@ func (o *JoinTeamRequest) GetTeamID() string { return o.TeamID } -func (o *JoinTeamRequest) GetRequestBody() JoinTeamRequestBody { +func (o *JoinTeamRequest) GetBody() JoinTeamRequestBody { if o == nil { return JoinTeamRequestBody{} } - return o.RequestBody + return o.Body } // JoinTeamResponseBody - Successfully joined a team. diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/listsharedenvvariable.go b/src/__tests__/mockserver/internal/sdk/models/operations/listsharedenvvariable.go new file mode 100644 index 000000000..746cf7385 --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/operations/listsharedenvvariable.go @@ -0,0 +1,372 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package operations + +import ( + "encoding/json" + "fmt" + "mockserver/internal/sdk/models/components" + "mockserver/internal/sdk/utils" + "time" +) + +type ListSharedEnvVariableRequest struct { + Search *string `queryParam:"style=form,explode=true,name=search"` + // Filter SharedEnvVariables that belong to a project + ProjectID *string `queryParam:"style=form,explode=true,name=projectId"` + // Filter SharedEnvVariables based on comma separated ids + Ids *string `queryParam:"style=form,explode=true,name=ids"` + // Filter SharedEnvVariables based on comma separated ids + ExcludeIdsQueryParameter *string `queryParam:"style=form,explode=true,name=exclude_ids"` + // Filter SharedEnvVariables based on comma separated ids + ExcludeIdsQueryParameter1 *string `queryParam:"style=form,explode=true,name=exclude-ids"` + // Filter SharedEnvVariables that belong to a project + ExcludeProjectIDQueryParameter *string `queryParam:"style=form,explode=true,name=exclude_projectId"` + // Filter SharedEnvVariables that belong to a project + ExcludeProjectIDQueryParameter1 *string `queryParam:"style=form,explode=true,name=exclude-projectId"` + // The Team identifier to perform the request on behalf of. + TeamID *string `queryParam:"style=form,explode=true,name=teamId"` + // The Team slug to perform the request on behalf of. + Slug *string `queryParam:"style=form,explode=true,name=slug"` +} + +func (o *ListSharedEnvVariableRequest) GetSearch() *string { + if o == nil { + return nil + } + return o.Search +} + +func (o *ListSharedEnvVariableRequest) GetProjectID() *string { + if o == nil { + return nil + } + return o.ProjectID +} + +func (o *ListSharedEnvVariableRequest) GetIds() *string { + if o == nil { + return nil + } + return o.Ids +} + +func (o *ListSharedEnvVariableRequest) GetExcludeIdsQueryParameter() *string { + if o == nil { + return nil + } + return o.ExcludeIdsQueryParameter +} + +func (o *ListSharedEnvVariableRequest) GetExcludeIdsQueryParameter1() *string { + if o == nil { + return nil + } + return o.ExcludeIdsQueryParameter1 +} + +func (o *ListSharedEnvVariableRequest) GetExcludeProjectIDQueryParameter() *string { + if o == nil { + return nil + } + return o.ExcludeProjectIDQueryParameter +} + +func (o *ListSharedEnvVariableRequest) GetExcludeProjectIDQueryParameter1() *string { + if o == nil { + return nil + } + return o.ExcludeProjectIDQueryParameter1 +} + +func (o *ListSharedEnvVariableRequest) GetTeamID() *string { + if o == nil { + return nil + } + return o.TeamID +} + +func (o *ListSharedEnvVariableRequest) GetSlug() *string { + if o == nil { + return nil + } + return o.Slug +} + +// ListSharedEnvVariableType - The type of this cosmos doc instance, if blank, assume secret. +type ListSharedEnvVariableType string + +const ( + ListSharedEnvVariableTypeEncrypted ListSharedEnvVariableType = "encrypted" + ListSharedEnvVariableTypeSensitive ListSharedEnvVariableType = "sensitive" + ListSharedEnvVariableTypeSystem ListSharedEnvVariableType = "system" + ListSharedEnvVariableTypePlain ListSharedEnvVariableType = "plain" +) + +func (e ListSharedEnvVariableType) ToPointer() *ListSharedEnvVariableType { + return &e +} +func (e *ListSharedEnvVariableType) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "encrypted": + fallthrough + case "sensitive": + fallthrough + case "system": + fallthrough + case "plain": + *e = ListSharedEnvVariableType(v) + return nil + default: + return fmt.Errorf("invalid value for ListSharedEnvVariableType: %v", v) + } +} + +// ListSharedEnvVariableTarget - environments this env variable targets +type ListSharedEnvVariableTarget string + +const ( + ListSharedEnvVariableTargetProduction ListSharedEnvVariableTarget = "production" + ListSharedEnvVariableTargetPreview ListSharedEnvVariableTarget = "preview" + ListSharedEnvVariableTargetDevelopment ListSharedEnvVariableTarget = "development" +) + +func (e ListSharedEnvVariableTarget) ToPointer() *ListSharedEnvVariableTarget { + return &e +} +func (e *ListSharedEnvVariableTarget) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "production": + fallthrough + case "preview": + fallthrough + case "development": + *e = ListSharedEnvVariableTarget(v) + return nil + default: + return fmt.Errorf("invalid value for ListSharedEnvVariableTarget: %v", v) + } +} + +type Data struct { + // The date when the Shared Env Var was created. + Created *time.Time `json:"created,omitempty"` + // The name of the Shared Env Var. + Key *string `json:"key,omitempty"` + // The unique identifier of the owner (team) the Shared Env Var was created for. + OwnerID *string `json:"ownerId,omitempty"` + // The unique identifier of the Shared Env Var. + ID *string `json:"id,omitempty"` + // The unique identifier of the user who created the Shared Env Var. + CreatedBy *string `json:"createdBy,omitempty"` + // The unique identifier of the user who deleted the Shared Env Var. + DeletedBy *string `json:"deletedBy,omitempty"` + // The unique identifier of the user who last updated the Shared Env Var. + UpdatedBy *string `json:"updatedBy,omitempty"` + // Timestamp for when the Shared Env Var was created. + CreatedAt *float64 `json:"createdAt,omitempty"` + // Timestamp for when the Shared Env Var was (soft) deleted. + DeletedAt *float64 `json:"deletedAt,omitempty"` + // Timestamp for when the Shared Env Var was last updated. + UpdatedAt *float64 `json:"updatedAt,omitempty"` + // The value of the Shared Env Var. + Value *string `json:"value,omitempty"` + // The unique identifiers of the projects which the Shared Env Var is linked to. + ProjectID []string `json:"projectId,omitempty"` + // The type of this cosmos doc instance, if blank, assume secret. + Type *ListSharedEnvVariableType `json:"type,omitempty"` + // environments this env variable targets + Target []ListSharedEnvVariableTarget `json:"target,omitempty"` + // whether or not this env varible applies to custom environments + ApplyToAllCustomEnvironments *bool `json:"applyToAllCustomEnvironments,omitempty"` + // whether or not this env variable is decrypted + Decrypted *bool `json:"decrypted,omitempty"` + // A user provided comment that describes what this Shared Env Var is for. + Comment *string `json:"comment,omitempty"` + // The last editor full name or username. + LastEditedByDisplayName *string `json:"lastEditedByDisplayName,omitempty"` +} + +func (d Data) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(d, "", false) +} + +func (d *Data) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &d, "", false, nil); err != nil { + return err + } + return nil +} + +func (o *Data) GetCreated() *time.Time { + if o == nil { + return nil + } + return o.Created +} + +func (o *Data) GetKey() *string { + if o == nil { + return nil + } + return o.Key +} + +func (o *Data) GetOwnerID() *string { + if o == nil { + return nil + } + return o.OwnerID +} + +func (o *Data) GetID() *string { + if o == nil { + return nil + } + return o.ID +} + +func (o *Data) GetCreatedBy() *string { + if o == nil { + return nil + } + return o.CreatedBy +} + +func (o *Data) GetDeletedBy() *string { + if o == nil { + return nil + } + return o.DeletedBy +} + +func (o *Data) GetUpdatedBy() *string { + if o == nil { + return nil + } + return o.UpdatedBy +} + +func (o *Data) GetCreatedAt() *float64 { + if o == nil { + return nil + } + return o.CreatedAt +} + +func (o *Data) GetDeletedAt() *float64 { + if o == nil { + return nil + } + return o.DeletedAt +} + +func (o *Data) GetUpdatedAt() *float64 { + if o == nil { + return nil + } + return o.UpdatedAt +} + +func (o *Data) GetValue() *string { + if o == nil { + return nil + } + return o.Value +} + +func (o *Data) GetProjectID() []string { + if o == nil { + return nil + } + return o.ProjectID +} + +func (o *Data) GetType() *ListSharedEnvVariableType { + if o == nil { + return nil + } + return o.Type +} + +func (o *Data) GetTarget() []ListSharedEnvVariableTarget { + if o == nil { + return nil + } + return o.Target +} + +func (o *Data) GetApplyToAllCustomEnvironments() *bool { + if o == nil { + return nil + } + return o.ApplyToAllCustomEnvironments +} + +func (o *Data) GetDecrypted() *bool { + if o == nil { + return nil + } + return o.Decrypted +} + +func (o *Data) GetComment() *string { + if o == nil { + return nil + } + return o.Comment +} + +func (o *Data) GetLastEditedByDisplayName() *string { + if o == nil { + return nil + } + return o.LastEditedByDisplayName +} + +type ListSharedEnvVariableResponseBody struct { + Data []Data `json:"data"` + // 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 components.Pagination `json:"pagination"` +} + +func (o *ListSharedEnvVariableResponseBody) GetData() []Data { + if o == nil { + return []Data{} + } + return o.Data +} + +func (o *ListSharedEnvVariableResponseBody) GetPagination() components.Pagination { + if o == nil { + return components.Pagination{} + } + return o.Pagination +} + +type ListSharedEnvVariableResponse struct { + HTTPMeta components.HTTPMetadata `json:"-"` + Object *ListSharedEnvVariableResponseBody +} + +func (o *ListSharedEnvVariableResponse) GetHTTPMeta() components.HTTPMetadata { + if o == nil { + return components.HTTPMetadata{} + } + return o.HTTPMeta +} + +func (o *ListSharedEnvVariableResponse) GetObject() *ListSharedEnvVariableResponseBody { + if o == nil { + return nil + } + return o.Object +} diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/moveprojectdomain.go b/src/__tests__/mockserver/internal/sdk/models/operations/moveprojectdomain.go index 59b894f95..b1e30a120 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/moveprojectdomain.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/moveprojectdomain.go @@ -26,8 +26,8 @@ type MoveProjectDomainRequest struct { // The Team identifier to perform the request on behalf of. TeamID *string `queryParam:"style=form,explode=true,name=teamId"` // The Team slug to perform the request on behalf of. - Slug *string `queryParam:"style=form,explode=true,name=slug"` - RequestBody *MoveProjectDomainRequestBody `request:"mediaType=application/json"` + Slug *string `queryParam:"style=form,explode=true,name=slug"` + Body *MoveProjectDomainRequestBody `request:"mediaType=application/json"` } func (o *MoveProjectDomainRequest) GetIDOrName() string { @@ -58,11 +58,11 @@ func (o *MoveProjectDomainRequest) GetSlug() *string { return o.Slug } -func (o *MoveProjectDomainRequest) GetRequestBody() *MoveProjectDomainRequestBody { +func (o *MoveProjectDomainRequest) GetBody() *MoveProjectDomainRequestBody { if o == nil { return nil } - return o.RequestBody + return o.Body } // MoveProjectDomainVerification - 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`. diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/patchdomain.go b/src/__tests__/mockserver/internal/sdk/models/operations/patchdomain.go index eccd5c77d..11c676fe5 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/patchdomain.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/patchdomain.go @@ -44,9 +44,13 @@ func (o *PatchDomainRequestBody2) GetDestination() *string { // PatchDomainRequestBody1 - update type PatchDomainRequestBody1 struct { Op *string `json:"op,omitempty"` - // Specifies whether domain should be renewed. + // This field is deprecated. Please use PATCH /v1/registrar/domains/{domainName}/auto-renew instead. + // + // Deprecated: This will be removed in a future release, please migrate away from it as soon as possible. Renew *bool `json:"renew,omitempty"` - // The custom nameservers for this project. + // This field is deprecated. Please use PATCH /v1/registrar/domains/{domainName}/nameservers instead. + // + // Deprecated: This will be removed in a future release, please migrate away from it as soon as possible. CustomNameservers []string `json:"customNameservers,omitempty"` // Specifies whether this is a DNS zone that intends to use Vercel's nameservers. Zone *bool `json:"zone,omitempty"` @@ -159,8 +163,8 @@ type PatchDomainRequest struct { // The Team identifier to perform the request on behalf of. TeamID *string `queryParam:"style=form,explode=true,name=teamId"` // The Team slug to perform the request on behalf of. - Slug *string `queryParam:"style=form,explode=true,name=slug"` - RequestBody PatchDomainRequestBody `request:"mediaType=application/json"` + Slug *string `queryParam:"style=form,explode=true,name=slug"` + Body PatchDomainRequestBody `request:"mediaType=application/json"` } func (o *PatchDomainRequest) GetDomain() string { @@ -184,11 +188,11 @@ func (o *PatchDomainRequest) GetSlug() *string { return o.Slug } -func (o *PatchDomainRequest) GetRequestBody() PatchDomainRequestBody { +func (o *PatchDomainRequest) GetBody() PatchDomainRequestBody { if o == nil { return PatchDomainRequestBody{} } - return o.RequestBody + return o.Body } type PatchDomainResponseBody3 struct { diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/patchedgeconfigitems.go b/src/__tests__/mockserver/internal/sdk/models/operations/patchedgeconfigitems.go index 6eac270e4..67aef41a5 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/patchedgeconfigitems.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/patchedgeconfigitems.go @@ -575,8 +575,8 @@ type PatchEdgeConfigItemsRequest struct { // The Team identifier to perform the request on behalf of. TeamID *string `queryParam:"style=form,explode=true,name=teamId"` // The Team slug to perform the request on behalf of. - Slug *string `queryParam:"style=form,explode=true,name=slug"` - RequestBody *PatchEdgeConfigItemsRequestBody `request:"mediaType=application/json"` + Slug *string `queryParam:"style=form,explode=true,name=slug"` + Body *PatchEdgeConfigItemsRequestBody `request:"mediaType=application/json"` } func (o *PatchEdgeConfigItemsRequest) GetEdgeConfigID() string { @@ -600,11 +600,11 @@ func (o *PatchEdgeConfigItemsRequest) GetSlug() *string { return o.Slug } -func (o *PatchEdgeConfigItemsRequest) GetRequestBody() *PatchEdgeConfigItemsRequestBody { +func (o *PatchEdgeConfigItemsRequest) GetBody() *PatchEdgeConfigItemsRequestBody { if o == nil { return nil } - return o.RequestBody + return o.Body } type PatchEdgeConfigItemsResponseBody struct { diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/patchedgeconfigschema.go b/src/__tests__/mockserver/internal/sdk/models/operations/patchedgeconfigschema.go index 7869e9a76..51f407afe 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/patchedgeconfigschema.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/patchedgeconfigschema.go @@ -23,8 +23,8 @@ type PatchEdgeConfigSchemaRequest struct { // The Team identifier to perform the request on behalf of. TeamID *string `queryParam:"style=form,explode=true,name=teamId"` // The Team slug to perform the request on behalf of. - Slug *string `queryParam:"style=form,explode=true,name=slug"` - RequestBody PatchEdgeConfigSchemaRequestBody `request:"mediaType=application/json"` + Slug *string `queryParam:"style=form,explode=true,name=slug"` + Body PatchEdgeConfigSchemaRequestBody `request:"mediaType=application/json"` } func (o *PatchEdgeConfigSchemaRequest) GetEdgeConfigID() string { @@ -55,11 +55,11 @@ func (o *PatchEdgeConfigSchemaRequest) GetSlug() *string { return o.Slug } -func (o *PatchEdgeConfigSchemaRequest) GetRequestBody() PatchEdgeConfigSchemaRequestBody { +func (o *PatchEdgeConfigSchemaRequest) GetBody() PatchEdgeConfigSchemaRequestBody { if o == nil { return PatchEdgeConfigSchemaRequestBody{} } - return o.RequestBody + return o.Body } // PatchEdgeConfigSchemaResponseBody - The JSON schema uploaded by the user diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/patchteam.go b/src/__tests__/mockserver/internal/sdk/models/operations/patchteam.go index 5cc8b35a7..509189d66 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/patchteam.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/patchteam.go @@ -698,8 +698,8 @@ type PatchTeamRequest struct { // The Team identifier to perform the request on behalf of. TeamID string `pathParam:"style=simple,explode=false,name=teamId"` // The Team slug to perform the request on behalf of. - Slug *string `queryParam:"style=form,explode=true,name=slug"` - RequestBody PatchTeamRequestBody `request:"mediaType=application/json"` + Slug *string `queryParam:"style=form,explode=true,name=slug"` + Body PatchTeamRequestBody `request:"mediaType=application/json"` } func (o *PatchTeamRequest) GetTeamID() string { @@ -716,11 +716,11 @@ func (o *PatchTeamRequest) GetSlug() *string { return o.Slug } -func (o *PatchTeamRequest) GetRequestBody() PatchTeamRequestBody { +func (o *PatchTeamRequest) GetBody() PatchTeamRequestBody { if o == nil { return PatchTeamRequestBody{} } - return o.RequestBody + return o.Body } type PatchTeamResponse struct { diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/patchurlprotectionbypass.go b/src/__tests__/mockserver/internal/sdk/models/operations/patchurlprotectionbypass.go index d9ba942ff..f76cc6e87 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/patchurlprotectionbypass.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/patchurlprotectionbypass.go @@ -490,8 +490,8 @@ type PatchURLProtectionBypassRequest struct { // The Team identifier to perform the request on behalf of. TeamID *string `queryParam:"style=form,explode=true,name=teamId"` // The Team slug to perform the request on behalf of. - Slug *string `queryParam:"style=form,explode=true,name=slug"` - RequestBody *PatchURLProtectionBypassRequestBody `request:"mediaType=application/json"` + Slug *string `queryParam:"style=form,explode=true,name=slug"` + Body *PatchURLProtectionBypassRequestBody `request:"mediaType=application/json"` } func (o *PatchURLProtectionBypassRequest) GetID() string { @@ -515,11 +515,11 @@ func (o *PatchURLProtectionBypassRequest) GetSlug() *string { return o.Slug } -func (o *PatchURLProtectionBypassRequest) GetRequestBody() *PatchURLProtectionBypassRequestBody { +func (o *PatchURLProtectionBypassRequest) GetBody() *PatchURLProtectionBypassRequestBody { if o == nil { return nil } - return o.RequestBody + return o.Body } type PatchURLProtectionBypassResponse struct { diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/patchv1installationsintegrationconfigurationidresourcesresourceidexperimentationitemsitemid.go b/src/__tests__/mockserver/internal/sdk/models/operations/patchv1installationsintegrationconfigurationidresourcesresourceidexperimentationitemsitemid.go index 147f87e96..155889318 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/patchv1installationsintegrationconfigurationidresourcesresourceidexperimentationitemsitemid.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/patchv1installationsintegrationconfigurationidresourcesresourceidexperimentationitemsitemid.go @@ -105,7 +105,7 @@ type PatchV1InstallationsIntegrationConfigurationIDResourcesResourceIDExperiment IntegrationConfigurationID string `pathParam:"style=simple,explode=false,name=integrationConfigurationId"` ResourceID string `pathParam:"style=simple,explode=false,name=resourceId"` ItemID string `pathParam:"style=simple,explode=false,name=itemId"` - RequestBody *PatchV1InstallationsIntegrationConfigurationIDResourcesResourceIDExperimentationItemsItemIDRequestBody `request:"mediaType=application/json"` + Body *PatchV1InstallationsIntegrationConfigurationIDResourcesResourceIDExperimentationItemsItemIDRequestBody `request:"mediaType=application/json"` } func (o *PatchV1InstallationsIntegrationConfigurationIDResourcesResourceIDExperimentationItemsItemIDRequest) GetIntegrationConfigurationID() string { @@ -129,11 +129,11 @@ func (o *PatchV1InstallationsIntegrationConfigurationIDResourcesResourceIDExperi return o.ItemID } -func (o *PatchV1InstallationsIntegrationConfigurationIDResourcesResourceIDExperimentationItemsItemIDRequest) GetRequestBody() *PatchV1InstallationsIntegrationConfigurationIDResourcesResourceIDExperimentationItemsItemIDRequestBody { +func (o *PatchV1InstallationsIntegrationConfigurationIDResourcesResourceIDExperimentationItemsItemIDRequest) GetBody() *PatchV1InstallationsIntegrationConfigurationIDResourcesResourceIDExperimentationItemsItemIDRequestBody { if o == nil { return nil } - return o.RequestBody + return o.Body } type PatchV1InstallationsIntegrationConfigurationIDResourcesResourceIDExperimentationItemsItemIDResponse struct { diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/postv1installationsintegrationconfigurationidresourcesresourceidexperimentationitems.go b/src/__tests__/mockserver/internal/sdk/models/operations/postv1installationsintegrationconfigurationidresourcesresourceidexperimentationitems.go index e21abdf38..9d3195391 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/postv1installationsintegrationconfigurationidresourcesresourceidexperimentationitems.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/postv1installationsintegrationconfigurationidresourcesresourceidexperimentationitems.go @@ -123,7 +123,7 @@ func (o *PostV1InstallationsIntegrationConfigurationIDResourcesResourceIDExperim type PostV1InstallationsIntegrationConfigurationIDResourcesResourceIDExperimentationItemsRequest struct { IntegrationConfigurationID string `pathParam:"style=simple,explode=false,name=integrationConfigurationId"` ResourceID string `pathParam:"style=simple,explode=false,name=resourceId"` - RequestBody *PostV1InstallationsIntegrationConfigurationIDResourcesResourceIDExperimentationItemsRequestBody `request:"mediaType=application/json"` + Body *PostV1InstallationsIntegrationConfigurationIDResourcesResourceIDExperimentationItemsRequestBody `request:"mediaType=application/json"` } func (o *PostV1InstallationsIntegrationConfigurationIDResourcesResourceIDExperimentationItemsRequest) GetIntegrationConfigurationID() string { @@ -140,11 +140,11 @@ func (o *PostV1InstallationsIntegrationConfigurationIDResourcesResourceIDExperim return o.ResourceID } -func (o *PostV1InstallationsIntegrationConfigurationIDResourcesResourceIDExperimentationItemsRequest) GetRequestBody() *PostV1InstallationsIntegrationConfigurationIDResourcesResourceIDExperimentationItemsRequestBody { +func (o *PostV1InstallationsIntegrationConfigurationIDResourcesResourceIDExperimentationItemsRequest) GetBody() *PostV1InstallationsIntegrationConfigurationIDResourcesResourceIDExperimentationItemsRequestBody { if o == nil { return nil } - return o.RequestBody + return o.Body } type PostV1InstallationsIntegrationConfigurationIDResourcesResourceIDExperimentationItemsResponse struct { diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/putfirewallconfig.go b/src/__tests__/mockserver/internal/sdk/models/operations/putfirewallconfig.go index 895b8da09..7c8345bf9 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/putfirewallconfig.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/putfirewallconfig.go @@ -1517,8 +1517,8 @@ type PutFirewallConfigRequest struct { // The Team identifier to perform the request on behalf of. TeamID *string `queryParam:"style=form,explode=true,name=teamId"` // The Team slug to perform the request on behalf of. - Slug *string `queryParam:"style=form,explode=true,name=slug"` - RequestBody PutFirewallConfigRequestBody `request:"mediaType=application/json"` + Slug *string `queryParam:"style=form,explode=true,name=slug"` + Body PutFirewallConfigRequestBody `request:"mediaType=application/json"` } func (o *PutFirewallConfigRequest) GetProjectID() string { @@ -1542,11 +1542,11 @@ func (o *PutFirewallConfigRequest) GetSlug() *string { return o.Slug } -func (o *PutFirewallConfigRequest) GetRequestBody() PutFirewallConfigRequestBody { +func (o *PutFirewallConfigRequest) GetBody() PutFirewallConfigRequestBody { if o == nil { return PutFirewallConfigRequestBody{} } - return o.RequestBody + return o.Body } type ActiveSdAction string diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/putv1installationsintegrationconfigurationidresourcesresourceidexperimentationedgeconfig.go b/src/__tests__/mockserver/internal/sdk/models/operations/putv1installationsintegrationconfigurationidresourcesresourceidexperimentationedgeconfig.go index 0b525b66b..138e05139 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/putv1installationsintegrationconfigurationidresourcesresourceidexperimentationedgeconfig.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/putv1installationsintegrationconfigurationidresourcesresourceidexperimentationedgeconfig.go @@ -3,6 +3,8 @@ package operations import ( + "encoding/json" + "fmt" "mockserver/internal/sdk/models/components" ) @@ -20,7 +22,7 @@ func (o *PutV1InstallationsIntegrationConfigurationIDResourcesResourceIDExperime type PutV1InstallationsIntegrationConfigurationIDResourcesResourceIDExperimentationEdgeConfigRequest struct { IntegrationConfigurationID string `pathParam:"style=simple,explode=false,name=integrationConfigurationId"` ResourceID string `pathParam:"style=simple,explode=false,name=resourceId"` - RequestBody *PutV1InstallationsIntegrationConfigurationIDResourcesResourceIDExperimentationEdgeConfigRequestBody `request:"mediaType=application/json"` + Body *PutV1InstallationsIntegrationConfigurationIDResourcesResourceIDExperimentationEdgeConfigRequestBody `request:"mediaType=application/json"` } func (o *PutV1InstallationsIntegrationConfigurationIDResourcesResourceIDExperimentationEdgeConfigRequest) GetIntegrationConfigurationID() string { @@ -37,18 +39,45 @@ func (o *PutV1InstallationsIntegrationConfigurationIDResourcesResourceIDExperime return o.ResourceID } -func (o *PutV1InstallationsIntegrationConfigurationIDResourcesResourceIDExperimentationEdgeConfigRequest) GetRequestBody() *PutV1InstallationsIntegrationConfigurationIDResourcesResourceIDExperimentationEdgeConfigRequestBody { +func (o *PutV1InstallationsIntegrationConfigurationIDResourcesResourceIDExperimentationEdgeConfigRequest) GetBody() *PutV1InstallationsIntegrationConfigurationIDResourcesResourceIDExperimentationEdgeConfigRequestBody { if o == nil { return nil } - return o.RequestBody + return o.Body +} + +type PutV1InstallationsIntegrationConfigurationIDResourcesResourceIDExperimentationEdgeConfigPurpose string + +const ( + PutV1InstallationsIntegrationConfigurationIDResourcesResourceIDExperimentationEdgeConfigPurposeFlags PutV1InstallationsIntegrationConfigurationIDResourcesResourceIDExperimentationEdgeConfigPurpose = "flags" + PutV1InstallationsIntegrationConfigurationIDResourcesResourceIDExperimentationEdgeConfigPurposeExperimentation PutV1InstallationsIntegrationConfigurationIDResourcesResourceIDExperimentationEdgeConfigPurpose = "experimentation" +) + +func (e PutV1InstallationsIntegrationConfigurationIDResourcesResourceIDExperimentationEdgeConfigPurpose) ToPointer() *PutV1InstallationsIntegrationConfigurationIDResourcesResourceIDExperimentationEdgeConfigPurpose { + return &e +} +func (e *PutV1InstallationsIntegrationConfigurationIDResourcesResourceIDExperimentationEdgeConfigPurpose) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "flags": + fallthrough + case "experimentation": + *e = PutV1InstallationsIntegrationConfigurationIDResourcesResourceIDExperimentationEdgeConfigPurpose(v) + return nil + default: + return fmt.Errorf("invalid value for PutV1InstallationsIntegrationConfigurationIDResourcesResourceIDExperimentationEdgeConfigPurpose: %v", v) + } } // PutV1InstallationsIntegrationConfigurationIDResourcesResourceIDExperimentationEdgeConfigResponseBody - The Edge Config was updated type PutV1InstallationsIntegrationConfigurationIDResourcesResourceIDExperimentationEdgeConfigResponseBody struct { - Items map[string]*components.EdgeConfigItemValue `json:"items"` - UpdatedAt float64 `json:"updatedAt"` - Digest string `json:"digest"` + Items map[string]*components.EdgeConfigItemValue `json:"items"` + UpdatedAt float64 `json:"updatedAt"` + Digest string `json:"digest"` + Purpose *PutV1InstallationsIntegrationConfigurationIDResourcesResourceIDExperimentationEdgeConfigPurpose `json:"purpose,omitempty"` } func (o *PutV1InstallationsIntegrationConfigurationIDResourcesResourceIDExperimentationEdgeConfigResponseBody) GetItems() map[string]*components.EdgeConfigItemValue { @@ -72,6 +101,13 @@ func (o *PutV1InstallationsIntegrationConfigurationIDResourcesResourceIDExperime return o.Digest } +func (o *PutV1InstallationsIntegrationConfigurationIDResourcesResourceIDExperimentationEdgeConfigResponseBody) GetPurpose() *PutV1InstallationsIntegrationConfigurationIDResourcesResourceIDExperimentationEdgeConfigPurpose { + if o == nil { + return nil + } + return o.Purpose +} + type PutV1InstallationsIntegrationConfigurationIDResourcesResourceIDExperimentationEdgeConfigResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // The Edge Config was updated diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/recordevents.go b/src/__tests__/mockserver/internal/sdk/models/operations/recordevents.go index 83b9d2db2..2a9e09919 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/recordevents.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/recordevents.go @@ -118,8 +118,8 @@ type RecordEventsRequest struct { // The Team identifier to perform the request on behalf of. TeamID *string `queryParam:"style=form,explode=true,name=teamId"` // The Team slug to perform the request on behalf of. - Slug *string `queryParam:"style=form,explode=true,name=slug"` - RequestBody []RecordEventsRequestBody `request:"mediaType=application/json"` + Slug *string `queryParam:"style=form,explode=true,name=slug"` + Body []RecordEventsRequestBody `request:"mediaType=application/json"` } func (o *RecordEventsRequest) GetXArtifactClientCi() *string { @@ -150,11 +150,11 @@ func (o *RecordEventsRequest) GetSlug() *string { return o.Slug } -func (o *RecordEventsRequest) GetRequestBody() []RecordEventsRequestBody { +func (o *RecordEventsRequest) GetBody() []RecordEventsRequestBody { if o == nil { return []RecordEventsRequestBody{} } - return o.RequestBody + return o.Body } type RecordEventsResponse struct { diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/removebypassip.go b/src/__tests__/mockserver/internal/sdk/models/operations/removebypassip.go index b65357e8f..dc5dbd401 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/removebypassip.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/removebypassip.go @@ -185,8 +185,8 @@ type RemoveBypassIPRequest struct { // The Team identifier to perform the request on behalf of. TeamID *string `queryParam:"style=form,explode=true,name=teamId"` // The Team slug to perform the request on behalf of. - Slug *string `queryParam:"style=form,explode=true,name=slug"` - RequestBody *RemoveBypassIPRequestBody `request:"mediaType=application/json"` + Slug *string `queryParam:"style=form,explode=true,name=slug"` + Body *RemoveBypassIPRequestBody `request:"mediaType=application/json"` } func (o *RemoveBypassIPRequest) GetProjectID() string { @@ -210,11 +210,11 @@ func (o *RemoveBypassIPRequest) GetSlug() *string { return o.Slug } -func (o *RemoveBypassIPRequest) GetRequestBody() *RemoveBypassIPRequestBody { +func (o *RemoveBypassIPRequest) GetBody() *RemoveBypassIPRequestBody { if o == nil { return nil } - return o.RequestBody + return o.Body } type RemoveBypassIPResponseBody struct { diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/removecustomenvironment.go b/src/__tests__/mockserver/internal/sdk/models/operations/removecustomenvironment.go index f92fbd677..f49a06d00 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/removecustomenvironment.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/removecustomenvironment.go @@ -28,8 +28,8 @@ type RemoveCustomEnvironmentRequest struct { // The Team identifier to perform the request on behalf of. TeamID *string `queryParam:"style=form,explode=true,name=teamId"` // The Team slug to perform the request on behalf of. - Slug *string `queryParam:"style=form,explode=true,name=slug"` - RequestBody *RemoveCustomEnvironmentRequestBody `request:"mediaType=application/json"` + Slug *string `queryParam:"style=form,explode=true,name=slug"` + Body *RemoveCustomEnvironmentRequestBody `request:"mediaType=application/json"` } func (o *RemoveCustomEnvironmentRequest) GetIDOrName() string { @@ -60,11 +60,11 @@ func (o *RemoveCustomEnvironmentRequest) GetSlug() *string { return o.Slug } -func (o *RemoveCustomEnvironmentRequest) GetRequestBody() *RemoveCustomEnvironmentRequestBody { +func (o *RemoveCustomEnvironmentRequest) GetBody() *RemoveCustomEnvironmentRequestBody { if o == nil { return nil } - return o.RequestBody + return o.Body } // RemoveCustomEnvironmentType - The type of environment (production, preview, or development) diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/removeprojectdomain.go b/src/__tests__/mockserver/internal/sdk/models/operations/removeprojectdomain.go index 540724f27..b253e589d 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/removeprojectdomain.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/removeprojectdomain.go @@ -26,8 +26,8 @@ type RemoveProjectDomainRequest struct { // The Team identifier to perform the request on behalf of. TeamID *string `queryParam:"style=form,explode=true,name=teamId"` // The Team slug to perform the request on behalf of. - Slug *string `queryParam:"style=form,explode=true,name=slug"` - RequestBody *RemoveProjectDomainRequestBody `request:"mediaType=application/json"` + Slug *string `queryParam:"style=form,explode=true,name=slug"` + Body *RemoveProjectDomainRequestBody `request:"mediaType=application/json"` } func (o *RemoveProjectDomainRequest) GetIDOrName() string { @@ -58,11 +58,11 @@ func (o *RemoveProjectDomainRequest) GetSlug() *string { return o.Slug } -func (o *RemoveProjectDomainRequest) GetRequestBody() *RemoveProjectDomainRequestBody { +func (o *RemoveProjectDomainRequest) GetBody() *RemoveProjectDomainRequestBody { if o == nil { return nil } - return o.RequestBody + return o.Body } // RemoveProjectDomainResponseBody - The domain was succesfully removed from the project diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/renewdomain.go b/src/__tests__/mockserver/internal/sdk/models/operations/renewdomain.go new file mode 100644 index 000000000..92771e1fa --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/operations/renewdomain.go @@ -0,0 +1,270 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package operations + +import ( + "encoding/json" + "fmt" + "mockserver/internal/sdk/models/components" +) + +type RenewDomainContactInformation struct { + // a non empty string + FirstName string `json:"firstName"` + // a non empty string + LastName string `json:"lastName"` + // a non empty string + Email string `json:"email"` + // A valid E.164 phone number + Phone string `json:"phone"` + // a non empty string + Address1 string `json:"address1"` + // a non empty string + Address2 *string `json:"address2,omitempty"` + // a non empty string + City string `json:"city"` + // a non empty string + State string `json:"state"` + // a non empty string + Zip string `json:"zip"` + // A valid ISO 3166-1 alpha-2 country code + Country string `json:"country"` + // a non empty string + CompanyName *string `json:"companyName,omitempty"` + // A valid E.164 phone number + Fax *string `json:"fax,omitempty"` +} + +func (o *RenewDomainContactInformation) GetFirstName() string { + if o == nil { + return "" + } + return o.FirstName +} + +func (o *RenewDomainContactInformation) GetLastName() string { + if o == nil { + return "" + } + return o.LastName +} + +func (o *RenewDomainContactInformation) GetEmail() string { + if o == nil { + return "" + } + return o.Email +} + +func (o *RenewDomainContactInformation) GetPhone() string { + if o == nil { + return "" + } + return o.Phone +} + +func (o *RenewDomainContactInformation) GetAddress1() string { + if o == nil { + return "" + } + return o.Address1 +} + +func (o *RenewDomainContactInformation) GetAddress2() *string { + if o == nil { + return nil + } + return o.Address2 +} + +func (o *RenewDomainContactInformation) GetCity() string { + if o == nil { + return "" + } + return o.City +} + +func (o *RenewDomainContactInformation) GetState() string { + if o == nil { + return "" + } + return o.State +} + +func (o *RenewDomainContactInformation) GetZip() string { + if o == nil { + return "" + } + return o.Zip +} + +func (o *RenewDomainContactInformation) GetCountry() string { + if o == nil { + return "" + } + return o.Country +} + +func (o *RenewDomainContactInformation) GetCompanyName() *string { + if o == nil { + return nil + } + return o.CompanyName +} + +func (o *RenewDomainContactInformation) GetFax() *string { + if o == nil { + return nil + } + return o.Fax +} + +type RenewDomainRequestBody struct { + // The number of years to renew the domain for. + Years float64 `json:"years"` + // The expected price for the domain. Use the [Get price data for a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/get-price-data-for-a-domain) endpoint to retrieve the price data for a domain. + ExpectedPrice float64 `json:"expectedPrice"` + ContactInformation *RenewDomainContactInformation `json:"contactInformation,omitempty"` +} + +func (o *RenewDomainRequestBody) GetYears() float64 { + if o == nil { + return 0.0 + } + return o.Years +} + +func (o *RenewDomainRequestBody) GetExpectedPrice() float64 { + if o == nil { + return 0.0 + } + return o.ExpectedPrice +} + +func (o *RenewDomainRequestBody) GetContactInformation() *RenewDomainContactInformation { + if o == nil { + return nil + } + return o.ContactInformation +} + +type RenewDomainRequest struct { + Domain string `pathParam:"style=simple,explode=false,name=domain"` + TeamID *string `queryParam:"style=form,explode=true,name=teamId"` + Body RenewDomainRequestBody `request:"mediaType=application/json"` +} + +func (o *RenewDomainRequest) GetDomain() string { + if o == nil { + return "" + } + return o.Domain +} + +func (o *RenewDomainRequest) GetTeamID() *string { + if o == nil { + return nil + } + return o.TeamID +} + +func (o *RenewDomainRequest) GetBody() RenewDomainRequestBody { + if o == nil { + return RenewDomainRequestBody{} + } + return o.Body +} + +type RenewDomainMethod string + +const ( + RenewDomainMethodGet RenewDomainMethod = "GET" + RenewDomainMethodPost RenewDomainMethod = "POST" + RenewDomainMethodPut RenewDomainMethod = "PUT" + RenewDomainMethodDelete RenewDomainMethod = "DELETE" + RenewDomainMethodPatch RenewDomainMethod = "PATCH" +) + +func (e RenewDomainMethod) ToPointer() *RenewDomainMethod { + return &e +} +func (e *RenewDomainMethod) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "GET": + fallthrough + case "POST": + fallthrough + case "PUT": + fallthrough + case "DELETE": + fallthrough + case "PATCH": + *e = RenewDomainMethod(v) + return nil + default: + return fmt.Errorf("invalid value for RenewDomainMethod: %v", v) + } +} + +type RenewDomainLinks struct { + Href string `json:"href"` + Method RenewDomainMethod `json:"method"` +} + +func (o *RenewDomainLinks) GetHref() string { + if o == nil { + return "" + } + return o.Href +} + +func (o *RenewDomainLinks) GetMethod() RenewDomainMethod { + if o == nil { + return RenewDomainMethod("") + } + return o.Method +} + +// RenewDomainResponseBody - Success +type RenewDomainResponseBody struct { + OrderID string `json:"orderId"` + Links map[string]RenewDomainLinks `json:"_links"` +} + +func (o *RenewDomainResponseBody) GetOrderID() string { + if o == nil { + return "" + } + return o.OrderID +} + +func (o *RenewDomainResponseBody) GetLinks() map[string]RenewDomainLinks { + if o == nil { + return map[string]RenewDomainLinks{} + } + return o.Links +} + +type RenewDomainResponse struct { + HTTPMeta components.HTTPMetadata `json:"-"` + // Success + Object *RenewDomainResponseBody +} + +func (o *RenewDomainResponse) GetHTTPMeta() components.HTTPMetadata { + if o == nil { + return components.HTTPMetadata{} + } + return o.HTTPMeta +} + +func (o *RenewDomainResponse) GetObject() *RenewDomainResponseBody { + if o == nil { + return nil + } + return o.Object +} diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/requestaccesstoteam.go b/src/__tests__/mockserver/internal/sdk/models/operations/requestaccesstoteam.go index 5531770f6..3a1d02fa5 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/requestaccesstoteam.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/requestaccesstoteam.go @@ -185,8 +185,8 @@ func (o *RequestAccessToTeamRequestBody) GetJoinedFrom() RequestAccessToTeamJoin } type RequestAccessToTeamRequest struct { - TeamID string `pathParam:"style=simple,explode=false,name=teamId"` - RequestBody RequestAccessToTeamRequestBody `request:"mediaType=application/json"` + TeamID string `pathParam:"style=simple,explode=false,name=teamId"` + Body RequestAccessToTeamRequestBody `request:"mediaType=application/json"` } func (o *RequestAccessToTeamRequest) GetTeamID() string { @@ -196,11 +196,11 @@ func (o *RequestAccessToTeamRequest) GetTeamID() string { return o.TeamID } -func (o *RequestAccessToTeamRequest) GetRequestBody() RequestAccessToTeamRequestBody { +func (o *RequestAccessToTeamRequest) GetBody() RequestAccessToTeamRequestBody { if o == nil { return RequestAccessToTeamRequestBody{} } - return o.RequestBody + return o.Body } type RequestAccessToTeamOriginResponse string diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/submitbillingdata.go b/src/__tests__/mockserver/internal/sdk/models/operations/submitbillingdata.go index 62b4af0cf..6a63e3102 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/submitbillingdata.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/submitbillingdata.go @@ -577,7 +577,7 @@ func (o *SubmitBillingDataRequestBody) GetUsage() []Usage { type SubmitBillingDataRequest struct { IntegrationConfigurationID string `pathParam:"style=simple,explode=false,name=integrationConfigurationId"` - RequestBody SubmitBillingDataRequestBody `request:"mediaType=application/json"` + Body SubmitBillingDataRequestBody `request:"mediaType=application/json"` } func (o *SubmitBillingDataRequest) GetIntegrationConfigurationID() string { @@ -587,11 +587,11 @@ func (o *SubmitBillingDataRequest) GetIntegrationConfigurationID() string { return o.IntegrationConfigurationID } -func (o *SubmitBillingDataRequest) GetRequestBody() SubmitBillingDataRequestBody { +func (o *SubmitBillingDataRequest) GetBody() SubmitBillingDataRequestBody { if o == nil { return SubmitBillingDataRequestBody{} } - return o.RequestBody + return o.Body } type SubmitBillingDataResponse struct { diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/submitinvoice.go b/src/__tests__/mockserver/internal/sdk/models/operations/submitinvoice.go index 1dcf28eb4..5b1804a72 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/submitinvoice.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/submitinvoice.go @@ -338,7 +338,7 @@ func (o *SubmitInvoiceRequestBody) GetTest() *Test { type SubmitInvoiceRequest struct { IntegrationConfigurationID string `pathParam:"style=simple,explode=false,name=integrationConfigurationId"` - RequestBody SubmitInvoiceRequestBody `request:"mediaType=application/json"` + Body SubmitInvoiceRequestBody `request:"mediaType=application/json"` } func (o *SubmitInvoiceRequest) GetIntegrationConfigurationID() string { @@ -348,11 +348,11 @@ func (o *SubmitInvoiceRequest) GetIntegrationConfigurationID() string { return o.IntegrationConfigurationID } -func (o *SubmitInvoiceRequest) GetRequestBody() SubmitInvoiceRequestBody { +func (o *SubmitInvoiceRequest) GetBody() SubmitInvoiceRequestBody { if o == nil { return SubmitInvoiceRequestBody{} } - return o.RequestBody + return o.Body } type SubmitInvoiceResponseBody struct { diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/submitprepaymentbalances.go b/src/__tests__/mockserver/internal/sdk/models/operations/submitprepaymentbalances.go index 880000135..882f794b9 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/submitprepaymentbalances.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/submitprepaymentbalances.go @@ -81,7 +81,7 @@ func (o *SubmitPrepaymentBalancesRequestBody) GetBalances() []Balance { type SubmitPrepaymentBalancesRequest struct { IntegrationConfigurationID string `pathParam:"style=simple,explode=false,name=integrationConfigurationId"` - RequestBody *SubmitPrepaymentBalancesRequestBody `request:"mediaType=application/json"` + Body *SubmitPrepaymentBalancesRequestBody `request:"mediaType=application/json"` } func (o *SubmitPrepaymentBalancesRequest) GetIntegrationConfigurationID() string { @@ -91,11 +91,11 @@ func (o *SubmitPrepaymentBalancesRequest) GetIntegrationConfigurationID() string return o.IntegrationConfigurationID } -func (o *SubmitPrepaymentBalancesRequest) GetRequestBody() *SubmitPrepaymentBalancesRequestBody { +func (o *SubmitPrepaymentBalancesRequest) GetBody() *SubmitPrepaymentBalancesRequestBody { if o == nil { return nil } - return o.RequestBody + return o.Body } type SubmitPrepaymentBalancesResponse struct { diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/testdrain.go b/src/__tests__/mockserver/internal/sdk/models/operations/testdrain.go new file mode 100644 index 000000000..e45cf21a3 --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/operations/testdrain.go @@ -0,0 +1,524 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package operations + +import ( + "encoding/json" + "errors" + "fmt" + "mockserver/internal/sdk/models/components" + "mockserver/internal/sdk/utils" +) + +type TestDrainSchemas struct { + Version string `json:"version"` +} + +func (o *TestDrainSchemas) GetVersion() string { + if o == nil { + return "" + } + return o.Version +} + +type TestDrainEndpoint struct { + Traces string `json:"traces"` +} + +func (t TestDrainEndpoint) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(t, "", false) +} + +func (t *TestDrainEndpoint) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &t, "", false, []string{"traces"}); err != nil { + return err + } + return nil +} + +func (o *TestDrainEndpoint) GetTraces() string { + if o == nil { + return "" + } + return o.Traces +} + +type TestDrainEndpointUnionType string + +const ( + TestDrainEndpointUnionTypeTestDrainEndpoint TestDrainEndpointUnionType = "testDrain_endpoint" +) + +type TestDrainEndpointUnion struct { + TestDrainEndpoint *TestDrainEndpoint `queryParam:"inline"` + + Type TestDrainEndpointUnionType +} + +func CreateTestDrainEndpointUnionTestDrainEndpoint(testDrainEndpoint TestDrainEndpoint) TestDrainEndpointUnion { + typ := TestDrainEndpointUnionTypeTestDrainEndpoint + + return TestDrainEndpointUnion{ + TestDrainEndpoint: &testDrainEndpoint, + Type: typ, + } +} + +func (u *TestDrainEndpointUnion) UnmarshalJSON(data []byte) error { + + var testDrainEndpoint TestDrainEndpoint = TestDrainEndpoint{} + if err := utils.UnmarshalJSON(data, &testDrainEndpoint, "", true, nil); err == nil { + u.TestDrainEndpoint = &testDrainEndpoint + u.Type = TestDrainEndpointUnionTypeTestDrainEndpoint + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for TestDrainEndpointUnion", string(data)) +} + +func (u TestDrainEndpointUnion) MarshalJSON() ([]byte, error) { + if u.TestDrainEndpoint != nil { + return utils.MarshalJSON(u.TestDrainEndpoint, "", true) + } + + return nil, errors.New("could not marshal union type TestDrainEndpointUnion: all fields are null") +} + +type TestDrainEncoding2 string + +const ( + TestDrainEncoding2Proto TestDrainEncoding2 = "proto" + TestDrainEncoding2JSON TestDrainEncoding2 = "json" +) + +func (e TestDrainEncoding2) ToPointer() *TestDrainEncoding2 { + return &e +} +func (e *TestDrainEncoding2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "proto": + fallthrough + case "json": + *e = TestDrainEncoding2(v) + return nil + default: + return fmt.Errorf("invalid value for TestDrainEncoding2: %v", v) + } +} + +type TestDrainDelivery2 struct { + Type string `json:"type"` + Endpoint TestDrainEndpointUnion `json:"endpoint"` + Encoding TestDrainEncoding2 `json:"encoding"` + Headers map[string]string `json:"headers"` + Secret *string `json:"secret,omitempty"` +} + +func (t TestDrainDelivery2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(t, "", false) +} + +func (t *TestDrainDelivery2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &t, "", false, []string{"type", "endpoint", "encoding", "headers"}); err != nil { + return err + } + return nil +} + +func (o *TestDrainDelivery2) GetType() string { + if o == nil { + return "" + } + return o.Type +} + +func (o *TestDrainDelivery2) GetEndpoint() TestDrainEndpointUnion { + if o == nil { + return TestDrainEndpointUnion{} + } + return o.Endpoint +} + +func (o *TestDrainDelivery2) GetEncoding() TestDrainEncoding2 { + if o == nil { + return TestDrainEncoding2("") + } + return o.Encoding +} + +func (o *TestDrainDelivery2) GetHeaders() map[string]string { + if o == nil { + return map[string]string{} + } + return o.Headers +} + +func (o *TestDrainDelivery2) GetSecret() *string { + if o == nil { + return nil + } + return o.Secret +} + +type TestDrainCompression string + +const ( + TestDrainCompressionGzip TestDrainCompression = "gzip" + TestDrainCompressionNone TestDrainCompression = "none" +) + +func (e TestDrainCompression) ToPointer() *TestDrainCompression { + return &e +} +func (e *TestDrainCompression) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "gzip": + fallthrough + case "none": + *e = TestDrainCompression(v) + return nil + default: + return fmt.Errorf("invalid value for TestDrainCompression: %v", v) + } +} + +type TestDrainEncoding1 string + +const ( + TestDrainEncoding1JSON TestDrainEncoding1 = "json" + TestDrainEncoding1Ndjson TestDrainEncoding1 = "ndjson" +) + +func (e TestDrainEncoding1) ToPointer() *TestDrainEncoding1 { + return &e +} +func (e *TestDrainEncoding1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "json": + fallthrough + case "ndjson": + *e = TestDrainEncoding1(v) + return nil + default: + return fmt.Errorf("invalid value for TestDrainEncoding1: %v", v) + } +} + +type TestDrainDelivery1 struct { + Type string `json:"type"` + Endpoint string `json:"endpoint"` + Compression *TestDrainCompression `json:"compression,omitempty"` + Encoding TestDrainEncoding1 `json:"encoding"` + Headers map[string]string `json:"headers"` + Secret *string `json:"secret,omitempty"` +} + +func (t TestDrainDelivery1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(t, "", false) +} + +func (t *TestDrainDelivery1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &t, "", false, []string{"type", "endpoint", "encoding", "headers"}); err != nil { + return err + } + return nil +} + +func (o *TestDrainDelivery1) GetType() string { + if o == nil { + return "" + } + return o.Type +} + +func (o *TestDrainDelivery1) GetEndpoint() string { + if o == nil { + return "" + } + return o.Endpoint +} + +func (o *TestDrainDelivery1) GetCompression() *TestDrainCompression { + if o == nil { + return nil + } + return o.Compression +} + +func (o *TestDrainDelivery1) GetEncoding() TestDrainEncoding1 { + if o == nil { + return TestDrainEncoding1("") + } + return o.Encoding +} + +func (o *TestDrainDelivery1) GetHeaders() map[string]string { + if o == nil { + return map[string]string{} + } + return o.Headers +} + +func (o *TestDrainDelivery1) GetSecret() *string { + if o == nil { + return nil + } + return o.Secret +} + +type TestDrainDeliveryUnionType string + +const ( + TestDrainDeliveryUnionTypeTestDrainDelivery1 TestDrainDeliveryUnionType = "testDrain_delivery_1" + TestDrainDeliveryUnionTypeTestDrainDelivery2 TestDrainDeliveryUnionType = "testDrain_delivery_2" +) + +type TestDrainDeliveryUnion struct { + TestDrainDelivery1 *TestDrainDelivery1 `queryParam:"inline"` + TestDrainDelivery2 *TestDrainDelivery2 `queryParam:"inline"` + + Type TestDrainDeliveryUnionType +} + +func CreateTestDrainDeliveryUnionTestDrainDelivery1(testDrainDelivery1 TestDrainDelivery1) TestDrainDeliveryUnion { + typ := TestDrainDeliveryUnionTypeTestDrainDelivery1 + + return TestDrainDeliveryUnion{ + TestDrainDelivery1: &testDrainDelivery1, + Type: typ, + } +} + +func CreateTestDrainDeliveryUnionTestDrainDelivery2(testDrainDelivery2 TestDrainDelivery2) TestDrainDeliveryUnion { + typ := TestDrainDeliveryUnionTypeTestDrainDelivery2 + + return TestDrainDeliveryUnion{ + TestDrainDelivery2: &testDrainDelivery2, + Type: typ, + } +} + +func (u *TestDrainDeliveryUnion) UnmarshalJSON(data []byte) error { + + var testDrainDelivery1 TestDrainDelivery1 = TestDrainDelivery1{} + if err := utils.UnmarshalJSON(data, &testDrainDelivery1, "", true, nil); err == nil { + u.TestDrainDelivery1 = &testDrainDelivery1 + u.Type = TestDrainDeliveryUnionTypeTestDrainDelivery1 + return nil + } + + var testDrainDelivery2 TestDrainDelivery2 = TestDrainDelivery2{} + if err := utils.UnmarshalJSON(data, &testDrainDelivery2, "", true, nil); err == nil { + u.TestDrainDelivery2 = &testDrainDelivery2 + u.Type = TestDrainDeliveryUnionTypeTestDrainDelivery2 + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for TestDrainDeliveryUnion", string(data)) +} + +func (u TestDrainDeliveryUnion) MarshalJSON() ([]byte, error) { + if u.TestDrainDelivery1 != nil { + return utils.MarshalJSON(u.TestDrainDelivery1, "", true) + } + + if u.TestDrainDelivery2 != nil { + return utils.MarshalJSON(u.TestDrainDelivery2, "", true) + } + + return nil, errors.New("could not marshal union type TestDrainDeliveryUnion: all fields are null") +} + +type TestDrainRequestBody struct { + Schemas map[string]TestDrainSchemas `json:"schemas"` + Delivery TestDrainDeliveryUnion `json:"delivery"` +} + +func (o *TestDrainRequestBody) GetSchemas() map[string]TestDrainSchemas { + if o == nil { + return map[string]TestDrainSchemas{} + } + return o.Schemas +} + +func (o *TestDrainRequestBody) GetDelivery() TestDrainDeliveryUnion { + if o == nil { + return TestDrainDeliveryUnion{} + } + return o.Delivery +} + +type TestDrainRequest struct { + // The Team identifier to perform the request on behalf of. + TeamID *string `queryParam:"style=form,explode=true,name=teamId"` + // The Team slug to perform the request on behalf of. + Slug *string `queryParam:"style=form,explode=true,name=slug"` + Body *TestDrainRequestBody `request:"mediaType=application/json"` +} + +func (o *TestDrainRequest) GetTeamID() *string { + if o == nil { + return nil + } + return o.TeamID +} + +func (o *TestDrainRequest) GetSlug() *string { + if o == nil { + return nil + } + return o.Slug +} + +func (o *TestDrainRequest) GetBody() *TestDrainRequestBody { + if o == nil { + return nil + } + return o.Body +} + +type TestDrainResponseBody2 struct { + Status string `json:"status"` + Error string `json:"error"` + Endpoint string `json:"endpoint"` +} + +func (t TestDrainResponseBody2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(t, "", false) +} + +func (t *TestDrainResponseBody2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &t, "", false, []string{"status", "error", "endpoint"}); err != nil { + return err + } + return nil +} + +func (o *TestDrainResponseBody2) GetStatus() string { + if o == nil { + return "" + } + return o.Status +} + +func (o *TestDrainResponseBody2) GetError() string { + if o == nil { + return "" + } + return o.Error +} + +func (o *TestDrainResponseBody2) GetEndpoint() string { + if o == nil { + return "" + } + return o.Endpoint +} + +type TestDrainResponseBody1 struct { +} + +func (t TestDrainResponseBody1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(t, "", false) +} + +func (t *TestDrainResponseBody1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &t, "", false, nil); err != nil { + return err + } + return nil +} + +type TestDrainResponseBodyType string + +const ( + TestDrainResponseBodyTypeTestDrainResponseBody1 TestDrainResponseBodyType = "testDrain_ResponseBody_1" + TestDrainResponseBodyTypeTestDrainResponseBody2 TestDrainResponseBodyType = "testDrain_ResponseBody_2" +) + +type TestDrainResponseBody struct { + TestDrainResponseBody1 *TestDrainResponseBody1 `queryParam:"inline"` + TestDrainResponseBody2 *TestDrainResponseBody2 `queryParam:"inline"` + + Type TestDrainResponseBodyType +} + +func CreateTestDrainResponseBodyTestDrainResponseBody1(testDrainResponseBody1 TestDrainResponseBody1) TestDrainResponseBody { + typ := TestDrainResponseBodyTypeTestDrainResponseBody1 + + return TestDrainResponseBody{ + TestDrainResponseBody1: &testDrainResponseBody1, + Type: typ, + } +} + +func CreateTestDrainResponseBodyTestDrainResponseBody2(testDrainResponseBody2 TestDrainResponseBody2) TestDrainResponseBody { + typ := TestDrainResponseBodyTypeTestDrainResponseBody2 + + return TestDrainResponseBody{ + TestDrainResponseBody2: &testDrainResponseBody2, + Type: typ, + } +} + +func (u *TestDrainResponseBody) UnmarshalJSON(data []byte) error { + + var testDrainResponseBody2 TestDrainResponseBody2 = TestDrainResponseBody2{} + if err := utils.UnmarshalJSON(data, &testDrainResponseBody2, "", true, nil); err == nil { + u.TestDrainResponseBody2 = &testDrainResponseBody2 + u.Type = TestDrainResponseBodyTypeTestDrainResponseBody2 + return nil + } + + var testDrainResponseBody1 TestDrainResponseBody1 = TestDrainResponseBody1{} + if err := utils.UnmarshalJSON(data, &testDrainResponseBody1, "", true, nil); err == nil { + u.TestDrainResponseBody1 = &testDrainResponseBody1 + u.Type = TestDrainResponseBodyTypeTestDrainResponseBody1 + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for TestDrainResponseBody", string(data)) +} + +func (u TestDrainResponseBody) MarshalJSON() ([]byte, error) { + if u.TestDrainResponseBody1 != nil { + return utils.MarshalJSON(u.TestDrainResponseBody1, "", true) + } + + if u.TestDrainResponseBody2 != nil { + return utils.MarshalJSON(u.TestDrainResponseBody2, "", true) + } + + return nil, errors.New("could not marshal union type TestDrainResponseBody: all fields are null") +} + +type TestDrainResponse struct { + HTTPMeta components.HTTPMetadata `json:"-"` + OneOf *TestDrainResponseBody +} + +func (o *TestDrainResponse) GetHTTPMeta() components.HTTPMetadata { + if o == nil { + return components.HTTPMetadata{} + } + return o.HTTPMeta +} + +func (o *TestDrainResponse) GetOneOf() *TestDrainResponseBody { + if o == nil { + return nil + } + return o.OneOf +} diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/transferindomain.go b/src/__tests__/mockserver/internal/sdk/models/operations/transferindomain.go new file mode 100644 index 000000000..de9b97f7c --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/operations/transferindomain.go @@ -0,0 +1,287 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package operations + +import ( + "encoding/json" + "fmt" + "mockserver/internal/sdk/models/components" +) + +type TransferInDomainContactInformation struct { + // a non empty string + FirstName string `json:"firstName"` + // a non empty string + LastName string `json:"lastName"` + // a non empty string + Email string `json:"email"` + // A valid E.164 phone number + Phone string `json:"phone"` + // a non empty string + Address1 string `json:"address1"` + // a non empty string + Address2 *string `json:"address2,omitempty"` + // a non empty string + City string `json:"city"` + // a non empty string + State string `json:"state"` + // a non empty string + Zip string `json:"zip"` + // A valid ISO 3166-1 alpha-2 country code + Country string `json:"country"` + // a non empty string + CompanyName *string `json:"companyName,omitempty"` + // A valid E.164 phone number + Fax *string `json:"fax,omitempty"` +} + +func (o *TransferInDomainContactInformation) GetFirstName() string { + if o == nil { + return "" + } + return o.FirstName +} + +func (o *TransferInDomainContactInformation) GetLastName() string { + if o == nil { + return "" + } + return o.LastName +} + +func (o *TransferInDomainContactInformation) GetEmail() string { + if o == nil { + return "" + } + return o.Email +} + +func (o *TransferInDomainContactInformation) GetPhone() string { + if o == nil { + return "" + } + return o.Phone +} + +func (o *TransferInDomainContactInformation) GetAddress1() string { + if o == nil { + return "" + } + return o.Address1 +} + +func (o *TransferInDomainContactInformation) GetAddress2() *string { + if o == nil { + return nil + } + return o.Address2 +} + +func (o *TransferInDomainContactInformation) GetCity() string { + if o == nil { + return "" + } + return o.City +} + +func (o *TransferInDomainContactInformation) GetState() string { + if o == nil { + return "" + } + return o.State +} + +func (o *TransferInDomainContactInformation) GetZip() string { + if o == nil { + return "" + } + return o.Zip +} + +func (o *TransferInDomainContactInformation) GetCountry() string { + if o == nil { + return "" + } + return o.Country +} + +func (o *TransferInDomainContactInformation) GetCompanyName() *string { + if o == nil { + return nil + } + return o.CompanyName +} + +func (o *TransferInDomainContactInformation) GetFax() *string { + if o == nil { + return nil + } + return o.Fax +} + +type TransferInDomainRequestBody struct { + AuthCode string `json:"authCode"` + // Whether the domain should be auto-renewed before it expires. This can be configured later through the Vercel Dashboard or the [Update auto-renew for a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/update-auto-renew-for-a-domain) endpoint. + AutoRenew bool `json:"autoRenew"` + // The number of years to renew the domain for once it is transferred in. This must be a valid number of transfer years for the TLD. + Years float64 `json:"years"` + // The expected price for the domain. Use the [Get price data for a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/get-price-data-for-a-domain) endpoint to retrieve the price data for a domain. + ExpectedPrice float64 `json:"expectedPrice"` + ContactInformation TransferInDomainContactInformation `json:"contactInformation"` +} + +func (o *TransferInDomainRequestBody) GetAuthCode() string { + if o == nil { + return "" + } + return o.AuthCode +} + +func (o *TransferInDomainRequestBody) GetAutoRenew() bool { + if o == nil { + return false + } + return o.AutoRenew +} + +func (o *TransferInDomainRequestBody) GetYears() float64 { + if o == nil { + return 0.0 + } + return o.Years +} + +func (o *TransferInDomainRequestBody) GetExpectedPrice() float64 { + if o == nil { + return 0.0 + } + return o.ExpectedPrice +} + +func (o *TransferInDomainRequestBody) GetContactInformation() TransferInDomainContactInformation { + if o == nil { + return TransferInDomainContactInformation{} + } + return o.ContactInformation +} + +type TransferInDomainRequest struct { + Domain string `pathParam:"style=simple,explode=false,name=domain"` + TeamID *string `queryParam:"style=form,explode=true,name=teamId"` + Body TransferInDomainRequestBody `request:"mediaType=application/json"` +} + +func (o *TransferInDomainRequest) GetDomain() string { + if o == nil { + return "" + } + return o.Domain +} + +func (o *TransferInDomainRequest) GetTeamID() *string { + if o == nil { + return nil + } + return o.TeamID +} + +func (o *TransferInDomainRequest) GetBody() TransferInDomainRequestBody { + if o == nil { + return TransferInDomainRequestBody{} + } + return o.Body +} + +type TransferInDomainMethod string + +const ( + TransferInDomainMethodGet TransferInDomainMethod = "GET" + TransferInDomainMethodPost TransferInDomainMethod = "POST" + TransferInDomainMethodPut TransferInDomainMethod = "PUT" + TransferInDomainMethodDelete TransferInDomainMethod = "DELETE" + TransferInDomainMethodPatch TransferInDomainMethod = "PATCH" +) + +func (e TransferInDomainMethod) ToPointer() *TransferInDomainMethod { + return &e +} +func (e *TransferInDomainMethod) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "GET": + fallthrough + case "POST": + fallthrough + case "PUT": + fallthrough + case "DELETE": + fallthrough + case "PATCH": + *e = TransferInDomainMethod(v) + return nil + default: + return fmt.Errorf("invalid value for TransferInDomainMethod: %v", v) + } +} + +type TransferInDomainLinks struct { + Href string `json:"href"` + Method TransferInDomainMethod `json:"method"` +} + +func (o *TransferInDomainLinks) GetHref() string { + if o == nil { + return "" + } + return o.Href +} + +func (o *TransferInDomainLinks) GetMethod() TransferInDomainMethod { + if o == nil { + return TransferInDomainMethod("") + } + return o.Method +} + +// TransferInDomainResponseBody - Success +type TransferInDomainResponseBody struct { + OrderID string `json:"orderId"` + Links map[string]TransferInDomainLinks `json:"_links"` +} + +func (o *TransferInDomainResponseBody) GetOrderID() string { + if o == nil { + return "" + } + return o.OrderID +} + +func (o *TransferInDomainResponseBody) GetLinks() map[string]TransferInDomainLinks { + if o == nil { + return map[string]TransferInDomainLinks{} + } + return o.Links +} + +type TransferInDomainResponse struct { + HTTPMeta components.HTTPMetadata `json:"-"` + // Success + Object *TransferInDomainResponseBody +} + +func (o *TransferInDomainResponse) GetHTTPMeta() components.HTTPMetadata { + if o == nil { + return components.HTTPMetadata{} + } + return o.HTTPMeta +} + +func (o *TransferInDomainResponse) GetObject() *TransferInDomainResponseBody { + if o == nil { + return nil + } + return o.Object +} diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/unlinksharedenvvariable.go b/src/__tests__/mockserver/internal/sdk/models/operations/unlinksharedenvvariable.go new file mode 100644 index 000000000..2b49e25f0 --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/operations/unlinksharedenvvariable.go @@ -0,0 +1,75 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package operations + +import ( + "mockserver/internal/sdk/models/components" +) + +type UnlinkSharedEnvVariableRequest struct { + // The unique ID for the Shared Environment Variable to unlink from the project. + ID string `pathParam:"style=simple,explode=false,name=id"` + ProjectID string `pathParam:"style=simple,explode=false,name=projectId"` + // The Team identifier to perform the request on behalf of. + TeamID *string `queryParam:"style=form,explode=true,name=teamId"` + // The Team slug to perform the request on behalf of. + Slug *string `queryParam:"style=form,explode=true,name=slug"` +} + +func (o *UnlinkSharedEnvVariableRequest) GetID() string { + if o == nil { + return "" + } + return o.ID +} + +func (o *UnlinkSharedEnvVariableRequest) GetProjectID() string { + if o == nil { + return "" + } + return o.ProjectID +} + +func (o *UnlinkSharedEnvVariableRequest) GetTeamID() *string { + if o == nil { + return nil + } + return o.TeamID +} + +func (o *UnlinkSharedEnvVariableRequest) GetSlug() *string { + if o == nil { + return nil + } + return o.Slug +} + +type UnlinkSharedEnvVariableResponseBody struct { + ID string `json:"id"` +} + +func (o *UnlinkSharedEnvVariableResponseBody) GetID() string { + if o == nil { + return "" + } + return o.ID +} + +type UnlinkSharedEnvVariableResponse struct { + HTTPMeta components.HTTPMetadata `json:"-"` + Object *UnlinkSharedEnvVariableResponseBody +} + +func (o *UnlinkSharedEnvVariableResponse) GetHTTPMeta() components.HTTPMetadata { + if o == nil { + return components.HTTPMetadata{} + } + return o.HTTPMeta +} + +func (o *UnlinkSharedEnvVariableResponse) GetObject() *UnlinkSharedEnvVariableResponseBody { + if o == nil { + return nil + } + return o.Object +} diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/updateaccessgroup.go b/src/__tests__/mockserver/internal/sdk/models/operations/updateaccessgroup.go index b129f7c07..2168b9e43 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/updateaccessgroup.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/updateaccessgroup.go @@ -102,8 +102,8 @@ type UpdateAccessGroupRequest struct { // The Team identifier to perform the request on behalf of. TeamID *string `queryParam:"style=form,explode=true,name=teamId"` // The Team slug to perform the request on behalf of. - Slug *string `queryParam:"style=form,explode=true,name=slug"` - RequestBody UpdateAccessGroupRequestBody `request:"mediaType=application/json"` + Slug *string `queryParam:"style=form,explode=true,name=slug"` + Body UpdateAccessGroupRequestBody `request:"mediaType=application/json"` } func (o *UpdateAccessGroupRequest) GetIDOrName() string { @@ -127,11 +127,11 @@ func (o *UpdateAccessGroupRequest) GetSlug() *string { return o.Slug } -func (o *UpdateAccessGroupRequest) GetRequestBody() UpdateAccessGroupRequestBody { +func (o *UpdateAccessGroupRequest) GetBody() UpdateAccessGroupRequestBody { if o == nil { return UpdateAccessGroupRequestBody{} } - return o.RequestBody + return o.Body } type UpdateAccessGroupEntitlement string diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/updateaccessgroupproject.go b/src/__tests__/mockserver/internal/sdk/models/operations/updateaccessgroupproject.go index f2bbc9b25..9b5c2bec4 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/updateaccessgroupproject.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/updateaccessgroupproject.go @@ -56,8 +56,8 @@ type UpdateAccessGroupProjectRequest struct { // The Team identifier to perform the request on behalf of. TeamID *string `queryParam:"style=form,explode=true,name=teamId"` // The Team slug to perform the request on behalf of. - Slug *string `queryParam:"style=form,explode=true,name=slug"` - RequestBody UpdateAccessGroupProjectRequestBody `request:"mediaType=application/json"` + Slug *string `queryParam:"style=form,explode=true,name=slug"` + Body UpdateAccessGroupProjectRequestBody `request:"mediaType=application/json"` } func (o *UpdateAccessGroupProjectRequest) GetAccessGroupIDOrName() string { @@ -88,11 +88,11 @@ func (o *UpdateAccessGroupProjectRequest) GetSlug() *string { return o.Slug } -func (o *UpdateAccessGroupProjectRequest) GetRequestBody() UpdateAccessGroupProjectRequestBody { +func (o *UpdateAccessGroupProjectRequest) GetBody() UpdateAccessGroupProjectRequestBody { if o == nil { return UpdateAccessGroupProjectRequestBody{} } - return o.RequestBody + return o.Body } type UpdateAccessGroupProjectRoleResponse string diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/updateattackchallengemode.go b/src/__tests__/mockserver/internal/sdk/models/operations/updateattackchallengemode.go index 4708be7eb..4cdde3503 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/updateattackchallengemode.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/updateattackchallengemode.go @@ -37,8 +37,8 @@ type UpdateAttackChallengeModeRequest struct { // The Team identifier to perform the request on behalf of. TeamID *string `queryParam:"style=form,explode=true,name=teamId"` // The Team slug to perform the request on behalf of. - Slug *string `queryParam:"style=form,explode=true,name=slug"` - RequestBody UpdateAttackChallengeModeRequestBody `request:"mediaType=application/json"` + Slug *string `queryParam:"style=form,explode=true,name=slug"` + Body UpdateAttackChallengeModeRequestBody `request:"mediaType=application/json"` } func (o *UpdateAttackChallengeModeRequest) GetTeamID() *string { @@ -55,11 +55,11 @@ func (o *UpdateAttackChallengeModeRequest) GetSlug() *string { return o.Slug } -func (o *UpdateAttackChallengeModeRequest) GetRequestBody() UpdateAttackChallengeModeRequestBody { +func (o *UpdateAttackChallengeModeRequest) GetBody() UpdateAttackChallengeModeRequestBody { if o == nil { return UpdateAttackChallengeModeRequestBody{} } - return o.RequestBody + return o.Body } type UpdateAttackChallengeModeResponseBody struct { diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/updatecheck.go b/src/__tests__/mockserver/internal/sdk/models/operations/updatecheck.go index 3ac15e42d..dd6575ec8 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/updatecheck.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/updatecheck.go @@ -416,8 +416,8 @@ type UpdateCheckRequest struct { // The Team identifier to perform the request on behalf of. TeamID *string `queryParam:"style=form,explode=true,name=teamId"` // The Team slug to perform the request on behalf of. - Slug *string `queryParam:"style=form,explode=true,name=slug"` - RequestBody UpdateCheckRequestBody `request:"mediaType=application/json"` + Slug *string `queryParam:"style=form,explode=true,name=slug"` + Body UpdateCheckRequestBody `request:"mediaType=application/json"` } func (o *UpdateCheckRequest) GetDeploymentID() string { @@ -448,11 +448,11 @@ func (o *UpdateCheckRequest) GetSlug() *string { return o.Slug } -func (o *UpdateCheckRequest) GetRequestBody() UpdateCheckRequestBody { +func (o *UpdateCheckRequest) GetBody() UpdateCheckRequestBody { if o == nil { return UpdateCheckRequestBody{} } - return o.RequestBody + return o.Body } type UpdateCheckStatusResponseBody string diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/updatecustomenvironment.go b/src/__tests__/mockserver/internal/sdk/models/operations/updatecustomenvironment.go index abd83c44f..f164be56f 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/updatecustomenvironment.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/updatecustomenvironment.go @@ -98,8 +98,8 @@ type UpdateCustomEnvironmentRequest struct { // The Team identifier to perform the request on behalf of. TeamID *string `queryParam:"style=form,explode=true,name=teamId"` // The Team slug to perform the request on behalf of. - Slug *string `queryParam:"style=form,explode=true,name=slug"` - RequestBody *UpdateCustomEnvironmentRequestBody `request:"mediaType=application/json"` + Slug *string `queryParam:"style=form,explode=true,name=slug"` + Body *UpdateCustomEnvironmentRequestBody `request:"mediaType=application/json"` } func (o *UpdateCustomEnvironmentRequest) GetIDOrName() string { @@ -130,11 +130,11 @@ func (o *UpdateCustomEnvironmentRequest) GetSlug() *string { return o.Slug } -func (o *UpdateCustomEnvironmentRequest) GetRequestBody() *UpdateCustomEnvironmentRequestBody { +func (o *UpdateCustomEnvironmentRequest) GetBody() *UpdateCustomEnvironmentRequestBody { if o == nil { return nil } - return o.RequestBody + return o.Body } // UpdateCustomEnvironmentTypeResponseBody - The type of environment (production, preview, or development) diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/updatedomainautorenew.go b/src/__tests__/mockserver/internal/sdk/models/operations/updatedomainautorenew.go new file mode 100644 index 000000000..2e3567b08 --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/operations/updatedomainautorenew.go @@ -0,0 +1,56 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package operations + +import ( + "mockserver/internal/sdk/models/components" +) + +type UpdateDomainAutoRenewRequestBody struct { + AutoRenew bool `json:"autoRenew"` +} + +func (o *UpdateDomainAutoRenewRequestBody) GetAutoRenew() bool { + if o == nil { + return false + } + return o.AutoRenew +} + +type UpdateDomainAutoRenewRequest struct { + Domain string `pathParam:"style=simple,explode=false,name=domain"` + TeamID *string `queryParam:"style=form,explode=true,name=teamId"` + Body UpdateDomainAutoRenewRequestBody `request:"mediaType=application/json"` +} + +func (o *UpdateDomainAutoRenewRequest) GetDomain() string { + if o == nil { + return "" + } + return o.Domain +} + +func (o *UpdateDomainAutoRenewRequest) GetTeamID() *string { + if o == nil { + return nil + } + return o.TeamID +} + +func (o *UpdateDomainAutoRenewRequest) GetBody() UpdateDomainAutoRenewRequestBody { + if o == nil { + return UpdateDomainAutoRenewRequestBody{} + } + return o.Body +} + +type UpdateDomainAutoRenewResponse struct { + HTTPMeta components.HTTPMetadata `json:"-"` +} + +func (o *UpdateDomainAutoRenewResponse) GetHTTPMeta() components.HTTPMetadata { + if o == nil { + return components.HTTPMetadata{} + } + return o.HTTPMeta +} diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/updatedomainnameservers.go b/src/__tests__/mockserver/internal/sdk/models/operations/updatedomainnameservers.go new file mode 100644 index 000000000..2332f7bb9 --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/operations/updatedomainnameservers.go @@ -0,0 +1,56 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package operations + +import ( + "mockserver/internal/sdk/models/components" +) + +type UpdateDomainNameserversRequestBody struct { + Nameservers []string `json:"nameservers"` +} + +func (o *UpdateDomainNameserversRequestBody) GetNameservers() []string { + if o == nil { + return []string{} + } + return o.Nameservers +} + +type UpdateDomainNameserversRequest struct { + Domain string `pathParam:"style=simple,explode=false,name=domain"` + TeamID *string `queryParam:"style=form,explode=true,name=teamId"` + Body UpdateDomainNameserversRequestBody `request:"mediaType=application/json"` +} + +func (o *UpdateDomainNameserversRequest) GetDomain() string { + if o == nil { + return "" + } + return o.Domain +} + +func (o *UpdateDomainNameserversRequest) GetTeamID() *string { + if o == nil { + return nil + } + return o.TeamID +} + +func (o *UpdateDomainNameserversRequest) GetBody() UpdateDomainNameserversRequestBody { + if o == nil { + return UpdateDomainNameserversRequestBody{} + } + return o.Body +} + +type UpdateDomainNameserversResponse struct { + HTTPMeta components.HTTPMetadata `json:"-"` +} + +func (o *UpdateDomainNameserversResponse) GetHTTPMeta() components.HTTPMetadata { + if o == nil { + return components.HTTPMetadata{} + } + return o.HTTPMeta +} diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/updatedrain.go b/src/__tests__/mockserver/internal/sdk/models/operations/updatedrain.go new file mode 100644 index 000000000..6aff41c9d --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/operations/updatedrain.go @@ -0,0 +1,4846 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package operations + +import ( + "encoding/json" + "errors" + "fmt" + "mockserver/internal/sdk/models/components" + "mockserver/internal/sdk/utils" +) + +type UpdateDrainProjects string + +const ( + UpdateDrainProjectsSome UpdateDrainProjects = "some" + UpdateDrainProjectsAll UpdateDrainProjects = "all" +) + +func (e UpdateDrainProjects) ToPointer() *UpdateDrainProjects { + return &e +} +func (e *UpdateDrainProjects) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "some": + fallthrough + case "all": + *e = UpdateDrainProjects(v) + return nil + default: + return fmt.Errorf("invalid value for UpdateDrainProjects: %v", v) + } +} + +type UpdateDrainFilterRequest3 struct { + Type string `json:"type"` + Text string `json:"text"` +} + +func (u UpdateDrainFilterRequest3) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(u, "", false) +} + +func (u *UpdateDrainFilterRequest3) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &u, "", false, []string{"type", "text"}); err != nil { + return err + } + return nil +} + +func (o *UpdateDrainFilterRequest3) GetType() string { + if o == nil { + return "" + } + return o.Type +} + +func (o *UpdateDrainFilterRequest3) GetText() string { + if o == nil { + return "" + } + return o.Text +} + +type UpdateDrainProjectRequest struct { + Ids []string `json:"ids,omitempty"` +} + +func (u UpdateDrainProjectRequest) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(u, "", false) +} + +func (u *UpdateDrainProjectRequest) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &u, "", false, nil); err != nil { + return err + } + return nil +} + +func (o *UpdateDrainProjectRequest) GetIds() []string { + if o == nil { + return nil + } + return o.Ids +} + +type UpdateDrainFilterSourceRequest string + +const ( + UpdateDrainFilterSourceRequestBuild UpdateDrainFilterSourceRequest = "build" + UpdateDrainFilterSourceRequestEdge UpdateDrainFilterSourceRequest = "edge" + UpdateDrainFilterSourceRequestLambda UpdateDrainFilterSourceRequest = "lambda" + UpdateDrainFilterSourceRequestStatic UpdateDrainFilterSourceRequest = "static" + UpdateDrainFilterSourceRequestExternal UpdateDrainFilterSourceRequest = "external" + UpdateDrainFilterSourceRequestFirewall UpdateDrainFilterSourceRequest = "firewall" + UpdateDrainFilterSourceRequestRedirect UpdateDrainFilterSourceRequest = "redirect" +) + +func (e UpdateDrainFilterSourceRequest) ToPointer() *UpdateDrainFilterSourceRequest { + return &e +} +func (e *UpdateDrainFilterSourceRequest) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "build": + fallthrough + case "edge": + fallthrough + case "lambda": + fallthrough + case "static": + fallthrough + case "external": + fallthrough + case "firewall": + fallthrough + case "redirect": + *e = UpdateDrainFilterSourceRequest(v) + return nil + default: + return fmt.Errorf("invalid value for UpdateDrainFilterSourceRequest: %v", v) + } +} + +type UpdateDrainLogRequest struct { + Sources []UpdateDrainFilterSourceRequest `json:"sources,omitempty"` +} + +func (u UpdateDrainLogRequest) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(u, "", false) +} + +func (u *UpdateDrainLogRequest) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &u, "", false, nil); err != nil { + return err + } + return nil +} + +func (o *UpdateDrainLogRequest) GetSources() []UpdateDrainFilterSourceRequest { + if o == nil { + return nil + } + return o.Sources +} + +type UpdateDrainEnvironmentRequest string + +const ( + UpdateDrainEnvironmentRequestProduction UpdateDrainEnvironmentRequest = "production" + UpdateDrainEnvironmentRequestPreview UpdateDrainEnvironmentRequest = "preview" +) + +func (e UpdateDrainEnvironmentRequest) ToPointer() *UpdateDrainEnvironmentRequest { + return &e +} +func (e *UpdateDrainEnvironmentRequest) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "production": + fallthrough + case "preview": + *e = UpdateDrainEnvironmentRequest(v) + return nil + default: + return fmt.Errorf("invalid value for UpdateDrainEnvironmentRequest: %v", v) + } +} + +type UpdateDrainDeploymentRequest struct { + Environments []UpdateDrainEnvironmentRequest `json:"environments,omitempty"` +} + +func (u UpdateDrainDeploymentRequest) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(u, "", false) +} + +func (u *UpdateDrainDeploymentRequest) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &u, "", false, nil); err != nil { + return err + } + return nil +} + +func (o *UpdateDrainDeploymentRequest) GetEnvironments() []UpdateDrainEnvironmentRequest { + if o == nil { + return nil + } + return o.Environments +} + +type UpdateDrainFilterRequest2 struct { + Type string `json:"type"` + Project *UpdateDrainProjectRequest `json:"project,omitempty"` + Log *UpdateDrainLogRequest `json:"log,omitempty"` + Deployment *UpdateDrainDeploymentRequest `json:"deployment,omitempty"` +} + +func (u UpdateDrainFilterRequest2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(u, "", false) +} + +func (u *UpdateDrainFilterRequest2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &u, "", false, []string{"type"}); err != nil { + return err + } + return nil +} + +func (o *UpdateDrainFilterRequest2) GetType() string { + if o == nil { + return "" + } + return o.Type +} + +func (o *UpdateDrainFilterRequest2) GetProject() *UpdateDrainProjectRequest { + if o == nil { + return nil + } + return o.Project +} + +func (o *UpdateDrainFilterRequest2) GetLog() *UpdateDrainLogRequest { + if o == nil { + return nil + } + return o.Log +} + +func (o *UpdateDrainFilterRequest2) GetDeployment() *UpdateDrainDeploymentRequest { + if o == nil { + return nil + } + return o.Deployment +} + +type UpdateDrainFilterRequestUnion2Type string + +const ( + UpdateDrainFilterRequestUnion2TypeUpdateDrainFilterRequest2 UpdateDrainFilterRequestUnion2Type = "updateDrain_filter_request_2" + UpdateDrainFilterRequestUnion2TypeUpdateDrainFilterRequest3 UpdateDrainFilterRequestUnion2Type = "updateDrain_filter_request_3" +) + +type UpdateDrainFilterRequestUnion2 struct { + UpdateDrainFilterRequest2 *UpdateDrainFilterRequest2 `queryParam:"inline"` + UpdateDrainFilterRequest3 *UpdateDrainFilterRequest3 `queryParam:"inline"` + + Type UpdateDrainFilterRequestUnion2Type +} + +func CreateUpdateDrainFilterRequestUnion2UpdateDrainFilterRequest2(updateDrainFilterRequest2 UpdateDrainFilterRequest2) UpdateDrainFilterRequestUnion2 { + typ := UpdateDrainFilterRequestUnion2TypeUpdateDrainFilterRequest2 + + return UpdateDrainFilterRequestUnion2{ + UpdateDrainFilterRequest2: &updateDrainFilterRequest2, + Type: typ, + } +} + +func CreateUpdateDrainFilterRequestUnion2UpdateDrainFilterRequest3(updateDrainFilterRequest3 UpdateDrainFilterRequest3) UpdateDrainFilterRequestUnion2 { + typ := UpdateDrainFilterRequestUnion2TypeUpdateDrainFilterRequest3 + + return UpdateDrainFilterRequestUnion2{ + UpdateDrainFilterRequest3: &updateDrainFilterRequest3, + Type: typ, + } +} + +func (u *UpdateDrainFilterRequestUnion2) UnmarshalJSON(data []byte) error { + + var updateDrainFilterRequest3 UpdateDrainFilterRequest3 = UpdateDrainFilterRequest3{} + if err := utils.UnmarshalJSON(data, &updateDrainFilterRequest3, "", true, nil); err == nil { + u.UpdateDrainFilterRequest3 = &updateDrainFilterRequest3 + u.Type = UpdateDrainFilterRequestUnion2TypeUpdateDrainFilterRequest3 + return nil + } + + var updateDrainFilterRequest2 UpdateDrainFilterRequest2 = UpdateDrainFilterRequest2{} + if err := utils.UnmarshalJSON(data, &updateDrainFilterRequest2, "", true, nil); err == nil { + u.UpdateDrainFilterRequest2 = &updateDrainFilterRequest2 + u.Type = UpdateDrainFilterRequestUnion2TypeUpdateDrainFilterRequest2 + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for UpdateDrainFilterRequestUnion2", string(data)) +} + +func (u UpdateDrainFilterRequestUnion2) MarshalJSON() ([]byte, error) { + if u.UpdateDrainFilterRequest2 != nil { + return utils.MarshalJSON(u.UpdateDrainFilterRequest2, "", true) + } + + if u.UpdateDrainFilterRequest3 != nil { + return utils.MarshalJSON(u.UpdateDrainFilterRequest3, "", true) + } + + return nil, errors.New("could not marshal union type UpdateDrainFilterRequestUnion2: all fields are null") +} + +type UpdateDrainFilterRequest1 struct { + Version string `json:"version"` + Filter UpdateDrainFilterRequestUnion2 `json:"filter"` +} + +func (u UpdateDrainFilterRequest1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(u, "", false) +} + +func (u *UpdateDrainFilterRequest1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &u, "", false, []string{"version", "filter"}); err != nil { + return err + } + return nil +} + +func (o *UpdateDrainFilterRequest1) GetVersion() string { + if o == nil { + return "" + } + return o.Version +} + +func (o *UpdateDrainFilterRequest1) GetFilter() UpdateDrainFilterRequestUnion2 { + if o == nil { + return UpdateDrainFilterRequestUnion2{} + } + return o.Filter +} + +type UpdateDrainFilterRequestUnion1Type string + +const ( + UpdateDrainFilterRequestUnion1TypeStr UpdateDrainFilterRequestUnion1Type = "str" + UpdateDrainFilterRequestUnion1TypeUpdateDrainFilterRequest1 UpdateDrainFilterRequestUnion1Type = "updateDrain_filter_request_1" +) + +type UpdateDrainFilterRequestUnion1 struct { + Str *string `queryParam:"inline"` + UpdateDrainFilterRequest1 *UpdateDrainFilterRequest1 `queryParam:"inline"` + + Type UpdateDrainFilterRequestUnion1Type +} + +func CreateUpdateDrainFilterRequestUnion1Str(str string) UpdateDrainFilterRequestUnion1 { + typ := UpdateDrainFilterRequestUnion1TypeStr + + return UpdateDrainFilterRequestUnion1{ + Str: &str, + Type: typ, + } +} + +func CreateUpdateDrainFilterRequestUnion1UpdateDrainFilterRequest1(updateDrainFilterRequest1 UpdateDrainFilterRequest1) UpdateDrainFilterRequestUnion1 { + typ := UpdateDrainFilterRequestUnion1TypeUpdateDrainFilterRequest1 + + return UpdateDrainFilterRequestUnion1{ + UpdateDrainFilterRequest1: &updateDrainFilterRequest1, + Type: typ, + } +} + +func (u *UpdateDrainFilterRequestUnion1) UnmarshalJSON(data []byte) error { + + var updateDrainFilterRequest1 UpdateDrainFilterRequest1 = UpdateDrainFilterRequest1{} + if err := utils.UnmarshalJSON(data, &updateDrainFilterRequest1, "", true, nil); err == nil { + u.UpdateDrainFilterRequest1 = &updateDrainFilterRequest1 + u.Type = UpdateDrainFilterRequestUnion1TypeUpdateDrainFilterRequest1 + return nil + } + + var str string = "" + if err := utils.UnmarshalJSON(data, &str, "", true, nil); err == nil { + u.Str = &str + u.Type = UpdateDrainFilterRequestUnion1TypeStr + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for UpdateDrainFilterRequestUnion1", string(data)) +} + +func (u UpdateDrainFilterRequestUnion1) MarshalJSON() ([]byte, error) { + if u.Str != nil { + return utils.MarshalJSON(u.Str, "", true) + } + + if u.UpdateDrainFilterRequest1 != nil { + return utils.MarshalJSON(u.UpdateDrainFilterRequest1, "", true) + } + + return nil, errors.New("could not marshal union type UpdateDrainFilterRequestUnion1: all fields are null") +} + +type UpdateDrainSchemasRequest struct { + Version string `json:"version"` +} + +func (o *UpdateDrainSchemasRequest) GetVersion() string { + if o == nil { + return "" + } + return o.Version +} + +type UpdateDrainEndpointRequest struct { + Traces string `json:"traces"` +} + +func (u UpdateDrainEndpointRequest) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(u, "", false) +} + +func (u *UpdateDrainEndpointRequest) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &u, "", false, []string{"traces"}); err != nil { + return err + } + return nil +} + +func (o *UpdateDrainEndpointRequest) GetTraces() string { + if o == nil { + return "" + } + return o.Traces +} + +type UpdateDrainEndpointUnionType string + +const ( + UpdateDrainEndpointUnionTypeUpdateDrainEndpointRequest UpdateDrainEndpointUnionType = "updateDrain_endpoint_request" +) + +type UpdateDrainEndpointUnion struct { + UpdateDrainEndpointRequest *UpdateDrainEndpointRequest `queryParam:"inline"` + + Type UpdateDrainEndpointUnionType +} + +func CreateUpdateDrainEndpointUnionUpdateDrainEndpointRequest(updateDrainEndpointRequest UpdateDrainEndpointRequest) UpdateDrainEndpointUnion { + typ := UpdateDrainEndpointUnionTypeUpdateDrainEndpointRequest + + return UpdateDrainEndpointUnion{ + UpdateDrainEndpointRequest: &updateDrainEndpointRequest, + Type: typ, + } +} + +func (u *UpdateDrainEndpointUnion) UnmarshalJSON(data []byte) error { + + var updateDrainEndpointRequest UpdateDrainEndpointRequest = UpdateDrainEndpointRequest{} + if err := utils.UnmarshalJSON(data, &updateDrainEndpointRequest, "", true, nil); err == nil { + u.UpdateDrainEndpointRequest = &updateDrainEndpointRequest + u.Type = UpdateDrainEndpointUnionTypeUpdateDrainEndpointRequest + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for UpdateDrainEndpointUnion", string(data)) +} + +func (u UpdateDrainEndpointUnion) MarshalJSON() ([]byte, error) { + if u.UpdateDrainEndpointRequest != nil { + return utils.MarshalJSON(u.UpdateDrainEndpointRequest, "", true) + } + + return nil, errors.New("could not marshal union type UpdateDrainEndpointUnion: all fields are null") +} + +type UpdateDrainEncodingRequest2 string + +const ( + UpdateDrainEncodingRequest2Proto UpdateDrainEncodingRequest2 = "proto" + UpdateDrainEncodingRequest2JSON UpdateDrainEncodingRequest2 = "json" +) + +func (e UpdateDrainEncodingRequest2) ToPointer() *UpdateDrainEncodingRequest2 { + return &e +} +func (e *UpdateDrainEncodingRequest2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "proto": + fallthrough + case "json": + *e = UpdateDrainEncodingRequest2(v) + return nil + default: + return fmt.Errorf("invalid value for UpdateDrainEncodingRequest2: %v", v) + } +} + +type UpdateDrainDeliveryRequest2 struct { + Type string `json:"type"` + Endpoint UpdateDrainEndpointUnion `json:"endpoint"` + Encoding UpdateDrainEncodingRequest2 `json:"encoding"` + Headers map[string]string `json:"headers"` + Secret *string `json:"secret,omitempty"` +} + +func (u UpdateDrainDeliveryRequest2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(u, "", false) +} + +func (u *UpdateDrainDeliveryRequest2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &u, "", false, []string{"type", "endpoint", "encoding", "headers"}); err != nil { + return err + } + return nil +} + +func (o *UpdateDrainDeliveryRequest2) GetType() string { + if o == nil { + return "" + } + return o.Type +} + +func (o *UpdateDrainDeliveryRequest2) GetEndpoint() UpdateDrainEndpointUnion { + if o == nil { + return UpdateDrainEndpointUnion{} + } + return o.Endpoint +} + +func (o *UpdateDrainDeliveryRequest2) GetEncoding() UpdateDrainEncodingRequest2 { + if o == nil { + return UpdateDrainEncodingRequest2("") + } + return o.Encoding +} + +func (o *UpdateDrainDeliveryRequest2) GetHeaders() map[string]string { + if o == nil { + return map[string]string{} + } + return o.Headers +} + +func (o *UpdateDrainDeliveryRequest2) GetSecret() *string { + if o == nil { + return nil + } + return o.Secret +} + +type UpdateDrainCompressionRequest string + +const ( + UpdateDrainCompressionRequestGzip UpdateDrainCompressionRequest = "gzip" + UpdateDrainCompressionRequestNone UpdateDrainCompressionRequest = "none" +) + +func (e UpdateDrainCompressionRequest) ToPointer() *UpdateDrainCompressionRequest { + return &e +} +func (e *UpdateDrainCompressionRequest) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "gzip": + fallthrough + case "none": + *e = UpdateDrainCompressionRequest(v) + return nil + default: + return fmt.Errorf("invalid value for UpdateDrainCompressionRequest: %v", v) + } +} + +type UpdateDrainEncodingRequest1 string + +const ( + UpdateDrainEncodingRequest1JSON UpdateDrainEncodingRequest1 = "json" + UpdateDrainEncodingRequest1Ndjson UpdateDrainEncodingRequest1 = "ndjson" +) + +func (e UpdateDrainEncodingRequest1) ToPointer() *UpdateDrainEncodingRequest1 { + return &e +} +func (e *UpdateDrainEncodingRequest1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "json": + fallthrough + case "ndjson": + *e = UpdateDrainEncodingRequest1(v) + return nil + default: + return fmt.Errorf("invalid value for UpdateDrainEncodingRequest1: %v", v) + } +} + +type UpdateDrainDeliveryRequest1 struct { + Type string `json:"type"` + Endpoint string `json:"endpoint"` + Compression *UpdateDrainCompressionRequest `json:"compression,omitempty"` + Encoding UpdateDrainEncodingRequest1 `json:"encoding"` + Headers map[string]string `json:"headers"` + Secret *string `json:"secret,omitempty"` +} + +func (u UpdateDrainDeliveryRequest1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(u, "", false) +} + +func (u *UpdateDrainDeliveryRequest1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &u, "", false, []string{"type", "endpoint", "encoding", "headers"}); err != nil { + return err + } + return nil +} + +func (o *UpdateDrainDeliveryRequest1) GetType() string { + if o == nil { + return "" + } + return o.Type +} + +func (o *UpdateDrainDeliveryRequest1) GetEndpoint() string { + if o == nil { + return "" + } + return o.Endpoint +} + +func (o *UpdateDrainDeliveryRequest1) GetCompression() *UpdateDrainCompressionRequest { + if o == nil { + return nil + } + return o.Compression +} + +func (o *UpdateDrainDeliveryRequest1) GetEncoding() UpdateDrainEncodingRequest1 { + if o == nil { + return UpdateDrainEncodingRequest1("") + } + return o.Encoding +} + +func (o *UpdateDrainDeliveryRequest1) GetHeaders() map[string]string { + if o == nil { + return map[string]string{} + } + return o.Headers +} + +func (o *UpdateDrainDeliveryRequest1) GetSecret() *string { + if o == nil { + return nil + } + return o.Secret +} + +type UpdateDrainDeliveryRequestUnionType string + +const ( + UpdateDrainDeliveryRequestUnionTypeUpdateDrainDeliveryRequest1 UpdateDrainDeliveryRequestUnionType = "updateDrain_delivery_request_1" + UpdateDrainDeliveryRequestUnionTypeUpdateDrainDeliveryRequest2 UpdateDrainDeliveryRequestUnionType = "updateDrain_delivery_request_2" +) + +type UpdateDrainDeliveryRequestUnion struct { + UpdateDrainDeliveryRequest1 *UpdateDrainDeliveryRequest1 `queryParam:"inline"` + UpdateDrainDeliveryRequest2 *UpdateDrainDeliveryRequest2 `queryParam:"inline"` + + Type UpdateDrainDeliveryRequestUnionType +} + +func CreateUpdateDrainDeliveryRequestUnionUpdateDrainDeliveryRequest1(updateDrainDeliveryRequest1 UpdateDrainDeliveryRequest1) UpdateDrainDeliveryRequestUnion { + typ := UpdateDrainDeliveryRequestUnionTypeUpdateDrainDeliveryRequest1 + + return UpdateDrainDeliveryRequestUnion{ + UpdateDrainDeliveryRequest1: &updateDrainDeliveryRequest1, + Type: typ, + } +} + +func CreateUpdateDrainDeliveryRequestUnionUpdateDrainDeliveryRequest2(updateDrainDeliveryRequest2 UpdateDrainDeliveryRequest2) UpdateDrainDeliveryRequestUnion { + typ := UpdateDrainDeliveryRequestUnionTypeUpdateDrainDeliveryRequest2 + + return UpdateDrainDeliveryRequestUnion{ + UpdateDrainDeliveryRequest2: &updateDrainDeliveryRequest2, + Type: typ, + } +} + +func (u *UpdateDrainDeliveryRequestUnion) UnmarshalJSON(data []byte) error { + + var updateDrainDeliveryRequest1 UpdateDrainDeliveryRequest1 = UpdateDrainDeliveryRequest1{} + if err := utils.UnmarshalJSON(data, &updateDrainDeliveryRequest1, "", true, nil); err == nil { + u.UpdateDrainDeliveryRequest1 = &updateDrainDeliveryRequest1 + u.Type = UpdateDrainDeliveryRequestUnionTypeUpdateDrainDeliveryRequest1 + return nil + } + + var updateDrainDeliveryRequest2 UpdateDrainDeliveryRequest2 = UpdateDrainDeliveryRequest2{} + if err := utils.UnmarshalJSON(data, &updateDrainDeliveryRequest2, "", true, nil); err == nil { + u.UpdateDrainDeliveryRequest2 = &updateDrainDeliveryRequest2 + u.Type = UpdateDrainDeliveryRequestUnionTypeUpdateDrainDeliveryRequest2 + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for UpdateDrainDeliveryRequestUnion", string(data)) +} + +func (u UpdateDrainDeliveryRequestUnion) MarshalJSON() ([]byte, error) { + if u.UpdateDrainDeliveryRequest1 != nil { + return utils.MarshalJSON(u.UpdateDrainDeliveryRequest1, "", true) + } + + if u.UpdateDrainDeliveryRequest2 != nil { + return utils.MarshalJSON(u.UpdateDrainDeliveryRequest2, "", true) + } + + return nil, errors.New("could not marshal union type UpdateDrainDeliveryRequestUnion: all fields are null") +} + +// UpdateDrainEnvRequest - Environment to apply sampling to +type UpdateDrainEnvRequest string + +const ( + UpdateDrainEnvRequestProduction UpdateDrainEnvRequest = "production" + UpdateDrainEnvRequestPreview UpdateDrainEnvRequest = "preview" +) + +func (e UpdateDrainEnvRequest) ToPointer() *UpdateDrainEnvRequest { + return &e +} +func (e *UpdateDrainEnvRequest) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "production": + fallthrough + case "preview": + *e = UpdateDrainEnvRequest(v) + return nil + default: + return fmt.Errorf("invalid value for UpdateDrainEnvRequest: %v", v) + } +} + +type UpdateDrainSamplingRequest struct { + Type string `json:"type"` + // Sampling rate from 0 to 1 (e.g., 0.1 for 10%) + Rate float64 `json:"rate"` + // Environment to apply sampling to + Env *UpdateDrainEnvRequest `json:"env,omitempty"` + // Request path prefix to apply the sampling rule to + RequestPath *string `json:"requestPath,omitempty"` +} + +func (o *UpdateDrainSamplingRequest) GetType() string { + if o == nil { + return "" + } + return o.Type +} + +func (o *UpdateDrainSamplingRequest) GetRate() float64 { + if o == nil { + return 0.0 + } + return o.Rate +} + +func (o *UpdateDrainSamplingRequest) GetEnv() *UpdateDrainEnvRequest { + if o == nil { + return nil + } + return o.Env +} + +func (o *UpdateDrainSamplingRequest) GetRequestPath() *string { + if o == nil { + return nil + } + return o.RequestPath +} + +type UpdateDrainTransform struct { + ID string `json:"id"` +} + +func (o *UpdateDrainTransform) GetID() string { + if o == nil { + return "" + } + return o.ID +} + +type UpdateDrainStatusRequest string + +const ( + UpdateDrainStatusRequestEnabled UpdateDrainStatusRequest = "enabled" + UpdateDrainStatusRequestDisabled UpdateDrainStatusRequest = "disabled" +) + +func (e UpdateDrainStatusRequest) ToPointer() *UpdateDrainStatusRequest { + return &e +} +func (e *UpdateDrainStatusRequest) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "enabled": + fallthrough + case "disabled": + *e = UpdateDrainStatusRequest(v) + return nil + default: + return fmt.Errorf("invalid value for UpdateDrainStatusRequest: %v", v) + } +} + +type UpdateDrainSourceRequest4 struct { + Kind *string `default:"self-served" json:"kind"` +} + +func (u UpdateDrainSourceRequest4) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(u, "", false) +} + +func (u *UpdateDrainSourceRequest4) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &u, "", false, nil); err != nil { + return err + } + return nil +} + +func (o *UpdateDrainSourceRequest4) GetKind() *string { + if o == nil { + return nil + } + return o.Kind +} + +type UpdateDrainSourceRequest3 struct { + Kind *string `default:"integration" json:"kind"` +} + +func (u UpdateDrainSourceRequest3) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(u, "", false) +} + +func (u *UpdateDrainSourceRequest3) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &u, "", false, nil); err != nil { + return err + } + return nil +} + +func (o *UpdateDrainSourceRequest3) GetKind() *string { + if o == nil { + return nil + } + return o.Kind +} + +type UpdateDrainSourceRequest2 struct { + Kind *string `default:"integration" json:"kind"` + ResourceID string `json:"resourceId"` +} + +func (u UpdateDrainSourceRequest2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(u, "", false) +} + +func (u *UpdateDrainSourceRequest2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &u, "", false, []string{"resourceId"}); err != nil { + return err + } + return nil +} + +func (o *UpdateDrainSourceRequest2) GetKind() *string { + if o == nil { + return nil + } + return o.Kind +} + +func (o *UpdateDrainSourceRequest2) GetResourceID() string { + if o == nil { + return "" + } + return o.ResourceID +} + +type UpdateDrainSourceRequest1 struct { + Kind *string `default:"integration" json:"kind"` + ExternalResourceID string `json:"externalResourceId"` +} + +func (u UpdateDrainSourceRequest1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(u, "", false) +} + +func (u *UpdateDrainSourceRequest1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &u, "", false, []string{"externalResourceId"}); err != nil { + return err + } + return nil +} + +func (o *UpdateDrainSourceRequest1) GetKind() *string { + if o == nil { + return nil + } + return o.Kind +} + +func (o *UpdateDrainSourceRequest1) GetExternalResourceID() string { + if o == nil { + return "" + } + return o.ExternalResourceID +} + +type UpdateDrainSourceRequestUnion2Type string + +const ( + UpdateDrainSourceRequestUnion2TypeUpdateDrainSourceRequest1 UpdateDrainSourceRequestUnion2Type = "updateDrain_source_request_1" + UpdateDrainSourceRequestUnion2TypeUpdateDrainSourceRequest2 UpdateDrainSourceRequestUnion2Type = "updateDrain_source_request_2" + UpdateDrainSourceRequestUnion2TypeUpdateDrainSourceRequest3 UpdateDrainSourceRequestUnion2Type = "updateDrain_source_request_3" +) + +type UpdateDrainSourceRequestUnion2 struct { + UpdateDrainSourceRequest1 *UpdateDrainSourceRequest1 `queryParam:"inline"` + UpdateDrainSourceRequest2 *UpdateDrainSourceRequest2 `queryParam:"inline"` + UpdateDrainSourceRequest3 *UpdateDrainSourceRequest3 `queryParam:"inline"` + + Type UpdateDrainSourceRequestUnion2Type +} + +func CreateUpdateDrainSourceRequestUnion2UpdateDrainSourceRequest1(updateDrainSourceRequest1 UpdateDrainSourceRequest1) UpdateDrainSourceRequestUnion2 { + typ := UpdateDrainSourceRequestUnion2TypeUpdateDrainSourceRequest1 + + return UpdateDrainSourceRequestUnion2{ + UpdateDrainSourceRequest1: &updateDrainSourceRequest1, + Type: typ, + } +} + +func CreateUpdateDrainSourceRequestUnion2UpdateDrainSourceRequest2(updateDrainSourceRequest2 UpdateDrainSourceRequest2) UpdateDrainSourceRequestUnion2 { + typ := UpdateDrainSourceRequestUnion2TypeUpdateDrainSourceRequest2 + + return UpdateDrainSourceRequestUnion2{ + UpdateDrainSourceRequest2: &updateDrainSourceRequest2, + Type: typ, + } +} + +func CreateUpdateDrainSourceRequestUnion2UpdateDrainSourceRequest3(updateDrainSourceRequest3 UpdateDrainSourceRequest3) UpdateDrainSourceRequestUnion2 { + typ := UpdateDrainSourceRequestUnion2TypeUpdateDrainSourceRequest3 + + return UpdateDrainSourceRequestUnion2{ + UpdateDrainSourceRequest3: &updateDrainSourceRequest3, + Type: typ, + } +} + +func (u *UpdateDrainSourceRequestUnion2) UnmarshalJSON(data []byte) error { + + var updateDrainSourceRequest1 UpdateDrainSourceRequest1 = UpdateDrainSourceRequest1{} + if err := utils.UnmarshalJSON(data, &updateDrainSourceRequest1, "", true, nil); err == nil { + u.UpdateDrainSourceRequest1 = &updateDrainSourceRequest1 + u.Type = UpdateDrainSourceRequestUnion2TypeUpdateDrainSourceRequest1 + return nil + } + + var updateDrainSourceRequest2 UpdateDrainSourceRequest2 = UpdateDrainSourceRequest2{} + if err := utils.UnmarshalJSON(data, &updateDrainSourceRequest2, "", true, nil); err == nil { + u.UpdateDrainSourceRequest2 = &updateDrainSourceRequest2 + u.Type = UpdateDrainSourceRequestUnion2TypeUpdateDrainSourceRequest2 + return nil + } + + var updateDrainSourceRequest3 UpdateDrainSourceRequest3 = UpdateDrainSourceRequest3{} + if err := utils.UnmarshalJSON(data, &updateDrainSourceRequest3, "", true, nil); err == nil { + u.UpdateDrainSourceRequest3 = &updateDrainSourceRequest3 + u.Type = UpdateDrainSourceRequestUnion2TypeUpdateDrainSourceRequest3 + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for UpdateDrainSourceRequestUnion2", string(data)) +} + +func (u UpdateDrainSourceRequestUnion2) MarshalJSON() ([]byte, error) { + if u.UpdateDrainSourceRequest1 != nil { + return utils.MarshalJSON(u.UpdateDrainSourceRequest1, "", true) + } + + if u.UpdateDrainSourceRequest2 != nil { + return utils.MarshalJSON(u.UpdateDrainSourceRequest2, "", true) + } + + if u.UpdateDrainSourceRequest3 != nil { + return utils.MarshalJSON(u.UpdateDrainSourceRequest3, "", true) + } + + return nil, errors.New("could not marshal union type UpdateDrainSourceRequestUnion2: all fields are null") +} + +type UpdateDrainSourceRequestUnion1Type string + +const ( + UpdateDrainSourceRequestUnion1TypeUpdateDrainSourceRequestUnion2 UpdateDrainSourceRequestUnion1Type = "updateDrain_source_request_union_2" + UpdateDrainSourceRequestUnion1TypeUpdateDrainSourceRequest4 UpdateDrainSourceRequestUnion1Type = "updateDrain_source_request_4" +) + +type UpdateDrainSourceRequestUnion1 struct { + UpdateDrainSourceRequestUnion2 *UpdateDrainSourceRequestUnion2 `queryParam:"inline"` + UpdateDrainSourceRequest4 *UpdateDrainSourceRequest4 `queryParam:"inline"` + + Type UpdateDrainSourceRequestUnion1Type +} + +func CreateUpdateDrainSourceRequestUnion1UpdateDrainSourceRequestUnion2(updateDrainSourceRequestUnion2 UpdateDrainSourceRequestUnion2) UpdateDrainSourceRequestUnion1 { + typ := UpdateDrainSourceRequestUnion1TypeUpdateDrainSourceRequestUnion2 + + return UpdateDrainSourceRequestUnion1{ + UpdateDrainSourceRequestUnion2: &updateDrainSourceRequestUnion2, + Type: typ, + } +} + +func CreateUpdateDrainSourceRequestUnion1UpdateDrainSourceRequest4(updateDrainSourceRequest4 UpdateDrainSourceRequest4) UpdateDrainSourceRequestUnion1 { + typ := UpdateDrainSourceRequestUnion1TypeUpdateDrainSourceRequest4 + + return UpdateDrainSourceRequestUnion1{ + UpdateDrainSourceRequest4: &updateDrainSourceRequest4, + Type: typ, + } +} + +func (u *UpdateDrainSourceRequestUnion1) UnmarshalJSON(data []byte) error { + + var updateDrainSourceRequestUnion2 UpdateDrainSourceRequestUnion2 = UpdateDrainSourceRequestUnion2{} + if err := utils.UnmarshalJSON(data, &updateDrainSourceRequestUnion2, "", true, nil); err == nil { + u.UpdateDrainSourceRequestUnion2 = &updateDrainSourceRequestUnion2 + u.Type = UpdateDrainSourceRequestUnion1TypeUpdateDrainSourceRequestUnion2 + return nil + } + + var updateDrainSourceRequest4 UpdateDrainSourceRequest4 = UpdateDrainSourceRequest4{} + if err := utils.UnmarshalJSON(data, &updateDrainSourceRequest4, "", true, nil); err == nil { + u.UpdateDrainSourceRequest4 = &updateDrainSourceRequest4 + u.Type = UpdateDrainSourceRequestUnion1TypeUpdateDrainSourceRequest4 + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for UpdateDrainSourceRequestUnion1", string(data)) +} + +func (u UpdateDrainSourceRequestUnion1) MarshalJSON() ([]byte, error) { + if u.UpdateDrainSourceRequestUnion2 != nil { + return utils.MarshalJSON(u.UpdateDrainSourceRequestUnion2, "", true) + } + + if u.UpdateDrainSourceRequest4 != nil { + return utils.MarshalJSON(u.UpdateDrainSourceRequest4, "", true) + } + + return nil, errors.New("could not marshal union type UpdateDrainSourceRequestUnion1: all fields are null") +} + +type UpdateDrainRequestBody struct { + Name *string `json:"name,omitempty"` + Projects *UpdateDrainProjects `json:"projects,omitempty"` + ProjectIds []string `json:"projectIds,omitempty"` + Filter *UpdateDrainFilterRequestUnion1 `json:"filter,omitempty"` + Schemas map[string]UpdateDrainSchemasRequest `json:"schemas,omitempty"` + Delivery *UpdateDrainDeliveryRequestUnion `json:"delivery,omitempty"` + Sampling []UpdateDrainSamplingRequest `json:"sampling,omitempty"` + Transforms []UpdateDrainTransform `json:"transforms,omitempty"` + Status *UpdateDrainStatusRequest `json:"status,omitempty"` + Source *UpdateDrainSourceRequestUnion1 `json:"source,omitempty"` +} + +func (o *UpdateDrainRequestBody) GetName() *string { + if o == nil { + return nil + } + return o.Name +} + +func (o *UpdateDrainRequestBody) GetProjects() *UpdateDrainProjects { + if o == nil { + return nil + } + return o.Projects +} + +func (o *UpdateDrainRequestBody) GetProjectIds() []string { + if o == nil { + return nil + } + return o.ProjectIds +} + +func (o *UpdateDrainRequestBody) GetFilter() *UpdateDrainFilterRequestUnion1 { + if o == nil { + return nil + } + return o.Filter +} + +func (o *UpdateDrainRequestBody) GetSchemas() map[string]UpdateDrainSchemasRequest { + if o == nil { + return nil + } + return o.Schemas +} + +func (o *UpdateDrainRequestBody) GetDelivery() *UpdateDrainDeliveryRequestUnion { + if o == nil { + return nil + } + return o.Delivery +} + +func (o *UpdateDrainRequestBody) GetSampling() []UpdateDrainSamplingRequest { + if o == nil { + return nil + } + return o.Sampling +} + +func (o *UpdateDrainRequestBody) GetTransforms() []UpdateDrainTransform { + if o == nil { + return nil + } + return o.Transforms +} + +func (o *UpdateDrainRequestBody) GetStatus() *UpdateDrainStatusRequest { + if o == nil { + return nil + } + return o.Status +} + +func (o *UpdateDrainRequestBody) GetSource() *UpdateDrainSourceRequestUnion1 { + if o == nil { + return nil + } + return o.Source +} + +type UpdateDrainRequest struct { + ID string `pathParam:"style=simple,explode=false,name=id"` + // The Team identifier to perform the request on behalf of. + TeamID *string `queryParam:"style=form,explode=true,name=teamId"` + // The Team slug to perform the request on behalf of. + Slug *string `queryParam:"style=form,explode=true,name=slug"` + Body *UpdateDrainRequestBody `request:"mediaType=application/json"` +} + +func (o *UpdateDrainRequest) GetID() string { + if o == nil { + return "" + } + return o.ID +} + +func (o *UpdateDrainRequest) GetTeamID() *string { + if o == nil { + return nil + } + return o.TeamID +} + +func (o *UpdateDrainRequest) GetSlug() *string { + if o == nil { + return nil + } + return o.Slug +} + +func (o *UpdateDrainRequest) GetBody() *UpdateDrainRequestBody { + if o == nil { + return nil + } + return o.Body +} + +type UpdateDrainCreatedFrom2 string + +const ( + UpdateDrainCreatedFrom2SelfServed UpdateDrainCreatedFrom2 = "self-served" + UpdateDrainCreatedFrom2Integration UpdateDrainCreatedFrom2 = "integration" +) + +func (e UpdateDrainCreatedFrom2) ToPointer() *UpdateDrainCreatedFrom2 { + return &e +} +func (e *UpdateDrainCreatedFrom2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "self-served": + fallthrough + case "integration": + *e = UpdateDrainCreatedFrom2(v) + return nil + default: + return fmt.Errorf("invalid value for UpdateDrainCreatedFrom2: %v", v) + } +} + +type UpdateDrainSchemasLog2 struct { +} + +func (u UpdateDrainSchemasLog2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(u, "", false) +} + +func (u *UpdateDrainSchemasLog2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &u, "", false, nil); err != nil { + return err + } + return nil +} + +type UpdateDrainTrace2 struct { +} + +func (u UpdateDrainTrace2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(u, "", false) +} + +func (u *UpdateDrainTrace2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &u, "", false, nil); err != nil { + return err + } + return nil +} + +type UpdateDrainAnalytics2 struct { +} + +func (u UpdateDrainAnalytics2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(u, "", false) +} + +func (u *UpdateDrainAnalytics2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &u, "", false, nil); err != nil { + return err + } + return nil +} + +type UpdateDrainSpeedInsights2 struct { +} + +func (u UpdateDrainSpeedInsights2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(u, "", false) +} + +func (u *UpdateDrainSpeedInsights2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &u, "", false, nil); err != nil { + return err + } + return nil +} + +type UpdateDrainSchemasResponse2 struct { + Log *UpdateDrainSchemasLog2 `json:"log,omitempty"` + Trace *UpdateDrainTrace2 `json:"trace,omitempty"` + Analytics *UpdateDrainAnalytics2 `json:"analytics,omitempty"` + SpeedInsights *UpdateDrainSpeedInsights2 `json:"speed_insights,omitempty"` +} + +func (u UpdateDrainSchemasResponse2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(u, "", false) +} + +func (u *UpdateDrainSchemasResponse2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &u, "", false, nil); err != nil { + return err + } + return nil +} + +func (o *UpdateDrainSchemasResponse2) GetLog() *UpdateDrainSchemasLog2 { + if o == nil { + return nil + } + return o.Log +} + +func (o *UpdateDrainSchemasResponse2) GetTrace() *UpdateDrainTrace2 { + if o == nil { + return nil + } + return o.Trace +} + +func (o *UpdateDrainSchemasResponse2) GetAnalytics() *UpdateDrainAnalytics2 { + if o == nil { + return nil + } + return o.Analytics +} + +func (o *UpdateDrainSchemasResponse2) GetSpeedInsights() *UpdateDrainSpeedInsights2 { + if o == nil { + return nil + } + return o.SpeedInsights +} + +type UpdateDrainTypeInternal2 string + +const ( + UpdateDrainTypeInternal2Internal UpdateDrainTypeInternal2 = "internal" +) + +func (e UpdateDrainTypeInternal2) ToPointer() *UpdateDrainTypeInternal2 { + return &e +} +func (e *UpdateDrainTypeInternal2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "internal": + *e = UpdateDrainTypeInternal2(v) + return nil + default: + return fmt.Errorf("invalid value for UpdateDrainTypeInternal2: %v", v) + } +} + +type UpdateDrainTarget2 string + +const ( + UpdateDrainTarget2VercelOtelTracesDb UpdateDrainTarget2 = "vercel-otel-traces-db" +) + +func (e UpdateDrainTarget2) ToPointer() *UpdateDrainTarget2 { + return &e +} +func (e *UpdateDrainTarget2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "vercel-otel-traces-db": + *e = UpdateDrainTarget2(v) + return nil + default: + return fmt.Errorf("invalid value for UpdateDrainTarget2: %v", v) + } +} + +type UpdateDrainDeliveryVercelOtelTracesDb2 struct { + Type UpdateDrainTypeInternal2 `json:"type"` + Target UpdateDrainTarget2 `json:"target"` +} + +func (u UpdateDrainDeliveryVercelOtelTracesDb2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(u, "", false) +} + +func (u *UpdateDrainDeliveryVercelOtelTracesDb2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &u, "", false, []string{"type", "target"}); err != nil { + return err + } + return nil +} + +func (o *UpdateDrainDeliveryVercelOtelTracesDb2) GetType() UpdateDrainTypeInternal2 { + if o == nil { + return UpdateDrainTypeInternal2("") + } + return o.Type +} + +func (o *UpdateDrainDeliveryVercelOtelTracesDb2) GetTarget() UpdateDrainTarget2 { + if o == nil { + return UpdateDrainTarget2("") + } + return o.Target +} + +type UpdateDrainTypeClickhouse2 string + +const ( + UpdateDrainTypeClickhouse2Clickhouse UpdateDrainTypeClickhouse2 = "clickhouse" +) + +func (e UpdateDrainTypeClickhouse2) ToPointer() *UpdateDrainTypeClickhouse2 { + return &e +} +func (e *UpdateDrainTypeClickhouse2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "clickhouse": + *e = UpdateDrainTypeClickhouse2(v) + return nil + default: + return fmt.Errorf("invalid value for UpdateDrainTypeClickhouse2: %v", v) + } +} + +type UpdateDrainDeliveryClickhouse2 struct { + Type UpdateDrainTypeClickhouse2 `json:"type"` + Endpoint string `json:"endpoint"` + Table string `json:"table"` +} + +func (u UpdateDrainDeliveryClickhouse2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(u, "", false) +} + +func (u *UpdateDrainDeliveryClickhouse2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &u, "", false, []string{"type", "endpoint", "table"}); err != nil { + return err + } + return nil +} + +func (o *UpdateDrainDeliveryClickhouse2) GetType() UpdateDrainTypeClickhouse2 { + if o == nil { + return UpdateDrainTypeClickhouse2("") + } + return o.Type +} + +func (o *UpdateDrainDeliveryClickhouse2) GetEndpoint() string { + if o == nil { + return "" + } + return o.Endpoint +} + +func (o *UpdateDrainDeliveryClickhouse2) GetTable() string { + if o == nil { + return "" + } + return o.Table +} + +type UpdateDrainTypeOtlphttp2 string + +const ( + UpdateDrainTypeOtlphttp2Otlphttp UpdateDrainTypeOtlphttp2 = "otlphttp" +) + +func (e UpdateDrainTypeOtlphttp2) ToPointer() *UpdateDrainTypeOtlphttp2 { + return &e +} +func (e *UpdateDrainTypeOtlphttp2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "otlphttp": + *e = UpdateDrainTypeOtlphttp2(v) + return nil + default: + return fmt.Errorf("invalid value for UpdateDrainTypeOtlphttp2: %v", v) + } +} + +type UpdateDrainEndpointResponse2 struct { + Traces string `json:"traces"` +} + +func (u UpdateDrainEndpointResponse2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(u, "", false) +} + +func (u *UpdateDrainEndpointResponse2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &u, "", false, []string{"traces"}); err != nil { + return err + } + return nil +} + +func (o *UpdateDrainEndpointResponse2) GetTraces() string { + if o == nil { + return "" + } + return o.Traces +} + +type UpdateDrainEncodingResponse4 string + +const ( + UpdateDrainEncodingResponse4JSON UpdateDrainEncodingResponse4 = "json" + UpdateDrainEncodingResponse4Proto UpdateDrainEncodingResponse4 = "proto" +) + +func (e UpdateDrainEncodingResponse4) ToPointer() *UpdateDrainEncodingResponse4 { + return &e +} +func (e *UpdateDrainEncodingResponse4) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "json": + fallthrough + case "proto": + *e = UpdateDrainEncodingResponse4(v) + return nil + default: + return fmt.Errorf("invalid value for UpdateDrainEncodingResponse4: %v", v) + } +} + +type UpdateDrainDeliveryOtlphttp2 struct { + Type UpdateDrainTypeOtlphttp2 `json:"type"` + Endpoint UpdateDrainEndpointResponse2 `json:"endpoint"` + Encoding UpdateDrainEncodingResponse4 `json:"encoding"` + Headers map[string]string `json:"headers"` + Secret *string `json:"secret,omitempty"` +} + +func (u UpdateDrainDeliveryOtlphttp2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(u, "", false) +} + +func (u *UpdateDrainDeliveryOtlphttp2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &u, "", false, []string{"type", "endpoint", "encoding", "headers"}); err != nil { + return err + } + return nil +} + +func (o *UpdateDrainDeliveryOtlphttp2) GetType() UpdateDrainTypeOtlphttp2 { + if o == nil { + return UpdateDrainTypeOtlphttp2("") + } + return o.Type +} + +func (o *UpdateDrainDeliveryOtlphttp2) GetEndpoint() UpdateDrainEndpointResponse2 { + if o == nil { + return UpdateDrainEndpointResponse2{} + } + return o.Endpoint +} + +func (o *UpdateDrainDeliveryOtlphttp2) GetEncoding() UpdateDrainEncodingResponse4 { + if o == nil { + return UpdateDrainEncodingResponse4("") + } + return o.Encoding +} + +func (o *UpdateDrainDeliveryOtlphttp2) GetHeaders() map[string]string { + if o == nil { + return map[string]string{} + } + return o.Headers +} + +func (o *UpdateDrainDeliveryOtlphttp2) GetSecret() *string { + if o == nil { + return nil + } + return o.Secret +} + +type UpdateDrainTypeHTTP2 string + +const ( + UpdateDrainTypeHTTP2HTTP UpdateDrainTypeHTTP2 = "http" +) + +func (e UpdateDrainTypeHTTP2) ToPointer() *UpdateDrainTypeHTTP2 { + return &e +} +func (e *UpdateDrainTypeHTTP2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "http": + *e = UpdateDrainTypeHTTP2(v) + return nil + default: + return fmt.Errorf("invalid value for UpdateDrainTypeHTTP2: %v", v) + } +} + +type UpdateDrainEncodingResponse3 string + +const ( + UpdateDrainEncodingResponse3JSON UpdateDrainEncodingResponse3 = "json" + UpdateDrainEncodingResponse3Ndjson UpdateDrainEncodingResponse3 = "ndjson" +) + +func (e UpdateDrainEncodingResponse3) ToPointer() *UpdateDrainEncodingResponse3 { + return &e +} +func (e *UpdateDrainEncodingResponse3) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "json": + fallthrough + case "ndjson": + *e = UpdateDrainEncodingResponse3(v) + return nil + default: + return fmt.Errorf("invalid value for UpdateDrainEncodingResponse3: %v", v) + } +} + +type UpdateDrainCompressionResponse2 string + +const ( + UpdateDrainCompressionResponse2Gzip UpdateDrainCompressionResponse2 = "gzip" + UpdateDrainCompressionResponse2None UpdateDrainCompressionResponse2 = "none" +) + +func (e UpdateDrainCompressionResponse2) ToPointer() *UpdateDrainCompressionResponse2 { + return &e +} +func (e *UpdateDrainCompressionResponse2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "gzip": + fallthrough + case "none": + *e = UpdateDrainCompressionResponse2(v) + return nil + default: + return fmt.Errorf("invalid value for UpdateDrainCompressionResponse2: %v", v) + } +} + +type UpdateDrainDeliveryHTTP2 struct { + Type UpdateDrainTypeHTTP2 `json:"type"` + Endpoint string `json:"endpoint"` + Encoding UpdateDrainEncodingResponse3 `json:"encoding"` + Compression *UpdateDrainCompressionResponse2 `json:"compression,omitempty"` + Headers map[string]string `json:"headers"` + Secret *string `json:"secret,omitempty"` +} + +func (u UpdateDrainDeliveryHTTP2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(u, "", false) +} + +func (u *UpdateDrainDeliveryHTTP2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &u, "", false, []string{"type", "endpoint", "encoding", "headers"}); err != nil { + return err + } + return nil +} + +func (o *UpdateDrainDeliveryHTTP2) GetType() UpdateDrainTypeHTTP2 { + if o == nil { + return UpdateDrainTypeHTTP2("") + } + return o.Type +} + +func (o *UpdateDrainDeliveryHTTP2) GetEndpoint() string { + if o == nil { + return "" + } + return o.Endpoint +} + +func (o *UpdateDrainDeliveryHTTP2) GetEncoding() UpdateDrainEncodingResponse3 { + if o == nil { + return UpdateDrainEncodingResponse3("") + } + return o.Encoding +} + +func (o *UpdateDrainDeliveryHTTP2) GetCompression() *UpdateDrainCompressionResponse2 { + if o == nil { + return nil + } + return o.Compression +} + +func (o *UpdateDrainDeliveryHTTP2) GetHeaders() map[string]string { + if o == nil { + return map[string]string{} + } + return o.Headers +} + +func (o *UpdateDrainDeliveryHTTP2) GetSecret() *string { + if o == nil { + return nil + } + return o.Secret +} + +type UpdateDrainDeliveryResponseUnion2Type string + +const ( + UpdateDrainDeliveryResponseUnion2TypeUpdateDrainDeliveryHTTP2 UpdateDrainDeliveryResponseUnion2Type = "updateDrain_delivery_HTTP_2" + UpdateDrainDeliveryResponseUnion2TypeUpdateDrainDeliveryOtlphttp2 UpdateDrainDeliveryResponseUnion2Type = "updateDrain_delivery_Otlphttp_2" + UpdateDrainDeliveryResponseUnion2TypeUpdateDrainDeliveryClickhouse2 UpdateDrainDeliveryResponseUnion2Type = "updateDrain_delivery_Clickhouse_2" + UpdateDrainDeliveryResponseUnion2TypeUpdateDrainDeliveryVercelOtelTracesDb2 UpdateDrainDeliveryResponseUnion2Type = "updateDrain_delivery_VercelOtelTracesDb_2" +) + +type UpdateDrainDeliveryResponseUnion2 struct { + UpdateDrainDeliveryHTTP2 *UpdateDrainDeliveryHTTP2 `queryParam:"inline"` + UpdateDrainDeliveryOtlphttp2 *UpdateDrainDeliveryOtlphttp2 `queryParam:"inline"` + UpdateDrainDeliveryClickhouse2 *UpdateDrainDeliveryClickhouse2 `queryParam:"inline"` + UpdateDrainDeliveryVercelOtelTracesDb2 *UpdateDrainDeliveryVercelOtelTracesDb2 `queryParam:"inline"` + + Type UpdateDrainDeliveryResponseUnion2Type +} + +func CreateUpdateDrainDeliveryResponseUnion2UpdateDrainDeliveryHTTP2(updateDrainDeliveryHTTP2 UpdateDrainDeliveryHTTP2) UpdateDrainDeliveryResponseUnion2 { + typ := UpdateDrainDeliveryResponseUnion2TypeUpdateDrainDeliveryHTTP2 + + return UpdateDrainDeliveryResponseUnion2{ + UpdateDrainDeliveryHTTP2: &updateDrainDeliveryHTTP2, + Type: typ, + } +} + +func CreateUpdateDrainDeliveryResponseUnion2UpdateDrainDeliveryOtlphttp2(updateDrainDeliveryOtlphttp2 UpdateDrainDeliveryOtlphttp2) UpdateDrainDeliveryResponseUnion2 { + typ := UpdateDrainDeliveryResponseUnion2TypeUpdateDrainDeliveryOtlphttp2 + + return UpdateDrainDeliveryResponseUnion2{ + UpdateDrainDeliveryOtlphttp2: &updateDrainDeliveryOtlphttp2, + Type: typ, + } +} + +func CreateUpdateDrainDeliveryResponseUnion2UpdateDrainDeliveryClickhouse2(updateDrainDeliveryClickhouse2 UpdateDrainDeliveryClickhouse2) UpdateDrainDeliveryResponseUnion2 { + typ := UpdateDrainDeliveryResponseUnion2TypeUpdateDrainDeliveryClickhouse2 + + return UpdateDrainDeliveryResponseUnion2{ + UpdateDrainDeliveryClickhouse2: &updateDrainDeliveryClickhouse2, + Type: typ, + } +} + +func CreateUpdateDrainDeliveryResponseUnion2UpdateDrainDeliveryVercelOtelTracesDb2(updateDrainDeliveryVercelOtelTracesDb2 UpdateDrainDeliveryVercelOtelTracesDb2) UpdateDrainDeliveryResponseUnion2 { + typ := UpdateDrainDeliveryResponseUnion2TypeUpdateDrainDeliveryVercelOtelTracesDb2 + + return UpdateDrainDeliveryResponseUnion2{ + UpdateDrainDeliveryVercelOtelTracesDb2: &updateDrainDeliveryVercelOtelTracesDb2, + Type: typ, + } +} + +func (u *UpdateDrainDeliveryResponseUnion2) UnmarshalJSON(data []byte) error { + + var updateDrainDeliveryHTTP2 UpdateDrainDeliveryHTTP2 = UpdateDrainDeliveryHTTP2{} + if err := utils.UnmarshalJSON(data, &updateDrainDeliveryHTTP2, "", true, nil); err == nil { + u.UpdateDrainDeliveryHTTP2 = &updateDrainDeliveryHTTP2 + u.Type = UpdateDrainDeliveryResponseUnion2TypeUpdateDrainDeliveryHTTP2 + return nil + } + + var updateDrainDeliveryOtlphttp2 UpdateDrainDeliveryOtlphttp2 = UpdateDrainDeliveryOtlphttp2{} + if err := utils.UnmarshalJSON(data, &updateDrainDeliveryOtlphttp2, "", true, nil); err == nil { + u.UpdateDrainDeliveryOtlphttp2 = &updateDrainDeliveryOtlphttp2 + u.Type = UpdateDrainDeliveryResponseUnion2TypeUpdateDrainDeliveryOtlphttp2 + return nil + } + + var updateDrainDeliveryClickhouse2 UpdateDrainDeliveryClickhouse2 = UpdateDrainDeliveryClickhouse2{} + if err := utils.UnmarshalJSON(data, &updateDrainDeliveryClickhouse2, "", true, nil); err == nil { + u.UpdateDrainDeliveryClickhouse2 = &updateDrainDeliveryClickhouse2 + u.Type = UpdateDrainDeliveryResponseUnion2TypeUpdateDrainDeliveryClickhouse2 + return nil + } + + var updateDrainDeliveryVercelOtelTracesDb2 UpdateDrainDeliveryVercelOtelTracesDb2 = UpdateDrainDeliveryVercelOtelTracesDb2{} + if err := utils.UnmarshalJSON(data, &updateDrainDeliveryVercelOtelTracesDb2, "", true, nil); err == nil { + u.UpdateDrainDeliveryVercelOtelTracesDb2 = &updateDrainDeliveryVercelOtelTracesDb2 + u.Type = UpdateDrainDeliveryResponseUnion2TypeUpdateDrainDeliveryVercelOtelTracesDb2 + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for UpdateDrainDeliveryResponseUnion2", string(data)) +} + +func (u UpdateDrainDeliveryResponseUnion2) MarshalJSON() ([]byte, error) { + if u.UpdateDrainDeliveryHTTP2 != nil { + return utils.MarshalJSON(u.UpdateDrainDeliveryHTTP2, "", true) + } + + if u.UpdateDrainDeliveryOtlphttp2 != nil { + return utils.MarshalJSON(u.UpdateDrainDeliveryOtlphttp2, "", true) + } + + if u.UpdateDrainDeliveryClickhouse2 != nil { + return utils.MarshalJSON(u.UpdateDrainDeliveryClickhouse2, "", true) + } + + if u.UpdateDrainDeliveryVercelOtelTracesDb2 != nil { + return utils.MarshalJSON(u.UpdateDrainDeliveryVercelOtelTracesDb2, "", true) + } + + return nil, errors.New("could not marshal union type UpdateDrainDeliveryResponseUnion2: all fields are null") +} + +type UpdateDrainTypeHeadSampling2 string + +const ( + UpdateDrainTypeHeadSampling2HeadSampling UpdateDrainTypeHeadSampling2 = "head_sampling" +) + +func (e UpdateDrainTypeHeadSampling2) ToPointer() *UpdateDrainTypeHeadSampling2 { + return &e +} +func (e *UpdateDrainTypeHeadSampling2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "head_sampling": + *e = UpdateDrainTypeHeadSampling2(v) + return nil + default: + return fmt.Errorf("invalid value for UpdateDrainTypeHeadSampling2: %v", v) + } +} + +type UpdateDrainEnvHeadSampling2 string + +const ( + UpdateDrainEnvHeadSampling2Production UpdateDrainEnvHeadSampling2 = "production" + UpdateDrainEnvHeadSampling2Preview UpdateDrainEnvHeadSampling2 = "preview" +) + +func (e UpdateDrainEnvHeadSampling2) ToPointer() *UpdateDrainEnvHeadSampling2 { + return &e +} +func (e *UpdateDrainEnvHeadSampling2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "production": + fallthrough + case "preview": + *e = UpdateDrainEnvHeadSampling2(v) + return nil + default: + return fmt.Errorf("invalid value for UpdateDrainEnvHeadSampling2: %v", v) + } +} + +type UpdateDrainSamplingResponse2 struct { + Type UpdateDrainTypeHeadSampling2 `json:"type"` + Rate float64 `json:"rate"` + Env *UpdateDrainEnvHeadSampling2 `json:"env,omitempty"` + RequestPath *string `json:"requestPath,omitempty"` +} + +func (u UpdateDrainSamplingResponse2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(u, "", false) +} + +func (u *UpdateDrainSamplingResponse2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &u, "", false, []string{"type", "rate"}); err != nil { + return err + } + return nil +} + +func (o *UpdateDrainSamplingResponse2) GetType() UpdateDrainTypeHeadSampling2 { + if o == nil { + return UpdateDrainTypeHeadSampling2("") + } + return o.Type +} + +func (o *UpdateDrainSamplingResponse2) GetRate() float64 { + if o == nil { + return 0.0 + } + return o.Rate +} + +func (o *UpdateDrainSamplingResponse2) GetEnv() *UpdateDrainEnvHeadSampling2 { + if o == nil { + return nil + } + return o.Env +} + +func (o *UpdateDrainSamplingResponse2) GetRequestPath() *string { + if o == nil { + return nil + } + return o.RequestPath +} + +type UpdateDrainResponseBodyStatus2 string + +const ( + UpdateDrainResponseBodyStatus2Enabled UpdateDrainResponseBodyStatus2 = "enabled" + UpdateDrainResponseBodyStatus2Disabled UpdateDrainResponseBodyStatus2 = "disabled" + UpdateDrainResponseBodyStatus2Errored UpdateDrainResponseBodyStatus2 = "errored" +) + +func (e UpdateDrainResponseBodyStatus2) ToPointer() *UpdateDrainResponseBodyStatus2 { + return &e +} +func (e *UpdateDrainResponseBodyStatus2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "enabled": + fallthrough + case "disabled": + fallthrough + case "errored": + *e = UpdateDrainResponseBodyStatus2(v) + return nil + default: + return fmt.Errorf("invalid value for UpdateDrainResponseBodyStatus2: %v", v) + } +} + +type UpdateDrainDisabledReason2 string + +const ( + UpdateDrainDisabledReason2DisabledByOwner UpdateDrainDisabledReason2 = "disabled-by-owner" + UpdateDrainDisabledReason2FeatureNotAvailable UpdateDrainDisabledReason2 = "feature-not-available" + UpdateDrainDisabledReason2AccountPlanDowngrade UpdateDrainDisabledReason2 = "account-plan-downgrade" + UpdateDrainDisabledReason2DisabledByAdmin UpdateDrainDisabledReason2 = "disabled-by-admin" +) + +func (e UpdateDrainDisabledReason2) ToPointer() *UpdateDrainDisabledReason2 { + return &e +} +func (e *UpdateDrainDisabledReason2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "disabled-by-owner": + fallthrough + case "feature-not-available": + fallthrough + case "account-plan-downgrade": + fallthrough + case "disabled-by-admin": + *e = UpdateDrainDisabledReason2(v) + return nil + default: + return fmt.Errorf("invalid value for UpdateDrainDisabledReason2: %v", v) + } +} + +type UpdateDrainKindIntegration2 string + +const ( + UpdateDrainKindIntegration2Integration UpdateDrainKindIntegration2 = "integration" +) + +func (e UpdateDrainKindIntegration2) ToPointer() *UpdateDrainKindIntegration2 { + return &e +} +func (e *UpdateDrainKindIntegration2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "integration": + *e = UpdateDrainKindIntegration2(v) + return nil + default: + return fmt.Errorf("invalid value for UpdateDrainKindIntegration2: %v", v) + } +} + +type UpdateDrainSourceIntegration2 struct { + Kind UpdateDrainKindIntegration2 `json:"kind"` + ResourceID *string `json:"resourceId,omitempty"` + ExternalResourceID *string `json:"externalResourceId,omitempty"` + IntegrationID string `json:"integrationId"` + IntegrationConfigurationID string `json:"integrationConfigurationId"` +} + +func (u UpdateDrainSourceIntegration2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(u, "", false) +} + +func (u *UpdateDrainSourceIntegration2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &u, "", false, []string{"kind", "integrationId", "integrationConfigurationId"}); err != nil { + return err + } + return nil +} + +func (o *UpdateDrainSourceIntegration2) GetKind() UpdateDrainKindIntegration2 { + if o == nil { + return UpdateDrainKindIntegration2("") + } + return o.Kind +} + +func (o *UpdateDrainSourceIntegration2) GetResourceID() *string { + if o == nil { + return nil + } + return o.ResourceID +} + +func (o *UpdateDrainSourceIntegration2) GetExternalResourceID() *string { + if o == nil { + return nil + } + return o.ExternalResourceID +} + +func (o *UpdateDrainSourceIntegration2) GetIntegrationID() string { + if o == nil { + return "" + } + return o.IntegrationID +} + +func (o *UpdateDrainSourceIntegration2) GetIntegrationConfigurationID() string { + if o == nil { + return "" + } + return o.IntegrationConfigurationID +} + +type UpdateDrainKindSelfServed2 string + +const ( + UpdateDrainKindSelfServed2SelfServed UpdateDrainKindSelfServed2 = "self-served" +) + +func (e UpdateDrainKindSelfServed2) ToPointer() *UpdateDrainKindSelfServed2 { + return &e +} +func (e *UpdateDrainKindSelfServed2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "self-served": + *e = UpdateDrainKindSelfServed2(v) + return nil + default: + return fmt.Errorf("invalid value for UpdateDrainKindSelfServed2: %v", v) + } +} + +type UpdateDrainSourceSelfServed2 struct { + Kind UpdateDrainKindSelfServed2 `json:"kind"` +} + +func (u UpdateDrainSourceSelfServed2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(u, "", false) +} + +func (u *UpdateDrainSourceSelfServed2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &u, "", false, []string{"kind"}); err != nil { + return err + } + return nil +} + +func (o *UpdateDrainSourceSelfServed2) GetKind() UpdateDrainKindSelfServed2 { + if o == nil { + return UpdateDrainKindSelfServed2("") + } + return o.Kind +} + +type UpdateDrainResponseBodySourceUnion2Type string + +const ( + UpdateDrainResponseBodySourceUnion2TypeUpdateDrainSourceSelfServed2 UpdateDrainResponseBodySourceUnion2Type = "updateDrain_source_SelfServed_2" + UpdateDrainResponseBodySourceUnion2TypeUpdateDrainSourceIntegration2 UpdateDrainResponseBodySourceUnion2Type = "updateDrain_source_Integration_2" +) + +type UpdateDrainResponseBodySourceUnion2 struct { + UpdateDrainSourceSelfServed2 *UpdateDrainSourceSelfServed2 `queryParam:"inline"` + UpdateDrainSourceIntegration2 *UpdateDrainSourceIntegration2 `queryParam:"inline"` + + Type UpdateDrainResponseBodySourceUnion2Type +} + +func CreateUpdateDrainResponseBodySourceUnion2UpdateDrainSourceSelfServed2(updateDrainSourceSelfServed2 UpdateDrainSourceSelfServed2) UpdateDrainResponseBodySourceUnion2 { + typ := UpdateDrainResponseBodySourceUnion2TypeUpdateDrainSourceSelfServed2 + + return UpdateDrainResponseBodySourceUnion2{ + UpdateDrainSourceSelfServed2: &updateDrainSourceSelfServed2, + Type: typ, + } +} + +func CreateUpdateDrainResponseBodySourceUnion2UpdateDrainSourceIntegration2(updateDrainSourceIntegration2 UpdateDrainSourceIntegration2) UpdateDrainResponseBodySourceUnion2 { + typ := UpdateDrainResponseBodySourceUnion2TypeUpdateDrainSourceIntegration2 + + return UpdateDrainResponseBodySourceUnion2{ + UpdateDrainSourceIntegration2: &updateDrainSourceIntegration2, + Type: typ, + } +} + +func (u *UpdateDrainResponseBodySourceUnion2) UnmarshalJSON(data []byte) error { + + var updateDrainSourceIntegration2 UpdateDrainSourceIntegration2 = UpdateDrainSourceIntegration2{} + if err := utils.UnmarshalJSON(data, &updateDrainSourceIntegration2, "", true, nil); err == nil { + u.UpdateDrainSourceIntegration2 = &updateDrainSourceIntegration2 + u.Type = UpdateDrainResponseBodySourceUnion2TypeUpdateDrainSourceIntegration2 + return nil + } + + var updateDrainSourceSelfServed2 UpdateDrainSourceSelfServed2 = UpdateDrainSourceSelfServed2{} + if err := utils.UnmarshalJSON(data, &updateDrainSourceSelfServed2, "", true, nil); err == nil { + u.UpdateDrainSourceSelfServed2 = &updateDrainSourceSelfServed2 + u.Type = UpdateDrainResponseBodySourceUnion2TypeUpdateDrainSourceSelfServed2 + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for UpdateDrainResponseBodySourceUnion2", string(data)) +} + +func (u UpdateDrainResponseBodySourceUnion2) MarshalJSON() ([]byte, error) { + if u.UpdateDrainSourceSelfServed2 != nil { + return utils.MarshalJSON(u.UpdateDrainSourceSelfServed2, "", true) + } + + if u.UpdateDrainSourceIntegration2 != nil { + return utils.MarshalJSON(u.UpdateDrainSourceIntegration2, "", true) + } + + return nil, errors.New("could not marshal union type UpdateDrainResponseBodySourceUnion2: all fields are null") +} + +type UpdateDrainVersionV22 string + +const ( + UpdateDrainVersionV22V2 UpdateDrainVersionV22 = "v2" +) + +func (e UpdateDrainVersionV22) ToPointer() *UpdateDrainVersionV22 { + return &e +} +func (e *UpdateDrainVersionV22) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "v2": + *e = UpdateDrainVersionV22(v) + return nil + default: + return fmt.Errorf("invalid value for UpdateDrainVersionV22: %v", v) + } +} + +type UpdateDrainTypeOdata2 string + +const ( + UpdateDrainTypeOdata2Odata UpdateDrainTypeOdata2 = "odata" +) + +func (e UpdateDrainTypeOdata2) ToPointer() *UpdateDrainTypeOdata2 { + return &e +} +func (e *UpdateDrainTypeOdata2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "odata": + *e = UpdateDrainTypeOdata2(v) + return nil + default: + return fmt.Errorf("invalid value for UpdateDrainTypeOdata2: %v", v) + } +} + +type UpdateDrainFilterOdata2 struct { + Type UpdateDrainTypeOdata2 `json:"type"` + Text string `json:"text"` +} + +func (u UpdateDrainFilterOdata2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(u, "", false) +} + +func (u *UpdateDrainFilterOdata2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &u, "", false, []string{"type", "text"}); err != nil { + return err + } + return nil +} + +func (o *UpdateDrainFilterOdata2) GetType() UpdateDrainTypeOdata2 { + if o == nil { + return UpdateDrainTypeOdata2("") + } + return o.Type +} + +func (o *UpdateDrainFilterOdata2) GetText() string { + if o == nil { + return "" + } + return o.Text +} + +type UpdateDrainTypeBasic2 string + +const ( + UpdateDrainTypeBasic2Basic UpdateDrainTypeBasic2 = "basic" +) + +func (e UpdateDrainTypeBasic2) ToPointer() *UpdateDrainTypeBasic2 { + return &e +} +func (e *UpdateDrainTypeBasic2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "basic": + *e = UpdateDrainTypeBasic2(v) + return nil + default: + return fmt.Errorf("invalid value for UpdateDrainTypeBasic2: %v", v) + } +} + +type UpdateDrainFilterV2Project2 struct { + Ids []string `json:"ids,omitempty"` +} + +func (u UpdateDrainFilterV2Project2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(u, "", false) +} + +func (u *UpdateDrainFilterV2Project2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &u, "", false, nil); err != nil { + return err + } + return nil +} + +func (o *UpdateDrainFilterV2Project2) GetIds() []string { + if o == nil { + return nil + } + return o.Ids +} + +type UpdateDrainFilterV2Source2 string + +const ( + UpdateDrainFilterV2Source2Build UpdateDrainFilterV2Source2 = "build" + UpdateDrainFilterV2Source2Edge UpdateDrainFilterV2Source2 = "edge" + UpdateDrainFilterV2Source2Lambda UpdateDrainFilterV2Source2 = "lambda" + UpdateDrainFilterV2Source2Static UpdateDrainFilterV2Source2 = "static" + UpdateDrainFilterV2Source2External UpdateDrainFilterV2Source2 = "external" + UpdateDrainFilterV2Source2Firewall UpdateDrainFilterV2Source2 = "firewall" + UpdateDrainFilterV2Source2Redirect UpdateDrainFilterV2Source2 = "redirect" +) + +func (e UpdateDrainFilterV2Source2) ToPointer() *UpdateDrainFilterV2Source2 { + return &e +} +func (e *UpdateDrainFilterV2Source2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "build": + fallthrough + case "edge": + fallthrough + case "lambda": + fallthrough + case "static": + fallthrough + case "external": + fallthrough + case "firewall": + fallthrough + case "redirect": + *e = UpdateDrainFilterV2Source2(v) + return nil + default: + return fmt.Errorf("invalid value for UpdateDrainFilterV2Source2: %v", v) + } +} + +type UpdateDrainFilterV2Log2 struct { + Sources []UpdateDrainFilterV2Source2 `json:"sources,omitempty"` + LegacyExcludeCachedStaticAssetLogs *bool `json:"legacy_excludeCachedStaticAssetLogs,omitempty"` +} + +func (u UpdateDrainFilterV2Log2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(u, "", false) +} + +func (u *UpdateDrainFilterV2Log2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &u, "", false, nil); err != nil { + return err + } + return nil +} + +func (o *UpdateDrainFilterV2Log2) GetSources() []UpdateDrainFilterV2Source2 { + if o == nil { + return nil + } + return o.Sources +} + +func (o *UpdateDrainFilterV2Log2) GetLegacyExcludeCachedStaticAssetLogs() *bool { + if o == nil { + return nil + } + return o.LegacyExcludeCachedStaticAssetLogs +} + +type UpdateDrainFilterV2Environment2 string + +const ( + UpdateDrainFilterV2Environment2Production UpdateDrainFilterV2Environment2 = "production" + UpdateDrainFilterV2Environment2Preview UpdateDrainFilterV2Environment2 = "preview" +) + +func (e UpdateDrainFilterV2Environment2) ToPointer() *UpdateDrainFilterV2Environment2 { + return &e +} +func (e *UpdateDrainFilterV2Environment2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "production": + fallthrough + case "preview": + *e = UpdateDrainFilterV2Environment2(v) + return nil + default: + return fmt.Errorf("invalid value for UpdateDrainFilterV2Environment2: %v", v) + } +} + +type UpdateDrainFilterV2Deployment2 struct { + Environments []UpdateDrainFilterV2Environment2 `json:"environments,omitempty"` +} + +func (u UpdateDrainFilterV2Deployment2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(u, "", false) +} + +func (u *UpdateDrainFilterV2Deployment2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &u, "", false, nil); err != nil { + return err + } + return nil +} + +func (o *UpdateDrainFilterV2Deployment2) GetEnvironments() []UpdateDrainFilterV2Environment2 { + if o == nil { + return nil + } + return o.Environments +} + +type UpdateDrainFilterBasic2 struct { + Type UpdateDrainTypeBasic2 `json:"type"` + Project *UpdateDrainFilterV2Project2 `json:"project,omitempty"` + Log *UpdateDrainFilterV2Log2 `json:"log,omitempty"` + Deployment *UpdateDrainFilterV2Deployment2 `json:"deployment,omitempty"` +} + +func (u UpdateDrainFilterBasic2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(u, "", false) +} + +func (u *UpdateDrainFilterBasic2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &u, "", false, []string{"type"}); err != nil { + return err + } + return nil +} + +func (o *UpdateDrainFilterBasic2) GetType() UpdateDrainTypeBasic2 { + if o == nil { + return UpdateDrainTypeBasic2("") + } + return o.Type +} + +func (o *UpdateDrainFilterBasic2) GetProject() *UpdateDrainFilterV2Project2 { + if o == nil { + return nil + } + return o.Project +} + +func (o *UpdateDrainFilterBasic2) GetLog() *UpdateDrainFilterV2Log2 { + if o == nil { + return nil + } + return o.Log +} + +func (o *UpdateDrainFilterBasic2) GetDeployment() *UpdateDrainFilterV2Deployment2 { + if o == nil { + return nil + } + return o.Deployment +} + +type UpdateDrainFilterResponseUnion2Type string + +const ( + UpdateDrainFilterResponseUnion2TypeUpdateDrainFilterBasic2 UpdateDrainFilterResponseUnion2Type = "updateDrain_filter_Basic_2" + UpdateDrainFilterResponseUnion2TypeUpdateDrainFilterOdata2 UpdateDrainFilterResponseUnion2Type = "updateDrain_filter_Odata_2" +) + +type UpdateDrainFilterResponseUnion2 struct { + UpdateDrainFilterBasic2 *UpdateDrainFilterBasic2 `queryParam:"inline"` + UpdateDrainFilterOdata2 *UpdateDrainFilterOdata2 `queryParam:"inline"` + + Type UpdateDrainFilterResponseUnion2Type +} + +func CreateUpdateDrainFilterResponseUnion2UpdateDrainFilterBasic2(updateDrainFilterBasic2 UpdateDrainFilterBasic2) UpdateDrainFilterResponseUnion2 { + typ := UpdateDrainFilterResponseUnion2TypeUpdateDrainFilterBasic2 + + return UpdateDrainFilterResponseUnion2{ + UpdateDrainFilterBasic2: &updateDrainFilterBasic2, + Type: typ, + } +} + +func CreateUpdateDrainFilterResponseUnion2UpdateDrainFilterOdata2(updateDrainFilterOdata2 UpdateDrainFilterOdata2) UpdateDrainFilterResponseUnion2 { + typ := UpdateDrainFilterResponseUnion2TypeUpdateDrainFilterOdata2 + + return UpdateDrainFilterResponseUnion2{ + UpdateDrainFilterOdata2: &updateDrainFilterOdata2, + Type: typ, + } +} + +func (u *UpdateDrainFilterResponseUnion2) UnmarshalJSON(data []byte) error { + + var updateDrainFilterOdata2 UpdateDrainFilterOdata2 = UpdateDrainFilterOdata2{} + if err := utils.UnmarshalJSON(data, &updateDrainFilterOdata2, "", true, nil); err == nil { + u.UpdateDrainFilterOdata2 = &updateDrainFilterOdata2 + u.Type = UpdateDrainFilterResponseUnion2TypeUpdateDrainFilterOdata2 + return nil + } + + var updateDrainFilterBasic2 UpdateDrainFilterBasic2 = UpdateDrainFilterBasic2{} + if err := utils.UnmarshalJSON(data, &updateDrainFilterBasic2, "", true, nil); err == nil { + u.UpdateDrainFilterBasic2 = &updateDrainFilterBasic2 + u.Type = UpdateDrainFilterResponseUnion2TypeUpdateDrainFilterBasic2 + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for UpdateDrainFilterResponseUnion2", string(data)) +} + +func (u UpdateDrainFilterResponseUnion2) MarshalJSON() ([]byte, error) { + if u.UpdateDrainFilterBasic2 != nil { + return utils.MarshalJSON(u.UpdateDrainFilterBasic2, "", true) + } + + if u.UpdateDrainFilterOdata2 != nil { + return utils.MarshalJSON(u.UpdateDrainFilterOdata2, "", true) + } + + return nil, errors.New("could not marshal union type UpdateDrainFilterResponseUnion2: all fields are null") +} + +type UpdateDrainFilterV2V22 struct { + Version UpdateDrainVersionV22 `json:"version"` + Filter UpdateDrainFilterResponseUnion2 `json:"filter"` +} + +func (u UpdateDrainFilterV2V22) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(u, "", false) +} + +func (u *UpdateDrainFilterV2V22) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &u, "", false, []string{"version", "filter"}); err != nil { + return err + } + return nil +} + +func (o *UpdateDrainFilterV2V22) GetVersion() UpdateDrainVersionV22 { + if o == nil { + return UpdateDrainVersionV22("") + } + return o.Version +} + +func (o *UpdateDrainFilterV2V22) GetFilter() UpdateDrainFilterResponseUnion2 { + if o == nil { + return UpdateDrainFilterResponseUnion2{} + } + return o.Filter +} + +type UpdateDrainVersionV12 string + +const ( + UpdateDrainVersionV12V1 UpdateDrainVersionV12 = "v1" +) + +func (e UpdateDrainVersionV12) ToPointer() *UpdateDrainVersionV12 { + return &e +} +func (e *UpdateDrainVersionV12) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "v1": + *e = UpdateDrainVersionV12(v) + return nil + default: + return fmt.Errorf("invalid value for UpdateDrainVersionV12: %v", v) + } +} + +type UpdateDrainFilterV2V12 struct { + Version UpdateDrainVersionV12 `json:"version"` +} + +func (u UpdateDrainFilterV2V12) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(u, "", false) +} + +func (u *UpdateDrainFilterV2V12) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &u, "", false, []string{"version"}); err != nil { + return err + } + return nil +} + +func (o *UpdateDrainFilterV2V12) GetVersion() UpdateDrainVersionV12 { + if o == nil { + return UpdateDrainVersionV12("") + } + return o.Version +} + +type UpdateDrainFilterV2Union2Type string + +const ( + UpdateDrainFilterV2Union2TypeUpdateDrainFilterV2V12 UpdateDrainFilterV2Union2Type = "updateDrain_filterV2_V1_2" + UpdateDrainFilterV2Union2TypeUpdateDrainFilterV2V22 UpdateDrainFilterV2Union2Type = "updateDrain_filterV2_V2_2" +) + +type UpdateDrainFilterV2Union2 struct { + UpdateDrainFilterV2V12 *UpdateDrainFilterV2V12 `queryParam:"inline"` + UpdateDrainFilterV2V22 *UpdateDrainFilterV2V22 `queryParam:"inline"` + + Type UpdateDrainFilterV2Union2Type +} + +func CreateUpdateDrainFilterV2Union2UpdateDrainFilterV2V12(updateDrainFilterV2V12 UpdateDrainFilterV2V12) UpdateDrainFilterV2Union2 { + typ := UpdateDrainFilterV2Union2TypeUpdateDrainFilterV2V12 + + return UpdateDrainFilterV2Union2{ + UpdateDrainFilterV2V12: &updateDrainFilterV2V12, + Type: typ, + } +} + +func CreateUpdateDrainFilterV2Union2UpdateDrainFilterV2V22(updateDrainFilterV2V22 UpdateDrainFilterV2V22) UpdateDrainFilterV2Union2 { + typ := UpdateDrainFilterV2Union2TypeUpdateDrainFilterV2V22 + + return UpdateDrainFilterV2Union2{ + UpdateDrainFilterV2V22: &updateDrainFilterV2V22, + Type: typ, + } +} + +func (u *UpdateDrainFilterV2Union2) UnmarshalJSON(data []byte) error { + + var updateDrainFilterV2V22 UpdateDrainFilterV2V22 = UpdateDrainFilterV2V22{} + if err := utils.UnmarshalJSON(data, &updateDrainFilterV2V22, "", true, nil); err == nil { + u.UpdateDrainFilterV2V22 = &updateDrainFilterV2V22 + u.Type = UpdateDrainFilterV2Union2TypeUpdateDrainFilterV2V22 + return nil + } + + var updateDrainFilterV2V12 UpdateDrainFilterV2V12 = UpdateDrainFilterV2V12{} + if err := utils.UnmarshalJSON(data, &updateDrainFilterV2V12, "", true, nil); err == nil { + u.UpdateDrainFilterV2V12 = &updateDrainFilterV2V12 + u.Type = UpdateDrainFilterV2Union2TypeUpdateDrainFilterV2V12 + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for UpdateDrainFilterV2Union2", string(data)) +} + +func (u UpdateDrainFilterV2Union2) MarshalJSON() ([]byte, error) { + if u.UpdateDrainFilterV2V12 != nil { + return utils.MarshalJSON(u.UpdateDrainFilterV2V12, "", true) + } + + if u.UpdateDrainFilterV2V22 != nil { + return utils.MarshalJSON(u.UpdateDrainFilterV2V22, "", true) + } + + return nil, errors.New("could not marshal union type UpdateDrainFilterV2Union2: all fields are null") +} + +type UpdateDrainFramework string + +const ( + UpdateDrainFrameworkBlitzjs UpdateDrainFramework = "blitzjs" + UpdateDrainFrameworkNextjs UpdateDrainFramework = "nextjs" + UpdateDrainFrameworkGatsby UpdateDrainFramework = "gatsby" + UpdateDrainFrameworkRemix UpdateDrainFramework = "remix" + UpdateDrainFrameworkReactRouter UpdateDrainFramework = "react-router" + UpdateDrainFrameworkAstro UpdateDrainFramework = "astro" + UpdateDrainFrameworkHexo UpdateDrainFramework = "hexo" + UpdateDrainFrameworkEleventy UpdateDrainFramework = "eleventy" + UpdateDrainFrameworkDocusaurus2 UpdateDrainFramework = "docusaurus-2" + UpdateDrainFrameworkDocusaurus UpdateDrainFramework = "docusaurus" + UpdateDrainFrameworkPreact UpdateDrainFramework = "preact" + UpdateDrainFrameworkSolidstart1 UpdateDrainFramework = "solidstart-1" + UpdateDrainFrameworkSolidstart UpdateDrainFramework = "solidstart" + UpdateDrainFrameworkDojo UpdateDrainFramework = "dojo" + UpdateDrainFrameworkEmber UpdateDrainFramework = "ember" + UpdateDrainFrameworkVue UpdateDrainFramework = "vue" + UpdateDrainFrameworkScully UpdateDrainFramework = "scully" + UpdateDrainFrameworkIonicAngular UpdateDrainFramework = "ionic-angular" + UpdateDrainFrameworkAngular UpdateDrainFramework = "angular" + UpdateDrainFrameworkPolymer UpdateDrainFramework = "polymer" + UpdateDrainFrameworkSvelte UpdateDrainFramework = "svelte" + UpdateDrainFrameworkSveltekit UpdateDrainFramework = "sveltekit" + UpdateDrainFrameworkSveltekit1 UpdateDrainFramework = "sveltekit-1" + UpdateDrainFrameworkIonicReact UpdateDrainFramework = "ionic-react" + UpdateDrainFrameworkCreateReactApp UpdateDrainFramework = "create-react-app" + UpdateDrainFrameworkGridsome UpdateDrainFramework = "gridsome" + UpdateDrainFrameworkUmijs UpdateDrainFramework = "umijs" + UpdateDrainFrameworkSapper UpdateDrainFramework = "sapper" + UpdateDrainFrameworkSaber UpdateDrainFramework = "saber" + UpdateDrainFrameworkStencil UpdateDrainFramework = "stencil" + UpdateDrainFrameworkNuxtjs UpdateDrainFramework = "nuxtjs" + UpdateDrainFrameworkRedwoodjs UpdateDrainFramework = "redwoodjs" + UpdateDrainFrameworkHugo UpdateDrainFramework = "hugo" + UpdateDrainFrameworkJekyll UpdateDrainFramework = "jekyll" + UpdateDrainFrameworkBrunch UpdateDrainFramework = "brunch" + UpdateDrainFrameworkMiddleman UpdateDrainFramework = "middleman" + UpdateDrainFrameworkZola UpdateDrainFramework = "zola" + UpdateDrainFrameworkHydrogen UpdateDrainFramework = "hydrogen" + UpdateDrainFrameworkVite UpdateDrainFramework = "vite" + UpdateDrainFrameworkTanstackStart UpdateDrainFramework = "tanstack-start" + UpdateDrainFrameworkVitepress UpdateDrainFramework = "vitepress" + UpdateDrainFrameworkVuepress UpdateDrainFramework = "vuepress" + UpdateDrainFrameworkParcel UpdateDrainFramework = "parcel" + UpdateDrainFrameworkFastapi UpdateDrainFramework = "fastapi" + UpdateDrainFrameworkFlask UpdateDrainFramework = "flask" + UpdateDrainFrameworkFasthtml UpdateDrainFramework = "fasthtml" + UpdateDrainFrameworkSanityV3 UpdateDrainFramework = "sanity-v3" + UpdateDrainFrameworkSanity UpdateDrainFramework = "sanity" + UpdateDrainFrameworkStorybook UpdateDrainFramework = "storybook" + UpdateDrainFrameworkNitro UpdateDrainFramework = "nitro" + UpdateDrainFrameworkHono UpdateDrainFramework = "hono" + UpdateDrainFrameworkExpress UpdateDrainFramework = "express" + UpdateDrainFrameworkH3 UpdateDrainFramework = "h3" + UpdateDrainFrameworkNestjs UpdateDrainFramework = "nestjs" + UpdateDrainFrameworkElysia UpdateDrainFramework = "elysia" + UpdateDrainFrameworkFastify UpdateDrainFramework = "fastify" + UpdateDrainFrameworkXmcp UpdateDrainFramework = "xmcp" +) + +func (e UpdateDrainFramework) ToPointer() *UpdateDrainFramework { + return &e +} +func (e *UpdateDrainFramework) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "blitzjs": + fallthrough + case "nextjs": + fallthrough + case "gatsby": + fallthrough + case "remix": + fallthrough + case "react-router": + fallthrough + case "astro": + fallthrough + case "hexo": + fallthrough + case "eleventy": + fallthrough + case "docusaurus-2": + fallthrough + case "docusaurus": + fallthrough + case "preact": + fallthrough + case "solidstart-1": + fallthrough + case "solidstart": + fallthrough + case "dojo": + fallthrough + case "ember": + fallthrough + case "vue": + fallthrough + case "scully": + fallthrough + case "ionic-angular": + fallthrough + case "angular": + fallthrough + case "polymer": + fallthrough + case "svelte": + fallthrough + case "sveltekit": + fallthrough + case "sveltekit-1": + fallthrough + case "ionic-react": + fallthrough + case "create-react-app": + fallthrough + case "gridsome": + fallthrough + case "umijs": + fallthrough + case "sapper": + fallthrough + case "saber": + fallthrough + case "stencil": + fallthrough + case "nuxtjs": + fallthrough + case "redwoodjs": + fallthrough + case "hugo": + fallthrough + case "jekyll": + fallthrough + case "brunch": + fallthrough + case "middleman": + fallthrough + case "zola": + fallthrough + case "hydrogen": + fallthrough + case "vite": + fallthrough + case "tanstack-start": + fallthrough + case "vitepress": + fallthrough + case "vuepress": + fallthrough + case "parcel": + fallthrough + case "fastapi": + fallthrough + case "flask": + fallthrough + case "fasthtml": + fallthrough + case "sanity-v3": + fallthrough + case "sanity": + fallthrough + case "storybook": + fallthrough + case "nitro": + fallthrough + case "hono": + fallthrough + case "express": + fallthrough + case "h3": + fallthrough + case "nestjs": + fallthrough + case "elysia": + fallthrough + case "fastify": + fallthrough + case "xmcp": + *e = UpdateDrainFramework(v) + return nil + default: + return fmt.Errorf("invalid value for UpdateDrainFramework: %v", v) + } +} + +type UpdateDrainProjectsMetadatum struct { + ID string `json:"id"` + Name string `json:"name"` + Framework *UpdateDrainFramework `json:"framework,omitempty"` + LatestDeployment *string `json:"latestDeployment,omitempty"` +} + +func (u UpdateDrainProjectsMetadatum) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(u, "", false) +} + +func (u *UpdateDrainProjectsMetadatum) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &u, "", false, []string{"id", "name"}); err != nil { + return err + } + return nil +} + +func (o *UpdateDrainProjectsMetadatum) GetID() string { + if o == nil { + return "" + } + return o.ID +} + +func (o *UpdateDrainProjectsMetadatum) GetName() string { + if o == nil { + return "" + } + return o.Name +} + +func (o *UpdateDrainProjectsMetadatum) GetFramework() *UpdateDrainFramework { + if o == nil { + return nil + } + return o.Framework +} + +func (o *UpdateDrainProjectsMetadatum) GetLatestDeployment() *string { + if o == nil { + return nil + } + return o.LatestDeployment +} + +type UpdateDrainResponseBody2 struct { + ID string `json:"id"` + OwnerID string `json:"ownerId"` + Name string `json:"name"` + CreatedAt float64 `json:"createdAt"` + CreatedFrom *UpdateDrainCreatedFrom2 `json:"createdFrom,omitempty"` + UpdatedAt float64 `json:"updatedAt"` + ProjectIds []string `json:"projectIds,omitempty"` + Schemas *UpdateDrainSchemasResponse2 `json:"schemas,omitempty"` + Delivery *UpdateDrainDeliveryResponseUnion2 `json:"delivery,omitempty"` + Sampling []UpdateDrainSamplingResponse2 `json:"sampling,omitempty"` + TeamID *string `json:"teamId,omitempty"` + Status *UpdateDrainResponseBodyStatus2 `json:"status,omitempty"` + DisabledAt *float64 `json:"disabledAt,omitempty"` + DisabledReason *UpdateDrainDisabledReason2 `json:"disabledReason,omitempty"` + DisabledBy *string `json:"disabledBy,omitempty"` + FirstErrorTimestamp *float64 `json:"firstErrorTimestamp,omitempty"` + ConfigurationID *string `json:"configurationId,omitempty"` + ClientID *string `json:"clientId,omitempty"` + Source UpdateDrainResponseBodySourceUnion2 `json:"source"` + Filter *string `json:"filter,omitempty"` + FilterV2 *UpdateDrainFilterV2Union2 `json:"filterV2,omitempty"` + IntegrationIcon *string `json:"integrationIcon,omitempty"` + IntegrationConfigurationURI *string `json:"integrationConfigurationUri,omitempty"` + IntegrationWebsite *string `json:"integrationWebsite,omitempty"` + ProjectsMetadata []UpdateDrainProjectsMetadatum `json:"projectsMetadata,omitempty"` +} + +func (u UpdateDrainResponseBody2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(u, "", false) +} + +func (u *UpdateDrainResponseBody2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &u, "", false, []string{"id", "ownerId", "name", "createdAt", "updatedAt", "source"}); err != nil { + return err + } + return nil +} + +func (o *UpdateDrainResponseBody2) GetID() string { + if o == nil { + return "" + } + return o.ID +} + +func (o *UpdateDrainResponseBody2) GetOwnerID() string { + if o == nil { + return "" + } + return o.OwnerID +} + +func (o *UpdateDrainResponseBody2) GetName() string { + if o == nil { + return "" + } + return o.Name +} + +func (o *UpdateDrainResponseBody2) GetCreatedAt() float64 { + if o == nil { + return 0.0 + } + return o.CreatedAt +} + +func (o *UpdateDrainResponseBody2) GetCreatedFrom() *UpdateDrainCreatedFrom2 { + if o == nil { + return nil + } + return o.CreatedFrom +} + +func (o *UpdateDrainResponseBody2) GetUpdatedAt() float64 { + if o == nil { + return 0.0 + } + return o.UpdatedAt +} + +func (o *UpdateDrainResponseBody2) GetProjectIds() []string { + if o == nil { + return nil + } + return o.ProjectIds +} + +func (o *UpdateDrainResponseBody2) GetSchemas() *UpdateDrainSchemasResponse2 { + if o == nil { + return nil + } + return o.Schemas +} + +func (o *UpdateDrainResponseBody2) GetDelivery() *UpdateDrainDeliveryResponseUnion2 { + if o == nil { + return nil + } + return o.Delivery +} + +func (o *UpdateDrainResponseBody2) GetSampling() []UpdateDrainSamplingResponse2 { + if o == nil { + return nil + } + return o.Sampling +} + +func (o *UpdateDrainResponseBody2) GetTeamID() *string { + if o == nil { + return nil + } + return o.TeamID +} + +func (o *UpdateDrainResponseBody2) GetStatus() *UpdateDrainResponseBodyStatus2 { + if o == nil { + return nil + } + return o.Status +} + +func (o *UpdateDrainResponseBody2) GetDisabledAt() *float64 { + if o == nil { + return nil + } + return o.DisabledAt +} + +func (o *UpdateDrainResponseBody2) GetDisabledReason() *UpdateDrainDisabledReason2 { + if o == nil { + return nil + } + return o.DisabledReason +} + +func (o *UpdateDrainResponseBody2) GetDisabledBy() *string { + if o == nil { + return nil + } + return o.DisabledBy +} + +func (o *UpdateDrainResponseBody2) GetFirstErrorTimestamp() *float64 { + if o == nil { + return nil + } + return o.FirstErrorTimestamp +} + +func (o *UpdateDrainResponseBody2) GetConfigurationID() *string { + if o == nil { + return nil + } + return o.ConfigurationID +} + +func (o *UpdateDrainResponseBody2) GetClientID() *string { + if o == nil { + return nil + } + return o.ClientID +} + +func (o *UpdateDrainResponseBody2) GetSource() UpdateDrainResponseBodySourceUnion2 { + if o == nil { + return UpdateDrainResponseBodySourceUnion2{} + } + return o.Source +} + +func (o *UpdateDrainResponseBody2) GetFilter() *string { + if o == nil { + return nil + } + return o.Filter +} + +func (o *UpdateDrainResponseBody2) GetFilterV2() *UpdateDrainFilterV2Union2 { + if o == nil { + return nil + } + return o.FilterV2 +} + +func (o *UpdateDrainResponseBody2) GetIntegrationIcon() *string { + if o == nil { + return nil + } + return o.IntegrationIcon +} + +func (o *UpdateDrainResponseBody2) GetIntegrationConfigurationURI() *string { + if o == nil { + return nil + } + return o.IntegrationConfigurationURI +} + +func (o *UpdateDrainResponseBody2) GetIntegrationWebsite() *string { + if o == nil { + return nil + } + return o.IntegrationWebsite +} + +func (o *UpdateDrainResponseBody2) GetProjectsMetadata() []UpdateDrainProjectsMetadatum { + if o == nil { + return nil + } + return o.ProjectsMetadata +} + +type UpdateDrainCreatedFrom1 string + +const ( + UpdateDrainCreatedFrom1SelfServed UpdateDrainCreatedFrom1 = "self-served" + UpdateDrainCreatedFrom1Integration UpdateDrainCreatedFrom1 = "integration" +) + +func (e UpdateDrainCreatedFrom1) ToPointer() *UpdateDrainCreatedFrom1 { + return &e +} +func (e *UpdateDrainCreatedFrom1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "self-served": + fallthrough + case "integration": + *e = UpdateDrainCreatedFrom1(v) + return nil + default: + return fmt.Errorf("invalid value for UpdateDrainCreatedFrom1: %v", v) + } +} + +type UpdateDrainSchemasLog1 struct { +} + +func (u UpdateDrainSchemasLog1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(u, "", false) +} + +func (u *UpdateDrainSchemasLog1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &u, "", false, nil); err != nil { + return err + } + return nil +} + +type UpdateDrainTrace1 struct { +} + +func (u UpdateDrainTrace1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(u, "", false) +} + +func (u *UpdateDrainTrace1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &u, "", false, nil); err != nil { + return err + } + return nil +} + +type UpdateDrainAnalytics1 struct { +} + +func (u UpdateDrainAnalytics1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(u, "", false) +} + +func (u *UpdateDrainAnalytics1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &u, "", false, nil); err != nil { + return err + } + return nil +} + +type UpdateDrainSpeedInsights1 struct { +} + +func (u UpdateDrainSpeedInsights1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(u, "", false) +} + +func (u *UpdateDrainSpeedInsights1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &u, "", false, nil); err != nil { + return err + } + return nil +} + +type UpdateDrainSchemasResponse1 struct { + Log *UpdateDrainSchemasLog1 `json:"log,omitempty"` + Trace *UpdateDrainTrace1 `json:"trace,omitempty"` + Analytics *UpdateDrainAnalytics1 `json:"analytics,omitempty"` + SpeedInsights *UpdateDrainSpeedInsights1 `json:"speed_insights,omitempty"` +} + +func (u UpdateDrainSchemasResponse1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(u, "", false) +} + +func (u *UpdateDrainSchemasResponse1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &u, "", false, nil); err != nil { + return err + } + return nil +} + +func (o *UpdateDrainSchemasResponse1) GetLog() *UpdateDrainSchemasLog1 { + if o == nil { + return nil + } + return o.Log +} + +func (o *UpdateDrainSchemasResponse1) GetTrace() *UpdateDrainTrace1 { + if o == nil { + return nil + } + return o.Trace +} + +func (o *UpdateDrainSchemasResponse1) GetAnalytics() *UpdateDrainAnalytics1 { + if o == nil { + return nil + } + return o.Analytics +} + +func (o *UpdateDrainSchemasResponse1) GetSpeedInsights() *UpdateDrainSpeedInsights1 { + if o == nil { + return nil + } + return o.SpeedInsights +} + +type UpdateDrainTypeInternal1 string + +const ( + UpdateDrainTypeInternal1Internal UpdateDrainTypeInternal1 = "internal" +) + +func (e UpdateDrainTypeInternal1) ToPointer() *UpdateDrainTypeInternal1 { + return &e +} +func (e *UpdateDrainTypeInternal1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "internal": + *e = UpdateDrainTypeInternal1(v) + return nil + default: + return fmt.Errorf("invalid value for UpdateDrainTypeInternal1: %v", v) + } +} + +type UpdateDrainTarget1 string + +const ( + UpdateDrainTarget1VercelOtelTracesDb UpdateDrainTarget1 = "vercel-otel-traces-db" +) + +func (e UpdateDrainTarget1) ToPointer() *UpdateDrainTarget1 { + return &e +} +func (e *UpdateDrainTarget1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "vercel-otel-traces-db": + *e = UpdateDrainTarget1(v) + return nil + default: + return fmt.Errorf("invalid value for UpdateDrainTarget1: %v", v) + } +} + +type UpdateDrainDeliveryVercelOtelTracesDb1 struct { + Type UpdateDrainTypeInternal1 `json:"type"` + Target UpdateDrainTarget1 `json:"target"` +} + +func (u UpdateDrainDeliveryVercelOtelTracesDb1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(u, "", false) +} + +func (u *UpdateDrainDeliveryVercelOtelTracesDb1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &u, "", false, []string{"type", "target"}); err != nil { + return err + } + return nil +} + +func (o *UpdateDrainDeliveryVercelOtelTracesDb1) GetType() UpdateDrainTypeInternal1 { + if o == nil { + return UpdateDrainTypeInternal1("") + } + return o.Type +} + +func (o *UpdateDrainDeliveryVercelOtelTracesDb1) GetTarget() UpdateDrainTarget1 { + if o == nil { + return UpdateDrainTarget1("") + } + return o.Target +} + +type UpdateDrainTypeClickhouse1 string + +const ( + UpdateDrainTypeClickhouse1Clickhouse UpdateDrainTypeClickhouse1 = "clickhouse" +) + +func (e UpdateDrainTypeClickhouse1) ToPointer() *UpdateDrainTypeClickhouse1 { + return &e +} +func (e *UpdateDrainTypeClickhouse1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "clickhouse": + *e = UpdateDrainTypeClickhouse1(v) + return nil + default: + return fmt.Errorf("invalid value for UpdateDrainTypeClickhouse1: %v", v) + } +} + +type UpdateDrainDeliveryClickhouse1 struct { + Type UpdateDrainTypeClickhouse1 `json:"type"` + Endpoint string `json:"endpoint"` + Table string `json:"table"` +} + +func (u UpdateDrainDeliveryClickhouse1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(u, "", false) +} + +func (u *UpdateDrainDeliveryClickhouse1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &u, "", false, []string{"type", "endpoint", "table"}); err != nil { + return err + } + return nil +} + +func (o *UpdateDrainDeliveryClickhouse1) GetType() UpdateDrainTypeClickhouse1 { + if o == nil { + return UpdateDrainTypeClickhouse1("") + } + return o.Type +} + +func (o *UpdateDrainDeliveryClickhouse1) GetEndpoint() string { + if o == nil { + return "" + } + return o.Endpoint +} + +func (o *UpdateDrainDeliveryClickhouse1) GetTable() string { + if o == nil { + return "" + } + return o.Table +} + +type UpdateDrainTypeOtlphttp1 string + +const ( + UpdateDrainTypeOtlphttp1Otlphttp UpdateDrainTypeOtlphttp1 = "otlphttp" +) + +func (e UpdateDrainTypeOtlphttp1) ToPointer() *UpdateDrainTypeOtlphttp1 { + return &e +} +func (e *UpdateDrainTypeOtlphttp1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "otlphttp": + *e = UpdateDrainTypeOtlphttp1(v) + return nil + default: + return fmt.Errorf("invalid value for UpdateDrainTypeOtlphttp1: %v", v) + } +} + +type UpdateDrainEndpointResponse1 struct { + Traces string `json:"traces"` +} + +func (u UpdateDrainEndpointResponse1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(u, "", false) +} + +func (u *UpdateDrainEndpointResponse1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &u, "", false, []string{"traces"}); err != nil { + return err + } + return nil +} + +func (o *UpdateDrainEndpointResponse1) GetTraces() string { + if o == nil { + return "" + } + return o.Traces +} + +type UpdateDrainEncodingResponse2 string + +const ( + UpdateDrainEncodingResponse2JSON UpdateDrainEncodingResponse2 = "json" + UpdateDrainEncodingResponse2Proto UpdateDrainEncodingResponse2 = "proto" +) + +func (e UpdateDrainEncodingResponse2) ToPointer() *UpdateDrainEncodingResponse2 { + return &e +} +func (e *UpdateDrainEncodingResponse2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "json": + fallthrough + case "proto": + *e = UpdateDrainEncodingResponse2(v) + return nil + default: + return fmt.Errorf("invalid value for UpdateDrainEncodingResponse2: %v", v) + } +} + +type UpdateDrainDeliveryOtlphttp1 struct { + Type UpdateDrainTypeOtlphttp1 `json:"type"` + Endpoint UpdateDrainEndpointResponse1 `json:"endpoint"` + Encoding UpdateDrainEncodingResponse2 `json:"encoding"` + Headers map[string]string `json:"headers"` + Secret *string `json:"secret,omitempty"` +} + +func (u UpdateDrainDeliveryOtlphttp1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(u, "", false) +} + +func (u *UpdateDrainDeliveryOtlphttp1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &u, "", false, []string{"type", "endpoint", "encoding", "headers"}); err != nil { + return err + } + return nil +} + +func (o *UpdateDrainDeliveryOtlphttp1) GetType() UpdateDrainTypeOtlphttp1 { + if o == nil { + return UpdateDrainTypeOtlphttp1("") + } + return o.Type +} + +func (o *UpdateDrainDeliveryOtlphttp1) GetEndpoint() UpdateDrainEndpointResponse1 { + if o == nil { + return UpdateDrainEndpointResponse1{} + } + return o.Endpoint +} + +func (o *UpdateDrainDeliveryOtlphttp1) GetEncoding() UpdateDrainEncodingResponse2 { + if o == nil { + return UpdateDrainEncodingResponse2("") + } + return o.Encoding +} + +func (o *UpdateDrainDeliveryOtlphttp1) GetHeaders() map[string]string { + if o == nil { + return map[string]string{} + } + return o.Headers +} + +func (o *UpdateDrainDeliveryOtlphttp1) GetSecret() *string { + if o == nil { + return nil + } + return o.Secret +} + +type UpdateDrainTypeHTTP1 string + +const ( + UpdateDrainTypeHTTP1HTTP UpdateDrainTypeHTTP1 = "http" +) + +func (e UpdateDrainTypeHTTP1) ToPointer() *UpdateDrainTypeHTTP1 { + return &e +} +func (e *UpdateDrainTypeHTTP1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "http": + *e = UpdateDrainTypeHTTP1(v) + return nil + default: + return fmt.Errorf("invalid value for UpdateDrainTypeHTTP1: %v", v) + } +} + +type UpdateDrainEncodingResponse1 string + +const ( + UpdateDrainEncodingResponse1JSON UpdateDrainEncodingResponse1 = "json" + UpdateDrainEncodingResponse1Ndjson UpdateDrainEncodingResponse1 = "ndjson" +) + +func (e UpdateDrainEncodingResponse1) ToPointer() *UpdateDrainEncodingResponse1 { + return &e +} +func (e *UpdateDrainEncodingResponse1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "json": + fallthrough + case "ndjson": + *e = UpdateDrainEncodingResponse1(v) + return nil + default: + return fmt.Errorf("invalid value for UpdateDrainEncodingResponse1: %v", v) + } +} + +type UpdateDrainCompressionResponse1 string + +const ( + UpdateDrainCompressionResponse1Gzip UpdateDrainCompressionResponse1 = "gzip" + UpdateDrainCompressionResponse1None UpdateDrainCompressionResponse1 = "none" +) + +func (e UpdateDrainCompressionResponse1) ToPointer() *UpdateDrainCompressionResponse1 { + return &e +} +func (e *UpdateDrainCompressionResponse1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "gzip": + fallthrough + case "none": + *e = UpdateDrainCompressionResponse1(v) + return nil + default: + return fmt.Errorf("invalid value for UpdateDrainCompressionResponse1: %v", v) + } +} + +type UpdateDrainDeliveryHTTP1 struct { + Type UpdateDrainTypeHTTP1 `json:"type"` + Endpoint string `json:"endpoint"` + Encoding UpdateDrainEncodingResponse1 `json:"encoding"` + Compression *UpdateDrainCompressionResponse1 `json:"compression,omitempty"` + Headers map[string]string `json:"headers"` + Secret *string `json:"secret,omitempty"` +} + +func (u UpdateDrainDeliveryHTTP1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(u, "", false) +} + +func (u *UpdateDrainDeliveryHTTP1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &u, "", false, []string{"type", "endpoint", "encoding", "headers"}); err != nil { + return err + } + return nil +} + +func (o *UpdateDrainDeliveryHTTP1) GetType() UpdateDrainTypeHTTP1 { + if o == nil { + return UpdateDrainTypeHTTP1("") + } + return o.Type +} + +func (o *UpdateDrainDeliveryHTTP1) GetEndpoint() string { + if o == nil { + return "" + } + return o.Endpoint +} + +func (o *UpdateDrainDeliveryHTTP1) GetEncoding() UpdateDrainEncodingResponse1 { + if o == nil { + return UpdateDrainEncodingResponse1("") + } + return o.Encoding +} + +func (o *UpdateDrainDeliveryHTTP1) GetCompression() *UpdateDrainCompressionResponse1 { + if o == nil { + return nil + } + return o.Compression +} + +func (o *UpdateDrainDeliveryHTTP1) GetHeaders() map[string]string { + if o == nil { + return map[string]string{} + } + return o.Headers +} + +func (o *UpdateDrainDeliveryHTTP1) GetSecret() *string { + if o == nil { + return nil + } + return o.Secret +} + +type UpdateDrainDeliveryResponseUnion1Type string + +const ( + UpdateDrainDeliveryResponseUnion1TypeUpdateDrainDeliveryHTTP1 UpdateDrainDeliveryResponseUnion1Type = "updateDrain_delivery_HTTP_1" + UpdateDrainDeliveryResponseUnion1TypeUpdateDrainDeliveryOtlphttp1 UpdateDrainDeliveryResponseUnion1Type = "updateDrain_delivery_Otlphttp_1" + UpdateDrainDeliveryResponseUnion1TypeUpdateDrainDeliveryClickhouse1 UpdateDrainDeliveryResponseUnion1Type = "updateDrain_delivery_Clickhouse_1" + UpdateDrainDeliveryResponseUnion1TypeUpdateDrainDeliveryVercelOtelTracesDb1 UpdateDrainDeliveryResponseUnion1Type = "updateDrain_delivery_VercelOtelTracesDb_1" +) + +type UpdateDrainDeliveryResponseUnion1 struct { + UpdateDrainDeliveryHTTP1 *UpdateDrainDeliveryHTTP1 `queryParam:"inline"` + UpdateDrainDeliveryOtlphttp1 *UpdateDrainDeliveryOtlphttp1 `queryParam:"inline"` + UpdateDrainDeliveryClickhouse1 *UpdateDrainDeliveryClickhouse1 `queryParam:"inline"` + UpdateDrainDeliveryVercelOtelTracesDb1 *UpdateDrainDeliveryVercelOtelTracesDb1 `queryParam:"inline"` + + Type UpdateDrainDeliveryResponseUnion1Type +} + +func CreateUpdateDrainDeliveryResponseUnion1UpdateDrainDeliveryHTTP1(updateDrainDeliveryHTTP1 UpdateDrainDeliveryHTTP1) UpdateDrainDeliveryResponseUnion1 { + typ := UpdateDrainDeliveryResponseUnion1TypeUpdateDrainDeliveryHTTP1 + + return UpdateDrainDeliveryResponseUnion1{ + UpdateDrainDeliveryHTTP1: &updateDrainDeliveryHTTP1, + Type: typ, + } +} + +func CreateUpdateDrainDeliveryResponseUnion1UpdateDrainDeliveryOtlphttp1(updateDrainDeliveryOtlphttp1 UpdateDrainDeliveryOtlphttp1) UpdateDrainDeliveryResponseUnion1 { + typ := UpdateDrainDeliveryResponseUnion1TypeUpdateDrainDeliveryOtlphttp1 + + return UpdateDrainDeliveryResponseUnion1{ + UpdateDrainDeliveryOtlphttp1: &updateDrainDeliveryOtlphttp1, + Type: typ, + } +} + +func CreateUpdateDrainDeliveryResponseUnion1UpdateDrainDeliveryClickhouse1(updateDrainDeliveryClickhouse1 UpdateDrainDeliveryClickhouse1) UpdateDrainDeliveryResponseUnion1 { + typ := UpdateDrainDeliveryResponseUnion1TypeUpdateDrainDeliveryClickhouse1 + + return UpdateDrainDeliveryResponseUnion1{ + UpdateDrainDeliveryClickhouse1: &updateDrainDeliveryClickhouse1, + Type: typ, + } +} + +func CreateUpdateDrainDeliveryResponseUnion1UpdateDrainDeliveryVercelOtelTracesDb1(updateDrainDeliveryVercelOtelTracesDb1 UpdateDrainDeliveryVercelOtelTracesDb1) UpdateDrainDeliveryResponseUnion1 { + typ := UpdateDrainDeliveryResponseUnion1TypeUpdateDrainDeliveryVercelOtelTracesDb1 + + return UpdateDrainDeliveryResponseUnion1{ + UpdateDrainDeliveryVercelOtelTracesDb1: &updateDrainDeliveryVercelOtelTracesDb1, + Type: typ, + } +} + +func (u *UpdateDrainDeliveryResponseUnion1) UnmarshalJSON(data []byte) error { + + var updateDrainDeliveryHTTP1 UpdateDrainDeliveryHTTP1 = UpdateDrainDeliveryHTTP1{} + if err := utils.UnmarshalJSON(data, &updateDrainDeliveryHTTP1, "", true, nil); err == nil { + u.UpdateDrainDeliveryHTTP1 = &updateDrainDeliveryHTTP1 + u.Type = UpdateDrainDeliveryResponseUnion1TypeUpdateDrainDeliveryHTTP1 + return nil + } + + var updateDrainDeliveryOtlphttp1 UpdateDrainDeliveryOtlphttp1 = UpdateDrainDeliveryOtlphttp1{} + if err := utils.UnmarshalJSON(data, &updateDrainDeliveryOtlphttp1, "", true, nil); err == nil { + u.UpdateDrainDeliveryOtlphttp1 = &updateDrainDeliveryOtlphttp1 + u.Type = UpdateDrainDeliveryResponseUnion1TypeUpdateDrainDeliveryOtlphttp1 + return nil + } + + var updateDrainDeliveryClickhouse1 UpdateDrainDeliveryClickhouse1 = UpdateDrainDeliveryClickhouse1{} + if err := utils.UnmarshalJSON(data, &updateDrainDeliveryClickhouse1, "", true, nil); err == nil { + u.UpdateDrainDeliveryClickhouse1 = &updateDrainDeliveryClickhouse1 + u.Type = UpdateDrainDeliveryResponseUnion1TypeUpdateDrainDeliveryClickhouse1 + return nil + } + + var updateDrainDeliveryVercelOtelTracesDb1 UpdateDrainDeliveryVercelOtelTracesDb1 = UpdateDrainDeliveryVercelOtelTracesDb1{} + if err := utils.UnmarshalJSON(data, &updateDrainDeliveryVercelOtelTracesDb1, "", true, nil); err == nil { + u.UpdateDrainDeliveryVercelOtelTracesDb1 = &updateDrainDeliveryVercelOtelTracesDb1 + u.Type = UpdateDrainDeliveryResponseUnion1TypeUpdateDrainDeliveryVercelOtelTracesDb1 + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for UpdateDrainDeliveryResponseUnion1", string(data)) +} + +func (u UpdateDrainDeliveryResponseUnion1) MarshalJSON() ([]byte, error) { + if u.UpdateDrainDeliveryHTTP1 != nil { + return utils.MarshalJSON(u.UpdateDrainDeliveryHTTP1, "", true) + } + + if u.UpdateDrainDeliveryOtlphttp1 != nil { + return utils.MarshalJSON(u.UpdateDrainDeliveryOtlphttp1, "", true) + } + + if u.UpdateDrainDeliveryClickhouse1 != nil { + return utils.MarshalJSON(u.UpdateDrainDeliveryClickhouse1, "", true) + } + + if u.UpdateDrainDeliveryVercelOtelTracesDb1 != nil { + return utils.MarshalJSON(u.UpdateDrainDeliveryVercelOtelTracesDb1, "", true) + } + + return nil, errors.New("could not marshal union type UpdateDrainDeliveryResponseUnion1: all fields are null") +} + +type UpdateDrainTypeHeadSampling1 string + +const ( + UpdateDrainTypeHeadSampling1HeadSampling UpdateDrainTypeHeadSampling1 = "head_sampling" +) + +func (e UpdateDrainTypeHeadSampling1) ToPointer() *UpdateDrainTypeHeadSampling1 { + return &e +} +func (e *UpdateDrainTypeHeadSampling1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "head_sampling": + *e = UpdateDrainTypeHeadSampling1(v) + return nil + default: + return fmt.Errorf("invalid value for UpdateDrainTypeHeadSampling1: %v", v) + } +} + +type UpdateDrainEnvHeadSampling1 string + +const ( + UpdateDrainEnvHeadSampling1Production UpdateDrainEnvHeadSampling1 = "production" + UpdateDrainEnvHeadSampling1Preview UpdateDrainEnvHeadSampling1 = "preview" +) + +func (e UpdateDrainEnvHeadSampling1) ToPointer() *UpdateDrainEnvHeadSampling1 { + return &e +} +func (e *UpdateDrainEnvHeadSampling1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "production": + fallthrough + case "preview": + *e = UpdateDrainEnvHeadSampling1(v) + return nil + default: + return fmt.Errorf("invalid value for UpdateDrainEnvHeadSampling1: %v", v) + } +} + +type UpdateDrainSamplingResponse1 struct { + Type UpdateDrainTypeHeadSampling1 `json:"type"` + Rate float64 `json:"rate"` + Env *UpdateDrainEnvHeadSampling1 `json:"env,omitempty"` + RequestPath *string `json:"requestPath,omitempty"` +} + +func (u UpdateDrainSamplingResponse1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(u, "", false) +} + +func (u *UpdateDrainSamplingResponse1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &u, "", false, []string{"type", "rate"}); err != nil { + return err + } + return nil +} + +func (o *UpdateDrainSamplingResponse1) GetType() UpdateDrainTypeHeadSampling1 { + if o == nil { + return UpdateDrainTypeHeadSampling1("") + } + return o.Type +} + +func (o *UpdateDrainSamplingResponse1) GetRate() float64 { + if o == nil { + return 0.0 + } + return o.Rate +} + +func (o *UpdateDrainSamplingResponse1) GetEnv() *UpdateDrainEnvHeadSampling1 { + if o == nil { + return nil + } + return o.Env +} + +func (o *UpdateDrainSamplingResponse1) GetRequestPath() *string { + if o == nil { + return nil + } + return o.RequestPath +} + +type UpdateDrainResponseBodyStatus1 string + +const ( + UpdateDrainResponseBodyStatus1Enabled UpdateDrainResponseBodyStatus1 = "enabled" + UpdateDrainResponseBodyStatus1Disabled UpdateDrainResponseBodyStatus1 = "disabled" + UpdateDrainResponseBodyStatus1Errored UpdateDrainResponseBodyStatus1 = "errored" +) + +func (e UpdateDrainResponseBodyStatus1) ToPointer() *UpdateDrainResponseBodyStatus1 { + return &e +} +func (e *UpdateDrainResponseBodyStatus1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "enabled": + fallthrough + case "disabled": + fallthrough + case "errored": + *e = UpdateDrainResponseBodyStatus1(v) + return nil + default: + return fmt.Errorf("invalid value for UpdateDrainResponseBodyStatus1: %v", v) + } +} + +type UpdateDrainDisabledReason1 string + +const ( + UpdateDrainDisabledReason1DisabledByOwner UpdateDrainDisabledReason1 = "disabled-by-owner" + UpdateDrainDisabledReason1FeatureNotAvailable UpdateDrainDisabledReason1 = "feature-not-available" + UpdateDrainDisabledReason1AccountPlanDowngrade UpdateDrainDisabledReason1 = "account-plan-downgrade" + UpdateDrainDisabledReason1DisabledByAdmin UpdateDrainDisabledReason1 = "disabled-by-admin" +) + +func (e UpdateDrainDisabledReason1) ToPointer() *UpdateDrainDisabledReason1 { + return &e +} +func (e *UpdateDrainDisabledReason1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "disabled-by-owner": + fallthrough + case "feature-not-available": + fallthrough + case "account-plan-downgrade": + fallthrough + case "disabled-by-admin": + *e = UpdateDrainDisabledReason1(v) + return nil + default: + return fmt.Errorf("invalid value for UpdateDrainDisabledReason1: %v", v) + } +} + +type UpdateDrainKindIntegration1 string + +const ( + UpdateDrainKindIntegration1Integration UpdateDrainKindIntegration1 = "integration" +) + +func (e UpdateDrainKindIntegration1) ToPointer() *UpdateDrainKindIntegration1 { + return &e +} +func (e *UpdateDrainKindIntegration1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "integration": + *e = UpdateDrainKindIntegration1(v) + return nil + default: + return fmt.Errorf("invalid value for UpdateDrainKindIntegration1: %v", v) + } +} + +type UpdateDrainSourceIntegration1 struct { + Kind UpdateDrainKindIntegration1 `json:"kind"` + ResourceID *string `json:"resourceId,omitempty"` + ExternalResourceID *string `json:"externalResourceId,omitempty"` + IntegrationID string `json:"integrationId"` + IntegrationConfigurationID string `json:"integrationConfigurationId"` +} + +func (u UpdateDrainSourceIntegration1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(u, "", false) +} + +func (u *UpdateDrainSourceIntegration1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &u, "", false, []string{"kind", "integrationId", "integrationConfigurationId"}); err != nil { + return err + } + return nil +} + +func (o *UpdateDrainSourceIntegration1) GetKind() UpdateDrainKindIntegration1 { + if o == nil { + return UpdateDrainKindIntegration1("") + } + return o.Kind +} + +func (o *UpdateDrainSourceIntegration1) GetResourceID() *string { + if o == nil { + return nil + } + return o.ResourceID +} + +func (o *UpdateDrainSourceIntegration1) GetExternalResourceID() *string { + if o == nil { + return nil + } + return o.ExternalResourceID +} + +func (o *UpdateDrainSourceIntegration1) GetIntegrationID() string { + if o == nil { + return "" + } + return o.IntegrationID +} + +func (o *UpdateDrainSourceIntegration1) GetIntegrationConfigurationID() string { + if o == nil { + return "" + } + return o.IntegrationConfigurationID +} + +type UpdateDrainKindSelfServed1 string + +const ( + UpdateDrainKindSelfServed1SelfServed UpdateDrainKindSelfServed1 = "self-served" +) + +func (e UpdateDrainKindSelfServed1) ToPointer() *UpdateDrainKindSelfServed1 { + return &e +} +func (e *UpdateDrainKindSelfServed1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "self-served": + *e = UpdateDrainKindSelfServed1(v) + return nil + default: + return fmt.Errorf("invalid value for UpdateDrainKindSelfServed1: %v", v) + } +} + +type UpdateDrainSourceSelfServed1 struct { + Kind UpdateDrainKindSelfServed1 `json:"kind"` +} + +func (u UpdateDrainSourceSelfServed1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(u, "", false) +} + +func (u *UpdateDrainSourceSelfServed1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &u, "", false, []string{"kind"}); err != nil { + return err + } + return nil +} + +func (o *UpdateDrainSourceSelfServed1) GetKind() UpdateDrainKindSelfServed1 { + if o == nil { + return UpdateDrainKindSelfServed1("") + } + return o.Kind +} + +type UpdateDrainResponseBodySourceUnion1Type string + +const ( + UpdateDrainResponseBodySourceUnion1TypeUpdateDrainSourceSelfServed1 UpdateDrainResponseBodySourceUnion1Type = "updateDrain_source_SelfServed_1" + UpdateDrainResponseBodySourceUnion1TypeUpdateDrainSourceIntegration1 UpdateDrainResponseBodySourceUnion1Type = "updateDrain_source_Integration_1" +) + +type UpdateDrainResponseBodySourceUnion1 struct { + UpdateDrainSourceSelfServed1 *UpdateDrainSourceSelfServed1 `queryParam:"inline"` + UpdateDrainSourceIntegration1 *UpdateDrainSourceIntegration1 `queryParam:"inline"` + + Type UpdateDrainResponseBodySourceUnion1Type +} + +func CreateUpdateDrainResponseBodySourceUnion1UpdateDrainSourceSelfServed1(updateDrainSourceSelfServed1 UpdateDrainSourceSelfServed1) UpdateDrainResponseBodySourceUnion1 { + typ := UpdateDrainResponseBodySourceUnion1TypeUpdateDrainSourceSelfServed1 + + return UpdateDrainResponseBodySourceUnion1{ + UpdateDrainSourceSelfServed1: &updateDrainSourceSelfServed1, + Type: typ, + } +} + +func CreateUpdateDrainResponseBodySourceUnion1UpdateDrainSourceIntegration1(updateDrainSourceIntegration1 UpdateDrainSourceIntegration1) UpdateDrainResponseBodySourceUnion1 { + typ := UpdateDrainResponseBodySourceUnion1TypeUpdateDrainSourceIntegration1 + + return UpdateDrainResponseBodySourceUnion1{ + UpdateDrainSourceIntegration1: &updateDrainSourceIntegration1, + Type: typ, + } +} + +func (u *UpdateDrainResponseBodySourceUnion1) UnmarshalJSON(data []byte) error { + + var updateDrainSourceIntegration1 UpdateDrainSourceIntegration1 = UpdateDrainSourceIntegration1{} + if err := utils.UnmarshalJSON(data, &updateDrainSourceIntegration1, "", true, nil); err == nil { + u.UpdateDrainSourceIntegration1 = &updateDrainSourceIntegration1 + u.Type = UpdateDrainResponseBodySourceUnion1TypeUpdateDrainSourceIntegration1 + return nil + } + + var updateDrainSourceSelfServed1 UpdateDrainSourceSelfServed1 = UpdateDrainSourceSelfServed1{} + if err := utils.UnmarshalJSON(data, &updateDrainSourceSelfServed1, "", true, nil); err == nil { + u.UpdateDrainSourceSelfServed1 = &updateDrainSourceSelfServed1 + u.Type = UpdateDrainResponseBodySourceUnion1TypeUpdateDrainSourceSelfServed1 + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for UpdateDrainResponseBodySourceUnion1", string(data)) +} + +func (u UpdateDrainResponseBodySourceUnion1) MarshalJSON() ([]byte, error) { + if u.UpdateDrainSourceSelfServed1 != nil { + return utils.MarshalJSON(u.UpdateDrainSourceSelfServed1, "", true) + } + + if u.UpdateDrainSourceIntegration1 != nil { + return utils.MarshalJSON(u.UpdateDrainSourceIntegration1, "", true) + } + + return nil, errors.New("could not marshal union type UpdateDrainResponseBodySourceUnion1: all fields are null") +} + +type UpdateDrainVersionV21 string + +const ( + UpdateDrainVersionV21V2 UpdateDrainVersionV21 = "v2" +) + +func (e UpdateDrainVersionV21) ToPointer() *UpdateDrainVersionV21 { + return &e +} +func (e *UpdateDrainVersionV21) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "v2": + *e = UpdateDrainVersionV21(v) + return nil + default: + return fmt.Errorf("invalid value for UpdateDrainVersionV21: %v", v) + } +} + +type UpdateDrainTypeOdata1 string + +const ( + UpdateDrainTypeOdata1Odata UpdateDrainTypeOdata1 = "odata" +) + +func (e UpdateDrainTypeOdata1) ToPointer() *UpdateDrainTypeOdata1 { + return &e +} +func (e *UpdateDrainTypeOdata1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "odata": + *e = UpdateDrainTypeOdata1(v) + return nil + default: + return fmt.Errorf("invalid value for UpdateDrainTypeOdata1: %v", v) + } +} + +type UpdateDrainFilterOdata1 struct { + Type UpdateDrainTypeOdata1 `json:"type"` + Text string `json:"text"` +} + +func (u UpdateDrainFilterOdata1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(u, "", false) +} + +func (u *UpdateDrainFilterOdata1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &u, "", false, []string{"type", "text"}); err != nil { + return err + } + return nil +} + +func (o *UpdateDrainFilterOdata1) GetType() UpdateDrainTypeOdata1 { + if o == nil { + return UpdateDrainTypeOdata1("") + } + return o.Type +} + +func (o *UpdateDrainFilterOdata1) GetText() string { + if o == nil { + return "" + } + return o.Text +} + +type UpdateDrainTypeBasic1 string + +const ( + UpdateDrainTypeBasic1Basic UpdateDrainTypeBasic1 = "basic" +) + +func (e UpdateDrainTypeBasic1) ToPointer() *UpdateDrainTypeBasic1 { + return &e +} +func (e *UpdateDrainTypeBasic1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "basic": + *e = UpdateDrainTypeBasic1(v) + return nil + default: + return fmt.Errorf("invalid value for UpdateDrainTypeBasic1: %v", v) + } +} + +type UpdateDrainFilterV2Project1 struct { + Ids []string `json:"ids,omitempty"` +} + +func (u UpdateDrainFilterV2Project1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(u, "", false) +} + +func (u *UpdateDrainFilterV2Project1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &u, "", false, nil); err != nil { + return err + } + return nil +} + +func (o *UpdateDrainFilterV2Project1) GetIds() []string { + if o == nil { + return nil + } + return o.Ids +} + +type UpdateDrainFilterV2Source1 string + +const ( + UpdateDrainFilterV2Source1Build UpdateDrainFilterV2Source1 = "build" + UpdateDrainFilterV2Source1Edge UpdateDrainFilterV2Source1 = "edge" + UpdateDrainFilterV2Source1Lambda UpdateDrainFilterV2Source1 = "lambda" + UpdateDrainFilterV2Source1Static UpdateDrainFilterV2Source1 = "static" + UpdateDrainFilterV2Source1External UpdateDrainFilterV2Source1 = "external" + UpdateDrainFilterV2Source1Firewall UpdateDrainFilterV2Source1 = "firewall" + UpdateDrainFilterV2Source1Redirect UpdateDrainFilterV2Source1 = "redirect" +) + +func (e UpdateDrainFilterV2Source1) ToPointer() *UpdateDrainFilterV2Source1 { + return &e +} +func (e *UpdateDrainFilterV2Source1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "build": + fallthrough + case "edge": + fallthrough + case "lambda": + fallthrough + case "static": + fallthrough + case "external": + fallthrough + case "firewall": + fallthrough + case "redirect": + *e = UpdateDrainFilterV2Source1(v) + return nil + default: + return fmt.Errorf("invalid value for UpdateDrainFilterV2Source1: %v", v) + } +} + +type UpdateDrainFilterV2Log1 struct { + Sources []UpdateDrainFilterV2Source1 `json:"sources,omitempty"` + LegacyExcludeCachedStaticAssetLogs *bool `json:"legacy_excludeCachedStaticAssetLogs,omitempty"` +} + +func (u UpdateDrainFilterV2Log1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(u, "", false) +} + +func (u *UpdateDrainFilterV2Log1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &u, "", false, nil); err != nil { + return err + } + return nil +} + +func (o *UpdateDrainFilterV2Log1) GetSources() []UpdateDrainFilterV2Source1 { + if o == nil { + return nil + } + return o.Sources +} + +func (o *UpdateDrainFilterV2Log1) GetLegacyExcludeCachedStaticAssetLogs() *bool { + if o == nil { + return nil + } + return o.LegacyExcludeCachedStaticAssetLogs +} + +type UpdateDrainFilterV2Environment1 string + +const ( + UpdateDrainFilterV2Environment1Production UpdateDrainFilterV2Environment1 = "production" + UpdateDrainFilterV2Environment1Preview UpdateDrainFilterV2Environment1 = "preview" +) + +func (e UpdateDrainFilterV2Environment1) ToPointer() *UpdateDrainFilterV2Environment1 { + return &e +} +func (e *UpdateDrainFilterV2Environment1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "production": + fallthrough + case "preview": + *e = UpdateDrainFilterV2Environment1(v) + return nil + default: + return fmt.Errorf("invalid value for UpdateDrainFilterV2Environment1: %v", v) + } +} + +type UpdateDrainFilterV2Deployment1 struct { + Environments []UpdateDrainFilterV2Environment1 `json:"environments,omitempty"` +} + +func (u UpdateDrainFilterV2Deployment1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(u, "", false) +} + +func (u *UpdateDrainFilterV2Deployment1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &u, "", false, nil); err != nil { + return err + } + return nil +} + +func (o *UpdateDrainFilterV2Deployment1) GetEnvironments() []UpdateDrainFilterV2Environment1 { + if o == nil { + return nil + } + return o.Environments +} + +type UpdateDrainFilterBasic1 struct { + Type UpdateDrainTypeBasic1 `json:"type"` + Project *UpdateDrainFilterV2Project1 `json:"project,omitempty"` + Log *UpdateDrainFilterV2Log1 `json:"log,omitempty"` + Deployment *UpdateDrainFilterV2Deployment1 `json:"deployment,omitempty"` +} + +func (u UpdateDrainFilterBasic1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(u, "", false) +} + +func (u *UpdateDrainFilterBasic1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &u, "", false, []string{"type"}); err != nil { + return err + } + return nil +} + +func (o *UpdateDrainFilterBasic1) GetType() UpdateDrainTypeBasic1 { + if o == nil { + return UpdateDrainTypeBasic1("") + } + return o.Type +} + +func (o *UpdateDrainFilterBasic1) GetProject() *UpdateDrainFilterV2Project1 { + if o == nil { + return nil + } + return o.Project +} + +func (o *UpdateDrainFilterBasic1) GetLog() *UpdateDrainFilterV2Log1 { + if o == nil { + return nil + } + return o.Log +} + +func (o *UpdateDrainFilterBasic1) GetDeployment() *UpdateDrainFilterV2Deployment1 { + if o == nil { + return nil + } + return o.Deployment +} + +type UpdateDrainFilterResponseUnion1Type string + +const ( + UpdateDrainFilterResponseUnion1TypeUpdateDrainFilterBasic1 UpdateDrainFilterResponseUnion1Type = "updateDrain_filter_Basic_1" + UpdateDrainFilterResponseUnion1TypeUpdateDrainFilterOdata1 UpdateDrainFilterResponseUnion1Type = "updateDrain_filter_Odata_1" +) + +type UpdateDrainFilterResponseUnion1 struct { + UpdateDrainFilterBasic1 *UpdateDrainFilterBasic1 `queryParam:"inline"` + UpdateDrainFilterOdata1 *UpdateDrainFilterOdata1 `queryParam:"inline"` + + Type UpdateDrainFilterResponseUnion1Type +} + +func CreateUpdateDrainFilterResponseUnion1UpdateDrainFilterBasic1(updateDrainFilterBasic1 UpdateDrainFilterBasic1) UpdateDrainFilterResponseUnion1 { + typ := UpdateDrainFilterResponseUnion1TypeUpdateDrainFilterBasic1 + + return UpdateDrainFilterResponseUnion1{ + UpdateDrainFilterBasic1: &updateDrainFilterBasic1, + Type: typ, + } +} + +func CreateUpdateDrainFilterResponseUnion1UpdateDrainFilterOdata1(updateDrainFilterOdata1 UpdateDrainFilterOdata1) UpdateDrainFilterResponseUnion1 { + typ := UpdateDrainFilterResponseUnion1TypeUpdateDrainFilterOdata1 + + return UpdateDrainFilterResponseUnion1{ + UpdateDrainFilterOdata1: &updateDrainFilterOdata1, + Type: typ, + } +} + +func (u *UpdateDrainFilterResponseUnion1) UnmarshalJSON(data []byte) error { + + var updateDrainFilterOdata1 UpdateDrainFilterOdata1 = UpdateDrainFilterOdata1{} + if err := utils.UnmarshalJSON(data, &updateDrainFilterOdata1, "", true, nil); err == nil { + u.UpdateDrainFilterOdata1 = &updateDrainFilterOdata1 + u.Type = UpdateDrainFilterResponseUnion1TypeUpdateDrainFilterOdata1 + return nil + } + + var updateDrainFilterBasic1 UpdateDrainFilterBasic1 = UpdateDrainFilterBasic1{} + if err := utils.UnmarshalJSON(data, &updateDrainFilterBasic1, "", true, nil); err == nil { + u.UpdateDrainFilterBasic1 = &updateDrainFilterBasic1 + u.Type = UpdateDrainFilterResponseUnion1TypeUpdateDrainFilterBasic1 + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for UpdateDrainFilterResponseUnion1", string(data)) +} + +func (u UpdateDrainFilterResponseUnion1) MarshalJSON() ([]byte, error) { + if u.UpdateDrainFilterBasic1 != nil { + return utils.MarshalJSON(u.UpdateDrainFilterBasic1, "", true) + } + + if u.UpdateDrainFilterOdata1 != nil { + return utils.MarshalJSON(u.UpdateDrainFilterOdata1, "", true) + } + + return nil, errors.New("could not marshal union type UpdateDrainFilterResponseUnion1: all fields are null") +} + +type UpdateDrainFilterV2V21 struct { + Version UpdateDrainVersionV21 `json:"version"` + Filter UpdateDrainFilterResponseUnion1 `json:"filter"` +} + +func (u UpdateDrainFilterV2V21) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(u, "", false) +} + +func (u *UpdateDrainFilterV2V21) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &u, "", false, []string{"version", "filter"}); err != nil { + return err + } + return nil +} + +func (o *UpdateDrainFilterV2V21) GetVersion() UpdateDrainVersionV21 { + if o == nil { + return UpdateDrainVersionV21("") + } + return o.Version +} + +func (o *UpdateDrainFilterV2V21) GetFilter() UpdateDrainFilterResponseUnion1 { + if o == nil { + return UpdateDrainFilterResponseUnion1{} + } + return o.Filter +} + +type UpdateDrainVersionV11 string + +const ( + UpdateDrainVersionV11V1 UpdateDrainVersionV11 = "v1" +) + +func (e UpdateDrainVersionV11) ToPointer() *UpdateDrainVersionV11 { + return &e +} +func (e *UpdateDrainVersionV11) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "v1": + *e = UpdateDrainVersionV11(v) + return nil + default: + return fmt.Errorf("invalid value for UpdateDrainVersionV11: %v", v) + } +} + +type UpdateDrainFilterV2V11 struct { + Version UpdateDrainVersionV11 `json:"version"` +} + +func (u UpdateDrainFilterV2V11) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(u, "", false) +} + +func (u *UpdateDrainFilterV2V11) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &u, "", false, []string{"version"}); err != nil { + return err + } + return nil +} + +func (o *UpdateDrainFilterV2V11) GetVersion() UpdateDrainVersionV11 { + if o == nil { + return UpdateDrainVersionV11("") + } + return o.Version +} + +type UpdateDrainFilterV2Union1Type string + +const ( + UpdateDrainFilterV2Union1TypeUpdateDrainFilterV2V11 UpdateDrainFilterV2Union1Type = "updateDrain_filterV2_V1_1" + UpdateDrainFilterV2Union1TypeUpdateDrainFilterV2V21 UpdateDrainFilterV2Union1Type = "updateDrain_filterV2_V2_1" +) + +type UpdateDrainFilterV2Union1 struct { + UpdateDrainFilterV2V11 *UpdateDrainFilterV2V11 `queryParam:"inline"` + UpdateDrainFilterV2V21 *UpdateDrainFilterV2V21 `queryParam:"inline"` + + Type UpdateDrainFilterV2Union1Type +} + +func CreateUpdateDrainFilterV2Union1UpdateDrainFilterV2V11(updateDrainFilterV2V11 UpdateDrainFilterV2V11) UpdateDrainFilterV2Union1 { + typ := UpdateDrainFilterV2Union1TypeUpdateDrainFilterV2V11 + + return UpdateDrainFilterV2Union1{ + UpdateDrainFilterV2V11: &updateDrainFilterV2V11, + Type: typ, + } +} + +func CreateUpdateDrainFilterV2Union1UpdateDrainFilterV2V21(updateDrainFilterV2V21 UpdateDrainFilterV2V21) UpdateDrainFilterV2Union1 { + typ := UpdateDrainFilterV2Union1TypeUpdateDrainFilterV2V21 + + return UpdateDrainFilterV2Union1{ + UpdateDrainFilterV2V21: &updateDrainFilterV2V21, + Type: typ, + } +} + +func (u *UpdateDrainFilterV2Union1) UnmarshalJSON(data []byte) error { + + var updateDrainFilterV2V21 UpdateDrainFilterV2V21 = UpdateDrainFilterV2V21{} + if err := utils.UnmarshalJSON(data, &updateDrainFilterV2V21, "", true, nil); err == nil { + u.UpdateDrainFilterV2V21 = &updateDrainFilterV2V21 + u.Type = UpdateDrainFilterV2Union1TypeUpdateDrainFilterV2V21 + return nil + } + + var updateDrainFilterV2V11 UpdateDrainFilterV2V11 = UpdateDrainFilterV2V11{} + if err := utils.UnmarshalJSON(data, &updateDrainFilterV2V11, "", true, nil); err == nil { + u.UpdateDrainFilterV2V11 = &updateDrainFilterV2V11 + u.Type = UpdateDrainFilterV2Union1TypeUpdateDrainFilterV2V11 + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for UpdateDrainFilterV2Union1", string(data)) +} + +func (u UpdateDrainFilterV2Union1) MarshalJSON() ([]byte, error) { + if u.UpdateDrainFilterV2V11 != nil { + return utils.MarshalJSON(u.UpdateDrainFilterV2V11, "", true) + } + + if u.UpdateDrainFilterV2V21 != nil { + return utils.MarshalJSON(u.UpdateDrainFilterV2V21, "", true) + } + + return nil, errors.New("could not marshal union type UpdateDrainFilterV2Union1: all fields are null") +} + +type UpdateDrainResponseBody1 struct { + ID string `json:"id"` + OwnerID string `json:"ownerId"` + Name string `json:"name"` + CreatedAt float64 `json:"createdAt"` + CreatedFrom *UpdateDrainCreatedFrom1 `json:"createdFrom,omitempty"` + UpdatedAt float64 `json:"updatedAt"` + ProjectIds []string `json:"projectIds,omitempty"` + Schemas *UpdateDrainSchemasResponse1 `json:"schemas,omitempty"` + Delivery *UpdateDrainDeliveryResponseUnion1 `json:"delivery,omitempty"` + Sampling []UpdateDrainSamplingResponse1 `json:"sampling,omitempty"` + TeamID *string `json:"teamId,omitempty"` + Status *UpdateDrainResponseBodyStatus1 `json:"status,omitempty"` + DisabledAt *float64 `json:"disabledAt,omitempty"` + DisabledReason *UpdateDrainDisabledReason1 `json:"disabledReason,omitempty"` + DisabledBy *string `json:"disabledBy,omitempty"` + FirstErrorTimestamp *float64 `json:"firstErrorTimestamp,omitempty"` + ConfigurationID *string `json:"configurationId,omitempty"` + ClientID *string `json:"clientId,omitempty"` + Source UpdateDrainResponseBodySourceUnion1 `json:"source"` + Filter *string `json:"filter,omitempty"` + FilterV2 *UpdateDrainFilterV2Union1 `json:"filterV2,omitempty"` +} + +func (u UpdateDrainResponseBody1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(u, "", false) +} + +func (u *UpdateDrainResponseBody1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &u, "", false, []string{"id", "ownerId", "name", "createdAt", "updatedAt", "source"}); err != nil { + return err + } + return nil +} + +func (o *UpdateDrainResponseBody1) GetID() string { + if o == nil { + return "" + } + return o.ID +} + +func (o *UpdateDrainResponseBody1) GetOwnerID() string { + if o == nil { + return "" + } + return o.OwnerID +} + +func (o *UpdateDrainResponseBody1) GetName() string { + if o == nil { + return "" + } + return o.Name +} + +func (o *UpdateDrainResponseBody1) GetCreatedAt() float64 { + if o == nil { + return 0.0 + } + return o.CreatedAt +} + +func (o *UpdateDrainResponseBody1) GetCreatedFrom() *UpdateDrainCreatedFrom1 { + if o == nil { + return nil + } + return o.CreatedFrom +} + +func (o *UpdateDrainResponseBody1) GetUpdatedAt() float64 { + if o == nil { + return 0.0 + } + return o.UpdatedAt +} + +func (o *UpdateDrainResponseBody1) GetProjectIds() []string { + if o == nil { + return nil + } + return o.ProjectIds +} + +func (o *UpdateDrainResponseBody1) GetSchemas() *UpdateDrainSchemasResponse1 { + if o == nil { + return nil + } + return o.Schemas +} + +func (o *UpdateDrainResponseBody1) GetDelivery() *UpdateDrainDeliveryResponseUnion1 { + if o == nil { + return nil + } + return o.Delivery +} + +func (o *UpdateDrainResponseBody1) GetSampling() []UpdateDrainSamplingResponse1 { + if o == nil { + return nil + } + return o.Sampling +} + +func (o *UpdateDrainResponseBody1) GetTeamID() *string { + if o == nil { + return nil + } + return o.TeamID +} + +func (o *UpdateDrainResponseBody1) GetStatus() *UpdateDrainResponseBodyStatus1 { + if o == nil { + return nil + } + return o.Status +} + +func (o *UpdateDrainResponseBody1) GetDisabledAt() *float64 { + if o == nil { + return nil + } + return o.DisabledAt +} + +func (o *UpdateDrainResponseBody1) GetDisabledReason() *UpdateDrainDisabledReason1 { + if o == nil { + return nil + } + return o.DisabledReason +} + +func (o *UpdateDrainResponseBody1) GetDisabledBy() *string { + if o == nil { + return nil + } + return o.DisabledBy +} + +func (o *UpdateDrainResponseBody1) GetFirstErrorTimestamp() *float64 { + if o == nil { + return nil + } + return o.FirstErrorTimestamp +} + +func (o *UpdateDrainResponseBody1) GetConfigurationID() *string { + if o == nil { + return nil + } + return o.ConfigurationID +} + +func (o *UpdateDrainResponseBody1) GetClientID() *string { + if o == nil { + return nil + } + return o.ClientID +} + +func (o *UpdateDrainResponseBody1) GetSource() UpdateDrainResponseBodySourceUnion1 { + if o == nil { + return UpdateDrainResponseBodySourceUnion1{} + } + return o.Source +} + +func (o *UpdateDrainResponseBody1) GetFilter() *string { + if o == nil { + return nil + } + return o.Filter +} + +func (o *UpdateDrainResponseBody1) GetFilterV2() *UpdateDrainFilterV2Union1 { + if o == nil { + return nil + } + return o.FilterV2 +} + +type UpdateDrainResponseBodyType string + +const ( + UpdateDrainResponseBodyTypeUpdateDrainResponseBody1 UpdateDrainResponseBodyType = "updateDrain_ResponseBody_1" + UpdateDrainResponseBodyTypeUpdateDrainResponseBody2 UpdateDrainResponseBodyType = "updateDrain_ResponseBody_2" +) + +type UpdateDrainResponseBody struct { + UpdateDrainResponseBody1 *UpdateDrainResponseBody1 `queryParam:"inline"` + UpdateDrainResponseBody2 *UpdateDrainResponseBody2 `queryParam:"inline"` + + Type UpdateDrainResponseBodyType +} + +func CreateUpdateDrainResponseBodyUpdateDrainResponseBody1(updateDrainResponseBody1 UpdateDrainResponseBody1) UpdateDrainResponseBody { + typ := UpdateDrainResponseBodyTypeUpdateDrainResponseBody1 + + return UpdateDrainResponseBody{ + UpdateDrainResponseBody1: &updateDrainResponseBody1, + Type: typ, + } +} + +func CreateUpdateDrainResponseBodyUpdateDrainResponseBody2(updateDrainResponseBody2 UpdateDrainResponseBody2) UpdateDrainResponseBody { + typ := UpdateDrainResponseBodyTypeUpdateDrainResponseBody2 + + return UpdateDrainResponseBody{ + UpdateDrainResponseBody2: &updateDrainResponseBody2, + Type: typ, + } +} + +func (u *UpdateDrainResponseBody) UnmarshalJSON(data []byte) error { + + var updateDrainResponseBody1 UpdateDrainResponseBody1 = UpdateDrainResponseBody1{} + if err := utils.UnmarshalJSON(data, &updateDrainResponseBody1, "", true, nil); err == nil { + u.UpdateDrainResponseBody1 = &updateDrainResponseBody1 + u.Type = UpdateDrainResponseBodyTypeUpdateDrainResponseBody1 + return nil + } + + var updateDrainResponseBody2 UpdateDrainResponseBody2 = UpdateDrainResponseBody2{} + if err := utils.UnmarshalJSON(data, &updateDrainResponseBody2, "", true, nil); err == nil { + u.UpdateDrainResponseBody2 = &updateDrainResponseBody2 + u.Type = UpdateDrainResponseBodyTypeUpdateDrainResponseBody2 + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for UpdateDrainResponseBody", string(data)) +} + +func (u UpdateDrainResponseBody) MarshalJSON() ([]byte, error) { + if u.UpdateDrainResponseBody1 != nil { + return utils.MarshalJSON(u.UpdateDrainResponseBody1, "", true) + } + + if u.UpdateDrainResponseBody2 != nil { + return utils.MarshalJSON(u.UpdateDrainResponseBody2, "", true) + } + + return nil, errors.New("could not marshal union type UpdateDrainResponseBody: all fields are null") +} + +type UpdateDrainResponse struct { + HTTPMeta components.HTTPMetadata `json:"-"` + OneOf *UpdateDrainResponseBody +} + +func (o *UpdateDrainResponse) GetHTTPMeta() components.HTTPMetadata { + if o == nil { + return components.HTTPMetadata{} + } + return o.HTTPMeta +} + +func (o *UpdateDrainResponse) GetOneOf() *UpdateDrainResponseBody { + if o == nil { + return nil + } + return o.OneOf +} diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/updateedgeconfig.go b/src/__tests__/mockserver/internal/sdk/models/operations/updateedgeconfig.go index 23f480686..466bdf391 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/updateedgeconfig.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/updateedgeconfig.go @@ -26,8 +26,8 @@ type UpdateEdgeConfigRequest struct { // The Team identifier to perform the request on behalf of. TeamID *string `queryParam:"style=form,explode=true,name=teamId"` // The Team slug to perform the request on behalf of. - Slug *string `queryParam:"style=form,explode=true,name=slug"` - RequestBody UpdateEdgeConfigRequestBody `request:"mediaType=application/json"` + Slug *string `queryParam:"style=form,explode=true,name=slug"` + Body UpdateEdgeConfigRequestBody `request:"mediaType=application/json"` } func (o *UpdateEdgeConfigRequest) GetEdgeConfigID() string { @@ -51,11 +51,11 @@ func (o *UpdateEdgeConfigRequest) GetSlug() *string { return o.Slug } -func (o *UpdateEdgeConfigRequest) GetRequestBody() UpdateEdgeConfigRequestBody { +func (o *UpdateEdgeConfigRequest) GetBody() UpdateEdgeConfigRequestBody { if o == nil { return UpdateEdgeConfigRequestBody{} } - return o.RequestBody + return o.Body } // UpdateEdgeConfigTransfer - Keeps track of the current state of the Edge Config while it gets transferred. diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/updatefirewallconfig.go b/src/__tests__/mockserver/internal/sdk/models/operations/updatefirewallconfig.go index 1f6ea0f77..ec1728d7a 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/updatefirewallconfig.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/updatefirewallconfig.go @@ -3155,8 +3155,8 @@ type UpdateFirewallConfigRequest struct { // The Team identifier to perform the request on behalf of. TeamID *string `queryParam:"style=form,explode=true,name=teamId"` // The Team slug to perform the request on behalf of. - Slug *string `queryParam:"style=form,explode=true,name=slug"` - RequestBody UpdateFirewallConfigRequestBody `request:"mediaType=application/json"` + Slug *string `queryParam:"style=form,explode=true,name=slug"` + Body UpdateFirewallConfigRequestBody `request:"mediaType=application/json"` } func (o *UpdateFirewallConfigRequest) GetProjectID() string { @@ -3180,11 +3180,11 @@ func (o *UpdateFirewallConfigRequest) GetSlug() *string { return o.Slug } -func (o *UpdateFirewallConfigRequest) GetRequestBody() UpdateFirewallConfigRequestBody { +func (o *UpdateFirewallConfigRequest) GetBody() UpdateFirewallConfigRequestBody { if o == nil { return UpdateFirewallConfigRequestBody{} } - return o.RequestBody + return o.Body } type UpdateFirewallConfigResponseBody struct { diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/updateinstallation.go b/src/__tests__/mockserver/internal/sdk/models/operations/updateinstallation.go new file mode 100644 index 000000000..923d3d6ab --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/operations/updateinstallation.go @@ -0,0 +1,358 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package operations + +import ( + "encoding/json" + "errors" + "fmt" + "mockserver/internal/sdk/models/components" + "mockserver/internal/sdk/utils" +) + +type UpdateInstallationType string + +const ( + UpdateInstallationTypePrepayment UpdateInstallationType = "prepayment" + UpdateInstallationTypeSubscription UpdateInstallationType = "subscription" +) + +func (e UpdateInstallationType) ToPointer() *UpdateInstallationType { + return &e +} +func (e *UpdateInstallationType) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "prepayment": + fallthrough + case "subscription": + *e = UpdateInstallationType(v) + return nil + default: + return fmt.Errorf("invalid value for UpdateInstallationType: %v", v) + } +} + +type UpdateInstallationDetail struct { + Label string `json:"label"` + Value *string `json:"value,omitempty"` +} + +func (o *UpdateInstallationDetail) GetLabel() string { + if o == nil { + return "" + } + return o.Label +} + +func (o *UpdateInstallationDetail) GetValue() *string { + if o == nil { + return nil + } + return o.Value +} + +type UpdateInstallationHighlightedDetail struct { + Label string `json:"label"` + Value *string `json:"value,omitempty"` +} + +func (o *UpdateInstallationHighlightedDetail) GetLabel() string { + if o == nil { + return "" + } + return o.Label +} + +func (o *UpdateInstallationHighlightedDetail) GetValue() *string { + if o == nil { + return nil + } + return o.Value +} + +type UpdateInstallationBillingPlan struct { + ID string `json:"id"` + Type UpdateInstallationType `json:"type"` + Name string `json:"name"` + Description *string `json:"description,omitempty"` + PaymentMethodRequired *bool `json:"paymentMethodRequired,omitempty"` + Cost *string `json:"cost,omitempty"` + Details []UpdateInstallationDetail `json:"details,omitempty"` + HighlightedDetails []UpdateInstallationHighlightedDetail `json:"highlightedDetails,omitempty"` + EffectiveDate *string `json:"effectiveDate,omitempty"` + AdditionalProperties map[string]any `additionalProperties:"true" json:"-"` +} + +func (u UpdateInstallationBillingPlan) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(u, "", false) +} + +func (u *UpdateInstallationBillingPlan) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &u, "", false, []string{"id", "type", "name"}); err != nil { + return err + } + return nil +} + +func (o *UpdateInstallationBillingPlan) GetID() string { + if o == nil { + return "" + } + return o.ID +} + +func (o *UpdateInstallationBillingPlan) GetType() UpdateInstallationType { + if o == nil { + return UpdateInstallationType("") + } + return o.Type +} + +func (o *UpdateInstallationBillingPlan) GetName() string { + if o == nil { + return "" + } + return o.Name +} + +func (o *UpdateInstallationBillingPlan) GetDescription() *string { + if o == nil { + return nil + } + return o.Description +} + +func (o *UpdateInstallationBillingPlan) GetPaymentMethodRequired() *bool { + if o == nil { + return nil + } + return o.PaymentMethodRequired +} + +func (o *UpdateInstallationBillingPlan) GetCost() *string { + if o == nil { + return nil + } + return o.Cost +} + +func (o *UpdateInstallationBillingPlan) GetDetails() []UpdateInstallationDetail { + if o == nil { + return nil + } + return o.Details +} + +func (o *UpdateInstallationBillingPlan) GetHighlightedDetails() []UpdateInstallationHighlightedDetail { + if o == nil { + return nil + } + return o.HighlightedDetails +} + +func (o *UpdateInstallationBillingPlan) GetEffectiveDate() *string { + if o == nil { + return nil + } + return o.EffectiveDate +} + +func (o *UpdateInstallationBillingPlan) GetAdditionalProperties() map[string]any { + if o == nil { + return nil + } + return o.AdditionalProperties +} + +type UpdateInstallationLevel string + +const ( + UpdateInstallationLevelInfo UpdateInstallationLevel = "info" + UpdateInstallationLevelWarn UpdateInstallationLevel = "warn" + UpdateInstallationLevelError UpdateInstallationLevel = "error" +) + +func (e UpdateInstallationLevel) ToPointer() *UpdateInstallationLevel { + return &e +} +func (e *UpdateInstallationLevel) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "info": + fallthrough + case "warn": + fallthrough + case "error": + *e = UpdateInstallationLevel(v) + return nil + default: + return fmt.Errorf("invalid value for UpdateInstallationLevel: %v", v) + } +} + +type UpdateInstallationNotification struct { + Level UpdateInstallationLevel `json:"level"` + Title string `json:"title"` + Message *string `json:"message,omitempty"` + Href *string `json:"href,omitempty"` +} + +func (u UpdateInstallationNotification) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(u, "", false) +} + +func (u *UpdateInstallationNotification) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &u, "", false, []string{"level", "title"}); err != nil { + return err + } + return nil +} + +func (o *UpdateInstallationNotification) GetLevel() UpdateInstallationLevel { + if o == nil { + return UpdateInstallationLevel("") + } + return o.Level +} + +func (o *UpdateInstallationNotification) GetTitle() string { + if o == nil { + return "" + } + return o.Title +} + +func (o *UpdateInstallationNotification) GetMessage() *string { + if o == nil { + return nil + } + return o.Message +} + +func (o *UpdateInstallationNotification) GetHref() *string { + if o == nil { + return nil + } + return o.Href +} + +type UpdateInstallationNotificationUnionType string + +const ( + UpdateInstallationNotificationUnionTypeUpdateInstallationNotification UpdateInstallationNotificationUnionType = "update_installation_notification" + UpdateInstallationNotificationUnionTypeStr UpdateInstallationNotificationUnionType = "str" +) + +// UpdateInstallationNotificationUnion - A notification to display to your customer. Send `null` to clear the current notification. +type UpdateInstallationNotificationUnion struct { + UpdateInstallationNotification *UpdateInstallationNotification `queryParam:"inline"` + Str *string `queryParam:"inline"` + + Type UpdateInstallationNotificationUnionType +} + +func CreateUpdateInstallationNotificationUnionUpdateInstallationNotification(updateInstallationNotification UpdateInstallationNotification) UpdateInstallationNotificationUnion { + typ := UpdateInstallationNotificationUnionTypeUpdateInstallationNotification + + return UpdateInstallationNotificationUnion{ + UpdateInstallationNotification: &updateInstallationNotification, + Type: typ, + } +} + +func CreateUpdateInstallationNotificationUnionStr(str string) UpdateInstallationNotificationUnion { + typ := UpdateInstallationNotificationUnionTypeStr + + return UpdateInstallationNotificationUnion{ + Str: &str, + Type: typ, + } +} + +func (u *UpdateInstallationNotificationUnion) UnmarshalJSON(data []byte) error { + + var updateInstallationNotification UpdateInstallationNotification = UpdateInstallationNotification{} + if err := utils.UnmarshalJSON(data, &updateInstallationNotification, "", true, nil); err == nil { + u.UpdateInstallationNotification = &updateInstallationNotification + u.Type = UpdateInstallationNotificationUnionTypeUpdateInstallationNotification + return nil + } + + var str string = "" + if err := utils.UnmarshalJSON(data, &str, "", true, nil); err == nil { + u.Str = &str + u.Type = UpdateInstallationNotificationUnionTypeStr + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for UpdateInstallationNotificationUnion", string(data)) +} + +func (u UpdateInstallationNotificationUnion) MarshalJSON() ([]byte, error) { + if u.UpdateInstallationNotification != nil { + return utils.MarshalJSON(u.UpdateInstallationNotification, "", true) + } + + if u.Str != nil { + return utils.MarshalJSON(u.Str, "", true) + } + + return nil, errors.New("could not marshal union type UpdateInstallationNotificationUnion: all fields are null") +} + +type UpdateInstallationRequestBody struct { + BillingPlan *UpdateInstallationBillingPlan `json:"billingPlan,omitempty"` + // A notification to display to your customer. Send `null` to clear the current notification. + Notification *UpdateInstallationNotificationUnion `json:"notification,omitempty"` +} + +func (o *UpdateInstallationRequestBody) GetBillingPlan() *UpdateInstallationBillingPlan { + if o == nil { + return nil + } + return o.BillingPlan +} + +func (o *UpdateInstallationRequestBody) GetNotification() *UpdateInstallationNotificationUnion { + if o == nil { + return nil + } + return o.Notification +} + +type UpdateInstallationRequest struct { + IntegrationConfigurationID string `pathParam:"style=simple,explode=false,name=integrationConfigurationId"` + Body *UpdateInstallationRequestBody `request:"mediaType=application/json"` +} + +func (o *UpdateInstallationRequest) GetIntegrationConfigurationID() string { + if o == nil { + return "" + } + return o.IntegrationConfigurationID +} + +func (o *UpdateInstallationRequest) GetBody() *UpdateInstallationRequestBody { + if o == nil { + return nil + } + return o.Body +} + +type UpdateInstallationResponse struct { + HTTPMeta components.HTTPMetadata `json:"-"` +} + +func (o *UpdateInstallationResponse) GetHTTPMeta() components.HTTPMetadata { + if o == nil { + return components.HTTPMetadata{} + } + return o.HTTPMeta +} diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/updateintegrationdeploymentaction.go b/src/__tests__/mockserver/internal/sdk/models/operations/updateintegrationdeploymentaction.go index fbd8c44bf..bcd308929 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/updateintegrationdeploymentaction.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/updateintegrationdeploymentaction.go @@ -180,7 +180,7 @@ type UpdateIntegrationDeploymentActionRequest struct { IntegrationConfigurationID string `pathParam:"style=simple,explode=false,name=integrationConfigurationId"` ResourceID string `pathParam:"style=simple,explode=false,name=resourceId"` Action string `pathParam:"style=simple,explode=false,name=action"` - RequestBody *UpdateIntegrationDeploymentActionRequestBody `request:"mediaType=application/json"` + Body *UpdateIntegrationDeploymentActionRequestBody `request:"mediaType=application/json"` } func (o *UpdateIntegrationDeploymentActionRequest) GetDeploymentID() string { @@ -211,11 +211,11 @@ func (o *UpdateIntegrationDeploymentActionRequest) GetAction() string { return o.Action } -func (o *UpdateIntegrationDeploymentActionRequest) GetRequestBody() *UpdateIntegrationDeploymentActionRequestBody { +func (o *UpdateIntegrationDeploymentActionRequest) GetBody() *UpdateIntegrationDeploymentActionRequestBody { if o == nil { return nil } - return o.RequestBody + return o.Body } type UpdateIntegrationDeploymentActionResponse struct { diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/updateinvoice.go b/src/__tests__/mockserver/internal/sdk/models/operations/updateinvoice.go index aa1189dd2..fcdadfd14 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/updateinvoice.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/updateinvoice.go @@ -117,7 +117,7 @@ func (u UpdateInvoiceRequestBody) MarshalJSON() ([]byte, error) { type UpdateInvoiceRequest struct { IntegrationConfigurationID string `pathParam:"style=simple,explode=false,name=integrationConfigurationId"` InvoiceID string `pathParam:"style=simple,explode=false,name=invoiceId"` - RequestBody UpdateInvoiceRequestBody `request:"mediaType=application/json"` + Body UpdateInvoiceRequestBody `request:"mediaType=application/json"` } func (o *UpdateInvoiceRequest) GetIntegrationConfigurationID() string { @@ -134,11 +134,11 @@ func (o *UpdateInvoiceRequest) GetInvoiceID() string { return o.InvoiceID } -func (o *UpdateInvoiceRequest) GetRequestBody() UpdateInvoiceRequestBody { +func (o *UpdateInvoiceRequest) GetBody() UpdateInvoiceRequestBody { if o == nil { return UpdateInvoiceRequestBody{} } - return o.RequestBody + return o.Body } type UpdateInvoiceResponse struct { diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/updateproject.go b/src/__tests__/mockserver/internal/sdk/models/operations/updateproject.go index 105023158..bf6311e53 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/updateproject.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/updateproject.go @@ -53,10 +53,12 @@ const ( UpdateProjectFrameworkRequestZola UpdateProjectFrameworkRequest = "zola" UpdateProjectFrameworkRequestHydrogen UpdateProjectFrameworkRequest = "hydrogen" UpdateProjectFrameworkRequestVite UpdateProjectFrameworkRequest = "vite" + UpdateProjectFrameworkRequestTanstackStart UpdateProjectFrameworkRequest = "tanstack-start" UpdateProjectFrameworkRequestVitepress UpdateProjectFrameworkRequest = "vitepress" UpdateProjectFrameworkRequestVuepress UpdateProjectFrameworkRequest = "vuepress" UpdateProjectFrameworkRequestParcel UpdateProjectFrameworkRequest = "parcel" UpdateProjectFrameworkRequestFastapi UpdateProjectFrameworkRequest = "fastapi" + UpdateProjectFrameworkRequestFlask UpdateProjectFrameworkRequest = "flask" UpdateProjectFrameworkRequestFasthtml UpdateProjectFrameworkRequest = "fasthtml" UpdateProjectFrameworkRequestSanityV3 UpdateProjectFrameworkRequest = "sanity-v3" UpdateProjectFrameworkRequestSanity UpdateProjectFrameworkRequest = "sanity" @@ -65,6 +67,9 @@ const ( UpdateProjectFrameworkRequestHono UpdateProjectFrameworkRequest = "hono" UpdateProjectFrameworkRequestExpress UpdateProjectFrameworkRequest = "express" UpdateProjectFrameworkRequestH3 UpdateProjectFrameworkRequest = "h3" + UpdateProjectFrameworkRequestNestjs UpdateProjectFrameworkRequest = "nestjs" + UpdateProjectFrameworkRequestElysia UpdateProjectFrameworkRequest = "elysia" + UpdateProjectFrameworkRequestFastify UpdateProjectFrameworkRequest = "fastify" UpdateProjectFrameworkRequestXmcp UpdateProjectFrameworkRequest = "xmcp" ) @@ -155,6 +160,8 @@ func (e *UpdateProjectFrameworkRequest) UnmarshalJSON(data []byte) error { fallthrough case "vite": fallthrough + case "tanstack-start": + fallthrough case "vitepress": fallthrough case "vuepress": @@ -163,6 +170,8 @@ func (e *UpdateProjectFrameworkRequest) UnmarshalJSON(data []byte) error { fallthrough case "fastapi": fallthrough + case "flask": + fallthrough case "fasthtml": fallthrough case "sanity-v3": @@ -179,6 +188,12 @@ func (e *UpdateProjectFrameworkRequest) UnmarshalJSON(data []byte) error { fallthrough case "h3": fallthrough + case "nestjs": + fallthrough + case "elysia": + fallthrough + case "fastify": + fallthrough case "xmcp": *e = UpdateProjectFrameworkRequest(v) return nil @@ -190,13 +205,14 @@ func (e *UpdateProjectFrameworkRequest) UnmarshalJSON(data []byte) error { type UpdateProjectNodeVersionRequest string const ( - UpdateProjectNodeVersionRequestTwentyTwoDotX UpdateProjectNodeVersionRequest = "22.x" - UpdateProjectNodeVersionRequestTwentyDotX UpdateProjectNodeVersionRequest = "20.x" - UpdateProjectNodeVersionRequestEighteenDotX UpdateProjectNodeVersionRequest = "18.x" - UpdateProjectNodeVersionRequestSixteenDotX UpdateProjectNodeVersionRequest = "16.x" - UpdateProjectNodeVersionRequestFourteenDotX UpdateProjectNodeVersionRequest = "14.x" - UpdateProjectNodeVersionRequestTwelveDotX UpdateProjectNodeVersionRequest = "12.x" - UpdateProjectNodeVersionRequestTenDotX UpdateProjectNodeVersionRequest = "10.x" + UpdateProjectNodeVersionRequestTwentyFourDotX UpdateProjectNodeVersionRequest = "24.x" + UpdateProjectNodeVersionRequestTwentyTwoDotX UpdateProjectNodeVersionRequest = "22.x" + UpdateProjectNodeVersionRequestTwentyDotX UpdateProjectNodeVersionRequest = "20.x" + UpdateProjectNodeVersionRequestEighteenDotX UpdateProjectNodeVersionRequest = "18.x" + UpdateProjectNodeVersionRequestSixteenDotX UpdateProjectNodeVersionRequest = "16.x" + UpdateProjectNodeVersionRequestFourteenDotX UpdateProjectNodeVersionRequest = "14.x" + UpdateProjectNodeVersionRequestTwelveDotX UpdateProjectNodeVersionRequest = "12.x" + UpdateProjectNodeVersionRequestTenDotX UpdateProjectNodeVersionRequest = "10.x" ) func (e UpdateProjectNodeVersionRequest) ToPointer() *UpdateProjectNodeVersionRequest { @@ -208,6 +224,8 @@ func (e *UpdateProjectNodeVersionRequest) UnmarshalJSON(data []byte) error { return err } switch v { + case "24.x": + fallthrough case "22.x": fallthrough case "20.x": @@ -353,6 +371,19 @@ func (o *UpdateProjectResourceConfigRequest) GetIsNSNBDisabled() *bool { return o.IsNSNBDisabled } +// StaticIpsRequest - Manage Static IPs for this project +type StaticIpsRequest struct { + // Opt-in to Static IPs for this project + Enabled bool `json:"enabled"` +} + +func (o *StaticIpsRequest) GetEnabled() bool { + if o == nil { + return false + } + return o.Enabled +} + // UpdateProjectIssuerModeRequest - team: `https://oidc.vercel.com/[team_slug]` global: `https://oidc.vercel.com` type UpdateProjectIssuerModeRequest string @@ -756,6 +787,274 @@ func (u ConnectConfiguration) MarshalJSON() ([]byte, error) { return nil, errors.New("could not marshal union type ConnectConfiguration: all fields are null") } +// DismissedToastActionRequest - Whether the toast was dismissed, the action was accepted, or the dismissal with this key should be removed +type DismissedToastActionRequest string + +const ( + DismissedToastActionRequestCancel DismissedToastActionRequest = "cancel" + DismissedToastActionRequestAccept DismissedToastActionRequest = "accept" + DismissedToastActionRequestDelete DismissedToastActionRequest = "delete" +) + +func (e DismissedToastActionRequest) ToPointer() *DismissedToastActionRequest { + return &e +} +func (e *DismissedToastActionRequest) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "cancel": + fallthrough + case "accept": + fallthrough + case "delete": + *e = DismissedToastActionRequest(v) + return nil + default: + return fmt.Errorf("invalid value for DismissedToastActionRequest: %v", v) + } +} + +type PreviousValueRequestType string + +const ( + PreviousValueRequestTypeNumber PreviousValueRequestType = "number" + PreviousValueRequestTypeBoolean PreviousValueRequestType = "boolean" + PreviousValueRequestTypeStr PreviousValueRequestType = "str" +) + +type PreviousValueRequest struct { + Number *float64 `queryParam:"inline"` + Boolean *bool `queryParam:"inline"` + Str *string `queryParam:"inline"` + + Type PreviousValueRequestType +} + +func CreatePreviousValueRequestNumber(number float64) PreviousValueRequest { + typ := PreviousValueRequestTypeNumber + + return PreviousValueRequest{ + Number: &number, + Type: typ, + } +} + +func CreatePreviousValueRequestBoolean(boolean bool) PreviousValueRequest { + typ := PreviousValueRequestTypeBoolean + + return PreviousValueRequest{ + Boolean: &boolean, + Type: typ, + } +} + +func CreatePreviousValueRequestStr(str string) PreviousValueRequest { + typ := PreviousValueRequestTypeStr + + return PreviousValueRequest{ + Str: &str, + Type: typ, + } +} + +func (u *PreviousValueRequest) UnmarshalJSON(data []byte) error { + + var number float64 = float64(0) + if err := utils.UnmarshalJSON(data, &number, "", true, nil); err == nil { + u.Number = &number + u.Type = PreviousValueRequestTypeNumber + return nil + } + + var boolean bool = false + if err := utils.UnmarshalJSON(data, &boolean, "", true, nil); err == nil { + u.Boolean = &boolean + u.Type = PreviousValueRequestTypeBoolean + return nil + } + + var str string = "" + if err := utils.UnmarshalJSON(data, &str, "", true, nil); err == nil { + u.Str = &str + u.Type = PreviousValueRequestTypeStr + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for PreviousValueRequest", string(data)) +} + +func (u PreviousValueRequest) MarshalJSON() ([]byte, error) { + if u.Number != nil { + return utils.MarshalJSON(u.Number, "", true) + } + + if u.Boolean != nil { + return utils.MarshalJSON(u.Boolean, "", true) + } + + if u.Str != nil { + return utils.MarshalJSON(u.Str, "", true) + } + + return nil, errors.New("could not marshal union type PreviousValueRequest: all fields are null") +} + +type CurrentValueRequestType string + +const ( + CurrentValueRequestTypeNumber CurrentValueRequestType = "number" + CurrentValueRequestTypeBoolean CurrentValueRequestType = "boolean" + CurrentValueRequestTypeStr CurrentValueRequestType = "str" +) + +type CurrentValueRequest struct { + Number *float64 `queryParam:"inline"` + Boolean *bool `queryParam:"inline"` + Str *string `queryParam:"inline"` + + Type CurrentValueRequestType +} + +func CreateCurrentValueRequestNumber(number float64) CurrentValueRequest { + typ := CurrentValueRequestTypeNumber + + return CurrentValueRequest{ + Number: &number, + Type: typ, + } +} + +func CreateCurrentValueRequestBoolean(boolean bool) CurrentValueRequest { + typ := CurrentValueRequestTypeBoolean + + return CurrentValueRequest{ + Boolean: &boolean, + Type: typ, + } +} + +func CreateCurrentValueRequestStr(str string) CurrentValueRequest { + typ := CurrentValueRequestTypeStr + + return CurrentValueRequest{ + Str: &str, + Type: typ, + } +} + +func (u *CurrentValueRequest) UnmarshalJSON(data []byte) error { + + var number float64 = float64(0) + if err := utils.UnmarshalJSON(data, &number, "", true, nil); err == nil { + u.Number = &number + u.Type = CurrentValueRequestTypeNumber + return nil + } + + var boolean bool = false + if err := utils.UnmarshalJSON(data, &boolean, "", true, nil); err == nil { + u.Boolean = &boolean + u.Type = CurrentValueRequestTypeBoolean + return nil + } + + var str string = "" + if err := utils.UnmarshalJSON(data, &str, "", true, nil); err == nil { + u.Str = &str + u.Type = CurrentValueRequestTypeStr + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for CurrentValueRequest", string(data)) +} + +func (u CurrentValueRequest) MarshalJSON() ([]byte, error) { + if u.Number != nil { + return utils.MarshalJSON(u.Number, "", true) + } + + if u.Boolean != nil { + return utils.MarshalJSON(u.Boolean, "", true) + } + + if u.Str != nil { + return utils.MarshalJSON(u.Str, "", true) + } + + return nil, errors.New("could not marshal union type CurrentValueRequest: all fields are null") +} + +type UpdateProjectValueRequest struct { + PreviousValue PreviousValueRequest `json:"previousValue"` + CurrentValue CurrentValueRequest `json:"currentValue"` +} + +func (u UpdateProjectValueRequest) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(u, "", false) +} + +func (u *UpdateProjectValueRequest) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &u, "", false, []string{"previousValue", "currentValue"}); err != nil { + return err + } + return nil +} + +func (o *UpdateProjectValueRequest) GetPreviousValue() PreviousValueRequest { + if o == nil { + return PreviousValueRequest{} + } + return o.PreviousValue +} + +func (o *UpdateProjectValueRequest) GetCurrentValue() CurrentValueRequest { + if o == nil { + return CurrentValueRequest{} + } + return o.CurrentValue +} + +type DismissedToastRequest struct { + // unique identifier for the dismissed toast + Key string `json:"key"` + // unix timestamp representing the time the toast was dimissed + DismissedAt float64 `json:"dismissedAt"` + // Whether the toast was dismissed, the action was accepted, or the dismissal with this key should be removed + Action DismissedToastActionRequest `json:"action"` + Value any `json:"value"` +} + +func (o *DismissedToastRequest) GetKey() string { + if o == nil { + return "" + } + return o.Key +} + +func (o *DismissedToastRequest) GetDismissedAt() float64 { + if o == nil { + return 0.0 + } + return o.DismissedAt +} + +func (o *DismissedToastRequest) GetAction() DismissedToastActionRequest { + if o == nil { + return DismissedToastActionRequest("") + } + return o.Action +} + +func (o *DismissedToastRequest) GetValue() any { + if o == nil { + return nil + } + return o.Value +} + type UpdateProjectRequestBody struct { AutoExposeSystemEnvs *bool `json:"autoExposeSystemEnvs,omitempty"` AutoAssignCustomDomains *bool `json:"autoAssignCustomDomains,omitempty"` @@ -783,6 +1082,8 @@ type UpdateProjectRequestBody struct { OutputDirectory *string `json:"outputDirectory,omitempty"` // Specifies whether preview deployments are disabled for this project. PreviewDeploymentsDisabled *bool `json:"previewDeploymentsDisabled,omitempty"` + // Custom domain suffix for preview deployments. Takes precedence over team-level suffix. Must be a domain owned by the team. + PreviewDeploymentSuffix *string `json:"previewDeploymentSuffix,omitempty"` // Specifies whether the source code and logs of the deployments for this project should be public or not PublicSource *bool `json:"publicSource,omitempty"` // Specifies resource override configuration for the project @@ -809,6 +1110,8 @@ type UpdateProjectRequestBody struct { EnableProductionFeedback *bool `json:"enableProductionFeedback,omitempty"` // Opt-in to skip deployments when there are no changes to the root directory and its dependencies EnableAffectedProjectsDeployments *bool `json:"enableAffectedProjectsDeployments,omitempty"` + // Manage Static IPs for this project + StaticIps *StaticIpsRequest `json:"staticIps,omitempty"` // OpenID Connect JSON Web Token generation configuration. OidcTokenConfig *UpdateProjectOidcTokenConfigRequest `json:"oidcTokenConfig,omitempty"` // Allows to protect project deployments with a password @@ -821,6 +1124,8 @@ type UpdateProjectRequestBody struct { OptionsAllowlist *OptionsAllowlistRequest `json:"optionsAllowlist,omitempty"` // The list of connections from project environment to Secure Compute network ConnectConfigurations []ConnectConfiguration `json:"connectConfigurations,omitempty"` + // An array of objects representing a Dismissed Toast in regards to a Project. Objects are either merged with existing toasts (on key match), or added to the `dimissedToasts` array.` + DismissedToasts []DismissedToastRequest `json:"dismissedToasts,omitempty"` } func (o *UpdateProjectRequestBody) GetAutoExposeSystemEnvs() *bool { @@ -935,6 +1240,13 @@ func (o *UpdateProjectRequestBody) GetPreviewDeploymentsDisabled() *bool { return o.PreviewDeploymentsDisabled } +func (o *UpdateProjectRequestBody) GetPreviewDeploymentSuffix() *string { + if o == nil { + return nil + } + return o.PreviewDeploymentSuffix +} + func (o *UpdateProjectRequestBody) GetPublicSource() *bool { if o == nil { return nil @@ -1019,6 +1331,13 @@ func (o *UpdateProjectRequestBody) GetEnableAffectedProjectsDeployments() *bool return o.EnableAffectedProjectsDeployments } +func (o *UpdateProjectRequestBody) GetStaticIps() *StaticIpsRequest { + if o == nil { + return nil + } + return o.StaticIps +} + func (o *UpdateProjectRequestBody) GetOidcTokenConfig() *UpdateProjectOidcTokenConfigRequest { if o == nil { return nil @@ -1061,14 +1380,21 @@ func (o *UpdateProjectRequestBody) GetConnectConfigurations() []ConnectConfigura return o.ConnectConfigurations } +func (o *UpdateProjectRequestBody) GetDismissedToasts() []DismissedToastRequest { + if o == nil { + return nil + } + return o.DismissedToasts +} + type UpdateProjectRequest struct { // The unique project identifier or the project name IDOrName string `pathParam:"style=simple,explode=false,name=idOrName"` // The Team identifier to perform the request on behalf of. TeamID *string `queryParam:"style=form,explode=true,name=teamId"` // The Team slug to perform the request on behalf of. - Slug *string `queryParam:"style=form,explode=true,name=slug"` - RequestBody UpdateProjectRequestBody `request:"mediaType=application/json"` + Slug *string `queryParam:"style=form,explode=true,name=slug"` + Body UpdateProjectRequestBody `request:"mediaType=application/json"` } func (o *UpdateProjectRequest) GetIDOrName() string { @@ -1092,11 +1418,11 @@ func (o *UpdateProjectRequest) GetSlug() *string { return o.Slug } -func (o *UpdateProjectRequest) GetRequestBody() UpdateProjectRequestBody { +func (o *UpdateProjectRequest) GetBody() UpdateProjectRequestBody { if o == nil { return UpdateProjectRequestBody{} } - return o.RequestBody + return o.Body } type UpdateProjectAnalytics struct { @@ -3379,10 +3705,12 @@ const ( UpdateProjectFrameworkResponseBodyZola UpdateProjectFrameworkResponseBody = "zola" UpdateProjectFrameworkResponseBodyHydrogen UpdateProjectFrameworkResponseBody = "hydrogen" UpdateProjectFrameworkResponseBodyVite UpdateProjectFrameworkResponseBody = "vite" + UpdateProjectFrameworkResponseBodyTanstackStart UpdateProjectFrameworkResponseBody = "tanstack-start" UpdateProjectFrameworkResponseBodyVitepress UpdateProjectFrameworkResponseBody = "vitepress" UpdateProjectFrameworkResponseBodyVuepress UpdateProjectFrameworkResponseBody = "vuepress" UpdateProjectFrameworkResponseBodyParcel UpdateProjectFrameworkResponseBody = "parcel" UpdateProjectFrameworkResponseBodyFastapi UpdateProjectFrameworkResponseBody = "fastapi" + UpdateProjectFrameworkResponseBodyFlask UpdateProjectFrameworkResponseBody = "flask" UpdateProjectFrameworkResponseBodyFasthtml UpdateProjectFrameworkResponseBody = "fasthtml" UpdateProjectFrameworkResponseBodySanityV3 UpdateProjectFrameworkResponseBody = "sanity-v3" UpdateProjectFrameworkResponseBodySanity UpdateProjectFrameworkResponseBody = "sanity" @@ -3391,6 +3719,9 @@ const ( UpdateProjectFrameworkResponseBodyHono UpdateProjectFrameworkResponseBody = "hono" UpdateProjectFrameworkResponseBodyExpress UpdateProjectFrameworkResponseBody = "express" UpdateProjectFrameworkResponseBodyH3 UpdateProjectFrameworkResponseBody = "h3" + UpdateProjectFrameworkResponseBodyNestjs UpdateProjectFrameworkResponseBody = "nestjs" + UpdateProjectFrameworkResponseBodyElysia UpdateProjectFrameworkResponseBody = "elysia" + UpdateProjectFrameworkResponseBodyFastify UpdateProjectFrameworkResponseBody = "fastify" UpdateProjectFrameworkResponseBodyXmcp UpdateProjectFrameworkResponseBody = "xmcp" ) @@ -3481,6 +3812,8 @@ func (e *UpdateProjectFrameworkResponseBody) UnmarshalJSON(data []byte) error { fallthrough case "vite": fallthrough + case "tanstack-start": + fallthrough case "vitepress": fallthrough case "vuepress": @@ -3489,6 +3822,8 @@ func (e *UpdateProjectFrameworkResponseBody) UnmarshalJSON(data []byte) error { fallthrough case "fastapi": fallthrough + case "flask": + fallthrough case "fasthtml": fallthrough case "sanity-v3": @@ -3505,6 +3840,12 @@ func (e *UpdateProjectFrameworkResponseBody) UnmarshalJSON(data []byte) error { fallthrough case "h3": fallthrough + case "nestjs": + fallthrough + case "elysia": + fallthrough + case "fastify": + fallthrough case "xmcp": *e = UpdateProjectFrameworkResponseBody(v) return nil @@ -4884,98 +5225,190 @@ func (u UpdateProjectLinkUnion) MarshalJSON() ([]byte, error) { return nil, errors.New("could not marshal union type UpdateProjectLinkUnion: all fields are null") } -type UpdateProjectMicrofrontends2 struct { - UpdatedAt float64 `json:"updatedAt"` - GroupIds []any `json:"groupIds"` - Enabled bool `json:"enabled"` +type UpdateProjectMicrofrontends3 struct { + UpdatedAt float64 `json:"updatedAt"` + GroupIds []any `json:"groupIds"` + Enabled bool `json:"enabled"` + FreeProjectForLegacyLimits *bool `json:"freeProjectForLegacyLimits,omitempty"` } -func (u UpdateProjectMicrofrontends2) MarshalJSON() ([]byte, error) { +func (u UpdateProjectMicrofrontends3) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(u, "", false) } -func (u *UpdateProjectMicrofrontends2) UnmarshalJSON(data []byte) error { +func (u *UpdateProjectMicrofrontends3) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &u, "", false, []string{"updatedAt", "groupIds", "enabled"}); err != nil { return err } return nil } -func (o *UpdateProjectMicrofrontends2) GetUpdatedAt() float64 { +func (o *UpdateProjectMicrofrontends3) GetUpdatedAt() float64 { if o == nil { return 0.0 } return o.UpdatedAt } -func (o *UpdateProjectMicrofrontends2) GetGroupIds() []any { +func (o *UpdateProjectMicrofrontends3) GetGroupIds() []any { if o == nil { return []any{} } return o.GroupIds } -func (o *UpdateProjectMicrofrontends2) GetEnabled() bool { +func (o *UpdateProjectMicrofrontends3) GetEnabled() bool { if o == nil { return false } return o.Enabled } -type UpdateProjectMicrofrontends1 struct { +func (o *UpdateProjectMicrofrontends3) GetFreeProjectForLegacyLimits() *bool { + if o == nil { + return nil + } + return o.FreeProjectForLegacyLimits +} + +type UpdateProjectMicrofrontends2 struct { + IsDefaultApp *bool `json:"isDefaultApp,omitempty"` + // Whether observability data should be routed to this microfrontend project or a root project. + RouteObservabilityToThisProject *bool `json:"routeObservabilityToThisProject,omitempty"` + // Whether to add microfrontends routing to aliases. This means domains in this project will route as a microfrontend. + DoNotRouteWithMicrofrontendsRouting *bool `json:"doNotRouteWithMicrofrontendsRouting,omitempty"` // Timestamp when the microfrontends settings were last updated. UpdatedAt float64 `json:"updatedAt"` // 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 []string `json:"groupIds"` // Whether microfrontends are enabled for this project. Enabled bool `json:"enabled"` - // 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 *bool `json:"isDefaultApp,omitempty"` // 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. Includes the leading slash, e.g. `/docs` DefaultRoute *string `json:"defaultRoute,omitempty"` - // Whether observability data should be routed to this microfrontend project or a root project. - RouteObservabilityToThisProject *bool `json:"routeObservabilityToThisProject,omitempty"` + // Whether the project was part of the legacy limits for hobby and pro-trial before billing was added. This field is only set when the team is upgraded to a paid plan and we are backfilling the subscription status. We cap the subscription to 2 projects and set this field for the 3rd project. When this field is set, the project is not charged for and we do not call any billing APIs for this project. + FreeProjectForLegacyLimits *bool `json:"freeProjectForLegacyLimits,omitempty"` } -func (u UpdateProjectMicrofrontends1) MarshalJSON() ([]byte, error) { +func (u UpdateProjectMicrofrontends2) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(u, "", false) } -func (u *UpdateProjectMicrofrontends1) UnmarshalJSON(data []byte) error { +func (u *UpdateProjectMicrofrontends2) UnmarshalJSON(data []byte) error { if err := utils.UnmarshalJSON(data, &u, "", false, []string{"updatedAt", "groupIds", "enabled"}); err != nil { return err } return nil } -func (o *UpdateProjectMicrofrontends1) GetUpdatedAt() float64 { +func (o *UpdateProjectMicrofrontends2) GetIsDefaultApp() *bool { if o == nil { - return 0.0 + return nil } - return o.UpdatedAt + return o.IsDefaultApp } -func (o *UpdateProjectMicrofrontends1) GetGroupIds() []string { +func (o *UpdateProjectMicrofrontends2) GetRouteObservabilityToThisProject() *bool { if o == nil { - return []string{} + return nil } - return o.GroupIds + return o.RouteObservabilityToThisProject } -func (o *UpdateProjectMicrofrontends1) GetEnabled() bool { +func (o *UpdateProjectMicrofrontends2) GetDoNotRouteWithMicrofrontendsRouting() *bool { if o == nil { - return false + return nil + } + return o.DoNotRouteWithMicrofrontendsRouting +} + +func (o *UpdateProjectMicrofrontends2) GetUpdatedAt() float64 { + if o == nil { + return 0.0 + } + return o.UpdatedAt +} + +func (o *UpdateProjectMicrofrontends2) GetGroupIds() []string { + if o == nil { + return []string{} + } + return o.GroupIds +} + +func (o *UpdateProjectMicrofrontends2) GetEnabled() bool { + if o == nil { + return false } return o.Enabled } -func (o *UpdateProjectMicrofrontends1) GetIsDefaultApp() *bool { +func (o *UpdateProjectMicrofrontends2) GetDefaultRoute() *string { + if o == nil { + return nil + } + return o.DefaultRoute +} + +func (o *UpdateProjectMicrofrontends2) GetFreeProjectForLegacyLimits() *bool { if o == nil { return nil } + return o.FreeProjectForLegacyLimits +} + +type UpdateProjectMicrofrontends1 struct { + IsDefaultApp bool `json:"isDefaultApp"` + // Timestamp when the microfrontends settings were last updated. + UpdatedAt float64 `json:"updatedAt"` + // 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 []string `json:"groupIds"` + // Whether microfrontends are enabled for this project. + Enabled bool `json:"enabled"` + // 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. Includes the leading slash, e.g. `/docs` + DefaultRoute *string `json:"defaultRoute,omitempty"` + // Whether the project was part of the legacy limits for hobby and pro-trial before billing was added. This field is only set when the team is upgraded to a paid plan and we are backfilling the subscription status. We cap the subscription to 2 projects and set this field for the 3rd project. When this field is set, the project is not charged for and we do not call any billing APIs for this project. + FreeProjectForLegacyLimits *bool `json:"freeProjectForLegacyLimits,omitempty"` +} + +func (u UpdateProjectMicrofrontends1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(u, "", false) +} + +func (u *UpdateProjectMicrofrontends1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &u, "", false, []string{"isDefaultApp", "updatedAt", "groupIds", "enabled"}); err != nil { + return err + } + return nil +} + +func (o *UpdateProjectMicrofrontends1) GetIsDefaultApp() bool { + if o == nil { + return false + } return o.IsDefaultApp } +func (o *UpdateProjectMicrofrontends1) GetUpdatedAt() float64 { + if o == nil { + return 0.0 + } + return o.UpdatedAt +} + +func (o *UpdateProjectMicrofrontends1) GetGroupIds() []string { + if o == nil { + return []string{} + } + return o.GroupIds +} + +func (o *UpdateProjectMicrofrontends1) GetEnabled() bool { + if o == nil { + return false + } + return o.Enabled +} + func (o *UpdateProjectMicrofrontends1) GetDefaultRoute() *string { if o == nil { return nil @@ -4983,11 +5416,11 @@ func (o *UpdateProjectMicrofrontends1) GetDefaultRoute() *string { return o.DefaultRoute } -func (o *UpdateProjectMicrofrontends1) GetRouteObservabilityToThisProject() *bool { +func (o *UpdateProjectMicrofrontends1) GetFreeProjectForLegacyLimits() *bool { if o == nil { return nil } - return o.RouteObservabilityToThisProject + return o.FreeProjectForLegacyLimits } type UpdateProjectMicrofrontendsUnionType string @@ -4995,11 +5428,13 @@ type UpdateProjectMicrofrontendsUnionType string const ( UpdateProjectMicrofrontendsUnionTypeUpdateProjectMicrofrontends1 UpdateProjectMicrofrontendsUnionType = "updateProject_microfrontends_1" UpdateProjectMicrofrontendsUnionTypeUpdateProjectMicrofrontends2 UpdateProjectMicrofrontendsUnionType = "updateProject_microfrontends_2" + UpdateProjectMicrofrontendsUnionTypeUpdateProjectMicrofrontends3 UpdateProjectMicrofrontendsUnionType = "updateProject_microfrontends_3" ) type UpdateProjectMicrofrontendsUnion struct { UpdateProjectMicrofrontends1 *UpdateProjectMicrofrontends1 `queryParam:"inline"` UpdateProjectMicrofrontends2 *UpdateProjectMicrofrontends2 `queryParam:"inline"` + UpdateProjectMicrofrontends3 *UpdateProjectMicrofrontends3 `queryParam:"inline"` Type UpdateProjectMicrofrontendsUnionType } @@ -5022,6 +5457,15 @@ func CreateUpdateProjectMicrofrontendsUnionUpdateProjectMicrofrontends2(updatePr } } +func CreateUpdateProjectMicrofrontendsUnionUpdateProjectMicrofrontends3(updateProjectMicrofrontends3 UpdateProjectMicrofrontends3) UpdateProjectMicrofrontendsUnion { + typ := UpdateProjectMicrofrontendsUnionTypeUpdateProjectMicrofrontends3 + + return UpdateProjectMicrofrontendsUnion{ + UpdateProjectMicrofrontends3: &updateProjectMicrofrontends3, + Type: typ, + } +} + func (u *UpdateProjectMicrofrontendsUnion) UnmarshalJSON(data []byte) error { var updateProjectMicrofrontends1 UpdateProjectMicrofrontends1 = UpdateProjectMicrofrontends1{} @@ -5038,6 +5482,13 @@ func (u *UpdateProjectMicrofrontendsUnion) UnmarshalJSON(data []byte) error { return nil } + var updateProjectMicrofrontends3 UpdateProjectMicrofrontends3 = UpdateProjectMicrofrontends3{} + if err := utils.UnmarshalJSON(data, &updateProjectMicrofrontends3, "", true, nil); err == nil { + u.UpdateProjectMicrofrontends3 = &updateProjectMicrofrontends3 + u.Type = UpdateProjectMicrofrontendsUnionTypeUpdateProjectMicrofrontends3 + return nil + } + return fmt.Errorf("could not unmarshal `%s` into any supported union types for UpdateProjectMicrofrontendsUnion", string(data)) } @@ -5050,12 +5501,17 @@ func (u UpdateProjectMicrofrontendsUnion) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(u.UpdateProjectMicrofrontends2, "", true) } + if u.UpdateProjectMicrofrontends3 != nil { + return utils.MarshalJSON(u.UpdateProjectMicrofrontends3, "", true) + } + return nil, errors.New("could not marshal union type UpdateProjectMicrofrontendsUnion: all fields are null") } type UpdateProjectNodeVersionResponseBody string const ( + UpdateProjectNodeVersionResponseBodyTwentyFourDotX UpdateProjectNodeVersionResponseBody = "24.x" UpdateProjectNodeVersionResponseBodyTwentyTwoDotX UpdateProjectNodeVersionResponseBody = "22.x" UpdateProjectNodeVersionResponseBodyTwentyDotX UpdateProjectNodeVersionResponseBody = "20.x" UpdateProjectNodeVersionResponseBodyEighteenDotX UpdateProjectNodeVersionResponseBody = "18.x" @@ -5075,6 +5531,8 @@ func (e *UpdateProjectNodeVersionResponseBody) UnmarshalJSON(data []byte) error return err } switch v { + case "24.x": + fallthrough case "22.x": fallthrough case "20.x": @@ -5477,6 +5935,33 @@ func (o *UpdateProjectDefaultResourceConfig) GetIsNSNBDisabled() *bool { return o.IsNSNBDisabled } +type UpdateProjectStaticIpsResponse struct { + Builds bool `json:"builds"` + Enabled bool `json:"enabled"` + Regions []string `json:"regions"` +} + +func (o *UpdateProjectStaticIpsResponse) GetBuilds() bool { + if o == nil { + return false + } + return o.Builds +} + +func (o *UpdateProjectStaticIpsResponse) GetEnabled() bool { + if o == nil { + return false + } + return o.Enabled +} + +func (o *UpdateProjectStaticIpsResponse) GetRegions() []string { + if o == nil { + return []string{} + } + return o.Regions +} + type UpdateProjectSsoProtectionDeploymentTypeResponse string const ( @@ -5794,6 +6279,7 @@ type UpdateProjectOidcTokenClaims struct { Project string `json:"project"` ProjectID string `json:"project_id"` Environment string `json:"environment"` + Plan string `json:"plan"` } func (o *UpdateProjectOidcTokenClaims) GetIss() string { @@ -5859,6 +6345,13 @@ func (o *UpdateProjectOidcTokenClaims) GetEnvironment() string { return o.Environment } +func (o *UpdateProjectOidcTokenClaims) GetPlan() string { + if o == nil { + return "" + } + return o.Plan +} + type UpdateProjectPlan string const ( @@ -6277,9 +6770,17 @@ type UpdateProjectPermissions struct { UserSudo []components.ACLAction `json:"userSudo,omitempty"` WebAuthn []components.ACLAction `json:"webAuthn,omitempty"` AccessGroup []components.ACLAction `json:"accessGroup,omitempty"` + Agent []components.ACLAction `json:"agent,omitempty"` + Alerts []components.ACLAction `json:"alerts,omitempty"` AliasGlobal []components.ACLAction `json:"aliasGlobal,omitempty"` AnalyticsSampling []components.ACLAction `json:"analyticsSampling,omitempty"` AnalyticsUsage []components.ACLAction `json:"analyticsUsage,omitempty"` + APIKey []components.ACLAction `json:"apiKey,omitempty"` + APIKeyAiGateway []components.ACLAction `json:"apiKeyAiGateway,omitempty"` + APIKeyOwnedBySelf []components.ACLAction `json:"apiKeyOwnedBySelf,omitempty"` + Oauth2Application []components.ACLAction `json:"oauth2Application,omitempty"` + VercelAppInstallation []components.ACLAction `json:"vercelAppInstallation,omitempty"` + VercelAppInstallationRequest []components.ACLAction `json:"vercelAppInstallationRequest,omitempty"` AuditLog []components.ACLAction `json:"auditLog,omitempty"` BillingAddress []components.ACLAction `json:"billingAddress,omitempty"` BillingInformation []components.ACLAction `json:"billingInformation,omitempty"` @@ -6291,6 +6792,7 @@ type UpdateProjectPermissions struct { BillingRefund []components.ACLAction `json:"billingRefund,omitempty"` BillingTaxID []components.ACLAction `json:"billingTaxId,omitempty"` Blob []components.ACLAction `json:"blob,omitempty"` + BlobStoreTokenSet []components.ACLAction `json:"blobStoreTokenSet,omitempty"` Budget []components.ACLAction `json:"budget,omitempty"` CacheArtifact []components.ACLAction `json:"cacheArtifact,omitempty"` CacheArtifactUsageEvent []components.ACLAction `json:"cacheArtifactUsageEvent,omitempty"` @@ -6298,6 +6800,7 @@ type UpdateProjectPermissions struct { ConcurrentBuilds []components.ACLAction `json:"concurrentBuilds,omitempty"` Connect []components.ACLAction `json:"connect,omitempty"` ConnectConfiguration []components.ACLAction `json:"connectConfiguration,omitempty"` + DataCacheBillingSettings []components.ACLAction `json:"dataCacheBillingSettings,omitempty"` DefaultDeploymentProtection []components.ACLAction `json:"defaultDeploymentProtection,omitempty"` Domain []components.ACLAction `json:"domain,omitempty"` DomainAcceptDelegation []components.ACLAction `json:"domainAcceptDelegation,omitempty"` @@ -6308,40 +6811,48 @@ type UpdateProjectPermissions struct { DomainPurchase []components.ACLAction `json:"domainPurchase,omitempty"` DomainRecord []components.ACLAction `json:"domainRecord,omitempty"` DomainTransferIn []components.ACLAction `json:"domainTransferIn,omitempty"` + Drain []components.ACLAction `json:"drain,omitempty"` + EdgeConfig []components.ACLAction `json:"edgeConfig,omitempty"` + EdgeConfigItem []components.ACLAction `json:"edgeConfigItem,omitempty"` + EdgeConfigSchema []components.ACLAction `json:"edgeConfigSchema,omitempty"` + EdgeConfigToken []components.ACLAction `json:"edgeConfigToken,omitempty"` + EndpointVerification []components.ACLAction `json:"endpointVerification,omitempty"` Event []components.ACLAction `json:"event,omitempty"` - OwnEvent []components.ACLAction `json:"ownEvent,omitempty"` - SensitiveEnvironmentVariablePolicy []components.ACLAction `json:"sensitiveEnvironmentVariablePolicy,omitempty"` FileUpload []components.ACLAction `json:"fileUpload,omitempty"` FlagsExplorerSubscription []components.ACLAction `json:"flagsExplorerSubscription,omitempty"` GitRepository []components.ACLAction `json:"gitRepository,omitempty"` - IPBlocking []components.ACLAction `json:"ipBlocking,omitempty"` ImageOptimizationNewPrice []components.ACLAction `json:"imageOptimizationNewPrice,omitempty"` Integration []components.ACLAction `json:"integration,omitempty"` IntegrationAccount []components.ACLAction `json:"integrationAccount,omitempty"` IntegrationConfiguration []components.ACLAction `json:"integrationConfiguration,omitempty"` - IntegrationConfigurationTransfer []components.ACLAction `json:"integrationConfigurationTransfer,omitempty"` IntegrationConfigurationProjects []components.ACLAction `json:"integrationConfigurationProjects,omitempty"` - IntegrationVercelConfigurationOverride []components.ACLAction `json:"integrationVercelConfigurationOverride,omitempty"` IntegrationConfigurationRole []components.ACLAction `json:"integrationConfigurationRole,omitempty"` - IntegrationSSOSession []components.ACLAction `json:"integrationSSOSession,omitempty"` - IntegrationResource []components.ACLAction `json:"integrationResource,omitempty"` + IntegrationConfigurationTransfer []components.ACLAction `json:"integrationConfigurationTransfer,omitempty"` + IntegrationDeploymentAction []components.ACLAction `json:"integrationDeploymentAction,omitempty"` IntegrationEvent []components.ACLAction `json:"integrationEvent,omitempty"` + IntegrationLog []components.ACLAction `json:"integrationLog,omitempty"` + IntegrationResource []components.ACLAction `json:"integrationResource,omitempty"` + IntegrationResourceReplCommand []components.ACLAction `json:"integrationResourceReplCommand,omitempty"` IntegrationResourceSecrets []components.ACLAction `json:"integrationResourceSecrets,omitempty"` - IntegrationDeploymentAction []components.ACLAction `json:"integrationDeploymentAction,omitempty"` - MarketplaceInstallationMember []components.ACLAction `json:"marketplaceInstallationMember,omitempty"` + IntegrationSSOSession []components.ACLAction `json:"integrationSSOSession,omitempty"` + IntegrationStoreTokenSet []components.ACLAction `json:"integrationStoreTokenSet,omitempty"` + IntegrationVercelConfigurationOverride []components.ACLAction `json:"integrationVercelConfigurationOverride,omitempty"` + IntegrationPullRequest []components.ACLAction `json:"integrationPullRequest,omitempty"` + IPBlocking []components.ACLAction `json:"ipBlocking,omitempty"` + JobGlobal []components.ACLAction `json:"jobGlobal,omitempty"` + LogDrain []components.ACLAction `json:"logDrain,omitempty"` MarketplaceBillingData []components.ACLAction `json:"marketplaceBillingData,omitempty"` + MarketplaceExperimentationEdgeConfigData []components.ACLAction `json:"marketplaceExperimentationEdgeConfigData,omitempty"` + MarketplaceExperimentationItem []components.ACLAction `json:"marketplaceExperimentationItem,omitempty"` + MarketplaceInstallationMember []components.ACLAction `json:"marketplaceInstallationMember,omitempty"` MarketplaceInvoice []components.ACLAction `json:"marketplaceInvoice,omitempty"` MarketplaceSettings []components.ACLAction `json:"marketplaceSettings,omitempty"` - MarketplaceExperimentationItem []components.ACLAction `json:"marketplaceExperimentationItem,omitempty"` - MarketplaceExperimentationEdgeConfigData []components.ACLAction `json:"marketplaceExperimentationEdgeConfigData,omitempty"` - JobGlobal []components.ACLAction `json:"jobGlobal,omitempty"` - Drain []components.ACLAction `json:"drain,omitempty"` - LogDrain []components.ACLAction `json:"logDrain,omitempty"` Monitoring []components.ACLAction `json:"Monitoring,omitempty"` - MonitoringSettings []components.ACLAction `json:"monitoringSettings,omitempty"` - MonitoringQuery []components.ACLAction `json:"monitoringQuery,omitempty"` - MonitoringChart []components.ACLAction `json:"monitoringChart,omitempty"` MonitoringAlert []components.ACLAction `json:"monitoringAlert,omitempty"` + MonitoringChart []components.ACLAction `json:"monitoringChart,omitempty"` + MonitoringQuery []components.ACLAction `json:"monitoringQuery,omitempty"` + MonitoringSettings []components.ACLAction `json:"monitoringSettings,omitempty"` + NotificationCustomerBudget []components.ACLAction `json:"notificationCustomerBudget,omitempty"` NotificationDeploymentFailed []components.ACLAction `json:"notificationDeploymentFailed,omitempty"` NotificationDomainConfiguration []components.ACLAction `json:"notificationDomainConfiguration,omitempty"` NotificationDomainExpire []components.ACLAction `json:"notificationDomainExpire,omitempty"` @@ -6352,42 +6863,38 @@ type UpdateProjectPermissions struct { NotificationDomainUnverified []components.ACLAction `json:"notificationDomainUnverified,omitempty"` NotificationMonitoringAlert []components.ACLAction `json:"NotificationMonitoringAlert,omitempty"` NotificationPaymentFailed []components.ACLAction `json:"notificationPaymentFailed,omitempty"` - NotificationUsageAlert []components.ACLAction `json:"notificationUsageAlert,omitempty"` NotificationPreferences []components.ACLAction `json:"notificationPreferences,omitempty"` - NotificationCustomerBudget []components.ACLAction `json:"notificationCustomerBudget,omitempty"` NotificationStatementOfReasons []components.ACLAction `json:"notificationStatementOfReasons,omitempty"` + NotificationUsageAlert []components.ACLAction `json:"notificationUsageAlert,omitempty"` ObservabilityConfiguration []components.ACLAction `json:"observabilityConfiguration,omitempty"` - Alerts []components.ACLAction `json:"alerts,omitempty"` - ObservabilityNotebook []components.ACLAction `json:"observabilityNotebook,omitempty"` ObservabilityFunnel []components.ACLAction `json:"observabilityFunnel,omitempty"` + ObservabilityNotebook []components.ACLAction `json:"observabilityNotebook,omitempty"` OpenTelemetryEndpoint []components.ACLAction `json:"openTelemetryEndpoint,omitempty"` - VercelAppInstallation []components.ACLAction `json:"vercelAppInstallation,omitempty"` - VercelAppInstallationRequest []components.ACLAction `json:"vercelAppInstallationRequest,omitempty"` + OwnEvent []components.ACLAction `json:"ownEvent,omitempty"` + OrganizationDomain []components.ACLAction `json:"organizationDomain,omitempty"` + PasswordProtectionInvoiceItem []components.ACLAction `json:"passwordProtectionInvoiceItem,omitempty"` PaymentMethod []components.ACLAction `json:"paymentMethod,omitempty"` Permissions []components.ACLAction `json:"permissions,omitempty"` Postgres []components.ACLAction `json:"postgres,omitempty"` + PostgresStoreTokenSet []components.ACLAction `json:"postgresStoreTokenSet,omitempty"` PreviewDeploymentSuffix []components.ACLAction `json:"previewDeploymentSuffix,omitempty"` + ProjectTransferIn []components.ACLAction `json:"projectTransferIn,omitempty"` ProTrialOnboarding []components.ACLAction `json:"proTrialOnboarding,omitempty"` - SharedEnvVars []components.ACLAction `json:"sharedEnvVars,omitempty"` - SharedEnvVarsProduction []components.ACLAction `json:"sharedEnvVarsProduction,omitempty"` - Space []components.ACLAction `json:"space,omitempty"` - SpaceRun []components.ACLAction `json:"spaceRun,omitempty"` - PasswordProtectionInvoiceItem []components.ACLAction `json:"passwordProtectionInvoiceItem,omitempty"` RateLimit []components.ACLAction `json:"rateLimit,omitempty"` Redis []components.ACLAction `json:"redis,omitempty"` - Repository []components.ACLAction `json:"repository,omitempty"` + RedisStoreTokenSet []components.ACLAction `json:"redisStoreTokenSet,omitempty"` RemoteCaching []components.ACLAction `json:"remoteCaching,omitempty"` + Repository []components.ACLAction `json:"repository,omitempty"` SamlConfig []components.ACLAction `json:"samlConfig,omitempty"` Secret []components.ACLAction `json:"secret,omitempty"` - RedisStoreTokenSet []components.ACLAction `json:"redisStoreTokenSet,omitempty"` - BlobStoreTokenSet []components.ACLAction `json:"blobStoreTokenSet,omitempty"` - PostgresStoreTokenSet []components.ACLAction `json:"postgresStoreTokenSet,omitempty"` - IntegrationStoreTokenSet []components.ACLAction `json:"integrationStoreTokenSet,omitempty"` - IntegrationResourceReplCommand []components.ACLAction `json:"integrationResourceReplCommand,omitempty"` + SensitiveEnvironmentVariablePolicy []components.ACLAction `json:"sensitiveEnvironmentVariablePolicy,omitempty"` + SharedEnvVars []components.ACLAction `json:"sharedEnvVars,omitempty"` + SharedEnvVarsProduction []components.ACLAction `json:"sharedEnvVarsProduction,omitempty"` + Space []components.ACLAction `json:"space,omitempty"` + SpaceRun []components.ACLAction `json:"spaceRun,omitempty"` StoreTransfer []components.ACLAction `json:"storeTransfer,omitempty"` SupportCase []components.ACLAction `json:"supportCase,omitempty"` SupportCaseComment []components.ACLAction `json:"supportCaseComment,omitempty"` - DataCacheBillingSettings []components.ACLAction `json:"dataCacheBillingSettings,omitempty"` Team []components.ACLAction `json:"team,omitempty"` TeamAccessRequest []components.ACLAction `json:"teamAccessRequest,omitempty"` TeamFellowMembership []components.ACLAction `json:"teamFellowMembership,omitempty"` @@ -6402,26 +6909,15 @@ type UpdateProjectPermissions struct { Token []components.ACLAction `json:"token,omitempty"` Usage []components.ACLAction `json:"usage,omitempty"` UsageCycle []components.ACLAction `json:"usageCycle,omitempty"` + VercelRun []components.ACLAction `json:"vercelRun,omitempty"` + VercelRunExec []components.ACLAction `json:"vercelRunExec,omitempty"` VpcPeeringConnection []components.ACLAction `json:"vpcPeeringConnection,omitempty"` WebAnalyticsPlan []components.ACLAction `json:"webAnalyticsPlan,omitempty"` - EdgeConfig []components.ACLAction `json:"edgeConfig,omitempty"` - EdgeConfigItem []components.ACLAction `json:"edgeConfigItem,omitempty"` - EdgeConfigSchema []components.ACLAction `json:"edgeConfigSchema,omitempty"` - EdgeConfigToken []components.ACLAction `json:"edgeConfigToken,omitempty"` Webhook []components.ACLAction `json:"webhook,omitempty"` WebhookEvent []components.ACLAction `json:"webhook-event,omitempty"` - EndpointVerification []components.ACLAction `json:"endpointVerification,omitempty"` - ProjectTransferIn []components.ACLAction `json:"projectTransferIn,omitempty"` - Oauth2Application []components.ACLAction `json:"oauth2Application,omitempty"` - VercelRun []components.ACLAction `json:"vercelRun,omitempty"` - VercelRunExec []components.ACLAction `json:"vercelRunExec,omitempty"` - APIKey []components.ACLAction `json:"apiKey,omitempty"` - APIKeyOwnedBySelf []components.ACLAction `json:"apiKeyOwnedBySelf,omitempty"` - APIKeyAiGateway []components.ACLAction `json:"apiKeyAiGateway,omitempty"` AliasProject []components.ACLAction `json:"aliasProject,omitempty"` AliasProtectionBypass []components.ACLAction `json:"aliasProtectionBypass,omitempty"` BuildMachine []components.ACLAction `json:"buildMachine,omitempty"` - ProductionAliasProtectionBypass []components.ACLAction `json:"productionAliasProtectionBypass,omitempty"` ConnectConfigurationLink []components.ACLAction `json:"connectConfigurationLink,omitempty"` DataCacheNamespace []components.ACLAction `json:"dataCacheNamespace,omitempty"` Deployment []components.ACLAction `json:"deployment,omitempty"` @@ -6437,54 +6933,55 @@ type UpdateProjectPermissions struct { DeploymentRollback []components.ACLAction `json:"deploymentRollback,omitempty"` EdgeCacheNamespace []components.ACLAction `json:"edgeCacheNamespace,omitempty"` Environments []components.ACLAction `json:"environments,omitempty"` + Job []components.ACLAction `json:"job,omitempty"` Logs []components.ACLAction `json:"logs,omitempty"` LogsPreset []components.ACLAction `json:"logsPreset,omitempty"` - PasswordProtection []components.ACLAction `json:"passwordProtection,omitempty"` - OptionsAllowlist []components.ACLAction `json:"optionsAllowlist,omitempty"` - Job []components.ACLAction `json:"job,omitempty"` ObservabilityData []components.ACLAction `json:"observabilityData,omitempty"` OnDemandBuild []components.ACLAction `json:"onDemandBuild,omitempty"` OnDemandConcurrency []components.ACLAction `json:"onDemandConcurrency,omitempty"` + OptionsAllowlist []components.ACLAction `json:"optionsAllowlist,omitempty"` + PasswordProtection []components.ACLAction `json:"passwordProtection,omitempty"` + ProductionAliasProtectionBypass []components.ACLAction `json:"productionAliasProtectionBypass,omitempty"` Project []components.ACLAction `json:"project,omitempty"` - ProjectFromV0 []components.ACLAction `json:"projectFromV0,omitempty"` ProjectAccessGroup []components.ACLAction `json:"projectAccessGroup,omitempty"` ProjectAnalyticsSampling []components.ACLAction `json:"projectAnalyticsSampling,omitempty"` + ProjectAnalyticsUsage []components.ACLAction `json:"projectAnalyticsUsage,omitempty"` ProjectCheck []components.ACLAction `json:"projectCheck,omitempty"` ProjectCheckRun []components.ACLAction `json:"projectCheckRun,omitempty"` + ProjectDeploymentExpiration []components.ACLAction `json:"projectDeploymentExpiration,omitempty"` ProjectDeploymentHook []components.ACLAction `json:"projectDeploymentHook,omitempty"` ProjectDomain []components.ACLAction `json:"projectDomain,omitempty"` - ProjectDomainMove []components.ACLAction `json:"projectDomainMove,omitempty"` ProjectDomainCheckConfig []components.ACLAction `json:"projectDomainCheckConfig,omitempty"` + ProjectDomainMove []components.ACLAction `json:"projectDomainMove,omitempty"` ProjectEnvVars []components.ACLAction `json:"projectEnvVars,omitempty"` ProjectEnvVarsProduction []components.ACLAction `json:"projectEnvVarsProduction,omitempty"` ProjectEnvVarsUnownedByIntegration []components.ACLAction `json:"projectEnvVarsUnownedByIntegration,omitempty"` ProjectFlags []components.ACLAction `json:"projectFlags,omitempty"` + ProjectFlagsProduction []components.ACLAction `json:"projectFlagsProduction,omitempty"` + ProjectFromV0 []components.ACLAction `json:"projectFromV0,omitempty"` ProjectID []components.ACLAction `json:"projectId,omitempty"` ProjectIntegrationConfiguration []components.ACLAction `json:"projectIntegrationConfiguration,omitempty"` ProjectLink []components.ACLAction `json:"projectLink,omitempty"` ProjectMember []components.ACLAction `json:"projectMember,omitempty"` ProjectMonitoring []components.ACLAction `json:"projectMonitoring,omitempty"` + ProjectOIDCToken []components.ACLAction `json:"projectOIDCToken,omitempty"` ProjectPermissions []components.ACLAction `json:"projectPermissions,omitempty"` ProjectProductionBranch []components.ACLAction `json:"projectProductionBranch,omitempty"` - ProjectTransfer []components.ACLAction `json:"projectTransfer,omitempty"` - ProjectTransferOut []components.ACLAction `json:"projectTransferOut,omitempty"` ProjectProtectionBypass []components.ACLAction `json:"projectProtectionBypass,omitempty"` - ProjectUsage []components.ACLAction `json:"projectUsage,omitempty"` - ProjectAnalyticsUsage []components.ACLAction `json:"projectAnalyticsUsage,omitempty"` + ProjectRollingRelease []components.ACLAction `json:"projectRollingRelease,omitempty"` ProjectSupportCase []components.ACLAction `json:"projectSupportCase,omitempty"` ProjectSupportCaseComment []components.ACLAction `json:"projectSupportCaseComment,omitempty"` - ProjectDeploymentExpiration []components.ACLAction `json:"projectDeploymentExpiration,omitempty"` - ProjectRollingRelease []components.ACLAction `json:"projectRollingRelease,omitempty"` ProjectTier []components.ACLAction `json:"projectTier,omitempty"` - ProjectOIDCToken []components.ACLAction `json:"projectOIDCToken,omitempty"` + ProjectTransfer []components.ACLAction `json:"projectTransfer,omitempty"` + ProjectTransferOut []components.ACLAction `json:"projectTransferOut,omitempty"` + ProjectUsage []components.ACLAction `json:"projectUsage,omitempty"` SeawallConfig []components.ACLAction `json:"seawallConfig,omitempty"` + SharedEnvVarConnection []components.ACLAction `json:"sharedEnvVarConnection,omitempty"` SkewProtection []components.ACLAction `json:"skewProtection,omitempty"` Analytics []components.ACLAction `json:"analytics,omitempty"` TrustedIps []components.ACLAction `json:"trustedIps,omitempty"` V0Chat []components.ACLAction `json:"v0Chat,omitempty"` WebAnalytics []components.ACLAction `json:"webAnalytics,omitempty"` - SharedEnvVarConnection []components.ACLAction `json:"sharedEnvVarConnection,omitempty"` - Sonar []components.ACLAction `json:"sonar,omitempty"` } func (o *UpdateProjectPermissions) GetOauth2Connection() []components.ACLAction { @@ -6529,6 +7026,20 @@ func (o *UpdateProjectPermissions) GetAccessGroup() []components.ACLAction { return o.AccessGroup } +func (o *UpdateProjectPermissions) GetAgent() []components.ACLAction { + if o == nil { + return nil + } + return o.Agent +} + +func (o *UpdateProjectPermissions) GetAlerts() []components.ACLAction { + if o == nil { + return nil + } + return o.Alerts +} + func (o *UpdateProjectPermissions) GetAliasGlobal() []components.ACLAction { if o == nil { return nil @@ -6550,25 +7061,67 @@ func (o *UpdateProjectPermissions) GetAnalyticsUsage() []components.ACLAction { return o.AnalyticsUsage } -func (o *UpdateProjectPermissions) GetAuditLog() []components.ACLAction { +func (o *UpdateProjectPermissions) GetAPIKey() []components.ACLAction { if o == nil { return nil } - return o.AuditLog + return o.APIKey } -func (o *UpdateProjectPermissions) GetBillingAddress() []components.ACLAction { +func (o *UpdateProjectPermissions) GetAPIKeyAiGateway() []components.ACLAction { if o == nil { return nil } - return o.BillingAddress + return o.APIKeyAiGateway } -func (o *UpdateProjectPermissions) GetBillingInformation() []components.ACLAction { +func (o *UpdateProjectPermissions) GetAPIKeyOwnedBySelf() []components.ACLAction { if o == nil { return nil } - return o.BillingInformation + return o.APIKeyOwnedBySelf +} + +func (o *UpdateProjectPermissions) GetOauth2Application() []components.ACLAction { + if o == nil { + return nil + } + return o.Oauth2Application +} + +func (o *UpdateProjectPermissions) GetVercelAppInstallation() []components.ACLAction { + if o == nil { + return nil + } + return o.VercelAppInstallation +} + +func (o *UpdateProjectPermissions) GetVercelAppInstallationRequest() []components.ACLAction { + if o == nil { + return nil + } + return o.VercelAppInstallationRequest +} + +func (o *UpdateProjectPermissions) GetAuditLog() []components.ACLAction { + if o == nil { + return nil + } + return o.AuditLog +} + +func (o *UpdateProjectPermissions) GetBillingAddress() []components.ACLAction { + if o == nil { + return nil + } + return o.BillingAddress +} + +func (o *UpdateProjectPermissions) GetBillingInformation() []components.ACLAction { + if o == nil { + return nil + } + return o.BillingInformation } func (o *UpdateProjectPermissions) GetBillingInvoice() []components.ACLAction { @@ -6627,6 +7180,13 @@ func (o *UpdateProjectPermissions) GetBlob() []components.ACLAction { return o.Blob } +func (o *UpdateProjectPermissions) GetBlobStoreTokenSet() []components.ACLAction { + if o == nil { + return nil + } + return o.BlobStoreTokenSet +} + func (o *UpdateProjectPermissions) GetBudget() []components.ACLAction { if o == nil { return nil @@ -6676,6 +7236,13 @@ func (o *UpdateProjectPermissions) GetConnectConfiguration() []components.ACLAct return o.ConnectConfiguration } +func (o *UpdateProjectPermissions) GetDataCacheBillingSettings() []components.ACLAction { + if o == nil { + return nil + } + return o.DataCacheBillingSettings +} + func (o *UpdateProjectPermissions) GetDefaultDeploymentProtection() []components.ACLAction { if o == nil { return nil @@ -6746,25 +7313,53 @@ func (o *UpdateProjectPermissions) GetDomainTransferIn() []components.ACLAction return o.DomainTransferIn } -func (o *UpdateProjectPermissions) GetEvent() []components.ACLAction { +func (o *UpdateProjectPermissions) GetDrain() []components.ACLAction { if o == nil { return nil } - return o.Event + return o.Drain } -func (o *UpdateProjectPermissions) GetOwnEvent() []components.ACLAction { +func (o *UpdateProjectPermissions) GetEdgeConfig() []components.ACLAction { if o == nil { return nil } - return o.OwnEvent + return o.EdgeConfig } -func (o *UpdateProjectPermissions) GetSensitiveEnvironmentVariablePolicy() []components.ACLAction { +func (o *UpdateProjectPermissions) GetEdgeConfigItem() []components.ACLAction { if o == nil { return nil } - return o.SensitiveEnvironmentVariablePolicy + return o.EdgeConfigItem +} + +func (o *UpdateProjectPermissions) GetEdgeConfigSchema() []components.ACLAction { + if o == nil { + return nil + } + return o.EdgeConfigSchema +} + +func (o *UpdateProjectPermissions) GetEdgeConfigToken() []components.ACLAction { + if o == nil { + return nil + } + return o.EdgeConfigToken +} + +func (o *UpdateProjectPermissions) GetEndpointVerification() []components.ACLAction { + if o == nil { + return nil + } + return o.EndpointVerification +} + +func (o *UpdateProjectPermissions) GetEvent() []components.ACLAction { + if o == nil { + return nil + } + return o.Event } func (o *UpdateProjectPermissions) GetFileUpload() []components.ACLAction { @@ -6788,13 +7383,6 @@ func (o *UpdateProjectPermissions) GetGitRepository() []components.ACLAction { return o.GitRepository } -func (o *UpdateProjectPermissions) GetIPBlocking() []components.ACLAction { - if o == nil { - return nil - } - return o.IPBlocking -} - func (o *UpdateProjectPermissions) GetImageOptimizationNewPrice() []components.ACLAction { if o == nil { return nil @@ -6823,39 +7411,46 @@ func (o *UpdateProjectPermissions) GetIntegrationConfiguration() []components.AC return o.IntegrationConfiguration } -func (o *UpdateProjectPermissions) GetIntegrationConfigurationTransfer() []components.ACLAction { +func (o *UpdateProjectPermissions) GetIntegrationConfigurationProjects() []components.ACLAction { if o == nil { return nil } - return o.IntegrationConfigurationTransfer + return o.IntegrationConfigurationProjects } -func (o *UpdateProjectPermissions) GetIntegrationConfigurationProjects() []components.ACLAction { +func (o *UpdateProjectPermissions) GetIntegrationConfigurationRole() []components.ACLAction { if o == nil { return nil } - return o.IntegrationConfigurationProjects + return o.IntegrationConfigurationRole } -func (o *UpdateProjectPermissions) GetIntegrationVercelConfigurationOverride() []components.ACLAction { +func (o *UpdateProjectPermissions) GetIntegrationConfigurationTransfer() []components.ACLAction { if o == nil { return nil } - return o.IntegrationVercelConfigurationOverride + return o.IntegrationConfigurationTransfer } -func (o *UpdateProjectPermissions) GetIntegrationConfigurationRole() []components.ACLAction { +func (o *UpdateProjectPermissions) GetIntegrationDeploymentAction() []components.ACLAction { if o == nil { return nil } - return o.IntegrationConfigurationRole + return o.IntegrationDeploymentAction } -func (o *UpdateProjectPermissions) GetIntegrationSSOSession() []components.ACLAction { +func (o *UpdateProjectPermissions) GetIntegrationEvent() []components.ACLAction { if o == nil { return nil } - return o.IntegrationSSOSession + return o.IntegrationEvent +} + +func (o *UpdateProjectPermissions) GetIntegrationLog() []components.ACLAction { + if o == nil { + return nil + } + return o.IntegrationLog } func (o *UpdateProjectPermissions) GetIntegrationResource() []components.ACLAction { @@ -6865,11 +7460,11 @@ func (o *UpdateProjectPermissions) GetIntegrationResource() []components.ACLActi return o.IntegrationResource } -func (o *UpdateProjectPermissions) GetIntegrationEvent() []components.ACLAction { +func (o *UpdateProjectPermissions) GetIntegrationResourceReplCommand() []components.ACLAction { if o == nil { return nil } - return o.IntegrationEvent + return o.IntegrationResourceReplCommand } func (o *UpdateProjectPermissions) GetIntegrationResourceSecrets() []components.ACLAction { @@ -6879,46 +7474,60 @@ func (o *UpdateProjectPermissions) GetIntegrationResourceSecrets() []components. return o.IntegrationResourceSecrets } -func (o *UpdateProjectPermissions) GetIntegrationDeploymentAction() []components.ACLAction { +func (o *UpdateProjectPermissions) GetIntegrationSSOSession() []components.ACLAction { if o == nil { return nil } - return o.IntegrationDeploymentAction + return o.IntegrationSSOSession } -func (o *UpdateProjectPermissions) GetMarketplaceInstallationMember() []components.ACLAction { +func (o *UpdateProjectPermissions) GetIntegrationStoreTokenSet() []components.ACLAction { if o == nil { return nil } - return o.MarketplaceInstallationMember + return o.IntegrationStoreTokenSet } -func (o *UpdateProjectPermissions) GetMarketplaceBillingData() []components.ACLAction { +func (o *UpdateProjectPermissions) GetIntegrationVercelConfigurationOverride() []components.ACLAction { if o == nil { return nil } - return o.MarketplaceBillingData + return o.IntegrationVercelConfigurationOverride } -func (o *UpdateProjectPermissions) GetMarketplaceInvoice() []components.ACLAction { +func (o *UpdateProjectPermissions) GetIntegrationPullRequest() []components.ACLAction { if o == nil { return nil } - return o.MarketplaceInvoice + return o.IntegrationPullRequest } -func (o *UpdateProjectPermissions) GetMarketplaceSettings() []components.ACLAction { +func (o *UpdateProjectPermissions) GetIPBlocking() []components.ACLAction { if o == nil { return nil } - return o.MarketplaceSettings + return o.IPBlocking } -func (o *UpdateProjectPermissions) GetMarketplaceExperimentationItem() []components.ACLAction { +func (o *UpdateProjectPermissions) GetJobGlobal() []components.ACLAction { if o == nil { return nil } - return o.MarketplaceExperimentationItem + return o.JobGlobal +} + +func (o *UpdateProjectPermissions) GetLogDrain() []components.ACLAction { + if o == nil { + return nil + } + return o.LogDrain +} + +func (o *UpdateProjectPermissions) GetMarketplaceBillingData() []components.ACLAction { + if o == nil { + return nil + } + return o.MarketplaceBillingData } func (o *UpdateProjectPermissions) GetMarketplaceExperimentationEdgeConfigData() []components.ACLAction { @@ -6928,25 +7537,32 @@ func (o *UpdateProjectPermissions) GetMarketplaceExperimentationEdgeConfigData() return o.MarketplaceExperimentationEdgeConfigData } -func (o *UpdateProjectPermissions) GetJobGlobal() []components.ACLAction { +func (o *UpdateProjectPermissions) GetMarketplaceExperimentationItem() []components.ACLAction { if o == nil { return nil } - return o.JobGlobal + return o.MarketplaceExperimentationItem } -func (o *UpdateProjectPermissions) GetDrain() []components.ACLAction { +func (o *UpdateProjectPermissions) GetMarketplaceInstallationMember() []components.ACLAction { if o == nil { return nil } - return o.Drain + return o.MarketplaceInstallationMember } -func (o *UpdateProjectPermissions) GetLogDrain() []components.ACLAction { +func (o *UpdateProjectPermissions) GetMarketplaceInvoice() []components.ACLAction { if o == nil { return nil } - return o.LogDrain + return o.MarketplaceInvoice +} + +func (o *UpdateProjectPermissions) GetMarketplaceSettings() []components.ACLAction { + if o == nil { + return nil + } + return o.MarketplaceSettings } func (o *UpdateProjectPermissions) GetMonitoring() []components.ACLAction { @@ -6956,11 +7572,18 @@ func (o *UpdateProjectPermissions) GetMonitoring() []components.ACLAction { return o.Monitoring } -func (o *UpdateProjectPermissions) GetMonitoringSettings() []components.ACLAction { +func (o *UpdateProjectPermissions) GetMonitoringAlert() []components.ACLAction { if o == nil { return nil } - return o.MonitoringSettings + return o.MonitoringAlert +} + +func (o *UpdateProjectPermissions) GetMonitoringChart() []components.ACLAction { + if o == nil { + return nil + } + return o.MonitoringChart } func (o *UpdateProjectPermissions) GetMonitoringQuery() []components.ACLAction { @@ -6970,18 +7593,18 @@ func (o *UpdateProjectPermissions) GetMonitoringQuery() []components.ACLAction { return o.MonitoringQuery } -func (o *UpdateProjectPermissions) GetMonitoringChart() []components.ACLAction { +func (o *UpdateProjectPermissions) GetMonitoringSettings() []components.ACLAction { if o == nil { return nil } - return o.MonitoringChart + return o.MonitoringSettings } -func (o *UpdateProjectPermissions) GetMonitoringAlert() []components.ACLAction { +func (o *UpdateProjectPermissions) GetNotificationCustomerBudget() []components.ACLAction { if o == nil { return nil } - return o.MonitoringAlert + return o.NotificationCustomerBudget } func (o *UpdateProjectPermissions) GetNotificationDeploymentFailed() []components.ACLAction { @@ -7054,13 +7677,6 @@ func (o *UpdateProjectPermissions) GetNotificationPaymentFailed() []components.A return o.NotificationPaymentFailed } -func (o *UpdateProjectPermissions) GetNotificationUsageAlert() []components.ACLAction { - if o == nil { - return nil - } - return o.NotificationUsageAlert -} - func (o *UpdateProjectPermissions) GetNotificationPreferences() []components.ACLAction { if o == nil { return nil @@ -7068,18 +7684,18 @@ func (o *UpdateProjectPermissions) GetNotificationPreferences() []components.ACL return o.NotificationPreferences } -func (o *UpdateProjectPermissions) GetNotificationCustomerBudget() []components.ACLAction { +func (o *UpdateProjectPermissions) GetNotificationStatementOfReasons() []components.ACLAction { if o == nil { return nil } - return o.NotificationCustomerBudget + return o.NotificationStatementOfReasons } -func (o *UpdateProjectPermissions) GetNotificationStatementOfReasons() []components.ACLAction { +func (o *UpdateProjectPermissions) GetNotificationUsageAlert() []components.ACLAction { if o == nil { return nil } - return o.NotificationStatementOfReasons + return o.NotificationUsageAlert } func (o *UpdateProjectPermissions) GetObservabilityConfiguration() []components.ACLAction { @@ -7089,11 +7705,11 @@ func (o *UpdateProjectPermissions) GetObservabilityConfiguration() []components. return o.ObservabilityConfiguration } -func (o *UpdateProjectPermissions) GetAlerts() []components.ACLAction { +func (o *UpdateProjectPermissions) GetObservabilityFunnel() []components.ACLAction { if o == nil { return nil } - return o.Alerts + return o.ObservabilityFunnel } func (o *UpdateProjectPermissions) GetObservabilityNotebook() []components.ACLAction { @@ -7103,32 +7719,32 @@ func (o *UpdateProjectPermissions) GetObservabilityNotebook() []components.ACLAc return o.ObservabilityNotebook } -func (o *UpdateProjectPermissions) GetObservabilityFunnel() []components.ACLAction { +func (o *UpdateProjectPermissions) GetOpenTelemetryEndpoint() []components.ACLAction { if o == nil { return nil } - return o.ObservabilityFunnel + return o.OpenTelemetryEndpoint } -func (o *UpdateProjectPermissions) GetOpenTelemetryEndpoint() []components.ACLAction { +func (o *UpdateProjectPermissions) GetOwnEvent() []components.ACLAction { if o == nil { return nil } - return o.OpenTelemetryEndpoint + return o.OwnEvent } -func (o *UpdateProjectPermissions) GetVercelAppInstallation() []components.ACLAction { +func (o *UpdateProjectPermissions) GetOrganizationDomain() []components.ACLAction { if o == nil { return nil } - return o.VercelAppInstallation + return o.OrganizationDomain } -func (o *UpdateProjectPermissions) GetVercelAppInstallationRequest() []components.ACLAction { +func (o *UpdateProjectPermissions) GetPasswordProtectionInvoiceItem() []components.ACLAction { if o == nil { return nil } - return o.VercelAppInstallationRequest + return o.PasswordProtectionInvoiceItem } func (o *UpdateProjectPermissions) GetPaymentMethod() []components.ACLAction { @@ -7152,67 +7768,60 @@ func (o *UpdateProjectPermissions) GetPostgres() []components.ACLAction { return o.Postgres } -func (o *UpdateProjectPermissions) GetPreviewDeploymentSuffix() []components.ACLAction { +func (o *UpdateProjectPermissions) GetPostgresStoreTokenSet() []components.ACLAction { if o == nil { return nil } - return o.PreviewDeploymentSuffix + return o.PostgresStoreTokenSet } -func (o *UpdateProjectPermissions) GetProTrialOnboarding() []components.ACLAction { +func (o *UpdateProjectPermissions) GetPreviewDeploymentSuffix() []components.ACLAction { if o == nil { return nil } - return o.ProTrialOnboarding + return o.PreviewDeploymentSuffix } -func (o *UpdateProjectPermissions) GetSharedEnvVars() []components.ACLAction { +func (o *UpdateProjectPermissions) GetProjectTransferIn() []components.ACLAction { if o == nil { return nil } - return o.SharedEnvVars + return o.ProjectTransferIn } -func (o *UpdateProjectPermissions) GetSharedEnvVarsProduction() []components.ACLAction { +func (o *UpdateProjectPermissions) GetProTrialOnboarding() []components.ACLAction { if o == nil { return nil } - return o.SharedEnvVarsProduction + return o.ProTrialOnboarding } -func (o *UpdateProjectPermissions) GetSpace() []components.ACLAction { - if o == nil { - return nil - } - return o.Space -} - -func (o *UpdateProjectPermissions) GetSpaceRun() []components.ACLAction { +func (o *UpdateProjectPermissions) GetRateLimit() []components.ACLAction { if o == nil { return nil } - return o.SpaceRun + return o.RateLimit } -func (o *UpdateProjectPermissions) GetPasswordProtectionInvoiceItem() []components.ACLAction { +func (o *UpdateProjectPermissions) GetRedis() []components.ACLAction { if o == nil { return nil } - return o.PasswordProtectionInvoiceItem + return o.Redis } -func (o *UpdateProjectPermissions) GetRateLimit() []components.ACLAction { +func (o *UpdateProjectPermissions) GetRedisStoreTokenSet() []components.ACLAction { if o == nil { return nil } - return o.RateLimit + return o.RedisStoreTokenSet } -func (o *UpdateProjectPermissions) GetRedis() []components.ACLAction { +func (o *UpdateProjectPermissions) GetRemoteCaching() []components.ACLAction { if o == nil { return nil } - return o.Redis + return o.RemoteCaching } func (o *UpdateProjectPermissions) GetRepository() []components.ACLAction { @@ -7222,13 +7831,6 @@ func (o *UpdateProjectPermissions) GetRepository() []components.ACLAction { return o.Repository } -func (o *UpdateProjectPermissions) GetRemoteCaching() []components.ACLAction { - if o == nil { - return nil - } - return o.RemoteCaching -} - func (o *UpdateProjectPermissions) GetSamlConfig() []components.ACLAction { if o == nil { return nil @@ -7243,39 +7845,39 @@ func (o *UpdateProjectPermissions) GetSecret() []components.ACLAction { return o.Secret } -func (o *UpdateProjectPermissions) GetRedisStoreTokenSet() []components.ACLAction { +func (o *UpdateProjectPermissions) GetSensitiveEnvironmentVariablePolicy() []components.ACLAction { if o == nil { return nil } - return o.RedisStoreTokenSet + return o.SensitiveEnvironmentVariablePolicy } -func (o *UpdateProjectPermissions) GetBlobStoreTokenSet() []components.ACLAction { +func (o *UpdateProjectPermissions) GetSharedEnvVars() []components.ACLAction { if o == nil { return nil } - return o.BlobStoreTokenSet + return o.SharedEnvVars } -func (o *UpdateProjectPermissions) GetPostgresStoreTokenSet() []components.ACLAction { +func (o *UpdateProjectPermissions) GetSharedEnvVarsProduction() []components.ACLAction { if o == nil { return nil } - return o.PostgresStoreTokenSet + return o.SharedEnvVarsProduction } -func (o *UpdateProjectPermissions) GetIntegrationStoreTokenSet() []components.ACLAction { +func (o *UpdateProjectPermissions) GetSpace() []components.ACLAction { if o == nil { return nil } - return o.IntegrationStoreTokenSet + return o.Space } -func (o *UpdateProjectPermissions) GetIntegrationResourceReplCommand() []components.ACLAction { +func (o *UpdateProjectPermissions) GetSpaceRun() []components.ACLAction { if o == nil { return nil } - return o.IntegrationResourceReplCommand + return o.SpaceRun } func (o *UpdateProjectPermissions) GetStoreTransfer() []components.ACLAction { @@ -7299,13 +7901,6 @@ func (o *UpdateProjectPermissions) GetSupportCaseComment() []components.ACLActio return o.SupportCaseComment } -func (o *UpdateProjectPermissions) GetDataCacheBillingSettings() []components.ACLAction { - if o == nil { - return nil - } - return o.DataCacheBillingSettings -} - func (o *UpdateProjectPermissions) GetTeam() []components.ACLAction { if o == nil { return nil @@ -7404,46 +7999,32 @@ func (o *UpdateProjectPermissions) GetUsageCycle() []components.ACLAction { return o.UsageCycle } -func (o *UpdateProjectPermissions) GetVpcPeeringConnection() []components.ACLAction { - if o == nil { - return nil - } - return o.VpcPeeringConnection -} - -func (o *UpdateProjectPermissions) GetWebAnalyticsPlan() []components.ACLAction { - if o == nil { - return nil - } - return o.WebAnalyticsPlan -} - -func (o *UpdateProjectPermissions) GetEdgeConfig() []components.ACLAction { +func (o *UpdateProjectPermissions) GetVercelRun() []components.ACLAction { if o == nil { return nil } - return o.EdgeConfig + return o.VercelRun } -func (o *UpdateProjectPermissions) GetEdgeConfigItem() []components.ACLAction { +func (o *UpdateProjectPermissions) GetVercelRunExec() []components.ACLAction { if o == nil { return nil } - return o.EdgeConfigItem + return o.VercelRunExec } -func (o *UpdateProjectPermissions) GetEdgeConfigSchema() []components.ACLAction { +func (o *UpdateProjectPermissions) GetVpcPeeringConnection() []components.ACLAction { if o == nil { return nil } - return o.EdgeConfigSchema + return o.VpcPeeringConnection } -func (o *UpdateProjectPermissions) GetEdgeConfigToken() []components.ACLAction { +func (o *UpdateProjectPermissions) GetWebAnalyticsPlan() []components.ACLAction { if o == nil { return nil } - return o.EdgeConfigToken + return o.WebAnalyticsPlan } func (o *UpdateProjectPermissions) GetWebhook() []components.ACLAction { @@ -7460,62 +8041,6 @@ func (o *UpdateProjectPermissions) GetWebhookEvent() []components.ACLAction { return o.WebhookEvent } -func (o *UpdateProjectPermissions) GetEndpointVerification() []components.ACLAction { - if o == nil { - return nil - } - return o.EndpointVerification -} - -func (o *UpdateProjectPermissions) GetProjectTransferIn() []components.ACLAction { - if o == nil { - return nil - } - return o.ProjectTransferIn -} - -func (o *UpdateProjectPermissions) GetOauth2Application() []components.ACLAction { - if o == nil { - return nil - } - return o.Oauth2Application -} - -func (o *UpdateProjectPermissions) GetVercelRun() []components.ACLAction { - if o == nil { - return nil - } - return o.VercelRun -} - -func (o *UpdateProjectPermissions) GetVercelRunExec() []components.ACLAction { - if o == nil { - return nil - } - return o.VercelRunExec -} - -func (o *UpdateProjectPermissions) GetAPIKey() []components.ACLAction { - if o == nil { - return nil - } - return o.APIKey -} - -func (o *UpdateProjectPermissions) GetAPIKeyOwnedBySelf() []components.ACLAction { - if o == nil { - return nil - } - return o.APIKeyOwnedBySelf -} - -func (o *UpdateProjectPermissions) GetAPIKeyAiGateway() []components.ACLAction { - if o == nil { - return nil - } - return o.APIKeyAiGateway -} - func (o *UpdateProjectPermissions) GetAliasProject() []components.ACLAction { if o == nil { return nil @@ -7537,13 +8062,6 @@ func (o *UpdateProjectPermissions) GetBuildMachine() []components.ACLAction { return o.BuildMachine } -func (o *UpdateProjectPermissions) GetProductionAliasProtectionBypass() []components.ACLAction { - if o == nil { - return nil - } - return o.ProductionAliasProtectionBypass -} - func (o *UpdateProjectPermissions) GetConnectConfigurationLink() []components.ACLAction { if o == nil { return nil @@ -7649,6 +8167,13 @@ func (o *UpdateProjectPermissions) GetEnvironments() []components.ACLAction { return o.Environments } +func (o *UpdateProjectPermissions) GetJob() []components.ACLAction { + if o == nil { + return nil + } + return o.Job +} + func (o *UpdateProjectPermissions) GetLogs() []components.ACLAction { if o == nil { return nil @@ -7663,46 +8188,46 @@ func (o *UpdateProjectPermissions) GetLogsPreset() []components.ACLAction { return o.LogsPreset } -func (o *UpdateProjectPermissions) GetPasswordProtection() []components.ACLAction { +func (o *UpdateProjectPermissions) GetObservabilityData() []components.ACLAction { if o == nil { return nil } - return o.PasswordProtection + return o.ObservabilityData } -func (o *UpdateProjectPermissions) GetOptionsAllowlist() []components.ACLAction { +func (o *UpdateProjectPermissions) GetOnDemandBuild() []components.ACLAction { if o == nil { return nil } - return o.OptionsAllowlist + return o.OnDemandBuild } -func (o *UpdateProjectPermissions) GetJob() []components.ACLAction { +func (o *UpdateProjectPermissions) GetOnDemandConcurrency() []components.ACLAction { if o == nil { return nil } - return o.Job + return o.OnDemandConcurrency } -func (o *UpdateProjectPermissions) GetObservabilityData() []components.ACLAction { +func (o *UpdateProjectPermissions) GetOptionsAllowlist() []components.ACLAction { if o == nil { return nil } - return o.ObservabilityData + return o.OptionsAllowlist } -func (o *UpdateProjectPermissions) GetOnDemandBuild() []components.ACLAction { +func (o *UpdateProjectPermissions) GetPasswordProtection() []components.ACLAction { if o == nil { return nil } - return o.OnDemandBuild + return o.PasswordProtection } -func (o *UpdateProjectPermissions) GetOnDemandConcurrency() []components.ACLAction { +func (o *UpdateProjectPermissions) GetProductionAliasProtectionBypass() []components.ACLAction { if o == nil { return nil } - return o.OnDemandConcurrency + return o.ProductionAliasProtectionBypass } func (o *UpdateProjectPermissions) GetProject() []components.ACLAction { @@ -7712,25 +8237,25 @@ func (o *UpdateProjectPermissions) GetProject() []components.ACLAction { return o.Project } -func (o *UpdateProjectPermissions) GetProjectFromV0() []components.ACLAction { +func (o *UpdateProjectPermissions) GetProjectAccessGroup() []components.ACLAction { if o == nil { return nil } - return o.ProjectFromV0 + return o.ProjectAccessGroup } -func (o *UpdateProjectPermissions) GetProjectAccessGroup() []components.ACLAction { +func (o *UpdateProjectPermissions) GetProjectAnalyticsSampling() []components.ACLAction { if o == nil { return nil } - return o.ProjectAccessGroup + return o.ProjectAnalyticsSampling } -func (o *UpdateProjectPermissions) GetProjectAnalyticsSampling() []components.ACLAction { +func (o *UpdateProjectPermissions) GetProjectAnalyticsUsage() []components.ACLAction { if o == nil { return nil } - return o.ProjectAnalyticsSampling + return o.ProjectAnalyticsUsage } func (o *UpdateProjectPermissions) GetProjectCheck() []components.ACLAction { @@ -7747,6 +8272,13 @@ func (o *UpdateProjectPermissions) GetProjectCheckRun() []components.ACLAction { return o.ProjectCheckRun } +func (o *UpdateProjectPermissions) GetProjectDeploymentExpiration() []components.ACLAction { + if o == nil { + return nil + } + return o.ProjectDeploymentExpiration +} + func (o *UpdateProjectPermissions) GetProjectDeploymentHook() []components.ACLAction { if o == nil { return nil @@ -7761,18 +8293,18 @@ func (o *UpdateProjectPermissions) GetProjectDomain() []components.ACLAction { return o.ProjectDomain } -func (o *UpdateProjectPermissions) GetProjectDomainMove() []components.ACLAction { +func (o *UpdateProjectPermissions) GetProjectDomainCheckConfig() []components.ACLAction { if o == nil { return nil } - return o.ProjectDomainMove + return o.ProjectDomainCheckConfig } -func (o *UpdateProjectPermissions) GetProjectDomainCheckConfig() []components.ACLAction { +func (o *UpdateProjectPermissions) GetProjectDomainMove() []components.ACLAction { if o == nil { return nil } - return o.ProjectDomainCheckConfig + return o.ProjectDomainMove } func (o *UpdateProjectPermissions) GetProjectEnvVars() []components.ACLAction { @@ -7803,6 +8335,20 @@ func (o *UpdateProjectPermissions) GetProjectFlags() []components.ACLAction { return o.ProjectFlags } +func (o *UpdateProjectPermissions) GetProjectFlagsProduction() []components.ACLAction { + if o == nil { + return nil + } + return o.ProjectFlagsProduction +} + +func (o *UpdateProjectPermissions) GetProjectFromV0() []components.ACLAction { + if o == nil { + return nil + } + return o.ProjectFromV0 +} + func (o *UpdateProjectPermissions) GetProjectID() []components.ACLAction { if o == nil { return nil @@ -7838,6 +8384,13 @@ func (o *UpdateProjectPermissions) GetProjectMonitoring() []components.ACLAction return o.ProjectMonitoring } +func (o *UpdateProjectPermissions) GetProjectOIDCToken() []components.ACLAction { + if o == nil { + return nil + } + return o.ProjectOIDCToken +} + func (o *UpdateProjectPermissions) GetProjectPermissions() []components.ACLAction { if o == nil { return nil @@ -7852,88 +8405,74 @@ func (o *UpdateProjectPermissions) GetProjectProductionBranch() []components.ACL return o.ProjectProductionBranch } -func (o *UpdateProjectPermissions) GetProjectTransfer() []components.ACLAction { +func (o *UpdateProjectPermissions) GetProjectProtectionBypass() []components.ACLAction { if o == nil { return nil } - return o.ProjectTransfer + return o.ProjectProtectionBypass } -func (o *UpdateProjectPermissions) GetProjectTransferOut() []components.ACLAction { +func (o *UpdateProjectPermissions) GetProjectRollingRelease() []components.ACLAction { if o == nil { return nil } - return o.ProjectTransferOut + return o.ProjectRollingRelease } -func (o *UpdateProjectPermissions) GetProjectProtectionBypass() []components.ACLAction { +func (o *UpdateProjectPermissions) GetProjectSupportCase() []components.ACLAction { if o == nil { return nil } - return o.ProjectProtectionBypass + return o.ProjectSupportCase } -func (o *UpdateProjectPermissions) GetProjectUsage() []components.ACLAction { +func (o *UpdateProjectPermissions) GetProjectSupportCaseComment() []components.ACLAction { if o == nil { return nil } - return o.ProjectUsage + return o.ProjectSupportCaseComment } -func (o *UpdateProjectPermissions) GetProjectAnalyticsUsage() []components.ACLAction { +func (o *UpdateProjectPermissions) GetProjectTier() []components.ACLAction { if o == nil { return nil } - return o.ProjectAnalyticsUsage + return o.ProjectTier } -func (o *UpdateProjectPermissions) GetProjectSupportCase() []components.ACLAction { +func (o *UpdateProjectPermissions) GetProjectTransfer() []components.ACLAction { if o == nil { return nil } - return o.ProjectSupportCase + return o.ProjectTransfer } -func (o *UpdateProjectPermissions) GetProjectSupportCaseComment() []components.ACLAction { +func (o *UpdateProjectPermissions) GetProjectTransferOut() []components.ACLAction { if o == nil { return nil } - return o.ProjectSupportCaseComment + return o.ProjectTransferOut } -func (o *UpdateProjectPermissions) GetProjectDeploymentExpiration() []components.ACLAction { +func (o *UpdateProjectPermissions) GetProjectUsage() []components.ACLAction { if o == nil { return nil } - return o.ProjectDeploymentExpiration -} - -func (o *UpdateProjectPermissions) GetProjectRollingRelease() []components.ACLAction { - if o == nil { - return nil - } - return o.ProjectRollingRelease -} - -func (o *UpdateProjectPermissions) GetProjectTier() []components.ACLAction { - if o == nil { - return nil - } - return o.ProjectTier + return o.ProjectUsage } -func (o *UpdateProjectPermissions) GetProjectOIDCToken() []components.ACLAction { +func (o *UpdateProjectPermissions) GetSeawallConfig() []components.ACLAction { if o == nil { return nil } - return o.ProjectOIDCToken + return o.SeawallConfig } -func (o *UpdateProjectPermissions) GetSeawallConfig() []components.ACLAction { +func (o *UpdateProjectPermissions) GetSharedEnvVarConnection() []components.ACLAction { if o == nil { return nil } - return o.SeawallConfig + return o.SharedEnvVarConnection } func (o *UpdateProjectPermissions) GetSkewProtection() []components.ACLAction { @@ -7971,20 +8510,6 @@ func (o *UpdateProjectPermissions) GetWebAnalytics() []components.ACLAction { return o.WebAnalytics } -func (o *UpdateProjectPermissions) GetSharedEnvVarConnection() []components.ACLAction { - if o == nil { - return nil - } - return o.SharedEnvVarConnection -} - -func (o *UpdateProjectPermissions) GetSonar() []components.ACLAction { - if o == nil { - return nil - } - return o.Sonar -} - type UpdateProjectLastRollbackTarget struct { } @@ -8604,6 +9129,8 @@ type UpdateProjectGitProviderOptions struct { CreateDeployments UpdateProjectCreateDeployments `json:"createDeployments"` // Whether the Vercel bot should not automatically create GitHub repository-dispatch events on deployment events. https://vercel.com/docs/git/vercel-for-github#repository-dispatch-events DisableRepositoryDispatchEvents *bool `json:"disableRepositoryDispatchEvents,omitempty"` + // Whether the project requires commits to be signed before deployments will be created. + RequireVerifiedCommits *bool `json:"requireVerifiedCommits,omitempty"` } func (o *UpdateProjectGitProviderOptions) GetCreateDeployments() UpdateProjectCreateDeployments { @@ -8620,6 +9147,13 @@ func (o *UpdateProjectGitProviderOptions) GetDisableRepositoryDispatchEvents() * return o.DisableRepositoryDispatchEvents } +func (o *UpdateProjectGitProviderOptions) GetRequireVerifiedCommits() *bool { + if o == nil { + return nil + } + return o.RequireVerifiedCommits +} + type UpdateProjectWebAnalytics struct { ID string `json:"id"` DisabledAt *float64 `json:"disabledAt,omitempty"` @@ -10495,6 +11029,7 @@ type UpdateProjectAbuse struct { UpdatedAt float64 `json:"updatedAt"` Block *UpdateProjectBlock `json:"block,omitempty"` BlockHistory []UpdateProjectBlockHistoryUnion `json:"blockHistory,omitempty"` + Interstitial *bool `json:"interstitial,omitempty"` } func (o *UpdateProjectAbuse) GetScanner() *string { @@ -10532,6 +11067,13 @@ func (o *UpdateProjectAbuse) GetBlockHistory() []UpdateProjectBlockHistoryUnion return o.BlockHistory } +func (o *UpdateProjectAbuse) GetInterstitial() *bool { + if o == nil { + return nil + } + return o.Interstitial +} + type UpdateProjectInternalRouteTypeHost string const ( @@ -10703,253 +11245,624 @@ func (o *UpdateProjectInternalRouteHasXVercelIPCountry) GetKey() UpdateProjectIn if o == nil { return UpdateProjectInternalRouteKey("") } - return o.Key -} + return o.Key +} + +func (o *UpdateProjectInternalRouteHasXVercelIPCountry) GetValue() UpdateProjectInternalRouteValue1 { + if o == nil { + return UpdateProjectInternalRouteValue1{} + } + return o.Value +} + +type UpdateProjectInternalRouteHasUnionType string + +const ( + UpdateProjectInternalRouteHasUnionTypeUpdateProjectInternalRouteHasXVercelIPCountry UpdateProjectInternalRouteHasUnionType = "updateProject_internalRoute_has_XVercelIPCountry" + UpdateProjectInternalRouteHasUnionTypeUpdateProjectInternalRouteHasHost UpdateProjectInternalRouteHasUnionType = "updateProject_internalRoute_has_Host" +) + +type UpdateProjectInternalRouteHasUnion struct { + UpdateProjectInternalRouteHasXVercelIPCountry *UpdateProjectInternalRouteHasXVercelIPCountry `queryParam:"inline"` + UpdateProjectInternalRouteHasHost *UpdateProjectInternalRouteHasHost `queryParam:"inline"` + + Type UpdateProjectInternalRouteHasUnionType +} + +func CreateUpdateProjectInternalRouteHasUnionUpdateProjectInternalRouteHasXVercelIPCountry(updateProjectInternalRouteHasXVercelIPCountry UpdateProjectInternalRouteHasXVercelIPCountry) UpdateProjectInternalRouteHasUnion { + typ := UpdateProjectInternalRouteHasUnionTypeUpdateProjectInternalRouteHasXVercelIPCountry + + return UpdateProjectInternalRouteHasUnion{ + UpdateProjectInternalRouteHasXVercelIPCountry: &updateProjectInternalRouteHasXVercelIPCountry, + Type: typ, + } +} + +func CreateUpdateProjectInternalRouteHasUnionUpdateProjectInternalRouteHasHost(updateProjectInternalRouteHasHost UpdateProjectInternalRouteHasHost) UpdateProjectInternalRouteHasUnion { + typ := UpdateProjectInternalRouteHasUnionTypeUpdateProjectInternalRouteHasHost + + return UpdateProjectInternalRouteHasUnion{ + UpdateProjectInternalRouteHasHost: &updateProjectInternalRouteHasHost, + Type: typ, + } +} + +func (u *UpdateProjectInternalRouteHasUnion) UnmarshalJSON(data []byte) error { + + var updateProjectInternalRouteHasXVercelIPCountry UpdateProjectInternalRouteHasXVercelIPCountry = UpdateProjectInternalRouteHasXVercelIPCountry{} + if err := utils.UnmarshalJSON(data, &updateProjectInternalRouteHasXVercelIPCountry, "", true, nil); err == nil { + u.UpdateProjectInternalRouteHasXVercelIPCountry = &updateProjectInternalRouteHasXVercelIPCountry + u.Type = UpdateProjectInternalRouteHasUnionTypeUpdateProjectInternalRouteHasXVercelIPCountry + return nil + } + + var updateProjectInternalRouteHasHost UpdateProjectInternalRouteHasHost = UpdateProjectInternalRouteHasHost{} + if err := utils.UnmarshalJSON(data, &updateProjectInternalRouteHasHost, "", true, nil); err == nil { + u.UpdateProjectInternalRouteHasHost = &updateProjectInternalRouteHasHost + u.Type = UpdateProjectInternalRouteHasUnionTypeUpdateProjectInternalRouteHasHost + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for UpdateProjectInternalRouteHasUnion", string(data)) +} + +func (u UpdateProjectInternalRouteHasUnion) MarshalJSON() ([]byte, error) { + if u.UpdateProjectInternalRouteHasXVercelIPCountry != nil { + return utils.MarshalJSON(u.UpdateProjectInternalRouteHasXVercelIPCountry, "", true) + } + + if u.UpdateProjectInternalRouteHasHost != nil { + return utils.MarshalJSON(u.UpdateProjectInternalRouteHasHost, "", true) + } + + return nil, errors.New("could not marshal union type UpdateProjectInternalRouteHasUnion: all fields are null") +} + +type UpdateProjectInternalRouteAction string + +const ( + UpdateProjectInternalRouteActionBlockLegalCwc UpdateProjectInternalRouteAction = "block_legal_cwc" +) + +func (e UpdateProjectInternalRouteAction) ToPointer() *UpdateProjectInternalRouteAction { + return &e +} +func (e *UpdateProjectInternalRouteAction) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "block_legal_cwc": + *e = UpdateProjectInternalRouteAction(v) + return nil + default: + return fmt.Errorf("invalid value for UpdateProjectInternalRouteAction: %v", v) + } +} + +type UpdateProjectInternalRouteMitigate struct { + Action UpdateProjectInternalRouteAction `json:"action"` +} + +func (u UpdateProjectInternalRouteMitigate) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(u, "", false) +} + +func (u *UpdateProjectInternalRouteMitigate) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &u, "", false, []string{"action"}); err != nil { + return err + } + return nil +} + +func (o *UpdateProjectInternalRouteMitigate) GetAction() UpdateProjectInternalRouteAction { + if o == nil { + return UpdateProjectInternalRouteAction("") + } + return o.Action +} + +type UpdateProjectInternalRoute2 struct { + Has []UpdateProjectInternalRouteHasUnion `json:"has"` + Mitigate UpdateProjectInternalRouteMitigate `json:"mitigate"` + Src *string `json:"src,omitempty"` +} + +func (u UpdateProjectInternalRoute2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(u, "", false) +} + +func (u *UpdateProjectInternalRoute2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &u, "", false, []string{"has", "mitigate"}); err != nil { + return err + } + return nil +} + +func (o *UpdateProjectInternalRoute2) GetHas() []UpdateProjectInternalRouteHasUnion { + if o == nil { + return []UpdateProjectInternalRouteHasUnion{} + } + return o.Has +} + +func (o *UpdateProjectInternalRoute2) GetMitigate() UpdateProjectInternalRouteMitigate { + if o == nil { + return UpdateProjectInternalRouteMitigate{} + } + return o.Mitigate +} + +func (o *UpdateProjectInternalRoute2) GetSrc() *string { + if o == nil { + return nil + } + return o.Src +} + +type UpdateProjectInternalRoute1 struct { + Src string `json:"src"` + Status float64 `json:"status"` +} + +func (u UpdateProjectInternalRoute1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(u, "", false) +} + +func (u *UpdateProjectInternalRoute1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &u, "", false, []string{"src", "status"}); err != nil { + return err + } + return nil +} + +func (o *UpdateProjectInternalRoute1) GetSrc() string { + if o == nil { + return "" + } + return o.Src +} + +func (o *UpdateProjectInternalRoute1) GetStatus() float64 { + if o == nil { + return 0.0 + } + return o.Status +} + +type UpdateProjectInternalRouteUnionType string + +const ( + UpdateProjectInternalRouteUnionTypeUpdateProjectInternalRoute1 UpdateProjectInternalRouteUnionType = "updateProject_internalRoute_1" + UpdateProjectInternalRouteUnionTypeUpdateProjectInternalRoute2 UpdateProjectInternalRouteUnionType = "updateProject_internalRoute_2" +) + +type UpdateProjectInternalRouteUnion struct { + UpdateProjectInternalRoute1 *UpdateProjectInternalRoute1 `queryParam:"inline"` + UpdateProjectInternalRoute2 *UpdateProjectInternalRoute2 `queryParam:"inline"` + + Type UpdateProjectInternalRouteUnionType +} + +func CreateUpdateProjectInternalRouteUnionUpdateProjectInternalRoute1(updateProjectInternalRoute1 UpdateProjectInternalRoute1) UpdateProjectInternalRouteUnion { + typ := UpdateProjectInternalRouteUnionTypeUpdateProjectInternalRoute1 + + return UpdateProjectInternalRouteUnion{ + UpdateProjectInternalRoute1: &updateProjectInternalRoute1, + Type: typ, + } +} + +func CreateUpdateProjectInternalRouteUnionUpdateProjectInternalRoute2(updateProjectInternalRoute2 UpdateProjectInternalRoute2) UpdateProjectInternalRouteUnion { + typ := UpdateProjectInternalRouteUnionTypeUpdateProjectInternalRoute2 + + return UpdateProjectInternalRouteUnion{ + UpdateProjectInternalRoute2: &updateProjectInternalRoute2, + Type: typ, + } +} + +func (u *UpdateProjectInternalRouteUnion) UnmarshalJSON(data []byte) error { + + var updateProjectInternalRoute1 UpdateProjectInternalRoute1 = UpdateProjectInternalRoute1{} + if err := utils.UnmarshalJSON(data, &updateProjectInternalRoute1, "", true, nil); err == nil { + u.UpdateProjectInternalRoute1 = &updateProjectInternalRoute1 + u.Type = UpdateProjectInternalRouteUnionTypeUpdateProjectInternalRoute1 + return nil + } + + var updateProjectInternalRoute2 UpdateProjectInternalRoute2 = UpdateProjectInternalRoute2{} + if err := utils.UnmarshalJSON(data, &updateProjectInternalRoute2, "", true, nil); err == nil { + u.UpdateProjectInternalRoute2 = &updateProjectInternalRoute2 + u.Type = UpdateProjectInternalRouteUnionTypeUpdateProjectInternalRoute2 + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for UpdateProjectInternalRouteUnion", string(data)) +} + +func (u UpdateProjectInternalRouteUnion) MarshalJSON() ([]byte, error) { + if u.UpdateProjectInternalRoute1 != nil { + return utils.MarshalJSON(u.UpdateProjectInternalRoute1, "", true) + } + + if u.UpdateProjectInternalRoute2 != nil { + return utils.MarshalJSON(u.UpdateProjectInternalRoute2, "", true) + } + + return nil, errors.New("could not marshal union type UpdateProjectInternalRouteUnion: all fields are null") +} + +type UpdateProjectDismissedToastActionResponseBody string + +const ( + UpdateProjectDismissedToastActionResponseBodyCancel UpdateProjectDismissedToastActionResponseBody = "cancel" + UpdateProjectDismissedToastActionResponseBodyAccept UpdateProjectDismissedToastActionResponseBody = "accept" + UpdateProjectDismissedToastActionResponseBodyDelete UpdateProjectDismissedToastActionResponseBody = "delete" +) + +func (e UpdateProjectDismissedToastActionResponseBody) ToPointer() *UpdateProjectDismissedToastActionResponseBody { + return &e +} +func (e *UpdateProjectDismissedToastActionResponseBody) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "cancel": + fallthrough + case "accept": + fallthrough + case "delete": + *e = UpdateProjectDismissedToastActionResponseBody(v) + return nil + default: + return fmt.Errorf("invalid value for UpdateProjectDismissedToastActionResponseBody: %v", v) + } +} + +type UpdateProjectPreviousValueResponseType string + +const ( + UpdateProjectPreviousValueResponseTypeStr UpdateProjectPreviousValueResponseType = "str" + UpdateProjectPreviousValueResponseTypeNumber UpdateProjectPreviousValueResponseType = "number" + UpdateProjectPreviousValueResponseTypeBoolean UpdateProjectPreviousValueResponseType = "boolean" +) + +type UpdateProjectPreviousValueResponse struct { + Str *string `queryParam:"inline"` + Number *float64 `queryParam:"inline"` + Boolean *bool `queryParam:"inline"` + + Type UpdateProjectPreviousValueResponseType +} + +func CreateUpdateProjectPreviousValueResponseStr(str string) UpdateProjectPreviousValueResponse { + typ := UpdateProjectPreviousValueResponseTypeStr + + return UpdateProjectPreviousValueResponse{ + Str: &str, + Type: typ, + } +} + +func CreateUpdateProjectPreviousValueResponseNumber(number float64) UpdateProjectPreviousValueResponse { + typ := UpdateProjectPreviousValueResponseTypeNumber + + return UpdateProjectPreviousValueResponse{ + Number: &number, + Type: typ, + } +} + +func CreateUpdateProjectPreviousValueResponseBoolean(boolean bool) UpdateProjectPreviousValueResponse { + typ := UpdateProjectPreviousValueResponseTypeBoolean + + return UpdateProjectPreviousValueResponse{ + Boolean: &boolean, + Type: typ, + } +} + +func (u *UpdateProjectPreviousValueResponse) UnmarshalJSON(data []byte) error { + + var str string = "" + if err := utils.UnmarshalJSON(data, &str, "", true, nil); err == nil { + u.Str = &str + u.Type = UpdateProjectPreviousValueResponseTypeStr + return nil + } + + var number float64 = float64(0) + if err := utils.UnmarshalJSON(data, &number, "", true, nil); err == nil { + u.Number = &number + u.Type = UpdateProjectPreviousValueResponseTypeNumber + return nil + } + + var boolean bool = false + if err := utils.UnmarshalJSON(data, &boolean, "", true, nil); err == nil { + u.Boolean = &boolean + u.Type = UpdateProjectPreviousValueResponseTypeBoolean + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for UpdateProjectPreviousValueResponse", string(data)) +} + +func (u UpdateProjectPreviousValueResponse) MarshalJSON() ([]byte, error) { + if u.Str != nil { + return utils.MarshalJSON(u.Str, "", true) + } + + if u.Number != nil { + return utils.MarshalJSON(u.Number, "", true) + } -func (o *UpdateProjectInternalRouteHasXVercelIPCountry) GetValue() UpdateProjectInternalRouteValue1 { - if o == nil { - return UpdateProjectInternalRouteValue1{} + if u.Boolean != nil { + return utils.MarshalJSON(u.Boolean, "", true) } - return o.Value + + return nil, errors.New("could not marshal union type UpdateProjectPreviousValueResponse: all fields are null") } -type UpdateProjectInternalRouteHasUnionType string +type UpdateProjectCurrentValueResponseType string const ( - UpdateProjectInternalRouteHasUnionTypeUpdateProjectInternalRouteHasXVercelIPCountry UpdateProjectInternalRouteHasUnionType = "updateProject_internalRoute_has_XVercelIPCountry" - UpdateProjectInternalRouteHasUnionTypeUpdateProjectInternalRouteHasHost UpdateProjectInternalRouteHasUnionType = "updateProject_internalRoute_has_Host" + UpdateProjectCurrentValueResponseTypeStr UpdateProjectCurrentValueResponseType = "str" + UpdateProjectCurrentValueResponseTypeNumber UpdateProjectCurrentValueResponseType = "number" + UpdateProjectCurrentValueResponseTypeBoolean UpdateProjectCurrentValueResponseType = "boolean" ) -type UpdateProjectInternalRouteHasUnion struct { - UpdateProjectInternalRouteHasXVercelIPCountry *UpdateProjectInternalRouteHasXVercelIPCountry `queryParam:"inline"` - UpdateProjectInternalRouteHasHost *UpdateProjectInternalRouteHasHost `queryParam:"inline"` +type UpdateProjectCurrentValueResponse struct { + Str *string `queryParam:"inline"` + Number *float64 `queryParam:"inline"` + Boolean *bool `queryParam:"inline"` - Type UpdateProjectInternalRouteHasUnionType + Type UpdateProjectCurrentValueResponseType } -func CreateUpdateProjectInternalRouteHasUnionUpdateProjectInternalRouteHasXVercelIPCountry(updateProjectInternalRouteHasXVercelIPCountry UpdateProjectInternalRouteHasXVercelIPCountry) UpdateProjectInternalRouteHasUnion { - typ := UpdateProjectInternalRouteHasUnionTypeUpdateProjectInternalRouteHasXVercelIPCountry +func CreateUpdateProjectCurrentValueResponseStr(str string) UpdateProjectCurrentValueResponse { + typ := UpdateProjectCurrentValueResponseTypeStr - return UpdateProjectInternalRouteHasUnion{ - UpdateProjectInternalRouteHasXVercelIPCountry: &updateProjectInternalRouteHasXVercelIPCountry, + return UpdateProjectCurrentValueResponse{ + Str: &str, Type: typ, } } -func CreateUpdateProjectInternalRouteHasUnionUpdateProjectInternalRouteHasHost(updateProjectInternalRouteHasHost UpdateProjectInternalRouteHasHost) UpdateProjectInternalRouteHasUnion { - typ := UpdateProjectInternalRouteHasUnionTypeUpdateProjectInternalRouteHasHost +func CreateUpdateProjectCurrentValueResponseNumber(number float64) UpdateProjectCurrentValueResponse { + typ := UpdateProjectCurrentValueResponseTypeNumber - return UpdateProjectInternalRouteHasUnion{ - UpdateProjectInternalRouteHasHost: &updateProjectInternalRouteHasHost, - Type: typ, + return UpdateProjectCurrentValueResponse{ + Number: &number, + Type: typ, } } -func (u *UpdateProjectInternalRouteHasUnion) UnmarshalJSON(data []byte) error { +func CreateUpdateProjectCurrentValueResponseBoolean(boolean bool) UpdateProjectCurrentValueResponse { + typ := UpdateProjectCurrentValueResponseTypeBoolean - var updateProjectInternalRouteHasXVercelIPCountry UpdateProjectInternalRouteHasXVercelIPCountry = UpdateProjectInternalRouteHasXVercelIPCountry{} - if err := utils.UnmarshalJSON(data, &updateProjectInternalRouteHasXVercelIPCountry, "", true, nil); err == nil { - u.UpdateProjectInternalRouteHasXVercelIPCountry = &updateProjectInternalRouteHasXVercelIPCountry - u.Type = UpdateProjectInternalRouteHasUnionTypeUpdateProjectInternalRouteHasXVercelIPCountry - return nil + return UpdateProjectCurrentValueResponse{ + Boolean: &boolean, + Type: typ, } +} - var updateProjectInternalRouteHasHost UpdateProjectInternalRouteHasHost = UpdateProjectInternalRouteHasHost{} - if err := utils.UnmarshalJSON(data, &updateProjectInternalRouteHasHost, "", true, nil); err == nil { - u.UpdateProjectInternalRouteHasHost = &updateProjectInternalRouteHasHost - u.Type = UpdateProjectInternalRouteHasUnionTypeUpdateProjectInternalRouteHasHost +func (u *UpdateProjectCurrentValueResponse) UnmarshalJSON(data []byte) error { + + var str string = "" + if err := utils.UnmarshalJSON(data, &str, "", true, nil); err == nil { + u.Str = &str + u.Type = UpdateProjectCurrentValueResponseTypeStr return nil } - return fmt.Errorf("could not unmarshal `%s` into any supported union types for UpdateProjectInternalRouteHasUnion", string(data)) -} - -func (u UpdateProjectInternalRouteHasUnion) MarshalJSON() ([]byte, error) { - if u.UpdateProjectInternalRouteHasXVercelIPCountry != nil { - return utils.MarshalJSON(u.UpdateProjectInternalRouteHasXVercelIPCountry, "", true) + var number float64 = float64(0) + if err := utils.UnmarshalJSON(data, &number, "", true, nil); err == nil { + u.Number = &number + u.Type = UpdateProjectCurrentValueResponseTypeNumber + return nil } - if u.UpdateProjectInternalRouteHasHost != nil { - return utils.MarshalJSON(u.UpdateProjectInternalRouteHasHost, "", true) + var boolean bool = false + if err := utils.UnmarshalJSON(data, &boolean, "", true, nil); err == nil { + u.Boolean = &boolean + u.Type = UpdateProjectCurrentValueResponseTypeBoolean + return nil } - return nil, errors.New("could not marshal union type UpdateProjectInternalRouteHasUnion: all fields are null") + return fmt.Errorf("could not unmarshal `%s` into any supported union types for UpdateProjectCurrentValueResponse", string(data)) } -type UpdateProjectInternalRouteAction string - -const ( - UpdateProjectInternalRouteActionBlockLegalCwc UpdateProjectInternalRouteAction = "block_legal_cwc" -) +func (u UpdateProjectCurrentValueResponse) MarshalJSON() ([]byte, error) { + if u.Str != nil { + return utils.MarshalJSON(u.Str, "", true) + } -func (e UpdateProjectInternalRouteAction) ToPointer() *UpdateProjectInternalRouteAction { - return &e -} -func (e *UpdateProjectInternalRouteAction) UnmarshalJSON(data []byte) error { - var v string - if err := json.Unmarshal(data, &v); err != nil { - return err + if u.Number != nil { + return utils.MarshalJSON(u.Number, "", true) } - switch v { - case "block_legal_cwc": - *e = UpdateProjectInternalRouteAction(v) - return nil - default: - return fmt.Errorf("invalid value for UpdateProjectInternalRouteAction: %v", v) + + if u.Boolean != nil { + return utils.MarshalJSON(u.Boolean, "", true) } + + return nil, errors.New("could not marshal union type UpdateProjectCurrentValueResponse: all fields are null") } -type UpdateProjectInternalRouteMitigate struct { - Action UpdateProjectInternalRouteAction `json:"action"` +type UpdateProjectValueDismissedToastResponseBody struct { + PreviousValue UpdateProjectPreviousValueResponse `json:"previousValue"` + CurrentValue UpdateProjectCurrentValueResponse `json:"currentValue"` } -func (u UpdateProjectInternalRouteMitigate) MarshalJSON() ([]byte, error) { +func (u UpdateProjectValueDismissedToastResponseBody) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(u, "", false) } -func (u *UpdateProjectInternalRouteMitigate) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &u, "", false, []string{"action"}); err != nil { +func (u *UpdateProjectValueDismissedToastResponseBody) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &u, "", false, []string{"previousValue", "currentValue"}); err != nil { return err } return nil } -func (o *UpdateProjectInternalRouteMitigate) GetAction() UpdateProjectInternalRouteAction { +func (o *UpdateProjectValueDismissedToastResponseBody) GetPreviousValue() UpdateProjectPreviousValueResponse { if o == nil { - return UpdateProjectInternalRouteAction("") + return UpdateProjectPreviousValueResponse{} } - return o.Action + return o.PreviousValue } -type UpdateProjectInternalRoute2 struct { - Has []UpdateProjectInternalRouteHasUnion `json:"has"` - Mitigate UpdateProjectInternalRouteMitigate `json:"mitigate"` - Src *string `json:"src,omitempty"` +func (o *UpdateProjectValueDismissedToastResponseBody) GetCurrentValue() UpdateProjectCurrentValueResponse { + if o == nil { + return UpdateProjectCurrentValueResponse{} + } + return o.CurrentValue } -func (u UpdateProjectInternalRoute2) MarshalJSON() ([]byte, error) { - return utils.MarshalJSON(u, "", false) -} +type UpdateProjectValueUnionType string -func (u *UpdateProjectInternalRoute2) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &u, "", false, []string{"has", "mitigate"}); err != nil { - return err - } - return nil -} +const ( + UpdateProjectValueUnionTypeStr UpdateProjectValueUnionType = "str" + UpdateProjectValueUnionTypeNumber UpdateProjectValueUnionType = "number" + UpdateProjectValueUnionTypeBoolean UpdateProjectValueUnionType = "boolean" + UpdateProjectValueUnionTypeUpdateProjectValueDismissedToastResponseBody UpdateProjectValueUnionType = "updateProject_value_dismissedToast_ResponseBody" +) -func (o *UpdateProjectInternalRoute2) GetHas() []UpdateProjectInternalRouteHasUnion { - if o == nil { - return []UpdateProjectInternalRouteHasUnion{} - } - return o.Has -} +type UpdateProjectValueUnion struct { + Str *string `queryParam:"inline"` + Number *float64 `queryParam:"inline"` + Boolean *bool `queryParam:"inline"` + UpdateProjectValueDismissedToastResponseBody *UpdateProjectValueDismissedToastResponseBody `queryParam:"inline"` -func (o *UpdateProjectInternalRoute2) GetMitigate() UpdateProjectInternalRouteMitigate { - if o == nil { - return UpdateProjectInternalRouteMitigate{} - } - return o.Mitigate + Type UpdateProjectValueUnionType } -func (o *UpdateProjectInternalRoute2) GetSrc() *string { - if o == nil { - return nil +func CreateUpdateProjectValueUnionStr(str string) UpdateProjectValueUnion { + typ := UpdateProjectValueUnionTypeStr + + return UpdateProjectValueUnion{ + Str: &str, + Type: typ, } - return o.Src } -type UpdateProjectInternalRoute1 struct { - Src string `json:"src"` - Status float64 `json:"status"` -} +func CreateUpdateProjectValueUnionNumber(number float64) UpdateProjectValueUnion { + typ := UpdateProjectValueUnionTypeNumber -func (u UpdateProjectInternalRoute1) MarshalJSON() ([]byte, error) { - return utils.MarshalJSON(u, "", false) + return UpdateProjectValueUnion{ + Number: &number, + Type: typ, + } } -func (u *UpdateProjectInternalRoute1) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &u, "", false, []string{"src", "status"}); err != nil { - return err +func CreateUpdateProjectValueUnionBoolean(boolean bool) UpdateProjectValueUnion { + typ := UpdateProjectValueUnionTypeBoolean + + return UpdateProjectValueUnion{ + Boolean: &boolean, + Type: typ, } - return nil } -func (o *UpdateProjectInternalRoute1) GetSrc() string { - if o == nil { - return "" +func CreateUpdateProjectValueUnionUpdateProjectValueDismissedToastResponseBody(updateProjectValueDismissedToastResponseBody UpdateProjectValueDismissedToastResponseBody) UpdateProjectValueUnion { + typ := UpdateProjectValueUnionTypeUpdateProjectValueDismissedToastResponseBody + + return UpdateProjectValueUnion{ + UpdateProjectValueDismissedToastResponseBody: &updateProjectValueDismissedToastResponseBody, + Type: typ, } - return o.Src } -func (o *UpdateProjectInternalRoute1) GetStatus() float64 { - if o == nil { - return 0.0 +func (u *UpdateProjectValueUnion) UnmarshalJSON(data []byte) error { + + var updateProjectValueDismissedToastResponseBody UpdateProjectValueDismissedToastResponseBody = UpdateProjectValueDismissedToastResponseBody{} + if err := utils.UnmarshalJSON(data, &updateProjectValueDismissedToastResponseBody, "", true, nil); err == nil { + u.UpdateProjectValueDismissedToastResponseBody = &updateProjectValueDismissedToastResponseBody + u.Type = UpdateProjectValueUnionTypeUpdateProjectValueDismissedToastResponseBody + return nil } - return o.Status -} -type UpdateProjectInternalRouteUnionType string + var str string = "" + if err := utils.UnmarshalJSON(data, &str, "", true, nil); err == nil { + u.Str = &str + u.Type = UpdateProjectValueUnionTypeStr + return nil + } -const ( - UpdateProjectInternalRouteUnionTypeUpdateProjectInternalRoute1 UpdateProjectInternalRouteUnionType = "updateProject_internalRoute_1" - UpdateProjectInternalRouteUnionTypeUpdateProjectInternalRoute2 UpdateProjectInternalRouteUnionType = "updateProject_internalRoute_2" -) + var number float64 = float64(0) + if err := utils.UnmarshalJSON(data, &number, "", true, nil); err == nil { + u.Number = &number + u.Type = UpdateProjectValueUnionTypeNumber + return nil + } -type UpdateProjectInternalRouteUnion struct { - UpdateProjectInternalRoute1 *UpdateProjectInternalRoute1 `queryParam:"inline"` - UpdateProjectInternalRoute2 *UpdateProjectInternalRoute2 `queryParam:"inline"` + var boolean bool = false + if err := utils.UnmarshalJSON(data, &boolean, "", true, nil); err == nil { + u.Boolean = &boolean + u.Type = UpdateProjectValueUnionTypeBoolean + return nil + } - Type UpdateProjectInternalRouteUnionType + return fmt.Errorf("could not unmarshal `%s` into any supported union types for UpdateProjectValueUnion", string(data)) } -func CreateUpdateProjectInternalRouteUnionUpdateProjectInternalRoute1(updateProjectInternalRoute1 UpdateProjectInternalRoute1) UpdateProjectInternalRouteUnion { - typ := UpdateProjectInternalRouteUnionTypeUpdateProjectInternalRoute1 +func (u UpdateProjectValueUnion) MarshalJSON() ([]byte, error) { + if u.Str != nil { + return utils.MarshalJSON(u.Str, "", true) + } - return UpdateProjectInternalRouteUnion{ - UpdateProjectInternalRoute1: &updateProjectInternalRoute1, - Type: typ, + if u.Number != nil { + return utils.MarshalJSON(u.Number, "", true) } -} -func CreateUpdateProjectInternalRouteUnionUpdateProjectInternalRoute2(updateProjectInternalRoute2 UpdateProjectInternalRoute2) UpdateProjectInternalRouteUnion { - typ := UpdateProjectInternalRouteUnionTypeUpdateProjectInternalRoute2 + if u.Boolean != nil { + return utils.MarshalJSON(u.Boolean, "", true) + } - return UpdateProjectInternalRouteUnion{ - UpdateProjectInternalRoute2: &updateProjectInternalRoute2, - Type: typ, + if u.UpdateProjectValueDismissedToastResponseBody != nil { + return utils.MarshalJSON(u.UpdateProjectValueDismissedToastResponseBody, "", true) } + + return nil, errors.New("could not marshal union type UpdateProjectValueUnion: all fields are null") } -func (u *UpdateProjectInternalRouteUnion) UnmarshalJSON(data []byte) error { +type UpdateProjectDismissedToastResponse struct { + Key string `json:"key"` + DismissedAt float64 `json:"dismissedAt"` + Action UpdateProjectDismissedToastActionResponseBody `json:"action"` + Value *UpdateProjectValueUnion `json:"value"` +} - var updateProjectInternalRoute1 UpdateProjectInternalRoute1 = UpdateProjectInternalRoute1{} - if err := utils.UnmarshalJSON(data, &updateProjectInternalRoute1, "", true, nil); err == nil { - u.UpdateProjectInternalRoute1 = &updateProjectInternalRoute1 - u.Type = UpdateProjectInternalRouteUnionTypeUpdateProjectInternalRoute1 - return nil +func (o *UpdateProjectDismissedToastResponse) GetKey() string { + if o == nil { + return "" } + return o.Key +} - var updateProjectInternalRoute2 UpdateProjectInternalRoute2 = UpdateProjectInternalRoute2{} - if err := utils.UnmarshalJSON(data, &updateProjectInternalRoute2, "", true, nil); err == nil { - u.UpdateProjectInternalRoute2 = &updateProjectInternalRoute2 - u.Type = UpdateProjectInternalRouteUnionTypeUpdateProjectInternalRoute2 - return nil +func (o *UpdateProjectDismissedToastResponse) GetDismissedAt() float64 { + if o == nil { + return 0.0 } - - return fmt.Errorf("could not unmarshal `%s` into any supported union types for UpdateProjectInternalRouteUnion", string(data)) + return o.DismissedAt } -func (u UpdateProjectInternalRouteUnion) MarshalJSON() ([]byte, error) { - if u.UpdateProjectInternalRoute1 != nil { - return utils.MarshalJSON(u.UpdateProjectInternalRoute1, "", true) +func (o *UpdateProjectDismissedToastResponse) GetAction() UpdateProjectDismissedToastActionResponseBody { + if o == nil { + return UpdateProjectDismissedToastActionResponseBody("") } + return o.Action +} - if u.UpdateProjectInternalRoute2 != nil { - return utils.MarshalJSON(u.UpdateProjectInternalRoute2, "", true) +func (o *UpdateProjectDismissedToastResponse) GetValue() *UpdateProjectValueUnion { + if o == nil { + return nil } - - return nil, errors.New("could not marshal union type UpdateProjectInternalRouteUnion: all fields are null") + return o.Value } // UpdateProjectResponseBody - The project was successfully updated @@ -11003,6 +11916,7 @@ type UpdateProjectResponseBody struct { SkewProtectionBoundaryAt *float64 `json:"skewProtectionBoundaryAt,omitempty"` SkewProtectionMaxAge *float64 `json:"skewProtectionMaxAge,omitempty"` SkipGitConnectDuringLink *bool `json:"skipGitConnectDuringLink,omitempty"` + StaticIps *UpdateProjectStaticIpsResponse `json:"staticIps,omitempty"` SourceFilesOutsideRootDirectory *bool `json:"sourceFilesOutsideRootDirectory,omitempty"` EnableAffectedProjectsDeployments *bool `json:"enableAffectedProjectsDeployments,omitempty"` SsoProtection *UpdateProjectSsoProtectionResponse `json:"ssoProtection,omitempty"` @@ -11033,6 +11947,8 @@ type UpdateProjectResponseBody struct { V0 *bool `json:"v0,omitempty"` Abuse *UpdateProjectAbuse `json:"abuse,omitempty"` InternalRoutes []UpdateProjectInternalRouteUnion `json:"internalRoutes,omitempty"` + HasDeployments *bool `json:"hasDeployments,omitempty"` + DismissedToasts []UpdateProjectDismissedToastResponse `json:"dismissedToasts,omitempty"` } func (o *UpdateProjectResponseBody) GetAccountID() string { @@ -11357,6 +12273,13 @@ func (o *UpdateProjectResponseBody) GetSkipGitConnectDuringLink() *bool { return o.SkipGitConnectDuringLink } +func (o *UpdateProjectResponseBody) GetStaticIps() *UpdateProjectStaticIpsResponse { + if o == nil { + return nil + } + return o.StaticIps +} + func (o *UpdateProjectResponseBody) GetSourceFilesOutsideRootDirectory() *bool { if o == nil { return nil @@ -11567,6 +12490,20 @@ func (o *UpdateProjectResponseBody) GetInternalRoutes() []UpdateProjectInternalR return o.InternalRoutes } +func (o *UpdateProjectResponseBody) GetHasDeployments() *bool { + if o == nil { + return nil + } + return o.HasDeployments +} + +func (o *UpdateProjectResponseBody) GetDismissedToasts() []UpdateProjectDismissedToastResponse { + if o == nil { + return nil + } + return o.DismissedToasts +} + type UpdateProjectResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` // The project was successfully updated diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/updateprojectdatacache.go b/src/__tests__/mockserver/internal/sdk/models/operations/updateprojectdatacache.go index 380fdbc18..5956557d3 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/updateprojectdatacache.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/updateprojectdatacache.go @@ -28,8 +28,8 @@ type UpdateProjectDataCacheRequest struct { // The Team identifier to perform the request on behalf of. TeamID *string `queryParam:"style=form,explode=true,name=teamId"` // The Team slug to perform the request on behalf of. - Slug *string `queryParam:"style=form,explode=true,name=slug"` - RequestBody UpdateProjectDataCacheRequestBody `request:"mediaType=application/json"` + Slug *string `queryParam:"style=form,explode=true,name=slug"` + Body UpdateProjectDataCacheRequestBody `request:"mediaType=application/json"` } func (o *UpdateProjectDataCacheRequest) GetProjectID() string { @@ -53,11 +53,11 @@ func (o *UpdateProjectDataCacheRequest) GetSlug() *string { return o.Slug } -func (o *UpdateProjectDataCacheRequest) GetRequestBody() UpdateProjectDataCacheRequestBody { +func (o *UpdateProjectDataCacheRequest) GetBody() UpdateProjectDataCacheRequestBody { if o == nil { return UpdateProjectDataCacheRequestBody{} } - return o.RequestBody + return o.Body } type UpdateProjectDataCacheAnalytics struct { @@ -2369,10 +2369,12 @@ const ( UpdateProjectDataCacheFrameworkZola UpdateProjectDataCacheFramework = "zola" UpdateProjectDataCacheFrameworkHydrogen UpdateProjectDataCacheFramework = "hydrogen" UpdateProjectDataCacheFrameworkVite UpdateProjectDataCacheFramework = "vite" + UpdateProjectDataCacheFrameworkTanstackStart UpdateProjectDataCacheFramework = "tanstack-start" UpdateProjectDataCacheFrameworkVitepress UpdateProjectDataCacheFramework = "vitepress" UpdateProjectDataCacheFrameworkVuepress UpdateProjectDataCacheFramework = "vuepress" UpdateProjectDataCacheFrameworkParcel UpdateProjectDataCacheFramework = "parcel" UpdateProjectDataCacheFrameworkFastapi UpdateProjectDataCacheFramework = "fastapi" + UpdateProjectDataCacheFrameworkFlask UpdateProjectDataCacheFramework = "flask" UpdateProjectDataCacheFrameworkFasthtml UpdateProjectDataCacheFramework = "fasthtml" UpdateProjectDataCacheFrameworkSanityV3 UpdateProjectDataCacheFramework = "sanity-v3" UpdateProjectDataCacheFrameworkSanity UpdateProjectDataCacheFramework = "sanity" @@ -2381,6 +2383,9 @@ const ( UpdateProjectDataCacheFrameworkHono UpdateProjectDataCacheFramework = "hono" UpdateProjectDataCacheFrameworkExpress UpdateProjectDataCacheFramework = "express" UpdateProjectDataCacheFrameworkH3 UpdateProjectDataCacheFramework = "h3" + UpdateProjectDataCacheFrameworkNestjs UpdateProjectDataCacheFramework = "nestjs" + UpdateProjectDataCacheFrameworkElysia UpdateProjectDataCacheFramework = "elysia" + UpdateProjectDataCacheFrameworkFastify UpdateProjectDataCacheFramework = "fastify" UpdateProjectDataCacheFrameworkXmcp UpdateProjectDataCacheFramework = "xmcp" ) @@ -2471,6 +2476,8 @@ func (e *UpdateProjectDataCacheFramework) UnmarshalJSON(data []byte) error { fallthrough case "vite": fallthrough + case "tanstack-start": + fallthrough case "vitepress": fallthrough case "vuepress": @@ -2479,6 +2486,8 @@ func (e *UpdateProjectDataCacheFramework) UnmarshalJSON(data []byte) error { fallthrough case "fastapi": fallthrough + case "flask": + fallthrough case "fasthtml": fallthrough case "sanity-v3": @@ -2495,6 +2504,12 @@ func (e *UpdateProjectDataCacheFramework) UnmarshalJSON(data []byte) error { fallthrough case "h3": fallthrough + case "nestjs": + fallthrough + case "elysia": + fallthrough + case "fastify": + fallthrough case "xmcp": *e = UpdateProjectDataCacheFramework(v) return nil @@ -3874,10 +3889,68 @@ func (u UpdateProjectDataCacheLinkUnion) MarshalJSON() ([]byte, error) { return nil, errors.New("could not marshal union type UpdateProjectDataCacheLinkUnion: all fields are null") } +type UpdateProjectDataCacheMicrofrontends3 struct { + UpdatedAt float64 `json:"updatedAt"` + GroupIds []any `json:"groupIds"` + Enabled bool `json:"enabled"` + FreeProjectForLegacyLimits *bool `json:"freeProjectForLegacyLimits,omitempty"` +} + +func (u UpdateProjectDataCacheMicrofrontends3) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(u, "", false) +} + +func (u *UpdateProjectDataCacheMicrofrontends3) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &u, "", false, []string{"updatedAt", "groupIds", "enabled"}); err != nil { + return err + } + return nil +} + +func (o *UpdateProjectDataCacheMicrofrontends3) GetUpdatedAt() float64 { + if o == nil { + return 0.0 + } + return o.UpdatedAt +} + +func (o *UpdateProjectDataCacheMicrofrontends3) GetGroupIds() []any { + if o == nil { + return []any{} + } + return o.GroupIds +} + +func (o *UpdateProjectDataCacheMicrofrontends3) GetEnabled() bool { + if o == nil { + return false + } + return o.Enabled +} + +func (o *UpdateProjectDataCacheMicrofrontends3) GetFreeProjectForLegacyLimits() *bool { + if o == nil { + return nil + } + return o.FreeProjectForLegacyLimits +} + type UpdateProjectDataCacheMicrofrontends2 struct { + IsDefaultApp *bool `json:"isDefaultApp,omitempty"` + // Whether observability data should be routed to this microfrontend project or a root project. + RouteObservabilityToThisProject *bool `json:"routeObservabilityToThisProject,omitempty"` + // Whether to add microfrontends routing to aliases. This means domains in this project will route as a microfrontend. + DoNotRouteWithMicrofrontendsRouting *bool `json:"doNotRouteWithMicrofrontendsRouting,omitempty"` + // Timestamp when the microfrontends settings were last updated. UpdatedAt float64 `json:"updatedAt"` - GroupIds []any `json:"groupIds"` - Enabled bool `json:"enabled"` + // 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 []string `json:"groupIds"` + // Whether microfrontends are enabled for this project. + Enabled bool `json:"enabled"` + // 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. Includes the leading slash, e.g. `/docs` + DefaultRoute *string `json:"defaultRoute,omitempty"` + // Whether the project was part of the legacy limits for hobby and pro-trial before billing was added. This field is only set when the team is upgraded to a paid plan and we are backfilling the subscription status. We cap the subscription to 2 projects and set this field for the 3rd project. When this field is set, the project is not charged for and we do not call any billing APIs for this project. + FreeProjectForLegacyLimits *bool `json:"freeProjectForLegacyLimits,omitempty"` } func (u UpdateProjectDataCacheMicrofrontends2) MarshalJSON() ([]byte, error) { @@ -3891,6 +3964,27 @@ func (u *UpdateProjectDataCacheMicrofrontends2) UnmarshalJSON(data []byte) error return nil } +func (o *UpdateProjectDataCacheMicrofrontends2) GetIsDefaultApp() *bool { + if o == nil { + return nil + } + return o.IsDefaultApp +} + +func (o *UpdateProjectDataCacheMicrofrontends2) GetRouteObservabilityToThisProject() *bool { + if o == nil { + return nil + } + return o.RouteObservabilityToThisProject +} + +func (o *UpdateProjectDataCacheMicrofrontends2) GetDoNotRouteWithMicrofrontendsRouting() *bool { + if o == nil { + return nil + } + return o.DoNotRouteWithMicrofrontendsRouting +} + func (o *UpdateProjectDataCacheMicrofrontends2) GetUpdatedAt() float64 { if o == nil { return 0.0 @@ -3898,9 +3992,9 @@ func (o *UpdateProjectDataCacheMicrofrontends2) GetUpdatedAt() float64 { return o.UpdatedAt } -func (o *UpdateProjectDataCacheMicrofrontends2) GetGroupIds() []any { +func (o *UpdateProjectDataCacheMicrofrontends2) GetGroupIds() []string { if o == nil { - return []any{} + return []string{} } return o.GroupIds } @@ -3912,19 +4006,32 @@ func (o *UpdateProjectDataCacheMicrofrontends2) GetEnabled() bool { return o.Enabled } +func (o *UpdateProjectDataCacheMicrofrontends2) GetDefaultRoute() *string { + if o == nil { + return nil + } + return o.DefaultRoute +} + +func (o *UpdateProjectDataCacheMicrofrontends2) GetFreeProjectForLegacyLimits() *bool { + if o == nil { + return nil + } + return o.FreeProjectForLegacyLimits +} + type UpdateProjectDataCacheMicrofrontends1 struct { + IsDefaultApp bool `json:"isDefaultApp"` // Timestamp when the microfrontends settings were last updated. UpdatedAt float64 `json:"updatedAt"` // 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 []string `json:"groupIds"` // Whether microfrontends are enabled for this project. Enabled bool `json:"enabled"` - // 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 *bool `json:"isDefaultApp,omitempty"` // 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. Includes the leading slash, e.g. `/docs` DefaultRoute *string `json:"defaultRoute,omitempty"` - // Whether observability data should be routed to this microfrontend project or a root project. - RouteObservabilityToThisProject *bool `json:"routeObservabilityToThisProject,omitempty"` + // Whether the project was part of the legacy limits for hobby and pro-trial before billing was added. This field is only set when the team is upgraded to a paid plan and we are backfilling the subscription status. We cap the subscription to 2 projects and set this field for the 3rd project. When this field is set, the project is not charged for and we do not call any billing APIs for this project. + FreeProjectForLegacyLimits *bool `json:"freeProjectForLegacyLimits,omitempty"` } func (u UpdateProjectDataCacheMicrofrontends1) MarshalJSON() ([]byte, error) { @@ -3932,12 +4039,19 @@ func (u UpdateProjectDataCacheMicrofrontends1) MarshalJSON() ([]byte, error) { } func (u *UpdateProjectDataCacheMicrofrontends1) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &u, "", false, []string{"updatedAt", "groupIds", "enabled"}); err != nil { + if err := utils.UnmarshalJSON(data, &u, "", false, []string{"isDefaultApp", "updatedAt", "groupIds", "enabled"}); err != nil { return err } return nil } +func (o *UpdateProjectDataCacheMicrofrontends1) GetIsDefaultApp() bool { + if o == nil { + return false + } + return o.IsDefaultApp +} + func (o *UpdateProjectDataCacheMicrofrontends1) GetUpdatedAt() float64 { if o == nil { return 0.0 @@ -3959,13 +4073,6 @@ func (o *UpdateProjectDataCacheMicrofrontends1) GetEnabled() bool { return o.Enabled } -func (o *UpdateProjectDataCacheMicrofrontends1) GetIsDefaultApp() *bool { - if o == nil { - return nil - } - return o.IsDefaultApp -} - func (o *UpdateProjectDataCacheMicrofrontends1) GetDefaultRoute() *string { if o == nil { return nil @@ -3973,11 +4080,11 @@ func (o *UpdateProjectDataCacheMicrofrontends1) GetDefaultRoute() *string { return o.DefaultRoute } -func (o *UpdateProjectDataCacheMicrofrontends1) GetRouteObservabilityToThisProject() *bool { +func (o *UpdateProjectDataCacheMicrofrontends1) GetFreeProjectForLegacyLimits() *bool { if o == nil { return nil } - return o.RouteObservabilityToThisProject + return o.FreeProjectForLegacyLimits } type UpdateProjectDataCacheMicrofrontendsUnionType string @@ -3985,11 +4092,13 @@ type UpdateProjectDataCacheMicrofrontendsUnionType string const ( UpdateProjectDataCacheMicrofrontendsUnionTypeUpdateProjectDataCacheMicrofrontends1 UpdateProjectDataCacheMicrofrontendsUnionType = "updateProjectDataCache_microfrontends_1" UpdateProjectDataCacheMicrofrontendsUnionTypeUpdateProjectDataCacheMicrofrontends2 UpdateProjectDataCacheMicrofrontendsUnionType = "updateProjectDataCache_microfrontends_2" + UpdateProjectDataCacheMicrofrontendsUnionTypeUpdateProjectDataCacheMicrofrontends3 UpdateProjectDataCacheMicrofrontendsUnionType = "updateProjectDataCache_microfrontends_3" ) type UpdateProjectDataCacheMicrofrontendsUnion struct { UpdateProjectDataCacheMicrofrontends1 *UpdateProjectDataCacheMicrofrontends1 `queryParam:"inline"` UpdateProjectDataCacheMicrofrontends2 *UpdateProjectDataCacheMicrofrontends2 `queryParam:"inline"` + UpdateProjectDataCacheMicrofrontends3 *UpdateProjectDataCacheMicrofrontends3 `queryParam:"inline"` Type UpdateProjectDataCacheMicrofrontendsUnionType } @@ -4012,6 +4121,15 @@ func CreateUpdateProjectDataCacheMicrofrontendsUnionUpdateProjectDataCacheMicrof } } +func CreateUpdateProjectDataCacheMicrofrontendsUnionUpdateProjectDataCacheMicrofrontends3(updateProjectDataCacheMicrofrontends3 UpdateProjectDataCacheMicrofrontends3) UpdateProjectDataCacheMicrofrontendsUnion { + typ := UpdateProjectDataCacheMicrofrontendsUnionTypeUpdateProjectDataCacheMicrofrontends3 + + return UpdateProjectDataCacheMicrofrontendsUnion{ + UpdateProjectDataCacheMicrofrontends3: &updateProjectDataCacheMicrofrontends3, + Type: typ, + } +} + func (u *UpdateProjectDataCacheMicrofrontendsUnion) UnmarshalJSON(data []byte) error { var updateProjectDataCacheMicrofrontends1 UpdateProjectDataCacheMicrofrontends1 = UpdateProjectDataCacheMicrofrontends1{} @@ -4028,6 +4146,13 @@ func (u *UpdateProjectDataCacheMicrofrontendsUnion) UnmarshalJSON(data []byte) e return nil } + var updateProjectDataCacheMicrofrontends3 UpdateProjectDataCacheMicrofrontends3 = UpdateProjectDataCacheMicrofrontends3{} + if err := utils.UnmarshalJSON(data, &updateProjectDataCacheMicrofrontends3, "", true, nil); err == nil { + u.UpdateProjectDataCacheMicrofrontends3 = &updateProjectDataCacheMicrofrontends3 + u.Type = UpdateProjectDataCacheMicrofrontendsUnionTypeUpdateProjectDataCacheMicrofrontends3 + return nil + } + return fmt.Errorf("could not unmarshal `%s` into any supported union types for UpdateProjectDataCacheMicrofrontendsUnion", string(data)) } @@ -4040,12 +4165,17 @@ func (u UpdateProjectDataCacheMicrofrontendsUnion) MarshalJSON() ([]byte, error) return utils.MarshalJSON(u.UpdateProjectDataCacheMicrofrontends2, "", true) } + if u.UpdateProjectDataCacheMicrofrontends3 != nil { + return utils.MarshalJSON(u.UpdateProjectDataCacheMicrofrontends3, "", true) + } + return nil, errors.New("could not marshal union type UpdateProjectDataCacheMicrofrontendsUnion: all fields are null") } type UpdateProjectDataCacheNodeVersion string const ( + UpdateProjectDataCacheNodeVersionTwentyFourDotX UpdateProjectDataCacheNodeVersion = "24.x" UpdateProjectDataCacheNodeVersionTwentyTwoDotX UpdateProjectDataCacheNodeVersion = "22.x" UpdateProjectDataCacheNodeVersionTwentyDotX UpdateProjectDataCacheNodeVersion = "20.x" UpdateProjectDataCacheNodeVersionEighteenDotX UpdateProjectDataCacheNodeVersion = "18.x" @@ -4065,6 +4195,8 @@ func (e *UpdateProjectDataCacheNodeVersion) UnmarshalJSON(data []byte) error { return err } switch v { + case "24.x": + fallthrough case "22.x": fallthrough case "20.x": @@ -4467,6 +4599,33 @@ func (o *UpdateProjectDataCacheDefaultResourceConfig) GetIsNSNBDisabled() *bool return o.IsNSNBDisabled } +type UpdateProjectDataCacheStaticIps struct { + Builds bool `json:"builds"` + Enabled bool `json:"enabled"` + Regions []string `json:"regions"` +} + +func (o *UpdateProjectDataCacheStaticIps) GetBuilds() bool { + if o == nil { + return false + } + return o.Builds +} + +func (o *UpdateProjectDataCacheStaticIps) GetEnabled() bool { + if o == nil { + return false + } + return o.Enabled +} + +func (o *UpdateProjectDataCacheStaticIps) GetRegions() []string { + if o == nil { + return []string{} + } + return o.Regions +} + type UpdateProjectDataCacheSsoProtectionDeploymentType string const ( @@ -4784,6 +4943,7 @@ type UpdateProjectDataCacheOidcTokenClaims struct { Project string `json:"project"` ProjectID string `json:"project_id"` Environment string `json:"environment"` + Plan string `json:"plan"` } func (o *UpdateProjectDataCacheOidcTokenClaims) GetIss() string { @@ -4849,6 +5009,13 @@ func (o *UpdateProjectDataCacheOidcTokenClaims) GetEnvironment() string { return o.Environment } +func (o *UpdateProjectDataCacheOidcTokenClaims) GetPlan() string { + if o == nil { + return "" + } + return o.Plan +} + type UpdateProjectDataCachePlan string const ( @@ -5267,9 +5434,17 @@ type UpdateProjectDataCachePermissions struct { UserSudo []components.ACLAction `json:"userSudo,omitempty"` WebAuthn []components.ACLAction `json:"webAuthn,omitempty"` AccessGroup []components.ACLAction `json:"accessGroup,omitempty"` + Agent []components.ACLAction `json:"agent,omitempty"` + Alerts []components.ACLAction `json:"alerts,omitempty"` AliasGlobal []components.ACLAction `json:"aliasGlobal,omitempty"` AnalyticsSampling []components.ACLAction `json:"analyticsSampling,omitempty"` AnalyticsUsage []components.ACLAction `json:"analyticsUsage,omitempty"` + APIKey []components.ACLAction `json:"apiKey,omitempty"` + APIKeyAiGateway []components.ACLAction `json:"apiKeyAiGateway,omitempty"` + APIKeyOwnedBySelf []components.ACLAction `json:"apiKeyOwnedBySelf,omitempty"` + Oauth2Application []components.ACLAction `json:"oauth2Application,omitempty"` + VercelAppInstallation []components.ACLAction `json:"vercelAppInstallation,omitempty"` + VercelAppInstallationRequest []components.ACLAction `json:"vercelAppInstallationRequest,omitempty"` AuditLog []components.ACLAction `json:"auditLog,omitempty"` BillingAddress []components.ACLAction `json:"billingAddress,omitempty"` BillingInformation []components.ACLAction `json:"billingInformation,omitempty"` @@ -5281,6 +5456,7 @@ type UpdateProjectDataCachePermissions struct { BillingRefund []components.ACLAction `json:"billingRefund,omitempty"` BillingTaxID []components.ACLAction `json:"billingTaxId,omitempty"` Blob []components.ACLAction `json:"blob,omitempty"` + BlobStoreTokenSet []components.ACLAction `json:"blobStoreTokenSet,omitempty"` Budget []components.ACLAction `json:"budget,omitempty"` CacheArtifact []components.ACLAction `json:"cacheArtifact,omitempty"` CacheArtifactUsageEvent []components.ACLAction `json:"cacheArtifactUsageEvent,omitempty"` @@ -5288,6 +5464,7 @@ type UpdateProjectDataCachePermissions struct { ConcurrentBuilds []components.ACLAction `json:"concurrentBuilds,omitempty"` Connect []components.ACLAction `json:"connect,omitempty"` ConnectConfiguration []components.ACLAction `json:"connectConfiguration,omitempty"` + DataCacheBillingSettings []components.ACLAction `json:"dataCacheBillingSettings,omitempty"` DefaultDeploymentProtection []components.ACLAction `json:"defaultDeploymentProtection,omitempty"` Domain []components.ACLAction `json:"domain,omitempty"` DomainAcceptDelegation []components.ACLAction `json:"domainAcceptDelegation,omitempty"` @@ -5298,40 +5475,48 @@ type UpdateProjectDataCachePermissions struct { DomainPurchase []components.ACLAction `json:"domainPurchase,omitempty"` DomainRecord []components.ACLAction `json:"domainRecord,omitempty"` DomainTransferIn []components.ACLAction `json:"domainTransferIn,omitempty"` + Drain []components.ACLAction `json:"drain,omitempty"` + EdgeConfig []components.ACLAction `json:"edgeConfig,omitempty"` + EdgeConfigItem []components.ACLAction `json:"edgeConfigItem,omitempty"` + EdgeConfigSchema []components.ACLAction `json:"edgeConfigSchema,omitempty"` + EdgeConfigToken []components.ACLAction `json:"edgeConfigToken,omitempty"` + EndpointVerification []components.ACLAction `json:"endpointVerification,omitempty"` Event []components.ACLAction `json:"event,omitempty"` - OwnEvent []components.ACLAction `json:"ownEvent,omitempty"` - SensitiveEnvironmentVariablePolicy []components.ACLAction `json:"sensitiveEnvironmentVariablePolicy,omitempty"` FileUpload []components.ACLAction `json:"fileUpload,omitempty"` FlagsExplorerSubscription []components.ACLAction `json:"flagsExplorerSubscription,omitempty"` GitRepository []components.ACLAction `json:"gitRepository,omitempty"` - IPBlocking []components.ACLAction `json:"ipBlocking,omitempty"` ImageOptimizationNewPrice []components.ACLAction `json:"imageOptimizationNewPrice,omitempty"` Integration []components.ACLAction `json:"integration,omitempty"` IntegrationAccount []components.ACLAction `json:"integrationAccount,omitempty"` IntegrationConfiguration []components.ACLAction `json:"integrationConfiguration,omitempty"` - IntegrationConfigurationTransfer []components.ACLAction `json:"integrationConfigurationTransfer,omitempty"` IntegrationConfigurationProjects []components.ACLAction `json:"integrationConfigurationProjects,omitempty"` - IntegrationVercelConfigurationOverride []components.ACLAction `json:"integrationVercelConfigurationOverride,omitempty"` IntegrationConfigurationRole []components.ACLAction `json:"integrationConfigurationRole,omitempty"` - IntegrationSSOSession []components.ACLAction `json:"integrationSSOSession,omitempty"` - IntegrationResource []components.ACLAction `json:"integrationResource,omitempty"` + IntegrationConfigurationTransfer []components.ACLAction `json:"integrationConfigurationTransfer,omitempty"` + IntegrationDeploymentAction []components.ACLAction `json:"integrationDeploymentAction,omitempty"` IntegrationEvent []components.ACLAction `json:"integrationEvent,omitempty"` + IntegrationLog []components.ACLAction `json:"integrationLog,omitempty"` + IntegrationResource []components.ACLAction `json:"integrationResource,omitempty"` + IntegrationResourceReplCommand []components.ACLAction `json:"integrationResourceReplCommand,omitempty"` IntegrationResourceSecrets []components.ACLAction `json:"integrationResourceSecrets,omitempty"` - IntegrationDeploymentAction []components.ACLAction `json:"integrationDeploymentAction,omitempty"` - MarketplaceInstallationMember []components.ACLAction `json:"marketplaceInstallationMember,omitempty"` + IntegrationSSOSession []components.ACLAction `json:"integrationSSOSession,omitempty"` + IntegrationStoreTokenSet []components.ACLAction `json:"integrationStoreTokenSet,omitempty"` + IntegrationVercelConfigurationOverride []components.ACLAction `json:"integrationVercelConfigurationOverride,omitempty"` + IntegrationPullRequest []components.ACLAction `json:"integrationPullRequest,omitempty"` + IPBlocking []components.ACLAction `json:"ipBlocking,omitempty"` + JobGlobal []components.ACLAction `json:"jobGlobal,omitempty"` + LogDrain []components.ACLAction `json:"logDrain,omitempty"` MarketplaceBillingData []components.ACLAction `json:"marketplaceBillingData,omitempty"` + MarketplaceExperimentationEdgeConfigData []components.ACLAction `json:"marketplaceExperimentationEdgeConfigData,omitempty"` + MarketplaceExperimentationItem []components.ACLAction `json:"marketplaceExperimentationItem,omitempty"` + MarketplaceInstallationMember []components.ACLAction `json:"marketplaceInstallationMember,omitempty"` MarketplaceInvoice []components.ACLAction `json:"marketplaceInvoice,omitempty"` MarketplaceSettings []components.ACLAction `json:"marketplaceSettings,omitempty"` - MarketplaceExperimentationItem []components.ACLAction `json:"marketplaceExperimentationItem,omitempty"` - MarketplaceExperimentationEdgeConfigData []components.ACLAction `json:"marketplaceExperimentationEdgeConfigData,omitempty"` - JobGlobal []components.ACLAction `json:"jobGlobal,omitempty"` - Drain []components.ACLAction `json:"drain,omitempty"` - LogDrain []components.ACLAction `json:"logDrain,omitempty"` Monitoring []components.ACLAction `json:"Monitoring,omitempty"` - MonitoringSettings []components.ACLAction `json:"monitoringSettings,omitempty"` - MonitoringQuery []components.ACLAction `json:"monitoringQuery,omitempty"` - MonitoringChart []components.ACLAction `json:"monitoringChart,omitempty"` MonitoringAlert []components.ACLAction `json:"monitoringAlert,omitempty"` + MonitoringChart []components.ACLAction `json:"monitoringChart,omitempty"` + MonitoringQuery []components.ACLAction `json:"monitoringQuery,omitempty"` + MonitoringSettings []components.ACLAction `json:"monitoringSettings,omitempty"` + NotificationCustomerBudget []components.ACLAction `json:"notificationCustomerBudget,omitempty"` NotificationDeploymentFailed []components.ACLAction `json:"notificationDeploymentFailed,omitempty"` NotificationDomainConfiguration []components.ACLAction `json:"notificationDomainConfiguration,omitempty"` NotificationDomainExpire []components.ACLAction `json:"notificationDomainExpire,omitempty"` @@ -5342,42 +5527,38 @@ type UpdateProjectDataCachePermissions struct { NotificationDomainUnverified []components.ACLAction `json:"notificationDomainUnverified,omitempty"` NotificationMonitoringAlert []components.ACLAction `json:"NotificationMonitoringAlert,omitempty"` NotificationPaymentFailed []components.ACLAction `json:"notificationPaymentFailed,omitempty"` - NotificationUsageAlert []components.ACLAction `json:"notificationUsageAlert,omitempty"` NotificationPreferences []components.ACLAction `json:"notificationPreferences,omitempty"` - NotificationCustomerBudget []components.ACLAction `json:"notificationCustomerBudget,omitempty"` NotificationStatementOfReasons []components.ACLAction `json:"notificationStatementOfReasons,omitempty"` + NotificationUsageAlert []components.ACLAction `json:"notificationUsageAlert,omitempty"` ObservabilityConfiguration []components.ACLAction `json:"observabilityConfiguration,omitempty"` - Alerts []components.ACLAction `json:"alerts,omitempty"` - ObservabilityNotebook []components.ACLAction `json:"observabilityNotebook,omitempty"` ObservabilityFunnel []components.ACLAction `json:"observabilityFunnel,omitempty"` + ObservabilityNotebook []components.ACLAction `json:"observabilityNotebook,omitempty"` OpenTelemetryEndpoint []components.ACLAction `json:"openTelemetryEndpoint,omitempty"` - VercelAppInstallation []components.ACLAction `json:"vercelAppInstallation,omitempty"` - VercelAppInstallationRequest []components.ACLAction `json:"vercelAppInstallationRequest,omitempty"` + OwnEvent []components.ACLAction `json:"ownEvent,omitempty"` + OrganizationDomain []components.ACLAction `json:"organizationDomain,omitempty"` + PasswordProtectionInvoiceItem []components.ACLAction `json:"passwordProtectionInvoiceItem,omitempty"` PaymentMethod []components.ACLAction `json:"paymentMethod,omitempty"` Permissions []components.ACLAction `json:"permissions,omitempty"` Postgres []components.ACLAction `json:"postgres,omitempty"` + PostgresStoreTokenSet []components.ACLAction `json:"postgresStoreTokenSet,omitempty"` PreviewDeploymentSuffix []components.ACLAction `json:"previewDeploymentSuffix,omitempty"` + ProjectTransferIn []components.ACLAction `json:"projectTransferIn,omitempty"` ProTrialOnboarding []components.ACLAction `json:"proTrialOnboarding,omitempty"` - SharedEnvVars []components.ACLAction `json:"sharedEnvVars,omitempty"` - SharedEnvVarsProduction []components.ACLAction `json:"sharedEnvVarsProduction,omitempty"` - Space []components.ACLAction `json:"space,omitempty"` - SpaceRun []components.ACLAction `json:"spaceRun,omitempty"` - PasswordProtectionInvoiceItem []components.ACLAction `json:"passwordProtectionInvoiceItem,omitempty"` RateLimit []components.ACLAction `json:"rateLimit,omitempty"` Redis []components.ACLAction `json:"redis,omitempty"` - Repository []components.ACLAction `json:"repository,omitempty"` + RedisStoreTokenSet []components.ACLAction `json:"redisStoreTokenSet,omitempty"` RemoteCaching []components.ACLAction `json:"remoteCaching,omitempty"` + Repository []components.ACLAction `json:"repository,omitempty"` SamlConfig []components.ACLAction `json:"samlConfig,omitempty"` Secret []components.ACLAction `json:"secret,omitempty"` - RedisStoreTokenSet []components.ACLAction `json:"redisStoreTokenSet,omitempty"` - BlobStoreTokenSet []components.ACLAction `json:"blobStoreTokenSet,omitempty"` - PostgresStoreTokenSet []components.ACLAction `json:"postgresStoreTokenSet,omitempty"` - IntegrationStoreTokenSet []components.ACLAction `json:"integrationStoreTokenSet,omitempty"` - IntegrationResourceReplCommand []components.ACLAction `json:"integrationResourceReplCommand,omitempty"` + SensitiveEnvironmentVariablePolicy []components.ACLAction `json:"sensitiveEnvironmentVariablePolicy,omitempty"` + SharedEnvVars []components.ACLAction `json:"sharedEnvVars,omitempty"` + SharedEnvVarsProduction []components.ACLAction `json:"sharedEnvVarsProduction,omitempty"` + Space []components.ACLAction `json:"space,omitempty"` + SpaceRun []components.ACLAction `json:"spaceRun,omitempty"` StoreTransfer []components.ACLAction `json:"storeTransfer,omitempty"` SupportCase []components.ACLAction `json:"supportCase,omitempty"` SupportCaseComment []components.ACLAction `json:"supportCaseComment,omitempty"` - DataCacheBillingSettings []components.ACLAction `json:"dataCacheBillingSettings,omitempty"` Team []components.ACLAction `json:"team,omitempty"` TeamAccessRequest []components.ACLAction `json:"teamAccessRequest,omitempty"` TeamFellowMembership []components.ACLAction `json:"teamFellowMembership,omitempty"` @@ -5392,26 +5573,15 @@ type UpdateProjectDataCachePermissions struct { Token []components.ACLAction `json:"token,omitempty"` Usage []components.ACLAction `json:"usage,omitempty"` UsageCycle []components.ACLAction `json:"usageCycle,omitempty"` + VercelRun []components.ACLAction `json:"vercelRun,omitempty"` + VercelRunExec []components.ACLAction `json:"vercelRunExec,omitempty"` VpcPeeringConnection []components.ACLAction `json:"vpcPeeringConnection,omitempty"` WebAnalyticsPlan []components.ACLAction `json:"webAnalyticsPlan,omitempty"` - EdgeConfig []components.ACLAction `json:"edgeConfig,omitempty"` - EdgeConfigItem []components.ACLAction `json:"edgeConfigItem,omitempty"` - EdgeConfigSchema []components.ACLAction `json:"edgeConfigSchema,omitempty"` - EdgeConfigToken []components.ACLAction `json:"edgeConfigToken,omitempty"` Webhook []components.ACLAction `json:"webhook,omitempty"` WebhookEvent []components.ACLAction `json:"webhook-event,omitempty"` - EndpointVerification []components.ACLAction `json:"endpointVerification,omitempty"` - ProjectTransferIn []components.ACLAction `json:"projectTransferIn,omitempty"` - Oauth2Application []components.ACLAction `json:"oauth2Application,omitempty"` - VercelRun []components.ACLAction `json:"vercelRun,omitempty"` - VercelRunExec []components.ACLAction `json:"vercelRunExec,omitempty"` - APIKey []components.ACLAction `json:"apiKey,omitempty"` - APIKeyOwnedBySelf []components.ACLAction `json:"apiKeyOwnedBySelf,omitempty"` - APIKeyAiGateway []components.ACLAction `json:"apiKeyAiGateway,omitempty"` AliasProject []components.ACLAction `json:"aliasProject,omitempty"` AliasProtectionBypass []components.ACLAction `json:"aliasProtectionBypass,omitempty"` BuildMachine []components.ACLAction `json:"buildMachine,omitempty"` - ProductionAliasProtectionBypass []components.ACLAction `json:"productionAliasProtectionBypass,omitempty"` ConnectConfigurationLink []components.ACLAction `json:"connectConfigurationLink,omitempty"` DataCacheNamespace []components.ACLAction `json:"dataCacheNamespace,omitempty"` Deployment []components.ACLAction `json:"deployment,omitempty"` @@ -5427,54 +5597,55 @@ type UpdateProjectDataCachePermissions struct { DeploymentRollback []components.ACLAction `json:"deploymentRollback,omitempty"` EdgeCacheNamespace []components.ACLAction `json:"edgeCacheNamespace,omitempty"` Environments []components.ACLAction `json:"environments,omitempty"` + Job []components.ACLAction `json:"job,omitempty"` Logs []components.ACLAction `json:"logs,omitempty"` LogsPreset []components.ACLAction `json:"logsPreset,omitempty"` - PasswordProtection []components.ACLAction `json:"passwordProtection,omitempty"` - OptionsAllowlist []components.ACLAction `json:"optionsAllowlist,omitempty"` - Job []components.ACLAction `json:"job,omitempty"` ObservabilityData []components.ACLAction `json:"observabilityData,omitempty"` OnDemandBuild []components.ACLAction `json:"onDemandBuild,omitempty"` OnDemandConcurrency []components.ACLAction `json:"onDemandConcurrency,omitempty"` + OptionsAllowlist []components.ACLAction `json:"optionsAllowlist,omitempty"` + PasswordProtection []components.ACLAction `json:"passwordProtection,omitempty"` + ProductionAliasProtectionBypass []components.ACLAction `json:"productionAliasProtectionBypass,omitempty"` Project []components.ACLAction `json:"project,omitempty"` - ProjectFromV0 []components.ACLAction `json:"projectFromV0,omitempty"` ProjectAccessGroup []components.ACLAction `json:"projectAccessGroup,omitempty"` ProjectAnalyticsSampling []components.ACLAction `json:"projectAnalyticsSampling,omitempty"` + ProjectAnalyticsUsage []components.ACLAction `json:"projectAnalyticsUsage,omitempty"` ProjectCheck []components.ACLAction `json:"projectCheck,omitempty"` ProjectCheckRun []components.ACLAction `json:"projectCheckRun,omitempty"` + ProjectDeploymentExpiration []components.ACLAction `json:"projectDeploymentExpiration,omitempty"` ProjectDeploymentHook []components.ACLAction `json:"projectDeploymentHook,omitempty"` ProjectDomain []components.ACLAction `json:"projectDomain,omitempty"` - ProjectDomainMove []components.ACLAction `json:"projectDomainMove,omitempty"` ProjectDomainCheckConfig []components.ACLAction `json:"projectDomainCheckConfig,omitempty"` + ProjectDomainMove []components.ACLAction `json:"projectDomainMove,omitempty"` ProjectEnvVars []components.ACLAction `json:"projectEnvVars,omitempty"` ProjectEnvVarsProduction []components.ACLAction `json:"projectEnvVarsProduction,omitempty"` ProjectEnvVarsUnownedByIntegration []components.ACLAction `json:"projectEnvVarsUnownedByIntegration,omitempty"` ProjectFlags []components.ACLAction `json:"projectFlags,omitempty"` + ProjectFlagsProduction []components.ACLAction `json:"projectFlagsProduction,omitempty"` + ProjectFromV0 []components.ACLAction `json:"projectFromV0,omitempty"` ProjectID []components.ACLAction `json:"projectId,omitempty"` ProjectIntegrationConfiguration []components.ACLAction `json:"projectIntegrationConfiguration,omitempty"` ProjectLink []components.ACLAction `json:"projectLink,omitempty"` ProjectMember []components.ACLAction `json:"projectMember,omitempty"` ProjectMonitoring []components.ACLAction `json:"projectMonitoring,omitempty"` + ProjectOIDCToken []components.ACLAction `json:"projectOIDCToken,omitempty"` ProjectPermissions []components.ACLAction `json:"projectPermissions,omitempty"` ProjectProductionBranch []components.ACLAction `json:"projectProductionBranch,omitempty"` - ProjectTransfer []components.ACLAction `json:"projectTransfer,omitempty"` - ProjectTransferOut []components.ACLAction `json:"projectTransferOut,omitempty"` ProjectProtectionBypass []components.ACLAction `json:"projectProtectionBypass,omitempty"` - ProjectUsage []components.ACLAction `json:"projectUsage,omitempty"` - ProjectAnalyticsUsage []components.ACLAction `json:"projectAnalyticsUsage,omitempty"` + ProjectRollingRelease []components.ACLAction `json:"projectRollingRelease,omitempty"` ProjectSupportCase []components.ACLAction `json:"projectSupportCase,omitempty"` ProjectSupportCaseComment []components.ACLAction `json:"projectSupportCaseComment,omitempty"` - ProjectDeploymentExpiration []components.ACLAction `json:"projectDeploymentExpiration,omitempty"` - ProjectRollingRelease []components.ACLAction `json:"projectRollingRelease,omitempty"` ProjectTier []components.ACLAction `json:"projectTier,omitempty"` - ProjectOIDCToken []components.ACLAction `json:"projectOIDCToken,omitempty"` + ProjectTransfer []components.ACLAction `json:"projectTransfer,omitempty"` + ProjectTransferOut []components.ACLAction `json:"projectTransferOut,omitempty"` + ProjectUsage []components.ACLAction `json:"projectUsage,omitempty"` SeawallConfig []components.ACLAction `json:"seawallConfig,omitempty"` + SharedEnvVarConnection []components.ACLAction `json:"sharedEnvVarConnection,omitempty"` SkewProtection []components.ACLAction `json:"skewProtection,omitempty"` Analytics []components.ACLAction `json:"analytics,omitempty"` TrustedIps []components.ACLAction `json:"trustedIps,omitempty"` V0Chat []components.ACLAction `json:"v0Chat,omitempty"` WebAnalytics []components.ACLAction `json:"webAnalytics,omitempty"` - SharedEnvVarConnection []components.ACLAction `json:"sharedEnvVarConnection,omitempty"` - Sonar []components.ACLAction `json:"sonar,omitempty"` } func (o *UpdateProjectDataCachePermissions) GetOauth2Connection() []components.ACLAction { @@ -5519,7 +5690,21 @@ func (o *UpdateProjectDataCachePermissions) GetAccessGroup() []components.ACLAct return o.AccessGroup } -func (o *UpdateProjectDataCachePermissions) GetAliasGlobal() []components.ACLAction { +func (o *UpdateProjectDataCachePermissions) GetAgent() []components.ACLAction { + if o == nil { + return nil + } + return o.Agent +} + +func (o *UpdateProjectDataCachePermissions) GetAlerts() []components.ACLAction { + if o == nil { + return nil + } + return o.Alerts +} + +func (o *UpdateProjectDataCachePermissions) GetAliasGlobal() []components.ACLAction { if o == nil { return nil } @@ -5540,6 +5725,48 @@ func (o *UpdateProjectDataCachePermissions) GetAnalyticsUsage() []components.ACL return o.AnalyticsUsage } +func (o *UpdateProjectDataCachePermissions) GetAPIKey() []components.ACLAction { + if o == nil { + return nil + } + return o.APIKey +} + +func (o *UpdateProjectDataCachePermissions) GetAPIKeyAiGateway() []components.ACLAction { + if o == nil { + return nil + } + return o.APIKeyAiGateway +} + +func (o *UpdateProjectDataCachePermissions) GetAPIKeyOwnedBySelf() []components.ACLAction { + if o == nil { + return nil + } + return o.APIKeyOwnedBySelf +} + +func (o *UpdateProjectDataCachePermissions) GetOauth2Application() []components.ACLAction { + if o == nil { + return nil + } + return o.Oauth2Application +} + +func (o *UpdateProjectDataCachePermissions) GetVercelAppInstallation() []components.ACLAction { + if o == nil { + return nil + } + return o.VercelAppInstallation +} + +func (o *UpdateProjectDataCachePermissions) GetVercelAppInstallationRequest() []components.ACLAction { + if o == nil { + return nil + } + return o.VercelAppInstallationRequest +} + func (o *UpdateProjectDataCachePermissions) GetAuditLog() []components.ACLAction { if o == nil { return nil @@ -5617,6 +5844,13 @@ func (o *UpdateProjectDataCachePermissions) GetBlob() []components.ACLAction { return o.Blob } +func (o *UpdateProjectDataCachePermissions) GetBlobStoreTokenSet() []components.ACLAction { + if o == nil { + return nil + } + return o.BlobStoreTokenSet +} + func (o *UpdateProjectDataCachePermissions) GetBudget() []components.ACLAction { if o == nil { return nil @@ -5666,6 +5900,13 @@ func (o *UpdateProjectDataCachePermissions) GetConnectConfiguration() []componen return o.ConnectConfiguration } +func (o *UpdateProjectDataCachePermissions) GetDataCacheBillingSettings() []components.ACLAction { + if o == nil { + return nil + } + return o.DataCacheBillingSettings +} + func (o *UpdateProjectDataCachePermissions) GetDefaultDeploymentProtection() []components.ACLAction { if o == nil { return nil @@ -5736,25 +5977,53 @@ func (o *UpdateProjectDataCachePermissions) GetDomainTransferIn() []components.A return o.DomainTransferIn } -func (o *UpdateProjectDataCachePermissions) GetEvent() []components.ACLAction { +func (o *UpdateProjectDataCachePermissions) GetDrain() []components.ACLAction { if o == nil { return nil } - return o.Event + return o.Drain } -func (o *UpdateProjectDataCachePermissions) GetOwnEvent() []components.ACLAction { +func (o *UpdateProjectDataCachePermissions) GetEdgeConfig() []components.ACLAction { if o == nil { return nil } - return o.OwnEvent + return o.EdgeConfig } -func (o *UpdateProjectDataCachePermissions) GetSensitiveEnvironmentVariablePolicy() []components.ACLAction { +func (o *UpdateProjectDataCachePermissions) GetEdgeConfigItem() []components.ACLAction { if o == nil { return nil } - return o.SensitiveEnvironmentVariablePolicy + return o.EdgeConfigItem +} + +func (o *UpdateProjectDataCachePermissions) GetEdgeConfigSchema() []components.ACLAction { + if o == nil { + return nil + } + return o.EdgeConfigSchema +} + +func (o *UpdateProjectDataCachePermissions) GetEdgeConfigToken() []components.ACLAction { + if o == nil { + return nil + } + return o.EdgeConfigToken +} + +func (o *UpdateProjectDataCachePermissions) GetEndpointVerification() []components.ACLAction { + if o == nil { + return nil + } + return o.EndpointVerification +} + +func (o *UpdateProjectDataCachePermissions) GetEvent() []components.ACLAction { + if o == nil { + return nil + } + return o.Event } func (o *UpdateProjectDataCachePermissions) GetFileUpload() []components.ACLAction { @@ -5778,13 +6047,6 @@ func (o *UpdateProjectDataCachePermissions) GetGitRepository() []components.ACLA return o.GitRepository } -func (o *UpdateProjectDataCachePermissions) GetIPBlocking() []components.ACLAction { - if o == nil { - return nil - } - return o.IPBlocking -} - func (o *UpdateProjectDataCachePermissions) GetImageOptimizationNewPrice() []components.ACLAction { if o == nil { return nil @@ -5813,39 +6075,46 @@ func (o *UpdateProjectDataCachePermissions) GetIntegrationConfiguration() []comp return o.IntegrationConfiguration } -func (o *UpdateProjectDataCachePermissions) GetIntegrationConfigurationTransfer() []components.ACLAction { +func (o *UpdateProjectDataCachePermissions) GetIntegrationConfigurationProjects() []components.ACLAction { if o == nil { return nil } - return o.IntegrationConfigurationTransfer + return o.IntegrationConfigurationProjects } -func (o *UpdateProjectDataCachePermissions) GetIntegrationConfigurationProjects() []components.ACLAction { +func (o *UpdateProjectDataCachePermissions) GetIntegrationConfigurationRole() []components.ACLAction { if o == nil { return nil } - return o.IntegrationConfigurationProjects + return o.IntegrationConfigurationRole } -func (o *UpdateProjectDataCachePermissions) GetIntegrationVercelConfigurationOverride() []components.ACLAction { +func (o *UpdateProjectDataCachePermissions) GetIntegrationConfigurationTransfer() []components.ACLAction { if o == nil { return nil } - return o.IntegrationVercelConfigurationOverride + return o.IntegrationConfigurationTransfer } -func (o *UpdateProjectDataCachePermissions) GetIntegrationConfigurationRole() []components.ACLAction { +func (o *UpdateProjectDataCachePermissions) GetIntegrationDeploymentAction() []components.ACLAction { if o == nil { return nil } - return o.IntegrationConfigurationRole + return o.IntegrationDeploymentAction } -func (o *UpdateProjectDataCachePermissions) GetIntegrationSSOSession() []components.ACLAction { +func (o *UpdateProjectDataCachePermissions) GetIntegrationEvent() []components.ACLAction { if o == nil { return nil } - return o.IntegrationSSOSession + return o.IntegrationEvent +} + +func (o *UpdateProjectDataCachePermissions) GetIntegrationLog() []components.ACLAction { + if o == nil { + return nil + } + return o.IntegrationLog } func (o *UpdateProjectDataCachePermissions) GetIntegrationResource() []components.ACLAction { @@ -5855,11 +6124,11 @@ func (o *UpdateProjectDataCachePermissions) GetIntegrationResource() []component return o.IntegrationResource } -func (o *UpdateProjectDataCachePermissions) GetIntegrationEvent() []components.ACLAction { +func (o *UpdateProjectDataCachePermissions) GetIntegrationResourceReplCommand() []components.ACLAction { if o == nil { return nil } - return o.IntegrationEvent + return o.IntegrationResourceReplCommand } func (o *UpdateProjectDataCachePermissions) GetIntegrationResourceSecrets() []components.ACLAction { @@ -5869,46 +6138,60 @@ func (o *UpdateProjectDataCachePermissions) GetIntegrationResourceSecrets() []co return o.IntegrationResourceSecrets } -func (o *UpdateProjectDataCachePermissions) GetIntegrationDeploymentAction() []components.ACLAction { +func (o *UpdateProjectDataCachePermissions) GetIntegrationSSOSession() []components.ACLAction { if o == nil { return nil } - return o.IntegrationDeploymentAction + return o.IntegrationSSOSession } -func (o *UpdateProjectDataCachePermissions) GetMarketplaceInstallationMember() []components.ACLAction { +func (o *UpdateProjectDataCachePermissions) GetIntegrationStoreTokenSet() []components.ACLAction { if o == nil { return nil } - return o.MarketplaceInstallationMember + return o.IntegrationStoreTokenSet } -func (o *UpdateProjectDataCachePermissions) GetMarketplaceBillingData() []components.ACLAction { +func (o *UpdateProjectDataCachePermissions) GetIntegrationVercelConfigurationOverride() []components.ACLAction { if o == nil { return nil } - return o.MarketplaceBillingData + return o.IntegrationVercelConfigurationOverride } -func (o *UpdateProjectDataCachePermissions) GetMarketplaceInvoice() []components.ACLAction { +func (o *UpdateProjectDataCachePermissions) GetIntegrationPullRequest() []components.ACLAction { if o == nil { return nil } - return o.MarketplaceInvoice + return o.IntegrationPullRequest } -func (o *UpdateProjectDataCachePermissions) GetMarketplaceSettings() []components.ACLAction { +func (o *UpdateProjectDataCachePermissions) GetIPBlocking() []components.ACLAction { if o == nil { return nil } - return o.MarketplaceSettings + return o.IPBlocking } -func (o *UpdateProjectDataCachePermissions) GetMarketplaceExperimentationItem() []components.ACLAction { +func (o *UpdateProjectDataCachePermissions) GetJobGlobal() []components.ACLAction { if o == nil { return nil } - return o.MarketplaceExperimentationItem + return o.JobGlobal +} + +func (o *UpdateProjectDataCachePermissions) GetLogDrain() []components.ACLAction { + if o == nil { + return nil + } + return o.LogDrain +} + +func (o *UpdateProjectDataCachePermissions) GetMarketplaceBillingData() []components.ACLAction { + if o == nil { + return nil + } + return o.MarketplaceBillingData } func (o *UpdateProjectDataCachePermissions) GetMarketplaceExperimentationEdgeConfigData() []components.ACLAction { @@ -5918,25 +6201,32 @@ func (o *UpdateProjectDataCachePermissions) GetMarketplaceExperimentationEdgeCon return o.MarketplaceExperimentationEdgeConfigData } -func (o *UpdateProjectDataCachePermissions) GetJobGlobal() []components.ACLAction { +func (o *UpdateProjectDataCachePermissions) GetMarketplaceExperimentationItem() []components.ACLAction { if o == nil { return nil } - return o.JobGlobal + return o.MarketplaceExperimentationItem } -func (o *UpdateProjectDataCachePermissions) GetDrain() []components.ACLAction { +func (o *UpdateProjectDataCachePermissions) GetMarketplaceInstallationMember() []components.ACLAction { if o == nil { return nil } - return o.Drain + return o.MarketplaceInstallationMember } -func (o *UpdateProjectDataCachePermissions) GetLogDrain() []components.ACLAction { +func (o *UpdateProjectDataCachePermissions) GetMarketplaceInvoice() []components.ACLAction { if o == nil { return nil } - return o.LogDrain + return o.MarketplaceInvoice +} + +func (o *UpdateProjectDataCachePermissions) GetMarketplaceSettings() []components.ACLAction { + if o == nil { + return nil + } + return o.MarketplaceSettings } func (o *UpdateProjectDataCachePermissions) GetMonitoring() []components.ACLAction { @@ -5946,11 +6236,18 @@ func (o *UpdateProjectDataCachePermissions) GetMonitoring() []components.ACLActi return o.Monitoring } -func (o *UpdateProjectDataCachePermissions) GetMonitoringSettings() []components.ACLAction { +func (o *UpdateProjectDataCachePermissions) GetMonitoringAlert() []components.ACLAction { if o == nil { return nil } - return o.MonitoringSettings + return o.MonitoringAlert +} + +func (o *UpdateProjectDataCachePermissions) GetMonitoringChart() []components.ACLAction { + if o == nil { + return nil + } + return o.MonitoringChart } func (o *UpdateProjectDataCachePermissions) GetMonitoringQuery() []components.ACLAction { @@ -5960,18 +6257,18 @@ func (o *UpdateProjectDataCachePermissions) GetMonitoringQuery() []components.AC return o.MonitoringQuery } -func (o *UpdateProjectDataCachePermissions) GetMonitoringChart() []components.ACLAction { +func (o *UpdateProjectDataCachePermissions) GetMonitoringSettings() []components.ACLAction { if o == nil { return nil } - return o.MonitoringChart + return o.MonitoringSettings } -func (o *UpdateProjectDataCachePermissions) GetMonitoringAlert() []components.ACLAction { +func (o *UpdateProjectDataCachePermissions) GetNotificationCustomerBudget() []components.ACLAction { if o == nil { return nil } - return o.MonitoringAlert + return o.NotificationCustomerBudget } func (o *UpdateProjectDataCachePermissions) GetNotificationDeploymentFailed() []components.ACLAction { @@ -6044,13 +6341,6 @@ func (o *UpdateProjectDataCachePermissions) GetNotificationPaymentFailed() []com return o.NotificationPaymentFailed } -func (o *UpdateProjectDataCachePermissions) GetNotificationUsageAlert() []components.ACLAction { - if o == nil { - return nil - } - return o.NotificationUsageAlert -} - func (o *UpdateProjectDataCachePermissions) GetNotificationPreferences() []components.ACLAction { if o == nil { return nil @@ -6058,18 +6348,18 @@ func (o *UpdateProjectDataCachePermissions) GetNotificationPreferences() []compo return o.NotificationPreferences } -func (o *UpdateProjectDataCachePermissions) GetNotificationCustomerBudget() []components.ACLAction { +func (o *UpdateProjectDataCachePermissions) GetNotificationStatementOfReasons() []components.ACLAction { if o == nil { return nil } - return o.NotificationCustomerBudget + return o.NotificationStatementOfReasons } -func (o *UpdateProjectDataCachePermissions) GetNotificationStatementOfReasons() []components.ACLAction { +func (o *UpdateProjectDataCachePermissions) GetNotificationUsageAlert() []components.ACLAction { if o == nil { return nil } - return o.NotificationStatementOfReasons + return o.NotificationUsageAlert } func (o *UpdateProjectDataCachePermissions) GetObservabilityConfiguration() []components.ACLAction { @@ -6079,11 +6369,11 @@ func (o *UpdateProjectDataCachePermissions) GetObservabilityConfiguration() []co return o.ObservabilityConfiguration } -func (o *UpdateProjectDataCachePermissions) GetAlerts() []components.ACLAction { +func (o *UpdateProjectDataCachePermissions) GetObservabilityFunnel() []components.ACLAction { if o == nil { return nil } - return o.Alerts + return o.ObservabilityFunnel } func (o *UpdateProjectDataCachePermissions) GetObservabilityNotebook() []components.ACLAction { @@ -6093,32 +6383,32 @@ func (o *UpdateProjectDataCachePermissions) GetObservabilityNotebook() []compone return o.ObservabilityNotebook } -func (o *UpdateProjectDataCachePermissions) GetObservabilityFunnel() []components.ACLAction { +func (o *UpdateProjectDataCachePermissions) GetOpenTelemetryEndpoint() []components.ACLAction { if o == nil { return nil } - return o.ObservabilityFunnel + return o.OpenTelemetryEndpoint } -func (o *UpdateProjectDataCachePermissions) GetOpenTelemetryEndpoint() []components.ACLAction { +func (o *UpdateProjectDataCachePermissions) GetOwnEvent() []components.ACLAction { if o == nil { return nil } - return o.OpenTelemetryEndpoint + return o.OwnEvent } -func (o *UpdateProjectDataCachePermissions) GetVercelAppInstallation() []components.ACLAction { +func (o *UpdateProjectDataCachePermissions) GetOrganizationDomain() []components.ACLAction { if o == nil { return nil } - return o.VercelAppInstallation + return o.OrganizationDomain } -func (o *UpdateProjectDataCachePermissions) GetVercelAppInstallationRequest() []components.ACLAction { +func (o *UpdateProjectDataCachePermissions) GetPasswordProtectionInvoiceItem() []components.ACLAction { if o == nil { return nil } - return o.VercelAppInstallationRequest + return o.PasswordProtectionInvoiceItem } func (o *UpdateProjectDataCachePermissions) GetPaymentMethod() []components.ACLAction { @@ -6142,67 +6432,60 @@ func (o *UpdateProjectDataCachePermissions) GetPostgres() []components.ACLAction return o.Postgres } -func (o *UpdateProjectDataCachePermissions) GetPreviewDeploymentSuffix() []components.ACLAction { +func (o *UpdateProjectDataCachePermissions) GetPostgresStoreTokenSet() []components.ACLAction { if o == nil { return nil } - return o.PreviewDeploymentSuffix + return o.PostgresStoreTokenSet } -func (o *UpdateProjectDataCachePermissions) GetProTrialOnboarding() []components.ACLAction { - if o == nil { - return nil - } - return o.ProTrialOnboarding -} - -func (o *UpdateProjectDataCachePermissions) GetSharedEnvVars() []components.ACLAction { +func (o *UpdateProjectDataCachePermissions) GetPreviewDeploymentSuffix() []components.ACLAction { if o == nil { return nil } - return o.SharedEnvVars + return o.PreviewDeploymentSuffix } -func (o *UpdateProjectDataCachePermissions) GetSharedEnvVarsProduction() []components.ACLAction { +func (o *UpdateProjectDataCachePermissions) GetProjectTransferIn() []components.ACLAction { if o == nil { return nil } - return o.SharedEnvVarsProduction + return o.ProjectTransferIn } -func (o *UpdateProjectDataCachePermissions) GetSpace() []components.ACLAction { +func (o *UpdateProjectDataCachePermissions) GetProTrialOnboarding() []components.ACLAction { if o == nil { return nil } - return o.Space + return o.ProTrialOnboarding } -func (o *UpdateProjectDataCachePermissions) GetSpaceRun() []components.ACLAction { +func (o *UpdateProjectDataCachePermissions) GetRateLimit() []components.ACLAction { if o == nil { return nil } - return o.SpaceRun + return o.RateLimit } -func (o *UpdateProjectDataCachePermissions) GetPasswordProtectionInvoiceItem() []components.ACLAction { +func (o *UpdateProjectDataCachePermissions) GetRedis() []components.ACLAction { if o == nil { return nil } - return o.PasswordProtectionInvoiceItem + return o.Redis } -func (o *UpdateProjectDataCachePermissions) GetRateLimit() []components.ACLAction { +func (o *UpdateProjectDataCachePermissions) GetRedisStoreTokenSet() []components.ACLAction { if o == nil { return nil } - return o.RateLimit + return o.RedisStoreTokenSet } -func (o *UpdateProjectDataCachePermissions) GetRedis() []components.ACLAction { +func (o *UpdateProjectDataCachePermissions) GetRemoteCaching() []components.ACLAction { if o == nil { return nil } - return o.Redis + return o.RemoteCaching } func (o *UpdateProjectDataCachePermissions) GetRepository() []components.ACLAction { @@ -6212,13 +6495,6 @@ func (o *UpdateProjectDataCachePermissions) GetRepository() []components.ACLActi return o.Repository } -func (o *UpdateProjectDataCachePermissions) GetRemoteCaching() []components.ACLAction { - if o == nil { - return nil - } - return o.RemoteCaching -} - func (o *UpdateProjectDataCachePermissions) GetSamlConfig() []components.ACLAction { if o == nil { return nil @@ -6233,39 +6509,39 @@ func (o *UpdateProjectDataCachePermissions) GetSecret() []components.ACLAction { return o.Secret } -func (o *UpdateProjectDataCachePermissions) GetRedisStoreTokenSet() []components.ACLAction { +func (o *UpdateProjectDataCachePermissions) GetSensitiveEnvironmentVariablePolicy() []components.ACLAction { if o == nil { return nil } - return o.RedisStoreTokenSet + return o.SensitiveEnvironmentVariablePolicy } -func (o *UpdateProjectDataCachePermissions) GetBlobStoreTokenSet() []components.ACLAction { +func (o *UpdateProjectDataCachePermissions) GetSharedEnvVars() []components.ACLAction { if o == nil { return nil } - return o.BlobStoreTokenSet + return o.SharedEnvVars } -func (o *UpdateProjectDataCachePermissions) GetPostgresStoreTokenSet() []components.ACLAction { +func (o *UpdateProjectDataCachePermissions) GetSharedEnvVarsProduction() []components.ACLAction { if o == nil { return nil } - return o.PostgresStoreTokenSet + return o.SharedEnvVarsProduction } -func (o *UpdateProjectDataCachePermissions) GetIntegrationStoreTokenSet() []components.ACLAction { +func (o *UpdateProjectDataCachePermissions) GetSpace() []components.ACLAction { if o == nil { return nil } - return o.IntegrationStoreTokenSet + return o.Space } -func (o *UpdateProjectDataCachePermissions) GetIntegrationResourceReplCommand() []components.ACLAction { +func (o *UpdateProjectDataCachePermissions) GetSpaceRun() []components.ACLAction { if o == nil { return nil } - return o.IntegrationResourceReplCommand + return o.SpaceRun } func (o *UpdateProjectDataCachePermissions) GetStoreTransfer() []components.ACLAction { @@ -6289,13 +6565,6 @@ func (o *UpdateProjectDataCachePermissions) GetSupportCaseComment() []components return o.SupportCaseComment } -func (o *UpdateProjectDataCachePermissions) GetDataCacheBillingSettings() []components.ACLAction { - if o == nil { - return nil - } - return o.DataCacheBillingSettings -} - func (o *UpdateProjectDataCachePermissions) GetTeam() []components.ACLAction { if o == nil { return nil @@ -6394,46 +6663,32 @@ func (o *UpdateProjectDataCachePermissions) GetUsageCycle() []components.ACLActi return o.UsageCycle } -func (o *UpdateProjectDataCachePermissions) GetVpcPeeringConnection() []components.ACLAction { - if o == nil { - return nil - } - return o.VpcPeeringConnection -} - -func (o *UpdateProjectDataCachePermissions) GetWebAnalyticsPlan() []components.ACLAction { - if o == nil { - return nil - } - return o.WebAnalyticsPlan -} - -func (o *UpdateProjectDataCachePermissions) GetEdgeConfig() []components.ACLAction { +func (o *UpdateProjectDataCachePermissions) GetVercelRun() []components.ACLAction { if o == nil { return nil } - return o.EdgeConfig + return o.VercelRun } -func (o *UpdateProjectDataCachePermissions) GetEdgeConfigItem() []components.ACLAction { +func (o *UpdateProjectDataCachePermissions) GetVercelRunExec() []components.ACLAction { if o == nil { return nil } - return o.EdgeConfigItem + return o.VercelRunExec } -func (o *UpdateProjectDataCachePermissions) GetEdgeConfigSchema() []components.ACLAction { +func (o *UpdateProjectDataCachePermissions) GetVpcPeeringConnection() []components.ACLAction { if o == nil { return nil } - return o.EdgeConfigSchema + return o.VpcPeeringConnection } -func (o *UpdateProjectDataCachePermissions) GetEdgeConfigToken() []components.ACLAction { +func (o *UpdateProjectDataCachePermissions) GetWebAnalyticsPlan() []components.ACLAction { if o == nil { return nil } - return o.EdgeConfigToken + return o.WebAnalyticsPlan } func (o *UpdateProjectDataCachePermissions) GetWebhook() []components.ACLAction { @@ -6450,62 +6705,6 @@ func (o *UpdateProjectDataCachePermissions) GetWebhookEvent() []components.ACLAc return o.WebhookEvent } -func (o *UpdateProjectDataCachePermissions) GetEndpointVerification() []components.ACLAction { - if o == nil { - return nil - } - return o.EndpointVerification -} - -func (o *UpdateProjectDataCachePermissions) GetProjectTransferIn() []components.ACLAction { - if o == nil { - return nil - } - return o.ProjectTransferIn -} - -func (o *UpdateProjectDataCachePermissions) GetOauth2Application() []components.ACLAction { - if o == nil { - return nil - } - return o.Oauth2Application -} - -func (o *UpdateProjectDataCachePermissions) GetVercelRun() []components.ACLAction { - if o == nil { - return nil - } - return o.VercelRun -} - -func (o *UpdateProjectDataCachePermissions) GetVercelRunExec() []components.ACLAction { - if o == nil { - return nil - } - return o.VercelRunExec -} - -func (o *UpdateProjectDataCachePermissions) GetAPIKey() []components.ACLAction { - if o == nil { - return nil - } - return o.APIKey -} - -func (o *UpdateProjectDataCachePermissions) GetAPIKeyOwnedBySelf() []components.ACLAction { - if o == nil { - return nil - } - return o.APIKeyOwnedBySelf -} - -func (o *UpdateProjectDataCachePermissions) GetAPIKeyAiGateway() []components.ACLAction { - if o == nil { - return nil - } - return o.APIKeyAiGateway -} - func (o *UpdateProjectDataCachePermissions) GetAliasProject() []components.ACLAction { if o == nil { return nil @@ -6527,13 +6726,6 @@ func (o *UpdateProjectDataCachePermissions) GetBuildMachine() []components.ACLAc return o.BuildMachine } -func (o *UpdateProjectDataCachePermissions) GetProductionAliasProtectionBypass() []components.ACLAction { - if o == nil { - return nil - } - return o.ProductionAliasProtectionBypass -} - func (o *UpdateProjectDataCachePermissions) GetConnectConfigurationLink() []components.ACLAction { if o == nil { return nil @@ -6639,6 +6831,13 @@ func (o *UpdateProjectDataCachePermissions) GetEnvironments() []components.ACLAc return o.Environments } +func (o *UpdateProjectDataCachePermissions) GetJob() []components.ACLAction { + if o == nil { + return nil + } + return o.Job +} + func (o *UpdateProjectDataCachePermissions) GetLogs() []components.ACLAction { if o == nil { return nil @@ -6653,46 +6852,46 @@ func (o *UpdateProjectDataCachePermissions) GetLogsPreset() []components.ACLActi return o.LogsPreset } -func (o *UpdateProjectDataCachePermissions) GetPasswordProtection() []components.ACLAction { +func (o *UpdateProjectDataCachePermissions) GetObservabilityData() []components.ACLAction { if o == nil { return nil } - return o.PasswordProtection + return o.ObservabilityData } -func (o *UpdateProjectDataCachePermissions) GetOptionsAllowlist() []components.ACLAction { +func (o *UpdateProjectDataCachePermissions) GetOnDemandBuild() []components.ACLAction { if o == nil { return nil } - return o.OptionsAllowlist + return o.OnDemandBuild } -func (o *UpdateProjectDataCachePermissions) GetJob() []components.ACLAction { +func (o *UpdateProjectDataCachePermissions) GetOnDemandConcurrency() []components.ACLAction { if o == nil { return nil } - return o.Job + return o.OnDemandConcurrency } -func (o *UpdateProjectDataCachePermissions) GetObservabilityData() []components.ACLAction { +func (o *UpdateProjectDataCachePermissions) GetOptionsAllowlist() []components.ACLAction { if o == nil { return nil } - return o.ObservabilityData + return o.OptionsAllowlist } -func (o *UpdateProjectDataCachePermissions) GetOnDemandBuild() []components.ACLAction { +func (o *UpdateProjectDataCachePermissions) GetPasswordProtection() []components.ACLAction { if o == nil { return nil } - return o.OnDemandBuild + return o.PasswordProtection } -func (o *UpdateProjectDataCachePermissions) GetOnDemandConcurrency() []components.ACLAction { +func (o *UpdateProjectDataCachePermissions) GetProductionAliasProtectionBypass() []components.ACLAction { if o == nil { return nil } - return o.OnDemandConcurrency + return o.ProductionAliasProtectionBypass } func (o *UpdateProjectDataCachePermissions) GetProject() []components.ACLAction { @@ -6702,25 +6901,25 @@ func (o *UpdateProjectDataCachePermissions) GetProject() []components.ACLAction return o.Project } -func (o *UpdateProjectDataCachePermissions) GetProjectFromV0() []components.ACLAction { +func (o *UpdateProjectDataCachePermissions) GetProjectAccessGroup() []components.ACLAction { if o == nil { return nil } - return o.ProjectFromV0 + return o.ProjectAccessGroup } -func (o *UpdateProjectDataCachePermissions) GetProjectAccessGroup() []components.ACLAction { +func (o *UpdateProjectDataCachePermissions) GetProjectAnalyticsSampling() []components.ACLAction { if o == nil { return nil } - return o.ProjectAccessGroup + return o.ProjectAnalyticsSampling } -func (o *UpdateProjectDataCachePermissions) GetProjectAnalyticsSampling() []components.ACLAction { +func (o *UpdateProjectDataCachePermissions) GetProjectAnalyticsUsage() []components.ACLAction { if o == nil { return nil } - return o.ProjectAnalyticsSampling + return o.ProjectAnalyticsUsage } func (o *UpdateProjectDataCachePermissions) GetProjectCheck() []components.ACLAction { @@ -6737,6 +6936,13 @@ func (o *UpdateProjectDataCachePermissions) GetProjectCheckRun() []components.AC return o.ProjectCheckRun } +func (o *UpdateProjectDataCachePermissions) GetProjectDeploymentExpiration() []components.ACLAction { + if o == nil { + return nil + } + return o.ProjectDeploymentExpiration +} + func (o *UpdateProjectDataCachePermissions) GetProjectDeploymentHook() []components.ACLAction { if o == nil { return nil @@ -6751,18 +6957,18 @@ func (o *UpdateProjectDataCachePermissions) GetProjectDomain() []components.ACLA return o.ProjectDomain } -func (o *UpdateProjectDataCachePermissions) GetProjectDomainMove() []components.ACLAction { +func (o *UpdateProjectDataCachePermissions) GetProjectDomainCheckConfig() []components.ACLAction { if o == nil { return nil } - return o.ProjectDomainMove + return o.ProjectDomainCheckConfig } -func (o *UpdateProjectDataCachePermissions) GetProjectDomainCheckConfig() []components.ACLAction { +func (o *UpdateProjectDataCachePermissions) GetProjectDomainMove() []components.ACLAction { if o == nil { return nil } - return o.ProjectDomainCheckConfig + return o.ProjectDomainMove } func (o *UpdateProjectDataCachePermissions) GetProjectEnvVars() []components.ACLAction { @@ -6793,6 +6999,20 @@ func (o *UpdateProjectDataCachePermissions) GetProjectFlags() []components.ACLAc return o.ProjectFlags } +func (o *UpdateProjectDataCachePermissions) GetProjectFlagsProduction() []components.ACLAction { + if o == nil { + return nil + } + return o.ProjectFlagsProduction +} + +func (o *UpdateProjectDataCachePermissions) GetProjectFromV0() []components.ACLAction { + if o == nil { + return nil + } + return o.ProjectFromV0 +} + func (o *UpdateProjectDataCachePermissions) GetProjectID() []components.ACLAction { if o == nil { return nil @@ -6828,6 +7048,13 @@ func (o *UpdateProjectDataCachePermissions) GetProjectMonitoring() []components. return o.ProjectMonitoring } +func (o *UpdateProjectDataCachePermissions) GetProjectOIDCToken() []components.ACLAction { + if o == nil { + return nil + } + return o.ProjectOIDCToken +} + func (o *UpdateProjectDataCachePermissions) GetProjectPermissions() []components.ACLAction { if o == nil { return nil @@ -6842,88 +7069,74 @@ func (o *UpdateProjectDataCachePermissions) GetProjectProductionBranch() []compo return o.ProjectProductionBranch } -func (o *UpdateProjectDataCachePermissions) GetProjectTransfer() []components.ACLAction { +func (o *UpdateProjectDataCachePermissions) GetProjectProtectionBypass() []components.ACLAction { if o == nil { return nil } - return o.ProjectTransfer + return o.ProjectProtectionBypass } -func (o *UpdateProjectDataCachePermissions) GetProjectTransferOut() []components.ACLAction { +func (o *UpdateProjectDataCachePermissions) GetProjectRollingRelease() []components.ACLAction { if o == nil { return nil } - return o.ProjectTransferOut + return o.ProjectRollingRelease } -func (o *UpdateProjectDataCachePermissions) GetProjectProtectionBypass() []components.ACLAction { +func (o *UpdateProjectDataCachePermissions) GetProjectSupportCase() []components.ACLAction { if o == nil { return nil } - return o.ProjectProtectionBypass + return o.ProjectSupportCase } -func (o *UpdateProjectDataCachePermissions) GetProjectUsage() []components.ACLAction { +func (o *UpdateProjectDataCachePermissions) GetProjectSupportCaseComment() []components.ACLAction { if o == nil { return nil } - return o.ProjectUsage + return o.ProjectSupportCaseComment } -func (o *UpdateProjectDataCachePermissions) GetProjectAnalyticsUsage() []components.ACLAction { - if o == nil { - return nil - } - return o.ProjectAnalyticsUsage -} - -func (o *UpdateProjectDataCachePermissions) GetProjectSupportCase() []components.ACLAction { - if o == nil { - return nil - } - return o.ProjectSupportCase -} - -func (o *UpdateProjectDataCachePermissions) GetProjectSupportCaseComment() []components.ACLAction { +func (o *UpdateProjectDataCachePermissions) GetProjectTier() []components.ACLAction { if o == nil { return nil } - return o.ProjectSupportCaseComment + return o.ProjectTier } -func (o *UpdateProjectDataCachePermissions) GetProjectDeploymentExpiration() []components.ACLAction { +func (o *UpdateProjectDataCachePermissions) GetProjectTransfer() []components.ACLAction { if o == nil { return nil } - return o.ProjectDeploymentExpiration + return o.ProjectTransfer } -func (o *UpdateProjectDataCachePermissions) GetProjectRollingRelease() []components.ACLAction { +func (o *UpdateProjectDataCachePermissions) GetProjectTransferOut() []components.ACLAction { if o == nil { return nil } - return o.ProjectRollingRelease + return o.ProjectTransferOut } -func (o *UpdateProjectDataCachePermissions) GetProjectTier() []components.ACLAction { +func (o *UpdateProjectDataCachePermissions) GetProjectUsage() []components.ACLAction { if o == nil { return nil } - return o.ProjectTier + return o.ProjectUsage } -func (o *UpdateProjectDataCachePermissions) GetProjectOIDCToken() []components.ACLAction { +func (o *UpdateProjectDataCachePermissions) GetSeawallConfig() []components.ACLAction { if o == nil { return nil } - return o.ProjectOIDCToken + return o.SeawallConfig } -func (o *UpdateProjectDataCachePermissions) GetSeawallConfig() []components.ACLAction { +func (o *UpdateProjectDataCachePermissions) GetSharedEnvVarConnection() []components.ACLAction { if o == nil { return nil } - return o.SeawallConfig + return o.SharedEnvVarConnection } func (o *UpdateProjectDataCachePermissions) GetSkewProtection() []components.ACLAction { @@ -6961,20 +7174,6 @@ func (o *UpdateProjectDataCachePermissions) GetWebAnalytics() []components.ACLAc return o.WebAnalytics } -func (o *UpdateProjectDataCachePermissions) GetSharedEnvVarConnection() []components.ACLAction { - if o == nil { - return nil - } - return o.SharedEnvVarConnection -} - -func (o *UpdateProjectDataCachePermissions) GetSonar() []components.ACLAction { - if o == nil { - return nil - } - return o.Sonar -} - type UpdateProjectDataCacheLastRollbackTarget struct { } @@ -7594,6 +7793,8 @@ type UpdateProjectDataCacheGitProviderOptions struct { CreateDeployments UpdateProjectDataCacheCreateDeployments `json:"createDeployments"` // Whether the Vercel bot should not automatically create GitHub repository-dispatch events on deployment events. https://vercel.com/docs/git/vercel-for-github#repository-dispatch-events DisableRepositoryDispatchEvents *bool `json:"disableRepositoryDispatchEvents,omitempty"` + // Whether the project requires commits to be signed before deployments will be created. + RequireVerifiedCommits *bool `json:"requireVerifiedCommits,omitempty"` } func (o *UpdateProjectDataCacheGitProviderOptions) GetCreateDeployments() UpdateProjectDataCacheCreateDeployments { @@ -7610,6 +7811,13 @@ func (o *UpdateProjectDataCacheGitProviderOptions) GetDisableRepositoryDispatchE return o.DisableRepositoryDispatchEvents } +func (o *UpdateProjectDataCacheGitProviderOptions) GetRequireVerifiedCommits() *bool { + if o == nil { + return nil + } + return o.RequireVerifiedCommits +} + type UpdateProjectDataCacheWebAnalytics struct { ID string `json:"id"` DisabledAt *float64 `json:"disabledAt,omitempty"` @@ -9485,6 +9693,7 @@ type UpdateProjectDataCacheAbuse struct { UpdatedAt float64 `json:"updatedAt"` Block *UpdateProjectDataCacheBlock `json:"block,omitempty"` BlockHistory []UpdateProjectDataCacheBlockHistoryUnion `json:"blockHistory,omitempty"` + Interstitial *bool `json:"interstitial,omitempty"` } func (o *UpdateProjectDataCacheAbuse) GetScanner() *string { @@ -9522,6 +9731,13 @@ func (o *UpdateProjectDataCacheAbuse) GetBlockHistory() []UpdateProjectDataCache return o.BlockHistory } +func (o *UpdateProjectDataCacheAbuse) GetInterstitial() *bool { + if o == nil { + return nil + } + return o.Interstitial +} + type UpdateProjectDataCacheInternalRouteTypeHost string const ( @@ -9693,253 +9909,624 @@ func (o *UpdateProjectDataCacheInternalRouteHasXVercelIPCountry) GetKey() Update if o == nil { return UpdateProjectDataCacheInternalRouteKey("") } - return o.Key -} + return o.Key +} + +func (o *UpdateProjectDataCacheInternalRouteHasXVercelIPCountry) GetValue() UpdateProjectDataCacheInternalRouteValue1 { + if o == nil { + return UpdateProjectDataCacheInternalRouteValue1{} + } + return o.Value +} + +type UpdateProjectDataCacheInternalRouteHasUnionType string + +const ( + UpdateProjectDataCacheInternalRouteHasUnionTypeUpdateProjectDataCacheInternalRouteHasXVercelIPCountry UpdateProjectDataCacheInternalRouteHasUnionType = "updateProjectDataCache_internalRoute_has_XVercelIPCountry" + UpdateProjectDataCacheInternalRouteHasUnionTypeUpdateProjectDataCacheInternalRouteHasHost UpdateProjectDataCacheInternalRouteHasUnionType = "updateProjectDataCache_internalRoute_has_Host" +) + +type UpdateProjectDataCacheInternalRouteHasUnion struct { + UpdateProjectDataCacheInternalRouteHasXVercelIPCountry *UpdateProjectDataCacheInternalRouteHasXVercelIPCountry `queryParam:"inline"` + UpdateProjectDataCacheInternalRouteHasHost *UpdateProjectDataCacheInternalRouteHasHost `queryParam:"inline"` + + Type UpdateProjectDataCacheInternalRouteHasUnionType +} + +func CreateUpdateProjectDataCacheInternalRouteHasUnionUpdateProjectDataCacheInternalRouteHasXVercelIPCountry(updateProjectDataCacheInternalRouteHasXVercelIPCountry UpdateProjectDataCacheInternalRouteHasXVercelIPCountry) UpdateProjectDataCacheInternalRouteHasUnion { + typ := UpdateProjectDataCacheInternalRouteHasUnionTypeUpdateProjectDataCacheInternalRouteHasXVercelIPCountry + + return UpdateProjectDataCacheInternalRouteHasUnion{ + UpdateProjectDataCacheInternalRouteHasXVercelIPCountry: &updateProjectDataCacheInternalRouteHasXVercelIPCountry, + Type: typ, + } +} + +func CreateUpdateProjectDataCacheInternalRouteHasUnionUpdateProjectDataCacheInternalRouteHasHost(updateProjectDataCacheInternalRouteHasHost UpdateProjectDataCacheInternalRouteHasHost) UpdateProjectDataCacheInternalRouteHasUnion { + typ := UpdateProjectDataCacheInternalRouteHasUnionTypeUpdateProjectDataCacheInternalRouteHasHost + + return UpdateProjectDataCacheInternalRouteHasUnion{ + UpdateProjectDataCacheInternalRouteHasHost: &updateProjectDataCacheInternalRouteHasHost, + Type: typ, + } +} + +func (u *UpdateProjectDataCacheInternalRouteHasUnion) UnmarshalJSON(data []byte) error { + + var updateProjectDataCacheInternalRouteHasXVercelIPCountry UpdateProjectDataCacheInternalRouteHasXVercelIPCountry = UpdateProjectDataCacheInternalRouteHasXVercelIPCountry{} + if err := utils.UnmarshalJSON(data, &updateProjectDataCacheInternalRouteHasXVercelIPCountry, "", true, nil); err == nil { + u.UpdateProjectDataCacheInternalRouteHasXVercelIPCountry = &updateProjectDataCacheInternalRouteHasXVercelIPCountry + u.Type = UpdateProjectDataCacheInternalRouteHasUnionTypeUpdateProjectDataCacheInternalRouteHasXVercelIPCountry + return nil + } + + var updateProjectDataCacheInternalRouteHasHost UpdateProjectDataCacheInternalRouteHasHost = UpdateProjectDataCacheInternalRouteHasHost{} + if err := utils.UnmarshalJSON(data, &updateProjectDataCacheInternalRouteHasHost, "", true, nil); err == nil { + u.UpdateProjectDataCacheInternalRouteHasHost = &updateProjectDataCacheInternalRouteHasHost + u.Type = UpdateProjectDataCacheInternalRouteHasUnionTypeUpdateProjectDataCacheInternalRouteHasHost + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for UpdateProjectDataCacheInternalRouteHasUnion", string(data)) +} + +func (u UpdateProjectDataCacheInternalRouteHasUnion) MarshalJSON() ([]byte, error) { + if u.UpdateProjectDataCacheInternalRouteHasXVercelIPCountry != nil { + return utils.MarshalJSON(u.UpdateProjectDataCacheInternalRouteHasXVercelIPCountry, "", true) + } + + if u.UpdateProjectDataCacheInternalRouteHasHost != nil { + return utils.MarshalJSON(u.UpdateProjectDataCacheInternalRouteHasHost, "", true) + } + + return nil, errors.New("could not marshal union type UpdateProjectDataCacheInternalRouteHasUnion: all fields are null") +} + +type UpdateProjectDataCacheInternalRouteAction string + +const ( + UpdateProjectDataCacheInternalRouteActionBlockLegalCwc UpdateProjectDataCacheInternalRouteAction = "block_legal_cwc" +) + +func (e UpdateProjectDataCacheInternalRouteAction) ToPointer() *UpdateProjectDataCacheInternalRouteAction { + return &e +} +func (e *UpdateProjectDataCacheInternalRouteAction) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "block_legal_cwc": + *e = UpdateProjectDataCacheInternalRouteAction(v) + return nil + default: + return fmt.Errorf("invalid value for UpdateProjectDataCacheInternalRouteAction: %v", v) + } +} + +type UpdateProjectDataCacheInternalRouteMitigate struct { + Action UpdateProjectDataCacheInternalRouteAction `json:"action"` +} + +func (u UpdateProjectDataCacheInternalRouteMitigate) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(u, "", false) +} + +func (u *UpdateProjectDataCacheInternalRouteMitigate) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &u, "", false, []string{"action"}); err != nil { + return err + } + return nil +} + +func (o *UpdateProjectDataCacheInternalRouteMitigate) GetAction() UpdateProjectDataCacheInternalRouteAction { + if o == nil { + return UpdateProjectDataCacheInternalRouteAction("") + } + return o.Action +} + +type UpdateProjectDataCacheInternalRoute2 struct { + Has []UpdateProjectDataCacheInternalRouteHasUnion `json:"has"` + Mitigate UpdateProjectDataCacheInternalRouteMitigate `json:"mitigate"` + Src *string `json:"src,omitempty"` +} + +func (u UpdateProjectDataCacheInternalRoute2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(u, "", false) +} + +func (u *UpdateProjectDataCacheInternalRoute2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &u, "", false, []string{"has", "mitigate"}); err != nil { + return err + } + return nil +} + +func (o *UpdateProjectDataCacheInternalRoute2) GetHas() []UpdateProjectDataCacheInternalRouteHasUnion { + if o == nil { + return []UpdateProjectDataCacheInternalRouteHasUnion{} + } + return o.Has +} + +func (o *UpdateProjectDataCacheInternalRoute2) GetMitigate() UpdateProjectDataCacheInternalRouteMitigate { + if o == nil { + return UpdateProjectDataCacheInternalRouteMitigate{} + } + return o.Mitigate +} + +func (o *UpdateProjectDataCacheInternalRoute2) GetSrc() *string { + if o == nil { + return nil + } + return o.Src +} + +type UpdateProjectDataCacheInternalRoute1 struct { + Src string `json:"src"` + Status float64 `json:"status"` +} + +func (u UpdateProjectDataCacheInternalRoute1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(u, "", false) +} + +func (u *UpdateProjectDataCacheInternalRoute1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &u, "", false, []string{"src", "status"}); err != nil { + return err + } + return nil +} + +func (o *UpdateProjectDataCacheInternalRoute1) GetSrc() string { + if o == nil { + return "" + } + return o.Src +} + +func (o *UpdateProjectDataCacheInternalRoute1) GetStatus() float64 { + if o == nil { + return 0.0 + } + return o.Status +} + +type UpdateProjectDataCacheInternalRouteUnionType string + +const ( + UpdateProjectDataCacheInternalRouteUnionTypeUpdateProjectDataCacheInternalRoute1 UpdateProjectDataCacheInternalRouteUnionType = "updateProjectDataCache_internalRoute_1" + UpdateProjectDataCacheInternalRouteUnionTypeUpdateProjectDataCacheInternalRoute2 UpdateProjectDataCacheInternalRouteUnionType = "updateProjectDataCache_internalRoute_2" +) + +type UpdateProjectDataCacheInternalRouteUnion struct { + UpdateProjectDataCacheInternalRoute1 *UpdateProjectDataCacheInternalRoute1 `queryParam:"inline"` + UpdateProjectDataCacheInternalRoute2 *UpdateProjectDataCacheInternalRoute2 `queryParam:"inline"` + + Type UpdateProjectDataCacheInternalRouteUnionType +} + +func CreateUpdateProjectDataCacheInternalRouteUnionUpdateProjectDataCacheInternalRoute1(updateProjectDataCacheInternalRoute1 UpdateProjectDataCacheInternalRoute1) UpdateProjectDataCacheInternalRouteUnion { + typ := UpdateProjectDataCacheInternalRouteUnionTypeUpdateProjectDataCacheInternalRoute1 + + return UpdateProjectDataCacheInternalRouteUnion{ + UpdateProjectDataCacheInternalRoute1: &updateProjectDataCacheInternalRoute1, + Type: typ, + } +} + +func CreateUpdateProjectDataCacheInternalRouteUnionUpdateProjectDataCacheInternalRoute2(updateProjectDataCacheInternalRoute2 UpdateProjectDataCacheInternalRoute2) UpdateProjectDataCacheInternalRouteUnion { + typ := UpdateProjectDataCacheInternalRouteUnionTypeUpdateProjectDataCacheInternalRoute2 + + return UpdateProjectDataCacheInternalRouteUnion{ + UpdateProjectDataCacheInternalRoute2: &updateProjectDataCacheInternalRoute2, + Type: typ, + } +} + +func (u *UpdateProjectDataCacheInternalRouteUnion) UnmarshalJSON(data []byte) error { + + var updateProjectDataCacheInternalRoute1 UpdateProjectDataCacheInternalRoute1 = UpdateProjectDataCacheInternalRoute1{} + if err := utils.UnmarshalJSON(data, &updateProjectDataCacheInternalRoute1, "", true, nil); err == nil { + u.UpdateProjectDataCacheInternalRoute1 = &updateProjectDataCacheInternalRoute1 + u.Type = UpdateProjectDataCacheInternalRouteUnionTypeUpdateProjectDataCacheInternalRoute1 + return nil + } + + var updateProjectDataCacheInternalRoute2 UpdateProjectDataCacheInternalRoute2 = UpdateProjectDataCacheInternalRoute2{} + if err := utils.UnmarshalJSON(data, &updateProjectDataCacheInternalRoute2, "", true, nil); err == nil { + u.UpdateProjectDataCacheInternalRoute2 = &updateProjectDataCacheInternalRoute2 + u.Type = UpdateProjectDataCacheInternalRouteUnionTypeUpdateProjectDataCacheInternalRoute2 + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for UpdateProjectDataCacheInternalRouteUnion", string(data)) +} + +func (u UpdateProjectDataCacheInternalRouteUnion) MarshalJSON() ([]byte, error) { + if u.UpdateProjectDataCacheInternalRoute1 != nil { + return utils.MarshalJSON(u.UpdateProjectDataCacheInternalRoute1, "", true) + } + + if u.UpdateProjectDataCacheInternalRoute2 != nil { + return utils.MarshalJSON(u.UpdateProjectDataCacheInternalRoute2, "", true) + } + + return nil, errors.New("could not marshal union type UpdateProjectDataCacheInternalRouteUnion: all fields are null") +} + +type UpdateProjectDataCacheDismissedToastAction string + +const ( + UpdateProjectDataCacheDismissedToastActionCancel UpdateProjectDataCacheDismissedToastAction = "cancel" + UpdateProjectDataCacheDismissedToastActionAccept UpdateProjectDataCacheDismissedToastAction = "accept" + UpdateProjectDataCacheDismissedToastActionDelete UpdateProjectDataCacheDismissedToastAction = "delete" +) + +func (e UpdateProjectDataCacheDismissedToastAction) ToPointer() *UpdateProjectDataCacheDismissedToastAction { + return &e +} +func (e *UpdateProjectDataCacheDismissedToastAction) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "cancel": + fallthrough + case "accept": + fallthrough + case "delete": + *e = UpdateProjectDataCacheDismissedToastAction(v) + return nil + default: + return fmt.Errorf("invalid value for UpdateProjectDataCacheDismissedToastAction: %v", v) + } +} + +type UpdateProjectDataCachePreviousValueType string + +const ( + UpdateProjectDataCachePreviousValueTypeStr UpdateProjectDataCachePreviousValueType = "str" + UpdateProjectDataCachePreviousValueTypeNumber UpdateProjectDataCachePreviousValueType = "number" + UpdateProjectDataCachePreviousValueTypeBoolean UpdateProjectDataCachePreviousValueType = "boolean" +) + +type UpdateProjectDataCachePreviousValue struct { + Str *string `queryParam:"inline"` + Number *float64 `queryParam:"inline"` + Boolean *bool `queryParam:"inline"` + + Type UpdateProjectDataCachePreviousValueType +} + +func CreateUpdateProjectDataCachePreviousValueStr(str string) UpdateProjectDataCachePreviousValue { + typ := UpdateProjectDataCachePreviousValueTypeStr + + return UpdateProjectDataCachePreviousValue{ + Str: &str, + Type: typ, + } +} + +func CreateUpdateProjectDataCachePreviousValueNumber(number float64) UpdateProjectDataCachePreviousValue { + typ := UpdateProjectDataCachePreviousValueTypeNumber + + return UpdateProjectDataCachePreviousValue{ + Number: &number, + Type: typ, + } +} + +func CreateUpdateProjectDataCachePreviousValueBoolean(boolean bool) UpdateProjectDataCachePreviousValue { + typ := UpdateProjectDataCachePreviousValueTypeBoolean + + return UpdateProjectDataCachePreviousValue{ + Boolean: &boolean, + Type: typ, + } +} + +func (u *UpdateProjectDataCachePreviousValue) UnmarshalJSON(data []byte) error { + + var str string = "" + if err := utils.UnmarshalJSON(data, &str, "", true, nil); err == nil { + u.Str = &str + u.Type = UpdateProjectDataCachePreviousValueTypeStr + return nil + } + + var number float64 = float64(0) + if err := utils.UnmarshalJSON(data, &number, "", true, nil); err == nil { + u.Number = &number + u.Type = UpdateProjectDataCachePreviousValueTypeNumber + return nil + } + + var boolean bool = false + if err := utils.UnmarshalJSON(data, &boolean, "", true, nil); err == nil { + u.Boolean = &boolean + u.Type = UpdateProjectDataCachePreviousValueTypeBoolean + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for UpdateProjectDataCachePreviousValue", string(data)) +} + +func (u UpdateProjectDataCachePreviousValue) MarshalJSON() ([]byte, error) { + if u.Str != nil { + return utils.MarshalJSON(u.Str, "", true) + } + + if u.Number != nil { + return utils.MarshalJSON(u.Number, "", true) + } -func (o *UpdateProjectDataCacheInternalRouteHasXVercelIPCountry) GetValue() UpdateProjectDataCacheInternalRouteValue1 { - if o == nil { - return UpdateProjectDataCacheInternalRouteValue1{} + if u.Boolean != nil { + return utils.MarshalJSON(u.Boolean, "", true) } - return o.Value + + return nil, errors.New("could not marshal union type UpdateProjectDataCachePreviousValue: all fields are null") } -type UpdateProjectDataCacheInternalRouteHasUnionType string +type UpdateProjectDataCacheCurrentValueType string const ( - UpdateProjectDataCacheInternalRouteHasUnionTypeUpdateProjectDataCacheInternalRouteHasXVercelIPCountry UpdateProjectDataCacheInternalRouteHasUnionType = "updateProjectDataCache_internalRoute_has_XVercelIPCountry" - UpdateProjectDataCacheInternalRouteHasUnionTypeUpdateProjectDataCacheInternalRouteHasHost UpdateProjectDataCacheInternalRouteHasUnionType = "updateProjectDataCache_internalRoute_has_Host" + UpdateProjectDataCacheCurrentValueTypeStr UpdateProjectDataCacheCurrentValueType = "str" + UpdateProjectDataCacheCurrentValueTypeNumber UpdateProjectDataCacheCurrentValueType = "number" + UpdateProjectDataCacheCurrentValueTypeBoolean UpdateProjectDataCacheCurrentValueType = "boolean" ) -type UpdateProjectDataCacheInternalRouteHasUnion struct { - UpdateProjectDataCacheInternalRouteHasXVercelIPCountry *UpdateProjectDataCacheInternalRouteHasXVercelIPCountry `queryParam:"inline"` - UpdateProjectDataCacheInternalRouteHasHost *UpdateProjectDataCacheInternalRouteHasHost `queryParam:"inline"` +type UpdateProjectDataCacheCurrentValue struct { + Str *string `queryParam:"inline"` + Number *float64 `queryParam:"inline"` + Boolean *bool `queryParam:"inline"` - Type UpdateProjectDataCacheInternalRouteHasUnionType + Type UpdateProjectDataCacheCurrentValueType } -func CreateUpdateProjectDataCacheInternalRouteHasUnionUpdateProjectDataCacheInternalRouteHasXVercelIPCountry(updateProjectDataCacheInternalRouteHasXVercelIPCountry UpdateProjectDataCacheInternalRouteHasXVercelIPCountry) UpdateProjectDataCacheInternalRouteHasUnion { - typ := UpdateProjectDataCacheInternalRouteHasUnionTypeUpdateProjectDataCacheInternalRouteHasXVercelIPCountry +func CreateUpdateProjectDataCacheCurrentValueStr(str string) UpdateProjectDataCacheCurrentValue { + typ := UpdateProjectDataCacheCurrentValueTypeStr - return UpdateProjectDataCacheInternalRouteHasUnion{ - UpdateProjectDataCacheInternalRouteHasXVercelIPCountry: &updateProjectDataCacheInternalRouteHasXVercelIPCountry, + return UpdateProjectDataCacheCurrentValue{ + Str: &str, Type: typ, } } -func CreateUpdateProjectDataCacheInternalRouteHasUnionUpdateProjectDataCacheInternalRouteHasHost(updateProjectDataCacheInternalRouteHasHost UpdateProjectDataCacheInternalRouteHasHost) UpdateProjectDataCacheInternalRouteHasUnion { - typ := UpdateProjectDataCacheInternalRouteHasUnionTypeUpdateProjectDataCacheInternalRouteHasHost +func CreateUpdateProjectDataCacheCurrentValueNumber(number float64) UpdateProjectDataCacheCurrentValue { + typ := UpdateProjectDataCacheCurrentValueTypeNumber - return UpdateProjectDataCacheInternalRouteHasUnion{ - UpdateProjectDataCacheInternalRouteHasHost: &updateProjectDataCacheInternalRouteHasHost, - Type: typ, + return UpdateProjectDataCacheCurrentValue{ + Number: &number, + Type: typ, } } -func (u *UpdateProjectDataCacheInternalRouteHasUnion) UnmarshalJSON(data []byte) error { +func CreateUpdateProjectDataCacheCurrentValueBoolean(boolean bool) UpdateProjectDataCacheCurrentValue { + typ := UpdateProjectDataCacheCurrentValueTypeBoolean - var updateProjectDataCacheInternalRouteHasXVercelIPCountry UpdateProjectDataCacheInternalRouteHasXVercelIPCountry = UpdateProjectDataCacheInternalRouteHasXVercelIPCountry{} - if err := utils.UnmarshalJSON(data, &updateProjectDataCacheInternalRouteHasXVercelIPCountry, "", true, nil); err == nil { - u.UpdateProjectDataCacheInternalRouteHasXVercelIPCountry = &updateProjectDataCacheInternalRouteHasXVercelIPCountry - u.Type = UpdateProjectDataCacheInternalRouteHasUnionTypeUpdateProjectDataCacheInternalRouteHasXVercelIPCountry - return nil + return UpdateProjectDataCacheCurrentValue{ + Boolean: &boolean, + Type: typ, } +} - var updateProjectDataCacheInternalRouteHasHost UpdateProjectDataCacheInternalRouteHasHost = UpdateProjectDataCacheInternalRouteHasHost{} - if err := utils.UnmarshalJSON(data, &updateProjectDataCacheInternalRouteHasHost, "", true, nil); err == nil { - u.UpdateProjectDataCacheInternalRouteHasHost = &updateProjectDataCacheInternalRouteHasHost - u.Type = UpdateProjectDataCacheInternalRouteHasUnionTypeUpdateProjectDataCacheInternalRouteHasHost +func (u *UpdateProjectDataCacheCurrentValue) UnmarshalJSON(data []byte) error { + + var str string = "" + if err := utils.UnmarshalJSON(data, &str, "", true, nil); err == nil { + u.Str = &str + u.Type = UpdateProjectDataCacheCurrentValueTypeStr return nil } - return fmt.Errorf("could not unmarshal `%s` into any supported union types for UpdateProjectDataCacheInternalRouteHasUnion", string(data)) -} - -func (u UpdateProjectDataCacheInternalRouteHasUnion) MarshalJSON() ([]byte, error) { - if u.UpdateProjectDataCacheInternalRouteHasXVercelIPCountry != nil { - return utils.MarshalJSON(u.UpdateProjectDataCacheInternalRouteHasXVercelIPCountry, "", true) + var number float64 = float64(0) + if err := utils.UnmarshalJSON(data, &number, "", true, nil); err == nil { + u.Number = &number + u.Type = UpdateProjectDataCacheCurrentValueTypeNumber + return nil } - if u.UpdateProjectDataCacheInternalRouteHasHost != nil { - return utils.MarshalJSON(u.UpdateProjectDataCacheInternalRouteHasHost, "", true) + var boolean bool = false + if err := utils.UnmarshalJSON(data, &boolean, "", true, nil); err == nil { + u.Boolean = &boolean + u.Type = UpdateProjectDataCacheCurrentValueTypeBoolean + return nil } - return nil, errors.New("could not marshal union type UpdateProjectDataCacheInternalRouteHasUnion: all fields are null") + return fmt.Errorf("could not unmarshal `%s` into any supported union types for UpdateProjectDataCacheCurrentValue", string(data)) } -type UpdateProjectDataCacheInternalRouteAction string - -const ( - UpdateProjectDataCacheInternalRouteActionBlockLegalCwc UpdateProjectDataCacheInternalRouteAction = "block_legal_cwc" -) +func (u UpdateProjectDataCacheCurrentValue) MarshalJSON() ([]byte, error) { + if u.Str != nil { + return utils.MarshalJSON(u.Str, "", true) + } -func (e UpdateProjectDataCacheInternalRouteAction) ToPointer() *UpdateProjectDataCacheInternalRouteAction { - return &e -} -func (e *UpdateProjectDataCacheInternalRouteAction) UnmarshalJSON(data []byte) error { - var v string - if err := json.Unmarshal(data, &v); err != nil { - return err + if u.Number != nil { + return utils.MarshalJSON(u.Number, "", true) } - switch v { - case "block_legal_cwc": - *e = UpdateProjectDataCacheInternalRouteAction(v) - return nil - default: - return fmt.Errorf("invalid value for UpdateProjectDataCacheInternalRouteAction: %v", v) + + if u.Boolean != nil { + return utils.MarshalJSON(u.Boolean, "", true) } + + return nil, errors.New("could not marshal union type UpdateProjectDataCacheCurrentValue: all fields are null") } -type UpdateProjectDataCacheInternalRouteMitigate struct { - Action UpdateProjectDataCacheInternalRouteAction `json:"action"` +type UpdateProjectDataCacheValueDismissedToast struct { + PreviousValue UpdateProjectDataCachePreviousValue `json:"previousValue"` + CurrentValue UpdateProjectDataCacheCurrentValue `json:"currentValue"` } -func (u UpdateProjectDataCacheInternalRouteMitigate) MarshalJSON() ([]byte, error) { +func (u UpdateProjectDataCacheValueDismissedToast) MarshalJSON() ([]byte, error) { return utils.MarshalJSON(u, "", false) } -func (u *UpdateProjectDataCacheInternalRouteMitigate) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &u, "", false, []string{"action"}); err != nil { +func (u *UpdateProjectDataCacheValueDismissedToast) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &u, "", false, []string{"previousValue", "currentValue"}); err != nil { return err } return nil } -func (o *UpdateProjectDataCacheInternalRouteMitigate) GetAction() UpdateProjectDataCacheInternalRouteAction { +func (o *UpdateProjectDataCacheValueDismissedToast) GetPreviousValue() UpdateProjectDataCachePreviousValue { if o == nil { - return UpdateProjectDataCacheInternalRouteAction("") + return UpdateProjectDataCachePreviousValue{} } - return o.Action + return o.PreviousValue } -type UpdateProjectDataCacheInternalRoute2 struct { - Has []UpdateProjectDataCacheInternalRouteHasUnion `json:"has"` - Mitigate UpdateProjectDataCacheInternalRouteMitigate `json:"mitigate"` - Src *string `json:"src,omitempty"` +func (o *UpdateProjectDataCacheValueDismissedToast) GetCurrentValue() UpdateProjectDataCacheCurrentValue { + if o == nil { + return UpdateProjectDataCacheCurrentValue{} + } + return o.CurrentValue } -func (u UpdateProjectDataCacheInternalRoute2) MarshalJSON() ([]byte, error) { - return utils.MarshalJSON(u, "", false) -} +type UpdateProjectDataCacheValueUnionType string -func (u *UpdateProjectDataCacheInternalRoute2) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &u, "", false, []string{"has", "mitigate"}); err != nil { - return err - } - return nil -} +const ( + UpdateProjectDataCacheValueUnionTypeStr UpdateProjectDataCacheValueUnionType = "str" + UpdateProjectDataCacheValueUnionTypeNumber UpdateProjectDataCacheValueUnionType = "number" + UpdateProjectDataCacheValueUnionTypeBoolean UpdateProjectDataCacheValueUnionType = "boolean" + UpdateProjectDataCacheValueUnionTypeUpdateProjectDataCacheValueDismissedToast UpdateProjectDataCacheValueUnionType = "updateProjectDataCache_value_dismissedToast" +) -func (o *UpdateProjectDataCacheInternalRoute2) GetHas() []UpdateProjectDataCacheInternalRouteHasUnion { - if o == nil { - return []UpdateProjectDataCacheInternalRouteHasUnion{} - } - return o.Has -} +type UpdateProjectDataCacheValueUnion struct { + Str *string `queryParam:"inline"` + Number *float64 `queryParam:"inline"` + Boolean *bool `queryParam:"inline"` + UpdateProjectDataCacheValueDismissedToast *UpdateProjectDataCacheValueDismissedToast `queryParam:"inline"` -func (o *UpdateProjectDataCacheInternalRoute2) GetMitigate() UpdateProjectDataCacheInternalRouteMitigate { - if o == nil { - return UpdateProjectDataCacheInternalRouteMitigate{} - } - return o.Mitigate + Type UpdateProjectDataCacheValueUnionType } -func (o *UpdateProjectDataCacheInternalRoute2) GetSrc() *string { - if o == nil { - return nil +func CreateUpdateProjectDataCacheValueUnionStr(str string) UpdateProjectDataCacheValueUnion { + typ := UpdateProjectDataCacheValueUnionTypeStr + + return UpdateProjectDataCacheValueUnion{ + Str: &str, + Type: typ, } - return o.Src } -type UpdateProjectDataCacheInternalRoute1 struct { - Src string `json:"src"` - Status float64 `json:"status"` -} +func CreateUpdateProjectDataCacheValueUnionNumber(number float64) UpdateProjectDataCacheValueUnion { + typ := UpdateProjectDataCacheValueUnionTypeNumber -func (u UpdateProjectDataCacheInternalRoute1) MarshalJSON() ([]byte, error) { - return utils.MarshalJSON(u, "", false) + return UpdateProjectDataCacheValueUnion{ + Number: &number, + Type: typ, + } } -func (u *UpdateProjectDataCacheInternalRoute1) UnmarshalJSON(data []byte) error { - if err := utils.UnmarshalJSON(data, &u, "", false, []string{"src", "status"}); err != nil { - return err +func CreateUpdateProjectDataCacheValueUnionBoolean(boolean bool) UpdateProjectDataCacheValueUnion { + typ := UpdateProjectDataCacheValueUnionTypeBoolean + + return UpdateProjectDataCacheValueUnion{ + Boolean: &boolean, + Type: typ, } - return nil } -func (o *UpdateProjectDataCacheInternalRoute1) GetSrc() string { - if o == nil { - return "" +func CreateUpdateProjectDataCacheValueUnionUpdateProjectDataCacheValueDismissedToast(updateProjectDataCacheValueDismissedToast UpdateProjectDataCacheValueDismissedToast) UpdateProjectDataCacheValueUnion { + typ := UpdateProjectDataCacheValueUnionTypeUpdateProjectDataCacheValueDismissedToast + + return UpdateProjectDataCacheValueUnion{ + UpdateProjectDataCacheValueDismissedToast: &updateProjectDataCacheValueDismissedToast, + Type: typ, } - return o.Src } -func (o *UpdateProjectDataCacheInternalRoute1) GetStatus() float64 { - if o == nil { - return 0.0 +func (u *UpdateProjectDataCacheValueUnion) UnmarshalJSON(data []byte) error { + + var updateProjectDataCacheValueDismissedToast UpdateProjectDataCacheValueDismissedToast = UpdateProjectDataCacheValueDismissedToast{} + if err := utils.UnmarshalJSON(data, &updateProjectDataCacheValueDismissedToast, "", true, nil); err == nil { + u.UpdateProjectDataCacheValueDismissedToast = &updateProjectDataCacheValueDismissedToast + u.Type = UpdateProjectDataCacheValueUnionTypeUpdateProjectDataCacheValueDismissedToast + return nil } - return o.Status -} -type UpdateProjectDataCacheInternalRouteUnionType string + var str string = "" + if err := utils.UnmarshalJSON(data, &str, "", true, nil); err == nil { + u.Str = &str + u.Type = UpdateProjectDataCacheValueUnionTypeStr + return nil + } -const ( - UpdateProjectDataCacheInternalRouteUnionTypeUpdateProjectDataCacheInternalRoute1 UpdateProjectDataCacheInternalRouteUnionType = "updateProjectDataCache_internalRoute_1" - UpdateProjectDataCacheInternalRouteUnionTypeUpdateProjectDataCacheInternalRoute2 UpdateProjectDataCacheInternalRouteUnionType = "updateProjectDataCache_internalRoute_2" -) + var number float64 = float64(0) + if err := utils.UnmarshalJSON(data, &number, "", true, nil); err == nil { + u.Number = &number + u.Type = UpdateProjectDataCacheValueUnionTypeNumber + return nil + } -type UpdateProjectDataCacheInternalRouteUnion struct { - UpdateProjectDataCacheInternalRoute1 *UpdateProjectDataCacheInternalRoute1 `queryParam:"inline"` - UpdateProjectDataCacheInternalRoute2 *UpdateProjectDataCacheInternalRoute2 `queryParam:"inline"` + var boolean bool = false + if err := utils.UnmarshalJSON(data, &boolean, "", true, nil); err == nil { + u.Boolean = &boolean + u.Type = UpdateProjectDataCacheValueUnionTypeBoolean + return nil + } - Type UpdateProjectDataCacheInternalRouteUnionType + return fmt.Errorf("could not unmarshal `%s` into any supported union types for UpdateProjectDataCacheValueUnion", string(data)) } -func CreateUpdateProjectDataCacheInternalRouteUnionUpdateProjectDataCacheInternalRoute1(updateProjectDataCacheInternalRoute1 UpdateProjectDataCacheInternalRoute1) UpdateProjectDataCacheInternalRouteUnion { - typ := UpdateProjectDataCacheInternalRouteUnionTypeUpdateProjectDataCacheInternalRoute1 +func (u UpdateProjectDataCacheValueUnion) MarshalJSON() ([]byte, error) { + if u.Str != nil { + return utils.MarshalJSON(u.Str, "", true) + } - return UpdateProjectDataCacheInternalRouteUnion{ - UpdateProjectDataCacheInternalRoute1: &updateProjectDataCacheInternalRoute1, - Type: typ, + if u.Number != nil { + return utils.MarshalJSON(u.Number, "", true) } -} -func CreateUpdateProjectDataCacheInternalRouteUnionUpdateProjectDataCacheInternalRoute2(updateProjectDataCacheInternalRoute2 UpdateProjectDataCacheInternalRoute2) UpdateProjectDataCacheInternalRouteUnion { - typ := UpdateProjectDataCacheInternalRouteUnionTypeUpdateProjectDataCacheInternalRoute2 + if u.Boolean != nil { + return utils.MarshalJSON(u.Boolean, "", true) + } - return UpdateProjectDataCacheInternalRouteUnion{ - UpdateProjectDataCacheInternalRoute2: &updateProjectDataCacheInternalRoute2, - Type: typ, + if u.UpdateProjectDataCacheValueDismissedToast != nil { + return utils.MarshalJSON(u.UpdateProjectDataCacheValueDismissedToast, "", true) } + + return nil, errors.New("could not marshal union type UpdateProjectDataCacheValueUnion: all fields are null") } -func (u *UpdateProjectDataCacheInternalRouteUnion) UnmarshalJSON(data []byte) error { +type UpdateProjectDataCacheDismissedToast struct { + Key string `json:"key"` + DismissedAt float64 `json:"dismissedAt"` + Action UpdateProjectDataCacheDismissedToastAction `json:"action"` + Value *UpdateProjectDataCacheValueUnion `json:"value"` +} - var updateProjectDataCacheInternalRoute1 UpdateProjectDataCacheInternalRoute1 = UpdateProjectDataCacheInternalRoute1{} - if err := utils.UnmarshalJSON(data, &updateProjectDataCacheInternalRoute1, "", true, nil); err == nil { - u.UpdateProjectDataCacheInternalRoute1 = &updateProjectDataCacheInternalRoute1 - u.Type = UpdateProjectDataCacheInternalRouteUnionTypeUpdateProjectDataCacheInternalRoute1 - return nil +func (o *UpdateProjectDataCacheDismissedToast) GetKey() string { + if o == nil { + return "" } + return o.Key +} - var updateProjectDataCacheInternalRoute2 UpdateProjectDataCacheInternalRoute2 = UpdateProjectDataCacheInternalRoute2{} - if err := utils.UnmarshalJSON(data, &updateProjectDataCacheInternalRoute2, "", true, nil); err == nil { - u.UpdateProjectDataCacheInternalRoute2 = &updateProjectDataCacheInternalRoute2 - u.Type = UpdateProjectDataCacheInternalRouteUnionTypeUpdateProjectDataCacheInternalRoute2 - return nil +func (o *UpdateProjectDataCacheDismissedToast) GetDismissedAt() float64 { + if o == nil { + return 0.0 } - - return fmt.Errorf("could not unmarshal `%s` into any supported union types for UpdateProjectDataCacheInternalRouteUnion", string(data)) + return o.DismissedAt } -func (u UpdateProjectDataCacheInternalRouteUnion) MarshalJSON() ([]byte, error) { - if u.UpdateProjectDataCacheInternalRoute1 != nil { - return utils.MarshalJSON(u.UpdateProjectDataCacheInternalRoute1, "", true) +func (o *UpdateProjectDataCacheDismissedToast) GetAction() UpdateProjectDataCacheDismissedToastAction { + if o == nil { + return UpdateProjectDataCacheDismissedToastAction("") } + return o.Action +} - if u.UpdateProjectDataCacheInternalRoute2 != nil { - return utils.MarshalJSON(u.UpdateProjectDataCacheInternalRoute2, "", true) +func (o *UpdateProjectDataCacheDismissedToast) GetValue() *UpdateProjectDataCacheValueUnion { + if o == nil { + return nil } - - return nil, errors.New("could not marshal union type UpdateProjectDataCacheInternalRouteUnion: all fields are null") + return o.Value } type UpdateProjectDataCacheResponseBody struct { @@ -9992,6 +10579,7 @@ type UpdateProjectDataCacheResponseBody struct { SkewProtectionBoundaryAt *float64 `json:"skewProtectionBoundaryAt,omitempty"` SkewProtectionMaxAge *float64 `json:"skewProtectionMaxAge,omitempty"` SkipGitConnectDuringLink *bool `json:"skipGitConnectDuringLink,omitempty"` + StaticIps *UpdateProjectDataCacheStaticIps `json:"staticIps,omitempty"` SourceFilesOutsideRootDirectory *bool `json:"sourceFilesOutsideRootDirectory,omitempty"` EnableAffectedProjectsDeployments *bool `json:"enableAffectedProjectsDeployments,omitempty"` SsoProtection *UpdateProjectDataCacheSsoProtection `json:"ssoProtection,omitempty"` @@ -10022,6 +10610,8 @@ type UpdateProjectDataCacheResponseBody struct { V0 *bool `json:"v0,omitempty"` Abuse *UpdateProjectDataCacheAbuse `json:"abuse,omitempty"` InternalRoutes []UpdateProjectDataCacheInternalRouteUnion `json:"internalRoutes,omitempty"` + HasDeployments *bool `json:"hasDeployments,omitempty"` + DismissedToasts []UpdateProjectDataCacheDismissedToast `json:"dismissedToasts,omitempty"` } func (o *UpdateProjectDataCacheResponseBody) GetAccountID() string { @@ -10346,6 +10936,13 @@ func (o *UpdateProjectDataCacheResponseBody) GetSkipGitConnectDuringLink() *bool return o.SkipGitConnectDuringLink } +func (o *UpdateProjectDataCacheResponseBody) GetStaticIps() *UpdateProjectDataCacheStaticIps { + if o == nil { + return nil + } + return o.StaticIps +} + func (o *UpdateProjectDataCacheResponseBody) GetSourceFilesOutsideRootDirectory() *bool { if o == nil { return nil @@ -10556,6 +11153,20 @@ func (o *UpdateProjectDataCacheResponseBody) GetInternalRoutes() []UpdateProject return o.InternalRoutes } +func (o *UpdateProjectDataCacheResponseBody) GetHasDeployments() *bool { + if o == nil { + return nil + } + return o.HasDeployments +} + +func (o *UpdateProjectDataCacheResponseBody) GetDismissedToasts() []UpdateProjectDataCacheDismissedToast { + if o == nil { + return nil + } + return o.DismissedToasts +} + type UpdateProjectDataCacheResponse struct { HTTPMeta components.HTTPMetadata `json:"-"` Object *UpdateProjectDataCacheResponseBody diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/updateprojectdomain.go b/src/__tests__/mockserver/internal/sdk/models/operations/updateprojectdomain.go index 7ecf581d8..7679a2391 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/updateprojectdomain.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/updateprojectdomain.go @@ -79,8 +79,8 @@ type UpdateProjectDomainRequest struct { // The Team identifier to perform the request on behalf of. TeamID *string `queryParam:"style=form,explode=true,name=teamId"` // The Team slug to perform the request on behalf of. - Slug *string `queryParam:"style=form,explode=true,name=slug"` - RequestBody UpdateProjectDomainRequestBody `request:"mediaType=application/json"` + Slug *string `queryParam:"style=form,explode=true,name=slug"` + Body UpdateProjectDomainRequestBody `request:"mediaType=application/json"` } func (o *UpdateProjectDomainRequest) GetIDOrName() string { @@ -111,11 +111,11 @@ func (o *UpdateProjectDomainRequest) GetSlug() *string { return o.Slug } -func (o *UpdateProjectDomainRequest) GetRequestBody() UpdateProjectDomainRequestBody { +func (o *UpdateProjectDomainRequest) GetBody() UpdateProjectDomainRequestBody { if o == nil { return UpdateProjectDomainRequestBody{} } - return o.RequestBody + return o.Body } // UpdateProjectDomainVerification - 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`. diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/updateprojectprotectionbypass.go b/src/__tests__/mockserver/internal/sdk/models/operations/updateprojectprotectionbypass.go index a528d7366..98f8284a7 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/updateprojectprotectionbypass.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/updateprojectprotectionbypass.go @@ -72,8 +72,8 @@ type UpdateProjectProtectionBypassRequest struct { // The Team identifier to perform the request on behalf of. TeamID *string `queryParam:"style=form,explode=true,name=teamId"` // The Team slug to perform the request on behalf of. - Slug *string `queryParam:"style=form,explode=true,name=slug"` - RequestBody UpdateProjectProtectionBypassRequestBody `request:"mediaType=application/json"` + Slug *string `queryParam:"style=form,explode=true,name=slug"` + Body UpdateProjectProtectionBypassRequestBody `request:"mediaType=application/json"` } func (o *UpdateProjectProtectionBypassRequest) GetIDOrName() string { @@ -97,11 +97,11 @@ func (o *UpdateProjectProtectionBypassRequest) GetSlug() *string { return o.Slug } -func (o *UpdateProjectProtectionBypassRequest) GetRequestBody() UpdateProjectProtectionBypassRequestBody { +func (o *UpdateProjectProtectionBypassRequest) GetBody() UpdateProjectProtectionBypassRequestBody { if o == nil { return UpdateProjectProtectionBypassRequestBody{} } - return o.RequestBody + return o.Body } type UpdateProjectProtectionBypassScopeAutomationBypass string diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/updaterecord.go b/src/__tests__/mockserver/internal/sdk/models/operations/updaterecord.go index 4210d40e9..b0b973392 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/updaterecord.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/updaterecord.go @@ -200,8 +200,8 @@ type UpdateRecordRequest struct { // The Team identifier to perform the request on behalf of. TeamID *string `queryParam:"style=form,explode=true,name=teamId"` // The Team slug to perform the request on behalf of. - Slug *string `queryParam:"style=form,explode=true,name=slug"` - RequestBody UpdateRecordRequestBody `request:"mediaType=application/json"` + Slug *string `queryParam:"style=form,explode=true,name=slug"` + Body UpdateRecordRequestBody `request:"mediaType=application/json"` } func (o *UpdateRecordRequest) GetRecordID() string { @@ -225,11 +225,11 @@ func (o *UpdateRecordRequest) GetSlug() *string { return o.Slug } -func (o *UpdateRecordRequest) GetRequestBody() UpdateRecordRequestBody { +func (o *UpdateRecordRequest) GetBody() UpdateRecordRequestBody { if o == nil { return UpdateRecordRequestBody{} } - return o.RequestBody + return o.Body } type RecordType string diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/updateresource.go b/src/__tests__/mockserver/internal/sdk/models/operations/updateresource.go new file mode 100644 index 000000000..3bc25cace --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/operations/updateresource.go @@ -0,0 +1,773 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package operations + +import ( + "encoding/json" + "errors" + "fmt" + "mockserver/internal/sdk/models/components" + "mockserver/internal/sdk/utils" +) + +type UpdateResourceOwnership string + +const ( + UpdateResourceOwnershipOwned UpdateResourceOwnership = "owned" + UpdateResourceOwnershipLinked UpdateResourceOwnership = "linked" + UpdateResourceOwnershipSandbox UpdateResourceOwnership = "sandbox" +) + +func (e UpdateResourceOwnership) ToPointer() *UpdateResourceOwnership { + return &e +} +func (e *UpdateResourceOwnership) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "owned": + fallthrough + case "linked": + fallthrough + case "sandbox": + *e = UpdateResourceOwnership(v) + return nil + default: + return fmt.Errorf("invalid value for UpdateResourceOwnership: %v", v) + } +} + +type UpdateResourceStatus string + +const ( + UpdateResourceStatusReady UpdateResourceStatus = "ready" + UpdateResourceStatusPending UpdateResourceStatus = "pending" + UpdateResourceStatusOnboarding UpdateResourceStatus = "onboarding" + UpdateResourceStatusSuspended UpdateResourceStatus = "suspended" + UpdateResourceStatusResumed UpdateResourceStatus = "resumed" + UpdateResourceStatusUninstalled UpdateResourceStatus = "uninstalled" + UpdateResourceStatusError UpdateResourceStatus = "error" +) + +func (e UpdateResourceStatus) ToPointer() *UpdateResourceStatus { + return &e +} +func (e *UpdateResourceStatus) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "ready": + fallthrough + case "pending": + fallthrough + case "onboarding": + fallthrough + case "suspended": + fallthrough + case "resumed": + fallthrough + case "uninstalled": + fallthrough + case "error": + *e = UpdateResourceStatus(v) + return nil + default: + return fmt.Errorf("invalid value for UpdateResourceStatus: %v", v) + } +} + +type UpdateResourceType string + +const ( + UpdateResourceTypePrepayment UpdateResourceType = "prepayment" + UpdateResourceTypeSubscription UpdateResourceType = "subscription" +) + +func (e UpdateResourceType) ToPointer() *UpdateResourceType { + return &e +} +func (e *UpdateResourceType) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "prepayment": + fallthrough + case "subscription": + *e = UpdateResourceType(v) + return nil + default: + return fmt.Errorf("invalid value for UpdateResourceType: %v", v) + } +} + +type UpdateResourceDetail struct { + Label string `json:"label"` + Value *string `json:"value,omitempty"` +} + +func (o *UpdateResourceDetail) GetLabel() string { + if o == nil { + return "" + } + return o.Label +} + +func (o *UpdateResourceDetail) GetValue() *string { + if o == nil { + return nil + } + return o.Value +} + +type UpdateResourceHighlightedDetail struct { + Label string `json:"label"` + Value *string `json:"value,omitempty"` +} + +func (o *UpdateResourceHighlightedDetail) GetLabel() string { + if o == nil { + return "" + } + return o.Label +} + +func (o *UpdateResourceHighlightedDetail) GetValue() *string { + if o == nil { + return nil + } + return o.Value +} + +type UpdateResourceBillingPlan struct { + ID string `json:"id"` + Type UpdateResourceType `json:"type"` + Name string `json:"name"` + Description *string `json:"description,omitempty"` + PaymentMethodRequired *bool `json:"paymentMethodRequired,omitempty"` + Cost *string `json:"cost,omitempty"` + Details []UpdateResourceDetail `json:"details,omitempty"` + HighlightedDetails []UpdateResourceHighlightedDetail `json:"highlightedDetails,omitempty"` + EffectiveDate *string `json:"effectiveDate,omitempty"` + AdditionalProperties map[string]any `additionalProperties:"true" json:"-"` +} + +func (u UpdateResourceBillingPlan) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(u, "", false) +} + +func (u *UpdateResourceBillingPlan) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &u, "", false, []string{"id", "type", "name"}); err != nil { + return err + } + return nil +} + +func (o *UpdateResourceBillingPlan) GetID() string { + if o == nil { + return "" + } + return o.ID +} + +func (o *UpdateResourceBillingPlan) GetType() UpdateResourceType { + if o == nil { + return UpdateResourceType("") + } + return o.Type +} + +func (o *UpdateResourceBillingPlan) GetName() string { + if o == nil { + return "" + } + return o.Name +} + +func (o *UpdateResourceBillingPlan) GetDescription() *string { + if o == nil { + return nil + } + return o.Description +} + +func (o *UpdateResourceBillingPlan) GetPaymentMethodRequired() *bool { + if o == nil { + return nil + } + return o.PaymentMethodRequired +} + +func (o *UpdateResourceBillingPlan) GetCost() *string { + if o == nil { + return nil + } + return o.Cost +} + +func (o *UpdateResourceBillingPlan) GetDetails() []UpdateResourceDetail { + if o == nil { + return nil + } + return o.Details +} + +func (o *UpdateResourceBillingPlan) GetHighlightedDetails() []UpdateResourceHighlightedDetail { + if o == nil { + return nil + } + return o.HighlightedDetails +} + +func (o *UpdateResourceBillingPlan) GetEffectiveDate() *string { + if o == nil { + return nil + } + return o.EffectiveDate +} + +func (o *UpdateResourceBillingPlan) GetAdditionalProperties() map[string]any { + if o == nil { + return nil + } + return o.AdditionalProperties +} + +type UpdateResourceLevel string + +const ( + UpdateResourceLevelInfo UpdateResourceLevel = "info" + UpdateResourceLevelWarn UpdateResourceLevel = "warn" + UpdateResourceLevelError UpdateResourceLevel = "error" +) + +func (e UpdateResourceLevel) ToPointer() *UpdateResourceLevel { + return &e +} +func (e *UpdateResourceLevel) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "info": + fallthrough + case "warn": + fallthrough + case "error": + *e = UpdateResourceLevel(v) + return nil + default: + return fmt.Errorf("invalid value for UpdateResourceLevel: %v", v) + } +} + +type UpdateResourceNotification struct { + Level UpdateResourceLevel `json:"level"` + Title string `json:"title"` + Message *string `json:"message,omitempty"` + Href *string `json:"href,omitempty"` +} + +func (u UpdateResourceNotification) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(u, "", false) +} + +func (u *UpdateResourceNotification) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &u, "", false, []string{"level", "title"}); err != nil { + return err + } + return nil +} + +func (o *UpdateResourceNotification) GetLevel() UpdateResourceLevel { + if o == nil { + return UpdateResourceLevel("") + } + return o.Level +} + +func (o *UpdateResourceNotification) GetTitle() string { + if o == nil { + return "" + } + return o.Title +} + +func (o *UpdateResourceNotification) GetMessage() *string { + if o == nil { + return nil + } + return o.Message +} + +func (o *UpdateResourceNotification) GetHref() *string { + if o == nil { + return nil + } + return o.Href +} + +type UpdateResourceNotificationUnionType string + +const ( + UpdateResourceNotificationUnionTypeUpdateResourceNotification UpdateResourceNotificationUnionType = "update_resource_notification" + UpdateResourceNotificationUnionTypeStr UpdateResourceNotificationUnionType = "str" +) + +type UpdateResourceNotificationUnion struct { + UpdateResourceNotification *UpdateResourceNotification `queryParam:"inline"` + Str *string `queryParam:"inline"` + + Type UpdateResourceNotificationUnionType +} + +func CreateUpdateResourceNotificationUnionUpdateResourceNotification(updateResourceNotification UpdateResourceNotification) UpdateResourceNotificationUnion { + typ := UpdateResourceNotificationUnionTypeUpdateResourceNotification + + return UpdateResourceNotificationUnion{ + UpdateResourceNotification: &updateResourceNotification, + Type: typ, + } +} + +func CreateUpdateResourceNotificationUnionStr(str string) UpdateResourceNotificationUnion { + typ := UpdateResourceNotificationUnionTypeStr + + return UpdateResourceNotificationUnion{ + Str: &str, + Type: typ, + } +} + +func (u *UpdateResourceNotificationUnion) UnmarshalJSON(data []byte) error { + + var updateResourceNotification UpdateResourceNotification = UpdateResourceNotification{} + if err := utils.UnmarshalJSON(data, &updateResourceNotification, "", true, nil); err == nil { + u.UpdateResourceNotification = &updateResourceNotification + u.Type = UpdateResourceNotificationUnionTypeUpdateResourceNotification + return nil + } + + var str string = "" + if err := utils.UnmarshalJSON(data, &str, "", true, nil); err == nil { + u.Str = &str + u.Type = UpdateResourceNotificationUnionTypeStr + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for UpdateResourceNotificationUnion", string(data)) +} + +func (u UpdateResourceNotificationUnion) MarshalJSON() ([]byte, error) { + if u.UpdateResourceNotification != nil { + return utils.MarshalJSON(u.UpdateResourceNotification, "", true) + } + + if u.Str != nil { + return utils.MarshalJSON(u.Str, "", true) + } + + return nil, errors.New("could not marshal union type UpdateResourceNotificationUnion: all fields are null") +} + +// UpdateResourceSecretEnvironmentOverrides - A map of environments to override values for the secret, used for setting different values across deployments in production, preview, and development environments. Note: the same value will be used for all deployments in the given environment. +type UpdateResourceSecretEnvironmentOverrides struct { + // Value used for development environment. + Development *string `json:"development,omitempty"` + // Value used for preview environment. + Preview *string `json:"preview,omitempty"` + // Value used for production environment. + Production *string `json:"production,omitempty"` +} + +func (u UpdateResourceSecretEnvironmentOverrides) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(u, "", false) +} + +func (u *UpdateResourceSecretEnvironmentOverrides) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &u, "", false, nil); err != nil { + return err + } + return nil +} + +func (o *UpdateResourceSecretEnvironmentOverrides) GetDevelopment() *string { + if o == nil { + return nil + } + return o.Development +} + +func (o *UpdateResourceSecretEnvironmentOverrides) GetPreview() *string { + if o == nil { + return nil + } + return o.Preview +} + +func (o *UpdateResourceSecretEnvironmentOverrides) GetProduction() *string { + if o == nil { + return nil + } + return o.Production +} + +type UpdateResourceSecret struct { + Name string `json:"name"` + Value string `json:"value"` + Prefix *string `json:"prefix,omitempty"` + // A map of environments to override values for the secret, used for setting different values across deployments in production, preview, and development environments. Note: the same value will be used for all deployments in the given environment. + EnvironmentOverrides *UpdateResourceSecretEnvironmentOverrides `json:"environmentOverrides,omitempty"` +} + +func (u UpdateResourceSecret) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(u, "", false) +} + +func (u *UpdateResourceSecret) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &u, "", false, []string{"name", "value"}); err != nil { + return err + } + return nil +} + +func (o *UpdateResourceSecret) GetName() string { + if o == nil { + return "" + } + return o.Name +} + +func (o *UpdateResourceSecret) GetValue() string { + if o == nil { + return "" + } + return o.Value +} + +func (o *UpdateResourceSecret) GetPrefix() *string { + if o == nil { + return nil + } + return o.Prefix +} + +func (o *UpdateResourceSecret) GetEnvironmentOverrides() *UpdateResourceSecretEnvironmentOverrides { + if o == nil { + return nil + } + return o.EnvironmentOverrides +} + +type Secrets2 struct { + Secrets []UpdateResourceSecret `json:"secrets"` + // If true, will only overwrite the provided secrets instead of replacing all secrets. + Partial *bool `json:"partial,omitempty"` +} + +func (s Secrets2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(s, "", false) +} + +func (s *Secrets2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &s, "", false, []string{"secrets"}); err != nil { + return err + } + return nil +} + +func (o *Secrets2) GetSecrets() []UpdateResourceSecret { + if o == nil { + return []UpdateResourceSecret{} + } + return o.Secrets +} + +func (o *Secrets2) GetPartial() *bool { + if o == nil { + return nil + } + return o.Partial +} + +// UpdateResourceEnvironmentOverrides - A map of environments to override values for the secret, used for setting different values across deployments in production, preview, and development environments. Note: the same value will be used for all deployments in the given environment. +type UpdateResourceEnvironmentOverrides struct { + // Value used for development environment. + Development *string `json:"development,omitempty"` + // Value used for preview environment. + Preview *string `json:"preview,omitempty"` + // Value used for production environment. + Production *string `json:"production,omitempty"` +} + +func (u UpdateResourceEnvironmentOverrides) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(u, "", false) +} + +func (u *UpdateResourceEnvironmentOverrides) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &u, "", false, nil); err != nil { + return err + } + return nil +} + +func (o *UpdateResourceEnvironmentOverrides) GetDevelopment() *string { + if o == nil { + return nil + } + return o.Development +} + +func (o *UpdateResourceEnvironmentOverrides) GetPreview() *string { + if o == nil { + return nil + } + return o.Preview +} + +func (o *UpdateResourceEnvironmentOverrides) GetProduction() *string { + if o == nil { + return nil + } + return o.Production +} + +type Secrets1 struct { + Name string `json:"name"` + Value string `json:"value"` + Prefix *string `json:"prefix,omitempty"` + // A map of environments to override values for the secret, used for setting different values across deployments in production, preview, and development environments. Note: the same value will be used for all deployments in the given environment. + EnvironmentOverrides *UpdateResourceEnvironmentOverrides `json:"environmentOverrides,omitempty"` +} + +func (s Secrets1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(s, "", false) +} + +func (s *Secrets1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &s, "", false, []string{"name", "value"}); err != nil { + return err + } + return nil +} + +func (o *Secrets1) GetName() string { + if o == nil { + return "" + } + return o.Name +} + +func (o *Secrets1) GetValue() string { + if o == nil { + return "" + } + return o.Value +} + +func (o *Secrets1) GetPrefix() *string { + if o == nil { + return nil + } + return o.Prefix +} + +func (o *Secrets1) GetEnvironmentOverrides() *UpdateResourceEnvironmentOverrides { + if o == nil { + return nil + } + return o.EnvironmentOverrides +} + +type SecretsUnionType string + +const ( + SecretsUnionTypeArrayOfSecrets1 SecretsUnionType = "arrayOfSecrets1" + SecretsUnionTypeSecrets2 SecretsUnionType = "secrets_2" +) + +type SecretsUnion struct { + ArrayOfSecrets1 []Secrets1 `queryParam:"inline"` + Secrets2 *Secrets2 `queryParam:"inline"` + + Type SecretsUnionType +} + +func CreateSecretsUnionArrayOfSecrets1(arrayOfSecrets1 []Secrets1) SecretsUnion { + typ := SecretsUnionTypeArrayOfSecrets1 + + return SecretsUnion{ + ArrayOfSecrets1: arrayOfSecrets1, + Type: typ, + } +} + +func CreateSecretsUnionSecrets2(secrets2 Secrets2) SecretsUnion { + typ := SecretsUnionTypeSecrets2 + + return SecretsUnion{ + Secrets2: &secrets2, + Type: typ, + } +} + +func (u *SecretsUnion) UnmarshalJSON(data []byte) error { + + var secrets2 Secrets2 = Secrets2{} + if err := utils.UnmarshalJSON(data, &secrets2, "", true, nil); err == nil { + u.Secrets2 = &secrets2 + u.Type = SecretsUnionTypeSecrets2 + return nil + } + + var arrayOfSecrets1 []Secrets1 = []Secrets1{} + if err := utils.UnmarshalJSON(data, &arrayOfSecrets1, "", true, nil); err == nil { + u.ArrayOfSecrets1 = arrayOfSecrets1 + u.Type = SecretsUnionTypeArrayOfSecrets1 + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for SecretsUnion", string(data)) +} + +func (u SecretsUnion) MarshalJSON() ([]byte, error) { + if u.ArrayOfSecrets1 != nil { + return utils.MarshalJSON(u.ArrayOfSecrets1, "", true) + } + + if u.Secrets2 != nil { + return utils.MarshalJSON(u.Secrets2, "", true) + } + + return nil, errors.New("could not marshal union type SecretsUnion: all fields are null") +} + +type UpdateResourceRequestBody struct { + Ownership *UpdateResourceOwnership `json:"ownership,omitempty"` + Name *string `json:"name,omitempty"` + Status *UpdateResourceStatus `json:"status,omitempty"` + Metadata map[string]any `json:"metadata,omitempty"` + BillingPlan *UpdateResourceBillingPlan `json:"billingPlan,omitempty"` + Notification *UpdateResourceNotificationUnion `json:"notification,omitempty"` + Extras map[string]any `json:"extras,omitempty"` + Secrets *SecretsUnion `json:"secrets,omitempty"` +} + +func (o *UpdateResourceRequestBody) GetOwnership() *UpdateResourceOwnership { + if o == nil { + return nil + } + return o.Ownership +} + +func (o *UpdateResourceRequestBody) GetName() *string { + if o == nil { + return nil + } + return o.Name +} + +func (o *UpdateResourceRequestBody) GetStatus() *UpdateResourceStatus { + if o == nil { + return nil + } + return o.Status +} + +func (o *UpdateResourceRequestBody) GetMetadata() map[string]any { + if o == nil { + return nil + } + return o.Metadata +} + +func (o *UpdateResourceRequestBody) GetBillingPlan() *UpdateResourceBillingPlan { + if o == nil { + return nil + } + return o.BillingPlan +} + +func (o *UpdateResourceRequestBody) GetNotification() *UpdateResourceNotificationUnion { + if o == nil { + return nil + } + return o.Notification +} + +func (o *UpdateResourceRequestBody) GetExtras() map[string]any { + if o == nil { + return nil + } + return o.Extras +} + +func (o *UpdateResourceRequestBody) GetSecrets() *SecretsUnion { + if o == nil { + return nil + } + return o.Secrets +} + +type UpdateResourceRequest struct { + IntegrationConfigurationID string `pathParam:"style=simple,explode=false,name=integrationConfigurationId"` + ResourceID string `pathParam:"style=simple,explode=false,name=resourceId"` + Body *UpdateResourceRequestBody `request:"mediaType=application/json"` +} + +func (o *UpdateResourceRequest) GetIntegrationConfigurationID() string { + if o == nil { + return "" + } + return o.IntegrationConfigurationID +} + +func (o *UpdateResourceRequest) GetResourceID() string { + if o == nil { + return "" + } + return o.ResourceID +} + +func (o *UpdateResourceRequest) GetBody() *UpdateResourceRequestBody { + if o == nil { + return nil + } + return o.Body +} + +type UpdateResourceResponseBody struct { + Name string `json:"name"` +} + +func (o *UpdateResourceResponseBody) GetName() string { + if o == nil { + return "" + } + return o.Name +} + +type UpdateResourceResponse struct { + HTTPMeta components.HTTPMetadata `json:"-"` + Object *UpdateResourceResponseBody +} + +func (o *UpdateResourceResponse) GetHTTPMeta() components.HTTPMetadata { + if o == nil { + return components.HTTPMetadata{} + } + return o.HTTPMeta +} + +func (o *UpdateResourceResponse) GetObject() *UpdateResourceResponseBody { + if o == nil { + return nil + } + return o.Object +} diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/updateresourcesecrets.go b/src/__tests__/mockserver/internal/sdk/models/operations/updateresourcesecrets.go index 3f104ef6d..4bf030f80 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/updateresourcesecrets.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/updateresourcesecrets.go @@ -97,7 +97,7 @@ type UpdateResourceSecretsRequest struct { IntegrationConfigurationID string `pathParam:"style=simple,explode=false,name=integrationConfigurationId"` IntegrationProductIDOrSlug string `pathParam:"style=simple,explode=false,name=integrationProductIdOrSlug"` ResourceID string `pathParam:"style=simple,explode=false,name=resourceId"` - RequestBody UpdateResourceSecretsRequestBody `request:"mediaType=application/json"` + Body UpdateResourceSecretsRequestBody `request:"mediaType=application/json"` } func (o *UpdateResourceSecretsRequest) GetIntegrationConfigurationID() string { @@ -121,11 +121,11 @@ func (o *UpdateResourceSecretsRequest) GetResourceID() string { return o.ResourceID } -func (o *UpdateResourceSecretsRequest) GetRequestBody() UpdateResourceSecretsRequestBody { +func (o *UpdateResourceSecretsRequest) GetBody() UpdateResourceSecretsRequestBody { if o == nil { return UpdateResourceSecretsRequestBody{} } - return o.RequestBody + return o.Body } type UpdateResourceSecretsResponse struct { diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/updateresourcesecretsbyid.go b/src/__tests__/mockserver/internal/sdk/models/operations/updateresourcesecretsbyid.go index 45e917c23..f86bedbe1 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/updateresourcesecretsbyid.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/updateresourcesecretsbyid.go @@ -96,7 +96,7 @@ func (o *UpdateResourceSecretsByIDRequestBody) GetPartial() *bool { type UpdateResourceSecretsByIDRequest struct { IntegrationConfigurationID string `pathParam:"style=simple,explode=false,name=integrationConfigurationId"` ResourceID string `pathParam:"style=simple,explode=false,name=resourceId"` - RequestBody *UpdateResourceSecretsByIDRequestBody `request:"mediaType=application/json"` + Body *UpdateResourceSecretsByIDRequestBody `request:"mediaType=application/json"` } func (o *UpdateResourceSecretsByIDRequest) GetIntegrationConfigurationID() string { @@ -113,11 +113,11 @@ func (o *UpdateResourceSecretsByIDRequest) GetResourceID() string { return o.ResourceID } -func (o *UpdateResourceSecretsByIDRequest) GetRequestBody() *UpdateResourceSecretsByIDRequestBody { +func (o *UpdateResourceSecretsByIDRequest) GetBody() *UpdateResourceSecretsByIDRequestBody { if o == nil { return nil } - return o.RequestBody + return o.Body } type UpdateResourceSecretsByIDResponse struct { diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/updatesharedenvvariable.go b/src/__tests__/mockserver/internal/sdk/models/operations/updatesharedenvvariable.go new file mode 100644 index 000000000..911e2dc93 --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/operations/updatesharedenvvariable.go @@ -0,0 +1,788 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package operations + +import ( + "encoding/json" + "errors" + "fmt" + "mockserver/internal/sdk/models/components" + "mockserver/internal/sdk/utils" + "time" +) + +type UpdatesTarget string + +const ( + UpdatesTargetProduction UpdatesTarget = "production" + UpdatesTargetPreview UpdatesTarget = "preview" + UpdatesTargetDevelopment UpdatesTarget = "development" +) + +func (e UpdatesTarget) ToPointer() *UpdatesTarget { + return &e +} +func (e *UpdatesTarget) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "production": + fallthrough + case "preview": + fallthrough + case "development": + *e = UpdatesTarget(v) + return nil + default: + return fmt.Errorf("invalid value for UpdatesTarget: %v", v) + } +} + +// ProjectIDUpdates - Incrementally update project associations without specifying the full list +type ProjectIDUpdates struct { + // Project IDs to add to this environment variable + Link []string `json:"link,omitempty"` + // Project IDs to remove from this environment variable + Unlink []string `json:"unlink,omitempty"` +} + +func (o *ProjectIDUpdates) GetLink() []string { + if o == nil { + return nil + } + return o.Link +} + +func (o *ProjectIDUpdates) GetUnlink() []string { + if o == nil { + return nil + } + return o.Unlink +} + +// UpdatesType - The new type of the Shared Environment Variable +type UpdatesType string + +const ( + UpdatesTypeEncrypted UpdatesType = "encrypted" + UpdatesTypeSensitive UpdatesType = "sensitive" +) + +func (e UpdatesType) ToPointer() *UpdatesType { + return &e +} +func (e *UpdatesType) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "encrypted": + fallthrough + case "sensitive": + *e = UpdatesType(v) + return nil + default: + return fmt.Errorf("invalid value for UpdatesType: %v", v) + } +} + +type Updates struct { + // The name of the Shared Environment Variable + Key *string `json:"key,omitempty"` + // The value of the Shared Environment Variable + Value *string `json:"value,omitempty"` + // The target environment of the Shared Environment Variable + Target []UpdatesTarget `json:"target,omitempty"` + // Associate a Shared Environment Variable to projects. + ProjectID []string `json:"projectId,omitempty"` + // Incrementally update project associations without specifying the full list + ProjectIDUpdates *ProjectIDUpdates `json:"projectIdUpdates,omitempty"` + // The new type of the Shared Environment Variable + Type *UpdatesType `json:"type,omitempty"` + // A comment to add context on what this Shared Environment Variable is for + Comment *string `json:"comment,omitempty"` +} + +func (o *Updates) GetKey() *string { + if o == nil { + return nil + } + return o.Key +} + +func (o *Updates) GetValue() *string { + if o == nil { + return nil + } + return o.Value +} + +func (o *Updates) GetTarget() []UpdatesTarget { + if o == nil { + return nil + } + return o.Target +} + +func (o *Updates) GetProjectID() []string { + if o == nil { + return nil + } + return o.ProjectID +} + +func (o *Updates) GetProjectIDUpdates() *ProjectIDUpdates { + if o == nil { + return nil + } + return o.ProjectIDUpdates +} + +func (o *Updates) GetType() *UpdatesType { + if o == nil { + return nil + } + return o.Type +} + +func (o *Updates) GetComment() *string { + if o == nil { + return nil + } + return o.Comment +} + +type UpdateSharedEnvVariableRequestBody struct { + Updates map[string]Updates `json:"updates"` +} + +func (o *UpdateSharedEnvVariableRequestBody) GetUpdates() map[string]Updates { + if o == nil { + return map[string]Updates{} + } + return o.Updates +} + +type UpdateSharedEnvVariableRequest struct { + // The Team identifier to perform the request on behalf of. + TeamID *string `queryParam:"style=form,explode=true,name=teamId"` + // The Team slug to perform the request on behalf of. + Slug *string `queryParam:"style=form,explode=true,name=slug"` + Body *UpdateSharedEnvVariableRequestBody `request:"mediaType=application/json"` +} + +func (o *UpdateSharedEnvVariableRequest) GetTeamID() *string { + if o == nil { + return nil + } + return o.TeamID +} + +func (o *UpdateSharedEnvVariableRequest) GetSlug() *string { + if o == nil { + return nil + } + return o.Slug +} + +func (o *UpdateSharedEnvVariableRequest) GetBody() *UpdateSharedEnvVariableRequestBody { + if o == nil { + return nil + } + return o.Body +} + +// UpdatedType - The type of this cosmos doc instance, if blank, assume secret. +type UpdatedType string + +const ( + UpdatedTypeEncrypted UpdatedType = "encrypted" + UpdatedTypeSensitive UpdatedType = "sensitive" + UpdatedTypeSystem UpdatedType = "system" + UpdatedTypePlain UpdatedType = "plain" +) + +func (e UpdatedType) ToPointer() *UpdatedType { + return &e +} +func (e *UpdatedType) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "encrypted": + fallthrough + case "sensitive": + fallthrough + case "system": + fallthrough + case "plain": + *e = UpdatedType(v) + return nil + default: + return fmt.Errorf("invalid value for UpdatedType: %v", v) + } +} + +// UpdatedTarget - environments this env variable targets +type UpdatedTarget string + +const ( + UpdatedTargetProduction UpdatedTarget = "production" + UpdatedTargetPreview UpdatedTarget = "preview" + UpdatedTargetDevelopment UpdatedTarget = "development" +) + +func (e UpdatedTarget) ToPointer() *UpdatedTarget { + return &e +} +func (e *UpdatedTarget) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "production": + fallthrough + case "preview": + fallthrough + case "development": + *e = UpdatedTarget(v) + return nil + default: + return fmt.Errorf("invalid value for UpdatedTarget: %v", v) + } +} + +type Updated struct { + // The date when the Shared Env Var was created. + Created *time.Time `json:"created,omitempty"` + // The name of the Shared Env Var. + Key *string `json:"key,omitempty"` + // The unique identifier of the owner (team) the Shared Env Var was created for. + OwnerID *string `json:"ownerId,omitempty"` + // The unique identifier of the Shared Env Var. + ID *string `json:"id,omitempty"` + // The unique identifier of the user who created the Shared Env Var. + CreatedBy *string `json:"createdBy,omitempty"` + // The unique identifier of the user who deleted the Shared Env Var. + DeletedBy *string `json:"deletedBy,omitempty"` + // The unique identifier of the user who last updated the Shared Env Var. + UpdatedBy *string `json:"updatedBy,omitempty"` + // Timestamp for when the Shared Env Var was created. + CreatedAt *float64 `json:"createdAt,omitempty"` + // Timestamp for when the Shared Env Var was (soft) deleted. + DeletedAt *float64 `json:"deletedAt,omitempty"` + // Timestamp for when the Shared Env Var was last updated. + UpdatedAt *float64 `json:"updatedAt,omitempty"` + // The value of the Shared Env Var. + Value *string `json:"value,omitempty"` + // The unique identifiers of the projects which the Shared Env Var is linked to. + ProjectID []string `json:"projectId,omitempty"` + // The type of this cosmos doc instance, if blank, assume secret. + Type *UpdatedType `json:"type,omitempty"` + // environments this env variable targets + Target []UpdatedTarget `json:"target,omitempty"` + // whether or not this env varible applies to custom environments + ApplyToAllCustomEnvironments *bool `json:"applyToAllCustomEnvironments,omitempty"` + // whether or not this env variable is decrypted + Decrypted *bool `json:"decrypted,omitempty"` + // A user provided comment that describes what this Shared Env Var is for. + Comment *string `json:"comment,omitempty"` + // The last editor full name or username. + LastEditedByDisplayName *string `json:"lastEditedByDisplayName,omitempty"` +} + +func (u Updated) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(u, "", false) +} + +func (u *Updated) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &u, "", false, nil); err != nil { + return err + } + return nil +} + +func (o *Updated) GetCreated() *time.Time { + if o == nil { + return nil + } + return o.Created +} + +func (o *Updated) GetKey() *string { + if o == nil { + return nil + } + return o.Key +} + +func (o *Updated) GetOwnerID() *string { + if o == nil { + return nil + } + return o.OwnerID +} + +func (o *Updated) GetID() *string { + if o == nil { + return nil + } + return o.ID +} + +func (o *Updated) GetCreatedBy() *string { + if o == nil { + return nil + } + return o.CreatedBy +} + +func (o *Updated) GetDeletedBy() *string { + if o == nil { + return nil + } + return o.DeletedBy +} + +func (o *Updated) GetUpdatedBy() *string { + if o == nil { + return nil + } + return o.UpdatedBy +} + +func (o *Updated) GetCreatedAt() *float64 { + if o == nil { + return nil + } + return o.CreatedAt +} + +func (o *Updated) GetDeletedAt() *float64 { + if o == nil { + return nil + } + return o.DeletedAt +} + +func (o *Updated) GetUpdatedAt() *float64 { + if o == nil { + return nil + } + return o.UpdatedAt +} + +func (o *Updated) GetValue() *string { + if o == nil { + return nil + } + return o.Value +} + +func (o *Updated) GetProjectID() []string { + if o == nil { + return nil + } + return o.ProjectID +} + +func (o *Updated) GetType() *UpdatedType { + if o == nil { + return nil + } + return o.Type +} + +func (o *Updated) GetTarget() []UpdatedTarget { + if o == nil { + return nil + } + return o.Target +} + +func (o *Updated) GetApplyToAllCustomEnvironments() *bool { + if o == nil { + return nil + } + return o.ApplyToAllCustomEnvironments +} + +func (o *Updated) GetDecrypted() *bool { + if o == nil { + return nil + } + return o.Decrypted +} + +func (o *Updated) GetComment() *string { + if o == nil { + return nil + } + return o.Comment +} + +func (o *Updated) GetLastEditedByDisplayName() *string { + if o == nil { + return nil + } + return o.LastEditedByDisplayName +} + +type UpdateSharedEnvVariableValueEnum string + +const ( + UpdateSharedEnvVariableValueEnumProduction UpdateSharedEnvVariableValueEnum = "production" + UpdateSharedEnvVariableValueEnumPreview UpdateSharedEnvVariableValueEnum = "preview" + UpdateSharedEnvVariableValueEnumDevelopment UpdateSharedEnvVariableValueEnum = "development" +) + +func (e UpdateSharedEnvVariableValueEnum) ToPointer() *UpdateSharedEnvVariableValueEnum { + return &e +} +func (e *UpdateSharedEnvVariableValueEnum) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "production": + fallthrough + case "preview": + fallthrough + case "development": + *e = UpdateSharedEnvVariableValueEnum(v) + return nil + default: + return fmt.Errorf("invalid value for UpdateSharedEnvVariableValueEnum: %v", v) + } +} + +type UpdateSharedEnvVariableValueUnionType string + +const ( + UpdateSharedEnvVariableValueUnionTypeStr UpdateSharedEnvVariableValueUnionType = "str" + UpdateSharedEnvVariableValueUnionTypeArrayOfUpdateSharedEnvVariableValueEnum UpdateSharedEnvVariableValueUnionType = "arrayOfUpdateSharedEnvVariableValueEnum" +) + +type UpdateSharedEnvVariableValueUnion struct { + Str *string `queryParam:"inline"` + ArrayOfUpdateSharedEnvVariableValueEnum []UpdateSharedEnvVariableValueEnum `queryParam:"inline"` + + Type UpdateSharedEnvVariableValueUnionType +} + +func CreateUpdateSharedEnvVariableValueUnionStr(str string) UpdateSharedEnvVariableValueUnion { + typ := UpdateSharedEnvVariableValueUnionTypeStr + + return UpdateSharedEnvVariableValueUnion{ + Str: &str, + Type: typ, + } +} + +func CreateUpdateSharedEnvVariableValueUnionArrayOfUpdateSharedEnvVariableValueEnum(arrayOfUpdateSharedEnvVariableValueEnum []UpdateSharedEnvVariableValueEnum) UpdateSharedEnvVariableValueUnion { + typ := UpdateSharedEnvVariableValueUnionTypeArrayOfUpdateSharedEnvVariableValueEnum + + return UpdateSharedEnvVariableValueUnion{ + ArrayOfUpdateSharedEnvVariableValueEnum: arrayOfUpdateSharedEnvVariableValueEnum, + Type: typ, + } +} + +func (u *UpdateSharedEnvVariableValueUnion) UnmarshalJSON(data []byte) error { + + var str string = "" + if err := utils.UnmarshalJSON(data, &str, "", true, nil); err == nil { + u.Str = &str + u.Type = UpdateSharedEnvVariableValueUnionTypeStr + return nil + } + + var arrayOfUpdateSharedEnvVariableValueEnum []UpdateSharedEnvVariableValueEnum = []UpdateSharedEnvVariableValueEnum{} + if err := utils.UnmarshalJSON(data, &arrayOfUpdateSharedEnvVariableValueEnum, "", true, nil); err == nil { + u.ArrayOfUpdateSharedEnvVariableValueEnum = arrayOfUpdateSharedEnvVariableValueEnum + u.Type = UpdateSharedEnvVariableValueUnionTypeArrayOfUpdateSharedEnvVariableValueEnum + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for UpdateSharedEnvVariableValueUnion", string(data)) +} + +func (u UpdateSharedEnvVariableValueUnion) MarshalJSON() ([]byte, error) { + if u.Str != nil { + return utils.MarshalJSON(u.Str, "", true) + } + + if u.ArrayOfUpdateSharedEnvVariableValueEnum != nil { + return utils.MarshalJSON(u.ArrayOfUpdateSharedEnvVariableValueEnum, "", true) + } + + return nil, errors.New("could not marshal union type UpdateSharedEnvVariableValueUnion: all fields are null") +} + +type UpdateSharedEnvVariableTargetErrorEnum2 string + +const ( + UpdateSharedEnvVariableTargetErrorEnum2Production UpdateSharedEnvVariableTargetErrorEnum2 = "production" + UpdateSharedEnvVariableTargetErrorEnum2Preview UpdateSharedEnvVariableTargetErrorEnum2 = "preview" + UpdateSharedEnvVariableTargetErrorEnum2Development UpdateSharedEnvVariableTargetErrorEnum2 = "development" +) + +func (e UpdateSharedEnvVariableTargetErrorEnum2) ToPointer() *UpdateSharedEnvVariableTargetErrorEnum2 { + return &e +} +func (e *UpdateSharedEnvVariableTargetErrorEnum2) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "production": + fallthrough + case "preview": + fallthrough + case "development": + *e = UpdateSharedEnvVariableTargetErrorEnum2(v) + return nil + default: + return fmt.Errorf("invalid value for UpdateSharedEnvVariableTargetErrorEnum2: %v", v) + } +} + +type UpdateSharedEnvVariableTargetErrorEnum1 string + +const ( + UpdateSharedEnvVariableTargetErrorEnum1Production UpdateSharedEnvVariableTargetErrorEnum1 = "production" + UpdateSharedEnvVariableTargetErrorEnum1Preview UpdateSharedEnvVariableTargetErrorEnum1 = "preview" + UpdateSharedEnvVariableTargetErrorEnum1Development UpdateSharedEnvVariableTargetErrorEnum1 = "development" +) + +func (e UpdateSharedEnvVariableTargetErrorEnum1) ToPointer() *UpdateSharedEnvVariableTargetErrorEnum1 { + return &e +} +func (e *UpdateSharedEnvVariableTargetErrorEnum1) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "production": + fallthrough + case "preview": + fallthrough + case "development": + *e = UpdateSharedEnvVariableTargetErrorEnum1(v) + return nil + default: + return fmt.Errorf("invalid value for UpdateSharedEnvVariableTargetErrorEnum1: %v", v) + } +} + +type UpdateSharedEnvVariableTargetUnionType string + +const ( + UpdateSharedEnvVariableTargetUnionTypeArrayOfUpdateSharedEnvVariableTargetErrorEnum1 UpdateSharedEnvVariableTargetUnionType = "arrayOfUpdateSharedEnvVariableTargetErrorEnum1" + UpdateSharedEnvVariableTargetUnionTypeUpdateSharedEnvVariableTargetErrorEnum2 UpdateSharedEnvVariableTargetUnionType = "updateSharedEnvVariable_target_error_enum_2" +) + +type UpdateSharedEnvVariableTargetUnion struct { + ArrayOfUpdateSharedEnvVariableTargetErrorEnum1 []UpdateSharedEnvVariableTargetErrorEnum1 `queryParam:"inline"` + UpdateSharedEnvVariableTargetErrorEnum2 *UpdateSharedEnvVariableTargetErrorEnum2 `queryParam:"inline"` + + Type UpdateSharedEnvVariableTargetUnionType +} + +func CreateUpdateSharedEnvVariableTargetUnionArrayOfUpdateSharedEnvVariableTargetErrorEnum1(arrayOfUpdateSharedEnvVariableTargetErrorEnum1 []UpdateSharedEnvVariableTargetErrorEnum1) UpdateSharedEnvVariableTargetUnion { + typ := UpdateSharedEnvVariableTargetUnionTypeArrayOfUpdateSharedEnvVariableTargetErrorEnum1 + + return UpdateSharedEnvVariableTargetUnion{ + ArrayOfUpdateSharedEnvVariableTargetErrorEnum1: arrayOfUpdateSharedEnvVariableTargetErrorEnum1, + Type: typ, + } +} + +func CreateUpdateSharedEnvVariableTargetUnionUpdateSharedEnvVariableTargetErrorEnum2(updateSharedEnvVariableTargetErrorEnum2 UpdateSharedEnvVariableTargetErrorEnum2) UpdateSharedEnvVariableTargetUnion { + typ := UpdateSharedEnvVariableTargetUnionTypeUpdateSharedEnvVariableTargetErrorEnum2 + + return UpdateSharedEnvVariableTargetUnion{ + UpdateSharedEnvVariableTargetErrorEnum2: &updateSharedEnvVariableTargetErrorEnum2, + Type: typ, + } +} + +func (u *UpdateSharedEnvVariableTargetUnion) UnmarshalJSON(data []byte) error { + + var arrayOfUpdateSharedEnvVariableTargetErrorEnum1 []UpdateSharedEnvVariableTargetErrorEnum1 = []UpdateSharedEnvVariableTargetErrorEnum1{} + if err := utils.UnmarshalJSON(data, &arrayOfUpdateSharedEnvVariableTargetErrorEnum1, "", true, nil); err == nil { + u.ArrayOfUpdateSharedEnvVariableTargetErrorEnum1 = arrayOfUpdateSharedEnvVariableTargetErrorEnum1 + u.Type = UpdateSharedEnvVariableTargetUnionTypeArrayOfUpdateSharedEnvVariableTargetErrorEnum1 + return nil + } + + var updateSharedEnvVariableTargetErrorEnum2 UpdateSharedEnvVariableTargetErrorEnum2 = UpdateSharedEnvVariableTargetErrorEnum2("") + if err := utils.UnmarshalJSON(data, &updateSharedEnvVariableTargetErrorEnum2, "", true, nil); err == nil { + u.UpdateSharedEnvVariableTargetErrorEnum2 = &updateSharedEnvVariableTargetErrorEnum2 + u.Type = UpdateSharedEnvVariableTargetUnionTypeUpdateSharedEnvVariableTargetErrorEnum2 + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for UpdateSharedEnvVariableTargetUnion", string(data)) +} + +func (u UpdateSharedEnvVariableTargetUnion) MarshalJSON() ([]byte, error) { + if u.ArrayOfUpdateSharedEnvVariableTargetErrorEnum1 != nil { + return utils.MarshalJSON(u.ArrayOfUpdateSharedEnvVariableTargetErrorEnum1, "", true) + } + + if u.UpdateSharedEnvVariableTargetErrorEnum2 != nil { + return utils.MarshalJSON(u.UpdateSharedEnvVariableTargetErrorEnum2, "", true) + } + + return nil, errors.New("could not marshal union type UpdateSharedEnvVariableTargetUnion: all fields are null") +} + +type UpdateSharedEnvVariableError struct { + Code string `json:"code"` + Message string `json:"message"` + Key *string `json:"key,omitempty"` + EnvVarID *string `json:"envVarId,omitempty"` + EnvVarKey *string `json:"envVarKey,omitempty"` + Action *string `json:"action,omitempty"` + Link *string `json:"link,omitempty"` + Value *UpdateSharedEnvVariableValueUnion `json:"value,omitempty"` + GitBranch *string `json:"gitBranch,omitempty"` + Target *UpdateSharedEnvVariableTargetUnion `json:"target,omitempty"` + Project *string `json:"project,omitempty"` +} + +func (o *UpdateSharedEnvVariableError) GetCode() string { + if o == nil { + return "" + } + return o.Code +} + +func (o *UpdateSharedEnvVariableError) GetMessage() string { + if o == nil { + return "" + } + return o.Message +} + +func (o *UpdateSharedEnvVariableError) GetKey() *string { + if o == nil { + return nil + } + return o.Key +} + +func (o *UpdateSharedEnvVariableError) GetEnvVarID() *string { + if o == nil { + return nil + } + return o.EnvVarID +} + +func (o *UpdateSharedEnvVariableError) GetEnvVarKey() *string { + if o == nil { + return nil + } + return o.EnvVarKey +} + +func (o *UpdateSharedEnvVariableError) GetAction() *string { + if o == nil { + return nil + } + return o.Action +} + +func (o *UpdateSharedEnvVariableError) GetLink() *string { + if o == nil { + return nil + } + return o.Link +} + +func (o *UpdateSharedEnvVariableError) GetValue() *UpdateSharedEnvVariableValueUnion { + if o == nil { + return nil + } + return o.Value +} + +func (o *UpdateSharedEnvVariableError) GetGitBranch() *string { + if o == nil { + return nil + } + return o.GitBranch +} + +func (o *UpdateSharedEnvVariableError) GetTarget() *UpdateSharedEnvVariableTargetUnion { + if o == nil { + return nil + } + return o.Target +} + +func (o *UpdateSharedEnvVariableError) GetProject() *string { + if o == nil { + return nil + } + return o.Project +} + +type UpdateSharedEnvVariableFailed struct { + Error UpdateSharedEnvVariableError `json:"error"` +} + +func (o *UpdateSharedEnvVariableFailed) GetError() UpdateSharedEnvVariableError { + if o == nil { + return UpdateSharedEnvVariableError{} + } + return o.Error +} + +type UpdateSharedEnvVariableResponseBody struct { + Updated []Updated `json:"updated"` + Failed []UpdateSharedEnvVariableFailed `json:"failed"` +} + +func (o *UpdateSharedEnvVariableResponseBody) GetUpdated() []Updated { + if o == nil { + return []Updated{} + } + return o.Updated +} + +func (o *UpdateSharedEnvVariableResponseBody) GetFailed() []UpdateSharedEnvVariableFailed { + if o == nil { + return []UpdateSharedEnvVariableFailed{} + } + return o.Failed +} + +type UpdateSharedEnvVariableResponse struct { + HTTPMeta components.HTTPMetadata `json:"-"` + Object *UpdateSharedEnvVariableResponseBody +} + +func (o *UpdateSharedEnvVariableResponse) GetHTTPMeta() components.HTTPMetadata { + if o == nil { + return components.HTTPMetadata{} + } + return o.HTTPMeta +} + +func (o *UpdateSharedEnvVariableResponse) GetObject() *UpdateSharedEnvVariableResponseBody { + if o == nil { + return nil + } + return o.Object +} diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/updatestaticips.go b/src/__tests__/mockserver/internal/sdk/models/operations/updatestaticips.go new file mode 100644 index 000000000..12a9bd054 --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/operations/updatestaticips.go @@ -0,0 +1,368 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package operations + +import ( + "encoding/json" + "errors" + "fmt" + "mockserver/internal/sdk/models/components" + "mockserver/internal/sdk/utils" +) + +type UpdateStaticIpsRequestBody2 struct { + // Whether to use Static IPs for builds. + Builds *bool `json:"builds,omitempty"` + Regions []string `json:"regions"` +} + +func (u UpdateStaticIpsRequestBody2) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(u, "", false) +} + +func (u *UpdateStaticIpsRequestBody2) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &u, "", false, []string{"regions"}); err != nil { + return err + } + return nil +} + +func (o *UpdateStaticIpsRequestBody2) GetBuilds() *bool { + if o == nil { + return nil + } + return o.Builds +} + +func (o *UpdateStaticIpsRequestBody2) GetRegions() []string { + if o == nil { + return []string{} + } + return o.Regions +} + +type UpdateStaticIpsRequestBody1 struct { + // Whether to use Static IPs for builds. + Builds bool `json:"builds"` + Regions []string `json:"regions,omitempty"` +} + +func (u UpdateStaticIpsRequestBody1) MarshalJSON() ([]byte, error) { + return utils.MarshalJSON(u, "", false) +} + +func (u *UpdateStaticIpsRequestBody1) UnmarshalJSON(data []byte) error { + if err := utils.UnmarshalJSON(data, &u, "", false, []string{"builds"}); err != nil { + return err + } + return nil +} + +func (o *UpdateStaticIpsRequestBody1) GetBuilds() bool { + if o == nil { + return false + } + return o.Builds +} + +func (o *UpdateStaticIpsRequestBody1) GetRegions() []string { + if o == nil { + return nil + } + return o.Regions +} + +type UpdateStaticIpsRequestBodyType string + +const ( + UpdateStaticIpsRequestBodyTypeUpdateStaticIpsRequestBody1 UpdateStaticIpsRequestBodyType = "updateStaticIps_RequestBody_1" + UpdateStaticIpsRequestBodyTypeUpdateStaticIpsRequestBody2 UpdateStaticIpsRequestBodyType = "updateStaticIps_RequestBody_2" +) + +type UpdateStaticIpsRequestBody struct { + UpdateStaticIpsRequestBody1 *UpdateStaticIpsRequestBody1 `queryParam:"inline"` + UpdateStaticIpsRequestBody2 *UpdateStaticIpsRequestBody2 `queryParam:"inline"` + + Type UpdateStaticIpsRequestBodyType +} + +func CreateUpdateStaticIpsRequestBodyUpdateStaticIpsRequestBody1(updateStaticIpsRequestBody1 UpdateStaticIpsRequestBody1) UpdateStaticIpsRequestBody { + typ := UpdateStaticIpsRequestBodyTypeUpdateStaticIpsRequestBody1 + + return UpdateStaticIpsRequestBody{ + UpdateStaticIpsRequestBody1: &updateStaticIpsRequestBody1, + Type: typ, + } +} + +func CreateUpdateStaticIpsRequestBodyUpdateStaticIpsRequestBody2(updateStaticIpsRequestBody2 UpdateStaticIpsRequestBody2) UpdateStaticIpsRequestBody { + typ := UpdateStaticIpsRequestBodyTypeUpdateStaticIpsRequestBody2 + + return UpdateStaticIpsRequestBody{ + UpdateStaticIpsRequestBody2: &updateStaticIpsRequestBody2, + Type: typ, + } +} + +func (u *UpdateStaticIpsRequestBody) UnmarshalJSON(data []byte) error { + + var updateStaticIpsRequestBody1 UpdateStaticIpsRequestBody1 = UpdateStaticIpsRequestBody1{} + if err := utils.UnmarshalJSON(data, &updateStaticIpsRequestBody1, "", true, nil); err == nil { + u.UpdateStaticIpsRequestBody1 = &updateStaticIpsRequestBody1 + u.Type = UpdateStaticIpsRequestBodyTypeUpdateStaticIpsRequestBody1 + return nil + } + + var updateStaticIpsRequestBody2 UpdateStaticIpsRequestBody2 = UpdateStaticIpsRequestBody2{} + if err := utils.UnmarshalJSON(data, &updateStaticIpsRequestBody2, "", true, nil); err == nil { + u.UpdateStaticIpsRequestBody2 = &updateStaticIpsRequestBody2 + u.Type = UpdateStaticIpsRequestBodyTypeUpdateStaticIpsRequestBody2 + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for UpdateStaticIpsRequestBody", string(data)) +} + +func (u UpdateStaticIpsRequestBody) MarshalJSON() ([]byte, error) { + if u.UpdateStaticIpsRequestBody1 != nil { + return utils.MarshalJSON(u.UpdateStaticIpsRequestBody1, "", true) + } + + if u.UpdateStaticIpsRequestBody2 != nil { + return utils.MarshalJSON(u.UpdateStaticIpsRequestBody2, "", true) + } + + return nil, errors.New("could not marshal union type UpdateStaticIpsRequestBody: all fields are null") +} + +type UpdateStaticIpsRequest struct { + // The unique project identifier or the project name + IDOrName string `pathParam:"style=simple,explode=false,name=idOrName"` + // The Team identifier to perform the request on behalf of. + TeamID *string `queryParam:"style=form,explode=true,name=teamId"` + // The Team slug to perform the request on behalf of. + Slug *string `queryParam:"style=form,explode=true,name=slug"` + Body *UpdateStaticIpsRequestBody `request:"mediaType=application/json"` +} + +func (o *UpdateStaticIpsRequest) GetIDOrName() string { + if o == nil { + return "" + } + return o.IDOrName +} + +func (o *UpdateStaticIpsRequest) GetTeamID() *string { + if o == nil { + return nil + } + return o.TeamID +} + +func (o *UpdateStaticIpsRequest) GetSlug() *string { + if o == nil { + return nil + } + return o.Slug +} + +func (o *UpdateStaticIpsRequest) GetBody() *UpdateStaticIpsRequestBody { + if o == nil { + return nil + } + return o.Body +} + +type UpdateStaticIpsEnvIDEnum string + +const ( + UpdateStaticIpsEnvIDEnumPreview UpdateStaticIpsEnvIDEnum = "preview" + UpdateStaticIpsEnvIDEnumProduction UpdateStaticIpsEnvIDEnum = "production" +) + +func (e UpdateStaticIpsEnvIDEnum) ToPointer() *UpdateStaticIpsEnvIDEnum { + return &e +} +func (e *UpdateStaticIpsEnvIDEnum) UnmarshalJSON(data []byte) error { + var v string + if err := json.Unmarshal(data, &v); err != nil { + return err + } + switch v { + case "preview": + fallthrough + case "production": + *e = UpdateStaticIpsEnvIDEnum(v) + return nil + default: + return fmt.Errorf("invalid value for UpdateStaticIpsEnvIDEnum: %v", v) + } +} + +type UpdateStaticIpsEnvIDUnionType string + +const ( + UpdateStaticIpsEnvIDUnionTypeStr UpdateStaticIpsEnvIDUnionType = "str" + UpdateStaticIpsEnvIDUnionTypeUpdateStaticIpsEnvIDEnum UpdateStaticIpsEnvIDUnionType = "updateStaticIps_envId_enum" +) + +type UpdateStaticIpsEnvIDUnion struct { + Str *string `queryParam:"inline"` + UpdateStaticIpsEnvIDEnum *UpdateStaticIpsEnvIDEnum `queryParam:"inline"` + + Type UpdateStaticIpsEnvIDUnionType +} + +func CreateUpdateStaticIpsEnvIDUnionStr(str string) UpdateStaticIpsEnvIDUnion { + typ := UpdateStaticIpsEnvIDUnionTypeStr + + return UpdateStaticIpsEnvIDUnion{ + Str: &str, + Type: typ, + } +} + +func CreateUpdateStaticIpsEnvIDUnionUpdateStaticIpsEnvIDEnum(updateStaticIpsEnvIDEnum UpdateStaticIpsEnvIDEnum) UpdateStaticIpsEnvIDUnion { + typ := UpdateStaticIpsEnvIDUnionTypeUpdateStaticIpsEnvIDEnum + + return UpdateStaticIpsEnvIDUnion{ + UpdateStaticIpsEnvIDEnum: &updateStaticIpsEnvIDEnum, + Type: typ, + } +} + +func (u *UpdateStaticIpsEnvIDUnion) UnmarshalJSON(data []byte) error { + + var str string = "" + if err := utils.UnmarshalJSON(data, &str, "", true, nil); err == nil { + u.Str = &str + u.Type = UpdateStaticIpsEnvIDUnionTypeStr + return nil + } + + var updateStaticIpsEnvIDEnum UpdateStaticIpsEnvIDEnum = UpdateStaticIpsEnvIDEnum("") + if err := utils.UnmarshalJSON(data, &updateStaticIpsEnvIDEnum, "", true, nil); err == nil { + u.UpdateStaticIpsEnvIDEnum = &updateStaticIpsEnvIDEnum + u.Type = UpdateStaticIpsEnvIDUnionTypeUpdateStaticIpsEnvIDEnum + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for UpdateStaticIpsEnvIDUnion", string(data)) +} + +func (u UpdateStaticIpsEnvIDUnion) MarshalJSON() ([]byte, error) { + if u.Str != nil { + return utils.MarshalJSON(u.Str, "", true) + } + + if u.UpdateStaticIpsEnvIDEnum != nil { + return utils.MarshalJSON(u.UpdateStaticIpsEnvIDEnum, "", true) + } + + return nil, errors.New("could not marshal union type UpdateStaticIpsEnvIDUnion: all fields are null") +} + +type UpdateStaticIpsAws struct { + SubnetIds []string `json:"subnetIds"` + SecurityGroupID string `json:"securityGroupId"` +} + +func (o *UpdateStaticIpsAws) GetSubnetIds() []string { + if o == nil { + return []string{} + } + return o.SubnetIds +} + +func (o *UpdateStaticIpsAws) GetSecurityGroupID() string { + if o == nil { + return "" + } + return o.SecurityGroupID +} + +type UpdateStaticIpsResponseBody struct { + EnvID UpdateStaticIpsEnvIDUnion `json:"envId"` + ConnectConfigurationID string `json:"connectConfigurationId"` + Dc *string `json:"dc,omitempty"` + Passive bool `json:"passive"` + BuildsEnabled bool `json:"buildsEnabled"` + Aws *UpdateStaticIpsAws `json:"aws,omitempty"` + CreatedAt float64 `json:"createdAt"` + UpdatedAt float64 `json:"updatedAt"` +} + +func (o *UpdateStaticIpsResponseBody) GetEnvID() UpdateStaticIpsEnvIDUnion { + if o == nil { + return UpdateStaticIpsEnvIDUnion{} + } + return o.EnvID +} + +func (o *UpdateStaticIpsResponseBody) GetConnectConfigurationID() string { + if o == nil { + return "" + } + return o.ConnectConfigurationID +} + +func (o *UpdateStaticIpsResponseBody) GetDc() *string { + if o == nil { + return nil + } + return o.Dc +} + +func (o *UpdateStaticIpsResponseBody) GetPassive() bool { + if o == nil { + return false + } + return o.Passive +} + +func (o *UpdateStaticIpsResponseBody) GetBuildsEnabled() bool { + if o == nil { + return false + } + return o.BuildsEnabled +} + +func (o *UpdateStaticIpsResponseBody) GetAws() *UpdateStaticIpsAws { + if o == nil { + return nil + } + return o.Aws +} + +func (o *UpdateStaticIpsResponseBody) GetCreatedAt() float64 { + if o == nil { + return 0.0 + } + return o.CreatedAt +} + +func (o *UpdateStaticIpsResponseBody) GetUpdatedAt() float64 { + if o == nil { + return 0.0 + } + return o.UpdatedAt +} + +type UpdateStaticIpsResponse struct { + HTTPMeta components.HTTPMetadata `json:"-"` + ResponseBodies []UpdateStaticIpsResponseBody +} + +func (o *UpdateStaticIpsResponse) GetHTTPMeta() components.HTTPMetadata { + if o == nil { + return components.HTTPMetadata{} + } + return o.HTTPMeta +} + +func (o *UpdateStaticIpsResponse) GetResponseBodies() []UpdateStaticIpsResponseBody { + if o == nil { + return nil + } + return o.ResponseBodies +} diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/updateteammember.go b/src/__tests__/mockserver/internal/sdk/models/operations/updateteammember.go index caa8683a9..836a2a7b4 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/updateteammember.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/updateteammember.go @@ -121,9 +121,9 @@ func (o *UpdateTeamMemberRequestBody) GetJoinedFrom() *UpdateTeamMemberJoinedFro type UpdateTeamMemberRequest struct { // The ID of the member. - UID string `pathParam:"style=simple,explode=false,name=uid"` - TeamID string `pathParam:"style=simple,explode=false,name=teamId"` - RequestBody UpdateTeamMemberRequestBody `request:"mediaType=application/json"` + UID string `pathParam:"style=simple,explode=false,name=uid"` + TeamID string `pathParam:"style=simple,explode=false,name=teamId"` + Body UpdateTeamMemberRequestBody `request:"mediaType=application/json"` } func (o *UpdateTeamMemberRequest) GetUID() string { @@ -140,11 +140,11 @@ func (o *UpdateTeamMemberRequest) GetTeamID() string { return o.TeamID } -func (o *UpdateTeamMemberRequest) GetRequestBody() UpdateTeamMemberRequestBody { +func (o *UpdateTeamMemberRequest) GetBody() UpdateTeamMemberRequestBody { if o == nil { return UpdateTeamMemberRequestBody{} } - return o.RequestBody + return o.Body } // UpdateTeamMemberResponseBody - Successfully updated the membership. diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/uploadartifact.go b/src/__tests__/mockserver/internal/sdk/models/operations/uploadartifact.go index bfc2d3b7e..e1d6e2492 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/uploadartifact.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/uploadartifact.go @@ -23,8 +23,8 @@ type UploadArtifactRequest struct { // The Team identifier to perform the request on behalf of. TeamID *string `queryParam:"style=form,explode=true,name=teamId"` // The Team slug to perform the request on behalf of. - Slug *string `queryParam:"style=form,explode=true,name=slug"` - RequestBody io.Reader `request:"mediaType=application/octet-stream"` + Slug *string `queryParam:"style=form,explode=true,name=slug"` + Body io.Reader `request:"mediaType=application/octet-stream"` } func (o *UploadArtifactRequest) GetContentLength() float64 { @@ -83,11 +83,11 @@ func (o *UploadArtifactRequest) GetSlug() *string { return o.Slug } -func (o *UploadArtifactRequest) GetRequestBody() io.Reader { +func (o *UploadArtifactRequest) GetBody() io.Reader { if o == nil { return nil } - return o.RequestBody + return o.Body } // UploadArtifactResponseBody - File successfully uploaded diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/uploadcert.go b/src/__tests__/mockserver/internal/sdk/models/operations/uploadcert.go index 4ef7ef60f..0a8874e45 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/uploadcert.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/uploadcert.go @@ -49,8 +49,8 @@ type UploadCertRequest struct { // The Team identifier to perform the request on behalf of. TeamID *string `queryParam:"style=form,explode=true,name=teamId"` // The Team slug to perform the request on behalf of. - Slug *string `queryParam:"style=form,explode=true,name=slug"` - RequestBody *UploadCertRequestBody `request:"mediaType=application/json"` + Slug *string `queryParam:"style=form,explode=true,name=slug"` + Body *UploadCertRequestBody `request:"mediaType=application/json"` } func (o *UploadCertRequest) GetTeamID() *string { @@ -67,11 +67,11 @@ func (o *UploadCertRequest) GetSlug() *string { return o.Slug } -func (o *UploadCertRequest) GetRequestBody() *UploadCertRequestBody { +func (o *UploadCertRequest) GetBody() *UploadCertRequestBody { if o == nil { return nil } - return o.RequestBody + return o.Body } type UploadCertResponseBody struct { diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/uploadfile.go b/src/__tests__/mockserver/internal/sdk/models/operations/uploadfile.go index 11e55a51c..e590201a2 100644 --- a/src/__tests__/mockserver/internal/sdk/models/operations/uploadfile.go +++ b/src/__tests__/mockserver/internal/sdk/models/operations/uploadfile.go @@ -22,8 +22,8 @@ type UploadFileRequest struct { // The Team identifier to perform the request on behalf of. TeamID *string `queryParam:"style=form,explode=true,name=teamId"` // The Team slug to perform the request on behalf of. - Slug *string `queryParam:"style=form,explode=true,name=slug"` - RequestBody *io.Reader `request:"mediaType=application/octet-stream"` + Slug *string `queryParam:"style=form,explode=true,name=slug"` + Body *io.Reader `request:"mediaType=application/octet-stream"` } func (o *UploadFileRequest) GetContentLength() *float64 { @@ -68,11 +68,11 @@ func (o *UploadFileRequest) GetSlug() *string { return o.Slug } -func (o *UploadFileRequest) GetRequestBody() *io.Reader { +func (o *UploadFileRequest) GetBody() *io.Reader { if o == nil { return nil } - return o.RequestBody + return o.Body } type UploadFileResponseBody2 struct { diff --git a/src/__tests__/mockserver/internal/sdk/models/operations/uploadprojectclientcert.go b/src/__tests__/mockserver/internal/sdk/models/operations/uploadprojectclientcert.go new file mode 100644 index 000000000..432ae070d --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/operations/uploadprojectclientcert.go @@ -0,0 +1,141 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package operations + +import ( + "mockserver/internal/sdk/models/components" +) + +type UploadProjectClientCertRequestBody struct { + // The client certificate in PEM format + Cert string `json:"cert"` + // The private key in PEM format + Key string `json:"key"` + // The certificate authority in PEM format + Ca string `json:"ca"` + // The origin this certificate should be used for. If not specified, the certificate will be project-wide. + Origin *string `json:"origin,omitempty"` + // Skip validation of the certificate + SkipValidation *bool `json:"skipValidation,omitempty"` +} + +func (o *UploadProjectClientCertRequestBody) GetCert() string { + if o == nil { + return "" + } + return o.Cert +} + +func (o *UploadProjectClientCertRequestBody) GetKey() string { + if o == nil { + return "" + } + return o.Key +} + +func (o *UploadProjectClientCertRequestBody) GetCa() string { + if o == nil { + return "" + } + return o.Ca +} + +func (o *UploadProjectClientCertRequestBody) GetOrigin() *string { + if o == nil { + return nil + } + return o.Origin +} + +func (o *UploadProjectClientCertRequestBody) GetSkipValidation() *bool { + if o == nil { + return nil + } + return o.SkipValidation +} + +type UploadProjectClientCertRequest struct { + // The unique project identifier or the project name + IDOrName string `pathParam:"style=simple,explode=false,name=idOrName"` + // The Team identifier to perform the request on behalf of. + TeamID *string `queryParam:"style=form,explode=true,name=teamId"` + // The Team slug to perform the request on behalf of. + Slug *string `queryParam:"style=form,explode=true,name=slug"` + Body *UploadProjectClientCertRequestBody `request:"mediaType=application/json"` +} + +func (o *UploadProjectClientCertRequest) GetIDOrName() string { + if o == nil { + return "" + } + return o.IDOrName +} + +func (o *UploadProjectClientCertRequest) GetTeamID() *string { + if o == nil { + return nil + } + return o.TeamID +} + +func (o *UploadProjectClientCertRequest) GetSlug() *string { + if o == nil { + return nil + } + return o.Slug +} + +func (o *UploadProjectClientCertRequest) GetBody() *UploadProjectClientCertRequestBody { + if o == nil { + return nil + } + return o.Body +} + +// UploadProjectClientCertResponseBody - Client certificate uploaded successfully +type UploadProjectClientCertResponseBody struct { + Updated bool `json:"updated"` + Origin string `json:"origin"` + CertID string `json:"certId"` +} + +func (o *UploadProjectClientCertResponseBody) GetUpdated() bool { + if o == nil { + return false + } + return o.Updated +} + +func (o *UploadProjectClientCertResponseBody) GetOrigin() string { + if o == nil { + return "" + } + return o.Origin +} + +func (o *UploadProjectClientCertResponseBody) GetCertID() string { + if o == nil { + return "" + } + return o.CertID +} + +type UploadProjectClientCertResponse struct { + HTTPMeta components.HTTPMetadata `json:"-"` + // Client certificate uploaded successfully + Object *UploadProjectClientCertResponseBody +} + +func (o *UploadProjectClientCertResponse) GetHTTPMeta() components.HTTPMetadata { + if o == nil { + return components.HTTPMetadata{} + } + return o.HTTPMeta +} + +func (o *UploadProjectClientCertResponse) GetObject() *UploadProjectClientCertResponseBody { + if o == nil { + return nil + } + return o.Object +} diff --git a/src/__tests__/mockserver/internal/sdk/models/sdkerrors/buydomains.go b/src/__tests__/mockserver/internal/sdk/models/sdkerrors/buydomains.go new file mode 100644 index 000000000..66e2e5756 --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/sdkerrors/buydomains.go @@ -0,0 +1,92 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package sdkerrors + +import ( + "encoding/json" + "errors" + "fmt" + "mockserver/internal/sdk/models/components" + "mockserver/internal/sdk/utils" +) + +type BuyDomainsForbiddenType string + +const ( + BuyDomainsForbiddenTypeNotAuthorizedForScopeError BuyDomainsForbiddenType = "NotAuthorizedForScope_error" + BuyDomainsForbiddenTypeForbiddenError BuyDomainsForbiddenType = "Forbidden_error" +) + +// BuyDomainsForbidden - NotAuthorizedForScope +type BuyDomainsForbidden struct { + NotAuthorizedForScopeError *NotAuthorizedForScopeError `queryParam:"inline"` + ForbiddenError *ForbiddenError `queryParam:"inline"` + + Type BuyDomainsForbiddenType + + HTTPMeta components.HTTPMetadata `json:"-"` +} + +var _ error = &BuyDomainsForbidden{} + +func CreateBuyDomainsForbiddenNotAuthorizedForScopeError(notAuthorizedForScopeError NotAuthorizedForScopeError) BuyDomainsForbidden { + typ := BuyDomainsForbiddenTypeNotAuthorizedForScopeError + + return BuyDomainsForbidden{ + NotAuthorizedForScopeError: ¬AuthorizedForScopeError, + Type: typ, + } +} + +func CreateBuyDomainsForbiddenForbiddenError(forbiddenError ForbiddenError) BuyDomainsForbidden { + typ := BuyDomainsForbiddenTypeForbiddenError + + return BuyDomainsForbidden{ + ForbiddenError: &forbiddenError, + Type: typ, + } +} + +func (u *BuyDomainsForbidden) UnmarshalJSON(data []byte) error { + + var notAuthorizedForScopeError NotAuthorizedForScopeError = NotAuthorizedForScopeError{} + if err := utils.UnmarshalJSON(data, ¬AuthorizedForScopeError, "", true, nil); err == nil { + u.NotAuthorizedForScopeError = ¬AuthorizedForScopeError + u.Type = BuyDomainsForbiddenTypeNotAuthorizedForScopeError + return nil + } + + var forbiddenError ForbiddenError = ForbiddenError{} + if err := utils.UnmarshalJSON(data, &forbiddenError, "", true, nil); err == nil { + u.ForbiddenError = &forbiddenError + u.Type = BuyDomainsForbiddenTypeForbiddenError + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for BuyDomainsForbidden", string(data)) +} + +func (u BuyDomainsForbidden) MarshalJSON() ([]byte, error) { + if u.NotAuthorizedForScopeError != nil { + return utils.MarshalJSON(u.NotAuthorizedForScopeError, "", true) + } + + if u.ForbiddenError != nil { + return utils.MarshalJSON(u.ForbiddenError, "", true) + } + + return nil, errors.New("could not marshal union type BuyDomainsForbidden: all fields are null") +} + +func (u BuyDomainsForbidden) Error() string { + switch u.Type { + case BuyDomainsForbiddenTypeNotAuthorizedForScopeError: + data, _ := json.Marshal(u.NotAuthorizedForScopeError) + return string(data) + case BuyDomainsForbiddenTypeForbiddenError: + data, _ := json.Marshal(u.ForbiddenError) + return string(data) + default: + return "unknown error" + } +} diff --git a/src/__tests__/mockserver/internal/sdk/models/sdkerrors/buysingledomain.go b/src/__tests__/mockserver/internal/sdk/models/sdkerrors/buysingledomain.go new file mode 100644 index 000000000..df7991dcf --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/sdkerrors/buysingledomain.go @@ -0,0 +1,92 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package sdkerrors + +import ( + "encoding/json" + "errors" + "fmt" + "mockserver/internal/sdk/models/components" + "mockserver/internal/sdk/utils" +) + +type BuySingleDomainForbiddenType string + +const ( + BuySingleDomainForbiddenTypeNotAuthorizedForScopeError BuySingleDomainForbiddenType = "NotAuthorizedForScope_error" + BuySingleDomainForbiddenTypeForbiddenError BuySingleDomainForbiddenType = "Forbidden_error" +) + +// BuySingleDomainForbidden - NotAuthorizedForScope +type BuySingleDomainForbidden struct { + NotAuthorizedForScopeError *NotAuthorizedForScopeError `queryParam:"inline"` + ForbiddenError *ForbiddenError `queryParam:"inline"` + + Type BuySingleDomainForbiddenType + + HTTPMeta components.HTTPMetadata `json:"-"` +} + +var _ error = &BuySingleDomainForbidden{} + +func CreateBuySingleDomainForbiddenNotAuthorizedForScopeError(notAuthorizedForScopeError NotAuthorizedForScopeError) BuySingleDomainForbidden { + typ := BuySingleDomainForbiddenTypeNotAuthorizedForScopeError + + return BuySingleDomainForbidden{ + NotAuthorizedForScopeError: ¬AuthorizedForScopeError, + Type: typ, + } +} + +func CreateBuySingleDomainForbiddenForbiddenError(forbiddenError ForbiddenError) BuySingleDomainForbidden { + typ := BuySingleDomainForbiddenTypeForbiddenError + + return BuySingleDomainForbidden{ + ForbiddenError: &forbiddenError, + Type: typ, + } +} + +func (u *BuySingleDomainForbidden) UnmarshalJSON(data []byte) error { + + var notAuthorizedForScopeError NotAuthorizedForScopeError = NotAuthorizedForScopeError{} + if err := utils.UnmarshalJSON(data, ¬AuthorizedForScopeError, "", true, nil); err == nil { + u.NotAuthorizedForScopeError = ¬AuthorizedForScopeError + u.Type = BuySingleDomainForbiddenTypeNotAuthorizedForScopeError + return nil + } + + var forbiddenError ForbiddenError = ForbiddenError{} + if err := utils.UnmarshalJSON(data, &forbiddenError, "", true, nil); err == nil { + u.ForbiddenError = &forbiddenError + u.Type = BuySingleDomainForbiddenTypeForbiddenError + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for BuySingleDomainForbidden", string(data)) +} + +func (u BuySingleDomainForbidden) MarshalJSON() ([]byte, error) { + if u.NotAuthorizedForScopeError != nil { + return utils.MarshalJSON(u.NotAuthorizedForScopeError, "", true) + } + + if u.ForbiddenError != nil { + return utils.MarshalJSON(u.ForbiddenError, "", true) + } + + return nil, errors.New("could not marshal union type BuySingleDomainForbidden: all fields are null") +} + +func (u BuySingleDomainForbidden) Error() string { + switch u.Type { + case BuySingleDomainForbiddenTypeNotAuthorizedForScopeError: + data, _ := json.Marshal(u.NotAuthorizedForScopeError) + return string(data) + case BuySingleDomainForbiddenTypeForbiddenError: + data, _ := json.Marshal(u.ForbiddenError) + return string(data) + default: + return "unknown error" + } +} diff --git a/src/__tests__/mockserver/internal/sdk/models/sdkerrors/forbiddenerror.go b/src/__tests__/mockserver/internal/sdk/models/sdkerrors/forbiddenerror.go new file mode 100644 index 000000000..cd776a65a --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/sdkerrors/forbiddenerror.go @@ -0,0 +1,22 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package sdkerrors + +import ( + "encoding/json" + "mockserver/internal/sdk/models/components" +) + +type ForbiddenError struct { + Status float64 `json:"status"` + Code components.ForbiddenCode `json:"code"` + Message string `json:"message"` + HTTPMeta components.HTTPMetadata `json:"-"` +} + +var _ error = &ForbiddenError{} + +func (e *ForbiddenError) Error() string { + data, _ := json.Marshal(e) + return string(data) +} diff --git a/src/__tests__/mockserver/internal/sdk/models/sdkerrors/getdomainauthcode.go b/src/__tests__/mockserver/internal/sdk/models/sdkerrors/getdomainauthcode.go new file mode 100644 index 000000000..a90cb6890 --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/sdkerrors/getdomainauthcode.go @@ -0,0 +1,92 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package sdkerrors + +import ( + "encoding/json" + "errors" + "fmt" + "mockserver/internal/sdk/models/components" + "mockserver/internal/sdk/utils" +) + +type GetDomainAuthCodeForbiddenType string + +const ( + GetDomainAuthCodeForbiddenTypeNotAuthorizedForScopeError GetDomainAuthCodeForbiddenType = "NotAuthorizedForScope_error" + GetDomainAuthCodeForbiddenTypeForbiddenError GetDomainAuthCodeForbiddenType = "Forbidden_error" +) + +// GetDomainAuthCodeForbidden - NotAuthorizedForScope +type GetDomainAuthCodeForbidden struct { + NotAuthorizedForScopeError *NotAuthorizedForScopeError `queryParam:"inline"` + ForbiddenError *ForbiddenError `queryParam:"inline"` + + Type GetDomainAuthCodeForbiddenType + + HTTPMeta components.HTTPMetadata `json:"-"` +} + +var _ error = &GetDomainAuthCodeForbidden{} + +func CreateGetDomainAuthCodeForbiddenNotAuthorizedForScopeError(notAuthorizedForScopeError NotAuthorizedForScopeError) GetDomainAuthCodeForbidden { + typ := GetDomainAuthCodeForbiddenTypeNotAuthorizedForScopeError + + return GetDomainAuthCodeForbidden{ + NotAuthorizedForScopeError: ¬AuthorizedForScopeError, + Type: typ, + } +} + +func CreateGetDomainAuthCodeForbiddenForbiddenError(forbiddenError ForbiddenError) GetDomainAuthCodeForbidden { + typ := GetDomainAuthCodeForbiddenTypeForbiddenError + + return GetDomainAuthCodeForbidden{ + ForbiddenError: &forbiddenError, + Type: typ, + } +} + +func (u *GetDomainAuthCodeForbidden) UnmarshalJSON(data []byte) error { + + var notAuthorizedForScopeError NotAuthorizedForScopeError = NotAuthorizedForScopeError{} + if err := utils.UnmarshalJSON(data, ¬AuthorizedForScopeError, "", true, nil); err == nil { + u.NotAuthorizedForScopeError = ¬AuthorizedForScopeError + u.Type = GetDomainAuthCodeForbiddenTypeNotAuthorizedForScopeError + return nil + } + + var forbiddenError ForbiddenError = ForbiddenError{} + if err := utils.UnmarshalJSON(data, &forbiddenError, "", true, nil); err == nil { + u.ForbiddenError = &forbiddenError + u.Type = GetDomainAuthCodeForbiddenTypeForbiddenError + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for GetDomainAuthCodeForbidden", string(data)) +} + +func (u GetDomainAuthCodeForbidden) MarshalJSON() ([]byte, error) { + if u.NotAuthorizedForScopeError != nil { + return utils.MarshalJSON(u.NotAuthorizedForScopeError, "", true) + } + + if u.ForbiddenError != nil { + return utils.MarshalJSON(u.ForbiddenError, "", true) + } + + return nil, errors.New("could not marshal union type GetDomainAuthCodeForbidden: all fields are null") +} + +func (u GetDomainAuthCodeForbidden) Error() string { + switch u.Type { + case GetDomainAuthCodeForbiddenTypeNotAuthorizedForScopeError: + data, _ := json.Marshal(u.NotAuthorizedForScopeError) + return string(data) + case GetDomainAuthCodeForbiddenTypeForbiddenError: + data, _ := json.Marshal(u.ForbiddenError) + return string(data) + default: + return "unknown error" + } +} diff --git a/src/__tests__/mockserver/internal/sdk/models/sdkerrors/getdomaintransferin.go b/src/__tests__/mockserver/internal/sdk/models/sdkerrors/getdomaintransferin.go new file mode 100644 index 000000000..659bb4755 --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/sdkerrors/getdomaintransferin.go @@ -0,0 +1,92 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package sdkerrors + +import ( + "encoding/json" + "errors" + "fmt" + "mockserver/internal/sdk/models/components" + "mockserver/internal/sdk/utils" +) + +type GetDomainTransferInForbiddenType string + +const ( + GetDomainTransferInForbiddenTypeNotAuthorizedForScopeError GetDomainTransferInForbiddenType = "NotAuthorizedForScope_error" + GetDomainTransferInForbiddenTypeForbiddenError GetDomainTransferInForbiddenType = "Forbidden_error" +) + +// GetDomainTransferInForbidden - NotAuthorizedForScope +type GetDomainTransferInForbidden struct { + NotAuthorizedForScopeError *NotAuthorizedForScopeError `queryParam:"inline"` + ForbiddenError *ForbiddenError `queryParam:"inline"` + + Type GetDomainTransferInForbiddenType + + HTTPMeta components.HTTPMetadata `json:"-"` +} + +var _ error = &GetDomainTransferInForbidden{} + +func CreateGetDomainTransferInForbiddenNotAuthorizedForScopeError(notAuthorizedForScopeError NotAuthorizedForScopeError) GetDomainTransferInForbidden { + typ := GetDomainTransferInForbiddenTypeNotAuthorizedForScopeError + + return GetDomainTransferInForbidden{ + NotAuthorizedForScopeError: ¬AuthorizedForScopeError, + Type: typ, + } +} + +func CreateGetDomainTransferInForbiddenForbiddenError(forbiddenError ForbiddenError) GetDomainTransferInForbidden { + typ := GetDomainTransferInForbiddenTypeForbiddenError + + return GetDomainTransferInForbidden{ + ForbiddenError: &forbiddenError, + Type: typ, + } +} + +func (u *GetDomainTransferInForbidden) UnmarshalJSON(data []byte) error { + + var notAuthorizedForScopeError NotAuthorizedForScopeError = NotAuthorizedForScopeError{} + if err := utils.UnmarshalJSON(data, ¬AuthorizedForScopeError, "", true, nil); err == nil { + u.NotAuthorizedForScopeError = ¬AuthorizedForScopeError + u.Type = GetDomainTransferInForbiddenTypeNotAuthorizedForScopeError + return nil + } + + var forbiddenError ForbiddenError = ForbiddenError{} + if err := utils.UnmarshalJSON(data, &forbiddenError, "", true, nil); err == nil { + u.ForbiddenError = &forbiddenError + u.Type = GetDomainTransferInForbiddenTypeForbiddenError + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for GetDomainTransferInForbidden", string(data)) +} + +func (u GetDomainTransferInForbidden) MarshalJSON() ([]byte, error) { + if u.NotAuthorizedForScopeError != nil { + return utils.MarshalJSON(u.NotAuthorizedForScopeError, "", true) + } + + if u.ForbiddenError != nil { + return utils.MarshalJSON(u.ForbiddenError, "", true) + } + + return nil, errors.New("could not marshal union type GetDomainTransferInForbidden: all fields are null") +} + +func (u GetDomainTransferInForbidden) Error() string { + switch u.Type { + case GetDomainTransferInForbiddenTypeNotAuthorizedForScopeError: + data, _ := json.Marshal(u.NotAuthorizedForScopeError) + return string(data) + case GetDomainTransferInForbiddenTypeForbiddenError: + data, _ := json.Marshal(u.ForbiddenError) + return string(data) + default: + return "unknown error" + } +} diff --git a/src/__tests__/mockserver/internal/sdk/models/sdkerrors/getorder.go b/src/__tests__/mockserver/internal/sdk/models/sdkerrors/getorder.go new file mode 100644 index 000000000..875cda9d7 --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/sdkerrors/getorder.go @@ -0,0 +1,92 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package sdkerrors + +import ( + "encoding/json" + "errors" + "fmt" + "mockserver/internal/sdk/models/components" + "mockserver/internal/sdk/utils" +) + +type GetOrderForbiddenType string + +const ( + GetOrderForbiddenTypeNotAuthorizedForScopeError GetOrderForbiddenType = "NotAuthorizedForScope_error" + GetOrderForbiddenTypeForbiddenError GetOrderForbiddenType = "Forbidden_error" +) + +// GetOrderForbidden - NotAuthorizedForScope +type GetOrderForbidden struct { + NotAuthorizedForScopeError *NotAuthorizedForScopeError `queryParam:"inline"` + ForbiddenError *ForbiddenError `queryParam:"inline"` + + Type GetOrderForbiddenType + + HTTPMeta components.HTTPMetadata `json:"-"` +} + +var _ error = &GetOrderForbidden{} + +func CreateGetOrderForbiddenNotAuthorizedForScopeError(notAuthorizedForScopeError NotAuthorizedForScopeError) GetOrderForbidden { + typ := GetOrderForbiddenTypeNotAuthorizedForScopeError + + return GetOrderForbidden{ + NotAuthorizedForScopeError: ¬AuthorizedForScopeError, + Type: typ, + } +} + +func CreateGetOrderForbiddenForbiddenError(forbiddenError ForbiddenError) GetOrderForbidden { + typ := GetOrderForbiddenTypeForbiddenError + + return GetOrderForbidden{ + ForbiddenError: &forbiddenError, + Type: typ, + } +} + +func (u *GetOrderForbidden) UnmarshalJSON(data []byte) error { + + var notAuthorizedForScopeError NotAuthorizedForScopeError = NotAuthorizedForScopeError{} + if err := utils.UnmarshalJSON(data, ¬AuthorizedForScopeError, "", true, nil); err == nil { + u.NotAuthorizedForScopeError = ¬AuthorizedForScopeError + u.Type = GetOrderForbiddenTypeNotAuthorizedForScopeError + return nil + } + + var forbiddenError ForbiddenError = ForbiddenError{} + if err := utils.UnmarshalJSON(data, &forbiddenError, "", true, nil); err == nil { + u.ForbiddenError = &forbiddenError + u.Type = GetOrderForbiddenTypeForbiddenError + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for GetOrderForbidden", string(data)) +} + +func (u GetOrderForbidden) MarshalJSON() ([]byte, error) { + if u.NotAuthorizedForScopeError != nil { + return utils.MarshalJSON(u.NotAuthorizedForScopeError, "", true) + } + + if u.ForbiddenError != nil { + return utils.MarshalJSON(u.ForbiddenError, "", true) + } + + return nil, errors.New("could not marshal union type GetOrderForbidden: all fields are null") +} + +func (u GetOrderForbidden) Error() string { + switch u.Type { + case GetOrderForbiddenTypeNotAuthorizedForScopeError: + data, _ := json.Marshal(u.NotAuthorizedForScopeError) + return string(data) + case GetOrderForbiddenTypeForbiddenError: + data, _ := json.Marshal(u.ForbiddenError) + return string(data) + default: + return "unknown error" + } +} diff --git a/src/__tests__/mockserver/internal/sdk/models/sdkerrors/internalservererror.go b/src/__tests__/mockserver/internal/sdk/models/sdkerrors/internalservererror.go new file mode 100644 index 000000000..7c17a6fda --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/sdkerrors/internalservererror.go @@ -0,0 +1,22 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package sdkerrors + +import ( + "encoding/json" + "mockserver/internal/sdk/models/components" +) + +type InternalServerError struct { + Status float64 `json:"status"` + Code components.InternalServerErrorCode `json:"code"` + Message string `json:"message"` + HTTPMeta components.HTTPMetadata `json:"-"` +} + +var _ error = &InternalServerError{} + +func (e *InternalServerError) Error() string { + data, _ := json.Marshal(e) + return string(data) +} diff --git a/src/__tests__/mockserver/internal/sdk/models/sdkerrors/notauthorizedforscopeerror.go b/src/__tests__/mockserver/internal/sdk/models/sdkerrors/notauthorizedforscopeerror.go new file mode 100644 index 000000000..ccc201439 --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/sdkerrors/notauthorizedforscopeerror.go @@ -0,0 +1,22 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package sdkerrors + +import ( + "encoding/json" + "mockserver/internal/sdk/models/components" +) + +type NotAuthorizedForScopeError struct { + Status float64 `json:"status"` + Code components.NotAuthorizedForScopeCode `json:"code"` + Message string `json:"message"` + HTTPMeta components.HTTPMetadata `json:"-"` +} + +var _ error = &NotAuthorizedForScopeError{} + +func (e *NotAuthorizedForScopeError) Error() string { + data, _ := json.Marshal(e) + return string(data) +} diff --git a/src/__tests__/mockserver/internal/sdk/models/sdkerrors/renewdomain.go b/src/__tests__/mockserver/internal/sdk/models/sdkerrors/renewdomain.go new file mode 100644 index 000000000..73eb1c398 --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/sdkerrors/renewdomain.go @@ -0,0 +1,92 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package sdkerrors + +import ( + "encoding/json" + "errors" + "fmt" + "mockserver/internal/sdk/models/components" + "mockserver/internal/sdk/utils" +) + +type RenewDomainForbiddenType string + +const ( + RenewDomainForbiddenTypeNotAuthorizedForScopeError RenewDomainForbiddenType = "NotAuthorizedForScope_error" + RenewDomainForbiddenTypeForbiddenError RenewDomainForbiddenType = "Forbidden_error" +) + +// RenewDomainForbidden - NotAuthorizedForScope +type RenewDomainForbidden struct { + NotAuthorizedForScopeError *NotAuthorizedForScopeError `queryParam:"inline"` + ForbiddenError *ForbiddenError `queryParam:"inline"` + + Type RenewDomainForbiddenType + + HTTPMeta components.HTTPMetadata `json:"-"` +} + +var _ error = &RenewDomainForbidden{} + +func CreateRenewDomainForbiddenNotAuthorizedForScopeError(notAuthorizedForScopeError NotAuthorizedForScopeError) RenewDomainForbidden { + typ := RenewDomainForbiddenTypeNotAuthorizedForScopeError + + return RenewDomainForbidden{ + NotAuthorizedForScopeError: ¬AuthorizedForScopeError, + Type: typ, + } +} + +func CreateRenewDomainForbiddenForbiddenError(forbiddenError ForbiddenError) RenewDomainForbidden { + typ := RenewDomainForbiddenTypeForbiddenError + + return RenewDomainForbidden{ + ForbiddenError: &forbiddenError, + Type: typ, + } +} + +func (u *RenewDomainForbidden) UnmarshalJSON(data []byte) error { + + var notAuthorizedForScopeError NotAuthorizedForScopeError = NotAuthorizedForScopeError{} + if err := utils.UnmarshalJSON(data, ¬AuthorizedForScopeError, "", true, nil); err == nil { + u.NotAuthorizedForScopeError = ¬AuthorizedForScopeError + u.Type = RenewDomainForbiddenTypeNotAuthorizedForScopeError + return nil + } + + var forbiddenError ForbiddenError = ForbiddenError{} + if err := utils.UnmarshalJSON(data, &forbiddenError, "", true, nil); err == nil { + u.ForbiddenError = &forbiddenError + u.Type = RenewDomainForbiddenTypeForbiddenError + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for RenewDomainForbidden", string(data)) +} + +func (u RenewDomainForbidden) MarshalJSON() ([]byte, error) { + if u.NotAuthorizedForScopeError != nil { + return utils.MarshalJSON(u.NotAuthorizedForScopeError, "", true) + } + + if u.ForbiddenError != nil { + return utils.MarshalJSON(u.ForbiddenError, "", true) + } + + return nil, errors.New("could not marshal union type RenewDomainForbidden: all fields are null") +} + +func (u RenewDomainForbidden) Error() string { + switch u.Type { + case RenewDomainForbiddenTypeNotAuthorizedForScopeError: + data, _ := json.Marshal(u.NotAuthorizedForScopeError) + return string(data) + case RenewDomainForbiddenTypeForbiddenError: + data, _ := json.Marshal(u.ForbiddenError) + return string(data) + default: + return "unknown error" + } +} diff --git a/src/__tests__/mockserver/internal/sdk/models/sdkerrors/transferindomain.go b/src/__tests__/mockserver/internal/sdk/models/sdkerrors/transferindomain.go new file mode 100644 index 000000000..3271d6b84 --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/sdkerrors/transferindomain.go @@ -0,0 +1,92 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package sdkerrors + +import ( + "encoding/json" + "errors" + "fmt" + "mockserver/internal/sdk/models/components" + "mockserver/internal/sdk/utils" +) + +type TransferInDomainForbiddenType string + +const ( + TransferInDomainForbiddenTypeNotAuthorizedForScopeError TransferInDomainForbiddenType = "NotAuthorizedForScope_error" + TransferInDomainForbiddenTypeForbiddenError TransferInDomainForbiddenType = "Forbidden_error" +) + +// TransferInDomainForbidden - NotAuthorizedForScope +type TransferInDomainForbidden struct { + NotAuthorizedForScopeError *NotAuthorizedForScopeError `queryParam:"inline"` + ForbiddenError *ForbiddenError `queryParam:"inline"` + + Type TransferInDomainForbiddenType + + HTTPMeta components.HTTPMetadata `json:"-"` +} + +var _ error = &TransferInDomainForbidden{} + +func CreateTransferInDomainForbiddenNotAuthorizedForScopeError(notAuthorizedForScopeError NotAuthorizedForScopeError) TransferInDomainForbidden { + typ := TransferInDomainForbiddenTypeNotAuthorizedForScopeError + + return TransferInDomainForbidden{ + NotAuthorizedForScopeError: ¬AuthorizedForScopeError, + Type: typ, + } +} + +func CreateTransferInDomainForbiddenForbiddenError(forbiddenError ForbiddenError) TransferInDomainForbidden { + typ := TransferInDomainForbiddenTypeForbiddenError + + return TransferInDomainForbidden{ + ForbiddenError: &forbiddenError, + Type: typ, + } +} + +func (u *TransferInDomainForbidden) UnmarshalJSON(data []byte) error { + + var notAuthorizedForScopeError NotAuthorizedForScopeError = NotAuthorizedForScopeError{} + if err := utils.UnmarshalJSON(data, ¬AuthorizedForScopeError, "", true, nil); err == nil { + u.NotAuthorizedForScopeError = ¬AuthorizedForScopeError + u.Type = TransferInDomainForbiddenTypeNotAuthorizedForScopeError + return nil + } + + var forbiddenError ForbiddenError = ForbiddenError{} + if err := utils.UnmarshalJSON(data, &forbiddenError, "", true, nil); err == nil { + u.ForbiddenError = &forbiddenError + u.Type = TransferInDomainForbiddenTypeForbiddenError + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for TransferInDomainForbidden", string(data)) +} + +func (u TransferInDomainForbidden) MarshalJSON() ([]byte, error) { + if u.NotAuthorizedForScopeError != nil { + return utils.MarshalJSON(u.NotAuthorizedForScopeError, "", true) + } + + if u.ForbiddenError != nil { + return utils.MarshalJSON(u.ForbiddenError, "", true) + } + + return nil, errors.New("could not marshal union type TransferInDomainForbidden: all fields are null") +} + +func (u TransferInDomainForbidden) Error() string { + switch u.Type { + case TransferInDomainForbiddenTypeNotAuthorizedForScopeError: + data, _ := json.Marshal(u.NotAuthorizedForScopeError) + return string(data) + case TransferInDomainForbiddenTypeForbiddenError: + data, _ := json.Marshal(u.ForbiddenError) + return string(data) + default: + return "unknown error" + } +} diff --git a/src/__tests__/mockserver/internal/sdk/models/sdkerrors/updatedomainautorenew.go b/src/__tests__/mockserver/internal/sdk/models/sdkerrors/updatedomainautorenew.go new file mode 100644 index 000000000..443dee7ff --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/sdkerrors/updatedomainautorenew.go @@ -0,0 +1,92 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package sdkerrors + +import ( + "encoding/json" + "errors" + "fmt" + "mockserver/internal/sdk/models/components" + "mockserver/internal/sdk/utils" +) + +type UpdateDomainAutoRenewForbiddenType string + +const ( + UpdateDomainAutoRenewForbiddenTypeNotAuthorizedForScopeError UpdateDomainAutoRenewForbiddenType = "NotAuthorizedForScope_error" + UpdateDomainAutoRenewForbiddenTypeForbiddenError UpdateDomainAutoRenewForbiddenType = "Forbidden_error" +) + +// UpdateDomainAutoRenewForbidden - NotAuthorizedForScope +type UpdateDomainAutoRenewForbidden struct { + NotAuthorizedForScopeError *NotAuthorizedForScopeError `queryParam:"inline"` + ForbiddenError *ForbiddenError `queryParam:"inline"` + + Type UpdateDomainAutoRenewForbiddenType + + HTTPMeta components.HTTPMetadata `json:"-"` +} + +var _ error = &UpdateDomainAutoRenewForbidden{} + +func CreateUpdateDomainAutoRenewForbiddenNotAuthorizedForScopeError(notAuthorizedForScopeError NotAuthorizedForScopeError) UpdateDomainAutoRenewForbidden { + typ := UpdateDomainAutoRenewForbiddenTypeNotAuthorizedForScopeError + + return UpdateDomainAutoRenewForbidden{ + NotAuthorizedForScopeError: ¬AuthorizedForScopeError, + Type: typ, + } +} + +func CreateUpdateDomainAutoRenewForbiddenForbiddenError(forbiddenError ForbiddenError) UpdateDomainAutoRenewForbidden { + typ := UpdateDomainAutoRenewForbiddenTypeForbiddenError + + return UpdateDomainAutoRenewForbidden{ + ForbiddenError: &forbiddenError, + Type: typ, + } +} + +func (u *UpdateDomainAutoRenewForbidden) UnmarshalJSON(data []byte) error { + + var notAuthorizedForScopeError NotAuthorizedForScopeError = NotAuthorizedForScopeError{} + if err := utils.UnmarshalJSON(data, ¬AuthorizedForScopeError, "", true, nil); err == nil { + u.NotAuthorizedForScopeError = ¬AuthorizedForScopeError + u.Type = UpdateDomainAutoRenewForbiddenTypeNotAuthorizedForScopeError + return nil + } + + var forbiddenError ForbiddenError = ForbiddenError{} + if err := utils.UnmarshalJSON(data, &forbiddenError, "", true, nil); err == nil { + u.ForbiddenError = &forbiddenError + u.Type = UpdateDomainAutoRenewForbiddenTypeForbiddenError + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for UpdateDomainAutoRenewForbidden", string(data)) +} + +func (u UpdateDomainAutoRenewForbidden) MarshalJSON() ([]byte, error) { + if u.NotAuthorizedForScopeError != nil { + return utils.MarshalJSON(u.NotAuthorizedForScopeError, "", true) + } + + if u.ForbiddenError != nil { + return utils.MarshalJSON(u.ForbiddenError, "", true) + } + + return nil, errors.New("could not marshal union type UpdateDomainAutoRenewForbidden: all fields are null") +} + +func (u UpdateDomainAutoRenewForbidden) Error() string { + switch u.Type { + case UpdateDomainAutoRenewForbiddenTypeNotAuthorizedForScopeError: + data, _ := json.Marshal(u.NotAuthorizedForScopeError) + return string(data) + case UpdateDomainAutoRenewForbiddenTypeForbiddenError: + data, _ := json.Marshal(u.ForbiddenError) + return string(data) + default: + return "unknown error" + } +} diff --git a/src/__tests__/mockserver/internal/sdk/models/sdkerrors/updatedomainnameservers.go b/src/__tests__/mockserver/internal/sdk/models/sdkerrors/updatedomainnameservers.go new file mode 100644 index 000000000..2536653f1 --- /dev/null +++ b/src/__tests__/mockserver/internal/sdk/models/sdkerrors/updatedomainnameservers.go @@ -0,0 +1,92 @@ +// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +package sdkerrors + +import ( + "encoding/json" + "errors" + "fmt" + "mockserver/internal/sdk/models/components" + "mockserver/internal/sdk/utils" +) + +type UpdateDomainNameserversForbiddenType string + +const ( + UpdateDomainNameserversForbiddenTypeNotAuthorizedForScopeError UpdateDomainNameserversForbiddenType = "NotAuthorizedForScope_error" + UpdateDomainNameserversForbiddenTypeForbiddenError UpdateDomainNameserversForbiddenType = "Forbidden_error" +) + +// UpdateDomainNameserversForbidden - NotAuthorizedForScope +type UpdateDomainNameserversForbidden struct { + NotAuthorizedForScopeError *NotAuthorizedForScopeError `queryParam:"inline"` + ForbiddenError *ForbiddenError `queryParam:"inline"` + + Type UpdateDomainNameserversForbiddenType + + HTTPMeta components.HTTPMetadata `json:"-"` +} + +var _ error = &UpdateDomainNameserversForbidden{} + +func CreateUpdateDomainNameserversForbiddenNotAuthorizedForScopeError(notAuthorizedForScopeError NotAuthorizedForScopeError) UpdateDomainNameserversForbidden { + typ := UpdateDomainNameserversForbiddenTypeNotAuthorizedForScopeError + + return UpdateDomainNameserversForbidden{ + NotAuthorizedForScopeError: ¬AuthorizedForScopeError, + Type: typ, + } +} + +func CreateUpdateDomainNameserversForbiddenForbiddenError(forbiddenError ForbiddenError) UpdateDomainNameserversForbidden { + typ := UpdateDomainNameserversForbiddenTypeForbiddenError + + return UpdateDomainNameserversForbidden{ + ForbiddenError: &forbiddenError, + Type: typ, + } +} + +func (u *UpdateDomainNameserversForbidden) UnmarshalJSON(data []byte) error { + + var notAuthorizedForScopeError NotAuthorizedForScopeError = NotAuthorizedForScopeError{} + if err := utils.UnmarshalJSON(data, ¬AuthorizedForScopeError, "", true, nil); err == nil { + u.NotAuthorizedForScopeError = ¬AuthorizedForScopeError + u.Type = UpdateDomainNameserversForbiddenTypeNotAuthorizedForScopeError + return nil + } + + var forbiddenError ForbiddenError = ForbiddenError{} + if err := utils.UnmarshalJSON(data, &forbiddenError, "", true, nil); err == nil { + u.ForbiddenError = &forbiddenError + u.Type = UpdateDomainNameserversForbiddenTypeForbiddenError + return nil + } + + return fmt.Errorf("could not unmarshal `%s` into any supported union types for UpdateDomainNameserversForbidden", string(data)) +} + +func (u UpdateDomainNameserversForbidden) MarshalJSON() ([]byte, error) { + if u.NotAuthorizedForScopeError != nil { + return utils.MarshalJSON(u.NotAuthorizedForScopeError, "", true) + } + + if u.ForbiddenError != nil { + return utils.MarshalJSON(u.ForbiddenError, "", true) + } + + return nil, errors.New("could not marshal union type UpdateDomainNameserversForbidden: all fields are null") +} + +func (u UpdateDomainNameserversForbidden) Error() string { + switch u.Type { + case UpdateDomainNameserversForbiddenTypeNotAuthorizedForScopeError: + data, _ := json.Marshal(u.NotAuthorizedForScopeError) + return string(data) + case UpdateDomainNameserversForbiddenTypeForbiddenError: + data, _ := json.Marshal(u.ForbiddenError) + return string(data) + default: + return "unknown error" + } +} diff --git a/src/__tests__/projects.test.ts b/src/__tests__/projects.test.ts index 9933191c3..d83dc40fe 100644 --- a/src/__tests__/projects.test.ts +++ b/src/__tests__/projects.test.ts @@ -967,3 +967,73 @@ test("Projects Batch Remove Project Env", async () => { ], }); }); + +test("Projects Upload Project Client Cert", async () => { + const testHttpClient = createTestHTTPClient("uploadProjectClientCert"); + + const vercel = new Vercel({ + serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080", + httpClient: testHttpClient, + bearerToken: "", + }); + + const result = await vercel.projects.uploadProjectClientCert({ + idOrName: "prj_XLKmu1DyR1eY7zq8UgeRKbA7yVLA", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + slug: "my-team-url-slug", + requestBody: { + cert: "-----BEGIN CERTIFICATE-----\\n...\\n-----END CERTIFICATE-----", + key: "-----BEGIN PRIVATE KEY-----\\n...\\n-----END PRIVATE KEY-----", + ca: "-----BEGIN CERTIFICATE-----\\n...\\n-----END CERTIFICATE-----", + origin: "https://api.example.com", + }, + }); + expect(result).toBeDefined(); + expect(result).toEqual({ + updated: false, + origin: "", + certId: "", + }); +}); + +test("Projects Get Project Client Certs", async () => { + const testHttpClient = createTestHTTPClient("getProjectClientCerts"); + + const vercel = new Vercel({ + serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080", + httpClient: testHttpClient, + bearerToken: "", + }); + + const result = await vercel.projects.getProjectClientCerts({ + idOrName: "prj_XLKmu1DyR1eY7zq8UgeRKbA7yVLA", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + slug: "my-team-url-slug", + }); + expect(result).toBeDefined(); + expect(result).toEqual({ + clientCerts: [], + }); +}); + +test("Projects Delete Project Client Cert", async () => { + const testHttpClient = createTestHTTPClient("deleteProjectClientCert"); + + const vercel = new Vercel({ + serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080", + httpClient: testHttpClient, + bearerToken: "", + }); + + const result = await vercel.projects.deleteProjectClientCert({ + idOrName: "prj_XLKmu1DyR1eY7zq8UgeRKbA7yVLA", + certId: "cert_a1b2c3d4e5f6g7h8", + teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", + slug: "my-team-url-slug", + }); + expect(result).toBeDefined(); + expect(result).toEqual({ + origin: "", + certId: "", + }); +}); diff --git a/src/__tests__/rollingrelease.test.ts b/src/__tests__/rollingrelease.test.ts index c50f5fc8c..fd9b53ad6 100644 --- a/src/__tests__/rollingrelease.test.ts +++ b/src/__tests__/rollingrelease.test.ts @@ -362,11 +362,12 @@ test("Rolling Release Get Rolling Release Billing Status", async () => { }); expect(result).toBeDefined(); expect(result).toEqual({ - availableSlots: 5448.83, + availableSlots: 7151.9, reason: "no_available_slots", message: "", enabledProjects: [ "", + "", ], }); }); diff --git a/src/__tests__/security.test.ts b/src/__tests__/security.test.ts index 572fd851c..e42c83e1e 100644 --- a/src/__tests__/security.test.ts +++ b/src/__tests__/security.test.ts @@ -368,3 +368,22 @@ test("Security Remove Bypass Ip", async () => { ok: false, }); }); + +test("Security Get /V1 /Security/firewall/events", async () => { + const testHttpClient = createTestHTTPClient( + "get_/v1/security/firewall/events", + ); + + const vercel = new Vercel({ + serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080", + httpClient: testHttpClient, + }); + + const result = await vercel.security.getV1SecurityFirewallEvents({ + projectId: "", + }); + expect(result).toBeDefined(); + expect(result).toEqual({ + actions: [], + }); +}); diff --git a/src/__tests__/teams.test.ts b/src/__tests__/teams.test.ts index 85cda7b20..4bfd8ae8c 100644 --- a/src/__tests__/teams.test.ts +++ b/src/__tests__/teams.test.ts @@ -358,3 +358,43 @@ test("Teams Delete Team Invite Code", async () => { id: "", }); }); + +test("Teams Invite User To Team", async () => { + const testHttpClient = createTestHTTPClient("inviteUserToTeam"); + + const vercel = new Vercel({ + serverURL: process.env["TEST_SERVER_URL"] ?? "http://localhost:18080", + httpClient: testHttpClient, + bearerToken: "", + }); + + const result = await vercel.teams.inviteUserToTeam([ + { + email: "john@example.com", + role: "DEVELOPER", + projects: [ + { + projectId: "prj_ndlgr43fadlPyCtREAqxxdyFK", + role: "ADMIN", + }, + { + projectId: "prj_ndlgr43fadlPyCtREAqxxdyFK", + role: "ADMIN", + }, + ], + }, + ]); + expect(result).toBeDefined(); + expect(result).toEqual({ + uid: "kr1PsOIzqEL5Xg6M4VZcZosf", + username: "john-doe", + email: "john@user.co", + role: "MEMBER", + teamRoles: [ + "MEMBER", + ], + teamPermissions: [ + "CreateProject", + ], + }); +}); diff --git a/src/funcs/accessGroupsCreateAccessGroup.ts b/src/funcs/accessGroupsCreateAccessGroup.ts index 3664c38f0..e94e1d492 100644 --- a/src/funcs/accessGroupsCreateAccessGroup.ts +++ b/src/funcs/accessGroupsCreateAccessGroup.ts @@ -122,7 +122,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "createAccessGroup", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/accessGroupsCreateAccessGroupProject.ts b/src/funcs/accessGroupsCreateAccessGroupProject.ts index c430fc8ba..313122e8b 100644 --- a/src/funcs/accessGroupsCreateAccessGroupProject.ts +++ b/src/funcs/accessGroupsCreateAccessGroupProject.ts @@ -132,7 +132,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "createAccessGroupProject", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/accessGroupsDeleteAccessGroup.ts b/src/funcs/accessGroupsDeleteAccessGroup.ts index a6e10e342..ac863ef71 100644 --- a/src/funcs/accessGroupsDeleteAccessGroup.ts +++ b/src/funcs/accessGroupsDeleteAccessGroup.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { VercelCore } from "../core.js"; import { encodeFormQuery, encodeSimple } from "../lib/encodings.js"; import * as M from "../lib/matchers.js"; @@ -127,7 +127,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "deleteAccessGroup", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/accessGroupsDeleteAccessGroupProject.ts b/src/funcs/accessGroupsDeleteAccessGroupProject.ts index b0f0cc7ac..da3290bc4 100644 --- a/src/funcs/accessGroupsDeleteAccessGroupProject.ts +++ b/src/funcs/accessGroupsDeleteAccessGroupProject.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { VercelCore } from "../core.js"; import { encodeFormQuery, encodeSimple } from "../lib/encodings.js"; import * as M from "../lib/matchers.js"; @@ -134,7 +134,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "deleteAccessGroupProject", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/accessGroupsListAccessGroupMembers.ts b/src/funcs/accessGroupsListAccessGroupMembers.ts index 739f0e51c..b25d0518d 100644 --- a/src/funcs/accessGroupsListAccessGroupMembers.ts +++ b/src/funcs/accessGroupsListAccessGroupMembers.ts @@ -131,7 +131,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "listAccessGroupMembers", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/accessGroupsListAccessGroupProjects.ts b/src/funcs/accessGroupsListAccessGroupProjects.ts index 0ae1076fe..3e1110f9d 100644 --- a/src/funcs/accessGroupsListAccessGroupProjects.ts +++ b/src/funcs/accessGroupsListAccessGroupProjects.ts @@ -130,7 +130,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "listAccessGroupProjects", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/accessGroupsListAccessGroups.ts b/src/funcs/accessGroupsListAccessGroups.ts index 2456ef164..24edaa4f3 100644 --- a/src/funcs/accessGroupsListAccessGroups.ts +++ b/src/funcs/accessGroupsListAccessGroups.ts @@ -127,7 +127,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "listAccessGroups", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/accessGroupsReadAccessGroup.ts b/src/funcs/accessGroupsReadAccessGroup.ts index ceedb5c0c..40e65fcbf 100644 --- a/src/funcs/accessGroupsReadAccessGroup.ts +++ b/src/funcs/accessGroupsReadAccessGroup.ts @@ -128,7 +128,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "readAccessGroup", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/accessGroupsReadAccessGroupProject.ts b/src/funcs/accessGroupsReadAccessGroupProject.ts index 53eacab07..6f3654111 100644 --- a/src/funcs/accessGroupsReadAccessGroupProject.ts +++ b/src/funcs/accessGroupsReadAccessGroupProject.ts @@ -135,7 +135,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "readAccessGroupProject", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/accessGroupsUpdateAccessGroup.ts b/src/funcs/accessGroupsUpdateAccessGroup.ts index 6dceb3e27..cee6650cd 100644 --- a/src/funcs/accessGroupsUpdateAccessGroup.ts +++ b/src/funcs/accessGroupsUpdateAccessGroup.ts @@ -129,7 +129,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "updateAccessGroup", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/accessGroupsUpdateAccessGroupProject.ts b/src/funcs/accessGroupsUpdateAccessGroupProject.ts index 306fd71ce..c6e86e938 100644 --- a/src/funcs/accessGroupsUpdateAccessGroupProject.ts +++ b/src/funcs/accessGroupsUpdateAccessGroupProject.ts @@ -136,7 +136,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "updateAccessGroupProject", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/aliasesAssignAlias.ts b/src/funcs/aliasesAssignAlias.ts index baf3468c7..1ac83ac8f 100644 --- a/src/funcs/aliasesAssignAlias.ts +++ b/src/funcs/aliasesAssignAlias.ts @@ -135,7 +135,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "assignAlias", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/aliasesDeleteAlias.ts b/src/funcs/aliasesDeleteAlias.ts index 185423eaa..b3b18182e 100644 --- a/src/funcs/aliasesDeleteAlias.ts +++ b/src/funcs/aliasesDeleteAlias.ts @@ -134,7 +134,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "deleteAlias", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/aliasesGetAlias.ts b/src/funcs/aliasesGetAlias.ts index 60b17e874..804416b7e 100644 --- a/src/funcs/aliasesGetAlias.ts +++ b/src/funcs/aliasesGetAlias.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { VercelCore } from "../core.js"; import { encodeFormQuery, encodeSimple } from "../lib/encodings.js"; import * as M from "../lib/matchers.js"; @@ -139,7 +139,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "getAlias", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/aliasesListAliases.ts b/src/funcs/aliasesListAliases.ts index 406c0d20a..f096b83e3 100644 --- a/src/funcs/aliasesListAliases.ts +++ b/src/funcs/aliasesListAliases.ts @@ -134,7 +134,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "listAliases", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/aliasesListDeploymentAliases.ts b/src/funcs/aliasesListDeploymentAliases.ts index bb3005d6b..4e3dc93c8 100644 --- a/src/funcs/aliasesListDeploymentAliases.ts +++ b/src/funcs/aliasesListDeploymentAliases.ts @@ -134,7 +134,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "listDeploymentAliases", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/aliasesPatchUrlProtectionBypass.ts b/src/funcs/aliasesPatchUrlProtectionBypass.ts index 3e47a4fba..c71f370ea 100644 --- a/src/funcs/aliasesPatchUrlProtectionBypass.ts +++ b/src/funcs/aliasesPatchUrlProtectionBypass.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { VercelCore } from "../core.js"; import { encodeFormQuery, encodeJSON, encodeSimple } from "../lib/encodings.js"; import * as M from "../lib/matchers.js"; @@ -134,7 +134,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "patchUrlProtectionBypass", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/artifactsArtifactExists.ts b/src/funcs/artifactsArtifactExists.ts index 349c0423f..a05363ef4 100644 --- a/src/funcs/artifactsArtifactExists.ts +++ b/src/funcs/artifactsArtifactExists.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { VercelCore } from "../core.js"; import { encodeFormQuery, encodeSimple } from "../lib/encodings.js"; import * as M from "../lib/matchers.js"; @@ -133,7 +133,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "artifactExists", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/artifactsArtifactQuery.ts b/src/funcs/artifactsArtifactQuery.ts index f4ff8e56b..ad94537b4 100644 --- a/src/funcs/artifactsArtifactQuery.ts +++ b/src/funcs/artifactsArtifactQuery.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { VercelCore } from "../core.js"; import { encodeFormQuery, encodeJSON } from "../lib/encodings.js"; import * as M from "../lib/matchers.js"; @@ -123,7 +123,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "artifactQuery", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/artifactsDownloadArtifact.ts b/src/funcs/artifactsDownloadArtifact.ts index f7725127b..2d4921e10 100644 --- a/src/funcs/artifactsDownloadArtifact.ts +++ b/src/funcs/artifactsDownloadArtifact.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { VercelCore } from "../core.js"; import { encodeFormQuery, encodeSimple } from "../lib/encodings.js"; import * as M from "../lib/matchers.js"; @@ -143,7 +143,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "downloadArtifact", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/artifactsRecordEvents.ts b/src/funcs/artifactsRecordEvents.ts index 5fe6603a5..6a980b385 100644 --- a/src/funcs/artifactsRecordEvents.ts +++ b/src/funcs/artifactsRecordEvents.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { VercelCore } from "../core.js"; import { encodeFormQuery, encodeJSON, encodeSimple } from "../lib/encodings.js"; import * as M from "../lib/matchers.js"; @@ -131,7 +131,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "recordEvents", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/artifactsStatus.ts b/src/funcs/artifactsStatus.ts index 408638460..d531601d7 100644 --- a/src/funcs/artifactsStatus.ts +++ b/src/funcs/artifactsStatus.ts @@ -121,7 +121,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "status", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/artifactsUploadArtifact.ts b/src/funcs/artifactsUploadArtifact.ts index 04e41380d..59532d34b 100644 --- a/src/funcs/artifactsUploadArtifact.ts +++ b/src/funcs/artifactsUploadArtifact.ts @@ -154,7 +154,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "uploadArtifact", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/authenticationCreateAuthToken.ts b/src/funcs/authenticationCreateAuthToken.ts index 2fda8404e..87dbb83c9 100644 --- a/src/funcs/authenticationCreateAuthToken.ts +++ b/src/funcs/authenticationCreateAuthToken.ts @@ -122,7 +122,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "createAuthToken", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/authenticationDeleteAuthToken.ts b/src/funcs/authenticationDeleteAuthToken.ts index 898fddfa6..b33ebf030 100644 --- a/src/funcs/authenticationDeleteAuthToken.ts +++ b/src/funcs/authenticationDeleteAuthToken.ts @@ -129,7 +129,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "deleteAuthToken", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/authenticationGetAuthToken.ts b/src/funcs/authenticationGetAuthToken.ts index e0f5bbec5..7ae997073 100644 --- a/src/funcs/authenticationGetAuthToken.ts +++ b/src/funcs/authenticationGetAuthToken.ts @@ -129,7 +129,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "getAuthToken", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/authenticationListAuthTokens.ts b/src/funcs/authenticationListAuthTokens.ts index a5ece32d6..79f46934f 100644 --- a/src/funcs/authenticationListAuthTokens.ts +++ b/src/funcs/authenticationListAuthTokens.ts @@ -98,7 +98,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "listAuthTokens", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/certsGetCertById.ts b/src/funcs/certsGetCertById.ts index a5f284721..fbcd02f4d 100644 --- a/src/funcs/certsGetCertById.ts +++ b/src/funcs/certsGetCertById.ts @@ -134,7 +134,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "getCertById", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/certsIssueCert.ts b/src/funcs/certsIssueCert.ts index e0862c6ce..0e16aa7a5 100644 --- a/src/funcs/certsIssueCert.ts +++ b/src/funcs/certsIssueCert.ts @@ -128,7 +128,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "issueCert", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/certsRemoveCert.ts b/src/funcs/certsRemoveCert.ts index dbbdcfd99..f9786f5fb 100644 --- a/src/funcs/certsRemoveCert.ts +++ b/src/funcs/certsRemoveCert.ts @@ -134,7 +134,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "removeCert", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/certsUploadCert.ts b/src/funcs/certsUploadCert.ts index d2d43123a..903f4faaf 100644 --- a/src/funcs/certsUploadCert.ts +++ b/src/funcs/certsUploadCert.ts @@ -122,7 +122,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "uploadCert", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/checksCreateCheck.ts b/src/funcs/checksCreateCheck.ts index e43dfca25..7a4029040 100644 --- a/src/funcs/checksCreateCheck.ts +++ b/src/funcs/checksCreateCheck.ts @@ -135,7 +135,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "createCheck", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/checksGetAllChecks.ts b/src/funcs/checksGetAllChecks.ts index fab5d6c2d..33277e569 100644 --- a/src/funcs/checksGetAllChecks.ts +++ b/src/funcs/checksGetAllChecks.ts @@ -134,7 +134,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "getAllChecks", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/checksGetCheck.ts b/src/funcs/checksGetCheck.ts index 0fe417f34..47c01fa22 100644 --- a/src/funcs/checksGetCheck.ts +++ b/src/funcs/checksGetCheck.ts @@ -140,7 +140,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "getCheck", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/checksRerequestCheck.ts b/src/funcs/checksRerequestCheck.ts index 2c4fe773a..1d8088f0f 100644 --- a/src/funcs/checksRerequestCheck.ts +++ b/src/funcs/checksRerequestCheck.ts @@ -141,7 +141,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "rerequestCheck", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/checksUpdateCheck.ts b/src/funcs/checksUpdateCheck.ts index 6ac41032d..bd841a320 100644 --- a/src/funcs/checksUpdateCheck.ts +++ b/src/funcs/checksUpdateCheck.ts @@ -141,7 +141,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "updateCheck", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/connectUpdateStaticIps.ts b/src/funcs/connectUpdateStaticIps.ts new file mode 100644 index 000000000..e9f0b096c --- /dev/null +++ b/src/funcs/connectUpdateStaticIps.ts @@ -0,0 +1,209 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { VercelCore } from "../core.js"; +import { encodeFormQuery, encodeJSON, encodeSimple } from "../lib/encodings.js"; +import * as M from "../lib/matchers.js"; +import { compactMap } from "../lib/primitives.js"; +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 { + ConnectionError, + InvalidRequestError, + RequestAbortedError, + RequestTimeoutError, + UnexpectedClientError, +} from "../models/httpclienterrors.js"; +import { ResponseValidationError } from "../models/responsevalidationerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; +import { + UpdateStaticIpsRequest, + UpdateStaticIpsRequest$outboundSchema, + UpdateStaticIpsResponseBody, + UpdateStaticIpsResponseBody$inboundSchema, +} from "../models/updatestaticipsop.js"; +import { + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { VercelError } from "../models/vercelerror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; +import { APICall, APIPromise } from "../types/async.js"; +import { Result } from "../types/fp.js"; + +/** + * Configures Static IPs for a project + * + * @remarks + * Allows configuring Static IPs for a project + */ +export function connectUpdateStaticIps( + client: VercelCore, + request: UpdateStaticIpsRequest, + options?: RequestOptions, +): APIPromise< + Result< + Array, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + > +> { + return new APIPromise($do( + client, + request, + options, + )); +} + +async function $do( + client: VercelCore, + request: UpdateStaticIpsRequest, + options?: RequestOptions, +): Promise< + [ + Result< + Array, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + APICall, + ] +> { + const parsed = safeParse( + request, + (value) => UpdateStaticIpsRequest$outboundSchema.parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return [parsed, { status: "invalid" }]; + } + const payload = parsed.value; + const body = encodeJSON("body", payload.RequestBody, { explode: true }); + + const pathParams = { + idOrName: encodeSimple("idOrName", payload.idOrName, { + explode: false, + charEncoding: "percent", + }), + }; + + const path = pathToFunc("/v1/projects/{idOrName}/shared-connect-links")( + pathParams, + ); + + const query = encodeFormQuery({ + "slug": payload.slug, + "teamId": payload.teamId, + }); + + const headers = new Headers(compactMap({ + "Content-Type": "application/json", + Accept: "application/json", + })); + + const secConfig = await extractSecurity(client._options.bearerToken); + const securityInput = secConfig == null ? {} : { bearerToken: secConfig }; + const requestSecurity = resolveGlobalSecurity(securityInput); + + const context = { + options: client._options, + baseURL: options?.serverURL ?? client._baseURL ?? "", + operationID: "updateStaticIps", + oAuth2Scopes: null, + + resolvedSecurity: requestSecurity, + + securitySource: client._options.bearerToken, + retryConfig: options?.retries + || client._options.retryConfig + || { strategy: "none" }, + retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"], + }; + + const requestRes = client._createRequest(context, { + security: requestSecurity, + method: "PATCH", + baseURL: options?.serverURL, + path: path, + headers: headers, + query: query, + body: body, + userAgent: client._options.userAgent, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return [requestRes, { status: "invalid" }]; + } + const req = requestRes.value; + + const doResult = await client._do(req, { + context, + errorCodes: ["400", "401", "402", "403", "404", "4XX", "500", "5XX"], + retryConfig: context.retryConfig, + retryCodes: context.retryCodes, + }); + if (!doResult.ok) { + return [doResult, { status: "request-error", request: req }]; + } + const response = doResult.value; + + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + + const [result] = await M.match< + Array, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.json(200, z.array(UpdateStaticIpsResponseBody$inboundSchema)), + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + M.fail([402, 403, "4XX"]), + M.fail([500, "5XX"]), + )(response, req, { extraFields: responseFields }); + if (!result.ok) { + return [result, { status: "complete", request: req, response }]; + } + + return [result, { status: "complete", request: req, response }]; +} diff --git a/src/funcs/deploymentsCancelDeployment.ts b/src/funcs/deploymentsCancelDeployment.ts index 0739ec96e..4517c0af1 100644 --- a/src/funcs/deploymentsCancelDeployment.ts +++ b/src/funcs/deploymentsCancelDeployment.ts @@ -134,7 +134,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "cancelDeployment", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/deploymentsCreateDeployment.ts b/src/funcs/deploymentsCreateDeployment.ts index e543f82a6..8c0b65a85 100644 --- a/src/funcs/deploymentsCreateDeployment.ts +++ b/src/funcs/deploymentsCreateDeployment.ts @@ -130,7 +130,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "createDeployment", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/deploymentsDeleteDeployment.ts b/src/funcs/deploymentsDeleteDeployment.ts index 42fa43217..8da1f12a1 100644 --- a/src/funcs/deploymentsDeleteDeployment.ts +++ b/src/funcs/deploymentsDeleteDeployment.ts @@ -135,7 +135,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "deleteDeployment", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/deploymentsGetDeployment.ts b/src/funcs/deploymentsGetDeployment.ts index 3b43dcb48..c904cd1ca 100644 --- a/src/funcs/deploymentsGetDeployment.ts +++ b/src/funcs/deploymentsGetDeployment.ts @@ -129,7 +129,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "getDeployment", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/deploymentsGetDeploymentEvents.ts b/src/funcs/deploymentsGetDeploymentEvents.ts index 743f2fd51..3203c9885 100644 --- a/src/funcs/deploymentsGetDeploymentEvents.ts +++ b/src/funcs/deploymentsGetDeploymentEvents.ts @@ -147,7 +147,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "getDeploymentEvents", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/deploymentsGetDeploymentFileContents.ts b/src/funcs/deploymentsGetDeploymentFileContents.ts index df39768fe..a06a2f21d 100644 --- a/src/funcs/deploymentsGetDeploymentFileContents.ts +++ b/src/funcs/deploymentsGetDeploymentFileContents.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { VercelCore } from "../core.js"; import { encodeFormQuery, encodeSimple } from "../lib/encodings.js"; import * as M from "../lib/matchers.js"; @@ -138,7 +138,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "getDeploymentFileContents", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/deploymentsGetDeployments.ts b/src/funcs/deploymentsGetDeployments.ts index 353f6eb99..507cbc593 100644 --- a/src/funcs/deploymentsGetDeployments.ts +++ b/src/funcs/deploymentsGetDeployments.ts @@ -141,7 +141,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "getDeployments", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/deploymentsListDeploymentFiles.ts b/src/funcs/deploymentsListDeploymentFiles.ts index 3ca08f0a0..c67f4fd88 100644 --- a/src/funcs/deploymentsListDeploymentFiles.ts +++ b/src/funcs/deploymentsListDeploymentFiles.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { VercelCore } from "../core.js"; import { encodeFormQuery, encodeSimple } from "../lib/encodings.js"; import * as M from "../lib/matchers.js"; @@ -134,7 +134,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "listDeploymentFiles", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/deploymentsUpdateIntegrationDeploymentAction.ts b/src/funcs/deploymentsUpdateIntegrationDeploymentAction.ts index 582cde73b..772fbb1ee 100644 --- a/src/funcs/deploymentsUpdateIntegrationDeploymentAction.ts +++ b/src/funcs/deploymentsUpdateIntegrationDeploymentAction.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { VercelCore } from "../core.js"; import { encodeJSON, encodeSimple } from "../lib/encodings.js"; import * as M from "../lib/matchers.js"; @@ -139,7 +139,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "update-integration-deployment-action", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/deploymentsUploadFile.ts b/src/funcs/deploymentsUploadFile.ts index cd2087b85..0a9d7a476 100644 --- a/src/funcs/deploymentsUploadFile.ts +++ b/src/funcs/deploymentsUploadFile.ts @@ -140,7 +140,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "uploadFile", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/dnsCreateRecord.ts b/src/funcs/dnsCreateRecord.ts index dcdc8000a..da915e802 100644 --- a/src/funcs/dnsCreateRecord.ts +++ b/src/funcs/dnsCreateRecord.ts @@ -135,7 +135,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "createRecord", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/dnsGetRecords.ts b/src/funcs/dnsGetRecords.ts index e474e05f0..7587c0d2f 100644 --- a/src/funcs/dnsGetRecords.ts +++ b/src/funcs/dnsGetRecords.ts @@ -137,7 +137,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "getRecords", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/dnsRemoveRecord.ts b/src/funcs/dnsRemoveRecord.ts index 43e65f2ce..e6f0fb5f0 100644 --- a/src/funcs/dnsRemoveRecord.ts +++ b/src/funcs/dnsRemoveRecord.ts @@ -140,7 +140,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "removeRecord", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/dnsUpdateRecord.ts b/src/funcs/dnsUpdateRecord.ts index 6ab3f4ef0..39d7c1aa2 100644 --- a/src/funcs/dnsUpdateRecord.ts +++ b/src/funcs/dnsUpdateRecord.ts @@ -135,7 +135,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "updateRecord", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/domainsBuyDomain.ts b/src/funcs/domainsBuyDomain.ts index c0226fce9..9d598fda7 100644 --- a/src/funcs/domainsBuyDomain.ts +++ b/src/funcs/domainsBuyDomain.ts @@ -42,10 +42,10 @@ import { APICall, APIPromise } from "../types/async.js"; import { Result } from "../types/fp.js"; /** - * Purchase a domain + * Purchase a domain (deprecated) * * @remarks - * Allows to purchase the specified domain. + * This endpoint is deprecated and replaced with the endpoint [Buy a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/buy-a-domain). Purchases the specified domain. */ export function domainsBuyDomain( client: VercelCore, @@ -128,7 +128,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "buyDomain", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/domainsCheckDomainPrice.ts b/src/funcs/domainsCheckDomainPrice.ts index 608e89324..0e208b4c4 100644 --- a/src/funcs/domainsCheckDomainPrice.ts +++ b/src/funcs/domainsCheckDomainPrice.ts @@ -34,14 +34,18 @@ import { VercelForbiddenError, VercelForbiddenError$inboundSchema, } from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; import { APICall, APIPromise } from "../types/async.js"; import { Result } from "../types/fp.js"; /** - * Check the price for a domain + * Check the price for a domain (deprecated) * * @remarks - * Check the price to purchase a domain and how long a single purchase period is. + * This endpoint is deprecated and replaced with the endpoint [Get price data for a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/get-price-data-for-a-domain). Check the price to purchase a domain and how long a single purchase period is. */ export function domainsCheckDomainPrice( client: VercelCore, @@ -52,6 +56,7 @@ export function domainsCheckDomainPrice( CheckDomainPriceResponseBody, | VercelBadRequestError | VercelForbiddenError + | VercelNotFoundError | VercelError | ResponseValidationError | ConnectionError @@ -79,6 +84,7 @@ async function $do( CheckDomainPriceResponseBody, | VercelBadRequestError | VercelForbiddenError + | VercelNotFoundError | VercelError | ResponseValidationError | ConnectionError @@ -123,7 +129,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "checkDomainPrice", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, @@ -152,7 +158,7 @@ async function $do( const doResult = await client._do(req, { context, - errorCodes: ["400", "401", "403", "4XX", "500", "5XX"], + errorCodes: ["400", "401", "403", "404", "4XX", "500", "5XX"], retryConfig: context.retryConfig, retryCodes: context.retryCodes, }); @@ -169,6 +175,7 @@ async function $do( CheckDomainPriceResponseBody, | VercelBadRequestError | VercelForbiddenError + | VercelNotFoundError | VercelError | ResponseValidationError | ConnectionError @@ -181,6 +188,7 @@ async function $do( M.json(200, CheckDomainPriceResponseBody$inboundSchema), M.jsonErr(400, VercelBadRequestError$inboundSchema), M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.jsonErr(404, VercelNotFoundError$inboundSchema), M.fail([403, "4XX"]), M.fail([500, "5XX"]), )(response, req, { extraFields: responseFields }); diff --git a/src/funcs/domainsCheckDomainStatus.ts b/src/funcs/domainsCheckDomainStatus.ts index 055353c77..2a2f90842 100644 --- a/src/funcs/domainsCheckDomainStatus.ts +++ b/src/funcs/domainsCheckDomainStatus.ts @@ -38,10 +38,10 @@ import { APICall, APIPromise } from "../types/async.js"; import { Result } from "../types/fp.js"; /** - * Check a Domain Availability + * Check a Domain Availability (deprecated) * * @remarks - * Check if a domain name is available for purchase. + * This endpoint is deprecated and replaced with the endpoint [Get availability for a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/get-availability-for-a-domain). Check if a domain name is available for purchase. */ export function domainsCheckDomainStatus( client: VercelCore, @@ -122,7 +122,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "checkDomainStatus", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/domainsCreateOrTransferDomain.ts b/src/funcs/domainsCreateOrTransferDomain.ts index a1f6b3aaa..4244af63b 100644 --- a/src/funcs/domainsCreateOrTransferDomain.ts +++ b/src/funcs/domainsCreateOrTransferDomain.ts @@ -42,10 +42,10 @@ import { APICall, APIPromise } from "../types/async.js"; import { Result } from "../types/fp.js"; /** - * Register or transfer-in a new Domain + * Add an existing domain to the Vercel platform * * @remarks - * This endpoint is used for adding a new apex domain name with Vercel for the authenticating user. Can also be used for initiating a domain transfer request from an external Registrar to Vercel. + * This endpoint is used for adding a new apex domain name with Vercel for the authenticating user. Note: This endpoint is no longer used for initiating domain transfers from external registrars to Vercel. For this, please use the endpoint [Transfer-in a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/transfer-in-a-domain). */ export function domainsCreateOrTransferDomain( client: VercelCore, @@ -128,7 +128,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "createOrTransferDomain", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/domainsDeleteDomain.ts b/src/funcs/domainsDeleteDomain.ts index 21585bffd..394879698 100644 --- a/src/funcs/domainsDeleteDomain.ts +++ b/src/funcs/domainsDeleteDomain.ts @@ -134,7 +134,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "deleteDomain", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/domainsGetDomain.ts b/src/funcs/domainsGetDomain.ts index 90da10e2d..1706dc08e 100644 --- a/src/funcs/domainsGetDomain.ts +++ b/src/funcs/domainsGetDomain.ts @@ -134,7 +134,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "getDomain", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/domainsGetDomainConfig.ts b/src/funcs/domainsGetDomainConfig.ts index 0059e7b8b..4afdab1b7 100644 --- a/src/funcs/domainsGetDomainConfig.ts +++ b/src/funcs/domainsGetDomainConfig.ts @@ -130,7 +130,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "getDomainConfig", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/domainsGetDomainTransfer.ts b/src/funcs/domainsGetDomainTransfer.ts index 67739f11a..c42e2f741 100644 --- a/src/funcs/domainsGetDomainTransfer.ts +++ b/src/funcs/domainsGetDomainTransfer.ts @@ -38,10 +38,10 @@ import { APICall, APIPromise } from "../types/async.js"; import { Result } from "../types/fp.js"; /** - * Get domain transfer info. + * Get domain transfer info (deprecated) * * @remarks - * Fetch domain transfer availability or transfer status if a transfer is in progress. + * This endpoint is deprecated and replaced with the endpoint [Get a domain's transfer status](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/get-a-domains-transfer-status). Fetch domain transfer availability or transfer status if a transfer is in progress. */ export function domainsGetDomainTransfer( client: VercelCore, @@ -128,7 +128,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "getDomainTransfer", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/domainsGetDomains.ts b/src/funcs/domainsGetDomains.ts index d67dd573f..d3761906e 100644 --- a/src/funcs/domainsGetDomains.ts +++ b/src/funcs/domainsGetDomains.ts @@ -124,7 +124,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "getDomains", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/domainsPatchDomain.ts b/src/funcs/domainsPatchDomain.ts index a4b634121..2507c7ceb 100644 --- a/src/funcs/domainsPatchDomain.ts +++ b/src/funcs/domainsPatchDomain.ts @@ -45,7 +45,7 @@ import { Result } from "../types/fp.js"; * Update or move apex domain * * @remarks - * Update or move apex domain. + * Update or move apex domain. Note: This endpoint is no longer used for updating auto-renew or nameservers. For this, please use the endpoints [Update auto-renew for a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/update-auto-renew-for-a-domain) and [Update nameservers for a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/update-nameservers-for-a-domain). */ export function domainsPatchDomain( client: VercelCore, @@ -135,7 +135,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "patchDomain", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/domainsRegistrarBuyDomains.ts b/src/funcs/domainsRegistrarBuyDomains.ts new file mode 100644 index 000000000..5e8c40978 --- /dev/null +++ b/src/funcs/domainsRegistrarBuyDomains.ts @@ -0,0 +1,212 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { VercelCore } from "../core.js"; +import { encodeFormQuery, encodeJSON } from "../lib/encodings.js"; +import * as M from "../lib/matchers.js"; +import { compactMap } from "../lib/primitives.js"; +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 { + BuyDomainsDomainsRegistrarResponseBody, + BuyDomainsDomainsRegistrarResponseBody$inboundSchema, + BuyDomainsRequest, + BuyDomainsRequest$outboundSchema, + BuyDomainsResponseBody, + BuyDomainsResponseBody$inboundSchema, +} from "../models/buydomainsop.js"; +import { + ConnectionError, + InvalidRequestError, + RequestAbortedError, + RequestTimeoutError, + UnexpectedClientError, +} from "../models/httpclienterrors.js"; +import { + InternalServerError, + InternalServerError$inboundSchema, +} from "../models/internalservererror.js"; +import { ResponseValidationError } from "../models/responsevalidationerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; +import { + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { VercelError } from "../models/vercelerror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelRateLimitError, + VercelRateLimitError$inboundSchema, +} from "../models/vercelratelimiterror.js"; +import { APICall, APIPromise } from "../types/async.js"; +import { Result } from "../types/fp.js"; + +/** + * Buy multiple domains + * + * @remarks + * Buy multiple domains at once + */ +export function domainsRegistrarBuyDomains( + client: VercelCore, + request: BuyDomainsRequest, + options?: RequestOptions, +): APIPromise< + Result< + BuyDomainsResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | BuyDomainsDomainsRegistrarResponseBody + | VercelRateLimitError + | InternalServerError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + > +> { + return new APIPromise($do( + client, + request, + options, + )); +} + +async function $do( + client: VercelCore, + request: BuyDomainsRequest, + options?: RequestOptions, +): Promise< + [ + Result< + BuyDomainsResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | BuyDomainsDomainsRegistrarResponseBody + | VercelRateLimitError + | InternalServerError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + APICall, + ] +> { + const parsed = safeParse( + request, + (value) => BuyDomainsRequest$outboundSchema.parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return [parsed, { status: "invalid" }]; + } + const payload = parsed.value; + const body = encodeJSON("body", payload.RequestBody, { explode: true }); + + const path = pathToFunc("/v1/registrar/domains/buy")(); + + const query = encodeFormQuery({ + "teamId": payload.teamId, + }); + + const headers = new Headers(compactMap({ + "Content-Type": "application/json", + Accept: "application/json", + })); + + const secConfig = await extractSecurity(client._options.bearerToken); + const securityInput = secConfig == null ? {} : { bearerToken: secConfig }; + const requestSecurity = resolveGlobalSecurity(securityInput); + + const context = { + options: client._options, + baseURL: options?.serverURL ?? client._baseURL ?? "", + operationID: "buyDomains", + oAuth2Scopes: null, + + resolvedSecurity: requestSecurity, + + securitySource: client._options.bearerToken, + retryConfig: options?.retries + || client._options.retryConfig + || { strategy: "none" }, + retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"], + }; + + const requestRes = client._createRequest(context, { + security: requestSecurity, + method: "POST", + baseURL: options?.serverURL, + path: path, + headers: headers, + query: query, + body: body, + userAgent: client._options.userAgent, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return [requestRes, { status: "invalid" }]; + } + const req = requestRes.value; + + const doResult = await client._do(req, { + context, + errorCodes: ["400", "401", "403", "429", "4XX", "500", "5XX"], + retryConfig: context.retryConfig, + retryCodes: context.retryCodes, + }); + if (!doResult.ok) { + return [doResult, { status: "request-error", request: req }]; + } + const response = doResult.value; + + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + + const [result] = await M.match< + BuyDomainsResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | BuyDomainsDomainsRegistrarResponseBody + | VercelRateLimitError + | InternalServerError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.json(200, BuyDomainsResponseBody$inboundSchema), + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.jsonErr(403, BuyDomainsDomainsRegistrarResponseBody$inboundSchema), + M.jsonErr(429, VercelRateLimitError$inboundSchema), + M.jsonErr(500, InternalServerError$inboundSchema), + M.fail("4XX"), + M.fail("5XX"), + )(response, req, { extraFields: responseFields }); + if (!result.ok) { + return [result, { status: "complete", request: req, response }]; + } + + return [result, { status: "complete", request: req, response }]; +} diff --git a/src/funcs/domainsRegistrarBuySingleDomain.ts b/src/funcs/domainsRegistrarBuySingleDomain.ts new file mode 100644 index 000000000..01dd3d664 --- /dev/null +++ b/src/funcs/domainsRegistrarBuySingleDomain.ts @@ -0,0 +1,219 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { VercelCore } from "../core.js"; +import { encodeFormQuery, encodeJSON, encodeSimple } from "../lib/encodings.js"; +import * as M from "../lib/matchers.js"; +import { compactMap } from "../lib/primitives.js"; +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 { + BuySingleDomainDomainsRegistrarResponseBody, + BuySingleDomainDomainsRegistrarResponseBody$inboundSchema, + BuySingleDomainRequest, + BuySingleDomainRequest$outboundSchema, + BuySingleDomainResponseBody, + BuySingleDomainResponseBody$inboundSchema, +} from "../models/buysingledomainop.js"; +import { + ConnectionError, + InvalidRequestError, + RequestAbortedError, + RequestTimeoutError, + UnexpectedClientError, +} from "../models/httpclienterrors.js"; +import { + InternalServerError, + InternalServerError$inboundSchema, +} from "../models/internalservererror.js"; +import { ResponseValidationError } from "../models/responsevalidationerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; +import { + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { VercelError } from "../models/vercelerror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelRateLimitError, + VercelRateLimitError$inboundSchema, +} from "../models/vercelratelimiterror.js"; +import { APICall, APIPromise } from "../types/async.js"; +import { Result } from "../types/fp.js"; + +/** + * Buy a domain + * + * @remarks + * Buy a domain + */ +export function domainsRegistrarBuySingleDomain( + client: VercelCore, + request: BuySingleDomainRequest, + options?: RequestOptions, +): APIPromise< + Result< + BuySingleDomainResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | BuySingleDomainDomainsRegistrarResponseBody + | VercelRateLimitError + | InternalServerError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + > +> { + return new APIPromise($do( + client, + request, + options, + )); +} + +async function $do( + client: VercelCore, + request: BuySingleDomainRequest, + options?: RequestOptions, +): Promise< + [ + Result< + BuySingleDomainResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | BuySingleDomainDomainsRegistrarResponseBody + | VercelRateLimitError + | InternalServerError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + APICall, + ] +> { + const parsed = safeParse( + request, + (value) => BuySingleDomainRequest$outboundSchema.parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return [parsed, { status: "invalid" }]; + } + const payload = parsed.value; + const body = encodeJSON("body", payload.RequestBody, { explode: true }); + + const pathParams = { + domain: encodeSimple("domain", payload.domain, { + explode: false, + charEncoding: "percent", + }), + }; + + const path = pathToFunc("/v1/registrar/domains/{domain}/buy")(pathParams); + + const query = encodeFormQuery({ + "teamId": payload.teamId, + }); + + const headers = new Headers(compactMap({ + "Content-Type": "application/json", + Accept: "application/json", + })); + + const secConfig = await extractSecurity(client._options.bearerToken); + const securityInput = secConfig == null ? {} : { bearerToken: secConfig }; + const requestSecurity = resolveGlobalSecurity(securityInput); + + const context = { + options: client._options, + baseURL: options?.serverURL ?? client._baseURL ?? "", + operationID: "buySingleDomain", + oAuth2Scopes: null, + + resolvedSecurity: requestSecurity, + + securitySource: client._options.bearerToken, + retryConfig: options?.retries + || client._options.retryConfig + || { strategy: "none" }, + retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"], + }; + + const requestRes = client._createRequest(context, { + security: requestSecurity, + method: "POST", + baseURL: options?.serverURL, + path: path, + headers: headers, + query: query, + body: body, + userAgent: client._options.userAgent, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return [requestRes, { status: "invalid" }]; + } + const req = requestRes.value; + + const doResult = await client._do(req, { + context, + errorCodes: ["400", "401", "403", "429", "4XX", "500", "5XX"], + retryConfig: context.retryConfig, + retryCodes: context.retryCodes, + }); + if (!doResult.ok) { + return [doResult, { status: "request-error", request: req }]; + } + const response = doResult.value; + + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + + const [result] = await M.match< + BuySingleDomainResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | BuySingleDomainDomainsRegistrarResponseBody + | VercelRateLimitError + | InternalServerError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.json(200, BuySingleDomainResponseBody$inboundSchema), + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.jsonErr(403, BuySingleDomainDomainsRegistrarResponseBody$inboundSchema), + M.jsonErr(429, VercelRateLimitError$inboundSchema), + M.jsonErr(500, InternalServerError$inboundSchema), + M.fail("4XX"), + M.fail("5XX"), + )(response, req, { extraFields: responseFields }); + if (!result.ok) { + return [result, { status: "complete", request: req, response }]; + } + + return [result, { status: "complete", request: req, response }]; +} diff --git a/src/funcs/domainsRegistrarGetBulkAvailability.ts b/src/funcs/domainsRegistrarGetBulkAvailability.ts new file mode 100644 index 000000000..7ff182049 --- /dev/null +++ b/src/funcs/domainsRegistrarGetBulkAvailability.ts @@ -0,0 +1,214 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { VercelCore } from "../core.js"; +import { encodeFormQuery, encodeJSON } from "../lib/encodings.js"; +import * as M from "../lib/matchers.js"; +import { compactMap } from "../lib/primitives.js"; +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 { + GetBulkAvailabilityRequest, + GetBulkAvailabilityRequest$outboundSchema, + GetBulkAvailabilityResponseBody, + GetBulkAvailabilityResponseBody$inboundSchema, +} from "../models/getbulkavailabilityop.js"; +import { + ConnectionError, + InvalidRequestError, + RequestAbortedError, + RequestTimeoutError, + UnexpectedClientError, +} from "../models/httpclienterrors.js"; +import { + InternalServerError, + InternalServerError$inboundSchema, +} from "../models/internalservererror.js"; +import { + NotAuthorizedForScope, + NotAuthorizedForScope$inboundSchema, +} from "../models/notauthorizedforscope.js"; +import { ResponseValidationError } from "../models/responsevalidationerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; +import { + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { VercelError } from "../models/vercelerror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelRateLimitError, + VercelRateLimitError$inboundSchema, +} from "../models/vercelratelimiterror.js"; +import { APICall, APIPromise } from "../types/async.js"; +import { Result } from "../types/fp.js"; + +/** + * Get availability for multiple domains + * + * @remarks + * Get availability for multiple domains. If the domains are available, they can be purchased using the [Buy a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/buy-a-domain) endpoint or the [Buy multiple domains](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/buy-multiple-domains) endpoint. + */ +export function domainsRegistrarGetBulkAvailability( + client: VercelCore, + request: GetBulkAvailabilityRequest, + options?: RequestOptions, +): APIPromise< + Result< + GetBulkAvailabilityResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | NotAuthorizedForScope + | VercelRateLimitError + | InternalServerError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + > +> { + return new APIPromise($do( + client, + request, + options, + )); +} + +async function $do( + client: VercelCore, + request: GetBulkAvailabilityRequest, + options?: RequestOptions, +): Promise< + [ + Result< + GetBulkAvailabilityResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | NotAuthorizedForScope + | VercelRateLimitError + | InternalServerError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + APICall, + ] +> { + const parsed = safeParse( + request, + (value) => GetBulkAvailabilityRequest$outboundSchema.parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return [parsed, { status: "invalid" }]; + } + const payload = parsed.value; + const body = encodeJSON("body", payload.RequestBody, { explode: true }); + + const path = pathToFunc("/v1/registrar/domains/availability")(); + + const query = encodeFormQuery({ + "teamId": payload.teamId, + }); + + const headers = new Headers(compactMap({ + "Content-Type": "application/json", + Accept: "application/json", + })); + + const secConfig = await extractSecurity(client._options.bearerToken); + const securityInput = secConfig == null ? {} : { bearerToken: secConfig }; + const requestSecurity = resolveGlobalSecurity(securityInput); + + const context = { + options: client._options, + baseURL: options?.serverURL ?? client._baseURL ?? "", + operationID: "getBulkAvailability", + oAuth2Scopes: null, + + resolvedSecurity: requestSecurity, + + securitySource: client._options.bearerToken, + retryConfig: options?.retries + || client._options.retryConfig + || { strategy: "none" }, + retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"], + }; + + const requestRes = client._createRequest(context, { + security: requestSecurity, + method: "POST", + baseURL: options?.serverURL, + path: path, + headers: headers, + query: query, + body: body, + userAgent: client._options.userAgent, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return [requestRes, { status: "invalid" }]; + } + const req = requestRes.value; + + const doResult = await client._do(req, { + context, + errorCodes: ["400", "401", "403", "429", "4XX", "500", "5XX"], + retryConfig: context.retryConfig, + retryCodes: context.retryCodes, + }); + if (!doResult.ok) { + return [doResult, { status: "request-error", request: req }]; + } + const response = doResult.value; + + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + + const [result] = await M.match< + GetBulkAvailabilityResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | NotAuthorizedForScope + | VercelRateLimitError + | InternalServerError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.json(200, GetBulkAvailabilityResponseBody$inboundSchema), + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.jsonErr(403, NotAuthorizedForScope$inboundSchema), + M.jsonErr(429, VercelRateLimitError$inboundSchema), + M.jsonErr(500, InternalServerError$inboundSchema), + M.fail("4XX"), + M.fail("5XX"), + )(response, req, { extraFields: responseFields }); + if (!result.ok) { + return [result, { status: "complete", request: req, response }]; + } + + return [result, { status: "complete", request: req, response }]; +} diff --git a/src/funcs/domainsRegistrarGetContactInfoSchema.ts b/src/funcs/domainsRegistrarGetContactInfoSchema.ts new file mode 100644 index 000000000..6685cee0d --- /dev/null +++ b/src/funcs/domainsRegistrarGetContactInfoSchema.ts @@ -0,0 +1,222 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { VercelCore } from "../core.js"; +import { encodeFormQuery, encodeSimple } from "../lib/encodings.js"; +import * as M from "../lib/matchers.js"; +import { compactMap } from "../lib/primitives.js"; +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 { + GetContactInfoSchemaRequest, + GetContactInfoSchemaRequest$outboundSchema, + GetContactInfoSchemaResponseBody, + GetContactInfoSchemaResponseBody$inboundSchema, +} from "../models/getcontactinfoschemaop.js"; +import { + ConnectionError, + InvalidRequestError, + RequestAbortedError, + RequestTimeoutError, + UnexpectedClientError, +} from "../models/httpclienterrors.js"; +import { + InternalServerError, + InternalServerError$inboundSchema, +} from "../models/internalservererror.js"; +import { + NotAuthorizedForScope, + NotAuthorizedForScope$inboundSchema, +} from "../models/notauthorizedforscope.js"; +import { ResponseValidationError } from "../models/responsevalidationerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; +import { + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { VercelError } from "../models/vercelerror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelRateLimitError, + VercelRateLimitError$inboundSchema, +} from "../models/vercelratelimiterror.js"; +import { APICall, APIPromise } from "../types/async.js"; +import { Result } from "../types/fp.js"; + +/** + * Get contact info schema + * + * @remarks + * Some TLDs require additional contact information. Use this endpoint to get the schema for the tld-specific contact information for a domain. + */ +export function domainsRegistrarGetContactInfoSchema( + client: VercelCore, + request: GetContactInfoSchemaRequest, + options?: RequestOptions, +): APIPromise< + Result< + GetContactInfoSchemaResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | NotAuthorizedForScope + | VercelRateLimitError + | InternalServerError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + > +> { + return new APIPromise($do( + client, + request, + options, + )); +} + +async function $do( + client: VercelCore, + request: GetContactInfoSchemaRequest, + options?: RequestOptions, +): Promise< + [ + Result< + GetContactInfoSchemaResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | NotAuthorizedForScope + | VercelRateLimitError + | InternalServerError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + APICall, + ] +> { + const parsed = safeParse( + request, + (value) => GetContactInfoSchemaRequest$outboundSchema.parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return [parsed, { status: "invalid" }]; + } + const payload = parsed.value; + const body = null; + + const pathParams = { + domain: encodeSimple("domain", payload.domain, { + explode: false, + charEncoding: "percent", + }), + }; + + const path = pathToFunc("/v1/registrar/domains/{domain}/contact-info/schema")( + pathParams, + ); + + const query = encodeFormQuery({ + "teamId": payload.teamId, + }); + + const headers = new Headers(compactMap({ + Accept: "application/json", + })); + + const secConfig = await extractSecurity(client._options.bearerToken); + const securityInput = secConfig == null ? {} : { bearerToken: secConfig }; + const requestSecurity = resolveGlobalSecurity(securityInput); + + const context = { + options: client._options, + baseURL: options?.serverURL ?? client._baseURL ?? "", + operationID: "getContactInfoSchema", + oAuth2Scopes: null, + + resolvedSecurity: requestSecurity, + + securitySource: client._options.bearerToken, + retryConfig: options?.retries + || client._options.retryConfig + || { strategy: "none" }, + retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"], + }; + + const requestRes = client._createRequest(context, { + security: requestSecurity, + method: "GET", + baseURL: options?.serverURL, + path: path, + headers: headers, + query: query, + body: body, + userAgent: client._options.userAgent, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return [requestRes, { status: "invalid" }]; + } + const req = requestRes.value; + + const doResult = await client._do(req, { + context, + errorCodes: ["400", "401", "403", "429", "4XX", "500", "5XX"], + retryConfig: context.retryConfig, + retryCodes: context.retryCodes, + }); + if (!doResult.ok) { + return [doResult, { status: "request-error", request: req }]; + } + const response = doResult.value; + + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + + const [result] = await M.match< + GetContactInfoSchemaResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | NotAuthorizedForScope + | VercelRateLimitError + | InternalServerError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.json(200, GetContactInfoSchemaResponseBody$inboundSchema), + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.jsonErr(403, NotAuthorizedForScope$inboundSchema), + M.jsonErr(429, VercelRateLimitError$inboundSchema), + M.jsonErr(500, InternalServerError$inboundSchema), + M.fail("4XX"), + M.fail("5XX"), + )(response, req, { extraFields: responseFields }); + if (!result.ok) { + return [result, { status: "complete", request: req, response }]; + } + + return [result, { status: "complete", request: req, response }]; +} diff --git a/src/funcs/domainsRegistrarGetDomainAuthCode.ts b/src/funcs/domainsRegistrarGetDomainAuthCode.ts new file mode 100644 index 000000000..c08265a3d --- /dev/null +++ b/src/funcs/domainsRegistrarGetDomainAuthCode.ts @@ -0,0 +1,228 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { VercelCore } from "../core.js"; +import { encodeFormQuery, encodeSimple } from "../lib/encodings.js"; +import * as M from "../lib/matchers.js"; +import { compactMap } from "../lib/primitives.js"; +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 { + GetDomainAuthCodeDomainsRegistrarResponseBody, + GetDomainAuthCodeDomainsRegistrarResponseBody$inboundSchema, + GetDomainAuthCodeRequest, + GetDomainAuthCodeRequest$outboundSchema, + GetDomainAuthCodeResponseBody, + GetDomainAuthCodeResponseBody$inboundSchema, +} from "../models/getdomainauthcodeop.js"; +import { + ConnectionError, + InvalidRequestError, + RequestAbortedError, + RequestTimeoutError, + UnexpectedClientError, +} from "../models/httpclienterrors.js"; +import { + InternalServerError, + InternalServerError$inboundSchema, +} from "../models/internalservererror.js"; +import { ResponseValidationError } from "../models/responsevalidationerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; +import { + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { VercelError } from "../models/vercelerror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; +import { + VercelRateLimitError, + VercelRateLimitError$inboundSchema, +} from "../models/vercelratelimiterror.js"; +import { APICall, APIPromise } from "../types/async.js"; +import { Result } from "../types/fp.js"; + +/** + * Get the auth code for a domain + * + * @remarks + * Get the auth code for a domain. This is required to transfer a domain from Vercel to another registrar. + */ +export function domainsRegistrarGetDomainAuthCode( + client: VercelCore, + request: GetDomainAuthCodeRequest, + options?: RequestOptions, +): APIPromise< + Result< + GetDomainAuthCodeResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | GetDomainAuthCodeDomainsRegistrarResponseBody + | VercelNotFoundError + | VercelRateLimitError + | InternalServerError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + > +> { + return new APIPromise($do( + client, + request, + options, + )); +} + +async function $do( + client: VercelCore, + request: GetDomainAuthCodeRequest, + options?: RequestOptions, +): Promise< + [ + Result< + GetDomainAuthCodeResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | GetDomainAuthCodeDomainsRegistrarResponseBody + | VercelNotFoundError + | VercelRateLimitError + | InternalServerError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + APICall, + ] +> { + const parsed = safeParse( + request, + (value) => GetDomainAuthCodeRequest$outboundSchema.parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return [parsed, { status: "invalid" }]; + } + const payload = parsed.value; + const body = null; + + const pathParams = { + domain: encodeSimple("domain", payload.domain, { + explode: false, + charEncoding: "percent", + }), + }; + + const path = pathToFunc("/v1/registrar/domains/{domain}/auth-code")( + pathParams, + ); + + const query = encodeFormQuery({ + "teamId": payload.teamId, + }); + + const headers = new Headers(compactMap({ + Accept: "application/json", + })); + + const secConfig = await extractSecurity(client._options.bearerToken); + const securityInput = secConfig == null ? {} : { bearerToken: secConfig }; + const requestSecurity = resolveGlobalSecurity(securityInput); + + const context = { + options: client._options, + baseURL: options?.serverURL ?? client._baseURL ?? "", + operationID: "getDomainAuthCode", + oAuth2Scopes: null, + + resolvedSecurity: requestSecurity, + + securitySource: client._options.bearerToken, + retryConfig: options?.retries + || client._options.retryConfig + || { strategy: "none" }, + retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"], + }; + + const requestRes = client._createRequest(context, { + security: requestSecurity, + method: "GET", + baseURL: options?.serverURL, + path: path, + headers: headers, + query: query, + body: body, + userAgent: client._options.userAgent, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return [requestRes, { status: "invalid" }]; + } + const req = requestRes.value; + + const doResult = await client._do(req, { + context, + errorCodes: ["400", "401", "403", "404", "429", "4XX", "500", "5XX"], + retryConfig: context.retryConfig, + retryCodes: context.retryCodes, + }); + if (!doResult.ok) { + return [doResult, { status: "request-error", request: req }]; + } + const response = doResult.value; + + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + + const [result] = await M.match< + GetDomainAuthCodeResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | GetDomainAuthCodeDomainsRegistrarResponseBody + | VercelNotFoundError + | VercelRateLimitError + | InternalServerError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.json(200, GetDomainAuthCodeResponseBody$inboundSchema), + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.jsonErr(403, GetDomainAuthCodeDomainsRegistrarResponseBody$inboundSchema), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + M.jsonErr(429, VercelRateLimitError$inboundSchema), + M.jsonErr(500, InternalServerError$inboundSchema), + M.fail("4XX"), + M.fail("5XX"), + )(response, req, { extraFields: responseFields }); + if (!result.ok) { + return [result, { status: "complete", request: req, response }]; + } + + return [result, { status: "complete", request: req, response }]; +} diff --git a/src/funcs/domainsRegistrarGetDomainAvailability.ts b/src/funcs/domainsRegistrarGetDomainAvailability.ts new file mode 100644 index 000000000..7500d684c --- /dev/null +++ b/src/funcs/domainsRegistrarGetDomainAvailability.ts @@ -0,0 +1,230 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { VercelCore } from "../core.js"; +import { encodeFormQuery, encodeSimple } from "../lib/encodings.js"; +import * as M from "../lib/matchers.js"; +import { compactMap } from "../lib/primitives.js"; +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 { + GetDomainAvailabilityRequest, + GetDomainAvailabilityRequest$outboundSchema, + GetDomainAvailabilityResponseBody, + GetDomainAvailabilityResponseBody$inboundSchema, +} from "../models/getdomainavailabilityop.js"; +import { + ConnectionError, + InvalidRequestError, + RequestAbortedError, + RequestTimeoutError, + UnexpectedClientError, +} from "../models/httpclienterrors.js"; +import { + InternalServerError, + InternalServerError$inboundSchema, +} from "../models/internalservererror.js"; +import { + NotAuthorizedForScope, + NotAuthorizedForScope$inboundSchema, +} from "../models/notauthorizedforscope.js"; +import { ResponseValidationError } from "../models/responsevalidationerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; +import { + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { VercelError } from "../models/vercelerror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; +import { + VercelRateLimitError, + VercelRateLimitError$inboundSchema, +} from "../models/vercelratelimiterror.js"; +import { APICall, APIPromise } from "../types/async.js"; +import { Result } from "../types/fp.js"; + +/** + * Get availability for a domain + * + * @remarks + * Get availability for a specific domain. If the domain is available, it can be purchased using the [Buy a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/buy-a-domain) endpoint or the [Buy multiple domains](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/buy-multiple-domains) endpoint. + */ +export function domainsRegistrarGetDomainAvailability( + client: VercelCore, + request: GetDomainAvailabilityRequest, + options?: RequestOptions, +): APIPromise< + Result< + GetDomainAvailabilityResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | NotAuthorizedForScope + | VercelNotFoundError + | VercelRateLimitError + | InternalServerError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + > +> { + return new APIPromise($do( + client, + request, + options, + )); +} + +async function $do( + client: VercelCore, + request: GetDomainAvailabilityRequest, + options?: RequestOptions, +): Promise< + [ + Result< + GetDomainAvailabilityResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | NotAuthorizedForScope + | VercelNotFoundError + | VercelRateLimitError + | InternalServerError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + APICall, + ] +> { + const parsed = safeParse( + request, + (value) => GetDomainAvailabilityRequest$outboundSchema.parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return [parsed, { status: "invalid" }]; + } + const payload = parsed.value; + const body = null; + + const pathParams = { + domain: encodeSimple("domain", payload.domain, { + explode: false, + charEncoding: "percent", + }), + }; + + const path = pathToFunc("/v1/registrar/domains/{domain}/availability")( + pathParams, + ); + + const query = encodeFormQuery({ + "teamId": payload.teamId, + }); + + const headers = new Headers(compactMap({ + Accept: "application/json", + })); + + const secConfig = await extractSecurity(client._options.bearerToken); + const securityInput = secConfig == null ? {} : { bearerToken: secConfig }; + const requestSecurity = resolveGlobalSecurity(securityInput); + + const context = { + options: client._options, + baseURL: options?.serverURL ?? client._baseURL ?? "", + operationID: "getDomainAvailability", + oAuth2Scopes: null, + + resolvedSecurity: requestSecurity, + + securitySource: client._options.bearerToken, + retryConfig: options?.retries + || client._options.retryConfig + || { strategy: "none" }, + retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"], + }; + + const requestRes = client._createRequest(context, { + security: requestSecurity, + method: "GET", + baseURL: options?.serverURL, + path: path, + headers: headers, + query: query, + body: body, + userAgent: client._options.userAgent, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return [requestRes, { status: "invalid" }]; + } + const req = requestRes.value; + + const doResult = await client._do(req, { + context, + errorCodes: ["400", "401", "403", "404", "429", "4XX", "500", "5XX"], + retryConfig: context.retryConfig, + retryCodes: context.retryCodes, + }); + if (!doResult.ok) { + return [doResult, { status: "request-error", request: req }]; + } + const response = doResult.value; + + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + + const [result] = await M.match< + GetDomainAvailabilityResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | NotAuthorizedForScope + | VercelNotFoundError + | VercelRateLimitError + | InternalServerError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.json(200, GetDomainAvailabilityResponseBody$inboundSchema), + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.jsonErr(403, NotAuthorizedForScope$inboundSchema), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + M.jsonErr(429, VercelRateLimitError$inboundSchema), + M.jsonErr(500, InternalServerError$inboundSchema), + M.fail("4XX"), + M.fail("5XX"), + )(response, req, { extraFields: responseFields }); + if (!result.ok) { + return [result, { status: "complete", request: req, response }]; + } + + return [result, { status: "complete", request: req, response }]; +} diff --git a/src/funcs/domainsRegistrarGetDomainPrice.ts b/src/funcs/domainsRegistrarGetDomainPrice.ts new file mode 100644 index 000000000..fbacb9b1f --- /dev/null +++ b/src/funcs/domainsRegistrarGetDomainPrice.ts @@ -0,0 +1,221 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { VercelCore } from "../core.js"; +import { encodeFormQuery, encodeSimple } from "../lib/encodings.js"; +import * as M from "../lib/matchers.js"; +import { compactMap } from "../lib/primitives.js"; +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 { + GetDomainPriceRequest, + GetDomainPriceRequest$outboundSchema, + GetDomainPriceResponseBody, + GetDomainPriceResponseBody$inboundSchema, +} from "../models/getdomainpriceop.js"; +import { + ConnectionError, + InvalidRequestError, + RequestAbortedError, + RequestTimeoutError, + UnexpectedClientError, +} from "../models/httpclienterrors.js"; +import { + InternalServerError, + InternalServerError$inboundSchema, +} from "../models/internalservererror.js"; +import { + NotAuthorizedForScope, + NotAuthorizedForScope$inboundSchema, +} from "../models/notauthorizedforscope.js"; +import { ResponseValidationError } from "../models/responsevalidationerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; +import { + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { VercelError } from "../models/vercelerror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelRateLimitError, + VercelRateLimitError$inboundSchema, +} from "../models/vercelratelimiterror.js"; +import { APICall, APIPromise } from "../types/async.js"; +import { Result } from "../types/fp.js"; + +/** + * Get price data for a domain + * + * @remarks + * Get price data for a specific domain + */ +export function domainsRegistrarGetDomainPrice( + client: VercelCore, + request: GetDomainPriceRequest, + options?: RequestOptions, +): APIPromise< + Result< + GetDomainPriceResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | NotAuthorizedForScope + | VercelRateLimitError + | InternalServerError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + > +> { + return new APIPromise($do( + client, + request, + options, + )); +} + +async function $do( + client: VercelCore, + request: GetDomainPriceRequest, + options?: RequestOptions, +): Promise< + [ + Result< + GetDomainPriceResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | NotAuthorizedForScope + | VercelRateLimitError + | InternalServerError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + APICall, + ] +> { + const parsed = safeParse( + request, + (value) => GetDomainPriceRequest$outboundSchema.parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return [parsed, { status: "invalid" }]; + } + const payload = parsed.value; + const body = null; + + const pathParams = { + domain: encodeSimple("domain", payload.domain, { + explode: false, + charEncoding: "percent", + }), + }; + + const path = pathToFunc("/v1/registrar/domains/{domain}/price")(pathParams); + + const query = encodeFormQuery({ + "teamId": payload.teamId, + "years": payload.years, + }); + + const headers = new Headers(compactMap({ + Accept: "application/json", + })); + + const secConfig = await extractSecurity(client._options.bearerToken); + const securityInput = secConfig == null ? {} : { bearerToken: secConfig }; + const requestSecurity = resolveGlobalSecurity(securityInput); + + const context = { + options: client._options, + baseURL: options?.serverURL ?? client._baseURL ?? "", + operationID: "getDomainPrice", + oAuth2Scopes: null, + + resolvedSecurity: requestSecurity, + + securitySource: client._options.bearerToken, + retryConfig: options?.retries + || client._options.retryConfig + || { strategy: "none" }, + retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"], + }; + + const requestRes = client._createRequest(context, { + security: requestSecurity, + method: "GET", + baseURL: options?.serverURL, + path: path, + headers: headers, + query: query, + body: body, + userAgent: client._options.userAgent, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return [requestRes, { status: "invalid" }]; + } + const req = requestRes.value; + + const doResult = await client._do(req, { + context, + errorCodes: ["400", "401", "403", "429", "4XX", "500", "5XX"], + retryConfig: context.retryConfig, + retryCodes: context.retryCodes, + }); + if (!doResult.ok) { + return [doResult, { status: "request-error", request: req }]; + } + const response = doResult.value; + + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + + const [result] = await M.match< + GetDomainPriceResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | NotAuthorizedForScope + | VercelRateLimitError + | InternalServerError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.json(200, GetDomainPriceResponseBody$inboundSchema), + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.jsonErr(403, NotAuthorizedForScope$inboundSchema), + M.jsonErr(429, VercelRateLimitError$inboundSchema), + M.jsonErr(500, InternalServerError$inboundSchema), + M.fail("4XX"), + M.fail("5XX"), + )(response, req, { extraFields: responseFields }); + if (!result.ok) { + return [result, { status: "complete", request: req, response }]; + } + + return [result, { status: "complete", request: req, response }]; +} diff --git a/src/funcs/domainsRegistrarGetDomainTransferIn.ts b/src/funcs/domainsRegistrarGetDomainTransferIn.ts new file mode 100644 index 000000000..4d888754b --- /dev/null +++ b/src/funcs/domainsRegistrarGetDomainTransferIn.ts @@ -0,0 +1,231 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { VercelCore } from "../core.js"; +import { encodeFormQuery, encodeSimple } from "../lib/encodings.js"; +import * as M from "../lib/matchers.js"; +import { compactMap } from "../lib/primitives.js"; +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 { + GetDomainTransferInDomainsRegistrarResponseBody, + GetDomainTransferInDomainsRegistrarResponseBody$inboundSchema, + GetDomainTransferInRequest, + GetDomainTransferInRequest$outboundSchema, + GetDomainTransferInResponseBody, + GetDomainTransferInResponseBody$inboundSchema, +} from "../models/getdomaintransferinop.js"; +import { + ConnectionError, + InvalidRequestError, + RequestAbortedError, + RequestTimeoutError, + UnexpectedClientError, +} from "../models/httpclienterrors.js"; +import { + InternalServerError, + InternalServerError$inboundSchema, +} from "../models/internalservererror.js"; +import { ResponseValidationError } from "../models/responsevalidationerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; +import { + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { VercelError } from "../models/vercelerror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; +import { + VercelRateLimitError, + VercelRateLimitError$inboundSchema, +} from "../models/vercelratelimiterror.js"; +import { APICall, APIPromise } from "../types/async.js"; +import { Result } from "../types/fp.js"; + +/** + * Get a domain's transfer status + * + * @remarks + * Get the transfer status for a domain + */ +export function domainsRegistrarGetDomainTransferIn( + client: VercelCore, + request: GetDomainTransferInRequest, + options?: RequestOptions, +): APIPromise< + Result< + GetDomainTransferInResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | GetDomainTransferInDomainsRegistrarResponseBody + | VercelNotFoundError + | VercelRateLimitError + | InternalServerError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + > +> { + return new APIPromise($do( + client, + request, + options, + )); +} + +async function $do( + client: VercelCore, + request: GetDomainTransferInRequest, + options?: RequestOptions, +): Promise< + [ + Result< + GetDomainTransferInResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | GetDomainTransferInDomainsRegistrarResponseBody + | VercelNotFoundError + | VercelRateLimitError + | InternalServerError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + APICall, + ] +> { + const parsed = safeParse( + request, + (value) => GetDomainTransferInRequest$outboundSchema.parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return [parsed, { status: "invalid" }]; + } + const payload = parsed.value; + const body = null; + + const pathParams = { + domain: encodeSimple("domain", payload.domain, { + explode: false, + charEncoding: "percent", + }), + }; + + const path = pathToFunc("/v1/registrar/domains/{domain}/transfer")( + pathParams, + ); + + const query = encodeFormQuery({ + "teamId": payload.teamId, + }); + + const headers = new Headers(compactMap({ + Accept: "application/json", + })); + + const secConfig = await extractSecurity(client._options.bearerToken); + const securityInput = secConfig == null ? {} : { bearerToken: secConfig }; + const requestSecurity = resolveGlobalSecurity(securityInput); + + const context = { + options: client._options, + baseURL: options?.serverURL ?? client._baseURL ?? "", + operationID: "getDomainTransferIn", + oAuth2Scopes: null, + + resolvedSecurity: requestSecurity, + + securitySource: client._options.bearerToken, + retryConfig: options?.retries + || client._options.retryConfig + || { strategy: "none" }, + retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"], + }; + + const requestRes = client._createRequest(context, { + security: requestSecurity, + method: "GET", + baseURL: options?.serverURL, + path: path, + headers: headers, + query: query, + body: body, + userAgent: client._options.userAgent, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return [requestRes, { status: "invalid" }]; + } + const req = requestRes.value; + + const doResult = await client._do(req, { + context, + errorCodes: ["400", "401", "403", "404", "429", "4XX", "500", "5XX"], + retryConfig: context.retryConfig, + retryCodes: context.retryCodes, + }); + if (!doResult.ok) { + return [doResult, { status: "request-error", request: req }]; + } + const response = doResult.value; + + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + + const [result] = await M.match< + GetDomainTransferInResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | GetDomainTransferInDomainsRegistrarResponseBody + | VercelNotFoundError + | VercelRateLimitError + | InternalServerError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.json(200, GetDomainTransferInResponseBody$inboundSchema), + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.jsonErr( + 403, + GetDomainTransferInDomainsRegistrarResponseBody$inboundSchema, + ), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + M.jsonErr(429, VercelRateLimitError$inboundSchema), + M.jsonErr(500, InternalServerError$inboundSchema), + M.fail("4XX"), + M.fail("5XX"), + )(response, req, { extraFields: responseFields }); + if (!result.ok) { + return [result, { status: "complete", request: req, response }]; + } + + return [result, { status: "complete", request: req, response }]; +} diff --git a/src/funcs/domainsRegistrarGetOrder.ts b/src/funcs/domainsRegistrarGetOrder.ts new file mode 100644 index 000000000..4ca3103e2 --- /dev/null +++ b/src/funcs/domainsRegistrarGetOrder.ts @@ -0,0 +1,226 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { VercelCore } from "../core.js"; +import { encodeFormQuery, encodeSimple } from "../lib/encodings.js"; +import * as M from "../lib/matchers.js"; +import { compactMap } from "../lib/primitives.js"; +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 { + GetOrderDomainsRegistrarResponseBody, + GetOrderDomainsRegistrarResponseBody$inboundSchema, + GetOrderRequest, + GetOrderRequest$outboundSchema, + GetOrderResponseBody, + GetOrderResponseBody$inboundSchema, +} from "../models/getorderop.js"; +import { + ConnectionError, + InvalidRequestError, + RequestAbortedError, + RequestTimeoutError, + UnexpectedClientError, +} from "../models/httpclienterrors.js"; +import { + InternalServerError, + InternalServerError$inboundSchema, +} from "../models/internalservererror.js"; +import { ResponseValidationError } from "../models/responsevalidationerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; +import { + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { VercelError } from "../models/vercelerror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; +import { + VercelRateLimitError, + VercelRateLimitError$inboundSchema, +} from "../models/vercelratelimiterror.js"; +import { APICall, APIPromise } from "../types/async.js"; +import { Result } from "../types/fp.js"; + +/** + * Get a domain order + * + * @remarks + * Get information about a domain order by its ID + */ +export function domainsRegistrarGetOrder( + client: VercelCore, + request: GetOrderRequest, + options?: RequestOptions, +): APIPromise< + Result< + GetOrderResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | GetOrderDomainsRegistrarResponseBody + | VercelNotFoundError + | VercelRateLimitError + | InternalServerError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + > +> { + return new APIPromise($do( + client, + request, + options, + )); +} + +async function $do( + client: VercelCore, + request: GetOrderRequest, + options?: RequestOptions, +): Promise< + [ + Result< + GetOrderResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | GetOrderDomainsRegistrarResponseBody + | VercelNotFoundError + | VercelRateLimitError + | InternalServerError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + APICall, + ] +> { + const parsed = safeParse( + request, + (value) => GetOrderRequest$outboundSchema.parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return [parsed, { status: "invalid" }]; + } + const payload = parsed.value; + const body = null; + + const pathParams = { + orderId: encodeSimple("orderId", payload.orderId, { + explode: false, + charEncoding: "percent", + }), + }; + + const path = pathToFunc("/v1/registrar/orders/{orderId}")(pathParams); + + const query = encodeFormQuery({ + "teamId": payload.teamId, + }); + + const headers = new Headers(compactMap({ + Accept: "application/json", + })); + + const secConfig = await extractSecurity(client._options.bearerToken); + const securityInput = secConfig == null ? {} : { bearerToken: secConfig }; + const requestSecurity = resolveGlobalSecurity(securityInput); + + const context = { + options: client._options, + baseURL: options?.serverURL ?? client._baseURL ?? "", + operationID: "getOrder", + oAuth2Scopes: null, + + resolvedSecurity: requestSecurity, + + securitySource: client._options.bearerToken, + retryConfig: options?.retries + || client._options.retryConfig + || { strategy: "none" }, + retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"], + }; + + const requestRes = client._createRequest(context, { + security: requestSecurity, + method: "GET", + baseURL: options?.serverURL, + path: path, + headers: headers, + query: query, + body: body, + userAgent: client._options.userAgent, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return [requestRes, { status: "invalid" }]; + } + const req = requestRes.value; + + const doResult = await client._do(req, { + context, + errorCodes: ["400", "401", "403", "404", "429", "4XX", "500", "5XX"], + retryConfig: context.retryConfig, + retryCodes: context.retryCodes, + }); + if (!doResult.ok) { + return [doResult, { status: "request-error", request: req }]; + } + const response = doResult.value; + + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + + const [result] = await M.match< + GetOrderResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | GetOrderDomainsRegistrarResponseBody + | VercelNotFoundError + | VercelRateLimitError + | InternalServerError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.json(200, GetOrderResponseBody$inboundSchema), + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.jsonErr(403, GetOrderDomainsRegistrarResponseBody$inboundSchema), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + M.jsonErr(429, VercelRateLimitError$inboundSchema), + M.jsonErr(500, InternalServerError$inboundSchema), + M.fail("4XX"), + M.fail("5XX"), + )(response, req, { extraFields: responseFields }); + if (!result.ok) { + return [result, { status: "complete", request: req, response }]; + } + + return [result, { status: "complete", request: req, response }]; +} diff --git a/src/funcs/domainsRegistrarGetSupportedTlds.ts b/src/funcs/domainsRegistrarGetSupportedTlds.ts new file mode 100644 index 000000000..39b3be048 --- /dev/null +++ b/src/funcs/domainsRegistrarGetSupportedTlds.ts @@ -0,0 +1,212 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { VercelCore } from "../core.js"; +import { encodeFormQuery } from "../lib/encodings.js"; +import * as M from "../lib/matchers.js"; +import { compactMap } from "../lib/primitives.js"; +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 { + GetSupportedTldsRequest, + GetSupportedTldsRequest$outboundSchema, +} from "../models/getsupportedtldsop.js"; +import { + ConnectionError, + InvalidRequestError, + RequestAbortedError, + RequestTimeoutError, + UnexpectedClientError, +} from "../models/httpclienterrors.js"; +import { + InternalServerError, + InternalServerError$inboundSchema, +} from "../models/internalservererror.js"; +import { + NotAuthorizedForScope, + NotAuthorizedForScope$inboundSchema, +} from "../models/notauthorizedforscope.js"; +import { ResponseValidationError } from "../models/responsevalidationerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; +import { + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { VercelError } from "../models/vercelerror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelRateLimitError, + VercelRateLimitError$inboundSchema, +} from "../models/vercelratelimiterror.js"; +import { APICall, APIPromise } from "../types/async.js"; +import { Result } from "../types/fp.js"; + +/** + * Get supported TLDs + * + * @remarks + * Get a list of TLDs supported by Vercel + */ +export function domainsRegistrarGetSupportedTlds( + client: VercelCore, + request: GetSupportedTldsRequest, + options?: RequestOptions, +): APIPromise< + Result< + Array, + | VercelBadRequestError + | VercelForbiddenError + | NotAuthorizedForScope + | VercelRateLimitError + | InternalServerError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + > +> { + return new APIPromise($do( + client, + request, + options, + )); +} + +async function $do( + client: VercelCore, + request: GetSupportedTldsRequest, + options?: RequestOptions, +): Promise< + [ + Result< + Array, + | VercelBadRequestError + | VercelForbiddenError + | NotAuthorizedForScope + | VercelRateLimitError + | InternalServerError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + APICall, + ] +> { + const parsed = safeParse( + request, + (value) => GetSupportedTldsRequest$outboundSchema.parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return [parsed, { status: "invalid" }]; + } + const payload = parsed.value; + const body = null; + + const path = pathToFunc("/v1/registrar/tlds/supported")(); + + const query = encodeFormQuery({ + "teamId": payload.teamId, + }); + + const headers = new Headers(compactMap({ + Accept: "application/json", + })); + + const secConfig = await extractSecurity(client._options.bearerToken); + const securityInput = secConfig == null ? {} : { bearerToken: secConfig }; + const requestSecurity = resolveGlobalSecurity(securityInput); + + const context = { + options: client._options, + baseURL: options?.serverURL ?? client._baseURL ?? "", + operationID: "getSupportedTlds", + oAuth2Scopes: null, + + resolvedSecurity: requestSecurity, + + securitySource: client._options.bearerToken, + retryConfig: options?.retries + || client._options.retryConfig + || { strategy: "none" }, + retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"], + }; + + const requestRes = client._createRequest(context, { + security: requestSecurity, + method: "GET", + baseURL: options?.serverURL, + path: path, + headers: headers, + query: query, + body: body, + userAgent: client._options.userAgent, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return [requestRes, { status: "invalid" }]; + } + const req = requestRes.value; + + const doResult = await client._do(req, { + context, + errorCodes: ["400", "401", "403", "429", "4XX", "500", "5XX"], + retryConfig: context.retryConfig, + retryCodes: context.retryCodes, + }); + if (!doResult.ok) { + return [doResult, { status: "request-error", request: req }]; + } + const response = doResult.value; + + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + + const [result] = await M.match< + Array, + | VercelBadRequestError + | VercelForbiddenError + | NotAuthorizedForScope + | VercelRateLimitError + | InternalServerError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.json(200, z.array(z.string())), + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.jsonErr(403, NotAuthorizedForScope$inboundSchema), + M.jsonErr(429, VercelRateLimitError$inboundSchema), + M.jsonErr(500, InternalServerError$inboundSchema), + M.fail("4XX"), + M.fail("5XX"), + )(response, req, { extraFields: responseFields }); + if (!result.ok) { + return [result, { status: "complete", request: req, response }]; + } + + return [result, { status: "complete", request: req, response }]; +} diff --git a/src/funcs/domainsRegistrarGetTldPrice.ts b/src/funcs/domainsRegistrarGetTldPrice.ts new file mode 100644 index 000000000..42284d567 --- /dev/null +++ b/src/funcs/domainsRegistrarGetTldPrice.ts @@ -0,0 +1,221 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { VercelCore } from "../core.js"; +import { encodeFormQuery, encodeSimple } from "../lib/encodings.js"; +import * as M from "../lib/matchers.js"; +import { compactMap } from "../lib/primitives.js"; +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 { + GetTldPriceRequest, + GetTldPriceRequest$outboundSchema, + GetTldPriceResponseBody, + GetTldPriceResponseBody$inboundSchema, +} from "../models/gettldpriceop.js"; +import { + ConnectionError, + InvalidRequestError, + RequestAbortedError, + RequestTimeoutError, + UnexpectedClientError, +} from "../models/httpclienterrors.js"; +import { + InternalServerError, + InternalServerError$inboundSchema, +} from "../models/internalservererror.js"; +import { + NotAuthorizedForScope, + NotAuthorizedForScope$inboundSchema, +} from "../models/notauthorizedforscope.js"; +import { ResponseValidationError } from "../models/responsevalidationerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; +import { + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { VercelError } from "../models/vercelerror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelRateLimitError, + VercelRateLimitError$inboundSchema, +} from "../models/vercelratelimiterror.js"; +import { APICall, APIPromise } from "../types/async.js"; +import { Result } from "../types/fp.js"; + +/** + * Get TLD price data + * + * @remarks + * Get price data for a specific TLD. This only reflects base prices for the given TLD. Premium domains may have different prices. Use the [Get price data for a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/get-price-data-for-a-domain) endpoint to get the price data for a specific domain. + */ +export function domainsRegistrarGetTldPrice( + client: VercelCore, + request: GetTldPriceRequest, + options?: RequestOptions, +): APIPromise< + Result< + GetTldPriceResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | NotAuthorizedForScope + | VercelRateLimitError + | InternalServerError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + > +> { + return new APIPromise($do( + client, + request, + options, + )); +} + +async function $do( + client: VercelCore, + request: GetTldPriceRequest, + options?: RequestOptions, +): Promise< + [ + Result< + GetTldPriceResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | NotAuthorizedForScope + | VercelRateLimitError + | InternalServerError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + APICall, + ] +> { + const parsed = safeParse( + request, + (value) => GetTldPriceRequest$outboundSchema.parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return [parsed, { status: "invalid" }]; + } + const payload = parsed.value; + const body = null; + + const pathParams = { + tld: encodeSimple("tld", payload.tld, { + explode: false, + charEncoding: "percent", + }), + }; + + const path = pathToFunc("/v1/registrar/tlds/{tld}/price")(pathParams); + + const query = encodeFormQuery({ + "teamId": payload.teamId, + "years": payload.years, + }); + + const headers = new Headers(compactMap({ + Accept: "application/json", + })); + + const secConfig = await extractSecurity(client._options.bearerToken); + const securityInput = secConfig == null ? {} : { bearerToken: secConfig }; + const requestSecurity = resolveGlobalSecurity(securityInput); + + const context = { + options: client._options, + baseURL: options?.serverURL ?? client._baseURL ?? "", + operationID: "getTldPrice", + oAuth2Scopes: null, + + resolvedSecurity: requestSecurity, + + securitySource: client._options.bearerToken, + retryConfig: options?.retries + || client._options.retryConfig + || { strategy: "none" }, + retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"], + }; + + const requestRes = client._createRequest(context, { + security: requestSecurity, + method: "GET", + baseURL: options?.serverURL, + path: path, + headers: headers, + query: query, + body: body, + userAgent: client._options.userAgent, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return [requestRes, { status: "invalid" }]; + } + const req = requestRes.value; + + const doResult = await client._do(req, { + context, + errorCodes: ["400", "401", "403", "429", "4XX", "500", "5XX"], + retryConfig: context.retryConfig, + retryCodes: context.retryCodes, + }); + if (!doResult.ok) { + return [doResult, { status: "request-error", request: req }]; + } + const response = doResult.value; + + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + + const [result] = await M.match< + GetTldPriceResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | NotAuthorizedForScope + | VercelRateLimitError + | InternalServerError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.json(200, GetTldPriceResponseBody$inboundSchema), + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.jsonErr(403, NotAuthorizedForScope$inboundSchema), + M.jsonErr(429, VercelRateLimitError$inboundSchema), + M.jsonErr(500, InternalServerError$inboundSchema), + M.fail("4XX"), + M.fail("5XX"), + )(response, req, { extraFields: responseFields }); + if (!result.ok) { + return [result, { status: "complete", request: req, response }]; + } + + return [result, { status: "complete", request: req, response }]; +} diff --git a/src/funcs/domainsRegistrarRenewDomain.ts b/src/funcs/domainsRegistrarRenewDomain.ts new file mode 100644 index 000000000..885eb4516 --- /dev/null +++ b/src/funcs/domainsRegistrarRenewDomain.ts @@ -0,0 +1,227 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { VercelCore } from "../core.js"; +import { encodeFormQuery, encodeJSON, encodeSimple } from "../lib/encodings.js"; +import * as M from "../lib/matchers.js"; +import { compactMap } from "../lib/primitives.js"; +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 { + ConnectionError, + InvalidRequestError, + RequestAbortedError, + RequestTimeoutError, + UnexpectedClientError, +} from "../models/httpclienterrors.js"; +import { + InternalServerError, + InternalServerError$inboundSchema, +} from "../models/internalservererror.js"; +import { + RenewDomainDomainsRegistrarResponseBody, + RenewDomainDomainsRegistrarResponseBody$inboundSchema, + RenewDomainRequest, + RenewDomainRequest$outboundSchema, + RenewDomainResponseBody, + RenewDomainResponseBody$inboundSchema, +} from "../models/renewdomainop.js"; +import { ResponseValidationError } from "../models/responsevalidationerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; +import { + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { VercelError } from "../models/vercelerror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; +import { + VercelRateLimitError, + VercelRateLimitError$inboundSchema, +} from "../models/vercelratelimiterror.js"; +import { APICall, APIPromise } from "../types/async.js"; +import { Result } from "../types/fp.js"; + +/** + * Renew a domain + * + * @remarks + * Renew a domain + */ +export function domainsRegistrarRenewDomain( + client: VercelCore, + request: RenewDomainRequest, + options?: RequestOptions, +): APIPromise< + Result< + RenewDomainResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | RenewDomainDomainsRegistrarResponseBody + | VercelNotFoundError + | VercelRateLimitError + | InternalServerError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + > +> { + return new APIPromise($do( + client, + request, + options, + )); +} + +async function $do( + client: VercelCore, + request: RenewDomainRequest, + options?: RequestOptions, +): Promise< + [ + Result< + RenewDomainResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | RenewDomainDomainsRegistrarResponseBody + | VercelNotFoundError + | VercelRateLimitError + | InternalServerError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + APICall, + ] +> { + const parsed = safeParse( + request, + (value) => RenewDomainRequest$outboundSchema.parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return [parsed, { status: "invalid" }]; + } + const payload = parsed.value; + const body = encodeJSON("body", payload.RequestBody, { explode: true }); + + const pathParams = { + domain: encodeSimple("domain", payload.domain, { + explode: false, + charEncoding: "percent", + }), + }; + + const path = pathToFunc("/v1/registrar/domains/{domain}/renew")(pathParams); + + const query = encodeFormQuery({ + "teamId": payload.teamId, + }); + + const headers = new Headers(compactMap({ + "Content-Type": "application/json", + Accept: "application/json", + })); + + const secConfig = await extractSecurity(client._options.bearerToken); + const securityInput = secConfig == null ? {} : { bearerToken: secConfig }; + const requestSecurity = resolveGlobalSecurity(securityInput); + + const context = { + options: client._options, + baseURL: options?.serverURL ?? client._baseURL ?? "", + operationID: "renewDomain", + oAuth2Scopes: null, + + resolvedSecurity: requestSecurity, + + securitySource: client._options.bearerToken, + retryConfig: options?.retries + || client._options.retryConfig + || { strategy: "none" }, + retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"], + }; + + const requestRes = client._createRequest(context, { + security: requestSecurity, + method: "POST", + baseURL: options?.serverURL, + path: path, + headers: headers, + query: query, + body: body, + userAgent: client._options.userAgent, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return [requestRes, { status: "invalid" }]; + } + const req = requestRes.value; + + const doResult = await client._do(req, { + context, + errorCodes: ["400", "401", "403", "404", "429", "4XX", "500", "5XX"], + retryConfig: context.retryConfig, + retryCodes: context.retryCodes, + }); + if (!doResult.ok) { + return [doResult, { status: "request-error", request: req }]; + } + const response = doResult.value; + + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + + const [result] = await M.match< + RenewDomainResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | RenewDomainDomainsRegistrarResponseBody + | VercelNotFoundError + | VercelRateLimitError + | InternalServerError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.json(200, RenewDomainResponseBody$inboundSchema), + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.jsonErr(403, RenewDomainDomainsRegistrarResponseBody$inboundSchema), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + M.jsonErr(429, VercelRateLimitError$inboundSchema), + M.jsonErr(500, InternalServerError$inboundSchema), + M.fail("4XX"), + M.fail("5XX"), + )(response, req, { extraFields: responseFields }); + if (!result.ok) { + return [result, { status: "complete", request: req, response }]; + } + + return [result, { status: "complete", request: req, response }]; +} diff --git a/src/funcs/domainsRegistrarTransferInDomain.ts b/src/funcs/domainsRegistrarTransferInDomain.ts new file mode 100644 index 000000000..29ce65fd0 --- /dev/null +++ b/src/funcs/domainsRegistrarTransferInDomain.ts @@ -0,0 +1,221 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { VercelCore } from "../core.js"; +import { encodeFormQuery, encodeJSON, encodeSimple } from "../lib/encodings.js"; +import * as M from "../lib/matchers.js"; +import { compactMap } from "../lib/primitives.js"; +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 { + ConnectionError, + InvalidRequestError, + RequestAbortedError, + RequestTimeoutError, + UnexpectedClientError, +} from "../models/httpclienterrors.js"; +import { + InternalServerError, + InternalServerError$inboundSchema, +} from "../models/internalservererror.js"; +import { ResponseValidationError } from "../models/responsevalidationerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; +import { + TransferInDomainDomainsRegistrarResponseBody, + TransferInDomainDomainsRegistrarResponseBody$inboundSchema, + TransferInDomainRequest, + TransferInDomainRequest$outboundSchema, + TransferInDomainResponseBody, + TransferInDomainResponseBody$inboundSchema, +} from "../models/transferindomainop.js"; +import { + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { VercelError } from "../models/vercelerror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelRateLimitError, + VercelRateLimitError$inboundSchema, +} from "../models/vercelratelimiterror.js"; +import { APICall, APIPromise } from "../types/async.js"; +import { Result } from "../types/fp.js"; + +/** + * Transfer-in a domain + * + * @remarks + * Transfer a domain in from another registrar + */ +export function domainsRegistrarTransferInDomain( + client: VercelCore, + request: TransferInDomainRequest, + options?: RequestOptions, +): APIPromise< + Result< + TransferInDomainResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | TransferInDomainDomainsRegistrarResponseBody + | VercelRateLimitError + | InternalServerError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + > +> { + return new APIPromise($do( + client, + request, + options, + )); +} + +async function $do( + client: VercelCore, + request: TransferInDomainRequest, + options?: RequestOptions, +): Promise< + [ + Result< + TransferInDomainResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | TransferInDomainDomainsRegistrarResponseBody + | VercelRateLimitError + | InternalServerError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + APICall, + ] +> { + const parsed = safeParse( + request, + (value) => TransferInDomainRequest$outboundSchema.parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return [parsed, { status: "invalid" }]; + } + const payload = parsed.value; + const body = encodeJSON("body", payload.RequestBody, { explode: true }); + + const pathParams = { + domain: encodeSimple("domain", payload.domain, { + explode: false, + charEncoding: "percent", + }), + }; + + const path = pathToFunc("/v1/registrar/domains/{domain}/transfer")( + pathParams, + ); + + const query = encodeFormQuery({ + "teamId": payload.teamId, + }); + + const headers = new Headers(compactMap({ + "Content-Type": "application/json", + Accept: "application/json", + })); + + const secConfig = await extractSecurity(client._options.bearerToken); + const securityInput = secConfig == null ? {} : { bearerToken: secConfig }; + const requestSecurity = resolveGlobalSecurity(securityInput); + + const context = { + options: client._options, + baseURL: options?.serverURL ?? client._baseURL ?? "", + operationID: "transferInDomain", + oAuth2Scopes: null, + + resolvedSecurity: requestSecurity, + + securitySource: client._options.bearerToken, + retryConfig: options?.retries + || client._options.retryConfig + || { strategy: "none" }, + retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"], + }; + + const requestRes = client._createRequest(context, { + security: requestSecurity, + method: "POST", + baseURL: options?.serverURL, + path: path, + headers: headers, + query: query, + body: body, + userAgent: client._options.userAgent, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return [requestRes, { status: "invalid" }]; + } + const req = requestRes.value; + + const doResult = await client._do(req, { + context, + errorCodes: ["400", "401", "403", "429", "4XX", "500", "5XX"], + retryConfig: context.retryConfig, + retryCodes: context.retryCodes, + }); + if (!doResult.ok) { + return [doResult, { status: "request-error", request: req }]; + } + const response = doResult.value; + + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + + const [result] = await M.match< + TransferInDomainResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | TransferInDomainDomainsRegistrarResponseBody + | VercelRateLimitError + | InternalServerError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.json(200, TransferInDomainResponseBody$inboundSchema), + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.jsonErr(403, TransferInDomainDomainsRegistrarResponseBody$inboundSchema), + M.jsonErr(429, VercelRateLimitError$inboundSchema), + M.jsonErr(500, InternalServerError$inboundSchema), + M.fail("4XX"), + M.fail("5XX"), + )(response, req, { extraFields: responseFields }); + if (!result.ok) { + return [result, { status: "complete", request: req, response }]; + } + + return [result, { status: "complete", request: req, response }]; +} diff --git a/src/funcs/domainsRegistrarUpdateDomainAutoRenew.ts b/src/funcs/domainsRegistrarUpdateDomainAutoRenew.ts new file mode 100644 index 000000000..c5d3c0ebf --- /dev/null +++ b/src/funcs/domainsRegistrarUpdateDomainAutoRenew.ts @@ -0,0 +1,228 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { VercelCore } from "../core.js"; +import { encodeFormQuery, encodeJSON, encodeSimple } from "../lib/encodings.js"; +import * as M from "../lib/matchers.js"; +import { compactMap } from "../lib/primitives.js"; +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 { + ConnectionError, + InvalidRequestError, + RequestAbortedError, + RequestTimeoutError, + UnexpectedClientError, +} from "../models/httpclienterrors.js"; +import { + InternalServerError, + InternalServerError$inboundSchema, +} from "../models/internalservererror.js"; +import { ResponseValidationError } from "../models/responsevalidationerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; +import { + UpdateDomainAutoRenewRequest, + UpdateDomainAutoRenewRequest$outboundSchema, + UpdateDomainAutoRenewResponseBody, + UpdateDomainAutoRenewResponseBody$inboundSchema, +} from "../models/updatedomainautorenewop.js"; +import { + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { VercelError } from "../models/vercelerror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; +import { + VercelRateLimitError, + VercelRateLimitError$inboundSchema, +} from "../models/vercelratelimiterror.js"; +import { APICall, APIPromise } from "../types/async.js"; +import { Result } from "../types/fp.js"; + +/** + * Update auto-renew for a domain + * + * @remarks + * Update the auto-renew setting for a domain + */ +export function domainsRegistrarUpdateDomainAutoRenew( + client: VercelCore, + request: UpdateDomainAutoRenewRequest, + options?: RequestOptions, +): APIPromise< + Result< + void, + | VercelBadRequestError + | VercelForbiddenError + | UpdateDomainAutoRenewResponseBody + | VercelNotFoundError + | VercelRateLimitError + | InternalServerError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + > +> { + return new APIPromise($do( + client, + request, + options, + )); +} + +async function $do( + client: VercelCore, + request: UpdateDomainAutoRenewRequest, + options?: RequestOptions, +): Promise< + [ + Result< + void, + | VercelBadRequestError + | VercelForbiddenError + | UpdateDomainAutoRenewResponseBody + | VercelNotFoundError + | VercelRateLimitError + | InternalServerError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + APICall, + ] +> { + const parsed = safeParse( + request, + (value) => UpdateDomainAutoRenewRequest$outboundSchema.parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return [parsed, { status: "invalid" }]; + } + const payload = parsed.value; + const body = encodeJSON("body", payload.RequestBody, { explode: true }); + + const pathParams = { + domain: encodeSimple("domain", payload.domain, { + explode: false, + charEncoding: "percent", + }), + }; + + const path = pathToFunc("/v1/registrar/domains/{domain}/auto-renew")( + pathParams, + ); + + const query = encodeFormQuery({ + "teamId": payload.teamId, + }); + + const headers = new Headers(compactMap({ + "Content-Type": "application/json", + Accept: "application/json", + })); + + const secConfig = await extractSecurity(client._options.bearerToken); + const securityInput = secConfig == null ? {} : { bearerToken: secConfig }; + const requestSecurity = resolveGlobalSecurity(securityInput); + + const context = { + options: client._options, + baseURL: options?.serverURL ?? client._baseURL ?? "", + operationID: "updateDomainAutoRenew", + oAuth2Scopes: null, + + resolvedSecurity: requestSecurity, + + securitySource: client._options.bearerToken, + retryConfig: options?.retries + || client._options.retryConfig + || { strategy: "none" }, + retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"], + }; + + const requestRes = client._createRequest(context, { + security: requestSecurity, + method: "PATCH", + baseURL: options?.serverURL, + path: path, + headers: headers, + query: query, + body: body, + userAgent: client._options.userAgent, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return [requestRes, { status: "invalid" }]; + } + const req = requestRes.value; + + const doResult = await client._do(req, { + context, + errorCodes: ["400", "401", "403", "404", "429", "4XX", "500", "5XX"], + retryConfig: context.retryConfig, + retryCodes: context.retryCodes, + }); + if (!doResult.ok) { + return [doResult, { status: "request-error", request: req }]; + } + const response = doResult.value; + + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + + const [result] = await M.match< + void, + | VercelBadRequestError + | VercelForbiddenError + | UpdateDomainAutoRenewResponseBody + | VercelNotFoundError + | VercelRateLimitError + | InternalServerError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.nil(204, z.void()), + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.jsonErr(403, UpdateDomainAutoRenewResponseBody$inboundSchema), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + M.jsonErr(429, VercelRateLimitError$inboundSchema), + M.jsonErr(500, InternalServerError$inboundSchema), + M.fail("4XX"), + M.fail("5XX"), + )(response, req, { extraFields: responseFields }); + if (!result.ok) { + return [result, { status: "complete", request: req, response }]; + } + + return [result, { status: "complete", request: req, response }]; +} diff --git a/src/funcs/domainsRegistrarUpdateDomainNameservers.ts b/src/funcs/domainsRegistrarUpdateDomainNameservers.ts new file mode 100644 index 000000000..51366aac8 --- /dev/null +++ b/src/funcs/domainsRegistrarUpdateDomainNameservers.ts @@ -0,0 +1,228 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { VercelCore } from "../core.js"; +import { encodeFormQuery, encodeJSON, encodeSimple } from "../lib/encodings.js"; +import * as M from "../lib/matchers.js"; +import { compactMap } from "../lib/primitives.js"; +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 { + ConnectionError, + InvalidRequestError, + RequestAbortedError, + RequestTimeoutError, + UnexpectedClientError, +} from "../models/httpclienterrors.js"; +import { + InternalServerError, + InternalServerError$inboundSchema, +} from "../models/internalservererror.js"; +import { ResponseValidationError } from "../models/responsevalidationerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; +import { + UpdateDomainNameserversRequest, + UpdateDomainNameserversRequest$outboundSchema, + UpdateDomainNameserversResponseBody, + UpdateDomainNameserversResponseBody$inboundSchema, +} from "../models/updatedomainnameserversop.js"; +import { + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { VercelError } from "../models/vercelerror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; +import { + VercelRateLimitError, + VercelRateLimitError$inboundSchema, +} from "../models/vercelratelimiterror.js"; +import { APICall, APIPromise } from "../types/async.js"; +import { Result } from "../types/fp.js"; + +/** + * Update nameservers for a domain + * + * @remarks + * Update the nameservers for a domain. Pass an empty array to use Vercel's default nameservers. + */ +export function domainsRegistrarUpdateDomainNameservers( + client: VercelCore, + request: UpdateDomainNameserversRequest, + options?: RequestOptions, +): APIPromise< + Result< + void, + | VercelBadRequestError + | VercelForbiddenError + | UpdateDomainNameserversResponseBody + | VercelNotFoundError + | VercelRateLimitError + | InternalServerError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + > +> { + return new APIPromise($do( + client, + request, + options, + )); +} + +async function $do( + client: VercelCore, + request: UpdateDomainNameserversRequest, + options?: RequestOptions, +): Promise< + [ + Result< + void, + | VercelBadRequestError + | VercelForbiddenError + | UpdateDomainNameserversResponseBody + | VercelNotFoundError + | VercelRateLimitError + | InternalServerError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + APICall, + ] +> { + const parsed = safeParse( + request, + (value) => UpdateDomainNameserversRequest$outboundSchema.parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return [parsed, { status: "invalid" }]; + } + const payload = parsed.value; + const body = encodeJSON("body", payload.RequestBody, { explode: true }); + + const pathParams = { + domain: encodeSimple("domain", payload.domain, { + explode: false, + charEncoding: "percent", + }), + }; + + const path = pathToFunc("/v1/registrar/domains/{domain}/nameservers")( + pathParams, + ); + + const query = encodeFormQuery({ + "teamId": payload.teamId, + }); + + const headers = new Headers(compactMap({ + "Content-Type": "application/json", + Accept: "application/json", + })); + + const secConfig = await extractSecurity(client._options.bearerToken); + const securityInput = secConfig == null ? {} : { bearerToken: secConfig }; + const requestSecurity = resolveGlobalSecurity(securityInput); + + const context = { + options: client._options, + baseURL: options?.serverURL ?? client._baseURL ?? "", + operationID: "updateDomainNameservers", + oAuth2Scopes: null, + + resolvedSecurity: requestSecurity, + + securitySource: client._options.bearerToken, + retryConfig: options?.retries + || client._options.retryConfig + || { strategy: "none" }, + retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"], + }; + + const requestRes = client._createRequest(context, { + security: requestSecurity, + method: "PATCH", + baseURL: options?.serverURL, + path: path, + headers: headers, + query: query, + body: body, + userAgent: client._options.userAgent, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return [requestRes, { status: "invalid" }]; + } + const req = requestRes.value; + + const doResult = await client._do(req, { + context, + errorCodes: ["400", "401", "403", "404", "429", "4XX", "500", "5XX"], + retryConfig: context.retryConfig, + retryCodes: context.retryCodes, + }); + if (!doResult.ok) { + return [doResult, { status: "request-error", request: req }]; + } + const response = doResult.value; + + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + + const [result] = await M.match< + void, + | VercelBadRequestError + | VercelForbiddenError + | UpdateDomainNameserversResponseBody + | VercelNotFoundError + | VercelRateLimitError + | InternalServerError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.nil(204, z.void()), + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.jsonErr(403, UpdateDomainNameserversResponseBody$inboundSchema), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + M.jsonErr(429, VercelRateLimitError$inboundSchema), + M.jsonErr(500, InternalServerError$inboundSchema), + M.fail("4XX"), + M.fail("5XX"), + )(response, req, { extraFields: responseFields }); + if (!result.ok) { + return [result, { status: "complete", request: req, response }]; + } + + return [result, { status: "complete", request: req, response }]; +} diff --git a/src/funcs/drainsCreateDrain.ts b/src/funcs/drainsCreateDrain.ts new file mode 100644 index 000000000..490487a47 --- /dev/null +++ b/src/funcs/drainsCreateDrain.ts @@ -0,0 +1,191 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { VercelCore } from "../core.js"; +import { encodeFormQuery, encodeJSON } from "../lib/encodings.js"; +import * as M from "../lib/matchers.js"; +import { compactMap } from "../lib/primitives.js"; +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 { + CreateDrainRequest, + CreateDrainRequest$outboundSchema, + CreateDrainResponseBody, + CreateDrainResponseBody$inboundSchema, +} from "../models/createdrainop.js"; +import { + ConnectionError, + InvalidRequestError, + RequestAbortedError, + RequestTimeoutError, + UnexpectedClientError, +} from "../models/httpclienterrors.js"; +import { ResponseValidationError } from "../models/responsevalidationerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; +import { + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { VercelError } from "../models/vercelerror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { APICall, APIPromise } from "../types/async.js"; +import { Result } from "../types/fp.js"; + +/** + * Create a new Drain + * + * @remarks + * Create a new Drain with the provided configuration. + */ +export function drainsCreateDrain( + client: VercelCore, + request: CreateDrainRequest, + options?: RequestOptions, +): APIPromise< + Result< + CreateDrainResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + > +> { + return new APIPromise($do( + client, + request, + options, + )); +} + +async function $do( + client: VercelCore, + request: CreateDrainRequest, + options?: RequestOptions, +): Promise< + [ + Result< + CreateDrainResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + APICall, + ] +> { + const parsed = safeParse( + request, + (value) => CreateDrainRequest$outboundSchema.parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return [parsed, { status: "invalid" }]; + } + const payload = parsed.value; + const body = encodeJSON("body", payload.RequestBody, { explode: true }); + + const path = pathToFunc("/v1/drains")(); + + const query = encodeFormQuery({ + "slug": payload.slug, + "teamId": payload.teamId, + }); + + const headers = new Headers(compactMap({ + "Content-Type": "application/json", + Accept: "application/json", + })); + + const secConfig = await extractSecurity(client._options.bearerToken); + const securityInput = secConfig == null ? {} : { bearerToken: secConfig }; + const requestSecurity = resolveGlobalSecurity(securityInput); + + const context = { + options: client._options, + baseURL: options?.serverURL ?? client._baseURL ?? "", + operationID: "createDrain", + oAuth2Scopes: null, + + resolvedSecurity: requestSecurity, + + securitySource: client._options.bearerToken, + retryConfig: options?.retries + || client._options.retryConfig + || { strategy: "none" }, + retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"], + }; + + const requestRes = client._createRequest(context, { + security: requestSecurity, + method: "POST", + baseURL: options?.serverURL, + path: path, + headers: headers, + query: query, + body: body, + userAgent: client._options.userAgent, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return [requestRes, { status: "invalid" }]; + } + const req = requestRes.value; + + const doResult = await client._do(req, { + context, + errorCodes: ["400", "401", "403", "4XX", "5XX"], + retryConfig: context.retryConfig, + retryCodes: context.retryCodes, + }); + if (!doResult.ok) { + return [doResult, { status: "request-error", request: req }]; + } + const response = doResult.value; + + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + + const [result] = await M.match< + CreateDrainResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.json(200, CreateDrainResponseBody$inboundSchema), + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX"]), + M.fail("5XX"), + )(response, req, { extraFields: responseFields }); + if (!result.ok) { + return [result, { status: "complete", request: req, response }]; + } + + return [result, { status: "complete", request: req, response }]; +} diff --git a/src/funcs/drainsDeleteDrain.ts b/src/funcs/drainsDeleteDrain.ts new file mode 100644 index 000000000..718921edf --- /dev/null +++ b/src/funcs/drainsDeleteDrain.ts @@ -0,0 +1,204 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { VercelCore } from "../core.js"; +import { encodeFormQuery, encodeSimple } from "../lib/encodings.js"; +import * as M from "../lib/matchers.js"; +import { compactMap } from "../lib/primitives.js"; +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 { + DeleteDrainRequest, + DeleteDrainRequest$outboundSchema, +} from "../models/deletedrainop.js"; +import { + ConnectionError, + InvalidRequestError, + RequestAbortedError, + RequestTimeoutError, + UnexpectedClientError, +} from "../models/httpclienterrors.js"; +import { ResponseValidationError } from "../models/responsevalidationerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; +import { + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { VercelError } from "../models/vercelerror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; +import { APICall, APIPromise } from "../types/async.js"; +import { Result } from "../types/fp.js"; + +/** + * Delete a drain + * + * @remarks + * Delete a specific Drain by passing the drain id in the URL. + */ +export function drainsDeleteDrain( + client: VercelCore, + request: DeleteDrainRequest, + options?: RequestOptions, +): APIPromise< + Result< + void, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + > +> { + return new APIPromise($do( + client, + request, + options, + )); +} + +async function $do( + client: VercelCore, + request: DeleteDrainRequest, + options?: RequestOptions, +): Promise< + [ + Result< + void, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + APICall, + ] +> { + const parsed = safeParse( + request, + (value) => DeleteDrainRequest$outboundSchema.parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return [parsed, { status: "invalid" }]; + } + const payload = parsed.value; + const body = null; + + const pathParams = { + id: encodeSimple("id", payload.id, { + explode: false, + charEncoding: "percent", + }), + }; + + const path = pathToFunc("/v1/drains/{id}")(pathParams); + + const query = encodeFormQuery({ + "slug": payload.slug, + "teamId": payload.teamId, + }); + + const headers = new Headers(compactMap({ + Accept: "application/json", + })); + + const secConfig = await extractSecurity(client._options.bearerToken); + const securityInput = secConfig == null ? {} : { bearerToken: secConfig }; + const requestSecurity = resolveGlobalSecurity(securityInput); + + const context = { + options: client._options, + baseURL: options?.serverURL ?? client._baseURL ?? "", + operationID: "deleteDrain", + oAuth2Scopes: null, + + resolvedSecurity: requestSecurity, + + securitySource: client._options.bearerToken, + retryConfig: options?.retries + || client._options.retryConfig + || { strategy: "none" }, + retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"], + }; + + const requestRes = client._createRequest(context, { + security: requestSecurity, + method: "DELETE", + baseURL: options?.serverURL, + path: path, + headers: headers, + query: query, + body: body, + userAgent: client._options.userAgent, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return [requestRes, { status: "invalid" }]; + } + const req = requestRes.value; + + const doResult = await client._do(req, { + context, + errorCodes: ["400", "401", "403", "404", "4XX", "5XX"], + retryConfig: context.retryConfig, + retryCodes: context.retryCodes, + }); + if (!doResult.ok) { + return [doResult, { status: "request-error", request: req }]; + } + const response = doResult.value; + + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + + const [result] = await M.match< + void, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.nil(204, z.void()), + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + M.fail([403, "4XX"]), + M.fail("5XX"), + )(response, req, { extraFields: responseFields }); + if (!result.ok) { + return [result, { status: "complete", request: req, response }]; + } + + return [result, { status: "complete", request: req, response }]; +} diff --git a/src/funcs/drainsGetDrain.ts b/src/funcs/drainsGetDrain.ts new file mode 100644 index 000000000..a07a329a8 --- /dev/null +++ b/src/funcs/drainsGetDrain.ts @@ -0,0 +1,205 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { VercelCore } from "../core.js"; +import { encodeFormQuery, encodeSimple } from "../lib/encodings.js"; +import * as M from "../lib/matchers.js"; +import { compactMap } from "../lib/primitives.js"; +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 { + GetDrainRequest, + GetDrainRequest$outboundSchema, + GetDrainResponseBody, + GetDrainResponseBody$inboundSchema, +} from "../models/getdrainop.js"; +import { + ConnectionError, + InvalidRequestError, + RequestAbortedError, + RequestTimeoutError, + UnexpectedClientError, +} from "../models/httpclienterrors.js"; +import { ResponseValidationError } from "../models/responsevalidationerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; +import { + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { VercelError } from "../models/vercelerror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; +import { APICall, APIPromise } from "../types/async.js"; +import { Result } from "../types/fp.js"; + +/** + * Find a Drain by id + * + * @remarks + * Get the information for a specific Drain by passing the drain id in the URL. + */ +export function drainsGetDrain( + client: VercelCore, + request: GetDrainRequest, + options?: RequestOptions, +): APIPromise< + Result< + GetDrainResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + > +> { + return new APIPromise($do( + client, + request, + options, + )); +} + +async function $do( + client: VercelCore, + request: GetDrainRequest, + options?: RequestOptions, +): Promise< + [ + Result< + GetDrainResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + APICall, + ] +> { + const parsed = safeParse( + request, + (value) => GetDrainRequest$outboundSchema.parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return [parsed, { status: "invalid" }]; + } + const payload = parsed.value; + const body = null; + + const pathParams = { + id: encodeSimple("id", payload.id, { + explode: false, + charEncoding: "percent", + }), + }; + + const path = pathToFunc("/v1/drains/{id}")(pathParams); + + const query = encodeFormQuery({ + "slug": payload.slug, + "teamId": payload.teamId, + }); + + const headers = new Headers(compactMap({ + Accept: "application/json", + })); + + const secConfig = await extractSecurity(client._options.bearerToken); + const securityInput = secConfig == null ? {} : { bearerToken: secConfig }; + const requestSecurity = resolveGlobalSecurity(securityInput); + + const context = { + options: client._options, + baseURL: options?.serverURL ?? client._baseURL ?? "", + operationID: "getDrain", + oAuth2Scopes: null, + + resolvedSecurity: requestSecurity, + + securitySource: client._options.bearerToken, + retryConfig: options?.retries + || client._options.retryConfig + || { strategy: "none" }, + retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"], + }; + + const requestRes = client._createRequest(context, { + security: requestSecurity, + method: "GET", + baseURL: options?.serverURL, + path: path, + headers: headers, + query: query, + body: body, + userAgent: client._options.userAgent, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return [requestRes, { status: "invalid" }]; + } + const req = requestRes.value; + + const doResult = await client._do(req, { + context, + errorCodes: ["400", "401", "403", "404", "4XX", "5XX"], + retryConfig: context.retryConfig, + retryCodes: context.retryCodes, + }); + if (!doResult.ok) { + return [doResult, { status: "request-error", request: req }]; + } + const response = doResult.value; + + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + + const [result] = await M.match< + GetDrainResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.json(200, GetDrainResponseBody$inboundSchema), + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + M.fail([403, "4XX"]), + M.fail("5XX"), + )(response, req, { extraFields: responseFields }); + if (!result.ok) { + return [result, { status: "complete", request: req, response }]; + } + + return [result, { status: "complete", request: req, response }]; +} diff --git a/src/funcs/drainsGetDrains.ts b/src/funcs/drainsGetDrains.ts new file mode 100644 index 000000000..a39b3432d --- /dev/null +++ b/src/funcs/drainsGetDrains.ts @@ -0,0 +1,200 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { VercelCore } from "../core.js"; +import { encodeFormQuery } from "../lib/encodings.js"; +import * as M from "../lib/matchers.js"; +import { compactMap } from "../lib/primitives.js"; +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 { + GetDrainsRequest, + GetDrainsRequest$outboundSchema, + GetDrainsResponseBody, + GetDrainsResponseBody$inboundSchema, +} from "../models/getdrainsop.js"; +import { + ConnectionError, + InvalidRequestError, + RequestAbortedError, + RequestTimeoutError, + UnexpectedClientError, +} from "../models/httpclienterrors.js"; +import { ResponseValidationError } from "../models/responsevalidationerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; +import { + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { VercelError } from "../models/vercelerror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; +import { APICall, APIPromise } from "../types/async.js"; +import { Result } from "../types/fp.js"; + +/** + * Retrieve a list of all Drains + * + * @remarks + * Allows to retrieve the list of Drains of the authenticated team. + */ +export function drainsGetDrains( + client: VercelCore, + request: GetDrainsRequest, + options?: RequestOptions, +): APIPromise< + Result< + GetDrainsResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + > +> { + return new APIPromise($do( + client, + request, + options, + )); +} + +async function $do( + client: VercelCore, + request: GetDrainsRequest, + options?: RequestOptions, +): Promise< + [ + Result< + GetDrainsResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + APICall, + ] +> { + const parsed = safeParse( + request, + (value) => GetDrainsRequest$outboundSchema.parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return [parsed, { status: "invalid" }]; + } + const payload = parsed.value; + const body = null; + + const path = pathToFunc("/v1/drains")(); + + const query = encodeFormQuery({ + "includeMetadata": payload.includeMetadata, + "projectId": payload.projectId, + "slug": payload.slug, + "teamId": payload.teamId, + }); + + const headers = new Headers(compactMap({ + Accept: "application/json", + })); + + const secConfig = await extractSecurity(client._options.bearerToken); + const securityInput = secConfig == null ? {} : { bearerToken: secConfig }; + const requestSecurity = resolveGlobalSecurity(securityInput); + + const context = { + options: client._options, + baseURL: options?.serverURL ?? client._baseURL ?? "", + operationID: "getDrains", + oAuth2Scopes: null, + + resolvedSecurity: requestSecurity, + + securitySource: client._options.bearerToken, + retryConfig: options?.retries + || client._options.retryConfig + || { strategy: "none" }, + retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"], + }; + + const requestRes = client._createRequest(context, { + security: requestSecurity, + method: "GET", + baseURL: options?.serverURL, + path: path, + headers: headers, + query: query, + body: body, + userAgent: client._options.userAgent, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return [requestRes, { status: "invalid" }]; + } + const req = requestRes.value; + + const doResult = await client._do(req, { + context, + errorCodes: ["400", "401", "403", "404", "4XX", "5XX"], + retryConfig: context.retryConfig, + retryCodes: context.retryCodes, + }); + if (!doResult.ok) { + return [doResult, { status: "request-error", request: req }]; + } + const response = doResult.value; + + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + + const [result] = await M.match< + GetDrainsResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.json(200, GetDrainsResponseBody$inboundSchema), + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + M.fail([403, "4XX"]), + M.fail("5XX"), + )(response, req, { extraFields: responseFields }); + if (!result.ok) { + return [result, { status: "complete", request: req, response }]; + } + + return [result, { status: "complete", request: req, response }]; +} diff --git a/src/funcs/drainsTestDrain.ts b/src/funcs/drainsTestDrain.ts new file mode 100644 index 000000000..b5546aaf9 --- /dev/null +++ b/src/funcs/drainsTestDrain.ts @@ -0,0 +1,191 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { VercelCore } from "../core.js"; +import { encodeFormQuery, encodeJSON } from "../lib/encodings.js"; +import * as M from "../lib/matchers.js"; +import { compactMap } from "../lib/primitives.js"; +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 { + ConnectionError, + InvalidRequestError, + RequestAbortedError, + RequestTimeoutError, + UnexpectedClientError, +} from "../models/httpclienterrors.js"; +import { ResponseValidationError } from "../models/responsevalidationerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; +import { + TestDrainRequest, + TestDrainRequest$outboundSchema, + TestDrainResponseBody, + TestDrainResponseBody$inboundSchema, +} from "../models/testdrainop.js"; +import { + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { VercelError } from "../models/vercelerror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { APICall, APIPromise } from "../types/async.js"; +import { Result } from "../types/fp.js"; + +/** + * Validate Drain delivery configuration + * + * @remarks + * Validate the delivery configuration of a Drain using sample events. + */ +export function drainsTestDrain( + client: VercelCore, + request: TestDrainRequest, + options?: RequestOptions, +): APIPromise< + Result< + TestDrainResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + > +> { + return new APIPromise($do( + client, + request, + options, + )); +} + +async function $do( + client: VercelCore, + request: TestDrainRequest, + options?: RequestOptions, +): Promise< + [ + Result< + TestDrainResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + APICall, + ] +> { + const parsed = safeParse( + request, + (value) => TestDrainRequest$outboundSchema.parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return [parsed, { status: "invalid" }]; + } + const payload = parsed.value; + const body = encodeJSON("body", payload.RequestBody, { explode: true }); + + const path = pathToFunc("/v1/drains/test")(); + + const query = encodeFormQuery({ + "slug": payload.slug, + "teamId": payload.teamId, + }); + + const headers = new Headers(compactMap({ + "Content-Type": "application/json", + Accept: "application/json", + })); + + const secConfig = await extractSecurity(client._options.bearerToken); + const securityInput = secConfig == null ? {} : { bearerToken: secConfig }; + const requestSecurity = resolveGlobalSecurity(securityInput); + + const context = { + options: client._options, + baseURL: options?.serverURL ?? client._baseURL ?? "", + operationID: "testDrain", + oAuth2Scopes: null, + + resolvedSecurity: requestSecurity, + + securitySource: client._options.bearerToken, + retryConfig: options?.retries + || client._options.retryConfig + || { strategy: "none" }, + retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"], + }; + + const requestRes = client._createRequest(context, { + security: requestSecurity, + method: "POST", + baseURL: options?.serverURL, + path: path, + headers: headers, + query: query, + body: body, + userAgent: client._options.userAgent, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return [requestRes, { status: "invalid" }]; + } + const req = requestRes.value; + + const doResult = await client._do(req, { + context, + errorCodes: ["400", "401", "403", "4XX", "5XX"], + retryConfig: context.retryConfig, + retryCodes: context.retryCodes, + }); + if (!doResult.ok) { + return [doResult, { status: "request-error", request: req }]; + } + const response = doResult.value; + + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + + const [result] = await M.match< + TestDrainResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.json(200, TestDrainResponseBody$inboundSchema), + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX"]), + M.fail("5XX"), + )(response, req, { extraFields: responseFields }); + if (!result.ok) { + return [result, { status: "complete", request: req, response }]; + } + + return [result, { status: "complete", request: req, response }]; +} diff --git a/src/funcs/drainsUpdateDrain.ts b/src/funcs/drainsUpdateDrain.ts new file mode 100644 index 000000000..25a207b8c --- /dev/null +++ b/src/funcs/drainsUpdateDrain.ts @@ -0,0 +1,206 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { VercelCore } from "../core.js"; +import { encodeFormQuery, encodeJSON, encodeSimple } from "../lib/encodings.js"; +import * as M from "../lib/matchers.js"; +import { compactMap } from "../lib/primitives.js"; +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 { + ConnectionError, + InvalidRequestError, + RequestAbortedError, + RequestTimeoutError, + UnexpectedClientError, +} from "../models/httpclienterrors.js"; +import { ResponseValidationError } from "../models/responsevalidationerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; +import { + UpdateDrainRequest, + UpdateDrainRequest$outboundSchema, + UpdateDrainResponseBody, + UpdateDrainResponseBody$inboundSchema, +} from "../models/updatedrainop.js"; +import { + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { VercelError } from "../models/vercelerror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; +import { APICall, APIPromise } from "../types/async.js"; +import { Result } from "../types/fp.js"; + +/** + * Update an existing Drain + * + * @remarks + * Update the configuration of an existing drain. + */ +export function drainsUpdateDrain( + client: VercelCore, + request: UpdateDrainRequest, + options?: RequestOptions, +): APIPromise< + Result< + UpdateDrainResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + > +> { + return new APIPromise($do( + client, + request, + options, + )); +} + +async function $do( + client: VercelCore, + request: UpdateDrainRequest, + options?: RequestOptions, +): Promise< + [ + Result< + UpdateDrainResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + APICall, + ] +> { + const parsed = safeParse( + request, + (value) => UpdateDrainRequest$outboundSchema.parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return [parsed, { status: "invalid" }]; + } + const payload = parsed.value; + const body = encodeJSON("body", payload.RequestBody, { explode: true }); + + const pathParams = { + id: encodeSimple("id", payload.id, { + explode: false, + charEncoding: "percent", + }), + }; + + const path = pathToFunc("/v1/drains/{id}")(pathParams); + + const query = encodeFormQuery({ + "slug": payload.slug, + "teamId": payload.teamId, + }); + + const headers = new Headers(compactMap({ + "Content-Type": "application/json", + Accept: "application/json", + })); + + const secConfig = await extractSecurity(client._options.bearerToken); + const securityInput = secConfig == null ? {} : { bearerToken: secConfig }; + const requestSecurity = resolveGlobalSecurity(securityInput); + + const context = { + options: client._options, + baseURL: options?.serverURL ?? client._baseURL ?? "", + operationID: "updateDrain", + oAuth2Scopes: null, + + resolvedSecurity: requestSecurity, + + securitySource: client._options.bearerToken, + retryConfig: options?.retries + || client._options.retryConfig + || { strategy: "none" }, + retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"], + }; + + const requestRes = client._createRequest(context, { + security: requestSecurity, + method: "PATCH", + baseURL: options?.serverURL, + path: path, + headers: headers, + query: query, + body: body, + userAgent: client._options.userAgent, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return [requestRes, { status: "invalid" }]; + } + const req = requestRes.value; + + const doResult = await client._do(req, { + context, + errorCodes: ["400", "401", "403", "404", "4XX", "5XX"], + retryConfig: context.retryConfig, + retryCodes: context.retryCodes, + }); + if (!doResult.ok) { + return [doResult, { status: "request-error", request: req }]; + } + const response = doResult.value; + + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + + const [result] = await M.match< + UpdateDrainResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.json(200, UpdateDrainResponseBody$inboundSchema), + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + M.fail([403, "4XX"]), + M.fail("5XX"), + )(response, req, { extraFields: responseFields }); + if (!result.ok) { + return [result, { status: "complete", request: req, response }]; + } + + return [result, { status: "complete", request: req, response }]; +} diff --git a/src/funcs/edgeCacheDangerouslyDeleteByTags.ts b/src/funcs/edgeCacheDangerouslyDeleteByTags.ts index f50a30b0f..5b1093c9f 100644 --- a/src/funcs/edgeCacheDangerouslyDeleteByTags.ts +++ b/src/funcs/edgeCacheDangerouslyDeleteByTags.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { VercelCore } from "../core.js"; import { encodeFormQuery, encodeJSON } from "../lib/encodings.js"; import * as M from "../lib/matchers.js"; @@ -128,7 +128,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "dangerouslyDeleteByTags", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/edgeCacheInvalidateByTags.ts b/src/funcs/edgeCacheInvalidateByTags.ts index a51b67a37..9e45d8042 100644 --- a/src/funcs/edgeCacheInvalidateByTags.ts +++ b/src/funcs/edgeCacheInvalidateByTags.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { VercelCore } from "../core.js"; import { encodeFormQuery, encodeJSON } from "../lib/encodings.js"; import * as M from "../lib/matchers.js"; @@ -128,7 +128,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "invalidateByTags", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/edgeConfigCreateEdgeConfig.ts b/src/funcs/edgeConfigCreateEdgeConfig.ts index d2a96614f..87f053b7e 100644 --- a/src/funcs/edgeConfigCreateEdgeConfig.ts +++ b/src/funcs/edgeConfigCreateEdgeConfig.ts @@ -122,7 +122,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "createEdgeConfig", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/edgeConfigCreateEdgeConfigToken.ts b/src/funcs/edgeConfigCreateEdgeConfigToken.ts index 053c927c0..49651cfb8 100644 --- a/src/funcs/edgeConfigCreateEdgeConfigToken.ts +++ b/src/funcs/edgeConfigCreateEdgeConfigToken.ts @@ -135,7 +135,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "createEdgeConfigToken", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/edgeConfigDeleteEdgeConfig.ts b/src/funcs/edgeConfigDeleteEdgeConfig.ts index 864d87c78..c6e67d661 100644 --- a/src/funcs/edgeConfigDeleteEdgeConfig.ts +++ b/src/funcs/edgeConfigDeleteEdgeConfig.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { VercelCore } from "../core.js"; import { encodeFormQuery, encodeSimple } from "../lib/encodings.js"; import * as M from "../lib/matchers.js"; @@ -133,7 +133,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "deleteEdgeConfig", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/edgeConfigDeleteEdgeConfigSchema.ts b/src/funcs/edgeConfigDeleteEdgeConfigSchema.ts index e3a8139ac..454d91066 100644 --- a/src/funcs/edgeConfigDeleteEdgeConfigSchema.ts +++ b/src/funcs/edgeConfigDeleteEdgeConfigSchema.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { VercelCore } from "../core.js"; import { encodeFormQuery, encodeSimple } from "../lib/encodings.js"; import * as M from "../lib/matchers.js"; @@ -133,7 +133,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "deleteEdgeConfigSchema", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/edgeConfigDeleteEdgeConfigTokens.ts b/src/funcs/edgeConfigDeleteEdgeConfigTokens.ts index 80c0f9d4f..fc4e45434 100644 --- a/src/funcs/edgeConfigDeleteEdgeConfigTokens.ts +++ b/src/funcs/edgeConfigDeleteEdgeConfigTokens.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { VercelCore } from "../core.js"; import { encodeFormQuery, encodeJSON, encodeSimple } from "../lib/encodings.js"; import * as M from "../lib/matchers.js"; @@ -134,7 +134,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "deleteEdgeConfigTokens", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/edgeConfigGetEdgeConfig.ts b/src/funcs/edgeConfigGetEdgeConfig.ts index 5365c5e32..727cf2e2c 100644 --- a/src/funcs/edgeConfigGetEdgeConfig.ts +++ b/src/funcs/edgeConfigGetEdgeConfig.ts @@ -134,7 +134,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "getEdgeConfig", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/edgeConfigGetEdgeConfigBackup.ts b/src/funcs/edgeConfigGetEdgeConfigBackup.ts index 0ea144bd0..0be2145b0 100644 --- a/src/funcs/edgeConfigGetEdgeConfigBackup.ts +++ b/src/funcs/edgeConfigGetEdgeConfigBackup.ts @@ -141,7 +141,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "getEdgeConfigBackup", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/edgeConfigGetEdgeConfigBackups.ts b/src/funcs/edgeConfigGetEdgeConfigBackups.ts index 9c36e84a1..327cc5d02 100644 --- a/src/funcs/edgeConfigGetEdgeConfigBackups.ts +++ b/src/funcs/edgeConfigGetEdgeConfigBackups.ts @@ -137,7 +137,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "getEdgeConfigBackups", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/edgeConfigGetEdgeConfigItem.ts b/src/funcs/edgeConfigGetEdgeConfigItem.ts index ec82024ba..fe500a0da 100644 --- a/src/funcs/edgeConfigGetEdgeConfigItem.ts +++ b/src/funcs/edgeConfigGetEdgeConfigItem.ts @@ -143,7 +143,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "getEdgeConfigItem", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/edgeConfigGetEdgeConfigItems.ts b/src/funcs/edgeConfigGetEdgeConfigItems.ts index 22044af88..2726ee562 100644 --- a/src/funcs/edgeConfigGetEdgeConfigItems.ts +++ b/src/funcs/edgeConfigGetEdgeConfigItems.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { VercelCore } from "../core.js"; import { encodeFormQuery, encodeSimple } from "../lib/encodings.js"; import * as M from "../lib/matchers.js"; @@ -137,7 +137,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "getEdgeConfigItems", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/edgeConfigGetEdgeConfigSchema.ts b/src/funcs/edgeConfigGetEdgeConfigSchema.ts index ef2c4d12e..a89b0cddd 100644 --- a/src/funcs/edgeConfigGetEdgeConfigSchema.ts +++ b/src/funcs/edgeConfigGetEdgeConfigSchema.ts @@ -134,7 +134,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "getEdgeConfigSchema", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/edgeConfigGetEdgeConfigToken.ts b/src/funcs/edgeConfigGetEdgeConfigToken.ts index a2e1a72c8..a662e951c 100644 --- a/src/funcs/edgeConfigGetEdgeConfigToken.ts +++ b/src/funcs/edgeConfigGetEdgeConfigToken.ts @@ -142,7 +142,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "getEdgeConfigToken", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/edgeConfigGetEdgeConfigTokens.ts b/src/funcs/edgeConfigGetEdgeConfigTokens.ts index acceecfe9..f99a72d97 100644 --- a/src/funcs/edgeConfigGetEdgeConfigTokens.ts +++ b/src/funcs/edgeConfigGetEdgeConfigTokens.ts @@ -136,7 +136,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "getEdgeConfigTokens", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/edgeConfigGetEdgeConfigs.ts b/src/funcs/edgeConfigGetEdgeConfigs.ts index a256fa69a..26c0141f9 100644 --- a/src/funcs/edgeConfigGetEdgeConfigs.ts +++ b/src/funcs/edgeConfigGetEdgeConfigs.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { VercelCore } from "../core.js"; import { encodeFormQuery } from "../lib/encodings.js"; import * as M from "../lib/matchers.js"; @@ -122,7 +122,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "getEdgeConfigs", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/edgeConfigPatchEdgeConfigItems.ts b/src/funcs/edgeConfigPatchEdgeConfigItems.ts index 07595043d..a2b3b233b 100644 --- a/src/funcs/edgeConfigPatchEdgeConfigItems.ts +++ b/src/funcs/edgeConfigPatchEdgeConfigItems.ts @@ -135,7 +135,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "patchEdgeConfigItems", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/edgeConfigPatchEdgeConfigSchema.ts b/src/funcs/edgeConfigPatchEdgeConfigSchema.ts index 09d0eaa61..fe3b7739f 100644 --- a/src/funcs/edgeConfigPatchEdgeConfigSchema.ts +++ b/src/funcs/edgeConfigPatchEdgeConfigSchema.ts @@ -136,7 +136,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "patchEdgeConfigSchema", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/edgeConfigUpdateEdgeConfig.ts b/src/funcs/edgeConfigUpdateEdgeConfig.ts index 0d2e5d495..d54adc49c 100644 --- a/src/funcs/edgeConfigUpdateEdgeConfig.ts +++ b/src/funcs/edgeConfigUpdateEdgeConfig.ts @@ -135,7 +135,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "updateEdgeConfig", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/environmentCreateCustomEnvironment.ts b/src/funcs/environmentCreateCustomEnvironment.ts index 9467e4fc9..556082853 100644 --- a/src/funcs/environmentCreateCustomEnvironment.ts +++ b/src/funcs/environmentCreateCustomEnvironment.ts @@ -131,7 +131,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "createCustomEnvironment", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/environmentCreateSharedEnvVariable.ts b/src/funcs/environmentCreateSharedEnvVariable.ts new file mode 100644 index 000000000..a18b2dcc4 --- /dev/null +++ b/src/funcs/environmentCreateSharedEnvVariable.ts @@ -0,0 +1,191 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { VercelCore } from "../core.js"; +import { encodeFormQuery, encodeJSON } from "../lib/encodings.js"; +import * as M from "../lib/matchers.js"; +import { compactMap } from "../lib/primitives.js"; +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 { + CreateSharedEnvVariableRequest, + CreateSharedEnvVariableRequest$outboundSchema, + CreateSharedEnvVariableResponseBody, + CreateSharedEnvVariableResponseBody$inboundSchema, +} from "../models/createsharedenvvariableop.js"; +import { + ConnectionError, + InvalidRequestError, + RequestAbortedError, + RequestTimeoutError, + UnexpectedClientError, +} from "../models/httpclienterrors.js"; +import { ResponseValidationError } from "../models/responsevalidationerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; +import { + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { VercelError } from "../models/vercelerror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { APICall, APIPromise } from "../types/async.js"; +import { Result } from "../types/fp.js"; + +/** + * Create one or more shared environment variables + * + * @remarks + * Creates shared environment variable(s) for a team. + */ +export function environmentCreateSharedEnvVariable( + client: VercelCore, + request: CreateSharedEnvVariableRequest, + options?: RequestOptions, +): APIPromise< + Result< + CreateSharedEnvVariableResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + > +> { + return new APIPromise($do( + client, + request, + options, + )); +} + +async function $do( + client: VercelCore, + request: CreateSharedEnvVariableRequest, + options?: RequestOptions, +): Promise< + [ + Result< + CreateSharedEnvVariableResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + APICall, + ] +> { + const parsed = safeParse( + request, + (value) => CreateSharedEnvVariableRequest$outboundSchema.parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return [parsed, { status: "invalid" }]; + } + const payload = parsed.value; + const body = encodeJSON("body", payload.RequestBody, { explode: true }); + + const path = pathToFunc("/v1/env")(); + + const query = encodeFormQuery({ + "slug": payload.slug, + "teamId": payload.teamId, + }); + + const headers = new Headers(compactMap({ + "Content-Type": "application/json", + Accept: "application/json", + })); + + const secConfig = await extractSecurity(client._options.bearerToken); + const securityInput = secConfig == null ? {} : { bearerToken: secConfig }; + const requestSecurity = resolveGlobalSecurity(securityInput); + + const context = { + options: client._options, + baseURL: options?.serverURL ?? client._baseURL ?? "", + operationID: "createSharedEnvVariable", + oAuth2Scopes: null, + + resolvedSecurity: requestSecurity, + + securitySource: client._options.bearerToken, + retryConfig: options?.retries + || client._options.retryConfig + || { strategy: "none" }, + retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"], + }; + + const requestRes = client._createRequest(context, { + security: requestSecurity, + method: "POST", + baseURL: options?.serverURL, + path: path, + headers: headers, + query: query, + body: body, + userAgent: client._options.userAgent, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return [requestRes, { status: "invalid" }]; + } + const req = requestRes.value; + + const doResult = await client._do(req, { + context, + errorCodes: ["400", "401", "402", "403", "4XX", "5XX"], + retryConfig: context.retryConfig, + retryCodes: context.retryCodes, + }); + if (!doResult.ok) { + return [doResult, { status: "request-error", request: req }]; + } + const response = doResult.value; + + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + + const [result] = await M.match< + CreateSharedEnvVariableResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.json(201, CreateSharedEnvVariableResponseBody$inboundSchema), + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([402, 403, "4XX"]), + M.fail("5XX"), + )(response, req, { extraFields: responseFields }); + if (!result.ok) { + return [result, { status: "complete", request: req, response }]; + } + + return [result, { status: "complete", request: req, response }]; +} diff --git a/src/funcs/environmentDeleteSharedEnvVariable.ts b/src/funcs/environmentDeleteSharedEnvVariable.ts new file mode 100644 index 000000000..76bfcdfb2 --- /dev/null +++ b/src/funcs/environmentDeleteSharedEnvVariable.ts @@ -0,0 +1,191 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { VercelCore } from "../core.js"; +import { encodeFormQuery, encodeJSON } from "../lib/encodings.js"; +import * as M from "../lib/matchers.js"; +import { compactMap } from "../lib/primitives.js"; +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 { + DeleteSharedEnvVariableRequest, + DeleteSharedEnvVariableRequest$outboundSchema, + DeleteSharedEnvVariableResponseBody, + DeleteSharedEnvVariableResponseBody$inboundSchema, +} from "../models/deletesharedenvvariableop.js"; +import { + ConnectionError, + InvalidRequestError, + RequestAbortedError, + RequestTimeoutError, + UnexpectedClientError, +} from "../models/httpclienterrors.js"; +import { ResponseValidationError } from "../models/responsevalidationerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; +import { + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { VercelError } from "../models/vercelerror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { APICall, APIPromise } from "../types/async.js"; +import { Result } from "../types/fp.js"; + +/** + * Delete one or more Env Var + * + * @remarks + * Deletes one or many Shared Environment Variables for a given team. + */ +export function environmentDeleteSharedEnvVariable( + client: VercelCore, + request: DeleteSharedEnvVariableRequest, + options?: RequestOptions, +): APIPromise< + Result< + DeleteSharedEnvVariableResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + > +> { + return new APIPromise($do( + client, + request, + options, + )); +} + +async function $do( + client: VercelCore, + request: DeleteSharedEnvVariableRequest, + options?: RequestOptions, +): Promise< + [ + Result< + DeleteSharedEnvVariableResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + APICall, + ] +> { + const parsed = safeParse( + request, + (value) => DeleteSharedEnvVariableRequest$outboundSchema.parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return [parsed, { status: "invalid" }]; + } + const payload = parsed.value; + const body = encodeJSON("body", payload.RequestBody, { explode: true }); + + const path = pathToFunc("/v1/env")(); + + const query = encodeFormQuery({ + "slug": payload.slug, + "teamId": payload.teamId, + }); + + const headers = new Headers(compactMap({ + "Content-Type": "application/json", + Accept: "application/json", + })); + + const secConfig = await extractSecurity(client._options.bearerToken); + const securityInput = secConfig == null ? {} : { bearerToken: secConfig }; + const requestSecurity = resolveGlobalSecurity(securityInput); + + const context = { + options: client._options, + baseURL: options?.serverURL ?? client._baseURL ?? "", + operationID: "deleteSharedEnvVariable", + oAuth2Scopes: null, + + resolvedSecurity: requestSecurity, + + securitySource: client._options.bearerToken, + retryConfig: options?.retries + || client._options.retryConfig + || { strategy: "none" }, + retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"], + }; + + const requestRes = client._createRequest(context, { + security: requestSecurity, + method: "DELETE", + baseURL: options?.serverURL, + path: path, + headers: headers, + query: query, + body: body, + userAgent: client._options.userAgent, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return [requestRes, { status: "invalid" }]; + } + const req = requestRes.value; + + const doResult = await client._do(req, { + context, + errorCodes: ["400", "401", "402", "403", "4XX", "5XX"], + retryConfig: context.retryConfig, + retryCodes: context.retryCodes, + }); + if (!doResult.ok) { + return [doResult, { status: "request-error", request: req }]; + } + const response = doResult.value; + + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + + const [result] = await M.match< + DeleteSharedEnvVariableResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.json(200, DeleteSharedEnvVariableResponseBody$inboundSchema), + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([402, 403, "4XX"]), + M.fail("5XX"), + )(response, req, { extraFields: responseFields }); + if (!result.ok) { + return [result, { status: "complete", request: req, response }]; + } + + return [result, { status: "complete", request: req, response }]; +} diff --git a/src/funcs/environmentGetCustomEnvironment.ts b/src/funcs/environmentGetCustomEnvironment.ts index e25233463..98eaed4f8 100644 --- a/src/funcs/environmentGetCustomEnvironment.ts +++ b/src/funcs/environmentGetCustomEnvironment.ts @@ -141,7 +141,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "getCustomEnvironment", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/environmentGetSharedEnvVar.ts b/src/funcs/environmentGetSharedEnvVar.ts new file mode 100644 index 000000000..fbfccdfbe --- /dev/null +++ b/src/funcs/environmentGetSharedEnvVar.ts @@ -0,0 +1,197 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { VercelCore } from "../core.js"; +import { encodeFormQuery, encodeSimple } from "../lib/encodings.js"; +import * as M from "../lib/matchers.js"; +import { compactMap } from "../lib/primitives.js"; +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 { + GetSharedEnvVarRequest, + GetSharedEnvVarRequest$outboundSchema, + GetSharedEnvVarResponseBody, + GetSharedEnvVarResponseBody$inboundSchema, +} from "../models/getsharedenvvarop.js"; +import { + ConnectionError, + InvalidRequestError, + RequestAbortedError, + RequestTimeoutError, + UnexpectedClientError, +} from "../models/httpclienterrors.js"; +import { ResponseValidationError } from "../models/responsevalidationerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; +import { + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { VercelError } from "../models/vercelerror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { APICall, APIPromise } from "../types/async.js"; +import { Result } from "../types/fp.js"; + +/** + * Retrieve the decrypted value of a Shared Environment Variable by id. + * + * @remarks + * Retrieve the decrypted value of a Shared Environment Variable by id. + */ +export function environmentGetSharedEnvVar( + client: VercelCore, + request: GetSharedEnvVarRequest, + options?: RequestOptions, +): APIPromise< + Result< + GetSharedEnvVarResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + > +> { + return new APIPromise($do( + client, + request, + options, + )); +} + +async function $do( + client: VercelCore, + request: GetSharedEnvVarRequest, + options?: RequestOptions, +): Promise< + [ + Result< + GetSharedEnvVarResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + APICall, + ] +> { + const parsed = safeParse( + request, + (value) => GetSharedEnvVarRequest$outboundSchema.parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return [parsed, { status: "invalid" }]; + } + const payload = parsed.value; + const body = null; + + const pathParams = { + id: encodeSimple("id", payload.id, { + explode: false, + charEncoding: "percent", + }), + }; + + const path = pathToFunc("/v1/env/{id}")(pathParams); + + const query = encodeFormQuery({ + "slug": payload.slug, + "teamId": payload.teamId, + }); + + const headers = new Headers(compactMap({ + Accept: "application/json", + })); + + const secConfig = await extractSecurity(client._options.bearerToken); + const securityInput = secConfig == null ? {} : { bearerToken: secConfig }; + const requestSecurity = resolveGlobalSecurity(securityInput); + + const context = { + options: client._options, + baseURL: options?.serverURL ?? client._baseURL ?? "", + operationID: "getSharedEnvVar", + oAuth2Scopes: null, + + resolvedSecurity: requestSecurity, + + securitySource: client._options.bearerToken, + retryConfig: options?.retries + || client._options.retryConfig + || { strategy: "none" }, + retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"], + }; + + const requestRes = client._createRequest(context, { + security: requestSecurity, + method: "GET", + baseURL: options?.serverURL, + path: path, + headers: headers, + query: query, + body: body, + userAgent: client._options.userAgent, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return [requestRes, { status: "invalid" }]; + } + const req = requestRes.value; + + const doResult = await client._do(req, { + context, + errorCodes: ["400", "401", "403", "4XX", "5XX"], + retryConfig: context.retryConfig, + retryCodes: context.retryCodes, + }); + if (!doResult.ok) { + return [doResult, { status: "request-error", request: req }]; + } + const response = doResult.value; + + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + + const [result] = await M.match< + GetSharedEnvVarResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.json(200, GetSharedEnvVarResponseBody$inboundSchema), + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX"]), + M.fail("5XX"), + )(response, req, { extraFields: responseFields }); + if (!result.ok) { + return [result, { status: "complete", request: req, response }]; + } + + return [result, { status: "complete", request: req, response }]; +} diff --git a/src/funcs/environmentGetV9ProjectsIdOrNameCustomEnvironments.ts b/src/funcs/environmentGetV9ProjectsIdOrNameCustomEnvironments.ts index 605225e03..e79b0740d 100644 --- a/src/funcs/environmentGetV9ProjectsIdOrNameCustomEnvironments.ts +++ b/src/funcs/environmentGetV9ProjectsIdOrNameCustomEnvironments.ts @@ -134,7 +134,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "get_/v9/projects/{idOrName}/custom-environments", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/environmentListSharedEnvVariable.ts b/src/funcs/environmentListSharedEnvVariable.ts new file mode 100644 index 000000000..7578aa8ed --- /dev/null +++ b/src/funcs/environmentListSharedEnvVariable.ts @@ -0,0 +1,205 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { VercelCore } from "../core.js"; +import { encodeFormQuery } from "../lib/encodings.js"; +import * as M from "../lib/matchers.js"; +import { compactMap } from "../lib/primitives.js"; +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 { + ConnectionError, + InvalidRequestError, + RequestAbortedError, + RequestTimeoutError, + UnexpectedClientError, +} from "../models/httpclienterrors.js"; +import { + ListSharedEnvVariableRequest, + ListSharedEnvVariableRequest$outboundSchema, + ListSharedEnvVariableResponseBody, + ListSharedEnvVariableResponseBody$inboundSchema, +} from "../models/listsharedenvvariableop.js"; +import { ResponseValidationError } from "../models/responsevalidationerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; +import { + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { VercelError } from "../models/vercelerror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; +import { APICall, APIPromise } from "../types/async.js"; +import { Result } from "../types/fp.js"; + +/** + * Lists all Shared Environment Variables for a team + * + * @remarks + * Lists all Shared Environment Variables for a team, taking into account optional filters. + */ +export function environmentListSharedEnvVariable( + client: VercelCore, + request: ListSharedEnvVariableRequest, + options?: RequestOptions, +): APIPromise< + Result< + ListSharedEnvVariableResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + > +> { + return new APIPromise($do( + client, + request, + options, + )); +} + +async function $do( + client: VercelCore, + request: ListSharedEnvVariableRequest, + options?: RequestOptions, +): Promise< + [ + Result< + ListSharedEnvVariableResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + APICall, + ] +> { + const parsed = safeParse( + request, + (value) => ListSharedEnvVariableRequest$outboundSchema.parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return [parsed, { status: "invalid" }]; + } + const payload = parsed.value; + const body = null; + + const path = pathToFunc("/v1/env")(); + + const query = encodeFormQuery({ + "exclude_ids": payload.exclude_idsQueryParameter, + "exclude_projectId": payload.exclude_projectIdQueryParameter, + "exclude-ids": payload["exclude-idsQueryParameter1"], + "exclude-projectId": payload["exclude-projectIdQueryParameter1"], + "ids": payload.ids, + "projectId": payload.projectId, + "search": payload.search, + "slug": payload.slug, + "teamId": payload.teamId, + }); + + const headers = new Headers(compactMap({ + Accept: "application/json", + })); + + const secConfig = await extractSecurity(client._options.bearerToken); + const securityInput = secConfig == null ? {} : { bearerToken: secConfig }; + const requestSecurity = resolveGlobalSecurity(securityInput); + + const context = { + options: client._options, + baseURL: options?.serverURL ?? client._baseURL ?? "", + operationID: "listSharedEnvVariable", + oAuth2Scopes: null, + + resolvedSecurity: requestSecurity, + + securitySource: client._options.bearerToken, + retryConfig: options?.retries + || client._options.retryConfig + || { strategy: "none" }, + retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"], + }; + + const requestRes = client._createRequest(context, { + security: requestSecurity, + method: "GET", + baseURL: options?.serverURL, + path: path, + headers: headers, + query: query, + body: body, + userAgent: client._options.userAgent, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return [requestRes, { status: "invalid" }]; + } + const req = requestRes.value; + + const doResult = await client._do(req, { + context, + errorCodes: ["400", "401", "403", "404", "4XX", "5XX"], + retryConfig: context.retryConfig, + retryCodes: context.retryCodes, + }); + if (!doResult.ok) { + return [doResult, { status: "request-error", request: req }]; + } + const response = doResult.value; + + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + + const [result] = await M.match< + ListSharedEnvVariableResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.json(200, ListSharedEnvVariableResponseBody$inboundSchema), + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + M.fail([403, "4XX"]), + M.fail("5XX"), + )(response, req, { extraFields: responseFields }); + if (!result.ok) { + return [result, { status: "complete", request: req, response }]; + } + + return [result, { status: "complete", request: req, response }]; +} diff --git a/src/funcs/environmentRemoveCustomEnvironment.ts b/src/funcs/environmentRemoveCustomEnvironment.ts index ab6a73435..d98216f5c 100644 --- a/src/funcs/environmentRemoveCustomEnvironment.ts +++ b/src/funcs/environmentRemoveCustomEnvironment.ts @@ -136,7 +136,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "removeCustomEnvironment", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/environmentUnlinkSharedEnvVariable.ts b/src/funcs/environmentUnlinkSharedEnvVariable.ts new file mode 100644 index 000000000..e44b29d76 --- /dev/null +++ b/src/funcs/environmentUnlinkSharedEnvVariable.ts @@ -0,0 +1,201 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { VercelCore } from "../core.js"; +import { encodeFormQuery, encodeSimple } from "../lib/encodings.js"; +import * as M from "../lib/matchers.js"; +import { compactMap } from "../lib/primitives.js"; +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 { + ConnectionError, + InvalidRequestError, + RequestAbortedError, + RequestTimeoutError, + UnexpectedClientError, +} from "../models/httpclienterrors.js"; +import { ResponseValidationError } from "../models/responsevalidationerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; +import { + UnlinkSharedEnvVariableRequest, + UnlinkSharedEnvVariableRequest$outboundSchema, + UnlinkSharedEnvVariableResponseBody, + UnlinkSharedEnvVariableResponseBody$inboundSchema, +} from "../models/unlinksharedenvvariableop.js"; +import { + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { VercelError } from "../models/vercelerror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { APICall, APIPromise } from "../types/async.js"; +import { Result } from "../types/fp.js"; + +/** + * Disconnects a shared environment variable for a given project + * + * @remarks + * Disconnects a shared environment variable for a given project + */ +export function environmentUnlinkSharedEnvVariable( + client: VercelCore, + request: UnlinkSharedEnvVariableRequest, + options?: RequestOptions, +): APIPromise< + Result< + UnlinkSharedEnvVariableResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + > +> { + return new APIPromise($do( + client, + request, + options, + )); +} + +async function $do( + client: VercelCore, + request: UnlinkSharedEnvVariableRequest, + options?: RequestOptions, +): Promise< + [ + Result< + UnlinkSharedEnvVariableResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + APICall, + ] +> { + const parsed = safeParse( + request, + (value) => UnlinkSharedEnvVariableRequest$outboundSchema.parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return [parsed, { status: "invalid" }]; + } + const payload = parsed.value; + const body = null; + + const pathParams = { + id: encodeSimple("id", payload.id, { + explode: false, + charEncoding: "percent", + }), + projectId: encodeSimple("projectId", payload.projectId, { + explode: false, + charEncoding: "percent", + }), + }; + + const path = pathToFunc("/v1/env/{id}/unlink/{projectId}")(pathParams); + + const query = encodeFormQuery({ + "slug": payload.slug, + "teamId": payload.teamId, + }); + + const headers = new Headers(compactMap({ + Accept: "application/json", + })); + + const secConfig = await extractSecurity(client._options.bearerToken); + const securityInput = secConfig == null ? {} : { bearerToken: secConfig }; + const requestSecurity = resolveGlobalSecurity(securityInput); + + const context = { + options: client._options, + baseURL: options?.serverURL ?? client._baseURL ?? "", + operationID: "unlinkSharedEnvVariable", + oAuth2Scopes: null, + + resolvedSecurity: requestSecurity, + + securitySource: client._options.bearerToken, + retryConfig: options?.retries + || client._options.retryConfig + || { strategy: "none" }, + retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"], + }; + + const requestRes = client._createRequest(context, { + security: requestSecurity, + method: "PATCH", + baseURL: options?.serverURL, + path: path, + headers: headers, + query: query, + body: body, + userAgent: client._options.userAgent, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return [requestRes, { status: "invalid" }]; + } + const req = requestRes.value; + + const doResult = await client._do(req, { + context, + errorCodes: ["400", "401", "403", "4XX", "5XX"], + retryConfig: context.retryConfig, + retryCodes: context.retryCodes, + }); + if (!doResult.ok) { + return [doResult, { status: "request-error", request: req }]; + } + const response = doResult.value; + + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + + const [result] = await M.match< + UnlinkSharedEnvVariableResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.json(200, UnlinkSharedEnvVariableResponseBody$inboundSchema), + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX"]), + M.fail("5XX"), + )(response, req, { extraFields: responseFields }); + if (!result.ok) { + return [result, { status: "complete", request: req, response }]; + } + + return [result, { status: "complete", request: req, response }]; +} diff --git a/src/funcs/environmentUpdateCustomEnvironment.ts b/src/funcs/environmentUpdateCustomEnvironment.ts index 9490e05c9..34495944b 100644 --- a/src/funcs/environmentUpdateCustomEnvironment.ts +++ b/src/funcs/environmentUpdateCustomEnvironment.ts @@ -136,7 +136,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "updateCustomEnvironment", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/environmentUpdateSharedEnvVariable.ts b/src/funcs/environmentUpdateSharedEnvVariable.ts new file mode 100644 index 000000000..44f65f574 --- /dev/null +++ b/src/funcs/environmentUpdateSharedEnvVariable.ts @@ -0,0 +1,191 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { VercelCore } from "../core.js"; +import { encodeFormQuery, encodeJSON } from "../lib/encodings.js"; +import * as M from "../lib/matchers.js"; +import { compactMap } from "../lib/primitives.js"; +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 { + ConnectionError, + InvalidRequestError, + RequestAbortedError, + RequestTimeoutError, + UnexpectedClientError, +} from "../models/httpclienterrors.js"; +import { ResponseValidationError } from "../models/responsevalidationerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; +import { + UpdateSharedEnvVariableRequest, + UpdateSharedEnvVariableRequest$outboundSchema, + UpdateSharedEnvVariableResponseBody, + UpdateSharedEnvVariableResponseBody$inboundSchema, +} from "../models/updatesharedenvvariableop.js"; +import { + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { VercelError } from "../models/vercelerror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { APICall, APIPromise } from "../types/async.js"; +import { Result } from "../types/fp.js"; + +/** + * Updates one or more shared environment variables + * + * @remarks + * Updates a given Shared Environment Variable for a Team. + */ +export function environmentUpdateSharedEnvVariable( + client: VercelCore, + request: UpdateSharedEnvVariableRequest, + options?: RequestOptions, +): APIPromise< + Result< + UpdateSharedEnvVariableResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + > +> { + return new APIPromise($do( + client, + request, + options, + )); +} + +async function $do( + client: VercelCore, + request: UpdateSharedEnvVariableRequest, + options?: RequestOptions, +): Promise< + [ + Result< + UpdateSharedEnvVariableResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + APICall, + ] +> { + const parsed = safeParse( + request, + (value) => UpdateSharedEnvVariableRequest$outboundSchema.parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return [parsed, { status: "invalid" }]; + } + const payload = parsed.value; + const body = encodeJSON("body", payload.RequestBody, { explode: true }); + + const path = pathToFunc("/v1/env")(); + + const query = encodeFormQuery({ + "slug": payload.slug, + "teamId": payload.teamId, + }); + + const headers = new Headers(compactMap({ + "Content-Type": "application/json", + Accept: "application/json", + })); + + const secConfig = await extractSecurity(client._options.bearerToken); + const securityInput = secConfig == null ? {} : { bearerToken: secConfig }; + const requestSecurity = resolveGlobalSecurity(securityInput); + + const context = { + options: client._options, + baseURL: options?.serverURL ?? client._baseURL ?? "", + operationID: "updateSharedEnvVariable", + oAuth2Scopes: null, + + resolvedSecurity: requestSecurity, + + securitySource: client._options.bearerToken, + retryConfig: options?.retries + || client._options.retryConfig + || { strategy: "none" }, + retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"], + }; + + const requestRes = client._createRequest(context, { + security: requestSecurity, + method: "PATCH", + baseURL: options?.serverURL, + path: path, + headers: headers, + query: query, + body: body, + userAgent: client._options.userAgent, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return [requestRes, { status: "invalid" }]; + } + const req = requestRes.value; + + const doResult = await client._do(req, { + context, + errorCodes: ["400", "401", "402", "403", "4XX", "5XX"], + retryConfig: context.retryConfig, + retryCodes: context.retryCodes, + }); + if (!doResult.ok) { + return [doResult, { status: "request-error", request: req }]; + } + const response = doResult.value; + + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + + const [result] = await M.match< + UpdateSharedEnvVariableResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.json(200, UpdateSharedEnvVariableResponseBody$inboundSchema), + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([402, 403, "4XX"]), + M.fail("5XX"), + )(response, req, { extraFields: responseFields }); + if (!result.ok) { + return [result, { status: "complete", request: req, response }]; + } + + return [result, { status: "complete", request: req, response }]; +} diff --git a/src/funcs/integrationsConnectIntegrationResourceToProject.ts b/src/funcs/integrationsConnectIntegrationResourceToProject.ts index d021fae35..fa2c19802 100644 --- a/src/funcs/integrationsConnectIntegrationResourceToProject.ts +++ b/src/funcs/integrationsConnectIntegrationResourceToProject.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { VercelCore } from "../core.js"; import { encodeFormQuery, encodeJSON, encodeSimple } from "../lib/encodings.js"; import * as M from "../lib/matchers.js"; @@ -142,7 +142,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "connectIntegrationResourceToProject", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/integrationsCreateIntegrationStoreDirect.ts b/src/funcs/integrationsCreateIntegrationStoreDirect.ts index ad82c9299..f6dd1205f 100644 --- a/src/funcs/integrationsCreateIntegrationStoreDirect.ts +++ b/src/funcs/integrationsCreateIntegrationStoreDirect.ts @@ -134,7 +134,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "createIntegrationStoreDirect", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, @@ -163,7 +163,18 @@ async function $do( const doResult = await client._do(req, { context, - errorCodes: ["400", "401", "402", "403", "404", "409", "429", "4XX", "5XX"], + errorCodes: [ + "400", + "401", + "402", + "403", + "404", + "409", + "429", + "4XX", + "500", + "5XX", + ], retryConfig: context.retryConfig, retryCodes: context.retryCodes, }); @@ -197,7 +208,7 @@ async function $do( M.jsonErr(404, VercelNotFoundError$inboundSchema), M.jsonErr(429, VercelRateLimitError$inboundSchema), M.fail([402, 403, 409, "4XX"]), - M.fail("5XX"), + M.fail([500, "5XX"]), )(response, req, { extraFields: responseFields }); if (!result.ok) { return [result, { status: "complete", request: req, response }]; diff --git a/src/funcs/integrationsDeleteConfiguration.ts b/src/funcs/integrationsDeleteConfiguration.ts index 9803a4541..2874b13a4 100644 --- a/src/funcs/integrationsDeleteConfiguration.ts +++ b/src/funcs/integrationsDeleteConfiguration.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { VercelCore } from "../core.js"; import { encodeFormQuery, encodeSimple } from "../lib/encodings.js"; import * as M from "../lib/matchers.js"; @@ -133,7 +133,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "deleteConfiguration", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, @@ -162,7 +162,7 @@ async function $do( const doResult = await client._do(req, { context, - errorCodes: ["400", "401", "403", "404", "409", "4XX", "5XX"], + errorCodes: ["400", "401", "403", "404", "4XX", "5XX"], retryConfig: context.retryConfig, retryCodes: context.retryCodes, }); @@ -193,7 +193,7 @@ async function $do( M.jsonErr(400, VercelBadRequestError$inboundSchema), M.jsonErr(401, VercelForbiddenError$inboundSchema), M.jsonErr(404, VercelNotFoundError$inboundSchema), - M.fail([403, 409, "4XX"]), + M.fail([403, "4XX"]), M.fail("5XX"), )(response, req, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/integrationsGetBillingPlans.ts b/src/funcs/integrationsGetBillingPlans.ts index 1d7ddb515..c9cc7fe76 100644 --- a/src/funcs/integrationsGetBillingPlans.ts +++ b/src/funcs/integrationsGetBillingPlans.ts @@ -142,7 +142,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "getBillingPlans", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/integrationsGetConfiguration.ts b/src/funcs/integrationsGetConfiguration.ts index 333188be8..89e3475da 100644 --- a/src/funcs/integrationsGetConfiguration.ts +++ b/src/funcs/integrationsGetConfiguration.ts @@ -134,7 +134,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "getConfiguration", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/integrationsGetConfigurationProducts.ts b/src/funcs/integrationsGetConfigurationProducts.ts index a6043ca8c..1db468d78 100644 --- a/src/funcs/integrationsGetConfigurationProducts.ts +++ b/src/funcs/integrationsGetConfigurationProducts.ts @@ -136,7 +136,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "getConfigurationProducts", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/integrationsGetConfigurations.ts b/src/funcs/integrationsGetConfigurations.ts index b9fb1af58..c358106d4 100644 --- a/src/funcs/integrationsGetConfigurations.ts +++ b/src/funcs/integrationsGetConfigurations.ts @@ -124,7 +124,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "getConfigurations", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/logDrainsCreateConfigurableLogDrain.ts b/src/funcs/logDrainsCreateConfigurableLogDrain.ts new file mode 100644 index 000000000..b8671c8fb --- /dev/null +++ b/src/funcs/logDrainsCreateConfigurableLogDrain.ts @@ -0,0 +1,191 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { VercelCore } from "../core.js"; +import { encodeFormQuery, encodeJSON } from "../lib/encodings.js"; +import * as M from "../lib/matchers.js"; +import { compactMap } from "../lib/primitives.js"; +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/httpclienterrors.js"; +import { ResponseValidationError } from "../models/responsevalidationerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; +import { + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { VercelError } from "../models/vercelerror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { APICall, APIPromise } from "../types/async.js"; +import { Result } from "../types/fp.js"; + +/** + * Creates a Configurable Log Drain (deprecated) + * + * @remarks + * Creates a configurable log drain. This endpoint must be called with a team AccessToken (integration OAuth2 clients are not allowed) + */ +export function logDrainsCreateConfigurableLogDrain( + client: VercelCore, + request: CreateConfigurableLogDrainRequest, + options?: RequestOptions, +): APIPromise< + Result< + CreateConfigurableLogDrainResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + > +> { + return new APIPromise($do( + client, + request, + options, + )); +} + +async function $do( + client: VercelCore, + request: CreateConfigurableLogDrainRequest, + options?: RequestOptions, +): Promise< + [ + Result< + CreateConfigurableLogDrainResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + APICall, + ] +> { + const parsed = safeParse( + request, + (value) => CreateConfigurableLogDrainRequest$outboundSchema.parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return [parsed, { status: "invalid" }]; + } + const payload = parsed.value; + const body = encodeJSON("body", payload.RequestBody, { explode: true }); + + const path = pathToFunc("/v1/log-drains")(); + + const query = encodeFormQuery({ + "slug": payload.slug, + "teamId": payload.teamId, + }); + + const headers = new Headers(compactMap({ + "Content-Type": "application/json", + Accept: "application/json", + })); + + const secConfig = await extractSecurity(client._options.bearerToken); + const securityInput = secConfig == null ? {} : { bearerToken: secConfig }; + const requestSecurity = resolveGlobalSecurity(securityInput); + + const context = { + options: client._options, + baseURL: options?.serverURL ?? client._baseURL ?? "", + operationID: "createConfigurableLogDrain", + oAuth2Scopes: null, + + resolvedSecurity: requestSecurity, + + securitySource: client._options.bearerToken, + retryConfig: options?.retries + || client._options.retryConfig + || { strategy: "none" }, + retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"], + }; + + const requestRes = client._createRequest(context, { + security: requestSecurity, + method: "POST", + baseURL: options?.serverURL, + path: path, + headers: headers, + query: query, + body: body, + userAgent: client._options.userAgent, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return [requestRes, { status: "invalid" }]; + } + const req = requestRes.value; + + const doResult = await client._do(req, { + context, + errorCodes: ["400", "401", "403", "4XX", "5XX"], + retryConfig: context.retryConfig, + retryCodes: context.retryCodes, + }); + if (!doResult.ok) { + return [doResult, { status: "request-error", request: req }]; + } + const response = doResult.value; + + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + + const [result] = await M.match< + CreateConfigurableLogDrainResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.json(200, CreateConfigurableLogDrainResponseBody$inboundSchema), + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.fail([403, "4XX"]), + M.fail("5XX"), + )(response, req, { extraFields: responseFields }); + if (!result.ok) { + return [result, { status: "complete", request: req, response }]; + } + + return [result, { status: "complete", request: req, response }]; +} diff --git a/src/funcs/logDrainsCreateLogDrain.ts b/src/funcs/logDrainsCreateLogDrain.ts index e7adbc1f0..473d033b5 100644 --- a/src/funcs/logDrainsCreateLogDrain.ts +++ b/src/funcs/logDrainsCreateLogDrain.ts @@ -38,7 +38,7 @@ import { APICall, APIPromise } from "../types/async.js"; import { Result } from "../types/fp.js"; /** - * Creates a new Integration Log Drain + * Creates a new Integration Log Drain (deprecated) * * @remarks * Creates an Integration log drain. This endpoint must be called with an OAuth2 client (integration), since log drains are tied to integrations. If it is called with a different token type it will produce a 400 error. @@ -122,7 +122,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "createLogDrain", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/logDrainsDeleteConfigurableLogDrain.ts b/src/funcs/logDrainsDeleteConfigurableLogDrain.ts new file mode 100644 index 000000000..d4ba38ee7 --- /dev/null +++ b/src/funcs/logDrainsDeleteConfigurableLogDrain.ts @@ -0,0 +1,204 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { VercelCore } from "../core.js"; +import { encodeFormQuery, encodeSimple } from "../lib/encodings.js"; +import * as M from "../lib/matchers.js"; +import { compactMap } from "../lib/primitives.js"; +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/httpclienterrors.js"; +import { ResponseValidationError } from "../models/responsevalidationerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; +import { + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { VercelError } from "../models/vercelerror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; +import { APICall, APIPromise } from "../types/async.js"; +import { Result } from "../types/fp.js"; + +/** + * Deletes a Configurable Log Drain (deprecated) + * + * @remarks + * Deletes a Configurable Log Drain. This endpoint must be called with a team AccessToken (integration OAuth2 clients are not allowed). Only log drains owned by the authenticated team can be deleted. + */ +export function logDrainsDeleteConfigurableLogDrain( + client: VercelCore, + request: DeleteConfigurableLogDrainRequest, + options?: RequestOptions, +): APIPromise< + Result< + void, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + > +> { + return new APIPromise($do( + client, + request, + options, + )); +} + +async function $do( + client: VercelCore, + request: DeleteConfigurableLogDrainRequest, + options?: RequestOptions, +): Promise< + [ + Result< + void, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + APICall, + ] +> { + const parsed = safeParse( + request, + (value) => DeleteConfigurableLogDrainRequest$outboundSchema.parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return [parsed, { status: "invalid" }]; + } + const payload = parsed.value; + const body = null; + + const pathParams = { + id: encodeSimple("id", payload.id, { + explode: false, + charEncoding: "percent", + }), + }; + + const path = pathToFunc("/v1/log-drains/{id}")(pathParams); + + const query = encodeFormQuery({ + "slug": payload.slug, + "teamId": payload.teamId, + }); + + const headers = new Headers(compactMap({ + Accept: "application/json", + })); + + const secConfig = await extractSecurity(client._options.bearerToken); + const securityInput = secConfig == null ? {} : { bearerToken: secConfig }; + const requestSecurity = resolveGlobalSecurity(securityInput); + + const context = { + options: client._options, + baseURL: options?.serverURL ?? client._baseURL ?? "", + operationID: "deleteConfigurableLogDrain", + oAuth2Scopes: null, + + resolvedSecurity: requestSecurity, + + securitySource: client._options.bearerToken, + retryConfig: options?.retries + || client._options.retryConfig + || { strategy: "none" }, + retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"], + }; + + const requestRes = client._createRequest(context, { + security: requestSecurity, + method: "DELETE", + baseURL: options?.serverURL, + path: path, + headers: headers, + query: query, + body: body, + userAgent: client._options.userAgent, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return [requestRes, { status: "invalid" }]; + } + const req = requestRes.value; + + const doResult = await client._do(req, { + context, + errorCodes: ["400", "401", "403", "404", "4XX", "5XX"], + retryConfig: context.retryConfig, + retryCodes: context.retryCodes, + }); + if (!doResult.ok) { + return [doResult, { status: "request-error", request: req }]; + } + const response = doResult.value; + + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + + const [result] = await M.match< + void, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.nil(204, z.void()), + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + M.fail([403, "4XX"]), + M.fail("5XX"), + )(response, req, { extraFields: responseFields }); + if (!result.ok) { + return [result, { status: "complete", request: req, response }]; + } + + return [result, { status: "complete", request: req, response }]; +} diff --git a/src/funcs/logDrainsDeleteIntegrationLogDrain.ts b/src/funcs/logDrainsDeleteIntegrationLogDrain.ts index e8bb91186..d65abf5ca 100644 --- a/src/funcs/logDrainsDeleteIntegrationLogDrain.ts +++ b/src/funcs/logDrainsDeleteIntegrationLogDrain.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { VercelCore } from "../core.js"; import { encodeFormQuery, encodeSimple } from "../lib/encodings.js"; import * as M from "../lib/matchers.js"; @@ -41,7 +41,7 @@ import { APICall, APIPromise } from "../types/async.js"; import { Result } from "../types/fp.js"; /** - * Deletes the Integration log drain with the provided `id` + * Deletes the Integration log drain with the provided `id` (deprecated) * * @remarks * Deletes the Integration log drain with the provided `id`. When using an OAuth2 Token, the log drain can be deleted only if the integration owns it. @@ -133,7 +133,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "deleteIntegrationLogDrain", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/logDrainsGetAllLogDrains.ts b/src/funcs/logDrainsGetAllLogDrains.ts new file mode 100644 index 000000000..b4243e81a --- /dev/null +++ b/src/funcs/logDrainsGetAllLogDrains.ts @@ -0,0 +1,201 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { VercelCore } from "../core.js"; +import { encodeFormQuery } from "../lib/encodings.js"; +import * as M from "../lib/matchers.js"; +import { compactMap } from "../lib/primitives.js"; +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/httpclienterrors.js"; +import { ResponseValidationError } from "../models/responsevalidationerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; +import { + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { VercelError } from "../models/vercelerror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; +import { APICall, APIPromise } from "../types/async.js"; +import { Result } from "../types/fp.js"; + +/** + * Retrieves a list of all the Log Drains (deprecated) + * + * @remarks + * Retrieves a list of all the Log Drains owned by the account. This endpoint must be called with an account AccessToken (integration OAuth2 clients are not allowed). Only log drains owned by the authenticated account can be accessed. + */ +export function logDrainsGetAllLogDrains( + client: VercelCore, + request: GetAllLogDrainsRequest, + options?: RequestOptions, +): APIPromise< + Result< + GetAllLogDrainsResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + > +> { + return new APIPromise($do( + client, + request, + options, + )); +} + +async function $do( + client: VercelCore, + request: GetAllLogDrainsRequest, + options?: RequestOptions, +): Promise< + [ + Result< + GetAllLogDrainsResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + APICall, + ] +> { + const parsed = safeParse( + request, + (value) => GetAllLogDrainsRequest$outboundSchema.parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return [parsed, { status: "invalid" }]; + } + const payload = parsed.value; + const body = null; + + const path = pathToFunc("/v1/log-drains")(); + + const query = encodeFormQuery({ + "includeMetadata": payload.includeMetadata, + "projectId": payload.projectId, + "projectIdOrName": payload.projectIdOrName, + "slug": payload.slug, + "teamId": payload.teamId, + }); + + const headers = new Headers(compactMap({ + Accept: "application/json", + })); + + const secConfig = await extractSecurity(client._options.bearerToken); + const securityInput = secConfig == null ? {} : { bearerToken: secConfig }; + const requestSecurity = resolveGlobalSecurity(securityInput); + + const context = { + options: client._options, + baseURL: options?.serverURL ?? client._baseURL ?? "", + operationID: "getAllLogDrains", + oAuth2Scopes: null, + + resolvedSecurity: requestSecurity, + + securitySource: client._options.bearerToken, + retryConfig: options?.retries + || client._options.retryConfig + || { strategy: "none" }, + retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"], + }; + + const requestRes = client._createRequest(context, { + security: requestSecurity, + method: "GET", + baseURL: options?.serverURL, + path: path, + headers: headers, + query: query, + body: body, + userAgent: client._options.userAgent, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return [requestRes, { status: "invalid" }]; + } + const req = requestRes.value; + + const doResult = await client._do(req, { + context, + errorCodes: ["400", "401", "403", "404", "4XX", "5XX"], + retryConfig: context.retryConfig, + retryCodes: context.retryCodes, + }); + if (!doResult.ok) { + return [doResult, { status: "request-error", request: req }]; + } + const response = doResult.value; + + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + + const [result] = await M.match< + GetAllLogDrainsResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.json(200, GetAllLogDrainsResponseBody$inboundSchema), + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + M.fail([403, "4XX"]), + M.fail("5XX"), + )(response, req, { extraFields: responseFields }); + if (!result.ok) { + return [result, { status: "complete", request: req, response }]; + } + + return [result, { status: "complete", request: req, response }]; +} diff --git a/src/funcs/logDrainsGetConfigurableLogDrain.ts b/src/funcs/logDrainsGetConfigurableLogDrain.ts new file mode 100644 index 000000000..57a3c36f5 --- /dev/null +++ b/src/funcs/logDrainsGetConfigurableLogDrain.ts @@ -0,0 +1,205 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { VercelCore } from "../core.js"; +import { encodeFormQuery, encodeSimple } from "../lib/encodings.js"; +import * as M from "../lib/matchers.js"; +import { compactMap } from "../lib/primitives.js"; +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/httpclienterrors.js"; +import { ResponseValidationError } from "../models/responsevalidationerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; +import { + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { VercelError } from "../models/vercelerror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; +import { APICall, APIPromise } from "../types/async.js"; +import { Result } from "../types/fp.js"; + +/** + * Retrieves a Configurable Log Drain (deprecated) + * + * @remarks + * Retrieves a Configurable Log Drain. This endpoint must be called with a team AccessToken (integration OAuth2 clients are not allowed). Only log drains owned by the authenticated team can be accessed. + */ +export function logDrainsGetConfigurableLogDrain( + client: VercelCore, + request: GetConfigurableLogDrainRequest, + options?: RequestOptions, +): APIPromise< + Result< + GetConfigurableLogDrainResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + > +> { + return new APIPromise($do( + client, + request, + options, + )); +} + +async function $do( + client: VercelCore, + request: GetConfigurableLogDrainRequest, + options?: RequestOptions, +): Promise< + [ + Result< + GetConfigurableLogDrainResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + APICall, + ] +> { + const parsed = safeParse( + request, + (value) => GetConfigurableLogDrainRequest$outboundSchema.parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return [parsed, { status: "invalid" }]; + } + const payload = parsed.value; + const body = null; + + const pathParams = { + id: encodeSimple("id", payload.id, { + explode: false, + charEncoding: "percent", + }), + }; + + const path = pathToFunc("/v1/log-drains/{id}")(pathParams); + + const query = encodeFormQuery({ + "slug": payload.slug, + "teamId": payload.teamId, + }); + + const headers = new Headers(compactMap({ + Accept: "application/json", + })); + + const secConfig = await extractSecurity(client._options.bearerToken); + const securityInput = secConfig == null ? {} : { bearerToken: secConfig }; + const requestSecurity = resolveGlobalSecurity(securityInput); + + const context = { + options: client._options, + baseURL: options?.serverURL ?? client._baseURL ?? "", + operationID: "getConfigurableLogDrain", + oAuth2Scopes: null, + + resolvedSecurity: requestSecurity, + + securitySource: client._options.bearerToken, + retryConfig: options?.retries + || client._options.retryConfig + || { strategy: "none" }, + retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"], + }; + + const requestRes = client._createRequest(context, { + security: requestSecurity, + method: "GET", + baseURL: options?.serverURL, + path: path, + headers: headers, + query: query, + body: body, + userAgent: client._options.userAgent, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return [requestRes, { status: "invalid" }]; + } + const req = requestRes.value; + + const doResult = await client._do(req, { + context, + errorCodes: ["400", "401", "403", "404", "4XX", "5XX"], + retryConfig: context.retryConfig, + retryCodes: context.retryCodes, + }); + if (!doResult.ok) { + return [doResult, { status: "request-error", request: req }]; + } + const response = doResult.value; + + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + + const [result] = await M.match< + GetConfigurableLogDrainResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.json(200, GetConfigurableLogDrainResponseBody$inboundSchema), + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + M.fail([403, "4XX"]), + M.fail("5XX"), + )(response, req, { extraFields: responseFields }); + if (!result.ok) { + return [result, { status: "complete", request: req, response }]; + } + + return [result, { status: "complete", request: req, response }]; +} diff --git a/src/funcs/logDrainsGetIntegrationLogDrains.ts b/src/funcs/logDrainsGetIntegrationLogDrains.ts index 971fe6393..c4d2462bb 100644 --- a/src/funcs/logDrainsGetIntegrationLogDrains.ts +++ b/src/funcs/logDrainsGetIntegrationLogDrains.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { VercelCore } from "../core.js"; import { encodeFormQuery } from "../lib/encodings.js"; import * as M from "../lib/matchers.js"; @@ -39,7 +39,7 @@ import { APICall, APIPromise } from "../types/async.js"; import { Result } from "../types/fp.js"; /** - * Retrieves a list of Integration log drains + * Retrieves a list of Integration log drains (deprecated) * * @remarks * Retrieves a list of all Integration log drains that are defined for the authenticated user or team. When using an OAuth2 token, the list is limited to log drains created by the authenticated integration. @@ -122,7 +122,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "getIntegrationLogDrains", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/logsGetRuntimeLogs.ts b/src/funcs/logsGetRuntimeLogs.ts index 57169ba4e..7abc00ceb 100644 --- a/src/funcs/logsGetRuntimeLogs.ts +++ b/src/funcs/logsGetRuntimeLogs.ts @@ -134,7 +134,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "getRuntimeLogs", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/marketplaceCreateEvent.ts b/src/funcs/marketplaceCreateEvent.ts index 0022da2c1..9cb02f56d 100644 --- a/src/funcs/marketplaceCreateEvent.ts +++ b/src/funcs/marketplaceCreateEvent.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { VercelCore } from "../core.js"; import { encodeJSON, encodeSimple } from "../lib/encodings.js"; import * as M from "../lib/matchers.js"; @@ -132,7 +132,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "create-event", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/marketplaceCreateInstallationIntegrationConfiguration.ts b/src/funcs/marketplaceCreateInstallationIntegrationConfiguration.ts index 35590be45..d40b323f7 100644 --- a/src/funcs/marketplaceCreateInstallationIntegrationConfiguration.ts +++ b/src/funcs/marketplaceCreateInstallationIntegrationConfiguration.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { VercelCore } from "../core.js"; import { encodeJSON, encodeSimple } from "../lib/encodings.js"; import * as M from "../lib/matchers.js"; @@ -141,7 +141,7 @@ async function $do( baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "post_/v1/installations/{integrationConfigurationId}/resources/{resourceId}/experimentation/items", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/marketplaceCreateInstallationIntegrationEdgeConfig.ts b/src/funcs/marketplaceCreateInstallationIntegrationEdgeConfig.ts index 2ac25b801..f0710f7e5 100644 --- a/src/funcs/marketplaceCreateInstallationIntegrationEdgeConfig.ts +++ b/src/funcs/marketplaceCreateInstallationIntegrationEdgeConfig.ts @@ -143,7 +143,7 @@ async function $do( baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "head_/v1/installations/{integrationConfigurationId}/resources/{resourceId}/experimentation/edge-config", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/marketplaceDeleteInstallationIntegrationConfiguration.ts b/src/funcs/marketplaceDeleteInstallationIntegrationConfiguration.ts index 3b7de1b0d..ba4f232b7 100644 --- a/src/funcs/marketplaceDeleteInstallationIntegrationConfiguration.ts +++ b/src/funcs/marketplaceDeleteInstallationIntegrationConfiguration.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { VercelCore } from "../core.js"; import { encodeSimple } from "../lib/encodings.js"; import * as M from "../lib/matchers.js"; @@ -144,7 +144,7 @@ async function $do( baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "delete_/v1/installations/{integrationConfigurationId}/resources/{resourceId}/experimentation/items/{itemId}", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/marketplaceDeleteIntegrationResource.ts b/src/funcs/marketplaceDeleteIntegrationResource.ts index 603727312..4d72b0ad0 100644 --- a/src/funcs/marketplaceDeleteIntegrationResource.ts +++ b/src/funcs/marketplaceDeleteIntegrationResource.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { VercelCore } from "../core.js"; import { encodeSimple } from "../lib/encodings.js"; import * as M from "../lib/matchers.js"; @@ -135,7 +135,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "delete-integration-resource", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/marketplaceExchangeSsoToken.ts b/src/funcs/marketplaceExchangeSsoToken.ts index 9952d5937..709bd5696 100644 --- a/src/funcs/marketplaceExchangeSsoToken.ts +++ b/src/funcs/marketplaceExchangeSsoToken.ts @@ -112,7 +112,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "exchange-sso-token", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: null, diff --git a/src/funcs/marketplaceGetAccountInfo.ts b/src/funcs/marketplaceGetAccountInfo.ts index 37a1a3dec..ff9c2c1b3 100644 --- a/src/funcs/marketplaceGetAccountInfo.ts +++ b/src/funcs/marketplaceGetAccountInfo.ts @@ -132,7 +132,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "get-account-info", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/marketplaceGetIntegrationResource.ts b/src/funcs/marketplaceGetIntegrationResource.ts index b28fb83ab..395e64579 100644 --- a/src/funcs/marketplaceGetIntegrationResource.ts +++ b/src/funcs/marketplaceGetIntegrationResource.ts @@ -136,7 +136,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "get-integration-resource", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/marketplaceGetIntegrationResources.ts b/src/funcs/marketplaceGetIntegrationResources.ts index 83303337b..5227b036c 100644 --- a/src/funcs/marketplaceGetIntegrationResources.ts +++ b/src/funcs/marketplaceGetIntegrationResources.ts @@ -132,7 +132,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "get-integration-resources", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/marketplaceGetInvoice.ts b/src/funcs/marketplaceGetInvoice.ts index b99e90825..a233c87a1 100644 --- a/src/funcs/marketplaceGetInvoice.ts +++ b/src/funcs/marketplaceGetInvoice.ts @@ -136,7 +136,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "get-invoice", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/marketplaceGetMember.ts b/src/funcs/marketplaceGetMember.ts index c8188e5d5..91676442d 100644 --- a/src/funcs/marketplaceGetMember.ts +++ b/src/funcs/marketplaceGetMember.ts @@ -136,7 +136,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "get-member", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/marketplaceImportResource.ts b/src/funcs/marketplaceImportResource.ts index d733843b4..dfe87bf96 100644 --- a/src/funcs/marketplaceImportResource.ts +++ b/src/funcs/marketplaceImportResource.ts @@ -137,7 +137,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "import-resource", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/marketplaceSubmitBillingData.ts b/src/funcs/marketplaceSubmitBillingData.ts index 7a415e470..28cbdb101 100644 --- a/src/funcs/marketplaceSubmitBillingData.ts +++ b/src/funcs/marketplaceSubmitBillingData.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { VercelCore } from "../core.js"; import { encodeJSON, encodeSimple } from "../lib/encodings.js"; import * as M from "../lib/matchers.js"; @@ -132,7 +132,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "submit-billing-data", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/marketplaceSubmitInvoice.ts b/src/funcs/marketplaceSubmitInvoice.ts index b9d947875..e625d0040 100644 --- a/src/funcs/marketplaceSubmitInvoice.ts +++ b/src/funcs/marketplaceSubmitInvoice.ts @@ -133,7 +133,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "submit-invoice", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/marketplaceSubmitPrepaymentBalances.ts b/src/funcs/marketplaceSubmitPrepaymentBalances.ts index 0c4ac1179..26b75e530 100644 --- a/src/funcs/marketplaceSubmitPrepaymentBalances.ts +++ b/src/funcs/marketplaceSubmitPrepaymentBalances.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { VercelCore } from "../core.js"; import { encodeJSON, encodeSimple } from "../lib/encodings.js"; import * as M from "../lib/matchers.js"; @@ -132,7 +132,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "submit-prepayment-balances", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/marketplaceUpdateInstallation.ts b/src/funcs/marketplaceUpdateInstallation.ts new file mode 100644 index 000000000..9dbd0d6c8 --- /dev/null +++ b/src/funcs/marketplaceUpdateInstallation.ts @@ -0,0 +1,202 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { VercelCore } from "../core.js"; +import { encodeJSON, encodeSimple } from "../lib/encodings.js"; +import * as M from "../lib/matchers.js"; +import { compactMap } from "../lib/primitives.js"; +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 { + ConnectionError, + InvalidRequestError, + RequestAbortedError, + RequestTimeoutError, + UnexpectedClientError, +} from "../models/httpclienterrors.js"; +import { ResponseValidationError } from "../models/responsevalidationerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; +import { + UpdateInstallationRequest, + UpdateInstallationRequest$outboundSchema, +} from "../models/updateinstallationop.js"; +import { + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { VercelError } from "../models/vercelerror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; +import { APICall, APIPromise } from "../types/async.js"; +import { Result } from "../types/fp.js"; + +/** + * Update Installation + * + * @remarks + * This endpoint updates an integration installation. + */ +export function marketplaceUpdateInstallation( + client: VercelCore, + request: UpdateInstallationRequest, + options?: RequestOptions, +): APIPromise< + Result< + void, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + > +> { + return new APIPromise($do( + client, + request, + options, + )); +} + +async function $do( + client: VercelCore, + request: UpdateInstallationRequest, + options?: RequestOptions, +): Promise< + [ + Result< + void, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + APICall, + ] +> { + const parsed = safeParse( + request, + (value) => UpdateInstallationRequest$outboundSchema.parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return [parsed, { status: "invalid" }]; + } + const payload = parsed.value; + const body = encodeJSON("body", payload.RequestBody, { explode: true }); + + const pathParams = { + integrationConfigurationId: encodeSimple( + "integrationConfigurationId", + payload.integrationConfigurationId, + { explode: false, charEncoding: "percent" }, + ), + }; + + const path = pathToFunc("/v1/installations/{integrationConfigurationId}")( + pathParams, + ); + + const headers = new Headers(compactMap({ + "Content-Type": "application/json", + Accept: "application/json", + })); + + const secConfig = await extractSecurity(client._options.bearerToken); + const securityInput = secConfig == null ? {} : { bearerToken: secConfig }; + const requestSecurity = resolveGlobalSecurity(securityInput); + + const context = { + options: client._options, + baseURL: options?.serverURL ?? client._baseURL ?? "", + operationID: "update-installation", + oAuth2Scopes: null, + + resolvedSecurity: requestSecurity, + + securitySource: client._options.bearerToken, + retryConfig: options?.retries + || client._options.retryConfig + || { strategy: "none" }, + retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"], + }; + + const requestRes = client._createRequest(context, { + security: requestSecurity, + method: "PATCH", + baseURL: options?.serverURL, + path: path, + headers: headers, + body: body, + userAgent: client._options.userAgent, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return [requestRes, { status: "invalid" }]; + } + const req = requestRes.value; + + const doResult = await client._do(req, { + context, + errorCodes: ["400", "401", "403", "404", "4XX", "5XX"], + retryConfig: context.retryConfig, + retryCodes: context.retryCodes, + }); + if (!doResult.ok) { + return [doResult, { status: "request-error", request: req }]; + } + const response = doResult.value; + + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + + const [result] = await M.match< + void, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.nil(204, z.void()), + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + M.fail([403, "4XX"]), + M.fail("5XX"), + )(response, req, { extraFields: responseFields }); + if (!result.ok) { + return [result, { status: "complete", request: req, response }]; + } + + return [result, { status: "complete", request: req, response }]; +} diff --git a/src/funcs/marketplaceUpdateInstallationIntegrationConfiguration.ts b/src/funcs/marketplaceUpdateInstallationIntegrationConfiguration.ts index 1d2fccc4c..b0d354e92 100644 --- a/src/funcs/marketplaceUpdateInstallationIntegrationConfiguration.ts +++ b/src/funcs/marketplaceUpdateInstallationIntegrationConfiguration.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { VercelCore } from "../core.js"; import { encodeJSON, encodeSimple } from "../lib/encodings.js"; import * as M from "../lib/matchers.js"; @@ -145,7 +145,7 @@ async function $do( baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "patch_/v1/installations/{integrationConfigurationId}/resources/{resourceId}/experimentation/items/{itemId}", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/marketplaceUpdateInstallationIntegrationEdgeConfig.ts b/src/funcs/marketplaceUpdateInstallationIntegrationEdgeConfig.ts index f7c7adc4b..5448eca8b 100644 --- a/src/funcs/marketplaceUpdateInstallationIntegrationEdgeConfig.ts +++ b/src/funcs/marketplaceUpdateInstallationIntegrationEdgeConfig.ts @@ -142,7 +142,7 @@ async function $do( baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "put_/v1/installations/{integrationConfigurationId}/resources/{resourceId}/experimentation/edge-config", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/marketplaceUpdateInvoice.ts b/src/funcs/marketplaceUpdateInvoice.ts index ff965e5ef..edae1f5da 100644 --- a/src/funcs/marketplaceUpdateInvoice.ts +++ b/src/funcs/marketplaceUpdateInvoice.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { VercelCore } from "../core.js"; import { encodeJSON, encodeSimple } from "../lib/encodings.js"; import * as M from "../lib/matchers.js"; @@ -136,7 +136,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "update-invoice", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/marketplaceUpdateResource.ts b/src/funcs/marketplaceUpdateResource.ts new file mode 100644 index 000000000..139d9e0df --- /dev/null +++ b/src/funcs/marketplaceUpdateResource.ts @@ -0,0 +1,207 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { VercelCore } from "../core.js"; +import { encodeJSON, encodeSimple } from "../lib/encodings.js"; +import * as M from "../lib/matchers.js"; +import { compactMap } from "../lib/primitives.js"; +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 { + ConnectionError, + InvalidRequestError, + RequestAbortedError, + RequestTimeoutError, + UnexpectedClientError, +} from "../models/httpclienterrors.js"; +import { ResponseValidationError } from "../models/responsevalidationerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; +import { + UpdateResourceRequest, + UpdateResourceRequest$outboundSchema, + UpdateResourceResponseBody, + UpdateResourceResponseBody$inboundSchema, +} from "../models/updateresourceop.js"; +import { + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { VercelError } from "../models/vercelerror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; +import { APICall, APIPromise } from "../types/async.js"; +import { Result } from "../types/fp.js"; + +/** + * Update Resource + * + * @remarks + * This endpoint updates an existing resource in the installation. All parameters are optional, allowing partial updates. + */ +export function marketplaceUpdateResource( + client: VercelCore, + request: UpdateResourceRequest, + options?: RequestOptions, +): APIPromise< + Result< + UpdateResourceResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + > +> { + return new APIPromise($do( + client, + request, + options, + )); +} + +async function $do( + client: VercelCore, + request: UpdateResourceRequest, + options?: RequestOptions, +): Promise< + [ + Result< + UpdateResourceResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + APICall, + ] +> { + const parsed = safeParse( + request, + (value) => UpdateResourceRequest$outboundSchema.parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return [parsed, { status: "invalid" }]; + } + const payload = parsed.value; + const body = encodeJSON("body", payload.RequestBody, { explode: true }); + + const pathParams = { + integrationConfigurationId: encodeSimple( + "integrationConfigurationId", + payload.integrationConfigurationId, + { explode: false, charEncoding: "percent" }, + ), + resourceId: encodeSimple("resourceId", payload.resourceId, { + explode: false, + charEncoding: "percent", + }), + }; + + const path = pathToFunc( + "/v1/installations/{integrationConfigurationId}/resources/{resourceId}", + )(pathParams); + + const headers = new Headers(compactMap({ + "Content-Type": "application/json", + Accept: "application/json", + })); + + const secConfig = await extractSecurity(client._options.bearerToken); + const securityInput = secConfig == null ? {} : { bearerToken: secConfig }; + const requestSecurity = resolveGlobalSecurity(securityInput); + + const context = { + options: client._options, + baseURL: options?.serverURL ?? client._baseURL ?? "", + operationID: "update-resource", + oAuth2Scopes: null, + + resolvedSecurity: requestSecurity, + + securitySource: client._options.bearerToken, + retryConfig: options?.retries + || client._options.retryConfig + || { strategy: "none" }, + retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"], + }; + + const requestRes = client._createRequest(context, { + security: requestSecurity, + method: "PATCH", + baseURL: options?.serverURL, + path: path, + headers: headers, + body: body, + userAgent: client._options.userAgent, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return [requestRes, { status: "invalid" }]; + } + const req = requestRes.value; + + const doResult = await client._do(req, { + context, + errorCodes: ["400", "401", "403", "404", "409", "422", "4XX", "5XX"], + retryConfig: context.retryConfig, + retryCodes: context.retryCodes, + }); + if (!doResult.ok) { + return [doResult, { status: "request-error", request: req }]; + } + const response = doResult.value; + + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + + const [result] = await M.match< + UpdateResourceResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.json(200, UpdateResourceResponseBody$inboundSchema), + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + M.fail([403, 409, 422, "4XX"]), + M.fail("5XX"), + )(response, req, { extraFields: responseFields }); + if (!result.ok) { + return [result, { status: "complete", request: req, response }]; + } + + return [result, { status: "complete", request: req, response }]; +} diff --git a/src/funcs/marketplaceUpdateResourceSecrets.ts b/src/funcs/marketplaceUpdateResourceSecrets.ts index aa2c073e5..527c0203e 100644 --- a/src/funcs/marketplaceUpdateResourceSecrets.ts +++ b/src/funcs/marketplaceUpdateResourceSecrets.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { VercelCore } from "../core.js"; import { encodeJSON, encodeSimple } from "../lib/encodings.js"; import * as M from "../lib/matchers.js"; @@ -141,7 +141,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "update-resource-secrets", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/marketplaceUpdateResourceSecretsById.ts b/src/funcs/marketplaceUpdateResourceSecretsById.ts index 53272273f..61c05f88d 100644 --- a/src/funcs/marketplaceUpdateResourceSecretsById.ts +++ b/src/funcs/marketplaceUpdateResourceSecretsById.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { VercelCore } from "../core.js"; import { encodeJSON, encodeSimple } from "../lib/encodings.js"; import * as M from "../lib/matchers.js"; @@ -136,7 +136,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "update-resource-secrets-by-id", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/projectMembersAddProjectMember.ts b/src/funcs/projectMembersAddProjectMember.ts index b4934730d..0197ebc4a 100644 --- a/src/funcs/projectMembersAddProjectMember.ts +++ b/src/funcs/projectMembersAddProjectMember.ts @@ -129,7 +129,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "addProjectMember", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/projectMembersGetProjectMembers.ts b/src/funcs/projectMembersGetProjectMembers.ts index d893e9663..feb7ad596 100644 --- a/src/funcs/projectMembersGetProjectMembers.ts +++ b/src/funcs/projectMembersGetProjectMembers.ts @@ -132,7 +132,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "getProjectMembers", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/projectMembersRemoveProjectMember.ts b/src/funcs/projectMembersRemoveProjectMember.ts index 30d155efc..e48a15d2d 100644 --- a/src/funcs/projectMembersRemoveProjectMember.ts +++ b/src/funcs/projectMembersRemoveProjectMember.ts @@ -132,7 +132,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "removeProjectMember", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/projectsAcceptProjectTransferRequest.ts b/src/funcs/projectsAcceptProjectTransferRequest.ts index 61e90f565..ae6e2c791 100644 --- a/src/funcs/projectsAcceptProjectTransferRequest.ts +++ b/src/funcs/projectsAcceptProjectTransferRequest.ts @@ -135,7 +135,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "acceptProjectTransferRequest", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/projectsAddProjectDomain.ts b/src/funcs/projectsAddProjectDomain.ts index 414f121c8..fa2a5e021 100644 --- a/src/funcs/projectsAddProjectDomain.ts +++ b/src/funcs/projectsAddProjectDomain.ts @@ -129,7 +129,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "addProjectDomain", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/projectsBatchRemoveProjectEnv.ts b/src/funcs/projectsBatchRemoveProjectEnv.ts index f48db8c3c..28016581a 100644 --- a/src/funcs/projectsBatchRemoveProjectEnv.ts +++ b/src/funcs/projectsBatchRemoveProjectEnv.ts @@ -135,7 +135,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "batchRemoveProjectEnv", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/projectsCreateProject.ts b/src/funcs/projectsCreateProject.ts index f7f274314..50cb39175 100644 --- a/src/funcs/projectsCreateProject.ts +++ b/src/funcs/projectsCreateProject.ts @@ -134,7 +134,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "createProject", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/projectsCreateProjectEnv.ts b/src/funcs/projectsCreateProjectEnv.ts index b66f63298..d2675f730 100644 --- a/src/funcs/projectsCreateProjectEnv.ts +++ b/src/funcs/projectsCreateProjectEnv.ts @@ -142,7 +142,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "createProjectEnv", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/projectsCreateProjectTransferRequest.ts b/src/funcs/projectsCreateProjectTransferRequest.ts index 8f042f313..1ede4d265 100644 --- a/src/funcs/projectsCreateProjectTransferRequest.ts +++ b/src/funcs/projectsCreateProjectTransferRequest.ts @@ -129,7 +129,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "createProjectTransferRequest", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/projectsDeleteProject.ts b/src/funcs/projectsDeleteProject.ts index 655aa55e7..29fbc0342 100644 --- a/src/funcs/projectsDeleteProject.ts +++ b/src/funcs/projectsDeleteProject.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { VercelCore } from "../core.js"; import { encodeFormQuery, encodeSimple } from "../lib/encodings.js"; import * as M from "../lib/matchers.js"; @@ -127,7 +127,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "deleteProject", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/projectsDeleteProjectClientCert.ts b/src/funcs/projectsDeleteProjectClientCert.ts new file mode 100644 index 000000000..90c961920 --- /dev/null +++ b/src/funcs/projectsDeleteProjectClientCert.ts @@ -0,0 +1,211 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { VercelCore } from "../core.js"; +import { encodeFormQuery, encodeSimple } from "../lib/encodings.js"; +import * as M from "../lib/matchers.js"; +import { compactMap } from "../lib/primitives.js"; +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 { + DeleteProjectClientCertRequest, + DeleteProjectClientCertRequest$outboundSchema, + DeleteProjectClientCertResponseBody, + DeleteProjectClientCertResponseBody$inboundSchema, +} from "../models/deleteprojectclientcertop.js"; +import { + ConnectionError, + InvalidRequestError, + RequestAbortedError, + RequestTimeoutError, + UnexpectedClientError, +} from "../models/httpclienterrors.js"; +import { ResponseValidationError } from "../models/responsevalidationerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; +import { + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { VercelError } from "../models/vercelerror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; +import { APICall, APIPromise } from "../types/async.js"; +import { Result } from "../types/fp.js"; + +/** + * Delete client certificate for egress mTLS + * + * @remarks + * Delete a client certificate for mTLS authentication to external origins. + */ +export function projectsDeleteProjectClientCert( + client: VercelCore, + request: DeleteProjectClientCertRequest, + options?: RequestOptions, +): APIPromise< + Result< + DeleteProjectClientCertResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + > +> { + return new APIPromise($do( + client, + request, + options, + )); +} + +async function $do( + client: VercelCore, + request: DeleteProjectClientCertRequest, + options?: RequestOptions, +): Promise< + [ + Result< + DeleteProjectClientCertResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + APICall, + ] +> { + const parsed = safeParse( + request, + (value) => DeleteProjectClientCertRequest$outboundSchema.parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return [parsed, { status: "invalid" }]; + } + const payload = parsed.value; + const body = null; + + const pathParams = { + certId: encodeSimple("certId", payload.certId, { + explode: false, + charEncoding: "percent", + }), + idOrName: encodeSimple("idOrName", payload.idOrName, { + explode: false, + charEncoding: "percent", + }), + }; + + const path = pathToFunc("/v1/projects/{idOrName}/client-cert/{certId}")( + pathParams, + ); + + const query = encodeFormQuery({ + "slug": payload.slug, + "teamId": payload.teamId, + }); + + const headers = new Headers(compactMap({ + Accept: "application/json", + })); + + const secConfig = await extractSecurity(client._options.bearerToken); + const securityInput = secConfig == null ? {} : { bearerToken: secConfig }; + const requestSecurity = resolveGlobalSecurity(securityInput); + + const context = { + options: client._options, + baseURL: options?.serverURL ?? client._baseURL ?? "", + operationID: "deleteProjectClientCert", + oAuth2Scopes: null, + + resolvedSecurity: requestSecurity, + + securitySource: client._options.bearerToken, + retryConfig: options?.retries + || client._options.retryConfig + || { strategy: "none" }, + retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"], + }; + + const requestRes = client._createRequest(context, { + security: requestSecurity, + method: "DELETE", + baseURL: options?.serverURL, + path: path, + headers: headers, + query: query, + body: body, + userAgent: client._options.userAgent, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return [requestRes, { status: "invalid" }]; + } + const req = requestRes.value; + + const doResult = await client._do(req, { + context, + errorCodes: ["400", "401", "403", "404", "409", "4XX", "5XX"], + retryConfig: context.retryConfig, + retryCodes: context.retryCodes, + }); + if (!doResult.ok) { + return [doResult, { status: "request-error", request: req }]; + } + const response = doResult.value; + + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + + const [result] = await M.match< + DeleteProjectClientCertResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.json(200, DeleteProjectClientCertResponseBody$inboundSchema), + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + M.fail([403, 409, "4XX"]), + M.fail("5XX"), + )(response, req, { extraFields: responseFields }); + if (!result.ok) { + return [result, { status: "complete", request: req, response }]; + } + + return [result, { status: "complete", request: req, response }]; +} diff --git a/src/funcs/projectsEditProjectEnv.ts b/src/funcs/projectsEditProjectEnv.ts index d55a2297b..b3a4f9cb1 100644 --- a/src/funcs/projectsEditProjectEnv.ts +++ b/src/funcs/projectsEditProjectEnv.ts @@ -145,7 +145,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "editProjectEnv", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/projectsFilterProjectEnvs.ts b/src/funcs/projectsFilterProjectEnvs.ts index 102973db4..b37310882 100644 --- a/src/funcs/projectsFilterProjectEnvs.ts +++ b/src/funcs/projectsFilterProjectEnvs.ts @@ -133,7 +133,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "filterProjectEnvs", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/projectsGetProjectClientCerts.ts b/src/funcs/projectsGetProjectClientCerts.ts new file mode 100644 index 000000000..4436b5323 --- /dev/null +++ b/src/funcs/projectsGetProjectClientCerts.ts @@ -0,0 +1,205 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { VercelCore } from "../core.js"; +import { encodeFormQuery, encodeSimple } from "../lib/encodings.js"; +import * as M from "../lib/matchers.js"; +import { compactMap } from "../lib/primitives.js"; +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 { + GetProjectClientCertsRequest, + GetProjectClientCertsRequest$outboundSchema, + GetProjectClientCertsResponseBody, + GetProjectClientCertsResponseBody$inboundSchema, +} from "../models/getprojectclientcertsop.js"; +import { + ConnectionError, + InvalidRequestError, + RequestAbortedError, + RequestTimeoutError, + UnexpectedClientError, +} from "../models/httpclienterrors.js"; +import { ResponseValidationError } from "../models/responsevalidationerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; +import { + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { VercelError } from "../models/vercelerror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; +import { APICall, APIPromise } from "../types/async.js"; +import { Result } from "../types/fp.js"; + +/** + * Get client certificates for a project + * + * @remarks + * Retrieve client certificates configured for a project's mTLS egress authentication. + */ +export function projectsGetProjectClientCerts( + client: VercelCore, + request: GetProjectClientCertsRequest, + options?: RequestOptions, +): APIPromise< + Result< + GetProjectClientCertsResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + > +> { + return new APIPromise($do( + client, + request, + options, + )); +} + +async function $do( + client: VercelCore, + request: GetProjectClientCertsRequest, + options?: RequestOptions, +): Promise< + [ + Result< + GetProjectClientCertsResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + APICall, + ] +> { + const parsed = safeParse( + request, + (value) => GetProjectClientCertsRequest$outboundSchema.parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return [parsed, { status: "invalid" }]; + } + const payload = parsed.value; + const body = null; + + const pathParams = { + idOrName: encodeSimple("idOrName", payload.idOrName, { + explode: false, + charEncoding: "percent", + }), + }; + + const path = pathToFunc("/v1/projects/{idOrName}/client-cert")(pathParams); + + const query = encodeFormQuery({ + "slug": payload.slug, + "teamId": payload.teamId, + }); + + const headers = new Headers(compactMap({ + Accept: "application/json", + })); + + const secConfig = await extractSecurity(client._options.bearerToken); + const securityInput = secConfig == null ? {} : { bearerToken: secConfig }; + const requestSecurity = resolveGlobalSecurity(securityInput); + + const context = { + options: client._options, + baseURL: options?.serverURL ?? client._baseURL ?? "", + operationID: "getProjectClientCerts", + oAuth2Scopes: null, + + resolvedSecurity: requestSecurity, + + securitySource: client._options.bearerToken, + retryConfig: options?.retries + || client._options.retryConfig + || { strategy: "none" }, + retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"], + }; + + const requestRes = client._createRequest(context, { + security: requestSecurity, + method: "GET", + baseURL: options?.serverURL, + path: path, + headers: headers, + query: query, + body: body, + userAgent: client._options.userAgent, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return [requestRes, { status: "invalid" }]; + } + const req = requestRes.value; + + const doResult = await client._do(req, { + context, + errorCodes: ["400", "401", "403", "404", "4XX", "5XX"], + retryConfig: context.retryConfig, + retryCodes: context.retryCodes, + }); + if (!doResult.ok) { + return [doResult, { status: "request-error", request: req }]; + } + const response = doResult.value; + + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + + const [result] = await M.match< + GetProjectClientCertsResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.json(200, GetProjectClientCertsResponseBody$inboundSchema), + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + M.fail([403, "4XX"]), + M.fail("5XX"), + )(response, req, { extraFields: responseFields }); + if (!result.ok) { + return [result, { status: "complete", request: req, response }]; + } + + return [result, { status: "complete", request: req, response }]; +} diff --git a/src/funcs/projectsGetProjectDomain.ts b/src/funcs/projectsGetProjectDomain.ts index fb376dbd4..9a779f3da 100644 --- a/src/funcs/projectsGetProjectDomain.ts +++ b/src/funcs/projectsGetProjectDomain.ts @@ -134,7 +134,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "getProjectDomain", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/projectsGetProjectDomains.ts b/src/funcs/projectsGetProjectDomains.ts index 60ed5c8b9..3d94ada12 100644 --- a/src/funcs/projectsGetProjectDomains.ts +++ b/src/funcs/projectsGetProjectDomains.ts @@ -139,7 +139,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "getProjectDomains", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/projectsGetProjectEnv.ts b/src/funcs/projectsGetProjectEnv.ts index 6fb053236..93f5c1f7c 100644 --- a/src/funcs/projectsGetProjectEnv.ts +++ b/src/funcs/projectsGetProjectEnv.ts @@ -132,7 +132,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "getProjectEnv", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/projectsGetProjects.ts b/src/funcs/projectsGetProjects.ts index 3d25e48fc..2e5880600 100644 --- a/src/funcs/projectsGetProjects.ts +++ b/src/funcs/projectsGetProjects.ts @@ -105,6 +105,7 @@ async function $do( const path = pathToFunc("/v10/projects")(); const query = encodeFormQuery({ + "buildMachineTypes": payload.buildMachineTypes, "deprecated": payload.deprecated, "edgeConfigId": payload.edgeConfigId, "edgeConfigTokenId": payload.edgeConfigTokenId, @@ -118,6 +119,7 @@ async function $do( "repoUrl": payload.repoUrl, "search": payload.search, "slug": payload.slug, + "staticIpsEnabled": payload.staticIpsEnabled, "teamId": payload.teamId, }); @@ -133,7 +135,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "getProjects", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/projectsListPromoteAliases.ts b/src/funcs/projectsListPromoteAliases.ts index 410aa48d3..abfa7a2a7 100644 --- a/src/funcs/projectsListPromoteAliases.ts +++ b/src/funcs/projectsListPromoteAliases.ts @@ -140,7 +140,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "listPromoteAliases", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/projectsMoveProjectDomain.ts b/src/funcs/projectsMoveProjectDomain.ts index b4ec98d80..f75001053 100644 --- a/src/funcs/projectsMoveProjectDomain.ts +++ b/src/funcs/projectsMoveProjectDomain.ts @@ -135,7 +135,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "moveProjectDomain", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/projectsPauseProject.ts b/src/funcs/projectsPauseProject.ts index 86dd1bb39..d7ec08eb3 100644 --- a/src/funcs/projectsPauseProject.ts +++ b/src/funcs/projectsPauseProject.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { VercelCore } from "../core.js"; import { encodeFormQuery, encodeSimple } from "../lib/encodings.js"; import * as M from "../lib/matchers.js"; @@ -127,7 +127,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "pauseProject", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, @@ -156,7 +156,7 @@ async function $do( const doResult = await client._do(req, { context, - errorCodes: ["400", "401", "402", "403", "4XX", "500", "5XX"], + errorCodes: ["400", "401", "403", "4XX", "500", "5XX"], retryConfig: context.retryConfig, retryCodes: context.retryCodes, }); @@ -185,7 +185,7 @@ async function $do( M.nil(200, z.void()), M.jsonErr(400, VercelBadRequestError$inboundSchema), M.jsonErr(401, VercelForbiddenError$inboundSchema), - M.fail([402, 403, "4XX"]), + M.fail([403, "4XX"]), M.fail([500, "5XX"]), )(response, req, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/projectsRemoveProjectDomain.ts b/src/funcs/projectsRemoveProjectDomain.ts index b844729ff..9d71a6dce 100644 --- a/src/funcs/projectsRemoveProjectDomain.ts +++ b/src/funcs/projectsRemoveProjectDomain.ts @@ -141,7 +141,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "removeProjectDomain", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/projectsRemoveProjectEnv.ts b/src/funcs/projectsRemoveProjectEnv.ts index 59f576c37..d1422c571 100644 --- a/src/funcs/projectsRemoveProjectEnv.ts +++ b/src/funcs/projectsRemoveProjectEnv.ts @@ -139,7 +139,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "removeProjectEnv", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/projectsRequestPromote.ts b/src/funcs/projectsRequestPromote.ts index c21520bcf..fe80afda8 100644 --- a/src/funcs/projectsRequestPromote.ts +++ b/src/funcs/projectsRequestPromote.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { VercelCore } from "../core.js"; import { encodeFormQuery, encodeSimple } from "../lib/encodings.js"; import * as M from "../lib/matchers.js"; @@ -133,7 +133,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "requestPromote", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/projectsUnpauseProject.ts b/src/funcs/projectsUnpauseProject.ts index 2ad3f09e5..377d53642 100644 --- a/src/funcs/projectsUnpauseProject.ts +++ b/src/funcs/projectsUnpauseProject.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { VercelCore } from "../core.js"; import { encodeFormQuery, encodeSimple } from "../lib/encodings.js"; import * as M from "../lib/matchers.js"; @@ -127,7 +127,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "unpauseProject", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/projectsUpdateProject.ts b/src/funcs/projectsUpdateProject.ts index 9d8f1d448..043edd5b5 100644 --- a/src/funcs/projectsUpdateProject.ts +++ b/src/funcs/projectsUpdateProject.ts @@ -135,7 +135,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "updateProject", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/projectsUpdateProjectDataCache.ts b/src/funcs/projectsUpdateProjectDataCache.ts index d3c8dc2f0..8a86270fc 100644 --- a/src/funcs/projectsUpdateProjectDataCache.ts +++ b/src/funcs/projectsUpdateProjectDataCache.ts @@ -135,7 +135,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "updateProjectDataCache", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/projectsUpdateProjectDomain.ts b/src/funcs/projectsUpdateProjectDomain.ts index 411fb95a7..38611ad72 100644 --- a/src/funcs/projectsUpdateProjectDomain.ts +++ b/src/funcs/projectsUpdateProjectDomain.ts @@ -135,7 +135,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "updateProjectDomain", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/projectsUpdateProjectProtectionBypass.ts b/src/funcs/projectsUpdateProjectProtectionBypass.ts index e01f4a5d6..80d4a6ba9 100644 --- a/src/funcs/projectsUpdateProjectProtectionBypass.ts +++ b/src/funcs/projectsUpdateProjectProtectionBypass.ts @@ -137,7 +137,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "updateProjectProtectionBypass", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/projectsUploadProjectClientCert.ts b/src/funcs/projectsUploadProjectClientCert.ts new file mode 100644 index 000000000..117b33632 --- /dev/null +++ b/src/funcs/projectsUploadProjectClientCert.ts @@ -0,0 +1,206 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { VercelCore } from "../core.js"; +import { encodeFormQuery, encodeJSON, encodeSimple } from "../lib/encodings.js"; +import * as M from "../lib/matchers.js"; +import { compactMap } from "../lib/primitives.js"; +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 { + ConnectionError, + InvalidRequestError, + RequestAbortedError, + RequestTimeoutError, + UnexpectedClientError, +} from "../models/httpclienterrors.js"; +import { ResponseValidationError } from "../models/responsevalidationerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; +import { + UploadProjectClientCertRequest, + UploadProjectClientCertRequest$outboundSchema, + UploadProjectClientCertResponseBody, + UploadProjectClientCertResponseBody$inboundSchema, +} from "../models/uploadprojectclientcertop.js"; +import { + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { VercelError } from "../models/vercelerror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; +import { APICall, APIPromise } from "../types/async.js"; +import { Result } from "../types/fp.js"; + +/** + * Upload client certificate for egress mTLS + * + * @remarks + * Upload a client certificate for mTLS authentication to external origins. + */ +export function projectsUploadProjectClientCert( + client: VercelCore, + request: UploadProjectClientCertRequest, + options?: RequestOptions, +): APIPromise< + Result< + UploadProjectClientCertResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + > +> { + return new APIPromise($do( + client, + request, + options, + )); +} + +async function $do( + client: VercelCore, + request: UploadProjectClientCertRequest, + options?: RequestOptions, +): Promise< + [ + Result< + UploadProjectClientCertResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + APICall, + ] +> { + const parsed = safeParse( + request, + (value) => UploadProjectClientCertRequest$outboundSchema.parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return [parsed, { status: "invalid" }]; + } + const payload = parsed.value; + const body = encodeJSON("body", payload.RequestBody, { explode: true }); + + const pathParams = { + idOrName: encodeSimple("idOrName", payload.idOrName, { + explode: false, + charEncoding: "percent", + }), + }; + + const path = pathToFunc("/v1/projects/{idOrName}/client-cert")(pathParams); + + const query = encodeFormQuery({ + "slug": payload.slug, + "teamId": payload.teamId, + }); + + const headers = new Headers(compactMap({ + "Content-Type": "application/json", + Accept: "application/json", + })); + + const secConfig = await extractSecurity(client._options.bearerToken); + const securityInput = secConfig == null ? {} : { bearerToken: secConfig }; + const requestSecurity = resolveGlobalSecurity(securityInput); + + const context = { + options: client._options, + baseURL: options?.serverURL ?? client._baseURL ?? "", + operationID: "uploadProjectClientCert", + oAuth2Scopes: null, + + resolvedSecurity: requestSecurity, + + securitySource: client._options.bearerToken, + retryConfig: options?.retries + || client._options.retryConfig + || { strategy: "none" }, + retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"], + }; + + const requestRes = client._createRequest(context, { + security: requestSecurity, + method: "POST", + baseURL: options?.serverURL, + path: path, + headers: headers, + query: query, + body: body, + userAgent: client._options.userAgent, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return [requestRes, { status: "invalid" }]; + } + const req = requestRes.value; + + const doResult = await client._do(req, { + context, + errorCodes: ["400", "401", "402", "403", "404", "409", "4XX", "500", "5XX"], + retryConfig: context.retryConfig, + retryCodes: context.retryCodes, + }); + if (!doResult.ok) { + return [doResult, { status: "request-error", request: req }]; + } + const response = doResult.value; + + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + + const [result] = await M.match< + UploadProjectClientCertResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.json(200, UploadProjectClientCertResponseBody$inboundSchema), + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + M.fail([402, 403, 409, "4XX"]), + M.fail([500, "5XX"]), + )(response, req, { extraFields: responseFields }); + if (!result.ok) { + return [result, { status: "complete", request: req, response }]; + } + + return [result, { status: "complete", request: req, response }]; +} diff --git a/src/funcs/projectsVerifyProjectDomain.ts b/src/funcs/projectsVerifyProjectDomain.ts index 7a1ec5cb0..fc599f9c9 100644 --- a/src/funcs/projectsVerifyProjectDomain.ts +++ b/src/funcs/projectsVerifyProjectDomain.ts @@ -134,7 +134,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "verifyProjectDomain", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/rollingReleaseApproveRollingReleaseStage.ts b/src/funcs/rollingReleaseApproveRollingReleaseStage.ts index 1987c2c50..c58c31368 100644 --- a/src/funcs/rollingReleaseApproveRollingReleaseStage.ts +++ b/src/funcs/rollingReleaseApproveRollingReleaseStage.ts @@ -137,7 +137,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "approveRollingReleaseStage", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/rollingReleaseCompleteRollingRelease.ts b/src/funcs/rollingReleaseCompleteRollingRelease.ts index a6eaff2f7..c1e6fd513 100644 --- a/src/funcs/rollingReleaseCompleteRollingRelease.ts +++ b/src/funcs/rollingReleaseCompleteRollingRelease.ts @@ -137,7 +137,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "completeRollingRelease", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/rollingReleaseDeleteRollingReleaseConfig.ts b/src/funcs/rollingReleaseDeleteRollingReleaseConfig.ts index 797a98c94..63805bf5d 100644 --- a/src/funcs/rollingReleaseDeleteRollingReleaseConfig.ts +++ b/src/funcs/rollingReleaseDeleteRollingReleaseConfig.ts @@ -136,7 +136,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "deleteRollingReleaseConfig", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/rollingReleaseGetRollingRelease.ts b/src/funcs/rollingReleaseGetRollingRelease.ts index cbcf67ec0..eff3ecbca 100644 --- a/src/funcs/rollingReleaseGetRollingRelease.ts +++ b/src/funcs/rollingReleaseGetRollingRelease.ts @@ -137,7 +137,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "getRollingRelease", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/rollingReleaseGetRollingReleaseBillingStatus.ts b/src/funcs/rollingReleaseGetRollingReleaseBillingStatus.ts index 61d26c9c3..e17f48fd7 100644 --- a/src/funcs/rollingReleaseGetRollingReleaseBillingStatus.ts +++ b/src/funcs/rollingReleaseGetRollingReleaseBillingStatus.ts @@ -137,7 +137,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "getRollingReleaseBillingStatus", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/rollingReleaseGetRollingReleaseConfig.ts b/src/funcs/rollingReleaseGetRollingReleaseConfig.ts index 05cc6a43c..d02d9f8ff 100644 --- a/src/funcs/rollingReleaseGetRollingReleaseConfig.ts +++ b/src/funcs/rollingReleaseGetRollingReleaseConfig.ts @@ -136,7 +136,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "getRollingReleaseConfig", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/rollingReleaseUpdateRollingReleaseConfig.ts b/src/funcs/rollingReleaseUpdateRollingReleaseConfig.ts index 3b6f3f0d6..e7152266c 100644 --- a/src/funcs/rollingReleaseUpdateRollingReleaseConfig.ts +++ b/src/funcs/rollingReleaseUpdateRollingReleaseConfig.ts @@ -136,7 +136,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "updateRollingReleaseConfig", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/securityAddBypassIp.ts b/src/funcs/securityAddBypassIp.ts index 0710d44e2..023064323 100644 --- a/src/funcs/securityAddBypassIp.ts +++ b/src/funcs/securityAddBypassIp.ts @@ -129,7 +129,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "addBypassIp", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/securityGetActiveAttackStatus.ts b/src/funcs/securityGetActiveAttackStatus.ts index b19216e37..398fd47b8 100644 --- a/src/funcs/securityGetActiveAttackStatus.ts +++ b/src/funcs/securityGetActiveAttackStatus.ts @@ -45,7 +45,7 @@ import { Result } from "../types/fp.js"; * Read active attack data * * @remarks - * Retrieve active attack data within the last 24h window + * Retrieve active attack data within the last N days (default: 1 day) */ export function securityGetActiveAttackStatus( client: VercelCore, @@ -112,6 +112,7 @@ async function $do( const query = encodeFormQuery({ "projectId": payload.projectId, + "since": payload.since, "slug": payload.slug, "teamId": payload.teamId, }); @@ -128,7 +129,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "getActiveAttackStatus", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/securityGetBypassIp.ts b/src/funcs/securityGetBypassIp.ts index f1c2d3bec..d880c883a 100644 --- a/src/funcs/securityGetBypassIp.ts +++ b/src/funcs/securityGetBypassIp.ts @@ -133,7 +133,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "getBypassIp", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/securityGetFirewallConfig.ts b/src/funcs/securityGetFirewallConfig.ts index d7c3b8093..9eace06f4 100644 --- a/src/funcs/securityGetFirewallConfig.ts +++ b/src/funcs/securityGetFirewallConfig.ts @@ -137,7 +137,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "getFirewallConfig", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/securityGetV1SecurityFirewallEvents.ts b/src/funcs/securityGetV1SecurityFirewallEvents.ts new file mode 100644 index 000000000..8a25eff72 --- /dev/null +++ b/src/funcs/securityGetV1SecurityFirewallEvents.ts @@ -0,0 +1,194 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { VercelCore } from "../core.js"; +import { encodeFormQuery } from "../lib/encodings.js"; +import * as M from "../lib/matchers.js"; +import { compactMap } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { RequestOptions } from "../lib/sdks.js"; +import { pathToFunc } from "../lib/url.js"; +import { + GetV1SecurityFirewallEventsRequest, + GetV1SecurityFirewallEventsRequest$outboundSchema, + GetV1SecurityFirewallEventsResponseBody, + GetV1SecurityFirewallEventsResponseBody$inboundSchema, +} from "../models/getv1securityfirewalleventsop.js"; +import { + ConnectionError, + InvalidRequestError, + RequestAbortedError, + RequestTimeoutError, + UnexpectedClientError, +} from "../models/httpclienterrors.js"; +import { ResponseValidationError } from "../models/responsevalidationerror.js"; +import { SDKValidationError } from "../models/sdkvalidationerror.js"; +import { + VercelBadRequestError, + VercelBadRequestError$inboundSchema, +} from "../models/vercelbadrequesterror.js"; +import { VercelError } from "../models/vercelerror.js"; +import { + VercelForbiddenError, + VercelForbiddenError$inboundSchema, +} from "../models/vercelforbiddenerror.js"; +import { + VercelNotFoundError, + VercelNotFoundError$inboundSchema, +} from "../models/vercelnotfounderror.js"; +import { APICall, APIPromise } from "../types/async.js"; +import { Result } from "../types/fp.js"; + +/** + * Read Firewall Actions by Project + * + * @remarks + * Retrieve firewall actions for a project + */ +export function securityGetV1SecurityFirewallEvents( + client: VercelCore, + request: GetV1SecurityFirewallEventsRequest, + options?: RequestOptions, +): APIPromise< + Result< + GetV1SecurityFirewallEventsResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + > +> { + return new APIPromise($do( + client, + request, + options, + )); +} + +async function $do( + client: VercelCore, + request: GetV1SecurityFirewallEventsRequest, + options?: RequestOptions, +): Promise< + [ + Result< + GetV1SecurityFirewallEventsResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >, + APICall, + ] +> { + const parsed = safeParse( + request, + (value) => GetV1SecurityFirewallEventsRequest$outboundSchema.parse(value), + "Input validation failed", + ); + if (!parsed.ok) { + return [parsed, { status: "invalid" }]; + } + const payload = parsed.value; + const body = null; + + const path = pathToFunc("/v1/security/firewall/events")(); + + const query = encodeFormQuery({ + "endTimestamp": payload.endTimestamp, + "hosts": payload.hosts, + "projectId": payload.projectId, + "startTimestamp": payload.startTimestamp, + }); + + const headers = new Headers(compactMap({ + Accept: "application/json", + })); + + const context = { + options: client._options, + baseURL: options?.serverURL ?? client._baseURL ?? "", + operationID: "get_/v1/security/firewall/events", + oAuth2Scopes: null, + + resolvedSecurity: null, + + securitySource: null, + retryConfig: options?.retries + || client._options.retryConfig + || { strategy: "none" }, + retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"], + }; + + const requestRes = client._createRequest(context, { + method: "GET", + baseURL: options?.serverURL, + path: path, + headers: headers, + query: query, + body: body, + userAgent: client._options.userAgent, + timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1, + }, options); + if (!requestRes.ok) { + return [requestRes, { status: "invalid" }]; + } + const req = requestRes.value; + + const doResult = await client._do(req, { + context, + errorCodes: ["400", "401", "403", "404", "4XX", "500", "5XX"], + retryConfig: context.retryConfig, + retryCodes: context.retryCodes, + }); + if (!doResult.ok) { + return [doResult, { status: "request-error", request: req }]; + } + const response = doResult.value; + + const responseFields = { + HttpMeta: { Response: response, Request: req }, + }; + + const [result] = await M.match< + GetV1SecurityFirewallEventsResponseBody, + | VercelBadRequestError + | VercelForbiddenError + | VercelNotFoundError + | VercelError + | ResponseValidationError + | ConnectionError + | RequestAbortedError + | RequestTimeoutError + | InvalidRequestError + | UnexpectedClientError + | SDKValidationError + >( + M.json(200, GetV1SecurityFirewallEventsResponseBody$inboundSchema), + M.jsonErr(400, VercelBadRequestError$inboundSchema), + M.jsonErr(401, VercelForbiddenError$inboundSchema), + M.jsonErr(404, VercelNotFoundError$inboundSchema), + M.fail([403, "4XX"]), + M.fail([500, "5XX"]), + )(response, req, { extraFields: responseFields }); + if (!result.ok) { + return [result, { status: "complete", request: req, response }]; + } + + return [result, { status: "complete", request: req, response }]; +} diff --git a/src/funcs/securityPutFirewallConfig.ts b/src/funcs/securityPutFirewallConfig.ts index 35d1df628..db1d37b15 100644 --- a/src/funcs/securityPutFirewallConfig.ts +++ b/src/funcs/securityPutFirewallConfig.ts @@ -129,7 +129,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "putFirewallConfig", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/securityRemoveBypassIp.ts b/src/funcs/securityRemoveBypassIp.ts index fb1ab61d4..8d3e01401 100644 --- a/src/funcs/securityRemoveBypassIp.ts +++ b/src/funcs/securityRemoveBypassIp.ts @@ -129,7 +129,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "removeBypassIp", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/securityUpdateAttackChallengeMode.ts b/src/funcs/securityUpdateAttackChallengeMode.ts index 0064d15d3..b1ff3049d 100644 --- a/src/funcs/securityUpdateAttackChallengeMode.ts +++ b/src/funcs/securityUpdateAttackChallengeMode.ts @@ -128,7 +128,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "updateAttackChallengeMode", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/securityUpdateFirewallConfig.ts b/src/funcs/securityUpdateFirewallConfig.ts index ef64ff90e..a1de48894 100644 --- a/src/funcs/securityUpdateFirewallConfig.ts +++ b/src/funcs/securityUpdateFirewallConfig.ts @@ -129,7 +129,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "updateFirewallConfig", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/teamsCreateTeam.ts b/src/funcs/teamsCreateTeam.ts index 755768853..5d36e971c 100644 --- a/src/funcs/teamsCreateTeam.ts +++ b/src/funcs/teamsCreateTeam.ts @@ -117,7 +117,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "createTeam", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/teamsDeleteTeam.ts b/src/funcs/teamsDeleteTeam.ts index 48615dcef..0a896e2c2 100644 --- a/src/funcs/teamsDeleteTeam.ts +++ b/src/funcs/teamsDeleteTeam.ts @@ -129,7 +129,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "deleteTeam", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/teamsDeleteTeamInviteCode.ts b/src/funcs/teamsDeleteTeamInviteCode.ts index cad400a5d..99efa91e9 100644 --- a/src/funcs/teamsDeleteTeamInviteCode.ts +++ b/src/funcs/teamsDeleteTeamInviteCode.ts @@ -133,7 +133,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "deleteTeamInviteCode", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/teamsGetTeam.ts b/src/funcs/teamsGetTeam.ts index b1d3a8003..5af1d7fd0 100644 --- a/src/funcs/teamsGetTeam.ts +++ b/src/funcs/teamsGetTeam.ts @@ -132,7 +132,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "getTeam", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/teamsGetTeamAccessRequest.ts b/src/funcs/teamsGetTeamAccessRequest.ts index 139b43d6c..7d28e8701 100644 --- a/src/funcs/teamsGetTeamAccessRequest.ts +++ b/src/funcs/teamsGetTeamAccessRequest.ts @@ -133,7 +133,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "getTeamAccessRequest", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/teamsGetTeamMembers.ts b/src/funcs/teamsGetTeamMembers.ts index 86c34125c..44d5341e4 100644 --- a/src/funcs/teamsGetTeamMembers.ts +++ b/src/funcs/teamsGetTeamMembers.ts @@ -132,7 +132,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "getTeamMembers", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/teamsGetTeams.ts b/src/funcs/teamsGetTeams.ts index 167eb8ad4..bb4fbfd7c 100644 --- a/src/funcs/teamsGetTeams.ts +++ b/src/funcs/teamsGetTeams.ts @@ -122,7 +122,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "getTeams", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/teamsInviteUserToTeam.ts b/src/funcs/teamsInviteUserToTeam.ts index 378d6f550..bacf056eb 100644 --- a/src/funcs/teamsInviteUserToTeam.ts +++ b/src/funcs/teamsInviteUserToTeam.ts @@ -2,8 +2,9 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ +import * as z from "zod/v3"; import { VercelCore } from "../core.js"; -import { encodeJSON, encodeSimple } from "../lib/encodings.js"; +import { encodeJSON } from "../lib/encodings.js"; import * as M from "../lib/matchers.js"; import { compactMap } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; @@ -18,10 +19,12 @@ import { UnexpectedClientError, } from "../models/httpclienterrors.js"; import { - InviteUserToTeamRequest, - InviteUserToTeamRequest$outboundSchema, - InviteUserToTeamResponseBody, - InviteUserToTeamResponseBody$inboundSchema, + InvitedTeamMember, + InvitedTeamMember$inboundSchema, +} from "../models/invitedteammember.js"; +import { + InviteUserToTeamRequestBody, + InviteUserToTeamRequestBody$outboundSchema, } from "../models/inviteusertoteamop.js"; import { ResponseValidationError } from "../models/responsevalidationerror.js"; import { SDKValidationError } from "../models/sdkvalidationerror.js"; @@ -41,15 +44,15 @@ import { Result } from "../types/fp.js"; * Invite a user * * @remarks - * Invite a user to join the team specified in the URL. The authenticated user needs to be an `OWNER` in order to successfully invoke this endpoint. The user can be specified with an email or an ID. If both email and ID are provided, ID will take priority. + * Invite a user to join the team specified in the URL. The authenticated user needs to be an `OWNER` in order to successfully invoke this endpoint. The user to be invited must be specified by email. */ export function teamsInviteUserToTeam( client: VercelCore, - request: InviteUserToTeamRequest, + request?: Array | undefined, options?: RequestOptions, ): APIPromise< Result< - InviteUserToTeamResponseBody, + InvitedTeamMember, | VercelBadRequestError | VercelForbiddenError | VercelError @@ -71,12 +74,12 @@ export function teamsInviteUserToTeam( async function $do( client: VercelCore, - request: InviteUserToTeamRequest, + request?: Array | undefined, options?: RequestOptions, ): Promise< [ Result< - InviteUserToTeamResponseBody, + InvitedTeamMember, | VercelBadRequestError | VercelForbiddenError | VercelError @@ -93,23 +96,21 @@ async function $do( > { const parsed = safeParse( request, - (value) => InviteUserToTeamRequest$outboundSchema.parse(value), + (value) => + z.array(InviteUserToTeamRequestBody$outboundSchema).optional().parse( + value, + ), "Input validation failed", ); if (!parsed.ok) { return [parsed, { status: "invalid" }]; } const payload = parsed.value; - const body = encodeJSON("body", payload.RequestBody, { explode: true }); - - const pathParams = { - teamId: encodeSimple("teamId", payload.teamId, { - explode: false, - charEncoding: "percent", - }), - }; + const body = payload === undefined + ? null + : encodeJSON("body", payload, { explode: true }); - const path = pathToFunc("/v1/teams/{teamId}/members")(pathParams); + const path = pathToFunc("/v2/teams/{teamId}/members")(); const headers = new Headers(compactMap({ "Content-Type": "application/json", @@ -124,7 +125,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "inviteUserToTeam", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, @@ -166,7 +167,7 @@ async function $do( }; const [result] = await M.match< - InviteUserToTeamResponseBody, + InvitedTeamMember, | VercelBadRequestError | VercelForbiddenError | VercelError @@ -178,7 +179,7 @@ async function $do( | UnexpectedClientError | SDKValidationError >( - M.json(200, InviteUserToTeamResponseBody$inboundSchema), + M.json(200, InvitedTeamMember$inboundSchema), M.jsonErr(400, VercelBadRequestError$inboundSchema), M.jsonErr(401, VercelForbiddenError$inboundSchema), M.fail([403, "4XX"]), diff --git a/src/funcs/teamsJoinTeam.ts b/src/funcs/teamsJoinTeam.ts index 3521ef522..bcee3b123 100644 --- a/src/funcs/teamsJoinTeam.ts +++ b/src/funcs/teamsJoinTeam.ts @@ -130,7 +130,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "joinTeam", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/teamsPatchTeam.ts b/src/funcs/teamsPatchTeam.ts index d00763df4..087269da9 100644 --- a/src/funcs/teamsPatchTeam.ts +++ b/src/funcs/teamsPatchTeam.ts @@ -127,7 +127,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "patchTeam", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/teamsRemoveTeamMember.ts b/src/funcs/teamsRemoveTeamMember.ts index 773cf3417..f53dbb5e8 100644 --- a/src/funcs/teamsRemoveTeamMember.ts +++ b/src/funcs/teamsRemoveTeamMember.ts @@ -137,7 +137,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "removeTeamMember", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/teamsRequestAccessToTeam.ts b/src/funcs/teamsRequestAccessToTeam.ts index 2e39f3c1a..66e171ac8 100644 --- a/src/funcs/teamsRequestAccessToTeam.ts +++ b/src/funcs/teamsRequestAccessToTeam.ts @@ -130,7 +130,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "requestAccessToTeam", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/teamsUpdateTeamMember.ts b/src/funcs/teamsUpdateTeamMember.ts index f77f5c32b..07f63227a 100644 --- a/src/funcs/teamsUpdateTeamMember.ts +++ b/src/funcs/teamsUpdateTeamMember.ts @@ -134,7 +134,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "updateTeamMember", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, @@ -162,7 +162,7 @@ async function $do( const doResult = await client._do(req, { context, - errorCodes: ["400", "401", "402", "403", "404", "4XX", "500", "5XX"], + errorCodes: ["400", "401", "402", "403", "404", "409", "4XX", "500", "5XX"], retryConfig: context.retryConfig, retryCodes: context.retryCodes, }); @@ -193,7 +193,7 @@ async function $do( M.jsonErr(400, VercelBadRequestError$inboundSchema), M.jsonErr(401, VercelForbiddenError$inboundSchema), M.jsonErr(404, VercelNotFoundError$inboundSchema), - M.fail([402, 403, "4XX"]), + M.fail([402, 403, 409, "4XX"]), M.fail([500, "5XX"]), )(response, req, { extraFields: responseFields }); if (!result.ok) { diff --git a/src/funcs/userGetAuthUser.ts b/src/funcs/userGetAuthUser.ts index 14673ebc3..cdc18d2e0 100644 --- a/src/funcs/userGetAuthUser.ts +++ b/src/funcs/userGetAuthUser.ts @@ -98,7 +98,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "getAuthUser", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/userListUserEvents.ts b/src/funcs/userListUserEvents.ts index 659f5d23a..3810db687 100644 --- a/src/funcs/userListUserEvents.ts +++ b/src/funcs/userListUserEvents.ts @@ -129,7 +129,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "listUserEvents", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/userRequestDelete.ts b/src/funcs/userRequestDelete.ts index cc1e85f5d..18e31c4f1 100644 --- a/src/funcs/userRequestDelete.ts +++ b/src/funcs/userRequestDelete.ts @@ -117,7 +117,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "requestDelete", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/webhooksCreateWebhook.ts b/src/funcs/webhooksCreateWebhook.ts index 48f8c22b8..ee49f6dc1 100644 --- a/src/funcs/webhooksCreateWebhook.ts +++ b/src/funcs/webhooksCreateWebhook.ts @@ -122,7 +122,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "createWebhook", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/webhooksDeleteWebhook.ts b/src/funcs/webhooksDeleteWebhook.ts index de21b0e31..0a332ad74 100644 --- a/src/funcs/webhooksDeleteWebhook.ts +++ b/src/funcs/webhooksDeleteWebhook.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { VercelCore } from "../core.js"; import { encodeFormQuery, encodeSimple } from "../lib/encodings.js"; import * as M from "../lib/matchers.js"; @@ -127,7 +127,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "deleteWebhook", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/webhooksGetWebhook.ts b/src/funcs/webhooksGetWebhook.ts index 44e38a042..38d35d18a 100644 --- a/src/funcs/webhooksGetWebhook.ts +++ b/src/funcs/webhooksGetWebhook.ts @@ -128,7 +128,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "getWebhook", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/funcs/webhooksGetWebhooks.ts b/src/funcs/webhooksGetWebhooks.ts index c71afac1d..00947bf0a 100644 --- a/src/funcs/webhooksGetWebhooks.ts +++ b/src/funcs/webhooksGetWebhooks.ts @@ -122,7 +122,7 @@ async function $do( options: client._options, baseURL: options?.serverURL ?? client._baseURL ?? "", operationID: "getWebhooks", - oAuth2Scopes: [], + oAuth2Scopes: null, resolvedSecurity: requestSecurity, diff --git a/src/lib/base64.ts b/src/lib/base64.ts index c2d5b3898..0aebd8b0a 100644 --- a/src/lib/base64.ts +++ b/src/lib/base64.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; export function bytesToBase64(u8arr: Uint8Array): string { return btoa(String.fromCodePoint(...u8arr)); diff --git a/src/lib/config.ts b/src/lib/config.ts index 921a4078c..4d35ee5a6 100644 --- a/src/lib/config.ts +++ b/src/lib/config.ts @@ -61,7 +61,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null { export const SDK_METADATA = { language: "typescript", openapiDocVersion: "0.0.1", - sdkVersion: "1.12.1", - genVersion: "2.721.0", - userAgent: "speakeasy-sdk/typescript 1.12.1 2.721.0 0.0.1 @vercel/sdk", + sdkVersion: "1.13.0", + genVersion: "2.748.4", + userAgent: "speakeasy-sdk/typescript 1.13.0 2.748.4 0.0.1 @vercel/sdk", } as const; diff --git a/src/lib/schemas.ts b/src/lib/schemas.ts index a516d85a8..8e8a9df29 100644 --- a/src/lib/schemas.ts +++ b/src/lib/schemas.ts @@ -9,7 +9,7 @@ import { ZodObject, ZodRawShape, ZodTypeAny, -} from "zod"; +} from "zod/v3"; import { SDKValidationError } from "../models/sdkvalidationerror.js"; import { ERR, OK, Result } from "../types/fp.js"; diff --git a/src/mcp-server/cli/start/command.ts b/src/mcp-server/cli/start/command.ts index 82525c788..a570e623d 100644 --- a/src/mcp-server/cli/start/command.ts +++ b/src/mcp-server/cli/start/command.ts @@ -2,9 +2,8 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import { buildCommand } from "@stricli/core"; -import { numberParser } from "@stricli/core"; -import * as z from "zod"; +import { buildCommand, numberParser } from "@stricli/core"; +import * as z from "zod/v3"; import { consoleLoggerLevels } from "../../console-logger.js"; export const startCommand = buildCommand({ diff --git a/src/mcp-server/extensions.ts b/src/mcp-server/extensions.ts index 7aab28092..0955a573c 100644 --- a/src/mcp-server/extensions.ts +++ b/src/mcp-server/extensions.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import { ZodRawShape } from "zod"; +import { ZodRawShape } from "zod/v3"; import { PromptArgsRawShape, PromptDefinition } from "./prompts.js"; import { ResourceDefinition, ResourceTemplateDefinition } from "./resources.js"; import { ToolDefinition } from "./tools.js"; diff --git a/src/mcp-server/mcp-server.ts b/src/mcp-server/mcp-server.ts index ef06cfbc6..1dfb11069 100644 --- a/src/mcp-server/mcp-server.ts +++ b/src/mcp-server/mcp-server.ts @@ -19,7 +19,7 @@ const routes = buildRouteMap({ export const app = buildApplication(routes, { name: "mcp", versionInfo: { - currentVersion: "1.12.1", + currentVersion: "1.13.0", }, }); diff --git a/src/mcp-server/prompts.ts b/src/mcp-server/prompts.ts index c11055128..e02a36270 100644 --- a/src/mcp-server/prompts.ts +++ b/src/mcp-server/prompts.ts @@ -11,7 +11,7 @@ import { ZodType, ZodTypeAny, ZodTypeDef, -} from "zod"; +} from "zod/v3"; import { VercelCore } from "../core.js"; import { ConsoleLogger } from "./console-logger.js"; import { MCPScope } from "./scopes.js"; diff --git a/src/mcp-server/server.ts b/src/mcp-server/server.ts index a4eefe524..42246e581 100644 --- a/src/mcp-server/server.ts +++ b/src/mcp-server/server.ts @@ -49,6 +49,7 @@ import { tool$checksGetAllChecks } from "./tools/checksGetAllChecks.js"; import { tool$checksGetCheck } from "./tools/checksGetCheck.js"; import { tool$checksRerequestCheck } from "./tools/checksRerequestCheck.js"; import { tool$checksUpdateCheck } from "./tools/checksUpdateCheck.js"; +import { tool$connectUpdateStaticIps } from "./tools/connectUpdateStaticIps.js"; import { tool$deploymentsCancelDeployment } from "./tools/deploymentsCancelDeployment.js"; import { tool$deploymentsCreateDeployment } from "./tools/deploymentsCreateDeployment.js"; import { tool$deploymentsDeleteDeployment } from "./tools/deploymentsDeleteDeployment.js"; @@ -73,6 +74,27 @@ import { tool$domainsGetDomainConfig } from "./tools/domainsGetDomainConfig.js"; import { tool$domainsGetDomains } from "./tools/domainsGetDomains.js"; import { tool$domainsGetDomainTransfer } from "./tools/domainsGetDomainTransfer.js"; import { tool$domainsPatchDomain } from "./tools/domainsPatchDomain.js"; +import { tool$domainsRegistrarBuyDomains } from "./tools/domainsRegistrarBuyDomains.js"; +import { tool$domainsRegistrarBuySingleDomain } from "./tools/domainsRegistrarBuySingleDomain.js"; +import { tool$domainsRegistrarGetBulkAvailability } from "./tools/domainsRegistrarGetBulkAvailability.js"; +import { tool$domainsRegistrarGetContactInfoSchema } from "./tools/domainsRegistrarGetContactInfoSchema.js"; +import { tool$domainsRegistrarGetDomainAuthCode } from "./tools/domainsRegistrarGetDomainAuthCode.js"; +import { tool$domainsRegistrarGetDomainAvailability } from "./tools/domainsRegistrarGetDomainAvailability.js"; +import { tool$domainsRegistrarGetDomainPrice } from "./tools/domainsRegistrarGetDomainPrice.js"; +import { tool$domainsRegistrarGetDomainTransferIn } from "./tools/domainsRegistrarGetDomainTransferIn.js"; +import { tool$domainsRegistrarGetOrder } from "./tools/domainsRegistrarGetOrder.js"; +import { tool$domainsRegistrarGetSupportedTlds } from "./tools/domainsRegistrarGetSupportedTlds.js"; +import { tool$domainsRegistrarGetTldPrice } from "./tools/domainsRegistrarGetTldPrice.js"; +import { tool$domainsRegistrarRenewDomain } from "./tools/domainsRegistrarRenewDomain.js"; +import { tool$domainsRegistrarTransferInDomain } from "./tools/domainsRegistrarTransferInDomain.js"; +import { tool$domainsRegistrarUpdateDomainAutoRenew } from "./tools/domainsRegistrarUpdateDomainAutoRenew.js"; +import { tool$domainsRegistrarUpdateDomainNameservers } from "./tools/domainsRegistrarUpdateDomainNameservers.js"; +import { tool$drainsCreateDrain } from "./tools/drainsCreateDrain.js"; +import { tool$drainsDeleteDrain } from "./tools/drainsDeleteDrain.js"; +import { tool$drainsGetDrain } from "./tools/drainsGetDrain.js"; +import { tool$drainsGetDrains } from "./tools/drainsGetDrains.js"; +import { tool$drainsTestDrain } from "./tools/drainsTestDrain.js"; +import { tool$drainsUpdateDrain } from "./tools/drainsUpdateDrain.js"; import { tool$edgeCacheDangerouslyDeleteByTags } from "./tools/edgeCacheDangerouslyDeleteByTags.js"; import { tool$edgeCacheInvalidateByTags } from "./tools/edgeCacheInvalidateByTags.js"; import { tool$edgeConfigCreateEdgeConfig } from "./tools/edgeConfigCreateEdgeConfig.js"; @@ -93,10 +115,16 @@ import { tool$edgeConfigPatchEdgeConfigItems } from "./tools/edgeConfigPatchEdge import { tool$edgeConfigPatchEdgeConfigSchema } from "./tools/edgeConfigPatchEdgeConfigSchema.js"; import { tool$edgeConfigUpdateEdgeConfig } from "./tools/edgeConfigUpdateEdgeConfig.js"; import { tool$environmentCreateCustomEnvironment } from "./tools/environmentCreateCustomEnvironment.js"; +import { tool$environmentCreateSharedEnvVariable } from "./tools/environmentCreateSharedEnvVariable.js"; +import { tool$environmentDeleteSharedEnvVariable } from "./tools/environmentDeleteSharedEnvVariable.js"; import { tool$environmentGetCustomEnvironment } from "./tools/environmentGetCustomEnvironment.js"; +import { tool$environmentGetSharedEnvVar } from "./tools/environmentGetSharedEnvVar.js"; import { tool$environmentGetV9ProjectsIdOrNameCustomEnvironments } from "./tools/environmentGetV9ProjectsIdOrNameCustomEnvironments.js"; +import { tool$environmentListSharedEnvVariable } from "./tools/environmentListSharedEnvVariable.js"; import { tool$environmentRemoveCustomEnvironment } from "./tools/environmentRemoveCustomEnvironment.js"; +import { tool$environmentUnlinkSharedEnvVariable } from "./tools/environmentUnlinkSharedEnvVariable.js"; import { tool$environmentUpdateCustomEnvironment } from "./tools/environmentUpdateCustomEnvironment.js"; +import { tool$environmentUpdateSharedEnvVariable } from "./tools/environmentUpdateSharedEnvVariable.js"; import { tool$integrationsConnectIntegrationResourceToProject } from "./tools/integrationsConnectIntegrationResourceToProject.js"; import { tool$integrationsCreateIntegrationStoreDirect } from "./tools/integrationsCreateIntegrationStoreDirect.js"; import { tool$integrationsDeleteConfiguration } from "./tools/integrationsDeleteConfiguration.js"; @@ -104,8 +132,12 @@ import { tool$integrationsGetBillingPlans } from "./tools/integrationsGetBilling import { tool$integrationsGetConfiguration } from "./tools/integrationsGetConfiguration.js"; import { tool$integrationsGetConfigurationProducts } from "./tools/integrationsGetConfigurationProducts.js"; import { tool$integrationsGetConfigurations } from "./tools/integrationsGetConfigurations.js"; +import { tool$logDrainsCreateConfigurableLogDrain } from "./tools/logDrainsCreateConfigurableLogDrain.js"; import { tool$logDrainsCreateLogDrain } from "./tools/logDrainsCreateLogDrain.js"; +import { tool$logDrainsDeleteConfigurableLogDrain } from "./tools/logDrainsDeleteConfigurableLogDrain.js"; import { tool$logDrainsDeleteIntegrationLogDrain } from "./tools/logDrainsDeleteIntegrationLogDrain.js"; +import { tool$logDrainsGetAllLogDrains } from "./tools/logDrainsGetAllLogDrains.js"; +import { tool$logDrainsGetConfigurableLogDrain } from "./tools/logDrainsGetConfigurableLogDrain.js"; import { tool$logDrainsGetIntegrationLogDrains } from "./tools/logDrainsGetIntegrationLogDrains.js"; import { tool$logsGetRuntimeLogs } from "./tools/logsGetRuntimeLogs.js"; import { tool$marketplaceCreateEvent } from "./tools/marketplaceCreateEvent.js"; @@ -123,9 +155,11 @@ import { tool$marketplaceImportResource } from "./tools/marketplaceImportResourc import { tool$marketplaceSubmitBillingData } from "./tools/marketplaceSubmitBillingData.js"; import { tool$marketplaceSubmitInvoice } from "./tools/marketplaceSubmitInvoice.js"; import { tool$marketplaceSubmitPrepaymentBalances } from "./tools/marketplaceSubmitPrepaymentBalances.js"; +import { tool$marketplaceUpdateInstallation } from "./tools/marketplaceUpdateInstallation.js"; import { tool$marketplaceUpdateInstallationIntegrationConfiguration } from "./tools/marketplaceUpdateInstallationIntegrationConfiguration.js"; import { tool$marketplaceUpdateInstallationIntegrationEdgeConfig } from "./tools/marketplaceUpdateInstallationIntegrationEdgeConfig.js"; import { tool$marketplaceUpdateInvoice } from "./tools/marketplaceUpdateInvoice.js"; +import { tool$marketplaceUpdateResource } from "./tools/marketplaceUpdateResource.js"; import { tool$marketplaceUpdateResourceSecrets } from "./tools/marketplaceUpdateResourceSecrets.js"; import { tool$marketplaceUpdateResourceSecretsById } from "./tools/marketplaceUpdateResourceSecretsById.js"; import { tool$projectMembersAddProjectMember } from "./tools/projectMembersAddProjectMember.js"; @@ -138,8 +172,10 @@ import { tool$projectsCreateProject } from "./tools/projectsCreateProject.js"; import { tool$projectsCreateProjectEnv } from "./tools/projectsCreateProjectEnv.js"; import { tool$projectsCreateProjectTransferRequest } from "./tools/projectsCreateProjectTransferRequest.js"; import { tool$projectsDeleteProject } from "./tools/projectsDeleteProject.js"; +import { tool$projectsDeleteProjectClientCert } from "./tools/projectsDeleteProjectClientCert.js"; import { tool$projectsEditProjectEnv } from "./tools/projectsEditProjectEnv.js"; import { tool$projectsFilterProjectEnvs } from "./tools/projectsFilterProjectEnvs.js"; +import { tool$projectsGetProjectClientCerts } from "./tools/projectsGetProjectClientCerts.js"; import { tool$projectsGetProjectDomain } from "./tools/projectsGetProjectDomain.js"; import { tool$projectsGetProjectDomains } from "./tools/projectsGetProjectDomains.js"; import { tool$projectsGetProjectEnv } from "./tools/projectsGetProjectEnv.js"; @@ -155,6 +191,7 @@ import { tool$projectsUpdateProject } from "./tools/projectsUpdateProject.js"; import { tool$projectsUpdateProjectDataCache } from "./tools/projectsUpdateProjectDataCache.js"; import { tool$projectsUpdateProjectDomain } from "./tools/projectsUpdateProjectDomain.js"; import { tool$projectsUpdateProjectProtectionBypass } from "./tools/projectsUpdateProjectProtectionBypass.js"; +import { tool$projectsUploadProjectClientCert } from "./tools/projectsUploadProjectClientCert.js"; import { tool$projectsVerifyProjectDomain } from "./tools/projectsVerifyProjectDomain.js"; import { tool$rollingReleaseApproveRollingReleaseStage } from "./tools/rollingReleaseApproveRollingReleaseStage.js"; import { tool$rollingReleaseCompleteRollingRelease } from "./tools/rollingReleaseCompleteRollingRelease.js"; @@ -167,6 +204,7 @@ import { tool$securityAddBypassIp } from "./tools/securityAddBypassIp.js"; import { tool$securityGetActiveAttackStatus } from "./tools/securityGetActiveAttackStatus.js"; import { tool$securityGetBypassIp } from "./tools/securityGetBypassIp.js"; import { tool$securityGetFirewallConfig } from "./tools/securityGetFirewallConfig.js"; +import { tool$securityGetV1SecurityFirewallEvents } from "./tools/securityGetV1SecurityFirewallEvents.js"; import { tool$securityPutFirewallConfig } from "./tools/securityPutFirewallConfig.js"; import { tool$securityRemoveBypassIp } from "./tools/securityRemoveBypassIp.js"; import { tool$securityUpdateAttackChallengeMode } from "./tools/securityUpdateAttackChallengeMode.js"; @@ -202,7 +240,7 @@ export function createMCPServer(deps: { }) { const server = new McpServer({ name: "Vercel", - version: "1.12.1", + version: "1.13.0", }); const client = new VercelCore({ @@ -272,6 +310,9 @@ export function createMCPServer(deps: { tool(tool$projectsRemoveProjectEnv); tool(tool$projectsEditProjectEnv); tool(tool$projectsBatchRemoveProjectEnv); + tool(tool$projectsUploadProjectClientCert); + tool(tool$projectsGetProjectClientCerts); + tool(tool$projectsDeleteProjectClientCert); tool(tool$projectsCreateProjectTransferRequest); tool(tool$projectsAcceptProjectTransferRequest); tool(tool$projectsUpdateProjectProtectionBypass); @@ -310,6 +351,34 @@ export function createMCPServer(deps: { tool(tool$dnsCreateRecord); tool(tool$dnsUpdateRecord); tool(tool$dnsRemoveRecord); + tool(tool$domainsRegistrarGetSupportedTlds); + tool(tool$domainsRegistrarGetTldPrice); + tool(tool$domainsRegistrarGetDomainAvailability); + tool(tool$domainsRegistrarGetDomainPrice); + tool(tool$domainsRegistrarGetBulkAvailability); + tool(tool$domainsRegistrarGetDomainAuthCode); + tool(tool$domainsRegistrarBuySingleDomain); + tool(tool$domainsRegistrarBuyDomains); + tool(tool$domainsRegistrarTransferInDomain); + tool(tool$domainsRegistrarGetDomainTransferIn); + tool(tool$domainsRegistrarRenewDomain); + tool(tool$domainsRegistrarUpdateDomainAutoRenew); + tool(tool$domainsRegistrarUpdateDomainNameservers); + tool(tool$domainsRegistrarGetContactInfoSchema); + tool(tool$domainsRegistrarGetOrder); + tool(tool$logDrainsGetConfigurableLogDrain); + tool(tool$logDrainsDeleteConfigurableLogDrain); + tool(tool$logDrainsGetAllLogDrains); + tool(tool$logDrainsCreateConfigurableLogDrain); + tool(tool$logDrainsGetIntegrationLogDrains); + tool(tool$logDrainsCreateLogDrain); + tool(tool$logDrainsDeleteIntegrationLogDrain); + tool(tool$drainsCreateDrain); + tool(tool$drainsGetDrains); + tool(tool$drainsDeleteDrain); + tool(tool$drainsGetDrain); + tool(tool$drainsUpdateDrain); + tool(tool$drainsTestDrain); tool(tool$edgeCacheInvalidateByTags); tool(tool$edgeCacheDangerouslyDeleteByTags); tool(tool$edgeConfigGetEdgeConfigs); @@ -329,9 +398,21 @@ export function createMCPServer(deps: { tool(tool$edgeConfigCreateEdgeConfigToken); tool(tool$edgeConfigGetEdgeConfigBackup); tool(tool$edgeConfigGetEdgeConfigBackups); + tool(tool$environmentCreateSharedEnvVariable); + tool(tool$environmentListSharedEnvVariable); + tool(tool$environmentUpdateSharedEnvVariable); + tool(tool$environmentDeleteSharedEnvVariable); + tool(tool$environmentGetSharedEnvVar); + tool(tool$environmentUnlinkSharedEnvVariable); + tool(tool$environmentCreateCustomEnvironment); + tool(tool$environmentGetV9ProjectsIdOrNameCustomEnvironments); + tool(tool$environmentGetCustomEnvironment); + tool(tool$environmentUpdateCustomEnvironment); + tool(tool$environmentRemoveCustomEnvironment); tool(tool$userListUserEvents); tool(tool$userGetAuthUser); tool(tool$userRequestDelete); + tool(tool$marketplaceUpdateInstallation); tool(tool$marketplaceGetAccountInfo); tool(tool$marketplaceGetMember); tool(tool$marketplaceCreateEvent); @@ -339,6 +420,7 @@ export function createMCPServer(deps: { tool(tool$marketplaceGetIntegrationResource); tool(tool$marketplaceDeleteIntegrationResource); tool(tool$marketplaceImportResource); + tool(tool$marketplaceUpdateResource); tool(tool$marketplaceSubmitBillingData); tool(tool$marketplaceSubmitInvoice); tool(tool$marketplaceGetInvoice); @@ -356,18 +438,11 @@ export function createMCPServer(deps: { tool(tool$authenticationCreateAuthToken); tool(tool$authenticationGetAuthToken); tool(tool$authenticationDeleteAuthToken); - tool(tool$logDrainsGetIntegrationLogDrains); - tool(tool$logDrainsCreateLogDrain); - tool(tool$logDrainsDeleteIntegrationLogDrain); tool(tool$logsGetRuntimeLogs); tool(tool$projectMembersGetProjectMembers); tool(tool$projectMembersAddProjectMember); tool(tool$projectMembersRemoveProjectMember); - tool(tool$environmentCreateCustomEnvironment); - tool(tool$environmentGetV9ProjectsIdOrNameCustomEnvironments); - tool(tool$environmentGetCustomEnvironment); - tool(tool$environmentUpdateCustomEnvironment); - tool(tool$environmentRemoveCustomEnvironment); + tool(tool$connectUpdateStaticIps); tool(tool$rollingReleaseGetRollingReleaseBillingStatus); tool(tool$rollingReleaseGetRollingReleaseConfig); tool(tool$rollingReleaseDeleteRollingReleaseConfig); @@ -383,6 +458,7 @@ export function createMCPServer(deps: { tool(tool$securityGetBypassIp); tool(tool$securityAddBypassIp); tool(tool$securityRemoveBypassIp); + tool(tool$securityGetV1SecurityFirewallEvents); tool(tool$teamsGetTeamMembers); tool(tool$teamsInviteUserToTeam); tool(tool$teamsRequestAccessToTeam); diff --git a/src/mcp-server/shared.ts b/src/mcp-server/shared.ts index 9dc6d2f65..3e94144d1 100644 --- a/src/mcp-server/shared.ts +++ b/src/mcp-server/shared.ts @@ -2,9 +2,8 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { bytesToBase64 } from "../lib/base64.js"; - type BinaryData = | Uint8Array | ArrayBuffer diff --git a/src/mcp-server/tools.ts b/src/mcp-server/tools.ts index 7d87a8f32..61225ede0 100644 --- a/src/mcp-server/tools.ts +++ b/src/mcp-server/tools.ts @@ -5,7 +5,7 @@ import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js"; import { RequestHandlerExtra } from "@modelcontextprotocol/sdk/shared/protocol.js"; import { CallToolResult } from "@modelcontextprotocol/sdk/types.js"; -import { objectOutputType, ZodRawShape, ZodTypeAny } from "zod"; +import { objectOutputType, ZodRawShape, ZodTypeAny } from "zod/v3"; import { VercelCore } from "../core.js"; import { ConsoleLogger } from "./console-logger.js"; import { MCPScope } from "./scopes.js"; diff --git a/src/mcp-server/tools/connectUpdateStaticIps.ts b/src/mcp-server/tools/connectUpdateStaticIps.ts new file mode 100644 index 000000000..d0c861924 --- /dev/null +++ b/src/mcp-server/tools/connectUpdateStaticIps.ts @@ -0,0 +1,37 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { connectUpdateStaticIps } from "../../funcs/connectUpdateStaticIps.js"; +import { UpdateStaticIpsRequest$inboundSchema } from "../../models/updatestaticipsop.js"; +import { formatResult, ToolDefinition } from "../tools.js"; + +const args = { + request: UpdateStaticIpsRequest$inboundSchema, +}; + +export const tool$connectUpdateStaticIps: ToolDefinition = { + name: "connect-update-static-ips", + description: `Configures Static IPs for a project + +Allows configuring Static IPs for a project`, + args, + tool: async (client, args, ctx) => { + const [result, apiCall] = await connectUpdateStaticIps( + client, + args.request, + { fetchOptions: { signal: ctx.signal } }, + ).$inspect(); + + if (!result.ok) { + return { + content: [{ type: "text", text: result.error.message }], + isError: true, + }; + } + + const value = result.value; + + return formatResult(value, apiCall); + }, +}; diff --git a/src/mcp-server/tools/domainsBuyDomain.ts b/src/mcp-server/tools/domainsBuyDomain.ts index 8bdadac21..dab65a995 100644 --- a/src/mcp-server/tools/domainsBuyDomain.ts +++ b/src/mcp-server/tools/domainsBuyDomain.ts @@ -12,9 +12,9 @@ const args = { export const tool$domainsBuyDomain: ToolDefinition = { name: "domains-buy-domain", - description: `Purchase a domain + description: `Purchase a domain (deprecated) -Allows to purchase the specified domain.`, +This endpoint is deprecated and replaced with the endpoint [Buy a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/buy-a-domain). Purchases the specified domain.`, args, tool: async (client, args, ctx) => { const [result, apiCall] = await domainsBuyDomain( diff --git a/src/mcp-server/tools/domainsCheckDomainPrice.ts b/src/mcp-server/tools/domainsCheckDomainPrice.ts index 7f75da2a6..7cc839daf 100644 --- a/src/mcp-server/tools/domainsCheckDomainPrice.ts +++ b/src/mcp-server/tools/domainsCheckDomainPrice.ts @@ -12,9 +12,9 @@ const args = { export const tool$domainsCheckDomainPrice: ToolDefinition = { name: "domains-check-domain-price", - description: `Check the price for a domain + description: `Check the price for a domain (deprecated) -Check the price to purchase a domain and how long a single purchase period is.`, +This endpoint is deprecated and replaced with the endpoint [Get price data for a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/get-price-data-for-a-domain). Check the price to purchase a domain and how long a single purchase period is.`, args, tool: async (client, args, ctx) => { const [result, apiCall] = await domainsCheckDomainPrice( diff --git a/src/mcp-server/tools/domainsCheckDomainStatus.ts b/src/mcp-server/tools/domainsCheckDomainStatus.ts index 8ae94dd11..8040865d3 100644 --- a/src/mcp-server/tools/domainsCheckDomainStatus.ts +++ b/src/mcp-server/tools/domainsCheckDomainStatus.ts @@ -12,9 +12,9 @@ const args = { export const tool$domainsCheckDomainStatus: ToolDefinition = { name: "domains-check-domain-status", - description: `Check a Domain Availability + description: `Check a Domain Availability (deprecated) -Check if a domain name is available for purchase.`, +This endpoint is deprecated and replaced with the endpoint [Get availability for a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/get-availability-for-a-domain). Check if a domain name is available for purchase.`, args, tool: async (client, args, ctx) => { const [result, apiCall] = await domainsCheckDomainStatus( diff --git a/src/mcp-server/tools/domainsCreateOrTransferDomain.ts b/src/mcp-server/tools/domainsCreateOrTransferDomain.ts index 241d67236..e3cc1bf80 100644 --- a/src/mcp-server/tools/domainsCreateOrTransferDomain.ts +++ b/src/mcp-server/tools/domainsCreateOrTransferDomain.ts @@ -12,9 +12,9 @@ const args = { export const tool$domainsCreateOrTransferDomain: ToolDefinition = { name: "domains-create-or-transfer-domain", - description: `Register or transfer-in a new Domain + description: `Add an existing domain to the Vercel platform -This endpoint is used for adding a new apex domain name with Vercel for the authenticating user. Can also be used for initiating a domain transfer request from an external Registrar to Vercel.`, +This endpoint is used for adding a new apex domain name with Vercel for the authenticating user. Note: This endpoint is no longer used for initiating domain transfers from external registrars to Vercel. For this, please use the endpoint [Transfer-in a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/transfer-in-a-domain).`, args, tool: async (client, args, ctx) => { const [result, apiCall] = await domainsCreateOrTransferDomain( diff --git a/src/mcp-server/tools/domainsGetDomainTransfer.ts b/src/mcp-server/tools/domainsGetDomainTransfer.ts index 2cd76da94..119e97d69 100644 --- a/src/mcp-server/tools/domainsGetDomainTransfer.ts +++ b/src/mcp-server/tools/domainsGetDomainTransfer.ts @@ -12,9 +12,9 @@ const args = { export const tool$domainsGetDomainTransfer: ToolDefinition = { name: "domains-get-domain-transfer", - description: `Get domain transfer info. + description: `Get domain transfer info (deprecated) -Fetch domain transfer availability or transfer status if a transfer is in progress.`, +This endpoint is deprecated and replaced with the endpoint [Get a domain's transfer status](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/get-a-domains-transfer-status). Fetch domain transfer availability or transfer status if a transfer is in progress.`, args, tool: async (client, args, ctx) => { const [result, apiCall] = await domainsGetDomainTransfer( diff --git a/src/mcp-server/tools/domainsPatchDomain.ts b/src/mcp-server/tools/domainsPatchDomain.ts index a62b26a2e..65820b354 100644 --- a/src/mcp-server/tools/domainsPatchDomain.ts +++ b/src/mcp-server/tools/domainsPatchDomain.ts @@ -14,7 +14,7 @@ export const tool$domainsPatchDomain: ToolDefinition = { name: "domains-patch-domain", description: `Update or move apex domain -Update or move apex domain.`, +Update or move apex domain. Note: This endpoint is no longer used for updating auto-renew or nameservers. For this, please use the endpoints [Update auto-renew for a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/update-auto-renew-for-a-domain) and [Update nameservers for a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/update-nameservers-for-a-domain).`, args, tool: async (client, args, ctx) => { const [result, apiCall] = await domainsPatchDomain( diff --git a/src/mcp-server/tools/domainsRegistrarBuyDomains.ts b/src/mcp-server/tools/domainsRegistrarBuyDomains.ts new file mode 100644 index 000000000..4e7374d3f --- /dev/null +++ b/src/mcp-server/tools/domainsRegistrarBuyDomains.ts @@ -0,0 +1,37 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { domainsRegistrarBuyDomains } from "../../funcs/domainsRegistrarBuyDomains.js"; +import { BuyDomainsRequest$inboundSchema } from "../../models/buydomainsop.js"; +import { formatResult, ToolDefinition } from "../tools.js"; + +const args = { + request: BuyDomainsRequest$inboundSchema, +}; + +export const tool$domainsRegistrarBuyDomains: ToolDefinition = { + name: "domains-registrar-buy-domains", + description: `Buy multiple domains + +Buy multiple domains at once`, + args, + tool: async (client, args, ctx) => { + const [result, apiCall] = await domainsRegistrarBuyDomains( + client, + args.request, + { fetchOptions: { signal: ctx.signal } }, + ).$inspect(); + + if (!result.ok) { + return { + content: [{ type: "text", text: result.error.message }], + isError: true, + }; + } + + const value = result.value; + + return formatResult(value, apiCall); + }, +}; diff --git a/src/mcp-server/tools/domainsRegistrarBuySingleDomain.ts b/src/mcp-server/tools/domainsRegistrarBuySingleDomain.ts new file mode 100644 index 000000000..c117c3ac0 --- /dev/null +++ b/src/mcp-server/tools/domainsRegistrarBuySingleDomain.ts @@ -0,0 +1,38 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { domainsRegistrarBuySingleDomain } from "../../funcs/domainsRegistrarBuySingleDomain.js"; +import { BuySingleDomainRequest$inboundSchema } from "../../models/buysingledomainop.js"; +import { formatResult, ToolDefinition } from "../tools.js"; + +const args = { + request: BuySingleDomainRequest$inboundSchema, +}; + +export const tool$domainsRegistrarBuySingleDomain: ToolDefinition = + { + name: "domains-registrar-buy-single-domain", + description: `Buy a domain + +Buy a domain`, + args, + tool: async (client, args, ctx) => { + const [result, apiCall] = await domainsRegistrarBuySingleDomain( + client, + args.request, + { fetchOptions: { signal: ctx.signal } }, + ).$inspect(); + + if (!result.ok) { + return { + content: [{ type: "text", text: result.error.message }], + isError: true, + }; + } + + const value = result.value; + + return formatResult(value, apiCall); + }, + }; diff --git a/src/mcp-server/tools/domainsRegistrarGetBulkAvailability.ts b/src/mcp-server/tools/domainsRegistrarGetBulkAvailability.ts new file mode 100644 index 000000000..cdddbd687 --- /dev/null +++ b/src/mcp-server/tools/domainsRegistrarGetBulkAvailability.ts @@ -0,0 +1,39 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { domainsRegistrarGetBulkAvailability } from "../../funcs/domainsRegistrarGetBulkAvailability.js"; +import { GetBulkAvailabilityRequest$inboundSchema } from "../../models/getbulkavailabilityop.js"; +import { formatResult, ToolDefinition } from "../tools.js"; + +const args = { + request: GetBulkAvailabilityRequest$inboundSchema, +}; + +export const tool$domainsRegistrarGetBulkAvailability: ToolDefinition< + typeof args +> = { + name: "domains-registrar-get-bulk-availability", + description: `Get availability for multiple domains + +Get availability for multiple domains. If the domains are available, they can be purchased using the [Buy a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/buy-a-domain) endpoint or the [Buy multiple domains](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/buy-multiple-domains) endpoint.`, + args, + tool: async (client, args, ctx) => { + const [result, apiCall] = await domainsRegistrarGetBulkAvailability( + client, + args.request, + { fetchOptions: { signal: ctx.signal } }, + ).$inspect(); + + if (!result.ok) { + return { + content: [{ type: "text", text: result.error.message }], + isError: true, + }; + } + + const value = result.value; + + return formatResult(value, apiCall); + }, +}; diff --git a/src/mcp-server/tools/domainsRegistrarGetContactInfoSchema.ts b/src/mcp-server/tools/domainsRegistrarGetContactInfoSchema.ts new file mode 100644 index 000000000..f00601bc0 --- /dev/null +++ b/src/mcp-server/tools/domainsRegistrarGetContactInfoSchema.ts @@ -0,0 +1,39 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { domainsRegistrarGetContactInfoSchema } from "../../funcs/domainsRegistrarGetContactInfoSchema.js"; +import { GetContactInfoSchemaRequest$inboundSchema } from "../../models/getcontactinfoschemaop.js"; +import { formatResult, ToolDefinition } from "../tools.js"; + +const args = { + request: GetContactInfoSchemaRequest$inboundSchema, +}; + +export const tool$domainsRegistrarGetContactInfoSchema: ToolDefinition< + typeof args +> = { + name: "domains-registrar-get-contact-info-schema", + description: `Get contact info schema + +Some TLDs require additional contact information. Use this endpoint to get the schema for the tld-specific contact information for a domain.`, + args, + tool: async (client, args, ctx) => { + const [result, apiCall] = await domainsRegistrarGetContactInfoSchema( + client, + args.request, + { fetchOptions: { signal: ctx.signal } }, + ).$inspect(); + + if (!result.ok) { + return { + content: [{ type: "text", text: result.error.message }], + isError: true, + }; + } + + const value = result.value; + + return formatResult(value, apiCall); + }, +}; diff --git a/src/mcp-server/tools/domainsRegistrarGetDomainAuthCode.ts b/src/mcp-server/tools/domainsRegistrarGetDomainAuthCode.ts new file mode 100644 index 000000000..d950f3584 --- /dev/null +++ b/src/mcp-server/tools/domainsRegistrarGetDomainAuthCode.ts @@ -0,0 +1,39 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { domainsRegistrarGetDomainAuthCode } from "../../funcs/domainsRegistrarGetDomainAuthCode.js"; +import { GetDomainAuthCodeRequest$inboundSchema } from "../../models/getdomainauthcodeop.js"; +import { formatResult, ToolDefinition } from "../tools.js"; + +const args = { + request: GetDomainAuthCodeRequest$inboundSchema, +}; + +export const tool$domainsRegistrarGetDomainAuthCode: ToolDefinition< + typeof args +> = { + name: "domains-registrar-get-domain-auth-code", + description: `Get the auth code for a domain + +Get the auth code for a domain. This is required to transfer a domain from Vercel to another registrar.`, + args, + tool: async (client, args, ctx) => { + const [result, apiCall] = await domainsRegistrarGetDomainAuthCode( + client, + args.request, + { fetchOptions: { signal: ctx.signal } }, + ).$inspect(); + + if (!result.ok) { + return { + content: [{ type: "text", text: result.error.message }], + isError: true, + }; + } + + const value = result.value; + + return formatResult(value, apiCall); + }, +}; diff --git a/src/mcp-server/tools/domainsRegistrarGetDomainAvailability.ts b/src/mcp-server/tools/domainsRegistrarGetDomainAvailability.ts new file mode 100644 index 000000000..b2e838188 --- /dev/null +++ b/src/mcp-server/tools/domainsRegistrarGetDomainAvailability.ts @@ -0,0 +1,39 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { domainsRegistrarGetDomainAvailability } from "../../funcs/domainsRegistrarGetDomainAvailability.js"; +import { GetDomainAvailabilityRequest$inboundSchema } from "../../models/getdomainavailabilityop.js"; +import { formatResult, ToolDefinition } from "../tools.js"; + +const args = { + request: GetDomainAvailabilityRequest$inboundSchema, +}; + +export const tool$domainsRegistrarGetDomainAvailability: ToolDefinition< + typeof args +> = { + name: "domains-registrar-get-domain-availability", + description: `Get availability for a domain + +Get availability for a specific domain. If the domain is available, it can be purchased using the [Buy a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/buy-a-domain) endpoint or the [Buy multiple domains](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/buy-multiple-domains) endpoint.`, + args, + tool: async (client, args, ctx) => { + const [result, apiCall] = await domainsRegistrarGetDomainAvailability( + client, + args.request, + { fetchOptions: { signal: ctx.signal } }, + ).$inspect(); + + if (!result.ok) { + return { + content: [{ type: "text", text: result.error.message }], + isError: true, + }; + } + + const value = result.value; + + return formatResult(value, apiCall); + }, +}; diff --git a/src/mcp-server/tools/domainsRegistrarGetDomainPrice.ts b/src/mcp-server/tools/domainsRegistrarGetDomainPrice.ts new file mode 100644 index 000000000..3ccfadca3 --- /dev/null +++ b/src/mcp-server/tools/domainsRegistrarGetDomainPrice.ts @@ -0,0 +1,38 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { domainsRegistrarGetDomainPrice } from "../../funcs/domainsRegistrarGetDomainPrice.js"; +import { GetDomainPriceRequest$inboundSchema } from "../../models/getdomainpriceop.js"; +import { formatResult, ToolDefinition } from "../tools.js"; + +const args = { + request: GetDomainPriceRequest$inboundSchema, +}; + +export const tool$domainsRegistrarGetDomainPrice: ToolDefinition = + { + name: "domains-registrar-get-domain-price", + description: `Get price data for a domain + +Get price data for a specific domain`, + args, + tool: async (client, args, ctx) => { + const [result, apiCall] = await domainsRegistrarGetDomainPrice( + client, + args.request, + { fetchOptions: { signal: ctx.signal } }, + ).$inspect(); + + if (!result.ok) { + return { + content: [{ type: "text", text: result.error.message }], + isError: true, + }; + } + + const value = result.value; + + return formatResult(value, apiCall); + }, + }; diff --git a/src/mcp-server/tools/domainsRegistrarGetDomainTransferIn.ts b/src/mcp-server/tools/domainsRegistrarGetDomainTransferIn.ts new file mode 100644 index 000000000..763ca858d --- /dev/null +++ b/src/mcp-server/tools/domainsRegistrarGetDomainTransferIn.ts @@ -0,0 +1,39 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { domainsRegistrarGetDomainTransferIn } from "../../funcs/domainsRegistrarGetDomainTransferIn.js"; +import { GetDomainTransferInRequest$inboundSchema } from "../../models/getdomaintransferinop.js"; +import { formatResult, ToolDefinition } from "../tools.js"; + +const args = { + request: GetDomainTransferInRequest$inboundSchema, +}; + +export const tool$domainsRegistrarGetDomainTransferIn: ToolDefinition< + typeof args +> = { + name: "domains-registrar-get-domain-transfer-in", + description: `Get a domain's transfer status + +Get the transfer status for a domain`, + args, + tool: async (client, args, ctx) => { + const [result, apiCall] = await domainsRegistrarGetDomainTransferIn( + client, + args.request, + { fetchOptions: { signal: ctx.signal } }, + ).$inspect(); + + if (!result.ok) { + return { + content: [{ type: "text", text: result.error.message }], + isError: true, + }; + } + + const value = result.value; + + return formatResult(value, apiCall); + }, +}; diff --git a/src/mcp-server/tools/domainsRegistrarGetOrder.ts b/src/mcp-server/tools/domainsRegistrarGetOrder.ts new file mode 100644 index 000000000..cbc65a48b --- /dev/null +++ b/src/mcp-server/tools/domainsRegistrarGetOrder.ts @@ -0,0 +1,37 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { domainsRegistrarGetOrder } from "../../funcs/domainsRegistrarGetOrder.js"; +import { GetOrderRequest$inboundSchema } from "../../models/getorderop.js"; +import { formatResult, ToolDefinition } from "../tools.js"; + +const args = { + request: GetOrderRequest$inboundSchema, +}; + +export const tool$domainsRegistrarGetOrder: ToolDefinition = { + name: "domains-registrar-get-order", + description: `Get a domain order + +Get information about a domain order by its ID`, + args, + tool: async (client, args, ctx) => { + const [result, apiCall] = await domainsRegistrarGetOrder( + client, + args.request, + { fetchOptions: { signal: ctx.signal } }, + ).$inspect(); + + if (!result.ok) { + return { + content: [{ type: "text", text: result.error.message }], + isError: true, + }; + } + + const value = result.value; + + return formatResult(value, apiCall); + }, +}; diff --git a/src/mcp-server/tools/domainsRegistrarGetSupportedTlds.ts b/src/mcp-server/tools/domainsRegistrarGetSupportedTlds.ts new file mode 100644 index 000000000..47ac0c6de --- /dev/null +++ b/src/mcp-server/tools/domainsRegistrarGetSupportedTlds.ts @@ -0,0 +1,39 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { domainsRegistrarGetSupportedTlds } from "../../funcs/domainsRegistrarGetSupportedTlds.js"; +import { GetSupportedTldsRequest$inboundSchema } from "../../models/getsupportedtldsop.js"; +import { formatResult, ToolDefinition } from "../tools.js"; + +const args = { + request: GetSupportedTldsRequest$inboundSchema, +}; + +export const tool$domainsRegistrarGetSupportedTlds: ToolDefinition< + typeof args +> = { + name: "domains-registrar-get-supported-tlds", + description: `Get supported TLDs + +Get a list of TLDs supported by Vercel`, + args, + tool: async (client, args, ctx) => { + const [result, apiCall] = await domainsRegistrarGetSupportedTlds( + client, + args.request, + { fetchOptions: { signal: ctx.signal } }, + ).$inspect(); + + if (!result.ok) { + return { + content: [{ type: "text", text: result.error.message }], + isError: true, + }; + } + + const value = result.value; + + return formatResult(value, apiCall); + }, +}; diff --git a/src/mcp-server/tools/domainsRegistrarGetTldPrice.ts b/src/mcp-server/tools/domainsRegistrarGetTldPrice.ts new file mode 100644 index 000000000..5884d4add --- /dev/null +++ b/src/mcp-server/tools/domainsRegistrarGetTldPrice.ts @@ -0,0 +1,37 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { domainsRegistrarGetTldPrice } from "../../funcs/domainsRegistrarGetTldPrice.js"; +import { GetTldPriceRequest$inboundSchema } from "../../models/gettldpriceop.js"; +import { formatResult, ToolDefinition } from "../tools.js"; + +const args = { + request: GetTldPriceRequest$inboundSchema, +}; + +export const tool$domainsRegistrarGetTldPrice: ToolDefinition = { + name: "domains-registrar-get-tld-price", + description: `Get TLD price data + +Get price data for a specific TLD. This only reflects base prices for the given TLD. Premium domains may have different prices. Use the [Get price data for a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/get-price-data-for-a-domain) endpoint to get the price data for a specific domain.`, + args, + tool: async (client, args, ctx) => { + const [result, apiCall] = await domainsRegistrarGetTldPrice( + client, + args.request, + { fetchOptions: { signal: ctx.signal } }, + ).$inspect(); + + if (!result.ok) { + return { + content: [{ type: "text", text: result.error.message }], + isError: true, + }; + } + + const value = result.value; + + return formatResult(value, apiCall); + }, +}; diff --git a/src/mcp-server/tools/domainsRegistrarRenewDomain.ts b/src/mcp-server/tools/domainsRegistrarRenewDomain.ts new file mode 100644 index 000000000..5422c535e --- /dev/null +++ b/src/mcp-server/tools/domainsRegistrarRenewDomain.ts @@ -0,0 +1,37 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { domainsRegistrarRenewDomain } from "../../funcs/domainsRegistrarRenewDomain.js"; +import { RenewDomainRequest$inboundSchema } from "../../models/renewdomainop.js"; +import { formatResult, ToolDefinition } from "../tools.js"; + +const args = { + request: RenewDomainRequest$inboundSchema, +}; + +export const tool$domainsRegistrarRenewDomain: ToolDefinition = { + name: "domains-registrar-renew-domain", + description: `Renew a domain + +Renew a domain`, + args, + tool: async (client, args, ctx) => { + const [result, apiCall] = await domainsRegistrarRenewDomain( + client, + args.request, + { fetchOptions: { signal: ctx.signal } }, + ).$inspect(); + + if (!result.ok) { + return { + content: [{ type: "text", text: result.error.message }], + isError: true, + }; + } + + const value = result.value; + + return formatResult(value, apiCall); + }, +}; diff --git a/src/mcp-server/tools/domainsRegistrarTransferInDomain.ts b/src/mcp-server/tools/domainsRegistrarTransferInDomain.ts new file mode 100644 index 000000000..7c9cbc96e --- /dev/null +++ b/src/mcp-server/tools/domainsRegistrarTransferInDomain.ts @@ -0,0 +1,39 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { domainsRegistrarTransferInDomain } from "../../funcs/domainsRegistrarTransferInDomain.js"; +import { TransferInDomainRequest$inboundSchema } from "../../models/transferindomainop.js"; +import { formatResult, ToolDefinition } from "../tools.js"; + +const args = { + request: TransferInDomainRequest$inboundSchema, +}; + +export const tool$domainsRegistrarTransferInDomain: ToolDefinition< + typeof args +> = { + name: "domains-registrar-transfer-in-domain", + description: `Transfer-in a domain + +Transfer a domain in from another registrar`, + args, + tool: async (client, args, ctx) => { + const [result, apiCall] = await domainsRegistrarTransferInDomain( + client, + args.request, + { fetchOptions: { signal: ctx.signal } }, + ).$inspect(); + + if (!result.ok) { + return { + content: [{ type: "text", text: result.error.message }], + isError: true, + }; + } + + const value = result.value; + + return formatResult(value, apiCall); + }, +}; diff --git a/src/mcp-server/tools/domainsRegistrarUpdateDomainAutoRenew.ts b/src/mcp-server/tools/domainsRegistrarUpdateDomainAutoRenew.ts new file mode 100644 index 000000000..5f7981062 --- /dev/null +++ b/src/mcp-server/tools/domainsRegistrarUpdateDomainAutoRenew.ts @@ -0,0 +1,37 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { domainsRegistrarUpdateDomainAutoRenew } from "../../funcs/domainsRegistrarUpdateDomainAutoRenew.js"; +import { UpdateDomainAutoRenewRequest$inboundSchema } from "../../models/updatedomainautorenewop.js"; +import { formatResult, ToolDefinition } from "../tools.js"; + +const args = { + request: UpdateDomainAutoRenewRequest$inboundSchema, +}; + +export const tool$domainsRegistrarUpdateDomainAutoRenew: ToolDefinition< + typeof args +> = { + name: "domains-registrar-update-domain-auto-renew", + description: `Update auto-renew for a domain + +Update the auto-renew setting for a domain`, + args, + tool: async (client, args, ctx) => { + const [result, apiCall] = await domainsRegistrarUpdateDomainAutoRenew( + client, + args.request, + { fetchOptions: { signal: ctx.signal } }, + ).$inspect(); + + if (!result.ok) { + return { + content: [{ type: "text", text: result.error.message }], + isError: true, + }; + } + + return formatResult(void 0, apiCall); + }, +}; diff --git a/src/mcp-server/tools/domainsRegistrarUpdateDomainNameservers.ts b/src/mcp-server/tools/domainsRegistrarUpdateDomainNameservers.ts new file mode 100644 index 000000000..cd049f810 --- /dev/null +++ b/src/mcp-server/tools/domainsRegistrarUpdateDomainNameservers.ts @@ -0,0 +1,37 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { domainsRegistrarUpdateDomainNameservers } from "../../funcs/domainsRegistrarUpdateDomainNameservers.js"; +import { UpdateDomainNameserversRequest$inboundSchema } from "../../models/updatedomainnameserversop.js"; +import { formatResult, ToolDefinition } from "../tools.js"; + +const args = { + request: UpdateDomainNameserversRequest$inboundSchema, +}; + +export const tool$domainsRegistrarUpdateDomainNameservers: ToolDefinition< + typeof args +> = { + name: "domains-registrar-update-domain-nameservers", + description: `Update nameservers for a domain + +Update the nameservers for a domain. Pass an empty array to use Vercel's default nameservers.`, + args, + tool: async (client, args, ctx) => { + const [result, apiCall] = await domainsRegistrarUpdateDomainNameservers( + client, + args.request, + { fetchOptions: { signal: ctx.signal } }, + ).$inspect(); + + if (!result.ok) { + return { + content: [{ type: "text", text: result.error.message }], + isError: true, + }; + } + + return formatResult(void 0, apiCall); + }, +}; diff --git a/src/mcp-server/tools/drainsCreateDrain.ts b/src/mcp-server/tools/drainsCreateDrain.ts new file mode 100644 index 000000000..0d864044f --- /dev/null +++ b/src/mcp-server/tools/drainsCreateDrain.ts @@ -0,0 +1,37 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { drainsCreateDrain } from "../../funcs/drainsCreateDrain.js"; +import { CreateDrainRequest$inboundSchema } from "../../models/createdrainop.js"; +import { formatResult, ToolDefinition } from "../tools.js"; + +const args = { + request: CreateDrainRequest$inboundSchema, +}; + +export const tool$drainsCreateDrain: ToolDefinition = { + name: "drains-create-drain", + description: `Create a new Drain + +Create a new Drain with the provided configuration.`, + args, + tool: async (client, args, ctx) => { + const [result, apiCall] = await drainsCreateDrain( + client, + args.request, + { fetchOptions: { signal: ctx.signal } }, + ).$inspect(); + + if (!result.ok) { + return { + content: [{ type: "text", text: result.error.message }], + isError: true, + }; + } + + const value = result.value; + + return formatResult(value, apiCall); + }, +}; diff --git a/src/mcp-server/tools/drainsDeleteDrain.ts b/src/mcp-server/tools/drainsDeleteDrain.ts new file mode 100644 index 000000000..9f7131848 --- /dev/null +++ b/src/mcp-server/tools/drainsDeleteDrain.ts @@ -0,0 +1,35 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { drainsDeleteDrain } from "../../funcs/drainsDeleteDrain.js"; +import { DeleteDrainRequest$inboundSchema } from "../../models/deletedrainop.js"; +import { formatResult, ToolDefinition } from "../tools.js"; + +const args = { + request: DeleteDrainRequest$inboundSchema, +}; + +export const tool$drainsDeleteDrain: ToolDefinition = { + name: "drains-delete-drain", + description: `Delete a drain + +Delete a specific Drain by passing the drain id in the URL.`, + args, + tool: async (client, args, ctx) => { + const [result, apiCall] = await drainsDeleteDrain( + client, + args.request, + { fetchOptions: { signal: ctx.signal } }, + ).$inspect(); + + if (!result.ok) { + return { + content: [{ type: "text", text: result.error.message }], + isError: true, + }; + } + + return formatResult(void 0, apiCall); + }, +}; diff --git a/src/mcp-server/tools/drainsGetDrain.ts b/src/mcp-server/tools/drainsGetDrain.ts new file mode 100644 index 000000000..30133790e --- /dev/null +++ b/src/mcp-server/tools/drainsGetDrain.ts @@ -0,0 +1,37 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { drainsGetDrain } from "../../funcs/drainsGetDrain.js"; +import { GetDrainRequest$inboundSchema } from "../../models/getdrainop.js"; +import { formatResult, ToolDefinition } from "../tools.js"; + +const args = { + request: GetDrainRequest$inboundSchema, +}; + +export const tool$drainsGetDrain: ToolDefinition = { + name: "drains-get-drain", + description: `Find a Drain by id + +Get the information for a specific Drain by passing the drain id in the URL.`, + args, + tool: async (client, args, ctx) => { + const [result, apiCall] = await drainsGetDrain( + client, + args.request, + { fetchOptions: { signal: ctx.signal } }, + ).$inspect(); + + if (!result.ok) { + return { + content: [{ type: "text", text: result.error.message }], + isError: true, + }; + } + + const value = result.value; + + return formatResult(value, apiCall); + }, +}; diff --git a/src/mcp-server/tools/drainsGetDrains.ts b/src/mcp-server/tools/drainsGetDrains.ts new file mode 100644 index 000000000..ce60954ee --- /dev/null +++ b/src/mcp-server/tools/drainsGetDrains.ts @@ -0,0 +1,37 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { drainsGetDrains } from "../../funcs/drainsGetDrains.js"; +import { GetDrainsRequest$inboundSchema } from "../../models/getdrainsop.js"; +import { formatResult, ToolDefinition } from "../tools.js"; + +const args = { + request: GetDrainsRequest$inboundSchema, +}; + +export const tool$drainsGetDrains: ToolDefinition = { + name: "drains-get-drains", + description: `Retrieve a list of all Drains + +Allows to retrieve the list of Drains of the authenticated team.`, + args, + tool: async (client, args, ctx) => { + const [result, apiCall] = await drainsGetDrains( + client, + args.request, + { fetchOptions: { signal: ctx.signal } }, + ).$inspect(); + + if (!result.ok) { + return { + content: [{ type: "text", text: result.error.message }], + isError: true, + }; + } + + const value = result.value; + + return formatResult(value, apiCall); + }, +}; diff --git a/src/mcp-server/tools/drainsTestDrain.ts b/src/mcp-server/tools/drainsTestDrain.ts new file mode 100644 index 000000000..213ecdb8b --- /dev/null +++ b/src/mcp-server/tools/drainsTestDrain.ts @@ -0,0 +1,37 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { drainsTestDrain } from "../../funcs/drainsTestDrain.js"; +import { TestDrainRequest$inboundSchema } from "../../models/testdrainop.js"; +import { formatResult, ToolDefinition } from "../tools.js"; + +const args = { + request: TestDrainRequest$inboundSchema, +}; + +export const tool$drainsTestDrain: ToolDefinition = { + name: "drains-test-drain", + description: `Validate Drain delivery configuration + +Validate the delivery configuration of a Drain using sample events.`, + args, + tool: async (client, args, ctx) => { + const [result, apiCall] = await drainsTestDrain( + client, + args.request, + { fetchOptions: { signal: ctx.signal } }, + ).$inspect(); + + if (!result.ok) { + return { + content: [{ type: "text", text: result.error.message }], + isError: true, + }; + } + + const value = result.value; + + return formatResult(value, apiCall); + }, +}; diff --git a/src/mcp-server/tools/drainsUpdateDrain.ts b/src/mcp-server/tools/drainsUpdateDrain.ts new file mode 100644 index 000000000..3efb7d580 --- /dev/null +++ b/src/mcp-server/tools/drainsUpdateDrain.ts @@ -0,0 +1,37 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { drainsUpdateDrain } from "../../funcs/drainsUpdateDrain.js"; +import { UpdateDrainRequest$inboundSchema } from "../../models/updatedrainop.js"; +import { formatResult, ToolDefinition } from "../tools.js"; + +const args = { + request: UpdateDrainRequest$inboundSchema, +}; + +export const tool$drainsUpdateDrain: ToolDefinition = { + name: "drains-update-drain", + description: `Update an existing Drain + +Update the configuration of an existing drain.`, + args, + tool: async (client, args, ctx) => { + const [result, apiCall] = await drainsUpdateDrain( + client, + args.request, + { fetchOptions: { signal: ctx.signal } }, + ).$inspect(); + + if (!result.ok) { + return { + content: [{ type: "text", text: result.error.message }], + isError: true, + }; + } + + const value = result.value; + + return formatResult(value, apiCall); + }, +}; diff --git a/src/mcp-server/tools/environmentCreateSharedEnvVariable.ts b/src/mcp-server/tools/environmentCreateSharedEnvVariable.ts new file mode 100644 index 000000000..c27d3a441 --- /dev/null +++ b/src/mcp-server/tools/environmentCreateSharedEnvVariable.ts @@ -0,0 +1,39 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { environmentCreateSharedEnvVariable } from "../../funcs/environmentCreateSharedEnvVariable.js"; +import { CreateSharedEnvVariableRequest$inboundSchema } from "../../models/createsharedenvvariableop.js"; +import { formatResult, ToolDefinition } from "../tools.js"; + +const args = { + request: CreateSharedEnvVariableRequest$inboundSchema, +}; + +export const tool$environmentCreateSharedEnvVariable: ToolDefinition< + typeof args +> = { + name: "environment-create-shared-env-variable", + description: `Create one or more shared environment variables + +Creates shared environment variable(s) for a team.`, + args, + tool: async (client, args, ctx) => { + const [result, apiCall] = await environmentCreateSharedEnvVariable( + client, + args.request, + { fetchOptions: { signal: ctx.signal } }, + ).$inspect(); + + if (!result.ok) { + return { + content: [{ type: "text", text: result.error.message }], + isError: true, + }; + } + + const value = result.value; + + return formatResult(value, apiCall); + }, +}; diff --git a/src/mcp-server/tools/environmentDeleteSharedEnvVariable.ts b/src/mcp-server/tools/environmentDeleteSharedEnvVariable.ts new file mode 100644 index 000000000..ca5f1cbb2 --- /dev/null +++ b/src/mcp-server/tools/environmentDeleteSharedEnvVariable.ts @@ -0,0 +1,39 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { environmentDeleteSharedEnvVariable } from "../../funcs/environmentDeleteSharedEnvVariable.js"; +import { DeleteSharedEnvVariableRequest$inboundSchema } from "../../models/deletesharedenvvariableop.js"; +import { formatResult, ToolDefinition } from "../tools.js"; + +const args = { + request: DeleteSharedEnvVariableRequest$inboundSchema, +}; + +export const tool$environmentDeleteSharedEnvVariable: ToolDefinition< + typeof args +> = { + name: "environment-delete-shared-env-variable", + description: `Delete one or more Env Var + +Deletes one or many Shared Environment Variables for a given team.`, + args, + tool: async (client, args, ctx) => { + const [result, apiCall] = await environmentDeleteSharedEnvVariable( + client, + args.request, + { fetchOptions: { signal: ctx.signal } }, + ).$inspect(); + + if (!result.ok) { + return { + content: [{ type: "text", text: result.error.message }], + isError: true, + }; + } + + const value = result.value; + + return formatResult(value, apiCall); + }, +}; diff --git a/src/mcp-server/tools/environmentGetSharedEnvVar.ts b/src/mcp-server/tools/environmentGetSharedEnvVar.ts new file mode 100644 index 000000000..f57a00592 --- /dev/null +++ b/src/mcp-server/tools/environmentGetSharedEnvVar.ts @@ -0,0 +1,38 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { environmentGetSharedEnvVar } from "../../funcs/environmentGetSharedEnvVar.js"; +import { GetSharedEnvVarRequest$inboundSchema } from "../../models/getsharedenvvarop.js"; +import { formatResult, ToolDefinition } from "../tools.js"; + +const args = { + request: GetSharedEnvVarRequest$inboundSchema, +}; + +export const tool$environmentGetSharedEnvVar: ToolDefinition = { + name: "environment-get-shared-env-var", + description: + `Retrieve the decrypted value of a Shared Environment Variable by id. + +Retrieve the decrypted value of a Shared Environment Variable by id.`, + args, + tool: async (client, args, ctx) => { + const [result, apiCall] = await environmentGetSharedEnvVar( + client, + args.request, + { fetchOptions: { signal: ctx.signal } }, + ).$inspect(); + + if (!result.ok) { + return { + content: [{ type: "text", text: result.error.message }], + isError: true, + }; + } + + const value = result.value; + + return formatResult(value, apiCall); + }, +}; diff --git a/src/mcp-server/tools/environmentListSharedEnvVariable.ts b/src/mcp-server/tools/environmentListSharedEnvVariable.ts new file mode 100644 index 000000000..c6b07e510 --- /dev/null +++ b/src/mcp-server/tools/environmentListSharedEnvVariable.ts @@ -0,0 +1,39 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { environmentListSharedEnvVariable } from "../../funcs/environmentListSharedEnvVariable.js"; +import { ListSharedEnvVariableRequest$inboundSchema } from "../../models/listsharedenvvariableop.js"; +import { formatResult, ToolDefinition } from "../tools.js"; + +const args = { + request: ListSharedEnvVariableRequest$inboundSchema, +}; + +export const tool$environmentListSharedEnvVariable: ToolDefinition< + typeof args +> = { + name: "environment-list-shared-env-variable", + description: `Lists all Shared Environment Variables for a team + +Lists all Shared Environment Variables for a team, taking into account optional filters.`, + args, + tool: async (client, args, ctx) => { + const [result, apiCall] = await environmentListSharedEnvVariable( + client, + args.request, + { fetchOptions: { signal: ctx.signal } }, + ).$inspect(); + + if (!result.ok) { + return { + content: [{ type: "text", text: result.error.message }], + isError: true, + }; + } + + const value = result.value; + + return formatResult(value, apiCall); + }, +}; diff --git a/src/mcp-server/tools/environmentUnlinkSharedEnvVariable.ts b/src/mcp-server/tools/environmentUnlinkSharedEnvVariable.ts new file mode 100644 index 000000000..7d31f714c --- /dev/null +++ b/src/mcp-server/tools/environmentUnlinkSharedEnvVariable.ts @@ -0,0 +1,39 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { environmentUnlinkSharedEnvVariable } from "../../funcs/environmentUnlinkSharedEnvVariable.js"; +import { UnlinkSharedEnvVariableRequest$inboundSchema } from "../../models/unlinksharedenvvariableop.js"; +import { formatResult, ToolDefinition } from "../tools.js"; + +const args = { + request: UnlinkSharedEnvVariableRequest$inboundSchema, +}; + +export const tool$environmentUnlinkSharedEnvVariable: ToolDefinition< + typeof args +> = { + name: "environment-unlink-shared-env-variable", + description: `Disconnects a shared environment variable for a given project + +Disconnects a shared environment variable for a given project`, + args, + tool: async (client, args, ctx) => { + const [result, apiCall] = await environmentUnlinkSharedEnvVariable( + client, + args.request, + { fetchOptions: { signal: ctx.signal } }, + ).$inspect(); + + if (!result.ok) { + return { + content: [{ type: "text", text: result.error.message }], + isError: true, + }; + } + + const value = result.value; + + return formatResult(value, apiCall); + }, +}; diff --git a/src/mcp-server/tools/environmentUpdateSharedEnvVariable.ts b/src/mcp-server/tools/environmentUpdateSharedEnvVariable.ts new file mode 100644 index 000000000..f2c33e1a7 --- /dev/null +++ b/src/mcp-server/tools/environmentUpdateSharedEnvVariable.ts @@ -0,0 +1,39 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { environmentUpdateSharedEnvVariable } from "../../funcs/environmentUpdateSharedEnvVariable.js"; +import { UpdateSharedEnvVariableRequest$inboundSchema } from "../../models/updatesharedenvvariableop.js"; +import { formatResult, ToolDefinition } from "../tools.js"; + +const args = { + request: UpdateSharedEnvVariableRequest$inboundSchema, +}; + +export const tool$environmentUpdateSharedEnvVariable: ToolDefinition< + typeof args +> = { + name: "environment-update-shared-env-variable", + description: `Updates one or more shared environment variables + +Updates a given Shared Environment Variable for a Team.`, + args, + tool: async (client, args, ctx) => { + const [result, apiCall] = await environmentUpdateSharedEnvVariable( + client, + args.request, + { fetchOptions: { signal: ctx.signal } }, + ).$inspect(); + + if (!result.ok) { + return { + content: [{ type: "text", text: result.error.message }], + isError: true, + }; + } + + const value = result.value; + + return formatResult(value, apiCall); + }, +}; diff --git a/src/mcp-server/tools/logDrainsCreateConfigurableLogDrain.ts b/src/mcp-server/tools/logDrainsCreateConfigurableLogDrain.ts new file mode 100644 index 000000000..e2d3db536 --- /dev/null +++ b/src/mcp-server/tools/logDrainsCreateConfigurableLogDrain.ts @@ -0,0 +1,39 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { logDrainsCreateConfigurableLogDrain } from "../../funcs/logDrainsCreateConfigurableLogDrain.js"; +import { CreateConfigurableLogDrainRequest$inboundSchema } from "../../models/createconfigurablelogdrainop.js"; +import { formatResult, ToolDefinition } from "../tools.js"; + +const args = { + request: CreateConfigurableLogDrainRequest$inboundSchema, +}; + +export const tool$logDrainsCreateConfigurableLogDrain: ToolDefinition< + typeof args +> = { + name: "log-drains-create-configurable-log-drain", + description: `Creates a Configurable Log Drain (deprecated) + +Creates a configurable log drain. This endpoint must be called with a team AccessToken (integration OAuth2 clients are not allowed)`, + args, + tool: async (client, args, ctx) => { + const [result, apiCall] = await logDrainsCreateConfigurableLogDrain( + client, + args.request, + { fetchOptions: { signal: ctx.signal } }, + ).$inspect(); + + if (!result.ok) { + return { + content: [{ type: "text", text: result.error.message }], + isError: true, + }; + } + + const value = result.value; + + return formatResult(value, apiCall); + }, +}; diff --git a/src/mcp-server/tools/logDrainsCreateLogDrain.ts b/src/mcp-server/tools/logDrainsCreateLogDrain.ts index 3a3c48984..904960ff8 100644 --- a/src/mcp-server/tools/logDrainsCreateLogDrain.ts +++ b/src/mcp-server/tools/logDrainsCreateLogDrain.ts @@ -12,7 +12,7 @@ const args = { export const tool$logDrainsCreateLogDrain: ToolDefinition = { name: "log-drains-create-log-drain", - description: `Creates a new Integration Log Drain + description: `Creates a new Integration Log Drain (deprecated) Creates an Integration log drain. This endpoint must be called with an OAuth2 client (integration), since log drains are tied to integrations. If it is called with a different token type it will produce a 400 error.`, args, diff --git a/src/mcp-server/tools/logDrainsDeleteConfigurableLogDrain.ts b/src/mcp-server/tools/logDrainsDeleteConfigurableLogDrain.ts new file mode 100644 index 000000000..bddef18e2 --- /dev/null +++ b/src/mcp-server/tools/logDrainsDeleteConfigurableLogDrain.ts @@ -0,0 +1,37 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { logDrainsDeleteConfigurableLogDrain } from "../../funcs/logDrainsDeleteConfigurableLogDrain.js"; +import { DeleteConfigurableLogDrainRequest$inboundSchema } from "../../models/deleteconfigurablelogdrainop.js"; +import { formatResult, ToolDefinition } from "../tools.js"; + +const args = { + request: DeleteConfigurableLogDrainRequest$inboundSchema, +}; + +export const tool$logDrainsDeleteConfigurableLogDrain: ToolDefinition< + typeof args +> = { + name: "log-drains-delete-configurable-log-drain", + description: `Deletes a Configurable Log Drain (deprecated) + +Deletes a Configurable Log Drain. This endpoint must be called with a team AccessToken (integration OAuth2 clients are not allowed). Only log drains owned by the authenticated team can be deleted.`, + args, + tool: async (client, args, ctx) => { + const [result, apiCall] = await logDrainsDeleteConfigurableLogDrain( + client, + args.request, + { fetchOptions: { signal: ctx.signal } }, + ).$inspect(); + + if (!result.ok) { + return { + content: [{ type: "text", text: result.error.message }], + isError: true, + }; + } + + return formatResult(void 0, apiCall); + }, +}; diff --git a/src/mcp-server/tools/logDrainsDeleteIntegrationLogDrain.ts b/src/mcp-server/tools/logDrainsDeleteIntegrationLogDrain.ts index 886a7e2b9..786bb2908 100644 --- a/src/mcp-server/tools/logDrainsDeleteIntegrationLogDrain.ts +++ b/src/mcp-server/tools/logDrainsDeleteIntegrationLogDrain.ts @@ -14,7 +14,8 @@ export const tool$logDrainsDeleteIntegrationLogDrain: ToolDefinition< typeof args > = { name: "log-drains-delete-integration-log-drain", - description: `Deletes the Integration log drain with the provided \`id\` + description: + `Deletes the Integration log drain with the provided \`id\` (deprecated) Deletes the Integration log drain with the provided \`id\`. When using an OAuth2 Token, the log drain can be deleted only if the integration owns it.`, args, diff --git a/src/mcp-server/tools/logDrainsGetAllLogDrains.ts b/src/mcp-server/tools/logDrainsGetAllLogDrains.ts new file mode 100644 index 000000000..8ea09e466 --- /dev/null +++ b/src/mcp-server/tools/logDrainsGetAllLogDrains.ts @@ -0,0 +1,37 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { logDrainsGetAllLogDrains } from "../../funcs/logDrainsGetAllLogDrains.js"; +import { GetAllLogDrainsRequest$inboundSchema } from "../../models/getalllogdrainsop.js"; +import { formatResult, ToolDefinition } from "../tools.js"; + +const args = { + request: GetAllLogDrainsRequest$inboundSchema, +}; + +export const tool$logDrainsGetAllLogDrains: ToolDefinition = { + name: "log-drains-get-all-log-drains", + description: `Retrieves a list of all the Log Drains (deprecated) + +Retrieves a list of all the Log Drains owned by the account. This endpoint must be called with an account AccessToken (integration OAuth2 clients are not allowed). Only log drains owned by the authenticated account can be accessed.`, + args, + tool: async (client, args, ctx) => { + const [result, apiCall] = await logDrainsGetAllLogDrains( + client, + args.request, + { fetchOptions: { signal: ctx.signal } }, + ).$inspect(); + + if (!result.ok) { + return { + content: [{ type: "text", text: result.error.message }], + isError: true, + }; + } + + const value = result.value; + + return formatResult(value, apiCall); + }, +}; diff --git a/src/mcp-server/tools/logDrainsGetConfigurableLogDrain.ts b/src/mcp-server/tools/logDrainsGetConfigurableLogDrain.ts new file mode 100644 index 000000000..71f5f2b03 --- /dev/null +++ b/src/mcp-server/tools/logDrainsGetConfigurableLogDrain.ts @@ -0,0 +1,39 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { logDrainsGetConfigurableLogDrain } from "../../funcs/logDrainsGetConfigurableLogDrain.js"; +import { GetConfigurableLogDrainRequest$inboundSchema } from "../../models/getconfigurablelogdrainop.js"; +import { formatResult, ToolDefinition } from "../tools.js"; + +const args = { + request: GetConfigurableLogDrainRequest$inboundSchema, +}; + +export const tool$logDrainsGetConfigurableLogDrain: ToolDefinition< + typeof args +> = { + name: "log-drains-get-configurable-log-drain", + description: `Retrieves a Configurable Log Drain (deprecated) + +Retrieves a Configurable Log Drain. This endpoint must be called with a team AccessToken (integration OAuth2 clients are not allowed). Only log drains owned by the authenticated team can be accessed.`, + args, + tool: async (client, args, ctx) => { + const [result, apiCall] = await logDrainsGetConfigurableLogDrain( + client, + args.request, + { fetchOptions: { signal: ctx.signal } }, + ).$inspect(); + + if (!result.ok) { + return { + content: [{ type: "text", text: result.error.message }], + isError: true, + }; + } + + const value = result.value; + + return formatResult(value, apiCall); + }, +}; diff --git a/src/mcp-server/tools/logDrainsGetIntegrationLogDrains.ts b/src/mcp-server/tools/logDrainsGetIntegrationLogDrains.ts index bb02ad114..814365b32 100644 --- a/src/mcp-server/tools/logDrainsGetIntegrationLogDrains.ts +++ b/src/mcp-server/tools/logDrainsGetIntegrationLogDrains.ts @@ -14,7 +14,7 @@ export const tool$logDrainsGetIntegrationLogDrains: ToolDefinition< typeof args > = { name: "log-drains-get-integration-log-drains", - description: `Retrieves a list of Integration log drains + description: `Retrieves a list of Integration log drains (deprecated) Retrieves a list of all Integration log drains that are defined for the authenticated user or team. When using an OAuth2 token, the list is limited to log drains created by the authenticated integration.`, args, diff --git a/src/mcp-server/tools/marketplaceUpdateInstallation.ts b/src/mcp-server/tools/marketplaceUpdateInstallation.ts new file mode 100644 index 000000000..38b852661 --- /dev/null +++ b/src/mcp-server/tools/marketplaceUpdateInstallation.ts @@ -0,0 +1,35 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { marketplaceUpdateInstallation } from "../../funcs/marketplaceUpdateInstallation.js"; +import { UpdateInstallationRequest$inboundSchema } from "../../models/updateinstallationop.js"; +import { formatResult, ToolDefinition } from "../tools.js"; + +const args = { + request: UpdateInstallationRequest$inboundSchema, +}; + +export const tool$marketplaceUpdateInstallation: ToolDefinition = { + name: "marketplace-update-installation", + description: `Update Installation + +This endpoint updates an integration installation.`, + args, + tool: async (client, args, ctx) => { + const [result, apiCall] = await marketplaceUpdateInstallation( + client, + args.request, + { fetchOptions: { signal: ctx.signal } }, + ).$inspect(); + + if (!result.ok) { + return { + content: [{ type: "text", text: result.error.message }], + isError: true, + }; + } + + return formatResult(void 0, apiCall); + }, +}; diff --git a/src/mcp-server/tools/marketplaceUpdateResource.ts b/src/mcp-server/tools/marketplaceUpdateResource.ts new file mode 100644 index 000000000..438d8ab66 --- /dev/null +++ b/src/mcp-server/tools/marketplaceUpdateResource.ts @@ -0,0 +1,37 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { marketplaceUpdateResource } from "../../funcs/marketplaceUpdateResource.js"; +import { UpdateResourceRequest$inboundSchema } from "../../models/updateresourceop.js"; +import { formatResult, ToolDefinition } from "../tools.js"; + +const args = { + request: UpdateResourceRequest$inboundSchema, +}; + +export const tool$marketplaceUpdateResource: ToolDefinition = { + name: "marketplace-update-resource", + description: `Update Resource + +This endpoint updates an existing resource in the installation. All parameters are optional, allowing partial updates.`, + args, + tool: async (client, args, ctx) => { + const [result, apiCall] = await marketplaceUpdateResource( + client, + args.request, + { fetchOptions: { signal: ctx.signal } }, + ).$inspect(); + + if (!result.ok) { + return { + content: [{ type: "text", text: result.error.message }], + isError: true, + }; + } + + const value = result.value; + + return formatResult(value, apiCall); + }, +}; diff --git a/src/mcp-server/tools/projectsDeleteProjectClientCert.ts b/src/mcp-server/tools/projectsDeleteProjectClientCert.ts new file mode 100644 index 000000000..049b78259 --- /dev/null +++ b/src/mcp-server/tools/projectsDeleteProjectClientCert.ts @@ -0,0 +1,38 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { projectsDeleteProjectClientCert } from "../../funcs/projectsDeleteProjectClientCert.js"; +import { DeleteProjectClientCertRequest$inboundSchema } from "../../models/deleteprojectclientcertop.js"; +import { formatResult, ToolDefinition } from "../tools.js"; + +const args = { + request: DeleteProjectClientCertRequest$inboundSchema, +}; + +export const tool$projectsDeleteProjectClientCert: ToolDefinition = + { + name: "projects-delete-project-client-cert", + description: `Delete client certificate for egress mTLS + +Delete a client certificate for mTLS authentication to external origins.`, + args, + tool: async (client, args, ctx) => { + const [result, apiCall] = await projectsDeleteProjectClientCert( + client, + args.request, + { fetchOptions: { signal: ctx.signal } }, + ).$inspect(); + + if (!result.ok) { + return { + content: [{ type: "text", text: result.error.message }], + isError: true, + }; + } + + const value = result.value; + + return formatResult(value, apiCall); + }, + }; diff --git a/src/mcp-server/tools/projectsGetProjectClientCerts.ts b/src/mcp-server/tools/projectsGetProjectClientCerts.ts new file mode 100644 index 000000000..75ffa24d7 --- /dev/null +++ b/src/mcp-server/tools/projectsGetProjectClientCerts.ts @@ -0,0 +1,37 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { projectsGetProjectClientCerts } from "../../funcs/projectsGetProjectClientCerts.js"; +import { GetProjectClientCertsRequest$inboundSchema } from "../../models/getprojectclientcertsop.js"; +import { formatResult, ToolDefinition } from "../tools.js"; + +const args = { + request: GetProjectClientCertsRequest$inboundSchema, +}; + +export const tool$projectsGetProjectClientCerts: ToolDefinition = { + name: "projects-get-project-client-certs", + description: `Get client certificates for a project + +Retrieve client certificates configured for a project's mTLS egress authentication.`, + args, + tool: async (client, args, ctx) => { + const [result, apiCall] = await projectsGetProjectClientCerts( + client, + args.request, + { fetchOptions: { signal: ctx.signal } }, + ).$inspect(); + + if (!result.ok) { + return { + content: [{ type: "text", text: result.error.message }], + isError: true, + }; + } + + const value = result.value; + + return formatResult(value, apiCall); + }, +}; diff --git a/src/mcp-server/tools/projectsUploadProjectClientCert.ts b/src/mcp-server/tools/projectsUploadProjectClientCert.ts new file mode 100644 index 000000000..1a45cddb6 --- /dev/null +++ b/src/mcp-server/tools/projectsUploadProjectClientCert.ts @@ -0,0 +1,38 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { projectsUploadProjectClientCert } from "../../funcs/projectsUploadProjectClientCert.js"; +import { UploadProjectClientCertRequest$inboundSchema } from "../../models/uploadprojectclientcertop.js"; +import { formatResult, ToolDefinition } from "../tools.js"; + +const args = { + request: UploadProjectClientCertRequest$inboundSchema, +}; + +export const tool$projectsUploadProjectClientCert: ToolDefinition = + { + name: "projects-upload-project-client-cert", + description: `Upload client certificate for egress mTLS + +Upload a client certificate for mTLS authentication to external origins.`, + args, + tool: async (client, args, ctx) => { + const [result, apiCall] = await projectsUploadProjectClientCert( + client, + args.request, + { fetchOptions: { signal: ctx.signal } }, + ).$inspect(); + + if (!result.ok) { + return { + content: [{ type: "text", text: result.error.message }], + isError: true, + }; + } + + const value = result.value; + + return formatResult(value, apiCall); + }, + }; diff --git a/src/mcp-server/tools/securityGetActiveAttackStatus.ts b/src/mcp-server/tools/securityGetActiveAttackStatus.ts index 1945590c7..746dbe162 100644 --- a/src/mcp-server/tools/securityGetActiveAttackStatus.ts +++ b/src/mcp-server/tools/securityGetActiveAttackStatus.ts @@ -14,7 +14,7 @@ export const tool$securityGetActiveAttackStatus: ToolDefinition = { name: "security-get-active-attack-status", description: `Read active attack data -Retrieve active attack data within the last 24h window`, +Retrieve active attack data within the last N days (default: 1 day)`, args, tool: async (client, args, ctx) => { const [result, apiCall] = await securityGetActiveAttackStatus( diff --git a/src/mcp-server/tools/securityGetV1SecurityFirewallEvents.ts b/src/mcp-server/tools/securityGetV1SecurityFirewallEvents.ts new file mode 100644 index 000000000..56da2f802 --- /dev/null +++ b/src/mcp-server/tools/securityGetV1SecurityFirewallEvents.ts @@ -0,0 +1,39 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { securityGetV1SecurityFirewallEvents } from "../../funcs/securityGetV1SecurityFirewallEvents.js"; +import { GetV1SecurityFirewallEventsRequest$inboundSchema } from "../../models/getv1securityfirewalleventsop.js"; +import { formatResult, ToolDefinition } from "../tools.js"; + +const args = { + request: GetV1SecurityFirewallEventsRequest$inboundSchema, +}; + +export const tool$securityGetV1SecurityFirewallEvents: ToolDefinition< + typeof args +> = { + name: "security-get-v1-security-firewall-events", + description: `Read Firewall Actions by Project + +Retrieve firewall actions for a project`, + args, + tool: async (client, args, ctx) => { + const [result, apiCall] = await securityGetV1SecurityFirewallEvents( + client, + args.request, + { fetchOptions: { signal: ctx.signal } }, + ).$inspect(); + + if (!result.ok) { + return { + content: [{ type: "text", text: result.error.message }], + isError: true, + }; + } + + const value = result.value; + + return formatResult(value, apiCall); + }, +}; diff --git a/src/mcp-server/tools/teamsInviteUserToTeam.ts b/src/mcp-server/tools/teamsInviteUserToTeam.ts index abe8309e2..d5caada99 100644 --- a/src/mcp-server/tools/teamsInviteUserToTeam.ts +++ b/src/mcp-server/tools/teamsInviteUserToTeam.ts @@ -2,19 +2,20 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ +import * as z from "zod/v3"; import { teamsInviteUserToTeam } from "../../funcs/teamsInviteUserToTeam.js"; -import { InviteUserToTeamRequest$inboundSchema } from "../../models/inviteusertoteamop.js"; +import { InviteUserToTeamRequestBody$inboundSchema } from "../../models/inviteusertoteamop.js"; import { formatResult, ToolDefinition } from "../tools.js"; const args = { - request: InviteUserToTeamRequest$inboundSchema, + request: z.array(InviteUserToTeamRequestBody$inboundSchema).optional(), }; export const tool$teamsInviteUserToTeam: ToolDefinition = { name: "teams-invite-user-to-team", description: `Invite a user -Invite a user to join the team specified in the URL. The authenticated user needs to be an \`OWNER\` in order to successfully invoke this endpoint. The user can be specified with an email or an ID. If both email and ID are provided, ID will take priority.`, +Invite a user to join the team specified in the URL. The authenticated user needs to be an \`OWNER\` in order to successfully invoke this endpoint. The user to be invited must be specified by email.`, args, tool: async (client, args, ctx) => { const [result, apiCall] = await teamsInviteUserToTeam( diff --git a/src/models/acceptprojecttransferrequestop.ts b/src/models/acceptprojecttransferrequestop.ts index 4541b5d49..7c00cf8a5 100644 --- a/src/models/acceptprojecttransferrequestop.ts +++ b/src/models/acceptprojecttransferrequestop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; import { collectExtraKeys as collectExtraKeys$, @@ -21,7 +21,7 @@ export type PaidFeatures = { export type AcceptedPolicies = { eula: Date; privacy: Date; - additionalProperties?: { [k: string]: Date }; + additionalProperties?: { [k: string]: Date } | undefined; }; export type AcceptProjectTransferRequestRequestBody = { @@ -78,6 +78,7 @@ export type ResourceTransferErrors = {}; export type AcceptProjectTransferRequestResponseBody1 = { partnerCalls: Array; resourceTransferErrors: Array; + transferredStoreIds: Array; }; /** @@ -97,7 +98,6 @@ export const PaidFeatures$inboundSchema: z.ZodType< passwordProtection: z.nullable(z.boolean()).optional(), previewDeploymentSuffix: z.nullable(z.boolean()).optional(), }); - /** @internal */ export type PaidFeatures$Outbound = { concurrentBuilds?: number | null | undefined; @@ -116,23 +116,9 @@ export const PaidFeatures$outboundSchema: z.ZodType< previewDeploymentSuffix: z.nullable(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 PaidFeatures$ { - /** @deprecated use `PaidFeatures$inboundSchema` instead. */ - export const inboundSchema = PaidFeatures$inboundSchema; - /** @deprecated use `PaidFeatures$outboundSchema` instead. */ - export const outboundSchema = PaidFeatures$outboundSchema; - /** @deprecated use `PaidFeatures$Outbound` instead. */ - export type Outbound = PaidFeatures$Outbound; -} - export function paidFeaturesToJSON(paidFeatures: PaidFeatures): string { return JSON.stringify(PaidFeatures$outboundSchema.parse(paidFeatures)); } - export function paidFeaturesFromJSON( jsonString: string, ): SafeParseResult { @@ -158,7 +144,6 @@ export const AcceptedPolicies$inboundSchema: z.ZodType< "additionalProperties", true, ); - /** @internal */ export type AcceptedPolicies$Outbound = { eula: string; @@ -174,7 +159,8 @@ export const AcceptedPolicies$outboundSchema: z.ZodType< > = z.object({ eula: z.date().transform(v => v.toISOString()), privacy: z.date().transform(v => v.toISOString()), - additionalProperties: z.record(z.date().transform(v => v.toISOString())), + additionalProperties: z.record(z.date().transform(v => v.toISOString())) + .optional(), }).transform((v) => { return { ...v.additionalProperties, @@ -184,19 +170,6 @@ export const AcceptedPolicies$outboundSchema: z.ZodType< }; }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace AcceptedPolicies$ { - /** @deprecated use `AcceptedPolicies$inboundSchema` instead. */ - export const inboundSchema = AcceptedPolicies$inboundSchema; - /** @deprecated use `AcceptedPolicies$outboundSchema` instead. */ - export const outboundSchema = AcceptedPolicies$outboundSchema; - /** @deprecated use `AcceptedPolicies$Outbound` instead. */ - export type Outbound = AcceptedPolicies$Outbound; -} - export function acceptedPoliciesToJSON( acceptedPolicies: AcceptedPolicies, ): string { @@ -204,7 +177,6 @@ export function acceptedPoliciesToJSON( AcceptedPolicies$outboundSchema.parse(acceptedPolicies), ); } - export function acceptedPoliciesFromJSON( jsonString: string, ): SafeParseResult { @@ -226,7 +198,6 @@ export const AcceptProjectTransferRequestRequestBody$inboundSchema: z.ZodType< acceptedPolicies: z.record(z.lazy(() => AcceptedPolicies$inboundSchema)) .optional(), }); - /** @internal */ export type AcceptProjectTransferRequestRequestBody$Outbound = { newProjectName?: string | undefined; @@ -246,21 +217,6 @@ export const AcceptProjectTransferRequestRequestBody$outboundSchema: z.ZodType< .optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace AcceptProjectTransferRequestRequestBody$ { - /** @deprecated use `AcceptProjectTransferRequestRequestBody$inboundSchema` instead. */ - export const inboundSchema = - AcceptProjectTransferRequestRequestBody$inboundSchema; - /** @deprecated use `AcceptProjectTransferRequestRequestBody$outboundSchema` instead. */ - export const outboundSchema = - AcceptProjectTransferRequestRequestBody$outboundSchema; - /** @deprecated use `AcceptProjectTransferRequestRequestBody$Outbound` instead. */ - export type Outbound = AcceptProjectTransferRequestRequestBody$Outbound; -} - export function acceptProjectTransferRequestRequestBodyToJSON( acceptProjectTransferRequestRequestBody: AcceptProjectTransferRequestRequestBody, @@ -271,7 +227,6 @@ export function acceptProjectTransferRequestRequestBodyToJSON( ), ); } - export function acceptProjectTransferRequestRequestBodyFromJSON( jsonString: string, ): SafeParseResult< @@ -305,7 +260,6 @@ export const AcceptProjectTransferRequestRequest$inboundSchema: z.ZodType< "RequestBody": "requestBody", }); }); - /** @internal */ export type AcceptProjectTransferRequestRequest$Outbound = { code: string; @@ -332,21 +286,6 @@ export const AcceptProjectTransferRequestRequest$outboundSchema: z.ZodType< }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace AcceptProjectTransferRequestRequest$ { - /** @deprecated use `AcceptProjectTransferRequestRequest$inboundSchema` instead. */ - export const inboundSchema = - AcceptProjectTransferRequestRequest$inboundSchema; - /** @deprecated use `AcceptProjectTransferRequestRequest$outboundSchema` instead. */ - export const outboundSchema = - AcceptProjectTransferRequestRequest$outboundSchema; - /** @deprecated use `AcceptProjectTransferRequestRequest$Outbound` instead. */ - export type Outbound = AcceptProjectTransferRequestRequest$Outbound; -} - export function acceptProjectTransferRequestRequestToJSON( acceptProjectTransferRequestRequest: AcceptProjectTransferRequestRequest, ): string { @@ -356,7 +295,6 @@ export function acceptProjectTransferRequestRequestToJSON( ), ); } - export function acceptProjectTransferRequestRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -374,7 +312,6 @@ export const AcceptProjectTransferRequestResponseBody2$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({}); - /** @internal */ export type AcceptProjectTransferRequestResponseBody2$Outbound = {}; @@ -386,21 +323,6 @@ export const AcceptProjectTransferRequestResponseBody2$outboundSchema: AcceptProjectTransferRequestResponseBody2 > = 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 AcceptProjectTransferRequestResponseBody2$ { - /** @deprecated use `AcceptProjectTransferRequestResponseBody2$inboundSchema` instead. */ - export const inboundSchema = - AcceptProjectTransferRequestResponseBody2$inboundSchema; - /** @deprecated use `AcceptProjectTransferRequestResponseBody2$outboundSchema` instead. */ - export const outboundSchema = - AcceptProjectTransferRequestResponseBody2$outboundSchema; - /** @deprecated use `AcceptProjectTransferRequestResponseBody2$Outbound` instead. */ - export type Outbound = AcceptProjectTransferRequestResponseBody2$Outbound; -} - export function acceptProjectTransferRequestResponseBody2ToJSON( acceptProjectTransferRequestResponseBody2: AcceptProjectTransferRequestResponseBody2, @@ -411,7 +333,6 @@ export function acceptProjectTransferRequestResponseBody2ToJSON( ), ); } - export function acceptProjectTransferRequestResponseBody2FromJSON( jsonString: string, ): SafeParseResult< @@ -432,25 +353,11 @@ export function acceptProjectTransferRequestResponseBody2FromJSON( export const AcceptProjectTransferRequestResponseBodyStatus$inboundSchema: z.ZodNativeEnum = z .nativeEnum(AcceptProjectTransferRequestResponseBodyStatus); - /** @internal */ export const AcceptProjectTransferRequestResponseBodyStatus$outboundSchema: z.ZodNativeEnum = AcceptProjectTransferRequestResponseBodyStatus$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace AcceptProjectTransferRequestResponseBodyStatus$ { - /** @deprecated use `AcceptProjectTransferRequestResponseBodyStatus$inboundSchema` instead. */ - export const inboundSchema = - AcceptProjectTransferRequestResponseBodyStatus$inboundSchema; - /** @deprecated use `AcceptProjectTransferRequestResponseBodyStatus$outboundSchema` instead. */ - export const outboundSchema = - AcceptProjectTransferRequestResponseBodyStatus$outboundSchema; -} - /** @internal */ export const AcceptProjectTransferRequestResponseBodyError$inboundSchema: z.ZodType< @@ -458,7 +365,6 @@ export const AcceptProjectTransferRequestResponseBodyError$inboundSchema: z.ZodTypeDef, unknown > = z.object({}); - /** @internal */ export type AcceptProjectTransferRequestResponseBodyError$Outbound = {}; @@ -470,21 +376,6 @@ export const AcceptProjectTransferRequestResponseBodyError$outboundSchema: AcceptProjectTransferRequestResponseBodyError > = 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 AcceptProjectTransferRequestResponseBodyError$ { - /** @deprecated use `AcceptProjectTransferRequestResponseBodyError$inboundSchema` instead. */ - export const inboundSchema = - AcceptProjectTransferRequestResponseBodyError$inboundSchema; - /** @deprecated use `AcceptProjectTransferRequestResponseBodyError$outboundSchema` instead. */ - export const outboundSchema = - AcceptProjectTransferRequestResponseBodyError$outboundSchema; - /** @deprecated use `AcceptProjectTransferRequestResponseBodyError$Outbound` instead. */ - export type Outbound = AcceptProjectTransferRequestResponseBodyError$Outbound; -} - export function acceptProjectTransferRequestResponseBodyErrorToJSON( acceptProjectTransferRequestResponseBodyError: AcceptProjectTransferRequestResponseBodyError, @@ -495,7 +386,6 @@ export function acceptProjectTransferRequestResponseBodyErrorToJSON( ), ); } - export function acceptProjectTransferRequestResponseBodyErrorFromJSON( jsonString: string, ): SafeParseResult< @@ -525,7 +415,6 @@ export const AcceptProjectTransferRequestResponseBodyResult$inboundSchema: ).optional(), code: z.string().optional(), }); - /** @internal */ export type AcceptProjectTransferRequestResponseBodyResult$Outbound = { status: string; @@ -547,22 +436,6 @@ export const AcceptProjectTransferRequestResponseBodyResult$outboundSchema: code: z.string().optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace AcceptProjectTransferRequestResponseBodyResult$ { - /** @deprecated use `AcceptProjectTransferRequestResponseBodyResult$inboundSchema` instead. */ - export const inboundSchema = - AcceptProjectTransferRequestResponseBodyResult$inboundSchema; - /** @deprecated use `AcceptProjectTransferRequestResponseBodyResult$outboundSchema` instead. */ - export const outboundSchema = - AcceptProjectTransferRequestResponseBodyResult$outboundSchema; - /** @deprecated use `AcceptProjectTransferRequestResponseBodyResult$Outbound` instead. */ - export type Outbound = - AcceptProjectTransferRequestResponseBodyResult$Outbound; -} - export function acceptProjectTransferRequestResponseBodyResultToJSON( acceptProjectTransferRequestResponseBodyResult: AcceptProjectTransferRequestResponseBodyResult, @@ -573,7 +446,6 @@ export function acceptProjectTransferRequestResponseBodyResultToJSON( ), ); } - export function acceptProjectTransferRequestResponseBodyResultFromJSON( jsonString: string, ): SafeParseResult< @@ -602,7 +474,6 @@ export const PartnerCalls$inboundSchema: z.ZodType< AcceptProjectTransferRequestResponseBodyResult$inboundSchema ), }); - /** @internal */ export type PartnerCalls$Outbound = { installationId: string; @@ -623,23 +494,9 @@ export const PartnerCalls$outboundSchema: z.ZodType< ), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PartnerCalls$ { - /** @deprecated use `PartnerCalls$inboundSchema` instead. */ - export const inboundSchema = PartnerCalls$inboundSchema; - /** @deprecated use `PartnerCalls$outboundSchema` instead. */ - export const outboundSchema = PartnerCalls$outboundSchema; - /** @deprecated use `PartnerCalls$Outbound` instead. */ - export type Outbound = PartnerCalls$Outbound; -} - export function partnerCallsToJSON(partnerCalls: PartnerCalls): string { return JSON.stringify(PartnerCalls$outboundSchema.parse(partnerCalls)); } - export function partnerCallsFromJSON( jsonString: string, ): SafeParseResult { @@ -656,7 +513,6 @@ export const ResourceTransferErrors$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({}); - /** @internal */ export type ResourceTransferErrors$Outbound = {}; @@ -667,19 +523,6 @@ export const ResourceTransferErrors$outboundSchema: z.ZodType< ResourceTransferErrors > = 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 ResourceTransferErrors$ { - /** @deprecated use `ResourceTransferErrors$inboundSchema` instead. */ - export const inboundSchema = ResourceTransferErrors$inboundSchema; - /** @deprecated use `ResourceTransferErrors$outboundSchema` instead. */ - export const outboundSchema = ResourceTransferErrors$outboundSchema; - /** @deprecated use `ResourceTransferErrors$Outbound` instead. */ - export type Outbound = ResourceTransferErrors$Outbound; -} - export function resourceTransferErrorsToJSON( resourceTransferErrors: ResourceTransferErrors, ): string { @@ -687,7 +530,6 @@ export function resourceTransferErrorsToJSON( ResourceTransferErrors$outboundSchema.parse(resourceTransferErrors), ); } - export function resourceTransferErrorsFromJSON( jsonString: string, ): SafeParseResult { @@ -708,12 +550,13 @@ export const AcceptProjectTransferRequestResponseBody1$inboundSchema: z.ZodType< resourceTransferErrors: z.array( z.lazy(() => ResourceTransferErrors$inboundSchema), ), + transferredStoreIds: z.array(z.string()), }); - /** @internal */ export type AcceptProjectTransferRequestResponseBody1$Outbound = { partnerCalls: Array; resourceTransferErrors: Array; + transferredStoreIds: Array; }; /** @internal */ @@ -727,23 +570,9 @@ export const AcceptProjectTransferRequestResponseBody1$outboundSchema: resourceTransferErrors: z.array( z.lazy(() => ResourceTransferErrors$outboundSchema), ), + transferredStoreIds: 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 AcceptProjectTransferRequestResponseBody1$ { - /** @deprecated use `AcceptProjectTransferRequestResponseBody1$inboundSchema` instead. */ - export const inboundSchema = - AcceptProjectTransferRequestResponseBody1$inboundSchema; - /** @deprecated use `AcceptProjectTransferRequestResponseBody1$outboundSchema` instead. */ - export const outboundSchema = - AcceptProjectTransferRequestResponseBody1$outboundSchema; - /** @deprecated use `AcceptProjectTransferRequestResponseBody1$Outbound` instead. */ - export type Outbound = AcceptProjectTransferRequestResponseBody1$Outbound; -} - export function acceptProjectTransferRequestResponseBody1ToJSON( acceptProjectTransferRequestResponseBody1: AcceptProjectTransferRequestResponseBody1, @@ -754,7 +583,6 @@ export function acceptProjectTransferRequestResponseBody1ToJSON( ), ); } - export function acceptProjectTransferRequestResponseBody1FromJSON( jsonString: string, ): SafeParseResult< @@ -780,7 +608,6 @@ export const AcceptProjectTransferRequestResponseBody$inboundSchema: z.ZodType< z.lazy(() => AcceptProjectTransferRequestResponseBody1$inboundSchema), z.lazy(() => AcceptProjectTransferRequestResponseBody2$inboundSchema), ]); - /** @internal */ export type AcceptProjectTransferRequestResponseBody$Outbound = | AcceptProjectTransferRequestResponseBody1$Outbound @@ -796,21 +623,6 @@ export const AcceptProjectTransferRequestResponseBody$outboundSchema: z.ZodType< z.lazy(() => AcceptProjectTransferRequestResponseBody2$outboundSchema), ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace AcceptProjectTransferRequestResponseBody$ { - /** @deprecated use `AcceptProjectTransferRequestResponseBody$inboundSchema` instead. */ - export const inboundSchema = - AcceptProjectTransferRequestResponseBody$inboundSchema; - /** @deprecated use `AcceptProjectTransferRequestResponseBody$outboundSchema` instead. */ - export const outboundSchema = - AcceptProjectTransferRequestResponseBody$outboundSchema; - /** @deprecated use `AcceptProjectTransferRequestResponseBody$Outbound` instead. */ - export type Outbound = AcceptProjectTransferRequestResponseBody$Outbound; -} - export function acceptProjectTransferRequestResponseBodyToJSON( acceptProjectTransferRequestResponseBody: AcceptProjectTransferRequestResponseBody, @@ -821,7 +633,6 @@ export function acceptProjectTransferRequestResponseBodyToJSON( ), ); } - export function acceptProjectTransferRequestResponseBodyFromJSON( jsonString: string, ): SafeParseResult< diff --git a/src/models/aclaction.ts b/src/models/aclaction.ts index 34111a79d..a7deafa1c 100644 --- a/src/models/aclaction.ts +++ b/src/models/aclaction.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { ClosedEnum } from "../types/enums.js"; /** @@ -23,18 +23,6 @@ export type ACLAction = ClosedEnum; /** @internal */ export const ACLAction$inboundSchema: z.ZodNativeEnum = z .nativeEnum(ACLAction); - /** @internal */ export const ACLAction$outboundSchema: z.ZodNativeEnum = ACLAction$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ACLAction$ { - /** @deprecated use `ACLAction$inboundSchema` instead. */ - export const inboundSchema = ACLAction$inboundSchema; - /** @deprecated use `ACLAction$outboundSchema` instead. */ - export const outboundSchema = ACLAction$outboundSchema; -} diff --git a/src/models/addbypassipop.ts b/src/models/addbypassipop.ts index 9f0b6146c..0cb4550db 100644 --- a/src/models/addbypassipop.ts +++ b/src/models/addbypassipop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; @@ -117,7 +117,6 @@ export const AddBypassIpRequestBody2$inboundSchema: z.ZodType< ttl: z.number().optional(), note: z.string().optional(), }); - /** @internal */ export type AddBypassIpRequestBody2$Outbound = { domain?: string | undefined; @@ -142,19 +141,6 @@ export const AddBypassIpRequestBody2$outboundSchema: z.ZodType< 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 AddBypassIpRequestBody2$ { - /** @deprecated use `AddBypassIpRequestBody2$inboundSchema` instead. */ - export const inboundSchema = AddBypassIpRequestBody2$inboundSchema; - /** @deprecated use `AddBypassIpRequestBody2$outboundSchema` instead. */ - export const outboundSchema = AddBypassIpRequestBody2$outboundSchema; - /** @deprecated use `AddBypassIpRequestBody2$Outbound` instead. */ - export type Outbound = AddBypassIpRequestBody2$Outbound; -} - export function addBypassIpRequestBody2ToJSON( addBypassIpRequestBody2: AddBypassIpRequestBody2, ): string { @@ -162,7 +148,6 @@ export function addBypassIpRequestBody2ToJSON( AddBypassIpRequestBody2$outboundSchema.parse(addBypassIpRequestBody2), ); } - export function addBypassIpRequestBody2FromJSON( jsonString: string, ): SafeParseResult { @@ -186,7 +171,6 @@ export const AddBypassIpRequestBody1$inboundSchema: z.ZodType< ttl: z.number().optional(), note: z.string().optional(), }); - /** @internal */ export type AddBypassIpRequestBody1$Outbound = { domain: string; @@ -211,19 +195,6 @@ export const AddBypassIpRequestBody1$outboundSchema: z.ZodType< 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 AddBypassIpRequestBody1$ { - /** @deprecated use `AddBypassIpRequestBody1$inboundSchema` instead. */ - export const inboundSchema = AddBypassIpRequestBody1$inboundSchema; - /** @deprecated use `AddBypassIpRequestBody1$outboundSchema` instead. */ - export const outboundSchema = AddBypassIpRequestBody1$outboundSchema; - /** @deprecated use `AddBypassIpRequestBody1$Outbound` instead. */ - export type Outbound = AddBypassIpRequestBody1$Outbound; -} - export function addBypassIpRequestBody1ToJSON( addBypassIpRequestBody1: AddBypassIpRequestBody1, ): string { @@ -231,7 +202,6 @@ export function addBypassIpRequestBody1ToJSON( AddBypassIpRequestBody1$outboundSchema.parse(addBypassIpRequestBody1), ); } - export function addBypassIpRequestBody1FromJSON( jsonString: string, ): SafeParseResult { @@ -251,7 +221,6 @@ export const AddBypassIpRequestBody$inboundSchema: z.ZodType< z.lazy(() => AddBypassIpRequestBody1$inboundSchema), z.lazy(() => AddBypassIpRequestBody2$inboundSchema), ]); - /** @internal */ export type AddBypassIpRequestBody$Outbound = | AddBypassIpRequestBody1$Outbound @@ -267,19 +236,6 @@ export const AddBypassIpRequestBody$outboundSchema: z.ZodType< z.lazy(() => AddBypassIpRequestBody2$outboundSchema), ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace AddBypassIpRequestBody$ { - /** @deprecated use `AddBypassIpRequestBody$inboundSchema` instead. */ - export const inboundSchema = AddBypassIpRequestBody$inboundSchema; - /** @deprecated use `AddBypassIpRequestBody$outboundSchema` instead. */ - export const outboundSchema = AddBypassIpRequestBody$outboundSchema; - /** @deprecated use `AddBypassIpRequestBody$Outbound` instead. */ - export type Outbound = AddBypassIpRequestBody$Outbound; -} - export function addBypassIpRequestBodyToJSON( addBypassIpRequestBody: AddBypassIpRequestBody, ): string { @@ -287,7 +243,6 @@ export function addBypassIpRequestBodyToJSON( AddBypassIpRequestBody$outboundSchema.parse(addBypassIpRequestBody), ); } - export function addBypassIpRequestBodyFromJSON( jsonString: string, ): SafeParseResult { @@ -316,7 +271,6 @@ export const AddBypassIpRequest$inboundSchema: z.ZodType< "RequestBody": "requestBody", }); }); - /** @internal */ export type AddBypassIpRequest$Outbound = { projectId: string; @@ -347,19 +301,6 @@ export const AddBypassIpRequest$outboundSchema: z.ZodType< }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace AddBypassIpRequest$ { - /** @deprecated use `AddBypassIpRequest$inboundSchema` instead. */ - export const inboundSchema = AddBypassIpRequest$inboundSchema; - /** @deprecated use `AddBypassIpRequest$outboundSchema` instead. */ - export const outboundSchema = AddBypassIpRequest$outboundSchema; - /** @deprecated use `AddBypassIpRequest$Outbound` instead. */ - export type Outbound = AddBypassIpRequest$Outbound; -} - export function addBypassIpRequestToJSON( addBypassIpRequest: AddBypassIpRequest, ): string { @@ -367,7 +308,6 @@ export function addBypassIpRequestToJSON( AddBypassIpRequest$outboundSchema.parse(addBypassIpRequest), ); } - export function addBypassIpRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -382,23 +322,11 @@ export function addBypassIpRequestFromJSON( export const ResponseBodyAction$inboundSchema: z.ZodNativeEnum< typeof ResponseBodyAction > = z.nativeEnum(ResponseBodyAction); - /** @internal */ export const ResponseBodyAction$outboundSchema: z.ZodNativeEnum< typeof ResponseBodyAction > = ResponseBodyAction$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ResponseBodyAction$ { - /** @deprecated use `ResponseBodyAction$inboundSchema` instead. */ - export const inboundSchema = ResponseBodyAction$inboundSchema; - /** @deprecated use `ResponseBodyAction$outboundSchema` instead. */ - export const outboundSchema = ResponseBodyAction$outboundSchema; -} - /** @internal */ export const AddBypassIpResponseBodyResult$inboundSchema: z.ZodType< AddBypassIpResponseBodyResult, @@ -437,7 +365,6 @@ export const AddBypassIpResponseBodyResult$inboundSchema: z.ZodType< "ExpiresAt": "expiresAt", }); }); - /** @internal */ export type AddBypassIpResponseBodyResult$Outbound = { OwnerId: string; @@ -495,19 +422,6 @@ export const AddBypassIpResponseBodyResult$outboundSchema: z.ZodType< }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace AddBypassIpResponseBodyResult$ { - /** @deprecated use `AddBypassIpResponseBodyResult$inboundSchema` instead. */ - export const inboundSchema = AddBypassIpResponseBodyResult$inboundSchema; - /** @deprecated use `AddBypassIpResponseBodyResult$outboundSchema` instead. */ - export const outboundSchema = AddBypassIpResponseBodyResult$outboundSchema; - /** @deprecated use `AddBypassIpResponseBodyResult$Outbound` instead. */ - export type Outbound = AddBypassIpResponseBodyResult$Outbound; -} - export function addBypassIpResponseBodyResultToJSON( addBypassIpResponseBodyResult: AddBypassIpResponseBodyResult, ): string { @@ -517,7 +431,6 @@ export function addBypassIpResponseBodyResultToJSON( ), ); } - export function addBypassIpResponseBodyResultFromJSON( jsonString: string, ): SafeParseResult { @@ -538,7 +451,6 @@ export const AddBypassIpResponseBody2$inboundSchema: z.ZodType< result: z.array(z.lazy(() => AddBypassIpResponseBodyResult$inboundSchema)) .optional(), }); - /** @internal */ export type AddBypassIpResponseBody2$Outbound = { ok: boolean; @@ -556,19 +468,6 @@ export const AddBypassIpResponseBody2$outboundSchema: z.ZodType< .optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace AddBypassIpResponseBody2$ { - /** @deprecated use `AddBypassIpResponseBody2$inboundSchema` instead. */ - export const inboundSchema = AddBypassIpResponseBody2$inboundSchema; - /** @deprecated use `AddBypassIpResponseBody2$outboundSchema` instead. */ - export const outboundSchema = AddBypassIpResponseBody2$outboundSchema; - /** @deprecated use `AddBypassIpResponseBody2$Outbound` instead. */ - export type Outbound = AddBypassIpResponseBody2$Outbound; -} - export function addBypassIpResponseBody2ToJSON( addBypassIpResponseBody2: AddBypassIpResponseBody2, ): string { @@ -576,7 +475,6 @@ export function addBypassIpResponseBody2ToJSON( AddBypassIpResponseBody2$outboundSchema.parse(addBypassIpResponseBody2), ); } - export function addBypassIpResponseBody2FromJSON( jsonString: string, ): SafeParseResult { @@ -611,7 +509,6 @@ export const ResponseBodyResult$inboundSchema: z.ZodType< "IsProjectRule": "isProjectRule", }); }); - /** @internal */ export type ResponseBodyResult$Outbound = { OwnerId: string; @@ -648,19 +545,6 @@ export const ResponseBodyResult$outboundSchema: z.ZodType< }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ResponseBodyResult$ { - /** @deprecated use `ResponseBodyResult$inboundSchema` instead. */ - export const inboundSchema = ResponseBodyResult$inboundSchema; - /** @deprecated use `ResponseBodyResult$outboundSchema` instead. */ - export const outboundSchema = ResponseBodyResult$outboundSchema; - /** @deprecated use `ResponseBodyResult$Outbound` instead. */ - export type Outbound = ResponseBodyResult$Outbound; -} - export function responseBodyResultToJSON( responseBodyResult: ResponseBodyResult, ): string { @@ -668,7 +552,6 @@ export function responseBodyResultToJSON( ResponseBodyResult$outboundSchema.parse(responseBodyResult), ); } - export function responseBodyResultFromJSON( jsonString: string, ): SafeParseResult { @@ -689,7 +572,6 @@ export const AddBypassIpResponseBody1$inboundSchema: z.ZodType< result: z.array(z.lazy(() => ResponseBodyResult$inboundSchema)), pagination: z.nullable(z.any()).optional(), }); - /** @internal */ export type AddBypassIpResponseBody1$Outbound = { ok: boolean; @@ -708,19 +590,6 @@ export const AddBypassIpResponseBody1$outboundSchema: z.ZodType< pagination: 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 AddBypassIpResponseBody1$ { - /** @deprecated use `AddBypassIpResponseBody1$inboundSchema` instead. */ - export const inboundSchema = AddBypassIpResponseBody1$inboundSchema; - /** @deprecated use `AddBypassIpResponseBody1$outboundSchema` instead. */ - export const outboundSchema = AddBypassIpResponseBody1$outboundSchema; - /** @deprecated use `AddBypassIpResponseBody1$Outbound` instead. */ - export type Outbound = AddBypassIpResponseBody1$Outbound; -} - export function addBypassIpResponseBody1ToJSON( addBypassIpResponseBody1: AddBypassIpResponseBody1, ): string { @@ -728,7 +597,6 @@ export function addBypassIpResponseBody1ToJSON( AddBypassIpResponseBody1$outboundSchema.parse(addBypassIpResponseBody1), ); } - export function addBypassIpResponseBody1FromJSON( jsonString: string, ): SafeParseResult { @@ -748,7 +616,6 @@ export const AddBypassIpResponseBody$inboundSchema: z.ZodType< z.lazy(() => AddBypassIpResponseBody1$inboundSchema), z.lazy(() => AddBypassIpResponseBody2$inboundSchema), ]); - /** @internal */ export type AddBypassIpResponseBody$Outbound = | AddBypassIpResponseBody1$Outbound @@ -764,19 +631,6 @@ export const AddBypassIpResponseBody$outboundSchema: z.ZodType< z.lazy(() => AddBypassIpResponseBody2$outboundSchema), ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace AddBypassIpResponseBody$ { - /** @deprecated use `AddBypassIpResponseBody$inboundSchema` instead. */ - export const inboundSchema = AddBypassIpResponseBody$inboundSchema; - /** @deprecated use `AddBypassIpResponseBody$outboundSchema` instead. */ - export const outboundSchema = AddBypassIpResponseBody$outboundSchema; - /** @deprecated use `AddBypassIpResponseBody$Outbound` instead. */ - export type Outbound = AddBypassIpResponseBody$Outbound; -} - export function addBypassIpResponseBodyToJSON( addBypassIpResponseBody: AddBypassIpResponseBody, ): string { @@ -784,7 +638,6 @@ export function addBypassIpResponseBodyToJSON( AddBypassIpResponseBody$outboundSchema.parse(addBypassIpResponseBody), ); } - export function addBypassIpResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/addprojectdomainop.ts b/src/models/addprojectdomainop.ts index 54bd96868..4a1a8874e 100644 --- a/src/models/addprojectdomainop.ts +++ b/src/models/addprojectdomainop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; @@ -101,24 +101,11 @@ export type AddProjectDomainResponseBody = { 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, @@ -133,7 +120,6 @@ export const AddProjectDomainRequestBody$inboundSchema: z.ZodType< AddProjectDomainRedirectStatusCode$inboundSchema, ).optional(), }); - /** @internal */ export type AddProjectDomainRequestBody$Outbound = { name: string; @@ -158,19 +144,6 @@ export const AddProjectDomainRequestBody$outboundSchema: z.ZodType< ).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 { @@ -180,7 +153,6 @@ export function addProjectDomainRequestBodyToJSON( ), ); } - export function addProjectDomainRequestBodyFromJSON( jsonString: string, ): SafeParseResult { @@ -206,7 +178,6 @@ export const AddProjectDomainRequest$inboundSchema: z.ZodType< "RequestBody": "requestBody", }); }); - /** @internal */ export type AddProjectDomainRequest$Outbound = { idOrName: string; @@ -231,19 +202,6 @@ export const AddProjectDomainRequest$outboundSchema: z.ZodType< }); }); -/** - * @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 { @@ -251,7 +209,6 @@ export function addProjectDomainRequestToJSON( AddProjectDomainRequest$outboundSchema.parse(addProjectDomainRequest), ); } - export function addProjectDomainRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -273,7 +230,6 @@ export const AddProjectDomainVerification$inboundSchema: z.ZodType< value: z.string(), reason: z.string(), }); - /** @internal */ export type AddProjectDomainVerification$Outbound = { type: string; @@ -294,19 +250,6 @@ export const AddProjectDomainVerification$outboundSchema: z.ZodType< 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 { @@ -316,7 +259,6 @@ export function addProjectDomainVerificationToJSON( ), ); } - export function addProjectDomainVerificationFromJSON( jsonString: string, ): SafeParseResult { @@ -347,7 +289,6 @@ export const AddProjectDomainResponseBody$inboundSchema: z.ZodType< z.lazy(() => AddProjectDomainVerification$inboundSchema), ).optional(), }); - /** @internal */ export type AddProjectDomainResponseBody$Outbound = { name: string; @@ -384,19 +325,6 @@ export const AddProjectDomainResponseBody$outboundSchema: z.ZodType< ).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 { @@ -406,7 +334,6 @@ export function addProjectDomainResponseBodyToJSON( ), ); } - export function addProjectDomainResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/addprojectmemberop.ts b/src/models/addprojectmemberop.ts index 0aae8ea79..168db6e13 100644 --- a/src/models/addprojectmemberop.ts +++ b/src/models/addprojectmemberop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; @@ -144,25 +144,11 @@ export type AddProjectMemberResponseBody = { 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, @@ -174,7 +160,6 @@ export const AddProjectMemberRequestBody3$inboundSchema: z.ZodType< email: z.string(), role: AddProjectMemberRequestBodyProjectMembersRole$inboundSchema, }); - /** @internal */ export type AddProjectMemberRequestBody3$Outbound = { uid?: string | undefined; @@ -195,19 +180,6 @@ export const AddProjectMemberRequestBody3$outboundSchema: z.ZodType< 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 { @@ -217,7 +189,6 @@ export function addProjectMemberRequestBody3ToJSON( ), ); } - export function addProjectMemberRequestBody3FromJSON( jsonString: string, ): SafeParseResult { @@ -232,23 +203,11 @@ export function addProjectMemberRequestBody3FromJSON( 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, @@ -260,7 +219,6 @@ export const AddProjectMemberRequestBody2$inboundSchema: z.ZodType< email: z.string().optional(), role: AddProjectMemberRequestBodyRole$inboundSchema, }); - /** @internal */ export type AddProjectMemberRequestBody2$Outbound = { uid?: string | undefined; @@ -281,19 +239,6 @@ export const AddProjectMemberRequestBody2$outboundSchema: z.ZodType< 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 { @@ -303,7 +248,6 @@ export function addProjectMemberRequestBody2ToJSON( ), ); } - export function addProjectMemberRequestBody2FromJSON( jsonString: string, ): SafeParseResult { @@ -318,23 +262,11 @@ export function addProjectMemberRequestBody2FromJSON( 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, @@ -346,7 +278,6 @@ export const AddProjectMemberRequestBody1$inboundSchema: z.ZodType< email: z.string().optional(), role: RequestBodyRole$inboundSchema, }); - /** @internal */ export type AddProjectMemberRequestBody1$Outbound = { uid: string; @@ -367,19 +298,6 @@ export const AddProjectMemberRequestBody1$outboundSchema: z.ZodType< 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 { @@ -389,7 +307,6 @@ export function addProjectMemberRequestBody1ToJSON( ), ); } - export function addProjectMemberRequestBody1FromJSON( jsonString: string, ): SafeParseResult { @@ -410,7 +327,6 @@ export const AddProjectMemberRequestBody$inboundSchema: z.ZodType< z.lazy(() => AddProjectMemberRequestBody2$inboundSchema), z.lazy(() => AddProjectMemberRequestBody3$inboundSchema), ]); - /** @internal */ export type AddProjectMemberRequestBody$Outbound = | AddProjectMemberRequestBody1$Outbound @@ -428,19 +344,6 @@ export const AddProjectMemberRequestBody$outboundSchema: z.ZodType< 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 { @@ -450,7 +353,6 @@ export function addProjectMemberRequestBodyToJSON( ), ); } - export function addProjectMemberRequestBodyFromJSON( jsonString: string, ): SafeParseResult { @@ -480,7 +382,6 @@ export const AddProjectMemberRequest$inboundSchema: z.ZodType< "RequestBody": "requestBody", }); }); - /** @internal */ export type AddProjectMemberRequest$Outbound = { idOrName: string; @@ -512,19 +413,6 @@ export const AddProjectMemberRequest$outboundSchema: z.ZodType< }); }); -/** - * @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 { @@ -532,7 +420,6 @@ export function addProjectMemberRequestToJSON( AddProjectMemberRequest$outboundSchema.parse(addProjectMemberRequest), ); } - export function addProjectMemberRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -551,7 +438,6 @@ export const AddProjectMemberResponseBody$inboundSchema: z.ZodType< > = z.object({ id: z.string(), }); - /** @internal */ export type AddProjectMemberResponseBody$Outbound = { id: string; @@ -566,19 +452,6 @@ export const AddProjectMemberResponseBody$outboundSchema: z.ZodType< 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 { @@ -588,7 +461,6 @@ export function addProjectMemberResponseBodyToJSON( ), ); } - export function addProjectMemberResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/approverollingreleasestageop.ts b/src/models/approverollingreleasestageop.ts index 1d64c2187..350113086 100644 --- a/src/models/approverollingreleasestageop.ts +++ b/src/models/approverollingreleasestageop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; @@ -51,14 +51,23 @@ export type ApproveRollingReleaseStageState = ClosedEnum< typeof ApproveRollingReleaseStageState >; +/** + * If defined, either `staging` if a staging alias in the format `..now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment. + */ export const ApproveRollingReleaseStageTarget = { Staging: "staging", Production: "production", } as const; +/** + * If defined, either `staging` if a staging alias in the format `..now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment. + */ export type ApproveRollingReleaseStageTarget = ClosedEnum< typeof ApproveRollingReleaseStageTarget >; +/** + * Where was the deployment created from + */ export const ApproveRollingReleaseStageSource = { ApiTriggerGitDeploy: "api-trigger-git-deploy", Cli: "cli", @@ -69,10 +78,16 @@ export const ApproveRollingReleaseStageSource = { Redeploy: "redeploy", V0Web: "v0-web", } as const; +/** + * Where was the deployment created from + */ export type ApproveRollingReleaseStageSource = ClosedEnum< typeof ApproveRollingReleaseStageSource >; +/** + * The state of the deployment depending on the process of deploying, or if it is ready or in an error state + */ export const ApproveRollingReleaseStageReadyState = { Building: "BUILDING", Error: "ERROR", @@ -81,6 +96,9 @@ export const ApproveRollingReleaseStageReadyState = { Ready: "READY", Canceled: "CANCELED", } as const; +/** + * The state of the deployment depending on the process of deploying, or if it is ready or in an error state + */ export type ApproveRollingReleaseStageReadyState = ClosedEnum< typeof ApproveRollingReleaseStageReadyState >; @@ -89,24 +107,54 @@ export type ApproveRollingReleaseStageReadyState = ClosedEnum< * The current deployment receiving production traffic */ export type ApproveRollingReleaseStageCurrentDeployment = { + /** + * A string holding the unique ID of the deployment + */ id: string; + /** + * The name of the project associated with the deployment at the time that the deployment was created + */ name: string; + /** + * A string with the unique URL of the deployment + */ url: string; + /** + * If defined, either `staging` if a staging alias in the format `..now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment. + */ target?: ApproveRollingReleaseStageTarget | null | undefined; + /** + * Where was the deployment created from + */ source?: ApproveRollingReleaseStageSource | undefined; + /** + * A number containing the date when the deployment was created in milliseconds + */ createdAt: number; + /** + * The state of the deployment depending on the process of deploying, or if it is ready or in an error state + */ readyState: ApproveRollingReleaseStageReadyState; readyStateAt?: number | undefined; }; +/** + * If defined, either `staging` if a staging alias in the format `..now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment. + */ export const ApproveRollingReleaseStageRollingReleaseTarget = { Staging: "staging", Production: "production", } as const; +/** + * If defined, either `staging` if a staging alias in the format `..now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment. + */ export type ApproveRollingReleaseStageRollingReleaseTarget = ClosedEnum< typeof ApproveRollingReleaseStageRollingReleaseTarget >; +/** + * Where was the deployment created from + */ export const ApproveRollingReleaseStageRollingReleaseSource = { ApiTriggerGitDeploy: "api-trigger-git-deploy", Cli: "cli", @@ -117,10 +165,16 @@ export const ApproveRollingReleaseStageRollingReleaseSource = { Redeploy: "redeploy", V0Web: "v0-web", } as const; +/** + * Where was the deployment created from + */ export type ApproveRollingReleaseStageRollingReleaseSource = ClosedEnum< typeof ApproveRollingReleaseStageRollingReleaseSource >; +/** + * The state of the deployment depending on the process of deploying, or if it is ready or in an error state + */ export const ApproveRollingReleaseStageRollingReleaseReadyState = { Building: "BUILDING", Error: "ERROR", @@ -129,6 +183,9 @@ export const ApproveRollingReleaseStageRollingReleaseReadyState = { Ready: "READY", Canceled: "CANCELED", } as const; +/** + * The state of the deployment depending on the process of deploying, or if it is ready or in an error state + */ export type ApproveRollingReleaseStageRollingReleaseReadyState = ClosedEnum< typeof ApproveRollingReleaseStageRollingReleaseReadyState >; @@ -137,12 +194,33 @@ export type ApproveRollingReleaseStageRollingReleaseReadyState = ClosedEnum< * The canary deployment being rolled out */ export type ApproveRollingReleaseStageCanaryDeployment = { + /** + * A string holding the unique ID of the deployment + */ id: string; + /** + * The name of the project associated with the deployment at the time that the deployment was created + */ name: string; + /** + * A string with the unique URL of the deployment + */ url: string; + /** + * If defined, either `staging` if a staging alias in the format `..now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment. + */ target?: ApproveRollingReleaseStageRollingReleaseTarget | null | undefined; + /** + * Where was the deployment created from + */ source?: ApproveRollingReleaseStageRollingReleaseSource | undefined; + /** + * A number containing the date when the deployment was created in milliseconds + */ createdAt: number; + /** + * The state of the deployment depending on the process of deploying, or if it is ready or in an error state + */ readyState: ApproveRollingReleaseStageRollingReleaseReadyState; readyStateAt?: number | undefined; }; @@ -316,7 +394,6 @@ export const ApproveRollingReleaseStageRequestBody$inboundSchema: z.ZodType< nextStageIndex: z.number(), canaryDeploymentId: z.string(), }); - /** @internal */ export type ApproveRollingReleaseStageRequestBody$Outbound = { nextStageIndex: number; @@ -333,21 +410,6 @@ export const ApproveRollingReleaseStageRequestBody$outboundSchema: z.ZodType< canaryDeploymentId: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ApproveRollingReleaseStageRequestBody$ { - /** @deprecated use `ApproveRollingReleaseStageRequestBody$inboundSchema` instead. */ - export const inboundSchema = - ApproveRollingReleaseStageRequestBody$inboundSchema; - /** @deprecated use `ApproveRollingReleaseStageRequestBody$outboundSchema` instead. */ - export const outboundSchema = - ApproveRollingReleaseStageRequestBody$outboundSchema; - /** @deprecated use `ApproveRollingReleaseStageRequestBody$Outbound` instead. */ - export type Outbound = ApproveRollingReleaseStageRequestBody$Outbound; -} - export function approveRollingReleaseStageRequestBodyToJSON( approveRollingReleaseStageRequestBody: ApproveRollingReleaseStageRequestBody, ): string { @@ -357,7 +419,6 @@ export function approveRollingReleaseStageRequestBodyToJSON( ), ); } - export function approveRollingReleaseStageRequestBodyFromJSON( jsonString: string, ): SafeParseResult { @@ -385,7 +446,6 @@ export const ApproveRollingReleaseStageRequest$inboundSchema: z.ZodType< "RequestBody": "requestBody", }); }); - /** @internal */ export type ApproveRollingReleaseStageRequest$Outbound = { idOrName: string; @@ -412,20 +472,6 @@ export const ApproveRollingReleaseStageRequest$outboundSchema: z.ZodType< }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ApproveRollingReleaseStageRequest$ { - /** @deprecated use `ApproveRollingReleaseStageRequest$inboundSchema` instead. */ - export const inboundSchema = ApproveRollingReleaseStageRequest$inboundSchema; - /** @deprecated use `ApproveRollingReleaseStageRequest$outboundSchema` instead. */ - export const outboundSchema = - ApproveRollingReleaseStageRequest$outboundSchema; - /** @deprecated use `ApproveRollingReleaseStageRequest$Outbound` instead. */ - export type Outbound = ApproveRollingReleaseStageRequest$Outbound; -} - export function approveRollingReleaseStageRequestToJSON( approveRollingReleaseStageRequest: ApproveRollingReleaseStageRequest, ): string { @@ -435,7 +481,6 @@ export function approveRollingReleaseStageRequestToJSON( ), ); } - export function approveRollingReleaseStageRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -450,89 +495,39 @@ export function approveRollingReleaseStageRequestFromJSON( export const ApproveRollingReleaseStageState$inboundSchema: z.ZodNativeEnum< typeof ApproveRollingReleaseStageState > = z.nativeEnum(ApproveRollingReleaseStageState); - /** @internal */ export const ApproveRollingReleaseStageState$outboundSchema: z.ZodNativeEnum< typeof ApproveRollingReleaseStageState > = ApproveRollingReleaseStageState$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ApproveRollingReleaseStageState$ { - /** @deprecated use `ApproveRollingReleaseStageState$inboundSchema` instead. */ - export const inboundSchema = ApproveRollingReleaseStageState$inboundSchema; - /** @deprecated use `ApproveRollingReleaseStageState$outboundSchema` instead. */ - export const outboundSchema = ApproveRollingReleaseStageState$outboundSchema; -} - /** @internal */ export const ApproveRollingReleaseStageTarget$inboundSchema: z.ZodNativeEnum< typeof ApproveRollingReleaseStageTarget > = z.nativeEnum(ApproveRollingReleaseStageTarget); - /** @internal */ export const ApproveRollingReleaseStageTarget$outboundSchema: z.ZodNativeEnum< typeof ApproveRollingReleaseStageTarget > = ApproveRollingReleaseStageTarget$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ApproveRollingReleaseStageTarget$ { - /** @deprecated use `ApproveRollingReleaseStageTarget$inboundSchema` instead. */ - export const inboundSchema = ApproveRollingReleaseStageTarget$inboundSchema; - /** @deprecated use `ApproveRollingReleaseStageTarget$outboundSchema` instead. */ - export const outboundSchema = ApproveRollingReleaseStageTarget$outboundSchema; -} - /** @internal */ export const ApproveRollingReleaseStageSource$inboundSchema: z.ZodNativeEnum< typeof ApproveRollingReleaseStageSource > = z.nativeEnum(ApproveRollingReleaseStageSource); - /** @internal */ export const ApproveRollingReleaseStageSource$outboundSchema: z.ZodNativeEnum< typeof ApproveRollingReleaseStageSource > = ApproveRollingReleaseStageSource$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ApproveRollingReleaseStageSource$ { - /** @deprecated use `ApproveRollingReleaseStageSource$inboundSchema` instead. */ - export const inboundSchema = ApproveRollingReleaseStageSource$inboundSchema; - /** @deprecated use `ApproveRollingReleaseStageSource$outboundSchema` instead. */ - export const outboundSchema = ApproveRollingReleaseStageSource$outboundSchema; -} - /** @internal */ export const ApproveRollingReleaseStageReadyState$inboundSchema: z.ZodNativeEnum = z.nativeEnum( ApproveRollingReleaseStageReadyState, ); - /** @internal */ export const ApproveRollingReleaseStageReadyState$outboundSchema: z.ZodNativeEnum = ApproveRollingReleaseStageReadyState$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ApproveRollingReleaseStageReadyState$ { - /** @deprecated use `ApproveRollingReleaseStageReadyState$inboundSchema` instead. */ - export const inboundSchema = - ApproveRollingReleaseStageReadyState$inboundSchema; - /** @deprecated use `ApproveRollingReleaseStageReadyState$outboundSchema` instead. */ - export const outboundSchema = - ApproveRollingReleaseStageReadyState$outboundSchema; -} - /** @internal */ export const ApproveRollingReleaseStageCurrentDeployment$inboundSchema: z.ZodType< @@ -550,7 +545,6 @@ export const ApproveRollingReleaseStageCurrentDeployment$inboundSchema: readyState: ApproveRollingReleaseStageReadyState$inboundSchema, readyStateAt: z.number().optional(), }); - /** @internal */ export type ApproveRollingReleaseStageCurrentDeployment$Outbound = { id: string; @@ -581,21 +575,6 @@ export const ApproveRollingReleaseStageCurrentDeployment$outboundSchema: readyStateAt: 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 ApproveRollingReleaseStageCurrentDeployment$ { - /** @deprecated use `ApproveRollingReleaseStageCurrentDeployment$inboundSchema` instead. */ - export const inboundSchema = - ApproveRollingReleaseStageCurrentDeployment$inboundSchema; - /** @deprecated use `ApproveRollingReleaseStageCurrentDeployment$outboundSchema` instead. */ - export const outboundSchema = - ApproveRollingReleaseStageCurrentDeployment$outboundSchema; - /** @deprecated use `ApproveRollingReleaseStageCurrentDeployment$Outbound` instead. */ - export type Outbound = ApproveRollingReleaseStageCurrentDeployment$Outbound; -} - export function approveRollingReleaseStageCurrentDeploymentToJSON( approveRollingReleaseStageCurrentDeployment: ApproveRollingReleaseStageCurrentDeployment, @@ -606,7 +585,6 @@ export function approveRollingReleaseStageCurrentDeploymentToJSON( ), ); } - export function approveRollingReleaseStageCurrentDeploymentFromJSON( jsonString: string, ): SafeParseResult< @@ -627,71 +605,29 @@ export function approveRollingReleaseStageCurrentDeploymentFromJSON( export const ApproveRollingReleaseStageRollingReleaseTarget$inboundSchema: z.ZodNativeEnum = z .nativeEnum(ApproveRollingReleaseStageRollingReleaseTarget); - /** @internal */ export const ApproveRollingReleaseStageRollingReleaseTarget$outboundSchema: z.ZodNativeEnum = ApproveRollingReleaseStageRollingReleaseTarget$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ApproveRollingReleaseStageRollingReleaseTarget$ { - /** @deprecated use `ApproveRollingReleaseStageRollingReleaseTarget$inboundSchema` instead. */ - export const inboundSchema = - ApproveRollingReleaseStageRollingReleaseTarget$inboundSchema; - /** @deprecated use `ApproveRollingReleaseStageRollingReleaseTarget$outboundSchema` instead. */ - export const outboundSchema = - ApproveRollingReleaseStageRollingReleaseTarget$outboundSchema; -} - /** @internal */ export const ApproveRollingReleaseStageRollingReleaseSource$inboundSchema: z.ZodNativeEnum = z .nativeEnum(ApproveRollingReleaseStageRollingReleaseSource); - /** @internal */ export const ApproveRollingReleaseStageRollingReleaseSource$outboundSchema: z.ZodNativeEnum = ApproveRollingReleaseStageRollingReleaseSource$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ApproveRollingReleaseStageRollingReleaseSource$ { - /** @deprecated use `ApproveRollingReleaseStageRollingReleaseSource$inboundSchema` instead. */ - export const inboundSchema = - ApproveRollingReleaseStageRollingReleaseSource$inboundSchema; - /** @deprecated use `ApproveRollingReleaseStageRollingReleaseSource$outboundSchema` instead. */ - export const outboundSchema = - ApproveRollingReleaseStageRollingReleaseSource$outboundSchema; -} - /** @internal */ export const ApproveRollingReleaseStageRollingReleaseReadyState$inboundSchema: z.ZodNativeEnum = z .nativeEnum(ApproveRollingReleaseStageRollingReleaseReadyState); - /** @internal */ export const ApproveRollingReleaseStageRollingReleaseReadyState$outboundSchema: z.ZodNativeEnum = ApproveRollingReleaseStageRollingReleaseReadyState$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ApproveRollingReleaseStageRollingReleaseReadyState$ { - /** @deprecated use `ApproveRollingReleaseStageRollingReleaseReadyState$inboundSchema` instead. */ - export const inboundSchema = - ApproveRollingReleaseStageRollingReleaseReadyState$inboundSchema; - /** @deprecated use `ApproveRollingReleaseStageRollingReleaseReadyState$outboundSchema` instead. */ - export const outboundSchema = - ApproveRollingReleaseStageRollingReleaseReadyState$outboundSchema; -} - /** @internal */ export const ApproveRollingReleaseStageCanaryDeployment$inboundSchema: z.ZodType = @@ -709,7 +645,6 @@ export const ApproveRollingReleaseStageCanaryDeployment$inboundSchema: ApproveRollingReleaseStageRollingReleaseReadyState$inboundSchema, readyStateAt: z.number().optional(), }); - /** @internal */ export type ApproveRollingReleaseStageCanaryDeployment$Outbound = { id: string; @@ -743,21 +678,6 @@ export const ApproveRollingReleaseStageCanaryDeployment$outboundSchema: readyStateAt: 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 ApproveRollingReleaseStageCanaryDeployment$ { - /** @deprecated use `ApproveRollingReleaseStageCanaryDeployment$inboundSchema` instead. */ - export const inboundSchema = - ApproveRollingReleaseStageCanaryDeployment$inboundSchema; - /** @deprecated use `ApproveRollingReleaseStageCanaryDeployment$outboundSchema` instead. */ - export const outboundSchema = - ApproveRollingReleaseStageCanaryDeployment$outboundSchema; - /** @deprecated use `ApproveRollingReleaseStageCanaryDeployment$Outbound` instead. */ - export type Outbound = ApproveRollingReleaseStageCanaryDeployment$Outbound; -} - export function approveRollingReleaseStageCanaryDeploymentToJSON( approveRollingReleaseStageCanaryDeployment: ApproveRollingReleaseStageCanaryDeployment, @@ -768,7 +688,6 @@ export function approveRollingReleaseStageCanaryDeploymentToJSON( ), ); } - export function approveRollingReleaseStageCanaryDeploymentFromJSON( jsonString: string, ): SafeParseResult< @@ -789,25 +708,11 @@ export function approveRollingReleaseStageCanaryDeploymentFromJSON( export const ApproveRollingReleaseStageAdvancementType$inboundSchema: z.ZodNativeEnum = z .nativeEnum(ApproveRollingReleaseStageAdvancementType); - /** @internal */ export const ApproveRollingReleaseStageAdvancementType$outboundSchema: z.ZodNativeEnum = ApproveRollingReleaseStageAdvancementType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ApproveRollingReleaseStageAdvancementType$ { - /** @deprecated use `ApproveRollingReleaseStageAdvancementType$inboundSchema` instead. */ - export const inboundSchema = - ApproveRollingReleaseStageAdvancementType$inboundSchema; - /** @deprecated use `ApproveRollingReleaseStageAdvancementType$outboundSchema` instead. */ - export const outboundSchema = - ApproveRollingReleaseStageAdvancementType$outboundSchema; -} - /** @internal */ export const ApproveRollingReleaseStageStages$inboundSchema: z.ZodType< ApproveRollingReleaseStageStages, @@ -821,7 +726,6 @@ export const ApproveRollingReleaseStageStages$inboundSchema: z.ZodType< duration: z.nullable(z.number()), linearShift: z.boolean().optional(), }); - /** @internal */ export type ApproveRollingReleaseStageStages$Outbound = { index: number; @@ -846,19 +750,6 @@ export const ApproveRollingReleaseStageStages$outboundSchema: z.ZodType< linearShift: 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 ApproveRollingReleaseStageStages$ { - /** @deprecated use `ApproveRollingReleaseStageStages$inboundSchema` instead. */ - export const inboundSchema = ApproveRollingReleaseStageStages$inboundSchema; - /** @deprecated use `ApproveRollingReleaseStageStages$outboundSchema` instead. */ - export const outboundSchema = ApproveRollingReleaseStageStages$outboundSchema; - /** @deprecated use `ApproveRollingReleaseStageStages$Outbound` instead. */ - export type Outbound = ApproveRollingReleaseStageStages$Outbound; -} - export function approveRollingReleaseStageStagesToJSON( approveRollingReleaseStageStages: ApproveRollingReleaseStageStages, ): string { @@ -868,7 +759,6 @@ export function approveRollingReleaseStageStagesToJSON( ), ); } - export function approveRollingReleaseStageStagesFromJSON( jsonString: string, ): SafeParseResult { @@ -892,7 +782,6 @@ export const ApproveRollingReleaseStageActiveStage$inboundSchema: z.ZodType< duration: z.nullable(z.number()), linearShift: z.boolean().optional(), }); - /** @internal */ export type ApproveRollingReleaseStageActiveStage$Outbound = { index: number; @@ -917,21 +806,6 @@ export const ApproveRollingReleaseStageActiveStage$outboundSchema: z.ZodType< linearShift: 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 ApproveRollingReleaseStageActiveStage$ { - /** @deprecated use `ApproveRollingReleaseStageActiveStage$inboundSchema` instead. */ - export const inboundSchema = - ApproveRollingReleaseStageActiveStage$inboundSchema; - /** @deprecated use `ApproveRollingReleaseStageActiveStage$outboundSchema` instead. */ - export const outboundSchema = - ApproveRollingReleaseStageActiveStage$outboundSchema; - /** @deprecated use `ApproveRollingReleaseStageActiveStage$Outbound` instead. */ - export type Outbound = ApproveRollingReleaseStageActiveStage$Outbound; -} - export function approveRollingReleaseStageActiveStageToJSON( approveRollingReleaseStageActiveStage: ApproveRollingReleaseStageActiveStage, ): string { @@ -941,7 +815,6 @@ export function approveRollingReleaseStageActiveStageToJSON( ), ); } - export function approveRollingReleaseStageActiveStageFromJSON( jsonString: string, ): SafeParseResult { @@ -966,7 +839,6 @@ export const ApproveRollingReleaseStageNextStage$inboundSchema: z.ZodType< duration: z.nullable(z.number()), linearShift: z.boolean().optional(), }); - /** @internal */ export type ApproveRollingReleaseStageNextStage$Outbound = { index: number; @@ -991,21 +863,6 @@ export const ApproveRollingReleaseStageNextStage$outboundSchema: z.ZodType< linearShift: 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 ApproveRollingReleaseStageNextStage$ { - /** @deprecated use `ApproveRollingReleaseStageNextStage$inboundSchema` instead. */ - export const inboundSchema = - ApproveRollingReleaseStageNextStage$inboundSchema; - /** @deprecated use `ApproveRollingReleaseStageNextStage$outboundSchema` instead. */ - export const outboundSchema = - ApproveRollingReleaseStageNextStage$outboundSchema; - /** @deprecated use `ApproveRollingReleaseStageNextStage$Outbound` instead. */ - export type Outbound = ApproveRollingReleaseStageNextStage$Outbound; -} - export function approveRollingReleaseStageNextStageToJSON( approveRollingReleaseStageNextStage: ApproveRollingReleaseStageNextStage, ): string { @@ -1015,7 +872,6 @@ export function approveRollingReleaseStageNextStageToJSON( ), ); } - export function approveRollingReleaseStageNextStageFromJSON( jsonString: string, ): SafeParseResult { @@ -1052,7 +908,6 @@ export const ApproveRollingReleaseStageRollingRelease$inboundSchema: z.ZodType< startedAt: z.number(), updatedAt: z.number(), }); - /** @internal */ export type ApproveRollingReleaseStageRollingRelease$Outbound = { state: string; @@ -1097,21 +952,6 @@ export const ApproveRollingReleaseStageRollingRelease$outboundSchema: z.ZodType< 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 ApproveRollingReleaseStageRollingRelease$ { - /** @deprecated use `ApproveRollingReleaseStageRollingRelease$inboundSchema` instead. */ - export const inboundSchema = - ApproveRollingReleaseStageRollingRelease$inboundSchema; - /** @deprecated use `ApproveRollingReleaseStageRollingRelease$outboundSchema` instead. */ - export const outboundSchema = - ApproveRollingReleaseStageRollingRelease$outboundSchema; - /** @deprecated use `ApproveRollingReleaseStageRollingRelease$Outbound` instead. */ - export type Outbound = ApproveRollingReleaseStageRollingRelease$Outbound; -} - export function approveRollingReleaseStageRollingReleaseToJSON( approveRollingReleaseStageRollingRelease: ApproveRollingReleaseStageRollingRelease, @@ -1122,7 +962,6 @@ export function approveRollingReleaseStageRollingReleaseToJSON( ), ); } - export function approveRollingReleaseStageRollingReleaseFromJSON( jsonString: string, ): SafeParseResult< @@ -1149,7 +988,6 @@ export const ApproveRollingReleaseStageResponseBody$inboundSchema: z.ZodType< z.lazy(() => ApproveRollingReleaseStageRollingRelease$inboundSchema), ), }); - /** @internal */ export type ApproveRollingReleaseStageResponseBody$Outbound = { rollingRelease: ApproveRollingReleaseStageRollingRelease$Outbound | null; @@ -1166,21 +1004,6 @@ export const ApproveRollingReleaseStageResponseBody$outboundSchema: z.ZodType< ), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ApproveRollingReleaseStageResponseBody$ { - /** @deprecated use `ApproveRollingReleaseStageResponseBody$inboundSchema` instead. */ - export const inboundSchema = - ApproveRollingReleaseStageResponseBody$inboundSchema; - /** @deprecated use `ApproveRollingReleaseStageResponseBody$outboundSchema` instead. */ - export const outboundSchema = - ApproveRollingReleaseStageResponseBody$outboundSchema; - /** @deprecated use `ApproveRollingReleaseStageResponseBody$Outbound` instead. */ - export type Outbound = ApproveRollingReleaseStageResponseBody$Outbound; -} - export function approveRollingReleaseStageResponseBodyToJSON( approveRollingReleaseStageResponseBody: ApproveRollingReleaseStageResponseBody, @@ -1191,7 +1014,6 @@ export function approveRollingReleaseStageResponseBodyToJSON( ), ); } - export function approveRollingReleaseStageResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/artifactexistsop.ts b/src/models/artifactexistsop.ts index ae567aa15..d5cfe7a74 100644 --- a/src/models/artifactexistsop.ts +++ b/src/models/artifactexistsop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -32,7 +32,6 @@ export const ArtifactExistsRequest$inboundSchema: z.ZodType< teamId: z.string().optional(), slug: z.string().optional(), }); - /** @internal */ export type ArtifactExistsRequest$Outbound = { hash: string; @@ -51,19 +50,6 @@ export const ArtifactExistsRequest$outboundSchema: z.ZodType< 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 { @@ -71,7 +57,6 @@ export function artifactExistsRequestToJSON( ArtifactExistsRequest$outboundSchema.parse(artifactExistsRequest), ); } - export function artifactExistsRequestFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/artifactqueryop.ts b/src/models/artifactqueryop.ts index 36507f921..35d7679c3 100644 --- a/src/models/artifactqueryop.ts +++ b/src/models/artifactqueryop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; @@ -51,7 +51,6 @@ export const ArtifactQueryRequestBody$inboundSchema: z.ZodType< > = z.object({ hashes: z.array(z.string()), }); - /** @internal */ export type ArtifactQueryRequestBody$Outbound = { hashes: Array; @@ -66,19 +65,6 @@ export const ArtifactQueryRequestBody$outboundSchema: z.ZodType< 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 { @@ -86,7 +72,6 @@ export function artifactQueryRequestBodyToJSON( ArtifactQueryRequestBody$outboundSchema.parse(artifactQueryRequestBody), ); } - export function artifactQueryRequestBodyFromJSON( jsonString: string, ): SafeParseResult { @@ -111,7 +96,6 @@ export const ArtifactQueryRequest$inboundSchema: z.ZodType< "RequestBody": "requestBody", }); }); - /** @internal */ export type ArtifactQueryRequest$Outbound = { teamId?: string | undefined; @@ -134,19 +118,6 @@ export const ArtifactQueryRequest$outboundSchema: z.ZodType< }); }); -/** - * @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 { @@ -154,7 +125,6 @@ export function artifactQueryRequestToJSON( ArtifactQueryRequest$outboundSchema.parse(artifactQueryRequest), ); } - export function artifactQueryRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -173,7 +143,6 @@ export const ResponseBodyError$inboundSchema: z.ZodType< > = z.object({ message: z.string(), }); - /** @internal */ export type ResponseBodyError$Outbound = { message: string; @@ -188,19 +157,6 @@ export const ResponseBodyError$outboundSchema: z.ZodType< 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 { @@ -208,7 +164,6 @@ export function responseBodyErrorToJSON( ResponseBodyError$outboundSchema.parse(responseBodyError), ); } - export function responseBodyErrorFromJSON( jsonString: string, ): SafeParseResult { @@ -227,7 +182,6 @@ export const ResponseBody2$inboundSchema: z.ZodType< > = z.object({ error: z.lazy(() => ResponseBodyError$inboundSchema), }); - /** @internal */ export type ResponseBody2$Outbound = { error: ResponseBodyError$Outbound; @@ -242,23 +196,9 @@ export const ResponseBody2$outboundSchema: z.ZodType< 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 { @@ -279,7 +219,6 @@ export const ResponseBody1$inboundSchema: z.ZodType< taskDurationMs: z.number(), tag: z.string().optional(), }); - /** @internal */ export type ResponseBody1$Outbound = { size: number; @@ -298,23 +237,9 @@ export const ResponseBody1$outboundSchema: z.ZodType< 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 { @@ -334,7 +259,6 @@ export const ResponseBody$inboundSchema: z.ZodType< z.lazy(() => ResponseBody1$inboundSchema), z.lazy(() => ResponseBody2$inboundSchema), ]); - /** @internal */ export type ResponseBody$Outbound = | ResponseBody1$Outbound @@ -350,23 +274,9 @@ export const ResponseBody$outboundSchema: z.ZodType< z.lazy(() => ResponseBody2$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 { diff --git a/src/models/assignaliasop.ts b/src/models/assignaliasop.ts index 9d5559658..934cdd73b 100644 --- a/src/models/assignaliasop.ts +++ b/src/models/assignaliasop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; @@ -66,7 +66,6 @@ export const AssignAliasRequestBody$inboundSchema: z.ZodType< alias: z.string().optional(), redirect: z.nullable(z.string()).optional(), }); - /** @internal */ export type AssignAliasRequestBody$Outbound = { alias?: string | undefined; @@ -83,19 +82,6 @@ export const AssignAliasRequestBody$outboundSchema: z.ZodType< 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 { @@ -103,7 +89,6 @@ export function assignAliasRequestBodyToJSON( AssignAliasRequestBody$outboundSchema.parse(assignAliasRequestBody), ); } - export function assignAliasRequestBodyFromJSON( jsonString: string, ): SafeParseResult { @@ -129,7 +114,6 @@ export const AssignAliasRequest$inboundSchema: z.ZodType< "RequestBody": "requestBody", }); }); - /** @internal */ export type AssignAliasRequest$Outbound = { id: string; @@ -154,19 +138,6 @@ export const AssignAliasRequest$outboundSchema: z.ZodType< }); }); -/** - * @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 { @@ -174,7 +145,6 @@ export function assignAliasRequestToJSON( AssignAliasRequest$outboundSchema.parse(assignAliasRequest), ); } - export function assignAliasRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -196,7 +166,6 @@ export const AssignAliasResponseBody$inboundSchema: z.ZodType< created: z.string().datetime({ offset: true }).transform(v => new Date(v)), oldDeploymentId: z.nullable(z.string()).optional(), }); - /** @internal */ export type AssignAliasResponseBody$Outbound = { uid: string; @@ -217,19 +186,6 @@ export const AssignAliasResponseBody$outboundSchema: z.ZodType< 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 { @@ -237,7 +193,6 @@ export function assignAliasResponseBodyToJSON( AssignAliasResponseBody$outboundSchema.parse(assignAliasResponseBody), ); } - export function assignAliasResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/authtoken.ts b/src/models/authtoken.ts index 5fddc0ea4..5f487ea78 100644 --- a/src/models/authtoken.ts +++ b/src/models/authtoken.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; @@ -25,6 +25,7 @@ export const AuthTokenScopesOrigin = { Sms: "sms", Invite: "invite", Google: "google", + Apple: "apple", App: "app", } as const; export type AuthTokenScopesOrigin = ClosedEnum; @@ -78,6 +79,7 @@ export const ScopesOrigin = { Sms: "sms", Invite: "invite", Google: "google", + Apple: "apple", App: "app", } as const; export type ScopesOrigin = ClosedEnum; @@ -137,44 +139,20 @@ export type AuthToken = { export const AuthTokenScopesType$inboundSchema: z.ZodNativeEnum< typeof AuthTokenScopesType > = z.nativeEnum(AuthTokenScopesType); - /** @internal */ export const AuthTokenScopesType$outboundSchema: z.ZodNativeEnum< typeof AuthTokenScopesType > = AuthTokenScopesType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace AuthTokenScopesType$ { - /** @deprecated use `AuthTokenScopesType$inboundSchema` instead. */ - export const inboundSchema = AuthTokenScopesType$inboundSchema; - /** @deprecated use `AuthTokenScopesType$outboundSchema` instead. */ - export const outboundSchema = AuthTokenScopesType$outboundSchema; -} - /** @internal */ export const AuthTokenScopesOrigin$inboundSchema: z.ZodNativeEnum< typeof AuthTokenScopesOrigin > = z.nativeEnum(AuthTokenScopesOrigin); - /** @internal */ export const AuthTokenScopesOrigin$outboundSchema: z.ZodNativeEnum< typeof AuthTokenScopesOrigin > = AuthTokenScopesOrigin$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace AuthTokenScopesOrigin$ { - /** @deprecated use `AuthTokenScopesOrigin$inboundSchema` instead. */ - export const inboundSchema = AuthTokenScopesOrigin$inboundSchema; - /** @deprecated use `AuthTokenScopesOrigin$outboundSchema` instead. */ - export const outboundSchema = AuthTokenScopesOrigin$outboundSchema; -} - /** @internal */ export const Scopes2$inboundSchema: z.ZodType = z.object({ @@ -184,7 +162,6 @@ export const Scopes2$inboundSchema: z.ZodType = createdAt: z.number(), expiresAt: z.number().optional(), }); - /** @internal */ export type Scopes2$Outbound = { type: string; @@ -207,23 +184,9 @@ export const Scopes2$outboundSchema: z.ZodType< 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 Scopes2$ { - /** @deprecated use `Scopes2$inboundSchema` instead. */ - export const inboundSchema = Scopes2$inboundSchema; - /** @deprecated use `Scopes2$outboundSchema` instead. */ - export const outboundSchema = Scopes2$outboundSchema; - /** @deprecated use `Scopes2$Outbound` instead. */ - export type Outbound = Scopes2$Outbound; -} - export function scopes2ToJSON(scopes2: Scopes2): string { return JSON.stringify(Scopes2$outboundSchema.parse(scopes2)); } - export function scopes2FromJSON( jsonString: string, ): SafeParseResult { @@ -237,50 +200,25 @@ export function scopes2FromJSON( /** @internal */ export const ScopesType$inboundSchema: z.ZodNativeEnum = z .nativeEnum(ScopesType); - /** @internal */ export const ScopesType$outboundSchema: z.ZodNativeEnum = ScopesType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ScopesType$ { - /** @deprecated use `ScopesType$inboundSchema` instead. */ - export const inboundSchema = ScopesType$inboundSchema; - /** @deprecated use `ScopesType$outboundSchema` instead. */ - export const outboundSchema = ScopesType$outboundSchema; -} - /** @internal */ export const AuthTokenScopes1Origin$inboundSchema: z.ZodNativeEnum< typeof AuthTokenScopes1Origin > = z.nativeEnum(AuthTokenScopes1Origin); - /** @internal */ export const AuthTokenScopes1Origin$outboundSchema: z.ZodNativeEnum< typeof AuthTokenScopes1Origin > = AuthTokenScopes1Origin$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace AuthTokenScopes1Origin$ { - /** @deprecated use `AuthTokenScopes1Origin$inboundSchema` instead. */ - export const inboundSchema = AuthTokenScopes1Origin$inboundSchema; - /** @deprecated use `AuthTokenScopes1Origin$outboundSchema` instead. */ - export const outboundSchema = AuthTokenScopes1Origin$outboundSchema; -} - /** @internal */ export const Sudo$inboundSchema: z.ZodType = z .object({ origin: AuthTokenScopes1Origin$inboundSchema, expiresAt: z.number(), }); - /** @internal */ export type Sudo$Outbound = { origin: string; @@ -294,23 +232,9 @@ export const Sudo$outboundSchema: z.ZodType = expiresAt: 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 Sudo$ { - /** @deprecated use `Sudo$inboundSchema` instead. */ - export const inboundSchema = Sudo$inboundSchema; - /** @deprecated use `Sudo$outboundSchema` instead. */ - export const outboundSchema = Sudo$outboundSchema; - /** @deprecated use `Sudo$Outbound` instead. */ - export type Outbound = Sudo$Outbound; -} - export function sudoToJSON(sudo: Sudo): string { return JSON.stringify(Sudo$outboundSchema.parse(sudo)); } - export function sudoFromJSON( jsonString: string, ): SafeParseResult { @@ -324,22 +248,10 @@ export function sudoFromJSON( /** @internal */ export const ScopesOrigin$inboundSchema: z.ZodNativeEnum = z.nativeEnum(ScopesOrigin); - /** @internal */ export const ScopesOrigin$outboundSchema: z.ZodNativeEnum = ScopesOrigin$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ScopesOrigin$ { - /** @deprecated use `ScopesOrigin$inboundSchema` instead. */ - export const inboundSchema = ScopesOrigin$inboundSchema; - /** @deprecated use `ScopesOrigin$outboundSchema` instead. */ - export const outboundSchema = ScopesOrigin$outboundSchema; -} - /** @internal */ export const Scopes1$inboundSchema: z.ZodType = z.object({ @@ -349,7 +261,6 @@ export const Scopes1$inboundSchema: z.ZodType = createdAt: z.number(), expiresAt: z.number().optional(), }); - /** @internal */ export type Scopes1$Outbound = { type: string; @@ -372,23 +283,9 @@ export const Scopes1$outboundSchema: z.ZodType< 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 Scopes1$ { - /** @deprecated use `Scopes1$inboundSchema` instead. */ - export const inboundSchema = Scopes1$inboundSchema; - /** @deprecated use `Scopes1$outboundSchema` instead. */ - export const outboundSchema = Scopes1$outboundSchema; - /** @deprecated use `Scopes1$Outbound` instead. */ - export type Outbound = Scopes1$Outbound; -} - export function scopes1ToJSON(scopes1: Scopes1): string { return JSON.stringify(Scopes1$outboundSchema.parse(scopes1)); } - export function scopes1FromJSON( jsonString: string, ): SafeParseResult { @@ -405,7 +302,6 @@ export const Scopes$inboundSchema: z.ZodType = z z.lazy(() => Scopes2$inboundSchema), z.lazy(() => Scopes1$inboundSchema), ]); - /** @internal */ export type Scopes$Outbound = Scopes2$Outbound | Scopes1$Outbound; @@ -419,23 +315,9 @@ export const Scopes$outboundSchema: z.ZodType< z.lazy(() => Scopes1$outboundSchema), ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Scopes$ { - /** @deprecated use `Scopes$inboundSchema` instead. */ - export const inboundSchema = Scopes$inboundSchema; - /** @deprecated use `Scopes$outboundSchema` instead. */ - export const outboundSchema = Scopes$outboundSchema; - /** @deprecated use `Scopes$Outbound` instead. */ - export type Outbound = Scopes$Outbound; -} - export function scopesToJSON(scopes: Scopes): string { return JSON.stringify(Scopes$outboundSchema.parse(scopes)); } - export function scopesFromJSON( jsonString: string, ): SafeParseResult { @@ -466,7 +348,6 @@ export const AuthToken$inboundSchema: z.ZodType< activeAt: z.number(), createdAt: z.number(), }); - /** @internal */ export type AuthToken$Outbound = { id: string; @@ -500,23 +381,9 @@ export const AuthToken$outboundSchema: z.ZodType< 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 AuthToken$ { - /** @deprecated use `AuthToken$inboundSchema` instead. */ - export const inboundSchema = AuthToken$inboundSchema; - /** @deprecated use `AuthToken$outboundSchema` instead. */ - export const outboundSchema = AuthToken$outboundSchema; - /** @deprecated use `AuthToken$Outbound` instead. */ - export type Outbound = AuthToken$Outbound; -} - export function authTokenToJSON(authToken: AuthToken): string { return JSON.stringify(AuthToken$outboundSchema.parse(authToken)); } - export function authTokenFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/authuser.ts b/src/models/authuser.ts index f5e1b02be..bde2b2ef5 100644 --- a/src/models/authuser.ts +++ b/src/models/authuser.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; @@ -88,6 +88,28 @@ export type AuthUserBuildEntitlements = { enhancedBuilds?: boolean | undefined; }; +/** + * An object containing infomation related to the amount of platform resources may be allocated to the User account. + */ +export const AuthUserConfiguration = { + SkipNamespaceQueue: "SKIP_NAMESPACE_QUEUE", + WaitForNamespaceQueue: "WAIT_FOR_NAMESPACE_QUEUE", +} as const; +/** + * An object containing infomation related to the amount of platform resources may be allocated to the User account. + */ +export type AuthUserConfiguration = ClosedEnum; + +/** + * An object containing infomation related to the amount of platform resources may be allocated to the User account. + */ +export type BuildQueue = { + /** + * An object containing infomation related to the amount of platform resources may be allocated to the User account. + */ + configuration?: AuthUserConfiguration | undefined; +}; + /** * An object containing infomation related to the amount of platform resources may be allocated to the User account. */ @@ -164,6 +186,10 @@ export type AuthUserResourceConfig = { * An object containing infomation related to the amount of platform resources may be allocated to the User account. */ buildEntitlements?: AuthUserBuildEntitlements | undefined; + /** + * An object containing infomation related to the amount of platform resources may be allocated to the User account. + */ + buildQueue?: BuildQueue | undefined; /** * An object containing infomation related to the amount of platform resources may be allocated to the User account. */ @@ -439,43 +465,19 @@ export type AuthUser = { /** @internal */ export const Reason$inboundSchema: z.ZodNativeEnum = z .nativeEnum(Reason); - /** @internal */ export const Reason$outboundSchema: z.ZodNativeEnum = Reason$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Reason$ { - /** @deprecated use `Reason$inboundSchema` instead. */ - export const inboundSchema = Reason$inboundSchema; - /** @deprecated use `Reason$outboundSchema` instead. */ - export const outboundSchema = Reason$outboundSchema; -} - /** @internal */ export const BlockedDueToOverageType$inboundSchema: z.ZodNativeEnum< typeof BlockedDueToOverageType > = z.nativeEnum(BlockedDueToOverageType); - /** @internal */ export const BlockedDueToOverageType$outboundSchema: z.ZodNativeEnum< typeof BlockedDueToOverageType > = BlockedDueToOverageType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace BlockedDueToOverageType$ { - /** @deprecated use `BlockedDueToOverageType$inboundSchema` instead. */ - export const inboundSchema = BlockedDueToOverageType$inboundSchema; - /** @deprecated use `BlockedDueToOverageType$outboundSchema` instead. */ - export const outboundSchema = BlockedDueToOverageType$outboundSchema; -} - /** @internal */ export const SoftBlock$inboundSchema: z.ZodType< SoftBlock, @@ -486,7 +488,6 @@ export const SoftBlock$inboundSchema: z.ZodType< reason: Reason$inboundSchema, blockedDueToOverageType: BlockedDueToOverageType$inboundSchema.optional(), }); - /** @internal */ export type SoftBlock$Outbound = { blockedAt: number; @@ -505,23 +506,9 @@ export const SoftBlock$outboundSchema: z.ZodType< blockedDueToOverageType: BlockedDueToOverageType$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 SoftBlock$ { - /** @deprecated use `SoftBlock$inboundSchema` instead. */ - export const inboundSchema = SoftBlock$inboundSchema; - /** @deprecated use `SoftBlock$outboundSchema` instead. */ - export const outboundSchema = SoftBlock$outboundSchema; - /** @deprecated use `SoftBlock$Outbound` instead. */ - export type Outbound = SoftBlock$Outbound; -} - export function softBlockToJSON(softBlock: SoftBlock): string { return JSON.stringify(SoftBlock$outboundSchema.parse(softBlock)); } - export function softBlockFromJSON( jsonString: string, ): SafeParseResult { @@ -535,7 +522,6 @@ export function softBlockFromJSON( /** @internal */ export const Billing$inboundSchema: z.ZodType = z.object({}); - /** @internal */ export type Billing$Outbound = {}; @@ -546,23 +532,9 @@ export const Billing$outboundSchema: z.ZodType< Billing > = 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 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 { @@ -581,7 +553,6 @@ export const AuthUserBuildEntitlements$inboundSchema: z.ZodType< > = z.object({ enhancedBuilds: z.boolean().optional(), }); - /** @internal */ export type AuthUserBuildEntitlements$Outbound = { enhancedBuilds?: boolean | undefined; @@ -596,19 +567,6 @@ export const AuthUserBuildEntitlements$outboundSchema: z.ZodType< enhancedBuilds: 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 AuthUserBuildEntitlements$ { - /** @deprecated use `AuthUserBuildEntitlements$inboundSchema` instead. */ - export const inboundSchema = AuthUserBuildEntitlements$inboundSchema; - /** @deprecated use `AuthUserBuildEntitlements$outboundSchema` instead. */ - export const outboundSchema = AuthUserBuildEntitlements$outboundSchema; - /** @deprecated use `AuthUserBuildEntitlements$Outbound` instead. */ - export type Outbound = AuthUserBuildEntitlements$Outbound; -} - export function authUserBuildEntitlementsToJSON( authUserBuildEntitlements: AuthUserBuildEntitlements, ): string { @@ -616,7 +574,6 @@ export function authUserBuildEntitlementsToJSON( AuthUserBuildEntitlements$outboundSchema.parse(authUserBuildEntitlements), ); } - export function authUserBuildEntitlementsFromJSON( jsonString: string, ): SafeParseResult { @@ -627,25 +584,57 @@ export function authUserBuildEntitlementsFromJSON( ); } +/** @internal */ +export const AuthUserConfiguration$inboundSchema: z.ZodNativeEnum< + typeof AuthUserConfiguration +> = z.nativeEnum(AuthUserConfiguration); +/** @internal */ +export const AuthUserConfiguration$outboundSchema: z.ZodNativeEnum< + typeof AuthUserConfiguration +> = AuthUserConfiguration$inboundSchema; + +/** @internal */ +export const BuildQueue$inboundSchema: z.ZodType< + BuildQueue, + z.ZodTypeDef, + unknown +> = z.object({ + configuration: AuthUserConfiguration$inboundSchema.optional(), +}); +/** @internal */ +export type BuildQueue$Outbound = { + configuration?: string | undefined; +}; + +/** @internal */ +export const BuildQueue$outboundSchema: z.ZodType< + BuildQueue$Outbound, + z.ZodTypeDef, + BuildQueue +> = z.object({ + configuration: AuthUserConfiguration$outboundSchema.optional(), +}); + +export function buildQueueToJSON(buildQueue: BuildQueue): string { + return JSON.stringify(BuildQueue$outboundSchema.parse(buildQueue)); +} +export function buildQueueFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => BuildQueue$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'BuildQueue' from JSON`, + ); +} + /** @internal */ export const PurchaseType$inboundSchema: z.ZodNativeEnum = z.nativeEnum(PurchaseType); - /** @internal */ export const PurchaseType$outboundSchema: z.ZodNativeEnum = PurchaseType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PurchaseType$ { - /** @deprecated use `PurchaseType$inboundSchema` instead. */ - export const inboundSchema = PurchaseType$inboundSchema; - /** @deprecated use `PurchaseType$outboundSchema` instead. */ - export const outboundSchema = PurchaseType$outboundSchema; -} - /** @internal */ export const BuildMachine$inboundSchema: z.ZodType< BuildMachine, @@ -657,7 +646,6 @@ export const BuildMachine$inboundSchema: z.ZodType< cores: z.number().optional(), memory: z.number().optional(), }); - /** @internal */ export type BuildMachine$Outbound = { purchaseType?: string | undefined; @@ -678,23 +666,9 @@ export const BuildMachine$outboundSchema: z.ZodType< memory: 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 BuildMachine$ { - /** @deprecated use `BuildMachine$inboundSchema` instead. */ - export const inboundSchema = BuildMachine$inboundSchema; - /** @deprecated use `BuildMachine$outboundSchema` instead. */ - export const outboundSchema = BuildMachine$outboundSchema; - /** @deprecated use `BuildMachine$Outbound` instead. */ - export type Outbound = BuildMachine$Outbound; -} - export function buildMachineToJSON(buildMachine: BuildMachine): string { return JSON.stringify(BuildMachine$outboundSchema.parse(buildMachine)); } - export function buildMachineFromJSON( jsonString: string, ): SafeParseResult { @@ -716,7 +690,6 @@ export const AuthUserSecurity$inboundSchema: z.ZodType< ipBypass: z.number().optional(), rateLimit: z.number().optional(), }); - /** @internal */ export type AuthUserSecurity$Outbound = { customRules?: number | undefined; @@ -737,19 +710,6 @@ export const AuthUserSecurity$outboundSchema: z.ZodType< rateLimit: 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 AuthUserSecurity$ { - /** @deprecated use `AuthUserSecurity$inboundSchema` instead. */ - export const inboundSchema = AuthUserSecurity$inboundSchema; - /** @deprecated use `AuthUserSecurity$outboundSchema` instead. */ - export const outboundSchema = AuthUserSecurity$outboundSchema; - /** @deprecated use `AuthUserSecurity$Outbound` instead. */ - export type Outbound = AuthUserSecurity$Outbound; -} - export function authUserSecurityToJSON( authUserSecurity: AuthUserSecurity, ): string { @@ -757,7 +717,6 @@ export function authUserSecurityToJSON( AuthUserSecurity$outboundSchema.parse(authUserSecurity), ); } - export function authUserSecurityFromJSON( jsonString: string, ): SafeParseResult { @@ -779,6 +738,7 @@ export const AuthUserResourceConfig$inboundSchema: z.ZodType< elasticConcurrencyEnabled: z.boolean().optional(), buildEntitlements: z.lazy(() => AuthUserBuildEntitlements$inboundSchema) .optional(), + buildQueue: z.lazy(() => BuildQueue$inboundSchema).optional(), awsAccountType: z.string().optional(), awsAccountIds: z.array(z.string()).optional(), cfZoneName: z.string().optional(), @@ -802,13 +762,13 @@ export const AuthUserResourceConfig$inboundSchema: z.ZodType< buildMachine: z.lazy(() => BuildMachine$inboundSchema).optional(), security: z.lazy(() => AuthUserSecurity$inboundSchema).optional(), }); - /** @internal */ export type AuthUserResourceConfig$Outbound = { nodeType?: string | undefined; concurrentBuilds?: number | undefined; elasticConcurrencyEnabled?: boolean | undefined; buildEntitlements?: AuthUserBuildEntitlements$Outbound | undefined; + buildQueue?: BuildQueue$Outbound | undefined; awsAccountType?: string | undefined; awsAccountIds?: Array | undefined; cfZoneName?: string | undefined; @@ -844,6 +804,7 @@ export const AuthUserResourceConfig$outboundSchema: z.ZodType< elasticConcurrencyEnabled: z.boolean().optional(), buildEntitlements: z.lazy(() => AuthUserBuildEntitlements$outboundSchema) .optional(), + buildQueue: z.lazy(() => BuildQueue$outboundSchema).optional(), awsAccountType: z.string().optional(), awsAccountIds: z.array(z.string()).optional(), cfZoneName: z.string().optional(), @@ -868,19 +829,6 @@ export const AuthUserResourceConfig$outboundSchema: z.ZodType< security: z.lazy(() => AuthUserSecurity$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 AuthUserResourceConfig$ { - /** @deprecated use `AuthUserResourceConfig$inboundSchema` instead. */ - export const inboundSchema = AuthUserResourceConfig$inboundSchema; - /** @deprecated use `AuthUserResourceConfig$outboundSchema` instead. */ - export const outboundSchema = AuthUserResourceConfig$outboundSchema; - /** @deprecated use `AuthUserResourceConfig$Outbound` instead. */ - export type Outbound = AuthUserResourceConfig$Outbound; -} - export function authUserResourceConfigToJSON( authUserResourceConfig: AuthUserResourceConfig, ): string { @@ -888,7 +836,6 @@ export function authUserResourceConfigToJSON( AuthUserResourceConfig$outboundSchema.parse(authUserResourceConfig), ); } - export function authUserResourceConfigFromJSON( jsonString: string, ): SafeParseResult { @@ -903,65 +850,29 @@ export function authUserResourceConfigFromJSON( export const ViewPreference$inboundSchema: z.ZodNativeEnum< typeof ViewPreference > = z.nativeEnum(ViewPreference); - /** @internal */ export const ViewPreference$outboundSchema: z.ZodNativeEnum< typeof ViewPreference > = ViewPreference$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ViewPreference$ { - /** @deprecated use `ViewPreference$inboundSchema` instead. */ - export const inboundSchema = ViewPreference$inboundSchema; - /** @deprecated use `ViewPreference$outboundSchema` instead. */ - export const outboundSchema = ViewPreference$outboundSchema; -} - /** @internal */ export const FavoritesViewPreference$inboundSchema: z.ZodNativeEnum< typeof FavoritesViewPreference > = z.nativeEnum(FavoritesViewPreference); - /** @internal */ export const FavoritesViewPreference$outboundSchema: z.ZodNativeEnum< typeof FavoritesViewPreference > = FavoritesViewPreference$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FavoritesViewPreference$ { - /** @deprecated use `FavoritesViewPreference$inboundSchema` instead. */ - export const inboundSchema = FavoritesViewPreference$inboundSchema; - /** @deprecated use `FavoritesViewPreference$outboundSchema` instead. */ - export const outboundSchema = FavoritesViewPreference$outboundSchema; -} - /** @internal */ export const RecentsViewPreference$inboundSchema: z.ZodNativeEnum< typeof RecentsViewPreference > = z.nativeEnum(RecentsViewPreference); - /** @internal */ export const RecentsViewPreference$outboundSchema: z.ZodNativeEnum< typeof RecentsViewPreference > = RecentsViewPreference$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RecentsViewPreference$ { - /** @deprecated use `RecentsViewPreference$inboundSchema` instead. */ - export const inboundSchema = RecentsViewPreference$inboundSchema; - /** @deprecated use `RecentsViewPreference$outboundSchema` instead. */ - export const outboundSchema = RecentsViewPreference$outboundSchema; -} - /** @internal */ export const ActiveDashboardViews$inboundSchema: z.ZodType< ActiveDashboardViews, @@ -975,7 +886,6 @@ export const ActiveDashboardViews$inboundSchema: z.ZodType< recentsViewPreference: z.nullable(RecentsViewPreference$inboundSchema) .optional(), }); - /** @internal */ export type ActiveDashboardViews$Outbound = { scopeId: string; @@ -998,19 +908,6 @@ export const ActiveDashboardViews$outboundSchema: z.ZodType< .optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ActiveDashboardViews$ { - /** @deprecated use `ActiveDashboardViews$inboundSchema` instead. */ - export const inboundSchema = ActiveDashboardViews$inboundSchema; - /** @deprecated use `ActiveDashboardViews$outboundSchema` instead. */ - export const outboundSchema = ActiveDashboardViews$outboundSchema; - /** @deprecated use `ActiveDashboardViews$Outbound` instead. */ - export type Outbound = ActiveDashboardViews$Outbound; -} - export function activeDashboardViewsToJSON( activeDashboardViews: ActiveDashboardViews, ): string { @@ -1018,7 +915,6 @@ export function activeDashboardViewsToJSON( ActiveDashboardViews$outboundSchema.parse(activeDashboardViews), ); } - export function activeDashboardViewsFromJSON( jsonString: string, ): SafeParseResult { @@ -1035,7 +931,6 @@ export const ImportFlowGitNamespace$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.union([z.string(), z.number()]); - /** @internal */ export type ImportFlowGitNamespace$Outbound = string | number; @@ -1046,19 +941,6 @@ export const ImportFlowGitNamespace$outboundSchema: z.ZodType< ImportFlowGitNamespace > = 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 ImportFlowGitNamespace$ { - /** @deprecated use `ImportFlowGitNamespace$inboundSchema` instead. */ - export const inboundSchema = ImportFlowGitNamespace$inboundSchema; - /** @deprecated use `ImportFlowGitNamespace$outboundSchema` instead. */ - export const outboundSchema = ImportFlowGitNamespace$outboundSchema; - /** @deprecated use `ImportFlowGitNamespace$Outbound` instead. */ - export type Outbound = ImportFlowGitNamespace$Outbound; -} - export function importFlowGitNamespaceToJSON( importFlowGitNamespace: ImportFlowGitNamespace, ): string { @@ -1066,7 +948,6 @@ export function importFlowGitNamespaceToJSON( ImportFlowGitNamespace$outboundSchema.parse(importFlowGitNamespace), ); } - export function importFlowGitNamespaceFromJSON( jsonString: string, ): SafeParseResult { @@ -1083,7 +964,6 @@ export const ImportFlowGitNamespaceId$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.union([z.string(), z.number()]); - /** @internal */ export type ImportFlowGitNamespaceId$Outbound = string | number; @@ -1094,19 +974,6 @@ export const ImportFlowGitNamespaceId$outboundSchema: z.ZodType< ImportFlowGitNamespaceId > = 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 ImportFlowGitNamespaceId$ { - /** @deprecated use `ImportFlowGitNamespaceId$inboundSchema` instead. */ - export const inboundSchema = ImportFlowGitNamespaceId$inboundSchema; - /** @deprecated use `ImportFlowGitNamespaceId$outboundSchema` instead. */ - export const outboundSchema = ImportFlowGitNamespaceId$outboundSchema; - /** @deprecated use `ImportFlowGitNamespaceId$Outbound` instead. */ - export type Outbound = ImportFlowGitNamespaceId$Outbound; -} - export function importFlowGitNamespaceIdToJSON( importFlowGitNamespaceId: ImportFlowGitNamespaceId, ): string { @@ -1114,7 +981,6 @@ export function importFlowGitNamespaceIdToJSON( ImportFlowGitNamespaceId$outboundSchema.parse(importFlowGitNamespaceId), ); } - export function importFlowGitNamespaceIdFromJSON( jsonString: string, ): SafeParseResult { @@ -1129,30 +995,17 @@ export function importFlowGitNamespaceIdFromJSON( export const ImportFlowGitProvider$inboundSchema: z.ZodNativeEnum< typeof ImportFlowGitProvider > = z.nativeEnum(ImportFlowGitProvider); - /** @internal */ export const ImportFlowGitProvider$outboundSchema: z.ZodNativeEnum< typeof ImportFlowGitProvider > = ImportFlowGitProvider$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ImportFlowGitProvider$ { - /** @deprecated use `ImportFlowGitProvider$inboundSchema` instead. */ - export const inboundSchema = ImportFlowGitProvider$inboundSchema; - /** @deprecated use `ImportFlowGitProvider$outboundSchema` instead. */ - export const outboundSchema = ImportFlowGitProvider$outboundSchema; -} - /** @internal */ export const GitNamespaceId$inboundSchema: z.ZodType< GitNamespaceId, z.ZodTypeDef, unknown > = z.union([z.string(), z.number()]); - /** @internal */ export type GitNamespaceId$Outbound = string | number; @@ -1163,23 +1016,9 @@ export const GitNamespaceId$outboundSchema: z.ZodType< GitNamespaceId > = 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 GitNamespaceId$ { - /** @deprecated use `GitNamespaceId$inboundSchema` instead. */ - export const inboundSchema = GitNamespaceId$inboundSchema; - /** @deprecated use `GitNamespaceId$outboundSchema` instead. */ - export const outboundSchema = GitNamespaceId$outboundSchema; - /** @deprecated use `GitNamespaceId$Outbound` instead. */ - export type Outbound = GitNamespaceId$Outbound; -} - export function gitNamespaceIdToJSON(gitNamespaceId: GitNamespaceId): string { return JSON.stringify(GitNamespaceId$outboundSchema.parse(gitNamespaceId)); } - export function gitNamespaceIdFromJSON( jsonString: string, ): SafeParseResult { @@ -1199,7 +1038,6 @@ export const PreferredScopesAndGitNamespaces$inboundSchema: z.ZodType< scopeId: z.string(), gitNamespaceId: z.nullable(z.union([z.string(), z.number()])), }); - /** @internal */ export type PreferredScopesAndGitNamespaces$Outbound = { scopeId: string; @@ -1216,19 +1054,6 @@ export const PreferredScopesAndGitNamespaces$outboundSchema: z.ZodType< gitNamespaceId: 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 PreferredScopesAndGitNamespaces$ { - /** @deprecated use `PreferredScopesAndGitNamespaces$inboundSchema` instead. */ - export const inboundSchema = PreferredScopesAndGitNamespaces$inboundSchema; - /** @deprecated use `PreferredScopesAndGitNamespaces$outboundSchema` instead. */ - export const outboundSchema = PreferredScopesAndGitNamespaces$outboundSchema; - /** @deprecated use `PreferredScopesAndGitNamespaces$Outbound` instead. */ - export type Outbound = PreferredScopesAndGitNamespaces$Outbound; -} - export function preferredScopesAndGitNamespacesToJSON( preferredScopesAndGitNamespaces: PreferredScopesAndGitNamespaces, ): string { @@ -1238,7 +1063,6 @@ export function preferredScopesAndGitNamespacesToJSON( ), ); } - export function preferredScopesAndGitNamespacesFromJSON( jsonString: string, ): SafeParseResult { @@ -1258,7 +1082,6 @@ export const Dismissals$inboundSchema: z.ZodType< scopeId: z.string(), createdAt: z.number(), }); - /** @internal */ export type Dismissals$Outbound = { scopeId: string; @@ -1275,23 +1098,9 @@ export const Dismissals$outboundSchema: z.ZodType< 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 Dismissals$ { - /** @deprecated use `Dismissals$inboundSchema` instead. */ - export const inboundSchema = Dismissals$inboundSchema; - /** @deprecated use `Dismissals$outboundSchema` instead. */ - export const outboundSchema = Dismissals$outboundSchema; - /** @deprecated use `Dismissals$Outbound` instead. */ - export type Outbound = Dismissals$Outbound; -} - export function dismissalsToJSON(dismissals: Dismissals): string { return JSON.stringify(Dismissals$outboundSchema.parse(dismissals)); } - export function dismissalsFromJSON( jsonString: string, ): SafeParseResult { @@ -1311,7 +1120,6 @@ export const DismissedToasts$inboundSchema: z.ZodType< name: z.string(), dismissals: z.array(z.lazy(() => Dismissals$inboundSchema)), }); - /** @internal */ export type DismissedToasts$Outbound = { name: string; @@ -1328,25 +1136,11 @@ export const DismissedToasts$outboundSchema: z.ZodType< dismissals: z.array(z.lazy(() => Dismissals$outboundSchema)), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace DismissedToasts$ { - /** @deprecated use `DismissedToasts$inboundSchema` instead. */ - export const inboundSchema = DismissedToasts$inboundSchema; - /** @deprecated use `DismissedToasts$outboundSchema` instead. */ - export const outboundSchema = DismissedToasts$outboundSchema; - /** @deprecated use `DismissedToasts$Outbound` instead. */ - export type Outbound = DismissedToasts$Outbound; -} - export function dismissedToastsToJSON( dismissedToasts: DismissedToasts, ): string { return JSON.stringify(DismissedToasts$outboundSchema.parse(dismissedToasts)); } - export function dismissedToastsFromJSON( jsonString: string, ): SafeParseResult { @@ -1366,7 +1160,6 @@ export const FavoriteProjectsAndSpaces$inboundSchema: z.ZodType< teamId: z.string(), projectId: z.string(), }); - /** @internal */ export type FavoriteProjectsAndSpaces$Outbound = { teamId: string; @@ -1383,19 +1176,6 @@ export const FavoriteProjectsAndSpaces$outboundSchema: z.ZodType< 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 FavoriteProjectsAndSpaces$ { - /** @deprecated use `FavoriteProjectsAndSpaces$inboundSchema` instead. */ - export const inboundSchema = FavoriteProjectsAndSpaces$inboundSchema; - /** @deprecated use `FavoriteProjectsAndSpaces$outboundSchema` instead. */ - export const outboundSchema = FavoriteProjectsAndSpaces$outboundSchema; - /** @deprecated use `FavoriteProjectsAndSpaces$Outbound` instead. */ - export type Outbound = FavoriteProjectsAndSpaces$Outbound; -} - export function favoriteProjectsAndSpacesToJSON( favoriteProjectsAndSpaces: FavoriteProjectsAndSpaces, ): string { @@ -1403,7 +1183,6 @@ export function favoriteProjectsAndSpacesToJSON( FavoriteProjectsAndSpaces$outboundSchema.parse(favoriteProjectsAndSpaces), ); } - export function favoriteProjectsAndSpacesFromJSON( jsonString: string, ): SafeParseResult { @@ -1422,7 +1201,6 @@ export const AuthUserRemoteCaching$inboundSchema: z.ZodType< > = z.object({ enabled: z.boolean().optional(), }); - /** @internal */ export type AuthUserRemoteCaching$Outbound = { enabled?: boolean | undefined; @@ -1437,19 +1215,6 @@ export const AuthUserRemoteCaching$outboundSchema: z.ZodType< 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 AuthUserRemoteCaching$ { - /** @deprecated use `AuthUserRemoteCaching$inboundSchema` instead. */ - export const inboundSchema = AuthUserRemoteCaching$inboundSchema; - /** @deprecated use `AuthUserRemoteCaching$outboundSchema` instead. */ - export const outboundSchema = AuthUserRemoteCaching$outboundSchema; - /** @deprecated use `AuthUserRemoteCaching$Outbound` instead. */ - export type Outbound = AuthUserRemoteCaching$Outbound; -} - export function authUserRemoteCachingToJSON( authUserRemoteCaching: AuthUserRemoteCaching, ): string { @@ -1457,7 +1222,6 @@ export function authUserRemoteCachingToJSON( AuthUserRemoteCaching$outboundSchema.parse(authUserRemoteCaching), ); } - export function authUserRemoteCachingFromJSON( jsonString: string, ): SafeParseResult { @@ -1476,7 +1240,6 @@ export const DataCache$inboundSchema: z.ZodType< > = z.object({ excessBillingEnabled: z.boolean().optional(), }); - /** @internal */ export type DataCache$Outbound = { excessBillingEnabled?: boolean | undefined; @@ -1491,23 +1254,9 @@ export const DataCache$outboundSchema: z.ZodType< excessBillingEnabled: 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 { @@ -1528,7 +1277,6 @@ export const WebAnalytics$inboundSchema: z.ZodType< blockedUntil: z.number().optional(), isCurrentlyBlocked: z.boolean(), }); - /** @internal */ export type WebAnalytics$Outbound = { blockedFrom?: number | undefined; @@ -1547,23 +1295,9 @@ export const WebAnalytics$outboundSchema: z.ZodType< isCurrentlyBlocked: 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 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 { @@ -1582,7 +1316,6 @@ export const FeatureBlocks$inboundSchema: z.ZodType< > = z.object({ webAnalytics: z.lazy(() => WebAnalytics$inboundSchema).optional(), }); - /** @internal */ export type FeatureBlocks$Outbound = { webAnalytics?: WebAnalytics$Outbound | undefined; @@ -1597,23 +1330,9 @@ export const FeatureBlocks$outboundSchema: z.ZodType< webAnalytics: z.lazy(() => WebAnalytics$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 FeatureBlocks$ { - /** @deprecated use `FeatureBlocks$inboundSchema` instead. */ - export const inboundSchema = FeatureBlocks$inboundSchema; - /** @deprecated use `FeatureBlocks$outboundSchema` instead. */ - export const outboundSchema = FeatureBlocks$outboundSchema; - /** @deprecated use `FeatureBlocks$Outbound` instead. */ - export type Outbound = FeatureBlocks$Outbound; -} - export function featureBlocksToJSON(featureBlocks: FeatureBlocks): string { return JSON.stringify(FeatureBlocks$outboundSchema.parse(featureBlocks)); } - export function featureBlocksFromJSON( jsonString: string, ): SafeParseResult { @@ -1663,7 +1382,6 @@ export const AuthUser$inboundSchema: z.ZodType< avatar: z.nullable(z.string()), defaultTeamId: z.nullable(z.string()), }); - /** @internal */ export type AuthUser$Outbound = { createdAt: number; @@ -1734,23 +1452,9 @@ export const AuthUser$outboundSchema: z.ZodType< defaultTeamId: 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 AuthUser$ { - /** @deprecated use `AuthUser$inboundSchema` instead. */ - export const inboundSchema = AuthUser$inboundSchema; - /** @deprecated use `AuthUser$outboundSchema` instead. */ - export const outboundSchema = AuthUser$outboundSchema; - /** @deprecated use `AuthUser$Outbound` instead. */ - export type Outbound = AuthUser$Outbound; -} - export function authUserToJSON(authUser: AuthUser): string { return JSON.stringify(AuthUser$outboundSchema.parse(authUser)); } - export function authUserFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/authuserlimited.ts b/src/models/authuserlimited.ts index 646898c39..3fa2fc834 100644 --- a/src/models/authuserlimited.ts +++ b/src/models/authuserlimited.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -55,7 +55,6 @@ export const AuthUserLimited$inboundSchema: z.ZodType< avatar: z.nullable(z.string()), defaultTeamId: z.nullable(z.string()), }); - /** @internal */ export type AuthUserLimited$Outbound = { limited: boolean; @@ -82,25 +81,11 @@ export const AuthUserLimited$outboundSchema: z.ZodType< defaultTeamId: 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 AuthUserLimited$ { - /** @deprecated use `AuthUserLimited$inboundSchema` instead. */ - export const inboundSchema = AuthUserLimited$inboundSchema; - /** @deprecated use `AuthUserLimited$outboundSchema` instead. */ - export const outboundSchema = AuthUserLimited$outboundSchema; - /** @deprecated use `AuthUserLimited$Outbound` instead. */ - export type Outbound = AuthUserLimited$Outbound; -} - export function authUserLimitedToJSON( authUserLimited: AuthUserLimited, ): string { return JSON.stringify(AuthUserLimited$outboundSchema.parse(authUserLimited)); } - export function authUserLimitedFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/batchremoveprojectenvop.ts b/src/models/batchremoveprojectenvop.ts index 98656a7e5..12f2e77bb 100644 --- a/src/models/batchremoveprojectenvop.ts +++ b/src/models/batchremoveprojectenvop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; @@ -44,7 +44,6 @@ export const BatchRemoveProjectEnvRequestBody$inboundSchema: z.ZodType< > = z.object({ ids: z.array(z.string()), }); - /** @internal */ export type BatchRemoveProjectEnvRequestBody$Outbound = { ids: Array; @@ -59,19 +58,6 @@ export const BatchRemoveProjectEnvRequestBody$outboundSchema: z.ZodType< ids: 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 BatchRemoveProjectEnvRequestBody$ { - /** @deprecated use `BatchRemoveProjectEnvRequestBody$inboundSchema` instead. */ - export const inboundSchema = BatchRemoveProjectEnvRequestBody$inboundSchema; - /** @deprecated use `BatchRemoveProjectEnvRequestBody$outboundSchema` instead. */ - export const outboundSchema = BatchRemoveProjectEnvRequestBody$outboundSchema; - /** @deprecated use `BatchRemoveProjectEnvRequestBody$Outbound` instead. */ - export type Outbound = BatchRemoveProjectEnvRequestBody$Outbound; -} - export function batchRemoveProjectEnvRequestBodyToJSON( batchRemoveProjectEnvRequestBody: BatchRemoveProjectEnvRequestBody, ): string { @@ -81,7 +67,6 @@ export function batchRemoveProjectEnvRequestBodyToJSON( ), ); } - export function batchRemoveProjectEnvRequestBodyFromJSON( jsonString: string, ): SafeParseResult { @@ -108,7 +93,6 @@ export const BatchRemoveProjectEnvRequest$inboundSchema: z.ZodType< "RequestBody": "requestBody", }); }); - /** @internal */ export type BatchRemoveProjectEnvRequest$Outbound = { idOrName: string; @@ -134,19 +118,6 @@ export const BatchRemoveProjectEnvRequest$outboundSchema: z.ZodType< }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace BatchRemoveProjectEnvRequest$ { - /** @deprecated use `BatchRemoveProjectEnvRequest$inboundSchema` instead. */ - export const inboundSchema = BatchRemoveProjectEnvRequest$inboundSchema; - /** @deprecated use `BatchRemoveProjectEnvRequest$outboundSchema` instead. */ - export const outboundSchema = BatchRemoveProjectEnvRequest$outboundSchema; - /** @deprecated use `BatchRemoveProjectEnvRequest$Outbound` instead. */ - export type Outbound = BatchRemoveProjectEnvRequest$Outbound; -} - export function batchRemoveProjectEnvRequestToJSON( batchRemoveProjectEnvRequest: BatchRemoveProjectEnvRequest, ): string { @@ -156,7 +127,6 @@ export function batchRemoveProjectEnvRequestToJSON( ), ); } - export function batchRemoveProjectEnvRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -176,7 +146,6 @@ export const BatchRemoveProjectEnvResponseBody$inboundSchema: z.ZodType< deleted: z.number(), ids: z.array(z.string()), }); - /** @internal */ export type BatchRemoveProjectEnvResponseBody$Outbound = { deleted: number; @@ -193,20 +162,6 @@ export const BatchRemoveProjectEnvResponseBody$outboundSchema: z.ZodType< ids: 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 BatchRemoveProjectEnvResponseBody$ { - /** @deprecated use `BatchRemoveProjectEnvResponseBody$inboundSchema` instead. */ - export const inboundSchema = BatchRemoveProjectEnvResponseBody$inboundSchema; - /** @deprecated use `BatchRemoveProjectEnvResponseBody$outboundSchema` instead. */ - export const outboundSchema = - BatchRemoveProjectEnvResponseBody$outboundSchema; - /** @deprecated use `BatchRemoveProjectEnvResponseBody$Outbound` instead. */ - export type Outbound = BatchRemoveProjectEnvResponseBody$Outbound; -} - export function batchRemoveProjectEnvResponseBodyToJSON( batchRemoveProjectEnvResponseBody: BatchRemoveProjectEnvResponseBody, ): string { @@ -216,7 +171,6 @@ export function batchRemoveProjectEnvResponseBodyToJSON( ), ); } - export function batchRemoveProjectEnvResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/buydomainop.ts b/src/models/buydomainop.ts index 3b0e18b6a..9abf43dbf 100644 --- a/src/models/buydomainop.ts +++ b/src/models/buydomainop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; @@ -123,7 +123,6 @@ export const BuyDomainRequestBody$inboundSchema: z.ZodType< phone: z.string(), email: z.string(), }); - /** @internal */ export type BuyDomainRequestBody$Outbound = { name: string; @@ -162,19 +161,6 @@ export const BuyDomainRequestBody$outboundSchema: z.ZodType< 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 { @@ -182,7 +168,6 @@ export function buyDomainRequestBodyToJSON( BuyDomainRequestBody$outboundSchema.parse(buyDomainRequestBody), ); } - export function buyDomainRequestBodyFromJSON( jsonString: string, ): SafeParseResult { @@ -207,7 +192,6 @@ export const BuyDomainRequest$inboundSchema: z.ZodType< "RequestBody": "requestBody", }); }); - /** @internal */ export type BuyDomainRequest$Outbound = { teamId?: string | undefined; @@ -230,19 +214,6 @@ export const BuyDomainRequest$outboundSchema: z.ZodType< }); }); -/** - * @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 { @@ -250,7 +221,6 @@ export function buyDomainRequestToJSON( BuyDomainRequest$outboundSchema.parse(buyDomainRequest), ); } - export function buyDomainRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -273,7 +243,6 @@ export const BuyDomainDomain$inboundSchema: z.ZodType< created: z.number(), pending: z.boolean(), }); - /** @internal */ export type BuyDomainDomain$Outbound = { uid: string; @@ -296,25 +265,11 @@ export const BuyDomainDomain$outboundSchema: z.ZodType< 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 { @@ -333,7 +288,6 @@ export const BuyDomainDomainsResponseBody$inboundSchema: z.ZodType< > = z.object({ domain: z.lazy(() => BuyDomainDomain$inboundSchema), }); - /** @internal */ export type BuyDomainDomainsResponseBody$Outbound = { domain: BuyDomainDomain$Outbound; @@ -348,19 +302,6 @@ export const BuyDomainDomainsResponseBody$outboundSchema: z.ZodType< 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 { @@ -370,7 +311,6 @@ export function buyDomainDomainsResponseBodyToJSON( ), ); } - export function buyDomainDomainsResponseBodyFromJSON( jsonString: string, ): SafeParseResult { @@ -393,7 +333,6 @@ export const BuyDomainDomainsDomain$inboundSchema: z.ZodType< created: z.number(), pending: z.boolean(), }); - /** @internal */ export type BuyDomainDomainsDomain$Outbound = { uid: string; @@ -416,19 +355,6 @@ export const BuyDomainDomainsDomain$outboundSchema: z.ZodType< 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 { @@ -436,7 +362,6 @@ export function buyDomainDomainsDomainToJSON( BuyDomainDomainsDomain$outboundSchema.parse(buyDomainDomainsDomain), ); } - export function buyDomainDomainsDomainFromJSON( jsonString: string, ): SafeParseResult { @@ -455,7 +380,6 @@ export const BuyDomainResponseBody$inboundSchema: z.ZodType< > = z.object({ domain: z.lazy(() => BuyDomainDomainsDomain$inboundSchema), }); - /** @internal */ export type BuyDomainResponseBody$Outbound = { domain: BuyDomainDomainsDomain$Outbound; @@ -470,19 +394,6 @@ export const BuyDomainResponseBody$outboundSchema: z.ZodType< 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 { @@ -490,7 +401,6 @@ export function buyDomainResponseBodyToJSON( BuyDomainResponseBody$outboundSchema.parse(buyDomainResponseBody), ); } - export function buyDomainResponseBodyFromJSON( jsonString: string, ): SafeParseResult { @@ -510,7 +420,6 @@ export const BuyDomainResponse$inboundSchema: z.ZodType< z.lazy(() => BuyDomainResponseBody$inboundSchema), z.lazy(() => BuyDomainDomainsResponseBody$inboundSchema), ]); - /** @internal */ export type BuyDomainResponse$Outbound = | BuyDomainResponseBody$Outbound @@ -526,19 +435,6 @@ export const BuyDomainResponse$outboundSchema: z.ZodType< 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 { @@ -546,7 +442,6 @@ export function buyDomainResponseToJSON( BuyDomainResponse$outboundSchema.parse(buyDomainResponse), ); } - export function buyDomainResponseFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/buydomainsop.ts b/src/models/buydomainsop.ts new file mode 100644 index 000000000..7cc66df85 --- /dev/null +++ b/src/models/buydomainsop.ts @@ -0,0 +1,518 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +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 { + Forbidden, + Forbidden$inboundSchema, + Forbidden$Outbound, + Forbidden$outboundSchema, +} from "./forbidden.js"; +import { + NotAuthorizedForScope, + NotAuthorizedForScope$inboundSchema, + NotAuthorizedForScope$Outbound, + NotAuthorizedForScope$outboundSchema, +} from "./notauthorizedforscope.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type Domains = { + domainName: string; + /** + * Whether the domain should be auto-renewed before it expires. This can be configured later through the Vercel Dashboard or the [Update auto-renew for a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/update-auto-renew-for-a-domain) endpoint. + */ + autoRenew: boolean; + /** + * The number of years to purchase the domain for. + */ + years: number; + /** + * The expected price for the domain. Use the [Get price data for a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/get-price-data-for-a-domain) endpoint to retrieve the price data for a domain. + */ + expectedPrice: number; +}; + +export type BuyDomainsAdditional = {}; + +/** + * The contact information for the domain. Some TLDs require additional contact information. Use the [Get contact info schema](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/get-contact-info-schema) endpoint to retrieve the required fields. + */ +export type BuyDomainsContactInformation = { + /** + * a non empty string + */ + firstName: string; + /** + * a non empty string + */ + lastName: string; + /** + * a non empty string + */ + email: string; + /** + * A valid E.164 phone number + */ + phone: string; + /** + * a non empty string + */ + address1: string; + /** + * a non empty string + */ + address2?: string | undefined; + /** + * a non empty string + */ + city: string; + /** + * a non empty string + */ + state: string; + /** + * a non empty string + */ + zip: string; + /** + * A valid ISO 3166-1 alpha-2 country code + */ + country: string; + /** + * a non empty string + */ + companyName?: string | undefined; + /** + * A valid E.164 phone number + */ + fax?: string | undefined; + additional?: BuyDomainsAdditional | undefined; +}; + +export type BuyDomainsRequestBody = { + domains: Array; + /** + * The contact information for the domain. Some TLDs require additional contact information. Use the [Get contact info schema](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/get-contact-info-schema) endpoint to retrieve the required fields. + */ + contactInformation: BuyDomainsContactInformation; +}; + +export type BuyDomainsRequest = { + teamId?: string | undefined; + requestBody: BuyDomainsRequestBody; +}; + +/** + * NotAuthorizedForScope + */ +export type BuyDomainsDomainsRegistrarResponseBody = + | NotAuthorizedForScope + | Forbidden; + +export const BuyDomainsMethod = { + Get: "GET", + Post: "POST", + Put: "PUT", + Delete: "DELETE", + Patch: "PATCH", +} as const; +export type BuyDomainsMethod = ClosedEnum; + +export type BuyDomainsLinks = { + href: string; + method: BuyDomainsMethod; +}; + +/** + * Success + */ +export type BuyDomainsResponseBody = { + orderId: string; + links: { [k: string]: BuyDomainsLinks }; +}; + +/** @internal */ +export const Domains$inboundSchema: z.ZodType = + z.object({ + domainName: z.string(), + autoRenew: z.boolean(), + years: z.number(), + expectedPrice: z.number(), + }); +/** @internal */ +export type Domains$Outbound = { + domainName: string; + autoRenew: boolean; + years: number; + expectedPrice: number; +}; + +/** @internal */ +export const Domains$outboundSchema: z.ZodType< + Domains$Outbound, + z.ZodTypeDef, + Domains +> = z.object({ + domainName: z.string(), + autoRenew: z.boolean(), + years: z.number(), + expectedPrice: z.number(), +}); + +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 BuyDomainsAdditional$inboundSchema: z.ZodType< + BuyDomainsAdditional, + z.ZodTypeDef, + unknown +> = z.object({}); +/** @internal */ +export type BuyDomainsAdditional$Outbound = {}; + +/** @internal */ +export const BuyDomainsAdditional$outboundSchema: z.ZodType< + BuyDomainsAdditional$Outbound, + z.ZodTypeDef, + BuyDomainsAdditional +> = z.object({}); + +export function buyDomainsAdditionalToJSON( + buyDomainsAdditional: BuyDomainsAdditional, +): string { + return JSON.stringify( + BuyDomainsAdditional$outboundSchema.parse(buyDomainsAdditional), + ); +} +export function buyDomainsAdditionalFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => BuyDomainsAdditional$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'BuyDomainsAdditional' from JSON`, + ); +} + +/** @internal */ +export const BuyDomainsContactInformation$inboundSchema: z.ZodType< + BuyDomainsContactInformation, + z.ZodTypeDef, + unknown +> = z.object({ + firstName: z.string(), + lastName: z.string(), + email: z.string(), + phone: z.string(), + address1: z.string(), + address2: z.string().optional(), + city: z.string(), + state: z.string(), + zip: z.string(), + country: z.string(), + companyName: z.string().optional(), + fax: z.string().optional(), + additional: z.lazy(() => BuyDomainsAdditional$inboundSchema).optional(), +}); +/** @internal */ +export type BuyDomainsContactInformation$Outbound = { + firstName: string; + lastName: string; + email: string; + phone: string; + address1: string; + address2?: string | undefined; + city: string; + state: string; + zip: string; + country: string; + companyName?: string | undefined; + fax?: string | undefined; + additional?: BuyDomainsAdditional$Outbound | undefined; +}; + +/** @internal */ +export const BuyDomainsContactInformation$outboundSchema: z.ZodType< + BuyDomainsContactInformation$Outbound, + z.ZodTypeDef, + BuyDomainsContactInformation +> = z.object({ + firstName: z.string(), + lastName: z.string(), + email: z.string(), + phone: z.string(), + address1: z.string(), + address2: z.string().optional(), + city: z.string(), + state: z.string(), + zip: z.string(), + country: z.string(), + companyName: z.string().optional(), + fax: z.string().optional(), + additional: z.lazy(() => BuyDomainsAdditional$outboundSchema).optional(), +}); + +export function buyDomainsContactInformationToJSON( + buyDomainsContactInformation: BuyDomainsContactInformation, +): string { + return JSON.stringify( + BuyDomainsContactInformation$outboundSchema.parse( + buyDomainsContactInformation, + ), + ); +} +export function buyDomainsContactInformationFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => BuyDomainsContactInformation$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'BuyDomainsContactInformation' from JSON`, + ); +} + +/** @internal */ +export const BuyDomainsRequestBody$inboundSchema: z.ZodType< + BuyDomainsRequestBody, + z.ZodTypeDef, + unknown +> = z.object({ + domains: z.array(z.lazy(() => Domains$inboundSchema)), + contactInformation: z.lazy(() => BuyDomainsContactInformation$inboundSchema), +}); +/** @internal */ +export type BuyDomainsRequestBody$Outbound = { + domains: Array; + contactInformation: BuyDomainsContactInformation$Outbound; +}; + +/** @internal */ +export const BuyDomainsRequestBody$outboundSchema: z.ZodType< + BuyDomainsRequestBody$Outbound, + z.ZodTypeDef, + BuyDomainsRequestBody +> = z.object({ + domains: z.array(z.lazy(() => Domains$outboundSchema)), + contactInformation: z.lazy(() => BuyDomainsContactInformation$outboundSchema), +}); + +export function buyDomainsRequestBodyToJSON( + buyDomainsRequestBody: BuyDomainsRequestBody, +): string { + return JSON.stringify( + BuyDomainsRequestBody$outboundSchema.parse(buyDomainsRequestBody), + ); +} +export function buyDomainsRequestBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => BuyDomainsRequestBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'BuyDomainsRequestBody' from JSON`, + ); +} + +/** @internal */ +export const BuyDomainsRequest$inboundSchema: z.ZodType< + BuyDomainsRequest, + z.ZodTypeDef, + unknown +> = z.object({ + teamId: z.string().optional(), + RequestBody: z.lazy(() => BuyDomainsRequestBody$inboundSchema), +}).transform((v) => { + return remap$(v, { + "RequestBody": "requestBody", + }); +}); +/** @internal */ +export type BuyDomainsRequest$Outbound = { + teamId?: string | undefined; + RequestBody: BuyDomainsRequestBody$Outbound; +}; + +/** @internal */ +export const BuyDomainsRequest$outboundSchema: z.ZodType< + BuyDomainsRequest$Outbound, + z.ZodTypeDef, + BuyDomainsRequest +> = z.object({ + teamId: z.string().optional(), + requestBody: z.lazy(() => BuyDomainsRequestBody$outboundSchema), +}).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); +}); + +export function buyDomainsRequestToJSON( + buyDomainsRequest: BuyDomainsRequest, +): string { + return JSON.stringify( + BuyDomainsRequest$outboundSchema.parse(buyDomainsRequest), + ); +} +export function buyDomainsRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => BuyDomainsRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'BuyDomainsRequest' from JSON`, + ); +} + +/** @internal */ +export const BuyDomainsDomainsRegistrarResponseBody$inboundSchema: z.ZodType< + BuyDomainsDomainsRegistrarResponseBody, + z.ZodTypeDef, + unknown +> = z.union([NotAuthorizedForScope$inboundSchema, Forbidden$inboundSchema]); +/** @internal */ +export type BuyDomainsDomainsRegistrarResponseBody$Outbound = + | NotAuthorizedForScope$Outbound + | Forbidden$Outbound; + +/** @internal */ +export const BuyDomainsDomainsRegistrarResponseBody$outboundSchema: z.ZodType< + BuyDomainsDomainsRegistrarResponseBody$Outbound, + z.ZodTypeDef, + unknown +> = z.union([NotAuthorizedForScope$outboundSchema, Forbidden$outboundSchema]); + +export function buyDomainsDomainsRegistrarResponseBodyToJSON( + buyDomainsDomainsRegistrarResponseBody: + BuyDomainsDomainsRegistrarResponseBody, +): string { + return JSON.stringify( + BuyDomainsDomainsRegistrarResponseBody$outboundSchema.parse( + buyDomainsDomainsRegistrarResponseBody, + ), + ); +} +export function buyDomainsDomainsRegistrarResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + BuyDomainsDomainsRegistrarResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'BuyDomainsDomainsRegistrarResponseBody' from JSON`, + ); +} + +/** @internal */ +export const BuyDomainsMethod$inboundSchema: z.ZodNativeEnum< + typeof BuyDomainsMethod +> = z.nativeEnum(BuyDomainsMethod); +/** @internal */ +export const BuyDomainsMethod$outboundSchema: z.ZodNativeEnum< + typeof BuyDomainsMethod +> = BuyDomainsMethod$inboundSchema; + +/** @internal */ +export const BuyDomainsLinks$inboundSchema: z.ZodType< + BuyDomainsLinks, + z.ZodTypeDef, + unknown +> = z.object({ + href: z.string(), + method: BuyDomainsMethod$inboundSchema, +}); +/** @internal */ +export type BuyDomainsLinks$Outbound = { + href: string; + method: string; +}; + +/** @internal */ +export const BuyDomainsLinks$outboundSchema: z.ZodType< + BuyDomainsLinks$Outbound, + z.ZodTypeDef, + BuyDomainsLinks +> = z.object({ + href: z.string(), + method: BuyDomainsMethod$outboundSchema, +}); + +export function buyDomainsLinksToJSON( + buyDomainsLinks: BuyDomainsLinks, +): string { + return JSON.stringify(BuyDomainsLinks$outboundSchema.parse(buyDomainsLinks)); +} +export function buyDomainsLinksFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => BuyDomainsLinks$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'BuyDomainsLinks' from JSON`, + ); +} + +/** @internal */ +export const BuyDomainsResponseBody$inboundSchema: z.ZodType< + BuyDomainsResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + orderId: z.string(), + _links: z.record(z.lazy(() => BuyDomainsLinks$inboundSchema)), +}).transform((v) => { + return remap$(v, { + "_links": "links", + }); +}); +/** @internal */ +export type BuyDomainsResponseBody$Outbound = { + orderId: string; + _links: { [k: string]: BuyDomainsLinks$Outbound }; +}; + +/** @internal */ +export const BuyDomainsResponseBody$outboundSchema: z.ZodType< + BuyDomainsResponseBody$Outbound, + z.ZodTypeDef, + BuyDomainsResponseBody +> = z.object({ + orderId: z.string(), + links: z.record(z.lazy(() => BuyDomainsLinks$outboundSchema)), +}).transform((v) => { + return remap$(v, { + links: "_links", + }); +}); + +export function buyDomainsResponseBodyToJSON( + buyDomainsResponseBody: BuyDomainsResponseBody, +): string { + return JSON.stringify( + BuyDomainsResponseBody$outboundSchema.parse(buyDomainsResponseBody), + ); +} +export function buyDomainsResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => BuyDomainsResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'BuyDomainsResponseBody' from JSON`, + ); +} diff --git a/src/models/buysingledomainop.ts b/src/models/buysingledomainop.ts new file mode 100644 index 000000000..323b3b305 --- /dev/null +++ b/src/models/buysingledomainop.ts @@ -0,0 +1,480 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +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 { + Forbidden, + Forbidden$inboundSchema, + Forbidden$Outbound, + Forbidden$outboundSchema, +} from "./forbidden.js"; +import { + NotAuthorizedForScope, + NotAuthorizedForScope$inboundSchema, + NotAuthorizedForScope$Outbound, + NotAuthorizedForScope$outboundSchema, +} from "./notauthorizedforscope.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type Additional = {}; + +/** + * The contact information for the domain. Some TLDs require additional contact information. Use the [Get contact info schema](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/get-contact-info-schema) endpoint to retrieve the required fields. + */ +export type ContactInformation = { + /** + * a non empty string + */ + firstName: string; + /** + * a non empty string + */ + lastName: string; + /** + * a non empty string + */ + email: string; + /** + * A valid E.164 phone number + */ + phone: string; + /** + * a non empty string + */ + address1: string; + /** + * a non empty string + */ + address2?: string | undefined; + /** + * a non empty string + */ + city: string; + /** + * a non empty string + */ + state: string; + /** + * a non empty string + */ + zip: string; + /** + * A valid ISO 3166-1 alpha-2 country code + */ + country: string; + /** + * a non empty string + */ + companyName?: string | undefined; + /** + * A valid E.164 phone number + */ + fax?: string | undefined; + additional?: Additional | undefined; +}; + +export type BuySingleDomainRequestBody = { + /** + * Whether the domain should be auto-renewed before it expires. This can be configured later through the Vercel Dashboard or the [Update auto-renew for a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/update-auto-renew-for-a-domain) endpoint. + */ + autoRenew: boolean; + /** + * The number of years to purchase the domain for. + */ + years: number; + /** + * The expected price for the domain. Use the [Get price data for a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/get-price-data-for-a-domain) endpoint to retrieve the price data for a domain. + */ + expectedPrice: number; + /** + * The contact information for the domain. Some TLDs require additional contact information. Use the [Get contact info schema](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/get-contact-info-schema) endpoint to retrieve the required fields. + */ + contactInformation: ContactInformation; +}; + +export type BuySingleDomainRequest = { + domain: string; + teamId?: string | undefined; + requestBody: BuySingleDomainRequestBody; +}; + +/** + * NotAuthorizedForScope + */ +export type BuySingleDomainDomainsRegistrarResponseBody = + | NotAuthorizedForScope + | Forbidden; + +export const BuySingleDomainMethod = { + Get: "GET", + Post: "POST", + Put: "PUT", + Delete: "DELETE", + Patch: "PATCH", +} as const; +export type BuySingleDomainMethod = ClosedEnum; + +export type Links = { + href: string; + method: BuySingleDomainMethod; +}; + +/** + * Success + */ +export type BuySingleDomainResponseBody = { + orderId: string; + links: { [k: string]: Links }; +}; + +/** @internal */ +export const Additional$inboundSchema: z.ZodType< + Additional, + z.ZodTypeDef, + unknown +> = z.object({}); +/** @internal */ +export type Additional$Outbound = {}; + +/** @internal */ +export const Additional$outboundSchema: z.ZodType< + Additional$Outbound, + z.ZodTypeDef, + Additional +> = z.object({}); + +export function additionalToJSON(additional: Additional): string { + return JSON.stringify(Additional$outboundSchema.parse(additional)); +} +export function additionalFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Additional$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Additional' from JSON`, + ); +} + +/** @internal */ +export const ContactInformation$inboundSchema: z.ZodType< + ContactInformation, + z.ZodTypeDef, + unknown +> = z.object({ + firstName: z.string(), + lastName: z.string(), + email: z.string(), + phone: z.string(), + address1: z.string(), + address2: z.string().optional(), + city: z.string(), + state: z.string(), + zip: z.string(), + country: z.string(), + companyName: z.string().optional(), + fax: z.string().optional(), + additional: z.lazy(() => Additional$inboundSchema).optional(), +}); +/** @internal */ +export type ContactInformation$Outbound = { + firstName: string; + lastName: string; + email: string; + phone: string; + address1: string; + address2?: string | undefined; + city: string; + state: string; + zip: string; + country: string; + companyName?: string | undefined; + fax?: string | undefined; + additional?: Additional$Outbound | undefined; +}; + +/** @internal */ +export const ContactInformation$outboundSchema: z.ZodType< + ContactInformation$Outbound, + z.ZodTypeDef, + ContactInformation +> = z.object({ + firstName: z.string(), + lastName: z.string(), + email: z.string(), + phone: z.string(), + address1: z.string(), + address2: z.string().optional(), + city: z.string(), + state: z.string(), + zip: z.string(), + country: z.string(), + companyName: z.string().optional(), + fax: z.string().optional(), + additional: z.lazy(() => Additional$outboundSchema).optional(), +}); + +export function contactInformationToJSON( + contactInformation: ContactInformation, +): string { + return JSON.stringify( + ContactInformation$outboundSchema.parse(contactInformation), + ); +} +export function contactInformationFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ContactInformation$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ContactInformation' from JSON`, + ); +} + +/** @internal */ +export const BuySingleDomainRequestBody$inboundSchema: z.ZodType< + BuySingleDomainRequestBody, + z.ZodTypeDef, + unknown +> = z.object({ + autoRenew: z.boolean(), + years: z.number(), + expectedPrice: z.number(), + contactInformation: z.lazy(() => ContactInformation$inboundSchema), +}); +/** @internal */ +export type BuySingleDomainRequestBody$Outbound = { + autoRenew: boolean; + years: number; + expectedPrice: number; + contactInformation: ContactInformation$Outbound; +}; + +/** @internal */ +export const BuySingleDomainRequestBody$outboundSchema: z.ZodType< + BuySingleDomainRequestBody$Outbound, + z.ZodTypeDef, + BuySingleDomainRequestBody +> = z.object({ + autoRenew: z.boolean(), + years: z.number(), + expectedPrice: z.number(), + contactInformation: z.lazy(() => ContactInformation$outboundSchema), +}); + +export function buySingleDomainRequestBodyToJSON( + buySingleDomainRequestBody: BuySingleDomainRequestBody, +): string { + return JSON.stringify( + BuySingleDomainRequestBody$outboundSchema.parse(buySingleDomainRequestBody), + ); +} +export function buySingleDomainRequestBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => BuySingleDomainRequestBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'BuySingleDomainRequestBody' from JSON`, + ); +} + +/** @internal */ +export const BuySingleDomainRequest$inboundSchema: z.ZodType< + BuySingleDomainRequest, + z.ZodTypeDef, + unknown +> = z.object({ + domain: z.string(), + teamId: z.string().optional(), + RequestBody: z.lazy(() => BuySingleDomainRequestBody$inboundSchema), +}).transform((v) => { + return remap$(v, { + "RequestBody": "requestBody", + }); +}); +/** @internal */ +export type BuySingleDomainRequest$Outbound = { + domain: string; + teamId?: string | undefined; + RequestBody: BuySingleDomainRequestBody$Outbound; +}; + +/** @internal */ +export const BuySingleDomainRequest$outboundSchema: z.ZodType< + BuySingleDomainRequest$Outbound, + z.ZodTypeDef, + BuySingleDomainRequest +> = z.object({ + domain: z.string(), + teamId: z.string().optional(), + requestBody: z.lazy(() => BuySingleDomainRequestBody$outboundSchema), +}).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); +}); + +export function buySingleDomainRequestToJSON( + buySingleDomainRequest: BuySingleDomainRequest, +): string { + return JSON.stringify( + BuySingleDomainRequest$outboundSchema.parse(buySingleDomainRequest), + ); +} +export function buySingleDomainRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => BuySingleDomainRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'BuySingleDomainRequest' from JSON`, + ); +} + +/** @internal */ +export const BuySingleDomainDomainsRegistrarResponseBody$inboundSchema: + z.ZodType< + BuySingleDomainDomainsRegistrarResponseBody, + z.ZodTypeDef, + unknown + > = z.union([NotAuthorizedForScope$inboundSchema, Forbidden$inboundSchema]); +/** @internal */ +export type BuySingleDomainDomainsRegistrarResponseBody$Outbound = + | NotAuthorizedForScope$Outbound + | Forbidden$Outbound; + +/** @internal */ +export const BuySingleDomainDomainsRegistrarResponseBody$outboundSchema: + z.ZodType< + BuySingleDomainDomainsRegistrarResponseBody$Outbound, + z.ZodTypeDef, + unknown + > = z.union([NotAuthorizedForScope$outboundSchema, Forbidden$outboundSchema]); + +export function buySingleDomainDomainsRegistrarResponseBodyToJSON( + buySingleDomainDomainsRegistrarResponseBody: + BuySingleDomainDomainsRegistrarResponseBody, +): string { + return JSON.stringify( + BuySingleDomainDomainsRegistrarResponseBody$outboundSchema.parse( + buySingleDomainDomainsRegistrarResponseBody, + ), + ); +} +export function buySingleDomainDomainsRegistrarResponseBodyFromJSON( + jsonString: string, +): SafeParseResult< + BuySingleDomainDomainsRegistrarResponseBody, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + BuySingleDomainDomainsRegistrarResponseBody$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'BuySingleDomainDomainsRegistrarResponseBody' from JSON`, + ); +} + +/** @internal */ +export const BuySingleDomainMethod$inboundSchema: z.ZodNativeEnum< + typeof BuySingleDomainMethod +> = z.nativeEnum(BuySingleDomainMethod); +/** @internal */ +export const BuySingleDomainMethod$outboundSchema: z.ZodNativeEnum< + typeof BuySingleDomainMethod +> = BuySingleDomainMethod$inboundSchema; + +/** @internal */ +export const Links$inboundSchema: z.ZodType = z + .object({ + href: z.string(), + method: BuySingleDomainMethod$inboundSchema, + }); +/** @internal */ +export type Links$Outbound = { + href: string; + method: string; +}; + +/** @internal */ +export const Links$outboundSchema: z.ZodType< + Links$Outbound, + z.ZodTypeDef, + Links +> = z.object({ + href: z.string(), + method: BuySingleDomainMethod$outboundSchema, +}); + +export function linksToJSON(links: Links): string { + return JSON.stringify(Links$outboundSchema.parse(links)); +} +export function linksFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Links$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Links' from JSON`, + ); +} + +/** @internal */ +export const BuySingleDomainResponseBody$inboundSchema: z.ZodType< + BuySingleDomainResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + orderId: z.string(), + _links: z.record(z.lazy(() => Links$inboundSchema)), +}).transform((v) => { + return remap$(v, { + "_links": "links", + }); +}); +/** @internal */ +export type BuySingleDomainResponseBody$Outbound = { + orderId: string; + _links: { [k: string]: Links$Outbound }; +}; + +/** @internal */ +export const BuySingleDomainResponseBody$outboundSchema: z.ZodType< + BuySingleDomainResponseBody$Outbound, + z.ZodTypeDef, + BuySingleDomainResponseBody +> = z.object({ + orderId: z.string(), + links: z.record(z.lazy(() => Links$outboundSchema)), +}).transform((v) => { + return remap$(v, { + links: "_links", + }); +}); + +export function buySingleDomainResponseBodyToJSON( + buySingleDomainResponseBody: BuySingleDomainResponseBody, +): string { + return JSON.stringify( + BuySingleDomainResponseBody$outboundSchema.parse( + buySingleDomainResponseBody, + ), + ); +} +export function buySingleDomainResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => BuySingleDomainResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'BuySingleDomainResponseBody' from JSON`, + ); +} diff --git a/src/models/canceldeploymentop.ts b/src/models/canceldeploymentop.ts index dc3ebf855..bc43152c0 100644 --- a/src/models/canceldeploymentop.ts +++ b/src/models/canceldeploymentop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; @@ -82,10 +82,12 @@ export const CancelDeploymentFramework = { Zola: "zola", Hydrogen: "hydrogen", Vite: "vite", + TanstackStart: "tanstack-start", Vitepress: "vitepress", Vuepress: "vuepress", Parcel: "parcel", Fastapi: "fastapi", + Flask: "flask", Fasthtml: "fasthtml", SanityV3: "sanity-v3", Sanity: "sanity", @@ -94,6 +96,9 @@ export const CancelDeploymentFramework = { Hono: "hono", Express: "express", H3: "h3", + Nestjs: "nestjs", + Elysia: "elysia", + Fastify: "fastify", Xmcp: "xmcp", } as const; export type CancelDeploymentFramework = ClosedEnum< @@ -224,9 +229,21 @@ export type CancelDeploymentImages = { contentDispositionType?: CancelDeploymentContentDispositionType | undefined; }; +/** + * Information about the deployment creator + */ export type CancelDeploymentCreator = { + /** + * The ID of the user that created the deployment + */ uid: string; + /** + * The username of the user that created the deployment + */ username?: string | undefined; + /** + * The avatar of the user that created the deployment + */ avatar?: string | undefined; }; @@ -267,6 +284,9 @@ export const CancelDeploymentStatus = { } as const; export type CancelDeploymentStatus = ClosedEnum; +/** + * The team that owns the deployment if any + */ export type CancelDeploymentTeam = { id: string; name: string; @@ -274,6 +294,9 @@ export type CancelDeploymentTeam = { slug: string; }; +/** + * If the deployment was created using a Custom Environment, then this property contains information regarding the environment used. + */ export type CancelDeploymentCustomEnvironment2 = { id: string; }; @@ -358,7 +381,7 @@ export type CancelDeploymentCustomEnvironmentDomains = { }; /** - * Internal representation of a custom environment with all required properties + * If the deployment was created using a Custom Environment, then this property contains information regarding the environment used. */ export type CancelDeploymentCustomEnvironment1 = { /** @@ -410,6 +433,9 @@ export type CancelDeploymentOomReport = ClosedEnum< typeof CancelDeploymentOomReport >; +/** + * An object that will contain a `code` and a `message` when the aliasing fails, otherwise the value will be `null` + */ export type CancelDeploymentAliasError = { code: string; message: string; @@ -743,6 +769,7 @@ export type CancelDeploymentGitSource = * If set it overrides the `projectSettings.nodeVersion` for this deployment. */ export const CancelDeploymentNodeVersion = { + TwentyFourDotX: "24.x", TwentyTwoDotX: "22.x", TwentyDotX: "20.x", EighteenDotX: "18.x", @@ -759,12 +786,18 @@ export type CancelDeploymentNodeVersion = ClosedEnum< typeof CancelDeploymentNodeVersion >; +/** + * The public project information associated with the deployment. + */ export type CancelDeploymentProject = { id: string; name: string; framework?: string | null | undefined; }; +/** + * The state of the deployment depending on the process of deploying, or if it is ready or in an error state + */ export const CancelDeploymentReadyState = { Building: "BUILDING", Error: "ERROR", @@ -773,6 +806,9 @@ export const CancelDeploymentReadyState = { Ready: "READY", Canceled: "CANCELED", } as const; +/** + * The state of the deployment depending on the process of deploying, or if it is ready or in an error state + */ export type CancelDeploymentReadyState = ClosedEnum< typeof CancelDeploymentReadyState >; @@ -792,6 +828,9 @@ export type CancelDeploymentReadySubstate = ClosedEnum< typeof CancelDeploymentReadySubstate >; +/** + * Where was the deployment created from + */ export const CancelDeploymentSource = { ApiTriggerGitDeploy: "api-trigger-git-deploy", Cli: "cli", @@ -802,12 +841,21 @@ export const CancelDeploymentSource = { Redeploy: "redeploy", V0Web: "v0-web", } as const; +/** + * Where was the deployment created from + */ export type CancelDeploymentSource = ClosedEnum; +/** + * If defined, either `staging` if a staging alias in the format `..now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment. + */ export const CancelDeploymentTarget = { Staging: "staging", Production: "production", } as const; +/** + * If defined, either `staging` if a staging alias in the format `..now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment. + */ export type CancelDeploymentTarget = ClosedEnum; export const CancelDeploymentType = { @@ -825,6 +873,7 @@ export type CancelDeploymentOidcTokenClaims = { project: string; projectId: string; environment: string; + plan: string; }; export type CancelDeploymentCrons = { @@ -1332,14 +1381,6 @@ export type CancelDeploymentMicrofrontends2 = { * 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; - /** - * Whether the MicrofrontendsAlias2 team flag should be considered enabled for this deployment or not. - */ - microfrontendsAlias2Enabled?: boolean | undefined; - /** - * Temporary flag to safely test MFE alias routing in vercel-site production for specific production hosts (not vercel.com) - */ - microfrontendsAliasRoutingVercelSiteProdTestHost?: boolean | undefined; }; export type CancelDeploymentMicrofrontends1 = { @@ -1356,14 +1397,6 @@ export type CancelDeploymentMicrofrontends1 = { * 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; - /** - * Whether the MicrofrontendsAlias2 team flag should be considered enabled for this deployment or not. - */ - microfrontendsAlias2Enabled?: boolean | undefined; - /** - * Temporary flag to safely test MFE alias routing in vercel-site production for specific production hosts (not vercel.com) - */ - microfrontendsAliasRoutingVercelSiteProdTestHost?: boolean | undefined; }; export type CancelDeploymentMicrofrontends = @@ -1440,7 +1473,13 @@ export type CancelDeploymentResponseBody = { readyStateReason?: string | undefined; integrations?: CancelDeploymentIntegrations | undefined; images?: CancelDeploymentImages | undefined; + /** + * A list of all the aliases (default aliases, staging aliases and production aliases) that were assigned upon deployment creation + */ alias?: Array | undefined; + /** + * A boolean that will be true when the aliases from the alias property were assigned successfully + */ aliasAssigned: boolean; bootedAt: number; buildingAt: number; @@ -1449,15 +1488,30 @@ export type CancelDeploymentResponseBody = { */ buildContainerFinishedAt?: number | undefined; buildSkipped: boolean; + /** + * Information about the deployment creator + */ creator: CancelDeploymentCreator; initReadyAt?: number | undefined; isFirstBranchDeployment?: boolean | undefined; lambdas?: Array | undefined; + /** + * A boolean representing if the deployment is public or not. By default this is `false` + */ public: boolean; ready?: number | undefined; status: CancelDeploymentStatus; + /** + * The team that owns the deployment if any + */ team?: CancelDeploymentTeam | undefined; + /** + * An array of domains that were provided by the user when creating the Deployment. + */ userAliases?: Array | undefined; + /** + * Whether or not preview comments are enabled for the deployment + */ previewCommentsEnabled?: boolean | undefined; ttyBuildLogs?: boolean | undefined; customEnvironment?: @@ -1465,7 +1519,13 @@ export type CancelDeploymentResponseBody = { | CancelDeploymentCustomEnvironment2 | undefined; oomReport?: CancelDeploymentOomReport | undefined; + /** + * A string holding the unique ID of the deployment + */ id: string; + /** + * An object that will contain a `code` and a `message` when the aliasing fails, otherwise the value will be `null` + */ aliasError?: CancelDeploymentAliasError | null | undefined; aliasFinal?: string | null | undefined; aliasWarning?: CancelDeploymentAliasWarning | null | undefined; @@ -1477,7 +1537,13 @@ export type CancelDeploymentResponseBody = { buildErrorAt?: number | undefined; checksState?: CancelDeploymentChecksState | undefined; checksConclusion?: CancelDeploymentChecksConclusion | undefined; + /** + * A number containing the date when the deployment was created in milliseconds + */ createdAt: number; + /** + * A number containing the date when the deployment was deleted at milliseconds + */ deletedAt?: number | null | undefined; /** * Computed field that is only available for deployments with a microfrontend configuration. @@ -1509,6 +1575,9 @@ export type CancelDeploymentResponseBody = { | CancelDeploymentGitSource7 | GitSource8 | undefined; + /** + * The name of the project associated with the deployment at the time that the deployment was created + */ name: string; meta: { [k: string]: string }; originCacheRegion?: string | undefined; @@ -1516,19 +1585,46 @@ export type CancelDeploymentResponseBody = { * If set it overrides the `projectSettings.nodeVersion` for this deployment. */ nodeVersion?: CancelDeploymentNodeVersion | undefined; + /** + * The public project information associated with the deployment. + */ project?: CancelDeploymentProject | undefined; + /** + * The state of the deployment depending on the process of deploying, or if it is ready or in an error state + */ readyState: CancelDeploymentReadyState; /** * Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - ROLLING: in the process of having production traffic gradually transitioned. - PROMOTED: has seen production traffic */ readySubstate?: CancelDeploymentReadySubstate | undefined; + /** + * The regions the deployment exists in + */ regions: Array; + /** + * flag to indicate if the deployment was deleted by retention policy + */ softDeletedByRetention?: boolean | undefined; + /** + * Where was the deployment created from + */ source?: CancelDeploymentSource | undefined; + /** + * If defined, either `staging` if a staging alias in the format `..now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment. + */ target?: CancelDeploymentTarget | null | undefined; type: CancelDeploymentType; + /** + * A number containing the date when the deployment was undeleted at milliseconds + */ undeletedAt?: number | undefined; + /** + * A string with the unique URL of the deployment + */ url: string; + /** + * The platform version that was used to create the deployment. + */ version: number; oidcTokenClaims?: CancelDeploymentOidcTokenClaims | undefined; connectBuildsEnabled?: boolean | undefined; @@ -1579,7 +1675,6 @@ export const CancelDeploymentRequest$inboundSchema: z.ZodType< teamId: z.string().optional(), slug: z.string().optional(), }); - /** @internal */ export type CancelDeploymentRequest$Outbound = { id: string; @@ -1598,19 +1693,6 @@ export const CancelDeploymentRequest$outboundSchema: z.ZodType< 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 { @@ -1618,7 +1700,6 @@ export function cancelDeploymentRequestToJSON( CancelDeploymentRequest$outboundSchema.parse(cancelDeploymentRequest), ); } - export function cancelDeploymentRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -1635,7 +1716,6 @@ export const CancelDeploymentAliasAssignedAt$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.union([z.number(), z.boolean()]); - /** @internal */ export type CancelDeploymentAliasAssignedAt$Outbound = number | boolean; @@ -1646,19 +1726,6 @@ export const CancelDeploymentAliasAssignedAt$outboundSchema: z.ZodType< 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 { @@ -1668,7 +1735,6 @@ export function cancelDeploymentAliasAssignedAtToJSON( ), ); } - export function cancelDeploymentAliasAssignedAtFromJSON( jsonString: string, ): SafeParseResult { @@ -1687,7 +1753,6 @@ export const CancelDeploymentBuild$inboundSchema: z.ZodType< > = z.object({ env: z.array(z.string()), }); - /** @internal */ export type CancelDeploymentBuild$Outbound = { env: Array; @@ -1702,19 +1767,6 @@ export const CancelDeploymentBuild$outboundSchema: z.ZodType< 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 { @@ -1722,7 +1774,6 @@ export function cancelDeploymentBuildToJSON( CancelDeploymentBuild$outboundSchema.parse(cancelDeploymentBuild), ); } - export function cancelDeploymentBuildFromJSON( jsonString: string, ): SafeParseResult { @@ -1743,7 +1794,6 @@ export const CancelDeploymentBuilds$inboundSchema: z.ZodType< src: z.string().optional(), config: z.record(z.any()).optional(), }); - /** @internal */ export type CancelDeploymentBuilds$Outbound = { use: string; @@ -1762,19 +1812,6 @@ export const CancelDeploymentBuilds$outboundSchema: z.ZodType< config: z.record(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 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 { @@ -1782,7 +1819,6 @@ export function cancelDeploymentBuildsToJSON( CancelDeploymentBuilds$outboundSchema.parse(cancelDeploymentBuilds), ); } - export function cancelDeploymentBuildsFromJSON( jsonString: string, ): SafeParseResult { @@ -1797,23 +1833,11 @@ export function cancelDeploymentBuildsFromJSON( 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, @@ -1827,7 +1851,6 @@ export const CancelDeploymentSpeedInsights$inboundSchema: z.ZodType< hasData: z.boolean().optional(), paidAt: z.number().optional(), }); - /** @internal */ export type CancelDeploymentSpeedInsights$Outbound = { id: string; @@ -1852,19 +1875,6 @@ export const CancelDeploymentSpeedInsights$outboundSchema: z.ZodType< 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 { @@ -1874,7 +1884,6 @@ export function cancelDeploymentSpeedInsightsToJSON( ), ); } - export function cancelDeploymentSpeedInsightsFromJSON( jsonString: string, ): SafeParseResult { @@ -1897,7 +1906,6 @@ export const CancelDeploymentWebAnalytics$inboundSchema: z.ZodType< enabledAt: z.number().optional(), hasData: z.boolean().optional(), }); - /** @internal */ export type CancelDeploymentWebAnalytics$Outbound = { id: string; @@ -1920,19 +1928,6 @@ export const CancelDeploymentWebAnalytics$outboundSchema: z.ZodType< 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 { @@ -1942,7 +1937,6 @@ export function cancelDeploymentWebAnalyticsToJSON( ), ); } - export function cancelDeploymentWebAnalyticsFromJSON( jsonString: string, ): SafeParseResult { @@ -1970,7 +1964,6 @@ export const CancelDeploymentProjectSettings$inboundSchema: z.ZodType< webAnalytics: z.lazy(() => CancelDeploymentWebAnalytics$inboundSchema) .optional(), }); - /** @internal */ export type CancelDeploymentProjectSettings$Outbound = { buildCommand?: string | null | undefined; @@ -2001,19 +1994,6 @@ export const CancelDeploymentProjectSettings$outboundSchema: z.ZodType< .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 { @@ -2023,7 +2003,6 @@ export function cancelDeploymentProjectSettingsToJSON( ), ); } - export function cancelDeploymentProjectSettingsFromJSON( jsonString: string, ): SafeParseResult { @@ -2038,24 +2017,11 @@ export function cancelDeploymentProjectSettingsFromJSON( 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, @@ -2068,7 +2034,6 @@ export const CancelDeploymentIntegrations$inboundSchema: z.ZodType< skippedAt: z.number().optional(), skippedBy: z.string().optional(), }); - /** @internal */ export type CancelDeploymentIntegrations$Outbound = { status: string; @@ -2091,19 +2056,6 @@ export const CancelDeploymentIntegrations$outboundSchema: z.ZodType< 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 { @@ -2113,7 +2065,6 @@ export function cancelDeploymentIntegrationsToJSON( ), ); } - export function cancelDeploymentIntegrationsFromJSON( jsonString: string, ): SafeParseResult { @@ -2128,23 +2079,11 @@ export function cancelDeploymentIntegrationsFromJSON( export const CancelDeploymentProtocol$inboundSchema: z.ZodNativeEnum< typeof CancelDeploymentProtocol > = z.nativeEnum(CancelDeploymentProtocol); - /** @internal */ export const CancelDeploymentProtocol$outboundSchema: z.ZodNativeEnum< typeof CancelDeploymentProtocol > = CancelDeploymentProtocol$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentProtocol$ { - /** @deprecated use `CancelDeploymentProtocol$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentProtocol$inboundSchema; - /** @deprecated use `CancelDeploymentProtocol$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentProtocol$outboundSchema; -} - /** @internal */ export const CancelDeploymentRemotePatterns$inboundSchema: z.ZodType< CancelDeploymentRemotePatterns, @@ -2157,7 +2096,6 @@ export const CancelDeploymentRemotePatterns$inboundSchema: z.ZodType< pathname: z.string().optional(), search: z.string().optional(), }); - /** @internal */ export type CancelDeploymentRemotePatterns$Outbound = { protocol?: string | undefined; @@ -2180,19 +2118,6 @@ export const CancelDeploymentRemotePatterns$outboundSchema: z.ZodType< search: z.string().optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentRemotePatterns$ { - /** @deprecated use `CancelDeploymentRemotePatterns$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentRemotePatterns$inboundSchema; - /** @deprecated use `CancelDeploymentRemotePatterns$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentRemotePatterns$outboundSchema; - /** @deprecated use `CancelDeploymentRemotePatterns$Outbound` instead. */ - export type Outbound = CancelDeploymentRemotePatterns$Outbound; -} - export function cancelDeploymentRemotePatternsToJSON( cancelDeploymentRemotePatterns: CancelDeploymentRemotePatterns, ): string { @@ -2202,7 +2127,6 @@ export function cancelDeploymentRemotePatternsToJSON( ), ); } - export function cancelDeploymentRemotePatternsFromJSON( jsonString: string, ): SafeParseResult { @@ -2222,7 +2146,6 @@ export const CancelDeploymentLocalPatterns$inboundSchema: z.ZodType< pathname: z.string().optional(), search: z.string().optional(), }); - /** @internal */ export type CancelDeploymentLocalPatterns$Outbound = { pathname?: string | undefined; @@ -2239,19 +2162,6 @@ export const CancelDeploymentLocalPatterns$outboundSchema: z.ZodType< search: z.string().optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentLocalPatterns$ { - /** @deprecated use `CancelDeploymentLocalPatterns$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentLocalPatterns$inboundSchema; - /** @deprecated use `CancelDeploymentLocalPatterns$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentLocalPatterns$outboundSchema; - /** @deprecated use `CancelDeploymentLocalPatterns$Outbound` instead. */ - export type Outbound = CancelDeploymentLocalPatterns$Outbound; -} - export function cancelDeploymentLocalPatternsToJSON( cancelDeploymentLocalPatterns: CancelDeploymentLocalPatterns, ): string { @@ -2261,7 +2171,6 @@ export function cancelDeploymentLocalPatternsToJSON( ), ); } - export function cancelDeploymentLocalPatternsFromJSON( jsonString: string, ): SafeParseResult { @@ -2276,47 +2185,21 @@ export function cancelDeploymentLocalPatternsFromJSON( export const CancelDeploymentFormats$inboundSchema: z.ZodNativeEnum< typeof CancelDeploymentFormats > = z.nativeEnum(CancelDeploymentFormats); - /** @internal */ export const CancelDeploymentFormats$outboundSchema: z.ZodNativeEnum< typeof CancelDeploymentFormats > = CancelDeploymentFormats$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentFormats$ { - /** @deprecated use `CancelDeploymentFormats$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentFormats$inboundSchema; - /** @deprecated use `CancelDeploymentFormats$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentFormats$outboundSchema; -} - /** @internal */ export const CancelDeploymentContentDispositionType$inboundSchema: z.ZodNativeEnum = z.nativeEnum( CancelDeploymentContentDispositionType, ); - /** @internal */ export const CancelDeploymentContentDispositionType$outboundSchema: z.ZodNativeEnum = CancelDeploymentContentDispositionType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentContentDispositionType$ { - /** @deprecated use `CancelDeploymentContentDispositionType$inboundSchema` instead. */ - export const inboundSchema = - CancelDeploymentContentDispositionType$inboundSchema; - /** @deprecated use `CancelDeploymentContentDispositionType$outboundSchema` instead. */ - export const outboundSchema = - CancelDeploymentContentDispositionType$outboundSchema; -} - /** @internal */ export const CancelDeploymentImages$inboundSchema: z.ZodType< CancelDeploymentImages, @@ -2339,7 +2222,6 @@ export const CancelDeploymentImages$inboundSchema: z.ZodType< contentDispositionType: CancelDeploymentContentDispositionType$inboundSchema .optional(), }); - /** @internal */ export type CancelDeploymentImages$Outbound = { sizes?: Array | undefined; @@ -2377,19 +2259,6 @@ export const CancelDeploymentImages$outboundSchema: z.ZodType< .optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentImages$ { - /** @deprecated use `CancelDeploymentImages$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentImages$inboundSchema; - /** @deprecated use `CancelDeploymentImages$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentImages$outboundSchema; - /** @deprecated use `CancelDeploymentImages$Outbound` instead. */ - export type Outbound = CancelDeploymentImages$Outbound; -} - export function cancelDeploymentImagesToJSON( cancelDeploymentImages: CancelDeploymentImages, ): string { @@ -2397,7 +2266,6 @@ export function cancelDeploymentImagesToJSON( CancelDeploymentImages$outboundSchema.parse(cancelDeploymentImages), ); } - export function cancelDeploymentImagesFromJSON( jsonString: string, ): SafeParseResult { @@ -2418,7 +2286,6 @@ export const CancelDeploymentCreator$inboundSchema: z.ZodType< username: z.string().optional(), avatar: z.string().optional(), }); - /** @internal */ export type CancelDeploymentCreator$Outbound = { uid: string; @@ -2437,19 +2304,6 @@ export const CancelDeploymentCreator$outboundSchema: z.ZodType< 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 { @@ -2457,7 +2311,6 @@ export function cancelDeploymentCreatorToJSON( CancelDeploymentCreator$outboundSchema.parse(cancelDeploymentCreator), ); } - export function cancelDeploymentCreatorFromJSON( jsonString: string, ): SafeParseResult { @@ -2473,25 +2326,11 @@ 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, @@ -2501,7 +2340,6 @@ export const CancelDeploymentOutput$inboundSchema: z.ZodType< path: z.string(), functionName: z.string(), }); - /** @internal */ export type CancelDeploymentOutput$Outbound = { path: string; @@ -2518,19 +2356,6 @@ export const CancelDeploymentOutput$outboundSchema: z.ZodType< 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 { @@ -2538,7 +2363,6 @@ export function cancelDeploymentOutputToJSON( CancelDeploymentOutput$outboundSchema.parse(cancelDeploymentOutput), ); } - export function cancelDeploymentOutputFromJSON( jsonString: string, ): SafeParseResult { @@ -2562,7 +2386,6 @@ export const CancelDeploymentLambdas$inboundSchema: z.ZodType< readyStateAt: z.number().optional(), output: z.array(z.lazy(() => CancelDeploymentOutput$inboundSchema)), }); - /** @internal */ export type CancelDeploymentLambdas$Outbound = { id: string; @@ -2587,19 +2410,6 @@ export const CancelDeploymentLambdas$outboundSchema: z.ZodType< 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 { @@ -2607,7 +2417,6 @@ export function cancelDeploymentLambdasToJSON( CancelDeploymentLambdas$outboundSchema.parse(cancelDeploymentLambdas), ); } - export function cancelDeploymentLambdasFromJSON( jsonString: string, ): SafeParseResult { @@ -2622,23 +2431,11 @@ export function cancelDeploymentLambdasFromJSON( 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, @@ -2650,7 +2447,6 @@ export const CancelDeploymentTeam$inboundSchema: z.ZodType< avatar: z.string().optional(), slug: z.string(), }); - /** @internal */ export type CancelDeploymentTeam$Outbound = { id: string; @@ -2671,19 +2467,6 @@ export const CancelDeploymentTeam$outboundSchema: z.ZodType< 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 { @@ -2691,7 +2474,6 @@ export function cancelDeploymentTeamToJSON( CancelDeploymentTeam$outboundSchema.parse(cancelDeploymentTeam), ); } - export function cancelDeploymentTeamFromJSON( jsonString: string, ): SafeParseResult { @@ -2710,7 +2492,6 @@ export const CancelDeploymentCustomEnvironment2$inboundSchema: z.ZodType< > = z.object({ id: z.string(), }); - /** @internal */ export type CancelDeploymentCustomEnvironment2$Outbound = { id: string; @@ -2725,20 +2506,6 @@ export const CancelDeploymentCustomEnvironment2$outboundSchema: z.ZodType< 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 { @@ -2748,7 +2515,6 @@ export function cancelDeploymentCustomEnvironment2ToJSON( ), ); } - export function cancelDeploymentCustomEnvironment2FromJSON( jsonString: string, ): SafeParseResult { @@ -2765,48 +2531,20 @@ export const CancelDeploymentCustomEnvironmentType$inboundSchema: z.ZodNativeEnum = z.nativeEnum( CancelDeploymentCustomEnvironmentType, ); - /** @internal */ export const CancelDeploymentCustomEnvironmentType$outboundSchema: z.ZodNativeEnum = CancelDeploymentCustomEnvironmentType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentCustomEnvironmentType$ { - /** @deprecated use `CancelDeploymentCustomEnvironmentType$inboundSchema` instead. */ - export const inboundSchema = - CancelDeploymentCustomEnvironmentType$inboundSchema; - /** @deprecated use `CancelDeploymentCustomEnvironmentType$outboundSchema` instead. */ - export const outboundSchema = - CancelDeploymentCustomEnvironmentType$outboundSchema; -} - /** @internal */ export const CancelDeploymentCustomEnvironmentDeploymentsType$inboundSchema: z.ZodNativeEnum = z .nativeEnum(CancelDeploymentCustomEnvironmentDeploymentsType); - /** @internal */ export const CancelDeploymentCustomEnvironmentDeploymentsType$outboundSchema: z.ZodNativeEnum = CancelDeploymentCustomEnvironmentDeploymentsType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentCustomEnvironmentDeploymentsType$ { - /** @deprecated use `CancelDeploymentCustomEnvironmentDeploymentsType$inboundSchema` instead. */ - export const inboundSchema = - CancelDeploymentCustomEnvironmentDeploymentsType$inboundSchema; - /** @deprecated use `CancelDeploymentCustomEnvironmentDeploymentsType$outboundSchema` instead. */ - export const outboundSchema = - CancelDeploymentCustomEnvironmentDeploymentsType$outboundSchema; -} - /** @internal */ export const CancelDeploymentCustomEnvironmentBranchMatcher$inboundSchema: z.ZodType< @@ -2817,7 +2555,6 @@ export const CancelDeploymentCustomEnvironmentBranchMatcher$inboundSchema: type: CancelDeploymentCustomEnvironmentDeploymentsType$inboundSchema, pattern: z.string(), }); - /** @internal */ export type CancelDeploymentCustomEnvironmentBranchMatcher$Outbound = { type: string; @@ -2835,22 +2572,6 @@ export const CancelDeploymentCustomEnvironmentBranchMatcher$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 CancelDeploymentCustomEnvironmentBranchMatcher$ { - /** @deprecated use `CancelDeploymentCustomEnvironmentBranchMatcher$inboundSchema` instead. */ - export const inboundSchema = - CancelDeploymentCustomEnvironmentBranchMatcher$inboundSchema; - /** @deprecated use `CancelDeploymentCustomEnvironmentBranchMatcher$outboundSchema` instead. */ - export const outboundSchema = - CancelDeploymentCustomEnvironmentBranchMatcher$outboundSchema; - /** @deprecated use `CancelDeploymentCustomEnvironmentBranchMatcher$Outbound` instead. */ - export type Outbound = - CancelDeploymentCustomEnvironmentBranchMatcher$Outbound; -} - export function cancelDeploymentCustomEnvironmentBranchMatcherToJSON( cancelDeploymentCustomEnvironmentBranchMatcher: CancelDeploymentCustomEnvironmentBranchMatcher, @@ -2861,7 +2582,6 @@ export function cancelDeploymentCustomEnvironmentBranchMatcherToJSON( ), ); } - export function cancelDeploymentCustomEnvironmentBranchMatcherFromJSON( jsonString: string, ): SafeParseResult< @@ -2890,7 +2610,6 @@ export const CancelDeploymentCustomEnvironmentVerification$inboundSchema: value: z.string(), reason: z.string(), }); - /** @internal */ export type CancelDeploymentCustomEnvironmentVerification$Outbound = { type: string; @@ -2912,21 +2631,6 @@ export const CancelDeploymentCustomEnvironmentVerification$outboundSchema: 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 CancelDeploymentCustomEnvironmentVerification$ { - /** @deprecated use `CancelDeploymentCustomEnvironmentVerification$inboundSchema` instead. */ - export const inboundSchema = - CancelDeploymentCustomEnvironmentVerification$inboundSchema; - /** @deprecated use `CancelDeploymentCustomEnvironmentVerification$outboundSchema` instead. */ - export const outboundSchema = - CancelDeploymentCustomEnvironmentVerification$outboundSchema; - /** @deprecated use `CancelDeploymentCustomEnvironmentVerification$Outbound` instead. */ - export type Outbound = CancelDeploymentCustomEnvironmentVerification$Outbound; -} - export function cancelDeploymentCustomEnvironmentVerificationToJSON( cancelDeploymentCustomEnvironmentVerification: CancelDeploymentCustomEnvironmentVerification, @@ -2937,7 +2641,6 @@ export function cancelDeploymentCustomEnvironmentVerificationToJSON( ), ); } - export function cancelDeploymentCustomEnvironmentVerificationFromJSON( jsonString: string, ): SafeParseResult< @@ -2974,7 +2677,6 @@ export const CancelDeploymentCustomEnvironmentDomains$inboundSchema: z.ZodType< z.lazy(() => CancelDeploymentCustomEnvironmentVerification$inboundSchema), ).optional(), }); - /** @internal */ export type CancelDeploymentCustomEnvironmentDomains$Outbound = { name: string; @@ -3013,21 +2715,6 @@ export const CancelDeploymentCustomEnvironmentDomains$outboundSchema: z.ZodType< ).optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentCustomEnvironmentDomains$ { - /** @deprecated use `CancelDeploymentCustomEnvironmentDomains$inboundSchema` instead. */ - export const inboundSchema = - CancelDeploymentCustomEnvironmentDomains$inboundSchema; - /** @deprecated use `CancelDeploymentCustomEnvironmentDomains$outboundSchema` instead. */ - export const outboundSchema = - CancelDeploymentCustomEnvironmentDomains$outboundSchema; - /** @deprecated use `CancelDeploymentCustomEnvironmentDomains$Outbound` instead. */ - export type Outbound = CancelDeploymentCustomEnvironmentDomains$Outbound; -} - export function cancelDeploymentCustomEnvironmentDomainsToJSON( cancelDeploymentCustomEnvironmentDomains: CancelDeploymentCustomEnvironmentDomains, @@ -3038,7 +2725,6 @@ export function cancelDeploymentCustomEnvironmentDomainsToJSON( ), ); } - export function cancelDeploymentCustomEnvironmentDomainsFromJSON( jsonString: string, ): SafeParseResult< @@ -3075,7 +2761,6 @@ export const CancelDeploymentCustomEnvironment1$inboundSchema: z.ZodType< createdAt: z.number(), updatedAt: z.number(), }); - /** @internal */ export type CancelDeploymentCustomEnvironment1$Outbound = { id: string; @@ -3114,20 +2799,6 @@ export const CancelDeploymentCustomEnvironment1$outboundSchema: z.ZodType< 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 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 { @@ -3137,7 +2808,6 @@ export function cancelDeploymentCustomEnvironment1ToJSON( ), ); } - export function cancelDeploymentCustomEnvironment1FromJSON( jsonString: string, ): SafeParseResult { @@ -3158,7 +2828,6 @@ export const CancelDeploymentCustomEnvironment$inboundSchema: z.ZodType< z.lazy(() => CancelDeploymentCustomEnvironment1$inboundSchema), z.lazy(() => CancelDeploymentCustomEnvironment2$inboundSchema), ]); - /** @internal */ export type CancelDeploymentCustomEnvironment$Outbound = | CancelDeploymentCustomEnvironment1$Outbound @@ -3174,20 +2843,6 @@ export const CancelDeploymentCustomEnvironment$outboundSchema: z.ZodType< 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 { @@ -3197,7 +2852,6 @@ export function cancelDeploymentCustomEnvironmentToJSON( ), ); } - export function cancelDeploymentCustomEnvironmentFromJSON( jsonString: string, ): SafeParseResult { @@ -3212,23 +2866,11 @@ export function cancelDeploymentCustomEnvironmentFromJSON( export const CancelDeploymentOomReport$inboundSchema: z.ZodNativeEnum< typeof CancelDeploymentOomReport > = z.nativeEnum(CancelDeploymentOomReport); - /** @internal */ export const CancelDeploymentOomReport$outboundSchema: z.ZodNativeEnum< typeof CancelDeploymentOomReport > = CancelDeploymentOomReport$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentOomReport$ { - /** @deprecated use `CancelDeploymentOomReport$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentOomReport$inboundSchema; - /** @deprecated use `CancelDeploymentOomReport$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentOomReport$outboundSchema; -} - /** @internal */ export const CancelDeploymentAliasError$inboundSchema: z.ZodType< CancelDeploymentAliasError, @@ -3238,7 +2880,6 @@ export const CancelDeploymentAliasError$inboundSchema: z.ZodType< code: z.string(), message: z.string(), }); - /** @internal */ export type CancelDeploymentAliasError$Outbound = { code: string; @@ -3255,19 +2896,6 @@ export const CancelDeploymentAliasError$outboundSchema: z.ZodType< 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 { @@ -3275,7 +2903,6 @@ export function cancelDeploymentAliasErrorToJSON( CancelDeploymentAliasError$outboundSchema.parse(cancelDeploymentAliasError), ); } - export function cancelDeploymentAliasErrorFromJSON( jsonString: string, ): SafeParseResult { @@ -3297,7 +2924,6 @@ export const CancelDeploymentAliasWarning$inboundSchema: z.ZodType< link: z.string().optional(), action: z.string().optional(), }); - /** @internal */ export type CancelDeploymentAliasWarning$Outbound = { code: string; @@ -3318,19 +2944,6 @@ export const CancelDeploymentAliasWarning$outboundSchema: z.ZodType< 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 { @@ -3340,7 +2953,6 @@ export function cancelDeploymentAliasWarningToJSON( ), ); } - export function cancelDeploymentAliasWarningFromJSON( jsonString: string, ): SafeParseResult { @@ -3355,44 +2967,20 @@ export function cancelDeploymentAliasWarningFromJSON( 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 CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type$inboundSchema: z.ZodNativeEnum< @@ -3400,7 +2988,6 @@ export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONRespo > = z.nativeEnum( CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type, ); - /** @internal */ export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type$outboundSchema: z.ZodNativeEnum< @@ -3408,19 +2995,6 @@ export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONRespo > = CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type$ { - /** @deprecated use `CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type$inboundSchema` instead. */ - export const inboundSchema = - CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type$inboundSchema; - /** @deprecated use `CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type$outboundSchema` instead. */ - export const outboundSchema = - CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type$outboundSchema; -} - /** @internal */ export const GitSource15$inboundSchema: z.ZodType< GitSource15, @@ -3436,7 +3010,6 @@ export const GitSource15$inboundSchema: z.ZodType< workspaceUuid: z.string(), repoUuid: z.string(), }); - /** @internal */ export type GitSource15$Outbound = { type: string; @@ -3464,23 +3037,9 @@ export const GitSource15$outboundSchema: z.ZodType< 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 GitSource15$ { - /** @deprecated use `GitSource15$inboundSchema` instead. */ - export const inboundSchema = GitSource15$inboundSchema; - /** @deprecated use `GitSource15$outboundSchema` instead. */ - export const outboundSchema = GitSource15$outboundSchema; - /** @deprecated use `GitSource15$Outbound` instead. */ - export type Outbound = GitSource15$Outbound; -} - export function gitSource15ToJSON(gitSource15: GitSource15): string { return JSON.stringify(GitSource15$outboundSchema.parse(gitSource15)); } - export function gitSource15FromJSON( jsonString: string, ): SafeParseResult { @@ -3498,7 +3057,6 @@ export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONRespo > = z.nativeEnum( CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type, ); - /** @internal */ export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type$outboundSchema: z.ZodNativeEnum< @@ -3506,19 +3064,6 @@ export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONRespo > = CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type$ { - /** @deprecated use `CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type$inboundSchema` instead. */ - export const inboundSchema = - CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type$inboundSchema; - /** @deprecated use `CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type$outboundSchema` instead. */ - export const outboundSchema = - CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type$outboundSchema; -} - /** @internal */ export const GitSource14$inboundSchema: z.ZodType< GitSource14, @@ -3531,7 +3076,6 @@ export const GitSource14$inboundSchema: z.ZodType< sha: z.string(), projectId: z.number(), }); - /** @internal */ export type GitSource14$Outbound = { type: string; @@ -3553,23 +3097,9 @@ export const GitSource14$outboundSchema: z.ZodType< 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 GitSource14$ { - /** @deprecated use `GitSource14$inboundSchema` instead. */ - export const inboundSchema = GitSource14$inboundSchema; - /** @deprecated use `GitSource14$outboundSchema` instead. */ - export const outboundSchema = GitSource14$outboundSchema; - /** @deprecated use `GitSource14$Outbound` instead. */ - export type Outbound = GitSource14$Outbound; -} - export function gitSource14ToJSON(gitSource14: GitSource14): string { return JSON.stringify(GitSource14$outboundSchema.parse(gitSource14)); } - export function gitSource14FromJSON( jsonString: string, ): SafeParseResult { @@ -3587,7 +3117,6 @@ export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONRespo > = z.nativeEnum( CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody13Type, ); - /** @internal */ export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody13Type$outboundSchema: z.ZodNativeEnum< @@ -3595,19 +3124,6 @@ export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONRespo > = CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody13Type$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody13Type$ { - /** @deprecated use `CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody13Type$inboundSchema` instead. */ - export const inboundSchema = - CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody13Type$inboundSchema; - /** @deprecated use `CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody13Type$outboundSchema` instead. */ - export const outboundSchema = - CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody13Type$outboundSchema; -} - /** @internal */ export const GitSource13$inboundSchema: z.ZodType< GitSource13, @@ -3622,7 +3138,6 @@ export const GitSource13$inboundSchema: z.ZodType< org: z.string().optional(), repo: z.string().optional(), }); - /** @internal */ export type GitSource13$Outbound = { type: string; @@ -3648,23 +3163,9 @@ export const GitSource13$outboundSchema: z.ZodType< 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 GitSource13$ { - /** @deprecated use `GitSource13$inboundSchema` instead. */ - export const inboundSchema = GitSource13$inboundSchema; - /** @deprecated use `GitSource13$outboundSchema` instead. */ - export const outboundSchema = GitSource13$outboundSchema; - /** @deprecated use `GitSource13$Outbound` instead. */ - export type Outbound = GitSource13$Outbound; -} - export function gitSource13ToJSON(gitSource13: GitSource13): string { return JSON.stringify(GitSource13$outboundSchema.parse(gitSource13)); } - export function gitSource13FromJSON( jsonString: string, ): SafeParseResult { @@ -3682,7 +3183,6 @@ export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONRespo > = z.nativeEnum( CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type, ); - /** @internal */ export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type$outboundSchema: z.ZodNativeEnum< @@ -3690,19 +3190,6 @@ export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONRespo > = CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type$ { - /** @deprecated use `CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type$inboundSchema` instead. */ - export const inboundSchema = - CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type$inboundSchema; - /** @deprecated use `CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type$outboundSchema` instead. */ - export const outboundSchema = - CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type$outboundSchema; -} - /** @internal */ export const GitSource12$inboundSchema: z.ZodType< GitSource12, @@ -3718,7 +3205,6 @@ export const GitSource12$inboundSchema: z.ZodType< org: z.string().optional(), repo: z.string().optional(), }); - /** @internal */ export type GitSource12$Outbound = { type: string; @@ -3746,23 +3232,9 @@ export const GitSource12$outboundSchema: z.ZodType< 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 GitSource12$ { - /** @deprecated use `GitSource12$inboundSchema` instead. */ - export const inboundSchema = GitSource12$inboundSchema; - /** @deprecated use `GitSource12$outboundSchema` instead. */ - export const outboundSchema = GitSource12$outboundSchema; - /** @deprecated use `GitSource12$Outbound` instead. */ - export type Outbound = GitSource12$Outbound; -} - export function gitSource12ToJSON(gitSource12: GitSource12): string { return JSON.stringify(GitSource12$outboundSchema.parse(gitSource12)); } - export function gitSource12FromJSON( jsonString: string, ): SafeParseResult { @@ -3780,7 +3252,6 @@ export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONRespo > = z.nativeEnum( CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type, ); - /** @internal */ export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type$outboundSchema: z.ZodNativeEnum< @@ -3788,19 +3259,6 @@ export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONRespo > = CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type$ { - /** @deprecated use `CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type$inboundSchema` instead. */ - export const inboundSchema = - CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type$inboundSchema; - /** @deprecated use `CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type$outboundSchema` instead. */ - export const outboundSchema = - CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type$outboundSchema; -} - /** @internal */ export const GitSource11$inboundSchema: z.ZodType< GitSource11, @@ -3815,7 +3273,6 @@ export const GitSource11$inboundSchema: z.ZodType< org: z.string().optional(), repo: z.string().optional(), }); - /** @internal */ export type GitSource11$Outbound = { type: string; @@ -3841,23 +3298,9 @@ export const GitSource11$outboundSchema: z.ZodType< 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 GitSource11$ { - /** @deprecated use `GitSource11$inboundSchema` instead. */ - export const inboundSchema = GitSource11$inboundSchema; - /** @deprecated use `GitSource11$outboundSchema` instead. */ - export const outboundSchema = GitSource11$outboundSchema; - /** @deprecated use `GitSource11$Outbound` instead. */ - export type Outbound = GitSource11$Outbound; -} - export function gitSource11ToJSON(gitSource11: GitSource11): string { return JSON.stringify(GitSource11$outboundSchema.parse(gitSource11)); } - export function gitSource11FromJSON( jsonString: string, ): SafeParseResult { @@ -3875,7 +3318,6 @@ export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONRespo > = z.nativeEnum( CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody10Type, ); - /** @internal */ export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody10Type$outboundSchema: z.ZodNativeEnum< @@ -3883,19 +3325,6 @@ export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONRespo > = CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody10Type$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody10Type$ { - /** @deprecated use `CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody10Type$inboundSchema` instead. */ - export const inboundSchema = - CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody10Type$inboundSchema; - /** @deprecated use `CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody10Type$outboundSchema` instead. */ - export const outboundSchema = - CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody10Type$outboundSchema; -} - /** @internal */ export const GitSource10$inboundSchema: z.ZodType< GitSource10, @@ -3908,7 +3337,6 @@ export const GitSource10$inboundSchema: z.ZodType< sha: z.string(), gitUrl: z.string(), }); - /** @internal */ export type GitSource10$Outbound = { type: string; @@ -3930,23 +3358,9 @@ export const GitSource10$outboundSchema: z.ZodType< 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 GitSource10$ { - /** @deprecated use `GitSource10$inboundSchema` instead. */ - export const inboundSchema = GitSource10$inboundSchema; - /** @deprecated use `GitSource10$outboundSchema` instead. */ - export const outboundSchema = GitSource10$outboundSchema; - /** @deprecated use `GitSource10$Outbound` instead. */ - export type Outbound = GitSource10$Outbound; -} - export function gitSource10ToJSON(gitSource10: GitSource10): string { return JSON.stringify(GitSource10$outboundSchema.parse(gitSource10)); } - export function gitSource10FromJSON( jsonString: string, ): SafeParseResult { @@ -3964,7 +3378,6 @@ export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONRespo > = z.nativeEnum( CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type, ); - /** @internal */ export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type$outboundSchema: z.ZodNativeEnum< @@ -3972,19 +3385,6 @@ export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONRespo > = 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, @@ -3999,7 +3399,6 @@ export const GitSource9$inboundSchema: z.ZodType< sha: z.string().optional(), prId: z.nullable(z.number()).optional(), }); - /** @internal */ export type GitSource9$Outbound = { type: string; @@ -4025,23 +3424,9 @@ export const GitSource9$outboundSchema: z.ZodType< 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 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 { @@ -4059,7 +3444,6 @@ export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONRespo > = z.nativeEnum( CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type, ); - /** @internal */ export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type$outboundSchema: z.ZodNativeEnum< @@ -4067,19 +3451,6 @@ export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONRespo > = 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, @@ -4094,7 +3465,6 @@ export const GitSource8$inboundSchema: z.ZodType< sha: z.string().optional(), prId: z.nullable(z.number()).optional(), }); - /** @internal */ export type GitSource8$Outbound = { type: string; @@ -4120,23 +3490,9 @@ export const GitSource8$outboundSchema: z.ZodType< 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 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 { @@ -4154,7 +3510,6 @@ export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONRespo > = z.nativeEnum( CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type, ); - /** @internal */ export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type$outboundSchema: z.ZodNativeEnum< @@ -4162,26 +3517,12 @@ export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONRespo > = 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 CancelDeploymentGitSourceProjectId$inboundSchema: z.ZodType< CancelDeploymentGitSourceProjectId, z.ZodTypeDef, unknown > = z.union([z.string(), z.number()]); - /** @internal */ export type CancelDeploymentGitSourceProjectId$Outbound = string | number; @@ -4192,20 +3533,6 @@ export const CancelDeploymentGitSourceProjectId$outboundSchema: z.ZodType< 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 { @@ -4215,7 +3542,6 @@ export function cancelDeploymentGitSourceProjectIdToJSON( ), ); } - export function cancelDeploymentGitSourceProjectIdFromJSON( jsonString: string, ): SafeParseResult { @@ -4240,7 +3566,6 @@ export const CancelDeploymentGitSource7$inboundSchema: z.ZodType< sha: z.string().optional(), prId: z.nullable(z.number()).optional(), }); - /** @internal */ export type CancelDeploymentGitSource7$Outbound = { type: string; @@ -4264,19 +3589,6 @@ export const CancelDeploymentGitSource7$outboundSchema: z.ZodType< 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 CancelDeploymentGitSource7$ { - /** @deprecated use `CancelDeploymentGitSource7$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentGitSource7$inboundSchema; - /** @deprecated use `CancelDeploymentGitSource7$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentGitSource7$outboundSchema; - /** @deprecated use `CancelDeploymentGitSource7$Outbound` instead. */ - export type Outbound = CancelDeploymentGitSource7$Outbound; -} - export function cancelDeploymentGitSource7ToJSON( cancelDeploymentGitSource7: CancelDeploymentGitSource7, ): string { @@ -4284,7 +3596,6 @@ export function cancelDeploymentGitSource7ToJSON( CancelDeploymentGitSource7$outboundSchema.parse(cancelDeploymentGitSource7), ); } - export function cancelDeploymentGitSource7FromJSON( jsonString: string, ): SafeParseResult { @@ -4302,7 +3613,6 @@ export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONRespo > = z.nativeEnum( CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType, ); - /** @internal */ export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType$outboundSchema: z.ZodNativeEnum< @@ -4310,19 +3620,6 @@ export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONRespo > = 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 CancelDeploymentGitSource6$inboundSchema: z.ZodType< CancelDeploymentGitSource6, @@ -4337,7 +3634,6 @@ export const CancelDeploymentGitSource6$inboundSchema: z.ZodType< sha: z.string().optional(), prId: z.nullable(z.number()).optional(), }); - /** @internal */ export type CancelDeploymentGitSource6$Outbound = { type: string; @@ -4363,19 +3659,6 @@ export const CancelDeploymentGitSource6$outboundSchema: z.ZodType< 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 CancelDeploymentGitSource6$ { - /** @deprecated use `CancelDeploymentGitSource6$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentGitSource6$inboundSchema; - /** @deprecated use `CancelDeploymentGitSource6$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentGitSource6$outboundSchema; - /** @deprecated use `CancelDeploymentGitSource6$Outbound` instead. */ - export type Outbound = CancelDeploymentGitSource6$Outbound; -} - export function cancelDeploymentGitSource6ToJSON( cancelDeploymentGitSource6: CancelDeploymentGitSource6, ): string { @@ -4383,7 +3666,6 @@ export function cancelDeploymentGitSource6ToJSON( CancelDeploymentGitSource6$outboundSchema.parse(cancelDeploymentGitSource6), ); } - export function cancelDeploymentGitSource6FromJSON( jsonString: string, ): SafeParseResult { @@ -4401,7 +3683,6 @@ export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$ > = z.nativeEnum( CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONType, ); - /** @internal */ export const CancelDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$outboundSchema: z.ZodNativeEnum< @@ -4409,19 +3690,6 @@ export const 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 CancelDeploymentGitSourceDeploymentsResponseRepoId$inboundSchema: z.ZodType< @@ -4429,7 +3697,6 @@ export const CancelDeploymentGitSourceDeploymentsResponseRepoId$inboundSchema: z.ZodTypeDef, unknown > = z.union([z.string(), z.number()]); - /** @internal */ export type CancelDeploymentGitSourceDeploymentsResponseRepoId$Outbound = | string @@ -4443,22 +3710,6 @@ export const CancelDeploymentGitSourceDeploymentsResponseRepoId$outboundSchema: CancelDeploymentGitSourceDeploymentsResponseRepoId > = 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 CancelDeploymentGitSourceDeploymentsResponseRepoId$ { - /** @deprecated use `CancelDeploymentGitSourceDeploymentsResponseRepoId$inboundSchema` instead. */ - export const inboundSchema = - CancelDeploymentGitSourceDeploymentsResponseRepoId$inboundSchema; - /** @deprecated use `CancelDeploymentGitSourceDeploymentsResponseRepoId$outboundSchema` instead. */ - export const outboundSchema = - CancelDeploymentGitSourceDeploymentsResponseRepoId$outboundSchema; - /** @deprecated use `CancelDeploymentGitSourceDeploymentsResponseRepoId$Outbound` instead. */ - export type Outbound = - CancelDeploymentGitSourceDeploymentsResponseRepoId$Outbound; -} - export function cancelDeploymentGitSourceDeploymentsResponseRepoIdToJSON( cancelDeploymentGitSourceDeploymentsResponseRepoId: CancelDeploymentGitSourceDeploymentsResponseRepoId, @@ -4469,7 +3720,6 @@ export function cancelDeploymentGitSourceDeploymentsResponseRepoIdToJSON( ), ); } - export function cancelDeploymentGitSourceDeploymentsResponseRepoIdFromJSON( jsonString: string, ): SafeParseResult< @@ -4499,7 +3749,6 @@ export const CancelDeploymentGitSource5$inboundSchema: z.ZodType< sha: z.string().optional(), prId: z.nullable(z.number()).optional(), }); - /** @internal */ export type CancelDeploymentGitSource5$Outbound = { type: string; @@ -4523,19 +3772,6 @@ export const CancelDeploymentGitSource5$outboundSchema: z.ZodType< 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 { @@ -4543,7 +3779,6 @@ export function cancelDeploymentGitSource5ToJSON( CancelDeploymentGitSource5$outboundSchema.parse(cancelDeploymentGitSource5), ); } - export function cancelDeploymentGitSource5FromJSON( jsonString: string, ): SafeParseResult { @@ -4558,25 +3793,11 @@ export function cancelDeploymentGitSource5FromJSON( 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, @@ -4591,7 +3812,6 @@ export const CancelDeploymentGitSource4$inboundSchema: z.ZodType< sha: z.string().optional(), prId: z.nullable(z.number()).optional(), }); - /** @internal */ export type CancelDeploymentGitSource4$Outbound = { type: string; @@ -4618,19 +3838,6 @@ export const CancelDeploymentGitSource4$outboundSchema: z.ZodType< 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 { @@ -4638,7 +3845,6 @@ export function cancelDeploymentGitSource4ToJSON( CancelDeploymentGitSource4$outboundSchema.parse(cancelDeploymentGitSource4), ); } - export function cancelDeploymentGitSource4FromJSON( jsonString: string, ): SafeParseResult { @@ -4653,30 +3859,15 @@ export function cancelDeploymentGitSource4FromJSON( 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 CancelDeploymentGitSourceDeploymentsRepoId$inboundSchema: z.ZodType = z.union([z.string(), z.number()]); - /** @internal */ export type CancelDeploymentGitSourceDeploymentsRepoId$Outbound = | string @@ -4690,21 +3881,6 @@ export const CancelDeploymentGitSourceDeploymentsRepoId$outboundSchema: CancelDeploymentGitSourceDeploymentsRepoId > = 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 CancelDeploymentGitSourceDeploymentsRepoId$ { - /** @deprecated use `CancelDeploymentGitSourceDeploymentsRepoId$inboundSchema` instead. */ - export const inboundSchema = - CancelDeploymentGitSourceDeploymentsRepoId$inboundSchema; - /** @deprecated use `CancelDeploymentGitSourceDeploymentsRepoId$outboundSchema` instead. */ - export const outboundSchema = - CancelDeploymentGitSourceDeploymentsRepoId$outboundSchema; - /** @deprecated use `CancelDeploymentGitSourceDeploymentsRepoId$Outbound` instead. */ - export type Outbound = CancelDeploymentGitSourceDeploymentsRepoId$Outbound; -} - export function cancelDeploymentGitSourceDeploymentsRepoIdToJSON( cancelDeploymentGitSourceDeploymentsRepoId: CancelDeploymentGitSourceDeploymentsRepoId, @@ -4715,7 +3891,6 @@ export function cancelDeploymentGitSourceDeploymentsRepoIdToJSON( ), ); } - export function cancelDeploymentGitSourceDeploymentsRepoIdFromJSON( jsonString: string, ): SafeParseResult< @@ -4745,7 +3920,6 @@ export const CancelDeploymentGitSource3$inboundSchema: z.ZodType< sha: z.string().optional(), prId: z.nullable(z.number()).optional(), }); - /** @internal */ export type CancelDeploymentGitSource3$Outbound = { type: string; @@ -4770,19 +3944,6 @@ export const CancelDeploymentGitSource3$outboundSchema: z.ZodType< 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 { @@ -4790,7 +3951,6 @@ export function cancelDeploymentGitSource3ToJSON( CancelDeploymentGitSource3$outboundSchema.parse(cancelDeploymentGitSource3), ); } - export function cancelDeploymentGitSource3FromJSON( jsonString: string, ): SafeParseResult { @@ -4805,25 +3965,11 @@ export function cancelDeploymentGitSource3FromJSON( 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, @@ -4837,7 +3983,6 @@ export const CancelDeploymentGitSource2$inboundSchema: z.ZodType< sha: z.string().optional(), prId: z.nullable(z.number()).optional(), }); - /** @internal */ export type CancelDeploymentGitSource2$Outbound = { type: string; @@ -4862,19 +4007,6 @@ export const CancelDeploymentGitSource2$outboundSchema: z.ZodType< 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 { @@ -4882,7 +4014,6 @@ export function cancelDeploymentGitSource2ToJSON( CancelDeploymentGitSource2$outboundSchema.parse(cancelDeploymentGitSource2), ); } - export function cancelDeploymentGitSource2FromJSON( jsonString: string, ): SafeParseResult { @@ -4897,30 +4028,17 @@ export function cancelDeploymentGitSource2FromJSON( 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; @@ -4931,19 +4049,6 @@ export const CancelDeploymentGitSourceRepoId$outboundSchema: z.ZodType< 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 { @@ -4953,7 +4058,6 @@ export function cancelDeploymentGitSourceRepoIdToJSON( ), ); } - export function cancelDeploymentGitSourceRepoIdFromJSON( jsonString: string, ): SafeParseResult { @@ -4976,7 +4080,6 @@ export const CancelDeploymentGitSource1$inboundSchema: z.ZodType< sha: z.string().optional(), prId: z.nullable(z.number()).optional(), }); - /** @internal */ export type CancelDeploymentGitSource1$Outbound = { type: string; @@ -4999,19 +4102,6 @@ export const CancelDeploymentGitSource1$outboundSchema: z.ZodType< 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 { @@ -5019,7 +4109,6 @@ export function cancelDeploymentGitSource1ToJSON( CancelDeploymentGitSource1$outboundSchema.parse(cancelDeploymentGitSource1), ); } - export function cancelDeploymentGitSource1FromJSON( jsonString: string, ): SafeParseResult { @@ -5052,7 +4141,6 @@ export const CancelDeploymentGitSource$inboundSchema: z.ZodType< z.lazy(() => CancelDeploymentGitSource7$inboundSchema), z.lazy(() => GitSource8$inboundSchema), ]); - /** @internal */ export type CancelDeploymentGitSource$Outbound = | GitSource12$Outbound @@ -5094,19 +4182,6 @@ export const CancelDeploymentGitSource$outboundSchema: z.ZodType< z.lazy(() => GitSource8$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 { @@ -5114,7 +4189,6 @@ export function cancelDeploymentGitSourceToJSON( CancelDeploymentGitSource$outboundSchema.parse(cancelDeploymentGitSource), ); } - export function cancelDeploymentGitSourceFromJSON( jsonString: string, ): SafeParseResult { @@ -5129,23 +4203,11 @@ export function cancelDeploymentGitSourceFromJSON( export const CancelDeploymentNodeVersion$inboundSchema: z.ZodNativeEnum< typeof CancelDeploymentNodeVersion > = z.nativeEnum(CancelDeploymentNodeVersion); - /** @internal */ export const CancelDeploymentNodeVersion$outboundSchema: z.ZodNativeEnum< typeof CancelDeploymentNodeVersion > = CancelDeploymentNodeVersion$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentNodeVersion$ { - /** @deprecated use `CancelDeploymentNodeVersion$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentNodeVersion$inboundSchema; - /** @deprecated use `CancelDeploymentNodeVersion$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentNodeVersion$outboundSchema; -} - /** @internal */ export const CancelDeploymentProject$inboundSchema: z.ZodType< CancelDeploymentProject, @@ -5156,7 +4218,6 @@ export const CancelDeploymentProject$inboundSchema: z.ZodType< name: z.string(), framework: z.nullable(z.string()).optional(), }); - /** @internal */ export type CancelDeploymentProject$Outbound = { id: string; @@ -5175,19 +4236,6 @@ export const CancelDeploymentProject$outboundSchema: z.ZodType< 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 { @@ -5195,7 +4243,6 @@ export function cancelDeploymentProjectToJSON( CancelDeploymentProject$outboundSchema.parse(cancelDeploymentProject), ); } - export function cancelDeploymentProjectFromJSON( jsonString: string, ): SafeParseResult { @@ -5210,107 +4257,47 @@ export function cancelDeploymentProjectFromJSON( 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, @@ -5326,13 +4313,13 @@ export const CancelDeploymentOidcTokenClaims$inboundSchema: z.ZodType< project: z.string(), project_id: z.string(), environment: z.string(), + plan: z.string(), }).transform((v) => { return remap$(v, { "owner_id": "ownerId", "project_id": "projectId", }); }); - /** @internal */ export type CancelDeploymentOidcTokenClaims$Outbound = { iss: string; @@ -5344,6 +4331,7 @@ export type CancelDeploymentOidcTokenClaims$Outbound = { project: string; project_id: string; environment: string; + plan: string; }; /** @internal */ @@ -5361,6 +4349,7 @@ export const CancelDeploymentOidcTokenClaims$outboundSchema: z.ZodType< project: z.string(), projectId: z.string(), environment: z.string(), + plan: z.string(), }).transform((v) => { return remap$(v, { ownerId: "owner_id", @@ -5368,19 +4357,6 @@ export const CancelDeploymentOidcTokenClaims$outboundSchema: z.ZodType< }); }); -/** - * @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 { @@ -5390,7 +4366,6 @@ export function cancelDeploymentOidcTokenClaimsToJSON( ), ); } - export function cancelDeploymentOidcTokenClaimsFromJSON( jsonString: string, ): SafeParseResult { @@ -5410,7 +4385,6 @@ export const CancelDeploymentCrons$inboundSchema: z.ZodType< schedule: z.string(), path: z.string(), }); - /** @internal */ export type CancelDeploymentCrons$Outbound = { schedule: string; @@ -5427,19 +4401,6 @@ export const CancelDeploymentCrons$outboundSchema: z.ZodType< 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 { @@ -5447,7 +4408,6 @@ export function cancelDeploymentCronsToJSON( CancelDeploymentCrons$outboundSchema.parse(cancelDeploymentCrons), ); } - export function cancelDeploymentCronsFromJSON( jsonString: string, ): SafeParseResult { @@ -5462,44 +4422,20 @@ export function cancelDeploymentCronsFromJSON( export const CancelDeploymentArchitecture$inboundSchema: z.ZodNativeEnum< typeof CancelDeploymentArchitecture > = z.nativeEnum(CancelDeploymentArchitecture); - /** @internal */ export const CancelDeploymentArchitecture$outboundSchema: z.ZodNativeEnum< typeof CancelDeploymentArchitecture > = CancelDeploymentArchitecture$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentArchitecture$ { - /** @deprecated use `CancelDeploymentArchitecture$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentArchitecture$inboundSchema; - /** @deprecated use `CancelDeploymentArchitecture$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentArchitecture$outboundSchema; -} - /** @internal */ export const CancelDeploymentDeploymentsType$inboundSchema: z.ZodNativeEnum< typeof CancelDeploymentDeploymentsType > = z.nativeEnum(CancelDeploymentDeploymentsType); - /** @internal */ export const CancelDeploymentDeploymentsType$outboundSchema: z.ZodNativeEnum< typeof CancelDeploymentDeploymentsType > = CancelDeploymentDeploymentsType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentDeploymentsType$ { - /** @deprecated use `CancelDeploymentDeploymentsType$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentDeploymentsType$inboundSchema; - /** @deprecated use `CancelDeploymentDeploymentsType$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentDeploymentsType$outboundSchema; -} - /** @internal */ export const CancelDeploymentExperimentalTriggers$inboundSchema: z.ZodType< CancelDeploymentExperimentalTriggers, @@ -5513,7 +4449,6 @@ export const CancelDeploymentExperimentalTriggers$inboundSchema: z.ZodType< retryAfterSeconds: z.number().optional(), initialDelaySeconds: z.number().optional(), }); - /** @internal */ export type CancelDeploymentExperimentalTriggers$Outbound = { type: string; @@ -5538,21 +4473,6 @@ export const CancelDeploymentExperimentalTriggers$outboundSchema: z.ZodType< initialDelaySeconds: 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 CancelDeploymentExperimentalTriggers$ { - /** @deprecated use `CancelDeploymentExperimentalTriggers$inboundSchema` instead. */ - export const inboundSchema = - CancelDeploymentExperimentalTriggers$inboundSchema; - /** @deprecated use `CancelDeploymentExperimentalTriggers$outboundSchema` instead. */ - export const outboundSchema = - CancelDeploymentExperimentalTriggers$outboundSchema; - /** @deprecated use `CancelDeploymentExperimentalTriggers$Outbound` instead. */ - export type Outbound = CancelDeploymentExperimentalTriggers$Outbound; -} - export function cancelDeploymentExperimentalTriggersToJSON( cancelDeploymentExperimentalTriggers: CancelDeploymentExperimentalTriggers, ): string { @@ -5562,7 +4482,6 @@ export function cancelDeploymentExperimentalTriggersToJSON( ), ); } - export function cancelDeploymentExperimentalTriggersFromJSON( jsonString: string, ): SafeParseResult { @@ -5591,7 +4510,6 @@ export const CancelDeploymentFunctions$inboundSchema: z.ZodType< ).optional(), supportsCancellation: z.boolean().optional(), }); - /** @internal */ export type CancelDeploymentFunctions$Outbound = { architecture?: string | undefined; @@ -5624,19 +4542,6 @@ export const CancelDeploymentFunctions$outboundSchema: z.ZodType< supportsCancellation: 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 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 { @@ -5644,7 +4549,6 @@ export function cancelDeploymentFunctionsToJSON( CancelDeploymentFunctions$outboundSchema.parse(cancelDeploymentFunctions), ); } - export function cancelDeploymentFunctionsFromJSON( jsonString: string, ): SafeParseResult { @@ -5659,23 +4563,11 @@ export function cancelDeploymentFunctionsFromJSON( 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, @@ -5686,7 +4578,6 @@ export const CancelDeploymentRoutes3$inboundSchema: z.ZodType< continue: z.boolean(), middleware: z.number(), }); - /** @internal */ export type CancelDeploymentRoutes3$Outbound = { src: string; @@ -5705,19 +4596,6 @@ export const CancelDeploymentRoutes3$outboundSchema: z.ZodType< 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 { @@ -5725,7 +4603,6 @@ export function cancelDeploymentRoutes3ToJSON( CancelDeploymentRoutes3$outboundSchema.parse(cancelDeploymentRoutes3), ); } - export function cancelDeploymentRoutes3FromJSON( jsonString: string, ): SafeParseResult { @@ -5739,22 +4616,10 @@ export function cancelDeploymentRoutes3FromJSON( /** @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 CancelDeploymentRoutes2$inboundSchema: z.ZodType< CancelDeploymentRoutes2, @@ -5766,7 +4631,6 @@ export const CancelDeploymentRoutes2$inboundSchema: z.ZodType< dest: z.string().optional(), status: z.number().optional(), }); - /** @internal */ export type CancelDeploymentRoutes2$Outbound = { handle: string; @@ -5787,19 +4651,6 @@ export const CancelDeploymentRoutes2$outboundSchema: z.ZodType< 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 { @@ -5807,7 +4658,6 @@ export function cancelDeploymentRoutes2ToJSON( CancelDeploymentRoutes2$outboundSchema.parse(cancelDeploymentRoutes2), ); } - export function cancelDeploymentRoutes2FromJSON( jsonString: string, ): SafeParseResult { @@ -5822,31 +4672,17 @@ export function cancelDeploymentRoutes2FromJSON( 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 CancelDeploymentValueDeploymentsEq$inboundSchema: z.ZodType< CancelDeploymentValueDeploymentsEq, z.ZodTypeDef, unknown > = z.union([z.string(), z.number()]); - /** @internal */ export type CancelDeploymentValueDeploymentsEq$Outbound = string | number; @@ -5857,20 +4693,6 @@ export const CancelDeploymentValueDeploymentsEq$outboundSchema: z.ZodType< CancelDeploymentValueDeploymentsEq > = 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 CancelDeploymentValueDeploymentsEq$ { - /** @deprecated use `CancelDeploymentValueDeploymentsEq$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentValueDeploymentsEq$inboundSchema; - /** @deprecated use `CancelDeploymentValueDeploymentsEq$outboundSchema` instead. */ - export const outboundSchema = - CancelDeploymentValueDeploymentsEq$outboundSchema; - /** @deprecated use `CancelDeploymentValueDeploymentsEq$Outbound` instead. */ - export type Outbound = CancelDeploymentValueDeploymentsEq$Outbound; -} - export function cancelDeploymentValueDeploymentsEqToJSON( cancelDeploymentValueDeploymentsEq: CancelDeploymentValueDeploymentsEq, ): string { @@ -5880,7 +4702,6 @@ export function cancelDeploymentValueDeploymentsEqToJSON( ), ); } - export function cancelDeploymentValueDeploymentsEqFromJSON( jsonString: string, ): SafeParseResult { @@ -5910,7 +4731,6 @@ export const CancelDeploymentValueDeployments2$inboundSchema: z.ZodType< lt: z.number().optional(), lte: z.number().optional(), }); - /** @internal */ export type CancelDeploymentValueDeployments2$Outbound = { eq?: string | number | undefined; @@ -5945,20 +4765,6 @@ export const CancelDeploymentValueDeployments2$outboundSchema: z.ZodType< 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 CancelDeploymentValueDeployments2$ { - /** @deprecated use `CancelDeploymentValueDeployments2$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentValueDeployments2$inboundSchema; - /** @deprecated use `CancelDeploymentValueDeployments2$outboundSchema` instead. */ - export const outboundSchema = - CancelDeploymentValueDeployments2$outboundSchema; - /** @deprecated use `CancelDeploymentValueDeployments2$Outbound` instead. */ - export type Outbound = CancelDeploymentValueDeployments2$Outbound; -} - export function cancelDeploymentValueDeployments2ToJSON( cancelDeploymentValueDeployments2: CancelDeploymentValueDeployments2, ): string { @@ -5968,7 +4774,6 @@ export function cancelDeploymentValueDeployments2ToJSON( ), ); } - export function cancelDeploymentValueDeployments2FromJSON( jsonString: string, ): SafeParseResult { @@ -5988,7 +4793,6 @@ export const CancelDeploymentHasDeploymentsValue$inboundSchema: z.ZodType< z.string(), z.lazy(() => CancelDeploymentValueDeployments2$inboundSchema), ]); - /** @internal */ export type CancelDeploymentHasDeploymentsValue$Outbound = | string @@ -6004,21 +4808,6 @@ export const CancelDeploymentHasDeploymentsValue$outboundSchema: z.ZodType< z.lazy(() => CancelDeploymentValueDeployments2$outboundSchema), ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentHasDeploymentsValue$ { - /** @deprecated use `CancelDeploymentHasDeploymentsValue$inboundSchema` instead. */ - export const inboundSchema = - CancelDeploymentHasDeploymentsValue$inboundSchema; - /** @deprecated use `CancelDeploymentHasDeploymentsValue$outboundSchema` instead. */ - export const outboundSchema = - CancelDeploymentHasDeploymentsValue$outboundSchema; - /** @deprecated use `CancelDeploymentHasDeploymentsValue$Outbound` instead. */ - export type Outbound = CancelDeploymentHasDeploymentsValue$Outbound; -} - export function cancelDeploymentHasDeploymentsValueToJSON( cancelDeploymentHasDeploymentsValue: CancelDeploymentHasDeploymentsValue, ): string { @@ -6028,7 +4817,6 @@ export function cancelDeploymentHasDeploymentsValueToJSON( ), ); } - export function cancelDeploymentHasDeploymentsValueFromJSON( jsonString: string, ): SafeParseResult { @@ -6053,7 +4841,6 @@ export const CancelDeploymentHas2$inboundSchema: z.ZodType< z.lazy(() => CancelDeploymentValueDeployments2$inboundSchema), ]).optional(), }); - /** @internal */ export type CancelDeploymentHas2$Outbound = { type: string; @@ -6075,19 +4862,6 @@ export const CancelDeploymentHas2$outboundSchema: z.ZodType< ]).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 { @@ -6095,7 +4869,6 @@ export function cancelDeploymentHas2ToJSON( CancelDeploymentHas2$outboundSchema.parse(cancelDeploymentHas2), ); } - export function cancelDeploymentHas2FromJSON( jsonString: string, ): SafeParseResult { @@ -6110,30 +4883,17 @@ export function cancelDeploymentHas2FromJSON( 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 CancelDeploymentValueEq$inboundSchema: z.ZodType< CancelDeploymentValueEq, z.ZodTypeDef, unknown > = z.union([z.string(), z.number()]); - /** @internal */ export type CancelDeploymentValueEq$Outbound = string | number; @@ -6144,19 +4904,6 @@ export const CancelDeploymentValueEq$outboundSchema: z.ZodType< CancelDeploymentValueEq > = 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 CancelDeploymentValueEq$ { - /** @deprecated use `CancelDeploymentValueEq$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentValueEq$inboundSchema; - /** @deprecated use `CancelDeploymentValueEq$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentValueEq$outboundSchema; - /** @deprecated use `CancelDeploymentValueEq$Outbound` instead. */ - export type Outbound = CancelDeploymentValueEq$Outbound; -} - export function cancelDeploymentValueEqToJSON( cancelDeploymentValueEq: CancelDeploymentValueEq, ): string { @@ -6164,7 +4911,6 @@ export function cancelDeploymentValueEqToJSON( CancelDeploymentValueEq$outboundSchema.parse(cancelDeploymentValueEq), ); } - export function cancelDeploymentValueEqFromJSON( jsonString: string, ): SafeParseResult { @@ -6193,7 +4939,6 @@ export const CancelDeploymentValue2$inboundSchema: z.ZodType< lt: z.number().optional(), lte: z.number().optional(), }); - /** @internal */ export type CancelDeploymentValue2$Outbound = { eq?: string | number | undefined; @@ -6228,19 +4973,6 @@ export const CancelDeploymentValue2$outboundSchema: z.ZodType< 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 CancelDeploymentValue2$ { - /** @deprecated use `CancelDeploymentValue2$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentValue2$inboundSchema; - /** @deprecated use `CancelDeploymentValue2$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentValue2$outboundSchema; - /** @deprecated use `CancelDeploymentValue2$Outbound` instead. */ - export type Outbound = CancelDeploymentValue2$Outbound; -} - export function cancelDeploymentValue2ToJSON( cancelDeploymentValue2: CancelDeploymentValue2, ): string { @@ -6248,7 +4980,6 @@ export function cancelDeploymentValue2ToJSON( CancelDeploymentValue2$outboundSchema.parse(cancelDeploymentValue2), ); } - export function cancelDeploymentValue2FromJSON( jsonString: string, ): SafeParseResult { @@ -6265,7 +4996,6 @@ export const CancelDeploymentHasValue$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.union([z.string(), z.lazy(() => CancelDeploymentValue2$inboundSchema)]); - /** @internal */ export type CancelDeploymentHasValue$Outbound = | string @@ -6278,19 +5008,6 @@ export const CancelDeploymentHasValue$outboundSchema: z.ZodType< CancelDeploymentHasValue > = z.union([z.string(), z.lazy(() => CancelDeploymentValue2$outboundSchema)]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentHasValue$ { - /** @deprecated use `CancelDeploymentHasValue$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentHasValue$inboundSchema; - /** @deprecated use `CancelDeploymentHasValue$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentHasValue$outboundSchema; - /** @deprecated use `CancelDeploymentHasValue$Outbound` instead. */ - export type Outbound = CancelDeploymentHasValue$Outbound; -} - export function cancelDeploymentHasValueToJSON( cancelDeploymentHasValue: CancelDeploymentHasValue, ): string { @@ -6298,7 +5015,6 @@ export function cancelDeploymentHasValueToJSON( CancelDeploymentHasValue$outboundSchema.parse(cancelDeploymentHasValue), ); } - export function cancelDeploymentHasValueFromJSON( jsonString: string, ): SafeParseResult { @@ -6321,7 +5037,6 @@ export const CancelDeploymentHas1$inboundSchema: z.ZodType< z.lazy(() => CancelDeploymentValue2$inboundSchema), ]), }); - /** @internal */ export type CancelDeploymentHas1$Outbound = { type: string; @@ -6341,19 +5056,6 @@ export const CancelDeploymentHas1$outboundSchema: z.ZodType< ]), }); -/** - * @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 { @@ -6361,7 +5063,6 @@ export function cancelDeploymentHas1ToJSON( CancelDeploymentHas1$outboundSchema.parse(cancelDeploymentHas1), ); } - export function cancelDeploymentHas1FromJSON( jsonString: string, ): SafeParseResult { @@ -6381,7 +5082,6 @@ export const CancelDeploymentRoutesHas$inboundSchema: z.ZodType< z.lazy(() => CancelDeploymentHas1$inboundSchema), z.lazy(() => CancelDeploymentHas2$inboundSchema), ]); - /** @internal */ export type CancelDeploymentRoutesHas$Outbound = | CancelDeploymentHas1$Outbound @@ -6397,19 +5097,6 @@ export const CancelDeploymentRoutesHas$outboundSchema: z.ZodType< 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 { @@ -6417,7 +5104,6 @@ export function cancelDeploymentRoutesHasToJSON( CancelDeploymentRoutesHas$outboundSchema.parse(cancelDeploymentRoutesHas), ); } - export function cancelDeploymentRoutesHasFromJSON( jsonString: string, ): SafeParseResult { @@ -6433,25 +5119,11 @@ 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 CancelDeploymentValueDeploymentsResponse200Eq$inboundSchema: z.ZodType< @@ -6459,7 +5131,6 @@ export const CancelDeploymentValueDeploymentsResponse200Eq$inboundSchema: z.ZodTypeDef, unknown > = z.union([z.string(), z.number()]); - /** @internal */ export type CancelDeploymentValueDeploymentsResponse200Eq$Outbound = | string @@ -6473,21 +5144,6 @@ export const CancelDeploymentValueDeploymentsResponse200Eq$outboundSchema: CancelDeploymentValueDeploymentsResponse200Eq > = 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 CancelDeploymentValueDeploymentsResponse200Eq$ { - /** @deprecated use `CancelDeploymentValueDeploymentsResponse200Eq$inboundSchema` instead. */ - export const inboundSchema = - CancelDeploymentValueDeploymentsResponse200Eq$inboundSchema; - /** @deprecated use `CancelDeploymentValueDeploymentsResponse200Eq$outboundSchema` instead. */ - export const outboundSchema = - CancelDeploymentValueDeploymentsResponse200Eq$outboundSchema; - /** @deprecated use `CancelDeploymentValueDeploymentsResponse200Eq$Outbound` instead. */ - export type Outbound = CancelDeploymentValueDeploymentsResponse200Eq$Outbound; -} - export function cancelDeploymentValueDeploymentsResponse200EqToJSON( cancelDeploymentValueDeploymentsResponse200Eq: CancelDeploymentValueDeploymentsResponse200Eq, @@ -6498,7 +5154,6 @@ export function cancelDeploymentValueDeploymentsResponse200EqToJSON( ), ); } - export function cancelDeploymentValueDeploymentsResponse200EqFromJSON( jsonString: string, ): SafeParseResult< @@ -6534,7 +5189,6 @@ export const CancelDeploymentValueDeploymentsResponse2002$inboundSchema: lt: z.number().optional(), lte: z.number().optional(), }); - /** @internal */ export type CancelDeploymentValueDeploymentsResponse2002$Outbound = { eq?: string | number | undefined; @@ -6570,21 +5224,6 @@ export const CancelDeploymentValueDeploymentsResponse2002$outboundSchema: 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 CancelDeploymentValueDeploymentsResponse2002$ { - /** @deprecated use `CancelDeploymentValueDeploymentsResponse2002$inboundSchema` instead. */ - export const inboundSchema = - CancelDeploymentValueDeploymentsResponse2002$inboundSchema; - /** @deprecated use `CancelDeploymentValueDeploymentsResponse2002$outboundSchema` instead. */ - export const outboundSchema = - CancelDeploymentValueDeploymentsResponse2002$outboundSchema; - /** @deprecated use `CancelDeploymentValueDeploymentsResponse2002$Outbound` instead. */ - export type Outbound = CancelDeploymentValueDeploymentsResponse2002$Outbound; -} - export function cancelDeploymentValueDeploymentsResponse2002ToJSON( cancelDeploymentValueDeploymentsResponse2002: CancelDeploymentValueDeploymentsResponse2002, @@ -6595,7 +5234,6 @@ export function cancelDeploymentValueDeploymentsResponse2002ToJSON( ), ); } - export function cancelDeploymentValueDeploymentsResponse2002FromJSON( jsonString: string, ): SafeParseResult< @@ -6621,7 +5259,6 @@ export const CancelDeploymentMissingDeploymentsValue$inboundSchema: z.ZodType< z.string(), z.lazy(() => CancelDeploymentValueDeploymentsResponse2002$inboundSchema), ]); - /** @internal */ export type CancelDeploymentMissingDeploymentsValue$Outbound = | string @@ -6637,21 +5274,6 @@ export const CancelDeploymentMissingDeploymentsValue$outboundSchema: z.ZodType< z.lazy(() => CancelDeploymentValueDeploymentsResponse2002$outboundSchema), ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentMissingDeploymentsValue$ { - /** @deprecated use `CancelDeploymentMissingDeploymentsValue$inboundSchema` instead. */ - export const inboundSchema = - CancelDeploymentMissingDeploymentsValue$inboundSchema; - /** @deprecated use `CancelDeploymentMissingDeploymentsValue$outboundSchema` instead. */ - export const outboundSchema = - CancelDeploymentMissingDeploymentsValue$outboundSchema; - /** @deprecated use `CancelDeploymentMissingDeploymentsValue$Outbound` instead. */ - export type Outbound = CancelDeploymentMissingDeploymentsValue$Outbound; -} - export function cancelDeploymentMissingDeploymentsValueToJSON( cancelDeploymentMissingDeploymentsValue: CancelDeploymentMissingDeploymentsValue, @@ -6662,7 +5284,6 @@ export function cancelDeploymentMissingDeploymentsValueToJSON( ), ); } - export function cancelDeploymentMissingDeploymentsValueFromJSON( jsonString: string, ): SafeParseResult< @@ -6692,7 +5313,6 @@ export const CancelDeploymentMissing2$inboundSchema: z.ZodType< z.lazy(() => CancelDeploymentValueDeploymentsResponse2002$inboundSchema), ]).optional(), }); - /** @internal */ export type CancelDeploymentMissing2$Outbound = { type: string; @@ -6717,19 +5337,6 @@ export const CancelDeploymentMissing2$outboundSchema: z.ZodType< ]).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 { @@ -6737,7 +5344,6 @@ export function cancelDeploymentMissing2ToJSON( CancelDeploymentMissing2$outboundSchema.parse(cancelDeploymentMissing2), ); } - export function cancelDeploymentMissing2FromJSON( jsonString: string, ): SafeParseResult { @@ -6752,28 +5358,15 @@ export function cancelDeploymentMissing2FromJSON( 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 CancelDeploymentValueDeploymentsResponseEq$inboundSchema: z.ZodType = z.union([z.string(), z.number()]); - /** @internal */ export type CancelDeploymentValueDeploymentsResponseEq$Outbound = | string @@ -6787,21 +5380,6 @@ export const CancelDeploymentValueDeploymentsResponseEq$outboundSchema: CancelDeploymentValueDeploymentsResponseEq > = 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 CancelDeploymentValueDeploymentsResponseEq$ { - /** @deprecated use `CancelDeploymentValueDeploymentsResponseEq$inboundSchema` instead. */ - export const inboundSchema = - CancelDeploymentValueDeploymentsResponseEq$inboundSchema; - /** @deprecated use `CancelDeploymentValueDeploymentsResponseEq$outboundSchema` instead. */ - export const outboundSchema = - CancelDeploymentValueDeploymentsResponseEq$outboundSchema; - /** @deprecated use `CancelDeploymentValueDeploymentsResponseEq$Outbound` instead. */ - export type Outbound = CancelDeploymentValueDeploymentsResponseEq$Outbound; -} - export function cancelDeploymentValueDeploymentsResponseEqToJSON( cancelDeploymentValueDeploymentsResponseEq: CancelDeploymentValueDeploymentsResponseEq, @@ -6812,7 +5390,6 @@ export function cancelDeploymentValueDeploymentsResponseEqToJSON( ), ); } - export function cancelDeploymentValueDeploymentsResponseEqFromJSON( jsonString: string, ): SafeParseResult< @@ -6847,7 +5424,6 @@ export const CancelDeploymentValueDeploymentsResponse2$inboundSchema: z.ZodType< lt: z.number().optional(), lte: z.number().optional(), }); - /** @internal */ export type CancelDeploymentValueDeploymentsResponse2$Outbound = { eq?: string | number | undefined; @@ -6883,21 +5459,6 @@ export const CancelDeploymentValueDeploymentsResponse2$outboundSchema: 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 CancelDeploymentValueDeploymentsResponse2$ { - /** @deprecated use `CancelDeploymentValueDeploymentsResponse2$inboundSchema` instead. */ - export const inboundSchema = - CancelDeploymentValueDeploymentsResponse2$inboundSchema; - /** @deprecated use `CancelDeploymentValueDeploymentsResponse2$outboundSchema` instead. */ - export const outboundSchema = - CancelDeploymentValueDeploymentsResponse2$outboundSchema; - /** @deprecated use `CancelDeploymentValueDeploymentsResponse2$Outbound` instead. */ - export type Outbound = CancelDeploymentValueDeploymentsResponse2$Outbound; -} - export function cancelDeploymentValueDeploymentsResponse2ToJSON( cancelDeploymentValueDeploymentsResponse2: CancelDeploymentValueDeploymentsResponse2, @@ -6908,7 +5469,6 @@ export function cancelDeploymentValueDeploymentsResponse2ToJSON( ), ); } - export function cancelDeploymentValueDeploymentsResponse2FromJSON( jsonString: string, ): SafeParseResult< @@ -6934,7 +5494,6 @@ export const CancelDeploymentMissingValue$inboundSchema: z.ZodType< z.string(), z.lazy(() => CancelDeploymentValueDeploymentsResponse2$inboundSchema), ]); - /** @internal */ export type CancelDeploymentMissingValue$Outbound = | string @@ -6950,19 +5509,6 @@ export const CancelDeploymentMissingValue$outboundSchema: z.ZodType< z.lazy(() => CancelDeploymentValueDeploymentsResponse2$outboundSchema), ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentMissingValue$ { - /** @deprecated use `CancelDeploymentMissingValue$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentMissingValue$inboundSchema; - /** @deprecated use `CancelDeploymentMissingValue$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentMissingValue$outboundSchema; - /** @deprecated use `CancelDeploymentMissingValue$Outbound` instead. */ - export type Outbound = CancelDeploymentMissingValue$Outbound; -} - export function cancelDeploymentMissingValueToJSON( cancelDeploymentMissingValue: CancelDeploymentMissingValue, ): string { @@ -6972,7 +5518,6 @@ export function cancelDeploymentMissingValueToJSON( ), ); } - export function cancelDeploymentMissingValueFromJSON( jsonString: string, ): SafeParseResult { @@ -6995,7 +5540,6 @@ export const CancelDeploymentMissing1$inboundSchema: z.ZodType< z.lazy(() => CancelDeploymentValueDeploymentsResponse2$inboundSchema), ]), }); - /** @internal */ export type CancelDeploymentMissing1$Outbound = { type: string; @@ -7015,19 +5559,6 @@ export const CancelDeploymentMissing1$outboundSchema: z.ZodType< ]), }); -/** - * @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 { @@ -7035,7 +5566,6 @@ export function cancelDeploymentMissing1ToJSON( CancelDeploymentMissing1$outboundSchema.parse(cancelDeploymentMissing1), ); } - export function cancelDeploymentMissing1FromJSON( jsonString: string, ): SafeParseResult { @@ -7055,7 +5585,6 @@ export const RoutesMissing$inboundSchema: z.ZodType< z.lazy(() => CancelDeploymentMissing1$inboundSchema), z.lazy(() => CancelDeploymentMissing2$inboundSchema), ]); - /** @internal */ export type RoutesMissing$Outbound = | CancelDeploymentMissing1$Outbound @@ -7071,23 +5600,9 @@ export const RoutesMissing$outboundSchema: z.ZodType< 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 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 { @@ -7102,23 +5617,11 @@ export function routesMissingFromJSON( export const CancelDeploymentRoutesAction$inboundSchema: z.ZodNativeEnum< typeof CancelDeploymentRoutesAction > = z.nativeEnum(CancelDeploymentRoutesAction); - /** @internal */ export const CancelDeploymentRoutesAction$outboundSchema: z.ZodNativeEnum< typeof CancelDeploymentRoutesAction > = CancelDeploymentRoutesAction$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentRoutesAction$ { - /** @deprecated use `CancelDeploymentRoutesAction$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentRoutesAction$inboundSchema; - /** @deprecated use `CancelDeploymentRoutesAction$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentRoutesAction$outboundSchema; -} - /** @internal */ export const CancelDeploymentRoutesMitigate$inboundSchema: z.ZodType< CancelDeploymentRoutesMitigate, @@ -7127,7 +5630,6 @@ export const CancelDeploymentRoutesMitigate$inboundSchema: z.ZodType< > = z.object({ action: CancelDeploymentRoutesAction$inboundSchema, }); - /** @internal */ export type CancelDeploymentRoutesMitigate$Outbound = { action: string; @@ -7142,19 +5644,6 @@ export const CancelDeploymentRoutesMitigate$outboundSchema: z.ZodType< action: CancelDeploymentRoutesAction$outboundSchema, }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentRoutesMitigate$ { - /** @deprecated use `CancelDeploymentRoutesMitigate$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentRoutesMitigate$inboundSchema; - /** @deprecated use `CancelDeploymentRoutesMitigate$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentRoutesMitigate$outboundSchema; - /** @deprecated use `CancelDeploymentRoutesMitigate$Outbound` instead. */ - export type Outbound = CancelDeploymentRoutesMitigate$Outbound; -} - export function cancelDeploymentRoutesMitigateToJSON( cancelDeploymentRoutesMitigate: CancelDeploymentRoutesMitigate, ): string { @@ -7164,7 +5653,6 @@ export function cancelDeploymentRoutesMitigateToJSON( ), ); } - export function cancelDeploymentRoutesMitigateFromJSON( jsonString: string, ): SafeParseResult { @@ -7179,49 +5667,24 @@ export function cancelDeploymentRoutesMitigateFromJSON( export const CancelDeploymentRoutesType$inboundSchema: z.ZodNativeEnum< typeof CancelDeploymentRoutesType > = z.nativeEnum(CancelDeploymentRoutesType); - /** @internal */ export const CancelDeploymentRoutesType$outboundSchema: z.ZodNativeEnum< typeof CancelDeploymentRoutesType > = CancelDeploymentRoutesType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentRoutesType$ { - /** @deprecated use `CancelDeploymentRoutesType$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentRoutesType$inboundSchema; - /** @deprecated use `CancelDeploymentRoutesType$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentRoutesType$outboundSchema; -} - /** @internal */ export const RoutesOp$inboundSchema: z.ZodNativeEnum = z .nativeEnum(RoutesOp); - /** @internal */ export const RoutesOp$outboundSchema: z.ZodNativeEnum = RoutesOp$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RoutesOp$ { - /** @deprecated use `RoutesOp$inboundSchema` instead. */ - export const inboundSchema = RoutesOp$inboundSchema; - /** @deprecated use `RoutesOp$outboundSchema` instead. */ - export const outboundSchema = RoutesOp$outboundSchema; -} - /** @internal */ export const CancelDeploymentKeyEq$inboundSchema: z.ZodType< CancelDeploymentKeyEq, z.ZodTypeDef, unknown > = z.union([z.string(), z.number()]); - /** @internal */ export type CancelDeploymentKeyEq$Outbound = string | number; @@ -7232,19 +5695,6 @@ export const CancelDeploymentKeyEq$outboundSchema: z.ZodType< CancelDeploymentKeyEq > = 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 CancelDeploymentKeyEq$ { - /** @deprecated use `CancelDeploymentKeyEq$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentKeyEq$inboundSchema; - /** @deprecated use `CancelDeploymentKeyEq$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentKeyEq$outboundSchema; - /** @deprecated use `CancelDeploymentKeyEq$Outbound` instead. */ - export type Outbound = CancelDeploymentKeyEq$Outbound; -} - export function cancelDeploymentKeyEqToJSON( cancelDeploymentKeyEq: CancelDeploymentKeyEq, ): string { @@ -7252,7 +5702,6 @@ export function cancelDeploymentKeyEqToJSON( CancelDeploymentKeyEq$outboundSchema.parse(cancelDeploymentKeyEq), ); } - export function cancelDeploymentKeyEqFromJSON( jsonString: string, ): SafeParseResult { @@ -7280,7 +5729,6 @@ export const CancelDeploymentKey2$inboundSchema: z.ZodType< lt: z.number().optional(), lte: z.number().optional(), }); - /** @internal */ export type CancelDeploymentKey2$Outbound = { eq?: string | number | undefined; @@ -7313,19 +5761,6 @@ export const CancelDeploymentKey2$outboundSchema: z.ZodType< 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 CancelDeploymentKey2$ { - /** @deprecated use `CancelDeploymentKey2$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentKey2$inboundSchema; - /** @deprecated use `CancelDeploymentKey2$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentKey2$outboundSchema; - /** @deprecated use `CancelDeploymentKey2$Outbound` instead. */ - export type Outbound = CancelDeploymentKey2$Outbound; -} - export function cancelDeploymentKey2ToJSON( cancelDeploymentKey2: CancelDeploymentKey2, ): string { @@ -7333,7 +5768,6 @@ export function cancelDeploymentKey2ToJSON( CancelDeploymentKey2$outboundSchema.parse(cancelDeploymentKey2), ); } - export function cancelDeploymentKey2FromJSON( jsonString: string, ): SafeParseResult { @@ -7350,7 +5784,6 @@ export const CancelDeploymentRoutesKey$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.union([z.string(), z.lazy(() => CancelDeploymentKey2$inboundSchema)]); - /** @internal */ export type CancelDeploymentRoutesKey$Outbound = | string @@ -7363,19 +5796,6 @@ export const CancelDeploymentRoutesKey$outboundSchema: z.ZodType< CancelDeploymentRoutesKey > = z.union([z.string(), z.lazy(() => CancelDeploymentKey2$outboundSchema)]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentRoutesKey$ { - /** @deprecated use `CancelDeploymentRoutesKey$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentRoutesKey$inboundSchema; - /** @deprecated use `CancelDeploymentRoutesKey$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentRoutesKey$outboundSchema; - /** @deprecated use `CancelDeploymentRoutesKey$Outbound` instead. */ - export type Outbound = CancelDeploymentRoutesKey$Outbound; -} - export function cancelDeploymentRoutesKeyToJSON( cancelDeploymentRoutesKey: CancelDeploymentRoutesKey, ): string { @@ -7383,7 +5803,6 @@ export function cancelDeploymentRoutesKeyToJSON( CancelDeploymentRoutesKey$outboundSchema.parse(cancelDeploymentRoutesKey), ); } - export function cancelDeploymentRoutesKeyFromJSON( jsonString: string, ): SafeParseResult { @@ -7402,7 +5821,6 @@ export const CancelDeploymentRoutesTarget$inboundSchema: z.ZodType< > = z.object({ key: z.union([z.string(), z.lazy(() => CancelDeploymentKey2$inboundSchema)]), }); - /** @internal */ export type CancelDeploymentRoutesTarget$Outbound = { key: string | CancelDeploymentKey2$Outbound; @@ -7417,19 +5835,6 @@ export const CancelDeploymentRoutesTarget$outboundSchema: z.ZodType< key: z.union([z.string(), z.lazy(() => CancelDeploymentKey2$outboundSchema)]), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentRoutesTarget$ { - /** @deprecated use `CancelDeploymentRoutesTarget$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentRoutesTarget$inboundSchema; - /** @deprecated use `CancelDeploymentRoutesTarget$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentRoutesTarget$outboundSchema; - /** @deprecated use `CancelDeploymentRoutesTarget$Outbound` instead. */ - export type Outbound = CancelDeploymentRoutesTarget$Outbound; -} - export function cancelDeploymentRoutesTargetToJSON( cancelDeploymentRoutesTarget: CancelDeploymentRoutesTarget, ): string { @@ -7439,7 +5844,6 @@ export function cancelDeploymentRoutesTargetToJSON( ), ); } - export function cancelDeploymentRoutesTargetFromJSON( jsonString: string, ): SafeParseResult { @@ -7456,7 +5860,6 @@ export const RoutesArgs$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.union([z.string(), z.array(z.string())]); - /** @internal */ export type RoutesArgs$Outbound = string | Array; @@ -7467,23 +5870,9 @@ export const RoutesArgs$outboundSchema: z.ZodType< RoutesArgs > = z.union([z.string(), 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 RoutesArgs$ { - /** @deprecated use `RoutesArgs$inboundSchema` instead. */ - export const inboundSchema = RoutesArgs$inboundSchema; - /** @deprecated use `RoutesArgs$outboundSchema` instead. */ - export const outboundSchema = RoutesArgs$outboundSchema; - /** @deprecated use `RoutesArgs$Outbound` instead. */ - export type Outbound = RoutesArgs$Outbound; -} - export function routesArgsToJSON(routesArgs: RoutesArgs): string { return JSON.stringify(RoutesArgs$outboundSchema.parse(routesArgs)); } - export function routesArgsFromJSON( jsonString: string, ): SafeParseResult { @@ -7505,7 +5894,6 @@ export const RoutesTransforms$inboundSchema: z.ZodType< target: z.lazy(() => CancelDeploymentRoutesTarget$inboundSchema), args: z.union([z.string(), z.array(z.string())]).optional(), }); - /** @internal */ export type RoutesTransforms$Outbound = { type: string; @@ -7526,19 +5914,6 @@ export const RoutesTransforms$outboundSchema: z.ZodType< args: z.union([z.string(), 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 RoutesTransforms$ { - /** @deprecated use `RoutesTransforms$inboundSchema` instead. */ - export const inboundSchema = RoutesTransforms$inboundSchema; - /** @deprecated use `RoutesTransforms$outboundSchema` instead. */ - export const outboundSchema = RoutesTransforms$outboundSchema; - /** @deprecated use `RoutesTransforms$Outbound` instead. */ - export type Outbound = RoutesTransforms$Outbound; -} - export function routesTransformsToJSON( routesTransforms: RoutesTransforms, ): string { @@ -7546,7 +5921,6 @@ export function routesTransformsToJSON( RoutesTransforms$outboundSchema.parse(routesTransforms), ); } - export function routesTransformsFromJSON( jsonString: string, ): SafeParseResult { @@ -7566,7 +5940,6 @@ export const RoutesLocale$inboundSchema: z.ZodType< redirect: z.record(z.string()).optional(), cookie: z.string().optional(), }); - /** @internal */ export type RoutesLocale$Outbound = { redirect?: { [k: string]: string } | undefined; @@ -7583,23 +5956,9 @@ export const RoutesLocale$outboundSchema: z.ZodType< 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 { @@ -7646,7 +6005,6 @@ export const CancelDeploymentRoutes1$inboundSchema: z.ZodType< middlewareRawSrc: z.array(z.string()).optional(), middleware: z.number().optional(), }); - /** @internal */ export type CancelDeploymentRoutes1$Outbound = { src: string; @@ -7712,19 +6070,6 @@ export const CancelDeploymentRoutes1$outboundSchema: z.ZodType< 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 { @@ -7732,7 +6077,6 @@ export function cancelDeploymentRoutes1ToJSON( CancelDeploymentRoutes1$outboundSchema.parse(cancelDeploymentRoutes1), ); } - export function cancelDeploymentRoutes1FromJSON( jsonString: string, ): SafeParseResult { @@ -7753,7 +6097,6 @@ export const CancelDeploymentRoutes$inboundSchema: z.ZodType< z.lazy(() => CancelDeploymentRoutes1$inboundSchema), z.lazy(() => CancelDeploymentRoutes2$inboundSchema), ]); - /** @internal */ export type CancelDeploymentRoutes$Outbound = | CancelDeploymentRoutes3$Outbound @@ -7771,19 +6114,6 @@ export const CancelDeploymentRoutes$outboundSchema: z.ZodType< z.lazy(() => CancelDeploymentRoutes2$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 { @@ -7791,7 +6121,6 @@ export function cancelDeploymentRoutesToJSON( CancelDeploymentRoutes$outboundSchema.parse(cancelDeploymentRoutes), ); } - export function cancelDeploymentRoutesFromJSON( jsonString: string, ): SafeParseResult { @@ -7806,48 +6135,20 @@ export function cancelDeploymentRoutesFromJSON( 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, @@ -7865,7 +6166,6 @@ export const CancelDeploymentGitRepo3$inboundSchema: z.ZodType< private: z.boolean(), ownerType: CancelDeploymentGitRepoDeploymentsResponseOwnerType$inboundSchema, }); - /** @internal */ export type CancelDeploymentGitRepo3$Outbound = { owner: string; @@ -7898,19 +6198,6 @@ export const CancelDeploymentGitRepo3$outboundSchema: z.ZodType< 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 { @@ -7918,7 +6205,6 @@ export function cancelDeploymentGitRepo3ToJSON( CancelDeploymentGitRepo3$outboundSchema.parse(cancelDeploymentGitRepo3), ); } - export function cancelDeploymentGitRepo3FromJSON( jsonString: string, ): SafeParseResult { @@ -7934,48 +6220,20 @@ 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, @@ -7993,7 +6251,6 @@ export const CancelDeploymentGitRepo2$inboundSchema: z.ZodType< private: z.boolean(), ownerType: CancelDeploymentGitRepoDeploymentsOwnerType$inboundSchema, }); - /** @internal */ export type CancelDeploymentGitRepo2$Outbound = { org: string; @@ -8026,19 +6283,6 @@ export const CancelDeploymentGitRepo2$outboundSchema: z.ZodType< 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 { @@ -8046,7 +6290,6 @@ export function cancelDeploymentGitRepo2ToJSON( CancelDeploymentGitRepo2$outboundSchema.parse(cancelDeploymentGitRepo2), ); } - export function cancelDeploymentGitRepo2FromJSON( jsonString: string, ): SafeParseResult { @@ -8061,44 +6304,20 @@ export function cancelDeploymentGitRepo2FromJSON( 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, @@ -8115,7 +6334,6 @@ export const CancelDeploymentGitRepo1$inboundSchema: z.ZodType< private: z.boolean(), ownerType: CancelDeploymentGitRepoOwnerType$inboundSchema, }); - /** @internal */ export type CancelDeploymentGitRepo1$Outbound = { namespace: string; @@ -8146,19 +6364,6 @@ export const CancelDeploymentGitRepo1$outboundSchema: z.ZodType< 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 { @@ -8166,7 +6371,6 @@ export function cancelDeploymentGitRepo1ToJSON( CancelDeploymentGitRepo1$outboundSchema.parse(cancelDeploymentGitRepo1), ); } - export function cancelDeploymentGitRepo1FromJSON( jsonString: string, ): SafeParseResult { @@ -8187,7 +6391,6 @@ export const CancelDeploymentGitRepo$inboundSchema: z.ZodType< z.lazy(() => CancelDeploymentGitRepo3$inboundSchema), z.lazy(() => CancelDeploymentGitRepo1$inboundSchema), ]); - /** @internal */ export type CancelDeploymentGitRepo$Outbound = | CancelDeploymentGitRepo2$Outbound @@ -8205,19 +6408,6 @@ export const CancelDeploymentGitRepo$outboundSchema: z.ZodType< z.lazy(() => CancelDeploymentGitRepo1$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 { @@ -8225,7 +6415,6 @@ export function cancelDeploymentGitRepoToJSON( CancelDeploymentGitRepo$outboundSchema.parse(cancelDeploymentGitRepo), ); } - export function cancelDeploymentGitRepoFromJSON( jsonString: string, ): SafeParseResult { @@ -8242,7 +6431,6 @@ export const CancelDeploymentFlags2$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({}); - /** @internal */ export type CancelDeploymentFlags2$Outbound = {}; @@ -8253,19 +6441,6 @@ export const CancelDeploymentFlags2$outboundSchema: z.ZodType< 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 { @@ -8273,7 +6448,6 @@ export function cancelDeploymentFlags2ToJSON( CancelDeploymentFlags2$outboundSchema.parse(cancelDeploymentFlags2), ); } - export function cancelDeploymentFlags2FromJSON( jsonString: string, ): SafeParseResult { @@ -8293,7 +6467,6 @@ export const FlagsOptions$inboundSchema: z.ZodType< value: z.nullable(FlagJSONValue$inboundSchema), label: z.string().optional(), }); - /** @internal */ export type FlagsOptions$Outbound = { value: FlagJSONValue$Outbound | null; @@ -8310,23 +6483,9 @@ export const FlagsOptions$outboundSchema: z.ZodType< 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 { @@ -8347,7 +6506,6 @@ export const CancelDeploymentFlagsDefinitions$inboundSchema: z.ZodType< url: z.string().optional(), description: z.string().optional(), }); - /** @internal */ export type CancelDeploymentFlagsDefinitions$Outbound = { options?: Array | undefined; @@ -8366,19 +6524,6 @@ export const CancelDeploymentFlagsDefinitions$outboundSchema: z.ZodType< 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 { @@ -8388,7 +6533,6 @@ export function cancelDeploymentFlagsDefinitionsToJSON( ), ); } - export function cancelDeploymentFlagsDefinitionsFromJSON( jsonString: string, ): SafeParseResult { @@ -8409,7 +6553,6 @@ export const CancelDeploymentFlags1$inboundSchema: z.ZodType< z.lazy(() => CancelDeploymentFlagsDefinitions$inboundSchema), ), }); - /** @internal */ export type CancelDeploymentFlags1$Outbound = { definitions: { [k: string]: CancelDeploymentFlagsDefinitions$Outbound }; @@ -8426,19 +6569,6 @@ export const CancelDeploymentFlags1$outboundSchema: z.ZodType< ), }); -/** - * @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 { @@ -8446,7 +6576,6 @@ export function cancelDeploymentFlags1ToJSON( CancelDeploymentFlags1$outboundSchema.parse(cancelDeploymentFlags1), ); } - export function cancelDeploymentFlags1FromJSON( jsonString: string, ): SafeParseResult { @@ -8466,7 +6595,6 @@ export const CancelDeploymentFlags$inboundSchema: z.ZodType< z.lazy(() => CancelDeploymentFlags1$inboundSchema), z.array(z.lazy(() => CancelDeploymentFlags2$inboundSchema)), ]); - /** @internal */ export type CancelDeploymentFlags$Outbound = | CancelDeploymentFlags1$Outbound @@ -8482,19 +6610,6 @@ export const CancelDeploymentFlags$outboundSchema: z.ZodType< 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 { @@ -8502,7 +6617,6 @@ export function cancelDeploymentFlagsToJSON( CancelDeploymentFlags$outboundSchema.parse(cancelDeploymentFlags), ); } - export function cancelDeploymentFlagsFromJSON( jsonString: string, ): SafeParseResult { @@ -8524,7 +6638,6 @@ export const MicrofrontendsApplications$inboundSchema: z.ZodType< deploymentAlias: z.string().optional(), deploymentHost: z.string().optional(), }); - /** @internal */ export type MicrofrontendsApplications$Outbound = { isDefaultApp?: boolean | undefined; @@ -8545,19 +6658,6 @@ export const MicrofrontendsApplications$outboundSchema: z.ZodType< 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 { @@ -8565,7 +6665,6 @@ export function microfrontendsApplicationsToJSON( MicrofrontendsApplications$outboundSchema.parse(microfrontendsApplications), ); } - export function microfrontendsApplicationsFromJSON( jsonString: string, ): SafeParseResult { @@ -8580,24 +6679,11 @@ export function microfrontendsApplicationsFromJSON( export const MicrofrontendsMfeConfigUploadState$inboundSchema: z.ZodNativeEnum< typeof MicrofrontendsMfeConfigUploadState > = z.nativeEnum(MicrofrontendsMfeConfigUploadState); - /** @internal */ export const MicrofrontendsMfeConfigUploadState$outboundSchema: z.ZodNativeEnum< typeof MicrofrontendsMfeConfigUploadState > = MicrofrontendsMfeConfigUploadState$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace MicrofrontendsMfeConfigUploadState$ { - /** @deprecated use `MicrofrontendsMfeConfigUploadState$inboundSchema` instead. */ - export const inboundSchema = MicrofrontendsMfeConfigUploadState$inboundSchema; - /** @deprecated use `MicrofrontendsMfeConfigUploadState$outboundSchema` instead. */ - export const outboundSchema = - MicrofrontendsMfeConfigUploadState$outboundSchema; -} - /** @internal */ export const CancelDeploymentMicrofrontends2$inboundSchema: z.ZodType< CancelDeploymentMicrofrontends2, @@ -8612,10 +6698,7 @@ export const CancelDeploymentMicrofrontends2$inboundSchema: z.ZodType< defaultAppProjectName: z.string(), defaultRoute: z.string().optional(), groupIds: z.array(z.string()), - microfrontendsAlias2Enabled: z.boolean().optional(), - microfrontendsAliasRoutingVercelSiteProdTestHost: z.boolean().optional(), }); - /** @internal */ export type CancelDeploymentMicrofrontends2$Outbound = { isDefaultApp: boolean; @@ -8626,8 +6709,6 @@ export type CancelDeploymentMicrofrontends2$Outbound = { defaultAppProjectName: string; defaultRoute?: string | undefined; groupIds: Array; - microfrontendsAlias2Enabled?: boolean | undefined; - microfrontendsAliasRoutingVercelSiteProdTestHost?: boolean | undefined; }; /** @internal */ @@ -8645,23 +6726,8 @@ export const CancelDeploymentMicrofrontends2$outboundSchema: z.ZodType< defaultAppProjectName: z.string(), defaultRoute: z.string().optional(), groupIds: z.array(z.string()), - microfrontendsAlias2Enabled: z.boolean().optional(), - microfrontendsAliasRoutingVercelSiteProdTestHost: 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 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 { @@ -8671,7 +6737,6 @@ export function cancelDeploymentMicrofrontends2ToJSON( ), ); } - export function cancelDeploymentMicrofrontends2FromJSON( jsonString: string, ): SafeParseResult { @@ -8692,18 +6757,13 @@ export const CancelDeploymentMicrofrontends1$inboundSchema: z.ZodType< defaultAppProjectName: z.string(), defaultRoute: z.string().optional(), groupIds: z.array(z.string()), - microfrontendsAlias2Enabled: z.boolean().optional(), - microfrontendsAliasRoutingVercelSiteProdTestHost: z.boolean().optional(), }); - /** @internal */ export type CancelDeploymentMicrofrontends1$Outbound = { isDefaultApp?: boolean | undefined; defaultAppProjectName: string; defaultRoute?: string | undefined; groupIds: Array; - microfrontendsAlias2Enabled?: boolean | undefined; - microfrontendsAliasRoutingVercelSiteProdTestHost?: boolean | undefined; }; /** @internal */ @@ -8716,23 +6776,8 @@ export const CancelDeploymentMicrofrontends1$outboundSchema: z.ZodType< defaultAppProjectName: z.string(), defaultRoute: z.string().optional(), groupIds: z.array(z.string()), - microfrontendsAlias2Enabled: z.boolean().optional(), - microfrontendsAliasRoutingVercelSiteProdTestHost: 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 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 { @@ -8742,7 +6787,6 @@ export function cancelDeploymentMicrofrontends1ToJSON( ), ); } - export function cancelDeploymentMicrofrontends1FromJSON( jsonString: string, ): SafeParseResult { @@ -8762,7 +6806,6 @@ export const CancelDeploymentMicrofrontends$inboundSchema: z.ZodType< z.lazy(() => CancelDeploymentMicrofrontends2$inboundSchema), z.lazy(() => CancelDeploymentMicrofrontends1$inboundSchema), ]); - /** @internal */ export type CancelDeploymentMicrofrontends$Outbound = | CancelDeploymentMicrofrontends2$Outbound @@ -8778,19 +6821,6 @@ export const CancelDeploymentMicrofrontends$outboundSchema: z.ZodType< z.lazy(() => CancelDeploymentMicrofrontends1$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 { @@ -8800,7 +6830,6 @@ export function cancelDeploymentMicrofrontendsToJSON( ), ); } - export function cancelDeploymentMicrofrontendsFromJSON( jsonString: string, ): SafeParseResult { @@ -8815,45 +6844,20 @@ export function cancelDeploymentMicrofrontendsFromJSON( export const CancelDeploymentFunctionType$inboundSchema: z.ZodNativeEnum< typeof CancelDeploymentFunctionType > = z.nativeEnum(CancelDeploymentFunctionType); - /** @internal */ export const CancelDeploymentFunctionType$outboundSchema: z.ZodNativeEnum< typeof CancelDeploymentFunctionType > = CancelDeploymentFunctionType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentFunctionType$ { - /** @deprecated use `CancelDeploymentFunctionType$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentFunctionType$inboundSchema; - /** @deprecated use `CancelDeploymentFunctionType$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentFunctionType$outboundSchema; -} - /** @internal */ export const CancelDeploymentFunctionMemoryType$inboundSchema: z.ZodNativeEnum< typeof CancelDeploymentFunctionMemoryType > = z.nativeEnum(CancelDeploymentFunctionMemoryType); - /** @internal */ export const CancelDeploymentFunctionMemoryType$outboundSchema: z.ZodNativeEnum< typeof CancelDeploymentFunctionMemoryType > = CancelDeploymentFunctionMemoryType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentFunctionMemoryType$ { - /** @deprecated use `CancelDeploymentFunctionMemoryType$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentFunctionMemoryType$inboundSchema; - /** @deprecated use `CancelDeploymentFunctionMemoryType$outboundSchema` instead. */ - export const outboundSchema = - CancelDeploymentFunctionMemoryType$outboundSchema; -} - /** @internal */ export const CancelDeploymentConfig$inboundSchema: z.ZodType< CancelDeploymentConfig, @@ -8868,7 +6872,6 @@ export const CancelDeploymentConfig$inboundSchema: z.ZodType< secureComputeFallbackRegion: z.nullable(z.string()), isUsingActiveCPU: z.boolean().optional(), }); - /** @internal */ export type CancelDeploymentConfig$Outbound = { version?: number | undefined; @@ -8895,19 +6898,6 @@ export const CancelDeploymentConfig$outboundSchema: z.ZodType< isUsingActiveCPU: 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 CancelDeploymentConfig$ { - /** @deprecated use `CancelDeploymentConfig$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentConfig$inboundSchema; - /** @deprecated use `CancelDeploymentConfig$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentConfig$outboundSchema; - /** @deprecated use `CancelDeploymentConfig$Outbound` instead. */ - export type Outbound = CancelDeploymentConfig$Outbound; -} - export function cancelDeploymentConfigToJSON( cancelDeploymentConfig: CancelDeploymentConfig, ): string { @@ -8915,7 +6905,6 @@ export function cancelDeploymentConfigToJSON( CancelDeploymentConfig$outboundSchema.parse(cancelDeploymentConfig), ); } - export function cancelDeploymentConfigFromJSON( jsonString: string, ): SafeParseResult { @@ -8930,23 +6919,11 @@ export function cancelDeploymentConfigFromJSON( export const CancelDeploymentState$inboundSchema: z.ZodNativeEnum< typeof CancelDeploymentState > = z.nativeEnum(CancelDeploymentState); - /** @internal */ export const CancelDeploymentState$outboundSchema: z.ZodNativeEnum< typeof CancelDeploymentState > = CancelDeploymentState$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentState$ { - /** @deprecated use `CancelDeploymentState$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentState$inboundSchema; - /** @deprecated use `CancelDeploymentState$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentState$outboundSchema; -} - /** @internal */ export const CancelDeploymentDeploymentAlias$inboundSchema: z.ZodType< CancelDeploymentDeploymentAlias, @@ -8957,7 +6934,6 @@ export const CancelDeploymentDeploymentAlias$inboundSchema: z.ZodType< startedAt: z.number(), completedAt: z.number().optional(), }); - /** @internal */ export type CancelDeploymentDeploymentAlias$Outbound = { state: string; @@ -8976,19 +6952,6 @@ export const CancelDeploymentDeploymentAlias$outboundSchema: z.ZodType< completedAt: 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 CancelDeploymentDeploymentAlias$ { - /** @deprecated use `CancelDeploymentDeploymentAlias$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentDeploymentAlias$inboundSchema; - /** @deprecated use `CancelDeploymentDeploymentAlias$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentDeploymentAlias$outboundSchema; - /** @deprecated use `CancelDeploymentDeploymentAlias$Outbound` instead. */ - export type Outbound = CancelDeploymentDeploymentAlias$Outbound; -} - export function cancelDeploymentDeploymentAliasToJSON( cancelDeploymentDeploymentAlias: CancelDeploymentDeploymentAlias, ): string { @@ -8998,7 +6961,6 @@ export function cancelDeploymentDeploymentAliasToJSON( ), ); } - export function cancelDeploymentDeploymentAliasFromJSON( jsonString: string, ): SafeParseResult { @@ -9023,7 +6985,6 @@ export const CancelDeploymentChecks$inboundSchema: z.ZodType< "deployment-alias": "deploymentAlias", }); }); - /** @internal */ export type CancelDeploymentChecks$Outbound = { "deployment-alias": CancelDeploymentDeploymentAlias$Outbound; @@ -9042,19 +7003,6 @@ export const CancelDeploymentChecks$outboundSchema: z.ZodType< }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CancelDeploymentChecks$ { - /** @deprecated use `CancelDeploymentChecks$inboundSchema` instead. */ - export const inboundSchema = CancelDeploymentChecks$inboundSchema; - /** @deprecated use `CancelDeploymentChecks$outboundSchema` instead. */ - export const outboundSchema = CancelDeploymentChecks$outboundSchema; - /** @deprecated use `CancelDeploymentChecks$Outbound` instead. */ - export type Outbound = CancelDeploymentChecks$Outbound; -} - export function cancelDeploymentChecksToJSON( cancelDeploymentChecks: CancelDeploymentChecks, ): string { @@ -9062,7 +7010,6 @@ export function cancelDeploymentChecksToJSON( CancelDeploymentChecks$outboundSchema.parse(cancelDeploymentChecks), ); } - export function cancelDeploymentChecksFromJSON( jsonString: string, ): SafeParseResult { @@ -9211,7 +7158,6 @@ export const CancelDeploymentResponseBody$inboundSchema: z.ZodType< config: z.lazy(() => CancelDeploymentConfig$inboundSchema).optional(), checks: z.lazy(() => CancelDeploymentChecks$inboundSchema).optional(), }); - /** @internal */ export type CancelDeploymentResponseBody$Outbound = { aliasAssignedAt?: number | boolean | null | undefined; @@ -9478,19 +7424,6 @@ export const CancelDeploymentResponseBody$outboundSchema: z.ZodType< checks: z.lazy(() => CancelDeploymentChecks$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 { @@ -9500,7 +7433,6 @@ export function cancelDeploymentResponseBodyToJSON( ), ); } - export function cancelDeploymentResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/checkdomainpriceop.ts b/src/models/checkdomainpriceop.ts index 4648cbed1..2f2429a26 100644 --- a/src/models/checkdomainpriceop.ts +++ b/src/models/checkdomainpriceop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; @@ -59,23 +59,11 @@ export type CheckDomainPriceResponseBody = { 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, @@ -87,7 +75,6 @@ export const CheckDomainPriceRequest$inboundSchema: z.ZodType< teamId: z.string().optional(), slug: z.string().optional(), }); - /** @internal */ export type CheckDomainPriceRequest$Outbound = { name: string; @@ -108,19 +95,6 @@ export const CheckDomainPriceRequest$outboundSchema: z.ZodType< 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 { @@ -128,7 +102,6 @@ export function checkDomainPriceRequestToJSON( CheckDomainPriceRequest$outboundSchema.parse(checkDomainPriceRequest), ); } - export function checkDomainPriceRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -148,7 +121,6 @@ export const CheckDomainPriceResponseBody$inboundSchema: z.ZodType< price: z.number(), period: z.number(), }); - /** @internal */ export type CheckDomainPriceResponseBody$Outbound = { price: number; @@ -165,19 +137,6 @@ export const CheckDomainPriceResponseBody$outboundSchema: z.ZodType< period: 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 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 { @@ -187,7 +146,6 @@ export function checkDomainPriceResponseBodyToJSON( ), ); } - export function checkDomainPriceResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/checkdomainstatusop.ts b/src/models/checkdomainstatusop.ts index a38007401..d750774a2 100644 --- a/src/models/checkdomainstatusop.ts +++ b/src/models/checkdomainstatusop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -39,7 +39,6 @@ export const CheckDomainStatusRequest$inboundSchema: z.ZodType< teamId: z.string().optional(), slug: z.string().optional(), }); - /** @internal */ export type CheckDomainStatusRequest$Outbound = { name: string; @@ -58,19 +57,6 @@ export const CheckDomainStatusRequest$outboundSchema: z.ZodType< 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 { @@ -78,7 +64,6 @@ export function checkDomainStatusRequestToJSON( CheckDomainStatusRequest$outboundSchema.parse(checkDomainStatusRequest), ); } - export function checkDomainStatusRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -97,7 +82,6 @@ export const CheckDomainStatusResponseBody$inboundSchema: z.ZodType< > = z.object({ available: z.boolean(), }); - /** @internal */ export type CheckDomainStatusResponseBody$Outbound = { available: boolean; @@ -112,19 +96,6 @@ export const CheckDomainStatusResponseBody$outboundSchema: z.ZodType< 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 { @@ -134,7 +105,6 @@ export function checkDomainStatusResponseBodyToJSON( ), ); } - export function checkDomainStatusResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/completerollingreleaseop.ts b/src/models/completerollingreleaseop.ts index bb6a78a13..e3b24c906 100644 --- a/src/models/completerollingreleaseop.ts +++ b/src/models/completerollingreleaseop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; @@ -47,14 +47,23 @@ export type CompleteRollingReleaseState = ClosedEnum< typeof CompleteRollingReleaseState >; +/** + * If defined, either `staging` if a staging alias in the format `..now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment. + */ export const CompleteRollingReleaseTarget = { Staging: "staging", Production: "production", } as const; +/** + * If defined, either `staging` if a staging alias in the format `..now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment. + */ export type CompleteRollingReleaseTarget = ClosedEnum< typeof CompleteRollingReleaseTarget >; +/** + * Where was the deployment created from + */ export const CompleteRollingReleaseSource = { ApiTriggerGitDeploy: "api-trigger-git-deploy", Cli: "cli", @@ -65,10 +74,16 @@ export const CompleteRollingReleaseSource = { Redeploy: "redeploy", V0Web: "v0-web", } as const; +/** + * Where was the deployment created from + */ export type CompleteRollingReleaseSource = ClosedEnum< typeof CompleteRollingReleaseSource >; +/** + * The state of the deployment depending on the process of deploying, or if it is ready or in an error state + */ export const CompleteRollingReleaseReadyState = { Building: "BUILDING", Error: "ERROR", @@ -77,6 +92,9 @@ export const CompleteRollingReleaseReadyState = { Ready: "READY", Canceled: "CANCELED", } as const; +/** + * The state of the deployment depending on the process of deploying, or if it is ready or in an error state + */ export type CompleteRollingReleaseReadyState = ClosedEnum< typeof CompleteRollingReleaseReadyState >; @@ -85,24 +103,54 @@ export type CompleteRollingReleaseReadyState = ClosedEnum< * The current deployment receiving production traffic */ export type CompleteRollingReleaseCurrentDeployment = { + /** + * A string holding the unique ID of the deployment + */ id: string; + /** + * The name of the project associated with the deployment at the time that the deployment was created + */ name: string; + /** + * A string with the unique URL of the deployment + */ url: string; + /** + * If defined, either `staging` if a staging alias in the format `..now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment. + */ target?: CompleteRollingReleaseTarget | null | undefined; + /** + * Where was the deployment created from + */ source?: CompleteRollingReleaseSource | undefined; + /** + * A number containing the date when the deployment was created in milliseconds + */ createdAt: number; + /** + * The state of the deployment depending on the process of deploying, or if it is ready or in an error state + */ readyState: CompleteRollingReleaseReadyState; readyStateAt?: number | undefined; }; +/** + * If defined, either `staging` if a staging alias in the format `..now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment. + */ export const CompleteRollingReleaseRollingReleaseTarget = { Staging: "staging", Production: "production", } as const; +/** + * If defined, either `staging` if a staging alias in the format `..now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment. + */ export type CompleteRollingReleaseRollingReleaseTarget = ClosedEnum< typeof CompleteRollingReleaseRollingReleaseTarget >; +/** + * Where was the deployment created from + */ export const CompleteRollingReleaseRollingReleaseSource = { ApiTriggerGitDeploy: "api-trigger-git-deploy", Cli: "cli", @@ -113,10 +161,16 @@ export const CompleteRollingReleaseRollingReleaseSource = { Redeploy: "redeploy", V0Web: "v0-web", } as const; +/** + * Where was the deployment created from + */ export type CompleteRollingReleaseRollingReleaseSource = ClosedEnum< typeof CompleteRollingReleaseRollingReleaseSource >; +/** + * The state of the deployment depending on the process of deploying, or if it is ready or in an error state + */ export const CompleteRollingReleaseRollingReleaseReadyState = { Building: "BUILDING", Error: "ERROR", @@ -125,6 +179,9 @@ export const CompleteRollingReleaseRollingReleaseReadyState = { Ready: "READY", Canceled: "CANCELED", } as const; +/** + * The state of the deployment depending on the process of deploying, or if it is ready or in an error state + */ export type CompleteRollingReleaseRollingReleaseReadyState = ClosedEnum< typeof CompleteRollingReleaseRollingReleaseReadyState >; @@ -133,12 +190,33 @@ export type CompleteRollingReleaseRollingReleaseReadyState = ClosedEnum< * The canary deployment being rolled out */ export type CompleteRollingReleaseCanaryDeployment = { + /** + * A string holding the unique ID of the deployment + */ id: string; + /** + * The name of the project associated with the deployment at the time that the deployment was created + */ name: string; + /** + * A string with the unique URL of the deployment + */ url: string; + /** + * If defined, either `staging` if a staging alias in the format `..now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment. + */ target?: CompleteRollingReleaseRollingReleaseTarget | null | undefined; + /** + * Where was the deployment created from + */ source?: CompleteRollingReleaseRollingReleaseSource | undefined; + /** + * A number containing the date when the deployment was created in milliseconds + */ createdAt: number; + /** + * The state of the deployment depending on the process of deploying, or if it is ready or in an error state + */ readyState: CompleteRollingReleaseRollingReleaseReadyState; readyStateAt?: number | undefined; }; @@ -311,7 +389,6 @@ export const CompleteRollingReleaseRequestBody$inboundSchema: z.ZodType< > = z.object({ canaryDeploymentId: z.string(), }); - /** @internal */ export type CompleteRollingReleaseRequestBody$Outbound = { canaryDeploymentId: string; @@ -326,20 +403,6 @@ export const CompleteRollingReleaseRequestBody$outboundSchema: z.ZodType< canaryDeploymentId: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CompleteRollingReleaseRequestBody$ { - /** @deprecated use `CompleteRollingReleaseRequestBody$inboundSchema` instead. */ - export const inboundSchema = CompleteRollingReleaseRequestBody$inboundSchema; - /** @deprecated use `CompleteRollingReleaseRequestBody$outboundSchema` instead. */ - export const outboundSchema = - CompleteRollingReleaseRequestBody$outboundSchema; - /** @deprecated use `CompleteRollingReleaseRequestBody$Outbound` instead. */ - export type Outbound = CompleteRollingReleaseRequestBody$Outbound; -} - export function completeRollingReleaseRequestBodyToJSON( completeRollingReleaseRequestBody: CompleteRollingReleaseRequestBody, ): string { @@ -349,7 +412,6 @@ export function completeRollingReleaseRequestBodyToJSON( ), ); } - export function completeRollingReleaseRequestBodyFromJSON( jsonString: string, ): SafeParseResult { @@ -376,7 +438,6 @@ export const CompleteRollingReleaseRequest$inboundSchema: z.ZodType< "RequestBody": "requestBody", }); }); - /** @internal */ export type CompleteRollingReleaseRequest$Outbound = { idOrName: string; @@ -402,19 +463,6 @@ export const CompleteRollingReleaseRequest$outboundSchema: z.ZodType< }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CompleteRollingReleaseRequest$ { - /** @deprecated use `CompleteRollingReleaseRequest$inboundSchema` instead. */ - export const inboundSchema = CompleteRollingReleaseRequest$inboundSchema; - /** @deprecated use `CompleteRollingReleaseRequest$outboundSchema` instead. */ - export const outboundSchema = CompleteRollingReleaseRequest$outboundSchema; - /** @deprecated use `CompleteRollingReleaseRequest$Outbound` instead. */ - export type Outbound = CompleteRollingReleaseRequest$Outbound; -} - export function completeRollingReleaseRequestToJSON( completeRollingReleaseRequest: CompleteRollingReleaseRequest, ): string { @@ -424,7 +472,6 @@ export function completeRollingReleaseRequestToJSON( ), ); } - export function completeRollingReleaseRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -439,86 +486,38 @@ export function completeRollingReleaseRequestFromJSON( export const CompleteRollingReleaseState$inboundSchema: z.ZodNativeEnum< typeof CompleteRollingReleaseState > = z.nativeEnum(CompleteRollingReleaseState); - /** @internal */ export const CompleteRollingReleaseState$outboundSchema: z.ZodNativeEnum< typeof CompleteRollingReleaseState > = CompleteRollingReleaseState$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CompleteRollingReleaseState$ { - /** @deprecated use `CompleteRollingReleaseState$inboundSchema` instead. */ - export const inboundSchema = CompleteRollingReleaseState$inboundSchema; - /** @deprecated use `CompleteRollingReleaseState$outboundSchema` instead. */ - export const outboundSchema = CompleteRollingReleaseState$outboundSchema; -} - /** @internal */ export const CompleteRollingReleaseTarget$inboundSchema: z.ZodNativeEnum< typeof CompleteRollingReleaseTarget > = z.nativeEnum(CompleteRollingReleaseTarget); - /** @internal */ export const CompleteRollingReleaseTarget$outboundSchema: z.ZodNativeEnum< typeof CompleteRollingReleaseTarget > = CompleteRollingReleaseTarget$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CompleteRollingReleaseTarget$ { - /** @deprecated use `CompleteRollingReleaseTarget$inboundSchema` instead. */ - export const inboundSchema = CompleteRollingReleaseTarget$inboundSchema; - /** @deprecated use `CompleteRollingReleaseTarget$outboundSchema` instead. */ - export const outboundSchema = CompleteRollingReleaseTarget$outboundSchema; -} - /** @internal */ export const CompleteRollingReleaseSource$inboundSchema: z.ZodNativeEnum< typeof CompleteRollingReleaseSource > = z.nativeEnum(CompleteRollingReleaseSource); - /** @internal */ export const CompleteRollingReleaseSource$outboundSchema: z.ZodNativeEnum< typeof CompleteRollingReleaseSource > = CompleteRollingReleaseSource$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CompleteRollingReleaseSource$ { - /** @deprecated use `CompleteRollingReleaseSource$inboundSchema` instead. */ - export const inboundSchema = CompleteRollingReleaseSource$inboundSchema; - /** @deprecated use `CompleteRollingReleaseSource$outboundSchema` instead. */ - export const outboundSchema = CompleteRollingReleaseSource$outboundSchema; -} - /** @internal */ export const CompleteRollingReleaseReadyState$inboundSchema: z.ZodNativeEnum< typeof CompleteRollingReleaseReadyState > = z.nativeEnum(CompleteRollingReleaseReadyState); - /** @internal */ export const CompleteRollingReleaseReadyState$outboundSchema: z.ZodNativeEnum< typeof CompleteRollingReleaseReadyState > = CompleteRollingReleaseReadyState$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CompleteRollingReleaseReadyState$ { - /** @deprecated use `CompleteRollingReleaseReadyState$inboundSchema` instead. */ - export const inboundSchema = CompleteRollingReleaseReadyState$inboundSchema; - /** @deprecated use `CompleteRollingReleaseReadyState$outboundSchema` instead. */ - export const outboundSchema = CompleteRollingReleaseReadyState$outboundSchema; -} - /** @internal */ export const CompleteRollingReleaseCurrentDeployment$inboundSchema: z.ZodType< CompleteRollingReleaseCurrentDeployment, @@ -534,7 +533,6 @@ export const CompleteRollingReleaseCurrentDeployment$inboundSchema: z.ZodType< readyState: CompleteRollingReleaseReadyState$inboundSchema, readyStateAt: z.number().optional(), }); - /** @internal */ export type CompleteRollingReleaseCurrentDeployment$Outbound = { id: string; @@ -563,21 +561,6 @@ export const CompleteRollingReleaseCurrentDeployment$outboundSchema: z.ZodType< readyStateAt: 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 CompleteRollingReleaseCurrentDeployment$ { - /** @deprecated use `CompleteRollingReleaseCurrentDeployment$inboundSchema` instead. */ - export const inboundSchema = - CompleteRollingReleaseCurrentDeployment$inboundSchema; - /** @deprecated use `CompleteRollingReleaseCurrentDeployment$outboundSchema` instead. */ - export const outboundSchema = - CompleteRollingReleaseCurrentDeployment$outboundSchema; - /** @deprecated use `CompleteRollingReleaseCurrentDeployment$Outbound` instead. */ - export type Outbound = CompleteRollingReleaseCurrentDeployment$Outbound; -} - export function completeRollingReleaseCurrentDeploymentToJSON( completeRollingReleaseCurrentDeployment: CompleteRollingReleaseCurrentDeployment, @@ -588,7 +571,6 @@ export function completeRollingReleaseCurrentDeploymentToJSON( ), ); } - export function completeRollingReleaseCurrentDeploymentFromJSON( jsonString: string, ): SafeParseResult< @@ -609,71 +591,29 @@ export function completeRollingReleaseCurrentDeploymentFromJSON( export const CompleteRollingReleaseRollingReleaseTarget$inboundSchema: z.ZodNativeEnum = z .nativeEnum(CompleteRollingReleaseRollingReleaseTarget); - /** @internal */ export const CompleteRollingReleaseRollingReleaseTarget$outboundSchema: z.ZodNativeEnum = CompleteRollingReleaseRollingReleaseTarget$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CompleteRollingReleaseRollingReleaseTarget$ { - /** @deprecated use `CompleteRollingReleaseRollingReleaseTarget$inboundSchema` instead. */ - export const inboundSchema = - CompleteRollingReleaseRollingReleaseTarget$inboundSchema; - /** @deprecated use `CompleteRollingReleaseRollingReleaseTarget$outboundSchema` instead. */ - export const outboundSchema = - CompleteRollingReleaseRollingReleaseTarget$outboundSchema; -} - /** @internal */ export const CompleteRollingReleaseRollingReleaseSource$inboundSchema: z.ZodNativeEnum = z .nativeEnum(CompleteRollingReleaseRollingReleaseSource); - /** @internal */ export const CompleteRollingReleaseRollingReleaseSource$outboundSchema: z.ZodNativeEnum = CompleteRollingReleaseRollingReleaseSource$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CompleteRollingReleaseRollingReleaseSource$ { - /** @deprecated use `CompleteRollingReleaseRollingReleaseSource$inboundSchema` instead. */ - export const inboundSchema = - CompleteRollingReleaseRollingReleaseSource$inboundSchema; - /** @deprecated use `CompleteRollingReleaseRollingReleaseSource$outboundSchema` instead. */ - export const outboundSchema = - CompleteRollingReleaseRollingReleaseSource$outboundSchema; -} - /** @internal */ export const CompleteRollingReleaseRollingReleaseReadyState$inboundSchema: z.ZodNativeEnum = z .nativeEnum(CompleteRollingReleaseRollingReleaseReadyState); - /** @internal */ export const CompleteRollingReleaseRollingReleaseReadyState$outboundSchema: z.ZodNativeEnum = CompleteRollingReleaseRollingReleaseReadyState$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CompleteRollingReleaseRollingReleaseReadyState$ { - /** @deprecated use `CompleteRollingReleaseRollingReleaseReadyState$inboundSchema` instead. */ - export const inboundSchema = - CompleteRollingReleaseRollingReleaseReadyState$inboundSchema; - /** @deprecated use `CompleteRollingReleaseRollingReleaseReadyState$outboundSchema` instead. */ - export const outboundSchema = - CompleteRollingReleaseRollingReleaseReadyState$outboundSchema; -} - /** @internal */ export const CompleteRollingReleaseCanaryDeployment$inboundSchema: z.ZodType< CompleteRollingReleaseCanaryDeployment, @@ -690,7 +630,6 @@ export const CompleteRollingReleaseCanaryDeployment$inboundSchema: z.ZodType< readyState: CompleteRollingReleaseRollingReleaseReadyState$inboundSchema, readyStateAt: z.number().optional(), }); - /** @internal */ export type CompleteRollingReleaseCanaryDeployment$Outbound = { id: string; @@ -720,21 +659,6 @@ export const CompleteRollingReleaseCanaryDeployment$outboundSchema: z.ZodType< readyStateAt: 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 CompleteRollingReleaseCanaryDeployment$ { - /** @deprecated use `CompleteRollingReleaseCanaryDeployment$inboundSchema` instead. */ - export const inboundSchema = - CompleteRollingReleaseCanaryDeployment$inboundSchema; - /** @deprecated use `CompleteRollingReleaseCanaryDeployment$outboundSchema` instead. */ - export const outboundSchema = - CompleteRollingReleaseCanaryDeployment$outboundSchema; - /** @deprecated use `CompleteRollingReleaseCanaryDeployment$Outbound` instead. */ - export type Outbound = CompleteRollingReleaseCanaryDeployment$Outbound; -} - export function completeRollingReleaseCanaryDeploymentToJSON( completeRollingReleaseCanaryDeployment: CompleteRollingReleaseCanaryDeployment, @@ -745,7 +669,6 @@ export function completeRollingReleaseCanaryDeploymentToJSON( ), ); } - export function completeRollingReleaseCanaryDeploymentFromJSON( jsonString: string, ): SafeParseResult { @@ -762,25 +685,11 @@ export const CompleteRollingReleaseAdvancementType$inboundSchema: z.ZodNativeEnum = z.nativeEnum( CompleteRollingReleaseAdvancementType, ); - /** @internal */ export const CompleteRollingReleaseAdvancementType$outboundSchema: z.ZodNativeEnum = CompleteRollingReleaseAdvancementType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CompleteRollingReleaseAdvancementType$ { - /** @deprecated use `CompleteRollingReleaseAdvancementType$inboundSchema` instead. */ - export const inboundSchema = - CompleteRollingReleaseAdvancementType$inboundSchema; - /** @deprecated use `CompleteRollingReleaseAdvancementType$outboundSchema` instead. */ - export const outboundSchema = - CompleteRollingReleaseAdvancementType$outboundSchema; -} - /** @internal */ export const CompleteRollingReleaseStages$inboundSchema: z.ZodType< CompleteRollingReleaseStages, @@ -794,7 +703,6 @@ export const CompleteRollingReleaseStages$inboundSchema: z.ZodType< duration: z.nullable(z.number()), linearShift: z.boolean().optional(), }); - /** @internal */ export type CompleteRollingReleaseStages$Outbound = { index: number; @@ -819,19 +727,6 @@ export const CompleteRollingReleaseStages$outboundSchema: z.ZodType< linearShift: 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 CompleteRollingReleaseStages$ { - /** @deprecated use `CompleteRollingReleaseStages$inboundSchema` instead. */ - export const inboundSchema = CompleteRollingReleaseStages$inboundSchema; - /** @deprecated use `CompleteRollingReleaseStages$outboundSchema` instead. */ - export const outboundSchema = CompleteRollingReleaseStages$outboundSchema; - /** @deprecated use `CompleteRollingReleaseStages$Outbound` instead. */ - export type Outbound = CompleteRollingReleaseStages$Outbound; -} - export function completeRollingReleaseStagesToJSON( completeRollingReleaseStages: CompleteRollingReleaseStages, ): string { @@ -841,7 +736,6 @@ export function completeRollingReleaseStagesToJSON( ), ); } - export function completeRollingReleaseStagesFromJSON( jsonString: string, ): SafeParseResult { @@ -865,7 +759,6 @@ export const CompleteRollingReleaseActiveStage$inboundSchema: z.ZodType< duration: z.nullable(z.number()), linearShift: z.boolean().optional(), }); - /** @internal */ export type CompleteRollingReleaseActiveStage$Outbound = { index: number; @@ -890,20 +783,6 @@ export const CompleteRollingReleaseActiveStage$outboundSchema: z.ZodType< linearShift: 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 CompleteRollingReleaseActiveStage$ { - /** @deprecated use `CompleteRollingReleaseActiveStage$inboundSchema` instead. */ - export const inboundSchema = CompleteRollingReleaseActiveStage$inboundSchema; - /** @deprecated use `CompleteRollingReleaseActiveStage$outboundSchema` instead. */ - export const outboundSchema = - CompleteRollingReleaseActiveStage$outboundSchema; - /** @deprecated use `CompleteRollingReleaseActiveStage$Outbound` instead. */ - export type Outbound = CompleteRollingReleaseActiveStage$Outbound; -} - export function completeRollingReleaseActiveStageToJSON( completeRollingReleaseActiveStage: CompleteRollingReleaseActiveStage, ): string { @@ -913,7 +792,6 @@ export function completeRollingReleaseActiveStageToJSON( ), ); } - export function completeRollingReleaseActiveStageFromJSON( jsonString: string, ): SafeParseResult { @@ -937,7 +815,6 @@ export const CompleteRollingReleaseNextStage$inboundSchema: z.ZodType< duration: z.nullable(z.number()), linearShift: z.boolean().optional(), }); - /** @internal */ export type CompleteRollingReleaseNextStage$Outbound = { index: number; @@ -962,19 +839,6 @@ export const CompleteRollingReleaseNextStage$outboundSchema: z.ZodType< linearShift: 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 CompleteRollingReleaseNextStage$ { - /** @deprecated use `CompleteRollingReleaseNextStage$inboundSchema` instead. */ - export const inboundSchema = CompleteRollingReleaseNextStage$inboundSchema; - /** @deprecated use `CompleteRollingReleaseNextStage$outboundSchema` instead. */ - export const outboundSchema = CompleteRollingReleaseNextStage$outboundSchema; - /** @deprecated use `CompleteRollingReleaseNextStage$Outbound` instead. */ - export type Outbound = CompleteRollingReleaseNextStage$Outbound; -} - export function completeRollingReleaseNextStageToJSON( completeRollingReleaseNextStage: CompleteRollingReleaseNextStage, ): string { @@ -984,7 +848,6 @@ export function completeRollingReleaseNextStageToJSON( ), ); } - export function completeRollingReleaseNextStageFromJSON( jsonString: string, ): SafeParseResult { @@ -1020,7 +883,6 @@ export const CompleteRollingReleaseRollingRelease$inboundSchema: z.ZodType< startedAt: z.number(), updatedAt: z.number(), }); - /** @internal */ export type CompleteRollingReleaseRollingRelease$Outbound = { state: string; @@ -1061,21 +923,6 @@ export const CompleteRollingReleaseRollingRelease$outboundSchema: z.ZodType< 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 CompleteRollingReleaseRollingRelease$ { - /** @deprecated use `CompleteRollingReleaseRollingRelease$inboundSchema` instead. */ - export const inboundSchema = - CompleteRollingReleaseRollingRelease$inboundSchema; - /** @deprecated use `CompleteRollingReleaseRollingRelease$outboundSchema` instead. */ - export const outboundSchema = - CompleteRollingReleaseRollingRelease$outboundSchema; - /** @deprecated use `CompleteRollingReleaseRollingRelease$Outbound` instead. */ - export type Outbound = CompleteRollingReleaseRollingRelease$Outbound; -} - export function completeRollingReleaseRollingReleaseToJSON( completeRollingReleaseRollingRelease: CompleteRollingReleaseRollingRelease, ): string { @@ -1085,7 +932,6 @@ export function completeRollingReleaseRollingReleaseToJSON( ), ); } - export function completeRollingReleaseRollingReleaseFromJSON( jsonString: string, ): SafeParseResult { @@ -1107,7 +953,6 @@ export const CompleteRollingReleaseResponseBody$inboundSchema: z.ZodType< z.lazy(() => CompleteRollingReleaseRollingRelease$inboundSchema), ), }); - /** @internal */ export type CompleteRollingReleaseResponseBody$Outbound = { rollingRelease: CompleteRollingReleaseRollingRelease$Outbound | null; @@ -1124,20 +969,6 @@ export const CompleteRollingReleaseResponseBody$outboundSchema: z.ZodType< ), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CompleteRollingReleaseResponseBody$ { - /** @deprecated use `CompleteRollingReleaseResponseBody$inboundSchema` instead. */ - export const inboundSchema = CompleteRollingReleaseResponseBody$inboundSchema; - /** @deprecated use `CompleteRollingReleaseResponseBody$outboundSchema` instead. */ - export const outboundSchema = - CompleteRollingReleaseResponseBody$outboundSchema; - /** @deprecated use `CompleteRollingReleaseResponseBody$Outbound` instead. */ - export type Outbound = CompleteRollingReleaseResponseBody$Outbound; -} - export function completeRollingReleaseResponseBodyToJSON( completeRollingReleaseResponseBody: CompleteRollingReleaseResponseBody, ): string { @@ -1147,7 +978,6 @@ export function completeRollingReleaseResponseBodyToJSON( ), ); } - export function completeRollingReleaseResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/connectintegrationresourcetoprojectop.ts b/src/models/connectintegrationresourcetoprojectop.ts index b6b86f4fd..3f1f78e5b 100644 --- a/src/models/connectintegrationresourcetoprojectop.ts +++ b/src/models/connectintegrationresourcetoprojectop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; @@ -35,7 +35,6 @@ export const ConnectIntegrationResourceToProjectRequestBody$inboundSchema: > = z.object({ projectId: z.string(), }); - /** @internal */ export type ConnectIntegrationResourceToProjectRequestBody$Outbound = { projectId: string; @@ -51,22 +50,6 @@ export const ConnectIntegrationResourceToProjectRequestBody$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 ConnectIntegrationResourceToProjectRequestBody$ { - /** @deprecated use `ConnectIntegrationResourceToProjectRequestBody$inboundSchema` instead. */ - export const inboundSchema = - ConnectIntegrationResourceToProjectRequestBody$inboundSchema; - /** @deprecated use `ConnectIntegrationResourceToProjectRequestBody$outboundSchema` instead. */ - export const outboundSchema = - ConnectIntegrationResourceToProjectRequestBody$outboundSchema; - /** @deprecated use `ConnectIntegrationResourceToProjectRequestBody$Outbound` instead. */ - export type Outbound = - ConnectIntegrationResourceToProjectRequestBody$Outbound; -} - export function connectIntegrationResourceToProjectRequestBodyToJSON( connectIntegrationResourceToProjectRequestBody: ConnectIntegrationResourceToProjectRequestBody, @@ -77,7 +60,6 @@ export function connectIntegrationResourceToProjectRequestBodyToJSON( ), ); } - export function connectIntegrationResourceToProjectRequestBodyFromJSON( jsonString: string, ): SafeParseResult< @@ -110,7 +92,6 @@ export const ConnectIntegrationResourceToProjectRequest$inboundSchema: "RequestBody": "requestBody", }); }); - /** @internal */ export type ConnectIntegrationResourceToProjectRequest$Outbound = { integrationConfigurationId: string; @@ -142,21 +123,6 @@ export const ConnectIntegrationResourceToProjectRequest$outboundSchema: }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ConnectIntegrationResourceToProjectRequest$ { - /** @deprecated use `ConnectIntegrationResourceToProjectRequest$inboundSchema` instead. */ - export const inboundSchema = - ConnectIntegrationResourceToProjectRequest$inboundSchema; - /** @deprecated use `ConnectIntegrationResourceToProjectRequest$outboundSchema` instead. */ - export const outboundSchema = - ConnectIntegrationResourceToProjectRequest$outboundSchema; - /** @deprecated use `ConnectIntegrationResourceToProjectRequest$Outbound` instead. */ - export type Outbound = ConnectIntegrationResourceToProjectRequest$Outbound; -} - export function connectIntegrationResourceToProjectRequestToJSON( connectIntegrationResourceToProjectRequest: ConnectIntegrationResourceToProjectRequest, @@ -167,7 +133,6 @@ export function connectIntegrationResourceToProjectRequestToJSON( ), ); } - export function connectIntegrationResourceToProjectRequestFromJSON( jsonString: string, ): SafeParseResult< diff --git a/src/models/createaccessgroupop.ts b/src/models/createaccessgroupop.ts index db8142069..cf0ecbcf7 100644 --- a/src/models/createaccessgroupop.ts +++ b/src/models/createaccessgroupop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; @@ -102,23 +102,11 @@ export type CreateAccessGroupResponseBody = { 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, @@ -128,7 +116,6 @@ export const CreateAccessGroupProjects$inboundSchema: z.ZodType< projectId: z.string(), role: z.nullable(CreateAccessGroupRole$inboundSchema), }); - /** @internal */ export type CreateAccessGroupProjects$Outbound = { projectId: string; @@ -145,19 +132,6 @@ export const CreateAccessGroupProjects$outboundSchema: z.ZodType< 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 { @@ -165,7 +139,6 @@ export function createAccessGroupProjectsToJSON( CreateAccessGroupProjects$outboundSchema.parse(createAccessGroupProjects), ); } - export function createAccessGroupProjectsFromJSON( jsonString: string, ): SafeParseResult { @@ -187,7 +160,6 @@ export const CreateAccessGroupRequestBody$inboundSchema: z.ZodType< .optional(), membersToAdd: z.array(z.string()).optional(), }); - /** @internal */ export type CreateAccessGroupRequestBody$Outbound = { name: string; @@ -207,19 +179,6 @@ export const CreateAccessGroupRequestBody$outboundSchema: z.ZodType< 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 { @@ -229,7 +188,6 @@ export function createAccessGroupRequestBodyToJSON( ), ); } - export function createAccessGroupRequestBodyFromJSON( jsonString: string, ): SafeParseResult { @@ -254,7 +212,6 @@ export const CreateAccessGroupRequest$inboundSchema: z.ZodType< "RequestBody": "requestBody", }); }); - /** @internal */ export type CreateAccessGroupRequest$Outbound = { teamId?: string | undefined; @@ -277,19 +234,6 @@ export const CreateAccessGroupRequest$outboundSchema: z.ZodType< }); }); -/** - * @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 { @@ -297,7 +241,6 @@ export function createAccessGroupRequestToJSON( CreateAccessGroupRequest$outboundSchema.parse(createAccessGroupRequest), ); } - export function createAccessGroupRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -312,23 +255,11 @@ export function createAccessGroupRequestFromJSON( export const CreateAccessGroupEntitlements$inboundSchema: z.ZodNativeEnum< typeof CreateAccessGroupEntitlements > = z.nativeEnum(CreateAccessGroupEntitlements); - /** @internal */ export const CreateAccessGroupEntitlements$outboundSchema: z.ZodNativeEnum< typeof CreateAccessGroupEntitlements > = CreateAccessGroupEntitlements$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateAccessGroupEntitlements$ { - /** @deprecated use `CreateAccessGroupEntitlements$inboundSchema` instead. */ - export const inboundSchema = CreateAccessGroupEntitlements$inboundSchema; - /** @deprecated use `CreateAccessGroupEntitlements$outboundSchema` instead. */ - export const outboundSchema = CreateAccessGroupEntitlements$outboundSchema; -} - /** @internal */ export const CreateAccessGroupResponseBody$inboundSchema: z.ZodType< CreateAccessGroupResponseBody, @@ -346,7 +277,6 @@ export const CreateAccessGroupResponseBody$inboundSchema: z.ZodType< teamRoles: z.array(z.string()).optional(), teamPermissions: z.array(z.string()).optional(), }); - /** @internal */ export type CreateAccessGroupResponseBody$Outbound = { entitlements: Array; @@ -379,19 +309,6 @@ export const CreateAccessGroupResponseBody$outboundSchema: z.ZodType< teamPermissions: 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 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 { @@ -401,7 +318,6 @@ export function createAccessGroupResponseBodyToJSON( ), ); } - export function createAccessGroupResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/createaccessgroupprojectop.ts b/src/models/createaccessgroupprojectop.ts index 1f6c87c83..e05d7702f 100644 --- a/src/models/createaccessgroupprojectop.ts +++ b/src/models/createaccessgroupprojectop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; @@ -70,23 +70,11 @@ export type CreateAccessGroupProjectResponseBody = { 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, @@ -96,7 +84,6 @@ export const CreateAccessGroupProjectRequestBody$inboundSchema: z.ZodType< projectId: z.string(), role: CreateAccessGroupProjectRole$inboundSchema, }); - /** @internal */ export type CreateAccessGroupProjectRequestBody$Outbound = { projectId: string; @@ -113,21 +100,6 @@ export const CreateAccessGroupProjectRequestBody$outboundSchema: z.ZodType< 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 { @@ -137,7 +109,6 @@ export function createAccessGroupProjectRequestBodyToJSON( ), ); } - export function createAccessGroupProjectRequestBodyFromJSON( jsonString: string, ): SafeParseResult { @@ -164,7 +135,6 @@ export const CreateAccessGroupProjectRequest$inboundSchema: z.ZodType< "RequestBody": "requestBody", }); }); - /** @internal */ export type CreateAccessGroupProjectRequest$Outbound = { accessGroupIdOrName: string; @@ -189,19 +159,6 @@ export const CreateAccessGroupProjectRequest$outboundSchema: z.ZodType< }); }); -/** - * @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 { @@ -211,7 +168,6 @@ export function createAccessGroupProjectRequestToJSON( ), ); } - export function createAccessGroupProjectRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -226,25 +182,11 @@ export function createAccessGroupProjectRequestFromJSON( 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, @@ -258,7 +200,6 @@ export const CreateAccessGroupProjectResponseBody$inboundSchema: z.ZodType< createdAt: z.string(), updatedAt: z.string(), }); - /** @internal */ export type CreateAccessGroupProjectResponseBody$Outbound = { teamId: string; @@ -283,21 +224,6 @@ export const CreateAccessGroupProjectResponseBody$outboundSchema: z.ZodType< 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 { @@ -307,7 +233,6 @@ export function createAccessGroupProjectResponseBodyToJSON( ), ); } - export function createAccessGroupProjectResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/createauthtokenop.ts b/src/models/createauthtokenop.ts index 65356dba1..a17a294e4 100644 --- a/src/models/createauthtokenop.ts +++ b/src/models/createauthtokenop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; @@ -54,7 +54,6 @@ export const CreateAuthTokenRequestBody$inboundSchema: z.ZodType< name: z.string(), expiresAt: z.number().optional(), }); - /** @internal */ export type CreateAuthTokenRequestBody$Outbound = { name: string; @@ -71,19 +70,6 @@ export const CreateAuthTokenRequestBody$outboundSchema: z.ZodType< 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 { @@ -91,7 +77,6 @@ export function createAuthTokenRequestBodyToJSON( CreateAuthTokenRequestBody$outboundSchema.parse(createAuthTokenRequestBody), ); } - export function createAuthTokenRequestBodyFromJSON( jsonString: string, ): SafeParseResult { @@ -116,7 +101,6 @@ export const CreateAuthTokenRequest$inboundSchema: z.ZodType< "RequestBody": "requestBody", }); }); - /** @internal */ export type CreateAuthTokenRequest$Outbound = { teamId?: string | undefined; @@ -139,19 +123,6 @@ export const CreateAuthTokenRequest$outboundSchema: z.ZodType< }); }); -/** - * @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 { @@ -159,7 +130,6 @@ export function createAuthTokenRequestToJSON( CreateAuthTokenRequest$outboundSchema.parse(createAuthTokenRequest), ); } - export function createAuthTokenRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -179,7 +149,6 @@ export const CreateAuthTokenResponseBody$inboundSchema: z.ZodType< token: AuthToken$inboundSchema, bearerToken: z.string(), }); - /** @internal */ export type CreateAuthTokenResponseBody$Outbound = { token: AuthToken$Outbound; @@ -196,19 +165,6 @@ export const CreateAuthTokenResponseBody$outboundSchema: z.ZodType< 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 { @@ -218,7 +174,6 @@ export function createAuthTokenResponseBodyToJSON( ), ); } - export function createAuthTokenResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/createcheckop.ts b/src/models/createcheckop.ts index 209a65dfa..6646e2d06 100644 --- a/src/models/createcheckop.ts +++ b/src/models/createcheckop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; @@ -176,7 +176,6 @@ export const CreateCheckRequestBody$inboundSchema: z.ZodType< externalId: z.string().optional(), rerequestable: z.boolean().optional(), }); - /** @internal */ export type CreateCheckRequestBody$Outbound = { name: string; @@ -201,19 +200,6 @@ export const CreateCheckRequestBody$outboundSchema: z.ZodType< 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 { @@ -221,7 +207,6 @@ export function createCheckRequestBodyToJSON( CreateCheckRequestBody$outboundSchema.parse(createCheckRequestBody), ); } - export function createCheckRequestBodyFromJSON( jsonString: string, ): SafeParseResult { @@ -247,7 +232,6 @@ export const CreateCheckRequest$inboundSchema: z.ZodType< "RequestBody": "requestBody", }); }); - /** @internal */ export type CreateCheckRequest$Outbound = { deploymentId: string; @@ -272,19 +256,6 @@ export const CreateCheckRequest$outboundSchema: z.ZodType< }); }); -/** - * @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 { @@ -292,7 +263,6 @@ export function createCheckRequestToJSON( CreateCheckRequest$outboundSchema.parse(createCheckRequest), ); } - export function createCheckRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -307,65 +277,29 @@ export function createCheckRequestFromJSON( 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, @@ -376,7 +310,6 @@ export const CreateCheckFCP$inboundSchema: z.ZodType< previousValue: z.number().optional(), source: CreateCheckSource$inboundSchema, }); - /** @internal */ export type CreateCheckFCP$Outbound = { value: number | null; @@ -395,23 +328,9 @@ export const CreateCheckFCP$outboundSchema: z.ZodType< 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 { @@ -426,23 +345,11 @@ export function createCheckFCPFromJSON( 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, @@ -453,7 +360,6 @@ export const CreateCheckLCP$inboundSchema: z.ZodType< previousValue: z.number().optional(), source: CreateCheckChecksSource$inboundSchema, }); - /** @internal */ export type CreateCheckLCP$Outbound = { value: number | null; @@ -472,23 +378,9 @@ export const CreateCheckLCP$outboundSchema: z.ZodType< 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 { @@ -503,23 +395,11 @@ export function createCheckLCPFromJSON( 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, @@ -530,7 +410,6 @@ export const CreateCheckCLS$inboundSchema: z.ZodType< previousValue: z.number().optional(), source: CreateCheckChecksResponseSource$inboundSchema, }); - /** @internal */ export type CreateCheckCLS$Outbound = { value: number | null; @@ -549,23 +428,9 @@ export const CreateCheckCLS$outboundSchema: z.ZodType< 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 { @@ -580,24 +445,11 @@ export function createCheckCLSFromJSON( 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, @@ -608,7 +460,6 @@ export const CreateCheckTBT$inboundSchema: z.ZodType< previousValue: z.number().optional(), source: CreateCheckChecksResponse200Source$inboundSchema, }); - /** @internal */ export type CreateCheckTBT$Outbound = { value: number | null; @@ -627,23 +478,9 @@ export const CreateCheckTBT$outboundSchema: z.ZodType< 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 { @@ -658,25 +495,11 @@ export function createCheckTBTFromJSON( 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, @@ -687,7 +510,6 @@ export const CreateCheckVirtualExperienceScore$inboundSchema: z.ZodType< previousValue: z.number().optional(), source: CreateCheckChecksResponse200ApplicationJSONSource$inboundSchema, }); - /** @internal */ export type CreateCheckVirtualExperienceScore$Outbound = { value: number | null; @@ -706,20 +528,6 @@ export const CreateCheckVirtualExperienceScore$outboundSchema: z.ZodType< 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 { @@ -729,7 +537,6 @@ export function createCheckVirtualExperienceScoreToJSON( ), ); } - export function createCheckVirtualExperienceScoreFromJSON( jsonString: string, ): SafeParseResult { @@ -761,7 +568,6 @@ export const CreateCheckMetrics$inboundSchema: z.ZodType< "TBT": "tbt", }); }); - /** @internal */ export type CreateCheckMetrics$Outbound = { FCP: CreateCheckFCP$Outbound; @@ -795,19 +601,6 @@ export const CreateCheckMetrics$outboundSchema: z.ZodType< }); }); -/** - * @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 { @@ -815,7 +608,6 @@ export function createCheckMetricsToJSON( CreateCheckMetrics$outboundSchema.parse(createCheckMetrics), ); } - export function createCheckMetricsFromJSON( jsonString: string, ): SafeParseResult { @@ -834,7 +626,6 @@ export const CreateCheckOutput$inboundSchema: z.ZodType< > = z.object({ metrics: z.lazy(() => CreateCheckMetrics$inboundSchema).optional(), }); - /** @internal */ export type CreateCheckOutput$Outbound = { metrics?: CreateCheckMetrics$Outbound | undefined; @@ -849,19 +640,6 @@ export const CreateCheckOutput$outboundSchema: z.ZodType< 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 { @@ -869,7 +647,6 @@ export function createCheckOutputToJSON( CreateCheckOutput$outboundSchema.parse(createCheckOutput), ); } - export function createCheckOutputFromJSON( jsonString: string, ): SafeParseResult { @@ -903,7 +680,6 @@ export const CreateCheckResponseBody$inboundSchema: z.ZodType< completedAt: z.number().optional(), rerequestable: z.boolean().optional(), }); - /** @internal */ export type CreateCheckResponseBody$Outbound = { id: string; @@ -948,19 +724,6 @@ export const CreateCheckResponseBody$outboundSchema: z.ZodType< 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 { @@ -968,7 +731,6 @@ export function createCheckResponseBodyToJSON( CreateCheckResponseBody$outboundSchema.parse(createCheckResponseBody), ); } - export function createCheckResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/createconfigurablelogdrainop.ts b/src/models/createconfigurablelogdrainop.ts new file mode 100644 index 000000000..ebdfb6bec --- /dev/null +++ b/src/models/createconfigurablelogdrainop.ts @@ -0,0 +1,267 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +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", +} 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 CreateConfigurableLogDrainRequestBody = { + /** + * The delivery log format + */ + deliveryFormat: DeliveryFormat; + /** + * 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 type CreateConfigurableLogDrainResponseBody = {}; + +/** @internal */ +export const DeliveryFormat$inboundSchema: z.ZodNativeEnum< + typeof DeliveryFormat +> = z.nativeEnum(DeliveryFormat); +/** @internal */ +export const DeliveryFormat$outboundSchema: z.ZodNativeEnum< + typeof DeliveryFormat +> = DeliveryFormat$inboundSchema; + +/** @internal */ +export const Sources$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(Sources); +/** @internal */ +export const Sources$outboundSchema: z.ZodNativeEnum = + Sources$inboundSchema; + +/** @internal */ +export const Environments$inboundSchema: z.ZodNativeEnum = + z.nativeEnum(Environments); +/** @internal */ +export const Environments$outboundSchema: z.ZodNativeEnum = + Environments$inboundSchema; + +/** @internal */ +export const CreateConfigurableLogDrainRequestBody$inboundSchema: z.ZodType< + CreateConfigurableLogDrainRequestBody, + z.ZodTypeDef, + unknown +> = z.object({ + deliveryFormat: DeliveryFormat$inboundSchema, + url: z.string(), + headers: z.record(z.string()).optional(), + projectIds: z.array(z.string()).optional(), + sources: z.array(Sources$inboundSchema), + environments: z.array(Environments$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: DeliveryFormat$outboundSchema, + url: z.string(), + headers: z.record(z.string()).optional(), + projectIds: z.array(z.string()).optional(), + sources: z.array(Sources$outboundSchema), + environments: z.array(Environments$outboundSchema).optional(), + secret: z.string().optional(), + samplingRate: z.number().optional(), + name: z.string().optional(), +}); + +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", + }); +}); + +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 CreateConfigurableLogDrainResponseBody$inboundSchema: z.ZodType< + CreateConfigurableLogDrainResponseBody, + z.ZodTypeDef, + unknown +> = z.object({}); +/** @internal */ +export type CreateConfigurableLogDrainResponseBody$Outbound = {}; + +/** @internal */ +export const CreateConfigurableLogDrainResponseBody$outboundSchema: z.ZodType< + CreateConfigurableLogDrainResponseBody$Outbound, + z.ZodTypeDef, + CreateConfigurableLogDrainResponseBody +> = z.object({}); + +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/createcustomenvironmentop.ts b/src/models/createcustomenvironmentop.ts index 6125b4ddc..3e6a177d0 100644 --- a/src/models/createcustomenvironmentop.ts +++ b/src/models/createcustomenvironmentop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; @@ -196,23 +196,11 @@ export type CreateCustomEnvironmentResponseBody = { export const CreateCustomEnvironmentType$inboundSchema: z.ZodNativeEnum< typeof CreateCustomEnvironmentType > = z.nativeEnum(CreateCustomEnvironmentType); - /** @internal */ export const CreateCustomEnvironmentType$outboundSchema: z.ZodNativeEnum< typeof CreateCustomEnvironmentType > = CreateCustomEnvironmentType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateCustomEnvironmentType$ { - /** @deprecated use `CreateCustomEnvironmentType$inboundSchema` instead. */ - export const inboundSchema = CreateCustomEnvironmentType$inboundSchema; - /** @deprecated use `CreateCustomEnvironmentType$outboundSchema` instead. */ - export const outboundSchema = CreateCustomEnvironmentType$outboundSchema; -} - /** @internal */ export const BranchMatcher$inboundSchema: z.ZodType< BranchMatcher, @@ -222,7 +210,6 @@ export const BranchMatcher$inboundSchema: z.ZodType< type: CreateCustomEnvironmentType$inboundSchema, pattern: z.string(), }); - /** @internal */ export type BranchMatcher$Outbound = { type: string; @@ -239,23 +226,9 @@ export const BranchMatcher$outboundSchema: z.ZodType< 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 { @@ -277,7 +250,6 @@ export const CreateCustomEnvironmentRequestBody$inboundSchema: z.ZodType< branchMatcher: z.lazy(() => BranchMatcher$inboundSchema).optional(), copyEnvVarsFrom: z.string().optional(), }); - /** @internal */ export type CreateCustomEnvironmentRequestBody$Outbound = { slug?: string | undefined; @@ -298,20 +270,6 @@ export const CreateCustomEnvironmentRequestBody$outboundSchema: z.ZodType< copyEnvVarsFrom: z.string().optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateCustomEnvironmentRequestBody$ { - /** @deprecated use `CreateCustomEnvironmentRequestBody$inboundSchema` instead. */ - export const inboundSchema = CreateCustomEnvironmentRequestBody$inboundSchema; - /** @deprecated use `CreateCustomEnvironmentRequestBody$outboundSchema` instead. */ - export const outboundSchema = - CreateCustomEnvironmentRequestBody$outboundSchema; - /** @deprecated use `CreateCustomEnvironmentRequestBody$Outbound` instead. */ - export type Outbound = CreateCustomEnvironmentRequestBody$Outbound; -} - export function createCustomEnvironmentRequestBodyToJSON( createCustomEnvironmentRequestBody: CreateCustomEnvironmentRequestBody, ): string { @@ -321,7 +279,6 @@ export function createCustomEnvironmentRequestBodyToJSON( ), ); } - export function createCustomEnvironmentRequestBodyFromJSON( jsonString: string, ): SafeParseResult { @@ -349,7 +306,6 @@ export const CreateCustomEnvironmentRequest$inboundSchema: z.ZodType< "RequestBody": "requestBody", }); }); - /** @internal */ export type CreateCustomEnvironmentRequest$Outbound = { idOrName: string; @@ -375,19 +331,6 @@ export const CreateCustomEnvironmentRequest$outboundSchema: z.ZodType< }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateCustomEnvironmentRequest$ { - /** @deprecated use `CreateCustomEnvironmentRequest$inboundSchema` instead. */ - export const inboundSchema = CreateCustomEnvironmentRequest$inboundSchema; - /** @deprecated use `CreateCustomEnvironmentRequest$outboundSchema` instead. */ - export const outboundSchema = CreateCustomEnvironmentRequest$outboundSchema; - /** @deprecated use `CreateCustomEnvironmentRequest$Outbound` instead. */ - export type Outbound = CreateCustomEnvironmentRequest$Outbound; -} - export function createCustomEnvironmentRequestToJSON( createCustomEnvironmentRequest: CreateCustomEnvironmentRequest, ): string { @@ -397,7 +340,6 @@ export function createCustomEnvironmentRequestToJSON( ), ); } - export function createCustomEnvironmentRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -413,48 +355,20 @@ export const CreateCustomEnvironmentEnvironmentType$inboundSchema: z.ZodNativeEnum = z.nativeEnum( CreateCustomEnvironmentEnvironmentType, ); - /** @internal */ export const CreateCustomEnvironmentEnvironmentType$outboundSchema: z.ZodNativeEnum = CreateCustomEnvironmentEnvironmentType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateCustomEnvironmentEnvironmentType$ { - /** @deprecated use `CreateCustomEnvironmentEnvironmentType$inboundSchema` instead. */ - export const inboundSchema = - CreateCustomEnvironmentEnvironmentType$inboundSchema; - /** @deprecated use `CreateCustomEnvironmentEnvironmentType$outboundSchema` instead. */ - export const outboundSchema = - CreateCustomEnvironmentEnvironmentType$outboundSchema; -} - /** @internal */ export const CreateCustomEnvironmentEnvironmentResponseType$inboundSchema: z.ZodNativeEnum = z .nativeEnum(CreateCustomEnvironmentEnvironmentResponseType); - /** @internal */ export const CreateCustomEnvironmentEnvironmentResponseType$outboundSchema: z.ZodNativeEnum = CreateCustomEnvironmentEnvironmentResponseType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateCustomEnvironmentEnvironmentResponseType$ { - /** @deprecated use `CreateCustomEnvironmentEnvironmentResponseType$inboundSchema` instead. */ - export const inboundSchema = - CreateCustomEnvironmentEnvironmentResponseType$inboundSchema; - /** @deprecated use `CreateCustomEnvironmentEnvironmentResponseType$outboundSchema` instead. */ - export const outboundSchema = - CreateCustomEnvironmentEnvironmentResponseType$outboundSchema; -} - /** @internal */ export const CreateCustomEnvironmentBranchMatcher$inboundSchema: z.ZodType< CreateCustomEnvironmentBranchMatcher, @@ -464,7 +378,6 @@ export const CreateCustomEnvironmentBranchMatcher$inboundSchema: z.ZodType< type: CreateCustomEnvironmentEnvironmentResponseType$inboundSchema, pattern: z.string(), }); - /** @internal */ export type CreateCustomEnvironmentBranchMatcher$Outbound = { type: string; @@ -481,21 +394,6 @@ export const CreateCustomEnvironmentBranchMatcher$outboundSchema: z.ZodType< 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 CreateCustomEnvironmentBranchMatcher$ { - /** @deprecated use `CreateCustomEnvironmentBranchMatcher$inboundSchema` instead. */ - export const inboundSchema = - CreateCustomEnvironmentBranchMatcher$inboundSchema; - /** @deprecated use `CreateCustomEnvironmentBranchMatcher$outboundSchema` instead. */ - export const outboundSchema = - CreateCustomEnvironmentBranchMatcher$outboundSchema; - /** @deprecated use `CreateCustomEnvironmentBranchMatcher$Outbound` instead. */ - export type Outbound = CreateCustomEnvironmentBranchMatcher$Outbound; -} - export function createCustomEnvironmentBranchMatcherToJSON( createCustomEnvironmentBranchMatcher: CreateCustomEnvironmentBranchMatcher, ): string { @@ -505,7 +403,6 @@ export function createCustomEnvironmentBranchMatcherToJSON( ), ); } - export function createCustomEnvironmentBranchMatcherFromJSON( jsonString: string, ): SafeParseResult { @@ -528,7 +425,6 @@ export const CreateCustomEnvironmentVerification$inboundSchema: z.ZodType< value: z.string(), reason: z.string(), }); - /** @internal */ export type CreateCustomEnvironmentVerification$Outbound = { type: string; @@ -549,21 +445,6 @@ export const CreateCustomEnvironmentVerification$outboundSchema: z.ZodType< 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 CreateCustomEnvironmentVerification$ { - /** @deprecated use `CreateCustomEnvironmentVerification$inboundSchema` instead. */ - export const inboundSchema = - CreateCustomEnvironmentVerification$inboundSchema; - /** @deprecated use `CreateCustomEnvironmentVerification$outboundSchema` instead. */ - export const outboundSchema = - CreateCustomEnvironmentVerification$outboundSchema; - /** @deprecated use `CreateCustomEnvironmentVerification$Outbound` instead. */ - export type Outbound = CreateCustomEnvironmentVerification$Outbound; -} - export function createCustomEnvironmentVerificationToJSON( createCustomEnvironmentVerification: CreateCustomEnvironmentVerification, ): string { @@ -573,7 +454,6 @@ export function createCustomEnvironmentVerificationToJSON( ), ); } - export function createCustomEnvironmentVerificationFromJSON( jsonString: string, ): SafeParseResult { @@ -605,7 +485,6 @@ export const CreateCustomEnvironmentDomains$inboundSchema: z.ZodType< z.lazy(() => CreateCustomEnvironmentVerification$inboundSchema), ).optional(), }); - /** @internal */ export type CreateCustomEnvironmentDomains$Outbound = { name: string; @@ -644,19 +523,6 @@ export const CreateCustomEnvironmentDomains$outboundSchema: z.ZodType< ).optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateCustomEnvironmentDomains$ { - /** @deprecated use `CreateCustomEnvironmentDomains$inboundSchema` instead. */ - export const inboundSchema = CreateCustomEnvironmentDomains$inboundSchema; - /** @deprecated use `CreateCustomEnvironmentDomains$outboundSchema` instead. */ - export const outboundSchema = CreateCustomEnvironmentDomains$outboundSchema; - /** @deprecated use `CreateCustomEnvironmentDomains$Outbound` instead. */ - export type Outbound = CreateCustomEnvironmentDomains$Outbound; -} - export function createCustomEnvironmentDomainsToJSON( createCustomEnvironmentDomains: CreateCustomEnvironmentDomains, ): string { @@ -666,7 +532,6 @@ export function createCustomEnvironmentDomainsToJSON( ), ); } - export function createCustomEnvironmentDomainsFromJSON( jsonString: string, ): SafeParseResult { @@ -696,7 +561,6 @@ export const CreateCustomEnvironmentResponseBody$inboundSchema: z.ZodType< createdAt: z.number(), updatedAt: z.number(), }); - /** @internal */ export type CreateCustomEnvironmentResponseBody$Outbound = { id: string; @@ -730,21 +594,6 @@ export const CreateCustomEnvironmentResponseBody$outboundSchema: z.ZodType< 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 CreateCustomEnvironmentResponseBody$ { - /** @deprecated use `CreateCustomEnvironmentResponseBody$inboundSchema` instead. */ - export const inboundSchema = - CreateCustomEnvironmentResponseBody$inboundSchema; - /** @deprecated use `CreateCustomEnvironmentResponseBody$outboundSchema` instead. */ - export const outboundSchema = - CreateCustomEnvironmentResponseBody$outboundSchema; - /** @deprecated use `CreateCustomEnvironmentResponseBody$Outbound` instead. */ - export type Outbound = CreateCustomEnvironmentResponseBody$Outbound; -} - export function createCustomEnvironmentResponseBodyToJSON( createCustomEnvironmentResponseBody: CreateCustomEnvironmentResponseBody, ): string { @@ -754,7 +603,6 @@ export function createCustomEnvironmentResponseBodyToJSON( ), ); } - export function createCustomEnvironmentResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/createdeploymentop.ts b/src/models/createdeploymentop.ts index ff4777c5a..e44f9e858 100644 --- a/src/models/createdeploymentop.ts +++ b/src/models/createdeploymentop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; @@ -303,10 +303,12 @@ export const Framework = { Zola: "zola", Hydrogen: "hydrogen", Vite: "vite", + TanstackStart: "tanstack-start", Vitepress: "vitepress", Vuepress: "vuepress", Parcel: "parcel", Fastapi: "fastapi", + Flask: "flask", Fasthtml: "fasthtml", SanityV3: "sanity-v3", Sanity: "sanity", @@ -315,6 +317,9 @@ export const Framework = { Hono: "hono", Express: "express", H3: "h3", + Nestjs: "nestjs", + Elysia: "elysia", + Fastify: "fastify", Xmcp: "xmcp", } as const; /** @@ -326,6 +331,7 @@ export type Framework = ClosedEnum; * Override the Node.js version that should be used for this deployment */ export const NodeVersion = { + TwentyFourDotX: "24.x", TwentyTwoDotX: "22.x", TwentyDotX: "20.x", EighteenDotX: "18.x", @@ -520,10 +526,12 @@ export const CreateDeploymentFramework = { Zola: "zola", Hydrogen: "hydrogen", Vite: "vite", + TanstackStart: "tanstack-start", Vitepress: "vitepress", Vuepress: "vuepress", Parcel: "parcel", Fastapi: "fastapi", + Flask: "flask", Fasthtml: "fasthtml", SanityV3: "sanity-v3", Sanity: "sanity", @@ -532,6 +540,9 @@ export const CreateDeploymentFramework = { Hono: "hono", Express: "express", H3: "h3", + Nestjs: "nestjs", + Elysia: "elysia", + Fastify: "fastify", Xmcp: "xmcp", } as const; export type CreateDeploymentFramework = ClosedEnum< @@ -557,9 +568,9 @@ export type CreateDeploymentWebAnalytics = { export type CreateDeploymentProjectSettings = { buildCommand?: string | null | undefined; - commandForIgnoringBuildStep?: string | null | undefined; devCommand?: string | null | undefined; framework?: CreateDeploymentFramework | null | undefined; + commandForIgnoringBuildStep?: string | null | undefined; installCommand?: string | null | undefined; outputDirectory?: string | null | undefined; speedInsights?: CreateDeploymentSpeedInsights | undefined; @@ -656,9 +667,21 @@ export type Images = { contentDispositionType?: ContentDispositionType | undefined; }; +/** + * Information about the deployment creator + */ export type Creator = { + /** + * The ID of the user that created the deployment + */ uid: string; + /** + * The username of the user that created the deployment + */ username?: string | undefined; + /** + * The avatar of the user that created the deployment + */ avatar?: string | undefined; }; @@ -690,15 +713,18 @@ export type Lambdas = { }; export const CreateDeploymentStatus = { - Canceled: "CANCELED", - Error: "ERROR", Queued: "QUEUED", Building: "BUILDING", + Error: "ERROR", Initializing: "INITIALIZING", Ready: "READY", + Canceled: "CANCELED", } as const; export type CreateDeploymentStatus = ClosedEnum; +/** + * The team that owns the deployment if any + */ export type CreateDeploymentTeam = { id: string; name: string; @@ -706,6 +732,9 @@ export type CreateDeploymentTeam = { avatar?: string | undefined; }; +/** + * If the deployment was created using a Custom Environment, then this property contains information regarding the environment used. + */ export type CustomEnvironment2 = { id: string; }; @@ -786,7 +815,7 @@ export type CustomEnvironmentDomains = { }; /** - * Internal representation of a custom environment with all required properties + * If the deployment was created using a Custom Environment, then this property contains information regarding the environment used. */ export type CustomEnvironment1 = { /** @@ -834,11 +863,57 @@ export const OomReport = { } as const; export type OomReport = ClosedEnum; +export type AliasWarning = { + code: string; + message: string; + link?: string | undefined; + action?: string | undefined; +}; + +/** + * The state of the deployment depending on the process of deploying, or if it is ready or in an error state + */ +export const ReadyState = { + Queued: "QUEUED", + Building: "BUILDING", + Error: "ERROR", + Initializing: "INITIALIZING", + Ready: "READY", + Canceled: "CANCELED", +} as const; +/** + * The state of the deployment depending on the process of deploying, or if it is ready or in an error state + */ +export type ReadyState = ClosedEnum; + export const CreateDeploymentType = { Lambdas: "LAMBDAS", } as const; export type CreateDeploymentType = ClosedEnum; +/** + * An object that will contain a `code` and a `message` when the aliasing fails, otherwise the value will be `null` + */ +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; + export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type = { Bitbucket: "bitbucket", @@ -1143,16 +1218,11 @@ export type CreateDeploymentGitSource = | CreateDeploymentGitSource7 | CreateDeploymentGitSource8; -export type CreateDeploymentProject = { - id: string; - name: string; - framework?: string | null | undefined; -}; - /** * If set it overrides the `projectSettings.nodeVersion` for this deployment. */ export const CreateDeploymentNodeVersion = { + TwentyFourDotX: "24.x", TwentyTwoDotX: "22.x", TwentyDotX: "20.x", EighteenDotX: "18.x", @@ -1169,61 +1239,58 @@ export type CreateDeploymentNodeVersion = ClosedEnum< typeof CreateDeploymentNodeVersion >; -export const ReadyState = { - Canceled: "CANCELED", - Error: "ERROR", - Queued: "QUEUED", - Building: "BUILDING", - Initializing: "INITIALIZING", - Ready: "READY", +/** + * The public project information associated with the deployment. + */ +export type CreateDeploymentProject = { + id: string; + name: string; + framework?: string | null | undefined; +}; + +/** + * Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - ROLLING: in the process of having production traffic gradually transitioned. - PROMOTED: has seen production traffic + */ +export const ReadySubstate = { + Staged: "STAGED", + Rolling: "ROLLING", + Promoted: "PROMOTED", } as const; -export type ReadyState = ClosedEnum; +/** + * Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - ROLLING: in the process of having production traffic gradually transitioned. - PROMOTED: has seen production traffic + */ +export type ReadySubstate = ClosedEnum; +/** + * Where was the deployment created from + */ export const CreateDeploymentSource = { + ApiTriggerGitDeploy: "api-trigger-git-deploy", Cli: "cli", + CloneRepo: "clone/repo", Git: "git", Import: "import", ImportRepo: "import/repo", - CloneRepo: "clone/repo", - ApiTriggerGitDeploy: "api-trigger-git-deploy", Redeploy: "redeploy", V0Web: "v0-web", } as const; +/** + * Where was the deployment created from + */ export type CreateDeploymentSource = ClosedEnum; +/** + * If defined, either `staging` if a staging alias in the format `..now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment. + */ export const CreateDeploymentTarget = { - Production: "production", Staging: "staging", + Production: "production", } as const; +/** + * If defined, either `staging` if a staging alias in the format `..now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment. + */ export type CreateDeploymentTarget = ClosedEnum; -export type AliasError = { - code: string; - message: string; -}; - -export type AliasWarning = { - code: string; - message: string; - link?: string | undefined; - action?: string | undefined; -}; - -export const ChecksConclusion = { - Succeeded: "succeeded", - Failed: "failed", - Skipped: "skipped", - Canceled: "canceled", -} as const; -export type ChecksConclusion = ClosedEnum; - -export const ChecksState = { - Registered: "registered", - Running: "running", - Completed: "completed", -} as const; -export type ChecksState = ClosedEnum; - export type OidcTokenClaims = { iss: string; sub: string; @@ -1234,52 +1301,19 @@ export type OidcTokenClaims = { project: string; projectId: string; environment: string; + plan: string; }; -/** - * Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - ROLLING: in the process of having production traffic gradually transitioned. - PROMOTED: has seen production traffic - */ -export const ReadySubstate = { - Staged: "STAGED", - Rolling: "ROLLING", - Promoted: "PROMOTED", -} as const; -/** - * Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - ROLLING: in the process of having production traffic gradually transitioned. - PROMOTED: has seen production traffic - */ -export type ReadySubstate = ClosedEnum; - export const CreateDeploymentPlan = { - Hobby: "hobby", Pro: "pro", Enterprise: "enterprise", + Hobby: "hobby", } as const; export type CreateDeploymentPlan = ClosedEnum; -export const FunctionType = { - Fluid: "fluid", - Standard: "standard", -} as const; -export type FunctionType = ClosedEnum; - -export const FunctionMemoryType = { - Standard: "standard", - StandardLegacy: "standard_legacy", - Performance: "performance", -} as const; -export type FunctionMemoryType = ClosedEnum; - -/** - * Since February 2025 the configuration must include snapshot data at the time of deployment creation to capture properties for the /deployments/:id/config endpoint utilized for displaying Deployment Configuration on the frontend This is optional because older deployments may not have this data captured - */ -export type Config = { - version?: number | undefined; - functionType: FunctionType; - functionMemoryType: FunctionMemoryType; - functionTimeout: number | null; - secureComputePrimaryRegion: string | null; - secureComputeFallbackRegion: string | null; - isUsingActiveCPU?: boolean | undefined; +export type CreateDeploymentCrons = { + schedule: string; + path: string; }; export const Architecture = { @@ -1548,7 +1582,7 @@ export type RoutesTarget = { export type Args = string | Array; -export type Transforms = { +export type CreateDeploymentRoutesTransforms = { type: RoutesType; op: CreateDeploymentRoutesOp; target: RoutesTarget; @@ -1574,7 +1608,7 @@ export type Routes1 = { has?: Array | undefined; missing?: Array | undefined; mitigate?: RoutesMitigate | undefined; - transforms?: Array | undefined; + transforms?: Array | undefined; locale?: Locale | undefined; /** * A middleware key within the `output` key under the build result. Overrides a `middleware` definition. @@ -1592,46 +1626,122 @@ export type Routes1 = { export type Routes = Routes3 | Routes1 | Routes2; -export type CreateDeploymentCrons = { - schedule: string; +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 CreateDeploymentState = { - Succeeded: "succeeded", - Failed: "failed", - Pending: "pending", +export const CreateDeploymentGitRepoType = { + Github: "github", } as const; -export type CreateDeploymentState = ClosedEnum; +export type CreateDeploymentGitRepoType = ClosedEnum< + typeof CreateDeploymentGitRepoType +>; -/** - * Condensed check data. Retrieve individual check and check run data using api-checks v2 routes. - */ -export type DeploymentAlias = { - state: CreateDeploymentState; - startedAt: number; - completedAt?: number | undefined; -}; +export const GitRepoOwnerType = { + Team: "team", + User: "user", +} as const; +export type GitRepoOwnerType = ClosedEnum; -export type CreateDeploymentChecks = { - /** - * Condensed check data. Retrieve individual check and check run data using api-checks v2 routes. - */ - deploymentAlias: DeploymentAlias; +export type GitRepo2 = { + org: string; + repo: string; + repoId: number; + type: CreateDeploymentGitRepoType; + repoOwnerId: number; + path: string; + defaultBranch: string; + name: string; + private: boolean; + ownerType: GitRepoOwnerType; }; -/** - * 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. Note: this field will be removed when MFE alias routing is fully rolled out. - */ -export type CreateDeploymentMicrofrontendsApplications = { - isDefaultApp?: boolean | undefined; - /** - * 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. - */ +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 = GitRepo2 | GitRepo3 | GitRepo1; + +/** + * 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; + +/** + * 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. Note: this field will be removed when MFE alias routing is fully rolled out. + */ +export type CreateDeploymentMicrofrontendsApplications = { + isDefaultApp?: boolean | undefined; + /** + * 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; }; @@ -1673,14 +1783,6 @@ export type CreateDeploymentMicrofrontends2 = { * 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; - /** - * Whether the MicrofrontendsAlias2 team flag should be considered enabled for this deployment or not. - */ - microfrontendsAlias2Enabled?: boolean | undefined; - /** - * Temporary flag to safely test MFE alias routing in vercel-site production for specific production hosts (not vercel.com) - */ - microfrontendsAliasRoutingVercelSiteProdTestHost?: boolean | undefined; }; export type CreateDeploymentMicrofrontends1 = { @@ -1697,124 +1799,61 @@ export type CreateDeploymentMicrofrontends1 = { * 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; - /** - * Whether the MicrofrontendsAlias2 team flag should be considered enabled for this deployment or not. - */ - microfrontendsAlias2Enabled?: boolean | undefined; - /** - * Temporary flag to safely test MFE alias routing in vercel-site production for specific production hosts (not vercel.com) - */ - microfrontendsAliasRoutingVercelSiteProdTestHost?: boolean | undefined; }; export type CreateDeploymentMicrofrontends = | CreateDeploymentMicrofrontends2 | CreateDeploymentMicrofrontends1; -/** - * 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; - -export const CreateDeploymentGitRepoDeploymentsType = { - Bitbucket: "bitbucket", +export const FunctionType = { + Fluid: "fluid", + Standard: "standard", } as const; -export type CreateDeploymentGitRepoDeploymentsType = ClosedEnum< - typeof CreateDeploymentGitRepoDeploymentsType ->; +export type FunctionType = ClosedEnum; -export const CreateDeploymentGitRepoOwnerType = { - Team: "team", - User: "user", +export const FunctionMemoryType = { + Standard: "standard", + StandardLegacy: "standard_legacy", + Performance: "performance", } as const; -export type CreateDeploymentGitRepoOwnerType = ClosedEnum< - typeof CreateDeploymentGitRepoOwnerType ->; +export type FunctionMemoryType = ClosedEnum; -export type GitRepo3 = { - owner: string; - repoUuid: string; - slug: string; - type: CreateDeploymentGitRepoDeploymentsType; - workspaceUuid: string; - path: string; - defaultBranch: string; - name: string; - private: boolean; - ownerType: CreateDeploymentGitRepoOwnerType; +/** + * Since February 2025 the configuration must include snapshot data at the time of deployment creation to capture properties for the /deployments/:id/config endpoint utilized for displaying Deployment Configuration on the frontend This is optional because older deployments may not have this data captured + */ +export type Config = { + version?: number | undefined; + functionType: FunctionType; + functionMemoryType: FunctionMemoryType; + functionTimeout: number | null; + secureComputePrimaryRegion: string | null; + secureComputeFallbackRegion: string | null; + isUsingActiveCPU?: boolean | undefined; }; -export const CreateDeploymentGitRepoType = { - Github: "github", -} as const; -export type CreateDeploymentGitRepoType = ClosedEnum< - typeof CreateDeploymentGitRepoType ->; - -export const GitRepoOwnerType = { - Team: "team", - User: "user", +export const CreateDeploymentState = { + Succeeded: "succeeded", + Failed: "failed", + Pending: "pending", } as const; -export type GitRepoOwnerType = ClosedEnum; +export type CreateDeploymentState = ClosedEnum; -export type GitRepo2 = { - org: string; - repo: string; - repoId: number; - type: CreateDeploymentGitRepoType; - repoOwnerId: number; - path: string; - defaultBranch: string; - name: string; - private: boolean; - ownerType: GitRepoOwnerType; +/** + * Condensed check data. Retrieve individual check and check run data using api-checks v2 routes. + */ +export type DeploymentAlias = { + state: CreateDeploymentState; + startedAt: number; + completedAt?: number | undefined; }; -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 CreateDeploymentChecks = { + /** + * Condensed check data. Retrieve individual check and check run data using api-checks v2 routes. + */ + deploymentAlias: DeploymentAlias; }; -export type GitRepo = GitRepo2 | GitRepo3 | GitRepo1; - /** * The successfully created deployment */ @@ -1832,7 +1871,13 @@ export type CreateDeploymentResponseBody = { readyStateReason?: string | undefined; integrations?: Integrations | undefined; images?: Images | undefined; + /** + * A list of all the aliases (default aliases, staging aliases and production aliases) that were assigned upon deployment creation + */ alias?: Array | undefined; + /** + * A boolean that will be true when the aliases from the alias property were assigned successfully + */ aliasAssigned: boolean; bootedAt: number; buildingAt: number; @@ -1841,27 +1886,82 @@ export type CreateDeploymentResponseBody = { */ buildContainerFinishedAt?: number | undefined; buildSkipped: boolean; + /** + * Information about the deployment creator + */ creator: Creator; initReadyAt?: number | undefined; isFirstBranchDeployment?: boolean | undefined; lambdas?: Array | undefined; + /** + * A boolean representing if the deployment is public or not. By default this is `false` + */ public: boolean; ready?: number | undefined; status: CreateDeploymentStatus; + /** + * The team that owns the deployment if any + */ team?: CreateDeploymentTeam | undefined; + /** + * An array of domains that were provided by the user when creating the Deployment. + */ userAliases?: Array | undefined; + /** + * Whether or not preview comments are enabled for the deployment + */ previewCommentsEnabled?: boolean | undefined; ttyBuildLogs?: boolean | undefined; customEnvironment?: CustomEnvironment1 | CustomEnvironment2 | undefined; oomReport?: OomReport | undefined; + aliasWarning?: AliasWarning | null | undefined; + /** + * A string holding the unique ID of the deployment + */ id: string; - name: string; + /** + * A number containing the date when the deployment was created in milliseconds + */ createdAt: number; + /** + * The state of the deployment depending on the process of deploying, or if it is ready or in an error state + */ + readyState: ReadyState; + /** + * The name of the project associated with the deployment at the time that the deployment was created + */ + name: string; type: CreateDeploymentType; + /** + * An object that will contain a `code` and a `message` when the aliasing fails, otherwise the value will be `null` + */ + aliasError?: AliasError | null | undefined; + aliasFinal?: string | null | undefined; /** * applies to custom domains only, defaults to `true` */ autoAssignCustomDomains?: boolean | undefined; + automaticAliases?: Array | undefined; + buildErrorAt?: number | undefined; + checksState?: ChecksState | undefined; + checksConclusion?: ChecksConclusion | undefined; + /** + * A number containing the date when the deployment was deleted at milliseconds + */ + 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?: | CreateDeploymentGitSource12 | CreateDeploymentGitSource15 @@ -1880,113 +1980,91 @@ export type CreateDeploymentResponseBody = { | CreateDeploymentGitSource8 | undefined; meta: { [k: string]: string }; - project?: CreateDeploymentProject | undefined; + originCacheRegion?: string | undefined; /** * If set it overrides the `projectSettings.nodeVersion` for this deployment. */ nodeVersion?: CreateDeploymentNodeVersion | undefined; - readyState: ReadyState; - source?: CreateDeploymentSource | undefined; - target?: CreateDeploymentTarget | null | undefined; - errorMessage?: string | null | undefined; - deletedAt?: number | 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; - version: number; - aliasError?: AliasError | null | undefined; - aliasFinal?: string | null | undefined; - aliasWarning?: AliasWarning | null | undefined; - automaticAliases?: Array | undefined; - buildErrorAt?: number | undefined; - canceledAt?: number | undefined; - checksConclusion?: ChecksConclusion | undefined; - checksState?: ChecksState | undefined; - /** - * Computed field that is only available for deployments with a microfrontend configuration. + * The public project information associated with the deployment. */ - defaultRoute?: string | undefined; - errorCode?: string | undefined; - errorLink?: string | undefined; - errorStep?: string | undefined; - originCacheRegion?: string | undefined; - oidcTokenClaims?: OidcTokenClaims | undefined; + project?: CreateDeploymentProject | undefined; /** * Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - ROLLING: in the process of having production traffic gradually transitioned. - PROMOTED: has seen production traffic */ readySubstate?: ReadySubstate | undefined; + /** + * The regions the deployment exists in + */ + regions: Array; + /** + * flag to indicate if the deployment was deleted by retention policy + */ softDeletedByRetention?: boolean | undefined; + /** + * Where was the deployment created from + */ + source?: CreateDeploymentSource | undefined; + /** + * If defined, either `staging` if a staging alias in the format `..now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment. + */ + target?: CreateDeploymentTarget | null | undefined; + /** + * A number containing the date when the deployment was undeleted at milliseconds + */ undeletedAt?: number | undefined; + /** + * A string with the unique URL of the deployment + */ url: string; + /** + * The platform version that was used to create the deployment. + */ + version: number; + oidcTokenClaims?: OidcTokenClaims | undefined; projectId: string; + plan: CreateDeploymentPlan; + connectBuildsEnabled?: boolean | undefined; + connectConfigurationId?: string | undefined; + createdIn: string; + crons?: Array | undefined; + functions?: { [k: string]: Functions } | null | undefined; monorepoManager?: string | null | undefined; ownerId: string; - plan: CreateDeploymentPlan; /** - * Since February 2025 the configuration must include snapshot data at the time of deployment creation to capture properties for the /deployments/:id/config endpoint utilized for displaying Deployment Configuration on the frontend This is optional because older deployments may not have this data captured + * Since November 2023 this field defines a Secure Compute network that will only be used to deploy passive lambdas to (as in passiveRegions) */ - config?: Config | undefined; - functions?: { [k: string]: Functions } | null | undefined; + passiveConnectConfigurationId?: string | undefined; routes: Array | null; - crons?: Array | undefined; - checks?: CreateDeploymentChecks | undefined; + gitRepo?: GitRepo2 | GitRepo3 | GitRepo1 | null | undefined; + flags?: Flags1 | Array | undefined; microfrontends?: | CreateDeploymentMicrofrontends2 | CreateDeploymentMicrofrontends1 | undefined; - 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) + * Since February 2025 the configuration must include snapshot data at the time of deployment creation to capture properties for the /deployments/:id/config endpoint utilized for displaying Deployment Configuration on the frontend This is optional because older deployments may not have this data captured */ - passiveConnectConfigurationId?: string | undefined; - flags?: Flags1 | Array | undefined; - gitRepo?: GitRepo2 | GitRepo3 | GitRepo1 | null | undefined; + config?: Config | undefined; + checks?: CreateDeploymentChecks | undefined; }; /** @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 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 UploadedFile$inboundSchema: z.ZodType< UploadedFile, @@ -1997,7 +2075,6 @@ export const UploadedFile$inboundSchema: z.ZodType< sha: z.string().optional(), size: z.number().int().optional(), }); - /** @internal */ export type UploadedFile$Outbound = { file: string; @@ -2016,23 +2093,9 @@ export const UploadedFile$outboundSchema: z.ZodType< 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 { @@ -2046,22 +2109,10 @@ export function uploadedFileFromJSON( /** @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, @@ -2072,7 +2123,6 @@ export const InlinedFile$inboundSchema: z.ZodType< encoding: Encoding$inboundSchema.optional(), file: z.string(), }); - /** @internal */ export type InlinedFile$Outbound = { data: string; @@ -2091,23 +2141,9 @@ export const InlinedFile$outboundSchema: z.ZodType< 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 { @@ -2124,7 +2160,6 @@ export const Files$inboundSchema: z.ZodType = z z.lazy(() => InlinedFile$inboundSchema), z.lazy(() => UploadedFile$inboundSchema), ]); - /** @internal */ export type Files$Outbound = InlinedFile$Outbound | UploadedFile$Outbound; @@ -2138,23 +2173,9 @@ export const Files$outboundSchema: z.ZodType< 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 { @@ -2183,7 +2204,6 @@ export const GitMetadata$inboundSchema: z.ZodType< ciGitProviderUsername: z.string().optional(), ciGitRepoVisibility: z.string().optional(), }); - /** @internal */ export type GitMetadata$Outbound = { remoteUrl?: string | undefined; @@ -2218,23 +2238,9 @@ export const GitMetadata$outboundSchema: z.ZodType< ciGitRepoVisibility: z.string().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 { @@ -2250,26 +2256,12 @@ export const CreateDeploymentGitSourceDeploymentsRequestRequestBody7Type$inbound z.ZodNativeEnum< typeof CreateDeploymentGitSourceDeploymentsRequestRequestBody7Type > = z.nativeEnum(CreateDeploymentGitSourceDeploymentsRequestRequestBody7Type); - /** @internal */ export const CreateDeploymentGitSourceDeploymentsRequestRequestBody7Type$outboundSchema: z.ZodNativeEnum< typeof CreateDeploymentGitSourceDeploymentsRequestRequestBody7Type > = CreateDeploymentGitSourceDeploymentsRequestRequestBody7Type$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateDeploymentGitSourceDeploymentsRequestRequestBody7Type$ { - /** @deprecated use `CreateDeploymentGitSourceDeploymentsRequestRequestBody7Type$inboundSchema` instead. */ - export const inboundSchema = - CreateDeploymentGitSourceDeploymentsRequestRequestBody7Type$inboundSchema; - /** @deprecated use `CreateDeploymentGitSourceDeploymentsRequestRequestBody7Type$outboundSchema` instead. */ - export const outboundSchema = - CreateDeploymentGitSourceDeploymentsRequestRequestBody7Type$outboundSchema; -} - /** @internal */ export const GitSource7$inboundSchema: z.ZodType< GitSource7, @@ -2283,7 +2275,6 @@ export const GitSource7$inboundSchema: z.ZodType< type: CreateDeploymentGitSourceDeploymentsRequestRequestBody7Type$inboundSchema, }); - /** @internal */ export type GitSource7$Outbound = { owner: string; @@ -2307,23 +2298,9 @@ export const GitSource7$outboundSchema: z.ZodType< CreateDeploymentGitSourceDeploymentsRequestRequestBody7Type$outboundSchema, }); -/** - * @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 { @@ -2339,26 +2316,12 @@ export const CreateDeploymentGitSourceDeploymentsRequestRequestBodyType$inboundS 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 GitSource6$inboundSchema: z.ZodType< GitSource6, @@ -2372,7 +2335,6 @@ export const GitSource6$inboundSchema: z.ZodType< CreateDeploymentGitSourceDeploymentsRequestRequestBodyType$inboundSchema, workspaceUuid: z.string().optional(), }); - /** @internal */ export type GitSource6$Outbound = { ref: string; @@ -2396,23 +2358,9 @@ export const GitSource6$outboundSchema: z.ZodType< 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 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 { @@ -2429,7 +2377,6 @@ export const ProjectId$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.union([z.number(), z.string()]); - /** @internal */ export type ProjectId$Outbound = number | string; @@ -2440,23 +2387,9 @@ export const ProjectId$outboundSchema: z.ZodType< 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 { @@ -2471,25 +2404,11 @@ export function projectIdFromJSON( 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 GitSource5$inboundSchema: z.ZodType< GitSource5, @@ -2501,7 +2420,6 @@ export const GitSource5$inboundSchema: z.ZodType< sha: z.string().optional(), type: CreateDeploymentGitSourceDeploymentsRequestType$inboundSchema, }); - /** @internal */ export type GitSource5$Outbound = { projectId: number | string; @@ -2522,23 +2440,9 @@ export const GitSource5$outboundSchema: z.ZodType< 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 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 { @@ -2553,25 +2457,11 @@ export function gitSource5FromJSON( 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 GitSource4$inboundSchema: z.ZodType< GitSource4, @@ -2584,7 +2474,6 @@ export const GitSource4$inboundSchema: z.ZodType< sha: z.string().optional(), type: CreateDeploymentGitSourceDeploymentsType$inboundSchema, }); - /** @internal */ export type GitSource4$Outbound = { org: string; @@ -2607,23 +2496,9 @@ export const GitSource4$outboundSchema: z.ZodType< type: CreateDeploymentGitSourceDeploymentsType$outboundSchema, }); -/** - * @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 { @@ -2640,7 +2515,6 @@ export const GitSourceRepoId$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.union([z.number(), z.string()]); - /** @internal */ export type GitSourceRepoId$Outbound = number | string; @@ -2651,25 +2525,11 @@ export const GitSourceRepoId$outboundSchema: z.ZodType< GitSourceRepoId > = 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 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 { @@ -2684,23 +2544,11 @@ export function gitSourceRepoIdFromJSON( 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 GitSource3$inboundSchema: z.ZodType< GitSource3, @@ -2712,7 +2560,6 @@ export const GitSource3$inboundSchema: z.ZodType< sha: z.string().optional(), type: CreateDeploymentGitSourceType$inboundSchema, }); - /** @internal */ export type GitSource3$Outbound = { ref: string; @@ -2733,23 +2580,9 @@ export const GitSource3$outboundSchema: z.ZodType< 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 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 { @@ -2764,23 +2597,11 @@ export function gitSource3FromJSON( 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, @@ -2793,7 +2614,6 @@ export const GitSource2$inboundSchema: z.ZodType< sha: z.string().optional(), type: GitSourceType$inboundSchema, }); - /** @internal */ export type GitSource2$Outbound = { org: string; @@ -2816,23 +2636,9 @@ export const GitSource2$outboundSchema: z.ZodType< 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 { @@ -2846,7 +2652,6 @@ export function gitSource2FromJSON( /** @internal */ export const RepoId$inboundSchema: z.ZodType = z .union([z.number(), z.string()]); - /** @internal */ export type RepoId$Outbound = number | string; @@ -2857,23 +2662,9 @@ export const RepoId$outboundSchema: z.ZodType< 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 { @@ -2889,26 +2680,12 @@ export const CreateDeploymentGitSourceDeploymentsRequestRequestBody1Type$inbound z.ZodNativeEnum< typeof CreateDeploymentGitSourceDeploymentsRequestRequestBody1Type > = z.nativeEnum(CreateDeploymentGitSourceDeploymentsRequestRequestBody1Type); - /** @internal */ export const CreateDeploymentGitSourceDeploymentsRequestRequestBody1Type$outboundSchema: z.ZodNativeEnum< typeof CreateDeploymentGitSourceDeploymentsRequestRequestBody1Type > = CreateDeploymentGitSourceDeploymentsRequestRequestBody1Type$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateDeploymentGitSourceDeploymentsRequestRequestBody1Type$ { - /** @deprecated use `CreateDeploymentGitSourceDeploymentsRequestRequestBody1Type$inboundSchema` instead. */ - export const inboundSchema = - CreateDeploymentGitSourceDeploymentsRequestRequestBody1Type$inboundSchema; - /** @deprecated use `CreateDeploymentGitSourceDeploymentsRequestRequestBody1Type$outboundSchema` instead. */ - export const outboundSchema = - CreateDeploymentGitSourceDeploymentsRequestRequestBody1Type$outboundSchema; -} - /** @internal */ export const GitSource1$inboundSchema: z.ZodType< GitSource1, @@ -2921,7 +2698,6 @@ export const GitSource1$inboundSchema: z.ZodType< type: CreateDeploymentGitSourceDeploymentsRequestRequestBody1Type$inboundSchema, }); - /** @internal */ export type GitSource1$Outbound = { ref: string; @@ -2943,23 +2719,9 @@ export const GitSource1$outboundSchema: z.ZodType< CreateDeploymentGitSourceDeploymentsRequestRequestBody1Type$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 { @@ -2984,7 +2746,6 @@ export const GitSource$inboundSchema: z.ZodType< z.lazy(() => GitSource5$inboundSchema), z.lazy(() => GitSource6$inboundSchema), ]); - /** @internal */ export type GitSource$Outbound = | GitSource2$Outbound @@ -3010,23 +2771,9 @@ export const GitSource$outboundSchema: z.ZodType< z.lazy(() => GitSource6$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 { @@ -3040,41 +2787,17 @@ export function gitSourceFromJSON( /** @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, @@ -3093,7 +2816,6 @@ export const ProjectSettings$inboundSchema: z.ZodType< skipGitConnectDuringLink: z.boolean().optional(), sourceFilesOutsideRootDirectory: z.boolean().optional(), }); - /** @internal */ export type ProjectSettings$Outbound = { buildCommand?: string | null | undefined; @@ -3128,25 +2850,11 @@ export const ProjectSettings$outboundSchema: z.ZodType< 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 { @@ -3189,7 +2897,6 @@ export const CreateDeploymentRequestBody$inboundSchema: z.ZodType< target: z.string().optional(), withLatestCommit: z.boolean().optional(), }); - /** @internal */ export type CreateDeploymentRequestBody$Outbound = { customEnvironmentSlugOrId?: string | undefined; @@ -3247,19 +2954,6 @@ export const CreateDeploymentRequestBody$outboundSchema: z.ZodType< 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 { @@ -3269,7 +2963,6 @@ export function createDeploymentRequestBodyToJSON( ), ); } - export function createDeploymentRequestBodyFromJSON( jsonString: string, ): SafeParseResult { @@ -3297,7 +2990,6 @@ export const CreateDeploymentRequest$inboundSchema: z.ZodType< "RequestBody": "requestBody", }); }); - /** @internal */ export type CreateDeploymentRequest$Outbound = { forceNew?: string | undefined; @@ -3325,19 +3017,6 @@ export const CreateDeploymentRequest$outboundSchema: z.ZodType< }); }); -/** - * @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 { @@ -3345,7 +3024,6 @@ export function createDeploymentRequestToJSON( CreateDeploymentRequest$outboundSchema.parse(createDeploymentRequest), ); } - export function createDeploymentRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -3362,7 +3040,6 @@ export const AliasAssignedAt$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.union([z.number(), z.boolean()]); - /** @internal */ export type AliasAssignedAt$Outbound = number | boolean; @@ -3373,25 +3050,11 @@ export const AliasAssignedAt$outboundSchema: z.ZodType< 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 { @@ -3407,7 +3070,6 @@ export const Build$inboundSchema: z.ZodType = z .object({ env: z.array(z.string()), }); - /** @internal */ export type Build$Outbound = { env: Array; @@ -3422,23 +3084,9 @@ export const Build$outboundSchema: z.ZodType< 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 { @@ -3456,7 +3104,6 @@ export const Builds$inboundSchema: z.ZodType = z src: z.string().optional(), config: z.record(z.any()).optional(), }); - /** @internal */ export type Builds$Outbound = { use: string; @@ -3475,23 +3122,9 @@ export const Builds$outboundSchema: z.ZodType< config: z.record(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 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 { @@ -3506,23 +3139,11 @@ export function buildsFromJSON( 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, @@ -3536,7 +3157,6 @@ export const CreateDeploymentSpeedInsights$inboundSchema: z.ZodType< hasData: z.boolean().optional(), paidAt: z.number().optional(), }); - /** @internal */ export type CreateDeploymentSpeedInsights$Outbound = { id: string; @@ -3561,19 +3181,6 @@ export const CreateDeploymentSpeedInsights$outboundSchema: z.ZodType< 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 { @@ -3583,7 +3190,6 @@ export function createDeploymentSpeedInsightsToJSON( ), ); } - export function createDeploymentSpeedInsightsFromJSON( jsonString: string, ): SafeParseResult { @@ -3606,7 +3212,6 @@ export const CreateDeploymentWebAnalytics$inboundSchema: z.ZodType< enabledAt: z.number().optional(), hasData: z.boolean().optional(), }); - /** @internal */ export type CreateDeploymentWebAnalytics$Outbound = { id: string; @@ -3629,19 +3234,6 @@ export const CreateDeploymentWebAnalytics$outboundSchema: z.ZodType< 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 { @@ -3651,7 +3243,6 @@ export function createDeploymentWebAnalyticsToJSON( ), ); } - export function createDeploymentWebAnalyticsFromJSON( jsonString: string, ): SafeParseResult { @@ -3669,9 +3260,9 @@ export const CreateDeploymentProjectSettings$inboundSchema: z.ZodType< 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(), + commandForIgnoringBuildStep: z.nullable(z.string()).optional(), installCommand: z.nullable(z.string()).optional(), outputDirectory: z.nullable(z.string()).optional(), speedInsights: z.lazy(() => CreateDeploymentSpeedInsights$inboundSchema) @@ -3679,13 +3270,12 @@ export const CreateDeploymentProjectSettings$inboundSchema: z.ZodType< 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; + commandForIgnoringBuildStep?: string | null | undefined; installCommand?: string | null | undefined; outputDirectory?: string | null | undefined; speedInsights?: CreateDeploymentSpeedInsights$Outbound | undefined; @@ -3699,9 +3289,9 @@ export const CreateDeploymentProjectSettings$outboundSchema: z.ZodType< 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(), + commandForIgnoringBuildStep: z.nullable(z.string()).optional(), installCommand: z.nullable(z.string()).optional(), outputDirectory: z.nullable(z.string()).optional(), speedInsights: z.lazy(() => CreateDeploymentSpeedInsights$outboundSchema) @@ -3710,19 +3300,6 @@ export const CreateDeploymentProjectSettings$outboundSchema: z.ZodType< .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 { @@ -3732,7 +3309,6 @@ export function createDeploymentProjectSettingsToJSON( ), ); } - export function createDeploymentProjectSettingsFromJSON( jsonString: string, ): SafeParseResult { @@ -3747,24 +3323,11 @@ export function createDeploymentProjectSettingsFromJSON( 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, @@ -3777,7 +3340,6 @@ export const Integrations$inboundSchema: z.ZodType< skippedAt: z.number().optional(), skippedBy: z.string().optional(), }); - /** @internal */ export type Integrations$Outbound = { status: string; @@ -3800,23 +3362,9 @@ export const Integrations$outboundSchema: z.ZodType< 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 { @@ -3830,22 +3378,10 @@ export function integrationsFromJSON( /** @internal */ export const Protocol$inboundSchema: z.ZodNativeEnum = z .nativeEnum(Protocol); - /** @internal */ export const Protocol$outboundSchema: z.ZodNativeEnum = Protocol$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Protocol$ { - /** @deprecated use `Protocol$inboundSchema` instead. */ - export const inboundSchema = Protocol$inboundSchema; - /** @deprecated use `Protocol$outboundSchema` instead. */ - export const outboundSchema = Protocol$outboundSchema; -} - /** @internal */ export const RemotePatterns$inboundSchema: z.ZodType< RemotePatterns, @@ -3858,7 +3394,6 @@ export const RemotePatterns$inboundSchema: z.ZodType< pathname: z.string().optional(), search: z.string().optional(), }); - /** @internal */ export type RemotePatterns$Outbound = { protocol?: string | undefined; @@ -3881,23 +3416,9 @@ export const RemotePatterns$outboundSchema: z.ZodType< search: z.string().optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemotePatterns$ { - /** @deprecated use `RemotePatterns$inboundSchema` instead. */ - export const inboundSchema = RemotePatterns$inboundSchema; - /** @deprecated use `RemotePatterns$outboundSchema` instead. */ - export const outboundSchema = RemotePatterns$outboundSchema; - /** @deprecated use `RemotePatterns$Outbound` instead. */ - export type Outbound = RemotePatterns$Outbound; -} - export function remotePatternsToJSON(remotePatterns: RemotePatterns): string { return JSON.stringify(RemotePatterns$outboundSchema.parse(remotePatterns)); } - export function remotePatternsFromJSON( jsonString: string, ): SafeParseResult { @@ -3917,7 +3438,6 @@ export const LocalPatterns$inboundSchema: z.ZodType< pathname: z.string().optional(), search: z.string().optional(), }); - /** @internal */ export type LocalPatterns$Outbound = { pathname?: string | undefined; @@ -3934,23 +3454,9 @@ export const LocalPatterns$outboundSchema: z.ZodType< search: z.string().optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace LocalPatterns$ { - /** @deprecated use `LocalPatterns$inboundSchema` instead. */ - export const inboundSchema = LocalPatterns$inboundSchema; - /** @deprecated use `LocalPatterns$outboundSchema` instead. */ - export const outboundSchema = LocalPatterns$outboundSchema; - /** @deprecated use `LocalPatterns$Outbound` instead. */ - export type Outbound = LocalPatterns$Outbound; -} - export function localPatternsToJSON(localPatterns: LocalPatterns): string { return JSON.stringify(LocalPatterns$outboundSchema.parse(localPatterns)); } - export function localPatternsFromJSON( jsonString: string, ): SafeParseResult { @@ -3964,43 +3470,19 @@ export function localPatternsFromJSON( /** @internal */ export const Formats$inboundSchema: z.ZodNativeEnum = z .nativeEnum(Formats); - /** @internal */ export const Formats$outboundSchema: z.ZodNativeEnum = Formats$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Formats$ { - /** @deprecated use `Formats$inboundSchema` instead. */ - export const inboundSchema = Formats$inboundSchema; - /** @deprecated use `Formats$outboundSchema` instead. */ - export const outboundSchema = Formats$outboundSchema; -} - /** @internal */ export const ContentDispositionType$inboundSchema: z.ZodNativeEnum< typeof ContentDispositionType > = z.nativeEnum(ContentDispositionType); - /** @internal */ export const ContentDispositionType$outboundSchema: z.ZodNativeEnum< typeof ContentDispositionType > = ContentDispositionType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ContentDispositionType$ { - /** @deprecated use `ContentDispositionType$inboundSchema` instead. */ - export const inboundSchema = ContentDispositionType$inboundSchema; - /** @deprecated use `ContentDispositionType$outboundSchema` instead. */ - export const outboundSchema = ContentDispositionType$outboundSchema; -} - /** @internal */ export const Images$inboundSchema: z.ZodType = z .object({ @@ -4017,7 +3499,6 @@ export const Images$inboundSchema: z.ZodType = z contentSecurityPolicy: z.string().optional(), contentDispositionType: ContentDispositionType$inboundSchema.optional(), }); - /** @internal */ export type Images$Outbound = { sizes?: Array | undefined; @@ -4051,23 +3532,9 @@ export const Images$outboundSchema: z.ZodType< contentDispositionType: ContentDispositionType$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 Images$ { - /** @deprecated use `Images$inboundSchema` instead. */ - export const inboundSchema = Images$inboundSchema; - /** @deprecated use `Images$outboundSchema` instead. */ - export const outboundSchema = Images$outboundSchema; - /** @deprecated use `Images$Outbound` instead. */ - export type Outbound = Images$Outbound; -} - export function imagesToJSON(images: Images): string { return JSON.stringify(Images$outboundSchema.parse(images)); } - export function imagesFromJSON( jsonString: string, ): SafeParseResult { @@ -4085,7 +3552,6 @@ export const Creator$inboundSchema: z.ZodType = username: z.string().optional(), avatar: z.string().optional(), }); - /** @internal */ export type Creator$Outbound = { uid: string; @@ -4104,23 +3570,9 @@ export const Creator$outboundSchema: z.ZodType< 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 { @@ -4135,23 +3587,11 @@ export function creatorFromJSON( 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, @@ -4161,7 +3601,6 @@ export const CreateDeploymentOutput$inboundSchema: z.ZodType< path: z.string(), functionName: z.string(), }); - /** @internal */ export type CreateDeploymentOutput$Outbound = { path: string; @@ -4178,19 +3617,6 @@ export const CreateDeploymentOutput$outboundSchema: z.ZodType< 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 { @@ -4198,7 +3624,6 @@ export function createDeploymentOutputToJSON( CreateDeploymentOutput$outboundSchema.parse(createDeploymentOutput), ); } - export function createDeploymentOutputFromJSON( jsonString: string, ): SafeParseResult { @@ -4219,7 +3644,6 @@ export const Lambdas$inboundSchema: z.ZodType = readyStateAt: z.number().optional(), output: z.array(z.lazy(() => CreateDeploymentOutput$inboundSchema)), }); - /** @internal */ export type Lambdas$Outbound = { id: string; @@ -4244,23 +3668,9 @@ export const Lambdas$outboundSchema: z.ZodType< 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 { @@ -4275,23 +3685,11 @@ export function lambdasFromJSON( 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 CreateDeploymentTeam$inboundSchema: z.ZodType< CreateDeploymentTeam, @@ -4303,7 +3701,6 @@ export const CreateDeploymentTeam$inboundSchema: z.ZodType< slug: z.string(), avatar: z.string().optional(), }); - /** @internal */ export type CreateDeploymentTeam$Outbound = { id: string; @@ -4324,19 +3721,6 @@ export const CreateDeploymentTeam$outboundSchema: z.ZodType< 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 CreateDeploymentTeam$ { - /** @deprecated use `CreateDeploymentTeam$inboundSchema` instead. */ - export const inboundSchema = CreateDeploymentTeam$inboundSchema; - /** @deprecated use `CreateDeploymentTeam$outboundSchema` instead. */ - export const outboundSchema = CreateDeploymentTeam$outboundSchema; - /** @deprecated use `CreateDeploymentTeam$Outbound` instead. */ - export type Outbound = CreateDeploymentTeam$Outbound; -} - export function createDeploymentTeamToJSON( createDeploymentTeam: CreateDeploymentTeam, ): string { @@ -4344,7 +3728,6 @@ export function createDeploymentTeamToJSON( CreateDeploymentTeam$outboundSchema.parse(createDeploymentTeam), ); } - export function createDeploymentTeamFromJSON( jsonString: string, ): SafeParseResult { @@ -4363,7 +3746,6 @@ export const CustomEnvironment2$inboundSchema: z.ZodType< > = z.object({ id: z.string(), }); - /** @internal */ export type CustomEnvironment2$Outbound = { id: string; @@ -4378,19 +3760,6 @@ export const CustomEnvironment2$outboundSchema: z.ZodType< 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 { @@ -4398,7 +3767,6 @@ export function customEnvironment2ToJSON( CustomEnvironment2$outboundSchema.parse(customEnvironment2), ); } - export function customEnvironment2FromJSON( jsonString: string, ): SafeParseResult { @@ -4413,47 +3781,21 @@ export function customEnvironment2FromJSON( export const CustomEnvironmentType$inboundSchema: z.ZodNativeEnum< typeof CustomEnvironmentType > = z.nativeEnum(CustomEnvironmentType); - /** @internal */ export const CustomEnvironmentType$outboundSchema: z.ZodNativeEnum< typeof CustomEnvironmentType > = CustomEnvironmentType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CustomEnvironmentType$ { - /** @deprecated use `CustomEnvironmentType$inboundSchema` instead. */ - export const inboundSchema = CustomEnvironmentType$inboundSchema; - /** @deprecated use `CustomEnvironmentType$outboundSchema` instead. */ - export const outboundSchema = CustomEnvironmentType$outboundSchema; -} - /** @internal */ export const CreateDeploymentCustomEnvironmentType$inboundSchema: z.ZodNativeEnum = z.nativeEnum( CreateDeploymentCustomEnvironmentType, ); - /** @internal */ export const CreateDeploymentCustomEnvironmentType$outboundSchema: z.ZodNativeEnum = CreateDeploymentCustomEnvironmentType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateDeploymentCustomEnvironmentType$ { - /** @deprecated use `CreateDeploymentCustomEnvironmentType$inboundSchema` instead. */ - export const inboundSchema = - CreateDeploymentCustomEnvironmentType$inboundSchema; - /** @deprecated use `CreateDeploymentCustomEnvironmentType$outboundSchema` instead. */ - export const outboundSchema = - CreateDeploymentCustomEnvironmentType$outboundSchema; -} - /** @internal */ export const CustomEnvironmentBranchMatcher$inboundSchema: z.ZodType< CustomEnvironmentBranchMatcher, @@ -4463,7 +3805,6 @@ export const CustomEnvironmentBranchMatcher$inboundSchema: z.ZodType< type: CreateDeploymentCustomEnvironmentType$inboundSchema, pattern: z.string(), }); - /** @internal */ export type CustomEnvironmentBranchMatcher$Outbound = { type: string; @@ -4480,19 +3821,6 @@ export const CustomEnvironmentBranchMatcher$outboundSchema: z.ZodType< 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 CustomEnvironmentBranchMatcher$ { - /** @deprecated use `CustomEnvironmentBranchMatcher$inboundSchema` instead. */ - export const inboundSchema = CustomEnvironmentBranchMatcher$inboundSchema; - /** @deprecated use `CustomEnvironmentBranchMatcher$outboundSchema` instead. */ - export const outboundSchema = CustomEnvironmentBranchMatcher$outboundSchema; - /** @deprecated use `CustomEnvironmentBranchMatcher$Outbound` instead. */ - export type Outbound = CustomEnvironmentBranchMatcher$Outbound; -} - export function customEnvironmentBranchMatcherToJSON( customEnvironmentBranchMatcher: CustomEnvironmentBranchMatcher, ): string { @@ -4502,7 +3830,6 @@ export function customEnvironmentBranchMatcherToJSON( ), ); } - export function customEnvironmentBranchMatcherFromJSON( jsonString: string, ): SafeParseResult { @@ -4524,7 +3851,6 @@ export const CustomEnvironmentVerification$inboundSchema: z.ZodType< value: z.string(), reason: z.string(), }); - /** @internal */ export type CustomEnvironmentVerification$Outbound = { type: string; @@ -4545,19 +3871,6 @@ export const CustomEnvironmentVerification$outboundSchema: z.ZodType< 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 CustomEnvironmentVerification$ { - /** @deprecated use `CustomEnvironmentVerification$inboundSchema` instead. */ - export const inboundSchema = CustomEnvironmentVerification$inboundSchema; - /** @deprecated use `CustomEnvironmentVerification$outboundSchema` instead. */ - export const outboundSchema = CustomEnvironmentVerification$outboundSchema; - /** @deprecated use `CustomEnvironmentVerification$Outbound` instead. */ - export type Outbound = CustomEnvironmentVerification$Outbound; -} - export function customEnvironmentVerificationToJSON( customEnvironmentVerification: CustomEnvironmentVerification, ): string { @@ -4567,7 +3880,6 @@ export function customEnvironmentVerificationToJSON( ), ); } - export function customEnvironmentVerificationFromJSON( jsonString: string, ): SafeParseResult { @@ -4598,7 +3910,6 @@ export const CustomEnvironmentDomains$inboundSchema: z.ZodType< z.lazy(() => CustomEnvironmentVerification$inboundSchema), ).optional(), }); - /** @internal */ export type CustomEnvironmentDomains$Outbound = { name: string; @@ -4635,19 +3946,6 @@ export const CustomEnvironmentDomains$outboundSchema: z.ZodType< ).optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CustomEnvironmentDomains$ { - /** @deprecated use `CustomEnvironmentDomains$inboundSchema` instead. */ - export const inboundSchema = CustomEnvironmentDomains$inboundSchema; - /** @deprecated use `CustomEnvironmentDomains$outboundSchema` instead. */ - export const outboundSchema = CustomEnvironmentDomains$outboundSchema; - /** @deprecated use `CustomEnvironmentDomains$Outbound` instead. */ - export type Outbound = CustomEnvironmentDomains$Outbound; -} - export function customEnvironmentDomainsToJSON( customEnvironmentDomains: CustomEnvironmentDomains, ): string { @@ -4655,7 +3953,6 @@ export function customEnvironmentDomainsToJSON( CustomEnvironmentDomains$outboundSchema.parse(customEnvironmentDomains), ); } - export function customEnvironmentDomainsFromJSON( jsonString: string, ): SafeParseResult { @@ -4684,7 +3981,6 @@ export const CustomEnvironment1$inboundSchema: z.ZodType< createdAt: z.number(), updatedAt: z.number(), }); - /** @internal */ export type CustomEnvironment1$Outbound = { id: string; @@ -4717,19 +4013,6 @@ export const CustomEnvironment1$outboundSchema: z.ZodType< 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 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 { @@ -4737,7 +4020,6 @@ export function customEnvironment1ToJSON( CustomEnvironment1$outboundSchema.parse(customEnvironment1), ); } - export function customEnvironment1FromJSON( jsonString: string, ): SafeParseResult { @@ -4757,7 +4039,6 @@ export const CustomEnvironment$inboundSchema: z.ZodType< z.lazy(() => CustomEnvironment1$inboundSchema), z.lazy(() => CustomEnvironment2$inboundSchema), ]); - /** @internal */ export type CustomEnvironment$Outbound = | CustomEnvironment1$Outbound @@ -4773,19 +4054,6 @@ export const CustomEnvironment$outboundSchema: z.ZodType< 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 { @@ -4793,7 +4061,6 @@ export function customEnvironmentToJSON( CustomEnvironment$outboundSchema.parse(customEnvironment), ); } - export function customEnvironmentFromJSON( jsonString: string, ): SafeParseResult { @@ -4807,96 +4074,162 @@ export function customEnvironmentFromJSON( /** @internal */ export const OomReport$inboundSchema: z.ZodNativeEnum = z .nativeEnum(OomReport); - /** @internal */ export const OomReport$outboundSchema: z.ZodNativeEnum = OomReport$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace OomReport$ { - /** @deprecated use `OomReport$inboundSchema` instead. */ - export const inboundSchema = OomReport$inboundSchema; - /** @deprecated use `OomReport$outboundSchema` instead. */ - export const outboundSchema = OomReport$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(), +}); + +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 ReadyState$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(ReadyState); +/** @internal */ +export const ReadyState$outboundSchema: z.ZodNativeEnum = + ReadyState$inboundSchema; + /** @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 CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type$inboundSchema: - z.ZodNativeEnum< - typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type - > = z.nativeEnum( - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type, - ); - -/** @internal */ -export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type$outboundSchema: - z.ZodNativeEnum< - typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type - > = - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type$ { - /** @deprecated use `CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type$inboundSchema` instead. */ - export const inboundSchema = - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type$inboundSchema; - /** @deprecated use `CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type$outboundSchema` instead. */ - export const outboundSchema = - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type$outboundSchema; -} - /** @internal */ -export const CreateDeploymentGitSource15$inboundSchema: z.ZodType< - CreateDeploymentGitSource15, +export const AliasError$inboundSchema: z.ZodType< + AliasError, z.ZodTypeDef, unknown > = z.object({ - type: - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type$inboundSchema, - ref: z.string(), - sha: z.string(), - owner: z.string().optional(), - slug: z.string().optional(), - workspaceUuid: z.string(), - repoUuid: z.string(), + code: z.string(), + message: z.string(), }); - /** @internal */ -export type CreateDeploymentGitSource15$Outbound = { - type: string; - ref: string; - sha: string; - owner?: string | undefined; - slug?: string | undefined; - workspaceUuid: string; - repoUuid: string; +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(), +}); + +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 */ +export const ChecksConclusion$inboundSchema: z.ZodNativeEnum< + typeof ChecksConclusion +> = z.nativeEnum(ChecksConclusion); +/** @internal */ +export const ChecksConclusion$outboundSchema: z.ZodNativeEnum< + typeof ChecksConclusion +> = ChecksConclusion$inboundSchema; + +/** @internal */ +export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type$inboundSchema: + z.ZodNativeEnum< + typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type + > = z.nativeEnum( + CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type, + ); +/** @internal */ +export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type$outboundSchema: + z.ZodNativeEnum< + typeof CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type + > = + CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type$inboundSchema; + +/** @internal */ +export const CreateDeploymentGitSource15$inboundSchema: z.ZodType< + CreateDeploymentGitSource15, + z.ZodTypeDef, + unknown +> = z.object({ + type: + CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody15Type$inboundSchema, + ref: z.string(), + sha: z.string(), + owner: z.string().optional(), + slug: z.string().optional(), + workspaceUuid: z.string(), + repoUuid: z.string(), +}); +/** @internal */ +export type CreateDeploymentGitSource15$Outbound = { + type: string; + ref: string; + sha: string; + owner?: string | undefined; + slug?: string | undefined; + workspaceUuid: string; + repoUuid: string; }; /** @internal */ @@ -4915,19 +4248,6 @@ export const CreateDeploymentGitSource15$outboundSchema: z.ZodType< 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 CreateDeploymentGitSource15$ { - /** @deprecated use `CreateDeploymentGitSource15$inboundSchema` instead. */ - export const inboundSchema = CreateDeploymentGitSource15$inboundSchema; - /** @deprecated use `CreateDeploymentGitSource15$outboundSchema` instead. */ - export const outboundSchema = CreateDeploymentGitSource15$outboundSchema; - /** @deprecated use `CreateDeploymentGitSource15$Outbound` instead. */ - export type Outbound = CreateDeploymentGitSource15$Outbound; -} - export function createDeploymentGitSource15ToJSON( createDeploymentGitSource15: CreateDeploymentGitSource15, ): string { @@ -4937,7 +4257,6 @@ export function createDeploymentGitSource15ToJSON( ), ); } - export function createDeploymentGitSource15FromJSON( jsonString: string, ): SafeParseResult { @@ -4955,7 +4274,6 @@ export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONRespo > = z.nativeEnum( CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type, ); - /** @internal */ export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type$outboundSchema: z.ZodNativeEnum< @@ -4963,19 +4281,6 @@ export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONRespo > = CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type$ { - /** @deprecated use `CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type$inboundSchema` instead. */ - export const inboundSchema = - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type$inboundSchema; - /** @deprecated use `CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type$outboundSchema` instead. */ - export const outboundSchema = - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody14Type$outboundSchema; -} - /** @internal */ export const CreateDeploymentGitSource14$inboundSchema: z.ZodType< CreateDeploymentGitSource14, @@ -4988,7 +4293,6 @@ export const CreateDeploymentGitSource14$inboundSchema: z.ZodType< sha: z.string(), projectId: z.number(), }); - /** @internal */ export type CreateDeploymentGitSource14$Outbound = { type: string; @@ -5010,19 +4314,6 @@ export const CreateDeploymentGitSource14$outboundSchema: z.ZodType< 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 CreateDeploymentGitSource14$ { - /** @deprecated use `CreateDeploymentGitSource14$inboundSchema` instead. */ - export const inboundSchema = CreateDeploymentGitSource14$inboundSchema; - /** @deprecated use `CreateDeploymentGitSource14$outboundSchema` instead. */ - export const outboundSchema = CreateDeploymentGitSource14$outboundSchema; - /** @deprecated use `CreateDeploymentGitSource14$Outbound` instead. */ - export type Outbound = CreateDeploymentGitSource14$Outbound; -} - export function createDeploymentGitSource14ToJSON( createDeploymentGitSource14: CreateDeploymentGitSource14, ): string { @@ -5032,7 +4323,6 @@ export function createDeploymentGitSource14ToJSON( ), ); } - export function createDeploymentGitSource14FromJSON( jsonString: string, ): SafeParseResult { @@ -5050,7 +4340,6 @@ export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONRespo > = z.nativeEnum( CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody13Type, ); - /** @internal */ export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody13Type$outboundSchema: z.ZodNativeEnum< @@ -5058,19 +4347,6 @@ export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONRespo > = CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody13Type$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody13Type$ { - /** @deprecated use `CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody13Type$inboundSchema` instead. */ - export const inboundSchema = - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody13Type$inboundSchema; - /** @deprecated use `CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody13Type$outboundSchema` instead. */ - export const outboundSchema = - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody13Type$outboundSchema; -} - /** @internal */ export const CreateDeploymentGitSource13$inboundSchema: z.ZodType< CreateDeploymentGitSource13, @@ -5085,7 +4361,6 @@ export const CreateDeploymentGitSource13$inboundSchema: z.ZodType< org: z.string().optional(), repo: z.string().optional(), }); - /** @internal */ export type CreateDeploymentGitSource13$Outbound = { type: string; @@ -5111,19 +4386,6 @@ export const CreateDeploymentGitSource13$outboundSchema: z.ZodType< 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 CreateDeploymentGitSource13$ { - /** @deprecated use `CreateDeploymentGitSource13$inboundSchema` instead. */ - export const inboundSchema = CreateDeploymentGitSource13$inboundSchema; - /** @deprecated use `CreateDeploymentGitSource13$outboundSchema` instead. */ - export const outboundSchema = CreateDeploymentGitSource13$outboundSchema; - /** @deprecated use `CreateDeploymentGitSource13$Outbound` instead. */ - export type Outbound = CreateDeploymentGitSource13$Outbound; -} - export function createDeploymentGitSource13ToJSON( createDeploymentGitSource13: CreateDeploymentGitSource13, ): string { @@ -5133,7 +4395,6 @@ export function createDeploymentGitSource13ToJSON( ), ); } - export function createDeploymentGitSource13FromJSON( jsonString: string, ): SafeParseResult { @@ -5151,7 +4412,6 @@ export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONRespo > = z.nativeEnum( CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type, ); - /** @internal */ export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type$outboundSchema: z.ZodNativeEnum< @@ -5159,19 +4419,6 @@ export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONRespo > = CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type$ { - /** @deprecated use `CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type$inboundSchema` instead. */ - export const inboundSchema = - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type$inboundSchema; - /** @deprecated use `CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type$outboundSchema` instead. */ - export const outboundSchema = - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody12Type$outboundSchema; -} - /** @internal */ export const CreateDeploymentGitSource12$inboundSchema: z.ZodType< CreateDeploymentGitSource12, @@ -5187,7 +4434,6 @@ export const CreateDeploymentGitSource12$inboundSchema: z.ZodType< org: z.string().optional(), repo: z.string().optional(), }); - /** @internal */ export type CreateDeploymentGitSource12$Outbound = { type: string; @@ -5215,19 +4461,6 @@ export const CreateDeploymentGitSource12$outboundSchema: z.ZodType< 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 CreateDeploymentGitSource12$ { - /** @deprecated use `CreateDeploymentGitSource12$inboundSchema` instead. */ - export const inboundSchema = CreateDeploymentGitSource12$inboundSchema; - /** @deprecated use `CreateDeploymentGitSource12$outboundSchema` instead. */ - export const outboundSchema = CreateDeploymentGitSource12$outboundSchema; - /** @deprecated use `CreateDeploymentGitSource12$Outbound` instead. */ - export type Outbound = CreateDeploymentGitSource12$Outbound; -} - export function createDeploymentGitSource12ToJSON( createDeploymentGitSource12: CreateDeploymentGitSource12, ): string { @@ -5237,7 +4470,6 @@ export function createDeploymentGitSource12ToJSON( ), ); } - export function createDeploymentGitSource12FromJSON( jsonString: string, ): SafeParseResult { @@ -5255,7 +4487,6 @@ export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONRespo > = z.nativeEnum( CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type, ); - /** @internal */ export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type$outboundSchema: z.ZodNativeEnum< @@ -5263,19 +4494,6 @@ export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONRespo > = CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type$ { - /** @deprecated use `CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type$inboundSchema` instead. */ - export const inboundSchema = - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type$inboundSchema; - /** @deprecated use `CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type$outboundSchema` instead. */ - export const outboundSchema = - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type$outboundSchema; -} - /** @internal */ export const CreateDeploymentGitSource11$inboundSchema: z.ZodType< CreateDeploymentGitSource11, @@ -5290,7 +4508,6 @@ export const CreateDeploymentGitSource11$inboundSchema: z.ZodType< org: z.string().optional(), repo: z.string().optional(), }); - /** @internal */ export type CreateDeploymentGitSource11$Outbound = { type: string; @@ -5316,19 +4533,6 @@ export const CreateDeploymentGitSource11$outboundSchema: z.ZodType< 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 CreateDeploymentGitSource11$ { - /** @deprecated use `CreateDeploymentGitSource11$inboundSchema` instead. */ - export const inboundSchema = CreateDeploymentGitSource11$inboundSchema; - /** @deprecated use `CreateDeploymentGitSource11$outboundSchema` instead. */ - export const outboundSchema = CreateDeploymentGitSource11$outboundSchema; - /** @deprecated use `CreateDeploymentGitSource11$Outbound` instead. */ - export type Outbound = CreateDeploymentGitSource11$Outbound; -} - export function createDeploymentGitSource11ToJSON( createDeploymentGitSource11: CreateDeploymentGitSource11, ): string { @@ -5338,7 +4542,6 @@ export function createDeploymentGitSource11ToJSON( ), ); } - export function createDeploymentGitSource11FromJSON( jsonString: string, ): SafeParseResult { @@ -5356,7 +4559,6 @@ export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONRespo > = z.nativeEnum( CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody10Type, ); - /** @internal */ export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody10Type$outboundSchema: z.ZodNativeEnum< @@ -5364,19 +4566,6 @@ export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONRespo > = CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody10Type$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody10Type$ { - /** @deprecated use `CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody10Type$inboundSchema` instead. */ - export const inboundSchema = - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody10Type$inboundSchema; - /** @deprecated use `CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody10Type$outboundSchema` instead. */ - export const outboundSchema = - CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody10Type$outboundSchema; -} - /** @internal */ export const CreateDeploymentGitSource10$inboundSchema: z.ZodType< CreateDeploymentGitSource10, @@ -5389,7 +4578,6 @@ export const CreateDeploymentGitSource10$inboundSchema: z.ZodType< sha: z.string(), gitUrl: z.string(), }); - /** @internal */ export type CreateDeploymentGitSource10$Outbound = { type: string; @@ -5411,19 +4599,6 @@ export const CreateDeploymentGitSource10$outboundSchema: z.ZodType< 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 CreateDeploymentGitSource10$ { - /** @deprecated use `CreateDeploymentGitSource10$inboundSchema` instead. */ - export const inboundSchema = CreateDeploymentGitSource10$inboundSchema; - /** @deprecated use `CreateDeploymentGitSource10$outboundSchema` instead. */ - export const outboundSchema = CreateDeploymentGitSource10$outboundSchema; - /** @deprecated use `CreateDeploymentGitSource10$Outbound` instead. */ - export type Outbound = CreateDeploymentGitSource10$Outbound; -} - export function createDeploymentGitSource10ToJSON( createDeploymentGitSource10: CreateDeploymentGitSource10, ): string { @@ -5433,7 +4608,6 @@ export function createDeploymentGitSource10ToJSON( ), ); } - export function createDeploymentGitSource10FromJSON( jsonString: string, ): SafeParseResult { @@ -5451,7 +4625,6 @@ export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONRespo > = z.nativeEnum( CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type, ); - /** @internal */ export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody9Type$outboundSchema: z.ZodNativeEnum< @@ -5459,19 +4632,6 @@ export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONRespo > = 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, @@ -5486,7 +4646,6 @@ export const CreateDeploymentGitSource9$inboundSchema: z.ZodType< sha: z.string().optional(), prId: z.nullable(z.number()).optional(), }); - /** @internal */ export type CreateDeploymentGitSource9$Outbound = { type: string; @@ -5512,19 +4671,6 @@ export const CreateDeploymentGitSource9$outboundSchema: z.ZodType< 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 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 { @@ -5532,7 +4678,6 @@ export function createDeploymentGitSource9ToJSON( CreateDeploymentGitSource9$outboundSchema.parse(createDeploymentGitSource9), ); } - export function createDeploymentGitSource9FromJSON( jsonString: string, ): SafeParseResult { @@ -5550,7 +4695,6 @@ export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONRespo > = z.nativeEnum( CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type, ); - /** @internal */ export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody8Type$outboundSchema: z.ZodNativeEnum< @@ -5558,19 +4702,6 @@ export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONRespo > = 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, @@ -5585,7 +4716,6 @@ export const CreateDeploymentGitSource8$inboundSchema: z.ZodType< sha: z.string().optional(), prId: z.nullable(z.number()).optional(), }); - /** @internal */ export type CreateDeploymentGitSource8$Outbound = { type: string; @@ -5611,19 +4741,6 @@ export const CreateDeploymentGitSource8$outboundSchema: z.ZodType< 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 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 { @@ -5631,7 +4748,6 @@ export function createDeploymentGitSource8ToJSON( CreateDeploymentGitSource8$outboundSchema.parse(createDeploymentGitSource8), ); } - export function createDeploymentGitSource8FromJSON( jsonString: string, ): SafeParseResult { @@ -5649,7 +4765,6 @@ export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONRespo > = z.nativeEnum( CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type, ); - /** @internal */ export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody7Type$outboundSchema: z.ZodNativeEnum< @@ -5657,26 +4772,12 @@ export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONRespo > = 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 GitSourceProjectId$inboundSchema: z.ZodType< GitSourceProjectId, z.ZodTypeDef, unknown > = z.union([z.string(), z.number()]); - /** @internal */ export type GitSourceProjectId$Outbound = string | number; @@ -5687,19 +4788,6 @@ export const GitSourceProjectId$outboundSchema: z.ZodType< 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 { @@ -5707,7 +4795,6 @@ export function gitSourceProjectIdToJSON( GitSourceProjectId$outboundSchema.parse(gitSourceProjectId), ); } - export function gitSourceProjectIdFromJSON( jsonString: string, ): SafeParseResult { @@ -5731,7 +4818,6 @@ export const CreateDeploymentGitSource7$inboundSchema: z.ZodType< sha: z.string().optional(), prId: z.nullable(z.number()).optional(), }); - /** @internal */ export type CreateDeploymentGitSource7$Outbound = { type: string; @@ -5755,19 +4841,6 @@ export const CreateDeploymentGitSource7$outboundSchema: z.ZodType< 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 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 { @@ -5775,7 +4848,6 @@ export function createDeploymentGitSource7ToJSON( CreateDeploymentGitSource7$outboundSchema.parse(createDeploymentGitSource7), ); } - export function createDeploymentGitSource7FromJSON( jsonString: string, ): SafeParseResult { @@ -5793,7 +4865,6 @@ export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONRespo > = z.nativeEnum( CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody6Type, ); - /** @internal */ export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody6Type$outboundSchema: z.ZodNativeEnum< @@ -5801,19 +4872,6 @@ export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONRespo > = 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, @@ -5828,7 +4886,6 @@ export const CreateDeploymentGitSource6$inboundSchema: z.ZodType< sha: z.string().optional(), prId: z.nullable(z.number()).optional(), }); - /** @internal */ export type CreateDeploymentGitSource6$Outbound = { type: string; @@ -5854,19 +4911,6 @@ export const CreateDeploymentGitSource6$outboundSchema: z.ZodType< 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 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 { @@ -5874,7 +4918,6 @@ export function createDeploymentGitSource6ToJSON( CreateDeploymentGitSource6$outboundSchema.parse(createDeploymentGitSource6), ); } - export function createDeploymentGitSource6FromJSON( jsonString: string, ): SafeParseResult { @@ -5892,7 +4935,6 @@ export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONRespo > = z.nativeEnum( CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody5Type, ); - /** @internal */ export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody5Type$outboundSchema: z.ZodNativeEnum< @@ -5900,19 +4942,6 @@ export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONRespo > = 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 CreateDeploymentGitSourceDeploymentsResponseRepoId$inboundSchema: z.ZodType< @@ -5920,7 +4949,6 @@ export const CreateDeploymentGitSourceDeploymentsResponseRepoId$inboundSchema: z.ZodTypeDef, unknown > = z.union([z.string(), z.number()]); - /** @internal */ export type CreateDeploymentGitSourceDeploymentsResponseRepoId$Outbound = | string @@ -5934,22 +4962,6 @@ export const CreateDeploymentGitSourceDeploymentsResponseRepoId$outboundSchema: CreateDeploymentGitSourceDeploymentsResponseRepoId > = 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 CreateDeploymentGitSourceDeploymentsResponseRepoId$ { - /** @deprecated use `CreateDeploymentGitSourceDeploymentsResponseRepoId$inboundSchema` instead. */ - export const inboundSchema = - CreateDeploymentGitSourceDeploymentsResponseRepoId$inboundSchema; - /** @deprecated use `CreateDeploymentGitSourceDeploymentsResponseRepoId$outboundSchema` instead. */ - export const outboundSchema = - CreateDeploymentGitSourceDeploymentsResponseRepoId$outboundSchema; - /** @deprecated use `CreateDeploymentGitSourceDeploymentsResponseRepoId$Outbound` instead. */ - export type Outbound = - CreateDeploymentGitSourceDeploymentsResponseRepoId$Outbound; -} - export function createDeploymentGitSourceDeploymentsResponseRepoIdToJSON( createDeploymentGitSourceDeploymentsResponseRepoId: CreateDeploymentGitSourceDeploymentsResponseRepoId, @@ -5960,7 +4972,6 @@ export function createDeploymentGitSourceDeploymentsResponseRepoIdToJSON( ), ); } - export function createDeploymentGitSourceDeploymentsResponseRepoIdFromJSON( jsonString: string, ): SafeParseResult< @@ -5990,7 +5001,6 @@ export const CreateDeploymentGitSource5$inboundSchema: z.ZodType< sha: z.string().optional(), prId: z.nullable(z.number()).optional(), }); - /** @internal */ export type CreateDeploymentGitSource5$Outbound = { type: string; @@ -6014,19 +5024,6 @@ export const CreateDeploymentGitSource5$outboundSchema: z.ZodType< 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 CreateDeploymentGitSource5$ { - /** @deprecated use `CreateDeploymentGitSource5$inboundSchema` instead. */ - export const inboundSchema = CreateDeploymentGitSource5$inboundSchema; - /** @deprecated use `CreateDeploymentGitSource5$outboundSchema` instead. */ - export const outboundSchema = CreateDeploymentGitSource5$outboundSchema; - /** @deprecated use `CreateDeploymentGitSource5$Outbound` instead. */ - export type Outbound = CreateDeploymentGitSource5$Outbound; -} - export function createDeploymentGitSource5ToJSON( createDeploymentGitSource5: CreateDeploymentGitSource5, ): string { @@ -6034,7 +5031,6 @@ export function createDeploymentGitSource5ToJSON( CreateDeploymentGitSource5$outboundSchema.parse(createDeploymentGitSource5), ); } - export function createDeploymentGitSource5FromJSON( jsonString: string, ): SafeParseResult { @@ -6052,7 +5048,6 @@ export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONRespo > = z.nativeEnum( CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType, ); - /** @internal */ export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType$outboundSchema: z.ZodNativeEnum< @@ -6060,19 +5055,6 @@ export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONRespo > = 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 CreateDeploymentGitSource4$inboundSchema: z.ZodType< CreateDeploymentGitSource4, @@ -6088,7 +5070,6 @@ export const CreateDeploymentGitSource4$inboundSchema: z.ZodType< sha: z.string().optional(), prId: z.nullable(z.number()).optional(), }); - /** @internal */ export type CreateDeploymentGitSource4$Outbound = { type: string; @@ -6116,19 +5097,6 @@ export const CreateDeploymentGitSource4$outboundSchema: z.ZodType< 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 CreateDeploymentGitSource4$ { - /** @deprecated use `CreateDeploymentGitSource4$inboundSchema` instead. */ - export const inboundSchema = CreateDeploymentGitSource4$inboundSchema; - /** @deprecated use `CreateDeploymentGitSource4$outboundSchema` instead. */ - export const outboundSchema = CreateDeploymentGitSource4$outboundSchema; - /** @deprecated use `CreateDeploymentGitSource4$Outbound` instead. */ - export type Outbound = CreateDeploymentGitSource4$Outbound; -} - export function createDeploymentGitSource4ToJSON( createDeploymentGitSource4: CreateDeploymentGitSource4, ): string { @@ -6136,7 +5104,6 @@ export function createDeploymentGitSource4ToJSON( CreateDeploymentGitSource4$outboundSchema.parse(createDeploymentGitSource4), ); } - export function createDeploymentGitSource4FromJSON( jsonString: string, ): SafeParseResult { @@ -6154,7 +5121,6 @@ export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$ > = z.nativeEnum( CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONType, ); - /** @internal */ export const CreateDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$outboundSchema: z.ZodNativeEnum< @@ -6162,24 +5128,10 @@ export const 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 CreateDeploymentGitSourceDeploymentsRepoId$inboundSchema: z.ZodType = z.union([z.string(), z.number()]); - /** @internal */ export type CreateDeploymentGitSourceDeploymentsRepoId$Outbound = | string @@ -6193,21 +5145,6 @@ export const CreateDeploymentGitSourceDeploymentsRepoId$outboundSchema: CreateDeploymentGitSourceDeploymentsRepoId > = 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 CreateDeploymentGitSourceDeploymentsRepoId$ { - /** @deprecated use `CreateDeploymentGitSourceDeploymentsRepoId$inboundSchema` instead. */ - export const inboundSchema = - CreateDeploymentGitSourceDeploymentsRepoId$inboundSchema; - /** @deprecated use `CreateDeploymentGitSourceDeploymentsRepoId$outboundSchema` instead. */ - export const outboundSchema = - CreateDeploymentGitSourceDeploymentsRepoId$outboundSchema; - /** @deprecated use `CreateDeploymentGitSourceDeploymentsRepoId$Outbound` instead. */ - export type Outbound = CreateDeploymentGitSourceDeploymentsRepoId$Outbound; -} - export function createDeploymentGitSourceDeploymentsRepoIdToJSON( createDeploymentGitSourceDeploymentsRepoId: CreateDeploymentGitSourceDeploymentsRepoId, @@ -6218,7 +5155,6 @@ export function createDeploymentGitSourceDeploymentsRepoIdToJSON( ), ); } - export function createDeploymentGitSourceDeploymentsRepoIdFromJSON( jsonString: string, ): SafeParseResult< @@ -6249,7 +5185,6 @@ export const CreateDeploymentGitSource3$inboundSchema: z.ZodType< sha: z.string().optional(), prId: z.nullable(z.number()).optional(), }); - /** @internal */ export type CreateDeploymentGitSource3$Outbound = { type: string; @@ -6275,19 +5210,6 @@ export const CreateDeploymentGitSource3$outboundSchema: z.ZodType< 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 CreateDeploymentGitSource3$ { - /** @deprecated use `CreateDeploymentGitSource3$inboundSchema` instead. */ - export const inboundSchema = CreateDeploymentGitSource3$inboundSchema; - /** @deprecated use `CreateDeploymentGitSource3$outboundSchema` instead. */ - export const outboundSchema = CreateDeploymentGitSource3$outboundSchema; - /** @deprecated use `CreateDeploymentGitSource3$Outbound` instead. */ - export type Outbound = CreateDeploymentGitSource3$Outbound; -} - export function createDeploymentGitSource3ToJSON( createDeploymentGitSource3: CreateDeploymentGitSource3, ): string { @@ -6295,7 +5217,6 @@ export function createDeploymentGitSource3ToJSON( CreateDeploymentGitSource3$outboundSchema.parse(createDeploymentGitSource3), ); } - export function createDeploymentGitSource3FromJSON( jsonString: string, ): SafeParseResult { @@ -6310,25 +5231,11 @@ export function createDeploymentGitSource3FromJSON( 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, @@ -6342,7 +5249,6 @@ export const CreateDeploymentGitSource2$inboundSchema: z.ZodType< sha: z.string().optional(), prId: z.nullable(z.number()).optional(), }); - /** @internal */ export type CreateDeploymentGitSource2$Outbound = { type: string; @@ -6367,19 +5273,6 @@ export const CreateDeploymentGitSource2$outboundSchema: z.ZodType< 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 { @@ -6387,7 +5280,6 @@ export function createDeploymentGitSource2ToJSON( CreateDeploymentGitSource2$outboundSchema.parse(createDeploymentGitSource2), ); } - export function createDeploymentGitSource2FromJSON( jsonString: string, ): SafeParseResult { @@ -6402,32 +5294,17 @@ export function createDeploymentGitSource2FromJSON( 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 CreateDeploymentGitSourceRepoId$inboundSchema: z.ZodType< CreateDeploymentGitSourceRepoId, z.ZodTypeDef, unknown > = z.union([z.string(), z.number()]); - /** @internal */ export type CreateDeploymentGitSourceRepoId$Outbound = string | number; @@ -6438,19 +5315,6 @@ export const CreateDeploymentGitSourceRepoId$outboundSchema: z.ZodType< CreateDeploymentGitSourceRepoId > = 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 CreateDeploymentGitSourceRepoId$ { - /** @deprecated use `CreateDeploymentGitSourceRepoId$inboundSchema` instead. */ - export const inboundSchema = CreateDeploymentGitSourceRepoId$inboundSchema; - /** @deprecated use `CreateDeploymentGitSourceRepoId$outboundSchema` instead. */ - export const outboundSchema = CreateDeploymentGitSourceRepoId$outboundSchema; - /** @deprecated use `CreateDeploymentGitSourceRepoId$Outbound` instead. */ - export type Outbound = CreateDeploymentGitSourceRepoId$Outbound; -} - export function createDeploymentGitSourceRepoIdToJSON( createDeploymentGitSourceRepoId: CreateDeploymentGitSourceRepoId, ): string { @@ -6460,7 +5324,6 @@ export function createDeploymentGitSourceRepoIdToJSON( ), ); } - export function createDeploymentGitSourceRepoIdFromJSON( jsonString: string, ): SafeParseResult { @@ -6483,7 +5346,6 @@ export const CreateDeploymentGitSource1$inboundSchema: z.ZodType< sha: z.string().optional(), prId: z.nullable(z.number()).optional(), }); - /** @internal */ export type CreateDeploymentGitSource1$Outbound = { type: string; @@ -6506,19 +5368,6 @@ export const CreateDeploymentGitSource1$outboundSchema: z.ZodType< 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 { @@ -6526,7 +5375,6 @@ export function createDeploymentGitSource1ToJSON( CreateDeploymentGitSource1$outboundSchema.parse(createDeploymentGitSource1), ); } - export function createDeploymentGitSource1FromJSON( jsonString: string, ): SafeParseResult { @@ -6559,7 +5407,6 @@ export const CreateDeploymentGitSource$inboundSchema: z.ZodType< z.lazy(() => CreateDeploymentGitSource7$inboundSchema), z.lazy(() => CreateDeploymentGitSource8$inboundSchema), ]); - /** @internal */ export type CreateDeploymentGitSource$Outbound = | CreateDeploymentGitSource12$Outbound @@ -6601,19 +5448,6 @@ export const CreateDeploymentGitSource$outboundSchema: z.ZodType< z.lazy(() => CreateDeploymentGitSource8$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 { @@ -6621,7 +5455,6 @@ export function createDeploymentGitSourceToJSON( CreateDeploymentGitSource$outboundSchema.parse(createDeploymentGitSource), ); } - export function createDeploymentGitSourceFromJSON( jsonString: string, ): SafeParseResult { @@ -6632,6 +5465,15 @@ export function createDeploymentGitSourceFromJSON( ); } +/** @internal */ +export const CreateDeploymentNodeVersion$inboundSchema: z.ZodNativeEnum< + typeof CreateDeploymentNodeVersion +> = z.nativeEnum(CreateDeploymentNodeVersion); +/** @internal */ +export const CreateDeploymentNodeVersion$outboundSchema: z.ZodNativeEnum< + typeof CreateDeploymentNodeVersion +> = CreateDeploymentNodeVersion$inboundSchema; + /** @internal */ export const CreateDeploymentProject$inboundSchema: z.ZodType< CreateDeploymentProject, @@ -6642,7 +5484,6 @@ export const CreateDeploymentProject$inboundSchema: z.ZodType< name: z.string(), framework: z.nullable(z.string()).optional(), }); - /** @internal */ export type CreateDeploymentProject$Outbound = { id: string; @@ -6661,19 +5502,6 @@ export const CreateDeploymentProject$outboundSchema: z.ZodType< 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 CreateDeploymentProject$ { - /** @deprecated use `CreateDeploymentProject$inboundSchema` instead. */ - export const inboundSchema = CreateDeploymentProject$inboundSchema; - /** @deprecated use `CreateDeploymentProject$outboundSchema` instead. */ - export const outboundSchema = CreateDeploymentProject$outboundSchema; - /** @deprecated use `CreateDeploymentProject$Outbound` instead. */ - export type Outbound = CreateDeploymentProject$Outbound; -} - export function createDeploymentProjectToJSON( createDeploymentProject: CreateDeploymentProject, ): string { @@ -6681,7 +5509,6 @@ export function createDeploymentProjectToJSON( CreateDeploymentProject$outboundSchema.parse(createDeploymentProject), ); } - export function createDeploymentProjectFromJSON( jsonString: string, ): SafeParseResult { @@ -6693,239 +5520,32 @@ export function createDeploymentProjectFromJSON( } /** @internal */ -export const CreateDeploymentNodeVersion$inboundSchema: z.ZodNativeEnum< - typeof CreateDeploymentNodeVersion -> = z.nativeEnum(CreateDeploymentNodeVersion); - -/** @internal */ -export const CreateDeploymentNodeVersion$outboundSchema: z.ZodNativeEnum< - typeof CreateDeploymentNodeVersion -> = CreateDeploymentNodeVersion$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateDeploymentNodeVersion$ { - /** @deprecated use `CreateDeploymentNodeVersion$inboundSchema` instead. */ - export const inboundSchema = CreateDeploymentNodeVersion$inboundSchema; - /** @deprecated use `CreateDeploymentNodeVersion$outboundSchema` instead. */ - export const outboundSchema = CreateDeploymentNodeVersion$outboundSchema; -} - -/** @internal */ -export const ReadyState$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(ReadyState); - +export const ReadySubstate$inboundSchema: z.ZodNativeEnum< + typeof ReadySubstate +> = z.nativeEnum(ReadySubstate); /** @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; -} +export const ReadySubstate$outboundSchema: z.ZodNativeEnum< + typeof ReadySubstate +> = ReadySubstate$inboundSchema; /** @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 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 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 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 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 OidcTokenClaims$inboundSchema: z.ZodType< OidcTokenClaims, @@ -6941,13 +5561,13 @@ export const OidcTokenClaims$inboundSchema: z.ZodType< project: z.string(), project_id: z.string(), environment: z.string(), + plan: z.string(), }).transform((v) => { return remap$(v, { "owner_id": "ownerId", "project_id": "projectId", }); }); - /** @internal */ export type OidcTokenClaims$Outbound = { iss: string; @@ -6959,6 +5579,7 @@ export type OidcTokenClaims$Outbound = { project: string; project_id: string; environment: string; + plan: string; }; /** @internal */ @@ -6976,6 +5597,7 @@ export const OidcTokenClaims$outboundSchema: z.ZodType< project: z.string(), projectId: z.string(), environment: z.string(), + plan: z.string(), }).transform((v) => { return remap$(v, { ownerId: "owner_id", @@ -6983,25 +5605,11 @@ export const OidcTokenClaims$outboundSchema: z.ZodType< }); }); -/** - * @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 { @@ -7012,193 +5620,73 @@ export function oidcTokenClaimsFromJSON( ); } -/** @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 CreateDeploymentPlan$inboundSchema: z.ZodNativeEnum< typeof CreateDeploymentPlan > = z.nativeEnum(CreateDeploymentPlan); - /** @internal */ export const CreateDeploymentPlan$outboundSchema: z.ZodNativeEnum< typeof CreateDeploymentPlan > = CreateDeploymentPlan$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateDeploymentPlan$ { - /** @deprecated use `CreateDeploymentPlan$inboundSchema` instead. */ - export const inboundSchema = CreateDeploymentPlan$inboundSchema; - /** @deprecated use `CreateDeploymentPlan$outboundSchema` instead. */ - export const outboundSchema = CreateDeploymentPlan$outboundSchema; -} - -/** @internal */ -export const FunctionType$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(FunctionType); - /** @internal */ -export const FunctionType$outboundSchema: z.ZodNativeEnum = - FunctionType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FunctionType$ { - /** @deprecated use `FunctionType$inboundSchema` instead. */ - export const inboundSchema = FunctionType$inboundSchema; - /** @deprecated use `FunctionType$outboundSchema` instead. */ - export const outboundSchema = FunctionType$outboundSchema; -} - +export const CreateDeploymentCrons$inboundSchema: z.ZodType< + CreateDeploymentCrons, + z.ZodTypeDef, + unknown +> = z.object({ + schedule: z.string(), + path: z.string(), +}); /** @internal */ -export const FunctionMemoryType$inboundSchema: z.ZodNativeEnum< - typeof FunctionMemoryType -> = z.nativeEnum(FunctionMemoryType); +export type CreateDeploymentCrons$Outbound = { + schedule: string; + path: string; +}; /** @internal */ -export const FunctionMemoryType$outboundSchema: z.ZodNativeEnum< - typeof FunctionMemoryType -> = FunctionMemoryType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FunctionMemoryType$ { - /** @deprecated use `FunctionMemoryType$inboundSchema` instead. */ - export const inboundSchema = FunctionMemoryType$inboundSchema; - /** @deprecated use `FunctionMemoryType$outboundSchema` instead. */ - export const outboundSchema = FunctionMemoryType$outboundSchema; -} - -/** @internal */ -export const Config$inboundSchema: z.ZodType = z - .object({ - version: z.number().optional(), - functionType: FunctionType$inboundSchema, - functionMemoryType: FunctionMemoryType$inboundSchema, - functionTimeout: z.nullable(z.number()), - secureComputePrimaryRegion: z.nullable(z.string()), - secureComputeFallbackRegion: z.nullable(z.string()), - isUsingActiveCPU: z.boolean().optional(), - }); - -/** @internal */ -export type Config$Outbound = { - version?: number | undefined; - functionType: string; - functionMemoryType: string; - functionTimeout: number | null; - secureComputePrimaryRegion: string | null; - secureComputeFallbackRegion: string | null; - isUsingActiveCPU?: boolean | undefined; -}; - -/** @internal */ -export const Config$outboundSchema: z.ZodType< - Config$Outbound, +export const CreateDeploymentCrons$outboundSchema: z.ZodType< + CreateDeploymentCrons$Outbound, z.ZodTypeDef, - Config + CreateDeploymentCrons > = z.object({ - version: z.number().optional(), - functionType: FunctionType$outboundSchema, - functionMemoryType: FunctionMemoryType$outboundSchema, - functionTimeout: z.nullable(z.number()), - secureComputePrimaryRegion: z.nullable(z.string()), - secureComputeFallbackRegion: z.nullable(z.string()), - isUsingActiveCPU: z.boolean().optional(), + 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 Config$ { - /** @deprecated use `Config$inboundSchema` instead. */ - export const inboundSchema = Config$inboundSchema; - /** @deprecated use `Config$outboundSchema` instead. */ - export const outboundSchema = Config$outboundSchema; - /** @deprecated use `Config$Outbound` instead. */ - export type Outbound = Config$Outbound; -} - -export function configToJSON(config: Config): string { - return JSON.stringify(Config$outboundSchema.parse(config)); +export function createDeploymentCronsToJSON( + createDeploymentCrons: CreateDeploymentCrons, +): string { + return JSON.stringify( + CreateDeploymentCrons$outboundSchema.parse(createDeploymentCrons), + ); } - -export function configFromJSON( +export function createDeploymentCronsFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => Config$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Config' from JSON`, + (x) => CreateDeploymentCrons$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateDeploymentCrons' from JSON`, ); } /** @internal */ export const Architecture$inboundSchema: z.ZodNativeEnum = z.nativeEnum(Architecture); - /** @internal */ export const Architecture$outboundSchema: z.ZodNativeEnum = Architecture$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Architecture$ { - /** @deprecated use `Architecture$inboundSchema` instead. */ - export const inboundSchema = Architecture$inboundSchema; - /** @deprecated use `Architecture$outboundSchema` instead. */ - export const outboundSchema = Architecture$outboundSchema; -} - /** @internal */ export const CreateDeploymentDeploymentsType$inboundSchema: z.ZodNativeEnum< typeof CreateDeploymentDeploymentsType > = z.nativeEnum(CreateDeploymentDeploymentsType); - /** @internal */ export const CreateDeploymentDeploymentsType$outboundSchema: z.ZodNativeEnum< typeof CreateDeploymentDeploymentsType > = CreateDeploymentDeploymentsType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateDeploymentDeploymentsType$ { - /** @deprecated use `CreateDeploymentDeploymentsType$inboundSchema` instead. */ - export const inboundSchema = CreateDeploymentDeploymentsType$inboundSchema; - /** @deprecated use `CreateDeploymentDeploymentsType$outboundSchema` instead. */ - export const outboundSchema = CreateDeploymentDeploymentsType$outboundSchema; -} - /** @internal */ export const ExperimentalTriggers$inboundSchema: z.ZodType< ExperimentalTriggers, @@ -7212,7 +5700,6 @@ export const ExperimentalTriggers$inboundSchema: z.ZodType< retryAfterSeconds: z.number().optional(), initialDelaySeconds: z.number().optional(), }); - /** @internal */ export type ExperimentalTriggers$Outbound = { type: string; @@ -7237,19 +5724,6 @@ export const ExperimentalTriggers$outboundSchema: z.ZodType< initialDelaySeconds: 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 ExperimentalTriggers$ { - /** @deprecated use `ExperimentalTriggers$inboundSchema` instead. */ - export const inboundSchema = ExperimentalTriggers$inboundSchema; - /** @deprecated use `ExperimentalTriggers$outboundSchema` instead. */ - export const outboundSchema = ExperimentalTriggers$outboundSchema; - /** @deprecated use `ExperimentalTriggers$Outbound` instead. */ - export type Outbound = ExperimentalTriggers$Outbound; -} - export function experimentalTriggersToJSON( experimentalTriggers: ExperimentalTriggers, ): string { @@ -7257,7 +5731,6 @@ export function experimentalTriggersToJSON( ExperimentalTriggers$outboundSchema.parse(experimentalTriggers), ); } - export function experimentalTriggersFromJSON( jsonString: string, ): SafeParseResult { @@ -7285,7 +5758,6 @@ export const Functions$inboundSchema: z.ZodType< ).optional(), supportsCancellation: z.boolean().optional(), }); - /** @internal */ export type Functions$Outbound = { architecture?: string | undefined; @@ -7316,23 +5788,9 @@ export const Functions$outboundSchema: z.ZodType< supportsCancellation: 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 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 { @@ -7350,7 +5808,6 @@ export const Routes3$inboundSchema: z.ZodType = continue: z.boolean(), middleware: z.number(), }); - /** @internal */ export type Routes3$Outbound = { src: string; @@ -7369,23 +5826,9 @@ export const Routes3$outboundSchema: z.ZodType< 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 { @@ -7399,22 +5842,10 @@ export function routes3FromJSON( /** @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 Routes2$inboundSchema: z.ZodType = z.object({ @@ -7423,7 +5854,6 @@ export const Routes2$inboundSchema: z.ZodType = dest: z.string().optional(), status: z.number().optional(), }); - /** @internal */ export type Routes2$Outbound = { handle: string; @@ -7444,23 +5874,9 @@ export const Routes2$outboundSchema: z.ZodType< 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 { @@ -7475,28 +5891,14 @@ export function routes2FromJSON( export const CreateDeploymentHasDeploymentsType$inboundSchema: z.ZodNativeEnum< typeof CreateDeploymentHasDeploymentsType > = z.nativeEnum(CreateDeploymentHasDeploymentsType); - /** @internal */ export const CreateDeploymentHasDeploymentsType$outboundSchema: z.ZodNativeEnum< typeof CreateDeploymentHasDeploymentsType > = CreateDeploymentHasDeploymentsType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateDeploymentHasDeploymentsType$ { - /** @deprecated use `CreateDeploymentHasDeploymentsType$inboundSchema` instead. */ - export const inboundSchema = CreateDeploymentHasDeploymentsType$inboundSchema; - /** @deprecated use `CreateDeploymentHasDeploymentsType$outboundSchema` instead. */ - export const outboundSchema = - CreateDeploymentHasDeploymentsType$outboundSchema; -} - /** @internal */ export const ValueEq$inboundSchema: z.ZodType = z.union([z.string(), z.number()]); - /** @internal */ export type ValueEq$Outbound = string | number; @@ -7507,23 +5909,9 @@ export const ValueEq$outboundSchema: z.ZodType< ValueEq > = 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 ValueEq$ { - /** @deprecated use `ValueEq$inboundSchema` instead. */ - export const inboundSchema = ValueEq$inboundSchema; - /** @deprecated use `ValueEq$outboundSchema` instead. */ - export const outboundSchema = ValueEq$outboundSchema; - /** @deprecated use `ValueEq$Outbound` instead. */ - export type Outbound = ValueEq$Outbound; -} - export function valueEqToJSON(valueEq: ValueEq): string { return JSON.stringify(ValueEq$outboundSchema.parse(valueEq)); } - export function valueEqFromJSON( jsonString: string, ): SafeParseResult { @@ -7552,7 +5940,6 @@ export const CreateDeploymentValue2$inboundSchema: z.ZodType< lt: z.number().optional(), lte: z.number().optional(), }); - /** @internal */ export type CreateDeploymentValue2$Outbound = { eq?: string | number | undefined; @@ -7587,19 +5974,6 @@ export const CreateDeploymentValue2$outboundSchema: z.ZodType< 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 CreateDeploymentValue2$ { - /** @deprecated use `CreateDeploymentValue2$inboundSchema` instead. */ - export const inboundSchema = CreateDeploymentValue2$inboundSchema; - /** @deprecated use `CreateDeploymentValue2$outboundSchema` instead. */ - export const outboundSchema = CreateDeploymentValue2$outboundSchema; - /** @deprecated use `CreateDeploymentValue2$Outbound` instead. */ - export type Outbound = CreateDeploymentValue2$Outbound; -} - export function createDeploymentValue2ToJSON( createDeploymentValue2: CreateDeploymentValue2, ): string { @@ -7607,7 +5981,6 @@ export function createDeploymentValue2ToJSON( CreateDeploymentValue2$outboundSchema.parse(createDeploymentValue2), ); } - export function createDeploymentValue2FromJSON( jsonString: string, ): SafeParseResult { @@ -7624,7 +5997,6 @@ export const CreateDeploymentHasDeploymentsValue$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.union([z.string(), z.lazy(() => CreateDeploymentValue2$inboundSchema)]); - /** @internal */ export type CreateDeploymentHasDeploymentsValue$Outbound = | string @@ -7637,21 +6009,6 @@ export const CreateDeploymentHasDeploymentsValue$outboundSchema: z.ZodType< CreateDeploymentHasDeploymentsValue > = z.union([z.string(), z.lazy(() => CreateDeploymentValue2$outboundSchema)]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateDeploymentHasDeploymentsValue$ { - /** @deprecated use `CreateDeploymentHasDeploymentsValue$inboundSchema` instead. */ - export const inboundSchema = - CreateDeploymentHasDeploymentsValue$inboundSchema; - /** @deprecated use `CreateDeploymentHasDeploymentsValue$outboundSchema` instead. */ - export const outboundSchema = - CreateDeploymentHasDeploymentsValue$outboundSchema; - /** @deprecated use `CreateDeploymentHasDeploymentsValue$Outbound` instead. */ - export type Outbound = CreateDeploymentHasDeploymentsValue$Outbound; -} - export function createDeploymentHasDeploymentsValueToJSON( createDeploymentHasDeploymentsValue: CreateDeploymentHasDeploymentsValue, ): string { @@ -7661,7 +6018,6 @@ export function createDeploymentHasDeploymentsValueToJSON( ), ); } - export function createDeploymentHasDeploymentsValueFromJSON( jsonString: string, ): SafeParseResult { @@ -7686,7 +6042,6 @@ export const CreateDeploymentHas2$inboundSchema: z.ZodType< z.lazy(() => CreateDeploymentValue2$inboundSchema), ]).optional(), }); - /** @internal */ export type CreateDeploymentHas2$Outbound = { type: string; @@ -7708,19 +6063,6 @@ export const CreateDeploymentHas2$outboundSchema: z.ZodType< ]).optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateDeploymentHas2$ { - /** @deprecated use `CreateDeploymentHas2$inboundSchema` instead. */ - export const inboundSchema = CreateDeploymentHas2$inboundSchema; - /** @deprecated use `CreateDeploymentHas2$outboundSchema` instead. */ - export const outboundSchema = CreateDeploymentHas2$outboundSchema; - /** @deprecated use `CreateDeploymentHas2$Outbound` instead. */ - export type Outbound = CreateDeploymentHas2$Outbound; -} - export function createDeploymentHas2ToJSON( createDeploymentHas2: CreateDeploymentHas2, ): string { @@ -7728,7 +6070,6 @@ export function createDeploymentHas2ToJSON( CreateDeploymentHas2$outboundSchema.parse(createDeploymentHas2), ); } - export function createDeploymentHas2FromJSON( jsonString: string, ): SafeParseResult { @@ -7743,29 +6084,16 @@ export function createDeploymentHas2FromJSON( 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 Eq$inboundSchema: z.ZodType = z.union([ z.string(), z.number(), ]); - /** @internal */ export type Eq$Outbound = string | number; @@ -7773,23 +6101,9 @@ export type Eq$Outbound = string | number; export const Eq$outboundSchema: z.ZodType = 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 Eq$ { - /** @deprecated use `Eq$inboundSchema` instead. */ - export const inboundSchema = Eq$inboundSchema; - /** @deprecated use `Eq$outboundSchema` instead. */ - export const outboundSchema = Eq$outboundSchema; - /** @deprecated use `Eq$Outbound` instead. */ - export type Outbound = Eq$Outbound; -} - export function eqToJSON(eq: Eq): string { return JSON.stringify(Eq$outboundSchema.parse(eq)); } - export function eqFromJSON( jsonString: string, ): SafeParseResult { @@ -7819,7 +6133,6 @@ export const CreateDeploymentValueDeploymentsResponse2002$inboundSchema: lt: z.number().optional(), lte: z.number().optional(), }); - /** @internal */ export type CreateDeploymentValueDeploymentsResponse2002$Outbound = { eq?: string | number | undefined; @@ -7855,21 +6168,6 @@ export const CreateDeploymentValueDeploymentsResponse2002$outboundSchema: 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 CreateDeploymentValueDeploymentsResponse2002$ { - /** @deprecated use `CreateDeploymentValueDeploymentsResponse2002$inboundSchema` instead. */ - export const inboundSchema = - CreateDeploymentValueDeploymentsResponse2002$inboundSchema; - /** @deprecated use `CreateDeploymentValueDeploymentsResponse2002$outboundSchema` instead. */ - export const outboundSchema = - CreateDeploymentValueDeploymentsResponse2002$outboundSchema; - /** @deprecated use `CreateDeploymentValueDeploymentsResponse2002$Outbound` instead. */ - export type Outbound = CreateDeploymentValueDeploymentsResponse2002$Outbound; -} - export function createDeploymentValueDeploymentsResponse2002ToJSON( createDeploymentValueDeploymentsResponse2002: CreateDeploymentValueDeploymentsResponse2002, @@ -7880,7 +6178,6 @@ export function createDeploymentValueDeploymentsResponse2002ToJSON( ), ); } - export function createDeploymentValueDeploymentsResponse2002FromJSON( jsonString: string, ): SafeParseResult< @@ -7906,7 +6203,6 @@ export const CreateDeploymentHasValue$inboundSchema: z.ZodType< z.string(), z.lazy(() => CreateDeploymentValueDeploymentsResponse2002$inboundSchema), ]); - /** @internal */ export type CreateDeploymentHasValue$Outbound = | string @@ -7922,19 +6218,6 @@ export const CreateDeploymentHasValue$outboundSchema: z.ZodType< z.lazy(() => CreateDeploymentValueDeploymentsResponse2002$outboundSchema), ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateDeploymentHasValue$ { - /** @deprecated use `CreateDeploymentHasValue$inboundSchema` instead. */ - export const inboundSchema = CreateDeploymentHasValue$inboundSchema; - /** @deprecated use `CreateDeploymentHasValue$outboundSchema` instead. */ - export const outboundSchema = CreateDeploymentHasValue$outboundSchema; - /** @deprecated use `CreateDeploymentHasValue$Outbound` instead. */ - export type Outbound = CreateDeploymentHasValue$Outbound; -} - export function createDeploymentHasValueToJSON( createDeploymentHasValue: CreateDeploymentHasValue, ): string { @@ -7942,7 +6225,6 @@ export function createDeploymentHasValueToJSON( CreateDeploymentHasValue$outboundSchema.parse(createDeploymentHasValue), ); } - export function createDeploymentHasValueFromJSON( jsonString: string, ): SafeParseResult { @@ -7965,7 +6247,6 @@ export const CreateDeploymentHas1$inboundSchema: z.ZodType< z.lazy(() => CreateDeploymentValueDeploymentsResponse2002$inboundSchema), ]), }); - /** @internal */ export type CreateDeploymentHas1$Outbound = { type: string; @@ -7985,19 +6266,6 @@ export const CreateDeploymentHas1$outboundSchema: z.ZodType< ]), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateDeploymentHas1$ { - /** @deprecated use `CreateDeploymentHas1$inboundSchema` instead. */ - export const inboundSchema = CreateDeploymentHas1$inboundSchema; - /** @deprecated use `CreateDeploymentHas1$outboundSchema` instead. */ - export const outboundSchema = CreateDeploymentHas1$outboundSchema; - /** @deprecated use `CreateDeploymentHas1$Outbound` instead. */ - export type Outbound = CreateDeploymentHas1$Outbound; -} - export function createDeploymentHas1ToJSON( createDeploymentHas1: CreateDeploymentHas1, ): string { @@ -8005,7 +6273,6 @@ export function createDeploymentHas1ToJSON( CreateDeploymentHas1$outboundSchema.parse(createDeploymentHas1), ); } - export function createDeploymentHas1FromJSON( jsonString: string, ): SafeParseResult { @@ -8025,7 +6292,6 @@ export const RoutesHas$inboundSchema: z.ZodType< z.lazy(() => CreateDeploymentHas1$inboundSchema), z.lazy(() => CreateDeploymentHas2$inboundSchema), ]); - /** @internal */ export type RoutesHas$Outbound = | CreateDeploymentHas1$Outbound @@ -8041,23 +6307,9 @@ export const RoutesHas$outboundSchema: z.ZodType< z.lazy(() => CreateDeploymentHas2$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 { @@ -8072,30 +6324,17 @@ export function routesHasFromJSON( 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 CreateDeploymentValueDeploymentsEq$inboundSchema: z.ZodType< CreateDeploymentValueDeploymentsEq, z.ZodTypeDef, unknown > = z.union([z.string(), z.number()]); - /** @internal */ export type CreateDeploymentValueDeploymentsEq$Outbound = string | number; @@ -8106,20 +6345,6 @@ export const CreateDeploymentValueDeploymentsEq$outboundSchema: z.ZodType< CreateDeploymentValueDeploymentsEq > = 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 CreateDeploymentValueDeploymentsEq$ { - /** @deprecated use `CreateDeploymentValueDeploymentsEq$inboundSchema` instead. */ - export const inboundSchema = CreateDeploymentValueDeploymentsEq$inboundSchema; - /** @deprecated use `CreateDeploymentValueDeploymentsEq$outboundSchema` instead. */ - export const outboundSchema = - CreateDeploymentValueDeploymentsEq$outboundSchema; - /** @deprecated use `CreateDeploymentValueDeploymentsEq$Outbound` instead. */ - export type Outbound = CreateDeploymentValueDeploymentsEq$Outbound; -} - export function createDeploymentValueDeploymentsEqToJSON( createDeploymentValueDeploymentsEq: CreateDeploymentValueDeploymentsEq, ): string { @@ -8129,7 +6354,6 @@ export function createDeploymentValueDeploymentsEqToJSON( ), ); } - export function createDeploymentValueDeploymentsEqFromJSON( jsonString: string, ): SafeParseResult { @@ -8159,7 +6383,6 @@ export const CreateDeploymentValueDeploymentsResponse2$inboundSchema: z.ZodType< lt: z.number().optional(), lte: z.number().optional(), }); - /** @internal */ export type CreateDeploymentValueDeploymentsResponse2$Outbound = { eq?: string | number | undefined; @@ -8195,21 +6418,6 @@ export const CreateDeploymentValueDeploymentsResponse2$outboundSchema: 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 CreateDeploymentValueDeploymentsResponse2$ { - /** @deprecated use `CreateDeploymentValueDeploymentsResponse2$inboundSchema` instead. */ - export const inboundSchema = - CreateDeploymentValueDeploymentsResponse2$inboundSchema; - /** @deprecated use `CreateDeploymentValueDeploymentsResponse2$outboundSchema` instead. */ - export const outboundSchema = - CreateDeploymentValueDeploymentsResponse2$outboundSchema; - /** @deprecated use `CreateDeploymentValueDeploymentsResponse2$Outbound` instead. */ - export type Outbound = CreateDeploymentValueDeploymentsResponse2$Outbound; -} - export function createDeploymentValueDeploymentsResponse2ToJSON( createDeploymentValueDeploymentsResponse2: CreateDeploymentValueDeploymentsResponse2, @@ -8220,7 +6428,6 @@ export function createDeploymentValueDeploymentsResponse2ToJSON( ), ); } - export function createDeploymentValueDeploymentsResponse2FromJSON( jsonString: string, ): SafeParseResult< @@ -8246,7 +6453,6 @@ export const CreateDeploymentMissingValue$inboundSchema: z.ZodType< z.string(), z.lazy(() => CreateDeploymentValueDeploymentsResponse2$inboundSchema), ]); - /** @internal */ export type CreateDeploymentMissingValue$Outbound = | string @@ -8262,19 +6468,6 @@ export const CreateDeploymentMissingValue$outboundSchema: z.ZodType< z.lazy(() => CreateDeploymentValueDeploymentsResponse2$outboundSchema), ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateDeploymentMissingValue$ { - /** @deprecated use `CreateDeploymentMissingValue$inboundSchema` instead. */ - export const inboundSchema = CreateDeploymentMissingValue$inboundSchema; - /** @deprecated use `CreateDeploymentMissingValue$outboundSchema` instead. */ - export const outboundSchema = CreateDeploymentMissingValue$outboundSchema; - /** @deprecated use `CreateDeploymentMissingValue$Outbound` instead. */ - export type Outbound = CreateDeploymentMissingValue$Outbound; -} - export function createDeploymentMissingValueToJSON( createDeploymentMissingValue: CreateDeploymentMissingValue, ): string { @@ -8284,7 +6477,6 @@ export function createDeploymentMissingValueToJSON( ), ); } - export function createDeploymentMissingValueFromJSON( jsonString: string, ): SafeParseResult { @@ -8308,7 +6500,6 @@ export const Missing2$inboundSchema: z.ZodType< z.lazy(() => CreateDeploymentValueDeploymentsResponse2$inboundSchema), ]).optional(), }); - /** @internal */ export type Missing2$Outbound = { type: string; @@ -8333,23 +6524,9 @@ export const Missing2$outboundSchema: z.ZodType< ]).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 { @@ -8363,29 +6540,16 @@ export function missing2FromJSON( /** @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 CreateDeploymentValueEq$inboundSchema: z.ZodType< CreateDeploymentValueEq, z.ZodTypeDef, unknown > = z.union([z.string(), z.number()]); - /** @internal */ export type CreateDeploymentValueEq$Outbound = string | number; @@ -8396,19 +6560,6 @@ export const CreateDeploymentValueEq$outboundSchema: z.ZodType< CreateDeploymentValueEq > = 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 CreateDeploymentValueEq$ { - /** @deprecated use `CreateDeploymentValueEq$inboundSchema` instead. */ - export const inboundSchema = CreateDeploymentValueEq$inboundSchema; - /** @deprecated use `CreateDeploymentValueEq$outboundSchema` instead. */ - export const outboundSchema = CreateDeploymentValueEq$outboundSchema; - /** @deprecated use `CreateDeploymentValueEq$Outbound` instead. */ - export type Outbound = CreateDeploymentValueEq$Outbound; -} - export function createDeploymentValueEqToJSON( createDeploymentValueEq: CreateDeploymentValueEq, ): string { @@ -8416,7 +6567,6 @@ export function createDeploymentValueEqToJSON( CreateDeploymentValueEq$outboundSchema.parse(createDeploymentValueEq), ); } - export function createDeploymentValueEqFromJSON( jsonString: string, ): SafeParseResult { @@ -8445,7 +6595,6 @@ export const CreateDeploymentValueDeployments2$inboundSchema: z.ZodType< lt: z.number().optional(), lte: z.number().optional(), }); - /** @internal */ export type CreateDeploymentValueDeployments2$Outbound = { eq?: string | number | undefined; @@ -8480,20 +6629,6 @@ export const CreateDeploymentValueDeployments2$outboundSchema: z.ZodType< 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 CreateDeploymentValueDeployments2$ { - /** @deprecated use `CreateDeploymentValueDeployments2$inboundSchema` instead. */ - export const inboundSchema = CreateDeploymentValueDeployments2$inboundSchema; - /** @deprecated use `CreateDeploymentValueDeployments2$outboundSchema` instead. */ - export const outboundSchema = - CreateDeploymentValueDeployments2$outboundSchema; - /** @deprecated use `CreateDeploymentValueDeployments2$Outbound` instead. */ - export type Outbound = CreateDeploymentValueDeployments2$Outbound; -} - export function createDeploymentValueDeployments2ToJSON( createDeploymentValueDeployments2: CreateDeploymentValueDeployments2, ): string { @@ -8503,7 +6638,6 @@ export function createDeploymentValueDeployments2ToJSON( ), ); } - export function createDeploymentValueDeployments2FromJSON( jsonString: string, ): SafeParseResult { @@ -8523,7 +6657,6 @@ export const MissingValue$inboundSchema: z.ZodType< z.string(), z.lazy(() => CreateDeploymentValueDeployments2$inboundSchema), ]); - /** @internal */ export type MissingValue$Outbound = | string @@ -8539,23 +6672,9 @@ export const MissingValue$outboundSchema: z.ZodType< z.lazy(() => CreateDeploymentValueDeployments2$outboundSchema), ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace MissingValue$ { - /** @deprecated use `MissingValue$inboundSchema` instead. */ - export const inboundSchema = MissingValue$inboundSchema; - /** @deprecated use `MissingValue$outboundSchema` instead. */ - export const outboundSchema = MissingValue$outboundSchema; - /** @deprecated use `MissingValue$Outbound` instead. */ - export type Outbound = MissingValue$Outbound; -} - export function missingValueToJSON(missingValue: MissingValue): string { return JSON.stringify(MissingValue$outboundSchema.parse(missingValue)); } - export function missingValueFromJSON( jsonString: string, ): SafeParseResult { @@ -8578,7 +6697,6 @@ export const Missing1$inboundSchema: z.ZodType< z.lazy(() => CreateDeploymentValueDeployments2$inboundSchema), ]), }); - /** @internal */ export type Missing1$Outbound = { type: string; @@ -8598,23 +6716,9 @@ export const Missing1$outboundSchema: z.ZodType< ]), }); -/** - * @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 { @@ -8631,7 +6735,6 @@ export const Missing$inboundSchema: z.ZodType = z.lazy(() => Missing1$inboundSchema), z.lazy(() => Missing2$inboundSchema), ]); - /** @internal */ export type Missing$Outbound = Missing1$Outbound | Missing2$Outbound; @@ -8645,23 +6748,9 @@ export const Missing$outboundSchema: z.ZodType< 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 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 { @@ -8675,22 +6764,10 @@ export function missingFromJSON( /** @internal */ export const RoutesAction$inboundSchema: z.ZodNativeEnum = z.nativeEnum(RoutesAction); - /** @internal */ export const RoutesAction$outboundSchema: z.ZodNativeEnum = RoutesAction$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RoutesAction$ { - /** @deprecated use `RoutesAction$inboundSchema` instead. */ - export const inboundSchema = RoutesAction$inboundSchema; - /** @deprecated use `RoutesAction$outboundSchema` instead. */ - export const outboundSchema = RoutesAction$outboundSchema; -} - /** @internal */ export const RoutesMitigate$inboundSchema: z.ZodType< RoutesMitigate, @@ -8699,7 +6776,6 @@ export const RoutesMitigate$inboundSchema: z.ZodType< > = z.object({ action: RoutesAction$inboundSchema, }); - /** @internal */ export type RoutesMitigate$Outbound = { action: string; @@ -8714,23 +6790,9 @@ export const RoutesMitigate$outboundSchema: z.ZodType< action: RoutesAction$outboundSchema, }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RoutesMitigate$ { - /** @deprecated use `RoutesMitigate$inboundSchema` instead. */ - export const inboundSchema = RoutesMitigate$inboundSchema; - /** @deprecated use `RoutesMitigate$outboundSchema` instead. */ - export const outboundSchema = RoutesMitigate$outboundSchema; - /** @deprecated use `RoutesMitigate$Outbound` instead. */ - export type Outbound = RoutesMitigate$Outbound; -} - export function routesMitigateToJSON(routesMitigate: RoutesMitigate): string { return JSON.stringify(RoutesMitigate$outboundSchema.parse(routesMitigate)); } - export function routesMitigateFromJSON( jsonString: string, ): SafeParseResult { @@ -8744,47 +6806,22 @@ export function routesMitigateFromJSON( /** @internal */ export const RoutesType$inboundSchema: z.ZodNativeEnum = z .nativeEnum(RoutesType); - /** @internal */ export const RoutesType$outboundSchema: z.ZodNativeEnum = RoutesType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RoutesType$ { - /** @deprecated use `RoutesType$inboundSchema` instead. */ - export const inboundSchema = RoutesType$inboundSchema; - /** @deprecated use `RoutesType$outboundSchema` instead. */ - export const outboundSchema = RoutesType$outboundSchema; -} - /** @internal */ export const CreateDeploymentRoutesOp$inboundSchema: z.ZodNativeEnum< typeof CreateDeploymentRoutesOp > = z.nativeEnum(CreateDeploymentRoutesOp); - /** @internal */ export const CreateDeploymentRoutesOp$outboundSchema: z.ZodNativeEnum< typeof CreateDeploymentRoutesOp > = CreateDeploymentRoutesOp$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateDeploymentRoutesOp$ { - /** @deprecated use `CreateDeploymentRoutesOp$inboundSchema` instead. */ - export const inboundSchema = CreateDeploymentRoutesOp$inboundSchema; - /** @deprecated use `CreateDeploymentRoutesOp$outboundSchema` instead. */ - export const outboundSchema = CreateDeploymentRoutesOp$outboundSchema; -} - /** @internal */ export const KeyEq$inboundSchema: z.ZodType = z .union([z.string(), z.number()]); - /** @internal */ export type KeyEq$Outbound = string | number; @@ -8795,23 +6832,9 @@ export const KeyEq$outboundSchema: z.ZodType< KeyEq > = 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 KeyEq$ { - /** @deprecated use `KeyEq$inboundSchema` instead. */ - export const inboundSchema = KeyEq$inboundSchema; - /** @deprecated use `KeyEq$outboundSchema` instead. */ - export const outboundSchema = KeyEq$outboundSchema; - /** @deprecated use `KeyEq$Outbound` instead. */ - export type Outbound = KeyEq$Outbound; -} - export function keyEqToJSON(keyEq: KeyEq): string { return JSON.stringify(KeyEq$outboundSchema.parse(keyEq)); } - export function keyEqFromJSON( jsonString: string, ): SafeParseResult { @@ -8836,7 +6859,6 @@ export const Key2$inboundSchema: z.ZodType = z lt: z.number().optional(), lte: z.number().optional(), }); - /** @internal */ export type Key2$Outbound = { eq?: string | number | undefined; @@ -8866,23 +6888,9 @@ export const Key2$outboundSchema: z.ZodType = 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 Key2$ { - /** @deprecated use `Key2$inboundSchema` instead. */ - export const inboundSchema = Key2$inboundSchema; - /** @deprecated use `Key2$outboundSchema` instead. */ - export const outboundSchema = Key2$outboundSchema; - /** @deprecated use `Key2$Outbound` instead. */ - export type Outbound = Key2$Outbound; -} - export function key2ToJSON(key2: Key2): string { return JSON.stringify(Key2$outboundSchema.parse(key2)); } - export function key2FromJSON( jsonString: string, ): SafeParseResult { @@ -8899,7 +6907,6 @@ export const RoutesKey$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.union([z.string(), z.lazy(() => Key2$inboundSchema)]); - /** @internal */ export type RoutesKey$Outbound = string | Key2$Outbound; @@ -8910,23 +6917,9 @@ export const RoutesKey$outboundSchema: z.ZodType< RoutesKey > = z.union([z.string(), z.lazy(() => Key2$outboundSchema)]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RoutesKey$ { - /** @deprecated use `RoutesKey$inboundSchema` instead. */ - export const inboundSchema = RoutesKey$inboundSchema; - /** @deprecated use `RoutesKey$outboundSchema` instead. */ - export const outboundSchema = RoutesKey$outboundSchema; - /** @deprecated use `RoutesKey$Outbound` instead. */ - export type Outbound = RoutesKey$Outbound; -} - export function routesKeyToJSON(routesKey: RoutesKey): string { return JSON.stringify(RoutesKey$outboundSchema.parse(routesKey)); } - export function routesKeyFromJSON( jsonString: string, ): SafeParseResult { @@ -8945,7 +6938,6 @@ export const RoutesTarget$inboundSchema: z.ZodType< > = z.object({ key: z.union([z.string(), z.lazy(() => Key2$inboundSchema)]), }); - /** @internal */ export type RoutesTarget$Outbound = { key: string | Key2$Outbound; @@ -8960,23 +6952,9 @@ export const RoutesTarget$outboundSchema: z.ZodType< key: z.union([z.string(), z.lazy(() => Key2$outboundSchema)]), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RoutesTarget$ { - /** @deprecated use `RoutesTarget$inboundSchema` instead. */ - export const inboundSchema = RoutesTarget$inboundSchema; - /** @deprecated use `RoutesTarget$outboundSchema` instead. */ - export const outboundSchema = RoutesTarget$outboundSchema; - /** @deprecated use `RoutesTarget$Outbound` instead. */ - export type Outbound = RoutesTarget$Outbound; -} - export function routesTargetToJSON(routesTarget: RoutesTarget): string { return JSON.stringify(RoutesTarget$outboundSchema.parse(routesTarget)); } - export function routesTargetFromJSON( jsonString: string, ): SafeParseResult { @@ -8990,7 +6968,6 @@ export function routesTargetFromJSON( /** @internal */ export const Args$inboundSchema: z.ZodType = z .union([z.string(), z.array(z.string())]); - /** @internal */ export type Args$Outbound = string | Array; @@ -8998,23 +6975,9 @@ export type Args$Outbound = string | Array; export const Args$outboundSchema: z.ZodType = z.union([z.string(), 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 Args$ { - /** @deprecated use `Args$inboundSchema` instead. */ - export const inboundSchema = Args$inboundSchema; - /** @deprecated use `Args$outboundSchema` instead. */ - export const outboundSchema = Args$outboundSchema; - /** @deprecated use `Args$Outbound` instead. */ - export type Outbound = Args$Outbound; -} - export function argsToJSON(args: Args): string { return JSON.stringify(Args$outboundSchema.parse(args)); } - export function argsFromJSON( jsonString: string, ): SafeParseResult { @@ -9026,8 +6989,8 @@ export function argsFromJSON( } /** @internal */ -export const Transforms$inboundSchema: z.ZodType< - Transforms, +export const CreateDeploymentRoutesTransforms$inboundSchema: z.ZodType< + CreateDeploymentRoutesTransforms, z.ZodTypeDef, unknown > = z.object({ @@ -9036,9 +6999,8 @@ export const Transforms$inboundSchema: z.ZodType< target: z.lazy(() => RoutesTarget$inboundSchema), args: z.union([z.string(), z.array(z.string())]).optional(), }); - /** @internal */ -export type Transforms$Outbound = { +export type CreateDeploymentRoutesTransforms$Outbound = { type: string; op: string; target: RoutesTarget$Outbound; @@ -9046,10 +7008,10 @@ export type Transforms$Outbound = { }; /** @internal */ -export const Transforms$outboundSchema: z.ZodType< - Transforms$Outbound, +export const CreateDeploymentRoutesTransforms$outboundSchema: z.ZodType< + CreateDeploymentRoutesTransforms$Outbound, z.ZodTypeDef, - Transforms + CreateDeploymentRoutesTransforms > = z.object({ type: RoutesType$outboundSchema, op: CreateDeploymentRoutesOp$outboundSchema, @@ -9057,30 +7019,22 @@ export const Transforms$outboundSchema: z.ZodType< args: z.union([z.string(), 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 Transforms$ { - /** @deprecated use `Transforms$inboundSchema` instead. */ - export const inboundSchema = Transforms$inboundSchema; - /** @deprecated use `Transforms$outboundSchema` instead. */ - export const outboundSchema = Transforms$outboundSchema; - /** @deprecated use `Transforms$Outbound` instead. */ - export type Outbound = Transforms$Outbound; -} - -export function transformsToJSON(transforms: Transforms): string { - return JSON.stringify(Transforms$outboundSchema.parse(transforms)); +export function createDeploymentRoutesTransformsToJSON( + createDeploymentRoutesTransforms: CreateDeploymentRoutesTransforms, +): string { + return JSON.stringify( + CreateDeploymentRoutesTransforms$outboundSchema.parse( + createDeploymentRoutesTransforms, + ), + ); } - -export function transformsFromJSON( +export function createDeploymentRoutesTransformsFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => Transforms$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Transforms' from JSON`, + (x) => CreateDeploymentRoutesTransforms$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateDeploymentRoutesTransforms' from JSON`, ); } @@ -9090,7 +7044,6 @@ export const Locale$inboundSchema: z.ZodType = z redirect: z.record(z.string()).optional(), cookie: z.string().optional(), }); - /** @internal */ export type Locale$Outbound = { redirect?: { [k: string]: string } | undefined; @@ -9107,23 +7060,9 @@ export const Locale$outboundSchema: z.ZodType< 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 { @@ -9160,13 +7099,14 @@ export const Routes1$inboundSchema: z.ZodType = ]), ).optional(), mitigate: z.lazy(() => RoutesMitigate$inboundSchema).optional(), - transforms: z.array(z.lazy(() => Transforms$inboundSchema)).optional(), + transforms: z.array( + z.lazy(() => CreateDeploymentRoutesTransforms$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; @@ -9184,7 +7124,7 @@ export type Routes1$Outbound = { | undefined; missing?: Array | undefined; mitigate?: RoutesMitigate$Outbound | undefined; - transforms?: Array | undefined; + transforms?: Array | undefined; locale?: Locale$Outbound | undefined; middlewarePath?: string | undefined; middlewareRawSrc?: Array | undefined; @@ -9220,30 +7160,18 @@ export const Routes1$outboundSchema: z.ZodType< ]), ).optional(), mitigate: z.lazy(() => RoutesMitigate$outboundSchema).optional(), - transforms: z.array(z.lazy(() => Transforms$outboundSchema)).optional(), + transforms: z.array( + z.lazy(() => CreateDeploymentRoutesTransforms$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 { @@ -9261,7 +7189,6 @@ export const Routes$inboundSchema: z.ZodType = z z.lazy(() => Routes1$inboundSchema), z.lazy(() => Routes2$inboundSchema), ]); - /** @internal */ export type Routes$Outbound = | Routes3$Outbound @@ -9279,23 +7206,9 @@ export const Routes$outboundSchema: z.ZodType< z.lazy(() => Routes2$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 { @@ -9307,513 +7220,279 @@ export function routesFromJSON( } /** @internal */ -export const CreateDeploymentCrons$inboundSchema: z.ZodType< - CreateDeploymentCrons, +export const CreateDeploymentGitRepoDeploymentsType$inboundSchema: + z.ZodNativeEnum = z.nativeEnum( + CreateDeploymentGitRepoDeploymentsType, + ); +/** @internal */ +export const CreateDeploymentGitRepoDeploymentsType$outboundSchema: + z.ZodNativeEnum = + CreateDeploymentGitRepoDeploymentsType$inboundSchema; + +/** @internal */ +export const CreateDeploymentGitRepoOwnerType$inboundSchema: z.ZodNativeEnum< + typeof CreateDeploymentGitRepoOwnerType +> = z.nativeEnum(CreateDeploymentGitRepoOwnerType); +/** @internal */ +export const CreateDeploymentGitRepoOwnerType$outboundSchema: z.ZodNativeEnum< + typeof CreateDeploymentGitRepoOwnerType +> = CreateDeploymentGitRepoOwnerType$inboundSchema; + +/** @internal */ +export const GitRepo3$inboundSchema: z.ZodType< + GitRepo3, z.ZodTypeDef, unknown > = z.object({ - schedule: z.string(), + 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 CreateDeploymentCrons$Outbound = { - schedule: string; +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 CreateDeploymentCrons$outboundSchema: z.ZodType< - CreateDeploymentCrons$Outbound, +export const GitRepo3$outboundSchema: z.ZodType< + GitRepo3$Outbound, z.ZodTypeDef, - CreateDeploymentCrons + GitRepo3 > = z.object({ - schedule: z.string(), + 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 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 gitRepo3ToJSON(gitRepo3: GitRepo3): string { + return JSON.stringify(GitRepo3$outboundSchema.parse(gitRepo3)); } - -export function createDeploymentCronsFromJSON( +export function gitRepo3FromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => CreateDeploymentCrons$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateDeploymentCrons' from JSON`, + (x) => GitRepo3$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GitRepo3' from JSON`, ); } /** @internal */ -export const CreateDeploymentState$inboundSchema: z.ZodNativeEnum< - typeof CreateDeploymentState -> = z.nativeEnum(CreateDeploymentState); - +export const CreateDeploymentGitRepoType$inboundSchema: z.ZodNativeEnum< + typeof CreateDeploymentGitRepoType +> = z.nativeEnum(CreateDeploymentGitRepoType); /** @internal */ -export const CreateDeploymentState$outboundSchema: z.ZodNativeEnum< - typeof CreateDeploymentState -> = CreateDeploymentState$inboundSchema; +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 CreateDeploymentState$ { - /** @deprecated use `CreateDeploymentState$inboundSchema` instead. */ - export const inboundSchema = CreateDeploymentState$inboundSchema; - /** @deprecated use `CreateDeploymentState$outboundSchema` instead. */ - export const outboundSchema = CreateDeploymentState$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 */ -export const DeploymentAlias$inboundSchema: z.ZodType< - DeploymentAlias, +export const GitRepo2$inboundSchema: z.ZodType< + GitRepo2, z.ZodTypeDef, unknown > = z.object({ - state: CreateDeploymentState$inboundSchema, - startedAt: z.number(), - completedAt: z.number().optional(), + 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 DeploymentAlias$Outbound = { - state: string; - startedAt: number; - completedAt?: number | undefined; +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 DeploymentAlias$outboundSchema: z.ZodType< - DeploymentAlias$Outbound, +export const GitRepo2$outboundSchema: z.ZodType< + GitRepo2$Outbound, z.ZodTypeDef, - DeploymentAlias + GitRepo2 > = z.object({ - state: CreateDeploymentState$outboundSchema, - startedAt: z.number(), - completedAt: z.number().optional(), + 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 DeploymentAlias$ { - /** @deprecated use `DeploymentAlias$inboundSchema` instead. */ - export const inboundSchema = DeploymentAlias$inboundSchema; - /** @deprecated use `DeploymentAlias$outboundSchema` instead. */ - export const outboundSchema = DeploymentAlias$outboundSchema; - /** @deprecated use `DeploymentAlias$Outbound` instead. */ - export type Outbound = DeploymentAlias$Outbound; -} - -export function deploymentAliasToJSON( - deploymentAlias: DeploymentAlias, -): string { - return JSON.stringify(DeploymentAlias$outboundSchema.parse(deploymentAlias)); +export function gitRepo2ToJSON(gitRepo2: GitRepo2): string { + return JSON.stringify(GitRepo2$outboundSchema.parse(gitRepo2)); } - -export function deploymentAliasFromJSON( +export function gitRepo2FromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => DeploymentAlias$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'DeploymentAlias' from JSON`, + (x) => GitRepo2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GitRepo2' from JSON`, ); } /** @internal */ -export const CreateDeploymentChecks$inboundSchema: z.ZodType< - CreateDeploymentChecks, - z.ZodTypeDef, - unknown -> = z.object({ - "deployment-alias": z.lazy(() => DeploymentAlias$inboundSchema), -}).transform((v) => { - return remap$(v, { - "deployment-alias": "deploymentAlias", - }); -}); - +export const GitRepoType$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(GitRepoType); /** @internal */ -export type CreateDeploymentChecks$Outbound = { - "deployment-alias": DeploymentAlias$Outbound; -}; +export const GitRepoType$outboundSchema: z.ZodNativeEnum = + GitRepoType$inboundSchema; /** @internal */ -export const CreateDeploymentChecks$outboundSchema: z.ZodType< - CreateDeploymentChecks$Outbound, - z.ZodTypeDef, - CreateDeploymentChecks -> = z.object({ - deploymentAlias: z.lazy(() => DeploymentAlias$outboundSchema), -}).transform((v) => { - return remap$(v, { - deploymentAlias: "deployment-alias", - }); -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateDeploymentChecks$ { - /** @deprecated use `CreateDeploymentChecks$inboundSchema` instead. */ - export const inboundSchema = CreateDeploymentChecks$inboundSchema; - /** @deprecated use `CreateDeploymentChecks$outboundSchema` instead. */ - export const outboundSchema = CreateDeploymentChecks$outboundSchema; - /** @deprecated use `CreateDeploymentChecks$Outbound` instead. */ - export type Outbound = CreateDeploymentChecks$Outbound; -} - -export function createDeploymentChecksToJSON( - createDeploymentChecks: CreateDeploymentChecks, -): string { - return JSON.stringify( - CreateDeploymentChecks$outboundSchema.parse(createDeploymentChecks), - ); -} - -export function createDeploymentChecksFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateDeploymentChecks$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateDeploymentChecks' from JSON`, - ); -} - -/** @internal */ -export const CreateDeploymentMicrofrontendsApplications$inboundSchema: - z.ZodType = - z.object({ - isDefaultApp: z.boolean().optional(), - productionHost: z.string(), - deploymentAlias: z.string().optional(), - deploymentHost: z.string().optional(), - }); - -/** @internal */ -export type CreateDeploymentMicrofrontendsApplications$Outbound = { - isDefaultApp?: boolean | undefined; - productionHost: string; - deploymentAlias?: string | undefined; - deploymentHost?: string | undefined; -}; - -/** @internal */ -export const CreateDeploymentMicrofrontendsApplications$outboundSchema: - z.ZodType< - CreateDeploymentMicrofrontendsApplications$Outbound, - z.ZodTypeDef, - CreateDeploymentMicrofrontendsApplications - > = z.object({ - isDefaultApp: z.boolean().optional(), - 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 CreateDeploymentMicrofrontendsApplications$ { - /** @deprecated use `CreateDeploymentMicrofrontendsApplications$inboundSchema` instead. */ - export const inboundSchema = - CreateDeploymentMicrofrontendsApplications$inboundSchema; - /** @deprecated use `CreateDeploymentMicrofrontendsApplications$outboundSchema` instead. */ - export const outboundSchema = - CreateDeploymentMicrofrontendsApplications$outboundSchema; - /** @deprecated use `CreateDeploymentMicrofrontendsApplications$Outbound` instead. */ - export type Outbound = CreateDeploymentMicrofrontendsApplications$Outbound; -} - -export function createDeploymentMicrofrontendsApplicationsToJSON( - createDeploymentMicrofrontendsApplications: - CreateDeploymentMicrofrontendsApplications, -): string { - return JSON.stringify( - CreateDeploymentMicrofrontendsApplications$outboundSchema.parse( - createDeploymentMicrofrontendsApplications, - ), - ); -} - -export function createDeploymentMicrofrontendsApplicationsFromJSON( - jsonString: string, -): SafeParseResult< - CreateDeploymentMicrofrontendsApplications, - SDKValidationError -> { - return safeParse( - jsonString, - (x) => - CreateDeploymentMicrofrontendsApplications$inboundSchema.parse( - JSON.parse(x), - ), - `Failed to parse 'CreateDeploymentMicrofrontendsApplications' from JSON`, - ); -} - -/** @internal */ -export const MfeConfigUploadState$inboundSchema: z.ZodNativeEnum< - typeof MfeConfigUploadState -> = z.nativeEnum(MfeConfigUploadState); - -/** @internal */ -export const MfeConfigUploadState$outboundSchema: z.ZodNativeEnum< - typeof MfeConfigUploadState -> = MfeConfigUploadState$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace MfeConfigUploadState$ { - /** @deprecated use `MfeConfigUploadState$inboundSchema` instead. */ - export const inboundSchema = MfeConfigUploadState$inboundSchema; - /** @deprecated use `MfeConfigUploadState$outboundSchema` instead. */ - export const outboundSchema = MfeConfigUploadState$outboundSchema; -} - -/** @internal */ -export const CreateDeploymentMicrofrontends2$inboundSchema: z.ZodType< - CreateDeploymentMicrofrontends2, - z.ZodTypeDef, - unknown -> = z.object({ - isDefaultApp: z.boolean(), - applications: z.record( - z.lazy(() => CreateDeploymentMicrofrontendsApplications$inboundSchema), - ).optional(), - mfeConfigUploadState: MfeConfigUploadState$inboundSchema.optional(), - defaultAppProjectName: z.string(), - defaultRoute: z.string().optional(), - groupIds: z.array(z.string()), - microfrontendsAlias2Enabled: z.boolean().optional(), - microfrontendsAliasRoutingVercelSiteProdTestHost: z.boolean().optional(), -}); - -/** @internal */ -export type CreateDeploymentMicrofrontends2$Outbound = { - isDefaultApp: boolean; - applications?: { - [k: string]: CreateDeploymentMicrofrontendsApplications$Outbound; - } | undefined; - mfeConfigUploadState?: string | undefined; - defaultAppProjectName: string; - defaultRoute?: string | undefined; - groupIds: Array; - microfrontendsAlias2Enabled?: boolean | undefined; - microfrontendsAliasRoutingVercelSiteProdTestHost?: boolean | undefined; -}; - +export const OwnerType$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(OwnerType); /** @internal */ -export const CreateDeploymentMicrofrontends2$outboundSchema: z.ZodType< - CreateDeploymentMicrofrontends2$Outbound, - z.ZodTypeDef, - CreateDeploymentMicrofrontends2 -> = z.object({ - isDefaultApp: z.boolean(), - applications: z.record( - z.lazy(() => CreateDeploymentMicrofrontendsApplications$outboundSchema), - ).optional(), - mfeConfigUploadState: MfeConfigUploadState$outboundSchema.optional(), - defaultAppProjectName: z.string(), - defaultRoute: z.string().optional(), - groupIds: z.array(z.string()), - microfrontendsAlias2Enabled: z.boolean().optional(), - microfrontendsAliasRoutingVercelSiteProdTestHost: 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 CreateDeploymentMicrofrontends2$ { - /** @deprecated use `CreateDeploymentMicrofrontends2$inboundSchema` instead. */ - export const inboundSchema = CreateDeploymentMicrofrontends2$inboundSchema; - /** @deprecated use `CreateDeploymentMicrofrontends2$outboundSchema` instead. */ - export const outboundSchema = CreateDeploymentMicrofrontends2$outboundSchema; - /** @deprecated use `CreateDeploymentMicrofrontends2$Outbound` instead. */ - export type Outbound = CreateDeploymentMicrofrontends2$Outbound; -} - -export function createDeploymentMicrofrontends2ToJSON( - createDeploymentMicrofrontends2: CreateDeploymentMicrofrontends2, -): string { - return JSON.stringify( - CreateDeploymentMicrofrontends2$outboundSchema.parse( - createDeploymentMicrofrontends2, - ), - ); -} - -export function createDeploymentMicrofrontends2FromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => CreateDeploymentMicrofrontends2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateDeploymentMicrofrontends2' from JSON`, - ); -} +export const OwnerType$outboundSchema: z.ZodNativeEnum = + OwnerType$inboundSchema; /** @internal */ -export const CreateDeploymentMicrofrontends1$inboundSchema: z.ZodType< - CreateDeploymentMicrofrontends1, +export const GitRepo1$inboundSchema: z.ZodType< + GitRepo1, z.ZodTypeDef, unknown > = z.object({ - isDefaultApp: z.boolean().optional(), - defaultAppProjectName: z.string(), - defaultRoute: z.string().optional(), - groupIds: z.array(z.string()), - microfrontendsAlias2Enabled: z.boolean().optional(), - microfrontendsAliasRoutingVercelSiteProdTestHost: z.boolean().optional(), + 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 CreateDeploymentMicrofrontends1$Outbound = { - isDefaultApp?: boolean | undefined; - defaultAppProjectName: string; - defaultRoute?: string | undefined; - groupIds: Array; - microfrontendsAlias2Enabled?: boolean | undefined; - microfrontendsAliasRoutingVercelSiteProdTestHost?: boolean | undefined; +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 CreateDeploymentMicrofrontends1$outboundSchema: z.ZodType< - CreateDeploymentMicrofrontends1$Outbound, +export const GitRepo1$outboundSchema: z.ZodType< + GitRepo1$Outbound, z.ZodTypeDef, - CreateDeploymentMicrofrontends1 + GitRepo1 > = z.object({ - isDefaultApp: z.boolean().optional(), - defaultAppProjectName: z.string(), - defaultRoute: z.string().optional(), - groupIds: z.array(z.string()), - microfrontendsAlias2Enabled: z.boolean().optional(), - microfrontendsAliasRoutingVercelSiteProdTestHost: z.boolean().optional(), + 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 CreateDeploymentMicrofrontends1$ { - /** @deprecated use `CreateDeploymentMicrofrontends1$inboundSchema` instead. */ - export const inboundSchema = CreateDeploymentMicrofrontends1$inboundSchema; - /** @deprecated use `CreateDeploymentMicrofrontends1$outboundSchema` instead. */ - export const outboundSchema = CreateDeploymentMicrofrontends1$outboundSchema; - /** @deprecated use `CreateDeploymentMicrofrontends1$Outbound` instead. */ - export type Outbound = CreateDeploymentMicrofrontends1$Outbound; -} - -export function createDeploymentMicrofrontends1ToJSON( - createDeploymentMicrofrontends1: CreateDeploymentMicrofrontends1, -): string { - return JSON.stringify( - CreateDeploymentMicrofrontends1$outboundSchema.parse( - createDeploymentMicrofrontends1, - ), - ); +export function gitRepo1ToJSON(gitRepo1: GitRepo1): string { + return JSON.stringify(GitRepo1$outboundSchema.parse(gitRepo1)); } - -export function createDeploymentMicrofrontends1FromJSON( +export function gitRepo1FromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => CreateDeploymentMicrofrontends1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateDeploymentMicrofrontends1' from JSON`, + (x) => GitRepo1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GitRepo1' from JSON`, ); } /** @internal */ -export const CreateDeploymentMicrofrontends$inboundSchema: z.ZodType< - CreateDeploymentMicrofrontends, - z.ZodTypeDef, - unknown -> = z.union([ - z.lazy(() => CreateDeploymentMicrofrontends2$inboundSchema), - z.lazy(() => CreateDeploymentMicrofrontends1$inboundSchema), -]); - +export const GitRepo$inboundSchema: z.ZodType = + z.union([ + z.lazy(() => GitRepo2$inboundSchema), + z.lazy(() => GitRepo3$inboundSchema), + z.lazy(() => GitRepo1$inboundSchema), + ]); /** @internal */ -export type CreateDeploymentMicrofrontends$Outbound = - | CreateDeploymentMicrofrontends2$Outbound - | CreateDeploymentMicrofrontends1$Outbound; +export type GitRepo$Outbound = + | GitRepo2$Outbound + | GitRepo3$Outbound + | GitRepo1$Outbound; /** @internal */ -export const CreateDeploymentMicrofrontends$outboundSchema: z.ZodType< - CreateDeploymentMicrofrontends$Outbound, +export const GitRepo$outboundSchema: z.ZodType< + GitRepo$Outbound, z.ZodTypeDef, - CreateDeploymentMicrofrontends + GitRepo > = z.union([ - z.lazy(() => CreateDeploymentMicrofrontends2$outboundSchema), - z.lazy(() => CreateDeploymentMicrofrontends1$outboundSchema), + z.lazy(() => GitRepo2$outboundSchema), + z.lazy(() => GitRepo3$outboundSchema), + z.lazy(() => GitRepo1$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 gitRepoToJSON(gitRepo: GitRepo): string { + return JSON.stringify(GitRepo$outboundSchema.parse(gitRepo)); } - -export function createDeploymentMicrofrontendsFromJSON( +export function gitRepoFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => CreateDeploymentMicrofrontends$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateDeploymentMicrofrontends' from JSON`, + (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 = {}; @@ -9824,23 +7503,9 @@ export const Flags2$outboundSchema: z.ZodType< 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 { @@ -9857,7 +7522,6 @@ export const Options$inboundSchema: z.ZodType = value: z.nullable(FlagJSONValue$inboundSchema), label: z.string().optional(), }); - /** @internal */ export type Options$Outbound = { value: FlagJSONValue$Outbound | null; @@ -9874,23 +7538,9 @@ export const Options$outboundSchema: z.ZodType< 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 { @@ -9911,7 +7561,6 @@ export const FlagsDefinitions$inboundSchema: z.ZodType< url: z.string().optional(), description: z.string().optional(), }); - /** @internal */ export type FlagsDefinitions$Outbound = { options?: Array | undefined; @@ -9930,19 +7579,6 @@ export const FlagsDefinitions$outboundSchema: z.ZodType< 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 { @@ -9950,7 +7586,6 @@ export function flagsDefinitionsToJSON( FlagsDefinitions$outboundSchema.parse(flagsDefinitions), ); } - export function flagsDefinitionsFromJSON( jsonString: string, ): SafeParseResult { @@ -9966,7 +7601,6 @@ 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 }; @@ -9981,23 +7615,9 @@ export const Flags1$outboundSchema: z.ZodType< 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 { @@ -10014,7 +7634,6 @@ export const Flags$inboundSchema: z.ZodType = z z.lazy(() => Flags1$inboundSchema), z.array(z.lazy(() => Flags2$inboundSchema)), ]); - /** @internal */ export type Flags$Outbound = Flags1$Outbound | Array; @@ -10028,23 +7647,9 @@ export const Flags$outboundSchema: z.ZodType< 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 { @@ -10056,407 +7661,387 @@ export function flagsFromJSON( } /** @internal */ -export const CreateDeploymentGitRepoDeploymentsType$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - CreateDeploymentGitRepoDeploymentsType, - ); +export const CreateDeploymentMicrofrontendsApplications$inboundSchema: + z.ZodType = + z.object({ + isDefaultApp: z.boolean().optional(), + productionHost: z.string(), + deploymentAlias: z.string().optional(), + deploymentHost: z.string().optional(), + }); +/** @internal */ +export type CreateDeploymentMicrofrontendsApplications$Outbound = { + isDefaultApp?: boolean | undefined; + productionHost: string; + deploymentAlias?: string | undefined; + deploymentHost?: string | undefined; +}; /** @internal */ -export const CreateDeploymentGitRepoDeploymentsType$outboundSchema: - z.ZodNativeEnum = - CreateDeploymentGitRepoDeploymentsType$inboundSchema; +export const CreateDeploymentMicrofrontendsApplications$outboundSchema: + z.ZodType< + CreateDeploymentMicrofrontendsApplications$Outbound, + z.ZodTypeDef, + CreateDeploymentMicrofrontendsApplications + > = z.object({ + isDefaultApp: z.boolean().optional(), + 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 CreateDeploymentGitRepoDeploymentsType$ { - /** @deprecated use `CreateDeploymentGitRepoDeploymentsType$inboundSchema` instead. */ - export const inboundSchema = - CreateDeploymentGitRepoDeploymentsType$inboundSchema; - /** @deprecated use `CreateDeploymentGitRepoDeploymentsType$outboundSchema` instead. */ - export const outboundSchema = - CreateDeploymentGitRepoDeploymentsType$outboundSchema; +export function createDeploymentMicrofrontendsApplicationsToJSON( + createDeploymentMicrofrontendsApplications: + CreateDeploymentMicrofrontendsApplications, +): string { + return JSON.stringify( + CreateDeploymentMicrofrontendsApplications$outboundSchema.parse( + createDeploymentMicrofrontendsApplications, + ), + ); +} +export function createDeploymentMicrofrontendsApplicationsFromJSON( + jsonString: string, +): SafeParseResult< + CreateDeploymentMicrofrontendsApplications, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + CreateDeploymentMicrofrontendsApplications$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'CreateDeploymentMicrofrontendsApplications' from JSON`, + ); } /** @internal */ -export const CreateDeploymentGitRepoOwnerType$inboundSchema: z.ZodNativeEnum< - typeof CreateDeploymentGitRepoOwnerType -> = z.nativeEnum(CreateDeploymentGitRepoOwnerType); +export const MfeConfigUploadState$inboundSchema: z.ZodNativeEnum< + typeof MfeConfigUploadState +> = z.nativeEnum(MfeConfigUploadState); +/** @internal */ +export const MfeConfigUploadState$outboundSchema: z.ZodNativeEnum< + typeof MfeConfigUploadState +> = MfeConfigUploadState$inboundSchema; /** @internal */ -export const CreateDeploymentGitRepoOwnerType$outboundSchema: z.ZodNativeEnum< - typeof CreateDeploymentGitRepoOwnerType -> = CreateDeploymentGitRepoOwnerType$inboundSchema; +export const CreateDeploymentMicrofrontends2$inboundSchema: z.ZodType< + CreateDeploymentMicrofrontends2, + z.ZodTypeDef, + unknown +> = z.object({ + isDefaultApp: z.boolean(), + applications: z.record( + z.lazy(() => CreateDeploymentMicrofrontendsApplications$inboundSchema), + ).optional(), + mfeConfigUploadState: MfeConfigUploadState$inboundSchema.optional(), + defaultAppProjectName: z.string(), + defaultRoute: z.string().optional(), + groupIds: z.array(z.string()), +}); +/** @internal */ +export type CreateDeploymentMicrofrontends2$Outbound = { + isDefaultApp: boolean; + applications?: { + [k: string]: CreateDeploymentMicrofrontendsApplications$Outbound; + } | undefined; + mfeConfigUploadState?: string | undefined; + defaultAppProjectName: string; + defaultRoute?: string | undefined; + groupIds: Array; +}; -/** - * @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 CreateDeploymentMicrofrontends2$outboundSchema: z.ZodType< + CreateDeploymentMicrofrontends2$Outbound, + z.ZodTypeDef, + CreateDeploymentMicrofrontends2 +> = z.object({ + isDefaultApp: z.boolean(), + applications: z.record( + z.lazy(() => CreateDeploymentMicrofrontendsApplications$outboundSchema), + ).optional(), + mfeConfigUploadState: MfeConfigUploadState$outboundSchema.optional(), + defaultAppProjectName: z.string(), + defaultRoute: z.string().optional(), + groupIds: z.array(z.string()), +}); + +export function createDeploymentMicrofrontends2ToJSON( + createDeploymentMicrofrontends2: CreateDeploymentMicrofrontends2, +): string { + return JSON.stringify( + CreateDeploymentMicrofrontends2$outboundSchema.parse( + createDeploymentMicrofrontends2, + ), + ); +} +export function createDeploymentMicrofrontends2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateDeploymentMicrofrontends2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateDeploymentMicrofrontends2' from JSON`, + ); } /** @internal */ -export const GitRepo3$inboundSchema: z.ZodType< - GitRepo3, +export const CreateDeploymentMicrofrontends1$inboundSchema: z.ZodType< + CreateDeploymentMicrofrontends1, 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, + isDefaultApp: z.boolean().optional(), + defaultAppProjectName: z.string(), + defaultRoute: z.string().optional(), + groupIds: z.array(z.string()), }); - /** @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; +export type CreateDeploymentMicrofrontends1$Outbound = { + isDefaultApp?: boolean | undefined; + defaultAppProjectName: string; + defaultRoute?: string | undefined; + groupIds: Array; }; /** @internal */ -export const GitRepo3$outboundSchema: z.ZodType< - GitRepo3$Outbound, +export const CreateDeploymentMicrofrontends1$outboundSchema: z.ZodType< + CreateDeploymentMicrofrontends1$Outbound, z.ZodTypeDef, - GitRepo3 + CreateDeploymentMicrofrontends1 > = 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, + isDefaultApp: z.boolean().optional(), + defaultAppProjectName: z.string(), + 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 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 createDeploymentMicrofrontends1ToJSON( + createDeploymentMicrofrontends1: CreateDeploymentMicrofrontends1, +): string { + return JSON.stringify( + CreateDeploymentMicrofrontends1$outboundSchema.parse( + createDeploymentMicrofrontends1, + ), + ); } - -export function gitRepo3FromJSON( +export function createDeploymentMicrofrontends1FromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => GitRepo3$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GitRepo3' from JSON`, + (x) => CreateDeploymentMicrofrontends1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateDeploymentMicrofrontends1' from JSON`, ); } /** @internal */ -export const CreateDeploymentGitRepoType$inboundSchema: z.ZodNativeEnum< - typeof CreateDeploymentGitRepoType -> = z.nativeEnum(CreateDeploymentGitRepoType); +export const CreateDeploymentMicrofrontends$inboundSchema: z.ZodType< + CreateDeploymentMicrofrontends, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => CreateDeploymentMicrofrontends2$inboundSchema), + z.lazy(() => CreateDeploymentMicrofrontends1$inboundSchema), +]); +/** @internal */ +export type CreateDeploymentMicrofrontends$Outbound = + | CreateDeploymentMicrofrontends2$Outbound + | CreateDeploymentMicrofrontends1$Outbound; /** @internal */ -export const CreateDeploymentGitRepoType$outboundSchema: z.ZodNativeEnum< - typeof CreateDeploymentGitRepoType -> = CreateDeploymentGitRepoType$inboundSchema; +export const CreateDeploymentMicrofrontends$outboundSchema: z.ZodType< + CreateDeploymentMicrofrontends$Outbound, + z.ZodTypeDef, + CreateDeploymentMicrofrontends +> = z.union([ + z.lazy(() => CreateDeploymentMicrofrontends2$outboundSchema), + z.lazy(() => CreateDeploymentMicrofrontends1$outboundSchema), +]); -/** - * @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; +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 GitRepoOwnerType$inboundSchema: z.ZodNativeEnum< - typeof GitRepoOwnerType -> = z.nativeEnum(GitRepoOwnerType); - +export const FunctionType$inboundSchema: z.ZodNativeEnum = + z.nativeEnum(FunctionType); /** @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; -} +export const FunctionType$outboundSchema: z.ZodNativeEnum = + FunctionType$inboundSchema; /** @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, -}); +export const FunctionMemoryType$inboundSchema: z.ZodNativeEnum< + typeof FunctionMemoryType +> = z.nativeEnum(FunctionMemoryType); +/** @internal */ +export const FunctionMemoryType$outboundSchema: z.ZodNativeEnum< + typeof FunctionMemoryType +> = FunctionMemoryType$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; +export const Config$inboundSchema: z.ZodType = z + .object({ + version: z.number().optional(), + functionType: FunctionType$inboundSchema, + functionMemoryType: FunctionMemoryType$inboundSchema, + functionTimeout: z.nullable(z.number()), + secureComputePrimaryRegion: z.nullable(z.string()), + secureComputeFallbackRegion: z.nullable(z.string()), + isUsingActiveCPU: z.boolean().optional(), + }); +/** @internal */ +export type Config$Outbound = { + version?: number | undefined; + functionType: string; + functionMemoryType: string; + functionTimeout: number | null; + secureComputePrimaryRegion: string | null; + secureComputeFallbackRegion: string | null; + isUsingActiveCPU?: boolean | undefined; }; /** @internal */ -export const GitRepo2$outboundSchema: z.ZodType< - GitRepo2$Outbound, +export const Config$outboundSchema: z.ZodType< + Config$Outbound, z.ZodTypeDef, - GitRepo2 + Config > = 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, + version: z.number().optional(), + functionType: FunctionType$outboundSchema, + functionMemoryType: FunctionMemoryType$outboundSchema, + functionTimeout: z.nullable(z.number()), + secureComputePrimaryRegion: z.nullable(z.string()), + secureComputeFallbackRegion: z.nullable(z.string()), + isUsingActiveCPU: 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 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 configToJSON(config: Config): string { + return JSON.stringify(Config$outboundSchema.parse(config)); } - -export function gitRepo2FromJSON( +export function configFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => GitRepo2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GitRepo2' from JSON`, + (x) => Config$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Config' 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); - +export const CreateDeploymentState$inboundSchema: z.ZodNativeEnum< + typeof CreateDeploymentState +> = z.nativeEnum(CreateDeploymentState); /** @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; -} +export const CreateDeploymentState$outboundSchema: z.ZodNativeEnum< + typeof CreateDeploymentState +> = CreateDeploymentState$inboundSchema; /** @internal */ -export const GitRepo1$inboundSchema: z.ZodType< - GitRepo1, +export const DeploymentAlias$inboundSchema: z.ZodType< + DeploymentAlias, 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, + state: CreateDeploymentState$inboundSchema, + startedAt: z.number(), + completedAt: z.number().optional(), }); - /** @internal */ -export type GitRepo1$Outbound = { - namespace: string; - projectId: number; - type: string; - url: string; - path: string; - defaultBranch: string; - name: string; - private: boolean; - ownerType: string; +export type DeploymentAlias$Outbound = { + state: string; + startedAt: number; + completedAt?: number | undefined; }; /** @internal */ -export const GitRepo1$outboundSchema: z.ZodType< - GitRepo1$Outbound, +export const DeploymentAlias$outboundSchema: z.ZodType< + DeploymentAlias$Outbound, z.ZodTypeDef, - GitRepo1 + DeploymentAlias > = 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, + state: CreateDeploymentState$outboundSchema, + startedAt: z.number(), + completedAt: 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 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 deploymentAliasToJSON( + deploymentAlias: DeploymentAlias, +): string { + return JSON.stringify(DeploymentAlias$outboundSchema.parse(deploymentAlias)); } - -export function gitRepo1FromJSON( +export function deploymentAliasFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => GitRepo1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GitRepo1' from JSON`, + (x) => DeploymentAlias$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'DeploymentAlias' from JSON`, ); } /** @internal */ -export const GitRepo$inboundSchema: z.ZodType = - z.union([ - z.lazy(() => GitRepo2$inboundSchema), - z.lazy(() => GitRepo3$inboundSchema), - z.lazy(() => GitRepo1$inboundSchema), - ]); - +export const CreateDeploymentChecks$inboundSchema: z.ZodType< + CreateDeploymentChecks, + z.ZodTypeDef, + unknown +> = z.object({ + "deployment-alias": z.lazy(() => DeploymentAlias$inboundSchema), +}).transform((v) => { + return remap$(v, { + "deployment-alias": "deploymentAlias", + }); +}); /** @internal */ -export type GitRepo$Outbound = - | GitRepo2$Outbound - | GitRepo3$Outbound - | GitRepo1$Outbound; +export type CreateDeploymentChecks$Outbound = { + "deployment-alias": DeploymentAlias$Outbound; +}; /** @internal */ -export const GitRepo$outboundSchema: z.ZodType< - GitRepo$Outbound, +export const CreateDeploymentChecks$outboundSchema: z.ZodType< + CreateDeploymentChecks$Outbound, z.ZodTypeDef, - GitRepo -> = z.union([ - z.lazy(() => GitRepo2$outboundSchema), - z.lazy(() => GitRepo3$outboundSchema), - z.lazy(() => GitRepo1$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; -} + CreateDeploymentChecks +> = z.object({ + deploymentAlias: z.lazy(() => DeploymentAlias$outboundSchema), +}).transform((v) => { + return remap$(v, { + deploymentAlias: "deployment-alias", + }); +}); -export function gitRepoToJSON(gitRepo: GitRepo): string { - return JSON.stringify(GitRepo$outboundSchema.parse(gitRepo)); +export function createDeploymentChecksToJSON( + createDeploymentChecks: CreateDeploymentChecks, +): string { + return JSON.stringify( + CreateDeploymentChecks$outboundSchema.parse(createDeploymentChecks), + ); } - -export function gitRepoFromJSON( +export function createDeploymentChecksFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => GitRepo$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GitRepo' from JSON`, + (x) => CreateDeploymentChecks$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateDeploymentChecks' from JSON`, ); } @@ -10501,11 +8086,27 @@ export const CreateDeploymentResponseBody$inboundSchema: z.ZodType< z.lazy(() => CustomEnvironment2$inboundSchema), ]).optional(), oomReport: OomReport$inboundSchema.optional(), + aliasWarning: z.nullable(z.lazy(() => AliasWarning$inboundSchema)).optional(), id: z.string(), - name: z.string(), createdAt: z.number(), + readyState: ReadyState$inboundSchema, + name: z.string(), type: CreateDeploymentType$inboundSchema, + aliasError: z.nullable(z.lazy(() => AliasError$inboundSchema)).optional(), + aliasFinal: z.nullable(z.string()).optional(), autoAssignCustomDomains: z.boolean().optional(), + automaticAliases: z.array(z.string()).optional(), + buildErrorAt: z.number().optional(), + checksState: ChecksState$inboundSchema.optional(), + checksConclusion: ChecksConclusion$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(() => CreateDeploymentGitSource12$inboundSchema), z.lazy(() => CreateDeploymentGitSource15$inboundSchema), @@ -10524,41 +8125,29 @@ export const CreateDeploymentResponseBody$inboundSchema: z.ZodType< z.lazy(() => CreateDeploymentGitSource8$inboundSchema), ]).optional(), meta: z.record(z.string()), - project: z.lazy(() => CreateDeploymentProject$inboundSchema).optional(), - nodeVersion: CreateDeploymentNodeVersion$inboundSchema.optional(), - readyState: ReadyState$inboundSchema, - source: CreateDeploymentSource$inboundSchema.optional(), - target: z.nullable(CreateDeploymentTarget$inboundSchema).optional(), - errorMessage: z.nullable(z.string()).optional(), - deletedAt: z.nullable(z.number()).optional(), - passiveRegions: z.array(z.string()).optional(), - regions: z.array(z.string()), - version: z.number(), - aliasError: z.nullable(z.lazy(() => AliasError$inboundSchema)).optional(), - aliasFinal: z.nullable(z.string()).optional(), - aliasWarning: z.nullable(z.lazy(() => AliasWarning$inboundSchema)).optional(), - automaticAliases: z.array(z.string()).optional(), - buildErrorAt: z.number().optional(), - canceledAt: z.number().optional(), - checksConclusion: ChecksConclusion$inboundSchema.optional(), - checksState: ChecksState$inboundSchema.optional(), - defaultRoute: z.string().optional(), - errorCode: z.string().optional(), - errorLink: z.string().optional(), - errorStep: z.string().optional(), originCacheRegion: z.string().optional(), - oidcTokenClaims: z.lazy(() => OidcTokenClaims$inboundSchema).optional(), + nodeVersion: CreateDeploymentNodeVersion$inboundSchema.optional(), + project: z.lazy(() => CreateDeploymentProject$inboundSchema).optional(), readySubstate: ReadySubstate$inboundSchema.optional(), + regions: z.array(z.string()), softDeletedByRetention: z.boolean().optional(), + source: CreateDeploymentSource$inboundSchema.optional(), + target: z.nullable(CreateDeploymentTarget$inboundSchema).optional(), undeletedAt: z.number().optional(), url: z.string(), + version: z.number(), + oidcTokenClaims: z.lazy(() => OidcTokenClaims$inboundSchema).optional(), projectId: z.string(), - monorepoManager: z.nullable(z.string()).optional(), - ownerId: z.string(), plan: CreateDeploymentPlan$inboundSchema, - config: z.lazy(() => Config$inboundSchema).optional(), + connectBuildsEnabled: z.boolean().optional(), + connectConfigurationId: z.string().optional(), + createdIn: z.string(), + crons: z.array(z.lazy(() => CreateDeploymentCrons$inboundSchema)).optional(), functions: z.nullable(z.record(z.lazy(() => Functions$inboundSchema))) .optional(), + monorepoManager: z.nullable(z.string()).optional(), + ownerId: z.string(), + passiveConnectConfigurationId: z.string().optional(), routes: z.nullable( z.array(z.union([ z.lazy(() => Routes3$inboundSchema), @@ -10568,20 +8157,6 @@ export const CreateDeploymentResponseBody$inboundSchema: z.ZodType< z.lazy(() => Routes2$inboundSchema), ])), ), - crons: z.array(z.lazy(() => CreateDeploymentCrons$inboundSchema)).optional(), - checks: z.lazy(() => CreateDeploymentChecks$inboundSchema).optional(), - microfrontends: z.union([ - z.lazy(() => CreateDeploymentMicrofrontends2$inboundSchema), - z.lazy(() => CreateDeploymentMicrofrontends1$inboundSchema), - ]).optional(), - connectBuildsEnabled: z.boolean().optional(), - connectConfigurationId: z.string().optional(), - createdIn: z.string(), - passiveConnectConfigurationId: z.string().optional(), - flags: z.union([ - z.lazy(() => Flags1$inboundSchema), - z.array(z.lazy(() => Flags2$inboundSchema)), - ]).optional(), gitRepo: z.nullable( z.union([ z.lazy(() => GitRepo2$inboundSchema), @@ -10589,8 +8164,17 @@ export const CreateDeploymentResponseBody$inboundSchema: z.ZodType< z.lazy(() => GitRepo1$inboundSchema), ]), ).optional(), + flags: z.union([ + z.lazy(() => Flags1$inboundSchema), + z.array(z.lazy(() => Flags2$inboundSchema)), + ]).optional(), + microfrontends: z.union([ + z.lazy(() => CreateDeploymentMicrofrontends2$inboundSchema), + z.lazy(() => CreateDeploymentMicrofrontends1$inboundSchema), + ]).optional(), + config: z.lazy(() => Config$inboundSchema).optional(), + checks: z.lazy(() => CreateDeploymentChecks$inboundSchema).optional(), }); - /** @internal */ export type CreateDeploymentResponseBody$Outbound = { aliasAssignedAt?: number | boolean | null | undefined; @@ -10628,11 +8212,27 @@ export type CreateDeploymentResponseBody$Outbound = { | CustomEnvironment2$Outbound | undefined; oomReport?: string | undefined; + aliasWarning?: AliasWarning$Outbound | null | undefined; id: string; - name: string; createdAt: number; + readyState: string; + name: string; type: string; + aliasError?: AliasError$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?: | CreateDeploymentGitSource12$Outbound | CreateDeploymentGitSource15$Outbound @@ -10651,58 +8251,42 @@ export type CreateDeploymentResponseBody$Outbound = { | CreateDeploymentGitSource8$Outbound | undefined; meta: { [k: string]: string }; - project?: CreateDeploymentProject$Outbound | undefined; - nodeVersion?: string | undefined; - readyState: string; - source?: string | undefined; - target?: string | null | undefined; - errorMessage?: string | null | undefined; - deletedAt?: number | null | undefined; - passiveRegions?: Array | undefined; - regions: Array; - version: number; - aliasError?: AliasError$Outbound | null | undefined; - aliasFinal?: string | null | undefined; - aliasWarning?: AliasWarning$Outbound | null | undefined; - automaticAliases?: Array | undefined; - buildErrorAt?: number | undefined; - canceledAt?: number | undefined; - checksConclusion?: string | undefined; - checksState?: string | undefined; - defaultRoute?: string | undefined; - errorCode?: string | undefined; - errorLink?: string | undefined; - errorStep?: string | undefined; originCacheRegion?: string | undefined; - oidcTokenClaims?: OidcTokenClaims$Outbound | undefined; + nodeVersion?: string | undefined; + project?: CreateDeploymentProject$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?: OidcTokenClaims$Outbound | undefined; projectId: string; - monorepoManager?: string | null | undefined; - ownerId: string; plan: string; - config?: Config$Outbound | undefined; - functions?: { [k: string]: Functions$Outbound } | null | undefined; - routes: Array | null; - crons?: Array | undefined; - checks?: CreateDeploymentChecks$Outbound | undefined; - microfrontends?: - | CreateDeploymentMicrofrontends2$Outbound - | CreateDeploymentMicrofrontends1$Outbound - | undefined; connectBuildsEnabled?: boolean | undefined; connectConfigurationId?: string | undefined; createdIn: string; + crons?: Array | undefined; + functions?: { [k: string]: Functions$Outbound } | null | undefined; + monorepoManager?: string | null | undefined; + ownerId: string; passiveConnectConfigurationId?: string | undefined; - flags?: Flags1$Outbound | Array | undefined; + routes: Array | null; gitRepo?: | GitRepo2$Outbound | GitRepo3$Outbound | GitRepo1$Outbound | null | undefined; + flags?: Flags1$Outbound | Array | undefined; + microfrontends?: + | CreateDeploymentMicrofrontends2$Outbound + | CreateDeploymentMicrofrontends1$Outbound + | undefined; + config?: Config$Outbound | undefined; + checks?: CreateDeploymentChecks$Outbound | undefined; }; /** @internal */ @@ -10746,11 +8330,28 @@ export const CreateDeploymentResponseBody$outboundSchema: z.ZodType< z.lazy(() => CustomEnvironment2$outboundSchema), ]).optional(), oomReport: OomReport$outboundSchema.optional(), + aliasWarning: z.nullable(z.lazy(() => AliasWarning$outboundSchema)) + .optional(), id: z.string(), - name: z.string(), createdAt: z.number(), + readyState: ReadyState$outboundSchema, + name: z.string(), type: CreateDeploymentType$outboundSchema, + aliasError: z.nullable(z.lazy(() => AliasError$outboundSchema)).optional(), + aliasFinal: z.nullable(z.string()).optional(), autoAssignCustomDomains: z.boolean().optional(), + automaticAliases: z.array(z.string()).optional(), + buildErrorAt: z.number().optional(), + checksState: ChecksState$outboundSchema.optional(), + checksConclusion: ChecksConclusion$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(() => CreateDeploymentGitSource12$outboundSchema), z.lazy(() => CreateDeploymentGitSource15$outboundSchema), @@ -10769,42 +8370,29 @@ export const CreateDeploymentResponseBody$outboundSchema: z.ZodType< z.lazy(() => CreateDeploymentGitSource8$outboundSchema), ]).optional(), meta: z.record(z.string()), - project: z.lazy(() => CreateDeploymentProject$outboundSchema).optional(), - nodeVersion: CreateDeploymentNodeVersion$outboundSchema.optional(), - readyState: ReadyState$outboundSchema, - source: CreateDeploymentSource$outboundSchema.optional(), - target: z.nullable(CreateDeploymentTarget$outboundSchema).optional(), - errorMessage: z.nullable(z.string()).optional(), - deletedAt: z.nullable(z.number()).optional(), - passiveRegions: z.array(z.string()).optional(), - regions: z.array(z.string()), - version: z.number(), - aliasError: z.nullable(z.lazy(() => AliasError$outboundSchema)).optional(), - aliasFinal: z.nullable(z.string()).optional(), - aliasWarning: z.nullable(z.lazy(() => AliasWarning$outboundSchema)) - .optional(), - automaticAliases: z.array(z.string()).optional(), - buildErrorAt: z.number().optional(), - canceledAt: z.number().optional(), - checksConclusion: ChecksConclusion$outboundSchema.optional(), - checksState: ChecksState$outboundSchema.optional(), - defaultRoute: z.string().optional(), - errorCode: z.string().optional(), - errorLink: z.string().optional(), - errorStep: z.string().optional(), originCacheRegion: z.string().optional(), - oidcTokenClaims: z.lazy(() => OidcTokenClaims$outboundSchema).optional(), + nodeVersion: CreateDeploymentNodeVersion$outboundSchema.optional(), + project: z.lazy(() => CreateDeploymentProject$outboundSchema).optional(), readySubstate: ReadySubstate$outboundSchema.optional(), + regions: z.array(z.string()), softDeletedByRetention: z.boolean().optional(), + source: CreateDeploymentSource$outboundSchema.optional(), + target: z.nullable(CreateDeploymentTarget$outboundSchema).optional(), undeletedAt: z.number().optional(), url: z.string(), + version: z.number(), + oidcTokenClaims: z.lazy(() => OidcTokenClaims$outboundSchema).optional(), projectId: z.string(), - monorepoManager: z.nullable(z.string()).optional(), - ownerId: z.string(), plan: CreateDeploymentPlan$outboundSchema, - config: z.lazy(() => Config$outboundSchema).optional(), + connectBuildsEnabled: z.boolean().optional(), + connectConfigurationId: z.string().optional(), + createdIn: z.string(), + crons: z.array(z.lazy(() => CreateDeploymentCrons$outboundSchema)).optional(), functions: z.nullable(z.record(z.lazy(() => Functions$outboundSchema))) .optional(), + monorepoManager: z.nullable(z.string()).optional(), + ownerId: z.string(), + passiveConnectConfigurationId: z.string().optional(), routes: z.nullable( z.array(z.union([ z.lazy(() => Routes3$outboundSchema), @@ -10814,20 +8402,6 @@ export const CreateDeploymentResponseBody$outboundSchema: z.ZodType< z.lazy(() => Routes2$outboundSchema), ])), ), - crons: z.array(z.lazy(() => CreateDeploymentCrons$outboundSchema)).optional(), - checks: z.lazy(() => CreateDeploymentChecks$outboundSchema).optional(), - microfrontends: z.union([ - z.lazy(() => CreateDeploymentMicrofrontends2$outboundSchema), - z.lazy(() => CreateDeploymentMicrofrontends1$outboundSchema), - ]).optional(), - connectBuildsEnabled: z.boolean().optional(), - connectConfigurationId: z.string().optional(), - createdIn: z.string(), - passiveConnectConfigurationId: z.string().optional(), - flags: z.union([ - z.lazy(() => Flags1$outboundSchema), - z.array(z.lazy(() => Flags2$outboundSchema)), - ]).optional(), gitRepo: z.nullable( z.union([ z.lazy(() => GitRepo2$outboundSchema), @@ -10835,21 +8409,18 @@ export const CreateDeploymentResponseBody$outboundSchema: z.ZodType< z.lazy(() => GitRepo1$outboundSchema), ]), ).optional(), + flags: z.union([ + z.lazy(() => Flags1$outboundSchema), + z.array(z.lazy(() => Flags2$outboundSchema)), + ]).optional(), + microfrontends: z.union([ + z.lazy(() => CreateDeploymentMicrofrontends2$outboundSchema), + z.lazy(() => CreateDeploymentMicrofrontends1$outboundSchema), + ]).optional(), + config: z.lazy(() => Config$outboundSchema).optional(), + checks: z.lazy(() => CreateDeploymentChecks$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 { @@ -10859,7 +8430,6 @@ export function createDeploymentResponseBodyToJSON( ), ); } - export function createDeploymentResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/createdrainop.ts b/src/models/createdrainop.ts new file mode 100644 index 000000000..e3a2e84de --- /dev/null +++ b/src/models/createdrainop.ts @@ -0,0 +1,4780 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +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 CreateDrainProjects = { + Some: "some", + All: "all", +} as const; +export type CreateDrainProjects = ClosedEnum; + +export type CreateDrainFilter2 = { + type: string; + text: string; +}; + +export type CreateDrainFilterProject = { + ids?: Array | undefined; +}; + +export const FilterSources = { + Build: "build", + Edge: "edge", + Lambda: "lambda", + Static: "static", + External: "external", + Firewall: "firewall", + Redirect: "redirect", +} as const; +export type FilterSources = ClosedEnum; + +export type Log = { + sources?: Array | undefined; +}; + +export const FilterEnvironments = { + Production: "production", + Preview: "preview", +} as const; +export type FilterEnvironments = ClosedEnum; + +export type CreateDrainFilterDeployment = { + environments?: Array | undefined; +}; + +export type Filter1 = { + type: string; + project?: CreateDrainFilterProject | undefined; + log?: Log | undefined; + deployment?: CreateDrainFilterDeployment | undefined; +}; + +export type FilterFilter = CreateDrainFilter2 | Filter1; + +export type Filter2 = { + version: string; + filter: CreateDrainFilter2 | Filter1; +}; + +export type Filter = Filter2 | string; + +export type Schemas = { + version: string; +}; + +export type Endpoint1 = { + traces: string; +}; + +export type Endpoint = Endpoint1; + +export const CreateDrainDeliveryEncoding = { + Proto: "proto", + Json: "json", +} as const; +export type CreateDrainDeliveryEncoding = ClosedEnum< + typeof CreateDrainDeliveryEncoding +>; + +export type Delivery2 = { + type: string; + endpoint: Endpoint1; + encoding: CreateDrainDeliveryEncoding; + headers: { [k: string]: string }; + secret?: string | undefined; +}; + +export const Compression = { + Gzip: "gzip", + None: "none", +} as const; +export type Compression = ClosedEnum; + +export const DeliveryEncoding = { + Json: "json", + Ndjson: "ndjson", +} as const; +export type DeliveryEncoding = ClosedEnum; + +export type Delivery1 = { + type: string; + endpoint: string; + compression?: Compression | undefined; + encoding: DeliveryEncoding; + headers: { [k: string]: string }; + secret?: string | undefined; +}; + +export type Delivery = Delivery1 | Delivery2; + +/** + * Environment to apply sampling to + */ +export const Env = { + Production: "production", + Preview: "preview", +} as const; +/** + * Environment to apply sampling to + */ +export type Env = ClosedEnum; + +export type Sampling = { + type: string; + /** + * Sampling rate from 0 to 1 (e.g., 0.1 for 10%) + */ + rate: number; + /** + * Environment to apply sampling to + */ + env?: Env | undefined; + /** + * Request path prefix to apply the sampling rule to + */ + requestPath?: string | undefined; +}; + +export type Transforms = { + id: string; +}; + +export type Source2 = { + kind?: string | undefined; +}; + +export type One3 = { + kind?: string | undefined; +}; + +export type One2 = { + kind?: string | undefined; + resourceId: string; +}; + +export type One1 = { + kind?: string | undefined; + externalResourceId: string; +}; + +export type Source1 = One1 | One2 | One3; + +export type CreateDrainSource = One1 | One2 | One3 | Source2; + +export type CreateDrainRequestBody = { + name: string; + projects: CreateDrainProjects; + projectIds?: Array | undefined; + filter?: Filter2 | string | undefined; + schemas: { [k: string]: Schemas }; + delivery?: Delivery1 | Delivery2 | undefined; + sampling?: Array | undefined; + transforms?: Array | undefined; + source?: One1 | One2 | One3 | Source2 | undefined; +}; + +export type CreateDrainRequest = { + /** + * 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?: CreateDrainRequestBody | undefined; +}; + +export const ResponseBodyCreatedFrom = { + SelfServed: "self-served", + Integration: "integration", +} as const; +export type ResponseBodyCreatedFrom = ClosedEnum< + typeof ResponseBodyCreatedFrom +>; + +export type CreateDrainResponseBodyLog = {}; + +export type ResponseBodyTrace = {}; + +export type CreateDrainResponseBodyAnalytics = {}; + +export type CreateDrainResponseBodyDrainsSpeedInsights = {}; + +export type CreateDrainResponseBodySchemas = { + log?: CreateDrainResponseBodyLog | undefined; + trace?: ResponseBodyTrace | undefined; + analytics?: CreateDrainResponseBodyAnalytics | undefined; + speedInsights?: CreateDrainResponseBodyDrainsSpeedInsights | undefined; +}; + +export const CreateDrainDeliveryDrainsResponse200ApplicationJSONResponseBody2Type = + { + Internal: "internal", + } as const; +export type CreateDrainDeliveryDrainsResponse200ApplicationJSONResponseBody2Type = + ClosedEnum< + typeof CreateDrainDeliveryDrainsResponse200ApplicationJSONResponseBody2Type + >; + +export const CreateDrainDeliveryTarget = { + VercelOtelTracesDb: "vercel-otel-traces-db", +} as const; +export type CreateDrainDeliveryTarget = ClosedEnum< + typeof CreateDrainDeliveryTarget +>; + +export type CreateDrainDelivery4 = { + type: CreateDrainDeliveryDrainsResponse200ApplicationJSONResponseBody2Type; + target: CreateDrainDeliveryTarget; +}; + +export const CreateDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyType = + { + Clickhouse: "clickhouse", + } as const; +export type CreateDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyType = + ClosedEnum< + typeof CreateDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyType + >; + +export type CreateDrainDelivery3 = { + type: CreateDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyType; + endpoint: string; + table: string; +}; + +export const CreateDrainDeliveryDrainsResponse200ApplicationJSONType = { + Otlphttp: "otlphttp", +} as const; +export type CreateDrainDeliveryDrainsResponse200ApplicationJSONType = + ClosedEnum; + +export type CreateDrainDeliveryEndpoint = { + traces: string; +}; + +export const CreateDrainDeliveryDrainsResponse200ApplicationJSONEncoding = { + Json: "json", + Proto: "proto", +} as const; +export type CreateDrainDeliveryDrainsResponse200ApplicationJSONEncoding = + ClosedEnum< + typeof CreateDrainDeliveryDrainsResponse200ApplicationJSONEncoding + >; + +export type CreateDrainDeliveryDrains2 = { + type: CreateDrainDeliveryDrainsResponse200ApplicationJSONType; + endpoint: CreateDrainDeliveryEndpoint; + encoding: CreateDrainDeliveryDrainsResponse200ApplicationJSONEncoding; + headers: { [k: string]: string }; + secret?: string | undefined; +}; + +export const CreateDrainDeliveryDrainsResponse200Type = { + Http: "http", +} as const; +export type CreateDrainDeliveryDrainsResponse200Type = ClosedEnum< + typeof CreateDrainDeliveryDrainsResponse200Type +>; + +export const CreateDrainDeliveryDrainsResponse200Encoding = { + Json: "json", + Ndjson: "ndjson", +} as const; +export type CreateDrainDeliveryDrainsResponse200Encoding = ClosedEnum< + typeof CreateDrainDeliveryDrainsResponse200Encoding +>; + +export const CreateDrainDeliveryCompression = { + Gzip: "gzip", + None: "none", +} as const; +export type CreateDrainDeliveryCompression = ClosedEnum< + typeof CreateDrainDeliveryCompression +>; + +export type CreateDrainDeliveryDrains1 = { + type: CreateDrainDeliveryDrainsResponse200Type; + endpoint: string; + encoding: CreateDrainDeliveryDrainsResponse200Encoding; + compression?: CreateDrainDeliveryCompression | undefined; + headers: { [k: string]: string }; + secret?: string | undefined; +}; + +export type CreateDrainResponseBodyDelivery = + | CreateDrainDeliveryDrains1 + | CreateDrainDeliveryDrains2 + | CreateDrainDelivery3 + | CreateDrainDelivery4; + +export const CreateDrainResponseBodyDrainsType = { + HeadSampling: "head_sampling", +} as const; +export type CreateDrainResponseBodyDrainsType = ClosedEnum< + typeof CreateDrainResponseBodyDrainsType +>; + +export const CreateDrainResponseBodyEnv = { + Production: "production", + Preview: "preview", +} as const; +export type CreateDrainResponseBodyEnv = ClosedEnum< + typeof CreateDrainResponseBodyEnv +>; + +export type CreateDrainResponseBodySampling = { + type: CreateDrainResponseBodyDrainsType; + rate: number; + env?: CreateDrainResponseBodyEnv | undefined; + requestPath?: string | undefined; +}; + +export const CreateDrainResponseBodyDrainsStatus = { + Enabled: "enabled", + Disabled: "disabled", + Errored: "errored", +} as const; +export type CreateDrainResponseBodyDrainsStatus = ClosedEnum< + typeof CreateDrainResponseBodyDrainsStatus +>; + +export const ResponseBodyDisabledReason = { + DisabledByOwner: "disabled-by-owner", + FeatureNotAvailable: "feature-not-available", + AccountPlanDowngrade: "account-plan-downgrade", + DisabledByAdmin: "disabled-by-admin", +} as const; +export type ResponseBodyDisabledReason = ClosedEnum< + typeof ResponseBodyDisabledReason +>; + +export const CreateDrainSourceDrainsKind = { + Integration: "integration", +} as const; +export type CreateDrainSourceDrainsKind = ClosedEnum< + typeof CreateDrainSourceDrainsKind +>; + +export type CreateDrainSourceDrains2 = { + kind: CreateDrainSourceDrainsKind; + resourceId?: string | undefined; + externalResourceId?: string | undefined; + integrationId: string; + integrationConfigurationId: string; +}; + +export const CreateDrainSourceKind = { + SelfServed: "self-served", +} as const; +export type CreateDrainSourceKind = ClosedEnum; + +export type CreateDrainSourceDrains1 = { + kind: CreateDrainSourceKind; +}; + +export type CreateDrainResponseBodyDrainsSource = + | CreateDrainSourceDrains2 + | CreateDrainSourceDrains1; + +export const CreateDrainFilterV2DrainsVersion = { + V2: "v2", +} as const; +export type CreateDrainFilterV2DrainsVersion = ClosedEnum< + typeof CreateDrainFilterV2DrainsVersion +>; + +export const CreateDrainFilterDrainsResponseType = { + Odata: "odata", +} as const; +export type CreateDrainFilterDrainsResponseType = ClosedEnum< + typeof CreateDrainFilterDrainsResponseType +>; + +export type CreateDrainFilterDrainsResponse2 = { + type: CreateDrainFilterDrainsResponseType; + text: string; +}; + +export const CreateDrainFilterDrainsType = { + Basic: "basic", +} as const; +export type CreateDrainFilterDrainsType = ClosedEnum< + typeof CreateDrainFilterDrainsType +>; + +export type CreateDrainFilterDrainsResponseProject = { + ids?: Array | undefined; +}; + +export const CreateDrainFilterDrainsSources = { + Build: "build", + Edge: "edge", + Lambda: "lambda", + Static: "static", + External: "external", + Firewall: "firewall", + Redirect: "redirect", +} as const; +export type CreateDrainFilterDrainsSources = ClosedEnum< + typeof CreateDrainFilterDrainsSources +>; + +export type CreateDrainFilterLog = { + sources?: Array | undefined; + legacyExcludeCachedStaticAssetLogs?: boolean | undefined; +}; + +export const CreateDrainFilterDrainsEnvironments = { + Production: "production", + Preview: "preview", +} as const; +export type CreateDrainFilterDrainsEnvironments = ClosedEnum< + typeof CreateDrainFilterDrainsEnvironments +>; + +export type CreateDrainFilterDrainsResponseDeployment = { + environments?: Array | undefined; +}; + +export type CreateDrainFilterDrains1 = { + type: CreateDrainFilterDrainsType; + project?: CreateDrainFilterDrainsResponseProject | undefined; + log?: CreateDrainFilterLog | undefined; + deployment?: CreateDrainFilterDrainsResponseDeployment | undefined; +}; + +export type CreateDrainFilterV2Filter = + | CreateDrainFilterDrainsResponse2 + | CreateDrainFilterDrains1; + +export type CreateDrainFilterV22 = { + version: CreateDrainFilterV2DrainsVersion; + filter: CreateDrainFilterDrainsResponse2 | CreateDrainFilterDrains1; +}; + +export const CreateDrainFilterV2Version = { + V1: "v1", +} as const; +export type CreateDrainFilterV2Version = ClosedEnum< + typeof CreateDrainFilterV2Version +>; + +export type CreateDrainFilterV21 = { + version: CreateDrainFilterV2Version; +}; + +export type ResponseBodyFilterV2 = CreateDrainFilterV22 | CreateDrainFilterV21; + +export const CreateDrainResponseBodyFramework = { + Blitzjs: "blitzjs", + Nextjs: "nextjs", + Gatsby: "gatsby", + Remix: "remix", + ReactRouter: "react-router", + 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", + TanstackStart: "tanstack-start", + Vitepress: "vitepress", + Vuepress: "vuepress", + Parcel: "parcel", + Fastapi: "fastapi", + Flask: "flask", + Fasthtml: "fasthtml", + SanityV3: "sanity-v3", + Sanity: "sanity", + Storybook: "storybook", + Nitro: "nitro", + Hono: "hono", + Express: "express", + H3: "h3", + Nestjs: "nestjs", + Elysia: "elysia", + Fastify: "fastify", + Xmcp: "xmcp", +} as const; +export type CreateDrainResponseBodyFramework = ClosedEnum< + typeof CreateDrainResponseBodyFramework +>; + +export type CreateDrainResponseBodyProjectsMetadata = { + id: string; + name: string; + framework?: CreateDrainResponseBodyFramework | null | undefined; + latestDeployment?: string | undefined; +}; + +export type CreateDrainResponseBody2 = { + id: string; + ownerId: string; + name: string; + createdAt: number; + createdFrom?: ResponseBodyCreatedFrom | undefined; + updatedAt: number; + projectIds?: Array | undefined; + schemas?: CreateDrainResponseBodySchemas | undefined; + delivery?: + | CreateDrainDeliveryDrains1 + | CreateDrainDeliveryDrains2 + | CreateDrainDelivery3 + | CreateDrainDelivery4 + | undefined; + sampling?: Array | undefined; + teamId?: string | null | undefined; + status?: CreateDrainResponseBodyDrainsStatus | undefined; + disabledAt?: number | undefined; + disabledReason?: ResponseBodyDisabledReason | undefined; + disabledBy?: string | undefined; + firstErrorTimestamp?: number | undefined; + configurationId?: string | undefined; + clientId?: string | undefined; + source: CreateDrainSourceDrains2 | CreateDrainSourceDrains1; + filter?: string | undefined; + filterV2?: CreateDrainFilterV22 | CreateDrainFilterV21 | undefined; + integrationIcon?: string | undefined; + integrationConfigurationUri?: string | undefined; + integrationWebsite?: string | undefined; + projectsMetadata?: Array | undefined; +}; + +export const CreateDrainResponseBodyCreatedFrom = { + SelfServed: "self-served", + Integration: "integration", +} as const; +export type CreateDrainResponseBodyCreatedFrom = ClosedEnum< + typeof CreateDrainResponseBodyCreatedFrom +>; + +export type ResponseBodyLog = {}; + +export type Trace = {}; + +export type ResponseBodyAnalytics = {}; + +export type CreateDrainResponseBodySpeedInsights = {}; + +export type ResponseBodySchemas = { + log?: ResponseBodyLog | undefined; + trace?: Trace | undefined; + analytics?: ResponseBodyAnalytics | undefined; + speedInsights?: CreateDrainResponseBodySpeedInsights | undefined; +}; + +export const CreateDrainDeliveryDrainsResponseType = { + Internal: "internal", +} as const; +export type CreateDrainDeliveryDrainsResponseType = ClosedEnum< + typeof CreateDrainDeliveryDrainsResponseType +>; + +export const DeliveryTarget = { + VercelOtelTracesDb: "vercel-otel-traces-db", +} as const; +export type DeliveryTarget = ClosedEnum; + +export type Delivery4 = { + type: CreateDrainDeliveryDrainsResponseType; + target: DeliveryTarget; +}; + +export const CreateDrainDeliveryDrainsType = { + Clickhouse: "clickhouse", +} as const; +export type CreateDrainDeliveryDrainsType = ClosedEnum< + typeof CreateDrainDeliveryDrainsType +>; + +export type Delivery3 = { + type: CreateDrainDeliveryDrainsType; + endpoint: string; + table: string; +}; + +export const CreateDrainDeliveryType = { + Otlphttp: "otlphttp", +} as const; +export type CreateDrainDeliveryType = ClosedEnum< + typeof CreateDrainDeliveryType +>; + +export type CreateDrainDeliveryDrainsEndpoint = { + traces: string; +}; + +export const CreateDrainDeliveryDrainsResponseEncoding = { + Json: "json", + Proto: "proto", +} as const; +export type CreateDrainDeliveryDrainsResponseEncoding = ClosedEnum< + typeof CreateDrainDeliveryDrainsResponseEncoding +>; + +export type CreateDrainDelivery2 = { + type: CreateDrainDeliveryType; + endpoint: CreateDrainDeliveryDrainsEndpoint; + encoding: CreateDrainDeliveryDrainsResponseEncoding; + headers: { [k: string]: string }; + secret?: string | undefined; +}; + +export const DeliveryType = { + Http: "http", +} as const; +export type DeliveryType = ClosedEnum; + +export const CreateDrainDeliveryDrainsEncoding = { + Json: "json", + Ndjson: "ndjson", +} as const; +export type CreateDrainDeliveryDrainsEncoding = ClosedEnum< + typeof CreateDrainDeliveryDrainsEncoding +>; + +export const CreateDrainDeliveryDrainsCompression = { + Gzip: "gzip", + None: "none", +} as const; +export type CreateDrainDeliveryDrainsCompression = ClosedEnum< + typeof CreateDrainDeliveryDrainsCompression +>; + +export type CreateDrainDelivery1 = { + type: DeliveryType; + endpoint: string; + encoding: CreateDrainDeliveryDrainsEncoding; + compression?: CreateDrainDeliveryDrainsCompression | undefined; + headers: { [k: string]: string }; + secret?: string | undefined; +}; + +export type ResponseBodyDelivery = + | CreateDrainDelivery1 + | CreateDrainDelivery2 + | Delivery3 + | Delivery4; + +export const CreateDrainResponseBodyType = { + HeadSampling: "head_sampling", +} as const; +export type CreateDrainResponseBodyType = ClosedEnum< + typeof CreateDrainResponseBodyType +>; + +export const ResponseBodyEnv = { + Production: "production", + Preview: "preview", +} as const; +export type ResponseBodyEnv = ClosedEnum; + +export type ResponseBodySampling = { + type: CreateDrainResponseBodyType; + rate: number; + env?: ResponseBodyEnv | undefined; + requestPath?: string | undefined; +}; + +export const CreateDrainResponseBodyStatus = { + Enabled: "enabled", + Disabled: "disabled", + Errored: "errored", +} as const; +export type CreateDrainResponseBodyStatus = ClosedEnum< + typeof CreateDrainResponseBodyStatus +>; + +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 CreateDrainSourceDrainsResponse200Kind = { + Integration: "integration", +} as const; +export type CreateDrainSourceDrainsResponse200Kind = ClosedEnum< + typeof CreateDrainSourceDrainsResponse200Kind +>; + +export type CreateDrainSource2 = { + kind: CreateDrainSourceDrainsResponse200Kind; + resourceId?: string | undefined; + externalResourceId?: string | undefined; + integrationId: string; + integrationConfigurationId: string; +}; + +export const CreateDrainSourceDrainsResponseKind = { + SelfServed: "self-served", +} as const; +export type CreateDrainSourceDrainsResponseKind = ClosedEnum< + typeof CreateDrainSourceDrainsResponseKind +>; + +export type CreateDrainSource1 = { + kind: CreateDrainSourceDrainsResponseKind; +}; + +export type CreateDrainResponseBodySource = + | CreateDrainSource2 + | CreateDrainSource1; + +export const FilterV2Version = { + V2: "v2", +} as const; +export type FilterV2Version = ClosedEnum; + +export const CreateDrainFilterType = { + Odata: "odata", +} as const; +export type CreateDrainFilterType = ClosedEnum; + +export type CreateDrainFilterDrains2 = { + type: CreateDrainFilterType; + text: string; +}; + +export const FilterType = { + Basic: "basic", +} as const; +export type FilterType = ClosedEnum; + +export type CreateDrainFilterDrainsProject = { + ids?: Array | undefined; +}; + +export const CreateDrainFilterSources = { + Build: "build", + Edge: "edge", + Lambda: "lambda", + Static: "static", + External: "external", + Firewall: "firewall", + Redirect: "redirect", +} as const; +export type CreateDrainFilterSources = ClosedEnum< + typeof CreateDrainFilterSources +>; + +export type CreateDrainFilterDrainsLog = { + sources?: Array | undefined; + legacyExcludeCachedStaticAssetLogs?: boolean | undefined; +}; + +export const CreateDrainFilterEnvironments = { + Production: "production", + Preview: "preview", +} as const; +export type CreateDrainFilterEnvironments = ClosedEnum< + typeof CreateDrainFilterEnvironments +>; + +export type CreateDrainFilterDrainsDeployment = { + environments?: Array | undefined; +}; + +export type CreateDrainFilter1 = { + type: FilterType; + project?: CreateDrainFilterDrainsProject | undefined; + log?: CreateDrainFilterDrainsLog | undefined; + deployment?: CreateDrainFilterDrainsDeployment | undefined; +}; + +export type FilterV2Filter = CreateDrainFilterDrains2 | CreateDrainFilter1; + +export type FilterV22 = { + version: FilterV2Version; + filter: CreateDrainFilterDrains2 | CreateDrainFilter1; +}; + +export const CreateDrainFilterV2DrainsResponseVersion = { + V1: "v1", +} as const; +export type CreateDrainFilterV2DrainsResponseVersion = ClosedEnum< + typeof CreateDrainFilterV2DrainsResponseVersion +>; + +export type FilterV21 = { + version: CreateDrainFilterV2DrainsResponseVersion; +}; + +export type FilterV2 = FilterV22 | FilterV21; + +export type CreateDrainResponseBody1 = { + id: string; + ownerId: string; + name: string; + createdAt: number; + createdFrom?: CreateDrainResponseBodyCreatedFrom | undefined; + updatedAt: number; + projectIds?: Array | undefined; + schemas?: ResponseBodySchemas | undefined; + delivery?: + | CreateDrainDelivery1 + | CreateDrainDelivery2 + | Delivery3 + | Delivery4 + | undefined; + sampling?: Array | undefined; + teamId?: string | null | undefined; + status?: CreateDrainResponseBodyStatus | undefined; + disabledAt?: number | undefined; + disabledReason?: DisabledReason | undefined; + disabledBy?: string | undefined; + firstErrorTimestamp?: number | undefined; + configurationId?: string | undefined; + clientId?: string | undefined; + source: CreateDrainSource2 | CreateDrainSource1; + filter?: string | undefined; + filterV2?: FilterV22 | FilterV21 | undefined; +}; + +export type CreateDrainResponseBody = + | CreateDrainResponseBody1 + | CreateDrainResponseBody2; + +/** @internal */ +export const CreateDrainProjects$inboundSchema: z.ZodNativeEnum< + typeof CreateDrainProjects +> = z.nativeEnum(CreateDrainProjects); +/** @internal */ +export const CreateDrainProjects$outboundSchema: z.ZodNativeEnum< + typeof CreateDrainProjects +> = CreateDrainProjects$inboundSchema; + +/** @internal */ +export const CreateDrainFilter2$inboundSchema: z.ZodType< + CreateDrainFilter2, + z.ZodTypeDef, + unknown +> = z.object({ + type: z.string(), + text: z.string(), +}); +/** @internal */ +export type CreateDrainFilter2$Outbound = { + type: string; + text: string; +}; + +/** @internal */ +export const CreateDrainFilter2$outboundSchema: z.ZodType< + CreateDrainFilter2$Outbound, + z.ZodTypeDef, + CreateDrainFilter2 +> = z.object({ + type: z.string(), + text: z.string(), +}); + +export function createDrainFilter2ToJSON( + createDrainFilter2: CreateDrainFilter2, +): string { + return JSON.stringify( + CreateDrainFilter2$outboundSchema.parse(createDrainFilter2), + ); +} +export function createDrainFilter2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateDrainFilter2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateDrainFilter2' from JSON`, + ); +} + +/** @internal */ +export const CreateDrainFilterProject$inboundSchema: z.ZodType< + CreateDrainFilterProject, + z.ZodTypeDef, + unknown +> = z.object({ + ids: z.array(z.string()).optional(), +}); +/** @internal */ +export type CreateDrainFilterProject$Outbound = { + ids?: Array | undefined; +}; + +/** @internal */ +export const CreateDrainFilterProject$outboundSchema: z.ZodType< + CreateDrainFilterProject$Outbound, + z.ZodTypeDef, + CreateDrainFilterProject +> = z.object({ + ids: z.array(z.string()).optional(), +}); + +export function createDrainFilterProjectToJSON( + createDrainFilterProject: CreateDrainFilterProject, +): string { + return JSON.stringify( + CreateDrainFilterProject$outboundSchema.parse(createDrainFilterProject), + ); +} +export function createDrainFilterProjectFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateDrainFilterProject$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateDrainFilterProject' from JSON`, + ); +} + +/** @internal */ +export const FilterSources$inboundSchema: z.ZodNativeEnum< + typeof FilterSources +> = z.nativeEnum(FilterSources); +/** @internal */ +export const FilterSources$outboundSchema: z.ZodNativeEnum< + typeof FilterSources +> = FilterSources$inboundSchema; + +/** @internal */ +export const Log$inboundSchema: z.ZodType = z + .object({ + sources: z.array(FilterSources$inboundSchema).optional(), + }); +/** @internal */ +export type Log$Outbound = { + sources?: Array | undefined; +}; + +/** @internal */ +export const Log$outboundSchema: z.ZodType = z + .object({ + sources: z.array(FilterSources$outboundSchema).optional(), + }); + +export function logToJSON(log: Log): string { + return JSON.stringify(Log$outboundSchema.parse(log)); +} +export function logFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Log$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Log' from JSON`, + ); +} + +/** @internal */ +export const FilterEnvironments$inboundSchema: z.ZodNativeEnum< + typeof FilterEnvironments +> = z.nativeEnum(FilterEnvironments); +/** @internal */ +export const FilterEnvironments$outboundSchema: z.ZodNativeEnum< + typeof FilterEnvironments +> = FilterEnvironments$inboundSchema; + +/** @internal */ +export const CreateDrainFilterDeployment$inboundSchema: z.ZodType< + CreateDrainFilterDeployment, + z.ZodTypeDef, + unknown +> = z.object({ + environments: z.array(FilterEnvironments$inboundSchema).optional(), +}); +/** @internal */ +export type CreateDrainFilterDeployment$Outbound = { + environments?: Array | undefined; +}; + +/** @internal */ +export const CreateDrainFilterDeployment$outboundSchema: z.ZodType< + CreateDrainFilterDeployment$Outbound, + z.ZodTypeDef, + CreateDrainFilterDeployment +> = z.object({ + environments: z.array(FilterEnvironments$outboundSchema).optional(), +}); + +export function createDrainFilterDeploymentToJSON( + createDrainFilterDeployment: CreateDrainFilterDeployment, +): string { + return JSON.stringify( + CreateDrainFilterDeployment$outboundSchema.parse( + createDrainFilterDeployment, + ), + ); +} +export function createDrainFilterDeploymentFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateDrainFilterDeployment$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateDrainFilterDeployment' from JSON`, + ); +} + +/** @internal */ +export const Filter1$inboundSchema: z.ZodType = + z.object({ + type: z.string(), + project: z.lazy(() => CreateDrainFilterProject$inboundSchema).optional(), + log: z.lazy(() => Log$inboundSchema).optional(), + deployment: z.lazy(() => CreateDrainFilterDeployment$inboundSchema) + .optional(), + }); +/** @internal */ +export type Filter1$Outbound = { + type: string; + project?: CreateDrainFilterProject$Outbound | undefined; + log?: Log$Outbound | undefined; + deployment?: CreateDrainFilterDeployment$Outbound | undefined; +}; + +/** @internal */ +export const Filter1$outboundSchema: z.ZodType< + Filter1$Outbound, + z.ZodTypeDef, + Filter1 +> = z.object({ + type: z.string(), + project: z.lazy(() => CreateDrainFilterProject$outboundSchema).optional(), + log: z.lazy(() => Log$outboundSchema).optional(), + deployment: z.lazy(() => CreateDrainFilterDeployment$outboundSchema) + .optional(), +}); + +export function filter1ToJSON(filter1: Filter1): string { + return JSON.stringify(Filter1$outboundSchema.parse(filter1)); +} +export function filter1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Filter1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Filter1' from JSON`, + ); +} + +/** @internal */ +export const FilterFilter$inboundSchema: z.ZodType< + FilterFilter, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => CreateDrainFilter2$inboundSchema), + z.lazy(() => Filter1$inboundSchema), +]); +/** @internal */ +export type FilterFilter$Outbound = + | CreateDrainFilter2$Outbound + | Filter1$Outbound; + +/** @internal */ +export const FilterFilter$outboundSchema: z.ZodType< + FilterFilter$Outbound, + z.ZodTypeDef, + FilterFilter +> = z.union([ + z.lazy(() => CreateDrainFilter2$outboundSchema), + z.lazy(() => Filter1$outboundSchema), +]); + +export function filterFilterToJSON(filterFilter: FilterFilter): string { + return JSON.stringify(FilterFilter$outboundSchema.parse(filterFilter)); +} +export function filterFilterFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => FilterFilter$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FilterFilter' from JSON`, + ); +} + +/** @internal */ +export const Filter2$inboundSchema: z.ZodType = + z.object({ + version: z.string(), + filter: z.union([ + z.lazy(() => CreateDrainFilter2$inboundSchema), + z.lazy(() => Filter1$inboundSchema), + ]), + }); +/** @internal */ +export type Filter2$Outbound = { + version: string; + filter: CreateDrainFilter2$Outbound | Filter1$Outbound; +}; + +/** @internal */ +export const Filter2$outboundSchema: z.ZodType< + Filter2$Outbound, + z.ZodTypeDef, + Filter2 +> = z.object({ + version: z.string(), + filter: z.union([ + z.lazy(() => CreateDrainFilter2$outboundSchema), + z.lazy(() => Filter1$outboundSchema), + ]), +}); + +export function filter2ToJSON(filter2: Filter2): string { + return JSON.stringify(Filter2$outboundSchema.parse(filter2)); +} +export function filter2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Filter2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Filter2' from JSON`, + ); +} + +/** @internal */ +export const Filter$inboundSchema: z.ZodType = z + .union([z.lazy(() => Filter2$inboundSchema), z.string()]); +/** @internal */ +export type Filter$Outbound = Filter2$Outbound | string; + +/** @internal */ +export const Filter$outboundSchema: z.ZodType< + Filter$Outbound, + z.ZodTypeDef, + Filter +> = z.union([z.lazy(() => Filter2$outboundSchema), z.string()]); + +export function filterToJSON(filter: Filter): string { + return JSON.stringify(Filter$outboundSchema.parse(filter)); +} +export function filterFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Filter$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Filter' from JSON`, + ); +} + +/** @internal */ +export const Schemas$inboundSchema: z.ZodType = + z.object({ + version: z.string(), + }); +/** @internal */ +export type Schemas$Outbound = { + version: string; +}; + +/** @internal */ +export const Schemas$outboundSchema: z.ZodType< + Schemas$Outbound, + z.ZodTypeDef, + Schemas +> = z.object({ + version: z.string(), +}); + +export function schemasToJSON(schemas: Schemas): string { + return JSON.stringify(Schemas$outboundSchema.parse(schemas)); +} +export function schemasFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Schemas$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Schemas' from JSON`, + ); +} + +/** @internal */ +export const Endpoint1$inboundSchema: z.ZodType< + Endpoint1, + z.ZodTypeDef, + unknown +> = z.object({ + traces: z.string(), +}); +/** @internal */ +export type Endpoint1$Outbound = { + traces: string; +}; + +/** @internal */ +export const Endpoint1$outboundSchema: z.ZodType< + Endpoint1$Outbound, + z.ZodTypeDef, + Endpoint1 +> = z.object({ + traces: z.string(), +}); + +export function endpoint1ToJSON(endpoint1: Endpoint1): string { + return JSON.stringify(Endpoint1$outboundSchema.parse(endpoint1)); +} +export function endpoint1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Endpoint1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Endpoint1' from JSON`, + ); +} + +/** @internal */ +export const Endpoint$inboundSchema: z.ZodType< + Endpoint, + z.ZodTypeDef, + unknown +> = z.lazy(() => Endpoint1$inboundSchema); +/** @internal */ +export type Endpoint$Outbound = Endpoint1$Outbound; + +/** @internal */ +export const Endpoint$outboundSchema: z.ZodType< + Endpoint$Outbound, + z.ZodTypeDef, + Endpoint +> = z.lazy(() => Endpoint1$outboundSchema); + +export function endpointToJSON(endpoint: Endpoint): string { + return JSON.stringify(Endpoint$outboundSchema.parse(endpoint)); +} +export function endpointFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Endpoint$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Endpoint' from JSON`, + ); +} + +/** @internal */ +export const CreateDrainDeliveryEncoding$inboundSchema: z.ZodNativeEnum< + typeof CreateDrainDeliveryEncoding +> = z.nativeEnum(CreateDrainDeliveryEncoding); +/** @internal */ +export const CreateDrainDeliveryEncoding$outboundSchema: z.ZodNativeEnum< + typeof CreateDrainDeliveryEncoding +> = CreateDrainDeliveryEncoding$inboundSchema; + +/** @internal */ +export const Delivery2$inboundSchema: z.ZodType< + Delivery2, + z.ZodTypeDef, + unknown +> = z.object({ + type: z.string(), + endpoint: z.lazy(() => Endpoint1$inboundSchema), + encoding: CreateDrainDeliveryEncoding$inboundSchema, + headers: z.record(z.string()), + secret: z.string().optional(), +}); +/** @internal */ +export type Delivery2$Outbound = { + type: string; + endpoint: Endpoint1$Outbound; + encoding: string; + headers: { [k: string]: string }; + secret?: string | undefined; +}; + +/** @internal */ +export const Delivery2$outboundSchema: z.ZodType< + Delivery2$Outbound, + z.ZodTypeDef, + Delivery2 +> = z.object({ + type: z.string(), + endpoint: z.lazy(() => Endpoint1$outboundSchema), + encoding: CreateDrainDeliveryEncoding$outboundSchema, + headers: z.record(z.string()), + secret: z.string().optional(), +}); + +export function delivery2ToJSON(delivery2: Delivery2): string { + return JSON.stringify(Delivery2$outboundSchema.parse(delivery2)); +} +export function delivery2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Delivery2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Delivery2' from JSON`, + ); +} + +/** @internal */ +export const Compression$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(Compression); +/** @internal */ +export const Compression$outboundSchema: z.ZodNativeEnum = + Compression$inboundSchema; + +/** @internal */ +export const DeliveryEncoding$inboundSchema: z.ZodNativeEnum< + typeof DeliveryEncoding +> = z.nativeEnum(DeliveryEncoding); +/** @internal */ +export const DeliveryEncoding$outboundSchema: z.ZodNativeEnum< + typeof DeliveryEncoding +> = DeliveryEncoding$inboundSchema; + +/** @internal */ +export const Delivery1$inboundSchema: z.ZodType< + Delivery1, + z.ZodTypeDef, + unknown +> = z.object({ + type: z.string(), + endpoint: z.string(), + compression: Compression$inboundSchema.optional(), + encoding: DeliveryEncoding$inboundSchema, + headers: z.record(z.string()), + secret: z.string().optional(), +}); +/** @internal */ +export type Delivery1$Outbound = { + type: string; + endpoint: string; + compression?: string | undefined; + encoding: string; + headers: { [k: string]: string }; + secret?: string | undefined; +}; + +/** @internal */ +export const Delivery1$outboundSchema: z.ZodType< + Delivery1$Outbound, + z.ZodTypeDef, + Delivery1 +> = z.object({ + type: z.string(), + endpoint: z.string(), + compression: Compression$outboundSchema.optional(), + encoding: DeliveryEncoding$outboundSchema, + headers: z.record(z.string()), + secret: z.string().optional(), +}); + +export function delivery1ToJSON(delivery1: Delivery1): string { + return JSON.stringify(Delivery1$outboundSchema.parse(delivery1)); +} +export function delivery1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Delivery1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Delivery1' from JSON`, + ); +} + +/** @internal */ +export const Delivery$inboundSchema: z.ZodType< + Delivery, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => Delivery1$inboundSchema), + z.lazy(() => Delivery2$inboundSchema), +]); +/** @internal */ +export type Delivery$Outbound = Delivery1$Outbound | Delivery2$Outbound; + +/** @internal */ +export const Delivery$outboundSchema: z.ZodType< + Delivery$Outbound, + z.ZodTypeDef, + Delivery +> = z.union([ + z.lazy(() => Delivery1$outboundSchema), + z.lazy(() => Delivery2$outboundSchema), +]); + +export function deliveryToJSON(delivery: Delivery): string { + return JSON.stringify(Delivery$outboundSchema.parse(delivery)); +} +export function deliveryFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Delivery$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Delivery' from JSON`, + ); +} + +/** @internal */ +export const Env$inboundSchema: z.ZodNativeEnum = z.nativeEnum(Env); +/** @internal */ +export const Env$outboundSchema: z.ZodNativeEnum = + Env$inboundSchema; + +/** @internal */ +export const Sampling$inboundSchema: z.ZodType< + Sampling, + z.ZodTypeDef, + unknown +> = z.object({ + type: z.string(), + rate: z.number(), + env: Env$inboundSchema.optional(), + requestPath: z.string().optional(), +}); +/** @internal */ +export type Sampling$Outbound = { + type: string; + rate: number; + env?: string | undefined; + requestPath?: string | undefined; +}; + +/** @internal */ +export const Sampling$outboundSchema: z.ZodType< + Sampling$Outbound, + z.ZodTypeDef, + Sampling +> = z.object({ + type: z.string(), + rate: z.number(), + env: Env$outboundSchema.optional(), + requestPath: z.string().optional(), +}); + +export function samplingToJSON(sampling: Sampling): string { + return JSON.stringify(Sampling$outboundSchema.parse(sampling)); +} +export function samplingFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Sampling$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Sampling' from JSON`, + ); +} + +/** @internal */ +export const Transforms$inboundSchema: z.ZodType< + Transforms, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), +}); +/** @internal */ +export type Transforms$Outbound = { + id: string; +}; + +/** @internal */ +export const Transforms$outboundSchema: z.ZodType< + Transforms$Outbound, + z.ZodTypeDef, + Transforms +> = z.object({ + id: z.string(), +}); + +export function transformsToJSON(transforms: Transforms): string { + return JSON.stringify(Transforms$outboundSchema.parse(transforms)); +} +export function transformsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Transforms$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Transforms' from JSON`, + ); +} + +/** @internal */ +export const Source2$inboundSchema: z.ZodType = + z.object({ + kind: z.string().default("self-served"), + }); +/** @internal */ +export type Source2$Outbound = { + kind: string; +}; + +/** @internal */ +export const Source2$outboundSchema: z.ZodType< + Source2$Outbound, + z.ZodTypeDef, + Source2 +> = z.object({ + kind: z.string().default("self-served"), +}); + +export function source2ToJSON(source2: Source2): string { + return JSON.stringify(Source2$outboundSchema.parse(source2)); +} +export function source2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Source2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Source2' from JSON`, + ); +} + +/** @internal */ +export const One3$inboundSchema: z.ZodType = z + .object({ + kind: z.string().default("integration"), + }); +/** @internal */ +export type One3$Outbound = { + kind: string; +}; + +/** @internal */ +export const One3$outboundSchema: z.ZodType = + z.object({ + kind: z.string().default("integration"), + }); + +export function one3ToJSON(one3: One3): string { + return JSON.stringify(One3$outboundSchema.parse(one3)); +} +export function one3FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => One3$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'One3' from JSON`, + ); +} + +/** @internal */ +export const One2$inboundSchema: z.ZodType = z + .object({ + kind: z.string().default("integration"), + resourceId: z.string(), + }); +/** @internal */ +export type One2$Outbound = { + kind: string; + resourceId: string; +}; + +/** @internal */ +export const One2$outboundSchema: z.ZodType = + z.object({ + kind: z.string().default("integration"), + resourceId: z.string(), + }); + +export function one2ToJSON(one2: One2): string { + return JSON.stringify(One2$outboundSchema.parse(one2)); +} +export function one2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => One2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'One2' from JSON`, + ); +} + +/** @internal */ +export const One1$inboundSchema: z.ZodType = z + .object({ + kind: z.string().default("integration"), + externalResourceId: z.string(), + }); +/** @internal */ +export type One1$Outbound = { + kind: string; + externalResourceId: string; +}; + +/** @internal */ +export const One1$outboundSchema: z.ZodType = + z.object({ + kind: z.string().default("integration"), + externalResourceId: z.string(), + }); + +export function one1ToJSON(one1: One1): string { + return JSON.stringify(One1$outboundSchema.parse(one1)); +} +export function one1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => One1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'One1' from JSON`, + ); +} + +/** @internal */ +export const Source1$inboundSchema: z.ZodType = + z.union([ + z.lazy(() => One1$inboundSchema), + z.lazy(() => One2$inboundSchema), + z.lazy(() => One3$inboundSchema), + ]); +/** @internal */ +export type Source1$Outbound = One1$Outbound | One2$Outbound | One3$Outbound; + +/** @internal */ +export const Source1$outboundSchema: z.ZodType< + Source1$Outbound, + z.ZodTypeDef, + Source1 +> = z.union([ + z.lazy(() => One1$outboundSchema), + z.lazy(() => One2$outboundSchema), + z.lazy(() => One3$outboundSchema), +]); + +export function source1ToJSON(source1: Source1): string { + return JSON.stringify(Source1$outboundSchema.parse(source1)); +} +export function source1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Source1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Source1' from JSON`, + ); +} + +/** @internal */ +export const CreateDrainSource$inboundSchema: z.ZodType< + CreateDrainSource, + z.ZodTypeDef, + unknown +> = z.union([ + z.union([ + z.lazy(() => One1$inboundSchema), + z.lazy(() => One2$inboundSchema), + z.lazy(() => One3$inboundSchema), + ]), + z.lazy(() => Source2$inboundSchema), +]); +/** @internal */ +export type CreateDrainSource$Outbound = + | One1$Outbound + | One2$Outbound + | One3$Outbound + | Source2$Outbound; + +/** @internal */ +export const CreateDrainSource$outboundSchema: z.ZodType< + CreateDrainSource$Outbound, + z.ZodTypeDef, + CreateDrainSource +> = z.union([ + z.union([ + z.lazy(() => One1$outboundSchema), + z.lazy(() => One2$outboundSchema), + z.lazy(() => One3$outboundSchema), + ]), + z.lazy(() => Source2$outboundSchema), +]); + +export function createDrainSourceToJSON( + createDrainSource: CreateDrainSource, +): string { + return JSON.stringify( + CreateDrainSource$outboundSchema.parse(createDrainSource), + ); +} +export function createDrainSourceFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateDrainSource$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateDrainSource' from JSON`, + ); +} + +/** @internal */ +export const CreateDrainRequestBody$inboundSchema: z.ZodType< + CreateDrainRequestBody, + z.ZodTypeDef, + unknown +> = z.object({ + name: z.string(), + projects: CreateDrainProjects$inboundSchema, + projectIds: z.array(z.string()).optional(), + filter: z.union([z.lazy(() => Filter2$inboundSchema), z.string()]).optional(), + schemas: z.record(z.lazy(() => Schemas$inboundSchema)), + delivery: z.union([ + z.lazy(() => Delivery1$inboundSchema), + z.lazy(() => Delivery2$inboundSchema), + ]).optional(), + sampling: z.array(z.lazy(() => Sampling$inboundSchema)).optional(), + transforms: z.array(z.lazy(() => Transforms$inboundSchema)).optional(), + source: z.union([ + z.union([ + z.lazy(() => One1$inboundSchema), + z.lazy(() => One2$inboundSchema), + z.lazy(() => One3$inboundSchema), + ]), + z.lazy(() => Source2$inboundSchema), + ]).optional(), +}); +/** @internal */ +export type CreateDrainRequestBody$Outbound = { + name: string; + projects: string; + projectIds?: Array | undefined; + filter?: Filter2$Outbound | string | undefined; + schemas: { [k: string]: Schemas$Outbound }; + delivery?: Delivery1$Outbound | Delivery2$Outbound | undefined; + sampling?: Array | undefined; + transforms?: Array | undefined; + source?: + | One1$Outbound + | One2$Outbound + | One3$Outbound + | Source2$Outbound + | undefined; +}; + +/** @internal */ +export const CreateDrainRequestBody$outboundSchema: z.ZodType< + CreateDrainRequestBody$Outbound, + z.ZodTypeDef, + CreateDrainRequestBody +> = z.object({ + name: z.string(), + projects: CreateDrainProjects$outboundSchema, + projectIds: z.array(z.string()).optional(), + filter: z.union([z.lazy(() => Filter2$outboundSchema), z.string()]) + .optional(), + schemas: z.record(z.lazy(() => Schemas$outboundSchema)), + delivery: z.union([ + z.lazy(() => Delivery1$outboundSchema), + z.lazy(() => Delivery2$outboundSchema), + ]).optional(), + sampling: z.array(z.lazy(() => Sampling$outboundSchema)).optional(), + transforms: z.array(z.lazy(() => Transforms$outboundSchema)).optional(), + source: z.union([ + z.union([ + z.lazy(() => One1$outboundSchema), + z.lazy(() => One2$outboundSchema), + z.lazy(() => One3$outboundSchema), + ]), + z.lazy(() => Source2$outboundSchema), + ]).optional(), +}); + +export function createDrainRequestBodyToJSON( + createDrainRequestBody: CreateDrainRequestBody, +): string { + return JSON.stringify( + CreateDrainRequestBody$outboundSchema.parse(createDrainRequestBody), + ); +} +export function createDrainRequestBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateDrainRequestBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateDrainRequestBody' from JSON`, + ); +} + +/** @internal */ +export const CreateDrainRequest$inboundSchema: z.ZodType< + CreateDrainRequest, + z.ZodTypeDef, + unknown +> = z.object({ + teamId: z.string().optional(), + slug: z.string().optional(), + RequestBody: z.lazy(() => CreateDrainRequestBody$inboundSchema).optional(), +}).transform((v) => { + return remap$(v, { + "RequestBody": "requestBody", + }); +}); +/** @internal */ +export type CreateDrainRequest$Outbound = { + teamId?: string | undefined; + slug?: string | undefined; + RequestBody?: CreateDrainRequestBody$Outbound | undefined; +}; + +/** @internal */ +export const CreateDrainRequest$outboundSchema: z.ZodType< + CreateDrainRequest$Outbound, + z.ZodTypeDef, + CreateDrainRequest +> = z.object({ + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => CreateDrainRequestBody$outboundSchema).optional(), +}).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); +}); + +export function createDrainRequestToJSON( + createDrainRequest: CreateDrainRequest, +): string { + return JSON.stringify( + CreateDrainRequest$outboundSchema.parse(createDrainRequest), + ); +} +export function createDrainRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateDrainRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateDrainRequest' from JSON`, + ); +} + +/** @internal */ +export const ResponseBodyCreatedFrom$inboundSchema: z.ZodNativeEnum< + typeof ResponseBodyCreatedFrom +> = z.nativeEnum(ResponseBodyCreatedFrom); +/** @internal */ +export const ResponseBodyCreatedFrom$outboundSchema: z.ZodNativeEnum< + typeof ResponseBodyCreatedFrom +> = ResponseBodyCreatedFrom$inboundSchema; + +/** @internal */ +export const CreateDrainResponseBodyLog$inboundSchema: z.ZodType< + CreateDrainResponseBodyLog, + z.ZodTypeDef, + unknown +> = z.object({}); +/** @internal */ +export type CreateDrainResponseBodyLog$Outbound = {}; + +/** @internal */ +export const CreateDrainResponseBodyLog$outboundSchema: z.ZodType< + CreateDrainResponseBodyLog$Outbound, + z.ZodTypeDef, + CreateDrainResponseBodyLog +> = z.object({}); + +export function createDrainResponseBodyLogToJSON( + createDrainResponseBodyLog: CreateDrainResponseBodyLog, +): string { + return JSON.stringify( + CreateDrainResponseBodyLog$outboundSchema.parse(createDrainResponseBodyLog), + ); +} +export function createDrainResponseBodyLogFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateDrainResponseBodyLog$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateDrainResponseBodyLog' from JSON`, + ); +} + +/** @internal */ +export const ResponseBodyTrace$inboundSchema: z.ZodType< + ResponseBodyTrace, + z.ZodTypeDef, + unknown +> = z.object({}); +/** @internal */ +export type ResponseBodyTrace$Outbound = {}; + +/** @internal */ +export const ResponseBodyTrace$outboundSchema: z.ZodType< + ResponseBodyTrace$Outbound, + z.ZodTypeDef, + ResponseBodyTrace +> = z.object({}); + +export function responseBodyTraceToJSON( + responseBodyTrace: ResponseBodyTrace, +): string { + return JSON.stringify( + ResponseBodyTrace$outboundSchema.parse(responseBodyTrace), + ); +} +export function responseBodyTraceFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ResponseBodyTrace$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ResponseBodyTrace' from JSON`, + ); +} + +/** @internal */ +export const CreateDrainResponseBodyAnalytics$inboundSchema: z.ZodType< + CreateDrainResponseBodyAnalytics, + z.ZodTypeDef, + unknown +> = z.object({}); +/** @internal */ +export type CreateDrainResponseBodyAnalytics$Outbound = {}; + +/** @internal */ +export const CreateDrainResponseBodyAnalytics$outboundSchema: z.ZodType< + CreateDrainResponseBodyAnalytics$Outbound, + z.ZodTypeDef, + CreateDrainResponseBodyAnalytics +> = z.object({}); + +export function createDrainResponseBodyAnalyticsToJSON( + createDrainResponseBodyAnalytics: CreateDrainResponseBodyAnalytics, +): string { + return JSON.stringify( + CreateDrainResponseBodyAnalytics$outboundSchema.parse( + createDrainResponseBodyAnalytics, + ), + ); +} +export function createDrainResponseBodyAnalyticsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateDrainResponseBodyAnalytics$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateDrainResponseBodyAnalytics' from JSON`, + ); +} + +/** @internal */ +export const CreateDrainResponseBodyDrainsSpeedInsights$inboundSchema: + z.ZodType = + z.object({}); +/** @internal */ +export type CreateDrainResponseBodyDrainsSpeedInsights$Outbound = {}; + +/** @internal */ +export const CreateDrainResponseBodyDrainsSpeedInsights$outboundSchema: + z.ZodType< + CreateDrainResponseBodyDrainsSpeedInsights$Outbound, + z.ZodTypeDef, + CreateDrainResponseBodyDrainsSpeedInsights + > = z.object({}); + +export function createDrainResponseBodyDrainsSpeedInsightsToJSON( + createDrainResponseBodyDrainsSpeedInsights: + CreateDrainResponseBodyDrainsSpeedInsights, +): string { + return JSON.stringify( + CreateDrainResponseBodyDrainsSpeedInsights$outboundSchema.parse( + createDrainResponseBodyDrainsSpeedInsights, + ), + ); +} +export function createDrainResponseBodyDrainsSpeedInsightsFromJSON( + jsonString: string, +): SafeParseResult< + CreateDrainResponseBodyDrainsSpeedInsights, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + CreateDrainResponseBodyDrainsSpeedInsights$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'CreateDrainResponseBodyDrainsSpeedInsights' from JSON`, + ); +} + +/** @internal */ +export const CreateDrainResponseBodySchemas$inboundSchema: z.ZodType< + CreateDrainResponseBodySchemas, + z.ZodTypeDef, + unknown +> = z.object({ + log: z.lazy(() => CreateDrainResponseBodyLog$inboundSchema).optional(), + trace: z.lazy(() => ResponseBodyTrace$inboundSchema).optional(), + analytics: z.lazy(() => CreateDrainResponseBodyAnalytics$inboundSchema) + .optional(), + speed_insights: z.lazy(() => + CreateDrainResponseBodyDrainsSpeedInsights$inboundSchema + ).optional(), +}).transform((v) => { + return remap$(v, { + "speed_insights": "speedInsights", + }); +}); +/** @internal */ +export type CreateDrainResponseBodySchemas$Outbound = { + log?: CreateDrainResponseBodyLog$Outbound | undefined; + trace?: ResponseBodyTrace$Outbound | undefined; + analytics?: CreateDrainResponseBodyAnalytics$Outbound | undefined; + speed_insights?: + | CreateDrainResponseBodyDrainsSpeedInsights$Outbound + | undefined; +}; + +/** @internal */ +export const CreateDrainResponseBodySchemas$outboundSchema: z.ZodType< + CreateDrainResponseBodySchemas$Outbound, + z.ZodTypeDef, + CreateDrainResponseBodySchemas +> = z.object({ + log: z.lazy(() => CreateDrainResponseBodyLog$outboundSchema).optional(), + trace: z.lazy(() => ResponseBodyTrace$outboundSchema).optional(), + analytics: z.lazy(() => CreateDrainResponseBodyAnalytics$outboundSchema) + .optional(), + speedInsights: z.lazy(() => + CreateDrainResponseBodyDrainsSpeedInsights$outboundSchema + ).optional(), +}).transform((v) => { + return remap$(v, { + speedInsights: "speed_insights", + }); +}); + +export function createDrainResponseBodySchemasToJSON( + createDrainResponseBodySchemas: CreateDrainResponseBodySchemas, +): string { + return JSON.stringify( + CreateDrainResponseBodySchemas$outboundSchema.parse( + createDrainResponseBodySchemas, + ), + ); +} +export function createDrainResponseBodySchemasFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateDrainResponseBodySchemas$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateDrainResponseBodySchemas' from JSON`, + ); +} + +/** @internal */ +export const CreateDrainDeliveryDrainsResponse200ApplicationJSONResponseBody2Type$inboundSchema: + z.ZodNativeEnum< + typeof CreateDrainDeliveryDrainsResponse200ApplicationJSONResponseBody2Type + > = z.nativeEnum( + CreateDrainDeliveryDrainsResponse200ApplicationJSONResponseBody2Type, + ); +/** @internal */ +export const CreateDrainDeliveryDrainsResponse200ApplicationJSONResponseBody2Type$outboundSchema: + z.ZodNativeEnum< + typeof CreateDrainDeliveryDrainsResponse200ApplicationJSONResponseBody2Type + > = + CreateDrainDeliveryDrainsResponse200ApplicationJSONResponseBody2Type$inboundSchema; + +/** @internal */ +export const CreateDrainDeliveryTarget$inboundSchema: z.ZodNativeEnum< + typeof CreateDrainDeliveryTarget +> = z.nativeEnum(CreateDrainDeliveryTarget); +/** @internal */ +export const CreateDrainDeliveryTarget$outboundSchema: z.ZodNativeEnum< + typeof CreateDrainDeliveryTarget +> = CreateDrainDeliveryTarget$inboundSchema; + +/** @internal */ +export const CreateDrainDelivery4$inboundSchema: z.ZodType< + CreateDrainDelivery4, + z.ZodTypeDef, + unknown +> = z.object({ + type: + CreateDrainDeliveryDrainsResponse200ApplicationJSONResponseBody2Type$inboundSchema, + target: CreateDrainDeliveryTarget$inboundSchema, +}); +/** @internal */ +export type CreateDrainDelivery4$Outbound = { + type: string; + target: string; +}; + +/** @internal */ +export const CreateDrainDelivery4$outboundSchema: z.ZodType< + CreateDrainDelivery4$Outbound, + z.ZodTypeDef, + CreateDrainDelivery4 +> = z.object({ + type: + CreateDrainDeliveryDrainsResponse200ApplicationJSONResponseBody2Type$outboundSchema, + target: CreateDrainDeliveryTarget$outboundSchema, +}); + +export function createDrainDelivery4ToJSON( + createDrainDelivery4: CreateDrainDelivery4, +): string { + return JSON.stringify( + CreateDrainDelivery4$outboundSchema.parse(createDrainDelivery4), + ); +} +export function createDrainDelivery4FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateDrainDelivery4$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateDrainDelivery4' from JSON`, + ); +} + +/** @internal */ +export const CreateDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyType$inboundSchema: + z.ZodNativeEnum< + typeof CreateDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyType + > = z.nativeEnum( + CreateDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyType, + ); +/** @internal */ +export const CreateDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyType$outboundSchema: + z.ZodNativeEnum< + typeof CreateDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyType + > = + CreateDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyType$inboundSchema; + +/** @internal */ +export const CreateDrainDelivery3$inboundSchema: z.ZodType< + CreateDrainDelivery3, + z.ZodTypeDef, + unknown +> = z.object({ + type: + CreateDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyType$inboundSchema, + endpoint: z.string(), + table: z.string(), +}); +/** @internal */ +export type CreateDrainDelivery3$Outbound = { + type: string; + endpoint: string; + table: string; +}; + +/** @internal */ +export const CreateDrainDelivery3$outboundSchema: z.ZodType< + CreateDrainDelivery3$Outbound, + z.ZodTypeDef, + CreateDrainDelivery3 +> = z.object({ + type: + CreateDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyType$outboundSchema, + endpoint: z.string(), + table: z.string(), +}); + +export function createDrainDelivery3ToJSON( + createDrainDelivery3: CreateDrainDelivery3, +): string { + return JSON.stringify( + CreateDrainDelivery3$outboundSchema.parse(createDrainDelivery3), + ); +} +export function createDrainDelivery3FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateDrainDelivery3$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateDrainDelivery3' from JSON`, + ); +} + +/** @internal */ +export const CreateDrainDeliveryDrainsResponse200ApplicationJSONType$inboundSchema: + z.ZodNativeEnum< + typeof CreateDrainDeliveryDrainsResponse200ApplicationJSONType + > = z.nativeEnum(CreateDrainDeliveryDrainsResponse200ApplicationJSONType); +/** @internal */ +export const CreateDrainDeliveryDrainsResponse200ApplicationJSONType$outboundSchema: + z.ZodNativeEnum< + typeof CreateDrainDeliveryDrainsResponse200ApplicationJSONType + > = CreateDrainDeliveryDrainsResponse200ApplicationJSONType$inboundSchema; + +/** @internal */ +export const CreateDrainDeliveryEndpoint$inboundSchema: z.ZodType< + CreateDrainDeliveryEndpoint, + z.ZodTypeDef, + unknown +> = z.object({ + traces: z.string(), +}); +/** @internal */ +export type CreateDrainDeliveryEndpoint$Outbound = { + traces: string; +}; + +/** @internal */ +export const CreateDrainDeliveryEndpoint$outboundSchema: z.ZodType< + CreateDrainDeliveryEndpoint$Outbound, + z.ZodTypeDef, + CreateDrainDeliveryEndpoint +> = z.object({ + traces: z.string(), +}); + +export function createDrainDeliveryEndpointToJSON( + createDrainDeliveryEndpoint: CreateDrainDeliveryEndpoint, +): string { + return JSON.stringify( + CreateDrainDeliveryEndpoint$outboundSchema.parse( + createDrainDeliveryEndpoint, + ), + ); +} +export function createDrainDeliveryEndpointFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateDrainDeliveryEndpoint$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateDrainDeliveryEndpoint' from JSON`, + ); +} + +/** @internal */ +export const CreateDrainDeliveryDrainsResponse200ApplicationJSONEncoding$inboundSchema: + z.ZodNativeEnum< + typeof CreateDrainDeliveryDrainsResponse200ApplicationJSONEncoding + > = z.nativeEnum(CreateDrainDeliveryDrainsResponse200ApplicationJSONEncoding); +/** @internal */ +export const CreateDrainDeliveryDrainsResponse200ApplicationJSONEncoding$outboundSchema: + z.ZodNativeEnum< + typeof CreateDrainDeliveryDrainsResponse200ApplicationJSONEncoding + > = CreateDrainDeliveryDrainsResponse200ApplicationJSONEncoding$inboundSchema; + +/** @internal */ +export const CreateDrainDeliveryDrains2$inboundSchema: z.ZodType< + CreateDrainDeliveryDrains2, + z.ZodTypeDef, + unknown +> = z.object({ + type: CreateDrainDeliveryDrainsResponse200ApplicationJSONType$inboundSchema, + endpoint: z.lazy(() => CreateDrainDeliveryEndpoint$inboundSchema), + encoding: + CreateDrainDeliveryDrainsResponse200ApplicationJSONEncoding$inboundSchema, + headers: z.record(z.string()), + secret: z.string().optional(), +}); +/** @internal */ +export type CreateDrainDeliveryDrains2$Outbound = { + type: string; + endpoint: CreateDrainDeliveryEndpoint$Outbound; + encoding: string; + headers: { [k: string]: string }; + secret?: string | undefined; +}; + +/** @internal */ +export const CreateDrainDeliveryDrains2$outboundSchema: z.ZodType< + CreateDrainDeliveryDrains2$Outbound, + z.ZodTypeDef, + CreateDrainDeliveryDrains2 +> = z.object({ + type: CreateDrainDeliveryDrainsResponse200ApplicationJSONType$outboundSchema, + endpoint: z.lazy(() => CreateDrainDeliveryEndpoint$outboundSchema), + encoding: + CreateDrainDeliveryDrainsResponse200ApplicationJSONEncoding$outboundSchema, + headers: z.record(z.string()), + secret: z.string().optional(), +}); + +export function createDrainDeliveryDrains2ToJSON( + createDrainDeliveryDrains2: CreateDrainDeliveryDrains2, +): string { + return JSON.stringify( + CreateDrainDeliveryDrains2$outboundSchema.parse(createDrainDeliveryDrains2), + ); +} +export function createDrainDeliveryDrains2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateDrainDeliveryDrains2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateDrainDeliveryDrains2' from JSON`, + ); +} + +/** @internal */ +export const CreateDrainDeliveryDrainsResponse200Type$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(CreateDrainDeliveryDrainsResponse200Type); +/** @internal */ +export const CreateDrainDeliveryDrainsResponse200Type$outboundSchema: + z.ZodNativeEnum = + CreateDrainDeliveryDrainsResponse200Type$inboundSchema; + +/** @internal */ +export const CreateDrainDeliveryDrainsResponse200Encoding$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(CreateDrainDeliveryDrainsResponse200Encoding); +/** @internal */ +export const CreateDrainDeliveryDrainsResponse200Encoding$outboundSchema: + z.ZodNativeEnum = + CreateDrainDeliveryDrainsResponse200Encoding$inboundSchema; + +/** @internal */ +export const CreateDrainDeliveryCompression$inboundSchema: z.ZodNativeEnum< + typeof CreateDrainDeliveryCompression +> = z.nativeEnum(CreateDrainDeliveryCompression); +/** @internal */ +export const CreateDrainDeliveryCompression$outboundSchema: z.ZodNativeEnum< + typeof CreateDrainDeliveryCompression +> = CreateDrainDeliveryCompression$inboundSchema; + +/** @internal */ +export const CreateDrainDeliveryDrains1$inboundSchema: z.ZodType< + CreateDrainDeliveryDrains1, + z.ZodTypeDef, + unknown +> = z.object({ + type: CreateDrainDeliveryDrainsResponse200Type$inboundSchema, + endpoint: z.string(), + encoding: CreateDrainDeliveryDrainsResponse200Encoding$inboundSchema, + compression: CreateDrainDeliveryCompression$inboundSchema.optional(), + headers: z.record(z.string()), + secret: z.string().optional(), +}); +/** @internal */ +export type CreateDrainDeliveryDrains1$Outbound = { + type: string; + endpoint: string; + encoding: string; + compression?: string | undefined; + headers: { [k: string]: string }; + secret?: string | undefined; +}; + +/** @internal */ +export const CreateDrainDeliveryDrains1$outboundSchema: z.ZodType< + CreateDrainDeliveryDrains1$Outbound, + z.ZodTypeDef, + CreateDrainDeliveryDrains1 +> = z.object({ + type: CreateDrainDeliveryDrainsResponse200Type$outboundSchema, + endpoint: z.string(), + encoding: CreateDrainDeliveryDrainsResponse200Encoding$outboundSchema, + compression: CreateDrainDeliveryCompression$outboundSchema.optional(), + headers: z.record(z.string()), + secret: z.string().optional(), +}); + +export function createDrainDeliveryDrains1ToJSON( + createDrainDeliveryDrains1: CreateDrainDeliveryDrains1, +): string { + return JSON.stringify( + CreateDrainDeliveryDrains1$outboundSchema.parse(createDrainDeliveryDrains1), + ); +} +export function createDrainDeliveryDrains1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateDrainDeliveryDrains1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateDrainDeliveryDrains1' from JSON`, + ); +} + +/** @internal */ +export const CreateDrainResponseBodyDelivery$inboundSchema: z.ZodType< + CreateDrainResponseBodyDelivery, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => CreateDrainDeliveryDrains1$inboundSchema), + z.lazy(() => CreateDrainDeliveryDrains2$inboundSchema), + z.lazy(() => CreateDrainDelivery3$inboundSchema), + z.lazy(() => CreateDrainDelivery4$inboundSchema), +]); +/** @internal */ +export type CreateDrainResponseBodyDelivery$Outbound = + | CreateDrainDeliveryDrains1$Outbound + | CreateDrainDeliveryDrains2$Outbound + | CreateDrainDelivery3$Outbound + | CreateDrainDelivery4$Outbound; + +/** @internal */ +export const CreateDrainResponseBodyDelivery$outboundSchema: z.ZodType< + CreateDrainResponseBodyDelivery$Outbound, + z.ZodTypeDef, + CreateDrainResponseBodyDelivery +> = z.union([ + z.lazy(() => CreateDrainDeliveryDrains1$outboundSchema), + z.lazy(() => CreateDrainDeliveryDrains2$outboundSchema), + z.lazy(() => CreateDrainDelivery3$outboundSchema), + z.lazy(() => CreateDrainDelivery4$outboundSchema), +]); + +export function createDrainResponseBodyDeliveryToJSON( + createDrainResponseBodyDelivery: CreateDrainResponseBodyDelivery, +): string { + return JSON.stringify( + CreateDrainResponseBodyDelivery$outboundSchema.parse( + createDrainResponseBodyDelivery, + ), + ); +} +export function createDrainResponseBodyDeliveryFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateDrainResponseBodyDelivery$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateDrainResponseBodyDelivery' from JSON`, + ); +} + +/** @internal */ +export const CreateDrainResponseBodyDrainsType$inboundSchema: z.ZodNativeEnum< + typeof CreateDrainResponseBodyDrainsType +> = z.nativeEnum(CreateDrainResponseBodyDrainsType); +/** @internal */ +export const CreateDrainResponseBodyDrainsType$outboundSchema: z.ZodNativeEnum< + typeof CreateDrainResponseBodyDrainsType +> = CreateDrainResponseBodyDrainsType$inboundSchema; + +/** @internal */ +export const CreateDrainResponseBodyEnv$inboundSchema: z.ZodNativeEnum< + typeof CreateDrainResponseBodyEnv +> = z.nativeEnum(CreateDrainResponseBodyEnv); +/** @internal */ +export const CreateDrainResponseBodyEnv$outboundSchema: z.ZodNativeEnum< + typeof CreateDrainResponseBodyEnv +> = CreateDrainResponseBodyEnv$inboundSchema; + +/** @internal */ +export const CreateDrainResponseBodySampling$inboundSchema: z.ZodType< + CreateDrainResponseBodySampling, + z.ZodTypeDef, + unknown +> = z.object({ + type: CreateDrainResponseBodyDrainsType$inboundSchema, + rate: z.number(), + env: CreateDrainResponseBodyEnv$inboundSchema.optional(), + requestPath: z.string().optional(), +}); +/** @internal */ +export type CreateDrainResponseBodySampling$Outbound = { + type: string; + rate: number; + env?: string | undefined; + requestPath?: string | undefined; +}; + +/** @internal */ +export const CreateDrainResponseBodySampling$outboundSchema: z.ZodType< + CreateDrainResponseBodySampling$Outbound, + z.ZodTypeDef, + CreateDrainResponseBodySampling +> = z.object({ + type: CreateDrainResponseBodyDrainsType$outboundSchema, + rate: z.number(), + env: CreateDrainResponseBodyEnv$outboundSchema.optional(), + requestPath: z.string().optional(), +}); + +export function createDrainResponseBodySamplingToJSON( + createDrainResponseBodySampling: CreateDrainResponseBodySampling, +): string { + return JSON.stringify( + CreateDrainResponseBodySampling$outboundSchema.parse( + createDrainResponseBodySampling, + ), + ); +} +export function createDrainResponseBodySamplingFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateDrainResponseBodySampling$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateDrainResponseBodySampling' from JSON`, + ); +} + +/** @internal */ +export const CreateDrainResponseBodyDrainsStatus$inboundSchema: z.ZodNativeEnum< + typeof CreateDrainResponseBodyDrainsStatus +> = z.nativeEnum(CreateDrainResponseBodyDrainsStatus); +/** @internal */ +export const CreateDrainResponseBodyDrainsStatus$outboundSchema: + z.ZodNativeEnum = + CreateDrainResponseBodyDrainsStatus$inboundSchema; + +/** @internal */ +export const ResponseBodyDisabledReason$inboundSchema: z.ZodNativeEnum< + typeof ResponseBodyDisabledReason +> = z.nativeEnum(ResponseBodyDisabledReason); +/** @internal */ +export const ResponseBodyDisabledReason$outboundSchema: z.ZodNativeEnum< + typeof ResponseBodyDisabledReason +> = ResponseBodyDisabledReason$inboundSchema; + +/** @internal */ +export const CreateDrainSourceDrainsKind$inboundSchema: z.ZodNativeEnum< + typeof CreateDrainSourceDrainsKind +> = z.nativeEnum(CreateDrainSourceDrainsKind); +/** @internal */ +export const CreateDrainSourceDrainsKind$outboundSchema: z.ZodNativeEnum< + typeof CreateDrainSourceDrainsKind +> = CreateDrainSourceDrainsKind$inboundSchema; + +/** @internal */ +export const CreateDrainSourceDrains2$inboundSchema: z.ZodType< + CreateDrainSourceDrains2, + z.ZodTypeDef, + unknown +> = z.object({ + kind: CreateDrainSourceDrainsKind$inboundSchema, + resourceId: z.string().optional(), + externalResourceId: z.string().optional(), + integrationId: z.string(), + integrationConfigurationId: z.string(), +}); +/** @internal */ +export type CreateDrainSourceDrains2$Outbound = { + kind: string; + resourceId?: string | undefined; + externalResourceId?: string | undefined; + integrationId: string; + integrationConfigurationId: string; +}; + +/** @internal */ +export const CreateDrainSourceDrains2$outboundSchema: z.ZodType< + CreateDrainSourceDrains2$Outbound, + z.ZodTypeDef, + CreateDrainSourceDrains2 +> = z.object({ + kind: CreateDrainSourceDrainsKind$outboundSchema, + resourceId: z.string().optional(), + externalResourceId: z.string().optional(), + integrationId: z.string(), + integrationConfigurationId: z.string(), +}); + +export function createDrainSourceDrains2ToJSON( + createDrainSourceDrains2: CreateDrainSourceDrains2, +): string { + return JSON.stringify( + CreateDrainSourceDrains2$outboundSchema.parse(createDrainSourceDrains2), + ); +} +export function createDrainSourceDrains2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateDrainSourceDrains2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateDrainSourceDrains2' from JSON`, + ); +} + +/** @internal */ +export const CreateDrainSourceKind$inboundSchema: z.ZodNativeEnum< + typeof CreateDrainSourceKind +> = z.nativeEnum(CreateDrainSourceKind); +/** @internal */ +export const CreateDrainSourceKind$outboundSchema: z.ZodNativeEnum< + typeof CreateDrainSourceKind +> = CreateDrainSourceKind$inboundSchema; + +/** @internal */ +export const CreateDrainSourceDrains1$inboundSchema: z.ZodType< + CreateDrainSourceDrains1, + z.ZodTypeDef, + unknown +> = z.object({ + kind: CreateDrainSourceKind$inboundSchema, +}); +/** @internal */ +export type CreateDrainSourceDrains1$Outbound = { + kind: string; +}; + +/** @internal */ +export const CreateDrainSourceDrains1$outboundSchema: z.ZodType< + CreateDrainSourceDrains1$Outbound, + z.ZodTypeDef, + CreateDrainSourceDrains1 +> = z.object({ + kind: CreateDrainSourceKind$outboundSchema, +}); + +export function createDrainSourceDrains1ToJSON( + createDrainSourceDrains1: CreateDrainSourceDrains1, +): string { + return JSON.stringify( + CreateDrainSourceDrains1$outboundSchema.parse(createDrainSourceDrains1), + ); +} +export function createDrainSourceDrains1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateDrainSourceDrains1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateDrainSourceDrains1' from JSON`, + ); +} + +/** @internal */ +export const CreateDrainResponseBodyDrainsSource$inboundSchema: z.ZodType< + CreateDrainResponseBodyDrainsSource, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => CreateDrainSourceDrains2$inboundSchema), + z.lazy(() => CreateDrainSourceDrains1$inboundSchema), +]); +/** @internal */ +export type CreateDrainResponseBodyDrainsSource$Outbound = + | CreateDrainSourceDrains2$Outbound + | CreateDrainSourceDrains1$Outbound; + +/** @internal */ +export const CreateDrainResponseBodyDrainsSource$outboundSchema: z.ZodType< + CreateDrainResponseBodyDrainsSource$Outbound, + z.ZodTypeDef, + CreateDrainResponseBodyDrainsSource +> = z.union([ + z.lazy(() => CreateDrainSourceDrains2$outboundSchema), + z.lazy(() => CreateDrainSourceDrains1$outboundSchema), +]); + +export function createDrainResponseBodyDrainsSourceToJSON( + createDrainResponseBodyDrainsSource: CreateDrainResponseBodyDrainsSource, +): string { + return JSON.stringify( + CreateDrainResponseBodyDrainsSource$outboundSchema.parse( + createDrainResponseBodyDrainsSource, + ), + ); +} +export function createDrainResponseBodyDrainsSourceFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + CreateDrainResponseBodyDrainsSource$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateDrainResponseBodyDrainsSource' from JSON`, + ); +} + +/** @internal */ +export const CreateDrainFilterV2DrainsVersion$inboundSchema: z.ZodNativeEnum< + typeof CreateDrainFilterV2DrainsVersion +> = z.nativeEnum(CreateDrainFilterV2DrainsVersion); +/** @internal */ +export const CreateDrainFilterV2DrainsVersion$outboundSchema: z.ZodNativeEnum< + typeof CreateDrainFilterV2DrainsVersion +> = CreateDrainFilterV2DrainsVersion$inboundSchema; + +/** @internal */ +export const CreateDrainFilterDrainsResponseType$inboundSchema: z.ZodNativeEnum< + typeof CreateDrainFilterDrainsResponseType +> = z.nativeEnum(CreateDrainFilterDrainsResponseType); +/** @internal */ +export const CreateDrainFilterDrainsResponseType$outboundSchema: + z.ZodNativeEnum = + CreateDrainFilterDrainsResponseType$inboundSchema; + +/** @internal */ +export const CreateDrainFilterDrainsResponse2$inboundSchema: z.ZodType< + CreateDrainFilterDrainsResponse2, + z.ZodTypeDef, + unknown +> = z.object({ + type: CreateDrainFilterDrainsResponseType$inboundSchema, + text: z.string(), +}); +/** @internal */ +export type CreateDrainFilterDrainsResponse2$Outbound = { + type: string; + text: string; +}; + +/** @internal */ +export const CreateDrainFilterDrainsResponse2$outboundSchema: z.ZodType< + CreateDrainFilterDrainsResponse2$Outbound, + z.ZodTypeDef, + CreateDrainFilterDrainsResponse2 +> = z.object({ + type: CreateDrainFilterDrainsResponseType$outboundSchema, + text: z.string(), +}); + +export function createDrainFilterDrainsResponse2ToJSON( + createDrainFilterDrainsResponse2: CreateDrainFilterDrainsResponse2, +): string { + return JSON.stringify( + CreateDrainFilterDrainsResponse2$outboundSchema.parse( + createDrainFilterDrainsResponse2, + ), + ); +} +export function createDrainFilterDrainsResponse2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateDrainFilterDrainsResponse2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateDrainFilterDrainsResponse2' from JSON`, + ); +} + +/** @internal */ +export const CreateDrainFilterDrainsType$inboundSchema: z.ZodNativeEnum< + typeof CreateDrainFilterDrainsType +> = z.nativeEnum(CreateDrainFilterDrainsType); +/** @internal */ +export const CreateDrainFilterDrainsType$outboundSchema: z.ZodNativeEnum< + typeof CreateDrainFilterDrainsType +> = CreateDrainFilterDrainsType$inboundSchema; + +/** @internal */ +export const CreateDrainFilterDrainsResponseProject$inboundSchema: z.ZodType< + CreateDrainFilterDrainsResponseProject, + z.ZodTypeDef, + unknown +> = z.object({ + ids: z.array(z.string()).optional(), +}); +/** @internal */ +export type CreateDrainFilterDrainsResponseProject$Outbound = { + ids?: Array | undefined; +}; + +/** @internal */ +export const CreateDrainFilterDrainsResponseProject$outboundSchema: z.ZodType< + CreateDrainFilterDrainsResponseProject$Outbound, + z.ZodTypeDef, + CreateDrainFilterDrainsResponseProject +> = z.object({ + ids: z.array(z.string()).optional(), +}); + +export function createDrainFilterDrainsResponseProjectToJSON( + createDrainFilterDrainsResponseProject: + CreateDrainFilterDrainsResponseProject, +): string { + return JSON.stringify( + CreateDrainFilterDrainsResponseProject$outboundSchema.parse( + createDrainFilterDrainsResponseProject, + ), + ); +} +export function createDrainFilterDrainsResponseProjectFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + CreateDrainFilterDrainsResponseProject$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateDrainFilterDrainsResponseProject' from JSON`, + ); +} + +/** @internal */ +export const CreateDrainFilterDrainsSources$inboundSchema: z.ZodNativeEnum< + typeof CreateDrainFilterDrainsSources +> = z.nativeEnum(CreateDrainFilterDrainsSources); +/** @internal */ +export const CreateDrainFilterDrainsSources$outboundSchema: z.ZodNativeEnum< + typeof CreateDrainFilterDrainsSources +> = CreateDrainFilterDrainsSources$inboundSchema; + +/** @internal */ +export const CreateDrainFilterLog$inboundSchema: z.ZodType< + CreateDrainFilterLog, + z.ZodTypeDef, + unknown +> = z.object({ + sources: z.array(CreateDrainFilterDrainsSources$inboundSchema).optional(), + legacy_excludeCachedStaticAssetLogs: z.boolean().optional(), +}).transform((v) => { + return remap$(v, { + "legacy_excludeCachedStaticAssetLogs": "legacyExcludeCachedStaticAssetLogs", + }); +}); +/** @internal */ +export type CreateDrainFilterLog$Outbound = { + sources?: Array | undefined; + legacy_excludeCachedStaticAssetLogs?: boolean | undefined; +}; + +/** @internal */ +export const CreateDrainFilterLog$outboundSchema: z.ZodType< + CreateDrainFilterLog$Outbound, + z.ZodTypeDef, + CreateDrainFilterLog +> = z.object({ + sources: z.array(CreateDrainFilterDrainsSources$outboundSchema).optional(), + legacyExcludeCachedStaticAssetLogs: z.boolean().optional(), +}).transform((v) => { + return remap$(v, { + legacyExcludeCachedStaticAssetLogs: "legacy_excludeCachedStaticAssetLogs", + }); +}); + +export function createDrainFilterLogToJSON( + createDrainFilterLog: CreateDrainFilterLog, +): string { + return JSON.stringify( + CreateDrainFilterLog$outboundSchema.parse(createDrainFilterLog), + ); +} +export function createDrainFilterLogFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateDrainFilterLog$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateDrainFilterLog' from JSON`, + ); +} + +/** @internal */ +export const CreateDrainFilterDrainsEnvironments$inboundSchema: z.ZodNativeEnum< + typeof CreateDrainFilterDrainsEnvironments +> = z.nativeEnum(CreateDrainFilterDrainsEnvironments); +/** @internal */ +export const CreateDrainFilterDrainsEnvironments$outboundSchema: + z.ZodNativeEnum = + CreateDrainFilterDrainsEnvironments$inboundSchema; + +/** @internal */ +export const CreateDrainFilterDrainsResponseDeployment$inboundSchema: z.ZodType< + CreateDrainFilterDrainsResponseDeployment, + z.ZodTypeDef, + unknown +> = z.object({ + environments: z.array(CreateDrainFilterDrainsEnvironments$inboundSchema) + .optional(), +}); +/** @internal */ +export type CreateDrainFilterDrainsResponseDeployment$Outbound = { + environments?: Array | undefined; +}; + +/** @internal */ +export const CreateDrainFilterDrainsResponseDeployment$outboundSchema: + z.ZodType< + CreateDrainFilterDrainsResponseDeployment$Outbound, + z.ZodTypeDef, + CreateDrainFilterDrainsResponseDeployment + > = z.object({ + environments: z.array(CreateDrainFilterDrainsEnvironments$outboundSchema) + .optional(), + }); + +export function createDrainFilterDrainsResponseDeploymentToJSON( + createDrainFilterDrainsResponseDeployment: + CreateDrainFilterDrainsResponseDeployment, +): string { + return JSON.stringify( + CreateDrainFilterDrainsResponseDeployment$outboundSchema.parse( + createDrainFilterDrainsResponseDeployment, + ), + ); +} +export function createDrainFilterDrainsResponseDeploymentFromJSON( + jsonString: string, +): SafeParseResult< + CreateDrainFilterDrainsResponseDeployment, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + CreateDrainFilterDrainsResponseDeployment$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'CreateDrainFilterDrainsResponseDeployment' from JSON`, + ); +} + +/** @internal */ +export const CreateDrainFilterDrains1$inboundSchema: z.ZodType< + CreateDrainFilterDrains1, + z.ZodTypeDef, + unknown +> = z.object({ + type: CreateDrainFilterDrainsType$inboundSchema, + project: z.lazy(() => CreateDrainFilterDrainsResponseProject$inboundSchema) + .optional(), + log: z.lazy(() => CreateDrainFilterLog$inboundSchema).optional(), + deployment: z.lazy(() => + CreateDrainFilterDrainsResponseDeployment$inboundSchema + ).optional(), +}); +/** @internal */ +export type CreateDrainFilterDrains1$Outbound = { + type: string; + project?: CreateDrainFilterDrainsResponseProject$Outbound | undefined; + log?: CreateDrainFilterLog$Outbound | undefined; + deployment?: CreateDrainFilterDrainsResponseDeployment$Outbound | undefined; +}; + +/** @internal */ +export const CreateDrainFilterDrains1$outboundSchema: z.ZodType< + CreateDrainFilterDrains1$Outbound, + z.ZodTypeDef, + CreateDrainFilterDrains1 +> = z.object({ + type: CreateDrainFilterDrainsType$outboundSchema, + project: z.lazy(() => CreateDrainFilterDrainsResponseProject$outboundSchema) + .optional(), + log: z.lazy(() => CreateDrainFilterLog$outboundSchema).optional(), + deployment: z.lazy(() => + CreateDrainFilterDrainsResponseDeployment$outboundSchema + ).optional(), +}); + +export function createDrainFilterDrains1ToJSON( + createDrainFilterDrains1: CreateDrainFilterDrains1, +): string { + return JSON.stringify( + CreateDrainFilterDrains1$outboundSchema.parse(createDrainFilterDrains1), + ); +} +export function createDrainFilterDrains1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateDrainFilterDrains1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateDrainFilterDrains1' from JSON`, + ); +} + +/** @internal */ +export const CreateDrainFilterV2Filter$inboundSchema: z.ZodType< + CreateDrainFilterV2Filter, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => CreateDrainFilterDrainsResponse2$inboundSchema), + z.lazy(() => CreateDrainFilterDrains1$inboundSchema), +]); +/** @internal */ +export type CreateDrainFilterV2Filter$Outbound = + | CreateDrainFilterDrainsResponse2$Outbound + | CreateDrainFilterDrains1$Outbound; + +/** @internal */ +export const CreateDrainFilterV2Filter$outboundSchema: z.ZodType< + CreateDrainFilterV2Filter$Outbound, + z.ZodTypeDef, + CreateDrainFilterV2Filter +> = z.union([ + z.lazy(() => CreateDrainFilterDrainsResponse2$outboundSchema), + z.lazy(() => CreateDrainFilterDrains1$outboundSchema), +]); + +export function createDrainFilterV2FilterToJSON( + createDrainFilterV2Filter: CreateDrainFilterV2Filter, +): string { + return JSON.stringify( + CreateDrainFilterV2Filter$outboundSchema.parse(createDrainFilterV2Filter), + ); +} +export function createDrainFilterV2FilterFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateDrainFilterV2Filter$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateDrainFilterV2Filter' from JSON`, + ); +} + +/** @internal */ +export const CreateDrainFilterV22$inboundSchema: z.ZodType< + CreateDrainFilterV22, + z.ZodTypeDef, + unknown +> = z.object({ + version: CreateDrainFilterV2DrainsVersion$inboundSchema, + filter: z.union([ + z.lazy(() => CreateDrainFilterDrainsResponse2$inboundSchema), + z.lazy(() => CreateDrainFilterDrains1$inboundSchema), + ]), +}); +/** @internal */ +export type CreateDrainFilterV22$Outbound = { + version: string; + filter: + | CreateDrainFilterDrainsResponse2$Outbound + | CreateDrainFilterDrains1$Outbound; +}; + +/** @internal */ +export const CreateDrainFilterV22$outboundSchema: z.ZodType< + CreateDrainFilterV22$Outbound, + z.ZodTypeDef, + CreateDrainFilterV22 +> = z.object({ + version: CreateDrainFilterV2DrainsVersion$outboundSchema, + filter: z.union([ + z.lazy(() => CreateDrainFilterDrainsResponse2$outboundSchema), + z.lazy(() => CreateDrainFilterDrains1$outboundSchema), + ]), +}); + +export function createDrainFilterV22ToJSON( + createDrainFilterV22: CreateDrainFilterV22, +): string { + return JSON.stringify( + CreateDrainFilterV22$outboundSchema.parse(createDrainFilterV22), + ); +} +export function createDrainFilterV22FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateDrainFilterV22$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateDrainFilterV22' from JSON`, + ); +} + +/** @internal */ +export const CreateDrainFilterV2Version$inboundSchema: z.ZodNativeEnum< + typeof CreateDrainFilterV2Version +> = z.nativeEnum(CreateDrainFilterV2Version); +/** @internal */ +export const CreateDrainFilterV2Version$outboundSchema: z.ZodNativeEnum< + typeof CreateDrainFilterV2Version +> = CreateDrainFilterV2Version$inboundSchema; + +/** @internal */ +export const CreateDrainFilterV21$inboundSchema: z.ZodType< + CreateDrainFilterV21, + z.ZodTypeDef, + unknown +> = z.object({ + version: CreateDrainFilterV2Version$inboundSchema, +}); +/** @internal */ +export type CreateDrainFilterV21$Outbound = { + version: string; +}; + +/** @internal */ +export const CreateDrainFilterV21$outboundSchema: z.ZodType< + CreateDrainFilterV21$Outbound, + z.ZodTypeDef, + CreateDrainFilterV21 +> = z.object({ + version: CreateDrainFilterV2Version$outboundSchema, +}); + +export function createDrainFilterV21ToJSON( + createDrainFilterV21: CreateDrainFilterV21, +): string { + return JSON.stringify( + CreateDrainFilterV21$outboundSchema.parse(createDrainFilterV21), + ); +} +export function createDrainFilterV21FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateDrainFilterV21$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateDrainFilterV21' from JSON`, + ); +} + +/** @internal */ +export const ResponseBodyFilterV2$inboundSchema: z.ZodType< + ResponseBodyFilterV2, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => CreateDrainFilterV22$inboundSchema), + z.lazy(() => CreateDrainFilterV21$inboundSchema), +]); +/** @internal */ +export type ResponseBodyFilterV2$Outbound = + | CreateDrainFilterV22$Outbound + | CreateDrainFilterV21$Outbound; + +/** @internal */ +export const ResponseBodyFilterV2$outboundSchema: z.ZodType< + ResponseBodyFilterV2$Outbound, + z.ZodTypeDef, + ResponseBodyFilterV2 +> = z.union([ + z.lazy(() => CreateDrainFilterV22$outboundSchema), + z.lazy(() => CreateDrainFilterV21$outboundSchema), +]); + +export function responseBodyFilterV2ToJSON( + responseBodyFilterV2: ResponseBodyFilterV2, +): string { + return JSON.stringify( + ResponseBodyFilterV2$outboundSchema.parse(responseBodyFilterV2), + ); +} +export function responseBodyFilterV2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ResponseBodyFilterV2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ResponseBodyFilterV2' from JSON`, + ); +} + +/** @internal */ +export const CreateDrainResponseBodyFramework$inboundSchema: z.ZodNativeEnum< + typeof CreateDrainResponseBodyFramework +> = z.nativeEnum(CreateDrainResponseBodyFramework); +/** @internal */ +export const CreateDrainResponseBodyFramework$outboundSchema: z.ZodNativeEnum< + typeof CreateDrainResponseBodyFramework +> = CreateDrainResponseBodyFramework$inboundSchema; + +/** @internal */ +export const CreateDrainResponseBodyProjectsMetadata$inboundSchema: z.ZodType< + CreateDrainResponseBodyProjectsMetadata, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + name: z.string(), + framework: z.nullable(CreateDrainResponseBodyFramework$inboundSchema) + .optional(), + latestDeployment: z.string().optional(), +}); +/** @internal */ +export type CreateDrainResponseBodyProjectsMetadata$Outbound = { + id: string; + name: string; + framework?: string | null | undefined; + latestDeployment?: string | undefined; +}; + +/** @internal */ +export const CreateDrainResponseBodyProjectsMetadata$outboundSchema: z.ZodType< + CreateDrainResponseBodyProjectsMetadata$Outbound, + z.ZodTypeDef, + CreateDrainResponseBodyProjectsMetadata +> = z.object({ + id: z.string(), + name: z.string(), + framework: z.nullable(CreateDrainResponseBodyFramework$outboundSchema) + .optional(), + latestDeployment: z.string().optional(), +}); + +export function createDrainResponseBodyProjectsMetadataToJSON( + createDrainResponseBodyProjectsMetadata: + CreateDrainResponseBodyProjectsMetadata, +): string { + return JSON.stringify( + CreateDrainResponseBodyProjectsMetadata$outboundSchema.parse( + createDrainResponseBodyProjectsMetadata, + ), + ); +} +export function createDrainResponseBodyProjectsMetadataFromJSON( + jsonString: string, +): SafeParseResult< + CreateDrainResponseBodyProjectsMetadata, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + CreateDrainResponseBodyProjectsMetadata$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'CreateDrainResponseBodyProjectsMetadata' from JSON`, + ); +} + +/** @internal */ +export const CreateDrainResponseBody2$inboundSchema: z.ZodType< + CreateDrainResponseBody2, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + ownerId: z.string(), + name: z.string(), + createdAt: z.number(), + createdFrom: ResponseBodyCreatedFrom$inboundSchema.optional(), + updatedAt: z.number(), + projectIds: z.array(z.string()).optional(), + schemas: z.lazy(() => CreateDrainResponseBodySchemas$inboundSchema) + .optional(), + delivery: z.union([ + z.lazy(() => CreateDrainDeliveryDrains1$inboundSchema), + z.lazy(() => CreateDrainDeliveryDrains2$inboundSchema), + z.lazy(() => CreateDrainDelivery3$inboundSchema), + z.lazy(() => CreateDrainDelivery4$inboundSchema), + ]).optional(), + sampling: z.array(z.lazy(() => CreateDrainResponseBodySampling$inboundSchema)) + .optional(), + teamId: z.nullable(z.string()).optional(), + status: CreateDrainResponseBodyDrainsStatus$inboundSchema.optional(), + disabledAt: z.number().optional(), + disabledReason: ResponseBodyDisabledReason$inboundSchema.optional(), + disabledBy: z.string().optional(), + firstErrorTimestamp: z.number().optional(), + configurationId: z.string().optional(), + clientId: z.string().optional(), + source: z.union([ + z.lazy(() => CreateDrainSourceDrains2$inboundSchema), + z.lazy(() => CreateDrainSourceDrains1$inboundSchema), + ]), + filter: z.string().optional(), + filterV2: z.union([ + z.lazy(() => CreateDrainFilterV22$inboundSchema), + z.lazy(() => CreateDrainFilterV21$inboundSchema), + ]).optional(), + integrationIcon: z.string().optional(), + integrationConfigurationUri: z.string().optional(), + integrationWebsite: z.string().optional(), + projectsMetadata: z.array( + z.lazy(() => CreateDrainResponseBodyProjectsMetadata$inboundSchema), + ).optional(), +}); +/** @internal */ +export type CreateDrainResponseBody2$Outbound = { + id: string; + ownerId: string; + name: string; + createdAt: number; + createdFrom?: string | undefined; + updatedAt: number; + projectIds?: Array | undefined; + schemas?: CreateDrainResponseBodySchemas$Outbound | undefined; + delivery?: + | CreateDrainDeliveryDrains1$Outbound + | CreateDrainDeliveryDrains2$Outbound + | CreateDrainDelivery3$Outbound + | CreateDrainDelivery4$Outbound + | undefined; + sampling?: Array | undefined; + teamId?: string | null | undefined; + status?: string | undefined; + disabledAt?: number | undefined; + disabledReason?: string | undefined; + disabledBy?: string | undefined; + firstErrorTimestamp?: number | undefined; + configurationId?: string | undefined; + clientId?: string | undefined; + source: CreateDrainSourceDrains2$Outbound | CreateDrainSourceDrains1$Outbound; + filter?: string | undefined; + filterV2?: + | CreateDrainFilterV22$Outbound + | CreateDrainFilterV21$Outbound + | undefined; + integrationIcon?: string | undefined; + integrationConfigurationUri?: string | undefined; + integrationWebsite?: string | undefined; + projectsMetadata?: + | Array + | undefined; +}; + +/** @internal */ +export const CreateDrainResponseBody2$outboundSchema: z.ZodType< + CreateDrainResponseBody2$Outbound, + z.ZodTypeDef, + CreateDrainResponseBody2 +> = z.object({ + id: z.string(), + ownerId: z.string(), + name: z.string(), + createdAt: z.number(), + createdFrom: ResponseBodyCreatedFrom$outboundSchema.optional(), + updatedAt: z.number(), + projectIds: z.array(z.string()).optional(), + schemas: z.lazy(() => CreateDrainResponseBodySchemas$outboundSchema) + .optional(), + delivery: z.union([ + z.lazy(() => CreateDrainDeliveryDrains1$outboundSchema), + z.lazy(() => CreateDrainDeliveryDrains2$outboundSchema), + z.lazy(() => CreateDrainDelivery3$outboundSchema), + z.lazy(() => CreateDrainDelivery4$outboundSchema), + ]).optional(), + sampling: z.array( + z.lazy(() => CreateDrainResponseBodySampling$outboundSchema), + ).optional(), + teamId: z.nullable(z.string()).optional(), + status: CreateDrainResponseBodyDrainsStatus$outboundSchema.optional(), + disabledAt: z.number().optional(), + disabledReason: ResponseBodyDisabledReason$outboundSchema.optional(), + disabledBy: z.string().optional(), + firstErrorTimestamp: z.number().optional(), + configurationId: z.string().optional(), + clientId: z.string().optional(), + source: z.union([ + z.lazy(() => CreateDrainSourceDrains2$outboundSchema), + z.lazy(() => CreateDrainSourceDrains1$outboundSchema), + ]), + filter: z.string().optional(), + filterV2: z.union([ + z.lazy(() => CreateDrainFilterV22$outboundSchema), + z.lazy(() => CreateDrainFilterV21$outboundSchema), + ]).optional(), + integrationIcon: z.string().optional(), + integrationConfigurationUri: z.string().optional(), + integrationWebsite: z.string().optional(), + projectsMetadata: z.array( + z.lazy(() => CreateDrainResponseBodyProjectsMetadata$outboundSchema), + ).optional(), +}); + +export function createDrainResponseBody2ToJSON( + createDrainResponseBody2: CreateDrainResponseBody2, +): string { + return JSON.stringify( + CreateDrainResponseBody2$outboundSchema.parse(createDrainResponseBody2), + ); +} +export function createDrainResponseBody2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateDrainResponseBody2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateDrainResponseBody2' from JSON`, + ); +} + +/** @internal */ +export const CreateDrainResponseBodyCreatedFrom$inboundSchema: z.ZodNativeEnum< + typeof CreateDrainResponseBodyCreatedFrom +> = z.nativeEnum(CreateDrainResponseBodyCreatedFrom); +/** @internal */ +export const CreateDrainResponseBodyCreatedFrom$outboundSchema: z.ZodNativeEnum< + typeof CreateDrainResponseBodyCreatedFrom +> = CreateDrainResponseBodyCreatedFrom$inboundSchema; + +/** @internal */ +export const ResponseBodyLog$inboundSchema: z.ZodType< + ResponseBodyLog, + z.ZodTypeDef, + unknown +> = z.object({}); +/** @internal */ +export type ResponseBodyLog$Outbound = {}; + +/** @internal */ +export const ResponseBodyLog$outboundSchema: z.ZodType< + ResponseBodyLog$Outbound, + z.ZodTypeDef, + ResponseBodyLog +> = z.object({}); + +export function responseBodyLogToJSON( + responseBodyLog: ResponseBodyLog, +): string { + return JSON.stringify(ResponseBodyLog$outboundSchema.parse(responseBodyLog)); +} +export function responseBodyLogFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ResponseBodyLog$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ResponseBodyLog' from JSON`, + ); +} + +/** @internal */ +export const Trace$inboundSchema: z.ZodType = z + .object({}); +/** @internal */ +export type Trace$Outbound = {}; + +/** @internal */ +export const Trace$outboundSchema: z.ZodType< + Trace$Outbound, + z.ZodTypeDef, + Trace +> = z.object({}); + +export function traceToJSON(trace: Trace): string { + return JSON.stringify(Trace$outboundSchema.parse(trace)); +} +export function traceFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Trace$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Trace' from JSON`, + ); +} + +/** @internal */ +export const ResponseBodyAnalytics$inboundSchema: z.ZodType< + ResponseBodyAnalytics, + z.ZodTypeDef, + unknown +> = z.object({}); +/** @internal */ +export type ResponseBodyAnalytics$Outbound = {}; + +/** @internal */ +export const ResponseBodyAnalytics$outboundSchema: z.ZodType< + ResponseBodyAnalytics$Outbound, + z.ZodTypeDef, + ResponseBodyAnalytics +> = z.object({}); + +export function responseBodyAnalyticsToJSON( + responseBodyAnalytics: ResponseBodyAnalytics, +): string { + return JSON.stringify( + ResponseBodyAnalytics$outboundSchema.parse(responseBodyAnalytics), + ); +} +export function responseBodyAnalyticsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ResponseBodyAnalytics$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ResponseBodyAnalytics' from JSON`, + ); +} + +/** @internal */ +export const CreateDrainResponseBodySpeedInsights$inboundSchema: z.ZodType< + CreateDrainResponseBodySpeedInsights, + z.ZodTypeDef, + unknown +> = z.object({}); +/** @internal */ +export type CreateDrainResponseBodySpeedInsights$Outbound = {}; + +/** @internal */ +export const CreateDrainResponseBodySpeedInsights$outboundSchema: z.ZodType< + CreateDrainResponseBodySpeedInsights$Outbound, + z.ZodTypeDef, + CreateDrainResponseBodySpeedInsights +> = z.object({}); + +export function createDrainResponseBodySpeedInsightsToJSON( + createDrainResponseBodySpeedInsights: CreateDrainResponseBodySpeedInsights, +): string { + return JSON.stringify( + CreateDrainResponseBodySpeedInsights$outboundSchema.parse( + createDrainResponseBodySpeedInsights, + ), + ); +} +export function createDrainResponseBodySpeedInsightsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + CreateDrainResponseBodySpeedInsights$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateDrainResponseBodySpeedInsights' from JSON`, + ); +} + +/** @internal */ +export const ResponseBodySchemas$inboundSchema: z.ZodType< + ResponseBodySchemas, + z.ZodTypeDef, + unknown +> = z.object({ + log: z.lazy(() => ResponseBodyLog$inboundSchema).optional(), + trace: z.lazy(() => Trace$inboundSchema).optional(), + analytics: z.lazy(() => ResponseBodyAnalytics$inboundSchema).optional(), + speed_insights: z.lazy(() => + CreateDrainResponseBodySpeedInsights$inboundSchema + ).optional(), +}).transform((v) => { + return remap$(v, { + "speed_insights": "speedInsights", + }); +}); +/** @internal */ +export type ResponseBodySchemas$Outbound = { + log?: ResponseBodyLog$Outbound | undefined; + trace?: Trace$Outbound | undefined; + analytics?: ResponseBodyAnalytics$Outbound | undefined; + speed_insights?: CreateDrainResponseBodySpeedInsights$Outbound | undefined; +}; + +/** @internal */ +export const ResponseBodySchemas$outboundSchema: z.ZodType< + ResponseBodySchemas$Outbound, + z.ZodTypeDef, + ResponseBodySchemas +> = z.object({ + log: z.lazy(() => ResponseBodyLog$outboundSchema).optional(), + trace: z.lazy(() => Trace$outboundSchema).optional(), + analytics: z.lazy(() => ResponseBodyAnalytics$outboundSchema).optional(), + speedInsights: z.lazy(() => + CreateDrainResponseBodySpeedInsights$outboundSchema + ).optional(), +}).transform((v) => { + return remap$(v, { + speedInsights: "speed_insights", + }); +}); + +export function responseBodySchemasToJSON( + responseBodySchemas: ResponseBodySchemas, +): string { + return JSON.stringify( + ResponseBodySchemas$outboundSchema.parse(responseBodySchemas), + ); +} +export function responseBodySchemasFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ResponseBodySchemas$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ResponseBodySchemas' from JSON`, + ); +} + +/** @internal */ +export const CreateDrainDeliveryDrainsResponseType$inboundSchema: + z.ZodNativeEnum = z.nativeEnum( + CreateDrainDeliveryDrainsResponseType, + ); +/** @internal */ +export const CreateDrainDeliveryDrainsResponseType$outboundSchema: + z.ZodNativeEnum = + CreateDrainDeliveryDrainsResponseType$inboundSchema; + +/** @internal */ +export const DeliveryTarget$inboundSchema: z.ZodNativeEnum< + typeof DeliveryTarget +> = z.nativeEnum(DeliveryTarget); +/** @internal */ +export const DeliveryTarget$outboundSchema: z.ZodNativeEnum< + typeof DeliveryTarget +> = DeliveryTarget$inboundSchema; + +/** @internal */ +export const Delivery4$inboundSchema: z.ZodType< + Delivery4, + z.ZodTypeDef, + unknown +> = z.object({ + type: CreateDrainDeliveryDrainsResponseType$inboundSchema, + target: DeliveryTarget$inboundSchema, +}); +/** @internal */ +export type Delivery4$Outbound = { + type: string; + target: string; +}; + +/** @internal */ +export const Delivery4$outboundSchema: z.ZodType< + Delivery4$Outbound, + z.ZodTypeDef, + Delivery4 +> = z.object({ + type: CreateDrainDeliveryDrainsResponseType$outboundSchema, + target: DeliveryTarget$outboundSchema, +}); + +export function delivery4ToJSON(delivery4: Delivery4): string { + return JSON.stringify(Delivery4$outboundSchema.parse(delivery4)); +} +export function delivery4FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Delivery4$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Delivery4' from JSON`, + ); +} + +/** @internal */ +export const CreateDrainDeliveryDrainsType$inboundSchema: z.ZodNativeEnum< + typeof CreateDrainDeliveryDrainsType +> = z.nativeEnum(CreateDrainDeliveryDrainsType); +/** @internal */ +export const CreateDrainDeliveryDrainsType$outboundSchema: z.ZodNativeEnum< + typeof CreateDrainDeliveryDrainsType +> = CreateDrainDeliveryDrainsType$inboundSchema; + +/** @internal */ +export const Delivery3$inboundSchema: z.ZodType< + Delivery3, + z.ZodTypeDef, + unknown +> = z.object({ + type: CreateDrainDeliveryDrainsType$inboundSchema, + endpoint: z.string(), + table: z.string(), +}); +/** @internal */ +export type Delivery3$Outbound = { + type: string; + endpoint: string; + table: string; +}; + +/** @internal */ +export const Delivery3$outboundSchema: z.ZodType< + Delivery3$Outbound, + z.ZodTypeDef, + Delivery3 +> = z.object({ + type: CreateDrainDeliveryDrainsType$outboundSchema, + endpoint: z.string(), + table: z.string(), +}); + +export function delivery3ToJSON(delivery3: Delivery3): string { + return JSON.stringify(Delivery3$outboundSchema.parse(delivery3)); +} +export function delivery3FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Delivery3$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Delivery3' from JSON`, + ); +} + +/** @internal */ +export const CreateDrainDeliveryType$inboundSchema: z.ZodNativeEnum< + typeof CreateDrainDeliveryType +> = z.nativeEnum(CreateDrainDeliveryType); +/** @internal */ +export const CreateDrainDeliveryType$outboundSchema: z.ZodNativeEnum< + typeof CreateDrainDeliveryType +> = CreateDrainDeliveryType$inboundSchema; + +/** @internal */ +export const CreateDrainDeliveryDrainsEndpoint$inboundSchema: z.ZodType< + CreateDrainDeliveryDrainsEndpoint, + z.ZodTypeDef, + unknown +> = z.object({ + traces: z.string(), +}); +/** @internal */ +export type CreateDrainDeliveryDrainsEndpoint$Outbound = { + traces: string; +}; + +/** @internal */ +export const CreateDrainDeliveryDrainsEndpoint$outboundSchema: z.ZodType< + CreateDrainDeliveryDrainsEndpoint$Outbound, + z.ZodTypeDef, + CreateDrainDeliveryDrainsEndpoint +> = z.object({ + traces: z.string(), +}); + +export function createDrainDeliveryDrainsEndpointToJSON( + createDrainDeliveryDrainsEndpoint: CreateDrainDeliveryDrainsEndpoint, +): string { + return JSON.stringify( + CreateDrainDeliveryDrainsEndpoint$outboundSchema.parse( + createDrainDeliveryDrainsEndpoint, + ), + ); +} +export function createDrainDeliveryDrainsEndpointFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateDrainDeliveryDrainsEndpoint$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateDrainDeliveryDrainsEndpoint' from JSON`, + ); +} + +/** @internal */ +export const CreateDrainDeliveryDrainsResponseEncoding$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(CreateDrainDeliveryDrainsResponseEncoding); +/** @internal */ +export const CreateDrainDeliveryDrainsResponseEncoding$outboundSchema: + z.ZodNativeEnum = + CreateDrainDeliveryDrainsResponseEncoding$inboundSchema; + +/** @internal */ +export const CreateDrainDelivery2$inboundSchema: z.ZodType< + CreateDrainDelivery2, + z.ZodTypeDef, + unknown +> = z.object({ + type: CreateDrainDeliveryType$inboundSchema, + endpoint: z.lazy(() => CreateDrainDeliveryDrainsEndpoint$inboundSchema), + encoding: CreateDrainDeliveryDrainsResponseEncoding$inboundSchema, + headers: z.record(z.string()), + secret: z.string().optional(), +}); +/** @internal */ +export type CreateDrainDelivery2$Outbound = { + type: string; + endpoint: CreateDrainDeliveryDrainsEndpoint$Outbound; + encoding: string; + headers: { [k: string]: string }; + secret?: string | undefined; +}; + +/** @internal */ +export const CreateDrainDelivery2$outboundSchema: z.ZodType< + CreateDrainDelivery2$Outbound, + z.ZodTypeDef, + CreateDrainDelivery2 +> = z.object({ + type: CreateDrainDeliveryType$outboundSchema, + endpoint: z.lazy(() => CreateDrainDeliveryDrainsEndpoint$outboundSchema), + encoding: CreateDrainDeliveryDrainsResponseEncoding$outboundSchema, + headers: z.record(z.string()), + secret: z.string().optional(), +}); + +export function createDrainDelivery2ToJSON( + createDrainDelivery2: CreateDrainDelivery2, +): string { + return JSON.stringify( + CreateDrainDelivery2$outboundSchema.parse(createDrainDelivery2), + ); +} +export function createDrainDelivery2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateDrainDelivery2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateDrainDelivery2' from JSON`, + ); +} + +/** @internal */ +export const DeliveryType$inboundSchema: z.ZodNativeEnum = + z.nativeEnum(DeliveryType); +/** @internal */ +export const DeliveryType$outboundSchema: z.ZodNativeEnum = + DeliveryType$inboundSchema; + +/** @internal */ +export const CreateDrainDeliveryDrainsEncoding$inboundSchema: z.ZodNativeEnum< + typeof CreateDrainDeliveryDrainsEncoding +> = z.nativeEnum(CreateDrainDeliveryDrainsEncoding); +/** @internal */ +export const CreateDrainDeliveryDrainsEncoding$outboundSchema: z.ZodNativeEnum< + typeof CreateDrainDeliveryDrainsEncoding +> = CreateDrainDeliveryDrainsEncoding$inboundSchema; + +/** @internal */ +export const CreateDrainDeliveryDrainsCompression$inboundSchema: + z.ZodNativeEnum = z.nativeEnum( + CreateDrainDeliveryDrainsCompression, + ); +/** @internal */ +export const CreateDrainDeliveryDrainsCompression$outboundSchema: + z.ZodNativeEnum = + CreateDrainDeliveryDrainsCompression$inboundSchema; + +/** @internal */ +export const CreateDrainDelivery1$inboundSchema: z.ZodType< + CreateDrainDelivery1, + z.ZodTypeDef, + unknown +> = z.object({ + type: DeliveryType$inboundSchema, + endpoint: z.string(), + encoding: CreateDrainDeliveryDrainsEncoding$inboundSchema, + compression: CreateDrainDeliveryDrainsCompression$inboundSchema.optional(), + headers: z.record(z.string()), + secret: z.string().optional(), +}); +/** @internal */ +export type CreateDrainDelivery1$Outbound = { + type: string; + endpoint: string; + encoding: string; + compression?: string | undefined; + headers: { [k: string]: string }; + secret?: string | undefined; +}; + +/** @internal */ +export const CreateDrainDelivery1$outboundSchema: z.ZodType< + CreateDrainDelivery1$Outbound, + z.ZodTypeDef, + CreateDrainDelivery1 +> = z.object({ + type: DeliveryType$outboundSchema, + endpoint: z.string(), + encoding: CreateDrainDeliveryDrainsEncoding$outboundSchema, + compression: CreateDrainDeliveryDrainsCompression$outboundSchema.optional(), + headers: z.record(z.string()), + secret: z.string().optional(), +}); + +export function createDrainDelivery1ToJSON( + createDrainDelivery1: CreateDrainDelivery1, +): string { + return JSON.stringify( + CreateDrainDelivery1$outboundSchema.parse(createDrainDelivery1), + ); +} +export function createDrainDelivery1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateDrainDelivery1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateDrainDelivery1' from JSON`, + ); +} + +/** @internal */ +export const ResponseBodyDelivery$inboundSchema: z.ZodType< + ResponseBodyDelivery, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => CreateDrainDelivery1$inboundSchema), + z.lazy(() => CreateDrainDelivery2$inboundSchema), + z.lazy(() => Delivery3$inboundSchema), + z.lazy(() => Delivery4$inboundSchema), +]); +/** @internal */ +export type ResponseBodyDelivery$Outbound = + | CreateDrainDelivery1$Outbound + | CreateDrainDelivery2$Outbound + | Delivery3$Outbound + | Delivery4$Outbound; + +/** @internal */ +export const ResponseBodyDelivery$outboundSchema: z.ZodType< + ResponseBodyDelivery$Outbound, + z.ZodTypeDef, + ResponseBodyDelivery +> = z.union([ + z.lazy(() => CreateDrainDelivery1$outboundSchema), + z.lazy(() => CreateDrainDelivery2$outboundSchema), + z.lazy(() => Delivery3$outboundSchema), + z.lazy(() => Delivery4$outboundSchema), +]); + +export function responseBodyDeliveryToJSON( + responseBodyDelivery: ResponseBodyDelivery, +): string { + return JSON.stringify( + ResponseBodyDelivery$outboundSchema.parse(responseBodyDelivery), + ); +} +export function responseBodyDeliveryFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ResponseBodyDelivery$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ResponseBodyDelivery' from JSON`, + ); +} + +/** @internal */ +export const CreateDrainResponseBodyType$inboundSchema: z.ZodNativeEnum< + typeof CreateDrainResponseBodyType +> = z.nativeEnum(CreateDrainResponseBodyType); +/** @internal */ +export const CreateDrainResponseBodyType$outboundSchema: z.ZodNativeEnum< + typeof CreateDrainResponseBodyType +> = CreateDrainResponseBodyType$inboundSchema; + +/** @internal */ +export const ResponseBodyEnv$inboundSchema: z.ZodNativeEnum< + typeof ResponseBodyEnv +> = z.nativeEnum(ResponseBodyEnv); +/** @internal */ +export const ResponseBodyEnv$outboundSchema: z.ZodNativeEnum< + typeof ResponseBodyEnv +> = ResponseBodyEnv$inboundSchema; + +/** @internal */ +export const ResponseBodySampling$inboundSchema: z.ZodType< + ResponseBodySampling, + z.ZodTypeDef, + unknown +> = z.object({ + type: CreateDrainResponseBodyType$inboundSchema, + rate: z.number(), + env: ResponseBodyEnv$inboundSchema.optional(), + requestPath: z.string().optional(), +}); +/** @internal */ +export type ResponseBodySampling$Outbound = { + type: string; + rate: number; + env?: string | undefined; + requestPath?: string | undefined; +}; + +/** @internal */ +export const ResponseBodySampling$outboundSchema: z.ZodType< + ResponseBodySampling$Outbound, + z.ZodTypeDef, + ResponseBodySampling +> = z.object({ + type: CreateDrainResponseBodyType$outboundSchema, + rate: z.number(), + env: ResponseBodyEnv$outboundSchema.optional(), + requestPath: z.string().optional(), +}); + +export function responseBodySamplingToJSON( + responseBodySampling: ResponseBodySampling, +): string { + return JSON.stringify( + ResponseBodySampling$outboundSchema.parse(responseBodySampling), + ); +} +export function responseBodySamplingFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ResponseBodySampling$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ResponseBodySampling' from JSON`, + ); +} + +/** @internal */ +export const CreateDrainResponseBodyStatus$inboundSchema: z.ZodNativeEnum< + typeof CreateDrainResponseBodyStatus +> = z.nativeEnum(CreateDrainResponseBodyStatus); +/** @internal */ +export const CreateDrainResponseBodyStatus$outboundSchema: z.ZodNativeEnum< + typeof CreateDrainResponseBodyStatus +> = CreateDrainResponseBodyStatus$inboundSchema; + +/** @internal */ +export const DisabledReason$inboundSchema: z.ZodNativeEnum< + typeof DisabledReason +> = z.nativeEnum(DisabledReason); +/** @internal */ +export const DisabledReason$outboundSchema: z.ZodNativeEnum< + typeof DisabledReason +> = DisabledReason$inboundSchema; + +/** @internal */ +export const CreateDrainSourceDrainsResponse200Kind$inboundSchema: + z.ZodNativeEnum = z.nativeEnum( + CreateDrainSourceDrainsResponse200Kind, + ); +/** @internal */ +export const CreateDrainSourceDrainsResponse200Kind$outboundSchema: + z.ZodNativeEnum = + CreateDrainSourceDrainsResponse200Kind$inboundSchema; + +/** @internal */ +export const CreateDrainSource2$inboundSchema: z.ZodType< + CreateDrainSource2, + z.ZodTypeDef, + unknown +> = z.object({ + kind: CreateDrainSourceDrainsResponse200Kind$inboundSchema, + resourceId: z.string().optional(), + externalResourceId: z.string().optional(), + integrationId: z.string(), + integrationConfigurationId: z.string(), +}); +/** @internal */ +export type CreateDrainSource2$Outbound = { + kind: string; + resourceId?: string | undefined; + externalResourceId?: string | undefined; + integrationId: string; + integrationConfigurationId: string; +}; + +/** @internal */ +export const CreateDrainSource2$outboundSchema: z.ZodType< + CreateDrainSource2$Outbound, + z.ZodTypeDef, + CreateDrainSource2 +> = z.object({ + kind: CreateDrainSourceDrainsResponse200Kind$outboundSchema, + resourceId: z.string().optional(), + externalResourceId: z.string().optional(), + integrationId: z.string(), + integrationConfigurationId: z.string(), +}); + +export function createDrainSource2ToJSON( + createDrainSource2: CreateDrainSource2, +): string { + return JSON.stringify( + CreateDrainSource2$outboundSchema.parse(createDrainSource2), + ); +} +export function createDrainSource2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateDrainSource2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateDrainSource2' from JSON`, + ); +} + +/** @internal */ +export const CreateDrainSourceDrainsResponseKind$inboundSchema: z.ZodNativeEnum< + typeof CreateDrainSourceDrainsResponseKind +> = z.nativeEnum(CreateDrainSourceDrainsResponseKind); +/** @internal */ +export const CreateDrainSourceDrainsResponseKind$outboundSchema: + z.ZodNativeEnum = + CreateDrainSourceDrainsResponseKind$inboundSchema; + +/** @internal */ +export const CreateDrainSource1$inboundSchema: z.ZodType< + CreateDrainSource1, + z.ZodTypeDef, + unknown +> = z.object({ + kind: CreateDrainSourceDrainsResponseKind$inboundSchema, +}); +/** @internal */ +export type CreateDrainSource1$Outbound = { + kind: string; +}; + +/** @internal */ +export const CreateDrainSource1$outboundSchema: z.ZodType< + CreateDrainSource1$Outbound, + z.ZodTypeDef, + CreateDrainSource1 +> = z.object({ + kind: CreateDrainSourceDrainsResponseKind$outboundSchema, +}); + +export function createDrainSource1ToJSON( + createDrainSource1: CreateDrainSource1, +): string { + return JSON.stringify( + CreateDrainSource1$outboundSchema.parse(createDrainSource1), + ); +} +export function createDrainSource1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateDrainSource1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateDrainSource1' from JSON`, + ); +} + +/** @internal */ +export const CreateDrainResponseBodySource$inboundSchema: z.ZodType< + CreateDrainResponseBodySource, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => CreateDrainSource2$inboundSchema), + z.lazy(() => CreateDrainSource1$inboundSchema), +]); +/** @internal */ +export type CreateDrainResponseBodySource$Outbound = + | CreateDrainSource2$Outbound + | CreateDrainSource1$Outbound; + +/** @internal */ +export const CreateDrainResponseBodySource$outboundSchema: z.ZodType< + CreateDrainResponseBodySource$Outbound, + z.ZodTypeDef, + CreateDrainResponseBodySource +> = z.union([ + z.lazy(() => CreateDrainSource2$outboundSchema), + z.lazy(() => CreateDrainSource1$outboundSchema), +]); + +export function createDrainResponseBodySourceToJSON( + createDrainResponseBodySource: CreateDrainResponseBodySource, +): string { + return JSON.stringify( + CreateDrainResponseBodySource$outboundSchema.parse( + createDrainResponseBodySource, + ), + ); +} +export function createDrainResponseBodySourceFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateDrainResponseBodySource$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateDrainResponseBodySource' from JSON`, + ); +} + +/** @internal */ +export const FilterV2Version$inboundSchema: z.ZodNativeEnum< + typeof FilterV2Version +> = z.nativeEnum(FilterV2Version); +/** @internal */ +export const FilterV2Version$outboundSchema: z.ZodNativeEnum< + typeof FilterV2Version +> = FilterV2Version$inboundSchema; + +/** @internal */ +export const CreateDrainFilterType$inboundSchema: z.ZodNativeEnum< + typeof CreateDrainFilterType +> = z.nativeEnum(CreateDrainFilterType); +/** @internal */ +export const CreateDrainFilterType$outboundSchema: z.ZodNativeEnum< + typeof CreateDrainFilterType +> = CreateDrainFilterType$inboundSchema; + +/** @internal */ +export const CreateDrainFilterDrains2$inboundSchema: z.ZodType< + CreateDrainFilterDrains2, + z.ZodTypeDef, + unknown +> = z.object({ + type: CreateDrainFilterType$inboundSchema, + text: z.string(), +}); +/** @internal */ +export type CreateDrainFilterDrains2$Outbound = { + type: string; + text: string; +}; + +/** @internal */ +export const CreateDrainFilterDrains2$outboundSchema: z.ZodType< + CreateDrainFilterDrains2$Outbound, + z.ZodTypeDef, + CreateDrainFilterDrains2 +> = z.object({ + type: CreateDrainFilterType$outboundSchema, + text: z.string(), +}); + +export function createDrainFilterDrains2ToJSON( + createDrainFilterDrains2: CreateDrainFilterDrains2, +): string { + return JSON.stringify( + CreateDrainFilterDrains2$outboundSchema.parse(createDrainFilterDrains2), + ); +} +export function createDrainFilterDrains2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateDrainFilterDrains2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateDrainFilterDrains2' from JSON`, + ); +} + +/** @internal */ +export const FilterType$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(FilterType); +/** @internal */ +export const FilterType$outboundSchema: z.ZodNativeEnum = + FilterType$inboundSchema; + +/** @internal */ +export const CreateDrainFilterDrainsProject$inboundSchema: z.ZodType< + CreateDrainFilterDrainsProject, + z.ZodTypeDef, + unknown +> = z.object({ + ids: z.array(z.string()).optional(), +}); +/** @internal */ +export type CreateDrainFilterDrainsProject$Outbound = { + ids?: Array | undefined; +}; + +/** @internal */ +export const CreateDrainFilterDrainsProject$outboundSchema: z.ZodType< + CreateDrainFilterDrainsProject$Outbound, + z.ZodTypeDef, + CreateDrainFilterDrainsProject +> = z.object({ + ids: z.array(z.string()).optional(), +}); + +export function createDrainFilterDrainsProjectToJSON( + createDrainFilterDrainsProject: CreateDrainFilterDrainsProject, +): string { + return JSON.stringify( + CreateDrainFilterDrainsProject$outboundSchema.parse( + createDrainFilterDrainsProject, + ), + ); +} +export function createDrainFilterDrainsProjectFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateDrainFilterDrainsProject$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateDrainFilterDrainsProject' from JSON`, + ); +} + +/** @internal */ +export const CreateDrainFilterSources$inboundSchema: z.ZodNativeEnum< + typeof CreateDrainFilterSources +> = z.nativeEnum(CreateDrainFilterSources); +/** @internal */ +export const CreateDrainFilterSources$outboundSchema: z.ZodNativeEnum< + typeof CreateDrainFilterSources +> = CreateDrainFilterSources$inboundSchema; + +/** @internal */ +export const CreateDrainFilterDrainsLog$inboundSchema: z.ZodType< + CreateDrainFilterDrainsLog, + z.ZodTypeDef, + unknown +> = z.object({ + sources: z.array(CreateDrainFilterSources$inboundSchema).optional(), + legacy_excludeCachedStaticAssetLogs: z.boolean().optional(), +}).transform((v) => { + return remap$(v, { + "legacy_excludeCachedStaticAssetLogs": "legacyExcludeCachedStaticAssetLogs", + }); +}); +/** @internal */ +export type CreateDrainFilterDrainsLog$Outbound = { + sources?: Array | undefined; + legacy_excludeCachedStaticAssetLogs?: boolean | undefined; +}; + +/** @internal */ +export const CreateDrainFilterDrainsLog$outboundSchema: z.ZodType< + CreateDrainFilterDrainsLog$Outbound, + z.ZodTypeDef, + CreateDrainFilterDrainsLog +> = z.object({ + sources: z.array(CreateDrainFilterSources$outboundSchema).optional(), + legacyExcludeCachedStaticAssetLogs: z.boolean().optional(), +}).transform((v) => { + return remap$(v, { + legacyExcludeCachedStaticAssetLogs: "legacy_excludeCachedStaticAssetLogs", + }); +}); + +export function createDrainFilterDrainsLogToJSON( + createDrainFilterDrainsLog: CreateDrainFilterDrainsLog, +): string { + return JSON.stringify( + CreateDrainFilterDrainsLog$outboundSchema.parse(createDrainFilterDrainsLog), + ); +} +export function createDrainFilterDrainsLogFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateDrainFilterDrainsLog$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateDrainFilterDrainsLog' from JSON`, + ); +} + +/** @internal */ +export const CreateDrainFilterEnvironments$inboundSchema: z.ZodNativeEnum< + typeof CreateDrainFilterEnvironments +> = z.nativeEnum(CreateDrainFilterEnvironments); +/** @internal */ +export const CreateDrainFilterEnvironments$outboundSchema: z.ZodNativeEnum< + typeof CreateDrainFilterEnvironments +> = CreateDrainFilterEnvironments$inboundSchema; + +/** @internal */ +export const CreateDrainFilterDrainsDeployment$inboundSchema: z.ZodType< + CreateDrainFilterDrainsDeployment, + z.ZodTypeDef, + unknown +> = z.object({ + environments: z.array(CreateDrainFilterEnvironments$inboundSchema).optional(), +}); +/** @internal */ +export type CreateDrainFilterDrainsDeployment$Outbound = { + environments?: Array | undefined; +}; + +/** @internal */ +export const CreateDrainFilterDrainsDeployment$outboundSchema: z.ZodType< + CreateDrainFilterDrainsDeployment$Outbound, + z.ZodTypeDef, + CreateDrainFilterDrainsDeployment +> = z.object({ + environments: z.array(CreateDrainFilterEnvironments$outboundSchema) + .optional(), +}); + +export function createDrainFilterDrainsDeploymentToJSON( + createDrainFilterDrainsDeployment: CreateDrainFilterDrainsDeployment, +): string { + return JSON.stringify( + CreateDrainFilterDrainsDeployment$outboundSchema.parse( + createDrainFilterDrainsDeployment, + ), + ); +} +export function createDrainFilterDrainsDeploymentFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateDrainFilterDrainsDeployment$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateDrainFilterDrainsDeployment' from JSON`, + ); +} + +/** @internal */ +export const CreateDrainFilter1$inboundSchema: z.ZodType< + CreateDrainFilter1, + z.ZodTypeDef, + unknown +> = z.object({ + type: FilterType$inboundSchema, + project: z.lazy(() => CreateDrainFilterDrainsProject$inboundSchema) + .optional(), + log: z.lazy(() => CreateDrainFilterDrainsLog$inboundSchema).optional(), + deployment: z.lazy(() => CreateDrainFilterDrainsDeployment$inboundSchema) + .optional(), +}); +/** @internal */ +export type CreateDrainFilter1$Outbound = { + type: string; + project?: CreateDrainFilterDrainsProject$Outbound | undefined; + log?: CreateDrainFilterDrainsLog$Outbound | undefined; + deployment?: CreateDrainFilterDrainsDeployment$Outbound | undefined; +}; + +/** @internal */ +export const CreateDrainFilter1$outboundSchema: z.ZodType< + CreateDrainFilter1$Outbound, + z.ZodTypeDef, + CreateDrainFilter1 +> = z.object({ + type: FilterType$outboundSchema, + project: z.lazy(() => CreateDrainFilterDrainsProject$outboundSchema) + .optional(), + log: z.lazy(() => CreateDrainFilterDrainsLog$outboundSchema).optional(), + deployment: z.lazy(() => CreateDrainFilterDrainsDeployment$outboundSchema) + .optional(), +}); + +export function createDrainFilter1ToJSON( + createDrainFilter1: CreateDrainFilter1, +): string { + return JSON.stringify( + CreateDrainFilter1$outboundSchema.parse(createDrainFilter1), + ); +} +export function createDrainFilter1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateDrainFilter1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateDrainFilter1' from JSON`, + ); +} + +/** @internal */ +export const FilterV2Filter$inboundSchema: z.ZodType< + FilterV2Filter, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => CreateDrainFilterDrains2$inboundSchema), + z.lazy(() => CreateDrainFilter1$inboundSchema), +]); +/** @internal */ +export type FilterV2Filter$Outbound = + | CreateDrainFilterDrains2$Outbound + | CreateDrainFilter1$Outbound; + +/** @internal */ +export const FilterV2Filter$outboundSchema: z.ZodType< + FilterV2Filter$Outbound, + z.ZodTypeDef, + FilterV2Filter +> = z.union([ + z.lazy(() => CreateDrainFilterDrains2$outboundSchema), + z.lazy(() => CreateDrainFilter1$outboundSchema), +]); + +export function filterV2FilterToJSON(filterV2Filter: FilterV2Filter): string { + return JSON.stringify(FilterV2Filter$outboundSchema.parse(filterV2Filter)); +} +export function filterV2FilterFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => FilterV2Filter$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FilterV2Filter' from JSON`, + ); +} + +/** @internal */ +export const FilterV22$inboundSchema: z.ZodType< + FilterV22, + z.ZodTypeDef, + unknown +> = z.object({ + version: FilterV2Version$inboundSchema, + filter: z.union([ + z.lazy(() => CreateDrainFilterDrains2$inboundSchema), + z.lazy(() => CreateDrainFilter1$inboundSchema), + ]), +}); +/** @internal */ +export type FilterV22$Outbound = { + version: string; + filter: CreateDrainFilterDrains2$Outbound | CreateDrainFilter1$Outbound; +}; + +/** @internal */ +export const FilterV22$outboundSchema: z.ZodType< + FilterV22$Outbound, + z.ZodTypeDef, + FilterV22 +> = z.object({ + version: FilterV2Version$outboundSchema, + filter: z.union([ + z.lazy(() => CreateDrainFilterDrains2$outboundSchema), + z.lazy(() => CreateDrainFilter1$outboundSchema), + ]), +}); + +export function filterV22ToJSON(filterV22: FilterV22): string { + return JSON.stringify(FilterV22$outboundSchema.parse(filterV22)); +} +export function filterV22FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => FilterV22$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FilterV22' from JSON`, + ); +} + +/** @internal */ +export const CreateDrainFilterV2DrainsResponseVersion$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(CreateDrainFilterV2DrainsResponseVersion); +/** @internal */ +export const CreateDrainFilterV2DrainsResponseVersion$outboundSchema: + z.ZodNativeEnum = + CreateDrainFilterV2DrainsResponseVersion$inboundSchema; + +/** @internal */ +export const FilterV21$inboundSchema: z.ZodType< + FilterV21, + z.ZodTypeDef, + unknown +> = z.object({ + version: CreateDrainFilterV2DrainsResponseVersion$inboundSchema, +}); +/** @internal */ +export type FilterV21$Outbound = { + version: string; +}; + +/** @internal */ +export const FilterV21$outboundSchema: z.ZodType< + FilterV21$Outbound, + z.ZodTypeDef, + FilterV21 +> = z.object({ + version: CreateDrainFilterV2DrainsResponseVersion$outboundSchema, +}); + +export function filterV21ToJSON(filterV21: FilterV21): string { + return JSON.stringify(FilterV21$outboundSchema.parse(filterV21)); +} +export function filterV21FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => FilterV21$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FilterV21' from JSON`, + ); +} + +/** @internal */ +export const FilterV2$inboundSchema: z.ZodType< + FilterV2, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => FilterV22$inboundSchema), + z.lazy(() => FilterV21$inboundSchema), +]); +/** @internal */ +export type FilterV2$Outbound = FilterV22$Outbound | FilterV21$Outbound; + +/** @internal */ +export const FilterV2$outboundSchema: z.ZodType< + FilterV2$Outbound, + z.ZodTypeDef, + FilterV2 +> = z.union([ + z.lazy(() => FilterV22$outboundSchema), + z.lazy(() => FilterV21$outboundSchema), +]); + +export function filterV2ToJSON(filterV2: FilterV2): string { + return JSON.stringify(FilterV2$outboundSchema.parse(filterV2)); +} +export function filterV2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => FilterV2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FilterV2' from JSON`, + ); +} + +/** @internal */ +export const CreateDrainResponseBody1$inboundSchema: z.ZodType< + CreateDrainResponseBody1, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + ownerId: z.string(), + name: z.string(), + createdAt: z.number(), + createdFrom: CreateDrainResponseBodyCreatedFrom$inboundSchema.optional(), + updatedAt: z.number(), + projectIds: z.array(z.string()).optional(), + schemas: z.lazy(() => ResponseBodySchemas$inboundSchema).optional(), + delivery: z.union([ + z.lazy(() => CreateDrainDelivery1$inboundSchema), + z.lazy(() => CreateDrainDelivery2$inboundSchema), + z.lazy(() => Delivery3$inboundSchema), + z.lazy(() => Delivery4$inboundSchema), + ]).optional(), + sampling: z.array(z.lazy(() => ResponseBodySampling$inboundSchema)) + .optional(), + teamId: z.nullable(z.string()).optional(), + status: CreateDrainResponseBodyStatus$inboundSchema.optional(), + disabledAt: z.number().optional(), + disabledReason: DisabledReason$inboundSchema.optional(), + disabledBy: z.string().optional(), + firstErrorTimestamp: z.number().optional(), + configurationId: z.string().optional(), + clientId: z.string().optional(), + source: z.union([ + z.lazy(() => CreateDrainSource2$inboundSchema), + z.lazy(() => CreateDrainSource1$inboundSchema), + ]), + filter: z.string().optional(), + filterV2: z.union([ + z.lazy(() => FilterV22$inboundSchema), + z.lazy(() => FilterV21$inboundSchema), + ]).optional(), +}); +/** @internal */ +export type CreateDrainResponseBody1$Outbound = { + id: string; + ownerId: string; + name: string; + createdAt: number; + createdFrom?: string | undefined; + updatedAt: number; + projectIds?: Array | undefined; + schemas?: ResponseBodySchemas$Outbound | undefined; + delivery?: + | CreateDrainDelivery1$Outbound + | CreateDrainDelivery2$Outbound + | Delivery3$Outbound + | Delivery4$Outbound + | undefined; + sampling?: Array | undefined; + teamId?: string | null | undefined; + status?: string | undefined; + disabledAt?: number | undefined; + disabledReason?: string | undefined; + disabledBy?: string | undefined; + firstErrorTimestamp?: number | undefined; + configurationId?: string | undefined; + clientId?: string | undefined; + source: CreateDrainSource2$Outbound | CreateDrainSource1$Outbound; + filter?: string | undefined; + filterV2?: FilterV22$Outbound | FilterV21$Outbound | undefined; +}; + +/** @internal */ +export const CreateDrainResponseBody1$outboundSchema: z.ZodType< + CreateDrainResponseBody1$Outbound, + z.ZodTypeDef, + CreateDrainResponseBody1 +> = z.object({ + id: z.string(), + ownerId: z.string(), + name: z.string(), + createdAt: z.number(), + createdFrom: CreateDrainResponseBodyCreatedFrom$outboundSchema.optional(), + updatedAt: z.number(), + projectIds: z.array(z.string()).optional(), + schemas: z.lazy(() => ResponseBodySchemas$outboundSchema).optional(), + delivery: z.union([ + z.lazy(() => CreateDrainDelivery1$outboundSchema), + z.lazy(() => CreateDrainDelivery2$outboundSchema), + z.lazy(() => Delivery3$outboundSchema), + z.lazy(() => Delivery4$outboundSchema), + ]).optional(), + sampling: z.array(z.lazy(() => ResponseBodySampling$outboundSchema)) + .optional(), + teamId: z.nullable(z.string()).optional(), + status: CreateDrainResponseBodyStatus$outboundSchema.optional(), + disabledAt: z.number().optional(), + disabledReason: DisabledReason$outboundSchema.optional(), + disabledBy: z.string().optional(), + firstErrorTimestamp: z.number().optional(), + configurationId: z.string().optional(), + clientId: z.string().optional(), + source: z.union([ + z.lazy(() => CreateDrainSource2$outboundSchema), + z.lazy(() => CreateDrainSource1$outboundSchema), + ]), + filter: z.string().optional(), + filterV2: z.union([ + z.lazy(() => FilterV22$outboundSchema), + z.lazy(() => FilterV21$outboundSchema), + ]).optional(), +}); + +export function createDrainResponseBody1ToJSON( + createDrainResponseBody1: CreateDrainResponseBody1, +): string { + return JSON.stringify( + CreateDrainResponseBody1$outboundSchema.parse(createDrainResponseBody1), + ); +} +export function createDrainResponseBody1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateDrainResponseBody1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateDrainResponseBody1' from JSON`, + ); +} + +/** @internal */ +export const CreateDrainResponseBody$inboundSchema: z.ZodType< + CreateDrainResponseBody, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => CreateDrainResponseBody1$inboundSchema), + z.lazy(() => CreateDrainResponseBody2$inboundSchema), +]); +/** @internal */ +export type CreateDrainResponseBody$Outbound = + | CreateDrainResponseBody1$Outbound + | CreateDrainResponseBody2$Outbound; + +/** @internal */ +export const CreateDrainResponseBody$outboundSchema: z.ZodType< + CreateDrainResponseBody$Outbound, + z.ZodTypeDef, + CreateDrainResponseBody +> = z.union([ + z.lazy(() => CreateDrainResponseBody1$outboundSchema), + z.lazy(() => CreateDrainResponseBody2$outboundSchema), +]); + +export function createDrainResponseBodyToJSON( + createDrainResponseBody: CreateDrainResponseBody, +): string { + return JSON.stringify( + CreateDrainResponseBody$outboundSchema.parse(createDrainResponseBody), + ); +} +export function createDrainResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateDrainResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateDrainResponseBody' from JSON`, + ); +} diff --git a/src/models/createedgeconfigop.ts b/src/models/createedgeconfigop.ts index 9ff830994..10f6d14fe 100644 --- a/src/models/createedgeconfigop.ts +++ b/src/models/createedgeconfigop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; @@ -98,7 +98,6 @@ export const CreateEdgeConfigRequestBody$inboundSchema: z.ZodType< slug: z.string(), items: z.record(z.any()).optional(), }); - /** @internal */ export type CreateEdgeConfigRequestBody$Outbound = { slug: string; @@ -115,19 +114,6 @@ export const CreateEdgeConfigRequestBody$outboundSchema: z.ZodType< items: z.record(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 { @@ -137,7 +123,6 @@ export function createEdgeConfigRequestBodyToJSON( ), ); } - export function createEdgeConfigRequestBodyFromJSON( jsonString: string, ): SafeParseResult { @@ -162,7 +147,6 @@ export const CreateEdgeConfigRequest$inboundSchema: z.ZodType< "RequestBody": "requestBody", }); }); - /** @internal */ export type CreateEdgeConfigRequest$Outbound = { teamId?: string | undefined; @@ -185,19 +169,6 @@ export const CreateEdgeConfigRequest$outboundSchema: z.ZodType< }); }); -/** - * @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 { @@ -205,7 +176,6 @@ export function createEdgeConfigRequestToJSON( CreateEdgeConfigRequest$outboundSchema.parse(createEdgeConfigRequest), ); } - export function createEdgeConfigRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -226,7 +196,6 @@ export const CreateEdgeConfigTransfer$inboundSchema: z.ZodType< startedAt: z.number(), doneAt: z.nullable(z.number()), }); - /** @internal */ export type CreateEdgeConfigTransfer$Outbound = { fromAccountId: string; @@ -245,19 +214,6 @@ export const CreateEdgeConfigTransfer$outboundSchema: z.ZodType< 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 { @@ -265,7 +221,6 @@ export function createEdgeConfigTransferToJSON( CreateEdgeConfigTransfer$outboundSchema.parse(createEdgeConfigTransfer), ); } - export function createEdgeConfigTransferFromJSON( jsonString: string, ): SafeParseResult { @@ -282,7 +237,6 @@ export const CreateEdgeConfigSchema$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({}); - /** @internal */ export type CreateEdgeConfigSchema$Outbound = {}; @@ -293,19 +247,6 @@ export const CreateEdgeConfigSchema$outboundSchema: z.ZodType< 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 { @@ -313,7 +254,6 @@ export function createEdgeConfigSchemaToJSON( CreateEdgeConfigSchema$outboundSchema.parse(createEdgeConfigSchema), ); } - export function createEdgeConfigSchemaFromJSON( jsonString: string, ): SafeParseResult { @@ -328,23 +268,11 @@ export function createEdgeConfigSchemaFromJSON( export const CreateEdgeConfigPurposeType$inboundSchema: z.ZodNativeEnum< typeof CreateEdgeConfigPurposeType > = z.nativeEnum(CreateEdgeConfigPurposeType); - /** @internal */ export const CreateEdgeConfigPurposeType$outboundSchema: z.ZodNativeEnum< typeof CreateEdgeConfigPurposeType > = CreateEdgeConfigPurposeType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateEdgeConfigPurposeType$ { - /** @deprecated use `CreateEdgeConfigPurposeType$inboundSchema` instead. */ - export const inboundSchema = CreateEdgeConfigPurposeType$inboundSchema; - /** @deprecated use `CreateEdgeConfigPurposeType$outboundSchema` instead. */ - export const outboundSchema = CreateEdgeConfigPurposeType$outboundSchema; -} - /** @internal */ export const Purpose2$inboundSchema: z.ZodType< Purpose2, @@ -354,7 +282,6 @@ export const Purpose2$inboundSchema: z.ZodType< type: CreateEdgeConfigPurposeType$inboundSchema, resourceId: z.string(), }); - /** @internal */ export type Purpose2$Outbound = { type: string; @@ -371,23 +298,9 @@ export const Purpose2$outboundSchema: z.ZodType< 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 Purpose2$ { - /** @deprecated use `Purpose2$inboundSchema` instead. */ - export const inboundSchema = Purpose2$inboundSchema; - /** @deprecated use `Purpose2$outboundSchema` instead. */ - export const outboundSchema = Purpose2$outboundSchema; - /** @deprecated use `Purpose2$Outbound` instead. */ - export type Outbound = Purpose2$Outbound; -} - export function purpose2ToJSON(purpose2: Purpose2): string { return JSON.stringify(Purpose2$outboundSchema.parse(purpose2)); } - export function purpose2FromJSON( jsonString: string, ): SafeParseResult { @@ -401,22 +314,10 @@ export function purpose2FromJSON( /** @internal */ export const PurposeType$inboundSchema: z.ZodNativeEnum = z .nativeEnum(PurposeType); - /** @internal */ export const PurposeType$outboundSchema: z.ZodNativeEnum = PurposeType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PurposeType$ { - /** @deprecated use `PurposeType$inboundSchema` instead. */ - export const inboundSchema = PurposeType$inboundSchema; - /** @deprecated use `PurposeType$outboundSchema` instead. */ - export const outboundSchema = PurposeType$outboundSchema; -} - /** @internal */ export const Purpose1$inboundSchema: z.ZodType< Purpose1, @@ -426,7 +327,6 @@ export const Purpose1$inboundSchema: z.ZodType< type: PurposeType$inboundSchema, projectId: z.string(), }); - /** @internal */ export type Purpose1$Outbound = { type: string; @@ -443,23 +343,9 @@ export const Purpose1$outboundSchema: z.ZodType< 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 Purpose1$ { - /** @deprecated use `Purpose1$inboundSchema` instead. */ - export const inboundSchema = Purpose1$inboundSchema; - /** @deprecated use `Purpose1$outboundSchema` instead. */ - export const outboundSchema = Purpose1$outboundSchema; - /** @deprecated use `Purpose1$Outbound` instead. */ - export type Outbound = Purpose1$Outbound; -} - export function purpose1ToJSON(purpose1: Purpose1): string { return JSON.stringify(Purpose1$outboundSchema.parse(purpose1)); } - export function purpose1FromJSON( jsonString: string, ): SafeParseResult { @@ -479,7 +365,6 @@ export const CreateEdgeConfigPurpose$inboundSchema: z.ZodType< z.lazy(() => Purpose1$inboundSchema), z.lazy(() => Purpose2$inboundSchema), ]); - /** @internal */ export type CreateEdgeConfigPurpose$Outbound = | Purpose1$Outbound @@ -495,19 +380,6 @@ export const CreateEdgeConfigPurpose$outboundSchema: z.ZodType< z.lazy(() => Purpose2$outboundSchema), ]); -/** - * @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 { @@ -515,7 +387,6 @@ export function createEdgeConfigPurposeToJSON( CreateEdgeConfigPurpose$outboundSchema.parse(createEdgeConfigPurpose), ); } - export function createEdgeConfigPurposeFromJSON( jsonString: string, ): SafeParseResult { @@ -549,7 +420,6 @@ export const CreateEdgeConfigResponseBody$inboundSchema: z.ZodType< sizeInBytes: z.number(), itemCount: z.number(), }); - /** @internal */ export type CreateEdgeConfigResponseBody$Outbound = { createdAt: number; @@ -591,19 +461,6 @@ export const CreateEdgeConfigResponseBody$outboundSchema: z.ZodType< 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 { @@ -613,7 +470,6 @@ export function createEdgeConfigResponseBodyToJSON( ), ); } - export function createEdgeConfigResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/createedgeconfigtokenop.ts b/src/models/createedgeconfigtokenop.ts index 5fb6e8730..06278219e 100644 --- a/src/models/createedgeconfigtokenop.ts +++ b/src/models/createedgeconfigtokenop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; @@ -38,7 +38,6 @@ export const CreateEdgeConfigTokenRequestBody$inboundSchema: z.ZodType< > = z.object({ label: z.string(), }); - /** @internal */ export type CreateEdgeConfigTokenRequestBody$Outbound = { label: string; @@ -53,19 +52,6 @@ export const CreateEdgeConfigTokenRequestBody$outboundSchema: z.ZodType< 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 { @@ -75,7 +61,6 @@ export function createEdgeConfigTokenRequestBodyToJSON( ), ); } - export function createEdgeConfigTokenRequestBodyFromJSON( jsonString: string, ): SafeParseResult { @@ -101,7 +86,6 @@ export const CreateEdgeConfigTokenRequest$inboundSchema: z.ZodType< "RequestBody": "requestBody", }); }); - /** @internal */ export type CreateEdgeConfigTokenRequest$Outbound = { edgeConfigId: string; @@ -126,19 +110,6 @@ export const CreateEdgeConfigTokenRequest$outboundSchema: z.ZodType< }); }); -/** - * @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 { @@ -148,7 +119,6 @@ export function createEdgeConfigTokenRequestToJSON( ), ); } - export function createEdgeConfigTokenRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -168,7 +138,6 @@ export const CreateEdgeConfigTokenResponseBody$inboundSchema: z.ZodType< token: z.string(), id: z.string(), }); - /** @internal */ export type CreateEdgeConfigTokenResponseBody$Outbound = { token: string; @@ -185,20 +154,6 @@ export const CreateEdgeConfigTokenResponseBody$outboundSchema: z.ZodType< 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 { @@ -208,7 +163,6 @@ export function createEdgeConfigTokenResponseBodyToJSON( ), ); } - export function createEdgeConfigTokenResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/createeventop.ts b/src/models/createeventop.ts index 58fe5083b..dc26f2558 100644 --- a/src/models/createeventop.ts +++ b/src/models/createeventop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; @@ -19,7 +19,7 @@ export type Event2 = { /** * Partner-provided product slug or id */ - productId: string; + productId?: string | undefined; /** * Partner provided resource ID */ @@ -54,35 +54,22 @@ export type CreateEventRequest = { 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(), + productId: z.string().optional(), resourceId: z.string(), }); - /** @internal */ export type Event2$Outbound = { type: string; - productId: string; + productId?: string | undefined; resourceId: string; }; @@ -93,27 +80,13 @@ export const Event2$outboundSchema: z.ZodType< Event2 > = z.object({ type: CreateEventEventType$outboundSchema, - productId: z.string(), + productId: z.string().optional(), 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 { @@ -127,29 +100,16 @@ export function event2FromJSON( /** @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; @@ -166,23 +126,9 @@ export const Event1$outboundSchema: z.ZodType< 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 { @@ -202,7 +148,6 @@ export const CreateEventEvent$inboundSchema: z.ZodType< z.lazy(() => Event2$inboundSchema), z.lazy(() => Event1$inboundSchema), ]); - /** @internal */ export type CreateEventEvent$Outbound = Event2$Outbound | Event1$Outbound; @@ -216,19 +161,6 @@ export const CreateEventEvent$outboundSchema: z.ZodType< z.lazy(() => Event1$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 { @@ -236,7 +168,6 @@ export function createEventEventToJSON( CreateEventEvent$outboundSchema.parse(createEventEvent), ); } - export function createEventEventFromJSON( jsonString: string, ): SafeParseResult { @@ -258,7 +189,6 @@ export const CreateEventRequestBody$inboundSchema: z.ZodType< z.lazy(() => Event1$inboundSchema), ]), }); - /** @internal */ export type CreateEventRequestBody$Outbound = { event: Event2$Outbound | Event1$Outbound; @@ -276,19 +206,6 @@ export const CreateEventRequestBody$outboundSchema: z.ZodType< ]), }); -/** - * @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 { @@ -296,7 +213,6 @@ export function createEventRequestBodyToJSON( CreateEventRequestBody$outboundSchema.parse(createEventRequestBody), ); } - export function createEventRequestBodyFromJSON( jsonString: string, ): SafeParseResult { @@ -320,7 +236,6 @@ export const CreateEventRequest$inboundSchema: z.ZodType< "RequestBody": "requestBody", }); }); - /** @internal */ export type CreateEventRequest$Outbound = { integrationConfigurationId: string; @@ -341,19 +256,6 @@ export const CreateEventRequest$outboundSchema: z.ZodType< }); }); -/** - * @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 { @@ -361,7 +263,6 @@ export function createEventRequestToJSON( CreateEventRequest$outboundSchema.parse(createEventRequest), ); } - export function createEventRequestFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/createintegrationstoredirectop.ts b/src/models/createintegrationstoredirectop.ts index 211e64c73..fba47295d 100644 --- a/src/models/createintegrationstoredirectop.ts +++ b/src/models/createintegrationstoredirectop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; @@ -113,10 +113,12 @@ export const CreateIntegrationStoreDirectFramework = { Zola: "zola", Hydrogen: "hydrogen", Vite: "vite", + TanstackStart: "tanstack-start", Vitepress: "vitepress", Vuepress: "vuepress", Parcel: "parcel", Fastapi: "fastapi", + Flask: "flask", Fasthtml: "fasthtml", SanityV3: "sanity-v3", Sanity: "sanity", @@ -125,6 +127,9 @@ export const CreateIntegrationStoreDirectFramework = { Hono: "hono", Express: "express", H3: "h3", + Nestjs: "nestjs", + Elysia: "elysia", + Fastify: "fastify", Xmcp: "xmcp", } as const; export type CreateIntegrationStoreDirectFramework = ClosedEnum< @@ -149,17 +154,17 @@ export type CreateIntegrationStoreDirectIntegrationsEnvironments = ClosedEnum< typeof CreateIntegrationStoreDirectIntegrationsEnvironments >; -export type Actions = { +export type CreateIntegrationStoreDirectActions = { slug: string; environments: Array; }; export type CreateIntegrationStoreDirectDeployments = { required: boolean; - actions: Array; + actions: Array; }; -export type ProjectsMetadata = { +export type CreateIntegrationStoreDirectProjectsMetadata = { id: string; projectId: string; name: string; @@ -171,6 +176,30 @@ export type ProjectsMetadata = { deployments?: CreateIntegrationStoreDirectDeployments | undefined; }; +export const Providers2 = { + Wildcard: "*", +} as const; +export type Providers2 = ClosedEnum; + +export const Providers1 = { + Github: "github", + Gitlab: "gitlab", + Bitbucket: "bitbucket", +} as const; +export type Providers1 = ClosedEnum; + +export type Providers = Array | Providers2; + +export type Git = { + providers: Array | Providers2; + owners?: Array | undefined; + repos?: Array | undefined; +}; + +export type ProjectFilter = { + git?: Git | undefined; +}; + export const CreateIntegrationStoreDirectStatus = { Available: "available", Error: "error", @@ -178,6 +207,7 @@ export const CreateIntegrationStoreDirectStatus = { LimitsExceededSuspended: "limits-exceeded-suspended", LimitsExceededSuspendedStoreCount: "limits-exceeded-suspended-store-count", Initializing: "initializing", + Onboarding: "onboarding", Uninstalled: "uninstalled", } as const; export type CreateIntegrationStoreDirectStatus = ClosedEnum< @@ -197,7 +227,9 @@ export type Capabilities = { mcp?: boolean | undefined; sso?: boolean | undefined; billable?: boolean | undefined; + transferable?: boolean | undefined; secretsSync?: boolean | undefined; + projects?: boolean | undefined; }; export type CreateIntegrationStoreDirectMetadata = @@ -210,6 +242,7 @@ export type CreateIntegrationStoreDirectMetadata = export const ExternalResourceStatus = { Error: "error", Suspended: "suspended", + Onboarding: "onboarding", Uninstalled: "uninstalled", Ready: "ready", Pending: "pending", @@ -221,9 +254,11 @@ export type CreateIntegrationStoreDirectCapabilities = { mcp?: boolean | undefined; sso?: boolean | undefined; billable?: boolean | undefined; + transferable?: boolean | undefined; secretsSync?: boolean | undefined; sandbox?: boolean | undefined; linking?: boolean | undefined; + projects?: boolean | undefined; }; export const CreateIntegrationStoreDirectIntegrationsType = { @@ -233,12 +268,12 @@ export type CreateIntegrationStoreDirectIntegrationsType = ClosedEnum< typeof CreateIntegrationStoreDirectIntegrationsType >; -export type CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema9AtBRANDAt8486 = +export type CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema9AtBRANDAt8795 = {}; export type CreateIntegrationStoreDirectPropertiesValue = { - atBRANDAt8486: - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema9AtBRANDAt8486; + atBRANDAt8795: + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema9AtBRANDAt8795; }; export const CreateIntegrationStoreDirectDisabled3 = { @@ -307,31 +342,31 @@ export type CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applica typeof CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiControl >; -export type CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductAtBRANDAt8486 = +export type CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductAtBRANDAt8795 = {}; export type CreateIntegrationStoreDirectPropertiesIntegrationsResponse200MaxLength = { - atBRANDAt8486: - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductAtBRANDAt8486; + atBRANDAt8795: + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductAtBRANDAt8795; }; -export type CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaAtBRANDAt8486 = +export type CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaAtBRANDAt8795 = {}; export type CreateIntegrationStoreDirectPropertiesIntegrationsResponse200MinLength = { - atBRANDAt8486: - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaAtBRANDAt8486; + atBRANDAt8795: + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaAtBRANDAt8795; }; -export type CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema8AtBRANDAt8486 = +export type CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema8AtBRANDAt8795 = {}; export type CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Pattern = { - atBRANDAt8486: - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema8AtBRANDAt8486; + atBRANDAt8795: + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema8AtBRANDAt8795; }; export const CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct3 = @@ -469,10 +504,10 @@ export type CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applica typeof CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreUiControl >; -export type CreateIntegrationStoreDirectUiOptionsAtBRANDAt8486 = {}; +export type CreateIntegrationStoreDirectUiOptionsAtBRANDAt8795 = {}; export type CreateIntegrationStoreDirectUiOptionsValue = { - atBRANDAt8486: CreateIntegrationStoreDirectUiOptionsAtBRANDAt8486; + atBRANDAt8795: CreateIntegrationStoreDirectUiOptionsAtBRANDAt8795; }; export const CreateIntegrationStoreDirectDisabledIntegrationsResponse2003 = { @@ -523,10 +558,10 @@ export type CreateIntegrationStoreDirectUiOptions3 = { | undefined; }; -export type UiOptionsAtBRANDAt8486 = {}; +export type UiOptionsAtBRANDAt8795 = {}; export type CreateIntegrationStoreDirectUiOptions2 = { - atBRANDAt8486: UiOptionsAtBRANDAt8486; + atBRANDAt8795: UiOptionsAtBRANDAt8795; }; export const CreateIntegrationStoreDirectDisabledIntegrationsResponse200ApplicationJson3 = @@ -589,31 +624,31 @@ export type CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiOptions | CreateIntegrationStoreDirectUiOptions2 | CreateIntegrationStoreDirectUiOptions3; -export type CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt8486 = +export type CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt8795 = {}; export type CreateIntegrationStoreDirectPropertiesIntegrationsResponseMaxLength = { - atBRANDAt8486: - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt8486; + atBRANDAt8795: + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt8795; }; -export type CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt8486 = +export type CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt8795 = {}; export type CreateIntegrationStoreDirectPropertiesIntegrationsResponseMinLength = { - atBRANDAt8486: - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt8486; + atBRANDAt8795: + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt8795; }; -export type CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreAtBRANDAt8486 = +export type CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreAtBRANDAt8795 = {}; export type CreateIntegrationStoreDirectPropertiesIntegrationsResponsePattern = { - atBRANDAt8486: - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreAtBRANDAt8486; + atBRANDAt8795: + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreAtBRANDAt8795; }; export const CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStore3 = @@ -756,31 +791,31 @@ export type CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applica typeof CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6Type >; -export type CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsAtBRANDAt8486 = +export type CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsAtBRANDAt8795 = {}; export type CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONMinLength = { - atBRANDAt8486: - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsAtBRANDAt8486; + atBRANDAt8795: + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsAtBRANDAt8795; }; -export type CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsMaxLengthAtBRANDAt8486 = +export type CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsMaxLengthAtBRANDAt8795 = {}; export type CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONMaxLength = { - atBRANDAt8486: - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsMaxLengthAtBRANDAt8486; + atBRANDAt8795: + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsMaxLengthAtBRANDAt8795; }; -export type CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6AtBRANDAt8486 = +export type CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6AtBRANDAt8795 = {}; export type CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONPattern = { - atBRANDAt8486: - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6AtBRANDAt8486; + atBRANDAt8795: + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6AtBRANDAt8795; }; export type CreateIntegrationStoreDirectPropertiesIntegrationsItems = { @@ -1035,28 +1070,28 @@ export type CreateIntegrationStoreDirectPropertiesUiOptions = { | undefined; }; -export type CreateIntegrationStoreDirectPropertiesIntegrationsAtBRANDAt8486 = +export type CreateIntegrationStoreDirectPropertiesIntegrationsAtBRANDAt8795 = {}; export type CreateIntegrationStoreDirectPropertiesIntegrationsMaxLength = { - atBRANDAt8486: - CreateIntegrationStoreDirectPropertiesIntegrationsAtBRANDAt8486; + atBRANDAt8795: + CreateIntegrationStoreDirectPropertiesIntegrationsAtBRANDAt8795; }; -export type CreateIntegrationStoreDirectPropertiesIntegrationsResponseAtBRANDAt8486 = +export type CreateIntegrationStoreDirectPropertiesIntegrationsResponseAtBRANDAt8795 = {}; export type CreateIntegrationStoreDirectPropertiesIntegrationsMinLength = { - atBRANDAt8486: - CreateIntegrationStoreDirectPropertiesIntegrationsResponseAtBRANDAt8486; + atBRANDAt8795: + CreateIntegrationStoreDirectPropertiesIntegrationsResponseAtBRANDAt8795; }; -export type CreateIntegrationStoreDirectPropertiesIntegrationsResponse200AtBRANDAt8486 = +export type CreateIntegrationStoreDirectPropertiesIntegrationsResponse200AtBRANDAt8795 = {}; export type CreateIntegrationStoreDirectPropertiesIntegrationsPattern = { - atBRANDAt8486: - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200AtBRANDAt8486; + atBRANDAt8795: + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200AtBRANDAt8795; }; export const CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJson3 = @@ -1559,24 +1594,24 @@ export type CreateIntegrationStoreDirectPropertiesUiControl = ClosedEnum< typeof CreateIntegrationStoreDirectPropertiesUiControl >; -export type CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema1AtBRANDAt8486 = +export type CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema1AtBRANDAt8795 = {}; export type CreateIntegrationStoreDirectPropertiesMaxLength = { - atBRANDAt8486: - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema1AtBRANDAt8486; + atBRANDAt8795: + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema1AtBRANDAt8795; }; -export type PropertiesAtBRANDAt8486 = {}; +export type PropertiesAtBRANDAt8795 = {}; export type CreateIntegrationStoreDirectPropertiesMinLength = { - atBRANDAt8486: PropertiesAtBRANDAt8486; + atBRANDAt8795: PropertiesAtBRANDAt8795; }; -export type CreateIntegrationStoreDirectPropertiesAtBRANDAt8486 = {}; +export type CreateIntegrationStoreDirectPropertiesAtBRANDAt8795 = {}; export type CreateIntegrationStoreDirectPropertiesPattern = { - atBRANDAt8486: CreateIntegrationStoreDirectPropertiesAtBRANDAt8486; + atBRANDAt8795: CreateIntegrationStoreDirectPropertiesAtBRANDAt8795; }; export const CreateIntegrationStoreDirectUiReadOnly3 = { @@ -1729,11 +1764,15 @@ export const CreateIntegrationStoreDirectTags = { Other: "other", Mysql: "mysql", Vector: "vector", + TagAgents: "tag_agents", TagAi: "tag_ai", TagAnalytics: "tag_analytics", TagAuthentication: "tag_authentication", TagCms: "tag_cms", TagCodeRepository: "tag_code_repository", + TagCodeReview: "tag_code_review", + TagCodeSecurity: "tag_code_security", + TagCodeTesting: "tag_code_testing", TagCommerce: "tag_commerce", TagDatabases: "tag_databases", TagDevTools: "tag_dev_tools", @@ -1748,8 +1787,10 @@ export const CreateIntegrationStoreDirectTags = { TagProductivity: "tag_productivity", TagSearching: "tag_searching", TagSecurity: "tag_security", + TagSupportAgent: "tag_support_agent", TagTesting: "tag_testing", TagVideo: "tag_video", + TagWebAutomation: "tag_web_automation", TagWorkflow: "tag_workflow", TagChecks: "tag_checks", TagStorage: "tag_storage", @@ -1789,19 +1830,20 @@ export type Repl = { export const CreateIntegrationStoreDirectIntegrationsResponseType = { ConnectToProject: "connect_to_project", ConfigureProjectConnections: "configure_project_connections", + AddDrain: "add_drain", } as const; export type CreateIntegrationStoreDirectIntegrationsResponseType = ClosedEnum< typeof CreateIntegrationStoreDirectIntegrationsResponseType >; -export type CreateIntegrationStoreDirectActions = { +export type CreateIntegrationStoreDirectIntegrationsActions = { type: CreateIntegrationStoreDirectIntegrationsResponseType; }; export type Steps = { title: string; content: string; - actions?: Array | undefined; + actions?: Array | undefined; }; export type Guides = { @@ -1810,10 +1852,10 @@ export type Guides = { steps: Array; }; -export type AtBRANDAt8486 = {}; +export type AtBRANDAt8795 = {}; export type CreateIntegrationStoreDirectValue = { - atBRANDAt8486: AtBRANDAt8486; + atBRANDAt8795: AtBRANDAt8795; }; export const Disabled3 = { @@ -1945,7 +1987,8 @@ export type CreateIntegrationStoreDirectBillingPlan = { }; export type CreateIntegrationStoreDirectStore = { - projectsMetadata: Array; + projectsMetadata: Array; + projectFilter?: ProjectFilter | undefined; totalConnectedProjects?: number | undefined; usageQuotaExceeded: boolean; status: CreateIntegrationStoreDirectStatus | null; @@ -1979,7 +2022,6 @@ export const Metadata$inboundSchema: z.ZodType< z.array(z.string()), z.array(z.number()), ]); - /** @internal */ export type Metadata$Outbound = | string @@ -2001,23 +2043,9 @@ export const Metadata$outboundSchema: z.ZodType< z.array(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 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 { @@ -2053,7 +2081,6 @@ export const CreateIntegrationStoreDirectRequestBody$inboundSchema: z.ZodType< paymentMethodId: z.string().optional(), prepaymentAmountCents: z.number().optional(), }); - /** @internal */ export type CreateIntegrationStoreDirectRequestBody$Outbound = { name: string; @@ -2096,21 +2123,6 @@ export const CreateIntegrationStoreDirectRequestBody$outboundSchema: z.ZodType< prepaymentAmountCents: 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 CreateIntegrationStoreDirectRequestBody$ { - /** @deprecated use `CreateIntegrationStoreDirectRequestBody$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectRequestBody$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectRequestBody$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectRequestBody$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectRequestBody$Outbound` instead. */ - export type Outbound = CreateIntegrationStoreDirectRequestBody$Outbound; -} - export function createIntegrationStoreDirectRequestBodyToJSON( createIntegrationStoreDirectRequestBody: CreateIntegrationStoreDirectRequestBody, @@ -2121,7 +2133,6 @@ export function createIntegrationStoreDirectRequestBodyToJSON( ), ); } - export function createIntegrationStoreDirectRequestBodyFromJSON( jsonString: string, ): SafeParseResult< @@ -2154,7 +2165,6 @@ export const CreateIntegrationStoreDirectRequest$inboundSchema: z.ZodType< "RequestBody": "requestBody", }); }); - /** @internal */ export type CreateIntegrationStoreDirectRequest$Outbound = { teamId?: string | undefined; @@ -2179,21 +2189,6 @@ export const CreateIntegrationStoreDirectRequest$outboundSchema: z.ZodType< }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectRequest$ { - /** @deprecated use `CreateIntegrationStoreDirectRequest$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectRequest$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectRequest$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectRequest$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectRequest$Outbound` instead. */ - export type Outbound = CreateIntegrationStoreDirectRequest$Outbound; -} - export function createIntegrationStoreDirectRequestToJSON( createIntegrationStoreDirectRequest: CreateIntegrationStoreDirectRequest, ): string { @@ -2203,7 +2198,6 @@ export function createIntegrationStoreDirectRequestToJSON( ), ); } - export function createIntegrationStoreDirectRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -2220,91 +2214,51 @@ export const CreateIntegrationStoreDirectFramework$inboundSchema: z.ZodNativeEnum = z.nativeEnum( CreateIntegrationStoreDirectFramework, ); - /** @internal */ export const CreateIntegrationStoreDirectFramework$outboundSchema: z.ZodNativeEnum = CreateIntegrationStoreDirectFramework$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectFramework$ { - /** @deprecated use `CreateIntegrationStoreDirectFramework$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectFramework$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectFramework$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectFramework$outboundSchema; -} - /** @internal */ export const CreateIntegrationStoreDirectEnvironments$inboundSchema: z.ZodNativeEnum = z .nativeEnum(CreateIntegrationStoreDirectEnvironments); - /** @internal */ export const CreateIntegrationStoreDirectEnvironments$outboundSchema: z.ZodNativeEnum = CreateIntegrationStoreDirectEnvironments$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectEnvironments$ { - /** @deprecated use `CreateIntegrationStoreDirectEnvironments$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectEnvironments$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectEnvironments$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectEnvironments$outboundSchema; -} - /** @internal */ export const CreateIntegrationStoreDirectIntegrationsEnvironments$inboundSchema: z.ZodNativeEnum = z.nativeEnum(CreateIntegrationStoreDirectIntegrationsEnvironments); - /** @internal */ export const CreateIntegrationStoreDirectIntegrationsEnvironments$outboundSchema: z.ZodNativeEnum = CreateIntegrationStoreDirectIntegrationsEnvironments$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectIntegrationsEnvironments$ { - /** @deprecated use `CreateIntegrationStoreDirectIntegrationsEnvironments$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectIntegrationsEnvironments$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectIntegrationsEnvironments$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectIntegrationsEnvironments$outboundSchema; -} - /** @internal */ -export const Actions$inboundSchema: z.ZodType = - z.object({ - slug: z.string(), - environments: z.array( - CreateIntegrationStoreDirectIntegrationsEnvironments$inboundSchema, - ), - }); - +export const CreateIntegrationStoreDirectActions$inboundSchema: z.ZodType< + CreateIntegrationStoreDirectActions, + z.ZodTypeDef, + unknown +> = z.object({ + slug: z.string(), + environments: z.array( + CreateIntegrationStoreDirectIntegrationsEnvironments$inboundSchema, + ), +}); /** @internal */ -export type Actions$Outbound = { +export type CreateIntegrationStoreDirectActions$Outbound = { slug: string; environments: Array; }; /** @internal */ -export const Actions$outboundSchema: z.ZodType< - Actions$Outbound, +export const CreateIntegrationStoreDirectActions$outboundSchema: z.ZodType< + CreateIntegrationStoreDirectActions$Outbound, z.ZodTypeDef, - Actions + CreateIntegrationStoreDirectActions > = z.object({ slug: z.string(), environments: z.array( @@ -2312,30 +2266,23 @@ export const Actions$outboundSchema: z.ZodType< ), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Actions$ { - /** @deprecated use `Actions$inboundSchema` instead. */ - export const inboundSchema = Actions$inboundSchema; - /** @deprecated use `Actions$outboundSchema` instead. */ - export const outboundSchema = Actions$outboundSchema; - /** @deprecated use `Actions$Outbound` instead. */ - export type Outbound = Actions$Outbound; -} - -export function actionsToJSON(actions: Actions): string { - return JSON.stringify(Actions$outboundSchema.parse(actions)); +export function createIntegrationStoreDirectActionsToJSON( + createIntegrationStoreDirectActions: CreateIntegrationStoreDirectActions, +): string { + return JSON.stringify( + CreateIntegrationStoreDirectActions$outboundSchema.parse( + createIntegrationStoreDirectActions, + ), + ); } - -export function actionsFromJSON( +export function createIntegrationStoreDirectActionsFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => Actions$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Actions' from JSON`, + (x) => + CreateIntegrationStoreDirectActions$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateIntegrationStoreDirectActions' from JSON`, ); } @@ -2346,13 +2293,14 @@ export const CreateIntegrationStoreDirectDeployments$inboundSchema: z.ZodType< unknown > = z.object({ required: z.boolean(), - actions: z.array(z.lazy(() => Actions$inboundSchema)), + actions: z.array( + z.lazy(() => CreateIntegrationStoreDirectActions$inboundSchema), + ), }); - /** @internal */ export type CreateIntegrationStoreDirectDeployments$Outbound = { required: boolean; - actions: Array; + actions: Array; }; /** @internal */ @@ -2362,24 +2310,11 @@ export const CreateIntegrationStoreDirectDeployments$outboundSchema: z.ZodType< CreateIntegrationStoreDirectDeployments > = z.object({ required: z.boolean(), - actions: z.array(z.lazy(() => Actions$outboundSchema)), + actions: z.array( + z.lazy(() => CreateIntegrationStoreDirectActions$outboundSchema), + ), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectDeployments$ { - /** @deprecated use `CreateIntegrationStoreDirectDeployments$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectDeployments$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectDeployments$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectDeployments$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectDeployments$Outbound` instead. */ - export type Outbound = CreateIntegrationStoreDirectDeployments$Outbound; -} - export function createIntegrationStoreDirectDeploymentsToJSON( createIntegrationStoreDirectDeployments: CreateIntegrationStoreDirectDeployments, @@ -2390,7 +2325,6 @@ export function createIntegrationStoreDirectDeploymentsToJSON( ), ); } - export function createIntegrationStoreDirectDeploymentsFromJSON( jsonString: string, ): SafeParseResult< @@ -2408,27 +2342,29 @@ export function createIntegrationStoreDirectDeploymentsFromJSON( } /** @internal */ -export const ProjectsMetadata$inboundSchema: z.ZodType< - ProjectsMetadata, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - projectId: z.string(), - name: z.string(), - framework: z.nullable(CreateIntegrationStoreDirectFramework$inboundSchema) - .optional(), - latestDeployment: z.string().optional(), - environments: z.array(CreateIntegrationStoreDirectEnvironments$inboundSchema), - envVarPrefix: z.nullable(z.string()), - environmentVariables: z.array(z.string()), - deployments: z.lazy(() => - CreateIntegrationStoreDirectDeployments$inboundSchema - ).optional(), -}); - +export const CreateIntegrationStoreDirectProjectsMetadata$inboundSchema: + z.ZodType< + CreateIntegrationStoreDirectProjectsMetadata, + z.ZodTypeDef, + unknown + > = z.object({ + id: z.string(), + projectId: z.string(), + name: z.string(), + framework: z.nullable(CreateIntegrationStoreDirectFramework$inboundSchema) + .optional(), + latestDeployment: z.string().optional(), + environments: z.array( + CreateIntegrationStoreDirectEnvironments$inboundSchema, + ), + envVarPrefix: z.nullable(z.string()), + environmentVariables: z.array(z.string()), + deployments: z.lazy(() => + CreateIntegrationStoreDirectDeployments$inboundSchema + ).optional(), + }); /** @internal */ -export type ProjectsMetadata$Outbound = { +export type CreateIntegrationStoreDirectProjectsMetadata$Outbound = { id: string; projectId: string; name: string; @@ -2441,55 +2377,170 @@ export type ProjectsMetadata$Outbound = { }; /** @internal */ -export const ProjectsMetadata$outboundSchema: z.ZodType< - ProjectsMetadata$Outbound, +export const CreateIntegrationStoreDirectProjectsMetadata$outboundSchema: + z.ZodType< + CreateIntegrationStoreDirectProjectsMetadata$Outbound, + z.ZodTypeDef, + CreateIntegrationStoreDirectProjectsMetadata + > = z.object({ + id: z.string(), + projectId: z.string(), + name: z.string(), + framework: z.nullable(CreateIntegrationStoreDirectFramework$outboundSchema) + .optional(), + latestDeployment: z.string().optional(), + environments: z.array( + CreateIntegrationStoreDirectEnvironments$outboundSchema, + ), + envVarPrefix: z.nullable(z.string()), + environmentVariables: z.array(z.string()), + deployments: z.lazy(() => + CreateIntegrationStoreDirectDeployments$outboundSchema + ).optional(), + }); + +export function createIntegrationStoreDirectProjectsMetadataToJSON( + createIntegrationStoreDirectProjectsMetadata: + CreateIntegrationStoreDirectProjectsMetadata, +): string { + return JSON.stringify( + CreateIntegrationStoreDirectProjectsMetadata$outboundSchema.parse( + createIntegrationStoreDirectProjectsMetadata, + ), + ); +} +export function createIntegrationStoreDirectProjectsMetadataFromJSON( + jsonString: string, +): SafeParseResult< + CreateIntegrationStoreDirectProjectsMetadata, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + CreateIntegrationStoreDirectProjectsMetadata$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'CreateIntegrationStoreDirectProjectsMetadata' from JSON`, + ); +} + +/** @internal */ +export const Providers2$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(Providers2); +/** @internal */ +export const Providers2$outboundSchema: z.ZodNativeEnum = + Providers2$inboundSchema; + +/** @internal */ +export const Providers1$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(Providers1); +/** @internal */ +export const Providers1$outboundSchema: z.ZodNativeEnum = + Providers1$inboundSchema; + +/** @internal */ +export const Providers$inboundSchema: z.ZodType< + Providers, z.ZodTypeDef, - ProjectsMetadata -> = z.object({ - id: z.string(), - projectId: z.string(), - name: z.string(), - framework: z.nullable(CreateIntegrationStoreDirectFramework$outboundSchema) - .optional(), - latestDeployment: z.string().optional(), - environments: z.array( - CreateIntegrationStoreDirectEnvironments$outboundSchema, - ), - envVarPrefix: z.nullable(z.string()), - environmentVariables: z.array(z.string()), - deployments: z.lazy(() => - CreateIntegrationStoreDirectDeployments$outboundSchema - ).optional(), -}); + unknown +> = z.union([z.array(Providers1$inboundSchema), Providers2$inboundSchema]); +/** @internal */ +export type Providers$Outbound = Array | string; -/** - * @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; +/** @internal */ +export const Providers$outboundSchema: z.ZodType< + Providers$Outbound, + z.ZodTypeDef, + Providers +> = z.union([z.array(Providers1$outboundSchema), Providers2$outboundSchema]); + +export function providersToJSON(providers: Providers): string { + return JSON.stringify(Providers$outboundSchema.parse(providers)); +} +export function providersFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Providers$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Providers' from JSON`, + ); } -export function projectsMetadataToJSON( - projectsMetadata: ProjectsMetadata, -): string { - return JSON.stringify( - ProjectsMetadata$outboundSchema.parse(projectsMetadata), +/** @internal */ +export const Git$inboundSchema: z.ZodType = z + .object({ + providers: z.union([ + z.array(Providers1$inboundSchema), + Providers2$inboundSchema, + ]), + owners: z.array(z.string()).optional(), + repos: z.array(z.string()).optional(), + }); +/** @internal */ +export type Git$Outbound = { + providers: Array | string; + owners?: Array | undefined; + repos?: Array | undefined; +}; + +/** @internal */ +export const Git$outboundSchema: z.ZodType = z + .object({ + providers: z.union([ + z.array(Providers1$outboundSchema), + Providers2$outboundSchema, + ]), + owners: z.array(z.string()).optional(), + repos: z.array(z.string()).optional(), + }); + +export function gitToJSON(git: Git): string { + return JSON.stringify(Git$outboundSchema.parse(git)); +} +export function gitFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Git$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Git' from JSON`, ); } -export function projectsMetadataFromJSON( +/** @internal */ +export const ProjectFilter$inboundSchema: z.ZodType< + ProjectFilter, + z.ZodTypeDef, + unknown +> = z.object({ + git: z.lazy(() => Git$inboundSchema).optional(), +}); +/** @internal */ +export type ProjectFilter$Outbound = { + git?: Git$Outbound | undefined; +}; + +/** @internal */ +export const ProjectFilter$outboundSchema: z.ZodType< + ProjectFilter$Outbound, + z.ZodTypeDef, + ProjectFilter +> = z.object({ + git: z.lazy(() => Git$outboundSchema).optional(), +}); + +export function projectFilterToJSON(projectFilter: ProjectFilter): string { + return JSON.stringify(ProjectFilter$outboundSchema.parse(projectFilter)); +} +export function projectFilterFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => ProjectsMetadata$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ProjectsMetadata' from JSON`, + (x) => ProjectFilter$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ProjectFilter' from JSON`, ); } @@ -2497,48 +2548,21 @@ export function projectsMetadataFromJSON( export const CreateIntegrationStoreDirectStatus$inboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectStatus > = z.nativeEnum(CreateIntegrationStoreDirectStatus); - /** @internal */ export const CreateIntegrationStoreDirectStatus$outboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectStatus > = CreateIntegrationStoreDirectStatus$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectStatus$ { - /** @deprecated use `CreateIntegrationStoreDirectStatus$inboundSchema` instead. */ - export const inboundSchema = CreateIntegrationStoreDirectStatus$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectStatus$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectStatus$outboundSchema; -} - /** @internal */ export const CreateIntegrationStoreDirectOwnership$inboundSchema: z.ZodNativeEnum = z.nativeEnum( CreateIntegrationStoreDirectOwnership, ); - /** @internal */ export const CreateIntegrationStoreDirectOwnership$outboundSchema: z.ZodNativeEnum = CreateIntegrationStoreDirectOwnership$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectOwnership$ { - /** @deprecated use `CreateIntegrationStoreDirectOwnership$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectOwnership$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectOwnership$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectOwnership$outboundSchema; -} - /** @internal */ export const Capabilities$inboundSchema: z.ZodType< Capabilities, @@ -2548,15 +2572,18 @@ export const Capabilities$inboundSchema: z.ZodType< mcp: z.boolean().optional(), sso: z.boolean().optional(), billable: z.boolean().optional(), + transferable: z.boolean().optional(), secretsSync: z.boolean().optional(), + projects: z.boolean().optional(), }); - /** @internal */ export type Capabilities$Outbound = { mcp?: boolean | undefined; sso?: boolean | undefined; billable?: boolean | undefined; + transferable?: boolean | undefined; secretsSync?: boolean | undefined; + projects?: boolean | undefined; }; /** @internal */ @@ -2568,26 +2595,14 @@ export const Capabilities$outboundSchema: z.ZodType< mcp: z.boolean().optional(), sso: z.boolean().optional(), billable: z.boolean().optional(), + transferable: z.boolean().optional(), secretsSync: z.boolean().optional(), + projects: 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 Capabilities$ { - /** @deprecated use `Capabilities$inboundSchema` instead. */ - export const inboundSchema = Capabilities$inboundSchema; - /** @deprecated use `Capabilities$outboundSchema` instead. */ - export const outboundSchema = Capabilities$outboundSchema; - /** @deprecated use `Capabilities$Outbound` instead. */ - export type Outbound = Capabilities$Outbound; -} - export function capabilitiesToJSON(capabilities: Capabilities): string { return JSON.stringify(Capabilities$outboundSchema.parse(capabilities)); } - export function capabilitiesFromJSON( jsonString: string, ): SafeParseResult { @@ -2610,7 +2625,6 @@ export const CreateIntegrationStoreDirectMetadata$inboundSchema: z.ZodType< z.array(z.string()), z.array(z.number()), ]); - /** @internal */ export type CreateIntegrationStoreDirectMetadata$Outbound = | string @@ -2632,21 +2646,6 @@ export const CreateIntegrationStoreDirectMetadata$outboundSchema: z.ZodType< z.array(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 CreateIntegrationStoreDirectMetadata$ { - /** @deprecated use `CreateIntegrationStoreDirectMetadata$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectMetadata$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectMetadata$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectMetadata$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectMetadata$Outbound` instead. */ - export type Outbound = CreateIntegrationStoreDirectMetadata$Outbound; -} - export function createIntegrationStoreDirectMetadataToJSON( createIntegrationStoreDirectMetadata: CreateIntegrationStoreDirectMetadata, ): string { @@ -2656,7 +2655,6 @@ export function createIntegrationStoreDirectMetadataToJSON( ), ); } - export function createIntegrationStoreDirectMetadataFromJSON( jsonString: string, ): SafeParseResult { @@ -2672,23 +2670,11 @@ export function createIntegrationStoreDirectMetadataFromJSON( export const ExternalResourceStatus$inboundSchema: z.ZodNativeEnum< typeof ExternalResourceStatus > = z.nativeEnum(ExternalResourceStatus); - /** @internal */ export const ExternalResourceStatus$outboundSchema: z.ZodNativeEnum< typeof ExternalResourceStatus > = ExternalResourceStatus$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ExternalResourceStatus$ { - /** @deprecated use `ExternalResourceStatus$inboundSchema` instead. */ - export const inboundSchema = ExternalResourceStatus$inboundSchema; - /** @deprecated use `ExternalResourceStatus$outboundSchema` instead. */ - export const outboundSchema = ExternalResourceStatus$outboundSchema; -} - /** @internal */ export const CreateIntegrationStoreDirectCapabilities$inboundSchema: z.ZodType< CreateIntegrationStoreDirectCapabilities, @@ -2698,19 +2684,22 @@ export const CreateIntegrationStoreDirectCapabilities$inboundSchema: z.ZodType< mcp: z.boolean().optional(), sso: z.boolean().optional(), billable: z.boolean().optional(), + transferable: z.boolean().optional(), secretsSync: z.boolean().optional(), sandbox: z.boolean().optional(), linking: z.boolean().optional(), + projects: z.boolean().optional(), }); - /** @internal */ export type CreateIntegrationStoreDirectCapabilities$Outbound = { mcp?: boolean | undefined; sso?: boolean | undefined; billable?: boolean | undefined; + transferable?: boolean | undefined; secretsSync?: boolean | undefined; sandbox?: boolean | undefined; linking?: boolean | undefined; + projects?: boolean | undefined; }; /** @internal */ @@ -2722,26 +2711,13 @@ export const CreateIntegrationStoreDirectCapabilities$outboundSchema: z.ZodType< mcp: z.boolean().optional(), sso: z.boolean().optional(), billable: z.boolean().optional(), + transferable: z.boolean().optional(), secretsSync: z.boolean().optional(), sandbox: z.boolean().optional(), linking: z.boolean().optional(), + projects: 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 CreateIntegrationStoreDirectCapabilities$ { - /** @deprecated use `CreateIntegrationStoreDirectCapabilities$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectCapabilities$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectCapabilities$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectCapabilities$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectCapabilities$Outbound` instead. */ - export type Outbound = CreateIntegrationStoreDirectCapabilities$Outbound; -} - export function createIntegrationStoreDirectCapabilitiesToJSON( createIntegrationStoreDirectCapabilities: CreateIntegrationStoreDirectCapabilities, @@ -2752,7 +2728,6 @@ export function createIntegrationStoreDirectCapabilitiesToJSON( ), ); } - export function createIntegrationStoreDirectCapabilitiesFromJSON( jsonString: string, ): SafeParseResult< @@ -2773,85 +2748,53 @@ export function createIntegrationStoreDirectCapabilitiesFromJSON( export const CreateIntegrationStoreDirectIntegrationsType$inboundSchema: z.ZodNativeEnum = z .nativeEnum(CreateIntegrationStoreDirectIntegrationsType); - /** @internal */ export const CreateIntegrationStoreDirectIntegrationsType$outboundSchema: z.ZodNativeEnum = CreateIntegrationStoreDirectIntegrationsType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectIntegrationsType$ { - /** @deprecated use `CreateIntegrationStoreDirectIntegrationsType$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectIntegrationsType$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectIntegrationsType$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectIntegrationsType$outboundSchema; -} - /** @internal */ -export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema9AtBRANDAt8486$inboundSchema: +export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema9AtBRANDAt8795$inboundSchema: z.ZodType< - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema9AtBRANDAt8486, + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema9AtBRANDAt8795, z.ZodTypeDef, unknown > = z.object({}); - /** @internal */ -export type CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema9AtBRANDAt8486$Outbound = +export type CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema9AtBRANDAt8795$Outbound = {}; /** @internal */ -export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema9AtBRANDAt8486$outboundSchema: +export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema9AtBRANDAt8795$outboundSchema: z.ZodType< - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema9AtBRANDAt8486$Outbound, + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema9AtBRANDAt8795$Outbound, z.ZodTypeDef, - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema9AtBRANDAt8486 + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema9AtBRANDAt8795 > = 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 CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema9AtBRANDAt8486$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema9AtBRANDAt8486$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema9AtBRANDAt8486$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema9AtBRANDAt8486$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema9AtBRANDAt8486$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema9AtBRANDAt8486$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema9AtBRANDAt8486$Outbound; -} - -export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema9AtBRANDAt8486ToJSON( - createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema9AtBRANDAt8486: - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema9AtBRANDAt8486, +export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema9AtBRANDAt8795ToJSON( + createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema9AtBRANDAt8795: + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema9AtBRANDAt8795, ): string { return JSON.stringify( - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema9AtBRANDAt8486$outboundSchema + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema9AtBRANDAt8795$outboundSchema .parse( - createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema9AtBRANDAt8486, + createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema9AtBRANDAt8795, ), ); } - -export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema9AtBRANDAt8486FromJSON( +export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema9AtBRANDAt8795FromJSON( jsonString: string, ): SafeParseResult< - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema9AtBRANDAt8486, + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema9AtBRANDAt8795, SDKValidationError > { return safeParse( jsonString, (x) => - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema9AtBRANDAt8486$inboundSchema + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema9AtBRANDAt8795$inboundSchema .parse(JSON.parse(x)), - `Failed to parse 'CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema9AtBRANDAt8486' from JSON`, + `Failed to parse 'CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema9AtBRANDAt8795' from JSON`, ); } @@ -2862,19 +2805,18 @@ export const CreateIntegrationStoreDirectPropertiesValue$inboundSchema: z.ZodTypeDef, unknown > = z.object({ - "__@BRAND@8486": z.lazy(() => - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema9AtBRANDAt8486$inboundSchema + "__@BRAND@8795": z.lazy(() => + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema9AtBRANDAt8795$inboundSchema ), }).transform((v) => { return remap$(v, { - "__@BRAND@8486": "atBRANDAt8486", + "__@BRAND@8795": "atBRANDAt8795", }); }); - /** @internal */ export type CreateIntegrationStoreDirectPropertiesValue$Outbound = { - "__@BRAND@8486": - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema9AtBRANDAt8486$Outbound; + "__@BRAND@8795": + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema9AtBRANDAt8795$Outbound; }; /** @internal */ @@ -2884,30 +2826,15 @@ export const CreateIntegrationStoreDirectPropertiesValue$outboundSchema: z.ZodTypeDef, CreateIntegrationStoreDirectPropertiesValue > = z.object({ - atBRANDAt8486: z.lazy(() => - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema9AtBRANDAt8486$outboundSchema + atBRANDAt8795: z.lazy(() => + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema9AtBRANDAt8795$outboundSchema ), }).transform((v) => { return remap$(v, { - atBRANDAt8486: "__@BRAND@8486", + atBRANDAt8795: "__@BRAND@8795", }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectPropertiesValue$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesValue$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesValue$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesValue$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesValue$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesValue$Outbound` instead. */ - export type Outbound = CreateIntegrationStoreDirectPropertiesValue$Outbound; -} - export function createIntegrationStoreDirectPropertiesValueToJSON( createIntegrationStoreDirectPropertiesValue: CreateIntegrationStoreDirectPropertiesValue, @@ -2918,7 +2845,6 @@ export function createIntegrationStoreDirectPropertiesValueToJSON( ), ); } - export function createIntegrationStoreDirectPropertiesValueFromJSON( jsonString: string, ): SafeParseResult< @@ -2940,25 +2866,11 @@ export const CreateIntegrationStoreDirectDisabled3$inboundSchema: z.ZodNativeEnum = z.nativeEnum( CreateIntegrationStoreDirectDisabled3, ); - /** @internal */ export const CreateIntegrationStoreDirectDisabled3$outboundSchema: z.ZodNativeEnum = CreateIntegrationStoreDirectDisabled3$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectDisabled3$ { - /** @deprecated use `CreateIntegrationStoreDirectDisabled3$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectDisabled3$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectDisabled3$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectDisabled3$outboundSchema; -} - /** @internal */ export const CreateIntegrationStoreDirectDisabled2$inboundSchema: z.ZodType< CreateIntegrationStoreDirectDisabled2, @@ -2967,7 +2879,6 @@ export const CreateIntegrationStoreDirectDisabled2$inboundSchema: z.ZodType< > = z.object({ expr: z.string(), }); - /** @internal */ export type CreateIntegrationStoreDirectDisabled2$Outbound = { expr: string; @@ -2982,21 +2893,6 @@ export const CreateIntegrationStoreDirectDisabled2$outboundSchema: z.ZodType< expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectDisabled2$ { - /** @deprecated use `CreateIntegrationStoreDirectDisabled2$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectDisabled2$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectDisabled2$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectDisabled2$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectDisabled2$Outbound` instead. */ - export type Outbound = CreateIntegrationStoreDirectDisabled2$Outbound; -} - export function createIntegrationStoreDirectDisabled2ToJSON( createIntegrationStoreDirectDisabled2: CreateIntegrationStoreDirectDisabled2, ): string { @@ -3006,7 +2902,6 @@ export function createIntegrationStoreDirectDisabled2ToJSON( ), ); } - export function createIntegrationStoreDirectDisabled2FromJSON( jsonString: string, ): SafeParseResult { @@ -3029,7 +2924,6 @@ export const CreateIntegrationStoreDirectPropertiesDisabled$inboundSchema: z.boolean(), CreateIntegrationStoreDirectDisabled3$inboundSchema, ]); - /** @internal */ export type CreateIntegrationStoreDirectPropertiesDisabled$Outbound = | CreateIntegrationStoreDirectDisabled2$Outbound @@ -3048,22 +2942,6 @@ export const CreateIntegrationStoreDirectPropertiesDisabled$outboundSchema: CreateIntegrationStoreDirectDisabled3$outboundSchema, ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectPropertiesDisabled$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesDisabled$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesDisabled$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesDisabled$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesDisabled$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesDisabled$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectPropertiesDisabled$Outbound; -} - export function createIntegrationStoreDirectPropertiesDisabledToJSON( createIntegrationStoreDirectPropertiesDisabled: CreateIntegrationStoreDirectPropertiesDisabled, @@ -3074,7 +2952,6 @@ export function createIntegrationStoreDirectPropertiesDisabledToJSON( ), ); } - export function createIntegrationStoreDirectPropertiesDisabledFromJSON( jsonString: string, ): SafeParseResult< @@ -3095,25 +2972,11 @@ export function createIntegrationStoreDirectPropertiesDisabledFromJSON( export const CreateIntegrationStoreDirectHidden3$inboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectHidden3 > = z.nativeEnum(CreateIntegrationStoreDirectHidden3); - /** @internal */ export const CreateIntegrationStoreDirectHidden3$outboundSchema: z.ZodNativeEnum = CreateIntegrationStoreDirectHidden3$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectHidden3$ { - /** @deprecated use `CreateIntegrationStoreDirectHidden3$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectHidden3$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectHidden3$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectHidden3$outboundSchema; -} - /** @internal */ export const CreateIntegrationStoreDirectHidden2$inboundSchema: z.ZodType< CreateIntegrationStoreDirectHidden2, @@ -3122,7 +2985,6 @@ export const CreateIntegrationStoreDirectHidden2$inboundSchema: z.ZodType< > = z.object({ expr: z.string(), }); - /** @internal */ export type CreateIntegrationStoreDirectHidden2$Outbound = { expr: string; @@ -3137,21 +2999,6 @@ export const CreateIntegrationStoreDirectHidden2$outboundSchema: z.ZodType< expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectHidden2$ { - /** @deprecated use `CreateIntegrationStoreDirectHidden2$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectHidden2$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectHidden2$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectHidden2$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectHidden2$Outbound` instead. */ - export type Outbound = CreateIntegrationStoreDirectHidden2$Outbound; -} - export function createIntegrationStoreDirectHidden2ToJSON( createIntegrationStoreDirectHidden2: CreateIntegrationStoreDirectHidden2, ): string { @@ -3161,7 +3008,6 @@ export function createIntegrationStoreDirectHidden2ToJSON( ), ); } - export function createIntegrationStoreDirectHidden2FromJSON( jsonString: string, ): SafeParseResult { @@ -3184,7 +3030,6 @@ export const CreateIntegrationStoreDirectPropertiesHidden$inboundSchema: z.boolean(), CreateIntegrationStoreDirectHidden3$inboundSchema, ]); - /** @internal */ export type CreateIntegrationStoreDirectPropertiesHidden$Outbound = | CreateIntegrationStoreDirectHidden2$Outbound @@ -3203,21 +3048,6 @@ export const CreateIntegrationStoreDirectPropertiesHidden$outboundSchema: CreateIntegrationStoreDirectHidden3$outboundSchema, ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectPropertiesHidden$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesHidden$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesHidden$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesHidden$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesHidden$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesHidden$Outbound` instead. */ - export type Outbound = CreateIntegrationStoreDirectPropertiesHidden$Outbound; -} - export function createIntegrationStoreDirectPropertiesHiddenToJSON( createIntegrationStoreDirectPropertiesHidden: CreateIntegrationStoreDirectPropertiesHidden, @@ -3228,7 +3058,6 @@ export function createIntegrationStoreDirectPropertiesHiddenToJSON( ), ); } - export function createIntegrationStoreDirectPropertiesHiddenFromJSON( jsonString: string, ): SafeParseResult< @@ -3265,7 +3094,6 @@ export const CreateIntegrationStoreDirectProperties9$inboundSchema: z.ZodType< CreateIntegrationStoreDirectHidden3$inboundSchema, ]).optional(), }); - /** @internal */ export type CreateIntegrationStoreDirectProperties9$Outbound = { value: CreateIntegrationStoreDirectPropertiesValue$Outbound; @@ -3302,21 +3130,6 @@ export const CreateIntegrationStoreDirectProperties9$outboundSchema: z.ZodType< ]).optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectProperties9$ { - /** @deprecated use `CreateIntegrationStoreDirectProperties9$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectProperties9$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectProperties9$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectProperties9$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectProperties9$Outbound` instead. */ - export type Outbound = CreateIntegrationStoreDirectProperties9$Outbound; -} - export function createIntegrationStoreDirectProperties9ToJSON( createIntegrationStoreDirectProperties9: CreateIntegrationStoreDirectProperties9, @@ -3327,7 +3140,6 @@ export function createIntegrationStoreDirectProperties9ToJSON( ), ); } - export function createIntegrationStoreDirectProperties9FromJSON( jsonString: string, ): SafeParseResult< @@ -3351,7 +3163,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic > = z.nativeEnum( CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductType, ); - /** @internal */ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductType$outboundSchema: z.ZodNativeEnum< @@ -3359,19 +3170,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic > = CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductType$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductType$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductType$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductType$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductType$outboundSchema; -} - /** @internal */ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiControl$inboundSchema: z.ZodNativeEnum< @@ -3379,7 +3177,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic > = z.nativeEnum( CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiControl, ); - /** @internal */ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiControl$outboundSchema: z.ZodNativeEnum< @@ -3387,79 +3184,48 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic > = CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiControl$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiControl$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiControl$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiControl$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiControl$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiControl$outboundSchema; -} - /** @internal */ -export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductAtBRANDAt8486$inboundSchema: +export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductAtBRANDAt8795$inboundSchema: z.ZodType< - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductAtBRANDAt8486, + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductAtBRANDAt8795, z.ZodTypeDef, unknown > = z.object({}); - /** @internal */ -export type CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductAtBRANDAt8486$Outbound = +export type CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductAtBRANDAt8795$Outbound = {}; /** @internal */ -export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductAtBRANDAt8486$outboundSchema: +export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductAtBRANDAt8795$outboundSchema: z.ZodType< - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductAtBRANDAt8486$Outbound, + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductAtBRANDAt8795$Outbound, z.ZodTypeDef, - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductAtBRANDAt8486 + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductAtBRANDAt8795 > = 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 CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductAtBRANDAt8486$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductAtBRANDAt8486$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductAtBRANDAt8486$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductAtBRANDAt8486$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductAtBRANDAt8486$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductAtBRANDAt8486$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductAtBRANDAt8486$Outbound; -} - -export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductAtBRANDAt8486ToJSON( - createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductAtBRANDAt8486: - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductAtBRANDAt8486, +export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductAtBRANDAt8795ToJSON( + createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductAtBRANDAt8795: + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductAtBRANDAt8795, ): string { return JSON.stringify( - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductAtBRANDAt8486$outboundSchema + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductAtBRANDAt8795$outboundSchema .parse( - createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductAtBRANDAt8486, + createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductAtBRANDAt8795, ), ); } - -export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductAtBRANDAt8486FromJSON( +export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductAtBRANDAt8795FromJSON( jsonString: string, ): SafeParseResult< - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductAtBRANDAt8486, + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductAtBRANDAt8795, SDKValidationError > { return safeParse( jsonString, (x) => - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductAtBRANDAt8486$inboundSchema + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductAtBRANDAt8795$inboundSchema .parse(JSON.parse(x)), - `Failed to parse 'CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductAtBRANDAt8486' from JSON`, + `Failed to parse 'CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductAtBRANDAt8795' from JSON`, ); } @@ -3470,20 +3236,19 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200MaxLen z.ZodTypeDef, unknown > = z.object({ - "__@BRAND@8486": z.lazy(() => - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductAtBRANDAt8486$inboundSchema + "__@BRAND@8795": z.lazy(() => + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductAtBRANDAt8795$inboundSchema ), }).transform((v) => { return remap$(v, { - "__@BRAND@8486": "atBRANDAt8486", + "__@BRAND@8795": "atBRANDAt8795", }); }); - /** @internal */ export type CreateIntegrationStoreDirectPropertiesIntegrationsResponse200MaxLength$Outbound = { - "__@BRAND@8486": - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductAtBRANDAt8486$Outbound; + "__@BRAND@8795": + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductAtBRANDAt8795$Outbound; }; /** @internal */ @@ -3493,31 +3258,15 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200MaxLen z.ZodTypeDef, CreateIntegrationStoreDirectPropertiesIntegrationsResponse200MaxLength > = z.object({ - atBRANDAt8486: z.lazy(() => - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductAtBRANDAt8486$outboundSchema + atBRANDAt8795: z.lazy(() => + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductAtBRANDAt8795$outboundSchema ), }).transform((v) => { return remap$(v, { - atBRANDAt8486: "__@BRAND@8486", + atBRANDAt8795: "__@BRAND@8795", }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectPropertiesIntegrationsResponse200MaxLength$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200MaxLength$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200MaxLength$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200MaxLength$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200MaxLength$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200MaxLength$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200MaxLength$Outbound; -} - export function createIntegrationStoreDirectPropertiesIntegrationsResponse200MaxLengthToJSON( createIntegrationStoreDirectPropertiesIntegrationsResponse200MaxLength: CreateIntegrationStoreDirectPropertiesIntegrationsResponse200MaxLength, @@ -3529,7 +3278,6 @@ export function createIntegrationStoreDirectPropertiesIntegrationsResponse200Max ), ); } - export function createIntegrationStoreDirectPropertiesIntegrationsResponse200MaxLengthFromJSON( jsonString: string, ): SafeParseResult< @@ -3546,65 +3294,47 @@ export function createIntegrationStoreDirectPropertiesIntegrationsResponse200Max } /** @internal */ -export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaAtBRANDAt8486$inboundSchema: +export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaAtBRANDAt8795$inboundSchema: z.ZodType< - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaAtBRANDAt8486, + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaAtBRANDAt8795, z.ZodTypeDef, unknown > = z.object({}); - /** @internal */ -export type CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaAtBRANDAt8486$Outbound = +export type CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaAtBRANDAt8795$Outbound = {}; /** @internal */ -export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaAtBRANDAt8486$outboundSchema: +export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaAtBRANDAt8795$outboundSchema: z.ZodType< - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaAtBRANDAt8486$Outbound, + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaAtBRANDAt8795$Outbound, z.ZodTypeDef, - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaAtBRANDAt8486 + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaAtBRANDAt8795 > = 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 CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaAtBRANDAt8486$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaAtBRANDAt8486$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaAtBRANDAt8486$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaAtBRANDAt8486$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaAtBRANDAt8486$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaAtBRANDAt8486$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaAtBRANDAt8486$Outbound; -} - -export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaAtBRANDAt8486ToJSON( - createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaAtBRANDAt8486: - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaAtBRANDAt8486, +export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaAtBRANDAt8795ToJSON( + createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaAtBRANDAt8795: + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaAtBRANDAt8795, ): string { return JSON.stringify( - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaAtBRANDAt8486$outboundSchema + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaAtBRANDAt8795$outboundSchema .parse( - createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaAtBRANDAt8486, + createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaAtBRANDAt8795, ), ); } - -export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaAtBRANDAt8486FromJSON( +export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaAtBRANDAt8795FromJSON( jsonString: string, ): SafeParseResult< - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaAtBRANDAt8486, + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaAtBRANDAt8795, SDKValidationError > { return safeParse( jsonString, (x) => - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaAtBRANDAt8486$inboundSchema + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaAtBRANDAt8795$inboundSchema .parse(JSON.parse(x)), - `Failed to parse 'CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaAtBRANDAt8486' from JSON`, + `Failed to parse 'CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaAtBRANDAt8795' from JSON`, ); } @@ -3615,20 +3345,19 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200MinLen z.ZodTypeDef, unknown > = z.object({ - "__@BRAND@8486": z.lazy(() => - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaAtBRANDAt8486$inboundSchema + "__@BRAND@8795": z.lazy(() => + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaAtBRANDAt8795$inboundSchema ), }).transform((v) => { return remap$(v, { - "__@BRAND@8486": "atBRANDAt8486", + "__@BRAND@8795": "atBRANDAt8795", }); }); - /** @internal */ export type CreateIntegrationStoreDirectPropertiesIntegrationsResponse200MinLength$Outbound = { - "__@BRAND@8486": - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaAtBRANDAt8486$Outbound; + "__@BRAND@8795": + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaAtBRANDAt8795$Outbound; }; /** @internal */ @@ -3638,31 +3367,15 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200MinLen z.ZodTypeDef, CreateIntegrationStoreDirectPropertiesIntegrationsResponse200MinLength > = z.object({ - atBRANDAt8486: z.lazy(() => - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaAtBRANDAt8486$outboundSchema + atBRANDAt8795: z.lazy(() => + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaAtBRANDAt8795$outboundSchema ), }).transform((v) => { return remap$(v, { - atBRANDAt8486: "__@BRAND@8486", + atBRANDAt8795: "__@BRAND@8795", }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectPropertiesIntegrationsResponse200MinLength$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200MinLength$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200MinLength$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200MinLength$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200MinLength$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200MinLength$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200MinLength$Outbound; -} - export function createIntegrationStoreDirectPropertiesIntegrationsResponse200MinLengthToJSON( createIntegrationStoreDirectPropertiesIntegrationsResponse200MinLength: CreateIntegrationStoreDirectPropertiesIntegrationsResponse200MinLength, @@ -3674,7 +3387,6 @@ export function createIntegrationStoreDirectPropertiesIntegrationsResponse200Min ), ); } - export function createIntegrationStoreDirectPropertiesIntegrationsResponse200MinLengthFromJSON( jsonString: string, ): SafeParseResult< @@ -3691,65 +3403,47 @@ export function createIntegrationStoreDirectPropertiesIntegrationsResponse200Min } /** @internal */ -export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema8AtBRANDAt8486$inboundSchema: +export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema8AtBRANDAt8795$inboundSchema: z.ZodType< - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema8AtBRANDAt8486, + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema8AtBRANDAt8795, z.ZodTypeDef, unknown > = z.object({}); - /** @internal */ -export type CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema8AtBRANDAt8486$Outbound = +export type CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema8AtBRANDAt8795$Outbound = {}; /** @internal */ -export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema8AtBRANDAt8486$outboundSchema: +export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema8AtBRANDAt8795$outboundSchema: z.ZodType< - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema8AtBRANDAt8486$Outbound, + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema8AtBRANDAt8795$Outbound, z.ZodTypeDef, - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema8AtBRANDAt8486 + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema8AtBRANDAt8795 > = 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 CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema8AtBRANDAt8486$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema8AtBRANDAt8486$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema8AtBRANDAt8486$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema8AtBRANDAt8486$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema8AtBRANDAt8486$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema8AtBRANDAt8486$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema8AtBRANDAt8486$Outbound; -} - -export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema8AtBRANDAt8486ToJSON( - createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema8AtBRANDAt8486: - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema8AtBRANDAt8486, +export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema8AtBRANDAt8795ToJSON( + createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema8AtBRANDAt8795: + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema8AtBRANDAt8795, ): string { return JSON.stringify( - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema8AtBRANDAt8486$outboundSchema + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema8AtBRANDAt8795$outboundSchema .parse( - createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema8AtBRANDAt8486, + createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema8AtBRANDAt8795, ), ); } - -export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema8AtBRANDAt8486FromJSON( +export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema8AtBRANDAt8795FromJSON( jsonString: string, ): SafeParseResult< - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema8AtBRANDAt8486, + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema8AtBRANDAt8795, SDKValidationError > { return safeParse( jsonString, (x) => - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema8AtBRANDAt8486$inboundSchema + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema8AtBRANDAt8795$inboundSchema .parse(JSON.parse(x)), - `Failed to parse 'CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema8AtBRANDAt8486' from JSON`, + `Failed to parse 'CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema8AtBRANDAt8795' from JSON`, ); } @@ -3760,20 +3454,19 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Patter z.ZodTypeDef, unknown > = z.object({ - "__@BRAND@8486": z.lazy(() => - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema8AtBRANDAt8486$inboundSchema + "__@BRAND@8795": z.lazy(() => + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema8AtBRANDAt8795$inboundSchema ), }).transform((v) => { return remap$(v, { - "__@BRAND@8486": "atBRANDAt8486", + "__@BRAND@8795": "atBRANDAt8795", }); }); - /** @internal */ export type CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Pattern$Outbound = { - "__@BRAND@8486": - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema8AtBRANDAt8486$Outbound; + "__@BRAND@8795": + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema8AtBRANDAt8795$Outbound; }; /** @internal */ @@ -3783,31 +3476,15 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Patter z.ZodTypeDef, CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Pattern > = z.object({ - atBRANDAt8486: z.lazy(() => - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema8AtBRANDAt8486$outboundSchema + atBRANDAt8795: z.lazy(() => + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema8AtBRANDAt8795$outboundSchema ), }).transform((v) => { return remap$(v, { - atBRANDAt8486: "__@BRAND@8486", + atBRANDAt8795: "__@BRAND@8795", }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Pattern$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Pattern$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Pattern$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Pattern$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Pattern$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Pattern$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Pattern$Outbound; -} - export function createIntegrationStoreDirectPropertiesIntegrationsResponse200PatternToJSON( createIntegrationStoreDirectPropertiesIntegrationsResponse200Pattern: CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Pattern, @@ -3819,7 +3496,6 @@ export function createIntegrationStoreDirectPropertiesIntegrationsResponse200Pat ), ); } - export function createIntegrationStoreDirectPropertiesIntegrationsResponse200PatternFromJSON( jsonString: string, ): SafeParseResult< @@ -3842,7 +3518,6 @@ export const CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200Applic > = z.nativeEnum( CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct3, ); - /** @internal */ export const CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct3$outboundSchema: z.ZodNativeEnum< @@ -3850,19 +3525,6 @@ export const CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200Applic > = CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct3$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct3$ { - /** @deprecated use `CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct3$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct3$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct3$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct3$outboundSchema; -} - /** @internal */ export const CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct2$inboundSchema: z.ZodType< @@ -3872,7 +3534,6 @@ export const CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200Applic > = z.object({ expr: z.string(), }); - /** @internal */ export type CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct2$Outbound = { @@ -3889,22 +3550,6 @@ export const CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200Applic expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct2$ { - /** @deprecated use `CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct2$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct2$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct2$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct2$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct2$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct2$Outbound; -} - export function createIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct2ToJSON( createIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct2: CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct2, @@ -3916,7 +3561,6 @@ export function createIntegrationStoreDirectUiReadOnlyIntegrationsResponse200App ), ); } - export function createIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct2FromJSON( jsonString: string, ): SafeParseResult< @@ -3945,7 +3589,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic z.boolean(), CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct3$inboundSchema, ]); - /** @internal */ export type CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiReadOnly$Outbound = | CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct2$Outbound @@ -3966,22 +3609,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct3$outboundSchema, ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiReadOnly$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiReadOnly$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiReadOnly$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiReadOnly$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiReadOnly$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiReadOnly$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiReadOnly$Outbound; -} - export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiReadOnlyToJSON( createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiReadOnly: CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiReadOnly, @@ -3993,7 +3620,6 @@ export function createIntegrationStoreDirectPropertiesIntegrationsResponse200App ), ); } - export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiReadOnlyFromJSON( jsonString: string, ): SafeParseResult< @@ -4016,7 +3642,6 @@ export const CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200Applicat > = z.nativeEnum( CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct3, ); - /** @internal */ export const CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct3$outboundSchema: z.ZodNativeEnum< @@ -4024,19 +3649,6 @@ export const CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200Applicat > = CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct3$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct3$ { - /** @deprecated use `CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct3$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct3$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct3$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct3$outboundSchema; -} - /** @internal */ export const CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct2$inboundSchema: z.ZodType< @@ -4046,7 +3658,6 @@ export const CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200Applicat > = z.object({ expr: z.string(), }); - /** @internal */ export type CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct2$Outbound = { @@ -4063,22 +3674,6 @@ export const CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200Applicat expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct2$ { - /** @deprecated use `CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct2$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct2$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct2$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct2$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct2$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct2$Outbound; -} - export function createIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct2ToJSON( createIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct2: CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct2, @@ -4090,7 +3685,6 @@ export function createIntegrationStoreDirectUiHiddenIntegrationsResponse200Appli ), ); } - export function createIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct2FromJSON( jsonString: string, ): SafeParseResult< @@ -4119,7 +3713,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic z.boolean(), CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct3$inboundSchema, ]); - /** @internal */ export type CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiHidden$Outbound = | CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct2$Outbound @@ -4140,22 +3733,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct3$outboundSchema, ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiHidden$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiHidden$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiHidden$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiHidden$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiHidden$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiHidden$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiHidden$Outbound; -} - export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiHiddenToJSON( createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiHidden: CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiHidden, @@ -4167,7 +3744,6 @@ export function createIntegrationStoreDirectPropertiesIntegrationsResponse200App ), ); } - export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiHiddenFromJSON( jsonString: string, ): SafeParseResult< @@ -4190,7 +3766,6 @@ export const CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200Applic > = z.nativeEnum( CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct3, ); - /** @internal */ export const CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct3$outboundSchema: z.ZodNativeEnum< @@ -4198,19 +3773,6 @@ export const CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200Applic > = CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct3$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct3$ { - /** @deprecated use `CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct3$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct3$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct3$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct3$outboundSchema; -} - /** @internal */ export const CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct2$inboundSchema: z.ZodType< @@ -4220,7 +3782,6 @@ export const CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200Applic > = z.object({ expr: z.string(), }); - /** @internal */ export type CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct2$Outbound = { @@ -4237,22 +3798,6 @@ export const CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200Applic expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct2$ { - /** @deprecated use `CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct2$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct2$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct2$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct2$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct2$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct2$Outbound; -} - export function createIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct2ToJSON( createIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct2: CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct2, @@ -4264,7 +3809,6 @@ export function createIntegrationStoreDirectUiDisabledIntegrationsResponse200App ), ); } - export function createIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct2FromJSON( jsonString: string, ): SafeParseResult< @@ -4293,7 +3837,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic z.boolean(), CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct3$inboundSchema, ]); - /** @internal */ export type CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiDisabled$Outbound = | CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct2$Outbound @@ -4314,22 +3857,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct3$outboundSchema, ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiDisabled$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiDisabled$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiDisabled$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiDisabled$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiDisabled$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiDisabled$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiDisabled$Outbound; -} - export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiDisabledToJSON( createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiDisabled: CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiDisabled, @@ -4341,7 +3868,6 @@ export function createIntegrationStoreDirectPropertiesIntegrationsResponse200App ), ); } - export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiDisabledFromJSON( jsonString: string, ): SafeParseResult< @@ -4366,7 +3892,6 @@ export const CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse200App > = z.object({ expr: z.string(), }); - /** @internal */ export type CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct2$Outbound = { @@ -4383,22 +3908,6 @@ export const CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse200App expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct2$ { - /** @deprecated use `CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct2$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct2$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct2$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct2$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct2$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct2$Outbound; -} - export function createIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct2ToJSON( createIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct2: CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct2, @@ -4410,7 +3919,6 @@ export function createIntegrationStoreDirectUiDescriptionIntegrationsResponse200 ), ); } - export function createIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct2FromJSON( jsonString: string, ): SafeParseResult< @@ -4438,7 +3946,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic ), z.string(), ]); - /** @internal */ export type CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiDescription$Outbound = | CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyStoreProduct2$Outbound @@ -4457,22 +3964,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic z.string(), ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiDescription$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiDescription$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiDescription$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiDescription$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiDescription$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiDescription$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiDescription$Outbound; -} - export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiDescriptionToJSON( createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiDescription: CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiDescription, @@ -4484,7 +3975,6 @@ export function createIntegrationStoreDirectPropertiesIntegrationsResponse200App ), ); } - export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiDescriptionFromJSON( jsonString: string, ): SafeParseResult< @@ -4509,7 +3999,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic > = z.object({ expr: z.string(), }); - /** @internal */ export type CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiFormattedValue$Outbound = { @@ -4526,22 +4015,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiFormattedValue$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiFormattedValue$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiFormattedValue$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiFormattedValue$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiFormattedValue$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiFormattedValue$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiFormattedValue$Outbound; -} - export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiFormattedValueToJSON( createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiFormattedValue: CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiFormattedValue, @@ -4553,7 +4026,6 @@ export function createIntegrationStoreDirectPropertiesIntegrationsResponse200App ), ); } - export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductUiFormattedValueFromJSON( jsonString: string, ): SafeParseResult< @@ -4635,7 +4107,6 @@ export const CreateIntegrationStoreDirectProperties8$inboundSchema: z.ZodType< "ui:placeholder": "uiPlaceholder", }); }); - /** @internal */ export type CreateIntegrationStoreDirectProperties8$Outbound = { type: string; @@ -4745,21 +4216,6 @@ export const CreateIntegrationStoreDirectProperties8$outboundSchema: z.ZodType< }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectProperties8$ { - /** @deprecated use `CreateIntegrationStoreDirectProperties8$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectProperties8$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectProperties8$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectProperties8$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectProperties8$Outbound` instead. */ - export type Outbound = CreateIntegrationStoreDirectProperties8$Outbound; -} - export function createIntegrationStoreDirectProperties8ToJSON( createIntegrationStoreDirectProperties8: CreateIntegrationStoreDirectProperties8, @@ -4770,7 +4226,6 @@ export function createIntegrationStoreDirectProperties8ToJSON( ), ); } - export function createIntegrationStoreDirectProperties8FromJSON( jsonString: string, ): SafeParseResult< @@ -4794,7 +4249,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic > = z.nativeEnum( CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreType, ); - /** @internal */ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreType$outboundSchema: z.ZodNativeEnum< @@ -4802,19 +4256,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic > = CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreType$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreType$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreType$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreType$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreType$outboundSchema; -} - /** @internal */ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreUiControl$inboundSchema: z.ZodNativeEnum< @@ -4822,7 +4263,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic > = z.nativeEnum( CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreUiControl, ); - /** @internal */ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreUiControl$outboundSchema: z.ZodNativeEnum< @@ -4830,78 +4270,47 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic > = CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreUiControl$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreUiControl$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreUiControl$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreUiControl$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreUiControl$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreUiControl$outboundSchema; -} - /** @internal */ -export const CreateIntegrationStoreDirectUiOptionsAtBRANDAt8486$inboundSchema: +export const CreateIntegrationStoreDirectUiOptionsAtBRANDAt8795$inboundSchema: z.ZodType< - CreateIntegrationStoreDirectUiOptionsAtBRANDAt8486, + CreateIntegrationStoreDirectUiOptionsAtBRANDAt8795, z.ZodTypeDef, unknown > = z.object({}); - /** @internal */ -export type CreateIntegrationStoreDirectUiOptionsAtBRANDAt8486$Outbound = {}; +export type CreateIntegrationStoreDirectUiOptionsAtBRANDAt8795$Outbound = {}; /** @internal */ -export const CreateIntegrationStoreDirectUiOptionsAtBRANDAt8486$outboundSchema: +export const CreateIntegrationStoreDirectUiOptionsAtBRANDAt8795$outboundSchema: z.ZodType< - CreateIntegrationStoreDirectUiOptionsAtBRANDAt8486$Outbound, + CreateIntegrationStoreDirectUiOptionsAtBRANDAt8795$Outbound, z.ZodTypeDef, - CreateIntegrationStoreDirectUiOptionsAtBRANDAt8486 + CreateIntegrationStoreDirectUiOptionsAtBRANDAt8795 > = 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 CreateIntegrationStoreDirectUiOptionsAtBRANDAt8486$ { - /** @deprecated use `CreateIntegrationStoreDirectUiOptionsAtBRANDAt8486$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectUiOptionsAtBRANDAt8486$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiOptionsAtBRANDAt8486$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectUiOptionsAtBRANDAt8486$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiOptionsAtBRANDAt8486$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectUiOptionsAtBRANDAt8486$Outbound; -} - -export function createIntegrationStoreDirectUiOptionsAtBRANDAt8486ToJSON( - createIntegrationStoreDirectUiOptionsAtBRANDAt8486: - CreateIntegrationStoreDirectUiOptionsAtBRANDAt8486, +export function createIntegrationStoreDirectUiOptionsAtBRANDAt8795ToJSON( + createIntegrationStoreDirectUiOptionsAtBRANDAt8795: + CreateIntegrationStoreDirectUiOptionsAtBRANDAt8795, ): string { return JSON.stringify( - CreateIntegrationStoreDirectUiOptionsAtBRANDAt8486$outboundSchema.parse( - createIntegrationStoreDirectUiOptionsAtBRANDAt8486, + CreateIntegrationStoreDirectUiOptionsAtBRANDAt8795$outboundSchema.parse( + createIntegrationStoreDirectUiOptionsAtBRANDAt8795, ), ); } - -export function createIntegrationStoreDirectUiOptionsAtBRANDAt8486FromJSON( +export function createIntegrationStoreDirectUiOptionsAtBRANDAt8795FromJSON( jsonString: string, ): SafeParseResult< - CreateIntegrationStoreDirectUiOptionsAtBRANDAt8486, + CreateIntegrationStoreDirectUiOptionsAtBRANDAt8795, SDKValidationError > { return safeParse( jsonString, (x) => - CreateIntegrationStoreDirectUiOptionsAtBRANDAt8486$inboundSchema.parse( + CreateIntegrationStoreDirectUiOptionsAtBRANDAt8795$inboundSchema.parse( JSON.parse(x), ), - `Failed to parse 'CreateIntegrationStoreDirectUiOptionsAtBRANDAt8486' from JSON`, + `Failed to parse 'CreateIntegrationStoreDirectUiOptionsAtBRANDAt8795' from JSON`, ); } @@ -4909,18 +4318,17 @@ export function createIntegrationStoreDirectUiOptionsAtBRANDAt8486FromJSON( export const CreateIntegrationStoreDirectUiOptionsValue$inboundSchema: z.ZodType = z.object({ - "__@BRAND@8486": z.lazy(() => - CreateIntegrationStoreDirectUiOptionsAtBRANDAt8486$inboundSchema + "__@BRAND@8795": z.lazy(() => + CreateIntegrationStoreDirectUiOptionsAtBRANDAt8795$inboundSchema ), }).transform((v) => { return remap$(v, { - "__@BRAND@8486": "atBRANDAt8486", + "__@BRAND@8795": "atBRANDAt8795", }); }); - /** @internal */ export type CreateIntegrationStoreDirectUiOptionsValue$Outbound = { - "__@BRAND@8486": CreateIntegrationStoreDirectUiOptionsAtBRANDAt8486$Outbound; + "__@BRAND@8795": CreateIntegrationStoreDirectUiOptionsAtBRANDAt8795$Outbound; }; /** @internal */ @@ -4930,30 +4338,15 @@ export const CreateIntegrationStoreDirectUiOptionsValue$outboundSchema: z.ZodTypeDef, CreateIntegrationStoreDirectUiOptionsValue > = z.object({ - atBRANDAt8486: z.lazy(() => - CreateIntegrationStoreDirectUiOptionsAtBRANDAt8486$outboundSchema + atBRANDAt8795: z.lazy(() => + CreateIntegrationStoreDirectUiOptionsAtBRANDAt8795$outboundSchema ), }).transform((v) => { return remap$(v, { - atBRANDAt8486: "__@BRAND@8486", + atBRANDAt8795: "__@BRAND@8795", }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectUiOptionsValue$ { - /** @deprecated use `CreateIntegrationStoreDirectUiOptionsValue$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectUiOptionsValue$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiOptionsValue$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectUiOptionsValue$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiOptionsValue$Outbound` instead. */ - export type Outbound = CreateIntegrationStoreDirectUiOptionsValue$Outbound; -} - export function createIntegrationStoreDirectUiOptionsValueToJSON( createIntegrationStoreDirectUiOptionsValue: CreateIntegrationStoreDirectUiOptionsValue, @@ -4964,7 +4357,6 @@ export function createIntegrationStoreDirectUiOptionsValueToJSON( ), ); } - export function createIntegrationStoreDirectUiOptionsValueFromJSON( jsonString: string, ): SafeParseResult< @@ -4988,7 +4380,6 @@ export const CreateIntegrationStoreDirectDisabledIntegrationsResponse2003$inboun > = z.nativeEnum( CreateIntegrationStoreDirectDisabledIntegrationsResponse2003, ); - /** @internal */ export const CreateIntegrationStoreDirectDisabledIntegrationsResponse2003$outboundSchema: z.ZodNativeEnum< @@ -4996,19 +4387,6 @@ export const CreateIntegrationStoreDirectDisabledIntegrationsResponse2003$outbou > = CreateIntegrationStoreDirectDisabledIntegrationsResponse2003$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectDisabledIntegrationsResponse2003$ { - /** @deprecated use `CreateIntegrationStoreDirectDisabledIntegrationsResponse2003$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectDisabledIntegrationsResponse2003$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectDisabledIntegrationsResponse2003$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectDisabledIntegrationsResponse2003$outboundSchema; -} - /** @internal */ export const CreateIntegrationStoreDirectDisabledIntegrationsResponse2002$inboundSchema: z.ZodType< @@ -5018,7 +4396,6 @@ export const CreateIntegrationStoreDirectDisabledIntegrationsResponse2002$inboun > = z.object({ expr: z.string(), }); - /** @internal */ export type CreateIntegrationStoreDirectDisabledIntegrationsResponse2002$Outbound = { @@ -5035,22 +4412,6 @@ export const CreateIntegrationStoreDirectDisabledIntegrationsResponse2002$outbou expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectDisabledIntegrationsResponse2002$ { - /** @deprecated use `CreateIntegrationStoreDirectDisabledIntegrationsResponse2002$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectDisabledIntegrationsResponse2002$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectDisabledIntegrationsResponse2002$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectDisabledIntegrationsResponse2002$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectDisabledIntegrationsResponse2002$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectDisabledIntegrationsResponse2002$Outbound; -} - export function createIntegrationStoreDirectDisabledIntegrationsResponse2002ToJSON( createIntegrationStoreDirectDisabledIntegrationsResponse2002: CreateIntegrationStoreDirectDisabledIntegrationsResponse2002, @@ -5060,7 +4421,6 @@ export function createIntegrationStoreDirectDisabledIntegrationsResponse2002ToJS .parse(createIntegrationStoreDirectDisabledIntegrationsResponse2002), ); } - export function createIntegrationStoreDirectDisabledIntegrationsResponse2002FromJSON( jsonString: string, ): SafeParseResult< @@ -5089,7 +4449,6 @@ export const CreateIntegrationStoreDirectUiOptionsIntegrationsDisabled$inboundSc z.boolean(), CreateIntegrationStoreDirectDisabledIntegrationsResponse2003$inboundSchema, ]); - /** @internal */ export type CreateIntegrationStoreDirectUiOptionsIntegrationsDisabled$Outbound = | CreateIntegrationStoreDirectDisabledIntegrationsResponse2002$Outbound @@ -5110,22 +4469,6 @@ export const CreateIntegrationStoreDirectUiOptionsIntegrationsDisabled$outboundS CreateIntegrationStoreDirectDisabledIntegrationsResponse2003$outboundSchema, ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectUiOptionsIntegrationsDisabled$ { - /** @deprecated use `CreateIntegrationStoreDirectUiOptionsIntegrationsDisabled$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectUiOptionsIntegrationsDisabled$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiOptionsIntegrationsDisabled$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectUiOptionsIntegrationsDisabled$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiOptionsIntegrationsDisabled$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectUiOptionsIntegrationsDisabled$Outbound; -} - export function createIntegrationStoreDirectUiOptionsIntegrationsDisabledToJSON( createIntegrationStoreDirectUiOptionsIntegrationsDisabled: CreateIntegrationStoreDirectUiOptionsIntegrationsDisabled, @@ -5135,7 +4478,6 @@ export function createIntegrationStoreDirectUiOptionsIntegrationsDisabledToJSON( .parse(createIntegrationStoreDirectUiOptionsIntegrationsDisabled), ); } - export function createIntegrationStoreDirectUiOptionsIntegrationsDisabledFromJSON( jsonString: string, ): SafeParseResult< @@ -5156,26 +4498,12 @@ export const CreateIntegrationStoreDirectHiddenIntegrationsResponse2003$inboundS z.ZodNativeEnum< typeof CreateIntegrationStoreDirectHiddenIntegrationsResponse2003 > = z.nativeEnum(CreateIntegrationStoreDirectHiddenIntegrationsResponse2003); - /** @internal */ export const CreateIntegrationStoreDirectHiddenIntegrationsResponse2003$outboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectHiddenIntegrationsResponse2003 > = CreateIntegrationStoreDirectHiddenIntegrationsResponse2003$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectHiddenIntegrationsResponse2003$ { - /** @deprecated use `CreateIntegrationStoreDirectHiddenIntegrationsResponse2003$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectHiddenIntegrationsResponse2003$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectHiddenIntegrationsResponse2003$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectHiddenIntegrationsResponse2003$outboundSchema; -} - /** @internal */ export const CreateIntegrationStoreDirectHiddenIntegrationsResponse2002$inboundSchema: z.ZodType< @@ -5185,7 +4513,6 @@ export const CreateIntegrationStoreDirectHiddenIntegrationsResponse2002$inboundS > = z.object({ expr: z.string(), }); - /** @internal */ export type CreateIntegrationStoreDirectHiddenIntegrationsResponse2002$Outbound = { @@ -5202,22 +4529,6 @@ export const CreateIntegrationStoreDirectHiddenIntegrationsResponse2002$outbound expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectHiddenIntegrationsResponse2002$ { - /** @deprecated use `CreateIntegrationStoreDirectHiddenIntegrationsResponse2002$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectHiddenIntegrationsResponse2002$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectHiddenIntegrationsResponse2002$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectHiddenIntegrationsResponse2002$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectHiddenIntegrationsResponse2002$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectHiddenIntegrationsResponse2002$Outbound; -} - export function createIntegrationStoreDirectHiddenIntegrationsResponse2002ToJSON( createIntegrationStoreDirectHiddenIntegrationsResponse2002: CreateIntegrationStoreDirectHiddenIntegrationsResponse2002, @@ -5227,7 +4538,6 @@ export function createIntegrationStoreDirectHiddenIntegrationsResponse2002ToJSON .parse(createIntegrationStoreDirectHiddenIntegrationsResponse2002), ); } - export function createIntegrationStoreDirectHiddenIntegrationsResponse2002FromJSON( jsonString: string, ): SafeParseResult< @@ -5256,7 +4566,6 @@ export const CreateIntegrationStoreDirectUiOptionsIntegrationsHidden$inboundSche z.boolean(), CreateIntegrationStoreDirectHiddenIntegrationsResponse2003$inboundSchema, ]); - /** @internal */ export type CreateIntegrationStoreDirectUiOptionsIntegrationsHidden$Outbound = | CreateIntegrationStoreDirectHiddenIntegrationsResponse2002$Outbound @@ -5277,22 +4586,6 @@ export const CreateIntegrationStoreDirectUiOptionsIntegrationsHidden$outboundSch CreateIntegrationStoreDirectHiddenIntegrationsResponse2003$outboundSchema, ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectUiOptionsIntegrationsHidden$ { - /** @deprecated use `CreateIntegrationStoreDirectUiOptionsIntegrationsHidden$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectUiOptionsIntegrationsHidden$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiOptionsIntegrationsHidden$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectUiOptionsIntegrationsHidden$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiOptionsIntegrationsHidden$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectUiOptionsIntegrationsHidden$Outbound; -} - export function createIntegrationStoreDirectUiOptionsIntegrationsHiddenToJSON( createIntegrationStoreDirectUiOptionsIntegrationsHidden: CreateIntegrationStoreDirectUiOptionsIntegrationsHidden, @@ -5302,7 +4595,6 @@ export function createIntegrationStoreDirectUiOptionsIntegrationsHiddenToJSON( .parse(createIntegrationStoreDirectUiOptionsIntegrationsHidden), ); } - export function createIntegrationStoreDirectUiOptionsIntegrationsHiddenFromJSON( jsonString: string, ): SafeParseResult< @@ -5340,7 +4632,6 @@ export const CreateIntegrationStoreDirectUiOptions3$inboundSchema: z.ZodType< CreateIntegrationStoreDirectHiddenIntegrationsResponse2003$inboundSchema, ]).optional(), }); - /** @internal */ export type CreateIntegrationStoreDirectUiOptions3$Outbound = { value: CreateIntegrationStoreDirectUiOptionsValue$Outbound; @@ -5381,21 +4672,6 @@ export const CreateIntegrationStoreDirectUiOptions3$outboundSchema: z.ZodType< ]).optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectUiOptions3$ { - /** @deprecated use `CreateIntegrationStoreDirectUiOptions3$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectUiOptions3$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiOptions3$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectUiOptions3$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiOptions3$Outbound` instead. */ - export type Outbound = CreateIntegrationStoreDirectUiOptions3$Outbound; -} - export function createIntegrationStoreDirectUiOptions3ToJSON( createIntegrationStoreDirectUiOptions3: CreateIntegrationStoreDirectUiOptions3, @@ -5406,7 +4682,6 @@ export function createIntegrationStoreDirectUiOptions3ToJSON( ), ); } - export function createIntegrationStoreDirectUiOptions3FromJSON( jsonString: string, ): SafeParseResult { @@ -5419,50 +4694,35 @@ export function createIntegrationStoreDirectUiOptions3FromJSON( } /** @internal */ -export const UiOptionsAtBRANDAt8486$inboundSchema: z.ZodType< - UiOptionsAtBRANDAt8486, +export const UiOptionsAtBRANDAt8795$inboundSchema: z.ZodType< + UiOptionsAtBRANDAt8795, z.ZodTypeDef, unknown > = z.object({}); - /** @internal */ -export type UiOptionsAtBRANDAt8486$Outbound = {}; +export type UiOptionsAtBRANDAt8795$Outbound = {}; /** @internal */ -export const UiOptionsAtBRANDAt8486$outboundSchema: z.ZodType< - UiOptionsAtBRANDAt8486$Outbound, +export const UiOptionsAtBRANDAt8795$outboundSchema: z.ZodType< + UiOptionsAtBRANDAt8795$Outbound, z.ZodTypeDef, - UiOptionsAtBRANDAt8486 + UiOptionsAtBRANDAt8795 > = 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 UiOptionsAtBRANDAt8486$ { - /** @deprecated use `UiOptionsAtBRANDAt8486$inboundSchema` instead. */ - export const inboundSchema = UiOptionsAtBRANDAt8486$inboundSchema; - /** @deprecated use `UiOptionsAtBRANDAt8486$outboundSchema` instead. */ - export const outboundSchema = UiOptionsAtBRANDAt8486$outboundSchema; - /** @deprecated use `UiOptionsAtBRANDAt8486$Outbound` instead. */ - export type Outbound = UiOptionsAtBRANDAt8486$Outbound; -} - -export function uiOptionsAtBRANDAt8486ToJSON( - uiOptionsAtBRANDAt8486: UiOptionsAtBRANDAt8486, +export function uiOptionsAtBRANDAt8795ToJSON( + uiOptionsAtBRANDAt8795: UiOptionsAtBRANDAt8795, ): string { return JSON.stringify( - UiOptionsAtBRANDAt8486$outboundSchema.parse(uiOptionsAtBRANDAt8486), + UiOptionsAtBRANDAt8795$outboundSchema.parse(uiOptionsAtBRANDAt8795), ); } - -export function uiOptionsAtBRANDAt8486FromJSON( +export function uiOptionsAtBRANDAt8795FromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UiOptionsAtBRANDAt8486$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UiOptionsAtBRANDAt8486' from JSON`, + (x) => UiOptionsAtBRANDAt8795$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UiOptionsAtBRANDAt8795' from JSON`, ); } @@ -5472,16 +4732,15 @@ export const CreateIntegrationStoreDirectUiOptions2$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - "__@BRAND@8486": z.lazy(() => UiOptionsAtBRANDAt8486$inboundSchema), + "__@BRAND@8795": z.lazy(() => UiOptionsAtBRANDAt8795$inboundSchema), }).transform((v) => { return remap$(v, { - "__@BRAND@8486": "atBRANDAt8486", + "__@BRAND@8795": "atBRANDAt8795", }); }); - /** @internal */ export type CreateIntegrationStoreDirectUiOptions2$Outbound = { - "__@BRAND@8486": UiOptionsAtBRANDAt8486$Outbound; + "__@BRAND@8795": UiOptionsAtBRANDAt8795$Outbound; }; /** @internal */ @@ -5490,28 +4749,13 @@ export const CreateIntegrationStoreDirectUiOptions2$outboundSchema: z.ZodType< z.ZodTypeDef, CreateIntegrationStoreDirectUiOptions2 > = z.object({ - atBRANDAt8486: z.lazy(() => UiOptionsAtBRANDAt8486$outboundSchema), + atBRANDAt8795: z.lazy(() => UiOptionsAtBRANDAt8795$outboundSchema), }).transform((v) => { return remap$(v, { - atBRANDAt8486: "__@BRAND@8486", + atBRANDAt8795: "__@BRAND@8795", }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectUiOptions2$ { - /** @deprecated use `CreateIntegrationStoreDirectUiOptions2$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectUiOptions2$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiOptions2$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectUiOptions2$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiOptions2$Outbound` instead. */ - export type Outbound = CreateIntegrationStoreDirectUiOptions2$Outbound; -} - export function createIntegrationStoreDirectUiOptions2ToJSON( createIntegrationStoreDirectUiOptions2: CreateIntegrationStoreDirectUiOptions2, @@ -5522,7 +4766,6 @@ export function createIntegrationStoreDirectUiOptions2ToJSON( ), ); } - export function createIntegrationStoreDirectUiOptions2FromJSON( jsonString: string, ): SafeParseResult { @@ -5541,7 +4784,6 @@ export const CreateIntegrationStoreDirectDisabledIntegrationsResponse200Applicat > = z.nativeEnum( CreateIntegrationStoreDirectDisabledIntegrationsResponse200ApplicationJson3, ); - /** @internal */ export const CreateIntegrationStoreDirectDisabledIntegrationsResponse200ApplicationJson3$outboundSchema: z.ZodNativeEnum< @@ -5549,19 +4791,6 @@ export const CreateIntegrationStoreDirectDisabledIntegrationsResponse200Applicat > = CreateIntegrationStoreDirectDisabledIntegrationsResponse200ApplicationJson3$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectDisabledIntegrationsResponse200ApplicationJson3$ { - /** @deprecated use `CreateIntegrationStoreDirectDisabledIntegrationsResponse200ApplicationJson3$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectDisabledIntegrationsResponse200ApplicationJson3$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectDisabledIntegrationsResponse200ApplicationJson3$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectDisabledIntegrationsResponse200ApplicationJson3$outboundSchema; -} - /** @internal */ export const CreateIntegrationStoreDirectDisabledIntegrationsResponse200ApplicationJson2$inboundSchema: z.ZodType< @@ -5571,7 +4800,6 @@ export const CreateIntegrationStoreDirectDisabledIntegrationsResponse200Applicat > = z.object({ expr: z.string(), }); - /** @internal */ export type CreateIntegrationStoreDirectDisabledIntegrationsResponse200ApplicationJson2$Outbound = { @@ -5588,22 +4816,6 @@ export const CreateIntegrationStoreDirectDisabledIntegrationsResponse200Applicat expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectDisabledIntegrationsResponse200ApplicationJson2$ { - /** @deprecated use `CreateIntegrationStoreDirectDisabledIntegrationsResponse200ApplicationJson2$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectDisabledIntegrationsResponse200ApplicationJson2$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectDisabledIntegrationsResponse200ApplicationJson2$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectDisabledIntegrationsResponse200ApplicationJson2$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectDisabledIntegrationsResponse200ApplicationJson2$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectDisabledIntegrationsResponse200ApplicationJson2$Outbound; -} - export function createIntegrationStoreDirectDisabledIntegrationsResponse200ApplicationJSON2ToJSON( createIntegrationStoreDirectDisabledIntegrationsResponse200ApplicationJson2: CreateIntegrationStoreDirectDisabledIntegrationsResponse200ApplicationJson2, @@ -5615,7 +4827,6 @@ export function createIntegrationStoreDirectDisabledIntegrationsResponse200Appli ), ); } - export function createIntegrationStoreDirectDisabledIntegrationsResponse200ApplicationJSON2FromJSON( jsonString: string, ): SafeParseResult< @@ -5644,7 +4855,6 @@ export const CreateIntegrationStoreDirectUiOptionsDisabled$inboundSchema: z.boolean(), CreateIntegrationStoreDirectDisabledIntegrationsResponse200ApplicationJson3$inboundSchema, ]); - /** @internal */ export type CreateIntegrationStoreDirectUiOptionsDisabled$Outbound = | CreateIntegrationStoreDirectDisabledIntegrationsResponse200ApplicationJson2$Outbound @@ -5665,21 +4875,6 @@ export const CreateIntegrationStoreDirectUiOptionsDisabled$outboundSchema: CreateIntegrationStoreDirectDisabledIntegrationsResponse200ApplicationJson3$outboundSchema, ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectUiOptionsDisabled$ { - /** @deprecated use `CreateIntegrationStoreDirectUiOptionsDisabled$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectUiOptionsDisabled$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiOptionsDisabled$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectUiOptionsDisabled$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiOptionsDisabled$Outbound` instead. */ - export type Outbound = CreateIntegrationStoreDirectUiOptionsDisabled$Outbound; -} - export function createIntegrationStoreDirectUiOptionsDisabledToJSON( createIntegrationStoreDirectUiOptionsDisabled: CreateIntegrationStoreDirectUiOptionsDisabled, @@ -5690,7 +4885,6 @@ export function createIntegrationStoreDirectUiOptionsDisabledToJSON( ), ); } - export function createIntegrationStoreDirectUiOptionsDisabledFromJSON( jsonString: string, ): SafeParseResult< @@ -5714,7 +4908,6 @@ export const CreateIntegrationStoreDirectHiddenIntegrationsResponse200Applicatio > = z.nativeEnum( CreateIntegrationStoreDirectHiddenIntegrationsResponse200ApplicationJson3, ); - /** @internal */ export const CreateIntegrationStoreDirectHiddenIntegrationsResponse200ApplicationJson3$outboundSchema: z.ZodNativeEnum< @@ -5722,19 +4915,6 @@ export const CreateIntegrationStoreDirectHiddenIntegrationsResponse200Applicatio > = CreateIntegrationStoreDirectHiddenIntegrationsResponse200ApplicationJson3$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectHiddenIntegrationsResponse200ApplicationJson3$ { - /** @deprecated use `CreateIntegrationStoreDirectHiddenIntegrationsResponse200ApplicationJson3$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectHiddenIntegrationsResponse200ApplicationJson3$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectHiddenIntegrationsResponse200ApplicationJson3$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectHiddenIntegrationsResponse200ApplicationJson3$outboundSchema; -} - /** @internal */ export const CreateIntegrationStoreDirectHiddenIntegrationsResponse200ApplicationJson2$inboundSchema: z.ZodType< @@ -5744,7 +4924,6 @@ export const CreateIntegrationStoreDirectHiddenIntegrationsResponse200Applicatio > = z.object({ expr: z.string(), }); - /** @internal */ export type CreateIntegrationStoreDirectHiddenIntegrationsResponse200ApplicationJson2$Outbound = { @@ -5761,22 +4940,6 @@ export const CreateIntegrationStoreDirectHiddenIntegrationsResponse200Applicatio expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectHiddenIntegrationsResponse200ApplicationJson2$ { - /** @deprecated use `CreateIntegrationStoreDirectHiddenIntegrationsResponse200ApplicationJson2$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectHiddenIntegrationsResponse200ApplicationJson2$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectHiddenIntegrationsResponse200ApplicationJson2$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectHiddenIntegrationsResponse200ApplicationJson2$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectHiddenIntegrationsResponse200ApplicationJson2$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectHiddenIntegrationsResponse200ApplicationJson2$Outbound; -} - export function createIntegrationStoreDirectHiddenIntegrationsResponse200ApplicationJSON2ToJSON( createIntegrationStoreDirectHiddenIntegrationsResponse200ApplicationJson2: CreateIntegrationStoreDirectHiddenIntegrationsResponse200ApplicationJson2, @@ -5788,7 +4951,6 @@ export function createIntegrationStoreDirectHiddenIntegrationsResponse200Applica ), ); } - export function createIntegrationStoreDirectHiddenIntegrationsResponse200ApplicationJSON2FromJSON( jsonString: string, ): SafeParseResult< @@ -5817,7 +4979,6 @@ export const CreateIntegrationStoreDirectUiOptionsHidden$inboundSchema: z.boolean(), CreateIntegrationStoreDirectHiddenIntegrationsResponse200ApplicationJson3$inboundSchema, ]); - /** @internal */ export type CreateIntegrationStoreDirectUiOptionsHidden$Outbound = | CreateIntegrationStoreDirectHiddenIntegrationsResponse200ApplicationJson2$Outbound @@ -5838,21 +4999,6 @@ export const CreateIntegrationStoreDirectUiOptionsHidden$outboundSchema: CreateIntegrationStoreDirectHiddenIntegrationsResponse200ApplicationJson3$outboundSchema, ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectUiOptionsHidden$ { - /** @deprecated use `CreateIntegrationStoreDirectUiOptionsHidden$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectUiOptionsHidden$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiOptionsHidden$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectUiOptionsHidden$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiOptionsHidden$Outbound` instead. */ - export type Outbound = CreateIntegrationStoreDirectUiOptionsHidden$Outbound; -} - export function createIntegrationStoreDirectUiOptionsHiddenToJSON( createIntegrationStoreDirectUiOptionsHidden: CreateIntegrationStoreDirectUiOptionsHidden, @@ -5863,7 +5009,6 @@ export function createIntegrationStoreDirectUiOptionsHiddenToJSON( ), ); } - export function createIntegrationStoreDirectUiOptionsHiddenFromJSON( jsonString: string, ): SafeParseResult< @@ -5903,7 +5048,6 @@ export const CreateIntegrationStoreDirectUiOptions1$inboundSchema: z.ZodType< CreateIntegrationStoreDirectHiddenIntegrationsResponse200ApplicationJson3$inboundSchema, ]).optional(), }); - /** @internal */ export type CreateIntegrationStoreDirectUiOptions1$Outbound = { value: string; @@ -5944,21 +5088,6 @@ export const CreateIntegrationStoreDirectUiOptions1$outboundSchema: z.ZodType< ]).optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectUiOptions1$ { - /** @deprecated use `CreateIntegrationStoreDirectUiOptions1$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectUiOptions1$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiOptions1$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectUiOptions1$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiOptions1$Outbound` instead. */ - export type Outbound = CreateIntegrationStoreDirectUiOptions1$Outbound; -} - export function createIntegrationStoreDirectUiOptions1ToJSON( createIntegrationStoreDirectUiOptions1: CreateIntegrationStoreDirectUiOptions1, @@ -5969,7 +5098,6 @@ export function createIntegrationStoreDirectUiOptions1ToJSON( ), ); } - export function createIntegrationStoreDirectUiOptions1FromJSON( jsonString: string, ): SafeParseResult { @@ -5992,7 +5120,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiOptions z.lazy(() => CreateIntegrationStoreDirectUiOptions2$inboundSchema), z.lazy(() => CreateIntegrationStoreDirectUiOptions3$inboundSchema), ]); - /** @internal */ export type CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiOptions$Outbound = | CreateIntegrationStoreDirectUiOptions1$Outbound @@ -6011,22 +5138,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiOptions z.lazy(() => CreateIntegrationStoreDirectUiOptions3$outboundSchema), ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiOptions$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiOptions$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiOptions$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiOptions$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiOptions$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiOptions$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiOptions$Outbound; -} - export function createIntegrationStoreDirectPropertiesIntegrationsResponseUiOptionsToJSON( createIntegrationStoreDirectPropertiesIntegrationsResponseUiOptions: CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiOptions, @@ -6038,7 +5149,6 @@ export function createIntegrationStoreDirectPropertiesIntegrationsResponseUiOpti ), ); } - export function createIntegrationStoreDirectPropertiesIntegrationsResponseUiOptionsFromJSON( jsonString: string, ): SafeParseResult< @@ -6055,65 +5165,47 @@ export function createIntegrationStoreDirectPropertiesIntegrationsResponseUiOpti } /** @internal */ -export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt8486$inboundSchema: +export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt8795$inboundSchema: z.ZodType< - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt8486, + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt8795, z.ZodTypeDef, unknown > = z.object({}); - /** @internal */ -export type CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt8486$Outbound = +export type CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt8795$Outbound = {}; /** @internal */ -export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt8486$outboundSchema: +export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt8795$outboundSchema: z.ZodType< - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt8486$Outbound, + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt8795$Outbound, z.ZodTypeDef, - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt8486 + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt8795 > = 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 CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt8486$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt8486$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt8486$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt8486$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt8486$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt8486$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt8486$Outbound; -} - -export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt8486ToJSON( - createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt8486: - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt8486, +export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt8795ToJSON( + createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt8795: + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt8795, ): string { return JSON.stringify( - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt8486$outboundSchema + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt8795$outboundSchema .parse( - createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt8486, + createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt8795, ), ); } - -export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt8486FromJSON( +export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt8795FromJSON( jsonString: string, ): SafeParseResult< - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt8486, + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt8795, SDKValidationError > { return safeParse( jsonString, (x) => - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt8486$inboundSchema + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt8795$inboundSchema .parse(JSON.parse(x)), - `Failed to parse 'CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt8486' from JSON`, + `Failed to parse 'CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt8795' from JSON`, ); } @@ -6124,20 +5216,19 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponseMaxLength z.ZodTypeDef, unknown > = z.object({ - "__@BRAND@8486": z.lazy(() => - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt8486$inboundSchema + "__@BRAND@8795": z.lazy(() => + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt8795$inboundSchema ), }).transform((v) => { return remap$(v, { - "__@BRAND@8486": "atBRANDAt8486", + "__@BRAND@8795": "atBRANDAt8795", }); }); - /** @internal */ export type CreateIntegrationStoreDirectPropertiesIntegrationsResponseMaxLength$Outbound = { - "__@BRAND@8486": - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt8486$Outbound; + "__@BRAND@8795": + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt8795$Outbound; }; /** @internal */ @@ -6147,31 +5238,15 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponseMaxLength z.ZodTypeDef, CreateIntegrationStoreDirectPropertiesIntegrationsResponseMaxLength > = z.object({ - atBRANDAt8486: z.lazy(() => - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt8486$outboundSchema + atBRANDAt8795: z.lazy(() => + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt8795$outboundSchema ), }).transform((v) => { return remap$(v, { - atBRANDAt8486: "__@BRAND@8486", + atBRANDAt8795: "__@BRAND@8795", }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectPropertiesIntegrationsResponseMaxLength$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponseMaxLength$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponseMaxLength$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponseMaxLength$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponseMaxLength$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponseMaxLength$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectPropertiesIntegrationsResponseMaxLength$Outbound; -} - export function createIntegrationStoreDirectPropertiesIntegrationsResponseMaxLengthToJSON( createIntegrationStoreDirectPropertiesIntegrationsResponseMaxLength: CreateIntegrationStoreDirectPropertiesIntegrationsResponseMaxLength, @@ -6183,7 +5258,6 @@ export function createIntegrationStoreDirectPropertiesIntegrationsResponseMaxLen ), ); } - export function createIntegrationStoreDirectPropertiesIntegrationsResponseMaxLengthFromJSON( jsonString: string, ): SafeParseResult< @@ -6200,65 +5274,47 @@ export function createIntegrationStoreDirectPropertiesIntegrationsResponseMaxLen } /** @internal */ -export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt8486$inboundSchema: +export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt8795$inboundSchema: z.ZodType< - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt8486, + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt8795, z.ZodTypeDef, unknown > = z.object({}); - /** @internal */ -export type CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt8486$Outbound = +export type CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt8795$Outbound = {}; /** @internal */ -export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt8486$outboundSchema: +export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt8795$outboundSchema: z.ZodType< - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt8486$Outbound, + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt8795$Outbound, z.ZodTypeDef, - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt8486 + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt8795 > = 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 CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt8486$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt8486$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt8486$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt8486$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt8486$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt8486$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt8486$Outbound; -} - -export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt8486ToJSON( - createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt8486: - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt8486, +export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt8795ToJSON( + createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt8795: + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt8795, ): string { return JSON.stringify( - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt8486$outboundSchema + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt8795$outboundSchema .parse( - createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt8486, + createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt8795, ), ); } - -export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt8486FromJSON( +export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt8795FromJSON( jsonString: string, ): SafeParseResult< - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt8486, + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt8795, SDKValidationError > { return safeParse( jsonString, (x) => - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt8486$inboundSchema + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt8795$inboundSchema .parse(JSON.parse(x)), - `Failed to parse 'CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt8486' from JSON`, + `Failed to parse 'CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt8795' from JSON`, ); } @@ -6269,20 +5325,19 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponseMinLength z.ZodTypeDef, unknown > = z.object({ - "__@BRAND@8486": z.lazy(() => - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt8486$inboundSchema + "__@BRAND@8795": z.lazy(() => + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt8795$inboundSchema ), }).transform((v) => { return remap$(v, { - "__@BRAND@8486": "atBRANDAt8486", + "__@BRAND@8795": "atBRANDAt8795", }); }); - /** @internal */ export type CreateIntegrationStoreDirectPropertiesIntegrationsResponseMinLength$Outbound = { - "__@BRAND@8486": - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt8486$Outbound; + "__@BRAND@8795": + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt8795$Outbound; }; /** @internal */ @@ -6292,31 +5347,15 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponseMinLength z.ZodTypeDef, CreateIntegrationStoreDirectPropertiesIntegrationsResponseMinLength > = z.object({ - atBRANDAt8486: z.lazy(() => - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt8486$outboundSchema + atBRANDAt8795: z.lazy(() => + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt8795$outboundSchema ), }).transform((v) => { return remap$(v, { - atBRANDAt8486: "__@BRAND@8486", + atBRANDAt8795: "__@BRAND@8795", }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectPropertiesIntegrationsResponseMinLength$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponseMinLength$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponseMinLength$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponseMinLength$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponseMinLength$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponseMinLength$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectPropertiesIntegrationsResponseMinLength$Outbound; -} - export function createIntegrationStoreDirectPropertiesIntegrationsResponseMinLengthToJSON( createIntegrationStoreDirectPropertiesIntegrationsResponseMinLength: CreateIntegrationStoreDirectPropertiesIntegrationsResponseMinLength, @@ -6328,7 +5367,6 @@ export function createIntegrationStoreDirectPropertiesIntegrationsResponseMinLen ), ); } - export function createIntegrationStoreDirectPropertiesIntegrationsResponseMinLengthFromJSON( jsonString: string, ): SafeParseResult< @@ -6345,65 +5383,47 @@ export function createIntegrationStoreDirectPropertiesIntegrationsResponseMinLen } /** @internal */ -export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreAtBRANDAt8486$inboundSchema: +export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreAtBRANDAt8795$inboundSchema: z.ZodType< - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreAtBRANDAt8486, + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreAtBRANDAt8795, z.ZodTypeDef, unknown > = z.object({}); - /** @internal */ -export type CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreAtBRANDAt8486$Outbound = +export type CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreAtBRANDAt8795$Outbound = {}; /** @internal */ -export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreAtBRANDAt8486$outboundSchema: +export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreAtBRANDAt8795$outboundSchema: z.ZodType< - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreAtBRANDAt8486$Outbound, + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreAtBRANDAt8795$Outbound, z.ZodTypeDef, - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreAtBRANDAt8486 + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreAtBRANDAt8795 > = 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 CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreAtBRANDAt8486$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreAtBRANDAt8486$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreAtBRANDAt8486$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreAtBRANDAt8486$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreAtBRANDAt8486$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreAtBRANDAt8486$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreAtBRANDAt8486$Outbound; -} - -export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreAtBRANDAt8486ToJSON( - createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreAtBRANDAt8486: - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreAtBRANDAt8486, +export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreAtBRANDAt8795ToJSON( + createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreAtBRANDAt8795: + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreAtBRANDAt8795, ): string { return JSON.stringify( - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreAtBRANDAt8486$outboundSchema + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreAtBRANDAt8795$outboundSchema .parse( - createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreAtBRANDAt8486, + createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreAtBRANDAt8795, ), ); } - -export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreAtBRANDAt8486FromJSON( +export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreAtBRANDAt8795FromJSON( jsonString: string, ): SafeParseResult< - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreAtBRANDAt8486, + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreAtBRANDAt8795, SDKValidationError > { return safeParse( jsonString, (x) => - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreAtBRANDAt8486$inboundSchema + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreAtBRANDAt8795$inboundSchema .parse(JSON.parse(x)), - `Failed to parse 'CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreAtBRANDAt8486' from JSON`, + `Failed to parse 'CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreAtBRANDAt8795' from JSON`, ); } @@ -6414,20 +5434,19 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponsePattern$i z.ZodTypeDef, unknown > = z.object({ - "__@BRAND@8486": z.lazy(() => - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreAtBRANDAt8486$inboundSchema + "__@BRAND@8795": z.lazy(() => + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreAtBRANDAt8795$inboundSchema ), }).transform((v) => { return remap$(v, { - "__@BRAND@8486": "atBRANDAt8486", + "__@BRAND@8795": "atBRANDAt8795", }); }); - /** @internal */ export type CreateIntegrationStoreDirectPropertiesIntegrationsResponsePattern$Outbound = { - "__@BRAND@8486": - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreAtBRANDAt8486$Outbound; + "__@BRAND@8795": + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreAtBRANDAt8795$Outbound; }; /** @internal */ @@ -6437,31 +5456,15 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponsePattern$o z.ZodTypeDef, CreateIntegrationStoreDirectPropertiesIntegrationsResponsePattern > = z.object({ - atBRANDAt8486: z.lazy(() => - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreAtBRANDAt8486$outboundSchema + atBRANDAt8795: z.lazy(() => + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreAtBRANDAt8795$outboundSchema ), }).transform((v) => { return remap$(v, { - atBRANDAt8486: "__@BRAND@8486", + atBRANDAt8795: "__@BRAND@8795", }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectPropertiesIntegrationsResponsePattern$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponsePattern$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponsePattern$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponsePattern$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponsePattern$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponsePattern$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectPropertiesIntegrationsResponsePattern$Outbound; -} - export function createIntegrationStoreDirectPropertiesIntegrationsResponsePatternToJSON( createIntegrationStoreDirectPropertiesIntegrationsResponsePattern: CreateIntegrationStoreDirectPropertiesIntegrationsResponsePattern, @@ -6471,7 +5474,6 @@ export function createIntegrationStoreDirectPropertiesIntegrationsResponsePatter .parse(createIntegrationStoreDirectPropertiesIntegrationsResponsePattern), ); } - export function createIntegrationStoreDirectPropertiesIntegrationsResponsePatternFromJSON( jsonString: string, ): SafeParseResult< @@ -6494,7 +5496,6 @@ export const CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200Applic > = z.nativeEnum( CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStore3, ); - /** @internal */ export const CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStore3$outboundSchema: z.ZodNativeEnum< @@ -6502,19 +5503,6 @@ export const CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200Applic > = CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStore3$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStore3$ { - /** @deprecated use `CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStore3$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStore3$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStore3$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStore3$outboundSchema; -} - /** @internal */ export const CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStore2$inboundSchema: z.ZodType< @@ -6524,7 +5512,6 @@ export const CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200Applic > = z.object({ expr: z.string(), }); - /** @internal */ export type CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStore2$Outbound = { @@ -6541,22 +5528,6 @@ export const CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200Applic expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStore2$ { - /** @deprecated use `CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStore2$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStore2$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStore2$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStore2$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStore2$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStore2$Outbound; -} - export function createIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStore2ToJSON( createIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStore2: CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStore2, @@ -6568,7 +5539,6 @@ export function createIntegrationStoreDirectUiReadOnlyIntegrationsResponse200App ), ); } - export function createIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStore2FromJSON( jsonString: string, ): SafeParseResult< @@ -6597,7 +5567,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic z.boolean(), CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStore3$inboundSchema, ]); - /** @internal */ export type CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreUiReadOnly$Outbound = | CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStore2$Outbound @@ -6618,22 +5587,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyStore3$outboundSchema, ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreUiReadOnly$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreUiReadOnly$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreUiReadOnly$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreUiReadOnly$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreUiReadOnly$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreUiReadOnly$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreUiReadOnly$Outbound; -} - export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreUiReadOnlyToJSON( createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreUiReadOnly: CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreUiReadOnly, @@ -6645,7 +5598,6 @@ export function createIntegrationStoreDirectPropertiesIntegrationsResponse200App ), ); } - export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreUiReadOnlyFromJSON( jsonString: string, ): SafeParseResult< @@ -6668,7 +5620,6 @@ export const CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200Applicat > = z.nativeEnum( CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStore3, ); - /** @internal */ export const CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStore3$outboundSchema: z.ZodNativeEnum< @@ -6676,19 +5627,6 @@ export const CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200Applicat > = CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStore3$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStore3$ { - /** @deprecated use `CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStore3$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStore3$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStore3$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStore3$outboundSchema; -} - /** @internal */ export const CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStore2$inboundSchema: z.ZodType< @@ -6698,7 +5636,6 @@ export const CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200Applicat > = z.object({ expr: z.string(), }); - /** @internal */ export type CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStore2$Outbound = { @@ -6715,22 +5652,6 @@ export const CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200Applicat expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStore2$ { - /** @deprecated use `CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStore2$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStore2$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStore2$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStore2$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStore2$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStore2$Outbound; -} - export function createIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStore2ToJSON( createIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStore2: CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStore2, @@ -6742,7 +5663,6 @@ export function createIntegrationStoreDirectUiHiddenIntegrationsResponse200Appli ), ); } - export function createIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStore2FromJSON( jsonString: string, ): SafeParseResult< @@ -6771,7 +5691,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic z.boolean(), CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStore3$inboundSchema, ]); - /** @internal */ export type CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreUiHidden$Outbound = | CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStore2$Outbound @@ -6792,22 +5711,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyStore3$outboundSchema, ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreUiHidden$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreUiHidden$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreUiHidden$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreUiHidden$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreUiHidden$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreUiHidden$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreUiHidden$Outbound; -} - export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreUiHiddenToJSON( createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreUiHidden: CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreUiHidden, @@ -6819,7 +5722,6 @@ export function createIntegrationStoreDirectPropertiesIntegrationsResponse200App ), ); } - export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreUiHiddenFromJSON( jsonString: string, ): SafeParseResult< @@ -6842,7 +5744,6 @@ export const CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200Applic > = z.nativeEnum( CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStore3, ); - /** @internal */ export const CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStore3$outboundSchema: z.ZodNativeEnum< @@ -6850,19 +5751,6 @@ export const CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200Applic > = CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStore3$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStore3$ { - /** @deprecated use `CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStore3$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStore3$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStore3$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStore3$outboundSchema; -} - /** @internal */ export const CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStore2$inboundSchema: z.ZodType< @@ -6872,7 +5760,6 @@ export const CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200Applic > = z.object({ expr: z.string(), }); - /** @internal */ export type CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStore2$Outbound = { @@ -6889,22 +5776,6 @@ export const CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200Applic expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStore2$ { - /** @deprecated use `CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStore2$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStore2$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStore2$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStore2$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStore2$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStore2$Outbound; -} - export function createIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStore2ToJSON( createIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStore2: CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStore2, @@ -6916,7 +5787,6 @@ export function createIntegrationStoreDirectUiDisabledIntegrationsResponse200App ), ); } - export function createIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStore2FromJSON( jsonString: string, ): SafeParseResult< @@ -6945,7 +5815,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic z.boolean(), CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStore3$inboundSchema, ]); - /** @internal */ export type CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreUiDisabled$Outbound = | CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStore2$Outbound @@ -6966,22 +5835,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyStore3$outboundSchema, ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreUiDisabled$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreUiDisabled$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreUiDisabled$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreUiDisabled$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreUiDisabled$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreUiDisabled$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreUiDisabled$Outbound; -} - export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreUiDisabledToJSON( createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreUiDisabled: CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreUiDisabled, @@ -6993,7 +5846,6 @@ export function createIntegrationStoreDirectPropertiesIntegrationsResponse200App ), ); } - export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreUiDisabledFromJSON( jsonString: string, ): SafeParseResult< @@ -7018,7 +5870,6 @@ export const CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse200App > = z.object({ expr: z.string(), }); - /** @internal */ export type CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyStore2$Outbound = { @@ -7035,22 +5886,6 @@ export const CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse200App expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyStore2$ { - /** @deprecated use `CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyStore2$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyStore2$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyStore2$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyStore2$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyStore2$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyStore2$Outbound; -} - export function createIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyStore2ToJSON( createIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyStore2: CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyStore2, @@ -7062,7 +5897,6 @@ export function createIntegrationStoreDirectUiDescriptionIntegrationsResponse200 ), ); } - export function createIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyStore2FromJSON( jsonString: string, ): SafeParseResult< @@ -7090,7 +5924,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic ), z.string(), ]); - /** @internal */ export type CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreUiDescription$Outbound = | CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyStore2$Outbound @@ -7109,22 +5942,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic z.string(), ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreUiDescription$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreUiDescription$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreUiDescription$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreUiDescription$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreUiDescription$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreUiDescription$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreUiDescription$Outbound; -} - export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreUiDescriptionToJSON( createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreUiDescription: CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreUiDescription, @@ -7136,7 +5953,6 @@ export function createIntegrationStoreDirectPropertiesIntegrationsResponse200App ), ); } - export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreUiDescriptionFromJSON( jsonString: string, ): SafeParseResult< @@ -7161,7 +5977,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic > = z.object({ expr: z.string(), }); - /** @internal */ export type CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreUiFormattedValue$Outbound = { @@ -7178,22 +5993,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreUiFormattedValue$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreUiFormattedValue$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreUiFormattedValue$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreUiFormattedValue$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreUiFormattedValue$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreUiFormattedValue$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreUiFormattedValue$Outbound; -} - export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreUiFormattedValueToJSON( createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreUiFormattedValue: CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreUiFormattedValue, @@ -7205,7 +6004,6 @@ export function createIntegrationStoreDirectPropertiesIntegrationsResponse200App ), ); } - export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreUiFormattedValueFromJSON( jsonString: string, ): SafeParseResult< @@ -7295,7 +6093,6 @@ export const CreateIntegrationStoreDirectProperties7$inboundSchema: z.ZodType< "ui:placeholder": "uiPlaceholder", }); }); - /** @internal */ export type CreateIntegrationStoreDirectProperties7$Outbound = { type: string; @@ -7418,21 +6215,6 @@ export const CreateIntegrationStoreDirectProperties7$outboundSchema: z.ZodType< }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectProperties7$ { - /** @deprecated use `CreateIntegrationStoreDirectProperties7$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectProperties7$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectProperties7$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectProperties7$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectProperties7$Outbound` instead. */ - export type Outbound = CreateIntegrationStoreDirectProperties7$Outbound; -} - export function createIntegrationStoreDirectProperties7ToJSON( createIntegrationStoreDirectProperties7: CreateIntegrationStoreDirectProperties7, @@ -7443,7 +6225,6 @@ export function createIntegrationStoreDirectProperties7ToJSON( ), ); } - export function createIntegrationStoreDirectProperties7FromJSON( jsonString: string, ): SafeParseResult< @@ -7467,7 +6248,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic > = z.nativeEnum( CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyType, ); - /** @internal */ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyType$outboundSchema: z.ZodNativeEnum< @@ -7475,19 +6255,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic > = CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyType$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyType$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyType$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyType$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyType$outboundSchema; -} - /** @internal */ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6Type$inboundSchema: z.ZodNativeEnum< @@ -7495,7 +6262,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic > = z.nativeEnum( CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6Type, ); - /** @internal */ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6Type$outboundSchema: z.ZodNativeEnum< @@ -7503,79 +6269,48 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic > = CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6Type$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6Type$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6Type$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6Type$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6Type$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6Type$outboundSchema; -} - /** @internal */ -export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsAtBRANDAt8486$inboundSchema: +export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsAtBRANDAt8795$inboundSchema: z.ZodType< - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsAtBRANDAt8486, + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsAtBRANDAt8795, z.ZodTypeDef, unknown > = z.object({}); - /** @internal */ -export type CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsAtBRANDAt8486$Outbound = +export type CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsAtBRANDAt8795$Outbound = {}; /** @internal */ -export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsAtBRANDAt8486$outboundSchema: +export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsAtBRANDAt8795$outboundSchema: z.ZodType< - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsAtBRANDAt8486$Outbound, + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsAtBRANDAt8795$Outbound, z.ZodTypeDef, - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsAtBRANDAt8486 + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsAtBRANDAt8795 > = 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 CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsAtBRANDAt8486$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsAtBRANDAt8486$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsAtBRANDAt8486$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsAtBRANDAt8486$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsAtBRANDAt8486$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsAtBRANDAt8486$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsAtBRANDAt8486$Outbound; -} - -export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsAtBRANDAt8486ToJSON( - createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsAtBRANDAt8486: - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsAtBRANDAt8486, +export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsAtBRANDAt8795ToJSON( + createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsAtBRANDAt8795: + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsAtBRANDAt8795, ): string { return JSON.stringify( - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsAtBRANDAt8486$outboundSchema + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsAtBRANDAt8795$outboundSchema .parse( - createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsAtBRANDAt8486, + createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsAtBRANDAt8795, ), ); } - -export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsAtBRANDAt8486FromJSON( +export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsAtBRANDAt8795FromJSON( jsonString: string, ): SafeParseResult< - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsAtBRANDAt8486, + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsAtBRANDAt8795, SDKValidationError > { return safeParse( jsonString, (x) => - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsAtBRANDAt8486$inboundSchema + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsAtBRANDAt8795$inboundSchema .parse(JSON.parse(x)), - `Failed to parse 'CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsAtBRANDAt8486' from JSON`, + `Failed to parse 'CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsAtBRANDAt8795' from JSON`, ); } @@ -7586,20 +6321,19 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic z.ZodTypeDef, unknown > = z.object({ - "__@BRAND@8486": z.lazy(() => - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsAtBRANDAt8486$inboundSchema + "__@BRAND@8795": z.lazy(() => + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsAtBRANDAt8795$inboundSchema ), }).transform((v) => { return remap$(v, { - "__@BRAND@8486": "atBRANDAt8486", + "__@BRAND@8795": "atBRANDAt8795", }); }); - /** @internal */ export type CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONMinLength$Outbound = { - "__@BRAND@8486": - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsAtBRANDAt8486$Outbound; + "__@BRAND@8795": + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsAtBRANDAt8795$Outbound; }; /** @internal */ @@ -7609,31 +6343,15 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic z.ZodTypeDef, CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONMinLength > = z.object({ - atBRANDAt8486: z.lazy(() => - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsAtBRANDAt8486$outboundSchema + atBRANDAt8795: z.lazy(() => + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsAtBRANDAt8795$outboundSchema ), }).transform((v) => { return remap$(v, { - atBRANDAt8486: "__@BRAND@8486", + atBRANDAt8795: "__@BRAND@8795", }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONMinLength$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONMinLength$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONMinLength$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONMinLength$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONMinLength$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONMinLength$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONMinLength$Outbound; -} - export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONMinLengthToJSON( createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONMinLength: CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONMinLength, @@ -7645,7 +6363,6 @@ export function createIntegrationStoreDirectPropertiesIntegrationsResponse200App ), ); } - export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONMinLengthFromJSON( jsonString: string, ): SafeParseResult< @@ -7662,65 +6379,47 @@ export function createIntegrationStoreDirectPropertiesIntegrationsResponse200App } /** @internal */ -export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsMaxLengthAtBRANDAt8486$inboundSchema: +export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsMaxLengthAtBRANDAt8795$inboundSchema: z.ZodType< - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsMaxLengthAtBRANDAt8486, + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsMaxLengthAtBRANDAt8795, z.ZodTypeDef, unknown > = z.object({}); - /** @internal */ -export type CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsMaxLengthAtBRANDAt8486$Outbound = +export type CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsMaxLengthAtBRANDAt8795$Outbound = {}; /** @internal */ -export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsMaxLengthAtBRANDAt8486$outboundSchema: +export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsMaxLengthAtBRANDAt8795$outboundSchema: z.ZodType< - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsMaxLengthAtBRANDAt8486$Outbound, + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsMaxLengthAtBRANDAt8795$Outbound, z.ZodTypeDef, - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsMaxLengthAtBRANDAt8486 + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsMaxLengthAtBRANDAt8795 > = 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 CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsMaxLengthAtBRANDAt8486$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsMaxLengthAtBRANDAt8486$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsMaxLengthAtBRANDAt8486$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsMaxLengthAtBRANDAt8486$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsMaxLengthAtBRANDAt8486$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsMaxLengthAtBRANDAt8486$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsMaxLengthAtBRANDAt8486$Outbound; -} - -export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsMaxLengthAtBRANDAt8486ToJSON( - createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsMaxLengthAtBRANDAt8486: - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsMaxLengthAtBRANDAt8486, +export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsMaxLengthAtBRANDAt8795ToJSON( + createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsMaxLengthAtBRANDAt8795: + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsMaxLengthAtBRANDAt8795, ): string { return JSON.stringify( - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsMaxLengthAtBRANDAt8486$outboundSchema + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsMaxLengthAtBRANDAt8795$outboundSchema .parse( - createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsMaxLengthAtBRANDAt8486, + createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsMaxLengthAtBRANDAt8795, ), ); } - -export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsMaxLengthAtBRANDAt8486FromJSON( +export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsMaxLengthAtBRANDAt8795FromJSON( jsonString: string, ): SafeParseResult< - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsMaxLengthAtBRANDAt8486, + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsMaxLengthAtBRANDAt8795, SDKValidationError > { return safeParse( jsonString, (x) => - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsMaxLengthAtBRANDAt8486$inboundSchema + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsMaxLengthAtBRANDAt8795$inboundSchema .parse(JSON.parse(x)), - `Failed to parse 'CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsMaxLengthAtBRANDAt8486' from JSON`, + `Failed to parse 'CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsMaxLengthAtBRANDAt8795' from JSON`, ); } @@ -7731,20 +6430,19 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic z.ZodTypeDef, unknown > = z.object({ - "__@BRAND@8486": z.lazy(() => - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsMaxLengthAtBRANDAt8486$inboundSchema + "__@BRAND@8795": z.lazy(() => + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsMaxLengthAtBRANDAt8795$inboundSchema ), }).transform((v) => { return remap$(v, { - "__@BRAND@8486": "atBRANDAt8486", + "__@BRAND@8795": "atBRANDAt8795", }); }); - /** @internal */ export type CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONMaxLength$Outbound = { - "__@BRAND@8486": - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsMaxLengthAtBRANDAt8486$Outbound; + "__@BRAND@8795": + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsMaxLengthAtBRANDAt8795$Outbound; }; /** @internal */ @@ -7754,31 +6452,15 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic z.ZodTypeDef, CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONMaxLength > = z.object({ - atBRANDAt8486: z.lazy(() => - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsMaxLengthAtBRANDAt8486$outboundSchema + atBRANDAt8795: z.lazy(() => + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6ItemsMaxLengthAtBRANDAt8795$outboundSchema ), }).transform((v) => { return remap$(v, { - atBRANDAt8486: "__@BRAND@8486", + atBRANDAt8795: "__@BRAND@8795", }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONMaxLength$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONMaxLength$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONMaxLength$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONMaxLength$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONMaxLength$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONMaxLength$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONMaxLength$Outbound; -} - export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONMaxLengthToJSON( createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONMaxLength: CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONMaxLength, @@ -7790,7 +6472,6 @@ export function createIntegrationStoreDirectPropertiesIntegrationsResponse200App ), ); } - export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONMaxLengthFromJSON( jsonString: string, ): SafeParseResult< @@ -7807,65 +6488,47 @@ export function createIntegrationStoreDirectPropertiesIntegrationsResponse200App } /** @internal */ -export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6AtBRANDAt8486$inboundSchema: +export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6AtBRANDAt8795$inboundSchema: z.ZodType< - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6AtBRANDAt8486, + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6AtBRANDAt8795, z.ZodTypeDef, unknown > = z.object({}); - /** @internal */ -export type CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6AtBRANDAt8486$Outbound = +export type CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6AtBRANDAt8795$Outbound = {}; /** @internal */ -export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6AtBRANDAt8486$outboundSchema: +export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6AtBRANDAt8795$outboundSchema: z.ZodType< - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6AtBRANDAt8486$Outbound, + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6AtBRANDAt8795$Outbound, z.ZodTypeDef, - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6AtBRANDAt8486 + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6AtBRANDAt8795 > = 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 CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6AtBRANDAt8486$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6AtBRANDAt8486$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6AtBRANDAt8486$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6AtBRANDAt8486$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6AtBRANDAt8486$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6AtBRANDAt8486$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6AtBRANDAt8486$Outbound; -} - -export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6AtBRANDAt8486ToJSON( - createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6AtBRANDAt8486: - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6AtBRANDAt8486, +export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6AtBRANDAt8795ToJSON( + createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6AtBRANDAt8795: + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6AtBRANDAt8795, ): string { return JSON.stringify( - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6AtBRANDAt8486$outboundSchema + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6AtBRANDAt8795$outboundSchema .parse( - createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6AtBRANDAt8486, + createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6AtBRANDAt8795, ), ); } - -export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6AtBRANDAt8486FromJSON( +export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6AtBRANDAt8795FromJSON( jsonString: string, ): SafeParseResult< - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6AtBRANDAt8486, + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6AtBRANDAt8795, SDKValidationError > { return safeParse( jsonString, (x) => - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6AtBRANDAt8486$inboundSchema + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6AtBRANDAt8795$inboundSchema .parse(JSON.parse(x)), - `Failed to parse 'CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6AtBRANDAt8486' from JSON`, + `Failed to parse 'CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6AtBRANDAt8795' from JSON`, ); } @@ -7876,20 +6539,19 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic z.ZodTypeDef, unknown > = z.object({ - "__@BRAND@8486": z.lazy(() => - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6AtBRANDAt8486$inboundSchema + "__@BRAND@8795": z.lazy(() => + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6AtBRANDAt8795$inboundSchema ), }).transform((v) => { return remap$(v, { - "__@BRAND@8486": "atBRANDAt8486", + "__@BRAND@8795": "atBRANDAt8795", }); }); - /** @internal */ export type CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONPattern$Outbound = { - "__@BRAND@8486": - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6AtBRANDAt8486$Outbound; + "__@BRAND@8795": + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6AtBRANDAt8795$Outbound; }; /** @internal */ @@ -7899,31 +6561,15 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic z.ZodTypeDef, CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONPattern > = z.object({ - atBRANDAt8486: z.lazy(() => - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6AtBRANDAt8486$outboundSchema + atBRANDAt8795: z.lazy(() => + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema6AtBRANDAt8795$outboundSchema ), }).transform((v) => { return remap$(v, { - atBRANDAt8486: "__@BRAND@8486", + atBRANDAt8795: "__@BRAND@8795", }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONPattern$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONPattern$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONPattern$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONPattern$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONPattern$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONPattern$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONPattern$Outbound; -} - export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONPatternToJSON( createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONPattern: CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONPattern, @@ -7935,7 +6581,6 @@ export function createIntegrationStoreDirectPropertiesIntegrationsResponse200App ), ); } - export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONPatternFromJSON( jsonString: string, ): SafeParseResult< @@ -7973,7 +6618,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsItems$inboundSche default: z.string().optional(), enum: z.array(z.string()).optional(), }); - /** @internal */ export type CreateIntegrationStoreDirectPropertiesIntegrationsItems$Outbound = { type: string; @@ -8014,22 +6658,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsItems$outboundSch enum: 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 CreateIntegrationStoreDirectPropertiesIntegrationsItems$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsItems$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsItems$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsItems$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsItems$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsItems$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectPropertiesIntegrationsItems$Outbound; -} - export function createIntegrationStoreDirectPropertiesIntegrationsItemsToJSON( createIntegrationStoreDirectPropertiesIntegrationsItems: CreateIntegrationStoreDirectPropertiesIntegrationsItems, @@ -8039,7 +6667,6 @@ export function createIntegrationStoreDirectPropertiesIntegrationsItemsToJSON( .parse(createIntegrationStoreDirectPropertiesIntegrationsItems), ); } - export function createIntegrationStoreDirectPropertiesIntegrationsItemsFromJSON( jsonString: string, ): SafeParseResult< @@ -8062,7 +6689,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic > = z.nativeEnum( CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiControl, ); - /** @internal */ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiControl$outboundSchema: z.ZodNativeEnum< @@ -8070,42 +6696,15 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic > = CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiControl$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiControl$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiControl$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiControl$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiControl$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiControl$outboundSchema; -} - /** @internal */ export const CreateIntegrationStoreDirectDisabledIntegrations3$inboundSchema: z.ZodNativeEnum = z .nativeEnum(CreateIntegrationStoreDirectDisabledIntegrations3); - /** @internal */ export const CreateIntegrationStoreDirectDisabledIntegrations3$outboundSchema: z.ZodNativeEnum = CreateIntegrationStoreDirectDisabledIntegrations3$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectDisabledIntegrations3$ { - /** @deprecated use `CreateIntegrationStoreDirectDisabledIntegrations3$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectDisabledIntegrations3$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectDisabledIntegrations3$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectDisabledIntegrations3$outboundSchema; -} - /** @internal */ export const CreateIntegrationStoreDirectDisabledIntegrations2$inboundSchema: z.ZodType< @@ -8115,7 +6714,6 @@ export const CreateIntegrationStoreDirectDisabledIntegrations2$inboundSchema: > = z.object({ expr: z.string(), }); - /** @internal */ export type CreateIntegrationStoreDirectDisabledIntegrations2$Outbound = { expr: string; @@ -8131,22 +6729,6 @@ export const CreateIntegrationStoreDirectDisabledIntegrations2$outboundSchema: expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectDisabledIntegrations2$ { - /** @deprecated use `CreateIntegrationStoreDirectDisabledIntegrations2$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectDisabledIntegrations2$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectDisabledIntegrations2$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectDisabledIntegrations2$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectDisabledIntegrations2$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectDisabledIntegrations2$Outbound; -} - export function createIntegrationStoreDirectDisabledIntegrations2ToJSON( createIntegrationStoreDirectDisabledIntegrations2: CreateIntegrationStoreDirectDisabledIntegrations2, @@ -8157,7 +6739,6 @@ export function createIntegrationStoreDirectDisabledIntegrations2ToJSON( ), ); } - export function createIntegrationStoreDirectDisabledIntegrations2FromJSON( jsonString: string, ): SafeParseResult< @@ -8187,7 +6768,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsDisabled$inboundS z.boolean(), CreateIntegrationStoreDirectDisabledIntegrations3$inboundSchema, ]); - /** @internal */ export type CreateIntegrationStoreDirectPropertiesIntegrationsDisabled$Outbound = | CreateIntegrationStoreDirectDisabledIntegrations2$Outbound @@ -8208,22 +6788,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsDisabled$outbound CreateIntegrationStoreDirectDisabledIntegrations3$outboundSchema, ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectPropertiesIntegrationsDisabled$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsDisabled$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsDisabled$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsDisabled$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsDisabled$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsDisabled$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectPropertiesIntegrationsDisabled$Outbound; -} - export function createIntegrationStoreDirectPropertiesIntegrationsDisabledToJSON( createIntegrationStoreDirectPropertiesIntegrationsDisabled: CreateIntegrationStoreDirectPropertiesIntegrationsDisabled, @@ -8233,7 +6797,6 @@ export function createIntegrationStoreDirectPropertiesIntegrationsDisabledToJSON .parse(createIntegrationStoreDirectPropertiesIntegrationsDisabled), ); } - export function createIntegrationStoreDirectPropertiesIntegrationsDisabledFromJSON( jsonString: string, ): SafeParseResult< @@ -8253,25 +6816,11 @@ export function createIntegrationStoreDirectPropertiesIntegrationsDisabledFromJS export const CreateIntegrationStoreDirectHiddenIntegrations3$inboundSchema: z.ZodNativeEnum = z .nativeEnum(CreateIntegrationStoreDirectHiddenIntegrations3); - /** @internal */ export const CreateIntegrationStoreDirectHiddenIntegrations3$outboundSchema: z.ZodNativeEnum = CreateIntegrationStoreDirectHiddenIntegrations3$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectHiddenIntegrations3$ { - /** @deprecated use `CreateIntegrationStoreDirectHiddenIntegrations3$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectHiddenIntegrations3$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectHiddenIntegrations3$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectHiddenIntegrations3$outboundSchema; -} - /** @internal */ export const CreateIntegrationStoreDirectHiddenIntegrations2$inboundSchema: z.ZodType< @@ -8281,7 +6830,6 @@ export const CreateIntegrationStoreDirectHiddenIntegrations2$inboundSchema: > = z.object({ expr: z.string(), }); - /** @internal */ export type CreateIntegrationStoreDirectHiddenIntegrations2$Outbound = { expr: string; @@ -8297,22 +6845,6 @@ export const CreateIntegrationStoreDirectHiddenIntegrations2$outboundSchema: expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectHiddenIntegrations2$ { - /** @deprecated use `CreateIntegrationStoreDirectHiddenIntegrations2$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectHiddenIntegrations2$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectHiddenIntegrations2$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectHiddenIntegrations2$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectHiddenIntegrations2$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectHiddenIntegrations2$Outbound; -} - export function createIntegrationStoreDirectHiddenIntegrations2ToJSON( createIntegrationStoreDirectHiddenIntegrations2: CreateIntegrationStoreDirectHiddenIntegrations2, @@ -8323,7 +6855,6 @@ export function createIntegrationStoreDirectHiddenIntegrations2ToJSON( ), ); } - export function createIntegrationStoreDirectHiddenIntegrations2FromJSON( jsonString: string, ): SafeParseResult< @@ -8351,7 +6882,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsHidden$inboundSch z.boolean(), CreateIntegrationStoreDirectHiddenIntegrations3$inboundSchema, ]); - /** @internal */ export type CreateIntegrationStoreDirectPropertiesIntegrationsHidden$Outbound = | CreateIntegrationStoreDirectHiddenIntegrations2$Outbound @@ -8372,22 +6902,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsHidden$outboundSc CreateIntegrationStoreDirectHiddenIntegrations3$outboundSchema, ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectPropertiesIntegrationsHidden$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsHidden$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsHidden$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsHidden$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsHidden$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsHidden$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectPropertiesIntegrationsHidden$Outbound; -} - export function createIntegrationStoreDirectPropertiesIntegrationsHiddenToJSON( createIntegrationStoreDirectPropertiesIntegrationsHidden: CreateIntegrationStoreDirectPropertiesIntegrationsHidden, @@ -8397,7 +6911,6 @@ export function createIntegrationStoreDirectPropertiesIntegrationsHiddenToJSON( .parse(createIntegrationStoreDirectPropertiesIntegrationsHidden), ); } - export function createIntegrationStoreDirectPropertiesIntegrationsHiddenFromJSON( jsonString: string, ): SafeParseResult< @@ -8437,7 +6950,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsUiOptions$inbound CreateIntegrationStoreDirectHiddenIntegrations3$inboundSchema, ]).optional(), }); - /** @internal */ export type CreateIntegrationStoreDirectPropertiesIntegrationsUiOptions$Outbound = { @@ -8480,22 +6992,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsUiOptions$outboun ]).optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectPropertiesIntegrationsUiOptions$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsUiOptions$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsUiOptions$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsUiOptions$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsUiOptions$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsUiOptions$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectPropertiesIntegrationsUiOptions$Outbound; -} - export function createIntegrationStoreDirectPropertiesIntegrationsUiOptionsToJSON( createIntegrationStoreDirectPropertiesIntegrationsUiOptions: CreateIntegrationStoreDirectPropertiesIntegrationsUiOptions, @@ -8505,7 +7001,6 @@ export function createIntegrationStoreDirectPropertiesIntegrationsUiOptionsToJSO .parse(createIntegrationStoreDirectPropertiesIntegrationsUiOptions), ); } - export function createIntegrationStoreDirectPropertiesIntegrationsUiOptionsFromJSON( jsonString: string, ): SafeParseResult< @@ -8528,7 +7023,6 @@ export const CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200Applic > = z.nativeEnum( CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBody3, ); - /** @internal */ export const CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBody3$outboundSchema: z.ZodNativeEnum< @@ -8536,19 +7030,6 @@ export const CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200Applic > = CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBody3$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBody3$ { - /** @deprecated use `CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBody3$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBody3$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBody3$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBody3$outboundSchema; -} - /** @internal */ export const CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBody2$inboundSchema: z.ZodType< @@ -8558,7 +7039,6 @@ export const CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200Applic > = z.object({ expr: z.string(), }); - /** @internal */ export type CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBody2$Outbound = { @@ -8575,22 +7055,6 @@ export const CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200Applic expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBody2$ { - /** @deprecated use `CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBody2$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBody2$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBody2$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBody2$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBody2$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBody2$Outbound; -} - export function createIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBody2ToJSON( createIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBody2: CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBody2, @@ -8602,7 +7066,6 @@ export function createIntegrationStoreDirectUiReadOnlyIntegrationsResponse200App ), ); } - export function createIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBody2FromJSON( jsonString: string, ): SafeParseResult< @@ -8631,7 +7094,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic z.boolean(), CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBody3$inboundSchema, ]); - /** @internal */ export type CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiReadOnly$Outbound = | CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBody2$Outbound @@ -8652,22 +7114,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBody3$outboundSchema, ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiReadOnly$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiReadOnly$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiReadOnly$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiReadOnly$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiReadOnly$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiReadOnly$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiReadOnly$Outbound; -} - export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiReadOnlyToJSON( createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiReadOnly: CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiReadOnly, @@ -8679,7 +7125,6 @@ export function createIntegrationStoreDirectPropertiesIntegrationsResponse200App ), ); } - export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiReadOnlyFromJSON( jsonString: string, ): SafeParseResult< @@ -8702,7 +7147,6 @@ export const CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200Applicat > = z.nativeEnum( CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBody3, ); - /** @internal */ export const CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBody3$outboundSchema: z.ZodNativeEnum< @@ -8710,19 +7154,6 @@ export const CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200Applicat > = CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBody3$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBody3$ { - /** @deprecated use `CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBody3$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBody3$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBody3$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBody3$outboundSchema; -} - /** @internal */ export const CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBody2$inboundSchema: z.ZodType< @@ -8732,7 +7163,6 @@ export const CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200Applicat > = z.object({ expr: z.string(), }); - /** @internal */ export type CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBody2$Outbound = { @@ -8749,22 +7179,6 @@ export const CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200Applicat expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBody2$ { - /** @deprecated use `CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBody2$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBody2$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBody2$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBody2$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBody2$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBody2$Outbound; -} - export function createIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBody2ToJSON( createIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBody2: CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBody2, @@ -8776,7 +7190,6 @@ export function createIntegrationStoreDirectUiHiddenIntegrationsResponse200Appli ), ); } - export function createIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBody2FromJSON( jsonString: string, ): SafeParseResult< @@ -8805,7 +7218,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic z.boolean(), CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBody3$inboundSchema, ]); - /** @internal */ export type CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiHidden$Outbound = | CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBody2$Outbound @@ -8826,22 +7238,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSONResponseBody3$outboundSchema, ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiHidden$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiHidden$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiHidden$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiHidden$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiHidden$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiHidden$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiHidden$Outbound; -} - export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiHiddenToJSON( createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiHidden: CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiHidden, @@ -8853,7 +7249,6 @@ export function createIntegrationStoreDirectPropertiesIntegrationsResponse200App ), ); } - export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiHiddenFromJSON( jsonString: string, ): SafeParseResult< @@ -8876,7 +7271,6 @@ export const CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200Applic > = z.nativeEnum( CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBody3, ); - /** @internal */ export const CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBody3$outboundSchema: z.ZodNativeEnum< @@ -8884,19 +7278,6 @@ export const CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200Applic > = CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBody3$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBody3$ { - /** @deprecated use `CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBody3$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBody3$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBody3$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBody3$outboundSchema; -} - /** @internal */ export const CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBody2$inboundSchema: z.ZodType< @@ -8906,7 +7287,6 @@ export const CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200Applic > = z.object({ expr: z.string(), }); - /** @internal */ export type CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBody2$Outbound = { @@ -8923,22 +7303,6 @@ export const CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200Applic expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBody2$ { - /** @deprecated use `CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBody2$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBody2$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBody2$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBody2$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBody2$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBody2$Outbound; -} - export function createIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBody2ToJSON( createIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBody2: CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBody2, @@ -8950,7 +7314,6 @@ export function createIntegrationStoreDirectUiDisabledIntegrationsResponse200App ), ); } - export function createIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBody2FromJSON( jsonString: string, ): SafeParseResult< @@ -8979,7 +7342,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic z.boolean(), CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBody3$inboundSchema, ]); - /** @internal */ export type CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiDisabled$Outbound = | CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBody2$Outbound @@ -9000,22 +7362,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSONResponseBody3$outboundSchema, ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiDisabled$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiDisabled$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiDisabled$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiDisabled$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiDisabled$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiDisabled$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiDisabled$Outbound; -} - export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiDisabledToJSON( createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiDisabled: CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiDisabled, @@ -9027,7 +7373,6 @@ export function createIntegrationStoreDirectPropertiesIntegrationsResponse200App ), ); } - export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiDisabledFromJSON( jsonString: string, ): SafeParseResult< @@ -9052,7 +7397,6 @@ export const CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse200App > = z.object({ expr: z.string(), }); - /** @internal */ export type CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJSONResponseBody2$Outbound = { @@ -9069,22 +7413,6 @@ export const CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse200App expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJSONResponseBody2$ { - /** @deprecated use `CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJSONResponseBody2$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJSONResponseBody2$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJSONResponseBody2$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJSONResponseBody2$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJSONResponseBody2$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJSONResponseBody2$Outbound; -} - export function createIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJSONResponseBody2ToJSON( createIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJSONResponseBody2: CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJSONResponseBody2, @@ -9096,7 +7424,6 @@ export function createIntegrationStoreDirectUiDescriptionIntegrationsResponse200 ), ); } - export function createIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJSONResponseBody2FromJSON( jsonString: string, ): SafeParseResult< @@ -9124,7 +7451,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic ), z.string(), ]); - /** @internal */ export type CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiDescription$Outbound = | CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJSONResponseBody2$Outbound @@ -9143,22 +7469,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic z.string(), ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiDescription$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiDescription$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiDescription$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiDescription$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiDescription$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiDescription$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiDescription$Outbound; -} - export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiDescriptionToJSON( createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiDescription: CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiDescription, @@ -9170,7 +7480,6 @@ export function createIntegrationStoreDirectPropertiesIntegrationsResponse200App ), ); } - export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiDescriptionFromJSON( jsonString: string, ): SafeParseResult< @@ -9195,7 +7504,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic > = z.object({ expr: z.string(), }); - /** @internal */ export type CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiFormattedValue$Outbound = { @@ -9212,22 +7520,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiFormattedValue$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiFormattedValue$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiFormattedValue$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiFormattedValue$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiFormattedValue$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiFormattedValue$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiFormattedValue$Outbound; -} - export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiFormattedValueToJSON( createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiFormattedValue: CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiFormattedValue, @@ -9239,7 +7531,6 @@ export function createIntegrationStoreDirectPropertiesIntegrationsResponse200App ), ); } - export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiFormattedValueFromJSON( jsonString: string, ): SafeParseResult< @@ -9323,7 +7614,6 @@ export const CreateIntegrationStoreDirectProperties6$inboundSchema: z.ZodType< "ui:placeholder": "uiPlaceholder", }); }); - /** @internal */ export type CreateIntegrationStoreDirectProperties6$Outbound = { type: string; @@ -9432,21 +7722,6 @@ export const CreateIntegrationStoreDirectProperties6$outboundSchema: z.ZodType< }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectProperties6$ { - /** @deprecated use `CreateIntegrationStoreDirectProperties6$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectProperties6$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectProperties6$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectProperties6$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectProperties6$Outbound` instead. */ - export type Outbound = CreateIntegrationStoreDirectProperties6$Outbound; -} - export function createIntegrationStoreDirectProperties6ToJSON( createIntegrationStoreDirectProperties6: CreateIntegrationStoreDirectProperties6, @@ -9457,7 +7732,6 @@ export function createIntegrationStoreDirectProperties6ToJSON( ), ); } - export function createIntegrationStoreDirectProperties6FromJSON( jsonString: string, ): SafeParseResult< @@ -9481,7 +7755,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic > = z.nativeEnum( CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONType, ); - /** @internal */ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONType$outboundSchema: z.ZodNativeEnum< @@ -9489,19 +7762,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic > = CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONType$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONType$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONType$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONType$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONType$outboundSchema; -} - /** @internal */ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONUiControl$inboundSchema: z.ZodNativeEnum< @@ -9509,7 +7769,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic > = z.nativeEnum( CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONUiControl, ); - /** @internal */ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONUiControl$outboundSchema: z.ZodNativeEnum< @@ -9517,44 +7776,17 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic > = CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONUiControl$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONUiControl$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONUiControl$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONUiControl$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONUiControl$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONUiControl$outboundSchema; -} - /** @internal */ export const CreateIntegrationStoreDirectDisabledIntegrationsResponse3$inboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectDisabledIntegrationsResponse3 > = z.nativeEnum(CreateIntegrationStoreDirectDisabledIntegrationsResponse3); - /** @internal */ export const CreateIntegrationStoreDirectDisabledIntegrationsResponse3$outboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectDisabledIntegrationsResponse3 > = CreateIntegrationStoreDirectDisabledIntegrationsResponse3$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectDisabledIntegrationsResponse3$ { - /** @deprecated use `CreateIntegrationStoreDirectDisabledIntegrationsResponse3$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectDisabledIntegrationsResponse3$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectDisabledIntegrationsResponse3$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectDisabledIntegrationsResponse3$outboundSchema; -} - /** @internal */ export const CreateIntegrationStoreDirectDisabledIntegrationsResponse2$inboundSchema: z.ZodType< @@ -9564,7 +7796,6 @@ export const CreateIntegrationStoreDirectDisabledIntegrationsResponse2$inboundSc > = z.object({ expr: z.string(), }); - /** @internal */ export type CreateIntegrationStoreDirectDisabledIntegrationsResponse2$Outbound = { @@ -9581,22 +7812,6 @@ export const CreateIntegrationStoreDirectDisabledIntegrationsResponse2$outboundS expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectDisabledIntegrationsResponse2$ { - /** @deprecated use `CreateIntegrationStoreDirectDisabledIntegrationsResponse2$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectDisabledIntegrationsResponse2$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectDisabledIntegrationsResponse2$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectDisabledIntegrationsResponse2$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectDisabledIntegrationsResponse2$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectDisabledIntegrationsResponse2$Outbound; -} - export function createIntegrationStoreDirectDisabledIntegrationsResponse2ToJSON( createIntegrationStoreDirectDisabledIntegrationsResponse2: CreateIntegrationStoreDirectDisabledIntegrationsResponse2, @@ -9606,7 +7821,6 @@ export function createIntegrationStoreDirectDisabledIntegrationsResponse2ToJSON( .parse(createIntegrationStoreDirectDisabledIntegrationsResponse2), ); } - export function createIntegrationStoreDirectDisabledIntegrationsResponse2FromJSON( jsonString: string, ): SafeParseResult< @@ -9635,7 +7849,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponseDisabled$ z.boolean(), CreateIntegrationStoreDirectDisabledIntegrationsResponse3$inboundSchema, ]); - /** @internal */ export type CreateIntegrationStoreDirectPropertiesIntegrationsResponseDisabled$Outbound = | CreateIntegrationStoreDirectDisabledIntegrationsResponse2$Outbound @@ -9656,22 +7869,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponseDisabled$ CreateIntegrationStoreDirectDisabledIntegrationsResponse3$outboundSchema, ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectPropertiesIntegrationsResponseDisabled$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponseDisabled$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponseDisabled$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponseDisabled$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponseDisabled$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponseDisabled$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectPropertiesIntegrationsResponseDisabled$Outbound; -} - export function createIntegrationStoreDirectPropertiesIntegrationsResponseDisabledToJSON( createIntegrationStoreDirectPropertiesIntegrationsResponseDisabled: CreateIntegrationStoreDirectPropertiesIntegrationsResponseDisabled, @@ -9683,7 +7880,6 @@ export function createIntegrationStoreDirectPropertiesIntegrationsResponseDisabl ), ); } - export function createIntegrationStoreDirectPropertiesIntegrationsResponseDisabledFromJSON( jsonString: string, ): SafeParseResult< @@ -9704,26 +7900,12 @@ export const CreateIntegrationStoreDirectHiddenIntegrationsResponse3$inboundSche z.ZodNativeEnum< typeof CreateIntegrationStoreDirectHiddenIntegrationsResponse3 > = z.nativeEnum(CreateIntegrationStoreDirectHiddenIntegrationsResponse3); - /** @internal */ export const CreateIntegrationStoreDirectHiddenIntegrationsResponse3$outboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectHiddenIntegrationsResponse3 > = CreateIntegrationStoreDirectHiddenIntegrationsResponse3$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectHiddenIntegrationsResponse3$ { - /** @deprecated use `CreateIntegrationStoreDirectHiddenIntegrationsResponse3$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectHiddenIntegrationsResponse3$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectHiddenIntegrationsResponse3$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectHiddenIntegrationsResponse3$outboundSchema; -} - /** @internal */ export const CreateIntegrationStoreDirectHiddenIntegrationsResponse2$inboundSchema: z.ZodType< @@ -9733,7 +7915,6 @@ export const CreateIntegrationStoreDirectHiddenIntegrationsResponse2$inboundSche > = z.object({ expr: z.string(), }); - /** @internal */ export type CreateIntegrationStoreDirectHiddenIntegrationsResponse2$Outbound = { expr: string; @@ -9749,22 +7930,6 @@ export const CreateIntegrationStoreDirectHiddenIntegrationsResponse2$outboundSch expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectHiddenIntegrationsResponse2$ { - /** @deprecated use `CreateIntegrationStoreDirectHiddenIntegrationsResponse2$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectHiddenIntegrationsResponse2$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectHiddenIntegrationsResponse2$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectHiddenIntegrationsResponse2$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectHiddenIntegrationsResponse2$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectHiddenIntegrationsResponse2$Outbound; -} - export function createIntegrationStoreDirectHiddenIntegrationsResponse2ToJSON( createIntegrationStoreDirectHiddenIntegrationsResponse2: CreateIntegrationStoreDirectHiddenIntegrationsResponse2, @@ -9774,7 +7939,6 @@ export function createIntegrationStoreDirectHiddenIntegrationsResponse2ToJSON( .parse(createIntegrationStoreDirectHiddenIntegrationsResponse2), ); } - export function createIntegrationStoreDirectHiddenIntegrationsResponse2FromJSON( jsonString: string, ): SafeParseResult< @@ -9803,7 +7967,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponseHidden$in z.boolean(), CreateIntegrationStoreDirectHiddenIntegrationsResponse3$inboundSchema, ]); - /** @internal */ export type CreateIntegrationStoreDirectPropertiesIntegrationsResponseHidden$Outbound = | CreateIntegrationStoreDirectHiddenIntegrationsResponse2$Outbound @@ -9824,22 +7987,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponseHidden$ou CreateIntegrationStoreDirectHiddenIntegrationsResponse3$outboundSchema, ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectPropertiesIntegrationsResponseHidden$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponseHidden$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponseHidden$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponseHidden$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponseHidden$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponseHidden$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectPropertiesIntegrationsResponseHidden$Outbound; -} - export function createIntegrationStoreDirectPropertiesIntegrationsResponseHiddenToJSON( createIntegrationStoreDirectPropertiesIntegrationsResponseHidden: CreateIntegrationStoreDirectPropertiesIntegrationsResponseHidden, @@ -9849,7 +7996,6 @@ export function createIntegrationStoreDirectPropertiesIntegrationsResponseHidden .parse(createIntegrationStoreDirectPropertiesIntegrationsResponseHidden), ); } - export function createIntegrationStoreDirectPropertiesIntegrationsResponseHiddenFromJSON( jsonString: string, ): SafeParseResult< @@ -9889,7 +8035,6 @@ export const CreateIntegrationStoreDirectPropertiesUiOptions$inboundSchema: CreateIntegrationStoreDirectHiddenIntegrationsResponse3$inboundSchema, ]).optional(), }); - /** @internal */ export type CreateIntegrationStoreDirectPropertiesUiOptions$Outbound = { value: string; @@ -9931,22 +8076,6 @@ export const CreateIntegrationStoreDirectPropertiesUiOptions$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 CreateIntegrationStoreDirectPropertiesUiOptions$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesUiOptions$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesUiOptions$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesUiOptions$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesUiOptions$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesUiOptions$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectPropertiesUiOptions$Outbound; -} - export function createIntegrationStoreDirectPropertiesUiOptionsToJSON( createIntegrationStoreDirectPropertiesUiOptions: CreateIntegrationStoreDirectPropertiesUiOptions, @@ -9957,7 +8086,6 @@ export function createIntegrationStoreDirectPropertiesUiOptionsToJSON( ), ); } - export function createIntegrationStoreDirectPropertiesUiOptionsFromJSON( jsonString: string, ): SafeParseResult< @@ -9975,63 +8103,45 @@ export function createIntegrationStoreDirectPropertiesUiOptionsFromJSON( } /** @internal */ -export const CreateIntegrationStoreDirectPropertiesIntegrationsAtBRANDAt8486$inboundSchema: +export const CreateIntegrationStoreDirectPropertiesIntegrationsAtBRANDAt8795$inboundSchema: z.ZodType< - CreateIntegrationStoreDirectPropertiesIntegrationsAtBRANDAt8486, + CreateIntegrationStoreDirectPropertiesIntegrationsAtBRANDAt8795, z.ZodTypeDef, unknown > = z.object({}); - /** @internal */ -export type CreateIntegrationStoreDirectPropertiesIntegrationsAtBRANDAt8486$Outbound = +export type CreateIntegrationStoreDirectPropertiesIntegrationsAtBRANDAt8795$Outbound = {}; /** @internal */ -export const CreateIntegrationStoreDirectPropertiesIntegrationsAtBRANDAt8486$outboundSchema: +export const CreateIntegrationStoreDirectPropertiesIntegrationsAtBRANDAt8795$outboundSchema: z.ZodType< - CreateIntegrationStoreDirectPropertiesIntegrationsAtBRANDAt8486$Outbound, + CreateIntegrationStoreDirectPropertiesIntegrationsAtBRANDAt8795$Outbound, z.ZodTypeDef, - CreateIntegrationStoreDirectPropertiesIntegrationsAtBRANDAt8486 + CreateIntegrationStoreDirectPropertiesIntegrationsAtBRANDAt8795 > = 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 CreateIntegrationStoreDirectPropertiesIntegrationsAtBRANDAt8486$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsAtBRANDAt8486$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsAtBRANDAt8486$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsAtBRANDAt8486$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsAtBRANDAt8486$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsAtBRANDAt8486$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectPropertiesIntegrationsAtBRANDAt8486$Outbound; -} - -export function createIntegrationStoreDirectPropertiesIntegrationsAtBRANDAt8486ToJSON( - createIntegrationStoreDirectPropertiesIntegrationsAtBRANDAt8486: - CreateIntegrationStoreDirectPropertiesIntegrationsAtBRANDAt8486, +export function createIntegrationStoreDirectPropertiesIntegrationsAtBRANDAt8795ToJSON( + createIntegrationStoreDirectPropertiesIntegrationsAtBRANDAt8795: + CreateIntegrationStoreDirectPropertiesIntegrationsAtBRANDAt8795, ): string { return JSON.stringify( - CreateIntegrationStoreDirectPropertiesIntegrationsAtBRANDAt8486$outboundSchema - .parse(createIntegrationStoreDirectPropertiesIntegrationsAtBRANDAt8486), + CreateIntegrationStoreDirectPropertiesIntegrationsAtBRANDAt8795$outboundSchema + .parse(createIntegrationStoreDirectPropertiesIntegrationsAtBRANDAt8795), ); } - -export function createIntegrationStoreDirectPropertiesIntegrationsAtBRANDAt8486FromJSON( +export function createIntegrationStoreDirectPropertiesIntegrationsAtBRANDAt8795FromJSON( jsonString: string, ): SafeParseResult< - CreateIntegrationStoreDirectPropertiesIntegrationsAtBRANDAt8486, + CreateIntegrationStoreDirectPropertiesIntegrationsAtBRANDAt8795, SDKValidationError > { return safeParse( jsonString, (x) => - CreateIntegrationStoreDirectPropertiesIntegrationsAtBRANDAt8486$inboundSchema + CreateIntegrationStoreDirectPropertiesIntegrationsAtBRANDAt8795$inboundSchema .parse(JSON.parse(x)), - `Failed to parse 'CreateIntegrationStoreDirectPropertiesIntegrationsAtBRANDAt8486' from JSON`, + `Failed to parse 'CreateIntegrationStoreDirectPropertiesIntegrationsAtBRANDAt8795' from JSON`, ); } @@ -10042,20 +8152,19 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsMaxLength$inbound z.ZodTypeDef, unknown > = z.object({ - "__@BRAND@8486": z.lazy(() => - CreateIntegrationStoreDirectPropertiesIntegrationsAtBRANDAt8486$inboundSchema + "__@BRAND@8795": z.lazy(() => + CreateIntegrationStoreDirectPropertiesIntegrationsAtBRANDAt8795$inboundSchema ), }).transform((v) => { return remap$(v, { - "__@BRAND@8486": "atBRANDAt8486", + "__@BRAND@8795": "atBRANDAt8795", }); }); - /** @internal */ export type CreateIntegrationStoreDirectPropertiesIntegrationsMaxLength$Outbound = { - "__@BRAND@8486": - CreateIntegrationStoreDirectPropertiesIntegrationsAtBRANDAt8486$Outbound; + "__@BRAND@8795": + CreateIntegrationStoreDirectPropertiesIntegrationsAtBRANDAt8795$Outbound; }; /** @internal */ @@ -10065,31 +8174,15 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsMaxLength$outboun z.ZodTypeDef, CreateIntegrationStoreDirectPropertiesIntegrationsMaxLength > = z.object({ - atBRANDAt8486: z.lazy(() => - CreateIntegrationStoreDirectPropertiesIntegrationsAtBRANDAt8486$outboundSchema + atBRANDAt8795: z.lazy(() => + CreateIntegrationStoreDirectPropertiesIntegrationsAtBRANDAt8795$outboundSchema ), }).transform((v) => { return remap$(v, { - atBRANDAt8486: "__@BRAND@8486", + atBRANDAt8795: "__@BRAND@8795", }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectPropertiesIntegrationsMaxLength$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsMaxLength$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsMaxLength$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsMaxLength$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsMaxLength$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsMaxLength$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectPropertiesIntegrationsMaxLength$Outbound; -} - export function createIntegrationStoreDirectPropertiesIntegrationsMaxLengthToJSON( createIntegrationStoreDirectPropertiesIntegrationsMaxLength: CreateIntegrationStoreDirectPropertiesIntegrationsMaxLength, @@ -10099,7 +8192,6 @@ export function createIntegrationStoreDirectPropertiesIntegrationsMaxLengthToJSO .parse(createIntegrationStoreDirectPropertiesIntegrationsMaxLength), ); } - export function createIntegrationStoreDirectPropertiesIntegrationsMaxLengthFromJSON( jsonString: string, ): SafeParseResult< @@ -10116,65 +8208,47 @@ export function createIntegrationStoreDirectPropertiesIntegrationsMaxLengthFromJ } /** @internal */ -export const CreateIntegrationStoreDirectPropertiesIntegrationsResponseAtBRANDAt8486$inboundSchema: +export const CreateIntegrationStoreDirectPropertiesIntegrationsResponseAtBRANDAt8795$inboundSchema: z.ZodType< - CreateIntegrationStoreDirectPropertiesIntegrationsResponseAtBRANDAt8486, + CreateIntegrationStoreDirectPropertiesIntegrationsResponseAtBRANDAt8795, z.ZodTypeDef, unknown > = z.object({}); - /** @internal */ -export type CreateIntegrationStoreDirectPropertiesIntegrationsResponseAtBRANDAt8486$Outbound = +export type CreateIntegrationStoreDirectPropertiesIntegrationsResponseAtBRANDAt8795$Outbound = {}; /** @internal */ -export const CreateIntegrationStoreDirectPropertiesIntegrationsResponseAtBRANDAt8486$outboundSchema: +export const CreateIntegrationStoreDirectPropertiesIntegrationsResponseAtBRANDAt8795$outboundSchema: z.ZodType< - CreateIntegrationStoreDirectPropertiesIntegrationsResponseAtBRANDAt8486$Outbound, + CreateIntegrationStoreDirectPropertiesIntegrationsResponseAtBRANDAt8795$Outbound, z.ZodTypeDef, - CreateIntegrationStoreDirectPropertiesIntegrationsResponseAtBRANDAt8486 + CreateIntegrationStoreDirectPropertiesIntegrationsResponseAtBRANDAt8795 > = 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 CreateIntegrationStoreDirectPropertiesIntegrationsResponseAtBRANDAt8486$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponseAtBRANDAt8486$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponseAtBRANDAt8486$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponseAtBRANDAt8486$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponseAtBRANDAt8486$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponseAtBRANDAt8486$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectPropertiesIntegrationsResponseAtBRANDAt8486$Outbound; -} - -export function createIntegrationStoreDirectPropertiesIntegrationsResponseAtBRANDAt8486ToJSON( - createIntegrationStoreDirectPropertiesIntegrationsResponseAtBRANDAt8486: - CreateIntegrationStoreDirectPropertiesIntegrationsResponseAtBRANDAt8486, +export function createIntegrationStoreDirectPropertiesIntegrationsResponseAtBRANDAt8795ToJSON( + createIntegrationStoreDirectPropertiesIntegrationsResponseAtBRANDAt8795: + CreateIntegrationStoreDirectPropertiesIntegrationsResponseAtBRANDAt8795, ): string { return JSON.stringify( - CreateIntegrationStoreDirectPropertiesIntegrationsResponseAtBRANDAt8486$outboundSchema + CreateIntegrationStoreDirectPropertiesIntegrationsResponseAtBRANDAt8795$outboundSchema .parse( - createIntegrationStoreDirectPropertiesIntegrationsResponseAtBRANDAt8486, + createIntegrationStoreDirectPropertiesIntegrationsResponseAtBRANDAt8795, ), ); } - -export function createIntegrationStoreDirectPropertiesIntegrationsResponseAtBRANDAt8486FromJSON( +export function createIntegrationStoreDirectPropertiesIntegrationsResponseAtBRANDAt8795FromJSON( jsonString: string, ): SafeParseResult< - CreateIntegrationStoreDirectPropertiesIntegrationsResponseAtBRANDAt8486, + CreateIntegrationStoreDirectPropertiesIntegrationsResponseAtBRANDAt8795, SDKValidationError > { return safeParse( jsonString, (x) => - CreateIntegrationStoreDirectPropertiesIntegrationsResponseAtBRANDAt8486$inboundSchema + CreateIntegrationStoreDirectPropertiesIntegrationsResponseAtBRANDAt8795$inboundSchema .parse(JSON.parse(x)), - `Failed to parse 'CreateIntegrationStoreDirectPropertiesIntegrationsResponseAtBRANDAt8486' from JSON`, + `Failed to parse 'CreateIntegrationStoreDirectPropertiesIntegrationsResponseAtBRANDAt8795' from JSON`, ); } @@ -10185,20 +8259,19 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsMinLength$inbound z.ZodTypeDef, unknown > = z.object({ - "__@BRAND@8486": z.lazy(() => - CreateIntegrationStoreDirectPropertiesIntegrationsResponseAtBRANDAt8486$inboundSchema + "__@BRAND@8795": z.lazy(() => + CreateIntegrationStoreDirectPropertiesIntegrationsResponseAtBRANDAt8795$inboundSchema ), }).transform((v) => { return remap$(v, { - "__@BRAND@8486": "atBRANDAt8486", + "__@BRAND@8795": "atBRANDAt8795", }); }); - /** @internal */ export type CreateIntegrationStoreDirectPropertiesIntegrationsMinLength$Outbound = { - "__@BRAND@8486": - CreateIntegrationStoreDirectPropertiesIntegrationsResponseAtBRANDAt8486$Outbound; + "__@BRAND@8795": + CreateIntegrationStoreDirectPropertiesIntegrationsResponseAtBRANDAt8795$Outbound; }; /** @internal */ @@ -10208,31 +8281,15 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsMinLength$outboun z.ZodTypeDef, CreateIntegrationStoreDirectPropertiesIntegrationsMinLength > = z.object({ - atBRANDAt8486: z.lazy(() => - CreateIntegrationStoreDirectPropertiesIntegrationsResponseAtBRANDAt8486$outboundSchema + atBRANDAt8795: z.lazy(() => + CreateIntegrationStoreDirectPropertiesIntegrationsResponseAtBRANDAt8795$outboundSchema ), }).transform((v) => { return remap$(v, { - atBRANDAt8486: "__@BRAND@8486", + atBRANDAt8795: "__@BRAND@8795", }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectPropertiesIntegrationsMinLength$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsMinLength$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsMinLength$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsMinLength$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsMinLength$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsMinLength$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectPropertiesIntegrationsMinLength$Outbound; -} - export function createIntegrationStoreDirectPropertiesIntegrationsMinLengthToJSON( createIntegrationStoreDirectPropertiesIntegrationsMinLength: CreateIntegrationStoreDirectPropertiesIntegrationsMinLength, @@ -10242,7 +8299,6 @@ export function createIntegrationStoreDirectPropertiesIntegrationsMinLengthToJSO .parse(createIntegrationStoreDirectPropertiesIntegrationsMinLength), ); } - export function createIntegrationStoreDirectPropertiesIntegrationsMinLengthFromJSON( jsonString: string, ): SafeParseResult< @@ -10259,65 +8315,47 @@ export function createIntegrationStoreDirectPropertiesIntegrationsMinLengthFromJ } /** @internal */ -export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200AtBRANDAt8486$inboundSchema: +export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200AtBRANDAt8795$inboundSchema: z.ZodType< - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200AtBRANDAt8486, + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200AtBRANDAt8795, z.ZodTypeDef, unknown > = z.object({}); - /** @internal */ -export type CreateIntegrationStoreDirectPropertiesIntegrationsResponse200AtBRANDAt8486$Outbound = +export type CreateIntegrationStoreDirectPropertiesIntegrationsResponse200AtBRANDAt8795$Outbound = {}; /** @internal */ -export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200AtBRANDAt8486$outboundSchema: +export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200AtBRANDAt8795$outboundSchema: z.ZodType< - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200AtBRANDAt8486$Outbound, + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200AtBRANDAt8795$Outbound, z.ZodTypeDef, - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200AtBRANDAt8486 + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200AtBRANDAt8795 > = 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 CreateIntegrationStoreDirectPropertiesIntegrationsResponse200AtBRANDAt8486$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200AtBRANDAt8486$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200AtBRANDAt8486$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200AtBRANDAt8486$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200AtBRANDAt8486$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200AtBRANDAt8486$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200AtBRANDAt8486$Outbound; -} - -export function createIntegrationStoreDirectPropertiesIntegrationsResponse200AtBRANDAt8486ToJSON( - createIntegrationStoreDirectPropertiesIntegrationsResponse200AtBRANDAt8486: - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200AtBRANDAt8486, +export function createIntegrationStoreDirectPropertiesIntegrationsResponse200AtBRANDAt8795ToJSON( + createIntegrationStoreDirectPropertiesIntegrationsResponse200AtBRANDAt8795: + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200AtBRANDAt8795, ): string { return JSON.stringify( - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200AtBRANDAt8486$outboundSchema + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200AtBRANDAt8795$outboundSchema .parse( - createIntegrationStoreDirectPropertiesIntegrationsResponse200AtBRANDAt8486, + createIntegrationStoreDirectPropertiesIntegrationsResponse200AtBRANDAt8795, ), ); } - -export function createIntegrationStoreDirectPropertiesIntegrationsResponse200AtBRANDAt8486FromJSON( +export function createIntegrationStoreDirectPropertiesIntegrationsResponse200AtBRANDAt8795FromJSON( jsonString: string, ): SafeParseResult< - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200AtBRANDAt8486, + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200AtBRANDAt8795, SDKValidationError > { return safeParse( jsonString, (x) => - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200AtBRANDAt8486$inboundSchema + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200AtBRANDAt8795$inboundSchema .parse(JSON.parse(x)), - `Failed to parse 'CreateIntegrationStoreDirectPropertiesIntegrationsResponse200AtBRANDAt8486' from JSON`, + `Failed to parse 'CreateIntegrationStoreDirectPropertiesIntegrationsResponse200AtBRANDAt8795' from JSON`, ); } @@ -10328,20 +8366,19 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsPattern$inboundSc z.ZodTypeDef, unknown > = z.object({ - "__@BRAND@8486": z.lazy(() => - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200AtBRANDAt8486$inboundSchema + "__@BRAND@8795": z.lazy(() => + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200AtBRANDAt8795$inboundSchema ), }).transform((v) => { return remap$(v, { - "__@BRAND@8486": "atBRANDAt8486", + "__@BRAND@8795": "atBRANDAt8795", }); }); - /** @internal */ export type CreateIntegrationStoreDirectPropertiesIntegrationsPattern$Outbound = { - "__@BRAND@8486": - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200AtBRANDAt8486$Outbound; + "__@BRAND@8795": + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200AtBRANDAt8795$Outbound; }; /** @internal */ @@ -10351,31 +8388,15 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsPattern$outboundS z.ZodTypeDef, CreateIntegrationStoreDirectPropertiesIntegrationsPattern > = z.object({ - atBRANDAt8486: z.lazy(() => - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200AtBRANDAt8486$outboundSchema + atBRANDAt8795: z.lazy(() => + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200AtBRANDAt8795$outboundSchema ), }).transform((v) => { return remap$(v, { - atBRANDAt8486: "__@BRAND@8486", + atBRANDAt8795: "__@BRAND@8795", }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectPropertiesIntegrationsPattern$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsPattern$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsPattern$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsPattern$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsPattern$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsPattern$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectPropertiesIntegrationsPattern$Outbound; -} - export function createIntegrationStoreDirectPropertiesIntegrationsPatternToJSON( createIntegrationStoreDirectPropertiesIntegrationsPattern: CreateIntegrationStoreDirectPropertiesIntegrationsPattern, @@ -10385,7 +8406,6 @@ export function createIntegrationStoreDirectPropertiesIntegrationsPatternToJSON( .parse(createIntegrationStoreDirectPropertiesIntegrationsPattern), ); } - export function createIntegrationStoreDirectPropertiesIntegrationsPatternFromJSON( jsonString: string, ): SafeParseResult< @@ -10408,7 +8428,6 @@ export const CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200Applic > = z.nativeEnum( CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJson3, ); - /** @internal */ export const CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJson3$outboundSchema: z.ZodNativeEnum< @@ -10416,19 +8435,6 @@ export const CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200Applic > = CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJson3$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJson3$ { - /** @deprecated use `CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJson3$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJson3$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJson3$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJson3$outboundSchema; -} - /** @internal */ export const CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJson2$inboundSchema: z.ZodType< @@ -10438,7 +8444,6 @@ export const CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200Applic > = z.object({ expr: z.string(), }); - /** @internal */ export type CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJson2$Outbound = { @@ -10455,22 +8460,6 @@ export const CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200Applic expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJson2$ { - /** @deprecated use `CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJson2$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJson2$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJson2$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJson2$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJson2$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJson2$Outbound; -} - export function createIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSON2ToJSON( createIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJson2: CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJson2, @@ -10482,7 +8471,6 @@ export function createIntegrationStoreDirectUiReadOnlyIntegrationsResponse200App ), ); } - export function createIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJSON2FromJSON( jsonString: string, ): SafeParseResult< @@ -10511,7 +8499,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic z.boolean(), CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJson3$inboundSchema, ]); - /** @internal */ export type CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONUiReadOnly$Outbound = | CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJson2$Outbound @@ -10532,22 +8519,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse200ApplicationJson3$outboundSchema, ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONUiReadOnly$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONUiReadOnly$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONUiReadOnly$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONUiReadOnly$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONUiReadOnly$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONUiReadOnly$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONUiReadOnly$Outbound; -} - export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONUiReadOnlyToJSON( createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONUiReadOnly: CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONUiReadOnly, @@ -10559,7 +8530,6 @@ export function createIntegrationStoreDirectPropertiesIntegrationsResponse200App ), ); } - export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONUiReadOnlyFromJSON( jsonString: string, ): SafeParseResult< @@ -10582,7 +8552,6 @@ export const CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200Applicat > = z.nativeEnum( CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJson3, ); - /** @internal */ export const CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJson3$outboundSchema: z.ZodNativeEnum< @@ -10590,19 +8559,6 @@ export const CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200Applicat > = CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJson3$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJson3$ { - /** @deprecated use `CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJson3$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJson3$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJson3$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJson3$outboundSchema; -} - /** @internal */ export const CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJson2$inboundSchema: z.ZodType< @@ -10612,7 +8568,6 @@ export const CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200Applicat > = z.object({ expr: z.string(), }); - /** @internal */ export type CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJson2$Outbound = { @@ -10629,22 +8584,6 @@ export const CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200Applicat expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJson2$ { - /** @deprecated use `CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJson2$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJson2$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJson2$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJson2$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJson2$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJson2$Outbound; -} - export function createIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSON2ToJSON( createIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJson2: CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJson2, @@ -10656,7 +8595,6 @@ export function createIntegrationStoreDirectUiHiddenIntegrationsResponse200Appli ), ); } - export function createIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJSON2FromJSON( jsonString: string, ): SafeParseResult< @@ -10685,7 +8623,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic z.boolean(), CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJson3$inboundSchema, ]); - /** @internal */ export type CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONUiHidden$Outbound = | CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJson2$Outbound @@ -10706,22 +8643,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic CreateIntegrationStoreDirectUiHiddenIntegrationsResponse200ApplicationJson3$outboundSchema, ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONUiHidden$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONUiHidden$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONUiHidden$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONUiHidden$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONUiHidden$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONUiHidden$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONUiHidden$Outbound; -} - export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONUiHiddenToJSON( createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONUiHidden: CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONUiHidden, @@ -10733,7 +8654,6 @@ export function createIntegrationStoreDirectPropertiesIntegrationsResponse200App ), ); } - export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONUiHiddenFromJSON( jsonString: string, ): SafeParseResult< @@ -10756,7 +8676,6 @@ export const CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200Applic > = z.nativeEnum( CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJson3, ); - /** @internal */ export const CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJson3$outboundSchema: z.ZodNativeEnum< @@ -10764,19 +8683,6 @@ export const CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200Applic > = CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJson3$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJson3$ { - /** @deprecated use `CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJson3$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJson3$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJson3$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJson3$outboundSchema; -} - /** @internal */ export const CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJson2$inboundSchema: z.ZodType< @@ -10786,7 +8692,6 @@ export const CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200Applic > = z.object({ expr: z.string(), }); - /** @internal */ export type CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJson2$Outbound = { @@ -10803,22 +8708,6 @@ export const CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200Applic expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJson2$ { - /** @deprecated use `CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJson2$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJson2$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJson2$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJson2$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJson2$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJson2$Outbound; -} - export function createIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSON2ToJSON( createIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJson2: CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJson2, @@ -10830,7 +8719,6 @@ export function createIntegrationStoreDirectUiDisabledIntegrationsResponse200App ), ); } - export function createIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJSON2FromJSON( jsonString: string, ): SafeParseResult< @@ -10859,7 +8747,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic z.boolean(), CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJson3$inboundSchema, ]); - /** @internal */ export type CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONUiDisabled$Outbound = | CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJson2$Outbound @@ -10880,22 +8767,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic CreateIntegrationStoreDirectUiDisabledIntegrationsResponse200ApplicationJson3$outboundSchema, ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONUiDisabled$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONUiDisabled$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONUiDisabled$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONUiDisabled$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONUiDisabled$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONUiDisabled$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONUiDisabled$Outbound; -} - export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONUiDisabledToJSON( createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONUiDisabled: CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONUiDisabled, @@ -10907,7 +8778,6 @@ export function createIntegrationStoreDirectPropertiesIntegrationsResponse200App ), ); } - export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONUiDisabledFromJSON( jsonString: string, ): SafeParseResult< @@ -10932,7 +8802,6 @@ export const CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse200App > = z.object({ expr: z.string(), }); - /** @internal */ export type CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJson2$Outbound = { @@ -10949,22 +8818,6 @@ export const CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse200App expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJson2$ { - /** @deprecated use `CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJson2$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJson2$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJson2$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJson2$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJson2$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJson2$Outbound; -} - export function createIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJSON2ToJSON( createIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJson2: CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJson2, @@ -10976,7 +8829,6 @@ export function createIntegrationStoreDirectUiDescriptionIntegrationsResponse200 ), ); } - export function createIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJSON2FromJSON( jsonString: string, ): SafeParseResult< @@ -11004,7 +8856,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic ), z.string(), ]); - /** @internal */ export type CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONUiDescription$Outbound = | CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse200ApplicationJson2$Outbound @@ -11023,22 +8874,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic z.string(), ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONUiDescription$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONUiDescription$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONUiDescription$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONUiDescription$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONUiDescription$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONUiDescription$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONUiDescription$Outbound; -} - export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONUiDescriptionToJSON( createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONUiDescription: CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONUiDescription, @@ -11050,7 +8885,6 @@ export function createIntegrationStoreDirectPropertiesIntegrationsResponse200App ), ); } - export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONUiDescriptionFromJSON( jsonString: string, ): SafeParseResult< @@ -11075,7 +8909,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic > = z.object({ expr: z.string(), }); - /** @internal */ export type CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONUiFormattedValue$Outbound = { @@ -11092,22 +8925,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONUiFormattedValue$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONUiFormattedValue$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONUiFormattedValue$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONUiFormattedValue$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONUiFormattedValue$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONUiFormattedValue$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONUiFormattedValue$Outbound; -} - export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONUiFormattedValueToJSON( createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONUiFormattedValue: CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONUiFormattedValue, @@ -11119,7 +8936,6 @@ export function createIntegrationStoreDirectPropertiesIntegrationsResponse200App ), ); } - export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONUiFormattedValueFromJSON( jsonString: string, ): SafeParseResult< @@ -11205,7 +9021,6 @@ export const CreateIntegrationStoreDirectProperties5$inboundSchema: z.ZodType< "ui:placeholder": "uiPlaceholder", }); }); - /** @internal */ export type CreateIntegrationStoreDirectProperties5$Outbound = { type: string; @@ -11322,21 +9137,6 @@ export const CreateIntegrationStoreDirectProperties5$outboundSchema: z.ZodType< }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectProperties5$ { - /** @deprecated use `CreateIntegrationStoreDirectProperties5$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectProperties5$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectProperties5$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectProperties5$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectProperties5$Outbound` instead. */ - export type Outbound = CreateIntegrationStoreDirectProperties5$Outbound; -} - export function createIntegrationStoreDirectProperties5ToJSON( createIntegrationStoreDirectProperties5: CreateIntegrationStoreDirectProperties5, @@ -11347,7 +9147,6 @@ export function createIntegrationStoreDirectProperties5ToJSON( ), ); } - export function createIntegrationStoreDirectProperties5FromJSON( jsonString: string, ): SafeParseResult< @@ -11371,7 +9170,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Type$i > = z.nativeEnum( CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Type, ); - /** @internal */ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Type$outboundSchema: z.ZodNativeEnum< @@ -11379,19 +9177,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Type$o > = CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Type$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Type$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Type$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Type$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Type$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Type$outboundSchema; -} - /** @internal */ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaType$inboundSchema: z.ZodNativeEnum< @@ -11399,7 +9184,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic > = z.nativeEnum( CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaType, ); - /** @internal */ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaType$outboundSchema: z.ZodNativeEnum< @@ -11407,19 +9191,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200Applic > = CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaType$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaType$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaType$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaType$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchemaType$outboundSchema; -} - /** @internal */ export const CreateIntegrationStoreDirectPropertiesItems$inboundSchema: z.ZodType< @@ -11436,7 +9207,6 @@ export const CreateIntegrationStoreDirectPropertiesItems$inboundSchema: exclusiveMaximum: z.number().optional(), default: z.number().optional(), }); - /** @internal */ export type CreateIntegrationStoreDirectPropertiesItems$Outbound = { type: string; @@ -11465,21 +9235,6 @@ export const CreateIntegrationStoreDirectPropertiesItems$outboundSchema: default: 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 CreateIntegrationStoreDirectPropertiesItems$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesItems$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesItems$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesItems$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesItems$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesItems$Outbound` instead. */ - export type Outbound = CreateIntegrationStoreDirectPropertiesItems$Outbound; -} - export function createIntegrationStoreDirectPropertiesItemsToJSON( createIntegrationStoreDirectPropertiesItems: CreateIntegrationStoreDirectPropertiesItems, @@ -11490,7 +9245,6 @@ export function createIntegrationStoreDirectPropertiesItemsToJSON( ), ); } - export function createIntegrationStoreDirectPropertiesItemsFromJSON( jsonString: string, ): SafeParseResult< @@ -11514,7 +9268,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200UiCont > = z.nativeEnum( CreateIntegrationStoreDirectPropertiesIntegrationsResponse200UiControl, ); - /** @internal */ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200UiControl$outboundSchema: z.ZodNativeEnum< @@ -11522,19 +9275,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200UiCont > = CreateIntegrationStoreDirectPropertiesIntegrationsResponse200UiControl$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectPropertiesIntegrationsResponse200UiControl$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200UiControl$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200UiControl$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200UiControl$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200UiControl$outboundSchema; -} - /** @internal */ export const CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse2003$inboundSchema: z.ZodNativeEnum< @@ -11542,7 +9282,6 @@ export const CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse2003$inbo > = z.nativeEnum( CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse2003, ); - /** @internal */ export const CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse2003$outboundSchema: z.ZodNativeEnum< @@ -11550,19 +9289,6 @@ export const CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse2003$outb > = CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse2003$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse2003$ { - /** @deprecated use `CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse2003$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse2003$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse2003$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse2003$outboundSchema; -} - /** @internal */ export const CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse2002$inboundSchema: z.ZodType< @@ -11572,7 +9298,6 @@ export const CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse2002$inbo > = z.object({ expr: z.string(), }); - /** @internal */ export type CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse2002$Outbound = { @@ -11589,22 +9314,6 @@ export const CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse2002$outb expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse2002$ { - /** @deprecated use `CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse2002$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse2002$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse2002$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse2002$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse2002$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse2002$Outbound; -} - export function createIntegrationStoreDirectUiReadOnlyIntegrationsResponse2002ToJSON( createIntegrationStoreDirectUiReadOnlyIntegrationsResponse2002: CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse2002, @@ -11614,7 +9323,6 @@ export function createIntegrationStoreDirectUiReadOnlyIntegrationsResponse2002To .parse(createIntegrationStoreDirectUiReadOnlyIntegrationsResponse2002), ); } - export function createIntegrationStoreDirectUiReadOnlyIntegrationsResponse2002FromJSON( jsonString: string, ): SafeParseResult< @@ -11643,7 +9351,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200UiRead z.boolean(), CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse2003$inboundSchema, ]); - /** @internal */ export type CreateIntegrationStoreDirectPropertiesIntegrationsResponse200UiReadOnly$Outbound = | CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse2002$Outbound @@ -11664,22 +9371,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200UiRead CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse2003$outboundSchema, ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectPropertiesIntegrationsResponse200UiReadOnly$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200UiReadOnly$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200UiReadOnly$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200UiReadOnly$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200UiReadOnly$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200UiReadOnly$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200UiReadOnly$Outbound; -} - export function createIntegrationStoreDirectPropertiesIntegrationsResponse200UiReadOnlyToJSON( createIntegrationStoreDirectPropertiesIntegrationsResponse200UiReadOnly: CreateIntegrationStoreDirectPropertiesIntegrationsResponse200UiReadOnly, @@ -11691,7 +9382,6 @@ export function createIntegrationStoreDirectPropertiesIntegrationsResponse200UiR ), ); } - export function createIntegrationStoreDirectPropertiesIntegrationsResponse200UiReadOnlyFromJSON( jsonString: string, ): SafeParseResult< @@ -11714,7 +9404,6 @@ export const CreateIntegrationStoreDirectUiHiddenIntegrationsResponse2003$inboun > = z.nativeEnum( CreateIntegrationStoreDirectUiHiddenIntegrationsResponse2003, ); - /** @internal */ export const CreateIntegrationStoreDirectUiHiddenIntegrationsResponse2003$outboundSchema: z.ZodNativeEnum< @@ -11722,19 +9411,6 @@ export const CreateIntegrationStoreDirectUiHiddenIntegrationsResponse2003$outbou > = CreateIntegrationStoreDirectUiHiddenIntegrationsResponse2003$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectUiHiddenIntegrationsResponse2003$ { - /** @deprecated use `CreateIntegrationStoreDirectUiHiddenIntegrationsResponse2003$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectUiHiddenIntegrationsResponse2003$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiHiddenIntegrationsResponse2003$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectUiHiddenIntegrationsResponse2003$outboundSchema; -} - /** @internal */ export const CreateIntegrationStoreDirectUiHiddenIntegrationsResponse2002$inboundSchema: z.ZodType< @@ -11744,7 +9420,6 @@ export const CreateIntegrationStoreDirectUiHiddenIntegrationsResponse2002$inboun > = z.object({ expr: z.string(), }); - /** @internal */ export type CreateIntegrationStoreDirectUiHiddenIntegrationsResponse2002$Outbound = { @@ -11761,22 +9436,6 @@ export const CreateIntegrationStoreDirectUiHiddenIntegrationsResponse2002$outbou expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectUiHiddenIntegrationsResponse2002$ { - /** @deprecated use `CreateIntegrationStoreDirectUiHiddenIntegrationsResponse2002$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectUiHiddenIntegrationsResponse2002$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiHiddenIntegrationsResponse2002$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectUiHiddenIntegrationsResponse2002$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiHiddenIntegrationsResponse2002$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectUiHiddenIntegrationsResponse2002$Outbound; -} - export function createIntegrationStoreDirectUiHiddenIntegrationsResponse2002ToJSON( createIntegrationStoreDirectUiHiddenIntegrationsResponse2002: CreateIntegrationStoreDirectUiHiddenIntegrationsResponse2002, @@ -11786,7 +9445,6 @@ export function createIntegrationStoreDirectUiHiddenIntegrationsResponse2002ToJS .parse(createIntegrationStoreDirectUiHiddenIntegrationsResponse2002), ); } - export function createIntegrationStoreDirectUiHiddenIntegrationsResponse2002FromJSON( jsonString: string, ): SafeParseResult< @@ -11815,7 +9473,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200UiHidd z.boolean(), CreateIntegrationStoreDirectUiHiddenIntegrationsResponse2003$inboundSchema, ]); - /** @internal */ export type CreateIntegrationStoreDirectPropertiesIntegrationsResponse200UiHidden$Outbound = | CreateIntegrationStoreDirectUiHiddenIntegrationsResponse2002$Outbound @@ -11836,22 +9493,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200UiHidd CreateIntegrationStoreDirectUiHiddenIntegrationsResponse2003$outboundSchema, ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectPropertiesIntegrationsResponse200UiHidden$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200UiHidden$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200UiHidden$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200UiHidden$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200UiHidden$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200UiHidden$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200UiHidden$Outbound; -} - export function createIntegrationStoreDirectPropertiesIntegrationsResponse200UiHiddenToJSON( createIntegrationStoreDirectPropertiesIntegrationsResponse200UiHidden: CreateIntegrationStoreDirectPropertiesIntegrationsResponse200UiHidden, @@ -11863,7 +9504,6 @@ export function createIntegrationStoreDirectPropertiesIntegrationsResponse200UiH ), ); } - export function createIntegrationStoreDirectPropertiesIntegrationsResponse200UiHiddenFromJSON( jsonString: string, ): SafeParseResult< @@ -11886,7 +9526,6 @@ export const CreateIntegrationStoreDirectUiDisabledIntegrationsResponse2003$inbo > = z.nativeEnum( CreateIntegrationStoreDirectUiDisabledIntegrationsResponse2003, ); - /** @internal */ export const CreateIntegrationStoreDirectUiDisabledIntegrationsResponse2003$outboundSchema: z.ZodNativeEnum< @@ -11894,19 +9533,6 @@ export const CreateIntegrationStoreDirectUiDisabledIntegrationsResponse2003$outb > = CreateIntegrationStoreDirectUiDisabledIntegrationsResponse2003$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectUiDisabledIntegrationsResponse2003$ { - /** @deprecated use `CreateIntegrationStoreDirectUiDisabledIntegrationsResponse2003$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectUiDisabledIntegrationsResponse2003$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiDisabledIntegrationsResponse2003$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectUiDisabledIntegrationsResponse2003$outboundSchema; -} - /** @internal */ export const CreateIntegrationStoreDirectUiDisabledIntegrationsResponse2002$inboundSchema: z.ZodType< @@ -11916,7 +9542,6 @@ export const CreateIntegrationStoreDirectUiDisabledIntegrationsResponse2002$inbo > = z.object({ expr: z.string(), }); - /** @internal */ export type CreateIntegrationStoreDirectUiDisabledIntegrationsResponse2002$Outbound = { @@ -11933,22 +9558,6 @@ export const CreateIntegrationStoreDirectUiDisabledIntegrationsResponse2002$outb expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectUiDisabledIntegrationsResponse2002$ { - /** @deprecated use `CreateIntegrationStoreDirectUiDisabledIntegrationsResponse2002$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectUiDisabledIntegrationsResponse2002$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiDisabledIntegrationsResponse2002$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectUiDisabledIntegrationsResponse2002$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiDisabledIntegrationsResponse2002$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectUiDisabledIntegrationsResponse2002$Outbound; -} - export function createIntegrationStoreDirectUiDisabledIntegrationsResponse2002ToJSON( createIntegrationStoreDirectUiDisabledIntegrationsResponse2002: CreateIntegrationStoreDirectUiDisabledIntegrationsResponse2002, @@ -11958,7 +9567,6 @@ export function createIntegrationStoreDirectUiDisabledIntegrationsResponse2002To .parse(createIntegrationStoreDirectUiDisabledIntegrationsResponse2002), ); } - export function createIntegrationStoreDirectUiDisabledIntegrationsResponse2002FromJSON( jsonString: string, ): SafeParseResult< @@ -11987,7 +9595,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200UiDisa z.boolean(), CreateIntegrationStoreDirectUiDisabledIntegrationsResponse2003$inboundSchema, ]); - /** @internal */ export type CreateIntegrationStoreDirectPropertiesIntegrationsResponse200UiDisabled$Outbound = | CreateIntegrationStoreDirectUiDisabledIntegrationsResponse2002$Outbound @@ -12008,22 +9615,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200UiDisa CreateIntegrationStoreDirectUiDisabledIntegrationsResponse2003$outboundSchema, ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectPropertiesIntegrationsResponse200UiDisabled$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200UiDisabled$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200UiDisabled$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200UiDisabled$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200UiDisabled$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200UiDisabled$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200UiDisabled$Outbound; -} - export function createIntegrationStoreDirectPropertiesIntegrationsResponse200UiDisabledToJSON( createIntegrationStoreDirectPropertiesIntegrationsResponse200UiDisabled: CreateIntegrationStoreDirectPropertiesIntegrationsResponse200UiDisabled, @@ -12035,7 +9626,6 @@ export function createIntegrationStoreDirectPropertiesIntegrationsResponse200UiD ), ); } - export function createIntegrationStoreDirectPropertiesIntegrationsResponse200UiDisabledFromJSON( jsonString: string, ): SafeParseResult< @@ -12060,7 +9650,6 @@ export const CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse2002$i > = z.object({ expr: z.string(), }); - /** @internal */ export type CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse2002$Outbound = { @@ -12077,22 +9666,6 @@ export const CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse2002$o expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse2002$ { - /** @deprecated use `CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse2002$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse2002$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse2002$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse2002$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse2002$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse2002$Outbound; -} - export function createIntegrationStoreDirectUiDescriptionIntegrationsResponse2002ToJSON( createIntegrationStoreDirectUiDescriptionIntegrationsResponse2002: CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse2002, @@ -12102,7 +9675,6 @@ export function createIntegrationStoreDirectUiDescriptionIntegrationsResponse200 .parse(createIntegrationStoreDirectUiDescriptionIntegrationsResponse2002), ); } - export function createIntegrationStoreDirectUiDescriptionIntegrationsResponse2002FromJSON( jsonString: string, ): SafeParseResult< @@ -12130,7 +9702,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200UiDesc ), z.string(), ]); - /** @internal */ export type CreateIntegrationStoreDirectPropertiesIntegrationsResponse200UiDescription$Outbound = | CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse2002$Outbound @@ -12149,22 +9720,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200UiDesc z.string(), ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectPropertiesIntegrationsResponse200UiDescription$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200UiDescription$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200UiDescription$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200UiDescription$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200UiDescription$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200UiDescription$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200UiDescription$Outbound; -} - export function createIntegrationStoreDirectPropertiesIntegrationsResponse200UiDescriptionToJSON( createIntegrationStoreDirectPropertiesIntegrationsResponse200UiDescription: CreateIntegrationStoreDirectPropertiesIntegrationsResponse200UiDescription, @@ -12176,7 +9731,6 @@ export function createIntegrationStoreDirectPropertiesIntegrationsResponse200UiD ), ); } - export function createIntegrationStoreDirectPropertiesIntegrationsResponse200UiDescriptionFromJSON( jsonString: string, ): SafeParseResult< @@ -12201,7 +9755,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200UiForm > = z.object({ expr: z.string(), }); - /** @internal */ export type CreateIntegrationStoreDirectPropertiesIntegrationsResponse200UiFormattedValue$Outbound = { @@ -12218,22 +9771,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200UiForm expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectPropertiesIntegrationsResponse200UiFormattedValue$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200UiFormattedValue$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200UiFormattedValue$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200UiFormattedValue$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200UiFormattedValue$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200UiFormattedValue$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200UiFormattedValue$Outbound; -} - export function createIntegrationStoreDirectPropertiesIntegrationsResponse200UiFormattedValueToJSON( createIntegrationStoreDirectPropertiesIntegrationsResponse200UiFormattedValue: CreateIntegrationStoreDirectPropertiesIntegrationsResponse200UiFormattedValue, @@ -12245,7 +9782,6 @@ export function createIntegrationStoreDirectPropertiesIntegrationsResponse200UiF ), ); } - export function createIntegrationStoreDirectPropertiesIntegrationsResponse200UiFormattedValueFromJSON( jsonString: string, ): SafeParseResult< @@ -12322,7 +9858,6 @@ export const CreateIntegrationStoreDirectProperties4$inboundSchema: z.ZodType< "ui:formatted-value": "uiFormattedValue", }); }); - /** @internal */ export type CreateIntegrationStoreDirectProperties4$Outbound = { type: string; @@ -12420,21 +9955,6 @@ export const CreateIntegrationStoreDirectProperties4$outboundSchema: z.ZodType< }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectProperties4$ { - /** @deprecated use `CreateIntegrationStoreDirectProperties4$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectProperties4$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectProperties4$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectProperties4$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectProperties4$Outbound` instead. */ - export type Outbound = CreateIntegrationStoreDirectProperties4$Outbound; -} - export function createIntegrationStoreDirectProperties4ToJSON( createIntegrationStoreDirectProperties4: CreateIntegrationStoreDirectProperties4, @@ -12445,7 +9965,6 @@ export function createIntegrationStoreDirectProperties4ToJSON( ), ); } - export function createIntegrationStoreDirectProperties4FromJSON( jsonString: string, ): SafeParseResult< @@ -12469,7 +9988,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponseType$inbo > = z.nativeEnum( CreateIntegrationStoreDirectPropertiesIntegrationsResponseType, ); - /** @internal */ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponseType$outboundSchema: z.ZodNativeEnum< @@ -12477,19 +9995,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponseType$outb > = CreateIntegrationStoreDirectPropertiesIntegrationsResponseType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectPropertiesIntegrationsResponseType$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponseType$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponseType$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponseType$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponseType$outboundSchema; -} - /** @internal */ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiControl$inboundSchema: z.ZodNativeEnum< @@ -12497,7 +10002,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiControl > = z.nativeEnum( CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiControl, ); - /** @internal */ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiControl$outboundSchema: z.ZodNativeEnum< @@ -12505,44 +10009,17 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiControl > = CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiControl$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiControl$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiControl$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiControl$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiControl$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiControl$outboundSchema; -} - /** @internal */ export const CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse3$inboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse3 > = z.nativeEnum(CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse3); - /** @internal */ export const CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse3$outboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse3 > = CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse3$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse3$ { - /** @deprecated use `CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse3$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse3$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse3$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse3$outboundSchema; -} - /** @internal */ export const CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse2$inboundSchema: z.ZodType< @@ -12552,7 +10029,6 @@ export const CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse2$inbound > = z.object({ expr: z.string(), }); - /** @internal */ export type CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse2$Outbound = { @@ -12569,22 +10045,6 @@ export const CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse2$outboun expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse2$ { - /** @deprecated use `CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse2$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse2$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse2$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse2$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse2$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse2$Outbound; -} - export function createIntegrationStoreDirectUiReadOnlyIntegrationsResponse2ToJSON( createIntegrationStoreDirectUiReadOnlyIntegrationsResponse2: CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse2, @@ -12594,7 +10054,6 @@ export function createIntegrationStoreDirectUiReadOnlyIntegrationsResponse2ToJSO .parse(createIntegrationStoreDirectUiReadOnlyIntegrationsResponse2), ); } - export function createIntegrationStoreDirectUiReadOnlyIntegrationsResponse2FromJSON( jsonString: string, ): SafeParseResult< @@ -12623,7 +10082,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiReadOnl z.boolean(), CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse3$inboundSchema, ]); - /** @internal */ export type CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiReadOnly$Outbound = | CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse2$Outbound @@ -12644,22 +10102,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiReadOnl CreateIntegrationStoreDirectUiReadOnlyIntegrationsResponse3$outboundSchema, ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiReadOnly$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiReadOnly$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiReadOnly$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiReadOnly$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiReadOnly$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiReadOnly$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiReadOnly$Outbound; -} - export function createIntegrationStoreDirectPropertiesIntegrationsResponseUiReadOnlyToJSON( createIntegrationStoreDirectPropertiesIntegrationsResponseUiReadOnly: CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiReadOnly, @@ -12671,7 +10113,6 @@ export function createIntegrationStoreDirectPropertiesIntegrationsResponseUiRead ), ); } - export function createIntegrationStoreDirectPropertiesIntegrationsResponseUiReadOnlyFromJSON( jsonString: string, ): SafeParseResult< @@ -12692,26 +10133,12 @@ export const CreateIntegrationStoreDirectUiHiddenIntegrationsResponse3$inboundSc z.ZodNativeEnum< typeof CreateIntegrationStoreDirectUiHiddenIntegrationsResponse3 > = z.nativeEnum(CreateIntegrationStoreDirectUiHiddenIntegrationsResponse3); - /** @internal */ export const CreateIntegrationStoreDirectUiHiddenIntegrationsResponse3$outboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectUiHiddenIntegrationsResponse3 > = CreateIntegrationStoreDirectUiHiddenIntegrationsResponse3$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectUiHiddenIntegrationsResponse3$ { - /** @deprecated use `CreateIntegrationStoreDirectUiHiddenIntegrationsResponse3$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectUiHiddenIntegrationsResponse3$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiHiddenIntegrationsResponse3$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectUiHiddenIntegrationsResponse3$outboundSchema; -} - /** @internal */ export const CreateIntegrationStoreDirectUiHiddenIntegrationsResponse2$inboundSchema: z.ZodType< @@ -12721,7 +10148,6 @@ export const CreateIntegrationStoreDirectUiHiddenIntegrationsResponse2$inboundSc > = z.object({ expr: z.string(), }); - /** @internal */ export type CreateIntegrationStoreDirectUiHiddenIntegrationsResponse2$Outbound = { @@ -12738,22 +10164,6 @@ export const CreateIntegrationStoreDirectUiHiddenIntegrationsResponse2$outboundS expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectUiHiddenIntegrationsResponse2$ { - /** @deprecated use `CreateIntegrationStoreDirectUiHiddenIntegrationsResponse2$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectUiHiddenIntegrationsResponse2$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiHiddenIntegrationsResponse2$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectUiHiddenIntegrationsResponse2$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiHiddenIntegrationsResponse2$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectUiHiddenIntegrationsResponse2$Outbound; -} - export function createIntegrationStoreDirectUiHiddenIntegrationsResponse2ToJSON( createIntegrationStoreDirectUiHiddenIntegrationsResponse2: CreateIntegrationStoreDirectUiHiddenIntegrationsResponse2, @@ -12763,7 +10173,6 @@ export function createIntegrationStoreDirectUiHiddenIntegrationsResponse2ToJSON( .parse(createIntegrationStoreDirectUiHiddenIntegrationsResponse2), ); } - export function createIntegrationStoreDirectUiHiddenIntegrationsResponse2FromJSON( jsonString: string, ): SafeParseResult< @@ -12792,7 +10201,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiHidden$ z.boolean(), CreateIntegrationStoreDirectUiHiddenIntegrationsResponse3$inboundSchema, ]); - /** @internal */ export type CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiHidden$Outbound = | CreateIntegrationStoreDirectUiHiddenIntegrationsResponse2$Outbound @@ -12813,22 +10221,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiHidden$ CreateIntegrationStoreDirectUiHiddenIntegrationsResponse3$outboundSchema, ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiHidden$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiHidden$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiHidden$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiHidden$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiHidden$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiHidden$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiHidden$Outbound; -} - export function createIntegrationStoreDirectPropertiesIntegrationsResponseUiHiddenToJSON( createIntegrationStoreDirectPropertiesIntegrationsResponseUiHidden: CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiHidden, @@ -12840,7 +10232,6 @@ export function createIntegrationStoreDirectPropertiesIntegrationsResponseUiHidd ), ); } - export function createIntegrationStoreDirectPropertiesIntegrationsResponseUiHiddenFromJSON( jsonString: string, ): SafeParseResult< @@ -12861,26 +10252,12 @@ export const CreateIntegrationStoreDirectUiDisabledIntegrationsResponse3$inbound z.ZodNativeEnum< typeof CreateIntegrationStoreDirectUiDisabledIntegrationsResponse3 > = z.nativeEnum(CreateIntegrationStoreDirectUiDisabledIntegrationsResponse3); - /** @internal */ export const CreateIntegrationStoreDirectUiDisabledIntegrationsResponse3$outboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectUiDisabledIntegrationsResponse3 > = CreateIntegrationStoreDirectUiDisabledIntegrationsResponse3$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectUiDisabledIntegrationsResponse3$ { - /** @deprecated use `CreateIntegrationStoreDirectUiDisabledIntegrationsResponse3$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectUiDisabledIntegrationsResponse3$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiDisabledIntegrationsResponse3$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectUiDisabledIntegrationsResponse3$outboundSchema; -} - /** @internal */ export const CreateIntegrationStoreDirectUiDisabledIntegrationsResponse2$inboundSchema: z.ZodType< @@ -12890,7 +10267,6 @@ export const CreateIntegrationStoreDirectUiDisabledIntegrationsResponse2$inbound > = z.object({ expr: z.string(), }); - /** @internal */ export type CreateIntegrationStoreDirectUiDisabledIntegrationsResponse2$Outbound = { @@ -12907,22 +10283,6 @@ export const CreateIntegrationStoreDirectUiDisabledIntegrationsResponse2$outboun expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectUiDisabledIntegrationsResponse2$ { - /** @deprecated use `CreateIntegrationStoreDirectUiDisabledIntegrationsResponse2$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectUiDisabledIntegrationsResponse2$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiDisabledIntegrationsResponse2$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectUiDisabledIntegrationsResponse2$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiDisabledIntegrationsResponse2$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectUiDisabledIntegrationsResponse2$Outbound; -} - export function createIntegrationStoreDirectUiDisabledIntegrationsResponse2ToJSON( createIntegrationStoreDirectUiDisabledIntegrationsResponse2: CreateIntegrationStoreDirectUiDisabledIntegrationsResponse2, @@ -12932,7 +10292,6 @@ export function createIntegrationStoreDirectUiDisabledIntegrationsResponse2ToJSO .parse(createIntegrationStoreDirectUiDisabledIntegrationsResponse2), ); } - export function createIntegrationStoreDirectUiDisabledIntegrationsResponse2FromJSON( jsonString: string, ): SafeParseResult< @@ -12961,7 +10320,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiDisable z.boolean(), CreateIntegrationStoreDirectUiDisabledIntegrationsResponse3$inboundSchema, ]); - /** @internal */ export type CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiDisabled$Outbound = | CreateIntegrationStoreDirectUiDisabledIntegrationsResponse2$Outbound @@ -12982,22 +10340,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiDisable CreateIntegrationStoreDirectUiDisabledIntegrationsResponse3$outboundSchema, ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiDisabled$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiDisabled$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiDisabled$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiDisabled$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiDisabled$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiDisabled$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiDisabled$Outbound; -} - export function createIntegrationStoreDirectPropertiesIntegrationsResponseUiDisabledToJSON( createIntegrationStoreDirectPropertiesIntegrationsResponseUiDisabled: CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiDisabled, @@ -13009,7 +10351,6 @@ export function createIntegrationStoreDirectPropertiesIntegrationsResponseUiDisa ), ); } - export function createIntegrationStoreDirectPropertiesIntegrationsResponseUiDisabledFromJSON( jsonString: string, ): SafeParseResult< @@ -13034,7 +10375,6 @@ export const CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse2$inbo > = z.object({ expr: z.string(), }); - /** @internal */ export type CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse2$Outbound = { @@ -13051,22 +10391,6 @@ export const CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse2$outb expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse2$ { - /** @deprecated use `CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse2$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse2$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse2$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse2$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse2$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse2$Outbound; -} - export function createIntegrationStoreDirectUiDescriptionIntegrationsResponse2ToJSON( createIntegrationStoreDirectUiDescriptionIntegrationsResponse2: CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse2, @@ -13076,7 +10400,6 @@ export function createIntegrationStoreDirectUiDescriptionIntegrationsResponse2To .parse(createIntegrationStoreDirectUiDescriptionIntegrationsResponse2), ); } - export function createIntegrationStoreDirectUiDescriptionIntegrationsResponse2FromJSON( jsonString: string, ): SafeParseResult< @@ -13104,7 +10427,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiDescrip ), z.string(), ]); - /** @internal */ export type CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiDescription$Outbound = | CreateIntegrationStoreDirectUiDescriptionIntegrationsResponse2$Outbound @@ -13123,22 +10445,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiDescrip z.string(), ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiDescription$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiDescription$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiDescription$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiDescription$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiDescription$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiDescription$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiDescription$Outbound; -} - export function createIntegrationStoreDirectPropertiesIntegrationsResponseUiDescriptionToJSON( createIntegrationStoreDirectPropertiesIntegrationsResponseUiDescription: CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiDescription, @@ -13150,7 +10456,6 @@ export function createIntegrationStoreDirectPropertiesIntegrationsResponseUiDesc ), ); } - export function createIntegrationStoreDirectPropertiesIntegrationsResponseUiDescriptionFromJSON( jsonString: string, ): SafeParseResult< @@ -13175,7 +10480,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiFormatt > = z.object({ expr: z.string(), }); - /** @internal */ export type CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiFormattedValue$Outbound = { @@ -13192,22 +10496,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiFormatt expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiFormattedValue$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiFormattedValue$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiFormattedValue$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiFormattedValue$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiFormattedValue$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiFormattedValue$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiFormattedValue$Outbound; -} - export function createIntegrationStoreDirectPropertiesIntegrationsResponseUiFormattedValueToJSON( createIntegrationStoreDirectPropertiesIntegrationsResponseUiFormattedValue: CreateIntegrationStoreDirectPropertiesIntegrationsResponseUiFormattedValue, @@ -13219,7 +10507,6 @@ export function createIntegrationStoreDirectPropertiesIntegrationsResponseUiForm ), ); } - export function createIntegrationStoreDirectPropertiesIntegrationsResponseUiFormattedValueFromJSON( jsonString: string, ): SafeParseResult< @@ -13289,7 +10576,6 @@ export const CreateIntegrationStoreDirectProperties3$inboundSchema: z.ZodType< "ui:formatted-value": "uiFormattedValue", }); }); - /** @internal */ export type CreateIntegrationStoreDirectProperties3$Outbound = { type: string; @@ -13376,21 +10662,6 @@ export const CreateIntegrationStoreDirectProperties3$outboundSchema: z.ZodType< }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectProperties3$ { - /** @deprecated use `CreateIntegrationStoreDirectProperties3$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectProperties3$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectProperties3$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectProperties3$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectProperties3$Outbound` instead. */ - export type Outbound = CreateIntegrationStoreDirectProperties3$Outbound; -} - export function createIntegrationStoreDirectProperties3ToJSON( createIntegrationStoreDirectProperties3: CreateIntegrationStoreDirectProperties3, @@ -13401,7 +10672,6 @@ export function createIntegrationStoreDirectProperties3ToJSON( ), ); } - export function createIntegrationStoreDirectProperties3FromJSON( jsonString: string, ): SafeParseResult< @@ -13423,74 +10693,32 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsType$inboundSchem z.ZodNativeEnum< typeof CreateIntegrationStoreDirectPropertiesIntegrationsType > = z.nativeEnum(CreateIntegrationStoreDirectPropertiesIntegrationsType); - /** @internal */ export const CreateIntegrationStoreDirectPropertiesIntegrationsType$outboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectPropertiesIntegrationsType > = CreateIntegrationStoreDirectPropertiesIntegrationsType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectPropertiesIntegrationsType$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsType$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsType$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsType$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsType$outboundSchema; -} - /** @internal */ export const CreateIntegrationStoreDirectPropertiesIntegrationsUiControl$inboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectPropertiesIntegrationsUiControl > = z.nativeEnum(CreateIntegrationStoreDirectPropertiesIntegrationsUiControl); - /** @internal */ export const CreateIntegrationStoreDirectPropertiesIntegrationsUiControl$outboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectPropertiesIntegrationsUiControl > = CreateIntegrationStoreDirectPropertiesIntegrationsUiControl$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectPropertiesIntegrationsUiControl$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsUiControl$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsUiControl$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsUiControl$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsUiControl$outboundSchema; -} - /** @internal */ export const CreateIntegrationStoreDirectUiReadOnlyIntegrations3$inboundSchema: z.ZodNativeEnum = z.nativeEnum(CreateIntegrationStoreDirectUiReadOnlyIntegrations3); - /** @internal */ export const CreateIntegrationStoreDirectUiReadOnlyIntegrations3$outboundSchema: z.ZodNativeEnum = CreateIntegrationStoreDirectUiReadOnlyIntegrations3$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectUiReadOnlyIntegrations3$ { - /** @deprecated use `CreateIntegrationStoreDirectUiReadOnlyIntegrations3$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectUiReadOnlyIntegrations3$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiReadOnlyIntegrations3$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectUiReadOnlyIntegrations3$outboundSchema; -} - /** @internal */ export const CreateIntegrationStoreDirectUiReadOnlyIntegrations2$inboundSchema: z.ZodType< @@ -13500,7 +10728,6 @@ export const CreateIntegrationStoreDirectUiReadOnlyIntegrations2$inboundSchema: > = z.object({ expr: z.string(), }); - /** @internal */ export type CreateIntegrationStoreDirectUiReadOnlyIntegrations2$Outbound = { expr: string; @@ -13516,22 +10743,6 @@ export const CreateIntegrationStoreDirectUiReadOnlyIntegrations2$outboundSchema: expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectUiReadOnlyIntegrations2$ { - /** @deprecated use `CreateIntegrationStoreDirectUiReadOnlyIntegrations2$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectUiReadOnlyIntegrations2$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiReadOnlyIntegrations2$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectUiReadOnlyIntegrations2$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiReadOnlyIntegrations2$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectUiReadOnlyIntegrations2$Outbound; -} - export function createIntegrationStoreDirectUiReadOnlyIntegrations2ToJSON( createIntegrationStoreDirectUiReadOnlyIntegrations2: CreateIntegrationStoreDirectUiReadOnlyIntegrations2, @@ -13542,7 +10753,6 @@ export function createIntegrationStoreDirectUiReadOnlyIntegrations2ToJSON( ), ); } - export function createIntegrationStoreDirectUiReadOnlyIntegrations2FromJSON( jsonString: string, ): SafeParseResult< @@ -13572,7 +10782,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsUiReadOnly$inboun z.boolean(), CreateIntegrationStoreDirectUiReadOnlyIntegrations3$inboundSchema, ]); - /** @internal */ export type CreateIntegrationStoreDirectPropertiesIntegrationsUiReadOnly$Outbound = | CreateIntegrationStoreDirectUiReadOnlyIntegrations2$Outbound @@ -13593,22 +10802,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsUiReadOnly$outbou CreateIntegrationStoreDirectUiReadOnlyIntegrations3$outboundSchema, ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectPropertiesIntegrationsUiReadOnly$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsUiReadOnly$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsUiReadOnly$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsUiReadOnly$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsUiReadOnly$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsUiReadOnly$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectPropertiesIntegrationsUiReadOnly$Outbound; -} - export function createIntegrationStoreDirectPropertiesIntegrationsUiReadOnlyToJSON( createIntegrationStoreDirectPropertiesIntegrationsUiReadOnly: CreateIntegrationStoreDirectPropertiesIntegrationsUiReadOnly, @@ -13618,7 +10811,6 @@ export function createIntegrationStoreDirectPropertiesIntegrationsUiReadOnlyToJS .parse(createIntegrationStoreDirectPropertiesIntegrationsUiReadOnly), ); } - export function createIntegrationStoreDirectPropertiesIntegrationsUiReadOnlyFromJSON( jsonString: string, ): SafeParseResult< @@ -13638,25 +10830,11 @@ export function createIntegrationStoreDirectPropertiesIntegrationsUiReadOnlyFrom export const CreateIntegrationStoreDirectUiHiddenIntegrations3$inboundSchema: z.ZodNativeEnum = z .nativeEnum(CreateIntegrationStoreDirectUiHiddenIntegrations3); - /** @internal */ export const CreateIntegrationStoreDirectUiHiddenIntegrations3$outboundSchema: z.ZodNativeEnum = CreateIntegrationStoreDirectUiHiddenIntegrations3$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectUiHiddenIntegrations3$ { - /** @deprecated use `CreateIntegrationStoreDirectUiHiddenIntegrations3$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectUiHiddenIntegrations3$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiHiddenIntegrations3$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectUiHiddenIntegrations3$outboundSchema; -} - /** @internal */ export const CreateIntegrationStoreDirectUiHiddenIntegrations2$inboundSchema: z.ZodType< @@ -13666,7 +10844,6 @@ export const CreateIntegrationStoreDirectUiHiddenIntegrations2$inboundSchema: > = z.object({ expr: z.string(), }); - /** @internal */ export type CreateIntegrationStoreDirectUiHiddenIntegrations2$Outbound = { expr: string; @@ -13682,22 +10859,6 @@ export const CreateIntegrationStoreDirectUiHiddenIntegrations2$outboundSchema: expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectUiHiddenIntegrations2$ { - /** @deprecated use `CreateIntegrationStoreDirectUiHiddenIntegrations2$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectUiHiddenIntegrations2$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiHiddenIntegrations2$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectUiHiddenIntegrations2$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiHiddenIntegrations2$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectUiHiddenIntegrations2$Outbound; -} - export function createIntegrationStoreDirectUiHiddenIntegrations2ToJSON( createIntegrationStoreDirectUiHiddenIntegrations2: CreateIntegrationStoreDirectUiHiddenIntegrations2, @@ -13708,7 +10869,6 @@ export function createIntegrationStoreDirectUiHiddenIntegrations2ToJSON( ), ); } - export function createIntegrationStoreDirectUiHiddenIntegrations2FromJSON( jsonString: string, ): SafeParseResult< @@ -13738,7 +10898,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsUiHidden$inboundS z.boolean(), CreateIntegrationStoreDirectUiHiddenIntegrations3$inboundSchema, ]); - /** @internal */ export type CreateIntegrationStoreDirectPropertiesIntegrationsUiHidden$Outbound = | CreateIntegrationStoreDirectUiHiddenIntegrations2$Outbound @@ -13759,22 +10918,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsUiHidden$outbound CreateIntegrationStoreDirectUiHiddenIntegrations3$outboundSchema, ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectPropertiesIntegrationsUiHidden$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsUiHidden$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsUiHidden$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsUiHidden$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsUiHidden$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsUiHidden$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectPropertiesIntegrationsUiHidden$Outbound; -} - export function createIntegrationStoreDirectPropertiesIntegrationsUiHiddenToJSON( createIntegrationStoreDirectPropertiesIntegrationsUiHidden: CreateIntegrationStoreDirectPropertiesIntegrationsUiHidden, @@ -13784,7 +10927,6 @@ export function createIntegrationStoreDirectPropertiesIntegrationsUiHiddenToJSON .parse(createIntegrationStoreDirectPropertiesIntegrationsUiHidden), ); } - export function createIntegrationStoreDirectPropertiesIntegrationsUiHiddenFromJSON( jsonString: string, ): SafeParseResult< @@ -13804,25 +10946,11 @@ export function createIntegrationStoreDirectPropertiesIntegrationsUiHiddenFromJS export const CreateIntegrationStoreDirectUiDisabledIntegrations3$inboundSchema: z.ZodNativeEnum = z.nativeEnum(CreateIntegrationStoreDirectUiDisabledIntegrations3); - /** @internal */ export const CreateIntegrationStoreDirectUiDisabledIntegrations3$outboundSchema: z.ZodNativeEnum = CreateIntegrationStoreDirectUiDisabledIntegrations3$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectUiDisabledIntegrations3$ { - /** @deprecated use `CreateIntegrationStoreDirectUiDisabledIntegrations3$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectUiDisabledIntegrations3$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiDisabledIntegrations3$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectUiDisabledIntegrations3$outboundSchema; -} - /** @internal */ export const CreateIntegrationStoreDirectUiDisabledIntegrations2$inboundSchema: z.ZodType< @@ -13832,7 +10960,6 @@ export const CreateIntegrationStoreDirectUiDisabledIntegrations2$inboundSchema: > = z.object({ expr: z.string(), }); - /** @internal */ export type CreateIntegrationStoreDirectUiDisabledIntegrations2$Outbound = { expr: string; @@ -13848,22 +10975,6 @@ export const CreateIntegrationStoreDirectUiDisabledIntegrations2$outboundSchema: expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectUiDisabledIntegrations2$ { - /** @deprecated use `CreateIntegrationStoreDirectUiDisabledIntegrations2$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectUiDisabledIntegrations2$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiDisabledIntegrations2$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectUiDisabledIntegrations2$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiDisabledIntegrations2$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectUiDisabledIntegrations2$Outbound; -} - export function createIntegrationStoreDirectUiDisabledIntegrations2ToJSON( createIntegrationStoreDirectUiDisabledIntegrations2: CreateIntegrationStoreDirectUiDisabledIntegrations2, @@ -13874,7 +10985,6 @@ export function createIntegrationStoreDirectUiDisabledIntegrations2ToJSON( ), ); } - export function createIntegrationStoreDirectUiDisabledIntegrations2FromJSON( jsonString: string, ): SafeParseResult< @@ -13904,7 +11014,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsUiDisabled$inboun z.boolean(), CreateIntegrationStoreDirectUiDisabledIntegrations3$inboundSchema, ]); - /** @internal */ export type CreateIntegrationStoreDirectPropertiesIntegrationsUiDisabled$Outbound = | CreateIntegrationStoreDirectUiDisabledIntegrations2$Outbound @@ -13925,22 +11034,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsUiDisabled$outbou CreateIntegrationStoreDirectUiDisabledIntegrations3$outboundSchema, ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectPropertiesIntegrationsUiDisabled$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsUiDisabled$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsUiDisabled$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsUiDisabled$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsUiDisabled$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsUiDisabled$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectPropertiesIntegrationsUiDisabled$Outbound; -} - export function createIntegrationStoreDirectPropertiesIntegrationsUiDisabledToJSON( createIntegrationStoreDirectPropertiesIntegrationsUiDisabled: CreateIntegrationStoreDirectPropertiesIntegrationsUiDisabled, @@ -13950,7 +11043,6 @@ export function createIntegrationStoreDirectPropertiesIntegrationsUiDisabledToJS .parse(createIntegrationStoreDirectPropertiesIntegrationsUiDisabled), ); } - export function createIntegrationStoreDirectPropertiesIntegrationsUiDisabledFromJSON( jsonString: string, ): SafeParseResult< @@ -13975,7 +11067,6 @@ export const CreateIntegrationStoreDirectUiDescriptionIntegrations2$inboundSchem > = z.object({ expr: z.string(), }); - /** @internal */ export type CreateIntegrationStoreDirectUiDescriptionIntegrations2$Outbound = { expr: string; @@ -13991,22 +11082,6 @@ export const CreateIntegrationStoreDirectUiDescriptionIntegrations2$outboundSche expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectUiDescriptionIntegrations2$ { - /** @deprecated use `CreateIntegrationStoreDirectUiDescriptionIntegrations2$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectUiDescriptionIntegrations2$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiDescriptionIntegrations2$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectUiDescriptionIntegrations2$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiDescriptionIntegrations2$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectUiDescriptionIntegrations2$Outbound; -} - export function createIntegrationStoreDirectUiDescriptionIntegrations2ToJSON( createIntegrationStoreDirectUiDescriptionIntegrations2: CreateIntegrationStoreDirectUiDescriptionIntegrations2, @@ -14017,7 +11092,6 @@ export function createIntegrationStoreDirectUiDescriptionIntegrations2ToJSON( ), ); } - export function createIntegrationStoreDirectUiDescriptionIntegrations2FromJSON( jsonString: string, ): SafeParseResult< @@ -14045,7 +11119,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsUiDescription$inb ), z.string(), ]); - /** @internal */ export type CreateIntegrationStoreDirectPropertiesIntegrationsUiDescription$Outbound = | CreateIntegrationStoreDirectUiDescriptionIntegrations2$Outbound @@ -14064,22 +11137,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsUiDescription$out z.string(), ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectPropertiesIntegrationsUiDescription$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsUiDescription$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsUiDescription$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsUiDescription$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsUiDescription$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsUiDescription$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectPropertiesIntegrationsUiDescription$Outbound; -} - export function createIntegrationStoreDirectPropertiesIntegrationsUiDescriptionToJSON( createIntegrationStoreDirectPropertiesIntegrationsUiDescription: CreateIntegrationStoreDirectPropertiesIntegrationsUiDescription, @@ -14089,7 +11146,6 @@ export function createIntegrationStoreDirectPropertiesIntegrationsUiDescriptionT .parse(createIntegrationStoreDirectPropertiesIntegrationsUiDescription), ); } - export function createIntegrationStoreDirectPropertiesIntegrationsUiDescriptionFromJSON( jsonString: string, ): SafeParseResult< @@ -14114,7 +11170,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsUiFormattedValue$ > = z.object({ expr: z.string(), }); - /** @internal */ export type CreateIntegrationStoreDirectPropertiesIntegrationsUiFormattedValue$Outbound = { @@ -14131,22 +11186,6 @@ export const CreateIntegrationStoreDirectPropertiesIntegrationsUiFormattedValue$ expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectPropertiesIntegrationsUiFormattedValue$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsUiFormattedValue$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsUiFormattedValue$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsUiFormattedValue$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsUiFormattedValue$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsUiFormattedValue$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectPropertiesIntegrationsUiFormattedValue$Outbound; -} - export function createIntegrationStoreDirectPropertiesIntegrationsUiFormattedValueToJSON( createIntegrationStoreDirectPropertiesIntegrationsUiFormattedValue: CreateIntegrationStoreDirectPropertiesIntegrationsUiFormattedValue, @@ -14158,7 +11197,6 @@ export function createIntegrationStoreDirectPropertiesIntegrationsUiFormattedVal ), ); } - export function createIntegrationStoreDirectPropertiesIntegrationsUiFormattedValueFromJSON( jsonString: string, ): SafeParseResult< @@ -14233,7 +11271,6 @@ export const CreateIntegrationStoreDirectProperties2$inboundSchema: z.ZodType< "ui:placeholder": "uiPlaceholder", }); }); - /** @internal */ export type CreateIntegrationStoreDirectProperties2$Outbound = { type: string; @@ -14330,21 +11367,6 @@ export const CreateIntegrationStoreDirectProperties2$outboundSchema: z.ZodType< }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectProperties2$ { - /** @deprecated use `CreateIntegrationStoreDirectProperties2$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectProperties2$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectProperties2$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectProperties2$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectProperties2$Outbound` instead. */ - export type Outbound = CreateIntegrationStoreDirectProperties2$Outbound; -} - export function createIntegrationStoreDirectProperties2ToJSON( createIntegrationStoreDirectProperties2: CreateIntegrationStoreDirectProperties2, @@ -14355,7 +11377,6 @@ export function createIntegrationStoreDirectProperties2ToJSON( ), ); } - export function createIntegrationStoreDirectProperties2FromJSON( jsonString: string, ): SafeParseResult< @@ -14376,108 +11397,62 @@ export function createIntegrationStoreDirectProperties2FromJSON( export const CreateIntegrationStoreDirectPropertiesType$inboundSchema: z.ZodNativeEnum = z .nativeEnum(CreateIntegrationStoreDirectPropertiesType); - /** @internal */ export const CreateIntegrationStoreDirectPropertiesType$outboundSchema: z.ZodNativeEnum = CreateIntegrationStoreDirectPropertiesType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectPropertiesType$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesType$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesType$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesType$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesType$outboundSchema; -} - /** @internal */ export const CreateIntegrationStoreDirectPropertiesUiControl$inboundSchema: z.ZodNativeEnum = z .nativeEnum(CreateIntegrationStoreDirectPropertiesUiControl); - /** @internal */ export const CreateIntegrationStoreDirectPropertiesUiControl$outboundSchema: z.ZodNativeEnum = CreateIntegrationStoreDirectPropertiesUiControl$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectPropertiesUiControl$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesUiControl$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesUiControl$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesUiControl$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesUiControl$outboundSchema; -} - /** @internal */ -export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema1AtBRANDAt8486$inboundSchema: +export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema1AtBRANDAt8795$inboundSchema: z.ZodType< - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema1AtBRANDAt8486, + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema1AtBRANDAt8795, z.ZodTypeDef, unknown > = z.object({}); - /** @internal */ -export type CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema1AtBRANDAt8486$Outbound = +export type CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema1AtBRANDAt8795$Outbound = {}; /** @internal */ -export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema1AtBRANDAt8486$outboundSchema: +export const CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema1AtBRANDAt8795$outboundSchema: z.ZodType< - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema1AtBRANDAt8486$Outbound, + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema1AtBRANDAt8795$Outbound, z.ZodTypeDef, - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema1AtBRANDAt8486 + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema1AtBRANDAt8795 > = 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 CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema1AtBRANDAt8486$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema1AtBRANDAt8486$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema1AtBRANDAt8486$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema1AtBRANDAt8486$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema1AtBRANDAt8486$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema1AtBRANDAt8486$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema1AtBRANDAt8486$Outbound; -} - -export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema1AtBRANDAt8486ToJSON( - createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema1AtBRANDAt8486: - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema1AtBRANDAt8486, +export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema1AtBRANDAt8795ToJSON( + createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema1AtBRANDAt8795: + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema1AtBRANDAt8795, ): string { return JSON.stringify( - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema1AtBRANDAt8486$outboundSchema + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema1AtBRANDAt8795$outboundSchema .parse( - createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema1AtBRANDAt8486, + createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema1AtBRANDAt8795, ), ); } - -export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema1AtBRANDAt8486FromJSON( +export function createIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema1AtBRANDAt8795FromJSON( jsonString: string, ): SafeParseResult< - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema1AtBRANDAt8486, + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema1AtBRANDAt8795, SDKValidationError > { return safeParse( jsonString, (x) => - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema1AtBRANDAt8486$inboundSchema + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema1AtBRANDAt8795$inboundSchema .parse(JSON.parse(x)), - `Failed to parse 'CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema1AtBRANDAt8486' from JSON`, + `Failed to parse 'CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema1AtBRANDAt8795' from JSON`, ); } @@ -14488,19 +11463,18 @@ export const CreateIntegrationStoreDirectPropertiesMaxLength$inboundSchema: z.ZodTypeDef, unknown > = z.object({ - "__@BRAND@8486": z.lazy(() => - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema1AtBRANDAt8486$inboundSchema + "__@BRAND@8795": z.lazy(() => + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema1AtBRANDAt8795$inboundSchema ), }).transform((v) => { return remap$(v, { - "__@BRAND@8486": "atBRANDAt8486", + "__@BRAND@8795": "atBRANDAt8795", }); }); - /** @internal */ export type CreateIntegrationStoreDirectPropertiesMaxLength$Outbound = { - "__@BRAND@8486": - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema1AtBRANDAt8486$Outbound; + "__@BRAND@8795": + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema1AtBRANDAt8795$Outbound; }; /** @internal */ @@ -14510,31 +11484,15 @@ export const CreateIntegrationStoreDirectPropertiesMaxLength$outboundSchema: z.ZodTypeDef, CreateIntegrationStoreDirectPropertiesMaxLength > = z.object({ - atBRANDAt8486: z.lazy(() => - CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema1AtBRANDAt8486$outboundSchema + atBRANDAt8795: z.lazy(() => + CreateIntegrationStoreDirectPropertiesIntegrationsResponse200ApplicationJSONResponseBodyStoreProductMetadataSchema1AtBRANDAt8795$outboundSchema ), }).transform((v) => { return remap$(v, { - atBRANDAt8486: "__@BRAND@8486", + atBRANDAt8795: "__@BRAND@8795", }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectPropertiesMaxLength$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesMaxLength$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesMaxLength$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesMaxLength$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesMaxLength$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesMaxLength$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectPropertiesMaxLength$Outbound; -} - export function createIntegrationStoreDirectPropertiesMaxLengthToJSON( createIntegrationStoreDirectPropertiesMaxLength: CreateIntegrationStoreDirectPropertiesMaxLength, @@ -14545,7 +11503,6 @@ export function createIntegrationStoreDirectPropertiesMaxLengthToJSON( ), ); } - export function createIntegrationStoreDirectPropertiesMaxLengthFromJSON( jsonString: string, ): SafeParseResult< @@ -14563,50 +11520,35 @@ export function createIntegrationStoreDirectPropertiesMaxLengthFromJSON( } /** @internal */ -export const PropertiesAtBRANDAt8486$inboundSchema: z.ZodType< - PropertiesAtBRANDAt8486, +export const PropertiesAtBRANDAt8795$inboundSchema: z.ZodType< + PropertiesAtBRANDAt8795, z.ZodTypeDef, unknown > = z.object({}); - /** @internal */ -export type PropertiesAtBRANDAt8486$Outbound = {}; +export type PropertiesAtBRANDAt8795$Outbound = {}; /** @internal */ -export const PropertiesAtBRANDAt8486$outboundSchema: z.ZodType< - PropertiesAtBRANDAt8486$Outbound, +export const PropertiesAtBRANDAt8795$outboundSchema: z.ZodType< + PropertiesAtBRANDAt8795$Outbound, z.ZodTypeDef, - PropertiesAtBRANDAt8486 + PropertiesAtBRANDAt8795 > = 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 PropertiesAtBRANDAt8486$ { - /** @deprecated use `PropertiesAtBRANDAt8486$inboundSchema` instead. */ - export const inboundSchema = PropertiesAtBRANDAt8486$inboundSchema; - /** @deprecated use `PropertiesAtBRANDAt8486$outboundSchema` instead. */ - export const outboundSchema = PropertiesAtBRANDAt8486$outboundSchema; - /** @deprecated use `PropertiesAtBRANDAt8486$Outbound` instead. */ - export type Outbound = PropertiesAtBRANDAt8486$Outbound; -} - -export function propertiesAtBRANDAt8486ToJSON( - propertiesAtBRANDAt8486: PropertiesAtBRANDAt8486, +export function propertiesAtBRANDAt8795ToJSON( + propertiesAtBRANDAt8795: PropertiesAtBRANDAt8795, ): string { return JSON.stringify( - PropertiesAtBRANDAt8486$outboundSchema.parse(propertiesAtBRANDAt8486), + PropertiesAtBRANDAt8795$outboundSchema.parse(propertiesAtBRANDAt8795), ); } - -export function propertiesAtBRANDAt8486FromJSON( +export function propertiesAtBRANDAt8795FromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => PropertiesAtBRANDAt8486$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'PropertiesAtBRANDAt8486' from JSON`, + (x) => PropertiesAtBRANDAt8795$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PropertiesAtBRANDAt8795' from JSON`, ); } @@ -14617,16 +11559,15 @@ export const CreateIntegrationStoreDirectPropertiesMinLength$inboundSchema: z.ZodTypeDef, unknown > = z.object({ - "__@BRAND@8486": z.lazy(() => PropertiesAtBRANDAt8486$inboundSchema), + "__@BRAND@8795": z.lazy(() => PropertiesAtBRANDAt8795$inboundSchema), }).transform((v) => { return remap$(v, { - "__@BRAND@8486": "atBRANDAt8486", + "__@BRAND@8795": "atBRANDAt8795", }); }); - /** @internal */ export type CreateIntegrationStoreDirectPropertiesMinLength$Outbound = { - "__@BRAND@8486": PropertiesAtBRANDAt8486$Outbound; + "__@BRAND@8795": PropertiesAtBRANDAt8795$Outbound; }; /** @internal */ @@ -14636,29 +11577,13 @@ export const CreateIntegrationStoreDirectPropertiesMinLength$outboundSchema: z.ZodTypeDef, CreateIntegrationStoreDirectPropertiesMinLength > = z.object({ - atBRANDAt8486: z.lazy(() => PropertiesAtBRANDAt8486$outboundSchema), + atBRANDAt8795: z.lazy(() => PropertiesAtBRANDAt8795$outboundSchema), }).transform((v) => { return remap$(v, { - atBRANDAt8486: "__@BRAND@8486", + atBRANDAt8795: "__@BRAND@8795", }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectPropertiesMinLength$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesMinLength$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesMinLength$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesMinLength$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesMinLength$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesMinLength$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectPropertiesMinLength$Outbound; -} - export function createIntegrationStoreDirectPropertiesMinLengthToJSON( createIntegrationStoreDirectPropertiesMinLength: CreateIntegrationStoreDirectPropertiesMinLength, @@ -14669,7 +11594,6 @@ export function createIntegrationStoreDirectPropertiesMinLengthToJSON( ), ); } - export function createIntegrationStoreDirectPropertiesMinLengthFromJSON( jsonString: string, ): SafeParseResult< @@ -14687,64 +11611,46 @@ export function createIntegrationStoreDirectPropertiesMinLengthFromJSON( } /** @internal */ -export const CreateIntegrationStoreDirectPropertiesAtBRANDAt8486$inboundSchema: +export const CreateIntegrationStoreDirectPropertiesAtBRANDAt8795$inboundSchema: z.ZodType< - CreateIntegrationStoreDirectPropertiesAtBRANDAt8486, + CreateIntegrationStoreDirectPropertiesAtBRANDAt8795, z.ZodTypeDef, unknown > = z.object({}); - /** @internal */ -export type CreateIntegrationStoreDirectPropertiesAtBRANDAt8486$Outbound = {}; +export type CreateIntegrationStoreDirectPropertiesAtBRANDAt8795$Outbound = {}; /** @internal */ -export const CreateIntegrationStoreDirectPropertiesAtBRANDAt8486$outboundSchema: +export const CreateIntegrationStoreDirectPropertiesAtBRANDAt8795$outboundSchema: z.ZodType< - CreateIntegrationStoreDirectPropertiesAtBRANDAt8486$Outbound, + CreateIntegrationStoreDirectPropertiesAtBRANDAt8795$Outbound, z.ZodTypeDef, - CreateIntegrationStoreDirectPropertiesAtBRANDAt8486 + CreateIntegrationStoreDirectPropertiesAtBRANDAt8795 > = 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 CreateIntegrationStoreDirectPropertiesAtBRANDAt8486$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesAtBRANDAt8486$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesAtBRANDAt8486$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesAtBRANDAt8486$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesAtBRANDAt8486$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesAtBRANDAt8486$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectPropertiesAtBRANDAt8486$Outbound; -} - -export function createIntegrationStoreDirectPropertiesAtBRANDAt8486ToJSON( - createIntegrationStoreDirectPropertiesAtBRANDAt8486: - CreateIntegrationStoreDirectPropertiesAtBRANDAt8486, +export function createIntegrationStoreDirectPropertiesAtBRANDAt8795ToJSON( + createIntegrationStoreDirectPropertiesAtBRANDAt8795: + CreateIntegrationStoreDirectPropertiesAtBRANDAt8795, ): string { return JSON.stringify( - CreateIntegrationStoreDirectPropertiesAtBRANDAt8486$outboundSchema.parse( - createIntegrationStoreDirectPropertiesAtBRANDAt8486, + CreateIntegrationStoreDirectPropertiesAtBRANDAt8795$outboundSchema.parse( + createIntegrationStoreDirectPropertiesAtBRANDAt8795, ), ); } - -export function createIntegrationStoreDirectPropertiesAtBRANDAt8486FromJSON( +export function createIntegrationStoreDirectPropertiesAtBRANDAt8795FromJSON( jsonString: string, ): SafeParseResult< - CreateIntegrationStoreDirectPropertiesAtBRANDAt8486, + CreateIntegrationStoreDirectPropertiesAtBRANDAt8795, SDKValidationError > { return safeParse( jsonString, (x) => - CreateIntegrationStoreDirectPropertiesAtBRANDAt8486$inboundSchema.parse( + CreateIntegrationStoreDirectPropertiesAtBRANDAt8795$inboundSchema.parse( JSON.parse(x), ), - `Failed to parse 'CreateIntegrationStoreDirectPropertiesAtBRANDAt8486' from JSON`, + `Failed to parse 'CreateIntegrationStoreDirectPropertiesAtBRANDAt8795' from JSON`, ); } @@ -14755,18 +11661,17 @@ export const CreateIntegrationStoreDirectPropertiesPattern$inboundSchema: z.ZodTypeDef, unknown > = z.object({ - "__@BRAND@8486": z.lazy(() => - CreateIntegrationStoreDirectPropertiesAtBRANDAt8486$inboundSchema + "__@BRAND@8795": z.lazy(() => + CreateIntegrationStoreDirectPropertiesAtBRANDAt8795$inboundSchema ), }).transform((v) => { return remap$(v, { - "__@BRAND@8486": "atBRANDAt8486", + "__@BRAND@8795": "atBRANDAt8795", }); }); - /** @internal */ export type CreateIntegrationStoreDirectPropertiesPattern$Outbound = { - "__@BRAND@8486": CreateIntegrationStoreDirectPropertiesAtBRANDAt8486$Outbound; + "__@BRAND@8795": CreateIntegrationStoreDirectPropertiesAtBRANDAt8795$Outbound; }; /** @internal */ @@ -14776,30 +11681,15 @@ export const CreateIntegrationStoreDirectPropertiesPattern$outboundSchema: z.ZodTypeDef, CreateIntegrationStoreDirectPropertiesPattern > = z.object({ - atBRANDAt8486: z.lazy(() => - CreateIntegrationStoreDirectPropertiesAtBRANDAt8486$outboundSchema + atBRANDAt8795: z.lazy(() => + CreateIntegrationStoreDirectPropertiesAtBRANDAt8795$outboundSchema ), }).transform((v) => { return remap$(v, { - atBRANDAt8486: "__@BRAND@8486", + atBRANDAt8795: "__@BRAND@8795", }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectPropertiesPattern$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesPattern$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesPattern$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesPattern$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesPattern$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesPattern$Outbound` instead. */ - export type Outbound = CreateIntegrationStoreDirectPropertiesPattern$Outbound; -} - export function createIntegrationStoreDirectPropertiesPatternToJSON( createIntegrationStoreDirectPropertiesPattern: CreateIntegrationStoreDirectPropertiesPattern, @@ -14810,7 +11700,6 @@ export function createIntegrationStoreDirectPropertiesPatternToJSON( ), ); } - export function createIntegrationStoreDirectPropertiesPatternFromJSON( jsonString: string, ): SafeParseResult< @@ -14831,25 +11720,11 @@ export function createIntegrationStoreDirectPropertiesPatternFromJSON( export const CreateIntegrationStoreDirectUiReadOnly3$inboundSchema: z.ZodNativeEnum = z .nativeEnum(CreateIntegrationStoreDirectUiReadOnly3); - /** @internal */ export const CreateIntegrationStoreDirectUiReadOnly3$outboundSchema: z.ZodNativeEnum = CreateIntegrationStoreDirectUiReadOnly3$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectUiReadOnly3$ { - /** @deprecated use `CreateIntegrationStoreDirectUiReadOnly3$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectUiReadOnly3$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiReadOnly3$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectUiReadOnly3$outboundSchema; -} - /** @internal */ export const CreateIntegrationStoreDirectUiReadOnly2$inboundSchema: z.ZodType< CreateIntegrationStoreDirectUiReadOnly2, @@ -14858,7 +11733,6 @@ export const CreateIntegrationStoreDirectUiReadOnly2$inboundSchema: z.ZodType< > = z.object({ expr: z.string(), }); - /** @internal */ export type CreateIntegrationStoreDirectUiReadOnly2$Outbound = { expr: string; @@ -14873,21 +11747,6 @@ export const CreateIntegrationStoreDirectUiReadOnly2$outboundSchema: z.ZodType< expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectUiReadOnly2$ { - /** @deprecated use `CreateIntegrationStoreDirectUiReadOnly2$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectUiReadOnly2$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiReadOnly2$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectUiReadOnly2$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiReadOnly2$Outbound` instead. */ - export type Outbound = CreateIntegrationStoreDirectUiReadOnly2$Outbound; -} - export function createIntegrationStoreDirectUiReadOnly2ToJSON( createIntegrationStoreDirectUiReadOnly2: CreateIntegrationStoreDirectUiReadOnly2, @@ -14898,7 +11757,6 @@ export function createIntegrationStoreDirectUiReadOnly2ToJSON( ), ); } - export function createIntegrationStoreDirectUiReadOnly2FromJSON( jsonString: string, ): SafeParseResult< @@ -14926,7 +11784,6 @@ export const CreateIntegrationStoreDirectPropertiesUiReadOnly$inboundSchema: z.boolean(), CreateIntegrationStoreDirectUiReadOnly3$inboundSchema, ]); - /** @internal */ export type CreateIntegrationStoreDirectPropertiesUiReadOnly$Outbound = | CreateIntegrationStoreDirectUiReadOnly2$Outbound @@ -14945,22 +11802,6 @@ export const CreateIntegrationStoreDirectPropertiesUiReadOnly$outboundSchema: CreateIntegrationStoreDirectUiReadOnly3$outboundSchema, ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectPropertiesUiReadOnly$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesUiReadOnly$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesUiReadOnly$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesUiReadOnly$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesUiReadOnly$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesUiReadOnly$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectPropertiesUiReadOnly$Outbound; -} - export function createIntegrationStoreDirectPropertiesUiReadOnlyToJSON( createIntegrationStoreDirectPropertiesUiReadOnly: CreateIntegrationStoreDirectPropertiesUiReadOnly, @@ -14971,7 +11812,6 @@ export function createIntegrationStoreDirectPropertiesUiReadOnlyToJSON( ), ); } - export function createIntegrationStoreDirectPropertiesUiReadOnlyFromJSON( jsonString: string, ): SafeParseResult< @@ -14993,25 +11833,11 @@ export const CreateIntegrationStoreDirectUiHidden3$inboundSchema: z.ZodNativeEnum = z.nativeEnum( CreateIntegrationStoreDirectUiHidden3, ); - /** @internal */ export const CreateIntegrationStoreDirectUiHidden3$outboundSchema: z.ZodNativeEnum = CreateIntegrationStoreDirectUiHidden3$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectUiHidden3$ { - /** @deprecated use `CreateIntegrationStoreDirectUiHidden3$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectUiHidden3$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiHidden3$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectUiHidden3$outboundSchema; -} - /** @internal */ export const CreateIntegrationStoreDirectUiHidden2$inboundSchema: z.ZodType< CreateIntegrationStoreDirectUiHidden2, @@ -15020,7 +11846,6 @@ export const CreateIntegrationStoreDirectUiHidden2$inboundSchema: z.ZodType< > = z.object({ expr: z.string(), }); - /** @internal */ export type CreateIntegrationStoreDirectUiHidden2$Outbound = { expr: string; @@ -15035,21 +11860,6 @@ export const CreateIntegrationStoreDirectUiHidden2$outboundSchema: z.ZodType< expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectUiHidden2$ { - /** @deprecated use `CreateIntegrationStoreDirectUiHidden2$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectUiHidden2$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiHidden2$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectUiHidden2$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiHidden2$Outbound` instead. */ - export type Outbound = CreateIntegrationStoreDirectUiHidden2$Outbound; -} - export function createIntegrationStoreDirectUiHidden2ToJSON( createIntegrationStoreDirectUiHidden2: CreateIntegrationStoreDirectUiHidden2, ): string { @@ -15059,7 +11869,6 @@ export function createIntegrationStoreDirectUiHidden2ToJSON( ), ); } - export function createIntegrationStoreDirectUiHidden2FromJSON( jsonString: string, ): SafeParseResult { @@ -15082,7 +11891,6 @@ export const CreateIntegrationStoreDirectPropertiesUiHidden$inboundSchema: z.boolean(), CreateIntegrationStoreDirectUiHidden3$inboundSchema, ]); - /** @internal */ export type CreateIntegrationStoreDirectPropertiesUiHidden$Outbound = | CreateIntegrationStoreDirectUiHidden2$Outbound @@ -15101,22 +11909,6 @@ export const CreateIntegrationStoreDirectPropertiesUiHidden$outboundSchema: CreateIntegrationStoreDirectUiHidden3$outboundSchema, ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectPropertiesUiHidden$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesUiHidden$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesUiHidden$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesUiHidden$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesUiHidden$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesUiHidden$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectPropertiesUiHidden$Outbound; -} - export function createIntegrationStoreDirectPropertiesUiHiddenToJSON( createIntegrationStoreDirectPropertiesUiHidden: CreateIntegrationStoreDirectPropertiesUiHidden, @@ -15127,7 +11919,6 @@ export function createIntegrationStoreDirectPropertiesUiHiddenToJSON( ), ); } - export function createIntegrationStoreDirectPropertiesUiHiddenFromJSON( jsonString: string, ): SafeParseResult< @@ -15148,25 +11939,11 @@ export function createIntegrationStoreDirectPropertiesUiHiddenFromJSON( export const CreateIntegrationStoreDirectUiDisabled3$inboundSchema: z.ZodNativeEnum = z .nativeEnum(CreateIntegrationStoreDirectUiDisabled3); - /** @internal */ export const CreateIntegrationStoreDirectUiDisabled3$outboundSchema: z.ZodNativeEnum = CreateIntegrationStoreDirectUiDisabled3$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectUiDisabled3$ { - /** @deprecated use `CreateIntegrationStoreDirectUiDisabled3$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectUiDisabled3$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiDisabled3$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectUiDisabled3$outboundSchema; -} - /** @internal */ export const CreateIntegrationStoreDirectUiDisabled2$inboundSchema: z.ZodType< CreateIntegrationStoreDirectUiDisabled2, @@ -15175,7 +11952,6 @@ export const CreateIntegrationStoreDirectUiDisabled2$inboundSchema: z.ZodType< > = z.object({ expr: z.string(), }); - /** @internal */ export type CreateIntegrationStoreDirectUiDisabled2$Outbound = { expr: string; @@ -15190,21 +11966,6 @@ export const CreateIntegrationStoreDirectUiDisabled2$outboundSchema: z.ZodType< expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectUiDisabled2$ { - /** @deprecated use `CreateIntegrationStoreDirectUiDisabled2$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectUiDisabled2$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiDisabled2$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectUiDisabled2$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiDisabled2$Outbound` instead. */ - export type Outbound = CreateIntegrationStoreDirectUiDisabled2$Outbound; -} - export function createIntegrationStoreDirectUiDisabled2ToJSON( createIntegrationStoreDirectUiDisabled2: CreateIntegrationStoreDirectUiDisabled2, @@ -15215,7 +11976,6 @@ export function createIntegrationStoreDirectUiDisabled2ToJSON( ), ); } - export function createIntegrationStoreDirectUiDisabled2FromJSON( jsonString: string, ): SafeParseResult< @@ -15243,7 +12003,6 @@ export const CreateIntegrationStoreDirectPropertiesUiDisabled$inboundSchema: z.boolean(), CreateIntegrationStoreDirectUiDisabled3$inboundSchema, ]); - /** @internal */ export type CreateIntegrationStoreDirectPropertiesUiDisabled$Outbound = | CreateIntegrationStoreDirectUiDisabled2$Outbound @@ -15262,22 +12021,6 @@ export const CreateIntegrationStoreDirectPropertiesUiDisabled$outboundSchema: CreateIntegrationStoreDirectUiDisabled3$outboundSchema, ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectPropertiesUiDisabled$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesUiDisabled$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesUiDisabled$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesUiDisabled$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesUiDisabled$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesUiDisabled$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectPropertiesUiDisabled$Outbound; -} - export function createIntegrationStoreDirectPropertiesUiDisabledToJSON( createIntegrationStoreDirectPropertiesUiDisabled: CreateIntegrationStoreDirectPropertiesUiDisabled, @@ -15288,7 +12031,6 @@ export function createIntegrationStoreDirectPropertiesUiDisabledToJSON( ), ); } - export function createIntegrationStoreDirectPropertiesUiDisabledFromJSON( jsonString: string, ): SafeParseResult< @@ -15311,7 +12053,6 @@ export const CreateIntegrationStoreDirectUiDescription2$inboundSchema: z.object({ expr: z.string(), }); - /** @internal */ export type CreateIntegrationStoreDirectUiDescription2$Outbound = { expr: string; @@ -15327,21 +12068,6 @@ export const CreateIntegrationStoreDirectUiDescription2$outboundSchema: expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectUiDescription2$ { - /** @deprecated use `CreateIntegrationStoreDirectUiDescription2$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectUiDescription2$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiDescription2$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectUiDescription2$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectUiDescription2$Outbound` instead. */ - export type Outbound = CreateIntegrationStoreDirectUiDescription2$Outbound; -} - export function createIntegrationStoreDirectUiDescription2ToJSON( createIntegrationStoreDirectUiDescription2: CreateIntegrationStoreDirectUiDescription2, @@ -15352,7 +12078,6 @@ export function createIntegrationStoreDirectUiDescription2ToJSON( ), ); } - export function createIntegrationStoreDirectUiDescription2FromJSON( jsonString: string, ): SafeParseResult< @@ -15379,7 +12104,6 @@ export const CreateIntegrationStoreDirectPropertiesUiDescription$inboundSchema: z.lazy(() => CreateIntegrationStoreDirectUiDescription2$inboundSchema), z.string(), ]); - /** @internal */ export type CreateIntegrationStoreDirectPropertiesUiDescription$Outbound = | CreateIntegrationStoreDirectUiDescription2$Outbound @@ -15396,22 +12120,6 @@ export const CreateIntegrationStoreDirectPropertiesUiDescription$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 CreateIntegrationStoreDirectPropertiesUiDescription$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesUiDescription$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesUiDescription$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesUiDescription$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesUiDescription$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesUiDescription$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectPropertiesUiDescription$Outbound; -} - export function createIntegrationStoreDirectPropertiesUiDescriptionToJSON( createIntegrationStoreDirectPropertiesUiDescription: CreateIntegrationStoreDirectPropertiesUiDescription, @@ -15422,7 +12130,6 @@ export function createIntegrationStoreDirectPropertiesUiDescriptionToJSON( ), ); } - export function createIntegrationStoreDirectPropertiesUiDescriptionFromJSON( jsonString: string, ): SafeParseResult< @@ -15448,7 +12155,6 @@ export const CreateIntegrationStoreDirectPropertiesUiFormattedValue$inboundSchem > = z.object({ expr: z.string(), }); - /** @internal */ export type CreateIntegrationStoreDirectPropertiesUiFormattedValue$Outbound = { expr: string; @@ -15464,22 +12170,6 @@ export const CreateIntegrationStoreDirectPropertiesUiFormattedValue$outboundSche expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectPropertiesUiFormattedValue$ { - /** @deprecated use `CreateIntegrationStoreDirectPropertiesUiFormattedValue$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectPropertiesUiFormattedValue$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesUiFormattedValue$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectPropertiesUiFormattedValue$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectPropertiesUiFormattedValue$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectPropertiesUiFormattedValue$Outbound; -} - export function createIntegrationStoreDirectPropertiesUiFormattedValueToJSON( createIntegrationStoreDirectPropertiesUiFormattedValue: CreateIntegrationStoreDirectPropertiesUiFormattedValue, @@ -15490,7 +12180,6 @@ export function createIntegrationStoreDirectPropertiesUiFormattedValueToJSON( ), ); } - export function createIntegrationStoreDirectPropertiesUiFormattedValueFromJSON( jsonString: string, ): SafeParseResult< @@ -15562,7 +12251,6 @@ export const CreateIntegrationStoreDirectProperties1$inboundSchema: z.ZodType< "ui:placeholder": "uiPlaceholder", }); }); - /** @internal */ export type CreateIntegrationStoreDirectProperties1$Outbound = { type: string; @@ -15660,21 +12348,6 @@ export const CreateIntegrationStoreDirectProperties1$outboundSchema: z.ZodType< }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectProperties1$ { - /** @deprecated use `CreateIntegrationStoreDirectProperties1$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectProperties1$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectProperties1$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectProperties1$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectProperties1$Outbound` instead. */ - export type Outbound = CreateIntegrationStoreDirectProperties1$Outbound; -} - export function createIntegrationStoreDirectProperties1ToJSON( createIntegrationStoreDirectProperties1: CreateIntegrationStoreDirectProperties1, @@ -15685,7 +12358,6 @@ export function createIntegrationStoreDirectProperties1ToJSON( ), ); } - export function createIntegrationStoreDirectProperties1FromJSON( jsonString: string, ): SafeParseResult< @@ -15718,7 +12390,6 @@ export const CreateIntegrationStoreDirectProperties$inboundSchema: z.ZodType< z.lazy(() => CreateIntegrationStoreDirectProperties8$inboundSchema), z.lazy(() => CreateIntegrationStoreDirectProperties9$inboundSchema), ]); - /** @internal */ export type CreateIntegrationStoreDirectProperties$Outbound = | CreateIntegrationStoreDirectProperties4$Outbound @@ -15748,21 +12419,6 @@ export const CreateIntegrationStoreDirectProperties$outboundSchema: z.ZodType< z.lazy(() => CreateIntegrationStoreDirectProperties9$outboundSchema), ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectProperties$ { - /** @deprecated use `CreateIntegrationStoreDirectProperties$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectProperties$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectProperties$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectProperties$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectProperties$Outbound` instead. */ - export type Outbound = CreateIntegrationStoreDirectProperties$Outbound; -} - export function createIntegrationStoreDirectPropertiesToJSON( createIntegrationStoreDirectProperties: CreateIntegrationStoreDirectProperties, @@ -15773,7 +12429,6 @@ export function createIntegrationStoreDirectPropertiesToJSON( ), ); } - export function createIntegrationStoreDirectPropertiesFromJSON( jsonString: string, ): SafeParseResult { @@ -15805,7 +12460,6 @@ export const CreateIntegrationStoreDirectMetadataSchema$inboundSchema: ), required: z.array(z.string()).optional(), }); - /** @internal */ export type CreateIntegrationStoreDirectMetadataSchema$Outbound = { type: string; @@ -15848,21 +12502,6 @@ export const CreateIntegrationStoreDirectMetadataSchema$outboundSchema: required: 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 CreateIntegrationStoreDirectMetadataSchema$ { - /** @deprecated use `CreateIntegrationStoreDirectMetadataSchema$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectMetadataSchema$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectMetadataSchema$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectMetadataSchema$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectMetadataSchema$Outbound` instead. */ - export type Outbound = CreateIntegrationStoreDirectMetadataSchema$Outbound; -} - export function createIntegrationStoreDirectMetadataSchemaToJSON( createIntegrationStoreDirectMetadataSchema: CreateIntegrationStoreDirectMetadataSchema, @@ -15873,7 +12512,6 @@ export function createIntegrationStoreDirectMetadataSchemaToJSON( ), ); } - export function createIntegrationStoreDirectMetadataSchemaFromJSON( jsonString: string, ): SafeParseResult< @@ -15899,7 +12537,6 @@ export const ResourceLinks$inboundSchema: z.ZodType< href: z.string(), title: z.string(), }); - /** @internal */ export type ResourceLinks$Outbound = { href: string; @@ -15916,23 +12553,9 @@ export const ResourceLinks$outboundSchema: z.ZodType< title: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ResourceLinks$ { - /** @deprecated use `ResourceLinks$inboundSchema` instead. */ - export const inboundSchema = ResourceLinks$inboundSchema; - /** @deprecated use `ResourceLinks$outboundSchema` instead. */ - export const outboundSchema = ResourceLinks$outboundSchema; - /** @deprecated use `ResourceLinks$Outbound` instead. */ - export type Outbound = ResourceLinks$Outbound; -} - export function resourceLinksToJSON(resourceLinks: ResourceLinks): string { return JSON.stringify(ResourceLinks$outboundSchema.parse(resourceLinks)); } - export function resourceLinksFromJSON( jsonString: string, ): SafeParseResult { @@ -15947,44 +12570,20 @@ export function resourceLinksFromJSON( export const CreateIntegrationStoreDirectTags$inboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectTags > = z.nativeEnum(CreateIntegrationStoreDirectTags); - /** @internal */ export const CreateIntegrationStoreDirectTags$outboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectTags > = CreateIntegrationStoreDirectTags$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectTags$ { - /** @deprecated use `CreateIntegrationStoreDirectTags$inboundSchema` instead. */ - export const inboundSchema = CreateIntegrationStoreDirectTags$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectTags$outboundSchema` instead. */ - export const outboundSchema = CreateIntegrationStoreDirectTags$outboundSchema; -} - /** @internal */ export const ProjectConnectionScopes$inboundSchema: z.ZodNativeEnum< typeof ProjectConnectionScopes > = z.nativeEnum(ProjectConnectionScopes); - /** @internal */ export const ProjectConnectionScopes$outboundSchema: z.ZodNativeEnum< typeof ProjectConnectionScopes > = ProjectConnectionScopes$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ProjectConnectionScopes$ { - /** @deprecated use `ProjectConnectionScopes$inboundSchema` instead. */ - export const inboundSchema = ProjectConnectionScopes$inboundSchema; - /** @deprecated use `ProjectConnectionScopes$outboundSchema` instead. */ - export const outboundSchema = ProjectConnectionScopes$outboundSchema; -} - /** @internal */ export const Repl$inboundSchema: z.ZodType = z .object({ @@ -15992,7 +12591,6 @@ export const Repl$inboundSchema: z.ZodType = z supportsReadOnlyMode: z.boolean(), welcomeMessage: z.string().optional(), }); - /** @internal */ export type Repl$Outbound = { enabled: boolean; @@ -16008,23 +12606,9 @@ export const Repl$outboundSchema: z.ZodType = welcomeMessage: z.string().optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Repl$ { - /** @deprecated use `Repl$inboundSchema` instead. */ - export const inboundSchema = Repl$inboundSchema; - /** @deprecated use `Repl$outboundSchema` instead. */ - export const outboundSchema = Repl$outboundSchema; - /** @deprecated use `Repl$Outbound` instead. */ - export type Outbound = Repl$Outbound; -} - export function replToJSON(repl: Repl): string { return JSON.stringify(Repl$outboundSchema.parse(repl)); } - export function replFromJSON( jsonString: string, ): SafeParseResult { @@ -16039,81 +12623,58 @@ export function replFromJSON( export const CreateIntegrationStoreDirectIntegrationsResponseType$inboundSchema: z.ZodNativeEnum = z.nativeEnum(CreateIntegrationStoreDirectIntegrationsResponseType); - /** @internal */ export const CreateIntegrationStoreDirectIntegrationsResponseType$outboundSchema: z.ZodNativeEnum = CreateIntegrationStoreDirectIntegrationsResponseType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectIntegrationsResponseType$ { - /** @deprecated use `CreateIntegrationStoreDirectIntegrationsResponseType$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectIntegrationsResponseType$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectIntegrationsResponseType$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectIntegrationsResponseType$outboundSchema; -} - /** @internal */ -export const CreateIntegrationStoreDirectActions$inboundSchema: z.ZodType< - CreateIntegrationStoreDirectActions, - z.ZodTypeDef, - unknown -> = z.object({ - type: CreateIntegrationStoreDirectIntegrationsResponseType$inboundSchema, -}); - +export const CreateIntegrationStoreDirectIntegrationsActions$inboundSchema: + z.ZodType< + CreateIntegrationStoreDirectIntegrationsActions, + z.ZodTypeDef, + unknown + > = z.object({ + type: CreateIntegrationStoreDirectIntegrationsResponseType$inboundSchema, + }); /** @internal */ -export type CreateIntegrationStoreDirectActions$Outbound = { +export type CreateIntegrationStoreDirectIntegrationsActions$Outbound = { type: string; }; /** @internal */ -export const CreateIntegrationStoreDirectActions$outboundSchema: z.ZodType< - CreateIntegrationStoreDirectActions$Outbound, - z.ZodTypeDef, - CreateIntegrationStoreDirectActions -> = z.object({ - type: CreateIntegrationStoreDirectIntegrationsResponseType$outboundSchema, -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectActions$ { - /** @deprecated use `CreateIntegrationStoreDirectActions$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectActions$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectActions$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectActions$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectActions$Outbound` instead. */ - export type Outbound = CreateIntegrationStoreDirectActions$Outbound; -} +export const CreateIntegrationStoreDirectIntegrationsActions$outboundSchema: + z.ZodType< + CreateIntegrationStoreDirectIntegrationsActions$Outbound, + z.ZodTypeDef, + CreateIntegrationStoreDirectIntegrationsActions + > = z.object({ + type: CreateIntegrationStoreDirectIntegrationsResponseType$outboundSchema, + }); -export function createIntegrationStoreDirectActionsToJSON( - createIntegrationStoreDirectActions: CreateIntegrationStoreDirectActions, +export function createIntegrationStoreDirectIntegrationsActionsToJSON( + createIntegrationStoreDirectIntegrationsActions: + CreateIntegrationStoreDirectIntegrationsActions, ): string { return JSON.stringify( - CreateIntegrationStoreDirectActions$outboundSchema.parse( - createIntegrationStoreDirectActions, + CreateIntegrationStoreDirectIntegrationsActions$outboundSchema.parse( + createIntegrationStoreDirectIntegrationsActions, ), ); } - -export function createIntegrationStoreDirectActionsFromJSON( +export function createIntegrationStoreDirectIntegrationsActionsFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult< + CreateIntegrationStoreDirectIntegrationsActions, + SDKValidationError +> { return safeParse( jsonString, (x) => - CreateIntegrationStoreDirectActions$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateIntegrationStoreDirectActions' from JSON`, + CreateIntegrationStoreDirectIntegrationsActions$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'CreateIntegrationStoreDirectIntegrationsActions' from JSON`, ); } @@ -16123,15 +12684,18 @@ export const Steps$inboundSchema: z.ZodType = z title: z.string(), content: z.string(), actions: z.array( - z.lazy(() => CreateIntegrationStoreDirectActions$inboundSchema), + z.lazy(() => + CreateIntegrationStoreDirectIntegrationsActions$inboundSchema + ), ).optional(), }); - /** @internal */ export type Steps$Outbound = { title: string; content: string; - actions?: Array | undefined; + actions?: + | Array + | undefined; }; /** @internal */ @@ -16143,27 +12707,15 @@ export const Steps$outboundSchema: z.ZodType< title: z.string(), content: z.string(), actions: z.array( - z.lazy(() => CreateIntegrationStoreDirectActions$outboundSchema), + z.lazy(() => + CreateIntegrationStoreDirectIntegrationsActions$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 Steps$ { - /** @deprecated use `Steps$inboundSchema` instead. */ - export const inboundSchema = Steps$inboundSchema; - /** @deprecated use `Steps$outboundSchema` instead. */ - export const outboundSchema = Steps$outboundSchema; - /** @deprecated use `Steps$Outbound` instead. */ - export type Outbound = Steps$Outbound; -} - export function stepsToJSON(steps: Steps): string { return JSON.stringify(Steps$outboundSchema.parse(steps)); } - export function stepsFromJSON( jsonString: string, ): SafeParseResult { @@ -16181,7 +12733,6 @@ export const Guides$inboundSchema: z.ZodType = z title: z.string(), steps: z.array(z.lazy(() => Steps$inboundSchema)), }); - /** @internal */ export type Guides$Outbound = { framework: string; @@ -16200,23 +12751,9 @@ export const Guides$outboundSchema: z.ZodType< steps: z.array(z.lazy(() => Steps$outboundSchema)), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Guides$ { - /** @deprecated use `Guides$inboundSchema` instead. */ - export const inboundSchema = Guides$inboundSchema; - /** @deprecated use `Guides$outboundSchema` instead. */ - export const outboundSchema = Guides$outboundSchema; - /** @deprecated use `Guides$Outbound` instead. */ - export type Outbound = Guides$Outbound; -} - export function guidesToJSON(guides: Guides): string { return JSON.stringify(Guides$outboundSchema.parse(guides)); } - export function guidesFromJSON( jsonString: string, ): SafeParseResult { @@ -16228,46 +12765,31 @@ export function guidesFromJSON( } /** @internal */ -export const AtBRANDAt8486$inboundSchema: z.ZodType< - AtBRANDAt8486, +export const AtBRANDAt8795$inboundSchema: z.ZodType< + AtBRANDAt8795, z.ZodTypeDef, unknown > = z.object({}); - /** @internal */ -export type AtBRANDAt8486$Outbound = {}; +export type AtBRANDAt8795$Outbound = {}; /** @internal */ -export const AtBRANDAt8486$outboundSchema: z.ZodType< - AtBRANDAt8486$Outbound, +export const AtBRANDAt8795$outboundSchema: z.ZodType< + AtBRANDAt8795$Outbound, z.ZodTypeDef, - AtBRANDAt8486 + AtBRANDAt8795 > = 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 AtBRANDAt8486$ { - /** @deprecated use `AtBRANDAt8486$inboundSchema` instead. */ - export const inboundSchema = AtBRANDAt8486$inboundSchema; - /** @deprecated use `AtBRANDAt8486$outboundSchema` instead. */ - export const outboundSchema = AtBRANDAt8486$outboundSchema; - /** @deprecated use `AtBRANDAt8486$Outbound` instead. */ - export type Outbound = AtBRANDAt8486$Outbound; -} - -export function atBRANDAt8486ToJSON(atBRANDAt8486: AtBRANDAt8486): string { - return JSON.stringify(AtBRANDAt8486$outboundSchema.parse(atBRANDAt8486)); +export function atBRANDAt8795ToJSON(atBRANDAt8795: AtBRANDAt8795): string { + return JSON.stringify(AtBRANDAt8795$outboundSchema.parse(atBRANDAt8795)); } - -export function atBRANDAt8486FromJSON( +export function atBRANDAt8795FromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => AtBRANDAt8486$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'AtBRANDAt8486' from JSON`, + (x) => AtBRANDAt8795$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'AtBRANDAt8795' from JSON`, ); } @@ -16277,16 +12799,15 @@ export const CreateIntegrationStoreDirectValue$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - "__@BRAND@8486": z.lazy(() => AtBRANDAt8486$inboundSchema), + "__@BRAND@8795": z.lazy(() => AtBRANDAt8795$inboundSchema), }).transform((v) => { return remap$(v, { - "__@BRAND@8486": "atBRANDAt8486", + "__@BRAND@8795": "atBRANDAt8795", }); }); - /** @internal */ export type CreateIntegrationStoreDirectValue$Outbound = { - "__@BRAND@8486": AtBRANDAt8486$Outbound; + "__@BRAND@8795": AtBRANDAt8795$Outbound; }; /** @internal */ @@ -16295,27 +12816,13 @@ export const CreateIntegrationStoreDirectValue$outboundSchema: z.ZodType< z.ZodTypeDef, CreateIntegrationStoreDirectValue > = z.object({ - atBRANDAt8486: z.lazy(() => AtBRANDAt8486$outboundSchema), + atBRANDAt8795: z.lazy(() => AtBRANDAt8795$outboundSchema), }).transform((v) => { return remap$(v, { - atBRANDAt8486: "__@BRAND@8486", + atBRANDAt8795: "__@BRAND@8795", }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectValue$ { - /** @deprecated use `CreateIntegrationStoreDirectValue$inboundSchema` instead. */ - export const inboundSchema = CreateIntegrationStoreDirectValue$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectValue$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectValue$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectValue$Outbound` instead. */ - export type Outbound = CreateIntegrationStoreDirectValue$Outbound; -} - export function createIntegrationStoreDirectValueToJSON( createIntegrationStoreDirectValue: CreateIntegrationStoreDirectValue, ): string { @@ -16325,7 +12832,6 @@ export function createIntegrationStoreDirectValueToJSON( ), ); } - export function createIntegrationStoreDirectValueFromJSON( jsonString: string, ): SafeParseResult { @@ -16339,22 +12845,10 @@ export function createIntegrationStoreDirectValueFromJSON( /** @internal */ export const Disabled3$inboundSchema: z.ZodNativeEnum = z .nativeEnum(Disabled3); - /** @internal */ export const Disabled3$outboundSchema: z.ZodNativeEnum = Disabled3$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Disabled3$ { - /** @deprecated use `Disabled3$inboundSchema` instead. */ - export const inboundSchema = Disabled3$inboundSchema; - /** @deprecated use `Disabled3$outboundSchema` instead. */ - export const outboundSchema = Disabled3$outboundSchema; -} - /** @internal */ export const Disabled2$inboundSchema: z.ZodType< Disabled2, @@ -16363,7 +12857,6 @@ export const Disabled2$inboundSchema: z.ZodType< > = z.object({ expr: z.string(), }); - /** @internal */ export type Disabled2$Outbound = { expr: string; @@ -16378,23 +12871,9 @@ export const Disabled2$outboundSchema: z.ZodType< expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Disabled2$ { - /** @deprecated use `Disabled2$inboundSchema` instead. */ - export const inboundSchema = Disabled2$inboundSchema; - /** @deprecated use `Disabled2$outboundSchema` instead. */ - export const outboundSchema = Disabled2$outboundSchema; - /** @deprecated use `Disabled2$Outbound` instead. */ - export type Outbound = Disabled2$Outbound; -} - export function disabled2ToJSON(disabled2: Disabled2): string { return JSON.stringify(Disabled2$outboundSchema.parse(disabled2)); } - export function disabled2FromJSON( jsonString: string, ): SafeParseResult { @@ -16415,7 +12894,6 @@ export const Disabled$inboundSchema: z.ZodType< z.boolean(), Disabled3$inboundSchema, ]); - /** @internal */ export type Disabled$Outbound = Disabled2$Outbound | boolean | string; @@ -16430,23 +12908,9 @@ export const Disabled$outboundSchema: z.ZodType< Disabled3$outboundSchema, ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Disabled$ { - /** @deprecated use `Disabled$inboundSchema` instead. */ - export const inboundSchema = Disabled$inboundSchema; - /** @deprecated use `Disabled$outboundSchema` instead. */ - export const outboundSchema = Disabled$outboundSchema; - /** @deprecated use `Disabled$Outbound` instead. */ - export type Outbound = Disabled$Outbound; -} - export function disabledToJSON(disabled: Disabled): string { return JSON.stringify(Disabled$outboundSchema.parse(disabled)); } - export function disabledFromJSON( jsonString: string, ): SafeParseResult { @@ -16460,28 +12924,15 @@ export function disabledFromJSON( /** @internal */ export const Hidden3$inboundSchema: z.ZodNativeEnum = z .nativeEnum(Hidden3); - /** @internal */ export const Hidden3$outboundSchema: z.ZodNativeEnum = Hidden3$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Hidden3$ { - /** @deprecated use `Hidden3$inboundSchema` instead. */ - export const inboundSchema = Hidden3$inboundSchema; - /** @deprecated use `Hidden3$outboundSchema` instead. */ - export const outboundSchema = Hidden3$outboundSchema; -} - /** @internal */ export const Hidden2$inboundSchema: z.ZodType = z.object({ expr: z.string(), }); - /** @internal */ export type Hidden2$Outbound = { expr: string; @@ -16496,23 +12947,9 @@ export const Hidden2$outboundSchema: z.ZodType< expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Hidden2$ { - /** @deprecated use `Hidden2$inboundSchema` instead. */ - export const inboundSchema = Hidden2$inboundSchema; - /** @deprecated use `Hidden2$outboundSchema` instead. */ - export const outboundSchema = Hidden2$outboundSchema; - /** @deprecated use `Hidden2$Outbound` instead. */ - export type Outbound = Hidden2$Outbound; -} - export function hidden2ToJSON(hidden2: Hidden2): string { return JSON.stringify(Hidden2$outboundSchema.parse(hidden2)); } - export function hidden2FromJSON( jsonString: string, ): SafeParseResult { @@ -16530,7 +12967,6 @@ export const Hidden$inboundSchema: z.ZodType = z z.boolean(), Hidden3$inboundSchema, ]); - /** @internal */ export type Hidden$Outbound = Hidden2$Outbound | boolean | string; @@ -16545,23 +12981,9 @@ export const Hidden$outboundSchema: z.ZodType< Hidden3$outboundSchema, ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Hidden$ { - /** @deprecated use `Hidden$inboundSchema` instead. */ - export const inboundSchema = Hidden$inboundSchema; - /** @deprecated use `Hidden$outboundSchema` instead. */ - export const outboundSchema = Hidden$outboundSchema; - /** @deprecated use `Hidden$Outbound` instead. */ - export type Outbound = Hidden$Outbound; -} - export function hiddenToJSON(hidden: Hidden): string { return JSON.stringify(Hidden$outboundSchema.parse(hidden)); } - export function hiddenFromJSON( jsonString: string, ): SafeParseResult { @@ -16607,7 +13029,6 @@ export const Product$inboundSchema: z.ZodType = Hidden3$inboundSchema, ]).optional(), }); - /** @internal */ export type Product$Outbound = { id?: string | undefined; @@ -16669,23 +13090,9 @@ export const Product$outboundSchema: z.ZodType< ]).optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Product$ { - /** @deprecated use `Product$inboundSchema` instead. */ - export const inboundSchema = Product$inboundSchema; - /** @deprecated use `Product$outboundSchema` instead. */ - export const outboundSchema = Product$outboundSchema; - /** @deprecated use `Product$Outbound` instead. */ - export type Outbound = Product$Outbound; -} - export function productToJSON(product: Product): string { return JSON.stringify(Product$outboundSchema.parse(product)); } - export function productFromJSON( jsonString: string, ): SafeParseResult { @@ -16707,7 +13114,6 @@ export const CreateIntegrationStoreDirectExperimentation$inboundSchema: edgeConfigId: z.string().optional(), edgeConfigTokenId: z.string().optional(), }); - /** @internal */ export type CreateIntegrationStoreDirectExperimentation$Outbound = { edgeConfigSyncingEnabled?: boolean | undefined; @@ -16727,21 +13133,6 @@ export const CreateIntegrationStoreDirectExperimentation$outboundSchema: edgeConfigTokenId: z.string().optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectExperimentation$ { - /** @deprecated use `CreateIntegrationStoreDirectExperimentation$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectExperimentation$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectExperimentation$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectExperimentation$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectExperimentation$Outbound` instead. */ - export type Outbound = CreateIntegrationStoreDirectExperimentation$Outbound; -} - export function createIntegrationStoreDirectExperimentationToJSON( createIntegrationStoreDirectExperimentation: CreateIntegrationStoreDirectExperimentation, @@ -16752,7 +13143,6 @@ export function createIntegrationStoreDirectExperimentationToJSON( ), ); } - export function createIntegrationStoreDirectExperimentationFromJSON( jsonString: string, ): SafeParseResult< @@ -16780,7 +13170,6 @@ export const CreateIntegrationStoreDirectProtocolSettings$inboundSchema: CreateIntegrationStoreDirectExperimentation$inboundSchema ).optional(), }); - /** @internal */ export type CreateIntegrationStoreDirectProtocolSettings$Outbound = { experimentation?: @@ -16800,21 +13189,6 @@ export const CreateIntegrationStoreDirectProtocolSettings$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 CreateIntegrationStoreDirectProtocolSettings$ { - /** @deprecated use `CreateIntegrationStoreDirectProtocolSettings$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectProtocolSettings$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectProtocolSettings$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectProtocolSettings$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectProtocolSettings$Outbound` instead. */ - export type Outbound = CreateIntegrationStoreDirectProtocolSettings$Outbound; -} - export function createIntegrationStoreDirectProtocolSettingsToJSON( createIntegrationStoreDirectProtocolSettings: CreateIntegrationStoreDirectProtocolSettings, @@ -16825,7 +13199,6 @@ export function createIntegrationStoreDirectProtocolSettingsToJSON( ), ); } - export function createIntegrationStoreDirectProtocolSettingsFromJSON( jsonString: string, ): SafeParseResult< @@ -16846,24 +13219,11 @@ export function createIntegrationStoreDirectProtocolSettingsFromJSON( export const CreateIntegrationStoreDirectLevel$inboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectLevel > = z.nativeEnum(CreateIntegrationStoreDirectLevel); - /** @internal */ export const CreateIntegrationStoreDirectLevel$outboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectLevel > = CreateIntegrationStoreDirectLevel$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectLevel$ { - /** @deprecated use `CreateIntegrationStoreDirectLevel$inboundSchema` instead. */ - export const inboundSchema = CreateIntegrationStoreDirectLevel$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectLevel$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectLevel$outboundSchema; -} - /** @internal */ export const CreateIntegrationStoreDirectNotification$inboundSchema: z.ZodType< CreateIntegrationStoreDirectNotification, @@ -16875,7 +13235,6 @@ export const CreateIntegrationStoreDirectNotification$inboundSchema: z.ZodType< message: z.string().optional(), href: z.string().optional(), }); - /** @internal */ export type CreateIntegrationStoreDirectNotification$Outbound = { title: string; @@ -16896,21 +13255,6 @@ export const CreateIntegrationStoreDirectNotification$outboundSchema: z.ZodType< href: z.string().optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectNotification$ { - /** @deprecated use `CreateIntegrationStoreDirectNotification$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectNotification$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectNotification$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectNotification$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectNotification$Outbound` instead. */ - export type Outbound = CreateIntegrationStoreDirectNotification$Outbound; -} - export function createIntegrationStoreDirectNotificationToJSON( createIntegrationStoreDirectNotification: CreateIntegrationStoreDirectNotification, @@ -16921,7 +13265,6 @@ export function createIntegrationStoreDirectNotificationToJSON( ), ); } - export function createIntegrationStoreDirectNotificationFromJSON( jsonString: string, ): SafeParseResult< @@ -16947,7 +13290,6 @@ export const CreateIntegrationStoreDirectSecrets$inboundSchema: z.ZodType< name: z.string(), length: z.number(), }); - /** @internal */ export type CreateIntegrationStoreDirectSecrets$Outbound = { name: string; @@ -16964,21 +13306,6 @@ export const CreateIntegrationStoreDirectSecrets$outboundSchema: z.ZodType< length: 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 CreateIntegrationStoreDirectSecrets$ { - /** @deprecated use `CreateIntegrationStoreDirectSecrets$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectSecrets$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectSecrets$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectSecrets$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectSecrets$Outbound` instead. */ - export type Outbound = CreateIntegrationStoreDirectSecrets$Outbound; -} - export function createIntegrationStoreDirectSecretsToJSON( createIntegrationStoreDirectSecrets: CreateIntegrationStoreDirectSecrets, ): string { @@ -16988,7 +13315,6 @@ export function createIntegrationStoreDirectSecretsToJSON( ), ); } - export function createIntegrationStoreDirectSecretsFromJSON( jsonString: string, ): SafeParseResult { @@ -17004,45 +13330,20 @@ export function createIntegrationStoreDirectSecretsFromJSON( export const CreateIntegrationStoreDirectType$inboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectType > = z.nativeEnum(CreateIntegrationStoreDirectType); - /** @internal */ export const CreateIntegrationStoreDirectType$outboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectType > = CreateIntegrationStoreDirectType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectType$ { - /** @deprecated use `CreateIntegrationStoreDirectType$inboundSchema` instead. */ - export const inboundSchema = CreateIntegrationStoreDirectType$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectType$outboundSchema` instead. */ - export const outboundSchema = CreateIntegrationStoreDirectType$outboundSchema; -} - /** @internal */ export const CreateIntegrationStoreDirectScope$inboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectScope > = z.nativeEnum(CreateIntegrationStoreDirectScope); - /** @internal */ export const CreateIntegrationStoreDirectScope$outboundSchema: z.ZodNativeEnum< typeof CreateIntegrationStoreDirectScope > = CreateIntegrationStoreDirectScope$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectScope$ { - /** @deprecated use `CreateIntegrationStoreDirectScope$inboundSchema` instead. */ - export const inboundSchema = CreateIntegrationStoreDirectScope$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectScope$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectScope$outboundSchema; -} - /** @internal */ export const CreateIntegrationStoreDirectDetails$inboundSchema: z.ZodType< CreateIntegrationStoreDirectDetails, @@ -17052,7 +13353,6 @@ export const CreateIntegrationStoreDirectDetails$inboundSchema: z.ZodType< label: z.string(), value: z.string().optional(), }); - /** @internal */ export type CreateIntegrationStoreDirectDetails$Outbound = { label: string; @@ -17069,21 +13369,6 @@ export const CreateIntegrationStoreDirectDetails$outboundSchema: z.ZodType< 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 CreateIntegrationStoreDirectDetails$ { - /** @deprecated use `CreateIntegrationStoreDirectDetails$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectDetails$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectDetails$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectDetails$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectDetails$Outbound` instead. */ - export type Outbound = CreateIntegrationStoreDirectDetails$Outbound; -} - export function createIntegrationStoreDirectDetailsToJSON( createIntegrationStoreDirectDetails: CreateIntegrationStoreDirectDetails, ): string { @@ -17093,7 +13378,6 @@ export function createIntegrationStoreDirectDetailsToJSON( ), ); } - export function createIntegrationStoreDirectDetailsFromJSON( jsonString: string, ): SafeParseResult { @@ -17115,7 +13399,6 @@ export const CreateIntegrationStoreDirectHighlightedDetails$inboundSchema: label: z.string(), value: z.string().optional(), }); - /** @internal */ export type CreateIntegrationStoreDirectHighlightedDetails$Outbound = { label: string; @@ -17133,22 +13416,6 @@ export const CreateIntegrationStoreDirectHighlightedDetails$outboundSchema: 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 CreateIntegrationStoreDirectHighlightedDetails$ { - /** @deprecated use `CreateIntegrationStoreDirectHighlightedDetails$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectHighlightedDetails$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectHighlightedDetails$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectHighlightedDetails$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectHighlightedDetails$Outbound` instead. */ - export type Outbound = - CreateIntegrationStoreDirectHighlightedDetails$Outbound; -} - export function createIntegrationStoreDirectHighlightedDetailsToJSON( createIntegrationStoreDirectHighlightedDetails: CreateIntegrationStoreDirectHighlightedDetails, @@ -17159,7 +13426,6 @@ export function createIntegrationStoreDirectHighlightedDetailsToJSON( ), ); } - export function createIntegrationStoreDirectHighlightedDetailsFromJSON( jsonString: string, ): SafeParseResult< @@ -17185,7 +13451,6 @@ export const CreateIntegrationStoreDirectQuote$inboundSchema: z.ZodType< line: z.string(), amount: z.string(), }); - /** @internal */ export type CreateIntegrationStoreDirectQuote$Outbound = { line: string; @@ -17202,20 +13467,6 @@ export const CreateIntegrationStoreDirectQuote$outboundSchema: z.ZodType< 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 CreateIntegrationStoreDirectQuote$ { - /** @deprecated use `CreateIntegrationStoreDirectQuote$inboundSchema` instead. */ - export const inboundSchema = CreateIntegrationStoreDirectQuote$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectQuote$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectQuote$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectQuote$Outbound` instead. */ - export type Outbound = CreateIntegrationStoreDirectQuote$Outbound; -} - export function createIntegrationStoreDirectQuoteToJSON( createIntegrationStoreDirectQuote: CreateIntegrationStoreDirectQuote, ): string { @@ -17225,7 +13476,6 @@ export function createIntegrationStoreDirectQuoteToJSON( ), ); } - export function createIntegrationStoreDirectQuoteFromJSON( jsonString: string, ): SafeParseResult { @@ -17265,7 +13515,6 @@ export const CreateIntegrationStoreDirectBillingPlan$inboundSchema: z.ZodType< effectiveDate: z.string().optional(), disabled: z.boolean().optional(), }); - /** @internal */ export type CreateIntegrationStoreDirectBillingPlan$Outbound = { type: string; @@ -17319,21 +13568,6 @@ export const CreateIntegrationStoreDirectBillingPlan$outboundSchema: z.ZodType< 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 CreateIntegrationStoreDirectBillingPlan$ { - /** @deprecated use `CreateIntegrationStoreDirectBillingPlan$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectBillingPlan$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectBillingPlan$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectBillingPlan$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectBillingPlan$Outbound` instead. */ - export type Outbound = CreateIntegrationStoreDirectBillingPlan$Outbound; -} - export function createIntegrationStoreDirectBillingPlanToJSON( createIntegrationStoreDirectBillingPlan: CreateIntegrationStoreDirectBillingPlan, @@ -17344,7 +13578,6 @@ export function createIntegrationStoreDirectBillingPlanToJSON( ), ); } - export function createIntegrationStoreDirectBillingPlanFromJSON( jsonString: string, ): SafeParseResult< @@ -17367,7 +13600,10 @@ export const CreateIntegrationStoreDirectStore$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - projectsMetadata: z.array(z.lazy(() => ProjectsMetadata$inboundSchema)), + projectsMetadata: z.array( + z.lazy(() => CreateIntegrationStoreDirectProjectsMetadata$inboundSchema), + ), + projectFilter: z.lazy(() => ProjectFilter$inboundSchema).optional(), totalConnectedProjects: z.number().optional(), usageQuotaExceeded: z.boolean(), status: z.nullable(CreateIntegrationStoreDirectStatus$inboundSchema), @@ -17399,10 +13635,12 @@ export const CreateIntegrationStoreDirectStore$inboundSchema: z.ZodType< CreateIntegrationStoreDirectBillingPlan$inboundSchema ).optional(), }); - /** @internal */ export type CreateIntegrationStoreDirectStore$Outbound = { - projectsMetadata: Array; + projectsMetadata: Array< + CreateIntegrationStoreDirectProjectsMetadata$Outbound + >; + projectFilter?: ProjectFilter$Outbound | undefined; totalConnectedProjects?: number | undefined; usageQuotaExceeded: boolean; status: string | null; @@ -17428,7 +13666,10 @@ export const CreateIntegrationStoreDirectStore$outboundSchema: z.ZodType< z.ZodTypeDef, CreateIntegrationStoreDirectStore > = z.object({ - projectsMetadata: z.array(z.lazy(() => ProjectsMetadata$outboundSchema)), + projectsMetadata: z.array( + z.lazy(() => CreateIntegrationStoreDirectProjectsMetadata$outboundSchema), + ), + projectFilter: z.lazy(() => ProjectFilter$outboundSchema).optional(), totalConnectedProjects: z.number().optional(), usageQuotaExceeded: z.boolean(), status: z.nullable(CreateIntegrationStoreDirectStatus$outboundSchema), @@ -17461,20 +13702,6 @@ export const CreateIntegrationStoreDirectStore$outboundSchema: z.ZodType< ).optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectStore$ { - /** @deprecated use `CreateIntegrationStoreDirectStore$inboundSchema` instead. */ - export const inboundSchema = CreateIntegrationStoreDirectStore$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectStore$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectStore$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectStore$Outbound` instead. */ - export type Outbound = CreateIntegrationStoreDirectStore$Outbound; -} - export function createIntegrationStoreDirectStoreToJSON( createIntegrationStoreDirectStore: CreateIntegrationStoreDirectStore, ): string { @@ -17484,7 +13711,6 @@ export function createIntegrationStoreDirectStoreToJSON( ), ); } - export function createIntegrationStoreDirectStoreFromJSON( jsonString: string, ): SafeParseResult { @@ -17505,7 +13731,6 @@ export const CreateIntegrationStoreDirectResponseBody$inboundSchema: z.ZodType< z.lazy(() => CreateIntegrationStoreDirectStore$inboundSchema), ), }); - /** @internal */ export type CreateIntegrationStoreDirectResponseBody$Outbound = { store: CreateIntegrationStoreDirectStore$Outbound | null; @@ -17522,21 +13747,6 @@ export const CreateIntegrationStoreDirectResponseBody$outboundSchema: z.ZodType< ), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateIntegrationStoreDirectResponseBody$ { - /** @deprecated use `CreateIntegrationStoreDirectResponseBody$inboundSchema` instead. */ - export const inboundSchema = - CreateIntegrationStoreDirectResponseBody$inboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectResponseBody$outboundSchema` instead. */ - export const outboundSchema = - CreateIntegrationStoreDirectResponseBody$outboundSchema; - /** @deprecated use `CreateIntegrationStoreDirectResponseBody$Outbound` instead. */ - export type Outbound = CreateIntegrationStoreDirectResponseBody$Outbound; -} - export function createIntegrationStoreDirectResponseBodyToJSON( createIntegrationStoreDirectResponseBody: CreateIntegrationStoreDirectResponseBody, @@ -17547,7 +13757,6 @@ export function createIntegrationStoreDirectResponseBodyToJSON( ), ); } - export function createIntegrationStoreDirectResponseBodyFromJSON( jsonString: string, ): SafeParseResult< diff --git a/src/models/createlogdrainop.ts b/src/models/createlogdrainop.ts index 3b2e93a67..74e0dc73e 100644 --- a/src/models/createlogdrainop.ts +++ b/src/models/createlogdrainop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; @@ -12,16 +12,18 @@ import { SDKValidationError } from "./sdkvalidationerror.js"; /** * The delivery log format */ -export const DeliveryFormat = { +export const CreateLogDrainDeliveryFormat = { Json: "json", Ndjson: "ndjson", } as const; /** * The delivery log format */ -export type DeliveryFormat = ClosedEnum; +export type CreateLogDrainDeliveryFormat = ClosedEnum< + typeof CreateLogDrainDeliveryFormat +>; -export const Sources = { +export const CreateLogDrainSources = { Static: "static", Lambda: "lambda", Build: "build", @@ -29,13 +31,15 @@ export const Sources = { External: "external", Firewall: "firewall", } as const; -export type Sources = ClosedEnum; +export type CreateLogDrainSources = ClosedEnum; -export const Environments = { +export const CreateLogDrainEnvironments = { Preview: "preview", Production: "production", } as const; -export type Environments = ClosedEnum; +export type CreateLogDrainEnvironments = ClosedEnum< + typeof CreateLogDrainEnvironments +>; export type CreateLogDrainRequestBody = { /** @@ -50,17 +54,17 @@ export type CreateLogDrainRequestBody = { /** * The delivery log format */ - deliveryFormat?: DeliveryFormat | undefined; + deliveryFormat?: CreateLogDrainDeliveryFormat | undefined; /** * The url where you will receive logs. The protocol must be `https://` or `http://` when type is `json` and `ndjson`. */ url: string; - sources?: Array | undefined; + sources?: Array | undefined; /** * Headers to be sent together with the request */ headers?: { [k: string]: string } | undefined; - environments?: Array | undefined; + environments?: Array | undefined; }; export type CreateLogDrainRequest = { @@ -78,34 +82,36 @@ export type CreateLogDrainRequest = { /** * The delivery log format */ -export const CreateLogDrainDeliveryFormat = { +export const CreateLogDrainLogDrainsDeliveryFormat = { Json: "json", Ndjson: "ndjson", - Syslog: "syslog", Protobuf: "protobuf", } as const; /** * The delivery log format */ -export type CreateLogDrainDeliveryFormat = ClosedEnum< - typeof CreateLogDrainDeliveryFormat +export type CreateLogDrainLogDrainsDeliveryFormat = ClosedEnum< + typeof CreateLogDrainLogDrainsDeliveryFormat >; /** * The sources from which logs are currently being delivered to this log drain. */ -export const CreateLogDrainSources = { +export const CreateLogDrainLogDrainsSources = { Build: "build", Edge: "edge", Lambda: "lambda", Static: "static", External: "external", Firewall: "firewall", + Redirect: "redirect", } as const; /** * The sources from which logs are currently being delivered to this log drain. */ -export type CreateLogDrainSources = ClosedEnum; +export type CreateLogDrainLogDrainsSources = ClosedEnum< + typeof CreateLogDrainLogDrainsSources +>; /** * Whether the log drain was created by an integration or by a user @@ -124,15 +130,15 @@ export type CreateLogDrainCreatedFrom = ClosedEnum< /** * The environment of log drain */ -export const CreateLogDrainEnvironments = { +export const CreateLogDrainLogDrainsEnvironments = { Production: "production", Preview: "preview", } as const; /** * The environment of log drain */ -export type CreateLogDrainEnvironments = ClosedEnum< - typeof CreateLogDrainEnvironments +export type CreateLogDrainLogDrainsEnvironments = ClosedEnum< + typeof CreateLogDrainLogDrainsEnvironments >; export const CreateLogDrainSourceLogDrainsKind = { @@ -188,7 +194,7 @@ export type CreateLogDrainResponseBody = { /** * The delivery log format */ - deliveryFormat?: CreateLogDrainDeliveryFormat | undefined; + deliveryFormat?: CreateLogDrainLogDrainsDeliveryFormat | undefined; /** * The name of the log drain */ @@ -209,7 +215,7 @@ export type CreateLogDrainResponseBody = { /** * The sources from which logs are currently being delivered to this log drain. */ - sources?: Array | undefined; + sources?: Array | undefined; /** * Whether the log drain was created by an integration or by a user */ @@ -221,7 +227,7 @@ export type CreateLogDrainResponseBody = { /** * The environment of log drain */ - environments?: Array | undefined; + environments?: Array | undefined; /** * The branch regexp of log drain */ @@ -234,63 +240,31 @@ export type CreateLogDrainResponseBody = { }; /** @internal */ -export const DeliveryFormat$inboundSchema: z.ZodNativeEnum< - typeof DeliveryFormat -> = z.nativeEnum(DeliveryFormat); - +export const CreateLogDrainDeliveryFormat$inboundSchema: z.ZodNativeEnum< + typeof CreateLogDrainDeliveryFormat +> = z.nativeEnum(CreateLogDrainDeliveryFormat); /** @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; -} +export const CreateLogDrainDeliveryFormat$outboundSchema: z.ZodNativeEnum< + typeof CreateLogDrainDeliveryFormat +> = CreateLogDrainDeliveryFormat$inboundSchema; /** @internal */ -export const Sources$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(Sources); - +export const CreateLogDrainSources$inboundSchema: z.ZodNativeEnum< + typeof CreateLogDrainSources +> = z.nativeEnum(CreateLogDrainSources); /** @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; -} +export const CreateLogDrainSources$outboundSchema: z.ZodNativeEnum< + typeof CreateLogDrainSources +> = CreateLogDrainSources$inboundSchema; /** @internal */ -export const Environments$inboundSchema: z.ZodNativeEnum = - z.nativeEnum(Environments); - +export const CreateLogDrainEnvironments$inboundSchema: z.ZodNativeEnum< + typeof CreateLogDrainEnvironments +> = z.nativeEnum(CreateLogDrainEnvironments); /** @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; -} +export const CreateLogDrainEnvironments$outboundSchema: z.ZodNativeEnum< + typeof CreateLogDrainEnvironments +> = CreateLogDrainEnvironments$inboundSchema; /** @internal */ export const CreateLogDrainRequestBody$inboundSchema: z.ZodType< @@ -301,13 +275,12 @@ export const CreateLogDrainRequestBody$inboundSchema: z.ZodType< name: z.string(), projectIds: z.array(z.string()).optional(), secret: z.string().optional(), - deliveryFormat: DeliveryFormat$inboundSchema.optional(), + deliveryFormat: CreateLogDrainDeliveryFormat$inboundSchema.optional(), url: z.string(), - sources: z.array(Sources$inboundSchema).optional(), + sources: z.array(CreateLogDrainSources$inboundSchema).optional(), headers: z.record(z.string()).optional(), - environments: z.array(Environments$inboundSchema).optional(), + environments: z.array(CreateLogDrainEnvironments$inboundSchema).optional(), }); - /** @internal */ export type CreateLogDrainRequestBody$Outbound = { name: string; @@ -329,26 +302,13 @@ export const CreateLogDrainRequestBody$outboundSchema: z.ZodType< name: z.string(), projectIds: z.array(z.string()).optional(), secret: z.string().optional(), - deliveryFormat: DeliveryFormat$outboundSchema.optional(), + deliveryFormat: CreateLogDrainDeliveryFormat$outboundSchema.optional(), url: z.string(), - sources: z.array(Sources$outboundSchema).optional(), + sources: z.array(CreateLogDrainSources$outboundSchema).optional(), headers: z.record(z.string()).optional(), - environments: z.array(Environments$outboundSchema).optional(), + environments: z.array(CreateLogDrainEnvironments$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 { @@ -356,7 +316,6 @@ export function createLogDrainRequestBodyToJSON( CreateLogDrainRequestBody$outboundSchema.parse(createLogDrainRequestBody), ); } - export function createLogDrainRequestBodyFromJSON( jsonString: string, ): SafeParseResult { @@ -381,7 +340,6 @@ export const CreateLogDrainRequest$inboundSchema: z.ZodType< "RequestBody": "requestBody", }); }); - /** @internal */ export type CreateLogDrainRequest$Outbound = { teamId?: string | undefined; @@ -404,19 +362,6 @@ export const CreateLogDrainRequest$outboundSchema: z.ZodType< }); }); -/** - * @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 { @@ -424,7 +369,6 @@ export function createLogDrainRequestToJSON( CreateLogDrainRequest$outboundSchema.parse(createLogDrainRequest), ); } - export function createLogDrainRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -436,111 +380,51 @@ export function createLogDrainRequestFromJSON( } /** @internal */ -export const CreateLogDrainDeliveryFormat$inboundSchema: z.ZodNativeEnum< - typeof CreateLogDrainDeliveryFormat -> = z.nativeEnum(CreateLogDrainDeliveryFormat); - +export const CreateLogDrainLogDrainsDeliveryFormat$inboundSchema: + z.ZodNativeEnum = z.nativeEnum( + CreateLogDrainLogDrainsDeliveryFormat, + ); /** @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; -} +export const CreateLogDrainLogDrainsDeliveryFormat$outboundSchema: + z.ZodNativeEnum = + CreateLogDrainLogDrainsDeliveryFormat$inboundSchema; /** @internal */ -export const CreateLogDrainSources$inboundSchema: z.ZodNativeEnum< - typeof CreateLogDrainSources -> = z.nativeEnum(CreateLogDrainSources); - +export const CreateLogDrainLogDrainsSources$inboundSchema: z.ZodNativeEnum< + typeof CreateLogDrainLogDrainsSources +> = z.nativeEnum(CreateLogDrainLogDrainsSources); /** @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; -} +export const CreateLogDrainLogDrainsSources$outboundSchema: z.ZodNativeEnum< + typeof CreateLogDrainLogDrainsSources +> = CreateLogDrainLogDrainsSources$inboundSchema; /** @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); - +export const CreateLogDrainLogDrainsEnvironments$inboundSchema: z.ZodNativeEnum< + typeof CreateLogDrainLogDrainsEnvironments +> = z.nativeEnum(CreateLogDrainLogDrainsEnvironments); /** @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; -} +export const CreateLogDrainLogDrainsEnvironments$outboundSchema: + z.ZodNativeEnum = + CreateLogDrainLogDrainsEnvironments$inboundSchema; /** @internal */ export const CreateLogDrainSourceLogDrainsKind$inboundSchema: z.ZodNativeEnum< typeof CreateLogDrainSourceLogDrainsKind > = z.nativeEnum(CreateLogDrainSourceLogDrainsKind); - /** @internal */ export const CreateLogDrainSourceLogDrainsKind$outboundSchema: z.ZodNativeEnum< typeof CreateLogDrainSourceLogDrainsKind > = CreateLogDrainSourceLogDrainsKind$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateLogDrainSourceLogDrainsKind$ { - /** @deprecated use `CreateLogDrainSourceLogDrainsKind$inboundSchema` instead. */ - export const inboundSchema = CreateLogDrainSourceLogDrainsKind$inboundSchema; - /** @deprecated use `CreateLogDrainSourceLogDrainsKind$outboundSchema` instead. */ - export const outboundSchema = - CreateLogDrainSourceLogDrainsKind$outboundSchema; -} - /** @internal */ export const CreateLogDrainSource2$inboundSchema: z.ZodType< CreateLogDrainSource2, @@ -553,7 +437,6 @@ export const CreateLogDrainSource2$inboundSchema: z.ZodType< integrationId: z.string(), integrationConfigurationId: z.string(), }); - /** @internal */ export type CreateLogDrainSource2$Outbound = { kind: string; @@ -576,19 +459,6 @@ export const CreateLogDrainSource2$outboundSchema: z.ZodType< 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 CreateLogDrainSource2$ { - /** @deprecated use `CreateLogDrainSource2$inboundSchema` instead. */ - export const inboundSchema = CreateLogDrainSource2$inboundSchema; - /** @deprecated use `CreateLogDrainSource2$outboundSchema` instead. */ - export const outboundSchema = CreateLogDrainSource2$outboundSchema; - /** @deprecated use `CreateLogDrainSource2$Outbound` instead. */ - export type Outbound = CreateLogDrainSource2$Outbound; -} - export function createLogDrainSource2ToJSON( createLogDrainSource2: CreateLogDrainSource2, ): string { @@ -596,7 +466,6 @@ export function createLogDrainSource2ToJSON( CreateLogDrainSource2$outboundSchema.parse(createLogDrainSource2), ); } - export function createLogDrainSource2FromJSON( jsonString: string, ): SafeParseResult { @@ -611,23 +480,11 @@ export function createLogDrainSource2FromJSON( export const CreateLogDrainSourceKind$inboundSchema: z.ZodNativeEnum< typeof CreateLogDrainSourceKind > = z.nativeEnum(CreateLogDrainSourceKind); - /** @internal */ export const CreateLogDrainSourceKind$outboundSchema: z.ZodNativeEnum< typeof CreateLogDrainSourceKind > = CreateLogDrainSourceKind$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateLogDrainSourceKind$ { - /** @deprecated use `CreateLogDrainSourceKind$inboundSchema` instead. */ - export const inboundSchema = CreateLogDrainSourceKind$inboundSchema; - /** @deprecated use `CreateLogDrainSourceKind$outboundSchema` instead. */ - export const outboundSchema = CreateLogDrainSourceKind$outboundSchema; -} - /** @internal */ export const CreateLogDrainSource1$inboundSchema: z.ZodType< CreateLogDrainSource1, @@ -636,7 +493,6 @@ export const CreateLogDrainSource1$inboundSchema: z.ZodType< > = z.object({ kind: CreateLogDrainSourceKind$inboundSchema, }); - /** @internal */ export type CreateLogDrainSource1$Outbound = { kind: string; @@ -651,19 +507,6 @@ export const CreateLogDrainSource1$outboundSchema: z.ZodType< kind: CreateLogDrainSourceKind$outboundSchema, }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateLogDrainSource1$ { - /** @deprecated use `CreateLogDrainSource1$inboundSchema` instead. */ - export const inboundSchema = CreateLogDrainSource1$inboundSchema; - /** @deprecated use `CreateLogDrainSource1$outboundSchema` instead. */ - export const outboundSchema = CreateLogDrainSource1$outboundSchema; - /** @deprecated use `CreateLogDrainSource1$Outbound` instead. */ - export type Outbound = CreateLogDrainSource1$Outbound; -} - export function createLogDrainSource1ToJSON( createLogDrainSource1: CreateLogDrainSource1, ): string { @@ -671,7 +514,6 @@ export function createLogDrainSource1ToJSON( CreateLogDrainSource1$outboundSchema.parse(createLogDrainSource1), ); } - export function createLogDrainSource1FromJSON( jsonString: string, ): SafeParseResult { @@ -691,7 +533,6 @@ export const CreateLogDrainSource$inboundSchema: z.ZodType< z.lazy(() => CreateLogDrainSource2$inboundSchema), z.lazy(() => CreateLogDrainSource1$inboundSchema), ]); - /** @internal */ export type CreateLogDrainSource$Outbound = | CreateLogDrainSource2$Outbound @@ -707,19 +548,6 @@ export const CreateLogDrainSource$outboundSchema: z.ZodType< z.lazy(() => CreateLogDrainSource1$outboundSchema), ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateLogDrainSource$ { - /** @deprecated use `CreateLogDrainSource$inboundSchema` instead. */ - export const inboundSchema = CreateLogDrainSource$inboundSchema; - /** @deprecated use `CreateLogDrainSource$outboundSchema` instead. */ - export const outboundSchema = CreateLogDrainSource$outboundSchema; - /** @deprecated use `CreateLogDrainSource$Outbound` instead. */ - export type Outbound = CreateLogDrainSource$Outbound; -} - export function createLogDrainSourceToJSON( createLogDrainSource: CreateLogDrainSource, ): string { @@ -727,7 +555,6 @@ export function createLogDrainSourceToJSON( CreateLogDrainSource$outboundSchema.parse(createLogDrainSource), ); } - export function createLogDrainSourceFromJSON( jsonString: string, ): SafeParseResult { @@ -748,16 +575,18 @@ export const CreateLogDrainResponseBody$inboundSchema: z.ZodType< configurationId: z.string().optional(), createdAt: z.number(), id: z.string(), - deliveryFormat: CreateLogDrainDeliveryFormat$inboundSchema.optional(), + deliveryFormat: CreateLogDrainLogDrainsDeliveryFormat$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(), + sources: z.array(CreateLogDrainLogDrainsSources$inboundSchema).optional(), createdFrom: CreateLogDrainCreatedFrom$inboundSchema.optional(), headers: z.record(z.string()).optional(), - environments: z.array(CreateLogDrainEnvironments$inboundSchema).optional(), + environments: z.array(CreateLogDrainLogDrainsEnvironments$inboundSchema) + .optional(), branch: z.string().optional(), samplingRate: z.number().optional(), source: z.union([ @@ -765,7 +594,6 @@ export const CreateLogDrainResponseBody$inboundSchema: z.ZodType< z.lazy(() => CreateLogDrainSource1$inboundSchema), ]), }); - /** @internal */ export type CreateLogDrainResponseBody$Outbound = { clientId?: string | undefined; @@ -797,16 +625,18 @@ export const CreateLogDrainResponseBody$outboundSchema: z.ZodType< configurationId: z.string().optional(), createdAt: z.number(), id: z.string(), - deliveryFormat: CreateLogDrainDeliveryFormat$outboundSchema.optional(), + deliveryFormat: CreateLogDrainLogDrainsDeliveryFormat$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(), + sources: z.array(CreateLogDrainLogDrainsSources$outboundSchema).optional(), createdFrom: CreateLogDrainCreatedFrom$outboundSchema.optional(), headers: z.record(z.string()).optional(), - environments: z.array(CreateLogDrainEnvironments$outboundSchema).optional(), + environments: z.array(CreateLogDrainLogDrainsEnvironments$outboundSchema) + .optional(), branch: z.string().optional(), samplingRate: z.number().optional(), source: z.union([ @@ -815,19 +645,6 @@ export const CreateLogDrainResponseBody$outboundSchema: z.ZodType< ]), }); -/** - * @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 { @@ -835,7 +652,6 @@ export function createLogDrainResponseBodyToJSON( CreateLogDrainResponseBody$outboundSchema.parse(createLogDrainResponseBody), ); } - export function createLogDrainResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/createortransferdomainop.ts b/src/models/createortransferdomainop.ts index c54b9cbb9..dfed55754 100644 --- a/src/models/createortransferdomainop.ts +++ b/src/models/createortransferdomainop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; @@ -11,6 +11,8 @@ import { SDKValidationError } from "./sdkvalidationerror.js"; /** * transfer-in + * + * @deprecated class: This will be removed in a future release, please migrate away from it as soon as possible. */ export type CreateOrTransferDomainRequestBody3 = { /** @@ -18,7 +20,7 @@ export type CreateOrTransferDomainRequestBody3 = { */ name: string; /** - * The domain operation to perform. It can be either `add` or `transfer-in`. + * The domain operation to perform. It can be either `add` or `move-in`. */ method: string; /** @@ -40,7 +42,7 @@ export type CreateOrTransferDomainRequestBody2 = { */ name: string; /** - * The domain operation to perform. It can be either `add` or `transfer-in`. + * The domain operation to perform. It can be either `add` or `move-in`. */ method: string; /** @@ -63,7 +65,7 @@ export type CreateOrTransferDomainRequestBody1 = { cdnEnabled?: boolean | undefined; zone?: boolean | undefined; /** - * The domain operation to perform. It can be either `add` or `transfer-in`. + * The domain operation to perform. It can be either `add` or `move-in`. */ method?: string | undefined; }; @@ -212,7 +214,6 @@ export const CreateOrTransferDomainRequestBody3$inboundSchema: z.ZodType< authCode: z.string().optional(), expectedPrice: z.number().optional(), }); - /** @internal */ export type CreateOrTransferDomainRequestBody3$Outbound = { name: string; @@ -233,20 +234,6 @@ export const CreateOrTransferDomainRequestBody3$outboundSchema: z.ZodType< 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 { @@ -256,7 +243,6 @@ export function createOrTransferDomainRequestBody3ToJSON( ), ); } - export function createOrTransferDomainRequestBody3FromJSON( jsonString: string, ): SafeParseResult { @@ -278,7 +264,6 @@ export const CreateOrTransferDomainRequestBody2$inboundSchema: z.ZodType< method: z.string(), token: z.string().optional(), }); - /** @internal */ export type CreateOrTransferDomainRequestBody2$Outbound = { name: string; @@ -297,20 +282,6 @@ export const CreateOrTransferDomainRequestBody2$outboundSchema: z.ZodType< 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 { @@ -320,7 +291,6 @@ export function createOrTransferDomainRequestBody2ToJSON( ), ); } - export function createOrTransferDomainRequestBody2FromJSON( jsonString: string, ): SafeParseResult { @@ -343,7 +313,6 @@ export const CreateOrTransferDomainRequestBody1$inboundSchema: z.ZodType< zone: z.boolean().optional(), method: z.string().optional(), }); - /** @internal */ export type CreateOrTransferDomainRequestBody1$Outbound = { name: string; @@ -364,20 +333,6 @@ export const CreateOrTransferDomainRequestBody1$outboundSchema: z.ZodType< 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 { @@ -387,7 +342,6 @@ export function createOrTransferDomainRequestBody1ToJSON( ), ); } - export function createOrTransferDomainRequestBody1FromJSON( jsonString: string, ): SafeParseResult { @@ -409,7 +363,6 @@ export const CreateOrTransferDomainRequestBody$inboundSchema: z.ZodType< z.lazy(() => CreateOrTransferDomainRequestBody3$inboundSchema), z.lazy(() => CreateOrTransferDomainRequestBody1$inboundSchema), ]); - /** @internal */ export type CreateOrTransferDomainRequestBody$Outbound = | CreateOrTransferDomainRequestBody2$Outbound @@ -427,20 +380,6 @@ export const CreateOrTransferDomainRequestBody$outboundSchema: z.ZodType< z.lazy(() => CreateOrTransferDomainRequestBody1$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 { @@ -450,7 +389,6 @@ export function createOrTransferDomainRequestBodyToJSON( ), ); } - export function createOrTransferDomainRequestBodyFromJSON( jsonString: string, ): SafeParseResult { @@ -479,7 +417,6 @@ export const CreateOrTransferDomainRequest$inboundSchema: z.ZodType< "RequestBody": "requestBody", }); }); - /** @internal */ export type CreateOrTransferDomainRequest$Outbound = { teamId?: string | undefined; @@ -510,19 +447,6 @@ export const CreateOrTransferDomainRequest$outboundSchema: z.ZodType< }); }); -/** - * @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 { @@ -532,7 +456,6 @@ export function createOrTransferDomainRequestToJSON( ), ); } - export function createOrTransferDomainRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -555,7 +478,6 @@ export const CreateOrTransferDomainCreator$inboundSchema: z.ZodType< isDomainReseller: z.boolean().optional(), id: z.string(), }); - /** @internal */ export type CreateOrTransferDomainCreator$Outbound = { username: string; @@ -578,19 +500,6 @@ export const CreateOrTransferDomainCreator$outboundSchema: z.ZodType< 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 { @@ -600,7 +509,6 @@ export function createOrTransferDomainCreatorToJSON( ), ); } - export function createOrTransferDomainCreatorFromJSON( jsonString: string, ): SafeParseResult { @@ -615,45 +523,20 @@ export function createOrTransferDomainCreatorFromJSON( export const CreateOrTransferDomainRegistrar$inboundSchema: z.ZodNativeEnum< typeof CreateOrTransferDomainRegistrar > = z.nativeEnum(CreateOrTransferDomainRegistrar); - /** @internal */ export const CreateOrTransferDomainRegistrar$outboundSchema: z.ZodNativeEnum< typeof CreateOrTransferDomainRegistrar > = CreateOrTransferDomainRegistrar$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateOrTransferDomainRegistrar$ { - /** @deprecated use `CreateOrTransferDomainRegistrar$inboundSchema` instead. */ - export const inboundSchema = CreateOrTransferDomainRegistrar$inboundSchema; - /** @deprecated use `CreateOrTransferDomainRegistrar$outboundSchema` instead. */ - export const outboundSchema = CreateOrTransferDomainRegistrar$outboundSchema; -} - /** @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, @@ -679,7 +562,6 @@ export const CreateOrTransferDomainDomain$inboundSchema: z.ZodType< userId: z.string(), teamId: z.nullable(z.string()), }); - /** @internal */ export type CreateOrTransferDomainDomain$Outbound = { verified: boolean; @@ -728,19 +610,6 @@ export const CreateOrTransferDomainDomain$outboundSchema: z.ZodType< 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 { @@ -750,7 +619,6 @@ export function createOrTransferDomainDomainToJSON( ), ); } - export function createOrTransferDomainDomainFromJSON( jsonString: string, ): SafeParseResult { @@ -769,7 +637,6 @@ export const CreateOrTransferDomainResponseBody$inboundSchema: z.ZodType< > = z.object({ domain: z.lazy(() => CreateOrTransferDomainDomain$inboundSchema), }); - /** @internal */ export type CreateOrTransferDomainResponseBody$Outbound = { domain: CreateOrTransferDomainDomain$Outbound; @@ -784,20 +651,6 @@ export const CreateOrTransferDomainResponseBody$outboundSchema: z.ZodType< 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 { @@ -807,7 +660,6 @@ export function createOrTransferDomainResponseBodyToJSON( ), ); } - export function createOrTransferDomainResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/createprojectenvop.ts b/src/models/createprojectenvop.ts index 458ac3c41..771ea683d 100644 --- a/src/models/createprojectenvop.ts +++ b/src/models/createprojectenvop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; @@ -921,16 +921,16 @@ export type Created1 = { system?: boolean | undefined; }; -export type Created = Created1 | Array; +export type CreateProjectEnvCreated = Created1 | Array; -export const Value2 = { +export const CreateProjectEnvValue2 = { Production: "production", Preview: "preview", Development: "development", } as const; -export type Value2 = ClosedEnum; +export type CreateProjectEnvValue2 = ClosedEnum; -export type CreateProjectEnvValue = string | Array; +export type CreateProjectEnvValue = string | Array; export const CreateProjectEnvTargetProjectsResponse2 = { Production: "production", @@ -962,7 +962,7 @@ export type CreateProjectEnvError = { envVarKey?: string | undefined; action?: string | undefined; link?: string | undefined; - value?: string | Array | undefined; + value?: string | Array | undefined; gitBranch?: string | undefined; target?: | Array @@ -971,7 +971,7 @@ export type CreateProjectEnvError = { project?: string | undefined; }; -export type Failed = { +export type CreateProjectEnvFailed = { error: CreateProjectEnvError; }; @@ -980,51 +980,27 @@ export type Failed = { */ export type CreateProjectEnvResponseBody = { created: Created1 | Array; - failed: 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({ @@ -1036,7 +1012,6 @@ export const Two2$inboundSchema: z.ZodType = z comment: z.string().optional(), customEnvironmentIds: z.array(z.string()), }); - /** @internal */ export type Two2$Outbound = { key: string; @@ -1060,23 +1035,9 @@ export const Two2$outboundSchema: z.ZodType = customEnvironmentIds: 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 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 { @@ -1090,41 +1051,17 @@ export function two2FromJSON( /** @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({ @@ -1136,7 +1073,6 @@ export const Two1$inboundSchema: z.ZodType = z comment: z.string().optional(), customEnvironmentIds: z.array(z.string()).optional(), }); - /** @internal */ export type Two1$Outbound = { key: string; @@ -1160,23 +1096,9 @@ export const Two1$outboundSchema: z.ZodType = 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 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 { @@ -1196,7 +1118,6 @@ export const CreateProjectEnvRequestBody2$inboundSchema: z.ZodType< z.lazy(() => Two1$inboundSchema), z.lazy(() => Two2$inboundSchema), ]); - /** @internal */ export type CreateProjectEnvRequestBody2$Outbound = | Two1$Outbound @@ -1212,19 +1133,6 @@ export const CreateProjectEnvRequestBody2$outboundSchema: z.ZodType< 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 { @@ -1234,7 +1142,6 @@ export function createProjectEnvRequestBody2ToJSON( ), ); } - export function createProjectEnvRequestBody2FromJSON( jsonString: string, ): SafeParseResult { @@ -1249,44 +1156,20 @@ export function createProjectEnvRequestBody2FromJSON( 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, @@ -1301,7 +1184,6 @@ export const CreateProjectEnv12$inboundSchema: z.ZodType< comment: z.string().optional(), customEnvironmentIds: z.array(z.string()), }); - /** @internal */ export type CreateProjectEnv12$Outbound = { key: string; @@ -1328,19 +1210,6 @@ export const CreateProjectEnv12$outboundSchema: z.ZodType< customEnvironmentIds: 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 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 { @@ -1348,7 +1217,6 @@ export function createProjectEnv12ToJSON( CreateProjectEnv12$outboundSchema.parse(createProjectEnv12), ); } - export function createProjectEnv12FromJSON( jsonString: string, ): SafeParseResult { @@ -1362,41 +1230,17 @@ export function createProjectEnv12FromJSON( /** @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, @@ -1411,7 +1255,6 @@ export const CreateProjectEnv11$inboundSchema: z.ZodType< comment: z.string().optional(), customEnvironmentIds: z.array(z.string()).optional(), }); - /** @internal */ export type CreateProjectEnv11$Outbound = { key: string; @@ -1438,19 +1281,6 @@ export const CreateProjectEnv11$outboundSchema: z.ZodType< 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 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 { @@ -1458,7 +1288,6 @@ export function createProjectEnv11ToJSON( CreateProjectEnv11$outboundSchema.parse(createProjectEnv11), ); } - export function createProjectEnv11FromJSON( jsonString: string, ): SafeParseResult { @@ -1478,7 +1307,6 @@ export const CreateProjectEnvRequestBody1$inboundSchema: z.ZodType< z.lazy(() => CreateProjectEnv11$inboundSchema), z.lazy(() => CreateProjectEnv12$inboundSchema), ]); - /** @internal */ export type CreateProjectEnvRequestBody1$Outbound = | CreateProjectEnv11$Outbound @@ -1494,19 +1322,6 @@ export const CreateProjectEnvRequestBody1$outboundSchema: z.ZodType< 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 { @@ -1516,7 +1331,6 @@ export function createProjectEnvRequestBody1ToJSON( ), ); } - export function createProjectEnvRequestBody1FromJSON( jsonString: string, ): SafeParseResult { @@ -1544,7 +1358,6 @@ export const CreateProjectEnvRequestBody$inboundSchema: z.ZodType< ]), ), ]); - /** @internal */ export type CreateProjectEnvRequestBody$Outbound = | CreateProjectEnv11$Outbound @@ -1569,19 +1382,6 @@ export const CreateProjectEnvRequestBody$outboundSchema: z.ZodType< ), ]); -/** - * @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 { @@ -1591,7 +1391,6 @@ export function createProjectEnvRequestBodyToJSON( ), ); } - export function createProjectEnvRequestBodyFromJSON( jsonString: string, ): SafeParseResult { @@ -1629,7 +1428,6 @@ export const CreateProjectEnvRequest$inboundSchema: z.ZodType< "RequestBody": "requestBody", }); }); - /** @internal */ export type CreateProjectEnvRequest$Outbound = { idOrName: string; @@ -1670,19 +1468,6 @@ export const CreateProjectEnvRequest$outboundSchema: z.ZodType< }); }); -/** - * @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 { @@ -1690,7 +1475,6 @@ export function createProjectEnvRequestToJSON( CreateProjectEnvRequest$outboundSchema.parse(createProjectEnvRequest), ); } - export function createProjectEnvRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -1705,23 +1489,11 @@ export function createProjectEnvRequestFromJSON( 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, @@ -1731,7 +1503,6 @@ export const CreateProjectEnvCreatedTarget$inboundSchema: z.ZodType< z.array(z.string()), CreateProjectEnvTargetProjects2$inboundSchema, ]); - /** @internal */ export type CreateProjectEnvCreatedTarget$Outbound = Array | string; @@ -1745,19 +1516,6 @@ export const CreateProjectEnvCreatedTarget$outboundSchema: z.ZodType< 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 { @@ -1767,7 +1525,6 @@ export function createProjectEnvCreatedTargetToJSON( ), ); } - export function createProjectEnvCreatedTargetFromJSON( jsonString: string, ): SafeParseResult { @@ -1782,23 +1539,11 @@ export function createProjectEnvCreatedTargetFromJSON( 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< @@ -1806,7 +1551,6 @@ export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONRespon > = z.nativeEnum( CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated215Type, ); - /** @internal */ export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated215Type$outboundSchema: z.ZodNativeEnum< @@ -1814,19 +1558,6 @@ export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONRespon > = 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, @@ -1837,7 +1568,6 @@ export const CreateProjectEnvContentHintProjects15$inboundSchema: z.ZodType< CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated215Type$inboundSchema, projectId: z.string(), }); - /** @internal */ export type CreateProjectEnvContentHintProjects15$Outbound = { type: string; @@ -1855,21 +1585,6 @@ export const CreateProjectEnvContentHintProjects15$outboundSchema: z.ZodType< 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 { @@ -1879,7 +1594,6 @@ export function createProjectEnvContentHintProjects15ToJSON( ), ); } - export function createProjectEnvContentHintProjects15FromJSON( jsonString: string, ): SafeParseResult { @@ -1898,7 +1612,6 @@ export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONRespon > = z.nativeEnum( CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated214Type, ); - /** @internal */ export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated214Type$outboundSchema: z.ZodNativeEnum< @@ -1906,19 +1619,6 @@ export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONRespon > = 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, @@ -1932,7 +1632,6 @@ export const CreateProjectEnvContentHintProjects14$inboundSchema: z.ZodType< integrationProductId: z.string(), integrationConfigurationId: z.string(), }); - /** @internal */ export type CreateProjectEnvContentHintProjects14$Outbound = { type: string; @@ -1956,21 +1655,6 @@ export const CreateProjectEnvContentHintProjects14$outboundSchema: z.ZodType< 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 { @@ -1980,7 +1664,6 @@ export function createProjectEnvContentHintProjects14ToJSON( ), ); } - export function createProjectEnvContentHintProjects14FromJSON( jsonString: string, ): SafeParseResult { @@ -1999,7 +1682,6 @@ export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONRespon > = z.nativeEnum( CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated213Type, ); - /** @internal */ export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated213Type$outboundSchema: z.ZodNativeEnum< @@ -2007,19 +1689,6 @@ export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONRespon > = 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, @@ -2030,7 +1699,6 @@ export const CreateProjectEnvContentHintProjects13$inboundSchema: z.ZodType< CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated213Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type CreateProjectEnvContentHintProjects13$Outbound = { type: string; @@ -2048,21 +1716,6 @@ export const CreateProjectEnvContentHintProjects13$outboundSchema: z.ZodType< storeId: z.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 { @@ -2072,7 +1725,6 @@ export function createProjectEnvContentHintProjects13ToJSON( ), ); } - export function createProjectEnvContentHintProjects13FromJSON( jsonString: string, ): SafeParseResult { @@ -2091,7 +1743,6 @@ export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONRespon > = z.nativeEnum( CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated212Type, ); - /** @internal */ export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated212Type$outboundSchema: z.ZodNativeEnum< @@ -2099,19 +1750,6 @@ export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONRespon > = 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, @@ -2122,7 +1760,6 @@ export const CreateProjectEnvContentHintProjects12$inboundSchema: z.ZodType< CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated212Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type CreateProjectEnvContentHintProjects12$Outbound = { type: string; @@ -2140,21 +1777,6 @@ export const CreateProjectEnvContentHintProjects12$outboundSchema: z.ZodType< storeId: z.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 { @@ -2164,7 +1786,6 @@ export function createProjectEnvContentHintProjects12ToJSON( ), ); } - export function createProjectEnvContentHintProjects12FromJSON( jsonString: string, ): SafeParseResult { @@ -2183,7 +1804,6 @@ export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONRespon > = z.nativeEnum( CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated211Type, ); - /** @internal */ export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated211Type$outboundSchema: z.ZodNativeEnum< @@ -2191,19 +1811,6 @@ export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONRespon > = 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, @@ -2214,7 +1821,6 @@ export const CreateProjectEnvContentHintProjects11$inboundSchema: z.ZodType< CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated211Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type CreateProjectEnvContentHintProjects11$Outbound = { type: string; @@ -2232,21 +1838,6 @@ export const CreateProjectEnvContentHintProjects11$outboundSchema: z.ZodType< storeId: z.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 { @@ -2256,7 +1847,6 @@ export function createProjectEnvContentHintProjects11ToJSON( ), ); } - export function createProjectEnvContentHintProjects11FromJSON( jsonString: string, ): SafeParseResult { @@ -2275,7 +1865,6 @@ export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONRespon > = z.nativeEnum( CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated210Type, ); - /** @internal */ export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated210Type$outboundSchema: z.ZodNativeEnum< @@ -2283,19 +1872,6 @@ export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONRespon > = 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, @@ -2306,7 +1882,6 @@ export const CreateProjectEnvContentHintProjects10$inboundSchema: z.ZodType< CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated210Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type CreateProjectEnvContentHintProjects10$Outbound = { type: string; @@ -2324,21 +1899,6 @@ export const CreateProjectEnvContentHintProjects10$outboundSchema: z.ZodType< storeId: z.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 { @@ -2348,7 +1908,6 @@ export function createProjectEnvContentHintProjects10ToJSON( ), ); } - export function createProjectEnvContentHintProjects10FromJSON( jsonString: string, ): SafeParseResult { @@ -2367,7 +1926,6 @@ export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONRespon > = z.nativeEnum( CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated29Type, ); - /** @internal */ export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated29Type$outboundSchema: z.ZodNativeEnum< @@ -2375,19 +1933,6 @@ export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONRespon > = 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, @@ -2398,7 +1943,6 @@ export const CreateProjectEnvContentHintProjects9$inboundSchema: z.ZodType< CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated29Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type CreateProjectEnvContentHintProjects9$Outbound = { type: string; @@ -2416,21 +1960,6 @@ export const CreateProjectEnvContentHintProjects9$outboundSchema: z.ZodType< storeId: z.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 { @@ -2440,7 +1969,6 @@ export function createProjectEnvContentHintProjects9ToJSON( ), ); } - export function createProjectEnvContentHintProjects9FromJSON( jsonString: string, ): SafeParseResult { @@ -2459,7 +1987,6 @@ export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONRespon > = z.nativeEnum( CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated28Type, ); - /** @internal */ export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated28Type$outboundSchema: z.ZodNativeEnum< @@ -2467,19 +1994,6 @@ export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONRespon > = 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, @@ -2490,7 +2004,6 @@ export const CreateProjectEnvContentHintProjects8$inboundSchema: z.ZodType< CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated28Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type CreateProjectEnvContentHintProjects8$Outbound = { type: string; @@ -2508,21 +2021,6 @@ export const CreateProjectEnvContentHintProjects8$outboundSchema: z.ZodType< storeId: z.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 { @@ -2532,7 +2030,6 @@ export function createProjectEnvContentHintProjects8ToJSON( ), ); } - export function createProjectEnvContentHintProjects8FromJSON( jsonString: string, ): SafeParseResult { @@ -2551,7 +2048,6 @@ export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONRespon > = z.nativeEnum( CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated27Type, ); - /** @internal */ export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated27Type$outboundSchema: z.ZodNativeEnum< @@ -2559,19 +2055,6 @@ export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONRespon > = 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, @@ -2582,7 +2065,6 @@ export const CreateProjectEnvContentHintProjects7$inboundSchema: z.ZodType< CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated27Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type CreateProjectEnvContentHintProjects7$Outbound = { type: string; @@ -2600,21 +2082,6 @@ export const CreateProjectEnvContentHintProjects7$outboundSchema: z.ZodType< storeId: z.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 { @@ -2624,7 +2091,6 @@ export function createProjectEnvContentHintProjects7ToJSON( ), ); } - export function createProjectEnvContentHintProjects7FromJSON( jsonString: string, ): SafeParseResult { @@ -2643,7 +2109,6 @@ export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONRespon > = z.nativeEnum( CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated26Type, ); - /** @internal */ export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated26Type$outboundSchema: z.ZodNativeEnum< @@ -2651,19 +2116,6 @@ export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONRespon > = 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, @@ -2674,7 +2126,6 @@ export const CreateProjectEnvContentHintProjects6$inboundSchema: z.ZodType< CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated26Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type CreateProjectEnvContentHintProjects6$Outbound = { type: string; @@ -2692,21 +2143,6 @@ export const CreateProjectEnvContentHintProjects6$outboundSchema: z.ZodType< storeId: z.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 { @@ -2716,7 +2152,6 @@ export function createProjectEnvContentHintProjects6ToJSON( ), ); } - export function createProjectEnvContentHintProjects6FromJSON( jsonString: string, ): SafeParseResult { @@ -2735,7 +2170,6 @@ export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONRespon > = z.nativeEnum( CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated25Type, ); - /** @internal */ export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated25Type$outboundSchema: z.ZodNativeEnum< @@ -2743,19 +2177,6 @@ export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONRespon > = 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, @@ -2766,7 +2187,6 @@ export const CreateProjectEnvContentHintProjects5$inboundSchema: z.ZodType< CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated25Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type CreateProjectEnvContentHintProjects5$Outbound = { type: string; @@ -2784,21 +2204,6 @@ export const CreateProjectEnvContentHintProjects5$outboundSchema: z.ZodType< storeId: z.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 { @@ -2808,7 +2213,6 @@ export function createProjectEnvContentHintProjects5ToJSON( ), ); } - export function createProjectEnvContentHintProjects5FromJSON( jsonString: string, ): SafeParseResult { @@ -2827,7 +2231,6 @@ export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONRespon > = z.nativeEnum( CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated24Type, ); - /** @internal */ export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated24Type$outboundSchema: z.ZodNativeEnum< @@ -2835,19 +2238,6 @@ export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONRespon > = 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, @@ -2858,7 +2248,6 @@ export const CreateProjectEnvContentHintProjects4$inboundSchema: z.ZodType< CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated24Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type CreateProjectEnvContentHintProjects4$Outbound = { type: string; @@ -2876,21 +2265,6 @@ export const CreateProjectEnvContentHintProjects4$outboundSchema: z.ZodType< storeId: z.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 { @@ -2900,7 +2274,6 @@ export function createProjectEnvContentHintProjects4ToJSON( ), ); } - export function createProjectEnvContentHintProjects4FromJSON( jsonString: string, ): SafeParseResult { @@ -2919,7 +2292,6 @@ export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONRespon > = z.nativeEnum( CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated23Type, ); - /** @internal */ export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated23Type$outboundSchema: z.ZodNativeEnum< @@ -2927,19 +2299,6 @@ export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONRespon > = 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, @@ -2950,7 +2309,6 @@ export const CreateProjectEnvContentHintProjects3$inboundSchema: z.ZodType< CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated23Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type CreateProjectEnvContentHintProjects3$Outbound = { type: string; @@ -2968,21 +2326,6 @@ export const CreateProjectEnvContentHintProjects3$outboundSchema: z.ZodType< storeId: z.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 { @@ -2992,7 +2335,6 @@ export function createProjectEnvContentHintProjects3ToJSON( ), ); } - export function createProjectEnvContentHintProjects3FromJSON( jsonString: string, ): SafeParseResult { @@ -3011,7 +2353,6 @@ export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONRespon > = z.nativeEnum( CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated22Type, ); - /** @internal */ export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated22Type$outboundSchema: z.ZodNativeEnum< @@ -3019,19 +2360,6 @@ export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONRespon > = 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, @@ -3042,7 +2370,6 @@ export const CreateProjectEnvContentHintProjects2$inboundSchema: z.ZodType< CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated22Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type CreateProjectEnvContentHintProjects2$Outbound = { type: string; @@ -3060,21 +2387,6 @@ export const CreateProjectEnvContentHintProjects2$outboundSchema: z.ZodType< storeId: z.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 { @@ -3084,7 +2396,6 @@ export function createProjectEnvContentHintProjects2ToJSON( ), ); } - export function createProjectEnvContentHintProjects2FromJSON( jsonString: string, ): SafeParseResult { @@ -3103,7 +2414,6 @@ export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONRespon > = z.nativeEnum( CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated2Type, ); - /** @internal */ export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated2Type$outboundSchema: z.ZodNativeEnum< @@ -3111,19 +2421,6 @@ export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONRespon > = 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, @@ -3134,7 +2431,6 @@ export const CreateProjectEnvContentHintProjects1$inboundSchema: z.ZodType< CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated2Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type CreateProjectEnvContentHintProjects1$Outbound = { type: string; @@ -3152,21 +2448,6 @@ export const CreateProjectEnvContentHintProjects1$outboundSchema: z.ZodType< storeId: z.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 { @@ -3176,7 +2457,6 @@ export function createProjectEnvContentHintProjects1ToJSON( ), ); } - export function createProjectEnvContentHintProjects1FromJSON( jsonString: string, ): SafeParseResult { @@ -3210,7 +2490,6 @@ export const CreateProjectEnvCreatedContentHint$inboundSchema: z.ZodType< z.lazy(() => CreateProjectEnvContentHintProjects13$inboundSchema), z.lazy(() => CreateProjectEnvContentHintProjects15$inboundSchema), ]); - /** @internal */ export type CreateProjectEnvCreatedContentHint$Outbound = | CreateProjectEnvContentHintProjects14$Outbound @@ -3252,20 +2531,6 @@ export const CreateProjectEnvCreatedContentHint$outboundSchema: z.ZodType< z.lazy(() => CreateProjectEnvContentHintProjects15$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 { @@ -3275,7 +2540,6 @@ export function createProjectEnvCreatedContentHintToJSON( ), ); } - export function createProjectEnvCreatedContentHintFromJSON( jsonString: string, ): SafeParseResult { @@ -3291,25 +2555,11 @@ export function createProjectEnvCreatedContentHintFromJSON( 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 = @@ -3317,7 +2567,6 @@ export const CreateProjectEnvCreatedInternalContentHint$inboundSchema: type: CreateProjectEnvCreatedProjectsResponseType$inboundSchema, encryptedValue: z.string(), }); - /** @internal */ export type CreateProjectEnvCreatedInternalContentHint$Outbound = { type: string; @@ -3335,21 +2584,6 @@ export const CreateProjectEnvCreatedInternalContentHint$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, @@ -3360,7 +2594,6 @@ export function createProjectEnvCreatedInternalContentHintToJSON( ), ); } - export function createProjectEnvCreatedInternalContentHintFromJSON( jsonString: string, ): SafeParseResult< @@ -3428,7 +2661,6 @@ export const Created2$inboundSchema: z.ZodType< customEnvironmentIds: z.array(z.string()).optional(), system: z.boolean().optional(), }); - /** @internal */ export type Created2$Outbound = { target?: Array | string | undefined; @@ -3526,23 +2758,9 @@ export const Created2$outboundSchema: z.ZodType< 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 { @@ -3557,44 +2775,20 @@ export function created2FromJSON( 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, @@ -3604,7 +2798,6 @@ export const CreatedTarget$inboundSchema: z.ZodType< z.array(CreateProjectEnvTarget1$inboundSchema), CreateProjectEnvTarget2$inboundSchema, ]); - /** @internal */ export type CreatedTarget$Outbound = Array | string; @@ -3618,23 +2811,9 @@ export const CreatedTarget$outboundSchema: z.ZodType< 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 { @@ -3648,22 +2827,10 @@ export function createdTargetFromJSON( /** @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< @@ -3671,7 +2838,6 @@ export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONRespon > = z.nativeEnum( CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated115Type, ); - /** @internal */ export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated115Type$outboundSchema: z.ZodNativeEnum< @@ -3679,19 +2845,6 @@ export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONRespon > = 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, @@ -3702,7 +2855,6 @@ export const CreateProjectEnvContentHint15$inboundSchema: z.ZodType< CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated115Type$inboundSchema, projectId: z.string(), }); - /** @internal */ export type CreateProjectEnvContentHint15$Outbound = { type: string; @@ -3720,19 +2872,6 @@ export const CreateProjectEnvContentHint15$outboundSchema: z.ZodType< 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 { @@ -3742,7 +2881,6 @@ export function createProjectEnvContentHint15ToJSON( ), ); } - export function createProjectEnvContentHint15FromJSON( jsonString: string, ): SafeParseResult { @@ -3760,7 +2898,6 @@ export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONRespon > = z.nativeEnum( CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated114Type, ); - /** @internal */ export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated114Type$outboundSchema: z.ZodNativeEnum< @@ -3768,19 +2905,6 @@ export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONRespon > = 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, @@ -3794,7 +2918,6 @@ export const CreateProjectEnvContentHint14$inboundSchema: z.ZodType< integrationProductId: z.string(), integrationConfigurationId: z.string(), }); - /** @internal */ export type CreateProjectEnvContentHint14$Outbound = { type: string; @@ -3818,19 +2941,6 @@ export const CreateProjectEnvContentHint14$outboundSchema: z.ZodType< 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 { @@ -3840,7 +2950,6 @@ export function createProjectEnvContentHint14ToJSON( ), ); } - export function createProjectEnvContentHint14FromJSON( jsonString: string, ): SafeParseResult { @@ -3858,7 +2967,6 @@ export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONRespon > = z.nativeEnum( CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated113Type, ); - /** @internal */ export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated113Type$outboundSchema: z.ZodNativeEnum< @@ -3866,19 +2974,6 @@ export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONRespon > = 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, @@ -3889,7 +2984,6 @@ export const CreateProjectEnvContentHint13$inboundSchema: z.ZodType< CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated113Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type CreateProjectEnvContentHint13$Outbound = { type: string; @@ -3907,19 +3001,6 @@ export const CreateProjectEnvContentHint13$outboundSchema: z.ZodType< storeId: z.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 { @@ -3929,7 +3010,6 @@ export function createProjectEnvContentHint13ToJSON( ), ); } - export function createProjectEnvContentHint13FromJSON( jsonString: string, ): SafeParseResult { @@ -3947,7 +3027,6 @@ export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONRespon > = z.nativeEnum( CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated112Type, ); - /** @internal */ export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated112Type$outboundSchema: z.ZodNativeEnum< @@ -3955,19 +3034,6 @@ export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONRespon > = 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, @@ -3978,7 +3044,6 @@ export const CreateProjectEnvContentHint12$inboundSchema: z.ZodType< CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated112Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type CreateProjectEnvContentHint12$Outbound = { type: string; @@ -3996,19 +3061,6 @@ export const CreateProjectEnvContentHint12$outboundSchema: z.ZodType< storeId: z.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 { @@ -4018,7 +3070,6 @@ export function createProjectEnvContentHint12ToJSON( ), ); } - export function createProjectEnvContentHint12FromJSON( jsonString: string, ): SafeParseResult { @@ -4036,7 +3087,6 @@ export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONRespon > = z.nativeEnum( CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated111Type, ); - /** @internal */ export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated111Type$outboundSchema: z.ZodNativeEnum< @@ -4044,19 +3094,6 @@ export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONRespon > = 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, @@ -4067,7 +3104,6 @@ export const CreateProjectEnvContentHint11$inboundSchema: z.ZodType< CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated111Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type CreateProjectEnvContentHint11$Outbound = { type: string; @@ -4085,19 +3121,6 @@ export const CreateProjectEnvContentHint11$outboundSchema: z.ZodType< storeId: z.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 { @@ -4107,7 +3130,6 @@ export function createProjectEnvContentHint11ToJSON( ), ); } - export function createProjectEnvContentHint11FromJSON( jsonString: string, ): SafeParseResult { @@ -4125,7 +3147,6 @@ export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONRespon > = z.nativeEnum( CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated110Type, ); - /** @internal */ export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated110Type$outboundSchema: z.ZodNativeEnum< @@ -4133,19 +3154,6 @@ export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONRespon > = 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, @@ -4156,7 +3164,6 @@ export const CreateProjectEnvContentHint10$inboundSchema: z.ZodType< CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated110Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type CreateProjectEnvContentHint10$Outbound = { type: string; @@ -4174,19 +3181,6 @@ export const CreateProjectEnvContentHint10$outboundSchema: z.ZodType< storeId: z.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 { @@ -4196,7 +3190,6 @@ export function createProjectEnvContentHint10ToJSON( ), ); } - export function createProjectEnvContentHint10FromJSON( jsonString: string, ): SafeParseResult { @@ -4214,7 +3207,6 @@ export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONRespon > = z.nativeEnum( CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated19Type, ); - /** @internal */ export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated19Type$outboundSchema: z.ZodNativeEnum< @@ -4222,19 +3214,6 @@ export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONRespon > = 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, @@ -4245,7 +3224,6 @@ export const CreateProjectEnvContentHint9$inboundSchema: z.ZodType< CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated19Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type CreateProjectEnvContentHint9$Outbound = { type: string; @@ -4263,19 +3241,6 @@ export const CreateProjectEnvContentHint9$outboundSchema: z.ZodType< storeId: z.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 { @@ -4285,7 +3250,6 @@ export function createProjectEnvContentHint9ToJSON( ), ); } - export function createProjectEnvContentHint9FromJSON( jsonString: string, ): SafeParseResult { @@ -4303,7 +3267,6 @@ export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONRespon > = z.nativeEnum( CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated1Type, ); - /** @internal */ export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated1Type$outboundSchema: z.ZodNativeEnum< @@ -4311,19 +3274,6 @@ export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONRespon > = 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, @@ -4334,7 +3284,6 @@ export const CreateProjectEnvContentHint8$inboundSchema: z.ZodType< CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreated1Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type CreateProjectEnvContentHint8$Outbound = { type: string; @@ -4352,19 +3301,6 @@ export const CreateProjectEnvContentHint8$outboundSchema: z.ZodType< storeId: z.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 { @@ -4374,7 +3310,6 @@ export function createProjectEnvContentHint8ToJSON( ), ); } - export function createProjectEnvContentHint8FromJSON( jsonString: string, ): SafeParseResult { @@ -4392,7 +3327,6 @@ export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONRespon > = z.nativeEnum( CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreatedType, ); - /** @internal */ export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreatedType$outboundSchema: z.ZodNativeEnum< @@ -4400,19 +3334,6 @@ export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONRespon > = 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, @@ -4423,7 +3344,6 @@ export const CreateProjectEnvContentHint7$inboundSchema: z.ZodType< CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyCreatedType$inboundSchema, storeId: z.string(), }); - /** @internal */ export type CreateProjectEnvContentHint7$Outbound = { type: string; @@ -4441,19 +3361,6 @@ export const CreateProjectEnvContentHint7$outboundSchema: z.ZodType< storeId: z.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 { @@ -4463,7 +3370,6 @@ export function createProjectEnvContentHint7ToJSON( ), ); } - export function createProjectEnvContentHint7FromJSON( jsonString: string, ): SafeParseResult { @@ -4481,7 +3387,6 @@ export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONRespon > = z.nativeEnum( CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyType, ); - /** @internal */ export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyType$outboundSchema: z.ZodNativeEnum< @@ -4489,19 +3394,6 @@ export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONRespon > = 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, @@ -4512,7 +3404,6 @@ export const CreateProjectEnvContentHint6$inboundSchema: z.ZodType< CreateProjectEnvContentHintProjectsResponse201ApplicationJSONResponseBodyType$inboundSchema, storeId: z.string(), }); - /** @internal */ export type CreateProjectEnvContentHint6$Outbound = { type: string; @@ -4530,19 +3421,6 @@ export const CreateProjectEnvContentHint6$outboundSchema: z.ZodType< storeId: z.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 { @@ -4552,7 +3430,6 @@ export function createProjectEnvContentHint6ToJSON( ), ); } - export function createProjectEnvContentHint6FromJSON( jsonString: string, ): SafeParseResult { @@ -4570,7 +3447,6 @@ export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONType$i > = z.nativeEnum( CreateProjectEnvContentHintProjectsResponse201ApplicationJSONType, ); - /** @internal */ export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONType$outboundSchema: z.ZodNativeEnum< @@ -4578,19 +3454,6 @@ export const CreateProjectEnvContentHintProjectsResponse201ApplicationJSONType$o > = 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, @@ -4601,7 +3464,6 @@ export const CreateProjectEnvContentHint5$inboundSchema: z.ZodType< CreateProjectEnvContentHintProjectsResponse201ApplicationJSONType$inboundSchema, storeId: z.string(), }); - /** @internal */ export type CreateProjectEnvContentHint5$Outbound = { type: string; @@ -4619,19 +3481,6 @@ export const CreateProjectEnvContentHint5$outboundSchema: z.ZodType< storeId: z.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 { @@ -4641,7 +3490,6 @@ export function createProjectEnvContentHint5ToJSON( ), ); } - export function createProjectEnvContentHint5FromJSON( jsonString: string, ): SafeParseResult { @@ -4656,25 +3504,11 @@ export function createProjectEnvContentHint5FromJSON( 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, @@ -4684,7 +3518,6 @@ export const CreateProjectEnvContentHint4$inboundSchema: z.ZodType< type: CreateProjectEnvContentHintProjectsResponse201Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type CreateProjectEnvContentHint4$Outbound = { type: string; @@ -4701,19 +3534,6 @@ export const CreateProjectEnvContentHint4$outboundSchema: z.ZodType< storeId: z.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 { @@ -4723,7 +3543,6 @@ export function createProjectEnvContentHint4ToJSON( ), ); } - export function createProjectEnvContentHint4FromJSON( jsonString: string, ): SafeParseResult { @@ -4738,25 +3557,11 @@ export function createProjectEnvContentHint4FromJSON( 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, @@ -4766,7 +3571,6 @@ export const CreateProjectEnvContentHint3$inboundSchema: z.ZodType< type: CreateProjectEnvContentHintProjectsResponseType$inboundSchema, storeId: z.string(), }); - /** @internal */ export type CreateProjectEnvContentHint3$Outbound = { type: string; @@ -4783,19 +3587,6 @@ export const CreateProjectEnvContentHint3$outboundSchema: z.ZodType< storeId: z.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 { @@ -4805,7 +3596,6 @@ export function createProjectEnvContentHint3ToJSON( ), ); } - export function createProjectEnvContentHint3FromJSON( jsonString: string, ): SafeParseResult { @@ -4820,25 +3610,11 @@ export function createProjectEnvContentHint3FromJSON( 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, @@ -4848,7 +3624,6 @@ export const CreateProjectEnvContentHint2$inboundSchema: z.ZodType< type: CreateProjectEnvContentHintProjectsType$inboundSchema, storeId: z.string(), }); - /** @internal */ export type CreateProjectEnvContentHint2$Outbound = { type: string; @@ -4865,19 +3640,6 @@ export const CreateProjectEnvContentHint2$outboundSchema: z.ZodType< storeId: z.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 { @@ -4887,7 +3649,6 @@ export function createProjectEnvContentHint2ToJSON( ), ); } - export function createProjectEnvContentHint2FromJSON( jsonString: string, ): SafeParseResult { @@ -4902,23 +3663,11 @@ export function createProjectEnvContentHint2FromJSON( 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, @@ -4928,7 +3677,6 @@ export const CreateProjectEnvContentHint1$inboundSchema: z.ZodType< type: CreateProjectEnvContentHintType$inboundSchema, storeId: z.string(), }); - /** @internal */ export type CreateProjectEnvContentHint1$Outbound = { type: string; @@ -4945,19 +3693,6 @@ export const CreateProjectEnvContentHint1$outboundSchema: z.ZodType< storeId: z.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 { @@ -4967,7 +3702,6 @@ export function createProjectEnvContentHint1ToJSON( ), ); } - export function createProjectEnvContentHint1FromJSON( jsonString: string, ): SafeParseResult { @@ -5000,7 +3734,6 @@ export const CreatedContentHint$inboundSchema: z.ZodType< z.lazy(() => CreateProjectEnvContentHint13$inboundSchema), z.lazy(() => CreateProjectEnvContentHint15$inboundSchema), ]); - /** @internal */ export type CreatedContentHint$Outbound = | CreateProjectEnvContentHint14$Outbound @@ -5042,19 +3775,6 @@ export const CreatedContentHint$outboundSchema: z.ZodType< z.lazy(() => CreateProjectEnvContentHint15$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 { @@ -5062,7 +3782,6 @@ export function createdContentHintToJSON( CreatedContentHint$outboundSchema.parse(createdContentHint), ); } - export function createdContentHintFromJSON( jsonString: string, ): SafeParseResult { @@ -5077,25 +3796,11 @@ export function createdContentHintFromJSON( 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, @@ -5105,7 +3810,6 @@ export const CreatedInternalContentHint$inboundSchema: z.ZodType< type: CreateProjectEnvCreatedProjectsType$inboundSchema, encryptedValue: z.string(), }); - /** @internal */ export type CreatedInternalContentHint$Outbound = { type: string; @@ -5122,19 +3826,6 @@ export const CreatedInternalContentHint$outboundSchema: z.ZodType< 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 { @@ -5142,7 +3833,6 @@ export function createdInternalContentHintToJSON( CreatedInternalContentHint$outboundSchema.parse(createdInternalContentHint), ); } - export function createdInternalContentHintFromJSON( jsonString: string, ): SafeParseResult { @@ -5204,7 +3894,6 @@ export const Created1$inboundSchema: z.ZodType< customEnvironmentIds: z.array(z.string()).optional(), system: z.boolean().optional(), }); - /** @internal */ export type Created1$Outbound = { target?: Array | string | undefined; @@ -5299,23 +3988,9 @@ export const Created1$outboundSchema: z.ZodType< 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 { @@ -5327,78 +4002,61 @@ export function created1FromJSON( } /** @internal */ -export const Created$inboundSchema: z.ZodType = - z.union([ - z.lazy(() => Created1$inboundSchema), - z.array(z.lazy(() => Created2$inboundSchema)), - ]); - +export const CreateProjectEnvCreated$inboundSchema: z.ZodType< + CreateProjectEnvCreated, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => Created1$inboundSchema), + z.array(z.lazy(() => Created2$inboundSchema)), +]); /** @internal */ -export type Created$Outbound = Created1$Outbound | Array; +export type CreateProjectEnvCreated$Outbound = + | Created1$Outbound + | Array; /** @internal */ -export const Created$outboundSchema: z.ZodType< - Created$Outbound, +export const CreateProjectEnvCreated$outboundSchema: z.ZodType< + CreateProjectEnvCreated$Outbound, z.ZodTypeDef, - Created + CreateProjectEnvCreated > = 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 createProjectEnvCreatedToJSON( + createProjectEnvCreated: CreateProjectEnvCreated, +): string { + return JSON.stringify( + CreateProjectEnvCreated$outboundSchema.parse(createProjectEnvCreated), + ); } - -export function createdFromJSON( +export function createProjectEnvCreatedFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => Created$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Created' from JSON`, + (x) => CreateProjectEnvCreated$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectEnvCreated' from JSON`, ); } /** @internal */ -export const Value2$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(Value2); - +export const CreateProjectEnvValue2$inboundSchema: z.ZodNativeEnum< + typeof CreateProjectEnvValue2 +> = z.nativeEnum(CreateProjectEnvValue2); /** @internal */ -export const Value2$outboundSchema: z.ZodNativeEnum = - Value2$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Value2$ { - /** @deprecated use `Value2$inboundSchema` instead. */ - export const inboundSchema = Value2$inboundSchema; - /** @deprecated use `Value2$outboundSchema` instead. */ - export const outboundSchema = Value2$outboundSchema; -} +export const CreateProjectEnvValue2$outboundSchema: z.ZodNativeEnum< + typeof CreateProjectEnvValue2 +> = CreateProjectEnvValue2$inboundSchema; /** @internal */ export const CreateProjectEnvValue$inboundSchema: z.ZodType< CreateProjectEnvValue, z.ZodTypeDef, unknown -> = z.union([z.string(), z.array(Value2$inboundSchema)]); - +> = z.union([z.string(), z.array(CreateProjectEnvValue2$inboundSchema)]); /** @internal */ export type CreateProjectEnvValue$Outbound = string | Array; @@ -5407,20 +4065,7 @@ export const CreateProjectEnvValue$outboundSchema: z.ZodType< CreateProjectEnvValue$Outbound, z.ZodTypeDef, CreateProjectEnvValue -> = z.union([z.string(), z.array(Value2$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; -} +> = z.union([z.string(), z.array(CreateProjectEnvValue2$outboundSchema)]); export function createProjectEnvValueToJSON( createProjectEnvValue: CreateProjectEnvValue, @@ -5429,7 +4074,6 @@ export function createProjectEnvValueToJSON( CreateProjectEnvValue$outboundSchema.parse(createProjectEnvValue), ); } - export function createProjectEnvValueFromJSON( jsonString: string, ): SafeParseResult { @@ -5444,46 +4088,20 @@ export function createProjectEnvValueFromJSON( 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, @@ -5493,7 +4111,6 @@ export const CreateProjectEnvTarget$inboundSchema: z.ZodType< z.array(CreateProjectEnvTargetProjects1$inboundSchema), CreateProjectEnvTargetProjectsResponse2$inboundSchema, ]); - /** @internal */ export type CreateProjectEnvTarget$Outbound = Array | string; @@ -5507,19 +4124,6 @@ export const CreateProjectEnvTarget$outboundSchema: z.ZodType< 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 { @@ -5527,7 +4131,6 @@ export function createProjectEnvTargetToJSON( CreateProjectEnvTarget$outboundSchema.parse(createProjectEnvTarget), ); } - export function createProjectEnvTargetFromJSON( jsonString: string, ): SafeParseResult { @@ -5551,7 +4154,8 @@ export const CreateProjectEnvError$inboundSchema: z.ZodType< envVarKey: z.string().optional(), action: z.string().optional(), link: z.string().optional(), - value: z.union([z.string(), z.array(Value2$inboundSchema)]).optional(), + value: z.union([z.string(), z.array(CreateProjectEnvValue2$inboundSchema)]) + .optional(), gitBranch: z.string().optional(), target: z.union([ z.array(CreateProjectEnvTargetProjects1$inboundSchema), @@ -5559,7 +4163,6 @@ export const CreateProjectEnvError$inboundSchema: z.ZodType< ]).optional(), project: z.string().optional(), }); - /** @internal */ export type CreateProjectEnvError$Outbound = { code: string; @@ -5588,7 +4191,8 @@ export const CreateProjectEnvError$outboundSchema: z.ZodType< envVarKey: z.string().optional(), action: z.string().optional(), link: z.string().optional(), - value: z.union([z.string(), z.array(Value2$outboundSchema)]).optional(), + value: z.union([z.string(), z.array(CreateProjectEnvValue2$outboundSchema)]) + .optional(), gitBranch: z.string().optional(), target: z.union([ z.array(CreateProjectEnvTargetProjects1$outboundSchema), @@ -5597,19 +4201,6 @@ export const CreateProjectEnvError$outboundSchema: z.ZodType< 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 { @@ -5617,7 +4208,6 @@ export function createProjectEnvErrorToJSON( CreateProjectEnvError$outboundSchema.parse(createProjectEnvError), ); } - export function createProjectEnvErrorFromJSON( jsonString: string, ): SafeParseResult { @@ -5629,49 +4219,41 @@ export function createProjectEnvErrorFromJSON( } /** @internal */ -export const Failed$inboundSchema: z.ZodType = z - .object({ - error: z.lazy(() => CreateProjectEnvError$inboundSchema), - }); - +export const CreateProjectEnvFailed$inboundSchema: z.ZodType< + CreateProjectEnvFailed, + z.ZodTypeDef, + unknown +> = z.object({ + error: z.lazy(() => CreateProjectEnvError$inboundSchema), +}); /** @internal */ -export type Failed$Outbound = { +export type CreateProjectEnvFailed$Outbound = { error: CreateProjectEnvError$Outbound; }; /** @internal */ -export const Failed$outboundSchema: z.ZodType< - Failed$Outbound, +export const CreateProjectEnvFailed$outboundSchema: z.ZodType< + CreateProjectEnvFailed$Outbound, z.ZodTypeDef, - Failed + CreateProjectEnvFailed > = 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 createProjectEnvFailedToJSON( + createProjectEnvFailed: CreateProjectEnvFailed, +): string { + return JSON.stringify( + CreateProjectEnvFailed$outboundSchema.parse(createProjectEnvFailed), + ); } - -export function failedFromJSON( +export function createProjectEnvFailedFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => Failed$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Failed' from JSON`, + (x) => CreateProjectEnvFailed$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectEnvFailed' from JSON`, ); } @@ -5685,13 +4267,12 @@ export const CreateProjectEnvResponseBody$inboundSchema: z.ZodType< z.lazy(() => Created1$inboundSchema), z.array(z.lazy(() => Created2$inboundSchema)), ]), - failed: z.array(z.lazy(() => Failed$inboundSchema)), + failed: z.array(z.lazy(() => CreateProjectEnvFailed$inboundSchema)), }); - /** @internal */ export type CreateProjectEnvResponseBody$Outbound = { created: Created1$Outbound | Array; - failed: Array; + failed: Array; }; /** @internal */ @@ -5704,22 +4285,9 @@ export const CreateProjectEnvResponseBody$outboundSchema: z.ZodType< z.lazy(() => Created1$outboundSchema), z.array(z.lazy(() => Created2$outboundSchema)), ]), - failed: z.array(z.lazy(() => Failed$outboundSchema)), + failed: z.array(z.lazy(() => CreateProjectEnvFailed$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 { @@ -5729,7 +4297,6 @@ export function createProjectEnvResponseBodyToJSON( ), ); } - export function createProjectEnvResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/createprojectop.ts b/src/models/createprojectop.ts index 8852a95f8..510760079 100644 --- a/src/models/createprojectop.ts +++ b/src/models/createprojectop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; @@ -114,10 +114,12 @@ export const CreateProjectFramework = { Zola: "zola", Hydrogen: "hydrogen", Vite: "vite", + TanstackStart: "tanstack-start", Vitepress: "vitepress", Vuepress: "vuepress", Parcel: "parcel", Fastapi: "fastapi", + Flask: "flask", Fasthtml: "fasthtml", SanityV3: "sanity-v3", Sanity: "sanity", @@ -126,6 +128,9 @@ export const CreateProjectFramework = { Hono: "hono", Express: "express", H3: "h3", + Nestjs: "nestjs", + Elysia: "elysia", + Fastify: "fastify", Xmcp: "xmcp", } as const; /** @@ -936,10 +941,12 @@ export const CreateProjectProjectsFramework = { Zola: "zola", Hydrogen: "hydrogen", Vite: "vite", + TanstackStart: "tanstack-start", Vitepress: "vitepress", Vuepress: "vuepress", Parcel: "parcel", Fastapi: "fastapi", + Flask: "flask", Fasthtml: "fasthtml", SanityV3: "sanity-v3", Sanity: "sanity", @@ -948,6 +955,9 @@ export const CreateProjectProjectsFramework = { Hono: "hono", Express: "express", H3: "h3", + Nestjs: "nestjs", + Elysia: "elysia", + Fastify: "fastify", Xmcp: "xmcp", } as const; export type CreateProjectProjectsFramework = ClosedEnum< @@ -1038,6 +1048,7 @@ export type CreateProjectOidcTokenClaims = { project: string; projectId: string; environment: string; + plan: string; }; export const CreateProjectPlan = { @@ -1284,13 +1295,23 @@ export type CreateProjectLink = | CreateProjectLink1 | CreateProjectLink2; -export type CreateProjectMicrofrontends2 = { +export type CreateProjectMicrofrontends3 = { updatedAt: number; groupIds: Array; enabled: boolean; + freeProjectForLegacyLimits?: boolean | undefined; }; -export type CreateProjectMicrofrontends1 = { +export type CreateProjectMicrofrontends2 = { + isDefaultApp?: boolean | undefined; + /** + * Whether observability data should be routed to this microfrontend project or a root project. + */ + routeObservabilityToThisProject?: boolean | undefined; + /** + * Whether to add microfrontends routing to aliases. This means domains in this project will route as a microfrontend. + */ + doNotRouteWithMicrofrontendsRouting?: boolean | undefined; /** * Timestamp when the microfrontends settings were last updated. */ @@ -1304,24 +1325,46 @@ export type CreateProjectMicrofrontends1 = { */ 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. + * 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. Includes the leading slash, e.g. `/docs` + */ + defaultRoute?: string | undefined; + /** + * Whether the project was part of the legacy limits for hobby and pro-trial before billing was added. This field is only set when the team is upgraded to a paid plan and we are backfilling the subscription status. We cap the subscription to 2 projects and set this field for the 3rd project. When this field is set, the project is not charged for and we do not call any billing APIs for this project. */ - isDefaultApp?: boolean | undefined; + freeProjectForLegacyLimits?: boolean | undefined; +}; + +export type CreateProjectMicrofrontends1 = { + isDefaultApp: boolean; + /** + * 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; /** * 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. Includes the leading slash, e.g. `/docs` */ defaultRoute?: string | undefined; /** - * Whether observability data should be routed to this microfrontend project or a root project. + * Whether the project was part of the legacy limits for hobby and pro-trial before billing was added. This field is only set when the team is upgraded to a paid plan and we are backfilling the subscription status. We cap the subscription to 2 projects and set this field for the 3rd project. When this field is set, the project is not charged for and we do not call any billing APIs for this project. */ - routeObservabilityToThisProject?: boolean | undefined; + freeProjectForLegacyLimits?: boolean | undefined; }; export type CreateProjectMicrofrontends = | CreateProjectMicrofrontends1 - | CreateProjectMicrofrontends2; + | CreateProjectMicrofrontends2 + | CreateProjectMicrofrontends3; export const CreateProjectNodeVersion = { + TwentyFourDotX: "24.x", TwentyTwoDotX: "22.x", TwentyDotX: "20.x", EighteenDotX: "18.x", @@ -1467,6 +1510,12 @@ export type CreateProjectDefaultResourceConfig = { isNSNBDisabled?: boolean | undefined; }; +export type CreateProjectStaticIps = { + builds: boolean; + enabled: boolean; + regions: Array; +}; + export const CreateProjectProjectsDeploymentType = { Preview: "preview", All: "all", @@ -1559,6 +1608,7 @@ export type CreateProjectProjectsOidcTokenClaims = { project: string; projectId: string; environment: string; + plan: string; }; export const CreateProjectProjectsPlan = { @@ -1648,9 +1698,17 @@ export type CreateProjectPermissions = { userSudo?: Array | undefined; webAuthn?: Array | undefined; accessGroup?: Array | undefined; + agent?: Array | undefined; + alerts?: Array | undefined; aliasGlobal?: Array | undefined; analyticsSampling?: Array | undefined; analyticsUsage?: Array | undefined; + apiKey?: Array | undefined; + apiKeyAiGateway?: Array | undefined; + apiKeyOwnedBySelf?: Array | undefined; + oauth2Application?: Array | undefined; + vercelAppInstallation?: Array | undefined; + vercelAppInstallationRequest?: Array | undefined; auditLog?: Array | undefined; billingAddress?: Array | undefined; billingInformation?: Array | undefined; @@ -1662,6 +1720,7 @@ export type CreateProjectPermissions = { billingRefund?: Array | undefined; billingTaxId?: Array | undefined; blob?: Array | undefined; + blobStoreTokenSet?: Array | undefined; budget?: Array | undefined; cacheArtifact?: Array | undefined; cacheArtifactUsageEvent?: Array | undefined; @@ -1669,6 +1728,7 @@ export type CreateProjectPermissions = { concurrentBuilds?: Array | undefined; connect?: Array | undefined; connectConfiguration?: Array | undefined; + dataCacheBillingSettings?: Array | undefined; defaultDeploymentProtection?: Array | undefined; domain?: Array | undefined; domainAcceptDelegation?: Array | undefined; @@ -1679,40 +1739,48 @@ export type CreateProjectPermissions = { domainPurchase?: Array | undefined; domainRecord?: Array | undefined; domainTransferIn?: Array | undefined; + drain?: Array | undefined; + edgeConfig?: Array | undefined; + edgeConfigItem?: Array | undefined; + edgeConfigSchema?: Array | undefined; + edgeConfigToken?: Array | undefined; + endpointVerification?: Array | undefined; event?: Array | undefined; - ownEvent?: Array | undefined; - sensitiveEnvironmentVariablePolicy?: Array | undefined; fileUpload?: Array | undefined; flagsExplorerSubscription?: Array | undefined; gitRepository?: Array | undefined; - ipBlocking?: Array | undefined; imageOptimizationNewPrice?: Array | undefined; integration?: Array | undefined; integrationAccount?: Array | undefined; integrationConfiguration?: Array | undefined; - integrationConfigurationTransfer?: Array | undefined; integrationConfigurationProjects?: Array | undefined; - integrationVercelConfigurationOverride?: Array | undefined; integrationConfigurationRole?: Array | undefined; - integrationSSOSession?: Array | undefined; - integrationResource?: Array | undefined; + integrationConfigurationTransfer?: Array | undefined; + integrationDeploymentAction?: Array | undefined; integrationEvent?: Array | undefined; + integrationLog?: Array | undefined; + integrationResource?: Array | undefined; + integrationResourceReplCommand?: Array | undefined; integrationResourceSecrets?: Array | undefined; - integrationDeploymentAction?: Array | undefined; - marketplaceInstallationMember?: Array | undefined; + integrationSSOSession?: Array | undefined; + integrationStoreTokenSet?: Array | undefined; + integrationVercelConfigurationOverride?: Array | undefined; + integrationPullRequest?: Array | undefined; + ipBlocking?: Array | undefined; + jobGlobal?: Array | undefined; + logDrain?: Array | undefined; marketplaceBillingData?: Array | undefined; + marketplaceExperimentationEdgeConfigData?: Array | undefined; + marketplaceExperimentationItem?: Array | undefined; + marketplaceInstallationMember?: Array | undefined; marketplaceInvoice?: Array | undefined; marketplaceSettings?: Array | undefined; - marketplaceExperimentationItem?: Array | undefined; - marketplaceExperimentationEdgeConfigData?: Array | undefined; - jobGlobal?: Array | undefined; - drain?: Array | undefined; - logDrain?: Array | undefined; monitoring?: Array | undefined; - monitoringSettings?: Array | undefined; - monitoringQuery?: Array | undefined; - monitoringChart?: Array | undefined; monitoringAlert?: Array | undefined; + monitoringChart?: Array | undefined; + monitoringQuery?: Array | undefined; + monitoringSettings?: Array | undefined; + notificationCustomerBudget?: Array | undefined; notificationDeploymentFailed?: Array | undefined; notificationDomainConfiguration?: Array | undefined; notificationDomainExpire?: Array | undefined; @@ -1723,42 +1791,38 @@ export type CreateProjectPermissions = { notificationDomainUnverified?: Array | undefined; notificationMonitoringAlert?: Array | undefined; notificationPaymentFailed?: Array | undefined; - notificationUsageAlert?: Array | undefined; notificationPreferences?: Array | undefined; - notificationCustomerBudget?: Array | undefined; notificationStatementOfReasons?: Array | undefined; + notificationUsageAlert?: Array | undefined; observabilityConfiguration?: Array | undefined; - alerts?: Array | undefined; - observabilityNotebook?: Array | undefined; observabilityFunnel?: Array | undefined; + observabilityNotebook?: Array | undefined; openTelemetryEndpoint?: Array | undefined; - vercelAppInstallation?: Array | undefined; - vercelAppInstallationRequest?: Array | undefined; + ownEvent?: Array | undefined; + organizationDomain?: Array | undefined; + passwordProtectionInvoiceItem?: Array | undefined; paymentMethod?: Array | undefined; permissions?: Array | undefined; postgres?: Array | undefined; + postgresStoreTokenSet?: Array | undefined; previewDeploymentSuffix?: Array | undefined; + projectTransferIn?: 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; + redisStoreTokenSet?: Array | undefined; remoteCaching?: Array | undefined; + repository?: Array | undefined; samlConfig?: Array | undefined; secret?: Array | undefined; - redisStoreTokenSet?: Array | undefined; - blobStoreTokenSet?: Array | undefined; - postgresStoreTokenSet?: Array | undefined; - integrationStoreTokenSet?: Array | undefined; - integrationResourceReplCommand?: Array | undefined; + sensitiveEnvironmentVariablePolicy?: Array | undefined; + sharedEnvVars?: Array | undefined; + sharedEnvVarsProduction?: Array | undefined; + space?: Array | undefined; + spaceRun?: Array | undefined; storeTransfer?: Array | undefined; supportCase?: Array | undefined; supportCaseComment?: Array | undefined; - dataCacheBillingSettings?: Array | undefined; team?: Array | undefined; teamAccessRequest?: Array | undefined; teamFellowMembership?: Array | undefined; @@ -1773,26 +1837,15 @@ export type CreateProjectPermissions = { token?: Array | undefined; usage?: Array | undefined; usageCycle?: Array | undefined; + vercelRun?: Array | undefined; + vercelRunExec?: Array | undefined; vpcPeeringConnection?: Array | undefined; webAnalyticsPlan?: 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; - vercelRun?: Array | undefined; - vercelRunExec?: Array | undefined; - apiKey?: Array | undefined; - apiKeyOwnedBySelf?: Array | undefined; - apiKeyAiGateway?: Array | undefined; aliasProject?: Array | undefined; aliasProtectionBypass?: Array | undefined; buildMachine?: Array | undefined; - productionAliasProtectionBypass?: Array | undefined; connectConfigurationLink?: Array | undefined; dataCacheNamespace?: Array | undefined; deployment?: Array | undefined; @@ -1808,54 +1861,55 @@ export type CreateProjectPermissions = { deploymentRollback?: Array | undefined; edgeCacheNamespace?: Array | undefined; environments?: Array | undefined; + job?: Array | undefined; logs?: Array | undefined; logsPreset?: Array | undefined; - passwordProtection?: Array | undefined; - optionsAllowlist?: Array | undefined; - job?: Array | undefined; observabilityData?: Array | undefined; onDemandBuild?: Array | undefined; onDemandConcurrency?: Array | undefined; + optionsAllowlist?: Array | undefined; + passwordProtection?: Array | undefined; + productionAliasProtectionBypass?: Array | undefined; project?: Array | undefined; - projectFromV0?: Array | undefined; projectAccessGroup?: Array | undefined; projectAnalyticsSampling?: Array | undefined; + projectAnalyticsUsage?: Array | undefined; projectCheck?: Array | undefined; projectCheckRun?: Array | undefined; + projectDeploymentExpiration?: Array | undefined; projectDeploymentHook?: Array | undefined; projectDomain?: Array | undefined; - projectDomainMove?: Array | undefined; projectDomainCheckConfig?: Array | undefined; + projectDomainMove?: Array | undefined; projectEnvVars?: Array | undefined; projectEnvVarsProduction?: Array | undefined; projectEnvVarsUnownedByIntegration?: Array | undefined; projectFlags?: Array | undefined; + projectFlagsProduction?: Array | undefined; + projectFromV0?: Array | undefined; projectId?: Array | undefined; projectIntegrationConfiguration?: Array | undefined; projectLink?: Array | undefined; projectMember?: Array | undefined; projectMonitoring?: Array | undefined; + projectOIDCToken?: Array | undefined; projectPermissions?: Array | undefined; projectProductionBranch?: Array | undefined; - projectTransfer?: Array | undefined; - projectTransferOut?: Array | undefined; projectProtectionBypass?: Array | undefined; - projectUsage?: Array | undefined; - projectAnalyticsUsage?: Array | undefined; + projectRollingRelease?: Array | undefined; projectSupportCase?: Array | undefined; projectSupportCaseComment?: Array | undefined; - projectDeploymentExpiration?: Array | undefined; - projectRollingRelease?: Array | undefined; projectTier?: Array | undefined; - projectOIDCToken?: Array | undefined; + projectTransfer?: Array | undefined; + projectTransferOut?: Array | undefined; + projectUsage?: Array | undefined; seawallConfig?: Array | undefined; + sharedEnvVarConnection?: Array | undefined; skewProtection?: Array | undefined; analytics?: Array | undefined; trustedIps?: Array | undefined; v0Chat?: Array | undefined; webAnalytics?: Array | undefined; - sharedEnvVarConnection?: Array | undefined; - sonar?: Array | undefined; }; export type CreateProjectLastRollbackTarget = {}; @@ -2007,6 +2061,10 @@ export type CreateProjectGitProviderOptions = { * Whether the Vercel bot should not automatically create GitHub repository-dispatch events on deployment events. https://vercel.com/docs/git/vercel-for-github#repository-dispatch-events */ disableRepositoryDispatchEvents?: boolean | undefined; + /** + * Whether the project requires commits to be signed before deployments will be created. + */ + requireVerifiedCommits?: boolean | undefined; }; export type CreateProjectWebAnalytics = { @@ -2031,18 +2089,18 @@ export type CreateProjectBotFilter = { action?: CreateProjectProjectsResponse200Action | undefined; }; -export const CreateProjectProjectsAction = { +export const CreateProjectProjectsResponse200ApplicationJSONAction = { Log: "log", Challenge: "challenge", Deny: "deny", } as const; -export type CreateProjectProjectsAction = ClosedEnum< - typeof CreateProjectProjectsAction +export type CreateProjectProjectsResponse200ApplicationJSONAction = ClosedEnum< + typeof CreateProjectProjectsResponse200ApplicationJSONAction >; export type CreateProjectAiBots = { active: boolean; - action?: CreateProjectProjectsAction | undefined; + action?: CreateProjectProjectsResponse200ApplicationJSONAction | undefined; }; export const CreateProjectProjectsResponseAction = { @@ -2124,13 +2182,15 @@ export type CreateProjectHistory = { at: number; }; -export const CreateProjectAction = { +export const CreateProjectProjectsAction = { Blocked: "blocked", } as const; -export type CreateProjectAction = ClosedEnum; +export type CreateProjectProjectsAction = ClosedEnum< + typeof CreateProjectProjectsAction +>; export type CreateProjectBlock = { - action: CreateProjectAction; + action: CreateProjectProjectsAction; reason: string; statusCode: number; createdAt: number; @@ -2372,6 +2432,7 @@ export type CreateProjectAbuse = { | CreateProjectBlockHistory2 > | undefined; + interstitial?: boolean | undefined; }; export const CreateProjectHasProjectsType = { @@ -2438,6 +2499,35 @@ export type CreateProjectInternalRoutes = | CreateProjectInternalRoutes1 | CreateProjectInternalRoutes2; +export const CreateProjectAction = { + Cancel: "cancel", + Accept: "accept", + Delete: "delete", +} as const; +export type CreateProjectAction = ClosedEnum; + +export type ValuePreviousValue = string | number | boolean; + +export type ValueCurrentValue = string | number | boolean; + +export type CreateProjectValue4 = { + previousValue: string | number | boolean; + currentValue: string | number | boolean; +}; + +export type CreateProjectValue = + | CreateProjectValue4 + | string + | number + | boolean; + +export type CreateProjectDismissedToasts = { + key: string; + dismissedAt: number; + action: CreateProjectAction; + value: CreateProjectValue4 | string | number | boolean | null; +}; + /** * The project was successfuly created */ @@ -2486,6 +2576,7 @@ export type CreateProjectResponseBody = { microfrontends?: | CreateProjectMicrofrontends1 | CreateProjectMicrofrontends2 + | CreateProjectMicrofrontends3 | undefined; name: string; nodeVersion: CreateProjectNodeVersion; @@ -2509,6 +2600,7 @@ export type CreateProjectResponseBody = { skewProtectionBoundaryAt?: number | undefined; skewProtectionMaxAge?: number | undefined; skipGitConnectDuringLink?: boolean | undefined; + staticIps?: CreateProjectStaticIps | undefined; sourceFilesOutsideRootDirectory?: boolean | undefined; enableAffectedProjectsDeployments?: boolean | undefined; ssoProtection?: CreateProjectProjectsSsoProtection | null | undefined; @@ -2549,53 +2641,30 @@ export type CreateProjectResponseBody = { internalRoutes?: | Array | undefined; + hasDeployments?: boolean | undefined; + dismissedToasts?: Array | 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; @@ -2606,19 +2675,6 @@ export const CreateProjectTarget$outboundSchema: z.ZodType< 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 { @@ -2626,7 +2682,6 @@ export function createProjectTargetToJSON( CreateProjectTarget$outboundSchema.parse(createProjectTarget), ); } - export function createProjectTargetFromJSON( jsonString: string, ): SafeParseResult { @@ -2641,23 +2696,11 @@ export function createProjectTargetFromJSON( 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, @@ -2670,7 +2713,6 @@ export const EnvironmentVariables$inboundSchema: z.ZodType< type: CreateProjectType$inboundSchema.optional(), value: z.string(), }); - /** @internal */ export type EnvironmentVariables$Outbound = { key: string; @@ -2693,19 +2735,6 @@ export const EnvironmentVariables$outboundSchema: z.ZodType< 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 { @@ -2713,7 +2742,6 @@ export function environmentVariablesToJSON( EnvironmentVariables$outboundSchema.parse(environmentVariables), ); } - export function environmentVariablesFromJSON( jsonString: string, ): SafeParseResult { @@ -2728,44 +2756,20 @@ export function environmentVariablesFromJSON( 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, @@ -2775,7 +2779,6 @@ export const GitRepository$inboundSchema: z.ZodType< repo: z.string(), type: CreateProjectProjectsType$inboundSchema, }); - /** @internal */ export type GitRepository$Outbound = { repo: string; @@ -2792,23 +2795,9 @@ export const GitRepository$outboundSchema: z.ZodType< 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 { @@ -2823,23 +2812,11 @@ export function gitRepositoryFromJSON( 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, @@ -2848,7 +2825,6 @@ export const CreateProjectSsoProtection$inboundSchema: z.ZodType< > = z.object({ deploymentType: CreateProjectDeploymentType$inboundSchema, }); - /** @internal */ export type CreateProjectSsoProtection$Outbound = { deploymentType: string; @@ -2863,19 +2839,6 @@ export const CreateProjectSsoProtection$outboundSchema: z.ZodType< 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 { @@ -2883,7 +2846,6 @@ export function createProjectSsoProtectionToJSON( CreateProjectSsoProtection$outboundSchema.parse(createProjectSsoProtection), ); } - export function createProjectSsoProtectionFromJSON( jsonString: string, ): SafeParseResult { @@ -2897,22 +2859,10 @@ export function createProjectSsoProtectionFromJSON( /** @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, @@ -2922,7 +2872,6 @@ export const OidcTokenConfig$inboundSchema: z.ZodType< enabled: z.boolean().default(true), issuerMode: IssuerMode$inboundSchema.default("team"), }); - /** @internal */ export type OidcTokenConfig$Outbound = { enabled: boolean; @@ -2939,25 +2888,11 @@ export const OidcTokenConfig$outboundSchema: z.ZodType< issuerMode: IssuerMode$outboundSchema.default("team"), }); -/** - * @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 { @@ -2972,44 +2907,20 @@ export function oidcTokenConfigFromJSON( 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 BuildMachineType$inboundSchema: z.ZodNativeEnum< typeof BuildMachineType > = z.nativeEnum(BuildMachineType); - /** @internal */ export const BuildMachineType$outboundSchema: z.ZodNativeEnum< typeof BuildMachineType > = BuildMachineType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace BuildMachineType$ { - /** @deprecated use `BuildMachineType$inboundSchema` instead. */ - export const inboundSchema = BuildMachineType$inboundSchema; - /** @deprecated use `BuildMachineType$outboundSchema` instead. */ - export const outboundSchema = BuildMachineType$outboundSchema; -} - /** @internal */ export const CreateProjectResourceConfig$inboundSchema: z.ZodType< CreateProjectResourceConfig, @@ -3025,7 +2936,6 @@ export const CreateProjectResourceConfig$inboundSchema: z.ZodType< buildMachineType: BuildMachineType$inboundSchema.optional(), isNSNBDisabled: z.boolean().optional(), }); - /** @internal */ export type CreateProjectResourceConfig$Outbound = { fluid?: boolean | undefined; @@ -3055,19 +2965,6 @@ export const CreateProjectResourceConfig$outboundSchema: z.ZodType< isNSNBDisabled: 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 { @@ -3077,7 +2974,6 @@ export function createProjectResourceConfigToJSON( ), ); } - export function createProjectResourceConfigFromJSON( jsonString: string, ): SafeParseResult { @@ -3121,7 +3017,6 @@ export const CreateProjectRequestBody$inboundSchema: z.ZodType< resourceConfig: z.lazy(() => CreateProjectResourceConfig$inboundSchema) .optional(), }); - /** @internal */ export type CreateProjectRequestBody$Outbound = { enablePreviewFeedback?: boolean | null | undefined; @@ -3181,19 +3076,6 @@ export const CreateProjectRequestBody$outboundSchema: z.ZodType< .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 { @@ -3201,7 +3083,6 @@ export function createProjectRequestBodyToJSON( CreateProjectRequestBody$outboundSchema.parse(createProjectRequestBody), ); } - export function createProjectRequestBodyFromJSON( jsonString: string, ): SafeParseResult { @@ -3226,7 +3107,6 @@ export const CreateProjectRequest$inboundSchema: z.ZodType< "RequestBody": "requestBody", }); }); - /** @internal */ export type CreateProjectRequest$Outbound = { teamId?: string | undefined; @@ -3249,19 +3129,6 @@ export const CreateProjectRequest$outboundSchema: z.ZodType< }); }); -/** - * @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 { @@ -3269,7 +3136,6 @@ export function createProjectRequestToJSON( CreateProjectRequest$outboundSchema.parse(createProjectRequest), ); } - export function createProjectRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -3294,7 +3160,6 @@ export const CreateProjectAnalytics$inboundSchema: z.ZodType< sampleRatePercent: z.nullable(z.number()).optional(), spendLimitInDollars: z.nullable(z.number()).optional(), }); - /** @internal */ export type CreateProjectAnalytics$Outbound = { id: string; @@ -3321,19 +3186,6 @@ export const CreateProjectAnalytics$outboundSchema: z.ZodType< 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 { @@ -3341,7 +3193,6 @@ export function createProjectAnalyticsToJSON( CreateProjectAnalytics$outboundSchema.parse(createProjectAnalytics), ); } - export function createProjectAnalyticsFromJSON( jsonString: string, ): SafeParseResult { @@ -3365,7 +3216,6 @@ export const CreateProjectSpeedInsights$inboundSchema: z.ZodType< hasData: z.boolean().optional(), paidAt: z.number().optional(), }); - /** @internal */ export type CreateProjectSpeedInsights$Outbound = { id: string; @@ -3390,19 +3240,6 @@ export const CreateProjectSpeedInsights$outboundSchema: z.ZodType< 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 { @@ -3410,7 +3247,6 @@ export function createProjectSpeedInsightsToJSON( CreateProjectSpeedInsights$outboundSchema.parse(createProjectSpeedInsights), ); } - export function createProjectSpeedInsightsFromJSON( jsonString: string, ): SafeParseResult { @@ -3425,30 +3261,17 @@ export function createProjectSpeedInsightsFromJSON( export const CreateProjectEnvId2$inboundSchema: z.ZodNativeEnum< typeof CreateProjectEnvId2 > = z.nativeEnum(CreateProjectEnvId2); - /** @internal */ export const CreateProjectEnvId2$outboundSchema: z.ZodNativeEnum< typeof CreateProjectEnvId2 > = CreateProjectEnvId2$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectEnvId2$ { - /** @deprecated use `CreateProjectEnvId2$inboundSchema` instead. */ - export const inboundSchema = CreateProjectEnvId2$inboundSchema; - /** @deprecated use `CreateProjectEnvId2$outboundSchema` instead. */ - export const outboundSchema = CreateProjectEnvId2$outboundSchema; -} - /** @internal */ export const CreateProjectEnvId$inboundSchema: z.ZodType< CreateProjectEnvId, z.ZodTypeDef, unknown > = z.union([z.string(), CreateProjectEnvId2$inboundSchema]); - /** @internal */ export type CreateProjectEnvId$Outbound = string | string; @@ -3459,19 +3282,6 @@ export const CreateProjectEnvId$outboundSchema: z.ZodType< CreateProjectEnvId > = z.union([z.string(), CreateProjectEnvId2$outboundSchema]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectEnvId$ { - /** @deprecated use `CreateProjectEnvId$inboundSchema` instead. */ - export const inboundSchema = CreateProjectEnvId$inboundSchema; - /** @deprecated use `CreateProjectEnvId$outboundSchema` instead. */ - export const outboundSchema = CreateProjectEnvId$outboundSchema; - /** @deprecated use `CreateProjectEnvId$Outbound` instead. */ - export type Outbound = CreateProjectEnvId$Outbound; -} - export function createProjectEnvIdToJSON( createProjectEnvId: CreateProjectEnvId, ): string { @@ -3479,7 +3289,6 @@ export function createProjectEnvIdToJSON( CreateProjectEnvId$outboundSchema.parse(createProjectEnvId), ); } - export function createProjectEnvIdFromJSON( jsonString: string, ): SafeParseResult { @@ -3499,7 +3308,6 @@ export const CreateProjectAws$inboundSchema: z.ZodType< subnetIds: z.array(z.string()), securityGroupId: z.string(), }); - /** @internal */ export type CreateProjectAws$Outbound = { subnetIds: Array; @@ -3516,19 +3324,6 @@ export const CreateProjectAws$outboundSchema: z.ZodType< securityGroupId: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectAws$ { - /** @deprecated use `CreateProjectAws$inboundSchema` instead. */ - export const inboundSchema = CreateProjectAws$inboundSchema; - /** @deprecated use `CreateProjectAws$outboundSchema` instead. */ - export const outboundSchema = CreateProjectAws$outboundSchema; - /** @deprecated use `CreateProjectAws$Outbound` instead. */ - export type Outbound = CreateProjectAws$Outbound; -} - export function createProjectAwsToJSON( createProjectAws: CreateProjectAws, ): string { @@ -3536,7 +3331,6 @@ export function createProjectAwsToJSON( CreateProjectAws$outboundSchema.parse(createProjectAws), ); } - export function createProjectAwsFromJSON( jsonString: string, ): SafeParseResult { @@ -3562,7 +3356,6 @@ export const CreateProjectConnectConfigurations$inboundSchema: z.ZodType< createdAt: z.number(), updatedAt: z.number(), }); - /** @internal */ export type CreateProjectConnectConfigurations$Outbound = { envId: string | string; @@ -3591,20 +3384,6 @@ export const CreateProjectConnectConfigurations$outboundSchema: z.ZodType< 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 CreateProjectConnectConfigurations$ { - /** @deprecated use `CreateProjectConnectConfigurations$inboundSchema` instead. */ - export const inboundSchema = CreateProjectConnectConfigurations$inboundSchema; - /** @deprecated use `CreateProjectConnectConfigurations$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectConnectConfigurations$outboundSchema; - /** @deprecated use `CreateProjectConnectConfigurations$Outbound` instead. */ - export type Outbound = CreateProjectConnectConfigurations$Outbound; -} - export function createProjectConnectConfigurationsToJSON( createProjectConnectConfigurations: CreateProjectConnectConfigurations, ): string { @@ -3614,7 +3393,6 @@ export function createProjectConnectConfigurationsToJSON( ), ); } - export function createProjectConnectConfigurationsFromJSON( jsonString: string, ): SafeParseResult { @@ -3636,7 +3414,6 @@ export const CreateProjectDefinitions$inboundSchema: z.ZodType< path: z.string(), schedule: z.string(), }); - /** @internal */ export type CreateProjectDefinitions$Outbound = { host: string; @@ -3655,19 +3432,6 @@ export const CreateProjectDefinitions$outboundSchema: z.ZodType< 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 { @@ -3675,7 +3439,6 @@ export function createProjectDefinitionsToJSON( CreateProjectDefinitions$outboundSchema.parse(createProjectDefinitions), ); } - export function createProjectDefinitionsFromJSON( jsonString: string, ): SafeParseResult { @@ -3698,7 +3461,6 @@ export const CreateProjectCrons$inboundSchema: z.ZodType< deploymentId: z.nullable(z.string()), definitions: z.array(z.lazy(() => CreateProjectDefinitions$inboundSchema)), }); - /** @internal */ export type CreateProjectCrons$Outbound = { enabledAt: number; @@ -3721,19 +3483,6 @@ export const CreateProjectCrons$outboundSchema: z.ZodType< 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 { @@ -3741,7 +3490,6 @@ export function createProjectCronsToJSON( CreateProjectCrons$outboundSchema.parse(createProjectCrons), ); } - export function createProjectCronsFromJSON( jsonString: string, ): SafeParseResult { @@ -3762,7 +3510,6 @@ export const CreateProjectDataCache$inboundSchema: z.ZodType< storageSizeBytes: z.nullable(z.number()).optional(), unlimited: z.boolean().optional(), }); - /** @internal */ export type CreateProjectDataCache$Outbound = { userDisabled: boolean; @@ -3781,19 +3528,6 @@ export const CreateProjectDataCache$outboundSchema: z.ZodType< 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 { @@ -3801,7 +3535,6 @@ export function createProjectDataCacheToJSON( CreateProjectDataCache$outboundSchema.parse(createProjectDataCache), ); } - export function createProjectDataCacheFromJSON( jsonString: string, ): SafeParseResult { @@ -3824,7 +3557,6 @@ export const CreateProjectDeploymentExpiration$inboundSchema: z.ZodType< expirationDaysErrored: z.number().optional(), deploymentsToKeep: z.number().optional(), }); - /** @internal */ export type CreateProjectDeploymentExpiration$Outbound = { expirationDays?: number | undefined; @@ -3847,20 +3579,6 @@ export const CreateProjectDeploymentExpiration$outboundSchema: z.ZodType< 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 { @@ -3870,7 +3588,6 @@ export function createProjectDeploymentExpirationToJSON( ), ); } - export function createProjectDeploymentExpirationFromJSON( jsonString: string, ): SafeParseResult { @@ -3885,44 +3602,20 @@ export function createProjectDeploymentExpirationFromJSON( 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 CreateProjectTarget1$inboundSchema: z.ZodNativeEnum< typeof CreateProjectTarget1 > = z.nativeEnum(CreateProjectTarget1); - /** @internal */ export const CreateProjectTarget1$outboundSchema: z.ZodNativeEnum< typeof CreateProjectTarget1 > = CreateProjectTarget1$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectTarget1$ { - /** @deprecated use `CreateProjectTarget1$inboundSchema` instead. */ - export const inboundSchema = CreateProjectTarget1$inboundSchema; - /** @deprecated use `CreateProjectTarget1$outboundSchema` instead. */ - export const outboundSchema = CreateProjectTarget1$outboundSchema; -} - /** @internal */ export const CreateProjectProjectsTarget$inboundSchema: z.ZodType< CreateProjectProjectsTarget, @@ -3932,7 +3625,6 @@ export const CreateProjectProjectsTarget$inboundSchema: z.ZodType< z.array(CreateProjectTarget1$inboundSchema), CreateProjectTarget2$inboundSchema, ]); - /** @internal */ export type CreateProjectProjectsTarget$Outbound = Array | string; @@ -3946,19 +3638,6 @@ export const CreateProjectProjectsTarget$outboundSchema: z.ZodType< 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 { @@ -3968,7 +3647,6 @@ export function createProjectProjectsTargetToJSON( ), ); } - export function createProjectProjectsTargetFromJSON( jsonString: string, ): SafeParseResult { @@ -3983,24 +3661,11 @@ export function createProjectProjectsTargetFromJSON( 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< @@ -4008,7 +3673,6 @@ export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseB > = z.nativeEnum( CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type, ); - /** @internal */ export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type$outboundSchema: z.ZodNativeEnum< @@ -4016,19 +3680,6 @@ export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseB > = 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 CreateProjectContentHint15$inboundSchema: z.ZodType< CreateProjectContentHint15, @@ -4039,7 +3690,6 @@ export const CreateProjectContentHint15$inboundSchema: z.ZodType< CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type$inboundSchema, projectId: z.string(), }); - /** @internal */ export type CreateProjectContentHint15$Outbound = { type: string; @@ -4057,19 +3707,6 @@ export const CreateProjectContentHint15$outboundSchema: z.ZodType< 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 CreateProjectContentHint15$ { - /** @deprecated use `CreateProjectContentHint15$inboundSchema` instead. */ - export const inboundSchema = CreateProjectContentHint15$inboundSchema; - /** @deprecated use `CreateProjectContentHint15$outboundSchema` instead. */ - export const outboundSchema = CreateProjectContentHint15$outboundSchema; - /** @deprecated use `CreateProjectContentHint15$Outbound` instead. */ - export type Outbound = CreateProjectContentHint15$Outbound; -} - export function createProjectContentHint15ToJSON( createProjectContentHint15: CreateProjectContentHint15, ): string { @@ -4077,7 +3714,6 @@ export function createProjectContentHint15ToJSON( CreateProjectContentHint15$outboundSchema.parse(createProjectContentHint15), ); } - export function createProjectContentHint15FromJSON( jsonString: string, ): SafeParseResult { @@ -4095,7 +3731,6 @@ export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseB > = z.nativeEnum( CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type, ); - /** @internal */ export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type$outboundSchema: z.ZodNativeEnum< @@ -4103,19 +3738,6 @@ export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseB > = 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 CreateProjectContentHint14$inboundSchema: z.ZodType< CreateProjectContentHint14, @@ -4129,7 +3751,6 @@ export const CreateProjectContentHint14$inboundSchema: z.ZodType< integrationProductId: z.string(), integrationConfigurationId: z.string(), }); - /** @internal */ export type CreateProjectContentHint14$Outbound = { type: string; @@ -4153,19 +3774,6 @@ export const CreateProjectContentHint14$outboundSchema: z.ZodType< 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 CreateProjectContentHint14$ { - /** @deprecated use `CreateProjectContentHint14$inboundSchema` instead. */ - export const inboundSchema = CreateProjectContentHint14$inboundSchema; - /** @deprecated use `CreateProjectContentHint14$outboundSchema` instead. */ - export const outboundSchema = CreateProjectContentHint14$outboundSchema; - /** @deprecated use `CreateProjectContentHint14$Outbound` instead. */ - export type Outbound = CreateProjectContentHint14$Outbound; -} - export function createProjectContentHint14ToJSON( createProjectContentHint14: CreateProjectContentHint14, ): string { @@ -4173,7 +3781,6 @@ export function createProjectContentHint14ToJSON( CreateProjectContentHint14$outboundSchema.parse(createProjectContentHint14), ); } - export function createProjectContentHint14FromJSON( jsonString: string, ): SafeParseResult { @@ -4191,7 +3798,6 @@ export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseB > = z.nativeEnum( CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type, ); - /** @internal */ export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type$outboundSchema: z.ZodNativeEnum< @@ -4199,19 +3805,6 @@ export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseB > = 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 CreateProjectContentHint13$inboundSchema: z.ZodType< CreateProjectContentHint13, @@ -4222,7 +3815,6 @@ export const CreateProjectContentHint13$inboundSchema: z.ZodType< CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type CreateProjectContentHint13$Outbound = { type: string; @@ -4240,19 +3832,6 @@ export const CreateProjectContentHint13$outboundSchema: z.ZodType< storeId: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectContentHint13$ { - /** @deprecated use `CreateProjectContentHint13$inboundSchema` instead. */ - export const inboundSchema = CreateProjectContentHint13$inboundSchema; - /** @deprecated use `CreateProjectContentHint13$outboundSchema` instead. */ - export const outboundSchema = CreateProjectContentHint13$outboundSchema; - /** @deprecated use `CreateProjectContentHint13$Outbound` instead. */ - export type Outbound = CreateProjectContentHint13$Outbound; -} - export function createProjectContentHint13ToJSON( createProjectContentHint13: CreateProjectContentHint13, ): string { @@ -4260,7 +3839,6 @@ export function createProjectContentHint13ToJSON( CreateProjectContentHint13$outboundSchema.parse(createProjectContentHint13), ); } - export function createProjectContentHint13FromJSON( jsonString: string, ): SafeParseResult { @@ -4278,7 +3856,6 @@ export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseB > = z.nativeEnum( CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type, ); - /** @internal */ export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type$outboundSchema: z.ZodNativeEnum< @@ -4286,19 +3863,6 @@ export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseB > = 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 CreateProjectContentHint12$inboundSchema: z.ZodType< CreateProjectContentHint12, @@ -4309,7 +3873,6 @@ export const CreateProjectContentHint12$inboundSchema: z.ZodType< CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type CreateProjectContentHint12$Outbound = { type: string; @@ -4327,19 +3890,6 @@ export const CreateProjectContentHint12$outboundSchema: z.ZodType< storeId: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectContentHint12$ { - /** @deprecated use `CreateProjectContentHint12$inboundSchema` instead. */ - export const inboundSchema = CreateProjectContentHint12$inboundSchema; - /** @deprecated use `CreateProjectContentHint12$outboundSchema` instead. */ - export const outboundSchema = CreateProjectContentHint12$outboundSchema; - /** @deprecated use `CreateProjectContentHint12$Outbound` instead. */ - export type Outbound = CreateProjectContentHint12$Outbound; -} - export function createProjectContentHint12ToJSON( createProjectContentHint12: CreateProjectContentHint12, ): string { @@ -4347,7 +3897,6 @@ export function createProjectContentHint12ToJSON( CreateProjectContentHint12$outboundSchema.parse(createProjectContentHint12), ); } - export function createProjectContentHint12FromJSON( jsonString: string, ): SafeParseResult { @@ -4365,7 +3914,6 @@ export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseB > = z.nativeEnum( CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type, ); - /** @internal */ export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type$outboundSchema: z.ZodNativeEnum< @@ -4373,19 +3921,6 @@ export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseB > = 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 CreateProjectContentHint11$inboundSchema: z.ZodType< CreateProjectContentHint11, @@ -4396,7 +3931,6 @@ export const CreateProjectContentHint11$inboundSchema: z.ZodType< CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type CreateProjectContentHint11$Outbound = { type: string; @@ -4414,19 +3948,6 @@ export const CreateProjectContentHint11$outboundSchema: z.ZodType< storeId: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectContentHint11$ { - /** @deprecated use `CreateProjectContentHint11$inboundSchema` instead. */ - export const inboundSchema = CreateProjectContentHint11$inboundSchema; - /** @deprecated use `CreateProjectContentHint11$outboundSchema` instead. */ - export const outboundSchema = CreateProjectContentHint11$outboundSchema; - /** @deprecated use `CreateProjectContentHint11$Outbound` instead. */ - export type Outbound = CreateProjectContentHint11$Outbound; -} - export function createProjectContentHint11ToJSON( createProjectContentHint11: CreateProjectContentHint11, ): string { @@ -4434,7 +3955,6 @@ export function createProjectContentHint11ToJSON( CreateProjectContentHint11$outboundSchema.parse(createProjectContentHint11), ); } - export function createProjectContentHint11FromJSON( jsonString: string, ): SafeParseResult { @@ -4452,7 +3972,6 @@ export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseB > = z.nativeEnum( CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type, ); - /** @internal */ export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type$outboundSchema: z.ZodNativeEnum< @@ -4460,19 +3979,6 @@ export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseB > = 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, @@ -4483,7 +3989,6 @@ export const CreateProjectContentHint10$inboundSchema: z.ZodType< CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type CreateProjectContentHint10$Outbound = { type: string; @@ -4501,19 +4006,6 @@ export const CreateProjectContentHint10$outboundSchema: z.ZodType< storeId: z.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 { @@ -4521,7 +4013,6 @@ export function createProjectContentHint10ToJSON( CreateProjectContentHint10$outboundSchema.parse(createProjectContentHint10), ); } - export function createProjectContentHint10FromJSON( jsonString: string, ): SafeParseResult { @@ -4539,7 +4030,6 @@ export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseB > = z.nativeEnum( CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type, ); - /** @internal */ export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type$outboundSchema: z.ZodNativeEnum< @@ -4547,19 +4037,6 @@ export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseB > = 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, @@ -4570,7 +4047,6 @@ export const CreateProjectContentHint9$inboundSchema: z.ZodType< CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type CreateProjectContentHint9$Outbound = { type: string; @@ -4588,19 +4064,6 @@ export const CreateProjectContentHint9$outboundSchema: z.ZodType< storeId: z.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 { @@ -4608,7 +4071,6 @@ export function createProjectContentHint9ToJSON( CreateProjectContentHint9$outboundSchema.parse(createProjectContentHint9), ); } - export function createProjectContentHint9FromJSON( jsonString: string, ): SafeParseResult { @@ -4626,7 +4088,6 @@ export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseB > = z.nativeEnum( CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type, ); - /** @internal */ export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type$outboundSchema: z.ZodNativeEnum< @@ -4634,19 +4095,6 @@ export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseB > = 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, @@ -4657,7 +4105,6 @@ export const CreateProjectContentHint8$inboundSchema: z.ZodType< CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type CreateProjectContentHint8$Outbound = { type: string; @@ -4675,19 +4122,6 @@ export const CreateProjectContentHint8$outboundSchema: z.ZodType< storeId: z.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 { @@ -4695,7 +4129,6 @@ export function createProjectContentHint8ToJSON( CreateProjectContentHint8$outboundSchema.parse(createProjectContentHint8), ); } - export function createProjectContentHint8FromJSON( jsonString: string, ): SafeParseResult { @@ -4713,7 +4146,6 @@ export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseB > = z.nativeEnum( CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType, ); - /** @internal */ export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType$outboundSchema: z.ZodNativeEnum< @@ -4721,19 +4153,6 @@ export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseB > = 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, @@ -4744,7 +4163,6 @@ export const CreateProjectContentHint7$inboundSchema: z.ZodType< CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema, storeId: z.string(), }); - /** @internal */ export type CreateProjectContentHint7$Outbound = { type: string; @@ -4762,19 +4180,6 @@ export const CreateProjectContentHint7$outboundSchema: z.ZodType< storeId: z.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 { @@ -4782,7 +4187,6 @@ export function createProjectContentHint7ToJSON( CreateProjectContentHint7$outboundSchema.parse(createProjectContentHint7), ); } - export function createProjectContentHint7FromJSON( jsonString: string, ): SafeParseResult { @@ -4800,7 +4204,6 @@ export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseB > = z.nativeEnum( CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType, ); - /** @internal */ export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema: z.ZodNativeEnum< @@ -4808,19 +4211,6 @@ export const CreateProjectContentHintProjectsResponse200ApplicationJSONResponseB > = 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, @@ -4831,7 +4221,6 @@ export const CreateProjectContentHint6$inboundSchema: z.ZodType< CreateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema, storeId: z.string(), }); - /** @internal */ export type CreateProjectContentHint6$Outbound = { type: string; @@ -4849,19 +4238,6 @@ export const CreateProjectContentHint6$outboundSchema: z.ZodType< storeId: z.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 { @@ -4869,7 +4245,6 @@ export function createProjectContentHint6ToJSON( CreateProjectContentHint6$outboundSchema.parse(createProjectContentHint6), ); } - export function createProjectContentHint6FromJSON( jsonString: string, ): SafeParseResult { @@ -4887,7 +4262,6 @@ export const CreateProjectContentHintProjectsResponse200ApplicationJSONType$inbo > = z.nativeEnum( CreateProjectContentHintProjectsResponse200ApplicationJSONType, ); - /** @internal */ export const CreateProjectContentHintProjectsResponse200ApplicationJSONType$outboundSchema: z.ZodNativeEnum< @@ -4895,19 +4269,6 @@ export const CreateProjectContentHintProjectsResponse200ApplicationJSONType$outb > = 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, @@ -4918,7 +4279,6 @@ export const CreateProjectContentHint5$inboundSchema: z.ZodType< CreateProjectContentHintProjectsResponse200ApplicationJSONType$inboundSchema, storeId: z.string(), }); - /** @internal */ export type CreateProjectContentHint5$Outbound = { type: string; @@ -4936,19 +4296,6 @@ export const CreateProjectContentHint5$outboundSchema: z.ZodType< storeId: z.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 { @@ -4956,7 +4303,6 @@ export function createProjectContentHint5ToJSON( CreateProjectContentHint5$outboundSchema.parse(createProjectContentHint5), ); } - export function createProjectContentHint5FromJSON( jsonString: string, ): SafeParseResult { @@ -4971,25 +4317,11 @@ export function createProjectContentHint5FromJSON( 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, @@ -4999,7 +4331,6 @@ export const CreateProjectContentHint4$inboundSchema: z.ZodType< type: CreateProjectContentHintProjectsResponse200Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type CreateProjectContentHint4$Outbound = { type: string; @@ -5016,19 +4347,6 @@ export const CreateProjectContentHint4$outboundSchema: z.ZodType< storeId: z.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 { @@ -5036,7 +4354,6 @@ export function createProjectContentHint4ToJSON( CreateProjectContentHint4$outboundSchema.parse(createProjectContentHint4), ); } - export function createProjectContentHint4FromJSON( jsonString: string, ): SafeParseResult { @@ -5051,25 +4368,11 @@ export function createProjectContentHint4FromJSON( 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, @@ -5079,7 +4382,6 @@ export const CreateProjectContentHint3$inboundSchema: z.ZodType< type: CreateProjectContentHintProjectsResponseType$inboundSchema, storeId: z.string(), }); - /** @internal */ export type CreateProjectContentHint3$Outbound = { type: string; @@ -5096,19 +4398,6 @@ export const CreateProjectContentHint3$outboundSchema: z.ZodType< storeId: z.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 { @@ -5116,7 +4405,6 @@ export function createProjectContentHint3ToJSON( CreateProjectContentHint3$outboundSchema.parse(createProjectContentHint3), ); } - export function createProjectContentHint3FromJSON( jsonString: string, ): SafeParseResult { @@ -5132,25 +4420,11 @@ 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, @@ -5160,7 +4434,6 @@ export const CreateProjectContentHint2$inboundSchema: z.ZodType< type: CreateProjectContentHintProjectsType$inboundSchema, storeId: z.string(), }); - /** @internal */ export type CreateProjectContentHint2$Outbound = { type: string; @@ -5177,19 +4450,6 @@ export const CreateProjectContentHint2$outboundSchema: z.ZodType< storeId: z.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 { @@ -5197,7 +4457,6 @@ export function createProjectContentHint2ToJSON( CreateProjectContentHint2$outboundSchema.parse(createProjectContentHint2), ); } - export function createProjectContentHint2FromJSON( jsonString: string, ): SafeParseResult { @@ -5212,23 +4471,11 @@ export function createProjectContentHint2FromJSON( 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, @@ -5238,7 +4485,6 @@ export const CreateProjectContentHint1$inboundSchema: z.ZodType< type: CreateProjectContentHintType$inboundSchema, storeId: z.string(), }); - /** @internal */ export type CreateProjectContentHint1$Outbound = { type: string; @@ -5255,19 +4501,6 @@ export const CreateProjectContentHint1$outboundSchema: z.ZodType< storeId: z.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 { @@ -5275,7 +4508,6 @@ export function createProjectContentHint1ToJSON( CreateProjectContentHint1$outboundSchema.parse(createProjectContentHint1), ); } - export function createProjectContentHint1FromJSON( jsonString: string, ): SafeParseResult { @@ -5308,7 +4540,6 @@ export const CreateProjectContentHint$inboundSchema: z.ZodType< z.lazy(() => CreateProjectContentHint13$inboundSchema), z.lazy(() => CreateProjectContentHint15$inboundSchema), ]); - /** @internal */ export type CreateProjectContentHint$Outbound = | CreateProjectContentHint14$Outbound @@ -5350,19 +4581,6 @@ export const CreateProjectContentHint$outboundSchema: z.ZodType< z.lazy(() => CreateProjectContentHint15$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 { @@ -5370,7 +4588,6 @@ export function createProjectContentHintToJSON( CreateProjectContentHint$outboundSchema.parse(createProjectContentHint), ); } - export function createProjectContentHintFromJSON( jsonString: string, ): SafeParseResult { @@ -5388,7 +4605,6 @@ export const CreateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType$ > = z.nativeEnum( CreateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType, ); - /** @internal */ export const CreateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType$outboundSchema: z.ZodNativeEnum< @@ -5396,19 +4612,6 @@ export const 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, @@ -5419,7 +4622,6 @@ export const CreateProjectInternalContentHint$inboundSchema: z.ZodType< CreateProjectProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema, encryptedValue: z.string(), }); - /** @internal */ export type CreateProjectInternalContentHint$Outbound = { type: string; @@ -5437,19 +4639,6 @@ export const CreateProjectInternalContentHint$outboundSchema: z.ZodType< 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 { @@ -5459,7 +4648,6 @@ export function createProjectInternalContentHintToJSON( ), ); } - export function createProjectInternalContentHintFromJSON( jsonString: string, ): SafeParseResult { @@ -5520,7 +4708,6 @@ export const CreateProjectEnv$inboundSchema: z.ZodType< comment: z.string().optional(), customEnvironmentIds: z.array(z.string()).optional(), }); - /** @internal */ export type CreateProjectEnv$Outbound = { target?: Array | string | undefined; @@ -5616,19 +4803,6 @@ export const CreateProjectEnv$outboundSchema: z.ZodType< 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 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 { @@ -5636,7 +4810,6 @@ export function createProjectEnvToJSON( CreateProjectEnv$outboundSchema.parse(createProjectEnv), ); } - export function createProjectEnvFromJSON( jsonString: string, ): SafeParseResult { @@ -5652,25 +4825,11 @@ 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 CreateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$inboundSchema: z.ZodNativeEnum< @@ -5678,7 +4837,6 @@ export const CreateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEn > = z.nativeEnum( CreateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType, ); - /** @internal */ export const CreateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$outboundSchema: z.ZodNativeEnum< @@ -5686,19 +4844,6 @@ export const CreateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEn > = CreateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$ { - /** @deprecated use `CreateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$inboundSchema; - /** @deprecated use `CreateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$outboundSchema; -} - /** @internal */ export const CreateProjectBranchMatcher$inboundSchema: z.ZodType< CreateProjectBranchMatcher, @@ -5709,7 +4854,6 @@ export const CreateProjectBranchMatcher$inboundSchema: z.ZodType< CreateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$inboundSchema, pattern: z.string(), }); - /** @internal */ export type CreateProjectBranchMatcher$Outbound = { type: string; @@ -5727,19 +4871,6 @@ export const CreateProjectBranchMatcher$outboundSchema: z.ZodType< 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 { @@ -5747,7 +4878,6 @@ export function createProjectBranchMatcherToJSON( CreateProjectBranchMatcher$outboundSchema.parse(createProjectBranchMatcher), ); } - export function createProjectBranchMatcherFromJSON( jsonString: string, ): SafeParseResult { @@ -5769,7 +4899,6 @@ export const CreateProjectVerification$inboundSchema: z.ZodType< value: z.string(), reason: z.string(), }); - /** @internal */ export type CreateProjectVerification$Outbound = { type: string; @@ -5790,19 +4919,6 @@ export const CreateProjectVerification$outboundSchema: z.ZodType< 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 CreateProjectVerification$ { - /** @deprecated use `CreateProjectVerification$inboundSchema` instead. */ - export const inboundSchema = CreateProjectVerification$inboundSchema; - /** @deprecated use `CreateProjectVerification$outboundSchema` instead. */ - export const outboundSchema = CreateProjectVerification$outboundSchema; - /** @deprecated use `CreateProjectVerification$Outbound` instead. */ - export type Outbound = CreateProjectVerification$Outbound; -} - export function createProjectVerificationToJSON( createProjectVerification: CreateProjectVerification, ): string { @@ -5810,7 +4926,6 @@ export function createProjectVerificationToJSON( CreateProjectVerification$outboundSchema.parse(createProjectVerification), ); } - export function createProjectVerificationFromJSON( jsonString: string, ): SafeParseResult { @@ -5840,7 +4955,6 @@ export const CreateProjectDomains$inboundSchema: z.ZodType< verification: z.array(z.lazy(() => CreateProjectVerification$inboundSchema)) .optional(), }); - /** @internal */ export type CreateProjectDomains$Outbound = { name: string; @@ -5876,19 +4990,6 @@ export const CreateProjectDomains$outboundSchema: z.ZodType< .optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectDomains$ { - /** @deprecated use `CreateProjectDomains$inboundSchema` instead. */ - export const inboundSchema = CreateProjectDomains$inboundSchema; - /** @deprecated use `CreateProjectDomains$outboundSchema` instead. */ - export const outboundSchema = CreateProjectDomains$outboundSchema; - /** @deprecated use `CreateProjectDomains$Outbound` instead. */ - export type Outbound = CreateProjectDomains$Outbound; -} - export function createProjectDomainsToJSON( createProjectDomains: CreateProjectDomains, ): string { @@ -5896,7 +4997,6 @@ export function createProjectDomainsToJSON( CreateProjectDomains$outboundSchema.parse(createProjectDomains), ); } - export function createProjectDomainsFromJSON( jsonString: string, ): SafeParseResult { @@ -5924,7 +5024,6 @@ export const CreateProjectCustomEnvironments$inboundSchema: z.ZodType< createdAt: z.number(), updatedAt: z.number(), }); - /** @internal */ export type CreateProjectCustomEnvironments$Outbound = { id: string; @@ -5957,19 +5056,6 @@ export const CreateProjectCustomEnvironments$outboundSchema: z.ZodType< 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 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 { @@ -5979,7 +5065,6 @@ export function createProjectCustomEnvironmentsToJSON( ), ); } - export function createProjectCustomEnvironmentsFromJSON( jsonString: string, ): SafeParseResult { @@ -5994,23 +5079,11 @@ export function createProjectCustomEnvironmentsFromJSON( 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, @@ -6020,7 +5093,6 @@ export const CreateProjectIpBuckets$inboundSchema: z.ZodType< bucket: z.string(), supportUntil: z.number().optional(), }); - /** @internal */ export type CreateProjectIpBuckets$Outbound = { bucket: string; @@ -6037,19 +5109,6 @@ export const CreateProjectIpBuckets$outboundSchema: z.ZodType< 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 { @@ -6057,7 +5116,6 @@ export function createProjectIpBucketsToJSON( CreateProjectIpBuckets$outboundSchema.parse(createProjectIpBuckets), ); } - export function createProjectIpBucketsFromJSON( jsonString: string, ): SafeParseResult { @@ -6074,7 +5132,6 @@ export const CreateProjectAliasAssigned$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.union([z.number(), z.boolean()]); - /** @internal */ export type CreateProjectAliasAssigned$Outbound = number | boolean; @@ -6085,19 +5142,6 @@ export const CreateProjectAliasAssigned$outboundSchema: z.ZodType< 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 { @@ -6105,7 +5149,6 @@ export function createProjectAliasAssignedToJSON( CreateProjectAliasAssigned$outboundSchema.parse(createProjectAliasAssigned), ); } - export function createProjectAliasAssignedFromJSON( jsonString: string, ): SafeParseResult { @@ -6125,7 +5168,6 @@ export const CreateProjectAliasError$inboundSchema: z.ZodType< code: z.string(), message: z.string(), }); - /** @internal */ export type CreateProjectAliasError$Outbound = { code: string; @@ -6142,19 +5184,6 @@ export const CreateProjectAliasError$outboundSchema: z.ZodType< 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 { @@ -6162,7 +5191,6 @@ export function createProjectAliasErrorToJSON( CreateProjectAliasError$outboundSchema.parse(createProjectAliasError), ); } - export function createProjectAliasErrorFromJSON( jsonString: string, ): SafeParseResult { @@ -6180,7 +5208,6 @@ export const CreateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDe > = z.nativeEnum( CreateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType, ); - /** @internal */ export const CreateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$outboundSchema: z.ZodNativeEnum< @@ -6188,19 +5215,6 @@ export const CreateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDe > = 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 CreateProjectProjectsBranchMatcher$inboundSchema: z.ZodType< CreateProjectProjectsBranchMatcher, @@ -6211,7 +5225,6 @@ export const CreateProjectProjectsBranchMatcher$inboundSchema: z.ZodType< CreateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$inboundSchema, pattern: z.string(), }); - /** @internal */ export type CreateProjectProjectsBranchMatcher$Outbound = { type: string; @@ -6229,20 +5242,6 @@ export const CreateProjectProjectsBranchMatcher$outboundSchema: z.ZodType< 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 { @@ -6252,7 +5251,6 @@ export function createProjectProjectsBranchMatcherToJSON( ), ); } - export function createProjectProjectsBranchMatcherFromJSON( jsonString: string, ): SafeParseResult { @@ -6274,7 +5272,6 @@ export const CreateProjectBuilds$inboundSchema: z.ZodType< src: z.string().optional(), dest: z.string().optional(), }); - /** @internal */ export type CreateProjectBuilds$Outbound = { use: string; @@ -6293,19 +5290,6 @@ export const CreateProjectBuilds$outboundSchema: z.ZodType< 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 { @@ -6313,7 +5297,6 @@ export function createProjectBuildsToJSON( CreateProjectBuilds$outboundSchema.parse(createProjectBuilds), ); } - export function createProjectBuildsFromJSON( jsonString: string, ): SafeParseResult { @@ -6328,44 +5311,20 @@ export function createProjectBuildsFromJSON( 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, @@ -6378,7 +5337,6 @@ export const CreateProjectCreator$inboundSchema: z.ZodType< uid: z.string(), username: z.string(), }); - /** @internal */ export type CreateProjectCreator$Outbound = { email: string; @@ -6401,19 +5359,6 @@ export const CreateProjectCreator$outboundSchema: z.ZodType< 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 { @@ -6421,7 +5366,6 @@ export function createProjectCreatorToJSON( CreateProjectCreator$outboundSchema.parse(createProjectCreator), ); } - export function createProjectCreatorFromJSON( jsonString: string, ): SafeParseResult { @@ -6447,13 +5391,13 @@ export const CreateProjectOidcTokenClaims$inboundSchema: z.ZodType< project: z.string(), project_id: z.string(), environment: z.string(), + plan: z.string(), }).transform((v) => { return remap$(v, { "owner_id": "ownerId", "project_id": "projectId", }); }); - /** @internal */ export type CreateProjectOidcTokenClaims$Outbound = { iss: string; @@ -6465,6 +5409,7 @@ export type CreateProjectOidcTokenClaims$Outbound = { project: string; project_id: string; environment: string; + plan: string; }; /** @internal */ @@ -6482,6 +5427,7 @@ export const CreateProjectOidcTokenClaims$outboundSchema: z.ZodType< project: z.string(), projectId: z.string(), environment: z.string(), + plan: z.string(), }).transform((v) => { return remap$(v, { ownerId: "owner_id", @@ -6489,19 +5435,6 @@ export const CreateProjectOidcTokenClaims$outboundSchema: z.ZodType< }); }); -/** - * @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 { @@ -6511,7 +5444,6 @@ export function createProjectOidcTokenClaimsToJSON( ), ); } - export function createProjectOidcTokenClaimsFromJSON( jsonString: string, ): SafeParseResult { @@ -6526,88 +5458,38 @@ export function createProjectOidcTokenClaimsFromJSON( 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 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 CreateProjectLatestDeployments$inboundSchema: z.ZodType< CreateProjectLatestDeployments, @@ -6654,7 +5536,6 @@ export const CreateProjectLatestDeployments$inboundSchema: z.ZodType< userId: z.string(), withCache: z.boolean().optional(), }); - /** @internal */ export type CreateProjectLatestDeployments$Outbound = { id: string; @@ -6742,19 +5623,6 @@ export const CreateProjectLatestDeployments$outboundSchema: z.ZodType< 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 { @@ -6764,7 +5632,6 @@ export function createProjectLatestDeploymentsToJSON( ), ); } - export function createProjectLatestDeploymentsFromJSON( jsonString: string, ): SafeParseResult { @@ -6780,26 +5647,12 @@ export const CreateProjectLinkProjectsResponse200ApplicationJSONType$inboundSche z.ZodNativeEnum< typeof CreateProjectLinkProjectsResponse200ApplicationJSONType > = z.nativeEnum(CreateProjectLinkProjectsResponse200ApplicationJSONType); - /** @internal */ export const CreateProjectLinkProjectsResponse200ApplicationJSONType$outboundSchema: z.ZodNativeEnum< typeof CreateProjectLinkProjectsResponse200ApplicationJSONType > = CreateProjectLinkProjectsResponse200ApplicationJSONType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectLinkProjectsResponse200ApplicationJSONType$ { - /** @deprecated use `CreateProjectLinkProjectsResponse200ApplicationJSONType$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectLinkProjectsResponse200ApplicationJSONType$inboundSchema; - /** @deprecated use `CreateProjectLinkProjectsResponse200ApplicationJSONType$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectLinkProjectsResponse200ApplicationJSONType$outboundSchema; -} - /** @internal */ export const CreateProjectLinkProjectsResponse200ApplicationJSONDeployHooks$inboundSchema: z.ZodType< @@ -6813,7 +5666,6 @@ export const CreateProjectLinkProjectsResponse200ApplicationJSONDeployHooks$inbo ref: z.string(), url: z.string(), }); - /** @internal */ export type CreateProjectLinkProjectsResponse200ApplicationJSONDeployHooks$Outbound = { @@ -6838,22 +5690,6 @@ export const CreateProjectLinkProjectsResponse200ApplicationJSONDeployHooks$outb 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 CreateProjectLinkProjectsResponse200ApplicationJSONDeployHooks$ { - /** @deprecated use `CreateProjectLinkProjectsResponse200ApplicationJSONDeployHooks$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectLinkProjectsResponse200ApplicationJSONDeployHooks$inboundSchema; - /** @deprecated use `CreateProjectLinkProjectsResponse200ApplicationJSONDeployHooks$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectLinkProjectsResponse200ApplicationJSONDeployHooks$outboundSchema; - /** @deprecated use `CreateProjectLinkProjectsResponse200ApplicationJSONDeployHooks$Outbound` instead. */ - export type Outbound = - CreateProjectLinkProjectsResponse200ApplicationJSONDeployHooks$Outbound; -} - export function createProjectLinkProjectsResponse200ApplicationJSONDeployHooksToJSON( createProjectLinkProjectsResponse200ApplicationJSONDeployHooks: CreateProjectLinkProjectsResponse200ApplicationJSONDeployHooks, @@ -6863,7 +5699,6 @@ export function createProjectLinkProjectsResponse200ApplicationJSONDeployHooksTo .parse(createProjectLinkProjectsResponse200ApplicationJSONDeployHooks), ); } - export function createProjectLinkProjectsResponse200ApplicationJSONDeployHooksFromJSON( jsonString: string, ): SafeParseResult< @@ -6902,7 +5737,6 @@ export const CreateProjectLink5$inboundSchema: z.ZodType< sourceless: z.boolean().optional(), productionBranch: z.string(), }); - /** @internal */ export type CreateProjectLink5$Outbound = { name: string; @@ -6945,19 +5779,6 @@ export const CreateProjectLink5$outboundSchema: z.ZodType< productionBranch: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectLink5$ { - /** @deprecated use `CreateProjectLink5$inboundSchema` instead. */ - export const inboundSchema = CreateProjectLink5$inboundSchema; - /** @deprecated use `CreateProjectLink5$outboundSchema` instead. */ - export const outboundSchema = CreateProjectLink5$outboundSchema; - /** @deprecated use `CreateProjectLink5$Outbound` instead. */ - export type Outbound = CreateProjectLink5$Outbound; -} - export function createProjectLink5ToJSON( createProjectLink5: CreateProjectLink5, ): string { @@ -6965,7 +5786,6 @@ export function createProjectLink5ToJSON( CreateProjectLink5$outboundSchema.parse(createProjectLink5), ); } - export function createProjectLink5FromJSON( jsonString: string, ): SafeParseResult { @@ -6980,25 +5800,11 @@ export function createProjectLink5FromJSON( export const CreateProjectLinkProjectsResponse200Type$inboundSchema: z.ZodNativeEnum = z .nativeEnum(CreateProjectLinkProjectsResponse200Type); - /** @internal */ export const CreateProjectLinkProjectsResponse200Type$outboundSchema: z.ZodNativeEnum = CreateProjectLinkProjectsResponse200Type$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectLinkProjectsResponse200Type$ { - /** @deprecated use `CreateProjectLinkProjectsResponse200Type$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectLinkProjectsResponse200Type$inboundSchema; - /** @deprecated use `CreateProjectLinkProjectsResponse200Type$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectLinkProjectsResponse200Type$outboundSchema; -} - /** @internal */ export const CreateProjectLinkProjectsResponse200DeployHooks$inboundSchema: z.ZodType< @@ -7012,7 +5818,6 @@ export const CreateProjectLinkProjectsResponse200DeployHooks$inboundSchema: ref: z.string(), url: z.string(), }); - /** @internal */ export type CreateProjectLinkProjectsResponse200DeployHooks$Outbound = { createdAt?: number | undefined; @@ -7036,22 +5841,6 @@ export const CreateProjectLinkProjectsResponse200DeployHooks$outboundSchema: 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 CreateProjectLinkProjectsResponse200DeployHooks$ { - /** @deprecated use `CreateProjectLinkProjectsResponse200DeployHooks$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectLinkProjectsResponse200DeployHooks$inboundSchema; - /** @deprecated use `CreateProjectLinkProjectsResponse200DeployHooks$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectLinkProjectsResponse200DeployHooks$outboundSchema; - /** @deprecated use `CreateProjectLinkProjectsResponse200DeployHooks$Outbound` instead. */ - export type Outbound = - CreateProjectLinkProjectsResponse200DeployHooks$Outbound; -} - export function createProjectLinkProjectsResponse200DeployHooksToJSON( createProjectLinkProjectsResponse200DeployHooks: CreateProjectLinkProjectsResponse200DeployHooks, @@ -7062,7 +5851,6 @@ export function createProjectLinkProjectsResponse200DeployHooksToJSON( ), ); } - export function createProjectLinkProjectsResponse200DeployHooksFromJSON( jsonString: string, ): SafeParseResult< @@ -7101,7 +5889,6 @@ export const CreateProjectLink4$inboundSchema: z.ZodType< sourceless: z.boolean().optional(), productionBranch: z.string(), }); - /** @internal */ export type CreateProjectLink4$Outbound = { projectId: string; @@ -7144,19 +5931,6 @@ export const CreateProjectLink4$outboundSchema: z.ZodType< productionBranch: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectLink4$ { - /** @deprecated use `CreateProjectLink4$inboundSchema` instead. */ - export const inboundSchema = CreateProjectLink4$inboundSchema; - /** @deprecated use `CreateProjectLink4$outboundSchema` instead. */ - export const outboundSchema = CreateProjectLink4$outboundSchema; - /** @deprecated use `CreateProjectLink4$Outbound` instead. */ - export type Outbound = CreateProjectLink4$Outbound; -} - export function createProjectLink4ToJSON( createProjectLink4: CreateProjectLink4, ): string { @@ -7164,7 +5938,6 @@ export function createProjectLink4ToJSON( CreateProjectLink4$outboundSchema.parse(createProjectLink4), ); } - export function createProjectLink4FromJSON( jsonString: string, ): SafeParseResult { @@ -7180,25 +5953,11 @@ 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< @@ -7212,7 +5971,6 @@ export const CreateProjectLinkProjectsResponseDeployHooks$inboundSchema: ref: z.string(), url: z.string(), }); - /** @internal */ export type CreateProjectLinkProjectsResponseDeployHooks$Outbound = { createdAt?: number | undefined; @@ -7236,21 +5994,6 @@ export const CreateProjectLinkProjectsResponseDeployHooks$outboundSchema: 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, @@ -7261,7 +6004,6 @@ export function createProjectLinkProjectsResponseDeployHooksToJSON( ), ); } - export function createProjectLinkProjectsResponseDeployHooksFromJSON( jsonString: string, ): SafeParseResult< @@ -7299,7 +6041,6 @@ export const CreateProjectLink3$inboundSchema: z.ZodType< sourceless: z.boolean().optional(), productionBranch: z.string(), }); - /** @internal */ export type CreateProjectLink3$Outbound = { org: string; @@ -7338,19 +6079,6 @@ export const CreateProjectLink3$outboundSchema: z.ZodType< productionBranch: z.string(), }); -/** - * @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 { @@ -7358,7 +6086,6 @@ export function createProjectLink3ToJSON( CreateProjectLink3$outboundSchema.parse(createProjectLink3), ); } - export function createProjectLink3FromJSON( jsonString: string, ): SafeParseResult { @@ -7373,23 +6100,11 @@ export function createProjectLink3FromJSON( 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, @@ -7402,7 +6117,6 @@ export const CreateProjectLinkProjectsDeployHooks$inboundSchema: z.ZodType< ref: z.string(), url: z.string(), }); - /** @internal */ export type CreateProjectLinkProjectsDeployHooks$Outbound = { createdAt?: number | undefined; @@ -7425,21 +6139,6 @@ export const CreateProjectLinkProjectsDeployHooks$outboundSchema: z.ZodType< 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 { @@ -7449,7 +6148,6 @@ export function createProjectLinkProjectsDeployHooksToJSON( ), ); } - export function createProjectLinkProjectsDeployHooksFromJSON( jsonString: string, ): SafeParseResult { @@ -7481,7 +6179,6 @@ export const CreateProjectLink2$inboundSchema: z.ZodType< sourceless: z.boolean().optional(), productionBranch: z.string(), }); - /** @internal */ export type CreateProjectLink2$Outbound = { type: string; @@ -7518,19 +6215,6 @@ export const CreateProjectLink2$outboundSchema: z.ZodType< productionBranch: z.string(), }); -/** - * @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 { @@ -7538,7 +6222,6 @@ export function createProjectLink2ToJSON( CreateProjectLink2$outboundSchema.parse(createProjectLink2), ); } - export function createProjectLink2FromJSON( jsonString: string, ): SafeParseResult { @@ -7553,23 +6236,11 @@ export function createProjectLink2FromJSON( 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, @@ -7582,7 +6253,6 @@ export const CreateProjectLinkDeployHooks$inboundSchema: z.ZodType< ref: z.string(), url: z.string(), }); - /** @internal */ export type CreateProjectLinkDeployHooks$Outbound = { createdAt?: number | undefined; @@ -7605,19 +6275,6 @@ export const CreateProjectLinkDeployHooks$outboundSchema: z.ZodType< 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 { @@ -7627,7 +6284,6 @@ export function createProjectLinkDeployHooksToJSON( ), ); } - export function createProjectLinkDeployHooksFromJSON( jsonString: string, ): SafeParseResult { @@ -7658,7 +6314,6 @@ export const CreateProjectLink1$inboundSchema: z.ZodType< sourceless: z.boolean().optional(), productionBranch: z.string(), }); - /** @internal */ export type CreateProjectLink1$Outbound = { org: string; @@ -7695,19 +6350,6 @@ export const CreateProjectLink1$outboundSchema: z.ZodType< productionBranch: z.string(), }); -/** - * @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 { @@ -7715,7 +6357,6 @@ export function createProjectLink1ToJSON( CreateProjectLink1$outboundSchema.parse(createProjectLink1), ); } - export function createProjectLink1FromJSON( jsonString: string, ): SafeParseResult { @@ -7738,7 +6379,6 @@ export const CreateProjectLink$inboundSchema: z.ZodType< z.lazy(() => CreateProjectLink1$inboundSchema), z.lazy(() => CreateProjectLink2$inboundSchema), ]); - /** @internal */ export type CreateProjectLink$Outbound = | CreateProjectLink4$Outbound @@ -7760,19 +6400,6 @@ export const CreateProjectLink$outboundSchema: z.ZodType< 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 { @@ -7780,7 +6407,6 @@ export function createProjectLinkToJSON( CreateProjectLink$outboundSchema.parse(createProjectLink), ); } - export function createProjectLinkFromJSON( jsonString: string, ): SafeParseResult { @@ -7792,21 +6418,80 @@ export function createProjectLinkFromJSON( } /** @internal */ -export const CreateProjectMicrofrontends2$inboundSchema: z.ZodType< - CreateProjectMicrofrontends2, +export const CreateProjectMicrofrontends3$inboundSchema: z.ZodType< + CreateProjectMicrofrontends3, z.ZodTypeDef, unknown > = z.object({ updatedAt: z.number(), groupIds: z.array(z.any()), enabled: z.boolean(), + freeProjectForLegacyLimits: z.boolean().optional(), +}); +/** @internal */ +export type CreateProjectMicrofrontends3$Outbound = { + updatedAt: number; + groupIds: Array; + enabled: boolean; + freeProjectForLegacyLimits?: boolean | undefined; +}; + +/** @internal */ +export const CreateProjectMicrofrontends3$outboundSchema: z.ZodType< + CreateProjectMicrofrontends3$Outbound, + z.ZodTypeDef, + CreateProjectMicrofrontends3 +> = z.object({ + updatedAt: z.number(), + groupIds: z.array(z.any()), + enabled: z.boolean(), + freeProjectForLegacyLimits: z.boolean().optional(), }); +export function createProjectMicrofrontends3ToJSON( + createProjectMicrofrontends3: CreateProjectMicrofrontends3, +): string { + return JSON.stringify( + CreateProjectMicrofrontends3$outboundSchema.parse( + createProjectMicrofrontends3, + ), + ); +} +export function createProjectMicrofrontends3FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectMicrofrontends3$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectMicrofrontends3' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectMicrofrontends2$inboundSchema: z.ZodType< + CreateProjectMicrofrontends2, + z.ZodTypeDef, + unknown +> = z.object({ + isDefaultApp: z.boolean().optional(), + routeObservabilityToThisProject: z.boolean().optional(), + doNotRouteWithMicrofrontendsRouting: z.boolean().optional(), + updatedAt: z.number(), + groupIds: z.array(z.string()), + enabled: z.boolean(), + defaultRoute: z.string().optional(), + freeProjectForLegacyLimits: z.boolean().optional(), +}); /** @internal */ export type CreateProjectMicrofrontends2$Outbound = { + isDefaultApp?: boolean | undefined; + routeObservabilityToThisProject?: boolean | undefined; + doNotRouteWithMicrofrontendsRouting?: boolean | undefined; updatedAt: number; - groupIds: Array; + groupIds: Array; enabled: boolean; + defaultRoute?: string | undefined; + freeProjectForLegacyLimits?: boolean | undefined; }; /** @internal */ @@ -7815,24 +6500,16 @@ export const CreateProjectMicrofrontends2$outboundSchema: z.ZodType< z.ZodTypeDef, CreateProjectMicrofrontends2 > = z.object({ + isDefaultApp: z.boolean().optional(), + routeObservabilityToThisProject: z.boolean().optional(), + doNotRouteWithMicrofrontendsRouting: z.boolean().optional(), updatedAt: z.number(), - groupIds: z.array(z.any()), + groupIds: z.array(z.string()), enabled: z.boolean(), + defaultRoute: z.string().optional(), + freeProjectForLegacyLimits: 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 CreateProjectMicrofrontends2$ { - /** @deprecated use `CreateProjectMicrofrontends2$inboundSchema` instead. */ - export const inboundSchema = CreateProjectMicrofrontends2$inboundSchema; - /** @deprecated use `CreateProjectMicrofrontends2$outboundSchema` instead. */ - export const outboundSchema = CreateProjectMicrofrontends2$outboundSchema; - /** @deprecated use `CreateProjectMicrofrontends2$Outbound` instead. */ - export type Outbound = CreateProjectMicrofrontends2$Outbound; -} - export function createProjectMicrofrontends2ToJSON( createProjectMicrofrontends2: CreateProjectMicrofrontends2, ): string { @@ -7842,7 +6519,6 @@ export function createProjectMicrofrontends2ToJSON( ), ); } - export function createProjectMicrofrontends2FromJSON( jsonString: string, ): SafeParseResult { @@ -7859,22 +6535,21 @@ export const CreateProjectMicrofrontends1$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ + isDefaultApp: z.boolean(), updatedAt: z.number(), groupIds: z.array(z.string()), enabled: z.boolean(), - isDefaultApp: z.boolean().optional(), defaultRoute: z.string().optional(), - routeObservabilityToThisProject: z.boolean().optional(), + freeProjectForLegacyLimits: z.boolean().optional(), }); - /** @internal */ export type CreateProjectMicrofrontends1$Outbound = { + isDefaultApp: boolean; updatedAt: number; groupIds: Array; enabled: boolean; - isDefaultApp?: boolean | undefined; defaultRoute?: string | undefined; - routeObservabilityToThisProject?: boolean | undefined; + freeProjectForLegacyLimits?: boolean | undefined; }; /** @internal */ @@ -7883,27 +6558,14 @@ export const CreateProjectMicrofrontends1$outboundSchema: z.ZodType< z.ZodTypeDef, CreateProjectMicrofrontends1 > = z.object({ + isDefaultApp: z.boolean(), updatedAt: z.number(), groupIds: z.array(z.string()), enabled: z.boolean(), - isDefaultApp: z.boolean().optional(), defaultRoute: z.string().optional(), - routeObservabilityToThisProject: z.boolean().optional(), + freeProjectForLegacyLimits: 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 CreateProjectMicrofrontends1$ { - /** @deprecated use `CreateProjectMicrofrontends1$inboundSchema` instead. */ - export const inboundSchema = CreateProjectMicrofrontends1$inboundSchema; - /** @deprecated use `CreateProjectMicrofrontends1$outboundSchema` instead. */ - export const outboundSchema = CreateProjectMicrofrontends1$outboundSchema; - /** @deprecated use `CreateProjectMicrofrontends1$Outbound` instead. */ - export type Outbound = CreateProjectMicrofrontends1$Outbound; -} - export function createProjectMicrofrontends1ToJSON( createProjectMicrofrontends1: CreateProjectMicrofrontends1, ): string { @@ -7913,7 +6575,6 @@ export function createProjectMicrofrontends1ToJSON( ), ); } - export function createProjectMicrofrontends1FromJSON( jsonString: string, ): SafeParseResult { @@ -7932,12 +6593,13 @@ export const CreateProjectMicrofrontends$inboundSchema: z.ZodType< > = z.union([ z.lazy(() => CreateProjectMicrofrontends1$inboundSchema), z.lazy(() => CreateProjectMicrofrontends2$inboundSchema), + z.lazy(() => CreateProjectMicrofrontends3$inboundSchema), ]); - /** @internal */ export type CreateProjectMicrofrontends$Outbound = | CreateProjectMicrofrontends1$Outbound - | CreateProjectMicrofrontends2$Outbound; + | CreateProjectMicrofrontends2$Outbound + | CreateProjectMicrofrontends3$Outbound; /** @internal */ export const CreateProjectMicrofrontends$outboundSchema: z.ZodType< @@ -7947,21 +6609,9 @@ export const CreateProjectMicrofrontends$outboundSchema: z.ZodType< > = z.union([ z.lazy(() => CreateProjectMicrofrontends1$outboundSchema), z.lazy(() => CreateProjectMicrofrontends2$outboundSchema), + z.lazy(() => CreateProjectMicrofrontends3$outboundSchema), ]); -/** - * @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 { @@ -7971,7 +6621,6 @@ export function createProjectMicrofrontendsToJSON( ), ); } - export function createProjectMicrofrontendsFromJSON( jsonString: string, ): SafeParseResult { @@ -7986,23 +6635,11 @@ export function createProjectMicrofrontendsFromJSON( 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, @@ -8011,7 +6648,6 @@ export const CreateProjectPaths$inboundSchema: z.ZodType< > = z.object({ value: z.string(), }); - /** @internal */ export type CreateProjectPaths$Outbound = { value: string; @@ -8026,19 +6662,6 @@ export const CreateProjectPaths$outboundSchema: z.ZodType< 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 { @@ -8046,7 +6669,6 @@ export function createProjectPathsToJSON( CreateProjectPaths$outboundSchema.parse(createProjectPaths), ); } - export function createProjectPathsFromJSON( jsonString: string, ): SafeParseResult { @@ -8065,7 +6687,6 @@ export const CreateProjectOptionsAllowlist$inboundSchema: z.ZodType< > = z.object({ paths: z.array(z.lazy(() => CreateProjectPaths$inboundSchema)), }); - /** @internal */ export type CreateProjectOptionsAllowlist$Outbound = { paths: Array; @@ -8080,19 +6701,6 @@ export const CreateProjectOptionsAllowlist$outboundSchema: z.ZodType< 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 { @@ -8102,7 +6710,6 @@ export function createProjectOptionsAllowlistToJSON( ), ); } - export function createProjectOptionsAllowlistFromJSON( jsonString: string, ): SafeParseResult { @@ -8119,7 +6726,6 @@ export const CreateProjectPasswordProtection$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({}); - /** @internal */ export type CreateProjectPasswordProtection$Outbound = {}; @@ -8130,19 +6736,6 @@ export const CreateProjectPasswordProtection$outboundSchema: z.ZodType< 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 { @@ -8152,7 +6745,6 @@ export function createProjectPasswordProtectionToJSON( ), ); } - export function createProjectPasswordProtectionFromJSON( jsonString: string, ): SafeParseResult { @@ -8168,46 +6760,20 @@ 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 CreateProjectBuildMachineType$inboundSchema: z.ZodNativeEnum< typeof CreateProjectBuildMachineType > = z.nativeEnum(CreateProjectBuildMachineType); - /** @internal */ export const CreateProjectBuildMachineType$outboundSchema: z.ZodNativeEnum< typeof CreateProjectBuildMachineType > = CreateProjectBuildMachineType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectBuildMachineType$ { - /** @deprecated use `CreateProjectBuildMachineType$inboundSchema` instead. */ - export const inboundSchema = CreateProjectBuildMachineType$inboundSchema; - /** @deprecated use `CreateProjectBuildMachineType$outboundSchema` instead. */ - export const outboundSchema = CreateProjectBuildMachineType$outboundSchema; -} - /** @internal */ export const CreateProjectProjectsResourceConfig$inboundSchema: z.ZodType< CreateProjectProjectsResourceConfig, @@ -8224,7 +6790,6 @@ export const CreateProjectProjectsResourceConfig$inboundSchema: z.ZodType< buildMachineType: CreateProjectBuildMachineType$inboundSchema.optional(), isNSNBDisabled: z.boolean().optional(), }); - /** @internal */ export type CreateProjectProjectsResourceConfig$Outbound = { elasticConcurrencyEnabled?: boolean | undefined; @@ -8254,21 +6819,6 @@ export const CreateProjectProjectsResourceConfig$outboundSchema: z.ZodType< isNSNBDisabled: 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 CreateProjectProjectsResourceConfig$ { - /** @deprecated use `CreateProjectProjectsResourceConfig$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectProjectsResourceConfig$inboundSchema; - /** @deprecated use `CreateProjectProjectsResourceConfig$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectProjectsResourceConfig$outboundSchema; - /** @deprecated use `CreateProjectProjectsResourceConfig$Outbound` instead. */ - export type Outbound = CreateProjectProjectsResourceConfig$Outbound; -} - export function createProjectProjectsResourceConfigToJSON( createProjectProjectsResourceConfig: CreateProjectProjectsResourceConfig, ): string { @@ -8278,7 +6828,6 @@ export function createProjectProjectsResourceConfigToJSON( ), ); } - export function createProjectProjectsResourceConfigFromJSON( jsonString: string, ): SafeParseResult { @@ -8301,7 +6850,6 @@ export const CreateProjectRollbackDescription$inboundSchema: z.ZodType< description: z.string(), createdAt: z.number(), }); - /** @internal */ export type CreateProjectRollbackDescription$Outbound = { userId: string; @@ -8322,19 +6870,6 @@ export const CreateProjectRollbackDescription$outboundSchema: z.ZodType< 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 CreateProjectRollbackDescription$ { - /** @deprecated use `CreateProjectRollbackDescription$inboundSchema` instead. */ - export const inboundSchema = CreateProjectRollbackDescription$inboundSchema; - /** @deprecated use `CreateProjectRollbackDescription$outboundSchema` instead. */ - export const outboundSchema = CreateProjectRollbackDescription$outboundSchema; - /** @deprecated use `CreateProjectRollbackDescription$Outbound` instead. */ - export type Outbound = CreateProjectRollbackDescription$Outbound; -} - export function createProjectRollbackDescriptionToJSON( createProjectRollbackDescription: CreateProjectRollbackDescription, ): string { @@ -8344,7 +6879,6 @@ export function createProjectRollbackDescriptionToJSON( ), ); } - export function createProjectRollbackDescriptionFromJSON( jsonString: string, ): SafeParseResult { @@ -8366,7 +6900,6 @@ export const CreateProjectStages$inboundSchema: z.ZodType< duration: z.number().optional(), linearShift: z.boolean().optional(), }); - /** @internal */ export type CreateProjectStages$Outbound = { targetPercentage: number; @@ -8387,19 +6920,6 @@ export const CreateProjectStages$outboundSchema: z.ZodType< linearShift: 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 CreateProjectStages$ { - /** @deprecated use `CreateProjectStages$inboundSchema` instead. */ - export const inboundSchema = CreateProjectStages$inboundSchema; - /** @deprecated use `CreateProjectStages$outboundSchema` instead. */ - export const outboundSchema = CreateProjectStages$outboundSchema; - /** @deprecated use `CreateProjectStages$Outbound` instead. */ - export type Outbound = CreateProjectStages$Outbound; -} - export function createProjectStagesToJSON( createProjectStages: CreateProjectStages, ): string { @@ -8407,7 +6927,6 @@ export function createProjectStagesToJSON( CreateProjectStages$outboundSchema.parse(createProjectStages), ); } - export function createProjectStagesFromJSON( jsonString: string, ): SafeParseResult { @@ -8429,7 +6948,6 @@ export const CreateProjectRollingRelease$inboundSchema: z.ZodType< .optional(), canaryResponseHeader: z.boolean().optional(), }); - /** @internal */ export type CreateProjectRollingRelease$Outbound = { target: string; @@ -8449,19 +6967,6 @@ export const CreateProjectRollingRelease$outboundSchema: z.ZodType< canaryResponseHeader: 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 CreateProjectRollingRelease$ { - /** @deprecated use `CreateProjectRollingRelease$inboundSchema` instead. */ - export const inboundSchema = CreateProjectRollingRelease$inboundSchema; - /** @deprecated use `CreateProjectRollingRelease$outboundSchema` instead. */ - export const outboundSchema = CreateProjectRollingRelease$outboundSchema; - /** @deprecated use `CreateProjectRollingRelease$Outbound` instead. */ - export type Outbound = CreateProjectRollingRelease$Outbound; -} - export function createProjectRollingReleaseToJSON( createProjectRollingRelease: CreateProjectRollingRelease, ): string { @@ -8471,7 +6976,6 @@ export function createProjectRollingReleaseToJSON( ), ); } - export function createProjectRollingReleaseFromJSON( jsonString: string, ): SafeParseResult { @@ -8486,49 +6990,21 @@ export function createProjectRollingReleaseFromJSON( export const CreateProjectProjectsFunctionDefaultMemoryType$inboundSchema: z.ZodNativeEnum = z .nativeEnum(CreateProjectProjectsFunctionDefaultMemoryType); - /** @internal */ export const CreateProjectProjectsFunctionDefaultMemoryType$outboundSchema: z.ZodNativeEnum = CreateProjectProjectsFunctionDefaultMemoryType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectProjectsFunctionDefaultMemoryType$ { - /** @deprecated use `CreateProjectProjectsFunctionDefaultMemoryType$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectProjectsFunctionDefaultMemoryType$inboundSchema; - /** @deprecated use `CreateProjectProjectsFunctionDefaultMemoryType$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectProjectsFunctionDefaultMemoryType$outboundSchema; -} - /** @internal */ export const CreateProjectProjectsBuildMachineType$inboundSchema: z.ZodNativeEnum = z.nativeEnum( CreateProjectProjectsBuildMachineType, ); - /** @internal */ export const CreateProjectProjectsBuildMachineType$outboundSchema: z.ZodNativeEnum = CreateProjectProjectsBuildMachineType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectProjectsBuildMachineType$ { - /** @deprecated use `CreateProjectProjectsBuildMachineType$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectProjectsBuildMachineType$inboundSchema; - /** @deprecated use `CreateProjectProjectsBuildMachineType$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectProjectsBuildMachineType$outboundSchema; -} - /** @internal */ export const CreateProjectDefaultResourceConfig$inboundSchema: z.ZodType< CreateProjectDefaultResourceConfig, @@ -8546,7 +7022,6 @@ export const CreateProjectDefaultResourceConfig$inboundSchema: z.ZodType< .optional(), isNSNBDisabled: z.boolean().optional(), }); - /** @internal */ export type CreateProjectDefaultResourceConfig$Outbound = { elasticConcurrencyEnabled?: boolean | undefined; @@ -8577,20 +7052,6 @@ export const CreateProjectDefaultResourceConfig$outboundSchema: z.ZodType< isNSNBDisabled: 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 CreateProjectDefaultResourceConfig$ { - /** @deprecated use `CreateProjectDefaultResourceConfig$inboundSchema` instead. */ - export const inboundSchema = CreateProjectDefaultResourceConfig$inboundSchema; - /** @deprecated use `CreateProjectDefaultResourceConfig$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectDefaultResourceConfig$outboundSchema; - /** @deprecated use `CreateProjectDefaultResourceConfig$Outbound` instead. */ - export type Outbound = CreateProjectDefaultResourceConfig$Outbound; -} - export function createProjectDefaultResourceConfigToJSON( createProjectDefaultResourceConfig: CreateProjectDefaultResourceConfig, ): string { @@ -8600,7 +7061,6 @@ export function createProjectDefaultResourceConfigToJSON( ), ); } - export function createProjectDefaultResourceConfigFromJSON( jsonString: string, ): SafeParseResult { @@ -8612,29 +7072,60 @@ export function createProjectDefaultResourceConfigFromJSON( ); } +/** @internal */ +export const CreateProjectStaticIps$inboundSchema: z.ZodType< + CreateProjectStaticIps, + z.ZodTypeDef, + unknown +> = z.object({ + builds: z.boolean(), + enabled: z.boolean(), + regions: z.array(z.string()), +}); +/** @internal */ +export type CreateProjectStaticIps$Outbound = { + builds: boolean; + enabled: boolean; + regions: Array; +}; + +/** @internal */ +export const CreateProjectStaticIps$outboundSchema: z.ZodType< + CreateProjectStaticIps$Outbound, + z.ZodTypeDef, + CreateProjectStaticIps +> = z.object({ + builds: z.boolean(), + enabled: z.boolean(), + regions: z.array(z.string()), +}); + +export function createProjectStaticIpsToJSON( + createProjectStaticIps: CreateProjectStaticIps, +): string { + return JSON.stringify( + CreateProjectStaticIps$outboundSchema.parse(createProjectStaticIps), + ); +} +export function createProjectStaticIpsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectStaticIps$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectStaticIps' from JSON`, + ); +} + /** @internal */ export const CreateProjectProjectsDeploymentType$inboundSchema: z.ZodNativeEnum< typeof CreateProjectProjectsDeploymentType > = z.nativeEnum(CreateProjectProjectsDeploymentType); - /** @internal */ export const CreateProjectProjectsDeploymentType$outboundSchema: z.ZodNativeEnum = CreateProjectProjectsDeploymentType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectProjectsDeploymentType$ { - /** @deprecated use `CreateProjectProjectsDeploymentType$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectProjectsDeploymentType$inboundSchema; - /** @deprecated use `CreateProjectProjectsDeploymentType$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectProjectsDeploymentType$outboundSchema; -} - /** @internal */ export const CreateProjectProjectsSsoProtection$inboundSchema: z.ZodType< CreateProjectProjectsSsoProtection, @@ -8643,7 +7134,6 @@ export const CreateProjectProjectsSsoProtection$inboundSchema: z.ZodType< > = z.object({ deploymentType: CreateProjectProjectsDeploymentType$inboundSchema, }); - /** @internal */ export type CreateProjectProjectsSsoProtection$Outbound = { deploymentType: string; @@ -8658,20 +7148,6 @@ export const CreateProjectProjectsSsoProtection$outboundSchema: z.ZodType< deploymentType: CreateProjectProjectsDeploymentType$outboundSchema, }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectProjectsSsoProtection$ { - /** @deprecated use `CreateProjectProjectsSsoProtection$inboundSchema` instead. */ - export const inboundSchema = CreateProjectProjectsSsoProtection$inboundSchema; - /** @deprecated use `CreateProjectProjectsSsoProtection$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectProjectsSsoProtection$outboundSchema; - /** @deprecated use `CreateProjectProjectsSsoProtection$Outbound` instead. */ - export type Outbound = CreateProjectProjectsSsoProtection$Outbound; -} - export function createProjectProjectsSsoProtectionToJSON( createProjectProjectsSsoProtection: CreateProjectProjectsSsoProtection, ): string { @@ -8681,7 +7157,6 @@ export function createProjectProjectsSsoProtectionToJSON( ), ); } - export function createProjectProjectsSsoProtectionFromJSON( jsonString: string, ): SafeParseResult { @@ -8699,7 +7174,6 @@ export const CreateProjectProjectsAliasAssigned$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.union([z.number(), z.boolean()]); - /** @internal */ export type CreateProjectProjectsAliasAssigned$Outbound = number | boolean; @@ -8710,20 +7184,6 @@ export const CreateProjectProjectsAliasAssigned$outboundSchema: z.ZodType< 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 { @@ -8733,7 +7193,6 @@ export function createProjectProjectsAliasAssignedToJSON( ), ); } - export function createProjectProjectsAliasAssignedFromJSON( jsonString: string, ): SafeParseResult { @@ -8754,7 +7213,6 @@ export const CreateProjectProjectsAliasError$inboundSchema: z.ZodType< code: z.string(), message: z.string(), }); - /** @internal */ export type CreateProjectProjectsAliasError$Outbound = { code: string; @@ -8771,19 +7229,6 @@ export const CreateProjectProjectsAliasError$outboundSchema: z.ZodType< 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 { @@ -8793,7 +7238,6 @@ export function createProjectProjectsAliasErrorToJSON( ), ); } - export function createProjectProjectsAliasErrorFromJSON( jsonString: string, ): SafeParseResult { @@ -8811,7 +7255,6 @@ export const CreateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsT > = z.nativeEnum( CreateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType, ); - /** @internal */ export const CreateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$outboundSchema: z.ZodNativeEnum< @@ -8819,19 +7262,6 @@ export const CreateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsT > = 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 CreateProjectProjectsResponseBranchMatcher$inboundSchema: z.ZodType = @@ -8840,7 +7270,6 @@ export const CreateProjectProjectsResponseBranchMatcher$inboundSchema: CreateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$inboundSchema, pattern: z.string(), }); - /** @internal */ export type CreateProjectProjectsResponseBranchMatcher$Outbound = { type: string; @@ -8859,21 +7288,6 @@ export const CreateProjectProjectsResponseBranchMatcher$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 CreateProjectProjectsResponseBranchMatcher$ { - /** @deprecated use `CreateProjectProjectsResponseBranchMatcher$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectProjectsResponseBranchMatcher$inboundSchema; - /** @deprecated use `CreateProjectProjectsResponseBranchMatcher$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectProjectsResponseBranchMatcher$outboundSchema; - /** @deprecated use `CreateProjectProjectsResponseBranchMatcher$Outbound` instead. */ - export type Outbound = CreateProjectProjectsResponseBranchMatcher$Outbound; -} - export function createProjectProjectsResponseBranchMatcherToJSON( createProjectProjectsResponseBranchMatcher: CreateProjectProjectsResponseBranchMatcher, @@ -8884,7 +7298,6 @@ export function createProjectProjectsResponseBranchMatcherToJSON( ), ); } - export function createProjectProjectsResponseBranchMatcherFromJSON( jsonString: string, ): SafeParseResult< @@ -8911,7 +7324,6 @@ export const CreateProjectProjectsBuilds$inboundSchema: z.ZodType< src: z.string().optional(), dest: z.string().optional(), }); - /** @internal */ export type CreateProjectProjectsBuilds$Outbound = { use: string; @@ -8930,19 +7342,6 @@ export const CreateProjectProjectsBuilds$outboundSchema: z.ZodType< 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 { @@ -8952,7 +7351,6 @@ export function createProjectProjectsBuildsToJSON( ), ); } - export function createProjectProjectsBuildsFromJSON( jsonString: string, ): SafeParseResult { @@ -8968,46 +7366,20 @@ 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, @@ -9020,7 +7392,6 @@ export const CreateProjectProjectsCreator$inboundSchema: z.ZodType< uid: z.string(), username: z.string(), }); - /** @internal */ export type CreateProjectProjectsCreator$Outbound = { email: string; @@ -9043,19 +7414,6 @@ export const CreateProjectProjectsCreator$outboundSchema: z.ZodType< 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 { @@ -9065,7 +7423,6 @@ export function createProjectProjectsCreatorToJSON( ), ); } - export function createProjectProjectsCreatorFromJSON( jsonString: string, ): SafeParseResult { @@ -9091,13 +7448,13 @@ export const CreateProjectProjectsOidcTokenClaims$inboundSchema: z.ZodType< project: z.string(), project_id: z.string(), environment: z.string(), + plan: z.string(), }).transform((v) => { return remap$(v, { "owner_id": "ownerId", "project_id": "projectId", }); }); - /** @internal */ export type CreateProjectProjectsOidcTokenClaims$Outbound = { iss: string; @@ -9109,6 +7466,7 @@ export type CreateProjectProjectsOidcTokenClaims$Outbound = { project: string; project_id: string; environment: string; + plan: string; }; /** @internal */ @@ -9126,6 +7484,7 @@ export const CreateProjectProjectsOidcTokenClaims$outboundSchema: z.ZodType< project: z.string(), projectId: z.string(), environment: z.string(), + plan: z.string(), }).transform((v) => { return remap$(v, { ownerId: "owner_id", @@ -9133,21 +7492,6 @@ export const CreateProjectProjectsOidcTokenClaims$outboundSchema: z.ZodType< }); }); -/** - * @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 { @@ -9157,7 +7501,6 @@ export function createProjectProjectsOidcTokenClaimsToJSON( ), ); } - export function createProjectProjectsOidcTokenClaimsFromJSON( jsonString: string, ): SafeParseResult { @@ -9173,66 +7516,29 @@ export function createProjectProjectsOidcTokenClaimsFromJSON( 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 CreateProjectProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema: z.ZodNativeEnum< @@ -9240,7 +7546,6 @@ export const CreateProjectProjectsResponse200ApplicationJSONResponseBodyType$inb > = z.nativeEnum( CreateProjectProjectsResponse200ApplicationJSONResponseBodyType, ); - /** @internal */ export const CreateProjectProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema: z.ZodNativeEnum< @@ -9248,19 +7553,6 @@ export const CreateProjectProjectsResponse200ApplicationJSONResponseBodyType$out > = 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 CreateProjectTargets$inboundSchema: z.ZodType< CreateProjectTargets, @@ -9313,7 +7605,6 @@ export const CreateProjectTargets$inboundSchema: z.ZodType< userId: z.string(), withCache: z.boolean().optional(), }); - /** @internal */ export type CreateProjectTargets$Outbound = { id: string; @@ -9411,19 +7702,6 @@ export const CreateProjectTargets$outboundSchema: z.ZodType< 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 { @@ -9431,7 +7709,6 @@ export function createProjectTargetsToJSON( CreateProjectTargets$outboundSchema.parse(createProjectTargets), ); } - export function createProjectTargetsFromJSON( jsonString: string, ): SafeParseResult { @@ -9454,9 +7731,17 @@ export const CreateProjectPermissions$inboundSchema: z.ZodType< userSudo: z.array(ACLAction$inboundSchema).optional(), webAuthn: z.array(ACLAction$inboundSchema).optional(), accessGroup: z.array(ACLAction$inboundSchema).optional(), + agent: z.array(ACLAction$inboundSchema).optional(), + alerts: z.array(ACLAction$inboundSchema).optional(), aliasGlobal: z.array(ACLAction$inboundSchema).optional(), analyticsSampling: z.array(ACLAction$inboundSchema).optional(), analyticsUsage: z.array(ACLAction$inboundSchema).optional(), + apiKey: z.array(ACLAction$inboundSchema).optional(), + apiKeyAiGateway: z.array(ACLAction$inboundSchema).optional(), + apiKeyOwnedBySelf: z.array(ACLAction$inboundSchema).optional(), + oauth2Application: z.array(ACLAction$inboundSchema).optional(), + vercelAppInstallation: z.array(ACLAction$inboundSchema).optional(), + vercelAppInstallationRequest: z.array(ACLAction$inboundSchema).optional(), auditLog: z.array(ACLAction$inboundSchema).optional(), billingAddress: z.array(ACLAction$inboundSchema).optional(), billingInformation: z.array(ACLAction$inboundSchema).optional(), @@ -9468,6 +7753,7 @@ export const CreateProjectPermissions$inboundSchema: z.ZodType< billingRefund: z.array(ACLAction$inboundSchema).optional(), billingTaxId: z.array(ACLAction$inboundSchema).optional(), blob: z.array(ACLAction$inboundSchema).optional(), + blobStoreTokenSet: z.array(ACLAction$inboundSchema).optional(), budget: z.array(ACLAction$inboundSchema).optional(), cacheArtifact: z.array(ACLAction$inboundSchema).optional(), cacheArtifactUsageEvent: z.array(ACLAction$inboundSchema).optional(), @@ -9475,6 +7761,7 @@ export const CreateProjectPermissions$inboundSchema: z.ZodType< concurrentBuilds: z.array(ACLAction$inboundSchema).optional(), connect: z.array(ACLAction$inboundSchema).optional(), connectConfiguration: z.array(ACLAction$inboundSchema).optional(), + dataCacheBillingSettings: z.array(ACLAction$inboundSchema).optional(), defaultDeploymentProtection: z.array(ACLAction$inboundSchema).optional(), domain: z.array(ACLAction$inboundSchema).optional(), domainAcceptDelegation: z.array(ACLAction$inboundSchema).optional(), @@ -9485,43 +7772,50 @@ export const CreateProjectPermissions$inboundSchema: z.ZodType< domainPurchase: z.array(ACLAction$inboundSchema).optional(), domainRecord: z.array(ACLAction$inboundSchema).optional(), domainTransferIn: z.array(ACLAction$inboundSchema).optional(), + drain: 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(), + endpointVerification: 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(), flagsExplorerSubscription: z.array(ACLAction$inboundSchema).optional(), gitRepository: z.array(ACLAction$inboundSchema).optional(), - ipBlocking: z.array(ACLAction$inboundSchema).optional(), imageOptimizationNewPrice: 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(), - integrationSSOSession: z.array(ACLAction$inboundSchema).optional(), - integrationResource: z.array(ACLAction$inboundSchema).optional(), + integrationConfigurationTransfer: z.array(ACLAction$inboundSchema).optional(), + integrationDeploymentAction: z.array(ACLAction$inboundSchema).optional(), integrationEvent: z.array(ACLAction$inboundSchema).optional(), + integrationLog: z.array(ACLAction$inboundSchema).optional(), + integrationResource: z.array(ACLAction$inboundSchema).optional(), + integrationResourceReplCommand: 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(), - marketplaceSettings: z.array(ACLAction$inboundSchema).optional(), - marketplaceExperimentationItem: z.array(ACLAction$inboundSchema).optional(), - marketplaceExperimentationEdgeConfigData: z.array(ACLAction$inboundSchema) + integrationSSOSession: z.array(ACLAction$inboundSchema).optional(), + integrationStoreTokenSet: z.array(ACLAction$inboundSchema).optional(), + integrationVercelConfigurationOverride: z.array(ACLAction$inboundSchema) .optional(), + integrationPullRequest: z.array(ACLAction$inboundSchema).optional(), + ipBlocking: z.array(ACLAction$inboundSchema).optional(), jobGlobal: z.array(ACLAction$inboundSchema).optional(), - drain: z.array(ACLAction$inboundSchema).optional(), logDrain: z.array(ACLAction$inboundSchema).optional(), + marketplaceBillingData: z.array(ACLAction$inboundSchema).optional(), + marketplaceExperimentationEdgeConfigData: z.array(ACLAction$inboundSchema) + .optional(), + marketplaceExperimentationItem: z.array(ACLAction$inboundSchema).optional(), + marketplaceInstallationMember: z.array(ACLAction$inboundSchema).optional(), + marketplaceInvoice: z.array(ACLAction$inboundSchema).optional(), + marketplaceSettings: 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(), + monitoringChart: z.array(ACLAction$inboundSchema).optional(), + monitoringQuery: z.array(ACLAction$inboundSchema).optional(), + monitoringSettings: z.array(ACLAction$inboundSchema).optional(), + notificationCustomerBudget: z.array(ACLAction$inboundSchema).optional(), notificationDeploymentFailed: z.array(ACLAction$inboundSchema).optional(), notificationDomainConfiguration: z.array(ACLAction$inboundSchema).optional(), notificationDomainExpire: z.array(ACLAction$inboundSchema).optional(), @@ -9532,42 +7826,39 @@ export const CreateProjectPermissions$inboundSchema: z.ZodType< notificationDomainUnverified: z.array(ACLAction$inboundSchema).optional(), NotificationMonitoringAlert: z.array(ACLAction$inboundSchema).optional(), notificationPaymentFailed: z.array(ACLAction$inboundSchema).optional(), - notificationUsageAlert: z.array(ACLAction$inboundSchema).optional(), notificationPreferences: z.array(ACLAction$inboundSchema).optional(), - notificationCustomerBudget: z.array(ACLAction$inboundSchema).optional(), notificationStatementOfReasons: z.array(ACLAction$inboundSchema).optional(), + notificationUsageAlert: z.array(ACLAction$inboundSchema).optional(), observabilityConfiguration: z.array(ACLAction$inboundSchema).optional(), - alerts: z.array(ACLAction$inboundSchema).optional(), - observabilityNotebook: z.array(ACLAction$inboundSchema).optional(), observabilityFunnel: z.array(ACLAction$inboundSchema).optional(), + observabilityNotebook: z.array(ACLAction$inboundSchema).optional(), openTelemetryEndpoint: z.array(ACLAction$inboundSchema).optional(), - vercelAppInstallation: z.array(ACLAction$inboundSchema).optional(), - vercelAppInstallationRequest: z.array(ACLAction$inboundSchema).optional(), + ownEvent: z.array(ACLAction$inboundSchema).optional(), + organizationDomain: z.array(ACLAction$inboundSchema).optional(), + passwordProtectionInvoiceItem: z.array(ACLAction$inboundSchema).optional(), paymentMethod: z.array(ACLAction$inboundSchema).optional(), permissions: z.array(ACLAction$inboundSchema).optional(), postgres: z.array(ACLAction$inboundSchema).optional(), + postgresStoreTokenSet: z.array(ACLAction$inboundSchema).optional(), previewDeploymentSuffix: z.array(ACLAction$inboundSchema).optional(), + projectTransferIn: 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(), + redisStoreTokenSet: z.array(ACLAction$inboundSchema).optional(), remoteCaching: z.array(ACLAction$inboundSchema).optional(), + repository: 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(), + sensitiveEnvironmentVariablePolicy: 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(), 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(), @@ -9582,26 +7873,15 @@ export const CreateProjectPermissions$inboundSchema: z.ZodType< token: z.array(ACLAction$inboundSchema).optional(), usage: z.array(ACLAction$inboundSchema).optional(), usageCycle: z.array(ACLAction$inboundSchema).optional(), + vercelRun: z.array(ACLAction$inboundSchema).optional(), + vercelRunExec: z.array(ACLAction$inboundSchema).optional(), vpcPeeringConnection: z.array(ACLAction$inboundSchema).optional(), webAnalyticsPlan: 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(), - vercelRun: z.array(ACLAction$inboundSchema).optional(), - vercelRunExec: z.array(ACLAction$inboundSchema).optional(), - apiKey: z.array(ACLAction$inboundSchema).optional(), - apiKeyOwnedBySelf: z.array(ACLAction$inboundSchema).optional(), - apiKeyAiGateway: z.array(ACLAction$inboundSchema).optional(), aliasProject: z.array(ACLAction$inboundSchema).optional(), aliasProtectionBypass: z.array(ACLAction$inboundSchema).optional(), buildMachine: 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(), @@ -9618,55 +7898,56 @@ export const CreateProjectPermissions$inboundSchema: z.ZodType< deploymentRollback: z.array(ACLAction$inboundSchema).optional(), edgeCacheNamespace: z.array(ACLAction$inboundSchema).optional(), environments: z.array(ACLAction$inboundSchema).optional(), + job: 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(), onDemandBuild: z.array(ACLAction$inboundSchema).optional(), onDemandConcurrency: z.array(ACLAction$inboundSchema).optional(), + optionsAllowlist: z.array(ACLAction$inboundSchema).optional(), + passwordProtection: z.array(ACLAction$inboundSchema).optional(), + productionAliasProtectionBypass: 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(), + projectAnalyticsUsage: z.array(ACLAction$inboundSchema).optional(), projectCheck: z.array(ACLAction$inboundSchema).optional(), projectCheckRun: z.array(ACLAction$inboundSchema).optional(), + projectDeploymentExpiration: 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(), + projectDomainMove: 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(), + projectFlagsProduction: z.array(ACLAction$inboundSchema).optional(), + projectFromV0: 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(), + projectOIDCToken: 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(), + projectRollingRelease: z.array(ACLAction$inboundSchema).optional(), projectSupportCase: z.array(ACLAction$inboundSchema).optional(), projectSupportCaseComment: z.array(ACLAction$inboundSchema).optional(), - projectDeploymentExpiration: z.array(ACLAction$inboundSchema).optional(), - projectRollingRelease: z.array(ACLAction$inboundSchema).optional(), projectTier: z.array(ACLAction$inboundSchema).optional(), - projectOIDCToken: z.array(ACLAction$inboundSchema).optional(), + projectTransfer: z.array(ACLAction$inboundSchema).optional(), + projectTransferOut: z.array(ACLAction$inboundSchema).optional(), + projectUsage: z.array(ACLAction$inboundSchema).optional(), seawallConfig: z.array(ACLAction$inboundSchema).optional(), + sharedEnvVarConnection: z.array(ACLAction$inboundSchema).optional(), skewProtection: z.array(ACLAction$inboundSchema).optional(), analytics: z.array(ACLAction$inboundSchema).optional(), trustedIps: z.array(ACLAction$inboundSchema).optional(), v0Chat: 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", @@ -9674,7 +7955,6 @@ export const CreateProjectPermissions$inboundSchema: z.ZodType< "webhook-event": "webhookEvent", }); }); - /** @internal */ export type CreateProjectPermissions$Outbound = { oauth2Connection?: Array | undefined; @@ -9683,9 +7963,17 @@ export type CreateProjectPermissions$Outbound = { userSudo?: Array | undefined; webAuthn?: Array | undefined; accessGroup?: Array | undefined; + agent?: Array | undefined; + alerts?: Array | undefined; aliasGlobal?: Array | undefined; analyticsSampling?: Array | undefined; analyticsUsage?: Array | undefined; + apiKey?: Array | undefined; + apiKeyAiGateway?: Array | undefined; + apiKeyOwnedBySelf?: Array | undefined; + oauth2Application?: Array | undefined; + vercelAppInstallation?: Array | undefined; + vercelAppInstallationRequest?: Array | undefined; auditLog?: Array | undefined; billingAddress?: Array | undefined; billingInformation?: Array | undefined; @@ -9697,6 +7985,7 @@ export type CreateProjectPermissions$Outbound = { billingRefund?: Array | undefined; billingTaxId?: Array | undefined; blob?: Array | undefined; + blobStoreTokenSet?: Array | undefined; budget?: Array | undefined; cacheArtifact?: Array | undefined; cacheArtifactUsageEvent?: Array | undefined; @@ -9704,6 +7993,7 @@ export type CreateProjectPermissions$Outbound = { concurrentBuilds?: Array | undefined; connect?: Array | undefined; connectConfiguration?: Array | undefined; + dataCacheBillingSettings?: Array | undefined; defaultDeploymentProtection?: Array | undefined; domain?: Array | undefined; domainAcceptDelegation?: Array | undefined; @@ -9714,40 +8004,48 @@ export type CreateProjectPermissions$Outbound = { domainPurchase?: Array | undefined; domainRecord?: Array | undefined; domainTransferIn?: Array | undefined; + drain?: Array | undefined; + edgeConfig?: Array | undefined; + edgeConfigItem?: Array | undefined; + edgeConfigSchema?: Array | undefined; + edgeConfigToken?: Array | undefined; + endpointVerification?: Array | undefined; event?: Array | undefined; - ownEvent?: Array | undefined; - sensitiveEnvironmentVariablePolicy?: Array | undefined; fileUpload?: Array | undefined; flagsExplorerSubscription?: Array | undefined; gitRepository?: Array | undefined; - ipBlocking?: Array | undefined; imageOptimizationNewPrice?: Array | undefined; integration?: Array | undefined; integrationAccount?: Array | undefined; integrationConfiguration?: Array | undefined; - integrationConfigurationTransfer?: Array | undefined; integrationConfigurationProjects?: Array | undefined; - integrationVercelConfigurationOverride?: Array | undefined; integrationConfigurationRole?: Array | undefined; - integrationSSOSession?: Array | undefined; - integrationResource?: Array | undefined; + integrationConfigurationTransfer?: Array | undefined; + integrationDeploymentAction?: Array | undefined; integrationEvent?: Array | undefined; + integrationLog?: Array | undefined; + integrationResource?: Array | undefined; + integrationResourceReplCommand?: Array | undefined; integrationResourceSecrets?: Array | undefined; - integrationDeploymentAction?: Array | undefined; - marketplaceInstallationMember?: Array | undefined; + integrationSSOSession?: Array | undefined; + integrationStoreTokenSet?: Array | undefined; + integrationVercelConfigurationOverride?: Array | undefined; + integrationPullRequest?: Array | undefined; + ipBlocking?: Array | undefined; + jobGlobal?: Array | undefined; + logDrain?: Array | undefined; marketplaceBillingData?: Array | undefined; + marketplaceExperimentationEdgeConfigData?: Array | undefined; + marketplaceExperimentationItem?: Array | undefined; + marketplaceInstallationMember?: Array | undefined; marketplaceInvoice?: Array | undefined; marketplaceSettings?: Array | undefined; - marketplaceExperimentationItem?: Array | undefined; - marketplaceExperimentationEdgeConfigData?: Array | undefined; - jobGlobal?: Array | undefined; - drain?: Array | undefined; - logDrain?: Array | undefined; Monitoring?: Array | undefined; - monitoringSettings?: Array | undefined; - monitoringQuery?: Array | undefined; - monitoringChart?: Array | undefined; monitoringAlert?: Array | undefined; + monitoringChart?: Array | undefined; + monitoringQuery?: Array | undefined; + monitoringSettings?: Array | undefined; + notificationCustomerBudget?: Array | undefined; notificationDeploymentFailed?: Array | undefined; notificationDomainConfiguration?: Array | undefined; notificationDomainExpire?: Array | undefined; @@ -9758,42 +8056,38 @@ export type CreateProjectPermissions$Outbound = { notificationDomainUnverified?: Array | undefined; NotificationMonitoringAlert?: Array | undefined; notificationPaymentFailed?: Array | undefined; - notificationUsageAlert?: Array | undefined; notificationPreferences?: Array | undefined; - notificationCustomerBudget?: Array | undefined; notificationStatementOfReasons?: Array | undefined; + notificationUsageAlert?: Array | undefined; observabilityConfiguration?: Array | undefined; - alerts?: Array | undefined; - observabilityNotebook?: Array | undefined; observabilityFunnel?: Array | undefined; + observabilityNotebook?: Array | undefined; openTelemetryEndpoint?: Array | undefined; - vercelAppInstallation?: Array | undefined; - vercelAppInstallationRequest?: Array | undefined; + ownEvent?: Array | undefined; + organizationDomain?: Array | undefined; + passwordProtectionInvoiceItem?: Array | undefined; paymentMethod?: Array | undefined; permissions?: Array | undefined; postgres?: Array | undefined; + postgresStoreTokenSet?: Array | undefined; previewDeploymentSuffix?: Array | undefined; + projectTransferIn?: 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; + redisStoreTokenSet?: Array | undefined; remoteCaching?: Array | undefined; + repository?: Array | undefined; samlConfig?: Array | undefined; secret?: Array | undefined; - redisStoreTokenSet?: Array | undefined; - blobStoreTokenSet?: Array | undefined; - postgresStoreTokenSet?: Array | undefined; - integrationStoreTokenSet?: Array | undefined; - integrationResourceReplCommand?: Array | undefined; + sensitiveEnvironmentVariablePolicy?: Array | undefined; + sharedEnvVars?: Array | undefined; + sharedEnvVarsProduction?: Array | undefined; + space?: Array | undefined; + spaceRun?: Array | undefined; storeTransfer?: Array | undefined; supportCase?: Array | undefined; supportCaseComment?: Array | undefined; - dataCacheBillingSettings?: Array | undefined; team?: Array | undefined; teamAccessRequest?: Array | undefined; teamFellowMembership?: Array | undefined; @@ -9808,26 +8102,15 @@ export type CreateProjectPermissions$Outbound = { token?: Array | undefined; usage?: Array | undefined; usageCycle?: Array | undefined; + vercelRun?: Array | undefined; + vercelRunExec?: Array | undefined; vpcPeeringConnection?: Array | undefined; webAnalyticsPlan?: 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; - vercelRun?: Array | undefined; - vercelRunExec?: Array | undefined; - apiKey?: Array | undefined; - apiKeyOwnedBySelf?: Array | undefined; - apiKeyAiGateway?: Array | undefined; aliasProject?: Array | undefined; aliasProtectionBypass?: Array | undefined; buildMachine?: Array | undefined; - productionAliasProtectionBypass?: Array | undefined; connectConfigurationLink?: Array | undefined; dataCacheNamespace?: Array | undefined; deployment?: Array | undefined; @@ -9843,54 +8126,55 @@ export type CreateProjectPermissions$Outbound = { deploymentRollback?: Array | undefined; edgeCacheNamespace?: Array | undefined; environments?: Array | undefined; + job?: Array | undefined; logs?: Array | undefined; logsPreset?: Array | undefined; - passwordProtection?: Array | undefined; - optionsAllowlist?: Array | undefined; - job?: Array | undefined; observabilityData?: Array | undefined; onDemandBuild?: Array | undefined; onDemandConcurrency?: Array | undefined; + optionsAllowlist?: Array | undefined; + passwordProtection?: Array | undefined; + productionAliasProtectionBypass?: Array | undefined; project?: Array | undefined; - projectFromV0?: Array | undefined; projectAccessGroup?: Array | undefined; projectAnalyticsSampling?: Array | undefined; + projectAnalyticsUsage?: Array | undefined; projectCheck?: Array | undefined; projectCheckRun?: Array | undefined; + projectDeploymentExpiration?: Array | undefined; projectDeploymentHook?: Array | undefined; projectDomain?: Array | undefined; - projectDomainMove?: Array | undefined; projectDomainCheckConfig?: Array | undefined; + projectDomainMove?: Array | undefined; projectEnvVars?: Array | undefined; projectEnvVarsProduction?: Array | undefined; projectEnvVarsUnownedByIntegration?: Array | undefined; projectFlags?: Array | undefined; + projectFlagsProduction?: Array | undefined; + projectFromV0?: Array | undefined; projectId?: Array | undefined; projectIntegrationConfiguration?: Array | undefined; projectLink?: Array | undefined; projectMember?: Array | undefined; projectMonitoring?: Array | undefined; + projectOIDCToken?: Array | undefined; projectPermissions?: Array | undefined; projectProductionBranch?: Array | undefined; - projectTransfer?: Array | undefined; - projectTransferOut?: Array | undefined; projectProtectionBypass?: Array | undefined; - projectUsage?: Array | undefined; - projectAnalyticsUsage?: Array | undefined; + projectRollingRelease?: Array | undefined; projectSupportCase?: Array | undefined; projectSupportCaseComment?: Array | undefined; - projectDeploymentExpiration?: Array | undefined; - projectRollingRelease?: Array | undefined; projectTier?: Array | undefined; - projectOIDCToken?: Array | undefined; + projectTransfer?: Array | undefined; + projectTransferOut?: Array | undefined; + projectUsage?: Array | undefined; seawallConfig?: Array | undefined; + sharedEnvVarConnection?: Array | undefined; skewProtection?: Array | undefined; analytics?: Array | undefined; trustedIps?: Array | undefined; v0Chat?: Array | undefined; webAnalytics?: Array | undefined; - sharedEnvVarConnection?: Array | undefined; - sonar?: Array | undefined; }; /** @internal */ @@ -9905,9 +8189,17 @@ export const CreateProjectPermissions$outboundSchema: z.ZodType< userSudo: z.array(ACLAction$outboundSchema).optional(), webAuthn: z.array(ACLAction$outboundSchema).optional(), accessGroup: z.array(ACLAction$outboundSchema).optional(), + agent: z.array(ACLAction$outboundSchema).optional(), + alerts: z.array(ACLAction$outboundSchema).optional(), aliasGlobal: z.array(ACLAction$outboundSchema).optional(), analyticsSampling: z.array(ACLAction$outboundSchema).optional(), analyticsUsage: z.array(ACLAction$outboundSchema).optional(), + apiKey: z.array(ACLAction$outboundSchema).optional(), + apiKeyAiGateway: z.array(ACLAction$outboundSchema).optional(), + apiKeyOwnedBySelf: z.array(ACLAction$outboundSchema).optional(), + oauth2Application: z.array(ACLAction$outboundSchema).optional(), + vercelAppInstallation: z.array(ACLAction$outboundSchema).optional(), + vercelAppInstallationRequest: z.array(ACLAction$outboundSchema).optional(), auditLog: z.array(ACLAction$outboundSchema).optional(), billingAddress: z.array(ACLAction$outboundSchema).optional(), billingInformation: z.array(ACLAction$outboundSchema).optional(), @@ -9919,6 +8211,7 @@ export const CreateProjectPermissions$outboundSchema: z.ZodType< billingRefund: z.array(ACLAction$outboundSchema).optional(), billingTaxId: z.array(ACLAction$outboundSchema).optional(), blob: z.array(ACLAction$outboundSchema).optional(), + blobStoreTokenSet: z.array(ACLAction$outboundSchema).optional(), budget: z.array(ACLAction$outboundSchema).optional(), cacheArtifact: z.array(ACLAction$outboundSchema).optional(), cacheArtifactUsageEvent: z.array(ACLAction$outboundSchema).optional(), @@ -9926,6 +8219,7 @@ export const CreateProjectPermissions$outboundSchema: z.ZodType< concurrentBuilds: z.array(ACLAction$outboundSchema).optional(), connect: z.array(ACLAction$outboundSchema).optional(), connectConfiguration: z.array(ACLAction$outboundSchema).optional(), + dataCacheBillingSettings: z.array(ACLAction$outboundSchema).optional(), defaultDeploymentProtection: z.array(ACLAction$outboundSchema).optional(), domain: z.array(ACLAction$outboundSchema).optional(), domainAcceptDelegation: z.array(ACLAction$outboundSchema).optional(), @@ -9936,45 +8230,52 @@ export const CreateProjectPermissions$outboundSchema: z.ZodType< domainPurchase: z.array(ACLAction$outboundSchema).optional(), domainRecord: z.array(ACLAction$outboundSchema).optional(), domainTransferIn: z.array(ACLAction$outboundSchema).optional(), + drain: 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(), + endpointVerification: 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(), flagsExplorerSubscription: z.array(ACLAction$outboundSchema).optional(), gitRepository: z.array(ACLAction$outboundSchema).optional(), - ipBlocking: z.array(ACLAction$outboundSchema).optional(), imageOptimizationNewPrice: 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) + integrationConfigurationRole: z.array(ACLAction$outboundSchema).optional(), + integrationConfigurationTransfer: z.array(ACLAction$outboundSchema) .optional(), - integrationConfigurationRole: z.array(ACLAction$outboundSchema).optional(), - integrationSSOSession: z.array(ACLAction$outboundSchema).optional(), - integrationResource: z.array(ACLAction$outboundSchema).optional(), + integrationDeploymentAction: z.array(ACLAction$outboundSchema).optional(), integrationEvent: z.array(ACLAction$outboundSchema).optional(), + integrationLog: z.array(ACLAction$outboundSchema).optional(), + integrationResource: z.array(ACLAction$outboundSchema).optional(), + integrationResourceReplCommand: 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(), - marketplaceSettings: z.array(ACLAction$outboundSchema).optional(), - marketplaceExperimentationItem: z.array(ACLAction$outboundSchema).optional(), - marketplaceExperimentationEdgeConfigData: z.array(ACLAction$outboundSchema) + integrationSSOSession: z.array(ACLAction$outboundSchema).optional(), + integrationStoreTokenSet: z.array(ACLAction$outboundSchema).optional(), + integrationVercelConfigurationOverride: z.array(ACLAction$outboundSchema) .optional(), + integrationPullRequest: z.array(ACLAction$outboundSchema).optional(), + ipBlocking: z.array(ACLAction$outboundSchema).optional(), jobGlobal: z.array(ACLAction$outboundSchema).optional(), - drain: z.array(ACLAction$outboundSchema).optional(), logDrain: z.array(ACLAction$outboundSchema).optional(), + marketplaceBillingData: z.array(ACLAction$outboundSchema).optional(), + marketplaceExperimentationEdgeConfigData: z.array(ACLAction$outboundSchema) + .optional(), + marketplaceExperimentationItem: z.array(ACLAction$outboundSchema).optional(), + marketplaceInstallationMember: z.array(ACLAction$outboundSchema).optional(), + marketplaceInvoice: z.array(ACLAction$outboundSchema).optional(), + marketplaceSettings: 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(), + monitoringChart: z.array(ACLAction$outboundSchema).optional(), + monitoringQuery: z.array(ACLAction$outboundSchema).optional(), + monitoringSettings: z.array(ACLAction$outboundSchema).optional(), + notificationCustomerBudget: z.array(ACLAction$outboundSchema).optional(), notificationDeploymentFailed: z.array(ACLAction$outboundSchema).optional(), notificationDomainConfiguration: z.array(ACLAction$outboundSchema).optional(), notificationDomainExpire: z.array(ACLAction$outboundSchema).optional(), @@ -9985,42 +8286,39 @@ export const CreateProjectPermissions$outboundSchema: z.ZodType< notificationDomainUnverified: z.array(ACLAction$outboundSchema).optional(), notificationMonitoringAlert: z.array(ACLAction$outboundSchema).optional(), notificationPaymentFailed: z.array(ACLAction$outboundSchema).optional(), - notificationUsageAlert: z.array(ACLAction$outboundSchema).optional(), notificationPreferences: z.array(ACLAction$outboundSchema).optional(), - notificationCustomerBudget: z.array(ACLAction$outboundSchema).optional(), notificationStatementOfReasons: z.array(ACLAction$outboundSchema).optional(), + notificationUsageAlert: z.array(ACLAction$outboundSchema).optional(), observabilityConfiguration: z.array(ACLAction$outboundSchema).optional(), - alerts: z.array(ACLAction$outboundSchema).optional(), - observabilityNotebook: z.array(ACLAction$outboundSchema).optional(), observabilityFunnel: z.array(ACLAction$outboundSchema).optional(), + observabilityNotebook: z.array(ACLAction$outboundSchema).optional(), openTelemetryEndpoint: z.array(ACLAction$outboundSchema).optional(), - vercelAppInstallation: z.array(ACLAction$outboundSchema).optional(), - vercelAppInstallationRequest: z.array(ACLAction$outboundSchema).optional(), + ownEvent: z.array(ACLAction$outboundSchema).optional(), + organizationDomain: z.array(ACLAction$outboundSchema).optional(), + passwordProtectionInvoiceItem: z.array(ACLAction$outboundSchema).optional(), paymentMethod: z.array(ACLAction$outboundSchema).optional(), permissions: z.array(ACLAction$outboundSchema).optional(), postgres: z.array(ACLAction$outboundSchema).optional(), + postgresStoreTokenSet: z.array(ACLAction$outboundSchema).optional(), previewDeploymentSuffix: z.array(ACLAction$outboundSchema).optional(), + projectTransferIn: 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(), + redisStoreTokenSet: z.array(ACLAction$outboundSchema).optional(), remoteCaching: z.array(ACLAction$outboundSchema).optional(), + repository: 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(), + sensitiveEnvironmentVariablePolicy: 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(), 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(), @@ -10035,26 +8333,15 @@ export const CreateProjectPermissions$outboundSchema: z.ZodType< token: z.array(ACLAction$outboundSchema).optional(), usage: z.array(ACLAction$outboundSchema).optional(), usageCycle: z.array(ACLAction$outboundSchema).optional(), + vercelRun: z.array(ACLAction$outboundSchema).optional(), + vercelRunExec: z.array(ACLAction$outboundSchema).optional(), vpcPeeringConnection: z.array(ACLAction$outboundSchema).optional(), webAnalyticsPlan: 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(), - vercelRun: z.array(ACLAction$outboundSchema).optional(), - vercelRunExec: z.array(ACLAction$outboundSchema).optional(), - apiKey: z.array(ACLAction$outboundSchema).optional(), - apiKeyOwnedBySelf: z.array(ACLAction$outboundSchema).optional(), - apiKeyAiGateway: z.array(ACLAction$outboundSchema).optional(), aliasProject: z.array(ACLAction$outboundSchema).optional(), aliasProtectionBypass: z.array(ACLAction$outboundSchema).optional(), buildMachine: 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(), @@ -10071,55 +8358,56 @@ export const CreateProjectPermissions$outboundSchema: z.ZodType< deploymentRollback: z.array(ACLAction$outboundSchema).optional(), edgeCacheNamespace: z.array(ACLAction$outboundSchema).optional(), environments: z.array(ACLAction$outboundSchema).optional(), + job: 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(), onDemandBuild: z.array(ACLAction$outboundSchema).optional(), onDemandConcurrency: z.array(ACLAction$outboundSchema).optional(), + optionsAllowlist: z.array(ACLAction$outboundSchema).optional(), + passwordProtection: z.array(ACLAction$outboundSchema).optional(), + productionAliasProtectionBypass: 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(), + projectAnalyticsUsage: z.array(ACLAction$outboundSchema).optional(), projectCheck: z.array(ACLAction$outboundSchema).optional(), projectCheckRun: z.array(ACLAction$outboundSchema).optional(), + projectDeploymentExpiration: 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(), + projectDomainMove: 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(), + projectFlagsProduction: z.array(ACLAction$outboundSchema).optional(), + projectFromV0: 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(), + projectOIDCToken: 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(), + projectRollingRelease: z.array(ACLAction$outboundSchema).optional(), projectSupportCase: z.array(ACLAction$outboundSchema).optional(), projectSupportCaseComment: z.array(ACLAction$outboundSchema).optional(), - projectDeploymentExpiration: z.array(ACLAction$outboundSchema).optional(), - projectRollingRelease: z.array(ACLAction$outboundSchema).optional(), projectTier: z.array(ACLAction$outboundSchema).optional(), - projectOIDCToken: z.array(ACLAction$outboundSchema).optional(), + projectTransfer: z.array(ACLAction$outboundSchema).optional(), + projectTransferOut: z.array(ACLAction$outboundSchema).optional(), + projectUsage: z.array(ACLAction$outboundSchema).optional(), seawallConfig: z.array(ACLAction$outboundSchema).optional(), + sharedEnvVarConnection: z.array(ACLAction$outboundSchema).optional(), skewProtection: z.array(ACLAction$outboundSchema).optional(), analytics: z.array(ACLAction$outboundSchema).optional(), trustedIps: z.array(ACLAction$outboundSchema).optional(), v0Chat: 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", @@ -10128,19 +8416,6 @@ export const CreateProjectPermissions$outboundSchema: z.ZodType< }); }); -/** - * @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 { @@ -10148,7 +8423,6 @@ export function createProjectPermissionsToJSON( CreateProjectPermissions$outboundSchema.parse(createProjectPermissions), ); } - export function createProjectPermissionsFromJSON( jsonString: string, ): SafeParseResult { @@ -10165,7 +8439,6 @@ export const CreateProjectLastRollbackTarget$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({}); - /** @internal */ export type CreateProjectLastRollbackTarget$Outbound = {}; @@ -10176,19 +8449,6 @@ export const CreateProjectLastRollbackTarget$outboundSchema: z.ZodType< 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 { @@ -10198,7 +8458,6 @@ export function createProjectLastRollbackTargetToJSON( ), ); } - export function createProjectLastRollbackTargetFromJSON( jsonString: string, ): SafeParseResult { @@ -10213,23 +8472,11 @@ export function createProjectLastRollbackTargetFromJSON( 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 CreateProjectProjectsResponse200ApplicationJSONResponseBodyLastAliasRequestType$inboundSchema: z.ZodNativeEnum< @@ -10237,7 +8484,6 @@ export const CreateProjectProjectsResponse200ApplicationJSONResponseBodyLastAlia > = z.nativeEnum( CreateProjectProjectsResponse200ApplicationJSONResponseBodyLastAliasRequestType, ); - /** @internal */ export const CreateProjectProjectsResponse200ApplicationJSONResponseBodyLastAliasRequestType$outboundSchema: z.ZodNativeEnum< @@ -10245,19 +8491,6 @@ export const CreateProjectProjectsResponse200ApplicationJSONResponseBodyLastAlia > = CreateProjectProjectsResponse200ApplicationJSONResponseBodyLastAliasRequestType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectProjectsResponse200ApplicationJSONResponseBodyLastAliasRequestType$ { - /** @deprecated use `CreateProjectProjectsResponse200ApplicationJSONResponseBodyLastAliasRequestType$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectProjectsResponse200ApplicationJSONResponseBodyLastAliasRequestType$inboundSchema; - /** @deprecated use `CreateProjectProjectsResponse200ApplicationJSONResponseBodyLastAliasRequestType$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectProjectsResponse200ApplicationJSONResponseBodyLastAliasRequestType$outboundSchema; -} - /** @internal */ export const CreateProjectLastAliasRequest$inboundSchema: z.ZodType< CreateProjectLastAliasRequest, @@ -10272,7 +8505,6 @@ export const CreateProjectLastAliasRequest$inboundSchema: z.ZodType< type: CreateProjectProjectsResponse200ApplicationJSONResponseBodyLastAliasRequestType$inboundSchema, }); - /** @internal */ export type CreateProjectLastAliasRequest$Outbound = { fromDeploymentId: string; @@ -10298,19 +8530,6 @@ export const CreateProjectLastAliasRequest$outboundSchema: z.ZodType< CreateProjectProjectsResponse200ApplicationJSONResponseBodyLastAliasRequestType$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 { @@ -10320,7 +8539,6 @@ export function createProjectLastAliasRequestToJSON( ), ); } - export function createProjectLastAliasRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -10335,25 +8553,11 @@ export function createProjectLastAliasRequestFromJSON( export const CreateProjectProtectionBypassProjectsScope$inboundSchema: z.ZodNativeEnum = z .nativeEnum(CreateProjectProtectionBypassProjectsScope); - /** @internal */ export const CreateProjectProtectionBypassProjectsScope$outboundSchema: z.ZodNativeEnum = CreateProjectProtectionBypassProjectsScope$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectProtectionBypassProjectsScope$ { - /** @deprecated use `CreateProjectProtectionBypassProjectsScope$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectProtectionBypassProjectsScope$inboundSchema; - /** @deprecated use `CreateProjectProtectionBypassProjectsScope$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectProtectionBypassProjectsScope$outboundSchema; -} - /** @internal */ export const CreateProjectProtectionBypass2$inboundSchema: z.ZodType< CreateProjectProtectionBypass2, @@ -10364,7 +8568,6 @@ export const CreateProjectProtectionBypass2$inboundSchema: z.ZodType< createdBy: z.string(), scope: CreateProjectProtectionBypassProjectsScope$inboundSchema, }); - /** @internal */ export type CreateProjectProtectionBypass2$Outbound = { createdAt: number; @@ -10383,19 +8586,6 @@ export const CreateProjectProtectionBypass2$outboundSchema: z.ZodType< scope: CreateProjectProtectionBypassProjectsScope$outboundSchema, }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectProtectionBypass2$ { - /** @deprecated use `CreateProjectProtectionBypass2$inboundSchema` instead. */ - export const inboundSchema = CreateProjectProtectionBypass2$inboundSchema; - /** @deprecated use `CreateProjectProtectionBypass2$outboundSchema` instead. */ - export const outboundSchema = CreateProjectProtectionBypass2$outboundSchema; - /** @deprecated use `CreateProjectProtectionBypass2$Outbound` instead. */ - export type Outbound = CreateProjectProtectionBypass2$Outbound; -} - export function createProjectProtectionBypass2ToJSON( createProjectProtectionBypass2: CreateProjectProtectionBypass2, ): string { @@ -10405,7 +8595,6 @@ export function createProjectProtectionBypass2ToJSON( ), ); } - export function createProjectProtectionBypass2FromJSON( jsonString: string, ): SafeParseResult { @@ -10420,24 +8609,11 @@ export function createProjectProtectionBypass2FromJSON( export const CreateProjectProtectionBypassScope$inboundSchema: z.ZodNativeEnum< typeof CreateProjectProtectionBypassScope > = z.nativeEnum(CreateProjectProtectionBypassScope); - /** @internal */ export const CreateProjectProtectionBypassScope$outboundSchema: z.ZodNativeEnum< typeof CreateProjectProtectionBypassScope > = CreateProjectProtectionBypassScope$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectProtectionBypassScope$ { - /** @deprecated use `CreateProjectProtectionBypassScope$inboundSchema` instead. */ - export const inboundSchema = CreateProjectProtectionBypassScope$inboundSchema; - /** @deprecated use `CreateProjectProtectionBypassScope$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectProtectionBypassScope$outboundSchema; -} - /** @internal */ export const CreateProjectProtectionBypass1$inboundSchema: z.ZodType< CreateProjectProtectionBypass1, @@ -10450,7 +8626,6 @@ export const CreateProjectProtectionBypass1$inboundSchema: z.ZodType< integrationId: z.string(), configurationId: z.string(), }); - /** @internal */ export type CreateProjectProtectionBypass1$Outbound = { createdAt: number; @@ -10473,19 +8648,6 @@ export const CreateProjectProtectionBypass1$outboundSchema: z.ZodType< configurationId: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectProtectionBypass1$ { - /** @deprecated use `CreateProjectProtectionBypass1$inboundSchema` instead. */ - export const inboundSchema = CreateProjectProtectionBypass1$inboundSchema; - /** @deprecated use `CreateProjectProtectionBypass1$outboundSchema` instead. */ - export const outboundSchema = CreateProjectProtectionBypass1$outboundSchema; - /** @deprecated use `CreateProjectProtectionBypass1$Outbound` instead. */ - export type Outbound = CreateProjectProtectionBypass1$Outbound; -} - export function createProjectProtectionBypass1ToJSON( createProjectProtectionBypass1: CreateProjectProtectionBypass1, ): string { @@ -10495,7 +8657,6 @@ export function createProjectProtectionBypass1ToJSON( ), ); } - export function createProjectProtectionBypass1FromJSON( jsonString: string, ): SafeParseResult { @@ -10515,7 +8676,6 @@ export const CreateProjectProtectionBypass$inboundSchema: z.ZodType< z.lazy(() => CreateProjectProtectionBypass1$inboundSchema), z.lazy(() => CreateProjectProtectionBypass2$inboundSchema), ]); - /** @internal */ export type CreateProjectProtectionBypass$Outbound = | CreateProjectProtectionBypass1$Outbound @@ -10531,19 +8691,6 @@ export const CreateProjectProtectionBypass$outboundSchema: z.ZodType< z.lazy(() => CreateProjectProtectionBypass2$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 { @@ -10553,7 +8700,6 @@ export function createProjectProtectionBypassToJSON( ), ); } - export function createProjectProtectionBypassFromJSON( jsonString: string, ): SafeParseResult { @@ -10568,25 +8714,11 @@ export function createProjectProtectionBypassFromJSON( 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, @@ -10595,7 +8727,6 @@ export const CreateProjectTrustedIps2$inboundSchema: z.ZodType< > = z.object({ deploymentType: CreateProjectTrustedIpsProjectsDeploymentType$inboundSchema, }); - /** @internal */ export type CreateProjectTrustedIps2$Outbound = { deploymentType: string; @@ -10610,19 +8741,6 @@ export const CreateProjectTrustedIps2$outboundSchema: z.ZodType< 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 { @@ -10630,7 +8748,6 @@ export function createProjectTrustedIps2ToJSON( CreateProjectTrustedIps2$outboundSchema.parse(createProjectTrustedIps2), ); } - export function createProjectTrustedIps2FromJSON( jsonString: string, ): SafeParseResult { @@ -10646,25 +8763,11 @@ 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, @@ -10674,7 +8777,6 @@ export const TrustedIpsAddresses$inboundSchema: z.ZodType< value: z.string(), note: z.string().optional(), }); - /** @internal */ export type TrustedIpsAddresses$Outbound = { value: string; @@ -10691,19 +8793,6 @@ export const TrustedIpsAddresses$outboundSchema: z.ZodType< 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 { @@ -10711,7 +8800,6 @@ export function trustedIpsAddressesToJSON( TrustedIpsAddresses$outboundSchema.parse(trustedIpsAddresses), ); } - export function trustedIpsAddressesFromJSON( jsonString: string, ): SafeParseResult { @@ -10726,23 +8814,11 @@ export function trustedIpsAddressesFromJSON( 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, @@ -10753,7 +8829,6 @@ export const CreateProjectTrustedIps1$inboundSchema: z.ZodType< addresses: z.array(z.lazy(() => TrustedIpsAddresses$inboundSchema)), protectionMode: TrustedIpsProtectionMode$inboundSchema, }); - /** @internal */ export type CreateProjectTrustedIps1$Outbound = { deploymentType: string; @@ -10772,19 +8847,6 @@ export const CreateProjectTrustedIps1$outboundSchema: z.ZodType< 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 { @@ -10792,7 +8854,6 @@ export function createProjectTrustedIps1ToJSON( CreateProjectTrustedIps1$outboundSchema.parse(createProjectTrustedIps1), ); } - export function createProjectTrustedIps1FromJSON( jsonString: string, ): SafeParseResult { @@ -10812,7 +8873,6 @@ export const CreateProjectTrustedIps$inboundSchema: z.ZodType< z.lazy(() => CreateProjectTrustedIps1$inboundSchema), z.lazy(() => CreateProjectTrustedIps2$inboundSchema), ]); - /** @internal */ export type CreateProjectTrustedIps$Outbound = | CreateProjectTrustedIps1$Outbound @@ -10828,19 +8888,6 @@ export const CreateProjectTrustedIps$outboundSchema: z.ZodType< z.lazy(() => CreateProjectTrustedIps2$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 { @@ -10848,7 +8895,6 @@ export function createProjectTrustedIpsToJSON( CreateProjectTrustedIps$outboundSchema.parse(createProjectTrustedIps), ); } - export function createProjectTrustedIpsFromJSON( jsonString: string, ): SafeParseResult { @@ -10868,7 +8914,6 @@ export const CreateProjectGitComments$inboundSchema: z.ZodType< onPullRequest: z.boolean(), onCommit: z.boolean(), }); - /** @internal */ export type CreateProjectGitComments$Outbound = { onPullRequest: boolean; @@ -10885,19 +8930,6 @@ export const CreateProjectGitComments$outboundSchema: z.ZodType< 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 { @@ -10905,7 +8937,6 @@ export function createProjectGitCommentsToJSON( CreateProjectGitComments$outboundSchema.parse(createProjectGitComments), ); } - export function createProjectGitCommentsFromJSON( jsonString: string, ): SafeParseResult { @@ -10920,23 +8951,11 @@ export function createProjectGitCommentsFromJSON( export const CreateProjectCreateDeployments$inboundSchema: z.ZodNativeEnum< typeof CreateProjectCreateDeployments > = z.nativeEnum(CreateProjectCreateDeployments); - /** @internal */ export const CreateProjectCreateDeployments$outboundSchema: z.ZodNativeEnum< typeof CreateProjectCreateDeployments > = CreateProjectCreateDeployments$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectCreateDeployments$ { - /** @deprecated use `CreateProjectCreateDeployments$inboundSchema` instead. */ - export const inboundSchema = CreateProjectCreateDeployments$inboundSchema; - /** @deprecated use `CreateProjectCreateDeployments$outboundSchema` instead. */ - export const outboundSchema = CreateProjectCreateDeployments$outboundSchema; -} - /** @internal */ export const CreateProjectGitProviderOptions$inboundSchema: z.ZodType< CreateProjectGitProviderOptions, @@ -10945,12 +8964,13 @@ export const CreateProjectGitProviderOptions$inboundSchema: z.ZodType< > = z.object({ createDeployments: CreateProjectCreateDeployments$inboundSchema, disableRepositoryDispatchEvents: z.boolean().optional(), + requireVerifiedCommits: z.boolean().optional(), }); - /** @internal */ export type CreateProjectGitProviderOptions$Outbound = { createDeployments: string; disableRepositoryDispatchEvents?: boolean | undefined; + requireVerifiedCommits?: boolean | undefined; }; /** @internal */ @@ -10961,21 +8981,9 @@ export const CreateProjectGitProviderOptions$outboundSchema: z.ZodType< > = z.object({ createDeployments: CreateProjectCreateDeployments$outboundSchema, disableRepositoryDispatchEvents: z.boolean().optional(), + requireVerifiedCommits: 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 CreateProjectGitProviderOptions$ { - /** @deprecated use `CreateProjectGitProviderOptions$inboundSchema` instead. */ - export const inboundSchema = CreateProjectGitProviderOptions$inboundSchema; - /** @deprecated use `CreateProjectGitProviderOptions$outboundSchema` instead. */ - export const outboundSchema = CreateProjectGitProviderOptions$outboundSchema; - /** @deprecated use `CreateProjectGitProviderOptions$Outbound` instead. */ - export type Outbound = CreateProjectGitProviderOptions$Outbound; -} - export function createProjectGitProviderOptionsToJSON( createProjectGitProviderOptions: CreateProjectGitProviderOptions, ): string { @@ -10985,7 +8993,6 @@ export function createProjectGitProviderOptionsToJSON( ), ); } - export function createProjectGitProviderOptionsFromJSON( jsonString: string, ): SafeParseResult { @@ -11008,7 +9015,6 @@ export const CreateProjectWebAnalytics$inboundSchema: z.ZodType< enabledAt: z.number().optional(), hasData: z.boolean().optional(), }); - /** @internal */ export type CreateProjectWebAnalytics$Outbound = { id: string; @@ -11031,19 +9037,6 @@ export const CreateProjectWebAnalytics$outboundSchema: z.ZodType< 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 { @@ -11051,7 +9044,6 @@ export function createProjectWebAnalyticsToJSON( CreateProjectWebAnalytics$outboundSchema.parse(createProjectWebAnalytics), ); } - export function createProjectWebAnalyticsFromJSON( jsonString: string, ): SafeParseResult { @@ -11067,25 +9059,11 @@ export const CreateProjectProjectsResponse200Action$inboundSchema: z.ZodNativeEnum = z.nativeEnum( CreateProjectProjectsResponse200Action, ); - /** @internal */ export const CreateProjectProjectsResponse200Action$outboundSchema: z.ZodNativeEnum = CreateProjectProjectsResponse200Action$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectProjectsResponse200Action$ { - /** @deprecated use `CreateProjectProjectsResponse200Action$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectProjectsResponse200Action$inboundSchema; - /** @deprecated use `CreateProjectProjectsResponse200Action$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectProjectsResponse200Action$outboundSchema; -} - /** @internal */ export const CreateProjectBotFilter$inboundSchema: z.ZodType< CreateProjectBotFilter, @@ -11095,7 +9073,6 @@ export const CreateProjectBotFilter$inboundSchema: z.ZodType< active: z.boolean(), action: CreateProjectProjectsResponse200Action$inboundSchema.optional(), }); - /** @internal */ export type CreateProjectBotFilter$Outbound = { active: boolean; @@ -11112,19 +9089,6 @@ export const CreateProjectBotFilter$outboundSchema: z.ZodType< action: CreateProjectProjectsResponse200Action$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 CreateProjectBotFilter$ { - /** @deprecated use `CreateProjectBotFilter$inboundSchema` instead. */ - export const inboundSchema = CreateProjectBotFilter$inboundSchema; - /** @deprecated use `CreateProjectBotFilter$outboundSchema` instead. */ - export const outboundSchema = CreateProjectBotFilter$outboundSchema; - /** @deprecated use `CreateProjectBotFilter$Outbound` instead. */ - export type Outbound = CreateProjectBotFilter$Outbound; -} - export function createProjectBotFilterToJSON( createProjectBotFilter: CreateProjectBotFilter, ): string { @@ -11132,38 +9096,27 @@ export function createProjectBotFilterToJSON( CreateProjectBotFilter$outboundSchema.parse(createProjectBotFilter), ); } - export function createProjectBotFilterFromJSON( jsonString: string, ): SafeParseResult { return safeParse( jsonString, - (x) => CreateProjectBotFilter$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'CreateProjectBotFilter' from JSON`, - ); -} - -/** @internal */ -export const CreateProjectProjectsAction$inboundSchema: z.ZodNativeEnum< - typeof CreateProjectProjectsAction -> = z.nativeEnum(CreateProjectProjectsAction); - -/** @internal */ -export const CreateProjectProjectsAction$outboundSchema: z.ZodNativeEnum< - typeof CreateProjectProjectsAction -> = CreateProjectProjectsAction$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectProjectsAction$ { - /** @deprecated use `CreateProjectProjectsAction$inboundSchema` instead. */ - export const inboundSchema = CreateProjectProjectsAction$inboundSchema; - /** @deprecated use `CreateProjectProjectsAction$outboundSchema` instead. */ - export const outboundSchema = CreateProjectProjectsAction$outboundSchema; + (x) => CreateProjectBotFilter$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectBotFilter' from JSON`, + ); } +/** @internal */ +export const CreateProjectProjectsResponse200ApplicationJSONAction$inboundSchema: + z.ZodNativeEnum< + typeof CreateProjectProjectsResponse200ApplicationJSONAction + > = z.nativeEnum(CreateProjectProjectsResponse200ApplicationJSONAction); +/** @internal */ +export const CreateProjectProjectsResponse200ApplicationJSONAction$outboundSchema: + z.ZodNativeEnum< + typeof CreateProjectProjectsResponse200ApplicationJSONAction + > = CreateProjectProjectsResponse200ApplicationJSONAction$inboundSchema; + /** @internal */ export const CreateProjectAiBots$inboundSchema: z.ZodType< CreateProjectAiBots, @@ -11171,9 +9124,9 @@ export const CreateProjectAiBots$inboundSchema: z.ZodType< unknown > = z.object({ active: z.boolean(), - action: CreateProjectProjectsAction$inboundSchema.optional(), + action: CreateProjectProjectsResponse200ApplicationJSONAction$inboundSchema + .optional(), }); - /** @internal */ export type CreateProjectAiBots$Outbound = { active: boolean; @@ -11187,22 +9140,10 @@ export const CreateProjectAiBots$outboundSchema: z.ZodType< CreateProjectAiBots > = z.object({ active: z.boolean(), - action: CreateProjectProjectsAction$outboundSchema.optional(), + action: CreateProjectProjectsResponse200ApplicationJSONAction$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 CreateProjectAiBots$ { - /** @deprecated use `CreateProjectAiBots$inboundSchema` instead. */ - export const inboundSchema = CreateProjectAiBots$inboundSchema; - /** @deprecated use `CreateProjectAiBots$outboundSchema` instead. */ - export const outboundSchema = CreateProjectAiBots$outboundSchema; - /** @deprecated use `CreateProjectAiBots$Outbound` instead. */ - export type Outbound = CreateProjectAiBots$Outbound; -} - export function createProjectAiBotsToJSON( createProjectAiBots: CreateProjectAiBots, ): string { @@ -11210,7 +9151,6 @@ export function createProjectAiBotsToJSON( CreateProjectAiBots$outboundSchema.parse(createProjectAiBots), ); } - export function createProjectAiBotsFromJSON( jsonString: string, ): SafeParseResult { @@ -11225,25 +9165,11 @@ export function createProjectAiBotsFromJSON( export const CreateProjectProjectsResponseAction$inboundSchema: z.ZodNativeEnum< typeof CreateProjectProjectsResponseAction > = z.nativeEnum(CreateProjectProjectsResponseAction); - /** @internal */ export const CreateProjectProjectsResponseAction$outboundSchema: z.ZodNativeEnum = CreateProjectProjectsResponseAction$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectProjectsResponseAction$ { - /** @deprecated use `CreateProjectProjectsResponseAction$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectProjectsResponseAction$inboundSchema; - /** @deprecated use `CreateProjectProjectsResponseAction$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectProjectsResponseAction$outboundSchema; -} - /** @internal */ export const CreateProjectOwasp$inboundSchema: z.ZodType< CreateProjectOwasp, @@ -11253,7 +9179,6 @@ export const CreateProjectOwasp$inboundSchema: z.ZodType< active: z.boolean(), action: CreateProjectProjectsResponseAction$inboundSchema.optional(), }); - /** @internal */ export type CreateProjectOwasp$Outbound = { active: boolean; @@ -11270,19 +9195,6 @@ export const CreateProjectOwasp$outboundSchema: z.ZodType< action: CreateProjectProjectsResponseAction$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 CreateProjectOwasp$ { - /** @deprecated use `CreateProjectOwasp$inboundSchema` instead. */ - export const inboundSchema = CreateProjectOwasp$inboundSchema; - /** @deprecated use `CreateProjectOwasp$outboundSchema` instead. */ - export const outboundSchema = CreateProjectOwasp$outboundSchema; - /** @deprecated use `CreateProjectOwasp$Outbound` instead. */ - export type Outbound = CreateProjectOwasp$Outbound; -} - export function createProjectOwaspToJSON( createProjectOwasp: CreateProjectOwasp, ): string { @@ -11290,7 +9202,6 @@ export function createProjectOwaspToJSON( CreateProjectOwasp$outboundSchema.parse(createProjectOwasp), ); } - export function createProjectOwaspFromJSON( jsonString: string, ): SafeParseResult { @@ -11316,7 +9227,6 @@ export const CreateProjectManagedRules$inboundSchema: z.ZodType< "ai_bots": "aiBots", }); }); - /** @internal */ export type CreateProjectManagedRules$Outbound = { bot_filter: CreateProjectBotFilter$Outbound; @@ -11340,19 +9250,6 @@ export const CreateProjectManagedRules$outboundSchema: z.ZodType< }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectManagedRules$ { - /** @deprecated use `CreateProjectManagedRules$inboundSchema` instead. */ - export const inboundSchema = CreateProjectManagedRules$inboundSchema; - /** @deprecated use `CreateProjectManagedRules$outboundSchema` instead. */ - export const outboundSchema = CreateProjectManagedRules$outboundSchema; - /** @deprecated use `CreateProjectManagedRules$Outbound` instead. */ - export type Outbound = CreateProjectManagedRules$Outbound; -} - export function createProjectManagedRulesToJSON( createProjectManagedRules: CreateProjectManagedRules, ): string { @@ -11360,7 +9257,6 @@ export function createProjectManagedRulesToJSON( CreateProjectManagedRules$outboundSchema.parse(createProjectManagedRules), ); } - export function createProjectManagedRulesFromJSON( jsonString: string, ): SafeParseResult { @@ -11392,7 +9288,6 @@ export const CreateProjectSecurity$inboundSchema: z.ZodType< ).optional(), botIdEnabled: z.boolean().optional(), }); - /** @internal */ export type CreateProjectSecurity$Outbound = { attackModeEnabled?: boolean | undefined; @@ -11431,19 +9326,6 @@ export const CreateProjectSecurity$outboundSchema: z.ZodType< botIdEnabled: 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 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 { @@ -11451,7 +9333,6 @@ export function createProjectSecurityToJSON( CreateProjectSecurity$outboundSchema.parse(createProjectSecurity), ); } - export function createProjectSecurityFromJSON( jsonString: string, ): SafeParseResult { @@ -11466,23 +9347,11 @@ export function createProjectSecurityFromJSON( 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, @@ -11492,7 +9361,6 @@ export const CreateProjectOidcTokenConfig$inboundSchema: z.ZodType< enabled: z.boolean().optional(), issuerMode: CreateProjectIssuerMode$inboundSchema.optional(), }); - /** @internal */ export type CreateProjectOidcTokenConfig$Outbound = { enabled?: boolean | undefined; @@ -11509,19 +9377,6 @@ export const CreateProjectOidcTokenConfig$outboundSchema: z.ZodType< 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 { @@ -11531,7 +9386,6 @@ export function createProjectOidcTokenConfigToJSON( ), ); } - export function createProjectOidcTokenConfigFromJSON( jsonString: string, ): SafeParseResult { @@ -11546,23 +9400,11 @@ export function createProjectOidcTokenConfigFromJSON( 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 CreateProjectFeatures$inboundSchema: z.ZodType< CreateProjectFeatures, @@ -11571,7 +9413,6 @@ export const CreateProjectFeatures$inboundSchema: z.ZodType< > = z.object({ webAnalytics: z.boolean().optional(), }); - /** @internal */ export type CreateProjectFeatures$Outbound = { webAnalytics?: boolean | undefined; @@ -11586,19 +9427,6 @@ export const CreateProjectFeatures$outboundSchema: z.ZodType< webAnalytics: 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 CreateProjectFeatures$ { - /** @deprecated use `CreateProjectFeatures$inboundSchema` instead. */ - export const inboundSchema = CreateProjectFeatures$inboundSchema; - /** @deprecated use `CreateProjectFeatures$outboundSchema` instead. */ - export const outboundSchema = CreateProjectFeatures$outboundSchema; - /** @deprecated use `CreateProjectFeatures$Outbound` instead. */ - export type Outbound = CreateProjectFeatures$Outbound; -} - export function createProjectFeaturesToJSON( createProjectFeatures: CreateProjectFeatures, ): string { @@ -11606,7 +9434,6 @@ export function createProjectFeaturesToJSON( CreateProjectFeatures$outboundSchema.parse(createProjectFeatures), ); } - export function createProjectFeaturesFromJSON( jsonString: string, ): SafeParseResult { @@ -11629,7 +9456,6 @@ export const CreateProjectHistory$inboundSchema: z.ZodType< byId: z.string(), at: z.number(), }); - /** @internal */ export type CreateProjectHistory$Outbound = { scanner: string; @@ -11652,19 +9478,6 @@ export const CreateProjectHistory$outboundSchema: z.ZodType< at: 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 CreateProjectHistory$ { - /** @deprecated use `CreateProjectHistory$inboundSchema` instead. */ - export const inboundSchema = CreateProjectHistory$inboundSchema; - /** @deprecated use `CreateProjectHistory$outboundSchema` instead. */ - export const outboundSchema = CreateProjectHistory$outboundSchema; - /** @deprecated use `CreateProjectHistory$Outbound` instead. */ - export type Outbound = CreateProjectHistory$Outbound; -} - export function createProjectHistoryToJSON( createProjectHistory: CreateProjectHistory, ): string { @@ -11672,7 +9485,6 @@ export function createProjectHistoryToJSON( CreateProjectHistory$outboundSchema.parse(createProjectHistory), ); } - export function createProjectHistoryFromJSON( jsonString: string, ): SafeParseResult { @@ -11684,25 +9496,13 @@ export function createProjectHistoryFromJSON( } /** @internal */ -export const CreateProjectAction$inboundSchema: z.ZodNativeEnum< - typeof CreateProjectAction -> = z.nativeEnum(CreateProjectAction); - +export const CreateProjectProjectsAction$inboundSchema: z.ZodNativeEnum< + typeof CreateProjectProjectsAction +> = z.nativeEnum(CreateProjectProjectsAction); /** @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; -} +export const CreateProjectProjectsAction$outboundSchema: z.ZodNativeEnum< + typeof CreateProjectProjectsAction +> = CreateProjectProjectsAction$inboundSchema; /** @internal */ export const CreateProjectBlock$inboundSchema: z.ZodType< @@ -11710,7 +9510,7 @@ export const CreateProjectBlock$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - action: CreateProjectAction$inboundSchema, + action: CreateProjectProjectsAction$inboundSchema, reason: z.string(), statusCode: z.number(), createdAt: z.number(), @@ -11719,7 +9519,6 @@ export const CreateProjectBlock$inboundSchema: z.ZodType< comment: z.string().optional(), isCascading: z.boolean().optional(), }); - /** @internal */ export type CreateProjectBlock$Outbound = { action: string; @@ -11738,7 +9537,7 @@ export const CreateProjectBlock$outboundSchema: z.ZodType< z.ZodTypeDef, CreateProjectBlock > = z.object({ - action: CreateProjectAction$outboundSchema, + action: CreateProjectProjectsAction$outboundSchema, reason: z.string(), statusCode: z.number(), createdAt: z.number(), @@ -11748,19 +9547,6 @@ export const CreateProjectBlock$outboundSchema: z.ZodType< isCascading: 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 CreateProjectBlock$ { - /** @deprecated use `CreateProjectBlock$inboundSchema` instead. */ - export const inboundSchema = CreateProjectBlock$inboundSchema; - /** @deprecated use `CreateProjectBlock$outboundSchema` instead. */ - export const outboundSchema = CreateProjectBlock$outboundSchema; - /** @deprecated use `CreateProjectBlock$Outbound` instead. */ - export type Outbound = CreateProjectBlock$Outbound; -} - export function createProjectBlockToJSON( createProjectBlock: CreateProjectBlock, ): string { @@ -11768,7 +9554,6 @@ export function createProjectBlockToJSON( CreateProjectBlock$outboundSchema.parse(createProjectBlock), ); } - export function createProjectBlockFromJSON( jsonString: string, ): SafeParseResult { @@ -11783,48 +9568,20 @@ export function createProjectBlockFromJSON( export const CreateProjectBlockHistoryProjectsResponse200Action$inboundSchema: z.ZodNativeEnum = z .nativeEnum(CreateProjectBlockHistoryProjectsResponse200Action); - /** @internal */ export const CreateProjectBlockHistoryProjectsResponse200Action$outboundSchema: z.ZodNativeEnum = CreateProjectBlockHistoryProjectsResponse200Action$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectBlockHistoryProjectsResponse200Action$ { - /** @deprecated use `CreateProjectBlockHistoryProjectsResponse200Action$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectBlockHistoryProjectsResponse200Action$inboundSchema; - /** @deprecated use `CreateProjectBlockHistoryProjectsResponse200Action$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectBlockHistoryProjectsResponse200Action$outboundSchema; -} - /** @internal */ export const CreateProjectHasProjectsResponse200Type$inboundSchema: z.ZodNativeEnum = z .nativeEnum(CreateProjectHasProjectsResponse200Type); - /** @internal */ export const CreateProjectHasProjectsResponse200Type$outboundSchema: z.ZodNativeEnum = CreateProjectHasProjectsResponse200Type$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectHasProjectsResponse200Type$ { - /** @deprecated use `CreateProjectHasProjectsResponse200Type$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectHasProjectsResponse200Type$inboundSchema; - /** @deprecated use `CreateProjectHasProjectsResponse200Type$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectHasProjectsResponse200Type$outboundSchema; -} - /** @internal */ export const CreateProjectHasProjectsResponse200Value$inboundSchema: z.ZodType< CreateProjectHasProjectsResponse200Value, @@ -11833,7 +9590,6 @@ export const CreateProjectHasProjectsResponse200Value$inboundSchema: z.ZodType< > = z.object({ eq: z.string(), }); - /** @internal */ export type CreateProjectHasProjectsResponse200Value$Outbound = { eq: string; @@ -11848,21 +9604,6 @@ export const CreateProjectHasProjectsResponse200Value$outboundSchema: z.ZodType< eq: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectHasProjectsResponse200Value$ { - /** @deprecated use `CreateProjectHasProjectsResponse200Value$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectHasProjectsResponse200Value$inboundSchema; - /** @deprecated use `CreateProjectHasProjectsResponse200Value$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectHasProjectsResponse200Value$outboundSchema; - /** @deprecated use `CreateProjectHasProjectsResponse200Value$Outbound` instead. */ - export type Outbound = CreateProjectHasProjectsResponse200Value$Outbound; -} - export function createProjectHasProjectsResponse200ValueToJSON( createProjectHasProjectsResponse200Value: CreateProjectHasProjectsResponse200Value, @@ -11873,7 +9614,6 @@ export function createProjectHasProjectsResponse200ValueToJSON( ), ); } - export function createProjectHasProjectsResponse200ValueFromJSON( jsonString: string, ): SafeParseResult< @@ -11899,7 +9639,6 @@ export const CreateProjectHasProjects2$inboundSchema: z.ZodType< type: CreateProjectHasProjectsResponse200Type$inboundSchema, value: z.lazy(() => CreateProjectHasProjectsResponse200Value$inboundSchema), }); - /** @internal */ export type CreateProjectHasProjects2$Outbound = { type: string; @@ -11916,19 +9655,6 @@ export const CreateProjectHasProjects2$outboundSchema: z.ZodType< value: z.lazy(() => CreateProjectHasProjectsResponse200Value$outboundSchema), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectHasProjects2$ { - /** @deprecated use `CreateProjectHasProjects2$inboundSchema` instead. */ - export const inboundSchema = CreateProjectHasProjects2$inboundSchema; - /** @deprecated use `CreateProjectHasProjects2$outboundSchema` instead. */ - export const outboundSchema = CreateProjectHasProjects2$outboundSchema; - /** @deprecated use `CreateProjectHasProjects2$Outbound` instead. */ - export type Outbound = CreateProjectHasProjects2$Outbound; -} - export function createProjectHasProjects2ToJSON( createProjectHasProjects2: CreateProjectHasProjects2, ): string { @@ -11936,7 +9662,6 @@ export function createProjectHasProjects2ToJSON( CreateProjectHasProjects2$outboundSchema.parse(createProjectHasProjects2), ); } - export function createProjectHasProjects2FromJSON( jsonString: string, ): SafeParseResult { @@ -11952,46 +9677,20 @@ export const CreateProjectHasProjectsResponseType$inboundSchema: z.ZodNativeEnum = z.nativeEnum( CreateProjectHasProjectsResponseType, ); - /** @internal */ export const CreateProjectHasProjectsResponseType$outboundSchema: z.ZodNativeEnum = CreateProjectHasProjectsResponseType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectHasProjectsResponseType$ { - /** @deprecated use `CreateProjectHasProjectsResponseType$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectHasProjectsResponseType$inboundSchema; - /** @deprecated use `CreateProjectHasProjectsResponseType$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectHasProjectsResponseType$outboundSchema; -} - /** @internal */ export const CreateProjectHasProjectsKey$inboundSchema: z.ZodNativeEnum< typeof CreateProjectHasProjectsKey > = z.nativeEnum(CreateProjectHasProjectsKey); - /** @internal */ export const CreateProjectHasProjectsKey$outboundSchema: z.ZodNativeEnum< typeof CreateProjectHasProjectsKey > = CreateProjectHasProjectsKey$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectHasProjectsKey$ { - /** @deprecated use `CreateProjectHasProjectsKey$inboundSchema` instead. */ - export const inboundSchema = CreateProjectHasProjectsKey$inboundSchema; - /** @deprecated use `CreateProjectHasProjectsKey$outboundSchema` instead. */ - export const outboundSchema = CreateProjectHasProjectsKey$outboundSchema; -} - /** @internal */ export const CreateProjectHasProjectsResponseValue$inboundSchema: z.ZodType< CreateProjectHasProjectsResponseValue, @@ -12000,7 +9699,6 @@ export const CreateProjectHasProjectsResponseValue$inboundSchema: z.ZodType< > = z.object({ eq: z.string(), }); - /** @internal */ export type CreateProjectHasProjectsResponseValue$Outbound = { eq: string; @@ -12015,21 +9713,6 @@ export const CreateProjectHasProjectsResponseValue$outboundSchema: z.ZodType< eq: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectHasProjectsResponseValue$ { - /** @deprecated use `CreateProjectHasProjectsResponseValue$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectHasProjectsResponseValue$inboundSchema; - /** @deprecated use `CreateProjectHasProjectsResponseValue$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectHasProjectsResponseValue$outboundSchema; - /** @deprecated use `CreateProjectHasProjectsResponseValue$Outbound` instead. */ - export type Outbound = CreateProjectHasProjectsResponseValue$Outbound; -} - export function createProjectHasProjectsResponseValueToJSON( createProjectHasProjectsResponseValue: CreateProjectHasProjectsResponseValue, ): string { @@ -12039,7 +9722,6 @@ export function createProjectHasProjectsResponseValueToJSON( ), ); } - export function createProjectHasProjectsResponseValueFromJSON( jsonString: string, ): SafeParseResult { @@ -12061,7 +9743,6 @@ export const CreateProjectHasProjects1$inboundSchema: z.ZodType< key: CreateProjectHasProjectsKey$inboundSchema, value: z.lazy(() => CreateProjectHasProjectsResponseValue$inboundSchema), }); - /** @internal */ export type CreateProjectHasProjects1$Outbound = { type: string; @@ -12080,19 +9761,6 @@ export const CreateProjectHasProjects1$outboundSchema: z.ZodType< value: z.lazy(() => CreateProjectHasProjectsResponseValue$outboundSchema), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectHasProjects1$ { - /** @deprecated use `CreateProjectHasProjects1$inboundSchema` instead. */ - export const inboundSchema = CreateProjectHasProjects1$inboundSchema; - /** @deprecated use `CreateProjectHasProjects1$outboundSchema` instead. */ - export const outboundSchema = CreateProjectHasProjects1$outboundSchema; - /** @deprecated use `CreateProjectHasProjects1$Outbound` instead. */ - export type Outbound = CreateProjectHasProjects1$Outbound; -} - export function createProjectHasProjects1ToJSON( createProjectHasProjects1: CreateProjectHasProjects1, ): string { @@ -12100,7 +9768,6 @@ export function createProjectHasProjects1ToJSON( CreateProjectHasProjects1$outboundSchema.parse(createProjectHasProjects1), ); } - export function createProjectHasProjects1FromJSON( jsonString: string, ): SafeParseResult { @@ -12120,7 +9787,6 @@ export const CreateProjectRouteProjectsHas$inboundSchema: z.ZodType< z.lazy(() => CreateProjectHasProjects1$inboundSchema), z.lazy(() => CreateProjectHasProjects2$inboundSchema), ]); - /** @internal */ export type CreateProjectRouteProjectsHas$Outbound = | CreateProjectHasProjects1$Outbound @@ -12136,19 +9802,6 @@ export const CreateProjectRouteProjectsHas$outboundSchema: z.ZodType< z.lazy(() => CreateProjectHasProjects2$outboundSchema), ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectRouteProjectsHas$ { - /** @deprecated use `CreateProjectRouteProjectsHas$inboundSchema` instead. */ - export const inboundSchema = CreateProjectRouteProjectsHas$inboundSchema; - /** @deprecated use `CreateProjectRouteProjectsHas$outboundSchema` instead. */ - export const outboundSchema = CreateProjectRouteProjectsHas$outboundSchema; - /** @deprecated use `CreateProjectRouteProjectsHas$Outbound` instead. */ - export type Outbound = CreateProjectRouteProjectsHas$Outbound; -} - export function createProjectRouteProjectsHasToJSON( createProjectRouteProjectsHas: CreateProjectRouteProjectsHas, ): string { @@ -12158,7 +9811,6 @@ export function createProjectRouteProjectsHasToJSON( ), ); } - export function createProjectRouteProjectsHasFromJSON( jsonString: string, ): SafeParseResult { @@ -12173,23 +9825,11 @@ export function createProjectRouteProjectsHasFromJSON( export const CreateProjectRouteProjectsAction$inboundSchema: z.ZodNativeEnum< typeof CreateProjectRouteProjectsAction > = z.nativeEnum(CreateProjectRouteProjectsAction); - /** @internal */ export const CreateProjectRouteProjectsAction$outboundSchema: z.ZodNativeEnum< typeof CreateProjectRouteProjectsAction > = CreateProjectRouteProjectsAction$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectRouteProjectsAction$ { - /** @deprecated use `CreateProjectRouteProjectsAction$inboundSchema` instead. */ - export const inboundSchema = CreateProjectRouteProjectsAction$inboundSchema; - /** @deprecated use `CreateProjectRouteProjectsAction$outboundSchema` instead. */ - export const outboundSchema = CreateProjectRouteProjectsAction$outboundSchema; -} - /** @internal */ export const CreateProjectRouteProjectsMitigate$inboundSchema: z.ZodType< CreateProjectRouteProjectsMitigate, @@ -12198,7 +9838,6 @@ export const CreateProjectRouteProjectsMitigate$inboundSchema: z.ZodType< > = z.object({ action: CreateProjectRouteProjectsAction$inboundSchema, }); - /** @internal */ export type CreateProjectRouteProjectsMitigate$Outbound = { action: string; @@ -12213,20 +9852,6 @@ export const CreateProjectRouteProjectsMitigate$outboundSchema: z.ZodType< action: CreateProjectRouteProjectsAction$outboundSchema, }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectRouteProjectsMitigate$ { - /** @deprecated use `CreateProjectRouteProjectsMitigate$inboundSchema` instead. */ - export const inboundSchema = CreateProjectRouteProjectsMitigate$inboundSchema; - /** @deprecated use `CreateProjectRouteProjectsMitigate$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectRouteProjectsMitigate$outboundSchema; - /** @deprecated use `CreateProjectRouteProjectsMitigate$Outbound` instead. */ - export type Outbound = CreateProjectRouteProjectsMitigate$Outbound; -} - export function createProjectRouteProjectsMitigateToJSON( createProjectRouteProjectsMitigate: CreateProjectRouteProjectsMitigate, ): string { @@ -12236,7 +9861,6 @@ export function createProjectRouteProjectsMitigateToJSON( ), ); } - export function createProjectRouteProjectsMitigateFromJSON( jsonString: string, ): SafeParseResult { @@ -12263,7 +9887,6 @@ export const CreateProjectRouteProjects2$inboundSchema: z.ZodType< mitigate: z.lazy(() => CreateProjectRouteProjectsMitigate$inboundSchema), src: z.string().optional(), }); - /** @internal */ export type CreateProjectRouteProjects2$Outbound = { has: Array< @@ -12289,19 +9912,6 @@ export const CreateProjectRouteProjects2$outboundSchema: z.ZodType< src: z.string().optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectRouteProjects2$ { - /** @deprecated use `CreateProjectRouteProjects2$inboundSchema` instead. */ - export const inboundSchema = CreateProjectRouteProjects2$inboundSchema; - /** @deprecated use `CreateProjectRouteProjects2$outboundSchema` instead. */ - export const outboundSchema = CreateProjectRouteProjects2$outboundSchema; - /** @deprecated use `CreateProjectRouteProjects2$Outbound` instead. */ - export type Outbound = CreateProjectRouteProjects2$Outbound; -} - export function createProjectRouteProjects2ToJSON( createProjectRouteProjects2: CreateProjectRouteProjects2, ): string { @@ -12311,7 +9921,6 @@ export function createProjectRouteProjects2ToJSON( ), ); } - export function createProjectRouteProjects2FromJSON( jsonString: string, ): SafeParseResult { @@ -12331,7 +9940,6 @@ export const CreateProjectRouteProjects1$inboundSchema: z.ZodType< src: z.string(), status: z.number(), }); - /** @internal */ export type CreateProjectRouteProjects1$Outbound = { src: string; @@ -12348,19 +9956,6 @@ export const CreateProjectRouteProjects1$outboundSchema: z.ZodType< status: 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 CreateProjectRouteProjects1$ { - /** @deprecated use `CreateProjectRouteProjects1$inboundSchema` instead. */ - export const inboundSchema = CreateProjectRouteProjects1$inboundSchema; - /** @deprecated use `CreateProjectRouteProjects1$outboundSchema` instead. */ - export const outboundSchema = CreateProjectRouteProjects1$outboundSchema; - /** @deprecated use `CreateProjectRouteProjects1$Outbound` instead. */ - export type Outbound = CreateProjectRouteProjects1$Outbound; -} - export function createProjectRouteProjects1ToJSON( createProjectRouteProjects1: CreateProjectRouteProjects1, ): string { @@ -12370,7 +9965,6 @@ export function createProjectRouteProjects1ToJSON( ), ); } - export function createProjectRouteProjects1FromJSON( jsonString: string, ): SafeParseResult { @@ -12390,7 +9984,6 @@ export const CreateProjectBlockHistoryProjectsRoute$inboundSchema: z.ZodType< z.lazy(() => CreateProjectRouteProjects1$inboundSchema), z.lazy(() => CreateProjectRouteProjects2$inboundSchema), ]); - /** @internal */ export type CreateProjectBlockHistoryProjectsRoute$Outbound = | CreateProjectRouteProjects1$Outbound @@ -12406,21 +9999,6 @@ export const CreateProjectBlockHistoryProjectsRoute$outboundSchema: z.ZodType< z.lazy(() => CreateProjectRouteProjects2$outboundSchema), ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectBlockHistoryProjectsRoute$ { - /** @deprecated use `CreateProjectBlockHistoryProjectsRoute$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectBlockHistoryProjectsRoute$inboundSchema; - /** @deprecated use `CreateProjectBlockHistoryProjectsRoute$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectBlockHistoryProjectsRoute$outboundSchema; - /** @deprecated use `CreateProjectBlockHistoryProjectsRoute$Outbound` instead. */ - export type Outbound = CreateProjectBlockHistoryProjectsRoute$Outbound; -} - export function createProjectBlockHistoryProjectsRouteToJSON( createProjectBlockHistoryProjectsRoute: CreateProjectBlockHistoryProjectsRoute, @@ -12431,7 +10009,6 @@ export function createProjectBlockHistoryProjectsRouteToJSON( ), ); } - export function createProjectBlockHistoryProjectsRouteFromJSON( jsonString: string, ): SafeParseResult { @@ -12461,7 +10038,6 @@ export const CreateProjectBlockHistory4$inboundSchema: z.ZodType< comment: z.string().optional(), isCascading: z.boolean().optional(), }); - /** @internal */ export type CreateProjectBlockHistory4$Outbound = { action: string; @@ -12495,19 +10071,6 @@ export const CreateProjectBlockHistory4$outboundSchema: z.ZodType< isCascading: 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 CreateProjectBlockHistory4$ { - /** @deprecated use `CreateProjectBlockHistory4$inboundSchema` instead. */ - export const inboundSchema = CreateProjectBlockHistory4$inboundSchema; - /** @deprecated use `CreateProjectBlockHistory4$outboundSchema` instead. */ - export const outboundSchema = CreateProjectBlockHistory4$outboundSchema; - /** @deprecated use `CreateProjectBlockHistory4$Outbound` instead. */ - export type Outbound = CreateProjectBlockHistory4$Outbound; -} - export function createProjectBlockHistory4ToJSON( createProjectBlockHistory4: CreateProjectBlockHistory4, ): string { @@ -12515,7 +10078,6 @@ export function createProjectBlockHistory4ToJSON( CreateProjectBlockHistory4$outboundSchema.parse(createProjectBlockHistory4), ); } - export function createProjectBlockHistory4FromJSON( jsonString: string, ): SafeParseResult { @@ -12530,25 +10092,11 @@ export function createProjectBlockHistory4FromJSON( export const CreateProjectBlockHistoryProjectsResponseAction$inboundSchema: z.ZodNativeEnum = z .nativeEnum(CreateProjectBlockHistoryProjectsResponseAction); - /** @internal */ export const CreateProjectBlockHistoryProjectsResponseAction$outboundSchema: z.ZodNativeEnum = CreateProjectBlockHistoryProjectsResponseAction$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectBlockHistoryProjectsResponseAction$ { - /** @deprecated use `CreateProjectBlockHistoryProjectsResponseAction$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectBlockHistoryProjectsResponseAction$inboundSchema; - /** @deprecated use `CreateProjectBlockHistoryProjectsResponseAction$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectBlockHistoryProjectsResponseAction$outboundSchema; -} - /** @internal */ export const CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema: z.ZodNativeEnum< @@ -12556,7 +10104,6 @@ export const CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyType$ > = z.nativeEnum( CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyType, ); - /** @internal */ export const CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema: z.ZodNativeEnum< @@ -12564,19 +10111,6 @@ export const CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyType$ > = CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyType$ { - /** @deprecated use `CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema; - /** @deprecated use `CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema; -} - /** @internal */ export const CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyValue$inboundSchema: z.ZodType< @@ -12586,7 +10120,6 @@ export const CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyValue > = z.object({ eq: z.string(), }); - /** @internal */ export type CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyValue$Outbound = { @@ -12603,22 +10136,6 @@ export const CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyValue eq: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyValue$ { - /** @deprecated use `CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyValue$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyValue$inboundSchema; - /** @deprecated use `CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyValue$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyValue$outboundSchema; - /** @deprecated use `CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyValue$Outbound` instead. */ - export type Outbound = - CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyValue$Outbound; -} - export function createProjectHasProjectsResponse200ApplicationJSONResponseBodyValueToJSON( createProjectHasProjectsResponse200ApplicationJSONResponseBodyValue: CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyValue, @@ -12630,7 +10147,6 @@ export function createProjectHasProjectsResponse200ApplicationJSONResponseBodyVa ), ); } - export function createProjectHasProjectsResponse200ApplicationJSONResponseBodyValueFromJSON( jsonString: string, ): SafeParseResult< @@ -12658,7 +10174,6 @@ export const CreateProjectHasProjectsResponse2$inboundSchema: z.ZodType< CreateProjectHasProjectsResponse200ApplicationJSONResponseBodyValue$inboundSchema ), }); - /** @internal */ export type CreateProjectHasProjectsResponse2$Outbound = { type: string; @@ -12679,20 +10194,6 @@ export const CreateProjectHasProjectsResponse2$outboundSchema: z.ZodType< ), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectHasProjectsResponse2$ { - /** @deprecated use `CreateProjectHasProjectsResponse2$inboundSchema` instead. */ - export const inboundSchema = CreateProjectHasProjectsResponse2$inboundSchema; - /** @deprecated use `CreateProjectHasProjectsResponse2$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectHasProjectsResponse2$outboundSchema; - /** @deprecated use `CreateProjectHasProjectsResponse2$Outbound` instead. */ - export type Outbound = CreateProjectHasProjectsResponse2$Outbound; -} - export function createProjectHasProjectsResponse2ToJSON( createProjectHasProjectsResponse2: CreateProjectHasProjectsResponse2, ): string { @@ -12702,7 +10203,6 @@ export function createProjectHasProjectsResponse2ToJSON( ), ); } - export function createProjectHasProjectsResponse2FromJSON( jsonString: string, ): SafeParseResult { @@ -12718,47 +10218,21 @@ export const CreateProjectHasProjectsResponse200ApplicationJSONType$inboundSchem z.ZodNativeEnum< typeof CreateProjectHasProjectsResponse200ApplicationJSONType > = z.nativeEnum(CreateProjectHasProjectsResponse200ApplicationJSONType); - /** @internal */ export const CreateProjectHasProjectsResponse200ApplicationJSONType$outboundSchema: z.ZodNativeEnum< typeof CreateProjectHasProjectsResponse200ApplicationJSONType > = CreateProjectHasProjectsResponse200ApplicationJSONType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectHasProjectsResponse200ApplicationJSONType$ { - /** @deprecated use `CreateProjectHasProjectsResponse200ApplicationJSONType$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectHasProjectsResponse200ApplicationJSONType$inboundSchema; - /** @deprecated use `CreateProjectHasProjectsResponse200ApplicationJSONType$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectHasProjectsResponse200ApplicationJSONType$outboundSchema; -} - /** @internal */ export const CreateProjectHasKey$inboundSchema: z.ZodNativeEnum< typeof CreateProjectHasKey > = z.nativeEnum(CreateProjectHasKey); - /** @internal */ export const CreateProjectHasKey$outboundSchema: z.ZodNativeEnum< typeof CreateProjectHasKey > = CreateProjectHasKey$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectHasKey$ { - /** @deprecated use `CreateProjectHasKey$inboundSchema` instead. */ - export const inboundSchema = CreateProjectHasKey$inboundSchema; - /** @deprecated use `CreateProjectHasKey$outboundSchema` instead. */ - export const outboundSchema = CreateProjectHasKey$outboundSchema; -} - /** @internal */ export const CreateProjectHasProjectsResponse200ApplicationJSONValue$inboundSchema: z.ZodType< @@ -12768,7 +10242,6 @@ export const CreateProjectHasProjectsResponse200ApplicationJSONValue$inboundSche > = z.object({ eq: z.string(), }); - /** @internal */ export type CreateProjectHasProjectsResponse200ApplicationJSONValue$Outbound = { eq: string; @@ -12784,22 +10257,6 @@ export const CreateProjectHasProjectsResponse200ApplicationJSONValue$outboundSch eq: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectHasProjectsResponse200ApplicationJSONValue$ { - /** @deprecated use `CreateProjectHasProjectsResponse200ApplicationJSONValue$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectHasProjectsResponse200ApplicationJSONValue$inboundSchema; - /** @deprecated use `CreateProjectHasProjectsResponse200ApplicationJSONValue$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectHasProjectsResponse200ApplicationJSONValue$outboundSchema; - /** @deprecated use `CreateProjectHasProjectsResponse200ApplicationJSONValue$Outbound` instead. */ - export type Outbound = - CreateProjectHasProjectsResponse200ApplicationJSONValue$Outbound; -} - export function createProjectHasProjectsResponse200ApplicationJSONValueToJSON( createProjectHasProjectsResponse200ApplicationJSONValue: CreateProjectHasProjectsResponse200ApplicationJSONValue, @@ -12809,7 +10266,6 @@ export function createProjectHasProjectsResponse200ApplicationJSONValueToJSON( .parse(createProjectHasProjectsResponse200ApplicationJSONValue), ); } - export function createProjectHasProjectsResponse200ApplicationJSONValueFromJSON( jsonString: string, ): SafeParseResult< @@ -12837,7 +10293,6 @@ export const CreateProjectHasProjectsResponse1$inboundSchema: z.ZodType< CreateProjectHasProjectsResponse200ApplicationJSONValue$inboundSchema ), }); - /** @internal */ export type CreateProjectHasProjectsResponse1$Outbound = { type: string; @@ -12858,20 +10313,6 @@ export const CreateProjectHasProjectsResponse1$outboundSchema: z.ZodType< ), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectHasProjectsResponse1$ { - /** @deprecated use `CreateProjectHasProjectsResponse1$inboundSchema` instead. */ - export const inboundSchema = CreateProjectHasProjectsResponse1$inboundSchema; - /** @deprecated use `CreateProjectHasProjectsResponse1$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectHasProjectsResponse1$outboundSchema; - /** @deprecated use `CreateProjectHasProjectsResponse1$Outbound` instead. */ - export type Outbound = CreateProjectHasProjectsResponse1$Outbound; -} - export function createProjectHasProjectsResponse1ToJSON( createProjectHasProjectsResponse1: CreateProjectHasProjectsResponse1, ): string { @@ -12881,7 +10322,6 @@ export function createProjectHasProjectsResponse1ToJSON( ), ); } - export function createProjectHasProjectsResponse1FromJSON( jsonString: string, ): SafeParseResult { @@ -12901,7 +10341,6 @@ export const CreateProjectRouteHas$inboundSchema: z.ZodType< z.lazy(() => CreateProjectHasProjectsResponse1$inboundSchema), z.lazy(() => CreateProjectHasProjectsResponse2$inboundSchema), ]); - /** @internal */ export type CreateProjectRouteHas$Outbound = | CreateProjectHasProjectsResponse1$Outbound @@ -12917,19 +10356,6 @@ export const CreateProjectRouteHas$outboundSchema: z.ZodType< z.lazy(() => CreateProjectHasProjectsResponse2$outboundSchema), ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectRouteHas$ { - /** @deprecated use `CreateProjectRouteHas$inboundSchema` instead. */ - export const inboundSchema = CreateProjectRouteHas$inboundSchema; - /** @deprecated use `CreateProjectRouteHas$outboundSchema` instead. */ - export const outboundSchema = CreateProjectRouteHas$outboundSchema; - /** @deprecated use `CreateProjectRouteHas$Outbound` instead. */ - export type Outbound = CreateProjectRouteHas$Outbound; -} - export function createProjectRouteHasToJSON( createProjectRouteHas: CreateProjectRouteHas, ): string { @@ -12937,7 +10363,6 @@ export function createProjectRouteHasToJSON( CreateProjectRouteHas$outboundSchema.parse(createProjectRouteHas), ); } - export function createProjectRouteHasFromJSON( jsonString: string, ): SafeParseResult { @@ -12952,23 +10377,11 @@ export function createProjectRouteHasFromJSON( export const CreateProjectRouteAction$inboundSchema: z.ZodNativeEnum< typeof CreateProjectRouteAction > = z.nativeEnum(CreateProjectRouteAction); - /** @internal */ export const CreateProjectRouteAction$outboundSchema: z.ZodNativeEnum< typeof CreateProjectRouteAction > = CreateProjectRouteAction$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectRouteAction$ { - /** @deprecated use `CreateProjectRouteAction$inboundSchema` instead. */ - export const inboundSchema = CreateProjectRouteAction$inboundSchema; - /** @deprecated use `CreateProjectRouteAction$outboundSchema` instead. */ - export const outboundSchema = CreateProjectRouteAction$outboundSchema; -} - /** @internal */ export const CreateProjectRouteMitigate$inboundSchema: z.ZodType< CreateProjectRouteMitigate, @@ -12977,7 +10390,6 @@ export const CreateProjectRouteMitigate$inboundSchema: z.ZodType< > = z.object({ action: CreateProjectRouteAction$inboundSchema, }); - /** @internal */ export type CreateProjectRouteMitigate$Outbound = { action: string; @@ -12992,19 +10404,6 @@ export const CreateProjectRouteMitigate$outboundSchema: z.ZodType< action: CreateProjectRouteAction$outboundSchema, }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectRouteMitigate$ { - /** @deprecated use `CreateProjectRouteMitigate$inboundSchema` instead. */ - export const inboundSchema = CreateProjectRouteMitigate$inboundSchema; - /** @deprecated use `CreateProjectRouteMitigate$outboundSchema` instead. */ - export const outboundSchema = CreateProjectRouteMitigate$outboundSchema; - /** @deprecated use `CreateProjectRouteMitigate$Outbound` instead. */ - export type Outbound = CreateProjectRouteMitigate$Outbound; -} - export function createProjectRouteMitigateToJSON( createProjectRouteMitigate: CreateProjectRouteMitigate, ): string { @@ -13012,7 +10411,6 @@ export function createProjectRouteMitigateToJSON( CreateProjectRouteMitigate$outboundSchema.parse(createProjectRouteMitigate), ); } - export function createProjectRouteMitigateFromJSON( jsonString: string, ): SafeParseResult { @@ -13038,7 +10436,6 @@ export const CreateProjectRoute2$inboundSchema: z.ZodType< mitigate: z.lazy(() => CreateProjectRouteMitigate$inboundSchema), src: z.string().optional(), }); - /** @internal */ export type CreateProjectRoute2$Outbound = { has: Array< @@ -13065,19 +10462,6 @@ export const CreateProjectRoute2$outboundSchema: z.ZodType< src: z.string().optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectRoute2$ { - /** @deprecated use `CreateProjectRoute2$inboundSchema` instead. */ - export const inboundSchema = CreateProjectRoute2$inboundSchema; - /** @deprecated use `CreateProjectRoute2$outboundSchema` instead. */ - export const outboundSchema = CreateProjectRoute2$outboundSchema; - /** @deprecated use `CreateProjectRoute2$Outbound` instead. */ - export type Outbound = CreateProjectRoute2$Outbound; -} - export function createProjectRoute2ToJSON( createProjectRoute2: CreateProjectRoute2, ): string { @@ -13085,7 +10469,6 @@ export function createProjectRoute2ToJSON( CreateProjectRoute2$outboundSchema.parse(createProjectRoute2), ); } - export function createProjectRoute2FromJSON( jsonString: string, ): SafeParseResult { @@ -13105,7 +10488,6 @@ export const CreateProjectRoute1$inboundSchema: z.ZodType< src: z.string(), status: z.number(), }); - /** @internal */ export type CreateProjectRoute1$Outbound = { src: string; @@ -13122,19 +10504,6 @@ export const CreateProjectRoute1$outboundSchema: z.ZodType< status: 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 CreateProjectRoute1$ { - /** @deprecated use `CreateProjectRoute1$inboundSchema` instead. */ - export const inboundSchema = CreateProjectRoute1$inboundSchema; - /** @deprecated use `CreateProjectRoute1$outboundSchema` instead. */ - export const outboundSchema = CreateProjectRoute1$outboundSchema; - /** @deprecated use `CreateProjectRoute1$Outbound` instead. */ - export type Outbound = CreateProjectRoute1$Outbound; -} - export function createProjectRoute1ToJSON( createProjectRoute1: CreateProjectRoute1, ): string { @@ -13142,7 +10511,6 @@ export function createProjectRoute1ToJSON( CreateProjectRoute1$outboundSchema.parse(createProjectRoute1), ); } - export function createProjectRoute1FromJSON( jsonString: string, ): SafeParseResult { @@ -13162,7 +10530,6 @@ export const CreateProjectBlockHistoryRoute$inboundSchema: z.ZodType< z.lazy(() => CreateProjectRoute1$inboundSchema), z.lazy(() => CreateProjectRoute2$inboundSchema), ]); - /** @internal */ export type CreateProjectBlockHistoryRoute$Outbound = | CreateProjectRoute1$Outbound @@ -13178,19 +10545,6 @@ export const CreateProjectBlockHistoryRoute$outboundSchema: z.ZodType< z.lazy(() => CreateProjectRoute2$outboundSchema), ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectBlockHistoryRoute$ { - /** @deprecated use `CreateProjectBlockHistoryRoute$inboundSchema` instead. */ - export const inboundSchema = CreateProjectBlockHistoryRoute$inboundSchema; - /** @deprecated use `CreateProjectBlockHistoryRoute$outboundSchema` instead. */ - export const outboundSchema = CreateProjectBlockHistoryRoute$outboundSchema; - /** @deprecated use `CreateProjectBlockHistoryRoute$Outbound` instead. */ - export type Outbound = CreateProjectBlockHistoryRoute$Outbound; -} - export function createProjectBlockHistoryRouteToJSON( createProjectBlockHistoryRoute: CreateProjectBlockHistoryRoute, ): string { @@ -13200,7 +10554,6 @@ export function createProjectBlockHistoryRouteToJSON( ), ); } - export function createProjectBlockHistoryRouteFromJSON( jsonString: string, ): SafeParseResult { @@ -13229,7 +10582,6 @@ export const CreateProjectBlockHistory3$inboundSchema: z.ZodType< comment: z.string().optional(), isCascading: z.boolean().optional(), }); - /** @internal */ export type CreateProjectBlockHistory3$Outbound = { action: string; @@ -13261,19 +10613,6 @@ export const CreateProjectBlockHistory3$outboundSchema: z.ZodType< isCascading: 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 CreateProjectBlockHistory3$ { - /** @deprecated use `CreateProjectBlockHistory3$inboundSchema` instead. */ - export const inboundSchema = CreateProjectBlockHistory3$inboundSchema; - /** @deprecated use `CreateProjectBlockHistory3$outboundSchema` instead. */ - export const outboundSchema = CreateProjectBlockHistory3$outboundSchema; - /** @deprecated use `CreateProjectBlockHistory3$Outbound` instead. */ - export type Outbound = CreateProjectBlockHistory3$Outbound; -} - export function createProjectBlockHistory3ToJSON( createProjectBlockHistory3: CreateProjectBlockHistory3, ): string { @@ -13281,7 +10620,6 @@ export function createProjectBlockHistory3ToJSON( CreateProjectBlockHistory3$outboundSchema.parse(createProjectBlockHistory3), ); } - export function createProjectBlockHistory3FromJSON( jsonString: string, ): SafeParseResult { @@ -13296,25 +10634,11 @@ export function createProjectBlockHistory3FromJSON( export const CreateProjectBlockHistoryProjectsAction$inboundSchema: z.ZodNativeEnum = z .nativeEnum(CreateProjectBlockHistoryProjectsAction); - /** @internal */ export const CreateProjectBlockHistoryProjectsAction$outboundSchema: z.ZodNativeEnum = CreateProjectBlockHistoryProjectsAction$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectBlockHistoryProjectsAction$ { - /** @deprecated use `CreateProjectBlockHistoryProjectsAction$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectBlockHistoryProjectsAction$inboundSchema; - /** @deprecated use `CreateProjectBlockHistoryProjectsAction$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectBlockHistoryProjectsAction$outboundSchema; -} - /** @internal */ export const CreateProjectBlockHistory2$inboundSchema: z.ZodType< CreateProjectBlockHistory2, @@ -13328,7 +10652,6 @@ export const CreateProjectBlockHistory2$inboundSchema: z.ZodType< comment: z.string().optional(), isCascading: z.boolean().optional(), }); - /** @internal */ export type CreateProjectBlockHistory2$Outbound = { action: string; @@ -13353,19 +10676,6 @@ export const CreateProjectBlockHistory2$outboundSchema: z.ZodType< isCascading: 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 CreateProjectBlockHistory2$ { - /** @deprecated use `CreateProjectBlockHistory2$inboundSchema` instead. */ - export const inboundSchema = CreateProjectBlockHistory2$inboundSchema; - /** @deprecated use `CreateProjectBlockHistory2$outboundSchema` instead. */ - export const outboundSchema = CreateProjectBlockHistory2$outboundSchema; - /** @deprecated use `CreateProjectBlockHistory2$Outbound` instead. */ - export type Outbound = CreateProjectBlockHistory2$Outbound; -} - export function createProjectBlockHistory2ToJSON( createProjectBlockHistory2: CreateProjectBlockHistory2, ): string { @@ -13373,7 +10683,6 @@ export function createProjectBlockHistory2ToJSON( CreateProjectBlockHistory2$outboundSchema.parse(createProjectBlockHistory2), ); } - export function createProjectBlockHistory2FromJSON( jsonString: string, ): SafeParseResult { @@ -13388,23 +10697,11 @@ export function createProjectBlockHistory2FromJSON( export const CreateProjectBlockHistoryAction$inboundSchema: z.ZodNativeEnum< typeof CreateProjectBlockHistoryAction > = z.nativeEnum(CreateProjectBlockHistoryAction); - /** @internal */ export const CreateProjectBlockHistoryAction$outboundSchema: z.ZodNativeEnum< typeof CreateProjectBlockHistoryAction > = CreateProjectBlockHistoryAction$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectBlockHistoryAction$ { - /** @deprecated use `CreateProjectBlockHistoryAction$inboundSchema` instead. */ - export const inboundSchema = CreateProjectBlockHistoryAction$inboundSchema; - /** @deprecated use `CreateProjectBlockHistoryAction$outboundSchema` instead. */ - export const outboundSchema = CreateProjectBlockHistoryAction$outboundSchema; -} - /** @internal */ export const CreateProjectBlockHistory1$inboundSchema: z.ZodType< CreateProjectBlockHistory1, @@ -13420,7 +10717,6 @@ export const CreateProjectBlockHistory1$inboundSchema: z.ZodType< comment: z.string().optional(), isCascading: z.boolean().optional(), }); - /** @internal */ export type CreateProjectBlockHistory1$Outbound = { action: string; @@ -13449,19 +10745,6 @@ export const CreateProjectBlockHistory1$outboundSchema: z.ZodType< isCascading: 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 CreateProjectBlockHistory1$ { - /** @deprecated use `CreateProjectBlockHistory1$inboundSchema` instead. */ - export const inboundSchema = CreateProjectBlockHistory1$inboundSchema; - /** @deprecated use `CreateProjectBlockHistory1$outboundSchema` instead. */ - export const outboundSchema = CreateProjectBlockHistory1$outboundSchema; - /** @deprecated use `CreateProjectBlockHistory1$Outbound` instead. */ - export type Outbound = CreateProjectBlockHistory1$Outbound; -} - export function createProjectBlockHistory1ToJSON( createProjectBlockHistory1: CreateProjectBlockHistory1, ): string { @@ -13469,7 +10752,6 @@ export function createProjectBlockHistory1ToJSON( CreateProjectBlockHistory1$outboundSchema.parse(createProjectBlockHistory1), ); } - export function createProjectBlockHistory1FromJSON( jsonString: string, ): SafeParseResult { @@ -13491,7 +10773,6 @@ export const CreateProjectBlockHistory$inboundSchema: z.ZodType< z.lazy(() => CreateProjectBlockHistory4$inboundSchema), z.lazy(() => CreateProjectBlockHistory2$inboundSchema), ]); - /** @internal */ export type CreateProjectBlockHistory$Outbound = | CreateProjectBlockHistory1$Outbound @@ -13511,19 +10792,6 @@ export const CreateProjectBlockHistory$outboundSchema: z.ZodType< z.lazy(() => CreateProjectBlockHistory2$outboundSchema), ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectBlockHistory$ { - /** @deprecated use `CreateProjectBlockHistory$inboundSchema` instead. */ - export const inboundSchema = CreateProjectBlockHistory$inboundSchema; - /** @deprecated use `CreateProjectBlockHistory$outboundSchema` instead. */ - export const outboundSchema = CreateProjectBlockHistory$outboundSchema; - /** @deprecated use `CreateProjectBlockHistory$Outbound` instead. */ - export type Outbound = CreateProjectBlockHistory$Outbound; -} - export function createProjectBlockHistoryToJSON( createProjectBlockHistory: CreateProjectBlockHistory, ): string { @@ -13531,7 +10799,6 @@ export function createProjectBlockHistoryToJSON( CreateProjectBlockHistory$outboundSchema.parse(createProjectBlockHistory), ); } - export function createProjectBlockHistoryFromJSON( jsonString: string, ): SafeParseResult { @@ -13560,8 +10827,8 @@ export const CreateProjectAbuse$inboundSchema: z.ZodType< z.lazy(() => CreateProjectBlockHistory2$inboundSchema), ]), ).optional(), + interstitial: z.boolean().optional(), }); - /** @internal */ export type CreateProjectAbuse$Outbound = { scanner?: string | undefined; @@ -13576,6 +10843,7 @@ export type CreateProjectAbuse$Outbound = { | CreateProjectBlockHistory2$Outbound > | undefined; + interstitial?: boolean | undefined; }; /** @internal */ @@ -13596,21 +10864,9 @@ export const CreateProjectAbuse$outboundSchema: z.ZodType< z.lazy(() => CreateProjectBlockHistory2$outboundSchema), ]), ).optional(), + interstitial: 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 CreateProjectAbuse$ { - /** @deprecated use `CreateProjectAbuse$inboundSchema` instead. */ - export const inboundSchema = CreateProjectAbuse$inboundSchema; - /** @deprecated use `CreateProjectAbuse$outboundSchema` instead. */ - export const outboundSchema = CreateProjectAbuse$outboundSchema; - /** @deprecated use `CreateProjectAbuse$Outbound` instead. */ - export type Outbound = CreateProjectAbuse$Outbound; -} - export function createProjectAbuseToJSON( createProjectAbuse: CreateProjectAbuse, ): string { @@ -13618,7 +10874,6 @@ export function createProjectAbuseToJSON( CreateProjectAbuse$outboundSchema.parse(createProjectAbuse), ); } - export function createProjectAbuseFromJSON( jsonString: string, ): SafeParseResult { @@ -13633,23 +10888,11 @@ export function createProjectAbuseFromJSON( export const CreateProjectHasProjectsType$inboundSchema: z.ZodNativeEnum< typeof CreateProjectHasProjectsType > = z.nativeEnum(CreateProjectHasProjectsType); - /** @internal */ export const CreateProjectHasProjectsType$outboundSchema: z.ZodNativeEnum< typeof CreateProjectHasProjectsType > = CreateProjectHasProjectsType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectHasProjectsType$ { - /** @deprecated use `CreateProjectHasProjectsType$inboundSchema` instead. */ - export const inboundSchema = CreateProjectHasProjectsType$inboundSchema; - /** @deprecated use `CreateProjectHasProjectsType$outboundSchema` instead. */ - export const outboundSchema = CreateProjectHasProjectsType$outboundSchema; -} - /** @internal */ export const CreateProjectHasProjectsValue$inboundSchema: z.ZodType< CreateProjectHasProjectsValue, @@ -13658,7 +10901,6 @@ export const CreateProjectHasProjectsValue$inboundSchema: z.ZodType< > = z.object({ eq: z.string(), }); - /** @internal */ export type CreateProjectHasProjectsValue$Outbound = { eq: string; @@ -13673,19 +10915,6 @@ export const CreateProjectHasProjectsValue$outboundSchema: z.ZodType< eq: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectHasProjectsValue$ { - /** @deprecated use `CreateProjectHasProjectsValue$inboundSchema` instead. */ - export const inboundSchema = CreateProjectHasProjectsValue$inboundSchema; - /** @deprecated use `CreateProjectHasProjectsValue$outboundSchema` instead. */ - export const outboundSchema = CreateProjectHasProjectsValue$outboundSchema; - /** @deprecated use `CreateProjectHasProjectsValue$Outbound` instead. */ - export type Outbound = CreateProjectHasProjectsValue$Outbound; -} - export function createProjectHasProjectsValueToJSON( createProjectHasProjectsValue: CreateProjectHasProjectsValue, ): string { @@ -13695,7 +10924,6 @@ export function createProjectHasProjectsValueToJSON( ), ); } - export function createProjectHasProjectsValueFromJSON( jsonString: string, ): SafeParseResult { @@ -13715,7 +10943,6 @@ export const CreateProjectHas2$inboundSchema: z.ZodType< type: CreateProjectHasProjectsType$inboundSchema, value: z.lazy(() => CreateProjectHasProjectsValue$inboundSchema), }); - /** @internal */ export type CreateProjectHas2$Outbound = { type: string; @@ -13732,19 +10959,6 @@ export const CreateProjectHas2$outboundSchema: z.ZodType< value: z.lazy(() => CreateProjectHasProjectsValue$outboundSchema), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectHas2$ { - /** @deprecated use `CreateProjectHas2$inboundSchema` instead. */ - export const inboundSchema = CreateProjectHas2$inboundSchema; - /** @deprecated use `CreateProjectHas2$outboundSchema` instead. */ - export const outboundSchema = CreateProjectHas2$outboundSchema; - /** @deprecated use `CreateProjectHas2$Outbound` instead. */ - export type Outbound = CreateProjectHas2$Outbound; -} - export function createProjectHas2ToJSON( createProjectHas2: CreateProjectHas2, ): string { @@ -13752,7 +10966,6 @@ export function createProjectHas2ToJSON( CreateProjectHas2$outboundSchema.parse(createProjectHas2), ); } - export function createProjectHas2FromJSON( jsonString: string, ): SafeParseResult { @@ -13767,42 +10980,18 @@ export function createProjectHas2FromJSON( export const CreateProjectHasType$inboundSchema: z.ZodNativeEnum< typeof CreateProjectHasType > = z.nativeEnum(CreateProjectHasType); - /** @internal */ export const CreateProjectHasType$outboundSchema: z.ZodNativeEnum< typeof CreateProjectHasType > = CreateProjectHasType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectHasType$ { - /** @deprecated use `CreateProjectHasType$inboundSchema` instead. */ - export const inboundSchema = CreateProjectHasType$inboundSchema; - /** @deprecated use `CreateProjectHasType$outboundSchema` instead. */ - export const outboundSchema = CreateProjectHasType$outboundSchema; -} - /** @internal */ export const HasKey$inboundSchema: z.ZodNativeEnum = z .nativeEnum(HasKey); - /** @internal */ export const HasKey$outboundSchema: z.ZodNativeEnum = HasKey$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace HasKey$ { - /** @deprecated use `HasKey$inboundSchema` instead. */ - export const inboundSchema = HasKey$inboundSchema; - /** @deprecated use `HasKey$outboundSchema` instead. */ - export const outboundSchema = HasKey$outboundSchema; -} - /** @internal */ export const CreateProjectHasValue$inboundSchema: z.ZodType< CreateProjectHasValue, @@ -13811,7 +11000,6 @@ export const CreateProjectHasValue$inboundSchema: z.ZodType< > = z.object({ eq: z.string(), }); - /** @internal */ export type CreateProjectHasValue$Outbound = { eq: string; @@ -13826,19 +11014,6 @@ export const CreateProjectHasValue$outboundSchema: z.ZodType< eq: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectHasValue$ { - /** @deprecated use `CreateProjectHasValue$inboundSchema` instead. */ - export const inboundSchema = CreateProjectHasValue$inboundSchema; - /** @deprecated use `CreateProjectHasValue$outboundSchema` instead. */ - export const outboundSchema = CreateProjectHasValue$outboundSchema; - /** @deprecated use `CreateProjectHasValue$Outbound` instead. */ - export type Outbound = CreateProjectHasValue$Outbound; -} - export function createProjectHasValueToJSON( createProjectHasValue: CreateProjectHasValue, ): string { @@ -13846,7 +11021,6 @@ export function createProjectHasValueToJSON( CreateProjectHasValue$outboundSchema.parse(createProjectHasValue), ); } - export function createProjectHasValueFromJSON( jsonString: string, ): SafeParseResult { @@ -13867,7 +11041,6 @@ export const CreateProjectHas1$inboundSchema: z.ZodType< key: HasKey$inboundSchema, value: z.lazy(() => CreateProjectHasValue$inboundSchema), }); - /** @internal */ export type CreateProjectHas1$Outbound = { type: string; @@ -13886,19 +11059,6 @@ export const CreateProjectHas1$outboundSchema: z.ZodType< value: z.lazy(() => CreateProjectHasValue$outboundSchema), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectHas1$ { - /** @deprecated use `CreateProjectHas1$inboundSchema` instead. */ - export const inboundSchema = CreateProjectHas1$inboundSchema; - /** @deprecated use `CreateProjectHas1$outboundSchema` instead. */ - export const outboundSchema = CreateProjectHas1$outboundSchema; - /** @deprecated use `CreateProjectHas1$Outbound` instead. */ - export type Outbound = CreateProjectHas1$Outbound; -} - export function createProjectHas1ToJSON( createProjectHas1: CreateProjectHas1, ): string { @@ -13906,7 +11066,6 @@ export function createProjectHas1ToJSON( CreateProjectHas1$outboundSchema.parse(createProjectHas1), ); } - export function createProjectHas1FromJSON( jsonString: string, ): SafeParseResult { @@ -13926,7 +11085,6 @@ export const InternalRoutesHas$inboundSchema: z.ZodType< z.lazy(() => CreateProjectHas1$inboundSchema), z.lazy(() => CreateProjectHas2$inboundSchema), ]); - /** @internal */ export type InternalRoutesHas$Outbound = | CreateProjectHas1$Outbound @@ -13942,19 +11100,6 @@ export const InternalRoutesHas$outboundSchema: z.ZodType< z.lazy(() => CreateProjectHas2$outboundSchema), ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace InternalRoutesHas$ { - /** @deprecated use `InternalRoutesHas$inboundSchema` instead. */ - export const inboundSchema = InternalRoutesHas$inboundSchema; - /** @deprecated use `InternalRoutesHas$outboundSchema` instead. */ - export const outboundSchema = InternalRoutesHas$outboundSchema; - /** @deprecated use `InternalRoutesHas$Outbound` instead. */ - export type Outbound = InternalRoutesHas$Outbound; -} - export function internalRoutesHasToJSON( internalRoutesHas: InternalRoutesHas, ): string { @@ -13962,7 +11107,6 @@ export function internalRoutesHasToJSON( InternalRoutesHas$outboundSchema.parse(internalRoutesHas), ); } - export function internalRoutesHasFromJSON( jsonString: string, ): SafeParseResult { @@ -13977,24 +11121,11 @@ export function internalRoutesHasFromJSON( export const CreateProjectInternalRoutesAction$inboundSchema: z.ZodNativeEnum< typeof CreateProjectInternalRoutesAction > = z.nativeEnum(CreateProjectInternalRoutesAction); - /** @internal */ export const CreateProjectInternalRoutesAction$outboundSchema: z.ZodNativeEnum< typeof CreateProjectInternalRoutesAction > = CreateProjectInternalRoutesAction$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectInternalRoutesAction$ { - /** @deprecated use `CreateProjectInternalRoutesAction$inboundSchema` instead. */ - export const inboundSchema = CreateProjectInternalRoutesAction$inboundSchema; - /** @deprecated use `CreateProjectInternalRoutesAction$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectInternalRoutesAction$outboundSchema; -} - /** @internal */ export const InternalRoutesMitigate$inboundSchema: z.ZodType< InternalRoutesMitigate, @@ -14003,7 +11134,6 @@ export const InternalRoutesMitigate$inboundSchema: z.ZodType< > = z.object({ action: CreateProjectInternalRoutesAction$inboundSchema, }); - /** @internal */ export type InternalRoutesMitigate$Outbound = { action: string; @@ -14018,19 +11148,6 @@ export const InternalRoutesMitigate$outboundSchema: z.ZodType< action: CreateProjectInternalRoutesAction$outboundSchema, }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace InternalRoutesMitigate$ { - /** @deprecated use `InternalRoutesMitigate$inboundSchema` instead. */ - export const inboundSchema = InternalRoutesMitigate$inboundSchema; - /** @deprecated use `InternalRoutesMitigate$outboundSchema` instead. */ - export const outboundSchema = InternalRoutesMitigate$outboundSchema; - /** @deprecated use `InternalRoutesMitigate$Outbound` instead. */ - export type Outbound = InternalRoutesMitigate$Outbound; -} - export function internalRoutesMitigateToJSON( internalRoutesMitigate: InternalRoutesMitigate, ): string { @@ -14038,7 +11155,6 @@ export function internalRoutesMitigateToJSON( InternalRoutesMitigate$outboundSchema.parse(internalRoutesMitigate), ); } - export function internalRoutesMitigateFromJSON( jsonString: string, ): SafeParseResult { @@ -14064,7 +11180,6 @@ export const CreateProjectInternalRoutes2$inboundSchema: z.ZodType< mitigate: z.lazy(() => InternalRoutesMitigate$inboundSchema), src: z.string().optional(), }); - /** @internal */ export type CreateProjectInternalRoutes2$Outbound = { has: Array; @@ -14088,19 +11203,6 @@ export const CreateProjectInternalRoutes2$outboundSchema: z.ZodType< src: z.string().optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectInternalRoutes2$ { - /** @deprecated use `CreateProjectInternalRoutes2$inboundSchema` instead. */ - export const inboundSchema = CreateProjectInternalRoutes2$inboundSchema; - /** @deprecated use `CreateProjectInternalRoutes2$outboundSchema` instead. */ - export const outboundSchema = CreateProjectInternalRoutes2$outboundSchema; - /** @deprecated use `CreateProjectInternalRoutes2$Outbound` instead. */ - export type Outbound = CreateProjectInternalRoutes2$Outbound; -} - export function createProjectInternalRoutes2ToJSON( createProjectInternalRoutes2: CreateProjectInternalRoutes2, ): string { @@ -14110,7 +11212,6 @@ export function createProjectInternalRoutes2ToJSON( ), ); } - export function createProjectInternalRoutes2FromJSON( jsonString: string, ): SafeParseResult { @@ -14130,7 +11231,6 @@ export const CreateProjectInternalRoutes1$inboundSchema: z.ZodType< src: z.string(), status: z.number(), }); - /** @internal */ export type CreateProjectInternalRoutes1$Outbound = { src: string; @@ -14147,19 +11247,6 @@ export const CreateProjectInternalRoutes1$outboundSchema: z.ZodType< status: 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 CreateProjectInternalRoutes1$ { - /** @deprecated use `CreateProjectInternalRoutes1$inboundSchema` instead. */ - export const inboundSchema = CreateProjectInternalRoutes1$inboundSchema; - /** @deprecated use `CreateProjectInternalRoutes1$outboundSchema` instead. */ - export const outboundSchema = CreateProjectInternalRoutes1$outboundSchema; - /** @deprecated use `CreateProjectInternalRoutes1$Outbound` instead. */ - export type Outbound = CreateProjectInternalRoutes1$Outbound; -} - export function createProjectInternalRoutes1ToJSON( createProjectInternalRoutes1: CreateProjectInternalRoutes1, ): string { @@ -14169,7 +11256,6 @@ export function createProjectInternalRoutes1ToJSON( ), ); } - export function createProjectInternalRoutes1FromJSON( jsonString: string, ): SafeParseResult { @@ -14189,7 +11275,6 @@ export const CreateProjectInternalRoutes$inboundSchema: z.ZodType< z.lazy(() => CreateProjectInternalRoutes1$inboundSchema), z.lazy(() => CreateProjectInternalRoutes2$inboundSchema), ]); - /** @internal */ export type CreateProjectInternalRoutes$Outbound = | CreateProjectInternalRoutes1$Outbound @@ -14205,19 +11290,6 @@ export const CreateProjectInternalRoutes$outboundSchema: z.ZodType< z.lazy(() => CreateProjectInternalRoutes2$outboundSchema), ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectInternalRoutes$ { - /** @deprecated use `CreateProjectInternalRoutes$inboundSchema` instead. */ - export const inboundSchema = CreateProjectInternalRoutes$inboundSchema; - /** @deprecated use `CreateProjectInternalRoutes$outboundSchema` instead. */ - export const outboundSchema = CreateProjectInternalRoutes$outboundSchema; - /** @deprecated use `CreateProjectInternalRoutes$Outbound` instead. */ - export type Outbound = CreateProjectInternalRoutes$Outbound; -} - export function createProjectInternalRoutesToJSON( createProjectInternalRoutes: CreateProjectInternalRoutes, ): string { @@ -14227,7 +11299,6 @@ export function createProjectInternalRoutesToJSON( ), ); } - export function createProjectInternalRoutesFromJSON( jsonString: string, ): SafeParseResult { @@ -14238,6 +11309,234 @@ export function createProjectInternalRoutesFromJSON( ); } +/** @internal */ +export const CreateProjectAction$inboundSchema: z.ZodNativeEnum< + typeof CreateProjectAction +> = z.nativeEnum(CreateProjectAction); +/** @internal */ +export const CreateProjectAction$outboundSchema: z.ZodNativeEnum< + typeof CreateProjectAction +> = CreateProjectAction$inboundSchema; + +/** @internal */ +export const ValuePreviousValue$inboundSchema: z.ZodType< + ValuePreviousValue, + z.ZodTypeDef, + unknown +> = z.union([z.string(), z.number(), z.boolean()]); +/** @internal */ +export type ValuePreviousValue$Outbound = string | number | boolean; + +/** @internal */ +export const ValuePreviousValue$outboundSchema: z.ZodType< + ValuePreviousValue$Outbound, + z.ZodTypeDef, + ValuePreviousValue +> = z.union([z.string(), z.number(), z.boolean()]); + +export function valuePreviousValueToJSON( + valuePreviousValue: ValuePreviousValue, +): string { + return JSON.stringify( + ValuePreviousValue$outboundSchema.parse(valuePreviousValue), + ); +} +export function valuePreviousValueFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ValuePreviousValue$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ValuePreviousValue' from JSON`, + ); +} + +/** @internal */ +export const ValueCurrentValue$inboundSchema: z.ZodType< + ValueCurrentValue, + z.ZodTypeDef, + unknown +> = z.union([z.string(), z.number(), z.boolean()]); +/** @internal */ +export type ValueCurrentValue$Outbound = string | number | boolean; + +/** @internal */ +export const ValueCurrentValue$outboundSchema: z.ZodType< + ValueCurrentValue$Outbound, + z.ZodTypeDef, + ValueCurrentValue +> = z.union([z.string(), z.number(), z.boolean()]); + +export function valueCurrentValueToJSON( + valueCurrentValue: ValueCurrentValue, +): string { + return JSON.stringify( + ValueCurrentValue$outboundSchema.parse(valueCurrentValue), + ); +} +export function valueCurrentValueFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ValueCurrentValue$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ValueCurrentValue' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectValue4$inboundSchema: z.ZodType< + CreateProjectValue4, + z.ZodTypeDef, + unknown +> = z.object({ + previousValue: z.union([z.string(), z.number(), z.boolean()]), + currentValue: z.union([z.string(), z.number(), z.boolean()]), +}); +/** @internal */ +export type CreateProjectValue4$Outbound = { + previousValue: string | number | boolean; + currentValue: string | number | boolean; +}; + +/** @internal */ +export const CreateProjectValue4$outboundSchema: z.ZodType< + CreateProjectValue4$Outbound, + z.ZodTypeDef, + CreateProjectValue4 +> = z.object({ + previousValue: z.union([z.string(), z.number(), z.boolean()]), + currentValue: z.union([z.string(), z.number(), z.boolean()]), +}); + +export function createProjectValue4ToJSON( + createProjectValue4: CreateProjectValue4, +): string { + return JSON.stringify( + CreateProjectValue4$outboundSchema.parse(createProjectValue4), + ); +} +export function createProjectValue4FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectValue4$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectValue4' from JSON`, + ); +} + +/** @internal */ +export const CreateProjectValue$inboundSchema: z.ZodType< + CreateProjectValue, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => CreateProjectValue4$inboundSchema), + z.string(), + z.number(), + z.boolean(), +]); +/** @internal */ +export type CreateProjectValue$Outbound = + | CreateProjectValue4$Outbound + | string + | number + | boolean; + +/** @internal */ +export const CreateProjectValue$outboundSchema: z.ZodType< + CreateProjectValue$Outbound, + z.ZodTypeDef, + CreateProjectValue +> = z.union([ + z.lazy(() => CreateProjectValue4$outboundSchema), + z.string(), + z.number(), + z.boolean(), +]); + +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 CreateProjectDismissedToasts$inboundSchema: z.ZodType< + CreateProjectDismissedToasts, + z.ZodTypeDef, + unknown +> = z.object({ + key: z.string(), + dismissedAt: z.number(), + action: CreateProjectAction$inboundSchema, + value: z.nullable( + z.union([ + z.lazy(() => CreateProjectValue4$inboundSchema), + z.string(), + z.number(), + z.boolean(), + ]), + ), +}); +/** @internal */ +export type CreateProjectDismissedToasts$Outbound = { + key: string; + dismissedAt: number; + action: string; + value: CreateProjectValue4$Outbound | string | number | boolean | null; +}; + +/** @internal */ +export const CreateProjectDismissedToasts$outboundSchema: z.ZodType< + CreateProjectDismissedToasts$Outbound, + z.ZodTypeDef, + CreateProjectDismissedToasts +> = z.object({ + key: z.string(), + dismissedAt: z.number(), + action: CreateProjectAction$outboundSchema, + value: z.nullable( + z.union([ + z.lazy(() => CreateProjectValue4$outboundSchema), + z.string(), + z.number(), + z.boolean(), + ]), + ), +}); + +export function createProjectDismissedToastsToJSON( + createProjectDismissedToasts: CreateProjectDismissedToasts, +): string { + return JSON.stringify( + CreateProjectDismissedToasts$outboundSchema.parse( + createProjectDismissedToasts, + ), + ); +} +export function createProjectDismissedToastsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateProjectDismissedToasts$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateProjectDismissedToasts' from JSON`, + ); +} + /** @internal */ export const CreateProjectResponseBody$inboundSchema: z.ZodType< CreateProjectResponseBody, @@ -14293,6 +11592,7 @@ export const CreateProjectResponseBody$inboundSchema: z.ZodType< microfrontends: z.union([ z.lazy(() => CreateProjectMicrofrontends1$inboundSchema), z.lazy(() => CreateProjectMicrofrontends2$inboundSchema), + z.lazy(() => CreateProjectMicrofrontends3$inboundSchema), ]).optional(), name: z.string(), nodeVersion: CreateProjectNodeVersion$inboundSchema, @@ -14322,6 +11622,7 @@ export const CreateProjectResponseBody$inboundSchema: z.ZodType< skewProtectionBoundaryAt: z.number().optional(), skewProtectionMaxAge: z.number().optional(), skipGitConnectDuringLink: z.boolean().optional(), + staticIps: z.lazy(() => CreateProjectStaticIps$inboundSchema).optional(), sourceFilesOutsideRootDirectory: z.boolean().optional(), enableAffectedProjectsDeployments: z.boolean().optional(), ssoProtection: z.nullable( @@ -14379,8 +11680,11 @@ export const CreateProjectResponseBody$inboundSchema: z.ZodType< z.lazy(() => CreateProjectInternalRoutes2$inboundSchema), ]), ).optional(), + hasDeployments: z.boolean().optional(), + dismissedToasts: z.array( + z.lazy(() => CreateProjectDismissedToasts$inboundSchema), + ).optional(), }); - /** @internal */ export type CreateProjectResponseBody$Outbound = { accountId: string; @@ -14431,6 +11735,7 @@ export type CreateProjectResponseBody$Outbound = { microfrontends?: | CreateProjectMicrofrontends1$Outbound | CreateProjectMicrofrontends2$Outbound + | CreateProjectMicrofrontends3$Outbound | undefined; name: string; nodeVersion: string; @@ -14451,6 +11756,7 @@ export type CreateProjectResponseBody$Outbound = { skewProtectionBoundaryAt?: number | undefined; skewProtectionMaxAge?: number | undefined; skipGitConnectDuringLink?: boolean | undefined; + staticIps?: CreateProjectStaticIps$Outbound | undefined; sourceFilesOutsideRootDirectory?: boolean | undefined; enableAffectedProjectsDeployments?: boolean | undefined; ssoProtection?: @@ -14500,6 +11806,8 @@ export type CreateProjectResponseBody$Outbound = { | CreateProjectInternalRoutes2$Outbound > | undefined; + hasDeployments?: boolean | undefined; + dismissedToasts?: Array | undefined; }; /** @internal */ @@ -14557,6 +11865,7 @@ export const CreateProjectResponseBody$outboundSchema: z.ZodType< microfrontends: z.union([ z.lazy(() => CreateProjectMicrofrontends1$outboundSchema), z.lazy(() => CreateProjectMicrofrontends2$outboundSchema), + z.lazy(() => CreateProjectMicrofrontends3$outboundSchema), ]).optional(), name: z.string(), nodeVersion: CreateProjectNodeVersion$outboundSchema, @@ -14586,6 +11895,7 @@ export const CreateProjectResponseBody$outboundSchema: z.ZodType< skewProtectionBoundaryAt: z.number().optional(), skewProtectionMaxAge: z.number().optional(), skipGitConnectDuringLink: z.boolean().optional(), + staticIps: z.lazy(() => CreateProjectStaticIps$outboundSchema).optional(), sourceFilesOutsideRootDirectory: z.boolean().optional(), enableAffectedProjectsDeployments: z.boolean().optional(), ssoProtection: z.nullable( @@ -14643,21 +11953,12 @@ export const CreateProjectResponseBody$outboundSchema: z.ZodType< z.lazy(() => CreateProjectInternalRoutes2$outboundSchema), ]), ).optional(), + hasDeployments: z.boolean().optional(), + dismissedToasts: z.array( + z.lazy(() => CreateProjectDismissedToasts$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 { @@ -14665,7 +11966,6 @@ export function createProjectResponseBodyToJSON( CreateProjectResponseBody$outboundSchema.parse(createProjectResponseBody), ); } - export function createProjectResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/createprojecttransferrequestop.ts b/src/models/createprojecttransferrequestop.ts index 95a18e796..d1d662e95 100644 --- a/src/models/createprojecttransferrequestop.ts +++ b/src/models/createprojecttransferrequestop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; @@ -54,7 +54,6 @@ export const CreateProjectTransferRequestRequestBody$inboundSchema: z.ZodType< callbackUrl: z.string().optional(), callbackSecret: z.string().optional(), }); - /** @internal */ export type CreateProjectTransferRequestRequestBody$Outbound = { callbackUrl?: string | undefined; @@ -71,21 +70,6 @@ export const CreateProjectTransferRequestRequestBody$outboundSchema: z.ZodType< callbackSecret: z.string().optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectTransferRequestRequestBody$ { - /** @deprecated use `CreateProjectTransferRequestRequestBody$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectTransferRequestRequestBody$inboundSchema; - /** @deprecated use `CreateProjectTransferRequestRequestBody$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectTransferRequestRequestBody$outboundSchema; - /** @deprecated use `CreateProjectTransferRequestRequestBody$Outbound` instead. */ - export type Outbound = CreateProjectTransferRequestRequestBody$Outbound; -} - export function createProjectTransferRequestRequestBodyToJSON( createProjectTransferRequestRequestBody: CreateProjectTransferRequestRequestBody, @@ -96,7 +80,6 @@ export function createProjectTransferRequestRequestBodyToJSON( ), ); } - export function createProjectTransferRequestRequestBodyFromJSON( jsonString: string, ): SafeParseResult< @@ -130,7 +113,6 @@ export const CreateProjectTransferRequestRequest$inboundSchema: z.ZodType< "RequestBody": "requestBody", }); }); - /** @internal */ export type CreateProjectTransferRequestRequest$Outbound = { idOrName: string; @@ -157,21 +139,6 @@ export const CreateProjectTransferRequestRequest$outboundSchema: z.ZodType< }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectTransferRequestRequest$ { - /** @deprecated use `CreateProjectTransferRequestRequest$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectTransferRequestRequest$inboundSchema; - /** @deprecated use `CreateProjectTransferRequestRequest$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectTransferRequestRequest$outboundSchema; - /** @deprecated use `CreateProjectTransferRequestRequest$Outbound` instead. */ - export type Outbound = CreateProjectTransferRequestRequest$Outbound; -} - export function createProjectTransferRequestRequestToJSON( createProjectTransferRequestRequest: CreateProjectTransferRequestRequest, ): string { @@ -181,7 +148,6 @@ export function createProjectTransferRequestRequestToJSON( ), ); } - export function createProjectTransferRequestRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -201,7 +167,6 @@ export const CreateProjectTransferRequestResponseBody$inboundSchema: z.ZodType< > = z.object({ code: z.string(), }); - /** @internal */ export type CreateProjectTransferRequestResponseBody$Outbound = { code: string; @@ -216,21 +181,6 @@ export const CreateProjectTransferRequestResponseBody$outboundSchema: z.ZodType< code: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateProjectTransferRequestResponseBody$ { - /** @deprecated use `CreateProjectTransferRequestResponseBody$inboundSchema` instead. */ - export const inboundSchema = - CreateProjectTransferRequestResponseBody$inboundSchema; - /** @deprecated use `CreateProjectTransferRequestResponseBody$outboundSchema` instead. */ - export const outboundSchema = - CreateProjectTransferRequestResponseBody$outboundSchema; - /** @deprecated use `CreateProjectTransferRequestResponseBody$Outbound` instead. */ - export type Outbound = CreateProjectTransferRequestResponseBody$Outbound; -} - export function createProjectTransferRequestResponseBodyToJSON( createProjectTransferRequestResponseBody: CreateProjectTransferRequestResponseBody, @@ -241,7 +191,6 @@ export function createProjectTransferRequestResponseBodyToJSON( ), ); } - export function createProjectTransferRequestResponseBodyFromJSON( jsonString: string, ): SafeParseResult< diff --git a/src/models/createrecordop.ts b/src/models/createrecordop.ts index 4b2bc022b..68b917639 100644 --- a/src/models/createrecordop.ts +++ b/src/models/createrecordop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; @@ -514,25 +514,11 @@ export type CreateRecordResponseBody = 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, @@ -543,7 +529,6 @@ export const RequestBodyHttps$inboundSchema: z.ZodType< target: z.string(), params: z.string().optional(), }); - /** @internal */ export type RequestBodyHttps$Outbound = { priority: number | null; @@ -562,19 +547,6 @@ export const RequestBodyHttps$outboundSchema: z.ZodType< 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 { @@ -582,7 +554,6 @@ export function requestBodyHttpsToJSON( RequestBodyHttps$outboundSchema.parse(requestBodyHttps), ); } - export function requestBodyHttpsFromJSON( jsonString: string, ): SafeParseResult { @@ -604,7 +575,6 @@ export const RequestBody10$inboundSchema: z.ZodType< https: z.lazy(() => RequestBodyHttps$inboundSchema), comment: z.string().optional(), }); - /** @internal */ export type RequestBody10$Outbound = { type: string; @@ -625,23 +595,9 @@ export const RequestBody10$outboundSchema: z.ZodType< 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 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 { @@ -657,25 +613,11 @@ 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 RequestBody9$inboundSchema: z.ZodType< RequestBody9, @@ -688,7 +630,6 @@ export const RequestBody9$inboundSchema: z.ZodType< value: z.string().optional(), comment: z.string().optional(), }); - /** @internal */ export type RequestBody9$Outbound = { name: string; @@ -711,23 +652,9 @@ export const RequestBody9$outboundSchema: z.ZodType< 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 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 { @@ -743,25 +670,11 @@ 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 RequestBody8$inboundSchema: z.ZodType< RequestBody8, @@ -773,7 +686,6 @@ export const RequestBody8$inboundSchema: z.ZodType< value: z.string(), comment: z.string().optional(), }); - /** @internal */ export type RequestBody8$Outbound = { type: string; @@ -794,23 +706,9 @@ export const RequestBody8$outboundSchema: z.ZodType< 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 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 { @@ -826,25 +724,11 @@ 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, @@ -856,7 +740,6 @@ export const RequestBodySrv$inboundSchema: z.ZodType< port: z.nullable(z.number()), target: z.string(), }); - /** @internal */ export type RequestBodySrv$Outbound = { priority: number | null; @@ -877,23 +760,9 @@ export const RequestBodySrv$outboundSchema: z.ZodType< 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 { @@ -915,7 +784,6 @@ export const RequestBody7$inboundSchema: z.ZodType< srv: z.lazy(() => RequestBodySrv$inboundSchema), comment: z.string().optional(), }); - /** @internal */ export type RequestBody7$Outbound = { type: string; @@ -936,23 +804,9 @@ export const RequestBody7$outboundSchema: z.ZodType< 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 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 { @@ -968,25 +822,11 @@ 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 RequestBody6$inboundSchema: z.ZodType< RequestBody6, @@ -1000,7 +840,6 @@ export const RequestBody6$inboundSchema: z.ZodType< mxPriority: z.number(), comment: z.string().optional(), }); - /** @internal */ export type RequestBody6$Outbound = { name: string; @@ -1025,23 +864,9 @@ export const RequestBody6$outboundSchema: z.ZodType< 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 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 { @@ -1057,25 +882,11 @@ 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, @@ -1088,7 +899,6 @@ export const RequestBody5$inboundSchema: z.ZodType< value: z.string().optional(), comment: z.string().optional(), }); - /** @internal */ export type RequestBody5$Outbound = { name: string; @@ -1111,23 +921,9 @@ export const RequestBody5$outboundSchema: z.ZodType< 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 { @@ -1143,25 +939,11 @@ 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, @@ -1174,7 +956,6 @@ export const RequestBody4$inboundSchema: z.ZodType< value: z.string(), comment: z.string().optional(), }); - /** @internal */ export type RequestBody4$Outbound = { name: string; @@ -1197,23 +978,9 @@ export const RequestBody4$outboundSchema: z.ZodType< 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 { @@ -1228,23 +995,11 @@ export function requestBody4FromJSON( 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, @@ -1257,7 +1012,6 @@ export const RequestBody3$inboundSchema: z.ZodType< value: z.string(), comment: z.string().optional(), }); - /** @internal */ export type RequestBody3$Outbound = { name: string; @@ -1280,23 +1034,9 @@ export const RequestBody3$outboundSchema: z.ZodType< 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 { @@ -1311,23 +1051,11 @@ export function requestBody3FromJSON( 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, @@ -1340,7 +1068,6 @@ export const RequestBody2$inboundSchema: z.ZodType< value: z.string(), comment: z.string().optional(), }); - /** @internal */ export type RequestBody2$Outbound = { name: string; @@ -1363,23 +1090,9 @@ export const RequestBody2$outboundSchema: z.ZodType< 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 { @@ -1394,23 +1107,11 @@ export function requestBody2FromJSON( 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, @@ -1423,7 +1124,6 @@ export const RequestBody1$inboundSchema: z.ZodType< value: z.string(), comment: z.string().optional(), }); - /** @internal */ export type RequestBody1$Outbound = { name: string; @@ -1446,23 +1146,9 @@ export const RequestBody1$outboundSchema: z.ZodType< 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 { @@ -1490,7 +1176,6 @@ export const CreateRecordRequestBody$inboundSchema: z.ZodType< z.lazy(() => RequestBody9$inboundSchema), z.lazy(() => RequestBody10$inboundSchema), ]); - /** @internal */ export type CreateRecordRequestBody$Outbound = | RequestBody6$Outbound @@ -1522,19 +1207,6 @@ export const CreateRecordRequestBody$outboundSchema: z.ZodType< z.lazy(() => RequestBody10$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 { @@ -1542,7 +1214,6 @@ export function createRecordRequestBodyToJSON( CreateRecordRequestBody$outboundSchema.parse(createRecordRequestBody), ); } - export function createRecordRequestBodyFromJSON( jsonString: string, ): SafeParseResult { @@ -1579,7 +1250,6 @@ export const CreateRecordRequest$inboundSchema: z.ZodType< "RequestBody": "requestBody", }); }); - /** @internal */ export type CreateRecordRequest$Outbound = { domain: string; @@ -1625,19 +1295,6 @@ export const CreateRecordRequest$outboundSchema: z.ZodType< }); }); -/** - * @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 { @@ -1645,7 +1302,6 @@ export function createRecordRequestToJSON( CreateRecordRequest$outboundSchema.parse(createRecordRequest), ); } - export function createRecordRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -1664,7 +1320,6 @@ export const CreateRecordResponseBody2$inboundSchema: z.ZodType< > = z.object({ uid: z.string(), }); - /** @internal */ export type CreateRecordResponseBody2$Outbound = { uid: string; @@ -1679,19 +1334,6 @@ export const CreateRecordResponseBody2$outboundSchema: z.ZodType< 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 { @@ -1699,7 +1341,6 @@ export function createRecordResponseBody2ToJSON( CreateRecordResponseBody2$outboundSchema.parse(createRecordResponseBody2), ); } - export function createRecordResponseBody2FromJSON( jsonString: string, ): SafeParseResult { @@ -1719,7 +1360,6 @@ export const CreateRecordResponseBody1$inboundSchema: z.ZodType< uid: z.string(), updated: z.number(), }); - /** @internal */ export type CreateRecordResponseBody1$Outbound = { uid: string; @@ -1736,19 +1376,6 @@ export const CreateRecordResponseBody1$outboundSchema: z.ZodType< 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 { @@ -1756,7 +1383,6 @@ export function createRecordResponseBody1ToJSON( CreateRecordResponseBody1$outboundSchema.parse(createRecordResponseBody1), ); } - export function createRecordResponseBody1FromJSON( jsonString: string, ): SafeParseResult { @@ -1776,7 +1402,6 @@ export const CreateRecordResponseBody$inboundSchema: z.ZodType< z.lazy(() => CreateRecordResponseBody1$inboundSchema), z.lazy(() => CreateRecordResponseBody2$inboundSchema), ]); - /** @internal */ export type CreateRecordResponseBody$Outbound = | CreateRecordResponseBody1$Outbound @@ -1792,19 +1417,6 @@ export const CreateRecordResponseBody$outboundSchema: z.ZodType< z.lazy(() => CreateRecordResponseBody2$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 { @@ -1812,7 +1424,6 @@ export function createRecordResponseBodyToJSON( CreateRecordResponseBody$outboundSchema.parse(createRecordResponseBody), ); } - export function createRecordResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/createsharedenvvariableop.ts b/src/models/createsharedenvvariableop.ts new file mode 100644 index 000000000..c1ecbcc0d --- /dev/null +++ b/src/models/createsharedenvvariableop.ts @@ -0,0 +1,995 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +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 RequestBodyEvs = { + /** + * The name of the Shared Environment Variable + */ + key: string; + /** + * The value of the Shared Environment Variable + */ + value: string; + /** + * A comment to add context on what this Shared Environment Variable is for + */ + comment?: string | undefined; +}; + +/** + * The type of environment variable + */ +export const CreateSharedEnvVariableRequestBodyEnvironmentType = { + Encrypted: "encrypted", + Sensitive: "sensitive", +} as const; +/** + * The type of environment variable + */ +export type CreateSharedEnvVariableRequestBodyEnvironmentType = ClosedEnum< + typeof CreateSharedEnvVariableRequestBodyEnvironmentType +>; + +export const CreateSharedEnvVariableRequestBodyTarget = { + Production: "production", + Preview: "preview", + Development: "development", +} as const; +export type CreateSharedEnvVariableRequestBodyTarget = ClosedEnum< + typeof CreateSharedEnvVariableRequestBodyTarget +>; + +export type CreateSharedEnvVariableRequestBody2 = { + evs: Array; + /** + * The type of environment variable + */ + type?: CreateSharedEnvVariableRequestBodyEnvironmentType | undefined; + /** + * The target environment of the Shared Environment Variable + */ + target?: Array | undefined; + /** + * Associate a Shared Environment Variable to projects. + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + */ + projectId?: Array | undefined; +}; + +export type Evs = { + /** + * The name of the Shared Environment Variable + */ + key: string; + /** + * The value of the Shared Environment Variable + */ + value: string; + /** + * A comment to add context on what this Shared Environment Variable is for + */ + comment?: string | undefined; +}; + +/** + * The type of environment variable + */ +export const CreateSharedEnvVariableRequestBodyType = { + Encrypted: "encrypted", + Sensitive: "sensitive", +} as const; +/** + * The type of environment variable + */ +export type CreateSharedEnvVariableRequestBodyType = ClosedEnum< + typeof CreateSharedEnvVariableRequestBodyType +>; + +export const RequestBodyTarget = { + Production: "production", + Preview: "preview", + Development: "development", +} as const; +export type RequestBodyTarget = ClosedEnum; + +export type CreateSharedEnvVariableRequestBody1 = { + evs: Array; + /** + * The type of environment variable + */ + type?: CreateSharedEnvVariableRequestBodyType | undefined; + /** + * The target environment of the Shared Environment Variable + */ + target: Array; + /** + * Associate a Shared Environment Variable to projects. + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. + */ + projectId?: Array | undefined; +}; + +export type CreateSharedEnvVariableRequestBody = + | CreateSharedEnvVariableRequestBody1 + | CreateSharedEnvVariableRequestBody2; + +export type CreateSharedEnvVariableRequest = { + /** + * 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?: + | CreateSharedEnvVariableRequestBody1 + | CreateSharedEnvVariableRequestBody2 + | undefined; +}; + +/** + * The type of this cosmos doc instance, if blank, assume secret. + */ +export const CreateSharedEnvVariableType = { + Encrypted: "encrypted", + Sensitive: "sensitive", + System: "system", + Plain: "plain", +} as const; +/** + * The type of this cosmos doc instance, if blank, assume secret. + */ +export type CreateSharedEnvVariableType = ClosedEnum< + typeof CreateSharedEnvVariableType +>; + +/** + * environments this env variable targets + */ +export const CreateSharedEnvVariableTarget = { + Production: "production", + Preview: "preview", + Development: "development", +} as const; +/** + * environments this env variable targets + */ +export type CreateSharedEnvVariableTarget = ClosedEnum< + typeof CreateSharedEnvVariableTarget +>; + +export type Created = { + /** + * The date when the Shared Env Var was created. + */ + created?: Date | undefined; + /** + * The name of the Shared Env Var. + */ + key?: string | undefined; + /** + * The unique identifier of the owner (team) the Shared Env Var was created for. + */ + ownerId?: string | null | undefined; + /** + * The unique identifier of the Shared Env Var. + */ + id?: string | undefined; + /** + * The unique identifier of the user who created the Shared Env Var. + */ + createdBy?: string | null | undefined; + /** + * The unique identifier of the user who deleted the Shared Env Var. + */ + deletedBy?: string | null | undefined; + /** + * The unique identifier of the user who last updated the Shared Env Var. + */ + updatedBy?: string | null | undefined; + /** + * Timestamp for when the Shared Env Var was created. + */ + createdAt?: number | undefined; + /** + * Timestamp for when the Shared Env Var was (soft) deleted. + */ + deletedAt?: number | undefined; + /** + * Timestamp for when the Shared Env Var was last updated. + */ + updatedAt?: number | undefined; + /** + * The value of the Shared Env Var. + */ + value?: string | undefined; + /** + * The unique identifiers of the projects which the Shared Env Var is linked to. + */ + projectId?: Array | undefined; + /** + * The type of this cosmos doc instance, if blank, assume secret. + */ + type?: CreateSharedEnvVariableType | undefined; + /** + * environments this env variable targets + */ + target?: Array | undefined; + /** + * whether or not this env varible applies to custom environments + */ + applyToAllCustomEnvironments?: boolean | undefined; + /** + * whether or not this env variable is decrypted + */ + decrypted?: boolean | undefined; + /** + * A user provided comment that describes what this Shared Env Var is for. + */ + comment?: string | undefined; + /** + * The last editor full name or username. + */ + lastEditedByDisplayName?: string | undefined; +}; + +export const Value2 = { + Production: "production", + Preview: "preview", + Development: "development", +} as const; +export type Value2 = ClosedEnum; + +export type CreateSharedEnvVariableValue = string | Array; + +export const CreateSharedEnvVariableTarget2 = { + Production: "production", + Preview: "preview", + Development: "development", +} as const; +export type CreateSharedEnvVariableTarget2 = ClosedEnum< + typeof CreateSharedEnvVariableTarget2 +>; + +export const CreateSharedEnvVariableTarget1 = { + Production: "production", + Preview: "preview", + Development: "development", +} as const; +export type CreateSharedEnvVariableTarget1 = ClosedEnum< + typeof CreateSharedEnvVariableTarget1 +>; + +export type CreateSharedEnvVariableEnvironmentTarget = + | Array + | CreateSharedEnvVariableTarget2; + +export type CreateSharedEnvVariableError = { + 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 + | CreateSharedEnvVariableTarget2 + | undefined; + project?: string | undefined; +}; + +export type Failed = { + error: CreateSharedEnvVariableError; +}; + +export type CreateSharedEnvVariableResponseBody = { + created: Array; + failed: Array; +}; + +/** @internal */ +export const RequestBodyEvs$inboundSchema: z.ZodType< + RequestBodyEvs, + z.ZodTypeDef, + unknown +> = z.object({ + key: z.string(), + value: z.string(), + comment: z.string().optional(), +}); +/** @internal */ +export type RequestBodyEvs$Outbound = { + key: string; + value: string; + comment?: string | undefined; +}; + +/** @internal */ +export const RequestBodyEvs$outboundSchema: z.ZodType< + RequestBodyEvs$Outbound, + z.ZodTypeDef, + RequestBodyEvs +> = z.object({ + key: z.string(), + value: z.string(), + comment: z.string().optional(), +}); + +export function requestBodyEvsToJSON(requestBodyEvs: RequestBodyEvs): string { + return JSON.stringify(RequestBodyEvs$outboundSchema.parse(requestBodyEvs)); +} +export function requestBodyEvsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RequestBodyEvs$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RequestBodyEvs' from JSON`, + ); +} + +/** @internal */ +export const CreateSharedEnvVariableRequestBodyEnvironmentType$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(CreateSharedEnvVariableRequestBodyEnvironmentType); +/** @internal */ +export const CreateSharedEnvVariableRequestBodyEnvironmentType$outboundSchema: + z.ZodNativeEnum = + CreateSharedEnvVariableRequestBodyEnvironmentType$inboundSchema; + +/** @internal */ +export const CreateSharedEnvVariableRequestBodyTarget$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(CreateSharedEnvVariableRequestBodyTarget); +/** @internal */ +export const CreateSharedEnvVariableRequestBodyTarget$outboundSchema: + z.ZodNativeEnum = + CreateSharedEnvVariableRequestBodyTarget$inboundSchema; + +/** @internal */ +export const CreateSharedEnvVariableRequestBody2$inboundSchema: z.ZodType< + CreateSharedEnvVariableRequestBody2, + z.ZodTypeDef, + unknown +> = z.object({ + evs: z.array(z.lazy(() => RequestBodyEvs$inboundSchema)), + type: CreateSharedEnvVariableRequestBodyEnvironmentType$inboundSchema + .optional(), + target: z.array(CreateSharedEnvVariableRequestBodyTarget$inboundSchema) + .optional(), + projectId: z.array(z.string()).optional(), +}); +/** @internal */ +export type CreateSharedEnvVariableRequestBody2$Outbound = { + evs: Array; + type?: string | undefined; + target?: Array | undefined; + projectId?: Array | undefined; +}; + +/** @internal */ +export const CreateSharedEnvVariableRequestBody2$outboundSchema: z.ZodType< + CreateSharedEnvVariableRequestBody2$Outbound, + z.ZodTypeDef, + CreateSharedEnvVariableRequestBody2 +> = z.object({ + evs: z.array(z.lazy(() => RequestBodyEvs$outboundSchema)), + type: CreateSharedEnvVariableRequestBodyEnvironmentType$outboundSchema + .optional(), + target: z.array(CreateSharedEnvVariableRequestBodyTarget$outboundSchema) + .optional(), + projectId: z.array(z.string()).optional(), +}); + +export function createSharedEnvVariableRequestBody2ToJSON( + createSharedEnvVariableRequestBody2: CreateSharedEnvVariableRequestBody2, +): string { + return JSON.stringify( + CreateSharedEnvVariableRequestBody2$outboundSchema.parse( + createSharedEnvVariableRequestBody2, + ), + ); +} +export function createSharedEnvVariableRequestBody2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + CreateSharedEnvVariableRequestBody2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateSharedEnvVariableRequestBody2' from JSON`, + ); +} + +/** @internal */ +export const Evs$inboundSchema: z.ZodType = z + .object({ + key: z.string(), + value: z.string(), + comment: z.string().optional(), + }); +/** @internal */ +export type Evs$Outbound = { + key: string; + value: string; + comment?: string | undefined; +}; + +/** @internal */ +export const Evs$outboundSchema: z.ZodType = z + .object({ + key: z.string(), + value: z.string(), + comment: z.string().optional(), + }); + +export function evsToJSON(evs: Evs): string { + return JSON.stringify(Evs$outboundSchema.parse(evs)); +} +export function evsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Evs$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Evs' from JSON`, + ); +} + +/** @internal */ +export const CreateSharedEnvVariableRequestBodyType$inboundSchema: + z.ZodNativeEnum = z.nativeEnum( + CreateSharedEnvVariableRequestBodyType, + ); +/** @internal */ +export const CreateSharedEnvVariableRequestBodyType$outboundSchema: + z.ZodNativeEnum = + CreateSharedEnvVariableRequestBodyType$inboundSchema; + +/** @internal */ +export const RequestBodyTarget$inboundSchema: z.ZodNativeEnum< + typeof RequestBodyTarget +> = z.nativeEnum(RequestBodyTarget); +/** @internal */ +export const RequestBodyTarget$outboundSchema: z.ZodNativeEnum< + typeof RequestBodyTarget +> = RequestBodyTarget$inboundSchema; + +/** @internal */ +export const CreateSharedEnvVariableRequestBody1$inboundSchema: z.ZodType< + CreateSharedEnvVariableRequestBody1, + z.ZodTypeDef, + unknown +> = z.object({ + evs: z.array(z.lazy(() => Evs$inboundSchema)), + type: CreateSharedEnvVariableRequestBodyType$inboundSchema.optional(), + target: z.array(RequestBodyTarget$inboundSchema), + projectId: z.array(z.string()).optional(), +}); +/** @internal */ +export type CreateSharedEnvVariableRequestBody1$Outbound = { + evs: Array; + type?: string | undefined; + target: Array; + projectId?: Array | undefined; +}; + +/** @internal */ +export const CreateSharedEnvVariableRequestBody1$outboundSchema: z.ZodType< + CreateSharedEnvVariableRequestBody1$Outbound, + z.ZodTypeDef, + CreateSharedEnvVariableRequestBody1 +> = z.object({ + evs: z.array(z.lazy(() => Evs$outboundSchema)), + type: CreateSharedEnvVariableRequestBodyType$outboundSchema.optional(), + target: z.array(RequestBodyTarget$outboundSchema), + projectId: z.array(z.string()).optional(), +}); + +export function createSharedEnvVariableRequestBody1ToJSON( + createSharedEnvVariableRequestBody1: CreateSharedEnvVariableRequestBody1, +): string { + return JSON.stringify( + CreateSharedEnvVariableRequestBody1$outboundSchema.parse( + createSharedEnvVariableRequestBody1, + ), + ); +} +export function createSharedEnvVariableRequestBody1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + CreateSharedEnvVariableRequestBody1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateSharedEnvVariableRequestBody1' from JSON`, + ); +} + +/** @internal */ +export const CreateSharedEnvVariableRequestBody$inboundSchema: z.ZodType< + CreateSharedEnvVariableRequestBody, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => CreateSharedEnvVariableRequestBody1$inboundSchema), + z.lazy(() => CreateSharedEnvVariableRequestBody2$inboundSchema), +]); +/** @internal */ +export type CreateSharedEnvVariableRequestBody$Outbound = + | CreateSharedEnvVariableRequestBody1$Outbound + | CreateSharedEnvVariableRequestBody2$Outbound; + +/** @internal */ +export const CreateSharedEnvVariableRequestBody$outboundSchema: z.ZodType< + CreateSharedEnvVariableRequestBody$Outbound, + z.ZodTypeDef, + CreateSharedEnvVariableRequestBody +> = z.union([ + z.lazy(() => CreateSharedEnvVariableRequestBody1$outboundSchema), + z.lazy(() => CreateSharedEnvVariableRequestBody2$outboundSchema), +]); + +export function createSharedEnvVariableRequestBodyToJSON( + createSharedEnvVariableRequestBody: CreateSharedEnvVariableRequestBody, +): string { + return JSON.stringify( + CreateSharedEnvVariableRequestBody$outboundSchema.parse( + createSharedEnvVariableRequestBody, + ), + ); +} +export function createSharedEnvVariableRequestBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + CreateSharedEnvVariableRequestBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateSharedEnvVariableRequestBody' from JSON`, + ); +} + +/** @internal */ +export const CreateSharedEnvVariableRequest$inboundSchema: z.ZodType< + CreateSharedEnvVariableRequest, + z.ZodTypeDef, + unknown +> = z.object({ + teamId: z.string().optional(), + slug: z.string().optional(), + RequestBody: z.union([ + z.lazy(() => CreateSharedEnvVariableRequestBody1$inboundSchema), + z.lazy(() => CreateSharedEnvVariableRequestBody2$inboundSchema), + ]).optional(), +}).transform((v) => { + return remap$(v, { + "RequestBody": "requestBody", + }); +}); +/** @internal */ +export type CreateSharedEnvVariableRequest$Outbound = { + teamId?: string | undefined; + slug?: string | undefined; + RequestBody?: + | CreateSharedEnvVariableRequestBody1$Outbound + | CreateSharedEnvVariableRequestBody2$Outbound + | undefined; +}; + +/** @internal */ +export const CreateSharedEnvVariableRequest$outboundSchema: z.ZodType< + CreateSharedEnvVariableRequest$Outbound, + z.ZodTypeDef, + CreateSharedEnvVariableRequest +> = z.object({ + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.union([ + z.lazy(() => CreateSharedEnvVariableRequestBody1$outboundSchema), + z.lazy(() => CreateSharedEnvVariableRequestBody2$outboundSchema), + ]).optional(), +}).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); +}); + +export function createSharedEnvVariableRequestToJSON( + createSharedEnvVariableRequest: CreateSharedEnvVariableRequest, +): string { + return JSON.stringify( + CreateSharedEnvVariableRequest$outboundSchema.parse( + createSharedEnvVariableRequest, + ), + ); +} +export function createSharedEnvVariableRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateSharedEnvVariableRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateSharedEnvVariableRequest' from JSON`, + ); +} + +/** @internal */ +export const CreateSharedEnvVariableType$inboundSchema: z.ZodNativeEnum< + typeof CreateSharedEnvVariableType +> = z.nativeEnum(CreateSharedEnvVariableType); +/** @internal */ +export const CreateSharedEnvVariableType$outboundSchema: z.ZodNativeEnum< + typeof CreateSharedEnvVariableType +> = CreateSharedEnvVariableType$inboundSchema; + +/** @internal */ +export const CreateSharedEnvVariableTarget$inboundSchema: z.ZodNativeEnum< + typeof CreateSharedEnvVariableTarget +> = z.nativeEnum(CreateSharedEnvVariableTarget); +/** @internal */ +export const CreateSharedEnvVariableTarget$outboundSchema: z.ZodNativeEnum< + typeof CreateSharedEnvVariableTarget +> = CreateSharedEnvVariableTarget$inboundSchema; + +/** @internal */ +export const Created$inboundSchema: z.ZodType = + z.object({ + created: z.string().datetime({ offset: true }).transform(v => new Date(v)) + .optional(), + key: z.string().optional(), + ownerId: z.nullable(z.string()).optional(), + id: z.string().optional(), + createdBy: z.nullable(z.string()).optional(), + deletedBy: z.nullable(z.string()).optional(), + updatedBy: z.nullable(z.string()).optional(), + createdAt: z.number().optional(), + deletedAt: z.number().optional(), + updatedAt: z.number().optional(), + value: z.string().optional(), + projectId: z.array(z.string()).optional(), + type: CreateSharedEnvVariableType$inboundSchema.optional(), + target: z.array(CreateSharedEnvVariableTarget$inboundSchema).optional(), + applyToAllCustomEnvironments: z.boolean().optional(), + decrypted: z.boolean().optional(), + comment: z.string().optional(), + lastEditedByDisplayName: z.string().optional(), + }); +/** @internal */ +export type Created$Outbound = { + created?: string | undefined; + key?: string | undefined; + ownerId?: string | null | undefined; + id?: string | undefined; + createdBy?: string | null | undefined; + deletedBy?: string | null | undefined; + updatedBy?: string | null | undefined; + createdAt?: number | undefined; + deletedAt?: number | undefined; + updatedAt?: number | undefined; + value?: string | undefined; + projectId?: Array | undefined; + type?: string | undefined; + target?: Array | undefined; + applyToAllCustomEnvironments?: boolean | undefined; + decrypted?: boolean | undefined; + comment?: string | undefined; + lastEditedByDisplayName?: string | undefined; +}; + +/** @internal */ +export const Created$outboundSchema: z.ZodType< + Created$Outbound, + z.ZodTypeDef, + Created +> = z.object({ + created: z.date().transform(v => v.toISOString()).optional(), + key: z.string().optional(), + ownerId: z.nullable(z.string()).optional(), + id: z.string().optional(), + createdBy: z.nullable(z.string()).optional(), + deletedBy: z.nullable(z.string()).optional(), + updatedBy: z.nullable(z.string()).optional(), + createdAt: z.number().optional(), + deletedAt: z.number().optional(), + updatedAt: z.number().optional(), + value: z.string().optional(), + projectId: z.array(z.string()).optional(), + type: CreateSharedEnvVariableType$outboundSchema.optional(), + target: z.array(CreateSharedEnvVariableTarget$outboundSchema).optional(), + applyToAllCustomEnvironments: z.boolean().optional(), + decrypted: z.boolean().optional(), + comment: z.string().optional(), + lastEditedByDisplayName: z.string().optional(), +}); + +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 Value2$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(Value2); +/** @internal */ +export const Value2$outboundSchema: z.ZodNativeEnum = + Value2$inboundSchema; + +/** @internal */ +export const CreateSharedEnvVariableValue$inboundSchema: z.ZodType< + CreateSharedEnvVariableValue, + z.ZodTypeDef, + unknown +> = z.union([z.string(), z.array(Value2$inboundSchema)]); +/** @internal */ +export type CreateSharedEnvVariableValue$Outbound = string | Array; + +/** @internal */ +export const CreateSharedEnvVariableValue$outboundSchema: z.ZodType< + CreateSharedEnvVariableValue$Outbound, + z.ZodTypeDef, + CreateSharedEnvVariableValue +> = z.union([z.string(), z.array(Value2$outboundSchema)]); + +export function createSharedEnvVariableValueToJSON( + createSharedEnvVariableValue: CreateSharedEnvVariableValue, +): string { + return JSON.stringify( + CreateSharedEnvVariableValue$outboundSchema.parse( + createSharedEnvVariableValue, + ), + ); +} +export function createSharedEnvVariableValueFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateSharedEnvVariableValue$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateSharedEnvVariableValue' from JSON`, + ); +} + +/** @internal */ +export const CreateSharedEnvVariableTarget2$inboundSchema: z.ZodNativeEnum< + typeof CreateSharedEnvVariableTarget2 +> = z.nativeEnum(CreateSharedEnvVariableTarget2); +/** @internal */ +export const CreateSharedEnvVariableTarget2$outboundSchema: z.ZodNativeEnum< + typeof CreateSharedEnvVariableTarget2 +> = CreateSharedEnvVariableTarget2$inboundSchema; + +/** @internal */ +export const CreateSharedEnvVariableTarget1$inboundSchema: z.ZodNativeEnum< + typeof CreateSharedEnvVariableTarget1 +> = z.nativeEnum(CreateSharedEnvVariableTarget1); +/** @internal */ +export const CreateSharedEnvVariableTarget1$outboundSchema: z.ZodNativeEnum< + typeof CreateSharedEnvVariableTarget1 +> = CreateSharedEnvVariableTarget1$inboundSchema; + +/** @internal */ +export const CreateSharedEnvVariableEnvironmentTarget$inboundSchema: z.ZodType< + CreateSharedEnvVariableEnvironmentTarget, + z.ZodTypeDef, + unknown +> = z.union([ + z.array(CreateSharedEnvVariableTarget1$inboundSchema), + CreateSharedEnvVariableTarget2$inboundSchema, +]); +/** @internal */ +export type CreateSharedEnvVariableEnvironmentTarget$Outbound = + | Array + | string; + +/** @internal */ +export const CreateSharedEnvVariableEnvironmentTarget$outboundSchema: z.ZodType< + CreateSharedEnvVariableEnvironmentTarget$Outbound, + z.ZodTypeDef, + CreateSharedEnvVariableEnvironmentTarget +> = z.union([ + z.array(CreateSharedEnvVariableTarget1$outboundSchema), + CreateSharedEnvVariableTarget2$outboundSchema, +]); + +export function createSharedEnvVariableEnvironmentTargetToJSON( + createSharedEnvVariableEnvironmentTarget: + CreateSharedEnvVariableEnvironmentTarget, +): string { + return JSON.stringify( + CreateSharedEnvVariableEnvironmentTarget$outboundSchema.parse( + createSharedEnvVariableEnvironmentTarget, + ), + ); +} +export function createSharedEnvVariableEnvironmentTargetFromJSON( + jsonString: string, +): SafeParseResult< + CreateSharedEnvVariableEnvironmentTarget, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + CreateSharedEnvVariableEnvironmentTarget$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'CreateSharedEnvVariableEnvironmentTarget' from JSON`, + ); +} + +/** @internal */ +export const CreateSharedEnvVariableError$inboundSchema: z.ZodType< + CreateSharedEnvVariableError, + 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(Value2$inboundSchema)]).optional(), + gitBranch: z.string().optional(), + target: z.union([ + z.array(CreateSharedEnvVariableTarget1$inboundSchema), + CreateSharedEnvVariableTarget2$inboundSchema, + ]).optional(), + project: z.string().optional(), +}); +/** @internal */ +export type CreateSharedEnvVariableError$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 CreateSharedEnvVariableError$outboundSchema: z.ZodType< + CreateSharedEnvVariableError$Outbound, + z.ZodTypeDef, + CreateSharedEnvVariableError +> = 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(Value2$outboundSchema)]).optional(), + gitBranch: z.string().optional(), + target: z.union([ + z.array(CreateSharedEnvVariableTarget1$outboundSchema), + CreateSharedEnvVariableTarget2$outboundSchema, + ]).optional(), + project: z.string().optional(), +}); + +export function createSharedEnvVariableErrorToJSON( + createSharedEnvVariableError: CreateSharedEnvVariableError, +): string { + return JSON.stringify( + CreateSharedEnvVariableError$outboundSchema.parse( + createSharedEnvVariableError, + ), + ); +} +export function createSharedEnvVariableErrorFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CreateSharedEnvVariableError$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateSharedEnvVariableError' from JSON`, + ); +} + +/** @internal */ +export const Failed$inboundSchema: z.ZodType = z + .object({ + error: z.lazy(() => CreateSharedEnvVariableError$inboundSchema), + }); +/** @internal */ +export type Failed$Outbound = { + error: CreateSharedEnvVariableError$Outbound; +}; + +/** @internal */ +export const Failed$outboundSchema: z.ZodType< + Failed$Outbound, + z.ZodTypeDef, + Failed +> = z.object({ + error: z.lazy(() => CreateSharedEnvVariableError$outboundSchema), +}); + +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 CreateSharedEnvVariableResponseBody$inboundSchema: z.ZodType< + CreateSharedEnvVariableResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + created: z.array(z.lazy(() => Created$inboundSchema)), + failed: z.array(z.lazy(() => Failed$inboundSchema)), +}); +/** @internal */ +export type CreateSharedEnvVariableResponseBody$Outbound = { + created: Array; + failed: Array; +}; + +/** @internal */ +export const CreateSharedEnvVariableResponseBody$outboundSchema: z.ZodType< + CreateSharedEnvVariableResponseBody$Outbound, + z.ZodTypeDef, + CreateSharedEnvVariableResponseBody +> = z.object({ + created: z.array(z.lazy(() => Created$outboundSchema)), + failed: z.array(z.lazy(() => Failed$outboundSchema)), +}); + +export function createSharedEnvVariableResponseBodyToJSON( + createSharedEnvVariableResponseBody: CreateSharedEnvVariableResponseBody, +): string { + return JSON.stringify( + CreateSharedEnvVariableResponseBody$outboundSchema.parse( + createSharedEnvVariableResponseBody, + ), + ); +} +export function createSharedEnvVariableResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + CreateSharedEnvVariableResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CreateSharedEnvVariableResponseBody' from JSON`, + ); +} diff --git a/src/models/createteamop.ts b/src/models/createteamop.ts index 0767f66f2..01d2746cc 100644 --- a/src/models/createteamop.ts +++ b/src/models/createteamop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -79,7 +79,6 @@ export const Utm$inboundSchema: z.ZodType = z utmCampaign: z.string().optional(), utmTerm: z.string().optional(), }); - /** @internal */ export type Utm$Outbound = { utmSource?: string | undefined; @@ -97,23 +96,9 @@ export const Utm$outboundSchema: z.ZodType = z 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 { @@ -135,7 +120,6 @@ export const Attribution$inboundSchema: z.ZodType< pageBeforeConversionPage: z.string().optional(), utm: z.lazy(() => Utm$inboundSchema).optional(), }); - /** @internal */ export type Attribution$Outbound = { sessionReferrer?: string | undefined; @@ -156,23 +140,9 @@ export const Attribution$outboundSchema: z.ZodType< 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 { @@ -193,7 +163,6 @@ export const CreateTeamRequestBody$inboundSchema: z.ZodType< name: z.string().optional(), attribution: z.lazy(() => Attribution$inboundSchema).optional(), }); - /** @internal */ export type CreateTeamRequestBody$Outbound = { slug: string; @@ -212,19 +181,6 @@ export const CreateTeamRequestBody$outboundSchema: z.ZodType< 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 { @@ -232,7 +188,6 @@ export function createTeamRequestBodyToJSON( CreateTeamRequestBody$outboundSchema.parse(createTeamRequestBody), ); } - export function createTeamRequestBodyFromJSON( jsonString: string, ): SafeParseResult { @@ -252,7 +207,6 @@ export const CreateTeamResponseBody$inboundSchema: z.ZodType< id: z.string(), slug: z.string(), }); - /** @internal */ export type CreateTeamResponseBody$Outbound = { id: string; @@ -269,19 +223,6 @@ export const CreateTeamResponseBody$outboundSchema: z.ZodType< 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 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 { @@ -289,7 +230,6 @@ export function createTeamResponseBodyToJSON( CreateTeamResponseBody$outboundSchema.parse(createTeamResponseBody), ); } - export function createTeamResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/createwebhookop.ts b/src/models/createwebhookop.ts index 0db02bd5f..8604874fc 100644 --- a/src/models/createwebhookop.ts +++ b/src/models/createwebhookop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; @@ -86,6 +86,8 @@ export const Events = { MarketplaceInvoiceRefunded: "marketplace.invoice.refunded", ObservabilityAnomaly: "observability.anomaly", ObservabilityAnomalyError: "observability.anomaly-error", + ObservabilityUsageAnomaly: "observability.usage-anomaly", + ObservabilityErrorAnomaly: "observability.error-anomaly", ObservabilityAnomalyBotId: "observability.anomaly-botId", TestWebhook: "test-webhook", } as const; @@ -189,6 +191,8 @@ export const CreateWebhookEvents = { MarketplaceInvoiceRefunded: "marketplace.invoice.refunded", ObservabilityAnomaly: "observability.anomaly", ObservabilityAnomalyError: "observability.anomaly-error", + ObservabilityUsageAnomaly: "observability.usage-anomaly", + ObservabilityErrorAnomaly: "observability.error-anomaly", ObservabilityAnomalyBotId: "observability.anomaly-botId", TestWebhook: "test-webhook", } as const; @@ -235,22 +239,10 @@ export type CreateWebhookResponseBody = { /** @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, @@ -261,7 +253,6 @@ export const CreateWebhookRequestBody$inboundSchema: z.ZodType< events: z.array(Events$inboundSchema), projectIds: z.array(z.string()).optional(), }); - /** @internal */ export type CreateWebhookRequestBody$Outbound = { url: string; @@ -280,19 +271,6 @@ export const CreateWebhookRequestBody$outboundSchema: z.ZodType< 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 { @@ -300,7 +278,6 @@ export function createWebhookRequestBodyToJSON( CreateWebhookRequestBody$outboundSchema.parse(createWebhookRequestBody), ); } - export function createWebhookRequestBodyFromJSON( jsonString: string, ): SafeParseResult { @@ -325,7 +302,6 @@ export const CreateWebhookRequest$inboundSchema: z.ZodType< "RequestBody": "requestBody", }); }); - /** @internal */ export type CreateWebhookRequest$Outbound = { teamId?: string | undefined; @@ -348,19 +324,6 @@ export const CreateWebhookRequest$outboundSchema: z.ZodType< }); }); -/** - * @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 { @@ -368,7 +331,6 @@ export function createWebhookRequestToJSON( CreateWebhookRequest$outboundSchema.parse(createWebhookRequest), ); } - export function createWebhookRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -383,23 +345,11 @@ export function createWebhookRequestFromJSON( 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, @@ -415,7 +365,6 @@ export const CreateWebhookResponseBody$inboundSchema: z.ZodType< updatedAt: z.number(), projectIds: z.array(z.string()).optional(), }); - /** @internal */ export type CreateWebhookResponseBody$Outbound = { secret: string; @@ -444,19 +393,6 @@ export const CreateWebhookResponseBody$outboundSchema: z.ZodType< 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 { @@ -464,7 +400,6 @@ export function createWebhookResponseBodyToJSON( CreateWebhookResponseBody$outboundSchema.parse(createWebhookResponseBody), ); } - export function createWebhookResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/dangerouslydeletebytagsop.ts b/src/models/dangerouslydeletebytagsop.ts index de04227da..3ef6d4ee2 100644 --- a/src/models/dangerouslydeletebytagsop.ts +++ b/src/models/dangerouslydeletebytagsop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; @@ -44,7 +44,6 @@ export const DangerouslyDeleteByTagsTags$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.union([z.array(z.string()), z.string()]); - /** @internal */ export type DangerouslyDeleteByTagsTags$Outbound = Array | string; @@ -55,19 +54,6 @@ export const DangerouslyDeleteByTagsTags$outboundSchema: z.ZodType< DangerouslyDeleteByTagsTags > = 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 DangerouslyDeleteByTagsTags$ { - /** @deprecated use `DangerouslyDeleteByTagsTags$inboundSchema` instead. */ - export const inboundSchema = DangerouslyDeleteByTagsTags$inboundSchema; - /** @deprecated use `DangerouslyDeleteByTagsTags$outboundSchema` instead. */ - export const outboundSchema = DangerouslyDeleteByTagsTags$outboundSchema; - /** @deprecated use `DangerouslyDeleteByTagsTags$Outbound` instead. */ - export type Outbound = DangerouslyDeleteByTagsTags$Outbound; -} - export function dangerouslyDeleteByTagsTagsToJSON( dangerouslyDeleteByTagsTags: DangerouslyDeleteByTagsTags, ): string { @@ -77,7 +63,6 @@ export function dangerouslyDeleteByTagsTagsToJSON( ), ); } - export function dangerouslyDeleteByTagsTagsFromJSON( jsonString: string, ): SafeParseResult { @@ -92,23 +77,11 @@ export function dangerouslyDeleteByTagsTagsFromJSON( export const DangerouslyDeleteByTagsTarget$inboundSchema: z.ZodNativeEnum< typeof DangerouslyDeleteByTagsTarget > = z.nativeEnum(DangerouslyDeleteByTagsTarget); - /** @internal */ export const DangerouslyDeleteByTagsTarget$outboundSchema: z.ZodNativeEnum< typeof DangerouslyDeleteByTagsTarget > = DangerouslyDeleteByTagsTarget$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace DangerouslyDeleteByTagsTarget$ { - /** @deprecated use `DangerouslyDeleteByTagsTarget$inboundSchema` instead. */ - export const inboundSchema = DangerouslyDeleteByTagsTarget$inboundSchema; - /** @deprecated use `DangerouslyDeleteByTagsTarget$outboundSchema` instead. */ - export const outboundSchema = DangerouslyDeleteByTagsTarget$outboundSchema; -} - /** @internal */ export const DangerouslyDeleteByTagsRequestBody$inboundSchema: z.ZodType< DangerouslyDeleteByTagsRequestBody, @@ -119,7 +92,6 @@ export const DangerouslyDeleteByTagsRequestBody$inboundSchema: z.ZodType< tags: z.union([z.array(z.string()), z.string()]), target: DangerouslyDeleteByTagsTarget$inboundSchema.optional(), }); - /** @internal */ export type DangerouslyDeleteByTagsRequestBody$Outbound = { revalidationDeadlineSeconds?: number | undefined; @@ -138,20 +110,6 @@ export const DangerouslyDeleteByTagsRequestBody$outboundSchema: z.ZodType< target: DangerouslyDeleteByTagsTarget$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 DangerouslyDeleteByTagsRequestBody$ { - /** @deprecated use `DangerouslyDeleteByTagsRequestBody$inboundSchema` instead. */ - export const inboundSchema = DangerouslyDeleteByTagsRequestBody$inboundSchema; - /** @deprecated use `DangerouslyDeleteByTagsRequestBody$outboundSchema` instead. */ - export const outboundSchema = - DangerouslyDeleteByTagsRequestBody$outboundSchema; - /** @deprecated use `DangerouslyDeleteByTagsRequestBody$Outbound` instead. */ - export type Outbound = DangerouslyDeleteByTagsRequestBody$Outbound; -} - export function dangerouslyDeleteByTagsRequestBodyToJSON( dangerouslyDeleteByTagsRequestBody: DangerouslyDeleteByTagsRequestBody, ): string { @@ -161,7 +119,6 @@ export function dangerouslyDeleteByTagsRequestBodyToJSON( ), ); } - export function dangerouslyDeleteByTagsRequestBodyFromJSON( jsonString: string, ): SafeParseResult { @@ -189,7 +146,6 @@ export const DangerouslyDeleteByTagsRequest$inboundSchema: z.ZodType< "RequestBody": "requestBody", }); }); - /** @internal */ export type DangerouslyDeleteByTagsRequest$Outbound = { projectIdOrName: string; @@ -215,19 +171,6 @@ export const DangerouslyDeleteByTagsRequest$outboundSchema: z.ZodType< }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace DangerouslyDeleteByTagsRequest$ { - /** @deprecated use `DangerouslyDeleteByTagsRequest$inboundSchema` instead. */ - export const inboundSchema = DangerouslyDeleteByTagsRequest$inboundSchema; - /** @deprecated use `DangerouslyDeleteByTagsRequest$outboundSchema` instead. */ - export const outboundSchema = DangerouslyDeleteByTagsRequest$outboundSchema; - /** @deprecated use `DangerouslyDeleteByTagsRequest$Outbound` instead. */ - export type Outbound = DangerouslyDeleteByTagsRequest$Outbound; -} - export function dangerouslyDeleteByTagsRequestToJSON( dangerouslyDeleteByTagsRequest: DangerouslyDeleteByTagsRequest, ): string { @@ -237,7 +180,6 @@ export function dangerouslyDeleteByTagsRequestToJSON( ), ); } - export function dangerouslyDeleteByTagsRequestFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/deleteaccessgroupop.ts b/src/models/deleteaccessgroupop.ts index 0c4d54160..7e6392967 100644 --- a/src/models/deleteaccessgroupop.ts +++ b/src/models/deleteaccessgroupop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -29,7 +29,6 @@ export const DeleteAccessGroupRequest$inboundSchema: z.ZodType< teamId: z.string().optional(), slug: z.string().optional(), }); - /** @internal */ export type DeleteAccessGroupRequest$Outbound = { idOrName: string; @@ -48,19 +47,6 @@ export const DeleteAccessGroupRequest$outboundSchema: z.ZodType< 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 { @@ -68,7 +54,6 @@ export function deleteAccessGroupRequestToJSON( DeleteAccessGroupRequest$outboundSchema.parse(deleteAccessGroupRequest), ); } - export function deleteAccessGroupRequestFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/deleteaccessgroupprojectop.ts b/src/models/deleteaccessgroupprojectop.ts index b698a80a4..1ce2fdde8 100644 --- a/src/models/deleteaccessgroupprojectop.ts +++ b/src/models/deleteaccessgroupprojectop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -31,7 +31,6 @@ export const DeleteAccessGroupProjectRequest$inboundSchema: z.ZodType< teamId: z.string().optional(), slug: z.string().optional(), }); - /** @internal */ export type DeleteAccessGroupProjectRequest$Outbound = { accessGroupIdOrName: string; @@ -52,19 +51,6 @@ export const DeleteAccessGroupProjectRequest$outboundSchema: z.ZodType< 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 { @@ -74,7 +60,6 @@ export function deleteAccessGroupProjectRequestToJSON( ), ); } - export function deleteAccessGroupProjectRequestFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/deletealiasop.ts b/src/models/deletealiasop.ts index 94fd2a769..e3a4ff5d0 100644 --- a/src/models/deletealiasop.ts +++ b/src/models/deletealiasop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; @@ -45,7 +45,6 @@ export const DeleteAliasRequest$inboundSchema: z.ZodType< teamId: z.string().optional(), slug: z.string().optional(), }); - /** @internal */ export type DeleteAliasRequest$Outbound = { aliasId: string; @@ -64,19 +63,6 @@ export const DeleteAliasRequest$outboundSchema: z.ZodType< 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 { @@ -84,7 +70,6 @@ export function deleteAliasRequestToJSON( DeleteAliasRequest$outboundSchema.parse(deleteAliasRequest), ); } - export function deleteAliasRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -99,23 +84,11 @@ export function deleteAliasRequestFromJSON( 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, @@ -124,7 +97,6 @@ export const DeleteAliasResponseBody$inboundSchema: z.ZodType< > = z.object({ status: DeleteAliasStatus$inboundSchema, }); - /** @internal */ export type DeleteAliasResponseBody$Outbound = { status: string; @@ -139,19 +111,6 @@ export const DeleteAliasResponseBody$outboundSchema: z.ZodType< 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 { @@ -159,7 +118,6 @@ export function deleteAliasResponseBodyToJSON( DeleteAliasResponseBody$outboundSchema.parse(deleteAliasResponseBody), ); } - export function deleteAliasResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/deleteauthtokenop.ts b/src/models/deleteauthtokenop.ts index c9938ec35..14a8df49e 100644 --- a/src/models/deleteauthtokenop.ts +++ b/src/models/deleteauthtokenop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -32,7 +32,6 @@ export const DeleteAuthTokenRequest$inboundSchema: z.ZodType< > = z.object({ tokenId: z.string(), }); - /** @internal */ export type DeleteAuthTokenRequest$Outbound = { tokenId: string; @@ -47,19 +46,6 @@ export const DeleteAuthTokenRequest$outboundSchema: z.ZodType< 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 { @@ -67,7 +53,6 @@ export function deleteAuthTokenRequestToJSON( DeleteAuthTokenRequest$outboundSchema.parse(deleteAuthTokenRequest), ); } - export function deleteAuthTokenRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -86,7 +71,6 @@ export const DeleteAuthTokenResponseBody$inboundSchema: z.ZodType< > = z.object({ tokenId: z.string(), }); - /** @internal */ export type DeleteAuthTokenResponseBody$Outbound = { tokenId: string; @@ -101,19 +85,6 @@ export const DeleteAuthTokenResponseBody$outboundSchema: z.ZodType< 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 { @@ -123,7 +94,6 @@ export function deleteAuthTokenResponseBodyToJSON( ), ); } - export function deleteAuthTokenResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/deleteconfigurablelogdrainop.ts b/src/models/deleteconfigurablelogdrainop.ts new file mode 100644 index 000000000..f36d73383 --- /dev/null +++ b/src/models/deleteconfigurablelogdrainop.ts @@ -0,0 +1,67 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +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(), +}); + +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 index 3dffd0c2f..230e3c7d4 100644 --- a/src/models/deleteconfigurationop.ts +++ b/src/models/deleteconfigurationop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -29,7 +29,6 @@ export const DeleteConfigurationRequest$inboundSchema: z.ZodType< teamId: z.string().optional(), slug: z.string().optional(), }); - /** @internal */ export type DeleteConfigurationRequest$Outbound = { id: string; @@ -48,19 +47,6 @@ export const DeleteConfigurationRequest$outboundSchema: z.ZodType< 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 { @@ -68,7 +54,6 @@ export function deleteConfigurationRequestToJSON( DeleteConfigurationRequest$outboundSchema.parse(deleteConfigurationRequest), ); } - export function deleteConfigurationRequestFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/deletedeploymentop.ts b/src/models/deletedeploymentop.ts index c7fbb3a7b..b9e768d26 100644 --- a/src/models/deletedeploymentop.ts +++ b/src/models/deletedeploymentop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; @@ -63,7 +63,6 @@ export const DeleteDeploymentRequest$inboundSchema: z.ZodType< teamId: z.string().optional(), slug: z.string().optional(), }); - /** @internal */ export type DeleteDeploymentRequest$Outbound = { id: string; @@ -84,19 +83,6 @@ export const DeleteDeploymentRequest$outboundSchema: z.ZodType< 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 { @@ -104,7 +90,6 @@ export function deleteDeploymentRequestToJSON( DeleteDeploymentRequest$outboundSchema.parse(deleteDeploymentRequest), ); } - export function deleteDeploymentRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -119,23 +104,11 @@ export function deleteDeploymentRequestFromJSON( 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, @@ -145,7 +118,6 @@ export const DeleteDeploymentResponseBody$inboundSchema: z.ZodType< uid: z.string(), state: DeleteDeploymentState$inboundSchema, }); - /** @internal */ export type DeleteDeploymentResponseBody$Outbound = { uid: string; @@ -162,19 +134,6 @@ export const DeleteDeploymentResponseBody$outboundSchema: z.ZodType< 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 { @@ -184,7 +143,6 @@ export function deleteDeploymentResponseBodyToJSON( ), ); } - export function deleteDeploymentResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/deletedomainop.ts b/src/models/deletedomainop.ts index c178b7535..649b6d865 100644 --- a/src/models/deletedomainop.ts +++ b/src/models/deletedomainop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -39,7 +39,6 @@ export const DeleteDomainRequest$inboundSchema: z.ZodType< teamId: z.string().optional(), slug: z.string().optional(), }); - /** @internal */ export type DeleteDomainRequest$Outbound = { domain: string; @@ -58,19 +57,6 @@ export const DeleteDomainRequest$outboundSchema: z.ZodType< 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 { @@ -78,7 +64,6 @@ export function deleteDomainRequestToJSON( DeleteDomainRequest$outboundSchema.parse(deleteDomainRequest), ); } - export function deleteDomainRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -97,7 +82,6 @@ export const DeleteDomainResponseBody$inboundSchema: z.ZodType< > = z.object({ uid: z.string(), }); - /** @internal */ export type DeleteDomainResponseBody$Outbound = { uid: string; @@ -112,19 +96,6 @@ export const DeleteDomainResponseBody$outboundSchema: z.ZodType< 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 { @@ -132,7 +103,6 @@ export function deleteDomainResponseBodyToJSON( DeleteDomainResponseBody$outboundSchema.parse(deleteDomainResponseBody), ); } - export function deleteDomainResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/deletedrainop.ts b/src/models/deletedrainop.ts new file mode 100644 index 000000000..a7cba4f36 --- /dev/null +++ b/src/models/deletedrainop.ts @@ -0,0 +1,65 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { safeParse } from "../lib/schemas.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type DeleteDrainRequest = { + 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 DeleteDrainRequest$inboundSchema: z.ZodType< + DeleteDrainRequest, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); +/** @internal */ +export type DeleteDrainRequest$Outbound = { + id: string; + teamId?: string | undefined; + slug?: string | undefined; +}; + +/** @internal */ +export const DeleteDrainRequest$outboundSchema: z.ZodType< + DeleteDrainRequest$Outbound, + z.ZodTypeDef, + DeleteDrainRequest +> = z.object({ + id: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +export function deleteDrainRequestToJSON( + deleteDrainRequest: DeleteDrainRequest, +): string { + return JSON.stringify( + DeleteDrainRequest$outboundSchema.parse(deleteDrainRequest), + ); +} +export function deleteDrainRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => DeleteDrainRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'DeleteDrainRequest' from JSON`, + ); +} diff --git a/src/models/deleteedgeconfigop.ts b/src/models/deleteedgeconfigop.ts index c6495f157..19fa66c5e 100644 --- a/src/models/deleteedgeconfigop.ts +++ b/src/models/deleteedgeconfigop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -29,7 +29,6 @@ export const DeleteEdgeConfigRequest$inboundSchema: z.ZodType< teamId: z.string().optional(), slug: z.string().optional(), }); - /** @internal */ export type DeleteEdgeConfigRequest$Outbound = { edgeConfigId: string; @@ -48,19 +47,6 @@ export const DeleteEdgeConfigRequest$outboundSchema: z.ZodType< 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 { @@ -68,7 +54,6 @@ export function deleteEdgeConfigRequestToJSON( DeleteEdgeConfigRequest$outboundSchema.parse(deleteEdgeConfigRequest), ); } - export function deleteEdgeConfigRequestFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/deleteedgeconfigschemaop.ts b/src/models/deleteedgeconfigschemaop.ts index 844747e65..a815d2d55 100644 --- a/src/models/deleteedgeconfigschemaop.ts +++ b/src/models/deleteedgeconfigschemaop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -29,7 +29,6 @@ export const DeleteEdgeConfigSchemaRequest$inboundSchema: z.ZodType< teamId: z.string().optional(), slug: z.string().optional(), }); - /** @internal */ export type DeleteEdgeConfigSchemaRequest$Outbound = { edgeConfigId: string; @@ -48,19 +47,6 @@ export const DeleteEdgeConfigSchemaRequest$outboundSchema: z.ZodType< 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 { @@ -70,7 +56,6 @@ export function deleteEdgeConfigSchemaRequestToJSON( ), ); } - export function deleteEdgeConfigSchemaRequestFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/deleteedgeconfigtokensop.ts b/src/models/deleteedgeconfigtokensop.ts index 8cc696273..ca765b417 100644 --- a/src/models/deleteedgeconfigtokensop.ts +++ b/src/models/deleteedgeconfigtokensop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; @@ -33,7 +33,6 @@ export const DeleteEdgeConfigTokensRequestBody$inboundSchema: z.ZodType< > = z.object({ tokens: z.array(z.string()), }); - /** @internal */ export type DeleteEdgeConfigTokensRequestBody$Outbound = { tokens: Array; @@ -48,20 +47,6 @@ export const DeleteEdgeConfigTokensRequestBody$outboundSchema: z.ZodType< 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 { @@ -71,7 +56,6 @@ export function deleteEdgeConfigTokensRequestBodyToJSON( ), ); } - export function deleteEdgeConfigTokensRequestBodyFromJSON( jsonString: string, ): SafeParseResult { @@ -97,7 +81,6 @@ export const DeleteEdgeConfigTokensRequest$inboundSchema: z.ZodType< "RequestBody": "requestBody", }); }); - /** @internal */ export type DeleteEdgeConfigTokensRequest$Outbound = { edgeConfigId: string; @@ -122,19 +105,6 @@ export const DeleteEdgeConfigTokensRequest$outboundSchema: z.ZodType< }); }); -/** - * @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 { @@ -144,7 +114,6 @@ export function deleteEdgeConfigTokensRequestToJSON( ), ); } - export function deleteEdgeConfigTokensRequestFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/deleteintegrationlogdrainop.ts b/src/models/deleteintegrationlogdrainop.ts index 0921897a5..1d289d6f7 100644 --- a/src/models/deleteintegrationlogdrainop.ts +++ b/src/models/deleteintegrationlogdrainop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -32,7 +32,6 @@ export const DeleteIntegrationLogDrainRequest$inboundSchema: z.ZodType< teamId: z.string().optional(), slug: z.string().optional(), }); - /** @internal */ export type DeleteIntegrationLogDrainRequest$Outbound = { id: string; @@ -51,19 +50,6 @@ export const DeleteIntegrationLogDrainRequest$outboundSchema: z.ZodType< 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 { @@ -73,7 +59,6 @@ export function deleteIntegrationLogDrainRequestToJSON( ), ); } - export function deleteIntegrationLogDrainRequestFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/deleteintegrationresourceop.ts b/src/models/deleteintegrationresourceop.ts index 261903f06..72312b007 100644 --- a/src/models/deleteintegrationresourceop.ts +++ b/src/models/deleteintegrationresourceop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -21,7 +21,6 @@ export const DeleteIntegrationResourceRequest$inboundSchema: z.ZodType< integrationConfigurationId: z.string(), resourceId: z.string(), }); - /** @internal */ export type DeleteIntegrationResourceRequest$Outbound = { integrationConfigurationId: string; @@ -38,19 +37,6 @@ export const DeleteIntegrationResourceRequest$outboundSchema: z.ZodType< 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 DeleteIntegrationResourceRequest$ { - /** @deprecated use `DeleteIntegrationResourceRequest$inboundSchema` instead. */ - export const inboundSchema = DeleteIntegrationResourceRequest$inboundSchema; - /** @deprecated use `DeleteIntegrationResourceRequest$outboundSchema` instead. */ - export const outboundSchema = DeleteIntegrationResourceRequest$outboundSchema; - /** @deprecated use `DeleteIntegrationResourceRequest$Outbound` instead. */ - export type Outbound = DeleteIntegrationResourceRequest$Outbound; -} - export function deleteIntegrationResourceRequestToJSON( deleteIntegrationResourceRequest: DeleteIntegrationResourceRequest, ): string { @@ -60,7 +46,6 @@ export function deleteIntegrationResourceRequestToJSON( ), ); } - export function deleteIntegrationResourceRequestFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/deleteprojectclientcertop.ts b/src/models/deleteprojectclientcertop.ts new file mode 100644 index 000000000..3a17d247a --- /dev/null +++ b/src/models/deleteprojectclientcertop.ts @@ -0,0 +1,130 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { safeParse } from "../lib/schemas.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type DeleteProjectClientCertRequest = { + /** + * The unique project identifier or the project name + */ + idOrName: string; + /** + * The certificate identifier + */ + certId: 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; +}; + +/** + * Client certificate deleted successfully + */ +export type DeleteProjectClientCertResponseBody = { + origin: string; + certId: string; +}; + +/** @internal */ +export const DeleteProjectClientCertRequest$inboundSchema: z.ZodType< + DeleteProjectClientCertRequest, + z.ZodTypeDef, + unknown +> = z.object({ + idOrName: z.string(), + certId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); +/** @internal */ +export type DeleteProjectClientCertRequest$Outbound = { + idOrName: string; + certId: string; + teamId?: string | undefined; + slug?: string | undefined; +}; + +/** @internal */ +export const DeleteProjectClientCertRequest$outboundSchema: z.ZodType< + DeleteProjectClientCertRequest$Outbound, + z.ZodTypeDef, + DeleteProjectClientCertRequest +> = z.object({ + idOrName: z.string(), + certId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +export function deleteProjectClientCertRequestToJSON( + deleteProjectClientCertRequest: DeleteProjectClientCertRequest, +): string { + return JSON.stringify( + DeleteProjectClientCertRequest$outboundSchema.parse( + deleteProjectClientCertRequest, + ), + ); +} +export function deleteProjectClientCertRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => DeleteProjectClientCertRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'DeleteProjectClientCertRequest' from JSON`, + ); +} + +/** @internal */ +export const DeleteProjectClientCertResponseBody$inboundSchema: z.ZodType< + DeleteProjectClientCertResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + origin: z.string(), + certId: z.string(), +}); +/** @internal */ +export type DeleteProjectClientCertResponseBody$Outbound = { + origin: string; + certId: string; +}; + +/** @internal */ +export const DeleteProjectClientCertResponseBody$outboundSchema: z.ZodType< + DeleteProjectClientCertResponseBody$Outbound, + z.ZodTypeDef, + DeleteProjectClientCertResponseBody +> = z.object({ + origin: z.string(), + certId: z.string(), +}); + +export function deleteProjectClientCertResponseBodyToJSON( + deleteProjectClientCertResponseBody: DeleteProjectClientCertResponseBody, +): string { + return JSON.stringify( + DeleteProjectClientCertResponseBody$outboundSchema.parse( + deleteProjectClientCertResponseBody, + ), + ); +} +export function deleteProjectClientCertResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + DeleteProjectClientCertResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'DeleteProjectClientCertResponseBody' from JSON`, + ); +} diff --git a/src/models/deleteprojectop.ts b/src/models/deleteprojectop.ts index 9dfbad4ff..094402b69 100644 --- a/src/models/deleteprojectop.ts +++ b/src/models/deleteprojectop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -32,7 +32,6 @@ export const DeleteProjectRequest$inboundSchema: z.ZodType< teamId: z.string().optional(), slug: z.string().optional(), }); - /** @internal */ export type DeleteProjectRequest$Outbound = { idOrName: string; @@ -51,19 +50,6 @@ export const DeleteProjectRequest$outboundSchema: z.ZodType< 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 { @@ -71,7 +57,6 @@ export function deleteProjectRequestToJSON( DeleteProjectRequest$outboundSchema.parse(deleteProjectRequest), ); } - export function deleteProjectRequestFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/deleterollingreleaseconfigop.ts b/src/models/deleterollingreleaseconfigop.ts index 45bd88874..a631fcf7a 100644 --- a/src/models/deleterollingreleaseconfigop.ts +++ b/src/models/deleterollingreleaseconfigop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -36,7 +36,6 @@ export const DeleteRollingReleaseConfigRequest$inboundSchema: z.ZodType< teamId: z.string().optional(), slug: z.string().optional(), }); - /** @internal */ export type DeleteRollingReleaseConfigRequest$Outbound = { idOrName: string; @@ -55,20 +54,6 @@ export const DeleteRollingReleaseConfigRequest$outboundSchema: z.ZodType< 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 DeleteRollingReleaseConfigRequest$ { - /** @deprecated use `DeleteRollingReleaseConfigRequest$inboundSchema` instead. */ - export const inboundSchema = DeleteRollingReleaseConfigRequest$inboundSchema; - /** @deprecated use `DeleteRollingReleaseConfigRequest$outboundSchema` instead. */ - export const outboundSchema = - DeleteRollingReleaseConfigRequest$outboundSchema; - /** @deprecated use `DeleteRollingReleaseConfigRequest$Outbound` instead. */ - export type Outbound = DeleteRollingReleaseConfigRequest$Outbound; -} - export function deleteRollingReleaseConfigRequestToJSON( deleteRollingReleaseConfigRequest: DeleteRollingReleaseConfigRequest, ): string { @@ -78,7 +63,6 @@ export function deleteRollingReleaseConfigRequestToJSON( ), ); } - export function deleteRollingReleaseConfigRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -97,7 +81,6 @@ export const DeleteRollingReleaseConfigResponseBody$inboundSchema: z.ZodType< > = z.object({ rollingRelease: z.nullable(z.any()).optional(), }); - /** @internal */ export type DeleteRollingReleaseConfigResponseBody$Outbound = { rollingRelease?: any | null | undefined; @@ -112,21 +95,6 @@ export const DeleteRollingReleaseConfigResponseBody$outboundSchema: z.ZodType< rollingRelease: 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 DeleteRollingReleaseConfigResponseBody$ { - /** @deprecated use `DeleteRollingReleaseConfigResponseBody$inboundSchema` instead. */ - export const inboundSchema = - DeleteRollingReleaseConfigResponseBody$inboundSchema; - /** @deprecated use `DeleteRollingReleaseConfigResponseBody$outboundSchema` instead. */ - export const outboundSchema = - DeleteRollingReleaseConfigResponseBody$outboundSchema; - /** @deprecated use `DeleteRollingReleaseConfigResponseBody$Outbound` instead. */ - export type Outbound = DeleteRollingReleaseConfigResponseBody$Outbound; -} - export function deleteRollingReleaseConfigResponseBodyToJSON( deleteRollingReleaseConfigResponseBody: DeleteRollingReleaseConfigResponseBody, @@ -137,7 +105,6 @@ export function deleteRollingReleaseConfigResponseBodyToJSON( ), ); } - export function deleteRollingReleaseConfigResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/deletesharedenvvariableop.ts b/src/models/deletesharedenvvariableop.ts new file mode 100644 index 000000000..ac47b4d6d --- /dev/null +++ b/src/models/deletesharedenvvariableop.ts @@ -0,0 +1,464 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +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 DeleteSharedEnvVariableRequestBody = { + /** + * IDs of the Shared Environment Variables to delete + */ + ids: Array; +}; + +export type DeleteSharedEnvVariableRequest = { + /** + * 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?: DeleteSharedEnvVariableRequestBody | undefined; +}; + +export const DeleteSharedEnvVariableValue2 = { + Production: "production", + Preview: "preview", + Development: "development", +} as const; +export type DeleteSharedEnvVariableValue2 = ClosedEnum< + typeof DeleteSharedEnvVariableValue2 +>; + +export type DeleteSharedEnvVariableValue = + | string + | Array; + +export const DeleteSharedEnvVariableTarget2 = { + Production: "production", + Preview: "preview", + Development: "development", +} as const; +export type DeleteSharedEnvVariableTarget2 = ClosedEnum< + typeof DeleteSharedEnvVariableTarget2 +>; + +export const DeleteSharedEnvVariableTarget1 = { + Production: "production", + Preview: "preview", + Development: "development", +} as const; +export type DeleteSharedEnvVariableTarget1 = ClosedEnum< + typeof DeleteSharedEnvVariableTarget1 +>; + +export type DeleteSharedEnvVariableTarget = + | Array + | DeleteSharedEnvVariableTarget2; + +export type DeleteSharedEnvVariableError = { + 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 + | DeleteSharedEnvVariableTarget2 + | undefined; + project?: string | undefined; +}; + +export type DeleteSharedEnvVariableFailed = { + error: DeleteSharedEnvVariableError; +}; + +export type DeleteSharedEnvVariableResponseBody = { + deleted: Array; + failed: Array; +}; + +/** @internal */ +export const DeleteSharedEnvVariableRequestBody$inboundSchema: z.ZodType< + DeleteSharedEnvVariableRequestBody, + z.ZodTypeDef, + unknown +> = z.object({ + ids: z.array(z.string()), +}); +/** @internal */ +export type DeleteSharedEnvVariableRequestBody$Outbound = { + ids: Array; +}; + +/** @internal */ +export const DeleteSharedEnvVariableRequestBody$outboundSchema: z.ZodType< + DeleteSharedEnvVariableRequestBody$Outbound, + z.ZodTypeDef, + DeleteSharedEnvVariableRequestBody +> = z.object({ + ids: z.array(z.string()), +}); + +export function deleteSharedEnvVariableRequestBodyToJSON( + deleteSharedEnvVariableRequestBody: DeleteSharedEnvVariableRequestBody, +): string { + return JSON.stringify( + DeleteSharedEnvVariableRequestBody$outboundSchema.parse( + deleteSharedEnvVariableRequestBody, + ), + ); +} +export function deleteSharedEnvVariableRequestBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + DeleteSharedEnvVariableRequestBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'DeleteSharedEnvVariableRequestBody' from JSON`, + ); +} + +/** @internal */ +export const DeleteSharedEnvVariableRequest$inboundSchema: z.ZodType< + DeleteSharedEnvVariableRequest, + z.ZodTypeDef, + unknown +> = z.object({ + teamId: z.string().optional(), + slug: z.string().optional(), + RequestBody: z.lazy(() => DeleteSharedEnvVariableRequestBody$inboundSchema) + .optional(), +}).transform((v) => { + return remap$(v, { + "RequestBody": "requestBody", + }); +}); +/** @internal */ +export type DeleteSharedEnvVariableRequest$Outbound = { + teamId?: string | undefined; + slug?: string | undefined; + RequestBody?: DeleteSharedEnvVariableRequestBody$Outbound | undefined; +}; + +/** @internal */ +export const DeleteSharedEnvVariableRequest$outboundSchema: z.ZodType< + DeleteSharedEnvVariableRequest$Outbound, + z.ZodTypeDef, + DeleteSharedEnvVariableRequest +> = z.object({ + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => DeleteSharedEnvVariableRequestBody$outboundSchema) + .optional(), +}).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); +}); + +export function deleteSharedEnvVariableRequestToJSON( + deleteSharedEnvVariableRequest: DeleteSharedEnvVariableRequest, +): string { + return JSON.stringify( + DeleteSharedEnvVariableRequest$outboundSchema.parse( + deleteSharedEnvVariableRequest, + ), + ); +} +export function deleteSharedEnvVariableRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => DeleteSharedEnvVariableRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'DeleteSharedEnvVariableRequest' from JSON`, + ); +} + +/** @internal */ +export const DeleteSharedEnvVariableValue2$inboundSchema: z.ZodNativeEnum< + typeof DeleteSharedEnvVariableValue2 +> = z.nativeEnum(DeleteSharedEnvVariableValue2); +/** @internal */ +export const DeleteSharedEnvVariableValue2$outboundSchema: z.ZodNativeEnum< + typeof DeleteSharedEnvVariableValue2 +> = DeleteSharedEnvVariableValue2$inboundSchema; + +/** @internal */ +export const DeleteSharedEnvVariableValue$inboundSchema: z.ZodType< + DeleteSharedEnvVariableValue, + z.ZodTypeDef, + unknown +> = z.union([z.string(), z.array(DeleteSharedEnvVariableValue2$inboundSchema)]); +/** @internal */ +export type DeleteSharedEnvVariableValue$Outbound = string | Array; + +/** @internal */ +export const DeleteSharedEnvVariableValue$outboundSchema: z.ZodType< + DeleteSharedEnvVariableValue$Outbound, + z.ZodTypeDef, + DeleteSharedEnvVariableValue +> = z.union([ + z.string(), + z.array(DeleteSharedEnvVariableValue2$outboundSchema), +]); + +export function deleteSharedEnvVariableValueToJSON( + deleteSharedEnvVariableValue: DeleteSharedEnvVariableValue, +): string { + return JSON.stringify( + DeleteSharedEnvVariableValue$outboundSchema.parse( + deleteSharedEnvVariableValue, + ), + ); +} +export function deleteSharedEnvVariableValueFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => DeleteSharedEnvVariableValue$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'DeleteSharedEnvVariableValue' from JSON`, + ); +} + +/** @internal */ +export const DeleteSharedEnvVariableTarget2$inboundSchema: z.ZodNativeEnum< + typeof DeleteSharedEnvVariableTarget2 +> = z.nativeEnum(DeleteSharedEnvVariableTarget2); +/** @internal */ +export const DeleteSharedEnvVariableTarget2$outboundSchema: z.ZodNativeEnum< + typeof DeleteSharedEnvVariableTarget2 +> = DeleteSharedEnvVariableTarget2$inboundSchema; + +/** @internal */ +export const DeleteSharedEnvVariableTarget1$inboundSchema: z.ZodNativeEnum< + typeof DeleteSharedEnvVariableTarget1 +> = z.nativeEnum(DeleteSharedEnvVariableTarget1); +/** @internal */ +export const DeleteSharedEnvVariableTarget1$outboundSchema: z.ZodNativeEnum< + typeof DeleteSharedEnvVariableTarget1 +> = DeleteSharedEnvVariableTarget1$inboundSchema; + +/** @internal */ +export const DeleteSharedEnvVariableTarget$inboundSchema: z.ZodType< + DeleteSharedEnvVariableTarget, + z.ZodTypeDef, + unknown +> = z.union([ + z.array(DeleteSharedEnvVariableTarget1$inboundSchema), + DeleteSharedEnvVariableTarget2$inboundSchema, +]); +/** @internal */ +export type DeleteSharedEnvVariableTarget$Outbound = Array | string; + +/** @internal */ +export const DeleteSharedEnvVariableTarget$outboundSchema: z.ZodType< + DeleteSharedEnvVariableTarget$Outbound, + z.ZodTypeDef, + DeleteSharedEnvVariableTarget +> = z.union([ + z.array(DeleteSharedEnvVariableTarget1$outboundSchema), + DeleteSharedEnvVariableTarget2$outboundSchema, +]); + +export function deleteSharedEnvVariableTargetToJSON( + deleteSharedEnvVariableTarget: DeleteSharedEnvVariableTarget, +): string { + return JSON.stringify( + DeleteSharedEnvVariableTarget$outboundSchema.parse( + deleteSharedEnvVariableTarget, + ), + ); +} +export function deleteSharedEnvVariableTargetFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => DeleteSharedEnvVariableTarget$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'DeleteSharedEnvVariableTarget' from JSON`, + ); +} + +/** @internal */ +export const DeleteSharedEnvVariableError$inboundSchema: z.ZodType< + DeleteSharedEnvVariableError, + 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(DeleteSharedEnvVariableValue2$inboundSchema), + ]).optional(), + gitBranch: z.string().optional(), + target: z.union([ + z.array(DeleteSharedEnvVariableTarget1$inboundSchema), + DeleteSharedEnvVariableTarget2$inboundSchema, + ]).optional(), + project: z.string().optional(), +}); +/** @internal */ +export type DeleteSharedEnvVariableError$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 DeleteSharedEnvVariableError$outboundSchema: z.ZodType< + DeleteSharedEnvVariableError$Outbound, + z.ZodTypeDef, + DeleteSharedEnvVariableError +> = 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(DeleteSharedEnvVariableValue2$outboundSchema), + ]).optional(), + gitBranch: z.string().optional(), + target: z.union([ + z.array(DeleteSharedEnvVariableTarget1$outboundSchema), + DeleteSharedEnvVariableTarget2$outboundSchema, + ]).optional(), + project: z.string().optional(), +}); + +export function deleteSharedEnvVariableErrorToJSON( + deleteSharedEnvVariableError: DeleteSharedEnvVariableError, +): string { + return JSON.stringify( + DeleteSharedEnvVariableError$outboundSchema.parse( + deleteSharedEnvVariableError, + ), + ); +} +export function deleteSharedEnvVariableErrorFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => DeleteSharedEnvVariableError$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'DeleteSharedEnvVariableError' from JSON`, + ); +} + +/** @internal */ +export const DeleteSharedEnvVariableFailed$inboundSchema: z.ZodType< + DeleteSharedEnvVariableFailed, + z.ZodTypeDef, + unknown +> = z.object({ + error: z.lazy(() => DeleteSharedEnvVariableError$inboundSchema), +}); +/** @internal */ +export type DeleteSharedEnvVariableFailed$Outbound = { + error: DeleteSharedEnvVariableError$Outbound; +}; + +/** @internal */ +export const DeleteSharedEnvVariableFailed$outboundSchema: z.ZodType< + DeleteSharedEnvVariableFailed$Outbound, + z.ZodTypeDef, + DeleteSharedEnvVariableFailed +> = z.object({ + error: z.lazy(() => DeleteSharedEnvVariableError$outboundSchema), +}); + +export function deleteSharedEnvVariableFailedToJSON( + deleteSharedEnvVariableFailed: DeleteSharedEnvVariableFailed, +): string { + return JSON.stringify( + DeleteSharedEnvVariableFailed$outboundSchema.parse( + deleteSharedEnvVariableFailed, + ), + ); +} +export function deleteSharedEnvVariableFailedFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => DeleteSharedEnvVariableFailed$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'DeleteSharedEnvVariableFailed' from JSON`, + ); +} + +/** @internal */ +export const DeleteSharedEnvVariableResponseBody$inboundSchema: z.ZodType< + DeleteSharedEnvVariableResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + deleted: z.array(z.string()), + failed: z.array(z.lazy(() => DeleteSharedEnvVariableFailed$inboundSchema)), +}); +/** @internal */ +export type DeleteSharedEnvVariableResponseBody$Outbound = { + deleted: Array; + failed: Array; +}; + +/** @internal */ +export const DeleteSharedEnvVariableResponseBody$outboundSchema: z.ZodType< + DeleteSharedEnvVariableResponseBody$Outbound, + z.ZodTypeDef, + DeleteSharedEnvVariableResponseBody +> = z.object({ + deleted: z.array(z.string()), + failed: z.array(z.lazy(() => DeleteSharedEnvVariableFailed$outboundSchema)), +}); + +export function deleteSharedEnvVariableResponseBodyToJSON( + deleteSharedEnvVariableResponseBody: DeleteSharedEnvVariableResponseBody, +): string { + return JSON.stringify( + DeleteSharedEnvVariableResponseBody$outboundSchema.parse( + deleteSharedEnvVariableResponseBody, + ), + ); +} +export function deleteSharedEnvVariableResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + DeleteSharedEnvVariableResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'DeleteSharedEnvVariableResponseBody' from JSON`, + ); +} diff --git a/src/models/deleteteaminvitecodeop.ts b/src/models/deleteteaminvitecodeop.ts index 8561a785e..c974a9d52 100644 --- a/src/models/deleteteaminvitecodeop.ts +++ b/src/models/deleteteaminvitecodeop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -37,7 +37,6 @@ export const DeleteTeamInviteCodeRequest$inboundSchema: z.ZodType< inviteId: z.string(), teamId: z.string(), }); - /** @internal */ export type DeleteTeamInviteCodeRequest$Outbound = { inviteId: string; @@ -54,19 +53,6 @@ export const DeleteTeamInviteCodeRequest$outboundSchema: z.ZodType< 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 { @@ -76,7 +62,6 @@ export function deleteTeamInviteCodeRequestToJSON( ), ); } - export function deleteTeamInviteCodeRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -95,7 +80,6 @@ export const DeleteTeamInviteCodeResponseBody$inboundSchema: z.ZodType< > = z.object({ id: z.string(), }); - /** @internal */ export type DeleteTeamInviteCodeResponseBody$Outbound = { id: string; @@ -110,19 +94,6 @@ export const DeleteTeamInviteCodeResponseBody$outboundSchema: z.ZodType< 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 { @@ -132,7 +103,6 @@ export function deleteTeamInviteCodeResponseBodyToJSON( ), ); } - export function deleteTeamInviteCodeResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/deleteteamop.ts b/src/models/deleteteamop.ts index 82c620fb4..7cf221fe0 100644 --- a/src/models/deleteteamop.ts +++ b/src/models/deleteteamop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; @@ -68,7 +68,6 @@ export const DeleteTeamReasons$inboundSchema: z.ZodType< slug: z.string(), description: z.string(), }); - /** @internal */ export type DeleteTeamReasons$Outbound = { slug: string; @@ -85,19 +84,6 @@ export const DeleteTeamReasons$outboundSchema: z.ZodType< 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 DeleteTeamReasons$ { - /** @deprecated use `DeleteTeamReasons$inboundSchema` instead. */ - export const inboundSchema = DeleteTeamReasons$inboundSchema; - /** @deprecated use `DeleteTeamReasons$outboundSchema` instead. */ - export const outboundSchema = DeleteTeamReasons$outboundSchema; - /** @deprecated use `DeleteTeamReasons$Outbound` instead. */ - export type Outbound = DeleteTeamReasons$Outbound; -} - export function deleteTeamReasonsToJSON( deleteTeamReasons: DeleteTeamReasons, ): string { @@ -105,7 +91,6 @@ export function deleteTeamReasonsToJSON( DeleteTeamReasons$outboundSchema.parse(deleteTeamReasons), ); } - export function deleteTeamReasonsFromJSON( jsonString: string, ): SafeParseResult { @@ -124,7 +109,6 @@ export const DeleteTeamRequestBody$inboundSchema: z.ZodType< > = z.object({ reasons: z.array(z.lazy(() => DeleteTeamReasons$inboundSchema)).optional(), }); - /** @internal */ export type DeleteTeamRequestBody$Outbound = { reasons?: Array | undefined; @@ -139,19 +123,6 @@ export const DeleteTeamRequestBody$outboundSchema: z.ZodType< reasons: z.array(z.lazy(() => DeleteTeamReasons$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 { @@ -159,7 +130,6 @@ export function deleteTeamRequestBodyToJSON( DeleteTeamRequestBody$outboundSchema.parse(deleteTeamRequestBody), ); } - export function deleteTeamRequestBodyFromJSON( jsonString: string, ): SafeParseResult { @@ -185,7 +155,6 @@ export const DeleteTeamRequest$inboundSchema: z.ZodType< "RequestBody": "requestBody", }); }); - /** @internal */ export type DeleteTeamRequest$Outbound = { newDefaultTeamId?: string | undefined; @@ -210,19 +179,6 @@ export const DeleteTeamRequest$outboundSchema: z.ZodType< }); }); -/** - * @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 { @@ -230,7 +186,6 @@ export function deleteTeamRequestToJSON( DeleteTeamRequest$outboundSchema.parse(deleteTeamRequest), ); } - export function deleteTeamRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -250,7 +205,6 @@ export const DeleteTeamResponseBody$inboundSchema: z.ZodType< id: z.string(), newDefaultTeamIdError: z.boolean().optional(), }); - /** @internal */ export type DeleteTeamResponseBody$Outbound = { id: string; @@ -267,19 +221,6 @@ export const DeleteTeamResponseBody$outboundSchema: z.ZodType< 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 { @@ -287,7 +228,6 @@ export function deleteTeamResponseBodyToJSON( DeleteTeamResponseBody$outboundSchema.parse(deleteTeamResponseBody), ); } - export function deleteTeamResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/deletev1installationsintegrationconfigurationidresourcesresourceidexperimentationitemsitemidop.ts b/src/models/deletev1installationsintegrationconfigurationidresourcesresourceidexperimentationitemsitemidop.ts index 021c40b0d..ee7869479 100644 --- a/src/models/deletev1installationsintegrationconfigurationidresourcesresourceidexperimentationitemsitemidop.ts +++ b/src/models/deletev1installationsintegrationconfigurationidresourcesresourceidexperimentationitemsitemidop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -25,7 +25,6 @@ export const DeleteV1InstallationsIntegrationConfigurationIdResourcesResourceIdE resourceId: z.string(), itemId: z.string(), }); - /** @internal */ export type DeleteV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsItemIdRequest$Outbound = { @@ -46,22 +45,6 @@ export const DeleteV1InstallationsIntegrationConfigurationIdResourcesResourceIdE itemId: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace DeleteV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsItemIdRequest$ { - /** @deprecated use `DeleteV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsItemIdRequest$inboundSchema` instead. */ - export const inboundSchema = - DeleteV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsItemIdRequest$inboundSchema; - /** @deprecated use `DeleteV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsItemIdRequest$outboundSchema` instead. */ - export const outboundSchema = - DeleteV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsItemIdRequest$outboundSchema; - /** @deprecated use `DeleteV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsItemIdRequest$Outbound` instead. */ - export type Outbound = - DeleteV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsItemIdRequest$Outbound; -} - export function deleteV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsItemIdRequestToJSON( deleteV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsItemIdRequest: DeleteV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsItemIdRequest, @@ -73,7 +56,6 @@ export function deleteV1InstallationsIntegrationConfigurationIdResourcesResource ), ); } - export function deleteV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsItemIdRequestFromJSON( jsonString: string, ): SafeParseResult< diff --git a/src/models/deletewebhookop.ts b/src/models/deletewebhookop.ts index a8591c8a1..ebe231911 100644 --- a/src/models/deletewebhookop.ts +++ b/src/models/deletewebhookop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -29,7 +29,6 @@ export const DeleteWebhookRequest$inboundSchema: z.ZodType< teamId: z.string().optional(), slug: z.string().optional(), }); - /** @internal */ export type DeleteWebhookRequest$Outbound = { id: string; @@ -48,19 +47,6 @@ export const DeleteWebhookRequest$outboundSchema: z.ZodType< 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 { @@ -68,7 +54,6 @@ export function deleteWebhookRequestToJSON( DeleteWebhookRequest$outboundSchema.parse(deleteWebhookRequest), ); } - export function deleteWebhookRequestFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/downloadartifactop.ts b/src/models/downloadartifactop.ts index 562fdb7a0..fc72e8caf 100644 --- a/src/models/downloadartifactop.ts +++ b/src/models/downloadartifactop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; @@ -48,7 +48,6 @@ export const DownloadArtifactRequest$inboundSchema: z.ZodType< "x-artifact-client-interactive": "xArtifactClientInteractive", }); }); - /** @internal */ export type DownloadArtifactRequest$Outbound = { "x-artifact-client-ci"?: string | undefined; @@ -76,19 +75,6 @@ export const DownloadArtifactRequest$outboundSchema: z.ZodType< }); }); -/** - * @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 { @@ -96,7 +82,6 @@ export function downloadArtifactRequestToJSON( DownloadArtifactRequest$outboundSchema.parse(downloadArtifactRequest), ); } - export function downloadArtifactRequestFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/edgeconfigitem.ts b/src/models/edgeconfigitem.ts index 173f8b453..982b9922e 100644 --- a/src/models/edgeconfigitem.ts +++ b/src/models/edgeconfigitem.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { @@ -38,7 +38,6 @@ export const EdgeConfigItem$inboundSchema: z.ZodType< createdAt: z.number(), updatedAt: z.number(), }); - /** @internal */ export type EdgeConfigItem$Outbound = { key: string; @@ -63,23 +62,9 @@ export const EdgeConfigItem$outboundSchema: z.ZodType< 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 EdgeConfigItem$ { - /** @deprecated use `EdgeConfigItem$inboundSchema` instead. */ - export const inboundSchema = EdgeConfigItem$inboundSchema; - /** @deprecated use `EdgeConfigItem$outboundSchema` instead. */ - export const outboundSchema = EdgeConfigItem$outboundSchema; - /** @deprecated use `EdgeConfigItem$Outbound` instead. */ - export type Outbound = EdgeConfigItem$Outbound; -} - export function edgeConfigItemToJSON(edgeConfigItem: EdgeConfigItem): string { return JSON.stringify(EdgeConfigItem$outboundSchema.parse(edgeConfigItem)); } - export function edgeConfigItemFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/edgeconfigitemvalue.ts b/src/models/edgeconfigitemvalue.ts index af6a618cc..2ada533b8 100644 --- a/src/models/edgeconfigitemvalue.ts +++ b/src/models/edgeconfigitemvalue.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -23,7 +23,6 @@ export const EdgeConfigItemValue$inboundSchema: z.ZodType< z.record(z.nullable(z.lazy(() => EdgeConfigItemValue$inboundSchema))), z.array(z.nullable(z.lazy(() => EdgeConfigItemValue$inboundSchema))), ]); - /** @internal */ export type EdgeConfigItemValue$Outbound = string | number | boolean | { [k: string]: EdgeConfigItemValue$Outbound | null; @@ -42,19 +41,6 @@ export const EdgeConfigItemValue$outboundSchema: z.ZodType< z.array(z.nullable(z.lazy(() => EdgeConfigItemValue$outboundSchema))), ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace EdgeConfigItemValue$ { - /** @deprecated use `EdgeConfigItemValue$inboundSchema` instead. */ - export const inboundSchema = EdgeConfigItemValue$inboundSchema; - /** @deprecated use `EdgeConfigItemValue$outboundSchema` instead. */ - export const outboundSchema = EdgeConfigItemValue$outboundSchema; - /** @deprecated use `EdgeConfigItemValue$Outbound` instead. */ - export type Outbound = EdgeConfigItemValue$Outbound; -} - export function edgeConfigItemValueToJSON( edgeConfigItemValue: EdgeConfigItemValue, ): string { @@ -62,7 +48,6 @@ export function edgeConfigItemValueToJSON( EdgeConfigItemValue$outboundSchema.parse(edgeConfigItemValue), ); } - export function edgeConfigItemValueFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/edgeconfigtoken.ts b/src/models/edgeconfigtoken.ts index ebde166d0..55be80190 100644 --- a/src/models/edgeconfigtoken.ts +++ b/src/models/edgeconfigtoken.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -33,7 +33,6 @@ export const EdgeConfigToken$inboundSchema: z.ZodType< edgeConfigId: z.string(), createdAt: z.number(), }); - /** @internal */ export type EdgeConfigToken$Outbound = { token: string; @@ -56,25 +55,11 @@ export const EdgeConfigToken$outboundSchema: z.ZodType< 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 EdgeConfigToken$ { - /** @deprecated use `EdgeConfigToken$inboundSchema` instead. */ - export const inboundSchema = EdgeConfigToken$inboundSchema; - /** @deprecated use `EdgeConfigToken$outboundSchema` instead. */ - export const outboundSchema = EdgeConfigToken$outboundSchema; - /** @deprecated use `EdgeConfigToken$Outbound` instead. */ - export type Outbound = EdgeConfigToken$Outbound; -} - export function edgeConfigTokenToJSON( edgeConfigToken: EdgeConfigToken, ): string { return JSON.stringify(EdgeConfigToken$outboundSchema.parse(edgeConfigToken)); } - export function edgeConfigTokenFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/editprojectenvop.ts b/src/models/editprojectenvop.ts index 1f3bdb641..6558961de 100644 --- a/src/models/editprojectenvop.ts +++ b/src/models/editprojectenvop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; @@ -414,44 +414,20 @@ export type EditProjectEnvResponseBody = 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, @@ -466,7 +442,6 @@ export const EditProjectEnvRequestBody$inboundSchema: z.ZodType< customEnvironmentIds: z.array(z.string()).optional(), comment: z.string().optional(), }); - /** @internal */ export type EditProjectEnvRequestBody$Outbound = { key?: string | undefined; @@ -493,19 +468,6 @@ export const EditProjectEnvRequestBody$outboundSchema: z.ZodType< 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 { @@ -513,7 +475,6 @@ export function editProjectEnvRequestBodyToJSON( EditProjectEnvRequestBody$outboundSchema.parse(editProjectEnvRequestBody), ); } - export function editProjectEnvRequestBodyFromJSON( jsonString: string, ): SafeParseResult { @@ -540,7 +501,6 @@ export const EditProjectEnvRequest$inboundSchema: z.ZodType< "RequestBody": "requestBody", }); }); - /** @internal */ export type EditProjectEnvRequest$Outbound = { idOrName: string; @@ -567,19 +527,6 @@ export const EditProjectEnvRequest$outboundSchema: z.ZodType< }); }); -/** - * @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 { @@ -587,7 +534,6 @@ export function editProjectEnvRequestToJSON( EditProjectEnvRequest$outboundSchema.parse(editProjectEnvRequest), ); } - export function editProjectEnvRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -604,7 +550,6 @@ export const EditProjectEnvResponseBody2$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({}); - /** @internal */ export type EditProjectEnvResponseBody2$Outbound = {}; @@ -615,19 +560,6 @@ export const EditProjectEnvResponseBody2$outboundSchema: z.ZodType< 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 { @@ -637,7 +569,6 @@ export function editProjectEnvResponseBody2ToJSON( ), ); } - export function editProjectEnvResponseBody2FromJSON( jsonString: string, ): SafeParseResult { @@ -652,30 +583,17 @@ export function editProjectEnvResponseBody2FromJSON( 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; @@ -686,19 +604,6 @@ export const EditProjectEnvResponseBodyTarget$outboundSchema: z.ZodType< 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 { @@ -708,7 +613,6 @@ export function editProjectEnvResponseBodyTargetToJSON( ), ); } - export function editProjectEnvResponseBodyTargetFromJSON( jsonString: string, ): SafeParseResult { @@ -723,23 +627,11 @@ export function editProjectEnvResponseBodyTargetFromJSON( 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< @@ -747,7 +639,6 @@ export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponse > = z.nativeEnum( EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type, ); - /** @internal */ export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type$outboundSchema: z.ZodNativeEnum< @@ -755,19 +646,6 @@ export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponse > = 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, @@ -778,7 +656,6 @@ export const EditProjectEnvContentHint15$inboundSchema: z.ZodType< EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type$inboundSchema, projectId: z.string(), }); - /** @internal */ export type EditProjectEnvContentHint15$Outbound = { type: string; @@ -796,19 +673,6 @@ export const EditProjectEnvContentHint15$outboundSchema: z.ZodType< 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 { @@ -818,7 +682,6 @@ export function editProjectEnvContentHint15ToJSON( ), ); } - export function editProjectEnvContentHint15FromJSON( jsonString: string, ): SafeParseResult { @@ -836,7 +699,6 @@ export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponse > = z.nativeEnum( EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type, ); - /** @internal */ export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type$outboundSchema: z.ZodNativeEnum< @@ -844,19 +706,6 @@ export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponse > = 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, @@ -870,7 +719,6 @@ export const EditProjectEnvContentHint14$inboundSchema: z.ZodType< integrationProductId: z.string(), integrationConfigurationId: z.string(), }); - /** @internal */ export type EditProjectEnvContentHint14$Outbound = { type: string; @@ -894,19 +742,6 @@ export const EditProjectEnvContentHint14$outboundSchema: z.ZodType< 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 { @@ -916,7 +751,6 @@ export function editProjectEnvContentHint14ToJSON( ), ); } - export function editProjectEnvContentHint14FromJSON( jsonString: string, ): SafeParseResult { @@ -934,7 +768,6 @@ export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponse > = z.nativeEnum( EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type, ); - /** @internal */ export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type$outboundSchema: z.ZodNativeEnum< @@ -942,19 +775,6 @@ export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponse > = 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, @@ -965,7 +785,6 @@ export const EditProjectEnvContentHint13$inboundSchema: z.ZodType< EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type EditProjectEnvContentHint13$Outbound = { type: string; @@ -983,19 +802,6 @@ export const EditProjectEnvContentHint13$outboundSchema: z.ZodType< storeId: z.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 { @@ -1005,7 +811,6 @@ export function editProjectEnvContentHint13ToJSON( ), ); } - export function editProjectEnvContentHint13FromJSON( jsonString: string, ): SafeParseResult { @@ -1023,7 +828,6 @@ export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponse > = z.nativeEnum( EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type, ); - /** @internal */ export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type$outboundSchema: z.ZodNativeEnum< @@ -1031,19 +835,6 @@ export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponse > = 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, @@ -1054,7 +845,6 @@ export const EditProjectEnvContentHint12$inboundSchema: z.ZodType< EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type EditProjectEnvContentHint12$Outbound = { type: string; @@ -1072,19 +862,6 @@ export const EditProjectEnvContentHint12$outboundSchema: z.ZodType< storeId: z.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 { @@ -1094,7 +871,6 @@ export function editProjectEnvContentHint12ToJSON( ), ); } - export function editProjectEnvContentHint12FromJSON( jsonString: string, ): SafeParseResult { @@ -1112,7 +888,6 @@ export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponse > = z.nativeEnum( EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type, ); - /** @internal */ export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type$outboundSchema: z.ZodNativeEnum< @@ -1120,19 +895,6 @@ export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponse > = 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, @@ -1143,7 +905,6 @@ export const EditProjectEnvContentHint11$inboundSchema: z.ZodType< EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type EditProjectEnvContentHint11$Outbound = { type: string; @@ -1161,19 +922,6 @@ export const EditProjectEnvContentHint11$outboundSchema: z.ZodType< storeId: z.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 { @@ -1183,7 +931,6 @@ export function editProjectEnvContentHint11ToJSON( ), ); } - export function editProjectEnvContentHint11FromJSON( jsonString: string, ): SafeParseResult { @@ -1201,7 +948,6 @@ export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponse > = z.nativeEnum( EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type, ); - /** @internal */ export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type$outboundSchema: z.ZodNativeEnum< @@ -1209,19 +955,6 @@ export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponse > = 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, @@ -1232,7 +965,6 @@ export const EditProjectEnvContentHint10$inboundSchema: z.ZodType< EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type EditProjectEnvContentHint10$Outbound = { type: string; @@ -1250,19 +982,6 @@ export const EditProjectEnvContentHint10$outboundSchema: z.ZodType< storeId: z.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 { @@ -1272,7 +991,6 @@ export function editProjectEnvContentHint10ToJSON( ), ); } - export function editProjectEnvContentHint10FromJSON( jsonString: string, ): SafeParseResult { @@ -1290,7 +1008,6 @@ export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponse > = z.nativeEnum( EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type, ); - /** @internal */ export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type$outboundSchema: z.ZodNativeEnum< @@ -1298,19 +1015,6 @@ export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponse > = 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, @@ -1321,7 +1025,6 @@ export const EditProjectEnvContentHint9$inboundSchema: z.ZodType< EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type EditProjectEnvContentHint9$Outbound = { type: string; @@ -1339,19 +1042,6 @@ export const EditProjectEnvContentHint9$outboundSchema: z.ZodType< storeId: z.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 { @@ -1359,7 +1049,6 @@ export function editProjectEnvContentHint9ToJSON( EditProjectEnvContentHint9$outboundSchema.parse(editProjectEnvContentHint9), ); } - export function editProjectEnvContentHint9FromJSON( jsonString: string, ): SafeParseResult { @@ -1377,7 +1066,6 @@ export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponse > = z.nativeEnum( EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type, ); - /** @internal */ export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type$outboundSchema: z.ZodNativeEnum< @@ -1385,19 +1073,6 @@ export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponse > = 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, @@ -1408,7 +1083,6 @@ export const EditProjectEnvContentHint8$inboundSchema: z.ZodType< EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type EditProjectEnvContentHint8$Outbound = { type: string; @@ -1426,19 +1100,6 @@ export const EditProjectEnvContentHint8$outboundSchema: z.ZodType< storeId: z.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 { @@ -1446,7 +1107,6 @@ export function editProjectEnvContentHint8ToJSON( EditProjectEnvContentHint8$outboundSchema.parse(editProjectEnvContentHint8), ); } - export function editProjectEnvContentHint8FromJSON( jsonString: string, ): SafeParseResult { @@ -1464,7 +1124,6 @@ export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponse > = z.nativeEnum( EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type, ); - /** @internal */ export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type$outboundSchema: z.ZodNativeEnum< @@ -1472,19 +1131,6 @@ export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponse > = 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, @@ -1495,7 +1141,6 @@ export const EditProjectEnvContentHint7$inboundSchema: z.ZodType< EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type EditProjectEnvContentHint7$Outbound = { type: string; @@ -1513,19 +1158,6 @@ export const EditProjectEnvContentHint7$outboundSchema: z.ZodType< storeId: z.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 { @@ -1533,7 +1165,6 @@ export function editProjectEnvContentHint7ToJSON( EditProjectEnvContentHint7$outboundSchema.parse(editProjectEnvContentHint7), ); } - export function editProjectEnvContentHint7FromJSON( jsonString: string, ): SafeParseResult { @@ -1551,7 +1182,6 @@ export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponse > = z.nativeEnum( EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType, ); - /** @internal */ export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema: z.ZodNativeEnum< @@ -1559,19 +1189,6 @@ export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponse > = 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, @@ -1582,7 +1199,6 @@ export const EditProjectEnvContentHint6$inboundSchema: z.ZodType< EditProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema, storeId: z.string(), }); - /** @internal */ export type EditProjectEnvContentHint6$Outbound = { type: string; @@ -1600,19 +1216,6 @@ export const EditProjectEnvContentHint6$outboundSchema: z.ZodType< storeId: z.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 { @@ -1620,7 +1223,6 @@ export function editProjectEnvContentHint6ToJSON( EditProjectEnvContentHint6$outboundSchema.parse(editProjectEnvContentHint6), ); } - export function editProjectEnvContentHint6FromJSON( jsonString: string, ): SafeParseResult { @@ -1638,7 +1240,6 @@ export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONType$inb > = z.nativeEnum( EditProjectEnvContentHintProjectsResponse200ApplicationJSONType, ); - /** @internal */ export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONType$outboundSchema: z.ZodNativeEnum< @@ -1646,19 +1247,6 @@ export const EditProjectEnvContentHintProjectsResponse200ApplicationJSONType$out > = 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, @@ -1669,7 +1257,6 @@ export const EditProjectEnvContentHint5$inboundSchema: z.ZodType< EditProjectEnvContentHintProjectsResponse200ApplicationJSONType$inboundSchema, storeId: z.string(), }); - /** @internal */ export type EditProjectEnvContentHint5$Outbound = { type: string; @@ -1687,19 +1274,6 @@ export const EditProjectEnvContentHint5$outboundSchema: z.ZodType< storeId: z.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 { @@ -1707,7 +1281,6 @@ export function editProjectEnvContentHint5ToJSON( EditProjectEnvContentHint5$outboundSchema.parse(editProjectEnvContentHint5), ); } - export function editProjectEnvContentHint5FromJSON( jsonString: string, ): SafeParseResult { @@ -1722,25 +1295,11 @@ export function editProjectEnvContentHint5FromJSON( 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, @@ -1750,7 +1309,6 @@ export const EditProjectEnvContentHint4$inboundSchema: z.ZodType< type: EditProjectEnvContentHintProjectsResponse200Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type EditProjectEnvContentHint4$Outbound = { type: string; @@ -1767,19 +1325,6 @@ export const EditProjectEnvContentHint4$outboundSchema: z.ZodType< storeId: z.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 { @@ -1787,7 +1332,6 @@ export function editProjectEnvContentHint4ToJSON( EditProjectEnvContentHint4$outboundSchema.parse(editProjectEnvContentHint4), ); } - export function editProjectEnvContentHint4FromJSON( jsonString: string, ): SafeParseResult { @@ -1802,25 +1346,11 @@ export function editProjectEnvContentHint4FromJSON( 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, @@ -1830,7 +1360,6 @@ export const EditProjectEnvContentHint3$inboundSchema: z.ZodType< type: EditProjectEnvContentHintProjectsResponseType$inboundSchema, storeId: z.string(), }); - /** @internal */ export type EditProjectEnvContentHint3$Outbound = { type: string; @@ -1847,19 +1376,6 @@ export const EditProjectEnvContentHint3$outboundSchema: z.ZodType< storeId: z.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 { @@ -1867,7 +1383,6 @@ export function editProjectEnvContentHint3ToJSON( EditProjectEnvContentHint3$outboundSchema.parse(editProjectEnvContentHint3), ); } - export function editProjectEnvContentHint3FromJSON( jsonString: string, ): SafeParseResult { @@ -1883,25 +1398,11 @@ 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, @@ -1911,7 +1412,6 @@ export const EditProjectEnvContentHint2$inboundSchema: z.ZodType< type: EditProjectEnvContentHintProjectsType$inboundSchema, storeId: z.string(), }); - /** @internal */ export type EditProjectEnvContentHint2$Outbound = { type: string; @@ -1928,19 +1428,6 @@ export const EditProjectEnvContentHint2$outboundSchema: z.ZodType< storeId: z.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 { @@ -1948,7 +1435,6 @@ export function editProjectEnvContentHint2ToJSON( EditProjectEnvContentHint2$outboundSchema.parse(editProjectEnvContentHint2), ); } - export function editProjectEnvContentHint2FromJSON( jsonString: string, ): SafeParseResult { @@ -1963,23 +1449,11 @@ export function editProjectEnvContentHint2FromJSON( 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, @@ -1989,7 +1463,6 @@ export const EditProjectEnvContentHint1$inboundSchema: z.ZodType< type: EditProjectEnvContentHintType$inboundSchema, storeId: z.string(), }); - /** @internal */ export type EditProjectEnvContentHint1$Outbound = { type: string; @@ -2006,19 +1479,6 @@ export const EditProjectEnvContentHint1$outboundSchema: z.ZodType< storeId: z.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 { @@ -2026,7 +1486,6 @@ export function editProjectEnvContentHint1ToJSON( EditProjectEnvContentHint1$outboundSchema.parse(editProjectEnvContentHint1), ); } - export function editProjectEnvContentHint1FromJSON( jsonString: string, ): SafeParseResult { @@ -2059,7 +1518,6 @@ export const EditProjectEnvResponseBodyContentHint$inboundSchema: z.ZodType< z.lazy(() => EditProjectEnvContentHint13$inboundSchema), z.lazy(() => EditProjectEnvContentHint15$inboundSchema), ]); - /** @internal */ export type EditProjectEnvResponseBodyContentHint$Outbound = | EditProjectEnvContentHint14$Outbound @@ -2101,21 +1559,6 @@ export const EditProjectEnvResponseBodyContentHint$outboundSchema: z.ZodType< z.lazy(() => EditProjectEnvContentHint15$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 { @@ -2125,7 +1568,6 @@ export function editProjectEnvResponseBodyContentHintToJSON( ), ); } - export function editProjectEnvResponseBodyContentHintFromJSON( jsonString: string, ): SafeParseResult { @@ -2142,25 +1584,11 @@ 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< @@ -2171,7 +1599,6 @@ export const EditProjectEnvResponseBodyInternalContentHint$inboundSchema: type: EditProjectEnvResponseBodyProjectsType$inboundSchema, encryptedValue: z.string(), }); - /** @internal */ export type EditProjectEnvResponseBodyInternalContentHint$Outbound = { type: string; @@ -2189,21 +1616,6 @@ export const EditProjectEnvResponseBodyInternalContentHint$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, @@ -2214,7 +1626,6 @@ export function editProjectEnvResponseBodyInternalContentHintToJSON( ), ); } - export function editProjectEnvResponseBodyInternalContentHintFromJSON( jsonString: string, ): SafeParseResult< @@ -2278,7 +1689,6 @@ export const EditProjectEnvResponseBody1$inboundSchema: z.ZodType< comment: z.string().optional(), customEnvironmentIds: z.array(z.string()).optional(), }); - /** @internal */ export type EditProjectEnvResponseBody1$Outbound = { target?: Array | string | undefined; @@ -2370,19 +1780,6 @@ export const EditProjectEnvResponseBody1$outboundSchema: z.ZodType< 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 { @@ -2392,7 +1789,6 @@ export function editProjectEnvResponseBody1ToJSON( ), ); } - export function editProjectEnvResponseBody1FromJSON( jsonString: string, ): SafeParseResult { @@ -2412,7 +1808,6 @@ export const EditProjectEnvResponseBody$inboundSchema: z.ZodType< z.lazy(() => EditProjectEnvResponseBody1$inboundSchema), z.lazy(() => EditProjectEnvResponseBody2$inboundSchema), ]); - /** @internal */ export type EditProjectEnvResponseBody$Outbound = | EditProjectEnvResponseBody1$Outbound @@ -2428,19 +1823,6 @@ export const EditProjectEnvResponseBody$outboundSchema: z.ZodType< z.lazy(() => EditProjectEnvResponseBody2$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 { @@ -2448,7 +1830,6 @@ export function editProjectEnvResponseBodyToJSON( EditProjectEnvResponseBody$outboundSchema.parse(editProjectEnvResponseBody), ); } - export function editProjectEnvResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/exchangessotokenop.ts b/src/models/exchangessotokenop.ts index 477249e31..d350bc73d 100644 --- a/src/models/exchangessotokenop.ts +++ b/src/models/exchangessotokenop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; @@ -53,29 +53,18 @@ export type ExchangeSsoTokenResponseBody = { idToken: string; accessToken: string | null; tokenType: string | null; + expiresIn?: number | undefined; }; /** @internal */ export const ExchangeSsoTokenGrantType$inboundSchema: z.ZodNativeEnum< typeof ExchangeSsoTokenGrantType > = z.nativeEnum(ExchangeSsoTokenGrantType); - /** @internal */ export const ExchangeSsoTokenGrantType$outboundSchema: z.ZodNativeEnum< typeof ExchangeSsoTokenGrantType > = ExchangeSsoTokenGrantType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ExchangeSsoTokenGrantType$ { - /** @deprecated use `ExchangeSsoTokenGrantType$inboundSchema` instead. */ - export const inboundSchema = ExchangeSsoTokenGrantType$inboundSchema; - /** @deprecated use `ExchangeSsoTokenGrantType$outboundSchema` instead. */ - export const outboundSchema = ExchangeSsoTokenGrantType$outboundSchema; -} - /** @internal */ export const ExchangeSsoTokenRequestBody$inboundSchema: z.ZodType< ExchangeSsoTokenRequestBody, @@ -96,7 +85,6 @@ export const ExchangeSsoTokenRequestBody$inboundSchema: z.ZodType< "grant_type": "grantType", }); }); - /** @internal */ export type ExchangeSsoTokenRequestBody$Outbound = { code: string; @@ -128,19 +116,6 @@ export const ExchangeSsoTokenRequestBody$outboundSchema: z.ZodType< }); }); -/** - * @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 { @@ -150,7 +125,6 @@ export function exchangeSsoTokenRequestBodyToJSON( ), ); } - export function exchangeSsoTokenRequestBodyFromJSON( jsonString: string, ): SafeParseResult { @@ -170,19 +144,21 @@ export const ExchangeSsoTokenResponseBody$inboundSchema: z.ZodType< id_token: z.string(), access_token: z.nullable(z.string()), token_type: z.nullable(z.string()), + expires_in: z.number().optional(), }).transform((v) => { return remap$(v, { "id_token": "idToken", "access_token": "accessToken", "token_type": "tokenType", + "expires_in": "expiresIn", }); }); - /** @internal */ export type ExchangeSsoTokenResponseBody$Outbound = { id_token: string; access_token: string | null; token_type: string | null; + expires_in?: number | undefined; }; /** @internal */ @@ -194,27 +170,16 @@ export const ExchangeSsoTokenResponseBody$outboundSchema: z.ZodType< idToken: z.string(), accessToken: z.nullable(z.string()), tokenType: z.nullable(z.string()), + expiresIn: z.number().optional(), }).transform((v) => { return remap$(v, { idToken: "id_token", accessToken: "access_token", tokenType: "token_type", + expiresIn: "expires_in", }); }); -/** - * @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 { @@ -224,7 +189,6 @@ export function exchangeSsoTokenResponseBodyToJSON( ), ); } - export function exchangeSsoTokenResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/filetree.ts b/src/models/filetree.ts index 1a9564aac..1f6af2e55 100644 --- a/src/models/filetree.ts +++ b/src/models/filetree.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; @@ -52,32 +52,16 @@ export type FileTree = { * The file "mode" indicating file type and permissions. */ mode: number; - /** - * Not currently used. See `file-list-to-tree.ts`. - */ - symlink?: string | undefined; }; /** @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 FileTree$inboundSchema: z.ZodType< FileTree, @@ -90,9 +74,7 @@ export const FileTree$inboundSchema: z.ZodType< children: z.array(z.lazy(() => FileTree$inboundSchema)).optional(), contentType: z.string().optional(), mode: z.number(), - symlink: z.string().optional(), }); - /** @internal */ export type FileTree$Outbound = { name: string; @@ -101,7 +83,6 @@ export type FileTree$Outbound = { children?: Array | undefined; contentType?: string | undefined; mode: number; - symlink?: string | undefined; }; /** @internal */ @@ -116,26 +97,11 @@ export const FileTree$outboundSchema: z.ZodType< children: z.array(z.lazy(() => FileTree$outboundSchema)).optional(), contentType: z.string().optional(), mode: z.number(), - symlink: z.string().optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FileTree$ { - /** @deprecated use `FileTree$inboundSchema` instead. */ - export const inboundSchema = FileTree$inboundSchema; - /** @deprecated use `FileTree$outboundSchema` instead. */ - export const outboundSchema = FileTree$outboundSchema; - /** @deprecated use `FileTree$Outbound` instead. */ - export type Outbound = FileTree$Outbound; -} - export function fileTreeToJSON(fileTree: FileTree): string { return JSON.stringify(FileTree$outboundSchema.parse(fileTree)); } - export function fileTreeFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/filterprojectenvsop.ts b/src/models/filterprojectenvsop.ts index 6f7d0f066..34b9c7d34 100644 --- a/src/models/filterprojectenvsop.ts +++ b/src/models/filterprojectenvsop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; @@ -1126,22 +1126,10 @@ export type FilterProjectEnvsResponseBody = /** @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, @@ -1157,7 +1145,6 @@ export const FilterProjectEnvsRequest$inboundSchema: z.ZodType< teamId: z.string().optional(), slug: z.string().optional(), }); - /** @internal */ export type FilterProjectEnvsRequest$Outbound = { idOrName: string; @@ -1186,19 +1173,6 @@ export const FilterProjectEnvsRequest$outboundSchema: z.ZodType< 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 { @@ -1206,7 +1180,6 @@ export function filterProjectEnvsRequestToJSON( FilterProjectEnvsRequest$outboundSchema.parse(filterProjectEnvsRequest), ); } - export function filterProjectEnvsRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -1221,48 +1194,20 @@ export function filterProjectEnvsRequestFromJSON( 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 FilterProjectEnvsTargetProjectsResponse1$inboundSchema: z.ZodNativeEnum = z .nativeEnum(FilterProjectEnvsTargetProjectsResponse1); - /** @internal */ export const FilterProjectEnvsTargetProjectsResponse1$outboundSchema: z.ZodNativeEnum = FilterProjectEnvsTargetProjectsResponse1$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FilterProjectEnvsTargetProjectsResponse1$ { - /** @deprecated use `FilterProjectEnvsTargetProjectsResponse1$inboundSchema` instead. */ - export const inboundSchema = - FilterProjectEnvsTargetProjectsResponse1$inboundSchema; - /** @deprecated use `FilterProjectEnvsTargetProjectsResponse1$outboundSchema` instead. */ - export const outboundSchema = - FilterProjectEnvsTargetProjectsResponse1$outboundSchema; -} - /** @internal */ export const FilterProjectEnvsResponseBodyProjectsResponseTarget$inboundSchema: z.ZodType< @@ -1273,7 +1218,6 @@ export const FilterProjectEnvsResponseBodyProjectsResponseTarget$inboundSchema: z.array(FilterProjectEnvsTargetProjectsResponse1$inboundSchema), FilterProjectEnvsTargetProjectsResponse2$inboundSchema, ]); - /** @internal */ export type FilterProjectEnvsResponseBodyProjectsResponseTarget$Outbound = | Array @@ -1290,22 +1234,6 @@ export const FilterProjectEnvsResponseBodyProjectsResponseTarget$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, @@ -1316,7 +1244,6 @@ export function filterProjectEnvsResponseBodyProjectsResponseTargetToJSON( ), ); } - export function filterProjectEnvsResponseBodyProjectsResponseTargetFromJSON( jsonString: string, ): SafeParseResult< @@ -1337,25 +1264,11 @@ export function filterProjectEnvsResponseBodyProjectsResponseTargetFromJSON( 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< @@ -1363,7 +1276,6 @@ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONRespo > = z.nativeEnum( FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs15Type, ); - /** @internal */ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs15Type$outboundSchema: z.ZodNativeEnum< @@ -1371,19 +1283,6 @@ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONRespo > = 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< @@ -1395,7 +1294,6 @@ export const FilterProjectEnvsContentHintProjectsResponse15$inboundSchema: FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs15Type$inboundSchema, projectId: z.string(), }); - /** @internal */ export type FilterProjectEnvsContentHintProjectsResponse15$Outbound = { type: string; @@ -1414,22 +1312,6 @@ export const FilterProjectEnvsContentHintProjectsResponse15$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, @@ -1440,7 +1322,6 @@ export function filterProjectEnvsContentHintProjectsResponse15ToJSON( ), ); } - export function filterProjectEnvsContentHintProjectsResponse15FromJSON( jsonString: string, ): SafeParseResult< @@ -1464,7 +1345,6 @@ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONRespo > = z.nativeEnum( FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs14Type, ); - /** @internal */ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs14Type$outboundSchema: z.ZodNativeEnum< @@ -1472,19 +1352,6 @@ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONRespo > = 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< @@ -1499,7 +1366,6 @@ export const FilterProjectEnvsContentHintProjectsResponse14$inboundSchema: integrationProductId: z.string(), integrationConfigurationId: z.string(), }); - /** @internal */ export type FilterProjectEnvsContentHintProjectsResponse14$Outbound = { type: string; @@ -1524,22 +1390,6 @@ export const FilterProjectEnvsContentHintProjectsResponse14$outboundSchema: 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, @@ -1550,7 +1400,6 @@ export function filterProjectEnvsContentHintProjectsResponse14ToJSON( ), ); } - export function filterProjectEnvsContentHintProjectsResponse14FromJSON( jsonString: string, ): SafeParseResult< @@ -1574,7 +1423,6 @@ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONRespo > = z.nativeEnum( FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs13Type, ); - /** @internal */ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs13Type$outboundSchema: z.ZodNativeEnum< @@ -1582,19 +1430,6 @@ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONRespo > = 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< @@ -1606,7 +1441,6 @@ export const FilterProjectEnvsContentHintProjectsResponse13$inboundSchema: FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs13Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type FilterProjectEnvsContentHintProjectsResponse13$Outbound = { type: string; @@ -1625,22 +1459,6 @@ export const FilterProjectEnvsContentHintProjectsResponse13$outboundSchema: storeId: z.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, @@ -1651,7 +1469,6 @@ export function filterProjectEnvsContentHintProjectsResponse13ToJSON( ), ); } - export function filterProjectEnvsContentHintProjectsResponse13FromJSON( jsonString: string, ): SafeParseResult< @@ -1675,7 +1492,6 @@ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONRespo > = z.nativeEnum( FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs12Type, ); - /** @internal */ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs12Type$outboundSchema: z.ZodNativeEnum< @@ -1683,19 +1499,6 @@ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONRespo > = 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< @@ -1707,7 +1510,6 @@ export const FilterProjectEnvsContentHintProjectsResponse12$inboundSchema: FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs12Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type FilterProjectEnvsContentHintProjectsResponse12$Outbound = { type: string; @@ -1726,22 +1528,6 @@ export const FilterProjectEnvsContentHintProjectsResponse12$outboundSchema: storeId: z.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, @@ -1752,7 +1538,6 @@ export function filterProjectEnvsContentHintProjectsResponse12ToJSON( ), ); } - export function filterProjectEnvsContentHintProjectsResponse12FromJSON( jsonString: string, ): SafeParseResult< @@ -1776,7 +1561,6 @@ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONRespo > = z.nativeEnum( FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs11Type, ); - /** @internal */ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs11Type$outboundSchema: z.ZodNativeEnum< @@ -1784,19 +1568,6 @@ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONRespo > = 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< @@ -1808,7 +1579,6 @@ export const FilterProjectEnvsContentHintProjectsResponse11$inboundSchema: FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs11Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type FilterProjectEnvsContentHintProjectsResponse11$Outbound = { type: string; @@ -1827,22 +1597,6 @@ export const FilterProjectEnvsContentHintProjectsResponse11$outboundSchema: storeId: z.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, @@ -1853,7 +1607,6 @@ export function filterProjectEnvsContentHintProjectsResponse11ToJSON( ), ); } - export function filterProjectEnvsContentHintProjectsResponse11FromJSON( jsonString: string, ): SafeParseResult< @@ -1877,7 +1630,6 @@ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONRespo > = z.nativeEnum( FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs10Type, ); - /** @internal */ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs10Type$outboundSchema: z.ZodNativeEnum< @@ -1885,19 +1637,6 @@ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONRespo > = 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< @@ -1909,7 +1648,6 @@ export const FilterProjectEnvsContentHintProjectsResponse10$inboundSchema: FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs10Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type FilterProjectEnvsContentHintProjectsResponse10$Outbound = { type: string; @@ -1928,22 +1666,6 @@ export const FilterProjectEnvsContentHintProjectsResponse10$outboundSchema: storeId: z.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, @@ -1954,7 +1676,6 @@ export function filterProjectEnvsContentHintProjectsResponse10ToJSON( ), ); } - export function filterProjectEnvsContentHintProjectsResponse10FromJSON( jsonString: string, ): SafeParseResult< @@ -1978,7 +1699,6 @@ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONRespo > = z.nativeEnum( FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs9Type, ); - /** @internal */ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs9Type$outboundSchema: z.ZodNativeEnum< @@ -1986,19 +1706,6 @@ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONRespo > = 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< @@ -2010,7 +1717,6 @@ export const FilterProjectEnvsContentHintProjectsResponse9$inboundSchema: FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs9Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type FilterProjectEnvsContentHintProjectsResponse9$Outbound = { type: string; @@ -2029,21 +1735,6 @@ export const FilterProjectEnvsContentHintProjectsResponse9$outboundSchema: storeId: z.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, @@ -2054,7 +1745,6 @@ export function filterProjectEnvsContentHintProjectsResponse9ToJSON( ), ); } - export function filterProjectEnvsContentHintProjectsResponse9FromJSON( jsonString: string, ): SafeParseResult< @@ -2078,7 +1768,6 @@ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONRespo > = z.nativeEnum( FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs8Type, ); - /** @internal */ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs8Type$outboundSchema: z.ZodNativeEnum< @@ -2086,19 +1775,6 @@ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONRespo > = 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< @@ -2110,7 +1786,6 @@ export const FilterProjectEnvsContentHintProjectsResponse8$inboundSchema: FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs8Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type FilterProjectEnvsContentHintProjectsResponse8$Outbound = { type: string; @@ -2129,21 +1804,6 @@ export const FilterProjectEnvsContentHintProjectsResponse8$outboundSchema: storeId: z.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, @@ -2154,7 +1814,6 @@ export function filterProjectEnvsContentHintProjectsResponse8ToJSON( ), ); } - export function filterProjectEnvsContentHintProjectsResponse8FromJSON( jsonString: string, ): SafeParseResult< @@ -2178,7 +1837,6 @@ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONRespo > = z.nativeEnum( FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs7Type, ); - /** @internal */ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs7Type$outboundSchema: z.ZodNativeEnum< @@ -2186,19 +1844,6 @@ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONRespo > = 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< @@ -2210,7 +1855,6 @@ export const FilterProjectEnvsContentHintProjectsResponse7$inboundSchema: FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs7Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type FilterProjectEnvsContentHintProjectsResponse7$Outbound = { type: string; @@ -2229,21 +1873,6 @@ export const FilterProjectEnvsContentHintProjectsResponse7$outboundSchema: storeId: z.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, @@ -2254,7 +1883,6 @@ export function filterProjectEnvsContentHintProjectsResponse7ToJSON( ), ); } - export function filterProjectEnvsContentHintProjectsResponse7FromJSON( jsonString: string, ): SafeParseResult< @@ -2278,7 +1906,6 @@ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONRespo > = z.nativeEnum( FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs6Type, ); - /** @internal */ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs6Type$outboundSchema: z.ZodNativeEnum< @@ -2286,19 +1913,6 @@ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONRespo > = 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< @@ -2310,7 +1924,6 @@ export const FilterProjectEnvsContentHintProjectsResponse6$inboundSchema: FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs6Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type FilterProjectEnvsContentHintProjectsResponse6$Outbound = { type: string; @@ -2329,21 +1942,6 @@ export const FilterProjectEnvsContentHintProjectsResponse6$outboundSchema: storeId: z.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, @@ -2354,7 +1952,6 @@ export function filterProjectEnvsContentHintProjectsResponse6ToJSON( ), ); } - export function filterProjectEnvsContentHintProjectsResponse6FromJSON( jsonString: string, ): SafeParseResult< @@ -2378,7 +1975,6 @@ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONRespo > = z.nativeEnum( FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs5Type, ); - /** @internal */ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs5Type$outboundSchema: z.ZodNativeEnum< @@ -2386,19 +1982,6 @@ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONRespo > = 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< @@ -2410,7 +1993,6 @@ export const FilterProjectEnvsContentHintProjectsResponse5$inboundSchema: FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs5Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type FilterProjectEnvsContentHintProjectsResponse5$Outbound = { type: string; @@ -2429,21 +2011,6 @@ export const FilterProjectEnvsContentHintProjectsResponse5$outboundSchema: storeId: z.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, @@ -2454,7 +2021,6 @@ export function filterProjectEnvsContentHintProjectsResponse5ToJSON( ), ); } - export function filterProjectEnvsContentHintProjectsResponse5FromJSON( jsonString: string, ): SafeParseResult< @@ -2478,7 +2044,6 @@ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONRespo > = z.nativeEnum( FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs4Type, ); - /** @internal */ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs4Type$outboundSchema: z.ZodNativeEnum< @@ -2486,19 +2051,6 @@ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONRespo > = 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< @@ -2510,7 +2062,6 @@ export const FilterProjectEnvsContentHintProjectsResponse4$inboundSchema: FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs4Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type FilterProjectEnvsContentHintProjectsResponse4$Outbound = { type: string; @@ -2529,21 +2080,6 @@ export const FilterProjectEnvsContentHintProjectsResponse4$outboundSchema: storeId: z.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, @@ -2554,7 +2090,6 @@ export function filterProjectEnvsContentHintProjectsResponse4ToJSON( ), ); } - export function filterProjectEnvsContentHintProjectsResponse4FromJSON( jsonString: string, ): SafeParseResult< @@ -2578,7 +2113,6 @@ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONRespo > = z.nativeEnum( FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs3Type, ); - /** @internal */ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs3Type$outboundSchema: z.ZodNativeEnum< @@ -2586,19 +2120,6 @@ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONRespo > = 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< @@ -2610,7 +2131,6 @@ export const FilterProjectEnvsContentHintProjectsResponse3$inboundSchema: FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Envs3Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type FilterProjectEnvsContentHintProjectsResponse3$Outbound = { type: string; @@ -2629,21 +2149,6 @@ export const FilterProjectEnvsContentHintProjectsResponse3$outboundSchema: storeId: z.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, @@ -2654,7 +2159,6 @@ export function filterProjectEnvsContentHintProjectsResponse3ToJSON( ), ); } - export function filterProjectEnvsContentHintProjectsResponse3FromJSON( jsonString: string, ): SafeParseResult< @@ -2678,7 +2182,6 @@ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONRespo > = z.nativeEnum( FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3EnvsType, ); - /** @internal */ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3EnvsType$outboundSchema: z.ZodNativeEnum< @@ -2686,19 +2189,6 @@ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONRespo > = 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< @@ -2710,7 +2200,6 @@ export const FilterProjectEnvsContentHintProjectsResponse2$inboundSchema: FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3EnvsType$inboundSchema, storeId: z.string(), }); - /** @internal */ export type FilterProjectEnvsContentHintProjectsResponse2$Outbound = { type: string; @@ -2729,21 +2218,6 @@ export const FilterProjectEnvsContentHintProjectsResponse2$outboundSchema: storeId: z.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, @@ -2754,7 +2228,6 @@ export function filterProjectEnvsContentHintProjectsResponse2ToJSON( ), ); } - export function filterProjectEnvsContentHintProjectsResponse2FromJSON( jsonString: string, ): SafeParseResult< @@ -2778,7 +2251,6 @@ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONRespo > = z.nativeEnum( FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Type, ); - /** @internal */ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Type$outboundSchema: z.ZodNativeEnum< @@ -2786,19 +2258,6 @@ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONRespo > = 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< @@ -2810,7 +2269,6 @@ export const FilterProjectEnvsContentHintProjectsResponse1$inboundSchema: FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody3Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type FilterProjectEnvsContentHintProjectsResponse1$Outbound = { type: string; @@ -2829,21 +2287,6 @@ export const FilterProjectEnvsContentHintProjectsResponse1$outboundSchema: storeId: z.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, @@ -2854,7 +2297,6 @@ export function filterProjectEnvsContentHintProjectsResponse1ToJSON( ), ); } - export function filterProjectEnvsContentHintProjectsResponse1FromJSON( jsonString: string, ): SafeParseResult< @@ -2894,7 +2336,6 @@ export const FilterProjectEnvsResponseBodyProjectsContentHint$inboundSchema: z.lazy(() => FilterProjectEnvsContentHintProjectsResponse13$inboundSchema), z.lazy(() => FilterProjectEnvsContentHintProjectsResponse15$inboundSchema), ]); - /** @internal */ export type FilterProjectEnvsResponseBodyProjectsContentHint$Outbound = | FilterProjectEnvsContentHintProjectsResponse14$Outbound @@ -2937,22 +2378,6 @@ export const FilterProjectEnvsResponseBodyProjectsContentHint$outboundSchema: z.lazy(() => FilterProjectEnvsContentHintProjectsResponse15$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, @@ -2963,7 +2388,6 @@ export function filterProjectEnvsResponseBodyProjectsContentHintToJSON( ), ); } - export function filterProjectEnvsResponseBodyProjectsContentHintFromJSON( jsonString: string, ): SafeParseResult< @@ -2987,7 +2411,6 @@ export const FilterProjectEnvsResponseBodyProjectsResponse200ApplicationJson3Typ > = z.nativeEnum( FilterProjectEnvsResponseBodyProjectsResponse200ApplicationJson3Type, ); - /** @internal */ export const FilterProjectEnvsResponseBodyProjectsResponse200ApplicationJson3Type$outboundSchema: z.ZodNativeEnum< @@ -2995,19 +2418,6 @@ export const FilterProjectEnvsResponseBodyProjectsResponse200ApplicationJson3Typ > = 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< @@ -3019,7 +2429,6 @@ export const FilterProjectEnvsResponseBodyProjectsInternalContentHint$inboundSch FilterProjectEnvsResponseBodyProjectsResponse200ApplicationJson3Type$inboundSchema, encryptedValue: z.string(), }); - /** @internal */ export type FilterProjectEnvsResponseBodyProjectsInternalContentHint$Outbound = { @@ -3039,22 +2448,6 @@ export const FilterProjectEnvsResponseBodyProjectsInternalContentHint$outboundSc 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, @@ -3064,7 +2457,6 @@ export function filterProjectEnvsResponseBodyProjectsInternalContentHintToJSON( .parse(filterProjectEnvsResponseBodyProjectsInternalContentHint), ); } - export function filterProjectEnvsResponseBodyProjectsInternalContentHintFromJSON( jsonString: string, ): SafeParseResult< @@ -3145,7 +2537,6 @@ export const ResponseBodyEnvs$inboundSchema: z.ZodType< customEnvironmentIds: z.array(z.string()).optional(), system: z.boolean().optional(), }); - /** @internal */ export type ResponseBodyEnvs$Outbound = { target?: Array | string | undefined; @@ -3275,19 +2666,6 @@ export const ResponseBodyEnvs$outboundSchema: z.ZodType< 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 { @@ -3295,7 +2673,6 @@ export function responseBodyEnvsToJSON( ResponseBodyEnvs$outboundSchema.parse(responseBodyEnvs), ); } - export function responseBodyEnvsFromJSON( jsonString: string, ): SafeParseResult { @@ -3314,7 +2691,6 @@ export const FilterProjectEnvsResponseBody3$inboundSchema: z.ZodType< > = z.object({ envs: z.array(z.lazy(() => ResponseBodyEnvs$inboundSchema)), }); - /** @internal */ export type FilterProjectEnvsResponseBody3$Outbound = { envs: Array; @@ -3329,19 +2705,6 @@ export const FilterProjectEnvsResponseBody3$outboundSchema: z.ZodType< 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 { @@ -3351,7 +2714,6 @@ export function filterProjectEnvsResponseBody3ToJSON( ), ); } - export function filterProjectEnvsResponseBody3FromJSON( jsonString: string, ): SafeParseResult { @@ -3366,44 +2728,20 @@ export function filterProjectEnvsResponseBody3FromJSON( 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 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 FilterProjectEnvsResponseBodyProjectsTarget$inboundSchema: z.ZodType< @@ -3414,7 +2752,6 @@ export const FilterProjectEnvsResponseBodyProjectsTarget$inboundSchema: z.array(FilterProjectEnvsTargetProjects1$inboundSchema), FilterProjectEnvsTargetProjects2$inboundSchema, ]); - /** @internal */ export type FilterProjectEnvsResponseBodyProjectsTarget$Outbound = | Array @@ -3431,21 +2768,6 @@ export const FilterProjectEnvsResponseBodyProjectsTarget$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, @@ -3456,7 +2778,6 @@ export function filterProjectEnvsResponseBodyProjectsTargetToJSON( ), ); } - export function filterProjectEnvsResponseBodyProjectsTargetFromJSON( jsonString: string, ): SafeParseResult< @@ -3477,25 +2798,11 @@ export function filterProjectEnvsResponseBodyProjectsTargetFromJSON( 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< @@ -3503,7 +2810,6 @@ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONRespo > = z.nativeEnum( FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs15Type, ); - /** @internal */ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs15Type$outboundSchema: z.ZodNativeEnum< @@ -3511,19 +2817,6 @@ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONRespo > = 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, @@ -3534,7 +2827,6 @@ export const FilterProjectEnvsContentHintProjects15$inboundSchema: z.ZodType< FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs15Type$inboundSchema, projectId: z.string(), }); - /** @internal */ export type FilterProjectEnvsContentHintProjects15$Outbound = { type: string; @@ -3552,21 +2844,6 @@ export const FilterProjectEnvsContentHintProjects15$outboundSchema: z.ZodType< 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, @@ -3577,7 +2854,6 @@ export function filterProjectEnvsContentHintProjects15ToJSON( ), ); } - export function filterProjectEnvsContentHintProjects15FromJSON( jsonString: string, ): SafeParseResult { @@ -3596,7 +2872,6 @@ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONRespo > = z.nativeEnum( FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs14Type, ); - /** @internal */ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs14Type$outboundSchema: z.ZodNativeEnum< @@ -3604,19 +2879,6 @@ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONRespo > = 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, @@ -3630,7 +2892,6 @@ export const FilterProjectEnvsContentHintProjects14$inboundSchema: z.ZodType< integrationProductId: z.string(), integrationConfigurationId: z.string(), }); - /** @internal */ export type FilterProjectEnvsContentHintProjects14$Outbound = { type: string; @@ -3654,21 +2915,6 @@ export const FilterProjectEnvsContentHintProjects14$outboundSchema: z.ZodType< 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, @@ -3679,7 +2925,6 @@ export function filterProjectEnvsContentHintProjects14ToJSON( ), ); } - export function filterProjectEnvsContentHintProjects14FromJSON( jsonString: string, ): SafeParseResult { @@ -3698,7 +2943,6 @@ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONRespo > = z.nativeEnum( FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs13Type, ); - /** @internal */ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs13Type$outboundSchema: z.ZodNativeEnum< @@ -3706,19 +2950,6 @@ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONRespo > = 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, @@ -3729,7 +2960,6 @@ export const FilterProjectEnvsContentHintProjects13$inboundSchema: z.ZodType< FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs13Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type FilterProjectEnvsContentHintProjects13$Outbound = { type: string; @@ -3747,21 +2977,6 @@ export const FilterProjectEnvsContentHintProjects13$outboundSchema: z.ZodType< storeId: z.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, @@ -3772,7 +2987,6 @@ export function filterProjectEnvsContentHintProjects13ToJSON( ), ); } - export function filterProjectEnvsContentHintProjects13FromJSON( jsonString: string, ): SafeParseResult { @@ -3791,7 +3005,6 @@ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONRespo > = z.nativeEnum( FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs12Type, ); - /** @internal */ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs12Type$outboundSchema: z.ZodNativeEnum< @@ -3799,19 +3012,6 @@ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONRespo > = 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, @@ -3822,7 +3022,6 @@ export const FilterProjectEnvsContentHintProjects12$inboundSchema: z.ZodType< FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs12Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type FilterProjectEnvsContentHintProjects12$Outbound = { type: string; @@ -3840,21 +3039,6 @@ export const FilterProjectEnvsContentHintProjects12$outboundSchema: z.ZodType< storeId: z.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, @@ -3865,7 +3049,6 @@ export function filterProjectEnvsContentHintProjects12ToJSON( ), ); } - export function filterProjectEnvsContentHintProjects12FromJSON( jsonString: string, ): SafeParseResult { @@ -3884,7 +3067,6 @@ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONRespo > = z.nativeEnum( FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs11Type, ); - /** @internal */ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs11Type$outboundSchema: z.ZodNativeEnum< @@ -3892,19 +3074,6 @@ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONRespo > = 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, @@ -3915,7 +3084,6 @@ export const FilterProjectEnvsContentHintProjects11$inboundSchema: z.ZodType< FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs11Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type FilterProjectEnvsContentHintProjects11$Outbound = { type: string; @@ -3933,21 +3101,6 @@ export const FilterProjectEnvsContentHintProjects11$outboundSchema: z.ZodType< storeId: z.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, @@ -3958,7 +3111,6 @@ export function filterProjectEnvsContentHintProjects11ToJSON( ), ); } - export function filterProjectEnvsContentHintProjects11FromJSON( jsonString: string, ): SafeParseResult { @@ -3977,7 +3129,6 @@ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONRespo > = z.nativeEnum( FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs10Type, ); - /** @internal */ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs10Type$outboundSchema: z.ZodNativeEnum< @@ -3985,19 +3136,6 @@ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONRespo > = 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, @@ -4008,7 +3146,6 @@ export const FilterProjectEnvsContentHintProjects10$inboundSchema: z.ZodType< FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs10Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type FilterProjectEnvsContentHintProjects10$Outbound = { type: string; @@ -4026,21 +3163,6 @@ export const FilterProjectEnvsContentHintProjects10$outboundSchema: z.ZodType< storeId: z.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, @@ -4051,7 +3173,6 @@ export function filterProjectEnvsContentHintProjects10ToJSON( ), ); } - export function filterProjectEnvsContentHintProjects10FromJSON( jsonString: string, ): SafeParseResult { @@ -4070,7 +3191,6 @@ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONRespo > = z.nativeEnum( FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs9Type, ); - /** @internal */ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs9Type$outboundSchema: z.ZodNativeEnum< @@ -4078,19 +3198,6 @@ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONRespo > = 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, @@ -4101,7 +3208,6 @@ export const FilterProjectEnvsContentHintProjects9$inboundSchema: z.ZodType< FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs9Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type FilterProjectEnvsContentHintProjects9$Outbound = { type: string; @@ -4119,21 +3225,6 @@ export const FilterProjectEnvsContentHintProjects9$outboundSchema: z.ZodType< storeId: z.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 { @@ -4143,7 +3234,6 @@ export function filterProjectEnvsContentHintProjects9ToJSON( ), ); } - export function filterProjectEnvsContentHintProjects9FromJSON( jsonString: string, ): SafeParseResult { @@ -4162,7 +3252,6 @@ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONRespo > = z.nativeEnum( FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs8Type, ); - /** @internal */ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs8Type$outboundSchema: z.ZodNativeEnum< @@ -4170,19 +3259,6 @@ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONRespo > = 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, @@ -4193,7 +3269,6 @@ export const FilterProjectEnvsContentHintProjects8$inboundSchema: z.ZodType< FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs8Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type FilterProjectEnvsContentHintProjects8$Outbound = { type: string; @@ -4211,21 +3286,6 @@ export const FilterProjectEnvsContentHintProjects8$outboundSchema: z.ZodType< storeId: z.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 { @@ -4235,7 +3295,6 @@ export function filterProjectEnvsContentHintProjects8ToJSON( ), ); } - export function filterProjectEnvsContentHintProjects8FromJSON( jsonString: string, ): SafeParseResult { @@ -4254,7 +3313,6 @@ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONRespo > = z.nativeEnum( FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs7Type, ); - /** @internal */ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs7Type$outboundSchema: z.ZodNativeEnum< @@ -4262,19 +3320,6 @@ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONRespo > = 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, @@ -4285,7 +3330,6 @@ export const FilterProjectEnvsContentHintProjects7$inboundSchema: z.ZodType< FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs7Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type FilterProjectEnvsContentHintProjects7$Outbound = { type: string; @@ -4303,21 +3347,6 @@ export const FilterProjectEnvsContentHintProjects7$outboundSchema: z.ZodType< storeId: z.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 { @@ -4327,7 +3356,6 @@ export function filterProjectEnvsContentHintProjects7ToJSON( ), ); } - export function filterProjectEnvsContentHintProjects7FromJSON( jsonString: string, ): SafeParseResult { @@ -4346,7 +3374,6 @@ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONRespo > = z.nativeEnum( FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs6Type, ); - /** @internal */ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs6Type$outboundSchema: z.ZodNativeEnum< @@ -4354,19 +3381,6 @@ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONRespo > = 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, @@ -4377,7 +3391,6 @@ export const FilterProjectEnvsContentHintProjects6$inboundSchema: z.ZodType< FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs6Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type FilterProjectEnvsContentHintProjects6$Outbound = { type: string; @@ -4395,21 +3408,6 @@ export const FilterProjectEnvsContentHintProjects6$outboundSchema: z.ZodType< storeId: z.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 { @@ -4419,7 +3417,6 @@ export function filterProjectEnvsContentHintProjects6ToJSON( ), ); } - export function filterProjectEnvsContentHintProjects6FromJSON( jsonString: string, ): SafeParseResult { @@ -4438,7 +3435,6 @@ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONRespo > = z.nativeEnum( FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs5Type, ); - /** @internal */ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs5Type$outboundSchema: z.ZodNativeEnum< @@ -4446,19 +3442,6 @@ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONRespo > = 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, @@ -4469,7 +3452,6 @@ export const FilterProjectEnvsContentHintProjects5$inboundSchema: z.ZodType< FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs5Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type FilterProjectEnvsContentHintProjects5$Outbound = { type: string; @@ -4487,21 +3469,6 @@ export const FilterProjectEnvsContentHintProjects5$outboundSchema: z.ZodType< storeId: z.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 { @@ -4511,7 +3478,6 @@ export function filterProjectEnvsContentHintProjects5ToJSON( ), ); } - export function filterProjectEnvsContentHintProjects5FromJSON( jsonString: string, ): SafeParseResult { @@ -4530,7 +3496,6 @@ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONRespo > = z.nativeEnum( FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs4Type, ); - /** @internal */ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs4Type$outboundSchema: z.ZodNativeEnum< @@ -4538,19 +3503,6 @@ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONRespo > = 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, @@ -4561,7 +3513,6 @@ export const FilterProjectEnvsContentHintProjects4$inboundSchema: z.ZodType< FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs4Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type FilterProjectEnvsContentHintProjects4$Outbound = { type: string; @@ -4579,21 +3530,6 @@ export const FilterProjectEnvsContentHintProjects4$outboundSchema: z.ZodType< storeId: z.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 { @@ -4603,7 +3539,6 @@ export function filterProjectEnvsContentHintProjects4ToJSON( ), ); } - export function filterProjectEnvsContentHintProjects4FromJSON( jsonString: string, ): SafeParseResult { @@ -4622,7 +3557,6 @@ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONRespo > = z.nativeEnum( FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs3Type, ); - /** @internal */ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs3Type$outboundSchema: z.ZodNativeEnum< @@ -4630,19 +3564,6 @@ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONRespo > = 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, @@ -4653,7 +3574,6 @@ export const FilterProjectEnvsContentHintProjects3$inboundSchema: z.ZodType< FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Envs3Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type FilterProjectEnvsContentHintProjects3$Outbound = { type: string; @@ -4671,21 +3591,6 @@ export const FilterProjectEnvsContentHintProjects3$outboundSchema: z.ZodType< storeId: z.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 { @@ -4695,7 +3600,6 @@ export function filterProjectEnvsContentHintProjects3ToJSON( ), ); } - export function filterProjectEnvsContentHintProjects3FromJSON( jsonString: string, ): SafeParseResult { @@ -4714,7 +3618,6 @@ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONRespo > = z.nativeEnum( FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2EnvsType, ); - /** @internal */ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2EnvsType$outboundSchema: z.ZodNativeEnum< @@ -4722,19 +3625,6 @@ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONRespo > = 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, @@ -4745,7 +3635,6 @@ export const FilterProjectEnvsContentHintProjects2$inboundSchema: z.ZodType< FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2EnvsType$inboundSchema, storeId: z.string(), }); - /** @internal */ export type FilterProjectEnvsContentHintProjects2$Outbound = { type: string; @@ -4763,21 +3652,6 @@ export const FilterProjectEnvsContentHintProjects2$outboundSchema: z.ZodType< storeId: z.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 { @@ -4787,7 +3661,6 @@ export function filterProjectEnvsContentHintProjects2ToJSON( ), ); } - export function filterProjectEnvsContentHintProjects2FromJSON( jsonString: string, ): SafeParseResult { @@ -4806,7 +3679,6 @@ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONRespo > = z.nativeEnum( FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Type, ); - /** @internal */ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Type$outboundSchema: z.ZodNativeEnum< @@ -4814,19 +3686,6 @@ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONRespo > = 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, @@ -4837,7 +3696,6 @@ export const FilterProjectEnvsContentHintProjects1$inboundSchema: z.ZodType< FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody2Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type FilterProjectEnvsContentHintProjects1$Outbound = { type: string; @@ -4855,21 +3713,6 @@ export const FilterProjectEnvsContentHintProjects1$outboundSchema: z.ZodType< storeId: z.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 { @@ -4879,7 +3722,6 @@ export function filterProjectEnvsContentHintProjects1ToJSON( ), ); } - export function filterProjectEnvsContentHintProjects1FromJSON( jsonString: string, ): SafeParseResult { @@ -4913,7 +3755,6 @@ export const FilterProjectEnvsResponseBodyContentHint$inboundSchema: z.ZodType< z.lazy(() => FilterProjectEnvsContentHintProjects13$inboundSchema), z.lazy(() => FilterProjectEnvsContentHintProjects15$inboundSchema), ]); - /** @internal */ export type FilterProjectEnvsResponseBodyContentHint$Outbound = | FilterProjectEnvsContentHintProjects14$Outbound @@ -4955,21 +3796,6 @@ export const FilterProjectEnvsResponseBodyContentHint$outboundSchema: z.ZodType< z.lazy(() => FilterProjectEnvsContentHintProjects15$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, @@ -4980,7 +3806,6 @@ export function filterProjectEnvsResponseBodyContentHintToJSON( ), ); } - export function filterProjectEnvsResponseBodyContentHintFromJSON( jsonString: string, ): SafeParseResult< @@ -5004,7 +3829,6 @@ export const FilterProjectEnvsResponseBodyProjectsResponse200ApplicationJSONType > = z.nativeEnum( FilterProjectEnvsResponseBodyProjectsResponse200ApplicationJSONType, ); - /** @internal */ export const FilterProjectEnvsResponseBodyProjectsResponse200ApplicationJSONType$outboundSchema: z.ZodNativeEnum< @@ -5012,19 +3836,6 @@ export const 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< @@ -5036,7 +3847,6 @@ export const FilterProjectEnvsResponseBodyInternalContentHint$inboundSchema: FilterProjectEnvsResponseBodyProjectsResponse200ApplicationJSONType$inboundSchema, encryptedValue: z.string(), }); - /** @internal */ export type FilterProjectEnvsResponseBodyInternalContentHint$Outbound = { type: string; @@ -5055,22 +3865,6 @@ export const FilterProjectEnvsResponseBodyInternalContentHint$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, @@ -5081,7 +3875,6 @@ export function filterProjectEnvsResponseBodyInternalContentHintToJSON( ), ); } - export function filterProjectEnvsResponseBodyInternalContentHintFromJSON( jsonString: string, ): SafeParseResult< @@ -5148,7 +3941,6 @@ export const Envs$inboundSchema: z.ZodType = z customEnvironmentIds: z.array(z.string()).optional(), system: z.boolean().optional(), }); - /** @internal */ export type Envs$Outbound = { target?: Array | string | undefined; @@ -5245,23 +4037,9 @@ export const Envs$outboundSchema: z.ZodType = 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 { @@ -5281,7 +4059,6 @@ export const FilterProjectEnvsResponseBody2$inboundSchema: z.ZodType< envs: z.array(z.lazy(() => Envs$inboundSchema)), pagination: Pagination$inboundSchema, }); - /** @internal */ export type FilterProjectEnvsResponseBody2$Outbound = { envs: Array; @@ -5298,19 +4075,6 @@ export const FilterProjectEnvsResponseBody2$outboundSchema: z.ZodType< 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 { @@ -5320,7 +4084,6 @@ export function filterProjectEnvsResponseBody2ToJSON( ), ); } - export function filterProjectEnvsResponseBody2FromJSON( jsonString: string, ): SafeParseResult { @@ -5335,44 +4098,20 @@ export function filterProjectEnvsResponseBody2FromJSON( 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 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 FilterProjectEnvsResponseBodyTarget$inboundSchema: z.ZodType< FilterProjectEnvsResponseBodyTarget, @@ -5382,7 +4121,6 @@ export const FilterProjectEnvsResponseBodyTarget$inboundSchema: z.ZodType< z.array(FilterProjectEnvsTarget1$inboundSchema), FilterProjectEnvsTarget2$inboundSchema, ]); - /** @internal */ export type FilterProjectEnvsResponseBodyTarget$Outbound = | Array @@ -5398,21 +4136,6 @@ export const FilterProjectEnvsResponseBodyTarget$outboundSchema: z.ZodType< 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 { @@ -5422,7 +4145,6 @@ export function filterProjectEnvsResponseBodyTargetToJSON( ), ); } - export function filterProjectEnvsResponseBodyTargetFromJSON( jsonString: string, ): SafeParseResult { @@ -5438,24 +4160,11 @@ export function filterProjectEnvsResponseBodyTargetFromJSON( 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< @@ -5463,7 +4172,6 @@ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONRespo > = z.nativeEnum( FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody115Type, ); - /** @internal */ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody115Type$outboundSchema: z.ZodNativeEnum< @@ -5471,19 +4179,6 @@ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONRespo > = 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, @@ -5494,7 +4189,6 @@ export const FilterProjectEnvsContentHint15$inboundSchema: z.ZodType< FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody115Type$inboundSchema, projectId: z.string(), }); - /** @internal */ export type FilterProjectEnvsContentHint15$Outbound = { type: string; @@ -5512,19 +4206,6 @@ export const FilterProjectEnvsContentHint15$outboundSchema: z.ZodType< 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 { @@ -5534,7 +4215,6 @@ export function filterProjectEnvsContentHint15ToJSON( ), ); } - export function filterProjectEnvsContentHint15FromJSON( jsonString: string, ): SafeParseResult { @@ -5552,7 +4232,6 @@ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONRespo > = z.nativeEnum( FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody114Type, ); - /** @internal */ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody114Type$outboundSchema: z.ZodNativeEnum< @@ -5560,19 +4239,6 @@ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONRespo > = 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, @@ -5586,7 +4252,6 @@ export const FilterProjectEnvsContentHint14$inboundSchema: z.ZodType< integrationProductId: z.string(), integrationConfigurationId: z.string(), }); - /** @internal */ export type FilterProjectEnvsContentHint14$Outbound = { type: string; @@ -5610,19 +4275,6 @@ export const FilterProjectEnvsContentHint14$outboundSchema: z.ZodType< 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 { @@ -5632,7 +4284,6 @@ export function filterProjectEnvsContentHint14ToJSON( ), ); } - export function filterProjectEnvsContentHint14FromJSON( jsonString: string, ): SafeParseResult { @@ -5650,7 +4301,6 @@ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONRespo > = z.nativeEnum( FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody113Type, ); - /** @internal */ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody113Type$outboundSchema: z.ZodNativeEnum< @@ -5658,19 +4308,6 @@ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONRespo > = 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, @@ -5681,7 +4318,6 @@ export const FilterProjectEnvsContentHint13$inboundSchema: z.ZodType< FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody113Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type FilterProjectEnvsContentHint13$Outbound = { type: string; @@ -5699,19 +4335,6 @@ export const FilterProjectEnvsContentHint13$outboundSchema: z.ZodType< storeId: z.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 { @@ -5721,7 +4344,6 @@ export function filterProjectEnvsContentHint13ToJSON( ), ); } - export function filterProjectEnvsContentHint13FromJSON( jsonString: string, ): SafeParseResult { @@ -5739,7 +4361,6 @@ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONRespo > = z.nativeEnum( FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody112Type, ); - /** @internal */ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody112Type$outboundSchema: z.ZodNativeEnum< @@ -5747,19 +4368,6 @@ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONRespo > = 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, @@ -5770,7 +4378,6 @@ export const FilterProjectEnvsContentHint12$inboundSchema: z.ZodType< FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody112Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type FilterProjectEnvsContentHint12$Outbound = { type: string; @@ -5788,19 +4395,6 @@ export const FilterProjectEnvsContentHint12$outboundSchema: z.ZodType< storeId: z.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 { @@ -5810,7 +4404,6 @@ export function filterProjectEnvsContentHint12ToJSON( ), ); } - export function filterProjectEnvsContentHint12FromJSON( jsonString: string, ): SafeParseResult { @@ -5828,7 +4421,6 @@ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONRespo > = z.nativeEnum( FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody111Type, ); - /** @internal */ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody111Type$outboundSchema: z.ZodNativeEnum< @@ -5836,19 +4428,6 @@ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONRespo > = 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, @@ -5859,7 +4438,6 @@ export const FilterProjectEnvsContentHint11$inboundSchema: z.ZodType< FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody111Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type FilterProjectEnvsContentHint11$Outbound = { type: string; @@ -5877,19 +4455,6 @@ export const FilterProjectEnvsContentHint11$outboundSchema: z.ZodType< storeId: z.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 { @@ -5899,7 +4464,6 @@ export function filterProjectEnvsContentHint11ToJSON( ), ); } - export function filterProjectEnvsContentHint11FromJSON( jsonString: string, ): SafeParseResult { @@ -5917,7 +4481,6 @@ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONRespo > = z.nativeEnum( FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody110Type, ); - /** @internal */ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody110Type$outboundSchema: z.ZodNativeEnum< @@ -5925,19 +4488,6 @@ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONRespo > = 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, @@ -5948,7 +4498,6 @@ export const FilterProjectEnvsContentHint10$inboundSchema: z.ZodType< FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody110Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type FilterProjectEnvsContentHint10$Outbound = { type: string; @@ -5966,19 +4515,6 @@ export const FilterProjectEnvsContentHint10$outboundSchema: z.ZodType< storeId: z.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 { @@ -5988,7 +4524,6 @@ export function filterProjectEnvsContentHint10ToJSON( ), ); } - export function filterProjectEnvsContentHint10FromJSON( jsonString: string, ): SafeParseResult { @@ -6006,7 +4541,6 @@ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONRespo > = z.nativeEnum( FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody19Type, ); - /** @internal */ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody19Type$outboundSchema: z.ZodNativeEnum< @@ -6014,19 +4548,6 @@ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONRespo > = 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, @@ -6037,7 +4558,6 @@ export const FilterProjectEnvsContentHint9$inboundSchema: z.ZodType< FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody19Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type FilterProjectEnvsContentHint9$Outbound = { type: string; @@ -6055,19 +4575,6 @@ export const FilterProjectEnvsContentHint9$outboundSchema: z.ZodType< storeId: z.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 { @@ -6077,7 +4584,6 @@ export function filterProjectEnvsContentHint9ToJSON( ), ); } - export function filterProjectEnvsContentHint9FromJSON( jsonString: string, ): SafeParseResult { @@ -6095,7 +4601,6 @@ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONRespo > = z.nativeEnum( FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody18Type, ); - /** @internal */ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody18Type$outboundSchema: z.ZodNativeEnum< @@ -6103,19 +4608,6 @@ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONRespo > = 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, @@ -6126,7 +4618,6 @@ export const FilterProjectEnvsContentHint8$inboundSchema: z.ZodType< FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody18Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type FilterProjectEnvsContentHint8$Outbound = { type: string; @@ -6144,19 +4635,6 @@ export const FilterProjectEnvsContentHint8$outboundSchema: z.ZodType< storeId: z.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 { @@ -6166,7 +4644,6 @@ export function filterProjectEnvsContentHint8ToJSON( ), ); } - export function filterProjectEnvsContentHint8FromJSON( jsonString: string, ): SafeParseResult { @@ -6184,7 +4661,6 @@ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONRespo > = z.nativeEnum( FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody1Type, ); - /** @internal */ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody1Type$outboundSchema: z.ZodNativeEnum< @@ -6192,19 +4668,6 @@ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONRespo > = 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, @@ -6215,7 +4678,6 @@ export const FilterProjectEnvsContentHint7$inboundSchema: z.ZodType< FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBody1Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type FilterProjectEnvsContentHint7$Outbound = { type: string; @@ -6233,19 +4695,6 @@ export const FilterProjectEnvsContentHint7$outboundSchema: z.ZodType< storeId: z.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 { @@ -6255,7 +4704,6 @@ export function filterProjectEnvsContentHint7ToJSON( ), ); } - export function filterProjectEnvsContentHint7FromJSON( jsonString: string, ): SafeParseResult { @@ -6273,7 +4721,6 @@ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONRespo > = z.nativeEnum( FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBodyType, ); - /** @internal */ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema: z.ZodNativeEnum< @@ -6281,19 +4728,6 @@ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONRespo > = 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, @@ -6304,7 +4738,6 @@ export const FilterProjectEnvsContentHint6$inboundSchema: z.ZodType< FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema, storeId: z.string(), }); - /** @internal */ export type FilterProjectEnvsContentHint6$Outbound = { type: string; @@ -6322,19 +4755,6 @@ export const FilterProjectEnvsContentHint6$outboundSchema: z.ZodType< storeId: z.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 { @@ -6344,7 +4764,6 @@ export function filterProjectEnvsContentHint6ToJSON( ), ); } - export function filterProjectEnvsContentHint6FromJSON( jsonString: string, ): SafeParseResult { @@ -6362,7 +4781,6 @@ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONType$ > = z.nativeEnum( FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONType, ); - /** @internal */ export const FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONType$outboundSchema: z.ZodNativeEnum< @@ -6370,19 +4788,6 @@ export const 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, @@ -6393,7 +4798,6 @@ export const FilterProjectEnvsContentHint5$inboundSchema: z.ZodType< FilterProjectEnvsContentHintProjectsResponse200ApplicationJSONType$inboundSchema, storeId: z.string(), }); - /** @internal */ export type FilterProjectEnvsContentHint5$Outbound = { type: string; @@ -6411,19 +4815,6 @@ export const FilterProjectEnvsContentHint5$outboundSchema: z.ZodType< storeId: z.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 { @@ -6433,7 +4824,6 @@ export function filterProjectEnvsContentHint5ToJSON( ), ); } - export function filterProjectEnvsContentHint5FromJSON( jsonString: string, ): SafeParseResult { @@ -6448,25 +4838,11 @@ export function filterProjectEnvsContentHint5FromJSON( 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, @@ -6476,7 +4852,6 @@ export const FilterProjectEnvsContentHint4$inboundSchema: z.ZodType< type: FilterProjectEnvsContentHintProjectsResponse200Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type FilterProjectEnvsContentHint4$Outbound = { type: string; @@ -6493,19 +4868,6 @@ export const FilterProjectEnvsContentHint4$outboundSchema: z.ZodType< storeId: z.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 { @@ -6515,7 +4877,6 @@ export function filterProjectEnvsContentHint4ToJSON( ), ); } - export function filterProjectEnvsContentHint4FromJSON( jsonString: string, ): SafeParseResult { @@ -6530,25 +4891,11 @@ export function filterProjectEnvsContentHint4FromJSON( 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, @@ -6558,7 +4905,6 @@ export const FilterProjectEnvsContentHint3$inboundSchema: z.ZodType< type: FilterProjectEnvsContentHintProjectsResponseType$inboundSchema, storeId: z.string(), }); - /** @internal */ export type FilterProjectEnvsContentHint3$Outbound = { type: string; @@ -6575,19 +4921,6 @@ export const FilterProjectEnvsContentHint3$outboundSchema: z.ZodType< storeId: z.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 { @@ -6597,7 +4930,6 @@ export function filterProjectEnvsContentHint3ToJSON( ), ); } - export function filterProjectEnvsContentHint3FromJSON( jsonString: string, ): SafeParseResult { @@ -6612,25 +4944,11 @@ export function filterProjectEnvsContentHint3FromJSON( 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, @@ -6640,7 +4958,6 @@ export const FilterProjectEnvsContentHint2$inboundSchema: z.ZodType< type: FilterProjectEnvsContentHintProjectsType$inboundSchema, storeId: z.string(), }); - /** @internal */ export type FilterProjectEnvsContentHint2$Outbound = { type: string; @@ -6657,19 +4974,6 @@ export const FilterProjectEnvsContentHint2$outboundSchema: z.ZodType< storeId: z.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 { @@ -6679,7 +4983,6 @@ export function filterProjectEnvsContentHint2ToJSON( ), ); } - export function filterProjectEnvsContentHint2FromJSON( jsonString: string, ): SafeParseResult { @@ -6694,23 +4997,11 @@ export function filterProjectEnvsContentHint2FromJSON( 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, @@ -6720,7 +5011,6 @@ export const FilterProjectEnvsContentHint1$inboundSchema: z.ZodType< type: FilterProjectEnvsContentHintType$inboundSchema, storeId: z.string(), }); - /** @internal */ export type FilterProjectEnvsContentHint1$Outbound = { type: string; @@ -6737,19 +5027,6 @@ export const FilterProjectEnvsContentHint1$outboundSchema: z.ZodType< storeId: z.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 { @@ -6759,7 +5036,6 @@ export function filterProjectEnvsContentHint1ToJSON( ), ); } - export function filterProjectEnvsContentHint1FromJSON( jsonString: string, ): SafeParseResult { @@ -6792,7 +5068,6 @@ export const ResponseBodyContentHint$inboundSchema: z.ZodType< z.lazy(() => FilterProjectEnvsContentHint13$inboundSchema), z.lazy(() => FilterProjectEnvsContentHint15$inboundSchema), ]); - /** @internal */ export type ResponseBodyContentHint$Outbound = | FilterProjectEnvsContentHint14$Outbound @@ -6834,19 +5109,6 @@ export const ResponseBodyContentHint$outboundSchema: z.ZodType< z.lazy(() => FilterProjectEnvsContentHint15$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 { @@ -6854,7 +5116,6 @@ export function responseBodyContentHintToJSON( ResponseBodyContentHint$outboundSchema.parse(responseBodyContentHint), ); } - export function responseBodyContentHintFromJSON( jsonString: string, ): SafeParseResult { @@ -6869,25 +5130,11 @@ export function responseBodyContentHintFromJSON( 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, @@ -6897,7 +5144,6 @@ export const ResponseBodyInternalContentHint$inboundSchema: z.ZodType< type: FilterProjectEnvsResponseBodyProjectsType$inboundSchema, encryptedValue: z.string(), }); - /** @internal */ export type ResponseBodyInternalContentHint$Outbound = { type: string; @@ -6914,19 +5160,6 @@ export const ResponseBodyInternalContentHint$outboundSchema: z.ZodType< 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 { @@ -6936,7 +5169,6 @@ export function responseBodyInternalContentHintToJSON( ), ); } - export function responseBodyInternalContentHintFromJSON( jsonString: string, ): SafeParseResult { @@ -6998,7 +5230,6 @@ export const FilterProjectEnvsResponseBody1$inboundSchema: z.ZodType< customEnvironmentIds: z.array(z.string()).optional(), system: z.boolean().optional(), }); - /** @internal */ export type FilterProjectEnvsResponseBody1$Outbound = { target?: Array | string | undefined; @@ -7096,19 +5327,6 @@ export const FilterProjectEnvsResponseBody1$outboundSchema: z.ZodType< 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 { @@ -7118,7 +5336,6 @@ export function filterProjectEnvsResponseBody1ToJSON( ), ); } - export function filterProjectEnvsResponseBody1FromJSON( jsonString: string, ): SafeParseResult { @@ -7139,7 +5356,6 @@ export const FilterProjectEnvsResponseBody$inboundSchema: z.ZodType< z.lazy(() => FilterProjectEnvsResponseBody2$inboundSchema), z.lazy(() => FilterProjectEnvsResponseBody3$inboundSchema), ]); - /** @internal */ export type FilterProjectEnvsResponseBody$Outbound = | FilterProjectEnvsResponseBody1$Outbound @@ -7157,19 +5373,6 @@ export const FilterProjectEnvsResponseBody$outboundSchema: z.ZodType< z.lazy(() => FilterProjectEnvsResponseBody3$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 { @@ -7179,7 +5382,6 @@ export function filterProjectEnvsResponseBodyToJSON( ), ); } - export function filterProjectEnvsResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/flagjsonvalue.ts b/src/models/flagjsonvalue.ts index ff60bdf09..5b916d86a 100644 --- a/src/models/flagjsonvalue.ts +++ b/src/models/flagjsonvalue.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -26,7 +26,6 @@ export const FlagJSONValue$inboundSchema: z.ZodType< z.array(z.nullable(z.lazy(() => FlagJSONValue$inboundSchema))), z.record(z.nullable(z.lazy(() => FlagJSONValue$inboundSchema))), ]); - /** @internal */ export type FlagJSONValue$Outbound = | string @@ -48,23 +47,9 @@ export const FlagJSONValue$outboundSchema: z.ZodType< z.record(z.nullable(z.lazy(() => FlagJSONValue$outboundSchema))), ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FlagJSONValue$ { - /** @deprecated use `FlagJSONValue$inboundSchema` instead. */ - export const inboundSchema = FlagJSONValue$inboundSchema; - /** @deprecated use `FlagJSONValue$outboundSchema` instead. */ - export const outboundSchema = FlagJSONValue$outboundSchema; - /** @deprecated use `FlagJSONValue$Outbound` instead. */ - export type Outbound = FlagJSONValue$Outbound; -} - export function flagJSONValueToJSON(flagJSONValue: FlagJSONValue): string { return JSON.stringify(FlagJSONValue$outboundSchema.parse(flagJSONValue)); } - export function flagJSONValueFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/forbidden.ts b/src/models/forbidden.ts new file mode 100644 index 000000000..880657d00 --- /dev/null +++ b/src/models/forbidden.ts @@ -0,0 +1,89 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../types/enums.js"; +import { VercelError } from "./vercelerror.js"; + +export const ForbiddenCode = { + Forbidden: "forbidden", +} as const; +export type ForbiddenCode = ClosedEnum; + +export type ForbiddenData = { + status: number; + code: ForbiddenCode; + message: string; +}; + +export class Forbidden extends VercelError { + status: number; + code: ForbiddenCode; + + /** The original data that was passed to this error instance. */ + data$: ForbiddenData; + + constructor( + err: ForbiddenData, + httpMeta: { response: Response; request: Request; body: string }, + ) { + const message = err.message || `API error occurred: ${JSON.stringify(err)}`; + super(message, httpMeta); + this.data$ = err; + this.status = err.status; + this.code = err.code; + + this.name = "Forbidden"; + } +} + +/** @internal */ +export const ForbiddenCode$inboundSchema: z.ZodNativeEnum< + typeof ForbiddenCode +> = z.nativeEnum(ForbiddenCode); +/** @internal */ +export const ForbiddenCode$outboundSchema: z.ZodNativeEnum< + typeof ForbiddenCode +> = ForbiddenCode$inboundSchema; + +/** @internal */ +export const Forbidden$inboundSchema: z.ZodType< + Forbidden, + z.ZodTypeDef, + unknown +> = z.object({ + status: z.number(), + code: ForbiddenCode$inboundSchema, + message: z.string(), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), +}) + .transform((v) => { + return new Forbidden(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }); + +/** @internal */ +export type Forbidden$Outbound = { + status: number; + code: string; + message: string; +}; + +/** @internal */ +export const Forbidden$outboundSchema: z.ZodType< + Forbidden$Outbound, + z.ZodTypeDef, + Forbidden +> = z.instanceof(Forbidden) + .transform(v => v.data$) + .pipe(z.object({ + status: z.number(), + code: ForbiddenCode$outboundSchema, + message: z.string(), + })); diff --git a/src/models/getaccountinfoop.ts b/src/models/getaccountinfoop.ts index 9d3274061..96ad93362 100644 --- a/src/models/getaccountinfoop.ts +++ b/src/models/getaccountinfoop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -42,7 +42,6 @@ export const GetAccountInfoRequest$inboundSchema: z.ZodType< > = z.object({ integrationConfigurationId: z.string(), }); - /** @internal */ export type GetAccountInfoRequest$Outbound = { integrationConfigurationId: string; @@ -57,19 +56,6 @@ export const GetAccountInfoRequest$outboundSchema: z.ZodType< 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 { @@ -77,7 +63,6 @@ export function getAccountInfoRequestToJSON( GetAccountInfoRequest$outboundSchema.parse(getAccountInfoRequest), ); } - export function getAccountInfoRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -94,7 +79,6 @@ export const Contact$inboundSchema: z.ZodType = email: z.string(), name: z.string().optional(), }); - /** @internal */ export type Contact$Outbound = { email: string; @@ -111,23 +95,9 @@ export const Contact$outboundSchema: z.ZodType< 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 { @@ -148,7 +118,6 @@ export const GetAccountInfoResponseBody$inboundSchema: z.ZodType< url: z.string(), contact: z.nullable(z.lazy(() => Contact$inboundSchema)), }); - /** @internal */ export type GetAccountInfoResponseBody$Outbound = { name?: string | undefined; @@ -167,19 +136,6 @@ export const GetAccountInfoResponseBody$outboundSchema: z.ZodType< 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 { @@ -187,7 +143,6 @@ export function getAccountInfoResponseBodyToJSON( GetAccountInfoResponseBody$outboundSchema.parse(getAccountInfoResponseBody), ); } - export function getAccountInfoResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/getactiveattackstatusop.ts b/src/models/getactiveattackstatusop.ts index 4af037814..8dd390a69 100644 --- a/src/models/getactiveattackstatusop.ts +++ b/src/models/getactiveattackstatusop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; @@ -10,6 +10,7 @@ import { SDKValidationError } from "./sdkvalidationerror.js"; export type GetActiveAttackStatusRequest = { projectId: string; + since?: number | undefined; /** * The Team identifier to perform the request on behalf of. */ @@ -39,8 +40,8 @@ export type AffectedHostMap = { }; export type Anomalies = { - ownerId: string; projectId: string; + ownerId: string; startTime: number; endTime: number | null; atMinute: number; @@ -65,13 +66,14 @@ export const GetActiveAttackStatusRequest$inboundSchema: z.ZodType< unknown > = z.object({ projectId: z.string(), + since: z.number().optional(), teamId: z.string().optional(), slug: z.string().optional(), }); - /** @internal */ export type GetActiveAttackStatusRequest$Outbound = { projectId: string; + since?: number | undefined; teamId?: string | undefined; slug?: string | undefined; }; @@ -83,23 +85,11 @@ export const GetActiveAttackStatusRequest$outboundSchema: z.ZodType< GetActiveAttackStatusRequest > = z.object({ projectId: z.string(), + since: 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 GetActiveAttackStatusRequest$ { - /** @deprecated use `GetActiveAttackStatusRequest$inboundSchema` instead. */ - export const inboundSchema = GetActiveAttackStatusRequest$inboundSchema; - /** @deprecated use `GetActiveAttackStatusRequest$outboundSchema` instead. */ - export const outboundSchema = GetActiveAttackStatusRequest$outboundSchema; - /** @deprecated use `GetActiveAttackStatusRequest$Outbound` instead. */ - export type Outbound = GetActiveAttackStatusRequest$Outbound; -} - export function getActiveAttackStatusRequestToJSON( getActiveAttackStatusRequest: GetActiveAttackStatusRequest, ): string { @@ -109,7 +99,6 @@ export function getActiveAttackStatusRequestToJSON( ), ); } - export function getActiveAttackStatusRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -139,7 +128,6 @@ export const AnomalyAlerts$inboundSchema: z.ZodType< "stddev_requests": "stddevRequests", }); }); - /** @internal */ export type AnomalyAlerts$Outbound = { at_minute: string; @@ -169,23 +157,9 @@ export const AnomalyAlerts$outboundSchema: z.ZodType< }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace AnomalyAlerts$ { - /** @deprecated use `AnomalyAlerts$inboundSchema` instead. */ - export const inboundSchema = AnomalyAlerts$inboundSchema; - /** @deprecated use `AnomalyAlerts$outboundSchema` instead. */ - export const outboundSchema = AnomalyAlerts$outboundSchema; - /** @deprecated use `AnomalyAlerts$Outbound` instead. */ - export type Outbound = AnomalyAlerts$Outbound; -} - export function anomalyAlertsToJSON(anomalyAlerts: AnomalyAlerts): string { return JSON.stringify(AnomalyAlerts$outboundSchema.parse(anomalyAlerts)); } - export function anomalyAlertsFromJSON( jsonString: string, ): SafeParseResult { @@ -205,7 +179,6 @@ export const DdosAlerts$inboundSchema: z.ZodType< atMinute: z.string(), totalReqs: z.number(), }); - /** @internal */ export type DdosAlerts$Outbound = { atMinute: string; @@ -222,23 +195,9 @@ export const DdosAlerts$outboundSchema: z.ZodType< totalReqs: 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 DdosAlerts$ { - /** @deprecated use `DdosAlerts$inboundSchema` instead. */ - export const inboundSchema = DdosAlerts$inboundSchema; - /** @deprecated use `DdosAlerts$outboundSchema` instead. */ - export const outboundSchema = DdosAlerts$outboundSchema; - /** @deprecated use `DdosAlerts$Outbound` instead. */ - export type Outbound = DdosAlerts$Outbound; -} - export function ddosAlertsToJSON(ddosAlerts: DdosAlerts): string { return JSON.stringify(DdosAlerts$outboundSchema.parse(ddosAlerts)); } - export function ddosAlertsFromJSON( jsonString: string, ): SafeParseResult { @@ -258,7 +217,6 @@ export const AffectedHostMap$inboundSchema: z.ZodType< anomalyAlerts: z.record(z.lazy(() => AnomalyAlerts$inboundSchema)).optional(), ddosAlerts: z.record(z.lazy(() => DdosAlerts$inboundSchema)).optional(), }); - /** @internal */ export type AffectedHostMap$Outbound = { anomalyAlerts?: { [k: string]: AnomalyAlerts$Outbound } | undefined; @@ -276,25 +234,11 @@ export const AffectedHostMap$outboundSchema: z.ZodType< ddosAlerts: z.record(z.lazy(() => DdosAlerts$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 AffectedHostMap$ { - /** @deprecated use `AffectedHostMap$inboundSchema` instead. */ - export const inboundSchema = AffectedHostMap$inboundSchema; - /** @deprecated use `AffectedHostMap$outboundSchema` instead. */ - export const outboundSchema = AffectedHostMap$outboundSchema; - /** @deprecated use `AffectedHostMap$Outbound` instead. */ - export type Outbound = AffectedHostMap$Outbound; -} - export function affectedHostMapToJSON( affectedHostMap: AffectedHostMap, ): string { return JSON.stringify(AffectedHostMap$outboundSchema.parse(affectedHostMap)); } - export function affectedHostMapFromJSON( jsonString: string, ): SafeParseResult { @@ -311,19 +255,18 @@ export const Anomalies$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - ownerId: z.string(), projectId: z.string(), + ownerId: z.string(), startTime: z.number(), endTime: z.nullable(z.number()), atMinute: z.number(), state: z.string().optional(), affectedHostMap: z.record(z.lazy(() => AffectedHostMap$inboundSchema)), }); - /** @internal */ export type Anomalies$Outbound = { - ownerId: string; projectId: string; + ownerId: string; startTime: number; endTime: number | null; atMinute: number; @@ -337,8 +280,8 @@ export const Anomalies$outboundSchema: z.ZodType< z.ZodTypeDef, Anomalies > = z.object({ - ownerId: z.string(), projectId: z.string(), + ownerId: z.string(), startTime: z.number(), endTime: z.nullable(z.number()), atMinute: z.number(), @@ -346,23 +289,9 @@ export const Anomalies$outboundSchema: z.ZodType< affectedHostMap: z.record(z.lazy(() => AffectedHostMap$outboundSchema)), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Anomalies$ { - /** @deprecated use `Anomalies$inboundSchema` instead. */ - export const inboundSchema = Anomalies$inboundSchema; - /** @deprecated use `Anomalies$outboundSchema` instead. */ - export const outboundSchema = Anomalies$outboundSchema; - /** @deprecated use `Anomalies$Outbound` instead. */ - export type Outbound = Anomalies$Outbound; -} - export function anomaliesToJSON(anomalies: Anomalies): string { return JSON.stringify(Anomalies$outboundSchema.parse(anomalies)); } - export function anomaliesFromJSON( jsonString: string, ): SafeParseResult { @@ -381,7 +310,6 @@ export const GetActiveAttackStatusResponseBody2$inboundSchema: z.ZodType< > = z.object({ anomalies: z.array(z.lazy(() => Anomalies$inboundSchema)), }); - /** @internal */ export type GetActiveAttackStatusResponseBody2$Outbound = { anomalies: Array; @@ -396,20 +324,6 @@ export const GetActiveAttackStatusResponseBody2$outboundSchema: z.ZodType< anomalies: z.array(z.lazy(() => Anomalies$outboundSchema)), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetActiveAttackStatusResponseBody2$ { - /** @deprecated use `GetActiveAttackStatusResponseBody2$inboundSchema` instead. */ - export const inboundSchema = GetActiveAttackStatusResponseBody2$inboundSchema; - /** @deprecated use `GetActiveAttackStatusResponseBody2$outboundSchema` instead. */ - export const outboundSchema = - GetActiveAttackStatusResponseBody2$outboundSchema; - /** @deprecated use `GetActiveAttackStatusResponseBody2$Outbound` instead. */ - export type Outbound = GetActiveAttackStatusResponseBody2$Outbound; -} - export function getActiveAttackStatusResponseBody2ToJSON( getActiveAttackStatusResponseBody2: GetActiveAttackStatusResponseBody2, ): string { @@ -419,7 +333,6 @@ export function getActiveAttackStatusResponseBody2ToJSON( ), ); } - export function getActiveAttackStatusResponseBody2FromJSON( jsonString: string, ): SafeParseResult { @@ -437,7 +350,6 @@ export const GetActiveAttackStatusResponseBody1$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({}); - /** @internal */ export type GetActiveAttackStatusResponseBody1$Outbound = {}; @@ -448,20 +360,6 @@ export const GetActiveAttackStatusResponseBody1$outboundSchema: z.ZodType< GetActiveAttackStatusResponseBody1 > = 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 GetActiveAttackStatusResponseBody1$ { - /** @deprecated use `GetActiveAttackStatusResponseBody1$inboundSchema` instead. */ - export const inboundSchema = GetActiveAttackStatusResponseBody1$inboundSchema; - /** @deprecated use `GetActiveAttackStatusResponseBody1$outboundSchema` instead. */ - export const outboundSchema = - GetActiveAttackStatusResponseBody1$outboundSchema; - /** @deprecated use `GetActiveAttackStatusResponseBody1$Outbound` instead. */ - export type Outbound = GetActiveAttackStatusResponseBody1$Outbound; -} - export function getActiveAttackStatusResponseBody1ToJSON( getActiveAttackStatusResponseBody1: GetActiveAttackStatusResponseBody1, ): string { @@ -471,7 +369,6 @@ export function getActiveAttackStatusResponseBody1ToJSON( ), ); } - export function getActiveAttackStatusResponseBody1FromJSON( jsonString: string, ): SafeParseResult { @@ -492,7 +389,6 @@ export const GetActiveAttackStatusResponseBody$inboundSchema: z.ZodType< z.lazy(() => GetActiveAttackStatusResponseBody2$inboundSchema), z.lazy(() => GetActiveAttackStatusResponseBody1$inboundSchema), ]); - /** @internal */ export type GetActiveAttackStatusResponseBody$Outbound = | GetActiveAttackStatusResponseBody2$Outbound @@ -508,20 +404,6 @@ export const GetActiveAttackStatusResponseBody$outboundSchema: z.ZodType< z.lazy(() => GetActiveAttackStatusResponseBody1$outboundSchema), ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetActiveAttackStatusResponseBody$ { - /** @deprecated use `GetActiveAttackStatusResponseBody$inboundSchema` instead. */ - export const inboundSchema = GetActiveAttackStatusResponseBody$inboundSchema; - /** @deprecated use `GetActiveAttackStatusResponseBody$outboundSchema` instead. */ - export const outboundSchema = - GetActiveAttackStatusResponseBody$outboundSchema; - /** @deprecated use `GetActiveAttackStatusResponseBody$Outbound` instead. */ - export type Outbound = GetActiveAttackStatusResponseBody$Outbound; -} - export function getActiveAttackStatusResponseBodyToJSON( getActiveAttackStatusResponseBody: GetActiveAttackStatusResponseBody, ): string { @@ -531,7 +413,6 @@ export function getActiveAttackStatusResponseBodyToJSON( ), ); } - export function getActiveAttackStatusResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/getaliasop.ts b/src/models/getaliasop.ts index ef5b77cec..7a4e74e8c 100644 --- a/src/models/getaliasop.ts +++ b/src/models/getaliasop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; @@ -313,7 +313,6 @@ export const GetAliasRequest$inboundSchema: z.ZodType< teamId: z.string().optional(), slug: z.string().optional(), }); - /** @internal */ export type GetAliasRequest$Outbound = { from?: number | undefined; @@ -340,25 +339,11 @@ export const GetAliasRequest$outboundSchema: z.ZodType< 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 { @@ -379,7 +364,6 @@ export const GetAliasCreator$inboundSchema: z.ZodType< email: z.string(), username: z.string(), }); - /** @internal */ export type GetAliasCreator$Outbound = { uid: string; @@ -398,25 +382,11 @@ export const GetAliasCreator$outboundSchema: z.ZodType< 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 { @@ -437,7 +407,6 @@ export const GetAliasDeployment$inboundSchema: z.ZodType< url: z.string(), meta: z.string().optional(), }); - /** @internal */ export type GetAliasDeployment$Outbound = { id: string; @@ -456,19 +425,6 @@ export const GetAliasDeployment$outboundSchema: z.ZodType< 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 GetAliasDeployment$ { - /** @deprecated use `GetAliasDeployment$inboundSchema` instead. */ - export const inboundSchema = GetAliasDeployment$inboundSchema; - /** @deprecated use `GetAliasDeployment$outboundSchema` instead. */ - export const outboundSchema = GetAliasDeployment$outboundSchema; - /** @deprecated use `GetAliasDeployment$Outbound` instead. */ - export type Outbound = GetAliasDeployment$Outbound; -} - export function getAliasDeploymentToJSON( getAliasDeployment: GetAliasDeployment, ): string { @@ -476,7 +432,6 @@ export function getAliasDeploymentToJSON( GetAliasDeployment$outboundSchema.parse(getAliasDeployment), ); } - export function getAliasDeploymentFromJSON( jsonString: string, ): SafeParseResult { @@ -491,25 +446,11 @@ export function getAliasDeploymentFromJSON( export const GetAliasProtectionBypassAliasesResponse200Scope$inboundSchema: z.ZodNativeEnum = z .nativeEnum(GetAliasProtectionBypassAliasesResponse200Scope); - /** @internal */ export const GetAliasProtectionBypassAliasesResponse200Scope$outboundSchema: z.ZodNativeEnum = GetAliasProtectionBypassAliasesResponse200Scope$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetAliasProtectionBypassAliasesResponse200Scope$ { - /** @deprecated use `GetAliasProtectionBypassAliasesResponse200Scope$inboundSchema` instead. */ - export const inboundSchema = - GetAliasProtectionBypassAliasesResponse200Scope$inboundSchema; - /** @deprecated use `GetAliasProtectionBypassAliasesResponse200Scope$outboundSchema` instead. */ - export const outboundSchema = - GetAliasProtectionBypassAliasesResponse200Scope$outboundSchema; -} - /** @internal */ export const ProtectionBypass4$inboundSchema: z.ZodType< ProtectionBypass4, @@ -521,7 +462,6 @@ export const ProtectionBypass4$inboundSchema: z.ZodType< lastUpdatedBy: z.string(), scope: GetAliasProtectionBypassAliasesResponse200Scope$inboundSchema, }); - /** @internal */ export type ProtectionBypass4$Outbound = { createdAt: number; @@ -542,19 +482,6 @@ export const ProtectionBypass4$outboundSchema: z.ZodType< scope: GetAliasProtectionBypassAliasesResponse200Scope$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 { @@ -562,7 +489,6 @@ export function protectionBypass4ToJSON( ProtectionBypass4$outboundSchema.parse(protectionBypass4), ); } - export function protectionBypass4FromJSON( jsonString: string, ): SafeParseResult { @@ -577,25 +503,11 @@ export function protectionBypass4FromJSON( 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 ProtectionBypass3$inboundSchema: z.ZodType< ProtectionBypass3, @@ -606,7 +518,6 @@ export const ProtectionBypass3$inboundSchema: z.ZodType< createdBy: z.string(), scope: GetAliasProtectionBypassAliasesResponseScope$inboundSchema, }); - /** @internal */ export type ProtectionBypass3$Outbound = { createdAt: number; @@ -625,19 +536,6 @@ export const ProtectionBypass3$outboundSchema: z.ZodType< 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 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 { @@ -645,7 +543,6 @@ export function protectionBypass3ToJSON( ProtectionBypass3$outboundSchema.parse(protectionBypass3), ); } - export function protectionBypass3FromJSON( jsonString: string, ): SafeParseResult { @@ -660,47 +557,21 @@ export function protectionBypass3FromJSON( 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 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 GetAliasProtectionBypass2$inboundSchema: z.ZodType< GetAliasProtectionBypass2, @@ -713,7 +584,6 @@ export const GetAliasProtectionBypass2$inboundSchema: z.ZodType< access: ProtectionBypassAccess$inboundSchema, scope: GetAliasProtectionBypassAliasesScope$inboundSchema, }); - /** @internal */ export type GetAliasProtectionBypass2$Outbound = { createdAt: number; @@ -736,19 +606,6 @@ export const GetAliasProtectionBypass2$outboundSchema: z.ZodType< 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 GetAliasProtectionBypass2$ { - /** @deprecated use `GetAliasProtectionBypass2$inboundSchema` instead. */ - export const inboundSchema = GetAliasProtectionBypass2$inboundSchema; - /** @deprecated use `GetAliasProtectionBypass2$outboundSchema` instead. */ - export const outboundSchema = GetAliasProtectionBypass2$outboundSchema; - /** @deprecated use `GetAliasProtectionBypass2$Outbound` instead. */ - export type Outbound = GetAliasProtectionBypass2$Outbound; -} - export function getAliasProtectionBypass2ToJSON( getAliasProtectionBypass2: GetAliasProtectionBypass2, ): string { @@ -756,7 +613,6 @@ export function getAliasProtectionBypass2ToJSON( GetAliasProtectionBypass2$outboundSchema.parse(getAliasProtectionBypass2), ); } - export function getAliasProtectionBypass2FromJSON( jsonString: string, ): SafeParseResult { @@ -771,23 +627,11 @@ export function getAliasProtectionBypass2FromJSON( 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 GetAliasProtectionBypass1$inboundSchema: z.ZodType< GetAliasProtectionBypass1, @@ -799,7 +643,6 @@ export const GetAliasProtectionBypass1$inboundSchema: z.ZodType< scope: GetAliasProtectionBypassScope$inboundSchema, expires: z.number().optional(), }); - /** @internal */ export type GetAliasProtectionBypass1$Outbound = { createdAt: number; @@ -820,19 +663,6 @@ export const GetAliasProtectionBypass1$outboundSchema: z.ZodType< expires: 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 GetAliasProtectionBypass1$ { - /** @deprecated use `GetAliasProtectionBypass1$inboundSchema` instead. */ - export const inboundSchema = GetAliasProtectionBypass1$inboundSchema; - /** @deprecated use `GetAliasProtectionBypass1$outboundSchema` instead. */ - export const outboundSchema = GetAliasProtectionBypass1$outboundSchema; - /** @deprecated use `GetAliasProtectionBypass1$Outbound` instead. */ - export type Outbound = GetAliasProtectionBypass1$Outbound; -} - export function getAliasProtectionBypass1ToJSON( getAliasProtectionBypass1: GetAliasProtectionBypass1, ): string { @@ -840,7 +670,6 @@ export function getAliasProtectionBypass1ToJSON( GetAliasProtectionBypass1$outboundSchema.parse(getAliasProtectionBypass1), ); } - export function getAliasProtectionBypass1FromJSON( jsonString: string, ): SafeParseResult { @@ -862,7 +691,6 @@ export const GetAliasProtectionBypass$inboundSchema: z.ZodType< z.lazy(() => GetAliasProtectionBypass1$inboundSchema), z.lazy(() => ProtectionBypass3$inboundSchema), ]); - /** @internal */ export type GetAliasProtectionBypass$Outbound = | GetAliasProtectionBypass2$Outbound @@ -882,19 +710,6 @@ export const GetAliasProtectionBypass$outboundSchema: z.ZodType< z.lazy(() => ProtectionBypass3$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 { @@ -902,7 +717,6 @@ export function getAliasProtectionBypassToJSON( GetAliasProtectionBypass$outboundSchema.parse(getAliasProtectionBypass), ); } - export function getAliasProtectionBypassFromJSON( jsonString: string, ): SafeParseResult { @@ -921,7 +735,6 @@ export const DefaultApp$inboundSchema: z.ZodType< > = z.object({ projectId: z.string(), }); - /** @internal */ export type DefaultApp$Outbound = { projectId: string; @@ -936,23 +749,9 @@ export const DefaultApp$outboundSchema: z.ZodType< 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 DefaultApp$ { - /** @deprecated use `DefaultApp$inboundSchema` instead. */ - export const inboundSchema = DefaultApp$inboundSchema; - /** @deprecated use `DefaultApp$outboundSchema` instead. */ - export const outboundSchema = DefaultApp$outboundSchema; - /** @deprecated use `DefaultApp$Outbound` instead. */ - export type Outbound = DefaultApp$Outbound; -} - export function defaultAppToJSON(defaultApp: DefaultApp): string { return JSON.stringify(DefaultApp$outboundSchema.parse(defaultApp)); } - export function defaultAppFromJSON( jsonString: string, ): SafeParseResult { @@ -976,7 +775,6 @@ export const Applications3$inboundSchema: z.ZodType< branchAlias: z.string().optional(), projectId: z.string(), }); - /** @internal */ export type Applications3$Outbound = { deploymentId?: string | undefined; @@ -1001,23 +799,9 @@ export const Applications3$outboundSchema: z.ZodType< 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 Applications3$ { - /** @deprecated use `Applications3$inboundSchema` instead. */ - export const inboundSchema = Applications3$inboundSchema; - /** @deprecated use `Applications3$outboundSchema` instead. */ - export const outboundSchema = Applications3$outboundSchema; - /** @deprecated use `Applications3$Outbound` instead. */ - export type Outbound = Applications3$Outbound; -} - export function applications3ToJSON(applications3: Applications3): string { return JSON.stringify(Applications3$outboundSchema.parse(applications3)); } - export function applications3FromJSON( jsonString: string, ): SafeParseResult { @@ -1038,7 +822,6 @@ export const Applications2$inboundSchema: z.ZodType< branchAlias: z.string(), projectId: z.string(), }); - /** @internal */ export type Applications2$Outbound = { fallbackHost: string; @@ -1057,23 +840,9 @@ export const Applications2$outboundSchema: z.ZodType< 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 Applications2$ { - /** @deprecated use `Applications2$inboundSchema` instead. */ - export const inboundSchema = Applications2$inboundSchema; - /** @deprecated use `Applications2$outboundSchema` instead. */ - export const outboundSchema = Applications2$outboundSchema; - /** @deprecated use `Applications2$Outbound` instead. */ - export type Outbound = Applications2$Outbound; -} - export function applications2ToJSON(applications2: Applications2): string { return JSON.stringify(Applications2$outboundSchema.parse(applications2)); } - export function applications2FromJSON( jsonString: string, ): SafeParseResult { @@ -1093,7 +862,6 @@ export const Applications1$inboundSchema: z.ZodType< fallbackHost: z.string(), projectId: z.string(), }); - /** @internal */ export type Applications1$Outbound = { fallbackHost: string; @@ -1110,23 +878,9 @@ export const Applications1$outboundSchema: z.ZodType< 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 Applications1$ { - /** @deprecated use `Applications1$inboundSchema` instead. */ - export const inboundSchema = Applications1$inboundSchema; - /** @deprecated use `Applications1$outboundSchema` instead. */ - export const outboundSchema = Applications1$outboundSchema; - /** @deprecated use `Applications1$Outbound` instead. */ - export type Outbound = Applications1$Outbound; -} - export function applications1ToJSON(applications1: Applications1): string { return JSON.stringify(Applications1$outboundSchema.parse(applications1)); } - export function applications1FromJSON( jsonString: string, ): SafeParseResult { @@ -1147,7 +901,6 @@ export const Applications$inboundSchema: z.ZodType< z.array(z.lazy(() => Applications2$inboundSchema)), z.array(z.lazy(() => Applications3$inboundSchema)), ]); - /** @internal */ export type Applications$Outbound = | Array @@ -1165,23 +918,9 @@ export const Applications$outboundSchema: z.ZodType< z.array(z.lazy(() => Applications3$outboundSchema)), ]); -/** - * @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 { @@ -1205,7 +944,6 @@ export const GetAliasMicrofrontends$inboundSchema: z.ZodType< z.array(z.lazy(() => Applications3$inboundSchema)), ]), }); - /** @internal */ export type GetAliasMicrofrontends$Outbound = { defaultApp: DefaultApp$Outbound; @@ -1229,19 +967,6 @@ export const GetAliasMicrofrontends$outboundSchema: z.ZodType< ]), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetAliasMicrofrontends$ { - /** @deprecated use `GetAliasMicrofrontends$inboundSchema` instead. */ - export const inboundSchema = GetAliasMicrofrontends$inboundSchema; - /** @deprecated use `GetAliasMicrofrontends$outboundSchema` instead. */ - export const outboundSchema = GetAliasMicrofrontends$outboundSchema; - /** @deprecated use `GetAliasMicrofrontends$Outbound` instead. */ - export type Outbound = GetAliasMicrofrontends$Outbound; -} - export function getAliasMicrofrontendsToJSON( getAliasMicrofrontends: GetAliasMicrofrontends, ): string { @@ -1249,7 +974,6 @@ export function getAliasMicrofrontendsToJSON( GetAliasMicrofrontends$outboundSchema.parse(getAliasMicrofrontends), ); } - export function getAliasMicrofrontendsFromJSON( jsonString: string, ): SafeParseResult { @@ -1288,7 +1012,6 @@ export const GetAliasResponseBody$inboundSchema: z.ZodType< ).optional(), microfrontends: z.lazy(() => GetAliasMicrofrontends$inboundSchema).optional(), }); - /** @internal */ export type GetAliasResponseBody$Outbound = { alias: string; @@ -1343,19 +1066,6 @@ export const GetAliasResponseBody$outboundSchema: z.ZodType< .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 { @@ -1363,7 +1073,6 @@ export function getAliasResponseBodyToJSON( GetAliasResponseBody$outboundSchema.parse(getAliasResponseBody), ); } - export function getAliasResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/getallchecksop.ts b/src/models/getallchecksop.ts index 3bbc982aa..1815a5d02 100644 --- a/src/models/getallchecksop.ts +++ b/src/models/getallchecksop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; @@ -147,7 +147,6 @@ export const GetAllChecksRequest$inboundSchema: z.ZodType< teamId: z.string().optional(), slug: z.string().optional(), }); - /** @internal */ export type GetAllChecksRequest$Outbound = { deploymentId: string; @@ -166,19 +165,6 @@ export const GetAllChecksRequest$outboundSchema: z.ZodType< 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 { @@ -186,7 +172,6 @@ export function getAllChecksRequestToJSON( GetAllChecksRequest$outboundSchema.parse(getAllChecksRequest), ); } - export function getAllChecksRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -201,44 +186,20 @@ export function getAllChecksRequestFromJSON( 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, @@ -249,7 +210,6 @@ export const GetAllChecksFCP$inboundSchema: z.ZodType< previousValue: z.number().optional(), source: GetAllChecksSource$inboundSchema, }); - /** @internal */ export type GetAllChecksFCP$Outbound = { value: number | null; @@ -268,25 +228,11 @@ export const GetAllChecksFCP$outboundSchema: z.ZodType< 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 { @@ -301,23 +247,11 @@ export function getAllChecksFCPFromJSON( 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, @@ -328,7 +262,6 @@ export const GetAllChecksLCP$inboundSchema: z.ZodType< previousValue: z.number().optional(), source: GetAllChecksChecksSource$inboundSchema, }); - /** @internal */ export type GetAllChecksLCP$Outbound = { value: number | null; @@ -347,25 +280,11 @@ export const GetAllChecksLCP$outboundSchema: z.ZodType< 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 { @@ -380,23 +299,11 @@ export function getAllChecksLCPFromJSON( 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, @@ -407,7 +314,6 @@ export const GetAllChecksCLS$inboundSchema: z.ZodType< previousValue: z.number().optional(), source: GetAllChecksChecksResponseSource$inboundSchema, }); - /** @internal */ export type GetAllChecksCLS$Outbound = { value: number | null; @@ -426,25 +332,11 @@ export const GetAllChecksCLS$outboundSchema: z.ZodType< 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 { @@ -459,25 +351,11 @@ export function getAllChecksCLSFromJSON( 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, @@ -488,7 +366,6 @@ export const GetAllChecksTBT$inboundSchema: z.ZodType< previousValue: z.number().optional(), source: GetAllChecksChecksResponse200Source$inboundSchema, }); - /** @internal */ export type GetAllChecksTBT$Outbound = { value: number | null; @@ -507,25 +384,11 @@ export const GetAllChecksTBT$outboundSchema: z.ZodType< 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 { @@ -540,25 +403,11 @@ export function getAllChecksTBTFromJSON( 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, @@ -569,7 +418,6 @@ export const GetAllChecksVirtualExperienceScore$inboundSchema: z.ZodType< previousValue: z.number().optional(), source: GetAllChecksChecksResponse200ApplicationJSONSource$inboundSchema, }); - /** @internal */ export type GetAllChecksVirtualExperienceScore$Outbound = { value: number | null; @@ -588,20 +436,6 @@ export const GetAllChecksVirtualExperienceScore$outboundSchema: z.ZodType< 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 { @@ -611,7 +445,6 @@ export function getAllChecksVirtualExperienceScoreToJSON( ), ); } - export function getAllChecksVirtualExperienceScoreFromJSON( jsonString: string, ): SafeParseResult { @@ -644,7 +477,6 @@ export const GetAllChecksMetrics$inboundSchema: z.ZodType< "TBT": "tbt", }); }); - /** @internal */ export type GetAllChecksMetrics$Outbound = { FCP: GetAllChecksFCP$Outbound; @@ -678,19 +510,6 @@ export const GetAllChecksMetrics$outboundSchema: z.ZodType< }); }); -/** - * @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 { @@ -698,7 +517,6 @@ export function getAllChecksMetricsToJSON( GetAllChecksMetrics$outboundSchema.parse(getAllChecksMetrics), ); } - export function getAllChecksMetricsFromJSON( jsonString: string, ): SafeParseResult { @@ -717,7 +535,6 @@ export const GetAllChecksOutput$inboundSchema: z.ZodType< > = z.object({ metrics: z.lazy(() => GetAllChecksMetrics$inboundSchema).optional(), }); - /** @internal */ export type GetAllChecksOutput$Outbound = { metrics?: GetAllChecksMetrics$Outbound | undefined; @@ -732,19 +549,6 @@ export const GetAllChecksOutput$outboundSchema: z.ZodType< 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 { @@ -752,7 +556,6 @@ export function getAllChecksOutputToJSON( GetAllChecksOutput$outboundSchema.parse(getAllChecksOutput), ); } - export function getAllChecksOutputFromJSON( jsonString: string, ): SafeParseResult { @@ -767,23 +570,11 @@ export function getAllChecksOutputFromJSON( 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({ @@ -802,7 +593,6 @@ export const Checks$inboundSchema: z.ZodType = z status: GetAllChecksStatus$inboundSchema, updatedAt: z.number(), }); - /** @internal */ export type Checks$Outbound = { completedAt?: number | undefined; @@ -843,23 +633,9 @@ export const Checks$outboundSchema: z.ZodType< 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 { @@ -878,7 +654,6 @@ export const GetAllChecksResponseBody$inboundSchema: z.ZodType< > = z.object({ checks: z.array(z.lazy(() => Checks$inboundSchema)), }); - /** @internal */ export type GetAllChecksResponseBody$Outbound = { checks: Array; @@ -893,19 +668,6 @@ export const GetAllChecksResponseBody$outboundSchema: z.ZodType< 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 { @@ -913,7 +675,6 @@ export function getAllChecksResponseBodyToJSON( GetAllChecksResponseBody$outboundSchema.parse(getAllChecksResponseBody), ); } - export function getAllChecksResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/getalllogdrainsop.ts b/src/models/getalllogdrainsop.ts new file mode 100644 index 000000000..3a9bcd52a --- /dev/null +++ b/src/models/getalllogdrainsop.ts @@ -0,0 +1,4105 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +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 GetAllLogDrainsRequest = { + projectId?: string | undefined; + includeMetadata?: boolean | undefined; + projectIdOrName?: 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 GetAllLogDrainsResponseBodyFramework = { + Blitzjs: "blitzjs", + Nextjs: "nextjs", + Gatsby: "gatsby", + Remix: "remix", + ReactRouter: "react-router", + 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", + TanstackStart: "tanstack-start", + Vitepress: "vitepress", + Vuepress: "vuepress", + Parcel: "parcel", + Fastapi: "fastapi", + Flask: "flask", + Fasthtml: "fasthtml", + SanityV3: "sanity-v3", + Sanity: "sanity", + Storybook: "storybook", + Nitro: "nitro", + Hono: "hono", + Express: "express", + H3: "h3", + Nestjs: "nestjs", + Elysia: "elysia", + Fastify: "fastify", + Xmcp: "xmcp", +} as const; +export type GetAllLogDrainsResponseBodyFramework = ClosedEnum< + typeof GetAllLogDrainsResponseBodyFramework +>; + +export type ResponseBodyProjectsMetadata = { + id: string; + name: string; + framework?: GetAllLogDrainsResponseBodyFramework | null | undefined; + latestDeployment?: string | undefined; +}; + +export type GetAllLogDrainsResponseBody2 = { + projectsMetadata?: Array | null | undefined; + integrationIcon?: string | undefined; + integrationConfigurationUri?: string | undefined; + integrationWebsite?: string | undefined; +}; + +export const GetAllLogDrainsDrainsLogDrainsCreatedFrom = { + SelfServed: "self-served", + Integration: "integration", +} as const; +export type GetAllLogDrainsDrainsLogDrainsCreatedFrom = ClosedEnum< + typeof GetAllLogDrainsDrainsLogDrainsCreatedFrom +>; + +export type GetAllLogDrainsDrainsLogDrainsLog = {}; + +export type GetAllLogDrainsDrainsLogDrainsTrace = {}; + +export type GetAllLogDrainsDrainsAnalytics = {}; + +export type GetAllLogDrainsDrainsSpeedInsights = {}; + +export type GetAllLogDrainsDrainsLogDrainsSchemas = { + log?: GetAllLogDrainsDrainsLogDrainsLog | undefined; + trace?: GetAllLogDrainsDrainsLogDrainsTrace | undefined; + analytics?: GetAllLogDrainsDrainsAnalytics | undefined; + speedInsights?: GetAllLogDrainsDrainsSpeedInsights | undefined; +}; + +export const GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONResponseBody1Type = + { + Internal: "internal", + } as const; +export type GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONResponseBody1Type = + ClosedEnum< + typeof GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONResponseBody1Type + >; + +export const GetAllLogDrainsDeliveryTarget = { + VercelOtelTracesDb: "vercel-otel-traces-db", +} as const; +export type GetAllLogDrainsDeliveryTarget = ClosedEnum< + typeof GetAllLogDrainsDeliveryTarget +>; + +export type GetAllLogDrainsDelivery4 = { + type: + GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONResponseBody1Type; + target: GetAllLogDrainsDeliveryTarget; +}; + +export const GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONResponseBodyType = + { + Clickhouse: "clickhouse", + } as const; +export type GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONResponseBodyType = + ClosedEnum< + typeof GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONResponseBodyType + >; + +export type GetAllLogDrainsDelivery3 = { + type: + GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONResponseBodyType; + endpoint: string; + table: string; +}; + +export const GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONType = { + Otlphttp: "otlphttp", +} as const; +export type GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONType = + ClosedEnum< + typeof GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONType + >; + +export type GetAllLogDrainsDeliveryLogDrainsEndpoint = { + traces: string; +}; + +export const GetAllLogDrainsDeliveryLogDrainsResponseEncoding = { + Json: "json", + Proto: "proto", +} as const; +export type GetAllLogDrainsDeliveryLogDrainsResponseEncoding = ClosedEnum< + typeof GetAllLogDrainsDeliveryLogDrainsResponseEncoding +>; + +export type GetAllLogDrainsDelivery2 = { + type: GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONType; + endpoint: GetAllLogDrainsDeliveryLogDrainsEndpoint; + encoding: GetAllLogDrainsDeliveryLogDrainsResponseEncoding; + headers: { [k: string]: string }; + secret?: string | undefined; +}; + +export const GetAllLogDrainsDeliveryLogDrainsResponse200Type = { + Http: "http", +} as const; +export type GetAllLogDrainsDeliveryLogDrainsResponse200Type = ClosedEnum< + typeof GetAllLogDrainsDeliveryLogDrainsResponse200Type +>; + +export const GetAllLogDrainsDeliveryLogDrainsEncoding = { + Json: "json", + Ndjson: "ndjson", +} as const; +export type GetAllLogDrainsDeliveryLogDrainsEncoding = ClosedEnum< + typeof GetAllLogDrainsDeliveryLogDrainsEncoding +>; + +export const GetAllLogDrainsDeliveryLogDrainsCompression = { + Gzip: "gzip", + None: "none", +} as const; +export type GetAllLogDrainsDeliveryLogDrainsCompression = ClosedEnum< + typeof GetAllLogDrainsDeliveryLogDrainsCompression +>; + +export type GetAllLogDrainsDelivery1 = { + type: GetAllLogDrainsDeliveryLogDrainsResponse200Type; + endpoint: string; + encoding: GetAllLogDrainsDeliveryLogDrainsEncoding; + compression?: GetAllLogDrainsDeliveryLogDrainsCompression | undefined; + headers: { [k: string]: string }; + secret?: string | undefined; +}; + +export type GetAllLogDrainsDrainsLogDrainsDelivery = + | GetAllLogDrainsDelivery1 + | GetAllLogDrainsDelivery2 + | GetAllLogDrainsDelivery3 + | GetAllLogDrainsDelivery4; + +export const GetAllLogDrainsDrainsType = { + HeadSampling: "head_sampling", +} as const; +export type GetAllLogDrainsDrainsType = ClosedEnum< + typeof GetAllLogDrainsDrainsType +>; + +export const GetAllLogDrainsDrainsEnv = { + Production: "production", + Preview: "preview", +} as const; +export type GetAllLogDrainsDrainsEnv = ClosedEnum< + typeof GetAllLogDrainsDrainsEnv +>; + +export type GetAllLogDrainsDrainsLogDrainsSampling = { + type: GetAllLogDrainsDrainsType; + rate: number; + env?: GetAllLogDrainsDrainsEnv | undefined; + requestPath?: string | undefined; +}; + +export const GetAllLogDrainsDrainsStatus = { + Enabled: "enabled", + Disabled: "disabled", + Errored: "errored", +} as const; +export type GetAllLogDrainsDrainsStatus = ClosedEnum< + typeof GetAllLogDrainsDrainsStatus +>; + +export const GetAllLogDrainsDrainsLogDrainsDisabledReason = { + DisabledByOwner: "disabled-by-owner", + FeatureNotAvailable: "feature-not-available", + AccountPlanDowngrade: "account-plan-downgrade", + DisabledByAdmin: "disabled-by-admin", +} as const; +export type GetAllLogDrainsDrainsLogDrainsDisabledReason = ClosedEnum< + typeof GetAllLogDrainsDrainsLogDrainsDisabledReason +>; + +export const GetAllLogDrainsSourceLogDrainsKind = { + Integration: "integration", +} as const; +export type GetAllLogDrainsSourceLogDrainsKind = ClosedEnum< + typeof GetAllLogDrainsSourceLogDrainsKind +>; + +export type GetAllLogDrainsSource2 = { + kind: GetAllLogDrainsSourceLogDrainsKind; + resourceId?: string | undefined; + externalResourceId?: string | undefined; + integrationId: string; + integrationConfigurationId: string; +}; + +export const GetAllLogDrainsSourceKind = { + SelfServed: "self-served", +} as const; +export type GetAllLogDrainsSourceKind = ClosedEnum< + typeof GetAllLogDrainsSourceKind +>; + +export type GetAllLogDrainsSource1 = { + kind: GetAllLogDrainsSourceKind; +}; + +export type GetAllLogDrainsDrainsSource = + | GetAllLogDrainsSource2 + | GetAllLogDrainsSource1; + +export const GetAllLogDrainsFilterV2LogDrainsVersion = { + V2: "v2", +} as const; +export type GetAllLogDrainsFilterV2LogDrainsVersion = ClosedEnum< + typeof GetAllLogDrainsFilterV2LogDrainsVersion +>; + +export const GetAllLogDrainsFilterLogDrainsResponseType = { + Odata: "odata", +} as const; +export type GetAllLogDrainsFilterLogDrainsResponseType = ClosedEnum< + typeof GetAllLogDrainsFilterLogDrainsResponseType +>; + +export type GetAllLogDrainsFilter2 = { + type: GetAllLogDrainsFilterLogDrainsResponseType; + text: string; +}; + +export const GetAllLogDrainsFilterLogDrainsType = { + Basic: "basic", +} as const; +export type GetAllLogDrainsFilterLogDrainsType = ClosedEnum< + typeof GetAllLogDrainsFilterLogDrainsType +>; + +export type GetAllLogDrainsFilterProject = { + ids?: Array | undefined; +}; + +export const GetAllLogDrainsFilterLogDrainsSources = { + Build: "build", + Edge: "edge", + Lambda: "lambda", + Static: "static", + External: "external", + Firewall: "firewall", + Redirect: "redirect", +} as const; +export type GetAllLogDrainsFilterLogDrainsSources = ClosedEnum< + typeof GetAllLogDrainsFilterLogDrainsSources +>; + +export type GetAllLogDrainsFilterLog = { + sources?: Array | undefined; + legacyExcludeCachedStaticAssetLogs?: boolean | undefined; +}; + +export const GetAllLogDrainsFilterLogDrainsEnvironments = { + Production: "production", + Preview: "preview", +} as const; +export type GetAllLogDrainsFilterLogDrainsEnvironments = ClosedEnum< + typeof GetAllLogDrainsFilterLogDrainsEnvironments +>; + +export type GetAllLogDrainsFilterLogDrainsDeployment = { + environments?: Array | undefined; +}; + +export type GetAllLogDrainsFilter1 = { + type: GetAllLogDrainsFilterLogDrainsType; + project?: GetAllLogDrainsFilterProject | undefined; + log?: GetAllLogDrainsFilterLog | undefined; + deployment?: GetAllLogDrainsFilterLogDrainsDeployment | undefined; +}; + +export type GetAllLogDrainsFilterV2LogDrainsFilter = + | GetAllLogDrainsFilter2 + | GetAllLogDrainsFilter1; + +export type GetAllLogDrainsFilterV22 = { + version: GetAllLogDrainsFilterV2LogDrainsVersion; + filter: GetAllLogDrainsFilter2 | GetAllLogDrainsFilter1; +}; + +export const GetAllLogDrainsFilterV2Version = { + V1: "v1", +} as const; +export type GetAllLogDrainsFilterV2Version = ClosedEnum< + typeof GetAllLogDrainsFilterV2Version +>; + +export type GetAllLogDrainsFilterV21 = { + version: GetAllLogDrainsFilterV2Version; +}; + +export type GetAllLogDrainsDrainsLogDrainsFilterV2 = + | GetAllLogDrainsFilterV22 + | GetAllLogDrainsFilterV21; + +export const GetAllLogDrainsDrainsFramework = { + Blitzjs: "blitzjs", + Nextjs: "nextjs", + Gatsby: "gatsby", + Remix: "remix", + ReactRouter: "react-router", + 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", + TanstackStart: "tanstack-start", + Vitepress: "vitepress", + Vuepress: "vuepress", + Parcel: "parcel", + Fastapi: "fastapi", + Flask: "flask", + Fasthtml: "fasthtml", + SanityV3: "sanity-v3", + Sanity: "sanity", + Storybook: "storybook", + Nitro: "nitro", + Hono: "hono", + Express: "express", + H3: "h3", + Nestjs: "nestjs", + Elysia: "elysia", + Fastify: "fastify", + Xmcp: "xmcp", +} as const; +export type GetAllLogDrainsDrainsFramework = ClosedEnum< + typeof GetAllLogDrainsDrainsFramework +>; + +export type GetAllLogDrainsDrainsProjectsMetadata = { + id: string; + name: string; + framework?: GetAllLogDrainsDrainsFramework | null | undefined; + latestDeployment?: string | undefined; +}; + +export type GetAllLogDrainsDrains2 = { + id: string; + ownerId: string; + name: string; + createdAt: number; + createdFrom?: GetAllLogDrainsDrainsLogDrainsCreatedFrom | undefined; + updatedAt: number; + projectIds?: Array | undefined; + schemas?: GetAllLogDrainsDrainsLogDrainsSchemas | undefined; + delivery?: + | GetAllLogDrainsDelivery1 + | GetAllLogDrainsDelivery2 + | GetAllLogDrainsDelivery3 + | GetAllLogDrainsDelivery4 + | undefined; + sampling?: Array | undefined; + teamId?: string | null | undefined; + status?: GetAllLogDrainsDrainsStatus | undefined; + disabledAt?: number | undefined; + disabledReason?: GetAllLogDrainsDrainsLogDrainsDisabledReason | undefined; + disabledBy?: string | undefined; + firstErrorTimestamp?: number | undefined; + configurationId?: string | undefined; + clientId?: string | undefined; + source: GetAllLogDrainsSource2 | GetAllLogDrainsSource1; + filter?: string | undefined; + filterV2?: GetAllLogDrainsFilterV22 | GetAllLogDrainsFilterV21 | undefined; + integrationIcon?: string | undefined; + integrationConfigurationUri?: string | undefined; + integrationWebsite?: string | undefined; + projectsMetadata?: Array | undefined; +}; + +export const GetAllLogDrainsDrainsCreatedFrom = { + SelfServed: "self-served", + Integration: "integration", +} as const; +export type GetAllLogDrainsDrainsCreatedFrom = ClosedEnum< + typeof GetAllLogDrainsDrainsCreatedFrom +>; + +export type GetAllLogDrainsDrainsLog = {}; + +export type GetAllLogDrainsDrainsTrace = {}; + +export type GetAllLogDrainsDrainsLogDrainsAnalytics = {}; + +export type GetAllLogDrainsDrainsLogDrainsSpeedInsights = {}; + +export type GetAllLogDrainsDrainsSchemas = { + log?: GetAllLogDrainsDrainsLog | undefined; + trace?: GetAllLogDrainsDrainsTrace | undefined; + analytics?: GetAllLogDrainsDrainsLogDrainsAnalytics | undefined; + speedInsights?: GetAllLogDrainsDrainsLogDrainsSpeedInsights | undefined; +}; + +export const GetAllLogDrainsDeliveryLogDrainsResponseType = { + Internal: "internal", +} as const; +export type GetAllLogDrainsDeliveryLogDrainsResponseType = ClosedEnum< + typeof GetAllLogDrainsDeliveryLogDrainsResponseType +>; + +export const GetAllLogDrainsDeliveryLogDrainsTarget = { + VercelOtelTracesDb: "vercel-otel-traces-db", +} as const; +export type GetAllLogDrainsDeliveryLogDrainsTarget = ClosedEnum< + typeof GetAllLogDrainsDeliveryLogDrainsTarget +>; + +export type GetAllLogDrainsDeliveryLogDrains4 = { + type: GetAllLogDrainsDeliveryLogDrainsResponseType; + target: GetAllLogDrainsDeliveryLogDrainsTarget; +}; + +export const GetAllLogDrainsDeliveryLogDrainsType = { + Clickhouse: "clickhouse", +} as const; +export type GetAllLogDrainsDeliveryLogDrainsType = ClosedEnum< + typeof GetAllLogDrainsDeliveryLogDrainsType +>; + +export type GetAllLogDrainsDeliveryLogDrains3 = { + type: GetAllLogDrainsDeliveryLogDrainsType; + endpoint: string; + table: string; +}; + +export const GetAllLogDrainsDeliveryType = { + Otlphttp: "otlphttp", +} as const; +export type GetAllLogDrainsDeliveryType = ClosedEnum< + typeof GetAllLogDrainsDeliveryType +>; + +export type GetAllLogDrainsDeliveryEndpoint = { + traces: string; +}; + +export const GetAllLogDrainsDeliveryEncoding = { + Json: "json", + Proto: "proto", +} as const; +export type GetAllLogDrainsDeliveryEncoding = ClosedEnum< + typeof GetAllLogDrainsDeliveryEncoding +>; + +export type GetAllLogDrainsDeliveryLogDrains2 = { + type: GetAllLogDrainsDeliveryType; + endpoint: GetAllLogDrainsDeliveryEndpoint; + encoding: GetAllLogDrainsDeliveryEncoding; + headers: { [k: string]: string }; + secret?: string | undefined; +}; + +export const GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONResponseBody1DrainsType = + { + Http: "http", + } as const; +export type GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONResponseBody1DrainsType = + ClosedEnum< + typeof GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONResponseBody1DrainsType + >; + +export const GetAllLogDrainsDeliveryLogDrainsResponse200Encoding = { + Json: "json", + Ndjson: "ndjson", +} as const; +export type GetAllLogDrainsDeliveryLogDrainsResponse200Encoding = ClosedEnum< + typeof GetAllLogDrainsDeliveryLogDrainsResponse200Encoding +>; + +export const GetAllLogDrainsDeliveryCompression = { + Gzip: "gzip", + None: "none", +} as const; +export type GetAllLogDrainsDeliveryCompression = ClosedEnum< + typeof GetAllLogDrainsDeliveryCompression +>; + +export type GetAllLogDrainsDeliveryLogDrains1 = { + type: + GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONResponseBody1DrainsType; + endpoint: string; + encoding: GetAllLogDrainsDeliveryLogDrainsResponse200Encoding; + compression?: GetAllLogDrainsDeliveryCompression | undefined; + headers: { [k: string]: string }; + secret?: string | undefined; +}; + +export type GetAllLogDrainsDrainsDelivery = + | GetAllLogDrainsDeliveryLogDrains1 + | GetAllLogDrainsDeliveryLogDrains2 + | GetAllLogDrainsDeliveryLogDrains3 + | GetAllLogDrainsDeliveryLogDrains4; + +export const GetAllLogDrainsDrainsLogDrainsType = { + HeadSampling: "head_sampling", +} as const; +export type GetAllLogDrainsDrainsLogDrainsType = ClosedEnum< + typeof GetAllLogDrainsDrainsLogDrainsType +>; + +export const GetAllLogDrainsDrainsLogDrainsEnv = { + Production: "production", + Preview: "preview", +} as const; +export type GetAllLogDrainsDrainsLogDrainsEnv = ClosedEnum< + typeof GetAllLogDrainsDrainsLogDrainsEnv +>; + +export type GetAllLogDrainsDrainsSampling = { + type: GetAllLogDrainsDrainsLogDrainsType; + rate: number; + env?: GetAllLogDrainsDrainsLogDrainsEnv | undefined; + requestPath?: string | undefined; +}; + +export const GetAllLogDrainsDrainsLogDrainsStatus = { + Enabled: "enabled", + Disabled: "disabled", + Errored: "errored", +} as const; +export type GetAllLogDrainsDrainsLogDrainsStatus = ClosedEnum< + typeof GetAllLogDrainsDrainsLogDrainsStatus +>; + +export const GetAllLogDrainsDrainsDisabledReason = { + DisabledByOwner: "disabled-by-owner", + FeatureNotAvailable: "feature-not-available", + AccountPlanDowngrade: "account-plan-downgrade", + DisabledByAdmin: "disabled-by-admin", +} as const; +export type GetAllLogDrainsDrainsDisabledReason = ClosedEnum< + typeof GetAllLogDrainsDrainsDisabledReason +>; + +export const GetAllLogDrainsSourceLogDrainsResponse200Kind = { + Integration: "integration", +} as const; +export type GetAllLogDrainsSourceLogDrainsResponse200Kind = ClosedEnum< + typeof GetAllLogDrainsSourceLogDrainsResponse200Kind +>; + +export type GetAllLogDrainsSourceLogDrains2 = { + kind: GetAllLogDrainsSourceLogDrainsResponse200Kind; + resourceId?: string | undefined; + externalResourceId?: string | undefined; + integrationId: string; + integrationConfigurationId: string; +}; + +export const GetAllLogDrainsSourceLogDrainsResponseKind = { + SelfServed: "self-served", +} as const; +export type GetAllLogDrainsSourceLogDrainsResponseKind = ClosedEnum< + typeof GetAllLogDrainsSourceLogDrainsResponseKind +>; + +export type GetAllLogDrainsSourceLogDrains1 = { + kind: GetAllLogDrainsSourceLogDrainsResponseKind; +}; + +export type GetAllLogDrainsDrainsLogDrainsSource = + | GetAllLogDrainsSourceLogDrains2 + | GetAllLogDrainsSourceLogDrains1; + +export const GetAllLogDrainsFilterV2LogDrainsResponse200Version = { + V2: "v2", +} as const; +export type GetAllLogDrainsFilterV2LogDrainsResponse200Version = ClosedEnum< + typeof GetAllLogDrainsFilterV2LogDrainsResponse200Version +>; + +export const GetAllLogDrainsFilterType = { + Odata: "odata", +} as const; +export type GetAllLogDrainsFilterType = ClosedEnum< + typeof GetAllLogDrainsFilterType +>; + +export type GetAllLogDrainsFilterLogDrains2 = { + type: GetAllLogDrainsFilterType; + text: string; +}; + +export const GetAllLogDrainsFilterLogDrainsResponse200Type = { + Basic: "basic", +} as const; +export type GetAllLogDrainsFilterLogDrainsResponse200Type = ClosedEnum< + typeof GetAllLogDrainsFilterLogDrainsResponse200Type +>; + +export type GetAllLogDrainsFilterLogDrainsProject = { + ids?: Array | undefined; +}; + +export const GetAllLogDrainsFilterSources = { + Build: "build", + Edge: "edge", + Lambda: "lambda", + Static: "static", + External: "external", + Firewall: "firewall", + Redirect: "redirect", +} as const; +export type GetAllLogDrainsFilterSources = ClosedEnum< + typeof GetAllLogDrainsFilterSources +>; + +export type GetAllLogDrainsFilterLogDrainsLog = { + sources?: Array | undefined; + legacyExcludeCachedStaticAssetLogs?: boolean | undefined; +}; + +export const GetAllLogDrainsFilterEnvironments = { + Production: "production", + Preview: "preview", +} as const; +export type GetAllLogDrainsFilterEnvironments = ClosedEnum< + typeof GetAllLogDrainsFilterEnvironments +>; + +export type GetAllLogDrainsFilterDeployment = { + environments?: Array | undefined; +}; + +export type GetAllLogDrainsFilterLogDrains1 = { + type: GetAllLogDrainsFilterLogDrainsResponse200Type; + project?: GetAllLogDrainsFilterLogDrainsProject | undefined; + log?: GetAllLogDrainsFilterLogDrainsLog | undefined; + deployment?: GetAllLogDrainsFilterDeployment | undefined; +}; + +export type GetAllLogDrainsFilterV2Filter = + | GetAllLogDrainsFilterLogDrains2 + | GetAllLogDrainsFilterLogDrains1; + +export type GetAllLogDrainsFilterV2LogDrains2 = { + version: GetAllLogDrainsFilterV2LogDrainsResponse200Version; + filter: GetAllLogDrainsFilterLogDrains2 | GetAllLogDrainsFilterLogDrains1; +}; + +export const GetAllLogDrainsFilterV2LogDrainsResponseVersion = { + V1: "v1", +} as const; +export type GetAllLogDrainsFilterV2LogDrainsResponseVersion = ClosedEnum< + typeof GetAllLogDrainsFilterV2LogDrainsResponseVersion +>; + +export type GetAllLogDrainsFilterV2LogDrains1 = { + version: GetAllLogDrainsFilterV2LogDrainsResponseVersion; +}; + +export type GetAllLogDrainsDrainsFilterV2 = + | GetAllLogDrainsFilterV2LogDrains2 + | GetAllLogDrainsFilterV2LogDrains1; + +export type GetAllLogDrainsDrains1 = { + id: string; + ownerId: string; + name: string; + createdAt: number; + createdFrom?: GetAllLogDrainsDrainsCreatedFrom | undefined; + updatedAt: number; + projectIds?: Array | undefined; + schemas?: GetAllLogDrainsDrainsSchemas | undefined; + delivery?: + | GetAllLogDrainsDeliveryLogDrains1 + | GetAllLogDrainsDeliveryLogDrains2 + | GetAllLogDrainsDeliveryLogDrains3 + | GetAllLogDrainsDeliveryLogDrains4 + | undefined; + sampling?: Array | undefined; + teamId?: string | null | undefined; + status?: GetAllLogDrainsDrainsLogDrainsStatus | undefined; + disabledAt?: number | undefined; + disabledReason?: GetAllLogDrainsDrainsDisabledReason | undefined; + disabledBy?: string | undefined; + firstErrorTimestamp?: number | undefined; + configurationId?: string | undefined; + clientId?: string | undefined; + source: GetAllLogDrainsSourceLogDrains2 | GetAllLogDrainsSourceLogDrains1; + filter?: string | undefined; + filterV2?: + | GetAllLogDrainsFilterV2LogDrains2 + | GetAllLogDrainsFilterV2LogDrains1 + | undefined; +}; + +export type ResponseBodyDrains = + | Array + | Array; + +export type GetAllLogDrainsResponseBody1 = { + drains: Array | Array; +}; + +export type GetAllLogDrainsResponseBody = + | GetAllLogDrainsResponseBody1 + | Array; + +/** @internal */ +export const GetAllLogDrainsRequest$inboundSchema: z.ZodType< + GetAllLogDrainsRequest, + z.ZodTypeDef, + unknown +> = z.object({ + projectId: z.string().optional(), + includeMetadata: z.boolean().default(false), + projectIdOrName: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); +/** @internal */ +export type GetAllLogDrainsRequest$Outbound = { + projectId?: string | undefined; + includeMetadata: boolean; + projectIdOrName?: 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(), + includeMetadata: z.boolean().default(false), + projectIdOrName: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +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 GetAllLogDrainsResponseBodyFramework$inboundSchema: + z.ZodNativeEnum = z.nativeEnum( + GetAllLogDrainsResponseBodyFramework, + ); +/** @internal */ +export const GetAllLogDrainsResponseBodyFramework$outboundSchema: + z.ZodNativeEnum = + GetAllLogDrainsResponseBodyFramework$inboundSchema; + +/** @internal */ +export const ResponseBodyProjectsMetadata$inboundSchema: z.ZodType< + ResponseBodyProjectsMetadata, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + name: z.string(), + framework: z.nullable(GetAllLogDrainsResponseBodyFramework$inboundSchema) + .optional(), + latestDeployment: z.string().optional(), +}); +/** @internal */ +export type ResponseBodyProjectsMetadata$Outbound = { + id: string; + name: string; + framework?: string | null | undefined; + latestDeployment?: string | undefined; +}; + +/** @internal */ +export const ResponseBodyProjectsMetadata$outboundSchema: z.ZodType< + ResponseBodyProjectsMetadata$Outbound, + z.ZodTypeDef, + ResponseBodyProjectsMetadata +> = z.object({ + id: z.string(), + name: z.string(), + framework: z.nullable(GetAllLogDrainsResponseBodyFramework$outboundSchema) + .optional(), + latestDeployment: z.string().optional(), +}); + +export function responseBodyProjectsMetadataToJSON( + responseBodyProjectsMetadata: ResponseBodyProjectsMetadata, +): string { + return JSON.stringify( + ResponseBodyProjectsMetadata$outboundSchema.parse( + responseBodyProjectsMetadata, + ), + ); +} +export function responseBodyProjectsMetadataFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ResponseBodyProjectsMetadata$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ResponseBodyProjectsMetadata' from JSON`, + ); +} + +/** @internal */ +export const GetAllLogDrainsResponseBody2$inboundSchema: z.ZodType< + GetAllLogDrainsResponseBody2, + z.ZodTypeDef, + unknown +> = z.object({ + projectsMetadata: z.nullable( + z.array(z.lazy(() => ResponseBodyProjectsMetadata$inboundSchema)), + ).optional(), + integrationIcon: z.string().optional(), + integrationConfigurationUri: z.string().optional(), + integrationWebsite: z.string().optional(), +}); +/** @internal */ +export type GetAllLogDrainsResponseBody2$Outbound = { + projectsMetadata?: + | Array + | null + | undefined; + integrationIcon?: string | undefined; + integrationConfigurationUri?: string | undefined; + integrationWebsite?: string | undefined; +}; + +/** @internal */ +export const GetAllLogDrainsResponseBody2$outboundSchema: z.ZodType< + GetAllLogDrainsResponseBody2$Outbound, + z.ZodTypeDef, + GetAllLogDrainsResponseBody2 +> = z.object({ + projectsMetadata: z.nullable( + z.array(z.lazy(() => ResponseBodyProjectsMetadata$outboundSchema)), + ).optional(), + integrationIcon: z.string().optional(), + integrationConfigurationUri: z.string().optional(), + integrationWebsite: z.string().optional(), +}); + +export function getAllLogDrainsResponseBody2ToJSON( + getAllLogDrainsResponseBody2: GetAllLogDrainsResponseBody2, +): string { + return JSON.stringify( + GetAllLogDrainsResponseBody2$outboundSchema.parse( + getAllLogDrainsResponseBody2, + ), + ); +} +export function getAllLogDrainsResponseBody2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetAllLogDrainsResponseBody2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetAllLogDrainsResponseBody2' from JSON`, + ); +} + +/** @internal */ +export const GetAllLogDrainsDrainsLogDrainsCreatedFrom$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(GetAllLogDrainsDrainsLogDrainsCreatedFrom); +/** @internal */ +export const GetAllLogDrainsDrainsLogDrainsCreatedFrom$outboundSchema: + z.ZodNativeEnum = + GetAllLogDrainsDrainsLogDrainsCreatedFrom$inboundSchema; + +/** @internal */ +export const GetAllLogDrainsDrainsLogDrainsLog$inboundSchema: z.ZodType< + GetAllLogDrainsDrainsLogDrainsLog, + z.ZodTypeDef, + unknown +> = z.object({}); +/** @internal */ +export type GetAllLogDrainsDrainsLogDrainsLog$Outbound = {}; + +/** @internal */ +export const GetAllLogDrainsDrainsLogDrainsLog$outboundSchema: z.ZodType< + GetAllLogDrainsDrainsLogDrainsLog$Outbound, + z.ZodTypeDef, + GetAllLogDrainsDrainsLogDrainsLog +> = z.object({}); + +export function getAllLogDrainsDrainsLogDrainsLogToJSON( + getAllLogDrainsDrainsLogDrainsLog: GetAllLogDrainsDrainsLogDrainsLog, +): string { + return JSON.stringify( + GetAllLogDrainsDrainsLogDrainsLog$outboundSchema.parse( + getAllLogDrainsDrainsLogDrainsLog, + ), + ); +} +export function getAllLogDrainsDrainsLogDrainsLogFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetAllLogDrainsDrainsLogDrainsLog$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetAllLogDrainsDrainsLogDrainsLog' from JSON`, + ); +} + +/** @internal */ +export const GetAllLogDrainsDrainsLogDrainsTrace$inboundSchema: z.ZodType< + GetAllLogDrainsDrainsLogDrainsTrace, + z.ZodTypeDef, + unknown +> = z.object({}); +/** @internal */ +export type GetAllLogDrainsDrainsLogDrainsTrace$Outbound = {}; + +/** @internal */ +export const GetAllLogDrainsDrainsLogDrainsTrace$outboundSchema: z.ZodType< + GetAllLogDrainsDrainsLogDrainsTrace$Outbound, + z.ZodTypeDef, + GetAllLogDrainsDrainsLogDrainsTrace +> = z.object({}); + +export function getAllLogDrainsDrainsLogDrainsTraceToJSON( + getAllLogDrainsDrainsLogDrainsTrace: GetAllLogDrainsDrainsLogDrainsTrace, +): string { + return JSON.stringify( + GetAllLogDrainsDrainsLogDrainsTrace$outboundSchema.parse( + getAllLogDrainsDrainsLogDrainsTrace, + ), + ); +} +export function getAllLogDrainsDrainsLogDrainsTraceFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + GetAllLogDrainsDrainsLogDrainsTrace$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetAllLogDrainsDrainsLogDrainsTrace' from JSON`, + ); +} + +/** @internal */ +export const GetAllLogDrainsDrainsAnalytics$inboundSchema: z.ZodType< + GetAllLogDrainsDrainsAnalytics, + z.ZodTypeDef, + unknown +> = z.object({}); +/** @internal */ +export type GetAllLogDrainsDrainsAnalytics$Outbound = {}; + +/** @internal */ +export const GetAllLogDrainsDrainsAnalytics$outboundSchema: z.ZodType< + GetAllLogDrainsDrainsAnalytics$Outbound, + z.ZodTypeDef, + GetAllLogDrainsDrainsAnalytics +> = z.object({}); + +export function getAllLogDrainsDrainsAnalyticsToJSON( + getAllLogDrainsDrainsAnalytics: GetAllLogDrainsDrainsAnalytics, +): string { + return JSON.stringify( + GetAllLogDrainsDrainsAnalytics$outboundSchema.parse( + getAllLogDrainsDrainsAnalytics, + ), + ); +} +export function getAllLogDrainsDrainsAnalyticsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetAllLogDrainsDrainsAnalytics$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetAllLogDrainsDrainsAnalytics' from JSON`, + ); +} + +/** @internal */ +export const GetAllLogDrainsDrainsSpeedInsights$inboundSchema: z.ZodType< + GetAllLogDrainsDrainsSpeedInsights, + z.ZodTypeDef, + unknown +> = z.object({}); +/** @internal */ +export type GetAllLogDrainsDrainsSpeedInsights$Outbound = {}; + +/** @internal */ +export const GetAllLogDrainsDrainsSpeedInsights$outboundSchema: z.ZodType< + GetAllLogDrainsDrainsSpeedInsights$Outbound, + z.ZodTypeDef, + GetAllLogDrainsDrainsSpeedInsights +> = z.object({}); + +export function getAllLogDrainsDrainsSpeedInsightsToJSON( + getAllLogDrainsDrainsSpeedInsights: GetAllLogDrainsDrainsSpeedInsights, +): string { + return JSON.stringify( + GetAllLogDrainsDrainsSpeedInsights$outboundSchema.parse( + getAllLogDrainsDrainsSpeedInsights, + ), + ); +} +export function getAllLogDrainsDrainsSpeedInsightsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + GetAllLogDrainsDrainsSpeedInsights$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetAllLogDrainsDrainsSpeedInsights' from JSON`, + ); +} + +/** @internal */ +export const GetAllLogDrainsDrainsLogDrainsSchemas$inboundSchema: z.ZodType< + GetAllLogDrainsDrainsLogDrainsSchemas, + z.ZodTypeDef, + unknown +> = z.object({ + log: z.lazy(() => GetAllLogDrainsDrainsLogDrainsLog$inboundSchema).optional(), + trace: z.lazy(() => GetAllLogDrainsDrainsLogDrainsTrace$inboundSchema) + .optional(), + analytics: z.lazy(() => GetAllLogDrainsDrainsAnalytics$inboundSchema) + .optional(), + speed_insights: z.lazy(() => GetAllLogDrainsDrainsSpeedInsights$inboundSchema) + .optional(), +}).transform((v) => { + return remap$(v, { + "speed_insights": "speedInsights", + }); +}); +/** @internal */ +export type GetAllLogDrainsDrainsLogDrainsSchemas$Outbound = { + log?: GetAllLogDrainsDrainsLogDrainsLog$Outbound | undefined; + trace?: GetAllLogDrainsDrainsLogDrainsTrace$Outbound | undefined; + analytics?: GetAllLogDrainsDrainsAnalytics$Outbound | undefined; + speed_insights?: GetAllLogDrainsDrainsSpeedInsights$Outbound | undefined; +}; + +/** @internal */ +export const GetAllLogDrainsDrainsLogDrainsSchemas$outboundSchema: z.ZodType< + GetAllLogDrainsDrainsLogDrainsSchemas$Outbound, + z.ZodTypeDef, + GetAllLogDrainsDrainsLogDrainsSchemas +> = z.object({ + log: z.lazy(() => GetAllLogDrainsDrainsLogDrainsLog$outboundSchema) + .optional(), + trace: z.lazy(() => GetAllLogDrainsDrainsLogDrainsTrace$outboundSchema) + .optional(), + analytics: z.lazy(() => GetAllLogDrainsDrainsAnalytics$outboundSchema) + .optional(), + speedInsights: z.lazy(() => GetAllLogDrainsDrainsSpeedInsights$outboundSchema) + .optional(), +}).transform((v) => { + return remap$(v, { + speedInsights: "speed_insights", + }); +}); + +export function getAllLogDrainsDrainsLogDrainsSchemasToJSON( + getAllLogDrainsDrainsLogDrainsSchemas: GetAllLogDrainsDrainsLogDrainsSchemas, +): string { + return JSON.stringify( + GetAllLogDrainsDrainsLogDrainsSchemas$outboundSchema.parse( + getAllLogDrainsDrainsLogDrainsSchemas, + ), + ); +} +export function getAllLogDrainsDrainsLogDrainsSchemasFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + GetAllLogDrainsDrainsLogDrainsSchemas$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetAllLogDrainsDrainsLogDrainsSchemas' from JSON`, + ); +} + +/** @internal */ +export const GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONResponseBody1Type$inboundSchema: + z.ZodNativeEnum< + typeof GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONResponseBody1Type + > = z.nativeEnum( + GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONResponseBody1Type, + ); +/** @internal */ +export const GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONResponseBody1Type$outboundSchema: + z.ZodNativeEnum< + typeof GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONResponseBody1Type + > = + GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONResponseBody1Type$inboundSchema; + +/** @internal */ +export const GetAllLogDrainsDeliveryTarget$inboundSchema: z.ZodNativeEnum< + typeof GetAllLogDrainsDeliveryTarget +> = z.nativeEnum(GetAllLogDrainsDeliveryTarget); +/** @internal */ +export const GetAllLogDrainsDeliveryTarget$outboundSchema: z.ZodNativeEnum< + typeof GetAllLogDrainsDeliveryTarget +> = GetAllLogDrainsDeliveryTarget$inboundSchema; + +/** @internal */ +export const GetAllLogDrainsDelivery4$inboundSchema: z.ZodType< + GetAllLogDrainsDelivery4, + z.ZodTypeDef, + unknown +> = z.object({ + type: + GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONResponseBody1Type$inboundSchema, + target: GetAllLogDrainsDeliveryTarget$inboundSchema, +}); +/** @internal */ +export type GetAllLogDrainsDelivery4$Outbound = { + type: string; + target: string; +}; + +/** @internal */ +export const GetAllLogDrainsDelivery4$outboundSchema: z.ZodType< + GetAllLogDrainsDelivery4$Outbound, + z.ZodTypeDef, + GetAllLogDrainsDelivery4 +> = z.object({ + type: + GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONResponseBody1Type$outboundSchema, + target: GetAllLogDrainsDeliveryTarget$outboundSchema, +}); + +export function getAllLogDrainsDelivery4ToJSON( + getAllLogDrainsDelivery4: GetAllLogDrainsDelivery4, +): string { + return JSON.stringify( + GetAllLogDrainsDelivery4$outboundSchema.parse(getAllLogDrainsDelivery4), + ); +} +export function getAllLogDrainsDelivery4FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetAllLogDrainsDelivery4$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetAllLogDrainsDelivery4' from JSON`, + ); +} + +/** @internal */ +export const GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONResponseBodyType$inboundSchema: + z.ZodNativeEnum< + typeof GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONResponseBodyType + > = z.nativeEnum( + GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONResponseBodyType, + ); +/** @internal */ +export const GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONResponseBodyType$outboundSchema: + z.ZodNativeEnum< + typeof GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONResponseBodyType + > = + GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONResponseBodyType$inboundSchema; + +/** @internal */ +export const GetAllLogDrainsDelivery3$inboundSchema: z.ZodType< + GetAllLogDrainsDelivery3, + z.ZodTypeDef, + unknown +> = z.object({ + type: + GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONResponseBodyType$inboundSchema, + endpoint: z.string(), + table: z.string(), +}); +/** @internal */ +export type GetAllLogDrainsDelivery3$Outbound = { + type: string; + endpoint: string; + table: string; +}; + +/** @internal */ +export const GetAllLogDrainsDelivery3$outboundSchema: z.ZodType< + GetAllLogDrainsDelivery3$Outbound, + z.ZodTypeDef, + GetAllLogDrainsDelivery3 +> = z.object({ + type: + GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONResponseBodyType$outboundSchema, + endpoint: z.string(), + table: z.string(), +}); + +export function getAllLogDrainsDelivery3ToJSON( + getAllLogDrainsDelivery3: GetAllLogDrainsDelivery3, +): string { + return JSON.stringify( + GetAllLogDrainsDelivery3$outboundSchema.parse(getAllLogDrainsDelivery3), + ); +} +export function getAllLogDrainsDelivery3FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetAllLogDrainsDelivery3$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetAllLogDrainsDelivery3' from JSON`, + ); +} + +/** @internal */ +export const GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONType$inboundSchema: + z.ZodNativeEnum< + typeof GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONType + > = z.nativeEnum( + GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONType, + ); +/** @internal */ +export const GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONType$outboundSchema: + z.ZodNativeEnum< + typeof GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONType + > = + GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONType$inboundSchema; + +/** @internal */ +export const GetAllLogDrainsDeliveryLogDrainsEndpoint$inboundSchema: z.ZodType< + GetAllLogDrainsDeliveryLogDrainsEndpoint, + z.ZodTypeDef, + unknown +> = z.object({ + traces: z.string(), +}); +/** @internal */ +export type GetAllLogDrainsDeliveryLogDrainsEndpoint$Outbound = { + traces: string; +}; + +/** @internal */ +export const GetAllLogDrainsDeliveryLogDrainsEndpoint$outboundSchema: z.ZodType< + GetAllLogDrainsDeliveryLogDrainsEndpoint$Outbound, + z.ZodTypeDef, + GetAllLogDrainsDeliveryLogDrainsEndpoint +> = z.object({ + traces: z.string(), +}); + +export function getAllLogDrainsDeliveryLogDrainsEndpointToJSON( + getAllLogDrainsDeliveryLogDrainsEndpoint: + GetAllLogDrainsDeliveryLogDrainsEndpoint, +): string { + return JSON.stringify( + GetAllLogDrainsDeliveryLogDrainsEndpoint$outboundSchema.parse( + getAllLogDrainsDeliveryLogDrainsEndpoint, + ), + ); +} +export function getAllLogDrainsDeliveryLogDrainsEndpointFromJSON( + jsonString: string, +): SafeParseResult< + GetAllLogDrainsDeliveryLogDrainsEndpoint, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + GetAllLogDrainsDeliveryLogDrainsEndpoint$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'GetAllLogDrainsDeliveryLogDrainsEndpoint' from JSON`, + ); +} + +/** @internal */ +export const GetAllLogDrainsDeliveryLogDrainsResponseEncoding$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(GetAllLogDrainsDeliveryLogDrainsResponseEncoding); +/** @internal */ +export const GetAllLogDrainsDeliveryLogDrainsResponseEncoding$outboundSchema: + z.ZodNativeEnum = + GetAllLogDrainsDeliveryLogDrainsResponseEncoding$inboundSchema; + +/** @internal */ +export const GetAllLogDrainsDelivery2$inboundSchema: z.ZodType< + GetAllLogDrainsDelivery2, + z.ZodTypeDef, + unknown +> = z.object({ + type: + GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONType$inboundSchema, + endpoint: z.lazy(() => + GetAllLogDrainsDeliveryLogDrainsEndpoint$inboundSchema + ), + encoding: GetAllLogDrainsDeliveryLogDrainsResponseEncoding$inboundSchema, + headers: z.record(z.string()), + secret: z.string().optional(), +}); +/** @internal */ +export type GetAllLogDrainsDelivery2$Outbound = { + type: string; + endpoint: GetAllLogDrainsDeliveryLogDrainsEndpoint$Outbound; + encoding: string; + headers: { [k: string]: string }; + secret?: string | undefined; +}; + +/** @internal */ +export const GetAllLogDrainsDelivery2$outboundSchema: z.ZodType< + GetAllLogDrainsDelivery2$Outbound, + z.ZodTypeDef, + GetAllLogDrainsDelivery2 +> = z.object({ + type: + GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONType$outboundSchema, + endpoint: z.lazy(() => + GetAllLogDrainsDeliveryLogDrainsEndpoint$outboundSchema + ), + encoding: GetAllLogDrainsDeliveryLogDrainsResponseEncoding$outboundSchema, + headers: z.record(z.string()), + secret: z.string().optional(), +}); + +export function getAllLogDrainsDelivery2ToJSON( + getAllLogDrainsDelivery2: GetAllLogDrainsDelivery2, +): string { + return JSON.stringify( + GetAllLogDrainsDelivery2$outboundSchema.parse(getAllLogDrainsDelivery2), + ); +} +export function getAllLogDrainsDelivery2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetAllLogDrainsDelivery2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetAllLogDrainsDelivery2' from JSON`, + ); +} + +/** @internal */ +export const GetAllLogDrainsDeliveryLogDrainsResponse200Type$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(GetAllLogDrainsDeliveryLogDrainsResponse200Type); +/** @internal */ +export const GetAllLogDrainsDeliveryLogDrainsResponse200Type$outboundSchema: + z.ZodNativeEnum = + GetAllLogDrainsDeliveryLogDrainsResponse200Type$inboundSchema; + +/** @internal */ +export const GetAllLogDrainsDeliveryLogDrainsEncoding$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(GetAllLogDrainsDeliveryLogDrainsEncoding); +/** @internal */ +export const GetAllLogDrainsDeliveryLogDrainsEncoding$outboundSchema: + z.ZodNativeEnum = + GetAllLogDrainsDeliveryLogDrainsEncoding$inboundSchema; + +/** @internal */ +export const GetAllLogDrainsDeliveryLogDrainsCompression$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(GetAllLogDrainsDeliveryLogDrainsCompression); +/** @internal */ +export const GetAllLogDrainsDeliveryLogDrainsCompression$outboundSchema: + z.ZodNativeEnum = + GetAllLogDrainsDeliveryLogDrainsCompression$inboundSchema; + +/** @internal */ +export const GetAllLogDrainsDelivery1$inboundSchema: z.ZodType< + GetAllLogDrainsDelivery1, + z.ZodTypeDef, + unknown +> = z.object({ + type: GetAllLogDrainsDeliveryLogDrainsResponse200Type$inboundSchema, + endpoint: z.string(), + encoding: GetAllLogDrainsDeliveryLogDrainsEncoding$inboundSchema, + compression: GetAllLogDrainsDeliveryLogDrainsCompression$inboundSchema + .optional(), + headers: z.record(z.string()), + secret: z.string().optional(), +}); +/** @internal */ +export type GetAllLogDrainsDelivery1$Outbound = { + type: string; + endpoint: string; + encoding: string; + compression?: string | undefined; + headers: { [k: string]: string }; + secret?: string | undefined; +}; + +/** @internal */ +export const GetAllLogDrainsDelivery1$outboundSchema: z.ZodType< + GetAllLogDrainsDelivery1$Outbound, + z.ZodTypeDef, + GetAllLogDrainsDelivery1 +> = z.object({ + type: GetAllLogDrainsDeliveryLogDrainsResponse200Type$outboundSchema, + endpoint: z.string(), + encoding: GetAllLogDrainsDeliveryLogDrainsEncoding$outboundSchema, + compression: GetAllLogDrainsDeliveryLogDrainsCompression$outboundSchema + .optional(), + headers: z.record(z.string()), + secret: z.string().optional(), +}); + +export function getAllLogDrainsDelivery1ToJSON( + getAllLogDrainsDelivery1: GetAllLogDrainsDelivery1, +): string { + return JSON.stringify( + GetAllLogDrainsDelivery1$outboundSchema.parse(getAllLogDrainsDelivery1), + ); +} +export function getAllLogDrainsDelivery1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetAllLogDrainsDelivery1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetAllLogDrainsDelivery1' from JSON`, + ); +} + +/** @internal */ +export const GetAllLogDrainsDrainsLogDrainsDelivery$inboundSchema: z.ZodType< + GetAllLogDrainsDrainsLogDrainsDelivery, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => GetAllLogDrainsDelivery1$inboundSchema), + z.lazy(() => GetAllLogDrainsDelivery2$inboundSchema), + z.lazy(() => GetAllLogDrainsDelivery3$inboundSchema), + z.lazy(() => GetAllLogDrainsDelivery4$inboundSchema), +]); +/** @internal */ +export type GetAllLogDrainsDrainsLogDrainsDelivery$Outbound = + | GetAllLogDrainsDelivery1$Outbound + | GetAllLogDrainsDelivery2$Outbound + | GetAllLogDrainsDelivery3$Outbound + | GetAllLogDrainsDelivery4$Outbound; + +/** @internal */ +export const GetAllLogDrainsDrainsLogDrainsDelivery$outboundSchema: z.ZodType< + GetAllLogDrainsDrainsLogDrainsDelivery$Outbound, + z.ZodTypeDef, + GetAllLogDrainsDrainsLogDrainsDelivery +> = z.union([ + z.lazy(() => GetAllLogDrainsDelivery1$outboundSchema), + z.lazy(() => GetAllLogDrainsDelivery2$outboundSchema), + z.lazy(() => GetAllLogDrainsDelivery3$outboundSchema), + z.lazy(() => GetAllLogDrainsDelivery4$outboundSchema), +]); + +export function getAllLogDrainsDrainsLogDrainsDeliveryToJSON( + getAllLogDrainsDrainsLogDrainsDelivery: + GetAllLogDrainsDrainsLogDrainsDelivery, +): string { + return JSON.stringify( + GetAllLogDrainsDrainsLogDrainsDelivery$outboundSchema.parse( + getAllLogDrainsDrainsLogDrainsDelivery, + ), + ); +} +export function getAllLogDrainsDrainsLogDrainsDeliveryFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + GetAllLogDrainsDrainsLogDrainsDelivery$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetAllLogDrainsDrainsLogDrainsDelivery' from JSON`, + ); +} + +/** @internal */ +export const GetAllLogDrainsDrainsType$inboundSchema: z.ZodNativeEnum< + typeof GetAllLogDrainsDrainsType +> = z.nativeEnum(GetAllLogDrainsDrainsType); +/** @internal */ +export const GetAllLogDrainsDrainsType$outboundSchema: z.ZodNativeEnum< + typeof GetAllLogDrainsDrainsType +> = GetAllLogDrainsDrainsType$inboundSchema; + +/** @internal */ +export const GetAllLogDrainsDrainsEnv$inboundSchema: z.ZodNativeEnum< + typeof GetAllLogDrainsDrainsEnv +> = z.nativeEnum(GetAllLogDrainsDrainsEnv); +/** @internal */ +export const GetAllLogDrainsDrainsEnv$outboundSchema: z.ZodNativeEnum< + typeof GetAllLogDrainsDrainsEnv +> = GetAllLogDrainsDrainsEnv$inboundSchema; + +/** @internal */ +export const GetAllLogDrainsDrainsLogDrainsSampling$inboundSchema: z.ZodType< + GetAllLogDrainsDrainsLogDrainsSampling, + z.ZodTypeDef, + unknown +> = z.object({ + type: GetAllLogDrainsDrainsType$inboundSchema, + rate: z.number(), + env: GetAllLogDrainsDrainsEnv$inboundSchema.optional(), + requestPath: z.string().optional(), +}); +/** @internal */ +export type GetAllLogDrainsDrainsLogDrainsSampling$Outbound = { + type: string; + rate: number; + env?: string | undefined; + requestPath?: string | undefined; +}; + +/** @internal */ +export const GetAllLogDrainsDrainsLogDrainsSampling$outboundSchema: z.ZodType< + GetAllLogDrainsDrainsLogDrainsSampling$Outbound, + z.ZodTypeDef, + GetAllLogDrainsDrainsLogDrainsSampling +> = z.object({ + type: GetAllLogDrainsDrainsType$outboundSchema, + rate: z.number(), + env: GetAllLogDrainsDrainsEnv$outboundSchema.optional(), + requestPath: z.string().optional(), +}); + +export function getAllLogDrainsDrainsLogDrainsSamplingToJSON( + getAllLogDrainsDrainsLogDrainsSampling: + GetAllLogDrainsDrainsLogDrainsSampling, +): string { + return JSON.stringify( + GetAllLogDrainsDrainsLogDrainsSampling$outboundSchema.parse( + getAllLogDrainsDrainsLogDrainsSampling, + ), + ); +} +export function getAllLogDrainsDrainsLogDrainsSamplingFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + GetAllLogDrainsDrainsLogDrainsSampling$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetAllLogDrainsDrainsLogDrainsSampling' from JSON`, + ); +} + +/** @internal */ +export const GetAllLogDrainsDrainsStatus$inboundSchema: z.ZodNativeEnum< + typeof GetAllLogDrainsDrainsStatus +> = z.nativeEnum(GetAllLogDrainsDrainsStatus); +/** @internal */ +export const GetAllLogDrainsDrainsStatus$outboundSchema: z.ZodNativeEnum< + typeof GetAllLogDrainsDrainsStatus +> = GetAllLogDrainsDrainsStatus$inboundSchema; + +/** @internal */ +export const GetAllLogDrainsDrainsLogDrainsDisabledReason$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(GetAllLogDrainsDrainsLogDrainsDisabledReason); +/** @internal */ +export const GetAllLogDrainsDrainsLogDrainsDisabledReason$outboundSchema: + z.ZodNativeEnum = + GetAllLogDrainsDrainsLogDrainsDisabledReason$inboundSchema; + +/** @internal */ +export const GetAllLogDrainsSourceLogDrainsKind$inboundSchema: z.ZodNativeEnum< + typeof GetAllLogDrainsSourceLogDrainsKind +> = z.nativeEnum(GetAllLogDrainsSourceLogDrainsKind); +/** @internal */ +export const GetAllLogDrainsSourceLogDrainsKind$outboundSchema: z.ZodNativeEnum< + typeof GetAllLogDrainsSourceLogDrainsKind +> = GetAllLogDrainsSourceLogDrainsKind$inboundSchema; + +/** @internal */ +export const GetAllLogDrainsSource2$inboundSchema: z.ZodType< + GetAllLogDrainsSource2, + z.ZodTypeDef, + unknown +> = z.object({ + kind: GetAllLogDrainsSourceLogDrainsKind$inboundSchema, + resourceId: z.string().optional(), + externalResourceId: z.string().optional(), + integrationId: z.string(), + integrationConfigurationId: z.string(), +}); +/** @internal */ +export type GetAllLogDrainsSource2$Outbound = { + kind: string; + resourceId?: string | undefined; + externalResourceId?: string | undefined; + integrationId: string; + integrationConfigurationId: string; +}; + +/** @internal */ +export const GetAllLogDrainsSource2$outboundSchema: z.ZodType< + GetAllLogDrainsSource2$Outbound, + z.ZodTypeDef, + GetAllLogDrainsSource2 +> = z.object({ + kind: GetAllLogDrainsSourceLogDrainsKind$outboundSchema, + resourceId: z.string().optional(), + externalResourceId: z.string().optional(), + integrationId: z.string(), + integrationConfigurationId: z.string(), +}); + +export function getAllLogDrainsSource2ToJSON( + getAllLogDrainsSource2: GetAllLogDrainsSource2, +): string { + return JSON.stringify( + GetAllLogDrainsSource2$outboundSchema.parse(getAllLogDrainsSource2), + ); +} +export function getAllLogDrainsSource2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetAllLogDrainsSource2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetAllLogDrainsSource2' from JSON`, + ); +} + +/** @internal */ +export const GetAllLogDrainsSourceKind$inboundSchema: z.ZodNativeEnum< + typeof GetAllLogDrainsSourceKind +> = z.nativeEnum(GetAllLogDrainsSourceKind); +/** @internal */ +export const GetAllLogDrainsSourceKind$outboundSchema: z.ZodNativeEnum< + typeof GetAllLogDrainsSourceKind +> = GetAllLogDrainsSourceKind$inboundSchema; + +/** @internal */ +export const GetAllLogDrainsSource1$inboundSchema: z.ZodType< + GetAllLogDrainsSource1, + z.ZodTypeDef, + unknown +> = z.object({ + kind: GetAllLogDrainsSourceKind$inboundSchema, +}); +/** @internal */ +export type GetAllLogDrainsSource1$Outbound = { + kind: string; +}; + +/** @internal */ +export const GetAllLogDrainsSource1$outboundSchema: z.ZodType< + GetAllLogDrainsSource1$Outbound, + z.ZodTypeDef, + GetAllLogDrainsSource1 +> = z.object({ + kind: GetAllLogDrainsSourceKind$outboundSchema, +}); + +export function getAllLogDrainsSource1ToJSON( + getAllLogDrainsSource1: GetAllLogDrainsSource1, +): string { + return JSON.stringify( + GetAllLogDrainsSource1$outboundSchema.parse(getAllLogDrainsSource1), + ); +} +export function getAllLogDrainsSource1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetAllLogDrainsSource1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetAllLogDrainsSource1' from JSON`, + ); +} + +/** @internal */ +export const GetAllLogDrainsDrainsSource$inboundSchema: z.ZodType< + GetAllLogDrainsDrainsSource, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => GetAllLogDrainsSource2$inboundSchema), + z.lazy(() => GetAllLogDrainsSource1$inboundSchema), +]); +/** @internal */ +export type GetAllLogDrainsDrainsSource$Outbound = + | GetAllLogDrainsSource2$Outbound + | GetAllLogDrainsSource1$Outbound; + +/** @internal */ +export const GetAllLogDrainsDrainsSource$outboundSchema: z.ZodType< + GetAllLogDrainsDrainsSource$Outbound, + z.ZodTypeDef, + GetAllLogDrainsDrainsSource +> = z.union([ + z.lazy(() => GetAllLogDrainsSource2$outboundSchema), + z.lazy(() => GetAllLogDrainsSource1$outboundSchema), +]); + +export function getAllLogDrainsDrainsSourceToJSON( + getAllLogDrainsDrainsSource: GetAllLogDrainsDrainsSource, +): string { + return JSON.stringify( + GetAllLogDrainsDrainsSource$outboundSchema.parse( + getAllLogDrainsDrainsSource, + ), + ); +} +export function getAllLogDrainsDrainsSourceFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetAllLogDrainsDrainsSource$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetAllLogDrainsDrainsSource' from JSON`, + ); +} + +/** @internal */ +export const GetAllLogDrainsFilterV2LogDrainsVersion$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(GetAllLogDrainsFilterV2LogDrainsVersion); +/** @internal */ +export const GetAllLogDrainsFilterV2LogDrainsVersion$outboundSchema: + z.ZodNativeEnum = + GetAllLogDrainsFilterV2LogDrainsVersion$inboundSchema; + +/** @internal */ +export const GetAllLogDrainsFilterLogDrainsResponseType$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(GetAllLogDrainsFilterLogDrainsResponseType); +/** @internal */ +export const GetAllLogDrainsFilterLogDrainsResponseType$outboundSchema: + z.ZodNativeEnum = + GetAllLogDrainsFilterLogDrainsResponseType$inboundSchema; + +/** @internal */ +export const GetAllLogDrainsFilter2$inboundSchema: z.ZodType< + GetAllLogDrainsFilter2, + z.ZodTypeDef, + unknown +> = z.object({ + type: GetAllLogDrainsFilterLogDrainsResponseType$inboundSchema, + text: z.string(), +}); +/** @internal */ +export type GetAllLogDrainsFilter2$Outbound = { + type: string; + text: string; +}; + +/** @internal */ +export const GetAllLogDrainsFilter2$outboundSchema: z.ZodType< + GetAllLogDrainsFilter2$Outbound, + z.ZodTypeDef, + GetAllLogDrainsFilter2 +> = z.object({ + type: GetAllLogDrainsFilterLogDrainsResponseType$outboundSchema, + text: z.string(), +}); + +export function getAllLogDrainsFilter2ToJSON( + getAllLogDrainsFilter2: GetAllLogDrainsFilter2, +): string { + return JSON.stringify( + GetAllLogDrainsFilter2$outboundSchema.parse(getAllLogDrainsFilter2), + ); +} +export function getAllLogDrainsFilter2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetAllLogDrainsFilter2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetAllLogDrainsFilter2' from JSON`, + ); +} + +/** @internal */ +export const GetAllLogDrainsFilterLogDrainsType$inboundSchema: z.ZodNativeEnum< + typeof GetAllLogDrainsFilterLogDrainsType +> = z.nativeEnum(GetAllLogDrainsFilterLogDrainsType); +/** @internal */ +export const GetAllLogDrainsFilterLogDrainsType$outboundSchema: z.ZodNativeEnum< + typeof GetAllLogDrainsFilterLogDrainsType +> = GetAllLogDrainsFilterLogDrainsType$inboundSchema; + +/** @internal */ +export const GetAllLogDrainsFilterProject$inboundSchema: z.ZodType< + GetAllLogDrainsFilterProject, + z.ZodTypeDef, + unknown +> = z.object({ + ids: z.array(z.string()).optional(), +}); +/** @internal */ +export type GetAllLogDrainsFilterProject$Outbound = { + ids?: Array | undefined; +}; + +/** @internal */ +export const GetAllLogDrainsFilterProject$outboundSchema: z.ZodType< + GetAllLogDrainsFilterProject$Outbound, + z.ZodTypeDef, + GetAllLogDrainsFilterProject +> = z.object({ + ids: z.array(z.string()).optional(), +}); + +export function getAllLogDrainsFilterProjectToJSON( + getAllLogDrainsFilterProject: GetAllLogDrainsFilterProject, +): string { + return JSON.stringify( + GetAllLogDrainsFilterProject$outboundSchema.parse( + getAllLogDrainsFilterProject, + ), + ); +} +export function getAllLogDrainsFilterProjectFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetAllLogDrainsFilterProject$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetAllLogDrainsFilterProject' from JSON`, + ); +} + +/** @internal */ +export const GetAllLogDrainsFilterLogDrainsSources$inboundSchema: + z.ZodNativeEnum = z.nativeEnum( + GetAllLogDrainsFilterLogDrainsSources, + ); +/** @internal */ +export const GetAllLogDrainsFilterLogDrainsSources$outboundSchema: + z.ZodNativeEnum = + GetAllLogDrainsFilterLogDrainsSources$inboundSchema; + +/** @internal */ +export const GetAllLogDrainsFilterLog$inboundSchema: z.ZodType< + GetAllLogDrainsFilterLog, + z.ZodTypeDef, + unknown +> = z.object({ + sources: z.array(GetAllLogDrainsFilterLogDrainsSources$inboundSchema) + .optional(), + legacy_excludeCachedStaticAssetLogs: z.boolean().optional(), +}).transform((v) => { + return remap$(v, { + "legacy_excludeCachedStaticAssetLogs": "legacyExcludeCachedStaticAssetLogs", + }); +}); +/** @internal */ +export type GetAllLogDrainsFilterLog$Outbound = { + sources?: Array | undefined; + legacy_excludeCachedStaticAssetLogs?: boolean | undefined; +}; + +/** @internal */ +export const GetAllLogDrainsFilterLog$outboundSchema: z.ZodType< + GetAllLogDrainsFilterLog$Outbound, + z.ZodTypeDef, + GetAllLogDrainsFilterLog +> = z.object({ + sources: z.array(GetAllLogDrainsFilterLogDrainsSources$outboundSchema) + .optional(), + legacyExcludeCachedStaticAssetLogs: z.boolean().optional(), +}).transform((v) => { + return remap$(v, { + legacyExcludeCachedStaticAssetLogs: "legacy_excludeCachedStaticAssetLogs", + }); +}); + +export function getAllLogDrainsFilterLogToJSON( + getAllLogDrainsFilterLog: GetAllLogDrainsFilterLog, +): string { + return JSON.stringify( + GetAllLogDrainsFilterLog$outboundSchema.parse(getAllLogDrainsFilterLog), + ); +} +export function getAllLogDrainsFilterLogFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetAllLogDrainsFilterLog$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetAllLogDrainsFilterLog' from JSON`, + ); +} + +/** @internal */ +export const GetAllLogDrainsFilterLogDrainsEnvironments$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(GetAllLogDrainsFilterLogDrainsEnvironments); +/** @internal */ +export const GetAllLogDrainsFilterLogDrainsEnvironments$outboundSchema: + z.ZodNativeEnum = + GetAllLogDrainsFilterLogDrainsEnvironments$inboundSchema; + +/** @internal */ +export const GetAllLogDrainsFilterLogDrainsDeployment$inboundSchema: z.ZodType< + GetAllLogDrainsFilterLogDrainsDeployment, + z.ZodTypeDef, + unknown +> = z.object({ + environments: z.array( + GetAllLogDrainsFilterLogDrainsEnvironments$inboundSchema, + ).optional(), +}); +/** @internal */ +export type GetAllLogDrainsFilterLogDrainsDeployment$Outbound = { + environments?: Array | undefined; +}; + +/** @internal */ +export const GetAllLogDrainsFilterLogDrainsDeployment$outboundSchema: z.ZodType< + GetAllLogDrainsFilterLogDrainsDeployment$Outbound, + z.ZodTypeDef, + GetAllLogDrainsFilterLogDrainsDeployment +> = z.object({ + environments: z.array( + GetAllLogDrainsFilterLogDrainsEnvironments$outboundSchema, + ).optional(), +}); + +export function getAllLogDrainsFilterLogDrainsDeploymentToJSON( + getAllLogDrainsFilterLogDrainsDeployment: + GetAllLogDrainsFilterLogDrainsDeployment, +): string { + return JSON.stringify( + GetAllLogDrainsFilterLogDrainsDeployment$outboundSchema.parse( + getAllLogDrainsFilterLogDrainsDeployment, + ), + ); +} +export function getAllLogDrainsFilterLogDrainsDeploymentFromJSON( + jsonString: string, +): SafeParseResult< + GetAllLogDrainsFilterLogDrainsDeployment, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + GetAllLogDrainsFilterLogDrainsDeployment$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'GetAllLogDrainsFilterLogDrainsDeployment' from JSON`, + ); +} + +/** @internal */ +export const GetAllLogDrainsFilter1$inboundSchema: z.ZodType< + GetAllLogDrainsFilter1, + z.ZodTypeDef, + unknown +> = z.object({ + type: GetAllLogDrainsFilterLogDrainsType$inboundSchema, + project: z.lazy(() => GetAllLogDrainsFilterProject$inboundSchema).optional(), + log: z.lazy(() => GetAllLogDrainsFilterLog$inboundSchema).optional(), + deployment: z.lazy(() => + GetAllLogDrainsFilterLogDrainsDeployment$inboundSchema + ).optional(), +}); +/** @internal */ +export type GetAllLogDrainsFilter1$Outbound = { + type: string; + project?: GetAllLogDrainsFilterProject$Outbound | undefined; + log?: GetAllLogDrainsFilterLog$Outbound | undefined; + deployment?: GetAllLogDrainsFilterLogDrainsDeployment$Outbound | undefined; +}; + +/** @internal */ +export const GetAllLogDrainsFilter1$outboundSchema: z.ZodType< + GetAllLogDrainsFilter1$Outbound, + z.ZodTypeDef, + GetAllLogDrainsFilter1 +> = z.object({ + type: GetAllLogDrainsFilterLogDrainsType$outboundSchema, + project: z.lazy(() => GetAllLogDrainsFilterProject$outboundSchema).optional(), + log: z.lazy(() => GetAllLogDrainsFilterLog$outboundSchema).optional(), + deployment: z.lazy(() => + GetAllLogDrainsFilterLogDrainsDeployment$outboundSchema + ).optional(), +}); + +export function getAllLogDrainsFilter1ToJSON( + getAllLogDrainsFilter1: GetAllLogDrainsFilter1, +): string { + return JSON.stringify( + GetAllLogDrainsFilter1$outboundSchema.parse(getAllLogDrainsFilter1), + ); +} +export function getAllLogDrainsFilter1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetAllLogDrainsFilter1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetAllLogDrainsFilter1' from JSON`, + ); +} + +/** @internal */ +export const GetAllLogDrainsFilterV2LogDrainsFilter$inboundSchema: z.ZodType< + GetAllLogDrainsFilterV2LogDrainsFilter, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => GetAllLogDrainsFilter2$inboundSchema), + z.lazy(() => GetAllLogDrainsFilter1$inboundSchema), +]); +/** @internal */ +export type GetAllLogDrainsFilterV2LogDrainsFilter$Outbound = + | GetAllLogDrainsFilter2$Outbound + | GetAllLogDrainsFilter1$Outbound; + +/** @internal */ +export const GetAllLogDrainsFilterV2LogDrainsFilter$outboundSchema: z.ZodType< + GetAllLogDrainsFilterV2LogDrainsFilter$Outbound, + z.ZodTypeDef, + GetAllLogDrainsFilterV2LogDrainsFilter +> = z.union([ + z.lazy(() => GetAllLogDrainsFilter2$outboundSchema), + z.lazy(() => GetAllLogDrainsFilter1$outboundSchema), +]); + +export function getAllLogDrainsFilterV2LogDrainsFilterToJSON( + getAllLogDrainsFilterV2LogDrainsFilter: + GetAllLogDrainsFilterV2LogDrainsFilter, +): string { + return JSON.stringify( + GetAllLogDrainsFilterV2LogDrainsFilter$outboundSchema.parse( + getAllLogDrainsFilterV2LogDrainsFilter, + ), + ); +} +export function getAllLogDrainsFilterV2LogDrainsFilterFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + GetAllLogDrainsFilterV2LogDrainsFilter$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetAllLogDrainsFilterV2LogDrainsFilter' from JSON`, + ); +} + +/** @internal */ +export const GetAllLogDrainsFilterV22$inboundSchema: z.ZodType< + GetAllLogDrainsFilterV22, + z.ZodTypeDef, + unknown +> = z.object({ + version: GetAllLogDrainsFilterV2LogDrainsVersion$inboundSchema, + filter: z.union([ + z.lazy(() => GetAllLogDrainsFilter2$inboundSchema), + z.lazy(() => GetAllLogDrainsFilter1$inboundSchema), + ]), +}); +/** @internal */ +export type GetAllLogDrainsFilterV22$Outbound = { + version: string; + filter: GetAllLogDrainsFilter2$Outbound | GetAllLogDrainsFilter1$Outbound; +}; + +/** @internal */ +export const GetAllLogDrainsFilterV22$outboundSchema: z.ZodType< + GetAllLogDrainsFilterV22$Outbound, + z.ZodTypeDef, + GetAllLogDrainsFilterV22 +> = z.object({ + version: GetAllLogDrainsFilterV2LogDrainsVersion$outboundSchema, + filter: z.union([ + z.lazy(() => GetAllLogDrainsFilter2$outboundSchema), + z.lazy(() => GetAllLogDrainsFilter1$outboundSchema), + ]), +}); + +export function getAllLogDrainsFilterV22ToJSON( + getAllLogDrainsFilterV22: GetAllLogDrainsFilterV22, +): string { + return JSON.stringify( + GetAllLogDrainsFilterV22$outboundSchema.parse(getAllLogDrainsFilterV22), + ); +} +export function getAllLogDrainsFilterV22FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetAllLogDrainsFilterV22$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetAllLogDrainsFilterV22' from JSON`, + ); +} + +/** @internal */ +export const GetAllLogDrainsFilterV2Version$inboundSchema: z.ZodNativeEnum< + typeof GetAllLogDrainsFilterV2Version +> = z.nativeEnum(GetAllLogDrainsFilterV2Version); +/** @internal */ +export const GetAllLogDrainsFilterV2Version$outboundSchema: z.ZodNativeEnum< + typeof GetAllLogDrainsFilterV2Version +> = GetAllLogDrainsFilterV2Version$inboundSchema; + +/** @internal */ +export const GetAllLogDrainsFilterV21$inboundSchema: z.ZodType< + GetAllLogDrainsFilterV21, + z.ZodTypeDef, + unknown +> = z.object({ + version: GetAllLogDrainsFilterV2Version$inboundSchema, +}); +/** @internal */ +export type GetAllLogDrainsFilterV21$Outbound = { + version: string; +}; + +/** @internal */ +export const GetAllLogDrainsFilterV21$outboundSchema: z.ZodType< + GetAllLogDrainsFilterV21$Outbound, + z.ZodTypeDef, + GetAllLogDrainsFilterV21 +> = z.object({ + version: GetAllLogDrainsFilterV2Version$outboundSchema, +}); + +export function getAllLogDrainsFilterV21ToJSON( + getAllLogDrainsFilterV21: GetAllLogDrainsFilterV21, +): string { + return JSON.stringify( + GetAllLogDrainsFilterV21$outboundSchema.parse(getAllLogDrainsFilterV21), + ); +} +export function getAllLogDrainsFilterV21FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetAllLogDrainsFilterV21$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetAllLogDrainsFilterV21' from JSON`, + ); +} + +/** @internal */ +export const GetAllLogDrainsDrainsLogDrainsFilterV2$inboundSchema: z.ZodType< + GetAllLogDrainsDrainsLogDrainsFilterV2, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => GetAllLogDrainsFilterV22$inboundSchema), + z.lazy(() => GetAllLogDrainsFilterV21$inboundSchema), +]); +/** @internal */ +export type GetAllLogDrainsDrainsLogDrainsFilterV2$Outbound = + | GetAllLogDrainsFilterV22$Outbound + | GetAllLogDrainsFilterV21$Outbound; + +/** @internal */ +export const GetAllLogDrainsDrainsLogDrainsFilterV2$outboundSchema: z.ZodType< + GetAllLogDrainsDrainsLogDrainsFilterV2$Outbound, + z.ZodTypeDef, + GetAllLogDrainsDrainsLogDrainsFilterV2 +> = z.union([ + z.lazy(() => GetAllLogDrainsFilterV22$outboundSchema), + z.lazy(() => GetAllLogDrainsFilterV21$outboundSchema), +]); + +export function getAllLogDrainsDrainsLogDrainsFilterV2ToJSON( + getAllLogDrainsDrainsLogDrainsFilterV2: + GetAllLogDrainsDrainsLogDrainsFilterV2, +): string { + return JSON.stringify( + GetAllLogDrainsDrainsLogDrainsFilterV2$outboundSchema.parse( + getAllLogDrainsDrainsLogDrainsFilterV2, + ), + ); +} +export function getAllLogDrainsDrainsLogDrainsFilterV2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + GetAllLogDrainsDrainsLogDrainsFilterV2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetAllLogDrainsDrainsLogDrainsFilterV2' from JSON`, + ); +} + +/** @internal */ +export const GetAllLogDrainsDrainsFramework$inboundSchema: z.ZodNativeEnum< + typeof GetAllLogDrainsDrainsFramework +> = z.nativeEnum(GetAllLogDrainsDrainsFramework); +/** @internal */ +export const GetAllLogDrainsDrainsFramework$outboundSchema: z.ZodNativeEnum< + typeof GetAllLogDrainsDrainsFramework +> = GetAllLogDrainsDrainsFramework$inboundSchema; + +/** @internal */ +export const GetAllLogDrainsDrainsProjectsMetadata$inboundSchema: z.ZodType< + GetAllLogDrainsDrainsProjectsMetadata, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + name: z.string(), + framework: z.nullable(GetAllLogDrainsDrainsFramework$inboundSchema) + .optional(), + latestDeployment: z.string().optional(), +}); +/** @internal */ +export type GetAllLogDrainsDrainsProjectsMetadata$Outbound = { + id: string; + name: string; + framework?: string | null | undefined; + latestDeployment?: string | undefined; +}; + +/** @internal */ +export const GetAllLogDrainsDrainsProjectsMetadata$outboundSchema: z.ZodType< + GetAllLogDrainsDrainsProjectsMetadata$Outbound, + z.ZodTypeDef, + GetAllLogDrainsDrainsProjectsMetadata +> = z.object({ + id: z.string(), + name: z.string(), + framework: z.nullable(GetAllLogDrainsDrainsFramework$outboundSchema) + .optional(), + latestDeployment: z.string().optional(), +}); + +export function getAllLogDrainsDrainsProjectsMetadataToJSON( + getAllLogDrainsDrainsProjectsMetadata: GetAllLogDrainsDrainsProjectsMetadata, +): string { + return JSON.stringify( + GetAllLogDrainsDrainsProjectsMetadata$outboundSchema.parse( + getAllLogDrainsDrainsProjectsMetadata, + ), + ); +} +export function getAllLogDrainsDrainsProjectsMetadataFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + GetAllLogDrainsDrainsProjectsMetadata$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetAllLogDrainsDrainsProjectsMetadata' from JSON`, + ); +} + +/** @internal */ +export const GetAllLogDrainsDrains2$inboundSchema: z.ZodType< + GetAllLogDrainsDrains2, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + ownerId: z.string(), + name: z.string(), + createdAt: z.number(), + createdFrom: GetAllLogDrainsDrainsLogDrainsCreatedFrom$inboundSchema + .optional(), + updatedAt: z.number(), + projectIds: z.array(z.string()).optional(), + schemas: z.lazy(() => GetAllLogDrainsDrainsLogDrainsSchemas$inboundSchema) + .optional(), + delivery: z.union([ + z.lazy(() => GetAllLogDrainsDelivery1$inboundSchema), + z.lazy(() => GetAllLogDrainsDelivery2$inboundSchema), + z.lazy(() => GetAllLogDrainsDelivery3$inboundSchema), + z.lazy(() => GetAllLogDrainsDelivery4$inboundSchema), + ]).optional(), + sampling: z.array( + z.lazy(() => GetAllLogDrainsDrainsLogDrainsSampling$inboundSchema), + ).optional(), + teamId: z.nullable(z.string()).optional(), + status: GetAllLogDrainsDrainsStatus$inboundSchema.optional(), + disabledAt: z.number().optional(), + disabledReason: GetAllLogDrainsDrainsLogDrainsDisabledReason$inboundSchema + .optional(), + disabledBy: z.string().optional(), + firstErrorTimestamp: z.number().optional(), + configurationId: z.string().optional(), + clientId: z.string().optional(), + source: z.union([ + z.lazy(() => GetAllLogDrainsSource2$inboundSchema), + z.lazy(() => GetAllLogDrainsSource1$inboundSchema), + ]), + filter: z.string().optional(), + filterV2: z.union([ + z.lazy(() => GetAllLogDrainsFilterV22$inboundSchema), + z.lazy(() => GetAllLogDrainsFilterV21$inboundSchema), + ]).optional(), + integrationIcon: z.string().optional(), + integrationConfigurationUri: z.string().optional(), + integrationWebsite: z.string().optional(), + projectsMetadata: z.array( + z.lazy(() => GetAllLogDrainsDrainsProjectsMetadata$inboundSchema), + ).optional(), +}); +/** @internal */ +export type GetAllLogDrainsDrains2$Outbound = { + id: string; + ownerId: string; + name: string; + createdAt: number; + createdFrom?: string | undefined; + updatedAt: number; + projectIds?: Array | undefined; + schemas?: GetAllLogDrainsDrainsLogDrainsSchemas$Outbound | undefined; + delivery?: + | GetAllLogDrainsDelivery1$Outbound + | GetAllLogDrainsDelivery2$Outbound + | GetAllLogDrainsDelivery3$Outbound + | GetAllLogDrainsDelivery4$Outbound + | undefined; + sampling?: Array | undefined; + teamId?: string | null | undefined; + status?: string | undefined; + disabledAt?: number | undefined; + disabledReason?: string | undefined; + disabledBy?: string | undefined; + firstErrorTimestamp?: number | undefined; + configurationId?: string | undefined; + clientId?: string | undefined; + source: GetAllLogDrainsSource2$Outbound | GetAllLogDrainsSource1$Outbound; + filter?: string | undefined; + filterV2?: + | GetAllLogDrainsFilterV22$Outbound + | GetAllLogDrainsFilterV21$Outbound + | undefined; + integrationIcon?: string | undefined; + integrationConfigurationUri?: string | undefined; + integrationWebsite?: string | undefined; + projectsMetadata?: + | Array + | undefined; +}; + +/** @internal */ +export const GetAllLogDrainsDrains2$outboundSchema: z.ZodType< + GetAllLogDrainsDrains2$Outbound, + z.ZodTypeDef, + GetAllLogDrainsDrains2 +> = z.object({ + id: z.string(), + ownerId: z.string(), + name: z.string(), + createdAt: z.number(), + createdFrom: GetAllLogDrainsDrainsLogDrainsCreatedFrom$outboundSchema + .optional(), + updatedAt: z.number(), + projectIds: z.array(z.string()).optional(), + schemas: z.lazy(() => GetAllLogDrainsDrainsLogDrainsSchemas$outboundSchema) + .optional(), + delivery: z.union([ + z.lazy(() => GetAllLogDrainsDelivery1$outboundSchema), + z.lazy(() => GetAllLogDrainsDelivery2$outboundSchema), + z.lazy(() => GetAllLogDrainsDelivery3$outboundSchema), + z.lazy(() => GetAllLogDrainsDelivery4$outboundSchema), + ]).optional(), + sampling: z.array( + z.lazy(() => GetAllLogDrainsDrainsLogDrainsSampling$outboundSchema), + ).optional(), + teamId: z.nullable(z.string()).optional(), + status: GetAllLogDrainsDrainsStatus$outboundSchema.optional(), + disabledAt: z.number().optional(), + disabledReason: GetAllLogDrainsDrainsLogDrainsDisabledReason$outboundSchema + .optional(), + disabledBy: z.string().optional(), + firstErrorTimestamp: z.number().optional(), + configurationId: z.string().optional(), + clientId: z.string().optional(), + source: z.union([ + z.lazy(() => GetAllLogDrainsSource2$outboundSchema), + z.lazy(() => GetAllLogDrainsSource1$outboundSchema), + ]), + filter: z.string().optional(), + filterV2: z.union([ + z.lazy(() => GetAllLogDrainsFilterV22$outboundSchema), + z.lazy(() => GetAllLogDrainsFilterV21$outboundSchema), + ]).optional(), + integrationIcon: z.string().optional(), + integrationConfigurationUri: z.string().optional(), + integrationWebsite: z.string().optional(), + projectsMetadata: z.array( + z.lazy(() => GetAllLogDrainsDrainsProjectsMetadata$outboundSchema), + ).optional(), +}); + +export function getAllLogDrainsDrains2ToJSON( + getAllLogDrainsDrains2: GetAllLogDrainsDrains2, +): string { + return JSON.stringify( + GetAllLogDrainsDrains2$outboundSchema.parse(getAllLogDrainsDrains2), + ); +} +export function getAllLogDrainsDrains2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetAllLogDrainsDrains2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetAllLogDrainsDrains2' from JSON`, + ); +} + +/** @internal */ +export const GetAllLogDrainsDrainsCreatedFrom$inboundSchema: z.ZodNativeEnum< + typeof GetAllLogDrainsDrainsCreatedFrom +> = z.nativeEnum(GetAllLogDrainsDrainsCreatedFrom); +/** @internal */ +export const GetAllLogDrainsDrainsCreatedFrom$outboundSchema: z.ZodNativeEnum< + typeof GetAllLogDrainsDrainsCreatedFrom +> = GetAllLogDrainsDrainsCreatedFrom$inboundSchema; + +/** @internal */ +export const GetAllLogDrainsDrainsLog$inboundSchema: z.ZodType< + GetAllLogDrainsDrainsLog, + z.ZodTypeDef, + unknown +> = z.object({}); +/** @internal */ +export type GetAllLogDrainsDrainsLog$Outbound = {}; + +/** @internal */ +export const GetAllLogDrainsDrainsLog$outboundSchema: z.ZodType< + GetAllLogDrainsDrainsLog$Outbound, + z.ZodTypeDef, + GetAllLogDrainsDrainsLog +> = z.object({}); + +export function getAllLogDrainsDrainsLogToJSON( + getAllLogDrainsDrainsLog: GetAllLogDrainsDrainsLog, +): string { + return JSON.stringify( + GetAllLogDrainsDrainsLog$outboundSchema.parse(getAllLogDrainsDrainsLog), + ); +} +export function getAllLogDrainsDrainsLogFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetAllLogDrainsDrainsLog$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetAllLogDrainsDrainsLog' from JSON`, + ); +} + +/** @internal */ +export const GetAllLogDrainsDrainsTrace$inboundSchema: z.ZodType< + GetAllLogDrainsDrainsTrace, + z.ZodTypeDef, + unknown +> = z.object({}); +/** @internal */ +export type GetAllLogDrainsDrainsTrace$Outbound = {}; + +/** @internal */ +export const GetAllLogDrainsDrainsTrace$outboundSchema: z.ZodType< + GetAllLogDrainsDrainsTrace$Outbound, + z.ZodTypeDef, + GetAllLogDrainsDrainsTrace +> = z.object({}); + +export function getAllLogDrainsDrainsTraceToJSON( + getAllLogDrainsDrainsTrace: GetAllLogDrainsDrainsTrace, +): string { + return JSON.stringify( + GetAllLogDrainsDrainsTrace$outboundSchema.parse(getAllLogDrainsDrainsTrace), + ); +} +export function getAllLogDrainsDrainsTraceFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetAllLogDrainsDrainsTrace$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetAllLogDrainsDrainsTrace' from JSON`, + ); +} + +/** @internal */ +export const GetAllLogDrainsDrainsLogDrainsAnalytics$inboundSchema: z.ZodType< + GetAllLogDrainsDrainsLogDrainsAnalytics, + z.ZodTypeDef, + unknown +> = z.object({}); +/** @internal */ +export type GetAllLogDrainsDrainsLogDrainsAnalytics$Outbound = {}; + +/** @internal */ +export const GetAllLogDrainsDrainsLogDrainsAnalytics$outboundSchema: z.ZodType< + GetAllLogDrainsDrainsLogDrainsAnalytics$Outbound, + z.ZodTypeDef, + GetAllLogDrainsDrainsLogDrainsAnalytics +> = z.object({}); + +export function getAllLogDrainsDrainsLogDrainsAnalyticsToJSON( + getAllLogDrainsDrainsLogDrainsAnalytics: + GetAllLogDrainsDrainsLogDrainsAnalytics, +): string { + return JSON.stringify( + GetAllLogDrainsDrainsLogDrainsAnalytics$outboundSchema.parse( + getAllLogDrainsDrainsLogDrainsAnalytics, + ), + ); +} +export function getAllLogDrainsDrainsLogDrainsAnalyticsFromJSON( + jsonString: string, +): SafeParseResult< + GetAllLogDrainsDrainsLogDrainsAnalytics, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + GetAllLogDrainsDrainsLogDrainsAnalytics$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'GetAllLogDrainsDrainsLogDrainsAnalytics' from JSON`, + ); +} + +/** @internal */ +export const GetAllLogDrainsDrainsLogDrainsSpeedInsights$inboundSchema: + z.ZodType< + GetAllLogDrainsDrainsLogDrainsSpeedInsights, + z.ZodTypeDef, + unknown + > = z.object({}); +/** @internal */ +export type GetAllLogDrainsDrainsLogDrainsSpeedInsights$Outbound = {}; + +/** @internal */ +export const GetAllLogDrainsDrainsLogDrainsSpeedInsights$outboundSchema: + z.ZodType< + GetAllLogDrainsDrainsLogDrainsSpeedInsights$Outbound, + z.ZodTypeDef, + GetAllLogDrainsDrainsLogDrainsSpeedInsights + > = z.object({}); + +export function getAllLogDrainsDrainsLogDrainsSpeedInsightsToJSON( + getAllLogDrainsDrainsLogDrainsSpeedInsights: + GetAllLogDrainsDrainsLogDrainsSpeedInsights, +): string { + return JSON.stringify( + GetAllLogDrainsDrainsLogDrainsSpeedInsights$outboundSchema.parse( + getAllLogDrainsDrainsLogDrainsSpeedInsights, + ), + ); +} +export function getAllLogDrainsDrainsLogDrainsSpeedInsightsFromJSON( + jsonString: string, +): SafeParseResult< + GetAllLogDrainsDrainsLogDrainsSpeedInsights, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + GetAllLogDrainsDrainsLogDrainsSpeedInsights$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'GetAllLogDrainsDrainsLogDrainsSpeedInsights' from JSON`, + ); +} + +/** @internal */ +export const GetAllLogDrainsDrainsSchemas$inboundSchema: z.ZodType< + GetAllLogDrainsDrainsSchemas, + z.ZodTypeDef, + unknown +> = z.object({ + log: z.lazy(() => GetAllLogDrainsDrainsLog$inboundSchema).optional(), + trace: z.lazy(() => GetAllLogDrainsDrainsTrace$inboundSchema).optional(), + analytics: z.lazy(() => GetAllLogDrainsDrainsLogDrainsAnalytics$inboundSchema) + .optional(), + speed_insights: z.lazy(() => + GetAllLogDrainsDrainsLogDrainsSpeedInsights$inboundSchema + ).optional(), +}).transform((v) => { + return remap$(v, { + "speed_insights": "speedInsights", + }); +}); +/** @internal */ +export type GetAllLogDrainsDrainsSchemas$Outbound = { + log?: GetAllLogDrainsDrainsLog$Outbound | undefined; + trace?: GetAllLogDrainsDrainsTrace$Outbound | undefined; + analytics?: GetAllLogDrainsDrainsLogDrainsAnalytics$Outbound | undefined; + speed_insights?: + | GetAllLogDrainsDrainsLogDrainsSpeedInsights$Outbound + | undefined; +}; + +/** @internal */ +export const GetAllLogDrainsDrainsSchemas$outboundSchema: z.ZodType< + GetAllLogDrainsDrainsSchemas$Outbound, + z.ZodTypeDef, + GetAllLogDrainsDrainsSchemas +> = z.object({ + log: z.lazy(() => GetAllLogDrainsDrainsLog$outboundSchema).optional(), + trace: z.lazy(() => GetAllLogDrainsDrainsTrace$outboundSchema).optional(), + analytics: z.lazy(() => + GetAllLogDrainsDrainsLogDrainsAnalytics$outboundSchema + ).optional(), + speedInsights: z.lazy(() => + GetAllLogDrainsDrainsLogDrainsSpeedInsights$outboundSchema + ).optional(), +}).transform((v) => { + return remap$(v, { + speedInsights: "speed_insights", + }); +}); + +export function getAllLogDrainsDrainsSchemasToJSON( + getAllLogDrainsDrainsSchemas: GetAllLogDrainsDrainsSchemas, +): string { + return JSON.stringify( + GetAllLogDrainsDrainsSchemas$outboundSchema.parse( + getAllLogDrainsDrainsSchemas, + ), + ); +} +export function getAllLogDrainsDrainsSchemasFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetAllLogDrainsDrainsSchemas$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetAllLogDrainsDrainsSchemas' from JSON`, + ); +} + +/** @internal */ +export const GetAllLogDrainsDeliveryLogDrainsResponseType$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(GetAllLogDrainsDeliveryLogDrainsResponseType); +/** @internal */ +export const GetAllLogDrainsDeliveryLogDrainsResponseType$outboundSchema: + z.ZodNativeEnum = + GetAllLogDrainsDeliveryLogDrainsResponseType$inboundSchema; + +/** @internal */ +export const GetAllLogDrainsDeliveryLogDrainsTarget$inboundSchema: + z.ZodNativeEnum = z.nativeEnum( + GetAllLogDrainsDeliveryLogDrainsTarget, + ); +/** @internal */ +export const GetAllLogDrainsDeliveryLogDrainsTarget$outboundSchema: + z.ZodNativeEnum = + GetAllLogDrainsDeliveryLogDrainsTarget$inboundSchema; + +/** @internal */ +export const GetAllLogDrainsDeliveryLogDrains4$inboundSchema: z.ZodType< + GetAllLogDrainsDeliveryLogDrains4, + z.ZodTypeDef, + unknown +> = z.object({ + type: GetAllLogDrainsDeliveryLogDrainsResponseType$inboundSchema, + target: GetAllLogDrainsDeliveryLogDrainsTarget$inboundSchema, +}); +/** @internal */ +export type GetAllLogDrainsDeliveryLogDrains4$Outbound = { + type: string; + target: string; +}; + +/** @internal */ +export const GetAllLogDrainsDeliveryLogDrains4$outboundSchema: z.ZodType< + GetAllLogDrainsDeliveryLogDrains4$Outbound, + z.ZodTypeDef, + GetAllLogDrainsDeliveryLogDrains4 +> = z.object({ + type: GetAllLogDrainsDeliveryLogDrainsResponseType$outboundSchema, + target: GetAllLogDrainsDeliveryLogDrainsTarget$outboundSchema, +}); + +export function getAllLogDrainsDeliveryLogDrains4ToJSON( + getAllLogDrainsDeliveryLogDrains4: GetAllLogDrainsDeliveryLogDrains4, +): string { + return JSON.stringify( + GetAllLogDrainsDeliveryLogDrains4$outboundSchema.parse( + getAllLogDrainsDeliveryLogDrains4, + ), + ); +} +export function getAllLogDrainsDeliveryLogDrains4FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetAllLogDrainsDeliveryLogDrains4$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetAllLogDrainsDeliveryLogDrains4' from JSON`, + ); +} + +/** @internal */ +export const GetAllLogDrainsDeliveryLogDrainsType$inboundSchema: + z.ZodNativeEnum = z.nativeEnum( + GetAllLogDrainsDeliveryLogDrainsType, + ); +/** @internal */ +export const GetAllLogDrainsDeliveryLogDrainsType$outboundSchema: + z.ZodNativeEnum = + GetAllLogDrainsDeliveryLogDrainsType$inboundSchema; + +/** @internal */ +export const GetAllLogDrainsDeliveryLogDrains3$inboundSchema: z.ZodType< + GetAllLogDrainsDeliveryLogDrains3, + z.ZodTypeDef, + unknown +> = z.object({ + type: GetAllLogDrainsDeliveryLogDrainsType$inboundSchema, + endpoint: z.string(), + table: z.string(), +}); +/** @internal */ +export type GetAllLogDrainsDeliveryLogDrains3$Outbound = { + type: string; + endpoint: string; + table: string; +}; + +/** @internal */ +export const GetAllLogDrainsDeliveryLogDrains3$outboundSchema: z.ZodType< + GetAllLogDrainsDeliveryLogDrains3$Outbound, + z.ZodTypeDef, + GetAllLogDrainsDeliveryLogDrains3 +> = z.object({ + type: GetAllLogDrainsDeliveryLogDrainsType$outboundSchema, + endpoint: z.string(), + table: z.string(), +}); + +export function getAllLogDrainsDeliveryLogDrains3ToJSON( + getAllLogDrainsDeliveryLogDrains3: GetAllLogDrainsDeliveryLogDrains3, +): string { + return JSON.stringify( + GetAllLogDrainsDeliveryLogDrains3$outboundSchema.parse( + getAllLogDrainsDeliveryLogDrains3, + ), + ); +} +export function getAllLogDrainsDeliveryLogDrains3FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetAllLogDrainsDeliveryLogDrains3$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetAllLogDrainsDeliveryLogDrains3' from JSON`, + ); +} + +/** @internal */ +export const GetAllLogDrainsDeliveryType$inboundSchema: z.ZodNativeEnum< + typeof GetAllLogDrainsDeliveryType +> = z.nativeEnum(GetAllLogDrainsDeliveryType); +/** @internal */ +export const GetAllLogDrainsDeliveryType$outboundSchema: z.ZodNativeEnum< + typeof GetAllLogDrainsDeliveryType +> = GetAllLogDrainsDeliveryType$inboundSchema; + +/** @internal */ +export const GetAllLogDrainsDeliveryEndpoint$inboundSchema: z.ZodType< + GetAllLogDrainsDeliveryEndpoint, + z.ZodTypeDef, + unknown +> = z.object({ + traces: z.string(), +}); +/** @internal */ +export type GetAllLogDrainsDeliveryEndpoint$Outbound = { + traces: string; +}; + +/** @internal */ +export const GetAllLogDrainsDeliveryEndpoint$outboundSchema: z.ZodType< + GetAllLogDrainsDeliveryEndpoint$Outbound, + z.ZodTypeDef, + GetAllLogDrainsDeliveryEndpoint +> = z.object({ + traces: z.string(), +}); + +export function getAllLogDrainsDeliveryEndpointToJSON( + getAllLogDrainsDeliveryEndpoint: GetAllLogDrainsDeliveryEndpoint, +): string { + return JSON.stringify( + GetAllLogDrainsDeliveryEndpoint$outboundSchema.parse( + getAllLogDrainsDeliveryEndpoint, + ), + ); +} +export function getAllLogDrainsDeliveryEndpointFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetAllLogDrainsDeliveryEndpoint$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetAllLogDrainsDeliveryEndpoint' from JSON`, + ); +} + +/** @internal */ +export const GetAllLogDrainsDeliveryEncoding$inboundSchema: z.ZodNativeEnum< + typeof GetAllLogDrainsDeliveryEncoding +> = z.nativeEnum(GetAllLogDrainsDeliveryEncoding); +/** @internal */ +export const GetAllLogDrainsDeliveryEncoding$outboundSchema: z.ZodNativeEnum< + typeof GetAllLogDrainsDeliveryEncoding +> = GetAllLogDrainsDeliveryEncoding$inboundSchema; + +/** @internal */ +export const GetAllLogDrainsDeliveryLogDrains2$inboundSchema: z.ZodType< + GetAllLogDrainsDeliveryLogDrains2, + z.ZodTypeDef, + unknown +> = z.object({ + type: GetAllLogDrainsDeliveryType$inboundSchema, + endpoint: z.lazy(() => GetAllLogDrainsDeliveryEndpoint$inboundSchema), + encoding: GetAllLogDrainsDeliveryEncoding$inboundSchema, + headers: z.record(z.string()), + secret: z.string().optional(), +}); +/** @internal */ +export type GetAllLogDrainsDeliveryLogDrains2$Outbound = { + type: string; + endpoint: GetAllLogDrainsDeliveryEndpoint$Outbound; + encoding: string; + headers: { [k: string]: string }; + secret?: string | undefined; +}; + +/** @internal */ +export const GetAllLogDrainsDeliveryLogDrains2$outboundSchema: z.ZodType< + GetAllLogDrainsDeliveryLogDrains2$Outbound, + z.ZodTypeDef, + GetAllLogDrainsDeliveryLogDrains2 +> = z.object({ + type: GetAllLogDrainsDeliveryType$outboundSchema, + endpoint: z.lazy(() => GetAllLogDrainsDeliveryEndpoint$outboundSchema), + encoding: GetAllLogDrainsDeliveryEncoding$outboundSchema, + headers: z.record(z.string()), + secret: z.string().optional(), +}); + +export function getAllLogDrainsDeliveryLogDrains2ToJSON( + getAllLogDrainsDeliveryLogDrains2: GetAllLogDrainsDeliveryLogDrains2, +): string { + return JSON.stringify( + GetAllLogDrainsDeliveryLogDrains2$outboundSchema.parse( + getAllLogDrainsDeliveryLogDrains2, + ), + ); +} +export function getAllLogDrainsDeliveryLogDrains2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetAllLogDrainsDeliveryLogDrains2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetAllLogDrainsDeliveryLogDrains2' from JSON`, + ); +} + +/** @internal */ +export const GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONResponseBody1DrainsType$inboundSchema: + z.ZodNativeEnum< + typeof GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONResponseBody1DrainsType + > = z.nativeEnum( + GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONResponseBody1DrainsType, + ); +/** @internal */ +export const GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONResponseBody1DrainsType$outboundSchema: + z.ZodNativeEnum< + typeof GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONResponseBody1DrainsType + > = + GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONResponseBody1DrainsType$inboundSchema; + +/** @internal */ +export const GetAllLogDrainsDeliveryLogDrainsResponse200Encoding$inboundSchema: + z.ZodNativeEnum = + z.nativeEnum(GetAllLogDrainsDeliveryLogDrainsResponse200Encoding); +/** @internal */ +export const GetAllLogDrainsDeliveryLogDrainsResponse200Encoding$outboundSchema: + z.ZodNativeEnum = + GetAllLogDrainsDeliveryLogDrainsResponse200Encoding$inboundSchema; + +/** @internal */ +export const GetAllLogDrainsDeliveryCompression$inboundSchema: z.ZodNativeEnum< + typeof GetAllLogDrainsDeliveryCompression +> = z.nativeEnum(GetAllLogDrainsDeliveryCompression); +/** @internal */ +export const GetAllLogDrainsDeliveryCompression$outboundSchema: z.ZodNativeEnum< + typeof GetAllLogDrainsDeliveryCompression +> = GetAllLogDrainsDeliveryCompression$inboundSchema; + +/** @internal */ +export const GetAllLogDrainsDeliveryLogDrains1$inboundSchema: z.ZodType< + GetAllLogDrainsDeliveryLogDrains1, + z.ZodTypeDef, + unknown +> = z.object({ + type: + GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONResponseBody1DrainsType$inboundSchema, + endpoint: z.string(), + encoding: GetAllLogDrainsDeliveryLogDrainsResponse200Encoding$inboundSchema, + compression: GetAllLogDrainsDeliveryCompression$inboundSchema.optional(), + headers: z.record(z.string()), + secret: z.string().optional(), +}); +/** @internal */ +export type GetAllLogDrainsDeliveryLogDrains1$Outbound = { + type: string; + endpoint: string; + encoding: string; + compression?: string | undefined; + headers: { [k: string]: string }; + secret?: string | undefined; +}; + +/** @internal */ +export const GetAllLogDrainsDeliveryLogDrains1$outboundSchema: z.ZodType< + GetAllLogDrainsDeliveryLogDrains1$Outbound, + z.ZodTypeDef, + GetAllLogDrainsDeliveryLogDrains1 +> = z.object({ + type: + GetAllLogDrainsDeliveryLogDrainsResponse200ApplicationJSONResponseBody1DrainsType$outboundSchema, + endpoint: z.string(), + encoding: GetAllLogDrainsDeliveryLogDrainsResponse200Encoding$outboundSchema, + compression: GetAllLogDrainsDeliveryCompression$outboundSchema.optional(), + headers: z.record(z.string()), + secret: z.string().optional(), +}); + +export function getAllLogDrainsDeliveryLogDrains1ToJSON( + getAllLogDrainsDeliveryLogDrains1: GetAllLogDrainsDeliveryLogDrains1, +): string { + return JSON.stringify( + GetAllLogDrainsDeliveryLogDrains1$outboundSchema.parse( + getAllLogDrainsDeliveryLogDrains1, + ), + ); +} +export function getAllLogDrainsDeliveryLogDrains1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetAllLogDrainsDeliveryLogDrains1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetAllLogDrainsDeliveryLogDrains1' from JSON`, + ); +} + +/** @internal */ +export const GetAllLogDrainsDrainsDelivery$inboundSchema: z.ZodType< + GetAllLogDrainsDrainsDelivery, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => GetAllLogDrainsDeliveryLogDrains1$inboundSchema), + z.lazy(() => GetAllLogDrainsDeliveryLogDrains2$inboundSchema), + z.lazy(() => GetAllLogDrainsDeliveryLogDrains3$inboundSchema), + z.lazy(() => GetAllLogDrainsDeliveryLogDrains4$inboundSchema), +]); +/** @internal */ +export type GetAllLogDrainsDrainsDelivery$Outbound = + | GetAllLogDrainsDeliveryLogDrains1$Outbound + | GetAllLogDrainsDeliveryLogDrains2$Outbound + | GetAllLogDrainsDeliveryLogDrains3$Outbound + | GetAllLogDrainsDeliveryLogDrains4$Outbound; + +/** @internal */ +export const GetAllLogDrainsDrainsDelivery$outboundSchema: z.ZodType< + GetAllLogDrainsDrainsDelivery$Outbound, + z.ZodTypeDef, + GetAllLogDrainsDrainsDelivery +> = z.union([ + z.lazy(() => GetAllLogDrainsDeliveryLogDrains1$outboundSchema), + z.lazy(() => GetAllLogDrainsDeliveryLogDrains2$outboundSchema), + z.lazy(() => GetAllLogDrainsDeliveryLogDrains3$outboundSchema), + z.lazy(() => GetAllLogDrainsDeliveryLogDrains4$outboundSchema), +]); + +export function getAllLogDrainsDrainsDeliveryToJSON( + getAllLogDrainsDrainsDelivery: GetAllLogDrainsDrainsDelivery, +): string { + return JSON.stringify( + GetAllLogDrainsDrainsDelivery$outboundSchema.parse( + getAllLogDrainsDrainsDelivery, + ), + ); +} +export function getAllLogDrainsDrainsDeliveryFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetAllLogDrainsDrainsDelivery$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetAllLogDrainsDrainsDelivery' from JSON`, + ); +} + +/** @internal */ +export const GetAllLogDrainsDrainsLogDrainsType$inboundSchema: z.ZodNativeEnum< + typeof GetAllLogDrainsDrainsLogDrainsType +> = z.nativeEnum(GetAllLogDrainsDrainsLogDrainsType); +/** @internal */ +export const GetAllLogDrainsDrainsLogDrainsType$outboundSchema: z.ZodNativeEnum< + typeof GetAllLogDrainsDrainsLogDrainsType +> = GetAllLogDrainsDrainsLogDrainsType$inboundSchema; + +/** @internal */ +export const GetAllLogDrainsDrainsLogDrainsEnv$inboundSchema: z.ZodNativeEnum< + typeof GetAllLogDrainsDrainsLogDrainsEnv +> = z.nativeEnum(GetAllLogDrainsDrainsLogDrainsEnv); +/** @internal */ +export const GetAllLogDrainsDrainsLogDrainsEnv$outboundSchema: z.ZodNativeEnum< + typeof GetAllLogDrainsDrainsLogDrainsEnv +> = GetAllLogDrainsDrainsLogDrainsEnv$inboundSchema; + +/** @internal */ +export const GetAllLogDrainsDrainsSampling$inboundSchema: z.ZodType< + GetAllLogDrainsDrainsSampling, + z.ZodTypeDef, + unknown +> = z.object({ + type: GetAllLogDrainsDrainsLogDrainsType$inboundSchema, + rate: z.number(), + env: GetAllLogDrainsDrainsLogDrainsEnv$inboundSchema.optional(), + requestPath: z.string().optional(), +}); +/** @internal */ +export type GetAllLogDrainsDrainsSampling$Outbound = { + type: string; + rate: number; + env?: string | undefined; + requestPath?: string | undefined; +}; + +/** @internal */ +export const GetAllLogDrainsDrainsSampling$outboundSchema: z.ZodType< + GetAllLogDrainsDrainsSampling$Outbound, + z.ZodTypeDef, + GetAllLogDrainsDrainsSampling +> = z.object({ + type: GetAllLogDrainsDrainsLogDrainsType$outboundSchema, + rate: z.number(), + env: GetAllLogDrainsDrainsLogDrainsEnv$outboundSchema.optional(), + requestPath: z.string().optional(), +}); + +export function getAllLogDrainsDrainsSamplingToJSON( + getAllLogDrainsDrainsSampling: GetAllLogDrainsDrainsSampling, +): string { + return JSON.stringify( + GetAllLogDrainsDrainsSampling$outboundSchema.parse( + getAllLogDrainsDrainsSampling, + ), + ); +} +export function getAllLogDrainsDrainsSamplingFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetAllLogDrainsDrainsSampling$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetAllLogDrainsDrainsSampling' from JSON`, + ); +} + +/** @internal */ +export const GetAllLogDrainsDrainsLogDrainsStatus$inboundSchema: + z.ZodNativeEnum = z.nativeEnum( + GetAllLogDrainsDrainsLogDrainsStatus, + ); +/** @internal */ +export const GetAllLogDrainsDrainsLogDrainsStatus$outboundSchema: + z.ZodNativeEnum = + GetAllLogDrainsDrainsLogDrainsStatus$inboundSchema; + +/** @internal */ +export const GetAllLogDrainsDrainsDisabledReason$inboundSchema: z.ZodNativeEnum< + typeof GetAllLogDrainsDrainsDisabledReason +> = z.nativeEnum(GetAllLogDrainsDrainsDisabledReason); +/** @internal */ +export const GetAllLogDrainsDrainsDisabledReason$outboundSchema: + z.ZodNativeEnum = + GetAllLogDrainsDrainsDisabledReason$inboundSchema; + +/** @internal */ +export const GetAllLogDrainsSourceLogDrainsResponse200Kind$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(GetAllLogDrainsSourceLogDrainsResponse200Kind); +/** @internal */ +export const GetAllLogDrainsSourceLogDrainsResponse200Kind$outboundSchema: + z.ZodNativeEnum = + GetAllLogDrainsSourceLogDrainsResponse200Kind$inboundSchema; + +/** @internal */ +export const GetAllLogDrainsSourceLogDrains2$inboundSchema: z.ZodType< + GetAllLogDrainsSourceLogDrains2, + z.ZodTypeDef, + unknown +> = z.object({ + kind: GetAllLogDrainsSourceLogDrainsResponse200Kind$inboundSchema, + resourceId: z.string().optional(), + externalResourceId: z.string().optional(), + integrationId: z.string(), + integrationConfigurationId: z.string(), +}); +/** @internal */ +export type GetAllLogDrainsSourceLogDrains2$Outbound = { + kind: string; + resourceId?: string | undefined; + externalResourceId?: string | undefined; + integrationId: string; + integrationConfigurationId: string; +}; + +/** @internal */ +export const GetAllLogDrainsSourceLogDrains2$outboundSchema: z.ZodType< + GetAllLogDrainsSourceLogDrains2$Outbound, + z.ZodTypeDef, + GetAllLogDrainsSourceLogDrains2 +> = z.object({ + kind: GetAllLogDrainsSourceLogDrainsResponse200Kind$outboundSchema, + resourceId: z.string().optional(), + externalResourceId: z.string().optional(), + integrationId: z.string(), + integrationConfigurationId: z.string(), +}); + +export function getAllLogDrainsSourceLogDrains2ToJSON( + getAllLogDrainsSourceLogDrains2: GetAllLogDrainsSourceLogDrains2, +): string { + return JSON.stringify( + GetAllLogDrainsSourceLogDrains2$outboundSchema.parse( + getAllLogDrainsSourceLogDrains2, + ), + ); +} +export function getAllLogDrainsSourceLogDrains2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetAllLogDrainsSourceLogDrains2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetAllLogDrainsSourceLogDrains2' from JSON`, + ); +} + +/** @internal */ +export const GetAllLogDrainsSourceLogDrainsResponseKind$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(GetAllLogDrainsSourceLogDrainsResponseKind); +/** @internal */ +export const GetAllLogDrainsSourceLogDrainsResponseKind$outboundSchema: + z.ZodNativeEnum = + GetAllLogDrainsSourceLogDrainsResponseKind$inboundSchema; + +/** @internal */ +export const GetAllLogDrainsSourceLogDrains1$inboundSchema: z.ZodType< + GetAllLogDrainsSourceLogDrains1, + z.ZodTypeDef, + unknown +> = z.object({ + kind: GetAllLogDrainsSourceLogDrainsResponseKind$inboundSchema, +}); +/** @internal */ +export type GetAllLogDrainsSourceLogDrains1$Outbound = { + kind: string; +}; + +/** @internal */ +export const GetAllLogDrainsSourceLogDrains1$outboundSchema: z.ZodType< + GetAllLogDrainsSourceLogDrains1$Outbound, + z.ZodTypeDef, + GetAllLogDrainsSourceLogDrains1 +> = z.object({ + kind: GetAllLogDrainsSourceLogDrainsResponseKind$outboundSchema, +}); + +export function getAllLogDrainsSourceLogDrains1ToJSON( + getAllLogDrainsSourceLogDrains1: GetAllLogDrainsSourceLogDrains1, +): string { + return JSON.stringify( + GetAllLogDrainsSourceLogDrains1$outboundSchema.parse( + getAllLogDrainsSourceLogDrains1, + ), + ); +} +export function getAllLogDrainsSourceLogDrains1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetAllLogDrainsSourceLogDrains1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetAllLogDrainsSourceLogDrains1' from JSON`, + ); +} + +/** @internal */ +export const GetAllLogDrainsDrainsLogDrainsSource$inboundSchema: z.ZodType< + GetAllLogDrainsDrainsLogDrainsSource, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => GetAllLogDrainsSourceLogDrains2$inboundSchema), + z.lazy(() => GetAllLogDrainsSourceLogDrains1$inboundSchema), +]); +/** @internal */ +export type GetAllLogDrainsDrainsLogDrainsSource$Outbound = + | GetAllLogDrainsSourceLogDrains2$Outbound + | GetAllLogDrainsSourceLogDrains1$Outbound; + +/** @internal */ +export const GetAllLogDrainsDrainsLogDrainsSource$outboundSchema: z.ZodType< + GetAllLogDrainsDrainsLogDrainsSource$Outbound, + z.ZodTypeDef, + GetAllLogDrainsDrainsLogDrainsSource +> = z.union([ + z.lazy(() => GetAllLogDrainsSourceLogDrains2$outboundSchema), + z.lazy(() => GetAllLogDrainsSourceLogDrains1$outboundSchema), +]); + +export function getAllLogDrainsDrainsLogDrainsSourceToJSON( + getAllLogDrainsDrainsLogDrainsSource: GetAllLogDrainsDrainsLogDrainsSource, +): string { + return JSON.stringify( + GetAllLogDrainsDrainsLogDrainsSource$outboundSchema.parse( + getAllLogDrainsDrainsLogDrainsSource, + ), + ); +} +export function getAllLogDrainsDrainsLogDrainsSourceFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + GetAllLogDrainsDrainsLogDrainsSource$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetAllLogDrainsDrainsLogDrainsSource' from JSON`, + ); +} + +/** @internal */ +export const GetAllLogDrainsFilterV2LogDrainsResponse200Version$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(GetAllLogDrainsFilterV2LogDrainsResponse200Version); +/** @internal */ +export const GetAllLogDrainsFilterV2LogDrainsResponse200Version$outboundSchema: + z.ZodNativeEnum = + GetAllLogDrainsFilterV2LogDrainsResponse200Version$inboundSchema; + +/** @internal */ +export const GetAllLogDrainsFilterType$inboundSchema: z.ZodNativeEnum< + typeof GetAllLogDrainsFilterType +> = z.nativeEnum(GetAllLogDrainsFilterType); +/** @internal */ +export const GetAllLogDrainsFilterType$outboundSchema: z.ZodNativeEnum< + typeof GetAllLogDrainsFilterType +> = GetAllLogDrainsFilterType$inboundSchema; + +/** @internal */ +export const GetAllLogDrainsFilterLogDrains2$inboundSchema: z.ZodType< + GetAllLogDrainsFilterLogDrains2, + z.ZodTypeDef, + unknown +> = z.object({ + type: GetAllLogDrainsFilterType$inboundSchema, + text: z.string(), +}); +/** @internal */ +export type GetAllLogDrainsFilterLogDrains2$Outbound = { + type: string; + text: string; +}; + +/** @internal */ +export const GetAllLogDrainsFilterLogDrains2$outboundSchema: z.ZodType< + GetAllLogDrainsFilterLogDrains2$Outbound, + z.ZodTypeDef, + GetAllLogDrainsFilterLogDrains2 +> = z.object({ + type: GetAllLogDrainsFilterType$outboundSchema, + text: z.string(), +}); + +export function getAllLogDrainsFilterLogDrains2ToJSON( + getAllLogDrainsFilterLogDrains2: GetAllLogDrainsFilterLogDrains2, +): string { + return JSON.stringify( + GetAllLogDrainsFilterLogDrains2$outboundSchema.parse( + getAllLogDrainsFilterLogDrains2, + ), + ); +} +export function getAllLogDrainsFilterLogDrains2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetAllLogDrainsFilterLogDrains2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetAllLogDrainsFilterLogDrains2' from JSON`, + ); +} + +/** @internal */ +export const GetAllLogDrainsFilterLogDrainsResponse200Type$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(GetAllLogDrainsFilterLogDrainsResponse200Type); +/** @internal */ +export const GetAllLogDrainsFilterLogDrainsResponse200Type$outboundSchema: + z.ZodNativeEnum = + GetAllLogDrainsFilterLogDrainsResponse200Type$inboundSchema; + +/** @internal */ +export const GetAllLogDrainsFilterLogDrainsProject$inboundSchema: z.ZodType< + GetAllLogDrainsFilterLogDrainsProject, + z.ZodTypeDef, + unknown +> = z.object({ + ids: z.array(z.string()).optional(), +}); +/** @internal */ +export type GetAllLogDrainsFilterLogDrainsProject$Outbound = { + ids?: Array | undefined; +}; + +/** @internal */ +export const GetAllLogDrainsFilterLogDrainsProject$outboundSchema: z.ZodType< + GetAllLogDrainsFilterLogDrainsProject$Outbound, + z.ZodTypeDef, + GetAllLogDrainsFilterLogDrainsProject +> = z.object({ + ids: z.array(z.string()).optional(), +}); + +export function getAllLogDrainsFilterLogDrainsProjectToJSON( + getAllLogDrainsFilterLogDrainsProject: GetAllLogDrainsFilterLogDrainsProject, +): string { + return JSON.stringify( + GetAllLogDrainsFilterLogDrainsProject$outboundSchema.parse( + getAllLogDrainsFilterLogDrainsProject, + ), + ); +} +export function getAllLogDrainsFilterLogDrainsProjectFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + GetAllLogDrainsFilterLogDrainsProject$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetAllLogDrainsFilterLogDrainsProject' from JSON`, + ); +} + +/** @internal */ +export const GetAllLogDrainsFilterSources$inboundSchema: z.ZodNativeEnum< + typeof GetAllLogDrainsFilterSources +> = z.nativeEnum(GetAllLogDrainsFilterSources); +/** @internal */ +export const GetAllLogDrainsFilterSources$outboundSchema: z.ZodNativeEnum< + typeof GetAllLogDrainsFilterSources +> = GetAllLogDrainsFilterSources$inboundSchema; + +/** @internal */ +export const GetAllLogDrainsFilterLogDrainsLog$inboundSchema: z.ZodType< + GetAllLogDrainsFilterLogDrainsLog, + z.ZodTypeDef, + unknown +> = z.object({ + sources: z.array(GetAllLogDrainsFilterSources$inboundSchema).optional(), + legacy_excludeCachedStaticAssetLogs: z.boolean().optional(), +}).transform((v) => { + return remap$(v, { + "legacy_excludeCachedStaticAssetLogs": "legacyExcludeCachedStaticAssetLogs", + }); +}); +/** @internal */ +export type GetAllLogDrainsFilterLogDrainsLog$Outbound = { + sources?: Array | undefined; + legacy_excludeCachedStaticAssetLogs?: boolean | undefined; +}; + +/** @internal */ +export const GetAllLogDrainsFilterLogDrainsLog$outboundSchema: z.ZodType< + GetAllLogDrainsFilterLogDrainsLog$Outbound, + z.ZodTypeDef, + GetAllLogDrainsFilterLogDrainsLog +> = z.object({ + sources: z.array(GetAllLogDrainsFilterSources$outboundSchema).optional(), + legacyExcludeCachedStaticAssetLogs: z.boolean().optional(), +}).transform((v) => { + return remap$(v, { + legacyExcludeCachedStaticAssetLogs: "legacy_excludeCachedStaticAssetLogs", + }); +}); + +export function getAllLogDrainsFilterLogDrainsLogToJSON( + getAllLogDrainsFilterLogDrainsLog: GetAllLogDrainsFilterLogDrainsLog, +): string { + return JSON.stringify( + GetAllLogDrainsFilterLogDrainsLog$outboundSchema.parse( + getAllLogDrainsFilterLogDrainsLog, + ), + ); +} +export function getAllLogDrainsFilterLogDrainsLogFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetAllLogDrainsFilterLogDrainsLog$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetAllLogDrainsFilterLogDrainsLog' from JSON`, + ); +} + +/** @internal */ +export const GetAllLogDrainsFilterEnvironments$inboundSchema: z.ZodNativeEnum< + typeof GetAllLogDrainsFilterEnvironments +> = z.nativeEnum(GetAllLogDrainsFilterEnvironments); +/** @internal */ +export const GetAllLogDrainsFilterEnvironments$outboundSchema: z.ZodNativeEnum< + typeof GetAllLogDrainsFilterEnvironments +> = GetAllLogDrainsFilterEnvironments$inboundSchema; + +/** @internal */ +export const GetAllLogDrainsFilterDeployment$inboundSchema: z.ZodType< + GetAllLogDrainsFilterDeployment, + z.ZodTypeDef, + unknown +> = z.object({ + environments: z.array(GetAllLogDrainsFilterEnvironments$inboundSchema) + .optional(), +}); +/** @internal */ +export type GetAllLogDrainsFilterDeployment$Outbound = { + environments?: Array | undefined; +}; + +/** @internal */ +export const GetAllLogDrainsFilterDeployment$outboundSchema: z.ZodType< + GetAllLogDrainsFilterDeployment$Outbound, + z.ZodTypeDef, + GetAllLogDrainsFilterDeployment +> = z.object({ + environments: z.array(GetAllLogDrainsFilterEnvironments$outboundSchema) + .optional(), +}); + +export function getAllLogDrainsFilterDeploymentToJSON( + getAllLogDrainsFilterDeployment: GetAllLogDrainsFilterDeployment, +): string { + return JSON.stringify( + GetAllLogDrainsFilterDeployment$outboundSchema.parse( + getAllLogDrainsFilterDeployment, + ), + ); +} +export function getAllLogDrainsFilterDeploymentFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetAllLogDrainsFilterDeployment$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetAllLogDrainsFilterDeployment' from JSON`, + ); +} + +/** @internal */ +export const GetAllLogDrainsFilterLogDrains1$inboundSchema: z.ZodType< + GetAllLogDrainsFilterLogDrains1, + z.ZodTypeDef, + unknown +> = z.object({ + type: GetAllLogDrainsFilterLogDrainsResponse200Type$inboundSchema, + project: z.lazy(() => GetAllLogDrainsFilterLogDrainsProject$inboundSchema) + .optional(), + log: z.lazy(() => GetAllLogDrainsFilterLogDrainsLog$inboundSchema).optional(), + deployment: z.lazy(() => GetAllLogDrainsFilterDeployment$inboundSchema) + .optional(), +}); +/** @internal */ +export type GetAllLogDrainsFilterLogDrains1$Outbound = { + type: string; + project?: GetAllLogDrainsFilterLogDrainsProject$Outbound | undefined; + log?: GetAllLogDrainsFilterLogDrainsLog$Outbound | undefined; + deployment?: GetAllLogDrainsFilterDeployment$Outbound | undefined; +}; + +/** @internal */ +export const GetAllLogDrainsFilterLogDrains1$outboundSchema: z.ZodType< + GetAllLogDrainsFilterLogDrains1$Outbound, + z.ZodTypeDef, + GetAllLogDrainsFilterLogDrains1 +> = z.object({ + type: GetAllLogDrainsFilterLogDrainsResponse200Type$outboundSchema, + project: z.lazy(() => GetAllLogDrainsFilterLogDrainsProject$outboundSchema) + .optional(), + log: z.lazy(() => GetAllLogDrainsFilterLogDrainsLog$outboundSchema) + .optional(), + deployment: z.lazy(() => GetAllLogDrainsFilterDeployment$outboundSchema) + .optional(), +}); + +export function getAllLogDrainsFilterLogDrains1ToJSON( + getAllLogDrainsFilterLogDrains1: GetAllLogDrainsFilterLogDrains1, +): string { + return JSON.stringify( + GetAllLogDrainsFilterLogDrains1$outboundSchema.parse( + getAllLogDrainsFilterLogDrains1, + ), + ); +} +export function getAllLogDrainsFilterLogDrains1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetAllLogDrainsFilterLogDrains1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetAllLogDrainsFilterLogDrains1' from JSON`, + ); +} + +/** @internal */ +export const GetAllLogDrainsFilterV2Filter$inboundSchema: z.ZodType< + GetAllLogDrainsFilterV2Filter, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => GetAllLogDrainsFilterLogDrains2$inboundSchema), + z.lazy(() => GetAllLogDrainsFilterLogDrains1$inboundSchema), +]); +/** @internal */ +export type GetAllLogDrainsFilterV2Filter$Outbound = + | GetAllLogDrainsFilterLogDrains2$Outbound + | GetAllLogDrainsFilterLogDrains1$Outbound; + +/** @internal */ +export const GetAllLogDrainsFilterV2Filter$outboundSchema: z.ZodType< + GetAllLogDrainsFilterV2Filter$Outbound, + z.ZodTypeDef, + GetAllLogDrainsFilterV2Filter +> = z.union([ + z.lazy(() => GetAllLogDrainsFilterLogDrains2$outboundSchema), + z.lazy(() => GetAllLogDrainsFilterLogDrains1$outboundSchema), +]); + +export function getAllLogDrainsFilterV2FilterToJSON( + getAllLogDrainsFilterV2Filter: GetAllLogDrainsFilterV2Filter, +): string { + return JSON.stringify( + GetAllLogDrainsFilterV2Filter$outboundSchema.parse( + getAllLogDrainsFilterV2Filter, + ), + ); +} +export function getAllLogDrainsFilterV2FilterFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetAllLogDrainsFilterV2Filter$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetAllLogDrainsFilterV2Filter' from JSON`, + ); +} + +/** @internal */ +export const GetAllLogDrainsFilterV2LogDrains2$inboundSchema: z.ZodType< + GetAllLogDrainsFilterV2LogDrains2, + z.ZodTypeDef, + unknown +> = z.object({ + version: GetAllLogDrainsFilterV2LogDrainsResponse200Version$inboundSchema, + filter: z.union([ + z.lazy(() => GetAllLogDrainsFilterLogDrains2$inboundSchema), + z.lazy(() => GetAllLogDrainsFilterLogDrains1$inboundSchema), + ]), +}); +/** @internal */ +export type GetAllLogDrainsFilterV2LogDrains2$Outbound = { + version: string; + filter: + | GetAllLogDrainsFilterLogDrains2$Outbound + | GetAllLogDrainsFilterLogDrains1$Outbound; +}; + +/** @internal */ +export const GetAllLogDrainsFilterV2LogDrains2$outboundSchema: z.ZodType< + GetAllLogDrainsFilterV2LogDrains2$Outbound, + z.ZodTypeDef, + GetAllLogDrainsFilterV2LogDrains2 +> = z.object({ + version: GetAllLogDrainsFilterV2LogDrainsResponse200Version$outboundSchema, + filter: z.union([ + z.lazy(() => GetAllLogDrainsFilterLogDrains2$outboundSchema), + z.lazy(() => GetAllLogDrainsFilterLogDrains1$outboundSchema), + ]), +}); + +export function getAllLogDrainsFilterV2LogDrains2ToJSON( + getAllLogDrainsFilterV2LogDrains2: GetAllLogDrainsFilterV2LogDrains2, +): string { + return JSON.stringify( + GetAllLogDrainsFilterV2LogDrains2$outboundSchema.parse( + getAllLogDrainsFilterV2LogDrains2, + ), + ); +} +export function getAllLogDrainsFilterV2LogDrains2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetAllLogDrainsFilterV2LogDrains2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetAllLogDrainsFilterV2LogDrains2' from JSON`, + ); +} + +/** @internal */ +export const GetAllLogDrainsFilterV2LogDrainsResponseVersion$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(GetAllLogDrainsFilterV2LogDrainsResponseVersion); +/** @internal */ +export const GetAllLogDrainsFilterV2LogDrainsResponseVersion$outboundSchema: + z.ZodNativeEnum = + GetAllLogDrainsFilterV2LogDrainsResponseVersion$inboundSchema; + +/** @internal */ +export const GetAllLogDrainsFilterV2LogDrains1$inboundSchema: z.ZodType< + GetAllLogDrainsFilterV2LogDrains1, + z.ZodTypeDef, + unknown +> = z.object({ + version: GetAllLogDrainsFilterV2LogDrainsResponseVersion$inboundSchema, +}); +/** @internal */ +export type GetAllLogDrainsFilterV2LogDrains1$Outbound = { + version: string; +}; + +/** @internal */ +export const GetAllLogDrainsFilterV2LogDrains1$outboundSchema: z.ZodType< + GetAllLogDrainsFilterV2LogDrains1$Outbound, + z.ZodTypeDef, + GetAllLogDrainsFilterV2LogDrains1 +> = z.object({ + version: GetAllLogDrainsFilterV2LogDrainsResponseVersion$outboundSchema, +}); + +export function getAllLogDrainsFilterV2LogDrains1ToJSON( + getAllLogDrainsFilterV2LogDrains1: GetAllLogDrainsFilterV2LogDrains1, +): string { + return JSON.stringify( + GetAllLogDrainsFilterV2LogDrains1$outboundSchema.parse( + getAllLogDrainsFilterV2LogDrains1, + ), + ); +} +export function getAllLogDrainsFilterV2LogDrains1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetAllLogDrainsFilterV2LogDrains1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetAllLogDrainsFilterV2LogDrains1' from JSON`, + ); +} + +/** @internal */ +export const GetAllLogDrainsDrainsFilterV2$inboundSchema: z.ZodType< + GetAllLogDrainsDrainsFilterV2, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => GetAllLogDrainsFilterV2LogDrains2$inboundSchema), + z.lazy(() => GetAllLogDrainsFilterV2LogDrains1$inboundSchema), +]); +/** @internal */ +export type GetAllLogDrainsDrainsFilterV2$Outbound = + | GetAllLogDrainsFilterV2LogDrains2$Outbound + | GetAllLogDrainsFilterV2LogDrains1$Outbound; + +/** @internal */ +export const GetAllLogDrainsDrainsFilterV2$outboundSchema: z.ZodType< + GetAllLogDrainsDrainsFilterV2$Outbound, + z.ZodTypeDef, + GetAllLogDrainsDrainsFilterV2 +> = z.union([ + z.lazy(() => GetAllLogDrainsFilterV2LogDrains2$outboundSchema), + z.lazy(() => GetAllLogDrainsFilterV2LogDrains1$outboundSchema), +]); + +export function getAllLogDrainsDrainsFilterV2ToJSON( + getAllLogDrainsDrainsFilterV2: GetAllLogDrainsDrainsFilterV2, +): string { + return JSON.stringify( + GetAllLogDrainsDrainsFilterV2$outboundSchema.parse( + getAllLogDrainsDrainsFilterV2, + ), + ); +} +export function getAllLogDrainsDrainsFilterV2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetAllLogDrainsDrainsFilterV2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetAllLogDrainsDrainsFilterV2' from JSON`, + ); +} + +/** @internal */ +export const GetAllLogDrainsDrains1$inboundSchema: z.ZodType< + GetAllLogDrainsDrains1, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + ownerId: z.string(), + name: z.string(), + createdAt: z.number(), + createdFrom: GetAllLogDrainsDrainsCreatedFrom$inboundSchema.optional(), + updatedAt: z.number(), + projectIds: z.array(z.string()).optional(), + schemas: z.lazy(() => GetAllLogDrainsDrainsSchemas$inboundSchema).optional(), + delivery: z.union([ + z.lazy(() => GetAllLogDrainsDeliveryLogDrains1$inboundSchema), + z.lazy(() => GetAllLogDrainsDeliveryLogDrains2$inboundSchema), + z.lazy(() => GetAllLogDrainsDeliveryLogDrains3$inboundSchema), + z.lazy(() => GetAllLogDrainsDeliveryLogDrains4$inboundSchema), + ]).optional(), + sampling: z.array(z.lazy(() => GetAllLogDrainsDrainsSampling$inboundSchema)) + .optional(), + teamId: z.nullable(z.string()).optional(), + status: GetAllLogDrainsDrainsLogDrainsStatus$inboundSchema.optional(), + disabledAt: z.number().optional(), + disabledReason: GetAllLogDrainsDrainsDisabledReason$inboundSchema.optional(), + disabledBy: z.string().optional(), + firstErrorTimestamp: z.number().optional(), + configurationId: z.string().optional(), + clientId: z.string().optional(), + source: z.union([ + z.lazy(() => GetAllLogDrainsSourceLogDrains2$inboundSchema), + z.lazy(() => GetAllLogDrainsSourceLogDrains1$inboundSchema), + ]), + filter: z.string().optional(), + filterV2: z.union([ + z.lazy(() => GetAllLogDrainsFilterV2LogDrains2$inboundSchema), + z.lazy(() => GetAllLogDrainsFilterV2LogDrains1$inboundSchema), + ]).optional(), +}); +/** @internal */ +export type GetAllLogDrainsDrains1$Outbound = { + id: string; + ownerId: string; + name: string; + createdAt: number; + createdFrom?: string | undefined; + updatedAt: number; + projectIds?: Array | undefined; + schemas?: GetAllLogDrainsDrainsSchemas$Outbound | undefined; + delivery?: + | GetAllLogDrainsDeliveryLogDrains1$Outbound + | GetAllLogDrainsDeliveryLogDrains2$Outbound + | GetAllLogDrainsDeliveryLogDrains3$Outbound + | GetAllLogDrainsDeliveryLogDrains4$Outbound + | undefined; + sampling?: Array | undefined; + teamId?: string | null | undefined; + status?: string | undefined; + disabledAt?: number | undefined; + disabledReason?: string | undefined; + disabledBy?: string | undefined; + firstErrorTimestamp?: number | undefined; + configurationId?: string | undefined; + clientId?: string | undefined; + source: + | GetAllLogDrainsSourceLogDrains2$Outbound + | GetAllLogDrainsSourceLogDrains1$Outbound; + filter?: string | undefined; + filterV2?: + | GetAllLogDrainsFilterV2LogDrains2$Outbound + | GetAllLogDrainsFilterV2LogDrains1$Outbound + | undefined; +}; + +/** @internal */ +export const GetAllLogDrainsDrains1$outboundSchema: z.ZodType< + GetAllLogDrainsDrains1$Outbound, + z.ZodTypeDef, + GetAllLogDrainsDrains1 +> = z.object({ + id: z.string(), + ownerId: z.string(), + name: z.string(), + createdAt: z.number(), + createdFrom: GetAllLogDrainsDrainsCreatedFrom$outboundSchema.optional(), + updatedAt: z.number(), + projectIds: z.array(z.string()).optional(), + schemas: z.lazy(() => GetAllLogDrainsDrainsSchemas$outboundSchema).optional(), + delivery: z.union([ + z.lazy(() => GetAllLogDrainsDeliveryLogDrains1$outboundSchema), + z.lazy(() => GetAllLogDrainsDeliveryLogDrains2$outboundSchema), + z.lazy(() => GetAllLogDrainsDeliveryLogDrains3$outboundSchema), + z.lazy(() => GetAllLogDrainsDeliveryLogDrains4$outboundSchema), + ]).optional(), + sampling: z.array(z.lazy(() => GetAllLogDrainsDrainsSampling$outboundSchema)) + .optional(), + teamId: z.nullable(z.string()).optional(), + status: GetAllLogDrainsDrainsLogDrainsStatus$outboundSchema.optional(), + disabledAt: z.number().optional(), + disabledReason: GetAllLogDrainsDrainsDisabledReason$outboundSchema.optional(), + disabledBy: z.string().optional(), + firstErrorTimestamp: z.number().optional(), + configurationId: z.string().optional(), + clientId: z.string().optional(), + source: z.union([ + z.lazy(() => GetAllLogDrainsSourceLogDrains2$outboundSchema), + z.lazy(() => GetAllLogDrainsSourceLogDrains1$outboundSchema), + ]), + filter: z.string().optional(), + filterV2: z.union([ + z.lazy(() => GetAllLogDrainsFilterV2LogDrains2$outboundSchema), + z.lazy(() => GetAllLogDrainsFilterV2LogDrains1$outboundSchema), + ]).optional(), +}); + +export function getAllLogDrainsDrains1ToJSON( + getAllLogDrainsDrains1: GetAllLogDrainsDrains1, +): string { + return JSON.stringify( + GetAllLogDrainsDrains1$outboundSchema.parse(getAllLogDrainsDrains1), + ); +} +export function getAllLogDrainsDrains1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetAllLogDrainsDrains1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetAllLogDrainsDrains1' from JSON`, + ); +} + +/** @internal */ +export const ResponseBodyDrains$inboundSchema: z.ZodType< + ResponseBodyDrains, + z.ZodTypeDef, + unknown +> = z.union([ + z.array(z.lazy(() => GetAllLogDrainsDrains1$inboundSchema)), + z.array(z.lazy(() => GetAllLogDrainsDrains2$inboundSchema)), +]); +/** @internal */ +export type ResponseBodyDrains$Outbound = + | Array + | Array; + +/** @internal */ +export const ResponseBodyDrains$outboundSchema: z.ZodType< + ResponseBodyDrains$Outbound, + z.ZodTypeDef, + ResponseBodyDrains +> = z.union([ + z.array(z.lazy(() => GetAllLogDrainsDrains1$outboundSchema)), + z.array(z.lazy(() => GetAllLogDrainsDrains2$outboundSchema)), +]); + +export function responseBodyDrainsToJSON( + responseBodyDrains: ResponseBodyDrains, +): string { + return JSON.stringify( + ResponseBodyDrains$outboundSchema.parse(responseBodyDrains), + ); +} +export function responseBodyDrainsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ResponseBodyDrains$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ResponseBodyDrains' from JSON`, + ); +} + +/** @internal */ +export const GetAllLogDrainsResponseBody1$inboundSchema: z.ZodType< + GetAllLogDrainsResponseBody1, + z.ZodTypeDef, + unknown +> = z.object({ + drains: z.union([ + z.array(z.lazy(() => GetAllLogDrainsDrains1$inboundSchema)), + z.array(z.lazy(() => GetAllLogDrainsDrains2$inboundSchema)), + ]), +}); +/** @internal */ +export type GetAllLogDrainsResponseBody1$Outbound = { + drains: + | Array + | Array; +}; + +/** @internal */ +export const GetAllLogDrainsResponseBody1$outboundSchema: z.ZodType< + GetAllLogDrainsResponseBody1$Outbound, + z.ZodTypeDef, + GetAllLogDrainsResponseBody1 +> = z.object({ + drains: z.union([ + z.array(z.lazy(() => GetAllLogDrainsDrains1$outboundSchema)), + z.array(z.lazy(() => GetAllLogDrainsDrains2$outboundSchema)), + ]), +}); + +export function getAllLogDrainsResponseBody1ToJSON( + getAllLogDrainsResponseBody1: GetAllLogDrainsResponseBody1, +): string { + return JSON.stringify( + GetAllLogDrainsResponseBody1$outboundSchema.parse( + getAllLogDrainsResponseBody1, + ), + ); +} +export function getAllLogDrainsResponseBody1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetAllLogDrainsResponseBody1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetAllLogDrainsResponseBody1' from JSON`, + ); +} + +/** @internal */ +export const GetAllLogDrainsResponseBody$inboundSchema: z.ZodType< + GetAllLogDrainsResponseBody, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => GetAllLogDrainsResponseBody1$inboundSchema), + z.array(z.lazy(() => GetAllLogDrainsResponseBody2$inboundSchema)), +]); +/** @internal */ +export type GetAllLogDrainsResponseBody$Outbound = + | GetAllLogDrainsResponseBody1$Outbound + | Array; + +/** @internal */ +export const GetAllLogDrainsResponseBody$outboundSchema: z.ZodType< + GetAllLogDrainsResponseBody$Outbound, + z.ZodTypeDef, + GetAllLogDrainsResponseBody +> = z.union([ + z.lazy(() => GetAllLogDrainsResponseBody1$outboundSchema), + z.array(z.lazy(() => GetAllLogDrainsResponseBody2$outboundSchema)), +]); + +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 index 96e41e5b4..195e394bf 100644 --- a/src/models/getauthtokenop.ts +++ b/src/models/getauthtokenop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { @@ -38,7 +38,6 @@ export const GetAuthTokenRequest$inboundSchema: z.ZodType< > = z.object({ tokenId: z.string(), }); - /** @internal */ export type GetAuthTokenRequest$Outbound = { tokenId: string; @@ -53,19 +52,6 @@ export const GetAuthTokenRequest$outboundSchema: z.ZodType< 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 { @@ -73,7 +59,6 @@ export function getAuthTokenRequestToJSON( GetAuthTokenRequest$outboundSchema.parse(getAuthTokenRequest), ); } - export function getAuthTokenRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -92,7 +77,6 @@ export const GetAuthTokenResponseBody$inboundSchema: z.ZodType< > = z.object({ token: AuthToken$inboundSchema, }); - /** @internal */ export type GetAuthTokenResponseBody$Outbound = { token: AuthToken$Outbound; @@ -107,19 +91,6 @@ export const GetAuthTokenResponseBody$outboundSchema: z.ZodType< 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 { @@ -127,7 +98,6 @@ export function getAuthTokenResponseBodyToJSON( GetAuthTokenResponseBody$outboundSchema.parse(getAuthTokenResponseBody), ); } - export function getAuthTokenResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/getauthuserop.ts b/src/models/getauthuserop.ts index 6a7f59cc2..b46eead48 100644 --- a/src/models/getauthuserop.ts +++ b/src/models/getauthuserop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { @@ -34,7 +34,6 @@ export const GetAuthUserUser$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.union([AuthUser$inboundSchema, AuthUserLimited$inboundSchema]); - /** @internal */ export type GetAuthUserUser$Outbound = | AuthUser$Outbound @@ -47,25 +46,11 @@ export const GetAuthUserUser$outboundSchema: z.ZodType< GetAuthUserUser > = z.union([AuthUser$outboundSchema, AuthUserLimited$outboundSchema]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetAuthUserUser$ { - /** @deprecated use `GetAuthUserUser$inboundSchema` instead. */ - export const inboundSchema = GetAuthUserUser$inboundSchema; - /** @deprecated use `GetAuthUserUser$outboundSchema` instead. */ - export const outboundSchema = GetAuthUserUser$outboundSchema; - /** @deprecated use `GetAuthUserUser$Outbound` instead. */ - export type Outbound = GetAuthUserUser$Outbound; -} - export function getAuthUserUserToJSON( getAuthUserUser: GetAuthUserUser, ): string { return JSON.stringify(GetAuthUserUser$outboundSchema.parse(getAuthUserUser)); } - export function getAuthUserUserFromJSON( jsonString: string, ): SafeParseResult { @@ -84,7 +69,6 @@ export const GetAuthUserResponseBody$inboundSchema: z.ZodType< > = z.object({ user: z.union([AuthUser$inboundSchema, AuthUserLimited$inboundSchema]), }); - /** @internal */ export type GetAuthUserResponseBody$Outbound = { user: AuthUser$Outbound | AuthUserLimited$Outbound; @@ -99,19 +83,6 @@ export const GetAuthUserResponseBody$outboundSchema: z.ZodType< user: z.union([AuthUser$outboundSchema, AuthUserLimited$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 { @@ -119,7 +90,6 @@ export function getAuthUserResponseBodyToJSON( GetAuthUserResponseBody$outboundSchema.parse(getAuthUserResponseBody), ); } - export function getAuthUserResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/getbillingplansop.ts b/src/models/getbillingplansop.ts index ae5ccd9df..22314910f 100644 --- a/src/models/getbillingplansop.ts +++ b/src/models/getbillingplansop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; @@ -85,7 +85,6 @@ export const GetBillingPlansRequest$inboundSchema: z.ZodType< teamId: z.string().optional(), slug: z.string().optional(), }); - /** @internal */ export type GetBillingPlansRequest$Outbound = { integrationIdOrSlug: string; @@ -108,19 +107,6 @@ export const GetBillingPlansRequest$outboundSchema: z.ZodType< 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 GetBillingPlansRequest$ { - /** @deprecated use `GetBillingPlansRequest$inboundSchema` instead. */ - export const inboundSchema = GetBillingPlansRequest$inboundSchema; - /** @deprecated use `GetBillingPlansRequest$outboundSchema` instead. */ - export const outboundSchema = GetBillingPlansRequest$outboundSchema; - /** @deprecated use `GetBillingPlansRequest$Outbound` instead. */ - export type Outbound = GetBillingPlansRequest$Outbound; -} - export function getBillingPlansRequestToJSON( getBillingPlansRequest: GetBillingPlansRequest, ): string { @@ -128,7 +114,6 @@ export function getBillingPlansRequestToJSON( GetBillingPlansRequest$outboundSchema.parse(getBillingPlansRequest), ); } - export function getBillingPlansRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -143,44 +128,20 @@ export function getBillingPlansRequestFromJSON( export const GetBillingPlansType$inboundSchema: z.ZodNativeEnum< typeof GetBillingPlansType > = z.nativeEnum(GetBillingPlansType); - /** @internal */ export const GetBillingPlansType$outboundSchema: z.ZodNativeEnum< typeof GetBillingPlansType > = GetBillingPlansType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetBillingPlansType$ { - /** @deprecated use `GetBillingPlansType$inboundSchema` instead. */ - export const inboundSchema = GetBillingPlansType$inboundSchema; - /** @deprecated use `GetBillingPlansType$outboundSchema` instead. */ - export const outboundSchema = GetBillingPlansType$outboundSchema; -} - /** @internal */ export const GetBillingPlansScope$inboundSchema: z.ZodNativeEnum< typeof GetBillingPlansScope > = z.nativeEnum(GetBillingPlansScope); - /** @internal */ export const GetBillingPlansScope$outboundSchema: z.ZodNativeEnum< typeof GetBillingPlansScope > = GetBillingPlansScope$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetBillingPlansScope$ { - /** @deprecated use `GetBillingPlansScope$inboundSchema` instead. */ - export const inboundSchema = GetBillingPlansScope$inboundSchema; - /** @deprecated use `GetBillingPlansScope$outboundSchema` instead. */ - export const outboundSchema = GetBillingPlansScope$outboundSchema; -} - /** @internal */ export const GetBillingPlansDetails$inboundSchema: z.ZodType< GetBillingPlansDetails, @@ -190,7 +151,6 @@ export const GetBillingPlansDetails$inboundSchema: z.ZodType< label: z.string(), value: z.string().optional(), }); - /** @internal */ export type GetBillingPlansDetails$Outbound = { label: string; @@ -207,19 +167,6 @@ export const GetBillingPlansDetails$outboundSchema: z.ZodType< 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 GetBillingPlansDetails$ { - /** @deprecated use `GetBillingPlansDetails$inboundSchema` instead. */ - export const inboundSchema = GetBillingPlansDetails$inboundSchema; - /** @deprecated use `GetBillingPlansDetails$outboundSchema` instead. */ - export const outboundSchema = GetBillingPlansDetails$outboundSchema; - /** @deprecated use `GetBillingPlansDetails$Outbound` instead. */ - export type Outbound = GetBillingPlansDetails$Outbound; -} - export function getBillingPlansDetailsToJSON( getBillingPlansDetails: GetBillingPlansDetails, ): string { @@ -227,7 +174,6 @@ export function getBillingPlansDetailsToJSON( GetBillingPlansDetails$outboundSchema.parse(getBillingPlansDetails), ); } - export function getBillingPlansDetailsFromJSON( jsonString: string, ): SafeParseResult { @@ -247,7 +193,6 @@ export const GetBillingPlansHighlightedDetails$inboundSchema: z.ZodType< label: z.string(), value: z.string().optional(), }); - /** @internal */ export type GetBillingPlansHighlightedDetails$Outbound = { label: string; @@ -264,20 +209,6 @@ export const GetBillingPlansHighlightedDetails$outboundSchema: z.ZodType< 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 GetBillingPlansHighlightedDetails$ { - /** @deprecated use `GetBillingPlansHighlightedDetails$inboundSchema` instead. */ - export const inboundSchema = GetBillingPlansHighlightedDetails$inboundSchema; - /** @deprecated use `GetBillingPlansHighlightedDetails$outboundSchema` instead. */ - export const outboundSchema = - GetBillingPlansHighlightedDetails$outboundSchema; - /** @deprecated use `GetBillingPlansHighlightedDetails$Outbound` instead. */ - export type Outbound = GetBillingPlansHighlightedDetails$Outbound; -} - export function getBillingPlansHighlightedDetailsToJSON( getBillingPlansHighlightedDetails: GetBillingPlansHighlightedDetails, ): string { @@ -287,7 +218,6 @@ export function getBillingPlansHighlightedDetailsToJSON( ), ); } - export function getBillingPlansHighlightedDetailsFromJSON( jsonString: string, ): SafeParseResult { @@ -304,7 +234,6 @@ export const Quote$inboundSchema: z.ZodType = z line: z.string(), amount: z.string(), }); - /** @internal */ export type Quote$Outbound = { line: string; @@ -321,23 +250,9 @@ export const Quote$outboundSchema: z.ZodType< 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 { @@ -372,7 +287,6 @@ export const Plans$inboundSchema: z.ZodType = z effectiveDate: z.string().optional(), disabled: z.boolean().optional(), }); - /** @internal */ export type Plans$Outbound = { type: string; @@ -424,23 +338,9 @@ export const Plans$outboundSchema: z.ZodType< 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 Plans$ { - /** @deprecated use `Plans$inboundSchema` instead. */ - export const inboundSchema = Plans$inboundSchema; - /** @deprecated use `Plans$outboundSchema` instead. */ - export const outboundSchema = Plans$outboundSchema; - /** @deprecated use `Plans$Outbound` instead. */ - export type Outbound = Plans$Outbound; -} - export function plansToJSON(plans: Plans): string { return JSON.stringify(Plans$outboundSchema.parse(plans)); } - export function plansFromJSON( jsonString: string, ): SafeParseResult { @@ -459,7 +359,6 @@ export const GetBillingPlansResponseBody$inboundSchema: z.ZodType< > = z.object({ plans: z.array(z.lazy(() => Plans$inboundSchema)), }); - /** @internal */ export type GetBillingPlansResponseBody$Outbound = { plans: Array; @@ -474,19 +373,6 @@ export const GetBillingPlansResponseBody$outboundSchema: z.ZodType< plans: z.array(z.lazy(() => Plans$outboundSchema)), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetBillingPlansResponseBody$ { - /** @deprecated use `GetBillingPlansResponseBody$inboundSchema` instead. */ - export const inboundSchema = GetBillingPlansResponseBody$inboundSchema; - /** @deprecated use `GetBillingPlansResponseBody$outboundSchema` instead. */ - export const outboundSchema = GetBillingPlansResponseBody$outboundSchema; - /** @deprecated use `GetBillingPlansResponseBody$Outbound` instead. */ - export type Outbound = GetBillingPlansResponseBody$Outbound; -} - export function getBillingPlansResponseBodyToJSON( getBillingPlansResponseBody: GetBillingPlansResponseBody, ): string { @@ -496,7 +382,6 @@ export function getBillingPlansResponseBodyToJSON( ), ); } - export function getBillingPlansResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/getbulkavailabilityop.ts b/src/models/getbulkavailabilityop.ts new file mode 100644 index 000000000..47c2dc9e5 --- /dev/null +++ b/src/models/getbulkavailabilityop.ts @@ -0,0 +1,200 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +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 GetBulkAvailabilityRequestBody = { + /** + * an array of at most 50 item(s) + */ + domains: Array; +}; + +export type GetBulkAvailabilityRequest = { + teamId?: string | undefined; + requestBody: GetBulkAvailabilityRequestBody; +}; + +export type Results = { + domain: string; + available: boolean; +}; + +/** + * Success + */ +export type GetBulkAvailabilityResponseBody = { + results: Array; +}; + +/** @internal */ +export const GetBulkAvailabilityRequestBody$inboundSchema: z.ZodType< + GetBulkAvailabilityRequestBody, + z.ZodTypeDef, + unknown +> = z.object({ + domains: z.array(z.string()), +}); +/** @internal */ +export type GetBulkAvailabilityRequestBody$Outbound = { + domains: Array; +}; + +/** @internal */ +export const GetBulkAvailabilityRequestBody$outboundSchema: z.ZodType< + GetBulkAvailabilityRequestBody$Outbound, + z.ZodTypeDef, + GetBulkAvailabilityRequestBody +> = z.object({ + domains: z.array(z.string()), +}); + +export function getBulkAvailabilityRequestBodyToJSON( + getBulkAvailabilityRequestBody: GetBulkAvailabilityRequestBody, +): string { + return JSON.stringify( + GetBulkAvailabilityRequestBody$outboundSchema.parse( + getBulkAvailabilityRequestBody, + ), + ); +} +export function getBulkAvailabilityRequestBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetBulkAvailabilityRequestBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetBulkAvailabilityRequestBody' from JSON`, + ); +} + +/** @internal */ +export const GetBulkAvailabilityRequest$inboundSchema: z.ZodType< + GetBulkAvailabilityRequest, + z.ZodTypeDef, + unknown +> = z.object({ + teamId: z.string().optional(), + RequestBody: z.lazy(() => GetBulkAvailabilityRequestBody$inboundSchema), +}).transform((v) => { + return remap$(v, { + "RequestBody": "requestBody", + }); +}); +/** @internal */ +export type GetBulkAvailabilityRequest$Outbound = { + teamId?: string | undefined; + RequestBody: GetBulkAvailabilityRequestBody$Outbound; +}; + +/** @internal */ +export const GetBulkAvailabilityRequest$outboundSchema: z.ZodType< + GetBulkAvailabilityRequest$Outbound, + z.ZodTypeDef, + GetBulkAvailabilityRequest +> = z.object({ + teamId: z.string().optional(), + requestBody: z.lazy(() => GetBulkAvailabilityRequestBody$outboundSchema), +}).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); +}); + +export function getBulkAvailabilityRequestToJSON( + getBulkAvailabilityRequest: GetBulkAvailabilityRequest, +): string { + return JSON.stringify( + GetBulkAvailabilityRequest$outboundSchema.parse(getBulkAvailabilityRequest), + ); +} +export function getBulkAvailabilityRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetBulkAvailabilityRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetBulkAvailabilityRequest' from JSON`, + ); +} + +/** @internal */ +export const Results$inboundSchema: z.ZodType = + z.object({ + domain: z.string(), + available: z.boolean(), + }); +/** @internal */ +export type Results$Outbound = { + domain: string; + available: boolean; +}; + +/** @internal */ +export const Results$outboundSchema: z.ZodType< + Results$Outbound, + z.ZodTypeDef, + Results +> = z.object({ + domain: z.string(), + available: z.boolean(), +}); + +export function resultsToJSON(results: Results): string { + return JSON.stringify(Results$outboundSchema.parse(results)); +} +export function resultsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Results$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Results' from JSON`, + ); +} + +/** @internal */ +export const GetBulkAvailabilityResponseBody$inboundSchema: z.ZodType< + GetBulkAvailabilityResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + results: z.array(z.lazy(() => Results$inboundSchema)), +}); +/** @internal */ +export type GetBulkAvailabilityResponseBody$Outbound = { + results: Array; +}; + +/** @internal */ +export const GetBulkAvailabilityResponseBody$outboundSchema: z.ZodType< + GetBulkAvailabilityResponseBody$Outbound, + z.ZodTypeDef, + GetBulkAvailabilityResponseBody +> = z.object({ + results: z.array(z.lazy(() => Results$outboundSchema)), +}); + +export function getBulkAvailabilityResponseBodyToJSON( + getBulkAvailabilityResponseBody: GetBulkAvailabilityResponseBody, +): string { + return JSON.stringify( + GetBulkAvailabilityResponseBody$outboundSchema.parse( + getBulkAvailabilityResponseBody, + ), + ); +} +export function getBulkAvailabilityResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetBulkAvailabilityResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetBulkAvailabilityResponseBody' from JSON`, + ); +} diff --git a/src/models/getbypassipop.ts b/src/models/getbypassipop.ts index 405912433..7253b7cad 100644 --- a/src/models/getbypassipop.ts +++ b/src/models/getbypassipop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; @@ -86,7 +86,6 @@ export const GetBypassIpRequest$inboundSchema: z.ZodType< teamId: z.string().optional(), slug: z.string().optional(), }); - /** @internal */ export type GetBypassIpRequest$Outbound = { projectId: string; @@ -115,19 +114,6 @@ export const GetBypassIpRequest$outboundSchema: z.ZodType< 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 GetBypassIpRequest$ { - /** @deprecated use `GetBypassIpRequest$inboundSchema` instead. */ - export const inboundSchema = GetBypassIpRequest$inboundSchema; - /** @deprecated use `GetBypassIpRequest$outboundSchema` instead. */ - export const outboundSchema = GetBypassIpRequest$outboundSchema; - /** @deprecated use `GetBypassIpRequest$Outbound` instead. */ - export type Outbound = GetBypassIpRequest$Outbound; -} - export function getBypassIpRequestToJSON( getBypassIpRequest: GetBypassIpRequest, ): string { @@ -135,7 +121,6 @@ export function getBypassIpRequestToJSON( GetBypassIpRequest$outboundSchema.parse(getBypassIpRequest), ); } - export function getBypassIpRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -150,23 +135,11 @@ export function getBypassIpRequestFromJSON( export const GetBypassIpAction$inboundSchema: z.ZodNativeEnum< typeof GetBypassIpAction > = z.nativeEnum(GetBypassIpAction); - /** @internal */ export const GetBypassIpAction$outboundSchema: z.ZodNativeEnum< typeof GetBypassIpAction > = GetBypassIpAction$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetBypassIpAction$ { - /** @deprecated use `GetBypassIpAction$inboundSchema` instead. */ - export const inboundSchema = GetBypassIpAction$inboundSchema; - /** @deprecated use `GetBypassIpAction$outboundSchema` instead. */ - export const outboundSchema = GetBypassIpAction$outboundSchema; -} - /** @internal */ export const GetBypassIpResult$inboundSchema: z.ZodType< GetBypassIpResult, @@ -205,7 +178,6 @@ export const GetBypassIpResult$inboundSchema: z.ZodType< "ExpiresAt": "expiresAt", }); }); - /** @internal */ export type GetBypassIpResult$Outbound = { OwnerId: string; @@ -263,19 +235,6 @@ export const GetBypassIpResult$outboundSchema: z.ZodType< }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetBypassIpResult$ { - /** @deprecated use `GetBypassIpResult$inboundSchema` instead. */ - export const inboundSchema = GetBypassIpResult$inboundSchema; - /** @deprecated use `GetBypassIpResult$outboundSchema` instead. */ - export const outboundSchema = GetBypassIpResult$outboundSchema; - /** @deprecated use `GetBypassIpResult$Outbound` instead. */ - export type Outbound = GetBypassIpResult$Outbound; -} - export function getBypassIpResultToJSON( getBypassIpResult: GetBypassIpResult, ): string { @@ -283,7 +242,6 @@ export function getBypassIpResultToJSON( GetBypassIpResult$outboundSchema.parse(getBypassIpResult), ); } - export function getBypassIpResultFromJSON( jsonString: string, ): SafeParseResult { @@ -308,7 +266,6 @@ export const GetBypassIpPagination$inboundSchema: z.ZodType< "Id": "id", }); }); - /** @internal */ export type GetBypassIpPagination$Outbound = { OwnerId: string; @@ -330,19 +287,6 @@ export const GetBypassIpPagination$outboundSchema: z.ZodType< }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetBypassIpPagination$ { - /** @deprecated use `GetBypassIpPagination$inboundSchema` instead. */ - export const inboundSchema = GetBypassIpPagination$inboundSchema; - /** @deprecated use `GetBypassIpPagination$outboundSchema` instead. */ - export const outboundSchema = GetBypassIpPagination$outboundSchema; - /** @deprecated use `GetBypassIpPagination$Outbound` instead. */ - export type Outbound = GetBypassIpPagination$Outbound; -} - export function getBypassIpPaginationToJSON( getBypassIpPagination: GetBypassIpPagination, ): string { @@ -350,7 +294,6 @@ export function getBypassIpPaginationToJSON( GetBypassIpPagination$outboundSchema.parse(getBypassIpPagination), ); } - export function getBypassIpPaginationFromJSON( jsonString: string, ): SafeParseResult { @@ -370,7 +313,6 @@ export const GetBypassIpResponseBody$inboundSchema: z.ZodType< result: z.array(z.lazy(() => GetBypassIpResult$inboundSchema)), pagination: z.lazy(() => GetBypassIpPagination$inboundSchema).optional(), }); - /** @internal */ export type GetBypassIpResponseBody$Outbound = { result: Array; @@ -387,19 +329,6 @@ export const GetBypassIpResponseBody$outboundSchema: z.ZodType< pagination: z.lazy(() => GetBypassIpPagination$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 GetBypassIpResponseBody$ { - /** @deprecated use `GetBypassIpResponseBody$inboundSchema` instead. */ - export const inboundSchema = GetBypassIpResponseBody$inboundSchema; - /** @deprecated use `GetBypassIpResponseBody$outboundSchema` instead. */ - export const outboundSchema = GetBypassIpResponseBody$outboundSchema; - /** @deprecated use `GetBypassIpResponseBody$Outbound` instead. */ - export type Outbound = GetBypassIpResponseBody$Outbound; -} - export function getBypassIpResponseBodyToJSON( getBypassIpResponseBody: GetBypassIpResponseBody, ): string { @@ -407,7 +336,6 @@ export function getBypassIpResponseBodyToJSON( GetBypassIpResponseBody$outboundSchema.parse(getBypassIpResponseBody), ); } - export function getBypassIpResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/getcertbyidop.ts b/src/models/getcertbyidop.ts index 26f2ac84d..e177b6a26 100644 --- a/src/models/getcertbyidop.ts +++ b/src/models/getcertbyidop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -40,7 +40,6 @@ export const GetCertByIdRequest$inboundSchema: z.ZodType< teamId: z.string().optional(), slug: z.string().optional(), }); - /** @internal */ export type GetCertByIdRequest$Outbound = { id: string; @@ -59,19 +58,6 @@ export const GetCertByIdRequest$outboundSchema: z.ZodType< 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 { @@ -79,7 +65,6 @@ export function getCertByIdRequestToJSON( GetCertByIdRequest$outboundSchema.parse(getCertByIdRequest), ); } - export function getCertByIdRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -102,7 +87,6 @@ export const GetCertByIdResponseBody$inboundSchema: z.ZodType< autoRenew: z.boolean(), cns: z.array(z.string()), }); - /** @internal */ export type GetCertByIdResponseBody$Outbound = { id: string; @@ -125,19 +109,6 @@ export const GetCertByIdResponseBody$outboundSchema: z.ZodType< 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 { @@ -145,7 +116,6 @@ export function getCertByIdResponseBodyToJSON( GetCertByIdResponseBody$outboundSchema.parse(getCertByIdResponseBody), ); } - export function getCertByIdResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/getcheckop.ts b/src/models/getcheckop.ts index a06b2f721..17e47829d 100644 --- a/src/models/getcheckop.ts +++ b/src/models/getcheckop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; @@ -148,7 +148,6 @@ export const GetCheckRequest$inboundSchema: z.ZodType< teamId: z.string().optional(), slug: z.string().optional(), }); - /** @internal */ export type GetCheckRequest$Outbound = { deploymentId: string; @@ -169,25 +168,11 @@ export const GetCheckRequest$outboundSchema: z.ZodType< 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 { @@ -202,65 +187,29 @@ export function getCheckRequestFromJSON( 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, @@ -271,7 +220,6 @@ export const GetCheckFCP$inboundSchema: z.ZodType< previousValue: z.number().optional(), source: GetCheckSource$inboundSchema, }); - /** @internal */ export type GetCheckFCP$Outbound = { value: number | null; @@ -290,23 +238,9 @@ export const GetCheckFCP$outboundSchema: z.ZodType< 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 { @@ -321,23 +255,11 @@ export function getCheckFCPFromJSON( 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, @@ -348,7 +270,6 @@ export const GetCheckLCP$inboundSchema: z.ZodType< previousValue: z.number().optional(), source: GetCheckChecksSource$inboundSchema, }); - /** @internal */ export type GetCheckLCP$Outbound = { value: number | null; @@ -367,23 +288,9 @@ export const GetCheckLCP$outboundSchema: z.ZodType< 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 { @@ -398,23 +305,11 @@ export function getCheckLCPFromJSON( 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, @@ -425,7 +320,6 @@ export const GetCheckCLS$inboundSchema: z.ZodType< previousValue: z.number().optional(), source: GetCheckChecksResponseSource$inboundSchema, }); - /** @internal */ export type GetCheckCLS$Outbound = { value: number | null; @@ -444,23 +338,9 @@ export const GetCheckCLS$outboundSchema: z.ZodType< 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 { @@ -475,23 +355,11 @@ export function getCheckCLSFromJSON( 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, @@ -502,7 +370,6 @@ export const GetCheckTBT$inboundSchema: z.ZodType< previousValue: z.number().optional(), source: GetCheckChecksResponse200Source$inboundSchema, }); - /** @internal */ export type GetCheckTBT$Outbound = { value: number | null; @@ -521,23 +388,9 @@ export const GetCheckTBT$outboundSchema: z.ZodType< 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 { @@ -552,25 +405,11 @@ export function getCheckTBTFromJSON( 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, @@ -581,7 +420,6 @@ export const GetCheckVirtualExperienceScore$inboundSchema: z.ZodType< previousValue: z.number().optional(), source: GetCheckChecksResponse200ApplicationJSONSource$inboundSchema, }); - /** @internal */ export type GetCheckVirtualExperienceScore$Outbound = { value: number | null; @@ -600,19 +438,6 @@ export const GetCheckVirtualExperienceScore$outboundSchema: z.ZodType< 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 { @@ -622,7 +447,6 @@ export function getCheckVirtualExperienceScoreToJSON( ), ); } - export function getCheckVirtualExperienceScoreFromJSON( jsonString: string, ): SafeParseResult { @@ -654,7 +478,6 @@ export const GetCheckMetrics$inboundSchema: z.ZodType< "TBT": "tbt", }); }); - /** @internal */ export type GetCheckMetrics$Outbound = { FCP: GetCheckFCP$Outbound; @@ -686,25 +509,11 @@ export const GetCheckMetrics$outboundSchema: z.ZodType< }); }); -/** - * @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 { @@ -723,7 +532,6 @@ export const GetCheckOutput$inboundSchema: z.ZodType< > = z.object({ metrics: z.lazy(() => GetCheckMetrics$inboundSchema).optional(), }); - /** @internal */ export type GetCheckOutput$Outbound = { metrics?: GetCheckMetrics$Outbound | undefined; @@ -738,23 +546,9 @@ export const GetCheckOutput$outboundSchema: z.ZodType< 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 { @@ -788,7 +582,6 @@ export const GetCheckResponseBody$inboundSchema: z.ZodType< completedAt: z.number().optional(), rerequestable: z.boolean().optional(), }); - /** @internal */ export type GetCheckResponseBody$Outbound = { id: string; @@ -833,19 +626,6 @@ export const GetCheckResponseBody$outboundSchema: z.ZodType< 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 { @@ -853,7 +633,6 @@ export function getCheckResponseBodyToJSON( GetCheckResponseBody$outboundSchema.parse(getCheckResponseBody), ); } - export function getCheckResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/getconfigurablelogdrainop.ts b/src/models/getconfigurablelogdrainop.ts new file mode 100644 index 000000000..477a40a68 --- /dev/null +++ b/src/models/getconfigurablelogdrainop.ts @@ -0,0 +1,259 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +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 GetConfigurableLogDrainFramework = { + Blitzjs: "blitzjs", + Nextjs: "nextjs", + Gatsby: "gatsby", + Remix: "remix", + ReactRouter: "react-router", + 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", + TanstackStart: "tanstack-start", + Vitepress: "vitepress", + Vuepress: "vuepress", + Parcel: "parcel", + Fastapi: "fastapi", + Flask: "flask", + Fasthtml: "fasthtml", + SanityV3: "sanity-v3", + Sanity: "sanity", + Storybook: "storybook", + Nitro: "nitro", + Hono: "hono", + Express: "express", + H3: "h3", + Nestjs: "nestjs", + Elysia: "elysia", + Fastify: "fastify", + Xmcp: "xmcp", +} as const; +export type GetConfigurableLogDrainFramework = ClosedEnum< + typeof GetConfigurableLogDrainFramework +>; + +export type ProjectsMetadata = { + id: string; + name: string; + framework?: GetConfigurableLogDrainFramework | null | undefined; + latestDeployment?: string | undefined; +}; + +export type GetConfigurableLogDrainResponseBody = { + projectsMetadata?: Array | null | undefined; + integrationIcon?: string | undefined; + integrationConfigurationUri?: string | undefined; + integrationWebsite?: string | 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(), +}); + +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 GetConfigurableLogDrainFramework$inboundSchema: z.ZodNativeEnum< + typeof GetConfigurableLogDrainFramework +> = z.nativeEnum(GetConfigurableLogDrainFramework); +/** @internal */ +export const GetConfigurableLogDrainFramework$outboundSchema: z.ZodNativeEnum< + typeof GetConfigurableLogDrainFramework +> = GetConfigurableLogDrainFramework$inboundSchema; + +/** @internal */ +export const ProjectsMetadata$inboundSchema: z.ZodType< + ProjectsMetadata, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + name: z.string(), + framework: z.nullable(GetConfigurableLogDrainFramework$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(GetConfigurableLogDrainFramework$outboundSchema) + .optional(), + latestDeployment: z.string().optional(), +}); + +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 GetConfigurableLogDrainResponseBody$inboundSchema: z.ZodType< + GetConfigurableLogDrainResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + projectsMetadata: z.nullable( + z.array(z.lazy(() => ProjectsMetadata$inboundSchema)), + ).optional(), + integrationIcon: z.string().optional(), + integrationConfigurationUri: z.string().optional(), + integrationWebsite: z.string().optional(), +}); +/** @internal */ +export type GetConfigurableLogDrainResponseBody$Outbound = { + projectsMetadata?: Array | null | undefined; + integrationIcon?: string | undefined; + integrationConfigurationUri?: string | undefined; + integrationWebsite?: string | undefined; +}; + +/** @internal */ +export const GetConfigurableLogDrainResponseBody$outboundSchema: z.ZodType< + GetConfigurableLogDrainResponseBody$Outbound, + z.ZodTypeDef, + GetConfigurableLogDrainResponseBody +> = z.object({ + projectsMetadata: z.nullable( + z.array(z.lazy(() => ProjectsMetadata$outboundSchema)), + ).optional(), + integrationIcon: z.string().optional(), + integrationConfigurationUri: z.string().optional(), + integrationWebsite: z.string().optional(), +}); + +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 index 58fb153cf..70bff4232 100644 --- a/src/models/getconfigurationop.ts +++ b/src/models/getconfigurationop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; @@ -176,10 +176,12 @@ export type ResponseBodyNotification = { href?: string | undefined; }; -export const TransferRequestKind = { +export const GetConfigurationTransferRequestKind = { TransferFromMarketplace: "transfer-from-marketplace", } as const; -export type TransferRequestKind = ClosedEnum; +export type GetConfigurationTransferRequestKind = ClosedEnum< + typeof GetConfigurationTransferRequestKind +>; export type TransferRequestRequester = { name: string; @@ -187,7 +189,7 @@ export type TransferRequestRequester = { }; export type TransferRequest2 = { - kind: TransferRequestKind; + kind: GetConfigurationTransferRequestKind; requestId: string; transferId: string; requester: TransferRequestRequester; @@ -200,12 +202,10 @@ export type TransferRequest2 = { authorizationId?: string | undefined; }; -export const GetConfigurationTransferRequestKind = { +export const TransferRequestKind = { TransferToMarketplace: "transfer-to-marketplace", } as const; -export type GetConfigurationTransferRequestKind = ClosedEnum< - typeof GetConfigurationTransferRequestKind ->; +export type TransferRequestKind = ClosedEnum; export const TransferRequestType = { Subscription: "subscription", @@ -235,7 +235,7 @@ export type Requester = { }; export type TransferRequest1 = { - kind: GetConfigurationTransferRequestKind; + kind: TransferRequestKind; metadata?: { [k: string]: any } | undefined; billingPlan?: TransferRequestBillingPlan | undefined; requestId: string; @@ -395,7 +395,6 @@ export const GetConfigurationRequest$inboundSchema: z.ZodType< teamId: z.string().optional(), slug: z.string().optional(), }); - /** @internal */ export type GetConfigurationRequest$Outbound = { id: string; @@ -414,19 +413,6 @@ export const GetConfigurationRequest$outboundSchema: z.ZodType< 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 { @@ -434,7 +420,6 @@ export function getConfigurationRequestToJSON( GetConfigurationRequest$outboundSchema.parse(getConfigurationRequest), ); } - export function getConfigurationRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -449,98 +434,42 @@ export function getConfigurationRequestFromJSON( 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, @@ -571,7 +500,6 @@ export const GetConfigurationResponseBody2$inboundSchema: z.ZodType< GetConfigurationResponseBodyIntegrationsInstallationType$inboundSchema .optional(), }); - /** @internal */ export type GetConfigurationResponseBody2$Outbound = { completedAt?: number | undefined; @@ -625,19 +553,6 @@ export const GetConfigurationResponseBody2$outboundSchema: z.ZodType< .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 { @@ -647,7 +562,6 @@ export function getConfigurationResponseBody2ToJSON( ), ); } - export function getConfigurationResponseBody2FromJSON( jsonString: string, ): SafeParseResult { @@ -662,45 +576,20 @@ export function getConfigurationResponseBody2FromJSON( 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 GetConfigurationResponseBodyLevel$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationResponseBodyLevel > = z.nativeEnum(GetConfigurationResponseBodyLevel); - /** @internal */ export const GetConfigurationResponseBodyLevel$outboundSchema: z.ZodNativeEnum< typeof GetConfigurationResponseBodyLevel > = GetConfigurationResponseBodyLevel$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationResponseBodyLevel$ { - /** @deprecated use `GetConfigurationResponseBodyLevel$inboundSchema` instead. */ - export const inboundSchema = GetConfigurationResponseBodyLevel$inboundSchema; - /** @deprecated use `GetConfigurationResponseBodyLevel$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationResponseBodyLevel$outboundSchema; -} - /** @internal */ export const ResponseBodyNotification$inboundSchema: z.ZodType< ResponseBodyNotification, @@ -712,7 +601,6 @@ export const ResponseBodyNotification$inboundSchema: z.ZodType< message: z.string().optional(), href: z.string().optional(), }); - /** @internal */ export type ResponseBodyNotification$Outbound = { level: string; @@ -733,19 +621,6 @@ export const ResponseBodyNotification$outboundSchema: z.ZodType< href: z.string().optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ResponseBodyNotification$ { - /** @deprecated use `ResponseBodyNotification$inboundSchema` instead. */ - export const inboundSchema = ResponseBodyNotification$inboundSchema; - /** @deprecated use `ResponseBodyNotification$outboundSchema` instead. */ - export const outboundSchema = ResponseBodyNotification$outboundSchema; - /** @deprecated use `ResponseBodyNotification$Outbound` instead. */ - export type Outbound = ResponseBodyNotification$Outbound; -} - export function responseBodyNotificationToJSON( responseBodyNotification: ResponseBodyNotification, ): string { @@ -753,7 +628,6 @@ export function responseBodyNotificationToJSON( ResponseBodyNotification$outboundSchema.parse(responseBodyNotification), ); } - export function responseBodyNotificationFromJSON( jsonString: string, ): SafeParseResult { @@ -765,25 +639,13 @@ export function responseBodyNotificationFromJSON( } /** @internal */ -export const TransferRequestKind$inboundSchema: z.ZodNativeEnum< - typeof TransferRequestKind -> = z.nativeEnum(TransferRequestKind); - +export const GetConfigurationTransferRequestKind$inboundSchema: z.ZodNativeEnum< + typeof GetConfigurationTransferRequestKind +> = z.nativeEnum(GetConfigurationTransferRequestKind); /** @internal */ -export const TransferRequestKind$outboundSchema: z.ZodNativeEnum< - typeof TransferRequestKind -> = TransferRequestKind$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace TransferRequestKind$ { - /** @deprecated use `TransferRequestKind$inboundSchema` instead. */ - export const inboundSchema = TransferRequestKind$inboundSchema; - /** @deprecated use `TransferRequestKind$outboundSchema` instead. */ - export const outboundSchema = TransferRequestKind$outboundSchema; -} +export const GetConfigurationTransferRequestKind$outboundSchema: + z.ZodNativeEnum = + GetConfigurationTransferRequestKind$inboundSchema; /** @internal */ export const TransferRequestRequester$inboundSchema: z.ZodType< @@ -794,7 +656,6 @@ export const TransferRequestRequester$inboundSchema: z.ZodType< name: z.string(), email: z.string().optional(), }); - /** @internal */ export type TransferRequestRequester$Outbound = { name: string; @@ -811,19 +672,6 @@ export const TransferRequestRequester$outboundSchema: z.ZodType< email: z.string().optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace TransferRequestRequester$ { - /** @deprecated use `TransferRequestRequester$inboundSchema` instead. */ - export const inboundSchema = TransferRequestRequester$inboundSchema; - /** @deprecated use `TransferRequestRequester$outboundSchema` instead. */ - export const outboundSchema = TransferRequestRequester$outboundSchema; - /** @deprecated use `TransferRequestRequester$Outbound` instead. */ - export type Outbound = TransferRequestRequester$Outbound; -} - export function transferRequestRequesterToJSON( transferRequestRequester: TransferRequestRequester, ): string { @@ -831,7 +679,6 @@ export function transferRequestRequesterToJSON( TransferRequestRequester$outboundSchema.parse(transferRequestRequester), ); } - export function transferRequestRequesterFromJSON( jsonString: string, ): SafeParseResult { @@ -848,7 +695,7 @@ export const TransferRequest2$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - kind: TransferRequestKind$inboundSchema, + kind: GetConfigurationTransferRequestKind$inboundSchema, requestId: z.string(), transferId: z.string(), requester: z.lazy(() => TransferRequestRequester$inboundSchema), @@ -860,7 +707,6 @@ export const TransferRequest2$inboundSchema: z.ZodType< approvedBy: z.string().optional(), authorizationId: z.string().optional(), }); - /** @internal */ export type TransferRequest2$Outbound = { kind: string; @@ -882,7 +728,7 @@ export const TransferRequest2$outboundSchema: z.ZodType< z.ZodTypeDef, TransferRequest2 > = z.object({ - kind: TransferRequestKind$outboundSchema, + kind: GetConfigurationTransferRequestKind$outboundSchema, requestId: z.string(), transferId: z.string(), requester: z.lazy(() => TransferRequestRequester$outboundSchema), @@ -895,19 +741,6 @@ export const TransferRequest2$outboundSchema: z.ZodType< authorizationId: z.string().optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace TransferRequest2$ { - /** @deprecated use `TransferRequest2$inboundSchema` instead. */ - export const inboundSchema = TransferRequest2$inboundSchema; - /** @deprecated use `TransferRequest2$outboundSchema` instead. */ - export const outboundSchema = TransferRequest2$outboundSchema; - /** @deprecated use `TransferRequest2$Outbound` instead. */ - export type Outbound = TransferRequest2$Outbound; -} - export function transferRequest2ToJSON( transferRequest2: TransferRequest2, ): string { @@ -915,7 +748,6 @@ export function transferRequest2ToJSON( TransferRequest2$outboundSchema.parse(transferRequest2), ); } - export function transferRequest2FromJSON( jsonString: string, ): SafeParseResult { @@ -927,70 +759,32 @@ export function transferRequest2FromJSON( } /** @internal */ -export const GetConfigurationTransferRequestKind$inboundSchema: z.ZodNativeEnum< - typeof GetConfigurationTransferRequestKind -> = z.nativeEnum(GetConfigurationTransferRequestKind); - +export const TransferRequestKind$inboundSchema: z.ZodNativeEnum< + typeof TransferRequestKind +> = z.nativeEnum(TransferRequestKind); /** @internal */ -export const GetConfigurationTransferRequestKind$outboundSchema: - z.ZodNativeEnum = - GetConfigurationTransferRequestKind$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationTransferRequestKind$ { - /** @deprecated use `GetConfigurationTransferRequestKind$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationTransferRequestKind$inboundSchema; - /** @deprecated use `GetConfigurationTransferRequestKind$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationTransferRequestKind$outboundSchema; -} +export const TransferRequestKind$outboundSchema: z.ZodNativeEnum< + typeof TransferRequestKind +> = TransferRequestKind$inboundSchema; /** @internal */ export const TransferRequestType$inboundSchema: z.ZodNativeEnum< typeof TransferRequestType > = z.nativeEnum(TransferRequestType); - /** @internal */ export const TransferRequestType$outboundSchema: z.ZodNativeEnum< typeof TransferRequestType > = TransferRequestType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace TransferRequestType$ { - /** @deprecated use `TransferRequestType$inboundSchema` instead. */ - export const inboundSchema = TransferRequestType$inboundSchema; - /** @deprecated use `TransferRequestType$outboundSchema` instead. */ - export const outboundSchema = TransferRequestType$outboundSchema; -} - /** @internal */ export const TransferRequestScope$inboundSchema: z.ZodNativeEnum< typeof TransferRequestScope > = z.nativeEnum(TransferRequestScope); - /** @internal */ export const TransferRequestScope$outboundSchema: z.ZodNativeEnum< typeof TransferRequestScope > = TransferRequestScope$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace TransferRequestScope$ { - /** @deprecated use `TransferRequestScope$inboundSchema` instead. */ - export const inboundSchema = TransferRequestScope$inboundSchema; - /** @deprecated use `TransferRequestScope$outboundSchema` instead. */ - export const outboundSchema = TransferRequestScope$outboundSchema; -} - /** @internal */ export const TransferRequestBillingPlan$inboundSchema: z.ZodType< TransferRequestBillingPlan, @@ -1005,7 +799,6 @@ export const TransferRequestBillingPlan$inboundSchema: z.ZodType< paymentMethodRequired: z.boolean().optional(), preauthorizationAmount: z.number().optional(), }); - /** @internal */ export type TransferRequestBillingPlan$Outbound = { id: string; @@ -1032,19 +825,6 @@ export const TransferRequestBillingPlan$outboundSchema: z.ZodType< preauthorizationAmount: 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 TransferRequestBillingPlan$ { - /** @deprecated use `TransferRequestBillingPlan$inboundSchema` instead. */ - export const inboundSchema = TransferRequestBillingPlan$inboundSchema; - /** @deprecated use `TransferRequestBillingPlan$outboundSchema` instead. */ - export const outboundSchema = TransferRequestBillingPlan$outboundSchema; - /** @deprecated use `TransferRequestBillingPlan$Outbound` instead. */ - export type Outbound = TransferRequestBillingPlan$Outbound; -} - export function transferRequestBillingPlanToJSON( transferRequestBillingPlan: TransferRequestBillingPlan, ): string { @@ -1052,7 +832,6 @@ export function transferRequestBillingPlanToJSON( TransferRequestBillingPlan$outboundSchema.parse(transferRequestBillingPlan), ); } - export function transferRequestBillingPlanFromJSON( jsonString: string, ): SafeParseResult { @@ -1072,7 +851,6 @@ export const Requester$inboundSchema: z.ZodType< name: z.string(), email: z.string().optional(), }); - /** @internal */ export type Requester$Outbound = { name: string; @@ -1089,23 +867,9 @@ export const Requester$outboundSchema: z.ZodType< email: z.string().optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Requester$ { - /** @deprecated use `Requester$inboundSchema` instead. */ - export const inboundSchema = Requester$inboundSchema; - /** @deprecated use `Requester$outboundSchema` instead. */ - export const outboundSchema = Requester$outboundSchema; - /** @deprecated use `Requester$Outbound` instead. */ - export type Outbound = Requester$Outbound; -} - export function requesterToJSON(requester: Requester): string { return JSON.stringify(Requester$outboundSchema.parse(requester)); } - export function requesterFromJSON( jsonString: string, ): SafeParseResult { @@ -1122,7 +886,7 @@ export const TransferRequest1$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - kind: GetConfigurationTransferRequestKind$inboundSchema, + kind: TransferRequestKind$inboundSchema, metadata: z.record(z.any()).optional(), billingPlan: z.lazy(() => TransferRequestBillingPlan$inboundSchema) .optional(), @@ -1137,7 +901,6 @@ export const TransferRequest1$inboundSchema: z.ZodType< approvedBy: z.string().optional(), authorizationId: z.string().optional(), }); - /** @internal */ export type TransferRequest1$Outbound = { kind: string; @@ -1161,7 +924,7 @@ export const TransferRequest1$outboundSchema: z.ZodType< z.ZodTypeDef, TransferRequest1 > = z.object({ - kind: GetConfigurationTransferRequestKind$outboundSchema, + kind: TransferRequestKind$outboundSchema, metadata: z.record(z.any()).optional(), billingPlan: z.lazy(() => TransferRequestBillingPlan$outboundSchema) .optional(), @@ -1177,19 +940,6 @@ export const TransferRequest1$outboundSchema: z.ZodType< authorizationId: z.string().optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace TransferRequest1$ { - /** @deprecated use `TransferRequest1$inboundSchema` instead. */ - export const inboundSchema = TransferRequest1$inboundSchema; - /** @deprecated use `TransferRequest1$outboundSchema` instead. */ - export const outboundSchema = TransferRequest1$outboundSchema; - /** @deprecated use `TransferRequest1$Outbound` instead. */ - export type Outbound = TransferRequest1$Outbound; -} - export function transferRequest1ToJSON( transferRequest1: TransferRequest1, ): string { @@ -1197,7 +947,6 @@ export function transferRequest1ToJSON( TransferRequest1$outboundSchema.parse(transferRequest1), ); } - export function transferRequest1FromJSON( jsonString: string, ): SafeParseResult { @@ -1217,7 +966,6 @@ export const TransferRequest$inboundSchema: z.ZodType< z.lazy(() => TransferRequest1$inboundSchema), z.lazy(() => TransferRequest2$inboundSchema), ]); - /** @internal */ export type TransferRequest$Outbound = | TransferRequest1$Outbound @@ -1233,25 +981,11 @@ export const TransferRequest$outboundSchema: z.ZodType< z.lazy(() => TransferRequest2$outboundSchema), ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace TransferRequest$ { - /** @deprecated use `TransferRequest$inboundSchema` instead. */ - export const inboundSchema = TransferRequest$inboundSchema; - /** @deprecated use `TransferRequest$outboundSchema` instead. */ - export const outboundSchema = TransferRequest$outboundSchema; - /** @deprecated use `TransferRequest$Outbound` instead. */ - export type Outbound = TransferRequest$Outbound; -} - export function transferRequestToJSON( transferRequest: TransferRequest, ): string { return JSON.stringify(TransferRequest$outboundSchema.parse(transferRequest)); } - export function transferRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -1266,91 +1000,38 @@ export function transferRequestFromJSON( 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 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 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 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 GetConfigurationResponseBody1$inboundSchema: z.ZodType< GetConfigurationResponseBody1, @@ -1385,7 +1066,6 @@ export const GetConfigurationResponseBody1$inboundSchema: z.ZodType< type: GetConfigurationResponseBodyType$inboundSchema, deletedAt: z.nullable(z.number()).optional(), }); - /** @internal */ export type GetConfigurationResponseBody1$Outbound = { projectSelection: string; @@ -1447,19 +1127,6 @@ export const GetConfigurationResponseBody1$outboundSchema: z.ZodType< deletedAt: 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 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 { @@ -1469,7 +1136,6 @@ export function getConfigurationResponseBody1ToJSON( ), ); } - export function getConfigurationResponseBody1FromJSON( jsonString: string, ): SafeParseResult { @@ -1489,7 +1155,6 @@ export const GetConfigurationResponseBody$inboundSchema: z.ZodType< z.lazy(() => GetConfigurationResponseBody1$inboundSchema), z.lazy(() => GetConfigurationResponseBody2$inboundSchema), ]); - /** @internal */ export type GetConfigurationResponseBody$Outbound = | GetConfigurationResponseBody1$Outbound @@ -1505,19 +1170,6 @@ export const GetConfigurationResponseBody$outboundSchema: z.ZodType< z.lazy(() => GetConfigurationResponseBody2$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 { @@ -1527,7 +1179,6 @@ export function getConfigurationResponseBodyToJSON( ), ); } - export function getConfigurationResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/getconfigurationproductsop.ts b/src/models/getconfigurationproductsop.ts index 2c9ee9833..b3f4fa911 100644 --- a/src/models/getconfigurationproductsop.ts +++ b/src/models/getconfigurationproductsop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; @@ -257,12 +257,12 @@ export type GetConfigurationProductsType = ClosedEnum< typeof GetConfigurationProductsType >; -export type GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema10AtBRANDAt543472 = +export type GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema10AtBRANDAt649501 = {}; export type PropertiesValue = { - atBRANDAt543472: - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema10AtBRANDAt543472; + atBRANDAt649501: + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema10AtBRANDAt649501; }; export const GetConfigurationProductsDisabled3 = { @@ -331,28 +331,28 @@ export type GetConfigurationProductsPropertiesIntegrationsResponse200Application typeof GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiControl >; -export type GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9AtBRANDAt543472 = +export type GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9AtBRANDAt649501 = {}; export type GetConfigurationProductsPropertiesIntegrationsMinLength = { - atBRANDAt543472: - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9AtBRANDAt543472; + atBRANDAt649501: + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9AtBRANDAt649501; }; -export type GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9MaxLengthAtBRANDAt543472 = +export type GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9MaxLengthAtBRANDAt649501 = {}; export type GetConfigurationProductsPropertiesIntegrationsMaxLength = { - atBRANDAt543472: - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9MaxLengthAtBRANDAt543472; + atBRANDAt649501: + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9MaxLengthAtBRANDAt649501; }; -export type GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9PatternAtBRANDAt543472 = +export type GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9PatternAtBRANDAt649501 = {}; export type GetConfigurationProductsPropertiesIntegrationsPattern = { - atBRANDAt543472: - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9PatternAtBRANDAt543472; + atBRANDAt649501: + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9PatternAtBRANDAt649501; }; export const GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3 = @@ -497,28 +497,28 @@ export type GetConfigurationProductsPropertiesIntegrationsResponse200Application typeof GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8Type >; -export type GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsMinLengthAtBRANDAt543472 = +export type GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsMinLengthAtBRANDAt649501 = {}; export type GetConfigurationProductsPropertiesIntegrationsResponseMinLength = { - atBRANDAt543472: - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsMinLengthAtBRANDAt543472; + atBRANDAt649501: + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsMinLengthAtBRANDAt649501; }; -export type GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsAtBRANDAt543472 = +export type GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsAtBRANDAt649501 = {}; export type GetConfigurationProductsPropertiesIntegrationsResponseMaxLength = { - atBRANDAt543472: - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsAtBRANDAt543472; + atBRANDAt649501: + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsAtBRANDAt649501; }; -export type GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsPatternAtBRANDAt543472 = +export type GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsPatternAtBRANDAt649501 = {}; export type GetConfigurationProductsPropertiesIntegrationsResponsePattern = { - atBRANDAt543472: - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsPatternAtBRANDAt543472; + atBRANDAt649501: + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsPatternAtBRANDAt649501; }; export type GetConfigurationProductsPropertiesIntegrationsItems = { @@ -538,12 +538,12 @@ export type GetConfigurationProductsPropertiesIntegrationsItems = { enum?: Array | undefined; }; -export type GetConfigurationProductsUiOptionsIntegrationsResponseAtBRANDAt543472 = +export type GetConfigurationProductsUiOptionsIntegrationsResponseAtBRANDAt649501 = {}; export type GetConfigurationProductsUiOptionsValue = { - atBRANDAt543472: - GetConfigurationProductsUiOptionsIntegrationsResponseAtBRANDAt543472; + atBRANDAt649501: + GetConfigurationProductsUiOptionsIntegrationsResponseAtBRANDAt649501; }; export const GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJson3 = @@ -600,10 +600,10 @@ export type GetConfigurationProductsUiOptions3 = { | undefined; }; -export type GetConfigurationProductsUiOptionsAtBRANDAt543472 = {}; +export type GetConfigurationProductsUiOptionsAtBRANDAt649501 = {}; export type GetConfigurationProductsUiOptions2 = { - atBRANDAt543472: GetConfigurationProductsUiOptionsAtBRANDAt543472; + atBRANDAt649501: GetConfigurationProductsUiOptionsAtBRANDAt649501; }; export const GetConfigurationProductsDisabledIntegrationsResponse2003 = { @@ -733,20 +733,20 @@ export type GetConfigurationProductsPropertiesIntegrationsResponse200Application expr: string; }; -export type GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaAtBRANDAt543472 = +export type GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaAtBRANDAt649501 = {}; export type Default = { - atBRANDAt543472: - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaAtBRANDAt543472; + atBRANDAt649501: + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaAtBRANDAt649501; }; -export type GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8AtBRANDAt543472 = +export type GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8AtBRANDAt649501 = {}; export type Example = { - atBRANDAt543472: - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8AtBRANDAt543472; + atBRANDAt649501: + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8AtBRANDAt649501; }; export type Properties8 = { @@ -809,10 +809,10 @@ export type GetConfigurationProductsPropertiesIntegrationsResponse200Application typeof GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONUiControl >; -export type GetConfigurationProductsUiOptionsIntegrationsAtBRANDAt543472 = {}; +export type GetConfigurationProductsUiOptionsIntegrationsAtBRANDAt649501 = {}; export type UiOptionsValue = { - atBRANDAt543472: GetConfigurationProductsUiOptionsIntegrationsAtBRANDAt543472; + atBRANDAt649501: GetConfigurationProductsUiOptionsIntegrationsAtBRANDAt649501; }; export const GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts3 = @@ -869,10 +869,10 @@ export type UiOptions3 = { | undefined; }; -export type UiOptionsAtBRANDAt543472 = {}; +export type UiOptionsAtBRANDAt649501 = {}; export type UiOptions2 = { - atBRANDAt543472: UiOptionsAtBRANDAt543472; + atBRANDAt649501: UiOptionsAtBRANDAt649501; }; export const GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBody3 = @@ -935,28 +935,28 @@ export type GetConfigurationProductsPropertiesUiOptions = | UiOptions2 | UiOptions3; -export type GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt543472 = +export type GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt649501 = {}; export type GetConfigurationProductsPropertiesMinLength = { - atBRANDAt543472: - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt543472; + atBRANDAt649501: + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt649501; }; -export type GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt543472 = +export type GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt649501 = {}; export type GetConfigurationProductsPropertiesMaxLength = { - atBRANDAt543472: - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt543472; + atBRANDAt649501: + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt649501; }; -export type GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsAtBRANDAt543472 = +export type GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsAtBRANDAt649501 = {}; export type GetConfigurationProductsPropertiesPattern = { - atBRANDAt543472: - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsAtBRANDAt543472; + atBRANDAt649501: + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsAtBRANDAt649501; }; export const GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBody3 = @@ -1098,30 +1098,30 @@ export type GetConfigurationProductsPropertiesIntegrationsResponse200Application typeof GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6Type >; -export type GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsMinLengthAtBRANDAt543472 = +export type GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsMinLengthAtBRANDAt649501 = {}; export type GetConfigurationProductsPropertiesIntegrationsResponse200MinLength = { - atBRANDAt543472: - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsMinLengthAtBRANDAt543472; + atBRANDAt649501: + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsMinLengthAtBRANDAt649501; }; -export type GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6AtBRANDAt543472 = +export type GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6AtBRANDAt649501 = {}; export type GetConfigurationProductsPropertiesIntegrationsResponse200MaxLength = { - atBRANDAt543472: - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6AtBRANDAt543472; + atBRANDAt649501: + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6AtBRANDAt649501; }; -export type GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsAtBRANDAt543472 = +export type GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsAtBRANDAt649501 = {}; export type GetConfigurationProductsPropertiesIntegrationsResponse200Pattern = { - atBRANDAt543472: - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsAtBRANDAt543472; + atBRANDAt649501: + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsAtBRANDAt649501; }; export type GetConfigurationProductsPropertiesItems = { @@ -1366,27 +1366,27 @@ export type UiOptions = { | undefined; }; -export type GetConfigurationProductsPropertiesIntegrationsAtBRANDAt543472 = {}; +export type GetConfigurationProductsPropertiesIntegrationsAtBRANDAt649501 = {}; export type PropertiesMinLength = { - atBRANDAt543472: - GetConfigurationProductsPropertiesIntegrationsAtBRANDAt543472; + atBRANDAt649501: + GetConfigurationProductsPropertiesIntegrationsAtBRANDAt649501; }; -export type GetConfigurationProductsPropertiesIntegrationsResponseAtBRANDAt543472 = +export type GetConfigurationProductsPropertiesIntegrationsResponseAtBRANDAt649501 = {}; export type PropertiesMaxLength = { - atBRANDAt543472: - GetConfigurationProductsPropertiesIntegrationsResponseAtBRANDAt543472; + atBRANDAt649501: + GetConfigurationProductsPropertiesIntegrationsResponseAtBRANDAt649501; }; -export type GetConfigurationProductsPropertiesIntegrationsResponse200AtBRANDAt543472 = +export type GetConfigurationProductsPropertiesIntegrationsResponse200AtBRANDAt649501 = {}; export type PropertiesPattern = { - atBRANDAt543472: - GetConfigurationProductsPropertiesIntegrationsResponse200AtBRANDAt543472; + atBRANDAt649501: + GetConfigurationProductsPropertiesIntegrationsResponse200AtBRANDAt649501; }; export const GetConfigurationProductsUiReadOnlyIntegrationsResponse2003 = { @@ -1835,22 +1835,22 @@ export const UiControl = { } as const; export type UiControl = ClosedEnum; -export type AtBRANDAt543472 = {}; +export type AtBRANDAt649501 = {}; export type MinLength = { - atBRANDAt543472: AtBRANDAt543472; + atBRANDAt649501: AtBRANDAt649501; }; -export type PropertiesAtBRANDAt543472 = {}; +export type PropertiesAtBRANDAt649501 = {}; export type MaxLength = { - atBRANDAt543472: PropertiesAtBRANDAt543472; + atBRANDAt649501: PropertiesAtBRANDAt649501; }; -export type GetConfigurationProductsPropertiesAtBRANDAt543472 = {}; +export type GetConfigurationProductsPropertiesAtBRANDAt649501 = {}; export type Pattern = { - atBRANDAt543472: GetConfigurationProductsPropertiesAtBRANDAt543472; + atBRANDAt649501: GetConfigurationProductsPropertiesAtBRANDAt649501; }; export const UiReadOnly3 = { @@ -1985,7 +1985,6 @@ export const GetConfigurationProductsRequest$inboundSchema: z.ZodType< teamId: z.string().optional(), slug: z.string().optional(), }); - /** @internal */ export type GetConfigurationProductsRequest$Outbound = { id: string; @@ -2004,19 +2003,6 @@ export const GetConfigurationProductsRequest$outboundSchema: z.ZodType< 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 GetConfigurationProductsRequest$ { - /** @deprecated use `GetConfigurationProductsRequest$inboundSchema` instead. */ - export const inboundSchema = GetConfigurationProductsRequest$inboundSchema; - /** @deprecated use `GetConfigurationProductsRequest$outboundSchema` instead. */ - export const outboundSchema = GetConfigurationProductsRequest$outboundSchema; - /** @deprecated use `GetConfigurationProductsRequest$Outbound` instead. */ - export type Outbound = GetConfigurationProductsRequest$Outbound; -} - export function getConfigurationProductsRequestToJSON( getConfigurationProductsRequest: GetConfigurationProductsRequest, ): string { @@ -2026,7 +2012,6 @@ export function getConfigurationProductsRequestToJSON( ), ); } - export function getConfigurationProductsRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -2041,23 +2026,11 @@ export function getConfigurationProductsRequestFromJSON( export const GetConfigurationProductsStatus$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsStatus > = z.nativeEnum(GetConfigurationProductsStatus); - /** @internal */ export const GetConfigurationProductsStatus$outboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsStatus > = GetConfigurationProductsStatus$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsStatus$ { - /** @deprecated use `GetConfigurationProductsStatus$inboundSchema` instead. */ - export const inboundSchema = GetConfigurationProductsStatus$inboundSchema; - /** @deprecated use `GetConfigurationProductsStatus$outboundSchema` instead. */ - export const outboundSchema = GetConfigurationProductsStatus$outboundSchema; -} - /** @internal */ export const GetConfigurationProductsRepl$inboundSchema: z.ZodType< GetConfigurationProductsRepl, @@ -2068,7 +2041,6 @@ export const GetConfigurationProductsRepl$inboundSchema: z.ZodType< supportsReadOnlyMode: z.boolean(), welcomeMessage: z.string().optional(), }); - /** @internal */ export type GetConfigurationProductsRepl$Outbound = { enabled: boolean; @@ -2087,19 +2059,6 @@ export const GetConfigurationProductsRepl$outboundSchema: z.ZodType< welcomeMessage: z.string().optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsRepl$ { - /** @deprecated use `GetConfigurationProductsRepl$inboundSchema` instead. */ - export const inboundSchema = GetConfigurationProductsRepl$inboundSchema; - /** @deprecated use `GetConfigurationProductsRepl$outboundSchema` instead. */ - export const outboundSchema = GetConfigurationProductsRepl$outboundSchema; - /** @deprecated use `GetConfigurationProductsRepl$Outbound` instead. */ - export type Outbound = GetConfigurationProductsRepl$Outbound; -} - export function getConfigurationProductsReplToJSON( getConfigurationProductsRepl: GetConfigurationProductsRepl, ): string { @@ -2109,7 +2068,6 @@ export function getConfigurationProductsReplToJSON( ), ); } - export function getConfigurationProductsReplFromJSON( jsonString: string, ): SafeParseResult { @@ -2126,7 +2084,6 @@ export const Storage$inboundSchema: z.ZodType = status: GetConfigurationProductsStatus$inboundSchema, repl: z.lazy(() => GetConfigurationProductsRepl$inboundSchema).optional(), }); - /** @internal */ export type Storage$Outbound = { status: string; @@ -2143,23 +2100,9 @@ export const Storage$outboundSchema: z.ZodType< repl: z.lazy(() => GetConfigurationProductsRepl$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 Storage$ { - /** @deprecated use `Storage$inboundSchema` instead. */ - export const inboundSchema = Storage$inboundSchema; - /** @deprecated use `Storage$outboundSchema` instead. */ - export const outboundSchema = Storage$outboundSchema; - /** @deprecated use `Storage$Outbound` instead. */ - export type Outbound = Storage$Outbound; -} - export function storageToJSON(storage: Storage): string { return JSON.stringify(Storage$outboundSchema.parse(storage)); } - export function storageFromJSON( jsonString: string, ): SafeParseResult { @@ -2174,25 +2117,11 @@ export function storageFromJSON( export const GetConfigurationProductsIntegrationsStatus$inboundSchema: z.ZodNativeEnum = z .nativeEnum(GetConfigurationProductsIntegrationsStatus); - /** @internal */ export const GetConfigurationProductsIntegrationsStatus$outboundSchema: z.ZodNativeEnum = GetConfigurationProductsIntegrationsStatus$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsIntegrationsStatus$ { - /** @deprecated use `GetConfigurationProductsIntegrationsStatus$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsIntegrationsStatus$inboundSchema; - /** @deprecated use `GetConfigurationProductsIntegrationsStatus$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsIntegrationsStatus$outboundSchema; -} - /** @internal */ export const GetConfigurationProductsExperimentation$inboundSchema: z.ZodType< GetConfigurationProductsExperimentation, @@ -2202,7 +2131,6 @@ export const GetConfigurationProductsExperimentation$inboundSchema: z.ZodType< status: GetConfigurationProductsIntegrationsStatus$inboundSchema, edgeConfigSyncingSupport: z.boolean().optional(), }); - /** @internal */ export type GetConfigurationProductsExperimentation$Outbound = { status: string; @@ -2219,21 +2147,6 @@ export const GetConfigurationProductsExperimentation$outboundSchema: z.ZodType< edgeConfigSyncingSupport: 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 GetConfigurationProductsExperimentation$ { - /** @deprecated use `GetConfigurationProductsExperimentation$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsExperimentation$inboundSchema; - /** @deprecated use `GetConfigurationProductsExperimentation$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsExperimentation$outboundSchema; - /** @deprecated use `GetConfigurationProductsExperimentation$Outbound` instead. */ - export type Outbound = GetConfigurationProductsExperimentation$Outbound; -} - export function getConfigurationProductsExperimentationToJSON( getConfigurationProductsExperimentation: GetConfigurationProductsExperimentation, @@ -2244,7 +2157,6 @@ export function getConfigurationProductsExperimentationToJSON( ), ); } - export function getConfigurationProductsExperimentationFromJSON( jsonString: string, ): SafeParseResult< @@ -2265,30 +2177,15 @@ export function getConfigurationProductsExperimentationFromJSON( export const GetConfigurationProductsIntegrationsResponseStatus$inboundSchema: z.ZodNativeEnum = z .nativeEnum(GetConfigurationProductsIntegrationsResponseStatus); - /** @internal */ export const GetConfigurationProductsIntegrationsResponseStatus$outboundSchema: z.ZodNativeEnum = GetConfigurationProductsIntegrationsResponseStatus$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsIntegrationsResponseStatus$ { - /** @deprecated use `GetConfigurationProductsIntegrationsResponseStatus$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsIntegrationsResponseStatus$inboundSchema; - /** @deprecated use `GetConfigurationProductsIntegrationsResponseStatus$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsIntegrationsResponseStatus$outboundSchema; -} - /** @internal */ export const Ai$inboundSchema: z.ZodType = z.object({ status: GetConfigurationProductsIntegrationsResponseStatus$inboundSchema, }); - /** @internal */ export type Ai$Outbound = { status: string; @@ -2300,23 +2197,9 @@ export const Ai$outboundSchema: z.ZodType = z status: GetConfigurationProductsIntegrationsResponseStatus$outboundSchema, }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Ai$ { - /** @deprecated use `Ai$inboundSchema` instead. */ - export const inboundSchema = Ai$inboundSchema; - /** @deprecated use `Ai$outboundSchema` instead. */ - export const outboundSchema = Ai$outboundSchema; - /** @deprecated use `Ai$Outbound` instead. */ - export type Outbound = Ai$Outbound; -} - export function aiToJSON(ai: Ai): string { return JSON.stringify(Ai$outboundSchema.parse(ai)); } - export function aiFromJSON( jsonString: string, ): SafeParseResult { @@ -2332,26 +2215,12 @@ export const GetConfigurationProductsIntegrationsResponse200Status$inboundSchema z.ZodNativeEnum< typeof GetConfigurationProductsIntegrationsResponse200Status > = z.nativeEnum(GetConfigurationProductsIntegrationsResponse200Status); - /** @internal */ export const GetConfigurationProductsIntegrationsResponse200Status$outboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsIntegrationsResponse200Status > = GetConfigurationProductsIntegrationsResponse200Status$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsIntegrationsResponse200Status$ { - /** @deprecated use `GetConfigurationProductsIntegrationsResponse200Status$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsIntegrationsResponse200Status$inboundSchema; - /** @deprecated use `GetConfigurationProductsIntegrationsResponse200Status$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsIntegrationsResponse200Status$outboundSchema; -} - /** @internal */ export const Authentication$inboundSchema: z.ZodType< Authentication, @@ -2360,7 +2229,6 @@ export const Authentication$inboundSchema: z.ZodType< > = z.object({ status: GetConfigurationProductsIntegrationsResponse200Status$inboundSchema, }); - /** @internal */ export type Authentication$Outbound = { status: string; @@ -2375,23 +2243,9 @@ export const Authentication$outboundSchema: z.ZodType< status: GetConfigurationProductsIntegrationsResponse200Status$outboundSchema, }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Authentication$ { - /** @deprecated use `Authentication$inboundSchema` instead. */ - export const inboundSchema = Authentication$inboundSchema; - /** @deprecated use `Authentication$outboundSchema` instead. */ - export const outboundSchema = Authentication$outboundSchema; - /** @deprecated use `Authentication$Outbound` instead. */ - export type Outbound = Authentication$Outbound; -} - export function authenticationToJSON(authentication: Authentication): string { return JSON.stringify(Authentication$outboundSchema.parse(authentication)); } - export function authenticationFromJSON( jsonString: string, ): SafeParseResult { @@ -2409,7 +2263,6 @@ export const GetConfigurationProductsIntegrationsResponse200ApplicationJSONStatu > = z.nativeEnum( GetConfigurationProductsIntegrationsResponse200ApplicationJSONStatus, ); - /** @internal */ export const GetConfigurationProductsIntegrationsResponse200ApplicationJSONStatus$outboundSchema: z.ZodNativeEnum< @@ -2417,19 +2270,6 @@ export const GetConfigurationProductsIntegrationsResponse200ApplicationJSONStatu > = GetConfigurationProductsIntegrationsResponse200ApplicationJSONStatus$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsIntegrationsResponse200ApplicationJSONStatus$ { - /** @deprecated use `GetConfigurationProductsIntegrationsResponse200ApplicationJSONStatus$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsIntegrationsResponse200ApplicationJSONStatus$inboundSchema; - /** @deprecated use `GetConfigurationProductsIntegrationsResponse200ApplicationJSONStatus$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsIntegrationsResponse200ApplicationJSONStatus$outboundSchema; -} - /** @internal */ export const Observability$inboundSchema: z.ZodType< Observability, @@ -2439,7 +2279,6 @@ export const Observability$inboundSchema: z.ZodType< status: GetConfigurationProductsIntegrationsResponse200ApplicationJSONStatus$inboundSchema, }); - /** @internal */ export type Observability$Outbound = { status: string; @@ -2455,23 +2294,9 @@ export const Observability$outboundSchema: z.ZodType< GetConfigurationProductsIntegrationsResponse200ApplicationJSONStatus$outboundSchema, }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Observability$ { - /** @deprecated use `Observability$inboundSchema` instead. */ - export const inboundSchema = Observability$inboundSchema; - /** @deprecated use `Observability$outboundSchema` instead. */ - export const outboundSchema = Observability$outboundSchema; - /** @deprecated use `Observability$Outbound` instead. */ - export type Outbound = Observability$Outbound; -} - export function observabilityToJSON(observability: Observability): string { return JSON.stringify(Observability$outboundSchema.parse(observability)); } - export function observabilityFromJSON( jsonString: string, ): SafeParseResult { @@ -2489,7 +2314,6 @@ export const GetConfigurationProductsIntegrationsResponse200ApplicationJSONRespo > = z.nativeEnum( GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyStatus, ); - /** @internal */ export const GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyStatus$outboundSchema: z.ZodNativeEnum< @@ -2497,26 +2321,12 @@ export const GetConfigurationProductsIntegrationsResponse200ApplicationJSONRespo > = GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyStatus$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyStatus$ { - /** @deprecated use `GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyStatus$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyStatus$inboundSchema; - /** @deprecated use `GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyStatus$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyStatus$outboundSchema; -} - /** @internal */ export const Video$inboundSchema: z.ZodType = z .object({ status: GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyStatus$inboundSchema, }); - /** @internal */ export type Video$Outbound = { status: string; @@ -2532,23 +2342,9 @@ export const Video$outboundSchema: z.ZodType< GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyStatus$outboundSchema, }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Video$ { - /** @deprecated use `Video$inboundSchema` instead. */ - export const inboundSchema = Video$inboundSchema; - /** @deprecated use `Video$outboundSchema` instead. */ - export const outboundSchema = Video$outboundSchema; - /** @deprecated use `Video$Outbound` instead. */ - export type Outbound = Video$Outbound; -} - export function videoToJSON(video: Video): string { return JSON.stringify(Video$outboundSchema.parse(video)); } - export function videoFromJSON( jsonString: string, ): SafeParseResult { @@ -2566,7 +2362,6 @@ export const GetConfigurationProductsIntegrationsResponse200ApplicationJSONRespo > = z.nativeEnum( GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsStatus, ); - /** @internal */ export const GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsStatus$outboundSchema: z.ZodNativeEnum< @@ -2574,19 +2369,6 @@ export const GetConfigurationProductsIntegrationsResponse200ApplicationJSONRespo > = GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsStatus$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsStatus$ { - /** @deprecated use `GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsStatus$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsStatus$inboundSchema; - /** @deprecated use `GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsStatus$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsStatus$outboundSchema; -} - /** @internal */ export const Workflow$inboundSchema: z.ZodType< Workflow, @@ -2596,7 +2378,6 @@ export const Workflow$inboundSchema: z.ZodType< status: GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsStatus$inboundSchema, }); - /** @internal */ export type Workflow$Outbound = { status: string; @@ -2612,23 +2393,9 @@ export const Workflow$outboundSchema: z.ZodType< GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsStatus$outboundSchema, }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Workflow$ { - /** @deprecated use `Workflow$inboundSchema` instead. */ - export const inboundSchema = Workflow$inboundSchema; - /** @deprecated use `Workflow$outboundSchema` instead. */ - export const outboundSchema = Workflow$outboundSchema; - /** @deprecated use `Workflow$Outbound` instead. */ - export type Outbound = Workflow$Outbound; -} - export function workflowToJSON(workflow: Workflow): string { return JSON.stringify(Workflow$outboundSchema.parse(workflow)); } - export function workflowFromJSON( jsonString: string, ): SafeParseResult { @@ -2646,7 +2413,6 @@ export const GetConfigurationProductsIntegrationsResponse200ApplicationJSONRespo > = z.nativeEnum( GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsStatus, ); - /** @internal */ export const GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsStatus$outboundSchema: z.ZodNativeEnum< @@ -2654,19 +2420,6 @@ export const GetConfigurationProductsIntegrationsResponse200ApplicationJSONRespo > = GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsStatus$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsStatus$ { - /** @deprecated use `GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsStatus$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsStatus$inboundSchema; - /** @deprecated use `GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsStatus$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsStatus$outboundSchema; -} - /** @internal */ export const GetConfigurationProductsChecks$inboundSchema: z.ZodType< GetConfigurationProductsChecks, @@ -2676,7 +2429,6 @@ export const GetConfigurationProductsChecks$inboundSchema: z.ZodType< status: GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsStatus$inboundSchema, }); - /** @internal */ export type GetConfigurationProductsChecks$Outbound = { status: string; @@ -2692,19 +2444,6 @@ export const GetConfigurationProductsChecks$outboundSchema: z.ZodType< GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsStatus$outboundSchema, }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsChecks$ { - /** @deprecated use `GetConfigurationProductsChecks$inboundSchema` instead. */ - export const inboundSchema = GetConfigurationProductsChecks$inboundSchema; - /** @deprecated use `GetConfigurationProductsChecks$outboundSchema` instead. */ - export const outboundSchema = GetConfigurationProductsChecks$outboundSchema; - /** @deprecated use `GetConfigurationProductsChecks$Outbound` instead. */ - export type Outbound = GetConfigurationProductsChecks$Outbound; -} - export function getConfigurationProductsChecksToJSON( getConfigurationProductsChecks: GetConfigurationProductsChecks, ): string { @@ -2714,7 +2453,6 @@ export function getConfigurationProductsChecksToJSON( ), ); } - export function getConfigurationProductsChecksFromJSON( jsonString: string, ): SafeParseResult { @@ -2732,7 +2470,6 @@ export const GetConfigurationProductsIntegrationsResponse200ApplicationJSONRespo > = z.nativeEnum( GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsLogDrainStatus, ); - /** @internal */ export const GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsLogDrainStatus$outboundSchema: z.ZodNativeEnum< @@ -2740,38 +2477,13 @@ export const GetConfigurationProductsIntegrationsResponse200ApplicationJSONRespo > = GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsLogDrainStatus$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsLogDrainStatus$ { - /** @deprecated use `GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsLogDrainStatus$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsLogDrainStatus$inboundSchema; - /** @deprecated use `GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsLogDrainStatus$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsLogDrainStatus$outboundSchema; -} - /** @internal */ export const Format$inboundSchema: z.ZodNativeEnum = z .nativeEnum(Format); - /** @internal */ export const Format$outboundSchema: z.ZodNativeEnum = Format$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Format$ { - /** @deprecated use `Format$inboundSchema` instead. */ - export const inboundSchema = Format$inboundSchema; - /** @deprecated use `Format$outboundSchema` instead. */ - export const outboundSchema = Format$outboundSchema; -} - /** @internal */ export const LogDrain$inboundSchema: z.ZodType< LogDrain, @@ -2784,7 +2496,6 @@ export const LogDrain$inboundSchema: z.ZodType< headers: z.record(z.string()).optional(), format: Format$inboundSchema, }); - /** @internal */ export type LogDrain$Outbound = { status: string; @@ -2806,23 +2517,9 @@ export const LogDrain$outboundSchema: z.ZodType< format: Format$outboundSchema, }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace LogDrain$ { - /** @deprecated use `LogDrain$inboundSchema` instead. */ - export const inboundSchema = LogDrain$inboundSchema; - /** @deprecated use `LogDrain$outboundSchema` instead. */ - export const outboundSchema = LogDrain$outboundSchema; - /** @deprecated use `LogDrain$Outbound` instead. */ - export type Outbound = LogDrain$Outbound; -} - export function logDrainToJSON(logDrain: LogDrain): string { return JSON.stringify(LogDrain$outboundSchema.parse(logDrain)); } - export function logDrainFromJSON( jsonString: string, ): SafeParseResult { @@ -2840,7 +2537,6 @@ export const GetConfigurationProductsIntegrationsResponse200ApplicationJSONRespo > = z.nativeEnum( GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsTraceDrainStatus, ); - /** @internal */ export const GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsTraceDrainStatus$outboundSchema: z.ZodNativeEnum< @@ -2848,40 +2544,15 @@ export const GetConfigurationProductsIntegrationsResponse200ApplicationJSONRespo > = GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsTraceDrainStatus$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsTraceDrainStatus$ { - /** @deprecated use `GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsTraceDrainStatus$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsTraceDrainStatus$inboundSchema; - /** @deprecated use `GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsTraceDrainStatus$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsTraceDrainStatus$outboundSchema; -} - /** @internal */ export const GetConfigurationProductsFormat$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsFormat > = z.nativeEnum(GetConfigurationProductsFormat); - /** @internal */ export const GetConfigurationProductsFormat$outboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsFormat > = GetConfigurationProductsFormat$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsFormat$ { - /** @deprecated use `GetConfigurationProductsFormat$inboundSchema` instead. */ - export const inboundSchema = GetConfigurationProductsFormat$inboundSchema; - /** @deprecated use `GetConfigurationProductsFormat$outboundSchema` instead. */ - export const outboundSchema = GetConfigurationProductsFormat$outboundSchema; -} - /** @internal */ export const TraceDrain$inboundSchema: z.ZodType< TraceDrain, @@ -2894,7 +2565,6 @@ export const TraceDrain$inboundSchema: z.ZodType< headers: z.record(z.string()).optional(), format: GetConfigurationProductsFormat$inboundSchema, }); - /** @internal */ export type TraceDrain$Outbound = { status: string; @@ -2916,23 +2586,9 @@ export const TraceDrain$outboundSchema: z.ZodType< format: GetConfigurationProductsFormat$outboundSchema, }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace TraceDrain$ { - /** @deprecated use `TraceDrain$inboundSchema` instead. */ - export const inboundSchema = TraceDrain$inboundSchema; - /** @deprecated use `TraceDrain$outboundSchema` instead. */ - export const outboundSchema = TraceDrain$outboundSchema; - /** @deprecated use `TraceDrain$Outbound` instead. */ - export type Outbound = TraceDrain$Outbound; -} - export function traceDrainToJSON(traceDrain: TraceDrain): string { return JSON.stringify(TraceDrain$outboundSchema.parse(traceDrain)); } - export function traceDrainFromJSON( jsonString: string, ): SafeParseResult { @@ -2950,7 +2606,6 @@ export const GetConfigurationProductsIntegrationsResponse200ApplicationJSONRespo > = z.nativeEnum( GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsMessagingStatus, ); - /** @internal */ export const GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsMessagingStatus$outboundSchema: z.ZodNativeEnum< @@ -2958,19 +2613,6 @@ export const GetConfigurationProductsIntegrationsResponse200ApplicationJSONRespo > = GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsMessagingStatus$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsMessagingStatus$ { - /** @deprecated use `GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsMessagingStatus$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsMessagingStatus$inboundSchema; - /** @deprecated use `GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsMessagingStatus$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsMessagingStatus$outboundSchema; -} - /** @internal */ export const Messaging$inboundSchema: z.ZodType< Messaging, @@ -2980,7 +2622,6 @@ export const Messaging$inboundSchema: z.ZodType< status: GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsMessagingStatus$inboundSchema, }); - /** @internal */ export type Messaging$Outbound = { status: string; @@ -2996,23 +2637,9 @@ export const Messaging$outboundSchema: z.ZodType< GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsMessagingStatus$outboundSchema, }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Messaging$ { - /** @deprecated use `Messaging$inboundSchema` instead. */ - export const inboundSchema = Messaging$inboundSchema; - /** @deprecated use `Messaging$outboundSchema` instead. */ - export const outboundSchema = Messaging$outboundSchema; - /** @deprecated use `Messaging$Outbound` instead. */ - export type Outbound = Messaging$Outbound; -} - export function messagingToJSON(messaging: Messaging): string { return JSON.stringify(Messaging$outboundSchema.parse(messaging)); } - export function messagingFromJSON( jsonString: string, ): SafeParseResult { @@ -3030,7 +2657,6 @@ export const GetConfigurationProductsIntegrationsResponse200ApplicationJSONRespo > = z.nativeEnum( GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsOtherStatus, ); - /** @internal */ export const GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsOtherStatus$outboundSchema: z.ZodNativeEnum< @@ -3038,26 +2664,12 @@ export const GetConfigurationProductsIntegrationsResponse200ApplicationJSONRespo > = GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsOtherStatus$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsOtherStatus$ { - /** @deprecated use `GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsOtherStatus$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsOtherStatus$inboundSchema; - /** @deprecated use `GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsOtherStatus$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsOtherStatus$outboundSchema; -} - /** @internal */ export const Other$inboundSchema: z.ZodType = z .object({ status: GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsOtherStatus$inboundSchema, }); - /** @internal */ export type Other$Outbound = { status: string; @@ -3073,23 +2685,9 @@ export const Other$outboundSchema: z.ZodType< GetConfigurationProductsIntegrationsResponse200ApplicationJSONResponseBodyProductsProtocolsOtherStatus$outboundSchema, }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Other$ { - /** @deprecated use `Other$inboundSchema` instead. */ - export const inboundSchema = Other$inboundSchema; - /** @deprecated use `Other$outboundSchema` instead. */ - export const outboundSchema = Other$outboundSchema; - /** @deprecated use `Other$Outbound` instead. */ - export type Outbound = Other$Outbound; -} - export function otherToJSON(other: Other): string { return JSON.stringify(Other$outboundSchema.parse(other)); } - export function otherFromJSON( jsonString: string, ): SafeParseResult { @@ -3121,7 +2719,6 @@ export const Protocols$inboundSchema: z.ZodType< messaging: z.lazy(() => Messaging$inboundSchema).optional(), other: z.lazy(() => Other$inboundSchema).optional(), }); - /** @internal */ export type Protocols$Outbound = { storage?: Storage$Outbound | undefined; @@ -3163,23 +2760,9 @@ export const Protocols$outboundSchema: z.ZodType< other: z.lazy(() => Other$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 Protocols$ { - /** @deprecated use `Protocols$inboundSchema` instead. */ - export const inboundSchema = Protocols$inboundSchema; - /** @deprecated use `Protocols$outboundSchema` instead. */ - export const outboundSchema = Protocols$outboundSchema; - /** @deprecated use `Protocols$Outbound` instead. */ - export type Outbound = Protocols$Outbound; -} - export function protocolsToJSON(protocols: Protocols): string { return JSON.stringify(Protocols$outboundSchema.parse(protocols)); } - export function protocolsFromJSON( jsonString: string, ): SafeParseResult { @@ -3194,104 +2777,62 @@ export function protocolsFromJSON( export const PrimaryProtocol$inboundSchema: z.ZodNativeEnum< typeof PrimaryProtocol > = z.nativeEnum(PrimaryProtocol); - /** @internal */ export const PrimaryProtocol$outboundSchema: z.ZodNativeEnum< typeof PrimaryProtocol > = PrimaryProtocol$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PrimaryProtocol$ { - /** @deprecated use `PrimaryProtocol$inboundSchema` instead. */ - export const inboundSchema = PrimaryProtocol$inboundSchema; - /** @deprecated use `PrimaryProtocol$outboundSchema` instead. */ - export const outboundSchema = PrimaryProtocol$outboundSchema; -} - /** @internal */ export const GetConfigurationProductsType$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsType > = z.nativeEnum(GetConfigurationProductsType); - /** @internal */ export const GetConfigurationProductsType$outboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsType > = GetConfigurationProductsType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsType$ { - /** @deprecated use `GetConfigurationProductsType$inboundSchema` instead. */ - export const inboundSchema = GetConfigurationProductsType$inboundSchema; - /** @deprecated use `GetConfigurationProductsType$outboundSchema` instead. */ - export const outboundSchema = GetConfigurationProductsType$outboundSchema; -} - /** @internal */ -export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema10AtBRANDAt543472$inboundSchema: +export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema10AtBRANDAt649501$inboundSchema: z.ZodType< - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema10AtBRANDAt543472, + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema10AtBRANDAt649501, z.ZodTypeDef, unknown > = z.object({}); - /** @internal */ -export type GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema10AtBRANDAt543472$Outbound = +export type GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema10AtBRANDAt649501$Outbound = {}; /** @internal */ -export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema10AtBRANDAt543472$outboundSchema: +export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema10AtBRANDAt649501$outboundSchema: z.ZodType< - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema10AtBRANDAt543472$Outbound, + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema10AtBRANDAt649501$Outbound, z.ZodTypeDef, - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema10AtBRANDAt543472 + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema10AtBRANDAt649501 > = 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 GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema10AtBRANDAt543472$ { - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema10AtBRANDAt543472$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema10AtBRANDAt543472$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema10AtBRANDAt543472$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema10AtBRANDAt543472$outboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema10AtBRANDAt543472$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema10AtBRANDAt543472$Outbound; -} - -export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema10AtBRANDAt543472ToJSON( - getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema10AtBRANDAt543472: - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema10AtBRANDAt543472, +export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema10AtBRANDAt649501ToJSON( + getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema10AtBRANDAt649501: + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema10AtBRANDAt649501, ): string { return JSON.stringify( - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema10AtBRANDAt543472$outboundSchema + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema10AtBRANDAt649501$outboundSchema .parse( - getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema10AtBRANDAt543472, + getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema10AtBRANDAt649501, ), ); } - -export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema10AtBRANDAt543472FromJSON( +export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema10AtBRANDAt649501FromJSON( jsonString: string, ): SafeParseResult< - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema10AtBRANDAt543472, + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema10AtBRANDAt649501, SDKValidationError > { return safeParse( jsonString, (x) => - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema10AtBRANDAt543472$inboundSchema + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema10AtBRANDAt649501$inboundSchema .parse(JSON.parse(x)), - `Failed to parse 'GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema10AtBRANDAt543472' from JSON`, + `Failed to parse 'GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema10AtBRANDAt649501' from JSON`, ); } @@ -3301,19 +2842,18 @@ export const PropertiesValue$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - "__@BRAND@543472": z.lazy(() => - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema10AtBRANDAt543472$inboundSchema + "__@BRAND@649501": z.lazy(() => + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema10AtBRANDAt649501$inboundSchema ), }).transform((v) => { return remap$(v, { - "__@BRAND@543472": "atBRANDAt543472", + "__@BRAND@649501": "atBRANDAt649501", }); }); - /** @internal */ export type PropertiesValue$Outbound = { - "__@BRAND@543472": - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema10AtBRANDAt543472$Outbound; + "__@BRAND@649501": + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema10AtBRANDAt649501$Outbound; }; /** @internal */ @@ -3322,34 +2862,20 @@ export const PropertiesValue$outboundSchema: z.ZodType< z.ZodTypeDef, PropertiesValue > = z.object({ - atBRANDAt543472: z.lazy(() => - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema10AtBRANDAt543472$outboundSchema + atBRANDAt649501: z.lazy(() => + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema10AtBRANDAt649501$outboundSchema ), }).transform((v) => { return remap$(v, { - atBRANDAt543472: "__@BRAND@543472", + atBRANDAt649501: "__@BRAND@649501", }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PropertiesValue$ { - /** @deprecated use `PropertiesValue$inboundSchema` instead. */ - export const inboundSchema = PropertiesValue$inboundSchema; - /** @deprecated use `PropertiesValue$outboundSchema` instead. */ - export const outboundSchema = PropertiesValue$outboundSchema; - /** @deprecated use `PropertiesValue$Outbound` instead. */ - export type Outbound = PropertiesValue$Outbound; -} - export function propertiesValueToJSON( propertiesValue: PropertiesValue, ): string { return JSON.stringify(PropertiesValue$outboundSchema.parse(propertiesValue)); } - export function propertiesValueFromJSON( jsonString: string, ): SafeParseResult { @@ -3364,24 +2890,11 @@ export function propertiesValueFromJSON( export const GetConfigurationProductsDisabled3$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsDisabled3 > = z.nativeEnum(GetConfigurationProductsDisabled3); - /** @internal */ export const GetConfigurationProductsDisabled3$outboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsDisabled3 > = GetConfigurationProductsDisabled3$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsDisabled3$ { - /** @deprecated use `GetConfigurationProductsDisabled3$inboundSchema` instead. */ - export const inboundSchema = GetConfigurationProductsDisabled3$inboundSchema; - /** @deprecated use `GetConfigurationProductsDisabled3$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsDisabled3$outboundSchema; -} - /** @internal */ export const GetConfigurationProductsDisabled2$inboundSchema: z.ZodType< GetConfigurationProductsDisabled2, @@ -3390,7 +2903,6 @@ export const GetConfigurationProductsDisabled2$inboundSchema: z.ZodType< > = z.object({ expr: z.string(), }); - /** @internal */ export type GetConfigurationProductsDisabled2$Outbound = { expr: string; @@ -3405,20 +2917,6 @@ export const GetConfigurationProductsDisabled2$outboundSchema: z.ZodType< expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsDisabled2$ { - /** @deprecated use `GetConfigurationProductsDisabled2$inboundSchema` instead. */ - export const inboundSchema = GetConfigurationProductsDisabled2$inboundSchema; - /** @deprecated use `GetConfigurationProductsDisabled2$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsDisabled2$outboundSchema; - /** @deprecated use `GetConfigurationProductsDisabled2$Outbound` instead. */ - export type Outbound = GetConfigurationProductsDisabled2$Outbound; -} - export function getConfigurationProductsDisabled2ToJSON( getConfigurationProductsDisabled2: GetConfigurationProductsDisabled2, ): string { @@ -3428,7 +2926,6 @@ export function getConfigurationProductsDisabled2ToJSON( ), ); } - export function getConfigurationProductsDisabled2FromJSON( jsonString: string, ): SafeParseResult { @@ -3449,7 +2946,6 @@ export const PropertiesDisabled$inboundSchema: z.ZodType< z.boolean(), GetConfigurationProductsDisabled3$inboundSchema, ]); - /** @internal */ export type PropertiesDisabled$Outbound = | GetConfigurationProductsDisabled2$Outbound @@ -3467,19 +2963,6 @@ export const PropertiesDisabled$outboundSchema: z.ZodType< GetConfigurationProductsDisabled3$outboundSchema, ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PropertiesDisabled$ { - /** @deprecated use `PropertiesDisabled$inboundSchema` instead. */ - export const inboundSchema = PropertiesDisabled$inboundSchema; - /** @deprecated use `PropertiesDisabled$outboundSchema` instead. */ - export const outboundSchema = PropertiesDisabled$outboundSchema; - /** @deprecated use `PropertiesDisabled$Outbound` instead. */ - export type Outbound = PropertiesDisabled$Outbound; -} - export function propertiesDisabledToJSON( propertiesDisabled: PropertiesDisabled, ): string { @@ -3487,7 +2970,6 @@ export function propertiesDisabledToJSON( PropertiesDisabled$outboundSchema.parse(propertiesDisabled), ); } - export function propertiesDisabledFromJSON( jsonString: string, ): SafeParseResult { @@ -3502,23 +2984,11 @@ export function propertiesDisabledFromJSON( export const GetConfigurationProductsHidden3$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsHidden3 > = z.nativeEnum(GetConfigurationProductsHidden3); - /** @internal */ export const GetConfigurationProductsHidden3$outboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsHidden3 > = GetConfigurationProductsHidden3$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsHidden3$ { - /** @deprecated use `GetConfigurationProductsHidden3$inboundSchema` instead. */ - export const inboundSchema = GetConfigurationProductsHidden3$inboundSchema; - /** @deprecated use `GetConfigurationProductsHidden3$outboundSchema` instead. */ - export const outboundSchema = GetConfigurationProductsHidden3$outboundSchema; -} - /** @internal */ export const GetConfigurationProductsHidden2$inboundSchema: z.ZodType< GetConfigurationProductsHidden2, @@ -3527,7 +2997,6 @@ export const GetConfigurationProductsHidden2$inboundSchema: z.ZodType< > = z.object({ expr: z.string(), }); - /** @internal */ export type GetConfigurationProductsHidden2$Outbound = { expr: string; @@ -3542,19 +3011,6 @@ export const GetConfigurationProductsHidden2$outboundSchema: z.ZodType< expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsHidden2$ { - /** @deprecated use `GetConfigurationProductsHidden2$inboundSchema` instead. */ - export const inboundSchema = GetConfigurationProductsHidden2$inboundSchema; - /** @deprecated use `GetConfigurationProductsHidden2$outboundSchema` instead. */ - export const outboundSchema = GetConfigurationProductsHidden2$outboundSchema; - /** @deprecated use `GetConfigurationProductsHidden2$Outbound` instead. */ - export type Outbound = GetConfigurationProductsHidden2$Outbound; -} - export function getConfigurationProductsHidden2ToJSON( getConfigurationProductsHidden2: GetConfigurationProductsHidden2, ): string { @@ -3564,7 +3020,6 @@ export function getConfigurationProductsHidden2ToJSON( ), ); } - export function getConfigurationProductsHidden2FromJSON( jsonString: string, ): SafeParseResult { @@ -3585,7 +3040,6 @@ export const PropertiesHidden$inboundSchema: z.ZodType< z.boolean(), GetConfigurationProductsHidden3$inboundSchema, ]); - /** @internal */ export type PropertiesHidden$Outbound = | GetConfigurationProductsHidden2$Outbound @@ -3603,19 +3057,6 @@ export const PropertiesHidden$outboundSchema: z.ZodType< GetConfigurationProductsHidden3$outboundSchema, ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PropertiesHidden$ { - /** @deprecated use `PropertiesHidden$inboundSchema` instead. */ - export const inboundSchema = PropertiesHidden$inboundSchema; - /** @deprecated use `PropertiesHidden$outboundSchema` instead. */ - export const outboundSchema = PropertiesHidden$outboundSchema; - /** @deprecated use `PropertiesHidden$Outbound` instead. */ - export type Outbound = PropertiesHidden$Outbound; -} - export function propertiesHiddenToJSON( propertiesHidden: PropertiesHidden, ): string { @@ -3623,7 +3064,6 @@ export function propertiesHiddenToJSON( PropertiesHidden$outboundSchema.parse(propertiesHidden), ); } - export function propertiesHiddenFromJSON( jsonString: string, ): SafeParseResult { @@ -3652,7 +3092,6 @@ export const Properties10$inboundSchema: z.ZodType< GetConfigurationProductsHidden3$inboundSchema, ]).optional(), }); - /** @internal */ export type Properties10$Outbound = { value: PropertiesValue$Outbound; @@ -3687,23 +3126,9 @@ export const Properties10$outboundSchema: z.ZodType< ]).optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Properties10$ { - /** @deprecated use `Properties10$inboundSchema` instead. */ - export const inboundSchema = Properties10$inboundSchema; - /** @deprecated use `Properties10$outboundSchema` instead. */ - export const outboundSchema = Properties10$outboundSchema; - /** @deprecated use `Properties10$Outbound` instead. */ - export type Outbound = Properties10$Outbound; -} - export function properties10ToJSON(properties10: Properties10): string { return JSON.stringify(Properties10$outboundSchema.parse(properties10)); } - export function properties10FromJSON( jsonString: string, ): SafeParseResult { @@ -3721,7 +3146,6 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200Applicatio > = z.nativeEnum( GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaType, ); - /** @internal */ export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaType$outboundSchema: z.ZodNativeEnum< @@ -3729,19 +3153,6 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200Applicatio > = GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaType$ { - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaType$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaType$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaType$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaType$outboundSchema; -} - /** @internal */ export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiControl$inboundSchema: z.ZodNativeEnum< @@ -3749,7 +3160,6 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200Applicatio > = z.nativeEnum( GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiControl, ); - /** @internal */ export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiControl$outboundSchema: z.ZodNativeEnum< @@ -3757,79 +3167,48 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200Applicatio > = GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiControl$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiControl$ { - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiControl$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiControl$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiControl$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiControl$outboundSchema; -} - /** @internal */ -export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9AtBRANDAt543472$inboundSchema: +export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9AtBRANDAt649501$inboundSchema: z.ZodType< - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9AtBRANDAt543472, + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9AtBRANDAt649501, z.ZodTypeDef, unknown > = z.object({}); - /** @internal */ -export type GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9AtBRANDAt543472$Outbound = +export type GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9AtBRANDAt649501$Outbound = {}; /** @internal */ -export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9AtBRANDAt543472$outboundSchema: +export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9AtBRANDAt649501$outboundSchema: z.ZodType< - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9AtBRANDAt543472$Outbound, + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9AtBRANDAt649501$Outbound, z.ZodTypeDef, - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9AtBRANDAt543472 + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9AtBRANDAt649501 > = 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 GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9AtBRANDAt543472$ { - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9AtBRANDAt543472$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9AtBRANDAt543472$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9AtBRANDAt543472$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9AtBRANDAt543472$outboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9AtBRANDAt543472$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9AtBRANDAt543472$Outbound; -} - -export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9AtBRANDAt543472ToJSON( - getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9AtBRANDAt543472: - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9AtBRANDAt543472, +export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9AtBRANDAt649501ToJSON( + getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9AtBRANDAt649501: + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9AtBRANDAt649501, ): string { return JSON.stringify( - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9AtBRANDAt543472$outboundSchema + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9AtBRANDAt649501$outboundSchema .parse( - getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9AtBRANDAt543472, + getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9AtBRANDAt649501, ), ); } - -export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9AtBRANDAt543472FromJSON( +export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9AtBRANDAt649501FromJSON( jsonString: string, ): SafeParseResult< - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9AtBRANDAt543472, + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9AtBRANDAt649501, SDKValidationError > { return safeParse( jsonString, (x) => - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9AtBRANDAt543472$inboundSchema + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9AtBRANDAt649501$inboundSchema .parse(JSON.parse(x)), - `Failed to parse 'GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9AtBRANDAt543472' from JSON`, + `Failed to parse 'GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9AtBRANDAt649501' from JSON`, ); } @@ -3840,19 +3219,18 @@ export const GetConfigurationProductsPropertiesIntegrationsMinLength$inboundSche z.ZodTypeDef, unknown > = z.object({ - "__@BRAND@543472": z.lazy(() => - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9AtBRANDAt543472$inboundSchema + "__@BRAND@649501": z.lazy(() => + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9AtBRANDAt649501$inboundSchema ), }).transform((v) => { return remap$(v, { - "__@BRAND@543472": "atBRANDAt543472", + "__@BRAND@649501": "atBRANDAt649501", }); }); - /** @internal */ export type GetConfigurationProductsPropertiesIntegrationsMinLength$Outbound = { - "__@BRAND@543472": - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9AtBRANDAt543472$Outbound; + "__@BRAND@649501": + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9AtBRANDAt649501$Outbound; }; /** @internal */ @@ -3862,31 +3240,15 @@ export const GetConfigurationProductsPropertiesIntegrationsMinLength$outboundSch z.ZodTypeDef, GetConfigurationProductsPropertiesIntegrationsMinLength > = z.object({ - atBRANDAt543472: z.lazy(() => - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9AtBRANDAt543472$outboundSchema + atBRANDAt649501: z.lazy(() => + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9AtBRANDAt649501$outboundSchema ), }).transform((v) => { return remap$(v, { - atBRANDAt543472: "__@BRAND@543472", + atBRANDAt649501: "__@BRAND@649501", }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsPropertiesIntegrationsMinLength$ { - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsMinLength$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesIntegrationsMinLength$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsMinLength$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesIntegrationsMinLength$outboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsMinLength$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsPropertiesIntegrationsMinLength$Outbound; -} - export function getConfigurationProductsPropertiesIntegrationsMinLengthToJSON( getConfigurationProductsPropertiesIntegrationsMinLength: GetConfigurationProductsPropertiesIntegrationsMinLength, @@ -3896,7 +3258,6 @@ export function getConfigurationProductsPropertiesIntegrationsMinLengthToJSON( .parse(getConfigurationProductsPropertiesIntegrationsMinLength), ); } - export function getConfigurationProductsPropertiesIntegrationsMinLengthFromJSON( jsonString: string, ): SafeParseResult< @@ -3913,65 +3274,47 @@ export function getConfigurationProductsPropertiesIntegrationsMinLengthFromJSON( } /** @internal */ -export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9MaxLengthAtBRANDAt543472$inboundSchema: +export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9MaxLengthAtBRANDAt649501$inboundSchema: z.ZodType< - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9MaxLengthAtBRANDAt543472, + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9MaxLengthAtBRANDAt649501, z.ZodTypeDef, unknown > = z.object({}); - /** @internal */ -export type GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9MaxLengthAtBRANDAt543472$Outbound = +export type GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9MaxLengthAtBRANDAt649501$Outbound = {}; /** @internal */ -export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9MaxLengthAtBRANDAt543472$outboundSchema: +export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9MaxLengthAtBRANDAt649501$outboundSchema: z.ZodType< - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9MaxLengthAtBRANDAt543472$Outbound, + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9MaxLengthAtBRANDAt649501$Outbound, z.ZodTypeDef, - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9MaxLengthAtBRANDAt543472 + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9MaxLengthAtBRANDAt649501 > = 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 GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9MaxLengthAtBRANDAt543472$ { - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9MaxLengthAtBRANDAt543472$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9MaxLengthAtBRANDAt543472$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9MaxLengthAtBRANDAt543472$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9MaxLengthAtBRANDAt543472$outboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9MaxLengthAtBRANDAt543472$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9MaxLengthAtBRANDAt543472$Outbound; -} - -export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9MaxLengthAtBRANDAt543472ToJSON( - getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9MaxLengthAtBRANDAt543472: - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9MaxLengthAtBRANDAt543472, +export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9MaxLengthAtBRANDAt649501ToJSON( + getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9MaxLengthAtBRANDAt649501: + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9MaxLengthAtBRANDAt649501, ): string { return JSON.stringify( - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9MaxLengthAtBRANDAt543472$outboundSchema + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9MaxLengthAtBRANDAt649501$outboundSchema .parse( - getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9MaxLengthAtBRANDAt543472, + getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9MaxLengthAtBRANDAt649501, ), ); } - -export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9MaxLengthAtBRANDAt543472FromJSON( +export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9MaxLengthAtBRANDAt649501FromJSON( jsonString: string, ): SafeParseResult< - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9MaxLengthAtBRANDAt543472, + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9MaxLengthAtBRANDAt649501, SDKValidationError > { return safeParse( jsonString, (x) => - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9MaxLengthAtBRANDAt543472$inboundSchema + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9MaxLengthAtBRANDAt649501$inboundSchema .parse(JSON.parse(x)), - `Failed to parse 'GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9MaxLengthAtBRANDAt543472' from JSON`, + `Failed to parse 'GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9MaxLengthAtBRANDAt649501' from JSON`, ); } @@ -3982,19 +3325,18 @@ export const GetConfigurationProductsPropertiesIntegrationsMaxLength$inboundSche z.ZodTypeDef, unknown > = z.object({ - "__@BRAND@543472": z.lazy(() => - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9MaxLengthAtBRANDAt543472$inboundSchema + "__@BRAND@649501": z.lazy(() => + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9MaxLengthAtBRANDAt649501$inboundSchema ), }).transform((v) => { return remap$(v, { - "__@BRAND@543472": "atBRANDAt543472", + "__@BRAND@649501": "atBRANDAt649501", }); }); - /** @internal */ export type GetConfigurationProductsPropertiesIntegrationsMaxLength$Outbound = { - "__@BRAND@543472": - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9MaxLengthAtBRANDAt543472$Outbound; + "__@BRAND@649501": + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9MaxLengthAtBRANDAt649501$Outbound; }; /** @internal */ @@ -4004,31 +3346,15 @@ export const GetConfigurationProductsPropertiesIntegrationsMaxLength$outboundSch z.ZodTypeDef, GetConfigurationProductsPropertiesIntegrationsMaxLength > = z.object({ - atBRANDAt543472: z.lazy(() => - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9MaxLengthAtBRANDAt543472$outboundSchema + atBRANDAt649501: z.lazy(() => + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9MaxLengthAtBRANDAt649501$outboundSchema ), }).transform((v) => { return remap$(v, { - atBRANDAt543472: "__@BRAND@543472", + atBRANDAt649501: "__@BRAND@649501", }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsPropertiesIntegrationsMaxLength$ { - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsMaxLength$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesIntegrationsMaxLength$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsMaxLength$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesIntegrationsMaxLength$outboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsMaxLength$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsPropertiesIntegrationsMaxLength$Outbound; -} - export function getConfigurationProductsPropertiesIntegrationsMaxLengthToJSON( getConfigurationProductsPropertiesIntegrationsMaxLength: GetConfigurationProductsPropertiesIntegrationsMaxLength, @@ -4038,7 +3364,6 @@ export function getConfigurationProductsPropertiesIntegrationsMaxLengthToJSON( .parse(getConfigurationProductsPropertiesIntegrationsMaxLength), ); } - export function getConfigurationProductsPropertiesIntegrationsMaxLengthFromJSON( jsonString: string, ): SafeParseResult< @@ -4055,65 +3380,47 @@ export function getConfigurationProductsPropertiesIntegrationsMaxLengthFromJSON( } /** @internal */ -export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9PatternAtBRANDAt543472$inboundSchema: +export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9PatternAtBRANDAt649501$inboundSchema: z.ZodType< - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9PatternAtBRANDAt543472, + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9PatternAtBRANDAt649501, z.ZodTypeDef, unknown > = z.object({}); - /** @internal */ -export type GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9PatternAtBRANDAt543472$Outbound = +export type GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9PatternAtBRANDAt649501$Outbound = {}; /** @internal */ -export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9PatternAtBRANDAt543472$outboundSchema: +export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9PatternAtBRANDAt649501$outboundSchema: z.ZodType< - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9PatternAtBRANDAt543472$Outbound, + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9PatternAtBRANDAt649501$Outbound, z.ZodTypeDef, - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9PatternAtBRANDAt543472 + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9PatternAtBRANDAt649501 > = 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 GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9PatternAtBRANDAt543472$ { - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9PatternAtBRANDAt543472$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9PatternAtBRANDAt543472$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9PatternAtBRANDAt543472$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9PatternAtBRANDAt543472$outboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9PatternAtBRANDAt543472$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9PatternAtBRANDAt543472$Outbound; -} - -export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9PatternAtBRANDAt543472ToJSON( - getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9PatternAtBRANDAt543472: - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9PatternAtBRANDAt543472, +export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9PatternAtBRANDAt649501ToJSON( + getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9PatternAtBRANDAt649501: + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9PatternAtBRANDAt649501, ): string { return JSON.stringify( - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9PatternAtBRANDAt543472$outboundSchema + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9PatternAtBRANDAt649501$outboundSchema .parse( - getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9PatternAtBRANDAt543472, + getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9PatternAtBRANDAt649501, ), ); } - -export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9PatternAtBRANDAt543472FromJSON( +export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9PatternAtBRANDAt649501FromJSON( jsonString: string, ): SafeParseResult< - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9PatternAtBRANDAt543472, + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9PatternAtBRANDAt649501, SDKValidationError > { return safeParse( jsonString, (x) => - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9PatternAtBRANDAt543472$inboundSchema + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9PatternAtBRANDAt649501$inboundSchema .parse(JSON.parse(x)), - `Failed to parse 'GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9PatternAtBRANDAt543472' from JSON`, + `Failed to parse 'GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9PatternAtBRANDAt649501' from JSON`, ); } @@ -4124,19 +3431,18 @@ export const GetConfigurationProductsPropertiesIntegrationsPattern$inboundSchema z.ZodTypeDef, unknown > = z.object({ - "__@BRAND@543472": z.lazy(() => - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9PatternAtBRANDAt543472$inboundSchema + "__@BRAND@649501": z.lazy(() => + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9PatternAtBRANDAt649501$inboundSchema ), }).transform((v) => { return remap$(v, { - "__@BRAND@543472": "atBRANDAt543472", + "__@BRAND@649501": "atBRANDAt649501", }); }); - /** @internal */ export type GetConfigurationProductsPropertiesIntegrationsPattern$Outbound = { - "__@BRAND@543472": - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9PatternAtBRANDAt543472$Outbound; + "__@BRAND@649501": + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9PatternAtBRANDAt649501$Outbound; }; /** @internal */ @@ -4146,31 +3452,15 @@ export const GetConfigurationProductsPropertiesIntegrationsPattern$outboundSchem z.ZodTypeDef, GetConfigurationProductsPropertiesIntegrationsPattern > = z.object({ - atBRANDAt543472: z.lazy(() => - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9PatternAtBRANDAt543472$outboundSchema + atBRANDAt649501: z.lazy(() => + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema9PatternAtBRANDAt649501$outboundSchema ), }).transform((v) => { return remap$(v, { - atBRANDAt543472: "__@BRAND@543472", + atBRANDAt649501: "__@BRAND@649501", }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsPropertiesIntegrationsPattern$ { - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsPattern$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesIntegrationsPattern$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsPattern$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesIntegrationsPattern$outboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsPattern$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsPropertiesIntegrationsPattern$Outbound; -} - export function getConfigurationProductsPropertiesIntegrationsPatternToJSON( getConfigurationProductsPropertiesIntegrationsPattern: GetConfigurationProductsPropertiesIntegrationsPattern, @@ -4181,7 +3471,6 @@ export function getConfigurationProductsPropertiesIntegrationsPatternToJSON( ), ); } - export function getConfigurationProductsPropertiesIntegrationsPatternFromJSON( jsonString: string, ): SafeParseResult< @@ -4205,7 +3494,6 @@ export const GetConfigurationProductsUiReadOnlyIntegrationsResponse200Applicatio > = z.nativeEnum( GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3, ); - /** @internal */ export const GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3$outboundSchema: z.ZodNativeEnum< @@ -4213,19 +3501,6 @@ export const GetConfigurationProductsUiReadOnlyIntegrationsResponse200Applicatio > = GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3$ { - /** @deprecated use `GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3$inboundSchema; - /** @deprecated use `GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3$outboundSchema; -} - /** @internal */ export const GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema2$inboundSchema: z.ZodType< @@ -4235,7 +3510,6 @@ export const GetConfigurationProductsUiReadOnlyIntegrationsResponse200Applicatio > = z.object({ expr: z.string(), }); - /** @internal */ export type GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema2$Outbound = { @@ -4252,22 +3526,6 @@ export const GetConfigurationProductsUiReadOnlyIntegrationsResponse200Applicatio expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema2$ { - /** @deprecated use `GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema2$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema2$inboundSchema; - /** @deprecated use `GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema2$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema2$outboundSchema; - /** @deprecated use `GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema2$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema2$Outbound; -} - export function getConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema2ToJSON( getConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema2: GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema2, @@ -4279,7 +3537,6 @@ export function getConfigurationProductsUiReadOnlyIntegrationsResponse200Applica ), ); } - export function getConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema2FromJSON( jsonString: string, ): SafeParseResult< @@ -4308,7 +3565,6 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200Applicatio z.boolean(), GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3$inboundSchema, ]); - /** @internal */ export type GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiReadOnly$Outbound = | GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema2$Outbound @@ -4329,22 +3585,6 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200Applicatio GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3$outboundSchema, ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiReadOnly$ { - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiReadOnly$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiReadOnly$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiReadOnly$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiReadOnly$outboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiReadOnly$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiReadOnly$Outbound; -} - export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiReadOnlyToJSON( getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiReadOnly: GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiReadOnly, @@ -4356,7 +3596,6 @@ export function getConfigurationProductsPropertiesIntegrationsResponse200Applica ), ); } - export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiReadOnlyFromJSON( jsonString: string, ): SafeParseResult< @@ -4379,7 +3618,6 @@ export const GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJ > = z.nativeEnum( GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3, ); - /** @internal */ export const GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3$outboundSchema: z.ZodNativeEnum< @@ -4387,19 +3625,6 @@ export const GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJ > = GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3$ { - /** @deprecated use `GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3$inboundSchema; - /** @deprecated use `GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3$outboundSchema; -} - /** @internal */ export const GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema2$inboundSchema: z.ZodType< @@ -4409,7 +3634,6 @@ export const GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJ > = z.object({ expr: z.string(), }); - /** @internal */ export type GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema2$Outbound = { @@ -4426,22 +3650,6 @@ export const GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJ expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema2$ { - /** @deprecated use `GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema2$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema2$inboundSchema; - /** @deprecated use `GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema2$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema2$outboundSchema; - /** @deprecated use `GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema2$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema2$Outbound; -} - export function getConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema2ToJSON( getConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema2: GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema2, @@ -4453,7 +3661,6 @@ export function getConfigurationProductsUiHiddenIntegrationsResponse200Applicati ), ); } - export function getConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema2FromJSON( jsonString: string, ): SafeParseResult< @@ -4482,7 +3689,6 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200Applicatio z.boolean(), GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3$inboundSchema, ]); - /** @internal */ export type GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiHidden$Outbound = | GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema2$Outbound @@ -4503,22 +3709,6 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200Applicatio GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3$outboundSchema, ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiHidden$ { - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiHidden$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiHidden$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiHidden$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiHidden$outboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiHidden$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiHidden$Outbound; -} - export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiHiddenToJSON( getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiHidden: GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiHidden, @@ -4530,7 +3720,6 @@ export function getConfigurationProductsPropertiesIntegrationsResponse200Applica ), ); } - export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiHiddenFromJSON( jsonString: string, ): SafeParseResult< @@ -4553,7 +3742,6 @@ export const GetConfigurationProductsUiDisabledIntegrationsResponse200Applicatio > = z.nativeEnum( GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3, ); - /** @internal */ export const GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3$outboundSchema: z.ZodNativeEnum< @@ -4561,19 +3749,6 @@ export const GetConfigurationProductsUiDisabledIntegrationsResponse200Applicatio > = GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3$ { - /** @deprecated use `GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3$inboundSchema; - /** @deprecated use `GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3$outboundSchema; -} - /** @internal */ export const GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema2$inboundSchema: z.ZodType< @@ -4583,7 +3758,6 @@ export const GetConfigurationProductsUiDisabledIntegrationsResponse200Applicatio > = z.object({ expr: z.string(), }); - /** @internal */ export type GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema2$Outbound = { @@ -4600,22 +3774,6 @@ export const GetConfigurationProductsUiDisabledIntegrationsResponse200Applicatio expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema2$ { - /** @deprecated use `GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema2$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema2$inboundSchema; - /** @deprecated use `GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema2$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema2$outboundSchema; - /** @deprecated use `GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema2$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema2$Outbound; -} - export function getConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema2ToJSON( getConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema2: GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema2, @@ -4627,7 +3785,6 @@ export function getConfigurationProductsUiDisabledIntegrationsResponse200Applica ), ); } - export function getConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema2FromJSON( jsonString: string, ): SafeParseResult< @@ -4656,7 +3813,6 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200Applicatio z.boolean(), GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3$inboundSchema, ]); - /** @internal */ export type GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiDisabled$Outbound = | GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema2$Outbound @@ -4677,22 +3833,6 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200Applicatio GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema3$outboundSchema, ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiDisabled$ { - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiDisabled$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiDisabled$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiDisabled$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiDisabled$outboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiDisabled$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiDisabled$Outbound; -} - export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiDisabledToJSON( getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiDisabled: GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiDisabled, @@ -4704,7 +3844,6 @@ export function getConfigurationProductsPropertiesIntegrationsResponse200Applica ), ); } - export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiDisabledFromJSON( jsonString: string, ): SafeParseResult< @@ -4729,7 +3868,6 @@ export const GetConfigurationProductsUiDescriptionIntegrationsResponse200Applica > = z.object({ expr: z.string(), }); - /** @internal */ export type GetConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema2$Outbound = { @@ -4744,23 +3882,7 @@ export const GetConfigurationProductsUiDescriptionIntegrationsResponse200Applica GetConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema2 > = z.object({ expr: z.string(), - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema2$ { - /** @deprecated use `GetConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema2$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema2$inboundSchema; - /** @deprecated use `GetConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema2$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema2$outboundSchema; - /** @deprecated use `GetConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema2$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema2$Outbound; -} + }); export function getConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema2ToJSON( getConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema2: @@ -4773,7 +3895,6 @@ export function getConfigurationProductsUiDescriptionIntegrationsResponse200Appl ), ); } - export function getConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema2FromJSON( jsonString: string, ): SafeParseResult< @@ -4801,7 +3922,6 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200Applicatio ), z.string(), ]); - /** @internal */ export type GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiDescription$Outbound = | GetConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema2$Outbound @@ -4820,22 +3940,6 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200Applicatio z.string(), ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiDescription$ { - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiDescription$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiDescription$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiDescription$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiDescription$outboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiDescription$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiDescription$Outbound; -} - export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiDescriptionToJSON( getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiDescription: GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiDescription, @@ -4847,7 +3951,6 @@ export function getConfigurationProductsPropertiesIntegrationsResponse200Applica ), ); } - export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiDescriptionFromJSON( jsonString: string, ): SafeParseResult< @@ -4872,7 +3975,6 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200Applicatio > = z.object({ expr: z.string(), }); - /** @internal */ export type GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiFormattedValue$Outbound = { @@ -4889,22 +3991,6 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200Applicatio expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiFormattedValue$ { - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiFormattedValue$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiFormattedValue$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiFormattedValue$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiFormattedValue$outboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiFormattedValue$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiFormattedValue$Outbound; -} - export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiFormattedValueToJSON( getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiFormattedValue: GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiFormattedValue, @@ -4916,7 +4002,6 @@ export function getConfigurationProductsPropertiesIntegrationsResponse200Applica ), ); } - export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsUiFormattedValueFromJSON( jsonString: string, ): SafeParseResult< @@ -4998,7 +4083,6 @@ export const Properties9$inboundSchema: z.ZodType< "ui:placeholder": "uiPlaceholder", }); }); - /** @internal */ export type Properties9$Outbound = { type: string; @@ -5108,23 +4192,9 @@ export const Properties9$outboundSchema: z.ZodType< }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Properties9$ { - /** @deprecated use `Properties9$inboundSchema` instead. */ - export const inboundSchema = Properties9$inboundSchema; - /** @deprecated use `Properties9$outboundSchema` instead. */ - export const outboundSchema = Properties9$outboundSchema; - /** @deprecated use `Properties9$Outbound` instead. */ - export type Outbound = Properties9$Outbound; -} - export function properties9ToJSON(properties9: Properties9): string { return JSON.stringify(Properties9$outboundSchema.parse(properties9)); } - export function properties9FromJSON( jsonString: string, ): SafeParseResult { @@ -5142,7 +4212,6 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200Applicatio > = z.nativeEnum( GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsType, ); - /** @internal */ export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsType$outboundSchema: z.ZodNativeEnum< @@ -5150,19 +4219,6 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200Applicatio > = GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsType$ { - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsType$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsType$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsType$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsType$outboundSchema; -} - /** @internal */ export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiControl$inboundSchema: z.ZodNativeEnum< @@ -5170,7 +4226,6 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200Applicatio > = z.nativeEnum( GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiControl, ); - /** @internal */ export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiControl$outboundSchema: z.ZodNativeEnum< @@ -5178,19 +4233,6 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200Applicatio > = GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiControl$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiControl$ { - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiControl$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiControl$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiControl$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiControl$outboundSchema; -} - /** @internal */ export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8Type$inboundSchema: z.ZodNativeEnum< @@ -5198,7 +4240,6 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200Applicatio > = z.nativeEnum( GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8Type, ); - /** @internal */ export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8Type$outboundSchema: z.ZodNativeEnum< @@ -5206,79 +4247,48 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200Applicatio > = GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8Type$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8Type$ { - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8Type$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8Type$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8Type$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8Type$outboundSchema; -} - /** @internal */ -export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsMinLengthAtBRANDAt543472$inboundSchema: +export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsMinLengthAtBRANDAt649501$inboundSchema: z.ZodType< - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsMinLengthAtBRANDAt543472, + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsMinLengthAtBRANDAt649501, z.ZodTypeDef, unknown > = z.object({}); - /** @internal */ -export type GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsMinLengthAtBRANDAt543472$Outbound = +export type GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsMinLengthAtBRANDAt649501$Outbound = {}; /** @internal */ -export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsMinLengthAtBRANDAt543472$outboundSchema: +export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsMinLengthAtBRANDAt649501$outboundSchema: z.ZodType< - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsMinLengthAtBRANDAt543472$Outbound, + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsMinLengthAtBRANDAt649501$Outbound, z.ZodTypeDef, - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsMinLengthAtBRANDAt543472 + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsMinLengthAtBRANDAt649501 > = 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 GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsMinLengthAtBRANDAt543472$ { - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsMinLengthAtBRANDAt543472$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsMinLengthAtBRANDAt543472$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsMinLengthAtBRANDAt543472$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsMinLengthAtBRANDAt543472$outboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsMinLengthAtBRANDAt543472$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsMinLengthAtBRANDAt543472$Outbound; -} - -export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsMinLengthAtBRANDAt543472ToJSON( - getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsMinLengthAtBRANDAt543472: - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsMinLengthAtBRANDAt543472, +export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsMinLengthAtBRANDAt649501ToJSON( + getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsMinLengthAtBRANDAt649501: + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsMinLengthAtBRANDAt649501, ): string { return JSON.stringify( - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsMinLengthAtBRANDAt543472$outboundSchema + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsMinLengthAtBRANDAt649501$outboundSchema .parse( - getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsMinLengthAtBRANDAt543472, + getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsMinLengthAtBRANDAt649501, ), ); } - -export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsMinLengthAtBRANDAt543472FromJSON( +export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsMinLengthAtBRANDAt649501FromJSON( jsonString: string, ): SafeParseResult< - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsMinLengthAtBRANDAt543472, + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsMinLengthAtBRANDAt649501, SDKValidationError > { return safeParse( jsonString, (x) => - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsMinLengthAtBRANDAt543472$inboundSchema + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsMinLengthAtBRANDAt649501$inboundSchema .parse(JSON.parse(x)), - `Failed to parse 'GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsMinLengthAtBRANDAt543472' from JSON`, + `Failed to parse 'GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsMinLengthAtBRANDAt649501' from JSON`, ); } @@ -5289,20 +4299,19 @@ export const GetConfigurationProductsPropertiesIntegrationsResponseMinLength$inb z.ZodTypeDef, unknown > = z.object({ - "__@BRAND@543472": z.lazy(() => - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsMinLengthAtBRANDAt543472$inboundSchema + "__@BRAND@649501": z.lazy(() => + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsMinLengthAtBRANDAt649501$inboundSchema ), }).transform((v) => { return remap$(v, { - "__@BRAND@543472": "atBRANDAt543472", + "__@BRAND@649501": "atBRANDAt649501", }); }); - /** @internal */ export type GetConfigurationProductsPropertiesIntegrationsResponseMinLength$Outbound = { - "__@BRAND@543472": - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsMinLengthAtBRANDAt543472$Outbound; + "__@BRAND@649501": + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsMinLengthAtBRANDAt649501$Outbound; }; /** @internal */ @@ -5312,31 +4321,15 @@ export const GetConfigurationProductsPropertiesIntegrationsResponseMinLength$out z.ZodTypeDef, GetConfigurationProductsPropertiesIntegrationsResponseMinLength > = z.object({ - atBRANDAt543472: z.lazy(() => - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsMinLengthAtBRANDAt543472$outboundSchema + atBRANDAt649501: z.lazy(() => + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsMinLengthAtBRANDAt649501$outboundSchema ), }).transform((v) => { return remap$(v, { - atBRANDAt543472: "__@BRAND@543472", + atBRANDAt649501: "__@BRAND@649501", }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsPropertiesIntegrationsResponseMinLength$ { - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponseMinLength$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponseMinLength$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponseMinLength$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponseMinLength$outboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponseMinLength$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsPropertiesIntegrationsResponseMinLength$Outbound; -} - export function getConfigurationProductsPropertiesIntegrationsResponseMinLengthToJSON( getConfigurationProductsPropertiesIntegrationsResponseMinLength: GetConfigurationProductsPropertiesIntegrationsResponseMinLength, @@ -5346,7 +4339,6 @@ export function getConfigurationProductsPropertiesIntegrationsResponseMinLengthT .parse(getConfigurationProductsPropertiesIntegrationsResponseMinLength), ); } - export function getConfigurationProductsPropertiesIntegrationsResponseMinLengthFromJSON( jsonString: string, ): SafeParseResult< @@ -5363,65 +4355,47 @@ export function getConfigurationProductsPropertiesIntegrationsResponseMinLengthF } /** @internal */ -export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsAtBRANDAt543472$inboundSchema: +export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsAtBRANDAt649501$inboundSchema: z.ZodType< - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsAtBRANDAt543472, + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsAtBRANDAt649501, z.ZodTypeDef, unknown > = z.object({}); - /** @internal */ -export type GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsAtBRANDAt543472$Outbound = +export type GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsAtBRANDAt649501$Outbound = {}; /** @internal */ -export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsAtBRANDAt543472$outboundSchema: +export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsAtBRANDAt649501$outboundSchema: z.ZodType< - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsAtBRANDAt543472$Outbound, + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsAtBRANDAt649501$Outbound, z.ZodTypeDef, - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsAtBRANDAt543472 + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsAtBRANDAt649501 > = 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 GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsAtBRANDAt543472$ { - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsAtBRANDAt543472$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsAtBRANDAt543472$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsAtBRANDAt543472$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsAtBRANDAt543472$outboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsAtBRANDAt543472$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsAtBRANDAt543472$Outbound; -} - -export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsAtBRANDAt543472ToJSON( - getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsAtBRANDAt543472: - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsAtBRANDAt543472, +export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsAtBRANDAt649501ToJSON( + getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsAtBRANDAt649501: + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsAtBRANDAt649501, ): string { return JSON.stringify( - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsAtBRANDAt543472$outboundSchema + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsAtBRANDAt649501$outboundSchema .parse( - getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsAtBRANDAt543472, + getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsAtBRANDAt649501, ), ); } - -export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsAtBRANDAt543472FromJSON( +export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsAtBRANDAt649501FromJSON( jsonString: string, ): SafeParseResult< - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsAtBRANDAt543472, + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsAtBRANDAt649501, SDKValidationError > { return safeParse( jsonString, (x) => - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsAtBRANDAt543472$inboundSchema + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsAtBRANDAt649501$inboundSchema .parse(JSON.parse(x)), - `Failed to parse 'GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsAtBRANDAt543472' from JSON`, + `Failed to parse 'GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsAtBRANDAt649501' from JSON`, ); } @@ -5432,20 +4406,19 @@ export const GetConfigurationProductsPropertiesIntegrationsResponseMaxLength$inb z.ZodTypeDef, unknown > = z.object({ - "__@BRAND@543472": z.lazy(() => - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsAtBRANDAt543472$inboundSchema + "__@BRAND@649501": z.lazy(() => + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsAtBRANDAt649501$inboundSchema ), }).transform((v) => { return remap$(v, { - "__@BRAND@543472": "atBRANDAt543472", + "__@BRAND@649501": "atBRANDAt649501", }); }); - /** @internal */ export type GetConfigurationProductsPropertiesIntegrationsResponseMaxLength$Outbound = { - "__@BRAND@543472": - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsAtBRANDAt543472$Outbound; + "__@BRAND@649501": + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsAtBRANDAt649501$Outbound; }; /** @internal */ @@ -5455,31 +4428,15 @@ export const GetConfigurationProductsPropertiesIntegrationsResponseMaxLength$out z.ZodTypeDef, GetConfigurationProductsPropertiesIntegrationsResponseMaxLength > = z.object({ - atBRANDAt543472: z.lazy(() => - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsAtBRANDAt543472$outboundSchema + atBRANDAt649501: z.lazy(() => + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsAtBRANDAt649501$outboundSchema ), }).transform((v) => { return remap$(v, { - atBRANDAt543472: "__@BRAND@543472", + atBRANDAt649501: "__@BRAND@649501", }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsPropertiesIntegrationsResponseMaxLength$ { - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponseMaxLength$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponseMaxLength$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponseMaxLength$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponseMaxLength$outboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponseMaxLength$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsPropertiesIntegrationsResponseMaxLength$Outbound; -} - export function getConfigurationProductsPropertiesIntegrationsResponseMaxLengthToJSON( getConfigurationProductsPropertiesIntegrationsResponseMaxLength: GetConfigurationProductsPropertiesIntegrationsResponseMaxLength, @@ -5489,7 +4446,6 @@ export function getConfigurationProductsPropertiesIntegrationsResponseMaxLengthT .parse(getConfigurationProductsPropertiesIntegrationsResponseMaxLength), ); } - export function getConfigurationProductsPropertiesIntegrationsResponseMaxLengthFromJSON( jsonString: string, ): SafeParseResult< @@ -5506,65 +4462,47 @@ export function getConfigurationProductsPropertiesIntegrationsResponseMaxLengthF } /** @internal */ -export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsPatternAtBRANDAt543472$inboundSchema: +export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsPatternAtBRANDAt649501$inboundSchema: z.ZodType< - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsPatternAtBRANDAt543472, + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsPatternAtBRANDAt649501, z.ZodTypeDef, unknown > = z.object({}); - /** @internal */ -export type GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsPatternAtBRANDAt543472$Outbound = +export type GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsPatternAtBRANDAt649501$Outbound = {}; /** @internal */ -export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsPatternAtBRANDAt543472$outboundSchema: +export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsPatternAtBRANDAt649501$outboundSchema: z.ZodType< - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsPatternAtBRANDAt543472$Outbound, + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsPatternAtBRANDAt649501$Outbound, z.ZodTypeDef, - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsPatternAtBRANDAt543472 + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsPatternAtBRANDAt649501 > = 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 GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsPatternAtBRANDAt543472$ { - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsPatternAtBRANDAt543472$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsPatternAtBRANDAt543472$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsPatternAtBRANDAt543472$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsPatternAtBRANDAt543472$outboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsPatternAtBRANDAt543472$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsPatternAtBRANDAt543472$Outbound; -} - -export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsPatternAtBRANDAt543472ToJSON( - getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsPatternAtBRANDAt543472: - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsPatternAtBRANDAt543472, +export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsPatternAtBRANDAt649501ToJSON( + getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsPatternAtBRANDAt649501: + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsPatternAtBRANDAt649501, ): string { return JSON.stringify( - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsPatternAtBRANDAt543472$outboundSchema + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsPatternAtBRANDAt649501$outboundSchema .parse( - getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsPatternAtBRANDAt543472, + getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsPatternAtBRANDAt649501, ), ); } - -export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsPatternAtBRANDAt543472FromJSON( +export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsPatternAtBRANDAt649501FromJSON( jsonString: string, ): SafeParseResult< - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsPatternAtBRANDAt543472, + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsPatternAtBRANDAt649501, SDKValidationError > { return safeParse( jsonString, (x) => - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsPatternAtBRANDAt543472$inboundSchema + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsPatternAtBRANDAt649501$inboundSchema .parse(JSON.parse(x)), - `Failed to parse 'GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsPatternAtBRANDAt543472' from JSON`, + `Failed to parse 'GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsPatternAtBRANDAt649501' from JSON`, ); } @@ -5575,20 +4513,19 @@ export const GetConfigurationProductsPropertiesIntegrationsResponsePattern$inbou z.ZodTypeDef, unknown > = z.object({ - "__@BRAND@543472": z.lazy(() => - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsPatternAtBRANDAt543472$inboundSchema + "__@BRAND@649501": z.lazy(() => + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsPatternAtBRANDAt649501$inboundSchema ), }).transform((v) => { return remap$(v, { - "__@BRAND@543472": "atBRANDAt543472", + "__@BRAND@649501": "atBRANDAt649501", }); }); - /** @internal */ export type GetConfigurationProductsPropertiesIntegrationsResponsePattern$Outbound = { - "__@BRAND@543472": - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsPatternAtBRANDAt543472$Outbound; + "__@BRAND@649501": + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsPatternAtBRANDAt649501$Outbound; }; /** @internal */ @@ -5598,31 +4535,15 @@ export const GetConfigurationProductsPropertiesIntegrationsResponsePattern$outbo z.ZodTypeDef, GetConfigurationProductsPropertiesIntegrationsResponsePattern > = z.object({ - atBRANDAt543472: z.lazy(() => - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsPatternAtBRANDAt543472$outboundSchema + atBRANDAt649501: z.lazy(() => + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8ItemsPatternAtBRANDAt649501$outboundSchema ), }).transform((v) => { return remap$(v, { - atBRANDAt543472: "__@BRAND@543472", + atBRANDAt649501: "__@BRAND@649501", }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsPropertiesIntegrationsResponsePattern$ { - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponsePattern$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponsePattern$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponsePattern$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponsePattern$outboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponsePattern$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsPropertiesIntegrationsResponsePattern$Outbound; -} - export function getConfigurationProductsPropertiesIntegrationsResponsePatternToJSON( getConfigurationProductsPropertiesIntegrationsResponsePattern: GetConfigurationProductsPropertiesIntegrationsResponsePattern, @@ -5632,7 +4553,6 @@ export function getConfigurationProductsPropertiesIntegrationsResponsePatternToJ .parse(getConfigurationProductsPropertiesIntegrationsResponsePattern), ); } - export function getConfigurationProductsPropertiesIntegrationsResponsePatternFromJSON( jsonString: string, ): SafeParseResult< @@ -5670,7 +4590,6 @@ export const GetConfigurationProductsPropertiesIntegrationsItems$inboundSchema: default: z.string().optional(), enum: z.array(z.string()).optional(), }); - /** @internal */ export type GetConfigurationProductsPropertiesIntegrationsItems$Outbound = { type: string; @@ -5711,22 +4630,6 @@ export const GetConfigurationProductsPropertiesIntegrationsItems$outboundSchema: enum: 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 GetConfigurationProductsPropertiesIntegrationsItems$ { - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsItems$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesIntegrationsItems$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsItems$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesIntegrationsItems$outboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsItems$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsPropertiesIntegrationsItems$Outbound; -} - export function getConfigurationProductsPropertiesIntegrationsItemsToJSON( getConfigurationProductsPropertiesIntegrationsItems: GetConfigurationProductsPropertiesIntegrationsItems, @@ -5737,7 +4640,6 @@ export function getConfigurationProductsPropertiesIntegrationsItemsToJSON( ), ); } - export function getConfigurationProductsPropertiesIntegrationsItemsFromJSON( jsonString: string, ): SafeParseResult< @@ -5755,65 +4657,47 @@ export function getConfigurationProductsPropertiesIntegrationsItemsFromJSON( } /** @internal */ -export const GetConfigurationProductsUiOptionsIntegrationsResponseAtBRANDAt543472$inboundSchema: +export const GetConfigurationProductsUiOptionsIntegrationsResponseAtBRANDAt649501$inboundSchema: z.ZodType< - GetConfigurationProductsUiOptionsIntegrationsResponseAtBRANDAt543472, + GetConfigurationProductsUiOptionsIntegrationsResponseAtBRANDAt649501, z.ZodTypeDef, unknown > = z.object({}); - /** @internal */ -export type GetConfigurationProductsUiOptionsIntegrationsResponseAtBRANDAt543472$Outbound = +export type GetConfigurationProductsUiOptionsIntegrationsResponseAtBRANDAt649501$Outbound = {}; /** @internal */ -export const GetConfigurationProductsUiOptionsIntegrationsResponseAtBRANDAt543472$outboundSchema: +export const GetConfigurationProductsUiOptionsIntegrationsResponseAtBRANDAt649501$outboundSchema: z.ZodType< - GetConfigurationProductsUiOptionsIntegrationsResponseAtBRANDAt543472$Outbound, + GetConfigurationProductsUiOptionsIntegrationsResponseAtBRANDAt649501$Outbound, z.ZodTypeDef, - GetConfigurationProductsUiOptionsIntegrationsResponseAtBRANDAt543472 + GetConfigurationProductsUiOptionsIntegrationsResponseAtBRANDAt649501 > = 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 GetConfigurationProductsUiOptionsIntegrationsResponseAtBRANDAt543472$ { - /** @deprecated use `GetConfigurationProductsUiOptionsIntegrationsResponseAtBRANDAt543472$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsUiOptionsIntegrationsResponseAtBRANDAt543472$inboundSchema; - /** @deprecated use `GetConfigurationProductsUiOptionsIntegrationsResponseAtBRANDAt543472$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsUiOptionsIntegrationsResponseAtBRANDAt543472$outboundSchema; - /** @deprecated use `GetConfigurationProductsUiOptionsIntegrationsResponseAtBRANDAt543472$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsUiOptionsIntegrationsResponseAtBRANDAt543472$Outbound; -} - -export function getConfigurationProductsUiOptionsIntegrationsResponseAtBRANDAt543472ToJSON( - getConfigurationProductsUiOptionsIntegrationsResponseAtBRANDAt543472: - GetConfigurationProductsUiOptionsIntegrationsResponseAtBRANDAt543472, +export function getConfigurationProductsUiOptionsIntegrationsResponseAtBRANDAt649501ToJSON( + getConfigurationProductsUiOptionsIntegrationsResponseAtBRANDAt649501: + GetConfigurationProductsUiOptionsIntegrationsResponseAtBRANDAt649501, ): string { return JSON.stringify( - GetConfigurationProductsUiOptionsIntegrationsResponseAtBRANDAt543472$outboundSchema + GetConfigurationProductsUiOptionsIntegrationsResponseAtBRANDAt649501$outboundSchema .parse( - getConfigurationProductsUiOptionsIntegrationsResponseAtBRANDAt543472, + getConfigurationProductsUiOptionsIntegrationsResponseAtBRANDAt649501, ), ); } - -export function getConfigurationProductsUiOptionsIntegrationsResponseAtBRANDAt543472FromJSON( +export function getConfigurationProductsUiOptionsIntegrationsResponseAtBRANDAt649501FromJSON( jsonString: string, ): SafeParseResult< - GetConfigurationProductsUiOptionsIntegrationsResponseAtBRANDAt543472, + GetConfigurationProductsUiOptionsIntegrationsResponseAtBRANDAt649501, SDKValidationError > { return safeParse( jsonString, (x) => - GetConfigurationProductsUiOptionsIntegrationsResponseAtBRANDAt543472$inboundSchema + GetConfigurationProductsUiOptionsIntegrationsResponseAtBRANDAt649501$inboundSchema .parse(JSON.parse(x)), - `Failed to parse 'GetConfigurationProductsUiOptionsIntegrationsResponseAtBRANDAt543472' from JSON`, + `Failed to parse 'GetConfigurationProductsUiOptionsIntegrationsResponseAtBRANDAt649501' from JSON`, ); } @@ -5823,19 +4707,18 @@ export const GetConfigurationProductsUiOptionsValue$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - "__@BRAND@543472": z.lazy(() => - GetConfigurationProductsUiOptionsIntegrationsResponseAtBRANDAt543472$inboundSchema + "__@BRAND@649501": z.lazy(() => + GetConfigurationProductsUiOptionsIntegrationsResponseAtBRANDAt649501$inboundSchema ), }).transform((v) => { return remap$(v, { - "__@BRAND@543472": "atBRANDAt543472", + "__@BRAND@649501": "atBRANDAt649501", }); }); - /** @internal */ export type GetConfigurationProductsUiOptionsValue$Outbound = { - "__@BRAND@543472": - GetConfigurationProductsUiOptionsIntegrationsResponseAtBRANDAt543472$Outbound; + "__@BRAND@649501": + GetConfigurationProductsUiOptionsIntegrationsResponseAtBRANDAt649501$Outbound; }; /** @internal */ @@ -5844,30 +4727,15 @@ export const GetConfigurationProductsUiOptionsValue$outboundSchema: z.ZodType< z.ZodTypeDef, GetConfigurationProductsUiOptionsValue > = z.object({ - atBRANDAt543472: z.lazy(() => - GetConfigurationProductsUiOptionsIntegrationsResponseAtBRANDAt543472$outboundSchema + atBRANDAt649501: z.lazy(() => + GetConfigurationProductsUiOptionsIntegrationsResponseAtBRANDAt649501$outboundSchema ), }).transform((v) => { return remap$(v, { - atBRANDAt543472: "__@BRAND@543472", + atBRANDAt649501: "__@BRAND@649501", }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsUiOptionsValue$ { - /** @deprecated use `GetConfigurationProductsUiOptionsValue$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsUiOptionsValue$inboundSchema; - /** @deprecated use `GetConfigurationProductsUiOptionsValue$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsUiOptionsValue$outboundSchema; - /** @deprecated use `GetConfigurationProductsUiOptionsValue$Outbound` instead. */ - export type Outbound = GetConfigurationProductsUiOptionsValue$Outbound; -} - export function getConfigurationProductsUiOptionsValueToJSON( getConfigurationProductsUiOptionsValue: GetConfigurationProductsUiOptionsValue, @@ -5878,7 +4746,6 @@ export function getConfigurationProductsUiOptionsValueToJSON( ), ); } - export function getConfigurationProductsUiOptionsValueFromJSON( jsonString: string, ): SafeParseResult { @@ -5897,7 +4764,6 @@ export const GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJ > = z.nativeEnum( GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJson3, ); - /** @internal */ export const GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJson3$outboundSchema: z.ZodNativeEnum< @@ -5905,19 +4771,6 @@ export const GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJ > = GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJson3$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJson3$ { - /** @deprecated use `GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJson3$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJson3$inboundSchema; - /** @deprecated use `GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJson3$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJson3$outboundSchema; -} - /** @internal */ export const GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJson2$inboundSchema: z.ZodType< @@ -5927,7 +4780,6 @@ export const GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJ > = z.object({ expr: z.string(), }); - /** @internal */ export type GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJson2$Outbound = { @@ -5944,22 +4796,6 @@ export const GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJ expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJson2$ { - /** @deprecated use `GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJson2$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJson2$inboundSchema; - /** @deprecated use `GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJson2$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJson2$outboundSchema; - /** @deprecated use `GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJson2$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJson2$Outbound; -} - export function getConfigurationProductsDisabledIntegrationsResponse200ApplicationJSON2ToJSON( getConfigurationProductsDisabledIntegrationsResponse200ApplicationJson2: GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJson2, @@ -5971,7 +4807,6 @@ export function getConfigurationProductsDisabledIntegrationsResponse200Applicati ), ); } - export function getConfigurationProductsDisabledIntegrationsResponse200ApplicationJSON2FromJSON( jsonString: string, ): SafeParseResult< @@ -6000,7 +4835,6 @@ export const GetConfigurationProductsUiOptionsIntegrationsResponseDisabled$inbou z.boolean(), GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJson3$inboundSchema, ]); - /** @internal */ export type GetConfigurationProductsUiOptionsIntegrationsResponseDisabled$Outbound = | GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJson2$Outbound @@ -6021,22 +4855,6 @@ export const GetConfigurationProductsUiOptionsIntegrationsResponseDisabled$outbo GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJson3$outboundSchema, ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsUiOptionsIntegrationsResponseDisabled$ { - /** @deprecated use `GetConfigurationProductsUiOptionsIntegrationsResponseDisabled$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsUiOptionsIntegrationsResponseDisabled$inboundSchema; - /** @deprecated use `GetConfigurationProductsUiOptionsIntegrationsResponseDisabled$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsUiOptionsIntegrationsResponseDisabled$outboundSchema; - /** @deprecated use `GetConfigurationProductsUiOptionsIntegrationsResponseDisabled$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsUiOptionsIntegrationsResponseDisabled$Outbound; -} - export function getConfigurationProductsUiOptionsIntegrationsResponseDisabledToJSON( getConfigurationProductsUiOptionsIntegrationsResponseDisabled: GetConfigurationProductsUiOptionsIntegrationsResponseDisabled, @@ -6046,7 +4864,6 @@ export function getConfigurationProductsUiOptionsIntegrationsResponseDisabledToJ .parse(getConfigurationProductsUiOptionsIntegrationsResponseDisabled), ); } - export function getConfigurationProductsUiOptionsIntegrationsResponseDisabledFromJSON( jsonString: string, ): SafeParseResult< @@ -6069,7 +4886,6 @@ export const GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJso > = z.nativeEnum( GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJson3, ); - /** @internal */ export const GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJson3$outboundSchema: z.ZodNativeEnum< @@ -6077,19 +4893,6 @@ export const GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJso > = GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJson3$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJson3$ { - /** @deprecated use `GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJson3$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJson3$inboundSchema; - /** @deprecated use `GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJson3$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJson3$outboundSchema; -} - /** @internal */ export const GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJson2$inboundSchema: z.ZodType< @@ -6099,7 +4902,6 @@ export const GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJso > = z.object({ expr: z.string(), }); - /** @internal */ export type GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJson2$Outbound = { @@ -6116,22 +4918,6 @@ export const GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJso expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJson2$ { - /** @deprecated use `GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJson2$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJson2$inboundSchema; - /** @deprecated use `GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJson2$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJson2$outboundSchema; - /** @deprecated use `GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJson2$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJson2$Outbound; -} - export function getConfigurationProductsHiddenIntegrationsResponse200ApplicationJSON2ToJSON( getConfigurationProductsHiddenIntegrationsResponse200ApplicationJson2: GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJson2, @@ -6143,7 +4929,6 @@ export function getConfigurationProductsHiddenIntegrationsResponse200Application ), ); } - export function getConfigurationProductsHiddenIntegrationsResponse200ApplicationJSON2FromJSON( jsonString: string, ): SafeParseResult< @@ -6172,7 +4957,6 @@ export const GetConfigurationProductsUiOptionsIntegrationsResponseHidden$inbound z.boolean(), GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJson3$inboundSchema, ]); - /** @internal */ export type GetConfigurationProductsUiOptionsIntegrationsResponseHidden$Outbound = | GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJson2$Outbound @@ -6193,22 +4977,6 @@ export const GetConfigurationProductsUiOptionsIntegrationsResponseHidden$outboun GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJson3$outboundSchema, ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsUiOptionsIntegrationsResponseHidden$ { - /** @deprecated use `GetConfigurationProductsUiOptionsIntegrationsResponseHidden$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsUiOptionsIntegrationsResponseHidden$inboundSchema; - /** @deprecated use `GetConfigurationProductsUiOptionsIntegrationsResponseHidden$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsUiOptionsIntegrationsResponseHidden$outboundSchema; - /** @deprecated use `GetConfigurationProductsUiOptionsIntegrationsResponseHidden$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsUiOptionsIntegrationsResponseHidden$Outbound; -} - export function getConfigurationProductsUiOptionsIntegrationsResponseHiddenToJSON( getConfigurationProductsUiOptionsIntegrationsResponseHidden: GetConfigurationProductsUiOptionsIntegrationsResponseHidden, @@ -6218,7 +4986,6 @@ export function getConfigurationProductsUiOptionsIntegrationsResponseHiddenToJSO .parse(getConfigurationProductsUiOptionsIntegrationsResponseHidden), ); } - export function getConfigurationProductsUiOptionsIntegrationsResponseHiddenFromJSON( jsonString: string, ): SafeParseResult< @@ -6256,7 +5023,6 @@ export const GetConfigurationProductsUiOptions3$inboundSchema: z.ZodType< GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJson3$inboundSchema, ]).optional(), }); - /** @internal */ export type GetConfigurationProductsUiOptions3$Outbound = { value: GetConfigurationProductsUiOptionsValue$Outbound; @@ -6295,20 +5061,6 @@ export const GetConfigurationProductsUiOptions3$outboundSchema: z.ZodType< ]).optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsUiOptions3$ { - /** @deprecated use `GetConfigurationProductsUiOptions3$inboundSchema` instead. */ - export const inboundSchema = GetConfigurationProductsUiOptions3$inboundSchema; - /** @deprecated use `GetConfigurationProductsUiOptions3$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsUiOptions3$outboundSchema; - /** @deprecated use `GetConfigurationProductsUiOptions3$Outbound` instead. */ - export type Outbound = GetConfigurationProductsUiOptions3$Outbound; -} - export function getConfigurationProductsUiOptions3ToJSON( getConfigurationProductsUiOptions3: GetConfigurationProductsUiOptions3, ): string { @@ -6318,7 +5070,6 @@ export function getConfigurationProductsUiOptions3ToJSON( ), ); } - export function getConfigurationProductsUiOptions3FromJSON( jsonString: string, ): SafeParseResult { @@ -6331,64 +5082,46 @@ export function getConfigurationProductsUiOptions3FromJSON( } /** @internal */ -export const GetConfigurationProductsUiOptionsAtBRANDAt543472$inboundSchema: +export const GetConfigurationProductsUiOptionsAtBRANDAt649501$inboundSchema: z.ZodType< - GetConfigurationProductsUiOptionsAtBRANDAt543472, + GetConfigurationProductsUiOptionsAtBRANDAt649501, z.ZodTypeDef, unknown > = z.object({}); - /** @internal */ -export type GetConfigurationProductsUiOptionsAtBRANDAt543472$Outbound = {}; +export type GetConfigurationProductsUiOptionsAtBRANDAt649501$Outbound = {}; /** @internal */ -export const GetConfigurationProductsUiOptionsAtBRANDAt543472$outboundSchema: +export const GetConfigurationProductsUiOptionsAtBRANDAt649501$outboundSchema: z.ZodType< - GetConfigurationProductsUiOptionsAtBRANDAt543472$Outbound, + GetConfigurationProductsUiOptionsAtBRANDAt649501$Outbound, z.ZodTypeDef, - GetConfigurationProductsUiOptionsAtBRANDAt543472 + GetConfigurationProductsUiOptionsAtBRANDAt649501 > = 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 GetConfigurationProductsUiOptionsAtBRANDAt543472$ { - /** @deprecated use `GetConfigurationProductsUiOptionsAtBRANDAt543472$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsUiOptionsAtBRANDAt543472$inboundSchema; - /** @deprecated use `GetConfigurationProductsUiOptionsAtBRANDAt543472$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsUiOptionsAtBRANDAt543472$outboundSchema; - /** @deprecated use `GetConfigurationProductsUiOptionsAtBRANDAt543472$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsUiOptionsAtBRANDAt543472$Outbound; -} - -export function getConfigurationProductsUiOptionsAtBRANDAt543472ToJSON( - getConfigurationProductsUiOptionsAtBRANDAt543472: - GetConfigurationProductsUiOptionsAtBRANDAt543472, +export function getConfigurationProductsUiOptionsAtBRANDAt649501ToJSON( + getConfigurationProductsUiOptionsAtBRANDAt649501: + GetConfigurationProductsUiOptionsAtBRANDAt649501, ): string { return JSON.stringify( - GetConfigurationProductsUiOptionsAtBRANDAt543472$outboundSchema.parse( - getConfigurationProductsUiOptionsAtBRANDAt543472, + GetConfigurationProductsUiOptionsAtBRANDAt649501$outboundSchema.parse( + getConfigurationProductsUiOptionsAtBRANDAt649501, ), ); } - -export function getConfigurationProductsUiOptionsAtBRANDAt543472FromJSON( +export function getConfigurationProductsUiOptionsAtBRANDAt649501FromJSON( jsonString: string, ): SafeParseResult< - GetConfigurationProductsUiOptionsAtBRANDAt543472, + GetConfigurationProductsUiOptionsAtBRANDAt649501, SDKValidationError > { return safeParse( jsonString, (x) => - GetConfigurationProductsUiOptionsAtBRANDAt543472$inboundSchema.parse( + GetConfigurationProductsUiOptionsAtBRANDAt649501$inboundSchema.parse( JSON.parse(x), ), - `Failed to parse 'GetConfigurationProductsUiOptionsAtBRANDAt543472' from JSON`, + `Failed to parse 'GetConfigurationProductsUiOptionsAtBRANDAt649501' from JSON`, ); } @@ -6398,18 +5131,17 @@ export const GetConfigurationProductsUiOptions2$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - "__@BRAND@543472": z.lazy(() => - GetConfigurationProductsUiOptionsAtBRANDAt543472$inboundSchema + "__@BRAND@649501": z.lazy(() => + GetConfigurationProductsUiOptionsAtBRANDAt649501$inboundSchema ), }).transform((v) => { return remap$(v, { - "__@BRAND@543472": "atBRANDAt543472", + "__@BRAND@649501": "atBRANDAt649501", }); }); - /** @internal */ export type GetConfigurationProductsUiOptions2$Outbound = { - "__@BRAND@543472": GetConfigurationProductsUiOptionsAtBRANDAt543472$Outbound; + "__@BRAND@649501": GetConfigurationProductsUiOptionsAtBRANDAt649501$Outbound; }; /** @internal */ @@ -6418,29 +5150,15 @@ export const GetConfigurationProductsUiOptions2$outboundSchema: z.ZodType< z.ZodTypeDef, GetConfigurationProductsUiOptions2 > = z.object({ - atBRANDAt543472: z.lazy(() => - GetConfigurationProductsUiOptionsAtBRANDAt543472$outboundSchema + atBRANDAt649501: z.lazy(() => + GetConfigurationProductsUiOptionsAtBRANDAt649501$outboundSchema ), }).transform((v) => { return remap$(v, { - atBRANDAt543472: "__@BRAND@543472", + atBRANDAt649501: "__@BRAND@649501", }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsUiOptions2$ { - /** @deprecated use `GetConfigurationProductsUiOptions2$inboundSchema` instead. */ - export const inboundSchema = GetConfigurationProductsUiOptions2$inboundSchema; - /** @deprecated use `GetConfigurationProductsUiOptions2$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsUiOptions2$outboundSchema; - /** @deprecated use `GetConfigurationProductsUiOptions2$Outbound` instead. */ - export type Outbound = GetConfigurationProductsUiOptions2$Outbound; -} - export function getConfigurationProductsUiOptions2ToJSON( getConfigurationProductsUiOptions2: GetConfigurationProductsUiOptions2, ): string { @@ -6450,7 +5168,6 @@ export function getConfigurationProductsUiOptions2ToJSON( ), ); } - export function getConfigurationProductsUiOptions2FromJSON( jsonString: string, ): SafeParseResult { @@ -6467,26 +5184,12 @@ export const GetConfigurationProductsDisabledIntegrationsResponse2003$inboundSch z.ZodNativeEnum< typeof GetConfigurationProductsDisabledIntegrationsResponse2003 > = z.nativeEnum(GetConfigurationProductsDisabledIntegrationsResponse2003); - /** @internal */ export const GetConfigurationProductsDisabledIntegrationsResponse2003$outboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsDisabledIntegrationsResponse2003 > = GetConfigurationProductsDisabledIntegrationsResponse2003$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsDisabledIntegrationsResponse2003$ { - /** @deprecated use `GetConfigurationProductsDisabledIntegrationsResponse2003$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsDisabledIntegrationsResponse2003$inboundSchema; - /** @deprecated use `GetConfigurationProductsDisabledIntegrationsResponse2003$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsDisabledIntegrationsResponse2003$outboundSchema; -} - /** @internal */ export const GetConfigurationProductsDisabledIntegrationsResponse2002$inboundSchema: z.ZodType< @@ -6496,7 +5199,6 @@ export const GetConfigurationProductsDisabledIntegrationsResponse2002$inboundSch > = z.object({ expr: z.string(), }); - /** @internal */ export type GetConfigurationProductsDisabledIntegrationsResponse2002$Outbound = { @@ -6513,22 +5215,6 @@ export const GetConfigurationProductsDisabledIntegrationsResponse2002$outboundSc expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsDisabledIntegrationsResponse2002$ { - /** @deprecated use `GetConfigurationProductsDisabledIntegrationsResponse2002$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsDisabledIntegrationsResponse2002$inboundSchema; - /** @deprecated use `GetConfigurationProductsDisabledIntegrationsResponse2002$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsDisabledIntegrationsResponse2002$outboundSchema; - /** @deprecated use `GetConfigurationProductsDisabledIntegrationsResponse2002$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsDisabledIntegrationsResponse2002$Outbound; -} - export function getConfigurationProductsDisabledIntegrationsResponse2002ToJSON( getConfigurationProductsDisabledIntegrationsResponse2002: GetConfigurationProductsDisabledIntegrationsResponse2002, @@ -6538,7 +5224,6 @@ export function getConfigurationProductsDisabledIntegrationsResponse2002ToJSON( .parse(getConfigurationProductsDisabledIntegrationsResponse2002), ); } - export function getConfigurationProductsDisabledIntegrationsResponse2002FromJSON( jsonString: string, ): SafeParseResult< @@ -6567,7 +5252,6 @@ export const GetConfigurationProductsUiOptionsIntegrationsDisabled$inboundSchema z.boolean(), GetConfigurationProductsDisabledIntegrationsResponse2003$inboundSchema, ]); - /** @internal */ export type GetConfigurationProductsUiOptionsIntegrationsDisabled$Outbound = | GetConfigurationProductsDisabledIntegrationsResponse2002$Outbound @@ -6588,22 +5272,6 @@ export const GetConfigurationProductsUiOptionsIntegrationsDisabled$outboundSchem GetConfigurationProductsDisabledIntegrationsResponse2003$outboundSchema, ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsUiOptionsIntegrationsDisabled$ { - /** @deprecated use `GetConfigurationProductsUiOptionsIntegrationsDisabled$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsUiOptionsIntegrationsDisabled$inboundSchema; - /** @deprecated use `GetConfigurationProductsUiOptionsIntegrationsDisabled$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsUiOptionsIntegrationsDisabled$outboundSchema; - /** @deprecated use `GetConfigurationProductsUiOptionsIntegrationsDisabled$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsUiOptionsIntegrationsDisabled$Outbound; -} - export function getConfigurationProductsUiOptionsIntegrationsDisabledToJSON( getConfigurationProductsUiOptionsIntegrationsDisabled: GetConfigurationProductsUiOptionsIntegrationsDisabled, @@ -6614,7 +5282,6 @@ export function getConfigurationProductsUiOptionsIntegrationsDisabledToJSON( ), ); } - export function getConfigurationProductsUiOptionsIntegrationsDisabledFromJSON( jsonString: string, ): SafeParseResult< @@ -6636,26 +5303,12 @@ export const GetConfigurationProductsHiddenIntegrationsResponse2003$inboundSchem z.ZodNativeEnum< typeof GetConfigurationProductsHiddenIntegrationsResponse2003 > = z.nativeEnum(GetConfigurationProductsHiddenIntegrationsResponse2003); - /** @internal */ export const GetConfigurationProductsHiddenIntegrationsResponse2003$outboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsHiddenIntegrationsResponse2003 > = GetConfigurationProductsHiddenIntegrationsResponse2003$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsHiddenIntegrationsResponse2003$ { - /** @deprecated use `GetConfigurationProductsHiddenIntegrationsResponse2003$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsHiddenIntegrationsResponse2003$inboundSchema; - /** @deprecated use `GetConfigurationProductsHiddenIntegrationsResponse2003$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsHiddenIntegrationsResponse2003$outboundSchema; -} - /** @internal */ export const GetConfigurationProductsHiddenIntegrationsResponse2002$inboundSchema: z.ZodType< @@ -6665,7 +5318,6 @@ export const GetConfigurationProductsHiddenIntegrationsResponse2002$inboundSchem > = z.object({ expr: z.string(), }); - /** @internal */ export type GetConfigurationProductsHiddenIntegrationsResponse2002$Outbound = { expr: string; @@ -6681,22 +5333,6 @@ export const GetConfigurationProductsHiddenIntegrationsResponse2002$outboundSche expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsHiddenIntegrationsResponse2002$ { - /** @deprecated use `GetConfigurationProductsHiddenIntegrationsResponse2002$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsHiddenIntegrationsResponse2002$inboundSchema; - /** @deprecated use `GetConfigurationProductsHiddenIntegrationsResponse2002$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsHiddenIntegrationsResponse2002$outboundSchema; - /** @deprecated use `GetConfigurationProductsHiddenIntegrationsResponse2002$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsHiddenIntegrationsResponse2002$Outbound; -} - export function getConfigurationProductsHiddenIntegrationsResponse2002ToJSON( getConfigurationProductsHiddenIntegrationsResponse2002: GetConfigurationProductsHiddenIntegrationsResponse2002, @@ -6707,7 +5343,6 @@ export function getConfigurationProductsHiddenIntegrationsResponse2002ToJSON( ), ); } - export function getConfigurationProductsHiddenIntegrationsResponse2002FromJSON( jsonString: string, ): SafeParseResult< @@ -6736,7 +5371,6 @@ export const GetConfigurationProductsUiOptionsIntegrationsHidden$inboundSchema: z.boolean(), GetConfigurationProductsHiddenIntegrationsResponse2003$inboundSchema, ]); - /** @internal */ export type GetConfigurationProductsUiOptionsIntegrationsHidden$Outbound = | GetConfigurationProductsHiddenIntegrationsResponse2002$Outbound @@ -6757,22 +5391,6 @@ export const GetConfigurationProductsUiOptionsIntegrationsHidden$outboundSchema: GetConfigurationProductsHiddenIntegrationsResponse2003$outboundSchema, ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsUiOptionsIntegrationsHidden$ { - /** @deprecated use `GetConfigurationProductsUiOptionsIntegrationsHidden$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsUiOptionsIntegrationsHidden$inboundSchema; - /** @deprecated use `GetConfigurationProductsUiOptionsIntegrationsHidden$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsUiOptionsIntegrationsHidden$outboundSchema; - /** @deprecated use `GetConfigurationProductsUiOptionsIntegrationsHidden$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsUiOptionsIntegrationsHidden$Outbound; -} - export function getConfigurationProductsUiOptionsIntegrationsHiddenToJSON( getConfigurationProductsUiOptionsIntegrationsHidden: GetConfigurationProductsUiOptionsIntegrationsHidden, @@ -6783,7 +5401,6 @@ export function getConfigurationProductsUiOptionsIntegrationsHiddenToJSON( ), ); } - export function getConfigurationProductsUiOptionsIntegrationsHiddenFromJSON( jsonString: string, ): SafeParseResult< @@ -6823,7 +5440,6 @@ export const GetConfigurationProductsUiOptions1$inboundSchema: z.ZodType< GetConfigurationProductsHiddenIntegrationsResponse2003$inboundSchema, ]).optional(), }); - /** @internal */ export type GetConfigurationProductsUiOptions1$Outbound = { value: string; @@ -6864,20 +5480,6 @@ export const GetConfigurationProductsUiOptions1$outboundSchema: z.ZodType< ]).optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsUiOptions1$ { - /** @deprecated use `GetConfigurationProductsUiOptions1$inboundSchema` instead. */ - export const inboundSchema = GetConfigurationProductsUiOptions1$inboundSchema; - /** @deprecated use `GetConfigurationProductsUiOptions1$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsUiOptions1$outboundSchema; - /** @deprecated use `GetConfigurationProductsUiOptions1$Outbound` instead. */ - export type Outbound = GetConfigurationProductsUiOptions1$Outbound; -} - export function getConfigurationProductsUiOptions1ToJSON( getConfigurationProductsUiOptions1: GetConfigurationProductsUiOptions1, ): string { @@ -6887,7 +5489,6 @@ export function getConfigurationProductsUiOptions1ToJSON( ), ); } - export function getConfigurationProductsUiOptions1FromJSON( jsonString: string, ): SafeParseResult { @@ -6910,7 +5511,6 @@ export const GetConfigurationProductsPropertiesIntegrationsUiOptions$inboundSche z.lazy(() => GetConfigurationProductsUiOptions2$inboundSchema), z.lazy(() => GetConfigurationProductsUiOptions3$inboundSchema), ]); - /** @internal */ export type GetConfigurationProductsPropertiesIntegrationsUiOptions$Outbound = | GetConfigurationProductsUiOptions1$Outbound @@ -6929,22 +5529,6 @@ export const GetConfigurationProductsPropertiesIntegrationsUiOptions$outboundSch z.lazy(() => GetConfigurationProductsUiOptions3$outboundSchema), ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsPropertiesIntegrationsUiOptions$ { - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsUiOptions$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesIntegrationsUiOptions$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsUiOptions$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesIntegrationsUiOptions$outboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsUiOptions$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsPropertiesIntegrationsUiOptions$Outbound; -} - export function getConfigurationProductsPropertiesIntegrationsUiOptionsToJSON( getConfigurationProductsPropertiesIntegrationsUiOptions: GetConfigurationProductsPropertiesIntegrationsUiOptions, @@ -6954,7 +5538,6 @@ export function getConfigurationProductsPropertiesIntegrationsUiOptionsToJSON( .parse(getConfigurationProductsPropertiesIntegrationsUiOptions), ); } - export function getConfigurationProductsPropertiesIntegrationsUiOptionsFromJSON( jsonString: string, ): SafeParseResult< @@ -6977,7 +5560,6 @@ export const GetConfigurationProductsUiReadOnlyIntegrationsResponse200Applicatio > = z.nativeEnum( GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProducts3, ); - /** @internal */ export const GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProducts3$outboundSchema: z.ZodNativeEnum< @@ -6985,19 +5567,6 @@ export const GetConfigurationProductsUiReadOnlyIntegrationsResponse200Applicatio > = GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProducts3$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProducts3$ { - /** @deprecated use `GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProducts3$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProducts3$inboundSchema; - /** @deprecated use `GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProducts3$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProducts3$outboundSchema; -} - /** @internal */ export const GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProducts2$inboundSchema: z.ZodType< @@ -7007,7 +5576,6 @@ export const GetConfigurationProductsUiReadOnlyIntegrationsResponse200Applicatio > = z.object({ expr: z.string(), }); - /** @internal */ export type GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProducts2$Outbound = { @@ -7024,22 +5592,6 @@ export const GetConfigurationProductsUiReadOnlyIntegrationsResponse200Applicatio expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProducts2$ { - /** @deprecated use `GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProducts2$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProducts2$inboundSchema; - /** @deprecated use `GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProducts2$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProducts2$outboundSchema; - /** @deprecated use `GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProducts2$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProducts2$Outbound; -} - export function getConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProducts2ToJSON( getConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProducts2: GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProducts2, @@ -7051,7 +5603,6 @@ export function getConfigurationProductsUiReadOnlyIntegrationsResponse200Applica ), ); } - export function getConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProducts2FromJSON( jsonString: string, ): SafeParseResult< @@ -7080,7 +5631,6 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200Applicatio z.boolean(), GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProducts3$inboundSchema, ]); - /** @internal */ export type GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiReadOnly$Outbound = | GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProducts2$Outbound @@ -7101,22 +5651,6 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200Applicatio GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBodyProducts3$outboundSchema, ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiReadOnly$ { - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiReadOnly$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiReadOnly$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiReadOnly$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiReadOnly$outboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiReadOnly$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiReadOnly$Outbound; -} - export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiReadOnlyToJSON( getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiReadOnly: GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiReadOnly, @@ -7128,7 +5662,6 @@ export function getConfigurationProductsPropertiesIntegrationsResponse200Applica ), ); } - export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiReadOnlyFromJSON( jsonString: string, ): SafeParseResult< @@ -7151,7 +5684,6 @@ export const GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJ > = z.nativeEnum( GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts3, ); - /** @internal */ export const GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts3$outboundSchema: z.ZodNativeEnum< @@ -7159,19 +5691,6 @@ export const GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJ > = GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts3$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts3$ { - /** @deprecated use `GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts3$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts3$inboundSchema; - /** @deprecated use `GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts3$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts3$outboundSchema; -} - /** @internal */ export const GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts2$inboundSchema: z.ZodType< @@ -7181,7 +5700,6 @@ export const GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJ > = z.object({ expr: z.string(), }); - /** @internal */ export type GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts2$Outbound = { @@ -7198,22 +5716,6 @@ export const GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJ expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts2$ { - /** @deprecated use `GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts2$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts2$inboundSchema; - /** @deprecated use `GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts2$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts2$outboundSchema; - /** @deprecated use `GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts2$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts2$Outbound; -} - export function getConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts2ToJSON( getConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts2: GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts2, @@ -7225,7 +5727,6 @@ export function getConfigurationProductsUiHiddenIntegrationsResponse200Applicati ), ); } - export function getConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts2FromJSON( jsonString: string, ): SafeParseResult< @@ -7254,7 +5755,6 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200Applicatio z.boolean(), GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts3$inboundSchema, ]); - /** @internal */ export type GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiHidden$Outbound = | GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts2$Outbound @@ -7275,22 +5775,6 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200Applicatio GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts3$outboundSchema, ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiHidden$ { - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiHidden$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiHidden$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiHidden$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiHidden$outboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiHidden$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiHidden$Outbound; -} - export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiHiddenToJSON( getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiHidden: GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiHidden, @@ -7302,7 +5786,6 @@ export function getConfigurationProductsPropertiesIntegrationsResponse200Applica ), ); } - export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiHiddenFromJSON( jsonString: string, ): SafeParseResult< @@ -7325,7 +5808,6 @@ export const GetConfigurationProductsUiDisabledIntegrationsResponse200Applicatio > = z.nativeEnum( GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts3, ); - /** @internal */ export const GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts3$outboundSchema: z.ZodNativeEnum< @@ -7333,19 +5815,6 @@ export const GetConfigurationProductsUiDisabledIntegrationsResponse200Applicatio > = GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts3$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts3$ { - /** @deprecated use `GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts3$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts3$inboundSchema; - /** @deprecated use `GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts3$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts3$outboundSchema; -} - /** @internal */ export const GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts2$inboundSchema: z.ZodType< @@ -7355,7 +5824,6 @@ export const GetConfigurationProductsUiDisabledIntegrationsResponse200Applicatio > = z.object({ expr: z.string(), }); - /** @internal */ export type GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts2$Outbound = { @@ -7372,22 +5840,6 @@ export const GetConfigurationProductsUiDisabledIntegrationsResponse200Applicatio expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts2$ { - /** @deprecated use `GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts2$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts2$inboundSchema; - /** @deprecated use `GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts2$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts2$outboundSchema; - /** @deprecated use `GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts2$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts2$Outbound; -} - export function getConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts2ToJSON( getConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts2: GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts2, @@ -7399,7 +5851,6 @@ export function getConfigurationProductsUiDisabledIntegrationsResponse200Applica ), ); } - export function getConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts2FromJSON( jsonString: string, ): SafeParseResult< @@ -7428,7 +5879,6 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200Applicatio z.boolean(), GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts3$inboundSchema, ]); - /** @internal */ export type GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiDisabled$Outbound = | GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts2$Outbound @@ -7449,22 +5899,6 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200Applicatio GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts3$outboundSchema, ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiDisabled$ { - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiDisabled$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiDisabled$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiDisabled$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiDisabled$outboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiDisabled$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiDisabled$Outbound; -} - export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiDisabledToJSON( getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiDisabled: GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiDisabled, @@ -7476,7 +5910,6 @@ export function getConfigurationProductsPropertiesIntegrationsResponse200Applica ), ); } - export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiDisabledFromJSON( jsonString: string, ): SafeParseResult< @@ -7501,7 +5934,6 @@ export const GetConfigurationProductsUiDescriptionIntegrationsResponse200Applica > = z.object({ expr: z.string(), }); - /** @internal */ export type GetConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyProducts2$Outbound = { @@ -7518,22 +5950,6 @@ export const GetConfigurationProductsUiDescriptionIntegrationsResponse200Applica expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyProducts2$ { - /** @deprecated use `GetConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyProducts2$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyProducts2$inboundSchema; - /** @deprecated use `GetConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyProducts2$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyProducts2$outboundSchema; - /** @deprecated use `GetConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyProducts2$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyProducts2$Outbound; -} - export function getConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyProducts2ToJSON( getConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyProducts2: GetConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyProducts2, @@ -7545,7 +5961,6 @@ export function getConfigurationProductsUiDescriptionIntegrationsResponse200Appl ), ); } - export function getConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyProducts2FromJSON( jsonString: string, ): SafeParseResult< @@ -7573,7 +5988,6 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200Applicatio ), z.string(), ]); - /** @internal */ export type GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiDescription$Outbound = | GetConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBodyProducts2$Outbound @@ -7592,22 +6006,6 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200Applicatio z.string(), ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiDescription$ { - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiDescription$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiDescription$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiDescription$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiDescription$outboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiDescription$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiDescription$Outbound; -} - export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiDescriptionToJSON( getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiDescription: GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiDescription, @@ -7619,7 +6017,6 @@ export function getConfigurationProductsPropertiesIntegrationsResponse200Applica ), ); } - export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiDescriptionFromJSON( jsonString: string, ): SafeParseResult< @@ -7644,7 +6041,6 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200Applicatio > = z.object({ expr: z.string(), }); - /** @internal */ export type GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiFormattedValue$Outbound = { @@ -7657,25 +6053,9 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200Applicatio GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiFormattedValue$Outbound, z.ZodTypeDef, GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiFormattedValue - > = z.object({ - expr: z.string(), - }); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiFormattedValue$ { - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiFormattedValue$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiFormattedValue$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiFormattedValue$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiFormattedValue$outboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiFormattedValue$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiFormattedValue$Outbound; -} + > = z.object({ + expr: z.string(), + }); export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiFormattedValueToJSON( getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiFormattedValue: @@ -7688,7 +6068,6 @@ export function getConfigurationProductsPropertiesIntegrationsResponse200Applica ), ); } - export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyUiFormattedValueFromJSON( jsonString: string, ): SafeParseResult< @@ -7705,84 +6084,65 @@ export function getConfigurationProductsPropertiesIntegrationsResponse200Applica } /** @internal */ -export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaAtBRANDAt543472$inboundSchema: +export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaAtBRANDAt649501$inboundSchema: z.ZodType< - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaAtBRANDAt543472, + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaAtBRANDAt649501, z.ZodTypeDef, unknown > = z.object({}); - /** @internal */ -export type GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaAtBRANDAt543472$Outbound = +export type GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaAtBRANDAt649501$Outbound = {}; /** @internal */ -export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaAtBRANDAt543472$outboundSchema: +export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaAtBRANDAt649501$outboundSchema: z.ZodType< - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaAtBRANDAt543472$Outbound, + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaAtBRANDAt649501$Outbound, z.ZodTypeDef, - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaAtBRANDAt543472 + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaAtBRANDAt649501 > = 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 GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaAtBRANDAt543472$ { - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaAtBRANDAt543472$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaAtBRANDAt543472$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaAtBRANDAt543472$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaAtBRANDAt543472$outboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaAtBRANDAt543472$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaAtBRANDAt543472$Outbound; -} - -export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaAtBRANDAt543472ToJSON( - getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaAtBRANDAt543472: - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaAtBRANDAt543472, +export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaAtBRANDAt649501ToJSON( + getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaAtBRANDAt649501: + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaAtBRANDAt649501, ): string { return JSON.stringify( - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaAtBRANDAt543472$outboundSchema + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaAtBRANDAt649501$outboundSchema .parse( - getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaAtBRANDAt543472, + getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaAtBRANDAt649501, ), ); } - -export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaAtBRANDAt543472FromJSON( +export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaAtBRANDAt649501FromJSON( jsonString: string, ): SafeParseResult< - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaAtBRANDAt543472, + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaAtBRANDAt649501, SDKValidationError > { return safeParse( jsonString, (x) => - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaAtBRANDAt543472$inboundSchema + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaAtBRANDAt649501$inboundSchema .parse(JSON.parse(x)), - `Failed to parse 'GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaAtBRANDAt543472' from JSON`, + `Failed to parse 'GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaAtBRANDAt649501' from JSON`, ); } /** @internal */ export const Default$inboundSchema: z.ZodType = z.object({ - "__@BRAND@543472": z.lazy(() => - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaAtBRANDAt543472$inboundSchema + "__@BRAND@649501": z.lazy(() => + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaAtBRANDAt649501$inboundSchema ), }).transform((v) => { return remap$(v, { - "__@BRAND@543472": "atBRANDAt543472", + "__@BRAND@649501": "atBRANDAt649501", }); }); - /** @internal */ export type Default$Outbound = { - "__@BRAND@543472": - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaAtBRANDAt543472$Outbound; + "__@BRAND@649501": + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaAtBRANDAt649501$Outbound; }; /** @internal */ @@ -7791,32 +6151,18 @@ export const Default$outboundSchema: z.ZodType< z.ZodTypeDef, Default > = z.object({ - atBRANDAt543472: z.lazy(() => - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaAtBRANDAt543472$outboundSchema + atBRANDAt649501: z.lazy(() => + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchemaAtBRANDAt649501$outboundSchema ), }).transform((v) => { return remap$(v, { - atBRANDAt543472: "__@BRAND@543472", + atBRANDAt649501: "__@BRAND@649501", }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Default$ { - /** @deprecated use `Default$inboundSchema` instead. */ - export const inboundSchema = Default$inboundSchema; - /** @deprecated use `Default$outboundSchema` instead. */ - export const outboundSchema = Default$outboundSchema; - /** @deprecated use `Default$Outbound` instead. */ - export type Outbound = Default$Outbound; -} - export function defaultToJSON(value: Default): string { return JSON.stringify(Default$outboundSchema.parse(value)); } - export function defaultFromJSON( jsonString: string, ): SafeParseResult { @@ -7828,84 +6174,65 @@ export function defaultFromJSON( } /** @internal */ -export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8AtBRANDAt543472$inboundSchema: +export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8AtBRANDAt649501$inboundSchema: z.ZodType< - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8AtBRANDAt543472, + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8AtBRANDAt649501, z.ZodTypeDef, unknown > = z.object({}); - /** @internal */ -export type GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8AtBRANDAt543472$Outbound = +export type GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8AtBRANDAt649501$Outbound = {}; /** @internal */ -export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8AtBRANDAt543472$outboundSchema: +export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8AtBRANDAt649501$outboundSchema: z.ZodType< - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8AtBRANDAt543472$Outbound, + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8AtBRANDAt649501$Outbound, z.ZodTypeDef, - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8AtBRANDAt543472 + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8AtBRANDAt649501 > = 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 GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8AtBRANDAt543472$ { - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8AtBRANDAt543472$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8AtBRANDAt543472$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8AtBRANDAt543472$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8AtBRANDAt543472$outboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8AtBRANDAt543472$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8AtBRANDAt543472$Outbound; -} - -export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8AtBRANDAt543472ToJSON( - getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8AtBRANDAt543472: - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8AtBRANDAt543472, +export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8AtBRANDAt649501ToJSON( + getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8AtBRANDAt649501: + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8AtBRANDAt649501, ): string { return JSON.stringify( - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8AtBRANDAt543472$outboundSchema + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8AtBRANDAt649501$outboundSchema .parse( - getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8AtBRANDAt543472, + getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8AtBRANDAt649501, ), ); } - -export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8AtBRANDAt543472FromJSON( +export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8AtBRANDAt649501FromJSON( jsonString: string, ): SafeParseResult< - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8AtBRANDAt543472, + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8AtBRANDAt649501, SDKValidationError > { return safeParse( jsonString, (x) => - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8AtBRANDAt543472$inboundSchema + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8AtBRANDAt649501$inboundSchema .parse(JSON.parse(x)), - `Failed to parse 'GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8AtBRANDAt543472' from JSON`, + `Failed to parse 'GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8AtBRANDAt649501' from JSON`, ); } /** @internal */ export const Example$inboundSchema: z.ZodType = z.object({ - "__@BRAND@543472": z.lazy(() => - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8AtBRANDAt543472$inboundSchema + "__@BRAND@649501": z.lazy(() => + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8AtBRANDAt649501$inboundSchema ), }).transform((v) => { return remap$(v, { - "__@BRAND@543472": "atBRANDAt543472", + "__@BRAND@649501": "atBRANDAt649501", }); }); - /** @internal */ export type Example$Outbound = { - "__@BRAND@543472": - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8AtBRANDAt543472$Outbound; + "__@BRAND@649501": + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8AtBRANDAt649501$Outbound; }; /** @internal */ @@ -7914,32 +6241,18 @@ export const Example$outboundSchema: z.ZodType< z.ZodTypeDef, Example > = z.object({ - atBRANDAt543472: z.lazy(() => - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8AtBRANDAt543472$outboundSchema + atBRANDAt649501: z.lazy(() => + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema8AtBRANDAt649501$outboundSchema ), }).transform((v) => { return remap$(v, { - atBRANDAt543472: "__@BRAND@543472", + atBRANDAt649501: "__@BRAND@649501", }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Example$ { - /** @deprecated use `Example$inboundSchema` instead. */ - export const inboundSchema = Example$inboundSchema; - /** @deprecated use `Example$outboundSchema` instead. */ - export const outboundSchema = Example$outboundSchema; - /** @deprecated use `Example$Outbound` instead. */ - export type Outbound = Example$Outbound; -} - export function exampleToJSON(example: Example): string { return JSON.stringify(Example$outboundSchema.parse(example)); } - export function exampleFromJSON( jsonString: string, ): SafeParseResult { @@ -8020,7 +6333,6 @@ export const Properties8$inboundSchema: z.ZodType< "ui:placeholder": "uiPlaceholder", }); }); - /** @internal */ export type Properties8$Outbound = { type: string; @@ -8133,23 +6445,9 @@ export const Properties8$outboundSchema: z.ZodType< }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Properties8$ { - /** @deprecated use `Properties8$inboundSchema` instead. */ - export const inboundSchema = Properties8$inboundSchema; - /** @deprecated use `Properties8$outboundSchema` instead. */ - export const outboundSchema = Properties8$outboundSchema; - /** @deprecated use `Properties8$Outbound` instead. */ - export type Outbound = Properties8$Outbound; -} - export function properties8ToJSON(properties8: Properties8): string { return JSON.stringify(Properties8$outboundSchema.parse(properties8)); } - export function properties8FromJSON( jsonString: string, ): SafeParseResult { @@ -8167,7 +6465,6 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200Applicatio > = z.nativeEnum( GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyType, ); - /** @internal */ export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyType$outboundSchema: z.ZodNativeEnum< @@ -8175,19 +6472,6 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200Applicatio > = GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyType$ { - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyType$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyType$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyType$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyType$outboundSchema; -} - /** @internal */ export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONUiControl$inboundSchema: z.ZodNativeEnum< @@ -8195,7 +6479,6 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200Applicatio > = z.nativeEnum( GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONUiControl, ); - /** @internal */ export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONUiControl$outboundSchema: z.ZodNativeEnum< @@ -8203,77 +6486,46 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200Applicatio > = GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONUiControl$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONUiControl$ { - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONUiControl$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONUiControl$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONUiControl$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONUiControl$outboundSchema; -} - /** @internal */ -export const GetConfigurationProductsUiOptionsIntegrationsAtBRANDAt543472$inboundSchema: +export const GetConfigurationProductsUiOptionsIntegrationsAtBRANDAt649501$inboundSchema: z.ZodType< - GetConfigurationProductsUiOptionsIntegrationsAtBRANDAt543472, + GetConfigurationProductsUiOptionsIntegrationsAtBRANDAt649501, z.ZodTypeDef, unknown > = z.object({}); - /** @internal */ -export type GetConfigurationProductsUiOptionsIntegrationsAtBRANDAt543472$Outbound = +export type GetConfigurationProductsUiOptionsIntegrationsAtBRANDAt649501$Outbound = {}; /** @internal */ -export const GetConfigurationProductsUiOptionsIntegrationsAtBRANDAt543472$outboundSchema: +export const GetConfigurationProductsUiOptionsIntegrationsAtBRANDAt649501$outboundSchema: z.ZodType< - GetConfigurationProductsUiOptionsIntegrationsAtBRANDAt543472$Outbound, + GetConfigurationProductsUiOptionsIntegrationsAtBRANDAt649501$Outbound, z.ZodTypeDef, - GetConfigurationProductsUiOptionsIntegrationsAtBRANDAt543472 + GetConfigurationProductsUiOptionsIntegrationsAtBRANDAt649501 > = 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 GetConfigurationProductsUiOptionsIntegrationsAtBRANDAt543472$ { - /** @deprecated use `GetConfigurationProductsUiOptionsIntegrationsAtBRANDAt543472$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsUiOptionsIntegrationsAtBRANDAt543472$inboundSchema; - /** @deprecated use `GetConfigurationProductsUiOptionsIntegrationsAtBRANDAt543472$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsUiOptionsIntegrationsAtBRANDAt543472$outboundSchema; - /** @deprecated use `GetConfigurationProductsUiOptionsIntegrationsAtBRANDAt543472$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsUiOptionsIntegrationsAtBRANDAt543472$Outbound; -} - -export function getConfigurationProductsUiOptionsIntegrationsAtBRANDAt543472ToJSON( - getConfigurationProductsUiOptionsIntegrationsAtBRANDAt543472: - GetConfigurationProductsUiOptionsIntegrationsAtBRANDAt543472, +export function getConfigurationProductsUiOptionsIntegrationsAtBRANDAt649501ToJSON( + getConfigurationProductsUiOptionsIntegrationsAtBRANDAt649501: + GetConfigurationProductsUiOptionsIntegrationsAtBRANDAt649501, ): string { return JSON.stringify( - GetConfigurationProductsUiOptionsIntegrationsAtBRANDAt543472$outboundSchema - .parse(getConfigurationProductsUiOptionsIntegrationsAtBRANDAt543472), + GetConfigurationProductsUiOptionsIntegrationsAtBRANDAt649501$outboundSchema + .parse(getConfigurationProductsUiOptionsIntegrationsAtBRANDAt649501), ); } - -export function getConfigurationProductsUiOptionsIntegrationsAtBRANDAt543472FromJSON( +export function getConfigurationProductsUiOptionsIntegrationsAtBRANDAt649501FromJSON( jsonString: string, ): SafeParseResult< - GetConfigurationProductsUiOptionsIntegrationsAtBRANDAt543472, + GetConfigurationProductsUiOptionsIntegrationsAtBRANDAt649501, SDKValidationError > { return safeParse( jsonString, (x) => - GetConfigurationProductsUiOptionsIntegrationsAtBRANDAt543472$inboundSchema + GetConfigurationProductsUiOptionsIntegrationsAtBRANDAt649501$inboundSchema .parse(JSON.parse(x)), - `Failed to parse 'GetConfigurationProductsUiOptionsIntegrationsAtBRANDAt543472' from JSON`, + `Failed to parse 'GetConfigurationProductsUiOptionsIntegrationsAtBRANDAt649501' from JSON`, ); } @@ -8283,19 +6535,18 @@ export const UiOptionsValue$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - "__@BRAND@543472": z.lazy(() => - GetConfigurationProductsUiOptionsIntegrationsAtBRANDAt543472$inboundSchema + "__@BRAND@649501": z.lazy(() => + GetConfigurationProductsUiOptionsIntegrationsAtBRANDAt649501$inboundSchema ), }).transform((v) => { return remap$(v, { - "__@BRAND@543472": "atBRANDAt543472", + "__@BRAND@649501": "atBRANDAt649501", }); }); - /** @internal */ export type UiOptionsValue$Outbound = { - "__@BRAND@543472": - GetConfigurationProductsUiOptionsIntegrationsAtBRANDAt543472$Outbound; + "__@BRAND@649501": + GetConfigurationProductsUiOptionsIntegrationsAtBRANDAt649501$Outbound; }; /** @internal */ @@ -8304,32 +6555,18 @@ export const UiOptionsValue$outboundSchema: z.ZodType< z.ZodTypeDef, UiOptionsValue > = z.object({ - atBRANDAt543472: z.lazy(() => - GetConfigurationProductsUiOptionsIntegrationsAtBRANDAt543472$outboundSchema + atBRANDAt649501: z.lazy(() => + GetConfigurationProductsUiOptionsIntegrationsAtBRANDAt649501$outboundSchema ), }).transform((v) => { return remap$(v, { - atBRANDAt543472: "__@BRAND@543472", + atBRANDAt649501: "__@BRAND@649501", }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UiOptionsValue$ { - /** @deprecated use `UiOptionsValue$inboundSchema` instead. */ - export const inboundSchema = UiOptionsValue$inboundSchema; - /** @deprecated use `UiOptionsValue$outboundSchema` instead. */ - export const outboundSchema = UiOptionsValue$outboundSchema; - /** @deprecated use `UiOptionsValue$Outbound` instead. */ - export type Outbound = UiOptionsValue$Outbound; -} - export function uiOptionsValueToJSON(uiOptionsValue: UiOptionsValue): string { return JSON.stringify(UiOptionsValue$outboundSchema.parse(uiOptionsValue)); } - export function uiOptionsValueFromJSON( jsonString: string, ): SafeParseResult { @@ -8347,7 +6584,6 @@ export const GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJ > = z.nativeEnum( GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts3, ); - /** @internal */ export const GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts3$outboundSchema: z.ZodNativeEnum< @@ -8355,19 +6591,6 @@ export const GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJ > = GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts3$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts3$ { - /** @deprecated use `GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts3$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts3$inboundSchema; - /** @deprecated use `GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts3$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts3$outboundSchema; -} - /** @internal */ export const GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts2$inboundSchema: z.ZodType< @@ -8377,7 +6600,6 @@ export const GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJ > = z.object({ expr: z.string(), }); - /** @internal */ export type GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts2$Outbound = { @@ -8394,22 +6616,6 @@ export const GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJ expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts2$ { - /** @deprecated use `GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts2$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts2$inboundSchema; - /** @deprecated use `GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts2$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts2$outboundSchema; - /** @deprecated use `GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts2$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts2$Outbound; -} - export function getConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts2ToJSON( getConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts2: GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts2, @@ -8421,7 +6627,6 @@ export function getConfigurationProductsDisabledIntegrationsResponse200Applicati ), ); } - export function getConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts2FromJSON( jsonString: string, ): SafeParseResult< @@ -8449,7 +6654,6 @@ export const GetConfigurationProductsUiOptionsDisabled$inboundSchema: z.ZodType< z.boolean(), GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts3$inboundSchema, ]); - /** @internal */ export type GetConfigurationProductsUiOptionsDisabled$Outbound = | GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts2$Outbound @@ -8470,21 +6674,6 @@ export const GetConfigurationProductsUiOptionsDisabled$outboundSchema: GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBodyProducts3$outboundSchema, ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsUiOptionsDisabled$ { - /** @deprecated use `GetConfigurationProductsUiOptionsDisabled$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsUiOptionsDisabled$inboundSchema; - /** @deprecated use `GetConfigurationProductsUiOptionsDisabled$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsUiOptionsDisabled$outboundSchema; - /** @deprecated use `GetConfigurationProductsUiOptionsDisabled$Outbound` instead. */ - export type Outbound = GetConfigurationProductsUiOptionsDisabled$Outbound; -} - export function getConfigurationProductsUiOptionsDisabledToJSON( getConfigurationProductsUiOptionsDisabled: GetConfigurationProductsUiOptionsDisabled, @@ -8495,7 +6684,6 @@ export function getConfigurationProductsUiOptionsDisabledToJSON( ), ); } - export function getConfigurationProductsUiOptionsDisabledFromJSON( jsonString: string, ): SafeParseResult< @@ -8519,7 +6707,6 @@ export const GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSO > = z.nativeEnum( GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts3, ); - /** @internal */ export const GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts3$outboundSchema: z.ZodNativeEnum< @@ -8527,19 +6714,6 @@ export const GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSO > = GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts3$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts3$ { - /** @deprecated use `GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts3$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts3$inboundSchema; - /** @deprecated use `GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts3$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts3$outboundSchema; -} - /** @internal */ export const GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts2$inboundSchema: z.ZodType< @@ -8549,7 +6723,6 @@ export const GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSO > = z.object({ expr: z.string(), }); - /** @internal */ export type GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts2$Outbound = { @@ -8566,22 +6739,6 @@ export const GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSO expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts2$ { - /** @deprecated use `GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts2$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts2$inboundSchema; - /** @deprecated use `GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts2$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts2$outboundSchema; - /** @deprecated use `GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts2$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts2$Outbound; -} - export function getConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts2ToJSON( getConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts2: GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts2, @@ -8593,7 +6750,6 @@ export function getConfigurationProductsHiddenIntegrationsResponse200Application ), ); } - export function getConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts2FromJSON( jsonString: string, ): SafeParseResult< @@ -8621,7 +6777,6 @@ export const GetConfigurationProductsUiOptionsHidden$inboundSchema: z.ZodType< z.boolean(), GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts3$inboundSchema, ]); - /** @internal */ export type GetConfigurationProductsUiOptionsHidden$Outbound = | GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts2$Outbound @@ -8641,21 +6796,6 @@ export const GetConfigurationProductsUiOptionsHidden$outboundSchema: z.ZodType< GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts3$outboundSchema, ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsUiOptionsHidden$ { - /** @deprecated use `GetConfigurationProductsUiOptionsHidden$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsUiOptionsHidden$inboundSchema; - /** @deprecated use `GetConfigurationProductsUiOptionsHidden$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsUiOptionsHidden$outboundSchema; - /** @deprecated use `GetConfigurationProductsUiOptionsHidden$Outbound` instead. */ - export type Outbound = GetConfigurationProductsUiOptionsHidden$Outbound; -} - export function getConfigurationProductsUiOptionsHiddenToJSON( getConfigurationProductsUiOptionsHidden: GetConfigurationProductsUiOptionsHidden, @@ -8666,7 +6806,6 @@ export function getConfigurationProductsUiOptionsHiddenToJSON( ), ); } - export function getConfigurationProductsUiOptionsHiddenFromJSON( jsonString: string, ): SafeParseResult< @@ -8705,7 +6844,6 @@ export const UiOptions3$inboundSchema: z.ZodType< GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBodyProducts3$inboundSchema, ]).optional(), }); - /** @internal */ export type UiOptions3$Outbound = { value: UiOptionsValue$Outbound; @@ -8744,23 +6882,9 @@ export const UiOptions3$outboundSchema: z.ZodType< ]).optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UiOptions3$ { - /** @deprecated use `UiOptions3$inboundSchema` instead. */ - export const inboundSchema = UiOptions3$inboundSchema; - /** @deprecated use `UiOptions3$outboundSchema` instead. */ - export const outboundSchema = UiOptions3$outboundSchema; - /** @deprecated use `UiOptions3$Outbound` instead. */ - export type Outbound = UiOptions3$Outbound; -} - export function uiOptions3ToJSON(uiOptions3: UiOptions3): string { return JSON.stringify(UiOptions3$outboundSchema.parse(uiOptions3)); } - export function uiOptions3FromJSON( jsonString: string, ): SafeParseResult { @@ -8772,50 +6896,35 @@ export function uiOptions3FromJSON( } /** @internal */ -export const UiOptionsAtBRANDAt543472$inboundSchema: z.ZodType< - UiOptionsAtBRANDAt543472, +export const UiOptionsAtBRANDAt649501$inboundSchema: z.ZodType< + UiOptionsAtBRANDAt649501, z.ZodTypeDef, unknown > = z.object({}); - /** @internal */ -export type UiOptionsAtBRANDAt543472$Outbound = {}; +export type UiOptionsAtBRANDAt649501$Outbound = {}; /** @internal */ -export const UiOptionsAtBRANDAt543472$outboundSchema: z.ZodType< - UiOptionsAtBRANDAt543472$Outbound, +export const UiOptionsAtBRANDAt649501$outboundSchema: z.ZodType< + UiOptionsAtBRANDAt649501$Outbound, z.ZodTypeDef, - UiOptionsAtBRANDAt543472 + UiOptionsAtBRANDAt649501 > = 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 UiOptionsAtBRANDAt543472$ { - /** @deprecated use `UiOptionsAtBRANDAt543472$inboundSchema` instead. */ - export const inboundSchema = UiOptionsAtBRANDAt543472$inboundSchema; - /** @deprecated use `UiOptionsAtBRANDAt543472$outboundSchema` instead. */ - export const outboundSchema = UiOptionsAtBRANDAt543472$outboundSchema; - /** @deprecated use `UiOptionsAtBRANDAt543472$Outbound` instead. */ - export type Outbound = UiOptionsAtBRANDAt543472$Outbound; -} - -export function uiOptionsAtBRANDAt543472ToJSON( - uiOptionsAtBRANDAt543472: UiOptionsAtBRANDAt543472, +export function uiOptionsAtBRANDAt649501ToJSON( + uiOptionsAtBRANDAt649501: UiOptionsAtBRANDAt649501, ): string { return JSON.stringify( - UiOptionsAtBRANDAt543472$outboundSchema.parse(uiOptionsAtBRANDAt543472), + UiOptionsAtBRANDAt649501$outboundSchema.parse(uiOptionsAtBRANDAt649501), ); } - -export function uiOptionsAtBRANDAt543472FromJSON( +export function uiOptionsAtBRANDAt649501FromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UiOptionsAtBRANDAt543472$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UiOptionsAtBRANDAt543472' from JSON`, + (x) => UiOptionsAtBRANDAt649501$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UiOptionsAtBRANDAt649501' from JSON`, ); } @@ -8825,16 +6934,15 @@ export const UiOptions2$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - "__@BRAND@543472": z.lazy(() => UiOptionsAtBRANDAt543472$inboundSchema), + "__@BRAND@649501": z.lazy(() => UiOptionsAtBRANDAt649501$inboundSchema), }).transform((v) => { return remap$(v, { - "__@BRAND@543472": "atBRANDAt543472", + "__@BRAND@649501": "atBRANDAt649501", }); }); - /** @internal */ export type UiOptions2$Outbound = { - "__@BRAND@543472": UiOptionsAtBRANDAt543472$Outbound; + "__@BRAND@649501": UiOptionsAtBRANDAt649501$Outbound; }; /** @internal */ @@ -8843,30 +6951,16 @@ export const UiOptions2$outboundSchema: z.ZodType< z.ZodTypeDef, UiOptions2 > = z.object({ - atBRANDAt543472: z.lazy(() => UiOptionsAtBRANDAt543472$outboundSchema), + atBRANDAt649501: z.lazy(() => UiOptionsAtBRANDAt649501$outboundSchema), }).transform((v) => { return remap$(v, { - atBRANDAt543472: "__@BRAND@543472", + atBRANDAt649501: "__@BRAND@649501", }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UiOptions2$ { - /** @deprecated use `UiOptions2$inboundSchema` instead. */ - export const inboundSchema = UiOptions2$inboundSchema; - /** @deprecated use `UiOptions2$outboundSchema` instead. */ - export const outboundSchema = UiOptions2$outboundSchema; - /** @deprecated use `UiOptions2$Outbound` instead. */ - export type Outbound = UiOptions2$Outbound; -} - export function uiOptions2ToJSON(uiOptions2: UiOptions2): string { return JSON.stringify(UiOptions2$outboundSchema.parse(uiOptions2)); } - export function uiOptions2FromJSON( jsonString: string, ): SafeParseResult { @@ -8884,7 +6978,6 @@ export const GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJ > = z.nativeEnum( GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBody3, ); - /** @internal */ export const GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBody3$outboundSchema: z.ZodNativeEnum< @@ -8892,19 +6985,6 @@ export const GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJ > = GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBody3$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBody3$ { - /** @deprecated use `GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBody3$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBody3$inboundSchema; - /** @deprecated use `GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBody3$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBody3$outboundSchema; -} - /** @internal */ export const GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBody2$inboundSchema: z.ZodType< @@ -8914,7 +6994,6 @@ export const GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJ > = z.object({ expr: z.string(), }); - /** @internal */ export type GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBody2$Outbound = { @@ -8931,22 +7010,6 @@ export const GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJ expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBody2$ { - /** @deprecated use `GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBody2$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBody2$inboundSchema; - /** @deprecated use `GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBody2$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBody2$outboundSchema; - /** @deprecated use `GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBody2$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBody2$Outbound; -} - export function getConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBody2ToJSON( getConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBody2: GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBody2, @@ -8958,7 +7021,6 @@ export function getConfigurationProductsDisabledIntegrationsResponse200Applicati ), ); } - export function getConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBody2FromJSON( jsonString: string, ): SafeParseResult< @@ -8986,7 +7048,6 @@ export const UiOptionsDisabled$inboundSchema: z.ZodType< z.boolean(), GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBody3$inboundSchema, ]); - /** @internal */ export type UiOptionsDisabled$Outbound = | GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBody2$Outbound @@ -9006,19 +7067,6 @@ export const UiOptionsDisabled$outboundSchema: z.ZodType< GetConfigurationProductsDisabledIntegrationsResponse200ApplicationJSONResponseBody3$outboundSchema, ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UiOptionsDisabled$ { - /** @deprecated use `UiOptionsDisabled$inboundSchema` instead. */ - export const inboundSchema = UiOptionsDisabled$inboundSchema; - /** @deprecated use `UiOptionsDisabled$outboundSchema` instead. */ - export const outboundSchema = UiOptionsDisabled$outboundSchema; - /** @deprecated use `UiOptionsDisabled$Outbound` instead. */ - export type Outbound = UiOptionsDisabled$Outbound; -} - export function uiOptionsDisabledToJSON( uiOptionsDisabled: UiOptionsDisabled, ): string { @@ -9026,7 +7074,6 @@ export function uiOptionsDisabledToJSON( UiOptionsDisabled$outboundSchema.parse(uiOptionsDisabled), ); } - export function uiOptionsDisabledFromJSON( jsonString: string, ): SafeParseResult { @@ -9044,7 +7091,6 @@ export const GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSO > = z.nativeEnum( GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBody3, ); - /** @internal */ export const GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBody3$outboundSchema: z.ZodNativeEnum< @@ -9052,19 +7098,6 @@ export const GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSO > = GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBody3$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBody3$ { - /** @deprecated use `GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBody3$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBody3$inboundSchema; - /** @deprecated use `GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBody3$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBody3$outboundSchema; -} - /** @internal */ export const GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBody2$inboundSchema: z.ZodType< @@ -9074,7 +7107,6 @@ export const GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSO > = z.object({ expr: z.string(), }); - /** @internal */ export type GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBody2$Outbound = { @@ -9091,22 +7123,6 @@ export const GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSO expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBody2$ { - /** @deprecated use `GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBody2$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBody2$inboundSchema; - /** @deprecated use `GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBody2$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBody2$outboundSchema; - /** @deprecated use `GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBody2$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBody2$Outbound; -} - export function getConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBody2ToJSON( getConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBody2: GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBody2, @@ -9118,7 +7134,6 @@ export function getConfigurationProductsHiddenIntegrationsResponse200Application ), ); } - export function getConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBody2FromJSON( jsonString: string, ): SafeParseResult< @@ -9146,7 +7161,6 @@ export const UiOptionsHidden$inboundSchema: z.ZodType< z.boolean(), GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBody3$inboundSchema, ]); - /** @internal */ export type UiOptionsHidden$Outbound = | GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBody2$Outbound @@ -9166,25 +7180,11 @@ export const UiOptionsHidden$outboundSchema: z.ZodType< GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBody3$outboundSchema, ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UiOptionsHidden$ { - /** @deprecated use `UiOptionsHidden$inboundSchema` instead. */ - export const inboundSchema = UiOptionsHidden$inboundSchema; - /** @deprecated use `UiOptionsHidden$outboundSchema` instead. */ - export const outboundSchema = UiOptionsHidden$outboundSchema; - /** @deprecated use `UiOptionsHidden$Outbound` instead. */ - export type Outbound = UiOptionsHidden$Outbound; -} - export function uiOptionsHiddenToJSON( uiOptionsHidden: UiOptionsHidden, ): string { return JSON.stringify(UiOptionsHidden$outboundSchema.parse(uiOptionsHidden)); } - export function uiOptionsHiddenFromJSON( jsonString: string, ): SafeParseResult { @@ -9218,7 +7218,6 @@ export const UiOptions1$inboundSchema: z.ZodType< GetConfigurationProductsHiddenIntegrationsResponse200ApplicationJSONResponseBody3$inboundSchema, ]).optional(), }); - /** @internal */ export type UiOptions1$Outbound = { value: string; @@ -9259,23 +7258,9 @@ export const UiOptions1$outboundSchema: z.ZodType< ]).optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UiOptions1$ { - /** @deprecated use `UiOptions1$inboundSchema` instead. */ - export const inboundSchema = UiOptions1$inboundSchema; - /** @deprecated use `UiOptions1$outboundSchema` instead. */ - export const outboundSchema = UiOptions1$outboundSchema; - /** @deprecated use `UiOptions1$Outbound` instead. */ - export type Outbound = UiOptions1$Outbound; -} - export function uiOptions1ToJSON(uiOptions1: UiOptions1): string { return JSON.stringify(UiOptions1$outboundSchema.parse(uiOptions1)); } - export function uiOptions1FromJSON( jsonString: string, ): SafeParseResult { @@ -9297,7 +7282,6 @@ export const GetConfigurationProductsPropertiesUiOptions$inboundSchema: z.lazy(() => UiOptions2$inboundSchema), z.lazy(() => UiOptions3$inboundSchema), ]); - /** @internal */ export type GetConfigurationProductsPropertiesUiOptions$Outbound = | UiOptions1$Outbound @@ -9316,21 +7300,6 @@ export const GetConfigurationProductsPropertiesUiOptions$outboundSchema: z.lazy(() => UiOptions3$outboundSchema), ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsPropertiesUiOptions$ { - /** @deprecated use `GetConfigurationProductsPropertiesUiOptions$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesUiOptions$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesUiOptions$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesUiOptions$outboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesUiOptions$Outbound` instead. */ - export type Outbound = GetConfigurationProductsPropertiesUiOptions$Outbound; -} - export function getConfigurationProductsPropertiesUiOptionsToJSON( getConfigurationProductsPropertiesUiOptions: GetConfigurationProductsPropertiesUiOptions, @@ -9341,7 +7310,6 @@ export function getConfigurationProductsPropertiesUiOptionsToJSON( ), ); } - export function getConfigurationProductsPropertiesUiOptionsFromJSON( jsonString: string, ): SafeParseResult< @@ -9359,65 +7327,47 @@ export function getConfigurationProductsPropertiesUiOptionsFromJSON( } /** @internal */ -export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt543472$inboundSchema: +export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt649501$inboundSchema: z.ZodType< - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt543472, + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt649501, z.ZodTypeDef, unknown > = z.object({}); - /** @internal */ -export type GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt543472$Outbound = +export type GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt649501$Outbound = {}; /** @internal */ -export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt543472$outboundSchema: +export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt649501$outboundSchema: z.ZodType< - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt543472$Outbound, + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt649501$Outbound, z.ZodTypeDef, - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt543472 + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt649501 > = 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 GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt543472$ { - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt543472$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt543472$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt543472$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt543472$outboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt543472$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt543472$Outbound; -} - -export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt543472ToJSON( - getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt543472: - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt543472, +export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt649501ToJSON( + getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt649501: + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt649501, ): string { return JSON.stringify( - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt543472$outboundSchema + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt649501$outboundSchema .parse( - getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt543472, + getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt649501, ), ); } - -export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt543472FromJSON( +export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt649501FromJSON( jsonString: string, ): SafeParseResult< - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt543472, + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt649501, SDKValidationError > { return safeParse( jsonString, (x) => - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt543472$inboundSchema + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt649501$inboundSchema .parse(JSON.parse(x)), - `Failed to parse 'GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt543472' from JSON`, + `Failed to parse 'GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt649501' from JSON`, ); } @@ -9428,19 +7378,18 @@ export const GetConfigurationProductsPropertiesMinLength$inboundSchema: z.ZodTypeDef, unknown > = z.object({ - "__@BRAND@543472": z.lazy(() => - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt543472$inboundSchema + "__@BRAND@649501": z.lazy(() => + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt649501$inboundSchema ), }).transform((v) => { return remap$(v, { - "__@BRAND@543472": "atBRANDAt543472", + "__@BRAND@649501": "atBRANDAt649501", }); }); - /** @internal */ export type GetConfigurationProductsPropertiesMinLength$Outbound = { - "__@BRAND@543472": - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt543472$Outbound; + "__@BRAND@649501": + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt649501$Outbound; }; /** @internal */ @@ -9450,30 +7399,15 @@ export const GetConfigurationProductsPropertiesMinLength$outboundSchema: z.ZodTypeDef, GetConfigurationProductsPropertiesMinLength > = z.object({ - atBRANDAt543472: z.lazy(() => - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt543472$outboundSchema + atBRANDAt649501: z.lazy(() => + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONAtBRANDAt649501$outboundSchema ), }).transform((v) => { return remap$(v, { - atBRANDAt543472: "__@BRAND@543472", + atBRANDAt649501: "__@BRAND@649501", }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsPropertiesMinLength$ { - /** @deprecated use `GetConfigurationProductsPropertiesMinLength$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesMinLength$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesMinLength$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesMinLength$outboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesMinLength$Outbound` instead. */ - export type Outbound = GetConfigurationProductsPropertiesMinLength$Outbound; -} - export function getConfigurationProductsPropertiesMinLengthToJSON( getConfigurationProductsPropertiesMinLength: GetConfigurationProductsPropertiesMinLength, @@ -9484,7 +7418,6 @@ export function getConfigurationProductsPropertiesMinLengthToJSON( ), ); } - export function getConfigurationProductsPropertiesMinLengthFromJSON( jsonString: string, ): SafeParseResult< @@ -9502,65 +7435,47 @@ export function getConfigurationProductsPropertiesMinLengthFromJSON( } /** @internal */ -export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt543472$inboundSchema: +export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt649501$inboundSchema: z.ZodType< - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt543472, + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt649501, z.ZodTypeDef, unknown > = z.object({}); - /** @internal */ -export type GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt543472$Outbound = +export type GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt649501$Outbound = {}; /** @internal */ -export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt543472$outboundSchema: +export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt649501$outboundSchema: z.ZodType< - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt543472$Outbound, + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt649501$Outbound, z.ZodTypeDef, - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt543472 + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt649501 > = 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 GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt543472$ { - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt543472$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt543472$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt543472$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt543472$outboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt543472$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt543472$Outbound; -} - -export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt543472ToJSON( - getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt543472: - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt543472, +export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt649501ToJSON( + getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt649501: + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt649501, ): string { return JSON.stringify( - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt543472$outboundSchema + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt649501$outboundSchema .parse( - getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt543472, + getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt649501, ), ); } - -export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt543472FromJSON( +export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt649501FromJSON( jsonString: string, ): SafeParseResult< - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt543472, + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt649501, SDKValidationError > { return safeParse( jsonString, (x) => - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt543472$inboundSchema + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt649501$inboundSchema .parse(JSON.parse(x)), - `Failed to parse 'GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt543472' from JSON`, + `Failed to parse 'GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt649501' from JSON`, ); } @@ -9571,19 +7486,18 @@ export const GetConfigurationProductsPropertiesMaxLength$inboundSchema: z.ZodTypeDef, unknown > = z.object({ - "__@BRAND@543472": z.lazy(() => - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt543472$inboundSchema + "__@BRAND@649501": z.lazy(() => + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt649501$inboundSchema ), }).transform((v) => { return remap$(v, { - "__@BRAND@543472": "atBRANDAt543472", + "__@BRAND@649501": "atBRANDAt649501", }); }); - /** @internal */ export type GetConfigurationProductsPropertiesMaxLength$Outbound = { - "__@BRAND@543472": - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt543472$Outbound; + "__@BRAND@649501": + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt649501$Outbound; }; /** @internal */ @@ -9593,30 +7507,15 @@ export const GetConfigurationProductsPropertiesMaxLength$outboundSchema: z.ZodTypeDef, GetConfigurationProductsPropertiesMaxLength > = z.object({ - atBRANDAt543472: z.lazy(() => - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt543472$outboundSchema + atBRANDAt649501: z.lazy(() => + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyAtBRANDAt649501$outboundSchema ), }).transform((v) => { return remap$(v, { - atBRANDAt543472: "__@BRAND@543472", + atBRANDAt649501: "__@BRAND@649501", }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsPropertiesMaxLength$ { - /** @deprecated use `GetConfigurationProductsPropertiesMaxLength$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesMaxLength$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesMaxLength$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesMaxLength$outboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesMaxLength$Outbound` instead. */ - export type Outbound = GetConfigurationProductsPropertiesMaxLength$Outbound; -} - export function getConfigurationProductsPropertiesMaxLengthToJSON( getConfigurationProductsPropertiesMaxLength: GetConfigurationProductsPropertiesMaxLength, @@ -9627,7 +7526,6 @@ export function getConfigurationProductsPropertiesMaxLengthToJSON( ), ); } - export function getConfigurationProductsPropertiesMaxLengthFromJSON( jsonString: string, ): SafeParseResult< @@ -9645,65 +7543,47 @@ export function getConfigurationProductsPropertiesMaxLengthFromJSON( } /** @internal */ -export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsAtBRANDAt543472$inboundSchema: +export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsAtBRANDAt649501$inboundSchema: z.ZodType< - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsAtBRANDAt543472, + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsAtBRANDAt649501, z.ZodTypeDef, unknown > = z.object({}); - /** @internal */ -export type GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsAtBRANDAt543472$Outbound = +export type GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsAtBRANDAt649501$Outbound = {}; /** @internal */ -export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsAtBRANDAt543472$outboundSchema: +export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsAtBRANDAt649501$outboundSchema: z.ZodType< - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsAtBRANDAt543472$Outbound, + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsAtBRANDAt649501$Outbound, z.ZodTypeDef, - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsAtBRANDAt543472 + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsAtBRANDAt649501 > = 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 GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsAtBRANDAt543472$ { - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsAtBRANDAt543472$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsAtBRANDAt543472$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsAtBRANDAt543472$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsAtBRANDAt543472$outboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsAtBRANDAt543472$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsAtBRANDAt543472$Outbound; -} - -export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsAtBRANDAt543472ToJSON( - getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsAtBRANDAt543472: - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsAtBRANDAt543472, +export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsAtBRANDAt649501ToJSON( + getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsAtBRANDAt649501: + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsAtBRANDAt649501, ): string { return JSON.stringify( - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsAtBRANDAt543472$outboundSchema + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsAtBRANDAt649501$outboundSchema .parse( - getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsAtBRANDAt543472, + getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsAtBRANDAt649501, ), ); } - -export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsAtBRANDAt543472FromJSON( +export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsAtBRANDAt649501FromJSON( jsonString: string, ): SafeParseResult< - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsAtBRANDAt543472, + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsAtBRANDAt649501, SDKValidationError > { return safeParse( jsonString, (x) => - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsAtBRANDAt543472$inboundSchema + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsAtBRANDAt649501$inboundSchema .parse(JSON.parse(x)), - `Failed to parse 'GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsAtBRANDAt543472' from JSON`, + `Failed to parse 'GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsAtBRANDAt649501' from JSON`, ); } @@ -9713,19 +7593,18 @@ export const GetConfigurationProductsPropertiesPattern$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - "__@BRAND@543472": z.lazy(() => - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsAtBRANDAt543472$inboundSchema + "__@BRAND@649501": z.lazy(() => + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsAtBRANDAt649501$inboundSchema ), }).transform((v) => { return remap$(v, { - "__@BRAND@543472": "atBRANDAt543472", + "__@BRAND@649501": "atBRANDAt649501", }); }); - /** @internal */ export type GetConfigurationProductsPropertiesPattern$Outbound = { - "__@BRAND@543472": - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsAtBRANDAt543472$Outbound; + "__@BRAND@649501": + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsAtBRANDAt649501$Outbound; }; /** @internal */ @@ -9735,30 +7614,15 @@ export const GetConfigurationProductsPropertiesPattern$outboundSchema: z.ZodTypeDef, GetConfigurationProductsPropertiesPattern > = z.object({ - atBRANDAt543472: z.lazy(() => - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsAtBRANDAt543472$outboundSchema + atBRANDAt649501: z.lazy(() => + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsAtBRANDAt649501$outboundSchema ), }).transform((v) => { return remap$(v, { - atBRANDAt543472: "__@BRAND@543472", + atBRANDAt649501: "__@BRAND@649501", }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsPropertiesPattern$ { - /** @deprecated use `GetConfigurationProductsPropertiesPattern$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesPattern$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesPattern$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesPattern$outboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesPattern$Outbound` instead. */ - export type Outbound = GetConfigurationProductsPropertiesPattern$Outbound; -} - export function getConfigurationProductsPropertiesPatternToJSON( getConfigurationProductsPropertiesPattern: GetConfigurationProductsPropertiesPattern, @@ -9769,7 +7633,6 @@ export function getConfigurationProductsPropertiesPatternToJSON( ), ); } - export function getConfigurationProductsPropertiesPatternFromJSON( jsonString: string, ): SafeParseResult< @@ -9793,7 +7656,6 @@ export const GetConfigurationProductsUiReadOnlyIntegrationsResponse200Applicatio > = z.nativeEnum( GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBody3, ); - /** @internal */ export const GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBody3$outboundSchema: z.ZodNativeEnum< @@ -9801,19 +7663,6 @@ export const GetConfigurationProductsUiReadOnlyIntegrationsResponse200Applicatio > = GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBody3$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBody3$ { - /** @deprecated use `GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBody3$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBody3$inboundSchema; - /** @deprecated use `GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBody3$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBody3$outboundSchema; -} - /** @internal */ export const GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBody2$inboundSchema: z.ZodType< @@ -9823,7 +7672,6 @@ export const GetConfigurationProductsUiReadOnlyIntegrationsResponse200Applicatio > = z.object({ expr: z.string(), }); - /** @internal */ export type GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBody2$Outbound = { @@ -9840,22 +7688,6 @@ export const GetConfigurationProductsUiReadOnlyIntegrationsResponse200Applicatio expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBody2$ { - /** @deprecated use `GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBody2$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBody2$inboundSchema; - /** @deprecated use `GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBody2$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBody2$outboundSchema; - /** @deprecated use `GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBody2$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBody2$Outbound; -} - export function getConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBody2ToJSON( getConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBody2: GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBody2, @@ -9867,7 +7699,6 @@ export function getConfigurationProductsUiReadOnlyIntegrationsResponse200Applica ), ); } - export function getConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBody2FromJSON( jsonString: string, ): SafeParseResult< @@ -9896,7 +7727,6 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200Applicatio z.boolean(), GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBody3$inboundSchema, ]); - /** @internal */ export type GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONUiReadOnly$Outbound = | GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBody2$Outbound @@ -9917,22 +7747,6 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200Applicatio GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSONResponseBody3$outboundSchema, ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONUiReadOnly$ { - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONUiReadOnly$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONUiReadOnly$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONUiReadOnly$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONUiReadOnly$outboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONUiReadOnly$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONUiReadOnly$Outbound; -} - export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONUiReadOnlyToJSON( getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONUiReadOnly: GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONUiReadOnly, @@ -9944,7 +7758,6 @@ export function getConfigurationProductsPropertiesIntegrationsResponse200Applica ), ); } - export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONUiReadOnlyFromJSON( jsonString: string, ): SafeParseResult< @@ -9967,7 +7780,6 @@ export const GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJ > = z.nativeEnum( GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBody3, ); - /** @internal */ export const GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBody3$outboundSchema: z.ZodNativeEnum< @@ -9975,19 +7787,6 @@ export const GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJ > = GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBody3$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBody3$ { - /** @deprecated use `GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBody3$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBody3$inboundSchema; - /** @deprecated use `GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBody3$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBody3$outboundSchema; -} - /** @internal */ export const GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBody2$inboundSchema: z.ZodType< @@ -9997,7 +7796,6 @@ export const GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJ > = z.object({ expr: z.string(), }); - /** @internal */ export type GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBody2$Outbound = { @@ -10014,22 +7812,6 @@ export const GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJ expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBody2$ { - /** @deprecated use `GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBody2$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBody2$inboundSchema; - /** @deprecated use `GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBody2$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBody2$outboundSchema; - /** @deprecated use `GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBody2$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBody2$Outbound; -} - export function getConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBody2ToJSON( getConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBody2: GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBody2, @@ -10041,7 +7823,6 @@ export function getConfigurationProductsUiHiddenIntegrationsResponse200Applicati ), ); } - export function getConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBody2FromJSON( jsonString: string, ): SafeParseResult< @@ -10070,7 +7851,6 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200Applicatio z.boolean(), GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBody3$inboundSchema, ]); - /** @internal */ export type GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONUiHidden$Outbound = | GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBody2$Outbound @@ -10091,22 +7871,6 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200Applicatio GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSONResponseBody3$outboundSchema, ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONUiHidden$ { - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONUiHidden$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONUiHidden$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONUiHidden$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONUiHidden$outboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONUiHidden$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONUiHidden$Outbound; -} - export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONUiHiddenToJSON( getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONUiHidden: GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONUiHidden, @@ -10118,7 +7882,6 @@ export function getConfigurationProductsPropertiesIntegrationsResponse200Applica ), ); } - export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONUiHiddenFromJSON( jsonString: string, ): SafeParseResult< @@ -10141,7 +7904,6 @@ export const GetConfigurationProductsUiDisabledIntegrationsResponse200Applicatio > = z.nativeEnum( GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBody3, ); - /** @internal */ export const GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBody3$outboundSchema: z.ZodNativeEnum< @@ -10149,19 +7911,6 @@ export const GetConfigurationProductsUiDisabledIntegrationsResponse200Applicatio > = GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBody3$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBody3$ { - /** @deprecated use `GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBody3$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBody3$inboundSchema; - /** @deprecated use `GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBody3$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBody3$outboundSchema; -} - /** @internal */ export const GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBody2$inboundSchema: z.ZodType< @@ -10171,7 +7920,6 @@ export const GetConfigurationProductsUiDisabledIntegrationsResponse200Applicatio > = z.object({ expr: z.string(), }); - /** @internal */ export type GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBody2$Outbound = { @@ -10188,22 +7936,6 @@ export const GetConfigurationProductsUiDisabledIntegrationsResponse200Applicatio expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBody2$ { - /** @deprecated use `GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBody2$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBody2$inboundSchema; - /** @deprecated use `GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBody2$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBody2$outboundSchema; - /** @deprecated use `GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBody2$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBody2$Outbound; -} - export function getConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBody2ToJSON( getConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBody2: GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBody2, @@ -10215,7 +7947,6 @@ export function getConfigurationProductsUiDisabledIntegrationsResponse200Applica ), ); } - export function getConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBody2FromJSON( jsonString: string, ): SafeParseResult< @@ -10244,7 +7975,6 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200Applicatio z.boolean(), GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBody3$inboundSchema, ]); - /** @internal */ export type GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONUiDisabled$Outbound = | GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBody2$Outbound @@ -10265,22 +7995,6 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200Applicatio GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSONResponseBody3$outboundSchema, ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONUiDisabled$ { - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONUiDisabled$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONUiDisabled$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONUiDisabled$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONUiDisabled$outboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONUiDisabled$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONUiDisabled$Outbound; -} - export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONUiDisabledToJSON( getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONUiDisabled: GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONUiDisabled, @@ -10292,7 +8006,6 @@ export function getConfigurationProductsPropertiesIntegrationsResponse200Applica ), ); } - export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONUiDisabledFromJSON( jsonString: string, ): SafeParseResult< @@ -10317,7 +8030,6 @@ export const GetConfigurationProductsUiDescriptionIntegrationsResponse200Applica > = z.object({ expr: z.string(), }); - /** @internal */ export type GetConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBody2$Outbound = { @@ -10334,22 +8046,6 @@ export const GetConfigurationProductsUiDescriptionIntegrationsResponse200Applica expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBody2$ { - /** @deprecated use `GetConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBody2$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBody2$inboundSchema; - /** @deprecated use `GetConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBody2$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBody2$outboundSchema; - /** @deprecated use `GetConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBody2$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBody2$Outbound; -} - export function getConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBody2ToJSON( getConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBody2: GetConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBody2, @@ -10361,7 +8057,6 @@ export function getConfigurationProductsUiDescriptionIntegrationsResponse200Appl ), ); } - export function getConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBody2FromJSON( jsonString: string, ): SafeParseResult< @@ -10389,7 +8084,6 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200Applicatio ), z.string(), ]); - /** @internal */ export type GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONUiDescription$Outbound = | GetConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSONResponseBody2$Outbound @@ -10408,22 +8102,6 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200Applicatio z.string(), ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONUiDescription$ { - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONUiDescription$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONUiDescription$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONUiDescription$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONUiDescription$outboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONUiDescription$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONUiDescription$Outbound; -} - export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONUiDescriptionToJSON( getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONUiDescription: GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONUiDescription, @@ -10435,7 +8113,6 @@ export function getConfigurationProductsPropertiesIntegrationsResponse200Applica ), ); } - export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONUiDescriptionFromJSON( jsonString: string, ): SafeParseResult< @@ -10460,7 +8137,6 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200Applicatio > = z.object({ expr: z.string(), }); - /** @internal */ export type GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONUiFormattedValue$Outbound = { @@ -10477,22 +8153,6 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200Applicatio expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONUiFormattedValue$ { - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONUiFormattedValue$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONUiFormattedValue$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONUiFormattedValue$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONUiFormattedValue$outboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONUiFormattedValue$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONUiFormattedValue$Outbound; -} - export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONUiFormattedValueToJSON( getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONUiFormattedValue: GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONUiFormattedValue, @@ -10504,7 +8164,6 @@ export function getConfigurationProductsPropertiesIntegrationsResponse200Applica ), ); } - export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONUiFormattedValueFromJSON( jsonString: string, ): SafeParseResult< @@ -10593,7 +8252,6 @@ export const Properties7$inboundSchema: z.ZodType< "ui:placeholder": "uiPlaceholder", }); }); - /** @internal */ export type Properties7$Outbound = { type: string; @@ -10708,23 +8366,9 @@ export const Properties7$outboundSchema: z.ZodType< }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Properties7$ { - /** @deprecated use `Properties7$inboundSchema` instead. */ - export const inboundSchema = Properties7$inboundSchema; - /** @deprecated use `Properties7$outboundSchema` instead. */ - export const outboundSchema = Properties7$outboundSchema; - /** @deprecated use `Properties7$Outbound` instead. */ - export type Outbound = Properties7$Outbound; -} - export function properties7ToJSON(properties7: Properties7): string { return JSON.stringify(Properties7$outboundSchema.parse(properties7)); } - export function properties7FromJSON( jsonString: string, ): SafeParseResult { @@ -10742,7 +8386,6 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200Applicatio > = z.nativeEnum( GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONType, ); - /** @internal */ export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONType$outboundSchema: z.ZodNativeEnum< @@ -10750,19 +8393,6 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200Applicatio > = GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONType$ { - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONType$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONType$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONType$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONType$outboundSchema; -} - /** @internal */ export const GetConfigurationProductsPropertiesIntegrationsResponse200UiControl$inboundSchema: z.ZodNativeEnum< @@ -10770,7 +8400,6 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200UiControl$ > = z.nativeEnum( GetConfigurationProductsPropertiesIntegrationsResponse200UiControl, ); - /** @internal */ export const GetConfigurationProductsPropertiesIntegrationsResponse200UiControl$outboundSchema: z.ZodNativeEnum< @@ -10778,19 +8407,6 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200UiControl$ > = GetConfigurationProductsPropertiesIntegrationsResponse200UiControl$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsPropertiesIntegrationsResponse200UiControl$ { - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200UiControl$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200UiControl$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200UiControl$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200UiControl$outboundSchema; -} - /** @internal */ export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6Type$inboundSchema: z.ZodNativeEnum< @@ -10798,7 +8414,6 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200Applicatio > = z.nativeEnum( GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6Type, ); - /** @internal */ export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6Type$outboundSchema: z.ZodNativeEnum< @@ -10806,79 +8421,48 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200Applicatio > = GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6Type$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6Type$ { - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6Type$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6Type$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6Type$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6Type$outboundSchema; -} - /** @internal */ -export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsMinLengthAtBRANDAt543472$inboundSchema: +export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsMinLengthAtBRANDAt649501$inboundSchema: z.ZodType< - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsMinLengthAtBRANDAt543472, + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsMinLengthAtBRANDAt649501, z.ZodTypeDef, unknown > = z.object({}); - /** @internal */ -export type GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsMinLengthAtBRANDAt543472$Outbound = +export type GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsMinLengthAtBRANDAt649501$Outbound = {}; /** @internal */ -export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsMinLengthAtBRANDAt543472$outboundSchema: +export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsMinLengthAtBRANDAt649501$outboundSchema: z.ZodType< - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsMinLengthAtBRANDAt543472$Outbound, + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsMinLengthAtBRANDAt649501$Outbound, z.ZodTypeDef, - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsMinLengthAtBRANDAt543472 + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsMinLengthAtBRANDAt649501 > = 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 GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsMinLengthAtBRANDAt543472$ { - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsMinLengthAtBRANDAt543472$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsMinLengthAtBRANDAt543472$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsMinLengthAtBRANDAt543472$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsMinLengthAtBRANDAt543472$outboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsMinLengthAtBRANDAt543472$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsMinLengthAtBRANDAt543472$Outbound; -} - -export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsMinLengthAtBRANDAt543472ToJSON( - getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsMinLengthAtBRANDAt543472: - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsMinLengthAtBRANDAt543472, +export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsMinLengthAtBRANDAt649501ToJSON( + getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsMinLengthAtBRANDAt649501: + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsMinLengthAtBRANDAt649501, ): string { return JSON.stringify( - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsMinLengthAtBRANDAt543472$outboundSchema + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsMinLengthAtBRANDAt649501$outboundSchema .parse( - getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsMinLengthAtBRANDAt543472, + getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsMinLengthAtBRANDAt649501, ), ); } - -export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsMinLengthAtBRANDAt543472FromJSON( +export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsMinLengthAtBRANDAt649501FromJSON( jsonString: string, ): SafeParseResult< - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsMinLengthAtBRANDAt543472, + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsMinLengthAtBRANDAt649501, SDKValidationError > { return safeParse( jsonString, (x) => - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsMinLengthAtBRANDAt543472$inboundSchema + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsMinLengthAtBRANDAt649501$inboundSchema .parse(JSON.parse(x)), - `Failed to parse 'GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsMinLengthAtBRANDAt543472' from JSON`, + `Failed to parse 'GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsMinLengthAtBRANDAt649501' from JSON`, ); } @@ -10889,20 +8473,19 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200MinLength$ z.ZodTypeDef, unknown > = z.object({ - "__@BRAND@543472": z.lazy(() => - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsMinLengthAtBRANDAt543472$inboundSchema + "__@BRAND@649501": z.lazy(() => + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsMinLengthAtBRANDAt649501$inboundSchema ), }).transform((v) => { return remap$(v, { - "__@BRAND@543472": "atBRANDAt543472", + "__@BRAND@649501": "atBRANDAt649501", }); }); - /** @internal */ export type GetConfigurationProductsPropertiesIntegrationsResponse200MinLength$Outbound = { - "__@BRAND@543472": - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsMinLengthAtBRANDAt543472$Outbound; + "__@BRAND@649501": + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsMinLengthAtBRANDAt649501$Outbound; }; /** @internal */ @@ -10912,31 +8495,15 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200MinLength$ z.ZodTypeDef, GetConfigurationProductsPropertiesIntegrationsResponse200MinLength > = z.object({ - atBRANDAt543472: z.lazy(() => - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsMinLengthAtBRANDAt543472$outboundSchema + atBRANDAt649501: z.lazy(() => + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsMinLengthAtBRANDAt649501$outboundSchema ), }).transform((v) => { return remap$(v, { - atBRANDAt543472: "__@BRAND@543472", + atBRANDAt649501: "__@BRAND@649501", }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsPropertiesIntegrationsResponse200MinLength$ { - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200MinLength$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200MinLength$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200MinLength$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200MinLength$outboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200MinLength$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsPropertiesIntegrationsResponse200MinLength$Outbound; -} - export function getConfigurationProductsPropertiesIntegrationsResponse200MinLengthToJSON( getConfigurationProductsPropertiesIntegrationsResponse200MinLength: GetConfigurationProductsPropertiesIntegrationsResponse200MinLength, @@ -10948,7 +8515,6 @@ export function getConfigurationProductsPropertiesIntegrationsResponse200MinLeng ), ); } - export function getConfigurationProductsPropertiesIntegrationsResponse200MinLengthFromJSON( jsonString: string, ): SafeParseResult< @@ -10965,65 +8531,47 @@ export function getConfigurationProductsPropertiesIntegrationsResponse200MinLeng } /** @internal */ -export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6AtBRANDAt543472$inboundSchema: +export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6AtBRANDAt649501$inboundSchema: z.ZodType< - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6AtBRANDAt543472, + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6AtBRANDAt649501, z.ZodTypeDef, unknown > = z.object({}); - /** @internal */ -export type GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6AtBRANDAt543472$Outbound = +export type GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6AtBRANDAt649501$Outbound = {}; /** @internal */ -export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6AtBRANDAt543472$outboundSchema: +export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6AtBRANDAt649501$outboundSchema: z.ZodType< - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6AtBRANDAt543472$Outbound, + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6AtBRANDAt649501$Outbound, z.ZodTypeDef, - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6AtBRANDAt543472 + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6AtBRANDAt649501 > = 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 GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6AtBRANDAt543472$ { - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6AtBRANDAt543472$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6AtBRANDAt543472$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6AtBRANDAt543472$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6AtBRANDAt543472$outboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6AtBRANDAt543472$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6AtBRANDAt543472$Outbound; -} - -export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6AtBRANDAt543472ToJSON( - getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6AtBRANDAt543472: - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6AtBRANDAt543472, +export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6AtBRANDAt649501ToJSON( + getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6AtBRANDAt649501: + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6AtBRANDAt649501, ): string { return JSON.stringify( - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6AtBRANDAt543472$outboundSchema + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6AtBRANDAt649501$outboundSchema .parse( - getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6AtBRANDAt543472, + getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6AtBRANDAt649501, ), ); } - -export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6AtBRANDAt543472FromJSON( +export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6AtBRANDAt649501FromJSON( jsonString: string, ): SafeParseResult< - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6AtBRANDAt543472, + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6AtBRANDAt649501, SDKValidationError > { return safeParse( jsonString, (x) => - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6AtBRANDAt543472$inboundSchema + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6AtBRANDAt649501$inboundSchema .parse(JSON.parse(x)), - `Failed to parse 'GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6AtBRANDAt543472' from JSON`, + `Failed to parse 'GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6AtBRANDAt649501' from JSON`, ); } @@ -11034,20 +8582,19 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200MaxLength$ z.ZodTypeDef, unknown > = z.object({ - "__@BRAND@543472": z.lazy(() => - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6AtBRANDAt543472$inboundSchema + "__@BRAND@649501": z.lazy(() => + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6AtBRANDAt649501$inboundSchema ), }).transform((v) => { return remap$(v, { - "__@BRAND@543472": "atBRANDAt543472", + "__@BRAND@649501": "atBRANDAt649501", }); }); - /** @internal */ export type GetConfigurationProductsPropertiesIntegrationsResponse200MaxLength$Outbound = { - "__@BRAND@543472": - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6AtBRANDAt543472$Outbound; + "__@BRAND@649501": + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6AtBRANDAt649501$Outbound; }; /** @internal */ @@ -11057,31 +8604,15 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200MaxLength$ z.ZodTypeDef, GetConfigurationProductsPropertiesIntegrationsResponse200MaxLength > = z.object({ - atBRANDAt543472: z.lazy(() => - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6AtBRANDAt543472$outboundSchema + atBRANDAt649501: z.lazy(() => + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6AtBRANDAt649501$outboundSchema ), }).transform((v) => { return remap$(v, { - atBRANDAt543472: "__@BRAND@543472", + atBRANDAt649501: "__@BRAND@649501", }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsPropertiesIntegrationsResponse200MaxLength$ { - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200MaxLength$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200MaxLength$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200MaxLength$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200MaxLength$outboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200MaxLength$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsPropertiesIntegrationsResponse200MaxLength$Outbound; -} - export function getConfigurationProductsPropertiesIntegrationsResponse200MaxLengthToJSON( getConfigurationProductsPropertiesIntegrationsResponse200MaxLength: GetConfigurationProductsPropertiesIntegrationsResponse200MaxLength, @@ -11093,7 +8624,6 @@ export function getConfigurationProductsPropertiesIntegrationsResponse200MaxLeng ), ); } - export function getConfigurationProductsPropertiesIntegrationsResponse200MaxLengthFromJSON( jsonString: string, ): SafeParseResult< @@ -11110,65 +8640,47 @@ export function getConfigurationProductsPropertiesIntegrationsResponse200MaxLeng } /** @internal */ -export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsAtBRANDAt543472$inboundSchema: +export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsAtBRANDAt649501$inboundSchema: z.ZodType< - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsAtBRANDAt543472, + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsAtBRANDAt649501, z.ZodTypeDef, unknown > = z.object({}); - /** @internal */ -export type GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsAtBRANDAt543472$Outbound = +export type GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsAtBRANDAt649501$Outbound = {}; /** @internal */ -export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsAtBRANDAt543472$outboundSchema: +export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsAtBRANDAt649501$outboundSchema: z.ZodType< - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsAtBRANDAt543472$Outbound, + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsAtBRANDAt649501$Outbound, z.ZodTypeDef, - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsAtBRANDAt543472 + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsAtBRANDAt649501 > = 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 GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsAtBRANDAt543472$ { - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsAtBRANDAt543472$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsAtBRANDAt543472$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsAtBRANDAt543472$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsAtBRANDAt543472$outboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsAtBRANDAt543472$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsAtBRANDAt543472$Outbound; -} - -export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsAtBRANDAt543472ToJSON( - getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsAtBRANDAt543472: - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsAtBRANDAt543472, +export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsAtBRANDAt649501ToJSON( + getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsAtBRANDAt649501: + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsAtBRANDAt649501, ): string { return JSON.stringify( - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsAtBRANDAt543472$outboundSchema + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsAtBRANDAt649501$outboundSchema .parse( - getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsAtBRANDAt543472, + getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsAtBRANDAt649501, ), ); } - -export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsAtBRANDAt543472FromJSON( +export function getConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsAtBRANDAt649501FromJSON( jsonString: string, ): SafeParseResult< - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsAtBRANDAt543472, + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsAtBRANDAt649501, SDKValidationError > { return safeParse( jsonString, (x) => - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsAtBRANDAt543472$inboundSchema + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsAtBRANDAt649501$inboundSchema .parse(JSON.parse(x)), - `Failed to parse 'GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsAtBRANDAt543472' from JSON`, + `Failed to parse 'GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsAtBRANDAt649501' from JSON`, ); } @@ -11179,20 +8691,19 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200Pattern$in z.ZodTypeDef, unknown > = z.object({ - "__@BRAND@543472": z.lazy(() => - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsAtBRANDAt543472$inboundSchema + "__@BRAND@649501": z.lazy(() => + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsAtBRANDAt649501$inboundSchema ), }).transform((v) => { return remap$(v, { - "__@BRAND@543472": "atBRANDAt543472", + "__@BRAND@649501": "atBRANDAt649501", }); }); - /** @internal */ export type GetConfigurationProductsPropertiesIntegrationsResponse200Pattern$Outbound = { - "__@BRAND@543472": - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsAtBRANDAt543472$Outbound; + "__@BRAND@649501": + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsAtBRANDAt649501$Outbound; }; /** @internal */ @@ -11202,31 +8713,15 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200Pattern$ou z.ZodTypeDef, GetConfigurationProductsPropertiesIntegrationsResponse200Pattern > = z.object({ - atBRANDAt543472: z.lazy(() => - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsAtBRANDAt543472$outboundSchema + atBRANDAt649501: z.lazy(() => + GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema6ItemsAtBRANDAt649501$outboundSchema ), }).transform((v) => { return remap$(v, { - atBRANDAt543472: "__@BRAND@543472", + atBRANDAt649501: "__@BRAND@649501", }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsPropertiesIntegrationsResponse200Pattern$ { - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200Pattern$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200Pattern$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200Pattern$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200Pattern$outboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200Pattern$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsPropertiesIntegrationsResponse200Pattern$Outbound; -} - export function getConfigurationProductsPropertiesIntegrationsResponse200PatternToJSON( getConfigurationProductsPropertiesIntegrationsResponse200Pattern: GetConfigurationProductsPropertiesIntegrationsResponse200Pattern, @@ -11236,7 +8731,6 @@ export function getConfigurationProductsPropertiesIntegrationsResponse200Pattern .parse(getConfigurationProductsPropertiesIntegrationsResponse200Pattern), ); } - export function getConfigurationProductsPropertiesIntegrationsResponse200PatternFromJSON( jsonString: string, ): SafeParseResult< @@ -11273,7 +8767,6 @@ export const GetConfigurationProductsPropertiesItems$inboundSchema: z.ZodType< default: z.string().optional(), enum: z.array(z.string()).optional(), }); - /** @internal */ export type GetConfigurationProductsPropertiesItems$Outbound = { type: string; @@ -11313,21 +8806,6 @@ export const GetConfigurationProductsPropertiesItems$outboundSchema: z.ZodType< enum: 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 GetConfigurationProductsPropertiesItems$ { - /** @deprecated use `GetConfigurationProductsPropertiesItems$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesItems$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesItems$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesItems$outboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesItems$Outbound` instead. */ - export type Outbound = GetConfigurationProductsPropertiesItems$Outbound; -} - export function getConfigurationProductsPropertiesItemsToJSON( getConfigurationProductsPropertiesItems: GetConfigurationProductsPropertiesItems, @@ -11338,7 +8816,6 @@ export function getConfigurationProductsPropertiesItemsToJSON( ), ); } - export function getConfigurationProductsPropertiesItemsFromJSON( jsonString: string, ): SafeParseResult< @@ -11360,26 +8837,12 @@ export const GetConfigurationProductsDisabledIntegrationsResponse3$inboundSchema z.ZodNativeEnum< typeof GetConfigurationProductsDisabledIntegrationsResponse3 > = z.nativeEnum(GetConfigurationProductsDisabledIntegrationsResponse3); - /** @internal */ export const GetConfigurationProductsDisabledIntegrationsResponse3$outboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsDisabledIntegrationsResponse3 > = GetConfigurationProductsDisabledIntegrationsResponse3$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsDisabledIntegrationsResponse3$ { - /** @deprecated use `GetConfigurationProductsDisabledIntegrationsResponse3$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsDisabledIntegrationsResponse3$inboundSchema; - /** @deprecated use `GetConfigurationProductsDisabledIntegrationsResponse3$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsDisabledIntegrationsResponse3$outboundSchema; -} - /** @internal */ export const GetConfigurationProductsDisabledIntegrationsResponse2$inboundSchema: z.ZodType< @@ -11389,7 +8852,6 @@ export const GetConfigurationProductsDisabledIntegrationsResponse2$inboundSchema > = z.object({ expr: z.string(), }); - /** @internal */ export type GetConfigurationProductsDisabledIntegrationsResponse2$Outbound = { expr: string; @@ -11405,22 +8867,6 @@ export const GetConfigurationProductsDisabledIntegrationsResponse2$outboundSchem expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsDisabledIntegrationsResponse2$ { - /** @deprecated use `GetConfigurationProductsDisabledIntegrationsResponse2$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsDisabledIntegrationsResponse2$inboundSchema; - /** @deprecated use `GetConfigurationProductsDisabledIntegrationsResponse2$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsDisabledIntegrationsResponse2$outboundSchema; - /** @deprecated use `GetConfigurationProductsDisabledIntegrationsResponse2$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsDisabledIntegrationsResponse2$Outbound; -} - export function getConfigurationProductsDisabledIntegrationsResponse2ToJSON( getConfigurationProductsDisabledIntegrationsResponse2: GetConfigurationProductsDisabledIntegrationsResponse2, @@ -11431,7 +8877,6 @@ export function getConfigurationProductsDisabledIntegrationsResponse2ToJSON( ), ); } - export function getConfigurationProductsDisabledIntegrationsResponse2FromJSON( jsonString: string, ): SafeParseResult< @@ -11461,7 +8906,6 @@ export const GetConfigurationProductsPropertiesIntegrationsDisabled$inboundSchem z.boolean(), GetConfigurationProductsDisabledIntegrationsResponse3$inboundSchema, ]); - /** @internal */ export type GetConfigurationProductsPropertiesIntegrationsDisabled$Outbound = | GetConfigurationProductsDisabledIntegrationsResponse2$Outbound @@ -11482,22 +8926,6 @@ export const GetConfigurationProductsPropertiesIntegrationsDisabled$outboundSche GetConfigurationProductsDisabledIntegrationsResponse3$outboundSchema, ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsPropertiesIntegrationsDisabled$ { - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsDisabled$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesIntegrationsDisabled$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsDisabled$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesIntegrationsDisabled$outboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsDisabled$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsPropertiesIntegrationsDisabled$Outbound; -} - export function getConfigurationProductsPropertiesIntegrationsDisabledToJSON( getConfigurationProductsPropertiesIntegrationsDisabled: GetConfigurationProductsPropertiesIntegrationsDisabled, @@ -11508,7 +8936,6 @@ export function getConfigurationProductsPropertiesIntegrationsDisabledToJSON( ), ); } - export function getConfigurationProductsPropertiesIntegrationsDisabledFromJSON( jsonString: string, ): SafeParseResult< @@ -11528,25 +8955,11 @@ export function getConfigurationProductsPropertiesIntegrationsDisabledFromJSON( export const GetConfigurationProductsHiddenIntegrationsResponse3$inboundSchema: z.ZodNativeEnum = z.nativeEnum(GetConfigurationProductsHiddenIntegrationsResponse3); - /** @internal */ export const GetConfigurationProductsHiddenIntegrationsResponse3$outboundSchema: z.ZodNativeEnum = GetConfigurationProductsHiddenIntegrationsResponse3$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsHiddenIntegrationsResponse3$ { - /** @deprecated use `GetConfigurationProductsHiddenIntegrationsResponse3$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsHiddenIntegrationsResponse3$inboundSchema; - /** @deprecated use `GetConfigurationProductsHiddenIntegrationsResponse3$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsHiddenIntegrationsResponse3$outboundSchema; -} - /** @internal */ export const GetConfigurationProductsHiddenIntegrationsResponse2$inboundSchema: z.ZodType< @@ -11556,7 +8969,6 @@ export const GetConfigurationProductsHiddenIntegrationsResponse2$inboundSchema: > = z.object({ expr: z.string(), }); - /** @internal */ export type GetConfigurationProductsHiddenIntegrationsResponse2$Outbound = { expr: string; @@ -11572,22 +8984,6 @@ export const GetConfigurationProductsHiddenIntegrationsResponse2$outboundSchema: expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsHiddenIntegrationsResponse2$ { - /** @deprecated use `GetConfigurationProductsHiddenIntegrationsResponse2$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsHiddenIntegrationsResponse2$inboundSchema; - /** @deprecated use `GetConfigurationProductsHiddenIntegrationsResponse2$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsHiddenIntegrationsResponse2$outboundSchema; - /** @deprecated use `GetConfigurationProductsHiddenIntegrationsResponse2$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsHiddenIntegrationsResponse2$Outbound; -} - export function getConfigurationProductsHiddenIntegrationsResponse2ToJSON( getConfigurationProductsHiddenIntegrationsResponse2: GetConfigurationProductsHiddenIntegrationsResponse2, @@ -11598,7 +8994,6 @@ export function getConfigurationProductsHiddenIntegrationsResponse2ToJSON( ), ); } - export function getConfigurationProductsHiddenIntegrationsResponse2FromJSON( jsonString: string, ): SafeParseResult< @@ -11628,7 +9023,6 @@ export const GetConfigurationProductsPropertiesIntegrationsHidden$inboundSchema: z.boolean(), GetConfigurationProductsHiddenIntegrationsResponse3$inboundSchema, ]); - /** @internal */ export type GetConfigurationProductsPropertiesIntegrationsHidden$Outbound = | GetConfigurationProductsHiddenIntegrationsResponse2$Outbound @@ -11649,22 +9043,6 @@ export const GetConfigurationProductsPropertiesIntegrationsHidden$outboundSchema GetConfigurationProductsHiddenIntegrationsResponse3$outboundSchema, ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsPropertiesIntegrationsHidden$ { - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsHidden$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesIntegrationsHidden$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsHidden$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesIntegrationsHidden$outboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsHidden$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsPropertiesIntegrationsHidden$Outbound; -} - export function getConfigurationProductsPropertiesIntegrationsHiddenToJSON( getConfigurationProductsPropertiesIntegrationsHidden: GetConfigurationProductsPropertiesIntegrationsHidden, @@ -11675,7 +9053,6 @@ export function getConfigurationProductsPropertiesIntegrationsHiddenToJSON( ), ); } - export function getConfigurationProductsPropertiesIntegrationsHiddenFromJSON( jsonString: string, ): SafeParseResult< @@ -11715,7 +9092,6 @@ export const PropertiesUiOptions$inboundSchema: z.ZodType< GetConfigurationProductsHiddenIntegrationsResponse3$inboundSchema, ]).optional(), }); - /** @internal */ export type PropertiesUiOptions$Outbound = { value: string; @@ -11756,19 +9132,6 @@ export const PropertiesUiOptions$outboundSchema: z.ZodType< ]).optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PropertiesUiOptions$ { - /** @deprecated use `PropertiesUiOptions$inboundSchema` instead. */ - export const inboundSchema = PropertiesUiOptions$inboundSchema; - /** @deprecated use `PropertiesUiOptions$outboundSchema` instead. */ - export const outboundSchema = PropertiesUiOptions$outboundSchema; - /** @deprecated use `PropertiesUiOptions$Outbound` instead. */ - export type Outbound = PropertiesUiOptions$Outbound; -} - export function propertiesUiOptionsToJSON( propertiesUiOptions: PropertiesUiOptions, ): string { @@ -11776,7 +9139,6 @@ export function propertiesUiOptionsToJSON( PropertiesUiOptions$outboundSchema.parse(propertiesUiOptions), ); } - export function propertiesUiOptionsFromJSON( jsonString: string, ): SafeParseResult { @@ -11794,7 +9156,6 @@ export const GetConfigurationProductsUiReadOnlyIntegrationsResponse200Applicatio > = z.nativeEnum( GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJson3, ); - /** @internal */ export const GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJson3$outboundSchema: z.ZodNativeEnum< @@ -11802,19 +9163,6 @@ export const GetConfigurationProductsUiReadOnlyIntegrationsResponse200Applicatio > = GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJson3$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJson3$ { - /** @deprecated use `GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJson3$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJson3$inboundSchema; - /** @deprecated use `GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJson3$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJson3$outboundSchema; -} - /** @internal */ export const GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJson2$inboundSchema: z.ZodType< @@ -11824,7 +9172,6 @@ export const GetConfigurationProductsUiReadOnlyIntegrationsResponse200Applicatio > = z.object({ expr: z.string(), }); - /** @internal */ export type GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJson2$Outbound = { @@ -11841,22 +9188,6 @@ export const GetConfigurationProductsUiReadOnlyIntegrationsResponse200Applicatio expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJson2$ { - /** @deprecated use `GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJson2$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJson2$inboundSchema; - /** @deprecated use `GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJson2$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJson2$outboundSchema; - /** @deprecated use `GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJson2$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJson2$Outbound; -} - export function getConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSON2ToJSON( getConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJson2: GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJson2, @@ -11868,7 +9199,6 @@ export function getConfigurationProductsUiReadOnlyIntegrationsResponse200Applica ), ); } - export function getConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJSON2FromJSON( jsonString: string, ): SafeParseResult< @@ -11897,7 +9227,6 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200UiReadOnly z.boolean(), GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJson3$inboundSchema, ]); - /** @internal */ export type GetConfigurationProductsPropertiesIntegrationsResponse200UiReadOnly$Outbound = | GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJson2$Outbound @@ -11918,22 +9247,6 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200UiReadOnly GetConfigurationProductsUiReadOnlyIntegrationsResponse200ApplicationJson3$outboundSchema, ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsPropertiesIntegrationsResponse200UiReadOnly$ { - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200UiReadOnly$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200UiReadOnly$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200UiReadOnly$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200UiReadOnly$outboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200UiReadOnly$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsPropertiesIntegrationsResponse200UiReadOnly$Outbound; -} - export function getConfigurationProductsPropertiesIntegrationsResponse200UiReadOnlyToJSON( getConfigurationProductsPropertiesIntegrationsResponse200UiReadOnly: GetConfigurationProductsPropertiesIntegrationsResponse200UiReadOnly, @@ -11945,7 +9258,6 @@ export function getConfigurationProductsPropertiesIntegrationsResponse200UiReadO ), ); } - export function getConfigurationProductsPropertiesIntegrationsResponse200UiReadOnlyFromJSON( jsonString: string, ): SafeParseResult< @@ -11968,7 +9280,6 @@ export const GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJ > = z.nativeEnum( GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJson3, ); - /** @internal */ export const GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJson3$outboundSchema: z.ZodNativeEnum< @@ -11976,19 +9287,6 @@ export const GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJ > = GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJson3$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJson3$ { - /** @deprecated use `GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJson3$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJson3$inboundSchema; - /** @deprecated use `GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJson3$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJson3$outboundSchema; -} - /** @internal */ export const GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJson2$inboundSchema: z.ZodType< @@ -11998,7 +9296,6 @@ export const GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJ > = z.object({ expr: z.string(), }); - /** @internal */ export type GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJson2$Outbound = { @@ -12015,22 +9312,6 @@ export const GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJ expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJson2$ { - /** @deprecated use `GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJson2$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJson2$inboundSchema; - /** @deprecated use `GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJson2$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJson2$outboundSchema; - /** @deprecated use `GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJson2$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJson2$Outbound; -} - export function getConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSON2ToJSON( getConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJson2: GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJson2, @@ -12042,7 +9323,6 @@ export function getConfigurationProductsUiHiddenIntegrationsResponse200Applicati ), ); } - export function getConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJSON2FromJSON( jsonString: string, ): SafeParseResult< @@ -12071,7 +9351,6 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200UiHidden$i z.boolean(), GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJson3$inboundSchema, ]); - /** @internal */ export type GetConfigurationProductsPropertiesIntegrationsResponse200UiHidden$Outbound = | GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJson2$Outbound @@ -12092,22 +9371,6 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200UiHidden$o GetConfigurationProductsUiHiddenIntegrationsResponse200ApplicationJson3$outboundSchema, ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsPropertiesIntegrationsResponse200UiHidden$ { - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200UiHidden$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200UiHidden$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200UiHidden$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200UiHidden$outboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200UiHidden$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsPropertiesIntegrationsResponse200UiHidden$Outbound; -} - export function getConfigurationProductsPropertiesIntegrationsResponse200UiHiddenToJSON( getConfigurationProductsPropertiesIntegrationsResponse200UiHidden: GetConfigurationProductsPropertiesIntegrationsResponse200UiHidden, @@ -12117,7 +9380,6 @@ export function getConfigurationProductsPropertiesIntegrationsResponse200UiHidde .parse(getConfigurationProductsPropertiesIntegrationsResponse200UiHidden), ); } - export function getConfigurationProductsPropertiesIntegrationsResponse200UiHiddenFromJSON( jsonString: string, ): SafeParseResult< @@ -12140,7 +9402,6 @@ export const GetConfigurationProductsUiDisabledIntegrationsResponse200Applicatio > = z.nativeEnum( GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJson3, ); - /** @internal */ export const GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJson3$outboundSchema: z.ZodNativeEnum< @@ -12148,19 +9409,6 @@ export const GetConfigurationProductsUiDisabledIntegrationsResponse200Applicatio > = GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJson3$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJson3$ { - /** @deprecated use `GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJson3$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJson3$inboundSchema; - /** @deprecated use `GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJson3$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJson3$outboundSchema; -} - /** @internal */ export const GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJson2$inboundSchema: z.ZodType< @@ -12170,7 +9418,6 @@ export const GetConfigurationProductsUiDisabledIntegrationsResponse200Applicatio > = z.object({ expr: z.string(), }); - /** @internal */ export type GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJson2$Outbound = { @@ -12187,22 +9434,6 @@ export const GetConfigurationProductsUiDisabledIntegrationsResponse200Applicatio expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJson2$ { - /** @deprecated use `GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJson2$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJson2$inboundSchema; - /** @deprecated use `GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJson2$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJson2$outboundSchema; - /** @deprecated use `GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJson2$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJson2$Outbound; -} - export function getConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSON2ToJSON( getConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJson2: GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJson2, @@ -12214,7 +9445,6 @@ export function getConfigurationProductsUiDisabledIntegrationsResponse200Applica ), ); } - export function getConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJSON2FromJSON( jsonString: string, ): SafeParseResult< @@ -12243,7 +9473,6 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200UiDisabled z.boolean(), GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJson3$inboundSchema, ]); - /** @internal */ export type GetConfigurationProductsPropertiesIntegrationsResponse200UiDisabled$Outbound = | GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJson2$Outbound @@ -12264,22 +9493,6 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200UiDisabled GetConfigurationProductsUiDisabledIntegrationsResponse200ApplicationJson3$outboundSchema, ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsPropertiesIntegrationsResponse200UiDisabled$ { - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200UiDisabled$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200UiDisabled$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200UiDisabled$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200UiDisabled$outboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200UiDisabled$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsPropertiesIntegrationsResponse200UiDisabled$Outbound; -} - export function getConfigurationProductsPropertiesIntegrationsResponse200UiDisabledToJSON( getConfigurationProductsPropertiesIntegrationsResponse200UiDisabled: GetConfigurationProductsPropertiesIntegrationsResponse200UiDisabled, @@ -12291,7 +9504,6 @@ export function getConfigurationProductsPropertiesIntegrationsResponse200UiDisab ), ); } - export function getConfigurationProductsPropertiesIntegrationsResponse200UiDisabledFromJSON( jsonString: string, ): SafeParseResult< @@ -12316,7 +9528,6 @@ export const GetConfigurationProductsUiDescriptionIntegrationsResponse200Applica > = z.object({ expr: z.string(), }); - /** @internal */ export type GetConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJson2$Outbound = { @@ -12333,22 +9544,6 @@ export const GetConfigurationProductsUiDescriptionIntegrationsResponse200Applica expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJson2$ { - /** @deprecated use `GetConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJson2$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJson2$inboundSchema; - /** @deprecated use `GetConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJson2$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJson2$outboundSchema; - /** @deprecated use `GetConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJson2$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJson2$Outbound; -} - export function getConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSON2ToJSON( getConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJson2: GetConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJson2, @@ -12360,7 +9555,6 @@ export function getConfigurationProductsUiDescriptionIntegrationsResponse200Appl ), ); } - export function getConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJSON2FromJSON( jsonString: string, ): SafeParseResult< @@ -12388,7 +9582,6 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200UiDescript ), z.string(), ]); - /** @internal */ export type GetConfigurationProductsPropertiesIntegrationsResponse200UiDescription$Outbound = | GetConfigurationProductsUiDescriptionIntegrationsResponse200ApplicationJson2$Outbound @@ -12407,22 +9600,6 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200UiDescript z.string(), ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsPropertiesIntegrationsResponse200UiDescription$ { - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200UiDescription$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200UiDescription$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200UiDescription$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200UiDescription$outboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200UiDescription$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsPropertiesIntegrationsResponse200UiDescription$Outbound; -} - export function getConfigurationProductsPropertiesIntegrationsResponse200UiDescriptionToJSON( getConfigurationProductsPropertiesIntegrationsResponse200UiDescription: GetConfigurationProductsPropertiesIntegrationsResponse200UiDescription, @@ -12434,7 +9611,6 @@ export function getConfigurationProductsPropertiesIntegrationsResponse200UiDescr ), ); } - export function getConfigurationProductsPropertiesIntegrationsResponse200UiDescriptionFromJSON( jsonString: string, ): SafeParseResult< @@ -12459,7 +9635,6 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200UiFormatte > = z.object({ expr: z.string(), }); - /** @internal */ export type GetConfigurationProductsPropertiesIntegrationsResponse200UiFormattedValue$Outbound = { @@ -12476,22 +9651,6 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200UiFormatte expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsPropertiesIntegrationsResponse200UiFormattedValue$ { - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200UiFormattedValue$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200UiFormattedValue$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200UiFormattedValue$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200UiFormattedValue$outboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200UiFormattedValue$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsPropertiesIntegrationsResponse200UiFormattedValue$Outbound; -} - export function getConfigurationProductsPropertiesIntegrationsResponse200UiFormattedValueToJSON( getConfigurationProductsPropertiesIntegrationsResponse200UiFormattedValue: GetConfigurationProductsPropertiesIntegrationsResponse200UiFormattedValue, @@ -12503,7 +9662,6 @@ export function getConfigurationProductsPropertiesIntegrationsResponse200UiForma ), ); } - export function getConfigurationProductsPropertiesIntegrationsResponse200UiFormattedValueFromJSON( jsonString: string, ): SafeParseResult< @@ -12581,7 +9739,6 @@ export const Properties6$inboundSchema: z.ZodType< "ui:placeholder": "uiPlaceholder", }); }); - /** @internal */ export type Properties6$Outbound = { type: string; @@ -12682,23 +9839,9 @@ export const Properties6$outboundSchema: z.ZodType< }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Properties6$ { - /** @deprecated use `Properties6$inboundSchema` instead. */ - export const inboundSchema = Properties6$inboundSchema; - /** @deprecated use `Properties6$outboundSchema` instead. */ - export const outboundSchema = Properties6$outboundSchema; - /** @deprecated use `Properties6$Outbound` instead. */ - export type Outbound = Properties6$Outbound; -} - export function properties6ToJSON(properties6: Properties6): string { return JSON.stringify(Properties6$outboundSchema.parse(properties6)); } - export function properties6FromJSON( jsonString: string, ): SafeParseResult { @@ -12716,7 +9859,6 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200Type$inbou > = z.nativeEnum( GetConfigurationProductsPropertiesIntegrationsResponse200Type, ); - /** @internal */ export const GetConfigurationProductsPropertiesIntegrationsResponse200Type$outboundSchema: z.ZodNativeEnum< @@ -12724,19 +9866,6 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200Type$outbo > = GetConfigurationProductsPropertiesIntegrationsResponse200Type$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsPropertiesIntegrationsResponse200Type$ { - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200Type$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200Type$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200Type$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200Type$outboundSchema; -} - /** @internal */ export const GetConfigurationProductsPropertiesIntegrationsResponseUiControl$inboundSchema: z.ZodNativeEnum< @@ -12744,7 +9873,6 @@ export const GetConfigurationProductsPropertiesIntegrationsResponseUiControl$inb > = z.nativeEnum( GetConfigurationProductsPropertiesIntegrationsResponseUiControl, ); - /** @internal */ export const GetConfigurationProductsPropertiesIntegrationsResponseUiControl$outboundSchema: z.ZodNativeEnum< @@ -12752,42 +9880,15 @@ export const GetConfigurationProductsPropertiesIntegrationsResponseUiControl$out > = GetConfigurationProductsPropertiesIntegrationsResponseUiControl$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsPropertiesIntegrationsResponseUiControl$ { - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponseUiControl$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponseUiControl$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponseUiControl$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponseUiControl$outboundSchema; -} - /** @internal */ export const GetConfigurationProductsDisabledIntegrations3$inboundSchema: z.ZodNativeEnum = z .nativeEnum(GetConfigurationProductsDisabledIntegrations3); - /** @internal */ export const GetConfigurationProductsDisabledIntegrations3$outboundSchema: z.ZodNativeEnum = GetConfigurationProductsDisabledIntegrations3$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsDisabledIntegrations3$ { - /** @deprecated use `GetConfigurationProductsDisabledIntegrations3$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsDisabledIntegrations3$inboundSchema; - /** @deprecated use `GetConfigurationProductsDisabledIntegrations3$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsDisabledIntegrations3$outboundSchema; -} - /** @internal */ export const GetConfigurationProductsDisabledIntegrations2$inboundSchema: z.ZodType< @@ -12797,7 +9898,6 @@ export const GetConfigurationProductsDisabledIntegrations2$inboundSchema: > = z.object({ expr: z.string(), }); - /** @internal */ export type GetConfigurationProductsDisabledIntegrations2$Outbound = { expr: string; @@ -12813,21 +9913,6 @@ export const GetConfigurationProductsDisabledIntegrations2$outboundSchema: expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsDisabledIntegrations2$ { - /** @deprecated use `GetConfigurationProductsDisabledIntegrations2$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsDisabledIntegrations2$inboundSchema; - /** @deprecated use `GetConfigurationProductsDisabledIntegrations2$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsDisabledIntegrations2$outboundSchema; - /** @deprecated use `GetConfigurationProductsDisabledIntegrations2$Outbound` instead. */ - export type Outbound = GetConfigurationProductsDisabledIntegrations2$Outbound; -} - export function getConfigurationProductsDisabledIntegrations2ToJSON( getConfigurationProductsDisabledIntegrations2: GetConfigurationProductsDisabledIntegrations2, @@ -12838,7 +9923,6 @@ export function getConfigurationProductsDisabledIntegrations2ToJSON( ), ); } - export function getConfigurationProductsDisabledIntegrations2FromJSON( jsonString: string, ): SafeParseResult< @@ -12863,7 +9947,6 @@ export const GetConfigurationProductsPropertiesDisabled$inboundSchema: z.boolean(), GetConfigurationProductsDisabledIntegrations3$inboundSchema, ]); - /** @internal */ export type GetConfigurationProductsPropertiesDisabled$Outbound = | GetConfigurationProductsDisabledIntegrations2$Outbound @@ -12882,21 +9965,6 @@ export const GetConfigurationProductsPropertiesDisabled$outboundSchema: GetConfigurationProductsDisabledIntegrations3$outboundSchema, ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsPropertiesDisabled$ { - /** @deprecated use `GetConfigurationProductsPropertiesDisabled$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesDisabled$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesDisabled$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesDisabled$outboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesDisabled$Outbound` instead. */ - export type Outbound = GetConfigurationProductsPropertiesDisabled$Outbound; -} - export function getConfigurationProductsPropertiesDisabledToJSON( getConfigurationProductsPropertiesDisabled: GetConfigurationProductsPropertiesDisabled, @@ -12907,7 +9975,6 @@ export function getConfigurationProductsPropertiesDisabledToJSON( ), ); } - export function getConfigurationProductsPropertiesDisabledFromJSON( jsonString: string, ): SafeParseResult< @@ -12928,25 +9995,11 @@ export function getConfigurationProductsPropertiesDisabledFromJSON( export const GetConfigurationProductsHiddenIntegrations3$inboundSchema: z.ZodNativeEnum = z .nativeEnum(GetConfigurationProductsHiddenIntegrations3); - /** @internal */ export const GetConfigurationProductsHiddenIntegrations3$outboundSchema: z.ZodNativeEnum = GetConfigurationProductsHiddenIntegrations3$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsHiddenIntegrations3$ { - /** @deprecated use `GetConfigurationProductsHiddenIntegrations3$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsHiddenIntegrations3$inboundSchema; - /** @deprecated use `GetConfigurationProductsHiddenIntegrations3$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsHiddenIntegrations3$outboundSchema; -} - /** @internal */ export const GetConfigurationProductsHiddenIntegrations2$inboundSchema: z.ZodType< @@ -12956,7 +10009,6 @@ export const GetConfigurationProductsHiddenIntegrations2$inboundSchema: > = z.object({ expr: z.string(), }); - /** @internal */ export type GetConfigurationProductsHiddenIntegrations2$Outbound = { expr: string; @@ -12972,21 +10024,6 @@ export const GetConfigurationProductsHiddenIntegrations2$outboundSchema: expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsHiddenIntegrations2$ { - /** @deprecated use `GetConfigurationProductsHiddenIntegrations2$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsHiddenIntegrations2$inboundSchema; - /** @deprecated use `GetConfigurationProductsHiddenIntegrations2$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsHiddenIntegrations2$outboundSchema; - /** @deprecated use `GetConfigurationProductsHiddenIntegrations2$Outbound` instead. */ - export type Outbound = GetConfigurationProductsHiddenIntegrations2$Outbound; -} - export function getConfigurationProductsHiddenIntegrations2ToJSON( getConfigurationProductsHiddenIntegrations2: GetConfigurationProductsHiddenIntegrations2, @@ -12997,7 +10034,6 @@ export function getConfigurationProductsHiddenIntegrations2ToJSON( ), ); } - export function getConfigurationProductsHiddenIntegrations2FromJSON( jsonString: string, ): SafeParseResult< @@ -13024,7 +10060,6 @@ export const GetConfigurationProductsPropertiesHidden$inboundSchema: z.ZodType< z.boolean(), GetConfigurationProductsHiddenIntegrations3$inboundSchema, ]); - /** @internal */ export type GetConfigurationProductsPropertiesHidden$Outbound = | GetConfigurationProductsHiddenIntegrations2$Outbound @@ -13042,21 +10077,6 @@ export const GetConfigurationProductsPropertiesHidden$outboundSchema: z.ZodType< GetConfigurationProductsHiddenIntegrations3$outboundSchema, ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsPropertiesHidden$ { - /** @deprecated use `GetConfigurationProductsPropertiesHidden$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesHidden$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesHidden$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesHidden$outboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesHidden$Outbound` instead. */ - export type Outbound = GetConfigurationProductsPropertiesHidden$Outbound; -} - export function getConfigurationProductsPropertiesHiddenToJSON( getConfigurationProductsPropertiesHidden: GetConfigurationProductsPropertiesHidden, @@ -13067,7 +10087,6 @@ export function getConfigurationProductsPropertiesHiddenToJSON( ), ); } - export function getConfigurationProductsPropertiesHiddenFromJSON( jsonString: string, ): SafeParseResult< @@ -13103,7 +10122,6 @@ export const UiOptions$inboundSchema: z.ZodType< GetConfigurationProductsHiddenIntegrations3$inboundSchema, ]).optional(), }); - /** @internal */ export type UiOptions$Outbound = { value: string; @@ -13140,23 +10158,9 @@ export const UiOptions$outboundSchema: z.ZodType< ]).optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UiOptions$ { - /** @deprecated use `UiOptions$inboundSchema` instead. */ - export const inboundSchema = UiOptions$inboundSchema; - /** @deprecated use `UiOptions$outboundSchema` instead. */ - export const outboundSchema = UiOptions$outboundSchema; - /** @deprecated use `UiOptions$Outbound` instead. */ - export type Outbound = UiOptions$Outbound; -} - export function uiOptionsToJSON(uiOptions: UiOptions): string { return JSON.stringify(UiOptions$outboundSchema.parse(uiOptions)); } - export function uiOptionsFromJSON( jsonString: string, ): SafeParseResult { @@ -13168,63 +10172,45 @@ export function uiOptionsFromJSON( } /** @internal */ -export const GetConfigurationProductsPropertiesIntegrationsAtBRANDAt543472$inboundSchema: +export const GetConfigurationProductsPropertiesIntegrationsAtBRANDAt649501$inboundSchema: z.ZodType< - GetConfigurationProductsPropertiesIntegrationsAtBRANDAt543472, + GetConfigurationProductsPropertiesIntegrationsAtBRANDAt649501, z.ZodTypeDef, unknown > = z.object({}); - /** @internal */ -export type GetConfigurationProductsPropertiesIntegrationsAtBRANDAt543472$Outbound = +export type GetConfigurationProductsPropertiesIntegrationsAtBRANDAt649501$Outbound = {}; /** @internal */ -export const GetConfigurationProductsPropertiesIntegrationsAtBRANDAt543472$outboundSchema: +export const GetConfigurationProductsPropertiesIntegrationsAtBRANDAt649501$outboundSchema: z.ZodType< - GetConfigurationProductsPropertiesIntegrationsAtBRANDAt543472$Outbound, + GetConfigurationProductsPropertiesIntegrationsAtBRANDAt649501$Outbound, z.ZodTypeDef, - GetConfigurationProductsPropertiesIntegrationsAtBRANDAt543472 + GetConfigurationProductsPropertiesIntegrationsAtBRANDAt649501 > = 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 GetConfigurationProductsPropertiesIntegrationsAtBRANDAt543472$ { - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsAtBRANDAt543472$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesIntegrationsAtBRANDAt543472$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsAtBRANDAt543472$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesIntegrationsAtBRANDAt543472$outboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsAtBRANDAt543472$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsPropertiesIntegrationsAtBRANDAt543472$Outbound; -} - -export function getConfigurationProductsPropertiesIntegrationsAtBRANDAt543472ToJSON( - getConfigurationProductsPropertiesIntegrationsAtBRANDAt543472: - GetConfigurationProductsPropertiesIntegrationsAtBRANDAt543472, +export function getConfigurationProductsPropertiesIntegrationsAtBRANDAt649501ToJSON( + getConfigurationProductsPropertiesIntegrationsAtBRANDAt649501: + GetConfigurationProductsPropertiesIntegrationsAtBRANDAt649501, ): string { return JSON.stringify( - GetConfigurationProductsPropertiesIntegrationsAtBRANDAt543472$outboundSchema - .parse(getConfigurationProductsPropertiesIntegrationsAtBRANDAt543472), + GetConfigurationProductsPropertiesIntegrationsAtBRANDAt649501$outboundSchema + .parse(getConfigurationProductsPropertiesIntegrationsAtBRANDAt649501), ); } - -export function getConfigurationProductsPropertiesIntegrationsAtBRANDAt543472FromJSON( +export function getConfigurationProductsPropertiesIntegrationsAtBRANDAt649501FromJSON( jsonString: string, ): SafeParseResult< - GetConfigurationProductsPropertiesIntegrationsAtBRANDAt543472, + GetConfigurationProductsPropertiesIntegrationsAtBRANDAt649501, SDKValidationError > { return safeParse( jsonString, (x) => - GetConfigurationProductsPropertiesIntegrationsAtBRANDAt543472$inboundSchema + GetConfigurationProductsPropertiesIntegrationsAtBRANDAt649501$inboundSchema .parse(JSON.parse(x)), - `Failed to parse 'GetConfigurationProductsPropertiesIntegrationsAtBRANDAt543472' from JSON`, + `Failed to parse 'GetConfigurationProductsPropertiesIntegrationsAtBRANDAt649501' from JSON`, ); } @@ -13234,19 +10220,18 @@ export const PropertiesMinLength$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - "__@BRAND@543472": z.lazy(() => - GetConfigurationProductsPropertiesIntegrationsAtBRANDAt543472$inboundSchema + "__@BRAND@649501": z.lazy(() => + GetConfigurationProductsPropertiesIntegrationsAtBRANDAt649501$inboundSchema ), }).transform((v) => { return remap$(v, { - "__@BRAND@543472": "atBRANDAt543472", + "__@BRAND@649501": "atBRANDAt649501", }); }); - /** @internal */ export type PropertiesMinLength$Outbound = { - "__@BRAND@543472": - GetConfigurationProductsPropertiesIntegrationsAtBRANDAt543472$Outbound; + "__@BRAND@649501": + GetConfigurationProductsPropertiesIntegrationsAtBRANDAt649501$Outbound; }; /** @internal */ @@ -13255,28 +10240,15 @@ export const PropertiesMinLength$outboundSchema: z.ZodType< z.ZodTypeDef, PropertiesMinLength > = z.object({ - atBRANDAt543472: z.lazy(() => - GetConfigurationProductsPropertiesIntegrationsAtBRANDAt543472$outboundSchema + atBRANDAt649501: z.lazy(() => + GetConfigurationProductsPropertiesIntegrationsAtBRANDAt649501$outboundSchema ), }).transform((v) => { return remap$(v, { - atBRANDAt543472: "__@BRAND@543472", + atBRANDAt649501: "__@BRAND@649501", }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PropertiesMinLength$ { - /** @deprecated use `PropertiesMinLength$inboundSchema` instead. */ - export const inboundSchema = PropertiesMinLength$inboundSchema; - /** @deprecated use `PropertiesMinLength$outboundSchema` instead. */ - export const outboundSchema = PropertiesMinLength$outboundSchema; - /** @deprecated use `PropertiesMinLength$Outbound` instead. */ - export type Outbound = PropertiesMinLength$Outbound; -} - export function propertiesMinLengthToJSON( propertiesMinLength: PropertiesMinLength, ): string { @@ -13284,7 +10256,6 @@ export function propertiesMinLengthToJSON( PropertiesMinLength$outboundSchema.parse(propertiesMinLength), ); } - export function propertiesMinLengthFromJSON( jsonString: string, ): SafeParseResult { @@ -13296,65 +10267,47 @@ export function propertiesMinLengthFromJSON( } /** @internal */ -export const GetConfigurationProductsPropertiesIntegrationsResponseAtBRANDAt543472$inboundSchema: +export const GetConfigurationProductsPropertiesIntegrationsResponseAtBRANDAt649501$inboundSchema: z.ZodType< - GetConfigurationProductsPropertiesIntegrationsResponseAtBRANDAt543472, + GetConfigurationProductsPropertiesIntegrationsResponseAtBRANDAt649501, z.ZodTypeDef, unknown > = z.object({}); - /** @internal */ -export type GetConfigurationProductsPropertiesIntegrationsResponseAtBRANDAt543472$Outbound = +export type GetConfigurationProductsPropertiesIntegrationsResponseAtBRANDAt649501$Outbound = {}; /** @internal */ -export const GetConfigurationProductsPropertiesIntegrationsResponseAtBRANDAt543472$outboundSchema: +export const GetConfigurationProductsPropertiesIntegrationsResponseAtBRANDAt649501$outboundSchema: z.ZodType< - GetConfigurationProductsPropertiesIntegrationsResponseAtBRANDAt543472$Outbound, + GetConfigurationProductsPropertiesIntegrationsResponseAtBRANDAt649501$Outbound, z.ZodTypeDef, - GetConfigurationProductsPropertiesIntegrationsResponseAtBRANDAt543472 + GetConfigurationProductsPropertiesIntegrationsResponseAtBRANDAt649501 > = 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 GetConfigurationProductsPropertiesIntegrationsResponseAtBRANDAt543472$ { - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponseAtBRANDAt543472$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponseAtBRANDAt543472$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponseAtBRANDAt543472$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponseAtBRANDAt543472$outboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponseAtBRANDAt543472$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsPropertiesIntegrationsResponseAtBRANDAt543472$Outbound; -} - -export function getConfigurationProductsPropertiesIntegrationsResponseAtBRANDAt543472ToJSON( - getConfigurationProductsPropertiesIntegrationsResponseAtBRANDAt543472: - GetConfigurationProductsPropertiesIntegrationsResponseAtBRANDAt543472, +export function getConfigurationProductsPropertiesIntegrationsResponseAtBRANDAt649501ToJSON( + getConfigurationProductsPropertiesIntegrationsResponseAtBRANDAt649501: + GetConfigurationProductsPropertiesIntegrationsResponseAtBRANDAt649501, ): string { return JSON.stringify( - GetConfigurationProductsPropertiesIntegrationsResponseAtBRANDAt543472$outboundSchema + GetConfigurationProductsPropertiesIntegrationsResponseAtBRANDAt649501$outboundSchema .parse( - getConfigurationProductsPropertiesIntegrationsResponseAtBRANDAt543472, + getConfigurationProductsPropertiesIntegrationsResponseAtBRANDAt649501, ), ); } - -export function getConfigurationProductsPropertiesIntegrationsResponseAtBRANDAt543472FromJSON( +export function getConfigurationProductsPropertiesIntegrationsResponseAtBRANDAt649501FromJSON( jsonString: string, ): SafeParseResult< - GetConfigurationProductsPropertiesIntegrationsResponseAtBRANDAt543472, + GetConfigurationProductsPropertiesIntegrationsResponseAtBRANDAt649501, SDKValidationError > { return safeParse( jsonString, (x) => - GetConfigurationProductsPropertiesIntegrationsResponseAtBRANDAt543472$inboundSchema + GetConfigurationProductsPropertiesIntegrationsResponseAtBRANDAt649501$inboundSchema .parse(JSON.parse(x)), - `Failed to parse 'GetConfigurationProductsPropertiesIntegrationsResponseAtBRANDAt543472' from JSON`, + `Failed to parse 'GetConfigurationProductsPropertiesIntegrationsResponseAtBRANDAt649501' from JSON`, ); } @@ -13364,19 +10317,18 @@ export const PropertiesMaxLength$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - "__@BRAND@543472": z.lazy(() => - GetConfigurationProductsPropertiesIntegrationsResponseAtBRANDAt543472$inboundSchema + "__@BRAND@649501": z.lazy(() => + GetConfigurationProductsPropertiesIntegrationsResponseAtBRANDAt649501$inboundSchema ), }).transform((v) => { return remap$(v, { - "__@BRAND@543472": "atBRANDAt543472", + "__@BRAND@649501": "atBRANDAt649501", }); }); - /** @internal */ export type PropertiesMaxLength$Outbound = { - "__@BRAND@543472": - GetConfigurationProductsPropertiesIntegrationsResponseAtBRANDAt543472$Outbound; + "__@BRAND@649501": + GetConfigurationProductsPropertiesIntegrationsResponseAtBRANDAt649501$Outbound; }; /** @internal */ @@ -13385,28 +10337,15 @@ export const PropertiesMaxLength$outboundSchema: z.ZodType< z.ZodTypeDef, PropertiesMaxLength > = z.object({ - atBRANDAt543472: z.lazy(() => - GetConfigurationProductsPropertiesIntegrationsResponseAtBRANDAt543472$outboundSchema + atBRANDAt649501: z.lazy(() => + GetConfigurationProductsPropertiesIntegrationsResponseAtBRANDAt649501$outboundSchema ), }).transform((v) => { return remap$(v, { - atBRANDAt543472: "__@BRAND@543472", + atBRANDAt649501: "__@BRAND@649501", }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PropertiesMaxLength$ { - /** @deprecated use `PropertiesMaxLength$inboundSchema` instead. */ - export const inboundSchema = PropertiesMaxLength$inboundSchema; - /** @deprecated use `PropertiesMaxLength$outboundSchema` instead. */ - export const outboundSchema = PropertiesMaxLength$outboundSchema; - /** @deprecated use `PropertiesMaxLength$Outbound` instead. */ - export type Outbound = PropertiesMaxLength$Outbound; -} - export function propertiesMaxLengthToJSON( propertiesMaxLength: PropertiesMaxLength, ): string { @@ -13414,7 +10353,6 @@ export function propertiesMaxLengthToJSON( PropertiesMaxLength$outboundSchema.parse(propertiesMaxLength), ); } - export function propertiesMaxLengthFromJSON( jsonString: string, ): SafeParseResult { @@ -13426,65 +10364,47 @@ export function propertiesMaxLengthFromJSON( } /** @internal */ -export const GetConfigurationProductsPropertiesIntegrationsResponse200AtBRANDAt543472$inboundSchema: +export const GetConfigurationProductsPropertiesIntegrationsResponse200AtBRANDAt649501$inboundSchema: z.ZodType< - GetConfigurationProductsPropertiesIntegrationsResponse200AtBRANDAt543472, + GetConfigurationProductsPropertiesIntegrationsResponse200AtBRANDAt649501, z.ZodTypeDef, unknown > = z.object({}); - /** @internal */ -export type GetConfigurationProductsPropertiesIntegrationsResponse200AtBRANDAt543472$Outbound = +export type GetConfigurationProductsPropertiesIntegrationsResponse200AtBRANDAt649501$Outbound = {}; /** @internal */ -export const GetConfigurationProductsPropertiesIntegrationsResponse200AtBRANDAt543472$outboundSchema: +export const GetConfigurationProductsPropertiesIntegrationsResponse200AtBRANDAt649501$outboundSchema: z.ZodType< - GetConfigurationProductsPropertiesIntegrationsResponse200AtBRANDAt543472$Outbound, + GetConfigurationProductsPropertiesIntegrationsResponse200AtBRANDAt649501$Outbound, z.ZodTypeDef, - GetConfigurationProductsPropertiesIntegrationsResponse200AtBRANDAt543472 + GetConfigurationProductsPropertiesIntegrationsResponse200AtBRANDAt649501 > = 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 GetConfigurationProductsPropertiesIntegrationsResponse200AtBRANDAt543472$ { - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200AtBRANDAt543472$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200AtBRANDAt543472$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200AtBRANDAt543472$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200AtBRANDAt543472$outboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200AtBRANDAt543472$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsPropertiesIntegrationsResponse200AtBRANDAt543472$Outbound; -} - -export function getConfigurationProductsPropertiesIntegrationsResponse200AtBRANDAt543472ToJSON( - getConfigurationProductsPropertiesIntegrationsResponse200AtBRANDAt543472: - GetConfigurationProductsPropertiesIntegrationsResponse200AtBRANDAt543472, +export function getConfigurationProductsPropertiesIntegrationsResponse200AtBRANDAt649501ToJSON( + getConfigurationProductsPropertiesIntegrationsResponse200AtBRANDAt649501: + GetConfigurationProductsPropertiesIntegrationsResponse200AtBRANDAt649501, ): string { return JSON.stringify( - GetConfigurationProductsPropertiesIntegrationsResponse200AtBRANDAt543472$outboundSchema + GetConfigurationProductsPropertiesIntegrationsResponse200AtBRANDAt649501$outboundSchema .parse( - getConfigurationProductsPropertiesIntegrationsResponse200AtBRANDAt543472, + getConfigurationProductsPropertiesIntegrationsResponse200AtBRANDAt649501, ), ); } - -export function getConfigurationProductsPropertiesIntegrationsResponse200AtBRANDAt543472FromJSON( +export function getConfigurationProductsPropertiesIntegrationsResponse200AtBRANDAt649501FromJSON( jsonString: string, ): SafeParseResult< - GetConfigurationProductsPropertiesIntegrationsResponse200AtBRANDAt543472, + GetConfigurationProductsPropertiesIntegrationsResponse200AtBRANDAt649501, SDKValidationError > { return safeParse( jsonString, (x) => - GetConfigurationProductsPropertiesIntegrationsResponse200AtBRANDAt543472$inboundSchema + GetConfigurationProductsPropertiesIntegrationsResponse200AtBRANDAt649501$inboundSchema .parse(JSON.parse(x)), - `Failed to parse 'GetConfigurationProductsPropertiesIntegrationsResponse200AtBRANDAt543472' from JSON`, + `Failed to parse 'GetConfigurationProductsPropertiesIntegrationsResponse200AtBRANDAt649501' from JSON`, ); } @@ -13494,19 +10414,18 @@ export const PropertiesPattern$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - "__@BRAND@543472": z.lazy(() => - GetConfigurationProductsPropertiesIntegrationsResponse200AtBRANDAt543472$inboundSchema + "__@BRAND@649501": z.lazy(() => + GetConfigurationProductsPropertiesIntegrationsResponse200AtBRANDAt649501$inboundSchema ), }).transform((v) => { return remap$(v, { - "__@BRAND@543472": "atBRANDAt543472", + "__@BRAND@649501": "atBRANDAt649501", }); }); - /** @internal */ export type PropertiesPattern$Outbound = { - "__@BRAND@543472": - GetConfigurationProductsPropertiesIntegrationsResponse200AtBRANDAt543472$Outbound; + "__@BRAND@649501": + GetConfigurationProductsPropertiesIntegrationsResponse200AtBRANDAt649501$Outbound; }; /** @internal */ @@ -13515,28 +10434,15 @@ export const PropertiesPattern$outboundSchema: z.ZodType< z.ZodTypeDef, PropertiesPattern > = z.object({ - atBRANDAt543472: z.lazy(() => - GetConfigurationProductsPropertiesIntegrationsResponse200AtBRANDAt543472$outboundSchema + atBRANDAt649501: z.lazy(() => + GetConfigurationProductsPropertiesIntegrationsResponse200AtBRANDAt649501$outboundSchema ), }).transform((v) => { return remap$(v, { - atBRANDAt543472: "__@BRAND@543472", + atBRANDAt649501: "__@BRAND@649501", }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PropertiesPattern$ { - /** @deprecated use `PropertiesPattern$inboundSchema` instead. */ - export const inboundSchema = PropertiesPattern$inboundSchema; - /** @deprecated use `PropertiesPattern$outboundSchema` instead. */ - export const outboundSchema = PropertiesPattern$outboundSchema; - /** @deprecated use `PropertiesPattern$Outbound` instead. */ - export type Outbound = PropertiesPattern$Outbound; -} - export function propertiesPatternToJSON( propertiesPattern: PropertiesPattern, ): string { @@ -13544,7 +10450,6 @@ export function propertiesPatternToJSON( PropertiesPattern$outboundSchema.parse(propertiesPattern), ); } - export function propertiesPatternFromJSON( jsonString: string, ): SafeParseResult { @@ -13560,26 +10465,12 @@ export const GetConfigurationProductsUiReadOnlyIntegrationsResponse2003$inboundS z.ZodNativeEnum< typeof GetConfigurationProductsUiReadOnlyIntegrationsResponse2003 > = z.nativeEnum(GetConfigurationProductsUiReadOnlyIntegrationsResponse2003); - /** @internal */ export const GetConfigurationProductsUiReadOnlyIntegrationsResponse2003$outboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsUiReadOnlyIntegrationsResponse2003 > = GetConfigurationProductsUiReadOnlyIntegrationsResponse2003$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsUiReadOnlyIntegrationsResponse2003$ { - /** @deprecated use `GetConfigurationProductsUiReadOnlyIntegrationsResponse2003$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsUiReadOnlyIntegrationsResponse2003$inboundSchema; - /** @deprecated use `GetConfigurationProductsUiReadOnlyIntegrationsResponse2003$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsUiReadOnlyIntegrationsResponse2003$outboundSchema; -} - /** @internal */ export const GetConfigurationProductsUiReadOnlyIntegrationsResponse2002$inboundSchema: z.ZodType< @@ -13589,7 +10480,6 @@ export const GetConfigurationProductsUiReadOnlyIntegrationsResponse2002$inboundS > = z.object({ expr: z.string(), }); - /** @internal */ export type GetConfigurationProductsUiReadOnlyIntegrationsResponse2002$Outbound = { @@ -13606,22 +10496,6 @@ export const GetConfigurationProductsUiReadOnlyIntegrationsResponse2002$outbound expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsUiReadOnlyIntegrationsResponse2002$ { - /** @deprecated use `GetConfigurationProductsUiReadOnlyIntegrationsResponse2002$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsUiReadOnlyIntegrationsResponse2002$inboundSchema; - /** @deprecated use `GetConfigurationProductsUiReadOnlyIntegrationsResponse2002$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsUiReadOnlyIntegrationsResponse2002$outboundSchema; - /** @deprecated use `GetConfigurationProductsUiReadOnlyIntegrationsResponse2002$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsUiReadOnlyIntegrationsResponse2002$Outbound; -} - export function getConfigurationProductsUiReadOnlyIntegrationsResponse2002ToJSON( getConfigurationProductsUiReadOnlyIntegrationsResponse2002: GetConfigurationProductsUiReadOnlyIntegrationsResponse2002, @@ -13631,7 +10505,6 @@ export function getConfigurationProductsUiReadOnlyIntegrationsResponse2002ToJSON .parse(getConfigurationProductsUiReadOnlyIntegrationsResponse2002), ); } - export function getConfigurationProductsUiReadOnlyIntegrationsResponse2002FromJSON( jsonString: string, ): SafeParseResult< @@ -13660,7 +10533,6 @@ export const GetConfigurationProductsPropertiesIntegrationsResponseUiReadOnly$in z.boolean(), GetConfigurationProductsUiReadOnlyIntegrationsResponse2003$inboundSchema, ]); - /** @internal */ export type GetConfigurationProductsPropertiesIntegrationsResponseUiReadOnly$Outbound = | GetConfigurationProductsUiReadOnlyIntegrationsResponse2002$Outbound @@ -13681,22 +10553,6 @@ export const GetConfigurationProductsPropertiesIntegrationsResponseUiReadOnly$ou GetConfigurationProductsUiReadOnlyIntegrationsResponse2003$outboundSchema, ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsPropertiesIntegrationsResponseUiReadOnly$ { - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponseUiReadOnly$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponseUiReadOnly$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponseUiReadOnly$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponseUiReadOnly$outboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponseUiReadOnly$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsPropertiesIntegrationsResponseUiReadOnly$Outbound; -} - export function getConfigurationProductsPropertiesIntegrationsResponseUiReadOnlyToJSON( getConfigurationProductsPropertiesIntegrationsResponseUiReadOnly: GetConfigurationProductsPropertiesIntegrationsResponseUiReadOnly, @@ -13706,7 +10562,6 @@ export function getConfigurationProductsPropertiesIntegrationsResponseUiReadOnly .parse(getConfigurationProductsPropertiesIntegrationsResponseUiReadOnly), ); } - export function getConfigurationProductsPropertiesIntegrationsResponseUiReadOnlyFromJSON( jsonString: string, ): SafeParseResult< @@ -13727,26 +10582,12 @@ export const GetConfigurationProductsUiHiddenIntegrationsResponse2003$inboundSch z.ZodNativeEnum< typeof GetConfigurationProductsUiHiddenIntegrationsResponse2003 > = z.nativeEnum(GetConfigurationProductsUiHiddenIntegrationsResponse2003); - /** @internal */ export const GetConfigurationProductsUiHiddenIntegrationsResponse2003$outboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsUiHiddenIntegrationsResponse2003 > = GetConfigurationProductsUiHiddenIntegrationsResponse2003$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsUiHiddenIntegrationsResponse2003$ { - /** @deprecated use `GetConfigurationProductsUiHiddenIntegrationsResponse2003$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsUiHiddenIntegrationsResponse2003$inboundSchema; - /** @deprecated use `GetConfigurationProductsUiHiddenIntegrationsResponse2003$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsUiHiddenIntegrationsResponse2003$outboundSchema; -} - /** @internal */ export const GetConfigurationProductsUiHiddenIntegrationsResponse2002$inboundSchema: z.ZodType< @@ -13756,7 +10597,6 @@ export const GetConfigurationProductsUiHiddenIntegrationsResponse2002$inboundSch > = z.object({ expr: z.string(), }); - /** @internal */ export type GetConfigurationProductsUiHiddenIntegrationsResponse2002$Outbound = { @@ -13773,22 +10613,6 @@ export const GetConfigurationProductsUiHiddenIntegrationsResponse2002$outboundSc expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsUiHiddenIntegrationsResponse2002$ { - /** @deprecated use `GetConfigurationProductsUiHiddenIntegrationsResponse2002$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsUiHiddenIntegrationsResponse2002$inboundSchema; - /** @deprecated use `GetConfigurationProductsUiHiddenIntegrationsResponse2002$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsUiHiddenIntegrationsResponse2002$outboundSchema; - /** @deprecated use `GetConfigurationProductsUiHiddenIntegrationsResponse2002$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsUiHiddenIntegrationsResponse2002$Outbound; -} - export function getConfigurationProductsUiHiddenIntegrationsResponse2002ToJSON( getConfigurationProductsUiHiddenIntegrationsResponse2002: GetConfigurationProductsUiHiddenIntegrationsResponse2002, @@ -13798,7 +10622,6 @@ export function getConfigurationProductsUiHiddenIntegrationsResponse2002ToJSON( .parse(getConfigurationProductsUiHiddenIntegrationsResponse2002), ); } - export function getConfigurationProductsUiHiddenIntegrationsResponse2002FromJSON( jsonString: string, ): SafeParseResult< @@ -13827,7 +10650,6 @@ export const GetConfigurationProductsPropertiesIntegrationsResponseUiHidden$inbo z.boolean(), GetConfigurationProductsUiHiddenIntegrationsResponse2003$inboundSchema, ]); - /** @internal */ export type GetConfigurationProductsPropertiesIntegrationsResponseUiHidden$Outbound = | GetConfigurationProductsUiHiddenIntegrationsResponse2002$Outbound @@ -13848,22 +10670,6 @@ export const GetConfigurationProductsPropertiesIntegrationsResponseUiHidden$outb GetConfigurationProductsUiHiddenIntegrationsResponse2003$outboundSchema, ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsPropertiesIntegrationsResponseUiHidden$ { - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponseUiHidden$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponseUiHidden$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponseUiHidden$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponseUiHidden$outboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponseUiHidden$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsPropertiesIntegrationsResponseUiHidden$Outbound; -} - export function getConfigurationProductsPropertiesIntegrationsResponseUiHiddenToJSON( getConfigurationProductsPropertiesIntegrationsResponseUiHidden: GetConfigurationProductsPropertiesIntegrationsResponseUiHidden, @@ -13873,7 +10679,6 @@ export function getConfigurationProductsPropertiesIntegrationsResponseUiHiddenTo .parse(getConfigurationProductsPropertiesIntegrationsResponseUiHidden), ); } - export function getConfigurationProductsPropertiesIntegrationsResponseUiHiddenFromJSON( jsonString: string, ): SafeParseResult< @@ -13894,26 +10699,12 @@ export const GetConfigurationProductsUiDisabledIntegrationsResponse2003$inboundS z.ZodNativeEnum< typeof GetConfigurationProductsUiDisabledIntegrationsResponse2003 > = z.nativeEnum(GetConfigurationProductsUiDisabledIntegrationsResponse2003); - /** @internal */ export const GetConfigurationProductsUiDisabledIntegrationsResponse2003$outboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsUiDisabledIntegrationsResponse2003 > = GetConfigurationProductsUiDisabledIntegrationsResponse2003$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsUiDisabledIntegrationsResponse2003$ { - /** @deprecated use `GetConfigurationProductsUiDisabledIntegrationsResponse2003$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsUiDisabledIntegrationsResponse2003$inboundSchema; - /** @deprecated use `GetConfigurationProductsUiDisabledIntegrationsResponse2003$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsUiDisabledIntegrationsResponse2003$outboundSchema; -} - /** @internal */ export const GetConfigurationProductsUiDisabledIntegrationsResponse2002$inboundSchema: z.ZodType< @@ -13923,7 +10714,6 @@ export const GetConfigurationProductsUiDisabledIntegrationsResponse2002$inboundS > = z.object({ expr: z.string(), }); - /** @internal */ export type GetConfigurationProductsUiDisabledIntegrationsResponse2002$Outbound = { @@ -13940,22 +10730,6 @@ export const GetConfigurationProductsUiDisabledIntegrationsResponse2002$outbound expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsUiDisabledIntegrationsResponse2002$ { - /** @deprecated use `GetConfigurationProductsUiDisabledIntegrationsResponse2002$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsUiDisabledIntegrationsResponse2002$inboundSchema; - /** @deprecated use `GetConfigurationProductsUiDisabledIntegrationsResponse2002$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsUiDisabledIntegrationsResponse2002$outboundSchema; - /** @deprecated use `GetConfigurationProductsUiDisabledIntegrationsResponse2002$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsUiDisabledIntegrationsResponse2002$Outbound; -} - export function getConfigurationProductsUiDisabledIntegrationsResponse2002ToJSON( getConfigurationProductsUiDisabledIntegrationsResponse2002: GetConfigurationProductsUiDisabledIntegrationsResponse2002, @@ -13965,7 +10739,6 @@ export function getConfigurationProductsUiDisabledIntegrationsResponse2002ToJSON .parse(getConfigurationProductsUiDisabledIntegrationsResponse2002), ); } - export function getConfigurationProductsUiDisabledIntegrationsResponse2002FromJSON( jsonString: string, ): SafeParseResult< @@ -13994,7 +10767,6 @@ export const GetConfigurationProductsPropertiesIntegrationsResponseUiDisabled$in z.boolean(), GetConfigurationProductsUiDisabledIntegrationsResponse2003$inboundSchema, ]); - /** @internal */ export type GetConfigurationProductsPropertiesIntegrationsResponseUiDisabled$Outbound = | GetConfigurationProductsUiDisabledIntegrationsResponse2002$Outbound @@ -14015,22 +10787,6 @@ export const GetConfigurationProductsPropertiesIntegrationsResponseUiDisabled$ou GetConfigurationProductsUiDisabledIntegrationsResponse2003$outboundSchema, ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsPropertiesIntegrationsResponseUiDisabled$ { - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponseUiDisabled$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponseUiDisabled$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponseUiDisabled$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponseUiDisabled$outboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponseUiDisabled$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsPropertiesIntegrationsResponseUiDisabled$Outbound; -} - export function getConfigurationProductsPropertiesIntegrationsResponseUiDisabledToJSON( getConfigurationProductsPropertiesIntegrationsResponseUiDisabled: GetConfigurationProductsPropertiesIntegrationsResponseUiDisabled, @@ -14040,7 +10796,6 @@ export function getConfigurationProductsPropertiesIntegrationsResponseUiDisabled .parse(getConfigurationProductsPropertiesIntegrationsResponseUiDisabled), ); } - export function getConfigurationProductsPropertiesIntegrationsResponseUiDisabledFromJSON( jsonString: string, ): SafeParseResult< @@ -14065,7 +10820,6 @@ export const GetConfigurationProductsUiDescriptionIntegrationsResponse2002$inbou > = z.object({ expr: z.string(), }); - /** @internal */ export type GetConfigurationProductsUiDescriptionIntegrationsResponse2002$Outbound = { @@ -14082,22 +10836,6 @@ export const GetConfigurationProductsUiDescriptionIntegrationsResponse2002$outbo expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsUiDescriptionIntegrationsResponse2002$ { - /** @deprecated use `GetConfigurationProductsUiDescriptionIntegrationsResponse2002$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsUiDescriptionIntegrationsResponse2002$inboundSchema; - /** @deprecated use `GetConfigurationProductsUiDescriptionIntegrationsResponse2002$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsUiDescriptionIntegrationsResponse2002$outboundSchema; - /** @deprecated use `GetConfigurationProductsUiDescriptionIntegrationsResponse2002$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsUiDescriptionIntegrationsResponse2002$Outbound; -} - export function getConfigurationProductsUiDescriptionIntegrationsResponse2002ToJSON( getConfigurationProductsUiDescriptionIntegrationsResponse2002: GetConfigurationProductsUiDescriptionIntegrationsResponse2002, @@ -14107,7 +10845,6 @@ export function getConfigurationProductsUiDescriptionIntegrationsResponse2002ToJ .parse(getConfigurationProductsUiDescriptionIntegrationsResponse2002), ); } - export function getConfigurationProductsUiDescriptionIntegrationsResponse2002FromJSON( jsonString: string, ): SafeParseResult< @@ -14135,7 +10872,6 @@ export const GetConfigurationProductsPropertiesIntegrationsResponseUiDescription ), z.string(), ]); - /** @internal */ export type GetConfigurationProductsPropertiesIntegrationsResponseUiDescription$Outbound = | GetConfigurationProductsUiDescriptionIntegrationsResponse2002$Outbound @@ -14154,22 +10890,6 @@ export const GetConfigurationProductsPropertiesIntegrationsResponseUiDescription z.string(), ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsPropertiesIntegrationsResponseUiDescription$ { - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponseUiDescription$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponseUiDescription$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponseUiDescription$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponseUiDescription$outboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponseUiDescription$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsPropertiesIntegrationsResponseUiDescription$Outbound; -} - export function getConfigurationProductsPropertiesIntegrationsResponseUiDescriptionToJSON( getConfigurationProductsPropertiesIntegrationsResponseUiDescription: GetConfigurationProductsPropertiesIntegrationsResponseUiDescription, @@ -14181,7 +10901,6 @@ export function getConfigurationProductsPropertiesIntegrationsResponseUiDescript ), ); } - export function getConfigurationProductsPropertiesIntegrationsResponseUiDescriptionFromJSON( jsonString: string, ): SafeParseResult< @@ -14206,7 +10925,6 @@ export const GetConfigurationProductsPropertiesIntegrationsResponseUiFormattedVa > = z.object({ expr: z.string(), }); - /** @internal */ export type GetConfigurationProductsPropertiesIntegrationsResponseUiFormattedValue$Outbound = { @@ -14223,22 +10941,6 @@ export const GetConfigurationProductsPropertiesIntegrationsResponseUiFormattedVa expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsPropertiesIntegrationsResponseUiFormattedValue$ { - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponseUiFormattedValue$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponseUiFormattedValue$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponseUiFormattedValue$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponseUiFormattedValue$outboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponseUiFormattedValue$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsPropertiesIntegrationsResponseUiFormattedValue$Outbound; -} - export function getConfigurationProductsPropertiesIntegrationsResponseUiFormattedValueToJSON( getConfigurationProductsPropertiesIntegrationsResponseUiFormattedValue: GetConfigurationProductsPropertiesIntegrationsResponseUiFormattedValue, @@ -14250,7 +10952,6 @@ export function getConfigurationProductsPropertiesIntegrationsResponseUiFormatte ), ); } - export function getConfigurationProductsPropertiesIntegrationsResponseUiFormattedValueFromJSON( jsonString: string, ): SafeParseResult< @@ -14328,7 +11029,6 @@ export const Properties5$inboundSchema: z.ZodType< "ui:placeholder": "uiPlaceholder", }); }); - /** @internal */ export type Properties5$Outbound = { type: string; @@ -14429,23 +11129,9 @@ export const Properties5$outboundSchema: z.ZodType< }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Properties5$ { - /** @deprecated use `Properties5$inboundSchema` instead. */ - export const inboundSchema = Properties5$inboundSchema; - /** @deprecated use `Properties5$outboundSchema` instead. */ - export const outboundSchema = Properties5$outboundSchema; - /** @deprecated use `Properties5$Outbound` instead. */ - export type Outbound = Properties5$Outbound; -} - export function properties5ToJSON(properties5: Properties5): string { return JSON.stringify(Properties5$outboundSchema.parse(properties5)); } - export function properties5FromJSON( jsonString: string, ): SafeParseResult { @@ -14461,51 +11147,23 @@ export const GetConfigurationProductsPropertiesIntegrationsResponseType$inboundS z.ZodNativeEnum< typeof GetConfigurationProductsPropertiesIntegrationsResponseType > = z.nativeEnum(GetConfigurationProductsPropertiesIntegrationsResponseType); - /** @internal */ export const GetConfigurationProductsPropertiesIntegrationsResponseType$outboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsPropertiesIntegrationsResponseType > = GetConfigurationProductsPropertiesIntegrationsResponseType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsPropertiesIntegrationsResponseType$ { - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponseType$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponseType$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponseType$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponseType$outboundSchema; -} - /** @internal */ export const GetConfigurationProductsPropertiesIntegrationsUiControl$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsPropertiesIntegrationsUiControl > = z.nativeEnum(GetConfigurationProductsPropertiesIntegrationsUiControl); - /** @internal */ export const GetConfigurationProductsPropertiesIntegrationsUiControl$outboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsPropertiesIntegrationsUiControl > = GetConfigurationProductsPropertiesIntegrationsUiControl$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsPropertiesIntegrationsUiControl$ { - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsUiControl$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesIntegrationsUiControl$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsUiControl$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesIntegrationsUiControl$outboundSchema; -} - /** @internal */ export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema4Type$inboundSchema: z.ZodNativeEnum< @@ -14513,7 +11171,6 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200Applicatio > = z.nativeEnum( GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema4Type, ); - /** @internal */ export const GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema4Type$outboundSchema: z.ZodNativeEnum< @@ -14521,19 +11178,6 @@ export const GetConfigurationProductsPropertiesIntegrationsResponse200Applicatio > = GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema4Type$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema4Type$ { - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema4Type$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema4Type$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema4Type$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesIntegrationsResponse200ApplicationJSONResponseBodyProductsMetadataSchema4Type$outboundSchema; -} - /** @internal */ export const PropertiesItems$inboundSchema: z.ZodType< PropertiesItems, @@ -14549,7 +11193,6 @@ export const PropertiesItems$inboundSchema: z.ZodType< exclusiveMaximum: z.number().optional(), default: z.number().optional(), }); - /** @internal */ export type PropertiesItems$Outbound = { type: string; @@ -14577,25 +11220,11 @@ export const PropertiesItems$outboundSchema: z.ZodType< default: 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 PropertiesItems$ { - /** @deprecated use `PropertiesItems$inboundSchema` instead. */ - export const inboundSchema = PropertiesItems$inboundSchema; - /** @deprecated use `PropertiesItems$outboundSchema` instead. */ - export const outboundSchema = PropertiesItems$outboundSchema; - /** @deprecated use `PropertiesItems$Outbound` instead. */ - export type Outbound = PropertiesItems$Outbound; -} - export function propertiesItemsToJSON( propertiesItems: PropertiesItems, ): string { return JSON.stringify(PropertiesItems$outboundSchema.parse(propertiesItems)); } - export function propertiesItemsFromJSON( jsonString: string, ): SafeParseResult { @@ -14611,26 +11240,12 @@ export const GetConfigurationProductsUiReadOnlyIntegrationsResponse3$inboundSche z.ZodNativeEnum< typeof GetConfigurationProductsUiReadOnlyIntegrationsResponse3 > = z.nativeEnum(GetConfigurationProductsUiReadOnlyIntegrationsResponse3); - /** @internal */ export const GetConfigurationProductsUiReadOnlyIntegrationsResponse3$outboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsUiReadOnlyIntegrationsResponse3 > = GetConfigurationProductsUiReadOnlyIntegrationsResponse3$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsUiReadOnlyIntegrationsResponse3$ { - /** @deprecated use `GetConfigurationProductsUiReadOnlyIntegrationsResponse3$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsUiReadOnlyIntegrationsResponse3$inboundSchema; - /** @deprecated use `GetConfigurationProductsUiReadOnlyIntegrationsResponse3$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsUiReadOnlyIntegrationsResponse3$outboundSchema; -} - /** @internal */ export const GetConfigurationProductsUiReadOnlyIntegrationsResponse2$inboundSchema: z.ZodType< @@ -14640,7 +11255,6 @@ export const GetConfigurationProductsUiReadOnlyIntegrationsResponse2$inboundSche > = z.object({ expr: z.string(), }); - /** @internal */ export type GetConfigurationProductsUiReadOnlyIntegrationsResponse2$Outbound = { expr: string; @@ -14656,22 +11270,6 @@ export const GetConfigurationProductsUiReadOnlyIntegrationsResponse2$outboundSch expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsUiReadOnlyIntegrationsResponse2$ { - /** @deprecated use `GetConfigurationProductsUiReadOnlyIntegrationsResponse2$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsUiReadOnlyIntegrationsResponse2$inboundSchema; - /** @deprecated use `GetConfigurationProductsUiReadOnlyIntegrationsResponse2$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsUiReadOnlyIntegrationsResponse2$outboundSchema; - /** @deprecated use `GetConfigurationProductsUiReadOnlyIntegrationsResponse2$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsUiReadOnlyIntegrationsResponse2$Outbound; -} - export function getConfigurationProductsUiReadOnlyIntegrationsResponse2ToJSON( getConfigurationProductsUiReadOnlyIntegrationsResponse2: GetConfigurationProductsUiReadOnlyIntegrationsResponse2, @@ -14681,7 +11279,6 @@ export function getConfigurationProductsUiReadOnlyIntegrationsResponse2ToJSON( .parse(getConfigurationProductsUiReadOnlyIntegrationsResponse2), ); } - export function getConfigurationProductsUiReadOnlyIntegrationsResponse2FromJSON( jsonString: string, ): SafeParseResult< @@ -14710,7 +11307,6 @@ export const GetConfigurationProductsPropertiesIntegrationsUiReadOnly$inboundSch z.boolean(), GetConfigurationProductsUiReadOnlyIntegrationsResponse3$inboundSchema, ]); - /** @internal */ export type GetConfigurationProductsPropertiesIntegrationsUiReadOnly$Outbound = | GetConfigurationProductsUiReadOnlyIntegrationsResponse2$Outbound @@ -14731,22 +11327,6 @@ export const GetConfigurationProductsPropertiesIntegrationsUiReadOnly$outboundSc GetConfigurationProductsUiReadOnlyIntegrationsResponse3$outboundSchema, ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsPropertiesIntegrationsUiReadOnly$ { - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsUiReadOnly$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesIntegrationsUiReadOnly$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsUiReadOnly$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesIntegrationsUiReadOnly$outboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsUiReadOnly$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsPropertiesIntegrationsUiReadOnly$Outbound; -} - export function getConfigurationProductsPropertiesIntegrationsUiReadOnlyToJSON( getConfigurationProductsPropertiesIntegrationsUiReadOnly: GetConfigurationProductsPropertiesIntegrationsUiReadOnly, @@ -14756,7 +11336,6 @@ export function getConfigurationProductsPropertiesIntegrationsUiReadOnlyToJSON( .parse(getConfigurationProductsPropertiesIntegrationsUiReadOnly), ); } - export function getConfigurationProductsPropertiesIntegrationsUiReadOnlyFromJSON( jsonString: string, ): SafeParseResult< @@ -14777,26 +11356,12 @@ export const GetConfigurationProductsUiHiddenIntegrationsResponse3$inboundSchema z.ZodNativeEnum< typeof GetConfigurationProductsUiHiddenIntegrationsResponse3 > = z.nativeEnum(GetConfigurationProductsUiHiddenIntegrationsResponse3); - /** @internal */ export const GetConfigurationProductsUiHiddenIntegrationsResponse3$outboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsUiHiddenIntegrationsResponse3 > = GetConfigurationProductsUiHiddenIntegrationsResponse3$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsUiHiddenIntegrationsResponse3$ { - /** @deprecated use `GetConfigurationProductsUiHiddenIntegrationsResponse3$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsUiHiddenIntegrationsResponse3$inboundSchema; - /** @deprecated use `GetConfigurationProductsUiHiddenIntegrationsResponse3$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsUiHiddenIntegrationsResponse3$outboundSchema; -} - /** @internal */ export const GetConfigurationProductsUiHiddenIntegrationsResponse2$inboundSchema: z.ZodType< @@ -14806,7 +11371,6 @@ export const GetConfigurationProductsUiHiddenIntegrationsResponse2$inboundSchema > = z.object({ expr: z.string(), }); - /** @internal */ export type GetConfigurationProductsUiHiddenIntegrationsResponse2$Outbound = { expr: string; @@ -14822,22 +11386,6 @@ export const GetConfigurationProductsUiHiddenIntegrationsResponse2$outboundSchem expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsUiHiddenIntegrationsResponse2$ { - /** @deprecated use `GetConfigurationProductsUiHiddenIntegrationsResponse2$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsUiHiddenIntegrationsResponse2$inboundSchema; - /** @deprecated use `GetConfigurationProductsUiHiddenIntegrationsResponse2$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsUiHiddenIntegrationsResponse2$outboundSchema; - /** @deprecated use `GetConfigurationProductsUiHiddenIntegrationsResponse2$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsUiHiddenIntegrationsResponse2$Outbound; -} - export function getConfigurationProductsUiHiddenIntegrationsResponse2ToJSON( getConfigurationProductsUiHiddenIntegrationsResponse2: GetConfigurationProductsUiHiddenIntegrationsResponse2, @@ -14848,7 +11396,6 @@ export function getConfigurationProductsUiHiddenIntegrationsResponse2ToJSON( ), ); } - export function getConfigurationProductsUiHiddenIntegrationsResponse2FromJSON( jsonString: string, ): SafeParseResult< @@ -14878,7 +11425,6 @@ export const GetConfigurationProductsPropertiesIntegrationsUiHidden$inboundSchem z.boolean(), GetConfigurationProductsUiHiddenIntegrationsResponse3$inboundSchema, ]); - /** @internal */ export type GetConfigurationProductsPropertiesIntegrationsUiHidden$Outbound = | GetConfigurationProductsUiHiddenIntegrationsResponse2$Outbound @@ -14899,22 +11445,6 @@ export const GetConfigurationProductsPropertiesIntegrationsUiHidden$outboundSche GetConfigurationProductsUiHiddenIntegrationsResponse3$outboundSchema, ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsPropertiesIntegrationsUiHidden$ { - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsUiHidden$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesIntegrationsUiHidden$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsUiHidden$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesIntegrationsUiHidden$outboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsUiHidden$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsPropertiesIntegrationsUiHidden$Outbound; -} - export function getConfigurationProductsPropertiesIntegrationsUiHiddenToJSON( getConfigurationProductsPropertiesIntegrationsUiHidden: GetConfigurationProductsPropertiesIntegrationsUiHidden, @@ -14925,7 +11455,6 @@ export function getConfigurationProductsPropertiesIntegrationsUiHiddenToJSON( ), ); } - export function getConfigurationProductsPropertiesIntegrationsUiHiddenFromJSON( jsonString: string, ): SafeParseResult< @@ -14946,26 +11475,12 @@ export const GetConfigurationProductsUiDisabledIntegrationsResponse3$inboundSche z.ZodNativeEnum< typeof GetConfigurationProductsUiDisabledIntegrationsResponse3 > = z.nativeEnum(GetConfigurationProductsUiDisabledIntegrationsResponse3); - /** @internal */ export const GetConfigurationProductsUiDisabledIntegrationsResponse3$outboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsUiDisabledIntegrationsResponse3 > = GetConfigurationProductsUiDisabledIntegrationsResponse3$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsUiDisabledIntegrationsResponse3$ { - /** @deprecated use `GetConfigurationProductsUiDisabledIntegrationsResponse3$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsUiDisabledIntegrationsResponse3$inboundSchema; - /** @deprecated use `GetConfigurationProductsUiDisabledIntegrationsResponse3$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsUiDisabledIntegrationsResponse3$outboundSchema; -} - /** @internal */ export const GetConfigurationProductsUiDisabledIntegrationsResponse2$inboundSchema: z.ZodType< @@ -14975,7 +11490,6 @@ export const GetConfigurationProductsUiDisabledIntegrationsResponse2$inboundSche > = z.object({ expr: z.string(), }); - /** @internal */ export type GetConfigurationProductsUiDisabledIntegrationsResponse2$Outbound = { expr: string; @@ -14991,22 +11505,6 @@ export const GetConfigurationProductsUiDisabledIntegrationsResponse2$outboundSch expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsUiDisabledIntegrationsResponse2$ { - /** @deprecated use `GetConfigurationProductsUiDisabledIntegrationsResponse2$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsUiDisabledIntegrationsResponse2$inboundSchema; - /** @deprecated use `GetConfigurationProductsUiDisabledIntegrationsResponse2$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsUiDisabledIntegrationsResponse2$outboundSchema; - /** @deprecated use `GetConfigurationProductsUiDisabledIntegrationsResponse2$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsUiDisabledIntegrationsResponse2$Outbound; -} - export function getConfigurationProductsUiDisabledIntegrationsResponse2ToJSON( getConfigurationProductsUiDisabledIntegrationsResponse2: GetConfigurationProductsUiDisabledIntegrationsResponse2, @@ -15016,7 +11514,6 @@ export function getConfigurationProductsUiDisabledIntegrationsResponse2ToJSON( .parse(getConfigurationProductsUiDisabledIntegrationsResponse2), ); } - export function getConfigurationProductsUiDisabledIntegrationsResponse2FromJSON( jsonString: string, ): SafeParseResult< @@ -15045,7 +11542,6 @@ export const GetConfigurationProductsPropertiesIntegrationsUiDisabled$inboundSch z.boolean(), GetConfigurationProductsUiDisabledIntegrationsResponse3$inboundSchema, ]); - /** @internal */ export type GetConfigurationProductsPropertiesIntegrationsUiDisabled$Outbound = | GetConfigurationProductsUiDisabledIntegrationsResponse2$Outbound @@ -15066,22 +11562,6 @@ export const GetConfigurationProductsPropertiesIntegrationsUiDisabled$outboundSc GetConfigurationProductsUiDisabledIntegrationsResponse3$outboundSchema, ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsPropertiesIntegrationsUiDisabled$ { - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsUiDisabled$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesIntegrationsUiDisabled$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsUiDisabled$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesIntegrationsUiDisabled$outboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsUiDisabled$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsPropertiesIntegrationsUiDisabled$Outbound; -} - export function getConfigurationProductsPropertiesIntegrationsUiDisabledToJSON( getConfigurationProductsPropertiesIntegrationsUiDisabled: GetConfigurationProductsPropertiesIntegrationsUiDisabled, @@ -15091,7 +11571,6 @@ export function getConfigurationProductsPropertiesIntegrationsUiDisabledToJSON( .parse(getConfigurationProductsPropertiesIntegrationsUiDisabled), ); } - export function getConfigurationProductsPropertiesIntegrationsUiDisabledFromJSON( jsonString: string, ): SafeParseResult< @@ -15116,7 +11595,6 @@ export const GetConfigurationProductsUiDescriptionIntegrationsResponse2$inboundS > = z.object({ expr: z.string(), }); - /** @internal */ export type GetConfigurationProductsUiDescriptionIntegrationsResponse2$Outbound = { @@ -15133,22 +11611,6 @@ export const GetConfigurationProductsUiDescriptionIntegrationsResponse2$outbound expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsUiDescriptionIntegrationsResponse2$ { - /** @deprecated use `GetConfigurationProductsUiDescriptionIntegrationsResponse2$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsUiDescriptionIntegrationsResponse2$inboundSchema; - /** @deprecated use `GetConfigurationProductsUiDescriptionIntegrationsResponse2$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsUiDescriptionIntegrationsResponse2$outboundSchema; - /** @deprecated use `GetConfigurationProductsUiDescriptionIntegrationsResponse2$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsUiDescriptionIntegrationsResponse2$Outbound; -} - export function getConfigurationProductsUiDescriptionIntegrationsResponse2ToJSON( getConfigurationProductsUiDescriptionIntegrationsResponse2: GetConfigurationProductsUiDescriptionIntegrationsResponse2, @@ -15158,7 +11620,6 @@ export function getConfigurationProductsUiDescriptionIntegrationsResponse2ToJSON .parse(getConfigurationProductsUiDescriptionIntegrationsResponse2), ); } - export function getConfigurationProductsUiDescriptionIntegrationsResponse2FromJSON( jsonString: string, ): SafeParseResult< @@ -15186,7 +11647,6 @@ export const GetConfigurationProductsPropertiesIntegrationsUiDescription$inbound ), z.string(), ]); - /** @internal */ export type GetConfigurationProductsPropertiesIntegrationsUiDescription$Outbound = | GetConfigurationProductsUiDescriptionIntegrationsResponse2$Outbound @@ -15205,22 +11665,6 @@ export const GetConfigurationProductsPropertiesIntegrationsUiDescription$outboun z.string(), ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsPropertiesIntegrationsUiDescription$ { - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsUiDescription$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesIntegrationsUiDescription$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsUiDescription$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesIntegrationsUiDescription$outboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsUiDescription$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsPropertiesIntegrationsUiDescription$Outbound; -} - export function getConfigurationProductsPropertiesIntegrationsUiDescriptionToJSON( getConfigurationProductsPropertiesIntegrationsUiDescription: GetConfigurationProductsPropertiesIntegrationsUiDescription, @@ -15230,7 +11674,6 @@ export function getConfigurationProductsPropertiesIntegrationsUiDescriptionToJSO .parse(getConfigurationProductsPropertiesIntegrationsUiDescription), ); } - export function getConfigurationProductsPropertiesIntegrationsUiDescriptionFromJSON( jsonString: string, ): SafeParseResult< @@ -15255,7 +11698,6 @@ export const GetConfigurationProductsPropertiesIntegrationsUiFormattedValue$inbo > = z.object({ expr: z.string(), }); - /** @internal */ export type GetConfigurationProductsPropertiesIntegrationsUiFormattedValue$Outbound = { @@ -15272,22 +11714,6 @@ export const GetConfigurationProductsPropertiesIntegrationsUiFormattedValue$outb expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsPropertiesIntegrationsUiFormattedValue$ { - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsUiFormattedValue$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesIntegrationsUiFormattedValue$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsUiFormattedValue$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesIntegrationsUiFormattedValue$outboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsUiFormattedValue$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsPropertiesIntegrationsUiFormattedValue$Outbound; -} - export function getConfigurationProductsPropertiesIntegrationsUiFormattedValueToJSON( getConfigurationProductsPropertiesIntegrationsUiFormattedValue: GetConfigurationProductsPropertiesIntegrationsUiFormattedValue, @@ -15297,7 +11723,6 @@ export function getConfigurationProductsPropertiesIntegrationsUiFormattedValueTo .parse(getConfigurationProductsPropertiesIntegrationsUiFormattedValue), ); } - export function getConfigurationProductsPropertiesIntegrationsUiFormattedValueFromJSON( jsonString: string, ): SafeParseResult< @@ -15372,7 +11797,6 @@ export const Properties4$inboundSchema: z.ZodType< "ui:formatted-value": "uiFormattedValue", }); }); - /** @internal */ export type Properties4$Outbound = { type: string; @@ -15468,23 +11892,9 @@ export const Properties4$outboundSchema: z.ZodType< }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Properties4$ { - /** @deprecated use `Properties4$inboundSchema` instead. */ - export const inboundSchema = Properties4$inboundSchema; - /** @deprecated use `Properties4$outboundSchema` instead. */ - export const outboundSchema = Properties4$outboundSchema; - /** @deprecated use `Properties4$Outbound` instead. */ - export type Outbound = Properties4$Outbound; -} - export function properties4ToJSON(properties4: Properties4): string { return JSON.stringify(Properties4$outboundSchema.parse(properties4)); } - export function properties4FromJSON( jsonString: string, ): SafeParseResult { @@ -15499,71 +11909,29 @@ export function properties4FromJSON( export const GetConfigurationProductsPropertiesIntegrationsType$inboundSchema: z.ZodNativeEnum = z .nativeEnum(GetConfigurationProductsPropertiesIntegrationsType); - /** @internal */ export const GetConfigurationProductsPropertiesIntegrationsType$outboundSchema: z.ZodNativeEnum = GetConfigurationProductsPropertiesIntegrationsType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsPropertiesIntegrationsType$ { - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsType$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesIntegrationsType$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesIntegrationsType$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesIntegrationsType$outboundSchema; -} - /** @internal */ export const GetConfigurationProductsPropertiesUiControl$inboundSchema: z.ZodNativeEnum = z .nativeEnum(GetConfigurationProductsPropertiesUiControl); - /** @internal */ export const GetConfigurationProductsPropertiesUiControl$outboundSchema: z.ZodNativeEnum = GetConfigurationProductsPropertiesUiControl$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsPropertiesUiControl$ { - /** @deprecated use `GetConfigurationProductsPropertiesUiControl$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesUiControl$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesUiControl$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesUiControl$outboundSchema; -} - /** @internal */ export const GetConfigurationProductsUiReadOnlyIntegrations3$inboundSchema: z.ZodNativeEnum = z .nativeEnum(GetConfigurationProductsUiReadOnlyIntegrations3); - /** @internal */ export const GetConfigurationProductsUiReadOnlyIntegrations3$outboundSchema: z.ZodNativeEnum = GetConfigurationProductsUiReadOnlyIntegrations3$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsUiReadOnlyIntegrations3$ { - /** @deprecated use `GetConfigurationProductsUiReadOnlyIntegrations3$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsUiReadOnlyIntegrations3$inboundSchema; - /** @deprecated use `GetConfigurationProductsUiReadOnlyIntegrations3$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsUiReadOnlyIntegrations3$outboundSchema; -} - /** @internal */ export const GetConfigurationProductsUiReadOnlyIntegrations2$inboundSchema: z.ZodType< @@ -15573,7 +11941,6 @@ export const GetConfigurationProductsUiReadOnlyIntegrations2$inboundSchema: > = z.object({ expr: z.string(), }); - /** @internal */ export type GetConfigurationProductsUiReadOnlyIntegrations2$Outbound = { expr: string; @@ -15589,22 +11956,6 @@ export const GetConfigurationProductsUiReadOnlyIntegrations2$outboundSchema: expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsUiReadOnlyIntegrations2$ { - /** @deprecated use `GetConfigurationProductsUiReadOnlyIntegrations2$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsUiReadOnlyIntegrations2$inboundSchema; - /** @deprecated use `GetConfigurationProductsUiReadOnlyIntegrations2$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsUiReadOnlyIntegrations2$outboundSchema; - /** @deprecated use `GetConfigurationProductsUiReadOnlyIntegrations2$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsUiReadOnlyIntegrations2$Outbound; -} - export function getConfigurationProductsUiReadOnlyIntegrations2ToJSON( getConfigurationProductsUiReadOnlyIntegrations2: GetConfigurationProductsUiReadOnlyIntegrations2, @@ -15615,7 +11966,6 @@ export function getConfigurationProductsUiReadOnlyIntegrations2ToJSON( ), ); } - export function getConfigurationProductsUiReadOnlyIntegrations2FromJSON( jsonString: string, ): SafeParseResult< @@ -15643,7 +11993,6 @@ export const GetConfigurationProductsPropertiesUiReadOnly$inboundSchema: z.boolean(), GetConfigurationProductsUiReadOnlyIntegrations3$inboundSchema, ]); - /** @internal */ export type GetConfigurationProductsPropertiesUiReadOnly$Outbound = | GetConfigurationProductsUiReadOnlyIntegrations2$Outbound @@ -15664,21 +12013,6 @@ export const GetConfigurationProductsPropertiesUiReadOnly$outboundSchema: GetConfigurationProductsUiReadOnlyIntegrations3$outboundSchema, ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsPropertiesUiReadOnly$ { - /** @deprecated use `GetConfigurationProductsPropertiesUiReadOnly$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesUiReadOnly$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesUiReadOnly$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesUiReadOnly$outboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesUiReadOnly$Outbound` instead. */ - export type Outbound = GetConfigurationProductsPropertiesUiReadOnly$Outbound; -} - export function getConfigurationProductsPropertiesUiReadOnlyToJSON( getConfigurationProductsPropertiesUiReadOnly: GetConfigurationProductsPropertiesUiReadOnly, @@ -15689,7 +12023,6 @@ export function getConfigurationProductsPropertiesUiReadOnlyToJSON( ), ); } - export function getConfigurationProductsPropertiesUiReadOnlyFromJSON( jsonString: string, ): SafeParseResult< @@ -15710,25 +12043,11 @@ export function getConfigurationProductsPropertiesUiReadOnlyFromJSON( export const GetConfigurationProductsUiHiddenIntegrations3$inboundSchema: z.ZodNativeEnum = z .nativeEnum(GetConfigurationProductsUiHiddenIntegrations3); - /** @internal */ export const GetConfigurationProductsUiHiddenIntegrations3$outboundSchema: z.ZodNativeEnum = GetConfigurationProductsUiHiddenIntegrations3$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsUiHiddenIntegrations3$ { - /** @deprecated use `GetConfigurationProductsUiHiddenIntegrations3$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsUiHiddenIntegrations3$inboundSchema; - /** @deprecated use `GetConfigurationProductsUiHiddenIntegrations3$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsUiHiddenIntegrations3$outboundSchema; -} - /** @internal */ export const GetConfigurationProductsUiHiddenIntegrations2$inboundSchema: z.ZodType< @@ -15738,7 +12057,6 @@ export const GetConfigurationProductsUiHiddenIntegrations2$inboundSchema: > = z.object({ expr: z.string(), }); - /** @internal */ export type GetConfigurationProductsUiHiddenIntegrations2$Outbound = { expr: string; @@ -15754,21 +12072,6 @@ export const GetConfigurationProductsUiHiddenIntegrations2$outboundSchema: expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsUiHiddenIntegrations2$ { - /** @deprecated use `GetConfigurationProductsUiHiddenIntegrations2$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsUiHiddenIntegrations2$inboundSchema; - /** @deprecated use `GetConfigurationProductsUiHiddenIntegrations2$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsUiHiddenIntegrations2$outboundSchema; - /** @deprecated use `GetConfigurationProductsUiHiddenIntegrations2$Outbound` instead. */ - export type Outbound = GetConfigurationProductsUiHiddenIntegrations2$Outbound; -} - export function getConfigurationProductsUiHiddenIntegrations2ToJSON( getConfigurationProductsUiHiddenIntegrations2: GetConfigurationProductsUiHiddenIntegrations2, @@ -15779,7 +12082,6 @@ export function getConfigurationProductsUiHiddenIntegrations2ToJSON( ), ); } - export function getConfigurationProductsUiHiddenIntegrations2FromJSON( jsonString: string, ): SafeParseResult< @@ -15804,7 +12106,6 @@ export const GetConfigurationProductsPropertiesUiHidden$inboundSchema: z.boolean(), GetConfigurationProductsUiHiddenIntegrations3$inboundSchema, ]); - /** @internal */ export type GetConfigurationProductsPropertiesUiHidden$Outbound = | GetConfigurationProductsUiHiddenIntegrations2$Outbound @@ -15823,21 +12124,6 @@ export const GetConfigurationProductsPropertiesUiHidden$outboundSchema: GetConfigurationProductsUiHiddenIntegrations3$outboundSchema, ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsPropertiesUiHidden$ { - /** @deprecated use `GetConfigurationProductsPropertiesUiHidden$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesUiHidden$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesUiHidden$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesUiHidden$outboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesUiHidden$Outbound` instead. */ - export type Outbound = GetConfigurationProductsPropertiesUiHidden$Outbound; -} - export function getConfigurationProductsPropertiesUiHiddenToJSON( getConfigurationProductsPropertiesUiHidden: GetConfigurationProductsPropertiesUiHidden, @@ -15848,7 +12134,6 @@ export function getConfigurationProductsPropertiesUiHiddenToJSON( ), ); } - export function getConfigurationProductsPropertiesUiHiddenFromJSON( jsonString: string, ): SafeParseResult< @@ -15869,25 +12154,11 @@ export function getConfigurationProductsPropertiesUiHiddenFromJSON( export const GetConfigurationProductsUiDisabledIntegrations3$inboundSchema: z.ZodNativeEnum = z .nativeEnum(GetConfigurationProductsUiDisabledIntegrations3); - /** @internal */ export const GetConfigurationProductsUiDisabledIntegrations3$outboundSchema: z.ZodNativeEnum = GetConfigurationProductsUiDisabledIntegrations3$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsUiDisabledIntegrations3$ { - /** @deprecated use `GetConfigurationProductsUiDisabledIntegrations3$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsUiDisabledIntegrations3$inboundSchema; - /** @deprecated use `GetConfigurationProductsUiDisabledIntegrations3$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsUiDisabledIntegrations3$outboundSchema; -} - /** @internal */ export const GetConfigurationProductsUiDisabledIntegrations2$inboundSchema: z.ZodType< @@ -15897,7 +12168,6 @@ export const GetConfigurationProductsUiDisabledIntegrations2$inboundSchema: > = z.object({ expr: z.string(), }); - /** @internal */ export type GetConfigurationProductsUiDisabledIntegrations2$Outbound = { expr: string; @@ -15913,22 +12183,6 @@ export const GetConfigurationProductsUiDisabledIntegrations2$outboundSchema: expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsUiDisabledIntegrations2$ { - /** @deprecated use `GetConfigurationProductsUiDisabledIntegrations2$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsUiDisabledIntegrations2$inboundSchema; - /** @deprecated use `GetConfigurationProductsUiDisabledIntegrations2$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsUiDisabledIntegrations2$outboundSchema; - /** @deprecated use `GetConfigurationProductsUiDisabledIntegrations2$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsUiDisabledIntegrations2$Outbound; -} - export function getConfigurationProductsUiDisabledIntegrations2ToJSON( getConfigurationProductsUiDisabledIntegrations2: GetConfigurationProductsUiDisabledIntegrations2, @@ -15939,7 +12193,6 @@ export function getConfigurationProductsUiDisabledIntegrations2ToJSON( ), ); } - export function getConfigurationProductsUiDisabledIntegrations2FromJSON( jsonString: string, ): SafeParseResult< @@ -15967,7 +12220,6 @@ export const GetConfigurationProductsPropertiesUiDisabled$inboundSchema: z.boolean(), GetConfigurationProductsUiDisabledIntegrations3$inboundSchema, ]); - /** @internal */ export type GetConfigurationProductsPropertiesUiDisabled$Outbound = | GetConfigurationProductsUiDisabledIntegrations2$Outbound @@ -15988,21 +12240,6 @@ export const GetConfigurationProductsPropertiesUiDisabled$outboundSchema: GetConfigurationProductsUiDisabledIntegrations3$outboundSchema, ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsPropertiesUiDisabled$ { - /** @deprecated use `GetConfigurationProductsPropertiesUiDisabled$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesUiDisabled$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesUiDisabled$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesUiDisabled$outboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesUiDisabled$Outbound` instead. */ - export type Outbound = GetConfigurationProductsPropertiesUiDisabled$Outbound; -} - export function getConfigurationProductsPropertiesUiDisabledToJSON( getConfigurationProductsPropertiesUiDisabled: GetConfigurationProductsPropertiesUiDisabled, @@ -16013,7 +12250,6 @@ export function getConfigurationProductsPropertiesUiDisabledToJSON( ), ); } - export function getConfigurationProductsPropertiesUiDisabledFromJSON( jsonString: string, ): SafeParseResult< @@ -16039,7 +12275,6 @@ export const GetConfigurationProductsUiDescriptionIntegrations2$inboundSchema: > = z.object({ expr: z.string(), }); - /** @internal */ export type GetConfigurationProductsUiDescriptionIntegrations2$Outbound = { expr: string; @@ -16055,22 +12290,6 @@ export const GetConfigurationProductsUiDescriptionIntegrations2$outboundSchema: expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsUiDescriptionIntegrations2$ { - /** @deprecated use `GetConfigurationProductsUiDescriptionIntegrations2$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsUiDescriptionIntegrations2$inboundSchema; - /** @deprecated use `GetConfigurationProductsUiDescriptionIntegrations2$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsUiDescriptionIntegrations2$outboundSchema; - /** @deprecated use `GetConfigurationProductsUiDescriptionIntegrations2$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsUiDescriptionIntegrations2$Outbound; -} - export function getConfigurationProductsUiDescriptionIntegrations2ToJSON( getConfigurationProductsUiDescriptionIntegrations2: GetConfigurationProductsUiDescriptionIntegrations2, @@ -16081,7 +12300,6 @@ export function getConfigurationProductsUiDescriptionIntegrations2ToJSON( ), ); } - export function getConfigurationProductsUiDescriptionIntegrations2FromJSON( jsonString: string, ): SafeParseResult< @@ -16110,7 +12328,6 @@ export const GetConfigurationProductsPropertiesUiDescription$inboundSchema: ), z.string(), ]); - /** @internal */ export type GetConfigurationProductsPropertiesUiDescription$Outbound = | GetConfigurationProductsUiDescriptionIntegrations2$Outbound @@ -16129,22 +12346,6 @@ export const GetConfigurationProductsPropertiesUiDescription$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 GetConfigurationProductsPropertiesUiDescription$ { - /** @deprecated use `GetConfigurationProductsPropertiesUiDescription$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesUiDescription$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesUiDescription$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesUiDescription$outboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesUiDescription$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsPropertiesUiDescription$Outbound; -} - export function getConfigurationProductsPropertiesUiDescriptionToJSON( getConfigurationProductsPropertiesUiDescription: GetConfigurationProductsPropertiesUiDescription, @@ -16155,7 +12356,6 @@ export function getConfigurationProductsPropertiesUiDescriptionToJSON( ), ); } - export function getConfigurationProductsPropertiesUiDescriptionFromJSON( jsonString: string, ): SafeParseResult< @@ -16181,7 +12381,6 @@ export const GetConfigurationProductsPropertiesUiFormattedValue$inboundSchema: > = z.object({ expr: z.string(), }); - /** @internal */ export type GetConfigurationProductsPropertiesUiFormattedValue$Outbound = { expr: string; @@ -16197,22 +12396,6 @@ export const GetConfigurationProductsPropertiesUiFormattedValue$outboundSchema: expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsPropertiesUiFormattedValue$ { - /** @deprecated use `GetConfigurationProductsPropertiesUiFormattedValue$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesUiFormattedValue$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesUiFormattedValue$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesUiFormattedValue$outboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesUiFormattedValue$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsPropertiesUiFormattedValue$Outbound; -} - export function getConfigurationProductsPropertiesUiFormattedValueToJSON( getConfigurationProductsPropertiesUiFormattedValue: GetConfigurationProductsPropertiesUiFormattedValue, @@ -16223,7 +12406,6 @@ export function getConfigurationProductsPropertiesUiFormattedValueToJSON( ), ); } - export function getConfigurationProductsPropertiesUiFormattedValueFromJSON( jsonString: string, ): SafeParseResult< @@ -16286,7 +12468,6 @@ export const Properties3$inboundSchema: z.ZodType< "ui:formatted-value": "uiFormattedValue", }); }); - /** @internal */ export type Properties3$Outbound = { type: string; @@ -16369,23 +12550,9 @@ export const Properties3$outboundSchema: z.ZodType< }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Properties3$ { - /** @deprecated use `Properties3$inboundSchema` instead. */ - export const inboundSchema = Properties3$inboundSchema; - /** @deprecated use `Properties3$outboundSchema` instead. */ - export const outboundSchema = Properties3$outboundSchema; - /** @deprecated use `Properties3$Outbound` instead. */ - export type Outbound = Properties3$Outbound; -} - export function properties3ToJSON(properties3: Properties3): string { return JSON.stringify(Properties3$outboundSchema.parse(properties3)); } - export function properties3FromJSON( jsonString: string, ): SafeParseResult { @@ -16401,69 +12568,29 @@ export const GetConfigurationProductsPropertiesType$inboundSchema: z.ZodNativeEnum = z.nativeEnum( GetConfigurationProductsPropertiesType, ); - /** @internal */ export const GetConfigurationProductsPropertiesType$outboundSchema: z.ZodNativeEnum = GetConfigurationProductsPropertiesType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsPropertiesType$ { - /** @deprecated use `GetConfigurationProductsPropertiesType$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesType$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesType$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesType$outboundSchema; -} - /** @internal */ export const PropertiesUiControl$inboundSchema: z.ZodNativeEnum< typeof PropertiesUiControl > = z.nativeEnum(PropertiesUiControl); - /** @internal */ export const PropertiesUiControl$outboundSchema: z.ZodNativeEnum< typeof PropertiesUiControl > = PropertiesUiControl$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PropertiesUiControl$ { - /** @deprecated use `PropertiesUiControl$inboundSchema` instead. */ - export const inboundSchema = PropertiesUiControl$inboundSchema; - /** @deprecated use `PropertiesUiControl$outboundSchema` instead. */ - export const outboundSchema = PropertiesUiControl$outboundSchema; -} - /** @internal */ export const GetConfigurationProductsUiReadOnly3$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsUiReadOnly3 > = z.nativeEnum(GetConfigurationProductsUiReadOnly3); - /** @internal */ export const GetConfigurationProductsUiReadOnly3$outboundSchema: z.ZodNativeEnum = GetConfigurationProductsUiReadOnly3$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsUiReadOnly3$ { - /** @deprecated use `GetConfigurationProductsUiReadOnly3$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsUiReadOnly3$inboundSchema; - /** @deprecated use `GetConfigurationProductsUiReadOnly3$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsUiReadOnly3$outboundSchema; -} - /** @internal */ export const GetConfigurationProductsUiReadOnly2$inboundSchema: z.ZodType< GetConfigurationProductsUiReadOnly2, @@ -16472,7 +12599,6 @@ export const GetConfigurationProductsUiReadOnly2$inboundSchema: z.ZodType< > = z.object({ expr: z.string(), }); - /** @internal */ export type GetConfigurationProductsUiReadOnly2$Outbound = { expr: string; @@ -16487,21 +12613,6 @@ export const GetConfigurationProductsUiReadOnly2$outboundSchema: z.ZodType< expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsUiReadOnly2$ { - /** @deprecated use `GetConfigurationProductsUiReadOnly2$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsUiReadOnly2$inboundSchema; - /** @deprecated use `GetConfigurationProductsUiReadOnly2$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsUiReadOnly2$outboundSchema; - /** @deprecated use `GetConfigurationProductsUiReadOnly2$Outbound` instead. */ - export type Outbound = GetConfigurationProductsUiReadOnly2$Outbound; -} - export function getConfigurationProductsUiReadOnly2ToJSON( getConfigurationProductsUiReadOnly2: GetConfigurationProductsUiReadOnly2, ): string { @@ -16511,7 +12622,6 @@ export function getConfigurationProductsUiReadOnly2ToJSON( ), ); } - export function getConfigurationProductsUiReadOnly2FromJSON( jsonString: string, ): SafeParseResult { @@ -16533,7 +12643,6 @@ export const PropertiesUiReadOnly$inboundSchema: z.ZodType< z.boolean(), GetConfigurationProductsUiReadOnly3$inboundSchema, ]); - /** @internal */ export type PropertiesUiReadOnly$Outbound = | GetConfigurationProductsUiReadOnly2$Outbound @@ -16551,19 +12660,6 @@ export const PropertiesUiReadOnly$outboundSchema: z.ZodType< GetConfigurationProductsUiReadOnly3$outboundSchema, ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PropertiesUiReadOnly$ { - /** @deprecated use `PropertiesUiReadOnly$inboundSchema` instead. */ - export const inboundSchema = PropertiesUiReadOnly$inboundSchema; - /** @deprecated use `PropertiesUiReadOnly$outboundSchema` instead. */ - export const outboundSchema = PropertiesUiReadOnly$outboundSchema; - /** @deprecated use `PropertiesUiReadOnly$Outbound` instead. */ - export type Outbound = PropertiesUiReadOnly$Outbound; -} - export function propertiesUiReadOnlyToJSON( propertiesUiReadOnly: PropertiesUiReadOnly, ): string { @@ -16571,7 +12667,6 @@ export function propertiesUiReadOnlyToJSON( PropertiesUiReadOnly$outboundSchema.parse(propertiesUiReadOnly), ); } - export function propertiesUiReadOnlyFromJSON( jsonString: string, ): SafeParseResult { @@ -16586,24 +12681,11 @@ export function propertiesUiReadOnlyFromJSON( export const GetConfigurationProductsUiHidden3$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsUiHidden3 > = z.nativeEnum(GetConfigurationProductsUiHidden3); - /** @internal */ export const GetConfigurationProductsUiHidden3$outboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsUiHidden3 > = GetConfigurationProductsUiHidden3$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsUiHidden3$ { - /** @deprecated use `GetConfigurationProductsUiHidden3$inboundSchema` instead. */ - export const inboundSchema = GetConfigurationProductsUiHidden3$inboundSchema; - /** @deprecated use `GetConfigurationProductsUiHidden3$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsUiHidden3$outboundSchema; -} - /** @internal */ export const GetConfigurationProductsUiHidden2$inboundSchema: z.ZodType< GetConfigurationProductsUiHidden2, @@ -16612,7 +12694,6 @@ export const GetConfigurationProductsUiHidden2$inboundSchema: z.ZodType< > = z.object({ expr: z.string(), }); - /** @internal */ export type GetConfigurationProductsUiHidden2$Outbound = { expr: string; @@ -16627,20 +12708,6 @@ export const GetConfigurationProductsUiHidden2$outboundSchema: z.ZodType< expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsUiHidden2$ { - /** @deprecated use `GetConfigurationProductsUiHidden2$inboundSchema` instead. */ - export const inboundSchema = GetConfigurationProductsUiHidden2$inboundSchema; - /** @deprecated use `GetConfigurationProductsUiHidden2$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsUiHidden2$outboundSchema; - /** @deprecated use `GetConfigurationProductsUiHidden2$Outbound` instead. */ - export type Outbound = GetConfigurationProductsUiHidden2$Outbound; -} - export function getConfigurationProductsUiHidden2ToJSON( getConfigurationProductsUiHidden2: GetConfigurationProductsUiHidden2, ): string { @@ -16650,7 +12717,6 @@ export function getConfigurationProductsUiHidden2ToJSON( ), ); } - export function getConfigurationProductsUiHidden2FromJSON( jsonString: string, ): SafeParseResult { @@ -16671,7 +12737,6 @@ export const PropertiesUiHidden$inboundSchema: z.ZodType< z.boolean(), GetConfigurationProductsUiHidden3$inboundSchema, ]); - /** @internal */ export type PropertiesUiHidden$Outbound = | GetConfigurationProductsUiHidden2$Outbound @@ -16689,19 +12754,6 @@ export const PropertiesUiHidden$outboundSchema: z.ZodType< GetConfigurationProductsUiHidden3$outboundSchema, ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PropertiesUiHidden$ { - /** @deprecated use `PropertiesUiHidden$inboundSchema` instead. */ - export const inboundSchema = PropertiesUiHidden$inboundSchema; - /** @deprecated use `PropertiesUiHidden$outboundSchema` instead. */ - export const outboundSchema = PropertiesUiHidden$outboundSchema; - /** @deprecated use `PropertiesUiHidden$Outbound` instead. */ - export type Outbound = PropertiesUiHidden$Outbound; -} - export function propertiesUiHiddenToJSON( propertiesUiHidden: PropertiesUiHidden, ): string { @@ -16709,7 +12761,6 @@ export function propertiesUiHiddenToJSON( PropertiesUiHidden$outboundSchema.parse(propertiesUiHidden), ); } - export function propertiesUiHiddenFromJSON( jsonString: string, ): SafeParseResult { @@ -16724,25 +12775,11 @@ export function propertiesUiHiddenFromJSON( export const GetConfigurationProductsUiDisabled3$inboundSchema: z.ZodNativeEnum< typeof GetConfigurationProductsUiDisabled3 > = z.nativeEnum(GetConfigurationProductsUiDisabled3); - /** @internal */ export const GetConfigurationProductsUiDisabled3$outboundSchema: z.ZodNativeEnum = GetConfigurationProductsUiDisabled3$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsUiDisabled3$ { - /** @deprecated use `GetConfigurationProductsUiDisabled3$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsUiDisabled3$inboundSchema; - /** @deprecated use `GetConfigurationProductsUiDisabled3$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsUiDisabled3$outboundSchema; -} - /** @internal */ export const GetConfigurationProductsUiDisabled2$inboundSchema: z.ZodType< GetConfigurationProductsUiDisabled2, @@ -16751,7 +12788,6 @@ export const GetConfigurationProductsUiDisabled2$inboundSchema: z.ZodType< > = z.object({ expr: z.string(), }); - /** @internal */ export type GetConfigurationProductsUiDisabled2$Outbound = { expr: string; @@ -16766,21 +12802,6 @@ export const GetConfigurationProductsUiDisabled2$outboundSchema: z.ZodType< expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsUiDisabled2$ { - /** @deprecated use `GetConfigurationProductsUiDisabled2$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsUiDisabled2$inboundSchema; - /** @deprecated use `GetConfigurationProductsUiDisabled2$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsUiDisabled2$outboundSchema; - /** @deprecated use `GetConfigurationProductsUiDisabled2$Outbound` instead. */ - export type Outbound = GetConfigurationProductsUiDisabled2$Outbound; -} - export function getConfigurationProductsUiDisabled2ToJSON( getConfigurationProductsUiDisabled2: GetConfigurationProductsUiDisabled2, ): string { @@ -16790,7 +12811,6 @@ export function getConfigurationProductsUiDisabled2ToJSON( ), ); } - export function getConfigurationProductsUiDisabled2FromJSON( jsonString: string, ): SafeParseResult { @@ -16812,7 +12832,6 @@ export const PropertiesUiDisabled$inboundSchema: z.ZodType< z.boolean(), GetConfigurationProductsUiDisabled3$inboundSchema, ]); - /** @internal */ export type PropertiesUiDisabled$Outbound = | GetConfigurationProductsUiDisabled2$Outbound @@ -16830,19 +12849,6 @@ export const PropertiesUiDisabled$outboundSchema: z.ZodType< GetConfigurationProductsUiDisabled3$outboundSchema, ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PropertiesUiDisabled$ { - /** @deprecated use `PropertiesUiDisabled$inboundSchema` instead. */ - export const inboundSchema = PropertiesUiDisabled$inboundSchema; - /** @deprecated use `PropertiesUiDisabled$outboundSchema` instead. */ - export const outboundSchema = PropertiesUiDisabled$outboundSchema; - /** @deprecated use `PropertiesUiDisabled$Outbound` instead. */ - export type Outbound = PropertiesUiDisabled$Outbound; -} - export function propertiesUiDisabledToJSON( propertiesUiDisabled: PropertiesUiDisabled, ): string { @@ -16850,7 +12856,6 @@ export function propertiesUiDisabledToJSON( PropertiesUiDisabled$outboundSchema.parse(propertiesUiDisabled), ); } - export function propertiesUiDisabledFromJSON( jsonString: string, ): SafeParseResult { @@ -16869,7 +12874,6 @@ export const GetConfigurationProductsUiDescription2$inboundSchema: z.ZodType< > = z.object({ expr: z.string(), }); - /** @internal */ export type GetConfigurationProductsUiDescription2$Outbound = { expr: string; @@ -16884,21 +12888,6 @@ export const GetConfigurationProductsUiDescription2$outboundSchema: z.ZodType< expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsUiDescription2$ { - /** @deprecated use `GetConfigurationProductsUiDescription2$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsUiDescription2$inboundSchema; - /** @deprecated use `GetConfigurationProductsUiDescription2$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsUiDescription2$outboundSchema; - /** @deprecated use `GetConfigurationProductsUiDescription2$Outbound` instead. */ - export type Outbound = GetConfigurationProductsUiDescription2$Outbound; -} - export function getConfigurationProductsUiDescription2ToJSON( getConfigurationProductsUiDescription2: GetConfigurationProductsUiDescription2, @@ -16909,7 +12898,6 @@ export function getConfigurationProductsUiDescription2ToJSON( ), ); } - export function getConfigurationProductsUiDescription2FromJSON( jsonString: string, ): SafeParseResult { @@ -16930,7 +12918,6 @@ export const PropertiesUiDescription$inboundSchema: z.ZodType< z.lazy(() => GetConfigurationProductsUiDescription2$inboundSchema), z.string(), ]); - /** @internal */ export type PropertiesUiDescription$Outbound = | GetConfigurationProductsUiDescription2$Outbound @@ -16946,19 +12933,6 @@ export const PropertiesUiDescription$outboundSchema: z.ZodType< z.string(), ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PropertiesUiDescription$ { - /** @deprecated use `PropertiesUiDescription$inboundSchema` instead. */ - export const inboundSchema = PropertiesUiDescription$inboundSchema; - /** @deprecated use `PropertiesUiDescription$outboundSchema` instead. */ - export const outboundSchema = PropertiesUiDescription$outboundSchema; - /** @deprecated use `PropertiesUiDescription$Outbound` instead. */ - export type Outbound = PropertiesUiDescription$Outbound; -} - export function propertiesUiDescriptionToJSON( propertiesUiDescription: PropertiesUiDescription, ): string { @@ -16966,7 +12940,6 @@ export function propertiesUiDescriptionToJSON( PropertiesUiDescription$outboundSchema.parse(propertiesUiDescription), ); } - export function propertiesUiDescriptionFromJSON( jsonString: string, ): SafeParseResult { @@ -16985,7 +12958,6 @@ export const PropertiesUiFormattedValue$inboundSchema: z.ZodType< > = z.object({ expr: z.string(), }); - /** @internal */ export type PropertiesUiFormattedValue$Outbound = { expr: string; @@ -17000,19 +12972,6 @@ export const PropertiesUiFormattedValue$outboundSchema: z.ZodType< expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PropertiesUiFormattedValue$ { - /** @deprecated use `PropertiesUiFormattedValue$inboundSchema` instead. */ - export const inboundSchema = PropertiesUiFormattedValue$inboundSchema; - /** @deprecated use `PropertiesUiFormattedValue$outboundSchema` instead. */ - export const outboundSchema = PropertiesUiFormattedValue$outboundSchema; - /** @deprecated use `PropertiesUiFormattedValue$Outbound` instead. */ - export type Outbound = PropertiesUiFormattedValue$Outbound; -} - export function propertiesUiFormattedValueToJSON( propertiesUiFormattedValue: PropertiesUiFormattedValue, ): string { @@ -17020,7 +12979,6 @@ export function propertiesUiFormattedValueToJSON( PropertiesUiFormattedValue$outboundSchema.parse(propertiesUiFormattedValue), ); } - export function propertiesUiFormattedValueFromJSON( jsonString: string, ): SafeParseResult { @@ -17080,7 +13038,6 @@ export const Properties2$inboundSchema: z.ZodType< "ui:placeholder": "uiPlaceholder", }); }); - /** @internal */ export type Properties2$Outbound = { type: string; @@ -17165,23 +13122,9 @@ export const Properties2$outboundSchema: z.ZodType< }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Properties2$ { - /** @deprecated use `Properties2$inboundSchema` instead. */ - export const inboundSchema = Properties2$inboundSchema; - /** @deprecated use `Properties2$outboundSchema` instead. */ - export const outboundSchema = Properties2$outboundSchema; - /** @deprecated use `Properties2$Outbound` instead. */ - export type Outbound = Properties2$Outbound; -} - export function properties2ToJSON(properties2: Properties2): string { return JSON.stringify(Properties2$outboundSchema.parse(properties2)); } - export function properties2FromJSON( jsonString: string, ): SafeParseResult { @@ -17196,85 +13139,46 @@ export function properties2FromJSON( export const PropertiesType$inboundSchema: z.ZodNativeEnum< typeof PropertiesType > = z.nativeEnum(PropertiesType); - /** @internal */ export const PropertiesType$outboundSchema: z.ZodNativeEnum< typeof PropertiesType > = PropertiesType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PropertiesType$ { - /** @deprecated use `PropertiesType$inboundSchema` instead. */ - export const inboundSchema = PropertiesType$inboundSchema; - /** @deprecated use `PropertiesType$outboundSchema` instead. */ - export const outboundSchema = PropertiesType$outboundSchema; -} - /** @internal */ export const UiControl$inboundSchema: z.ZodNativeEnum = z .nativeEnum(UiControl); - /** @internal */ export const UiControl$outboundSchema: z.ZodNativeEnum = UiControl$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UiControl$ { - /** @deprecated use `UiControl$inboundSchema` instead. */ - export const inboundSchema = UiControl$inboundSchema; - /** @deprecated use `UiControl$outboundSchema` instead. */ - export const outboundSchema = UiControl$outboundSchema; -} - /** @internal */ -export const AtBRANDAt543472$inboundSchema: z.ZodType< - AtBRANDAt543472, +export const AtBRANDAt649501$inboundSchema: z.ZodType< + AtBRANDAt649501, z.ZodTypeDef, unknown > = z.object({}); - /** @internal */ -export type AtBRANDAt543472$Outbound = {}; +export type AtBRANDAt649501$Outbound = {}; /** @internal */ -export const AtBRANDAt543472$outboundSchema: z.ZodType< - AtBRANDAt543472$Outbound, +export const AtBRANDAt649501$outboundSchema: z.ZodType< + AtBRANDAt649501$Outbound, z.ZodTypeDef, - AtBRANDAt543472 + AtBRANDAt649501 > = 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 AtBRANDAt543472$ { - /** @deprecated use `AtBRANDAt543472$inboundSchema` instead. */ - export const inboundSchema = AtBRANDAt543472$inboundSchema; - /** @deprecated use `AtBRANDAt543472$outboundSchema` instead. */ - export const outboundSchema = AtBRANDAt543472$outboundSchema; - /** @deprecated use `AtBRANDAt543472$Outbound` instead. */ - export type Outbound = AtBRANDAt543472$Outbound; -} - -export function atBRANDAt543472ToJSON( - atBRANDAt543472: AtBRANDAt543472, +export function atBRANDAt649501ToJSON( + atBRANDAt649501: AtBRANDAt649501, ): string { - return JSON.stringify(AtBRANDAt543472$outboundSchema.parse(atBRANDAt543472)); + return JSON.stringify(AtBRANDAt649501$outboundSchema.parse(atBRANDAt649501)); } - -export function atBRANDAt543472FromJSON( +export function atBRANDAt649501FromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => AtBRANDAt543472$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'AtBRANDAt543472' from JSON`, + (x) => AtBRANDAt649501$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'AtBRANDAt649501' from JSON`, ); } @@ -17284,16 +13188,15 @@ export const MinLength$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - "__@BRAND@543472": z.lazy(() => AtBRANDAt543472$inboundSchema), + "__@BRAND@649501": z.lazy(() => AtBRANDAt649501$inboundSchema), }).transform((v) => { return remap$(v, { - "__@BRAND@543472": "atBRANDAt543472", + "__@BRAND@649501": "atBRANDAt649501", }); }); - /** @internal */ export type MinLength$Outbound = { - "__@BRAND@543472": AtBRANDAt543472$Outbound; + "__@BRAND@649501": AtBRANDAt649501$Outbound; }; /** @internal */ @@ -17302,30 +13205,16 @@ export const MinLength$outboundSchema: z.ZodType< z.ZodTypeDef, MinLength > = z.object({ - atBRANDAt543472: z.lazy(() => AtBRANDAt543472$outboundSchema), + atBRANDAt649501: z.lazy(() => AtBRANDAt649501$outboundSchema), }).transform((v) => { return remap$(v, { - atBRANDAt543472: "__@BRAND@543472", + atBRANDAt649501: "__@BRAND@649501", }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace MinLength$ { - /** @deprecated use `MinLength$inboundSchema` instead. */ - export const inboundSchema = MinLength$inboundSchema; - /** @deprecated use `MinLength$outboundSchema` instead. */ - export const outboundSchema = MinLength$outboundSchema; - /** @deprecated use `MinLength$Outbound` instead. */ - export type Outbound = MinLength$Outbound; -} - export function minLengthToJSON(minLength: MinLength): string { return JSON.stringify(MinLength$outboundSchema.parse(minLength)); } - export function minLengthFromJSON( jsonString: string, ): SafeParseResult { @@ -17337,50 +13226,35 @@ export function minLengthFromJSON( } /** @internal */ -export const PropertiesAtBRANDAt543472$inboundSchema: z.ZodType< - PropertiesAtBRANDAt543472, +export const PropertiesAtBRANDAt649501$inboundSchema: z.ZodType< + PropertiesAtBRANDAt649501, z.ZodTypeDef, unknown > = z.object({}); - /** @internal */ -export type PropertiesAtBRANDAt543472$Outbound = {}; +export type PropertiesAtBRANDAt649501$Outbound = {}; /** @internal */ -export const PropertiesAtBRANDAt543472$outboundSchema: z.ZodType< - PropertiesAtBRANDAt543472$Outbound, +export const PropertiesAtBRANDAt649501$outboundSchema: z.ZodType< + PropertiesAtBRANDAt649501$Outbound, z.ZodTypeDef, - PropertiesAtBRANDAt543472 + PropertiesAtBRANDAt649501 > = 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 PropertiesAtBRANDAt543472$ { - /** @deprecated use `PropertiesAtBRANDAt543472$inboundSchema` instead. */ - export const inboundSchema = PropertiesAtBRANDAt543472$inboundSchema; - /** @deprecated use `PropertiesAtBRANDAt543472$outboundSchema` instead. */ - export const outboundSchema = PropertiesAtBRANDAt543472$outboundSchema; - /** @deprecated use `PropertiesAtBRANDAt543472$Outbound` instead. */ - export type Outbound = PropertiesAtBRANDAt543472$Outbound; -} - -export function propertiesAtBRANDAt543472ToJSON( - propertiesAtBRANDAt543472: PropertiesAtBRANDAt543472, +export function propertiesAtBRANDAt649501ToJSON( + propertiesAtBRANDAt649501: PropertiesAtBRANDAt649501, ): string { return JSON.stringify( - PropertiesAtBRANDAt543472$outboundSchema.parse(propertiesAtBRANDAt543472), + PropertiesAtBRANDAt649501$outboundSchema.parse(propertiesAtBRANDAt649501), ); } - -export function propertiesAtBRANDAt543472FromJSON( +export function propertiesAtBRANDAt649501FromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => PropertiesAtBRANDAt543472$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'PropertiesAtBRANDAt543472' from JSON`, + (x) => PropertiesAtBRANDAt649501$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PropertiesAtBRANDAt649501' from JSON`, ); } @@ -17390,16 +13264,15 @@ export const MaxLength$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - "__@BRAND@543472": z.lazy(() => PropertiesAtBRANDAt543472$inboundSchema), + "__@BRAND@649501": z.lazy(() => PropertiesAtBRANDAt649501$inboundSchema), }).transform((v) => { return remap$(v, { - "__@BRAND@543472": "atBRANDAt543472", + "__@BRAND@649501": "atBRANDAt649501", }); }); - /** @internal */ export type MaxLength$Outbound = { - "__@BRAND@543472": PropertiesAtBRANDAt543472$Outbound; + "__@BRAND@649501": PropertiesAtBRANDAt649501$Outbound; }; /** @internal */ @@ -17408,30 +13281,16 @@ export const MaxLength$outboundSchema: z.ZodType< z.ZodTypeDef, MaxLength > = z.object({ - atBRANDAt543472: z.lazy(() => PropertiesAtBRANDAt543472$outboundSchema), + atBRANDAt649501: z.lazy(() => PropertiesAtBRANDAt649501$outboundSchema), }).transform((v) => { return remap$(v, { - atBRANDAt543472: "__@BRAND@543472", + atBRANDAt649501: "__@BRAND@649501", }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace MaxLength$ { - /** @deprecated use `MaxLength$inboundSchema` instead. */ - export const inboundSchema = MaxLength$inboundSchema; - /** @deprecated use `MaxLength$outboundSchema` instead. */ - export const outboundSchema = MaxLength$outboundSchema; - /** @deprecated use `MaxLength$Outbound` instead. */ - export type Outbound = MaxLength$Outbound; -} - export function maxLengthToJSON(maxLength: MaxLength): string { return JSON.stringify(MaxLength$outboundSchema.parse(maxLength)); } - export function maxLengthFromJSON( jsonString: string, ): SafeParseResult { @@ -17443,82 +13302,63 @@ export function maxLengthFromJSON( } /** @internal */ -export const GetConfigurationProductsPropertiesAtBRANDAt543472$inboundSchema: +export const GetConfigurationProductsPropertiesAtBRANDAt649501$inboundSchema: z.ZodType< - GetConfigurationProductsPropertiesAtBRANDAt543472, + GetConfigurationProductsPropertiesAtBRANDAt649501, z.ZodTypeDef, unknown > = z.object({}); - /** @internal */ -export type GetConfigurationProductsPropertiesAtBRANDAt543472$Outbound = {}; +export type GetConfigurationProductsPropertiesAtBRANDAt649501$Outbound = {}; /** @internal */ -export const GetConfigurationProductsPropertiesAtBRANDAt543472$outboundSchema: +export const GetConfigurationProductsPropertiesAtBRANDAt649501$outboundSchema: z.ZodType< - GetConfigurationProductsPropertiesAtBRANDAt543472$Outbound, + GetConfigurationProductsPropertiesAtBRANDAt649501$Outbound, z.ZodTypeDef, - GetConfigurationProductsPropertiesAtBRANDAt543472 + GetConfigurationProductsPropertiesAtBRANDAt649501 > = 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 GetConfigurationProductsPropertiesAtBRANDAt543472$ { - /** @deprecated use `GetConfigurationProductsPropertiesAtBRANDAt543472$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsPropertiesAtBRANDAt543472$inboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesAtBRANDAt543472$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsPropertiesAtBRANDAt543472$outboundSchema; - /** @deprecated use `GetConfigurationProductsPropertiesAtBRANDAt543472$Outbound` instead. */ - export type Outbound = - GetConfigurationProductsPropertiesAtBRANDAt543472$Outbound; -} - -export function getConfigurationProductsPropertiesAtBRANDAt543472ToJSON( - getConfigurationProductsPropertiesAtBRANDAt543472: - GetConfigurationProductsPropertiesAtBRANDAt543472, +export function getConfigurationProductsPropertiesAtBRANDAt649501ToJSON( + getConfigurationProductsPropertiesAtBRANDAt649501: + GetConfigurationProductsPropertiesAtBRANDAt649501, ): string { return JSON.stringify( - GetConfigurationProductsPropertiesAtBRANDAt543472$outboundSchema.parse( - getConfigurationProductsPropertiesAtBRANDAt543472, + GetConfigurationProductsPropertiesAtBRANDAt649501$outboundSchema.parse( + getConfigurationProductsPropertiesAtBRANDAt649501, ), ); } - -export function getConfigurationProductsPropertiesAtBRANDAt543472FromJSON( +export function getConfigurationProductsPropertiesAtBRANDAt649501FromJSON( jsonString: string, ): SafeParseResult< - GetConfigurationProductsPropertiesAtBRANDAt543472, + GetConfigurationProductsPropertiesAtBRANDAt649501, SDKValidationError > { return safeParse( jsonString, (x) => - GetConfigurationProductsPropertiesAtBRANDAt543472$inboundSchema.parse( + GetConfigurationProductsPropertiesAtBRANDAt649501$inboundSchema.parse( JSON.parse(x), ), - `Failed to parse 'GetConfigurationProductsPropertiesAtBRANDAt543472' from JSON`, + `Failed to parse 'GetConfigurationProductsPropertiesAtBRANDAt649501' from JSON`, ); } /** @internal */ export const Pattern$inboundSchema: z.ZodType = z.object({ - "__@BRAND@543472": z.lazy(() => - GetConfigurationProductsPropertiesAtBRANDAt543472$inboundSchema + "__@BRAND@649501": z.lazy(() => + GetConfigurationProductsPropertiesAtBRANDAt649501$inboundSchema ), }).transform((v) => { return remap$(v, { - "__@BRAND@543472": "atBRANDAt543472", + "__@BRAND@649501": "atBRANDAt649501", }); }); - /** @internal */ export type Pattern$Outbound = { - "__@BRAND@543472": GetConfigurationProductsPropertiesAtBRANDAt543472$Outbound; + "__@BRAND@649501": GetConfigurationProductsPropertiesAtBRANDAt649501$Outbound; }; /** @internal */ @@ -17527,32 +13367,18 @@ export const Pattern$outboundSchema: z.ZodType< z.ZodTypeDef, Pattern > = z.object({ - atBRANDAt543472: z.lazy(() => - GetConfigurationProductsPropertiesAtBRANDAt543472$outboundSchema + atBRANDAt649501: z.lazy(() => + GetConfigurationProductsPropertiesAtBRANDAt649501$outboundSchema ), }).transform((v) => { return remap$(v, { - atBRANDAt543472: "__@BRAND@543472", + atBRANDAt649501: "__@BRAND@649501", }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Pattern$ { - /** @deprecated use `Pattern$inboundSchema` instead. */ - export const inboundSchema = Pattern$inboundSchema; - /** @deprecated use `Pattern$outboundSchema` instead. */ - export const outboundSchema = Pattern$outboundSchema; - /** @deprecated use `Pattern$Outbound` instead. */ - export type Outbound = Pattern$Outbound; -} - export function patternToJSON(pattern: Pattern): string { return JSON.stringify(Pattern$outboundSchema.parse(pattern)); } - export function patternFromJSON( jsonString: string, ): SafeParseResult { @@ -17566,22 +13392,10 @@ export function patternFromJSON( /** @internal */ export const UiReadOnly3$inboundSchema: z.ZodNativeEnum = z .nativeEnum(UiReadOnly3); - /** @internal */ export const UiReadOnly3$outboundSchema: z.ZodNativeEnum = UiReadOnly3$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UiReadOnly3$ { - /** @deprecated use `UiReadOnly3$inboundSchema` instead. */ - export const inboundSchema = UiReadOnly3$inboundSchema; - /** @deprecated use `UiReadOnly3$outboundSchema` instead. */ - export const outboundSchema = UiReadOnly3$outboundSchema; -} - /** @internal */ export const UiReadOnly2$inboundSchema: z.ZodType< UiReadOnly2, @@ -17590,7 +13404,6 @@ export const UiReadOnly2$inboundSchema: z.ZodType< > = z.object({ expr: z.string(), }); - /** @internal */ export type UiReadOnly2$Outbound = { expr: string; @@ -17605,23 +13418,9 @@ export const UiReadOnly2$outboundSchema: z.ZodType< expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UiReadOnly2$ { - /** @deprecated use `UiReadOnly2$inboundSchema` instead. */ - export const inboundSchema = UiReadOnly2$inboundSchema; - /** @deprecated use `UiReadOnly2$outboundSchema` instead. */ - export const outboundSchema = UiReadOnly2$outboundSchema; - /** @deprecated use `UiReadOnly2$Outbound` instead. */ - export type Outbound = UiReadOnly2$Outbound; -} - export function uiReadOnly2ToJSON(uiReadOnly2: UiReadOnly2): string { return JSON.stringify(UiReadOnly2$outboundSchema.parse(uiReadOnly2)); } - export function uiReadOnly2FromJSON( jsonString: string, ): SafeParseResult { @@ -17642,7 +13441,6 @@ export const UiReadOnly$inboundSchema: z.ZodType< z.boolean(), UiReadOnly3$inboundSchema, ]); - /** @internal */ export type UiReadOnly$Outbound = UiReadOnly2$Outbound | boolean | string; @@ -17657,23 +13455,9 @@ export const UiReadOnly$outboundSchema: z.ZodType< UiReadOnly3$outboundSchema, ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UiReadOnly$ { - /** @deprecated use `UiReadOnly$inboundSchema` instead. */ - export const inboundSchema = UiReadOnly$inboundSchema; - /** @deprecated use `UiReadOnly$outboundSchema` instead. */ - export const outboundSchema = UiReadOnly$outboundSchema; - /** @deprecated use `UiReadOnly$Outbound` instead. */ - export type Outbound = UiReadOnly$Outbound; -} - export function uiReadOnlyToJSON(uiReadOnly: UiReadOnly): string { return JSON.stringify(UiReadOnly$outboundSchema.parse(uiReadOnly)); } - export function uiReadOnlyFromJSON( jsonString: string, ): SafeParseResult { @@ -17687,22 +13471,10 @@ export function uiReadOnlyFromJSON( /** @internal */ export const UiHidden3$inboundSchema: z.ZodNativeEnum = z .nativeEnum(UiHidden3); - /** @internal */ export const UiHidden3$outboundSchema: z.ZodNativeEnum = UiHidden3$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UiHidden3$ { - /** @deprecated use `UiHidden3$inboundSchema` instead. */ - export const inboundSchema = UiHidden3$inboundSchema; - /** @deprecated use `UiHidden3$outboundSchema` instead. */ - export const outboundSchema = UiHidden3$outboundSchema; -} - /** @internal */ export const UiHidden2$inboundSchema: z.ZodType< UiHidden2, @@ -17711,7 +13483,6 @@ export const UiHidden2$inboundSchema: z.ZodType< > = z.object({ expr: z.string(), }); - /** @internal */ export type UiHidden2$Outbound = { expr: string; @@ -17726,23 +13497,9 @@ export const UiHidden2$outboundSchema: z.ZodType< expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UiHidden2$ { - /** @deprecated use `UiHidden2$inboundSchema` instead. */ - export const inboundSchema = UiHidden2$inboundSchema; - /** @deprecated use `UiHidden2$outboundSchema` instead. */ - export const outboundSchema = UiHidden2$outboundSchema; - /** @deprecated use `UiHidden2$Outbound` instead. */ - export type Outbound = UiHidden2$Outbound; -} - export function uiHidden2ToJSON(uiHidden2: UiHidden2): string { return JSON.stringify(UiHidden2$outboundSchema.parse(uiHidden2)); } - export function uiHidden2FromJSON( jsonString: string, ): SafeParseResult { @@ -17763,7 +13520,6 @@ export const UiHidden$inboundSchema: z.ZodType< z.boolean(), UiHidden3$inboundSchema, ]); - /** @internal */ export type UiHidden$Outbound = UiHidden2$Outbound | boolean | string; @@ -17778,23 +13534,9 @@ export const UiHidden$outboundSchema: z.ZodType< UiHidden3$outboundSchema, ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UiHidden$ { - /** @deprecated use `UiHidden$inboundSchema` instead. */ - export const inboundSchema = UiHidden$inboundSchema; - /** @deprecated use `UiHidden$outboundSchema` instead. */ - export const outboundSchema = UiHidden$outboundSchema; - /** @deprecated use `UiHidden$Outbound` instead. */ - export type Outbound = UiHidden$Outbound; -} - export function uiHiddenToJSON(uiHidden: UiHidden): string { return JSON.stringify(UiHidden$outboundSchema.parse(uiHidden)); } - export function uiHiddenFromJSON( jsonString: string, ): SafeParseResult { @@ -17808,22 +13550,10 @@ export function uiHiddenFromJSON( /** @internal */ export const UiDisabled3$inboundSchema: z.ZodNativeEnum = z .nativeEnum(UiDisabled3); - /** @internal */ export const UiDisabled3$outboundSchema: z.ZodNativeEnum = UiDisabled3$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UiDisabled3$ { - /** @deprecated use `UiDisabled3$inboundSchema` instead. */ - export const inboundSchema = UiDisabled3$inboundSchema; - /** @deprecated use `UiDisabled3$outboundSchema` instead. */ - export const outboundSchema = UiDisabled3$outboundSchema; -} - /** @internal */ export const UiDisabled2$inboundSchema: z.ZodType< UiDisabled2, @@ -17832,7 +13562,6 @@ export const UiDisabled2$inboundSchema: z.ZodType< > = z.object({ expr: z.string(), }); - /** @internal */ export type UiDisabled2$Outbound = { expr: string; @@ -17847,23 +13576,9 @@ export const UiDisabled2$outboundSchema: z.ZodType< expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UiDisabled2$ { - /** @deprecated use `UiDisabled2$inboundSchema` instead. */ - export const inboundSchema = UiDisabled2$inboundSchema; - /** @deprecated use `UiDisabled2$outboundSchema` instead. */ - export const outboundSchema = UiDisabled2$outboundSchema; - /** @deprecated use `UiDisabled2$Outbound` instead. */ - export type Outbound = UiDisabled2$Outbound; -} - export function uiDisabled2ToJSON(uiDisabled2: UiDisabled2): string { return JSON.stringify(UiDisabled2$outboundSchema.parse(uiDisabled2)); } - export function uiDisabled2FromJSON( jsonString: string, ): SafeParseResult { @@ -17884,7 +13599,6 @@ export const UiDisabled$inboundSchema: z.ZodType< z.boolean(), UiDisabled3$inboundSchema, ]); - /** @internal */ export type UiDisabled$Outbound = UiDisabled2$Outbound | boolean | string; @@ -17899,23 +13613,9 @@ export const UiDisabled$outboundSchema: z.ZodType< UiDisabled3$outboundSchema, ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UiDisabled$ { - /** @deprecated use `UiDisabled$inboundSchema` instead. */ - export const inboundSchema = UiDisabled$inboundSchema; - /** @deprecated use `UiDisabled$outboundSchema` instead. */ - export const outboundSchema = UiDisabled$outboundSchema; - /** @deprecated use `UiDisabled$Outbound` instead. */ - export type Outbound = UiDisabled$Outbound; -} - export function uiDisabledToJSON(uiDisabled: UiDisabled): string { return JSON.stringify(UiDisabled$outboundSchema.parse(uiDisabled)); } - export function uiDisabledFromJSON( jsonString: string, ): SafeParseResult { @@ -17934,7 +13634,6 @@ export const UiDescription2$inboundSchema: z.ZodType< > = z.object({ expr: z.string(), }); - /** @internal */ export type UiDescription2$Outbound = { expr: string; @@ -17949,23 +13648,9 @@ export const UiDescription2$outboundSchema: z.ZodType< expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UiDescription2$ { - /** @deprecated use `UiDescription2$inboundSchema` instead. */ - export const inboundSchema = UiDescription2$inboundSchema; - /** @deprecated use `UiDescription2$outboundSchema` instead. */ - export const outboundSchema = UiDescription2$outboundSchema; - /** @deprecated use `UiDescription2$Outbound` instead. */ - export type Outbound = UiDescription2$Outbound; -} - export function uiDescription2ToJSON(uiDescription2: UiDescription2): string { return JSON.stringify(UiDescription2$outboundSchema.parse(uiDescription2)); } - export function uiDescription2FromJSON( jsonString: string, ): SafeParseResult { @@ -17982,7 +13667,6 @@ export const UiDescription$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.union([z.lazy(() => UiDescription2$inboundSchema), z.string()]); - /** @internal */ export type UiDescription$Outbound = UiDescription2$Outbound | string; @@ -17993,23 +13677,9 @@ export const UiDescription$outboundSchema: z.ZodType< UiDescription > = z.union([z.lazy(() => UiDescription2$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 UiDescription$ { - /** @deprecated use `UiDescription$inboundSchema` instead. */ - export const inboundSchema = UiDescription$inboundSchema; - /** @deprecated use `UiDescription$outboundSchema` instead. */ - export const outboundSchema = UiDescription$outboundSchema; - /** @deprecated use `UiDescription$Outbound` instead. */ - export type Outbound = UiDescription$Outbound; -} - export function uiDescriptionToJSON(uiDescription: UiDescription): string { return JSON.stringify(UiDescription$outboundSchema.parse(uiDescription)); } - export function uiDescriptionFromJSON( jsonString: string, ): SafeParseResult { @@ -18028,7 +13698,6 @@ export const UiFormattedValue$inboundSchema: z.ZodType< > = z.object({ expr: z.string(), }); - /** @internal */ export type UiFormattedValue$Outbound = { expr: string; @@ -18043,19 +13712,6 @@ export const UiFormattedValue$outboundSchema: z.ZodType< expr: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UiFormattedValue$ { - /** @deprecated use `UiFormattedValue$inboundSchema` instead. */ - export const inboundSchema = UiFormattedValue$inboundSchema; - /** @deprecated use `UiFormattedValue$outboundSchema` instead. */ - export const outboundSchema = UiFormattedValue$outboundSchema; - /** @deprecated use `UiFormattedValue$Outbound` instead. */ - export type Outbound = UiFormattedValue$Outbound; -} - export function uiFormattedValueToJSON( uiFormattedValue: UiFormattedValue, ): string { @@ -18063,7 +13719,6 @@ export function uiFormattedValueToJSON( UiFormattedValue$outboundSchema.parse(uiFormattedValue), ); } - export function uiFormattedValueFromJSON( jsonString: string, ): SafeParseResult { @@ -18122,7 +13777,6 @@ export const Properties1$inboundSchema: z.ZodType< "ui:placeholder": "uiPlaceholder", }); }); - /** @internal */ export type Properties1$Outbound = { type: string; @@ -18191,23 +13845,9 @@ export const Properties1$outboundSchema: z.ZodType< }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Properties1$ { - /** @deprecated use `Properties1$inboundSchema` instead. */ - export const inboundSchema = Properties1$inboundSchema; - /** @deprecated use `Properties1$outboundSchema` instead. */ - export const outboundSchema = Properties1$outboundSchema; - /** @deprecated use `Properties1$Outbound` instead. */ - export type Outbound = Properties1$Outbound; -} - export function properties1ToJSON(properties1: Properties1): string { return JSON.stringify(Properties1$outboundSchema.parse(properties1)); } - export function properties1FromJSON( jsonString: string, ): SafeParseResult { @@ -18235,7 +13875,6 @@ export const Properties$inboundSchema: z.ZodType< z.lazy(() => Properties9$inboundSchema), z.lazy(() => Properties10$inboundSchema), ]); - /** @internal */ export type Properties$Outbound = | Properties4$Outbound @@ -18267,23 +13906,9 @@ export const Properties$outboundSchema: z.ZodType< z.lazy(() => Properties10$outboundSchema), ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Properties$ { - /** @deprecated use `Properties$inboundSchema` instead. */ - export const inboundSchema = Properties$inboundSchema; - /** @deprecated use `Properties$outboundSchema` instead. */ - export const outboundSchema = Properties$outboundSchema; - /** @deprecated use `Properties$Outbound` instead. */ - export type Outbound = Properties$Outbound; -} - export function propertiesToJSON(properties: Properties): string { return JSON.stringify(Properties$outboundSchema.parse(properties)); } - export function propertiesFromJSON( jsonString: string, ): SafeParseResult { @@ -18317,7 +13942,6 @@ export const MetadataSchema$inboundSchema: z.ZodType< ), required: z.array(z.string()).optional(), }); - /** @internal */ export type MetadataSchema$Outbound = { type: string; @@ -18361,23 +13985,9 @@ export const MetadataSchema$outboundSchema: z.ZodType< required: 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 MetadataSchema$ { - /** @deprecated use `MetadataSchema$inboundSchema` instead. */ - export const inboundSchema = MetadataSchema$inboundSchema; - /** @deprecated use `MetadataSchema$outboundSchema` instead. */ - export const outboundSchema = MetadataSchema$outboundSchema; - /** @deprecated use `MetadataSchema$Outbound` instead. */ - export type Outbound = MetadataSchema$Outbound; -} - export function metadataSchemaToJSON(metadataSchema: MetadataSchema): string { return JSON.stringify(MetadataSchema$outboundSchema.parse(metadataSchema)); } - export function metadataSchemaFromJSON( jsonString: string, ): SafeParseResult { @@ -18401,7 +14011,6 @@ export const Products$inboundSchema: z.ZodType< primaryProtocol: PrimaryProtocol$inboundSchema.optional(), metadataSchema: z.lazy(() => MetadataSchema$inboundSchema), }); - /** @internal */ export type Products$Outbound = { id: string; @@ -18426,23 +14035,9 @@ export const Products$outboundSchema: z.ZodType< metadataSchema: z.lazy(() => MetadataSchema$outboundSchema), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Products$ { - /** @deprecated use `Products$inboundSchema` instead. */ - export const inboundSchema = Products$inboundSchema; - /** @deprecated use `Products$outboundSchema` instead. */ - export const outboundSchema = Products$outboundSchema; - /** @deprecated use `Products$Outbound` instead. */ - export type Outbound = Products$Outbound; -} - export function productsToJSON(products: Products): string { return JSON.stringify(Products$outboundSchema.parse(products)); } - export function productsFromJSON( jsonString: string, ): SafeParseResult { @@ -18463,7 +14058,6 @@ export const Integration$inboundSchema: z.ZodType< slug: z.string(), name: z.string(), }); - /** @internal */ export type Integration$Outbound = { id: string; @@ -18482,23 +14076,9 @@ export const Integration$outboundSchema: z.ZodType< 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 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 { @@ -18517,7 +14097,6 @@ export const GetConfigurationProductsConfiguration$inboundSchema: z.ZodType< > = z.object({ id: z.string(), }); - /** @internal */ export type GetConfigurationProductsConfiguration$Outbound = { id: string; @@ -18532,21 +14111,6 @@ export const GetConfigurationProductsConfiguration$outboundSchema: z.ZodType< 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 GetConfigurationProductsConfiguration$ { - /** @deprecated use `GetConfigurationProductsConfiguration$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsConfiguration$inboundSchema; - /** @deprecated use `GetConfigurationProductsConfiguration$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsConfiguration$outboundSchema; - /** @deprecated use `GetConfigurationProductsConfiguration$Outbound` instead. */ - export type Outbound = GetConfigurationProductsConfiguration$Outbound; -} - export function getConfigurationProductsConfigurationToJSON( getConfigurationProductsConfiguration: GetConfigurationProductsConfiguration, ): string { @@ -18556,7 +14120,6 @@ export function getConfigurationProductsConfigurationToJSON( ), ); } - export function getConfigurationProductsConfigurationFromJSON( jsonString: string, ): SafeParseResult { @@ -18580,7 +14143,6 @@ export const GetConfigurationProductsResponseBody$inboundSchema: z.ZodType< GetConfigurationProductsConfiguration$inboundSchema ), }); - /** @internal */ export type GetConfigurationProductsResponseBody$Outbound = { products: Array; @@ -18601,21 +14163,6 @@ export const GetConfigurationProductsResponseBody$outboundSchema: z.ZodType< ), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetConfigurationProductsResponseBody$ { - /** @deprecated use `GetConfigurationProductsResponseBody$inboundSchema` instead. */ - export const inboundSchema = - GetConfigurationProductsResponseBody$inboundSchema; - /** @deprecated use `GetConfigurationProductsResponseBody$outboundSchema` instead. */ - export const outboundSchema = - GetConfigurationProductsResponseBody$outboundSchema; - /** @deprecated use `GetConfigurationProductsResponseBody$Outbound` instead. */ - export type Outbound = GetConfigurationProductsResponseBody$Outbound; -} - export function getConfigurationProductsResponseBodyToJSON( getConfigurationProductsResponseBody: GetConfigurationProductsResponseBody, ): string { @@ -18625,7 +14172,6 @@ export function getConfigurationProductsResponseBodyToJSON( ), ); } - export function getConfigurationProductsResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/getconfigurationsop.ts b/src/models/getconfigurationsop.ts index 3207e47fd..5a743943f 100644 --- a/src/models/getconfigurationsop.ts +++ b/src/models/getconfigurationsop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; @@ -38,11 +38,15 @@ export type GetConfigurationsRequest = { }; export const TagIds = { + TagAgents: "tag_agents", TagAi: "tag_ai", TagAnalytics: "tag_analytics", TagAuthentication: "tag_authentication", TagCms: "tag_cms", TagCodeRepository: "tag_code_repository", + TagCodeReview: "tag_code_review", + TagCodeSecurity: "tag_code_security", + TagCodeTesting: "tag_code_testing", TagCommerce: "tag_commerce", TagDatabases: "tag_databases", TagDevTools: "tag_dev_tools", @@ -57,8 +61,10 @@ export const TagIds = { TagProductivity: "tag_productivity", TagSearching: "tag_searching", TagSecurity: "tag_security", + TagSupportAgent: "tag_support_agent", TagTesting: "tag_testing", TagVideo: "tag_video", + TagWebAutomation: "tag_web_automation", TagWorkflow: "tag_workflow", } as const; export type TagIds = ClosedEnum; @@ -96,7 +102,7 @@ export type GetConfigurationsResponseBodyIntegrationsType = ClosedEnum< typeof GetConfigurationsResponseBodyIntegrationsType >; -export const ResponseBodyDisabledReason = { +export const GetConfigurationsResponseBodyIntegrationsDisabledReason = { DisabledByOwner: "disabled-by-owner", FeatureNotAvailable: "feature-not-available", DisabledByAdmin: "disabled-by-admin", @@ -104,9 +110,8 @@ export const ResponseBodyDisabledReason = { AccountPlanDowngrade: "account-plan-downgrade", OriginalOwnerRoleDowngraded: "original-owner-role-downgraded", } as const; -export type ResponseBodyDisabledReason = ClosedEnum< - typeof ResponseBodyDisabledReason ->; +export type GetConfigurationsResponseBodyIntegrationsDisabledReason = + ClosedEnum; /** * 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' @@ -185,7 +190,9 @@ export type GetConfigurationsResponseBody2 = { * 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; + disabledReason?: + | GetConfigurationsResponseBodyIntegrationsDisabledReason + | 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' */ @@ -216,7 +223,7 @@ export type GetConfigurationsResponseBodyType = ClosedEnum< typeof GetConfigurationsResponseBodyType >; -export const DisabledReason = { +export const GetConfigurationsResponseBodyDisabledReason = { DisabledByOwner: "disabled-by-owner", FeatureNotAvailable: "feature-not-available", DisabledByAdmin: "disabled-by-admin", @@ -224,7 +231,9 @@ export const DisabledReason = { AccountPlanDowngrade: "account-plan-downgrade", OriginalOwnerRoleDowngraded: "original-owner-role-downgraded", } as const; -export type DisabledReason = ClosedEnum; +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' @@ -305,7 +314,7 @@ export type GetConfigurationsResponseBody1 = { * 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?: DisabledReason | 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' */ @@ -323,43 +332,19 @@ export type GetConfigurationsResponseBody = 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, @@ -372,7 +357,6 @@ export const GetConfigurationsRequest$inboundSchema: z.ZodType< teamId: z.string().optional(), slug: z.string().optional(), }); - /** @internal */ export type GetConfigurationsRequest$Outbound = { view: string; @@ -395,19 +379,6 @@ export const GetConfigurationsRequest$outboundSchema: z.ZodType< 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 { @@ -415,7 +386,6 @@ export function getConfigurationsRequestToJSON( GetConfigurationsRequest$outboundSchema.parse(getConfigurationsRequest), ); } - export function getConfigurationsRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -429,22 +399,10 @@ export function getConfigurationsRequestFromJSON( /** @internal */ export const TagIds$inboundSchema: z.ZodNativeEnum = z .nativeEnum(TagIds); - /** @internal */ export const TagIds$outboundSchema: z.ZodNativeEnum = TagIds$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace TagIds$ { - /** @deprecated use `TagIds$inboundSchema` instead. */ - export const inboundSchema = TagIds$inboundSchema; - /** @deprecated use `TagIds$outboundSchema` instead. */ - export const outboundSchema = TagIds$outboundSchema; -} - /** @internal */ export const ResponseBodyIntegration$inboundSchema: z.ZodType< ResponseBodyIntegration, @@ -458,7 +416,6 @@ export const ResponseBodyIntegration$inboundSchema: z.ZodType< assignedBetaLabelAt: z.number().optional(), tagIds: z.array(TagIds$inboundSchema).optional(), }); - /** @internal */ export type ResponseBodyIntegration$Outbound = { name: string; @@ -483,19 +440,6 @@ export const ResponseBodyIntegration$outboundSchema: z.ZodType< tagIds: z.array(TagIds$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 ResponseBodyIntegration$ { - /** @deprecated use `ResponseBodyIntegration$inboundSchema` instead. */ - export const inboundSchema = ResponseBodyIntegration$inboundSchema; - /** @deprecated use `ResponseBodyIntegration$outboundSchema` instead. */ - export const outboundSchema = ResponseBodyIntegration$outboundSchema; - /** @deprecated use `ResponseBodyIntegration$Outbound` instead. */ - export type Outbound = ResponseBodyIntegration$Outbound; -} - export function responseBodyIntegrationToJSON( responseBodyIntegration: ResponseBodyIntegration, ): string { @@ -503,7 +447,6 @@ export function responseBodyIntegrationToJSON( ResponseBodyIntegration$outboundSchema.parse(responseBodyIntegration), ); } - export function responseBodyIntegrationFromJSON( jsonString: string, ): SafeParseResult { @@ -518,92 +461,40 @@ export function responseBodyIntegrationFromJSON( 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); - +export const GetConfigurationsResponseBodyIntegrationsDisabledReason$inboundSchema: + z.ZodNativeEnum< + typeof GetConfigurationsResponseBodyIntegrationsDisabledReason + > = z.nativeEnum(GetConfigurationsResponseBodyIntegrationsDisabledReason); /** @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; -} +export const GetConfigurationsResponseBodyIntegrationsDisabledReason$outboundSchema: + z.ZodNativeEnum< + typeof GetConfigurationsResponseBodyIntegrationsDisabledReason + > = GetConfigurationsResponseBodyIntegrationsDisabledReason$inboundSchema; /** @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 GetConfigurationsResponseBody2$inboundSchema: z.ZodType< GetConfigurationsResponseBody2, @@ -628,11 +519,12 @@ export const GetConfigurationsResponseBody2$inboundSchema: z.ZodType< disabledAt: z.number().optional(), deletedAt: z.nullable(z.number()).optional(), deleteRequestedAt: z.nullable(z.number()).optional(), - disabledReason: ResponseBodyDisabledReason$inboundSchema.optional(), + disabledReason: + GetConfigurationsResponseBodyIntegrationsDisabledReason$inboundSchema + .optional(), installationType: GetConfigurationsResponseBodyInstallationType$inboundSchema .optional(), }); - /** @internal */ export type GetConfigurationsResponseBody2$Outbound = { integration: ResponseBodyIntegration$Outbound; @@ -680,24 +572,13 @@ export const GetConfigurationsResponseBody2$outboundSchema: z.ZodType< disabledAt: z.number().optional(), deletedAt: z.nullable(z.number()).optional(), deleteRequestedAt: z.nullable(z.number()).optional(), - disabledReason: ResponseBodyDisabledReason$outboundSchema.optional(), + disabledReason: + GetConfigurationsResponseBodyIntegrationsDisabledReason$outboundSchema + .optional(), installationType: GetConfigurationsResponseBodyInstallationType$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 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 { @@ -707,7 +588,6 @@ export function getConfigurationsResponseBody2ToJSON( ), ); } - export function getConfigurationsResponseBody2FromJSON( jsonString: string, ): SafeParseResult { @@ -722,89 +602,38 @@ export function getConfigurationsResponseBody2FromJSON( 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 DisabledReason$inboundSchema: z.ZodNativeEnum< - typeof DisabledReason -> = z.nativeEnum(DisabledReason); - +export const GetConfigurationsResponseBodyDisabledReason$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(GetConfigurationsResponseBodyDisabledReason); /** @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; -} +export const GetConfigurationsResponseBodyDisabledReason$outboundSchema: + z.ZodNativeEnum = + GetConfigurationsResponseBodyDisabledReason$inboundSchema; /** @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 GetConfigurationsResponseBody1$inboundSchema: z.ZodType< GetConfigurationsResponseBody1, @@ -827,10 +656,10 @@ export const GetConfigurationsResponseBody1$inboundSchema: z.ZodType< disabledAt: z.number().optional(), deletedAt: z.nullable(z.number()).optional(), deleteRequestedAt: z.nullable(z.number()).optional(), - disabledReason: DisabledReason$inboundSchema.optional(), + disabledReason: GetConfigurationsResponseBodyDisabledReason$inboundSchema + .optional(), installationType: ResponseBodyInstallationType$inboundSchema.optional(), }); - /** @internal */ export type GetConfigurationsResponseBody1$Outbound = { completedAt?: number | undefined; @@ -875,23 +704,11 @@ export const GetConfigurationsResponseBody1$outboundSchema: z.ZodType< disabledAt: z.number().optional(), deletedAt: z.nullable(z.number()).optional(), deleteRequestedAt: z.nullable(z.number()).optional(), - disabledReason: DisabledReason$outboundSchema.optional(), + disabledReason: GetConfigurationsResponseBodyDisabledReason$outboundSchema + .optional(), installationType: ResponseBodyInstallationType$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 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 { @@ -901,7 +718,6 @@ export function getConfigurationsResponseBody1ToJSON( ), ); } - export function getConfigurationsResponseBody1FromJSON( jsonString: string, ): SafeParseResult { @@ -921,7 +737,6 @@ export const GetConfigurationsResponseBody$inboundSchema: z.ZodType< z.array(z.lazy(() => GetConfigurationsResponseBody1$inboundSchema)), z.array(z.lazy(() => GetConfigurationsResponseBody2$inboundSchema)), ]); - /** @internal */ export type GetConfigurationsResponseBody$Outbound = | Array @@ -937,19 +752,6 @@ export const GetConfigurationsResponseBody$outboundSchema: z.ZodType< 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 { @@ -959,7 +761,6 @@ export function getConfigurationsResponseBodyToJSON( ), ); } - export function getConfigurationsResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/getcontactinfoschemaop.ts b/src/models/getcontactinfoschemaop.ts new file mode 100644 index 000000000..8a970c8b0 --- /dev/null +++ b/src/models/getcontactinfoschemaop.ts @@ -0,0 +1,97 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { safeParse } from "../lib/schemas.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type GetContactInfoSchemaRequest = { + domain: string; + teamId?: string | undefined; +}; + +/** + * Success + */ +export type GetContactInfoSchemaResponseBody = {}; + +/** @internal */ +export const GetContactInfoSchemaRequest$inboundSchema: z.ZodType< + GetContactInfoSchemaRequest, + z.ZodTypeDef, + unknown +> = z.object({ + domain: z.string(), + teamId: z.string().optional(), +}); +/** @internal */ +export type GetContactInfoSchemaRequest$Outbound = { + domain: string; + teamId?: string | undefined; +}; + +/** @internal */ +export const GetContactInfoSchemaRequest$outboundSchema: z.ZodType< + GetContactInfoSchemaRequest$Outbound, + z.ZodTypeDef, + GetContactInfoSchemaRequest +> = z.object({ + domain: z.string(), + teamId: z.string().optional(), +}); + +export function getContactInfoSchemaRequestToJSON( + getContactInfoSchemaRequest: GetContactInfoSchemaRequest, +): string { + return JSON.stringify( + GetContactInfoSchemaRequest$outboundSchema.parse( + getContactInfoSchemaRequest, + ), + ); +} +export function getContactInfoSchemaRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetContactInfoSchemaRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetContactInfoSchemaRequest' from JSON`, + ); +} + +/** @internal */ +export const GetContactInfoSchemaResponseBody$inboundSchema: z.ZodType< + GetContactInfoSchemaResponseBody, + z.ZodTypeDef, + unknown +> = z.object({}); +/** @internal */ +export type GetContactInfoSchemaResponseBody$Outbound = {}; + +/** @internal */ +export const GetContactInfoSchemaResponseBody$outboundSchema: z.ZodType< + GetContactInfoSchemaResponseBody$Outbound, + z.ZodTypeDef, + GetContactInfoSchemaResponseBody +> = z.object({}); + +export function getContactInfoSchemaResponseBodyToJSON( + getContactInfoSchemaResponseBody: GetContactInfoSchemaResponseBody, +): string { + return JSON.stringify( + GetContactInfoSchemaResponseBody$outboundSchema.parse( + getContactInfoSchemaResponseBody, + ), + ); +} +export function getContactInfoSchemaResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetContactInfoSchemaResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetContactInfoSchemaResponseBody' from JSON`, + ); +} diff --git a/src/models/getcustomenvironmentop.ts b/src/models/getcustomenvironmentop.ts index b03d5bb89..55275d04e 100644 --- a/src/models/getcustomenvironmentop.ts +++ b/src/models/getcustomenvironmentop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; @@ -157,7 +157,6 @@ export const GetCustomEnvironmentRequest$inboundSchema: z.ZodType< teamId: z.string().optional(), slug: z.string().optional(), }); - /** @internal */ export type GetCustomEnvironmentRequest$Outbound = { idOrName: string; @@ -178,19 +177,6 @@ export const GetCustomEnvironmentRequest$outboundSchema: z.ZodType< 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 GetCustomEnvironmentRequest$ { - /** @deprecated use `GetCustomEnvironmentRequest$inboundSchema` instead. */ - export const inboundSchema = GetCustomEnvironmentRequest$inboundSchema; - /** @deprecated use `GetCustomEnvironmentRequest$outboundSchema` instead. */ - export const outboundSchema = GetCustomEnvironmentRequest$outboundSchema; - /** @deprecated use `GetCustomEnvironmentRequest$Outbound` instead. */ - export type Outbound = GetCustomEnvironmentRequest$Outbound; -} - export function getCustomEnvironmentRequestToJSON( getCustomEnvironmentRequest: GetCustomEnvironmentRequest, ): string { @@ -200,7 +186,6 @@ export function getCustomEnvironmentRequestToJSON( ), ); } - export function getCustomEnvironmentRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -215,46 +200,20 @@ export function getCustomEnvironmentRequestFromJSON( export const GetCustomEnvironmentType$inboundSchema: z.ZodNativeEnum< typeof GetCustomEnvironmentType > = z.nativeEnum(GetCustomEnvironmentType); - /** @internal */ export const GetCustomEnvironmentType$outboundSchema: z.ZodNativeEnum< typeof GetCustomEnvironmentType > = GetCustomEnvironmentType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetCustomEnvironmentType$ { - /** @deprecated use `GetCustomEnvironmentType$inboundSchema` instead. */ - export const inboundSchema = GetCustomEnvironmentType$inboundSchema; - /** @deprecated use `GetCustomEnvironmentType$outboundSchema` instead. */ - export const outboundSchema = GetCustomEnvironmentType$outboundSchema; -} - /** @internal */ export const GetCustomEnvironmentEnvironmentType$inboundSchema: z.ZodNativeEnum< typeof GetCustomEnvironmentEnvironmentType > = z.nativeEnum(GetCustomEnvironmentEnvironmentType); - /** @internal */ export const GetCustomEnvironmentEnvironmentType$outboundSchema: z.ZodNativeEnum = GetCustomEnvironmentEnvironmentType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetCustomEnvironmentEnvironmentType$ { - /** @deprecated use `GetCustomEnvironmentEnvironmentType$inboundSchema` instead. */ - export const inboundSchema = - GetCustomEnvironmentEnvironmentType$inboundSchema; - /** @deprecated use `GetCustomEnvironmentEnvironmentType$outboundSchema` instead. */ - export const outboundSchema = - GetCustomEnvironmentEnvironmentType$outboundSchema; -} - /** @internal */ export const GetCustomEnvironmentBranchMatcher$inboundSchema: z.ZodType< GetCustomEnvironmentBranchMatcher, @@ -264,7 +223,6 @@ export const GetCustomEnvironmentBranchMatcher$inboundSchema: z.ZodType< type: GetCustomEnvironmentEnvironmentType$inboundSchema, pattern: z.string(), }); - /** @internal */ export type GetCustomEnvironmentBranchMatcher$Outbound = { type: string; @@ -281,20 +239,6 @@ export const GetCustomEnvironmentBranchMatcher$outboundSchema: z.ZodType< 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 GetCustomEnvironmentBranchMatcher$ { - /** @deprecated use `GetCustomEnvironmentBranchMatcher$inboundSchema` instead. */ - export const inboundSchema = GetCustomEnvironmentBranchMatcher$inboundSchema; - /** @deprecated use `GetCustomEnvironmentBranchMatcher$outboundSchema` instead. */ - export const outboundSchema = - GetCustomEnvironmentBranchMatcher$outboundSchema; - /** @deprecated use `GetCustomEnvironmentBranchMatcher$Outbound` instead. */ - export type Outbound = GetCustomEnvironmentBranchMatcher$Outbound; -} - export function getCustomEnvironmentBranchMatcherToJSON( getCustomEnvironmentBranchMatcher: GetCustomEnvironmentBranchMatcher, ): string { @@ -304,7 +248,6 @@ export function getCustomEnvironmentBranchMatcherToJSON( ), ); } - export function getCustomEnvironmentBranchMatcherFromJSON( jsonString: string, ): SafeParseResult { @@ -326,7 +269,6 @@ export const GetCustomEnvironmentVerification$inboundSchema: z.ZodType< value: z.string(), reason: z.string(), }); - /** @internal */ export type GetCustomEnvironmentVerification$Outbound = { type: string; @@ -347,19 +289,6 @@ export const GetCustomEnvironmentVerification$outboundSchema: z.ZodType< 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 GetCustomEnvironmentVerification$ { - /** @deprecated use `GetCustomEnvironmentVerification$inboundSchema` instead. */ - export const inboundSchema = GetCustomEnvironmentVerification$inboundSchema; - /** @deprecated use `GetCustomEnvironmentVerification$outboundSchema` instead. */ - export const outboundSchema = GetCustomEnvironmentVerification$outboundSchema; - /** @deprecated use `GetCustomEnvironmentVerification$Outbound` instead. */ - export type Outbound = GetCustomEnvironmentVerification$Outbound; -} - export function getCustomEnvironmentVerificationToJSON( getCustomEnvironmentVerification: GetCustomEnvironmentVerification, ): string { @@ -369,7 +298,6 @@ export function getCustomEnvironmentVerificationToJSON( ), ); } - export function getCustomEnvironmentVerificationFromJSON( jsonString: string, ): SafeParseResult { @@ -400,7 +328,6 @@ export const GetCustomEnvironmentDomains$inboundSchema: z.ZodType< z.lazy(() => GetCustomEnvironmentVerification$inboundSchema), ).optional(), }); - /** @internal */ export type GetCustomEnvironmentDomains$Outbound = { name: string; @@ -437,19 +364,6 @@ export const GetCustomEnvironmentDomains$outboundSchema: z.ZodType< ).optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetCustomEnvironmentDomains$ { - /** @deprecated use `GetCustomEnvironmentDomains$inboundSchema` instead. */ - export const inboundSchema = GetCustomEnvironmentDomains$inboundSchema; - /** @deprecated use `GetCustomEnvironmentDomains$outboundSchema` instead. */ - export const outboundSchema = GetCustomEnvironmentDomains$outboundSchema; - /** @deprecated use `GetCustomEnvironmentDomains$Outbound` instead. */ - export type Outbound = GetCustomEnvironmentDomains$Outbound; -} - export function getCustomEnvironmentDomainsToJSON( getCustomEnvironmentDomains: GetCustomEnvironmentDomains, ): string { @@ -459,7 +373,6 @@ export function getCustomEnvironmentDomainsToJSON( ), ); } - export function getCustomEnvironmentDomainsFromJSON( jsonString: string, ): SafeParseResult { @@ -488,7 +401,6 @@ export const GetCustomEnvironmentResponseBody$inboundSchema: z.ZodType< createdAt: z.number(), updatedAt: z.number(), }); - /** @internal */ export type GetCustomEnvironmentResponseBody$Outbound = { id: string; @@ -521,19 +433,6 @@ export const GetCustomEnvironmentResponseBody$outboundSchema: z.ZodType< 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 GetCustomEnvironmentResponseBody$ { - /** @deprecated use `GetCustomEnvironmentResponseBody$inboundSchema` instead. */ - export const inboundSchema = GetCustomEnvironmentResponseBody$inboundSchema; - /** @deprecated use `GetCustomEnvironmentResponseBody$outboundSchema` instead. */ - export const outboundSchema = GetCustomEnvironmentResponseBody$outboundSchema; - /** @deprecated use `GetCustomEnvironmentResponseBody$Outbound` instead. */ - export type Outbound = GetCustomEnvironmentResponseBody$Outbound; -} - export function getCustomEnvironmentResponseBodyToJSON( getCustomEnvironmentResponseBody: GetCustomEnvironmentResponseBody, ): string { @@ -543,7 +442,6 @@ export function getCustomEnvironmentResponseBodyToJSON( ), ); } - export function getCustomEnvironmentResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/getdeploymenteventsop.ts b/src/models/getdeploymenteventsop.ts index 4bca02ef0..3357fd542 100644 --- a/src/models/getdeploymenteventsop.ts +++ b/src/models/getdeploymenteventsop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; @@ -354,29 +354,16 @@ export type GetDeploymentEventsResponse = /** @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; @@ -387,23 +374,9 @@ export const StatusCode$outboundSchema: z.ZodType< 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 { @@ -433,7 +406,6 @@ export const GetDeploymentEventsRequest$inboundSchema: z.ZodType< teamId: z.string().optional(), slug: z.string().optional(), }); - /** @internal */ export type GetDeploymentEventsRequest$Outbound = { idOrUrl: string; @@ -470,19 +442,6 @@ export const GetDeploymentEventsRequest$outboundSchema: z.ZodType< 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 { @@ -490,7 +449,6 @@ export function getDeploymentEventsRequestToJSON( GetDeploymentEventsRequest$outboundSchema.parse(getDeploymentEventsRequest), ); } - export function getDeploymentEventsRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -514,7 +472,6 @@ export const ResponseBodyInfo$inboundSchema: z.ZodType< step: z.string().optional(), readyState: z.string().optional(), }); - /** @internal */ export type ResponseBodyInfo$Outbound = { type: string; @@ -539,19 +496,6 @@ export const ResponseBodyInfo$outboundSchema: z.ZodType< readyState: z.string().optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ResponseBodyInfo$ { - /** @deprecated use `ResponseBodyInfo$inboundSchema` instead. */ - export const inboundSchema = ResponseBodyInfo$inboundSchema; - /** @deprecated use `ResponseBodyInfo$outboundSchema` instead. */ - export const outboundSchema = ResponseBodyInfo$outboundSchema; - /** @deprecated use `ResponseBodyInfo$Outbound` instead. */ - export type Outbound = ResponseBodyInfo$Outbound; -} - export function responseBodyInfoToJSON( responseBodyInfo: ResponseBodyInfo, ): string { @@ -559,7 +503,6 @@ export function responseBodyInfoToJSON( ResponseBodyInfo$outboundSchema.parse(responseBodyInfo), ); } - export function responseBodyInfoFromJSON( jsonString: string, ): SafeParseResult { @@ -575,47 +518,21 @@ export const GetDeploymentEventsResponseBodyDeploymentsResponseType$inboundSchem z.ZodNativeEnum< typeof GetDeploymentEventsResponseBodyDeploymentsResponseType > = z.nativeEnum(GetDeploymentEventsResponseBodyDeploymentsResponseType); - /** @internal */ export const GetDeploymentEventsResponseBodyDeploymentsResponseType$outboundSchema: z.ZodNativeEnum< typeof GetDeploymentEventsResponseBodyDeploymentsResponseType > = GetDeploymentEventsResponseBodyDeploymentsResponseType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentEventsResponseBodyDeploymentsResponseType$ { - /** @deprecated use `GetDeploymentEventsResponseBodyDeploymentsResponseType$inboundSchema` instead. */ - export const inboundSchema = - GetDeploymentEventsResponseBodyDeploymentsResponseType$inboundSchema; - /** @deprecated use `GetDeploymentEventsResponseBodyDeploymentsResponseType$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentEventsResponseBodyDeploymentsResponseType$outboundSchema; -} - /** @internal */ export const ResponseBodyLevel$inboundSchema: z.ZodNativeEnum< typeof ResponseBodyLevel > = z.nativeEnum(ResponseBodyLevel); - /** @internal */ export const ResponseBodyLevel$outboundSchema: z.ZodNativeEnum< typeof ResponseBodyLevel > = ResponseBodyLevel$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ResponseBodyLevel$ { - /** @deprecated use `ResponseBodyLevel$inboundSchema` instead. */ - export const inboundSchema = ResponseBodyLevel$inboundSchema; - /** @deprecated use `ResponseBodyLevel$outboundSchema` instead. */ - export const outboundSchema = ResponseBodyLevel$outboundSchema; -} - /** @internal */ export const GetDeploymentEventsResponseBodyDeployments2$inboundSchema: z.ZodType< @@ -633,7 +550,6 @@ export const GetDeploymentEventsResponseBodyDeployments2$inboundSchema: type: GetDeploymentEventsResponseBodyDeploymentsResponseType$inboundSchema, level: ResponseBodyLevel$inboundSchema.optional(), }); - /** @internal */ export type GetDeploymentEventsResponseBodyDeployments2$Outbound = { created: number; @@ -665,21 +581,6 @@ export const GetDeploymentEventsResponseBodyDeployments2$outboundSchema: level: ResponseBodyLevel$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 GetDeploymentEventsResponseBodyDeployments2$ { - /** @deprecated use `GetDeploymentEventsResponseBodyDeployments2$inboundSchema` instead. */ - export const inboundSchema = - GetDeploymentEventsResponseBodyDeployments2$inboundSchema; - /** @deprecated use `GetDeploymentEventsResponseBodyDeployments2$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentEventsResponseBodyDeployments2$outboundSchema; - /** @deprecated use `GetDeploymentEventsResponseBodyDeployments2$Outbound` instead. */ - export type Outbound = GetDeploymentEventsResponseBodyDeployments2$Outbound; -} - export function getDeploymentEventsResponseBodyDeployments2ToJSON( getDeploymentEventsResponseBodyDeployments2: GetDeploymentEventsResponseBodyDeployments2, @@ -690,7 +591,6 @@ export function getDeploymentEventsResponseBodyDeployments2ToJSON( ), ); } - export function getDeploymentEventsResponseBodyDeployments2FromJSON( jsonString: string, ): SafeParseResult< @@ -711,25 +611,11 @@ export function getDeploymentEventsResponseBodyDeployments2FromJSON( export const GetDeploymentEventsResponseBodyDeploymentsType$inboundSchema: z.ZodNativeEnum = z .nativeEnum(GetDeploymentEventsResponseBodyDeploymentsType); - /** @internal */ export const GetDeploymentEventsResponseBodyDeploymentsType$outboundSchema: z.ZodNativeEnum = GetDeploymentEventsResponseBodyDeploymentsType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentEventsResponseBodyDeploymentsType$ { - /** @deprecated use `GetDeploymentEventsResponseBodyDeploymentsType$inboundSchema` instead. */ - export const inboundSchema = - GetDeploymentEventsResponseBodyDeploymentsType$inboundSchema; - /** @deprecated use `GetDeploymentEventsResponseBodyDeploymentsType$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentEventsResponseBodyDeploymentsType$outboundSchema; -} - /** @internal */ export const GetDeploymentEventsResponseBodyInfo$inboundSchema: z.ZodType< GetDeploymentEventsResponseBodyInfo, @@ -743,7 +629,6 @@ export const GetDeploymentEventsResponseBodyInfo$inboundSchema: z.ZodType< step: z.string().optional(), readyState: z.string().optional(), }); - /** @internal */ export type GetDeploymentEventsResponseBodyInfo$Outbound = { type: string; @@ -768,21 +653,6 @@ export const GetDeploymentEventsResponseBodyInfo$outboundSchema: z.ZodType< readyState: z.string().optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentEventsResponseBodyInfo$ { - /** @deprecated use `GetDeploymentEventsResponseBodyInfo$inboundSchema` instead. */ - export const inboundSchema = - GetDeploymentEventsResponseBodyInfo$inboundSchema; - /** @deprecated use `GetDeploymentEventsResponseBodyInfo$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentEventsResponseBodyInfo$outboundSchema; - /** @deprecated use `GetDeploymentEventsResponseBodyInfo$Outbound` instead. */ - export type Outbound = GetDeploymentEventsResponseBodyInfo$Outbound; -} - export function getDeploymentEventsResponseBodyInfoToJSON( getDeploymentEventsResponseBodyInfo: GetDeploymentEventsResponseBodyInfo, ): string { @@ -792,7 +662,6 @@ export function getDeploymentEventsResponseBodyInfoToJSON( ), ); } - export function getDeploymentEventsResponseBodyInfoFromJSON( jsonString: string, ): SafeParseResult { @@ -808,44 +677,20 @@ export function getDeploymentEventsResponseBodyInfoFromJSON( export const ResponseBodyVercelCache$inboundSchema: z.ZodNativeEnum< typeof ResponseBodyVercelCache > = z.nativeEnum(ResponseBodyVercelCache); - /** @internal */ export const ResponseBodyVercelCache$outboundSchema: z.ZodNativeEnum< typeof ResponseBodyVercelCache > = ResponseBodyVercelCache$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ResponseBodyVercelCache$ { - /** @deprecated use `ResponseBodyVercelCache$inboundSchema` instead. */ - export const inboundSchema = ResponseBodyVercelCache$inboundSchema; - /** @deprecated use `ResponseBodyVercelCache$outboundSchema` instead. */ - export const outboundSchema = ResponseBodyVercelCache$outboundSchema; -} - /** @internal */ export const ResponseBodyWafAction$inboundSchema: z.ZodNativeEnum< typeof ResponseBodyWafAction > = z.nativeEnum(ResponseBodyWafAction); - /** @internal */ export const ResponseBodyWafAction$outboundSchema: z.ZodNativeEnum< typeof ResponseBodyWafAction > = ResponseBodyWafAction$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ResponseBodyWafAction$ { - /** @deprecated use `ResponseBodyWafAction$inboundSchema` instead. */ - export const inboundSchema = ResponseBodyWafAction$inboundSchema; - /** @deprecated use `ResponseBodyWafAction$outboundSchema` instead. */ - export const outboundSchema = ResponseBodyWafAction$outboundSchema; -} - /** @internal */ export const ResponseBodyProxy$inboundSchema: z.ZodType< ResponseBodyProxy, @@ -872,7 +717,6 @@ export const ResponseBodyProxy$inboundSchema: z.ZodType< wafAction: ResponseBodyWafAction$inboundSchema.optional(), wafRuleId: z.string().optional(), }); - /** @internal */ export type ResponseBodyProxy$Outbound = { timestamp: number; @@ -923,19 +767,6 @@ export const ResponseBodyProxy$outboundSchema: z.ZodType< wafRuleId: z.string().optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ResponseBodyProxy$ { - /** @deprecated use `ResponseBodyProxy$inboundSchema` instead. */ - export const inboundSchema = ResponseBodyProxy$inboundSchema; - /** @deprecated use `ResponseBodyProxy$outboundSchema` instead. */ - export const outboundSchema = ResponseBodyProxy$outboundSchema; - /** @deprecated use `ResponseBodyProxy$Outbound` instead. */ - export type Outbound = ResponseBodyProxy$Outbound; -} - export function responseBodyProxyToJSON( responseBodyProxy: ResponseBodyProxy, ): string { @@ -943,7 +774,6 @@ export function responseBodyProxyToJSON( ResponseBodyProxy$outboundSchema.parse(responseBodyProxy), ); } - export function responseBodyProxyFromJSON( jsonString: string, ): SafeParseResult { @@ -972,7 +802,6 @@ export const ResponseBodyPayload$inboundSchema: z.ZodType< requestId: z.string().optional(), proxy: z.lazy(() => ResponseBodyProxy$inboundSchema).optional(), }); - /** @internal */ export type ResponseBodyPayload$Outbound = { deploymentId: string; @@ -1006,19 +835,6 @@ export const ResponseBodyPayload$outboundSchema: z.ZodType< proxy: z.lazy(() => ResponseBodyProxy$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 ResponseBodyPayload$ { - /** @deprecated use `ResponseBodyPayload$inboundSchema` instead. */ - export const inboundSchema = ResponseBodyPayload$inboundSchema; - /** @deprecated use `ResponseBodyPayload$outboundSchema` instead. */ - export const outboundSchema = ResponseBodyPayload$outboundSchema; - /** @deprecated use `ResponseBodyPayload$Outbound` instead. */ - export type Outbound = ResponseBodyPayload$Outbound; -} - export function responseBodyPayloadToJSON( responseBodyPayload: ResponseBodyPayload, ): string { @@ -1026,7 +842,6 @@ export function responseBodyPayloadToJSON( ResponseBodyPayload$outboundSchema.parse(responseBodyPayload), ); } - export function responseBodyPayloadFromJSON( jsonString: string, ): SafeParseResult { @@ -1048,7 +863,6 @@ export const GetDeploymentEventsResponseBodyDeployments1$inboundSchema: created: z.number(), payload: z.lazy(() => ResponseBodyPayload$inboundSchema), }); - /** @internal */ export type GetDeploymentEventsResponseBodyDeployments1$Outbound = { type: string; @@ -1068,21 +882,6 @@ export const GetDeploymentEventsResponseBodyDeployments1$outboundSchema: payload: z.lazy(() => ResponseBodyPayload$outboundSchema), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentEventsResponseBodyDeployments1$ { - /** @deprecated use `GetDeploymentEventsResponseBodyDeployments1$inboundSchema` instead. */ - export const inboundSchema = - GetDeploymentEventsResponseBodyDeployments1$inboundSchema; - /** @deprecated use `GetDeploymentEventsResponseBodyDeployments1$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentEventsResponseBodyDeployments1$outboundSchema; - /** @deprecated use `GetDeploymentEventsResponseBodyDeployments1$Outbound` instead. */ - export type Outbound = GetDeploymentEventsResponseBodyDeployments1$Outbound; -} - export function getDeploymentEventsResponseBodyDeployments1ToJSON( getDeploymentEventsResponseBodyDeployments1: GetDeploymentEventsResponseBodyDeployments1, @@ -1093,7 +892,6 @@ export function getDeploymentEventsResponseBodyDeployments1ToJSON( ), ); } - export function getDeploymentEventsResponseBodyDeployments1FromJSON( jsonString: string, ): SafeParseResult< @@ -1119,7 +917,6 @@ export const GetDeploymentEventsResponseBody$inboundSchema: z.ZodType< z.lazy(() => GetDeploymentEventsResponseBodyDeployments2$inboundSchema), z.lazy(() => GetDeploymentEventsResponseBodyDeployments1$inboundSchema), ]); - /** @internal */ export type GetDeploymentEventsResponseBody$Outbound = | GetDeploymentEventsResponseBodyDeployments2$Outbound @@ -1135,19 +932,6 @@ export const GetDeploymentEventsResponseBody$outboundSchema: z.ZodType< z.lazy(() => GetDeploymentEventsResponseBodyDeployments1$outboundSchema), ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentEventsResponseBody$ { - /** @deprecated use `GetDeploymentEventsResponseBody$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentEventsResponseBody$inboundSchema; - /** @deprecated use `GetDeploymentEventsResponseBody$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentEventsResponseBody$outboundSchema; - /** @deprecated use `GetDeploymentEventsResponseBody$Outbound` instead. */ - export type Outbound = GetDeploymentEventsResponseBody$Outbound; -} - export function getDeploymentEventsResponseBodyToJSON( getDeploymentEventsResponseBody: GetDeploymentEventsResponseBody, ): string { @@ -1157,7 +941,6 @@ export function getDeploymentEventsResponseBodyToJSON( ), ); } - export function getDeploymentEventsResponseBodyFromJSON( jsonString: string, ): SafeParseResult { @@ -1178,7 +961,6 @@ export const Info$inboundSchema: z.ZodType = z step: z.string().optional(), readyState: z.string().optional(), }); - /** @internal */ export type Info$Outbound = { type: string; @@ -1200,23 +982,9 @@ export const Info$outboundSchema: z.ZodType = readyState: z.string().optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Info$ { - /** @deprecated use `Info$inboundSchema` instead. */ - export const inboundSchema = Info$inboundSchema; - /** @deprecated use `Info$outboundSchema` instead. */ - export const outboundSchema = Info$outboundSchema; - /** @deprecated use `Info$Outbound` instead. */ - export type Outbound = Info$Outbound; -} - export function infoToJSON(info: Info): string { return JSON.stringify(Info$outboundSchema.parse(info)); } - export function infoFromJSON( jsonString: string, ): SafeParseResult { @@ -1231,49 +999,21 @@ export function infoFromJSON( export const GetDeploymentEventsResponseBodyType$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentEventsResponseBodyType > = z.nativeEnum(GetDeploymentEventsResponseBodyType); - /** @internal */ export const GetDeploymentEventsResponseBodyType$outboundSchema: z.ZodNativeEnum = GetDeploymentEventsResponseBodyType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentEventsResponseBodyType$ { - /** @deprecated use `GetDeploymentEventsResponseBodyType$inboundSchema` instead. */ - export const inboundSchema = - GetDeploymentEventsResponseBodyType$inboundSchema; - /** @deprecated use `GetDeploymentEventsResponseBodyType$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentEventsResponseBodyType$outboundSchema; -} - /** @internal */ export const GetDeploymentEventsResponseBodyLevel$inboundSchema: z.ZodNativeEnum = z.nativeEnum( GetDeploymentEventsResponseBodyLevel, ); - /** @internal */ export const GetDeploymentEventsResponseBodyLevel$outboundSchema: z.ZodNativeEnum = GetDeploymentEventsResponseBodyLevel$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentEventsResponseBodyLevel$ { - /** @deprecated use `GetDeploymentEventsResponseBodyLevel$inboundSchema` instead. */ - export const inboundSchema = - GetDeploymentEventsResponseBodyLevel$inboundSchema; - /** @deprecated use `GetDeploymentEventsResponseBodyLevel$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentEventsResponseBodyLevel$outboundSchema; -} - /** @internal */ export const GetDeploymentEventsResponseBody2$inboundSchema: z.ZodType< GetDeploymentEventsResponseBody2, @@ -1290,7 +1030,6 @@ export const GetDeploymentEventsResponseBody2$inboundSchema: z.ZodType< type: GetDeploymentEventsResponseBodyType$inboundSchema, level: GetDeploymentEventsResponseBodyLevel$inboundSchema.optional(), }); - /** @internal */ export type GetDeploymentEventsResponseBody2$Outbound = { created: number; @@ -1321,19 +1060,6 @@ export const GetDeploymentEventsResponseBody2$outboundSchema: z.ZodType< level: GetDeploymentEventsResponseBodyLevel$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 GetDeploymentEventsResponseBody2$ { - /** @deprecated use `GetDeploymentEventsResponseBody2$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentEventsResponseBody2$inboundSchema; - /** @deprecated use `GetDeploymentEventsResponseBody2$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentEventsResponseBody2$outboundSchema; - /** @deprecated use `GetDeploymentEventsResponseBody2$Outbound` instead. */ - export type Outbound = GetDeploymentEventsResponseBody2$Outbound; -} - export function getDeploymentEventsResponseBody2ToJSON( getDeploymentEventsResponseBody2: GetDeploymentEventsResponseBody2, ): string { @@ -1343,7 +1069,6 @@ export function getDeploymentEventsResponseBody2ToJSON( ), ); } - export function getDeploymentEventsResponseBody2FromJSON( jsonString: string, ): SafeParseResult { @@ -1358,23 +1083,11 @@ export function getDeploymentEventsResponseBody2FromJSON( 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 GetDeploymentEventsResponseBodyDeploymentsInfo$inboundSchema: z.ZodType< @@ -1389,7 +1102,6 @@ export const GetDeploymentEventsResponseBodyDeploymentsInfo$inboundSchema: step: z.string().optional(), readyState: z.string().optional(), }); - /** @internal */ export type GetDeploymentEventsResponseBodyDeploymentsInfo$Outbound = { type: string; @@ -1415,22 +1127,6 @@ export const GetDeploymentEventsResponseBodyDeploymentsInfo$outboundSchema: readyState: z.string().optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentEventsResponseBodyDeploymentsInfo$ { - /** @deprecated use `GetDeploymentEventsResponseBodyDeploymentsInfo$inboundSchema` instead. */ - export const inboundSchema = - GetDeploymentEventsResponseBodyDeploymentsInfo$inboundSchema; - /** @deprecated use `GetDeploymentEventsResponseBodyDeploymentsInfo$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentEventsResponseBodyDeploymentsInfo$outboundSchema; - /** @deprecated use `GetDeploymentEventsResponseBodyDeploymentsInfo$Outbound` instead. */ - export type Outbound = - GetDeploymentEventsResponseBodyDeploymentsInfo$Outbound; -} - export function getDeploymentEventsResponseBodyDeploymentsInfoToJSON( getDeploymentEventsResponseBodyDeploymentsInfo: GetDeploymentEventsResponseBodyDeploymentsInfo, @@ -1441,7 +1137,6 @@ export function getDeploymentEventsResponseBodyDeploymentsInfoToJSON( ), ); } - export function getDeploymentEventsResponseBodyDeploymentsInfoFromJSON( jsonString: string, ): SafeParseResult< @@ -1461,41 +1156,17 @@ export function getDeploymentEventsResponseBodyDeploymentsInfoFromJSON( /** @internal */ export const VercelCache$inboundSchema: z.ZodNativeEnum = z .nativeEnum(VercelCache); - /** @internal */ export const VercelCache$outboundSchema: z.ZodNativeEnum = VercelCache$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace VercelCache$ { - /** @deprecated use `VercelCache$inboundSchema` instead. */ - export const inboundSchema = VercelCache$inboundSchema; - /** @deprecated use `VercelCache$outboundSchema` instead. */ - export const outboundSchema = VercelCache$outboundSchema; -} - /** @internal */ export const WafAction$inboundSchema: z.ZodNativeEnum = z .nativeEnum(WafAction); - /** @internal */ export const WafAction$outboundSchema: z.ZodNativeEnum = WafAction$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace WafAction$ { - /** @deprecated use `WafAction$inboundSchema` instead. */ - export const inboundSchema = WafAction$inboundSchema; - /** @deprecated use `WafAction$outboundSchema` instead. */ - export const outboundSchema = WafAction$outboundSchema; -} - /** @internal */ export const Proxy$inboundSchema: z.ZodType = z .object({ @@ -1519,7 +1190,6 @@ export const Proxy$inboundSchema: z.ZodType = z wafAction: WafAction$inboundSchema.optional(), wafRuleId: z.string().optional(), }); - /** @internal */ export type Proxy$Outbound = { timestamp: number; @@ -1570,23 +1240,9 @@ export const Proxy$outboundSchema: z.ZodType< wafRuleId: z.string().optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Proxy$ { - /** @deprecated use `Proxy$inboundSchema` instead. */ - export const inboundSchema = Proxy$inboundSchema; - /** @deprecated use `Proxy$outboundSchema` instead. */ - export const outboundSchema = Proxy$outboundSchema; - /** @deprecated use `Proxy$Outbound` instead. */ - export type Outbound = Proxy$Outbound; -} - export function proxyToJSON(proxy: Proxy): string { return JSON.stringify(Proxy$outboundSchema.parse(proxy)); } - export function proxyFromJSON( jsonString: string, ): SafeParseResult { @@ -1616,7 +1272,6 @@ export const GetDeploymentEventsResponseBodyPayload$inboundSchema: z.ZodType< requestId: z.string().optional(), proxy: z.lazy(() => Proxy$inboundSchema).optional(), }); - /** @internal */ export type GetDeploymentEventsResponseBodyPayload$Outbound = { deploymentId: string; @@ -1651,21 +1306,6 @@ export const GetDeploymentEventsResponseBodyPayload$outboundSchema: z.ZodType< proxy: z.lazy(() => Proxy$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 GetDeploymentEventsResponseBodyPayload$ { - /** @deprecated use `GetDeploymentEventsResponseBodyPayload$inboundSchema` instead. */ - export const inboundSchema = - GetDeploymentEventsResponseBodyPayload$inboundSchema; - /** @deprecated use `GetDeploymentEventsResponseBodyPayload$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentEventsResponseBodyPayload$outboundSchema; - /** @deprecated use `GetDeploymentEventsResponseBodyPayload$Outbound` instead. */ - export type Outbound = GetDeploymentEventsResponseBodyPayload$Outbound; -} - export function getDeploymentEventsResponseBodyPayloadToJSON( getDeploymentEventsResponseBodyPayload: GetDeploymentEventsResponseBodyPayload, @@ -1676,7 +1316,6 @@ export function getDeploymentEventsResponseBodyPayloadToJSON( ), ); } - export function getDeploymentEventsResponseBodyPayloadFromJSON( jsonString: string, ): SafeParseResult { @@ -1698,7 +1337,6 @@ export const GetDeploymentEventsResponseBody1$inboundSchema: z.ZodType< created: z.number(), payload: z.lazy(() => GetDeploymentEventsResponseBodyPayload$inboundSchema), }); - /** @internal */ export type GetDeploymentEventsResponseBody1$Outbound = { type: string; @@ -1717,19 +1355,6 @@ export const GetDeploymentEventsResponseBody1$outboundSchema: z.ZodType< payload: z.lazy(() => GetDeploymentEventsResponseBodyPayload$outboundSchema), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentEventsResponseBody1$ { - /** @deprecated use `GetDeploymentEventsResponseBody1$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentEventsResponseBody1$inboundSchema; - /** @deprecated use `GetDeploymentEventsResponseBody1$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentEventsResponseBody1$outboundSchema; - /** @deprecated use `GetDeploymentEventsResponseBody1$Outbound` instead. */ - export type Outbound = GetDeploymentEventsResponseBody1$Outbound; -} - export function getDeploymentEventsResponseBody1ToJSON( getDeploymentEventsResponseBody1: GetDeploymentEventsResponseBody1, ): string { @@ -1739,7 +1364,6 @@ export function getDeploymentEventsResponseBody1ToJSON( ), ); } - export function getDeploymentEventsResponseBody1FromJSON( jsonString: string, ): SafeParseResult { @@ -1757,7 +1381,6 @@ export const GetDeploymentEventsDeploymentsResponseBody$inboundSchema: z.lazy(() => GetDeploymentEventsResponseBody2$inboundSchema), z.lazy(() => GetDeploymentEventsResponseBody1$inboundSchema), ]); - /** @internal */ export type GetDeploymentEventsDeploymentsResponseBody$Outbound = | GetDeploymentEventsResponseBody2$Outbound @@ -1774,21 +1397,6 @@ export const GetDeploymentEventsDeploymentsResponseBody$outboundSchema: z.lazy(() => GetDeploymentEventsResponseBody1$outboundSchema), ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentEventsDeploymentsResponseBody$ { - /** @deprecated use `GetDeploymentEventsDeploymentsResponseBody$inboundSchema` instead. */ - export const inboundSchema = - GetDeploymentEventsDeploymentsResponseBody$inboundSchema; - /** @deprecated use `GetDeploymentEventsDeploymentsResponseBody$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentEventsDeploymentsResponseBody$outboundSchema; - /** @deprecated use `GetDeploymentEventsDeploymentsResponseBody$Outbound` instead. */ - export type Outbound = GetDeploymentEventsDeploymentsResponseBody$Outbound; -} - export function getDeploymentEventsDeploymentsResponseBodyToJSON( getDeploymentEventsDeploymentsResponseBody: GetDeploymentEventsDeploymentsResponseBody, @@ -1799,7 +1407,6 @@ export function getDeploymentEventsDeploymentsResponseBodyToJSON( ), ); } - export function getDeploymentEventsDeploymentsResponseBodyFromJSON( jsonString: string, ): SafeParseResult< @@ -1835,7 +1442,6 @@ export const GetDeploymentEventsResponse$inboundSchema: z.ZodType< ), ]), ]); - /** @internal */ export type GetDeploymentEventsResponse$Outbound = | Array< @@ -1866,19 +1472,6 @@ export const GetDeploymentEventsResponse$outboundSchema: z.ZodType< ]), ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentEventsResponse$ { - /** @deprecated use `GetDeploymentEventsResponse$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentEventsResponse$inboundSchema; - /** @deprecated use `GetDeploymentEventsResponse$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentEventsResponse$outboundSchema; - /** @deprecated use `GetDeploymentEventsResponse$Outbound` instead. */ - export type Outbound = GetDeploymentEventsResponse$Outbound; -} - export function getDeploymentEventsResponseToJSON( getDeploymentEventsResponse: GetDeploymentEventsResponse, ): string { @@ -1888,7 +1481,6 @@ export function getDeploymentEventsResponseToJSON( ), ); } - export function getDeploymentEventsResponseFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/getdeploymentfilecontentsop.ts b/src/models/getdeploymentfilecontentsop.ts index 383b65398..04afdbf0e 100644 --- a/src/models/getdeploymentfilecontentsop.ts +++ b/src/models/getdeploymentfilecontentsop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -42,7 +42,6 @@ export const GetDeploymentFileContentsRequest$inboundSchema: z.ZodType< teamId: z.string().optional(), slug: z.string().optional(), }); - /** @internal */ export type GetDeploymentFileContentsRequest$Outbound = { id: string; @@ -65,19 +64,6 @@ export const GetDeploymentFileContentsRequest$outboundSchema: z.ZodType< 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 { @@ -87,7 +73,6 @@ export function getDeploymentFileContentsRequestToJSON( ), ); } - export function getDeploymentFileContentsRequestFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/getdeploymentop.ts b/src/models/getdeploymentop.ts index f9b87b7db..8bb1d649a 100644 --- a/src/models/getdeploymentop.ts +++ b/src/models/getdeploymentop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; @@ -34,9 +34,21 @@ export type GetDeploymentRequest = { slug?: string | undefined; }; +/** + * Information about the deployment creator + */ export type GetDeploymentResponseBodyCreator = { + /** + * The ID of the user that created the deployment + */ uid: string; + /** + * The username of the user that created the deployment + */ username?: string | undefined; + /** + * The avatar of the user that created the deployment + */ avatar?: string | undefined; }; @@ -79,6 +91,9 @@ export type GetDeploymentResponseBodyStatus = ClosedEnum< typeof GetDeploymentResponseBodyStatus >; +/** + * The team that owns the deployment if any + */ export type ResponseBodyTeam = { id: string; name: string; @@ -86,6 +101,9 @@ export type ResponseBodyTeam = { avatar?: string | undefined; }; +/** + * If the deployment was created using a Custom Environment, then this property contains information regarding the environment used. + */ export type GetDeploymentCustomEnvironment2 = { id: string; }; @@ -168,7 +186,7 @@ export type GetDeploymentCustomEnvironmentDomains = { }; /** - * Internal representation of a custom environment with all required properties + * If the deployment was created using a Custom Environment, then this property contains information regarding the environment used. */ export type GetDeploymentCustomEnvironment1 = { /** @@ -225,6 +243,9 @@ export type ResponseBodyAliasWarning = { action?: string | undefined; }; +/** + * The state of the deployment depending on the process of deploying, or if it is ready or in an error state + */ export const GetDeploymentResponseBodyReadyState = { Queued: "QUEUED", Building: "BUILDING", @@ -233,6 +254,9 @@ export const GetDeploymentResponseBodyReadyState = { Ready: "READY", Canceled: "CANCELED", } as const; +/** + * The state of the deployment depending on the process of deploying, or if it is ready or in an error state + */ export type GetDeploymentResponseBodyReadyState = ClosedEnum< typeof GetDeploymentResponseBodyReadyState >; @@ -244,6 +268,9 @@ export type GetDeploymentResponseBodyDeploymentsType = ClosedEnum< typeof GetDeploymentResponseBodyDeploymentsType >; +/** + * An object that will contain a `code` and a `message` when the aliasing fails, otherwise the value will be `null` + */ export type GetDeploymentResponseBodyAliasError = { code: string; message: string; @@ -583,6 +610,7 @@ export type ResponseBodyGitSource = * If set it overrides the `projectSettings.nodeVersion` for this deployment. */ export const GetDeploymentResponseBodyNodeVersion = { + TwentyFourDotX: "24.x", TwentyTwoDotX: "22.x", TwentyDotX: "20.x", EighteenDotX: "18.x", @@ -599,6 +627,9 @@ export type GetDeploymentResponseBodyNodeVersion = ClosedEnum< typeof GetDeploymentResponseBodyNodeVersion >; +/** + * The public project information associated with the deployment. + */ export type GetDeploymentResponseBodyProject = { id: string; name: string; @@ -620,6 +651,9 @@ export type GetDeploymentResponseBodyReadySubstate = ClosedEnum< typeof GetDeploymentResponseBodyReadySubstate >; +/** + * Where was the deployment created from + */ export const GetDeploymentResponseBodySource = { ApiTriggerGitDeploy: "api-trigger-git-deploy", Cli: "cli", @@ -630,14 +664,23 @@ export const GetDeploymentResponseBodySource = { Redeploy: "redeploy", V0Web: "v0-web", } as const; +/** + * Where was the deployment created from + */ export type GetDeploymentResponseBodySource = ClosedEnum< typeof GetDeploymentResponseBodySource >; +/** + * If defined, either `staging` if a staging alias in the format `..now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment. + */ export const GetDeploymentResponseBodyTarget = { Staging: "staging", Production: "production", } as const; +/** + * If defined, either `staging` if a staging alias in the format `..now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment. + */ export type GetDeploymentResponseBodyTarget = ClosedEnum< typeof GetDeploymentResponseBodyTarget >; @@ -652,13 +695,20 @@ export type GetDeploymentResponseBodyOidcTokenClaims = { project: string; projectId: string; environment: string; + plan: string; }; /** * The deployment including only public information */ export type GetDeploymentResponseBody2 = { + /** + * A list of all the aliases (default aliases, staging aliases and production aliases) that were assigned upon deployment creation + */ alias?: Array | undefined; + /** + * A boolean that will be true when the aliases from the alias property were assigned successfully + */ aliasAssigned: boolean; bootedAt: number; buildingAt: number; @@ -667,15 +717,30 @@ export type GetDeploymentResponseBody2 = { */ buildContainerFinishedAt?: number | undefined; buildSkipped: boolean; + /** + * Information about the deployment creator + */ creator: GetDeploymentResponseBodyCreator; initReadyAt?: number | undefined; isFirstBranchDeployment?: boolean | undefined; lambdas?: Array | undefined; + /** + * A boolean representing if the deployment is public or not. By default this is `false` + */ public: boolean; ready?: number | undefined; status: GetDeploymentResponseBodyStatus; + /** + * The team that owns the deployment if any + */ team?: ResponseBodyTeam | undefined; + /** + * An array of domains that were provided by the user when creating the Deployment. + */ userAliases?: Array | undefined; + /** + * Whether or not preview comments are enabled for the deployment + */ previewCommentsEnabled?: boolean | undefined; ttyBuildLogs?: boolean | undefined; customEnvironment?: @@ -684,11 +749,26 @@ export type GetDeploymentResponseBody2 = { | undefined; oomReport?: ResponseBodyOomReport | undefined; aliasWarning?: ResponseBodyAliasWarning | null | undefined; + /** + * A string holding the unique ID of the deployment + */ id: string; + /** + * A number containing the date when the deployment was created in milliseconds + */ createdAt: number; + /** + * The state of the deployment depending on the process of deploying, or if it is ready or in an error state + */ readyState: GetDeploymentResponseBodyReadyState; + /** + * The name of the project associated with the deployment at the time that the deployment was created + */ name: string; type: GetDeploymentResponseBodyDeploymentsType; + /** + * An object that will contain a `code` and a `message` when the aliasing fails, otherwise the value will be `null` + */ aliasError?: GetDeploymentResponseBodyAliasError | null | undefined; aliasFinal?: string | null | undefined; /** @@ -699,6 +779,9 @@ export type GetDeploymentResponseBody2 = { buildErrorAt?: number | undefined; checksState?: GetDeploymentResponseBodyChecksState | undefined; checksConclusion?: GetDeploymentResponseBodyChecksConclusion | undefined; + /** + * A number containing the date when the deployment was deleted at milliseconds + */ deletedAt?: number | null | undefined; /** * Computed field that is only available for deployments with a microfrontend configuration. @@ -736,17 +819,41 @@ export type GetDeploymentResponseBody2 = { * If set it overrides the `projectSettings.nodeVersion` for this deployment. */ nodeVersion?: GetDeploymentResponseBodyNodeVersion | undefined; + /** + * The public project information associated with the deployment. + */ project?: GetDeploymentResponseBodyProject | undefined; /** * Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - ROLLING: in the process of having production traffic gradually transitioned. - PROMOTED: has seen production traffic */ readySubstate?: GetDeploymentResponseBodyReadySubstate | undefined; + /** + * The regions the deployment exists in + */ regions: Array; + /** + * flag to indicate if the deployment was deleted by retention policy + */ softDeletedByRetention?: boolean | undefined; + /** + * Where was the deployment created from + */ source?: GetDeploymentResponseBodySource | undefined; + /** + * If defined, either `staging` if a staging alias in the format `..now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment. + */ target?: GetDeploymentResponseBodyTarget | null | undefined; + /** + * A number containing the date when the deployment was undeleted at milliseconds + */ undeletedAt?: number | undefined; + /** + * A string with the unique URL of the deployment + */ url: string; + /** + * The platform version that was used to create the deployment. + */ version: number; oidcTokenClaims?: GetDeploymentResponseBodyOidcTokenClaims | undefined; }; @@ -803,10 +910,12 @@ export const ResponseBodyFramework = { Zola: "zola", Hydrogen: "hydrogen", Vite: "vite", + TanstackStart: "tanstack-start", Vitepress: "vitepress", Vuepress: "vuepress", Parcel: "parcel", Fastapi: "fastapi", + Flask: "flask", Fasthtml: "fasthtml", SanityV3: "sanity-v3", Sanity: "sanity", @@ -815,6 +924,9 @@ export const ResponseBodyFramework = { Hono: "hono", Express: "express", H3: "h3", + Nestjs: "nestjs", + Elysia: "elysia", + Fastify: "fastify", Xmcp: "xmcp", } as const; export type ResponseBodyFramework = ClosedEnum; @@ -939,9 +1051,21 @@ export type ResponseBodyImages = { contentDispositionType?: ResponseBodyContentDispositionType | undefined; }; +/** + * Information about the deployment creator + */ export type ResponseBodyCreator = { + /** + * The ID of the user that created the deployment + */ uid: string; + /** + * The username of the user that created the deployment + */ username?: string | undefined; + /** + * The avatar of the user that created the deployment + */ avatar?: string | undefined; }; @@ -984,6 +1108,9 @@ export const ResponseBodyStatus = { } as const; export type ResponseBodyStatus = ClosedEnum; +/** + * The team that owns the deployment if any + */ export type GetDeploymentResponseBodyTeam = { id: string; name: string; @@ -991,6 +1118,9 @@ export type GetDeploymentResponseBodyTeam = { avatar?: string | undefined; }; +/** + * If the deployment was created using a Custom Environment, then this property contains information regarding the environment used. + */ export type GetDeploymentCustomEnvironmentDeployments2 = { id: string; }; @@ -1074,7 +1204,7 @@ export type GetDeploymentCustomEnvironmentDeploymentsDomains = { }; /** - * Internal representation of a custom environment with all required properties + * If the deployment was created using a Custom Environment, then this property contains information regarding the environment used. */ export type GetDeploymentCustomEnvironmentDeployments1 = { /** @@ -1135,6 +1265,9 @@ export type GetDeploymentResponseBodyAliasWarning = { action?: string | undefined; }; +/** + * The state of the deployment depending on the process of deploying, or if it is ready or in an error state + */ export const ResponseBodyReadyState = { Queued: "QUEUED", Building: "BUILDING", @@ -1143,6 +1276,9 @@ export const ResponseBodyReadyState = { Ready: "READY", Canceled: "CANCELED", } as const; +/** + * The state of the deployment depending on the process of deploying, or if it is ready or in an error state + */ export type ResponseBodyReadyState = ClosedEnum; export const GetDeploymentResponseBodyType = { @@ -1152,6 +1288,9 @@ export type GetDeploymentResponseBodyType = ClosedEnum< typeof GetDeploymentResponseBodyType >; +/** + * An object that will contain a `code` and a `message` when the aliasing fails, otherwise the value will be `null` + */ export type ResponseBodyAliasError = { code: string; message: string; @@ -1479,6 +1618,7 @@ export type GetDeploymentResponseBodyGitSource = * If set it overrides the `projectSettings.nodeVersion` for this deployment. */ export const ResponseBodyNodeVersion = { + TwentyFourDotX: "24.x", TwentyTwoDotX: "22.x", TwentyDotX: "20.x", EighteenDotX: "18.x", @@ -1495,6 +1635,9 @@ export type ResponseBodyNodeVersion = ClosedEnum< typeof ResponseBodyNodeVersion >; +/** + * The public project information associated with the deployment. + */ export type ResponseBodyProject = { id: string; name: string; @@ -1516,6 +1659,9 @@ export type ResponseBodyReadySubstate = ClosedEnum< typeof ResponseBodyReadySubstate >; +/** + * Where was the deployment created from + */ export const ResponseBodySource = { ApiTriggerGitDeploy: "api-trigger-git-deploy", Cli: "cli", @@ -1526,12 +1672,21 @@ export const ResponseBodySource = { Redeploy: "redeploy", V0Web: "v0-web", } as const; +/** + * Where was the deployment created from + */ export type ResponseBodySource = ClosedEnum; +/** + * If defined, either `staging` if a staging alias in the format `..now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment. + */ export const ResponseBodyTarget = { Staging: "staging", Production: "production", } as const; +/** + * If defined, either `staging` if a staging alias in the format `..now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment. + */ export type ResponseBodyTarget = ClosedEnum; export type ResponseBodyOidcTokenClaims = { @@ -1544,6 +1699,7 @@ export type ResponseBodyOidcTokenClaims = { project: string; projectId: string; environment: string; + plan: string; }; export const ResponseBodyPlan = { @@ -2051,14 +2207,6 @@ export type GetDeploymentMicrofrontends2 = { * 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; - /** - * Whether the MicrofrontendsAlias2 team flag should be considered enabled for this deployment or not. - */ - microfrontendsAlias2Enabled?: boolean | undefined; - /** - * Temporary flag to safely test MFE alias routing in vercel-site production for specific production hosts (not vercel.com) - */ - microfrontendsAliasRoutingVercelSiteProdTestHost?: boolean | undefined; }; export type GetDeploymentMicrofrontends1 = { @@ -2075,14 +2223,6 @@ export type GetDeploymentMicrofrontends1 = { * 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; - /** - * Whether the MicrofrontendsAlias2 team flag should be considered enabled for this deployment or not. - */ - microfrontendsAlias2Enabled?: boolean | undefined; - /** - * Temporary flag to safely test MFE alias routing in vercel-site production for specific production hosts (not vercel.com) - */ - microfrontendsAliasRoutingVercelSiteProdTestHost?: boolean | undefined; }; export type ResponseBodyMicrofrontends = @@ -2159,7 +2299,13 @@ export type GetDeploymentResponseBody1 = { readyStateReason?: string | undefined; integrations?: ResponseBodyIntegrations | undefined; images?: ResponseBodyImages | undefined; + /** + * A list of all the aliases (default aliases, staging aliases and production aliases) that were assigned upon deployment creation + */ alias?: Array | undefined; + /** + * A boolean that will be true when the aliases from the alias property were assigned successfully + */ aliasAssigned: boolean; bootedAt: number; buildingAt: number; @@ -2168,15 +2314,30 @@ export type GetDeploymentResponseBody1 = { */ buildContainerFinishedAt?: number | undefined; buildSkipped: boolean; + /** + * Information about the deployment creator + */ creator: ResponseBodyCreator; initReadyAt?: number | undefined; isFirstBranchDeployment?: boolean | undefined; lambdas?: Array | undefined; + /** + * A boolean representing if the deployment is public or not. By default this is `false` + */ public: boolean; ready?: number | undefined; status: ResponseBodyStatus; + /** + * The team that owns the deployment if any + */ team?: GetDeploymentResponseBodyTeam | undefined; + /** + * An array of domains that were provided by the user when creating the Deployment. + */ userAliases?: Array | undefined; + /** + * Whether or not preview comments are enabled for the deployment + */ previewCommentsEnabled?: boolean | undefined; ttyBuildLogs?: boolean | undefined; customEnvironment?: @@ -2185,11 +2346,26 @@ export type GetDeploymentResponseBody1 = { | undefined; oomReport?: GetDeploymentResponseBodyOomReport | undefined; aliasWarning?: GetDeploymentResponseBodyAliasWarning | null | undefined; + /** + * A string holding the unique ID of the deployment + */ id: string; + /** + * A number containing the date when the deployment was created in milliseconds + */ createdAt: number; + /** + * The state of the deployment depending on the process of deploying, or if it is ready or in an error state + */ readyState: ResponseBodyReadyState; + /** + * The name of the project associated with the deployment at the time that the deployment was created + */ name: string; type: GetDeploymentResponseBodyType; + /** + * An object that will contain a `code` and a `message` when the aliasing fails, otherwise the value will be `null` + */ aliasError?: ResponseBodyAliasError | null | undefined; aliasFinal?: string | null | undefined; /** @@ -2200,6 +2376,9 @@ export type GetDeploymentResponseBody1 = { buildErrorAt?: number | undefined; checksState?: ResponseBodyChecksState | undefined; checksConclusion?: ResponseBodyChecksConclusion | undefined; + /** + * A number containing the date when the deployment was deleted at milliseconds + */ deletedAt?: number | null | undefined; /** * Computed field that is only available for deployments with a microfrontend configuration. @@ -2237,17 +2416,41 @@ export type GetDeploymentResponseBody1 = { * If set it overrides the `projectSettings.nodeVersion` for this deployment. */ nodeVersion?: ResponseBodyNodeVersion | undefined; + /** + * The public project information associated with the deployment. + */ project?: ResponseBodyProject | undefined; /** * Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - ROLLING: in the process of having production traffic gradually transitioned. - PROMOTED: has seen production traffic */ readySubstate?: ResponseBodyReadySubstate | undefined; + /** + * The regions the deployment exists in + */ regions: Array; + /** + * flag to indicate if the deployment was deleted by retention policy + */ softDeletedByRetention?: boolean | undefined; + /** + * Where was the deployment created from + */ source?: ResponseBodySource | undefined; + /** + * If defined, either `staging` if a staging alias in the format `..now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment. + */ target?: ResponseBodyTarget | null | undefined; + /** + * A number containing the date when the deployment was undeleted at milliseconds + */ undeletedAt?: number | undefined; + /** + * A string with the unique URL of the deployment + */ url: string; + /** + * The platform version that was used to create the deployment. + */ version: number; oidcTokenClaims?: ResponseBodyOidcTokenClaims | undefined; projectId: string; @@ -2305,7 +2508,6 @@ export const GetDeploymentRequest$inboundSchema: z.ZodType< teamId: z.string().optional(), slug: z.string().optional(), }); - /** @internal */ export type GetDeploymentRequest$Outbound = { idOrUrl: string; @@ -2326,19 +2528,6 @@ export const GetDeploymentRequest$outboundSchema: z.ZodType< 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 { @@ -2346,7 +2535,6 @@ export function getDeploymentRequestToJSON( GetDeploymentRequest$outboundSchema.parse(getDeploymentRequest), ); } - export function getDeploymentRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -2367,7 +2555,6 @@ export const GetDeploymentResponseBodyCreator$inboundSchema: z.ZodType< username: z.string().optional(), avatar: z.string().optional(), }); - /** @internal */ export type GetDeploymentResponseBodyCreator$Outbound = { uid: string; @@ -2386,19 +2573,6 @@ export const GetDeploymentResponseBodyCreator$outboundSchema: z.ZodType< 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 { @@ -2408,7 +2582,6 @@ export function getDeploymentResponseBodyCreatorToJSON( ), ); } - export function getDeploymentResponseBodyCreatorFromJSON( jsonString: string, ): SafeParseResult { @@ -2423,25 +2596,11 @@ export function getDeploymentResponseBodyCreatorFromJSON( 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, @@ -2451,7 +2610,6 @@ export const GetDeploymentResponseBodyOutput$inboundSchema: z.ZodType< path: z.string(), functionName: z.string(), }); - /** @internal */ export type GetDeploymentResponseBodyOutput$Outbound = { path: string; @@ -2468,19 +2626,6 @@ export const GetDeploymentResponseBodyOutput$outboundSchema: z.ZodType< 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 { @@ -2490,7 +2635,6 @@ export function getDeploymentResponseBodyOutputToJSON( ), ); } - export function getDeploymentResponseBodyOutputFromJSON( jsonString: string, ): SafeParseResult { @@ -2515,7 +2659,6 @@ export const ResponseBodyLambdas$inboundSchema: z.ZodType< readyStateAt: z.number().optional(), output: z.array(z.lazy(() => GetDeploymentResponseBodyOutput$inboundSchema)), }); - /** @internal */ export type ResponseBodyLambdas$Outbound = { id: string; @@ -2541,19 +2684,6 @@ export const ResponseBodyLambdas$outboundSchema: z.ZodType< 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 { @@ -2561,7 +2691,6 @@ export function responseBodyLambdasToJSON( ResponseBodyLambdas$outboundSchema.parse(responseBodyLambdas), ); } - export function responseBodyLambdasFromJSON( jsonString: string, ): SafeParseResult { @@ -2576,23 +2705,11 @@ export function responseBodyLambdasFromJSON( 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, @@ -2604,7 +2721,6 @@ export const ResponseBodyTeam$inboundSchema: z.ZodType< slug: z.string(), avatar: z.string().optional(), }); - /** @internal */ export type ResponseBodyTeam$Outbound = { id: string; @@ -2625,19 +2741,6 @@ export const ResponseBodyTeam$outboundSchema: z.ZodType< 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 { @@ -2645,7 +2748,6 @@ export function responseBodyTeamToJSON( ResponseBodyTeam$outboundSchema.parse(responseBodyTeam), ); } - export function responseBodyTeamFromJSON( jsonString: string, ): SafeParseResult { @@ -2664,7 +2766,6 @@ export const GetDeploymentCustomEnvironment2$inboundSchema: z.ZodType< > = z.object({ id: z.string(), }); - /** @internal */ export type GetDeploymentCustomEnvironment2$Outbound = { id: string; @@ -2679,19 +2780,6 @@ export const GetDeploymentCustomEnvironment2$outboundSchema: z.ZodType< 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 { @@ -2701,7 +2789,6 @@ export function getDeploymentCustomEnvironment2ToJSON( ), ); } - export function getDeploymentCustomEnvironment2FromJSON( jsonString: string, ): SafeParseResult { @@ -2716,49 +2803,22 @@ export function getDeploymentCustomEnvironment2FromJSON( export const GetDeploymentCustomEnvironmentType$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentCustomEnvironmentType > = z.nativeEnum(GetDeploymentCustomEnvironmentType); - /** @internal */ export const GetDeploymentCustomEnvironmentType$outboundSchema: z.ZodNativeEnum< typeof GetDeploymentCustomEnvironmentType > = GetDeploymentCustomEnvironmentType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentCustomEnvironmentType$ { - /** @deprecated use `GetDeploymentCustomEnvironmentType$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentCustomEnvironmentType$inboundSchema; - /** @deprecated use `GetDeploymentCustomEnvironmentType$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentCustomEnvironmentType$outboundSchema; -} - /** @internal */ export const GetDeploymentCustomEnvironmentDeploymentsResponseType$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentCustomEnvironmentDeploymentsResponseType > = z.nativeEnum(GetDeploymentCustomEnvironmentDeploymentsResponseType); - /** @internal */ export const GetDeploymentCustomEnvironmentDeploymentsResponseType$outboundSchema: z.ZodNativeEnum< typeof GetDeploymentCustomEnvironmentDeploymentsResponseType > = GetDeploymentCustomEnvironmentDeploymentsResponseType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentCustomEnvironmentDeploymentsResponseType$ { - /** @deprecated use `GetDeploymentCustomEnvironmentDeploymentsResponseType$inboundSchema` instead. */ - export const inboundSchema = - GetDeploymentCustomEnvironmentDeploymentsResponseType$inboundSchema; - /** @deprecated use `GetDeploymentCustomEnvironmentDeploymentsResponseType$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentCustomEnvironmentDeploymentsResponseType$outboundSchema; -} - /** @internal */ export const GetDeploymentCustomEnvironmentBranchMatcher$inboundSchema: z.ZodType< @@ -2769,7 +2829,6 @@ export const GetDeploymentCustomEnvironmentBranchMatcher$inboundSchema: type: GetDeploymentCustomEnvironmentDeploymentsResponseType$inboundSchema, pattern: z.string(), }); - /** @internal */ export type GetDeploymentCustomEnvironmentBranchMatcher$Outbound = { type: string; @@ -2787,21 +2846,6 @@ export const GetDeploymentCustomEnvironmentBranchMatcher$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 GetDeploymentCustomEnvironmentBranchMatcher$ { - /** @deprecated use `GetDeploymentCustomEnvironmentBranchMatcher$inboundSchema` instead. */ - export const inboundSchema = - GetDeploymentCustomEnvironmentBranchMatcher$inboundSchema; - /** @deprecated use `GetDeploymentCustomEnvironmentBranchMatcher$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentCustomEnvironmentBranchMatcher$outboundSchema; - /** @deprecated use `GetDeploymentCustomEnvironmentBranchMatcher$Outbound` instead. */ - export type Outbound = GetDeploymentCustomEnvironmentBranchMatcher$Outbound; -} - export function getDeploymentCustomEnvironmentBranchMatcherToJSON( getDeploymentCustomEnvironmentBranchMatcher: GetDeploymentCustomEnvironmentBranchMatcher, @@ -2812,7 +2856,6 @@ export function getDeploymentCustomEnvironmentBranchMatcherToJSON( ), ); } - export function getDeploymentCustomEnvironmentBranchMatcherFromJSON( jsonString: string, ): SafeParseResult< @@ -2838,7 +2881,6 @@ export const GetDeploymentCustomEnvironmentVerification$inboundSchema: value: z.string(), reason: z.string(), }); - /** @internal */ export type GetDeploymentCustomEnvironmentVerification$Outbound = { type: string; @@ -2860,21 +2902,6 @@ export const GetDeploymentCustomEnvironmentVerification$outboundSchema: 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 GetDeploymentCustomEnvironmentVerification$ { - /** @deprecated use `GetDeploymentCustomEnvironmentVerification$inboundSchema` instead. */ - export const inboundSchema = - GetDeploymentCustomEnvironmentVerification$inboundSchema; - /** @deprecated use `GetDeploymentCustomEnvironmentVerification$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentCustomEnvironmentVerification$outboundSchema; - /** @deprecated use `GetDeploymentCustomEnvironmentVerification$Outbound` instead. */ - export type Outbound = GetDeploymentCustomEnvironmentVerification$Outbound; -} - export function getDeploymentCustomEnvironmentVerificationToJSON( getDeploymentCustomEnvironmentVerification: GetDeploymentCustomEnvironmentVerification, @@ -2885,7 +2912,6 @@ export function getDeploymentCustomEnvironmentVerificationToJSON( ), ); } - export function getDeploymentCustomEnvironmentVerificationFromJSON( jsonString: string, ): SafeParseResult< @@ -2922,7 +2948,6 @@ export const GetDeploymentCustomEnvironmentDomains$inboundSchema: z.ZodType< z.lazy(() => GetDeploymentCustomEnvironmentVerification$inboundSchema), ).optional(), }); - /** @internal */ export type GetDeploymentCustomEnvironmentDomains$Outbound = { name: string; @@ -2961,21 +2986,6 @@ export const GetDeploymentCustomEnvironmentDomains$outboundSchema: z.ZodType< ).optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentCustomEnvironmentDomains$ { - /** @deprecated use `GetDeploymentCustomEnvironmentDomains$inboundSchema` instead. */ - export const inboundSchema = - GetDeploymentCustomEnvironmentDomains$inboundSchema; - /** @deprecated use `GetDeploymentCustomEnvironmentDomains$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentCustomEnvironmentDomains$outboundSchema; - /** @deprecated use `GetDeploymentCustomEnvironmentDomains$Outbound` instead. */ - export type Outbound = GetDeploymentCustomEnvironmentDomains$Outbound; -} - export function getDeploymentCustomEnvironmentDomainsToJSON( getDeploymentCustomEnvironmentDomains: GetDeploymentCustomEnvironmentDomains, ): string { @@ -2985,7 +2995,6 @@ export function getDeploymentCustomEnvironmentDomainsToJSON( ), ); } - export function getDeploymentCustomEnvironmentDomainsFromJSON( jsonString: string, ): SafeParseResult { @@ -3017,7 +3026,6 @@ export const GetDeploymentCustomEnvironment1$inboundSchema: z.ZodType< createdAt: z.number(), updatedAt: z.number(), }); - /** @internal */ export type GetDeploymentCustomEnvironment1$Outbound = { id: string; @@ -3054,19 +3062,6 @@ export const GetDeploymentCustomEnvironment1$outboundSchema: z.ZodType< 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 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 { @@ -3076,7 +3071,6 @@ export function getDeploymentCustomEnvironment1ToJSON( ), ); } - export function getDeploymentCustomEnvironment1FromJSON( jsonString: string, ): SafeParseResult { @@ -3096,7 +3090,6 @@ export const ResponseBodyCustomEnvironment$inboundSchema: z.ZodType< z.lazy(() => GetDeploymentCustomEnvironment1$inboundSchema), z.lazy(() => GetDeploymentCustomEnvironment2$inboundSchema), ]); - /** @internal */ export type ResponseBodyCustomEnvironment$Outbound = | GetDeploymentCustomEnvironment1$Outbound @@ -3112,19 +3105,6 @@ export const ResponseBodyCustomEnvironment$outboundSchema: z.ZodType< 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 { @@ -3134,7 +3114,6 @@ export function responseBodyCustomEnvironmentToJSON( ), ); } - export function responseBodyCustomEnvironmentFromJSON( jsonString: string, ): SafeParseResult { @@ -3149,23 +3128,11 @@ export function responseBodyCustomEnvironmentFromJSON( export const ResponseBodyOomReport$inboundSchema: z.ZodNativeEnum< typeof ResponseBodyOomReport > = z.nativeEnum(ResponseBodyOomReport); - /** @internal */ export const ResponseBodyOomReport$outboundSchema: z.ZodNativeEnum< typeof ResponseBodyOomReport > = ResponseBodyOomReport$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ResponseBodyOomReport$ { - /** @deprecated use `ResponseBodyOomReport$inboundSchema` instead. */ - export const inboundSchema = ResponseBodyOomReport$inboundSchema; - /** @deprecated use `ResponseBodyOomReport$outboundSchema` instead. */ - export const outboundSchema = ResponseBodyOomReport$outboundSchema; -} - /** @internal */ export const ResponseBodyAliasWarning$inboundSchema: z.ZodType< ResponseBodyAliasWarning, @@ -3177,7 +3144,6 @@ export const ResponseBodyAliasWarning$inboundSchema: z.ZodType< link: z.string().optional(), action: z.string().optional(), }); - /** @internal */ export type ResponseBodyAliasWarning$Outbound = { code: string; @@ -3198,19 +3164,6 @@ export const ResponseBodyAliasWarning$outboundSchema: z.ZodType< 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 { @@ -3218,7 +3171,6 @@ export function responseBodyAliasWarningToJSON( ResponseBodyAliasWarning$outboundSchema.parse(responseBodyAliasWarning), ); } - export function responseBodyAliasWarningFromJSON( jsonString: string, ): SafeParseResult { @@ -3233,48 +3185,20 @@ export function responseBodyAliasWarningFromJSON( 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 GetDeploymentResponseBodyDeploymentsType$inboundSchema: z.ZodNativeEnum = z .nativeEnum(GetDeploymentResponseBodyDeploymentsType); - /** @internal */ export const GetDeploymentResponseBodyDeploymentsType$outboundSchema: z.ZodNativeEnum = GetDeploymentResponseBodyDeploymentsType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentResponseBodyDeploymentsType$ { - /** @deprecated use `GetDeploymentResponseBodyDeploymentsType$inboundSchema` instead. */ - export const inboundSchema = - GetDeploymentResponseBodyDeploymentsType$inboundSchema; - /** @deprecated use `GetDeploymentResponseBodyDeploymentsType$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentResponseBodyDeploymentsType$outboundSchema; -} - /** @internal */ export const GetDeploymentResponseBodyAliasError$inboundSchema: z.ZodType< GetDeploymentResponseBodyAliasError, @@ -3284,7 +3208,6 @@ export const GetDeploymentResponseBodyAliasError$inboundSchema: z.ZodType< code: z.string(), message: z.string(), }); - /** @internal */ export type GetDeploymentResponseBodyAliasError$Outbound = { code: string; @@ -3301,21 +3224,6 @@ export const GetDeploymentResponseBodyAliasError$outboundSchema: z.ZodType< 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 { @@ -3325,7 +3233,6 @@ export function getDeploymentResponseBodyAliasErrorToJSON( ), ); } - export function getDeploymentResponseBodyAliasErrorFromJSON( jsonString: string, ): SafeParseResult { @@ -3342,48 +3249,20 @@ 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 GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody215Type$inboundSchema: z.ZodNativeEnum< @@ -3391,7 +3270,6 @@ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponse > = z.nativeEnum( GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody215Type, ); - /** @internal */ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody215Type$outboundSchema: z.ZodNativeEnum< @@ -3399,19 +3277,6 @@ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponse > = GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody215Type$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody215Type$ { - /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody215Type$inboundSchema` instead. */ - export const inboundSchema = - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody215Type$inboundSchema; - /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody215Type$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody215Type$outboundSchema; -} - /** @internal */ export const GetDeploymentGitSource15$inboundSchema: z.ZodType< GetDeploymentGitSource15, @@ -3427,7 +3292,6 @@ export const GetDeploymentGitSource15$inboundSchema: z.ZodType< workspaceUuid: z.string(), repoUuid: z.string(), }); - /** @internal */ export type GetDeploymentGitSource15$Outbound = { type: string; @@ -3455,19 +3319,6 @@ export const GetDeploymentGitSource15$outboundSchema: z.ZodType< 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 GetDeploymentGitSource15$ { - /** @deprecated use `GetDeploymentGitSource15$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentGitSource15$inboundSchema; - /** @deprecated use `GetDeploymentGitSource15$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentGitSource15$outboundSchema; - /** @deprecated use `GetDeploymentGitSource15$Outbound` instead. */ - export type Outbound = GetDeploymentGitSource15$Outbound; -} - export function getDeploymentGitSource15ToJSON( getDeploymentGitSource15: GetDeploymentGitSource15, ): string { @@ -3475,7 +3326,6 @@ export function getDeploymentGitSource15ToJSON( GetDeploymentGitSource15$outboundSchema.parse(getDeploymentGitSource15), ); } - export function getDeploymentGitSource15FromJSON( jsonString: string, ): SafeParseResult { @@ -3493,7 +3343,6 @@ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponse > = z.nativeEnum( GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody214Type, ); - /** @internal */ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody214Type$outboundSchema: z.ZodNativeEnum< @@ -3501,19 +3350,6 @@ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponse > = GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody214Type$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody214Type$ { - /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody214Type$inboundSchema` instead. */ - export const inboundSchema = - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody214Type$inboundSchema; - /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody214Type$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody214Type$outboundSchema; -} - /** @internal */ export const GetDeploymentGitSource14$inboundSchema: z.ZodType< GetDeploymentGitSource14, @@ -3526,7 +3362,6 @@ export const GetDeploymentGitSource14$inboundSchema: z.ZodType< sha: z.string(), projectId: z.number(), }); - /** @internal */ export type GetDeploymentGitSource14$Outbound = { type: string; @@ -3548,19 +3383,6 @@ export const GetDeploymentGitSource14$outboundSchema: z.ZodType< 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 GetDeploymentGitSource14$ { - /** @deprecated use `GetDeploymentGitSource14$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentGitSource14$inboundSchema; - /** @deprecated use `GetDeploymentGitSource14$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentGitSource14$outboundSchema; - /** @deprecated use `GetDeploymentGitSource14$Outbound` instead. */ - export type Outbound = GetDeploymentGitSource14$Outbound; -} - export function getDeploymentGitSource14ToJSON( getDeploymentGitSource14: GetDeploymentGitSource14, ): string { @@ -3568,7 +3390,6 @@ export function getDeploymentGitSource14ToJSON( GetDeploymentGitSource14$outboundSchema.parse(getDeploymentGitSource14), ); } - export function getDeploymentGitSource14FromJSON( jsonString: string, ): SafeParseResult { @@ -3586,7 +3407,6 @@ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponse > = z.nativeEnum( GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody213Type, ); - /** @internal */ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody213Type$outboundSchema: z.ZodNativeEnum< @@ -3594,19 +3414,6 @@ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponse > = GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody213Type$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody213Type$ { - /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody213Type$inboundSchema` instead. */ - export const inboundSchema = - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody213Type$inboundSchema; - /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody213Type$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody213Type$outboundSchema; -} - /** @internal */ export const GetDeploymentGitSource13$inboundSchema: z.ZodType< GetDeploymentGitSource13, @@ -3621,7 +3428,6 @@ export const GetDeploymentGitSource13$inboundSchema: z.ZodType< org: z.string().optional(), repo: z.string().optional(), }); - /** @internal */ export type GetDeploymentGitSource13$Outbound = { type: string; @@ -3647,19 +3453,6 @@ export const GetDeploymentGitSource13$outboundSchema: z.ZodType< 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 GetDeploymentGitSource13$ { - /** @deprecated use `GetDeploymentGitSource13$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentGitSource13$inboundSchema; - /** @deprecated use `GetDeploymentGitSource13$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentGitSource13$outboundSchema; - /** @deprecated use `GetDeploymentGitSource13$Outbound` instead. */ - export type Outbound = GetDeploymentGitSource13$Outbound; -} - export function getDeploymentGitSource13ToJSON( getDeploymentGitSource13: GetDeploymentGitSource13, ): string { @@ -3667,7 +3460,6 @@ export function getDeploymentGitSource13ToJSON( GetDeploymentGitSource13$outboundSchema.parse(getDeploymentGitSource13), ); } - export function getDeploymentGitSource13FromJSON( jsonString: string, ): SafeParseResult { @@ -3685,7 +3477,6 @@ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponse > = z.nativeEnum( GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody212Type, ); - /** @internal */ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody212Type$outboundSchema: z.ZodNativeEnum< @@ -3693,19 +3484,6 @@ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponse > = GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody212Type$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody212Type$ { - /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody212Type$inboundSchema` instead. */ - export const inboundSchema = - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody212Type$inboundSchema; - /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody212Type$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody212Type$outboundSchema; -} - /** @internal */ export const GetDeploymentGitSource12$inboundSchema: z.ZodType< GetDeploymentGitSource12, @@ -3721,7 +3499,6 @@ export const GetDeploymentGitSource12$inboundSchema: z.ZodType< org: z.string().optional(), repo: z.string().optional(), }); - /** @internal */ export type GetDeploymentGitSource12$Outbound = { type: string; @@ -3749,19 +3526,6 @@ export const GetDeploymentGitSource12$outboundSchema: z.ZodType< 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 GetDeploymentGitSource12$ { - /** @deprecated use `GetDeploymentGitSource12$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentGitSource12$inboundSchema; - /** @deprecated use `GetDeploymentGitSource12$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentGitSource12$outboundSchema; - /** @deprecated use `GetDeploymentGitSource12$Outbound` instead. */ - export type Outbound = GetDeploymentGitSource12$Outbound; -} - export function getDeploymentGitSource12ToJSON( getDeploymentGitSource12: GetDeploymentGitSource12, ): string { @@ -3769,7 +3533,6 @@ export function getDeploymentGitSource12ToJSON( GetDeploymentGitSource12$outboundSchema.parse(getDeploymentGitSource12), ); } - export function getDeploymentGitSource12FromJSON( jsonString: string, ): SafeParseResult { @@ -3787,7 +3550,6 @@ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponse > = z.nativeEnum( GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody211Type, ); - /** @internal */ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody211Type$outboundSchema: z.ZodNativeEnum< @@ -3795,19 +3557,6 @@ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponse > = GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody211Type$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody211Type$ { - /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody211Type$inboundSchema` instead. */ - export const inboundSchema = - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody211Type$inboundSchema; - /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody211Type$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody211Type$outboundSchema; -} - /** @internal */ export const GetDeploymentGitSource11$inboundSchema: z.ZodType< GetDeploymentGitSource11, @@ -3822,7 +3571,6 @@ export const GetDeploymentGitSource11$inboundSchema: z.ZodType< org: z.string().optional(), repo: z.string().optional(), }); - /** @internal */ export type GetDeploymentGitSource11$Outbound = { type: string; @@ -3848,19 +3596,6 @@ export const GetDeploymentGitSource11$outboundSchema: z.ZodType< 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 GetDeploymentGitSource11$ { - /** @deprecated use `GetDeploymentGitSource11$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentGitSource11$inboundSchema; - /** @deprecated use `GetDeploymentGitSource11$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentGitSource11$outboundSchema; - /** @deprecated use `GetDeploymentGitSource11$Outbound` instead. */ - export type Outbound = GetDeploymentGitSource11$Outbound; -} - export function getDeploymentGitSource11ToJSON( getDeploymentGitSource11: GetDeploymentGitSource11, ): string { @@ -3868,7 +3603,6 @@ export function getDeploymentGitSource11ToJSON( GetDeploymentGitSource11$outboundSchema.parse(getDeploymentGitSource11), ); } - export function getDeploymentGitSource11FromJSON( jsonString: string, ): SafeParseResult { @@ -3886,7 +3620,6 @@ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponse > = z.nativeEnum( GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody210Type, ); - /** @internal */ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody210Type$outboundSchema: z.ZodNativeEnum< @@ -3894,19 +3627,6 @@ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponse > = GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody210Type$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody210Type$ { - /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody210Type$inboundSchema` instead. */ - export const inboundSchema = - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody210Type$inboundSchema; - /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody210Type$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody210Type$outboundSchema; -} - /** @internal */ export const GetDeploymentGitSource10$inboundSchema: z.ZodType< GetDeploymentGitSource10, @@ -3919,7 +3639,6 @@ export const GetDeploymentGitSource10$inboundSchema: z.ZodType< sha: z.string(), gitUrl: z.string(), }); - /** @internal */ export type GetDeploymentGitSource10$Outbound = { type: string; @@ -3941,19 +3660,6 @@ export const GetDeploymentGitSource10$outboundSchema: z.ZodType< 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 GetDeploymentGitSource10$ { - /** @deprecated use `GetDeploymentGitSource10$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentGitSource10$inboundSchema; - /** @deprecated use `GetDeploymentGitSource10$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentGitSource10$outboundSchema; - /** @deprecated use `GetDeploymentGitSource10$Outbound` instead. */ - export type Outbound = GetDeploymentGitSource10$Outbound; -} - export function getDeploymentGitSource10ToJSON( getDeploymentGitSource10: GetDeploymentGitSource10, ): string { @@ -3961,7 +3667,6 @@ export function getDeploymentGitSource10ToJSON( GetDeploymentGitSource10$outboundSchema.parse(getDeploymentGitSource10), ); } - export function getDeploymentGitSource10FromJSON( jsonString: string, ): SafeParseResult { @@ -3979,7 +3684,6 @@ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponse > = z.nativeEnum( GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type, ); - /** @internal */ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody29Type$outboundSchema: z.ZodNativeEnum< @@ -3987,19 +3691,6 @@ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponse > = 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, @@ -4014,7 +3705,6 @@ export const GetDeploymentGitSource9$inboundSchema: z.ZodType< sha: z.string().optional(), prId: z.nullable(z.number()).optional(), }); - /** @internal */ export type GetDeploymentGitSource9$Outbound = { type: string; @@ -4040,19 +3730,6 @@ export const GetDeploymentGitSource9$outboundSchema: z.ZodType< 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 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 { @@ -4060,7 +3737,6 @@ export function getDeploymentGitSource9ToJSON( GetDeploymentGitSource9$outboundSchema.parse(getDeploymentGitSource9), ); } - export function getDeploymentGitSource9FromJSON( jsonString: string, ): SafeParseResult { @@ -4078,7 +3754,6 @@ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponse > = z.nativeEnum( GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody28Type, ); - /** @internal */ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody28Type$outboundSchema: z.ZodNativeEnum< @@ -4086,19 +3761,6 @@ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponse > = 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, @@ -4113,7 +3775,6 @@ export const GetDeploymentGitSource8$inboundSchema: z.ZodType< sha: z.string().optional(), prId: z.nullable(z.number()).optional(), }); - /** @internal */ export type GetDeploymentGitSource8$Outbound = { type: string; @@ -4139,19 +3800,6 @@ export const GetDeploymentGitSource8$outboundSchema: z.ZodType< 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 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 { @@ -4159,7 +3807,6 @@ export function getDeploymentGitSource8ToJSON( GetDeploymentGitSource8$outboundSchema.parse(getDeploymentGitSource8), ); } - export function getDeploymentGitSource8FromJSON( jsonString: string, ): SafeParseResult { @@ -4177,7 +3824,6 @@ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponse > = z.nativeEnum( GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody27Type, ); - /** @internal */ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody27Type$outboundSchema: z.ZodNativeEnum< @@ -4185,24 +3831,10 @@ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponse > = 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 GetDeploymentGitSourceDeploymentsProjectId$inboundSchema: z.ZodType = z.union([z.string(), z.number()]); - /** @internal */ export type GetDeploymentGitSourceDeploymentsProjectId$Outbound = | string @@ -4216,21 +3848,6 @@ export const GetDeploymentGitSourceDeploymentsProjectId$outboundSchema: 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, @@ -4241,7 +3858,6 @@ export function getDeploymentGitSourceDeploymentsProjectIdToJSON( ), ); } - export function getDeploymentGitSourceDeploymentsProjectIdFromJSON( jsonString: string, ): SafeParseResult< @@ -4271,7 +3887,6 @@ export const GetDeploymentGitSource7$inboundSchema: z.ZodType< sha: z.string().optional(), prId: z.nullable(z.number()).optional(), }); - /** @internal */ export type GetDeploymentGitSource7$Outbound = { type: string; @@ -4295,19 +3910,6 @@ export const GetDeploymentGitSource7$outboundSchema: z.ZodType< 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 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 { @@ -4315,7 +3917,6 @@ export function getDeploymentGitSource7ToJSON( GetDeploymentGitSource7$outboundSchema.parse(getDeploymentGitSource7), ); } - export function getDeploymentGitSource7FromJSON( jsonString: string, ): SafeParseResult { @@ -4333,7 +3934,6 @@ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponse > = z.nativeEnum( GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody26Type, ); - /** @internal */ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody26Type$outboundSchema: z.ZodNativeEnum< @@ -4341,19 +3941,6 @@ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponse > = 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, @@ -4368,7 +3955,6 @@ export const GetDeploymentGitSource6$inboundSchema: z.ZodType< sha: z.string().optional(), prId: z.nullable(z.number()).optional(), }); - /** @internal */ export type GetDeploymentGitSource6$Outbound = { type: string; @@ -4394,19 +3980,6 @@ export const GetDeploymentGitSource6$outboundSchema: z.ZodType< 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 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 { @@ -4414,7 +3987,6 @@ export function getDeploymentGitSource6ToJSON( GetDeploymentGitSource6$outboundSchema.parse(getDeploymentGitSource6), ); } - export function getDeploymentGitSource6FromJSON( jsonString: string, ): SafeParseResult { @@ -4432,7 +4004,6 @@ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponse > = z.nativeEnum( GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody25Type, ); - /** @internal */ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody25Type$outboundSchema: z.ZodNativeEnum< @@ -4440,19 +4011,6 @@ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponse > = 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 GetDeploymentGitSourceDeploymentsResponse200RepoId$inboundSchema: z.ZodType< @@ -4460,7 +4018,6 @@ export const GetDeploymentGitSourceDeploymentsResponse200RepoId$inboundSchema: z.ZodTypeDef, unknown > = z.union([z.string(), z.number()]); - /** @internal */ export type GetDeploymentGitSourceDeploymentsResponse200RepoId$Outbound = | string @@ -4474,22 +4031,6 @@ export const GetDeploymentGitSourceDeploymentsResponse200RepoId$outboundSchema: GetDeploymentGitSourceDeploymentsResponse200RepoId > = 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 GetDeploymentGitSourceDeploymentsResponse200RepoId$ { - /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200RepoId$inboundSchema` instead. */ - export const inboundSchema = - GetDeploymentGitSourceDeploymentsResponse200RepoId$inboundSchema; - /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200RepoId$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentGitSourceDeploymentsResponse200RepoId$outboundSchema; - /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200RepoId$Outbound` instead. */ - export type Outbound = - GetDeploymentGitSourceDeploymentsResponse200RepoId$Outbound; -} - export function getDeploymentGitSourceDeploymentsResponse200RepoIdToJSON( getDeploymentGitSourceDeploymentsResponse200RepoId: GetDeploymentGitSourceDeploymentsResponse200RepoId, @@ -4500,7 +4041,6 @@ export function getDeploymentGitSourceDeploymentsResponse200RepoIdToJSON( ), ); } - export function getDeploymentGitSourceDeploymentsResponse200RepoIdFromJSON( jsonString: string, ): SafeParseResult< @@ -4530,7 +4070,6 @@ export const GetDeploymentGitSource5$inboundSchema: z.ZodType< sha: z.string().optional(), prId: z.nullable(z.number()).optional(), }); - /** @internal */ export type GetDeploymentGitSource5$Outbound = { type: string; @@ -4554,19 +4093,6 @@ export const GetDeploymentGitSource5$outboundSchema: z.ZodType< 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 { @@ -4574,7 +4100,6 @@ export function getDeploymentGitSource5ToJSON( GetDeploymentGitSource5$outboundSchema.parse(getDeploymentGitSource5), ); } - export function getDeploymentGitSource5FromJSON( jsonString: string, ): SafeParseResult { @@ -4592,7 +4117,6 @@ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponse > = z.nativeEnum( GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody24Type, ); - /** @internal */ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody24Type$outboundSchema: z.ZodNativeEnum< @@ -4600,19 +4124,6 @@ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponse > = 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, @@ -4628,7 +4139,6 @@ export const GetDeploymentGitSource4$inboundSchema: z.ZodType< sha: z.string().optional(), prId: z.nullable(z.number()).optional(), }); - /** @internal */ export type GetDeploymentGitSource4$Outbound = { type: string; @@ -4656,19 +4166,6 @@ export const GetDeploymentGitSource4$outboundSchema: z.ZodType< 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 { @@ -4676,7 +4173,6 @@ export function getDeploymentGitSource4ToJSON( GetDeploymentGitSource4$outboundSchema.parse(getDeploymentGitSource4), ); } - export function getDeploymentGitSource4FromJSON( jsonString: string, ): SafeParseResult { @@ -4694,7 +4190,6 @@ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponse > = z.nativeEnum( GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody23Type, ); - /** @internal */ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody23Type$outboundSchema: z.ZodNativeEnum< @@ -4702,19 +4197,6 @@ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponse > = 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 GetDeploymentGitSourceDeploymentsResponseRepoId$inboundSchema: z.ZodType< @@ -4722,7 +4204,6 @@ export const GetDeploymentGitSourceDeploymentsResponseRepoId$inboundSchema: z.ZodTypeDef, unknown > = z.union([z.string(), z.number()]); - /** @internal */ export type GetDeploymentGitSourceDeploymentsResponseRepoId$Outbound = | string @@ -4736,22 +4217,6 @@ export const GetDeploymentGitSourceDeploymentsResponseRepoId$outboundSchema: GetDeploymentGitSourceDeploymentsResponseRepoId > = 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 GetDeploymentGitSourceDeploymentsResponseRepoId$ { - /** @deprecated use `GetDeploymentGitSourceDeploymentsResponseRepoId$inboundSchema` instead. */ - export const inboundSchema = - GetDeploymentGitSourceDeploymentsResponseRepoId$inboundSchema; - /** @deprecated use `GetDeploymentGitSourceDeploymentsResponseRepoId$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentGitSourceDeploymentsResponseRepoId$outboundSchema; - /** @deprecated use `GetDeploymentGitSourceDeploymentsResponseRepoId$Outbound` instead. */ - export type Outbound = - GetDeploymentGitSourceDeploymentsResponseRepoId$Outbound; -} - export function getDeploymentGitSourceDeploymentsResponseRepoIdToJSON( getDeploymentGitSourceDeploymentsResponseRepoId: GetDeploymentGitSourceDeploymentsResponseRepoId, @@ -4762,7 +4227,6 @@ export function getDeploymentGitSourceDeploymentsResponseRepoIdToJSON( ), ); } - export function getDeploymentGitSourceDeploymentsResponseRepoIdFromJSON( jsonString: string, ): SafeParseResult< @@ -4793,7 +4257,6 @@ export const GetDeploymentGitSource3$inboundSchema: z.ZodType< sha: z.string().optional(), prId: z.nullable(z.number()).optional(), }); - /** @internal */ export type GetDeploymentGitSource3$Outbound = { type: string; @@ -4819,19 +4282,6 @@ export const GetDeploymentGitSource3$outboundSchema: z.ZodType< 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 { @@ -4839,7 +4289,6 @@ export function getDeploymentGitSource3ToJSON( GetDeploymentGitSource3$outboundSchema.parse(getDeploymentGitSource3), ); } - export function getDeploymentGitSource3FromJSON( jsonString: string, ): SafeParseResult { @@ -4857,7 +4306,6 @@ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponse > = z.nativeEnum( GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody22Type, ); - /** @internal */ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody22Type$outboundSchema: z.ZodNativeEnum< @@ -4865,19 +4313,6 @@ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponse > = 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, @@ -4892,7 +4327,6 @@ export const GetDeploymentGitSource2$inboundSchema: z.ZodType< sha: z.string().optional(), prId: z.nullable(z.number()).optional(), }); - /** @internal */ export type GetDeploymentGitSource2$Outbound = { type: string; @@ -4918,19 +4352,6 @@ export const GetDeploymentGitSource2$outboundSchema: z.ZodType< 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 { @@ -4938,7 +4359,6 @@ export function getDeploymentGitSource2ToJSON( GetDeploymentGitSource2$outboundSchema.parse(getDeploymentGitSource2), ); } - export function getDeploymentGitSource2FromJSON( jsonString: string, ): SafeParseResult { @@ -4956,7 +4376,6 @@ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponse > = z.nativeEnum( GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody2Type, ); - /** @internal */ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody2Type$outboundSchema: z.ZodNativeEnum< @@ -4964,26 +4383,12 @@ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponse > = 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; @@ -4994,21 +4399,6 @@ export const GetDeploymentGitSourceDeploymentsRepoId$outboundSchema: z.ZodType< 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, @@ -5019,7 +4409,6 @@ export function getDeploymentGitSourceDeploymentsRepoIdToJSON( ), ); } - export function getDeploymentGitSourceDeploymentsRepoIdFromJSON( jsonString: string, ): SafeParseResult< @@ -5049,7 +4438,6 @@ export const GetDeploymentGitSource1$inboundSchema: z.ZodType< sha: z.string().optional(), prId: z.nullable(z.number()).optional(), }); - /** @internal */ export type GetDeploymentGitSource1$Outbound = { type: string; @@ -5073,19 +4461,6 @@ export const GetDeploymentGitSource1$outboundSchema: z.ZodType< 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 { @@ -5093,7 +4468,6 @@ export function getDeploymentGitSource1ToJSON( GetDeploymentGitSource1$outboundSchema.parse(getDeploymentGitSource1), ); } - export function getDeploymentGitSource1FromJSON( jsonString: string, ): SafeParseResult { @@ -5126,7 +4500,6 @@ export const ResponseBodyGitSource$inboundSchema: z.ZodType< z.lazy(() => GetDeploymentGitSource7$inboundSchema), z.lazy(() => GetDeploymentGitSource8$inboundSchema), ]); - /** @internal */ export type ResponseBodyGitSource$Outbound = | GetDeploymentGitSource12$Outbound @@ -5168,19 +4541,6 @@ export const ResponseBodyGitSource$outboundSchema: z.ZodType< z.lazy(() => GetDeploymentGitSource8$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 { @@ -5188,7 +4548,6 @@ export function responseBodyGitSourceToJSON( ResponseBodyGitSource$outboundSchema.parse(responseBodyGitSource), ); } - export function responseBodyGitSourceFromJSON( jsonString: string, ): SafeParseResult { @@ -5204,25 +4563,11 @@ export const GetDeploymentResponseBodyNodeVersion$inboundSchema: z.ZodNativeEnum = z.nativeEnum( GetDeploymentResponseBodyNodeVersion, ); - /** @internal */ export const GetDeploymentResponseBodyNodeVersion$outboundSchema: z.ZodNativeEnum = GetDeploymentResponseBodyNodeVersion$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentResponseBodyNodeVersion$ { - /** @deprecated use `GetDeploymentResponseBodyNodeVersion$inboundSchema` instead. */ - export const inboundSchema = - GetDeploymentResponseBodyNodeVersion$inboundSchema; - /** @deprecated use `GetDeploymentResponseBodyNodeVersion$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentResponseBodyNodeVersion$outboundSchema; -} - /** @internal */ export const GetDeploymentResponseBodyProject$inboundSchema: z.ZodType< GetDeploymentResponseBodyProject, @@ -5233,7 +4578,6 @@ export const GetDeploymentResponseBodyProject$inboundSchema: z.ZodType< name: z.string(), framework: z.nullable(z.string()).optional(), }); - /** @internal */ export type GetDeploymentResponseBodyProject$Outbound = { id: string; @@ -5252,19 +4596,6 @@ export const GetDeploymentResponseBodyProject$outboundSchema: z.ZodType< 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 { @@ -5274,7 +4605,6 @@ export function getDeploymentResponseBodyProjectToJSON( ), ); } - export function getDeploymentResponseBodyProjectFromJSON( jsonString: string, ): SafeParseResult { @@ -5290,67 +4620,29 @@ 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, @@ -5366,13 +4658,13 @@ export const GetDeploymentResponseBodyOidcTokenClaims$inboundSchema: z.ZodType< project: z.string(), project_id: z.string(), environment: z.string(), + plan: z.string(), }).transform((v) => { return remap$(v, { "owner_id": "ownerId", "project_id": "projectId", }); }); - /** @internal */ export type GetDeploymentResponseBodyOidcTokenClaims$Outbound = { iss: string; @@ -5384,6 +4676,7 @@ export type GetDeploymentResponseBodyOidcTokenClaims$Outbound = { project: string; project_id: string; environment: string; + plan: string; }; /** @internal */ @@ -5401,6 +4694,7 @@ export const GetDeploymentResponseBodyOidcTokenClaims$outboundSchema: z.ZodType< project: z.string(), projectId: z.string(), environment: z.string(), + plan: z.string(), }).transform((v) => { return remap$(v, { ownerId: "owner_id", @@ -5408,21 +4702,6 @@ export const GetDeploymentResponseBodyOidcTokenClaims$outboundSchema: z.ZodType< }); }); -/** - * @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, @@ -5433,7 +4712,6 @@ export function getDeploymentResponseBodyOidcTokenClaimsToJSON( ), ); } - export function getDeploymentResponseBodyOidcTokenClaimsFromJSON( jsonString: string, ): SafeParseResult< @@ -5538,7 +4816,6 @@ export const GetDeploymentResponseBody2$inboundSchema: z.ZodType< GetDeploymentResponseBodyOidcTokenClaims$inboundSchema ).optional(), }); - /** @internal */ export type GetDeploymentResponseBody2$Outbound = { alias?: Array | undefined; @@ -5708,19 +4985,6 @@ export const GetDeploymentResponseBody2$outboundSchema: z.ZodType< ).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 { @@ -5728,7 +4992,6 @@ export function getDeploymentResponseBody2ToJSON( GetDeploymentResponseBody2$outboundSchema.parse(getDeploymentResponseBody2), ); } - export function getDeploymentResponseBody2FromJSON( jsonString: string, ): SafeParseResult { @@ -5745,7 +5008,6 @@ export const ResponseBodyAliasAssignedAt$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.union([z.number(), z.boolean()]); - /** @internal */ export type ResponseBodyAliasAssignedAt$Outbound = number | boolean; @@ -5756,19 +5018,6 @@ export const ResponseBodyAliasAssignedAt$outboundSchema: z.ZodType< 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 { @@ -5778,7 +5027,6 @@ export function responseBodyAliasAssignedAtToJSON( ), ); } - export function responseBodyAliasAssignedAtFromJSON( jsonString: string, ): SafeParseResult { @@ -5797,7 +5045,6 @@ export const ResponseBodyBuild$inboundSchema: z.ZodType< > = z.object({ env: z.array(z.string()), }); - /** @internal */ export type ResponseBodyBuild$Outbound = { env: Array; @@ -5812,19 +5059,6 @@ export const ResponseBodyBuild$outboundSchema: z.ZodType< 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 { @@ -5832,7 +5066,6 @@ export function responseBodyBuildToJSON( ResponseBodyBuild$outboundSchema.parse(responseBodyBuild), ); } - export function responseBodyBuildFromJSON( jsonString: string, ): SafeParseResult { @@ -5853,7 +5086,6 @@ export const ResponseBodyBuilds$inboundSchema: z.ZodType< src: z.string().optional(), config: z.record(z.any()).optional(), }); - /** @internal */ export type ResponseBodyBuilds$Outbound = { use: string; @@ -5872,19 +5104,6 @@ export const ResponseBodyBuilds$outboundSchema: z.ZodType< config: z.record(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 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 { @@ -5892,7 +5111,6 @@ export function responseBodyBuildsToJSON( ResponseBodyBuilds$outboundSchema.parse(responseBodyBuilds), ); } - export function responseBodyBuildsFromJSON( jsonString: string, ): SafeParseResult { @@ -5907,23 +5125,11 @@ export function responseBodyBuildsFromJSON( 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, @@ -5937,7 +5143,6 @@ export const ResponseBodySpeedInsights$inboundSchema: z.ZodType< hasData: z.boolean().optional(), paidAt: z.number().optional(), }); - /** @internal */ export type ResponseBodySpeedInsights$Outbound = { id: string; @@ -5962,19 +5167,6 @@ export const ResponseBodySpeedInsights$outboundSchema: z.ZodType< 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 { @@ -5982,7 +5174,6 @@ export function responseBodySpeedInsightsToJSON( ResponseBodySpeedInsights$outboundSchema.parse(responseBodySpeedInsights), ); } - export function responseBodySpeedInsightsFromJSON( jsonString: string, ): SafeParseResult { @@ -6005,7 +5196,6 @@ export const ResponseBodyWebAnalytics$inboundSchema: z.ZodType< enabledAt: z.number().optional(), hasData: z.boolean().optional(), }); - /** @internal */ export type ResponseBodyWebAnalytics$Outbound = { id: string; @@ -6028,19 +5218,6 @@ export const ResponseBodyWebAnalytics$outboundSchema: z.ZodType< 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 { @@ -6048,7 +5225,6 @@ export function responseBodyWebAnalyticsToJSON( ResponseBodyWebAnalytics$outboundSchema.parse(responseBodyWebAnalytics), ); } - export function responseBodyWebAnalyticsFromJSON( jsonString: string, ): SafeParseResult { @@ -6075,7 +5251,6 @@ export const ResponseBodyProjectSettings$inboundSchema: z.ZodType< .optional(), webAnalytics: z.lazy(() => ResponseBodyWebAnalytics$inboundSchema).optional(), }); - /** @internal */ export type ResponseBodyProjectSettings$Outbound = { buildCommand?: string | null | undefined; @@ -6106,19 +5281,6 @@ export const ResponseBodyProjectSettings$outboundSchema: z.ZodType< .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 { @@ -6128,7 +5290,6 @@ export function responseBodyProjectSettingsToJSON( ), ); } - export function responseBodyProjectSettingsFromJSON( jsonString: string, ): SafeParseResult { @@ -6143,25 +5304,11 @@ export function responseBodyProjectSettingsFromJSON( 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, @@ -6174,7 +5321,6 @@ export const ResponseBodyIntegrations$inboundSchema: z.ZodType< skippedAt: z.number().optional(), skippedBy: z.string().optional(), }); - /** @internal */ export type ResponseBodyIntegrations$Outbound = { status: string; @@ -6197,19 +5343,6 @@ export const ResponseBodyIntegrations$outboundSchema: z.ZodType< 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 { @@ -6217,7 +5350,6 @@ export function responseBodyIntegrationsToJSON( ResponseBodyIntegrations$outboundSchema.parse(responseBodyIntegrations), ); } - export function responseBodyIntegrationsFromJSON( jsonString: string, ): SafeParseResult { @@ -6232,23 +5364,11 @@ export function responseBodyIntegrationsFromJSON( export const ResponseBodyProtocol$inboundSchema: z.ZodNativeEnum< typeof ResponseBodyProtocol > = z.nativeEnum(ResponseBodyProtocol); - /** @internal */ export const ResponseBodyProtocol$outboundSchema: z.ZodNativeEnum< typeof ResponseBodyProtocol > = ResponseBodyProtocol$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ResponseBodyProtocol$ { - /** @deprecated use `ResponseBodyProtocol$inboundSchema` instead. */ - export const inboundSchema = ResponseBodyProtocol$inboundSchema; - /** @deprecated use `ResponseBodyProtocol$outboundSchema` instead. */ - export const outboundSchema = ResponseBodyProtocol$outboundSchema; -} - /** @internal */ export const ResponseBodyRemotePatterns$inboundSchema: z.ZodType< ResponseBodyRemotePatterns, @@ -6261,7 +5381,6 @@ export const ResponseBodyRemotePatterns$inboundSchema: z.ZodType< pathname: z.string().optional(), search: z.string().optional(), }); - /** @internal */ export type ResponseBodyRemotePatterns$Outbound = { protocol?: string | undefined; @@ -6284,19 +5403,6 @@ export const ResponseBodyRemotePatterns$outboundSchema: z.ZodType< search: z.string().optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ResponseBodyRemotePatterns$ { - /** @deprecated use `ResponseBodyRemotePatterns$inboundSchema` instead. */ - export const inboundSchema = ResponseBodyRemotePatterns$inboundSchema; - /** @deprecated use `ResponseBodyRemotePatterns$outboundSchema` instead. */ - export const outboundSchema = ResponseBodyRemotePatterns$outboundSchema; - /** @deprecated use `ResponseBodyRemotePatterns$Outbound` instead. */ - export type Outbound = ResponseBodyRemotePatterns$Outbound; -} - export function responseBodyRemotePatternsToJSON( responseBodyRemotePatterns: ResponseBodyRemotePatterns, ): string { @@ -6304,7 +5410,6 @@ export function responseBodyRemotePatternsToJSON( ResponseBodyRemotePatterns$outboundSchema.parse(responseBodyRemotePatterns), ); } - export function responseBodyRemotePatternsFromJSON( jsonString: string, ): SafeParseResult { @@ -6324,7 +5429,6 @@ export const ResponseBodyLocalPatterns$inboundSchema: z.ZodType< pathname: z.string().optional(), search: z.string().optional(), }); - /** @internal */ export type ResponseBodyLocalPatterns$Outbound = { pathname?: string | undefined; @@ -6341,19 +5445,6 @@ export const ResponseBodyLocalPatterns$outboundSchema: z.ZodType< search: z.string().optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ResponseBodyLocalPatterns$ { - /** @deprecated use `ResponseBodyLocalPatterns$inboundSchema` instead. */ - export const inboundSchema = ResponseBodyLocalPatterns$inboundSchema; - /** @deprecated use `ResponseBodyLocalPatterns$outboundSchema` instead. */ - export const outboundSchema = ResponseBodyLocalPatterns$outboundSchema; - /** @deprecated use `ResponseBodyLocalPatterns$Outbound` instead. */ - export type Outbound = ResponseBodyLocalPatterns$Outbound; -} - export function responseBodyLocalPatternsToJSON( responseBodyLocalPatterns: ResponseBodyLocalPatterns, ): string { @@ -6361,7 +5452,6 @@ export function responseBodyLocalPatternsToJSON( ResponseBodyLocalPatterns$outboundSchema.parse(responseBodyLocalPatterns), ); } - export function responseBodyLocalPatternsFromJSON( jsonString: string, ): SafeParseResult { @@ -6376,45 +5466,20 @@ export function responseBodyLocalPatternsFromJSON( export const ResponseBodyFormats$inboundSchema: z.ZodNativeEnum< typeof ResponseBodyFormats > = z.nativeEnum(ResponseBodyFormats); - /** @internal */ export const ResponseBodyFormats$outboundSchema: z.ZodNativeEnum< typeof ResponseBodyFormats > = ResponseBodyFormats$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ResponseBodyFormats$ { - /** @deprecated use `ResponseBodyFormats$inboundSchema` instead. */ - export const inboundSchema = ResponseBodyFormats$inboundSchema; - /** @deprecated use `ResponseBodyFormats$outboundSchema` instead. */ - export const outboundSchema = ResponseBodyFormats$outboundSchema; -} - /** @internal */ export const ResponseBodyContentDispositionType$inboundSchema: z.ZodNativeEnum< typeof ResponseBodyContentDispositionType > = z.nativeEnum(ResponseBodyContentDispositionType); - /** @internal */ export const ResponseBodyContentDispositionType$outboundSchema: z.ZodNativeEnum< typeof ResponseBodyContentDispositionType > = ResponseBodyContentDispositionType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ResponseBodyContentDispositionType$ { - /** @deprecated use `ResponseBodyContentDispositionType$inboundSchema` instead. */ - export const inboundSchema = ResponseBodyContentDispositionType$inboundSchema; - /** @deprecated use `ResponseBodyContentDispositionType$outboundSchema` instead. */ - export const outboundSchema = - ResponseBodyContentDispositionType$outboundSchema; -} - /** @internal */ export const ResponseBodyImages$inboundSchema: z.ZodType< ResponseBodyImages, @@ -6436,7 +5501,6 @@ export const ResponseBodyImages$inboundSchema: z.ZodType< contentDispositionType: ResponseBodyContentDispositionType$inboundSchema .optional(), }); - /** @internal */ export type ResponseBodyImages$Outbound = { sizes?: Array | undefined; @@ -6473,19 +5537,6 @@ export const ResponseBodyImages$outboundSchema: z.ZodType< .optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ResponseBodyImages$ { - /** @deprecated use `ResponseBodyImages$inboundSchema` instead. */ - export const inboundSchema = ResponseBodyImages$inboundSchema; - /** @deprecated use `ResponseBodyImages$outboundSchema` instead. */ - export const outboundSchema = ResponseBodyImages$outboundSchema; - /** @deprecated use `ResponseBodyImages$Outbound` instead. */ - export type Outbound = ResponseBodyImages$Outbound; -} - export function responseBodyImagesToJSON( responseBodyImages: ResponseBodyImages, ): string { @@ -6493,7 +5544,6 @@ export function responseBodyImagesToJSON( ResponseBodyImages$outboundSchema.parse(responseBodyImages), ); } - export function responseBodyImagesFromJSON( jsonString: string, ): SafeParseResult { @@ -6514,7 +5564,6 @@ export const ResponseBodyCreator$inboundSchema: z.ZodType< username: z.string().optional(), avatar: z.string().optional(), }); - /** @internal */ export type ResponseBodyCreator$Outbound = { uid: string; @@ -6533,19 +5582,6 @@ export const ResponseBodyCreator$outboundSchema: z.ZodType< 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 { @@ -6553,7 +5589,6 @@ export function responseBodyCreatorToJSON( ResponseBodyCreator$outboundSchema.parse(responseBodyCreator), ); } - export function responseBodyCreatorFromJSON( jsonString: string, ): SafeParseResult { @@ -6569,26 +5604,12 @@ export const GetDeploymentResponseBodyDeploymentsResponseReadyState$inboundSchem 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, @@ -6598,7 +5619,6 @@ export const ResponseBodyOutput$inboundSchema: z.ZodType< path: z.string(), functionName: z.string(), }); - /** @internal */ export type ResponseBodyOutput$Outbound = { path: string; @@ -6615,19 +5635,6 @@ export const ResponseBodyOutput$outboundSchema: z.ZodType< 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 { @@ -6635,7 +5642,6 @@ export function responseBodyOutputToJSON( ResponseBodyOutput$outboundSchema.parse(responseBodyOutput), ); } - export function responseBodyOutputFromJSON( jsonString: string, ): SafeParseResult { @@ -6661,7 +5667,6 @@ export const GetDeploymentResponseBodyLambdas$inboundSchema: z.ZodType< readyStateAt: z.number().optional(), output: z.array(z.lazy(() => ResponseBodyOutput$inboundSchema)), }); - /** @internal */ export type GetDeploymentResponseBodyLambdas$Outbound = { id: string; @@ -6688,19 +5693,6 @@ export const GetDeploymentResponseBodyLambdas$outboundSchema: z.ZodType< 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 { @@ -6710,7 +5702,6 @@ export function getDeploymentResponseBodyLambdasToJSON( ), ); } - export function getDeploymentResponseBodyLambdasFromJSON( jsonString: string, ): SafeParseResult { @@ -6725,23 +5716,11 @@ export function getDeploymentResponseBodyLambdasFromJSON( 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, @@ -6753,7 +5732,6 @@ export const GetDeploymentResponseBodyTeam$inboundSchema: z.ZodType< slug: z.string(), avatar: z.string().optional(), }); - /** @internal */ export type GetDeploymentResponseBodyTeam$Outbound = { id: string; @@ -6774,19 +5752,6 @@ export const GetDeploymentResponseBodyTeam$outboundSchema: z.ZodType< 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 { @@ -6796,7 +5761,6 @@ export function getDeploymentResponseBodyTeamToJSON( ), ); } - export function getDeploymentResponseBodyTeamFromJSON( jsonString: string, ): SafeParseResult { @@ -6813,7 +5777,6 @@ export const GetDeploymentCustomEnvironmentDeployments2$inboundSchema: z.object({ id: z.string(), }); - /** @internal */ export type GetDeploymentCustomEnvironmentDeployments2$Outbound = { id: string; @@ -6829,21 +5792,6 @@ export const GetDeploymentCustomEnvironmentDeployments2$outboundSchema: 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, @@ -6854,7 +5802,6 @@ export function getDeploymentCustomEnvironmentDeployments2ToJSON( ), ); } - export function getDeploymentCustomEnvironmentDeployments2FromJSON( jsonString: string, ): SafeParseResult< @@ -6875,50 +5822,22 @@ export function getDeploymentCustomEnvironmentDeployments2FromJSON( export const GetDeploymentCustomEnvironmentDeploymentsType$inboundSchema: z.ZodNativeEnum = z .nativeEnum(GetDeploymentCustomEnvironmentDeploymentsType); - /** @internal */ export const GetDeploymentCustomEnvironmentDeploymentsType$outboundSchema: z.ZodNativeEnum = GetDeploymentCustomEnvironmentDeploymentsType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentCustomEnvironmentDeploymentsType$ { - /** @deprecated use `GetDeploymentCustomEnvironmentDeploymentsType$inboundSchema` instead. */ - export const inboundSchema = - GetDeploymentCustomEnvironmentDeploymentsType$inboundSchema; - /** @deprecated use `GetDeploymentCustomEnvironmentDeploymentsType$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentCustomEnvironmentDeploymentsType$outboundSchema; -} - /** @internal */ export const GetDeploymentCustomEnvironmentDeploymentsResponse200Type$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentCustomEnvironmentDeploymentsResponse200Type > = z.nativeEnum(GetDeploymentCustomEnvironmentDeploymentsResponse200Type); - /** @internal */ export const GetDeploymentCustomEnvironmentDeploymentsResponse200Type$outboundSchema: z.ZodNativeEnum< typeof GetDeploymentCustomEnvironmentDeploymentsResponse200Type > = GetDeploymentCustomEnvironmentDeploymentsResponse200Type$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentCustomEnvironmentDeploymentsResponse200Type$ { - /** @deprecated use `GetDeploymentCustomEnvironmentDeploymentsResponse200Type$inboundSchema` instead. */ - export const inboundSchema = - GetDeploymentCustomEnvironmentDeploymentsResponse200Type$inboundSchema; - /** @deprecated use `GetDeploymentCustomEnvironmentDeploymentsResponse200Type$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentCustomEnvironmentDeploymentsResponse200Type$outboundSchema; -} - /** @internal */ export const GetDeploymentCustomEnvironmentDeploymentsBranchMatcher$inboundSchema: z.ZodType< @@ -6930,7 +5849,6 @@ export const GetDeploymentCustomEnvironmentDeploymentsBranchMatcher$inboundSchem GetDeploymentCustomEnvironmentDeploymentsResponse200Type$inboundSchema, pattern: z.string(), }); - /** @internal */ export type GetDeploymentCustomEnvironmentDeploymentsBranchMatcher$Outbound = { type: string; @@ -6949,22 +5867,6 @@ export const GetDeploymentCustomEnvironmentDeploymentsBranchMatcher$outboundSche 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 GetDeploymentCustomEnvironmentDeploymentsBranchMatcher$ { - /** @deprecated use `GetDeploymentCustomEnvironmentDeploymentsBranchMatcher$inboundSchema` instead. */ - export const inboundSchema = - GetDeploymentCustomEnvironmentDeploymentsBranchMatcher$inboundSchema; - /** @deprecated use `GetDeploymentCustomEnvironmentDeploymentsBranchMatcher$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentCustomEnvironmentDeploymentsBranchMatcher$outboundSchema; - /** @deprecated use `GetDeploymentCustomEnvironmentDeploymentsBranchMatcher$Outbound` instead. */ - export type Outbound = - GetDeploymentCustomEnvironmentDeploymentsBranchMatcher$Outbound; -} - export function getDeploymentCustomEnvironmentDeploymentsBranchMatcherToJSON( getDeploymentCustomEnvironmentDeploymentsBranchMatcher: GetDeploymentCustomEnvironmentDeploymentsBranchMatcher, @@ -6975,7 +5877,6 @@ export function getDeploymentCustomEnvironmentDeploymentsBranchMatcherToJSON( ), ); } - export function getDeploymentCustomEnvironmentDeploymentsBranchMatcherFromJSON( jsonString: string, ): SafeParseResult< @@ -7003,7 +5904,6 @@ export const GetDeploymentCustomEnvironmentDeploymentsVerification$inboundSchema value: z.string(), reason: z.string(), }); - /** @internal */ export type GetDeploymentCustomEnvironmentDeploymentsVerification$Outbound = { type: string; @@ -7025,22 +5925,6 @@ export const GetDeploymentCustomEnvironmentDeploymentsVerification$outboundSchem 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 GetDeploymentCustomEnvironmentDeploymentsVerification$ { - /** @deprecated use `GetDeploymentCustomEnvironmentDeploymentsVerification$inboundSchema` instead. */ - export const inboundSchema = - GetDeploymentCustomEnvironmentDeploymentsVerification$inboundSchema; - /** @deprecated use `GetDeploymentCustomEnvironmentDeploymentsVerification$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentCustomEnvironmentDeploymentsVerification$outboundSchema; - /** @deprecated use `GetDeploymentCustomEnvironmentDeploymentsVerification$Outbound` instead. */ - export type Outbound = - GetDeploymentCustomEnvironmentDeploymentsVerification$Outbound; -} - export function getDeploymentCustomEnvironmentDeploymentsVerificationToJSON( getDeploymentCustomEnvironmentDeploymentsVerification: GetDeploymentCustomEnvironmentDeploymentsVerification, @@ -7051,7 +5935,6 @@ export function getDeploymentCustomEnvironmentDeploymentsVerificationToJSON( ), ); } - export function getDeploymentCustomEnvironmentDeploymentsVerificationFromJSON( jsonString: string, ): SafeParseResult< @@ -7091,7 +5974,6 @@ export const GetDeploymentCustomEnvironmentDeploymentsDomains$inboundSchema: ), ).optional(), }); - /** @internal */ export type GetDeploymentCustomEnvironmentDeploymentsDomains$Outbound = { name: string; @@ -7133,22 +6015,6 @@ export const GetDeploymentCustomEnvironmentDeploymentsDomains$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 GetDeploymentCustomEnvironmentDeploymentsDomains$ { - /** @deprecated use `GetDeploymentCustomEnvironmentDeploymentsDomains$inboundSchema` instead. */ - export const inboundSchema = - GetDeploymentCustomEnvironmentDeploymentsDomains$inboundSchema; - /** @deprecated use `GetDeploymentCustomEnvironmentDeploymentsDomains$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentCustomEnvironmentDeploymentsDomains$outboundSchema; - /** @deprecated use `GetDeploymentCustomEnvironmentDeploymentsDomains$Outbound` instead. */ - export type Outbound = - GetDeploymentCustomEnvironmentDeploymentsDomains$Outbound; -} - export function getDeploymentCustomEnvironmentDeploymentsDomainsToJSON( getDeploymentCustomEnvironmentDeploymentsDomains: GetDeploymentCustomEnvironmentDeploymentsDomains, @@ -7159,7 +6025,6 @@ export function getDeploymentCustomEnvironmentDeploymentsDomainsToJSON( ), ); } - export function getDeploymentCustomEnvironmentDeploymentsDomainsFromJSON( jsonString: string, ): SafeParseResult< @@ -7196,7 +6061,6 @@ export const GetDeploymentCustomEnvironmentDeployments1$inboundSchema: createdAt: z.number(), updatedAt: z.number(), }); - /** @internal */ export type GetDeploymentCustomEnvironmentDeployments1$Outbound = { id: string; @@ -7238,21 +6102,6 @@ export const GetDeploymentCustomEnvironmentDeployments1$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 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, @@ -7263,7 +6112,6 @@ export function getDeploymentCustomEnvironmentDeployments1ToJSON( ), ); } - export function getDeploymentCustomEnvironmentDeployments1FromJSON( jsonString: string, ): SafeParseResult< @@ -7287,7 +6135,6 @@ export const GetDeploymentResponseBodyCustomEnvironment$inboundSchema: z.lazy(() => GetDeploymentCustomEnvironmentDeployments1$inboundSchema), z.lazy(() => GetDeploymentCustomEnvironmentDeployments2$inboundSchema), ]); - /** @internal */ export type GetDeploymentResponseBodyCustomEnvironment$Outbound = | GetDeploymentCustomEnvironmentDeployments1$Outbound @@ -7304,21 +6151,6 @@ export const GetDeploymentResponseBodyCustomEnvironment$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, @@ -7329,7 +6161,6 @@ export function getDeploymentResponseBodyCustomEnvironmentToJSON( ), ); } - export function getDeploymentResponseBodyCustomEnvironmentFromJSON( jsonString: string, ): SafeParseResult< @@ -7350,24 +6181,11 @@ export function getDeploymentResponseBodyCustomEnvironmentFromJSON( export const GetDeploymentResponseBodyOomReport$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentResponseBodyOomReport > = z.nativeEnum(GetDeploymentResponseBodyOomReport); - /** @internal */ export const GetDeploymentResponseBodyOomReport$outboundSchema: z.ZodNativeEnum< typeof GetDeploymentResponseBodyOomReport > = GetDeploymentResponseBodyOomReport$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentResponseBodyOomReport$ { - /** @deprecated use `GetDeploymentResponseBodyOomReport$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentResponseBodyOomReport$inboundSchema; - /** @deprecated use `GetDeploymentResponseBodyOomReport$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentResponseBodyOomReport$outboundSchema; -} - /** @internal */ export const GetDeploymentResponseBodyAliasWarning$inboundSchema: z.ZodType< GetDeploymentResponseBodyAliasWarning, @@ -7379,7 +6197,6 @@ export const GetDeploymentResponseBodyAliasWarning$inboundSchema: z.ZodType< link: z.string().optional(), action: z.string().optional(), }); - /** @internal */ export type GetDeploymentResponseBodyAliasWarning$Outbound = { code: string; @@ -7400,21 +6217,6 @@ export const GetDeploymentResponseBodyAliasWarning$outboundSchema: z.ZodType< 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 { @@ -7424,7 +6226,6 @@ export function getDeploymentResponseBodyAliasWarningToJSON( ), ); } - export function getDeploymentResponseBodyAliasWarningFromJSON( jsonString: string, ): SafeParseResult { @@ -7440,44 +6241,20 @@ export function getDeploymentResponseBodyAliasWarningFromJSON( 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 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 ResponseBodyAliasError$inboundSchema: z.ZodType< ResponseBodyAliasError, @@ -7487,7 +6264,6 @@ export const ResponseBodyAliasError$inboundSchema: z.ZodType< code: z.string(), message: z.string(), }); - /** @internal */ export type ResponseBodyAliasError$Outbound = { code: string; @@ -7504,19 +6280,6 @@ export const ResponseBodyAliasError$outboundSchema: z.ZodType< 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 { @@ -7524,7 +6287,6 @@ export function responseBodyAliasErrorToJSON( ResponseBodyAliasError$outboundSchema.parse(responseBodyAliasError), ); } - export function responseBodyAliasErrorFromJSON( jsonString: string, ): SafeParseResult { @@ -7539,44 +6301,20 @@ export function responseBodyAliasErrorFromJSON( 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 GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody115Type$inboundSchema: z.ZodNativeEnum< @@ -7584,7 +6322,6 @@ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponse > = z.nativeEnum( GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody115Type, ); - /** @internal */ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody115Type$outboundSchema: z.ZodNativeEnum< @@ -7592,19 +6329,6 @@ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponse > = GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody115Type$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody115Type$ { - /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody115Type$inboundSchema` instead. */ - export const inboundSchema = - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody115Type$inboundSchema; - /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody115Type$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody115Type$outboundSchema; -} - /** @internal */ export const GetDeploymentGitSourceDeployments15$inboundSchema: z.ZodType< GetDeploymentGitSourceDeployments15, @@ -7620,7 +6344,6 @@ export const GetDeploymentGitSourceDeployments15$inboundSchema: z.ZodType< workspaceUuid: z.string(), repoUuid: z.string(), }); - /** @internal */ export type GetDeploymentGitSourceDeployments15$Outbound = { type: string; @@ -7648,21 +6371,6 @@ export const GetDeploymentGitSourceDeployments15$outboundSchema: z.ZodType< 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 GetDeploymentGitSourceDeployments15$ { - /** @deprecated use `GetDeploymentGitSourceDeployments15$inboundSchema` instead. */ - export const inboundSchema = - GetDeploymentGitSourceDeployments15$inboundSchema; - /** @deprecated use `GetDeploymentGitSourceDeployments15$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentGitSourceDeployments15$outboundSchema; - /** @deprecated use `GetDeploymentGitSourceDeployments15$Outbound` instead. */ - export type Outbound = GetDeploymentGitSourceDeployments15$Outbound; -} - export function getDeploymentGitSourceDeployments15ToJSON( getDeploymentGitSourceDeployments15: GetDeploymentGitSourceDeployments15, ): string { @@ -7672,7 +6380,6 @@ export function getDeploymentGitSourceDeployments15ToJSON( ), ); } - export function getDeploymentGitSourceDeployments15FromJSON( jsonString: string, ): SafeParseResult { @@ -7691,7 +6398,6 @@ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponse > = z.nativeEnum( GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody114Type, ); - /** @internal */ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody114Type$outboundSchema: z.ZodNativeEnum< @@ -7699,19 +6405,6 @@ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponse > = GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody114Type$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody114Type$ { - /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody114Type$inboundSchema` instead. */ - export const inboundSchema = - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody114Type$inboundSchema; - /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody114Type$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody114Type$outboundSchema; -} - /** @internal */ export const GetDeploymentGitSourceDeployments14$inboundSchema: z.ZodType< GetDeploymentGitSourceDeployments14, @@ -7724,7 +6417,6 @@ export const GetDeploymentGitSourceDeployments14$inboundSchema: z.ZodType< sha: z.string(), projectId: z.number(), }); - /** @internal */ export type GetDeploymentGitSourceDeployments14$Outbound = { type: string; @@ -7746,21 +6438,6 @@ export const GetDeploymentGitSourceDeployments14$outboundSchema: z.ZodType< 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 GetDeploymentGitSourceDeployments14$ { - /** @deprecated use `GetDeploymentGitSourceDeployments14$inboundSchema` instead. */ - export const inboundSchema = - GetDeploymentGitSourceDeployments14$inboundSchema; - /** @deprecated use `GetDeploymentGitSourceDeployments14$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentGitSourceDeployments14$outboundSchema; - /** @deprecated use `GetDeploymentGitSourceDeployments14$Outbound` instead. */ - export type Outbound = GetDeploymentGitSourceDeployments14$Outbound; -} - export function getDeploymentGitSourceDeployments14ToJSON( getDeploymentGitSourceDeployments14: GetDeploymentGitSourceDeployments14, ): string { @@ -7770,7 +6447,6 @@ export function getDeploymentGitSourceDeployments14ToJSON( ), ); } - export function getDeploymentGitSourceDeployments14FromJSON( jsonString: string, ): SafeParseResult { @@ -7789,7 +6465,6 @@ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponse > = z.nativeEnum( GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody113Type, ); - /** @internal */ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody113Type$outboundSchema: z.ZodNativeEnum< @@ -7797,19 +6472,6 @@ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponse > = GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody113Type$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody113Type$ { - /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody113Type$inboundSchema` instead. */ - export const inboundSchema = - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody113Type$inboundSchema; - /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody113Type$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody113Type$outboundSchema; -} - /** @internal */ export const GetDeploymentGitSourceDeployments13$inboundSchema: z.ZodType< GetDeploymentGitSourceDeployments13, @@ -7824,7 +6486,6 @@ export const GetDeploymentGitSourceDeployments13$inboundSchema: z.ZodType< org: z.string().optional(), repo: z.string().optional(), }); - /** @internal */ export type GetDeploymentGitSourceDeployments13$Outbound = { type: string; @@ -7850,21 +6511,6 @@ export const GetDeploymentGitSourceDeployments13$outboundSchema: z.ZodType< 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 GetDeploymentGitSourceDeployments13$ { - /** @deprecated use `GetDeploymentGitSourceDeployments13$inboundSchema` instead. */ - export const inboundSchema = - GetDeploymentGitSourceDeployments13$inboundSchema; - /** @deprecated use `GetDeploymentGitSourceDeployments13$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentGitSourceDeployments13$outboundSchema; - /** @deprecated use `GetDeploymentGitSourceDeployments13$Outbound` instead. */ - export type Outbound = GetDeploymentGitSourceDeployments13$Outbound; -} - export function getDeploymentGitSourceDeployments13ToJSON( getDeploymentGitSourceDeployments13: GetDeploymentGitSourceDeployments13, ): string { @@ -7874,7 +6520,6 @@ export function getDeploymentGitSourceDeployments13ToJSON( ), ); } - export function getDeploymentGitSourceDeployments13FromJSON( jsonString: string, ): SafeParseResult { @@ -7893,7 +6538,6 @@ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponse > = z.nativeEnum( GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody112Type, ); - /** @internal */ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody112Type$outboundSchema: z.ZodNativeEnum< @@ -7901,19 +6545,6 @@ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponse > = GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody112Type$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody112Type$ { - /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody112Type$inboundSchema` instead. */ - export const inboundSchema = - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody112Type$inboundSchema; - /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody112Type$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody112Type$outboundSchema; -} - /** @internal */ export const GetDeploymentGitSourceDeployments12$inboundSchema: z.ZodType< GetDeploymentGitSourceDeployments12, @@ -7929,7 +6560,6 @@ export const GetDeploymentGitSourceDeployments12$inboundSchema: z.ZodType< org: z.string().optional(), repo: z.string().optional(), }); - /** @internal */ export type GetDeploymentGitSourceDeployments12$Outbound = { type: string; @@ -7957,21 +6587,6 @@ export const GetDeploymentGitSourceDeployments12$outboundSchema: z.ZodType< 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 GetDeploymentGitSourceDeployments12$ { - /** @deprecated use `GetDeploymentGitSourceDeployments12$inboundSchema` instead. */ - export const inboundSchema = - GetDeploymentGitSourceDeployments12$inboundSchema; - /** @deprecated use `GetDeploymentGitSourceDeployments12$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentGitSourceDeployments12$outboundSchema; - /** @deprecated use `GetDeploymentGitSourceDeployments12$Outbound` instead. */ - export type Outbound = GetDeploymentGitSourceDeployments12$Outbound; -} - export function getDeploymentGitSourceDeployments12ToJSON( getDeploymentGitSourceDeployments12: GetDeploymentGitSourceDeployments12, ): string { @@ -7981,7 +6596,6 @@ export function getDeploymentGitSourceDeployments12ToJSON( ), ); } - export function getDeploymentGitSourceDeployments12FromJSON( jsonString: string, ): SafeParseResult { @@ -8000,7 +6614,6 @@ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponse > = z.nativeEnum( GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody111Type, ); - /** @internal */ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody111Type$outboundSchema: z.ZodNativeEnum< @@ -8008,19 +6621,6 @@ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponse > = GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody111Type$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody111Type$ { - /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody111Type$inboundSchema` instead. */ - export const inboundSchema = - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody111Type$inboundSchema; - /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody111Type$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody111Type$outboundSchema; -} - /** @internal */ export const GetDeploymentGitSourceDeployments11$inboundSchema: z.ZodType< GetDeploymentGitSourceDeployments11, @@ -8035,7 +6635,6 @@ export const GetDeploymentGitSourceDeployments11$inboundSchema: z.ZodType< org: z.string().optional(), repo: z.string().optional(), }); - /** @internal */ export type GetDeploymentGitSourceDeployments11$Outbound = { type: string; @@ -8061,21 +6660,6 @@ export const GetDeploymentGitSourceDeployments11$outboundSchema: z.ZodType< 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 GetDeploymentGitSourceDeployments11$ { - /** @deprecated use `GetDeploymentGitSourceDeployments11$inboundSchema` instead. */ - export const inboundSchema = - GetDeploymentGitSourceDeployments11$inboundSchema; - /** @deprecated use `GetDeploymentGitSourceDeployments11$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentGitSourceDeployments11$outboundSchema; - /** @deprecated use `GetDeploymentGitSourceDeployments11$Outbound` instead. */ - export type Outbound = GetDeploymentGitSourceDeployments11$Outbound; -} - export function getDeploymentGitSourceDeployments11ToJSON( getDeploymentGitSourceDeployments11: GetDeploymentGitSourceDeployments11, ): string { @@ -8085,7 +6669,6 @@ export function getDeploymentGitSourceDeployments11ToJSON( ), ); } - export function getDeploymentGitSourceDeployments11FromJSON( jsonString: string, ): SafeParseResult { @@ -8104,7 +6687,6 @@ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponse > = z.nativeEnum( GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody110Type, ); - /** @internal */ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody110Type$outboundSchema: z.ZodNativeEnum< @@ -8112,19 +6694,6 @@ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponse > = GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody110Type$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody110Type$ { - /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody110Type$inboundSchema` instead. */ - export const inboundSchema = - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody110Type$inboundSchema; - /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody110Type$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody110Type$outboundSchema; -} - /** @internal */ export const GetDeploymentGitSourceDeployments10$inboundSchema: z.ZodType< GetDeploymentGitSourceDeployments10, @@ -8137,7 +6706,6 @@ export const GetDeploymentGitSourceDeployments10$inboundSchema: z.ZodType< sha: z.string(), gitUrl: z.string(), }); - /** @internal */ export type GetDeploymentGitSourceDeployments10$Outbound = { type: string; @@ -8159,21 +6727,6 @@ export const GetDeploymentGitSourceDeployments10$outboundSchema: z.ZodType< 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 GetDeploymentGitSourceDeployments10$ { - /** @deprecated use `GetDeploymentGitSourceDeployments10$inboundSchema` instead. */ - export const inboundSchema = - GetDeploymentGitSourceDeployments10$inboundSchema; - /** @deprecated use `GetDeploymentGitSourceDeployments10$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentGitSourceDeployments10$outboundSchema; - /** @deprecated use `GetDeploymentGitSourceDeployments10$Outbound` instead. */ - export type Outbound = GetDeploymentGitSourceDeployments10$Outbound; -} - export function getDeploymentGitSourceDeployments10ToJSON( getDeploymentGitSourceDeployments10: GetDeploymentGitSourceDeployments10, ): string { @@ -8183,7 +6736,6 @@ export function getDeploymentGitSourceDeployments10ToJSON( ), ); } - export function getDeploymentGitSourceDeployments10FromJSON( jsonString: string, ): SafeParseResult { @@ -8202,7 +6754,6 @@ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponse > = z.nativeEnum( GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody19Type, ); - /** @internal */ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody19Type$outboundSchema: z.ZodNativeEnum< @@ -8210,19 +6761,6 @@ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponse > = 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, @@ -8237,7 +6775,6 @@ export const GetDeploymentGitSourceDeployments9$inboundSchema: z.ZodType< sha: z.string().optional(), prId: z.nullable(z.number()).optional(), }); - /** @internal */ export type GetDeploymentGitSourceDeployments9$Outbound = { type: string; @@ -8263,20 +6800,6 @@ export const GetDeploymentGitSourceDeployments9$outboundSchema: z.ZodType< 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 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 { @@ -8286,7 +6809,6 @@ export function getDeploymentGitSourceDeployments9ToJSON( ), ); } - export function getDeploymentGitSourceDeployments9FromJSON( jsonString: string, ): SafeParseResult { @@ -8305,7 +6827,6 @@ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponse > = z.nativeEnum( GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody1Type, ); - /** @internal */ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody1Type$outboundSchema: z.ZodNativeEnum< @@ -8313,19 +6834,6 @@ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponse > = 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, @@ -8340,7 +6848,6 @@ export const GetDeploymentGitSourceDeployments8$inboundSchema: z.ZodType< sha: z.string().optional(), prId: z.nullable(z.number()).optional(), }); - /** @internal */ export type GetDeploymentGitSourceDeployments8$Outbound = { type: string; @@ -8366,20 +6873,6 @@ export const GetDeploymentGitSourceDeployments8$outboundSchema: z.ZodType< 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 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 { @@ -8389,7 +6882,6 @@ export function getDeploymentGitSourceDeployments8ToJSON( ), ); } - export function getDeploymentGitSourceDeployments8FromJSON( jsonString: string, ): SafeParseResult { @@ -8408,7 +6900,6 @@ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponse > = z.nativeEnum( GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType, ); - /** @internal */ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyType$outboundSchema: z.ZodNativeEnum< @@ -8416,26 +6907,12 @@ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponse > = 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 GetDeploymentGitSourceProjectId$inboundSchema: z.ZodType< GetDeploymentGitSourceProjectId, z.ZodTypeDef, unknown > = z.union([z.string(), z.number()]); - /** @internal */ export type GetDeploymentGitSourceProjectId$Outbound = string | number; @@ -8446,19 +6923,6 @@ export const GetDeploymentGitSourceProjectId$outboundSchema: z.ZodType< 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 { @@ -8468,7 +6932,6 @@ export function getDeploymentGitSourceProjectIdToJSON( ), ); } - export function getDeploymentGitSourceProjectIdFromJSON( jsonString: string, ): SafeParseResult { @@ -8492,7 +6955,6 @@ export const GetDeploymentGitSourceDeployments7$inboundSchema: z.ZodType< sha: z.string().optional(), prId: z.nullable(z.number()).optional(), }); - /** @internal */ export type GetDeploymentGitSourceDeployments7$Outbound = { type: string; @@ -8516,20 +6978,6 @@ export const GetDeploymentGitSourceDeployments7$outboundSchema: z.ZodType< 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 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 { @@ -8539,7 +6987,6 @@ export function getDeploymentGitSourceDeployments7ToJSON( ), ); } - export function getDeploymentGitSourceDeployments7FromJSON( jsonString: string, ): SafeParseResult { @@ -8558,7 +7005,6 @@ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$inb > = z.nativeEnum( GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONType, ); - /** @internal */ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$outboundSchema: z.ZodNativeEnum< @@ -8566,19 +7012,6 @@ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONType$out > = 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, @@ -8593,7 +7026,6 @@ export const GetDeploymentGitSourceDeployments6$inboundSchema: z.ZodType< sha: z.string().optional(), prId: z.nullable(z.number()).optional(), }); - /** @internal */ export type GetDeploymentGitSourceDeployments6$Outbound = { type: string; @@ -8619,20 +7051,6 @@ export const GetDeploymentGitSourceDeployments6$outboundSchema: z.ZodType< 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 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 { @@ -8642,7 +7060,6 @@ export function getDeploymentGitSourceDeployments6ToJSON( ), ); } - export function getDeploymentGitSourceDeployments6FromJSON( jsonString: string, ): SafeParseResult { @@ -8658,32 +7075,17 @@ export function getDeploymentGitSourceDeployments6FromJSON( 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 GetDeploymentGitSourceRepoId$inboundSchema: z.ZodType< GetDeploymentGitSourceRepoId, z.ZodTypeDef, unknown > = z.union([z.string(), z.number()]); - /** @internal */ export type GetDeploymentGitSourceRepoId$Outbound = string | number; @@ -8694,19 +7096,6 @@ export const GetDeploymentGitSourceRepoId$outboundSchema: z.ZodType< 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 { @@ -8716,7 +7105,6 @@ export function getDeploymentGitSourceRepoIdToJSON( ), ); } - export function getDeploymentGitSourceRepoIdFromJSON( jsonString: string, ): SafeParseResult { @@ -8739,7 +7127,6 @@ export const GetDeploymentGitSourceDeployments5$inboundSchema: z.ZodType< sha: z.string().optional(), prId: z.nullable(z.number()).optional(), }); - /** @internal */ export type GetDeploymentGitSourceDeployments5$Outbound = { type: string; @@ -8762,20 +7149,6 @@ export const GetDeploymentGitSourceDeployments5$outboundSchema: z.ZodType< 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 { @@ -8785,7 +7158,6 @@ export function getDeploymentGitSourceDeployments5ToJSON( ), ); } - export function getDeploymentGitSourceDeployments5FromJSON( jsonString: string, ): SafeParseResult { @@ -8801,24 +7173,10 @@ export function getDeploymentGitSourceDeployments5FromJSON( 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 = + z.ZodNativeEnum = GetDeploymentGitSourceDeploymentsResponseType$inboundSchema; - /** @deprecated use `GetDeploymentGitSourceDeploymentsResponseType$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentGitSourceDeploymentsResponseType$outboundSchema; -} /** @internal */ export const GetDeploymentGitSourceDeployments4$inboundSchema: z.ZodType< @@ -8834,7 +7192,6 @@ export const GetDeploymentGitSourceDeployments4$inboundSchema: z.ZodType< sha: z.string().optional(), prId: z.nullable(z.number()).optional(), }); - /** @internal */ export type GetDeploymentGitSourceDeployments4$Outbound = { type: string; @@ -8861,20 +7218,6 @@ export const GetDeploymentGitSourceDeployments4$outboundSchema: z.ZodType< 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 { @@ -8884,7 +7227,6 @@ export function getDeploymentGitSourceDeployments4ToJSON( ), ); } - export function getDeploymentGitSourceDeployments4FromJSON( jsonString: string, ): SafeParseResult { @@ -8901,25 +7243,11 @@ 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 GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyRepoId$inboundSchema: z.ZodType< @@ -8927,7 +7255,6 @@ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponse z.ZodTypeDef, unknown > = z.union([z.string(), z.number()]); - /** @internal */ export type GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyRepoId$Outbound = | string @@ -8941,22 +7268,6 @@ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponse GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyRepoId > = 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 GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyRepoId$ { - /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyRepoId$inboundSchema` instead. */ - export const inboundSchema = - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyRepoId$inboundSchema; - /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyRepoId$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyRepoId$outboundSchema; - /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyRepoId$Outbound` instead. */ - export type Outbound = - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyRepoId$Outbound; -} - export function getDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyRepoIdToJSON( getDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyRepoId: GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyRepoId, @@ -8968,7 +7279,6 @@ export function getDeploymentGitSourceDeploymentsResponse200ApplicationJSONRespo ), ); } - export function getDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBodyRepoIdFromJSON( jsonString: string, ): SafeParseResult< @@ -8997,7 +7307,6 @@ export const GetDeploymentGitSourceDeployments3$inboundSchema: z.ZodType< sha: z.string().optional(), prId: z.nullable(z.number()).optional(), }); - /** @internal */ export type GetDeploymentGitSourceDeployments3$Outbound = { type: string; @@ -9022,20 +7331,6 @@ export const GetDeploymentGitSourceDeployments3$outboundSchema: z.ZodType< 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 { @@ -9045,7 +7340,6 @@ export function getDeploymentGitSourceDeployments3ToJSON( ), ); } - export function getDeploymentGitSourceDeployments3FromJSON( jsonString: string, ): SafeParseResult { @@ -9061,23 +7355,11 @@ export function getDeploymentGitSourceDeployments3FromJSON( 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, @@ -9091,7 +7373,6 @@ export const GetDeploymentGitSourceDeployments2$inboundSchema: z.ZodType< sha: z.string().optional(), prId: z.nullable(z.number()).optional(), }); - /** @internal */ export type GetDeploymentGitSourceDeployments2$Outbound = { type: string; @@ -9116,20 +7397,6 @@ export const GetDeploymentGitSourceDeployments2$outboundSchema: z.ZodType< 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 { @@ -9139,7 +7406,6 @@ export function getDeploymentGitSourceDeployments2ToJSON( ), ); } - export function getDeploymentGitSourceDeployments2FromJSON( jsonString: string, ): SafeParseResult { @@ -9158,7 +7424,6 @@ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponse > = z.nativeEnum( GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type, ); - /** @internal */ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponseBody11Type$outboundSchema: z.ZodNativeEnum< @@ -9166,19 +7431,6 @@ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONResponse > = 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 GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONRepoId$inboundSchema: z.ZodType< @@ -9186,7 +7438,6 @@ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONRepoId$i z.ZodTypeDef, unknown > = z.union([z.string(), z.number()]); - /** @internal */ export type GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONRepoId$Outbound = | string @@ -9200,22 +7451,6 @@ export const GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONRepoId$o GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONRepoId > = 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 GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONRepoId$ { - /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONRepoId$inboundSchema` instead. */ - export const inboundSchema = - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONRepoId$inboundSchema; - /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONRepoId$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONRepoId$outboundSchema; - /** @deprecated use `GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONRepoId$Outbound` instead. */ - export type Outbound = - GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONRepoId$Outbound; -} - export function getDeploymentGitSourceDeploymentsResponse200ApplicationJSONRepoIdToJSON( getDeploymentGitSourceDeploymentsResponse200ApplicationJSONRepoId: GetDeploymentGitSourceDeploymentsResponse200ApplicationJSONRepoId, @@ -9225,7 +7460,6 @@ export function getDeploymentGitSourceDeploymentsResponse200ApplicationJSONRepoI .parse(getDeploymentGitSourceDeploymentsResponse200ApplicationJSONRepoId), ); } - export function getDeploymentGitSourceDeploymentsResponse200ApplicationJSONRepoIdFromJSON( jsonString: string, ): SafeParseResult< @@ -9254,7 +7488,6 @@ export const GetDeploymentGitSourceDeployments1$inboundSchema: z.ZodType< sha: z.string().optional(), prId: z.nullable(z.number()).optional(), }); - /** @internal */ export type GetDeploymentGitSourceDeployments1$Outbound = { type: string; @@ -9278,20 +7511,6 @@ export const GetDeploymentGitSourceDeployments1$outboundSchema: z.ZodType< 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 { @@ -9301,7 +7520,6 @@ export function getDeploymentGitSourceDeployments1ToJSON( ), ); } - export function getDeploymentGitSourceDeployments1FromJSON( jsonString: string, ): SafeParseResult { @@ -9335,7 +7553,6 @@ export const GetDeploymentResponseBodyGitSource$inboundSchema: z.ZodType< z.lazy(() => GetDeploymentGitSourceDeployments7$inboundSchema), z.lazy(() => GetDeploymentGitSourceDeployments8$inboundSchema), ]); - /** @internal */ export type GetDeploymentResponseBodyGitSource$Outbound = | GetDeploymentGitSourceDeployments12$Outbound @@ -9377,20 +7594,6 @@ export const GetDeploymentResponseBodyGitSource$outboundSchema: z.ZodType< z.lazy(() => GetDeploymentGitSourceDeployments8$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 { @@ -9400,7 +7603,6 @@ export function getDeploymentResponseBodyGitSourceToJSON( ), ); } - export function getDeploymentResponseBodyGitSourceFromJSON( jsonString: string, ): SafeParseResult { @@ -9416,23 +7618,11 @@ export function getDeploymentResponseBodyGitSourceFromJSON( export const ResponseBodyNodeVersion$inboundSchema: z.ZodNativeEnum< typeof ResponseBodyNodeVersion > = z.nativeEnum(ResponseBodyNodeVersion); - /** @internal */ export const ResponseBodyNodeVersion$outboundSchema: z.ZodNativeEnum< typeof ResponseBodyNodeVersion > = ResponseBodyNodeVersion$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ResponseBodyNodeVersion$ { - /** @deprecated use `ResponseBodyNodeVersion$inboundSchema` instead. */ - export const inboundSchema = ResponseBodyNodeVersion$inboundSchema; - /** @deprecated use `ResponseBodyNodeVersion$outboundSchema` instead. */ - export const outboundSchema = ResponseBodyNodeVersion$outboundSchema; -} - /** @internal */ export const ResponseBodyProject$inboundSchema: z.ZodType< ResponseBodyProject, @@ -9443,7 +7633,6 @@ export const ResponseBodyProject$inboundSchema: z.ZodType< name: z.string(), framework: z.nullable(z.string()).optional(), }); - /** @internal */ export type ResponseBodyProject$Outbound = { id: string; @@ -9462,19 +7651,6 @@ export const ResponseBodyProject$outboundSchema: z.ZodType< 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 { @@ -9482,7 +7658,6 @@ export function responseBodyProjectToJSON( ResponseBodyProject$outboundSchema.parse(responseBodyProject), ); } - export function responseBodyProjectFromJSON( jsonString: string, ): SafeParseResult { @@ -9497,65 +7672,29 @@ export function responseBodyProjectFromJSON( 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, @@ -9571,13 +7710,13 @@ export const ResponseBodyOidcTokenClaims$inboundSchema: z.ZodType< project: z.string(), project_id: z.string(), environment: z.string(), + plan: z.string(), }).transform((v) => { return remap$(v, { "owner_id": "ownerId", "project_id": "projectId", }); }); - /** @internal */ export type ResponseBodyOidcTokenClaims$Outbound = { iss: string; @@ -9589,6 +7728,7 @@ export type ResponseBodyOidcTokenClaims$Outbound = { project: string; project_id: string; environment: string; + plan: string; }; /** @internal */ @@ -9606,6 +7746,7 @@ export const ResponseBodyOidcTokenClaims$outboundSchema: z.ZodType< project: z.string(), projectId: z.string(), environment: z.string(), + plan: z.string(), }).transform((v) => { return remap$(v, { ownerId: "owner_id", @@ -9613,19 +7754,6 @@ export const ResponseBodyOidcTokenClaims$outboundSchema: z.ZodType< }); }); -/** - * @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 { @@ -9635,7 +7763,6 @@ export function responseBodyOidcTokenClaimsToJSON( ), ); } - export function responseBodyOidcTokenClaimsFromJSON( jsonString: string, ): SafeParseResult { @@ -9650,23 +7777,11 @@ export function responseBodyOidcTokenClaimsFromJSON( 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, @@ -9676,7 +7791,6 @@ export const ResponseBodyCrons$inboundSchema: z.ZodType< schedule: z.string(), path: z.string(), }); - /** @internal */ export type ResponseBodyCrons$Outbound = { schedule: string; @@ -9693,19 +7807,6 @@ export const ResponseBodyCrons$outboundSchema: z.ZodType< 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 { @@ -9713,7 +7814,6 @@ export function responseBodyCronsToJSON( ResponseBodyCrons$outboundSchema.parse(responseBodyCrons), ); } - export function responseBodyCronsFromJSON( jsonString: string, ): SafeParseResult { @@ -9728,46 +7828,20 @@ export function responseBodyCronsFromJSON( export const ResponseBodyArchitecture$inboundSchema: z.ZodNativeEnum< typeof ResponseBodyArchitecture > = z.nativeEnum(ResponseBodyArchitecture); - /** @internal */ export const ResponseBodyArchitecture$outboundSchema: z.ZodNativeEnum< typeof ResponseBodyArchitecture > = ResponseBodyArchitecture$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ResponseBodyArchitecture$ { - /** @deprecated use `ResponseBodyArchitecture$inboundSchema` instead. */ - export const inboundSchema = ResponseBodyArchitecture$inboundSchema; - /** @deprecated use `ResponseBodyArchitecture$outboundSchema` instead. */ - export const outboundSchema = ResponseBodyArchitecture$outboundSchema; -} - /** @internal */ export const GetDeploymentResponseBodyDeploymentsResponseType$inboundSchema: z.ZodNativeEnum = z .nativeEnum(GetDeploymentResponseBodyDeploymentsResponseType); - /** @internal */ export const GetDeploymentResponseBodyDeploymentsResponseType$outboundSchema: z.ZodNativeEnum = GetDeploymentResponseBodyDeploymentsResponseType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentResponseBodyDeploymentsResponseType$ { - /** @deprecated use `GetDeploymentResponseBodyDeploymentsResponseType$inboundSchema` instead. */ - export const inboundSchema = - GetDeploymentResponseBodyDeploymentsResponseType$inboundSchema; - /** @deprecated use `GetDeploymentResponseBodyDeploymentsResponseType$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentResponseBodyDeploymentsResponseType$outboundSchema; -} - /** @internal */ export const ResponseBodyExperimentalTriggers$inboundSchema: z.ZodType< ResponseBodyExperimentalTriggers, @@ -9781,7 +7855,6 @@ export const ResponseBodyExperimentalTriggers$inboundSchema: z.ZodType< retryAfterSeconds: z.number().optional(), initialDelaySeconds: z.number().optional(), }); - /** @internal */ export type ResponseBodyExperimentalTriggers$Outbound = { type: string; @@ -9806,19 +7879,6 @@ export const ResponseBodyExperimentalTriggers$outboundSchema: z.ZodType< initialDelaySeconds: 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 ResponseBodyExperimentalTriggers$ { - /** @deprecated use `ResponseBodyExperimentalTriggers$inboundSchema` instead. */ - export const inboundSchema = ResponseBodyExperimentalTriggers$inboundSchema; - /** @deprecated use `ResponseBodyExperimentalTriggers$outboundSchema` instead. */ - export const outboundSchema = ResponseBodyExperimentalTriggers$outboundSchema; - /** @deprecated use `ResponseBodyExperimentalTriggers$Outbound` instead. */ - export type Outbound = ResponseBodyExperimentalTriggers$Outbound; -} - export function responseBodyExperimentalTriggersToJSON( responseBodyExperimentalTriggers: ResponseBodyExperimentalTriggers, ): string { @@ -9828,7 +7888,6 @@ export function responseBodyExperimentalTriggersToJSON( ), ); } - export function responseBodyExperimentalTriggersFromJSON( jsonString: string, ): SafeParseResult { @@ -9856,7 +7915,6 @@ export const ResponseBodyFunctions$inboundSchema: z.ZodType< ).optional(), supportsCancellation: z.boolean().optional(), }); - /** @internal */ export type ResponseBodyFunctions$Outbound = { architecture?: string | undefined; @@ -9889,19 +7947,6 @@ export const ResponseBodyFunctions$outboundSchema: z.ZodType< supportsCancellation: 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 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 { @@ -9909,7 +7954,6 @@ export function responseBodyFunctionsToJSON( ResponseBodyFunctions$outboundSchema.parse(responseBodyFunctions), ); } - export function responseBodyFunctionsFromJSON( jsonString: string, ): SafeParseResult { @@ -9930,7 +7974,6 @@ export const GetDeploymentRoutes3$inboundSchema: z.ZodType< continue: z.boolean(), middleware: z.number(), }); - /** @internal */ export type GetDeploymentRoutes3$Outbound = { src: string; @@ -9949,19 +7992,6 @@ export const GetDeploymentRoutes3$outboundSchema: z.ZodType< 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 { @@ -9969,7 +7999,6 @@ export function getDeploymentRoutes3ToJSON( GetDeploymentRoutes3$outboundSchema.parse(getDeploymentRoutes3), ); } - export function getDeploymentRoutes3FromJSON( jsonString: string, ): SafeParseResult { @@ -9984,23 +8013,11 @@ export function getDeploymentRoutes3FromJSON( 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, @@ -10012,7 +8029,6 @@ export const GetDeploymentRoutes2$inboundSchema: z.ZodType< dest: z.string().optional(), status: z.number().optional(), }); - /** @internal */ export type GetDeploymentRoutes2$Outbound = { handle: string; @@ -10033,19 +8049,6 @@ export const GetDeploymentRoutes2$outboundSchema: z.ZodType< 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 { @@ -10053,7 +8056,6 @@ export function getDeploymentRoutes2ToJSON( GetDeploymentRoutes2$outboundSchema.parse(getDeploymentRoutes2), ); } - export function getDeploymentRoutes2FromJSON( jsonString: string, ): SafeParseResult { @@ -10068,28 +8070,15 @@ export function getDeploymentRoutes2FromJSON( 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 GetDeploymentValueDeploymentsResponse200Eq$inboundSchema: z.ZodType = z.union([z.string(), z.number()]); - /** @internal */ export type GetDeploymentValueDeploymentsResponse200Eq$Outbound = | string @@ -10103,21 +8092,6 @@ export const GetDeploymentValueDeploymentsResponse200Eq$outboundSchema: GetDeploymentValueDeploymentsResponse200Eq > = 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 GetDeploymentValueDeploymentsResponse200Eq$ { - /** @deprecated use `GetDeploymentValueDeploymentsResponse200Eq$inboundSchema` instead. */ - export const inboundSchema = - GetDeploymentValueDeploymentsResponse200Eq$inboundSchema; - /** @deprecated use `GetDeploymentValueDeploymentsResponse200Eq$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentValueDeploymentsResponse200Eq$outboundSchema; - /** @deprecated use `GetDeploymentValueDeploymentsResponse200Eq$Outbound` instead. */ - export type Outbound = GetDeploymentValueDeploymentsResponse200Eq$Outbound; -} - export function getDeploymentValueDeploymentsResponse200EqToJSON( getDeploymentValueDeploymentsResponse200Eq: GetDeploymentValueDeploymentsResponse200Eq, @@ -10128,7 +8102,6 @@ export function getDeploymentValueDeploymentsResponse200EqToJSON( ), ); } - export function getDeploymentValueDeploymentsResponse200EqFromJSON( jsonString: string, ): SafeParseResult< @@ -10163,7 +8136,6 @@ export const GetDeploymentValue2$inboundSchema: z.ZodType< lt: z.number().optional(), lte: z.number().optional(), }); - /** @internal */ export type GetDeploymentValue2$Outbound = { eq?: string | number | undefined; @@ -10198,19 +8170,6 @@ export const GetDeploymentValue2$outboundSchema: z.ZodType< 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 GetDeploymentValue2$ { - /** @deprecated use `GetDeploymentValue2$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentValue2$inboundSchema; - /** @deprecated use `GetDeploymentValue2$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentValue2$outboundSchema; - /** @deprecated use `GetDeploymentValue2$Outbound` instead. */ - export type Outbound = GetDeploymentValue2$Outbound; -} - export function getDeploymentValue2ToJSON( getDeploymentValue2: GetDeploymentValue2, ): string { @@ -10218,7 +8177,6 @@ export function getDeploymentValue2ToJSON( GetDeploymentValue2$outboundSchema.parse(getDeploymentValue2), ); } - export function getDeploymentValue2FromJSON( jsonString: string, ): SafeParseResult { @@ -10235,7 +8193,6 @@ export const GetDeploymentHasDeploymentsValue$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.union([z.string(), z.lazy(() => GetDeploymentValue2$inboundSchema)]); - /** @internal */ export type GetDeploymentHasDeploymentsValue$Outbound = | string @@ -10248,19 +8205,6 @@ export const GetDeploymentHasDeploymentsValue$outboundSchema: z.ZodType< GetDeploymentHasDeploymentsValue > = z.union([z.string(), z.lazy(() => GetDeploymentValue2$outboundSchema)]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentHasDeploymentsValue$ { - /** @deprecated use `GetDeploymentHasDeploymentsValue$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentHasDeploymentsValue$inboundSchema; - /** @deprecated use `GetDeploymentHasDeploymentsValue$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentHasDeploymentsValue$outboundSchema; - /** @deprecated use `GetDeploymentHasDeploymentsValue$Outbound` instead. */ - export type Outbound = GetDeploymentHasDeploymentsValue$Outbound; -} - export function getDeploymentHasDeploymentsValueToJSON( getDeploymentHasDeploymentsValue: GetDeploymentHasDeploymentsValue, ): string { @@ -10270,7 +8214,6 @@ export function getDeploymentHasDeploymentsValueToJSON( ), ); } - export function getDeploymentHasDeploymentsValueFromJSON( jsonString: string, ): SafeParseResult { @@ -10292,7 +8235,6 @@ export const GetDeploymentHas2$inboundSchema: z.ZodType< value: z.union([z.string(), z.lazy(() => GetDeploymentValue2$inboundSchema)]) .optional(), }); - /** @internal */ export type GetDeploymentHas2$Outbound = { type: string; @@ -10312,19 +8254,6 @@ export const GetDeploymentHas2$outboundSchema: z.ZodType< .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 { @@ -10332,7 +8261,6 @@ export function getDeploymentHas2ToJSON( GetDeploymentHas2$outboundSchema.parse(getDeploymentHas2), ); } - export function getDeploymentHas2FromJSON( jsonString: string, ): SafeParseResult { @@ -10347,30 +8275,17 @@ export function getDeploymentHas2FromJSON( 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 GetDeploymentValueDeploymentsResponseEq$inboundSchema: z.ZodType< GetDeploymentValueDeploymentsResponseEq, z.ZodTypeDef, unknown > = z.union([z.string(), z.number()]); - /** @internal */ export type GetDeploymentValueDeploymentsResponseEq$Outbound = string | number; @@ -10381,21 +8296,6 @@ export const GetDeploymentValueDeploymentsResponseEq$outboundSchema: z.ZodType< GetDeploymentValueDeploymentsResponseEq > = 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 GetDeploymentValueDeploymentsResponseEq$ { - /** @deprecated use `GetDeploymentValueDeploymentsResponseEq$inboundSchema` instead. */ - export const inboundSchema = - GetDeploymentValueDeploymentsResponseEq$inboundSchema; - /** @deprecated use `GetDeploymentValueDeploymentsResponseEq$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentValueDeploymentsResponseEq$outboundSchema; - /** @deprecated use `GetDeploymentValueDeploymentsResponseEq$Outbound` instead. */ - export type Outbound = GetDeploymentValueDeploymentsResponseEq$Outbound; -} - export function getDeploymentValueDeploymentsResponseEqToJSON( getDeploymentValueDeploymentsResponseEq: GetDeploymentValueDeploymentsResponseEq, @@ -10406,7 +8306,6 @@ export function getDeploymentValueDeploymentsResponseEqToJSON( ), ); } - export function getDeploymentValueDeploymentsResponseEqFromJSON( jsonString: string, ): SafeParseResult< @@ -10441,7 +8340,6 @@ export const GetDeploymentValueDeploymentsResponse2002$inboundSchema: z.ZodType< lt: z.number().optional(), lte: z.number().optional(), }); - /** @internal */ export type GetDeploymentValueDeploymentsResponse2002$Outbound = { eq?: string | number | undefined; @@ -10477,21 +8375,6 @@ export const GetDeploymentValueDeploymentsResponse2002$outboundSchema: 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 GetDeploymentValueDeploymentsResponse2002$ { - /** @deprecated use `GetDeploymentValueDeploymentsResponse2002$inboundSchema` instead. */ - export const inboundSchema = - GetDeploymentValueDeploymentsResponse2002$inboundSchema; - /** @deprecated use `GetDeploymentValueDeploymentsResponse2002$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentValueDeploymentsResponse2002$outboundSchema; - /** @deprecated use `GetDeploymentValueDeploymentsResponse2002$Outbound` instead. */ - export type Outbound = GetDeploymentValueDeploymentsResponse2002$Outbound; -} - export function getDeploymentValueDeploymentsResponse2002ToJSON( getDeploymentValueDeploymentsResponse2002: GetDeploymentValueDeploymentsResponse2002, @@ -10502,7 +8385,6 @@ export function getDeploymentValueDeploymentsResponse2002ToJSON( ), ); } - export function getDeploymentValueDeploymentsResponse2002FromJSON( jsonString: string, ): SafeParseResult< @@ -10528,7 +8410,6 @@ export const GetDeploymentHasValue$inboundSchema: z.ZodType< z.string(), z.lazy(() => GetDeploymentValueDeploymentsResponse2002$inboundSchema), ]); - /** @internal */ export type GetDeploymentHasValue$Outbound = | string @@ -10544,19 +8425,6 @@ export const GetDeploymentHasValue$outboundSchema: z.ZodType< z.lazy(() => GetDeploymentValueDeploymentsResponse2002$outboundSchema), ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentHasValue$ { - /** @deprecated use `GetDeploymentHasValue$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentHasValue$inboundSchema; - /** @deprecated use `GetDeploymentHasValue$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentHasValue$outboundSchema; - /** @deprecated use `GetDeploymentHasValue$Outbound` instead. */ - export type Outbound = GetDeploymentHasValue$Outbound; -} - export function getDeploymentHasValueToJSON( getDeploymentHasValue: GetDeploymentHasValue, ): string { @@ -10564,7 +8432,6 @@ export function getDeploymentHasValueToJSON( GetDeploymentHasValue$outboundSchema.parse(getDeploymentHasValue), ); } - export function getDeploymentHasValueFromJSON( jsonString: string, ): SafeParseResult { @@ -10587,7 +8454,6 @@ export const GetDeploymentHas1$inboundSchema: z.ZodType< z.lazy(() => GetDeploymentValueDeploymentsResponse2002$inboundSchema), ]), }); - /** @internal */ export type GetDeploymentHas1$Outbound = { type: string; @@ -10607,19 +8473,6 @@ export const GetDeploymentHas1$outboundSchema: z.ZodType< ]), }); -/** - * @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 { @@ -10627,7 +8480,6 @@ export function getDeploymentHas1ToJSON( GetDeploymentHas1$outboundSchema.parse(getDeploymentHas1), ); } - export function getDeploymentHas1FromJSON( jsonString: string, ): SafeParseResult { @@ -10647,7 +8499,6 @@ export const GetDeploymentRoutesHas$inboundSchema: z.ZodType< z.lazy(() => GetDeploymentHas1$inboundSchema), z.lazy(() => GetDeploymentHas2$inboundSchema), ]); - /** @internal */ export type GetDeploymentRoutesHas$Outbound = | GetDeploymentHas1$Outbound @@ -10663,19 +8514,6 @@ export const GetDeploymentRoutesHas$outboundSchema: z.ZodType< 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 { @@ -10683,7 +8521,6 @@ export function getDeploymentRoutesHasToJSON( GetDeploymentRoutesHas$outboundSchema.parse(getDeploymentRoutesHas), ); } - export function getDeploymentRoutesHasFromJSON( jsonString: string, ): SafeParseResult { @@ -10698,30 +8535,17 @@ export function getDeploymentRoutesHasFromJSON( 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 GetDeploymentValueDeploymentsEq$inboundSchema: z.ZodType< GetDeploymentValueDeploymentsEq, z.ZodTypeDef, unknown > = z.union([z.string(), z.number()]); - /** @internal */ export type GetDeploymentValueDeploymentsEq$Outbound = string | number; @@ -10732,19 +8556,6 @@ export const GetDeploymentValueDeploymentsEq$outboundSchema: z.ZodType< GetDeploymentValueDeploymentsEq > = 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 GetDeploymentValueDeploymentsEq$ { - /** @deprecated use `GetDeploymentValueDeploymentsEq$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentValueDeploymentsEq$inboundSchema; - /** @deprecated use `GetDeploymentValueDeploymentsEq$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentValueDeploymentsEq$outboundSchema; - /** @deprecated use `GetDeploymentValueDeploymentsEq$Outbound` instead. */ - export type Outbound = GetDeploymentValueDeploymentsEq$Outbound; -} - export function getDeploymentValueDeploymentsEqToJSON( getDeploymentValueDeploymentsEq: GetDeploymentValueDeploymentsEq, ): string { @@ -10754,7 +8565,6 @@ export function getDeploymentValueDeploymentsEqToJSON( ), ); } - export function getDeploymentValueDeploymentsEqFromJSON( jsonString: string, ): SafeParseResult { @@ -10783,7 +8593,6 @@ export const GetDeploymentValueDeploymentsResponse2$inboundSchema: z.ZodType< lt: z.number().optional(), lte: z.number().optional(), }); - /** @internal */ export type GetDeploymentValueDeploymentsResponse2$Outbound = { eq?: string | number | undefined; @@ -10818,21 +8627,6 @@ export const GetDeploymentValueDeploymentsResponse2$outboundSchema: z.ZodType< 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 GetDeploymentValueDeploymentsResponse2$ { - /** @deprecated use `GetDeploymentValueDeploymentsResponse2$inboundSchema` instead. */ - export const inboundSchema = - GetDeploymentValueDeploymentsResponse2$inboundSchema; - /** @deprecated use `GetDeploymentValueDeploymentsResponse2$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentValueDeploymentsResponse2$outboundSchema; - /** @deprecated use `GetDeploymentValueDeploymentsResponse2$Outbound` instead. */ - export type Outbound = GetDeploymentValueDeploymentsResponse2$Outbound; -} - export function getDeploymentValueDeploymentsResponse2ToJSON( getDeploymentValueDeploymentsResponse2: GetDeploymentValueDeploymentsResponse2, @@ -10843,7 +8637,6 @@ export function getDeploymentValueDeploymentsResponse2ToJSON( ), ); } - export function getDeploymentValueDeploymentsResponse2FromJSON( jsonString: string, ): SafeParseResult { @@ -10864,7 +8657,6 @@ export const GetDeploymentMissingValue$inboundSchema: z.ZodType< z.string(), z.lazy(() => GetDeploymentValueDeploymentsResponse2$inboundSchema), ]); - /** @internal */ export type GetDeploymentMissingValue$Outbound = | string @@ -10880,19 +8672,6 @@ export const GetDeploymentMissingValue$outboundSchema: z.ZodType< z.lazy(() => GetDeploymentValueDeploymentsResponse2$outboundSchema), ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentMissingValue$ { - /** @deprecated use `GetDeploymentMissingValue$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentMissingValue$inboundSchema; - /** @deprecated use `GetDeploymentMissingValue$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentMissingValue$outboundSchema; - /** @deprecated use `GetDeploymentMissingValue$Outbound` instead. */ - export type Outbound = GetDeploymentMissingValue$Outbound; -} - export function getDeploymentMissingValueToJSON( getDeploymentMissingValue: GetDeploymentMissingValue, ): string { @@ -10900,7 +8679,6 @@ export function getDeploymentMissingValueToJSON( GetDeploymentMissingValue$outboundSchema.parse(getDeploymentMissingValue), ); } - export function getDeploymentMissingValueFromJSON( jsonString: string, ): SafeParseResult { @@ -10924,7 +8702,6 @@ export const GetDeploymentMissing2$inboundSchema: z.ZodType< z.lazy(() => GetDeploymentValueDeploymentsResponse2$inboundSchema), ]).optional(), }); - /** @internal */ export type GetDeploymentMissing2$Outbound = { type: string; @@ -10946,19 +8723,6 @@ export const GetDeploymentMissing2$outboundSchema: z.ZodType< ]).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 { @@ -10966,7 +8730,6 @@ export function getDeploymentMissing2ToJSON( GetDeploymentMissing2$outboundSchema.parse(getDeploymentMissing2), ); } - export function getDeploymentMissing2FromJSON( jsonString: string, ): SafeParseResult { @@ -10981,32 +8744,17 @@ export function getDeploymentMissing2FromJSON( 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 GetDeploymentValueEq$inboundSchema: z.ZodType< GetDeploymentValueEq, z.ZodTypeDef, unknown > = z.union([z.string(), z.number()]); - /** @internal */ export type GetDeploymentValueEq$Outbound = string | number; @@ -11017,19 +8765,6 @@ export const GetDeploymentValueEq$outboundSchema: z.ZodType< GetDeploymentValueEq > = 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 GetDeploymentValueEq$ { - /** @deprecated use `GetDeploymentValueEq$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentValueEq$inboundSchema; - /** @deprecated use `GetDeploymentValueEq$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentValueEq$outboundSchema; - /** @deprecated use `GetDeploymentValueEq$Outbound` instead. */ - export type Outbound = GetDeploymentValueEq$Outbound; -} - export function getDeploymentValueEqToJSON( getDeploymentValueEq: GetDeploymentValueEq, ): string { @@ -11037,7 +8772,6 @@ export function getDeploymentValueEqToJSON( GetDeploymentValueEq$outboundSchema.parse(getDeploymentValueEq), ); } - export function getDeploymentValueEqFromJSON( jsonString: string, ): SafeParseResult { @@ -11066,7 +8800,6 @@ export const GetDeploymentValueDeployments2$inboundSchema: z.ZodType< lt: z.number().optional(), lte: z.number().optional(), }); - /** @internal */ export type GetDeploymentValueDeployments2$Outbound = { eq?: string | number | undefined; @@ -11101,19 +8834,6 @@ export const GetDeploymentValueDeployments2$outboundSchema: z.ZodType< 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 GetDeploymentValueDeployments2$ { - /** @deprecated use `GetDeploymentValueDeployments2$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentValueDeployments2$inboundSchema; - /** @deprecated use `GetDeploymentValueDeployments2$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentValueDeployments2$outboundSchema; - /** @deprecated use `GetDeploymentValueDeployments2$Outbound` instead. */ - export type Outbound = GetDeploymentValueDeployments2$Outbound; -} - export function getDeploymentValueDeployments2ToJSON( getDeploymentValueDeployments2: GetDeploymentValueDeployments2, ): string { @@ -11123,7 +8843,6 @@ export function getDeploymentValueDeployments2ToJSON( ), ); } - export function getDeploymentValueDeployments2FromJSON( jsonString: string, ): SafeParseResult { @@ -11143,7 +8862,6 @@ export const GetDeploymentMissingDeploymentsValue$inboundSchema: z.ZodType< z.string(), z.lazy(() => GetDeploymentValueDeployments2$inboundSchema), ]); - /** @internal */ export type GetDeploymentMissingDeploymentsValue$Outbound = | string @@ -11159,21 +8877,6 @@ export const GetDeploymentMissingDeploymentsValue$outboundSchema: z.ZodType< z.lazy(() => GetDeploymentValueDeployments2$outboundSchema), ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentMissingDeploymentsValue$ { - /** @deprecated use `GetDeploymentMissingDeploymentsValue$inboundSchema` instead. */ - export const inboundSchema = - GetDeploymentMissingDeploymentsValue$inboundSchema; - /** @deprecated use `GetDeploymentMissingDeploymentsValue$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentMissingDeploymentsValue$outboundSchema; - /** @deprecated use `GetDeploymentMissingDeploymentsValue$Outbound` instead. */ - export type Outbound = GetDeploymentMissingDeploymentsValue$Outbound; -} - export function getDeploymentMissingDeploymentsValueToJSON( getDeploymentMissingDeploymentsValue: GetDeploymentMissingDeploymentsValue, ): string { @@ -11183,7 +8886,6 @@ export function getDeploymentMissingDeploymentsValueToJSON( ), ); } - export function getDeploymentMissingDeploymentsValueFromJSON( jsonString: string, ): SafeParseResult { @@ -11207,7 +8909,6 @@ export const GetDeploymentMissing1$inboundSchema: z.ZodType< z.lazy(() => GetDeploymentValueDeployments2$inboundSchema), ]), }); - /** @internal */ export type GetDeploymentMissing1$Outbound = { type: string; @@ -11227,19 +8928,6 @@ export const GetDeploymentMissing1$outboundSchema: z.ZodType< ]), }); -/** - * @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 { @@ -11247,7 +8935,6 @@ export function getDeploymentMissing1ToJSON( GetDeploymentMissing1$outboundSchema.parse(getDeploymentMissing1), ); } - export function getDeploymentMissing1FromJSON( jsonString: string, ): SafeParseResult { @@ -11267,7 +8954,6 @@ export const GetDeploymentRoutesMissing$inboundSchema: z.ZodType< z.lazy(() => GetDeploymentMissing1$inboundSchema), z.lazy(() => GetDeploymentMissing2$inboundSchema), ]); - /** @internal */ export type GetDeploymentRoutesMissing$Outbound = | GetDeploymentMissing1$Outbound @@ -11283,19 +8969,6 @@ export const GetDeploymentRoutesMissing$outboundSchema: z.ZodType< 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 { @@ -11303,7 +8976,6 @@ export function getDeploymentRoutesMissingToJSON( GetDeploymentRoutesMissing$outboundSchema.parse(getDeploymentRoutesMissing), ); } - export function getDeploymentRoutesMissingFromJSON( jsonString: string, ): SafeParseResult { @@ -11318,23 +8990,11 @@ export function getDeploymentRoutesMissingFromJSON( export const GetDeploymentRoutesAction$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentRoutesAction > = z.nativeEnum(GetDeploymentRoutesAction); - /** @internal */ export const GetDeploymentRoutesAction$outboundSchema: z.ZodNativeEnum< typeof GetDeploymentRoutesAction > = GetDeploymentRoutesAction$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentRoutesAction$ { - /** @deprecated use `GetDeploymentRoutesAction$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentRoutesAction$inboundSchema; - /** @deprecated use `GetDeploymentRoutesAction$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentRoutesAction$outboundSchema; -} - /** @internal */ export const GetDeploymentRoutesMitigate$inboundSchema: z.ZodType< GetDeploymentRoutesMitigate, @@ -11343,7 +9003,6 @@ export const GetDeploymentRoutesMitigate$inboundSchema: z.ZodType< > = z.object({ action: GetDeploymentRoutesAction$inboundSchema, }); - /** @internal */ export type GetDeploymentRoutesMitigate$Outbound = { action: string; @@ -11358,19 +9017,6 @@ export const GetDeploymentRoutesMitigate$outboundSchema: z.ZodType< action: GetDeploymentRoutesAction$outboundSchema, }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentRoutesMitigate$ { - /** @deprecated use `GetDeploymentRoutesMitigate$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentRoutesMitigate$inboundSchema; - /** @deprecated use `GetDeploymentRoutesMitigate$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentRoutesMitigate$outboundSchema; - /** @deprecated use `GetDeploymentRoutesMitigate$Outbound` instead. */ - export type Outbound = GetDeploymentRoutesMitigate$Outbound; -} - export function getDeploymentRoutesMitigateToJSON( getDeploymentRoutesMitigate: GetDeploymentRoutesMitigate, ): string { @@ -11380,7 +9026,6 @@ export function getDeploymentRoutesMitigateToJSON( ), ); } - export function getDeploymentRoutesMitigateFromJSON( jsonString: string, ): SafeParseResult { @@ -11395,51 +9040,26 @@ export function getDeploymentRoutesMitigateFromJSON( export const GetDeploymentRoutesType$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentRoutesType > = z.nativeEnum(GetDeploymentRoutesType); - /** @internal */ export const GetDeploymentRoutesType$outboundSchema: z.ZodNativeEnum< typeof GetDeploymentRoutesType > = GetDeploymentRoutesType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentRoutesType$ { - /** @deprecated use `GetDeploymentRoutesType$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentRoutesType$inboundSchema; - /** @deprecated use `GetDeploymentRoutesType$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentRoutesType$outboundSchema; -} - /** @internal */ export const GetDeploymentRoutesOp$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentRoutesOp > = z.nativeEnum(GetDeploymentRoutesOp); - /** @internal */ export const GetDeploymentRoutesOp$outboundSchema: z.ZodNativeEnum< typeof GetDeploymentRoutesOp > = GetDeploymentRoutesOp$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentRoutesOp$ { - /** @deprecated use `GetDeploymentRoutesOp$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentRoutesOp$inboundSchema; - /** @deprecated use `GetDeploymentRoutesOp$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentRoutesOp$outboundSchema; -} - /** @internal */ export const GetDeploymentKeyEq$inboundSchema: z.ZodType< GetDeploymentKeyEq, z.ZodTypeDef, unknown > = z.union([z.string(), z.number()]); - /** @internal */ export type GetDeploymentKeyEq$Outbound = string | number; @@ -11450,19 +9070,6 @@ export const GetDeploymentKeyEq$outboundSchema: z.ZodType< GetDeploymentKeyEq > = 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 GetDeploymentKeyEq$ { - /** @deprecated use `GetDeploymentKeyEq$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentKeyEq$inboundSchema; - /** @deprecated use `GetDeploymentKeyEq$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentKeyEq$outboundSchema; - /** @deprecated use `GetDeploymentKeyEq$Outbound` instead. */ - export type Outbound = GetDeploymentKeyEq$Outbound; -} - export function getDeploymentKeyEqToJSON( getDeploymentKeyEq: GetDeploymentKeyEq, ): string { @@ -11470,7 +9077,6 @@ export function getDeploymentKeyEqToJSON( GetDeploymentKeyEq$outboundSchema.parse(getDeploymentKeyEq), ); } - export function getDeploymentKeyEqFromJSON( jsonString: string, ): SafeParseResult { @@ -11498,7 +9104,6 @@ export const GetDeploymentKey2$inboundSchema: z.ZodType< lt: z.number().optional(), lte: z.number().optional(), }); - /** @internal */ export type GetDeploymentKey2$Outbound = { eq?: string | number | undefined; @@ -11531,19 +9136,6 @@ export const GetDeploymentKey2$outboundSchema: z.ZodType< 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 GetDeploymentKey2$ { - /** @deprecated use `GetDeploymentKey2$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentKey2$inboundSchema; - /** @deprecated use `GetDeploymentKey2$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentKey2$outboundSchema; - /** @deprecated use `GetDeploymentKey2$Outbound` instead. */ - export type Outbound = GetDeploymentKey2$Outbound; -} - export function getDeploymentKey2ToJSON( getDeploymentKey2: GetDeploymentKey2, ): string { @@ -11551,7 +9143,6 @@ export function getDeploymentKey2ToJSON( GetDeploymentKey2$outboundSchema.parse(getDeploymentKey2), ); } - export function getDeploymentKey2FromJSON( jsonString: string, ): SafeParseResult { @@ -11568,7 +9159,6 @@ export const GetDeploymentRoutesKey$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.union([z.string(), z.lazy(() => GetDeploymentKey2$inboundSchema)]); - /** @internal */ export type GetDeploymentRoutesKey$Outbound = | string @@ -11581,19 +9171,6 @@ export const GetDeploymentRoutesKey$outboundSchema: z.ZodType< GetDeploymentRoutesKey > = z.union([z.string(), z.lazy(() => GetDeploymentKey2$outboundSchema)]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentRoutesKey$ { - /** @deprecated use `GetDeploymentRoutesKey$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentRoutesKey$inboundSchema; - /** @deprecated use `GetDeploymentRoutesKey$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentRoutesKey$outboundSchema; - /** @deprecated use `GetDeploymentRoutesKey$Outbound` instead. */ - export type Outbound = GetDeploymentRoutesKey$Outbound; -} - export function getDeploymentRoutesKeyToJSON( getDeploymentRoutesKey: GetDeploymentRoutesKey, ): string { @@ -11601,7 +9178,6 @@ export function getDeploymentRoutesKeyToJSON( GetDeploymentRoutesKey$outboundSchema.parse(getDeploymentRoutesKey), ); } - export function getDeploymentRoutesKeyFromJSON( jsonString: string, ): SafeParseResult { @@ -11620,7 +9196,6 @@ export const GetDeploymentRoutesTarget$inboundSchema: z.ZodType< > = z.object({ key: z.union([z.string(), z.lazy(() => GetDeploymentKey2$inboundSchema)]), }); - /** @internal */ export type GetDeploymentRoutesTarget$Outbound = { key: string | GetDeploymentKey2$Outbound; @@ -11635,19 +9210,6 @@ export const GetDeploymentRoutesTarget$outboundSchema: z.ZodType< key: z.union([z.string(), z.lazy(() => GetDeploymentKey2$outboundSchema)]), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentRoutesTarget$ { - /** @deprecated use `GetDeploymentRoutesTarget$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentRoutesTarget$inboundSchema; - /** @deprecated use `GetDeploymentRoutesTarget$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentRoutesTarget$outboundSchema; - /** @deprecated use `GetDeploymentRoutesTarget$Outbound` instead. */ - export type Outbound = GetDeploymentRoutesTarget$Outbound; -} - export function getDeploymentRoutesTargetToJSON( getDeploymentRoutesTarget: GetDeploymentRoutesTarget, ): string { @@ -11655,7 +9217,6 @@ export function getDeploymentRoutesTargetToJSON( GetDeploymentRoutesTarget$outboundSchema.parse(getDeploymentRoutesTarget), ); } - export function getDeploymentRoutesTargetFromJSON( jsonString: string, ): SafeParseResult { @@ -11672,7 +9233,6 @@ export const GetDeploymentRoutesArgs$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.union([z.string(), z.array(z.string())]); - /** @internal */ export type GetDeploymentRoutesArgs$Outbound = string | Array; @@ -11683,19 +9243,6 @@ export const GetDeploymentRoutesArgs$outboundSchema: z.ZodType< GetDeploymentRoutesArgs > = z.union([z.string(), 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 GetDeploymentRoutesArgs$ { - /** @deprecated use `GetDeploymentRoutesArgs$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentRoutesArgs$inboundSchema; - /** @deprecated use `GetDeploymentRoutesArgs$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentRoutesArgs$outboundSchema; - /** @deprecated use `GetDeploymentRoutesArgs$Outbound` instead. */ - export type Outbound = GetDeploymentRoutesArgs$Outbound; -} - export function getDeploymentRoutesArgsToJSON( getDeploymentRoutesArgs: GetDeploymentRoutesArgs, ): string { @@ -11703,7 +9250,6 @@ export function getDeploymentRoutesArgsToJSON( GetDeploymentRoutesArgs$outboundSchema.parse(getDeploymentRoutesArgs), ); } - export function getDeploymentRoutesArgsFromJSON( jsonString: string, ): SafeParseResult { @@ -11725,7 +9271,6 @@ export const GetDeploymentRoutesTransforms$inboundSchema: z.ZodType< target: z.lazy(() => GetDeploymentRoutesTarget$inboundSchema), args: z.union([z.string(), z.array(z.string())]).optional(), }); - /** @internal */ export type GetDeploymentRoutesTransforms$Outbound = { type: string; @@ -11746,19 +9291,6 @@ export const GetDeploymentRoutesTransforms$outboundSchema: z.ZodType< args: z.union([z.string(), 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 GetDeploymentRoutesTransforms$ { - /** @deprecated use `GetDeploymentRoutesTransforms$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentRoutesTransforms$inboundSchema; - /** @deprecated use `GetDeploymentRoutesTransforms$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentRoutesTransforms$outboundSchema; - /** @deprecated use `GetDeploymentRoutesTransforms$Outbound` instead. */ - export type Outbound = GetDeploymentRoutesTransforms$Outbound; -} - export function getDeploymentRoutesTransformsToJSON( getDeploymentRoutesTransforms: GetDeploymentRoutesTransforms, ): string { @@ -11768,7 +9300,6 @@ export function getDeploymentRoutesTransformsToJSON( ), ); } - export function getDeploymentRoutesTransformsFromJSON( jsonString: string, ): SafeParseResult { @@ -11788,7 +9319,6 @@ export const GetDeploymentRoutesLocale$inboundSchema: z.ZodType< redirect: z.record(z.string()).optional(), cookie: z.string().optional(), }); - /** @internal */ export type GetDeploymentRoutesLocale$Outbound = { redirect?: { [k: string]: string } | undefined; @@ -11805,19 +9335,6 @@ export const GetDeploymentRoutesLocale$outboundSchema: z.ZodType< 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 { @@ -11825,7 +9342,6 @@ export function getDeploymentRoutesLocaleToJSON( GetDeploymentRoutesLocale$outboundSchema.parse(getDeploymentRoutesLocale), ); } - export function getDeploymentRoutesLocaleFromJSON( jsonString: string, ): SafeParseResult { @@ -11872,7 +9388,6 @@ export const GetDeploymentRoutes1$inboundSchema: z.ZodType< middlewareRawSrc: z.array(z.string()).optional(), middleware: z.number().optional(), }); - /** @internal */ export type GetDeploymentRoutes1$Outbound = { src: string; @@ -11937,19 +9452,6 @@ export const GetDeploymentRoutes1$outboundSchema: z.ZodType< 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 { @@ -11957,7 +9459,6 @@ export function getDeploymentRoutes1ToJSON( GetDeploymentRoutes1$outboundSchema.parse(getDeploymentRoutes1), ); } - export function getDeploymentRoutes1FromJSON( jsonString: string, ): SafeParseResult { @@ -11978,7 +9479,6 @@ export const ResponseBodyRoutes$inboundSchema: z.ZodType< z.lazy(() => GetDeploymentRoutes1$inboundSchema), z.lazy(() => GetDeploymentRoutes2$inboundSchema), ]); - /** @internal */ export type ResponseBodyRoutes$Outbound = | GetDeploymentRoutes3$Outbound @@ -11996,19 +9496,6 @@ export const ResponseBodyRoutes$outboundSchema: z.ZodType< z.lazy(() => GetDeploymentRoutes2$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 { @@ -12016,7 +9503,6 @@ export function responseBodyRoutesToJSON( ResponseBodyRoutes$outboundSchema.parse(responseBodyRoutes), ); } - export function responseBodyRoutesFromJSON( jsonString: string, ): SafeParseResult { @@ -12031,46 +9517,20 @@ export function responseBodyRoutesFromJSON( 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, @@ -12088,7 +9548,6 @@ export const GetDeploymentGitRepo3$inboundSchema: z.ZodType< private: z.boolean(), ownerType: GetDeploymentGitRepoOwnerType$inboundSchema, }); - /** @internal */ export type GetDeploymentGitRepo3$Outbound = { owner: string; @@ -12121,19 +9580,6 @@ export const GetDeploymentGitRepo3$outboundSchema: z.ZodType< 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 { @@ -12141,7 +9587,6 @@ export function getDeploymentGitRepo3ToJSON( GetDeploymentGitRepo3$outboundSchema.parse(getDeploymentGitRepo3), ); } - export function getDeploymentGitRepo3FromJSON( jsonString: string, ): SafeParseResult { @@ -12156,46 +9601,20 @@ export function getDeploymentGitRepo3FromJSON( 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, @@ -12213,7 +9632,6 @@ export const GetDeploymentGitRepo2$inboundSchema: z.ZodType< private: z.boolean(), ownerType: GetDeploymentGitRepoDeploymentsResponseOwnerType$inboundSchema, }); - /** @internal */ export type GetDeploymentGitRepo2$Outbound = { org: string; @@ -12246,19 +9664,6 @@ export const GetDeploymentGitRepo2$outboundSchema: z.ZodType< 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 { @@ -12266,7 +9671,6 @@ export function getDeploymentGitRepo2ToJSON( GetDeploymentGitRepo2$outboundSchema.parse(getDeploymentGitRepo2), ); } - export function getDeploymentGitRepo2FromJSON( jsonString: string, ): SafeParseResult { @@ -12281,48 +9685,20 @@ export function getDeploymentGitRepo2FromJSON( 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, @@ -12339,7 +9715,6 @@ export const GetDeploymentGitRepo1$inboundSchema: z.ZodType< private: z.boolean(), ownerType: GetDeploymentGitRepoDeploymentsOwnerType$inboundSchema, }); - /** @internal */ export type GetDeploymentGitRepo1$Outbound = { namespace: string; @@ -12370,19 +9745,6 @@ export const GetDeploymentGitRepo1$outboundSchema: z.ZodType< 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 { @@ -12390,7 +9752,6 @@ export function getDeploymentGitRepo1ToJSON( GetDeploymentGitRepo1$outboundSchema.parse(getDeploymentGitRepo1), ); } - export function getDeploymentGitRepo1FromJSON( jsonString: string, ): SafeParseResult { @@ -12411,7 +9772,6 @@ export const ResponseBodyGitRepo$inboundSchema: z.ZodType< z.lazy(() => GetDeploymentGitRepo3$inboundSchema), z.lazy(() => GetDeploymentGitRepo1$inboundSchema), ]); - /** @internal */ export type ResponseBodyGitRepo$Outbound = | GetDeploymentGitRepo2$Outbound @@ -12429,19 +9789,6 @@ export const ResponseBodyGitRepo$outboundSchema: z.ZodType< z.lazy(() => GetDeploymentGitRepo1$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 { @@ -12449,7 +9796,6 @@ export function responseBodyGitRepoToJSON( ResponseBodyGitRepo$outboundSchema.parse(responseBodyGitRepo), ); } - export function responseBodyGitRepoFromJSON( jsonString: string, ): SafeParseResult { @@ -12466,7 +9812,6 @@ export const GetDeploymentFlags2$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({}); - /** @internal */ export type GetDeploymentFlags2$Outbound = {}; @@ -12477,19 +9822,6 @@ export const GetDeploymentFlags2$outboundSchema: z.ZodType< 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 { @@ -12497,7 +9829,6 @@ export function getDeploymentFlags2ToJSON( GetDeploymentFlags2$outboundSchema.parse(getDeploymentFlags2), ); } - export function getDeploymentFlags2FromJSON( jsonString: string, ): SafeParseResult { @@ -12517,7 +9848,6 @@ export const GetDeploymentFlagsOptions$inboundSchema: z.ZodType< value: z.nullable(FlagJSONValue$inboundSchema), label: z.string().optional(), }); - /** @internal */ export type GetDeploymentFlagsOptions$Outbound = { value: FlagJSONValue$Outbound | null; @@ -12534,19 +9864,6 @@ export const GetDeploymentFlagsOptions$outboundSchema: z.ZodType< 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 { @@ -12554,7 +9871,6 @@ export function getDeploymentFlagsOptionsToJSON( GetDeploymentFlagsOptions$outboundSchema.parse(getDeploymentFlagsOptions), ); } - export function getDeploymentFlagsOptionsFromJSON( jsonString: string, ): SafeParseResult { @@ -12576,7 +9892,6 @@ export const GetDeploymentFlagsDefinitions$inboundSchema: z.ZodType< url: z.string().optional(), description: z.string().optional(), }); - /** @internal */ export type GetDeploymentFlagsDefinitions$Outbound = { options?: Array | undefined; @@ -12596,19 +9911,6 @@ export const GetDeploymentFlagsDefinitions$outboundSchema: z.ZodType< 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 { @@ -12618,7 +9920,6 @@ export function getDeploymentFlagsDefinitionsToJSON( ), ); } - export function getDeploymentFlagsDefinitionsFromJSON( jsonString: string, ): SafeParseResult { @@ -12639,7 +9940,6 @@ export const GetDeploymentFlags1$inboundSchema: z.ZodType< z.lazy(() => GetDeploymentFlagsDefinitions$inboundSchema), ), }); - /** @internal */ export type GetDeploymentFlags1$Outbound = { definitions: { [k: string]: GetDeploymentFlagsDefinitions$Outbound }; @@ -12656,19 +9956,6 @@ export const GetDeploymentFlags1$outboundSchema: z.ZodType< ), }); -/** - * @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 { @@ -12676,7 +9963,6 @@ export function getDeploymentFlags1ToJSON( GetDeploymentFlags1$outboundSchema.parse(getDeploymentFlags1), ); } - export function getDeploymentFlags1FromJSON( jsonString: string, ): SafeParseResult { @@ -12696,7 +9982,6 @@ export const ResponseBodyFlags$inboundSchema: z.ZodType< z.lazy(() => GetDeploymentFlags1$inboundSchema), z.array(z.lazy(() => GetDeploymentFlags2$inboundSchema)), ]); - /** @internal */ export type ResponseBodyFlags$Outbound = | GetDeploymentFlags1$Outbound @@ -12712,19 +9997,6 @@ export const ResponseBodyFlags$outboundSchema: z.ZodType< 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 { @@ -12732,7 +10004,6 @@ export function responseBodyFlagsToJSON( ResponseBodyFlags$outboundSchema.parse(responseBodyFlags), ); } - export function responseBodyFlagsFromJSON( jsonString: string, ): SafeParseResult { @@ -12754,7 +10025,6 @@ export const GetDeploymentMicrofrontendsApplications$inboundSchema: z.ZodType< deploymentAlias: z.string().optional(), deploymentHost: z.string().optional(), }); - /** @internal */ export type GetDeploymentMicrofrontendsApplications$Outbound = { isDefaultApp?: boolean | undefined; @@ -12775,21 +10045,6 @@ export const GetDeploymentMicrofrontendsApplications$outboundSchema: z.ZodType< 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, @@ -12800,7 +10055,6 @@ export function getDeploymentMicrofrontendsApplicationsToJSON( ), ); } - export function getDeploymentMicrofrontendsApplicationsFromJSON( jsonString: string, ): SafeParseResult< @@ -12821,25 +10075,11 @@ export function getDeploymentMicrofrontendsApplicationsFromJSON( export const GetDeploymentMicrofrontendsMfeConfigUploadState$inboundSchema: z.ZodNativeEnum = z .nativeEnum(GetDeploymentMicrofrontendsMfeConfigUploadState); - /** @internal */ export const GetDeploymentMicrofrontendsMfeConfigUploadState$outboundSchema: z.ZodNativeEnum = GetDeploymentMicrofrontendsMfeConfigUploadState$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentMicrofrontendsMfeConfigUploadState$ { - /** @deprecated use `GetDeploymentMicrofrontendsMfeConfigUploadState$inboundSchema` instead. */ - export const inboundSchema = - GetDeploymentMicrofrontendsMfeConfigUploadState$inboundSchema; - /** @deprecated use `GetDeploymentMicrofrontendsMfeConfigUploadState$outboundSchema` instead. */ - export const outboundSchema = - GetDeploymentMicrofrontendsMfeConfigUploadState$outboundSchema; -} - /** @internal */ export const GetDeploymentMicrofrontends2$inboundSchema: z.ZodType< GetDeploymentMicrofrontends2, @@ -12855,10 +10095,7 @@ export const GetDeploymentMicrofrontends2$inboundSchema: z.ZodType< defaultAppProjectName: z.string(), defaultRoute: z.string().optional(), groupIds: z.array(z.string()), - microfrontendsAlias2Enabled: z.boolean().optional(), - microfrontendsAliasRoutingVercelSiteProdTestHost: z.boolean().optional(), }); - /** @internal */ export type GetDeploymentMicrofrontends2$Outbound = { isDefaultApp: boolean; @@ -12869,8 +10106,6 @@ export type GetDeploymentMicrofrontends2$Outbound = { defaultAppProjectName: string; defaultRoute?: string | undefined; groupIds: Array; - microfrontendsAlias2Enabled?: boolean | undefined; - microfrontendsAliasRoutingVercelSiteProdTestHost?: boolean | undefined; }; /** @internal */ @@ -12888,23 +10123,8 @@ export const GetDeploymentMicrofrontends2$outboundSchema: z.ZodType< defaultAppProjectName: z.string(), defaultRoute: z.string().optional(), groupIds: z.array(z.string()), - microfrontendsAlias2Enabled: z.boolean().optional(), - microfrontendsAliasRoutingVercelSiteProdTestHost: 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 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 { @@ -12914,7 +10134,6 @@ export function getDeploymentMicrofrontends2ToJSON( ), ); } - export function getDeploymentMicrofrontends2FromJSON( jsonString: string, ): SafeParseResult { @@ -12935,18 +10154,13 @@ export const GetDeploymentMicrofrontends1$inboundSchema: z.ZodType< defaultAppProjectName: z.string(), defaultRoute: z.string().optional(), groupIds: z.array(z.string()), - microfrontendsAlias2Enabled: z.boolean().optional(), - microfrontendsAliasRoutingVercelSiteProdTestHost: z.boolean().optional(), }); - /** @internal */ export type GetDeploymentMicrofrontends1$Outbound = { isDefaultApp?: boolean | undefined; defaultAppProjectName: string; defaultRoute?: string | undefined; groupIds: Array; - microfrontendsAlias2Enabled?: boolean | undefined; - microfrontendsAliasRoutingVercelSiteProdTestHost?: boolean | undefined; }; /** @internal */ @@ -12959,23 +10173,8 @@ export const GetDeploymentMicrofrontends1$outboundSchema: z.ZodType< defaultAppProjectName: z.string(), defaultRoute: z.string().optional(), groupIds: z.array(z.string()), - microfrontendsAlias2Enabled: z.boolean().optional(), - microfrontendsAliasRoutingVercelSiteProdTestHost: 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 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 { @@ -12985,7 +10184,6 @@ export function getDeploymentMicrofrontends1ToJSON( ), ); } - export function getDeploymentMicrofrontends1FromJSON( jsonString: string, ): SafeParseResult { @@ -13005,7 +10203,6 @@ export const ResponseBodyMicrofrontends$inboundSchema: z.ZodType< z.lazy(() => GetDeploymentMicrofrontends2$inboundSchema), z.lazy(() => GetDeploymentMicrofrontends1$inboundSchema), ]); - /** @internal */ export type ResponseBodyMicrofrontends$Outbound = | GetDeploymentMicrofrontends2$Outbound @@ -13021,19 +10218,6 @@ export const ResponseBodyMicrofrontends$outboundSchema: z.ZodType< z.lazy(() => GetDeploymentMicrofrontends1$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 { @@ -13041,7 +10225,6 @@ export function responseBodyMicrofrontendsToJSON( ResponseBodyMicrofrontends$outboundSchema.parse(responseBodyMicrofrontends), ); } - export function responseBodyMicrofrontendsFromJSON( jsonString: string, ): SafeParseResult { @@ -13056,44 +10239,20 @@ export function responseBodyMicrofrontendsFromJSON( export const ResponseBodyFunctionType$inboundSchema: z.ZodNativeEnum< typeof ResponseBodyFunctionType > = z.nativeEnum(ResponseBodyFunctionType); - /** @internal */ export const ResponseBodyFunctionType$outboundSchema: z.ZodNativeEnum< typeof ResponseBodyFunctionType > = ResponseBodyFunctionType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ResponseBodyFunctionType$ { - /** @deprecated use `ResponseBodyFunctionType$inboundSchema` instead. */ - export const inboundSchema = ResponseBodyFunctionType$inboundSchema; - /** @deprecated use `ResponseBodyFunctionType$outboundSchema` instead. */ - export const outboundSchema = ResponseBodyFunctionType$outboundSchema; -} - /** @internal */ export const ResponseBodyFunctionMemoryType$inboundSchema: z.ZodNativeEnum< typeof ResponseBodyFunctionMemoryType > = z.nativeEnum(ResponseBodyFunctionMemoryType); - /** @internal */ export const ResponseBodyFunctionMemoryType$outboundSchema: z.ZodNativeEnum< typeof ResponseBodyFunctionMemoryType > = ResponseBodyFunctionMemoryType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ResponseBodyFunctionMemoryType$ { - /** @deprecated use `ResponseBodyFunctionMemoryType$inboundSchema` instead. */ - export const inboundSchema = ResponseBodyFunctionMemoryType$inboundSchema; - /** @deprecated use `ResponseBodyFunctionMemoryType$outboundSchema` instead. */ - export const outboundSchema = ResponseBodyFunctionMemoryType$outboundSchema; -} - /** @internal */ export const ResponseBodyConfig$inboundSchema: z.ZodType< ResponseBodyConfig, @@ -13108,7 +10267,6 @@ export const ResponseBodyConfig$inboundSchema: z.ZodType< secureComputeFallbackRegion: z.nullable(z.string()), isUsingActiveCPU: z.boolean().optional(), }); - /** @internal */ export type ResponseBodyConfig$Outbound = { version?: number | undefined; @@ -13135,19 +10293,6 @@ export const ResponseBodyConfig$outboundSchema: z.ZodType< isUsingActiveCPU: 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 ResponseBodyConfig$ { - /** @deprecated use `ResponseBodyConfig$inboundSchema` instead. */ - export const inboundSchema = ResponseBodyConfig$inboundSchema; - /** @deprecated use `ResponseBodyConfig$outboundSchema` instead. */ - export const outboundSchema = ResponseBodyConfig$outboundSchema; - /** @deprecated use `ResponseBodyConfig$Outbound` instead. */ - export type Outbound = ResponseBodyConfig$Outbound; -} - export function responseBodyConfigToJSON( responseBodyConfig: ResponseBodyConfig, ): string { @@ -13155,7 +10300,6 @@ export function responseBodyConfigToJSON( ResponseBodyConfig$outboundSchema.parse(responseBodyConfig), ); } - export function responseBodyConfigFromJSON( jsonString: string, ): SafeParseResult { @@ -13170,23 +10314,11 @@ export function responseBodyConfigFromJSON( export const ResponseBodyState$inboundSchema: z.ZodNativeEnum< typeof ResponseBodyState > = z.nativeEnum(ResponseBodyState); - /** @internal */ export const ResponseBodyState$outboundSchema: z.ZodNativeEnum< typeof ResponseBodyState > = ResponseBodyState$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ResponseBodyState$ { - /** @deprecated use `ResponseBodyState$inboundSchema` instead. */ - export const inboundSchema = ResponseBodyState$inboundSchema; - /** @deprecated use `ResponseBodyState$outboundSchema` instead. */ - export const outboundSchema = ResponseBodyState$outboundSchema; -} - /** @internal */ export const ResponseBodyDeploymentAlias$inboundSchema: z.ZodType< ResponseBodyDeploymentAlias, @@ -13197,7 +10329,6 @@ export const ResponseBodyDeploymentAlias$inboundSchema: z.ZodType< startedAt: z.number(), completedAt: z.number().optional(), }); - /** @internal */ export type ResponseBodyDeploymentAlias$Outbound = { state: string; @@ -13216,19 +10347,6 @@ export const ResponseBodyDeploymentAlias$outboundSchema: z.ZodType< completedAt: 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 ResponseBodyDeploymentAlias$ { - /** @deprecated use `ResponseBodyDeploymentAlias$inboundSchema` instead. */ - export const inboundSchema = ResponseBodyDeploymentAlias$inboundSchema; - /** @deprecated use `ResponseBodyDeploymentAlias$outboundSchema` instead. */ - export const outboundSchema = ResponseBodyDeploymentAlias$outboundSchema; - /** @deprecated use `ResponseBodyDeploymentAlias$Outbound` instead. */ - export type Outbound = ResponseBodyDeploymentAlias$Outbound; -} - export function responseBodyDeploymentAliasToJSON( responseBodyDeploymentAlias: ResponseBodyDeploymentAlias, ): string { @@ -13238,7 +10356,6 @@ export function responseBodyDeploymentAliasToJSON( ), ); } - export function responseBodyDeploymentAliasFromJSON( jsonString: string, ): SafeParseResult { @@ -13261,7 +10378,6 @@ export const ResponseBodyChecks$inboundSchema: z.ZodType< "deployment-alias": "deploymentAlias", }); }); - /** @internal */ export type ResponseBodyChecks$Outbound = { "deployment-alias": ResponseBodyDeploymentAlias$Outbound; @@ -13280,19 +10396,6 @@ export const ResponseBodyChecks$outboundSchema: z.ZodType< }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ResponseBodyChecks$ { - /** @deprecated use `ResponseBodyChecks$inboundSchema` instead. */ - export const inboundSchema = ResponseBodyChecks$inboundSchema; - /** @deprecated use `ResponseBodyChecks$outboundSchema` instead. */ - export const outboundSchema = ResponseBodyChecks$outboundSchema; - /** @deprecated use `ResponseBodyChecks$Outbound` instead. */ - export type Outbound = ResponseBodyChecks$Outbound; -} - export function responseBodyChecksToJSON( responseBodyChecks: ResponseBodyChecks, ): string { @@ -13300,7 +10403,6 @@ export function responseBodyChecksToJSON( ResponseBodyChecks$outboundSchema.parse(responseBodyChecks), ); } - export function responseBodyChecksFromJSON( jsonString: string, ): SafeParseResult { @@ -13447,7 +10549,6 @@ export const GetDeploymentResponseBody1$inboundSchema: z.ZodType< config: z.lazy(() => ResponseBodyConfig$inboundSchema).optional(), checks: z.lazy(() => ResponseBodyChecks$inboundSchema).optional(), }); - /** @internal */ export type GetDeploymentResponseBody1$Outbound = { aliasAssignedAt?: number | boolean | null | undefined; @@ -13716,19 +10817,6 @@ export const GetDeploymentResponseBody1$outboundSchema: z.ZodType< checks: z.lazy(() => ResponseBodyChecks$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 { @@ -13736,7 +10824,6 @@ export function getDeploymentResponseBody1ToJSON( GetDeploymentResponseBody1$outboundSchema.parse(getDeploymentResponseBody1), ); } - export function getDeploymentResponseBody1FromJSON( jsonString: string, ): SafeParseResult { @@ -13756,7 +10843,6 @@ export const GetDeploymentResponseBody$inboundSchema: z.ZodType< z.lazy(() => GetDeploymentResponseBody1$inboundSchema), z.lazy(() => GetDeploymentResponseBody2$inboundSchema), ]); - /** @internal */ export type GetDeploymentResponseBody$Outbound = | GetDeploymentResponseBody1$Outbound @@ -13772,19 +10858,6 @@ export const GetDeploymentResponseBody$outboundSchema: z.ZodType< z.lazy(() => GetDeploymentResponseBody2$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 { @@ -13792,7 +10865,6 @@ export function getDeploymentResponseBodyToJSON( GetDeploymentResponseBody$outboundSchema.parse(getDeploymentResponseBody), ); } - export function getDeploymentResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/getdeploymentsop.ts b/src/models/getdeploymentsop.ts index ed6e859ba..07ffead67 100644 --- a/src/models/getdeploymentsop.ts +++ b/src/models/getdeploymentsop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; @@ -322,10 +322,12 @@ export const GetDeploymentsFramework = { Zola: "zola", Hydrogen: "hydrogen", Vite: "vite", + TanstackStart: "tanstack-start", Vitepress: "vitepress", Vuepress: "vuepress", Parcel: "parcel", Fastapi: "fastapi", + Flask: "flask", Fasthtml: "fasthtml", SanityV3: "sanity-v3", Sanity: "sanity", @@ -334,6 +336,9 @@ export const GetDeploymentsFramework = { Hono: "hono", Express: "express", H3: "h3", + Nestjs: "nestjs", + Elysia: "elysia", + Fastify: "fastify", Xmcp: "xmcp", } as const; export type GetDeploymentsFramework = ClosedEnum< @@ -341,6 +346,7 @@ export type GetDeploymentsFramework = ClosedEnum< >; export const GetDeploymentsNodeVersion = { + TwentyFourDotX: "24.x", TwentyTwoDotX: "22.x", TwentyDotX: "20.x", EighteenDotX: "18.x", @@ -599,7 +605,6 @@ export const GetDeploymentsRequest$inboundSchema: z.ZodType< teamId: z.string().optional(), slug: z.string().optional(), }); - /** @internal */ export type GetDeploymentsRequest$Outbound = { app?: string | undefined; @@ -644,19 +649,6 @@ export const GetDeploymentsRequest$outboundSchema: z.ZodType< 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 { @@ -664,7 +656,6 @@ export function getDeploymentsRequestToJSON( GetDeploymentsRequest$outboundSchema.parse(getDeploymentsRequest), ); } - export function getDeploymentsRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -679,86 +670,38 @@ export function getDeploymentsRequestFromJSON( 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, @@ -771,7 +714,6 @@ export const GetDeploymentsCreator$inboundSchema: z.ZodType< githubLogin: z.string().optional(), gitlabLogin: z.string().optional(), }); - /** @internal */ export type GetDeploymentsCreator$Outbound = { uid: string; @@ -794,19 +736,6 @@ export const GetDeploymentsCreator$outboundSchema: z.ZodType< 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 { @@ -814,7 +743,6 @@ export function getDeploymentsCreatorToJSON( GetDeploymentsCreator$outboundSchema.parse(getDeploymentsCreator), ); } - export function getDeploymentsCreatorFromJSON( jsonString: string, ): SafeParseResult { @@ -829,23 +757,11 @@ export function getDeploymentsCreatorFromJSON( 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, @@ -855,7 +771,6 @@ export const GetDeploymentsAliasError$inboundSchema: z.ZodType< code: z.string(), message: z.string(), }); - /** @internal */ export type GetDeploymentsAliasError$Outbound = { code: string; @@ -872,19 +787,6 @@ export const GetDeploymentsAliasError$outboundSchema: z.ZodType< 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 { @@ -892,7 +794,6 @@ export function getDeploymentsAliasErrorToJSON( GetDeploymentsAliasError$outboundSchema.parse(getDeploymentsAliasError), ); } - export function getDeploymentsAliasErrorFromJSON( jsonString: string, ): SafeParseResult { @@ -909,7 +810,6 @@ export const GetDeploymentsAliasAssigned$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.union([z.number(), z.boolean()]); - /** @internal */ export type GetDeploymentsAliasAssigned$Outbound = number | boolean; @@ -920,19 +820,6 @@ export const GetDeploymentsAliasAssigned$outboundSchema: z.ZodType< 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 { @@ -942,7 +829,6 @@ export function getDeploymentsAliasAssignedToJSON( ), ); } - export function getDeploymentsAliasAssignedFromJSON( jsonString: string, ): SafeParseResult { @@ -957,86 +843,38 @@ export function getDeploymentsAliasAssignedFromJSON( 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 GetDeploymentsDeploymentsState$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentsDeploymentsState > = z.nativeEnum(GetDeploymentsDeploymentsState); - /** @internal */ export const GetDeploymentsDeploymentsState$outboundSchema: z.ZodNativeEnum< typeof GetDeploymentsDeploymentsState > = GetDeploymentsDeploymentsState$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentsDeploymentsState$ { - /** @deprecated use `GetDeploymentsDeploymentsState$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentsDeploymentsState$inboundSchema; - /** @deprecated use `GetDeploymentsDeploymentsState$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentsDeploymentsState$outboundSchema; -} - /** @internal */ export const GetDeploymentsDeploymentAlias$inboundSchema: z.ZodType< GetDeploymentsDeploymentAlias, @@ -1047,7 +885,6 @@ export const GetDeploymentsDeploymentAlias$inboundSchema: z.ZodType< startedAt: z.number(), completedAt: z.number().optional(), }); - /** @internal */ export type GetDeploymentsDeploymentAlias$Outbound = { state: string; @@ -1066,19 +903,6 @@ export const GetDeploymentsDeploymentAlias$outboundSchema: z.ZodType< completedAt: 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 GetDeploymentsDeploymentAlias$ { - /** @deprecated use `GetDeploymentsDeploymentAlias$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentsDeploymentAlias$inboundSchema; - /** @deprecated use `GetDeploymentsDeploymentAlias$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentsDeploymentAlias$outboundSchema; - /** @deprecated use `GetDeploymentsDeploymentAlias$Outbound` instead. */ - export type Outbound = GetDeploymentsDeploymentAlias$Outbound; -} - export function getDeploymentsDeploymentAliasToJSON( getDeploymentsDeploymentAlias: GetDeploymentsDeploymentAlias, ): string { @@ -1088,7 +912,6 @@ export function getDeploymentsDeploymentAliasToJSON( ), ); } - export function getDeploymentsDeploymentAliasFromJSON( jsonString: string, ): SafeParseResult { @@ -1111,7 +934,6 @@ export const GetDeploymentsChecks$inboundSchema: z.ZodType< "deployment-alias": "deploymentAlias", }); }); - /** @internal */ export type GetDeploymentsChecks$Outbound = { "deployment-alias": GetDeploymentsDeploymentAlias$Outbound; @@ -1130,19 +952,6 @@ export const GetDeploymentsChecks$outboundSchema: z.ZodType< }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentsChecks$ { - /** @deprecated use `GetDeploymentsChecks$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentsChecks$inboundSchema; - /** @deprecated use `GetDeploymentsChecks$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentsChecks$outboundSchema; - /** @deprecated use `GetDeploymentsChecks$Outbound` instead. */ - export type Outbound = GetDeploymentsChecks$Outbound; -} - export function getDeploymentsChecksToJSON( getDeploymentsChecks: GetDeploymentsChecks, ): string { @@ -1150,7 +959,6 @@ export function getDeploymentsChecksToJSON( GetDeploymentsChecks$outboundSchema.parse(getDeploymentsChecks), ); } - export function getDeploymentsChecksFromJSON( jsonString: string, ): SafeParseResult { @@ -1165,65 +973,29 @@ export function getDeploymentsChecksFromJSON( export const GetDeploymentsOomReport$inboundSchema: z.ZodNativeEnum< typeof GetDeploymentsOomReport > = z.nativeEnum(GetDeploymentsOomReport); - /** @internal */ export const GetDeploymentsOomReport$outboundSchema: z.ZodNativeEnum< typeof GetDeploymentsOomReport > = GetDeploymentsOomReport$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDeploymentsOomReport$ { - /** @deprecated use `GetDeploymentsOomReport$inboundSchema` instead. */ - export const inboundSchema = GetDeploymentsOomReport$inboundSchema; - /** @deprecated use `GetDeploymentsOomReport$outboundSchema` instead. */ - export const outboundSchema = GetDeploymentsOomReport$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, @@ -1237,7 +1009,6 @@ export const GetDeploymentsSpeedInsights$inboundSchema: z.ZodType< hasData: z.boolean().optional(), paidAt: z.number().optional(), }); - /** @internal */ export type GetDeploymentsSpeedInsights$Outbound = { id: string; @@ -1262,19 +1033,6 @@ export const GetDeploymentsSpeedInsights$outboundSchema: z.ZodType< 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 { @@ -1284,7 +1042,6 @@ export function getDeploymentsSpeedInsightsToJSON( ), ); } - export function getDeploymentsSpeedInsightsFromJSON( jsonString: string, ): SafeParseResult { @@ -1307,7 +1064,6 @@ export const GetDeploymentsWebAnalytics$inboundSchema: z.ZodType< enabledAt: z.number().optional(), hasData: z.boolean().optional(), }); - /** @internal */ export type GetDeploymentsWebAnalytics$Outbound = { id: string; @@ -1330,19 +1086,6 @@ export const GetDeploymentsWebAnalytics$outboundSchema: z.ZodType< 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 { @@ -1350,7 +1093,6 @@ export function getDeploymentsWebAnalyticsToJSON( GetDeploymentsWebAnalytics$outboundSchema.parse(getDeploymentsWebAnalytics), ); } - export function getDeploymentsWebAnalyticsFromJSON( jsonString: string, ): SafeParseResult { @@ -1370,7 +1112,6 @@ export const GetDeploymentsGitComments$inboundSchema: z.ZodType< onPullRequest: z.boolean(), onCommit: z.boolean(), }); - /** @internal */ export type GetDeploymentsGitComments$Outbound = { onPullRequest: boolean; @@ -1387,19 +1128,6 @@ export const GetDeploymentsGitComments$outboundSchema: z.ZodType< 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 { @@ -1407,7 +1135,6 @@ export function getDeploymentsGitCommentsToJSON( GetDeploymentsGitComments$outboundSchema.parse(getDeploymentsGitComments), ); } - export function getDeploymentsGitCommentsFromJSON( jsonString: string, ): SafeParseResult { @@ -1445,7 +1172,6 @@ export const GetDeploymentsProjectSettings$inboundSchema: z.ZodType< skipGitConnectDuringLink: z.boolean().optional(), gitComments: z.lazy(() => GetDeploymentsGitComments$inboundSchema).optional(), }); - /** @internal */ export type GetDeploymentsProjectSettings$Outbound = { framework?: string | null | undefined; @@ -1497,19 +1223,6 @@ export const GetDeploymentsProjectSettings$outboundSchema: z.ZodType< .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 { @@ -1519,7 +1232,6 @@ export function getDeploymentsProjectSettingsToJSON( ), ); } - export function getDeploymentsProjectSettingsFromJSON( jsonString: string, ): SafeParseResult { @@ -1539,7 +1251,6 @@ export const GetDeploymentsCustomEnvironment$inboundSchema: z.ZodType< id: z.string(), slug: z.string().optional(), }); - /** @internal */ export type GetDeploymentsCustomEnvironment$Outbound = { id: string; @@ -1556,19 +1267,6 @@ export const GetDeploymentsCustomEnvironment$outboundSchema: z.ZodType< 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 { @@ -1578,7 +1276,6 @@ export function getDeploymentsCustomEnvironmentToJSON( ), ); } - export function getDeploymentsCustomEnvironmentFromJSON( jsonString: string, ): SafeParseResult { @@ -1636,7 +1333,6 @@ export const Deployments$inboundSchema: z.ZodType< customEnvironment: z.lazy(() => GetDeploymentsCustomEnvironment$inboundSchema) .optional(), }); - /** @internal */ export type Deployments$Outbound = { uid: string; @@ -1727,23 +1423,9 @@ export const Deployments$outboundSchema: z.ZodType< ).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 { @@ -1763,7 +1445,6 @@ export const GetDeploymentsResponseBody$inboundSchema: z.ZodType< pagination: Pagination$inboundSchema, deployments: z.array(z.lazy(() => Deployments$inboundSchema)), }); - /** @internal */ export type GetDeploymentsResponseBody$Outbound = { pagination: Pagination$Outbound; @@ -1780,19 +1461,6 @@ export const GetDeploymentsResponseBody$outboundSchema: z.ZodType< 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 { @@ -1800,7 +1468,6 @@ export function getDeploymentsResponseBodyToJSON( GetDeploymentsResponseBody$outboundSchema.parse(getDeploymentsResponseBody), ); } - export function getDeploymentsResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/getdomainauthcodeop.ts b/src/models/getdomainauthcodeop.ts new file mode 100644 index 000000000..115d53ba5 --- /dev/null +++ b/src/models/getdomainauthcodeop.ts @@ -0,0 +1,168 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { safeParse } from "../lib/schemas.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { + Forbidden, + Forbidden$inboundSchema, + Forbidden$Outbound, + Forbidden$outboundSchema, +} from "./forbidden.js"; +import { + NotAuthorizedForScope, + NotAuthorizedForScope$inboundSchema, + NotAuthorizedForScope$Outbound, + NotAuthorizedForScope$outboundSchema, +} from "./notauthorizedforscope.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type GetDomainAuthCodeRequest = { + domain: string; + teamId?: string | undefined; +}; + +/** + * NotAuthorizedForScope + */ +export type GetDomainAuthCodeDomainsRegistrarResponseBody = + | NotAuthorizedForScope + | Forbidden; + +/** + * Success + */ +export type GetDomainAuthCodeResponseBody = { + authCode: string; +}; + +/** @internal */ +export const GetDomainAuthCodeRequest$inboundSchema: z.ZodType< + GetDomainAuthCodeRequest, + z.ZodTypeDef, + unknown +> = z.object({ + domain: z.string(), + teamId: z.string().optional(), +}); +/** @internal */ +export type GetDomainAuthCodeRequest$Outbound = { + domain: string; + teamId?: string | undefined; +}; + +/** @internal */ +export const GetDomainAuthCodeRequest$outboundSchema: z.ZodType< + GetDomainAuthCodeRequest$Outbound, + z.ZodTypeDef, + GetDomainAuthCodeRequest +> = z.object({ + domain: z.string(), + teamId: z.string().optional(), +}); + +export function getDomainAuthCodeRequestToJSON( + getDomainAuthCodeRequest: GetDomainAuthCodeRequest, +): string { + return JSON.stringify( + GetDomainAuthCodeRequest$outboundSchema.parse(getDomainAuthCodeRequest), + ); +} +export function getDomainAuthCodeRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDomainAuthCodeRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDomainAuthCodeRequest' from JSON`, + ); +} + +/** @internal */ +export const GetDomainAuthCodeDomainsRegistrarResponseBody$inboundSchema: + z.ZodType< + GetDomainAuthCodeDomainsRegistrarResponseBody, + z.ZodTypeDef, + unknown + > = z.union([NotAuthorizedForScope$inboundSchema, Forbidden$inboundSchema]); +/** @internal */ +export type GetDomainAuthCodeDomainsRegistrarResponseBody$Outbound = + | NotAuthorizedForScope$Outbound + | Forbidden$Outbound; + +/** @internal */ +export const GetDomainAuthCodeDomainsRegistrarResponseBody$outboundSchema: + z.ZodType< + GetDomainAuthCodeDomainsRegistrarResponseBody$Outbound, + z.ZodTypeDef, + unknown + > = z.union([NotAuthorizedForScope$outboundSchema, Forbidden$outboundSchema]); + +export function getDomainAuthCodeDomainsRegistrarResponseBodyToJSON( + getDomainAuthCodeDomainsRegistrarResponseBody: + GetDomainAuthCodeDomainsRegistrarResponseBody, +): string { + return JSON.stringify( + GetDomainAuthCodeDomainsRegistrarResponseBody$outboundSchema.parse( + getDomainAuthCodeDomainsRegistrarResponseBody, + ), + ); +} +export function getDomainAuthCodeDomainsRegistrarResponseBodyFromJSON( + jsonString: string, +): SafeParseResult< + GetDomainAuthCodeDomainsRegistrarResponseBody, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + GetDomainAuthCodeDomainsRegistrarResponseBody$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'GetDomainAuthCodeDomainsRegistrarResponseBody' from JSON`, + ); +} + +/** @internal */ +export const GetDomainAuthCodeResponseBody$inboundSchema: z.ZodType< + GetDomainAuthCodeResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + authCode: z.string(), +}); +/** @internal */ +export type GetDomainAuthCodeResponseBody$Outbound = { + authCode: string; +}; + +/** @internal */ +export const GetDomainAuthCodeResponseBody$outboundSchema: z.ZodType< + GetDomainAuthCodeResponseBody$Outbound, + z.ZodTypeDef, + GetDomainAuthCodeResponseBody +> = z.object({ + authCode: z.string(), +}); + +export function getDomainAuthCodeResponseBodyToJSON( + getDomainAuthCodeResponseBody: GetDomainAuthCodeResponseBody, +): string { + return JSON.stringify( + GetDomainAuthCodeResponseBody$outboundSchema.parse( + getDomainAuthCodeResponseBody, + ), + ); +} +export function getDomainAuthCodeResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDomainAuthCodeResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDomainAuthCodeResponseBody' from JSON`, + ); +} diff --git a/src/models/getdomainavailabilityop.ts b/src/models/getdomainavailabilityop.ts new file mode 100644 index 000000000..3d16905d9 --- /dev/null +++ b/src/models/getdomainavailabilityop.ts @@ -0,0 +1,105 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { safeParse } from "../lib/schemas.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type GetDomainAvailabilityRequest = { + domain: string; + teamId?: string | undefined; +}; + +/** + * Success + */ +export type GetDomainAvailabilityResponseBody = { + available: boolean; +}; + +/** @internal */ +export const GetDomainAvailabilityRequest$inboundSchema: z.ZodType< + GetDomainAvailabilityRequest, + z.ZodTypeDef, + unknown +> = z.object({ + domain: z.string(), + teamId: z.string().optional(), +}); +/** @internal */ +export type GetDomainAvailabilityRequest$Outbound = { + domain: string; + teamId?: string | undefined; +}; + +/** @internal */ +export const GetDomainAvailabilityRequest$outboundSchema: z.ZodType< + GetDomainAvailabilityRequest$Outbound, + z.ZodTypeDef, + GetDomainAvailabilityRequest +> = z.object({ + domain: z.string(), + teamId: z.string().optional(), +}); + +export function getDomainAvailabilityRequestToJSON( + getDomainAvailabilityRequest: GetDomainAvailabilityRequest, +): string { + return JSON.stringify( + GetDomainAvailabilityRequest$outboundSchema.parse( + getDomainAvailabilityRequest, + ), + ); +} +export function getDomainAvailabilityRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDomainAvailabilityRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDomainAvailabilityRequest' from JSON`, + ); +} + +/** @internal */ +export const GetDomainAvailabilityResponseBody$inboundSchema: z.ZodType< + GetDomainAvailabilityResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + available: z.boolean(), +}); +/** @internal */ +export type GetDomainAvailabilityResponseBody$Outbound = { + available: boolean; +}; + +/** @internal */ +export const GetDomainAvailabilityResponseBody$outboundSchema: z.ZodType< + GetDomainAvailabilityResponseBody$Outbound, + z.ZodTypeDef, + GetDomainAvailabilityResponseBody +> = z.object({ + available: z.boolean(), +}); + +export function getDomainAvailabilityResponseBodyToJSON( + getDomainAvailabilityResponseBody: GetDomainAvailabilityResponseBody, +): string { + return JSON.stringify( + GetDomainAvailabilityResponseBody$outboundSchema.parse( + getDomainAvailabilityResponseBody, + ), + ); +} +export function getDomainAvailabilityResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDomainAvailabilityResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDomainAvailabilityResponseBody' from JSON`, + ); +} diff --git a/src/models/getdomainconfigop.ts b/src/models/getdomainconfigop.ts index 3fe5c4a04..71ea62858 100644 --- a/src/models/getdomainconfigop.ts +++ b/src/models/getdomainconfigop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; @@ -111,22 +111,10 @@ export type GetDomainConfigResponseBody = { /** @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, @@ -139,7 +127,6 @@ export const GetDomainConfigRequest$inboundSchema: z.ZodType< teamId: z.string().optional(), slug: z.string().optional(), }); - /** @internal */ export type GetDomainConfigRequest$Outbound = { domain: string; @@ -162,19 +149,6 @@ export const GetDomainConfigRequest$outboundSchema: z.ZodType< 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 { @@ -182,7 +156,6 @@ export function getDomainConfigRequestToJSON( GetDomainConfigRequest$outboundSchema.parse(getDomainConfigRequest), ); } - export function getDomainConfigRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -196,43 +169,19 @@ export function getDomainConfigRequestFromJSON( /** @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 RecommendedIPv4$inboundSchema: z.ZodType< RecommendedIPv4, @@ -242,7 +191,6 @@ export const RecommendedIPv4$inboundSchema: z.ZodType< rank: z.number(), value: z.array(z.string()), }); - /** @internal */ export type RecommendedIPv4$Outbound = { rank: number; @@ -259,25 +207,11 @@ export const RecommendedIPv4$outboundSchema: z.ZodType< value: 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 RecommendedIPv4$ { - /** @deprecated use `RecommendedIPv4$inboundSchema` instead. */ - export const inboundSchema = RecommendedIPv4$inboundSchema; - /** @deprecated use `RecommendedIPv4$outboundSchema` instead. */ - export const outboundSchema = RecommendedIPv4$outboundSchema; - /** @deprecated use `RecommendedIPv4$Outbound` instead. */ - export type Outbound = RecommendedIPv4$Outbound; -} - export function recommendedIPv4ToJSON( recommendedIPv4: RecommendedIPv4, ): string { return JSON.stringify(RecommendedIPv4$outboundSchema.parse(recommendedIPv4)); } - export function recommendedIPv4FromJSON( jsonString: string, ): SafeParseResult { @@ -297,7 +231,6 @@ export const RecommendedCNAME$inboundSchema: z.ZodType< rank: z.number(), value: z.string(), }); - /** @internal */ export type RecommendedCNAME$Outbound = { rank: number; @@ -314,19 +247,6 @@ export const RecommendedCNAME$outboundSchema: z.ZodType< 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 RecommendedCNAME$ { - /** @deprecated use `RecommendedCNAME$inboundSchema` instead. */ - export const inboundSchema = RecommendedCNAME$inboundSchema; - /** @deprecated use `RecommendedCNAME$outboundSchema` instead. */ - export const outboundSchema = RecommendedCNAME$outboundSchema; - /** @deprecated use `RecommendedCNAME$Outbound` instead. */ - export type Outbound = RecommendedCNAME$Outbound; -} - export function recommendedCNAMEToJSON( recommendedCNAME: RecommendedCNAME, ): string { @@ -334,7 +254,6 @@ export function recommendedCNAMEToJSON( RecommendedCNAME$outboundSchema.parse(recommendedCNAME), ); } - export function recommendedCNAMEFromJSON( jsonString: string, ): SafeParseResult { @@ -357,7 +276,6 @@ export const GetDomainConfigResponseBody$inboundSchema: z.ZodType< recommendedCNAME: z.array(z.lazy(() => RecommendedCNAME$inboundSchema)), misconfigured: z.boolean(), }); - /** @internal */ export type GetDomainConfigResponseBody$Outbound = { configuredBy: string | null; @@ -380,19 +298,6 @@ export const GetDomainConfigResponseBody$outboundSchema: z.ZodType< 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 { @@ -402,7 +307,6 @@ export function getDomainConfigResponseBodyToJSON( ), ); } - export function getDomainConfigResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/getdomainop.ts b/src/models/getdomainop.ts index 67803d47c..89c98ddea 100644 --- a/src/models/getdomainop.ts +++ b/src/models/getdomainop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; @@ -145,7 +145,6 @@ export const GetDomainRequest$inboundSchema: z.ZodType< teamId: z.string().optional(), slug: z.string().optional(), }); - /** @internal */ export type GetDomainRequest$Outbound = { domain: string; @@ -164,19 +163,6 @@ export const GetDomainRequest$outboundSchema: z.ZodType< 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 { @@ -184,7 +170,6 @@ export function getDomainRequestToJSON( GetDomainRequest$outboundSchema.parse(getDomainRequest), ); } - export function getDomainRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -207,7 +192,6 @@ export const GetDomainCreator$inboundSchema: z.ZodType< isDomainReseller: z.boolean().optional(), id: z.string(), }); - /** @internal */ export type GetDomainCreator$Outbound = { username: string; @@ -230,19 +214,6 @@ export const GetDomainCreator$outboundSchema: z.ZodType< 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 { @@ -250,7 +221,6 @@ export function getDomainCreatorToJSON( GetDomainCreator$outboundSchema.parse(getDomainCreator), ); } - export function getDomainCreatorFromJSON( jsonString: string, ): SafeParseResult { @@ -264,41 +234,17 @@ export function getDomainCreatorFromJSON( /** @internal */ export const Registrar$inboundSchema: z.ZodNativeEnum = z .nativeEnum(Registrar); - /** @internal */ export const Registrar$outboundSchema: z.ZodNativeEnum = Registrar$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Registrar$ { - /** @deprecated use `Registrar$inboundSchema` instead. */ - export const inboundSchema = Registrar$inboundSchema; - /** @deprecated use `Registrar$outboundSchema` instead. */ - export const outboundSchema = Registrar$outboundSchema; -} - /** @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, @@ -325,7 +271,6 @@ export const GetDomainDomain$inboundSchema: z.ZodType< transferStartedAt: z.number().optional(), userId: z.string(), }); - /** @internal */ export type GetDomainDomain$Outbound = { suffix: boolean; @@ -376,25 +321,11 @@ export const GetDomainDomain$outboundSchema: z.ZodType< 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 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 { @@ -413,7 +344,6 @@ export const GetDomainResponseBody$inboundSchema: z.ZodType< > = z.object({ domain: z.lazy(() => GetDomainDomain$inboundSchema), }); - /** @internal */ export type GetDomainResponseBody$Outbound = { domain: GetDomainDomain$Outbound; @@ -428,19 +358,6 @@ export const GetDomainResponseBody$outboundSchema: z.ZodType< 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 { @@ -448,7 +365,6 @@ export function getDomainResponseBodyToJSON( GetDomainResponseBody$outboundSchema.parse(getDomainResponseBody), ); } - export function getDomainResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/getdomainpriceop.ts b/src/models/getdomainpriceop.ts new file mode 100644 index 000000000..734b719cb --- /dev/null +++ b/src/models/getdomainpriceop.ts @@ -0,0 +1,126 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { safeParse } from "../lib/schemas.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type GetDomainPriceRequest = { + domain: string; + years?: string | undefined; + teamId?: string | undefined; +}; + +/** + * Success + */ +export type GetDomainPriceResponseBody = { + years: number; + /** + * The price for purchasing this domain for the given number of years. If null, the domain is not available for purchase for the given number of years. + */ + purchasePrice: number | null; + /** + * The price for renewing this domain for the given number of years. If null, the domain cannot be renewed for the given number of years. + */ + renewalPrice: number | null; + /** + * The price for transferring this domain in for the given number of years. If null, the domain cannot be transferred in for the given number of years. + */ + transferPrice: number | null; +}; + +/** @internal */ +export const GetDomainPriceRequest$inboundSchema: z.ZodType< + GetDomainPriceRequest, + z.ZodTypeDef, + unknown +> = z.object({ + domain: z.string(), + years: z.string().optional(), + teamId: z.string().optional(), +}); +/** @internal */ +export type GetDomainPriceRequest$Outbound = { + domain: string; + years?: string | undefined; + teamId?: string | undefined; +}; + +/** @internal */ +export const GetDomainPriceRequest$outboundSchema: z.ZodType< + GetDomainPriceRequest$Outbound, + z.ZodTypeDef, + GetDomainPriceRequest +> = z.object({ + domain: z.string(), + years: z.string().optional(), + teamId: z.string().optional(), +}); + +export function getDomainPriceRequestToJSON( + getDomainPriceRequest: GetDomainPriceRequest, +): string { + return JSON.stringify( + GetDomainPriceRequest$outboundSchema.parse(getDomainPriceRequest), + ); +} +export function getDomainPriceRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDomainPriceRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDomainPriceRequest' from JSON`, + ); +} + +/** @internal */ +export const GetDomainPriceResponseBody$inboundSchema: z.ZodType< + GetDomainPriceResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + years: z.number(), + purchasePrice: z.nullable(z.number()), + renewalPrice: z.nullable(z.number()), + transferPrice: z.nullable(z.number()), +}); +/** @internal */ +export type GetDomainPriceResponseBody$Outbound = { + years: number; + purchasePrice: number | null; + renewalPrice: number | null; + transferPrice: number | null; +}; + +/** @internal */ +export const GetDomainPriceResponseBody$outboundSchema: z.ZodType< + GetDomainPriceResponseBody$Outbound, + z.ZodTypeDef, + GetDomainPriceResponseBody +> = z.object({ + years: z.number(), + purchasePrice: z.nullable(z.number()), + renewalPrice: z.nullable(z.number()), + transferPrice: z.nullable(z.number()), +}); + +export function getDomainPriceResponseBodyToJSON( + getDomainPriceResponseBody: GetDomainPriceResponseBody, +): string { + return JSON.stringify( + GetDomainPriceResponseBody$outboundSchema.parse(getDomainPriceResponseBody), + ); +} +export function getDomainPriceResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDomainPriceResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDomainPriceResponseBody' from JSON`, + ); +} diff --git a/src/models/getdomainsop.ts b/src/models/getdomainsop.ts index a2a363b1b..ed769b7b3 100644 --- a/src/models/getdomainsop.ts +++ b/src/models/getdomainsop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; @@ -72,7 +72,7 @@ export const GetDomainsServiceType = { */ export type GetDomainsServiceType = ClosedEnum; -export type Domains = { +export type GetDomainsDomains = { /** * If the domain has the ownership verified. */ @@ -145,7 +145,7 @@ export type Domains = { * Successful response retrieving a list of domains. */ export type GetDomainsResponseBody = { - domains: Array; + 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. */ @@ -164,7 +164,6 @@ export const GetDomainsRequest$inboundSchema: z.ZodType< teamId: z.string().optional(), slug: z.string().optional(), }); - /** @internal */ export type GetDomainsRequest$Outbound = { limit?: number | undefined; @@ -187,19 +186,6 @@ export const GetDomainsRequest$outboundSchema: z.ZodType< 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 { @@ -207,7 +193,6 @@ export function getDomainsRequestToJSON( GetDomainsRequest$outboundSchema.parse(getDomainsRequest), ); } - export function getDomainsRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -230,7 +215,6 @@ export const GetDomainsCreator$inboundSchema: z.ZodType< isDomainReseller: z.boolean().optional(), id: z.string(), }); - /** @internal */ export type GetDomainsCreator$Outbound = { username: string; @@ -253,19 +237,6 @@ export const GetDomainsCreator$outboundSchema: z.ZodType< 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 { @@ -273,7 +244,6 @@ export function getDomainsCreatorToJSON( GetDomainsCreator$outboundSchema.parse(getDomainsCreator), ); } - export function getDomainsCreatorFromJSON( jsonString: string, ): SafeParseResult { @@ -288,69 +258,47 @@ export function getDomainsCreatorFromJSON( export const GetDomainsRegistrar$inboundSchema: z.ZodNativeEnum< typeof GetDomainsRegistrar > = z.nativeEnum(GetDomainsRegistrar); - /** @internal */ export const GetDomainsRegistrar$outboundSchema: z.ZodNativeEnum< typeof GetDomainsRegistrar > = GetDomainsRegistrar$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDomainsRegistrar$ { - /** @deprecated use `GetDomainsRegistrar$inboundSchema` instead. */ - export const inboundSchema = GetDomainsRegistrar$inboundSchema; - /** @deprecated use `GetDomainsRegistrar$outboundSchema` instead. */ - export const outboundSchema = GetDomainsRegistrar$outboundSchema; -} - /** @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), - registrar: GetDomainsRegistrar$inboundSchema.optional(), - 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(), - }); - +export const GetDomainsDomains$inboundSchema: z.ZodType< + GetDomainsDomains, + 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(() => GetDomainsCreator$inboundSchema), + registrar: GetDomainsRegistrar$inboundSchema.optional(), + 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 = { +export type GetDomainsDomains$Outbound = { verified: boolean; nameservers: Array; intendedNameservers: Array; @@ -372,10 +320,10 @@ export type Domains$Outbound = { }; /** @internal */ -export const Domains$outboundSchema: z.ZodType< - Domains$Outbound, +export const GetDomainsDomains$outboundSchema: z.ZodType< + GetDomainsDomains$Outbound, z.ZodTypeDef, - Domains + GetDomainsDomains > = z.object({ verified: z.boolean(), nameservers: z.array(z.string()), @@ -397,30 +345,20 @@ export const Domains$outboundSchema: z.ZodType< 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 getDomainsDomainsToJSON( + getDomainsDomains: GetDomainsDomains, +): string { + return JSON.stringify( + GetDomainsDomains$outboundSchema.parse(getDomainsDomains), + ); } - -export function domainsFromJSON( +export function getDomainsDomainsFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => Domains$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Domains' from JSON`, + (x) => GetDomainsDomains$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDomainsDomains' from JSON`, ); } @@ -430,13 +368,12 @@ export const GetDomainsResponseBody$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - domains: z.array(z.lazy(() => Domains$inboundSchema)), + domains: z.array(z.lazy(() => GetDomainsDomains$inboundSchema)), pagination: Pagination$inboundSchema, }); - /** @internal */ export type GetDomainsResponseBody$Outbound = { - domains: Array; + domains: Array; pagination: Pagination$Outbound; }; @@ -446,23 +383,10 @@ export const GetDomainsResponseBody$outboundSchema: z.ZodType< z.ZodTypeDef, GetDomainsResponseBody > = z.object({ - domains: z.array(z.lazy(() => Domains$outboundSchema)), + domains: z.array(z.lazy(() => GetDomainsDomains$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 { @@ -470,7 +394,6 @@ export function getDomainsResponseBodyToJSON( GetDomainsResponseBody$outboundSchema.parse(getDomainsResponseBody), ); } - export function getDomainsResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/getdomaintransferinop.ts b/src/models/getdomaintransferinop.ts new file mode 100644 index 000000000..ffe3ffab8 --- /dev/null +++ b/src/models/getdomaintransferinop.ts @@ -0,0 +1,196 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { safeParse } from "../lib/schemas.js"; +import { ClosedEnum } from "../types/enums.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { + Forbidden, + Forbidden$inboundSchema, + Forbidden$Outbound, + Forbidden$outboundSchema, +} from "./forbidden.js"; +import { + NotAuthorizedForScope, + NotAuthorizedForScope$inboundSchema, + NotAuthorizedForScope$Outbound, + NotAuthorizedForScope$outboundSchema, +} from "./notauthorizedforscope.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type GetDomainTransferInRequest = { + domain: string; + teamId?: string | undefined; +}; + +/** + * NotAuthorizedForScope + */ +export type GetDomainTransferInDomainsRegistrarResponseBody = + | NotAuthorizedForScope + | Forbidden; + +export const GetDomainTransferInStatus = { + Canceled: "canceled", + CanceledPendingRefund: "canceled_pending_refund", + Completed: "completed", + Created: "created", + Failed: "failed", + Pending: "pending", + PendingInsert: "pending_insert", + PendingNewAuthCode: "pending_new_auth_code", + PendingTransfer: "pending_transfer", + PendingUnlock: "pending_unlock", + Rejected: "rejected", + SubmittingTransfer: "submitting_transfer", +} as const; +export type GetDomainTransferInStatus = ClosedEnum< + typeof GetDomainTransferInStatus +>; + +/** + * Success + */ +export type GetDomainTransferInResponseBody = { + status: GetDomainTransferInStatus; +}; + +/** @internal */ +export const GetDomainTransferInRequest$inboundSchema: z.ZodType< + GetDomainTransferInRequest, + z.ZodTypeDef, + unknown +> = z.object({ + domain: z.string(), + teamId: z.string().optional(), +}); +/** @internal */ +export type GetDomainTransferInRequest$Outbound = { + domain: string; + teamId?: string | undefined; +}; + +/** @internal */ +export const GetDomainTransferInRequest$outboundSchema: z.ZodType< + GetDomainTransferInRequest$Outbound, + z.ZodTypeDef, + GetDomainTransferInRequest +> = z.object({ + domain: z.string(), + teamId: z.string().optional(), +}); + +export function getDomainTransferInRequestToJSON( + getDomainTransferInRequest: GetDomainTransferInRequest, +): string { + return JSON.stringify( + GetDomainTransferInRequest$outboundSchema.parse(getDomainTransferInRequest), + ); +} +export function getDomainTransferInRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDomainTransferInRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDomainTransferInRequest' from JSON`, + ); +} + +/** @internal */ +export const GetDomainTransferInDomainsRegistrarResponseBody$inboundSchema: + z.ZodType< + GetDomainTransferInDomainsRegistrarResponseBody, + z.ZodTypeDef, + unknown + > = z.union([NotAuthorizedForScope$inboundSchema, Forbidden$inboundSchema]); +/** @internal */ +export type GetDomainTransferInDomainsRegistrarResponseBody$Outbound = + | NotAuthorizedForScope$Outbound + | Forbidden$Outbound; + +/** @internal */ +export const GetDomainTransferInDomainsRegistrarResponseBody$outboundSchema: + z.ZodType< + GetDomainTransferInDomainsRegistrarResponseBody$Outbound, + z.ZodTypeDef, + unknown + > = z.union([NotAuthorizedForScope$outboundSchema, Forbidden$outboundSchema]); + +export function getDomainTransferInDomainsRegistrarResponseBodyToJSON( + getDomainTransferInDomainsRegistrarResponseBody: + GetDomainTransferInDomainsRegistrarResponseBody, +): string { + return JSON.stringify( + GetDomainTransferInDomainsRegistrarResponseBody$outboundSchema.parse( + getDomainTransferInDomainsRegistrarResponseBody, + ), + ); +} +export function getDomainTransferInDomainsRegistrarResponseBodyFromJSON( + jsonString: string, +): SafeParseResult< + GetDomainTransferInDomainsRegistrarResponseBody, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + GetDomainTransferInDomainsRegistrarResponseBody$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'GetDomainTransferInDomainsRegistrarResponseBody' from JSON`, + ); +} + +/** @internal */ +export const GetDomainTransferInStatus$inboundSchema: z.ZodNativeEnum< + typeof GetDomainTransferInStatus +> = z.nativeEnum(GetDomainTransferInStatus); +/** @internal */ +export const GetDomainTransferInStatus$outboundSchema: z.ZodNativeEnum< + typeof GetDomainTransferInStatus +> = GetDomainTransferInStatus$inboundSchema; + +/** @internal */ +export const GetDomainTransferInResponseBody$inboundSchema: z.ZodType< + GetDomainTransferInResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + status: GetDomainTransferInStatus$inboundSchema, +}); +/** @internal */ +export type GetDomainTransferInResponseBody$Outbound = { + status: string; +}; + +/** @internal */ +export const GetDomainTransferInResponseBody$outboundSchema: z.ZodType< + GetDomainTransferInResponseBody$Outbound, + z.ZodTypeDef, + GetDomainTransferInResponseBody +> = z.object({ + status: GetDomainTransferInStatus$outboundSchema, +}); + +export function getDomainTransferInResponseBodyToJSON( + getDomainTransferInResponseBody: GetDomainTransferInResponseBody, +): string { + return JSON.stringify( + GetDomainTransferInResponseBody$outboundSchema.parse( + getDomainTransferInResponseBody, + ), + ); +} +export function getDomainTransferInResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDomainTransferInResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDomainTransferInResponseBody' from JSON`, + ); +} diff --git a/src/models/getdomaintransferop.ts b/src/models/getdomaintransferop.ts index ba3f412c1..941ca97d7 100644 --- a/src/models/getdomaintransferop.ts +++ b/src/models/getdomaintransferop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; @@ -101,7 +101,6 @@ export const GetDomainTransferRequest$inboundSchema: z.ZodType< slug: z.string().optional(), domain: z.string(), }); - /** @internal */ export type GetDomainTransferRequest$Outbound = { teamId?: string | undefined; @@ -120,19 +119,6 @@ export const GetDomainTransferRequest$outboundSchema: z.ZodType< 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 { @@ -140,7 +126,6 @@ export function getDomainTransferRequestToJSON( GetDomainTransferRequest$outboundSchema.parse(getDomainTransferRequest), ); } - export function getDomainTransferRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -155,46 +140,20 @@ export function getDomainTransferRequestFromJSON( export const ResponseBodyTransferPolicy$inboundSchema: z.ZodNativeEnum< typeof ResponseBodyTransferPolicy > = z.nativeEnum(ResponseBodyTransferPolicy); - /** @internal */ export const ResponseBodyTransferPolicy$outboundSchema: z.ZodNativeEnum< typeof ResponseBodyTransferPolicy > = ResponseBodyTransferPolicy$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ResponseBodyTransferPolicy$ { - /** @deprecated use `ResponseBodyTransferPolicy$inboundSchema` instead. */ - export const inboundSchema = ResponseBodyTransferPolicy$inboundSchema; - /** @deprecated use `ResponseBodyTransferPolicy$outboundSchema` instead. */ - export const outboundSchema = ResponseBodyTransferPolicy$outboundSchema; -} - /** @internal */ export const GetDomainTransferResponseBodyStatus$inboundSchema: z.ZodNativeEnum< typeof GetDomainTransferResponseBodyStatus > = z.nativeEnum(GetDomainTransferResponseBodyStatus); - /** @internal */ export const GetDomainTransferResponseBodyStatus$outboundSchema: z.ZodNativeEnum = GetDomainTransferResponseBodyStatus$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDomainTransferResponseBodyStatus$ { - /** @deprecated use `GetDomainTransferResponseBodyStatus$inboundSchema` instead. */ - export const inboundSchema = - GetDomainTransferResponseBodyStatus$inboundSchema; - /** @deprecated use `GetDomainTransferResponseBodyStatus$outboundSchema` instead. */ - export const outboundSchema = - GetDomainTransferResponseBodyStatus$outboundSchema; -} - /** @internal */ export const GetDomainTransferResponseBody2$inboundSchema: z.ZodType< GetDomainTransferResponseBody2, @@ -206,7 +165,6 @@ export const GetDomainTransferResponseBody2$inboundSchema: z.ZodType< reason: z.string(), status: GetDomainTransferResponseBodyStatus$inboundSchema, }); - /** @internal */ export type GetDomainTransferResponseBody2$Outbound = { transferable: boolean; @@ -227,19 +185,6 @@ export const GetDomainTransferResponseBody2$outboundSchema: z.ZodType< status: GetDomainTransferResponseBodyStatus$outboundSchema, }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDomainTransferResponseBody2$ { - /** @deprecated use `GetDomainTransferResponseBody2$inboundSchema` instead. */ - export const inboundSchema = GetDomainTransferResponseBody2$inboundSchema; - /** @deprecated use `GetDomainTransferResponseBody2$outboundSchema` instead. */ - export const outboundSchema = GetDomainTransferResponseBody2$outboundSchema; - /** @deprecated use `GetDomainTransferResponseBody2$Outbound` instead. */ - export type Outbound = GetDomainTransferResponseBody2$Outbound; -} - export function getDomainTransferResponseBody2ToJSON( getDomainTransferResponseBody2: GetDomainTransferResponseBody2, ): string { @@ -249,7 +194,6 @@ export function getDomainTransferResponseBody2ToJSON( ), ); } - export function getDomainTransferResponseBody2FromJSON( jsonString: string, ): SafeParseResult { @@ -264,23 +208,11 @@ export function getDomainTransferResponseBody2FromJSON( 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 GetDomainTransferResponseBody1$inboundSchema: z.ZodType< GetDomainTransferResponseBody1, @@ -292,7 +224,6 @@ export const GetDomainTransferResponseBody1$inboundSchema: z.ZodType< transferable: z.boolean(), transferPolicy: TransferPolicy$inboundSchema, }); - /** @internal */ export type GetDomainTransferResponseBody1$Outbound = { reason: string; @@ -313,19 +244,6 @@ export const GetDomainTransferResponseBody1$outboundSchema: z.ZodType< transferPolicy: TransferPolicy$outboundSchema, }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetDomainTransferResponseBody1$ { - /** @deprecated use `GetDomainTransferResponseBody1$inboundSchema` instead. */ - export const inboundSchema = GetDomainTransferResponseBody1$inboundSchema; - /** @deprecated use `GetDomainTransferResponseBody1$outboundSchema` instead. */ - export const outboundSchema = GetDomainTransferResponseBody1$outboundSchema; - /** @deprecated use `GetDomainTransferResponseBody1$Outbound` instead. */ - export type Outbound = GetDomainTransferResponseBody1$Outbound; -} - export function getDomainTransferResponseBody1ToJSON( getDomainTransferResponseBody1: GetDomainTransferResponseBody1, ): string { @@ -335,7 +253,6 @@ export function getDomainTransferResponseBody1ToJSON( ), ); } - export function getDomainTransferResponseBody1FromJSON( jsonString: string, ): SafeParseResult { @@ -355,7 +272,6 @@ export const GetDomainTransferResponseBody$inboundSchema: z.ZodType< z.lazy(() => GetDomainTransferResponseBody1$inboundSchema), z.lazy(() => GetDomainTransferResponseBody2$inboundSchema), ]); - /** @internal */ export type GetDomainTransferResponseBody$Outbound = | GetDomainTransferResponseBody1$Outbound @@ -371,19 +287,6 @@ export const GetDomainTransferResponseBody$outboundSchema: z.ZodType< z.lazy(() => GetDomainTransferResponseBody2$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 { @@ -393,7 +296,6 @@ export function getDomainTransferResponseBodyToJSON( ), ); } - export function getDomainTransferResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/getdrainop.ts b/src/models/getdrainop.ts new file mode 100644 index 000000000..c74df4cd2 --- /dev/null +++ b/src/models/getdrainop.ts @@ -0,0 +1,3668 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +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 GetDrainRequest = { + 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 GetDrainResponseBodyDrainsCreatedFrom = { + SelfServed: "self-served", + Integration: "integration", +} as const; +export type GetDrainResponseBodyDrainsCreatedFrom = ClosedEnum< + typeof GetDrainResponseBodyDrainsCreatedFrom +>; + +export type GetDrainResponseBodyDrainsLog = {}; + +export type GetDrainResponseBodyDrainsTrace = {}; + +export type GetDrainResponseBodyDrainsAnalytics = {}; + +export type GetDrainResponseBodyDrainsSpeedInsights = {}; + +export type GetDrainResponseBodyDrainsSchemas = { + log?: GetDrainResponseBodyDrainsLog | undefined; + trace?: GetDrainResponseBodyDrainsTrace | undefined; + analytics?: GetDrainResponseBodyDrainsAnalytics | undefined; + speedInsights?: GetDrainResponseBodyDrainsSpeedInsights | undefined; +}; + +export const GetDrainDeliveryDrainsResponse200ApplicationJSONResponseBody24Type = + { + Internal: "internal", + } as const; +export type GetDrainDeliveryDrainsResponse200ApplicationJSONResponseBody24Type = + ClosedEnum< + typeof GetDrainDeliveryDrainsResponse200ApplicationJSONResponseBody24Type + >; + +export const GetDrainDeliveryDrainsTarget = { + VercelOtelTracesDb: "vercel-otel-traces-db", +} as const; +export type GetDrainDeliveryDrainsTarget = ClosedEnum< + typeof GetDrainDeliveryDrainsTarget +>; + +export type GetDrainDeliveryDrains4 = { + type: GetDrainDeliveryDrainsResponse200ApplicationJSONResponseBody24Type; + target: GetDrainDeliveryDrainsTarget; +}; + +export const GetDrainDeliveryDrainsResponse200ApplicationJSONResponseBody2Type = + { + Clickhouse: "clickhouse", + } as const; +export type GetDrainDeliveryDrainsResponse200ApplicationJSONResponseBody2Type = + ClosedEnum< + typeof GetDrainDeliveryDrainsResponse200ApplicationJSONResponseBody2Type + >; + +export type GetDrainDeliveryDrains3 = { + type: GetDrainDeliveryDrainsResponse200ApplicationJSONResponseBody2Type; + endpoint: string; + table: string; +}; + +export const GetDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyType = + { + Otlphttp: "otlphttp", + } as const; +export type GetDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyType = + ClosedEnum< + typeof GetDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyType + >; + +export type GetDrainDeliveryDrainsEndpoint = { + traces: string; +}; + +export const GetDrainDeliveryDrainsResponse200Encoding = { + Json: "json", + Proto: "proto", +} as const; +export type GetDrainDeliveryDrainsResponse200Encoding = ClosedEnum< + typeof GetDrainDeliveryDrainsResponse200Encoding +>; + +export type GetDrainDeliveryDrains2 = { + type: GetDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyType; + endpoint: GetDrainDeliveryDrainsEndpoint; + encoding: GetDrainDeliveryDrainsResponse200Encoding; + headers: { [k: string]: string }; + secret?: string | undefined; +}; + +export const GetDrainDeliveryDrainsResponse200ApplicationJSONType = { + Http: "http", +} as const; +export type GetDrainDeliveryDrainsResponse200ApplicationJSONType = ClosedEnum< + typeof GetDrainDeliveryDrainsResponse200ApplicationJSONType +>; + +export const GetDrainDeliveryDrainsResponseEncoding = { + Json: "json", + Ndjson: "ndjson", +} as const; +export type GetDrainDeliveryDrainsResponseEncoding = ClosedEnum< + typeof GetDrainDeliveryDrainsResponseEncoding +>; + +export const GetDrainDeliveryDrainsCompression = { + Gzip: "gzip", + None: "none", +} as const; +export type GetDrainDeliveryDrainsCompression = ClosedEnum< + typeof GetDrainDeliveryDrainsCompression +>; + +export type GetDrainDeliveryDrains1 = { + type: GetDrainDeliveryDrainsResponse200ApplicationJSONType; + endpoint: string; + encoding: GetDrainDeliveryDrainsResponseEncoding; + compression?: GetDrainDeliveryDrainsCompression | undefined; + headers: { [k: string]: string }; + secret?: string | undefined; +}; + +export type GetDrainResponseBodyDrainsDelivery = + | GetDrainDeliveryDrains1 + | GetDrainDeliveryDrains2 + | GetDrainDeliveryDrains3 + | GetDrainDeliveryDrains4; + +export const GetDrainResponseBodyDrainsType = { + HeadSampling: "head_sampling", +} as const; +export type GetDrainResponseBodyDrainsType = ClosedEnum< + typeof GetDrainResponseBodyDrainsType +>; + +export const GetDrainResponseBodyDrainsEnv = { + Production: "production", + Preview: "preview", +} as const; +export type GetDrainResponseBodyDrainsEnv = ClosedEnum< + typeof GetDrainResponseBodyDrainsEnv +>; + +export type GetDrainResponseBodyDrainsSampling = { + type: GetDrainResponseBodyDrainsType; + rate: number; + env?: GetDrainResponseBodyDrainsEnv | undefined; + requestPath?: string | undefined; +}; + +export const GetDrainResponseBodyDrainsStatus = { + Enabled: "enabled", + Disabled: "disabled", + Errored: "errored", +} as const; +export type GetDrainResponseBodyDrainsStatus = ClosedEnum< + typeof GetDrainResponseBodyDrainsStatus +>; + +export const GetDrainResponseBodyDrainsDisabledReason = { + DisabledByOwner: "disabled-by-owner", + FeatureNotAvailable: "feature-not-available", + AccountPlanDowngrade: "account-plan-downgrade", + DisabledByAdmin: "disabled-by-admin", +} as const; +export type GetDrainResponseBodyDrainsDisabledReason = ClosedEnum< + typeof GetDrainResponseBodyDrainsDisabledReason +>; + +export const GetDrainSourceDrainsResponse200Kind = { + Integration: "integration", +} as const; +export type GetDrainSourceDrainsResponse200Kind = ClosedEnum< + typeof GetDrainSourceDrainsResponse200Kind +>; + +export type GetDrainSourceDrains2 = { + kind: GetDrainSourceDrainsResponse200Kind; + resourceId?: string | undefined; + externalResourceId?: string | undefined; + integrationId: string; + integrationConfigurationId: string; +}; + +export const GetDrainSourceDrainsResponseKind = { + SelfServed: "self-served", +} as const; +export type GetDrainSourceDrainsResponseKind = ClosedEnum< + typeof GetDrainSourceDrainsResponseKind +>; + +export type GetDrainSourceDrains1 = { + kind: GetDrainSourceDrainsResponseKind; +}; + +export type GetDrainResponseBodyDrainsSource = + | GetDrainSourceDrains2 + | GetDrainSourceDrains1; + +export const GetDrainFilterV2DrainsResponse200Version = { + V2: "v2", +} as const; +export type GetDrainFilterV2DrainsResponse200Version = ClosedEnum< + typeof GetDrainFilterV2DrainsResponse200Version +>; + +export const GetDrainFilterDrainsResponse200Type = { + Odata: "odata", +} as const; +export type GetDrainFilterDrainsResponse200Type = ClosedEnum< + typeof GetDrainFilterDrainsResponse200Type +>; + +export type GetDrainFilterDrains2 = { + type: GetDrainFilterDrainsResponse200Type; + text: string; +}; + +export const GetDrainFilterDrainsResponseType = { + Basic: "basic", +} as const; +export type GetDrainFilterDrainsResponseType = ClosedEnum< + typeof GetDrainFilterDrainsResponseType +>; + +export type GetDrainFilterDrainsProject = { + ids?: Array | undefined; +}; + +export const GetDrainFilterDrainsSources = { + Build: "build", + Edge: "edge", + Lambda: "lambda", + Static: "static", + External: "external", + Firewall: "firewall", + Redirect: "redirect", +} as const; +export type GetDrainFilterDrainsSources = ClosedEnum< + typeof GetDrainFilterDrainsSources +>; + +export type GetDrainFilterDrainsLog = { + sources?: Array | undefined; + legacyExcludeCachedStaticAssetLogs?: boolean | undefined; +}; + +export const GetDrainFilterDrainsEnvironments = { + Production: "production", + Preview: "preview", +} as const; +export type GetDrainFilterDrainsEnvironments = ClosedEnum< + typeof GetDrainFilterDrainsEnvironments +>; + +export type GetDrainFilterDrainsDeployment = { + environments?: Array | undefined; +}; + +export type GetDrainFilterDrains1 = { + type: GetDrainFilterDrainsResponseType; + project?: GetDrainFilterDrainsProject | undefined; + log?: GetDrainFilterDrainsLog | undefined; + deployment?: GetDrainFilterDrainsDeployment | undefined; +}; + +export type GetDrainFilterV2DrainsFilter = + | GetDrainFilterDrains2 + | GetDrainFilterDrains1; + +export type GetDrainFilterV2Drains2 = { + version: GetDrainFilterV2DrainsResponse200Version; + filter: GetDrainFilterDrains2 | GetDrainFilterDrains1; +}; + +export const GetDrainFilterV2DrainsResponseVersion = { + V1: "v1", +} as const; +export type GetDrainFilterV2DrainsResponseVersion = ClosedEnum< + typeof GetDrainFilterV2DrainsResponseVersion +>; + +export type GetDrainFilterV2Drains1 = { + version: GetDrainFilterV2DrainsResponseVersion; +}; + +export type GetDrainResponseBodyDrainsFilterV2 = + | GetDrainFilterV2Drains2 + | GetDrainFilterV2Drains1; + +export const GetDrainResponseBodyFramework = { + Blitzjs: "blitzjs", + Nextjs: "nextjs", + Gatsby: "gatsby", + Remix: "remix", + ReactRouter: "react-router", + 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", + TanstackStart: "tanstack-start", + Vitepress: "vitepress", + Vuepress: "vuepress", + Parcel: "parcel", + Fastapi: "fastapi", + Flask: "flask", + Fasthtml: "fasthtml", + SanityV3: "sanity-v3", + Sanity: "sanity", + Storybook: "storybook", + Nitro: "nitro", + Hono: "hono", + Express: "express", + H3: "h3", + Nestjs: "nestjs", + Elysia: "elysia", + Fastify: "fastify", + Xmcp: "xmcp", +} as const; +export type GetDrainResponseBodyFramework = ClosedEnum< + typeof GetDrainResponseBodyFramework +>; + +export type GetDrainResponseBodyProjectsMetadata = { + id: string; + name: string; + framework?: GetDrainResponseBodyFramework | null | undefined; + latestDeployment?: string | undefined; +}; + +export type GetDrainResponseBody2 = { + id: string; + ownerId: string; + name: string; + createdAt: number; + createdFrom?: GetDrainResponseBodyDrainsCreatedFrom | undefined; + updatedAt: number; + projectIds?: Array | undefined; + schemas?: GetDrainResponseBodyDrainsSchemas | undefined; + delivery?: + | GetDrainDeliveryDrains1 + | GetDrainDeliveryDrains2 + | GetDrainDeliveryDrains3 + | GetDrainDeliveryDrains4 + | undefined; + sampling?: Array | undefined; + teamId?: string | null | undefined; + status?: GetDrainResponseBodyDrainsStatus | undefined; + disabledAt?: number | undefined; + disabledReason?: GetDrainResponseBodyDrainsDisabledReason | undefined; + disabledBy?: string | undefined; + firstErrorTimestamp?: number | undefined; + configurationId?: string | undefined; + clientId?: string | undefined; + source: GetDrainSourceDrains2 | GetDrainSourceDrains1; + filter?: string | undefined; + filterV2?: GetDrainFilterV2Drains2 | GetDrainFilterV2Drains1 | undefined; + integrationIcon?: string | undefined; + integrationConfigurationUri?: string | undefined; + integrationWebsite?: string | undefined; + projectsMetadata?: Array | undefined; +}; + +export const GetDrainResponseBodyCreatedFrom = { + SelfServed: "self-served", + Integration: "integration", +} as const; +export type GetDrainResponseBodyCreatedFrom = ClosedEnum< + typeof GetDrainResponseBodyCreatedFrom +>; + +export type GetDrainResponseBodyLog = {}; + +export type GetDrainResponseBodyTrace = {}; + +export type GetDrainResponseBodyAnalytics = {}; + +export type GetDrainResponseBodySpeedInsights = {}; + +export type GetDrainResponseBodySchemas = { + log?: GetDrainResponseBodyLog | undefined; + trace?: GetDrainResponseBodyTrace | undefined; + analytics?: GetDrainResponseBodyAnalytics | undefined; + speedInsights?: GetDrainResponseBodySpeedInsights | undefined; +}; + +export const GetDrainDeliveryDrainsResponse200Type = { + Internal: "internal", +} as const; +export type GetDrainDeliveryDrainsResponse200Type = ClosedEnum< + typeof GetDrainDeliveryDrainsResponse200Type +>; + +export const GetDrainDeliveryTarget = { + VercelOtelTracesDb: "vercel-otel-traces-db", +} as const; +export type GetDrainDeliveryTarget = ClosedEnum; + +export type GetDrainDelivery4 = { + type: GetDrainDeliveryDrainsResponse200Type; + target: GetDrainDeliveryTarget; +}; + +export const GetDrainDeliveryDrainsResponseType = { + Clickhouse: "clickhouse", +} as const; +export type GetDrainDeliveryDrainsResponseType = ClosedEnum< + typeof GetDrainDeliveryDrainsResponseType +>; + +export type GetDrainDelivery3 = { + type: GetDrainDeliveryDrainsResponseType; + endpoint: string; + table: string; +}; + +export const GetDrainDeliveryDrainsType = { + Otlphttp: "otlphttp", +} as const; +export type GetDrainDeliveryDrainsType = ClosedEnum< + typeof GetDrainDeliveryDrainsType +>; + +export type GetDrainDeliveryEndpoint = { + traces: string; +}; + +export const GetDrainDeliveryDrainsEncoding = { + Json: "json", + Proto: "proto", +} as const; +export type GetDrainDeliveryDrainsEncoding = ClosedEnum< + typeof GetDrainDeliveryDrainsEncoding +>; + +export type GetDrainDelivery2 = { + type: GetDrainDeliveryDrainsType; + endpoint: GetDrainDeliveryEndpoint; + encoding: GetDrainDeliveryDrainsEncoding; + headers: { [k: string]: string }; + secret?: string | undefined; +}; + +export const GetDrainDeliveryType = { + Http: "http", +} as const; +export type GetDrainDeliveryType = ClosedEnum; + +export const GetDrainDeliveryEncoding = { + Json: "json", + Ndjson: "ndjson", +} as const; +export type GetDrainDeliveryEncoding = ClosedEnum< + typeof GetDrainDeliveryEncoding +>; + +export const GetDrainDeliveryCompression = { + Gzip: "gzip", + None: "none", +} as const; +export type GetDrainDeliveryCompression = ClosedEnum< + typeof GetDrainDeliveryCompression +>; + +export type GetDrainDelivery1 = { + type: GetDrainDeliveryType; + endpoint: string; + encoding: GetDrainDeliveryEncoding; + compression?: GetDrainDeliveryCompression | undefined; + headers: { [k: string]: string }; + secret?: string | undefined; +}; + +export type GetDrainResponseBodyDelivery = + | GetDrainDelivery1 + | GetDrainDelivery2 + | GetDrainDelivery3 + | GetDrainDelivery4; + +export const GetDrainResponseBodyType = { + HeadSampling: "head_sampling", +} as const; +export type GetDrainResponseBodyType = ClosedEnum< + typeof GetDrainResponseBodyType +>; + +export const GetDrainResponseBodyEnv = { + Production: "production", + Preview: "preview", +} as const; +export type GetDrainResponseBodyEnv = ClosedEnum< + typeof GetDrainResponseBodyEnv +>; + +export type GetDrainResponseBodySampling = { + type: GetDrainResponseBodyType; + rate: number; + env?: GetDrainResponseBodyEnv | undefined; + requestPath?: string | undefined; +}; + +export const GetDrainResponseBodyStatus = { + Enabled: "enabled", + Disabled: "disabled", + Errored: "errored", +} as const; +export type GetDrainResponseBodyStatus = ClosedEnum< + typeof GetDrainResponseBodyStatus +>; + +export const GetDrainResponseBodyDisabledReason = { + DisabledByOwner: "disabled-by-owner", + FeatureNotAvailable: "feature-not-available", + AccountPlanDowngrade: "account-plan-downgrade", + DisabledByAdmin: "disabled-by-admin", +} as const; +export type GetDrainResponseBodyDisabledReason = ClosedEnum< + typeof GetDrainResponseBodyDisabledReason +>; + +export const GetDrainSourceDrainsKind = { + Integration: "integration", +} as const; +export type GetDrainSourceDrainsKind = ClosedEnum< + typeof GetDrainSourceDrainsKind +>; + +export type GetDrainSource2 = { + kind: GetDrainSourceDrainsKind; + resourceId?: string | undefined; + externalResourceId?: string | undefined; + integrationId: string; + integrationConfigurationId: string; +}; + +export const GetDrainSourceKind = { + SelfServed: "self-served", +} as const; +export type GetDrainSourceKind = ClosedEnum; + +export type GetDrainSource1 = { + kind: GetDrainSourceKind; +}; + +export type GetDrainResponseBodySource = GetDrainSource2 | GetDrainSource1; + +export const GetDrainFilterV2DrainsVersion = { + V2: "v2", +} as const; +export type GetDrainFilterV2DrainsVersion = ClosedEnum< + typeof GetDrainFilterV2DrainsVersion +>; + +export const GetDrainFilterDrainsType = { + Odata: "odata", +} as const; +export type GetDrainFilterDrainsType = ClosedEnum< + typeof GetDrainFilterDrainsType +>; + +export type GetDrainFilter2 = { + type: GetDrainFilterDrainsType; + text: string; +}; + +export const GetDrainFilterType = { + Basic: "basic", +} as const; +export type GetDrainFilterType = ClosedEnum; + +export type GetDrainFilterProject = { + ids?: Array | undefined; +}; + +export const GetDrainFilterSources = { + Build: "build", + Edge: "edge", + Lambda: "lambda", + Static: "static", + External: "external", + Firewall: "firewall", + Redirect: "redirect", +} as const; +export type GetDrainFilterSources = ClosedEnum; + +export type GetDrainFilterLog = { + sources?: Array | undefined; + legacyExcludeCachedStaticAssetLogs?: boolean | undefined; +}; + +export const GetDrainFilterEnvironments = { + Production: "production", + Preview: "preview", +} as const; +export type GetDrainFilterEnvironments = ClosedEnum< + typeof GetDrainFilterEnvironments +>; + +export type GetDrainFilterDeployment = { + environments?: Array | undefined; +}; + +export type GetDrainFilter1 = { + type: GetDrainFilterType; + project?: GetDrainFilterProject | undefined; + log?: GetDrainFilterLog | undefined; + deployment?: GetDrainFilterDeployment | undefined; +}; + +export type GetDrainFilterV2Filter = GetDrainFilter2 | GetDrainFilter1; + +export type GetDrainFilterV22 = { + version: GetDrainFilterV2DrainsVersion; + filter: GetDrainFilter2 | GetDrainFilter1; +}; + +export const GetDrainFilterV2Version = { + V1: "v1", +} as const; +export type GetDrainFilterV2Version = ClosedEnum< + typeof GetDrainFilterV2Version +>; + +export type GetDrainFilterV21 = { + version: GetDrainFilterV2Version; +}; + +export type GetDrainResponseBodyFilterV2 = + | GetDrainFilterV22 + | GetDrainFilterV21; + +export type GetDrainResponseBody1 = { + id: string; + ownerId: string; + name: string; + createdAt: number; + createdFrom?: GetDrainResponseBodyCreatedFrom | undefined; + updatedAt: number; + projectIds?: Array | undefined; + schemas?: GetDrainResponseBodySchemas | undefined; + delivery?: + | GetDrainDelivery1 + | GetDrainDelivery2 + | GetDrainDelivery3 + | GetDrainDelivery4 + | undefined; + sampling?: Array | undefined; + teamId?: string | null | undefined; + status?: GetDrainResponseBodyStatus | undefined; + disabledAt?: number | undefined; + disabledReason?: GetDrainResponseBodyDisabledReason | undefined; + disabledBy?: string | undefined; + firstErrorTimestamp?: number | undefined; + configurationId?: string | undefined; + clientId?: string | undefined; + source: GetDrainSource2 | GetDrainSource1; + filter?: string | undefined; + filterV2?: GetDrainFilterV22 | GetDrainFilterV21 | undefined; +}; + +export type GetDrainResponseBody = + | GetDrainResponseBody1 + | GetDrainResponseBody2; + +/** @internal */ +export const GetDrainRequest$inboundSchema: z.ZodType< + GetDrainRequest, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); +/** @internal */ +export type GetDrainRequest$Outbound = { + id: string; + teamId?: string | undefined; + slug?: string | undefined; +}; + +/** @internal */ +export const GetDrainRequest$outboundSchema: z.ZodType< + GetDrainRequest$Outbound, + z.ZodTypeDef, + GetDrainRequest +> = z.object({ + id: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +export function getDrainRequestToJSON( + getDrainRequest: GetDrainRequest, +): string { + return JSON.stringify(GetDrainRequest$outboundSchema.parse(getDrainRequest)); +} +export function getDrainRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDrainRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainRequest' from JSON`, + ); +} + +/** @internal */ +export const GetDrainResponseBodyDrainsCreatedFrom$inboundSchema: + z.ZodNativeEnum = z.nativeEnum( + GetDrainResponseBodyDrainsCreatedFrom, + ); +/** @internal */ +export const GetDrainResponseBodyDrainsCreatedFrom$outboundSchema: + z.ZodNativeEnum = + GetDrainResponseBodyDrainsCreatedFrom$inboundSchema; + +/** @internal */ +export const GetDrainResponseBodyDrainsLog$inboundSchema: z.ZodType< + GetDrainResponseBodyDrainsLog, + z.ZodTypeDef, + unknown +> = z.object({}); +/** @internal */ +export type GetDrainResponseBodyDrainsLog$Outbound = {}; + +/** @internal */ +export const GetDrainResponseBodyDrainsLog$outboundSchema: z.ZodType< + GetDrainResponseBodyDrainsLog$Outbound, + z.ZodTypeDef, + GetDrainResponseBodyDrainsLog +> = z.object({}); + +export function getDrainResponseBodyDrainsLogToJSON( + getDrainResponseBodyDrainsLog: GetDrainResponseBodyDrainsLog, +): string { + return JSON.stringify( + GetDrainResponseBodyDrainsLog$outboundSchema.parse( + getDrainResponseBodyDrainsLog, + ), + ); +} +export function getDrainResponseBodyDrainsLogFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDrainResponseBodyDrainsLog$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainResponseBodyDrainsLog' from JSON`, + ); +} + +/** @internal */ +export const GetDrainResponseBodyDrainsTrace$inboundSchema: z.ZodType< + GetDrainResponseBodyDrainsTrace, + z.ZodTypeDef, + unknown +> = z.object({}); +/** @internal */ +export type GetDrainResponseBodyDrainsTrace$Outbound = {}; + +/** @internal */ +export const GetDrainResponseBodyDrainsTrace$outboundSchema: z.ZodType< + GetDrainResponseBodyDrainsTrace$Outbound, + z.ZodTypeDef, + GetDrainResponseBodyDrainsTrace +> = z.object({}); + +export function getDrainResponseBodyDrainsTraceToJSON( + getDrainResponseBodyDrainsTrace: GetDrainResponseBodyDrainsTrace, +): string { + return JSON.stringify( + GetDrainResponseBodyDrainsTrace$outboundSchema.parse( + getDrainResponseBodyDrainsTrace, + ), + ); +} +export function getDrainResponseBodyDrainsTraceFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDrainResponseBodyDrainsTrace$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainResponseBodyDrainsTrace' from JSON`, + ); +} + +/** @internal */ +export const GetDrainResponseBodyDrainsAnalytics$inboundSchema: z.ZodType< + GetDrainResponseBodyDrainsAnalytics, + z.ZodTypeDef, + unknown +> = z.object({}); +/** @internal */ +export type GetDrainResponseBodyDrainsAnalytics$Outbound = {}; + +/** @internal */ +export const GetDrainResponseBodyDrainsAnalytics$outboundSchema: z.ZodType< + GetDrainResponseBodyDrainsAnalytics$Outbound, + z.ZodTypeDef, + GetDrainResponseBodyDrainsAnalytics +> = z.object({}); + +export function getDrainResponseBodyDrainsAnalyticsToJSON( + getDrainResponseBodyDrainsAnalytics: GetDrainResponseBodyDrainsAnalytics, +): string { + return JSON.stringify( + GetDrainResponseBodyDrainsAnalytics$outboundSchema.parse( + getDrainResponseBodyDrainsAnalytics, + ), + ); +} +export function getDrainResponseBodyDrainsAnalyticsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + GetDrainResponseBodyDrainsAnalytics$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainResponseBodyDrainsAnalytics' from JSON`, + ); +} + +/** @internal */ +export const GetDrainResponseBodyDrainsSpeedInsights$inboundSchema: z.ZodType< + GetDrainResponseBodyDrainsSpeedInsights, + z.ZodTypeDef, + unknown +> = z.object({}); +/** @internal */ +export type GetDrainResponseBodyDrainsSpeedInsights$Outbound = {}; + +/** @internal */ +export const GetDrainResponseBodyDrainsSpeedInsights$outboundSchema: z.ZodType< + GetDrainResponseBodyDrainsSpeedInsights$Outbound, + z.ZodTypeDef, + GetDrainResponseBodyDrainsSpeedInsights +> = z.object({}); + +export function getDrainResponseBodyDrainsSpeedInsightsToJSON( + getDrainResponseBodyDrainsSpeedInsights: + GetDrainResponseBodyDrainsSpeedInsights, +): string { + return JSON.stringify( + GetDrainResponseBodyDrainsSpeedInsights$outboundSchema.parse( + getDrainResponseBodyDrainsSpeedInsights, + ), + ); +} +export function getDrainResponseBodyDrainsSpeedInsightsFromJSON( + jsonString: string, +): SafeParseResult< + GetDrainResponseBodyDrainsSpeedInsights, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + GetDrainResponseBodyDrainsSpeedInsights$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'GetDrainResponseBodyDrainsSpeedInsights' from JSON`, + ); +} + +/** @internal */ +export const GetDrainResponseBodyDrainsSchemas$inboundSchema: z.ZodType< + GetDrainResponseBodyDrainsSchemas, + z.ZodTypeDef, + unknown +> = z.object({ + log: z.lazy(() => GetDrainResponseBodyDrainsLog$inboundSchema).optional(), + trace: z.lazy(() => GetDrainResponseBodyDrainsTrace$inboundSchema).optional(), + analytics: z.lazy(() => GetDrainResponseBodyDrainsAnalytics$inboundSchema) + .optional(), + speed_insights: z.lazy(() => + GetDrainResponseBodyDrainsSpeedInsights$inboundSchema + ).optional(), +}).transform((v) => { + return remap$(v, { + "speed_insights": "speedInsights", + }); +}); +/** @internal */ +export type GetDrainResponseBodyDrainsSchemas$Outbound = { + log?: GetDrainResponseBodyDrainsLog$Outbound | undefined; + trace?: GetDrainResponseBodyDrainsTrace$Outbound | undefined; + analytics?: GetDrainResponseBodyDrainsAnalytics$Outbound | undefined; + speed_insights?: GetDrainResponseBodyDrainsSpeedInsights$Outbound | undefined; +}; + +/** @internal */ +export const GetDrainResponseBodyDrainsSchemas$outboundSchema: z.ZodType< + GetDrainResponseBodyDrainsSchemas$Outbound, + z.ZodTypeDef, + GetDrainResponseBodyDrainsSchemas +> = z.object({ + log: z.lazy(() => GetDrainResponseBodyDrainsLog$outboundSchema).optional(), + trace: z.lazy(() => GetDrainResponseBodyDrainsTrace$outboundSchema) + .optional(), + analytics: z.lazy(() => GetDrainResponseBodyDrainsAnalytics$outboundSchema) + .optional(), + speedInsights: z.lazy(() => + GetDrainResponseBodyDrainsSpeedInsights$outboundSchema + ).optional(), +}).transform((v) => { + return remap$(v, { + speedInsights: "speed_insights", + }); +}); + +export function getDrainResponseBodyDrainsSchemasToJSON( + getDrainResponseBodyDrainsSchemas: GetDrainResponseBodyDrainsSchemas, +): string { + return JSON.stringify( + GetDrainResponseBodyDrainsSchemas$outboundSchema.parse( + getDrainResponseBodyDrainsSchemas, + ), + ); +} +export function getDrainResponseBodyDrainsSchemasFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDrainResponseBodyDrainsSchemas$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainResponseBodyDrainsSchemas' from JSON`, + ); +} + +/** @internal */ +export const GetDrainDeliveryDrainsResponse200ApplicationJSONResponseBody24Type$inboundSchema: + z.ZodNativeEnum< + typeof GetDrainDeliveryDrainsResponse200ApplicationJSONResponseBody24Type + > = z.nativeEnum( + GetDrainDeliveryDrainsResponse200ApplicationJSONResponseBody24Type, + ); +/** @internal */ +export const GetDrainDeliveryDrainsResponse200ApplicationJSONResponseBody24Type$outboundSchema: + z.ZodNativeEnum< + typeof GetDrainDeliveryDrainsResponse200ApplicationJSONResponseBody24Type + > = + GetDrainDeliveryDrainsResponse200ApplicationJSONResponseBody24Type$inboundSchema; + +/** @internal */ +export const GetDrainDeliveryDrainsTarget$inboundSchema: z.ZodNativeEnum< + typeof GetDrainDeliveryDrainsTarget +> = z.nativeEnum(GetDrainDeliveryDrainsTarget); +/** @internal */ +export const GetDrainDeliveryDrainsTarget$outboundSchema: z.ZodNativeEnum< + typeof GetDrainDeliveryDrainsTarget +> = GetDrainDeliveryDrainsTarget$inboundSchema; + +/** @internal */ +export const GetDrainDeliveryDrains4$inboundSchema: z.ZodType< + GetDrainDeliveryDrains4, + z.ZodTypeDef, + unknown +> = z.object({ + type: + GetDrainDeliveryDrainsResponse200ApplicationJSONResponseBody24Type$inboundSchema, + target: GetDrainDeliveryDrainsTarget$inboundSchema, +}); +/** @internal */ +export type GetDrainDeliveryDrains4$Outbound = { + type: string; + target: string; +}; + +/** @internal */ +export const GetDrainDeliveryDrains4$outboundSchema: z.ZodType< + GetDrainDeliveryDrains4$Outbound, + z.ZodTypeDef, + GetDrainDeliveryDrains4 +> = z.object({ + type: + GetDrainDeliveryDrainsResponse200ApplicationJSONResponseBody24Type$outboundSchema, + target: GetDrainDeliveryDrainsTarget$outboundSchema, +}); + +export function getDrainDeliveryDrains4ToJSON( + getDrainDeliveryDrains4: GetDrainDeliveryDrains4, +): string { + return JSON.stringify( + GetDrainDeliveryDrains4$outboundSchema.parse(getDrainDeliveryDrains4), + ); +} +export function getDrainDeliveryDrains4FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDrainDeliveryDrains4$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainDeliveryDrains4' from JSON`, + ); +} + +/** @internal */ +export const GetDrainDeliveryDrainsResponse200ApplicationJSONResponseBody2Type$inboundSchema: + z.ZodNativeEnum< + typeof GetDrainDeliveryDrainsResponse200ApplicationJSONResponseBody2Type + > = z.nativeEnum( + GetDrainDeliveryDrainsResponse200ApplicationJSONResponseBody2Type, + ); +/** @internal */ +export const GetDrainDeliveryDrainsResponse200ApplicationJSONResponseBody2Type$outboundSchema: + z.ZodNativeEnum< + typeof GetDrainDeliveryDrainsResponse200ApplicationJSONResponseBody2Type + > = + GetDrainDeliveryDrainsResponse200ApplicationJSONResponseBody2Type$inboundSchema; + +/** @internal */ +export const GetDrainDeliveryDrains3$inboundSchema: z.ZodType< + GetDrainDeliveryDrains3, + z.ZodTypeDef, + unknown +> = z.object({ + type: + GetDrainDeliveryDrainsResponse200ApplicationJSONResponseBody2Type$inboundSchema, + endpoint: z.string(), + table: z.string(), +}); +/** @internal */ +export type GetDrainDeliveryDrains3$Outbound = { + type: string; + endpoint: string; + table: string; +}; + +/** @internal */ +export const GetDrainDeliveryDrains3$outboundSchema: z.ZodType< + GetDrainDeliveryDrains3$Outbound, + z.ZodTypeDef, + GetDrainDeliveryDrains3 +> = z.object({ + type: + GetDrainDeliveryDrainsResponse200ApplicationJSONResponseBody2Type$outboundSchema, + endpoint: z.string(), + table: z.string(), +}); + +export function getDrainDeliveryDrains3ToJSON( + getDrainDeliveryDrains3: GetDrainDeliveryDrains3, +): string { + return JSON.stringify( + GetDrainDeliveryDrains3$outboundSchema.parse(getDrainDeliveryDrains3), + ); +} +export function getDrainDeliveryDrains3FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDrainDeliveryDrains3$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainDeliveryDrains3' from JSON`, + ); +} + +/** @internal */ +export const GetDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyType$inboundSchema: + z.ZodNativeEnum< + typeof GetDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyType + > = z.nativeEnum( + GetDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyType, + ); +/** @internal */ +export const GetDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyType$outboundSchema: + z.ZodNativeEnum< + typeof GetDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyType + > = + GetDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyType$inboundSchema; + +/** @internal */ +export const GetDrainDeliveryDrainsEndpoint$inboundSchema: z.ZodType< + GetDrainDeliveryDrainsEndpoint, + z.ZodTypeDef, + unknown +> = z.object({ + traces: z.string(), +}); +/** @internal */ +export type GetDrainDeliveryDrainsEndpoint$Outbound = { + traces: string; +}; + +/** @internal */ +export const GetDrainDeliveryDrainsEndpoint$outboundSchema: z.ZodType< + GetDrainDeliveryDrainsEndpoint$Outbound, + z.ZodTypeDef, + GetDrainDeliveryDrainsEndpoint +> = z.object({ + traces: z.string(), +}); + +export function getDrainDeliveryDrainsEndpointToJSON( + getDrainDeliveryDrainsEndpoint: GetDrainDeliveryDrainsEndpoint, +): string { + return JSON.stringify( + GetDrainDeliveryDrainsEndpoint$outboundSchema.parse( + getDrainDeliveryDrainsEndpoint, + ), + ); +} +export function getDrainDeliveryDrainsEndpointFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDrainDeliveryDrainsEndpoint$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainDeliveryDrainsEndpoint' from JSON`, + ); +} + +/** @internal */ +export const GetDrainDeliveryDrainsResponse200Encoding$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(GetDrainDeliveryDrainsResponse200Encoding); +/** @internal */ +export const GetDrainDeliveryDrainsResponse200Encoding$outboundSchema: + z.ZodNativeEnum = + GetDrainDeliveryDrainsResponse200Encoding$inboundSchema; + +/** @internal */ +export const GetDrainDeliveryDrains2$inboundSchema: z.ZodType< + GetDrainDeliveryDrains2, + z.ZodTypeDef, + unknown +> = z.object({ + type: + GetDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyType$inboundSchema, + endpoint: z.lazy(() => GetDrainDeliveryDrainsEndpoint$inboundSchema), + encoding: GetDrainDeliveryDrainsResponse200Encoding$inboundSchema, + headers: z.record(z.string()), + secret: z.string().optional(), +}); +/** @internal */ +export type GetDrainDeliveryDrains2$Outbound = { + type: string; + endpoint: GetDrainDeliveryDrainsEndpoint$Outbound; + encoding: string; + headers: { [k: string]: string }; + secret?: string | undefined; +}; + +/** @internal */ +export const GetDrainDeliveryDrains2$outboundSchema: z.ZodType< + GetDrainDeliveryDrains2$Outbound, + z.ZodTypeDef, + GetDrainDeliveryDrains2 +> = z.object({ + type: + GetDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyType$outboundSchema, + endpoint: z.lazy(() => GetDrainDeliveryDrainsEndpoint$outboundSchema), + encoding: GetDrainDeliveryDrainsResponse200Encoding$outboundSchema, + headers: z.record(z.string()), + secret: z.string().optional(), +}); + +export function getDrainDeliveryDrains2ToJSON( + getDrainDeliveryDrains2: GetDrainDeliveryDrains2, +): string { + return JSON.stringify( + GetDrainDeliveryDrains2$outboundSchema.parse(getDrainDeliveryDrains2), + ); +} +export function getDrainDeliveryDrains2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDrainDeliveryDrains2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainDeliveryDrains2' from JSON`, + ); +} + +/** @internal */ +export const GetDrainDeliveryDrainsResponse200ApplicationJSONType$inboundSchema: + z.ZodNativeEnum = + z.nativeEnum(GetDrainDeliveryDrainsResponse200ApplicationJSONType); +/** @internal */ +export const GetDrainDeliveryDrainsResponse200ApplicationJSONType$outboundSchema: + z.ZodNativeEnum = + GetDrainDeliveryDrainsResponse200ApplicationJSONType$inboundSchema; + +/** @internal */ +export const GetDrainDeliveryDrainsResponseEncoding$inboundSchema: + z.ZodNativeEnum = z.nativeEnum( + GetDrainDeliveryDrainsResponseEncoding, + ); +/** @internal */ +export const GetDrainDeliveryDrainsResponseEncoding$outboundSchema: + z.ZodNativeEnum = + GetDrainDeliveryDrainsResponseEncoding$inboundSchema; + +/** @internal */ +export const GetDrainDeliveryDrainsCompression$inboundSchema: z.ZodNativeEnum< + typeof GetDrainDeliveryDrainsCompression +> = z.nativeEnum(GetDrainDeliveryDrainsCompression); +/** @internal */ +export const GetDrainDeliveryDrainsCompression$outboundSchema: z.ZodNativeEnum< + typeof GetDrainDeliveryDrainsCompression +> = GetDrainDeliveryDrainsCompression$inboundSchema; + +/** @internal */ +export const GetDrainDeliveryDrains1$inboundSchema: z.ZodType< + GetDrainDeliveryDrains1, + z.ZodTypeDef, + unknown +> = z.object({ + type: GetDrainDeliveryDrainsResponse200ApplicationJSONType$inboundSchema, + endpoint: z.string(), + encoding: GetDrainDeliveryDrainsResponseEncoding$inboundSchema, + compression: GetDrainDeliveryDrainsCompression$inboundSchema.optional(), + headers: z.record(z.string()), + secret: z.string().optional(), +}); +/** @internal */ +export type GetDrainDeliveryDrains1$Outbound = { + type: string; + endpoint: string; + encoding: string; + compression?: string | undefined; + headers: { [k: string]: string }; + secret?: string | undefined; +}; + +/** @internal */ +export const GetDrainDeliveryDrains1$outboundSchema: z.ZodType< + GetDrainDeliveryDrains1$Outbound, + z.ZodTypeDef, + GetDrainDeliveryDrains1 +> = z.object({ + type: GetDrainDeliveryDrainsResponse200ApplicationJSONType$outboundSchema, + endpoint: z.string(), + encoding: GetDrainDeliveryDrainsResponseEncoding$outboundSchema, + compression: GetDrainDeliveryDrainsCompression$outboundSchema.optional(), + headers: z.record(z.string()), + secret: z.string().optional(), +}); + +export function getDrainDeliveryDrains1ToJSON( + getDrainDeliveryDrains1: GetDrainDeliveryDrains1, +): string { + return JSON.stringify( + GetDrainDeliveryDrains1$outboundSchema.parse(getDrainDeliveryDrains1), + ); +} +export function getDrainDeliveryDrains1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDrainDeliveryDrains1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainDeliveryDrains1' from JSON`, + ); +} + +/** @internal */ +export const GetDrainResponseBodyDrainsDelivery$inboundSchema: z.ZodType< + GetDrainResponseBodyDrainsDelivery, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => GetDrainDeliveryDrains1$inboundSchema), + z.lazy(() => GetDrainDeliveryDrains2$inboundSchema), + z.lazy(() => GetDrainDeliveryDrains3$inboundSchema), + z.lazy(() => GetDrainDeliveryDrains4$inboundSchema), +]); +/** @internal */ +export type GetDrainResponseBodyDrainsDelivery$Outbound = + | GetDrainDeliveryDrains1$Outbound + | GetDrainDeliveryDrains2$Outbound + | GetDrainDeliveryDrains3$Outbound + | GetDrainDeliveryDrains4$Outbound; + +/** @internal */ +export const GetDrainResponseBodyDrainsDelivery$outboundSchema: z.ZodType< + GetDrainResponseBodyDrainsDelivery$Outbound, + z.ZodTypeDef, + GetDrainResponseBodyDrainsDelivery +> = z.union([ + z.lazy(() => GetDrainDeliveryDrains1$outboundSchema), + z.lazy(() => GetDrainDeliveryDrains2$outboundSchema), + z.lazy(() => GetDrainDeliveryDrains3$outboundSchema), + z.lazy(() => GetDrainDeliveryDrains4$outboundSchema), +]); + +export function getDrainResponseBodyDrainsDeliveryToJSON( + getDrainResponseBodyDrainsDelivery: GetDrainResponseBodyDrainsDelivery, +): string { + return JSON.stringify( + GetDrainResponseBodyDrainsDelivery$outboundSchema.parse( + getDrainResponseBodyDrainsDelivery, + ), + ); +} +export function getDrainResponseBodyDrainsDeliveryFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + GetDrainResponseBodyDrainsDelivery$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainResponseBodyDrainsDelivery' from JSON`, + ); +} + +/** @internal */ +export const GetDrainResponseBodyDrainsType$inboundSchema: z.ZodNativeEnum< + typeof GetDrainResponseBodyDrainsType +> = z.nativeEnum(GetDrainResponseBodyDrainsType); +/** @internal */ +export const GetDrainResponseBodyDrainsType$outboundSchema: z.ZodNativeEnum< + typeof GetDrainResponseBodyDrainsType +> = GetDrainResponseBodyDrainsType$inboundSchema; + +/** @internal */ +export const GetDrainResponseBodyDrainsEnv$inboundSchema: z.ZodNativeEnum< + typeof GetDrainResponseBodyDrainsEnv +> = z.nativeEnum(GetDrainResponseBodyDrainsEnv); +/** @internal */ +export const GetDrainResponseBodyDrainsEnv$outboundSchema: z.ZodNativeEnum< + typeof GetDrainResponseBodyDrainsEnv +> = GetDrainResponseBodyDrainsEnv$inboundSchema; + +/** @internal */ +export const GetDrainResponseBodyDrainsSampling$inboundSchema: z.ZodType< + GetDrainResponseBodyDrainsSampling, + z.ZodTypeDef, + unknown +> = z.object({ + type: GetDrainResponseBodyDrainsType$inboundSchema, + rate: z.number(), + env: GetDrainResponseBodyDrainsEnv$inboundSchema.optional(), + requestPath: z.string().optional(), +}); +/** @internal */ +export type GetDrainResponseBodyDrainsSampling$Outbound = { + type: string; + rate: number; + env?: string | undefined; + requestPath?: string | undefined; +}; + +/** @internal */ +export const GetDrainResponseBodyDrainsSampling$outboundSchema: z.ZodType< + GetDrainResponseBodyDrainsSampling$Outbound, + z.ZodTypeDef, + GetDrainResponseBodyDrainsSampling +> = z.object({ + type: GetDrainResponseBodyDrainsType$outboundSchema, + rate: z.number(), + env: GetDrainResponseBodyDrainsEnv$outboundSchema.optional(), + requestPath: z.string().optional(), +}); + +export function getDrainResponseBodyDrainsSamplingToJSON( + getDrainResponseBodyDrainsSampling: GetDrainResponseBodyDrainsSampling, +): string { + return JSON.stringify( + GetDrainResponseBodyDrainsSampling$outboundSchema.parse( + getDrainResponseBodyDrainsSampling, + ), + ); +} +export function getDrainResponseBodyDrainsSamplingFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + GetDrainResponseBodyDrainsSampling$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainResponseBodyDrainsSampling' from JSON`, + ); +} + +/** @internal */ +export const GetDrainResponseBodyDrainsStatus$inboundSchema: z.ZodNativeEnum< + typeof GetDrainResponseBodyDrainsStatus +> = z.nativeEnum(GetDrainResponseBodyDrainsStatus); +/** @internal */ +export const GetDrainResponseBodyDrainsStatus$outboundSchema: z.ZodNativeEnum< + typeof GetDrainResponseBodyDrainsStatus +> = GetDrainResponseBodyDrainsStatus$inboundSchema; + +/** @internal */ +export const GetDrainResponseBodyDrainsDisabledReason$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(GetDrainResponseBodyDrainsDisabledReason); +/** @internal */ +export const GetDrainResponseBodyDrainsDisabledReason$outboundSchema: + z.ZodNativeEnum = + GetDrainResponseBodyDrainsDisabledReason$inboundSchema; + +/** @internal */ +export const GetDrainSourceDrainsResponse200Kind$inboundSchema: z.ZodNativeEnum< + typeof GetDrainSourceDrainsResponse200Kind +> = z.nativeEnum(GetDrainSourceDrainsResponse200Kind); +/** @internal */ +export const GetDrainSourceDrainsResponse200Kind$outboundSchema: + z.ZodNativeEnum = + GetDrainSourceDrainsResponse200Kind$inboundSchema; + +/** @internal */ +export const GetDrainSourceDrains2$inboundSchema: z.ZodType< + GetDrainSourceDrains2, + z.ZodTypeDef, + unknown +> = z.object({ + kind: GetDrainSourceDrainsResponse200Kind$inboundSchema, + resourceId: z.string().optional(), + externalResourceId: z.string().optional(), + integrationId: z.string(), + integrationConfigurationId: z.string(), +}); +/** @internal */ +export type GetDrainSourceDrains2$Outbound = { + kind: string; + resourceId?: string | undefined; + externalResourceId?: string | undefined; + integrationId: string; + integrationConfigurationId: string; +}; + +/** @internal */ +export const GetDrainSourceDrains2$outboundSchema: z.ZodType< + GetDrainSourceDrains2$Outbound, + z.ZodTypeDef, + GetDrainSourceDrains2 +> = z.object({ + kind: GetDrainSourceDrainsResponse200Kind$outboundSchema, + resourceId: z.string().optional(), + externalResourceId: z.string().optional(), + integrationId: z.string(), + integrationConfigurationId: z.string(), +}); + +export function getDrainSourceDrains2ToJSON( + getDrainSourceDrains2: GetDrainSourceDrains2, +): string { + return JSON.stringify( + GetDrainSourceDrains2$outboundSchema.parse(getDrainSourceDrains2), + ); +} +export function getDrainSourceDrains2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDrainSourceDrains2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainSourceDrains2' from JSON`, + ); +} + +/** @internal */ +export const GetDrainSourceDrainsResponseKind$inboundSchema: z.ZodNativeEnum< + typeof GetDrainSourceDrainsResponseKind +> = z.nativeEnum(GetDrainSourceDrainsResponseKind); +/** @internal */ +export const GetDrainSourceDrainsResponseKind$outboundSchema: z.ZodNativeEnum< + typeof GetDrainSourceDrainsResponseKind +> = GetDrainSourceDrainsResponseKind$inboundSchema; + +/** @internal */ +export const GetDrainSourceDrains1$inboundSchema: z.ZodType< + GetDrainSourceDrains1, + z.ZodTypeDef, + unknown +> = z.object({ + kind: GetDrainSourceDrainsResponseKind$inboundSchema, +}); +/** @internal */ +export type GetDrainSourceDrains1$Outbound = { + kind: string; +}; + +/** @internal */ +export const GetDrainSourceDrains1$outboundSchema: z.ZodType< + GetDrainSourceDrains1$Outbound, + z.ZodTypeDef, + GetDrainSourceDrains1 +> = z.object({ + kind: GetDrainSourceDrainsResponseKind$outboundSchema, +}); + +export function getDrainSourceDrains1ToJSON( + getDrainSourceDrains1: GetDrainSourceDrains1, +): string { + return JSON.stringify( + GetDrainSourceDrains1$outboundSchema.parse(getDrainSourceDrains1), + ); +} +export function getDrainSourceDrains1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDrainSourceDrains1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainSourceDrains1' from JSON`, + ); +} + +/** @internal */ +export const GetDrainResponseBodyDrainsSource$inboundSchema: z.ZodType< + GetDrainResponseBodyDrainsSource, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => GetDrainSourceDrains2$inboundSchema), + z.lazy(() => GetDrainSourceDrains1$inboundSchema), +]); +/** @internal */ +export type GetDrainResponseBodyDrainsSource$Outbound = + | GetDrainSourceDrains2$Outbound + | GetDrainSourceDrains1$Outbound; + +/** @internal */ +export const GetDrainResponseBodyDrainsSource$outboundSchema: z.ZodType< + GetDrainResponseBodyDrainsSource$Outbound, + z.ZodTypeDef, + GetDrainResponseBodyDrainsSource +> = z.union([ + z.lazy(() => GetDrainSourceDrains2$outboundSchema), + z.lazy(() => GetDrainSourceDrains1$outboundSchema), +]); + +export function getDrainResponseBodyDrainsSourceToJSON( + getDrainResponseBodyDrainsSource: GetDrainResponseBodyDrainsSource, +): string { + return JSON.stringify( + GetDrainResponseBodyDrainsSource$outboundSchema.parse( + getDrainResponseBodyDrainsSource, + ), + ); +} +export function getDrainResponseBodyDrainsSourceFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDrainResponseBodyDrainsSource$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainResponseBodyDrainsSource' from JSON`, + ); +} + +/** @internal */ +export const GetDrainFilterV2DrainsResponse200Version$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(GetDrainFilterV2DrainsResponse200Version); +/** @internal */ +export const GetDrainFilterV2DrainsResponse200Version$outboundSchema: + z.ZodNativeEnum = + GetDrainFilterV2DrainsResponse200Version$inboundSchema; + +/** @internal */ +export const GetDrainFilterDrainsResponse200Type$inboundSchema: z.ZodNativeEnum< + typeof GetDrainFilterDrainsResponse200Type +> = z.nativeEnum(GetDrainFilterDrainsResponse200Type); +/** @internal */ +export const GetDrainFilterDrainsResponse200Type$outboundSchema: + z.ZodNativeEnum = + GetDrainFilterDrainsResponse200Type$inboundSchema; + +/** @internal */ +export const GetDrainFilterDrains2$inboundSchema: z.ZodType< + GetDrainFilterDrains2, + z.ZodTypeDef, + unknown +> = z.object({ + type: GetDrainFilterDrainsResponse200Type$inboundSchema, + text: z.string(), +}); +/** @internal */ +export type GetDrainFilterDrains2$Outbound = { + type: string; + text: string; +}; + +/** @internal */ +export const GetDrainFilterDrains2$outboundSchema: z.ZodType< + GetDrainFilterDrains2$Outbound, + z.ZodTypeDef, + GetDrainFilterDrains2 +> = z.object({ + type: GetDrainFilterDrainsResponse200Type$outboundSchema, + text: z.string(), +}); + +export function getDrainFilterDrains2ToJSON( + getDrainFilterDrains2: GetDrainFilterDrains2, +): string { + return JSON.stringify( + GetDrainFilterDrains2$outboundSchema.parse(getDrainFilterDrains2), + ); +} +export function getDrainFilterDrains2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDrainFilterDrains2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainFilterDrains2' from JSON`, + ); +} + +/** @internal */ +export const GetDrainFilterDrainsResponseType$inboundSchema: z.ZodNativeEnum< + typeof GetDrainFilterDrainsResponseType +> = z.nativeEnum(GetDrainFilterDrainsResponseType); +/** @internal */ +export const GetDrainFilterDrainsResponseType$outboundSchema: z.ZodNativeEnum< + typeof GetDrainFilterDrainsResponseType +> = GetDrainFilterDrainsResponseType$inboundSchema; + +/** @internal */ +export const GetDrainFilterDrainsProject$inboundSchema: z.ZodType< + GetDrainFilterDrainsProject, + z.ZodTypeDef, + unknown +> = z.object({ + ids: z.array(z.string()).optional(), +}); +/** @internal */ +export type GetDrainFilterDrainsProject$Outbound = { + ids?: Array | undefined; +}; + +/** @internal */ +export const GetDrainFilterDrainsProject$outboundSchema: z.ZodType< + GetDrainFilterDrainsProject$Outbound, + z.ZodTypeDef, + GetDrainFilterDrainsProject +> = z.object({ + ids: z.array(z.string()).optional(), +}); + +export function getDrainFilterDrainsProjectToJSON( + getDrainFilterDrainsProject: GetDrainFilterDrainsProject, +): string { + return JSON.stringify( + GetDrainFilterDrainsProject$outboundSchema.parse( + getDrainFilterDrainsProject, + ), + ); +} +export function getDrainFilterDrainsProjectFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDrainFilterDrainsProject$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainFilterDrainsProject' from JSON`, + ); +} + +/** @internal */ +export const GetDrainFilterDrainsSources$inboundSchema: z.ZodNativeEnum< + typeof GetDrainFilterDrainsSources +> = z.nativeEnum(GetDrainFilterDrainsSources); +/** @internal */ +export const GetDrainFilterDrainsSources$outboundSchema: z.ZodNativeEnum< + typeof GetDrainFilterDrainsSources +> = GetDrainFilterDrainsSources$inboundSchema; + +/** @internal */ +export const GetDrainFilterDrainsLog$inboundSchema: z.ZodType< + GetDrainFilterDrainsLog, + z.ZodTypeDef, + unknown +> = z.object({ + sources: z.array(GetDrainFilterDrainsSources$inboundSchema).optional(), + legacy_excludeCachedStaticAssetLogs: z.boolean().optional(), +}).transform((v) => { + return remap$(v, { + "legacy_excludeCachedStaticAssetLogs": "legacyExcludeCachedStaticAssetLogs", + }); +}); +/** @internal */ +export type GetDrainFilterDrainsLog$Outbound = { + sources?: Array | undefined; + legacy_excludeCachedStaticAssetLogs?: boolean | undefined; +}; + +/** @internal */ +export const GetDrainFilterDrainsLog$outboundSchema: z.ZodType< + GetDrainFilterDrainsLog$Outbound, + z.ZodTypeDef, + GetDrainFilterDrainsLog +> = z.object({ + sources: z.array(GetDrainFilterDrainsSources$outboundSchema).optional(), + legacyExcludeCachedStaticAssetLogs: z.boolean().optional(), +}).transform((v) => { + return remap$(v, { + legacyExcludeCachedStaticAssetLogs: "legacy_excludeCachedStaticAssetLogs", + }); +}); + +export function getDrainFilterDrainsLogToJSON( + getDrainFilterDrainsLog: GetDrainFilterDrainsLog, +): string { + return JSON.stringify( + GetDrainFilterDrainsLog$outboundSchema.parse(getDrainFilterDrainsLog), + ); +} +export function getDrainFilterDrainsLogFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDrainFilterDrainsLog$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainFilterDrainsLog' from JSON`, + ); +} + +/** @internal */ +export const GetDrainFilterDrainsEnvironments$inboundSchema: z.ZodNativeEnum< + typeof GetDrainFilterDrainsEnvironments +> = z.nativeEnum(GetDrainFilterDrainsEnvironments); +/** @internal */ +export const GetDrainFilterDrainsEnvironments$outboundSchema: z.ZodNativeEnum< + typeof GetDrainFilterDrainsEnvironments +> = GetDrainFilterDrainsEnvironments$inboundSchema; + +/** @internal */ +export const GetDrainFilterDrainsDeployment$inboundSchema: z.ZodType< + GetDrainFilterDrainsDeployment, + z.ZodTypeDef, + unknown +> = z.object({ + environments: z.array(GetDrainFilterDrainsEnvironments$inboundSchema) + .optional(), +}); +/** @internal */ +export type GetDrainFilterDrainsDeployment$Outbound = { + environments?: Array | undefined; +}; + +/** @internal */ +export const GetDrainFilterDrainsDeployment$outboundSchema: z.ZodType< + GetDrainFilterDrainsDeployment$Outbound, + z.ZodTypeDef, + GetDrainFilterDrainsDeployment +> = z.object({ + environments: z.array(GetDrainFilterDrainsEnvironments$outboundSchema) + .optional(), +}); + +export function getDrainFilterDrainsDeploymentToJSON( + getDrainFilterDrainsDeployment: GetDrainFilterDrainsDeployment, +): string { + return JSON.stringify( + GetDrainFilterDrainsDeployment$outboundSchema.parse( + getDrainFilterDrainsDeployment, + ), + ); +} +export function getDrainFilterDrainsDeploymentFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDrainFilterDrainsDeployment$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainFilterDrainsDeployment' from JSON`, + ); +} + +/** @internal */ +export const GetDrainFilterDrains1$inboundSchema: z.ZodType< + GetDrainFilterDrains1, + z.ZodTypeDef, + unknown +> = z.object({ + type: GetDrainFilterDrainsResponseType$inboundSchema, + project: z.lazy(() => GetDrainFilterDrainsProject$inboundSchema).optional(), + log: z.lazy(() => GetDrainFilterDrainsLog$inboundSchema).optional(), + deployment: z.lazy(() => GetDrainFilterDrainsDeployment$inboundSchema) + .optional(), +}); +/** @internal */ +export type GetDrainFilterDrains1$Outbound = { + type: string; + project?: GetDrainFilterDrainsProject$Outbound | undefined; + log?: GetDrainFilterDrainsLog$Outbound | undefined; + deployment?: GetDrainFilterDrainsDeployment$Outbound | undefined; +}; + +/** @internal */ +export const GetDrainFilterDrains1$outboundSchema: z.ZodType< + GetDrainFilterDrains1$Outbound, + z.ZodTypeDef, + GetDrainFilterDrains1 +> = z.object({ + type: GetDrainFilterDrainsResponseType$outboundSchema, + project: z.lazy(() => GetDrainFilterDrainsProject$outboundSchema).optional(), + log: z.lazy(() => GetDrainFilterDrainsLog$outboundSchema).optional(), + deployment: z.lazy(() => GetDrainFilterDrainsDeployment$outboundSchema) + .optional(), +}); + +export function getDrainFilterDrains1ToJSON( + getDrainFilterDrains1: GetDrainFilterDrains1, +): string { + return JSON.stringify( + GetDrainFilterDrains1$outboundSchema.parse(getDrainFilterDrains1), + ); +} +export function getDrainFilterDrains1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDrainFilterDrains1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainFilterDrains1' from JSON`, + ); +} + +/** @internal */ +export const GetDrainFilterV2DrainsFilter$inboundSchema: z.ZodType< + GetDrainFilterV2DrainsFilter, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => GetDrainFilterDrains2$inboundSchema), + z.lazy(() => GetDrainFilterDrains1$inboundSchema), +]); +/** @internal */ +export type GetDrainFilterV2DrainsFilter$Outbound = + | GetDrainFilterDrains2$Outbound + | GetDrainFilterDrains1$Outbound; + +/** @internal */ +export const GetDrainFilterV2DrainsFilter$outboundSchema: z.ZodType< + GetDrainFilterV2DrainsFilter$Outbound, + z.ZodTypeDef, + GetDrainFilterV2DrainsFilter +> = z.union([ + z.lazy(() => GetDrainFilterDrains2$outboundSchema), + z.lazy(() => GetDrainFilterDrains1$outboundSchema), +]); + +export function getDrainFilterV2DrainsFilterToJSON( + getDrainFilterV2DrainsFilter: GetDrainFilterV2DrainsFilter, +): string { + return JSON.stringify( + GetDrainFilterV2DrainsFilter$outboundSchema.parse( + getDrainFilterV2DrainsFilter, + ), + ); +} +export function getDrainFilterV2DrainsFilterFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDrainFilterV2DrainsFilter$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainFilterV2DrainsFilter' from JSON`, + ); +} + +/** @internal */ +export const GetDrainFilterV2Drains2$inboundSchema: z.ZodType< + GetDrainFilterV2Drains2, + z.ZodTypeDef, + unknown +> = z.object({ + version: GetDrainFilterV2DrainsResponse200Version$inboundSchema, + filter: z.union([ + z.lazy(() => GetDrainFilterDrains2$inboundSchema), + z.lazy(() => GetDrainFilterDrains1$inboundSchema), + ]), +}); +/** @internal */ +export type GetDrainFilterV2Drains2$Outbound = { + version: string; + filter: GetDrainFilterDrains2$Outbound | GetDrainFilterDrains1$Outbound; +}; + +/** @internal */ +export const GetDrainFilterV2Drains2$outboundSchema: z.ZodType< + GetDrainFilterV2Drains2$Outbound, + z.ZodTypeDef, + GetDrainFilterV2Drains2 +> = z.object({ + version: GetDrainFilterV2DrainsResponse200Version$outboundSchema, + filter: z.union([ + z.lazy(() => GetDrainFilterDrains2$outboundSchema), + z.lazy(() => GetDrainFilterDrains1$outboundSchema), + ]), +}); + +export function getDrainFilterV2Drains2ToJSON( + getDrainFilterV2Drains2: GetDrainFilterV2Drains2, +): string { + return JSON.stringify( + GetDrainFilterV2Drains2$outboundSchema.parse(getDrainFilterV2Drains2), + ); +} +export function getDrainFilterV2Drains2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDrainFilterV2Drains2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainFilterV2Drains2' from JSON`, + ); +} + +/** @internal */ +export const GetDrainFilterV2DrainsResponseVersion$inboundSchema: + z.ZodNativeEnum = z.nativeEnum( + GetDrainFilterV2DrainsResponseVersion, + ); +/** @internal */ +export const GetDrainFilterV2DrainsResponseVersion$outboundSchema: + z.ZodNativeEnum = + GetDrainFilterV2DrainsResponseVersion$inboundSchema; + +/** @internal */ +export const GetDrainFilterV2Drains1$inboundSchema: z.ZodType< + GetDrainFilterV2Drains1, + z.ZodTypeDef, + unknown +> = z.object({ + version: GetDrainFilterV2DrainsResponseVersion$inboundSchema, +}); +/** @internal */ +export type GetDrainFilterV2Drains1$Outbound = { + version: string; +}; + +/** @internal */ +export const GetDrainFilterV2Drains1$outboundSchema: z.ZodType< + GetDrainFilterV2Drains1$Outbound, + z.ZodTypeDef, + GetDrainFilterV2Drains1 +> = z.object({ + version: GetDrainFilterV2DrainsResponseVersion$outboundSchema, +}); + +export function getDrainFilterV2Drains1ToJSON( + getDrainFilterV2Drains1: GetDrainFilterV2Drains1, +): string { + return JSON.stringify( + GetDrainFilterV2Drains1$outboundSchema.parse(getDrainFilterV2Drains1), + ); +} +export function getDrainFilterV2Drains1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDrainFilterV2Drains1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainFilterV2Drains1' from JSON`, + ); +} + +/** @internal */ +export const GetDrainResponseBodyDrainsFilterV2$inboundSchema: z.ZodType< + GetDrainResponseBodyDrainsFilterV2, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => GetDrainFilterV2Drains2$inboundSchema), + z.lazy(() => GetDrainFilterV2Drains1$inboundSchema), +]); +/** @internal */ +export type GetDrainResponseBodyDrainsFilterV2$Outbound = + | GetDrainFilterV2Drains2$Outbound + | GetDrainFilterV2Drains1$Outbound; + +/** @internal */ +export const GetDrainResponseBodyDrainsFilterV2$outboundSchema: z.ZodType< + GetDrainResponseBodyDrainsFilterV2$Outbound, + z.ZodTypeDef, + GetDrainResponseBodyDrainsFilterV2 +> = z.union([ + z.lazy(() => GetDrainFilterV2Drains2$outboundSchema), + z.lazy(() => GetDrainFilterV2Drains1$outboundSchema), +]); + +export function getDrainResponseBodyDrainsFilterV2ToJSON( + getDrainResponseBodyDrainsFilterV2: GetDrainResponseBodyDrainsFilterV2, +): string { + return JSON.stringify( + GetDrainResponseBodyDrainsFilterV2$outboundSchema.parse( + getDrainResponseBodyDrainsFilterV2, + ), + ); +} +export function getDrainResponseBodyDrainsFilterV2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + GetDrainResponseBodyDrainsFilterV2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainResponseBodyDrainsFilterV2' from JSON`, + ); +} + +/** @internal */ +export const GetDrainResponseBodyFramework$inboundSchema: z.ZodNativeEnum< + typeof GetDrainResponseBodyFramework +> = z.nativeEnum(GetDrainResponseBodyFramework); +/** @internal */ +export const GetDrainResponseBodyFramework$outboundSchema: z.ZodNativeEnum< + typeof GetDrainResponseBodyFramework +> = GetDrainResponseBodyFramework$inboundSchema; + +/** @internal */ +export const GetDrainResponseBodyProjectsMetadata$inboundSchema: z.ZodType< + GetDrainResponseBodyProjectsMetadata, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + name: z.string(), + framework: z.nullable(GetDrainResponseBodyFramework$inboundSchema).optional(), + latestDeployment: z.string().optional(), +}); +/** @internal */ +export type GetDrainResponseBodyProjectsMetadata$Outbound = { + id: string; + name: string; + framework?: string | null | undefined; + latestDeployment?: string | undefined; +}; + +/** @internal */ +export const GetDrainResponseBodyProjectsMetadata$outboundSchema: z.ZodType< + GetDrainResponseBodyProjectsMetadata$Outbound, + z.ZodTypeDef, + GetDrainResponseBodyProjectsMetadata +> = z.object({ + id: z.string(), + name: z.string(), + framework: z.nullable(GetDrainResponseBodyFramework$outboundSchema) + .optional(), + latestDeployment: z.string().optional(), +}); + +export function getDrainResponseBodyProjectsMetadataToJSON( + getDrainResponseBodyProjectsMetadata: GetDrainResponseBodyProjectsMetadata, +): string { + return JSON.stringify( + GetDrainResponseBodyProjectsMetadata$outboundSchema.parse( + getDrainResponseBodyProjectsMetadata, + ), + ); +} +export function getDrainResponseBodyProjectsMetadataFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + GetDrainResponseBodyProjectsMetadata$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainResponseBodyProjectsMetadata' from JSON`, + ); +} + +/** @internal */ +export const GetDrainResponseBody2$inboundSchema: z.ZodType< + GetDrainResponseBody2, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + ownerId: z.string(), + name: z.string(), + createdAt: z.number(), + createdFrom: GetDrainResponseBodyDrainsCreatedFrom$inboundSchema.optional(), + updatedAt: z.number(), + projectIds: z.array(z.string()).optional(), + schemas: z.lazy(() => GetDrainResponseBodyDrainsSchemas$inboundSchema) + .optional(), + delivery: z.union([ + z.lazy(() => GetDrainDeliveryDrains1$inboundSchema), + z.lazy(() => GetDrainDeliveryDrains2$inboundSchema), + z.lazy(() => GetDrainDeliveryDrains3$inboundSchema), + z.lazy(() => GetDrainDeliveryDrains4$inboundSchema), + ]).optional(), + sampling: z.array( + z.lazy(() => GetDrainResponseBodyDrainsSampling$inboundSchema), + ).optional(), + teamId: z.nullable(z.string()).optional(), + status: GetDrainResponseBodyDrainsStatus$inboundSchema.optional(), + disabledAt: z.number().optional(), + disabledReason: GetDrainResponseBodyDrainsDisabledReason$inboundSchema + .optional(), + disabledBy: z.string().optional(), + firstErrorTimestamp: z.number().optional(), + configurationId: z.string().optional(), + clientId: z.string().optional(), + source: z.union([ + z.lazy(() => GetDrainSourceDrains2$inboundSchema), + z.lazy(() => GetDrainSourceDrains1$inboundSchema), + ]), + filter: z.string().optional(), + filterV2: z.union([ + z.lazy(() => GetDrainFilterV2Drains2$inboundSchema), + z.lazy(() => GetDrainFilterV2Drains1$inboundSchema), + ]).optional(), + integrationIcon: z.string().optional(), + integrationConfigurationUri: z.string().optional(), + integrationWebsite: z.string().optional(), + projectsMetadata: z.array( + z.lazy(() => GetDrainResponseBodyProjectsMetadata$inboundSchema), + ).optional(), +}); +/** @internal */ +export type GetDrainResponseBody2$Outbound = { + id: string; + ownerId: string; + name: string; + createdAt: number; + createdFrom?: string | undefined; + updatedAt: number; + projectIds?: Array | undefined; + schemas?: GetDrainResponseBodyDrainsSchemas$Outbound | undefined; + delivery?: + | GetDrainDeliveryDrains1$Outbound + | GetDrainDeliveryDrains2$Outbound + | GetDrainDeliveryDrains3$Outbound + | GetDrainDeliveryDrains4$Outbound + | undefined; + sampling?: Array | undefined; + teamId?: string | null | undefined; + status?: string | undefined; + disabledAt?: number | undefined; + disabledReason?: string | undefined; + disabledBy?: string | undefined; + firstErrorTimestamp?: number | undefined; + configurationId?: string | undefined; + clientId?: string | undefined; + source: GetDrainSourceDrains2$Outbound | GetDrainSourceDrains1$Outbound; + filter?: string | undefined; + filterV2?: + | GetDrainFilterV2Drains2$Outbound + | GetDrainFilterV2Drains1$Outbound + | undefined; + integrationIcon?: string | undefined; + integrationConfigurationUri?: string | undefined; + integrationWebsite?: string | undefined; + projectsMetadata?: + | Array + | undefined; +}; + +/** @internal */ +export const GetDrainResponseBody2$outboundSchema: z.ZodType< + GetDrainResponseBody2$Outbound, + z.ZodTypeDef, + GetDrainResponseBody2 +> = z.object({ + id: z.string(), + ownerId: z.string(), + name: z.string(), + createdAt: z.number(), + createdFrom: GetDrainResponseBodyDrainsCreatedFrom$outboundSchema.optional(), + updatedAt: z.number(), + projectIds: z.array(z.string()).optional(), + schemas: z.lazy(() => GetDrainResponseBodyDrainsSchemas$outboundSchema) + .optional(), + delivery: z.union([ + z.lazy(() => GetDrainDeliveryDrains1$outboundSchema), + z.lazy(() => GetDrainDeliveryDrains2$outboundSchema), + z.lazy(() => GetDrainDeliveryDrains3$outboundSchema), + z.lazy(() => GetDrainDeliveryDrains4$outboundSchema), + ]).optional(), + sampling: z.array( + z.lazy(() => GetDrainResponseBodyDrainsSampling$outboundSchema), + ).optional(), + teamId: z.nullable(z.string()).optional(), + status: GetDrainResponseBodyDrainsStatus$outboundSchema.optional(), + disabledAt: z.number().optional(), + disabledReason: GetDrainResponseBodyDrainsDisabledReason$outboundSchema + .optional(), + disabledBy: z.string().optional(), + firstErrorTimestamp: z.number().optional(), + configurationId: z.string().optional(), + clientId: z.string().optional(), + source: z.union([ + z.lazy(() => GetDrainSourceDrains2$outboundSchema), + z.lazy(() => GetDrainSourceDrains1$outboundSchema), + ]), + filter: z.string().optional(), + filterV2: z.union([ + z.lazy(() => GetDrainFilterV2Drains2$outboundSchema), + z.lazy(() => GetDrainFilterV2Drains1$outboundSchema), + ]).optional(), + integrationIcon: z.string().optional(), + integrationConfigurationUri: z.string().optional(), + integrationWebsite: z.string().optional(), + projectsMetadata: z.array( + z.lazy(() => GetDrainResponseBodyProjectsMetadata$outboundSchema), + ).optional(), +}); + +export function getDrainResponseBody2ToJSON( + getDrainResponseBody2: GetDrainResponseBody2, +): string { + return JSON.stringify( + GetDrainResponseBody2$outboundSchema.parse(getDrainResponseBody2), + ); +} +export function getDrainResponseBody2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDrainResponseBody2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainResponseBody2' from JSON`, + ); +} + +/** @internal */ +export const GetDrainResponseBodyCreatedFrom$inboundSchema: z.ZodNativeEnum< + typeof GetDrainResponseBodyCreatedFrom +> = z.nativeEnum(GetDrainResponseBodyCreatedFrom); +/** @internal */ +export const GetDrainResponseBodyCreatedFrom$outboundSchema: z.ZodNativeEnum< + typeof GetDrainResponseBodyCreatedFrom +> = GetDrainResponseBodyCreatedFrom$inboundSchema; + +/** @internal */ +export const GetDrainResponseBodyLog$inboundSchema: z.ZodType< + GetDrainResponseBodyLog, + z.ZodTypeDef, + unknown +> = z.object({}); +/** @internal */ +export type GetDrainResponseBodyLog$Outbound = {}; + +/** @internal */ +export const GetDrainResponseBodyLog$outboundSchema: z.ZodType< + GetDrainResponseBodyLog$Outbound, + z.ZodTypeDef, + GetDrainResponseBodyLog +> = z.object({}); + +export function getDrainResponseBodyLogToJSON( + getDrainResponseBodyLog: GetDrainResponseBodyLog, +): string { + return JSON.stringify( + GetDrainResponseBodyLog$outboundSchema.parse(getDrainResponseBodyLog), + ); +} +export function getDrainResponseBodyLogFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDrainResponseBodyLog$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainResponseBodyLog' from JSON`, + ); +} + +/** @internal */ +export const GetDrainResponseBodyTrace$inboundSchema: z.ZodType< + GetDrainResponseBodyTrace, + z.ZodTypeDef, + unknown +> = z.object({}); +/** @internal */ +export type GetDrainResponseBodyTrace$Outbound = {}; + +/** @internal */ +export const GetDrainResponseBodyTrace$outboundSchema: z.ZodType< + GetDrainResponseBodyTrace$Outbound, + z.ZodTypeDef, + GetDrainResponseBodyTrace +> = z.object({}); + +export function getDrainResponseBodyTraceToJSON( + getDrainResponseBodyTrace: GetDrainResponseBodyTrace, +): string { + return JSON.stringify( + GetDrainResponseBodyTrace$outboundSchema.parse(getDrainResponseBodyTrace), + ); +} +export function getDrainResponseBodyTraceFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDrainResponseBodyTrace$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainResponseBodyTrace' from JSON`, + ); +} + +/** @internal */ +export const GetDrainResponseBodyAnalytics$inboundSchema: z.ZodType< + GetDrainResponseBodyAnalytics, + z.ZodTypeDef, + unknown +> = z.object({}); +/** @internal */ +export type GetDrainResponseBodyAnalytics$Outbound = {}; + +/** @internal */ +export const GetDrainResponseBodyAnalytics$outboundSchema: z.ZodType< + GetDrainResponseBodyAnalytics$Outbound, + z.ZodTypeDef, + GetDrainResponseBodyAnalytics +> = z.object({}); + +export function getDrainResponseBodyAnalyticsToJSON( + getDrainResponseBodyAnalytics: GetDrainResponseBodyAnalytics, +): string { + return JSON.stringify( + GetDrainResponseBodyAnalytics$outboundSchema.parse( + getDrainResponseBodyAnalytics, + ), + ); +} +export function getDrainResponseBodyAnalyticsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDrainResponseBodyAnalytics$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainResponseBodyAnalytics' from JSON`, + ); +} + +/** @internal */ +export const GetDrainResponseBodySpeedInsights$inboundSchema: z.ZodType< + GetDrainResponseBodySpeedInsights, + z.ZodTypeDef, + unknown +> = z.object({}); +/** @internal */ +export type GetDrainResponseBodySpeedInsights$Outbound = {}; + +/** @internal */ +export const GetDrainResponseBodySpeedInsights$outboundSchema: z.ZodType< + GetDrainResponseBodySpeedInsights$Outbound, + z.ZodTypeDef, + GetDrainResponseBodySpeedInsights +> = z.object({}); + +export function getDrainResponseBodySpeedInsightsToJSON( + getDrainResponseBodySpeedInsights: GetDrainResponseBodySpeedInsights, +): string { + return JSON.stringify( + GetDrainResponseBodySpeedInsights$outboundSchema.parse( + getDrainResponseBodySpeedInsights, + ), + ); +} +export function getDrainResponseBodySpeedInsightsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDrainResponseBodySpeedInsights$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainResponseBodySpeedInsights' from JSON`, + ); +} + +/** @internal */ +export const GetDrainResponseBodySchemas$inboundSchema: z.ZodType< + GetDrainResponseBodySchemas, + z.ZodTypeDef, + unknown +> = z.object({ + log: z.lazy(() => GetDrainResponseBodyLog$inboundSchema).optional(), + trace: z.lazy(() => GetDrainResponseBodyTrace$inboundSchema).optional(), + analytics: z.lazy(() => GetDrainResponseBodyAnalytics$inboundSchema) + .optional(), + speed_insights: z.lazy(() => GetDrainResponseBodySpeedInsights$inboundSchema) + .optional(), +}).transform((v) => { + return remap$(v, { + "speed_insights": "speedInsights", + }); +}); +/** @internal */ +export type GetDrainResponseBodySchemas$Outbound = { + log?: GetDrainResponseBodyLog$Outbound | undefined; + trace?: GetDrainResponseBodyTrace$Outbound | undefined; + analytics?: GetDrainResponseBodyAnalytics$Outbound | undefined; + speed_insights?: GetDrainResponseBodySpeedInsights$Outbound | undefined; +}; + +/** @internal */ +export const GetDrainResponseBodySchemas$outboundSchema: z.ZodType< + GetDrainResponseBodySchemas$Outbound, + z.ZodTypeDef, + GetDrainResponseBodySchemas +> = z.object({ + log: z.lazy(() => GetDrainResponseBodyLog$outboundSchema).optional(), + trace: z.lazy(() => GetDrainResponseBodyTrace$outboundSchema).optional(), + analytics: z.lazy(() => GetDrainResponseBodyAnalytics$outboundSchema) + .optional(), + speedInsights: z.lazy(() => GetDrainResponseBodySpeedInsights$outboundSchema) + .optional(), +}).transform((v) => { + return remap$(v, { + speedInsights: "speed_insights", + }); +}); + +export function getDrainResponseBodySchemasToJSON( + getDrainResponseBodySchemas: GetDrainResponseBodySchemas, +): string { + return JSON.stringify( + GetDrainResponseBodySchemas$outboundSchema.parse( + getDrainResponseBodySchemas, + ), + ); +} +export function getDrainResponseBodySchemasFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDrainResponseBodySchemas$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainResponseBodySchemas' from JSON`, + ); +} + +/** @internal */ +export const GetDrainDeliveryDrainsResponse200Type$inboundSchema: + z.ZodNativeEnum = z.nativeEnum( + GetDrainDeliveryDrainsResponse200Type, + ); +/** @internal */ +export const GetDrainDeliveryDrainsResponse200Type$outboundSchema: + z.ZodNativeEnum = + GetDrainDeliveryDrainsResponse200Type$inboundSchema; + +/** @internal */ +export const GetDrainDeliveryTarget$inboundSchema: z.ZodNativeEnum< + typeof GetDrainDeliveryTarget +> = z.nativeEnum(GetDrainDeliveryTarget); +/** @internal */ +export const GetDrainDeliveryTarget$outboundSchema: z.ZodNativeEnum< + typeof GetDrainDeliveryTarget +> = GetDrainDeliveryTarget$inboundSchema; + +/** @internal */ +export const GetDrainDelivery4$inboundSchema: z.ZodType< + GetDrainDelivery4, + z.ZodTypeDef, + unknown +> = z.object({ + type: GetDrainDeliveryDrainsResponse200Type$inboundSchema, + target: GetDrainDeliveryTarget$inboundSchema, +}); +/** @internal */ +export type GetDrainDelivery4$Outbound = { + type: string; + target: string; +}; + +/** @internal */ +export const GetDrainDelivery4$outboundSchema: z.ZodType< + GetDrainDelivery4$Outbound, + z.ZodTypeDef, + GetDrainDelivery4 +> = z.object({ + type: GetDrainDeliveryDrainsResponse200Type$outboundSchema, + target: GetDrainDeliveryTarget$outboundSchema, +}); + +export function getDrainDelivery4ToJSON( + getDrainDelivery4: GetDrainDelivery4, +): string { + return JSON.stringify( + GetDrainDelivery4$outboundSchema.parse(getDrainDelivery4), + ); +} +export function getDrainDelivery4FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDrainDelivery4$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainDelivery4' from JSON`, + ); +} + +/** @internal */ +export const GetDrainDeliveryDrainsResponseType$inboundSchema: z.ZodNativeEnum< + typeof GetDrainDeliveryDrainsResponseType +> = z.nativeEnum(GetDrainDeliveryDrainsResponseType); +/** @internal */ +export const GetDrainDeliveryDrainsResponseType$outboundSchema: z.ZodNativeEnum< + typeof GetDrainDeliveryDrainsResponseType +> = GetDrainDeliveryDrainsResponseType$inboundSchema; + +/** @internal */ +export const GetDrainDelivery3$inboundSchema: z.ZodType< + GetDrainDelivery3, + z.ZodTypeDef, + unknown +> = z.object({ + type: GetDrainDeliveryDrainsResponseType$inboundSchema, + endpoint: z.string(), + table: z.string(), +}); +/** @internal */ +export type GetDrainDelivery3$Outbound = { + type: string; + endpoint: string; + table: string; +}; + +/** @internal */ +export const GetDrainDelivery3$outboundSchema: z.ZodType< + GetDrainDelivery3$Outbound, + z.ZodTypeDef, + GetDrainDelivery3 +> = z.object({ + type: GetDrainDeliveryDrainsResponseType$outboundSchema, + endpoint: z.string(), + table: z.string(), +}); + +export function getDrainDelivery3ToJSON( + getDrainDelivery3: GetDrainDelivery3, +): string { + return JSON.stringify( + GetDrainDelivery3$outboundSchema.parse(getDrainDelivery3), + ); +} +export function getDrainDelivery3FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDrainDelivery3$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainDelivery3' from JSON`, + ); +} + +/** @internal */ +export const GetDrainDeliveryDrainsType$inboundSchema: z.ZodNativeEnum< + typeof GetDrainDeliveryDrainsType +> = z.nativeEnum(GetDrainDeliveryDrainsType); +/** @internal */ +export const GetDrainDeliveryDrainsType$outboundSchema: z.ZodNativeEnum< + typeof GetDrainDeliveryDrainsType +> = GetDrainDeliveryDrainsType$inboundSchema; + +/** @internal */ +export const GetDrainDeliveryEndpoint$inboundSchema: z.ZodType< + GetDrainDeliveryEndpoint, + z.ZodTypeDef, + unknown +> = z.object({ + traces: z.string(), +}); +/** @internal */ +export type GetDrainDeliveryEndpoint$Outbound = { + traces: string; +}; + +/** @internal */ +export const GetDrainDeliveryEndpoint$outboundSchema: z.ZodType< + GetDrainDeliveryEndpoint$Outbound, + z.ZodTypeDef, + GetDrainDeliveryEndpoint +> = z.object({ + traces: z.string(), +}); + +export function getDrainDeliveryEndpointToJSON( + getDrainDeliveryEndpoint: GetDrainDeliveryEndpoint, +): string { + return JSON.stringify( + GetDrainDeliveryEndpoint$outboundSchema.parse(getDrainDeliveryEndpoint), + ); +} +export function getDrainDeliveryEndpointFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDrainDeliveryEndpoint$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainDeliveryEndpoint' from JSON`, + ); +} + +/** @internal */ +export const GetDrainDeliveryDrainsEncoding$inboundSchema: z.ZodNativeEnum< + typeof GetDrainDeliveryDrainsEncoding +> = z.nativeEnum(GetDrainDeliveryDrainsEncoding); +/** @internal */ +export const GetDrainDeliveryDrainsEncoding$outboundSchema: z.ZodNativeEnum< + typeof GetDrainDeliveryDrainsEncoding +> = GetDrainDeliveryDrainsEncoding$inboundSchema; + +/** @internal */ +export const GetDrainDelivery2$inboundSchema: z.ZodType< + GetDrainDelivery2, + z.ZodTypeDef, + unknown +> = z.object({ + type: GetDrainDeliveryDrainsType$inboundSchema, + endpoint: z.lazy(() => GetDrainDeliveryEndpoint$inboundSchema), + encoding: GetDrainDeliveryDrainsEncoding$inboundSchema, + headers: z.record(z.string()), + secret: z.string().optional(), +}); +/** @internal */ +export type GetDrainDelivery2$Outbound = { + type: string; + endpoint: GetDrainDeliveryEndpoint$Outbound; + encoding: string; + headers: { [k: string]: string }; + secret?: string | undefined; +}; + +/** @internal */ +export const GetDrainDelivery2$outboundSchema: z.ZodType< + GetDrainDelivery2$Outbound, + z.ZodTypeDef, + GetDrainDelivery2 +> = z.object({ + type: GetDrainDeliveryDrainsType$outboundSchema, + endpoint: z.lazy(() => GetDrainDeliveryEndpoint$outboundSchema), + encoding: GetDrainDeliveryDrainsEncoding$outboundSchema, + headers: z.record(z.string()), + secret: z.string().optional(), +}); + +export function getDrainDelivery2ToJSON( + getDrainDelivery2: GetDrainDelivery2, +): string { + return JSON.stringify( + GetDrainDelivery2$outboundSchema.parse(getDrainDelivery2), + ); +} +export function getDrainDelivery2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDrainDelivery2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainDelivery2' from JSON`, + ); +} + +/** @internal */ +export const GetDrainDeliveryType$inboundSchema: z.ZodNativeEnum< + typeof GetDrainDeliveryType +> = z.nativeEnum(GetDrainDeliveryType); +/** @internal */ +export const GetDrainDeliveryType$outboundSchema: z.ZodNativeEnum< + typeof GetDrainDeliveryType +> = GetDrainDeliveryType$inboundSchema; + +/** @internal */ +export const GetDrainDeliveryEncoding$inboundSchema: z.ZodNativeEnum< + typeof GetDrainDeliveryEncoding +> = z.nativeEnum(GetDrainDeliveryEncoding); +/** @internal */ +export const GetDrainDeliveryEncoding$outboundSchema: z.ZodNativeEnum< + typeof GetDrainDeliveryEncoding +> = GetDrainDeliveryEncoding$inboundSchema; + +/** @internal */ +export const GetDrainDeliveryCompression$inboundSchema: z.ZodNativeEnum< + typeof GetDrainDeliveryCompression +> = z.nativeEnum(GetDrainDeliveryCompression); +/** @internal */ +export const GetDrainDeliveryCompression$outboundSchema: z.ZodNativeEnum< + typeof GetDrainDeliveryCompression +> = GetDrainDeliveryCompression$inboundSchema; + +/** @internal */ +export const GetDrainDelivery1$inboundSchema: z.ZodType< + GetDrainDelivery1, + z.ZodTypeDef, + unknown +> = z.object({ + type: GetDrainDeliveryType$inboundSchema, + endpoint: z.string(), + encoding: GetDrainDeliveryEncoding$inboundSchema, + compression: GetDrainDeliveryCompression$inboundSchema.optional(), + headers: z.record(z.string()), + secret: z.string().optional(), +}); +/** @internal */ +export type GetDrainDelivery1$Outbound = { + type: string; + endpoint: string; + encoding: string; + compression?: string | undefined; + headers: { [k: string]: string }; + secret?: string | undefined; +}; + +/** @internal */ +export const GetDrainDelivery1$outboundSchema: z.ZodType< + GetDrainDelivery1$Outbound, + z.ZodTypeDef, + GetDrainDelivery1 +> = z.object({ + type: GetDrainDeliveryType$outboundSchema, + endpoint: z.string(), + encoding: GetDrainDeliveryEncoding$outboundSchema, + compression: GetDrainDeliveryCompression$outboundSchema.optional(), + headers: z.record(z.string()), + secret: z.string().optional(), +}); + +export function getDrainDelivery1ToJSON( + getDrainDelivery1: GetDrainDelivery1, +): string { + return JSON.stringify( + GetDrainDelivery1$outboundSchema.parse(getDrainDelivery1), + ); +} +export function getDrainDelivery1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDrainDelivery1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainDelivery1' from JSON`, + ); +} + +/** @internal */ +export const GetDrainResponseBodyDelivery$inboundSchema: z.ZodType< + GetDrainResponseBodyDelivery, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => GetDrainDelivery1$inboundSchema), + z.lazy(() => GetDrainDelivery2$inboundSchema), + z.lazy(() => GetDrainDelivery3$inboundSchema), + z.lazy(() => GetDrainDelivery4$inboundSchema), +]); +/** @internal */ +export type GetDrainResponseBodyDelivery$Outbound = + | GetDrainDelivery1$Outbound + | GetDrainDelivery2$Outbound + | GetDrainDelivery3$Outbound + | GetDrainDelivery4$Outbound; + +/** @internal */ +export const GetDrainResponseBodyDelivery$outboundSchema: z.ZodType< + GetDrainResponseBodyDelivery$Outbound, + z.ZodTypeDef, + GetDrainResponseBodyDelivery +> = z.union([ + z.lazy(() => GetDrainDelivery1$outboundSchema), + z.lazy(() => GetDrainDelivery2$outboundSchema), + z.lazy(() => GetDrainDelivery3$outboundSchema), + z.lazy(() => GetDrainDelivery4$outboundSchema), +]); + +export function getDrainResponseBodyDeliveryToJSON( + getDrainResponseBodyDelivery: GetDrainResponseBodyDelivery, +): string { + return JSON.stringify( + GetDrainResponseBodyDelivery$outboundSchema.parse( + getDrainResponseBodyDelivery, + ), + ); +} +export function getDrainResponseBodyDeliveryFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDrainResponseBodyDelivery$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainResponseBodyDelivery' from JSON`, + ); +} + +/** @internal */ +export const GetDrainResponseBodyType$inboundSchema: z.ZodNativeEnum< + typeof GetDrainResponseBodyType +> = z.nativeEnum(GetDrainResponseBodyType); +/** @internal */ +export const GetDrainResponseBodyType$outboundSchema: z.ZodNativeEnum< + typeof GetDrainResponseBodyType +> = GetDrainResponseBodyType$inboundSchema; + +/** @internal */ +export const GetDrainResponseBodyEnv$inboundSchema: z.ZodNativeEnum< + typeof GetDrainResponseBodyEnv +> = z.nativeEnum(GetDrainResponseBodyEnv); +/** @internal */ +export const GetDrainResponseBodyEnv$outboundSchema: z.ZodNativeEnum< + typeof GetDrainResponseBodyEnv +> = GetDrainResponseBodyEnv$inboundSchema; + +/** @internal */ +export const GetDrainResponseBodySampling$inboundSchema: z.ZodType< + GetDrainResponseBodySampling, + z.ZodTypeDef, + unknown +> = z.object({ + type: GetDrainResponseBodyType$inboundSchema, + rate: z.number(), + env: GetDrainResponseBodyEnv$inboundSchema.optional(), + requestPath: z.string().optional(), +}); +/** @internal */ +export type GetDrainResponseBodySampling$Outbound = { + type: string; + rate: number; + env?: string | undefined; + requestPath?: string | undefined; +}; + +/** @internal */ +export const GetDrainResponseBodySampling$outboundSchema: z.ZodType< + GetDrainResponseBodySampling$Outbound, + z.ZodTypeDef, + GetDrainResponseBodySampling +> = z.object({ + type: GetDrainResponseBodyType$outboundSchema, + rate: z.number(), + env: GetDrainResponseBodyEnv$outboundSchema.optional(), + requestPath: z.string().optional(), +}); + +export function getDrainResponseBodySamplingToJSON( + getDrainResponseBodySampling: GetDrainResponseBodySampling, +): string { + return JSON.stringify( + GetDrainResponseBodySampling$outboundSchema.parse( + getDrainResponseBodySampling, + ), + ); +} +export function getDrainResponseBodySamplingFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDrainResponseBodySampling$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainResponseBodySampling' from JSON`, + ); +} + +/** @internal */ +export const GetDrainResponseBodyStatus$inboundSchema: z.ZodNativeEnum< + typeof GetDrainResponseBodyStatus +> = z.nativeEnum(GetDrainResponseBodyStatus); +/** @internal */ +export const GetDrainResponseBodyStatus$outboundSchema: z.ZodNativeEnum< + typeof GetDrainResponseBodyStatus +> = GetDrainResponseBodyStatus$inboundSchema; + +/** @internal */ +export const GetDrainResponseBodyDisabledReason$inboundSchema: z.ZodNativeEnum< + typeof GetDrainResponseBodyDisabledReason +> = z.nativeEnum(GetDrainResponseBodyDisabledReason); +/** @internal */ +export const GetDrainResponseBodyDisabledReason$outboundSchema: z.ZodNativeEnum< + typeof GetDrainResponseBodyDisabledReason +> = GetDrainResponseBodyDisabledReason$inboundSchema; + +/** @internal */ +export const GetDrainSourceDrainsKind$inboundSchema: z.ZodNativeEnum< + typeof GetDrainSourceDrainsKind +> = z.nativeEnum(GetDrainSourceDrainsKind); +/** @internal */ +export const GetDrainSourceDrainsKind$outboundSchema: z.ZodNativeEnum< + typeof GetDrainSourceDrainsKind +> = GetDrainSourceDrainsKind$inboundSchema; + +/** @internal */ +export const GetDrainSource2$inboundSchema: z.ZodType< + GetDrainSource2, + z.ZodTypeDef, + unknown +> = z.object({ + kind: GetDrainSourceDrainsKind$inboundSchema, + resourceId: z.string().optional(), + externalResourceId: z.string().optional(), + integrationId: z.string(), + integrationConfigurationId: z.string(), +}); +/** @internal */ +export type GetDrainSource2$Outbound = { + kind: string; + resourceId?: string | undefined; + externalResourceId?: string | undefined; + integrationId: string; + integrationConfigurationId: string; +}; + +/** @internal */ +export const GetDrainSource2$outboundSchema: z.ZodType< + GetDrainSource2$Outbound, + z.ZodTypeDef, + GetDrainSource2 +> = z.object({ + kind: GetDrainSourceDrainsKind$outboundSchema, + resourceId: z.string().optional(), + externalResourceId: z.string().optional(), + integrationId: z.string(), + integrationConfigurationId: z.string(), +}); + +export function getDrainSource2ToJSON( + getDrainSource2: GetDrainSource2, +): string { + return JSON.stringify(GetDrainSource2$outboundSchema.parse(getDrainSource2)); +} +export function getDrainSource2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDrainSource2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainSource2' from JSON`, + ); +} + +/** @internal */ +export const GetDrainSourceKind$inboundSchema: z.ZodNativeEnum< + typeof GetDrainSourceKind +> = z.nativeEnum(GetDrainSourceKind); +/** @internal */ +export const GetDrainSourceKind$outboundSchema: z.ZodNativeEnum< + typeof GetDrainSourceKind +> = GetDrainSourceKind$inboundSchema; + +/** @internal */ +export const GetDrainSource1$inboundSchema: z.ZodType< + GetDrainSource1, + z.ZodTypeDef, + unknown +> = z.object({ + kind: GetDrainSourceKind$inboundSchema, +}); +/** @internal */ +export type GetDrainSource1$Outbound = { + kind: string; +}; + +/** @internal */ +export const GetDrainSource1$outboundSchema: z.ZodType< + GetDrainSource1$Outbound, + z.ZodTypeDef, + GetDrainSource1 +> = z.object({ + kind: GetDrainSourceKind$outboundSchema, +}); + +export function getDrainSource1ToJSON( + getDrainSource1: GetDrainSource1, +): string { + return JSON.stringify(GetDrainSource1$outboundSchema.parse(getDrainSource1)); +} +export function getDrainSource1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDrainSource1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainSource1' from JSON`, + ); +} + +/** @internal */ +export const GetDrainResponseBodySource$inboundSchema: z.ZodType< + GetDrainResponseBodySource, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => GetDrainSource2$inboundSchema), + z.lazy(() => GetDrainSource1$inboundSchema), +]); +/** @internal */ +export type GetDrainResponseBodySource$Outbound = + | GetDrainSource2$Outbound + | GetDrainSource1$Outbound; + +/** @internal */ +export const GetDrainResponseBodySource$outboundSchema: z.ZodType< + GetDrainResponseBodySource$Outbound, + z.ZodTypeDef, + GetDrainResponseBodySource +> = z.union([ + z.lazy(() => GetDrainSource2$outboundSchema), + z.lazy(() => GetDrainSource1$outboundSchema), +]); + +export function getDrainResponseBodySourceToJSON( + getDrainResponseBodySource: GetDrainResponseBodySource, +): string { + return JSON.stringify( + GetDrainResponseBodySource$outboundSchema.parse(getDrainResponseBodySource), + ); +} +export function getDrainResponseBodySourceFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDrainResponseBodySource$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainResponseBodySource' from JSON`, + ); +} + +/** @internal */ +export const GetDrainFilterV2DrainsVersion$inboundSchema: z.ZodNativeEnum< + typeof GetDrainFilterV2DrainsVersion +> = z.nativeEnum(GetDrainFilterV2DrainsVersion); +/** @internal */ +export const GetDrainFilterV2DrainsVersion$outboundSchema: z.ZodNativeEnum< + typeof GetDrainFilterV2DrainsVersion +> = GetDrainFilterV2DrainsVersion$inboundSchema; + +/** @internal */ +export const GetDrainFilterDrainsType$inboundSchema: z.ZodNativeEnum< + typeof GetDrainFilterDrainsType +> = z.nativeEnum(GetDrainFilterDrainsType); +/** @internal */ +export const GetDrainFilterDrainsType$outboundSchema: z.ZodNativeEnum< + typeof GetDrainFilterDrainsType +> = GetDrainFilterDrainsType$inboundSchema; + +/** @internal */ +export const GetDrainFilter2$inboundSchema: z.ZodType< + GetDrainFilter2, + z.ZodTypeDef, + unknown +> = z.object({ + type: GetDrainFilterDrainsType$inboundSchema, + text: z.string(), +}); +/** @internal */ +export type GetDrainFilter2$Outbound = { + type: string; + text: string; +}; + +/** @internal */ +export const GetDrainFilter2$outboundSchema: z.ZodType< + GetDrainFilter2$Outbound, + z.ZodTypeDef, + GetDrainFilter2 +> = z.object({ + type: GetDrainFilterDrainsType$outboundSchema, + text: z.string(), +}); + +export function getDrainFilter2ToJSON( + getDrainFilter2: GetDrainFilter2, +): string { + return JSON.stringify(GetDrainFilter2$outboundSchema.parse(getDrainFilter2)); +} +export function getDrainFilter2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDrainFilter2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainFilter2' from JSON`, + ); +} + +/** @internal */ +export const GetDrainFilterType$inboundSchema: z.ZodNativeEnum< + typeof GetDrainFilterType +> = z.nativeEnum(GetDrainFilterType); +/** @internal */ +export const GetDrainFilterType$outboundSchema: z.ZodNativeEnum< + typeof GetDrainFilterType +> = GetDrainFilterType$inboundSchema; + +/** @internal */ +export const GetDrainFilterProject$inboundSchema: z.ZodType< + GetDrainFilterProject, + z.ZodTypeDef, + unknown +> = z.object({ + ids: z.array(z.string()).optional(), +}); +/** @internal */ +export type GetDrainFilterProject$Outbound = { + ids?: Array | undefined; +}; + +/** @internal */ +export const GetDrainFilterProject$outboundSchema: z.ZodType< + GetDrainFilterProject$Outbound, + z.ZodTypeDef, + GetDrainFilterProject +> = z.object({ + ids: z.array(z.string()).optional(), +}); + +export function getDrainFilterProjectToJSON( + getDrainFilterProject: GetDrainFilterProject, +): string { + return JSON.stringify( + GetDrainFilterProject$outboundSchema.parse(getDrainFilterProject), + ); +} +export function getDrainFilterProjectFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDrainFilterProject$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainFilterProject' from JSON`, + ); +} + +/** @internal */ +export const GetDrainFilterSources$inboundSchema: z.ZodNativeEnum< + typeof GetDrainFilterSources +> = z.nativeEnum(GetDrainFilterSources); +/** @internal */ +export const GetDrainFilterSources$outboundSchema: z.ZodNativeEnum< + typeof GetDrainFilterSources +> = GetDrainFilterSources$inboundSchema; + +/** @internal */ +export const GetDrainFilterLog$inboundSchema: z.ZodType< + GetDrainFilterLog, + z.ZodTypeDef, + unknown +> = z.object({ + sources: z.array(GetDrainFilterSources$inboundSchema).optional(), + legacy_excludeCachedStaticAssetLogs: z.boolean().optional(), +}).transform((v) => { + return remap$(v, { + "legacy_excludeCachedStaticAssetLogs": "legacyExcludeCachedStaticAssetLogs", + }); +}); +/** @internal */ +export type GetDrainFilterLog$Outbound = { + sources?: Array | undefined; + legacy_excludeCachedStaticAssetLogs?: boolean | undefined; +}; + +/** @internal */ +export const GetDrainFilterLog$outboundSchema: z.ZodType< + GetDrainFilterLog$Outbound, + z.ZodTypeDef, + GetDrainFilterLog +> = z.object({ + sources: z.array(GetDrainFilterSources$outboundSchema).optional(), + legacyExcludeCachedStaticAssetLogs: z.boolean().optional(), +}).transform((v) => { + return remap$(v, { + legacyExcludeCachedStaticAssetLogs: "legacy_excludeCachedStaticAssetLogs", + }); +}); + +export function getDrainFilterLogToJSON( + getDrainFilterLog: GetDrainFilterLog, +): string { + return JSON.stringify( + GetDrainFilterLog$outboundSchema.parse(getDrainFilterLog), + ); +} +export function getDrainFilterLogFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDrainFilterLog$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainFilterLog' from JSON`, + ); +} + +/** @internal */ +export const GetDrainFilterEnvironments$inboundSchema: z.ZodNativeEnum< + typeof GetDrainFilterEnvironments +> = z.nativeEnum(GetDrainFilterEnvironments); +/** @internal */ +export const GetDrainFilterEnvironments$outboundSchema: z.ZodNativeEnum< + typeof GetDrainFilterEnvironments +> = GetDrainFilterEnvironments$inboundSchema; + +/** @internal */ +export const GetDrainFilterDeployment$inboundSchema: z.ZodType< + GetDrainFilterDeployment, + z.ZodTypeDef, + unknown +> = z.object({ + environments: z.array(GetDrainFilterEnvironments$inboundSchema).optional(), +}); +/** @internal */ +export type GetDrainFilterDeployment$Outbound = { + environments?: Array | undefined; +}; + +/** @internal */ +export const GetDrainFilterDeployment$outboundSchema: z.ZodType< + GetDrainFilterDeployment$Outbound, + z.ZodTypeDef, + GetDrainFilterDeployment +> = z.object({ + environments: z.array(GetDrainFilterEnvironments$outboundSchema).optional(), +}); + +export function getDrainFilterDeploymentToJSON( + getDrainFilterDeployment: GetDrainFilterDeployment, +): string { + return JSON.stringify( + GetDrainFilterDeployment$outboundSchema.parse(getDrainFilterDeployment), + ); +} +export function getDrainFilterDeploymentFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDrainFilterDeployment$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainFilterDeployment' from JSON`, + ); +} + +/** @internal */ +export const GetDrainFilter1$inboundSchema: z.ZodType< + GetDrainFilter1, + z.ZodTypeDef, + unknown +> = z.object({ + type: GetDrainFilterType$inboundSchema, + project: z.lazy(() => GetDrainFilterProject$inboundSchema).optional(), + log: z.lazy(() => GetDrainFilterLog$inboundSchema).optional(), + deployment: z.lazy(() => GetDrainFilterDeployment$inboundSchema).optional(), +}); +/** @internal */ +export type GetDrainFilter1$Outbound = { + type: string; + project?: GetDrainFilterProject$Outbound | undefined; + log?: GetDrainFilterLog$Outbound | undefined; + deployment?: GetDrainFilterDeployment$Outbound | undefined; +}; + +/** @internal */ +export const GetDrainFilter1$outboundSchema: z.ZodType< + GetDrainFilter1$Outbound, + z.ZodTypeDef, + GetDrainFilter1 +> = z.object({ + type: GetDrainFilterType$outboundSchema, + project: z.lazy(() => GetDrainFilterProject$outboundSchema).optional(), + log: z.lazy(() => GetDrainFilterLog$outboundSchema).optional(), + deployment: z.lazy(() => GetDrainFilterDeployment$outboundSchema).optional(), +}); + +export function getDrainFilter1ToJSON( + getDrainFilter1: GetDrainFilter1, +): string { + return JSON.stringify(GetDrainFilter1$outboundSchema.parse(getDrainFilter1)); +} +export function getDrainFilter1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDrainFilter1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainFilter1' from JSON`, + ); +} + +/** @internal */ +export const GetDrainFilterV2Filter$inboundSchema: z.ZodType< + GetDrainFilterV2Filter, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => GetDrainFilter2$inboundSchema), + z.lazy(() => GetDrainFilter1$inboundSchema), +]); +/** @internal */ +export type GetDrainFilterV2Filter$Outbound = + | GetDrainFilter2$Outbound + | GetDrainFilter1$Outbound; + +/** @internal */ +export const GetDrainFilterV2Filter$outboundSchema: z.ZodType< + GetDrainFilterV2Filter$Outbound, + z.ZodTypeDef, + GetDrainFilterV2Filter +> = z.union([ + z.lazy(() => GetDrainFilter2$outboundSchema), + z.lazy(() => GetDrainFilter1$outboundSchema), +]); + +export function getDrainFilterV2FilterToJSON( + getDrainFilterV2Filter: GetDrainFilterV2Filter, +): string { + return JSON.stringify( + GetDrainFilterV2Filter$outboundSchema.parse(getDrainFilterV2Filter), + ); +} +export function getDrainFilterV2FilterFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDrainFilterV2Filter$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainFilterV2Filter' from JSON`, + ); +} + +/** @internal */ +export const GetDrainFilterV22$inboundSchema: z.ZodType< + GetDrainFilterV22, + z.ZodTypeDef, + unknown +> = z.object({ + version: GetDrainFilterV2DrainsVersion$inboundSchema, + filter: z.union([ + z.lazy(() => GetDrainFilter2$inboundSchema), + z.lazy(() => GetDrainFilter1$inboundSchema), + ]), +}); +/** @internal */ +export type GetDrainFilterV22$Outbound = { + version: string; + filter: GetDrainFilter2$Outbound | GetDrainFilter1$Outbound; +}; + +/** @internal */ +export const GetDrainFilterV22$outboundSchema: z.ZodType< + GetDrainFilterV22$Outbound, + z.ZodTypeDef, + GetDrainFilterV22 +> = z.object({ + version: GetDrainFilterV2DrainsVersion$outboundSchema, + filter: z.union([ + z.lazy(() => GetDrainFilter2$outboundSchema), + z.lazy(() => GetDrainFilter1$outboundSchema), + ]), +}); + +export function getDrainFilterV22ToJSON( + getDrainFilterV22: GetDrainFilterV22, +): string { + return JSON.stringify( + GetDrainFilterV22$outboundSchema.parse(getDrainFilterV22), + ); +} +export function getDrainFilterV22FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDrainFilterV22$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainFilterV22' from JSON`, + ); +} + +/** @internal */ +export const GetDrainFilterV2Version$inboundSchema: z.ZodNativeEnum< + typeof GetDrainFilterV2Version +> = z.nativeEnum(GetDrainFilterV2Version); +/** @internal */ +export const GetDrainFilterV2Version$outboundSchema: z.ZodNativeEnum< + typeof GetDrainFilterV2Version +> = GetDrainFilterV2Version$inboundSchema; + +/** @internal */ +export const GetDrainFilterV21$inboundSchema: z.ZodType< + GetDrainFilterV21, + z.ZodTypeDef, + unknown +> = z.object({ + version: GetDrainFilterV2Version$inboundSchema, +}); +/** @internal */ +export type GetDrainFilterV21$Outbound = { + version: string; +}; + +/** @internal */ +export const GetDrainFilterV21$outboundSchema: z.ZodType< + GetDrainFilterV21$Outbound, + z.ZodTypeDef, + GetDrainFilterV21 +> = z.object({ + version: GetDrainFilterV2Version$outboundSchema, +}); + +export function getDrainFilterV21ToJSON( + getDrainFilterV21: GetDrainFilterV21, +): string { + return JSON.stringify( + GetDrainFilterV21$outboundSchema.parse(getDrainFilterV21), + ); +} +export function getDrainFilterV21FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDrainFilterV21$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainFilterV21' from JSON`, + ); +} + +/** @internal */ +export const GetDrainResponseBodyFilterV2$inboundSchema: z.ZodType< + GetDrainResponseBodyFilterV2, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => GetDrainFilterV22$inboundSchema), + z.lazy(() => GetDrainFilterV21$inboundSchema), +]); +/** @internal */ +export type GetDrainResponseBodyFilterV2$Outbound = + | GetDrainFilterV22$Outbound + | GetDrainFilterV21$Outbound; + +/** @internal */ +export const GetDrainResponseBodyFilterV2$outboundSchema: z.ZodType< + GetDrainResponseBodyFilterV2$Outbound, + z.ZodTypeDef, + GetDrainResponseBodyFilterV2 +> = z.union([ + z.lazy(() => GetDrainFilterV22$outboundSchema), + z.lazy(() => GetDrainFilterV21$outboundSchema), +]); + +export function getDrainResponseBodyFilterV2ToJSON( + getDrainResponseBodyFilterV2: GetDrainResponseBodyFilterV2, +): string { + return JSON.stringify( + GetDrainResponseBodyFilterV2$outboundSchema.parse( + getDrainResponseBodyFilterV2, + ), + ); +} +export function getDrainResponseBodyFilterV2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDrainResponseBodyFilterV2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainResponseBodyFilterV2' from JSON`, + ); +} + +/** @internal */ +export const GetDrainResponseBody1$inboundSchema: z.ZodType< + GetDrainResponseBody1, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + ownerId: z.string(), + name: z.string(), + createdAt: z.number(), + createdFrom: GetDrainResponseBodyCreatedFrom$inboundSchema.optional(), + updatedAt: z.number(), + projectIds: z.array(z.string()).optional(), + schemas: z.lazy(() => GetDrainResponseBodySchemas$inboundSchema).optional(), + delivery: z.union([ + z.lazy(() => GetDrainDelivery1$inboundSchema), + z.lazy(() => GetDrainDelivery2$inboundSchema), + z.lazy(() => GetDrainDelivery3$inboundSchema), + z.lazy(() => GetDrainDelivery4$inboundSchema), + ]).optional(), + sampling: z.array(z.lazy(() => GetDrainResponseBodySampling$inboundSchema)) + .optional(), + teamId: z.nullable(z.string()).optional(), + status: GetDrainResponseBodyStatus$inboundSchema.optional(), + disabledAt: z.number().optional(), + disabledReason: GetDrainResponseBodyDisabledReason$inboundSchema.optional(), + disabledBy: z.string().optional(), + firstErrorTimestamp: z.number().optional(), + configurationId: z.string().optional(), + clientId: z.string().optional(), + source: z.union([ + z.lazy(() => GetDrainSource2$inboundSchema), + z.lazy(() => GetDrainSource1$inboundSchema), + ]), + filter: z.string().optional(), + filterV2: z.union([ + z.lazy(() => GetDrainFilterV22$inboundSchema), + z.lazy(() => GetDrainFilterV21$inboundSchema), + ]).optional(), +}); +/** @internal */ +export type GetDrainResponseBody1$Outbound = { + id: string; + ownerId: string; + name: string; + createdAt: number; + createdFrom?: string | undefined; + updatedAt: number; + projectIds?: Array | undefined; + schemas?: GetDrainResponseBodySchemas$Outbound | undefined; + delivery?: + | GetDrainDelivery1$Outbound + | GetDrainDelivery2$Outbound + | GetDrainDelivery3$Outbound + | GetDrainDelivery4$Outbound + | undefined; + sampling?: Array | undefined; + teamId?: string | null | undefined; + status?: string | undefined; + disabledAt?: number | undefined; + disabledReason?: string | undefined; + disabledBy?: string | undefined; + firstErrorTimestamp?: number | undefined; + configurationId?: string | undefined; + clientId?: string | undefined; + source: GetDrainSource2$Outbound | GetDrainSource1$Outbound; + filter?: string | undefined; + filterV2?: + | GetDrainFilterV22$Outbound + | GetDrainFilterV21$Outbound + | undefined; +}; + +/** @internal */ +export const GetDrainResponseBody1$outboundSchema: z.ZodType< + GetDrainResponseBody1$Outbound, + z.ZodTypeDef, + GetDrainResponseBody1 +> = z.object({ + id: z.string(), + ownerId: z.string(), + name: z.string(), + createdAt: z.number(), + createdFrom: GetDrainResponseBodyCreatedFrom$outboundSchema.optional(), + updatedAt: z.number(), + projectIds: z.array(z.string()).optional(), + schemas: z.lazy(() => GetDrainResponseBodySchemas$outboundSchema).optional(), + delivery: z.union([ + z.lazy(() => GetDrainDelivery1$outboundSchema), + z.lazy(() => GetDrainDelivery2$outboundSchema), + z.lazy(() => GetDrainDelivery3$outboundSchema), + z.lazy(() => GetDrainDelivery4$outboundSchema), + ]).optional(), + sampling: z.array(z.lazy(() => GetDrainResponseBodySampling$outboundSchema)) + .optional(), + teamId: z.nullable(z.string()).optional(), + status: GetDrainResponseBodyStatus$outboundSchema.optional(), + disabledAt: z.number().optional(), + disabledReason: GetDrainResponseBodyDisabledReason$outboundSchema.optional(), + disabledBy: z.string().optional(), + firstErrorTimestamp: z.number().optional(), + configurationId: z.string().optional(), + clientId: z.string().optional(), + source: z.union([ + z.lazy(() => GetDrainSource2$outboundSchema), + z.lazy(() => GetDrainSource1$outboundSchema), + ]), + filter: z.string().optional(), + filterV2: z.union([ + z.lazy(() => GetDrainFilterV22$outboundSchema), + z.lazy(() => GetDrainFilterV21$outboundSchema), + ]).optional(), +}); + +export function getDrainResponseBody1ToJSON( + getDrainResponseBody1: GetDrainResponseBody1, +): string { + return JSON.stringify( + GetDrainResponseBody1$outboundSchema.parse(getDrainResponseBody1), + ); +} +export function getDrainResponseBody1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDrainResponseBody1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainResponseBody1' from JSON`, + ); +} + +/** @internal */ +export const GetDrainResponseBody$inboundSchema: z.ZodType< + GetDrainResponseBody, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => GetDrainResponseBody1$inboundSchema), + z.lazy(() => GetDrainResponseBody2$inboundSchema), +]); +/** @internal */ +export type GetDrainResponseBody$Outbound = + | GetDrainResponseBody1$Outbound + | GetDrainResponseBody2$Outbound; + +/** @internal */ +export const GetDrainResponseBody$outboundSchema: z.ZodType< + GetDrainResponseBody$Outbound, + z.ZodTypeDef, + GetDrainResponseBody +> = z.union([ + z.lazy(() => GetDrainResponseBody1$outboundSchema), + z.lazy(() => GetDrainResponseBody2$outboundSchema), +]); + +export function getDrainResponseBodyToJSON( + getDrainResponseBody: GetDrainResponseBody, +): string { + return JSON.stringify( + GetDrainResponseBody$outboundSchema.parse(getDrainResponseBody), + ); +} +export function getDrainResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDrainResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainResponseBody' from JSON`, + ); +} diff --git a/src/models/getdrainsop.ts b/src/models/getdrainsop.ts new file mode 100644 index 000000000..ebcf709fa --- /dev/null +++ b/src/models/getdrainsop.ts @@ -0,0 +1,3592 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +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 GetDrainsRequest = { + projectId?: string | undefined; + includeMetadata?: 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 const GetDrainsDrainsCreatedFrom = { + SelfServed: "self-served", + Integration: "integration", +} as const; +export type GetDrainsDrainsCreatedFrom = ClosedEnum< + typeof GetDrainsDrainsCreatedFrom +>; + +export type GetDrainsDrainsLog = {}; + +export type GetDrainsDrainsTrace = {}; + +export type GetDrainsDrainsAnalytics = {}; + +export type GetDrainsDrainsSpeedInsights = {}; + +export type GetDrainsDrainsSchemas = { + log?: GetDrainsDrainsLog | undefined; + trace?: GetDrainsDrainsTrace | undefined; + analytics?: GetDrainsDrainsAnalytics | undefined; + speedInsights?: GetDrainsDrainsSpeedInsights | undefined; +}; + +export const GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyDrains2Type = + { + Internal: "internal", + } as const; +export type GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyDrains2Type = + ClosedEnum< + typeof GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyDrains2Type + >; + +export const GetDrainsDeliveryDrainsTarget = { + VercelOtelTracesDb: "vercel-otel-traces-db", +} as const; +export type GetDrainsDeliveryDrainsTarget = ClosedEnum< + typeof GetDrainsDeliveryDrainsTarget +>; + +export type GetDrainsDeliveryDrains4 = { + type: + GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyDrains2Type; + target: GetDrainsDeliveryDrainsTarget; +}; + +export const GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyDrainsType = + { + Clickhouse: "clickhouse", + } as const; +export type GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyDrainsType = + ClosedEnum< + typeof GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyDrainsType + >; + +export type GetDrainsDeliveryDrains3 = { + type: GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyDrainsType; + endpoint: string; + table: string; +}; + +export const GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyType = + { + Otlphttp: "otlphttp", + } as const; +export type GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyType = + ClosedEnum< + typeof GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyType + >; + +export type GetDrainsDeliveryDrainsEndpoint = { + traces: string; +}; + +export const GetDrainsDeliveryDrainsResponse200Encoding = { + Json: "json", + Proto: "proto", +} as const; +export type GetDrainsDeliveryDrainsResponse200Encoding = ClosedEnum< + typeof GetDrainsDeliveryDrainsResponse200Encoding +>; + +export type GetDrainsDeliveryDrains2 = { + type: GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyType; + endpoint: GetDrainsDeliveryDrainsEndpoint; + encoding: GetDrainsDeliveryDrainsResponse200Encoding; + headers: { [k: string]: string }; + secret?: string | undefined; +}; + +export const GetDrainsDeliveryDrainsResponse200ApplicationJSONType = { + Http: "http", +} as const; +export type GetDrainsDeliveryDrainsResponse200ApplicationJSONType = ClosedEnum< + typeof GetDrainsDeliveryDrainsResponse200ApplicationJSONType +>; + +export const GetDrainsDeliveryDrainsResponseEncoding = { + Json: "json", + Ndjson: "ndjson", +} as const; +export type GetDrainsDeliveryDrainsResponseEncoding = ClosedEnum< + typeof GetDrainsDeliveryDrainsResponseEncoding +>; + +export const GetDrainsDeliveryDrainsCompression = { + Gzip: "gzip", + None: "none", +} as const; +export type GetDrainsDeliveryDrainsCompression = ClosedEnum< + typeof GetDrainsDeliveryDrainsCompression +>; + +export type GetDrainsDeliveryDrains1 = { + type: GetDrainsDeliveryDrainsResponse200ApplicationJSONType; + endpoint: string; + encoding: GetDrainsDeliveryDrainsResponseEncoding; + compression?: GetDrainsDeliveryDrainsCompression | undefined; + headers: { [k: string]: string }; + secret?: string | undefined; +}; + +export type GetDrainsDrainsDelivery = + | GetDrainsDeliveryDrains1 + | GetDrainsDeliveryDrains2 + | GetDrainsDeliveryDrains3 + | GetDrainsDeliveryDrains4; + +export const GetDrainsDrainsType = { + HeadSampling: "head_sampling", +} as const; +export type GetDrainsDrainsType = ClosedEnum; + +export const GetDrainsDrainsEnv = { + Production: "production", + Preview: "preview", +} as const; +export type GetDrainsDrainsEnv = ClosedEnum; + +export type GetDrainsDrainsSampling = { + type: GetDrainsDrainsType; + rate: number; + env?: GetDrainsDrainsEnv | undefined; + requestPath?: string | undefined; +}; + +export const GetDrainsDrainsStatus = { + Enabled: "enabled", + Disabled: "disabled", + Errored: "errored", +} as const; +export type GetDrainsDrainsStatus = ClosedEnum; + +export const GetDrainsDrainsDisabledReason = { + DisabledByOwner: "disabled-by-owner", + FeatureNotAvailable: "feature-not-available", + AccountPlanDowngrade: "account-plan-downgrade", + DisabledByAdmin: "disabled-by-admin", +} as const; +export type GetDrainsDrainsDisabledReason = ClosedEnum< + typeof GetDrainsDrainsDisabledReason +>; + +export const GetDrainsSourceDrainsResponse200Kind = { + Integration: "integration", +} as const; +export type GetDrainsSourceDrainsResponse200Kind = ClosedEnum< + typeof GetDrainsSourceDrainsResponse200Kind +>; + +export type GetDrainsSourceDrains2 = { + kind: GetDrainsSourceDrainsResponse200Kind; + resourceId?: string | undefined; + externalResourceId?: string | undefined; + integrationId: string; + integrationConfigurationId: string; +}; + +export const GetDrainsSourceDrainsResponseKind = { + SelfServed: "self-served", +} as const; +export type GetDrainsSourceDrainsResponseKind = ClosedEnum< + typeof GetDrainsSourceDrainsResponseKind +>; + +export type GetDrainsSourceDrains1 = { + kind: GetDrainsSourceDrainsResponseKind; +}; + +export type GetDrainsDrainsSource = + | GetDrainsSourceDrains2 + | GetDrainsSourceDrains1; + +export const GetDrainsFilterV2DrainsResponse200Version = { + V2: "v2", +} as const; +export type GetDrainsFilterV2DrainsResponse200Version = ClosedEnum< + typeof GetDrainsFilterV2DrainsResponse200Version +>; + +export const GetDrainsFilterDrainsResponse200Type = { + Odata: "odata", +} as const; +export type GetDrainsFilterDrainsResponse200Type = ClosedEnum< + typeof GetDrainsFilterDrainsResponse200Type +>; + +export type GetDrainsFilterDrains2 = { + type: GetDrainsFilterDrainsResponse200Type; + text: string; +}; + +export const GetDrainsFilterDrainsResponseType = { + Basic: "basic", +} as const; +export type GetDrainsFilterDrainsResponseType = ClosedEnum< + typeof GetDrainsFilterDrainsResponseType +>; + +export type GetDrainsFilterDrainsProject = { + ids?: Array | undefined; +}; + +export const GetDrainsFilterDrainsSources = { + Build: "build", + Edge: "edge", + Lambda: "lambda", + Static: "static", + External: "external", + Firewall: "firewall", + Redirect: "redirect", +} as const; +export type GetDrainsFilterDrainsSources = ClosedEnum< + typeof GetDrainsFilterDrainsSources +>; + +export type GetDrainsFilterDrainsLog = { + sources?: Array | undefined; + legacyExcludeCachedStaticAssetLogs?: boolean | undefined; +}; + +export const GetDrainsFilterDrainsEnvironments = { + Production: "production", + Preview: "preview", +} as const; +export type GetDrainsFilterDrainsEnvironments = ClosedEnum< + typeof GetDrainsFilterDrainsEnvironments +>; + +export type GetDrainsFilterDrainsDeployment = { + environments?: Array | undefined; +}; + +export type GetDrainsFilterDrains1 = { + type: GetDrainsFilterDrainsResponseType; + project?: GetDrainsFilterDrainsProject | undefined; + log?: GetDrainsFilterDrainsLog | undefined; + deployment?: GetDrainsFilterDrainsDeployment | undefined; +}; + +export type GetDrainsFilterV2DrainsFilter = + | GetDrainsFilterDrains2 + | GetDrainsFilterDrains1; + +export type GetDrainsFilterV2Drains2 = { + version: GetDrainsFilterV2DrainsResponse200Version; + filter: GetDrainsFilterDrains2 | GetDrainsFilterDrains1; +}; + +export const GetDrainsFilterV2DrainsResponseVersion = { + V1: "v1", +} as const; +export type GetDrainsFilterV2DrainsResponseVersion = ClosedEnum< + typeof GetDrainsFilterV2DrainsResponseVersion +>; + +export type GetDrainsFilterV2Drains1 = { + version: GetDrainsFilterV2DrainsResponseVersion; +}; + +export type GetDrainsDrainsFilterV2 = + | GetDrainsFilterV2Drains2 + | GetDrainsFilterV2Drains1; + +export const DrainsFramework = { + Blitzjs: "blitzjs", + Nextjs: "nextjs", + Gatsby: "gatsby", + Remix: "remix", + ReactRouter: "react-router", + 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", + TanstackStart: "tanstack-start", + Vitepress: "vitepress", + Vuepress: "vuepress", + Parcel: "parcel", + Fastapi: "fastapi", + Flask: "flask", + Fasthtml: "fasthtml", + SanityV3: "sanity-v3", + Sanity: "sanity", + Storybook: "storybook", + Nitro: "nitro", + Hono: "hono", + Express: "express", + H3: "h3", + Nestjs: "nestjs", + Elysia: "elysia", + Fastify: "fastify", + Xmcp: "xmcp", +} as const; +export type DrainsFramework = ClosedEnum; + +export type DrainsProjectsMetadata = { + id: string; + name: string; + framework?: DrainsFramework | null | undefined; + latestDeployment?: string | undefined; +}; + +export type Drains2 = { + id: string; + ownerId: string; + name: string; + createdAt: number; + createdFrom?: GetDrainsDrainsCreatedFrom | undefined; + updatedAt: number; + projectIds?: Array | undefined; + schemas?: GetDrainsDrainsSchemas | undefined; + delivery?: + | GetDrainsDeliveryDrains1 + | GetDrainsDeliveryDrains2 + | GetDrainsDeliveryDrains3 + | GetDrainsDeliveryDrains4 + | undefined; + sampling?: Array | undefined; + teamId?: string | null | undefined; + status?: GetDrainsDrainsStatus | undefined; + disabledAt?: number | undefined; + disabledReason?: GetDrainsDrainsDisabledReason | undefined; + disabledBy?: string | undefined; + firstErrorTimestamp?: number | undefined; + configurationId?: string | undefined; + clientId?: string | undefined; + source: GetDrainsSourceDrains2 | GetDrainsSourceDrains1; + filter?: string | undefined; + filterV2?: GetDrainsFilterV2Drains2 | GetDrainsFilterV2Drains1 | undefined; + integrationIcon?: string | undefined; + integrationConfigurationUri?: string | undefined; + integrationWebsite?: string | undefined; + projectsMetadata?: Array | undefined; +}; + +export const DrainsCreatedFrom = { + SelfServed: "self-served", + Integration: "integration", +} as const; +export type DrainsCreatedFrom = ClosedEnum; + +export type DrainsLog = {}; + +export type DrainsTrace = {}; + +export type DrainsAnalytics = {}; + +export type DrainsSpeedInsights = {}; + +export type DrainsSchemas = { + log?: DrainsLog | undefined; + trace?: DrainsTrace | undefined; + analytics?: DrainsAnalytics | undefined; + speedInsights?: DrainsSpeedInsights | undefined; +}; + +export const GetDrainsDeliveryDrainsResponse200Type = { + Internal: "internal", +} as const; +export type GetDrainsDeliveryDrainsResponse200Type = ClosedEnum< + typeof GetDrainsDeliveryDrainsResponse200Type +>; + +export const GetDrainsDeliveryTarget = { + VercelOtelTracesDb: "vercel-otel-traces-db", +} as const; +export type GetDrainsDeliveryTarget = ClosedEnum< + typeof GetDrainsDeliveryTarget +>; + +export type GetDrainsDelivery4 = { + type: GetDrainsDeliveryDrainsResponse200Type; + target: GetDrainsDeliveryTarget; +}; + +export const GetDrainsDeliveryDrainsResponseType = { + Clickhouse: "clickhouse", +} as const; +export type GetDrainsDeliveryDrainsResponseType = ClosedEnum< + typeof GetDrainsDeliveryDrainsResponseType +>; + +export type GetDrainsDelivery3 = { + type: GetDrainsDeliveryDrainsResponseType; + endpoint: string; + table: string; +}; + +export const GetDrainsDeliveryDrainsType = { + Otlphttp: "otlphttp", +} as const; +export type GetDrainsDeliveryDrainsType = ClosedEnum< + typeof GetDrainsDeliveryDrainsType +>; + +export type GetDrainsDeliveryEndpoint = { + traces: string; +}; + +export const GetDrainsDeliveryDrainsEncoding = { + Json: "json", + Proto: "proto", +} as const; +export type GetDrainsDeliveryDrainsEncoding = ClosedEnum< + typeof GetDrainsDeliveryDrainsEncoding +>; + +export type GetDrainsDelivery2 = { + type: GetDrainsDeliveryDrainsType; + endpoint: GetDrainsDeliveryEndpoint; + encoding: GetDrainsDeliveryDrainsEncoding; + headers: { [k: string]: string }; + secret?: string | undefined; +}; + +export const GetDrainsDeliveryType = { + Http: "http", +} as const; +export type GetDrainsDeliveryType = ClosedEnum; + +export const GetDrainsDeliveryEncoding = { + Json: "json", + Ndjson: "ndjson", +} as const; +export type GetDrainsDeliveryEncoding = ClosedEnum< + typeof GetDrainsDeliveryEncoding +>; + +export const GetDrainsDeliveryCompression = { + Gzip: "gzip", + None: "none", +} as const; +export type GetDrainsDeliveryCompression = ClosedEnum< + typeof GetDrainsDeliveryCompression +>; + +export type GetDrainsDelivery1 = { + type: GetDrainsDeliveryType; + endpoint: string; + encoding: GetDrainsDeliveryEncoding; + compression?: GetDrainsDeliveryCompression | undefined; + headers: { [k: string]: string }; + secret?: string | undefined; +}; + +export type DrainsDelivery = + | GetDrainsDelivery1 + | GetDrainsDelivery2 + | GetDrainsDelivery3 + | GetDrainsDelivery4; + +export const DrainsType = { + HeadSampling: "head_sampling", +} as const; +export type DrainsType = ClosedEnum; + +export const DrainsEnv = { + Production: "production", + Preview: "preview", +} as const; +export type DrainsEnv = ClosedEnum; + +export type DrainsSampling = { + type: DrainsType; + rate: number; + env?: DrainsEnv | undefined; + requestPath?: string | undefined; +}; + +export const DrainsStatus = { + Enabled: "enabled", + Disabled: "disabled", + Errored: "errored", +} as const; +export type DrainsStatus = ClosedEnum; + +export const DrainsDisabledReason = { + DisabledByOwner: "disabled-by-owner", + FeatureNotAvailable: "feature-not-available", + AccountPlanDowngrade: "account-plan-downgrade", + DisabledByAdmin: "disabled-by-admin", +} as const; +export type DrainsDisabledReason = ClosedEnum; + +export const GetDrainsSourceDrainsKind = { + Integration: "integration", +} as const; +export type GetDrainsSourceDrainsKind = ClosedEnum< + typeof GetDrainsSourceDrainsKind +>; + +export type GetDrainsSource2 = { + kind: GetDrainsSourceDrainsKind; + resourceId?: string | undefined; + externalResourceId?: string | undefined; + integrationId: string; + integrationConfigurationId: string; +}; + +export const GetDrainsSourceKind = { + SelfServed: "self-served", +} as const; +export type GetDrainsSourceKind = ClosedEnum; + +export type GetDrainsSource1 = { + kind: GetDrainsSourceKind; +}; + +export type DrainsSource = GetDrainsSource2 | GetDrainsSource1; + +export const GetDrainsFilterV2DrainsVersion = { + V2: "v2", +} as const; +export type GetDrainsFilterV2DrainsVersion = ClosedEnum< + typeof GetDrainsFilterV2DrainsVersion +>; + +export const GetDrainsFilterDrainsType = { + Odata: "odata", +} as const; +export type GetDrainsFilterDrainsType = ClosedEnum< + typeof GetDrainsFilterDrainsType +>; + +export type GetDrainsFilter2 = { + type: GetDrainsFilterDrainsType; + text: string; +}; + +export const GetDrainsFilterType = { + Basic: "basic", +} as const; +export type GetDrainsFilterType = ClosedEnum; + +export type GetDrainsFilterProject = { + ids?: Array | undefined; +}; + +export const GetDrainsFilterSources = { + Build: "build", + Edge: "edge", + Lambda: "lambda", + Static: "static", + External: "external", + Firewall: "firewall", + Redirect: "redirect", +} as const; +export type GetDrainsFilterSources = ClosedEnum; + +export type GetDrainsFilterLog = { + sources?: Array | undefined; + legacyExcludeCachedStaticAssetLogs?: boolean | undefined; +}; + +export const GetDrainsFilterEnvironments = { + Production: "production", + Preview: "preview", +} as const; +export type GetDrainsFilterEnvironments = ClosedEnum< + typeof GetDrainsFilterEnvironments +>; + +export type GetDrainsFilterDeployment = { + environments?: Array | undefined; +}; + +export type GetDrainsFilter1 = { + type: GetDrainsFilterType; + project?: GetDrainsFilterProject | undefined; + log?: GetDrainsFilterLog | undefined; + deployment?: GetDrainsFilterDeployment | undefined; +}; + +export type GetDrainsFilterV2Filter = GetDrainsFilter2 | GetDrainsFilter1; + +export type GetDrainsFilterV22 = { + version: GetDrainsFilterV2DrainsVersion; + filter: GetDrainsFilter2 | GetDrainsFilter1; +}; + +export const GetDrainsFilterV2Version = { + V1: "v1", +} as const; +export type GetDrainsFilterV2Version = ClosedEnum< + typeof GetDrainsFilterV2Version +>; + +export type GetDrainsFilterV21 = { + version: GetDrainsFilterV2Version; +}; + +export type DrainsFilterV2 = GetDrainsFilterV22 | GetDrainsFilterV21; + +export type Drains1 = { + id: string; + ownerId: string; + name: string; + createdAt: number; + createdFrom?: DrainsCreatedFrom | undefined; + updatedAt: number; + projectIds?: Array | undefined; + schemas?: DrainsSchemas | undefined; + delivery?: + | GetDrainsDelivery1 + | GetDrainsDelivery2 + | GetDrainsDelivery3 + | GetDrainsDelivery4 + | undefined; + sampling?: Array | undefined; + teamId?: string | null | undefined; + status?: DrainsStatus | undefined; + disabledAt?: number | undefined; + disabledReason?: DrainsDisabledReason | undefined; + disabledBy?: string | undefined; + firstErrorTimestamp?: number | undefined; + configurationId?: string | undefined; + clientId?: string | undefined; + source: GetDrainsSource2 | GetDrainsSource1; + filter?: string | undefined; + filterV2?: GetDrainsFilterV22 | GetDrainsFilterV21 | undefined; +}; + +export type Drains = Array | Array; + +export type GetDrainsResponseBody = { + drains: Array | Array; +}; + +/** @internal */ +export const GetDrainsRequest$inboundSchema: z.ZodType< + GetDrainsRequest, + z.ZodTypeDef, + unknown +> = z.object({ + projectId: z.string().optional(), + includeMetadata: z.boolean().default(false), + teamId: z.string().optional(), + slug: z.string().optional(), +}); +/** @internal */ +export type GetDrainsRequest$Outbound = { + projectId?: string | undefined; + includeMetadata: boolean; + teamId?: string | undefined; + slug?: string | undefined; +}; + +/** @internal */ +export const GetDrainsRequest$outboundSchema: z.ZodType< + GetDrainsRequest$Outbound, + z.ZodTypeDef, + GetDrainsRequest +> = z.object({ + projectId: z.string().optional(), + includeMetadata: z.boolean().default(false), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +export function getDrainsRequestToJSON( + getDrainsRequest: GetDrainsRequest, +): string { + return JSON.stringify( + GetDrainsRequest$outboundSchema.parse(getDrainsRequest), + ); +} +export function getDrainsRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDrainsRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainsRequest' from JSON`, + ); +} + +/** @internal */ +export const GetDrainsDrainsCreatedFrom$inboundSchema: z.ZodNativeEnum< + typeof GetDrainsDrainsCreatedFrom +> = z.nativeEnum(GetDrainsDrainsCreatedFrom); +/** @internal */ +export const GetDrainsDrainsCreatedFrom$outboundSchema: z.ZodNativeEnum< + typeof GetDrainsDrainsCreatedFrom +> = GetDrainsDrainsCreatedFrom$inboundSchema; + +/** @internal */ +export const GetDrainsDrainsLog$inboundSchema: z.ZodType< + GetDrainsDrainsLog, + z.ZodTypeDef, + unknown +> = z.object({}); +/** @internal */ +export type GetDrainsDrainsLog$Outbound = {}; + +/** @internal */ +export const GetDrainsDrainsLog$outboundSchema: z.ZodType< + GetDrainsDrainsLog$Outbound, + z.ZodTypeDef, + GetDrainsDrainsLog +> = z.object({}); + +export function getDrainsDrainsLogToJSON( + getDrainsDrainsLog: GetDrainsDrainsLog, +): string { + return JSON.stringify( + GetDrainsDrainsLog$outboundSchema.parse(getDrainsDrainsLog), + ); +} +export function getDrainsDrainsLogFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDrainsDrainsLog$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainsDrainsLog' from JSON`, + ); +} + +/** @internal */ +export const GetDrainsDrainsTrace$inboundSchema: z.ZodType< + GetDrainsDrainsTrace, + z.ZodTypeDef, + unknown +> = z.object({}); +/** @internal */ +export type GetDrainsDrainsTrace$Outbound = {}; + +/** @internal */ +export const GetDrainsDrainsTrace$outboundSchema: z.ZodType< + GetDrainsDrainsTrace$Outbound, + z.ZodTypeDef, + GetDrainsDrainsTrace +> = z.object({}); + +export function getDrainsDrainsTraceToJSON( + getDrainsDrainsTrace: GetDrainsDrainsTrace, +): string { + return JSON.stringify( + GetDrainsDrainsTrace$outboundSchema.parse(getDrainsDrainsTrace), + ); +} +export function getDrainsDrainsTraceFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDrainsDrainsTrace$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainsDrainsTrace' from JSON`, + ); +} + +/** @internal */ +export const GetDrainsDrainsAnalytics$inboundSchema: z.ZodType< + GetDrainsDrainsAnalytics, + z.ZodTypeDef, + unknown +> = z.object({}); +/** @internal */ +export type GetDrainsDrainsAnalytics$Outbound = {}; + +/** @internal */ +export const GetDrainsDrainsAnalytics$outboundSchema: z.ZodType< + GetDrainsDrainsAnalytics$Outbound, + z.ZodTypeDef, + GetDrainsDrainsAnalytics +> = z.object({}); + +export function getDrainsDrainsAnalyticsToJSON( + getDrainsDrainsAnalytics: GetDrainsDrainsAnalytics, +): string { + return JSON.stringify( + GetDrainsDrainsAnalytics$outboundSchema.parse(getDrainsDrainsAnalytics), + ); +} +export function getDrainsDrainsAnalyticsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDrainsDrainsAnalytics$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainsDrainsAnalytics' from JSON`, + ); +} + +/** @internal */ +export const GetDrainsDrainsSpeedInsights$inboundSchema: z.ZodType< + GetDrainsDrainsSpeedInsights, + z.ZodTypeDef, + unknown +> = z.object({}); +/** @internal */ +export type GetDrainsDrainsSpeedInsights$Outbound = {}; + +/** @internal */ +export const GetDrainsDrainsSpeedInsights$outboundSchema: z.ZodType< + GetDrainsDrainsSpeedInsights$Outbound, + z.ZodTypeDef, + GetDrainsDrainsSpeedInsights +> = z.object({}); + +export function getDrainsDrainsSpeedInsightsToJSON( + getDrainsDrainsSpeedInsights: GetDrainsDrainsSpeedInsights, +): string { + return JSON.stringify( + GetDrainsDrainsSpeedInsights$outboundSchema.parse( + getDrainsDrainsSpeedInsights, + ), + ); +} +export function getDrainsDrainsSpeedInsightsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDrainsDrainsSpeedInsights$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainsDrainsSpeedInsights' from JSON`, + ); +} + +/** @internal */ +export const GetDrainsDrainsSchemas$inboundSchema: z.ZodType< + GetDrainsDrainsSchemas, + z.ZodTypeDef, + unknown +> = z.object({ + log: z.lazy(() => GetDrainsDrainsLog$inboundSchema).optional(), + trace: z.lazy(() => GetDrainsDrainsTrace$inboundSchema).optional(), + analytics: z.lazy(() => GetDrainsDrainsAnalytics$inboundSchema).optional(), + speed_insights: z.lazy(() => GetDrainsDrainsSpeedInsights$inboundSchema) + .optional(), +}).transform((v) => { + return remap$(v, { + "speed_insights": "speedInsights", + }); +}); +/** @internal */ +export type GetDrainsDrainsSchemas$Outbound = { + log?: GetDrainsDrainsLog$Outbound | undefined; + trace?: GetDrainsDrainsTrace$Outbound | undefined; + analytics?: GetDrainsDrainsAnalytics$Outbound | undefined; + speed_insights?: GetDrainsDrainsSpeedInsights$Outbound | undefined; +}; + +/** @internal */ +export const GetDrainsDrainsSchemas$outboundSchema: z.ZodType< + GetDrainsDrainsSchemas$Outbound, + z.ZodTypeDef, + GetDrainsDrainsSchemas +> = z.object({ + log: z.lazy(() => GetDrainsDrainsLog$outboundSchema).optional(), + trace: z.lazy(() => GetDrainsDrainsTrace$outboundSchema).optional(), + analytics: z.lazy(() => GetDrainsDrainsAnalytics$outboundSchema).optional(), + speedInsights: z.lazy(() => GetDrainsDrainsSpeedInsights$outboundSchema) + .optional(), +}).transform((v) => { + return remap$(v, { + speedInsights: "speed_insights", + }); +}); + +export function getDrainsDrainsSchemasToJSON( + getDrainsDrainsSchemas: GetDrainsDrainsSchemas, +): string { + return JSON.stringify( + GetDrainsDrainsSchemas$outboundSchema.parse(getDrainsDrainsSchemas), + ); +} +export function getDrainsDrainsSchemasFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDrainsDrainsSchemas$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainsDrainsSchemas' from JSON`, + ); +} + +/** @internal */ +export const GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyDrains2Type$inboundSchema: + z.ZodNativeEnum< + typeof GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyDrains2Type + > = z.nativeEnum( + GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyDrains2Type, + ); +/** @internal */ +export const GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyDrains2Type$outboundSchema: + z.ZodNativeEnum< + typeof GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyDrains2Type + > = + GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyDrains2Type$inboundSchema; + +/** @internal */ +export const GetDrainsDeliveryDrainsTarget$inboundSchema: z.ZodNativeEnum< + typeof GetDrainsDeliveryDrainsTarget +> = z.nativeEnum(GetDrainsDeliveryDrainsTarget); +/** @internal */ +export const GetDrainsDeliveryDrainsTarget$outboundSchema: z.ZodNativeEnum< + typeof GetDrainsDeliveryDrainsTarget +> = GetDrainsDeliveryDrainsTarget$inboundSchema; + +/** @internal */ +export const GetDrainsDeliveryDrains4$inboundSchema: z.ZodType< + GetDrainsDeliveryDrains4, + z.ZodTypeDef, + unknown +> = z.object({ + type: + GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyDrains2Type$inboundSchema, + target: GetDrainsDeliveryDrainsTarget$inboundSchema, +}); +/** @internal */ +export type GetDrainsDeliveryDrains4$Outbound = { + type: string; + target: string; +}; + +/** @internal */ +export const GetDrainsDeliveryDrains4$outboundSchema: z.ZodType< + GetDrainsDeliveryDrains4$Outbound, + z.ZodTypeDef, + GetDrainsDeliveryDrains4 +> = z.object({ + type: + GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyDrains2Type$outboundSchema, + target: GetDrainsDeliveryDrainsTarget$outboundSchema, +}); + +export function getDrainsDeliveryDrains4ToJSON( + getDrainsDeliveryDrains4: GetDrainsDeliveryDrains4, +): string { + return JSON.stringify( + GetDrainsDeliveryDrains4$outboundSchema.parse(getDrainsDeliveryDrains4), + ); +} +export function getDrainsDeliveryDrains4FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDrainsDeliveryDrains4$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainsDeliveryDrains4' from JSON`, + ); +} + +/** @internal */ +export const GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyDrainsType$inboundSchema: + z.ZodNativeEnum< + typeof GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyDrainsType + > = z.nativeEnum( + GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyDrainsType, + ); +/** @internal */ +export const GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyDrainsType$outboundSchema: + z.ZodNativeEnum< + typeof GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyDrainsType + > = + GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyDrainsType$inboundSchema; + +/** @internal */ +export const GetDrainsDeliveryDrains3$inboundSchema: z.ZodType< + GetDrainsDeliveryDrains3, + z.ZodTypeDef, + unknown +> = z.object({ + type: + GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyDrainsType$inboundSchema, + endpoint: z.string(), + table: z.string(), +}); +/** @internal */ +export type GetDrainsDeliveryDrains3$Outbound = { + type: string; + endpoint: string; + table: string; +}; + +/** @internal */ +export const GetDrainsDeliveryDrains3$outboundSchema: z.ZodType< + GetDrainsDeliveryDrains3$Outbound, + z.ZodTypeDef, + GetDrainsDeliveryDrains3 +> = z.object({ + type: + GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyDrainsType$outboundSchema, + endpoint: z.string(), + table: z.string(), +}); + +export function getDrainsDeliveryDrains3ToJSON( + getDrainsDeliveryDrains3: GetDrainsDeliveryDrains3, +): string { + return JSON.stringify( + GetDrainsDeliveryDrains3$outboundSchema.parse(getDrainsDeliveryDrains3), + ); +} +export function getDrainsDeliveryDrains3FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDrainsDeliveryDrains3$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainsDeliveryDrains3' from JSON`, + ); +} + +/** @internal */ +export const GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyType$inboundSchema: + z.ZodNativeEnum< + typeof GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyType + > = z.nativeEnum( + GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyType, + ); +/** @internal */ +export const GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyType$outboundSchema: + z.ZodNativeEnum< + typeof GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyType + > = + GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyType$inboundSchema; + +/** @internal */ +export const GetDrainsDeliveryDrainsEndpoint$inboundSchema: z.ZodType< + GetDrainsDeliveryDrainsEndpoint, + z.ZodTypeDef, + unknown +> = z.object({ + traces: z.string(), +}); +/** @internal */ +export type GetDrainsDeliveryDrainsEndpoint$Outbound = { + traces: string; +}; + +/** @internal */ +export const GetDrainsDeliveryDrainsEndpoint$outboundSchema: z.ZodType< + GetDrainsDeliveryDrainsEndpoint$Outbound, + z.ZodTypeDef, + GetDrainsDeliveryDrainsEndpoint +> = z.object({ + traces: z.string(), +}); + +export function getDrainsDeliveryDrainsEndpointToJSON( + getDrainsDeliveryDrainsEndpoint: GetDrainsDeliveryDrainsEndpoint, +): string { + return JSON.stringify( + GetDrainsDeliveryDrainsEndpoint$outboundSchema.parse( + getDrainsDeliveryDrainsEndpoint, + ), + ); +} +export function getDrainsDeliveryDrainsEndpointFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDrainsDeliveryDrainsEndpoint$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainsDeliveryDrainsEndpoint' from JSON`, + ); +} + +/** @internal */ +export const GetDrainsDeliveryDrainsResponse200Encoding$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(GetDrainsDeliveryDrainsResponse200Encoding); +/** @internal */ +export const GetDrainsDeliveryDrainsResponse200Encoding$outboundSchema: + z.ZodNativeEnum = + GetDrainsDeliveryDrainsResponse200Encoding$inboundSchema; + +/** @internal */ +export const GetDrainsDeliveryDrains2$inboundSchema: z.ZodType< + GetDrainsDeliveryDrains2, + z.ZodTypeDef, + unknown +> = z.object({ + type: + GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyType$inboundSchema, + endpoint: z.lazy(() => GetDrainsDeliveryDrainsEndpoint$inboundSchema), + encoding: GetDrainsDeliveryDrainsResponse200Encoding$inboundSchema, + headers: z.record(z.string()), + secret: z.string().optional(), +}); +/** @internal */ +export type GetDrainsDeliveryDrains2$Outbound = { + type: string; + endpoint: GetDrainsDeliveryDrainsEndpoint$Outbound; + encoding: string; + headers: { [k: string]: string }; + secret?: string | undefined; +}; + +/** @internal */ +export const GetDrainsDeliveryDrains2$outboundSchema: z.ZodType< + GetDrainsDeliveryDrains2$Outbound, + z.ZodTypeDef, + GetDrainsDeliveryDrains2 +> = z.object({ + type: + GetDrainsDeliveryDrainsResponse200ApplicationJSONResponseBodyType$outboundSchema, + endpoint: z.lazy(() => GetDrainsDeliveryDrainsEndpoint$outboundSchema), + encoding: GetDrainsDeliveryDrainsResponse200Encoding$outboundSchema, + headers: z.record(z.string()), + secret: z.string().optional(), +}); + +export function getDrainsDeliveryDrains2ToJSON( + getDrainsDeliveryDrains2: GetDrainsDeliveryDrains2, +): string { + return JSON.stringify( + GetDrainsDeliveryDrains2$outboundSchema.parse(getDrainsDeliveryDrains2), + ); +} +export function getDrainsDeliveryDrains2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDrainsDeliveryDrains2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainsDeliveryDrains2' from JSON`, + ); +} + +/** @internal */ +export const GetDrainsDeliveryDrainsResponse200ApplicationJSONType$inboundSchema: + z.ZodNativeEnum< + typeof GetDrainsDeliveryDrainsResponse200ApplicationJSONType + > = z.nativeEnum(GetDrainsDeliveryDrainsResponse200ApplicationJSONType); +/** @internal */ +export const GetDrainsDeliveryDrainsResponse200ApplicationJSONType$outboundSchema: + z.ZodNativeEnum< + typeof GetDrainsDeliveryDrainsResponse200ApplicationJSONType + > = GetDrainsDeliveryDrainsResponse200ApplicationJSONType$inboundSchema; + +/** @internal */ +export const GetDrainsDeliveryDrainsResponseEncoding$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(GetDrainsDeliveryDrainsResponseEncoding); +/** @internal */ +export const GetDrainsDeliveryDrainsResponseEncoding$outboundSchema: + z.ZodNativeEnum = + GetDrainsDeliveryDrainsResponseEncoding$inboundSchema; + +/** @internal */ +export const GetDrainsDeliveryDrainsCompression$inboundSchema: z.ZodNativeEnum< + typeof GetDrainsDeliveryDrainsCompression +> = z.nativeEnum(GetDrainsDeliveryDrainsCompression); +/** @internal */ +export const GetDrainsDeliveryDrainsCompression$outboundSchema: z.ZodNativeEnum< + typeof GetDrainsDeliveryDrainsCompression +> = GetDrainsDeliveryDrainsCompression$inboundSchema; + +/** @internal */ +export const GetDrainsDeliveryDrains1$inboundSchema: z.ZodType< + GetDrainsDeliveryDrains1, + z.ZodTypeDef, + unknown +> = z.object({ + type: GetDrainsDeliveryDrainsResponse200ApplicationJSONType$inboundSchema, + endpoint: z.string(), + encoding: GetDrainsDeliveryDrainsResponseEncoding$inboundSchema, + compression: GetDrainsDeliveryDrainsCompression$inboundSchema.optional(), + headers: z.record(z.string()), + secret: z.string().optional(), +}); +/** @internal */ +export type GetDrainsDeliveryDrains1$Outbound = { + type: string; + endpoint: string; + encoding: string; + compression?: string | undefined; + headers: { [k: string]: string }; + secret?: string | undefined; +}; + +/** @internal */ +export const GetDrainsDeliveryDrains1$outboundSchema: z.ZodType< + GetDrainsDeliveryDrains1$Outbound, + z.ZodTypeDef, + GetDrainsDeliveryDrains1 +> = z.object({ + type: GetDrainsDeliveryDrainsResponse200ApplicationJSONType$outboundSchema, + endpoint: z.string(), + encoding: GetDrainsDeliveryDrainsResponseEncoding$outboundSchema, + compression: GetDrainsDeliveryDrainsCompression$outboundSchema.optional(), + headers: z.record(z.string()), + secret: z.string().optional(), +}); + +export function getDrainsDeliveryDrains1ToJSON( + getDrainsDeliveryDrains1: GetDrainsDeliveryDrains1, +): string { + return JSON.stringify( + GetDrainsDeliveryDrains1$outboundSchema.parse(getDrainsDeliveryDrains1), + ); +} +export function getDrainsDeliveryDrains1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDrainsDeliveryDrains1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainsDeliveryDrains1' from JSON`, + ); +} + +/** @internal */ +export const GetDrainsDrainsDelivery$inboundSchema: z.ZodType< + GetDrainsDrainsDelivery, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => GetDrainsDeliveryDrains1$inboundSchema), + z.lazy(() => GetDrainsDeliveryDrains2$inboundSchema), + z.lazy(() => GetDrainsDeliveryDrains3$inboundSchema), + z.lazy(() => GetDrainsDeliveryDrains4$inboundSchema), +]); +/** @internal */ +export type GetDrainsDrainsDelivery$Outbound = + | GetDrainsDeliveryDrains1$Outbound + | GetDrainsDeliveryDrains2$Outbound + | GetDrainsDeliveryDrains3$Outbound + | GetDrainsDeliveryDrains4$Outbound; + +/** @internal */ +export const GetDrainsDrainsDelivery$outboundSchema: z.ZodType< + GetDrainsDrainsDelivery$Outbound, + z.ZodTypeDef, + GetDrainsDrainsDelivery +> = z.union([ + z.lazy(() => GetDrainsDeliveryDrains1$outboundSchema), + z.lazy(() => GetDrainsDeliveryDrains2$outboundSchema), + z.lazy(() => GetDrainsDeliveryDrains3$outboundSchema), + z.lazy(() => GetDrainsDeliveryDrains4$outboundSchema), +]); + +export function getDrainsDrainsDeliveryToJSON( + getDrainsDrainsDelivery: GetDrainsDrainsDelivery, +): string { + return JSON.stringify( + GetDrainsDrainsDelivery$outboundSchema.parse(getDrainsDrainsDelivery), + ); +} +export function getDrainsDrainsDeliveryFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDrainsDrainsDelivery$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainsDrainsDelivery' from JSON`, + ); +} + +/** @internal */ +export const GetDrainsDrainsType$inboundSchema: z.ZodNativeEnum< + typeof GetDrainsDrainsType +> = z.nativeEnum(GetDrainsDrainsType); +/** @internal */ +export const GetDrainsDrainsType$outboundSchema: z.ZodNativeEnum< + typeof GetDrainsDrainsType +> = GetDrainsDrainsType$inboundSchema; + +/** @internal */ +export const GetDrainsDrainsEnv$inboundSchema: z.ZodNativeEnum< + typeof GetDrainsDrainsEnv +> = z.nativeEnum(GetDrainsDrainsEnv); +/** @internal */ +export const GetDrainsDrainsEnv$outboundSchema: z.ZodNativeEnum< + typeof GetDrainsDrainsEnv +> = GetDrainsDrainsEnv$inboundSchema; + +/** @internal */ +export const GetDrainsDrainsSampling$inboundSchema: z.ZodType< + GetDrainsDrainsSampling, + z.ZodTypeDef, + unknown +> = z.object({ + type: GetDrainsDrainsType$inboundSchema, + rate: z.number(), + env: GetDrainsDrainsEnv$inboundSchema.optional(), + requestPath: z.string().optional(), +}); +/** @internal */ +export type GetDrainsDrainsSampling$Outbound = { + type: string; + rate: number; + env?: string | undefined; + requestPath?: string | undefined; +}; + +/** @internal */ +export const GetDrainsDrainsSampling$outboundSchema: z.ZodType< + GetDrainsDrainsSampling$Outbound, + z.ZodTypeDef, + GetDrainsDrainsSampling +> = z.object({ + type: GetDrainsDrainsType$outboundSchema, + rate: z.number(), + env: GetDrainsDrainsEnv$outboundSchema.optional(), + requestPath: z.string().optional(), +}); + +export function getDrainsDrainsSamplingToJSON( + getDrainsDrainsSampling: GetDrainsDrainsSampling, +): string { + return JSON.stringify( + GetDrainsDrainsSampling$outboundSchema.parse(getDrainsDrainsSampling), + ); +} +export function getDrainsDrainsSamplingFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDrainsDrainsSampling$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainsDrainsSampling' from JSON`, + ); +} + +/** @internal */ +export const GetDrainsDrainsStatus$inboundSchema: z.ZodNativeEnum< + typeof GetDrainsDrainsStatus +> = z.nativeEnum(GetDrainsDrainsStatus); +/** @internal */ +export const GetDrainsDrainsStatus$outboundSchema: z.ZodNativeEnum< + typeof GetDrainsDrainsStatus +> = GetDrainsDrainsStatus$inboundSchema; + +/** @internal */ +export const GetDrainsDrainsDisabledReason$inboundSchema: z.ZodNativeEnum< + typeof GetDrainsDrainsDisabledReason +> = z.nativeEnum(GetDrainsDrainsDisabledReason); +/** @internal */ +export const GetDrainsDrainsDisabledReason$outboundSchema: z.ZodNativeEnum< + typeof GetDrainsDrainsDisabledReason +> = GetDrainsDrainsDisabledReason$inboundSchema; + +/** @internal */ +export const GetDrainsSourceDrainsResponse200Kind$inboundSchema: + z.ZodNativeEnum = z.nativeEnum( + GetDrainsSourceDrainsResponse200Kind, + ); +/** @internal */ +export const GetDrainsSourceDrainsResponse200Kind$outboundSchema: + z.ZodNativeEnum = + GetDrainsSourceDrainsResponse200Kind$inboundSchema; + +/** @internal */ +export const GetDrainsSourceDrains2$inboundSchema: z.ZodType< + GetDrainsSourceDrains2, + z.ZodTypeDef, + unknown +> = z.object({ + kind: GetDrainsSourceDrainsResponse200Kind$inboundSchema, + resourceId: z.string().optional(), + externalResourceId: z.string().optional(), + integrationId: z.string(), + integrationConfigurationId: z.string(), +}); +/** @internal */ +export type GetDrainsSourceDrains2$Outbound = { + kind: string; + resourceId?: string | undefined; + externalResourceId?: string | undefined; + integrationId: string; + integrationConfigurationId: string; +}; + +/** @internal */ +export const GetDrainsSourceDrains2$outboundSchema: z.ZodType< + GetDrainsSourceDrains2$Outbound, + z.ZodTypeDef, + GetDrainsSourceDrains2 +> = z.object({ + kind: GetDrainsSourceDrainsResponse200Kind$outboundSchema, + resourceId: z.string().optional(), + externalResourceId: z.string().optional(), + integrationId: z.string(), + integrationConfigurationId: z.string(), +}); + +export function getDrainsSourceDrains2ToJSON( + getDrainsSourceDrains2: GetDrainsSourceDrains2, +): string { + return JSON.stringify( + GetDrainsSourceDrains2$outboundSchema.parse(getDrainsSourceDrains2), + ); +} +export function getDrainsSourceDrains2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDrainsSourceDrains2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainsSourceDrains2' from JSON`, + ); +} + +/** @internal */ +export const GetDrainsSourceDrainsResponseKind$inboundSchema: z.ZodNativeEnum< + typeof GetDrainsSourceDrainsResponseKind +> = z.nativeEnum(GetDrainsSourceDrainsResponseKind); +/** @internal */ +export const GetDrainsSourceDrainsResponseKind$outboundSchema: z.ZodNativeEnum< + typeof GetDrainsSourceDrainsResponseKind +> = GetDrainsSourceDrainsResponseKind$inboundSchema; + +/** @internal */ +export const GetDrainsSourceDrains1$inboundSchema: z.ZodType< + GetDrainsSourceDrains1, + z.ZodTypeDef, + unknown +> = z.object({ + kind: GetDrainsSourceDrainsResponseKind$inboundSchema, +}); +/** @internal */ +export type GetDrainsSourceDrains1$Outbound = { + kind: string; +}; + +/** @internal */ +export const GetDrainsSourceDrains1$outboundSchema: z.ZodType< + GetDrainsSourceDrains1$Outbound, + z.ZodTypeDef, + GetDrainsSourceDrains1 +> = z.object({ + kind: GetDrainsSourceDrainsResponseKind$outboundSchema, +}); + +export function getDrainsSourceDrains1ToJSON( + getDrainsSourceDrains1: GetDrainsSourceDrains1, +): string { + return JSON.stringify( + GetDrainsSourceDrains1$outboundSchema.parse(getDrainsSourceDrains1), + ); +} +export function getDrainsSourceDrains1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDrainsSourceDrains1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainsSourceDrains1' from JSON`, + ); +} + +/** @internal */ +export const GetDrainsDrainsSource$inboundSchema: z.ZodType< + GetDrainsDrainsSource, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => GetDrainsSourceDrains2$inboundSchema), + z.lazy(() => GetDrainsSourceDrains1$inboundSchema), +]); +/** @internal */ +export type GetDrainsDrainsSource$Outbound = + | GetDrainsSourceDrains2$Outbound + | GetDrainsSourceDrains1$Outbound; + +/** @internal */ +export const GetDrainsDrainsSource$outboundSchema: z.ZodType< + GetDrainsDrainsSource$Outbound, + z.ZodTypeDef, + GetDrainsDrainsSource +> = z.union([ + z.lazy(() => GetDrainsSourceDrains2$outboundSchema), + z.lazy(() => GetDrainsSourceDrains1$outboundSchema), +]); + +export function getDrainsDrainsSourceToJSON( + getDrainsDrainsSource: GetDrainsDrainsSource, +): string { + return JSON.stringify( + GetDrainsDrainsSource$outboundSchema.parse(getDrainsDrainsSource), + ); +} +export function getDrainsDrainsSourceFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDrainsDrainsSource$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainsDrainsSource' from JSON`, + ); +} + +/** @internal */ +export const GetDrainsFilterV2DrainsResponse200Version$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(GetDrainsFilterV2DrainsResponse200Version); +/** @internal */ +export const GetDrainsFilterV2DrainsResponse200Version$outboundSchema: + z.ZodNativeEnum = + GetDrainsFilterV2DrainsResponse200Version$inboundSchema; + +/** @internal */ +export const GetDrainsFilterDrainsResponse200Type$inboundSchema: + z.ZodNativeEnum = z.nativeEnum( + GetDrainsFilterDrainsResponse200Type, + ); +/** @internal */ +export const GetDrainsFilterDrainsResponse200Type$outboundSchema: + z.ZodNativeEnum = + GetDrainsFilterDrainsResponse200Type$inboundSchema; + +/** @internal */ +export const GetDrainsFilterDrains2$inboundSchema: z.ZodType< + GetDrainsFilterDrains2, + z.ZodTypeDef, + unknown +> = z.object({ + type: GetDrainsFilterDrainsResponse200Type$inboundSchema, + text: z.string(), +}); +/** @internal */ +export type GetDrainsFilterDrains2$Outbound = { + type: string; + text: string; +}; + +/** @internal */ +export const GetDrainsFilterDrains2$outboundSchema: z.ZodType< + GetDrainsFilterDrains2$Outbound, + z.ZodTypeDef, + GetDrainsFilterDrains2 +> = z.object({ + type: GetDrainsFilterDrainsResponse200Type$outboundSchema, + text: z.string(), +}); + +export function getDrainsFilterDrains2ToJSON( + getDrainsFilterDrains2: GetDrainsFilterDrains2, +): string { + return JSON.stringify( + GetDrainsFilterDrains2$outboundSchema.parse(getDrainsFilterDrains2), + ); +} +export function getDrainsFilterDrains2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDrainsFilterDrains2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainsFilterDrains2' from JSON`, + ); +} + +/** @internal */ +export const GetDrainsFilterDrainsResponseType$inboundSchema: z.ZodNativeEnum< + typeof GetDrainsFilterDrainsResponseType +> = z.nativeEnum(GetDrainsFilterDrainsResponseType); +/** @internal */ +export const GetDrainsFilterDrainsResponseType$outboundSchema: z.ZodNativeEnum< + typeof GetDrainsFilterDrainsResponseType +> = GetDrainsFilterDrainsResponseType$inboundSchema; + +/** @internal */ +export const GetDrainsFilterDrainsProject$inboundSchema: z.ZodType< + GetDrainsFilterDrainsProject, + z.ZodTypeDef, + unknown +> = z.object({ + ids: z.array(z.string()).optional(), +}); +/** @internal */ +export type GetDrainsFilterDrainsProject$Outbound = { + ids?: Array | undefined; +}; + +/** @internal */ +export const GetDrainsFilterDrainsProject$outboundSchema: z.ZodType< + GetDrainsFilterDrainsProject$Outbound, + z.ZodTypeDef, + GetDrainsFilterDrainsProject +> = z.object({ + ids: z.array(z.string()).optional(), +}); + +export function getDrainsFilterDrainsProjectToJSON( + getDrainsFilterDrainsProject: GetDrainsFilterDrainsProject, +): string { + return JSON.stringify( + GetDrainsFilterDrainsProject$outboundSchema.parse( + getDrainsFilterDrainsProject, + ), + ); +} +export function getDrainsFilterDrainsProjectFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDrainsFilterDrainsProject$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainsFilterDrainsProject' from JSON`, + ); +} + +/** @internal */ +export const GetDrainsFilterDrainsSources$inboundSchema: z.ZodNativeEnum< + typeof GetDrainsFilterDrainsSources +> = z.nativeEnum(GetDrainsFilterDrainsSources); +/** @internal */ +export const GetDrainsFilterDrainsSources$outboundSchema: z.ZodNativeEnum< + typeof GetDrainsFilterDrainsSources +> = GetDrainsFilterDrainsSources$inboundSchema; + +/** @internal */ +export const GetDrainsFilterDrainsLog$inboundSchema: z.ZodType< + GetDrainsFilterDrainsLog, + z.ZodTypeDef, + unknown +> = z.object({ + sources: z.array(GetDrainsFilterDrainsSources$inboundSchema).optional(), + legacy_excludeCachedStaticAssetLogs: z.boolean().optional(), +}).transform((v) => { + return remap$(v, { + "legacy_excludeCachedStaticAssetLogs": "legacyExcludeCachedStaticAssetLogs", + }); +}); +/** @internal */ +export type GetDrainsFilterDrainsLog$Outbound = { + sources?: Array | undefined; + legacy_excludeCachedStaticAssetLogs?: boolean | undefined; +}; + +/** @internal */ +export const GetDrainsFilterDrainsLog$outboundSchema: z.ZodType< + GetDrainsFilterDrainsLog$Outbound, + z.ZodTypeDef, + GetDrainsFilterDrainsLog +> = z.object({ + sources: z.array(GetDrainsFilterDrainsSources$outboundSchema).optional(), + legacyExcludeCachedStaticAssetLogs: z.boolean().optional(), +}).transform((v) => { + return remap$(v, { + legacyExcludeCachedStaticAssetLogs: "legacy_excludeCachedStaticAssetLogs", + }); +}); + +export function getDrainsFilterDrainsLogToJSON( + getDrainsFilterDrainsLog: GetDrainsFilterDrainsLog, +): string { + return JSON.stringify( + GetDrainsFilterDrainsLog$outboundSchema.parse(getDrainsFilterDrainsLog), + ); +} +export function getDrainsFilterDrainsLogFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDrainsFilterDrainsLog$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainsFilterDrainsLog' from JSON`, + ); +} + +/** @internal */ +export const GetDrainsFilterDrainsEnvironments$inboundSchema: z.ZodNativeEnum< + typeof GetDrainsFilterDrainsEnvironments +> = z.nativeEnum(GetDrainsFilterDrainsEnvironments); +/** @internal */ +export const GetDrainsFilterDrainsEnvironments$outboundSchema: z.ZodNativeEnum< + typeof GetDrainsFilterDrainsEnvironments +> = GetDrainsFilterDrainsEnvironments$inboundSchema; + +/** @internal */ +export const GetDrainsFilterDrainsDeployment$inboundSchema: z.ZodType< + GetDrainsFilterDrainsDeployment, + z.ZodTypeDef, + unknown +> = z.object({ + environments: z.array(GetDrainsFilterDrainsEnvironments$inboundSchema) + .optional(), +}); +/** @internal */ +export type GetDrainsFilterDrainsDeployment$Outbound = { + environments?: Array | undefined; +}; + +/** @internal */ +export const GetDrainsFilterDrainsDeployment$outboundSchema: z.ZodType< + GetDrainsFilterDrainsDeployment$Outbound, + z.ZodTypeDef, + GetDrainsFilterDrainsDeployment +> = z.object({ + environments: z.array(GetDrainsFilterDrainsEnvironments$outboundSchema) + .optional(), +}); + +export function getDrainsFilterDrainsDeploymentToJSON( + getDrainsFilterDrainsDeployment: GetDrainsFilterDrainsDeployment, +): string { + return JSON.stringify( + GetDrainsFilterDrainsDeployment$outboundSchema.parse( + getDrainsFilterDrainsDeployment, + ), + ); +} +export function getDrainsFilterDrainsDeploymentFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDrainsFilterDrainsDeployment$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainsFilterDrainsDeployment' from JSON`, + ); +} + +/** @internal */ +export const GetDrainsFilterDrains1$inboundSchema: z.ZodType< + GetDrainsFilterDrains1, + z.ZodTypeDef, + unknown +> = z.object({ + type: GetDrainsFilterDrainsResponseType$inboundSchema, + project: z.lazy(() => GetDrainsFilterDrainsProject$inboundSchema).optional(), + log: z.lazy(() => GetDrainsFilterDrainsLog$inboundSchema).optional(), + deployment: z.lazy(() => GetDrainsFilterDrainsDeployment$inboundSchema) + .optional(), +}); +/** @internal */ +export type GetDrainsFilterDrains1$Outbound = { + type: string; + project?: GetDrainsFilterDrainsProject$Outbound | undefined; + log?: GetDrainsFilterDrainsLog$Outbound | undefined; + deployment?: GetDrainsFilterDrainsDeployment$Outbound | undefined; +}; + +/** @internal */ +export const GetDrainsFilterDrains1$outboundSchema: z.ZodType< + GetDrainsFilterDrains1$Outbound, + z.ZodTypeDef, + GetDrainsFilterDrains1 +> = z.object({ + type: GetDrainsFilterDrainsResponseType$outboundSchema, + project: z.lazy(() => GetDrainsFilterDrainsProject$outboundSchema).optional(), + log: z.lazy(() => GetDrainsFilterDrainsLog$outboundSchema).optional(), + deployment: z.lazy(() => GetDrainsFilterDrainsDeployment$outboundSchema) + .optional(), +}); + +export function getDrainsFilterDrains1ToJSON( + getDrainsFilterDrains1: GetDrainsFilterDrains1, +): string { + return JSON.stringify( + GetDrainsFilterDrains1$outboundSchema.parse(getDrainsFilterDrains1), + ); +} +export function getDrainsFilterDrains1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDrainsFilterDrains1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainsFilterDrains1' from JSON`, + ); +} + +/** @internal */ +export const GetDrainsFilterV2DrainsFilter$inboundSchema: z.ZodType< + GetDrainsFilterV2DrainsFilter, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => GetDrainsFilterDrains2$inboundSchema), + z.lazy(() => GetDrainsFilterDrains1$inboundSchema), +]); +/** @internal */ +export type GetDrainsFilterV2DrainsFilter$Outbound = + | GetDrainsFilterDrains2$Outbound + | GetDrainsFilterDrains1$Outbound; + +/** @internal */ +export const GetDrainsFilterV2DrainsFilter$outboundSchema: z.ZodType< + GetDrainsFilterV2DrainsFilter$Outbound, + z.ZodTypeDef, + GetDrainsFilterV2DrainsFilter +> = z.union([ + z.lazy(() => GetDrainsFilterDrains2$outboundSchema), + z.lazy(() => GetDrainsFilterDrains1$outboundSchema), +]); + +export function getDrainsFilterV2DrainsFilterToJSON( + getDrainsFilterV2DrainsFilter: GetDrainsFilterV2DrainsFilter, +): string { + return JSON.stringify( + GetDrainsFilterV2DrainsFilter$outboundSchema.parse( + getDrainsFilterV2DrainsFilter, + ), + ); +} +export function getDrainsFilterV2DrainsFilterFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDrainsFilterV2DrainsFilter$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainsFilterV2DrainsFilter' from JSON`, + ); +} + +/** @internal */ +export const GetDrainsFilterV2Drains2$inboundSchema: z.ZodType< + GetDrainsFilterV2Drains2, + z.ZodTypeDef, + unknown +> = z.object({ + version: GetDrainsFilterV2DrainsResponse200Version$inboundSchema, + filter: z.union([ + z.lazy(() => GetDrainsFilterDrains2$inboundSchema), + z.lazy(() => GetDrainsFilterDrains1$inboundSchema), + ]), +}); +/** @internal */ +export type GetDrainsFilterV2Drains2$Outbound = { + version: string; + filter: GetDrainsFilterDrains2$Outbound | GetDrainsFilterDrains1$Outbound; +}; + +/** @internal */ +export const GetDrainsFilterV2Drains2$outboundSchema: z.ZodType< + GetDrainsFilterV2Drains2$Outbound, + z.ZodTypeDef, + GetDrainsFilterV2Drains2 +> = z.object({ + version: GetDrainsFilterV2DrainsResponse200Version$outboundSchema, + filter: z.union([ + z.lazy(() => GetDrainsFilterDrains2$outboundSchema), + z.lazy(() => GetDrainsFilterDrains1$outboundSchema), + ]), +}); + +export function getDrainsFilterV2Drains2ToJSON( + getDrainsFilterV2Drains2: GetDrainsFilterV2Drains2, +): string { + return JSON.stringify( + GetDrainsFilterV2Drains2$outboundSchema.parse(getDrainsFilterV2Drains2), + ); +} +export function getDrainsFilterV2Drains2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDrainsFilterV2Drains2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainsFilterV2Drains2' from JSON`, + ); +} + +/** @internal */ +export const GetDrainsFilterV2DrainsResponseVersion$inboundSchema: + z.ZodNativeEnum = z.nativeEnum( + GetDrainsFilterV2DrainsResponseVersion, + ); +/** @internal */ +export const GetDrainsFilterV2DrainsResponseVersion$outboundSchema: + z.ZodNativeEnum = + GetDrainsFilterV2DrainsResponseVersion$inboundSchema; + +/** @internal */ +export const GetDrainsFilterV2Drains1$inboundSchema: z.ZodType< + GetDrainsFilterV2Drains1, + z.ZodTypeDef, + unknown +> = z.object({ + version: GetDrainsFilterV2DrainsResponseVersion$inboundSchema, +}); +/** @internal */ +export type GetDrainsFilterV2Drains1$Outbound = { + version: string; +}; + +/** @internal */ +export const GetDrainsFilterV2Drains1$outboundSchema: z.ZodType< + GetDrainsFilterV2Drains1$Outbound, + z.ZodTypeDef, + GetDrainsFilterV2Drains1 +> = z.object({ + version: GetDrainsFilterV2DrainsResponseVersion$outboundSchema, +}); + +export function getDrainsFilterV2Drains1ToJSON( + getDrainsFilterV2Drains1: GetDrainsFilterV2Drains1, +): string { + return JSON.stringify( + GetDrainsFilterV2Drains1$outboundSchema.parse(getDrainsFilterV2Drains1), + ); +} +export function getDrainsFilterV2Drains1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDrainsFilterV2Drains1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainsFilterV2Drains1' from JSON`, + ); +} + +/** @internal */ +export const GetDrainsDrainsFilterV2$inboundSchema: z.ZodType< + GetDrainsDrainsFilterV2, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => GetDrainsFilterV2Drains2$inboundSchema), + z.lazy(() => GetDrainsFilterV2Drains1$inboundSchema), +]); +/** @internal */ +export type GetDrainsDrainsFilterV2$Outbound = + | GetDrainsFilterV2Drains2$Outbound + | GetDrainsFilterV2Drains1$Outbound; + +/** @internal */ +export const GetDrainsDrainsFilterV2$outboundSchema: z.ZodType< + GetDrainsDrainsFilterV2$Outbound, + z.ZodTypeDef, + GetDrainsDrainsFilterV2 +> = z.union([ + z.lazy(() => GetDrainsFilterV2Drains2$outboundSchema), + z.lazy(() => GetDrainsFilterV2Drains1$outboundSchema), +]); + +export function getDrainsDrainsFilterV2ToJSON( + getDrainsDrainsFilterV2: GetDrainsDrainsFilterV2, +): string { + return JSON.stringify( + GetDrainsDrainsFilterV2$outboundSchema.parse(getDrainsDrainsFilterV2), + ); +} +export function getDrainsDrainsFilterV2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDrainsDrainsFilterV2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainsDrainsFilterV2' from JSON`, + ); +} + +/** @internal */ +export const DrainsFramework$inboundSchema: z.ZodNativeEnum< + typeof DrainsFramework +> = z.nativeEnum(DrainsFramework); +/** @internal */ +export const DrainsFramework$outboundSchema: z.ZodNativeEnum< + typeof DrainsFramework +> = DrainsFramework$inboundSchema; + +/** @internal */ +export const DrainsProjectsMetadata$inboundSchema: z.ZodType< + DrainsProjectsMetadata, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + name: z.string(), + framework: z.nullable(DrainsFramework$inboundSchema).optional(), + latestDeployment: z.string().optional(), +}); +/** @internal */ +export type DrainsProjectsMetadata$Outbound = { + id: string; + name: string; + framework?: string | null | undefined; + latestDeployment?: string | undefined; +}; + +/** @internal */ +export const DrainsProjectsMetadata$outboundSchema: z.ZodType< + DrainsProjectsMetadata$Outbound, + z.ZodTypeDef, + DrainsProjectsMetadata +> = z.object({ + id: z.string(), + name: z.string(), + framework: z.nullable(DrainsFramework$outboundSchema).optional(), + latestDeployment: z.string().optional(), +}); + +export function drainsProjectsMetadataToJSON( + drainsProjectsMetadata: DrainsProjectsMetadata, +): string { + return JSON.stringify( + DrainsProjectsMetadata$outboundSchema.parse(drainsProjectsMetadata), + ); +} +export function drainsProjectsMetadataFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => DrainsProjectsMetadata$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'DrainsProjectsMetadata' from JSON`, + ); +} + +/** @internal */ +export const Drains2$inboundSchema: z.ZodType = + z.object({ + id: z.string(), + ownerId: z.string(), + name: z.string(), + createdAt: z.number(), + createdFrom: GetDrainsDrainsCreatedFrom$inboundSchema.optional(), + updatedAt: z.number(), + projectIds: z.array(z.string()).optional(), + schemas: z.lazy(() => GetDrainsDrainsSchemas$inboundSchema).optional(), + delivery: z.union([ + z.lazy(() => GetDrainsDeliveryDrains1$inboundSchema), + z.lazy(() => GetDrainsDeliveryDrains2$inboundSchema), + z.lazy(() => GetDrainsDeliveryDrains3$inboundSchema), + z.lazy(() => GetDrainsDeliveryDrains4$inboundSchema), + ]).optional(), + sampling: z.array(z.lazy(() => GetDrainsDrainsSampling$inboundSchema)) + .optional(), + teamId: z.nullable(z.string()).optional(), + status: GetDrainsDrainsStatus$inboundSchema.optional(), + disabledAt: z.number().optional(), + disabledReason: GetDrainsDrainsDisabledReason$inboundSchema.optional(), + disabledBy: z.string().optional(), + firstErrorTimestamp: z.number().optional(), + configurationId: z.string().optional(), + clientId: z.string().optional(), + source: z.union([ + z.lazy(() => GetDrainsSourceDrains2$inboundSchema), + z.lazy(() => GetDrainsSourceDrains1$inboundSchema), + ]), + filter: z.string().optional(), + filterV2: z.union([ + z.lazy(() => GetDrainsFilterV2Drains2$inboundSchema), + z.lazy(() => GetDrainsFilterV2Drains1$inboundSchema), + ]).optional(), + integrationIcon: z.string().optional(), + integrationConfigurationUri: z.string().optional(), + integrationWebsite: z.string().optional(), + projectsMetadata: z.array( + z.lazy(() => DrainsProjectsMetadata$inboundSchema), + ).optional(), + }); +/** @internal */ +export type Drains2$Outbound = { + id: string; + ownerId: string; + name: string; + createdAt: number; + createdFrom?: string | undefined; + updatedAt: number; + projectIds?: Array | undefined; + schemas?: GetDrainsDrainsSchemas$Outbound | undefined; + delivery?: + | GetDrainsDeliveryDrains1$Outbound + | GetDrainsDeliveryDrains2$Outbound + | GetDrainsDeliveryDrains3$Outbound + | GetDrainsDeliveryDrains4$Outbound + | undefined; + sampling?: Array | undefined; + teamId?: string | null | undefined; + status?: string | undefined; + disabledAt?: number | undefined; + disabledReason?: string | undefined; + disabledBy?: string | undefined; + firstErrorTimestamp?: number | undefined; + configurationId?: string | undefined; + clientId?: string | undefined; + source: GetDrainsSourceDrains2$Outbound | GetDrainsSourceDrains1$Outbound; + filter?: string | undefined; + filterV2?: + | GetDrainsFilterV2Drains2$Outbound + | GetDrainsFilterV2Drains1$Outbound + | undefined; + integrationIcon?: string | undefined; + integrationConfigurationUri?: string | undefined; + integrationWebsite?: string | undefined; + projectsMetadata?: Array | undefined; +}; + +/** @internal */ +export const Drains2$outboundSchema: z.ZodType< + Drains2$Outbound, + z.ZodTypeDef, + Drains2 +> = z.object({ + id: z.string(), + ownerId: z.string(), + name: z.string(), + createdAt: z.number(), + createdFrom: GetDrainsDrainsCreatedFrom$outboundSchema.optional(), + updatedAt: z.number(), + projectIds: z.array(z.string()).optional(), + schemas: z.lazy(() => GetDrainsDrainsSchemas$outboundSchema).optional(), + delivery: z.union([ + z.lazy(() => GetDrainsDeliveryDrains1$outboundSchema), + z.lazy(() => GetDrainsDeliveryDrains2$outboundSchema), + z.lazy(() => GetDrainsDeliveryDrains3$outboundSchema), + z.lazy(() => GetDrainsDeliveryDrains4$outboundSchema), + ]).optional(), + sampling: z.array(z.lazy(() => GetDrainsDrainsSampling$outboundSchema)) + .optional(), + teamId: z.nullable(z.string()).optional(), + status: GetDrainsDrainsStatus$outboundSchema.optional(), + disabledAt: z.number().optional(), + disabledReason: GetDrainsDrainsDisabledReason$outboundSchema.optional(), + disabledBy: z.string().optional(), + firstErrorTimestamp: z.number().optional(), + configurationId: z.string().optional(), + clientId: z.string().optional(), + source: z.union([ + z.lazy(() => GetDrainsSourceDrains2$outboundSchema), + z.lazy(() => GetDrainsSourceDrains1$outboundSchema), + ]), + filter: z.string().optional(), + filterV2: z.union([ + z.lazy(() => GetDrainsFilterV2Drains2$outboundSchema), + z.lazy(() => GetDrainsFilterV2Drains1$outboundSchema), + ]).optional(), + integrationIcon: z.string().optional(), + integrationConfigurationUri: z.string().optional(), + integrationWebsite: z.string().optional(), + projectsMetadata: z.array(z.lazy(() => DrainsProjectsMetadata$outboundSchema)) + .optional(), +}); + +export function drains2ToJSON(drains2: Drains2): string { + return JSON.stringify(Drains2$outboundSchema.parse(drains2)); +} +export function drains2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Drains2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Drains2' from JSON`, + ); +} + +/** @internal */ +export const DrainsCreatedFrom$inboundSchema: z.ZodNativeEnum< + typeof DrainsCreatedFrom +> = z.nativeEnum(DrainsCreatedFrom); +/** @internal */ +export const DrainsCreatedFrom$outboundSchema: z.ZodNativeEnum< + typeof DrainsCreatedFrom +> = DrainsCreatedFrom$inboundSchema; + +/** @internal */ +export const DrainsLog$inboundSchema: z.ZodType< + DrainsLog, + z.ZodTypeDef, + unknown +> = z.object({}); +/** @internal */ +export type DrainsLog$Outbound = {}; + +/** @internal */ +export const DrainsLog$outboundSchema: z.ZodType< + DrainsLog$Outbound, + z.ZodTypeDef, + DrainsLog +> = z.object({}); + +export function drainsLogToJSON(drainsLog: DrainsLog): string { + return JSON.stringify(DrainsLog$outboundSchema.parse(drainsLog)); +} +export function drainsLogFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => DrainsLog$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'DrainsLog' from JSON`, + ); +} + +/** @internal */ +export const DrainsTrace$inboundSchema: z.ZodType< + DrainsTrace, + z.ZodTypeDef, + unknown +> = z.object({}); +/** @internal */ +export type DrainsTrace$Outbound = {}; + +/** @internal */ +export const DrainsTrace$outboundSchema: z.ZodType< + DrainsTrace$Outbound, + z.ZodTypeDef, + DrainsTrace +> = z.object({}); + +export function drainsTraceToJSON(drainsTrace: DrainsTrace): string { + return JSON.stringify(DrainsTrace$outboundSchema.parse(drainsTrace)); +} +export function drainsTraceFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => DrainsTrace$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'DrainsTrace' from JSON`, + ); +} + +/** @internal */ +export const DrainsAnalytics$inboundSchema: z.ZodType< + DrainsAnalytics, + z.ZodTypeDef, + unknown +> = z.object({}); +/** @internal */ +export type DrainsAnalytics$Outbound = {}; + +/** @internal */ +export const DrainsAnalytics$outboundSchema: z.ZodType< + DrainsAnalytics$Outbound, + z.ZodTypeDef, + DrainsAnalytics +> = z.object({}); + +export function drainsAnalyticsToJSON( + drainsAnalytics: DrainsAnalytics, +): string { + return JSON.stringify(DrainsAnalytics$outboundSchema.parse(drainsAnalytics)); +} +export function drainsAnalyticsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => DrainsAnalytics$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'DrainsAnalytics' from JSON`, + ); +} + +/** @internal */ +export const DrainsSpeedInsights$inboundSchema: z.ZodType< + DrainsSpeedInsights, + z.ZodTypeDef, + unknown +> = z.object({}); +/** @internal */ +export type DrainsSpeedInsights$Outbound = {}; + +/** @internal */ +export const DrainsSpeedInsights$outboundSchema: z.ZodType< + DrainsSpeedInsights$Outbound, + z.ZodTypeDef, + DrainsSpeedInsights +> = z.object({}); + +export function drainsSpeedInsightsToJSON( + drainsSpeedInsights: DrainsSpeedInsights, +): string { + return JSON.stringify( + DrainsSpeedInsights$outboundSchema.parse(drainsSpeedInsights), + ); +} +export function drainsSpeedInsightsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => DrainsSpeedInsights$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'DrainsSpeedInsights' from JSON`, + ); +} + +/** @internal */ +export const DrainsSchemas$inboundSchema: z.ZodType< + DrainsSchemas, + z.ZodTypeDef, + unknown +> = z.object({ + log: z.lazy(() => DrainsLog$inboundSchema).optional(), + trace: z.lazy(() => DrainsTrace$inboundSchema).optional(), + analytics: z.lazy(() => DrainsAnalytics$inboundSchema).optional(), + speed_insights: z.lazy(() => DrainsSpeedInsights$inboundSchema).optional(), +}).transform((v) => { + return remap$(v, { + "speed_insights": "speedInsights", + }); +}); +/** @internal */ +export type DrainsSchemas$Outbound = { + log?: DrainsLog$Outbound | undefined; + trace?: DrainsTrace$Outbound | undefined; + analytics?: DrainsAnalytics$Outbound | undefined; + speed_insights?: DrainsSpeedInsights$Outbound | undefined; +}; + +/** @internal */ +export const DrainsSchemas$outboundSchema: z.ZodType< + DrainsSchemas$Outbound, + z.ZodTypeDef, + DrainsSchemas +> = z.object({ + log: z.lazy(() => DrainsLog$outboundSchema).optional(), + trace: z.lazy(() => DrainsTrace$outboundSchema).optional(), + analytics: z.lazy(() => DrainsAnalytics$outboundSchema).optional(), + speedInsights: z.lazy(() => DrainsSpeedInsights$outboundSchema).optional(), +}).transform((v) => { + return remap$(v, { + speedInsights: "speed_insights", + }); +}); + +export function drainsSchemasToJSON(drainsSchemas: DrainsSchemas): string { + return JSON.stringify(DrainsSchemas$outboundSchema.parse(drainsSchemas)); +} +export function drainsSchemasFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => DrainsSchemas$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'DrainsSchemas' from JSON`, + ); +} + +/** @internal */ +export const GetDrainsDeliveryDrainsResponse200Type$inboundSchema: + z.ZodNativeEnum = z.nativeEnum( + GetDrainsDeliveryDrainsResponse200Type, + ); +/** @internal */ +export const GetDrainsDeliveryDrainsResponse200Type$outboundSchema: + z.ZodNativeEnum = + GetDrainsDeliveryDrainsResponse200Type$inboundSchema; + +/** @internal */ +export const GetDrainsDeliveryTarget$inboundSchema: z.ZodNativeEnum< + typeof GetDrainsDeliveryTarget +> = z.nativeEnum(GetDrainsDeliveryTarget); +/** @internal */ +export const GetDrainsDeliveryTarget$outboundSchema: z.ZodNativeEnum< + typeof GetDrainsDeliveryTarget +> = GetDrainsDeliveryTarget$inboundSchema; + +/** @internal */ +export const GetDrainsDelivery4$inboundSchema: z.ZodType< + GetDrainsDelivery4, + z.ZodTypeDef, + unknown +> = z.object({ + type: GetDrainsDeliveryDrainsResponse200Type$inboundSchema, + target: GetDrainsDeliveryTarget$inboundSchema, +}); +/** @internal */ +export type GetDrainsDelivery4$Outbound = { + type: string; + target: string; +}; + +/** @internal */ +export const GetDrainsDelivery4$outboundSchema: z.ZodType< + GetDrainsDelivery4$Outbound, + z.ZodTypeDef, + GetDrainsDelivery4 +> = z.object({ + type: GetDrainsDeliveryDrainsResponse200Type$outboundSchema, + target: GetDrainsDeliveryTarget$outboundSchema, +}); + +export function getDrainsDelivery4ToJSON( + getDrainsDelivery4: GetDrainsDelivery4, +): string { + return JSON.stringify( + GetDrainsDelivery4$outboundSchema.parse(getDrainsDelivery4), + ); +} +export function getDrainsDelivery4FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDrainsDelivery4$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainsDelivery4' from JSON`, + ); +} + +/** @internal */ +export const GetDrainsDeliveryDrainsResponseType$inboundSchema: z.ZodNativeEnum< + typeof GetDrainsDeliveryDrainsResponseType +> = z.nativeEnum(GetDrainsDeliveryDrainsResponseType); +/** @internal */ +export const GetDrainsDeliveryDrainsResponseType$outboundSchema: + z.ZodNativeEnum = + GetDrainsDeliveryDrainsResponseType$inboundSchema; + +/** @internal */ +export const GetDrainsDelivery3$inboundSchema: z.ZodType< + GetDrainsDelivery3, + z.ZodTypeDef, + unknown +> = z.object({ + type: GetDrainsDeliveryDrainsResponseType$inboundSchema, + endpoint: z.string(), + table: z.string(), +}); +/** @internal */ +export type GetDrainsDelivery3$Outbound = { + type: string; + endpoint: string; + table: string; +}; + +/** @internal */ +export const GetDrainsDelivery3$outboundSchema: z.ZodType< + GetDrainsDelivery3$Outbound, + z.ZodTypeDef, + GetDrainsDelivery3 +> = z.object({ + type: GetDrainsDeliveryDrainsResponseType$outboundSchema, + endpoint: z.string(), + table: z.string(), +}); + +export function getDrainsDelivery3ToJSON( + getDrainsDelivery3: GetDrainsDelivery3, +): string { + return JSON.stringify( + GetDrainsDelivery3$outboundSchema.parse(getDrainsDelivery3), + ); +} +export function getDrainsDelivery3FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDrainsDelivery3$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainsDelivery3' from JSON`, + ); +} + +/** @internal */ +export const GetDrainsDeliveryDrainsType$inboundSchema: z.ZodNativeEnum< + typeof GetDrainsDeliveryDrainsType +> = z.nativeEnum(GetDrainsDeliveryDrainsType); +/** @internal */ +export const GetDrainsDeliveryDrainsType$outboundSchema: z.ZodNativeEnum< + typeof GetDrainsDeliveryDrainsType +> = GetDrainsDeliveryDrainsType$inboundSchema; + +/** @internal */ +export const GetDrainsDeliveryEndpoint$inboundSchema: z.ZodType< + GetDrainsDeliveryEndpoint, + z.ZodTypeDef, + unknown +> = z.object({ + traces: z.string(), +}); +/** @internal */ +export type GetDrainsDeliveryEndpoint$Outbound = { + traces: string; +}; + +/** @internal */ +export const GetDrainsDeliveryEndpoint$outboundSchema: z.ZodType< + GetDrainsDeliveryEndpoint$Outbound, + z.ZodTypeDef, + GetDrainsDeliveryEndpoint +> = z.object({ + traces: z.string(), +}); + +export function getDrainsDeliveryEndpointToJSON( + getDrainsDeliveryEndpoint: GetDrainsDeliveryEndpoint, +): string { + return JSON.stringify( + GetDrainsDeliveryEndpoint$outboundSchema.parse(getDrainsDeliveryEndpoint), + ); +} +export function getDrainsDeliveryEndpointFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDrainsDeliveryEndpoint$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainsDeliveryEndpoint' from JSON`, + ); +} + +/** @internal */ +export const GetDrainsDeliveryDrainsEncoding$inboundSchema: z.ZodNativeEnum< + typeof GetDrainsDeliveryDrainsEncoding +> = z.nativeEnum(GetDrainsDeliveryDrainsEncoding); +/** @internal */ +export const GetDrainsDeliveryDrainsEncoding$outboundSchema: z.ZodNativeEnum< + typeof GetDrainsDeliveryDrainsEncoding +> = GetDrainsDeliveryDrainsEncoding$inboundSchema; + +/** @internal */ +export const GetDrainsDelivery2$inboundSchema: z.ZodType< + GetDrainsDelivery2, + z.ZodTypeDef, + unknown +> = z.object({ + type: GetDrainsDeliveryDrainsType$inboundSchema, + endpoint: z.lazy(() => GetDrainsDeliveryEndpoint$inboundSchema), + encoding: GetDrainsDeliveryDrainsEncoding$inboundSchema, + headers: z.record(z.string()), + secret: z.string().optional(), +}); +/** @internal */ +export type GetDrainsDelivery2$Outbound = { + type: string; + endpoint: GetDrainsDeliveryEndpoint$Outbound; + encoding: string; + headers: { [k: string]: string }; + secret?: string | undefined; +}; + +/** @internal */ +export const GetDrainsDelivery2$outboundSchema: z.ZodType< + GetDrainsDelivery2$Outbound, + z.ZodTypeDef, + GetDrainsDelivery2 +> = z.object({ + type: GetDrainsDeliveryDrainsType$outboundSchema, + endpoint: z.lazy(() => GetDrainsDeliveryEndpoint$outboundSchema), + encoding: GetDrainsDeliveryDrainsEncoding$outboundSchema, + headers: z.record(z.string()), + secret: z.string().optional(), +}); + +export function getDrainsDelivery2ToJSON( + getDrainsDelivery2: GetDrainsDelivery2, +): string { + return JSON.stringify( + GetDrainsDelivery2$outboundSchema.parse(getDrainsDelivery2), + ); +} +export function getDrainsDelivery2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDrainsDelivery2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainsDelivery2' from JSON`, + ); +} + +/** @internal */ +export const GetDrainsDeliveryType$inboundSchema: z.ZodNativeEnum< + typeof GetDrainsDeliveryType +> = z.nativeEnum(GetDrainsDeliveryType); +/** @internal */ +export const GetDrainsDeliveryType$outboundSchema: z.ZodNativeEnum< + typeof GetDrainsDeliveryType +> = GetDrainsDeliveryType$inboundSchema; + +/** @internal */ +export const GetDrainsDeliveryEncoding$inboundSchema: z.ZodNativeEnum< + typeof GetDrainsDeliveryEncoding +> = z.nativeEnum(GetDrainsDeliveryEncoding); +/** @internal */ +export const GetDrainsDeliveryEncoding$outboundSchema: z.ZodNativeEnum< + typeof GetDrainsDeliveryEncoding +> = GetDrainsDeliveryEncoding$inboundSchema; + +/** @internal */ +export const GetDrainsDeliveryCompression$inboundSchema: z.ZodNativeEnum< + typeof GetDrainsDeliveryCompression +> = z.nativeEnum(GetDrainsDeliveryCompression); +/** @internal */ +export const GetDrainsDeliveryCompression$outboundSchema: z.ZodNativeEnum< + typeof GetDrainsDeliveryCompression +> = GetDrainsDeliveryCompression$inboundSchema; + +/** @internal */ +export const GetDrainsDelivery1$inboundSchema: z.ZodType< + GetDrainsDelivery1, + z.ZodTypeDef, + unknown +> = z.object({ + type: GetDrainsDeliveryType$inboundSchema, + endpoint: z.string(), + encoding: GetDrainsDeliveryEncoding$inboundSchema, + compression: GetDrainsDeliveryCompression$inboundSchema.optional(), + headers: z.record(z.string()), + secret: z.string().optional(), +}); +/** @internal */ +export type GetDrainsDelivery1$Outbound = { + type: string; + endpoint: string; + encoding: string; + compression?: string | undefined; + headers: { [k: string]: string }; + secret?: string | undefined; +}; + +/** @internal */ +export const GetDrainsDelivery1$outboundSchema: z.ZodType< + GetDrainsDelivery1$Outbound, + z.ZodTypeDef, + GetDrainsDelivery1 +> = z.object({ + type: GetDrainsDeliveryType$outboundSchema, + endpoint: z.string(), + encoding: GetDrainsDeliveryEncoding$outboundSchema, + compression: GetDrainsDeliveryCompression$outboundSchema.optional(), + headers: z.record(z.string()), + secret: z.string().optional(), +}); + +export function getDrainsDelivery1ToJSON( + getDrainsDelivery1: GetDrainsDelivery1, +): string { + return JSON.stringify( + GetDrainsDelivery1$outboundSchema.parse(getDrainsDelivery1), + ); +} +export function getDrainsDelivery1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDrainsDelivery1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainsDelivery1' from JSON`, + ); +} + +/** @internal */ +export const DrainsDelivery$inboundSchema: z.ZodType< + DrainsDelivery, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => GetDrainsDelivery1$inboundSchema), + z.lazy(() => GetDrainsDelivery2$inboundSchema), + z.lazy(() => GetDrainsDelivery3$inboundSchema), + z.lazy(() => GetDrainsDelivery4$inboundSchema), +]); +/** @internal */ +export type DrainsDelivery$Outbound = + | GetDrainsDelivery1$Outbound + | GetDrainsDelivery2$Outbound + | GetDrainsDelivery3$Outbound + | GetDrainsDelivery4$Outbound; + +/** @internal */ +export const DrainsDelivery$outboundSchema: z.ZodType< + DrainsDelivery$Outbound, + z.ZodTypeDef, + DrainsDelivery +> = z.union([ + z.lazy(() => GetDrainsDelivery1$outboundSchema), + z.lazy(() => GetDrainsDelivery2$outboundSchema), + z.lazy(() => GetDrainsDelivery3$outboundSchema), + z.lazy(() => GetDrainsDelivery4$outboundSchema), +]); + +export function drainsDeliveryToJSON(drainsDelivery: DrainsDelivery): string { + return JSON.stringify(DrainsDelivery$outboundSchema.parse(drainsDelivery)); +} +export function drainsDeliveryFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => DrainsDelivery$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'DrainsDelivery' from JSON`, + ); +} + +/** @internal */ +export const DrainsType$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(DrainsType); +/** @internal */ +export const DrainsType$outboundSchema: z.ZodNativeEnum = + DrainsType$inboundSchema; + +/** @internal */ +export const DrainsEnv$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(DrainsEnv); +/** @internal */ +export const DrainsEnv$outboundSchema: z.ZodNativeEnum = + DrainsEnv$inboundSchema; + +/** @internal */ +export const DrainsSampling$inboundSchema: z.ZodType< + DrainsSampling, + z.ZodTypeDef, + unknown +> = z.object({ + type: DrainsType$inboundSchema, + rate: z.number(), + env: DrainsEnv$inboundSchema.optional(), + requestPath: z.string().optional(), +}); +/** @internal */ +export type DrainsSampling$Outbound = { + type: string; + rate: number; + env?: string | undefined; + requestPath?: string | undefined; +}; + +/** @internal */ +export const DrainsSampling$outboundSchema: z.ZodType< + DrainsSampling$Outbound, + z.ZodTypeDef, + DrainsSampling +> = z.object({ + type: DrainsType$outboundSchema, + rate: z.number(), + env: DrainsEnv$outboundSchema.optional(), + requestPath: z.string().optional(), +}); + +export function drainsSamplingToJSON(drainsSampling: DrainsSampling): string { + return JSON.stringify(DrainsSampling$outboundSchema.parse(drainsSampling)); +} +export function drainsSamplingFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => DrainsSampling$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'DrainsSampling' from JSON`, + ); +} + +/** @internal */ +export const DrainsStatus$inboundSchema: z.ZodNativeEnum = + z.nativeEnum(DrainsStatus); +/** @internal */ +export const DrainsStatus$outboundSchema: z.ZodNativeEnum = + DrainsStatus$inboundSchema; + +/** @internal */ +export const DrainsDisabledReason$inboundSchema: z.ZodNativeEnum< + typeof DrainsDisabledReason +> = z.nativeEnum(DrainsDisabledReason); +/** @internal */ +export const DrainsDisabledReason$outboundSchema: z.ZodNativeEnum< + typeof DrainsDisabledReason +> = DrainsDisabledReason$inboundSchema; + +/** @internal */ +export const GetDrainsSourceDrainsKind$inboundSchema: z.ZodNativeEnum< + typeof GetDrainsSourceDrainsKind +> = z.nativeEnum(GetDrainsSourceDrainsKind); +/** @internal */ +export const GetDrainsSourceDrainsKind$outboundSchema: z.ZodNativeEnum< + typeof GetDrainsSourceDrainsKind +> = GetDrainsSourceDrainsKind$inboundSchema; + +/** @internal */ +export const GetDrainsSource2$inboundSchema: z.ZodType< + GetDrainsSource2, + z.ZodTypeDef, + unknown +> = z.object({ + kind: GetDrainsSourceDrainsKind$inboundSchema, + resourceId: z.string().optional(), + externalResourceId: z.string().optional(), + integrationId: z.string(), + integrationConfigurationId: z.string(), +}); +/** @internal */ +export type GetDrainsSource2$Outbound = { + kind: string; + resourceId?: string | undefined; + externalResourceId?: string | undefined; + integrationId: string; + integrationConfigurationId: string; +}; + +/** @internal */ +export const GetDrainsSource2$outboundSchema: z.ZodType< + GetDrainsSource2$Outbound, + z.ZodTypeDef, + GetDrainsSource2 +> = z.object({ + kind: GetDrainsSourceDrainsKind$outboundSchema, + resourceId: z.string().optional(), + externalResourceId: z.string().optional(), + integrationId: z.string(), + integrationConfigurationId: z.string(), +}); + +export function getDrainsSource2ToJSON( + getDrainsSource2: GetDrainsSource2, +): string { + return JSON.stringify( + GetDrainsSource2$outboundSchema.parse(getDrainsSource2), + ); +} +export function getDrainsSource2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDrainsSource2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainsSource2' from JSON`, + ); +} + +/** @internal */ +export const GetDrainsSourceKind$inboundSchema: z.ZodNativeEnum< + typeof GetDrainsSourceKind +> = z.nativeEnum(GetDrainsSourceKind); +/** @internal */ +export const GetDrainsSourceKind$outboundSchema: z.ZodNativeEnum< + typeof GetDrainsSourceKind +> = GetDrainsSourceKind$inboundSchema; + +/** @internal */ +export const GetDrainsSource1$inboundSchema: z.ZodType< + GetDrainsSource1, + z.ZodTypeDef, + unknown +> = z.object({ + kind: GetDrainsSourceKind$inboundSchema, +}); +/** @internal */ +export type GetDrainsSource1$Outbound = { + kind: string; +}; + +/** @internal */ +export const GetDrainsSource1$outboundSchema: z.ZodType< + GetDrainsSource1$Outbound, + z.ZodTypeDef, + GetDrainsSource1 +> = z.object({ + kind: GetDrainsSourceKind$outboundSchema, +}); + +export function getDrainsSource1ToJSON( + getDrainsSource1: GetDrainsSource1, +): string { + return JSON.stringify( + GetDrainsSource1$outboundSchema.parse(getDrainsSource1), + ); +} +export function getDrainsSource1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDrainsSource1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainsSource1' from JSON`, + ); +} + +/** @internal */ +export const DrainsSource$inboundSchema: z.ZodType< + DrainsSource, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => GetDrainsSource2$inboundSchema), + z.lazy(() => GetDrainsSource1$inboundSchema), +]); +/** @internal */ +export type DrainsSource$Outbound = + | GetDrainsSource2$Outbound + | GetDrainsSource1$Outbound; + +/** @internal */ +export const DrainsSource$outboundSchema: z.ZodType< + DrainsSource$Outbound, + z.ZodTypeDef, + DrainsSource +> = z.union([ + z.lazy(() => GetDrainsSource2$outboundSchema), + z.lazy(() => GetDrainsSource1$outboundSchema), +]); + +export function drainsSourceToJSON(drainsSource: DrainsSource): string { + return JSON.stringify(DrainsSource$outboundSchema.parse(drainsSource)); +} +export function drainsSourceFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => DrainsSource$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'DrainsSource' from JSON`, + ); +} + +/** @internal */ +export const GetDrainsFilterV2DrainsVersion$inboundSchema: z.ZodNativeEnum< + typeof GetDrainsFilterV2DrainsVersion +> = z.nativeEnum(GetDrainsFilterV2DrainsVersion); +/** @internal */ +export const GetDrainsFilterV2DrainsVersion$outboundSchema: z.ZodNativeEnum< + typeof GetDrainsFilterV2DrainsVersion +> = GetDrainsFilterV2DrainsVersion$inboundSchema; + +/** @internal */ +export const GetDrainsFilterDrainsType$inboundSchema: z.ZodNativeEnum< + typeof GetDrainsFilterDrainsType +> = z.nativeEnum(GetDrainsFilterDrainsType); +/** @internal */ +export const GetDrainsFilterDrainsType$outboundSchema: z.ZodNativeEnum< + typeof GetDrainsFilterDrainsType +> = GetDrainsFilterDrainsType$inboundSchema; + +/** @internal */ +export const GetDrainsFilter2$inboundSchema: z.ZodType< + GetDrainsFilter2, + z.ZodTypeDef, + unknown +> = z.object({ + type: GetDrainsFilterDrainsType$inboundSchema, + text: z.string(), +}); +/** @internal */ +export type GetDrainsFilter2$Outbound = { + type: string; + text: string; +}; + +/** @internal */ +export const GetDrainsFilter2$outboundSchema: z.ZodType< + GetDrainsFilter2$Outbound, + z.ZodTypeDef, + GetDrainsFilter2 +> = z.object({ + type: GetDrainsFilterDrainsType$outboundSchema, + text: z.string(), +}); + +export function getDrainsFilter2ToJSON( + getDrainsFilter2: GetDrainsFilter2, +): string { + return JSON.stringify( + GetDrainsFilter2$outboundSchema.parse(getDrainsFilter2), + ); +} +export function getDrainsFilter2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDrainsFilter2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainsFilter2' from JSON`, + ); +} + +/** @internal */ +export const GetDrainsFilterType$inboundSchema: z.ZodNativeEnum< + typeof GetDrainsFilterType +> = z.nativeEnum(GetDrainsFilterType); +/** @internal */ +export const GetDrainsFilterType$outboundSchema: z.ZodNativeEnum< + typeof GetDrainsFilterType +> = GetDrainsFilterType$inboundSchema; + +/** @internal */ +export const GetDrainsFilterProject$inboundSchema: z.ZodType< + GetDrainsFilterProject, + z.ZodTypeDef, + unknown +> = z.object({ + ids: z.array(z.string()).optional(), +}); +/** @internal */ +export type GetDrainsFilterProject$Outbound = { + ids?: Array | undefined; +}; + +/** @internal */ +export const GetDrainsFilterProject$outboundSchema: z.ZodType< + GetDrainsFilterProject$Outbound, + z.ZodTypeDef, + GetDrainsFilterProject +> = z.object({ + ids: z.array(z.string()).optional(), +}); + +export function getDrainsFilterProjectToJSON( + getDrainsFilterProject: GetDrainsFilterProject, +): string { + return JSON.stringify( + GetDrainsFilterProject$outboundSchema.parse(getDrainsFilterProject), + ); +} +export function getDrainsFilterProjectFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDrainsFilterProject$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainsFilterProject' from JSON`, + ); +} + +/** @internal */ +export const GetDrainsFilterSources$inboundSchema: z.ZodNativeEnum< + typeof GetDrainsFilterSources +> = z.nativeEnum(GetDrainsFilterSources); +/** @internal */ +export const GetDrainsFilterSources$outboundSchema: z.ZodNativeEnum< + typeof GetDrainsFilterSources +> = GetDrainsFilterSources$inboundSchema; + +/** @internal */ +export const GetDrainsFilterLog$inboundSchema: z.ZodType< + GetDrainsFilterLog, + z.ZodTypeDef, + unknown +> = z.object({ + sources: z.array(GetDrainsFilterSources$inboundSchema).optional(), + legacy_excludeCachedStaticAssetLogs: z.boolean().optional(), +}).transform((v) => { + return remap$(v, { + "legacy_excludeCachedStaticAssetLogs": "legacyExcludeCachedStaticAssetLogs", + }); +}); +/** @internal */ +export type GetDrainsFilterLog$Outbound = { + sources?: Array | undefined; + legacy_excludeCachedStaticAssetLogs?: boolean | undefined; +}; + +/** @internal */ +export const GetDrainsFilterLog$outboundSchema: z.ZodType< + GetDrainsFilterLog$Outbound, + z.ZodTypeDef, + GetDrainsFilterLog +> = z.object({ + sources: z.array(GetDrainsFilterSources$outboundSchema).optional(), + legacyExcludeCachedStaticAssetLogs: z.boolean().optional(), +}).transform((v) => { + return remap$(v, { + legacyExcludeCachedStaticAssetLogs: "legacy_excludeCachedStaticAssetLogs", + }); +}); + +export function getDrainsFilterLogToJSON( + getDrainsFilterLog: GetDrainsFilterLog, +): string { + return JSON.stringify( + GetDrainsFilterLog$outboundSchema.parse(getDrainsFilterLog), + ); +} +export function getDrainsFilterLogFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDrainsFilterLog$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainsFilterLog' from JSON`, + ); +} + +/** @internal */ +export const GetDrainsFilterEnvironments$inboundSchema: z.ZodNativeEnum< + typeof GetDrainsFilterEnvironments +> = z.nativeEnum(GetDrainsFilterEnvironments); +/** @internal */ +export const GetDrainsFilterEnvironments$outboundSchema: z.ZodNativeEnum< + typeof GetDrainsFilterEnvironments +> = GetDrainsFilterEnvironments$inboundSchema; + +/** @internal */ +export const GetDrainsFilterDeployment$inboundSchema: z.ZodType< + GetDrainsFilterDeployment, + z.ZodTypeDef, + unknown +> = z.object({ + environments: z.array(GetDrainsFilterEnvironments$inboundSchema).optional(), +}); +/** @internal */ +export type GetDrainsFilterDeployment$Outbound = { + environments?: Array | undefined; +}; + +/** @internal */ +export const GetDrainsFilterDeployment$outboundSchema: z.ZodType< + GetDrainsFilterDeployment$Outbound, + z.ZodTypeDef, + GetDrainsFilterDeployment +> = z.object({ + environments: z.array(GetDrainsFilterEnvironments$outboundSchema).optional(), +}); + +export function getDrainsFilterDeploymentToJSON( + getDrainsFilterDeployment: GetDrainsFilterDeployment, +): string { + return JSON.stringify( + GetDrainsFilterDeployment$outboundSchema.parse(getDrainsFilterDeployment), + ); +} +export function getDrainsFilterDeploymentFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDrainsFilterDeployment$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainsFilterDeployment' from JSON`, + ); +} + +/** @internal */ +export const GetDrainsFilter1$inboundSchema: z.ZodType< + GetDrainsFilter1, + z.ZodTypeDef, + unknown +> = z.object({ + type: GetDrainsFilterType$inboundSchema, + project: z.lazy(() => GetDrainsFilterProject$inboundSchema).optional(), + log: z.lazy(() => GetDrainsFilterLog$inboundSchema).optional(), + deployment: z.lazy(() => GetDrainsFilterDeployment$inboundSchema).optional(), +}); +/** @internal */ +export type GetDrainsFilter1$Outbound = { + type: string; + project?: GetDrainsFilterProject$Outbound | undefined; + log?: GetDrainsFilterLog$Outbound | undefined; + deployment?: GetDrainsFilterDeployment$Outbound | undefined; +}; + +/** @internal */ +export const GetDrainsFilter1$outboundSchema: z.ZodType< + GetDrainsFilter1$Outbound, + z.ZodTypeDef, + GetDrainsFilter1 +> = z.object({ + type: GetDrainsFilterType$outboundSchema, + project: z.lazy(() => GetDrainsFilterProject$outboundSchema).optional(), + log: z.lazy(() => GetDrainsFilterLog$outboundSchema).optional(), + deployment: z.lazy(() => GetDrainsFilterDeployment$outboundSchema).optional(), +}); + +export function getDrainsFilter1ToJSON( + getDrainsFilter1: GetDrainsFilter1, +): string { + return JSON.stringify( + GetDrainsFilter1$outboundSchema.parse(getDrainsFilter1), + ); +} +export function getDrainsFilter1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDrainsFilter1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainsFilter1' from JSON`, + ); +} + +/** @internal */ +export const GetDrainsFilterV2Filter$inboundSchema: z.ZodType< + GetDrainsFilterV2Filter, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => GetDrainsFilter2$inboundSchema), + z.lazy(() => GetDrainsFilter1$inboundSchema), +]); +/** @internal */ +export type GetDrainsFilterV2Filter$Outbound = + | GetDrainsFilter2$Outbound + | GetDrainsFilter1$Outbound; + +/** @internal */ +export const GetDrainsFilterV2Filter$outboundSchema: z.ZodType< + GetDrainsFilterV2Filter$Outbound, + z.ZodTypeDef, + GetDrainsFilterV2Filter +> = z.union([ + z.lazy(() => GetDrainsFilter2$outboundSchema), + z.lazy(() => GetDrainsFilter1$outboundSchema), +]); + +export function getDrainsFilterV2FilterToJSON( + getDrainsFilterV2Filter: GetDrainsFilterV2Filter, +): string { + return JSON.stringify( + GetDrainsFilterV2Filter$outboundSchema.parse(getDrainsFilterV2Filter), + ); +} +export function getDrainsFilterV2FilterFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDrainsFilterV2Filter$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainsFilterV2Filter' from JSON`, + ); +} + +/** @internal */ +export const GetDrainsFilterV22$inboundSchema: z.ZodType< + GetDrainsFilterV22, + z.ZodTypeDef, + unknown +> = z.object({ + version: GetDrainsFilterV2DrainsVersion$inboundSchema, + filter: z.union([ + z.lazy(() => GetDrainsFilter2$inboundSchema), + z.lazy(() => GetDrainsFilter1$inboundSchema), + ]), +}); +/** @internal */ +export type GetDrainsFilterV22$Outbound = { + version: string; + filter: GetDrainsFilter2$Outbound | GetDrainsFilter1$Outbound; +}; + +/** @internal */ +export const GetDrainsFilterV22$outboundSchema: z.ZodType< + GetDrainsFilterV22$Outbound, + z.ZodTypeDef, + GetDrainsFilterV22 +> = z.object({ + version: GetDrainsFilterV2DrainsVersion$outboundSchema, + filter: z.union([ + z.lazy(() => GetDrainsFilter2$outboundSchema), + z.lazy(() => GetDrainsFilter1$outboundSchema), + ]), +}); + +export function getDrainsFilterV22ToJSON( + getDrainsFilterV22: GetDrainsFilterV22, +): string { + return JSON.stringify( + GetDrainsFilterV22$outboundSchema.parse(getDrainsFilterV22), + ); +} +export function getDrainsFilterV22FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDrainsFilterV22$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainsFilterV22' from JSON`, + ); +} + +/** @internal */ +export const GetDrainsFilterV2Version$inboundSchema: z.ZodNativeEnum< + typeof GetDrainsFilterV2Version +> = z.nativeEnum(GetDrainsFilterV2Version); +/** @internal */ +export const GetDrainsFilterV2Version$outboundSchema: z.ZodNativeEnum< + typeof GetDrainsFilterV2Version +> = GetDrainsFilterV2Version$inboundSchema; + +/** @internal */ +export const GetDrainsFilterV21$inboundSchema: z.ZodType< + GetDrainsFilterV21, + z.ZodTypeDef, + unknown +> = z.object({ + version: GetDrainsFilterV2Version$inboundSchema, +}); +/** @internal */ +export type GetDrainsFilterV21$Outbound = { + version: string; +}; + +/** @internal */ +export const GetDrainsFilterV21$outboundSchema: z.ZodType< + GetDrainsFilterV21$Outbound, + z.ZodTypeDef, + GetDrainsFilterV21 +> = z.object({ + version: GetDrainsFilterV2Version$outboundSchema, +}); + +export function getDrainsFilterV21ToJSON( + getDrainsFilterV21: GetDrainsFilterV21, +): string { + return JSON.stringify( + GetDrainsFilterV21$outboundSchema.parse(getDrainsFilterV21), + ); +} +export function getDrainsFilterV21FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDrainsFilterV21$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainsFilterV21' from JSON`, + ); +} + +/** @internal */ +export const DrainsFilterV2$inboundSchema: z.ZodType< + DrainsFilterV2, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => GetDrainsFilterV22$inboundSchema), + z.lazy(() => GetDrainsFilterV21$inboundSchema), +]); +/** @internal */ +export type DrainsFilterV2$Outbound = + | GetDrainsFilterV22$Outbound + | GetDrainsFilterV21$Outbound; + +/** @internal */ +export const DrainsFilterV2$outboundSchema: z.ZodType< + DrainsFilterV2$Outbound, + z.ZodTypeDef, + DrainsFilterV2 +> = z.union([ + z.lazy(() => GetDrainsFilterV22$outboundSchema), + z.lazy(() => GetDrainsFilterV21$outboundSchema), +]); + +export function drainsFilterV2ToJSON(drainsFilterV2: DrainsFilterV2): string { + return JSON.stringify(DrainsFilterV2$outboundSchema.parse(drainsFilterV2)); +} +export function drainsFilterV2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => DrainsFilterV2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'DrainsFilterV2' from JSON`, + ); +} + +/** @internal */ +export const Drains1$inboundSchema: z.ZodType = + z.object({ + id: z.string(), + ownerId: z.string(), + name: z.string(), + createdAt: z.number(), + createdFrom: DrainsCreatedFrom$inboundSchema.optional(), + updatedAt: z.number(), + projectIds: z.array(z.string()).optional(), + schemas: z.lazy(() => DrainsSchemas$inboundSchema).optional(), + delivery: z.union([ + z.lazy(() => GetDrainsDelivery1$inboundSchema), + z.lazy(() => GetDrainsDelivery2$inboundSchema), + z.lazy(() => GetDrainsDelivery3$inboundSchema), + z.lazy(() => GetDrainsDelivery4$inboundSchema), + ]).optional(), + sampling: z.array(z.lazy(() => DrainsSampling$inboundSchema)).optional(), + teamId: z.nullable(z.string()).optional(), + status: DrainsStatus$inboundSchema.optional(), + disabledAt: z.number().optional(), + disabledReason: DrainsDisabledReason$inboundSchema.optional(), + disabledBy: z.string().optional(), + firstErrorTimestamp: z.number().optional(), + configurationId: z.string().optional(), + clientId: z.string().optional(), + source: z.union([ + z.lazy(() => GetDrainsSource2$inboundSchema), + z.lazy(() => GetDrainsSource1$inboundSchema), + ]), + filter: z.string().optional(), + filterV2: z.union([ + z.lazy(() => GetDrainsFilterV22$inboundSchema), + z.lazy(() => GetDrainsFilterV21$inboundSchema), + ]).optional(), + }); +/** @internal */ +export type Drains1$Outbound = { + id: string; + ownerId: string; + name: string; + createdAt: number; + createdFrom?: string | undefined; + updatedAt: number; + projectIds?: Array | undefined; + schemas?: DrainsSchemas$Outbound | undefined; + delivery?: + | GetDrainsDelivery1$Outbound + | GetDrainsDelivery2$Outbound + | GetDrainsDelivery3$Outbound + | GetDrainsDelivery4$Outbound + | undefined; + sampling?: Array | undefined; + teamId?: string | null | undefined; + status?: string | undefined; + disabledAt?: number | undefined; + disabledReason?: string | undefined; + disabledBy?: string | undefined; + firstErrorTimestamp?: number | undefined; + configurationId?: string | undefined; + clientId?: string | undefined; + source: GetDrainsSource2$Outbound | GetDrainsSource1$Outbound; + filter?: string | undefined; + filterV2?: + | GetDrainsFilterV22$Outbound + | GetDrainsFilterV21$Outbound + | undefined; +}; + +/** @internal */ +export const Drains1$outboundSchema: z.ZodType< + Drains1$Outbound, + z.ZodTypeDef, + Drains1 +> = z.object({ + id: z.string(), + ownerId: z.string(), + name: z.string(), + createdAt: z.number(), + createdFrom: DrainsCreatedFrom$outboundSchema.optional(), + updatedAt: z.number(), + projectIds: z.array(z.string()).optional(), + schemas: z.lazy(() => DrainsSchemas$outboundSchema).optional(), + delivery: z.union([ + z.lazy(() => GetDrainsDelivery1$outboundSchema), + z.lazy(() => GetDrainsDelivery2$outboundSchema), + z.lazy(() => GetDrainsDelivery3$outboundSchema), + z.lazy(() => GetDrainsDelivery4$outboundSchema), + ]).optional(), + sampling: z.array(z.lazy(() => DrainsSampling$outboundSchema)).optional(), + teamId: z.nullable(z.string()).optional(), + status: DrainsStatus$outboundSchema.optional(), + disabledAt: z.number().optional(), + disabledReason: DrainsDisabledReason$outboundSchema.optional(), + disabledBy: z.string().optional(), + firstErrorTimestamp: z.number().optional(), + configurationId: z.string().optional(), + clientId: z.string().optional(), + source: z.union([ + z.lazy(() => GetDrainsSource2$outboundSchema), + z.lazy(() => GetDrainsSource1$outboundSchema), + ]), + filter: z.string().optional(), + filterV2: z.union([ + z.lazy(() => GetDrainsFilterV22$outboundSchema), + z.lazy(() => GetDrainsFilterV21$outboundSchema), + ]).optional(), +}); + +export function drains1ToJSON(drains1: Drains1): string { + return JSON.stringify(Drains1$outboundSchema.parse(drains1)); +} +export function drains1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Drains1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Drains1' from JSON`, + ); +} + +/** @internal */ +export const Drains$inboundSchema: z.ZodType = z + .union([ + z.array(z.lazy(() => Drains1$inboundSchema)), + z.array(z.lazy(() => Drains2$inboundSchema)), + ]); +/** @internal */ +export type Drains$Outbound = Array | Array; + +/** @internal */ +export const Drains$outboundSchema: z.ZodType< + Drains$Outbound, + z.ZodTypeDef, + Drains +> = z.union([ + z.array(z.lazy(() => Drains1$outboundSchema)), + z.array(z.lazy(() => Drains2$outboundSchema)), +]); + +export function drainsToJSON(drains: Drains): string { + return JSON.stringify(Drains$outboundSchema.parse(drains)); +} +export function drainsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Drains$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Drains' from JSON`, + ); +} + +/** @internal */ +export const GetDrainsResponseBody$inboundSchema: z.ZodType< + GetDrainsResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + drains: z.union([ + z.array(z.lazy(() => Drains1$inboundSchema)), + z.array(z.lazy(() => Drains2$inboundSchema)), + ]), +}); +/** @internal */ +export type GetDrainsResponseBody$Outbound = { + drains: Array | Array; +}; + +/** @internal */ +export const GetDrainsResponseBody$outboundSchema: z.ZodType< + GetDrainsResponseBody$Outbound, + z.ZodTypeDef, + GetDrainsResponseBody +> = z.object({ + drains: z.union([ + z.array(z.lazy(() => Drains1$outboundSchema)), + z.array(z.lazy(() => Drains2$outboundSchema)), + ]), +}); + +export function getDrainsResponseBodyToJSON( + getDrainsResponseBody: GetDrainsResponseBody, +): string { + return JSON.stringify( + GetDrainsResponseBody$outboundSchema.parse(getDrainsResponseBody), + ); +} +export function getDrainsResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetDrainsResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetDrainsResponseBody' from JSON`, + ); +} diff --git a/src/models/getedgeconfigbackupop.ts b/src/models/getedgeconfigbackupop.ts index 14e03b1f2..b6ef1b978 100644 --- a/src/models/getedgeconfigbackupop.ts +++ b/src/models/getedgeconfigbackupop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { @@ -124,7 +124,6 @@ export const GetEdgeConfigBackupRequest$inboundSchema: z.ZodType< teamId: z.string().optional(), slug: z.string().optional(), }); - /** @internal */ export type GetEdgeConfigBackupRequest$Outbound = { edgeConfigId: string; @@ -145,19 +144,6 @@ export const GetEdgeConfigBackupRequest$outboundSchema: z.ZodType< 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 { @@ -165,7 +151,6 @@ export function getEdgeConfigBackupRequestToJSON( GetEdgeConfigBackupRequest$outboundSchema.parse(getEdgeConfigBackupRequest), ); } - export function getEdgeConfigBackupRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -188,7 +173,6 @@ export const ResponseBodyUser$inboundSchema: z.ZodType< name: z.string().optional(), avatar: z.string().optional(), }); - /** @internal */ export type ResponseBodyUser$Outbound = { id: string; @@ -211,19 +195,6 @@ export const ResponseBodyUser$outboundSchema: z.ZodType< 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 { @@ -231,7 +202,6 @@ export function responseBodyUserToJSON( ResponseBodyUser$outboundSchema.parse(responseBodyUser), ); } - export function responseBodyUserFromJSON( jsonString: string, ): SafeParseResult { @@ -253,7 +223,6 @@ export const GetEdgeConfigBackupResponseBodyItems$inboundSchema: z.ZodType< description: z.string().optional(), createdAt: z.number(), }); - /** @internal */ export type GetEdgeConfigBackupResponseBodyItems$Outbound = { updatedAt: number; @@ -274,21 +243,6 @@ export const GetEdgeConfigBackupResponseBodyItems$outboundSchema: z.ZodType< 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 { @@ -298,7 +252,6 @@ export function getEdgeConfigBackupResponseBodyItemsToJSON( ), ); } - export function getEdgeConfigBackupResponseBodyItemsFromJSON( jsonString: string, ): SafeParseResult { @@ -323,7 +276,6 @@ export const ResponseBodyBackup$inboundSchema: z.ZodType< slug: z.string(), updatedAt: z.number(), }); - /** @internal */ export type ResponseBodyBackup$Outbound = { digest: string; @@ -346,19 +298,6 @@ export const ResponseBodyBackup$outboundSchema: z.ZodType< 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 { @@ -366,7 +305,6 @@ export function responseBodyBackupToJSON( ResponseBodyBackup$outboundSchema.parse(responseBodyBackup), ); } - export function responseBodyBackupFromJSON( jsonString: string, ): SafeParseResult { @@ -388,7 +326,6 @@ export const ResponseBodyMetadata$inboundSchema: z.ZodType< itemsCount: z.number().optional(), itemsBytes: z.number().optional(), }); - /** @internal */ export type ResponseBodyMetadata$Outbound = { updatedAt?: string | undefined; @@ -409,19 +346,6 @@ export const ResponseBodyMetadata$outboundSchema: z.ZodType< 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 { @@ -429,7 +353,6 @@ export function responseBodyMetadataToJSON( ResponseBodyMetadata$outboundSchema.parse(responseBodyMetadata), ); } - export function responseBodyMetadataFromJSON( jsonString: string, ): SafeParseResult { @@ -452,7 +375,6 @@ export const GetEdgeConfigBackupResponseBody2$inboundSchema: z.ZodType< backup: z.lazy(() => ResponseBodyBackup$inboundSchema), metadata: z.lazy(() => ResponseBodyMetadata$inboundSchema), }); - /** @internal */ export type GetEdgeConfigBackupResponseBody2$Outbound = { user: ResponseBodyUser$Outbound; @@ -475,19 +397,6 @@ export const GetEdgeConfigBackupResponseBody2$outboundSchema: z.ZodType< 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 { @@ -497,7 +406,6 @@ export function getEdgeConfigBackupResponseBody2ToJSON( ), ); } - export function getEdgeConfigBackupResponseBody2FromJSON( jsonString: string, ): SafeParseResult { @@ -519,7 +427,6 @@ export const ResponseBodyItems$inboundSchema: z.ZodType< description: z.string().optional(), createdAt: z.number(), }); - /** @internal */ export type ResponseBodyItems$Outbound = { updatedAt: number; @@ -540,19 +447,6 @@ export const ResponseBodyItems$outboundSchema: z.ZodType< 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 { @@ -560,7 +454,6 @@ export function responseBodyItemsToJSON( ResponseBodyItems$outboundSchema.parse(responseBodyItems), ); } - export function responseBodyItemsFromJSON( jsonString: string, ): SafeParseResult { @@ -579,7 +472,6 @@ export const Backup$inboundSchema: z.ZodType = z slug: z.string(), updatedAt: z.number(), }); - /** @internal */ export type Backup$Outbound = { digest: string; @@ -600,23 +492,9 @@ export const Backup$outboundSchema: z.ZodType< 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 { @@ -638,7 +516,6 @@ export const GetEdgeConfigBackupResponseBodyMetadata$inboundSchema: z.ZodType< itemsCount: z.number().optional(), itemsBytes: z.number().optional(), }); - /** @internal */ export type GetEdgeConfigBackupResponseBodyMetadata$Outbound = { updatedAt?: string | undefined; @@ -659,21 +536,6 @@ export const GetEdgeConfigBackupResponseBodyMetadata$outboundSchema: z.ZodType< 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 GetEdgeConfigBackupResponseBodyMetadata$ { - /** @deprecated use `GetEdgeConfigBackupResponseBodyMetadata$inboundSchema` instead. */ - export const inboundSchema = - GetEdgeConfigBackupResponseBodyMetadata$inboundSchema; - /** @deprecated use `GetEdgeConfigBackupResponseBodyMetadata$outboundSchema` instead. */ - export const outboundSchema = - GetEdgeConfigBackupResponseBodyMetadata$outboundSchema; - /** @deprecated use `GetEdgeConfigBackupResponseBodyMetadata$Outbound` instead. */ - export type Outbound = GetEdgeConfigBackupResponseBodyMetadata$Outbound; -} - export function getEdgeConfigBackupResponseBodyMetadataToJSON( getEdgeConfigBackupResponseBodyMetadata: GetEdgeConfigBackupResponseBodyMetadata, @@ -684,7 +546,6 @@ export function getEdgeConfigBackupResponseBodyMetadataToJSON( ), ); } - export function getEdgeConfigBackupResponseBodyMetadataFromJSON( jsonString: string, ): SafeParseResult< @@ -713,7 +574,6 @@ export const GetEdgeConfigBackupResponseBodyUser$inboundSchema: z.ZodType< name: z.string().optional(), avatar: z.string().optional(), }); - /** @internal */ export type GetEdgeConfigBackupResponseBodyUser$Outbound = { id: string; @@ -736,21 +596,6 @@ export const GetEdgeConfigBackupResponseBodyUser$outboundSchema: z.ZodType< 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 { @@ -760,7 +605,6 @@ export function getEdgeConfigBackupResponseBodyUserToJSON( ), ); } - export function getEdgeConfigBackupResponseBodyUserFromJSON( jsonString: string, ): SafeParseResult { @@ -785,7 +629,6 @@ export const GetEdgeConfigBackupResponseBody1$inboundSchema: z.ZodType< user: z.lazy(() => GetEdgeConfigBackupResponseBodyUser$inboundSchema) .optional(), }); - /** @internal */ export type GetEdgeConfigBackupResponseBody1$Outbound = { id: string; @@ -811,19 +654,6 @@ export const GetEdgeConfigBackupResponseBody1$outboundSchema: z.ZodType< .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 { @@ -833,7 +663,6 @@ export function getEdgeConfigBackupResponseBody1ToJSON( ), ); } - export function getEdgeConfigBackupResponseBody1FromJSON( jsonString: string, ): SafeParseResult { @@ -853,7 +682,6 @@ export const GetEdgeConfigBackupResponseBody$inboundSchema: z.ZodType< z.lazy(() => GetEdgeConfigBackupResponseBody2$inboundSchema), z.lazy(() => GetEdgeConfigBackupResponseBody1$inboundSchema), ]); - /** @internal */ export type GetEdgeConfigBackupResponseBody$Outbound = | GetEdgeConfigBackupResponseBody2$Outbound @@ -869,19 +697,6 @@ export const GetEdgeConfigBackupResponseBody$outboundSchema: z.ZodType< z.lazy(() => GetEdgeConfigBackupResponseBody1$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 { @@ -891,7 +706,6 @@ export function getEdgeConfigBackupResponseBodyToJSON( ), ); } - export function getEdgeConfigBackupResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/getedgeconfigbackupsop.ts b/src/models/getedgeconfigbackupsop.ts index 967736c9a..bf8a30efd 100644 --- a/src/models/getedgeconfigbackupsop.ts +++ b/src/models/getedgeconfigbackupsop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -58,7 +58,6 @@ export const GetEdgeConfigBackupsRequest$inboundSchema: z.ZodType< teamId: z.string().optional(), slug: z.string().optional(), }); - /** @internal */ export type GetEdgeConfigBackupsRequest$Outbound = { edgeConfigId: string; @@ -83,19 +82,6 @@ export const GetEdgeConfigBackupsRequest$outboundSchema: z.ZodType< 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 { @@ -105,7 +91,6 @@ export function getEdgeConfigBackupsRequestToJSON( ), ); } - export function getEdgeConfigBackupsRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -127,7 +112,6 @@ export const GetEdgeConfigBackupsMetadata$inboundSchema: z.ZodType< itemsCount: z.number().optional(), itemsBytes: z.number().optional(), }); - /** @internal */ export type GetEdgeConfigBackupsMetadata$Outbound = { updatedAt?: string | undefined; @@ -148,19 +132,6 @@ export const GetEdgeConfigBackupsMetadata$outboundSchema: z.ZodType< 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 { @@ -170,7 +141,6 @@ export function getEdgeConfigBackupsMetadataToJSON( ), ); } - export function getEdgeConfigBackupsMetadataFromJSON( jsonString: string, ): SafeParseResult { @@ -189,7 +159,6 @@ export const Backups$inboundSchema: z.ZodType = id: z.string(), lastModified: z.number(), }); - /** @internal */ export type Backups$Outbound = { metadata?: GetEdgeConfigBackupsMetadata$Outbound | undefined; @@ -209,23 +178,9 @@ export const Backups$outboundSchema: z.ZodType< 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 { @@ -245,7 +200,6 @@ export const GetEdgeConfigBackupsPagination$inboundSchema: z.ZodType< hasNext: z.boolean(), next: z.string().optional(), }); - /** @internal */ export type GetEdgeConfigBackupsPagination$Outbound = { hasNext: boolean; @@ -262,19 +216,6 @@ export const GetEdgeConfigBackupsPagination$outboundSchema: z.ZodType< 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 { @@ -284,7 +225,6 @@ export function getEdgeConfigBackupsPaginationToJSON( ), ); } - export function getEdgeConfigBackupsPaginationFromJSON( jsonString: string, ): SafeParseResult { @@ -304,7 +244,6 @@ export const GetEdgeConfigBackupsResponseBody$inboundSchema: z.ZodType< backups: z.array(z.lazy(() => Backups$inboundSchema)), pagination: z.lazy(() => GetEdgeConfigBackupsPagination$inboundSchema), }); - /** @internal */ export type GetEdgeConfigBackupsResponseBody$Outbound = { backups: Array; @@ -321,19 +260,6 @@ export const GetEdgeConfigBackupsResponseBody$outboundSchema: z.ZodType< 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 { @@ -343,7 +269,6 @@ export function getEdgeConfigBackupsResponseBodyToJSON( ), ); } - export function getEdgeConfigBackupsResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/getedgeconfigitemop.ts b/src/models/getedgeconfigitemop.ts index d45f91e13..ffb77a019 100644 --- a/src/models/getedgeconfigitemop.ts +++ b/src/models/getedgeconfigitemop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -31,7 +31,6 @@ export const GetEdgeConfigItemRequest$inboundSchema: z.ZodType< teamId: z.string().optional(), slug: z.string().optional(), }); - /** @internal */ export type GetEdgeConfigItemRequest$Outbound = { edgeConfigId: string; @@ -52,19 +51,6 @@ export const GetEdgeConfigItemRequest$outboundSchema: z.ZodType< 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 { @@ -72,7 +58,6 @@ export function getEdgeConfigItemRequestToJSON( GetEdgeConfigItemRequest$outboundSchema.parse(getEdgeConfigItemRequest), ); } - export function getEdgeConfigItemRequestFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/getedgeconfigitemsop.ts b/src/models/getedgeconfigitemsop.ts index 93f9ed392..ebf1fab9f 100644 --- a/src/models/getedgeconfigitemsop.ts +++ b/src/models/getedgeconfigitemsop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -29,7 +29,6 @@ export const GetEdgeConfigItemsRequest$inboundSchema: z.ZodType< teamId: z.string().optional(), slug: z.string().optional(), }); - /** @internal */ export type GetEdgeConfigItemsRequest$Outbound = { edgeConfigId: string; @@ -48,19 +47,6 @@ export const GetEdgeConfigItemsRequest$outboundSchema: z.ZodType< 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 { @@ -68,7 +54,6 @@ export function getEdgeConfigItemsRequestToJSON( GetEdgeConfigItemsRequest$outboundSchema.parse(getEdgeConfigItemsRequest), ); } - export function getEdgeConfigItemsRequestFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/getedgeconfigop.ts b/src/models/getedgeconfigop.ts index 078c4566b..22933692d 100644 --- a/src/models/getedgeconfigop.ts +++ b/src/models/getedgeconfigop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; @@ -97,7 +97,6 @@ export const GetEdgeConfigRequest$inboundSchema: z.ZodType< teamId: z.string().optional(), slug: z.string().optional(), }); - /** @internal */ export type GetEdgeConfigRequest$Outbound = { edgeConfigId: string; @@ -116,19 +115,6 @@ export const GetEdgeConfigRequest$outboundSchema: z.ZodType< 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 { @@ -136,7 +122,6 @@ export function getEdgeConfigRequestToJSON( GetEdgeConfigRequest$outboundSchema.parse(getEdgeConfigRequest), ); } - export function getEdgeConfigRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -157,7 +142,6 @@ export const GetEdgeConfigTransfer$inboundSchema: z.ZodType< startedAt: z.number(), doneAt: z.nullable(z.number()), }); - /** @internal */ export type GetEdgeConfigTransfer$Outbound = { fromAccountId: string; @@ -176,19 +160,6 @@ export const GetEdgeConfigTransfer$outboundSchema: z.ZodType< 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 { @@ -196,7 +167,6 @@ export function getEdgeConfigTransferToJSON( GetEdgeConfigTransfer$outboundSchema.parse(getEdgeConfigTransfer), ); } - export function getEdgeConfigTransferFromJSON( jsonString: string, ): SafeParseResult { @@ -213,7 +183,6 @@ export const GetEdgeConfigSchema$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({}); - /** @internal */ export type GetEdgeConfigSchema$Outbound = {}; @@ -224,19 +193,6 @@ export const GetEdgeConfigSchema$outboundSchema: z.ZodType< 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 { @@ -244,7 +200,6 @@ export function getEdgeConfigSchemaToJSON( GetEdgeConfigSchema$outboundSchema.parse(getEdgeConfigSchema), ); } - export function getEdgeConfigSchemaFromJSON( jsonString: string, ): SafeParseResult { @@ -259,24 +214,11 @@ export function getEdgeConfigSchemaFromJSON( export const GetEdgeConfigPurposeEdgeConfigType$inboundSchema: z.ZodNativeEnum< typeof GetEdgeConfigPurposeEdgeConfigType > = z.nativeEnum(GetEdgeConfigPurposeEdgeConfigType); - /** @internal */ export const GetEdgeConfigPurposeEdgeConfigType$outboundSchema: z.ZodNativeEnum< typeof GetEdgeConfigPurposeEdgeConfigType > = GetEdgeConfigPurposeEdgeConfigType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetEdgeConfigPurposeEdgeConfigType$ { - /** @deprecated use `GetEdgeConfigPurposeEdgeConfigType$inboundSchema` instead. */ - export const inboundSchema = GetEdgeConfigPurposeEdgeConfigType$inboundSchema; - /** @deprecated use `GetEdgeConfigPurposeEdgeConfigType$outboundSchema` instead. */ - export const outboundSchema = - GetEdgeConfigPurposeEdgeConfigType$outboundSchema; -} - /** @internal */ export const GetEdgeConfigPurpose2$inboundSchema: z.ZodType< GetEdgeConfigPurpose2, @@ -286,7 +228,6 @@ export const GetEdgeConfigPurpose2$inboundSchema: z.ZodType< type: GetEdgeConfigPurposeEdgeConfigType$inboundSchema, resourceId: z.string(), }); - /** @internal */ export type GetEdgeConfigPurpose2$Outbound = { type: string; @@ -303,19 +244,6 @@ export const GetEdgeConfigPurpose2$outboundSchema: z.ZodType< 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 GetEdgeConfigPurpose2$ { - /** @deprecated use `GetEdgeConfigPurpose2$inboundSchema` instead. */ - export const inboundSchema = GetEdgeConfigPurpose2$inboundSchema; - /** @deprecated use `GetEdgeConfigPurpose2$outboundSchema` instead. */ - export const outboundSchema = GetEdgeConfigPurpose2$outboundSchema; - /** @deprecated use `GetEdgeConfigPurpose2$Outbound` instead. */ - export type Outbound = GetEdgeConfigPurpose2$Outbound; -} - export function getEdgeConfigPurpose2ToJSON( getEdgeConfigPurpose2: GetEdgeConfigPurpose2, ): string { @@ -323,7 +251,6 @@ export function getEdgeConfigPurpose2ToJSON( GetEdgeConfigPurpose2$outboundSchema.parse(getEdgeConfigPurpose2), ); } - export function getEdgeConfigPurpose2FromJSON( jsonString: string, ): SafeParseResult { @@ -338,23 +265,11 @@ export function getEdgeConfigPurpose2FromJSON( export const GetEdgeConfigPurposeType$inboundSchema: z.ZodNativeEnum< typeof GetEdgeConfigPurposeType > = z.nativeEnum(GetEdgeConfigPurposeType); - /** @internal */ export const GetEdgeConfigPurposeType$outboundSchema: z.ZodNativeEnum< typeof GetEdgeConfigPurposeType > = GetEdgeConfigPurposeType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetEdgeConfigPurposeType$ { - /** @deprecated use `GetEdgeConfigPurposeType$inboundSchema` instead. */ - export const inboundSchema = GetEdgeConfigPurposeType$inboundSchema; - /** @deprecated use `GetEdgeConfigPurposeType$outboundSchema` instead. */ - export const outboundSchema = GetEdgeConfigPurposeType$outboundSchema; -} - /** @internal */ export const GetEdgeConfigPurpose1$inboundSchema: z.ZodType< GetEdgeConfigPurpose1, @@ -364,7 +279,6 @@ export const GetEdgeConfigPurpose1$inboundSchema: z.ZodType< type: GetEdgeConfigPurposeType$inboundSchema, projectId: z.string(), }); - /** @internal */ export type GetEdgeConfigPurpose1$Outbound = { type: string; @@ -381,19 +295,6 @@ export const GetEdgeConfigPurpose1$outboundSchema: z.ZodType< 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 GetEdgeConfigPurpose1$ { - /** @deprecated use `GetEdgeConfigPurpose1$inboundSchema` instead. */ - export const inboundSchema = GetEdgeConfigPurpose1$inboundSchema; - /** @deprecated use `GetEdgeConfigPurpose1$outboundSchema` instead. */ - export const outboundSchema = GetEdgeConfigPurpose1$outboundSchema; - /** @deprecated use `GetEdgeConfigPurpose1$Outbound` instead. */ - export type Outbound = GetEdgeConfigPurpose1$Outbound; -} - export function getEdgeConfigPurpose1ToJSON( getEdgeConfigPurpose1: GetEdgeConfigPurpose1, ): string { @@ -401,7 +302,6 @@ export function getEdgeConfigPurpose1ToJSON( GetEdgeConfigPurpose1$outboundSchema.parse(getEdgeConfigPurpose1), ); } - export function getEdgeConfigPurpose1FromJSON( jsonString: string, ): SafeParseResult { @@ -421,7 +321,6 @@ export const GetEdgeConfigPurpose$inboundSchema: z.ZodType< z.lazy(() => GetEdgeConfigPurpose1$inboundSchema), z.lazy(() => GetEdgeConfigPurpose2$inboundSchema), ]); - /** @internal */ export type GetEdgeConfigPurpose$Outbound = | GetEdgeConfigPurpose1$Outbound @@ -437,19 +336,6 @@ export const GetEdgeConfigPurpose$outboundSchema: z.ZodType< z.lazy(() => GetEdgeConfigPurpose2$outboundSchema), ]); -/** - * @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 { @@ -457,7 +343,6 @@ export function getEdgeConfigPurposeToJSON( GetEdgeConfigPurpose$outboundSchema.parse(getEdgeConfigPurpose), ); } - export function getEdgeConfigPurposeFromJSON( jsonString: string, ): SafeParseResult { @@ -491,7 +376,6 @@ export const GetEdgeConfigResponseBody$inboundSchema: z.ZodType< sizeInBytes: z.number(), itemCount: z.number(), }); - /** @internal */ export type GetEdgeConfigResponseBody$Outbound = { createdAt: number; @@ -536,19 +420,6 @@ export const GetEdgeConfigResponseBody$outboundSchema: z.ZodType< 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 { @@ -556,7 +427,6 @@ export function getEdgeConfigResponseBodyToJSON( GetEdgeConfigResponseBody$outboundSchema.parse(getEdgeConfigResponseBody), ); } - export function getEdgeConfigResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/getedgeconfigschemaop.ts b/src/models/getedgeconfigschemaop.ts index ec3a526b1..472da5146 100644 --- a/src/models/getedgeconfigschemaop.ts +++ b/src/models/getedgeconfigschemaop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -34,7 +34,6 @@ export const GetEdgeConfigSchemaRequest$inboundSchema: z.ZodType< teamId: z.string().optional(), slug: z.string().optional(), }); - /** @internal */ export type GetEdgeConfigSchemaRequest$Outbound = { edgeConfigId: string; @@ -53,19 +52,6 @@ export const GetEdgeConfigSchemaRequest$outboundSchema: z.ZodType< 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 { @@ -73,7 +59,6 @@ export function getEdgeConfigSchemaRequestToJSON( GetEdgeConfigSchemaRequest$outboundSchema.parse(getEdgeConfigSchemaRequest), ); } - export function getEdgeConfigSchemaRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -90,7 +75,6 @@ export const GetEdgeConfigSchemaResponseBody$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({}); - /** @internal */ export type GetEdgeConfigSchemaResponseBody$Outbound = {}; @@ -101,19 +85,6 @@ export const GetEdgeConfigSchemaResponseBody$outboundSchema: z.ZodType< 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 { @@ -123,7 +94,6 @@ export function getEdgeConfigSchemaResponseBodyToJSON( ), ); } - export function getEdgeConfigSchemaResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/getedgeconfigsop.ts b/src/models/getedgeconfigsop.ts index b8a17ffa8..3e5399956 100644 --- a/src/models/getedgeconfigsop.ts +++ b/src/models/getedgeconfigsop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; @@ -69,7 +69,6 @@ export const GetEdgeConfigsRequest$inboundSchema: z.ZodType< teamId: z.string().optional(), slug: z.string().optional(), }); - /** @internal */ export type GetEdgeConfigsRequest$Outbound = { teamId?: string | undefined; @@ -86,19 +85,6 @@ export const GetEdgeConfigsRequest$outboundSchema: z.ZodType< 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 { @@ -106,7 +92,6 @@ export function getEdgeConfigsRequestToJSON( GetEdgeConfigsRequest$outboundSchema.parse(getEdgeConfigsRequest), ); } - export function getEdgeConfigsRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -127,7 +112,6 @@ export const Transfer$inboundSchema: z.ZodType< startedAt: z.number(), doneAt: z.nullable(z.number()), }); - /** @internal */ export type Transfer$Outbound = { fromAccountId: string; @@ -146,23 +130,9 @@ export const Transfer$outboundSchema: z.ZodType< 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 { @@ -176,7 +146,6 @@ export function transferFromJSON( /** @internal */ export const Schema$inboundSchema: z.ZodType = z .object({}); - /** @internal */ export type Schema$Outbound = {}; @@ -187,23 +156,9 @@ export const Schema$outboundSchema: z.ZodType< 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 { @@ -218,30 +173,17 @@ export function schemaFromJSON( 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; @@ -258,23 +200,9 @@ export const Purpose$outboundSchema: z.ZodType< 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 { @@ -303,7 +231,6 @@ export const GetEdgeConfigsResponseBody$inboundSchema: z.ZodType< sizeInBytes: z.number(), itemCount: z.number(), }); - /** @internal */ export type GetEdgeConfigsResponseBody$Outbound = { id?: string | undefined; @@ -338,19 +265,6 @@ export const GetEdgeConfigsResponseBody$outboundSchema: z.ZodType< 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 { @@ -358,7 +272,6 @@ export function getEdgeConfigsResponseBodyToJSON( GetEdgeConfigsResponseBody$outboundSchema.parse(getEdgeConfigsResponseBody), ); } - export function getEdgeConfigsResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/getedgeconfigtokenop.ts b/src/models/getedgeconfigtokenop.ts index 4207ac5f7..c3f81f8d2 100644 --- a/src/models/getedgeconfigtokenop.ts +++ b/src/models/getedgeconfigtokenop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -31,7 +31,6 @@ export const GetEdgeConfigTokenRequest$inboundSchema: z.ZodType< teamId: z.string().optional(), slug: z.string().optional(), }); - /** @internal */ export type GetEdgeConfigTokenRequest$Outbound = { edgeConfigId: string; @@ -52,19 +51,6 @@ export const GetEdgeConfigTokenRequest$outboundSchema: z.ZodType< 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 { @@ -72,7 +58,6 @@ export function getEdgeConfigTokenRequestToJSON( GetEdgeConfigTokenRequest$outboundSchema.parse(getEdgeConfigTokenRequest), ); } - export function getEdgeConfigTokenRequestFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/getedgeconfigtokensop.ts b/src/models/getedgeconfigtokensop.ts index a44dba3a1..42ee01537 100644 --- a/src/models/getedgeconfigtokensop.ts +++ b/src/models/getedgeconfigtokensop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -29,7 +29,6 @@ export const GetEdgeConfigTokensRequest$inboundSchema: z.ZodType< teamId: z.string().optional(), slug: z.string().optional(), }); - /** @internal */ export type GetEdgeConfigTokensRequest$Outbound = { edgeConfigId: string; @@ -48,19 +47,6 @@ export const GetEdgeConfigTokensRequest$outboundSchema: z.ZodType< 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 { @@ -68,7 +54,6 @@ export function getEdgeConfigTokensRequestToJSON( GetEdgeConfigTokensRequest$outboundSchema.parse(getEdgeConfigTokensRequest), ); } - export function getEdgeConfigTokensRequestFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/getfirewallconfigop.ts b/src/models/getfirewallconfigop.ts index 82c35b011..171c34f63 100644 --- a/src/models/getfirewallconfigop.ts +++ b/src/models/getfirewallconfigop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; @@ -533,7 +533,6 @@ export const GetFirewallConfigRequest$inboundSchema: z.ZodType< slug: z.string().optional(), configVersion: z.string(), }); - /** @internal */ export type GetFirewallConfigRequest$Outbound = { projectId: string; @@ -554,19 +553,6 @@ export const GetFirewallConfigRequest$outboundSchema: z.ZodType< 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 { @@ -574,7 +560,6 @@ export function getFirewallConfigRequestToJSON( GetFirewallConfigRequest$outboundSchema.parse(getFirewallConfigRequest), ); } - export function getFirewallConfigRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -592,7 +577,6 @@ export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsS > = z.nativeEnum( GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSdAction, ); - /** @internal */ export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSdAction$outboundSchema: z.ZodNativeEnum< @@ -600,19 +584,6 @@ export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsS > = 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, @@ -623,7 +594,6 @@ export const GetFirewallConfigSd$inboundSchema: z.ZodType< action: GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSdAction$inboundSchema, }); - /** @internal */ export type GetFirewallConfigSd$Outbound = { active: boolean; @@ -641,19 +611,6 @@ export const GetFirewallConfigSd$outboundSchema: z.ZodType< 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 { @@ -661,7 +618,6 @@ export function getFirewallConfigSdToJSON( GetFirewallConfigSd$outboundSchema.parse(getFirewallConfigSd), ); } - export function getFirewallConfigSdFromJSON( jsonString: string, ): SafeParseResult { @@ -679,7 +635,6 @@ export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsM > = z.nativeEnum( GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsMaAction, ); - /** @internal */ export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsMaAction$outboundSchema: z.ZodNativeEnum< @@ -687,19 +642,6 @@ export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsM > = 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, @@ -710,7 +652,6 @@ export const GetFirewallConfigMa$inboundSchema: z.ZodType< action: GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsMaAction$inboundSchema, }); - /** @internal */ export type GetFirewallConfigMa$Outbound = { active: boolean; @@ -728,19 +669,6 @@ export const GetFirewallConfigMa$outboundSchema: z.ZodType< 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 { @@ -748,7 +676,6 @@ export function getFirewallConfigMaToJSON( GetFirewallConfigMa$outboundSchema.parse(getFirewallConfigMa), ); } - export function getFirewallConfigMaFromJSON( jsonString: string, ): SafeParseResult { @@ -763,25 +690,11 @@ export function getFirewallConfigMaFromJSON( 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, @@ -791,7 +704,6 @@ export const GetFirewallConfigLfi$inboundSchema: z.ZodType< active: z.boolean(), action: GetFirewallConfigSecurityResponseAction$inboundSchema, }); - /** @internal */ export type GetFirewallConfigLfi$Outbound = { active: boolean; @@ -808,19 +720,6 @@ export const GetFirewallConfigLfi$outboundSchema: z.ZodType< 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 { @@ -828,7 +727,6 @@ export function getFirewallConfigLfiToJSON( GetFirewallConfigLfi$outboundSchema.parse(getFirewallConfigLfi), ); } - export function getFirewallConfigLfiFromJSON( jsonString: string, ): SafeParseResult { @@ -843,25 +741,11 @@ export function getFirewallConfigLfiFromJSON( 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, @@ -871,7 +755,6 @@ export const GetFirewallConfigRfi$inboundSchema: z.ZodType< active: z.boolean(), action: GetFirewallConfigSecurityResponse200Action$inboundSchema, }); - /** @internal */ export type GetFirewallConfigRfi$Outbound = { active: boolean; @@ -888,19 +771,6 @@ export const GetFirewallConfigRfi$outboundSchema: z.ZodType< 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 { @@ -908,7 +778,6 @@ export function getFirewallConfigRfiToJSON( GetFirewallConfigRfi$outboundSchema.parse(getFirewallConfigRfi), ); } - export function getFirewallConfigRfiFromJSON( jsonString: string, ): SafeParseResult { @@ -924,26 +793,12 @@ export const GetFirewallConfigSecurityResponse200ApplicationJSONAction$inboundSc 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, @@ -954,7 +809,6 @@ export const GetFirewallConfigRce$inboundSchema: z.ZodType< action: GetFirewallConfigSecurityResponse200ApplicationJSONAction$inboundSchema, }); - /** @internal */ export type GetFirewallConfigRce$Outbound = { active: boolean; @@ -972,19 +826,6 @@ export const GetFirewallConfigRce$outboundSchema: z.ZodType< 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 { @@ -992,7 +833,6 @@ export function getFirewallConfigRceToJSON( GetFirewallConfigRce$outboundSchema.parse(getFirewallConfigRce), ); } - export function getFirewallConfigRceFromJSON( jsonString: string, ): SafeParseResult { @@ -1010,7 +850,6 @@ export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActi > = z.nativeEnum( GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction, ); - /** @internal */ export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction$outboundSchema: z.ZodNativeEnum< @@ -1018,19 +857,6 @@ export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActi > = 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, @@ -1041,7 +867,6 @@ export const GetFirewallConfigPhp$inboundSchema: z.ZodType< action: GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction$inboundSchema, }); - /** @internal */ export type GetFirewallConfigPhp$Outbound = { active: boolean; @@ -1059,19 +884,6 @@ export const GetFirewallConfigPhp$outboundSchema: z.ZodType< 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 { @@ -1079,7 +891,6 @@ export function getFirewallConfigPhpToJSON( GetFirewallConfigPhp$outboundSchema.parse(getFirewallConfigPhp), ); } - export function getFirewallConfigPhpFromJSON( jsonString: string, ): SafeParseResult { @@ -1097,7 +908,6 @@ export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsA > = z.nativeEnum( GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsAction, ); - /** @internal */ export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsAction$outboundSchema: z.ZodNativeEnum< @@ -1105,19 +915,6 @@ export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsA > = 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, @@ -1128,7 +925,6 @@ export const GetFirewallConfigGen$inboundSchema: z.ZodType< action: GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsAction$inboundSchema, }); - /** @internal */ export type GetFirewallConfigGen$Outbound = { active: boolean; @@ -1146,19 +942,6 @@ export const GetFirewallConfigGen$outboundSchema: z.ZodType< 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 { @@ -1166,7 +949,6 @@ export function getFirewallConfigGenToJSON( GetFirewallConfigGen$outboundSchema.parse(getFirewallConfigGen), ); } - export function getFirewallConfigGenFromJSON( jsonString: string, ): SafeParseResult { @@ -1184,7 +966,6 @@ export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsX > = z.nativeEnum( GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsXssAction, ); - /** @internal */ export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsXssAction$outboundSchema: z.ZodNativeEnum< @@ -1192,19 +973,6 @@ export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsX > = 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, @@ -1215,7 +983,6 @@ export const GetFirewallConfigXss$inboundSchema: z.ZodType< action: GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsXssAction$inboundSchema, }); - /** @internal */ export type GetFirewallConfigXss$Outbound = { active: boolean; @@ -1233,19 +1000,6 @@ export const GetFirewallConfigXss$outboundSchema: z.ZodType< 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 { @@ -1253,7 +1007,6 @@ export function getFirewallConfigXssToJSON( GetFirewallConfigXss$outboundSchema.parse(getFirewallConfigXss), ); } - export function getFirewallConfigXssFromJSON( jsonString: string, ): SafeParseResult { @@ -1271,7 +1024,6 @@ export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsS > = z.nativeEnum( GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSqliAction, ); - /** @internal */ export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSqliAction$outboundSchema: z.ZodNativeEnum< @@ -1279,19 +1031,6 @@ export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsS > = 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, @@ -1302,7 +1041,6 @@ export const GetFirewallConfigSqli$inboundSchema: z.ZodType< action: GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSqliAction$inboundSchema, }); - /** @internal */ export type GetFirewallConfigSqli$Outbound = { active: boolean; @@ -1320,19 +1058,6 @@ export const GetFirewallConfigSqli$outboundSchema: z.ZodType< 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 { @@ -1340,7 +1065,6 @@ export function getFirewallConfigSqliToJSON( GetFirewallConfigSqli$outboundSchema.parse(getFirewallConfigSqli), ); } - export function getFirewallConfigSqliFromJSON( jsonString: string, ): SafeParseResult { @@ -1358,7 +1082,6 @@ export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsS > = z.nativeEnum( GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSfAction, ); - /** @internal */ export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSfAction$outboundSchema: z.ZodNativeEnum< @@ -1366,19 +1089,6 @@ export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsS > = 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, @@ -1389,7 +1099,6 @@ export const GetFirewallConfigSf$inboundSchema: z.ZodType< action: GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsSfAction$inboundSchema, }); - /** @internal */ export type GetFirewallConfigSf$Outbound = { active: boolean; @@ -1407,19 +1116,6 @@ export const GetFirewallConfigSf$outboundSchema: z.ZodType< 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 { @@ -1427,7 +1123,6 @@ export function getFirewallConfigSfToJSON( GetFirewallConfigSf$outboundSchema.parse(getFirewallConfigSf), ); } - export function getFirewallConfigSfFromJSON( jsonString: string, ): SafeParseResult { @@ -1445,7 +1140,6 @@ export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsJ > = z.nativeEnum( GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsJavaAction, ); - /** @internal */ export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsJavaAction$outboundSchema: z.ZodNativeEnum< @@ -1453,19 +1147,6 @@ export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsJ > = 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, @@ -1476,7 +1157,6 @@ export const GetFirewallConfigJava$inboundSchema: z.ZodType< action: GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyCrsJavaAction$inboundSchema, }); - /** @internal */ export type GetFirewallConfigJava$Outbound = { active: boolean; @@ -1494,19 +1174,6 @@ export const GetFirewallConfigJava$outboundSchema: z.ZodType< 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 { @@ -1514,7 +1181,6 @@ export function getFirewallConfigJavaToJSON( GetFirewallConfigJava$outboundSchema.parse(getFirewallConfigJava), ); } - export function getFirewallConfigJavaFromJSON( jsonString: string, ): SafeParseResult { @@ -1543,7 +1209,6 @@ export const GetFirewallConfigCrs$inboundSchema: z.ZodType< sf: z.lazy(() => GetFirewallConfigSf$inboundSchema), java: z.lazy(() => GetFirewallConfigJava$inboundSchema), }); - /** @internal */ export type GetFirewallConfigCrs$Outbound = { sd: GetFirewallConfigSd$Outbound; @@ -1578,19 +1243,6 @@ export const GetFirewallConfigCrs$outboundSchema: z.ZodType< 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 { @@ -1598,7 +1250,6 @@ export function getFirewallConfigCrsToJSON( GetFirewallConfigCrs$outboundSchema.parse(getFirewallConfigCrs), ); } - export function getFirewallConfigCrsFromJSON( jsonString: string, ): SafeParseResult { @@ -1613,51 +1264,26 @@ export function getFirewallConfigCrsFromJSON( 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; @@ -1668,19 +1294,6 @@ export const GetFirewallConfigValue$outboundSchema: z.ZodType< 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 { @@ -1688,7 +1301,6 @@ export function getFirewallConfigValueToJSON( GetFirewallConfigValue$outboundSchema.parse(getFirewallConfigValue), ); } - export function getFirewallConfigValueFromJSON( jsonString: string, ): SafeParseResult { @@ -1711,7 +1323,6 @@ export const GetFirewallConfigConditions$inboundSchema: z.ZodType< key: z.string().optional(), value: z.union([z.string(), z.number(), z.array(z.string())]).optional(), }); - /** @internal */ export type GetFirewallConfigConditions$Outbound = { type: string; @@ -1734,19 +1345,6 @@ export const GetFirewallConfigConditions$outboundSchema: z.ZodType< 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 { @@ -1756,7 +1354,6 @@ export function getFirewallConfigConditionsToJSON( ), ); } - export function getFirewallConfigConditionsFromJSON( jsonString: string, ): SafeParseResult { @@ -1775,7 +1372,6 @@ export const GetFirewallConfigConditionGroup$inboundSchema: z.ZodType< > = z.object({ conditions: z.array(z.lazy(() => GetFirewallConfigConditions$inboundSchema)), }); - /** @internal */ export type GetFirewallConfigConditionGroup$Outbound = { conditions: Array; @@ -1790,19 +1386,6 @@ export const GetFirewallConfigConditionGroup$outboundSchema: z.ZodType< 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 { @@ -1812,7 +1395,6 @@ export function getFirewallConfigConditionGroupToJSON( ), ); } - export function getFirewallConfigConditionGroupFromJSON( jsonString: string, ): SafeParseResult { @@ -1830,7 +1412,6 @@ export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRule > = z.nativeEnum( GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesAction, ); - /** @internal */ export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesAction$outboundSchema: z.ZodNativeEnum< @@ -1838,40 +1419,15 @@ export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRule > = 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< @@ -1879,7 +1435,6 @@ export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRule > = z.nativeEnum( GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesActionAction, ); - /** @internal */ export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesActionAction$outboundSchema: z.ZodNativeEnum< @@ -1887,19 +1442,6 @@ export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRule > = 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, @@ -1914,7 +1456,6 @@ export const GetFirewallConfigRateLimit$inboundSchema: z.ZodType< GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyRulesActionAction$inboundSchema, ).optional(), }); - /** @internal */ export type GetFirewallConfigRateLimit$Outbound = { algo: string; @@ -1939,19 +1480,6 @@ export const GetFirewallConfigRateLimit$outboundSchema: z.ZodType< ).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 { @@ -1959,7 +1487,6 @@ export function getFirewallConfigRateLimitToJSON( GetFirewallConfigRateLimit$outboundSchema.parse(getFirewallConfigRateLimit), ); } - export function getFirewallConfigRateLimitFromJSON( jsonString: string, ): SafeParseResult { @@ -1979,7 +1506,6 @@ export const GetFirewallConfigRedirect$inboundSchema: z.ZodType< location: z.string(), permanent: z.boolean(), }); - /** @internal */ export type GetFirewallConfigRedirect$Outbound = { location: string; @@ -1996,19 +1522,6 @@ export const GetFirewallConfigRedirect$outboundSchema: z.ZodType< 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 { @@ -2016,7 +1529,6 @@ export function getFirewallConfigRedirectToJSON( GetFirewallConfigRedirect$outboundSchema.parse(getFirewallConfigRedirect), ); } - export function getFirewallConfigRedirectFromJSON( jsonString: string, ): SafeParseResult { @@ -2042,7 +1554,6 @@ export const GetFirewallConfigMitigate$inboundSchema: z.ZodType< actionDuration: z.nullable(z.string()).optional(), bypassSystem: z.nullable(z.boolean()).optional(), }); - /** @internal */ export type GetFirewallConfigMitigate$Outbound = { action: string; @@ -2068,19 +1579,6 @@ export const GetFirewallConfigMitigate$outboundSchema: z.ZodType< bypassSystem: z.nullable(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 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 { @@ -2088,7 +1586,6 @@ export function getFirewallConfigMitigateToJSON( GetFirewallConfigMitigate$outboundSchema.parse(getFirewallConfigMitigate), ); } - export function getFirewallConfigMitigateFromJSON( jsonString: string, ): SafeParseResult { @@ -2107,7 +1604,6 @@ export const GetFirewallConfigAction$inboundSchema: z.ZodType< > = z.object({ mitigate: z.lazy(() => GetFirewallConfigMitigate$inboundSchema).optional(), }); - /** @internal */ export type GetFirewallConfigAction$Outbound = { mitigate?: GetFirewallConfigMitigate$Outbound | undefined; @@ -2122,19 +1618,6 @@ export const GetFirewallConfigAction$outboundSchema: z.ZodType< 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 { @@ -2142,7 +1625,6 @@ export function getFirewallConfigActionToJSON( GetFirewallConfigAction$outboundSchema.parse(getFirewallConfigAction), ); } - export function getFirewallConfigActionFromJSON( jsonString: string, ): SafeParseResult { @@ -2168,7 +1650,6 @@ export const GetFirewallConfigRules$inboundSchema: z.ZodType< ), action: z.lazy(() => GetFirewallConfigAction$inboundSchema), }); - /** @internal */ export type GetFirewallConfigRules$Outbound = { id: string; @@ -2195,19 +1676,6 @@ export const GetFirewallConfigRules$outboundSchema: z.ZodType< 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 { @@ -2215,7 +1683,6 @@ export function getFirewallConfigRulesToJSON( GetFirewallConfigRules$outboundSchema.parse(getFirewallConfigRules), ); } - export function getFirewallConfigRulesFromJSON( jsonString: string, ): SafeParseResult { @@ -2230,23 +1697,11 @@ export function getFirewallConfigRulesFromJSON( 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, @@ -2259,7 +1714,6 @@ export const GetFirewallConfigIps$inboundSchema: z.ZodType< notes: z.string().optional(), action: GetFirewallConfigSecurityAction$inboundSchema, }); - /** @internal */ export type GetFirewallConfigIps$Outbound = { id: string; @@ -2282,19 +1736,6 @@ export const GetFirewallConfigIps$outboundSchema: z.ZodType< 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 { @@ -2302,7 +1743,6 @@ export function getFirewallConfigIpsToJSON( GetFirewallConfigIps$outboundSchema.parse(getFirewallConfigIps), ); } - export function getFirewallConfigIpsFromJSON( jsonString: string, ): SafeParseResult { @@ -2316,7 +1756,6 @@ export function getFirewallConfigIpsFromJSON( /** @internal */ export const Changes$inboundSchema: z.ZodType = z.object({}); - /** @internal */ export type Changes$Outbound = {}; @@ -2327,23 +1766,9 @@ export const Changes$outboundSchema: z.ZodType< 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 { @@ -2361,7 +1786,6 @@ export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyMana > = z.nativeEnum( GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyManagedRulesAction, ); - /** @internal */ export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyManagedRulesAction$outboundSchema: z.ZodNativeEnum< @@ -2369,19 +1793,6 @@ export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyMana > = GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyManagedRulesAction$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyManagedRulesAction$ { - /** @deprecated use `GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyManagedRulesAction$inboundSchema` instead. */ - export const inboundSchema = - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyManagedRulesAction$inboundSchema; - /** @deprecated use `GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyManagedRulesAction$outboundSchema` instead. */ - export const outboundSchema = - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyManagedRulesAction$outboundSchema; -} - /** @internal */ export const BotProtection$inboundSchema: z.ZodType< BotProtection, @@ -2396,7 +1807,6 @@ export const BotProtection$inboundSchema: z.ZodType< userId: z.string().optional(), username: z.string().optional(), }); - /** @internal */ export type BotProtection$Outbound = { active: boolean; @@ -2421,23 +1831,9 @@ export const BotProtection$outboundSchema: z.ZodType< 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 BotProtection$ { - /** @deprecated use `BotProtection$inboundSchema` instead. */ - export const inboundSchema = BotProtection$inboundSchema; - /** @deprecated use `BotProtection$outboundSchema` instead. */ - export const outboundSchema = BotProtection$outboundSchema; - /** @deprecated use `BotProtection$Outbound` instead. */ - export type Outbound = BotProtection$Outbound; -} - export function botProtectionToJSON(botProtection: BotProtection): string { return JSON.stringify(BotProtection$outboundSchema.parse(botProtection)); } - export function botProtectionFromJSON( jsonString: string, ): SafeParseResult { @@ -2455,7 +1851,6 @@ export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyMana > = z.nativeEnum( GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyManagedRulesAiBotsAction, ); - /** @internal */ export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyManagedRulesAiBotsAction$outboundSchema: z.ZodNativeEnum< @@ -2463,19 +1858,6 @@ export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyMana > = GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyManagedRulesAiBotsAction$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyManagedRulesAiBotsAction$ { - /** @deprecated use `GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyManagedRulesAiBotsAction$inboundSchema` instead. */ - export const inboundSchema = - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyManagedRulesAiBotsAction$inboundSchema; - /** @deprecated use `GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyManagedRulesAiBotsAction$outboundSchema` instead. */ - export const outboundSchema = - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyManagedRulesAiBotsAction$outboundSchema; -} - /** @internal */ export const AiBots$inboundSchema: z.ZodType = z .object({ @@ -2487,7 +1869,6 @@ export const AiBots$inboundSchema: z.ZodType = z userId: z.string().optional(), username: z.string().optional(), }); - /** @internal */ export type AiBots$Outbound = { active: boolean; @@ -2512,23 +1893,9 @@ export const AiBots$outboundSchema: z.ZodType< 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 AiBots$ { - /** @deprecated use `AiBots$inboundSchema` instead. */ - export const inboundSchema = AiBots$inboundSchema; - /** @deprecated use `AiBots$outboundSchema` instead. */ - export const outboundSchema = AiBots$outboundSchema; - /** @deprecated use `AiBots$Outbound` instead. */ - export type Outbound = AiBots$Outbound; -} - export function aiBotsToJSON(aiBots: AiBots): string { return JSON.stringify(AiBots$outboundSchema.parse(aiBots)); } - export function aiBotsFromJSON( jsonString: string, ): SafeParseResult { @@ -2546,7 +1913,6 @@ export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyMana > = z.nativeEnum( GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyManagedRulesOwaspAction, ); - /** @internal */ export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyManagedRulesOwaspAction$outboundSchema: z.ZodNativeEnum< @@ -2554,19 +1920,6 @@ export const GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyMana > = GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyManagedRulesOwaspAction$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyManagedRulesOwaspAction$ { - /** @deprecated use `GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyManagedRulesOwaspAction$inboundSchema` instead. */ - export const inboundSchema = - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyManagedRulesOwaspAction$inboundSchema; - /** @deprecated use `GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyManagedRulesOwaspAction$outboundSchema` instead. */ - export const outboundSchema = - GetFirewallConfigSecurityResponse200ApplicationJSONResponseBodyManagedRulesOwaspAction$outboundSchema; -} - /** @internal */ export const Owasp$inboundSchema: z.ZodType = z .object({ @@ -2578,7 +1931,6 @@ export const Owasp$inboundSchema: z.ZodType = z userId: z.string().optional(), username: z.string().optional(), }); - /** @internal */ export type Owasp$Outbound = { active: boolean; @@ -2603,23 +1955,9 @@ export const Owasp$outboundSchema: z.ZodType< 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 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 { @@ -2645,7 +1983,6 @@ export const ManagedRules$inboundSchema: z.ZodType< "ai_bots": "aiBots", }); }); - /** @internal */ export type ManagedRules$Outbound = { bot_protection?: BotProtection$Outbound | undefined; @@ -2669,23 +2006,9 @@ export const ManagedRules$outboundSchema: z.ZodType< }); }); -/** - * @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 { @@ -2715,7 +2038,6 @@ export const GetFirewallConfigResponseBody$inboundSchema: z.ZodType< managedRules: z.lazy(() => ManagedRules$inboundSchema).optional(), botIdEnabled: z.boolean().optional(), }); - /** @internal */ export type GetFirewallConfigResponseBody$Outbound = { ownerId: string; @@ -2752,19 +2074,6 @@ export const GetFirewallConfigResponseBody$outboundSchema: z.ZodType< botIdEnabled: 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 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 { @@ -2774,7 +2083,6 @@ export function getFirewallConfigResponseBodyToJSON( ), ); } - export function getFirewallConfigResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/getintegrationlogdrainsop.ts b/src/models/getintegrationlogdrainsop.ts index 9ad325ade..e6bf5cbc4 100644 --- a/src/models/getintegrationlogdrainsop.ts +++ b/src/models/getintegrationlogdrainsop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; @@ -25,7 +25,6 @@ export type GetIntegrationLogDrainsRequest = { export const GetIntegrationLogDrainsDeliveryFormat = { Json: "json", Ndjson: "ndjson", - Syslog: "syslog", Protobuf: "protobuf", } as const; /** @@ -45,6 +44,7 @@ export const GetIntegrationLogDrainsSources = { Static: "static", External: "external", Firewall: "firewall", + Redirect: "redirect", } as const; /** * The sources from which logs are currently being delivered to this log drain. @@ -84,7 +84,7 @@ export const SourceKind = { } as const; export type SourceKind = ClosedEnum; -export type Source2 = { +export type GetIntegrationLogDrainsSource2 = { kind: SourceKind; resourceId?: string | undefined; externalResourceId?: string | undefined; @@ -97,11 +97,13 @@ export const Kind = { } as const; export type Kind = ClosedEnum; -export type Source1 = { +export type GetIntegrationLogDrainsSource1 = { kind: Kind; }; -export type GetIntegrationLogDrainsSource = Source2 | Source1; +export type GetIntegrationLogDrainsSource = + | GetIntegrationLogDrainsSource2 + | GetIntegrationLogDrainsSource1; export type GetIntegrationLogDrainsResponseBody = { /** @@ -165,7 +167,7 @@ export type GetIntegrationLogDrainsResponseBody = { * The sampling rate of log drain */ samplingRate?: number | undefined; - source: Source2 | Source1; + source: GetIntegrationLogDrainsSource2 | GetIntegrationLogDrainsSource1; }; /** @internal */ @@ -177,7 +179,6 @@ export const GetIntegrationLogDrainsRequest$inboundSchema: z.ZodType< teamId: z.string().optional(), slug: z.string().optional(), }); - /** @internal */ export type GetIntegrationLogDrainsRequest$Outbound = { teamId?: string | undefined; @@ -194,19 +195,6 @@ export const GetIntegrationLogDrainsRequest$outboundSchema: z.ZodType< 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 { @@ -216,7 +204,6 @@ export function getIntegrationLogDrainsRequestToJSON( ), ); } - export function getIntegrationLogDrainsRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -232,119 +219,57 @@ 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 SourceKind$inboundSchema: z.ZodNativeEnum = z .nativeEnum(SourceKind); - /** @internal */ export const SourceKind$outboundSchema: z.ZodNativeEnum = SourceKind$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace SourceKind$ { - /** @deprecated use `SourceKind$inboundSchema` instead. */ - export const inboundSchema = SourceKind$inboundSchema; - /** @deprecated use `SourceKind$outboundSchema` instead. */ - export const outboundSchema = SourceKind$outboundSchema; -} - /** @internal */ -export const Source2$inboundSchema: z.ZodType = - z.object({ - kind: SourceKind$inboundSchema, - resourceId: z.string().optional(), - externalResourceId: z.string().optional(), - integrationId: z.string(), - integrationConfigurationId: z.string(), - }); - +export const GetIntegrationLogDrainsSource2$inboundSchema: z.ZodType< + GetIntegrationLogDrainsSource2, + z.ZodTypeDef, + unknown +> = z.object({ + kind: SourceKind$inboundSchema, + resourceId: z.string().optional(), + externalResourceId: z.string().optional(), + integrationId: z.string(), + integrationConfigurationId: z.string(), +}); /** @internal */ -export type Source2$Outbound = { +export type GetIntegrationLogDrainsSource2$Outbound = { kind: string; resourceId?: string | undefined; externalResourceId?: string | undefined; @@ -353,10 +278,10 @@ export type Source2$Outbound = { }; /** @internal */ -export const Source2$outboundSchema: z.ZodType< - Source2$Outbound, +export const GetIntegrationLogDrainsSource2$outboundSchema: z.ZodType< + GetIntegrationLogDrainsSource2$Outbound, z.ZodTypeDef, - Source2 + GetIntegrationLogDrainsSource2 > = z.object({ kind: SourceKind$outboundSchema, resourceId: z.string().optional(), @@ -365,30 +290,22 @@ export const Source2$outboundSchema: z.ZodType< 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 Source2$ { - /** @deprecated use `Source2$inboundSchema` instead. */ - export const inboundSchema = Source2$inboundSchema; - /** @deprecated use `Source2$outboundSchema` instead. */ - export const outboundSchema = Source2$outboundSchema; - /** @deprecated use `Source2$Outbound` instead. */ - export type Outbound = Source2$Outbound; -} - -export function source2ToJSON(source2: Source2): string { - return JSON.stringify(Source2$outboundSchema.parse(source2)); +export function getIntegrationLogDrainsSource2ToJSON( + getIntegrationLogDrainsSource2: GetIntegrationLogDrainsSource2, +): string { + return JSON.stringify( + GetIntegrationLogDrainsSource2$outboundSchema.parse( + getIntegrationLogDrainsSource2, + ), + ); } - -export function source2FromJSON( +export function getIntegrationLogDrainsSource2FromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => Source2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Source2' from JSON`, + (x) => GetIntegrationLogDrainsSource2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetIntegrationLogDrainsSource2' from JSON`, ); } @@ -396,66 +313,48 @@ export function source2FromJSON( export const Kind$inboundSchema: z.ZodNativeEnum = z.nativeEnum( Kind, ); - /** @internal */ export const Kind$outboundSchema: z.ZodNativeEnum = Kind$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Kind$ { - /** @deprecated use `Kind$inboundSchema` instead. */ - export const inboundSchema = Kind$inboundSchema; - /** @deprecated use `Kind$outboundSchema` instead. */ - export const outboundSchema = Kind$outboundSchema; -} - /** @internal */ -export const Source1$inboundSchema: z.ZodType = - z.object({ - kind: Kind$inboundSchema, - }); - +export const GetIntegrationLogDrainsSource1$inboundSchema: z.ZodType< + GetIntegrationLogDrainsSource1, + z.ZodTypeDef, + unknown +> = z.object({ + kind: Kind$inboundSchema, +}); /** @internal */ -export type Source1$Outbound = { +export type GetIntegrationLogDrainsSource1$Outbound = { kind: string; }; /** @internal */ -export const Source1$outboundSchema: z.ZodType< - Source1$Outbound, +export const GetIntegrationLogDrainsSource1$outboundSchema: z.ZodType< + GetIntegrationLogDrainsSource1$Outbound, z.ZodTypeDef, - Source1 + GetIntegrationLogDrainsSource1 > = z.object({ kind: Kind$outboundSchema, }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Source1$ { - /** @deprecated use `Source1$inboundSchema` instead. */ - export const inboundSchema = Source1$inboundSchema; - /** @deprecated use `Source1$outboundSchema` instead. */ - export const outboundSchema = Source1$outboundSchema; - /** @deprecated use `Source1$Outbound` instead. */ - export type Outbound = Source1$Outbound; -} - -export function source1ToJSON(source1: Source1): string { - return JSON.stringify(Source1$outboundSchema.parse(source1)); +export function getIntegrationLogDrainsSource1ToJSON( + getIntegrationLogDrainsSource1: GetIntegrationLogDrainsSource1, +): string { + return JSON.stringify( + GetIntegrationLogDrainsSource1$outboundSchema.parse( + getIntegrationLogDrainsSource1, + ), + ); } - -export function source1FromJSON( +export function getIntegrationLogDrainsSource1FromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => Source1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Source1' from JSON`, + (x) => GetIntegrationLogDrainsSource1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetIntegrationLogDrainsSource1' from JSON`, ); } @@ -465,14 +364,13 @@ export const GetIntegrationLogDrainsSource$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.union([ - z.lazy(() => Source2$inboundSchema), - z.lazy(() => Source1$inboundSchema), + z.lazy(() => GetIntegrationLogDrainsSource2$inboundSchema), + z.lazy(() => GetIntegrationLogDrainsSource1$inboundSchema), ]); - /** @internal */ export type GetIntegrationLogDrainsSource$Outbound = - | Source2$Outbound - | Source1$Outbound; + | GetIntegrationLogDrainsSource2$Outbound + | GetIntegrationLogDrainsSource1$Outbound; /** @internal */ export const GetIntegrationLogDrainsSource$outboundSchema: z.ZodType< @@ -480,23 +378,10 @@ export const GetIntegrationLogDrainsSource$outboundSchema: z.ZodType< z.ZodTypeDef, GetIntegrationLogDrainsSource > = z.union([ - z.lazy(() => Source2$outboundSchema), - z.lazy(() => Source1$outboundSchema), + z.lazy(() => GetIntegrationLogDrainsSource2$outboundSchema), + z.lazy(() => GetIntegrationLogDrainsSource1$outboundSchema), ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetIntegrationLogDrainsSource$ { - /** @deprecated use `GetIntegrationLogDrainsSource$inboundSchema` instead. */ - export const inboundSchema = GetIntegrationLogDrainsSource$inboundSchema; - /** @deprecated use `GetIntegrationLogDrainsSource$outboundSchema` instead. */ - export const outboundSchema = GetIntegrationLogDrainsSource$outboundSchema; - /** @deprecated use `GetIntegrationLogDrainsSource$Outbound` instead. */ - export type Outbound = GetIntegrationLogDrainsSource$Outbound; -} - export function getIntegrationLogDrainsSourceToJSON( getIntegrationLogDrainsSource: GetIntegrationLogDrainsSource, ): string { @@ -506,7 +391,6 @@ export function getIntegrationLogDrainsSourceToJSON( ), ); } - export function getIntegrationLogDrainsSourceFromJSON( jsonString: string, ): SafeParseResult { @@ -542,11 +426,10 @@ export const GetIntegrationLogDrainsResponseBody$inboundSchema: z.ZodType< branch: z.string().optional(), samplingRate: z.number().optional(), source: z.union([ - z.lazy(() => Source2$inboundSchema), - z.lazy(() => Source1$inboundSchema), + z.lazy(() => GetIntegrationLogDrainsSource2$inboundSchema), + z.lazy(() => GetIntegrationLogDrainsSource1$inboundSchema), ]), }); - /** @internal */ export type GetIntegrationLogDrainsResponseBody$Outbound = { clientId?: string | undefined; @@ -565,7 +448,9 @@ export type GetIntegrationLogDrainsResponseBody$Outbound = { environments?: Array | undefined; branch?: string | undefined; samplingRate?: number | undefined; - source: Source2$Outbound | Source1$Outbound; + source: + | GetIntegrationLogDrainsSource2$Outbound + | GetIntegrationLogDrainsSource1$Outbound; }; /** @internal */ @@ -593,26 +478,11 @@ export const GetIntegrationLogDrainsResponseBody$outboundSchema: z.ZodType< branch: z.string().optional(), samplingRate: z.number().optional(), source: z.union([ - z.lazy(() => Source2$outboundSchema), - z.lazy(() => Source1$outboundSchema), + z.lazy(() => GetIntegrationLogDrainsSource2$outboundSchema), + z.lazy(() => GetIntegrationLogDrainsSource1$outboundSchema), ]), }); -/** - * @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 { @@ -622,7 +492,6 @@ export function getIntegrationLogDrainsResponseBodyToJSON( ), ); } - export function getIntegrationLogDrainsResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/getintegrationresourceop.ts b/src/models/getintegrationresourceop.ts index 581d0b56a..ea249c479 100644 --- a/src/models/getintegrationresourceop.ts +++ b/src/models/getintegrationresourceop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; @@ -25,6 +25,7 @@ export type GetIntegrationResourceRequest = { export const GetIntegrationResourceStatus = { Ready: "ready", Pending: "pending", + Onboarding: "onboarding", Suspended: "suspended", Resumed: "resumed", Uninstalled: "uninstalled", @@ -126,7 +127,6 @@ export const GetIntegrationResourceRequest$inboundSchema: z.ZodType< integrationConfigurationId: z.string(), resourceId: z.string(), }); - /** @internal */ export type GetIntegrationResourceRequest$Outbound = { integrationConfigurationId: string; @@ -143,19 +143,6 @@ export const GetIntegrationResourceRequest$outboundSchema: z.ZodType< 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 GetIntegrationResourceRequest$ { - /** @deprecated use `GetIntegrationResourceRequest$inboundSchema` instead. */ - export const inboundSchema = GetIntegrationResourceRequest$inboundSchema; - /** @deprecated use `GetIntegrationResourceRequest$outboundSchema` instead. */ - export const outboundSchema = GetIntegrationResourceRequest$outboundSchema; - /** @deprecated use `GetIntegrationResourceRequest$Outbound` instead. */ - export type Outbound = GetIntegrationResourceRequest$Outbound; -} - export function getIntegrationResourceRequestToJSON( getIntegrationResourceRequest: GetIntegrationResourceRequest, ): string { @@ -165,7 +152,6 @@ export function getIntegrationResourceRequestToJSON( ), ); } - export function getIntegrationResourceRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -180,23 +166,11 @@ export function getIntegrationResourceRequestFromJSON( export const GetIntegrationResourceStatus$inboundSchema: z.ZodNativeEnum< typeof GetIntegrationResourceStatus > = z.nativeEnum(GetIntegrationResourceStatus); - /** @internal */ export const GetIntegrationResourceStatus$outboundSchema: z.ZodNativeEnum< typeof GetIntegrationResourceStatus > = GetIntegrationResourceStatus$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetIntegrationResourceStatus$ { - /** @deprecated use `GetIntegrationResourceStatus$inboundSchema` instead. */ - export const inboundSchema = GetIntegrationResourceStatus$inboundSchema; - /** @deprecated use `GetIntegrationResourceStatus$outboundSchema` instead. */ - export const outboundSchema = GetIntegrationResourceStatus$outboundSchema; -} - /** @internal */ export const Experimentation$inboundSchema: z.ZodType< Experimentation, @@ -207,7 +181,6 @@ export const Experimentation$inboundSchema: z.ZodType< edgeConfigId: z.string().optional(), edgeConfigTokenId: z.string().optional(), }); - /** @internal */ export type Experimentation$Outbound = { edgeConfigSyncingEnabled?: boolean | undefined; @@ -226,25 +199,11 @@ export const Experimentation$outboundSchema: z.ZodType< edgeConfigTokenId: z.string().optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Experimentation$ { - /** @deprecated use `Experimentation$inboundSchema` instead. */ - export const inboundSchema = Experimentation$inboundSchema; - /** @deprecated use `Experimentation$outboundSchema` instead. */ - export const outboundSchema = Experimentation$outboundSchema; - /** @deprecated use `Experimentation$Outbound` instead. */ - export type Outbound = Experimentation$Outbound; -} - export function experimentationToJSON( experimentation: Experimentation, ): string { return JSON.stringify(Experimentation$outboundSchema.parse(experimentation)); } - export function experimentationFromJSON( jsonString: string, ): SafeParseResult { @@ -263,7 +222,6 @@ export const ProtocolSettings$inboundSchema: z.ZodType< > = z.object({ experimentation: z.lazy(() => Experimentation$inboundSchema).optional(), }); - /** @internal */ export type ProtocolSettings$Outbound = { experimentation?: Experimentation$Outbound | undefined; @@ -278,19 +236,6 @@ export const ProtocolSettings$outboundSchema: z.ZodType< experimentation: z.lazy(() => Experimentation$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 ProtocolSettings$ { - /** @deprecated use `ProtocolSettings$inboundSchema` instead. */ - export const inboundSchema = ProtocolSettings$inboundSchema; - /** @deprecated use `ProtocolSettings$outboundSchema` instead. */ - export const outboundSchema = ProtocolSettings$outboundSchema; - /** @deprecated use `ProtocolSettings$Outbound` instead. */ - export type Outbound = ProtocolSettings$Outbound; -} - export function protocolSettingsToJSON( protocolSettings: ProtocolSettings, ): string { @@ -298,7 +243,6 @@ export function protocolSettingsToJSON( ProtocolSettings$outboundSchema.parse(protocolSettings), ); } - export function protocolSettingsFromJSON( jsonString: string, ): SafeParseResult { @@ -313,23 +257,11 @@ export function protocolSettingsFromJSON( export const GetIntegrationResourceLevel$inboundSchema: z.ZodNativeEnum< typeof GetIntegrationResourceLevel > = z.nativeEnum(GetIntegrationResourceLevel); - /** @internal */ export const GetIntegrationResourceLevel$outboundSchema: z.ZodNativeEnum< typeof GetIntegrationResourceLevel > = GetIntegrationResourceLevel$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetIntegrationResourceLevel$ { - /** @deprecated use `GetIntegrationResourceLevel$inboundSchema` instead. */ - export const inboundSchema = GetIntegrationResourceLevel$inboundSchema; - /** @deprecated use `GetIntegrationResourceLevel$outboundSchema` instead. */ - export const outboundSchema = GetIntegrationResourceLevel$outboundSchema; -} - /** @internal */ export const GetIntegrationResourceNotification$inboundSchema: z.ZodType< GetIntegrationResourceNotification, @@ -341,7 +273,6 @@ export const GetIntegrationResourceNotification$inboundSchema: z.ZodType< message: z.string().optional(), href: z.string().optional(), }); - /** @internal */ export type GetIntegrationResourceNotification$Outbound = { level: string; @@ -362,20 +293,6 @@ export const GetIntegrationResourceNotification$outboundSchema: z.ZodType< href: z.string().optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetIntegrationResourceNotification$ { - /** @deprecated use `GetIntegrationResourceNotification$inboundSchema` instead. */ - export const inboundSchema = GetIntegrationResourceNotification$inboundSchema; - /** @deprecated use `GetIntegrationResourceNotification$outboundSchema` instead. */ - export const outboundSchema = - GetIntegrationResourceNotification$outboundSchema; - /** @deprecated use `GetIntegrationResourceNotification$Outbound` instead. */ - export type Outbound = GetIntegrationResourceNotification$Outbound; -} - export function getIntegrationResourceNotificationToJSON( getIntegrationResourceNotification: GetIntegrationResourceNotification, ): string { @@ -385,7 +302,6 @@ export function getIntegrationResourceNotificationToJSON( ), ); } - export function getIntegrationResourceNotificationFromJSON( jsonString: string, ): SafeParseResult { @@ -409,7 +325,6 @@ export const GetIntegrationResourceMetadata$inboundSchema: z.ZodType< z.array(z.string()), z.array(z.number()), ]); - /** @internal */ export type GetIntegrationResourceMetadata$Outbound = | string @@ -431,19 +346,6 @@ export const GetIntegrationResourceMetadata$outboundSchema: z.ZodType< z.array(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 GetIntegrationResourceMetadata$ { - /** @deprecated use `GetIntegrationResourceMetadata$inboundSchema` instead. */ - export const inboundSchema = GetIntegrationResourceMetadata$inboundSchema; - /** @deprecated use `GetIntegrationResourceMetadata$outboundSchema` instead. */ - export const outboundSchema = GetIntegrationResourceMetadata$outboundSchema; - /** @deprecated use `GetIntegrationResourceMetadata$Outbound` instead. */ - export type Outbound = GetIntegrationResourceMetadata$Outbound; -} - export function getIntegrationResourceMetadataToJSON( getIntegrationResourceMetadata: GetIntegrationResourceMetadata, ): string { @@ -453,7 +355,6 @@ export function getIntegrationResourceMetadataToJSON( ), ); } - export function getIntegrationResourceMetadataFromJSON( jsonString: string, ): SafeParseResult { @@ -489,7 +390,6 @@ export const GetIntegrationResourceResponseBody$inboundSchema: z.ZodType< ]), ).optional(), }); - /** @internal */ export type GetIntegrationResourceResponseBody$Outbound = { id: string; @@ -531,20 +431,6 @@ export const GetIntegrationResourceResponseBody$outboundSchema: z.ZodType< ).optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetIntegrationResourceResponseBody$ { - /** @deprecated use `GetIntegrationResourceResponseBody$inboundSchema` instead. */ - export const inboundSchema = GetIntegrationResourceResponseBody$inboundSchema; - /** @deprecated use `GetIntegrationResourceResponseBody$outboundSchema` instead. */ - export const outboundSchema = - GetIntegrationResourceResponseBody$outboundSchema; - /** @deprecated use `GetIntegrationResourceResponseBody$Outbound` instead. */ - export type Outbound = GetIntegrationResourceResponseBody$Outbound; -} - export function getIntegrationResourceResponseBodyToJSON( getIntegrationResourceResponseBody: GetIntegrationResourceResponseBody, ): string { @@ -554,7 +440,6 @@ export function getIntegrationResourceResponseBodyToJSON( ), ); } - export function getIntegrationResourceResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/getintegrationresourcesop.ts b/src/models/getintegrationresourcesop.ts index 6489c2210..9fc015b9f 100644 --- a/src/models/getintegrationresourcesop.ts +++ b/src/models/getintegrationresourcesop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; @@ -18,6 +18,7 @@ export type GetIntegrationResourcesRequest = { export const GetIntegrationResourcesStatus = { Ready: "ready", Pending: "pending", + Onboarding: "onboarding", Suspended: "suspended", Resumed: "resumed", Uninstalled: "uninstalled", @@ -69,7 +70,7 @@ export type GetIntegrationResourcesMetadata = | Array | Array; -export type Resources = { +export type GetIntegrationResourcesResources = { /** * The ID provided by the partner for the given resource */ @@ -111,7 +112,7 @@ export type Resources = { }; export type GetIntegrationResourcesResponseBody = { - resources: Array; + resources: Array; }; /** @internal */ @@ -122,7 +123,6 @@ export const GetIntegrationResourcesRequest$inboundSchema: z.ZodType< > = z.object({ integrationConfigurationId: z.string(), }); - /** @internal */ export type GetIntegrationResourcesRequest$Outbound = { integrationConfigurationId: string; @@ -137,19 +137,6 @@ export const GetIntegrationResourcesRequest$outboundSchema: z.ZodType< 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 GetIntegrationResourcesRequest$ { - /** @deprecated use `GetIntegrationResourcesRequest$inboundSchema` instead. */ - export const inboundSchema = GetIntegrationResourcesRequest$inboundSchema; - /** @deprecated use `GetIntegrationResourcesRequest$outboundSchema` instead. */ - export const outboundSchema = GetIntegrationResourcesRequest$outboundSchema; - /** @deprecated use `GetIntegrationResourcesRequest$Outbound` instead. */ - export type Outbound = GetIntegrationResourcesRequest$Outbound; -} - export function getIntegrationResourcesRequestToJSON( getIntegrationResourcesRequest: GetIntegrationResourcesRequest, ): string { @@ -159,7 +146,6 @@ export function getIntegrationResourcesRequestToJSON( ), ); } - export function getIntegrationResourcesRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -174,23 +160,11 @@ export function getIntegrationResourcesRequestFromJSON( export const GetIntegrationResourcesStatus$inboundSchema: z.ZodNativeEnum< typeof GetIntegrationResourcesStatus > = z.nativeEnum(GetIntegrationResourcesStatus); - /** @internal */ export const GetIntegrationResourcesStatus$outboundSchema: z.ZodNativeEnum< typeof GetIntegrationResourcesStatus > = GetIntegrationResourcesStatus$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetIntegrationResourcesStatus$ { - /** @deprecated use `GetIntegrationResourcesStatus$inboundSchema` instead. */ - export const inboundSchema = GetIntegrationResourcesStatus$inboundSchema; - /** @deprecated use `GetIntegrationResourcesStatus$outboundSchema` instead. */ - export const outboundSchema = GetIntegrationResourcesStatus$outboundSchema; -} - /** @internal */ export const GetIntegrationResourcesExperimentation$inboundSchema: z.ZodType< GetIntegrationResourcesExperimentation, @@ -201,7 +175,6 @@ export const GetIntegrationResourcesExperimentation$inboundSchema: z.ZodType< edgeConfigId: z.string().optional(), edgeConfigTokenId: z.string().optional(), }); - /** @internal */ export type GetIntegrationResourcesExperimentation$Outbound = { edgeConfigSyncingEnabled?: boolean | undefined; @@ -220,21 +193,6 @@ export const GetIntegrationResourcesExperimentation$outboundSchema: z.ZodType< edgeConfigTokenId: z.string().optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetIntegrationResourcesExperimentation$ { - /** @deprecated use `GetIntegrationResourcesExperimentation$inboundSchema` instead. */ - export const inboundSchema = - GetIntegrationResourcesExperimentation$inboundSchema; - /** @deprecated use `GetIntegrationResourcesExperimentation$outboundSchema` instead. */ - export const outboundSchema = - GetIntegrationResourcesExperimentation$outboundSchema; - /** @deprecated use `GetIntegrationResourcesExperimentation$Outbound` instead. */ - export type Outbound = GetIntegrationResourcesExperimentation$Outbound; -} - export function getIntegrationResourcesExperimentationToJSON( getIntegrationResourcesExperimentation: GetIntegrationResourcesExperimentation, @@ -245,7 +203,6 @@ export function getIntegrationResourcesExperimentationToJSON( ), ); } - export function getIntegrationResourcesExperimentationFromJSON( jsonString: string, ): SafeParseResult { @@ -267,7 +224,6 @@ export const GetIntegrationResourcesProtocolSettings$inboundSchema: z.ZodType< GetIntegrationResourcesExperimentation$inboundSchema ).optional(), }); - /** @internal */ export type GetIntegrationResourcesProtocolSettings$Outbound = { experimentation?: GetIntegrationResourcesExperimentation$Outbound | undefined; @@ -284,21 +240,6 @@ export const GetIntegrationResourcesProtocolSettings$outboundSchema: z.ZodType< ).optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetIntegrationResourcesProtocolSettings$ { - /** @deprecated use `GetIntegrationResourcesProtocolSettings$inboundSchema` instead. */ - export const inboundSchema = - GetIntegrationResourcesProtocolSettings$inboundSchema; - /** @deprecated use `GetIntegrationResourcesProtocolSettings$outboundSchema` instead. */ - export const outboundSchema = - GetIntegrationResourcesProtocolSettings$outboundSchema; - /** @deprecated use `GetIntegrationResourcesProtocolSettings$Outbound` instead. */ - export type Outbound = GetIntegrationResourcesProtocolSettings$Outbound; -} - export function getIntegrationResourcesProtocolSettingsToJSON( getIntegrationResourcesProtocolSettings: GetIntegrationResourcesProtocolSettings, @@ -309,7 +250,6 @@ export function getIntegrationResourcesProtocolSettingsToJSON( ), ); } - export function getIntegrationResourcesProtocolSettingsFromJSON( jsonString: string, ): SafeParseResult< @@ -330,23 +270,11 @@ export function getIntegrationResourcesProtocolSettingsFromJSON( export const GetIntegrationResourcesLevel$inboundSchema: z.ZodNativeEnum< typeof GetIntegrationResourcesLevel > = z.nativeEnum(GetIntegrationResourcesLevel); - /** @internal */ export const GetIntegrationResourcesLevel$outboundSchema: z.ZodNativeEnum< typeof GetIntegrationResourcesLevel > = GetIntegrationResourcesLevel$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetIntegrationResourcesLevel$ { - /** @deprecated use `GetIntegrationResourcesLevel$inboundSchema` instead. */ - export const inboundSchema = GetIntegrationResourcesLevel$inboundSchema; - /** @deprecated use `GetIntegrationResourcesLevel$outboundSchema` instead. */ - export const outboundSchema = GetIntegrationResourcesLevel$outboundSchema; -} - /** @internal */ export const GetIntegrationResourcesNotification$inboundSchema: z.ZodType< GetIntegrationResourcesNotification, @@ -358,7 +286,6 @@ export const GetIntegrationResourcesNotification$inboundSchema: z.ZodType< message: z.string().optional(), href: z.string().optional(), }); - /** @internal */ export type GetIntegrationResourcesNotification$Outbound = { level: string; @@ -379,21 +306,6 @@ export const GetIntegrationResourcesNotification$outboundSchema: z.ZodType< href: z.string().optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetIntegrationResourcesNotification$ { - /** @deprecated use `GetIntegrationResourcesNotification$inboundSchema` instead. */ - export const inboundSchema = - GetIntegrationResourcesNotification$inboundSchema; - /** @deprecated use `GetIntegrationResourcesNotification$outboundSchema` instead. */ - export const outboundSchema = - GetIntegrationResourcesNotification$outboundSchema; - /** @deprecated use `GetIntegrationResourcesNotification$Outbound` instead. */ - export type Outbound = GetIntegrationResourcesNotification$Outbound; -} - export function getIntegrationResourcesNotificationToJSON( getIntegrationResourcesNotification: GetIntegrationResourcesNotification, ): string { @@ -403,7 +315,6 @@ export function getIntegrationResourcesNotificationToJSON( ), ); } - export function getIntegrationResourcesNotificationFromJSON( jsonString: string, ): SafeParseResult { @@ -427,7 +338,6 @@ export const GetIntegrationResourcesMetadata$inboundSchema: z.ZodType< z.array(z.string()), z.array(z.number()), ]); - /** @internal */ export type GetIntegrationResourcesMetadata$Outbound = | string @@ -449,19 +359,6 @@ export const GetIntegrationResourcesMetadata$outboundSchema: z.ZodType< z.array(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 GetIntegrationResourcesMetadata$ { - /** @deprecated use `GetIntegrationResourcesMetadata$inboundSchema` instead. */ - export const inboundSchema = GetIntegrationResourcesMetadata$inboundSchema; - /** @deprecated use `GetIntegrationResourcesMetadata$outboundSchema` instead. */ - export const outboundSchema = GetIntegrationResourcesMetadata$outboundSchema; - /** @deprecated use `GetIntegrationResourcesMetadata$Outbound` instead. */ - export type Outbound = GetIntegrationResourcesMetadata$Outbound; -} - export function getIntegrationResourcesMetadataToJSON( getIntegrationResourcesMetadata: GetIntegrationResourcesMetadata, ): string { @@ -471,7 +368,6 @@ export function getIntegrationResourcesMetadataToJSON( ), ); } - export function getIntegrationResourcesMetadataFromJSON( jsonString: string, ): SafeParseResult { @@ -483,8 +379,8 @@ export function getIntegrationResourcesMetadataFromJSON( } /** @internal */ -export const Resources$inboundSchema: z.ZodType< - Resources, +export const GetIntegrationResourcesResources$inboundSchema: z.ZodType< + GetIntegrationResourcesResources, z.ZodTypeDef, unknown > = z.object({ @@ -509,9 +405,8 @@ export const Resources$inboundSchema: z.ZodType< ]), ).optional(), }); - /** @internal */ -export type Resources$Outbound = { +export type GetIntegrationResourcesResources$Outbound = { partnerId: string; internalId: string; name: string; @@ -528,10 +423,10 @@ export type Resources$Outbound = { }; /** @internal */ -export const Resources$outboundSchema: z.ZodType< - Resources$Outbound, +export const GetIntegrationResourcesResources$outboundSchema: z.ZodType< + GetIntegrationResourcesResources$Outbound, z.ZodTypeDef, - Resources + GetIntegrationResourcesResources > = z.object({ partnerId: z.string(), internalId: z.string(), @@ -555,30 +450,22 @@ export const Resources$outboundSchema: z.ZodType< ).optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Resources$ { - /** @deprecated use `Resources$inboundSchema` instead. */ - export const inboundSchema = Resources$inboundSchema; - /** @deprecated use `Resources$outboundSchema` instead. */ - export const outboundSchema = Resources$outboundSchema; - /** @deprecated use `Resources$Outbound` instead. */ - export type Outbound = Resources$Outbound; -} - -export function resourcesToJSON(resources: Resources): string { - return JSON.stringify(Resources$outboundSchema.parse(resources)); +export function getIntegrationResourcesResourcesToJSON( + getIntegrationResourcesResources: GetIntegrationResourcesResources, +): string { + return JSON.stringify( + GetIntegrationResourcesResources$outboundSchema.parse( + getIntegrationResourcesResources, + ), + ); } - -export function resourcesFromJSON( +export function getIntegrationResourcesResourcesFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => Resources$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Resources' from JSON`, + (x) => GetIntegrationResourcesResources$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetIntegrationResourcesResources' from JSON`, ); } @@ -588,12 +475,13 @@ export const GetIntegrationResourcesResponseBody$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - resources: z.array(z.lazy(() => Resources$inboundSchema)), + resources: z.array( + z.lazy(() => GetIntegrationResourcesResources$inboundSchema), + ), }); - /** @internal */ export type GetIntegrationResourcesResponseBody$Outbound = { - resources: Array; + resources: Array; }; /** @internal */ @@ -602,24 +490,11 @@ export const GetIntegrationResourcesResponseBody$outboundSchema: z.ZodType< z.ZodTypeDef, GetIntegrationResourcesResponseBody > = z.object({ - resources: z.array(z.lazy(() => Resources$outboundSchema)), + resources: z.array( + z.lazy(() => GetIntegrationResourcesResources$outboundSchema), + ), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetIntegrationResourcesResponseBody$ { - /** @deprecated use `GetIntegrationResourcesResponseBody$inboundSchema` instead. */ - export const inboundSchema = - GetIntegrationResourcesResponseBody$inboundSchema; - /** @deprecated use `GetIntegrationResourcesResponseBody$outboundSchema` instead. */ - export const outboundSchema = - GetIntegrationResourcesResponseBody$outboundSchema; - /** @deprecated use `GetIntegrationResourcesResponseBody$Outbound` instead. */ - export type Outbound = GetIntegrationResourcesResponseBody$Outbound; -} - export function getIntegrationResourcesResponseBodyToJSON( getIntegrationResourcesResponseBody: GetIntegrationResourcesResponseBody, ): string { @@ -629,7 +504,6 @@ export function getIntegrationResourcesResponseBodyToJSON( ), ); } - export function getIntegrationResourcesResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/getinvoiceop.ts b/src/models/getinvoiceop.ts index e29d1c065..da028dbc9 100644 --- a/src/models/getinvoiceop.ts +++ b/src/models/getinvoiceop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; @@ -17,6 +17,7 @@ export type GetInvoiceRequest = { * Invoice state. */ export const GetInvoiceState = { + Draft: "draft", Pending: "pending", Scheduled: "scheduled", Invoiced: "invoiced", @@ -190,7 +191,6 @@ export const GetInvoiceRequest$inboundSchema: z.ZodType< integrationConfigurationId: z.string(), invoiceId: z.string(), }); - /** @internal */ export type GetInvoiceRequest$Outbound = { integrationConfigurationId: string; @@ -207,19 +207,6 @@ export const GetInvoiceRequest$outboundSchema: z.ZodType< 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 { @@ -227,7 +214,6 @@ export function getInvoiceRequestToJSON( GetInvoiceRequest$outboundSchema.parse(getInvoiceRequest), ); } - export function getInvoiceRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -242,23 +228,11 @@ export function getInvoiceRequestFromJSON( export const GetInvoiceState$inboundSchema: z.ZodNativeEnum< typeof GetInvoiceState > = z.nativeEnum(GetInvoiceState); - /** @internal */ export const GetInvoiceState$outboundSchema: z.ZodNativeEnum< typeof GetInvoiceState > = GetInvoiceState$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetInvoiceState$ { - /** @deprecated use `GetInvoiceState$inboundSchema` instead. */ - export const inboundSchema = GetInvoiceState$inboundSchema; - /** @deprecated use `GetInvoiceState$outboundSchema` instead. */ - export const outboundSchema = GetInvoiceState$outboundSchema; -} - /** @internal */ export const GetInvoicePeriod$inboundSchema: z.ZodType< GetInvoicePeriod, @@ -268,7 +242,6 @@ export const GetInvoicePeriod$inboundSchema: z.ZodType< start: z.string(), end: z.string(), }); - /** @internal */ export type GetInvoicePeriod$Outbound = { start: string; @@ -285,19 +258,6 @@ export const GetInvoicePeriod$outboundSchema: z.ZodType< 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 { @@ -305,7 +265,6 @@ export function getInvoicePeriodToJSON( GetInvoicePeriod$outboundSchema.parse(getInvoicePeriod), ); } - export function getInvoicePeriodFromJSON( jsonString: string, ): SafeParseResult { @@ -333,7 +292,6 @@ export const GetInvoiceItems$inboundSchema: z.ZodType< units: z.string(), total: z.string(), }); - /** @internal */ export type GetInvoiceItems$Outbound = { billingPlanId: string; @@ -366,25 +324,11 @@ export const GetInvoiceItems$outboundSchema: z.ZodType< 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 { @@ -409,7 +353,6 @@ export const GetInvoiceDiscounts$inboundSchema: z.ZodType< details: z.string().optional(), amount: z.string(), }); - /** @internal */ export type GetInvoiceDiscounts$Outbound = { billingPlanId: string; @@ -436,19 +379,6 @@ export const GetInvoiceDiscounts$outboundSchema: z.ZodType< 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 { @@ -456,7 +386,6 @@ export function getInvoiceDiscountsToJSON( GetInvoiceDiscounts$outboundSchema.parse(getInvoiceDiscounts), ); } - export function getInvoiceDiscountsFromJSON( jsonString: string, ): SafeParseResult { @@ -490,7 +419,6 @@ export const GetInvoiceResponseBody$inboundSchema: z.ZodType< created: z.string(), updated: z.string(), }); - /** @internal */ export type GetInvoiceResponseBody$Outbound = { test?: boolean | undefined; @@ -534,19 +462,6 @@ export const GetInvoiceResponseBody$outboundSchema: z.ZodType< updated: z.string(), }); -/** - * @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 { @@ -554,7 +469,6 @@ export function getInvoiceResponseBodyToJSON( GetInvoiceResponseBody$outboundSchema.parse(getInvoiceResponseBody), ); } - export function getInvoiceResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/getmemberop.ts b/src/models/getmemberop.ts index 7b8f95b83..1a354e998 100644 --- a/src/models/getmemberop.ts +++ b/src/models/getmemberop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; @@ -42,7 +42,6 @@ export const GetMemberRequest$inboundSchema: z.ZodType< integrationConfigurationId: z.string(), memberId: z.string(), }); - /** @internal */ export type GetMemberRequest$Outbound = { integrationConfigurationId: string; @@ -59,19 +58,6 @@ export const GetMemberRequest$outboundSchema: z.ZodType< 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 { @@ -79,7 +65,6 @@ export function getMemberRequestToJSON( GetMemberRequest$outboundSchema.parse(getMemberRequest), ); } - export function getMemberRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -94,23 +79,11 @@ export function getMemberRequestFromJSON( 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, @@ -120,7 +93,6 @@ export const GetMemberResponseBody$inboundSchema: z.ZodType< id: z.string(), role: GetMemberRole$inboundSchema, }); - /** @internal */ export type GetMemberResponseBody$Outbound = { id: string; @@ -137,19 +109,6 @@ export const GetMemberResponseBody$outboundSchema: z.ZodType< 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 { @@ -157,7 +116,6 @@ export function getMemberResponseBodyToJSON( GetMemberResponseBody$outboundSchema.parse(getMemberResponseBody), ); } - export function getMemberResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/getorderop.ts b/src/models/getorderop.ts new file mode 100644 index 000000000..f7adee2b8 --- /dev/null +++ b/src/models/getorderop.ts @@ -0,0 +1,2371 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { safeParse } from "../lib/schemas.js"; +import { ClosedEnum } from "../types/enums.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { + Forbidden, + Forbidden$inboundSchema, + Forbidden$Outbound, + Forbidden$outboundSchema, +} from "./forbidden.js"; +import { + NotAuthorizedForScope, + NotAuthorizedForScope$inboundSchema, + NotAuthorizedForScope$Outbound, + NotAuthorizedForScope$outboundSchema, +} from "./notauthorizedforscope.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type GetOrderRequest = { + orderId: string; + teamId?: string | undefined; +}; + +/** + * NotAuthorizedForScope + */ +export type GetOrderDomainsRegistrarResponseBody = + | NotAuthorizedForScope + | Forbidden; + +export const GetOrderDomainsPurchaseType = { + Transfer: "transfer", +} as const; +export type GetOrderDomainsPurchaseType = ClosedEnum< + typeof GetOrderDomainsPurchaseType +>; + +export const GetOrderDomainsDomainsRegistrarStatus = { + Pending: "pending", + Completed: "completed", + Failed: "failed", + Refunded: "refunded", + RefundFailed: "refund-failed", +} as const; +export type GetOrderDomainsDomainsRegistrarStatus = ClosedEnum< + typeof GetOrderDomainsDomainsRegistrarStatus +>; + +export type GetOrderErrorDomainsRegistrar2 = { + code: string; + details?: any | undefined; +}; + +export const GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains3Code = + { + ClaimsNoticeRequired: "claims-notice-required", + } as const; +export type GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains3Code = + ClosedEnum< + typeof GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains3Code + >; + +export type GetOrder1DomainsRegistrar3 = { + code: + GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains3Code; +}; + +export const GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomainsCode = + { + ClientTransferProhibited: "client-transfer-prohibited", + } as const; +export type GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomainsCode = + ClosedEnum< + typeof GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomainsCode + >; + +export type GetOrder1DomainsRegistrar2 = { + code: + GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomainsCode; +}; + +export const GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyCode = + { + UnsupportedLanguageCode: "unsupported-language-code", + } as const; +export type GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyCode = + ClosedEnum< + typeof GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyCode + >; + +export type GetOrder1DomainsRegistrarResponse200Details = { + detectedLanguageCode: string; +}; + +export type GetOrder1DomainsRegistrar1 = { + code: GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyCode; + details: GetOrder1DomainsRegistrarResponse200Details; +}; + +export type GetOrderErrorDomainsRegistrar1 = + | GetOrder1DomainsRegistrar1 + | GetOrder1DomainsRegistrar2 + | GetOrder1DomainsRegistrar3; + +export type GetOrderDomainsDomainsRegistrarError = + | GetOrderErrorDomainsRegistrar2 + | GetOrder1DomainsRegistrar1 + | GetOrder1DomainsRegistrar2 + | GetOrder1DomainsRegistrar3; + +export type Domains3 = { + purchaseType: GetOrderDomainsPurchaseType; + autoRenew: boolean; + /** + * The number of years the domain is being transferred for. + */ + years: number; + domainName: string; + status: GetOrderDomainsDomainsRegistrarStatus; + /** + * The price for the domain. + */ + price: number; + error?: + | GetOrderErrorDomainsRegistrar2 + | GetOrder1DomainsRegistrar1 + | GetOrder1DomainsRegistrar2 + | GetOrder1DomainsRegistrar3 + | undefined; +}; + +export const DomainsPurchaseType = { + Renewal: "renewal", +} as const; +export type DomainsPurchaseType = ClosedEnum; + +export const GetOrderDomainsStatus = { + Pending: "pending", + Completed: "completed", + Failed: "failed", + Refunded: "refunded", + RefundFailed: "refund-failed", +} as const; +export type GetOrderDomainsStatus = ClosedEnum; + +export type GetOrderError2 = { + code: string; + details?: any | undefined; +}; + +export const GetOrder1DomainsRegistrarResponse200ApplicationJSONCode = { + ClaimsNoticeRequired: "claims-notice-required", +} as const; +export type GetOrder1DomainsRegistrarResponse200ApplicationJSONCode = + ClosedEnum; + +export type GetOrder1DomainsRegistrarResponse2003 = { + code: GetOrder1DomainsRegistrarResponse200ApplicationJSONCode; +}; + +export const GetOrder1DomainsRegistrarResponse200Code = { + ClientTransferProhibited: "client-transfer-prohibited", +} as const; +export type GetOrder1DomainsRegistrarResponse200Code = ClosedEnum< + typeof GetOrder1DomainsRegistrarResponse200Code +>; + +export type GetOrder1DomainsRegistrarResponse2002 = { + code: GetOrder1DomainsRegistrarResponse200Code; +}; + +export const GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains2Code = + { + UnsupportedLanguageCode: "unsupported-language-code", + } as const; +export type GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains2Code = + ClosedEnum< + typeof GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains2Code + >; + +export type GetOrder1DomainsRegistrarResponseDetails = { + detectedLanguageCode: string; +}; + +export type GetOrder1DomainsRegistrarResponse2001 = { + code: + GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains2Code; + details: GetOrder1DomainsRegistrarResponseDetails; +}; + +export type GetOrderError1 = + | GetOrder1DomainsRegistrarResponse2001 + | GetOrder1DomainsRegistrarResponse2002 + | GetOrder1DomainsRegistrarResponse2003; + +export type GetOrderDomainsError = + | GetOrderError2 + | GetOrder1DomainsRegistrarResponse2001 + | GetOrder1DomainsRegistrarResponse2002 + | GetOrder1DomainsRegistrarResponse2003; + +export type Domains2 = { + purchaseType: DomainsPurchaseType; + /** + * The number of years the domain is being renewed for. + */ + years: number; + domainName: string; + status: GetOrderDomainsStatus; + /** + * The price for the domain. + */ + price: number; + error?: + | GetOrderError2 + | GetOrder1DomainsRegistrarResponse2001 + | GetOrder1DomainsRegistrarResponse2002 + | GetOrder1DomainsRegistrarResponse2003 + | undefined; +}; + +export const GetOrderDomainsDomainsRegistrarPurchaseType = { + Purchase: "purchase", +} as const; +export type GetOrderDomainsDomainsRegistrarPurchaseType = ClosedEnum< + typeof GetOrderDomainsDomainsRegistrarPurchaseType +>; + +export const DomainsStatus = { + Pending: "pending", + Completed: "completed", + Failed: "failed", + Refunded: "refunded", + RefundFailed: "refund-failed", +} as const; +export type DomainsStatus = ClosedEnum; + +export type GetOrderErrorDomainsRegistrarResponse2 = { + code: string; + details?: any | undefined; +}; + +export const GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains1Error3Code = + { + ClaimsNoticeRequired: "claims-notice-required", + } as const; +export type GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains1Error3Code = + ClosedEnum< + typeof GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains1Error3Code + >; + +export type GetOrder1DomainsRegistrarResponse3 = { + code: + GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains1Error3Code; +}; + +export const GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains1ErrorCode = + { + ClientTransferProhibited: "client-transfer-prohibited", + } as const; +export type GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains1ErrorCode = + ClosedEnum< + typeof GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains1ErrorCode + >; + +export type GetOrder1DomainsRegistrarResponse2 = { + code: + GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains1ErrorCode; +}; + +export const GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains1Code = + { + UnsupportedLanguageCode: "unsupported-language-code", + } as const; +export type GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains1Code = + ClosedEnum< + typeof GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains1Code + >; + +export type GetOrder1DomainsRegistrarDetails = { + detectedLanguageCode: string; +}; + +export type GetOrder1DomainsRegistrarResponse1 = { + code: + GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains1Code; + details: GetOrder1DomainsRegistrarDetails; +}; + +export type GetOrderErrorDomainsRegistrarResponse1 = + | GetOrder1DomainsRegistrarResponse1 + | GetOrder1DomainsRegistrarResponse2 + | GetOrder1DomainsRegistrarResponse3; + +export type DomainsError = + | GetOrderErrorDomainsRegistrarResponse2 + | GetOrder1DomainsRegistrarResponse1 + | GetOrder1DomainsRegistrarResponse2 + | GetOrder1DomainsRegistrarResponse3; + +export type Domains1 = { + purchaseType: GetOrderDomainsDomainsRegistrarPurchaseType; + autoRenew: boolean; + /** + * The number of years the domain is being purchased for. + */ + years: number; + domainName: string; + status: DomainsStatus; + /** + * The price for the domain. + */ + price: number; + error?: + | GetOrderErrorDomainsRegistrarResponse2 + | GetOrder1DomainsRegistrarResponse1 + | GetOrder1DomainsRegistrarResponse2 + | GetOrder1DomainsRegistrarResponse3 + | undefined; +}; + +export type GetOrderDomains = Domains1 | Domains3 | Domains2; + +export const GetOrderStatus = { + Draft: "draft", + Purchasing: "purchasing", + Completed: "completed", + Failed: "failed", +} as const; +export type GetOrderStatus = ClosedEnum; + +export type Error2 = { + code: string; + details?: any | undefined; +}; + +export const GetOrder1DomainsRegistrarResponseCode = { + UnexpectedError: "unexpected-error", +} as const; +export type GetOrder1DomainsRegistrarResponseCode = ClosedEnum< + typeof GetOrder1DomainsRegistrarResponseCode +>; + +export type One4 = { + code: GetOrder1DomainsRegistrarResponseCode; +}; + +export const GetOrder1DomainsRegistrarCode = { + PriceMismatch: "price-mismatch", +} as const; +export type GetOrder1DomainsRegistrarCode = ClosedEnum< + typeof GetOrder1DomainsRegistrarCode +>; + +export type OneDetails = { + expectedPrice: number; + actualPrice?: number | undefined; +}; + +export type GetOrder13 = { + code: GetOrder1DomainsRegistrarCode; + details: OneDetails; +}; + +export const GetOrder1Code = { + TldOutage: "tld-outage", +} as const; +export type GetOrder1Code = ClosedEnum; + +export type Tlds = { + tldName: string; + endsAt: string; +}; + +export type GetOrder1Details = { + tlds: Array; +}; + +export type GetOrder12 = { + code: GetOrder1Code; + details: GetOrder1Details; +}; + +export const OneCode = { + PaymentFailed: "payment-failed", +} as const; +export type OneCode = ClosedEnum; + +export type GetOrder11 = { + code: OneCode; +}; + +export type Error1 = GetOrder12 | GetOrder13 | GetOrder11 | One4; + +export type GetOrderError = + | Error2 + | GetOrder12 + | GetOrder13 + | GetOrder11 + | One4; + +/** + * Success + */ +export type GetOrderResponseBody = { + orderId: string; + domains: Array; + status: GetOrderStatus; + error?: Error2 | GetOrder12 | GetOrder13 | GetOrder11 | One4 | undefined; +}; + +/** @internal */ +export const GetOrderRequest$inboundSchema: z.ZodType< + GetOrderRequest, + z.ZodTypeDef, + unknown +> = z.object({ + orderId: z.string(), + teamId: z.string().optional(), +}); +/** @internal */ +export type GetOrderRequest$Outbound = { + orderId: string; + teamId?: string | undefined; +}; + +/** @internal */ +export const GetOrderRequest$outboundSchema: z.ZodType< + GetOrderRequest$Outbound, + z.ZodTypeDef, + GetOrderRequest +> = z.object({ + orderId: z.string(), + teamId: z.string().optional(), +}); + +export function getOrderRequestToJSON( + getOrderRequest: GetOrderRequest, +): string { + return JSON.stringify(GetOrderRequest$outboundSchema.parse(getOrderRequest)); +} +export function getOrderRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetOrderRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetOrderRequest' from JSON`, + ); +} + +/** @internal */ +export const GetOrderDomainsRegistrarResponseBody$inboundSchema: z.ZodType< + GetOrderDomainsRegistrarResponseBody, + z.ZodTypeDef, + unknown +> = z.union([NotAuthorizedForScope$inboundSchema, Forbidden$inboundSchema]); +/** @internal */ +export type GetOrderDomainsRegistrarResponseBody$Outbound = + | NotAuthorizedForScope$Outbound + | Forbidden$Outbound; + +/** @internal */ +export const GetOrderDomainsRegistrarResponseBody$outboundSchema: z.ZodType< + GetOrderDomainsRegistrarResponseBody$Outbound, + z.ZodTypeDef, + unknown +> = z.union([NotAuthorizedForScope$outboundSchema, Forbidden$outboundSchema]); + +export function getOrderDomainsRegistrarResponseBodyToJSON( + getOrderDomainsRegistrarResponseBody: GetOrderDomainsRegistrarResponseBody, +): string { + return JSON.stringify( + GetOrderDomainsRegistrarResponseBody$outboundSchema.parse( + getOrderDomainsRegistrarResponseBody, + ), + ); +} +export function getOrderDomainsRegistrarResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + GetOrderDomainsRegistrarResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetOrderDomainsRegistrarResponseBody' from JSON`, + ); +} + +/** @internal */ +export const GetOrderDomainsPurchaseType$inboundSchema: z.ZodNativeEnum< + typeof GetOrderDomainsPurchaseType +> = z.nativeEnum(GetOrderDomainsPurchaseType); +/** @internal */ +export const GetOrderDomainsPurchaseType$outboundSchema: z.ZodNativeEnum< + typeof GetOrderDomainsPurchaseType +> = GetOrderDomainsPurchaseType$inboundSchema; + +/** @internal */ +export const GetOrderDomainsDomainsRegistrarStatus$inboundSchema: + z.ZodNativeEnum = z.nativeEnum( + GetOrderDomainsDomainsRegistrarStatus, + ); +/** @internal */ +export const GetOrderDomainsDomainsRegistrarStatus$outboundSchema: + z.ZodNativeEnum = + GetOrderDomainsDomainsRegistrarStatus$inboundSchema; + +/** @internal */ +export const GetOrderErrorDomainsRegistrar2$inboundSchema: z.ZodType< + GetOrderErrorDomainsRegistrar2, + z.ZodTypeDef, + unknown +> = z.object({ + code: z.string(), + details: z.any().optional(), +}); +/** @internal */ +export type GetOrderErrorDomainsRegistrar2$Outbound = { + code: string; + details?: any | undefined; +}; + +/** @internal */ +export const GetOrderErrorDomainsRegistrar2$outboundSchema: z.ZodType< + GetOrderErrorDomainsRegistrar2$Outbound, + z.ZodTypeDef, + GetOrderErrorDomainsRegistrar2 +> = z.object({ + code: z.string(), + details: z.any().optional(), +}); + +export function getOrderErrorDomainsRegistrar2ToJSON( + getOrderErrorDomainsRegistrar2: GetOrderErrorDomainsRegistrar2, +): string { + return JSON.stringify( + GetOrderErrorDomainsRegistrar2$outboundSchema.parse( + getOrderErrorDomainsRegistrar2, + ), + ); +} +export function getOrderErrorDomainsRegistrar2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetOrderErrorDomainsRegistrar2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetOrderErrorDomainsRegistrar2' from JSON`, + ); +} + +/** @internal */ +export const GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains3Code$inboundSchema: + z.ZodNativeEnum< + typeof GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains3Code + > = z.nativeEnum( + GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains3Code, + ); +/** @internal */ +export const GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains3Code$outboundSchema: + z.ZodNativeEnum< + typeof GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains3Code + > = + GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains3Code$inboundSchema; + +/** @internal */ +export const GetOrder1DomainsRegistrar3$inboundSchema: z.ZodType< + GetOrder1DomainsRegistrar3, + z.ZodTypeDef, + unknown +> = z.object({ + code: + GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains3Code$inboundSchema, +}); +/** @internal */ +export type GetOrder1DomainsRegistrar3$Outbound = { + code: string; +}; + +/** @internal */ +export const GetOrder1DomainsRegistrar3$outboundSchema: z.ZodType< + GetOrder1DomainsRegistrar3$Outbound, + z.ZodTypeDef, + GetOrder1DomainsRegistrar3 +> = z.object({ + code: + GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains3Code$outboundSchema, +}); + +export function getOrder1DomainsRegistrar3ToJSON( + getOrder1DomainsRegistrar3: GetOrder1DomainsRegistrar3, +): string { + return JSON.stringify( + GetOrder1DomainsRegistrar3$outboundSchema.parse(getOrder1DomainsRegistrar3), + ); +} +export function getOrder1DomainsRegistrar3FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetOrder1DomainsRegistrar3$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetOrder1DomainsRegistrar3' from JSON`, + ); +} + +/** @internal */ +export const GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomainsCode$inboundSchema: + z.ZodNativeEnum< + typeof GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomainsCode + > = z.nativeEnum( + GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomainsCode, + ); +/** @internal */ +export const GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomainsCode$outboundSchema: + z.ZodNativeEnum< + typeof GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomainsCode + > = + GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomainsCode$inboundSchema; + +/** @internal */ +export const GetOrder1DomainsRegistrar2$inboundSchema: z.ZodType< + GetOrder1DomainsRegistrar2, + z.ZodTypeDef, + unknown +> = z.object({ + code: + GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomainsCode$inboundSchema, +}); +/** @internal */ +export type GetOrder1DomainsRegistrar2$Outbound = { + code: string; +}; + +/** @internal */ +export const GetOrder1DomainsRegistrar2$outboundSchema: z.ZodType< + GetOrder1DomainsRegistrar2$Outbound, + z.ZodTypeDef, + GetOrder1DomainsRegistrar2 +> = z.object({ + code: + GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomainsCode$outboundSchema, +}); + +export function getOrder1DomainsRegistrar2ToJSON( + getOrder1DomainsRegistrar2: GetOrder1DomainsRegistrar2, +): string { + return JSON.stringify( + GetOrder1DomainsRegistrar2$outboundSchema.parse(getOrder1DomainsRegistrar2), + ); +} +export function getOrder1DomainsRegistrar2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetOrder1DomainsRegistrar2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetOrder1DomainsRegistrar2' from JSON`, + ); +} + +/** @internal */ +export const GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyCode$inboundSchema: + z.ZodNativeEnum< + typeof GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyCode + > = z.nativeEnum( + GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyCode, + ); +/** @internal */ +export const GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyCode$outboundSchema: + z.ZodNativeEnum< + typeof GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyCode + > = + GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyCode$inboundSchema; + +/** @internal */ +export const GetOrder1DomainsRegistrarResponse200Details$inboundSchema: + z.ZodType< + GetOrder1DomainsRegistrarResponse200Details, + z.ZodTypeDef, + unknown + > = z.object({ + detectedLanguageCode: z.string(), + }); +/** @internal */ +export type GetOrder1DomainsRegistrarResponse200Details$Outbound = { + detectedLanguageCode: string; +}; + +/** @internal */ +export const GetOrder1DomainsRegistrarResponse200Details$outboundSchema: + z.ZodType< + GetOrder1DomainsRegistrarResponse200Details$Outbound, + z.ZodTypeDef, + GetOrder1DomainsRegistrarResponse200Details + > = z.object({ + detectedLanguageCode: z.string(), + }); + +export function getOrder1DomainsRegistrarResponse200DetailsToJSON( + getOrder1DomainsRegistrarResponse200Details: + GetOrder1DomainsRegistrarResponse200Details, +): string { + return JSON.stringify( + GetOrder1DomainsRegistrarResponse200Details$outboundSchema.parse( + getOrder1DomainsRegistrarResponse200Details, + ), + ); +} +export function getOrder1DomainsRegistrarResponse200DetailsFromJSON( + jsonString: string, +): SafeParseResult< + GetOrder1DomainsRegistrarResponse200Details, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + GetOrder1DomainsRegistrarResponse200Details$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'GetOrder1DomainsRegistrarResponse200Details' from JSON`, + ); +} + +/** @internal */ +export const GetOrder1DomainsRegistrar1$inboundSchema: z.ZodType< + GetOrder1DomainsRegistrar1, + z.ZodTypeDef, + unknown +> = z.object({ + code: + GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyCode$inboundSchema, + details: z.lazy(() => + GetOrder1DomainsRegistrarResponse200Details$inboundSchema + ), +}); +/** @internal */ +export type GetOrder1DomainsRegistrar1$Outbound = { + code: string; + details: GetOrder1DomainsRegistrarResponse200Details$Outbound; +}; + +/** @internal */ +export const GetOrder1DomainsRegistrar1$outboundSchema: z.ZodType< + GetOrder1DomainsRegistrar1$Outbound, + z.ZodTypeDef, + GetOrder1DomainsRegistrar1 +> = z.object({ + code: + GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyCode$outboundSchema, + details: z.lazy(() => + GetOrder1DomainsRegistrarResponse200Details$outboundSchema + ), +}); + +export function getOrder1DomainsRegistrar1ToJSON( + getOrder1DomainsRegistrar1: GetOrder1DomainsRegistrar1, +): string { + return JSON.stringify( + GetOrder1DomainsRegistrar1$outboundSchema.parse(getOrder1DomainsRegistrar1), + ); +} +export function getOrder1DomainsRegistrar1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetOrder1DomainsRegistrar1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetOrder1DomainsRegistrar1' from JSON`, + ); +} + +/** @internal */ +export const GetOrderErrorDomainsRegistrar1$inboundSchema: z.ZodType< + GetOrderErrorDomainsRegistrar1, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => GetOrder1DomainsRegistrar1$inboundSchema), + z.lazy(() => GetOrder1DomainsRegistrar2$inboundSchema), + z.lazy(() => GetOrder1DomainsRegistrar3$inboundSchema), +]); +/** @internal */ +export type GetOrderErrorDomainsRegistrar1$Outbound = + | GetOrder1DomainsRegistrar1$Outbound + | GetOrder1DomainsRegistrar2$Outbound + | GetOrder1DomainsRegistrar3$Outbound; + +/** @internal */ +export const GetOrderErrorDomainsRegistrar1$outboundSchema: z.ZodType< + GetOrderErrorDomainsRegistrar1$Outbound, + z.ZodTypeDef, + GetOrderErrorDomainsRegistrar1 +> = z.union([ + z.lazy(() => GetOrder1DomainsRegistrar1$outboundSchema), + z.lazy(() => GetOrder1DomainsRegistrar2$outboundSchema), + z.lazy(() => GetOrder1DomainsRegistrar3$outboundSchema), +]); + +export function getOrderErrorDomainsRegistrar1ToJSON( + getOrderErrorDomainsRegistrar1: GetOrderErrorDomainsRegistrar1, +): string { + return JSON.stringify( + GetOrderErrorDomainsRegistrar1$outboundSchema.parse( + getOrderErrorDomainsRegistrar1, + ), + ); +} +export function getOrderErrorDomainsRegistrar1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetOrderErrorDomainsRegistrar1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetOrderErrorDomainsRegistrar1' from JSON`, + ); +} + +/** @internal */ +export const GetOrderDomainsDomainsRegistrarError$inboundSchema: z.ZodType< + GetOrderDomainsDomainsRegistrarError, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => GetOrderErrorDomainsRegistrar2$inboundSchema), + z.union([ + z.lazy(() => GetOrder1DomainsRegistrar1$inboundSchema), + z.lazy(() => GetOrder1DomainsRegistrar2$inboundSchema), + z.lazy(() => GetOrder1DomainsRegistrar3$inboundSchema), + ]), +]); +/** @internal */ +export type GetOrderDomainsDomainsRegistrarError$Outbound = + | GetOrderErrorDomainsRegistrar2$Outbound + | GetOrder1DomainsRegistrar1$Outbound + | GetOrder1DomainsRegistrar2$Outbound + | GetOrder1DomainsRegistrar3$Outbound; + +/** @internal */ +export const GetOrderDomainsDomainsRegistrarError$outboundSchema: z.ZodType< + GetOrderDomainsDomainsRegistrarError$Outbound, + z.ZodTypeDef, + GetOrderDomainsDomainsRegistrarError +> = z.union([ + z.lazy(() => GetOrderErrorDomainsRegistrar2$outboundSchema), + z.union([ + z.lazy(() => GetOrder1DomainsRegistrar1$outboundSchema), + z.lazy(() => GetOrder1DomainsRegistrar2$outboundSchema), + z.lazy(() => GetOrder1DomainsRegistrar3$outboundSchema), + ]), +]); + +export function getOrderDomainsDomainsRegistrarErrorToJSON( + getOrderDomainsDomainsRegistrarError: GetOrderDomainsDomainsRegistrarError, +): string { + return JSON.stringify( + GetOrderDomainsDomainsRegistrarError$outboundSchema.parse( + getOrderDomainsDomainsRegistrarError, + ), + ); +} +export function getOrderDomainsDomainsRegistrarErrorFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + GetOrderDomainsDomainsRegistrarError$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetOrderDomainsDomainsRegistrarError' from JSON`, + ); +} + +/** @internal */ +export const Domains3$inboundSchema: z.ZodType< + Domains3, + z.ZodTypeDef, + unknown +> = z.object({ + purchaseType: GetOrderDomainsPurchaseType$inboundSchema, + autoRenew: z.boolean(), + years: z.number(), + domainName: z.string(), + status: GetOrderDomainsDomainsRegistrarStatus$inboundSchema, + price: z.number(), + error: z.union([ + z.lazy(() => GetOrderErrorDomainsRegistrar2$inboundSchema), + z.union([ + z.lazy(() => GetOrder1DomainsRegistrar1$inboundSchema), + z.lazy(() => GetOrder1DomainsRegistrar2$inboundSchema), + z.lazy(() => GetOrder1DomainsRegistrar3$inboundSchema), + ]), + ]).optional(), +}); +/** @internal */ +export type Domains3$Outbound = { + purchaseType: string; + autoRenew: boolean; + years: number; + domainName: string; + status: string; + price: number; + error?: + | GetOrderErrorDomainsRegistrar2$Outbound + | GetOrder1DomainsRegistrar1$Outbound + | GetOrder1DomainsRegistrar2$Outbound + | GetOrder1DomainsRegistrar3$Outbound + | undefined; +}; + +/** @internal */ +export const Domains3$outboundSchema: z.ZodType< + Domains3$Outbound, + z.ZodTypeDef, + Domains3 +> = z.object({ + purchaseType: GetOrderDomainsPurchaseType$outboundSchema, + autoRenew: z.boolean(), + years: z.number(), + domainName: z.string(), + status: GetOrderDomainsDomainsRegistrarStatus$outboundSchema, + price: z.number(), + error: z.union([ + z.lazy(() => GetOrderErrorDomainsRegistrar2$outboundSchema), + z.union([ + z.lazy(() => GetOrder1DomainsRegistrar1$outboundSchema), + z.lazy(() => GetOrder1DomainsRegistrar2$outboundSchema), + z.lazy(() => GetOrder1DomainsRegistrar3$outboundSchema), + ]), + ]).optional(), +}); + +export function domains3ToJSON(domains3: Domains3): string { + return JSON.stringify(Domains3$outboundSchema.parse(domains3)); +} +export function domains3FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Domains3$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Domains3' from JSON`, + ); +} + +/** @internal */ +export const DomainsPurchaseType$inboundSchema: z.ZodNativeEnum< + typeof DomainsPurchaseType +> = z.nativeEnum(DomainsPurchaseType); +/** @internal */ +export const DomainsPurchaseType$outboundSchema: z.ZodNativeEnum< + typeof DomainsPurchaseType +> = DomainsPurchaseType$inboundSchema; + +/** @internal */ +export const GetOrderDomainsStatus$inboundSchema: z.ZodNativeEnum< + typeof GetOrderDomainsStatus +> = z.nativeEnum(GetOrderDomainsStatus); +/** @internal */ +export const GetOrderDomainsStatus$outboundSchema: z.ZodNativeEnum< + typeof GetOrderDomainsStatus +> = GetOrderDomainsStatus$inboundSchema; + +/** @internal */ +export const GetOrderError2$inboundSchema: z.ZodType< + GetOrderError2, + z.ZodTypeDef, + unknown +> = z.object({ + code: z.string(), + details: z.any().optional(), +}); +/** @internal */ +export type GetOrderError2$Outbound = { + code: string; + details?: any | undefined; +}; + +/** @internal */ +export const GetOrderError2$outboundSchema: z.ZodType< + GetOrderError2$Outbound, + z.ZodTypeDef, + GetOrderError2 +> = z.object({ + code: z.string(), + details: z.any().optional(), +}); + +export function getOrderError2ToJSON(getOrderError2: GetOrderError2): string { + return JSON.stringify(GetOrderError2$outboundSchema.parse(getOrderError2)); +} +export function getOrderError2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetOrderError2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetOrderError2' from JSON`, + ); +} + +/** @internal */ +export const GetOrder1DomainsRegistrarResponse200ApplicationJSONCode$inboundSchema: + z.ZodNativeEnum< + typeof GetOrder1DomainsRegistrarResponse200ApplicationJSONCode + > = z.nativeEnum(GetOrder1DomainsRegistrarResponse200ApplicationJSONCode); +/** @internal */ +export const GetOrder1DomainsRegistrarResponse200ApplicationJSONCode$outboundSchema: + z.ZodNativeEnum< + typeof GetOrder1DomainsRegistrarResponse200ApplicationJSONCode + > = GetOrder1DomainsRegistrarResponse200ApplicationJSONCode$inboundSchema; + +/** @internal */ +export const GetOrder1DomainsRegistrarResponse2003$inboundSchema: z.ZodType< + GetOrder1DomainsRegistrarResponse2003, + z.ZodTypeDef, + unknown +> = z.object({ + code: GetOrder1DomainsRegistrarResponse200ApplicationJSONCode$inboundSchema, +}); +/** @internal */ +export type GetOrder1DomainsRegistrarResponse2003$Outbound = { + code: string; +}; + +/** @internal */ +export const GetOrder1DomainsRegistrarResponse2003$outboundSchema: z.ZodType< + GetOrder1DomainsRegistrarResponse2003$Outbound, + z.ZodTypeDef, + GetOrder1DomainsRegistrarResponse2003 +> = z.object({ + code: GetOrder1DomainsRegistrarResponse200ApplicationJSONCode$outboundSchema, +}); + +export function getOrder1DomainsRegistrarResponse2003ToJSON( + getOrder1DomainsRegistrarResponse2003: GetOrder1DomainsRegistrarResponse2003, +): string { + return JSON.stringify( + GetOrder1DomainsRegistrarResponse2003$outboundSchema.parse( + getOrder1DomainsRegistrarResponse2003, + ), + ); +} +export function getOrder1DomainsRegistrarResponse2003FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + GetOrder1DomainsRegistrarResponse2003$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetOrder1DomainsRegistrarResponse2003' from JSON`, + ); +} + +/** @internal */ +export const GetOrder1DomainsRegistrarResponse200Code$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(GetOrder1DomainsRegistrarResponse200Code); +/** @internal */ +export const GetOrder1DomainsRegistrarResponse200Code$outboundSchema: + z.ZodNativeEnum = + GetOrder1DomainsRegistrarResponse200Code$inboundSchema; + +/** @internal */ +export const GetOrder1DomainsRegistrarResponse2002$inboundSchema: z.ZodType< + GetOrder1DomainsRegistrarResponse2002, + z.ZodTypeDef, + unknown +> = z.object({ + code: GetOrder1DomainsRegistrarResponse200Code$inboundSchema, +}); +/** @internal */ +export type GetOrder1DomainsRegistrarResponse2002$Outbound = { + code: string; +}; + +/** @internal */ +export const GetOrder1DomainsRegistrarResponse2002$outboundSchema: z.ZodType< + GetOrder1DomainsRegistrarResponse2002$Outbound, + z.ZodTypeDef, + GetOrder1DomainsRegistrarResponse2002 +> = z.object({ + code: GetOrder1DomainsRegistrarResponse200Code$outboundSchema, +}); + +export function getOrder1DomainsRegistrarResponse2002ToJSON( + getOrder1DomainsRegistrarResponse2002: GetOrder1DomainsRegistrarResponse2002, +): string { + return JSON.stringify( + GetOrder1DomainsRegistrarResponse2002$outboundSchema.parse( + getOrder1DomainsRegistrarResponse2002, + ), + ); +} +export function getOrder1DomainsRegistrarResponse2002FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + GetOrder1DomainsRegistrarResponse2002$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetOrder1DomainsRegistrarResponse2002' from JSON`, + ); +} + +/** @internal */ +export const GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains2Code$inboundSchema: + z.ZodNativeEnum< + typeof GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains2Code + > = z.nativeEnum( + GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains2Code, + ); +/** @internal */ +export const GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains2Code$outboundSchema: + z.ZodNativeEnum< + typeof GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains2Code + > = + GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains2Code$inboundSchema; + +/** @internal */ +export const GetOrder1DomainsRegistrarResponseDetails$inboundSchema: z.ZodType< + GetOrder1DomainsRegistrarResponseDetails, + z.ZodTypeDef, + unknown +> = z.object({ + detectedLanguageCode: z.string(), +}); +/** @internal */ +export type GetOrder1DomainsRegistrarResponseDetails$Outbound = { + detectedLanguageCode: string; +}; + +/** @internal */ +export const GetOrder1DomainsRegistrarResponseDetails$outboundSchema: z.ZodType< + GetOrder1DomainsRegistrarResponseDetails$Outbound, + z.ZodTypeDef, + GetOrder1DomainsRegistrarResponseDetails +> = z.object({ + detectedLanguageCode: z.string(), +}); + +export function getOrder1DomainsRegistrarResponseDetailsToJSON( + getOrder1DomainsRegistrarResponseDetails: + GetOrder1DomainsRegistrarResponseDetails, +): string { + return JSON.stringify( + GetOrder1DomainsRegistrarResponseDetails$outboundSchema.parse( + getOrder1DomainsRegistrarResponseDetails, + ), + ); +} +export function getOrder1DomainsRegistrarResponseDetailsFromJSON( + jsonString: string, +): SafeParseResult< + GetOrder1DomainsRegistrarResponseDetails, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + GetOrder1DomainsRegistrarResponseDetails$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'GetOrder1DomainsRegistrarResponseDetails' from JSON`, + ); +} + +/** @internal */ +export const GetOrder1DomainsRegistrarResponse2001$inboundSchema: z.ZodType< + GetOrder1DomainsRegistrarResponse2001, + z.ZodTypeDef, + unknown +> = z.object({ + code: + GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains2Code$inboundSchema, + details: z.lazy(() => GetOrder1DomainsRegistrarResponseDetails$inboundSchema), +}); +/** @internal */ +export type GetOrder1DomainsRegistrarResponse2001$Outbound = { + code: string; + details: GetOrder1DomainsRegistrarResponseDetails$Outbound; +}; + +/** @internal */ +export const GetOrder1DomainsRegistrarResponse2001$outboundSchema: z.ZodType< + GetOrder1DomainsRegistrarResponse2001$Outbound, + z.ZodTypeDef, + GetOrder1DomainsRegistrarResponse2001 +> = z.object({ + code: + GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains2Code$outboundSchema, + details: z.lazy(() => + GetOrder1DomainsRegistrarResponseDetails$outboundSchema + ), +}); + +export function getOrder1DomainsRegistrarResponse2001ToJSON( + getOrder1DomainsRegistrarResponse2001: GetOrder1DomainsRegistrarResponse2001, +): string { + return JSON.stringify( + GetOrder1DomainsRegistrarResponse2001$outboundSchema.parse( + getOrder1DomainsRegistrarResponse2001, + ), + ); +} +export function getOrder1DomainsRegistrarResponse2001FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + GetOrder1DomainsRegistrarResponse2001$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetOrder1DomainsRegistrarResponse2001' from JSON`, + ); +} + +/** @internal */ +export const GetOrderError1$inboundSchema: z.ZodType< + GetOrderError1, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => GetOrder1DomainsRegistrarResponse2001$inboundSchema), + z.lazy(() => GetOrder1DomainsRegistrarResponse2002$inboundSchema), + z.lazy(() => GetOrder1DomainsRegistrarResponse2003$inboundSchema), +]); +/** @internal */ +export type GetOrderError1$Outbound = + | GetOrder1DomainsRegistrarResponse2001$Outbound + | GetOrder1DomainsRegistrarResponse2002$Outbound + | GetOrder1DomainsRegistrarResponse2003$Outbound; + +/** @internal */ +export const GetOrderError1$outboundSchema: z.ZodType< + GetOrderError1$Outbound, + z.ZodTypeDef, + GetOrderError1 +> = z.union([ + z.lazy(() => GetOrder1DomainsRegistrarResponse2001$outboundSchema), + z.lazy(() => GetOrder1DomainsRegistrarResponse2002$outboundSchema), + z.lazy(() => GetOrder1DomainsRegistrarResponse2003$outboundSchema), +]); + +export function getOrderError1ToJSON(getOrderError1: GetOrderError1): string { + return JSON.stringify(GetOrderError1$outboundSchema.parse(getOrderError1)); +} +export function getOrderError1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetOrderError1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetOrderError1' from JSON`, + ); +} + +/** @internal */ +export const GetOrderDomainsError$inboundSchema: z.ZodType< + GetOrderDomainsError, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => GetOrderError2$inboundSchema), + z.union([ + z.lazy(() => GetOrder1DomainsRegistrarResponse2001$inboundSchema), + z.lazy(() => GetOrder1DomainsRegistrarResponse2002$inboundSchema), + z.lazy(() => GetOrder1DomainsRegistrarResponse2003$inboundSchema), + ]), +]); +/** @internal */ +export type GetOrderDomainsError$Outbound = + | GetOrderError2$Outbound + | GetOrder1DomainsRegistrarResponse2001$Outbound + | GetOrder1DomainsRegistrarResponse2002$Outbound + | GetOrder1DomainsRegistrarResponse2003$Outbound; + +/** @internal */ +export const GetOrderDomainsError$outboundSchema: z.ZodType< + GetOrderDomainsError$Outbound, + z.ZodTypeDef, + GetOrderDomainsError +> = z.union([ + z.lazy(() => GetOrderError2$outboundSchema), + z.union([ + z.lazy(() => GetOrder1DomainsRegistrarResponse2001$outboundSchema), + z.lazy(() => GetOrder1DomainsRegistrarResponse2002$outboundSchema), + z.lazy(() => GetOrder1DomainsRegistrarResponse2003$outboundSchema), + ]), +]); + +export function getOrderDomainsErrorToJSON( + getOrderDomainsError: GetOrderDomainsError, +): string { + return JSON.stringify( + GetOrderDomainsError$outboundSchema.parse(getOrderDomainsError), + ); +} +export function getOrderDomainsErrorFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetOrderDomainsError$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetOrderDomainsError' from JSON`, + ); +} + +/** @internal */ +export const Domains2$inboundSchema: z.ZodType< + Domains2, + z.ZodTypeDef, + unknown +> = z.object({ + purchaseType: DomainsPurchaseType$inboundSchema, + years: z.number(), + domainName: z.string(), + status: GetOrderDomainsStatus$inboundSchema, + price: z.number(), + error: z.union([ + z.lazy(() => GetOrderError2$inboundSchema), + z.union([ + z.lazy(() => GetOrder1DomainsRegistrarResponse2001$inboundSchema), + z.lazy(() => GetOrder1DomainsRegistrarResponse2002$inboundSchema), + z.lazy(() => GetOrder1DomainsRegistrarResponse2003$inboundSchema), + ]), + ]).optional(), +}); +/** @internal */ +export type Domains2$Outbound = { + purchaseType: string; + years: number; + domainName: string; + status: string; + price: number; + error?: + | GetOrderError2$Outbound + | GetOrder1DomainsRegistrarResponse2001$Outbound + | GetOrder1DomainsRegistrarResponse2002$Outbound + | GetOrder1DomainsRegistrarResponse2003$Outbound + | undefined; +}; + +/** @internal */ +export const Domains2$outboundSchema: z.ZodType< + Domains2$Outbound, + z.ZodTypeDef, + Domains2 +> = z.object({ + purchaseType: DomainsPurchaseType$outboundSchema, + years: z.number(), + domainName: z.string(), + status: GetOrderDomainsStatus$outboundSchema, + price: z.number(), + error: z.union([ + z.lazy(() => GetOrderError2$outboundSchema), + z.union([ + z.lazy(() => GetOrder1DomainsRegistrarResponse2001$outboundSchema), + z.lazy(() => GetOrder1DomainsRegistrarResponse2002$outboundSchema), + z.lazy(() => GetOrder1DomainsRegistrarResponse2003$outboundSchema), + ]), + ]).optional(), +}); + +export function domains2ToJSON(domains2: Domains2): string { + return JSON.stringify(Domains2$outboundSchema.parse(domains2)); +} +export function domains2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Domains2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Domains2' from JSON`, + ); +} + +/** @internal */ +export const GetOrderDomainsDomainsRegistrarPurchaseType$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(GetOrderDomainsDomainsRegistrarPurchaseType); +/** @internal */ +export const GetOrderDomainsDomainsRegistrarPurchaseType$outboundSchema: + z.ZodNativeEnum = + GetOrderDomainsDomainsRegistrarPurchaseType$inboundSchema; + +/** @internal */ +export const DomainsStatus$inboundSchema: z.ZodNativeEnum< + typeof DomainsStatus +> = z.nativeEnum(DomainsStatus); +/** @internal */ +export const DomainsStatus$outboundSchema: z.ZodNativeEnum< + typeof DomainsStatus +> = DomainsStatus$inboundSchema; + +/** @internal */ +export const GetOrderErrorDomainsRegistrarResponse2$inboundSchema: z.ZodType< + GetOrderErrorDomainsRegistrarResponse2, + z.ZodTypeDef, + unknown +> = z.object({ + code: z.string(), + details: z.any().optional(), +}); +/** @internal */ +export type GetOrderErrorDomainsRegistrarResponse2$Outbound = { + code: string; + details?: any | undefined; +}; + +/** @internal */ +export const GetOrderErrorDomainsRegistrarResponse2$outboundSchema: z.ZodType< + GetOrderErrorDomainsRegistrarResponse2$Outbound, + z.ZodTypeDef, + GetOrderErrorDomainsRegistrarResponse2 +> = z.object({ + code: z.string(), + details: z.any().optional(), +}); + +export function getOrderErrorDomainsRegistrarResponse2ToJSON( + getOrderErrorDomainsRegistrarResponse2: + GetOrderErrorDomainsRegistrarResponse2, +): string { + return JSON.stringify( + GetOrderErrorDomainsRegistrarResponse2$outboundSchema.parse( + getOrderErrorDomainsRegistrarResponse2, + ), + ); +} +export function getOrderErrorDomainsRegistrarResponse2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + GetOrderErrorDomainsRegistrarResponse2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetOrderErrorDomainsRegistrarResponse2' from JSON`, + ); +} + +/** @internal */ +export const GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains1Error3Code$inboundSchema: + z.ZodNativeEnum< + typeof GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains1Error3Code + > = z.nativeEnum( + GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains1Error3Code, + ); +/** @internal */ +export const GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains1Error3Code$outboundSchema: + z.ZodNativeEnum< + typeof GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains1Error3Code + > = + GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains1Error3Code$inboundSchema; + +/** @internal */ +export const GetOrder1DomainsRegistrarResponse3$inboundSchema: z.ZodType< + GetOrder1DomainsRegistrarResponse3, + z.ZodTypeDef, + unknown +> = z.object({ + code: + GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains1Error3Code$inboundSchema, +}); +/** @internal */ +export type GetOrder1DomainsRegistrarResponse3$Outbound = { + code: string; +}; + +/** @internal */ +export const GetOrder1DomainsRegistrarResponse3$outboundSchema: z.ZodType< + GetOrder1DomainsRegistrarResponse3$Outbound, + z.ZodTypeDef, + GetOrder1DomainsRegistrarResponse3 +> = z.object({ + code: + GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains1Error3Code$outboundSchema, +}); + +export function getOrder1DomainsRegistrarResponse3ToJSON( + getOrder1DomainsRegistrarResponse3: GetOrder1DomainsRegistrarResponse3, +): string { + return JSON.stringify( + GetOrder1DomainsRegistrarResponse3$outboundSchema.parse( + getOrder1DomainsRegistrarResponse3, + ), + ); +} +export function getOrder1DomainsRegistrarResponse3FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + GetOrder1DomainsRegistrarResponse3$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetOrder1DomainsRegistrarResponse3' from JSON`, + ); +} + +/** @internal */ +export const GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains1ErrorCode$inboundSchema: + z.ZodNativeEnum< + typeof GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains1ErrorCode + > = z.nativeEnum( + GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains1ErrorCode, + ); +/** @internal */ +export const GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains1ErrorCode$outboundSchema: + z.ZodNativeEnum< + typeof GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains1ErrorCode + > = + GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains1ErrorCode$inboundSchema; + +/** @internal */ +export const GetOrder1DomainsRegistrarResponse2$inboundSchema: z.ZodType< + GetOrder1DomainsRegistrarResponse2, + z.ZodTypeDef, + unknown +> = z.object({ + code: + GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains1ErrorCode$inboundSchema, +}); +/** @internal */ +export type GetOrder1DomainsRegistrarResponse2$Outbound = { + code: string; +}; + +/** @internal */ +export const GetOrder1DomainsRegistrarResponse2$outboundSchema: z.ZodType< + GetOrder1DomainsRegistrarResponse2$Outbound, + z.ZodTypeDef, + GetOrder1DomainsRegistrarResponse2 +> = z.object({ + code: + GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains1ErrorCode$outboundSchema, +}); + +export function getOrder1DomainsRegistrarResponse2ToJSON( + getOrder1DomainsRegistrarResponse2: GetOrder1DomainsRegistrarResponse2, +): string { + return JSON.stringify( + GetOrder1DomainsRegistrarResponse2$outboundSchema.parse( + getOrder1DomainsRegistrarResponse2, + ), + ); +} +export function getOrder1DomainsRegistrarResponse2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + GetOrder1DomainsRegistrarResponse2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetOrder1DomainsRegistrarResponse2' from JSON`, + ); +} + +/** @internal */ +export const GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains1Code$inboundSchema: + z.ZodNativeEnum< + typeof GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains1Code + > = z.nativeEnum( + GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains1Code, + ); +/** @internal */ +export const GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains1Code$outboundSchema: + z.ZodNativeEnum< + typeof GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains1Code + > = + GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains1Code$inboundSchema; + +/** @internal */ +export const GetOrder1DomainsRegistrarDetails$inboundSchema: z.ZodType< + GetOrder1DomainsRegistrarDetails, + z.ZodTypeDef, + unknown +> = z.object({ + detectedLanguageCode: z.string(), +}); +/** @internal */ +export type GetOrder1DomainsRegistrarDetails$Outbound = { + detectedLanguageCode: string; +}; + +/** @internal */ +export const GetOrder1DomainsRegistrarDetails$outboundSchema: z.ZodType< + GetOrder1DomainsRegistrarDetails$Outbound, + z.ZodTypeDef, + GetOrder1DomainsRegistrarDetails +> = z.object({ + detectedLanguageCode: z.string(), +}); + +export function getOrder1DomainsRegistrarDetailsToJSON( + getOrder1DomainsRegistrarDetails: GetOrder1DomainsRegistrarDetails, +): string { + return JSON.stringify( + GetOrder1DomainsRegistrarDetails$outboundSchema.parse( + getOrder1DomainsRegistrarDetails, + ), + ); +} +export function getOrder1DomainsRegistrarDetailsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetOrder1DomainsRegistrarDetails$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetOrder1DomainsRegistrarDetails' from JSON`, + ); +} + +/** @internal */ +export const GetOrder1DomainsRegistrarResponse1$inboundSchema: z.ZodType< + GetOrder1DomainsRegistrarResponse1, + z.ZodTypeDef, + unknown +> = z.object({ + code: + GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains1Code$inboundSchema, + details: z.lazy(() => GetOrder1DomainsRegistrarDetails$inboundSchema), +}); +/** @internal */ +export type GetOrder1DomainsRegistrarResponse1$Outbound = { + code: string; + details: GetOrder1DomainsRegistrarDetails$Outbound; +}; + +/** @internal */ +export const GetOrder1DomainsRegistrarResponse1$outboundSchema: z.ZodType< + GetOrder1DomainsRegistrarResponse1$Outbound, + z.ZodTypeDef, + GetOrder1DomainsRegistrarResponse1 +> = z.object({ + code: + GetOrder1DomainsRegistrarResponse200ApplicationJSONResponseBodyDomains1Code$outboundSchema, + details: z.lazy(() => GetOrder1DomainsRegistrarDetails$outboundSchema), +}); + +export function getOrder1DomainsRegistrarResponse1ToJSON( + getOrder1DomainsRegistrarResponse1: GetOrder1DomainsRegistrarResponse1, +): string { + return JSON.stringify( + GetOrder1DomainsRegistrarResponse1$outboundSchema.parse( + getOrder1DomainsRegistrarResponse1, + ), + ); +} +export function getOrder1DomainsRegistrarResponse1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + GetOrder1DomainsRegistrarResponse1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetOrder1DomainsRegistrarResponse1' from JSON`, + ); +} + +/** @internal */ +export const GetOrderErrorDomainsRegistrarResponse1$inboundSchema: z.ZodType< + GetOrderErrorDomainsRegistrarResponse1, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => GetOrder1DomainsRegistrarResponse1$inboundSchema), + z.lazy(() => GetOrder1DomainsRegistrarResponse2$inboundSchema), + z.lazy(() => GetOrder1DomainsRegistrarResponse3$inboundSchema), +]); +/** @internal */ +export type GetOrderErrorDomainsRegistrarResponse1$Outbound = + | GetOrder1DomainsRegistrarResponse1$Outbound + | GetOrder1DomainsRegistrarResponse2$Outbound + | GetOrder1DomainsRegistrarResponse3$Outbound; + +/** @internal */ +export const GetOrderErrorDomainsRegistrarResponse1$outboundSchema: z.ZodType< + GetOrderErrorDomainsRegistrarResponse1$Outbound, + z.ZodTypeDef, + GetOrderErrorDomainsRegistrarResponse1 +> = z.union([ + z.lazy(() => GetOrder1DomainsRegistrarResponse1$outboundSchema), + z.lazy(() => GetOrder1DomainsRegistrarResponse2$outboundSchema), + z.lazy(() => GetOrder1DomainsRegistrarResponse3$outboundSchema), +]); + +export function getOrderErrorDomainsRegistrarResponse1ToJSON( + getOrderErrorDomainsRegistrarResponse1: + GetOrderErrorDomainsRegistrarResponse1, +): string { + return JSON.stringify( + GetOrderErrorDomainsRegistrarResponse1$outboundSchema.parse( + getOrderErrorDomainsRegistrarResponse1, + ), + ); +} +export function getOrderErrorDomainsRegistrarResponse1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + GetOrderErrorDomainsRegistrarResponse1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetOrderErrorDomainsRegistrarResponse1' from JSON`, + ); +} + +/** @internal */ +export const DomainsError$inboundSchema: z.ZodType< + DomainsError, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => GetOrderErrorDomainsRegistrarResponse2$inboundSchema), + z.union([ + z.lazy(() => GetOrder1DomainsRegistrarResponse1$inboundSchema), + z.lazy(() => GetOrder1DomainsRegistrarResponse2$inboundSchema), + z.lazy(() => GetOrder1DomainsRegistrarResponse3$inboundSchema), + ]), +]); +/** @internal */ +export type DomainsError$Outbound = + | GetOrderErrorDomainsRegistrarResponse2$Outbound + | GetOrder1DomainsRegistrarResponse1$Outbound + | GetOrder1DomainsRegistrarResponse2$Outbound + | GetOrder1DomainsRegistrarResponse3$Outbound; + +/** @internal */ +export const DomainsError$outboundSchema: z.ZodType< + DomainsError$Outbound, + z.ZodTypeDef, + DomainsError +> = z.union([ + z.lazy(() => GetOrderErrorDomainsRegistrarResponse2$outboundSchema), + z.union([ + z.lazy(() => GetOrder1DomainsRegistrarResponse1$outboundSchema), + z.lazy(() => GetOrder1DomainsRegistrarResponse2$outboundSchema), + z.lazy(() => GetOrder1DomainsRegistrarResponse3$outboundSchema), + ]), +]); + +export function domainsErrorToJSON(domainsError: DomainsError): string { + return JSON.stringify(DomainsError$outboundSchema.parse(domainsError)); +} +export function domainsErrorFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => DomainsError$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'DomainsError' from JSON`, + ); +} + +/** @internal */ +export const Domains1$inboundSchema: z.ZodType< + Domains1, + z.ZodTypeDef, + unknown +> = z.object({ + purchaseType: GetOrderDomainsDomainsRegistrarPurchaseType$inboundSchema, + autoRenew: z.boolean(), + years: z.number(), + domainName: z.string(), + status: DomainsStatus$inboundSchema, + price: z.number(), + error: z.union([ + z.lazy(() => GetOrderErrorDomainsRegistrarResponse2$inboundSchema), + z.union([ + z.lazy(() => GetOrder1DomainsRegistrarResponse1$inboundSchema), + z.lazy(() => GetOrder1DomainsRegistrarResponse2$inboundSchema), + z.lazy(() => GetOrder1DomainsRegistrarResponse3$inboundSchema), + ]), + ]).optional(), +}); +/** @internal */ +export type Domains1$Outbound = { + purchaseType: string; + autoRenew: boolean; + years: number; + domainName: string; + status: string; + price: number; + error?: + | GetOrderErrorDomainsRegistrarResponse2$Outbound + | GetOrder1DomainsRegistrarResponse1$Outbound + | GetOrder1DomainsRegistrarResponse2$Outbound + | GetOrder1DomainsRegistrarResponse3$Outbound + | undefined; +}; + +/** @internal */ +export const Domains1$outboundSchema: z.ZodType< + Domains1$Outbound, + z.ZodTypeDef, + Domains1 +> = z.object({ + purchaseType: GetOrderDomainsDomainsRegistrarPurchaseType$outboundSchema, + autoRenew: z.boolean(), + years: z.number(), + domainName: z.string(), + status: DomainsStatus$outboundSchema, + price: z.number(), + error: z.union([ + z.lazy(() => GetOrderErrorDomainsRegistrarResponse2$outboundSchema), + z.union([ + z.lazy(() => GetOrder1DomainsRegistrarResponse1$outboundSchema), + z.lazy(() => GetOrder1DomainsRegistrarResponse2$outboundSchema), + z.lazy(() => GetOrder1DomainsRegistrarResponse3$outboundSchema), + ]), + ]).optional(), +}); + +export function domains1ToJSON(domains1: Domains1): string { + return JSON.stringify(Domains1$outboundSchema.parse(domains1)); +} +export function domains1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Domains1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Domains1' from JSON`, + ); +} + +/** @internal */ +export const GetOrderDomains$inboundSchema: z.ZodType< + GetOrderDomains, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => Domains1$inboundSchema), + z.lazy(() => Domains3$inboundSchema), + z.lazy(() => Domains2$inboundSchema), +]); +/** @internal */ +export type GetOrderDomains$Outbound = + | Domains1$Outbound + | Domains3$Outbound + | Domains2$Outbound; + +/** @internal */ +export const GetOrderDomains$outboundSchema: z.ZodType< + GetOrderDomains$Outbound, + z.ZodTypeDef, + GetOrderDomains +> = z.union([ + z.lazy(() => Domains1$outboundSchema), + z.lazy(() => Domains3$outboundSchema), + z.lazy(() => Domains2$outboundSchema), +]); + +export function getOrderDomainsToJSON( + getOrderDomains: GetOrderDomains, +): string { + return JSON.stringify(GetOrderDomains$outboundSchema.parse(getOrderDomains)); +} +export function getOrderDomainsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetOrderDomains$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetOrderDomains' from JSON`, + ); +} + +/** @internal */ +export const GetOrderStatus$inboundSchema: z.ZodNativeEnum< + typeof GetOrderStatus +> = z.nativeEnum(GetOrderStatus); +/** @internal */ +export const GetOrderStatus$outboundSchema: z.ZodNativeEnum< + typeof GetOrderStatus +> = GetOrderStatus$inboundSchema; + +/** @internal */ +export const Error2$inboundSchema: z.ZodType = z + .object({ + code: z.string(), + details: z.any().optional(), + }); +/** @internal */ +export type Error2$Outbound = { + code: string; + details?: any | undefined; +}; + +/** @internal */ +export const Error2$outboundSchema: z.ZodType< + Error2$Outbound, + z.ZodTypeDef, + Error2 +> = z.object({ + code: z.string(), + details: z.any().optional(), +}); + +export function error2ToJSON(error2: Error2): string { + return JSON.stringify(Error2$outboundSchema.parse(error2)); +} +export function error2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Error2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Error2' from JSON`, + ); +} + +/** @internal */ +export const GetOrder1DomainsRegistrarResponseCode$inboundSchema: + z.ZodNativeEnum = z.nativeEnum( + GetOrder1DomainsRegistrarResponseCode, + ); +/** @internal */ +export const GetOrder1DomainsRegistrarResponseCode$outboundSchema: + z.ZodNativeEnum = + GetOrder1DomainsRegistrarResponseCode$inboundSchema; + +/** @internal */ +export const One4$inboundSchema: z.ZodType = z + .object({ + code: GetOrder1DomainsRegistrarResponseCode$inboundSchema, + }); +/** @internal */ +export type One4$Outbound = { + code: string; +}; + +/** @internal */ +export const One4$outboundSchema: z.ZodType = + z.object({ + code: GetOrder1DomainsRegistrarResponseCode$outboundSchema, + }); + +export function one4ToJSON(one4: One4): string { + return JSON.stringify(One4$outboundSchema.parse(one4)); +} +export function one4FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => One4$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'One4' from JSON`, + ); +} + +/** @internal */ +export const GetOrder1DomainsRegistrarCode$inboundSchema: z.ZodNativeEnum< + typeof GetOrder1DomainsRegistrarCode +> = z.nativeEnum(GetOrder1DomainsRegistrarCode); +/** @internal */ +export const GetOrder1DomainsRegistrarCode$outboundSchema: z.ZodNativeEnum< + typeof GetOrder1DomainsRegistrarCode +> = GetOrder1DomainsRegistrarCode$inboundSchema; + +/** @internal */ +export const OneDetails$inboundSchema: z.ZodType< + OneDetails, + z.ZodTypeDef, + unknown +> = z.object({ + expectedPrice: z.number(), + actualPrice: z.number().optional(), +}); +/** @internal */ +export type OneDetails$Outbound = { + expectedPrice: number; + actualPrice?: number | undefined; +}; + +/** @internal */ +export const OneDetails$outboundSchema: z.ZodType< + OneDetails$Outbound, + z.ZodTypeDef, + OneDetails +> = z.object({ + expectedPrice: z.number(), + actualPrice: z.number().optional(), +}); + +export function oneDetailsToJSON(oneDetails: OneDetails): string { + return JSON.stringify(OneDetails$outboundSchema.parse(oneDetails)); +} +export function oneDetailsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => OneDetails$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneDetails' from JSON`, + ); +} + +/** @internal */ +export const GetOrder13$inboundSchema: z.ZodType< + GetOrder13, + z.ZodTypeDef, + unknown +> = z.object({ + code: GetOrder1DomainsRegistrarCode$inboundSchema, + details: z.lazy(() => OneDetails$inboundSchema), +}); +/** @internal */ +export type GetOrder13$Outbound = { + code: string; + details: OneDetails$Outbound; +}; + +/** @internal */ +export const GetOrder13$outboundSchema: z.ZodType< + GetOrder13$Outbound, + z.ZodTypeDef, + GetOrder13 +> = z.object({ + code: GetOrder1DomainsRegistrarCode$outboundSchema, + details: z.lazy(() => OneDetails$outboundSchema), +}); + +export function getOrder13ToJSON(getOrder13: GetOrder13): string { + return JSON.stringify(GetOrder13$outboundSchema.parse(getOrder13)); +} +export function getOrder13FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetOrder13$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetOrder13' from JSON`, + ); +} + +/** @internal */ +export const GetOrder1Code$inboundSchema: z.ZodNativeEnum< + typeof GetOrder1Code +> = z.nativeEnum(GetOrder1Code); +/** @internal */ +export const GetOrder1Code$outboundSchema: z.ZodNativeEnum< + typeof GetOrder1Code +> = GetOrder1Code$inboundSchema; + +/** @internal */ +export const Tlds$inboundSchema: z.ZodType = z + .object({ + tldName: z.string(), + endsAt: z.string(), + }); +/** @internal */ +export type Tlds$Outbound = { + tldName: string; + endsAt: string; +}; + +/** @internal */ +export const Tlds$outboundSchema: z.ZodType = + z.object({ + tldName: z.string(), + endsAt: z.string(), + }); + +export function tldsToJSON(tlds: Tlds): string { + return JSON.stringify(Tlds$outboundSchema.parse(tlds)); +} +export function tldsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Tlds$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Tlds' from JSON`, + ); +} + +/** @internal */ +export const GetOrder1Details$inboundSchema: z.ZodType< + GetOrder1Details, + z.ZodTypeDef, + unknown +> = z.object({ + tlds: z.array(z.lazy(() => Tlds$inboundSchema)), +}); +/** @internal */ +export type GetOrder1Details$Outbound = { + tlds: Array; +}; + +/** @internal */ +export const GetOrder1Details$outboundSchema: z.ZodType< + GetOrder1Details$Outbound, + z.ZodTypeDef, + GetOrder1Details +> = z.object({ + tlds: z.array(z.lazy(() => Tlds$outboundSchema)), +}); + +export function getOrder1DetailsToJSON( + getOrder1Details: GetOrder1Details, +): string { + return JSON.stringify( + GetOrder1Details$outboundSchema.parse(getOrder1Details), + ); +} +export function getOrder1DetailsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetOrder1Details$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetOrder1Details' from JSON`, + ); +} + +/** @internal */ +export const GetOrder12$inboundSchema: z.ZodType< + GetOrder12, + z.ZodTypeDef, + unknown +> = z.object({ + code: GetOrder1Code$inboundSchema, + details: z.lazy(() => GetOrder1Details$inboundSchema), +}); +/** @internal */ +export type GetOrder12$Outbound = { + code: string; + details: GetOrder1Details$Outbound; +}; + +/** @internal */ +export const GetOrder12$outboundSchema: z.ZodType< + GetOrder12$Outbound, + z.ZodTypeDef, + GetOrder12 +> = z.object({ + code: GetOrder1Code$outboundSchema, + details: z.lazy(() => GetOrder1Details$outboundSchema), +}); + +export function getOrder12ToJSON(getOrder12: GetOrder12): string { + return JSON.stringify(GetOrder12$outboundSchema.parse(getOrder12)); +} +export function getOrder12FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetOrder12$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetOrder12' from JSON`, + ); +} + +/** @internal */ +export const OneCode$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(OneCode); +/** @internal */ +export const OneCode$outboundSchema: z.ZodNativeEnum = + OneCode$inboundSchema; + +/** @internal */ +export const GetOrder11$inboundSchema: z.ZodType< + GetOrder11, + z.ZodTypeDef, + unknown +> = z.object({ + code: OneCode$inboundSchema, +}); +/** @internal */ +export type GetOrder11$Outbound = { + code: string; +}; + +/** @internal */ +export const GetOrder11$outboundSchema: z.ZodType< + GetOrder11$Outbound, + z.ZodTypeDef, + GetOrder11 +> = z.object({ + code: OneCode$outboundSchema, +}); + +export function getOrder11ToJSON(getOrder11: GetOrder11): string { + return JSON.stringify(GetOrder11$outboundSchema.parse(getOrder11)); +} +export function getOrder11FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetOrder11$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetOrder11' from JSON`, + ); +} + +/** @internal */ +export const Error1$inboundSchema: z.ZodType = z + .union([ + z.lazy(() => GetOrder12$inboundSchema), + z.lazy(() => GetOrder13$inboundSchema), + z.lazy(() => GetOrder11$inboundSchema), + z.lazy(() => One4$inboundSchema), + ]); +/** @internal */ +export type Error1$Outbound = + | GetOrder12$Outbound + | GetOrder13$Outbound + | GetOrder11$Outbound + | One4$Outbound; + +/** @internal */ +export const Error1$outboundSchema: z.ZodType< + Error1$Outbound, + z.ZodTypeDef, + Error1 +> = z.union([ + z.lazy(() => GetOrder12$outboundSchema), + z.lazy(() => GetOrder13$outboundSchema), + z.lazy(() => GetOrder11$outboundSchema), + z.lazy(() => One4$outboundSchema), +]); + +export function error1ToJSON(error1: Error1): string { + return JSON.stringify(Error1$outboundSchema.parse(error1)); +} +export function error1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Error1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Error1' from JSON`, + ); +} + +/** @internal */ +export const GetOrderError$inboundSchema: z.ZodType< + GetOrderError, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => Error2$inboundSchema), + z.union([ + z.lazy(() => GetOrder12$inboundSchema), + z.lazy(() => GetOrder13$inboundSchema), + z.lazy(() => GetOrder11$inboundSchema), + z.lazy(() => One4$inboundSchema), + ]), +]); +/** @internal */ +export type GetOrderError$Outbound = + | Error2$Outbound + | GetOrder12$Outbound + | GetOrder13$Outbound + | GetOrder11$Outbound + | One4$Outbound; + +/** @internal */ +export const GetOrderError$outboundSchema: z.ZodType< + GetOrderError$Outbound, + z.ZodTypeDef, + GetOrderError +> = z.union([ + z.lazy(() => Error2$outboundSchema), + z.union([ + z.lazy(() => GetOrder12$outboundSchema), + z.lazy(() => GetOrder13$outboundSchema), + z.lazy(() => GetOrder11$outboundSchema), + z.lazy(() => One4$outboundSchema), + ]), +]); + +export function getOrderErrorToJSON(getOrderError: GetOrderError): string { + return JSON.stringify(GetOrderError$outboundSchema.parse(getOrderError)); +} +export function getOrderErrorFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetOrderError$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetOrderError' from JSON`, + ); +} + +/** @internal */ +export const GetOrderResponseBody$inboundSchema: z.ZodType< + GetOrderResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + orderId: z.string(), + domains: z.array( + z.union([ + z.lazy(() => Domains1$inboundSchema), + z.lazy(() => Domains3$inboundSchema), + z.lazy(() => Domains2$inboundSchema), + ]), + ), + status: GetOrderStatus$inboundSchema, + error: z.union([ + z.lazy(() => Error2$inboundSchema), + z.union([ + z.lazy(() => GetOrder12$inboundSchema), + z.lazy(() => GetOrder13$inboundSchema), + z.lazy(() => GetOrder11$inboundSchema), + z.lazy(() => One4$inboundSchema), + ]), + ]).optional(), +}); +/** @internal */ +export type GetOrderResponseBody$Outbound = { + orderId: string; + domains: Array; + status: string; + error?: + | Error2$Outbound + | GetOrder12$Outbound + | GetOrder13$Outbound + | GetOrder11$Outbound + | One4$Outbound + | undefined; +}; + +/** @internal */ +export const GetOrderResponseBody$outboundSchema: z.ZodType< + GetOrderResponseBody$Outbound, + z.ZodTypeDef, + GetOrderResponseBody +> = z.object({ + orderId: z.string(), + domains: z.array( + z.union([ + z.lazy(() => Domains1$outboundSchema), + z.lazy(() => Domains3$outboundSchema), + z.lazy(() => Domains2$outboundSchema), + ]), + ), + status: GetOrderStatus$outboundSchema, + error: z.union([ + z.lazy(() => Error2$outboundSchema), + z.union([ + z.lazy(() => GetOrder12$outboundSchema), + z.lazy(() => GetOrder13$outboundSchema), + z.lazy(() => GetOrder11$outboundSchema), + z.lazy(() => One4$outboundSchema), + ]), + ]).optional(), +}); + +export function getOrderResponseBodyToJSON( + getOrderResponseBody: GetOrderResponseBody, +): string { + return JSON.stringify( + GetOrderResponseBody$outboundSchema.parse(getOrderResponseBody), + ); +} +export function getOrderResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetOrderResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetOrderResponseBody' from JSON`, + ); +} diff --git a/src/models/getprojectclientcertsop.ts b/src/models/getprojectclientcertsop.ts new file mode 100644 index 000000000..0f32122a8 --- /dev/null +++ b/src/models/getprojectclientcertsop.ts @@ -0,0 +1,161 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { safeParse } from "../lib/schemas.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type GetProjectClientCertsRequest = { + /** + * 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; +}; + +export type ClientCerts = { + origin: string; + id: string; +}; + +/** + * Client certificates retrieved successfully + */ +export type GetProjectClientCertsResponseBody = { + clientCerts: Array; +}; + +/** @internal */ +export const GetProjectClientCertsRequest$inboundSchema: z.ZodType< + GetProjectClientCertsRequest, + z.ZodTypeDef, + unknown +> = z.object({ + idOrName: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); +/** @internal */ +export type GetProjectClientCertsRequest$Outbound = { + idOrName: string; + teamId?: string | undefined; + slug?: string | undefined; +}; + +/** @internal */ +export const GetProjectClientCertsRequest$outboundSchema: z.ZodType< + GetProjectClientCertsRequest$Outbound, + z.ZodTypeDef, + GetProjectClientCertsRequest +> = z.object({ + idOrName: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +export function getProjectClientCertsRequestToJSON( + getProjectClientCertsRequest: GetProjectClientCertsRequest, +): string { + return JSON.stringify( + GetProjectClientCertsRequest$outboundSchema.parse( + getProjectClientCertsRequest, + ), + ); +} +export function getProjectClientCertsRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectClientCertsRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectClientCertsRequest' from JSON`, + ); +} + +/** @internal */ +export const ClientCerts$inboundSchema: z.ZodType< + ClientCerts, + z.ZodTypeDef, + unknown +> = z.object({ + origin: z.string(), + id: z.string(), +}); +/** @internal */ +export type ClientCerts$Outbound = { + origin: string; + id: string; +}; + +/** @internal */ +export const ClientCerts$outboundSchema: z.ZodType< + ClientCerts$Outbound, + z.ZodTypeDef, + ClientCerts +> = z.object({ + origin: z.string(), + id: z.string(), +}); + +export function clientCertsToJSON(clientCerts: ClientCerts): string { + return JSON.stringify(ClientCerts$outboundSchema.parse(clientCerts)); +} +export function clientCertsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ClientCerts$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ClientCerts' from JSON`, + ); +} + +/** @internal */ +export const GetProjectClientCertsResponseBody$inboundSchema: z.ZodType< + GetProjectClientCertsResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + clientCerts: z.array(z.lazy(() => ClientCerts$inboundSchema)), +}); +/** @internal */ +export type GetProjectClientCertsResponseBody$Outbound = { + clientCerts: Array; +}; + +/** @internal */ +export const GetProjectClientCertsResponseBody$outboundSchema: z.ZodType< + GetProjectClientCertsResponseBody$Outbound, + z.ZodTypeDef, + GetProjectClientCertsResponseBody +> = z.object({ + clientCerts: z.array(z.lazy(() => ClientCerts$outboundSchema)), +}); + +export function getProjectClientCertsResponseBodyToJSON( + getProjectClientCertsResponseBody: GetProjectClientCertsResponseBody, +): string { + return JSON.stringify( + GetProjectClientCertsResponseBody$outboundSchema.parse( + getProjectClientCertsResponseBody, + ), + ); +} +export function getProjectClientCertsResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectClientCertsResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectClientCertsResponseBody' from JSON`, + ); +} diff --git a/src/models/getprojectdomainop.ts b/src/models/getprojectdomainop.ts index 135c227a2..a3d856b6d 100644 --- a/src/models/getprojectdomainop.ts +++ b/src/models/getprojectdomainop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -67,7 +67,6 @@ export const GetProjectDomainRequest$inboundSchema: z.ZodType< teamId: z.string().optional(), slug: z.string().optional(), }); - /** @internal */ export type GetProjectDomainRequest$Outbound = { idOrName: string; @@ -88,19 +87,6 @@ export const GetProjectDomainRequest$outboundSchema: z.ZodType< 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 { @@ -108,7 +94,6 @@ export function getProjectDomainRequestToJSON( GetProjectDomainRequest$outboundSchema.parse(getProjectDomainRequest), ); } - export function getProjectDomainRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -130,7 +115,6 @@ export const Verification$inboundSchema: z.ZodType< value: z.string(), reason: z.string(), }); - /** @internal */ export type Verification$Outbound = { type: string; @@ -151,23 +135,9 @@ export const Verification$outboundSchema: z.ZodType< 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 { @@ -196,7 +166,6 @@ export const GetProjectDomainResponseBody$inboundSchema: z.ZodType< verified: z.boolean(), verification: z.array(z.lazy(() => Verification$inboundSchema)).optional(), }); - /** @internal */ export type GetProjectDomainResponseBody$Outbound = { name: string; @@ -231,19 +200,6 @@ export const GetProjectDomainResponseBody$outboundSchema: z.ZodType< 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 { @@ -253,7 +209,6 @@ export function getProjectDomainResponseBodyToJSON( ), ); } - export function getProjectDomainResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/getprojectdomainsop.ts b/src/models/getprojectdomainsop.ts index ea38e37c1..ae209b923 100644 --- a/src/models/getprojectdomainsop.ts +++ b/src/models/getprojectdomainsop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; @@ -222,101 +222,41 @@ export type GetProjectDomainsResponseBody = /** @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, @@ -338,7 +278,6 @@ export const GetProjectDomainsRequest$inboundSchema: z.ZodType< teamId: z.string().optional(), slug: z.string().optional(), }); - /** @internal */ export type GetProjectDomainsRequest$Outbound = { idOrName: string; @@ -379,19 +318,6 @@ export const GetProjectDomainsRequest$outboundSchema: z.ZodType< 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 { @@ -399,7 +325,6 @@ export function getProjectDomainsRequestToJSON( GetProjectDomainsRequest$outboundSchema.parse(getProjectDomainsRequest), ); } - export function getProjectDomainsRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -421,7 +346,6 @@ export const GetProjectDomainsResponseBodyVerification$inboundSchema: z.ZodType< value: z.string(), reason: z.string(), }); - /** @internal */ export type GetProjectDomainsResponseBodyVerification$Outbound = { type: string; @@ -443,21 +367,6 @@ export const GetProjectDomainsResponseBodyVerification$outboundSchema: 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 GetProjectDomainsResponseBodyVerification$ { - /** @deprecated use `GetProjectDomainsResponseBodyVerification$inboundSchema` instead. */ - export const inboundSchema = - GetProjectDomainsResponseBodyVerification$inboundSchema; - /** @deprecated use `GetProjectDomainsResponseBodyVerification$outboundSchema` instead. */ - export const outboundSchema = - GetProjectDomainsResponseBodyVerification$outboundSchema; - /** @deprecated use `GetProjectDomainsResponseBodyVerification$Outbound` instead. */ - export type Outbound = GetProjectDomainsResponseBodyVerification$Outbound; -} - export function getProjectDomainsResponseBodyVerificationToJSON( getProjectDomainsResponseBodyVerification: GetProjectDomainsResponseBodyVerification, @@ -468,7 +377,6 @@ export function getProjectDomainsResponseBodyVerificationToJSON( ), ); } - export function getProjectDomainsResponseBodyVerificationFromJSON( jsonString: string, ): SafeParseResult< @@ -505,7 +413,6 @@ export const GetProjectDomainsResponseBodyDomains$inboundSchema: z.ZodType< z.lazy(() => GetProjectDomainsResponseBodyVerification$inboundSchema), ).optional(), }); - /** @internal */ export type GetProjectDomainsResponseBodyDomains$Outbound = { name: string; @@ -544,21 +451,6 @@ export const GetProjectDomainsResponseBodyDomains$outboundSchema: z.ZodType< ).optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectDomainsResponseBodyDomains$ { - /** @deprecated use `GetProjectDomainsResponseBodyDomains$inboundSchema` instead. */ - export const inboundSchema = - GetProjectDomainsResponseBodyDomains$inboundSchema; - /** @deprecated use `GetProjectDomainsResponseBodyDomains$outboundSchema` instead. */ - export const outboundSchema = - GetProjectDomainsResponseBodyDomains$outboundSchema; - /** @deprecated use `GetProjectDomainsResponseBodyDomains$Outbound` instead. */ - export type Outbound = GetProjectDomainsResponseBodyDomains$Outbound; -} - export function getProjectDomainsResponseBodyDomainsToJSON( getProjectDomainsResponseBodyDomains: GetProjectDomainsResponseBodyDomains, ): string { @@ -568,7 +460,6 @@ export function getProjectDomainsResponseBodyDomainsToJSON( ), ); } - export function getProjectDomainsResponseBodyDomainsFromJSON( jsonString: string, ): SafeParseResult { @@ -591,7 +482,6 @@ export const GetProjectDomainsResponseBody2$inboundSchema: z.ZodType< ), pagination: Pagination$inboundSchema, }); - /** @internal */ export type GetProjectDomainsResponseBody2$Outbound = { domains: Array; @@ -610,19 +500,6 @@ export const GetProjectDomainsResponseBody2$outboundSchema: z.ZodType< 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 GetProjectDomainsResponseBody2$ { - /** @deprecated use `GetProjectDomainsResponseBody2$inboundSchema` instead. */ - export const inboundSchema = GetProjectDomainsResponseBody2$inboundSchema; - /** @deprecated use `GetProjectDomainsResponseBody2$outboundSchema` instead. */ - export const outboundSchema = GetProjectDomainsResponseBody2$outboundSchema; - /** @deprecated use `GetProjectDomainsResponseBody2$Outbound` instead. */ - export type Outbound = GetProjectDomainsResponseBody2$Outbound; -} - export function getProjectDomainsResponseBody2ToJSON( getProjectDomainsResponseBody2: GetProjectDomainsResponseBody2, ): string { @@ -632,7 +509,6 @@ export function getProjectDomainsResponseBody2ToJSON( ), ); } - export function getProjectDomainsResponseBody2FromJSON( jsonString: string, ): SafeParseResult { @@ -654,7 +530,6 @@ export const ResponseBodyVerification$inboundSchema: z.ZodType< value: z.string(), reason: z.string(), }); - /** @internal */ export type ResponseBodyVerification$Outbound = { type: string; @@ -675,19 +550,6 @@ export const ResponseBodyVerification$outboundSchema: z.ZodType< 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 ResponseBodyVerification$ { - /** @deprecated use `ResponseBodyVerification$inboundSchema` instead. */ - export const inboundSchema = ResponseBodyVerification$inboundSchema; - /** @deprecated use `ResponseBodyVerification$outboundSchema` instead. */ - export const outboundSchema = ResponseBodyVerification$outboundSchema; - /** @deprecated use `ResponseBodyVerification$Outbound` instead. */ - export type Outbound = ResponseBodyVerification$Outbound; -} - export function responseBodyVerificationToJSON( responseBodyVerification: ResponseBodyVerification, ): string { @@ -695,7 +557,6 @@ export function responseBodyVerificationToJSON( ResponseBodyVerification$outboundSchema.parse(responseBodyVerification), ); } - export function responseBodyVerificationFromJSON( jsonString: string, ): SafeParseResult { @@ -725,7 +586,6 @@ export const ResponseBodyDomains$inboundSchema: z.ZodType< verification: z.array(z.lazy(() => ResponseBodyVerification$inboundSchema)) .optional(), }); - /** @internal */ export type ResponseBodyDomains$Outbound = { name: string; @@ -761,19 +621,6 @@ export const ResponseBodyDomains$outboundSchema: z.ZodType< .optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ResponseBodyDomains$ { - /** @deprecated use `ResponseBodyDomains$inboundSchema` instead. */ - export const inboundSchema = ResponseBodyDomains$inboundSchema; - /** @deprecated use `ResponseBodyDomains$outboundSchema` instead. */ - export const outboundSchema = ResponseBodyDomains$outboundSchema; - /** @deprecated use `ResponseBodyDomains$Outbound` instead. */ - export type Outbound = ResponseBodyDomains$Outbound; -} - export function responseBodyDomainsToJSON( responseBodyDomains: ResponseBodyDomains, ): string { @@ -781,7 +628,6 @@ export function responseBodyDomainsToJSON( ResponseBodyDomains$outboundSchema.parse(responseBodyDomains), ); } - export function responseBodyDomainsFromJSON( jsonString: string, ): SafeParseResult { @@ -802,7 +648,6 @@ export const GetProjectDomainsResponseBodyPagination$inboundSchema: z.ZodType< next: z.nullable(z.number()), prev: z.nullable(z.number()), }); - /** @internal */ export type GetProjectDomainsResponseBodyPagination$Outbound = { count: number; @@ -821,21 +666,6 @@ export const GetProjectDomainsResponseBodyPagination$outboundSchema: z.ZodType< 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 GetProjectDomainsResponseBodyPagination$ { - /** @deprecated use `GetProjectDomainsResponseBodyPagination$inboundSchema` instead. */ - export const inboundSchema = - GetProjectDomainsResponseBodyPagination$inboundSchema; - /** @deprecated use `GetProjectDomainsResponseBodyPagination$outboundSchema` instead. */ - export const outboundSchema = - GetProjectDomainsResponseBodyPagination$outboundSchema; - /** @deprecated use `GetProjectDomainsResponseBodyPagination$Outbound` instead. */ - export type Outbound = GetProjectDomainsResponseBodyPagination$Outbound; -} - export function getProjectDomainsResponseBodyPaginationToJSON( getProjectDomainsResponseBodyPagination: GetProjectDomainsResponseBodyPagination, @@ -846,7 +676,6 @@ export function getProjectDomainsResponseBodyPaginationToJSON( ), ); } - export function getProjectDomainsResponseBodyPaginationFromJSON( jsonString: string, ): SafeParseResult< @@ -874,7 +703,6 @@ export const GetProjectDomainsResponseBody1$inboundSchema: z.ZodType< GetProjectDomainsResponseBodyPagination$inboundSchema ), }); - /** @internal */ export type GetProjectDomainsResponseBody1$Outbound = { domains: Array; @@ -893,19 +721,6 @@ export const GetProjectDomainsResponseBody1$outboundSchema: z.ZodType< ), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectDomainsResponseBody1$ { - /** @deprecated use `GetProjectDomainsResponseBody1$inboundSchema` instead. */ - export const inboundSchema = GetProjectDomainsResponseBody1$inboundSchema; - /** @deprecated use `GetProjectDomainsResponseBody1$outboundSchema` instead. */ - export const outboundSchema = GetProjectDomainsResponseBody1$outboundSchema; - /** @deprecated use `GetProjectDomainsResponseBody1$Outbound` instead. */ - export type Outbound = GetProjectDomainsResponseBody1$Outbound; -} - export function getProjectDomainsResponseBody1ToJSON( getProjectDomainsResponseBody1: GetProjectDomainsResponseBody1, ): string { @@ -915,7 +730,6 @@ export function getProjectDomainsResponseBody1ToJSON( ), ); } - export function getProjectDomainsResponseBody1FromJSON( jsonString: string, ): SafeParseResult { @@ -935,7 +749,6 @@ export const GetProjectDomainsResponseBody$inboundSchema: z.ZodType< z.lazy(() => GetProjectDomainsResponseBody1$inboundSchema), z.lazy(() => GetProjectDomainsResponseBody2$inboundSchema), ]); - /** @internal */ export type GetProjectDomainsResponseBody$Outbound = | GetProjectDomainsResponseBody1$Outbound @@ -951,19 +764,6 @@ export const GetProjectDomainsResponseBody$outboundSchema: z.ZodType< z.lazy(() => GetProjectDomainsResponseBody2$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 { @@ -973,7 +773,6 @@ export function getProjectDomainsResponseBodyToJSON( ), ); } - export function getProjectDomainsResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/getprojectenvop.ts b/src/models/getprojectenvop.ts index 29565e580..ee3c80a55 100644 --- a/src/models/getprojectenvop.ts +++ b/src/models/getprojectenvop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; @@ -1054,7 +1054,6 @@ export const GetProjectEnvRequest$inboundSchema: z.ZodType< teamId: z.string().optional(), slug: z.string().optional(), }); - /** @internal */ export type GetProjectEnvRequest$Outbound = { idOrName: string; @@ -1075,19 +1074,6 @@ export const GetProjectEnvRequest$outboundSchema: z.ZodType< 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 { @@ -1095,7 +1081,6 @@ export function getProjectEnvRequestToJSON( GetProjectEnvRequest$outboundSchema.parse(getProjectEnvRequest), ); } - export function getProjectEnvRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -1111,25 +1096,11 @@ 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< @@ -1140,7 +1111,6 @@ export const GetProjectEnvResponseBodyProjectsResponseTarget$inboundSchema: z.array(z.string()), GetProjectEnvTargetProjectsResponse2$inboundSchema, ]); - /** @internal */ export type GetProjectEnvResponseBodyProjectsResponseTarget$Outbound = | Array @@ -1157,22 +1127,6 @@ export const GetProjectEnvResponseBodyProjectsResponseTarget$outboundSchema: 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, @@ -1183,7 +1137,6 @@ export function getProjectEnvResponseBodyProjectsResponseTargetToJSON( ), ); } - export function getProjectEnvResponseBodyProjectsResponseTargetFromJSON( jsonString: string, ): SafeParseResult< @@ -1204,25 +1157,11 @@ export function getProjectEnvResponseBodyProjectsResponseTargetFromJSON( 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< @@ -1230,7 +1169,6 @@ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseB > = z.nativeEnum( GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody315Type, ); - /** @internal */ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody315Type$outboundSchema: z.ZodNativeEnum< @@ -1238,19 +1176,6 @@ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseB > = 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 = @@ -1259,7 +1184,6 @@ export const GetProjectEnvContentHintProjectsResponse15$inboundSchema: GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody315Type$inboundSchema, projectId: z.string(), }); - /** @internal */ export type GetProjectEnvContentHintProjectsResponse15$Outbound = { type: string; @@ -1278,21 +1202,6 @@ export const GetProjectEnvContentHintProjectsResponse15$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, @@ -1303,7 +1212,6 @@ export function getProjectEnvContentHintProjectsResponse15ToJSON( ), ); } - export function getProjectEnvContentHintProjectsResponse15FromJSON( jsonString: string, ): SafeParseResult< @@ -1327,7 +1235,6 @@ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseB > = z.nativeEnum( GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody314Type, ); - /** @internal */ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody314Type$outboundSchema: z.ZodNativeEnum< @@ -1335,19 +1242,6 @@ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseB > = 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 = @@ -1359,7 +1253,6 @@ export const GetProjectEnvContentHintProjectsResponse14$inboundSchema: integrationProductId: z.string(), integrationConfigurationId: z.string(), }); - /** @internal */ export type GetProjectEnvContentHintProjectsResponse14$Outbound = { type: string; @@ -1384,21 +1277,6 @@ export const GetProjectEnvContentHintProjectsResponse14$outboundSchema: 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, @@ -1409,7 +1287,6 @@ export function getProjectEnvContentHintProjectsResponse14ToJSON( ), ); } - export function getProjectEnvContentHintProjectsResponse14FromJSON( jsonString: string, ): SafeParseResult< @@ -1433,7 +1310,6 @@ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseB > = z.nativeEnum( GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody313Type, ); - /** @internal */ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody313Type$outboundSchema: z.ZodNativeEnum< @@ -1441,19 +1317,6 @@ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseB > = 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 = @@ -1462,7 +1325,6 @@ export const GetProjectEnvContentHintProjectsResponse13$inboundSchema: GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody313Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type GetProjectEnvContentHintProjectsResponse13$Outbound = { type: string; @@ -1481,21 +1343,6 @@ export const GetProjectEnvContentHintProjectsResponse13$outboundSchema: storeId: z.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, @@ -1506,7 +1353,6 @@ export function getProjectEnvContentHintProjectsResponse13ToJSON( ), ); } - export function getProjectEnvContentHintProjectsResponse13FromJSON( jsonString: string, ): SafeParseResult< @@ -1530,7 +1376,6 @@ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseB > = z.nativeEnum( GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody312Type, ); - /** @internal */ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody312Type$outboundSchema: z.ZodNativeEnum< @@ -1538,19 +1383,6 @@ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseB > = 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 = @@ -1559,7 +1391,6 @@ export const GetProjectEnvContentHintProjectsResponse12$inboundSchema: GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody312Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type GetProjectEnvContentHintProjectsResponse12$Outbound = { type: string; @@ -1578,21 +1409,6 @@ export const GetProjectEnvContentHintProjectsResponse12$outboundSchema: storeId: z.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, @@ -1603,7 +1419,6 @@ export function getProjectEnvContentHintProjectsResponse12ToJSON( ), ); } - export function getProjectEnvContentHintProjectsResponse12FromJSON( jsonString: string, ): SafeParseResult< @@ -1627,7 +1442,6 @@ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseB > = z.nativeEnum( GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody311Type, ); - /** @internal */ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody311Type$outboundSchema: z.ZodNativeEnum< @@ -1635,19 +1449,6 @@ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseB > = 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 = @@ -1656,7 +1457,6 @@ export const GetProjectEnvContentHintProjectsResponse11$inboundSchema: GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody311Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type GetProjectEnvContentHintProjectsResponse11$Outbound = { type: string; @@ -1675,21 +1475,6 @@ export const GetProjectEnvContentHintProjectsResponse11$outboundSchema: storeId: z.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, @@ -1700,7 +1485,6 @@ export function getProjectEnvContentHintProjectsResponse11ToJSON( ), ); } - export function getProjectEnvContentHintProjectsResponse11FromJSON( jsonString: string, ): SafeParseResult< @@ -1724,7 +1508,6 @@ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseB > = z.nativeEnum( GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody310Type, ); - /** @internal */ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody310Type$outboundSchema: z.ZodNativeEnum< @@ -1732,19 +1515,6 @@ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseB > = 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 = @@ -1753,7 +1523,6 @@ export const GetProjectEnvContentHintProjectsResponse10$inboundSchema: GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody310Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type GetProjectEnvContentHintProjectsResponse10$Outbound = { type: string; @@ -1772,21 +1541,6 @@ export const GetProjectEnvContentHintProjectsResponse10$outboundSchema: storeId: z.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, @@ -1797,7 +1551,6 @@ export function getProjectEnvContentHintProjectsResponse10ToJSON( ), ); } - export function getProjectEnvContentHintProjectsResponse10FromJSON( jsonString: string, ): SafeParseResult< @@ -1821,7 +1574,6 @@ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseB > = z.nativeEnum( GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody39Type, ); - /** @internal */ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody39Type$outboundSchema: z.ZodNativeEnum< @@ -1829,19 +1581,6 @@ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseB > = 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, @@ -1852,7 +1591,6 @@ export const GetProjectEnvContentHintProjectsResponse9$inboundSchema: z.ZodType< GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody39Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type GetProjectEnvContentHintProjectsResponse9$Outbound = { type: string; @@ -1871,21 +1609,6 @@ export const GetProjectEnvContentHintProjectsResponse9$outboundSchema: storeId: z.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, @@ -1896,7 +1619,6 @@ export function getProjectEnvContentHintProjectsResponse9ToJSON( ), ); } - export function getProjectEnvContentHintProjectsResponse9FromJSON( jsonString: string, ): SafeParseResult< @@ -1920,7 +1642,6 @@ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseB > = z.nativeEnum( GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody38Type, ); - /** @internal */ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody38Type$outboundSchema: z.ZodNativeEnum< @@ -1928,19 +1649,6 @@ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseB > = 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, @@ -1951,7 +1659,6 @@ export const GetProjectEnvContentHintProjectsResponse8$inboundSchema: z.ZodType< GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody38Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type GetProjectEnvContentHintProjectsResponse8$Outbound = { type: string; @@ -1970,21 +1677,6 @@ export const GetProjectEnvContentHintProjectsResponse8$outboundSchema: storeId: z.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, @@ -1995,7 +1687,6 @@ export function getProjectEnvContentHintProjectsResponse8ToJSON( ), ); } - export function getProjectEnvContentHintProjectsResponse8FromJSON( jsonString: string, ): SafeParseResult< @@ -2019,7 +1710,6 @@ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseB > = z.nativeEnum( GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody37Type, ); - /** @internal */ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody37Type$outboundSchema: z.ZodNativeEnum< @@ -2027,19 +1717,6 @@ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseB > = 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, @@ -2050,7 +1727,6 @@ export const GetProjectEnvContentHintProjectsResponse7$inboundSchema: z.ZodType< GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody37Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type GetProjectEnvContentHintProjectsResponse7$Outbound = { type: string; @@ -2069,21 +1745,6 @@ export const GetProjectEnvContentHintProjectsResponse7$outboundSchema: storeId: z.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, @@ -2094,7 +1755,6 @@ export function getProjectEnvContentHintProjectsResponse7ToJSON( ), ); } - export function getProjectEnvContentHintProjectsResponse7FromJSON( jsonString: string, ): SafeParseResult< @@ -2118,7 +1778,6 @@ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseB > = z.nativeEnum( GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody36Type, ); - /** @internal */ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody36Type$outboundSchema: z.ZodNativeEnum< @@ -2126,19 +1785,6 @@ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseB > = 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, @@ -2149,7 +1795,6 @@ export const GetProjectEnvContentHintProjectsResponse6$inboundSchema: z.ZodType< GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody36Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type GetProjectEnvContentHintProjectsResponse6$Outbound = { type: string; @@ -2168,21 +1813,6 @@ export const GetProjectEnvContentHintProjectsResponse6$outboundSchema: storeId: z.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, @@ -2193,7 +1823,6 @@ export function getProjectEnvContentHintProjectsResponse6ToJSON( ), ); } - export function getProjectEnvContentHintProjectsResponse6FromJSON( jsonString: string, ): SafeParseResult< @@ -2217,7 +1846,6 @@ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseB > = z.nativeEnum( GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody35Type, ); - /** @internal */ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody35Type$outboundSchema: z.ZodNativeEnum< @@ -2225,19 +1853,6 @@ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseB > = 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, @@ -2248,7 +1863,6 @@ export const GetProjectEnvContentHintProjectsResponse5$inboundSchema: z.ZodType< GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody35Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type GetProjectEnvContentHintProjectsResponse5$Outbound = { type: string; @@ -2267,21 +1881,6 @@ export const GetProjectEnvContentHintProjectsResponse5$outboundSchema: storeId: z.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, @@ -2292,7 +1891,6 @@ export function getProjectEnvContentHintProjectsResponse5ToJSON( ), ); } - export function getProjectEnvContentHintProjectsResponse5FromJSON( jsonString: string, ): SafeParseResult< @@ -2316,7 +1914,6 @@ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseB > = z.nativeEnum( GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody34Type, ); - /** @internal */ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody34Type$outboundSchema: z.ZodNativeEnum< @@ -2324,19 +1921,6 @@ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseB > = 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, @@ -2347,7 +1931,6 @@ export const GetProjectEnvContentHintProjectsResponse4$inboundSchema: z.ZodType< GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody34Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type GetProjectEnvContentHintProjectsResponse4$Outbound = { type: string; @@ -2366,21 +1949,6 @@ export const GetProjectEnvContentHintProjectsResponse4$outboundSchema: storeId: z.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, @@ -2391,7 +1959,6 @@ export function getProjectEnvContentHintProjectsResponse4ToJSON( ), ); } - export function getProjectEnvContentHintProjectsResponse4FromJSON( jsonString: string, ): SafeParseResult< @@ -2415,7 +1982,6 @@ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseB > = z.nativeEnum( GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody33Type, ); - /** @internal */ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody33Type$outboundSchema: z.ZodNativeEnum< @@ -2423,19 +1989,6 @@ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseB > = 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, @@ -2446,7 +1999,6 @@ export const GetProjectEnvContentHintProjectsResponse3$inboundSchema: z.ZodType< GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody33Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type GetProjectEnvContentHintProjectsResponse3$Outbound = { type: string; @@ -2465,21 +2017,6 @@ export const GetProjectEnvContentHintProjectsResponse3$outboundSchema: storeId: z.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, @@ -2490,7 +2027,6 @@ export function getProjectEnvContentHintProjectsResponse3ToJSON( ), ); } - export function getProjectEnvContentHintProjectsResponse3FromJSON( jsonString: string, ): SafeParseResult< @@ -2514,7 +2050,6 @@ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseB > = z.nativeEnum( GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody32Type, ); - /** @internal */ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody32Type$outboundSchema: z.ZodNativeEnum< @@ -2522,19 +2057,6 @@ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseB > = 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, @@ -2545,7 +2067,6 @@ export const GetProjectEnvContentHintProjectsResponse2$inboundSchema: z.ZodType< GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody32Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type GetProjectEnvContentHintProjectsResponse2$Outbound = { type: string; @@ -2564,21 +2085,6 @@ export const GetProjectEnvContentHintProjectsResponse2$outboundSchema: storeId: z.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, @@ -2589,7 +2095,6 @@ export function getProjectEnvContentHintProjectsResponse2ToJSON( ), ); } - export function getProjectEnvContentHintProjectsResponse2FromJSON( jsonString: string, ): SafeParseResult< @@ -2613,7 +2118,6 @@ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseB > = z.nativeEnum( GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody3Type, ); - /** @internal */ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody3Type$outboundSchema: z.ZodNativeEnum< @@ -2621,19 +2125,6 @@ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseB > = 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, @@ -2644,7 +2135,6 @@ export const GetProjectEnvContentHintProjectsResponse1$inboundSchema: z.ZodType< GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody3Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type GetProjectEnvContentHintProjectsResponse1$Outbound = { type: string; @@ -2663,21 +2153,6 @@ export const GetProjectEnvContentHintProjectsResponse1$outboundSchema: storeId: z.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, @@ -2688,7 +2163,6 @@ export function getProjectEnvContentHintProjectsResponse1ToJSON( ), ); } - export function getProjectEnvContentHintProjectsResponse1FromJSON( jsonString: string, ): SafeParseResult< @@ -2728,7 +2202,6 @@ export const GetProjectEnvResponseBodyProjectsResponseContentHint$inboundSchema: z.lazy(() => GetProjectEnvContentHintProjectsResponse13$inboundSchema), z.lazy(() => GetProjectEnvContentHintProjectsResponse15$inboundSchema), ]); - /** @internal */ export type GetProjectEnvResponseBodyProjectsResponseContentHint$Outbound = | GetProjectEnvContentHintProjectsResponse14$Outbound @@ -2771,22 +2244,6 @@ export const GetProjectEnvResponseBodyProjectsResponseContentHint$outboundSchema z.lazy(() => GetProjectEnvContentHintProjectsResponse15$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, @@ -2797,7 +2254,6 @@ export function getProjectEnvResponseBodyProjectsResponseContentHintToJSON( ), ); } - export function getProjectEnvResponseBodyProjectsResponseContentHintFromJSON( jsonString: string, ): SafeParseResult< @@ -2821,7 +2277,6 @@ export const GetProjectEnvResponseBodyProjectsResponse200ApplicationJson3Type$in > = z.nativeEnum( GetProjectEnvResponseBodyProjectsResponse200ApplicationJson3Type, ); - /** @internal */ export const GetProjectEnvResponseBodyProjectsResponse200ApplicationJson3Type$outboundSchema: z.ZodNativeEnum< @@ -2829,19 +2284,6 @@ export const GetProjectEnvResponseBodyProjectsResponse200ApplicationJson3Type$ou > = 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< @@ -2853,7 +2295,6 @@ export const GetProjectEnvResponseBodyProjectsResponseInternalContentHint$inboun GetProjectEnvResponseBodyProjectsResponse200ApplicationJson3Type$inboundSchema, encryptedValue: z.string(), }); - /** @internal */ export type GetProjectEnvResponseBodyProjectsResponseInternalContentHint$Outbound = { @@ -2873,22 +2314,6 @@ export const GetProjectEnvResponseBodyProjectsResponseInternalContentHint$outbou 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, @@ -2898,7 +2323,6 @@ export function getProjectEnvResponseBodyProjectsResponseInternalContentHintToJS .parse(getProjectEnvResponseBodyProjectsResponseInternalContentHint), ); } - export function getProjectEnvResponseBodyProjectsResponseInternalContentHintFromJSON( jsonString: string, ): SafeParseResult< @@ -2965,7 +2389,6 @@ export const GetProjectEnvResponseBody3$inboundSchema: z.ZodType< comment: z.string().optional(), customEnvironmentIds: z.array(z.string()).optional(), }); - /** @internal */ export type GetProjectEnvResponseBody3$Outbound = { target?: Array | string | undefined; @@ -3061,19 +2484,6 @@ export const GetProjectEnvResponseBody3$outboundSchema: z.ZodType< 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 { @@ -3081,7 +2491,6 @@ export function getProjectEnvResponseBody3ToJSON( GetProjectEnvResponseBody3$outboundSchema.parse(getProjectEnvResponseBody3), ); } - export function getProjectEnvResponseBody3FromJSON( jsonString: string, ): SafeParseResult { @@ -3096,44 +2505,20 @@ export function getProjectEnvResponseBody3FromJSON( 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, @@ -3143,7 +2528,6 @@ export const GetProjectEnvResponseBodyProjectsTarget$inboundSchema: z.ZodType< z.array(GetProjectEnvTargetProjects1$inboundSchema), GetProjectEnvTargetProjects2$inboundSchema, ]); - /** @internal */ export type GetProjectEnvResponseBodyProjectsTarget$Outbound = | Array @@ -3159,21 +2543,6 @@ export const GetProjectEnvResponseBodyProjectsTarget$outboundSchema: z.ZodType< 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, @@ -3184,7 +2553,6 @@ export function getProjectEnvResponseBodyProjectsTargetToJSON( ), ); } - export function getProjectEnvResponseBodyProjectsTargetFromJSON( jsonString: string, ): SafeParseResult< @@ -3206,25 +2574,11 @@ 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< @@ -3232,7 +2586,6 @@ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseB > = z.nativeEnum( GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody215Type, ); - /** @internal */ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody215Type$outboundSchema: z.ZodNativeEnum< @@ -3240,19 +2593,6 @@ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseB > = 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, @@ -3263,7 +2603,6 @@ export const GetProjectEnvContentHintProjects15$inboundSchema: z.ZodType< GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody215Type$inboundSchema, projectId: z.string(), }); - /** @internal */ export type GetProjectEnvContentHintProjects15$Outbound = { type: string; @@ -3281,20 +2620,6 @@ export const GetProjectEnvContentHintProjects15$outboundSchema: z.ZodType< 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 { @@ -3304,7 +2629,6 @@ export function getProjectEnvContentHintProjects15ToJSON( ), ); } - export function getProjectEnvContentHintProjects15FromJSON( jsonString: string, ): SafeParseResult { @@ -3323,7 +2647,6 @@ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseB > = z.nativeEnum( GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody214Type, ); - /** @internal */ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody214Type$outboundSchema: z.ZodNativeEnum< @@ -3331,19 +2654,6 @@ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseB > = 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, @@ -3357,7 +2667,6 @@ export const GetProjectEnvContentHintProjects14$inboundSchema: z.ZodType< integrationProductId: z.string(), integrationConfigurationId: z.string(), }); - /** @internal */ export type GetProjectEnvContentHintProjects14$Outbound = { type: string; @@ -3381,20 +2690,6 @@ export const GetProjectEnvContentHintProjects14$outboundSchema: z.ZodType< 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 { @@ -3404,7 +2699,6 @@ export function getProjectEnvContentHintProjects14ToJSON( ), ); } - export function getProjectEnvContentHintProjects14FromJSON( jsonString: string, ): SafeParseResult { @@ -3423,7 +2717,6 @@ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseB > = z.nativeEnum( GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody213Type, ); - /** @internal */ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody213Type$outboundSchema: z.ZodNativeEnum< @@ -3431,19 +2724,6 @@ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseB > = 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, @@ -3454,7 +2734,6 @@ export const GetProjectEnvContentHintProjects13$inboundSchema: z.ZodType< GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody213Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type GetProjectEnvContentHintProjects13$Outbound = { type: string; @@ -3472,20 +2751,6 @@ export const GetProjectEnvContentHintProjects13$outboundSchema: z.ZodType< storeId: z.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 { @@ -3495,7 +2760,6 @@ export function getProjectEnvContentHintProjects13ToJSON( ), ); } - export function getProjectEnvContentHintProjects13FromJSON( jsonString: string, ): SafeParseResult { @@ -3514,7 +2778,6 @@ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseB > = z.nativeEnum( GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody212Type, ); - /** @internal */ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody212Type$outboundSchema: z.ZodNativeEnum< @@ -3522,19 +2785,6 @@ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseB > = 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, @@ -3545,7 +2795,6 @@ export const GetProjectEnvContentHintProjects12$inboundSchema: z.ZodType< GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody212Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type GetProjectEnvContentHintProjects12$Outbound = { type: string; @@ -3563,20 +2812,6 @@ export const GetProjectEnvContentHintProjects12$outboundSchema: z.ZodType< storeId: z.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 { @@ -3586,7 +2821,6 @@ export function getProjectEnvContentHintProjects12ToJSON( ), ); } - export function getProjectEnvContentHintProjects12FromJSON( jsonString: string, ): SafeParseResult { @@ -3605,7 +2839,6 @@ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseB > = z.nativeEnum( GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody211Type, ); - /** @internal */ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody211Type$outboundSchema: z.ZodNativeEnum< @@ -3613,19 +2846,6 @@ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseB > = 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, @@ -3636,7 +2856,6 @@ export const GetProjectEnvContentHintProjects11$inboundSchema: z.ZodType< GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody211Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type GetProjectEnvContentHintProjects11$Outbound = { type: string; @@ -3654,20 +2873,6 @@ export const GetProjectEnvContentHintProjects11$outboundSchema: z.ZodType< storeId: z.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 { @@ -3677,7 +2882,6 @@ export function getProjectEnvContentHintProjects11ToJSON( ), ); } - export function getProjectEnvContentHintProjects11FromJSON( jsonString: string, ): SafeParseResult { @@ -3696,7 +2900,6 @@ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseB > = z.nativeEnum( GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody210Type, ); - /** @internal */ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody210Type$outboundSchema: z.ZodNativeEnum< @@ -3704,19 +2907,6 @@ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseB > = 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, @@ -3727,7 +2917,6 @@ export const GetProjectEnvContentHintProjects10$inboundSchema: z.ZodType< GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody210Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type GetProjectEnvContentHintProjects10$Outbound = { type: string; @@ -3745,20 +2934,6 @@ export const GetProjectEnvContentHintProjects10$outboundSchema: z.ZodType< storeId: z.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 { @@ -3768,7 +2943,6 @@ export function getProjectEnvContentHintProjects10ToJSON( ), ); } - export function getProjectEnvContentHintProjects10FromJSON( jsonString: string, ): SafeParseResult { @@ -3787,7 +2961,6 @@ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseB > = z.nativeEnum( GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody29Type, ); - /** @internal */ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody29Type$outboundSchema: z.ZodNativeEnum< @@ -3795,19 +2968,6 @@ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseB > = 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, @@ -3818,7 +2978,6 @@ export const GetProjectEnvContentHintProjects9$inboundSchema: z.ZodType< GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody29Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type GetProjectEnvContentHintProjects9$Outbound = { type: string; @@ -3836,20 +2995,6 @@ export const GetProjectEnvContentHintProjects9$outboundSchema: z.ZodType< storeId: z.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 { @@ -3859,7 +3004,6 @@ export function getProjectEnvContentHintProjects9ToJSON( ), ); } - export function getProjectEnvContentHintProjects9FromJSON( jsonString: string, ): SafeParseResult { @@ -3877,7 +3021,6 @@ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseB > = z.nativeEnum( GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody28Type, ); - /** @internal */ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody28Type$outboundSchema: z.ZodNativeEnum< @@ -3885,19 +3028,6 @@ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseB > = 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, @@ -3908,7 +3038,6 @@ export const GetProjectEnvContentHintProjects8$inboundSchema: z.ZodType< GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody28Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type GetProjectEnvContentHintProjects8$Outbound = { type: string; @@ -3926,20 +3055,6 @@ export const GetProjectEnvContentHintProjects8$outboundSchema: z.ZodType< storeId: z.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 { @@ -3949,7 +3064,6 @@ export function getProjectEnvContentHintProjects8ToJSON( ), ); } - export function getProjectEnvContentHintProjects8FromJSON( jsonString: string, ): SafeParseResult { @@ -3967,7 +3081,6 @@ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseB > = z.nativeEnum( GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody27Type, ); - /** @internal */ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody27Type$outboundSchema: z.ZodNativeEnum< @@ -3975,19 +3088,6 @@ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseB > = 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, @@ -3998,7 +3098,6 @@ export const GetProjectEnvContentHintProjects7$inboundSchema: z.ZodType< GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody27Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type GetProjectEnvContentHintProjects7$Outbound = { type: string; @@ -4016,20 +3115,6 @@ export const GetProjectEnvContentHintProjects7$outboundSchema: z.ZodType< storeId: z.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 { @@ -4039,7 +3124,6 @@ export function getProjectEnvContentHintProjects7ToJSON( ), ); } - export function getProjectEnvContentHintProjects7FromJSON( jsonString: string, ): SafeParseResult { @@ -4057,7 +3141,6 @@ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseB > = z.nativeEnum( GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody26Type, ); - /** @internal */ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody26Type$outboundSchema: z.ZodNativeEnum< @@ -4065,19 +3148,6 @@ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseB > = 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, @@ -4088,7 +3158,6 @@ export const GetProjectEnvContentHintProjects6$inboundSchema: z.ZodType< GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody26Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type GetProjectEnvContentHintProjects6$Outbound = { type: string; @@ -4106,20 +3175,6 @@ export const GetProjectEnvContentHintProjects6$outboundSchema: z.ZodType< storeId: z.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 { @@ -4129,7 +3184,6 @@ export function getProjectEnvContentHintProjects6ToJSON( ), ); } - export function getProjectEnvContentHintProjects6FromJSON( jsonString: string, ): SafeParseResult { @@ -4147,7 +3201,6 @@ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseB > = z.nativeEnum( GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody25Type, ); - /** @internal */ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody25Type$outboundSchema: z.ZodNativeEnum< @@ -4155,19 +3208,6 @@ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseB > = 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, @@ -4178,7 +3218,6 @@ export const GetProjectEnvContentHintProjects5$inboundSchema: z.ZodType< GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody25Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type GetProjectEnvContentHintProjects5$Outbound = { type: string; @@ -4196,20 +3235,6 @@ export const GetProjectEnvContentHintProjects5$outboundSchema: z.ZodType< storeId: z.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 { @@ -4219,7 +3244,6 @@ export function getProjectEnvContentHintProjects5ToJSON( ), ); } - export function getProjectEnvContentHintProjects5FromJSON( jsonString: string, ): SafeParseResult { @@ -4237,7 +3261,6 @@ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseB > = z.nativeEnum( GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody24Type, ); - /** @internal */ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody24Type$outboundSchema: z.ZodNativeEnum< @@ -4245,19 +3268,6 @@ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseB > = 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, @@ -4268,7 +3278,6 @@ export const GetProjectEnvContentHintProjects4$inboundSchema: z.ZodType< GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody24Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type GetProjectEnvContentHintProjects4$Outbound = { type: string; @@ -4286,20 +3295,6 @@ export const GetProjectEnvContentHintProjects4$outboundSchema: z.ZodType< storeId: z.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 { @@ -4309,7 +3304,6 @@ export function getProjectEnvContentHintProjects4ToJSON( ), ); } - export function getProjectEnvContentHintProjects4FromJSON( jsonString: string, ): SafeParseResult { @@ -4327,7 +3321,6 @@ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseB > = z.nativeEnum( GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody23Type, ); - /** @internal */ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody23Type$outboundSchema: z.ZodNativeEnum< @@ -4335,19 +3328,6 @@ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseB > = 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, @@ -4358,7 +3338,6 @@ export const GetProjectEnvContentHintProjects3$inboundSchema: z.ZodType< GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody23Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type GetProjectEnvContentHintProjects3$Outbound = { type: string; @@ -4376,20 +3355,6 @@ export const GetProjectEnvContentHintProjects3$outboundSchema: z.ZodType< storeId: z.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 { @@ -4399,7 +3364,6 @@ export function getProjectEnvContentHintProjects3ToJSON( ), ); } - export function getProjectEnvContentHintProjects3FromJSON( jsonString: string, ): SafeParseResult { @@ -4417,7 +3381,6 @@ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseB > = z.nativeEnum( GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody22Type, ); - /** @internal */ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody22Type$outboundSchema: z.ZodNativeEnum< @@ -4425,19 +3388,6 @@ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseB > = 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, @@ -4448,7 +3398,6 @@ export const GetProjectEnvContentHintProjects2$inboundSchema: z.ZodType< GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody22Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type GetProjectEnvContentHintProjects2$Outbound = { type: string; @@ -4466,20 +3415,6 @@ export const GetProjectEnvContentHintProjects2$outboundSchema: z.ZodType< storeId: z.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 { @@ -4489,7 +3424,6 @@ export function getProjectEnvContentHintProjects2ToJSON( ), ); } - export function getProjectEnvContentHintProjects2FromJSON( jsonString: string, ): SafeParseResult { @@ -4507,7 +3441,6 @@ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseB > = z.nativeEnum( GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody2Type, ); - /** @internal */ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody2Type$outboundSchema: z.ZodNativeEnum< @@ -4515,19 +3448,6 @@ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseB > = 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, @@ -4538,7 +3458,6 @@ export const GetProjectEnvContentHintProjects1$inboundSchema: z.ZodType< GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody2Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type GetProjectEnvContentHintProjects1$Outbound = { type: string; @@ -4554,21 +3473,7 @@ export const GetProjectEnvContentHintProjects1$outboundSchema: z.ZodType< 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, @@ -4579,7 +3484,6 @@ export function getProjectEnvContentHintProjects1ToJSON( ), ); } - export function getProjectEnvContentHintProjects1FromJSON( jsonString: string, ): SafeParseResult { @@ -4613,7 +3517,6 @@ export const GetProjectEnvResponseBodyProjectsContentHint$inboundSchema: z.lazy(() => GetProjectEnvContentHintProjects13$inboundSchema), z.lazy(() => GetProjectEnvContentHintProjects15$inboundSchema), ]); - /** @internal */ export type GetProjectEnvResponseBodyProjectsContentHint$Outbound = | GetProjectEnvContentHintProjects14$Outbound @@ -4656,21 +3559,6 @@ export const GetProjectEnvResponseBodyProjectsContentHint$outboundSchema: z.lazy(() => GetProjectEnvContentHintProjects15$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, @@ -4681,7 +3569,6 @@ export function getProjectEnvResponseBodyProjectsContentHintToJSON( ), ); } - export function getProjectEnvResponseBodyProjectsContentHintFromJSON( jsonString: string, ): SafeParseResult< @@ -4702,25 +3589,11 @@ export function getProjectEnvResponseBodyProjectsContentHintFromJSON( 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< @@ -4731,7 +3604,6 @@ export const GetProjectEnvResponseBodyProjectsInternalContentHint$inboundSchema: type: GetProjectEnvResponseBodyProjectsResponse200Type$inboundSchema, encryptedValue: z.string(), }); - /** @internal */ export type GetProjectEnvResponseBodyProjectsInternalContentHint$Outbound = { type: string; @@ -4749,22 +3621,6 @@ export const GetProjectEnvResponseBodyProjectsInternalContentHint$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, @@ -4775,7 +3631,6 @@ export function getProjectEnvResponseBodyProjectsInternalContentHintToJSON( ), ); } - export function getProjectEnvResponseBodyProjectsInternalContentHintFromJSON( jsonString: string, ): SafeParseResult< @@ -4844,7 +3699,6 @@ export const GetProjectEnvResponseBody2$inboundSchema: z.ZodType< comment: z.string().optional(), customEnvironmentIds: z.array(z.string()).optional(), }); - /** @internal */ export type GetProjectEnvResponseBody2$Outbound = { target?: Array | string | undefined; @@ -4942,19 +3796,6 @@ export const GetProjectEnvResponseBody2$outboundSchema: z.ZodType< 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 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 { @@ -4962,7 +3803,6 @@ export function getProjectEnvResponseBody2ToJSON( GetProjectEnvResponseBody2$outboundSchema.parse(getProjectEnvResponseBody2), ); } - export function getProjectEnvResponseBody2FromJSON( jsonString: string, ): SafeParseResult { @@ -4977,44 +3817,20 @@ export function getProjectEnvResponseBody2FromJSON( 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, @@ -5024,7 +3840,6 @@ export const GetProjectEnvResponseBodyTarget$inboundSchema: z.ZodType< z.array(GetProjectEnvTarget1$inboundSchema), GetProjectEnvTarget2$inboundSchema, ]); - /** @internal */ export type GetProjectEnvResponseBodyTarget$Outbound = Array | string; @@ -5038,19 +3853,6 @@ export const GetProjectEnvResponseBodyTarget$outboundSchema: z.ZodType< 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 { @@ -5060,7 +3862,6 @@ export function getProjectEnvResponseBodyTargetToJSON( ), ); } - export function getProjectEnvResponseBodyTargetFromJSON( jsonString: string, ): SafeParseResult { @@ -5075,23 +3876,11 @@ export function getProjectEnvResponseBodyTargetFromJSON( 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< @@ -5099,7 +3888,6 @@ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseB > = z.nativeEnum( GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type, ); - /** @internal */ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type$outboundSchema: z.ZodNativeEnum< @@ -5107,19 +3895,6 @@ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseB > = 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, @@ -5130,7 +3905,6 @@ export const GetProjectEnvContentHint15$inboundSchema: z.ZodType< GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type$inboundSchema, projectId: z.string(), }); - /** @internal */ export type GetProjectEnvContentHint15$Outbound = { type: string; @@ -5148,19 +3922,6 @@ export const GetProjectEnvContentHint15$outboundSchema: z.ZodType< 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 { @@ -5168,7 +3929,6 @@ export function getProjectEnvContentHint15ToJSON( GetProjectEnvContentHint15$outboundSchema.parse(getProjectEnvContentHint15), ); } - export function getProjectEnvContentHint15FromJSON( jsonString: string, ): SafeParseResult { @@ -5186,7 +3946,6 @@ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseB > = z.nativeEnum( GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type, ); - /** @internal */ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type$outboundSchema: z.ZodNativeEnum< @@ -5194,19 +3953,6 @@ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseB > = 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, @@ -5220,7 +3966,6 @@ export const GetProjectEnvContentHint14$inboundSchema: z.ZodType< integrationProductId: z.string(), integrationConfigurationId: z.string(), }); - /** @internal */ export type GetProjectEnvContentHint14$Outbound = { type: string; @@ -5244,19 +3989,6 @@ export const GetProjectEnvContentHint14$outboundSchema: z.ZodType< 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 { @@ -5264,7 +3996,6 @@ export function getProjectEnvContentHint14ToJSON( GetProjectEnvContentHint14$outboundSchema.parse(getProjectEnvContentHint14), ); } - export function getProjectEnvContentHint14FromJSON( jsonString: string, ): SafeParseResult { @@ -5282,7 +4013,6 @@ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseB > = z.nativeEnum( GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type, ); - /** @internal */ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type$outboundSchema: z.ZodNativeEnum< @@ -5290,19 +4020,6 @@ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseB > = 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, @@ -5313,7 +4030,6 @@ export const GetProjectEnvContentHint13$inboundSchema: z.ZodType< GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type GetProjectEnvContentHint13$Outbound = { type: string; @@ -5331,19 +4047,6 @@ export const GetProjectEnvContentHint13$outboundSchema: z.ZodType< storeId: z.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 { @@ -5351,7 +4054,6 @@ export function getProjectEnvContentHint13ToJSON( GetProjectEnvContentHint13$outboundSchema.parse(getProjectEnvContentHint13), ); } - export function getProjectEnvContentHint13FromJSON( jsonString: string, ): SafeParseResult { @@ -5369,7 +4071,6 @@ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseB > = z.nativeEnum( GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type, ); - /** @internal */ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type$outboundSchema: z.ZodNativeEnum< @@ -5377,19 +4078,6 @@ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseB > = 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, @@ -5400,7 +4088,6 @@ export const GetProjectEnvContentHint12$inboundSchema: z.ZodType< GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type GetProjectEnvContentHint12$Outbound = { type: string; @@ -5418,19 +4105,6 @@ export const GetProjectEnvContentHint12$outboundSchema: z.ZodType< storeId: z.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 { @@ -5438,7 +4112,6 @@ export function getProjectEnvContentHint12ToJSON( GetProjectEnvContentHint12$outboundSchema.parse(getProjectEnvContentHint12), ); } - export function getProjectEnvContentHint12FromJSON( jsonString: string, ): SafeParseResult { @@ -5456,7 +4129,6 @@ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseB > = z.nativeEnum( GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type, ); - /** @internal */ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type$outboundSchema: z.ZodNativeEnum< @@ -5464,19 +4136,6 @@ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseB > = 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, @@ -5487,7 +4146,6 @@ export const GetProjectEnvContentHint11$inboundSchema: z.ZodType< GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type GetProjectEnvContentHint11$Outbound = { type: string; @@ -5505,19 +4163,6 @@ export const GetProjectEnvContentHint11$outboundSchema: z.ZodType< storeId: z.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 { @@ -5525,7 +4170,6 @@ export function getProjectEnvContentHint11ToJSON( GetProjectEnvContentHint11$outboundSchema.parse(getProjectEnvContentHint11), ); } - export function getProjectEnvContentHint11FromJSON( jsonString: string, ): SafeParseResult { @@ -5543,7 +4187,6 @@ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseB > = z.nativeEnum( GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type, ); - /** @internal */ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type$outboundSchema: z.ZodNativeEnum< @@ -5551,19 +4194,6 @@ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseB > = 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, @@ -5574,7 +4204,6 @@ export const GetProjectEnvContentHint10$inboundSchema: z.ZodType< GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type GetProjectEnvContentHint10$Outbound = { type: string; @@ -5592,19 +4221,6 @@ export const GetProjectEnvContentHint10$outboundSchema: z.ZodType< storeId: z.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 { @@ -5612,7 +4228,6 @@ export function getProjectEnvContentHint10ToJSON( GetProjectEnvContentHint10$outboundSchema.parse(getProjectEnvContentHint10), ); } - export function getProjectEnvContentHint10FromJSON( jsonString: string, ): SafeParseResult { @@ -5630,7 +4245,6 @@ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseB > = z.nativeEnum( GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type, ); - /** @internal */ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type$outboundSchema: z.ZodNativeEnum< @@ -5638,19 +4252,6 @@ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseB > = 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, @@ -5661,7 +4262,6 @@ export const GetProjectEnvContentHint9$inboundSchema: z.ZodType< GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type GetProjectEnvContentHint9$Outbound = { type: string; @@ -5679,19 +4279,6 @@ export const GetProjectEnvContentHint9$outboundSchema: z.ZodType< storeId: z.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 { @@ -5699,7 +4286,6 @@ export function getProjectEnvContentHint9ToJSON( GetProjectEnvContentHint9$outboundSchema.parse(getProjectEnvContentHint9), ); } - export function getProjectEnvContentHint9FromJSON( jsonString: string, ): SafeParseResult { @@ -5717,7 +4303,6 @@ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseB > = z.nativeEnum( GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type, ); - /** @internal */ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type$outboundSchema: z.ZodNativeEnum< @@ -5725,19 +4310,6 @@ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseB > = 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, @@ -5748,7 +4320,6 @@ export const GetProjectEnvContentHint8$inboundSchema: z.ZodType< GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type GetProjectEnvContentHint8$Outbound = { type: string; @@ -5766,19 +4337,6 @@ export const GetProjectEnvContentHint8$outboundSchema: z.ZodType< storeId: z.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 { @@ -5786,7 +4344,6 @@ export function getProjectEnvContentHint8ToJSON( GetProjectEnvContentHint8$outboundSchema.parse(getProjectEnvContentHint8), ); } - export function getProjectEnvContentHint8FromJSON( jsonString: string, ): SafeParseResult { @@ -5804,7 +4361,6 @@ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseB > = z.nativeEnum( GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type, ); - /** @internal */ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type$outboundSchema: z.ZodNativeEnum< @@ -5812,19 +4368,6 @@ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseB > = 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, @@ -5835,7 +4378,6 @@ export const GetProjectEnvContentHint7$inboundSchema: z.ZodType< GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type GetProjectEnvContentHint7$Outbound = { type: string; @@ -5853,19 +4395,6 @@ export const GetProjectEnvContentHint7$outboundSchema: z.ZodType< storeId: z.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 { @@ -5873,7 +4402,6 @@ export function getProjectEnvContentHint7ToJSON( GetProjectEnvContentHint7$outboundSchema.parse(getProjectEnvContentHint7), ); } - export function getProjectEnvContentHint7FromJSON( jsonString: string, ): SafeParseResult { @@ -5891,7 +4419,6 @@ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseB > = z.nativeEnum( GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType, ); - /** @internal */ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema: z.ZodNativeEnum< @@ -5899,19 +4426,6 @@ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseB > = 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, @@ -5922,7 +4436,6 @@ export const GetProjectEnvContentHint6$inboundSchema: z.ZodType< GetProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema, storeId: z.string(), }); - /** @internal */ export type GetProjectEnvContentHint6$Outbound = { type: string; @@ -5940,19 +4453,6 @@ export const GetProjectEnvContentHint6$outboundSchema: z.ZodType< storeId: z.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 { @@ -5960,7 +4460,6 @@ export function getProjectEnvContentHint6ToJSON( GetProjectEnvContentHint6$outboundSchema.parse(getProjectEnvContentHint6), ); } - export function getProjectEnvContentHint6FromJSON( jsonString: string, ): SafeParseResult { @@ -5978,7 +4477,6 @@ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONType$inbo > = z.nativeEnum( GetProjectEnvContentHintProjectsResponse200ApplicationJSONType, ); - /** @internal */ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONType$outboundSchema: z.ZodNativeEnum< @@ -5986,19 +4484,6 @@ export const GetProjectEnvContentHintProjectsResponse200ApplicationJSONType$outb > = 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, @@ -6009,7 +4494,6 @@ export const GetProjectEnvContentHint5$inboundSchema: z.ZodType< GetProjectEnvContentHintProjectsResponse200ApplicationJSONType$inboundSchema, storeId: z.string(), }); - /** @internal */ export type GetProjectEnvContentHint5$Outbound = { type: string; @@ -6027,19 +4511,6 @@ export const GetProjectEnvContentHint5$outboundSchema: z.ZodType< storeId: z.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 { @@ -6047,7 +4518,6 @@ export function getProjectEnvContentHint5ToJSON( GetProjectEnvContentHint5$outboundSchema.parse(getProjectEnvContentHint5), ); } - export function getProjectEnvContentHint5FromJSON( jsonString: string, ): SafeParseResult { @@ -6062,25 +4532,11 @@ export function getProjectEnvContentHint5FromJSON( 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, @@ -6090,7 +4546,6 @@ export const GetProjectEnvContentHint4$inboundSchema: z.ZodType< type: GetProjectEnvContentHintProjectsResponse200Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type GetProjectEnvContentHint4$Outbound = { type: string; @@ -6107,19 +4562,6 @@ export const GetProjectEnvContentHint4$outboundSchema: z.ZodType< storeId: z.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 { @@ -6127,7 +4569,6 @@ export function getProjectEnvContentHint4ToJSON( GetProjectEnvContentHint4$outboundSchema.parse(getProjectEnvContentHint4), ); } - export function getProjectEnvContentHint4FromJSON( jsonString: string, ): SafeParseResult { @@ -6142,25 +4583,11 @@ export function getProjectEnvContentHint4FromJSON( 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, @@ -6170,7 +4597,6 @@ export const GetProjectEnvContentHint3$inboundSchema: z.ZodType< type: GetProjectEnvContentHintProjectsResponseType$inboundSchema, storeId: z.string(), }); - /** @internal */ export type GetProjectEnvContentHint3$Outbound = { type: string; @@ -6187,19 +4613,6 @@ export const GetProjectEnvContentHint3$outboundSchema: z.ZodType< storeId: z.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 { @@ -6207,7 +4620,6 @@ export function getProjectEnvContentHint3ToJSON( GetProjectEnvContentHint3$outboundSchema.parse(getProjectEnvContentHint3), ); } - export function getProjectEnvContentHint3FromJSON( jsonString: string, ): SafeParseResult { @@ -6223,25 +4635,11 @@ 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, @@ -6251,7 +4649,6 @@ export const GetProjectEnvContentHint2$inboundSchema: z.ZodType< type: GetProjectEnvContentHintProjectsType$inboundSchema, storeId: z.string(), }); - /** @internal */ export type GetProjectEnvContentHint2$Outbound = { type: string; @@ -6268,19 +4665,6 @@ export const GetProjectEnvContentHint2$outboundSchema: z.ZodType< storeId: z.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 { @@ -6288,7 +4672,6 @@ export function getProjectEnvContentHint2ToJSON( GetProjectEnvContentHint2$outboundSchema.parse(getProjectEnvContentHint2), ); } - export function getProjectEnvContentHint2FromJSON( jsonString: string, ): SafeParseResult { @@ -6303,23 +4686,11 @@ export function getProjectEnvContentHint2FromJSON( 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, @@ -6329,7 +4700,6 @@ export const GetProjectEnvContentHint1$inboundSchema: z.ZodType< type: GetProjectEnvContentHintType$inboundSchema, storeId: z.string(), }); - /** @internal */ export type GetProjectEnvContentHint1$Outbound = { type: string; @@ -6346,19 +4716,6 @@ export const GetProjectEnvContentHint1$outboundSchema: z.ZodType< storeId: z.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 { @@ -6366,7 +4723,6 @@ export function getProjectEnvContentHint1ToJSON( GetProjectEnvContentHint1$outboundSchema.parse(getProjectEnvContentHint1), ); } - export function getProjectEnvContentHint1FromJSON( jsonString: string, ): SafeParseResult { @@ -6399,7 +4755,6 @@ export const GetProjectEnvResponseBodyContentHint$inboundSchema: z.ZodType< z.lazy(() => GetProjectEnvContentHint13$inboundSchema), z.lazy(() => GetProjectEnvContentHint15$inboundSchema), ]); - /** @internal */ export type GetProjectEnvResponseBodyContentHint$Outbound = | GetProjectEnvContentHint14$Outbound @@ -6441,21 +4796,6 @@ export const GetProjectEnvResponseBodyContentHint$outboundSchema: z.ZodType< z.lazy(() => GetProjectEnvContentHint15$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 { @@ -6465,7 +4805,6 @@ export function getProjectEnvResponseBodyContentHintToJSON( ), ); } - export function getProjectEnvResponseBodyContentHintFromJSON( jsonString: string, ): SafeParseResult { @@ -6484,7 +4823,6 @@ export const GetProjectEnvResponseBodyProjectsResponse200ApplicationJSONType$inb > = z.nativeEnum( GetProjectEnvResponseBodyProjectsResponse200ApplicationJSONType, ); - /** @internal */ export const GetProjectEnvResponseBodyProjectsResponse200ApplicationJSONType$outboundSchema: z.ZodNativeEnum< @@ -6492,19 +4830,6 @@ export const GetProjectEnvResponseBodyProjectsResponse200ApplicationJSONType$out > = 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< @@ -6516,7 +4841,6 @@ export const GetProjectEnvResponseBodyInternalContentHint$inboundSchema: GetProjectEnvResponseBodyProjectsResponse200ApplicationJSONType$inboundSchema, encryptedValue: z.string(), }); - /** @internal */ export type GetProjectEnvResponseBodyInternalContentHint$Outbound = { type: string; @@ -6535,21 +4859,6 @@ export const GetProjectEnvResponseBodyInternalContentHint$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, @@ -6560,7 +4869,6 @@ export function getProjectEnvResponseBodyInternalContentHintToJSON( ), ); } - export function getProjectEnvResponseBodyInternalContentHintFromJSON( jsonString: string, ): SafeParseResult< @@ -6625,7 +4933,6 @@ export const GetProjectEnvResponseBody1$inboundSchema: z.ZodType< comment: z.string().optional(), customEnvironmentIds: z.array(z.string()).optional(), }); - /** @internal */ export type GetProjectEnvResponseBody1$Outbound = { decrypted: boolean; @@ -6717,19 +5024,6 @@ export const GetProjectEnvResponseBody1$outboundSchema: z.ZodType< 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 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 { @@ -6737,7 +5031,6 @@ export function getProjectEnvResponseBody1ToJSON( GetProjectEnvResponseBody1$outboundSchema.parse(getProjectEnvResponseBody1), ); } - export function getProjectEnvResponseBody1FromJSON( jsonString: string, ): SafeParseResult { @@ -6758,7 +5051,6 @@ export const GetProjectEnvResponseBody$inboundSchema: z.ZodType< z.lazy(() => GetProjectEnvResponseBody2$inboundSchema), z.lazy(() => GetProjectEnvResponseBody3$inboundSchema), ]); - /** @internal */ export type GetProjectEnvResponseBody$Outbound = | GetProjectEnvResponseBody1$Outbound @@ -6776,19 +5068,6 @@ export const GetProjectEnvResponseBody$outboundSchema: z.ZodType< z.lazy(() => GetProjectEnvResponseBody3$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 { @@ -6796,7 +5075,6 @@ export function getProjectEnvResponseBodyToJSON( GetProjectEnvResponseBody$outboundSchema.parse(getProjectEnvResponseBody), ); } - export function getProjectEnvResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/getprojectmembersop.ts b/src/models/getprojectmembersop.ts index 45dee8332..c76b3913c 100644 --- a/src/models/getprojectmembersop.ts +++ b/src/models/getprojectmembersop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; @@ -169,7 +169,6 @@ export const GetProjectMembersRequest$inboundSchema: z.ZodType< teamId: z.string().optional(), slug: z.string().optional(), }); - /** @internal */ export type GetProjectMembersRequest$Outbound = { idOrName: string; @@ -196,19 +195,6 @@ export const GetProjectMembersRequest$outboundSchema: z.ZodType< 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 { @@ -216,7 +202,6 @@ export function getProjectMembersRequestToJSON( GetProjectMembersRequest$outboundSchema.parse(getProjectMembersRequest), ); } - export function getProjectMembersRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -231,65 +216,29 @@ export function getProjectMembersRequestFromJSON( 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 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, @@ -306,7 +255,6 @@ export const ResponseBodyMembers$inboundSchema: z.ZodType< createdAt: z.number(), teamRole: ResponseBodyTeamRole$inboundSchema, }); - /** @internal */ export type ResponseBodyMembers$Outbound = { avatar?: string | undefined; @@ -337,19 +285,6 @@ export const ResponseBodyMembers$outboundSchema: z.ZodType< 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 { @@ -357,7 +292,6 @@ export function responseBodyMembersToJSON( ResponseBodyMembers$outboundSchema.parse(responseBodyMembers), ); } - export function responseBodyMembersFromJSON( jsonString: string, ): SafeParseResult { @@ -379,7 +313,6 @@ export const GetProjectMembersResponseBodyPagination$inboundSchema: z.ZodType< next: z.nullable(z.number()), prev: z.nullable(z.number()), }); - /** @internal */ export type GetProjectMembersResponseBodyPagination$Outbound = { hasNext: boolean; @@ -400,21 +333,6 @@ export const GetProjectMembersResponseBodyPagination$outboundSchema: z.ZodType< 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, @@ -425,7 +343,6 @@ export function getProjectMembersResponseBodyPaginationToJSON( ), ); } - export function getProjectMembersResponseBodyPaginationFromJSON( jsonString: string, ): SafeParseResult< @@ -453,7 +370,6 @@ export const GetProjectMembersResponseBody2$inboundSchema: z.ZodType< GetProjectMembersResponseBodyPagination$inboundSchema ), }); - /** @internal */ export type GetProjectMembersResponseBody2$Outbound = { members: Array; @@ -472,19 +388,6 @@ export const GetProjectMembersResponseBody2$outboundSchema: z.ZodType< ), }); -/** - * @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 { @@ -494,7 +397,6 @@ export function getProjectMembersResponseBody2ToJSON( ), ); } - export function getProjectMembersResponseBody2FromJSON( jsonString: string, ): SafeParseResult { @@ -511,7 +413,6 @@ export const GetProjectMembersResponseBody1$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({}); - /** @internal */ export type GetProjectMembersResponseBody1$Outbound = {}; @@ -522,19 +423,6 @@ export const GetProjectMembersResponseBody1$outboundSchema: z.ZodType< 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 { @@ -544,7 +432,6 @@ export function getProjectMembersResponseBody1ToJSON( ), ); } - export function getProjectMembersResponseBody1FromJSON( jsonString: string, ): SafeParseResult { @@ -564,7 +451,6 @@ export const GetProjectMembersResponseBody$inboundSchema: z.ZodType< z.lazy(() => GetProjectMembersResponseBody2$inboundSchema), z.lazy(() => GetProjectMembersResponseBody1$inboundSchema), ]); - /** @internal */ export type GetProjectMembersResponseBody$Outbound = | GetProjectMembersResponseBody2$Outbound @@ -580,19 +466,6 @@ export const GetProjectMembersResponseBody$outboundSchema: z.ZodType< z.lazy(() => GetProjectMembersResponseBody1$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 { @@ -602,7 +475,6 @@ export function getProjectMembersResponseBodyToJSON( ), ); } - export function getProjectMembersResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/getprojectsop.ts b/src/models/getprojectsop.ts index 7d5280391..fb023e297 100644 --- a/src/models/getprojectsop.ts +++ b/src/models/getprojectsop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; @@ -46,6 +46,18 @@ export type ElasticConcurrencyEnabled = ClosedEnum< typeof ElasticConcurrencyEnabled >; +/** + * Filter results by projects with Static IPs enabled + */ +export const StaticIpsEnabled = { + Zero: "0", + One: "1", +} as const; +/** + * Filter results by projects with Static IPs enabled + */ +export type StaticIpsEnabled = ClosedEnum; + export type GetProjectsRequest = { /** * Query only projects updated after the given timestamp or continuation token. @@ -92,6 +104,14 @@ export type GetProjectsRequest = { * Filter results by projects with elastic concurrency enabled */ elasticConcurrencyEnabled?: ElasticConcurrencyEnabled | undefined; + /** + * Filter results by projects with Static IPs enabled + */ + staticIpsEnabled?: StaticIpsEnabled | undefined; + /** + * Filter results by build machine types. Accepts comma-separated values. Use \"default\" for projects without a build machine type set. + */ + buildMachineTypes?: string | undefined; /** * The Team identifier to perform the request on behalf of. */ @@ -692,10 +712,12 @@ export const GetProjectsFramework = { Zola: "zola", Hydrogen: "hydrogen", Vite: "vite", + TanstackStart: "tanstack-start", Vitepress: "vitepress", Vuepress: "vuepress", Parcel: "parcel", Fastapi: "fastapi", + Flask: "flask", Fasthtml: "fasthtml", SanityV3: "sanity-v3", Sanity: "sanity", @@ -704,6 +726,9 @@ export const GetProjectsFramework = { Hono: "hono", Express: "express", H3: "h3", + Nestjs: "nestjs", + Elysia: "elysia", + Fastify: "fastify", Xmcp: "xmcp", } as const; export type GetProjectsFramework = ClosedEnum; @@ -790,6 +815,7 @@ export type GetProjectsOidcTokenClaims = { project: string; projectId: string; environment: string; + plan: string; }; export const GetProjectsPlan = { @@ -1035,13 +1061,23 @@ export type GetProjectsLink = | GetProjectsLink1 | GetProjectsLink2; -export type GetProjectsMicrofrontends2 = { +export type GetProjectsMicrofrontends3 = { updatedAt: number; groupIds: Array; enabled: boolean; + freeProjectForLegacyLimits?: boolean | undefined; }; -export type GetProjectsMicrofrontends1 = { +export type GetProjectsMicrofrontends2 = { + isDefaultApp?: boolean | undefined; + /** + * Whether observability data should be routed to this microfrontend project or a root project. + */ + routeObservabilityToThisProject?: boolean | undefined; + /** + * Whether to add microfrontends routing to aliases. This means domains in this project will route as a microfrontend. + */ + doNotRouteWithMicrofrontendsRouting?: boolean | undefined; /** * Timestamp when the microfrontends settings were last updated. */ @@ -1055,24 +1091,46 @@ export type GetProjectsMicrofrontends1 = { */ 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. + * 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. Includes the leading slash, e.g. `/docs` + */ + defaultRoute?: string | undefined; + /** + * Whether the project was part of the legacy limits for hobby and pro-trial before billing was added. This field is only set when the team is upgraded to a paid plan and we are backfilling the subscription status. We cap the subscription to 2 projects and set this field for the 3rd project. When this field is set, the project is not charged for and we do not call any billing APIs for this project. */ - isDefaultApp?: boolean | undefined; + freeProjectForLegacyLimits?: boolean | undefined; +}; + +export type GetProjectsMicrofrontends1 = { + isDefaultApp: boolean; + /** + * 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; /** * 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. Includes the leading slash, e.g. `/docs` */ defaultRoute?: string | undefined; /** - * Whether observability data should be routed to this microfrontend project or a root project. + * Whether the project was part of the legacy limits for hobby and pro-trial before billing was added. This field is only set when the team is upgraded to a paid plan and we are backfilling the subscription status. We cap the subscription to 2 projects and set this field for the 3rd project. When this field is set, the project is not charged for and we do not call any billing APIs for this project. */ - routeObservabilityToThisProject?: boolean | undefined; + freeProjectForLegacyLimits?: boolean | undefined; }; export type GetProjectsMicrofrontends = | GetProjectsMicrofrontends1 - | GetProjectsMicrofrontends2; + | GetProjectsMicrofrontends2 + | GetProjectsMicrofrontends3; export const GetProjectsNodeVersion = { + TwentyFourDotX: "24.x", TwentyTwoDotX: "22.x", TwentyDotX: "20.x", EighteenDotX: "18.x", @@ -1214,6 +1272,12 @@ export type GetProjectsDefaultResourceConfig = { isNSNBDisabled?: boolean | undefined; }; +export type GetProjectsStaticIps = { + builds: boolean; + enabled: boolean; + regions: Array; +}; + export const GetProjectsDeploymentType = { Preview: "preview", All: "all", @@ -1306,6 +1370,7 @@ export type GetProjectsProjectsOidcTokenClaims = { project: string; projectId: string; environment: string; + plan: string; }; export const GetProjectsProjectsPlan = { @@ -1394,9 +1459,17 @@ export type GetProjectsPermissions = { userSudo?: Array | undefined; webAuthn?: Array | undefined; accessGroup?: Array | undefined; + agent?: Array | undefined; + alerts?: Array | undefined; aliasGlobal?: Array | undefined; analyticsSampling?: Array | undefined; analyticsUsage?: Array | undefined; + apiKey?: Array | undefined; + apiKeyAiGateway?: Array | undefined; + apiKeyOwnedBySelf?: Array | undefined; + oauth2Application?: Array | undefined; + vercelAppInstallation?: Array | undefined; + vercelAppInstallationRequest?: Array | undefined; auditLog?: Array | undefined; billingAddress?: Array | undefined; billingInformation?: Array | undefined; @@ -1408,6 +1481,7 @@ export type GetProjectsPermissions = { billingRefund?: Array | undefined; billingTaxId?: Array | undefined; blob?: Array | undefined; + blobStoreTokenSet?: Array | undefined; budget?: Array | undefined; cacheArtifact?: Array | undefined; cacheArtifactUsageEvent?: Array | undefined; @@ -1415,6 +1489,7 @@ export type GetProjectsPermissions = { concurrentBuilds?: Array | undefined; connect?: Array | undefined; connectConfiguration?: Array | undefined; + dataCacheBillingSettings?: Array | undefined; defaultDeploymentProtection?: Array | undefined; domain?: Array | undefined; domainAcceptDelegation?: Array | undefined; @@ -1425,40 +1500,48 @@ export type GetProjectsPermissions = { domainPurchase?: Array | undefined; domainRecord?: Array | undefined; domainTransferIn?: Array | undefined; + drain?: Array | undefined; + edgeConfig?: Array | undefined; + edgeConfigItem?: Array | undefined; + edgeConfigSchema?: Array | undefined; + edgeConfigToken?: Array | undefined; + endpointVerification?: Array | undefined; event?: Array | undefined; - ownEvent?: Array | undefined; - sensitiveEnvironmentVariablePolicy?: Array | undefined; fileUpload?: Array | undefined; flagsExplorerSubscription?: Array | undefined; gitRepository?: Array | undefined; - ipBlocking?: Array | undefined; imageOptimizationNewPrice?: Array | undefined; integration?: Array | undefined; integrationAccount?: Array | undefined; integrationConfiguration?: Array | undefined; - integrationConfigurationTransfer?: Array | undefined; integrationConfigurationProjects?: Array | undefined; - integrationVercelConfigurationOverride?: Array | undefined; integrationConfigurationRole?: Array | undefined; - integrationSSOSession?: Array | undefined; - integrationResource?: Array | undefined; + integrationConfigurationTransfer?: Array | undefined; + integrationDeploymentAction?: Array | undefined; integrationEvent?: Array | undefined; + integrationLog?: Array | undefined; + integrationResource?: Array | undefined; + integrationResourceReplCommand?: Array | undefined; integrationResourceSecrets?: Array | undefined; - integrationDeploymentAction?: Array | undefined; - marketplaceInstallationMember?: Array | undefined; + integrationSSOSession?: Array | undefined; + integrationStoreTokenSet?: Array | undefined; + integrationVercelConfigurationOverride?: Array | undefined; + integrationPullRequest?: Array | undefined; + ipBlocking?: Array | undefined; + jobGlobal?: Array | undefined; + logDrain?: Array | undefined; marketplaceBillingData?: Array | undefined; + marketplaceExperimentationEdgeConfigData?: Array | undefined; + marketplaceExperimentationItem?: Array | undefined; + marketplaceInstallationMember?: Array | undefined; marketplaceInvoice?: Array | undefined; marketplaceSettings?: Array | undefined; - marketplaceExperimentationItem?: Array | undefined; - marketplaceExperimentationEdgeConfigData?: Array | undefined; - jobGlobal?: Array | undefined; - drain?: Array | undefined; - logDrain?: Array | undefined; monitoring?: Array | undefined; - monitoringSettings?: Array | undefined; - monitoringQuery?: Array | undefined; - monitoringChart?: Array | undefined; monitoringAlert?: Array | undefined; + monitoringChart?: Array | undefined; + monitoringQuery?: Array | undefined; + monitoringSettings?: Array | undefined; + notificationCustomerBudget?: Array | undefined; notificationDeploymentFailed?: Array | undefined; notificationDomainConfiguration?: Array | undefined; notificationDomainExpire?: Array | undefined; @@ -1469,42 +1552,38 @@ export type GetProjectsPermissions = { notificationDomainUnverified?: Array | undefined; notificationMonitoringAlert?: Array | undefined; notificationPaymentFailed?: Array | undefined; - notificationUsageAlert?: Array | undefined; notificationPreferences?: Array | undefined; - notificationCustomerBudget?: Array | undefined; notificationStatementOfReasons?: Array | undefined; + notificationUsageAlert?: Array | undefined; observabilityConfiguration?: Array | undefined; - alerts?: Array | undefined; - observabilityNotebook?: Array | undefined; observabilityFunnel?: Array | undefined; + observabilityNotebook?: Array | undefined; openTelemetryEndpoint?: Array | undefined; - vercelAppInstallation?: Array | undefined; - vercelAppInstallationRequest?: Array | undefined; + ownEvent?: Array | undefined; + organizationDomain?: Array | undefined; + passwordProtectionInvoiceItem?: Array | undefined; paymentMethod?: Array | undefined; permissions?: Array | undefined; postgres?: Array | undefined; + postgresStoreTokenSet?: Array | undefined; previewDeploymentSuffix?: Array | undefined; + projectTransferIn?: 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; + redisStoreTokenSet?: Array | undefined; remoteCaching?: Array | undefined; + repository?: Array | undefined; samlConfig?: Array | undefined; secret?: Array | undefined; - redisStoreTokenSet?: Array | undefined; - blobStoreTokenSet?: Array | undefined; - postgresStoreTokenSet?: Array | undefined; - integrationStoreTokenSet?: Array | undefined; - integrationResourceReplCommand?: Array | undefined; + sensitiveEnvironmentVariablePolicy?: Array | undefined; + sharedEnvVars?: Array | undefined; + sharedEnvVarsProduction?: Array | undefined; + space?: Array | undefined; + spaceRun?: Array | undefined; storeTransfer?: Array | undefined; supportCase?: Array | undefined; supportCaseComment?: Array | undefined; - dataCacheBillingSettings?: Array | undefined; team?: Array | undefined; teamAccessRequest?: Array | undefined; teamFellowMembership?: Array | undefined; @@ -1519,26 +1598,15 @@ export type GetProjectsPermissions = { token?: Array | undefined; usage?: Array | undefined; usageCycle?: Array | undefined; + vercelRun?: Array | undefined; + vercelRunExec?: Array | undefined; vpcPeeringConnection?: Array | undefined; webAnalyticsPlan?: 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; - vercelRun?: Array | undefined; - vercelRunExec?: Array | undefined; - apiKey?: Array | undefined; - apiKeyOwnedBySelf?: Array | undefined; - apiKeyAiGateway?: Array | undefined; aliasProject?: Array | undefined; aliasProtectionBypass?: Array | undefined; buildMachine?: Array | undefined; - productionAliasProtectionBypass?: Array | undefined; connectConfigurationLink?: Array | undefined; dataCacheNamespace?: Array | undefined; deployment?: Array | undefined; @@ -1554,54 +1622,55 @@ export type GetProjectsPermissions = { deploymentRollback?: Array | undefined; edgeCacheNamespace?: Array | undefined; environments?: Array | undefined; + job?: Array | undefined; logs?: Array | undefined; logsPreset?: Array | undefined; - passwordProtection?: Array | undefined; - optionsAllowlist?: Array | undefined; - job?: Array | undefined; observabilityData?: Array | undefined; onDemandBuild?: Array | undefined; onDemandConcurrency?: Array | undefined; + optionsAllowlist?: Array | undefined; + passwordProtection?: Array | undefined; + productionAliasProtectionBypass?: Array | undefined; project?: Array | undefined; - projectFromV0?: Array | undefined; projectAccessGroup?: Array | undefined; projectAnalyticsSampling?: Array | undefined; + projectAnalyticsUsage?: Array | undefined; projectCheck?: Array | undefined; projectCheckRun?: Array | undefined; + projectDeploymentExpiration?: Array | undefined; projectDeploymentHook?: Array | undefined; projectDomain?: Array | undefined; - projectDomainMove?: Array | undefined; projectDomainCheckConfig?: Array | undefined; + projectDomainMove?: Array | undefined; projectEnvVars?: Array | undefined; projectEnvVarsProduction?: Array | undefined; projectEnvVarsUnownedByIntegration?: Array | undefined; projectFlags?: Array | undefined; + projectFlagsProduction?: Array | undefined; + projectFromV0?: Array | undefined; projectId?: Array | undefined; projectIntegrationConfiguration?: Array | undefined; projectLink?: Array | undefined; projectMember?: Array | undefined; projectMonitoring?: Array | undefined; + projectOIDCToken?: Array | undefined; projectPermissions?: Array | undefined; projectProductionBranch?: Array | undefined; - projectTransfer?: Array | undefined; - projectTransferOut?: Array | undefined; projectProtectionBypass?: Array | undefined; - projectUsage?: Array | undefined; - projectAnalyticsUsage?: Array | undefined; + projectRollingRelease?: Array | undefined; projectSupportCase?: Array | undefined; projectSupportCaseComment?: Array | undefined; - projectDeploymentExpiration?: Array | undefined; - projectRollingRelease?: Array | undefined; projectTier?: Array | undefined; - projectOIDCToken?: Array | undefined; + projectTransfer?: Array | undefined; + projectTransferOut?: Array | undefined; + projectUsage?: Array | undefined; seawallConfig?: Array | undefined; + sharedEnvVarConnection?: Array | undefined; skewProtection?: Array | undefined; analytics?: Array | undefined; trustedIps?: Array | undefined; v0Chat?: Array | undefined; webAnalytics?: Array | undefined; - sharedEnvVarConnection?: Array | undefined; - sonar?: Array | undefined; }; export type GetProjectsLastRollbackTarget = {}; @@ -1750,6 +1819,10 @@ export type GetProjectsGitProviderOptions = { * Whether the Vercel bot should not automatically create GitHub repository-dispatch events on deployment events. https://vercel.com/docs/git/vercel-for-github#repository-dispatch-events */ disableRepositoryDispatchEvents?: boolean | undefined; + /** + * Whether the project requires commits to be signed before deployments will be created. + */ + requireVerifiedCommits?: boolean | undefined; }; export type GetProjectsWebAnalytics = { @@ -1774,18 +1847,18 @@ export type GetProjectsBotFilter = { action?: GetProjectsProjectsResponse200Action | undefined; }; -export const GetProjectsProjectsAction = { +export const GetProjectsProjectsResponse200ApplicationJSONAction = { Log: "log", Challenge: "challenge", Deny: "deny", } as const; -export type GetProjectsProjectsAction = ClosedEnum< - typeof GetProjectsProjectsAction +export type GetProjectsProjectsResponse200ApplicationJSONAction = ClosedEnum< + typeof GetProjectsProjectsResponse200ApplicationJSONAction >; export type GetProjectsAiBots = { active: boolean; - action?: GetProjectsProjectsAction | undefined; + action?: GetProjectsProjectsResponse200ApplicationJSONAction | undefined; }; export const GetProjectsProjectsResponseAction = { @@ -1865,13 +1938,15 @@ export type GetProjectsHistory = { at: number; }; -export const GetProjectsAction = { +export const GetProjectsProjectsAction = { Blocked: "blocked", } as const; -export type GetProjectsAction = ClosedEnum; +export type GetProjectsProjectsAction = ClosedEnum< + typeof GetProjectsProjectsAction +>; export type GetProjectsBlock = { - action: GetProjectsAction; + action: GetProjectsProjectsAction; reason: string; statusCode: number; createdAt: number; @@ -2111,6 +2186,7 @@ export type GetProjectsAbuse = { | GetProjectsBlockHistory2 > | undefined; + interstitial?: boolean | undefined; }; export const GetProjectsHasProjectsType = { @@ -2177,6 +2253,31 @@ export type GetProjectsInternalRoutes = | GetProjectsInternalRoutes1 | GetProjectsInternalRoutes2; +export const GetProjectsAction = { + Cancel: "cancel", + Accept: "accept", + Delete: "delete", +} as const; +export type GetProjectsAction = ClosedEnum; + +export type GetProjectsValuePreviousValue = string | number | boolean; + +export type GetProjectsValueCurrentValue = string | number | boolean; + +export type GetProjectsValue4 = { + previousValue: string | number | boolean; + currentValue: string | number | boolean; +}; + +export type GetProjectsValue = GetProjectsValue4 | string | number | boolean; + +export type GetProjectsDismissedToasts = { + key: string; + dismissedAt: number; + action: GetProjectsAction; + value: GetProjectsValue4 | string | number | boolean | null; +}; + export type GetProjectsProjects = { accountId: string; analytics?: GetProjectsAnalytics | undefined; @@ -2222,6 +2323,7 @@ export type GetProjectsProjects = { microfrontends?: | GetProjectsMicrofrontends1 | GetProjectsMicrofrontends2 + | GetProjectsMicrofrontends3 | undefined; name: string; nodeVersion: GetProjectsNodeVersion; @@ -2245,6 +2347,7 @@ export type GetProjectsProjects = { skewProtectionBoundaryAt?: number | undefined; skewProtectionMaxAge?: number | undefined; skipGitConnectDuringLink?: boolean | undefined; + staticIps?: GetProjectsStaticIps | undefined; sourceFilesOutsideRootDirectory?: boolean | undefined; enableAffectedProjectsDeployments?: boolean | undefined; ssoProtection?: GetProjectsSsoProtection | null | undefined; @@ -2283,6 +2386,8 @@ export type GetProjectsProjects = { internalRoutes?: | Array | undefined; + hasDeployments?: boolean | undefined; + dismissedToasts?: Array | undefined; }; /** @@ -2313,43 +2418,28 @@ export type GetProjectsResponseBody = { 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 ElasticConcurrencyEnabled$inboundSchema: z.ZodNativeEnum< typeof ElasticConcurrencyEnabled > = z.nativeEnum(ElasticConcurrencyEnabled); - /** @internal */ export const ElasticConcurrencyEnabled$outboundSchema: z.ZodNativeEnum< typeof ElasticConcurrencyEnabled > = ElasticConcurrencyEnabled$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ElasticConcurrencyEnabled$ { - /** @deprecated use `ElasticConcurrencyEnabled$inboundSchema` instead. */ - export const inboundSchema = ElasticConcurrencyEnabled$inboundSchema; - /** @deprecated use `ElasticConcurrencyEnabled$outboundSchema` instead. */ - export const outboundSchema = ElasticConcurrencyEnabled$outboundSchema; -} +/** @internal */ +export const StaticIpsEnabled$inboundSchema: z.ZodNativeEnum< + typeof StaticIpsEnabled +> = z.nativeEnum(StaticIpsEnabled); +/** @internal */ +export const StaticIpsEnabled$outboundSchema: z.ZodNativeEnum< + typeof StaticIpsEnabled +> = StaticIpsEnabled$inboundSchema; /** @internal */ export const GetProjectsRequest$inboundSchema: z.ZodType< @@ -2369,10 +2459,11 @@ export const GetProjectsRequest$inboundSchema: z.ZodType< edgeConfigTokenId: z.string().optional(), deprecated: z.boolean().optional(), elasticConcurrencyEnabled: ElasticConcurrencyEnabled$inboundSchema.optional(), + staticIpsEnabled: StaticIpsEnabled$inboundSchema.optional(), + buildMachineTypes: z.string().optional(), teamId: z.string().optional(), slug: z.string().optional(), }); - /** @internal */ export type GetProjectsRequest$Outbound = { from?: string | undefined; @@ -2387,6 +2478,8 @@ export type GetProjectsRequest$Outbound = { edgeConfigTokenId?: string | undefined; deprecated?: boolean | undefined; elasticConcurrencyEnabled?: string | undefined; + staticIpsEnabled?: string | undefined; + buildMachineTypes?: string | undefined; teamId?: string | undefined; slug?: string | undefined; }; @@ -2410,23 +2503,12 @@ export const GetProjectsRequest$outboundSchema: z.ZodType< deprecated: z.boolean().optional(), elasticConcurrencyEnabled: ElasticConcurrencyEnabled$outboundSchema .optional(), + staticIpsEnabled: StaticIpsEnabled$outboundSchema.optional(), + buildMachineTypes: 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 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 { @@ -2434,7 +2516,6 @@ export function getProjectsRequestToJSON( GetProjectsRequest$outboundSchema.parse(getProjectsRequest), ); } - export function getProjectsRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -2459,7 +2540,6 @@ export const GetProjectsAnalytics$inboundSchema: z.ZodType< sampleRatePercent: z.nullable(z.number()).optional(), spendLimitInDollars: z.nullable(z.number()).optional(), }); - /** @internal */ export type GetProjectsAnalytics$Outbound = { id: string; @@ -2486,19 +2566,6 @@ export const GetProjectsAnalytics$outboundSchema: z.ZodType< 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 { @@ -2506,7 +2573,6 @@ export function getProjectsAnalyticsToJSON( GetProjectsAnalytics$outboundSchema.parse(getProjectsAnalytics), ); } - export function getProjectsAnalyticsFromJSON( jsonString: string, ): SafeParseResult { @@ -2530,7 +2596,6 @@ export const GetProjectsSpeedInsights$inboundSchema: z.ZodType< hasData: z.boolean().optional(), paidAt: z.number().optional(), }); - /** @internal */ export type GetProjectsSpeedInsights$Outbound = { id: string; @@ -2555,19 +2620,6 @@ export const GetProjectsSpeedInsights$outboundSchema: z.ZodType< 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 { @@ -2575,7 +2627,6 @@ export function getProjectsSpeedInsightsToJSON( GetProjectsSpeedInsights$outboundSchema.parse(getProjectsSpeedInsights), ); } - export function getProjectsSpeedInsightsFromJSON( jsonString: string, ): SafeParseResult { @@ -2590,30 +2641,17 @@ export function getProjectsSpeedInsightsFromJSON( export const GetProjectsEnvId2$inboundSchema: z.ZodNativeEnum< typeof GetProjectsEnvId2 > = z.nativeEnum(GetProjectsEnvId2); - /** @internal */ export const GetProjectsEnvId2$outboundSchema: z.ZodNativeEnum< typeof GetProjectsEnvId2 > = GetProjectsEnvId2$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsEnvId2$ { - /** @deprecated use `GetProjectsEnvId2$inboundSchema` instead. */ - export const inboundSchema = GetProjectsEnvId2$inboundSchema; - /** @deprecated use `GetProjectsEnvId2$outboundSchema` instead. */ - export const outboundSchema = GetProjectsEnvId2$outboundSchema; -} - /** @internal */ export const GetProjectsEnvId$inboundSchema: z.ZodType< GetProjectsEnvId, z.ZodTypeDef, unknown > = z.union([z.string(), GetProjectsEnvId2$inboundSchema]); - /** @internal */ export type GetProjectsEnvId$Outbound = string | string; @@ -2624,19 +2662,6 @@ export const GetProjectsEnvId$outboundSchema: z.ZodType< GetProjectsEnvId > = z.union([z.string(), GetProjectsEnvId2$outboundSchema]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsEnvId$ { - /** @deprecated use `GetProjectsEnvId$inboundSchema` instead. */ - export const inboundSchema = GetProjectsEnvId$inboundSchema; - /** @deprecated use `GetProjectsEnvId$outboundSchema` instead. */ - export const outboundSchema = GetProjectsEnvId$outboundSchema; - /** @deprecated use `GetProjectsEnvId$Outbound` instead. */ - export type Outbound = GetProjectsEnvId$Outbound; -} - export function getProjectsEnvIdToJSON( getProjectsEnvId: GetProjectsEnvId, ): string { @@ -2644,7 +2669,6 @@ export function getProjectsEnvIdToJSON( GetProjectsEnvId$outboundSchema.parse(getProjectsEnvId), ); } - export function getProjectsEnvIdFromJSON( jsonString: string, ): SafeParseResult { @@ -2664,7 +2688,6 @@ export const GetProjectsAws$inboundSchema: z.ZodType< subnetIds: z.array(z.string()), securityGroupId: z.string(), }); - /** @internal */ export type GetProjectsAws$Outbound = { subnetIds: Array; @@ -2681,23 +2704,9 @@ export const GetProjectsAws$outboundSchema: z.ZodType< securityGroupId: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsAws$ { - /** @deprecated use `GetProjectsAws$inboundSchema` instead. */ - export const inboundSchema = GetProjectsAws$inboundSchema; - /** @deprecated use `GetProjectsAws$outboundSchema` instead. */ - export const outboundSchema = GetProjectsAws$outboundSchema; - /** @deprecated use `GetProjectsAws$Outbound` instead. */ - export type Outbound = GetProjectsAws$Outbound; -} - export function getProjectsAwsToJSON(getProjectsAws: GetProjectsAws): string { return JSON.stringify(GetProjectsAws$outboundSchema.parse(getProjectsAws)); } - export function getProjectsAwsFromJSON( jsonString: string, ): SafeParseResult { @@ -2723,7 +2732,6 @@ export const GetProjectsConnectConfigurations$inboundSchema: z.ZodType< createdAt: z.number(), updatedAt: z.number(), }); - /** @internal */ export type GetProjectsConnectConfigurations$Outbound = { envId: string | string; @@ -2752,19 +2760,6 @@ export const GetProjectsConnectConfigurations$outboundSchema: z.ZodType< 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 GetProjectsConnectConfigurations$ { - /** @deprecated use `GetProjectsConnectConfigurations$inboundSchema` instead. */ - export const inboundSchema = GetProjectsConnectConfigurations$inboundSchema; - /** @deprecated use `GetProjectsConnectConfigurations$outboundSchema` instead. */ - export const outboundSchema = GetProjectsConnectConfigurations$outboundSchema; - /** @deprecated use `GetProjectsConnectConfigurations$Outbound` instead. */ - export type Outbound = GetProjectsConnectConfigurations$Outbound; -} - export function getProjectsConnectConfigurationsToJSON( getProjectsConnectConfigurations: GetProjectsConnectConfigurations, ): string { @@ -2774,7 +2769,6 @@ export function getProjectsConnectConfigurationsToJSON( ), ); } - export function getProjectsConnectConfigurationsFromJSON( jsonString: string, ): SafeParseResult { @@ -2795,7 +2789,6 @@ export const GetProjectsDefinitions$inboundSchema: z.ZodType< path: z.string(), schedule: z.string(), }); - /** @internal */ export type GetProjectsDefinitions$Outbound = { host: string; @@ -2814,19 +2807,6 @@ export const GetProjectsDefinitions$outboundSchema: z.ZodType< 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 { @@ -2834,7 +2814,6 @@ export function getProjectsDefinitionsToJSON( GetProjectsDefinitions$outboundSchema.parse(getProjectsDefinitions), ); } - export function getProjectsDefinitionsFromJSON( jsonString: string, ): SafeParseResult { @@ -2857,7 +2836,6 @@ export const GetProjectsCrons$inboundSchema: z.ZodType< deploymentId: z.nullable(z.string()), definitions: z.array(z.lazy(() => GetProjectsDefinitions$inboundSchema)), }); - /** @internal */ export type GetProjectsCrons$Outbound = { enabledAt: number; @@ -2880,19 +2858,6 @@ export const GetProjectsCrons$outboundSchema: z.ZodType< 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 { @@ -2900,7 +2865,6 @@ export function getProjectsCronsToJSON( GetProjectsCrons$outboundSchema.parse(getProjectsCrons), ); } - export function getProjectsCronsFromJSON( jsonString: string, ): SafeParseResult { @@ -2921,7 +2885,6 @@ export const GetProjectsDataCache$inboundSchema: z.ZodType< storageSizeBytes: z.nullable(z.number()).optional(), unlimited: z.boolean().optional(), }); - /** @internal */ export type GetProjectsDataCache$Outbound = { userDisabled: boolean; @@ -2940,19 +2903,6 @@ export const GetProjectsDataCache$outboundSchema: z.ZodType< 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 { @@ -2960,7 +2910,6 @@ export function getProjectsDataCacheToJSON( GetProjectsDataCache$outboundSchema.parse(getProjectsDataCache), ); } - export function getProjectsDataCacheFromJSON( jsonString: string, ): SafeParseResult { @@ -2983,7 +2932,6 @@ export const GetProjectsDeploymentExpiration$inboundSchema: z.ZodType< expirationDaysErrored: z.number().optional(), deploymentsToKeep: z.number().optional(), }); - /** @internal */ export type GetProjectsDeploymentExpiration$Outbound = { expirationDays?: number | undefined; @@ -3006,19 +2954,6 @@ export const GetProjectsDeploymentExpiration$outboundSchema: z.ZodType< 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 { @@ -3028,7 +2963,6 @@ export function getProjectsDeploymentExpirationToJSON( ), ); } - export function getProjectsDeploymentExpirationFromJSON( jsonString: string, ): SafeParseResult { @@ -3043,44 +2977,20 @@ export function getProjectsDeploymentExpirationFromJSON( 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, @@ -3090,7 +3000,6 @@ export const GetProjectsTarget$inboundSchema: z.ZodType< z.array(GetProjectsTarget1$inboundSchema), GetProjectsTarget2$inboundSchema, ]); - /** @internal */ export type GetProjectsTarget$Outbound = Array | string; @@ -3104,19 +3013,6 @@ export const GetProjectsTarget$outboundSchema: z.ZodType< 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 { @@ -3124,7 +3020,6 @@ export function getProjectsTargetToJSON( GetProjectsTarget$outboundSchema.parse(getProjectsTarget), ); } - export function getProjectsTargetFromJSON( jsonString: string, ): SafeParseResult { @@ -3139,23 +3034,11 @@ export function getProjectsTargetFromJSON( 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< @@ -3163,7 +3046,6 @@ export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBod > = z.nativeEnum( GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv15Type, ); - /** @internal */ export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv15Type$outboundSchema: z.ZodNativeEnum< @@ -3171,19 +3053,6 @@ export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBod > = 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, @@ -3194,7 +3063,6 @@ export const GetProjectsContentHint15$inboundSchema: z.ZodType< GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv15Type$inboundSchema, projectId: z.string(), }); - /** @internal */ export type GetProjectsContentHint15$Outbound = { type: string; @@ -3212,19 +3080,6 @@ export const GetProjectsContentHint15$outboundSchema: z.ZodType< 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 { @@ -3232,7 +3087,6 @@ export function getProjectsContentHint15ToJSON( GetProjectsContentHint15$outboundSchema.parse(getProjectsContentHint15), ); } - export function getProjectsContentHint15FromJSON( jsonString: string, ): SafeParseResult { @@ -3250,7 +3104,6 @@ export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBod > = z.nativeEnum( GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv14Type, ); - /** @internal */ export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv14Type$outboundSchema: z.ZodNativeEnum< @@ -3258,19 +3111,6 @@ export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBod > = 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, @@ -3284,7 +3124,6 @@ export const GetProjectsContentHint14$inboundSchema: z.ZodType< integrationProductId: z.string(), integrationConfigurationId: z.string(), }); - /** @internal */ export type GetProjectsContentHint14$Outbound = { type: string; @@ -3308,19 +3147,6 @@ export const GetProjectsContentHint14$outboundSchema: z.ZodType< 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 { @@ -3328,7 +3154,6 @@ export function getProjectsContentHint14ToJSON( GetProjectsContentHint14$outboundSchema.parse(getProjectsContentHint14), ); } - export function getProjectsContentHint14FromJSON( jsonString: string, ): SafeParseResult { @@ -3346,7 +3171,6 @@ export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBod > = z.nativeEnum( GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv13Type, ); - /** @internal */ export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv13Type$outboundSchema: z.ZodNativeEnum< @@ -3354,19 +3178,6 @@ export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBod > = 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, @@ -3377,7 +3188,6 @@ export const GetProjectsContentHint13$inboundSchema: z.ZodType< GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv13Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type GetProjectsContentHint13$Outbound = { type: string; @@ -3395,19 +3205,6 @@ export const GetProjectsContentHint13$outboundSchema: z.ZodType< storeId: z.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 { @@ -3415,7 +3212,6 @@ export function getProjectsContentHint13ToJSON( GetProjectsContentHint13$outboundSchema.parse(getProjectsContentHint13), ); } - export function getProjectsContentHint13FromJSON( jsonString: string, ): SafeParseResult { @@ -3433,7 +3229,6 @@ export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBod > = z.nativeEnum( GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv12Type, ); - /** @internal */ export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv12Type$outboundSchema: z.ZodNativeEnum< @@ -3441,19 +3236,6 @@ export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBod > = 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, @@ -3464,7 +3246,6 @@ export const GetProjectsContentHint12$inboundSchema: z.ZodType< GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv12Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type GetProjectsContentHint12$Outbound = { type: string; @@ -3482,19 +3263,6 @@ export const GetProjectsContentHint12$outboundSchema: z.ZodType< storeId: z.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 { @@ -3502,7 +3270,6 @@ export function getProjectsContentHint12ToJSON( GetProjectsContentHint12$outboundSchema.parse(getProjectsContentHint12), ); } - export function getProjectsContentHint12FromJSON( jsonString: string, ): SafeParseResult { @@ -3520,7 +3287,6 @@ export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBod > = z.nativeEnum( GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv11Type, ); - /** @internal */ export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv11Type$outboundSchema: z.ZodNativeEnum< @@ -3528,19 +3294,6 @@ export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBod > = 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, @@ -3551,7 +3304,6 @@ export const GetProjectsContentHint11$inboundSchema: z.ZodType< GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv11Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type GetProjectsContentHint11$Outbound = { type: string; @@ -3569,19 +3321,6 @@ export const GetProjectsContentHint11$outboundSchema: z.ZodType< storeId: z.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 { @@ -3589,7 +3328,6 @@ export function getProjectsContentHint11ToJSON( GetProjectsContentHint11$outboundSchema.parse(getProjectsContentHint11), ); } - export function getProjectsContentHint11FromJSON( jsonString: string, ): SafeParseResult { @@ -3607,7 +3345,6 @@ export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBod > = z.nativeEnum( GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv10Type, ); - /** @internal */ export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv10Type$outboundSchema: z.ZodNativeEnum< @@ -3615,19 +3352,6 @@ export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBod > = 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, @@ -3638,7 +3362,6 @@ export const GetProjectsContentHint10$inboundSchema: z.ZodType< GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv10Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type GetProjectsContentHint10$Outbound = { type: string; @@ -3656,19 +3379,6 @@ export const GetProjectsContentHint10$outboundSchema: z.ZodType< storeId: z.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 { @@ -3676,7 +3386,6 @@ export function getProjectsContentHint10ToJSON( GetProjectsContentHint10$outboundSchema.parse(getProjectsContentHint10), ); } - export function getProjectsContentHint10FromJSON( jsonString: string, ): SafeParseResult { @@ -3694,7 +3403,6 @@ export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBod > = z.nativeEnum( GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv9Type, ); - /** @internal */ export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv9Type$outboundSchema: z.ZodNativeEnum< @@ -3702,19 +3410,6 @@ export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBod > = 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, @@ -3725,7 +3420,6 @@ export const GetProjectsContentHint9$inboundSchema: z.ZodType< GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnv9Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type GetProjectsContentHint9$Outbound = { type: string; @@ -3743,19 +3437,6 @@ export const GetProjectsContentHint9$outboundSchema: z.ZodType< storeId: z.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 { @@ -3763,7 +3444,6 @@ export function getProjectsContentHint9ToJSON( GetProjectsContentHint9$outboundSchema.parse(getProjectsContentHint9), ); } - export function getProjectsContentHint9FromJSON( jsonString: string, ): SafeParseResult { @@ -3781,7 +3461,6 @@ export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBod > = z.nativeEnum( GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnvType, ); - /** @internal */ export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnvType$outboundSchema: z.ZodNativeEnum< @@ -3789,19 +3468,6 @@ export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBod > = 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, @@ -3812,7 +3478,6 @@ export const GetProjectsContentHint8$inboundSchema: z.ZodType< GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsEnvType$inboundSchema, storeId: z.string(), }); - /** @internal */ export type GetProjectsContentHint8$Outbound = { type: string; @@ -3830,19 +3495,6 @@ export const GetProjectsContentHint8$outboundSchema: z.ZodType< storeId: z.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 { @@ -3850,7 +3502,6 @@ export function getProjectsContentHint8ToJSON( GetProjectsContentHint8$outboundSchema.parse(getProjectsContentHint8), ); } - export function getProjectsContentHint8FromJSON( jsonString: string, ): SafeParseResult { @@ -3868,7 +3519,6 @@ export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBod > = z.nativeEnum( GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsType, ); - /** @internal */ export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsType$outboundSchema: z.ZodNativeEnum< @@ -3876,19 +3526,6 @@ export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBod > = 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, @@ -3899,7 +3536,6 @@ export const GetProjectsContentHint7$inboundSchema: z.ZodType< GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyProjectsType$inboundSchema, storeId: z.string(), }); - /** @internal */ export type GetProjectsContentHint7$Outbound = { type: string; @@ -3917,19 +3553,6 @@ export const GetProjectsContentHint7$outboundSchema: z.ZodType< storeId: z.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 { @@ -3937,7 +3560,6 @@ export function getProjectsContentHint7ToJSON( GetProjectsContentHint7$outboundSchema.parse(getProjectsContentHint7), ); } - export function getProjectsContentHint7FromJSON( jsonString: string, ): SafeParseResult { @@ -3955,7 +3577,6 @@ export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBod > = z.nativeEnum( GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyType, ); - /** @internal */ export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema: z.ZodNativeEnum< @@ -3963,19 +3584,6 @@ export const GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBod > = 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, @@ -3986,7 +3594,6 @@ export const GetProjectsContentHint6$inboundSchema: z.ZodType< GetProjectsContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema, storeId: z.string(), }); - /** @internal */ export type GetProjectsContentHint6$Outbound = { type: string; @@ -4004,19 +3611,6 @@ export const GetProjectsContentHint6$outboundSchema: z.ZodType< storeId: z.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 { @@ -4024,7 +3618,6 @@ export function getProjectsContentHint6ToJSON( GetProjectsContentHint6$outboundSchema.parse(getProjectsContentHint6), ); } - export function getProjectsContentHint6FromJSON( jsonString: string, ): SafeParseResult { @@ -4042,7 +3635,6 @@ export const GetProjectsContentHintProjectsResponse200ApplicationJSONType$inboun > = z.nativeEnum( GetProjectsContentHintProjectsResponse200ApplicationJSONType, ); - /** @internal */ export const GetProjectsContentHintProjectsResponse200ApplicationJSONType$outboundSchema: z.ZodNativeEnum< @@ -4050,19 +3642,6 @@ export const GetProjectsContentHintProjectsResponse200ApplicationJSONType$outbou > = 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, @@ -4073,7 +3652,6 @@ export const GetProjectsContentHint5$inboundSchema: z.ZodType< GetProjectsContentHintProjectsResponse200ApplicationJSONType$inboundSchema, storeId: z.string(), }); - /** @internal */ export type GetProjectsContentHint5$Outbound = { type: string; @@ -4091,19 +3669,6 @@ export const GetProjectsContentHint5$outboundSchema: z.ZodType< storeId: z.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 { @@ -4111,7 +3676,6 @@ export function getProjectsContentHint5ToJSON( GetProjectsContentHint5$outboundSchema.parse(getProjectsContentHint5), ); } - export function getProjectsContentHint5FromJSON( jsonString: string, ): SafeParseResult { @@ -4126,25 +3690,11 @@ export function getProjectsContentHint5FromJSON( 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, @@ -4154,7 +3704,6 @@ export const GetProjectsContentHint4$inboundSchema: z.ZodType< type: GetProjectsContentHintProjectsResponse200Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type GetProjectsContentHint4$Outbound = { type: string; @@ -4171,19 +3720,6 @@ export const GetProjectsContentHint4$outboundSchema: z.ZodType< storeId: z.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 { @@ -4191,7 +3727,6 @@ export function getProjectsContentHint4ToJSON( GetProjectsContentHint4$outboundSchema.parse(getProjectsContentHint4), ); } - export function getProjectsContentHint4FromJSON( jsonString: string, ): SafeParseResult { @@ -4206,25 +3741,11 @@ export function getProjectsContentHint4FromJSON( 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, @@ -4234,7 +3755,6 @@ export const GetProjectsContentHint3$inboundSchema: z.ZodType< type: GetProjectsContentHintProjectsResponseType$inboundSchema, storeId: z.string(), }); - /** @internal */ export type GetProjectsContentHint3$Outbound = { type: string; @@ -4251,19 +3771,6 @@ export const GetProjectsContentHint3$outboundSchema: z.ZodType< storeId: z.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 { @@ -4271,7 +3778,6 @@ export function getProjectsContentHint3ToJSON( GetProjectsContentHint3$outboundSchema.parse(getProjectsContentHint3), ); } - export function getProjectsContentHint3FromJSON( jsonString: string, ): SafeParseResult { @@ -4286,24 +3792,11 @@ export function getProjectsContentHint3FromJSON( 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, @@ -4313,7 +3806,6 @@ export const GetProjectsContentHint2$inboundSchema: z.ZodType< type: GetProjectsContentHintProjectsType$inboundSchema, storeId: z.string(), }); - /** @internal */ export type GetProjectsContentHint2$Outbound = { type: string; @@ -4330,19 +3822,6 @@ export const GetProjectsContentHint2$outboundSchema: z.ZodType< storeId: z.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 { @@ -4350,7 +3829,6 @@ export function getProjectsContentHint2ToJSON( GetProjectsContentHint2$outboundSchema.parse(getProjectsContentHint2), ); } - export function getProjectsContentHint2FromJSON( jsonString: string, ): SafeParseResult { @@ -4365,23 +3843,11 @@ export function getProjectsContentHint2FromJSON( 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, @@ -4391,7 +3857,6 @@ export const GetProjectsContentHint1$inboundSchema: z.ZodType< type: GetProjectsContentHintType$inboundSchema, storeId: z.string(), }); - /** @internal */ export type GetProjectsContentHint1$Outbound = { type: string; @@ -4408,19 +3873,6 @@ export const GetProjectsContentHint1$outboundSchema: z.ZodType< storeId: z.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 { @@ -4428,7 +3880,6 @@ export function getProjectsContentHint1ToJSON( GetProjectsContentHint1$outboundSchema.parse(getProjectsContentHint1), ); } - export function getProjectsContentHint1FromJSON( jsonString: string, ): SafeParseResult { @@ -4461,7 +3912,6 @@ export const GetProjectsContentHint$inboundSchema: z.ZodType< z.lazy(() => GetProjectsContentHint13$inboundSchema), z.lazy(() => GetProjectsContentHint15$inboundSchema), ]); - /** @internal */ export type GetProjectsContentHint$Outbound = | GetProjectsContentHint14$Outbound @@ -4503,19 +3953,6 @@ export const GetProjectsContentHint$outboundSchema: z.ZodType< z.lazy(() => GetProjectsContentHint15$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 { @@ -4523,7 +3960,6 @@ export function getProjectsContentHintToJSON( GetProjectsContentHint$outboundSchema.parse(getProjectsContentHint), ); } - export function getProjectsContentHintFromJSON( jsonString: string, ): SafeParseResult { @@ -4541,7 +3977,6 @@ export const GetProjectsProjectsResponse200ApplicationJSONResponseBodyType$inbou > = z.nativeEnum( GetProjectsProjectsResponse200ApplicationJSONResponseBodyType, ); - /** @internal */ export const GetProjectsProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema: z.ZodNativeEnum< @@ -4549,19 +3984,6 @@ export const GetProjectsProjectsResponse200ApplicationJSONResponseBodyType$outbo > = 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 GetProjectsInternalContentHint$inboundSchema: z.ZodType< GetProjectsInternalContentHint, @@ -4572,7 +3994,6 @@ export const GetProjectsInternalContentHint$inboundSchema: z.ZodType< GetProjectsProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema, encryptedValue: z.string(), }); - /** @internal */ export type GetProjectsInternalContentHint$Outbound = { type: string; @@ -4590,19 +4011,6 @@ export const GetProjectsInternalContentHint$outboundSchema: z.ZodType< 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 { @@ -4612,7 +4020,6 @@ export function getProjectsInternalContentHintToJSON( ), ); } - export function getProjectsInternalContentHintFromJSON( jsonString: string, ): SafeParseResult { @@ -4673,7 +4080,6 @@ export const GetProjectsEnv$inboundSchema: z.ZodType< comment: z.string().optional(), customEnvironmentIds: z.array(z.string()).optional(), }); - /** @internal */ export type GetProjectsEnv$Outbound = { target?: Array | string | undefined; @@ -4769,23 +4175,9 @@ export const GetProjectsEnv$outboundSchema: z.ZodType< 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 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 { @@ -4800,23 +4192,11 @@ export function getProjectsEnvFromJSON( 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 GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsCustomEnvironmentsType$inboundSchema: z.ZodNativeEnum< @@ -4824,7 +4204,6 @@ export const GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsCu > = z.nativeEnum( GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsCustomEnvironmentsType, ); - /** @internal */ export const GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsCustomEnvironmentsType$outboundSchema: z.ZodNativeEnum< @@ -4832,19 +4211,6 @@ export const GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsCu > = GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsCustomEnvironmentsType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsCustomEnvironmentsType$ { - /** @deprecated use `GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsCustomEnvironmentsType$inboundSchema` instead. */ - export const inboundSchema = - GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsCustomEnvironmentsType$inboundSchema; - /** @deprecated use `GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsCustomEnvironmentsType$outboundSchema` instead. */ - export const outboundSchema = - GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsCustomEnvironmentsType$outboundSchema; -} - /** @internal */ export const GetProjectsBranchMatcher$inboundSchema: z.ZodType< GetProjectsBranchMatcher, @@ -4855,7 +4221,6 @@ export const GetProjectsBranchMatcher$inboundSchema: z.ZodType< GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsCustomEnvironmentsType$inboundSchema, pattern: z.string(), }); - /** @internal */ export type GetProjectsBranchMatcher$Outbound = { type: string; @@ -4873,19 +4238,6 @@ export const GetProjectsBranchMatcher$outboundSchema: z.ZodType< 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 { @@ -4893,7 +4245,6 @@ export function getProjectsBranchMatcherToJSON( GetProjectsBranchMatcher$outboundSchema.parse(getProjectsBranchMatcher), ); } - export function getProjectsBranchMatcherFromJSON( jsonString: string, ): SafeParseResult { @@ -4915,7 +4266,6 @@ export const GetProjectsVerification$inboundSchema: z.ZodType< value: z.string(), reason: z.string(), }); - /** @internal */ export type GetProjectsVerification$Outbound = { type: string; @@ -4936,19 +4286,6 @@ export const GetProjectsVerification$outboundSchema: z.ZodType< 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 GetProjectsVerification$ { - /** @deprecated use `GetProjectsVerification$inboundSchema` instead. */ - export const inboundSchema = GetProjectsVerification$inboundSchema; - /** @deprecated use `GetProjectsVerification$outboundSchema` instead. */ - export const outboundSchema = GetProjectsVerification$outboundSchema; - /** @deprecated use `GetProjectsVerification$Outbound` instead. */ - export type Outbound = GetProjectsVerification$Outbound; -} - export function getProjectsVerificationToJSON( getProjectsVerification: GetProjectsVerification, ): string { @@ -4956,7 +4293,6 @@ export function getProjectsVerificationToJSON( GetProjectsVerification$outboundSchema.parse(getProjectsVerification), ); } - export function getProjectsVerificationFromJSON( jsonString: string, ): SafeParseResult { @@ -4986,7 +4322,6 @@ export const GetProjectsDomains$inboundSchema: z.ZodType< verification: z.array(z.lazy(() => GetProjectsVerification$inboundSchema)) .optional(), }); - /** @internal */ export type GetProjectsDomains$Outbound = { name: string; @@ -5022,19 +4357,6 @@ export const GetProjectsDomains$outboundSchema: z.ZodType< .optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsDomains$ { - /** @deprecated use `GetProjectsDomains$inboundSchema` instead. */ - export const inboundSchema = GetProjectsDomains$inboundSchema; - /** @deprecated use `GetProjectsDomains$outboundSchema` instead. */ - export const outboundSchema = GetProjectsDomains$outboundSchema; - /** @deprecated use `GetProjectsDomains$Outbound` instead. */ - export type Outbound = GetProjectsDomains$Outbound; -} - export function getProjectsDomainsToJSON( getProjectsDomains: GetProjectsDomains, ): string { @@ -5042,7 +4364,6 @@ export function getProjectsDomainsToJSON( GetProjectsDomains$outboundSchema.parse(getProjectsDomains), ); } - export function getProjectsDomainsFromJSON( jsonString: string, ): SafeParseResult { @@ -5070,7 +4391,6 @@ export const GetProjectsCustomEnvironments$inboundSchema: z.ZodType< createdAt: z.number(), updatedAt: z.number(), }); - /** @internal */ export type GetProjectsCustomEnvironments$Outbound = { id: string; @@ -5102,19 +4422,6 @@ export const GetProjectsCustomEnvironments$outboundSchema: z.ZodType< 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 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 { @@ -5124,7 +4431,6 @@ export function getProjectsCustomEnvironmentsToJSON( ), ); } - export function getProjectsCustomEnvironmentsFromJSON( jsonString: string, ): SafeParseResult { @@ -5139,23 +4445,11 @@ export function getProjectsCustomEnvironmentsFromJSON( 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, @@ -5165,7 +4459,6 @@ export const GetProjectsIpBuckets$inboundSchema: z.ZodType< bucket: z.string(), supportUntil: z.number().optional(), }); - /** @internal */ export type GetProjectsIpBuckets$Outbound = { bucket: string; @@ -5182,19 +4475,6 @@ export const GetProjectsIpBuckets$outboundSchema: z.ZodType< 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 { @@ -5202,7 +4482,6 @@ export function getProjectsIpBucketsToJSON( GetProjectsIpBuckets$outboundSchema.parse(getProjectsIpBuckets), ); } - export function getProjectsIpBucketsFromJSON( jsonString: string, ): SafeParseResult { @@ -5219,7 +4498,6 @@ export const GetProjectsAliasAssigned$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.union([z.number(), z.boolean()]); - /** @internal */ export type GetProjectsAliasAssigned$Outbound = number | boolean; @@ -5230,19 +4508,6 @@ export const GetProjectsAliasAssigned$outboundSchema: z.ZodType< 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 { @@ -5250,7 +4515,6 @@ export function getProjectsAliasAssignedToJSON( GetProjectsAliasAssigned$outboundSchema.parse(getProjectsAliasAssigned), ); } - export function getProjectsAliasAssignedFromJSON( jsonString: string, ): SafeParseResult { @@ -5270,7 +4534,6 @@ export const GetProjectsAliasError$inboundSchema: z.ZodType< code: z.string(), message: z.string(), }); - /** @internal */ export type GetProjectsAliasError$Outbound = { code: string; @@ -5287,19 +4550,6 @@ export const GetProjectsAliasError$outboundSchema: z.ZodType< 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 { @@ -5307,7 +4557,6 @@ export function getProjectsAliasErrorToJSON( GetProjectsAliasError$outboundSchema.parse(getProjectsAliasError), ); } - export function getProjectsAliasErrorFromJSON( jsonString: string, ): SafeParseResult { @@ -5325,7 +4574,6 @@ export const GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsLa > = z.nativeEnum( GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsLatestDeploymentsType, ); - /** @internal */ export const GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsLatestDeploymentsType$outboundSchema: z.ZodNativeEnum< @@ -5333,19 +4581,6 @@ export const GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsLa > = GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsLatestDeploymentsType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsLatestDeploymentsType$ { - /** @deprecated use `GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsLatestDeploymentsType$inboundSchema` instead. */ - export const inboundSchema = - GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsLatestDeploymentsType$inboundSchema; - /** @deprecated use `GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsLatestDeploymentsType$outboundSchema` instead. */ - export const outboundSchema = - GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsLatestDeploymentsType$outboundSchema; -} - /** @internal */ export const GetProjectsProjectsBranchMatcher$inboundSchema: z.ZodType< GetProjectsProjectsBranchMatcher, @@ -5356,7 +4591,6 @@ export const GetProjectsProjectsBranchMatcher$inboundSchema: z.ZodType< GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsLatestDeploymentsType$inboundSchema, pattern: z.string(), }); - /** @internal */ export type GetProjectsProjectsBranchMatcher$Outbound = { type: string; @@ -5374,19 +4608,6 @@ export const GetProjectsProjectsBranchMatcher$outboundSchema: z.ZodType< 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 { @@ -5396,7 +4617,6 @@ export function getProjectsProjectsBranchMatcherToJSON( ), ); } - export function getProjectsProjectsBranchMatcherFromJSON( jsonString: string, ): SafeParseResult { @@ -5417,7 +4637,6 @@ export const GetProjectsBuilds$inboundSchema: z.ZodType< src: z.string().optional(), dest: z.string().optional(), }); - /** @internal */ export type GetProjectsBuilds$Outbound = { use: string; @@ -5436,19 +4655,6 @@ export const GetProjectsBuilds$outboundSchema: z.ZodType< 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 { @@ -5456,7 +4662,6 @@ export function getProjectsBuildsToJSON( GetProjectsBuilds$outboundSchema.parse(getProjectsBuilds), ); } - export function getProjectsBuildsFromJSON( jsonString: string, ): SafeParseResult { @@ -5471,44 +4676,20 @@ export function getProjectsBuildsFromJSON( 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, @@ -5521,7 +4702,6 @@ export const GetProjectsCreator$inboundSchema: z.ZodType< uid: z.string(), username: z.string(), }); - /** @internal */ export type GetProjectsCreator$Outbound = { email: string; @@ -5544,19 +4724,6 @@ export const GetProjectsCreator$outboundSchema: z.ZodType< 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 { @@ -5564,7 +4731,6 @@ export function getProjectsCreatorToJSON( GetProjectsCreator$outboundSchema.parse(getProjectsCreator), ); } - export function getProjectsCreatorFromJSON( jsonString: string, ): SafeParseResult { @@ -5590,13 +4756,13 @@ export const GetProjectsOidcTokenClaims$inboundSchema: z.ZodType< project: z.string(), project_id: z.string(), environment: z.string(), + plan: z.string(), }).transform((v) => { return remap$(v, { "owner_id": "ownerId", "project_id": "projectId", }); }); - /** @internal */ export type GetProjectsOidcTokenClaims$Outbound = { iss: string; @@ -5608,6 +4774,7 @@ export type GetProjectsOidcTokenClaims$Outbound = { project: string; project_id: string; environment: string; + plan: string; }; /** @internal */ @@ -5625,6 +4792,7 @@ export const GetProjectsOidcTokenClaims$outboundSchema: z.ZodType< project: z.string(), projectId: z.string(), environment: z.string(), + plan: z.string(), }).transform((v) => { return remap$(v, { ownerId: "owner_id", @@ -5632,19 +4800,6 @@ export const GetProjectsOidcTokenClaims$outboundSchema: z.ZodType< }); }); -/** - * @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 { @@ -5652,7 +4807,6 @@ export function getProjectsOidcTokenClaimsToJSON( GetProjectsOidcTokenClaims$outboundSchema.parse(getProjectsOidcTokenClaims), ); } - export function getProjectsOidcTokenClaimsFromJSON( jsonString: string, ): SafeParseResult { @@ -5667,86 +4821,38 @@ export function getProjectsOidcTokenClaimsFromJSON( 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 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 GetProjectsLatestDeployments$inboundSchema: z.ZodType< GetProjectsLatestDeployments, @@ -5793,7 +4899,6 @@ export const GetProjectsLatestDeployments$inboundSchema: z.ZodType< userId: z.string(), withCache: z.boolean().optional(), }); - /** @internal */ export type GetProjectsLatestDeployments$Outbound = { id: string; @@ -5881,19 +4986,6 @@ export const GetProjectsLatestDeployments$outboundSchema: z.ZodType< 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 { @@ -5903,7 +4995,6 @@ export function getProjectsLatestDeploymentsToJSON( ), ); } - export function getProjectsLatestDeploymentsFromJSON( jsonString: string, ): SafeParseResult { @@ -5919,26 +5010,12 @@ export const GetProjectsLinkProjectsResponse200ApplicationJSONType$inboundSchema z.ZodNativeEnum< typeof GetProjectsLinkProjectsResponse200ApplicationJSONType > = z.nativeEnum(GetProjectsLinkProjectsResponse200ApplicationJSONType); - /** @internal */ export const GetProjectsLinkProjectsResponse200ApplicationJSONType$outboundSchema: z.ZodNativeEnum< typeof GetProjectsLinkProjectsResponse200ApplicationJSONType > = GetProjectsLinkProjectsResponse200ApplicationJSONType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsLinkProjectsResponse200ApplicationJSONType$ { - /** @deprecated use `GetProjectsLinkProjectsResponse200ApplicationJSONType$inboundSchema` instead. */ - export const inboundSchema = - GetProjectsLinkProjectsResponse200ApplicationJSONType$inboundSchema; - /** @deprecated use `GetProjectsLinkProjectsResponse200ApplicationJSONType$outboundSchema` instead. */ - export const outboundSchema = - GetProjectsLinkProjectsResponse200ApplicationJSONType$outboundSchema; -} - /** @internal */ export const GetProjectsLinkProjectsResponse200ApplicationJSONDeployHooks$inboundSchema: z.ZodType< @@ -5952,7 +5029,6 @@ export const GetProjectsLinkProjectsResponse200ApplicationJSONDeployHooks$inboun ref: z.string(), url: z.string(), }); - /** @internal */ export type GetProjectsLinkProjectsResponse200ApplicationJSONDeployHooks$Outbound = { @@ -5977,22 +5053,6 @@ export const GetProjectsLinkProjectsResponse200ApplicationJSONDeployHooks$outbou 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 GetProjectsLinkProjectsResponse200ApplicationJSONDeployHooks$ { - /** @deprecated use `GetProjectsLinkProjectsResponse200ApplicationJSONDeployHooks$inboundSchema` instead. */ - export const inboundSchema = - GetProjectsLinkProjectsResponse200ApplicationJSONDeployHooks$inboundSchema; - /** @deprecated use `GetProjectsLinkProjectsResponse200ApplicationJSONDeployHooks$outboundSchema` instead. */ - export const outboundSchema = - GetProjectsLinkProjectsResponse200ApplicationJSONDeployHooks$outboundSchema; - /** @deprecated use `GetProjectsLinkProjectsResponse200ApplicationJSONDeployHooks$Outbound` instead. */ - export type Outbound = - GetProjectsLinkProjectsResponse200ApplicationJSONDeployHooks$Outbound; -} - export function getProjectsLinkProjectsResponse200ApplicationJSONDeployHooksToJSON( getProjectsLinkProjectsResponse200ApplicationJSONDeployHooks: GetProjectsLinkProjectsResponse200ApplicationJSONDeployHooks, @@ -6002,7 +5062,6 @@ export function getProjectsLinkProjectsResponse200ApplicationJSONDeployHooksToJS .parse(getProjectsLinkProjectsResponse200ApplicationJSONDeployHooks), ); } - export function getProjectsLinkProjectsResponse200ApplicationJSONDeployHooksFromJSON( jsonString: string, ): SafeParseResult< @@ -6041,7 +5100,6 @@ export const GetProjectsLink5$inboundSchema: z.ZodType< sourceless: z.boolean().optional(), productionBranch: z.string(), }); - /** @internal */ export type GetProjectsLink5$Outbound = { name: string; @@ -6084,19 +5142,6 @@ export const GetProjectsLink5$outboundSchema: z.ZodType< productionBranch: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsLink5$ { - /** @deprecated use `GetProjectsLink5$inboundSchema` instead. */ - export const inboundSchema = GetProjectsLink5$inboundSchema; - /** @deprecated use `GetProjectsLink5$outboundSchema` instead. */ - export const outboundSchema = GetProjectsLink5$outboundSchema; - /** @deprecated use `GetProjectsLink5$Outbound` instead. */ - export type Outbound = GetProjectsLink5$Outbound; -} - export function getProjectsLink5ToJSON( getProjectsLink5: GetProjectsLink5, ): string { @@ -6104,7 +5149,6 @@ export function getProjectsLink5ToJSON( GetProjectsLink5$outboundSchema.parse(getProjectsLink5), ); } - export function getProjectsLink5FromJSON( jsonString: string, ): SafeParseResult { @@ -6120,25 +5164,11 @@ export const GetProjectsLinkProjectsResponse200Type$inboundSchema: z.ZodNativeEnum = z.nativeEnum( GetProjectsLinkProjectsResponse200Type, ); - /** @internal */ export const GetProjectsLinkProjectsResponse200Type$outboundSchema: z.ZodNativeEnum = GetProjectsLinkProjectsResponse200Type$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsLinkProjectsResponse200Type$ { - /** @deprecated use `GetProjectsLinkProjectsResponse200Type$inboundSchema` instead. */ - export const inboundSchema = - GetProjectsLinkProjectsResponse200Type$inboundSchema; - /** @deprecated use `GetProjectsLinkProjectsResponse200Type$outboundSchema` instead. */ - export const outboundSchema = - GetProjectsLinkProjectsResponse200Type$outboundSchema; -} - /** @internal */ export const GetProjectsLinkProjectsResponse200DeployHooks$inboundSchema: z.ZodType< @@ -6152,7 +5182,6 @@ export const GetProjectsLinkProjectsResponse200DeployHooks$inboundSchema: ref: z.string(), url: z.string(), }); - /** @internal */ export type GetProjectsLinkProjectsResponse200DeployHooks$Outbound = { createdAt?: number | undefined; @@ -6176,21 +5205,6 @@ export const GetProjectsLinkProjectsResponse200DeployHooks$outboundSchema: 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 GetProjectsLinkProjectsResponse200DeployHooks$ { - /** @deprecated use `GetProjectsLinkProjectsResponse200DeployHooks$inboundSchema` instead. */ - export const inboundSchema = - GetProjectsLinkProjectsResponse200DeployHooks$inboundSchema; - /** @deprecated use `GetProjectsLinkProjectsResponse200DeployHooks$outboundSchema` instead. */ - export const outboundSchema = - GetProjectsLinkProjectsResponse200DeployHooks$outboundSchema; - /** @deprecated use `GetProjectsLinkProjectsResponse200DeployHooks$Outbound` instead. */ - export type Outbound = GetProjectsLinkProjectsResponse200DeployHooks$Outbound; -} - export function getProjectsLinkProjectsResponse200DeployHooksToJSON( getProjectsLinkProjectsResponse200DeployHooks: GetProjectsLinkProjectsResponse200DeployHooks, @@ -6201,7 +5215,6 @@ export function getProjectsLinkProjectsResponse200DeployHooksToJSON( ), ); } - export function getProjectsLinkProjectsResponse200DeployHooksFromJSON( jsonString: string, ): SafeParseResult< @@ -6240,7 +5253,6 @@ export const GetProjectsLink4$inboundSchema: z.ZodType< sourceless: z.boolean().optional(), productionBranch: z.string(), }); - /** @internal */ export type GetProjectsLink4$Outbound = { projectId: string; @@ -6281,19 +5293,6 @@ export const GetProjectsLink4$outboundSchema: z.ZodType< productionBranch: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsLink4$ { - /** @deprecated use `GetProjectsLink4$inboundSchema` instead. */ - export const inboundSchema = GetProjectsLink4$inboundSchema; - /** @deprecated use `GetProjectsLink4$outboundSchema` instead. */ - export const outboundSchema = GetProjectsLink4$outboundSchema; - /** @deprecated use `GetProjectsLink4$Outbound` instead. */ - export type Outbound = GetProjectsLink4$Outbound; -} - export function getProjectsLink4ToJSON( getProjectsLink4: GetProjectsLink4, ): string { @@ -6301,7 +5300,6 @@ export function getProjectsLink4ToJSON( GetProjectsLink4$outboundSchema.parse(getProjectsLink4), ); } - export function getProjectsLink4FromJSON( jsonString: string, ): SafeParseResult { @@ -6316,25 +5314,11 @@ export function getProjectsLink4FromJSON( 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 = @@ -6345,7 +5329,6 @@ export const GetProjectsLinkProjectsResponseDeployHooks$inboundSchema: ref: z.string(), url: z.string(), }); - /** @internal */ export type GetProjectsLinkProjectsResponseDeployHooks$Outbound = { createdAt?: number | undefined; @@ -6369,21 +5352,6 @@ export const GetProjectsLinkProjectsResponseDeployHooks$outboundSchema: 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, @@ -6394,7 +5362,6 @@ export function getProjectsLinkProjectsResponseDeployHooksToJSON( ), ); } - export function getProjectsLinkProjectsResponseDeployHooksFromJSON( jsonString: string, ): SafeParseResult< @@ -6432,7 +5399,6 @@ export const GetProjectsLink3$inboundSchema: z.ZodType< sourceless: z.boolean().optional(), productionBranch: z.string(), }); - /** @internal */ export type GetProjectsLink3$Outbound = { org: string; @@ -6471,19 +5437,6 @@ export const GetProjectsLink3$outboundSchema: z.ZodType< productionBranch: z.string(), }); -/** - * @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 { @@ -6491,7 +5444,6 @@ export function getProjectsLink3ToJSON( GetProjectsLink3$outboundSchema.parse(getProjectsLink3), ); } - export function getProjectsLink3FromJSON( jsonString: string, ): SafeParseResult { @@ -6506,23 +5458,11 @@ export function getProjectsLink3FromJSON( 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, @@ -6535,7 +5475,6 @@ export const GetProjectsLinkProjectsDeployHooks$inboundSchema: z.ZodType< ref: z.string(), url: z.string(), }); - /** @internal */ export type GetProjectsLinkProjectsDeployHooks$Outbound = { createdAt?: number | undefined; @@ -6558,20 +5497,6 @@ export const GetProjectsLinkProjectsDeployHooks$outboundSchema: z.ZodType< 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 { @@ -6581,7 +5506,6 @@ export function getProjectsLinkProjectsDeployHooksToJSON( ), ); } - export function getProjectsLinkProjectsDeployHooksFromJSON( jsonString: string, ): SafeParseResult { @@ -6613,7 +5537,6 @@ export const GetProjectsLink2$inboundSchema: z.ZodType< sourceless: z.boolean().optional(), productionBranch: z.string(), }); - /** @internal */ export type GetProjectsLink2$Outbound = { type: string; @@ -6650,19 +5573,6 @@ export const GetProjectsLink2$outboundSchema: z.ZodType< productionBranch: z.string(), }); -/** - * @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 { @@ -6670,7 +5580,6 @@ export function getProjectsLink2ToJSON( GetProjectsLink2$outboundSchema.parse(getProjectsLink2), ); } - export function getProjectsLink2FromJSON( jsonString: string, ): SafeParseResult { @@ -6685,23 +5594,11 @@ export function getProjectsLink2FromJSON( 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, @@ -6714,7 +5611,6 @@ export const GetProjectsLinkDeployHooks$inboundSchema: z.ZodType< ref: z.string(), url: z.string(), }); - /** @internal */ export type GetProjectsLinkDeployHooks$Outbound = { createdAt?: number | undefined; @@ -6737,19 +5633,6 @@ export const GetProjectsLinkDeployHooks$outboundSchema: z.ZodType< 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 { @@ -6757,7 +5640,6 @@ export function getProjectsLinkDeployHooksToJSON( GetProjectsLinkDeployHooks$outboundSchema.parse(getProjectsLinkDeployHooks), ); } - export function getProjectsLinkDeployHooksFromJSON( jsonString: string, ): SafeParseResult { @@ -6786,7 +5668,6 @@ export const GetProjectsLink1$inboundSchema: z.ZodType< sourceless: z.boolean().optional(), productionBranch: z.string(), }); - /** @internal */ export type GetProjectsLink1$Outbound = { org: string; @@ -6821,19 +5702,6 @@ export const GetProjectsLink1$outboundSchema: z.ZodType< productionBranch: z.string(), }); -/** - * @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 { @@ -6841,7 +5709,6 @@ export function getProjectsLink1ToJSON( GetProjectsLink1$outboundSchema.parse(getProjectsLink1), ); } - export function getProjectsLink1FromJSON( jsonString: string, ): SafeParseResult { @@ -6864,7 +5731,6 @@ export const GetProjectsLink$inboundSchema: z.ZodType< z.lazy(() => GetProjectsLink1$inboundSchema), z.lazy(() => GetProjectsLink2$inboundSchema), ]); - /** @internal */ export type GetProjectsLink$Outbound = | GetProjectsLink4$Outbound @@ -6886,25 +5752,11 @@ export const GetProjectsLink$outboundSchema: z.ZodType< 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 { @@ -6916,124 +5768,157 @@ export function getProjectsLinkFromJSON( } /** @internal */ -export const GetProjectsMicrofrontends2$inboundSchema: z.ZodType< - GetProjectsMicrofrontends2, +export const GetProjectsMicrofrontends3$inboundSchema: z.ZodType< + GetProjectsMicrofrontends3, z.ZodTypeDef, unknown > = z.object({ updatedAt: z.number(), groupIds: z.array(z.any()), enabled: z.boolean(), + freeProjectForLegacyLimits: z.boolean().optional(), }); - /** @internal */ -export type GetProjectsMicrofrontends2$Outbound = { +export type GetProjectsMicrofrontends3$Outbound = { updatedAt: number; groupIds: Array; enabled: boolean; + freeProjectForLegacyLimits?: boolean | undefined; }; /** @internal */ -export const GetProjectsMicrofrontends2$outboundSchema: z.ZodType< - GetProjectsMicrofrontends2$Outbound, +export const GetProjectsMicrofrontends3$outboundSchema: z.ZodType< + GetProjectsMicrofrontends3$Outbound, z.ZodTypeDef, - GetProjectsMicrofrontends2 + GetProjectsMicrofrontends3 > = z.object({ updatedAt: z.number(), groupIds: z.array(z.any()), enabled: z.boolean(), + freeProjectForLegacyLimits: 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 GetProjectsMicrofrontends2$ { - /** @deprecated use `GetProjectsMicrofrontends2$inboundSchema` instead. */ - export const inboundSchema = GetProjectsMicrofrontends2$inboundSchema; - /** @deprecated use `GetProjectsMicrofrontends2$outboundSchema` instead. */ - export const outboundSchema = GetProjectsMicrofrontends2$outboundSchema; - /** @deprecated use `GetProjectsMicrofrontends2$Outbound` instead. */ - export type Outbound = GetProjectsMicrofrontends2$Outbound; -} - -export function getProjectsMicrofrontends2ToJSON( - getProjectsMicrofrontends2: GetProjectsMicrofrontends2, +export function getProjectsMicrofrontends3ToJSON( + getProjectsMicrofrontends3: GetProjectsMicrofrontends3, ): string { return JSON.stringify( - GetProjectsMicrofrontends2$outboundSchema.parse(getProjectsMicrofrontends2), + GetProjectsMicrofrontends3$outboundSchema.parse(getProjectsMicrofrontends3), ); } - -export function getProjectsMicrofrontends2FromJSON( +export function getProjectsMicrofrontends3FromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => GetProjectsMicrofrontends2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'GetProjectsMicrofrontends2' from JSON`, + (x) => GetProjectsMicrofrontends3$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectsMicrofrontends3' from JSON`, ); } /** @internal */ -export const GetProjectsMicrofrontends1$inboundSchema: z.ZodType< - GetProjectsMicrofrontends1, +export const GetProjectsMicrofrontends2$inboundSchema: z.ZodType< + GetProjectsMicrofrontends2, z.ZodTypeDef, unknown > = z.object({ + isDefaultApp: z.boolean().optional(), + routeObservabilityToThisProject: z.boolean().optional(), + doNotRouteWithMicrofrontendsRouting: z.boolean().optional(), updatedAt: z.number(), groupIds: z.array(z.string()), enabled: z.boolean(), - isDefaultApp: z.boolean().optional(), defaultRoute: z.string().optional(), - routeObservabilityToThisProject: z.boolean().optional(), + freeProjectForLegacyLimits: z.boolean().optional(), }); - /** @internal */ -export type GetProjectsMicrofrontends1$Outbound = { +export type GetProjectsMicrofrontends2$Outbound = { + isDefaultApp?: boolean | undefined; + routeObservabilityToThisProject?: boolean | undefined; + doNotRouteWithMicrofrontendsRouting?: boolean | undefined; updatedAt: number; groupIds: Array; enabled: boolean; - isDefaultApp?: boolean | undefined; defaultRoute?: string | undefined; - routeObservabilityToThisProject?: boolean | undefined; + freeProjectForLegacyLimits?: boolean | undefined; }; /** @internal */ -export const GetProjectsMicrofrontends1$outboundSchema: z.ZodType< - GetProjectsMicrofrontends1$Outbound, +export const GetProjectsMicrofrontends2$outboundSchema: z.ZodType< + GetProjectsMicrofrontends2$Outbound, z.ZodTypeDef, - GetProjectsMicrofrontends1 + GetProjectsMicrofrontends2 > = z.object({ + isDefaultApp: z.boolean().optional(), + routeObservabilityToThisProject: z.boolean().optional(), + doNotRouteWithMicrofrontendsRouting: z.boolean().optional(), updatedAt: z.number(), groupIds: z.array(z.string()), enabled: z.boolean(), - isDefaultApp: z.boolean().optional(), defaultRoute: z.string().optional(), - routeObservabilityToThisProject: z.boolean().optional(), + freeProjectForLegacyLimits: 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 GetProjectsMicrofrontends1$ { - /** @deprecated use `GetProjectsMicrofrontends1$inboundSchema` instead. */ - export const inboundSchema = GetProjectsMicrofrontends1$inboundSchema; - /** @deprecated use `GetProjectsMicrofrontends1$outboundSchema` instead. */ - export const outboundSchema = GetProjectsMicrofrontends1$outboundSchema; - /** @deprecated use `GetProjectsMicrofrontends1$Outbound` instead. */ - export type Outbound = GetProjectsMicrofrontends1$Outbound; -} - -export function getProjectsMicrofrontends1ToJSON( - getProjectsMicrofrontends1: GetProjectsMicrofrontends1, +export function getProjectsMicrofrontends2ToJSON( + getProjectsMicrofrontends2: GetProjectsMicrofrontends2, ): string { return JSON.stringify( - GetProjectsMicrofrontends1$outboundSchema.parse(getProjectsMicrofrontends1), + GetProjectsMicrofrontends2$outboundSchema.parse(getProjectsMicrofrontends2), + ); +} +export function getProjectsMicrofrontends2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectsMicrofrontends2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectsMicrofrontends2' from JSON`, + ); +} + +/** @internal */ +export const GetProjectsMicrofrontends1$inboundSchema: z.ZodType< + GetProjectsMicrofrontends1, + z.ZodTypeDef, + unknown +> = z.object({ + isDefaultApp: z.boolean(), + updatedAt: z.number(), + groupIds: z.array(z.string()), + enabled: z.boolean(), + defaultRoute: z.string().optional(), + freeProjectForLegacyLimits: z.boolean().optional(), +}); +/** @internal */ +export type GetProjectsMicrofrontends1$Outbound = { + isDefaultApp: boolean; + updatedAt: number; + groupIds: Array; + enabled: boolean; + defaultRoute?: string | undefined; + freeProjectForLegacyLimits?: boolean | undefined; +}; + +/** @internal */ +export const GetProjectsMicrofrontends1$outboundSchema: z.ZodType< + GetProjectsMicrofrontends1$Outbound, + z.ZodTypeDef, + GetProjectsMicrofrontends1 +> = z.object({ + isDefaultApp: z.boolean(), + updatedAt: z.number(), + groupIds: z.array(z.string()), + enabled: z.boolean(), + defaultRoute: z.string().optional(), + freeProjectForLegacyLimits: z.boolean().optional(), +}); + +export function getProjectsMicrofrontends1ToJSON( + getProjectsMicrofrontends1: GetProjectsMicrofrontends1, +): string { + return JSON.stringify( + GetProjectsMicrofrontends1$outboundSchema.parse(getProjectsMicrofrontends1), ); } - export function getProjectsMicrofrontends1FromJSON( jsonString: string, ): SafeParseResult { @@ -7052,12 +5937,13 @@ export const GetProjectsMicrofrontends$inboundSchema: z.ZodType< > = z.union([ z.lazy(() => GetProjectsMicrofrontends1$inboundSchema), z.lazy(() => GetProjectsMicrofrontends2$inboundSchema), + z.lazy(() => GetProjectsMicrofrontends3$inboundSchema), ]); - /** @internal */ export type GetProjectsMicrofrontends$Outbound = | GetProjectsMicrofrontends1$Outbound - | GetProjectsMicrofrontends2$Outbound; + | GetProjectsMicrofrontends2$Outbound + | GetProjectsMicrofrontends3$Outbound; /** @internal */ export const GetProjectsMicrofrontends$outboundSchema: z.ZodType< @@ -7067,21 +5953,9 @@ export const GetProjectsMicrofrontends$outboundSchema: z.ZodType< > = z.union([ z.lazy(() => GetProjectsMicrofrontends1$outboundSchema), z.lazy(() => GetProjectsMicrofrontends2$outboundSchema), + z.lazy(() => GetProjectsMicrofrontends3$outboundSchema), ]); -/** - * @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 { @@ -7089,7 +5963,6 @@ export function getProjectsMicrofrontendsToJSON( GetProjectsMicrofrontends$outboundSchema.parse(getProjectsMicrofrontends), ); } - export function getProjectsMicrofrontendsFromJSON( jsonString: string, ): SafeParseResult { @@ -7104,23 +5977,11 @@ export function getProjectsMicrofrontendsFromJSON( 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, @@ -7129,7 +5990,6 @@ export const GetProjectsPaths$inboundSchema: z.ZodType< > = z.object({ value: z.string(), }); - /** @internal */ export type GetProjectsPaths$Outbound = { value: string; @@ -7144,19 +6004,6 @@ export const GetProjectsPaths$outboundSchema: z.ZodType< 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 { @@ -7164,7 +6011,6 @@ export function getProjectsPathsToJSON( GetProjectsPaths$outboundSchema.parse(getProjectsPaths), ); } - export function getProjectsPathsFromJSON( jsonString: string, ): SafeParseResult { @@ -7183,7 +6029,6 @@ export const GetProjectsOptionsAllowlist$inboundSchema: z.ZodType< > = z.object({ paths: z.array(z.lazy(() => GetProjectsPaths$inboundSchema)), }); - /** @internal */ export type GetProjectsOptionsAllowlist$Outbound = { paths: Array; @@ -7198,19 +6043,6 @@ export const GetProjectsOptionsAllowlist$outboundSchema: z.ZodType< 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 { @@ -7220,7 +6052,6 @@ export function getProjectsOptionsAllowlistToJSON( ), ); } - export function getProjectsOptionsAllowlistFromJSON( jsonString: string, ): SafeParseResult { @@ -7237,7 +6068,6 @@ export const GetProjectsPasswordProtection$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({}); - /** @internal */ export type GetProjectsPasswordProtection$Outbound = {}; @@ -7248,19 +6078,6 @@ export const GetProjectsPasswordProtection$outboundSchema: z.ZodType< 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 { @@ -7270,7 +6087,6 @@ export function getProjectsPasswordProtectionToJSON( ), ); } - export function getProjectsPasswordProtectionFromJSON( jsonString: string, ): SafeParseResult { @@ -7286,46 +6102,20 @@ 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 GetProjectsBuildMachineType$inboundSchema: z.ZodNativeEnum< typeof GetProjectsBuildMachineType > = z.nativeEnum(GetProjectsBuildMachineType); - /** @internal */ export const GetProjectsBuildMachineType$outboundSchema: z.ZodNativeEnum< typeof GetProjectsBuildMachineType > = GetProjectsBuildMachineType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsBuildMachineType$ { - /** @deprecated use `GetProjectsBuildMachineType$inboundSchema` instead. */ - export const inboundSchema = GetProjectsBuildMachineType$inboundSchema; - /** @deprecated use `GetProjectsBuildMachineType$outboundSchema` instead. */ - export const outboundSchema = GetProjectsBuildMachineType$outboundSchema; -} - /** @internal */ export const GetProjectsResourceConfig$inboundSchema: z.ZodType< GetProjectsResourceConfig, @@ -7342,7 +6132,6 @@ export const GetProjectsResourceConfig$inboundSchema: z.ZodType< buildMachineType: GetProjectsBuildMachineType$inboundSchema.optional(), isNSNBDisabled: z.boolean().optional(), }); - /** @internal */ export type GetProjectsResourceConfig$Outbound = { elasticConcurrencyEnabled?: boolean | undefined; @@ -7372,19 +6161,6 @@ export const GetProjectsResourceConfig$outboundSchema: z.ZodType< isNSNBDisabled: 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 { @@ -7392,7 +6168,6 @@ export function getProjectsResourceConfigToJSON( GetProjectsResourceConfig$outboundSchema.parse(getProjectsResourceConfig), ); } - export function getProjectsResourceConfigFromJSON( jsonString: string, ): SafeParseResult { @@ -7414,7 +6189,6 @@ export const GetProjectsRollbackDescription$inboundSchema: z.ZodType< description: z.string(), createdAt: z.number(), }); - /** @internal */ export type GetProjectsRollbackDescription$Outbound = { userId: string; @@ -7435,19 +6209,6 @@ export const GetProjectsRollbackDescription$outboundSchema: z.ZodType< 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 GetProjectsRollbackDescription$ { - /** @deprecated use `GetProjectsRollbackDescription$inboundSchema` instead. */ - export const inboundSchema = GetProjectsRollbackDescription$inboundSchema; - /** @deprecated use `GetProjectsRollbackDescription$outboundSchema` instead. */ - export const outboundSchema = GetProjectsRollbackDescription$outboundSchema; - /** @deprecated use `GetProjectsRollbackDescription$Outbound` instead. */ - export type Outbound = GetProjectsRollbackDescription$Outbound; -} - export function getProjectsRollbackDescriptionToJSON( getProjectsRollbackDescription: GetProjectsRollbackDescription, ): string { @@ -7457,7 +6218,6 @@ export function getProjectsRollbackDescriptionToJSON( ), ); } - export function getProjectsRollbackDescriptionFromJSON( jsonString: string, ): SafeParseResult { @@ -7479,7 +6239,6 @@ export const GetProjectsStages$inboundSchema: z.ZodType< duration: z.number().optional(), linearShift: z.boolean().optional(), }); - /** @internal */ export type GetProjectsStages$Outbound = { targetPercentage: number; @@ -7500,19 +6259,6 @@ export const GetProjectsStages$outboundSchema: z.ZodType< linearShift: 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 GetProjectsStages$ { - /** @deprecated use `GetProjectsStages$inboundSchema` instead. */ - export const inboundSchema = GetProjectsStages$inboundSchema; - /** @deprecated use `GetProjectsStages$outboundSchema` instead. */ - export const outboundSchema = GetProjectsStages$outboundSchema; - /** @deprecated use `GetProjectsStages$Outbound` instead. */ - export type Outbound = GetProjectsStages$Outbound; -} - export function getProjectsStagesToJSON( getProjectsStages: GetProjectsStages, ): string { @@ -7520,7 +6266,6 @@ export function getProjectsStagesToJSON( GetProjectsStages$outboundSchema.parse(getProjectsStages), ); } - export function getProjectsStagesFromJSON( jsonString: string, ): SafeParseResult { @@ -7542,7 +6287,6 @@ export const GetProjectsRollingRelease$inboundSchema: z.ZodType< .optional(), canaryResponseHeader: z.boolean().optional(), }); - /** @internal */ export type GetProjectsRollingRelease$Outbound = { target: string; @@ -7562,19 +6306,6 @@ export const GetProjectsRollingRelease$outboundSchema: z.ZodType< canaryResponseHeader: 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 GetProjectsRollingRelease$ { - /** @deprecated use `GetProjectsRollingRelease$inboundSchema` instead. */ - export const inboundSchema = GetProjectsRollingRelease$inboundSchema; - /** @deprecated use `GetProjectsRollingRelease$outboundSchema` instead. */ - export const outboundSchema = GetProjectsRollingRelease$outboundSchema; - /** @deprecated use `GetProjectsRollingRelease$Outbound` instead. */ - export type Outbound = GetProjectsRollingRelease$Outbound; -} - export function getProjectsRollingReleaseToJSON( getProjectsRollingRelease: GetProjectsRollingRelease, ): string { @@ -7582,7 +6313,6 @@ export function getProjectsRollingReleaseToJSON( GetProjectsRollingRelease$outboundSchema.parse(getProjectsRollingRelease), ); } - export function getProjectsRollingReleaseFromJSON( jsonString: string, ): SafeParseResult { @@ -7597,48 +6327,20 @@ export function getProjectsRollingReleaseFromJSON( export const GetProjectsProjectsFunctionDefaultMemoryType$inboundSchema: z.ZodNativeEnum = z .nativeEnum(GetProjectsProjectsFunctionDefaultMemoryType); - /** @internal */ export const GetProjectsProjectsFunctionDefaultMemoryType$outboundSchema: z.ZodNativeEnum = GetProjectsProjectsFunctionDefaultMemoryType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsProjectsFunctionDefaultMemoryType$ { - /** @deprecated use `GetProjectsProjectsFunctionDefaultMemoryType$inboundSchema` instead. */ - export const inboundSchema = - GetProjectsProjectsFunctionDefaultMemoryType$inboundSchema; - /** @deprecated use `GetProjectsProjectsFunctionDefaultMemoryType$outboundSchema` instead. */ - export const outboundSchema = - GetProjectsProjectsFunctionDefaultMemoryType$outboundSchema; -} - /** @internal */ export const GetProjectsProjectsBuildMachineType$inboundSchema: z.ZodNativeEnum< typeof GetProjectsProjectsBuildMachineType > = z.nativeEnum(GetProjectsProjectsBuildMachineType); - /** @internal */ export const GetProjectsProjectsBuildMachineType$outboundSchema: z.ZodNativeEnum = GetProjectsProjectsBuildMachineType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsProjectsBuildMachineType$ { - /** @deprecated use `GetProjectsProjectsBuildMachineType$inboundSchema` instead. */ - export const inboundSchema = - GetProjectsProjectsBuildMachineType$inboundSchema; - /** @deprecated use `GetProjectsProjectsBuildMachineType$outboundSchema` instead. */ - export const outboundSchema = - GetProjectsProjectsBuildMachineType$outboundSchema; -} - /** @internal */ export const GetProjectsDefaultResourceConfig$inboundSchema: z.ZodType< GetProjectsDefaultResourceConfig, @@ -7656,7 +6358,6 @@ export const GetProjectsDefaultResourceConfig$inboundSchema: z.ZodType< .optional(), isNSNBDisabled: z.boolean().optional(), }); - /** @internal */ export type GetProjectsDefaultResourceConfig$Outbound = { elasticConcurrencyEnabled?: boolean | undefined; @@ -7687,19 +6388,6 @@ export const GetProjectsDefaultResourceConfig$outboundSchema: z.ZodType< isNSNBDisabled: 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 GetProjectsDefaultResourceConfig$ { - /** @deprecated use `GetProjectsDefaultResourceConfig$inboundSchema` instead. */ - export const inboundSchema = GetProjectsDefaultResourceConfig$inboundSchema; - /** @deprecated use `GetProjectsDefaultResourceConfig$outboundSchema` instead. */ - export const outboundSchema = GetProjectsDefaultResourceConfig$outboundSchema; - /** @deprecated use `GetProjectsDefaultResourceConfig$Outbound` instead. */ - export type Outbound = GetProjectsDefaultResourceConfig$Outbound; -} - export function getProjectsDefaultResourceConfigToJSON( getProjectsDefaultResourceConfig: GetProjectsDefaultResourceConfig, ): string { @@ -7709,7 +6397,6 @@ export function getProjectsDefaultResourceConfigToJSON( ), ); } - export function getProjectsDefaultResourceConfigFromJSON( jsonString: string, ): SafeParseResult { @@ -7720,27 +6407,60 @@ export function getProjectsDefaultResourceConfigFromJSON( ); } +/** @internal */ +export const GetProjectsStaticIps$inboundSchema: z.ZodType< + GetProjectsStaticIps, + z.ZodTypeDef, + unknown +> = z.object({ + builds: z.boolean(), + enabled: z.boolean(), + regions: z.array(z.string()), +}); +/** @internal */ +export type GetProjectsStaticIps$Outbound = { + builds: boolean; + enabled: boolean; + regions: Array; +}; + +/** @internal */ +export const GetProjectsStaticIps$outboundSchema: z.ZodType< + GetProjectsStaticIps$Outbound, + z.ZodTypeDef, + GetProjectsStaticIps +> = z.object({ + builds: z.boolean(), + enabled: z.boolean(), + regions: z.array(z.string()), +}); + +export function getProjectsStaticIpsToJSON( + getProjectsStaticIps: GetProjectsStaticIps, +): string { + return JSON.stringify( + GetProjectsStaticIps$outboundSchema.parse(getProjectsStaticIps), + ); +} +export function getProjectsStaticIpsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectsStaticIps$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectsStaticIps' 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, @@ -7749,7 +6469,6 @@ export const GetProjectsSsoProtection$inboundSchema: z.ZodType< > = z.object({ deploymentType: GetProjectsDeploymentType$inboundSchema, }); - /** @internal */ export type GetProjectsSsoProtection$Outbound = { deploymentType: string; @@ -7764,19 +6483,6 @@ export const GetProjectsSsoProtection$outboundSchema: z.ZodType< 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 { @@ -7784,7 +6490,6 @@ export function getProjectsSsoProtectionToJSON( GetProjectsSsoProtection$outboundSchema.parse(getProjectsSsoProtection), ); } - export function getProjectsSsoProtectionFromJSON( jsonString: string, ): SafeParseResult { @@ -7801,7 +6506,6 @@ export const GetProjectsProjectsAliasAssigned$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.union([z.number(), z.boolean()]); - /** @internal */ export type GetProjectsProjectsAliasAssigned$Outbound = number | boolean; @@ -7812,19 +6516,6 @@ export const GetProjectsProjectsAliasAssigned$outboundSchema: z.ZodType< 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 { @@ -7834,7 +6525,6 @@ export function getProjectsProjectsAliasAssignedToJSON( ), ); } - export function getProjectsProjectsAliasAssignedFromJSON( jsonString: string, ): SafeParseResult { @@ -7854,7 +6544,6 @@ export const GetProjectsProjectsAliasError$inboundSchema: z.ZodType< code: z.string(), message: z.string(), }); - /** @internal */ export type GetProjectsProjectsAliasError$Outbound = { code: string; @@ -7871,19 +6560,6 @@ export const GetProjectsProjectsAliasError$outboundSchema: z.ZodType< 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 { @@ -7893,7 +6569,6 @@ export function getProjectsProjectsAliasErrorToJSON( ), ); } - export function getProjectsProjectsAliasErrorFromJSON( jsonString: string, ): SafeParseResult { @@ -7911,7 +6586,6 @@ export const GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsTy > = z.nativeEnum( GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType, ); - /** @internal */ export const GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType$outboundSchema: z.ZodNativeEnum< @@ -7919,19 +6593,6 @@ export const GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsTy > = 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 GetProjectsProjectsResponseBranchMatcher$inboundSchema: z.ZodType< GetProjectsProjectsResponseBranchMatcher, @@ -7942,7 +6603,6 @@ export const GetProjectsProjectsResponseBranchMatcher$inboundSchema: z.ZodType< GetProjectsProjectsResponse200ApplicationJSONResponseBodyProjectsType$inboundSchema, pattern: z.string(), }); - /** @internal */ export type GetProjectsProjectsResponseBranchMatcher$Outbound = { type: string; @@ -7960,21 +6620,6 @@ export const GetProjectsProjectsResponseBranchMatcher$outboundSchema: z.ZodType< 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 GetProjectsProjectsResponseBranchMatcher$ { - /** @deprecated use `GetProjectsProjectsResponseBranchMatcher$inboundSchema` instead. */ - export const inboundSchema = - GetProjectsProjectsResponseBranchMatcher$inboundSchema; - /** @deprecated use `GetProjectsProjectsResponseBranchMatcher$outboundSchema` instead. */ - export const outboundSchema = - GetProjectsProjectsResponseBranchMatcher$outboundSchema; - /** @deprecated use `GetProjectsProjectsResponseBranchMatcher$Outbound` instead. */ - export type Outbound = GetProjectsProjectsResponseBranchMatcher$Outbound; -} - export function getProjectsProjectsResponseBranchMatcherToJSON( getProjectsProjectsResponseBranchMatcher: GetProjectsProjectsResponseBranchMatcher, @@ -7985,7 +6630,6 @@ export function getProjectsProjectsResponseBranchMatcherToJSON( ), ); } - export function getProjectsProjectsResponseBranchMatcherFromJSON( jsonString: string, ): SafeParseResult< @@ -8012,7 +6656,6 @@ export const GetProjectsProjectsBuilds$inboundSchema: z.ZodType< src: z.string().optional(), dest: z.string().optional(), }); - /** @internal */ export type GetProjectsProjectsBuilds$Outbound = { use: string; @@ -8031,19 +6674,6 @@ export const GetProjectsProjectsBuilds$outboundSchema: z.ZodType< 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 { @@ -8051,7 +6681,6 @@ export function getProjectsProjectsBuildsToJSON( GetProjectsProjectsBuilds$outboundSchema.parse(getProjectsProjectsBuilds), ); } - export function getProjectsProjectsBuildsFromJSON( jsonString: string, ): SafeParseResult { @@ -8066,46 +6695,20 @@ export function getProjectsProjectsBuildsFromJSON( 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, @@ -8118,7 +6721,6 @@ export const GetProjectsProjectsCreator$inboundSchema: z.ZodType< uid: z.string(), username: z.string(), }); - /** @internal */ export type GetProjectsProjectsCreator$Outbound = { email: string; @@ -8141,19 +6743,6 @@ export const GetProjectsProjectsCreator$outboundSchema: z.ZodType< 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 { @@ -8161,7 +6750,6 @@ export function getProjectsProjectsCreatorToJSON( GetProjectsProjectsCreator$outboundSchema.parse(getProjectsProjectsCreator), ); } - export function getProjectsProjectsCreatorFromJSON( jsonString: string, ): SafeParseResult { @@ -8187,13 +6775,13 @@ export const GetProjectsProjectsOidcTokenClaims$inboundSchema: z.ZodType< project: z.string(), project_id: z.string(), environment: z.string(), + plan: z.string(), }).transform((v) => { return remap$(v, { "owner_id": "ownerId", "project_id": "projectId", }); }); - /** @internal */ export type GetProjectsProjectsOidcTokenClaims$Outbound = { iss: string; @@ -8205,6 +6793,7 @@ export type GetProjectsProjectsOidcTokenClaims$Outbound = { project: string; project_id: string; environment: string; + plan: string; }; /** @internal */ @@ -8222,6 +6811,7 @@ export const GetProjectsProjectsOidcTokenClaims$outboundSchema: z.ZodType< project: z.string(), projectId: z.string(), environment: z.string(), + plan: z.string(), }).transform((v) => { return remap$(v, { ownerId: "owner_id", @@ -8229,20 +6819,6 @@ export const GetProjectsProjectsOidcTokenClaims$outboundSchema: z.ZodType< }); }); -/** - * @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 { @@ -8252,7 +6828,6 @@ export function getProjectsProjectsOidcTokenClaimsToJSON( ), ); } - export function getProjectsProjectsOidcTokenClaimsFromJSON( jsonString: string, ): SafeParseResult { @@ -8268,87 +6843,38 @@ export function getProjectsProjectsOidcTokenClaimsFromJSON( 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 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 GetProjectsTargets$inboundSchema: z.ZodType< GetProjectsTargets, @@ -8400,7 +6926,6 @@ export const GetProjectsTargets$inboundSchema: z.ZodType< userId: z.string(), withCache: z.boolean().optional(), }); - /** @internal */ export type GetProjectsTargets$Outbound = { id: string; @@ -8493,19 +7018,6 @@ export const GetProjectsTargets$outboundSchema: z.ZodType< 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 { @@ -8513,7 +7025,6 @@ export function getProjectsTargetsToJSON( GetProjectsTargets$outboundSchema.parse(getProjectsTargets), ); } - export function getProjectsTargetsFromJSON( jsonString: string, ): SafeParseResult { @@ -8536,9 +7047,17 @@ export const GetProjectsPermissions$inboundSchema: z.ZodType< userSudo: z.array(ACLAction$inboundSchema).optional(), webAuthn: z.array(ACLAction$inboundSchema).optional(), accessGroup: z.array(ACLAction$inboundSchema).optional(), + agent: z.array(ACLAction$inboundSchema).optional(), + alerts: z.array(ACLAction$inboundSchema).optional(), aliasGlobal: z.array(ACLAction$inboundSchema).optional(), analyticsSampling: z.array(ACLAction$inboundSchema).optional(), analyticsUsage: z.array(ACLAction$inboundSchema).optional(), + apiKey: z.array(ACLAction$inboundSchema).optional(), + apiKeyAiGateway: z.array(ACLAction$inboundSchema).optional(), + apiKeyOwnedBySelf: z.array(ACLAction$inboundSchema).optional(), + oauth2Application: z.array(ACLAction$inboundSchema).optional(), + vercelAppInstallation: z.array(ACLAction$inboundSchema).optional(), + vercelAppInstallationRequest: z.array(ACLAction$inboundSchema).optional(), auditLog: z.array(ACLAction$inboundSchema).optional(), billingAddress: z.array(ACLAction$inboundSchema).optional(), billingInformation: z.array(ACLAction$inboundSchema).optional(), @@ -8550,6 +7069,7 @@ export const GetProjectsPermissions$inboundSchema: z.ZodType< billingRefund: z.array(ACLAction$inboundSchema).optional(), billingTaxId: z.array(ACLAction$inboundSchema).optional(), blob: z.array(ACLAction$inboundSchema).optional(), + blobStoreTokenSet: z.array(ACLAction$inboundSchema).optional(), budget: z.array(ACLAction$inboundSchema).optional(), cacheArtifact: z.array(ACLAction$inboundSchema).optional(), cacheArtifactUsageEvent: z.array(ACLAction$inboundSchema).optional(), @@ -8557,6 +7077,7 @@ export const GetProjectsPermissions$inboundSchema: z.ZodType< concurrentBuilds: z.array(ACLAction$inboundSchema).optional(), connect: z.array(ACLAction$inboundSchema).optional(), connectConfiguration: z.array(ACLAction$inboundSchema).optional(), + dataCacheBillingSettings: z.array(ACLAction$inboundSchema).optional(), defaultDeploymentProtection: z.array(ACLAction$inboundSchema).optional(), domain: z.array(ACLAction$inboundSchema).optional(), domainAcceptDelegation: z.array(ACLAction$inboundSchema).optional(), @@ -8567,43 +7088,50 @@ export const GetProjectsPermissions$inboundSchema: z.ZodType< domainPurchase: z.array(ACLAction$inboundSchema).optional(), domainRecord: z.array(ACLAction$inboundSchema).optional(), domainTransferIn: z.array(ACLAction$inboundSchema).optional(), + drain: 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(), + endpointVerification: 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(), flagsExplorerSubscription: z.array(ACLAction$inboundSchema).optional(), gitRepository: z.array(ACLAction$inboundSchema).optional(), - ipBlocking: z.array(ACLAction$inboundSchema).optional(), imageOptimizationNewPrice: 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(), - integrationSSOSession: z.array(ACLAction$inboundSchema).optional(), - integrationResource: z.array(ACLAction$inboundSchema).optional(), + integrationConfigurationTransfer: z.array(ACLAction$inboundSchema).optional(), + integrationDeploymentAction: z.array(ACLAction$inboundSchema).optional(), integrationEvent: z.array(ACLAction$inboundSchema).optional(), + integrationLog: z.array(ACLAction$inboundSchema).optional(), + integrationResource: z.array(ACLAction$inboundSchema).optional(), + integrationResourceReplCommand: 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(), - marketplaceSettings: z.array(ACLAction$inboundSchema).optional(), - marketplaceExperimentationItem: z.array(ACLAction$inboundSchema).optional(), - marketplaceExperimentationEdgeConfigData: z.array(ACLAction$inboundSchema) + integrationSSOSession: z.array(ACLAction$inboundSchema).optional(), + integrationStoreTokenSet: z.array(ACLAction$inboundSchema).optional(), + integrationVercelConfigurationOverride: z.array(ACLAction$inboundSchema) .optional(), + integrationPullRequest: z.array(ACLAction$inboundSchema).optional(), + ipBlocking: z.array(ACLAction$inboundSchema).optional(), jobGlobal: z.array(ACLAction$inboundSchema).optional(), - drain: z.array(ACLAction$inboundSchema).optional(), logDrain: z.array(ACLAction$inboundSchema).optional(), + marketplaceBillingData: z.array(ACLAction$inboundSchema).optional(), + marketplaceExperimentationEdgeConfigData: z.array(ACLAction$inboundSchema) + .optional(), + marketplaceExperimentationItem: z.array(ACLAction$inboundSchema).optional(), + marketplaceInstallationMember: z.array(ACLAction$inboundSchema).optional(), + marketplaceInvoice: z.array(ACLAction$inboundSchema).optional(), + marketplaceSettings: 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(), + monitoringChart: z.array(ACLAction$inboundSchema).optional(), + monitoringQuery: z.array(ACLAction$inboundSchema).optional(), + monitoringSettings: z.array(ACLAction$inboundSchema).optional(), + notificationCustomerBudget: z.array(ACLAction$inboundSchema).optional(), notificationDeploymentFailed: z.array(ACLAction$inboundSchema).optional(), notificationDomainConfiguration: z.array(ACLAction$inboundSchema).optional(), notificationDomainExpire: z.array(ACLAction$inboundSchema).optional(), @@ -8614,42 +7142,39 @@ export const GetProjectsPermissions$inboundSchema: z.ZodType< notificationDomainUnverified: z.array(ACLAction$inboundSchema).optional(), NotificationMonitoringAlert: z.array(ACLAction$inboundSchema).optional(), notificationPaymentFailed: z.array(ACLAction$inboundSchema).optional(), - notificationUsageAlert: z.array(ACLAction$inboundSchema).optional(), notificationPreferences: z.array(ACLAction$inboundSchema).optional(), - notificationCustomerBudget: z.array(ACLAction$inboundSchema).optional(), notificationStatementOfReasons: z.array(ACLAction$inboundSchema).optional(), + notificationUsageAlert: z.array(ACLAction$inboundSchema).optional(), observabilityConfiguration: z.array(ACLAction$inboundSchema).optional(), - alerts: z.array(ACLAction$inboundSchema).optional(), - observabilityNotebook: z.array(ACLAction$inboundSchema).optional(), observabilityFunnel: z.array(ACLAction$inboundSchema).optional(), + observabilityNotebook: z.array(ACLAction$inboundSchema).optional(), openTelemetryEndpoint: z.array(ACLAction$inboundSchema).optional(), - vercelAppInstallation: z.array(ACLAction$inboundSchema).optional(), - vercelAppInstallationRequest: z.array(ACLAction$inboundSchema).optional(), + ownEvent: z.array(ACLAction$inboundSchema).optional(), + organizationDomain: z.array(ACLAction$inboundSchema).optional(), + passwordProtectionInvoiceItem: z.array(ACLAction$inboundSchema).optional(), paymentMethod: z.array(ACLAction$inboundSchema).optional(), permissions: z.array(ACLAction$inboundSchema).optional(), postgres: z.array(ACLAction$inboundSchema).optional(), + postgresStoreTokenSet: z.array(ACLAction$inboundSchema).optional(), previewDeploymentSuffix: z.array(ACLAction$inboundSchema).optional(), + projectTransferIn: 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(), + redisStoreTokenSet: z.array(ACLAction$inboundSchema).optional(), remoteCaching: z.array(ACLAction$inboundSchema).optional(), + repository: 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(), + sensitiveEnvironmentVariablePolicy: 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(), 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(), @@ -8664,26 +7189,15 @@ export const GetProjectsPermissions$inboundSchema: z.ZodType< token: z.array(ACLAction$inboundSchema).optional(), usage: z.array(ACLAction$inboundSchema).optional(), usageCycle: z.array(ACLAction$inboundSchema).optional(), + vercelRun: z.array(ACLAction$inboundSchema).optional(), + vercelRunExec: z.array(ACLAction$inboundSchema).optional(), vpcPeeringConnection: z.array(ACLAction$inboundSchema).optional(), webAnalyticsPlan: 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(), - vercelRun: z.array(ACLAction$inboundSchema).optional(), - vercelRunExec: z.array(ACLAction$inboundSchema).optional(), - apiKey: z.array(ACLAction$inboundSchema).optional(), - apiKeyOwnedBySelf: z.array(ACLAction$inboundSchema).optional(), - apiKeyAiGateway: z.array(ACLAction$inboundSchema).optional(), aliasProject: z.array(ACLAction$inboundSchema).optional(), aliasProtectionBypass: z.array(ACLAction$inboundSchema).optional(), buildMachine: 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(), @@ -8700,55 +7214,56 @@ export const GetProjectsPermissions$inboundSchema: z.ZodType< deploymentRollback: z.array(ACLAction$inboundSchema).optional(), edgeCacheNamespace: z.array(ACLAction$inboundSchema).optional(), environments: z.array(ACLAction$inboundSchema).optional(), + job: 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(), onDemandBuild: z.array(ACLAction$inboundSchema).optional(), onDemandConcurrency: z.array(ACLAction$inboundSchema).optional(), + optionsAllowlist: z.array(ACLAction$inboundSchema).optional(), + passwordProtection: z.array(ACLAction$inboundSchema).optional(), + productionAliasProtectionBypass: 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(), + projectAnalyticsUsage: z.array(ACLAction$inboundSchema).optional(), projectCheck: z.array(ACLAction$inboundSchema).optional(), projectCheckRun: z.array(ACLAction$inboundSchema).optional(), + projectDeploymentExpiration: 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(), + projectDomainMove: 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(), + projectFlagsProduction: z.array(ACLAction$inboundSchema).optional(), + projectFromV0: 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(), + projectOIDCToken: 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(), + projectRollingRelease: z.array(ACLAction$inboundSchema).optional(), projectSupportCase: z.array(ACLAction$inboundSchema).optional(), projectSupportCaseComment: z.array(ACLAction$inboundSchema).optional(), - projectDeploymentExpiration: z.array(ACLAction$inboundSchema).optional(), - projectRollingRelease: z.array(ACLAction$inboundSchema).optional(), projectTier: z.array(ACLAction$inboundSchema).optional(), - projectOIDCToken: z.array(ACLAction$inboundSchema).optional(), + projectTransfer: z.array(ACLAction$inboundSchema).optional(), + projectTransferOut: z.array(ACLAction$inboundSchema).optional(), + projectUsage: z.array(ACLAction$inboundSchema).optional(), seawallConfig: z.array(ACLAction$inboundSchema).optional(), + sharedEnvVarConnection: z.array(ACLAction$inboundSchema).optional(), skewProtection: z.array(ACLAction$inboundSchema).optional(), analytics: z.array(ACLAction$inboundSchema).optional(), trustedIps: z.array(ACLAction$inboundSchema).optional(), v0Chat: 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", @@ -8756,7 +7271,6 @@ export const GetProjectsPermissions$inboundSchema: z.ZodType< "webhook-event": "webhookEvent", }); }); - /** @internal */ export type GetProjectsPermissions$Outbound = { oauth2Connection?: Array | undefined; @@ -8765,9 +7279,17 @@ export type GetProjectsPermissions$Outbound = { userSudo?: Array | undefined; webAuthn?: Array | undefined; accessGroup?: Array | undefined; + agent?: Array | undefined; + alerts?: Array | undefined; aliasGlobal?: Array | undefined; analyticsSampling?: Array | undefined; analyticsUsage?: Array | undefined; + apiKey?: Array | undefined; + apiKeyAiGateway?: Array | undefined; + apiKeyOwnedBySelf?: Array | undefined; + oauth2Application?: Array | undefined; + vercelAppInstallation?: Array | undefined; + vercelAppInstallationRequest?: Array | undefined; auditLog?: Array | undefined; billingAddress?: Array | undefined; billingInformation?: Array | undefined; @@ -8779,6 +7301,7 @@ export type GetProjectsPermissions$Outbound = { billingRefund?: Array | undefined; billingTaxId?: Array | undefined; blob?: Array | undefined; + blobStoreTokenSet?: Array | undefined; budget?: Array | undefined; cacheArtifact?: Array | undefined; cacheArtifactUsageEvent?: Array | undefined; @@ -8786,6 +7309,7 @@ export type GetProjectsPermissions$Outbound = { concurrentBuilds?: Array | undefined; connect?: Array | undefined; connectConfiguration?: Array | undefined; + dataCacheBillingSettings?: Array | undefined; defaultDeploymentProtection?: Array | undefined; domain?: Array | undefined; domainAcceptDelegation?: Array | undefined; @@ -8796,40 +7320,48 @@ export type GetProjectsPermissions$Outbound = { domainPurchase?: Array | undefined; domainRecord?: Array | undefined; domainTransferIn?: Array | undefined; + drain?: Array | undefined; + edgeConfig?: Array | undefined; + edgeConfigItem?: Array | undefined; + edgeConfigSchema?: Array | undefined; + edgeConfigToken?: Array | undefined; + endpointVerification?: Array | undefined; event?: Array | undefined; - ownEvent?: Array | undefined; - sensitiveEnvironmentVariablePolicy?: Array | undefined; fileUpload?: Array | undefined; flagsExplorerSubscription?: Array | undefined; gitRepository?: Array | undefined; - ipBlocking?: Array | undefined; imageOptimizationNewPrice?: Array | undefined; integration?: Array | undefined; integrationAccount?: Array | undefined; integrationConfiguration?: Array | undefined; - integrationConfigurationTransfer?: Array | undefined; integrationConfigurationProjects?: Array | undefined; - integrationVercelConfigurationOverride?: Array | undefined; integrationConfigurationRole?: Array | undefined; - integrationSSOSession?: Array | undefined; - integrationResource?: Array | undefined; + integrationConfigurationTransfer?: Array | undefined; + integrationDeploymentAction?: Array | undefined; integrationEvent?: Array | undefined; + integrationLog?: Array | undefined; + integrationResource?: Array | undefined; + integrationResourceReplCommand?: Array | undefined; integrationResourceSecrets?: Array | undefined; - integrationDeploymentAction?: Array | undefined; - marketplaceInstallationMember?: Array | undefined; + integrationSSOSession?: Array | undefined; + integrationStoreTokenSet?: Array | undefined; + integrationVercelConfigurationOverride?: Array | undefined; + integrationPullRequest?: Array | undefined; + ipBlocking?: Array | undefined; + jobGlobal?: Array | undefined; + logDrain?: Array | undefined; marketplaceBillingData?: Array | undefined; + marketplaceExperimentationEdgeConfigData?: Array | undefined; + marketplaceExperimentationItem?: Array | undefined; + marketplaceInstallationMember?: Array | undefined; marketplaceInvoice?: Array | undefined; marketplaceSettings?: Array | undefined; - marketplaceExperimentationItem?: Array | undefined; - marketplaceExperimentationEdgeConfigData?: Array | undefined; - jobGlobal?: Array | undefined; - drain?: Array | undefined; - logDrain?: Array | undefined; Monitoring?: Array | undefined; - monitoringSettings?: Array | undefined; - monitoringQuery?: Array | undefined; - monitoringChart?: Array | undefined; monitoringAlert?: Array | undefined; + monitoringChart?: Array | undefined; + monitoringQuery?: Array | undefined; + monitoringSettings?: Array | undefined; + notificationCustomerBudget?: Array | undefined; notificationDeploymentFailed?: Array | undefined; notificationDomainConfiguration?: Array | undefined; notificationDomainExpire?: Array | undefined; @@ -8840,42 +7372,38 @@ export type GetProjectsPermissions$Outbound = { notificationDomainUnverified?: Array | undefined; NotificationMonitoringAlert?: Array | undefined; notificationPaymentFailed?: Array | undefined; - notificationUsageAlert?: Array | undefined; notificationPreferences?: Array | undefined; - notificationCustomerBudget?: Array | undefined; notificationStatementOfReasons?: Array | undefined; + notificationUsageAlert?: Array | undefined; observabilityConfiguration?: Array | undefined; - alerts?: Array | undefined; - observabilityNotebook?: Array | undefined; observabilityFunnel?: Array | undefined; + observabilityNotebook?: Array | undefined; openTelemetryEndpoint?: Array | undefined; - vercelAppInstallation?: Array | undefined; - vercelAppInstallationRequest?: Array | undefined; + ownEvent?: Array | undefined; + organizationDomain?: Array | undefined; + passwordProtectionInvoiceItem?: Array | undefined; paymentMethod?: Array | undefined; permissions?: Array | undefined; postgres?: Array | undefined; + postgresStoreTokenSet?: Array | undefined; previewDeploymentSuffix?: Array | undefined; + projectTransferIn?: 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; + redisStoreTokenSet?: Array | undefined; remoteCaching?: Array | undefined; + repository?: Array | undefined; samlConfig?: Array | undefined; secret?: Array | undefined; - redisStoreTokenSet?: Array | undefined; - blobStoreTokenSet?: Array | undefined; - postgresStoreTokenSet?: Array | undefined; - integrationStoreTokenSet?: Array | undefined; - integrationResourceReplCommand?: Array | undefined; + sensitiveEnvironmentVariablePolicy?: Array | undefined; + sharedEnvVars?: Array | undefined; + sharedEnvVarsProduction?: Array | undefined; + space?: Array | undefined; + spaceRun?: Array | undefined; storeTransfer?: Array | undefined; supportCase?: Array | undefined; supportCaseComment?: Array | undefined; - dataCacheBillingSettings?: Array | undefined; team?: Array | undefined; teamAccessRequest?: Array | undefined; teamFellowMembership?: Array | undefined; @@ -8890,26 +7418,15 @@ export type GetProjectsPermissions$Outbound = { token?: Array | undefined; usage?: Array | undefined; usageCycle?: Array | undefined; + vercelRun?: Array | undefined; + vercelRunExec?: Array | undefined; vpcPeeringConnection?: Array | undefined; webAnalyticsPlan?: 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; - vercelRun?: Array | undefined; - vercelRunExec?: Array | undefined; - apiKey?: Array | undefined; - apiKeyOwnedBySelf?: Array | undefined; - apiKeyAiGateway?: Array | undefined; aliasProject?: Array | undefined; aliasProtectionBypass?: Array | undefined; buildMachine?: Array | undefined; - productionAliasProtectionBypass?: Array | undefined; connectConfigurationLink?: Array | undefined; dataCacheNamespace?: Array | undefined; deployment?: Array | undefined; @@ -8925,54 +7442,55 @@ export type GetProjectsPermissions$Outbound = { deploymentRollback?: Array | undefined; edgeCacheNamespace?: Array | undefined; environments?: Array | undefined; + job?: Array | undefined; logs?: Array | undefined; logsPreset?: Array | undefined; - passwordProtection?: Array | undefined; - optionsAllowlist?: Array | undefined; - job?: Array | undefined; observabilityData?: Array | undefined; onDemandBuild?: Array | undefined; onDemandConcurrency?: Array | undefined; + optionsAllowlist?: Array | undefined; + passwordProtection?: Array | undefined; + productionAliasProtectionBypass?: Array | undefined; project?: Array | undefined; - projectFromV0?: Array | undefined; projectAccessGroup?: Array | undefined; projectAnalyticsSampling?: Array | undefined; + projectAnalyticsUsage?: Array | undefined; projectCheck?: Array | undefined; projectCheckRun?: Array | undefined; + projectDeploymentExpiration?: Array | undefined; projectDeploymentHook?: Array | undefined; projectDomain?: Array | undefined; - projectDomainMove?: Array | undefined; projectDomainCheckConfig?: Array | undefined; + projectDomainMove?: Array | undefined; projectEnvVars?: Array | undefined; projectEnvVarsProduction?: Array | undefined; projectEnvVarsUnownedByIntegration?: Array | undefined; projectFlags?: Array | undefined; + projectFlagsProduction?: Array | undefined; + projectFromV0?: Array | undefined; projectId?: Array | undefined; projectIntegrationConfiguration?: Array | undefined; projectLink?: Array | undefined; projectMember?: Array | undefined; projectMonitoring?: Array | undefined; + projectOIDCToken?: Array | undefined; projectPermissions?: Array | undefined; projectProductionBranch?: Array | undefined; - projectTransfer?: Array | undefined; - projectTransferOut?: Array | undefined; projectProtectionBypass?: Array | undefined; - projectUsage?: Array | undefined; - projectAnalyticsUsage?: Array | undefined; + projectRollingRelease?: Array | undefined; projectSupportCase?: Array | undefined; projectSupportCaseComment?: Array | undefined; - projectDeploymentExpiration?: Array | undefined; - projectRollingRelease?: Array | undefined; projectTier?: Array | undefined; - projectOIDCToken?: Array | undefined; + projectTransfer?: Array | undefined; + projectTransferOut?: Array | undefined; + projectUsage?: Array | undefined; seawallConfig?: Array | undefined; + sharedEnvVarConnection?: Array | undefined; skewProtection?: Array | undefined; analytics?: Array | undefined; trustedIps?: Array | undefined; v0Chat?: Array | undefined; webAnalytics?: Array | undefined; - sharedEnvVarConnection?: Array | undefined; - sonar?: Array | undefined; }; /** @internal */ @@ -8987,9 +7505,17 @@ export const GetProjectsPermissions$outboundSchema: z.ZodType< userSudo: z.array(ACLAction$outboundSchema).optional(), webAuthn: z.array(ACLAction$outboundSchema).optional(), accessGroup: z.array(ACLAction$outboundSchema).optional(), + agent: z.array(ACLAction$outboundSchema).optional(), + alerts: z.array(ACLAction$outboundSchema).optional(), aliasGlobal: z.array(ACLAction$outboundSchema).optional(), analyticsSampling: z.array(ACLAction$outboundSchema).optional(), analyticsUsage: z.array(ACLAction$outboundSchema).optional(), + apiKey: z.array(ACLAction$outboundSchema).optional(), + apiKeyAiGateway: z.array(ACLAction$outboundSchema).optional(), + apiKeyOwnedBySelf: z.array(ACLAction$outboundSchema).optional(), + oauth2Application: z.array(ACLAction$outboundSchema).optional(), + vercelAppInstallation: z.array(ACLAction$outboundSchema).optional(), + vercelAppInstallationRequest: z.array(ACLAction$outboundSchema).optional(), auditLog: z.array(ACLAction$outboundSchema).optional(), billingAddress: z.array(ACLAction$outboundSchema).optional(), billingInformation: z.array(ACLAction$outboundSchema).optional(), @@ -9001,6 +7527,7 @@ export const GetProjectsPermissions$outboundSchema: z.ZodType< billingRefund: z.array(ACLAction$outboundSchema).optional(), billingTaxId: z.array(ACLAction$outboundSchema).optional(), blob: z.array(ACLAction$outboundSchema).optional(), + blobStoreTokenSet: z.array(ACLAction$outboundSchema).optional(), budget: z.array(ACLAction$outboundSchema).optional(), cacheArtifact: z.array(ACLAction$outboundSchema).optional(), cacheArtifactUsageEvent: z.array(ACLAction$outboundSchema).optional(), @@ -9008,6 +7535,7 @@ export const GetProjectsPermissions$outboundSchema: z.ZodType< concurrentBuilds: z.array(ACLAction$outboundSchema).optional(), connect: z.array(ACLAction$outboundSchema).optional(), connectConfiguration: z.array(ACLAction$outboundSchema).optional(), + dataCacheBillingSettings: z.array(ACLAction$outboundSchema).optional(), defaultDeploymentProtection: z.array(ACLAction$outboundSchema).optional(), domain: z.array(ACLAction$outboundSchema).optional(), domainAcceptDelegation: z.array(ACLAction$outboundSchema).optional(), @@ -9018,45 +7546,52 @@ export const GetProjectsPermissions$outboundSchema: z.ZodType< domainPurchase: z.array(ACLAction$outboundSchema).optional(), domainRecord: z.array(ACLAction$outboundSchema).optional(), domainTransferIn: z.array(ACLAction$outboundSchema).optional(), + drain: 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(), + endpointVerification: 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(), flagsExplorerSubscription: z.array(ACLAction$outboundSchema).optional(), gitRepository: z.array(ACLAction$outboundSchema).optional(), - ipBlocking: z.array(ACLAction$outboundSchema).optional(), imageOptimizationNewPrice: 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(), + integrationConfigurationRole: z.array(ACLAction$outboundSchema).optional(), + integrationConfigurationTransfer: z.array(ACLAction$outboundSchema) + .optional(), + integrationDeploymentAction: z.array(ACLAction$outboundSchema).optional(), + integrationEvent: z.array(ACLAction$outboundSchema).optional(), + integrationLog: z.array(ACLAction$outboundSchema).optional(), + integrationResource: z.array(ACLAction$outboundSchema).optional(), + integrationResourceReplCommand: z.array(ACLAction$outboundSchema).optional(), + integrationResourceSecrets: z.array(ACLAction$outboundSchema).optional(), + integrationSSOSession: z.array(ACLAction$outboundSchema).optional(), + integrationStoreTokenSet: z.array(ACLAction$outboundSchema).optional(), integrationVercelConfigurationOverride: z.array(ACLAction$outboundSchema) .optional(), - integrationConfigurationRole: z.array(ACLAction$outboundSchema).optional(), - integrationSSOSession: 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(), + integrationPullRequest: z.array(ACLAction$outboundSchema).optional(), + ipBlocking: z.array(ACLAction$outboundSchema).optional(), + jobGlobal: z.array(ACLAction$outboundSchema).optional(), + logDrain: z.array(ACLAction$outboundSchema).optional(), + marketplaceBillingData: z.array(ACLAction$outboundSchema).optional(), + marketplaceExperimentationEdgeConfigData: z.array(ACLAction$outboundSchema) + .optional(), + marketplaceExperimentationItem: z.array(ACLAction$outboundSchema).optional(), marketplaceInstallationMember: z.array(ACLAction$outboundSchema).optional(), - marketplaceBillingData: z.array(ACLAction$outboundSchema).optional(), marketplaceInvoice: z.array(ACLAction$outboundSchema).optional(), marketplaceSettings: z.array(ACLAction$outboundSchema).optional(), - marketplaceExperimentationItem: z.array(ACLAction$outboundSchema).optional(), - marketplaceExperimentationEdgeConfigData: z.array(ACLAction$outboundSchema) - .optional(), - jobGlobal: z.array(ACLAction$outboundSchema).optional(), - drain: 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(), + monitoringChart: z.array(ACLAction$outboundSchema).optional(), + monitoringQuery: z.array(ACLAction$outboundSchema).optional(), + monitoringSettings: z.array(ACLAction$outboundSchema).optional(), + notificationCustomerBudget: z.array(ACLAction$outboundSchema).optional(), notificationDeploymentFailed: z.array(ACLAction$outboundSchema).optional(), notificationDomainConfiguration: z.array(ACLAction$outboundSchema).optional(), notificationDomainExpire: z.array(ACLAction$outboundSchema).optional(), @@ -9067,42 +7602,39 @@ export const GetProjectsPermissions$outboundSchema: z.ZodType< notificationDomainUnverified: z.array(ACLAction$outboundSchema).optional(), notificationMonitoringAlert: z.array(ACLAction$outboundSchema).optional(), notificationPaymentFailed: z.array(ACLAction$outboundSchema).optional(), - notificationUsageAlert: z.array(ACLAction$outboundSchema).optional(), notificationPreferences: z.array(ACLAction$outboundSchema).optional(), - notificationCustomerBudget: z.array(ACLAction$outboundSchema).optional(), notificationStatementOfReasons: z.array(ACLAction$outboundSchema).optional(), + notificationUsageAlert: z.array(ACLAction$outboundSchema).optional(), observabilityConfiguration: z.array(ACLAction$outboundSchema).optional(), - alerts: z.array(ACLAction$outboundSchema).optional(), - observabilityNotebook: z.array(ACLAction$outboundSchema).optional(), observabilityFunnel: z.array(ACLAction$outboundSchema).optional(), + observabilityNotebook: z.array(ACLAction$outboundSchema).optional(), openTelemetryEndpoint: z.array(ACLAction$outboundSchema).optional(), - vercelAppInstallation: z.array(ACLAction$outboundSchema).optional(), - vercelAppInstallationRequest: z.array(ACLAction$outboundSchema).optional(), + ownEvent: z.array(ACLAction$outboundSchema).optional(), + organizationDomain: z.array(ACLAction$outboundSchema).optional(), + passwordProtectionInvoiceItem: z.array(ACLAction$outboundSchema).optional(), paymentMethod: z.array(ACLAction$outboundSchema).optional(), permissions: z.array(ACLAction$outboundSchema).optional(), postgres: z.array(ACLAction$outboundSchema).optional(), + postgresStoreTokenSet: z.array(ACLAction$outboundSchema).optional(), previewDeploymentSuffix: z.array(ACLAction$outboundSchema).optional(), + projectTransferIn: 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(), + redisStoreTokenSet: z.array(ACLAction$outboundSchema).optional(), remoteCaching: z.array(ACLAction$outboundSchema).optional(), + repository: 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(), + sensitiveEnvironmentVariablePolicy: 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(), 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(), @@ -9117,26 +7649,15 @@ export const GetProjectsPermissions$outboundSchema: z.ZodType< token: z.array(ACLAction$outboundSchema).optional(), usage: z.array(ACLAction$outboundSchema).optional(), usageCycle: z.array(ACLAction$outboundSchema).optional(), + vercelRun: z.array(ACLAction$outboundSchema).optional(), + vercelRunExec: z.array(ACLAction$outboundSchema).optional(), vpcPeeringConnection: z.array(ACLAction$outboundSchema).optional(), webAnalyticsPlan: 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(), - vercelRun: z.array(ACLAction$outboundSchema).optional(), - vercelRunExec: z.array(ACLAction$outboundSchema).optional(), - apiKey: z.array(ACLAction$outboundSchema).optional(), - apiKeyOwnedBySelf: z.array(ACLAction$outboundSchema).optional(), - apiKeyAiGateway: z.array(ACLAction$outboundSchema).optional(), aliasProject: z.array(ACLAction$outboundSchema).optional(), aliasProtectionBypass: z.array(ACLAction$outboundSchema).optional(), buildMachine: 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(), @@ -9153,55 +7674,56 @@ export const GetProjectsPermissions$outboundSchema: z.ZodType< deploymentRollback: z.array(ACLAction$outboundSchema).optional(), edgeCacheNamespace: z.array(ACLAction$outboundSchema).optional(), environments: z.array(ACLAction$outboundSchema).optional(), + job: 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(), onDemandBuild: z.array(ACLAction$outboundSchema).optional(), onDemandConcurrency: z.array(ACLAction$outboundSchema).optional(), + optionsAllowlist: z.array(ACLAction$outboundSchema).optional(), + passwordProtection: z.array(ACLAction$outboundSchema).optional(), + productionAliasProtectionBypass: 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(), + projectAnalyticsUsage: z.array(ACLAction$outboundSchema).optional(), projectCheck: z.array(ACLAction$outboundSchema).optional(), projectCheckRun: z.array(ACLAction$outboundSchema).optional(), + projectDeploymentExpiration: 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(), + projectDomainMove: 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(), + projectFlagsProduction: z.array(ACLAction$outboundSchema).optional(), + projectFromV0: 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(), + projectOIDCToken: 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(), + projectRollingRelease: z.array(ACLAction$outboundSchema).optional(), projectSupportCase: z.array(ACLAction$outboundSchema).optional(), projectSupportCaseComment: z.array(ACLAction$outboundSchema).optional(), - projectDeploymentExpiration: z.array(ACLAction$outboundSchema).optional(), - projectRollingRelease: z.array(ACLAction$outboundSchema).optional(), projectTier: z.array(ACLAction$outboundSchema).optional(), - projectOIDCToken: z.array(ACLAction$outboundSchema).optional(), + projectTransfer: z.array(ACLAction$outboundSchema).optional(), + projectTransferOut: z.array(ACLAction$outboundSchema).optional(), + projectUsage: z.array(ACLAction$outboundSchema).optional(), seawallConfig: z.array(ACLAction$outboundSchema).optional(), + sharedEnvVarConnection: z.array(ACLAction$outboundSchema).optional(), skewProtection: z.array(ACLAction$outboundSchema).optional(), analytics: z.array(ACLAction$outboundSchema).optional(), trustedIps: z.array(ACLAction$outboundSchema).optional(), v0Chat: 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", @@ -9210,19 +7732,6 @@ export const GetProjectsPermissions$outboundSchema: z.ZodType< }); }); -/** - * @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 { @@ -9230,7 +7739,6 @@ export function getProjectsPermissionsToJSON( GetProjectsPermissions$outboundSchema.parse(getProjectsPermissions), ); } - export function getProjectsPermissionsFromJSON( jsonString: string, ): SafeParseResult { @@ -9247,7 +7755,6 @@ export const GetProjectsLastRollbackTarget$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({}); - /** @internal */ export type GetProjectsLastRollbackTarget$Outbound = {}; @@ -9258,19 +7765,6 @@ export const GetProjectsLastRollbackTarget$outboundSchema: z.ZodType< 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 { @@ -9280,7 +7774,6 @@ export function getProjectsLastRollbackTargetToJSON( ), ); } - export function getProjectsLastRollbackTargetFromJSON( jsonString: string, ): SafeParseResult { @@ -9295,46 +7788,20 @@ export function getProjectsLastRollbackTargetFromJSON( 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 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 GetProjectsLastAliasRequest$inboundSchema: z.ZodType< GetProjectsLastAliasRequest, @@ -9348,7 +7815,6 @@ export const GetProjectsLastAliasRequest$inboundSchema: z.ZodType< requestedAt: z.number(), type: GetProjectsProjectsResponse200ApplicationJSONType$inboundSchema, }); - /** @internal */ export type GetProjectsLastAliasRequest$Outbound = { fromDeploymentId: string; @@ -9373,19 +7839,6 @@ export const GetProjectsLastAliasRequest$outboundSchema: z.ZodType< type: GetProjectsProjectsResponse200ApplicationJSONType$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 { @@ -9395,7 +7848,6 @@ export function getProjectsLastAliasRequestToJSON( ), ); } - export function getProjectsLastAliasRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -9410,25 +7862,11 @@ export function getProjectsLastAliasRequestFromJSON( export const GetProjectsProtectionBypassProjectsScope$inboundSchema: z.ZodNativeEnum = z .nativeEnum(GetProjectsProtectionBypassProjectsScope); - /** @internal */ export const GetProjectsProtectionBypassProjectsScope$outboundSchema: z.ZodNativeEnum = GetProjectsProtectionBypassProjectsScope$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsProtectionBypassProjectsScope$ { - /** @deprecated use `GetProjectsProtectionBypassProjectsScope$inboundSchema` instead. */ - export const inboundSchema = - GetProjectsProtectionBypassProjectsScope$inboundSchema; - /** @deprecated use `GetProjectsProtectionBypassProjectsScope$outboundSchema` instead. */ - export const outboundSchema = - GetProjectsProtectionBypassProjectsScope$outboundSchema; -} - /** @internal */ export const GetProjectsProtectionBypass2$inboundSchema: z.ZodType< GetProjectsProtectionBypass2, @@ -9439,7 +7877,6 @@ export const GetProjectsProtectionBypass2$inboundSchema: z.ZodType< createdBy: z.string(), scope: GetProjectsProtectionBypassProjectsScope$inboundSchema, }); - /** @internal */ export type GetProjectsProtectionBypass2$Outbound = { createdAt: number; @@ -9458,19 +7895,6 @@ export const GetProjectsProtectionBypass2$outboundSchema: z.ZodType< scope: GetProjectsProtectionBypassProjectsScope$outboundSchema, }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsProtectionBypass2$ { - /** @deprecated use `GetProjectsProtectionBypass2$inboundSchema` instead. */ - export const inboundSchema = GetProjectsProtectionBypass2$inboundSchema; - /** @deprecated use `GetProjectsProtectionBypass2$outboundSchema` instead. */ - export const outboundSchema = GetProjectsProtectionBypass2$outboundSchema; - /** @deprecated use `GetProjectsProtectionBypass2$Outbound` instead. */ - export type Outbound = GetProjectsProtectionBypass2$Outbound; -} - export function getProjectsProtectionBypass2ToJSON( getProjectsProtectionBypass2: GetProjectsProtectionBypass2, ): string { @@ -9480,7 +7904,6 @@ export function getProjectsProtectionBypass2ToJSON( ), ); } - export function getProjectsProtectionBypass2FromJSON( jsonString: string, ): SafeParseResult { @@ -9495,23 +7918,11 @@ export function getProjectsProtectionBypass2FromJSON( export const GetProjectsProtectionBypassScope$inboundSchema: z.ZodNativeEnum< typeof GetProjectsProtectionBypassScope > = z.nativeEnum(GetProjectsProtectionBypassScope); - /** @internal */ export const GetProjectsProtectionBypassScope$outboundSchema: z.ZodNativeEnum< typeof GetProjectsProtectionBypassScope > = GetProjectsProtectionBypassScope$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsProtectionBypassScope$ { - /** @deprecated use `GetProjectsProtectionBypassScope$inboundSchema` instead. */ - export const inboundSchema = GetProjectsProtectionBypassScope$inboundSchema; - /** @deprecated use `GetProjectsProtectionBypassScope$outboundSchema` instead. */ - export const outboundSchema = GetProjectsProtectionBypassScope$outboundSchema; -} - /** @internal */ export const GetProjectsProtectionBypass1$inboundSchema: z.ZodType< GetProjectsProtectionBypass1, @@ -9524,7 +7935,6 @@ export const GetProjectsProtectionBypass1$inboundSchema: z.ZodType< integrationId: z.string(), configurationId: z.string(), }); - /** @internal */ export type GetProjectsProtectionBypass1$Outbound = { createdAt: number; @@ -9547,19 +7957,6 @@ export const GetProjectsProtectionBypass1$outboundSchema: z.ZodType< configurationId: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsProtectionBypass1$ { - /** @deprecated use `GetProjectsProtectionBypass1$inboundSchema` instead. */ - export const inboundSchema = GetProjectsProtectionBypass1$inboundSchema; - /** @deprecated use `GetProjectsProtectionBypass1$outboundSchema` instead. */ - export const outboundSchema = GetProjectsProtectionBypass1$outboundSchema; - /** @deprecated use `GetProjectsProtectionBypass1$Outbound` instead. */ - export type Outbound = GetProjectsProtectionBypass1$Outbound; -} - export function getProjectsProtectionBypass1ToJSON( getProjectsProtectionBypass1: GetProjectsProtectionBypass1, ): string { @@ -9569,7 +7966,6 @@ export function getProjectsProtectionBypass1ToJSON( ), ); } - export function getProjectsProtectionBypass1FromJSON( jsonString: string, ): SafeParseResult { @@ -9589,7 +7985,6 @@ export const GetProjectsProtectionBypass$inboundSchema: z.ZodType< z.lazy(() => GetProjectsProtectionBypass1$inboundSchema), z.lazy(() => GetProjectsProtectionBypass2$inboundSchema), ]); - /** @internal */ export type GetProjectsProtectionBypass$Outbound = | GetProjectsProtectionBypass1$Outbound @@ -9605,19 +8000,6 @@ export const GetProjectsProtectionBypass$outboundSchema: z.ZodType< z.lazy(() => GetProjectsProtectionBypass2$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 { @@ -9627,7 +8009,6 @@ export function getProjectsProtectionBypassToJSON( ), ); } - export function getProjectsProtectionBypassFromJSON( jsonString: string, ): SafeParseResult { @@ -9642,25 +8023,11 @@ export function getProjectsProtectionBypassFromJSON( 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, @@ -9669,7 +8036,6 @@ export const GetProjectsTrustedIps2$inboundSchema: z.ZodType< > = z.object({ deploymentType: GetProjectsTrustedIpsProjectsDeploymentType$inboundSchema, }); - /** @internal */ export type GetProjectsTrustedIps2$Outbound = { deploymentType: string; @@ -9684,19 +8050,6 @@ export const GetProjectsTrustedIps2$outboundSchema: z.ZodType< 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 { @@ -9704,7 +8057,6 @@ export function getProjectsTrustedIps2ToJSON( GetProjectsTrustedIps2$outboundSchema.parse(getProjectsTrustedIps2), ); } - export function getProjectsTrustedIps2FromJSON( jsonString: string, ): SafeParseResult { @@ -9719,25 +8071,11 @@ export function getProjectsTrustedIps2FromJSON( 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, @@ -9747,7 +8085,6 @@ export const GetProjectsTrustedIpsAddresses$inboundSchema: z.ZodType< value: z.string(), note: z.string().optional(), }); - /** @internal */ export type GetProjectsTrustedIpsAddresses$Outbound = { value: string; @@ -9764,19 +8101,6 @@ export const GetProjectsTrustedIpsAddresses$outboundSchema: z.ZodType< 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 { @@ -9786,7 +8110,6 @@ export function getProjectsTrustedIpsAddressesToJSON( ), ); } - export function getProjectsTrustedIpsAddressesFromJSON( jsonString: string, ): SafeParseResult { @@ -9801,25 +8124,11 @@ export function getProjectsTrustedIpsAddressesFromJSON( 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, @@ -9832,7 +8141,6 @@ export const GetProjectsTrustedIps1$inboundSchema: z.ZodType< ), protectionMode: GetProjectsTrustedIpsProtectionMode$inboundSchema, }); - /** @internal */ export type GetProjectsTrustedIps1$Outbound = { deploymentType: string; @@ -9853,19 +8161,6 @@ export const GetProjectsTrustedIps1$outboundSchema: z.ZodType< 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 { @@ -9873,7 +8168,6 @@ export function getProjectsTrustedIps1ToJSON( GetProjectsTrustedIps1$outboundSchema.parse(getProjectsTrustedIps1), ); } - export function getProjectsTrustedIps1FromJSON( jsonString: string, ): SafeParseResult { @@ -9893,7 +8187,6 @@ export const GetProjectsTrustedIps$inboundSchema: z.ZodType< z.lazy(() => GetProjectsTrustedIps1$inboundSchema), z.lazy(() => GetProjectsTrustedIps2$inboundSchema), ]); - /** @internal */ export type GetProjectsTrustedIps$Outbound = | GetProjectsTrustedIps1$Outbound @@ -9909,19 +8202,6 @@ export const GetProjectsTrustedIps$outboundSchema: z.ZodType< z.lazy(() => GetProjectsTrustedIps2$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 { @@ -9929,7 +8209,6 @@ export function getProjectsTrustedIpsToJSON( GetProjectsTrustedIps$outboundSchema.parse(getProjectsTrustedIps), ); } - export function getProjectsTrustedIpsFromJSON( jsonString: string, ): SafeParseResult { @@ -9949,7 +8228,6 @@ export const GetProjectsGitComments$inboundSchema: z.ZodType< onPullRequest: z.boolean(), onCommit: z.boolean(), }); - /** @internal */ export type GetProjectsGitComments$Outbound = { onPullRequest: boolean; @@ -9966,19 +8244,6 @@ export const GetProjectsGitComments$outboundSchema: z.ZodType< 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 { @@ -9986,7 +8251,6 @@ export function getProjectsGitCommentsToJSON( GetProjectsGitComments$outboundSchema.parse(getProjectsGitComments), ); } - export function getProjectsGitCommentsFromJSON( jsonString: string, ): SafeParseResult { @@ -10001,23 +8265,11 @@ export function getProjectsGitCommentsFromJSON( export const GetProjectsCreateDeployments$inboundSchema: z.ZodNativeEnum< typeof GetProjectsCreateDeployments > = z.nativeEnum(GetProjectsCreateDeployments); - /** @internal */ export const GetProjectsCreateDeployments$outboundSchema: z.ZodNativeEnum< typeof GetProjectsCreateDeployments > = GetProjectsCreateDeployments$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsCreateDeployments$ { - /** @deprecated use `GetProjectsCreateDeployments$inboundSchema` instead. */ - export const inboundSchema = GetProjectsCreateDeployments$inboundSchema; - /** @deprecated use `GetProjectsCreateDeployments$outboundSchema` instead. */ - export const outboundSchema = GetProjectsCreateDeployments$outboundSchema; -} - /** @internal */ export const GetProjectsGitProviderOptions$inboundSchema: z.ZodType< GetProjectsGitProviderOptions, @@ -10026,12 +8278,13 @@ export const GetProjectsGitProviderOptions$inboundSchema: z.ZodType< > = z.object({ createDeployments: GetProjectsCreateDeployments$inboundSchema, disableRepositoryDispatchEvents: z.boolean().optional(), + requireVerifiedCommits: z.boolean().optional(), }); - /** @internal */ export type GetProjectsGitProviderOptions$Outbound = { createDeployments: string; disableRepositoryDispatchEvents?: boolean | undefined; + requireVerifiedCommits?: boolean | undefined; }; /** @internal */ @@ -10042,21 +8295,9 @@ export const GetProjectsGitProviderOptions$outboundSchema: z.ZodType< > = z.object({ createDeployments: GetProjectsCreateDeployments$outboundSchema, disableRepositoryDispatchEvents: z.boolean().optional(), + requireVerifiedCommits: 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 GetProjectsGitProviderOptions$ { - /** @deprecated use `GetProjectsGitProviderOptions$inboundSchema` instead. */ - export const inboundSchema = GetProjectsGitProviderOptions$inboundSchema; - /** @deprecated use `GetProjectsGitProviderOptions$outboundSchema` instead. */ - export const outboundSchema = GetProjectsGitProviderOptions$outboundSchema; - /** @deprecated use `GetProjectsGitProviderOptions$Outbound` instead. */ - export type Outbound = GetProjectsGitProviderOptions$Outbound; -} - export function getProjectsGitProviderOptionsToJSON( getProjectsGitProviderOptions: GetProjectsGitProviderOptions, ): string { @@ -10066,7 +8307,6 @@ export function getProjectsGitProviderOptionsToJSON( ), ); } - export function getProjectsGitProviderOptionsFromJSON( jsonString: string, ): SafeParseResult { @@ -10089,7 +8329,6 @@ export const GetProjectsWebAnalytics$inboundSchema: z.ZodType< enabledAt: z.number().optional(), hasData: z.boolean().optional(), }); - /** @internal */ export type GetProjectsWebAnalytics$Outbound = { id: string; @@ -10112,19 +8351,6 @@ export const GetProjectsWebAnalytics$outboundSchema: z.ZodType< 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 { @@ -10132,7 +8358,6 @@ export function getProjectsWebAnalyticsToJSON( GetProjectsWebAnalytics$outboundSchema.parse(getProjectsWebAnalytics), ); } - export function getProjectsWebAnalyticsFromJSON( jsonString: string, ): SafeParseResult { @@ -10148,25 +8373,11 @@ export const GetProjectsProjectsResponse200Action$inboundSchema: z.ZodNativeEnum = z.nativeEnum( GetProjectsProjectsResponse200Action, ); - /** @internal */ export const GetProjectsProjectsResponse200Action$outboundSchema: z.ZodNativeEnum = GetProjectsProjectsResponse200Action$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsProjectsResponse200Action$ { - /** @deprecated use `GetProjectsProjectsResponse200Action$inboundSchema` instead. */ - export const inboundSchema = - GetProjectsProjectsResponse200Action$inboundSchema; - /** @deprecated use `GetProjectsProjectsResponse200Action$outboundSchema` instead. */ - export const outboundSchema = - GetProjectsProjectsResponse200Action$outboundSchema; -} - /** @internal */ export const GetProjectsBotFilter$inboundSchema: z.ZodType< GetProjectsBotFilter, @@ -10176,7 +8387,6 @@ export const GetProjectsBotFilter$inboundSchema: z.ZodType< active: z.boolean(), action: GetProjectsProjectsResponse200Action$inboundSchema.optional(), }); - /** @internal */ export type GetProjectsBotFilter$Outbound = { active: boolean; @@ -10193,19 +8403,6 @@ export const GetProjectsBotFilter$outboundSchema: z.ZodType< action: GetProjectsProjectsResponse200Action$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 GetProjectsBotFilter$ { - /** @deprecated use `GetProjectsBotFilter$inboundSchema` instead. */ - export const inboundSchema = GetProjectsBotFilter$inboundSchema; - /** @deprecated use `GetProjectsBotFilter$outboundSchema` instead. */ - export const outboundSchema = GetProjectsBotFilter$outboundSchema; - /** @deprecated use `GetProjectsBotFilter$Outbound` instead. */ - export type Outbound = GetProjectsBotFilter$Outbound; -} - export function getProjectsBotFilterToJSON( getProjectsBotFilter: GetProjectsBotFilter, ): string { @@ -10213,7 +8410,6 @@ export function getProjectsBotFilterToJSON( GetProjectsBotFilter$outboundSchema.parse(getProjectsBotFilter), ); } - export function getProjectsBotFilterFromJSON( jsonString: string, ): SafeParseResult { @@ -10225,25 +8421,13 @@ export function getProjectsBotFilterFromJSON( } /** @internal */ -export const GetProjectsProjectsAction$inboundSchema: z.ZodNativeEnum< - typeof GetProjectsProjectsAction -> = z.nativeEnum(GetProjectsProjectsAction); - +export const GetProjectsProjectsResponse200ApplicationJSONAction$inboundSchema: + z.ZodNativeEnum = + z.nativeEnum(GetProjectsProjectsResponse200ApplicationJSONAction); /** @internal */ -export const GetProjectsProjectsAction$outboundSchema: z.ZodNativeEnum< - typeof GetProjectsProjectsAction -> = GetProjectsProjectsAction$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsProjectsAction$ { - /** @deprecated use `GetProjectsProjectsAction$inboundSchema` instead. */ - export const inboundSchema = GetProjectsProjectsAction$inboundSchema; - /** @deprecated use `GetProjectsProjectsAction$outboundSchema` instead. */ - export const outboundSchema = GetProjectsProjectsAction$outboundSchema; -} +export const GetProjectsProjectsResponse200ApplicationJSONAction$outboundSchema: + z.ZodNativeEnum = + GetProjectsProjectsResponse200ApplicationJSONAction$inboundSchema; /** @internal */ export const GetProjectsAiBots$inboundSchema: z.ZodType< @@ -10252,9 +8436,9 @@ export const GetProjectsAiBots$inboundSchema: z.ZodType< unknown > = z.object({ active: z.boolean(), - action: GetProjectsProjectsAction$inboundSchema.optional(), + action: GetProjectsProjectsResponse200ApplicationJSONAction$inboundSchema + .optional(), }); - /** @internal */ export type GetProjectsAiBots$Outbound = { active: boolean; @@ -10268,22 +8452,10 @@ export const GetProjectsAiBots$outboundSchema: z.ZodType< GetProjectsAiBots > = z.object({ active: z.boolean(), - action: GetProjectsProjectsAction$outboundSchema.optional(), + action: GetProjectsProjectsResponse200ApplicationJSONAction$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 GetProjectsAiBots$ { - /** @deprecated use `GetProjectsAiBots$inboundSchema` instead. */ - export const inboundSchema = GetProjectsAiBots$inboundSchema; - /** @deprecated use `GetProjectsAiBots$outboundSchema` instead. */ - export const outboundSchema = GetProjectsAiBots$outboundSchema; - /** @deprecated use `GetProjectsAiBots$Outbound` instead. */ - export type Outbound = GetProjectsAiBots$Outbound; -} - export function getProjectsAiBotsToJSON( getProjectsAiBots: GetProjectsAiBots, ): string { @@ -10291,7 +8463,6 @@ export function getProjectsAiBotsToJSON( GetProjectsAiBots$outboundSchema.parse(getProjectsAiBots), ); } - export function getProjectsAiBotsFromJSON( jsonString: string, ): SafeParseResult { @@ -10306,23 +8477,10 @@ export function getProjectsAiBotsFromJSON( export const GetProjectsProjectsResponseAction$inboundSchema: z.ZodNativeEnum< typeof GetProjectsProjectsResponseAction > = z.nativeEnum(GetProjectsProjectsResponseAction); - /** @internal */ -export const GetProjectsProjectsResponseAction$outboundSchema: z.ZodNativeEnum< - typeof GetProjectsProjectsResponseAction -> = GetProjectsProjectsResponseAction$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsProjectsResponseAction$ { - /** @deprecated use `GetProjectsProjectsResponseAction$inboundSchema` instead. */ - export const inboundSchema = GetProjectsProjectsResponseAction$inboundSchema; - /** @deprecated use `GetProjectsProjectsResponseAction$outboundSchema` instead. */ - export const outboundSchema = - GetProjectsProjectsResponseAction$outboundSchema; -} +export const GetProjectsProjectsResponseAction$outboundSchema: z.ZodNativeEnum< + typeof GetProjectsProjectsResponseAction +> = GetProjectsProjectsResponseAction$inboundSchema; /** @internal */ export const GetProjectsOwasp$inboundSchema: z.ZodType< @@ -10333,7 +8491,6 @@ export const GetProjectsOwasp$inboundSchema: z.ZodType< active: z.boolean(), action: GetProjectsProjectsResponseAction$inboundSchema.optional(), }); - /** @internal */ export type GetProjectsOwasp$Outbound = { active: boolean; @@ -10350,19 +8507,6 @@ export const GetProjectsOwasp$outboundSchema: z.ZodType< action: GetProjectsProjectsResponseAction$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 GetProjectsOwasp$ { - /** @deprecated use `GetProjectsOwasp$inboundSchema` instead. */ - export const inboundSchema = GetProjectsOwasp$inboundSchema; - /** @deprecated use `GetProjectsOwasp$outboundSchema` instead. */ - export const outboundSchema = GetProjectsOwasp$outboundSchema; - /** @deprecated use `GetProjectsOwasp$Outbound` instead. */ - export type Outbound = GetProjectsOwasp$Outbound; -} - export function getProjectsOwaspToJSON( getProjectsOwasp: GetProjectsOwasp, ): string { @@ -10370,7 +8514,6 @@ export function getProjectsOwaspToJSON( GetProjectsOwasp$outboundSchema.parse(getProjectsOwasp), ); } - export function getProjectsOwaspFromJSON( jsonString: string, ): SafeParseResult { @@ -10396,7 +8539,6 @@ export const GetProjectsManagedRules$inboundSchema: z.ZodType< "ai_bots": "aiBots", }); }); - /** @internal */ export type GetProjectsManagedRules$Outbound = { bot_filter: GetProjectsBotFilter$Outbound; @@ -10420,19 +8562,6 @@ export const GetProjectsManagedRules$outboundSchema: z.ZodType< }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsManagedRules$ { - /** @deprecated use `GetProjectsManagedRules$inboundSchema` instead. */ - export const inboundSchema = GetProjectsManagedRules$inboundSchema; - /** @deprecated use `GetProjectsManagedRules$outboundSchema` instead. */ - export const outboundSchema = GetProjectsManagedRules$outboundSchema; - /** @deprecated use `GetProjectsManagedRules$Outbound` instead. */ - export type Outbound = GetProjectsManagedRules$Outbound; -} - export function getProjectsManagedRulesToJSON( getProjectsManagedRules: GetProjectsManagedRules, ): string { @@ -10440,7 +8569,6 @@ export function getProjectsManagedRulesToJSON( GetProjectsManagedRules$outboundSchema.parse(getProjectsManagedRules), ); } - export function getProjectsManagedRulesFromJSON( jsonString: string, ): SafeParseResult { @@ -10471,7 +8599,6 @@ export const GetProjectsSecurity$inboundSchema: z.ZodType< .optional(), botIdEnabled: z.boolean().optional(), }); - /** @internal */ export type GetProjectsSecurity$Outbound = { attackModeEnabled?: boolean | undefined; @@ -10509,19 +8636,6 @@ export const GetProjectsSecurity$outboundSchema: z.ZodType< botIdEnabled: 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 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 { @@ -10529,7 +8643,6 @@ export function getProjectsSecurityToJSON( GetProjectsSecurity$outboundSchema.parse(getProjectsSecurity), ); } - export function getProjectsSecurityFromJSON( jsonString: string, ): SafeParseResult { @@ -10544,23 +8657,11 @@ export function getProjectsSecurityFromJSON( 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, @@ -10570,7 +8671,6 @@ export const GetProjectsOidcTokenConfig$inboundSchema: z.ZodType< enabled: z.boolean().optional(), issuerMode: GetProjectsIssuerMode$inboundSchema.optional(), }); - /** @internal */ export type GetProjectsOidcTokenConfig$Outbound = { enabled?: boolean | undefined; @@ -10587,19 +8687,6 @@ export const GetProjectsOidcTokenConfig$outboundSchema: z.ZodType< 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 { @@ -10607,7 +8694,6 @@ export function getProjectsOidcTokenConfigToJSON( GetProjectsOidcTokenConfig$outboundSchema.parse(getProjectsOidcTokenConfig), ); } - export function getProjectsOidcTokenConfigFromJSON( jsonString: string, ): SafeParseResult { @@ -10622,23 +8708,11 @@ export function getProjectsOidcTokenConfigFromJSON( 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 GetProjectsFeatures$inboundSchema: z.ZodType< GetProjectsFeatures, @@ -10647,7 +8721,6 @@ export const GetProjectsFeatures$inboundSchema: z.ZodType< > = z.object({ webAnalytics: z.boolean().optional(), }); - /** @internal */ export type GetProjectsFeatures$Outbound = { webAnalytics?: boolean | undefined; @@ -10662,19 +8735,6 @@ export const GetProjectsFeatures$outboundSchema: z.ZodType< webAnalytics: 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 GetProjectsFeatures$ { - /** @deprecated use `GetProjectsFeatures$inboundSchema` instead. */ - export const inboundSchema = GetProjectsFeatures$inboundSchema; - /** @deprecated use `GetProjectsFeatures$outboundSchema` instead. */ - export const outboundSchema = GetProjectsFeatures$outboundSchema; - /** @deprecated use `GetProjectsFeatures$Outbound` instead. */ - export type Outbound = GetProjectsFeatures$Outbound; -} - export function getProjectsFeaturesToJSON( getProjectsFeatures: GetProjectsFeatures, ): string { @@ -10682,7 +8742,6 @@ export function getProjectsFeaturesToJSON( GetProjectsFeatures$outboundSchema.parse(getProjectsFeatures), ); } - export function getProjectsFeaturesFromJSON( jsonString: string, ): SafeParseResult { @@ -10705,7 +8764,6 @@ export const GetProjectsHistory$inboundSchema: z.ZodType< byId: z.string(), at: z.number(), }); - /** @internal */ export type GetProjectsHistory$Outbound = { scanner: string; @@ -10728,19 +8786,6 @@ export const GetProjectsHistory$outboundSchema: z.ZodType< at: 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 GetProjectsHistory$ { - /** @deprecated use `GetProjectsHistory$inboundSchema` instead. */ - export const inboundSchema = GetProjectsHistory$inboundSchema; - /** @deprecated use `GetProjectsHistory$outboundSchema` instead. */ - export const outboundSchema = GetProjectsHistory$outboundSchema; - /** @deprecated use `GetProjectsHistory$Outbound` instead. */ - export type Outbound = GetProjectsHistory$Outbound; -} - export function getProjectsHistoryToJSON( getProjectsHistory: GetProjectsHistory, ): string { @@ -10748,7 +8793,6 @@ export function getProjectsHistoryToJSON( GetProjectsHistory$outboundSchema.parse(getProjectsHistory), ); } - export function getProjectsHistoryFromJSON( jsonString: string, ): SafeParseResult { @@ -10760,25 +8804,13 @@ export function getProjectsHistoryFromJSON( } /** @internal */ -export const GetProjectsAction$inboundSchema: z.ZodNativeEnum< - typeof GetProjectsAction -> = z.nativeEnum(GetProjectsAction); - +export const GetProjectsProjectsAction$inboundSchema: z.ZodNativeEnum< + typeof GetProjectsProjectsAction +> = z.nativeEnum(GetProjectsProjectsAction); /** @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; -} +export const GetProjectsProjectsAction$outboundSchema: z.ZodNativeEnum< + typeof GetProjectsProjectsAction +> = GetProjectsProjectsAction$inboundSchema; /** @internal */ export const GetProjectsBlock$inboundSchema: z.ZodType< @@ -10786,7 +8818,7 @@ export const GetProjectsBlock$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - action: GetProjectsAction$inboundSchema, + action: GetProjectsProjectsAction$inboundSchema, reason: z.string(), statusCode: z.number(), createdAt: z.number(), @@ -10795,7 +8827,6 @@ export const GetProjectsBlock$inboundSchema: z.ZodType< comment: z.string().optional(), isCascading: z.boolean().optional(), }); - /** @internal */ export type GetProjectsBlock$Outbound = { action: string; @@ -10814,7 +8845,7 @@ export const GetProjectsBlock$outboundSchema: z.ZodType< z.ZodTypeDef, GetProjectsBlock > = z.object({ - action: GetProjectsAction$outboundSchema, + action: GetProjectsProjectsAction$outboundSchema, reason: z.string(), statusCode: z.number(), createdAt: z.number(), @@ -10824,19 +8855,6 @@ export const GetProjectsBlock$outboundSchema: z.ZodType< isCascading: 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 GetProjectsBlock$ { - /** @deprecated use `GetProjectsBlock$inboundSchema` instead. */ - export const inboundSchema = GetProjectsBlock$inboundSchema; - /** @deprecated use `GetProjectsBlock$outboundSchema` instead. */ - export const outboundSchema = GetProjectsBlock$outboundSchema; - /** @deprecated use `GetProjectsBlock$Outbound` instead. */ - export type Outbound = GetProjectsBlock$Outbound; -} - export function getProjectsBlockToJSON( getProjectsBlock: GetProjectsBlock, ): string { @@ -10844,7 +8862,6 @@ export function getProjectsBlockToJSON( GetProjectsBlock$outboundSchema.parse(getProjectsBlock), ); } - export function getProjectsBlockFromJSON( jsonString: string, ): SafeParseResult { @@ -10859,49 +8876,21 @@ export function getProjectsBlockFromJSON( export const GetProjectsBlockHistoryProjectsResponse200Action$inboundSchema: z.ZodNativeEnum = z .nativeEnum(GetProjectsBlockHistoryProjectsResponse200Action); - /** @internal */ export const GetProjectsBlockHistoryProjectsResponse200Action$outboundSchema: z.ZodNativeEnum = GetProjectsBlockHistoryProjectsResponse200Action$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsBlockHistoryProjectsResponse200Action$ { - /** @deprecated use `GetProjectsBlockHistoryProjectsResponse200Action$inboundSchema` instead. */ - export const inboundSchema = - GetProjectsBlockHistoryProjectsResponse200Action$inboundSchema; - /** @deprecated use `GetProjectsBlockHistoryProjectsResponse200Action$outboundSchema` instead. */ - export const outboundSchema = - GetProjectsBlockHistoryProjectsResponse200Action$outboundSchema; -} - /** @internal */ export const GetProjectsHasProjectsResponse200Type$inboundSchema: z.ZodNativeEnum = z.nativeEnum( GetProjectsHasProjectsResponse200Type, ); - /** @internal */ export const GetProjectsHasProjectsResponse200Type$outboundSchema: z.ZodNativeEnum = GetProjectsHasProjectsResponse200Type$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsHasProjectsResponse200Type$ { - /** @deprecated use `GetProjectsHasProjectsResponse200Type$inboundSchema` instead. */ - export const inboundSchema = - GetProjectsHasProjectsResponse200Type$inboundSchema; - /** @deprecated use `GetProjectsHasProjectsResponse200Type$outboundSchema` instead. */ - export const outboundSchema = - GetProjectsHasProjectsResponse200Type$outboundSchema; -} - /** @internal */ export const GetProjectsHasProjectsResponse200Value$inboundSchema: z.ZodType< GetProjectsHasProjectsResponse200Value, @@ -10910,7 +8899,6 @@ export const GetProjectsHasProjectsResponse200Value$inboundSchema: z.ZodType< > = z.object({ eq: z.string(), }); - /** @internal */ export type GetProjectsHasProjectsResponse200Value$Outbound = { eq: string; @@ -10925,21 +8913,6 @@ export const GetProjectsHasProjectsResponse200Value$outboundSchema: z.ZodType< eq: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsHasProjectsResponse200Value$ { - /** @deprecated use `GetProjectsHasProjectsResponse200Value$inboundSchema` instead. */ - export const inboundSchema = - GetProjectsHasProjectsResponse200Value$inboundSchema; - /** @deprecated use `GetProjectsHasProjectsResponse200Value$outboundSchema` instead. */ - export const outboundSchema = - GetProjectsHasProjectsResponse200Value$outboundSchema; - /** @deprecated use `GetProjectsHasProjectsResponse200Value$Outbound` instead. */ - export type Outbound = GetProjectsHasProjectsResponse200Value$Outbound; -} - export function getProjectsHasProjectsResponse200ValueToJSON( getProjectsHasProjectsResponse200Value: GetProjectsHasProjectsResponse200Value, @@ -10950,7 +8923,6 @@ export function getProjectsHasProjectsResponse200ValueToJSON( ), ); } - export function getProjectsHasProjectsResponse200ValueFromJSON( jsonString: string, ): SafeParseResult { @@ -10971,7 +8943,6 @@ export const GetProjectsHasProjects2$inboundSchema: z.ZodType< type: GetProjectsHasProjectsResponse200Type$inboundSchema, value: z.lazy(() => GetProjectsHasProjectsResponse200Value$inboundSchema), }); - /** @internal */ export type GetProjectsHasProjects2$Outbound = { type: string; @@ -10988,19 +8959,6 @@ export const GetProjectsHasProjects2$outboundSchema: z.ZodType< value: z.lazy(() => GetProjectsHasProjectsResponse200Value$outboundSchema), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsHasProjects2$ { - /** @deprecated use `GetProjectsHasProjects2$inboundSchema` instead. */ - export const inboundSchema = GetProjectsHasProjects2$inboundSchema; - /** @deprecated use `GetProjectsHasProjects2$outboundSchema` instead. */ - export const outboundSchema = GetProjectsHasProjects2$outboundSchema; - /** @deprecated use `GetProjectsHasProjects2$Outbound` instead. */ - export type Outbound = GetProjectsHasProjects2$Outbound; -} - export function getProjectsHasProjects2ToJSON( getProjectsHasProjects2: GetProjectsHasProjects2, ): string { @@ -11008,7 +8966,6 @@ export function getProjectsHasProjects2ToJSON( GetProjectsHasProjects2$outboundSchema.parse(getProjectsHasProjects2), ); } - export function getProjectsHasProjects2FromJSON( jsonString: string, ): SafeParseResult { @@ -11023,45 +8980,20 @@ export function getProjectsHasProjects2FromJSON( export const GetProjectsHasProjectsResponseType$inboundSchema: z.ZodNativeEnum< typeof GetProjectsHasProjectsResponseType > = z.nativeEnum(GetProjectsHasProjectsResponseType); - /** @internal */ export const GetProjectsHasProjectsResponseType$outboundSchema: z.ZodNativeEnum< typeof GetProjectsHasProjectsResponseType > = GetProjectsHasProjectsResponseType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsHasProjectsResponseType$ { - /** @deprecated use `GetProjectsHasProjectsResponseType$inboundSchema` instead. */ - export const inboundSchema = GetProjectsHasProjectsResponseType$inboundSchema; - /** @deprecated use `GetProjectsHasProjectsResponseType$outboundSchema` instead. */ - export const outboundSchema = - GetProjectsHasProjectsResponseType$outboundSchema; -} - /** @internal */ export const GetProjectsHasProjectsKey$inboundSchema: z.ZodNativeEnum< typeof GetProjectsHasProjectsKey > = z.nativeEnum(GetProjectsHasProjectsKey); - /** @internal */ export const GetProjectsHasProjectsKey$outboundSchema: z.ZodNativeEnum< typeof GetProjectsHasProjectsKey > = GetProjectsHasProjectsKey$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsHasProjectsKey$ { - /** @deprecated use `GetProjectsHasProjectsKey$inboundSchema` instead. */ - export const inboundSchema = GetProjectsHasProjectsKey$inboundSchema; - /** @deprecated use `GetProjectsHasProjectsKey$outboundSchema` instead. */ - export const outboundSchema = GetProjectsHasProjectsKey$outboundSchema; -} - /** @internal */ export const GetProjectsHasProjectsResponseValue$inboundSchema: z.ZodType< GetProjectsHasProjectsResponseValue, @@ -11070,7 +9002,6 @@ export const GetProjectsHasProjectsResponseValue$inboundSchema: z.ZodType< > = z.object({ eq: z.string(), }); - /** @internal */ export type GetProjectsHasProjectsResponseValue$Outbound = { eq: string; @@ -11085,21 +9016,6 @@ export const GetProjectsHasProjectsResponseValue$outboundSchema: z.ZodType< eq: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsHasProjectsResponseValue$ { - /** @deprecated use `GetProjectsHasProjectsResponseValue$inboundSchema` instead. */ - export const inboundSchema = - GetProjectsHasProjectsResponseValue$inboundSchema; - /** @deprecated use `GetProjectsHasProjectsResponseValue$outboundSchema` instead. */ - export const outboundSchema = - GetProjectsHasProjectsResponseValue$outboundSchema; - /** @deprecated use `GetProjectsHasProjectsResponseValue$Outbound` instead. */ - export type Outbound = GetProjectsHasProjectsResponseValue$Outbound; -} - export function getProjectsHasProjectsResponseValueToJSON( getProjectsHasProjectsResponseValue: GetProjectsHasProjectsResponseValue, ): string { @@ -11109,7 +9025,6 @@ export function getProjectsHasProjectsResponseValueToJSON( ), ); } - export function getProjectsHasProjectsResponseValueFromJSON( jsonString: string, ): SafeParseResult { @@ -11131,7 +9046,6 @@ export const GetProjectsHasProjects1$inboundSchema: z.ZodType< key: GetProjectsHasProjectsKey$inboundSchema, value: z.lazy(() => GetProjectsHasProjectsResponseValue$inboundSchema), }); - /** @internal */ export type GetProjectsHasProjects1$Outbound = { type: string; @@ -11150,19 +9064,6 @@ export const GetProjectsHasProjects1$outboundSchema: z.ZodType< value: z.lazy(() => GetProjectsHasProjectsResponseValue$outboundSchema), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsHasProjects1$ { - /** @deprecated use `GetProjectsHasProjects1$inboundSchema` instead. */ - export const inboundSchema = GetProjectsHasProjects1$inboundSchema; - /** @deprecated use `GetProjectsHasProjects1$outboundSchema` instead. */ - export const outboundSchema = GetProjectsHasProjects1$outboundSchema; - /** @deprecated use `GetProjectsHasProjects1$Outbound` instead. */ - export type Outbound = GetProjectsHasProjects1$Outbound; -} - export function getProjectsHasProjects1ToJSON( getProjectsHasProjects1: GetProjectsHasProjects1, ): string { @@ -11170,7 +9071,6 @@ export function getProjectsHasProjects1ToJSON( GetProjectsHasProjects1$outboundSchema.parse(getProjectsHasProjects1), ); } - export function getProjectsHasProjects1FromJSON( jsonString: string, ): SafeParseResult { @@ -11190,7 +9090,6 @@ export const GetProjectsRouteProjectsHas$inboundSchema: z.ZodType< z.lazy(() => GetProjectsHasProjects1$inboundSchema), z.lazy(() => GetProjectsHasProjects2$inboundSchema), ]); - /** @internal */ export type GetProjectsRouteProjectsHas$Outbound = | GetProjectsHasProjects1$Outbound @@ -11206,19 +9105,6 @@ export const GetProjectsRouteProjectsHas$outboundSchema: z.ZodType< z.lazy(() => GetProjectsHasProjects2$outboundSchema), ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsRouteProjectsHas$ { - /** @deprecated use `GetProjectsRouteProjectsHas$inboundSchema` instead. */ - export const inboundSchema = GetProjectsRouteProjectsHas$inboundSchema; - /** @deprecated use `GetProjectsRouteProjectsHas$outboundSchema` instead. */ - export const outboundSchema = GetProjectsRouteProjectsHas$outboundSchema; - /** @deprecated use `GetProjectsRouteProjectsHas$Outbound` instead. */ - export type Outbound = GetProjectsRouteProjectsHas$Outbound; -} - export function getProjectsRouteProjectsHasToJSON( getProjectsRouteProjectsHas: GetProjectsRouteProjectsHas, ): string { @@ -11228,7 +9114,6 @@ export function getProjectsRouteProjectsHasToJSON( ), ); } - export function getProjectsRouteProjectsHasFromJSON( jsonString: string, ): SafeParseResult { @@ -11243,23 +9128,11 @@ export function getProjectsRouteProjectsHasFromJSON( export const GetProjectsRouteProjectsAction$inboundSchema: z.ZodNativeEnum< typeof GetProjectsRouteProjectsAction > = z.nativeEnum(GetProjectsRouteProjectsAction); - /** @internal */ export const GetProjectsRouteProjectsAction$outboundSchema: z.ZodNativeEnum< typeof GetProjectsRouteProjectsAction > = GetProjectsRouteProjectsAction$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsRouteProjectsAction$ { - /** @deprecated use `GetProjectsRouteProjectsAction$inboundSchema` instead. */ - export const inboundSchema = GetProjectsRouteProjectsAction$inboundSchema; - /** @deprecated use `GetProjectsRouteProjectsAction$outboundSchema` instead. */ - export const outboundSchema = GetProjectsRouteProjectsAction$outboundSchema; -} - /** @internal */ export const GetProjectsRouteProjectsMitigate$inboundSchema: z.ZodType< GetProjectsRouteProjectsMitigate, @@ -11268,7 +9141,6 @@ export const GetProjectsRouteProjectsMitigate$inboundSchema: z.ZodType< > = z.object({ action: GetProjectsRouteProjectsAction$inboundSchema, }); - /** @internal */ export type GetProjectsRouteProjectsMitigate$Outbound = { action: string; @@ -11283,19 +9155,6 @@ export const GetProjectsRouteProjectsMitigate$outboundSchema: z.ZodType< action: GetProjectsRouteProjectsAction$outboundSchema, }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsRouteProjectsMitigate$ { - /** @deprecated use `GetProjectsRouteProjectsMitigate$inboundSchema` instead. */ - export const inboundSchema = GetProjectsRouteProjectsMitigate$inboundSchema; - /** @deprecated use `GetProjectsRouteProjectsMitigate$outboundSchema` instead. */ - export const outboundSchema = GetProjectsRouteProjectsMitigate$outboundSchema; - /** @deprecated use `GetProjectsRouteProjectsMitigate$Outbound` instead. */ - export type Outbound = GetProjectsRouteProjectsMitigate$Outbound; -} - export function getProjectsRouteProjectsMitigateToJSON( getProjectsRouteProjectsMitigate: GetProjectsRouteProjectsMitigate, ): string { @@ -11305,7 +9164,6 @@ export function getProjectsRouteProjectsMitigateToJSON( ), ); } - export function getProjectsRouteProjectsMitigateFromJSON( jsonString: string, ): SafeParseResult { @@ -11331,7 +9189,6 @@ export const GetProjectsRouteProjects2$inboundSchema: z.ZodType< mitigate: z.lazy(() => GetProjectsRouteProjectsMitigate$inboundSchema), src: z.string().optional(), }); - /** @internal */ export type GetProjectsRouteProjects2$Outbound = { has: Array< @@ -11357,19 +9214,6 @@ export const GetProjectsRouteProjects2$outboundSchema: z.ZodType< src: z.string().optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsRouteProjects2$ { - /** @deprecated use `GetProjectsRouteProjects2$inboundSchema` instead. */ - export const inboundSchema = GetProjectsRouteProjects2$inboundSchema; - /** @deprecated use `GetProjectsRouteProjects2$outboundSchema` instead. */ - export const outboundSchema = GetProjectsRouteProjects2$outboundSchema; - /** @deprecated use `GetProjectsRouteProjects2$Outbound` instead. */ - export type Outbound = GetProjectsRouteProjects2$Outbound; -} - export function getProjectsRouteProjects2ToJSON( getProjectsRouteProjects2: GetProjectsRouteProjects2, ): string { @@ -11377,7 +9221,6 @@ export function getProjectsRouteProjects2ToJSON( GetProjectsRouteProjects2$outboundSchema.parse(getProjectsRouteProjects2), ); } - export function getProjectsRouteProjects2FromJSON( jsonString: string, ): SafeParseResult { @@ -11397,7 +9240,6 @@ export const GetProjectsRouteProjects1$inboundSchema: z.ZodType< src: z.string(), status: z.number(), }); - /** @internal */ export type GetProjectsRouteProjects1$Outbound = { src: string; @@ -11414,19 +9256,6 @@ export const GetProjectsRouteProjects1$outboundSchema: z.ZodType< status: 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 GetProjectsRouteProjects1$ { - /** @deprecated use `GetProjectsRouteProjects1$inboundSchema` instead. */ - export const inboundSchema = GetProjectsRouteProjects1$inboundSchema; - /** @deprecated use `GetProjectsRouteProjects1$outboundSchema` instead. */ - export const outboundSchema = GetProjectsRouteProjects1$outboundSchema; - /** @deprecated use `GetProjectsRouteProjects1$Outbound` instead. */ - export type Outbound = GetProjectsRouteProjects1$Outbound; -} - export function getProjectsRouteProjects1ToJSON( getProjectsRouteProjects1: GetProjectsRouteProjects1, ): string { @@ -11434,7 +9263,6 @@ export function getProjectsRouteProjects1ToJSON( GetProjectsRouteProjects1$outboundSchema.parse(getProjectsRouteProjects1), ); } - export function getProjectsRouteProjects1FromJSON( jsonString: string, ): SafeParseResult { @@ -11454,7 +9282,6 @@ export const GetProjectsBlockHistoryProjectsRoute$inboundSchema: z.ZodType< z.lazy(() => GetProjectsRouteProjects1$inboundSchema), z.lazy(() => GetProjectsRouteProjects2$inboundSchema), ]); - /** @internal */ export type GetProjectsBlockHistoryProjectsRoute$Outbound = | GetProjectsRouteProjects1$Outbound @@ -11470,21 +9297,6 @@ export const GetProjectsBlockHistoryProjectsRoute$outboundSchema: z.ZodType< z.lazy(() => GetProjectsRouteProjects2$outboundSchema), ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsBlockHistoryProjectsRoute$ { - /** @deprecated use `GetProjectsBlockHistoryProjectsRoute$inboundSchema` instead. */ - export const inboundSchema = - GetProjectsBlockHistoryProjectsRoute$inboundSchema; - /** @deprecated use `GetProjectsBlockHistoryProjectsRoute$outboundSchema` instead. */ - export const outboundSchema = - GetProjectsBlockHistoryProjectsRoute$outboundSchema; - /** @deprecated use `GetProjectsBlockHistoryProjectsRoute$Outbound` instead. */ - export type Outbound = GetProjectsBlockHistoryProjectsRoute$Outbound; -} - export function getProjectsBlockHistoryProjectsRouteToJSON( getProjectsBlockHistoryProjectsRoute: GetProjectsBlockHistoryProjectsRoute, ): string { @@ -11494,7 +9306,6 @@ export function getProjectsBlockHistoryProjectsRouteToJSON( ), ); } - export function getProjectsBlockHistoryProjectsRouteFromJSON( jsonString: string, ): SafeParseResult { @@ -11524,7 +9335,6 @@ export const GetProjectsBlockHistory4$inboundSchema: z.ZodType< comment: z.string().optional(), isCascading: z.boolean().optional(), }); - /** @internal */ export type GetProjectsBlockHistory4$Outbound = { action: string; @@ -11558,19 +9368,6 @@ export const GetProjectsBlockHistory4$outboundSchema: z.ZodType< isCascading: 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 GetProjectsBlockHistory4$ { - /** @deprecated use `GetProjectsBlockHistory4$inboundSchema` instead. */ - export const inboundSchema = GetProjectsBlockHistory4$inboundSchema; - /** @deprecated use `GetProjectsBlockHistory4$outboundSchema` instead. */ - export const outboundSchema = GetProjectsBlockHistory4$outboundSchema; - /** @deprecated use `GetProjectsBlockHistory4$Outbound` instead. */ - export type Outbound = GetProjectsBlockHistory4$Outbound; -} - export function getProjectsBlockHistory4ToJSON( getProjectsBlockHistory4: GetProjectsBlockHistory4, ): string { @@ -11578,7 +9375,6 @@ export function getProjectsBlockHistory4ToJSON( GetProjectsBlockHistory4$outboundSchema.parse(getProjectsBlockHistory4), ); } - export function getProjectsBlockHistory4FromJSON( jsonString: string, ): SafeParseResult { @@ -11593,25 +9389,11 @@ export function getProjectsBlockHistory4FromJSON( export const GetProjectsBlockHistoryProjectsResponseAction$inboundSchema: z.ZodNativeEnum = z .nativeEnum(GetProjectsBlockHistoryProjectsResponseAction); - /** @internal */ export const GetProjectsBlockHistoryProjectsResponseAction$outboundSchema: z.ZodNativeEnum = GetProjectsBlockHistoryProjectsResponseAction$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsBlockHistoryProjectsResponseAction$ { - /** @deprecated use `GetProjectsBlockHistoryProjectsResponseAction$inboundSchema` instead. */ - export const inboundSchema = - GetProjectsBlockHistoryProjectsResponseAction$inboundSchema; - /** @deprecated use `GetProjectsBlockHistoryProjectsResponseAction$outboundSchema` instead. */ - export const outboundSchema = - GetProjectsBlockHistoryProjectsResponseAction$outboundSchema; -} - /** @internal */ export const GetProjectsHasProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema: z.ZodNativeEnum< @@ -11619,7 +9401,6 @@ export const GetProjectsHasProjectsResponse200ApplicationJSONResponseBodyType$in > = z.nativeEnum( GetProjectsHasProjectsResponse200ApplicationJSONResponseBodyType, ); - /** @internal */ export const GetProjectsHasProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema: z.ZodNativeEnum< @@ -11627,19 +9408,6 @@ export const GetProjectsHasProjectsResponse200ApplicationJSONResponseBodyType$ou > = GetProjectsHasProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsHasProjectsResponse200ApplicationJSONResponseBodyType$ { - /** @deprecated use `GetProjectsHasProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema` instead. */ - export const inboundSchema = - GetProjectsHasProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema; - /** @deprecated use `GetProjectsHasProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema` instead. */ - export const outboundSchema = - GetProjectsHasProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema; -} - /** @internal */ export const GetProjectsHasProjectsResponse200ApplicationJSONResponseBodyValue$inboundSchema: z.ZodType< @@ -11649,7 +9417,6 @@ export const GetProjectsHasProjectsResponse200ApplicationJSONResponseBodyValue$i > = z.object({ eq: z.string(), }); - /** @internal */ export type GetProjectsHasProjectsResponse200ApplicationJSONResponseBodyValue$Outbound = { @@ -11666,22 +9433,6 @@ export const GetProjectsHasProjectsResponse200ApplicationJSONResponseBodyValue$o eq: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsHasProjectsResponse200ApplicationJSONResponseBodyValue$ { - /** @deprecated use `GetProjectsHasProjectsResponse200ApplicationJSONResponseBodyValue$inboundSchema` instead. */ - export const inboundSchema = - GetProjectsHasProjectsResponse200ApplicationJSONResponseBodyValue$inboundSchema; - /** @deprecated use `GetProjectsHasProjectsResponse200ApplicationJSONResponseBodyValue$outboundSchema` instead. */ - export const outboundSchema = - GetProjectsHasProjectsResponse200ApplicationJSONResponseBodyValue$outboundSchema; - /** @deprecated use `GetProjectsHasProjectsResponse200ApplicationJSONResponseBodyValue$Outbound` instead. */ - export type Outbound = - GetProjectsHasProjectsResponse200ApplicationJSONResponseBodyValue$Outbound; -} - export function getProjectsHasProjectsResponse200ApplicationJSONResponseBodyValueToJSON( getProjectsHasProjectsResponse200ApplicationJSONResponseBodyValue: GetProjectsHasProjectsResponse200ApplicationJSONResponseBodyValue, @@ -11691,7 +9442,6 @@ export function getProjectsHasProjectsResponse200ApplicationJSONResponseBodyValu .parse(getProjectsHasProjectsResponse200ApplicationJSONResponseBodyValue), ); } - export function getProjectsHasProjectsResponse200ApplicationJSONResponseBodyValueFromJSON( jsonString: string, ): SafeParseResult< @@ -11719,7 +9469,6 @@ export const GetProjectsHasProjectsResponse2$inboundSchema: z.ZodType< GetProjectsHasProjectsResponse200ApplicationJSONResponseBodyValue$inboundSchema ), }); - /** @internal */ export type GetProjectsHasProjectsResponse2$Outbound = { type: string; @@ -11740,19 +9489,6 @@ export const GetProjectsHasProjectsResponse2$outboundSchema: z.ZodType< ), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsHasProjectsResponse2$ { - /** @deprecated use `GetProjectsHasProjectsResponse2$inboundSchema` instead. */ - export const inboundSchema = GetProjectsHasProjectsResponse2$inboundSchema; - /** @deprecated use `GetProjectsHasProjectsResponse2$outboundSchema` instead. */ - export const outboundSchema = GetProjectsHasProjectsResponse2$outboundSchema; - /** @deprecated use `GetProjectsHasProjectsResponse2$Outbound` instead. */ - export type Outbound = GetProjectsHasProjectsResponse2$Outbound; -} - export function getProjectsHasProjectsResponse2ToJSON( getProjectsHasProjectsResponse2: GetProjectsHasProjectsResponse2, ): string { @@ -11762,7 +9498,6 @@ export function getProjectsHasProjectsResponse2ToJSON( ), ); } - export function getProjectsHasProjectsResponse2FromJSON( jsonString: string, ): SafeParseResult { @@ -11777,47 +9512,20 @@ export function getProjectsHasProjectsResponse2FromJSON( export const GetProjectsHasProjectsResponse200ApplicationJSONType$inboundSchema: z.ZodNativeEnum = z.nativeEnum(GetProjectsHasProjectsResponse200ApplicationJSONType); - /** @internal */ export const GetProjectsHasProjectsResponse200ApplicationJSONType$outboundSchema: z.ZodNativeEnum = GetProjectsHasProjectsResponse200ApplicationJSONType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsHasProjectsResponse200ApplicationJSONType$ { - /** @deprecated use `GetProjectsHasProjectsResponse200ApplicationJSONType$inboundSchema` instead. */ - export const inboundSchema = - GetProjectsHasProjectsResponse200ApplicationJSONType$inboundSchema; - /** @deprecated use `GetProjectsHasProjectsResponse200ApplicationJSONType$outboundSchema` instead. */ - export const outboundSchema = - GetProjectsHasProjectsResponse200ApplicationJSONType$outboundSchema; -} - /** @internal */ export const GetProjectsHasProjectsResponseKey$inboundSchema: z.ZodNativeEnum< typeof GetProjectsHasProjectsResponseKey > = z.nativeEnum(GetProjectsHasProjectsResponseKey); - /** @internal */ export const GetProjectsHasProjectsResponseKey$outboundSchema: z.ZodNativeEnum< typeof GetProjectsHasProjectsResponseKey > = GetProjectsHasProjectsResponseKey$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsHasProjectsResponseKey$ { - /** @deprecated use `GetProjectsHasProjectsResponseKey$inboundSchema` instead. */ - export const inboundSchema = GetProjectsHasProjectsResponseKey$inboundSchema; - /** @deprecated use `GetProjectsHasProjectsResponseKey$outboundSchema` instead. */ - export const outboundSchema = - GetProjectsHasProjectsResponseKey$outboundSchema; -} - /** @internal */ export const GetProjectsHasProjectsResponse200ApplicationJSONValue$inboundSchema: z.ZodType< @@ -11827,7 +9535,6 @@ export const GetProjectsHasProjectsResponse200ApplicationJSONValue$inboundSchema > = z.object({ eq: z.string(), }); - /** @internal */ export type GetProjectsHasProjectsResponse200ApplicationJSONValue$Outbound = { eq: string; @@ -11843,22 +9550,6 @@ export const GetProjectsHasProjectsResponse200ApplicationJSONValue$outboundSchem eq: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsHasProjectsResponse200ApplicationJSONValue$ { - /** @deprecated use `GetProjectsHasProjectsResponse200ApplicationJSONValue$inboundSchema` instead. */ - export const inboundSchema = - GetProjectsHasProjectsResponse200ApplicationJSONValue$inboundSchema; - /** @deprecated use `GetProjectsHasProjectsResponse200ApplicationJSONValue$outboundSchema` instead. */ - export const outboundSchema = - GetProjectsHasProjectsResponse200ApplicationJSONValue$outboundSchema; - /** @deprecated use `GetProjectsHasProjectsResponse200ApplicationJSONValue$Outbound` instead. */ - export type Outbound = - GetProjectsHasProjectsResponse200ApplicationJSONValue$Outbound; -} - export function getProjectsHasProjectsResponse200ApplicationJSONValueToJSON( getProjectsHasProjectsResponse200ApplicationJSONValue: GetProjectsHasProjectsResponse200ApplicationJSONValue, @@ -11869,7 +9560,6 @@ export function getProjectsHasProjectsResponse200ApplicationJSONValueToJSON( ), ); } - export function getProjectsHasProjectsResponse200ApplicationJSONValueFromJSON( jsonString: string, ): SafeParseResult< @@ -11898,7 +9588,6 @@ export const GetProjectsHasProjectsResponse1$inboundSchema: z.ZodType< GetProjectsHasProjectsResponse200ApplicationJSONValue$inboundSchema ), }); - /** @internal */ export type GetProjectsHasProjectsResponse1$Outbound = { type: string; @@ -11919,19 +9608,6 @@ export const GetProjectsHasProjectsResponse1$outboundSchema: z.ZodType< ), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsHasProjectsResponse1$ { - /** @deprecated use `GetProjectsHasProjectsResponse1$inboundSchema` instead. */ - export const inboundSchema = GetProjectsHasProjectsResponse1$inboundSchema; - /** @deprecated use `GetProjectsHasProjectsResponse1$outboundSchema` instead. */ - export const outboundSchema = GetProjectsHasProjectsResponse1$outboundSchema; - /** @deprecated use `GetProjectsHasProjectsResponse1$Outbound` instead. */ - export type Outbound = GetProjectsHasProjectsResponse1$Outbound; -} - export function getProjectsHasProjectsResponse1ToJSON( getProjectsHasProjectsResponse1: GetProjectsHasProjectsResponse1, ): string { @@ -11941,7 +9617,6 @@ export function getProjectsHasProjectsResponse1ToJSON( ), ); } - export function getProjectsHasProjectsResponse1FromJSON( jsonString: string, ): SafeParseResult { @@ -11961,7 +9636,6 @@ export const GetProjectsRouteHas$inboundSchema: z.ZodType< z.lazy(() => GetProjectsHasProjectsResponse1$inboundSchema), z.lazy(() => GetProjectsHasProjectsResponse2$inboundSchema), ]); - /** @internal */ export type GetProjectsRouteHas$Outbound = | GetProjectsHasProjectsResponse1$Outbound @@ -11977,19 +9651,6 @@ export const GetProjectsRouteHas$outboundSchema: z.ZodType< z.lazy(() => GetProjectsHasProjectsResponse2$outboundSchema), ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsRouteHas$ { - /** @deprecated use `GetProjectsRouteHas$inboundSchema` instead. */ - export const inboundSchema = GetProjectsRouteHas$inboundSchema; - /** @deprecated use `GetProjectsRouteHas$outboundSchema` instead. */ - export const outboundSchema = GetProjectsRouteHas$outboundSchema; - /** @deprecated use `GetProjectsRouteHas$Outbound` instead. */ - export type Outbound = GetProjectsRouteHas$Outbound; -} - export function getProjectsRouteHasToJSON( getProjectsRouteHas: GetProjectsRouteHas, ): string { @@ -11997,7 +9658,6 @@ export function getProjectsRouteHasToJSON( GetProjectsRouteHas$outboundSchema.parse(getProjectsRouteHas), ); } - export function getProjectsRouteHasFromJSON( jsonString: string, ): SafeParseResult { @@ -12012,23 +9672,11 @@ export function getProjectsRouteHasFromJSON( export const GetProjectsRouteAction$inboundSchema: z.ZodNativeEnum< typeof GetProjectsRouteAction > = z.nativeEnum(GetProjectsRouteAction); - /** @internal */ export const GetProjectsRouteAction$outboundSchema: z.ZodNativeEnum< typeof GetProjectsRouteAction > = GetProjectsRouteAction$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsRouteAction$ { - /** @deprecated use `GetProjectsRouteAction$inboundSchema` instead. */ - export const inboundSchema = GetProjectsRouteAction$inboundSchema; - /** @deprecated use `GetProjectsRouteAction$outboundSchema` instead. */ - export const outboundSchema = GetProjectsRouteAction$outboundSchema; -} - /** @internal */ export const GetProjectsRouteMitigate$inboundSchema: z.ZodType< GetProjectsRouteMitigate, @@ -12037,7 +9685,6 @@ export const GetProjectsRouteMitigate$inboundSchema: z.ZodType< > = z.object({ action: GetProjectsRouteAction$inboundSchema, }); - /** @internal */ export type GetProjectsRouteMitigate$Outbound = { action: string; @@ -12052,19 +9699,6 @@ export const GetProjectsRouteMitigate$outboundSchema: z.ZodType< action: GetProjectsRouteAction$outboundSchema, }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsRouteMitigate$ { - /** @deprecated use `GetProjectsRouteMitigate$inboundSchema` instead. */ - export const inboundSchema = GetProjectsRouteMitigate$inboundSchema; - /** @deprecated use `GetProjectsRouteMitigate$outboundSchema` instead. */ - export const outboundSchema = GetProjectsRouteMitigate$outboundSchema; - /** @deprecated use `GetProjectsRouteMitigate$Outbound` instead. */ - export type Outbound = GetProjectsRouteMitigate$Outbound; -} - export function getProjectsRouteMitigateToJSON( getProjectsRouteMitigate: GetProjectsRouteMitigate, ): string { @@ -12072,7 +9706,6 @@ export function getProjectsRouteMitigateToJSON( GetProjectsRouteMitigate$outboundSchema.parse(getProjectsRouteMitigate), ); } - export function getProjectsRouteMitigateFromJSON( jsonString: string, ): SafeParseResult { @@ -12098,7 +9731,6 @@ export const GetProjectsRoute2$inboundSchema: z.ZodType< mitigate: z.lazy(() => GetProjectsRouteMitigate$inboundSchema), src: z.string().optional(), }); - /** @internal */ export type GetProjectsRoute2$Outbound = { has: Array< @@ -12125,19 +9757,6 @@ export const GetProjectsRoute2$outboundSchema: z.ZodType< src: z.string().optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsRoute2$ { - /** @deprecated use `GetProjectsRoute2$inboundSchema` instead. */ - export const inboundSchema = GetProjectsRoute2$inboundSchema; - /** @deprecated use `GetProjectsRoute2$outboundSchema` instead. */ - export const outboundSchema = GetProjectsRoute2$outboundSchema; - /** @deprecated use `GetProjectsRoute2$Outbound` instead. */ - export type Outbound = GetProjectsRoute2$Outbound; -} - export function getProjectsRoute2ToJSON( getProjectsRoute2: GetProjectsRoute2, ): string { @@ -12145,7 +9764,6 @@ export function getProjectsRoute2ToJSON( GetProjectsRoute2$outboundSchema.parse(getProjectsRoute2), ); } - export function getProjectsRoute2FromJSON( jsonString: string, ): SafeParseResult { @@ -12165,7 +9783,6 @@ export const GetProjectsRoute1$inboundSchema: z.ZodType< src: z.string(), status: z.number(), }); - /** @internal */ export type GetProjectsRoute1$Outbound = { src: string; @@ -12182,19 +9799,6 @@ export const GetProjectsRoute1$outboundSchema: z.ZodType< status: 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 GetProjectsRoute1$ { - /** @deprecated use `GetProjectsRoute1$inboundSchema` instead. */ - export const inboundSchema = GetProjectsRoute1$inboundSchema; - /** @deprecated use `GetProjectsRoute1$outboundSchema` instead. */ - export const outboundSchema = GetProjectsRoute1$outboundSchema; - /** @deprecated use `GetProjectsRoute1$Outbound` instead. */ - export type Outbound = GetProjectsRoute1$Outbound; -} - export function getProjectsRoute1ToJSON( getProjectsRoute1: GetProjectsRoute1, ): string { @@ -12202,7 +9806,6 @@ export function getProjectsRoute1ToJSON( GetProjectsRoute1$outboundSchema.parse(getProjectsRoute1), ); } - export function getProjectsRoute1FromJSON( jsonString: string, ): SafeParseResult { @@ -12222,7 +9825,6 @@ export const GetProjectsBlockHistoryRoute$inboundSchema: z.ZodType< z.lazy(() => GetProjectsRoute1$inboundSchema), z.lazy(() => GetProjectsRoute2$inboundSchema), ]); - /** @internal */ export type GetProjectsBlockHistoryRoute$Outbound = | GetProjectsRoute1$Outbound @@ -12238,19 +9840,6 @@ export const GetProjectsBlockHistoryRoute$outboundSchema: z.ZodType< z.lazy(() => GetProjectsRoute2$outboundSchema), ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsBlockHistoryRoute$ { - /** @deprecated use `GetProjectsBlockHistoryRoute$inboundSchema` instead. */ - export const inboundSchema = GetProjectsBlockHistoryRoute$inboundSchema; - /** @deprecated use `GetProjectsBlockHistoryRoute$outboundSchema` instead. */ - export const outboundSchema = GetProjectsBlockHistoryRoute$outboundSchema; - /** @deprecated use `GetProjectsBlockHistoryRoute$Outbound` instead. */ - export type Outbound = GetProjectsBlockHistoryRoute$Outbound; -} - export function getProjectsBlockHistoryRouteToJSON( getProjectsBlockHistoryRoute: GetProjectsBlockHistoryRoute, ): string { @@ -12260,7 +9849,6 @@ export function getProjectsBlockHistoryRouteToJSON( ), ); } - export function getProjectsBlockHistoryRouteFromJSON( jsonString: string, ): SafeParseResult { @@ -12289,7 +9877,6 @@ export const GetProjectsBlockHistory3$inboundSchema: z.ZodType< comment: z.string().optional(), isCascading: z.boolean().optional(), }); - /** @internal */ export type GetProjectsBlockHistory3$Outbound = { action: string; @@ -12321,19 +9908,6 @@ export const GetProjectsBlockHistory3$outboundSchema: z.ZodType< isCascading: 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 GetProjectsBlockHistory3$ { - /** @deprecated use `GetProjectsBlockHistory3$inboundSchema` instead. */ - export const inboundSchema = GetProjectsBlockHistory3$inboundSchema; - /** @deprecated use `GetProjectsBlockHistory3$outboundSchema` instead. */ - export const outboundSchema = GetProjectsBlockHistory3$outboundSchema; - /** @deprecated use `GetProjectsBlockHistory3$Outbound` instead. */ - export type Outbound = GetProjectsBlockHistory3$Outbound; -} - export function getProjectsBlockHistory3ToJSON( getProjectsBlockHistory3: GetProjectsBlockHistory3, ): string { @@ -12341,7 +9915,6 @@ export function getProjectsBlockHistory3ToJSON( GetProjectsBlockHistory3$outboundSchema.parse(getProjectsBlockHistory3), ); } - export function getProjectsBlockHistory3FromJSON( jsonString: string, ): SafeParseResult { @@ -12357,25 +9930,11 @@ export const GetProjectsBlockHistoryProjectsAction$inboundSchema: z.ZodNativeEnum = z.nativeEnum( GetProjectsBlockHistoryProjectsAction, ); - /** @internal */ export const GetProjectsBlockHistoryProjectsAction$outboundSchema: z.ZodNativeEnum = GetProjectsBlockHistoryProjectsAction$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsBlockHistoryProjectsAction$ { - /** @deprecated use `GetProjectsBlockHistoryProjectsAction$inboundSchema` instead. */ - export const inboundSchema = - GetProjectsBlockHistoryProjectsAction$inboundSchema; - /** @deprecated use `GetProjectsBlockHistoryProjectsAction$outboundSchema` instead. */ - export const outboundSchema = - GetProjectsBlockHistoryProjectsAction$outboundSchema; -} - /** @internal */ export const GetProjectsBlockHistory2$inboundSchema: z.ZodType< GetProjectsBlockHistory2, @@ -12389,7 +9948,6 @@ export const GetProjectsBlockHistory2$inboundSchema: z.ZodType< comment: z.string().optional(), isCascading: z.boolean().optional(), }); - /** @internal */ export type GetProjectsBlockHistory2$Outbound = { action: string; @@ -12414,19 +9972,6 @@ export const GetProjectsBlockHistory2$outboundSchema: z.ZodType< isCascading: 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 GetProjectsBlockHistory2$ { - /** @deprecated use `GetProjectsBlockHistory2$inboundSchema` instead. */ - export const inboundSchema = GetProjectsBlockHistory2$inboundSchema; - /** @deprecated use `GetProjectsBlockHistory2$outboundSchema` instead. */ - export const outboundSchema = GetProjectsBlockHistory2$outboundSchema; - /** @deprecated use `GetProjectsBlockHistory2$Outbound` instead. */ - export type Outbound = GetProjectsBlockHistory2$Outbound; -} - export function getProjectsBlockHistory2ToJSON( getProjectsBlockHistory2: GetProjectsBlockHistory2, ): string { @@ -12434,7 +9979,6 @@ export function getProjectsBlockHistory2ToJSON( GetProjectsBlockHistory2$outboundSchema.parse(getProjectsBlockHistory2), ); } - export function getProjectsBlockHistory2FromJSON( jsonString: string, ): SafeParseResult { @@ -12449,23 +9993,11 @@ export function getProjectsBlockHistory2FromJSON( export const GetProjectsBlockHistoryAction$inboundSchema: z.ZodNativeEnum< typeof GetProjectsBlockHistoryAction > = z.nativeEnum(GetProjectsBlockHistoryAction); - /** @internal */ export const GetProjectsBlockHistoryAction$outboundSchema: z.ZodNativeEnum< typeof GetProjectsBlockHistoryAction > = GetProjectsBlockHistoryAction$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsBlockHistoryAction$ { - /** @deprecated use `GetProjectsBlockHistoryAction$inboundSchema` instead. */ - export const inboundSchema = GetProjectsBlockHistoryAction$inboundSchema; - /** @deprecated use `GetProjectsBlockHistoryAction$outboundSchema` instead. */ - export const outboundSchema = GetProjectsBlockHistoryAction$outboundSchema; -} - /** @internal */ export const GetProjectsBlockHistory1$inboundSchema: z.ZodType< GetProjectsBlockHistory1, @@ -12481,7 +10013,6 @@ export const GetProjectsBlockHistory1$inboundSchema: z.ZodType< comment: z.string().optional(), isCascading: z.boolean().optional(), }); - /** @internal */ export type GetProjectsBlockHistory1$Outbound = { action: string; @@ -12510,19 +10041,6 @@ export const GetProjectsBlockHistory1$outboundSchema: z.ZodType< isCascading: 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 GetProjectsBlockHistory1$ { - /** @deprecated use `GetProjectsBlockHistory1$inboundSchema` instead. */ - export const inboundSchema = GetProjectsBlockHistory1$inboundSchema; - /** @deprecated use `GetProjectsBlockHistory1$outboundSchema` instead. */ - export const outboundSchema = GetProjectsBlockHistory1$outboundSchema; - /** @deprecated use `GetProjectsBlockHistory1$Outbound` instead. */ - export type Outbound = GetProjectsBlockHistory1$Outbound; -} - export function getProjectsBlockHistory1ToJSON( getProjectsBlockHistory1: GetProjectsBlockHistory1, ): string { @@ -12530,7 +10048,6 @@ export function getProjectsBlockHistory1ToJSON( GetProjectsBlockHistory1$outboundSchema.parse(getProjectsBlockHistory1), ); } - export function getProjectsBlockHistory1FromJSON( jsonString: string, ): SafeParseResult { @@ -12552,7 +10069,6 @@ export const GetProjectsBlockHistory$inboundSchema: z.ZodType< z.lazy(() => GetProjectsBlockHistory4$inboundSchema), z.lazy(() => GetProjectsBlockHistory2$inboundSchema), ]); - /** @internal */ export type GetProjectsBlockHistory$Outbound = | GetProjectsBlockHistory1$Outbound @@ -12572,19 +10088,6 @@ export const GetProjectsBlockHistory$outboundSchema: z.ZodType< z.lazy(() => GetProjectsBlockHistory2$outboundSchema), ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsBlockHistory$ { - /** @deprecated use `GetProjectsBlockHistory$inboundSchema` instead. */ - export const inboundSchema = GetProjectsBlockHistory$inboundSchema; - /** @deprecated use `GetProjectsBlockHistory$outboundSchema` instead. */ - export const outboundSchema = GetProjectsBlockHistory$outboundSchema; - /** @deprecated use `GetProjectsBlockHistory$Outbound` instead. */ - export type Outbound = GetProjectsBlockHistory$Outbound; -} - export function getProjectsBlockHistoryToJSON( getProjectsBlockHistory: GetProjectsBlockHistory, ): string { @@ -12592,7 +10095,6 @@ export function getProjectsBlockHistoryToJSON( GetProjectsBlockHistory$outboundSchema.parse(getProjectsBlockHistory), ); } - export function getProjectsBlockHistoryFromJSON( jsonString: string, ): SafeParseResult { @@ -12621,8 +10123,8 @@ export const GetProjectsAbuse$inboundSchema: z.ZodType< z.lazy(() => GetProjectsBlockHistory2$inboundSchema), ]), ).optional(), + interstitial: z.boolean().optional(), }); - /** @internal */ export type GetProjectsAbuse$Outbound = { scanner?: string | undefined; @@ -12637,6 +10139,7 @@ export type GetProjectsAbuse$Outbound = { | GetProjectsBlockHistory2$Outbound > | undefined; + interstitial?: boolean | undefined; }; /** @internal */ @@ -12657,21 +10160,9 @@ export const GetProjectsAbuse$outboundSchema: z.ZodType< z.lazy(() => GetProjectsBlockHistory2$outboundSchema), ]), ).optional(), + interstitial: 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 GetProjectsAbuse$ { - /** @deprecated use `GetProjectsAbuse$inboundSchema` instead. */ - export const inboundSchema = GetProjectsAbuse$inboundSchema; - /** @deprecated use `GetProjectsAbuse$outboundSchema` instead. */ - export const outboundSchema = GetProjectsAbuse$outboundSchema; - /** @deprecated use `GetProjectsAbuse$Outbound` instead. */ - export type Outbound = GetProjectsAbuse$Outbound; -} - export function getProjectsAbuseToJSON( getProjectsAbuse: GetProjectsAbuse, ): string { @@ -12679,7 +10170,6 @@ export function getProjectsAbuseToJSON( GetProjectsAbuse$outboundSchema.parse(getProjectsAbuse), ); } - export function getProjectsAbuseFromJSON( jsonString: string, ): SafeParseResult { @@ -12694,23 +10184,11 @@ export function getProjectsAbuseFromJSON( export const GetProjectsHasProjectsType$inboundSchema: z.ZodNativeEnum< typeof GetProjectsHasProjectsType > = z.nativeEnum(GetProjectsHasProjectsType); - /** @internal */ export const GetProjectsHasProjectsType$outboundSchema: z.ZodNativeEnum< typeof GetProjectsHasProjectsType > = GetProjectsHasProjectsType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsHasProjectsType$ { - /** @deprecated use `GetProjectsHasProjectsType$inboundSchema` instead. */ - export const inboundSchema = GetProjectsHasProjectsType$inboundSchema; - /** @deprecated use `GetProjectsHasProjectsType$outboundSchema` instead. */ - export const outboundSchema = GetProjectsHasProjectsType$outboundSchema; -} - /** @internal */ export const GetProjectsHasProjectsValue$inboundSchema: z.ZodType< GetProjectsHasProjectsValue, @@ -12719,7 +10197,6 @@ export const GetProjectsHasProjectsValue$inboundSchema: z.ZodType< > = z.object({ eq: z.string(), }); - /** @internal */ export type GetProjectsHasProjectsValue$Outbound = { eq: string; @@ -12734,19 +10211,6 @@ export const GetProjectsHasProjectsValue$outboundSchema: z.ZodType< eq: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsHasProjectsValue$ { - /** @deprecated use `GetProjectsHasProjectsValue$inboundSchema` instead. */ - export const inboundSchema = GetProjectsHasProjectsValue$inboundSchema; - /** @deprecated use `GetProjectsHasProjectsValue$outboundSchema` instead. */ - export const outboundSchema = GetProjectsHasProjectsValue$outboundSchema; - /** @deprecated use `GetProjectsHasProjectsValue$Outbound` instead. */ - export type Outbound = GetProjectsHasProjectsValue$Outbound; -} - export function getProjectsHasProjectsValueToJSON( getProjectsHasProjectsValue: GetProjectsHasProjectsValue, ): string { @@ -12756,7 +10220,6 @@ export function getProjectsHasProjectsValueToJSON( ), ); } - export function getProjectsHasProjectsValueFromJSON( jsonString: string, ): SafeParseResult { @@ -12776,7 +10239,6 @@ export const GetProjectsHas2$inboundSchema: z.ZodType< type: GetProjectsHasProjectsType$inboundSchema, value: z.lazy(() => GetProjectsHasProjectsValue$inboundSchema), }); - /** @internal */ export type GetProjectsHas2$Outbound = { type: string; @@ -12793,25 +10255,11 @@ export const GetProjectsHas2$outboundSchema: z.ZodType< value: z.lazy(() => GetProjectsHasProjectsValue$outboundSchema), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsHas2$ { - /** @deprecated use `GetProjectsHas2$inboundSchema` instead. */ - export const inboundSchema = GetProjectsHas2$inboundSchema; - /** @deprecated use `GetProjectsHas2$outboundSchema` instead. */ - export const outboundSchema = GetProjectsHas2$outboundSchema; - /** @deprecated use `GetProjectsHas2$Outbound` instead. */ - export type Outbound = GetProjectsHas2$Outbound; -} - export function getProjectsHas2ToJSON( getProjectsHas2: GetProjectsHas2, ): string { return JSON.stringify(GetProjectsHas2$outboundSchema.parse(getProjectsHas2)); } - export function getProjectsHas2FromJSON( jsonString: string, ): SafeParseResult { @@ -12826,44 +10274,20 @@ export function getProjectsHas2FromJSON( export const GetProjectsHasType$inboundSchema: z.ZodNativeEnum< typeof GetProjectsHasType > = z.nativeEnum(GetProjectsHasType); - /** @internal */ export const GetProjectsHasType$outboundSchema: z.ZodNativeEnum< typeof GetProjectsHasType > = GetProjectsHasType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsHasType$ { - /** @deprecated use `GetProjectsHasType$inboundSchema` instead. */ - export const inboundSchema = GetProjectsHasType$inboundSchema; - /** @deprecated use `GetProjectsHasType$outboundSchema` instead. */ - export const outboundSchema = GetProjectsHasType$outboundSchema; -} - /** @internal */ export const GetProjectsHasKey$inboundSchema: z.ZodNativeEnum< typeof GetProjectsHasKey > = z.nativeEnum(GetProjectsHasKey); - /** @internal */ export const GetProjectsHasKey$outboundSchema: z.ZodNativeEnum< typeof GetProjectsHasKey > = GetProjectsHasKey$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsHasKey$ { - /** @deprecated use `GetProjectsHasKey$inboundSchema` instead. */ - export const inboundSchema = GetProjectsHasKey$inboundSchema; - /** @deprecated use `GetProjectsHasKey$outboundSchema` instead. */ - export const outboundSchema = GetProjectsHasKey$outboundSchema; -} - /** @internal */ export const GetProjectsHasValue$inboundSchema: z.ZodType< GetProjectsHasValue, @@ -12872,7 +10296,6 @@ export const GetProjectsHasValue$inboundSchema: z.ZodType< > = z.object({ eq: z.string(), }); - /** @internal */ export type GetProjectsHasValue$Outbound = { eq: string; @@ -12887,19 +10310,6 @@ export const GetProjectsHasValue$outboundSchema: z.ZodType< eq: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsHasValue$ { - /** @deprecated use `GetProjectsHasValue$inboundSchema` instead. */ - export const inboundSchema = GetProjectsHasValue$inboundSchema; - /** @deprecated use `GetProjectsHasValue$outboundSchema` instead. */ - export const outboundSchema = GetProjectsHasValue$outboundSchema; - /** @deprecated use `GetProjectsHasValue$Outbound` instead. */ - export type Outbound = GetProjectsHasValue$Outbound; -} - export function getProjectsHasValueToJSON( getProjectsHasValue: GetProjectsHasValue, ): string { @@ -12907,7 +10317,6 @@ export function getProjectsHasValueToJSON( GetProjectsHasValue$outboundSchema.parse(getProjectsHasValue), ); } - export function getProjectsHasValueFromJSON( jsonString: string, ): SafeParseResult { @@ -12928,7 +10337,6 @@ export const GetProjectsHas1$inboundSchema: z.ZodType< key: GetProjectsHasKey$inboundSchema, value: z.lazy(() => GetProjectsHasValue$inboundSchema), }); - /** @internal */ export type GetProjectsHas1$Outbound = { type: string; @@ -12947,25 +10355,11 @@ export const GetProjectsHas1$outboundSchema: z.ZodType< value: z.lazy(() => GetProjectsHasValue$outboundSchema), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsHas1$ { - /** @deprecated use `GetProjectsHas1$inboundSchema` instead. */ - export const inboundSchema = GetProjectsHas1$inboundSchema; - /** @deprecated use `GetProjectsHas1$outboundSchema` instead. */ - export const outboundSchema = GetProjectsHas1$outboundSchema; - /** @deprecated use `GetProjectsHas1$Outbound` instead. */ - export type Outbound = GetProjectsHas1$Outbound; -} - export function getProjectsHas1ToJSON( getProjectsHas1: GetProjectsHas1, ): string { return JSON.stringify(GetProjectsHas1$outboundSchema.parse(getProjectsHas1)); } - export function getProjectsHas1FromJSON( jsonString: string, ): SafeParseResult { @@ -12985,7 +10379,6 @@ export const GetProjectsInternalRoutesHas$inboundSchema: z.ZodType< z.lazy(() => GetProjectsHas1$inboundSchema), z.lazy(() => GetProjectsHas2$inboundSchema), ]); - /** @internal */ export type GetProjectsInternalRoutesHas$Outbound = | GetProjectsHas1$Outbound @@ -13001,19 +10394,6 @@ export const GetProjectsInternalRoutesHas$outboundSchema: z.ZodType< z.lazy(() => GetProjectsHas2$outboundSchema), ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsInternalRoutesHas$ { - /** @deprecated use `GetProjectsInternalRoutesHas$inboundSchema` instead. */ - export const inboundSchema = GetProjectsInternalRoutesHas$inboundSchema; - /** @deprecated use `GetProjectsInternalRoutesHas$outboundSchema` instead. */ - export const outboundSchema = GetProjectsInternalRoutesHas$outboundSchema; - /** @deprecated use `GetProjectsInternalRoutesHas$Outbound` instead. */ - export type Outbound = GetProjectsInternalRoutesHas$Outbound; -} - export function getProjectsInternalRoutesHasToJSON( getProjectsInternalRoutesHas: GetProjectsInternalRoutesHas, ): string { @@ -13023,7 +10403,6 @@ export function getProjectsInternalRoutesHasToJSON( ), ); } - export function getProjectsInternalRoutesHasFromJSON( jsonString: string, ): SafeParseResult { @@ -13038,23 +10417,11 @@ export function getProjectsInternalRoutesHasFromJSON( export const GetProjectsInternalRoutesAction$inboundSchema: z.ZodNativeEnum< typeof GetProjectsInternalRoutesAction > = z.nativeEnum(GetProjectsInternalRoutesAction); - /** @internal */ export const GetProjectsInternalRoutesAction$outboundSchema: z.ZodNativeEnum< typeof GetProjectsInternalRoutesAction > = GetProjectsInternalRoutesAction$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsInternalRoutesAction$ { - /** @deprecated use `GetProjectsInternalRoutesAction$inboundSchema` instead. */ - export const inboundSchema = GetProjectsInternalRoutesAction$inboundSchema; - /** @deprecated use `GetProjectsInternalRoutesAction$outboundSchema` instead. */ - export const outboundSchema = GetProjectsInternalRoutesAction$outboundSchema; -} - /** @internal */ export const GetProjectsInternalRoutesMitigate$inboundSchema: z.ZodType< GetProjectsInternalRoutesMitigate, @@ -13063,7 +10430,6 @@ export const GetProjectsInternalRoutesMitigate$inboundSchema: z.ZodType< > = z.object({ action: GetProjectsInternalRoutesAction$inboundSchema, }); - /** @internal */ export type GetProjectsInternalRoutesMitigate$Outbound = { action: string; @@ -13078,20 +10444,6 @@ export const GetProjectsInternalRoutesMitigate$outboundSchema: z.ZodType< action: GetProjectsInternalRoutesAction$outboundSchema, }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsInternalRoutesMitigate$ { - /** @deprecated use `GetProjectsInternalRoutesMitigate$inboundSchema` instead. */ - export const inboundSchema = GetProjectsInternalRoutesMitigate$inboundSchema; - /** @deprecated use `GetProjectsInternalRoutesMitigate$outboundSchema` instead. */ - export const outboundSchema = - GetProjectsInternalRoutesMitigate$outboundSchema; - /** @deprecated use `GetProjectsInternalRoutesMitigate$Outbound` instead. */ - export type Outbound = GetProjectsInternalRoutesMitigate$Outbound; -} - export function getProjectsInternalRoutesMitigateToJSON( getProjectsInternalRoutesMitigate: GetProjectsInternalRoutesMitigate, ): string { @@ -13101,7 +10453,6 @@ export function getProjectsInternalRoutesMitigateToJSON( ), ); } - export function getProjectsInternalRoutesMitigateFromJSON( jsonString: string, ): SafeParseResult { @@ -13127,7 +10478,6 @@ export const GetProjectsInternalRoutes2$inboundSchema: z.ZodType< mitigate: z.lazy(() => GetProjectsInternalRoutesMitigate$inboundSchema), src: z.string().optional(), }); - /** @internal */ export type GetProjectsInternalRoutes2$Outbound = { has: Array; @@ -13151,19 +10501,6 @@ export const GetProjectsInternalRoutes2$outboundSchema: z.ZodType< src: z.string().optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsInternalRoutes2$ { - /** @deprecated use `GetProjectsInternalRoutes2$inboundSchema` instead. */ - export const inboundSchema = GetProjectsInternalRoutes2$inboundSchema; - /** @deprecated use `GetProjectsInternalRoutes2$outboundSchema` instead. */ - export const outboundSchema = GetProjectsInternalRoutes2$outboundSchema; - /** @deprecated use `GetProjectsInternalRoutes2$Outbound` instead. */ - export type Outbound = GetProjectsInternalRoutes2$Outbound; -} - export function getProjectsInternalRoutes2ToJSON( getProjectsInternalRoutes2: GetProjectsInternalRoutes2, ): string { @@ -13171,7 +10508,6 @@ export function getProjectsInternalRoutes2ToJSON( GetProjectsInternalRoutes2$outboundSchema.parse(getProjectsInternalRoutes2), ); } - export function getProjectsInternalRoutes2FromJSON( jsonString: string, ): SafeParseResult { @@ -13191,7 +10527,6 @@ export const GetProjectsInternalRoutes1$inboundSchema: z.ZodType< src: z.string(), status: z.number(), }); - /** @internal */ export type GetProjectsInternalRoutes1$Outbound = { src: string; @@ -13208,19 +10543,6 @@ export const GetProjectsInternalRoutes1$outboundSchema: z.ZodType< status: 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 GetProjectsInternalRoutes1$ { - /** @deprecated use `GetProjectsInternalRoutes1$inboundSchema` instead. */ - export const inboundSchema = GetProjectsInternalRoutes1$inboundSchema; - /** @deprecated use `GetProjectsInternalRoutes1$outboundSchema` instead. */ - export const outboundSchema = GetProjectsInternalRoutes1$outboundSchema; - /** @deprecated use `GetProjectsInternalRoutes1$Outbound` instead. */ - export type Outbound = GetProjectsInternalRoutes1$Outbound; -} - export function getProjectsInternalRoutes1ToJSON( getProjectsInternalRoutes1: GetProjectsInternalRoutes1, ): string { @@ -13228,7 +10550,6 @@ export function getProjectsInternalRoutes1ToJSON( GetProjectsInternalRoutes1$outboundSchema.parse(getProjectsInternalRoutes1), ); } - export function getProjectsInternalRoutes1FromJSON( jsonString: string, ): SafeParseResult { @@ -13248,7 +10569,6 @@ export const GetProjectsInternalRoutes$inboundSchema: z.ZodType< z.lazy(() => GetProjectsInternalRoutes1$inboundSchema), z.lazy(() => GetProjectsInternalRoutes2$inboundSchema), ]); - /** @internal */ export type GetProjectsInternalRoutes$Outbound = | GetProjectsInternalRoutes1$Outbound @@ -13264,19 +10584,6 @@ export const GetProjectsInternalRoutes$outboundSchema: z.ZodType< z.lazy(() => GetProjectsInternalRoutes2$outboundSchema), ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsInternalRoutes$ { - /** @deprecated use `GetProjectsInternalRoutes$inboundSchema` instead. */ - export const inboundSchema = GetProjectsInternalRoutes$inboundSchema; - /** @deprecated use `GetProjectsInternalRoutes$outboundSchema` instead. */ - export const outboundSchema = GetProjectsInternalRoutes$outboundSchema; - /** @deprecated use `GetProjectsInternalRoutes$Outbound` instead. */ - export type Outbound = GetProjectsInternalRoutes$Outbound; -} - export function getProjectsInternalRoutesToJSON( getProjectsInternalRoutes: GetProjectsInternalRoutes, ): string { @@ -13284,7 +10591,6 @@ export function getProjectsInternalRoutesToJSON( GetProjectsInternalRoutes$outboundSchema.parse(getProjectsInternalRoutes), ); } - export function getProjectsInternalRoutesFromJSON( jsonString: string, ): SafeParseResult { @@ -13295,6 +10601,236 @@ export function getProjectsInternalRoutesFromJSON( ); } +/** @internal */ +export const GetProjectsAction$inboundSchema: z.ZodNativeEnum< + typeof GetProjectsAction +> = z.nativeEnum(GetProjectsAction); +/** @internal */ +export const GetProjectsAction$outboundSchema: z.ZodNativeEnum< + typeof GetProjectsAction +> = GetProjectsAction$inboundSchema; + +/** @internal */ +export const GetProjectsValuePreviousValue$inboundSchema: z.ZodType< + GetProjectsValuePreviousValue, + z.ZodTypeDef, + unknown +> = z.union([z.string(), z.number(), z.boolean()]); +/** @internal */ +export type GetProjectsValuePreviousValue$Outbound = string | number | boolean; + +/** @internal */ +export const GetProjectsValuePreviousValue$outboundSchema: z.ZodType< + GetProjectsValuePreviousValue$Outbound, + z.ZodTypeDef, + GetProjectsValuePreviousValue +> = z.union([z.string(), z.number(), z.boolean()]); + +export function getProjectsValuePreviousValueToJSON( + getProjectsValuePreviousValue: GetProjectsValuePreviousValue, +): string { + return JSON.stringify( + GetProjectsValuePreviousValue$outboundSchema.parse( + getProjectsValuePreviousValue, + ), + ); +} +export function getProjectsValuePreviousValueFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectsValuePreviousValue$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectsValuePreviousValue' from JSON`, + ); +} + +/** @internal */ +export const GetProjectsValueCurrentValue$inboundSchema: z.ZodType< + GetProjectsValueCurrentValue, + z.ZodTypeDef, + unknown +> = z.union([z.string(), z.number(), z.boolean()]); +/** @internal */ +export type GetProjectsValueCurrentValue$Outbound = string | number | boolean; + +/** @internal */ +export const GetProjectsValueCurrentValue$outboundSchema: z.ZodType< + GetProjectsValueCurrentValue$Outbound, + z.ZodTypeDef, + GetProjectsValueCurrentValue +> = z.union([z.string(), z.number(), z.boolean()]); + +export function getProjectsValueCurrentValueToJSON( + getProjectsValueCurrentValue: GetProjectsValueCurrentValue, +): string { + return JSON.stringify( + GetProjectsValueCurrentValue$outboundSchema.parse( + getProjectsValueCurrentValue, + ), + ); +} +export function getProjectsValueCurrentValueFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectsValueCurrentValue$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectsValueCurrentValue' from JSON`, + ); +} + +/** @internal */ +export const GetProjectsValue4$inboundSchema: z.ZodType< + GetProjectsValue4, + z.ZodTypeDef, + unknown +> = z.object({ + previousValue: z.union([z.string(), z.number(), z.boolean()]), + currentValue: z.union([z.string(), z.number(), z.boolean()]), +}); +/** @internal */ +export type GetProjectsValue4$Outbound = { + previousValue: string | number | boolean; + currentValue: string | number | boolean; +}; + +/** @internal */ +export const GetProjectsValue4$outboundSchema: z.ZodType< + GetProjectsValue4$Outbound, + z.ZodTypeDef, + GetProjectsValue4 +> = z.object({ + previousValue: z.union([z.string(), z.number(), z.boolean()]), + currentValue: z.union([z.string(), z.number(), z.boolean()]), +}); + +export function getProjectsValue4ToJSON( + getProjectsValue4: GetProjectsValue4, +): string { + return JSON.stringify( + GetProjectsValue4$outboundSchema.parse(getProjectsValue4), + ); +} +export function getProjectsValue4FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectsValue4$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectsValue4' from JSON`, + ); +} + +/** @internal */ +export const GetProjectsValue$inboundSchema: z.ZodType< + GetProjectsValue, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => GetProjectsValue4$inboundSchema), + z.string(), + z.number(), + z.boolean(), +]); +/** @internal */ +export type GetProjectsValue$Outbound = + | GetProjectsValue4$Outbound + | string + | number + | boolean; + +/** @internal */ +export const GetProjectsValue$outboundSchema: z.ZodType< + GetProjectsValue$Outbound, + z.ZodTypeDef, + GetProjectsValue +> = z.union([ + z.lazy(() => GetProjectsValue4$outboundSchema), + z.string(), + z.number(), + z.boolean(), +]); + +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 GetProjectsDismissedToasts$inboundSchema: z.ZodType< + GetProjectsDismissedToasts, + z.ZodTypeDef, + unknown +> = z.object({ + key: z.string(), + dismissedAt: z.number(), + action: GetProjectsAction$inboundSchema, + value: z.nullable( + z.union([ + z.lazy(() => GetProjectsValue4$inboundSchema), + z.string(), + z.number(), + z.boolean(), + ]), + ), +}); +/** @internal */ +export type GetProjectsDismissedToasts$Outbound = { + key: string; + dismissedAt: number; + action: string; + value: GetProjectsValue4$Outbound | string | number | boolean | null; +}; + +/** @internal */ +export const GetProjectsDismissedToasts$outboundSchema: z.ZodType< + GetProjectsDismissedToasts$Outbound, + z.ZodTypeDef, + GetProjectsDismissedToasts +> = z.object({ + key: z.string(), + dismissedAt: z.number(), + action: GetProjectsAction$outboundSchema, + value: z.nullable( + z.union([ + z.lazy(() => GetProjectsValue4$outboundSchema), + z.string(), + z.number(), + z.boolean(), + ]), + ), +}); + +export function getProjectsDismissedToastsToJSON( + getProjectsDismissedToasts: GetProjectsDismissedToasts, +): string { + return JSON.stringify( + GetProjectsDismissedToasts$outboundSchema.parse(getProjectsDismissedToasts), + ); +} +export function getProjectsDismissedToastsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetProjectsDismissedToasts$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetProjectsDismissedToasts' from JSON`, + ); +} + /** @internal */ export const GetProjectsProjects$inboundSchema: z.ZodType< GetProjectsProjects, @@ -13349,6 +10885,7 @@ export const GetProjectsProjects$inboundSchema: z.ZodType< microfrontends: z.union([ z.lazy(() => GetProjectsMicrofrontends1$inboundSchema), z.lazy(() => GetProjectsMicrofrontends2$inboundSchema), + z.lazy(() => GetProjectsMicrofrontends3$inboundSchema), ]).optional(), name: z.string(), nodeVersion: GetProjectsNodeVersion$inboundSchema, @@ -13376,6 +10913,7 @@ export const GetProjectsProjects$inboundSchema: z.ZodType< skewProtectionBoundaryAt: z.number().optional(), skewProtectionMaxAge: z.number().optional(), skipGitConnectDuringLink: z.boolean().optional(), + staticIps: z.lazy(() => GetProjectsStaticIps$inboundSchema).optional(), sourceFilesOutsideRootDirectory: z.boolean().optional(), enableAffectedProjectsDeployments: z.boolean().optional(), ssoProtection: z.nullable( @@ -13430,8 +10968,11 @@ export const GetProjectsProjects$inboundSchema: z.ZodType< z.lazy(() => GetProjectsInternalRoutes2$inboundSchema), ]), ).optional(), + hasDeployments: z.boolean().optional(), + dismissedToasts: z.array( + z.lazy(() => GetProjectsDismissedToasts$inboundSchema), + ).optional(), }); - /** @internal */ export type GetProjectsProjects$Outbound = { accountId: string; @@ -13480,6 +11021,7 @@ export type GetProjectsProjects$Outbound = { microfrontends?: | GetProjectsMicrofrontends1$Outbound | GetProjectsMicrofrontends2$Outbound + | GetProjectsMicrofrontends3$Outbound | undefined; name: string; nodeVersion: string; @@ -13500,6 +11042,7 @@ export type GetProjectsProjects$Outbound = { skewProtectionBoundaryAt?: number | undefined; skewProtectionMaxAge?: number | undefined; skipGitConnectDuringLink?: boolean | undefined; + staticIps?: GetProjectsStaticIps$Outbound | undefined; sourceFilesOutsideRootDirectory?: boolean | undefined; enableAffectedProjectsDeployments?: boolean | undefined; ssoProtection?: GetProjectsSsoProtection$Outbound | null | undefined; @@ -13545,6 +11088,8 @@ export type GetProjectsProjects$Outbound = { GetProjectsInternalRoutes1$Outbound | GetProjectsInternalRoutes2$Outbound > | undefined; + hasDeployments?: boolean | undefined; + dismissedToasts?: Array | undefined; }; /** @internal */ @@ -13601,6 +11146,7 @@ export const GetProjectsProjects$outboundSchema: z.ZodType< microfrontends: z.union([ z.lazy(() => GetProjectsMicrofrontends1$outboundSchema), z.lazy(() => GetProjectsMicrofrontends2$outboundSchema), + z.lazy(() => GetProjectsMicrofrontends3$outboundSchema), ]).optional(), name: z.string(), nodeVersion: GetProjectsNodeVersion$outboundSchema, @@ -13628,6 +11174,7 @@ export const GetProjectsProjects$outboundSchema: z.ZodType< skewProtectionBoundaryAt: z.number().optional(), skewProtectionMaxAge: z.number().optional(), skipGitConnectDuringLink: z.boolean().optional(), + staticIps: z.lazy(() => GetProjectsStaticIps$outboundSchema).optional(), sourceFilesOutsideRootDirectory: z.boolean().optional(), enableAffectedProjectsDeployments: z.boolean().optional(), ssoProtection: z.nullable( @@ -13682,21 +11229,12 @@ export const GetProjectsProjects$outboundSchema: z.ZodType< z.lazy(() => GetProjectsInternalRoutes2$outboundSchema), ]), ).optional(), + hasDeployments: z.boolean().optional(), + dismissedToasts: z.array( + z.lazy(() => GetProjectsDismissedToasts$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 { @@ -13704,7 +11242,6 @@ export function getProjectsProjectsToJSON( GetProjectsProjects$outboundSchema.parse(getProjectsProjects), ); } - export function getProjectsProjectsFromJSON( jsonString: string, ): SafeParseResult { @@ -13724,7 +11261,6 @@ export const Pagination1$inboundSchema: z.ZodType< count: z.number(), next: z.nullable(z.string()), }); - /** @internal */ export type Pagination1$Outbound = { count: number; @@ -13741,23 +11277,9 @@ export const Pagination1$outboundSchema: z.ZodType< 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 Pagination1$ { - /** @deprecated use `Pagination1$inboundSchema` instead. */ - export const inboundSchema = Pagination1$inboundSchema; - /** @deprecated use `Pagination1$outboundSchema` instead. */ - export const outboundSchema = Pagination1$outboundSchema; - /** @deprecated use `Pagination1$Outbound` instead. */ - export type Outbound = Pagination1$Outbound; -} - export function pagination1ToJSON(pagination1: Pagination1): string { return JSON.stringify(Pagination1$outboundSchema.parse(pagination1)); } - export function pagination1FromJSON( jsonString: string, ): SafeParseResult { @@ -13777,7 +11299,6 @@ export const GetProjectsPagination$inboundSchema: z.ZodType< Pagination$inboundSchema, z.lazy(() => Pagination1$inboundSchema), ]); - /** @internal */ export type GetProjectsPagination$Outbound = | Pagination$Outbound @@ -13793,19 +11314,6 @@ export const GetProjectsPagination$outboundSchema: z.ZodType< z.lazy(() => Pagination1$outboundSchema), ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetProjectsPagination$ { - /** @deprecated use `GetProjectsPagination$inboundSchema` instead. */ - export const inboundSchema = GetProjectsPagination$inboundSchema; - /** @deprecated use `GetProjectsPagination$outboundSchema` instead. */ - export const outboundSchema = GetProjectsPagination$outboundSchema; - /** @deprecated use `GetProjectsPagination$Outbound` instead. */ - export type Outbound = GetProjectsPagination$Outbound; -} - export function getProjectsPaginationToJSON( getProjectsPagination: GetProjectsPagination, ): string { @@ -13813,7 +11321,6 @@ export function getProjectsPaginationToJSON( GetProjectsPagination$outboundSchema.parse(getProjectsPagination), ); } - export function getProjectsPaginationFromJSON( jsonString: string, ): SafeParseResult { @@ -13836,7 +11343,6 @@ export const GetProjectsResponseBody$inboundSchema: z.ZodType< z.lazy(() => Pagination1$inboundSchema), ]), }); - /** @internal */ export type GetProjectsResponseBody$Outbound = { projects: Array; @@ -13856,19 +11362,6 @@ export const GetProjectsResponseBody$outboundSchema: z.ZodType< ]), }); -/** - * @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 { @@ -13876,7 +11369,6 @@ export function getProjectsResponseBodyToJSON( GetProjectsResponseBody$outboundSchema.parse(getProjectsResponseBody), ); } - export function getProjectsResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/getrecordsop.ts b/src/models/getrecordsop.ts index 3988a12f5..dc4b541fc 100644 --- a/src/models/getrecordsop.ts +++ b/src/models/getrecordsop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; @@ -140,7 +140,6 @@ export const GetRecordsRequest$inboundSchema: z.ZodType< teamId: z.string().optional(), slug: z.string().optional(), }); - /** @internal */ export type GetRecordsRequest$Outbound = { domain: string; @@ -165,19 +164,6 @@ export const GetRecordsRequest$outboundSchema: z.ZodType< 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 { @@ -185,7 +171,6 @@ export function getRecordsRequestToJSON( GetRecordsRequest$outboundSchema.parse(getRecordsRequest), ); } - export function getRecordsRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -200,23 +185,11 @@ export function getRecordsRequestFromJSON( 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, @@ -238,7 +211,6 @@ export const ResponseBodyRecords$inboundSchema: z.ZodType< ttl: z.number().optional(), comment: z.string().optional(), }); - /** @internal */ export type ResponseBodyRecords$Outbound = { id: string; @@ -279,19 +251,6 @@ export const ResponseBodyRecords$outboundSchema: z.ZodType< 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 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 { @@ -299,7 +258,6 @@ export function responseBodyRecordsToJSON( ResponseBodyRecords$outboundSchema.parse(responseBodyRecords), ); } - export function responseBodyRecordsFromJSON( jsonString: string, ): SafeParseResult { @@ -319,7 +277,6 @@ export const ResponseBody3$inboundSchema: z.ZodType< records: z.array(z.lazy(() => ResponseBodyRecords$inboundSchema)), pagination: Pagination$inboundSchema, }); - /** @internal */ export type ResponseBody3$Outbound = { records: Array; @@ -336,23 +293,9 @@ export const ResponseBody3$outboundSchema: z.ZodType< 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 { @@ -367,23 +310,11 @@ export function responseBody3FromJSON( 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({ @@ -402,7 +333,6 @@ export const Records$inboundSchema: z.ZodType = ttl: z.number().optional(), comment: z.string().optional(), }); - /** @internal */ export type Records$Outbound = { id: string; @@ -443,23 +373,9 @@ export const Records$outboundSchema: z.ZodType< 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 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 { @@ -478,7 +394,6 @@ export const GetRecordsResponseBody2$inboundSchema: z.ZodType< > = z.object({ records: z.array(z.lazy(() => Records$inboundSchema)), }); - /** @internal */ export type GetRecordsResponseBody2$Outbound = { records: Array; @@ -493,19 +408,6 @@ export const GetRecordsResponseBody2$outboundSchema: z.ZodType< 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 { @@ -513,7 +415,6 @@ export function getRecordsResponseBody2ToJSON( GetRecordsResponseBody2$outboundSchema.parse(getRecordsResponseBody2), ); } - export function getRecordsResponseBody2FromJSON( jsonString: string, ): SafeParseResult { @@ -534,7 +435,6 @@ export const GetRecordsResponseBody$inboundSchema: z.ZodType< z.lazy(() => GetRecordsResponseBody2$inboundSchema), z.string(), ]); - /** @internal */ export type GetRecordsResponseBody$Outbound = | ResponseBody3$Outbound @@ -552,19 +452,6 @@ export const GetRecordsResponseBody$outboundSchema: z.ZodType< z.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 { @@ -572,7 +459,6 @@ export function getRecordsResponseBodyToJSON( GetRecordsResponseBody$outboundSchema.parse(getRecordsResponseBody), ); } - export function getRecordsResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/getrollingreleasebillingstatusop.ts b/src/models/getrollingreleasebillingstatusop.ts index dd6bd8f59..777f6b587 100644 --- a/src/models/getrollingreleasebillingstatusop.ts +++ b/src/models/getrollingreleasebillingstatusop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; @@ -99,7 +99,6 @@ export const GetRollingReleaseBillingStatusRequest$inboundSchema: z.ZodType< teamId: z.string().optional(), slug: z.string().optional(), }); - /** @internal */ export type GetRollingReleaseBillingStatusRequest$Outbound = { idOrName: string; @@ -118,21 +117,6 @@ export const GetRollingReleaseBillingStatusRequest$outboundSchema: z.ZodType< 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 GetRollingReleaseBillingStatusRequest$ { - /** @deprecated use `GetRollingReleaseBillingStatusRequest$inboundSchema` instead. */ - export const inboundSchema = - GetRollingReleaseBillingStatusRequest$inboundSchema; - /** @deprecated use `GetRollingReleaseBillingStatusRequest$outboundSchema` instead. */ - export const outboundSchema = - GetRollingReleaseBillingStatusRequest$outboundSchema; - /** @deprecated use `GetRollingReleaseBillingStatusRequest$Outbound` instead. */ - export type Outbound = GetRollingReleaseBillingStatusRequest$Outbound; -} - export function getRollingReleaseBillingStatusRequestToJSON( getRollingReleaseBillingStatusRequest: GetRollingReleaseBillingStatusRequest, ): string { @@ -142,7 +126,6 @@ export function getRollingReleaseBillingStatusRequestToJSON( ), ); } - export function getRollingReleaseBillingStatusRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -161,7 +144,6 @@ export const GetRollingReleaseBillingStatusResponseBodyRollingReleaseResponseRea > = z.nativeEnum( GetRollingReleaseBillingStatusResponseBodyRollingReleaseResponseReason, ); - /** @internal */ export const GetRollingReleaseBillingStatusResponseBodyRollingReleaseResponseReason$outboundSchema: z.ZodNativeEnum< @@ -169,19 +151,6 @@ export const GetRollingReleaseBillingStatusResponseBodyRollingReleaseResponseRea > = GetRollingReleaseBillingStatusResponseBodyRollingReleaseResponseReason$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetRollingReleaseBillingStatusResponseBodyRollingReleaseResponseReason$ { - /** @deprecated use `GetRollingReleaseBillingStatusResponseBodyRollingReleaseResponseReason$inboundSchema` instead. */ - export const inboundSchema = - GetRollingReleaseBillingStatusResponseBodyRollingReleaseResponseReason$inboundSchema; - /** @deprecated use `GetRollingReleaseBillingStatusResponseBodyRollingReleaseResponseReason$outboundSchema` instead. */ - export const outboundSchema = - GetRollingReleaseBillingStatusResponseBodyRollingReleaseResponseReason$outboundSchema; -} - /** @internal */ export const ResponseBody4$inboundSchema: z.ZodType< ResponseBody4, @@ -193,7 +162,6 @@ export const ResponseBody4$inboundSchema: z.ZodType< GetRollingReleaseBillingStatusResponseBodyRollingReleaseResponseReason$inboundSchema, message: z.string(), }); - /** @internal */ export type ResponseBody4$Outbound = { availableSlots: number; @@ -213,23 +181,9 @@ export const ResponseBody4$outboundSchema: z.ZodType< 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 ResponseBody4$ { - /** @deprecated use `ResponseBody4$inboundSchema` instead. */ - export const inboundSchema = ResponseBody4$inboundSchema; - /** @deprecated use `ResponseBody4$outboundSchema` instead. */ - export const outboundSchema = ResponseBody4$outboundSchema; - /** @deprecated use `ResponseBody4$Outbound` instead. */ - export type Outbound = ResponseBody4$Outbound; -} - export function responseBody4ToJSON(responseBody4: ResponseBody4): string { return JSON.stringify(ResponseBody4$outboundSchema.parse(responseBody4)); } - export function responseBody4FromJSON( jsonString: string, ): SafeParseResult { @@ -247,7 +201,6 @@ export const GetRollingReleaseBillingStatusResponseBodyRollingReleaseReason$inbo > = z.nativeEnum( GetRollingReleaseBillingStatusResponseBodyRollingReleaseReason, ); - /** @internal */ export const GetRollingReleaseBillingStatusResponseBodyRollingReleaseReason$outboundSchema: z.ZodNativeEnum< @@ -255,19 +208,6 @@ export const GetRollingReleaseBillingStatusResponseBodyRollingReleaseReason$outb > = GetRollingReleaseBillingStatusResponseBodyRollingReleaseReason$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetRollingReleaseBillingStatusResponseBodyRollingReleaseReason$ { - /** @deprecated use `GetRollingReleaseBillingStatusResponseBodyRollingReleaseReason$inboundSchema` instead. */ - export const inboundSchema = - GetRollingReleaseBillingStatusResponseBodyRollingReleaseReason$inboundSchema; - /** @deprecated use `GetRollingReleaseBillingStatusResponseBodyRollingReleaseReason$outboundSchema` instead. */ - export const outboundSchema = - GetRollingReleaseBillingStatusResponseBodyRollingReleaseReason$outboundSchema; -} - /** @internal */ export const GetRollingReleaseBillingStatusResponseBody3$inboundSchema: z.ZodType< @@ -281,7 +221,6 @@ export const GetRollingReleaseBillingStatusResponseBody3$inboundSchema: message: z.string(), enabledProjects: z.array(z.string()), }); - /** @internal */ export type GetRollingReleaseBillingStatusResponseBody3$Outbound = { availableSlots: number; @@ -304,21 +243,6 @@ export const GetRollingReleaseBillingStatusResponseBody3$outboundSchema: enabledProjects: 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 GetRollingReleaseBillingStatusResponseBody3$ { - /** @deprecated use `GetRollingReleaseBillingStatusResponseBody3$inboundSchema` instead. */ - export const inboundSchema = - GetRollingReleaseBillingStatusResponseBody3$inboundSchema; - /** @deprecated use `GetRollingReleaseBillingStatusResponseBody3$outboundSchema` instead. */ - export const outboundSchema = - GetRollingReleaseBillingStatusResponseBody3$outboundSchema; - /** @deprecated use `GetRollingReleaseBillingStatusResponseBody3$Outbound` instead. */ - export type Outbound = GetRollingReleaseBillingStatusResponseBody3$Outbound; -} - export function getRollingReleaseBillingStatusResponseBody3ToJSON( getRollingReleaseBillingStatusResponseBody3: GetRollingReleaseBillingStatusResponseBody3, @@ -329,7 +253,6 @@ export function getRollingReleaseBillingStatusResponseBody3ToJSON( ), ); } - export function getRollingReleaseBillingStatusResponseBody3FromJSON( jsonString: string, ): SafeParseResult< @@ -350,46 +273,20 @@ export function getRollingReleaseBillingStatusResponseBody3FromJSON( export const AvailableSlots$inboundSchema: z.ZodNativeEnum< typeof AvailableSlots > = z.nativeEnum(AvailableSlots); - /** @internal */ export const AvailableSlots$outboundSchema: z.ZodNativeEnum< typeof AvailableSlots > = AvailableSlots$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace AvailableSlots$ { - /** @deprecated use `AvailableSlots$inboundSchema` instead. */ - export const inboundSchema = AvailableSlots$inboundSchema; - /** @deprecated use `AvailableSlots$outboundSchema` instead. */ - export const outboundSchema = AvailableSlots$outboundSchema; -} - /** @internal */ export const GetRollingReleaseBillingStatusResponseBodyReason$inboundSchema: z.ZodNativeEnum = z .nativeEnum(GetRollingReleaseBillingStatusResponseBodyReason); - /** @internal */ export const GetRollingReleaseBillingStatusResponseBodyReason$outboundSchema: z.ZodNativeEnum = GetRollingReleaseBillingStatusResponseBodyReason$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetRollingReleaseBillingStatusResponseBodyReason$ { - /** @deprecated use `GetRollingReleaseBillingStatusResponseBodyReason$inboundSchema` instead. */ - export const inboundSchema = - GetRollingReleaseBillingStatusResponseBodyReason$inboundSchema; - /** @deprecated use `GetRollingReleaseBillingStatusResponseBodyReason$outboundSchema` instead. */ - export const outboundSchema = - GetRollingReleaseBillingStatusResponseBodyReason$outboundSchema; -} - /** @internal */ export const GetRollingReleaseBillingStatusResponseBody2$inboundSchema: z.ZodType< @@ -401,7 +298,6 @@ export const GetRollingReleaseBillingStatusResponseBody2$inboundSchema: reason: GetRollingReleaseBillingStatusResponseBodyReason$inboundSchema, message: z.string(), }); - /** @internal */ export type GetRollingReleaseBillingStatusResponseBody2$Outbound = { availableSlots: string; @@ -421,21 +317,6 @@ export const GetRollingReleaseBillingStatusResponseBody2$outboundSchema: 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 GetRollingReleaseBillingStatusResponseBody2$ { - /** @deprecated use `GetRollingReleaseBillingStatusResponseBody2$inboundSchema` instead. */ - export const inboundSchema = - GetRollingReleaseBillingStatusResponseBody2$inboundSchema; - /** @deprecated use `GetRollingReleaseBillingStatusResponseBody2$outboundSchema` instead. */ - export const outboundSchema = - GetRollingReleaseBillingStatusResponseBody2$outboundSchema; - /** @deprecated use `GetRollingReleaseBillingStatusResponseBody2$Outbound` instead. */ - export type Outbound = GetRollingReleaseBillingStatusResponseBody2$Outbound; -} - export function getRollingReleaseBillingStatusResponseBody2ToJSON( getRollingReleaseBillingStatusResponseBody2: GetRollingReleaseBillingStatusResponseBody2, @@ -446,7 +327,6 @@ export function getRollingReleaseBillingStatusResponseBody2ToJSON( ), ); } - export function getRollingReleaseBillingStatusResponseBody2FromJSON( jsonString: string, ): SafeParseResult< @@ -467,23 +347,11 @@ export function getRollingReleaseBillingStatusResponseBody2FromJSON( export const ResponseBodyReason$inboundSchema: z.ZodNativeEnum< typeof ResponseBodyReason > = z.nativeEnum(ResponseBodyReason); - /** @internal */ export const ResponseBodyReason$outboundSchema: z.ZodNativeEnum< typeof ResponseBodyReason > = ResponseBodyReason$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ResponseBodyReason$ { - /** @deprecated use `ResponseBodyReason$inboundSchema` instead. */ - export const inboundSchema = ResponseBodyReason$inboundSchema; - /** @deprecated use `ResponseBodyReason$outboundSchema` instead. */ - export const outboundSchema = ResponseBodyReason$outboundSchema; -} - /** @internal */ export const GetRollingReleaseBillingStatusResponseBody1$inboundSchema: z.ZodType< @@ -495,7 +363,6 @@ export const GetRollingReleaseBillingStatusResponseBody1$inboundSchema: reason: ResponseBodyReason$inboundSchema, message: z.string(), }); - /** @internal */ export type GetRollingReleaseBillingStatusResponseBody1$Outbound = { availableSlots: number; @@ -515,21 +382,6 @@ export const GetRollingReleaseBillingStatusResponseBody1$outboundSchema: 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 GetRollingReleaseBillingStatusResponseBody1$ { - /** @deprecated use `GetRollingReleaseBillingStatusResponseBody1$inboundSchema` instead. */ - export const inboundSchema = - GetRollingReleaseBillingStatusResponseBody1$inboundSchema; - /** @deprecated use `GetRollingReleaseBillingStatusResponseBody1$outboundSchema` instead. */ - export const outboundSchema = - GetRollingReleaseBillingStatusResponseBody1$outboundSchema; - /** @deprecated use `GetRollingReleaseBillingStatusResponseBody1$Outbound` instead. */ - export type Outbound = GetRollingReleaseBillingStatusResponseBody1$Outbound; -} - export function getRollingReleaseBillingStatusResponseBody1ToJSON( getRollingReleaseBillingStatusResponseBody1: GetRollingReleaseBillingStatusResponseBody1, @@ -540,7 +392,6 @@ export function getRollingReleaseBillingStatusResponseBody1ToJSON( ), ); } - export function getRollingReleaseBillingStatusResponseBody1FromJSON( jsonString: string, ): SafeParseResult< @@ -566,7 +417,6 @@ export const GetRollingReleaseBillingStatusResponseBody$inboundSchema: z.lazy(() => GetRollingReleaseBillingStatusResponseBody2$inboundSchema), z.lazy(() => ResponseBody4$inboundSchema), ]); - /** @internal */ export type GetRollingReleaseBillingStatusResponseBody$Outbound = | GetRollingReleaseBillingStatusResponseBody3$Outbound @@ -587,21 +437,6 @@ export const GetRollingReleaseBillingStatusResponseBody$outboundSchema: z.lazy(() => ResponseBody4$outboundSchema), ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetRollingReleaseBillingStatusResponseBody$ { - /** @deprecated use `GetRollingReleaseBillingStatusResponseBody$inboundSchema` instead. */ - export const inboundSchema = - GetRollingReleaseBillingStatusResponseBody$inboundSchema; - /** @deprecated use `GetRollingReleaseBillingStatusResponseBody$outboundSchema` instead. */ - export const outboundSchema = - GetRollingReleaseBillingStatusResponseBody$outboundSchema; - /** @deprecated use `GetRollingReleaseBillingStatusResponseBody$Outbound` instead. */ - export type Outbound = GetRollingReleaseBillingStatusResponseBody$Outbound; -} - export function getRollingReleaseBillingStatusResponseBodyToJSON( getRollingReleaseBillingStatusResponseBody: GetRollingReleaseBillingStatusResponseBody, @@ -612,7 +447,6 @@ export function getRollingReleaseBillingStatusResponseBodyToJSON( ), ); } - export function getRollingReleaseBillingStatusResponseBodyFromJSON( jsonString: string, ): SafeParseResult< diff --git a/src/models/getrollingreleaseconfigop.ts b/src/models/getrollingreleaseconfigop.ts index d850f6e17..3ed682a67 100644 --- a/src/models/getrollingreleaseconfigop.ts +++ b/src/models/getrollingreleaseconfigop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -79,7 +79,6 @@ export const GetRollingReleaseConfigRequest$inboundSchema: z.ZodType< teamId: z.string().optional(), slug: z.string().optional(), }); - /** @internal */ export type GetRollingReleaseConfigRequest$Outbound = { idOrName: string; @@ -98,19 +97,6 @@ export const GetRollingReleaseConfigRequest$outboundSchema: z.ZodType< 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 GetRollingReleaseConfigRequest$ { - /** @deprecated use `GetRollingReleaseConfigRequest$inboundSchema` instead. */ - export const inboundSchema = GetRollingReleaseConfigRequest$inboundSchema; - /** @deprecated use `GetRollingReleaseConfigRequest$outboundSchema` instead. */ - export const outboundSchema = GetRollingReleaseConfigRequest$outboundSchema; - /** @deprecated use `GetRollingReleaseConfigRequest$Outbound` instead. */ - export type Outbound = GetRollingReleaseConfigRequest$Outbound; -} - export function getRollingReleaseConfigRequestToJSON( getRollingReleaseConfigRequest: GetRollingReleaseConfigRequest, ): string { @@ -120,7 +106,6 @@ export function getRollingReleaseConfigRequestToJSON( ), ); } - export function getRollingReleaseConfigRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -142,7 +127,6 @@ export const GetRollingReleaseConfigStages$inboundSchema: z.ZodType< duration: z.number().optional(), linearShift: z.boolean().optional(), }); - /** @internal */ export type GetRollingReleaseConfigStages$Outbound = { targetPercentage: number; @@ -163,19 +147,6 @@ export const GetRollingReleaseConfigStages$outboundSchema: z.ZodType< linearShift: 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 GetRollingReleaseConfigStages$ { - /** @deprecated use `GetRollingReleaseConfigStages$inboundSchema` instead. */ - export const inboundSchema = GetRollingReleaseConfigStages$inboundSchema; - /** @deprecated use `GetRollingReleaseConfigStages$outboundSchema` instead. */ - export const outboundSchema = GetRollingReleaseConfigStages$outboundSchema; - /** @deprecated use `GetRollingReleaseConfigStages$Outbound` instead. */ - export type Outbound = GetRollingReleaseConfigStages$Outbound; -} - export function getRollingReleaseConfigStagesToJSON( getRollingReleaseConfigStages: GetRollingReleaseConfigStages, ): string { @@ -185,7 +156,6 @@ export function getRollingReleaseConfigStagesToJSON( ), ); } - export function getRollingReleaseConfigStagesFromJSON( jsonString: string, ): SafeParseResult { @@ -208,7 +178,6 @@ export const GetRollingReleaseConfigRollingRelease$inboundSchema: z.ZodType< ).optional(), canaryResponseHeader: z.boolean().optional(), }); - /** @internal */ export type GetRollingReleaseConfigRollingRelease$Outbound = { target: string; @@ -229,21 +198,6 @@ export const GetRollingReleaseConfigRollingRelease$outboundSchema: z.ZodType< canaryResponseHeader: 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 GetRollingReleaseConfigRollingRelease$ { - /** @deprecated use `GetRollingReleaseConfigRollingRelease$inboundSchema` instead. */ - export const inboundSchema = - GetRollingReleaseConfigRollingRelease$inboundSchema; - /** @deprecated use `GetRollingReleaseConfigRollingRelease$outboundSchema` instead. */ - export const outboundSchema = - GetRollingReleaseConfigRollingRelease$outboundSchema; - /** @deprecated use `GetRollingReleaseConfigRollingRelease$Outbound` instead. */ - export type Outbound = GetRollingReleaseConfigRollingRelease$Outbound; -} - export function getRollingReleaseConfigRollingReleaseToJSON( getRollingReleaseConfigRollingRelease: GetRollingReleaseConfigRollingRelease, ): string { @@ -253,7 +207,6 @@ export function getRollingReleaseConfigRollingReleaseToJSON( ), ); } - export function getRollingReleaseConfigRollingReleaseFromJSON( jsonString: string, ): SafeParseResult { @@ -275,7 +228,6 @@ export const GetRollingReleaseConfigResponseBody$inboundSchema: z.ZodType< z.lazy(() => GetRollingReleaseConfigRollingRelease$inboundSchema), ), }); - /** @internal */ export type GetRollingReleaseConfigResponseBody$Outbound = { rollingRelease: GetRollingReleaseConfigRollingRelease$Outbound | null; @@ -292,21 +244,6 @@ export const GetRollingReleaseConfigResponseBody$outboundSchema: z.ZodType< ), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetRollingReleaseConfigResponseBody$ { - /** @deprecated use `GetRollingReleaseConfigResponseBody$inboundSchema` instead. */ - export const inboundSchema = - GetRollingReleaseConfigResponseBody$inboundSchema; - /** @deprecated use `GetRollingReleaseConfigResponseBody$outboundSchema` instead. */ - export const outboundSchema = - GetRollingReleaseConfigResponseBody$outboundSchema; - /** @deprecated use `GetRollingReleaseConfigResponseBody$Outbound` instead. */ - export type Outbound = GetRollingReleaseConfigResponseBody$Outbound; -} - export function getRollingReleaseConfigResponseBodyToJSON( getRollingReleaseConfigResponseBody: GetRollingReleaseConfigResponseBody, ): string { @@ -316,7 +253,6 @@ export function getRollingReleaseConfigResponseBodyToJSON( ), ); } - export function getRollingReleaseConfigResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/getrollingreleaseop.ts b/src/models/getrollingreleaseop.ts index 8166cd1aa..87b36e3ef 100644 --- a/src/models/getrollingreleaseop.ts +++ b/src/models/getrollingreleaseop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; @@ -53,14 +53,23 @@ export const GetRollingReleaseState = { */ export type GetRollingReleaseState = ClosedEnum; +/** + * If defined, either `staging` if a staging alias in the format `..now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment. + */ export const GetRollingReleaseTarget = { Staging: "staging", Production: "production", } as const; +/** + * If defined, either `staging` if a staging alias in the format `..now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment. + */ export type GetRollingReleaseTarget = ClosedEnum< typeof GetRollingReleaseTarget >; +/** + * Where was the deployment created from + */ export const GetRollingReleaseSource = { ApiTriggerGitDeploy: "api-trigger-git-deploy", Cli: "cli", @@ -71,10 +80,16 @@ export const GetRollingReleaseSource = { Redeploy: "redeploy", V0Web: "v0-web", } as const; +/** + * Where was the deployment created from + */ export type GetRollingReleaseSource = ClosedEnum< typeof GetRollingReleaseSource >; +/** + * The state of the deployment depending on the process of deploying, or if it is ready or in an error state + */ export const GetRollingReleaseReadyState = { Building: "BUILDING", Error: "ERROR", @@ -83,6 +98,9 @@ export const GetRollingReleaseReadyState = { Ready: "READY", Canceled: "CANCELED", } as const; +/** + * The state of the deployment depending on the process of deploying, or if it is ready or in an error state + */ export type GetRollingReleaseReadyState = ClosedEnum< typeof GetRollingReleaseReadyState >; @@ -91,24 +109,54 @@ export type GetRollingReleaseReadyState = ClosedEnum< * The current deployment receiving production traffic */ export type CurrentDeployment = { + /** + * A string holding the unique ID of the deployment + */ id: string; + /** + * The name of the project associated with the deployment at the time that the deployment was created + */ name: string; + /** + * A string with the unique URL of the deployment + */ url: string; + /** + * If defined, either `staging` if a staging alias in the format `..now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment. + */ target?: GetRollingReleaseTarget | null | undefined; + /** + * Where was the deployment created from + */ source?: GetRollingReleaseSource | undefined; + /** + * A number containing the date when the deployment was created in milliseconds + */ createdAt: number; + /** + * The state of the deployment depending on the process of deploying, or if it is ready or in an error state + */ readyState: GetRollingReleaseReadyState; readyStateAt?: number | undefined; }; +/** + * If defined, either `staging` if a staging alias in the format `..now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment. + */ export const GetRollingReleaseRollingReleaseTarget = { Staging: "staging", Production: "production", } as const; +/** + * If defined, either `staging` if a staging alias in the format `..now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment. + */ export type GetRollingReleaseRollingReleaseTarget = ClosedEnum< typeof GetRollingReleaseRollingReleaseTarget >; +/** + * Where was the deployment created from + */ export const GetRollingReleaseRollingReleaseSource = { ApiTriggerGitDeploy: "api-trigger-git-deploy", Cli: "cli", @@ -119,10 +167,16 @@ export const GetRollingReleaseRollingReleaseSource = { Redeploy: "redeploy", V0Web: "v0-web", } as const; +/** + * Where was the deployment created from + */ export type GetRollingReleaseRollingReleaseSource = ClosedEnum< typeof GetRollingReleaseRollingReleaseSource >; +/** + * The state of the deployment depending on the process of deploying, or if it is ready or in an error state + */ export const GetRollingReleaseRollingReleaseReadyState = { Building: "BUILDING", Error: "ERROR", @@ -131,6 +185,9 @@ export const GetRollingReleaseRollingReleaseReadyState = { Ready: "READY", Canceled: "CANCELED", } as const; +/** + * The state of the deployment depending on the process of deploying, or if it is ready or in an error state + */ export type GetRollingReleaseRollingReleaseReadyState = ClosedEnum< typeof GetRollingReleaseRollingReleaseReadyState >; @@ -139,12 +196,33 @@ export type GetRollingReleaseRollingReleaseReadyState = ClosedEnum< * The canary deployment being rolled out */ export type CanaryDeployment = { + /** + * A string holding the unique ID of the deployment + */ id: string; + /** + * The name of the project associated with the deployment at the time that the deployment was created + */ name: string; + /** + * A string with the unique URL of the deployment + */ url: string; + /** + * If defined, either `staging` if a staging alias in the format `..now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the "preview" deployment. + */ target?: GetRollingReleaseRollingReleaseTarget | null | undefined; + /** + * Where was the deployment created from + */ source?: GetRollingReleaseRollingReleaseSource | undefined; + /** + * A number containing the date when the deployment was created in milliseconds + */ createdAt: number; + /** + * The state of the deployment depending on the process of deploying, or if it is ready or in an error state + */ readyState: GetRollingReleaseRollingReleaseReadyState; readyStateAt?: number | undefined; }; @@ -311,22 +389,10 @@ export type GetRollingReleaseResponseBody = { 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 GetRollingReleaseRequest$inboundSchema: z.ZodType< GetRollingReleaseRequest, @@ -338,7 +404,6 @@ export const GetRollingReleaseRequest$inboundSchema: z.ZodType< teamId: z.string().optional(), slug: z.string().optional(), }); - /** @internal */ export type GetRollingReleaseRequest$Outbound = { idOrName: string; @@ -359,19 +424,6 @@ export const GetRollingReleaseRequest$outboundSchema: z.ZodType< 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 GetRollingReleaseRequest$ { - /** @deprecated use `GetRollingReleaseRequest$inboundSchema` instead. */ - export const inboundSchema = GetRollingReleaseRequest$inboundSchema; - /** @deprecated use `GetRollingReleaseRequest$outboundSchema` instead. */ - export const outboundSchema = GetRollingReleaseRequest$outboundSchema; - /** @deprecated use `GetRollingReleaseRequest$Outbound` instead. */ - export type Outbound = GetRollingReleaseRequest$Outbound; -} - export function getRollingReleaseRequestToJSON( getRollingReleaseRequest: GetRollingReleaseRequest, ): string { @@ -379,7 +431,6 @@ export function getRollingReleaseRequestToJSON( GetRollingReleaseRequest$outboundSchema.parse(getRollingReleaseRequest), ); } - export function getRollingReleaseRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -394,86 +445,38 @@ export function getRollingReleaseRequestFromJSON( export const GetRollingReleaseState$inboundSchema: z.ZodNativeEnum< typeof GetRollingReleaseState > = z.nativeEnum(GetRollingReleaseState); - /** @internal */ export const GetRollingReleaseState$outboundSchema: z.ZodNativeEnum< typeof GetRollingReleaseState > = GetRollingReleaseState$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetRollingReleaseState$ { - /** @deprecated use `GetRollingReleaseState$inboundSchema` instead. */ - export const inboundSchema = GetRollingReleaseState$inboundSchema; - /** @deprecated use `GetRollingReleaseState$outboundSchema` instead. */ - export const outboundSchema = GetRollingReleaseState$outboundSchema; -} - /** @internal */ export const GetRollingReleaseTarget$inboundSchema: z.ZodNativeEnum< typeof GetRollingReleaseTarget > = z.nativeEnum(GetRollingReleaseTarget); - /** @internal */ export const GetRollingReleaseTarget$outboundSchema: z.ZodNativeEnum< typeof GetRollingReleaseTarget > = GetRollingReleaseTarget$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetRollingReleaseTarget$ { - /** @deprecated use `GetRollingReleaseTarget$inboundSchema` instead. */ - export const inboundSchema = GetRollingReleaseTarget$inboundSchema; - /** @deprecated use `GetRollingReleaseTarget$outboundSchema` instead. */ - export const outboundSchema = GetRollingReleaseTarget$outboundSchema; -} - /** @internal */ export const GetRollingReleaseSource$inboundSchema: z.ZodNativeEnum< typeof GetRollingReleaseSource > = z.nativeEnum(GetRollingReleaseSource); - /** @internal */ export const GetRollingReleaseSource$outboundSchema: z.ZodNativeEnum< typeof GetRollingReleaseSource > = GetRollingReleaseSource$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetRollingReleaseSource$ { - /** @deprecated use `GetRollingReleaseSource$inboundSchema` instead. */ - export const inboundSchema = GetRollingReleaseSource$inboundSchema; - /** @deprecated use `GetRollingReleaseSource$outboundSchema` instead. */ - export const outboundSchema = GetRollingReleaseSource$outboundSchema; -} - /** @internal */ export const GetRollingReleaseReadyState$inboundSchema: z.ZodNativeEnum< typeof GetRollingReleaseReadyState > = z.nativeEnum(GetRollingReleaseReadyState); - /** @internal */ export const GetRollingReleaseReadyState$outboundSchema: z.ZodNativeEnum< typeof GetRollingReleaseReadyState > = GetRollingReleaseReadyState$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetRollingReleaseReadyState$ { - /** @deprecated use `GetRollingReleaseReadyState$inboundSchema` instead. */ - export const inboundSchema = GetRollingReleaseReadyState$inboundSchema; - /** @deprecated use `GetRollingReleaseReadyState$outboundSchema` instead. */ - export const outboundSchema = GetRollingReleaseReadyState$outboundSchema; -} - /** @internal */ export const CurrentDeployment$inboundSchema: z.ZodType< CurrentDeployment, @@ -489,7 +492,6 @@ export const CurrentDeployment$inboundSchema: z.ZodType< readyState: GetRollingReleaseReadyState$inboundSchema, readyStateAt: z.number().optional(), }); - /** @internal */ export type CurrentDeployment$Outbound = { id: string; @@ -518,19 +520,6 @@ export const CurrentDeployment$outboundSchema: z.ZodType< readyStateAt: 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 CurrentDeployment$ { - /** @deprecated use `CurrentDeployment$inboundSchema` instead. */ - export const inboundSchema = CurrentDeployment$inboundSchema; - /** @deprecated use `CurrentDeployment$outboundSchema` instead. */ - export const outboundSchema = CurrentDeployment$outboundSchema; - /** @deprecated use `CurrentDeployment$Outbound` instead. */ - export type Outbound = CurrentDeployment$Outbound; -} - export function currentDeploymentToJSON( currentDeployment: CurrentDeployment, ): string { @@ -538,7 +527,6 @@ export function currentDeploymentToJSON( CurrentDeployment$outboundSchema.parse(currentDeployment), ); } - export function currentDeploymentFromJSON( jsonString: string, ): SafeParseResult { @@ -554,72 +542,30 @@ export const GetRollingReleaseRollingReleaseTarget$inboundSchema: z.ZodNativeEnum = z.nativeEnum( GetRollingReleaseRollingReleaseTarget, ); - /** @internal */ export const GetRollingReleaseRollingReleaseTarget$outboundSchema: z.ZodNativeEnum = GetRollingReleaseRollingReleaseTarget$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetRollingReleaseRollingReleaseTarget$ { - /** @deprecated use `GetRollingReleaseRollingReleaseTarget$inboundSchema` instead. */ - export const inboundSchema = - GetRollingReleaseRollingReleaseTarget$inboundSchema; - /** @deprecated use `GetRollingReleaseRollingReleaseTarget$outboundSchema` instead. */ - export const outboundSchema = - GetRollingReleaseRollingReleaseTarget$outboundSchema; -} - /** @internal */ export const GetRollingReleaseRollingReleaseSource$inboundSchema: z.ZodNativeEnum = z.nativeEnum( GetRollingReleaseRollingReleaseSource, ); - /** @internal */ export const GetRollingReleaseRollingReleaseSource$outboundSchema: z.ZodNativeEnum = GetRollingReleaseRollingReleaseSource$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetRollingReleaseRollingReleaseSource$ { - /** @deprecated use `GetRollingReleaseRollingReleaseSource$inboundSchema` instead. */ - export const inboundSchema = - GetRollingReleaseRollingReleaseSource$inboundSchema; - /** @deprecated use `GetRollingReleaseRollingReleaseSource$outboundSchema` instead. */ - export const outboundSchema = - GetRollingReleaseRollingReleaseSource$outboundSchema; -} - /** @internal */ export const GetRollingReleaseRollingReleaseReadyState$inboundSchema: z.ZodNativeEnum = z .nativeEnum(GetRollingReleaseRollingReleaseReadyState); - /** @internal */ export const GetRollingReleaseRollingReleaseReadyState$outboundSchema: z.ZodNativeEnum = GetRollingReleaseRollingReleaseReadyState$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetRollingReleaseRollingReleaseReadyState$ { - /** @deprecated use `GetRollingReleaseRollingReleaseReadyState$inboundSchema` instead. */ - export const inboundSchema = - GetRollingReleaseRollingReleaseReadyState$inboundSchema; - /** @deprecated use `GetRollingReleaseRollingReleaseReadyState$outboundSchema` instead. */ - export const outboundSchema = - GetRollingReleaseRollingReleaseReadyState$outboundSchema; -} - /** @internal */ export const CanaryDeployment$inboundSchema: z.ZodType< CanaryDeployment, @@ -636,7 +582,6 @@ export const CanaryDeployment$inboundSchema: z.ZodType< readyState: GetRollingReleaseRollingReleaseReadyState$inboundSchema, readyStateAt: z.number().optional(), }); - /** @internal */ export type CanaryDeployment$Outbound = { id: string; @@ -666,19 +611,6 @@ export const CanaryDeployment$outboundSchema: z.ZodType< readyStateAt: 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 CanaryDeployment$ { - /** @deprecated use `CanaryDeployment$inboundSchema` instead. */ - export const inboundSchema = CanaryDeployment$inboundSchema; - /** @deprecated use `CanaryDeployment$outboundSchema` instead. */ - export const outboundSchema = CanaryDeployment$outboundSchema; - /** @deprecated use `CanaryDeployment$Outbound` instead. */ - export type Outbound = CanaryDeployment$Outbound; -} - export function canaryDeploymentToJSON( canaryDeployment: CanaryDeployment, ): string { @@ -686,7 +618,6 @@ export function canaryDeploymentToJSON( CanaryDeployment$outboundSchema.parse(canaryDeployment), ); } - export function canaryDeploymentFromJSON( jsonString: string, ): SafeParseResult { @@ -701,23 +632,11 @@ export function canaryDeploymentFromJSON( export const AdvancementType$inboundSchema: z.ZodNativeEnum< typeof AdvancementType > = z.nativeEnum(AdvancementType); - /** @internal */ export const AdvancementType$outboundSchema: z.ZodNativeEnum< typeof AdvancementType > = AdvancementType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace AdvancementType$ { - /** @deprecated use `AdvancementType$inboundSchema` instead. */ - export const inboundSchema = AdvancementType$inboundSchema; - /** @deprecated use `AdvancementType$outboundSchema` instead. */ - export const outboundSchema = AdvancementType$outboundSchema; -} - /** @internal */ export const GetRollingReleaseStages$inboundSchema: z.ZodType< GetRollingReleaseStages, @@ -731,7 +650,6 @@ export const GetRollingReleaseStages$inboundSchema: z.ZodType< duration: z.nullable(z.number()), linearShift: z.boolean().optional(), }); - /** @internal */ export type GetRollingReleaseStages$Outbound = { index: number; @@ -756,19 +674,6 @@ export const GetRollingReleaseStages$outboundSchema: z.ZodType< linearShift: 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 GetRollingReleaseStages$ { - /** @deprecated use `GetRollingReleaseStages$inboundSchema` instead. */ - export const inboundSchema = GetRollingReleaseStages$inboundSchema; - /** @deprecated use `GetRollingReleaseStages$outboundSchema` instead. */ - export const outboundSchema = GetRollingReleaseStages$outboundSchema; - /** @deprecated use `GetRollingReleaseStages$Outbound` instead. */ - export type Outbound = GetRollingReleaseStages$Outbound; -} - export function getRollingReleaseStagesToJSON( getRollingReleaseStages: GetRollingReleaseStages, ): string { @@ -776,7 +681,6 @@ export function getRollingReleaseStagesToJSON( GetRollingReleaseStages$outboundSchema.parse(getRollingReleaseStages), ); } - export function getRollingReleaseStagesFromJSON( jsonString: string, ): SafeParseResult { @@ -800,7 +704,6 @@ export const ActiveStage$inboundSchema: z.ZodType< duration: z.nullable(z.number()), linearShift: z.boolean().optional(), }); - /** @internal */ export type ActiveStage$Outbound = { index: number; @@ -825,23 +728,9 @@ export const ActiveStage$outboundSchema: z.ZodType< linearShift: 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 ActiveStage$ { - /** @deprecated use `ActiveStage$inboundSchema` instead. */ - export const inboundSchema = ActiveStage$inboundSchema; - /** @deprecated use `ActiveStage$outboundSchema` instead. */ - export const outboundSchema = ActiveStage$outboundSchema; - /** @deprecated use `ActiveStage$Outbound` instead. */ - export type Outbound = ActiveStage$Outbound; -} - export function activeStageToJSON(activeStage: ActiveStage): string { return JSON.stringify(ActiveStage$outboundSchema.parse(activeStage)); } - export function activeStageFromJSON( jsonString: string, ): SafeParseResult { @@ -865,7 +754,6 @@ export const NextStage$inboundSchema: z.ZodType< duration: z.nullable(z.number()), linearShift: z.boolean().optional(), }); - /** @internal */ export type NextStage$Outbound = { index: number; @@ -890,23 +778,9 @@ export const NextStage$outboundSchema: z.ZodType< linearShift: 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 NextStage$ { - /** @deprecated use `NextStage$inboundSchema` instead. */ - export const inboundSchema = NextStage$inboundSchema; - /** @deprecated use `NextStage$outboundSchema` instead. */ - export const outboundSchema = NextStage$outboundSchema; - /** @deprecated use `NextStage$Outbound` instead. */ - export type Outbound = NextStage$Outbound; -} - export function nextStageToJSON(nextStage: NextStage): string { return JSON.stringify(NextStage$outboundSchema.parse(nextStage)); } - export function nextStageFromJSON( jsonString: string, ): SafeParseResult { @@ -934,7 +808,6 @@ export const GetRollingReleaseRollingRelease$inboundSchema: z.ZodType< startedAt: z.number(), updatedAt: z.number(), }); - /** @internal */ export type GetRollingReleaseRollingRelease$Outbound = { state: string; @@ -967,19 +840,6 @@ export const GetRollingReleaseRollingRelease$outboundSchema: z.ZodType< 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 GetRollingReleaseRollingRelease$ { - /** @deprecated use `GetRollingReleaseRollingRelease$inboundSchema` instead. */ - export const inboundSchema = GetRollingReleaseRollingRelease$inboundSchema; - /** @deprecated use `GetRollingReleaseRollingRelease$outboundSchema` instead. */ - export const outboundSchema = GetRollingReleaseRollingRelease$outboundSchema; - /** @deprecated use `GetRollingReleaseRollingRelease$Outbound` instead. */ - export type Outbound = GetRollingReleaseRollingRelease$Outbound; -} - export function getRollingReleaseRollingReleaseToJSON( getRollingReleaseRollingRelease: GetRollingReleaseRollingRelease, ): string { @@ -989,7 +849,6 @@ export function getRollingReleaseRollingReleaseToJSON( ), ); } - export function getRollingReleaseRollingReleaseFromJSON( jsonString: string, ): SafeParseResult { @@ -1010,7 +869,6 @@ export const GetRollingReleaseResponseBody$inboundSchema: z.ZodType< z.lazy(() => GetRollingReleaseRollingRelease$inboundSchema), ), }); - /** @internal */ export type GetRollingReleaseResponseBody$Outbound = { rollingRelease: GetRollingReleaseRollingRelease$Outbound | null; @@ -1027,19 +885,6 @@ export const GetRollingReleaseResponseBody$outboundSchema: z.ZodType< ), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetRollingReleaseResponseBody$ { - /** @deprecated use `GetRollingReleaseResponseBody$inboundSchema` instead. */ - export const inboundSchema = GetRollingReleaseResponseBody$inboundSchema; - /** @deprecated use `GetRollingReleaseResponseBody$outboundSchema` instead. */ - export const outboundSchema = GetRollingReleaseResponseBody$outboundSchema; - /** @deprecated use `GetRollingReleaseResponseBody$Outbound` instead. */ - export type Outbound = GetRollingReleaseResponseBody$Outbound; -} - export function getRollingReleaseResponseBodyToJSON( getRollingReleaseResponseBody: GetRollingReleaseResponseBody, ): string { @@ -1049,7 +894,6 @@ export function getRollingReleaseResponseBodyToJSON( ), ); } - export function getRollingReleaseResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/getruntimelogsop.ts b/src/models/getruntimelogsop.ts index 2d594025d..71621075b 100644 --- a/src/models/getruntimelogsop.ts +++ b/src/models/getruntimelogsop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; @@ -61,7 +61,6 @@ export const GetRuntimeLogsRequest$inboundSchema: z.ZodType< teamId: z.string().optional(), slug: z.string().optional(), }); - /** @internal */ export type GetRuntimeLogsRequest$Outbound = { projectId: string; @@ -82,19 +81,6 @@ export const GetRuntimeLogsRequest$outboundSchema: z.ZodType< 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 GetRuntimeLogsRequest$ { - /** @deprecated use `GetRuntimeLogsRequest$inboundSchema` instead. */ - export const inboundSchema = GetRuntimeLogsRequest$inboundSchema; - /** @deprecated use `GetRuntimeLogsRequest$outboundSchema` instead. */ - export const outboundSchema = GetRuntimeLogsRequest$outboundSchema; - /** @deprecated use `GetRuntimeLogsRequest$Outbound` instead. */ - export type Outbound = GetRuntimeLogsRequest$Outbound; -} - export function getRuntimeLogsRequestToJSON( getRuntimeLogsRequest: GetRuntimeLogsRequest, ): string { @@ -102,7 +88,6 @@ export function getRuntimeLogsRequestToJSON( GetRuntimeLogsRequest$outboundSchema.parse(getRuntimeLogsRequest), ); } - export function getRuntimeLogsRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -117,44 +102,20 @@ export function getRuntimeLogsRequestFromJSON( export const GetRuntimeLogsLevel$inboundSchema: z.ZodNativeEnum< typeof GetRuntimeLogsLevel > = z.nativeEnum(GetRuntimeLogsLevel); - /** @internal */ export const GetRuntimeLogsLevel$outboundSchema: z.ZodNativeEnum< typeof GetRuntimeLogsLevel > = GetRuntimeLogsLevel$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetRuntimeLogsLevel$ { - /** @deprecated use `GetRuntimeLogsLevel$inboundSchema` instead. */ - export const inboundSchema = GetRuntimeLogsLevel$inboundSchema; - /** @deprecated use `GetRuntimeLogsLevel$outboundSchema` instead. */ - export const outboundSchema = GetRuntimeLogsLevel$outboundSchema; -} - /** @internal */ export const GetRuntimeLogsSource$inboundSchema: z.ZodNativeEnum< typeof GetRuntimeLogsSource > = z.nativeEnum(GetRuntimeLogsSource); - /** @internal */ export const GetRuntimeLogsSource$outboundSchema: z.ZodNativeEnum< typeof GetRuntimeLogsSource > = GetRuntimeLogsSource$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetRuntimeLogsSource$ { - /** @deprecated use `GetRuntimeLogsSource$inboundSchema` instead. */ - export const inboundSchema = GetRuntimeLogsSource$inboundSchema; - /** @deprecated use `GetRuntimeLogsSource$outboundSchema` instead. */ - export const outboundSchema = GetRuntimeLogsSource$outboundSchema; -} - /** @internal */ export const GetRuntimeLogsResponseBody$inboundSchema: z.ZodType< GetRuntimeLogsResponseBody, @@ -172,7 +133,6 @@ export const GetRuntimeLogsResponseBody$inboundSchema: z.ZodType< requestPath: z.string(), responseStatusCode: z.number(), }); - /** @internal */ export type GetRuntimeLogsResponseBody$Outbound = { level: string; @@ -205,19 +165,6 @@ export const GetRuntimeLogsResponseBody$outboundSchema: z.ZodType< responseStatusCode: 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 GetRuntimeLogsResponseBody$ { - /** @deprecated use `GetRuntimeLogsResponseBody$inboundSchema` instead. */ - export const inboundSchema = GetRuntimeLogsResponseBody$inboundSchema; - /** @deprecated use `GetRuntimeLogsResponseBody$outboundSchema` instead. */ - export const outboundSchema = GetRuntimeLogsResponseBody$outboundSchema; - /** @deprecated use `GetRuntimeLogsResponseBody$Outbound` instead. */ - export type Outbound = GetRuntimeLogsResponseBody$Outbound; -} - export function getRuntimeLogsResponseBodyToJSON( getRuntimeLogsResponseBody: GetRuntimeLogsResponseBody, ): string { @@ -225,7 +172,6 @@ export function getRuntimeLogsResponseBodyToJSON( GetRuntimeLogsResponseBody$outboundSchema.parse(getRuntimeLogsResponseBody), ); } - export function getRuntimeLogsResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/getsharedenvvarop.ts b/src/models/getsharedenvvarop.ts new file mode 100644 index 000000000..ec72eb13f --- /dev/null +++ b/src/models/getsharedenvvarop.ts @@ -0,0 +1,282 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +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 GetSharedEnvVarRequest = { + /** + * The unique ID for the Shared 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; +}; + +/** + * The type of this cosmos doc instance, if blank, assume secret. + */ +export const GetSharedEnvVarType = { + Encrypted: "encrypted", + Sensitive: "sensitive", + System: "system", + Plain: "plain", +} as const; +/** + * The type of this cosmos doc instance, if blank, assume secret. + */ +export type GetSharedEnvVarType = ClosedEnum; + +/** + * environments this env variable targets + */ +export const GetSharedEnvVarTarget = { + Production: "production", + Preview: "preview", + Development: "development", +} as const; +/** + * environments this env variable targets + */ +export type GetSharedEnvVarTarget = ClosedEnum; + +export type GetSharedEnvVarResponseBody = { + /** + * The date when the Shared Env Var was created. + */ + created?: Date | undefined; + /** + * The name of the Shared Env Var. + */ + key?: string | undefined; + /** + * The unique identifier of the owner (team) the Shared Env Var was created for. + */ + ownerId?: string | null | undefined; + /** + * The unique identifier of the Shared Env Var. + */ + id?: string | undefined; + /** + * The unique identifier of the user who created the Shared Env Var. + */ + createdBy?: string | null | undefined; + /** + * The unique identifier of the user who deleted the Shared Env Var. + */ + deletedBy?: string | null | undefined; + /** + * The unique identifier of the user who last updated the Shared Env Var. + */ + updatedBy?: string | null | undefined; + /** + * Timestamp for when the Shared Env Var was created. + */ + createdAt?: number | undefined; + /** + * Timestamp for when the Shared Env Var was (soft) deleted. + */ + deletedAt?: number | undefined; + /** + * Timestamp for when the Shared Env Var was last updated. + */ + updatedAt?: number | undefined; + /** + * The value of the Shared Env Var. + */ + value?: string | undefined; + /** + * The unique identifiers of the projects which the Shared Env Var is linked to. + */ + projectId?: Array | undefined; + /** + * The type of this cosmos doc instance, if blank, assume secret. + */ + type?: GetSharedEnvVarType | undefined; + /** + * environments this env variable targets + */ + target?: Array | undefined; + /** + * whether or not this env varible applies to custom environments + */ + applyToAllCustomEnvironments?: boolean | undefined; + /** + * whether or not this env variable is decrypted + */ + decrypted?: boolean | undefined; + /** + * A user provided comment that describes what this Shared Env Var is for. + */ + comment?: string | undefined; + /** + * The last editor full name or username. + */ + lastEditedByDisplayName?: string | undefined; +}; + +/** @internal */ +export const GetSharedEnvVarRequest$inboundSchema: z.ZodType< + GetSharedEnvVarRequest, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); +/** @internal */ +export type GetSharedEnvVarRequest$Outbound = { + id: string; + teamId?: string | undefined; + slug?: string | undefined; +}; + +/** @internal */ +export const GetSharedEnvVarRequest$outboundSchema: z.ZodType< + GetSharedEnvVarRequest$Outbound, + z.ZodTypeDef, + GetSharedEnvVarRequest +> = z.object({ + id: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +export function getSharedEnvVarRequestToJSON( + getSharedEnvVarRequest: GetSharedEnvVarRequest, +): string { + return JSON.stringify( + GetSharedEnvVarRequest$outboundSchema.parse(getSharedEnvVarRequest), + ); +} +export function getSharedEnvVarRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetSharedEnvVarRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetSharedEnvVarRequest' from JSON`, + ); +} + +/** @internal */ +export const GetSharedEnvVarType$inboundSchema: z.ZodNativeEnum< + typeof GetSharedEnvVarType +> = z.nativeEnum(GetSharedEnvVarType); +/** @internal */ +export const GetSharedEnvVarType$outboundSchema: z.ZodNativeEnum< + typeof GetSharedEnvVarType +> = GetSharedEnvVarType$inboundSchema; + +/** @internal */ +export const GetSharedEnvVarTarget$inboundSchema: z.ZodNativeEnum< + typeof GetSharedEnvVarTarget +> = z.nativeEnum(GetSharedEnvVarTarget); +/** @internal */ +export const GetSharedEnvVarTarget$outboundSchema: z.ZodNativeEnum< + typeof GetSharedEnvVarTarget +> = GetSharedEnvVarTarget$inboundSchema; + +/** @internal */ +export const GetSharedEnvVarResponseBody$inboundSchema: z.ZodType< + GetSharedEnvVarResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + created: z.string().datetime({ offset: true }).transform(v => new Date(v)) + .optional(), + key: z.string().optional(), + ownerId: z.nullable(z.string()).optional(), + id: z.string().optional(), + createdBy: z.nullable(z.string()).optional(), + deletedBy: z.nullable(z.string()).optional(), + updatedBy: z.nullable(z.string()).optional(), + createdAt: z.number().optional(), + deletedAt: z.number().optional(), + updatedAt: z.number().optional(), + value: z.string().optional(), + projectId: z.array(z.string()).optional(), + type: GetSharedEnvVarType$inboundSchema.optional(), + target: z.array(GetSharedEnvVarTarget$inboundSchema).optional(), + applyToAllCustomEnvironments: z.boolean().optional(), + decrypted: z.boolean().optional(), + comment: z.string().optional(), + lastEditedByDisplayName: z.string().optional(), +}); +/** @internal */ +export type GetSharedEnvVarResponseBody$Outbound = { + created?: string | undefined; + key?: string | undefined; + ownerId?: string | null | undefined; + id?: string | undefined; + createdBy?: string | null | undefined; + deletedBy?: string | null | undefined; + updatedBy?: string | null | undefined; + createdAt?: number | undefined; + deletedAt?: number | undefined; + updatedAt?: number | undefined; + value?: string | undefined; + projectId?: Array | undefined; + type?: string | undefined; + target?: Array | undefined; + applyToAllCustomEnvironments?: boolean | undefined; + decrypted?: boolean | undefined; + comment?: string | undefined; + lastEditedByDisplayName?: string | undefined; +}; + +/** @internal */ +export const GetSharedEnvVarResponseBody$outboundSchema: z.ZodType< + GetSharedEnvVarResponseBody$Outbound, + z.ZodTypeDef, + GetSharedEnvVarResponseBody +> = z.object({ + created: z.date().transform(v => v.toISOString()).optional(), + key: z.string().optional(), + ownerId: z.nullable(z.string()).optional(), + id: z.string().optional(), + createdBy: z.nullable(z.string()).optional(), + deletedBy: z.nullable(z.string()).optional(), + updatedBy: z.nullable(z.string()).optional(), + createdAt: z.number().optional(), + deletedAt: z.number().optional(), + updatedAt: z.number().optional(), + value: z.string().optional(), + projectId: z.array(z.string()).optional(), + type: GetSharedEnvVarType$outboundSchema.optional(), + target: z.array(GetSharedEnvVarTarget$outboundSchema).optional(), + applyToAllCustomEnvironments: z.boolean().optional(), + decrypted: z.boolean().optional(), + comment: z.string().optional(), + lastEditedByDisplayName: z.string().optional(), +}); + +export function getSharedEnvVarResponseBodyToJSON( + getSharedEnvVarResponseBody: GetSharedEnvVarResponseBody, +): string { + return JSON.stringify( + GetSharedEnvVarResponseBody$outboundSchema.parse( + getSharedEnvVarResponseBody, + ), + ); +} +export function getSharedEnvVarResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetSharedEnvVarResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetSharedEnvVarResponseBody' from JSON`, + ); +} diff --git a/src/models/getsupportedtldsop.ts b/src/models/getsupportedtldsop.ts new file mode 100644 index 000000000..099ef4ac1 --- /dev/null +++ b/src/models/getsupportedtldsop.ts @@ -0,0 +1,51 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { safeParse } from "../lib/schemas.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type GetSupportedTldsRequest = { + teamId?: string | undefined; +}; + +/** @internal */ +export const GetSupportedTldsRequest$inboundSchema: z.ZodType< + GetSupportedTldsRequest, + z.ZodTypeDef, + unknown +> = z.object({ + teamId: z.string().optional(), +}); +/** @internal */ +export type GetSupportedTldsRequest$Outbound = { + teamId?: string | undefined; +}; + +/** @internal */ +export const GetSupportedTldsRequest$outboundSchema: z.ZodType< + GetSupportedTldsRequest$Outbound, + z.ZodTypeDef, + GetSupportedTldsRequest +> = z.object({ + teamId: z.string().optional(), +}); + +export function getSupportedTldsRequestToJSON( + getSupportedTldsRequest: GetSupportedTldsRequest, +): string { + return JSON.stringify( + GetSupportedTldsRequest$outboundSchema.parse(getSupportedTldsRequest), + ); +} +export function getSupportedTldsRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetSupportedTldsRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetSupportedTldsRequest' from JSON`, + ); +} diff --git a/src/models/getteamaccessrequestop.ts b/src/models/getteamaccessrequestop.ts index 272f4dc5e..a031693b4 100644 --- a/src/models/getteamaccessrequestop.ts +++ b/src/models/getteamaccessrequestop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; @@ -117,7 +117,6 @@ export const GetTeamAccessRequestRequest$inboundSchema: z.ZodType< userId: z.string(), teamId: z.string(), }); - /** @internal */ export type GetTeamAccessRequestRequest$Outbound = { userId: string; @@ -134,19 +133,6 @@ export const GetTeamAccessRequestRequest$outboundSchema: z.ZodType< 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 { @@ -156,7 +142,6 @@ export function getTeamAccessRequestRequestToJSON( ), ); } - export function getTeamAccessRequestRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -171,30 +156,17 @@ export function getTeamAccessRequestRequestFromJSON( 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; @@ -205,19 +177,6 @@ export const GetTeamAccessRequestGitUserId$outboundSchema: z.ZodType< 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 { @@ -227,7 +186,6 @@ export function getTeamAccessRequestGitUserIdToJSON( ), ); } - export function getTeamAccessRequestGitUserIdFromJSON( jsonString: string, ): SafeParseResult { @@ -256,7 +214,6 @@ export const GetTeamAccessRequestJoinedFrom$inboundSchema: z.ZodType< dsyncUserId: z.string().optional(), dsyncConnectedAt: z.number().optional(), }); - /** @internal */ export type GetTeamAccessRequestJoinedFrom$Outbound = { origin: string; @@ -291,19 +248,6 @@ export const GetTeamAccessRequestJoinedFrom$outboundSchema: z.ZodType< 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 { @@ -313,7 +257,6 @@ export function getTeamAccessRequestJoinedFromToJSON( ), ); } - export function getTeamAccessRequestJoinedFromFromJSON( jsonString: string, ): SafeParseResult { @@ -332,7 +275,6 @@ export const GetTeamAccessRequestGithub$inboundSchema: z.ZodType< > = z.object({ login: z.string().optional(), }); - /** @internal */ export type GetTeamAccessRequestGithub$Outbound = { login?: string | undefined; @@ -347,19 +289,6 @@ export const GetTeamAccessRequestGithub$outboundSchema: z.ZodType< 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 { @@ -367,7 +296,6 @@ export function getTeamAccessRequestGithubToJSON( GetTeamAccessRequestGithub$outboundSchema.parse(getTeamAccessRequestGithub), ); } - export function getTeamAccessRequestGithubFromJSON( jsonString: string, ): SafeParseResult { @@ -386,7 +314,6 @@ export const GetTeamAccessRequestGitlab$inboundSchema: z.ZodType< > = z.object({ login: z.string().optional(), }); - /** @internal */ export type GetTeamAccessRequestGitlab$Outbound = { login?: string | undefined; @@ -401,19 +328,6 @@ export const GetTeamAccessRequestGitlab$outboundSchema: z.ZodType< 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 { @@ -421,7 +335,6 @@ export function getTeamAccessRequestGitlabToJSON( GetTeamAccessRequestGitlab$outboundSchema.parse(getTeamAccessRequestGitlab), ); } - export function getTeamAccessRequestGitlabFromJSON( jsonString: string, ): SafeParseResult { @@ -440,7 +353,6 @@ export const GetTeamAccessRequestBitbucket$inboundSchema: z.ZodType< > = z.object({ login: z.string().optional(), }); - /** @internal */ export type GetTeamAccessRequestBitbucket$Outbound = { login?: string | undefined; @@ -455,19 +367,6 @@ export const GetTeamAccessRequestBitbucket$outboundSchema: z.ZodType< 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 { @@ -477,7 +376,6 @@ export function getTeamAccessRequestBitbucketToJSON( ), ); } - export function getTeamAccessRequestBitbucketFromJSON( jsonString: string, ): SafeParseResult { @@ -505,7 +403,6 @@ export const GetTeamAccessRequestResponseBody$inboundSchema: z.ZodType< z.lazy(() => GetTeamAccessRequestBitbucket$inboundSchema), ), }); - /** @internal */ export type GetTeamAccessRequestResponseBody$Outbound = { teamSlug: string; @@ -536,19 +433,6 @@ export const GetTeamAccessRequestResponseBody$outboundSchema: z.ZodType< ), }); -/** - * @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 { @@ -558,7 +442,6 @@ export function getTeamAccessRequestResponseBodyToJSON( ), ); } - export function getTeamAccessRequestResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/getteammembersop.ts b/src/models/getteammembersop.ts index 7d2529ed3..6cb7bc1ce 100644 --- a/src/models/getteammembersop.ts +++ b/src/models/getteammembersop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; @@ -299,23 +299,11 @@ export type GetTeamMembersResponseBody = { 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, @@ -330,7 +318,6 @@ export const GetTeamMembersRequest$inboundSchema: z.ZodType< excludeProject: z.string().optional(), eligibleMembersForProjectId: z.string().optional(), }); - /** @internal */ export type GetTeamMembersRequest$Outbound = { limit?: number | undefined; @@ -357,19 +344,6 @@ export const GetTeamMembersRequest$outboundSchema: z.ZodType< eligibleMembersForProjectId: z.string().optional(), }); -/** - * @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 { @@ -377,7 +351,6 @@ export function getTeamMembersRequestToJSON( GetTeamMembersRequest$outboundSchema.parse(getTeamMembersRequest), ); } - export function getTeamMembersRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -396,7 +369,6 @@ export const GetTeamMembersGithub$inboundSchema: z.ZodType< > = z.object({ login: z.string().optional(), }); - /** @internal */ export type GetTeamMembersGithub$Outbound = { login?: string | undefined; @@ -411,19 +383,6 @@ export const GetTeamMembersGithub$outboundSchema: z.ZodType< 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 { @@ -431,7 +390,6 @@ export function getTeamMembersGithubToJSON( GetTeamMembersGithub$outboundSchema.parse(getTeamMembersGithub), ); } - export function getTeamMembersGithubFromJSON( jsonString: string, ): SafeParseResult { @@ -450,7 +408,6 @@ export const GetTeamMembersGitlab$inboundSchema: z.ZodType< > = z.object({ login: z.string().optional(), }); - /** @internal */ export type GetTeamMembersGitlab$Outbound = { login?: string | undefined; @@ -465,19 +422,6 @@ export const GetTeamMembersGitlab$outboundSchema: z.ZodType< 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 { @@ -485,7 +429,6 @@ export function getTeamMembersGitlabToJSON( GetTeamMembersGitlab$outboundSchema.parse(getTeamMembersGitlab), ); } - export function getTeamMembersGitlabFromJSON( jsonString: string, ): SafeParseResult { @@ -504,7 +447,6 @@ export const GetTeamMembersBitbucket$inboundSchema: z.ZodType< > = z.object({ login: z.string().optional(), }); - /** @internal */ export type GetTeamMembersBitbucket$Outbound = { login?: string | undefined; @@ -519,19 +461,6 @@ export const GetTeamMembersBitbucket$outboundSchema: z.ZodType< 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 { @@ -539,7 +468,6 @@ export function getTeamMembersBitbucketToJSON( GetTeamMembersBitbucket$outboundSchema.parse(getTeamMembersBitbucket), ); } - export function getTeamMembersBitbucketFromJSON( jsonString: string, ): SafeParseResult { @@ -554,51 +482,26 @@ export function getTeamMembersBitbucketFromJSON( 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; @@ -609,19 +512,6 @@ export const GetTeamMembersGitUserId$outboundSchema: z.ZodType< 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 { @@ -629,7 +519,6 @@ export function getTeamMembersGitUserIdToJSON( GetTeamMembersGitUserId$outboundSchema.parse(getTeamMembersGitUserId), ); } - export function getTeamMembersGitUserIdFromJSON( jsonString: string, ): SafeParseResult { @@ -658,7 +547,6 @@ export const GetTeamMembersJoinedFrom$inboundSchema: z.ZodType< dsyncUserId: z.string().optional(), dsyncConnectedAt: z.number().optional(), }); - /** @internal */ export type GetTeamMembersJoinedFrom$Outbound = { origin: string; @@ -693,19 +581,6 @@ export const GetTeamMembersJoinedFrom$outboundSchema: z.ZodType< 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 { @@ -713,7 +588,6 @@ export function getTeamMembersJoinedFromToJSON( GetTeamMembersJoinedFrom$outboundSchema.parse(getTeamMembersJoinedFrom), ); } - export function getTeamMembersJoinedFromFromJSON( jsonString: string, ): SafeParseResult { @@ -728,23 +602,11 @@ export function getTeamMembersJoinedFromFromJSON( 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, @@ -755,7 +617,6 @@ export const GetTeamMembersProjects$inboundSchema: z.ZodType< id: z.string(), role: GetTeamMembersTeamsResponseRole$inboundSchema.optional(), }); - /** @internal */ export type GetTeamMembersProjects$Outbound = { name: string; @@ -774,19 +635,6 @@ export const GetTeamMembersProjects$outboundSchema: z.ZodType< 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 { @@ -794,7 +642,6 @@ export function getTeamMembersProjectsToJSON( GetTeamMembersProjects$outboundSchema.parse(getTeamMembersProjects), ); } - export function getTeamMembersProjectsFromJSON( jsonString: string, ): SafeParseResult { @@ -827,7 +674,6 @@ export const GetTeamMembersMembers$inboundSchema: z.ZodType< projects: z.array(z.lazy(() => GetTeamMembersProjects$inboundSchema)) .optional(), }); - /** @internal */ export type GetTeamMembersMembers$Outbound = { avatar?: string | undefined; @@ -869,19 +715,6 @@ export const GetTeamMembersMembers$outboundSchema: z.ZodType< .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 { @@ -889,7 +722,6 @@ export function getTeamMembersMembersToJSON( GetTeamMembersMembers$outboundSchema.parse(getTeamMembersMembers), ); } - export function getTeamMembersMembersFromJSON( jsonString: string, ): SafeParseResult { @@ -904,86 +736,38 @@ export function getTeamMembersMembersFromJSON( 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 GetTeamMembersTeamRoles$inboundSchema: z.ZodNativeEnum< typeof GetTeamMembersTeamRoles > = z.nativeEnum(GetTeamMembersTeamRoles); - /** @internal */ export const GetTeamMembersTeamRoles$outboundSchema: z.ZodNativeEnum< typeof GetTeamMembersTeamRoles > = GetTeamMembersTeamRoles$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetTeamMembersTeamRoles$ { - /** @deprecated use `GetTeamMembersTeamRoles$inboundSchema` instead. */ - export const inboundSchema = GetTeamMembersTeamRoles$inboundSchema; - /** @deprecated use `GetTeamMembersTeamRoles$outboundSchema` instead. */ - export const outboundSchema = GetTeamMembersTeamRoles$outboundSchema; -} - /** @internal */ export const GetTeamMembersTeamPermissions$inboundSchema: z.ZodNativeEnum< typeof GetTeamMembersTeamPermissions > = z.nativeEnum(GetTeamMembersTeamPermissions); - /** @internal */ export const GetTeamMembersTeamPermissions$outboundSchema: z.ZodNativeEnum< typeof GetTeamMembersTeamPermissions > = GetTeamMembersTeamPermissions$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetTeamMembersTeamPermissions$ { - /** @deprecated use `GetTeamMembersTeamPermissions$inboundSchema` instead. */ - export const inboundSchema = GetTeamMembersTeamPermissions$inboundSchema; - /** @deprecated use `GetTeamMembersTeamPermissions$outboundSchema` instead. */ - export const outboundSchema = GetTeamMembersTeamPermissions$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, @@ -1003,7 +787,6 @@ export const EmailInviteCodes$inboundSchema: z.ZodType< projects: z.record(GetTeamMembersTeamsProjects$inboundSchema).optional(), entitlements: z.array(z.string()).optional(), }); - /** @internal */ export type EmailInviteCodes$Outbound = { accessGroups?: Array | undefined; @@ -1039,19 +822,6 @@ export const EmailInviteCodes$outboundSchema: z.ZodType< 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 { @@ -1059,7 +829,6 @@ export function emailInviteCodesToJSON( EmailInviteCodes$outboundSchema.parse(emailInviteCodes), ); } - export function emailInviteCodesFromJSON( jsonString: string, ): SafeParseResult { @@ -1081,7 +850,6 @@ export const GetTeamMembersPagination$inboundSchema: z.ZodType< next: z.nullable(z.number()), prev: z.nullable(z.number()), }); - /** @internal */ export type GetTeamMembersPagination$Outbound = { hasNext: boolean; @@ -1102,19 +870,6 @@ export const GetTeamMembersPagination$outboundSchema: z.ZodType< 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 { @@ -1122,7 +877,6 @@ export function getTeamMembersPaginationToJSON( GetTeamMembersPagination$outboundSchema.parse(getTeamMembersPagination), ); } - export function getTeamMembersPaginationFromJSON( jsonString: string, ): SafeParseResult { @@ -1144,7 +898,6 @@ export const GetTeamMembersResponseBody$inboundSchema: z.ZodType< .optional(), pagination: z.lazy(() => GetTeamMembersPagination$inboundSchema), }); - /** @internal */ export type GetTeamMembersResponseBody$Outbound = { members: Array; @@ -1164,19 +917,6 @@ export const GetTeamMembersResponseBody$outboundSchema: z.ZodType< 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 { @@ -1184,7 +924,6 @@ export function getTeamMembersResponseBodyToJSON( GetTeamMembersResponseBody$outboundSchema.parse(getTeamMembersResponseBody), ); } - export function getTeamMembersResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/getteamop.ts b/src/models/getteamop.ts index c6c4b44dc..2125e8fbf 100644 --- a/src/models/getteamop.ts +++ b/src/models/getteamop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -24,7 +24,6 @@ export const GetTeamRequest$inboundSchema: z.ZodType< slug: z.string().optional(), teamId: z.string(), }); - /** @internal */ export type GetTeamRequest$Outbound = { slug?: string | undefined; @@ -41,23 +40,9 @@ export const GetTeamRequest$outboundSchema: z.ZodType< 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 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 { diff --git a/src/models/getteamsop.ts b/src/models/getteamsop.ts index 583792ced..6faf37d4e 100644 --- a/src/models/getteamsop.ts +++ b/src/models/getteamsop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { @@ -63,7 +63,6 @@ export const GetTeamsRequest$inboundSchema: z.ZodType< since: z.number().optional(), until: z.number().optional(), }); - /** @internal */ export type GetTeamsRequest$Outbound = { limit?: number | undefined; @@ -82,25 +81,11 @@ export const GetTeamsRequest$outboundSchema: z.ZodType< 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 { @@ -117,7 +102,6 @@ export const GetTeamsTeams$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.union([Team$inboundSchema, TeamLimited$inboundSchema]); - /** @internal */ export type GetTeamsTeams$Outbound = Team$Outbound | TeamLimited$Outbound; @@ -128,23 +112,9 @@ export const GetTeamsTeams$outboundSchema: z.ZodType< GetTeamsTeams > = z.union([Team$outboundSchema, TeamLimited$outboundSchema]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetTeamsTeams$ { - /** @deprecated use `GetTeamsTeams$inboundSchema` instead. */ - export const inboundSchema = GetTeamsTeams$inboundSchema; - /** @deprecated use `GetTeamsTeams$outboundSchema` instead. */ - export const outboundSchema = GetTeamsTeams$outboundSchema; - /** @deprecated use `GetTeamsTeams$Outbound` instead. */ - export type Outbound = GetTeamsTeams$Outbound; -} - export function getTeamsTeamsToJSON(getTeamsTeams: GetTeamsTeams): string { return JSON.stringify(GetTeamsTeams$outboundSchema.parse(getTeamsTeams)); } - export function getTeamsTeamsFromJSON( jsonString: string, ): SafeParseResult { @@ -164,7 +134,6 @@ export const GetTeamsResponseBody$inboundSchema: z.ZodType< teams: z.array(z.union([Team$inboundSchema, TeamLimited$inboundSchema])), pagination: Pagination$inboundSchema, }); - /** @internal */ export type GetTeamsResponseBody$Outbound = { teams: Array; @@ -181,19 +150,6 @@ export const GetTeamsResponseBody$outboundSchema: z.ZodType< 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 { @@ -201,7 +157,6 @@ export function getTeamsResponseBodyToJSON( GetTeamsResponseBody$outboundSchema.parse(getTeamsResponseBody), ); } - export function getTeamsResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/gettldpriceop.ts b/src/models/gettldpriceop.ts new file mode 100644 index 000000000..89df5e82c --- /dev/null +++ b/src/models/gettldpriceop.ts @@ -0,0 +1,129 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { safeParse } from "../lib/schemas.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type GetTldPriceRequest = { + tld: string; + years?: string | undefined; + teamId?: string | undefined; +}; + +/** + * Success + */ +export type GetTldPriceResponseBody = { + /** + * The number of years the returned price is for. + */ + years: number; + /** + * The base TLD price for purchasing a domain for the given number of years. If null, the TLD does not support purchasing domains for the given number of years. + */ + purchasePrice: number | null; + /** + * The base TLD price for renewing a domain for the given number of years. If null, the TLD does not support renewing domains for the given number of years. + */ + renewalPrice: number | null; + /** + * The base TLD price for transferring a domain in for the given number of years. If null, the TLD does not support transferring domains in for the given number of years. + */ + transferPrice: number | null; +}; + +/** @internal */ +export const GetTldPriceRequest$inboundSchema: z.ZodType< + GetTldPriceRequest, + z.ZodTypeDef, + unknown +> = z.object({ + tld: z.string(), + years: z.string().optional(), + teamId: z.string().optional(), +}); +/** @internal */ +export type GetTldPriceRequest$Outbound = { + tld: string; + years?: string | undefined; + teamId?: string | undefined; +}; + +/** @internal */ +export const GetTldPriceRequest$outboundSchema: z.ZodType< + GetTldPriceRequest$Outbound, + z.ZodTypeDef, + GetTldPriceRequest +> = z.object({ + tld: z.string(), + years: z.string().optional(), + teamId: z.string().optional(), +}); + +export function getTldPriceRequestToJSON( + getTldPriceRequest: GetTldPriceRequest, +): string { + return JSON.stringify( + GetTldPriceRequest$outboundSchema.parse(getTldPriceRequest), + ); +} +export function getTldPriceRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetTldPriceRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetTldPriceRequest' from JSON`, + ); +} + +/** @internal */ +export const GetTldPriceResponseBody$inboundSchema: z.ZodType< + GetTldPriceResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + years: z.number(), + purchasePrice: z.nullable(z.number()), + renewalPrice: z.nullable(z.number()), + transferPrice: z.nullable(z.number()), +}); +/** @internal */ +export type GetTldPriceResponseBody$Outbound = { + years: number; + purchasePrice: number | null; + renewalPrice: number | null; + transferPrice: number | null; +}; + +/** @internal */ +export const GetTldPriceResponseBody$outboundSchema: z.ZodType< + GetTldPriceResponseBody$Outbound, + z.ZodTypeDef, + GetTldPriceResponseBody +> = z.object({ + years: z.number(), + purchasePrice: z.nullable(z.number()), + renewalPrice: z.nullable(z.number()), + transferPrice: z.nullable(z.number()), +}); + +export function getTldPriceResponseBodyToJSON( + getTldPriceResponseBody: GetTldPriceResponseBody, +): string { + return JSON.stringify( + GetTldPriceResponseBody$outboundSchema.parse(getTldPriceResponseBody), + ); +} +export function getTldPriceResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => GetTldPriceResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetTldPriceResponseBody' from JSON`, + ); +} diff --git a/src/models/getv1securityfirewalleventsop.ts b/src/models/getv1securityfirewalleventsop.ts new file mode 100644 index 000000000..87e363f01 --- /dev/null +++ b/src/models/getv1securityfirewalleventsop.ts @@ -0,0 +1,189 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +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 GetV1SecurityFirewallEventsRequest = { + projectId: string; + startTimestamp?: number | undefined; + endTimestamp?: number | undefined; + hosts?: string | undefined; +}; + +export type Actions = { + startTime: string; + endTime: string; + isActive: boolean; + actionType: string; + host: string; + publicIp: string; + count: number; +}; + +export type GetV1SecurityFirewallEventsResponseBody = { + actions: Array; +}; + +/** @internal */ +export const GetV1SecurityFirewallEventsRequest$inboundSchema: z.ZodType< + GetV1SecurityFirewallEventsRequest, + z.ZodTypeDef, + unknown +> = z.object({ + projectId: z.string(), + startTimestamp: z.number().optional(), + endTimestamp: z.number().optional(), + hosts: z.string().optional(), +}); +/** @internal */ +export type GetV1SecurityFirewallEventsRequest$Outbound = { + projectId: string; + startTimestamp?: number | undefined; + endTimestamp?: number | undefined; + hosts?: string | undefined; +}; + +/** @internal */ +export const GetV1SecurityFirewallEventsRequest$outboundSchema: z.ZodType< + GetV1SecurityFirewallEventsRequest$Outbound, + z.ZodTypeDef, + GetV1SecurityFirewallEventsRequest +> = z.object({ + projectId: z.string(), + startTimestamp: z.number().optional(), + endTimestamp: z.number().optional(), + hosts: z.string().optional(), +}); + +export function getV1SecurityFirewallEventsRequestToJSON( + getV1SecurityFirewallEventsRequest: GetV1SecurityFirewallEventsRequest, +): string { + return JSON.stringify( + GetV1SecurityFirewallEventsRequest$outboundSchema.parse( + getV1SecurityFirewallEventsRequest, + ), + ); +} +export function getV1SecurityFirewallEventsRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + GetV1SecurityFirewallEventsRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'GetV1SecurityFirewallEventsRequest' from JSON`, + ); +} + +/** @internal */ +export const Actions$inboundSchema: z.ZodType = + z.object({ + startTime: z.string(), + endTime: z.string(), + isActive: z.boolean(), + action_type: z.string(), + host: z.string(), + public_ip: z.string(), + count: z.number(), + }).transform((v) => { + return remap$(v, { + "action_type": "actionType", + "public_ip": "publicIp", + }); + }); +/** @internal */ +export type Actions$Outbound = { + startTime: string; + endTime: string; + isActive: boolean; + action_type: string; + host: string; + public_ip: string; + count: number; +}; + +/** @internal */ +export const Actions$outboundSchema: z.ZodType< + Actions$Outbound, + z.ZodTypeDef, + Actions +> = z.object({ + startTime: z.string(), + endTime: z.string(), + isActive: z.boolean(), + actionType: z.string(), + host: z.string(), + publicIp: z.string(), + count: z.number(), +}).transform((v) => { + return remap$(v, { + actionType: "action_type", + publicIp: "public_ip", + }); +}); + +export function actionsToJSON(actions: Actions): string { + return JSON.stringify(Actions$outboundSchema.parse(actions)); +} +export function actionsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Actions$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Actions' from JSON`, + ); +} + +/** @internal */ +export const GetV1SecurityFirewallEventsResponseBody$inboundSchema: z.ZodType< + GetV1SecurityFirewallEventsResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + actions: z.array(z.lazy(() => Actions$inboundSchema)), +}); +/** @internal */ +export type GetV1SecurityFirewallEventsResponseBody$Outbound = { + actions: Array; +}; + +/** @internal */ +export const GetV1SecurityFirewallEventsResponseBody$outboundSchema: z.ZodType< + GetV1SecurityFirewallEventsResponseBody$Outbound, + z.ZodTypeDef, + GetV1SecurityFirewallEventsResponseBody +> = z.object({ + actions: z.array(z.lazy(() => Actions$outboundSchema)), +}); + +export function getV1SecurityFirewallEventsResponseBodyToJSON( + getV1SecurityFirewallEventsResponseBody: + GetV1SecurityFirewallEventsResponseBody, +): string { + return JSON.stringify( + GetV1SecurityFirewallEventsResponseBody$outboundSchema.parse( + getV1SecurityFirewallEventsResponseBody, + ), + ); +} +export function getV1SecurityFirewallEventsResponseBodyFromJSON( + jsonString: string, +): SafeParseResult< + GetV1SecurityFirewallEventsResponseBody, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + GetV1SecurityFirewallEventsResponseBody$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'GetV1SecurityFirewallEventsResponseBody' from JSON`, + ); +} diff --git a/src/models/getv9projectsidornamecustomenvironmentsop.ts b/src/models/getv9projectsidornamecustomenvironmentsop.ts index d39f5d749..812c2a80f 100644 --- a/src/models/getv9projectsidornamecustomenvironmentsop.ts +++ b/src/models/getv9projectsidornamecustomenvironmentsop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; @@ -174,7 +174,6 @@ export const GetV9ProjectsIdOrNameCustomEnvironmentsRequest$inboundSchema: teamId: z.string().optional(), slug: z.string().optional(), }); - /** @internal */ export type GetV9ProjectsIdOrNameCustomEnvironmentsRequest$Outbound = { idOrName: string; @@ -196,22 +195,6 @@ export const GetV9ProjectsIdOrNameCustomEnvironmentsRequest$outboundSchema: 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 GetV9ProjectsIdOrNameCustomEnvironmentsRequest$ { - /** @deprecated use `GetV9ProjectsIdOrNameCustomEnvironmentsRequest$inboundSchema` instead. */ - export const inboundSchema = - GetV9ProjectsIdOrNameCustomEnvironmentsRequest$inboundSchema; - /** @deprecated use `GetV9ProjectsIdOrNameCustomEnvironmentsRequest$outboundSchema` instead. */ - export const outboundSchema = - GetV9ProjectsIdOrNameCustomEnvironmentsRequest$outboundSchema; - /** @deprecated use `GetV9ProjectsIdOrNameCustomEnvironmentsRequest$Outbound` instead. */ - export type Outbound = - GetV9ProjectsIdOrNameCustomEnvironmentsRequest$Outbound; -} - export function getV9ProjectsIdOrNameCustomEnvironmentsRequestToJSON( getV9ProjectsIdOrNameCustomEnvironmentsRequest: GetV9ProjectsIdOrNameCustomEnvironmentsRequest, @@ -222,7 +205,6 @@ export function getV9ProjectsIdOrNameCustomEnvironmentsRequestToJSON( ), ); } - export function getV9ProjectsIdOrNameCustomEnvironmentsRequestFromJSON( jsonString: string, ): SafeParseResult< @@ -247,7 +229,6 @@ export const AccountLimit$inboundSchema: z.ZodType< > = z.object({ total: z.number(), }); - /** @internal */ export type AccountLimit$Outbound = { total: number; @@ -262,23 +243,9 @@ export const AccountLimit$outboundSchema: z.ZodType< total: 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 AccountLimit$ { - /** @deprecated use `AccountLimit$inboundSchema` instead. */ - export const inboundSchema = AccountLimit$inboundSchema; - /** @deprecated use `AccountLimit$outboundSchema` instead. */ - export const outboundSchema = AccountLimit$outboundSchema; - /** @deprecated use `AccountLimit$Outbound` instead. */ - export type Outbound = AccountLimit$Outbound; -} - export function accountLimitToJSON(accountLimit: AccountLimit): string { return JSON.stringify(AccountLimit$outboundSchema.parse(accountLimit)); } - export function accountLimitFromJSON( jsonString: string, ): SafeParseResult { @@ -293,50 +260,22 @@ export function accountLimitFromJSON( export const GetV9ProjectsIdOrNameCustomEnvironmentsType$inboundSchema: z.ZodNativeEnum = z .nativeEnum(GetV9ProjectsIdOrNameCustomEnvironmentsType); - /** @internal */ export const GetV9ProjectsIdOrNameCustomEnvironmentsType$outboundSchema: z.ZodNativeEnum = GetV9ProjectsIdOrNameCustomEnvironmentsType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetV9ProjectsIdOrNameCustomEnvironmentsType$ { - /** @deprecated use `GetV9ProjectsIdOrNameCustomEnvironmentsType$inboundSchema` instead. */ - export const inboundSchema = - GetV9ProjectsIdOrNameCustomEnvironmentsType$inboundSchema; - /** @deprecated use `GetV9ProjectsIdOrNameCustomEnvironmentsType$outboundSchema` instead. */ - export const outboundSchema = - GetV9ProjectsIdOrNameCustomEnvironmentsType$outboundSchema; -} - /** @internal */ export const GetV9ProjectsIdOrNameCustomEnvironmentsEnvironmentType$inboundSchema: z.ZodNativeEnum< typeof GetV9ProjectsIdOrNameCustomEnvironmentsEnvironmentType > = z.nativeEnum(GetV9ProjectsIdOrNameCustomEnvironmentsEnvironmentType); - /** @internal */ export const GetV9ProjectsIdOrNameCustomEnvironmentsEnvironmentType$outboundSchema: z.ZodNativeEnum< typeof GetV9ProjectsIdOrNameCustomEnvironmentsEnvironmentType > = GetV9ProjectsIdOrNameCustomEnvironmentsEnvironmentType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetV9ProjectsIdOrNameCustomEnvironmentsEnvironmentType$ { - /** @deprecated use `GetV9ProjectsIdOrNameCustomEnvironmentsEnvironmentType$inboundSchema` instead. */ - export const inboundSchema = - GetV9ProjectsIdOrNameCustomEnvironmentsEnvironmentType$inboundSchema; - /** @deprecated use `GetV9ProjectsIdOrNameCustomEnvironmentsEnvironmentType$outboundSchema` instead. */ - export const outboundSchema = - GetV9ProjectsIdOrNameCustomEnvironmentsEnvironmentType$outboundSchema; -} - /** @internal */ export const GetV9ProjectsIdOrNameCustomEnvironmentsBranchMatcher$inboundSchema: z.ZodType< @@ -347,7 +286,6 @@ export const GetV9ProjectsIdOrNameCustomEnvironmentsBranchMatcher$inboundSchema: type: GetV9ProjectsIdOrNameCustomEnvironmentsEnvironmentType$inboundSchema, pattern: z.string(), }); - /** @internal */ export type GetV9ProjectsIdOrNameCustomEnvironmentsBranchMatcher$Outbound = { type: string; @@ -365,22 +303,6 @@ export const GetV9ProjectsIdOrNameCustomEnvironmentsBranchMatcher$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 GetV9ProjectsIdOrNameCustomEnvironmentsBranchMatcher$ { - /** @deprecated use `GetV9ProjectsIdOrNameCustomEnvironmentsBranchMatcher$inboundSchema` instead. */ - export const inboundSchema = - GetV9ProjectsIdOrNameCustomEnvironmentsBranchMatcher$inboundSchema; - /** @deprecated use `GetV9ProjectsIdOrNameCustomEnvironmentsBranchMatcher$outboundSchema` instead. */ - export const outboundSchema = - GetV9ProjectsIdOrNameCustomEnvironmentsBranchMatcher$outboundSchema; - /** @deprecated use `GetV9ProjectsIdOrNameCustomEnvironmentsBranchMatcher$Outbound` instead. */ - export type Outbound = - GetV9ProjectsIdOrNameCustomEnvironmentsBranchMatcher$Outbound; -} - export function getV9ProjectsIdOrNameCustomEnvironmentsBranchMatcherToJSON( getV9ProjectsIdOrNameCustomEnvironmentsBranchMatcher: GetV9ProjectsIdOrNameCustomEnvironmentsBranchMatcher, @@ -391,7 +313,6 @@ export function getV9ProjectsIdOrNameCustomEnvironmentsBranchMatcherToJSON( ), ); } - export function getV9ProjectsIdOrNameCustomEnvironmentsBranchMatcherFromJSON( jsonString: string, ): SafeParseResult< @@ -420,7 +341,6 @@ export const GetV9ProjectsIdOrNameCustomEnvironmentsVerification$inboundSchema: value: z.string(), reason: z.string(), }); - /** @internal */ export type GetV9ProjectsIdOrNameCustomEnvironmentsVerification$Outbound = { type: string; @@ -442,22 +362,6 @@ export const GetV9ProjectsIdOrNameCustomEnvironmentsVerification$outboundSchema: 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 GetV9ProjectsIdOrNameCustomEnvironmentsVerification$ { - /** @deprecated use `GetV9ProjectsIdOrNameCustomEnvironmentsVerification$inboundSchema` instead. */ - export const inboundSchema = - GetV9ProjectsIdOrNameCustomEnvironmentsVerification$inboundSchema; - /** @deprecated use `GetV9ProjectsIdOrNameCustomEnvironmentsVerification$outboundSchema` instead. */ - export const outboundSchema = - GetV9ProjectsIdOrNameCustomEnvironmentsVerification$outboundSchema; - /** @deprecated use `GetV9ProjectsIdOrNameCustomEnvironmentsVerification$Outbound` instead. */ - export type Outbound = - GetV9ProjectsIdOrNameCustomEnvironmentsVerification$Outbound; -} - export function getV9ProjectsIdOrNameCustomEnvironmentsVerificationToJSON( getV9ProjectsIdOrNameCustomEnvironmentsVerification: GetV9ProjectsIdOrNameCustomEnvironmentsVerification, @@ -468,7 +372,6 @@ export function getV9ProjectsIdOrNameCustomEnvironmentsVerificationToJSON( ), ); } - export function getV9ProjectsIdOrNameCustomEnvironmentsVerificationFromJSON( jsonString: string, ): SafeParseResult< @@ -508,7 +411,6 @@ export const GetV9ProjectsIdOrNameCustomEnvironmentsDomains$inboundSchema: ), ).optional(), }); - /** @internal */ export type GetV9ProjectsIdOrNameCustomEnvironmentsDomains$Outbound = { name: string; @@ -550,22 +452,6 @@ export const GetV9ProjectsIdOrNameCustomEnvironmentsDomains$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 GetV9ProjectsIdOrNameCustomEnvironmentsDomains$ { - /** @deprecated use `GetV9ProjectsIdOrNameCustomEnvironmentsDomains$inboundSchema` instead. */ - export const inboundSchema = - GetV9ProjectsIdOrNameCustomEnvironmentsDomains$inboundSchema; - /** @deprecated use `GetV9ProjectsIdOrNameCustomEnvironmentsDomains$outboundSchema` instead. */ - export const outboundSchema = - GetV9ProjectsIdOrNameCustomEnvironmentsDomains$outboundSchema; - /** @deprecated use `GetV9ProjectsIdOrNameCustomEnvironmentsDomains$Outbound` instead. */ - export type Outbound = - GetV9ProjectsIdOrNameCustomEnvironmentsDomains$Outbound; -} - export function getV9ProjectsIdOrNameCustomEnvironmentsDomainsToJSON( getV9ProjectsIdOrNameCustomEnvironmentsDomains: GetV9ProjectsIdOrNameCustomEnvironmentsDomains, @@ -576,7 +462,6 @@ export function getV9ProjectsIdOrNameCustomEnvironmentsDomainsToJSON( ), ); } - export function getV9ProjectsIdOrNameCustomEnvironmentsDomainsFromJSON( jsonString: string, ): SafeParseResult< @@ -616,7 +501,6 @@ export const GetV9ProjectsIdOrNameCustomEnvironmentsEnvironments$inboundSchema: createdAt: z.number(), updatedAt: z.number(), }); - /** @internal */ export type GetV9ProjectsIdOrNameCustomEnvironmentsEnvironments$Outbound = { id: string; @@ -658,22 +542,6 @@ export const GetV9ProjectsIdOrNameCustomEnvironmentsEnvironments$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 GetV9ProjectsIdOrNameCustomEnvironmentsEnvironments$ { - /** @deprecated use `GetV9ProjectsIdOrNameCustomEnvironmentsEnvironments$inboundSchema` instead. */ - export const inboundSchema = - GetV9ProjectsIdOrNameCustomEnvironmentsEnvironments$inboundSchema; - /** @deprecated use `GetV9ProjectsIdOrNameCustomEnvironmentsEnvironments$outboundSchema` instead. */ - export const outboundSchema = - GetV9ProjectsIdOrNameCustomEnvironmentsEnvironments$outboundSchema; - /** @deprecated use `GetV9ProjectsIdOrNameCustomEnvironmentsEnvironments$Outbound` instead. */ - export type Outbound = - GetV9ProjectsIdOrNameCustomEnvironmentsEnvironments$Outbound; -} - export function getV9ProjectsIdOrNameCustomEnvironmentsEnvironmentsToJSON( getV9ProjectsIdOrNameCustomEnvironmentsEnvironments: GetV9ProjectsIdOrNameCustomEnvironmentsEnvironments, @@ -684,7 +552,6 @@ export function getV9ProjectsIdOrNameCustomEnvironmentsEnvironmentsToJSON( ), ); } - export function getV9ProjectsIdOrNameCustomEnvironmentsEnvironmentsFromJSON( jsonString: string, ): SafeParseResult< @@ -715,7 +582,6 @@ export const GetV9ProjectsIdOrNameCustomEnvironmentsResponseBody$inboundSchema: ), ), }); - /** @internal */ export type GetV9ProjectsIdOrNameCustomEnvironmentsResponseBody$Outbound = { accountLimit: AccountLimit$Outbound; @@ -739,22 +605,6 @@ export const GetV9ProjectsIdOrNameCustomEnvironmentsResponseBody$outboundSchema: ), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GetV9ProjectsIdOrNameCustomEnvironmentsResponseBody$ { - /** @deprecated use `GetV9ProjectsIdOrNameCustomEnvironmentsResponseBody$inboundSchema` instead. */ - export const inboundSchema = - GetV9ProjectsIdOrNameCustomEnvironmentsResponseBody$inboundSchema; - /** @deprecated use `GetV9ProjectsIdOrNameCustomEnvironmentsResponseBody$outboundSchema` instead. */ - export const outboundSchema = - GetV9ProjectsIdOrNameCustomEnvironmentsResponseBody$outboundSchema; - /** @deprecated use `GetV9ProjectsIdOrNameCustomEnvironmentsResponseBody$Outbound` instead. */ - export type Outbound = - GetV9ProjectsIdOrNameCustomEnvironmentsResponseBody$Outbound; -} - export function getV9ProjectsIdOrNameCustomEnvironmentsResponseBodyToJSON( getV9ProjectsIdOrNameCustomEnvironmentsResponseBody: GetV9ProjectsIdOrNameCustomEnvironmentsResponseBody, @@ -765,7 +615,6 @@ export function getV9ProjectsIdOrNameCustomEnvironmentsResponseBodyToJSON( ), ); } - export function getV9ProjectsIdOrNameCustomEnvironmentsResponseBodyFromJSON( jsonString: string, ): SafeParseResult< diff --git a/src/models/getwebhookop.ts b/src/models/getwebhookop.ts index 54afb24d3..189439a9d 100644 --- a/src/models/getwebhookop.ts +++ b/src/models/getwebhookop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; @@ -100,6 +100,8 @@ export const GetWebhookEvents = { MarketplaceInvoiceRefunded: "marketplace.invoice.refunded", ObservabilityAnomaly: "observability.anomaly", ObservabilityAnomalyError: "observability.anomaly-error", + ObservabilityUsageAnomaly: "observability.usage-anomaly", + ObservabilityErrorAnomaly: "observability.error-anomaly", ObservabilityAnomalyBotId: "observability.anomaly-botId", TestWebhook: "test-webhook", } as const; @@ -149,7 +151,6 @@ export const GetWebhookRequest$inboundSchema: z.ZodType< teamId: z.string().optional(), slug: z.string().optional(), }); - /** @internal */ export type GetWebhookRequest$Outbound = { id: string; @@ -168,19 +169,6 @@ export const GetWebhookRequest$outboundSchema: z.ZodType< 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 { @@ -188,7 +176,6 @@ export function getWebhookRequestToJSON( GetWebhookRequest$outboundSchema.parse(getWebhookRequest), ); } - export function getWebhookRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -203,23 +190,11 @@ export function getWebhookRequestFromJSON( 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, @@ -234,7 +209,6 @@ export const GetWebhookResponseBody$inboundSchema: z.ZodType< updatedAt: z.number(), projectIds: z.array(z.string()).optional(), }); - /** @internal */ export type GetWebhookResponseBody$Outbound = { events: Array; @@ -261,19 +235,6 @@ export const GetWebhookResponseBody$outboundSchema: z.ZodType< 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 { @@ -281,7 +242,6 @@ export function getWebhookResponseBodyToJSON( GetWebhookResponseBody$outboundSchema.parse(getWebhookResponseBody), ); } - export function getWebhookResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/getwebhooksop.ts b/src/models/getwebhooksop.ts index f2785f14d..4185d7aea 100644 --- a/src/models/getwebhooksop.ts +++ b/src/models/getwebhooksop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; @@ -100,6 +100,8 @@ export const GetWebhooksResponseBodyEvents = { MarketplaceInvoiceRefunded: "marketplace.invoice.refunded", ObservabilityAnomaly: "observability.anomaly", ObservabilityAnomalyError: "observability.anomaly-error", + ObservabilityUsageAnomaly: "observability.usage-anomaly", + ObservabilityErrorAnomaly: "observability.error-anomaly", ObservabilityAnomalyBotId: "observability.anomaly-botId", TestWebhook: "test-webhook", } as const; @@ -181,10 +183,12 @@ export const GetWebhooksResponseBodyFramework = { Zola: "zola", Hydrogen: "hydrogen", Vite: "vite", + TanstackStart: "tanstack-start", Vitepress: "vitepress", Vuepress: "vuepress", Parcel: "parcel", Fastapi: "fastapi", + Flask: "flask", Fasthtml: "fasthtml", SanityV3: "sanity-v3", Sanity: "sanity", @@ -193,13 +197,16 @@ export const GetWebhooksResponseBodyFramework = { Hono: "hono", Express: "express", H3: "h3", + Nestjs: "nestjs", + Elysia: "elysia", + Fastify: "fastify", Xmcp: "xmcp", } as const; export type GetWebhooksResponseBodyFramework = ClosedEnum< typeof GetWebhooksResponseBodyFramework >; -export type ResponseBodyProjectsMetadata = { +export type GetWebhooksResponseBodyProjectsMetadata = { id: string; name: string; framework?: GetWebhooksResponseBodyFramework | null | undefined; @@ -286,6 +293,8 @@ export const ResponseBodyEvents = { MarketplaceInvoiceRefunded: "marketplace.invoice.refunded", ObservabilityAnomaly: "observability.anomaly", ObservabilityAnomalyError: "observability.anomaly-error", + ObservabilityUsageAnomaly: "observability.usage-anomaly", + ObservabilityErrorAnomaly: "observability.error-anomaly", ObservabilityAnomalyBotId: "observability.anomaly-botId", TestWebhook: "test-webhook", } as const; @@ -295,7 +304,7 @@ export const ResponseBodyEvents = { export type ResponseBodyEvents = ClosedEnum; export type GetWebhooksResponseBody1 = { - projectsMetadata: Array | null; + projectsMetadata: Array | null; /** * The webhooks events */ @@ -340,7 +349,6 @@ export const GetWebhooksRequest$inboundSchema: z.ZodType< teamId: z.string().optional(), slug: z.string().optional(), }); - /** @internal */ export type GetWebhooksRequest$Outbound = { projectId?: string | undefined; @@ -359,19 +367,6 @@ export const GetWebhooksRequest$outboundSchema: z.ZodType< 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 { @@ -379,7 +374,6 @@ export function getWebhooksRequestToJSON( GetWebhooksRequest$outboundSchema.parse(getWebhooksRequest), ); } - export function getWebhooksRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -394,23 +388,11 @@ export function getWebhooksRequestFromJSON( 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, @@ -425,7 +407,6 @@ export const GetWebhooksResponseBody2$inboundSchema: z.ZodType< updatedAt: z.number(), projectIds: z.array(z.string()).optional(), }); - /** @internal */ export type GetWebhooksResponseBody2$Outbound = { events: Array; @@ -452,19 +433,6 @@ export const GetWebhooksResponseBody2$outboundSchema: z.ZodType< 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 { @@ -472,7 +440,6 @@ export function getWebhooksResponseBody2ToJSON( GetWebhooksResponseBody2$outboundSchema.parse(getWebhooksResponseBody2), ); } - export function getWebhooksResponseBody2FromJSON( jsonString: string, ): SafeParseResult { @@ -487,26 +454,14 @@ export function getWebhooksResponseBody2FromJSON( 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 ResponseBodyProjectsMetadata$inboundSchema: z.ZodType< - ResponseBodyProjectsMetadata, +export const GetWebhooksResponseBodyProjectsMetadata$inboundSchema: z.ZodType< + GetWebhooksResponseBodyProjectsMetadata, z.ZodTypeDef, unknown > = z.object({ @@ -516,9 +471,8 @@ export const ResponseBodyProjectsMetadata$inboundSchema: z.ZodType< .optional(), latestDeployment: z.string().optional(), }); - /** @internal */ -export type ResponseBodyProjectsMetadata$Outbound = { +export type GetWebhooksResponseBodyProjectsMetadata$Outbound = { id: string; name: string; framework?: string | null | undefined; @@ -526,10 +480,10 @@ export type ResponseBodyProjectsMetadata$Outbound = { }; /** @internal */ -export const ResponseBodyProjectsMetadata$outboundSchema: z.ZodType< - ResponseBodyProjectsMetadata$Outbound, +export const GetWebhooksResponseBodyProjectsMetadata$outboundSchema: z.ZodType< + GetWebhooksResponseBodyProjectsMetadata$Outbound, z.ZodTypeDef, - ResponseBodyProjectsMetadata + GetWebhooksResponseBodyProjectsMetadata > = z.object({ id: z.string(), name: z.string(), @@ -538,36 +492,29 @@ export const ResponseBodyProjectsMetadata$outboundSchema: z.ZodType< 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 ResponseBodyProjectsMetadata$ { - /** @deprecated use `ResponseBodyProjectsMetadata$inboundSchema` instead. */ - export const inboundSchema = ResponseBodyProjectsMetadata$inboundSchema; - /** @deprecated use `ResponseBodyProjectsMetadata$outboundSchema` instead. */ - export const outboundSchema = ResponseBodyProjectsMetadata$outboundSchema; - /** @deprecated use `ResponseBodyProjectsMetadata$Outbound` instead. */ - export type Outbound = ResponseBodyProjectsMetadata$Outbound; -} - -export function responseBodyProjectsMetadataToJSON( - responseBodyProjectsMetadata: ResponseBodyProjectsMetadata, +export function getWebhooksResponseBodyProjectsMetadataToJSON( + getWebhooksResponseBodyProjectsMetadata: + GetWebhooksResponseBodyProjectsMetadata, ): string { return JSON.stringify( - ResponseBodyProjectsMetadata$outboundSchema.parse( - responseBodyProjectsMetadata, + GetWebhooksResponseBodyProjectsMetadata$outboundSchema.parse( + getWebhooksResponseBodyProjectsMetadata, ), ); } - -export function responseBodyProjectsMetadataFromJSON( +export function getWebhooksResponseBodyProjectsMetadataFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult< + GetWebhooksResponseBodyProjectsMetadata, + SDKValidationError +> { return safeParse( jsonString, - (x) => ResponseBodyProjectsMetadata$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ResponseBodyProjectsMetadata' from JSON`, + (x) => + GetWebhooksResponseBodyProjectsMetadata$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'GetWebhooksResponseBodyProjectsMetadata' from JSON`, ); } @@ -575,23 +522,11 @@ export function responseBodyProjectsMetadataFromJSON( 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, @@ -599,7 +534,9 @@ export const GetWebhooksResponseBody1$inboundSchema: z.ZodType< unknown > = z.object({ projectsMetadata: z.nullable( - z.array(z.lazy(() => ResponseBodyProjectsMetadata$inboundSchema)), + z.array( + z.lazy(() => GetWebhooksResponseBodyProjectsMetadata$inboundSchema), + ), ), events: z.array(ResponseBodyEvents$inboundSchema), id: z.string(), @@ -609,10 +546,11 @@ export const GetWebhooksResponseBody1$inboundSchema: z.ZodType< updatedAt: z.number(), projectIds: z.array(z.string()).optional(), }); - /** @internal */ export type GetWebhooksResponseBody1$Outbound = { - projectsMetadata: Array | null; + projectsMetadata: + | Array + | null; events: Array; id: string; url: string; @@ -629,7 +567,9 @@ export const GetWebhooksResponseBody1$outboundSchema: z.ZodType< GetWebhooksResponseBody1 > = z.object({ projectsMetadata: z.nullable( - z.array(z.lazy(() => ResponseBodyProjectsMetadata$outboundSchema)), + z.array( + z.lazy(() => GetWebhooksResponseBodyProjectsMetadata$outboundSchema), + ), ), events: z.array(ResponseBodyEvents$outboundSchema), id: z.string(), @@ -640,19 +580,6 @@ export const GetWebhooksResponseBody1$outboundSchema: z.ZodType< 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 { @@ -660,7 +587,6 @@ export function getWebhooksResponseBody1ToJSON( GetWebhooksResponseBody1$outboundSchema.parse(getWebhooksResponseBody1), ); } - export function getWebhooksResponseBody1FromJSON( jsonString: string, ): SafeParseResult { @@ -680,7 +606,6 @@ export const GetWebhooksResponseBody$inboundSchema: z.ZodType< z.array(z.lazy(() => GetWebhooksResponseBody1$inboundSchema)), z.array(z.lazy(() => GetWebhooksResponseBody2$inboundSchema)), ]); - /** @internal */ export type GetWebhooksResponseBody$Outbound = | Array @@ -696,19 +621,6 @@ export const GetWebhooksResponseBody$outboundSchema: z.ZodType< 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 { @@ -716,7 +628,6 @@ export function getWebhooksResponseBodyToJSON( GetWebhooksResponseBody$outboundSchema.parse(getWebhooksResponseBody), ); } - export function getWebhooksResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/headv1installationsintegrationconfigurationidresourcesresourceidexperimentationedgeconfigop.ts b/src/models/headv1installationsintegrationconfigurationidresourcesresourceidexperimentationedgeconfigop.ts index ac8021551..fba2430b4 100644 --- a/src/models/headv1installationsintegrationconfigurationidresourcesresourceidexperimentationedgeconfigop.ts +++ b/src/models/headv1installationsintegrationconfigurationidresourcesresourceidexperimentationedgeconfigop.ts @@ -2,8 +2,9 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; +import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { EdgeConfigItemValue, @@ -19,6 +20,16 @@ export type HeadV1InstallationsIntegrationConfigurationIdResourcesResourceIdExpe resourceId: string; }; +export const HeadV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigPurpose = + { + Flags: "flags", + Experimentation: "experimentation", + } as const; +export type HeadV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigPurpose = + ClosedEnum< + typeof HeadV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigPurpose + >; + /** * The Edge Config data */ @@ -27,6 +38,9 @@ export type HeadV1InstallationsIntegrationConfigurationIdResourcesResourceIdExpe items: { [k: string]: EdgeConfigItemValue | null }; updatedAt: number; digest: string; + purpose?: + | HeadV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigPurpose + | undefined; }; /** @internal */ @@ -39,7 +53,6 @@ export const HeadV1InstallationsIntegrationConfigurationIdResourcesResourceIdExp integrationConfigurationId: z.string(), resourceId: z.string(), }); - /** @internal */ export type HeadV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigRequest$Outbound = { @@ -58,22 +71,6 @@ export const HeadV1InstallationsIntegrationConfigurationIdResourcesResourceIdExp 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 HeadV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigRequest$ { - /** @deprecated use `HeadV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigRequest$inboundSchema` instead. */ - export const inboundSchema = - HeadV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigRequest$inboundSchema; - /** @deprecated use `HeadV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigRequest$outboundSchema` instead. */ - export const outboundSchema = - HeadV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigRequest$outboundSchema; - /** @deprecated use `HeadV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigRequest$Outbound` instead. */ - export type Outbound = - HeadV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigRequest$Outbound; -} - export function headV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigRequestToJSON( headV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigRequest: HeadV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigRequest, @@ -85,7 +82,6 @@ export function headV1InstallationsIntegrationConfigurationIdResourcesResourceId ), ); } - export function headV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigRequestFromJSON( jsonString: string, ): SafeParseResult< @@ -101,6 +97,20 @@ export function headV1InstallationsIntegrationConfigurationIdResourcesResourceId ); } +/** @internal */ +export const HeadV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigPurpose$inboundSchema: + z.ZodNativeEnum< + typeof HeadV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigPurpose + > = z.nativeEnum( + HeadV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigPurpose, + ); +/** @internal */ +export const HeadV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigPurpose$outboundSchema: + z.ZodNativeEnum< + typeof HeadV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigPurpose + > = + HeadV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigPurpose$inboundSchema; + /** @internal */ export const HeadV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigResponseBody$inboundSchema: z.ZodType< @@ -111,14 +121,17 @@ export const HeadV1InstallationsIntegrationConfigurationIdResourcesResourceIdExp items: z.record(z.nullable(EdgeConfigItemValue$inboundSchema)), updatedAt: z.number(), digest: z.string(), + purpose: + HeadV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigPurpose$inboundSchema + .optional(), }); - /** @internal */ export type HeadV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigResponseBody$Outbound = { items: { [k: string]: EdgeConfigItemValue$Outbound | null }; updatedAt: number; digest: string; + purpose?: string | undefined; }; /** @internal */ @@ -131,24 +144,11 @@ export const HeadV1InstallationsIntegrationConfigurationIdResourcesResourceIdExp items: z.record(z.nullable(EdgeConfigItemValue$outboundSchema)), updatedAt: z.number(), digest: z.string(), + purpose: + HeadV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigPurpose$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 HeadV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigResponseBody$ { - /** @deprecated use `HeadV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigResponseBody$inboundSchema` instead. */ - export const inboundSchema = - HeadV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigResponseBody$inboundSchema; - /** @deprecated use `HeadV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigResponseBody$outboundSchema` instead. */ - export const outboundSchema = - HeadV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigResponseBody$outboundSchema; - /** @deprecated use `HeadV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigResponseBody$Outbound` instead. */ - export type Outbound = - HeadV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigResponseBody$Outbound; -} - export function headV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigResponseBodyToJSON( headV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigResponseBody: HeadV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigResponseBody, @@ -160,7 +160,6 @@ export function headV1InstallationsIntegrationConfigurationIdResourcesResourceId ), ); } - export function headV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigResponseBodyFromJSON( jsonString: string, ): SafeParseResult< diff --git a/src/models/importresourceop.ts b/src/models/importresourceop.ts index 46eb439d2..f9c68835e 100644 --- a/src/models/importresourceop.ts +++ b/src/models/importresourceop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; import { collectExtraKeys as collectExtraKeys$, @@ -22,6 +22,7 @@ export type Ownership = ClosedEnum; export const ImportResourceStatus = { Ready: "ready", Pending: "pending", + Onboarding: "onboarding", Suspended: "suspended", Resumed: "resumed", Uninstalled: "uninstalled", @@ -35,38 +36,38 @@ export const ImportResourceType = { } as const; export type ImportResourceType = ClosedEnum; -export type Details = { +export type ImportResourceDetails = { label: string; value?: string | undefined; }; -export type HighlightedDetails = { +export type ImportResourceHighlightedDetails = { label: string; value?: string | undefined; }; -export type BillingPlan = { +export type ImportResourceBillingPlan = { id: string; type: ImportResourceType; name: string; description?: string | undefined; paymentMethodRequired?: boolean | undefined; cost?: string | undefined; - details?: Array
| undefined; - highlightedDetails?: Array | undefined; + details?: Array | undefined; + highlightedDetails?: Array | undefined; effectiveDate?: string | undefined; - additionalProperties?: { [k: string]: any }; + additionalProperties?: { [k: string]: any } | undefined; }; -export const Level = { +export const ImportResourceLevel = { Info: "info", Warn: "warn", Error: "error", } as const; -export type Level = ClosedEnum; +export type ImportResourceLevel = ClosedEnum; -export type Notification = { - level: Level; +export type ImportResourceNotification = { + level: ImportResourceLevel; title: string; message?: string | undefined; href?: string | undefined; @@ -106,8 +107,8 @@ export type ImportResourceRequestBody = { name: string; status: ImportResourceStatus; metadata?: { [k: string]: any } | undefined; - billingPlan?: BillingPlan | undefined; - notification?: Notification | undefined; + billingPlan?: ImportResourceBillingPlan | undefined; + notification?: ImportResourceNotification | undefined; extras?: { [k: string]: any } | undefined; secrets?: Array | undefined; }; @@ -125,174 +126,117 @@ export type ImportResourceResponseBody = { /** @internal */ export const Ownership$inboundSchema: z.ZodNativeEnum = z .nativeEnum(Ownership); - /** @internal */ export const Ownership$outboundSchema: z.ZodNativeEnum = Ownership$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Ownership$ { - /** @deprecated use `Ownership$inboundSchema` instead. */ - export const inboundSchema = Ownership$inboundSchema; - /** @deprecated use `Ownership$outboundSchema` instead. */ - export const outboundSchema = Ownership$outboundSchema; -} - /** @internal */ export const ImportResourceStatus$inboundSchema: z.ZodNativeEnum< typeof ImportResourceStatus > = z.nativeEnum(ImportResourceStatus); - /** @internal */ export const ImportResourceStatus$outboundSchema: z.ZodNativeEnum< typeof ImportResourceStatus > = ImportResourceStatus$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ImportResourceStatus$ { - /** @deprecated use `ImportResourceStatus$inboundSchema` instead. */ - export const inboundSchema = ImportResourceStatus$inboundSchema; - /** @deprecated use `ImportResourceStatus$outboundSchema` instead. */ - export const outboundSchema = ImportResourceStatus$outboundSchema; -} - /** @internal */ export const ImportResourceType$inboundSchema: z.ZodNativeEnum< typeof ImportResourceType > = z.nativeEnum(ImportResourceType); - /** @internal */ export const ImportResourceType$outboundSchema: z.ZodNativeEnum< typeof ImportResourceType > = ImportResourceType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ImportResourceType$ { - /** @deprecated use `ImportResourceType$inboundSchema` instead. */ - export const inboundSchema = ImportResourceType$inboundSchema; - /** @deprecated use `ImportResourceType$outboundSchema` instead. */ - export const outboundSchema = ImportResourceType$outboundSchema; -} - /** @internal */ -export const Details$inboundSchema: z.ZodType = - z.object({ - label: z.string(), - value: z.string().optional(), - }); - +export const ImportResourceDetails$inboundSchema: z.ZodType< + ImportResourceDetails, + z.ZodTypeDef, + unknown +> = z.object({ + label: z.string(), + value: z.string().optional(), +}); /** @internal */ -export type Details$Outbound = { +export type ImportResourceDetails$Outbound = { label: string; value?: string | undefined; }; /** @internal */ -export const Details$outboundSchema: z.ZodType< - Details$Outbound, +export const ImportResourceDetails$outboundSchema: z.ZodType< + ImportResourceDetails$Outbound, z.ZodTypeDef, - Details + ImportResourceDetails > = 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 importResourceDetailsToJSON( + importResourceDetails: ImportResourceDetails, +): string { + return JSON.stringify( + ImportResourceDetails$outboundSchema.parse(importResourceDetails), + ); } - -export function detailsFromJSON( +export function importResourceDetailsFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => Details$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Details' from JSON`, + (x) => ImportResourceDetails$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ImportResourceDetails' from JSON`, ); } /** @internal */ -export const HighlightedDetails$inboundSchema: z.ZodType< - HighlightedDetails, +export const ImportResourceHighlightedDetails$inboundSchema: z.ZodType< + ImportResourceHighlightedDetails, z.ZodTypeDef, unknown > = z.object({ label: z.string(), value: z.string().optional(), }); - /** @internal */ -export type HighlightedDetails$Outbound = { +export type ImportResourceHighlightedDetails$Outbound = { label: string; value?: string | undefined; }; /** @internal */ -export const HighlightedDetails$outboundSchema: z.ZodType< - HighlightedDetails$Outbound, +export const ImportResourceHighlightedDetails$outboundSchema: z.ZodType< + ImportResourceHighlightedDetails$Outbound, z.ZodTypeDef, - HighlightedDetails + ImportResourceHighlightedDetails > = 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 HighlightedDetails$ { - /** @deprecated use `HighlightedDetails$inboundSchema` instead. */ - export const inboundSchema = HighlightedDetails$inboundSchema; - /** @deprecated use `HighlightedDetails$outboundSchema` instead. */ - export const outboundSchema = HighlightedDetails$outboundSchema; - /** @deprecated use `HighlightedDetails$Outbound` instead. */ - export type Outbound = HighlightedDetails$Outbound; -} - -export function highlightedDetailsToJSON( - highlightedDetails: HighlightedDetails, +export function importResourceHighlightedDetailsToJSON( + importResourceHighlightedDetails: ImportResourceHighlightedDetails, ): string { return JSON.stringify( - HighlightedDetails$outboundSchema.parse(highlightedDetails), + ImportResourceHighlightedDetails$outboundSchema.parse( + importResourceHighlightedDetails, + ), ); } - -export function highlightedDetailsFromJSON( +export function importResourceHighlightedDetailsFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => HighlightedDetails$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'HighlightedDetails' from JSON`, + (x) => ImportResourceHighlightedDetails$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ImportResourceHighlightedDetails' from JSON`, ); } /** @internal */ -export const BillingPlan$inboundSchema: z.ZodType< - BillingPlan, +export const ImportResourceBillingPlan$inboundSchema: z.ZodType< + ImportResourceBillingPlan, z.ZodTypeDef, unknown > = collectExtraKeys$( @@ -303,34 +247,37 @@ export const BillingPlan$inboundSchema: z.ZodType< description: z.string().optional(), paymentMethodRequired: z.boolean().optional(), cost: z.string().optional(), - details: z.array(z.lazy(() => Details$inboundSchema)).optional(), - highlightedDetails: z.array(z.lazy(() => HighlightedDetails$inboundSchema)) + details: z.array(z.lazy(() => ImportResourceDetails$inboundSchema)) .optional(), + highlightedDetails: z.array( + z.lazy(() => ImportResourceHighlightedDetails$inboundSchema), + ).optional(), effectiveDate: z.string().optional(), }).catchall(z.any()), "additionalProperties", true, ); - /** @internal */ -export type BillingPlan$Outbound = { +export type ImportResourceBillingPlan$Outbound = { id: string; type: string; name: string; description?: string | undefined; paymentMethodRequired?: boolean | undefined; cost?: string | undefined; - details?: Array | undefined; - highlightedDetails?: Array | undefined; + details?: Array | undefined; + highlightedDetails?: + | Array + | undefined; effectiveDate?: string | undefined; [additionalProperties: string]: unknown; }; /** @internal */ -export const BillingPlan$outboundSchema: z.ZodType< - BillingPlan$Outbound, +export const ImportResourceBillingPlan$outboundSchema: z.ZodType< + ImportResourceBillingPlan$Outbound, z.ZodTypeDef, - BillingPlan + ImportResourceBillingPlan > = z.object({ id: z.string(), type: ImportResourceType$outboundSchema, @@ -338,11 +285,13 @@ export const BillingPlan$outboundSchema: z.ZodType< description: z.string().optional(), paymentMethodRequired: z.boolean().optional(), cost: z.string().optional(), - details: z.array(z.lazy(() => Details$outboundSchema)).optional(), - highlightedDetails: z.array(z.lazy(() => HighlightedDetails$outboundSchema)) + details: z.array(z.lazy(() => ImportResourceDetails$outboundSchema)) .optional(), + highlightedDetails: z.array( + z.lazy(() => ImportResourceHighlightedDetails$outboundSchema), + ).optional(), effectiveDate: z.string().optional(), - additionalProperties: z.record(z.any()), + additionalProperties: z.record(z.any()).optional(), }).transform((v) => { return { ...v.additionalProperties, @@ -352,67 +301,45 @@ export const BillingPlan$outboundSchema: z.ZodType< }; }); -/** - * @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 importResourceBillingPlanToJSON( + importResourceBillingPlan: ImportResourceBillingPlan, +): string { + return JSON.stringify( + ImportResourceBillingPlan$outboundSchema.parse(importResourceBillingPlan), + ); } - -export function billingPlanFromJSON( +export function importResourceBillingPlanFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => BillingPlan$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'BillingPlan' from JSON`, + (x) => ImportResourceBillingPlan$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ImportResourceBillingPlan' from JSON`, ); } /** @internal */ -export const Level$inboundSchema: z.ZodNativeEnum = z.nativeEnum( - Level, -); - +export const ImportResourceLevel$inboundSchema: z.ZodNativeEnum< + typeof ImportResourceLevel +> = z.nativeEnum(ImportResourceLevel); /** @internal */ -export const Level$outboundSchema: z.ZodNativeEnum = - Level$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Level$ { - /** @deprecated use `Level$inboundSchema` instead. */ - export const inboundSchema = Level$inboundSchema; - /** @deprecated use `Level$outboundSchema` instead. */ - export const outboundSchema = Level$outboundSchema; -} +export const ImportResourceLevel$outboundSchema: z.ZodNativeEnum< + typeof ImportResourceLevel +> = ImportResourceLevel$inboundSchema; /** @internal */ -export const Notification$inboundSchema: z.ZodType< - Notification, +export const ImportResourceNotification$inboundSchema: z.ZodType< + ImportResourceNotification, z.ZodTypeDef, unknown > = z.object({ - level: Level$inboundSchema, + level: ImportResourceLevel$inboundSchema, title: z.string(), message: z.string().optional(), href: z.string().optional(), }); - /** @internal */ -export type Notification$Outbound = { +export type ImportResourceNotification$Outbound = { level: string; title: string; message?: string | undefined; @@ -420,41 +347,31 @@ export type Notification$Outbound = { }; /** @internal */ -export const Notification$outboundSchema: z.ZodType< - Notification$Outbound, +export const ImportResourceNotification$outboundSchema: z.ZodType< + ImportResourceNotification$Outbound, z.ZodTypeDef, - Notification + ImportResourceNotification > = z.object({ - level: Level$outboundSchema, + level: ImportResourceLevel$outboundSchema, title: z.string(), message: z.string().optional(), href: z.string().optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Notification$ { - /** @deprecated use `Notification$inboundSchema` instead. */ - export const inboundSchema = Notification$inboundSchema; - /** @deprecated use `Notification$outboundSchema` instead. */ - export const outboundSchema = Notification$outboundSchema; - /** @deprecated use `Notification$Outbound` instead. */ - export type Outbound = Notification$Outbound; -} - -export function notificationToJSON(notification: Notification): string { - return JSON.stringify(Notification$outboundSchema.parse(notification)); +export function importResourceNotificationToJSON( + importResourceNotification: ImportResourceNotification, +): string { + return JSON.stringify( + ImportResourceNotification$outboundSchema.parse(importResourceNotification), + ); } - -export function notificationFromJSON( +export function importResourceNotificationFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => Notification$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Notification' from JSON`, + (x) => ImportResourceNotification$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ImportResourceNotification' from JSON`, ); } @@ -468,7 +385,6 @@ export const EnvironmentOverrides$inboundSchema: z.ZodType< preview: z.string().optional(), production: z.string().optional(), }); - /** @internal */ export type EnvironmentOverrides$Outbound = { development?: string | undefined; @@ -487,19 +403,6 @@ export const EnvironmentOverrides$outboundSchema: z.ZodType< production: z.string().optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace EnvironmentOverrides$ { - /** @deprecated use `EnvironmentOverrides$inboundSchema` instead. */ - export const inboundSchema = EnvironmentOverrides$inboundSchema; - /** @deprecated use `EnvironmentOverrides$outboundSchema` instead. */ - export const outboundSchema = EnvironmentOverrides$outboundSchema; - /** @deprecated use `EnvironmentOverrides$Outbound` instead. */ - export type Outbound = EnvironmentOverrides$Outbound; -} - export function environmentOverridesToJSON( environmentOverrides: EnvironmentOverrides, ): string { @@ -507,7 +410,6 @@ export function environmentOverridesToJSON( EnvironmentOverrides$outboundSchema.parse(environmentOverrides), ); } - export function environmentOverridesFromJSON( jsonString: string, ): SafeParseResult { @@ -530,7 +432,6 @@ export const ImportResourceSecrets$inboundSchema: z.ZodType< environmentOverrides: z.lazy(() => EnvironmentOverrides$inboundSchema) .optional(), }); - /** @internal */ export type ImportResourceSecrets$Outbound = { name: string; @@ -552,19 +453,6 @@ export const ImportResourceSecrets$outboundSchema: z.ZodType< .optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ImportResourceSecrets$ { - /** @deprecated use `ImportResourceSecrets$inboundSchema` instead. */ - export const inboundSchema = ImportResourceSecrets$inboundSchema; - /** @deprecated use `ImportResourceSecrets$outboundSchema` instead. */ - export const outboundSchema = ImportResourceSecrets$outboundSchema; - /** @deprecated use `ImportResourceSecrets$Outbound` instead. */ - export type Outbound = ImportResourceSecrets$Outbound; -} - export function importResourceSecretsToJSON( importResourceSecrets: ImportResourceSecrets, ): string { @@ -572,7 +460,6 @@ export function importResourceSecretsToJSON( ImportResourceSecrets$outboundSchema.parse(importResourceSecrets), ); } - export function importResourceSecretsFromJSON( jsonString: string, ): SafeParseResult { @@ -594,13 +481,13 @@ export const ImportResourceRequestBody$inboundSchema: z.ZodType< name: z.string(), status: ImportResourceStatus$inboundSchema, metadata: z.record(z.any()).optional(), - billingPlan: z.lazy(() => BillingPlan$inboundSchema).optional(), - notification: z.lazy(() => Notification$inboundSchema).optional(), + billingPlan: z.lazy(() => ImportResourceBillingPlan$inboundSchema).optional(), + notification: z.lazy(() => ImportResourceNotification$inboundSchema) + .optional(), extras: z.record(z.any()).optional(), secrets: z.array(z.lazy(() => ImportResourceSecrets$inboundSchema)) .optional(), }); - /** @internal */ export type ImportResourceRequestBody$Outbound = { ownership?: string | undefined; @@ -608,8 +495,8 @@ export type ImportResourceRequestBody$Outbound = { name: string; status: string; metadata?: { [k: string]: any } | undefined; - billingPlan?: BillingPlan$Outbound | undefined; - notification?: Notification$Outbound | undefined; + billingPlan?: ImportResourceBillingPlan$Outbound | undefined; + notification?: ImportResourceNotification$Outbound | undefined; extras?: { [k: string]: any } | undefined; secrets?: Array | undefined; }; @@ -625,26 +512,15 @@ export const ImportResourceRequestBody$outboundSchema: z.ZodType< name: z.string(), status: ImportResourceStatus$outboundSchema, metadata: z.record(z.any()).optional(), - billingPlan: z.lazy(() => BillingPlan$outboundSchema).optional(), - notification: z.lazy(() => Notification$outboundSchema).optional(), + billingPlan: z.lazy(() => ImportResourceBillingPlan$outboundSchema) + .optional(), + notification: z.lazy(() => ImportResourceNotification$outboundSchema) + .optional(), extras: z.record(z.any()).optional(), secrets: z.array(z.lazy(() => ImportResourceSecrets$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 ImportResourceRequestBody$ { - /** @deprecated use `ImportResourceRequestBody$inboundSchema` instead. */ - export const inboundSchema = ImportResourceRequestBody$inboundSchema; - /** @deprecated use `ImportResourceRequestBody$outboundSchema` instead. */ - export const outboundSchema = ImportResourceRequestBody$outboundSchema; - /** @deprecated use `ImportResourceRequestBody$Outbound` instead. */ - export type Outbound = ImportResourceRequestBody$Outbound; -} - export function importResourceRequestBodyToJSON( importResourceRequestBody: ImportResourceRequestBody, ): string { @@ -652,7 +528,6 @@ export function importResourceRequestBodyToJSON( ImportResourceRequestBody$outboundSchema.parse(importResourceRequestBody), ); } - export function importResourceRequestBodyFromJSON( jsonString: string, ): SafeParseResult { @@ -677,7 +552,6 @@ export const ImportResourceRequest$inboundSchema: z.ZodType< "RequestBody": "requestBody", }); }); - /** @internal */ export type ImportResourceRequest$Outbound = { integrationConfigurationId: string; @@ -701,19 +575,6 @@ export const ImportResourceRequest$outboundSchema: z.ZodType< }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ImportResourceRequest$ { - /** @deprecated use `ImportResourceRequest$inboundSchema` instead. */ - export const inboundSchema = ImportResourceRequest$inboundSchema; - /** @deprecated use `ImportResourceRequest$outboundSchema` instead. */ - export const outboundSchema = ImportResourceRequest$outboundSchema; - /** @deprecated use `ImportResourceRequest$Outbound` instead. */ - export type Outbound = ImportResourceRequest$Outbound; -} - export function importResourceRequestToJSON( importResourceRequest: ImportResourceRequest, ): string { @@ -721,7 +582,6 @@ export function importResourceRequestToJSON( ImportResourceRequest$outboundSchema.parse(importResourceRequest), ); } - export function importResourceRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -740,7 +600,6 @@ export const ImportResourceResponseBody$inboundSchema: z.ZodType< > = z.object({ name: z.string(), }); - /** @internal */ export type ImportResourceResponseBody$Outbound = { name: string; @@ -755,19 +614,6 @@ export const ImportResourceResponseBody$outboundSchema: z.ZodType< 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 ImportResourceResponseBody$ { - /** @deprecated use `ImportResourceResponseBody$inboundSchema` instead. */ - export const inboundSchema = ImportResourceResponseBody$inboundSchema; - /** @deprecated use `ImportResourceResponseBody$outboundSchema` instead. */ - export const outboundSchema = ImportResourceResponseBody$outboundSchema; - /** @deprecated use `ImportResourceResponseBody$Outbound` instead. */ - export type Outbound = ImportResourceResponseBody$Outbound; -} - export function importResourceResponseBodyToJSON( importResourceResponseBody: ImportResourceResponseBody, ): string { @@ -775,7 +621,6 @@ export function importResourceResponseBodyToJSON( ImportResourceResponseBody$outboundSchema.parse(importResourceResponseBody), ); } - export function importResourceResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/internalservererror.ts b/src/models/internalservererror.ts new file mode 100644 index 000000000..6b02e200f --- /dev/null +++ b/src/models/internalservererror.ts @@ -0,0 +1,91 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../types/enums.js"; +import { VercelError } from "./vercelerror.js"; + +export const InternalServerErrorCode = { + InternalServerError: "internal_server_error", +} as const; +export type InternalServerErrorCode = ClosedEnum< + typeof InternalServerErrorCode +>; + +export type InternalServerErrorData = { + status: number; + code: InternalServerErrorCode; + message: string; +}; + +export class InternalServerError extends VercelError { + status: number; + code: InternalServerErrorCode; + + /** The original data that was passed to this error instance. */ + data$: InternalServerErrorData; + + constructor( + err: InternalServerErrorData, + httpMeta: { response: Response; request: Request; body: string }, + ) { + const message = err.message || `API error occurred: ${JSON.stringify(err)}`; + super(message, httpMeta); + this.data$ = err; + this.status = err.status; + this.code = err.code; + + this.name = "InternalServerError"; + } +} + +/** @internal */ +export const InternalServerErrorCode$inboundSchema: z.ZodNativeEnum< + typeof InternalServerErrorCode +> = z.nativeEnum(InternalServerErrorCode); +/** @internal */ +export const InternalServerErrorCode$outboundSchema: z.ZodNativeEnum< + typeof InternalServerErrorCode +> = InternalServerErrorCode$inboundSchema; + +/** @internal */ +export const InternalServerError$inboundSchema: z.ZodType< + InternalServerError, + z.ZodTypeDef, + unknown +> = z.object({ + status: z.number(), + code: InternalServerErrorCode$inboundSchema, + message: z.string(), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), +}) + .transform((v) => { + return new InternalServerError(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }); + +/** @internal */ +export type InternalServerError$Outbound = { + status: number; + code: string; + message: string; +}; + +/** @internal */ +export const InternalServerError$outboundSchema: z.ZodType< + InternalServerError$Outbound, + z.ZodTypeDef, + InternalServerError +> = z.instanceof(InternalServerError) + .transform(v => v.data$) + .pipe(z.object({ + status: z.number(), + code: InternalServerErrorCode$outboundSchema, + message: z.string(), + })); diff --git a/src/models/invalidatebytagsop.ts b/src/models/invalidatebytagsop.ts index 2193146b5..50bad862b 100644 --- a/src/models/invalidatebytagsop.ts +++ b/src/models/invalidatebytagsop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; @@ -38,7 +38,6 @@ export type InvalidateByTagsRequest = { /** @internal */ export const Tags$inboundSchema: z.ZodType = z .union([z.array(z.string()), z.string()]); - /** @internal */ export type Tags$Outbound = Array | string; @@ -46,23 +45,9 @@ export type Tags$Outbound = Array | string; export const Tags$outboundSchema: z.ZodType = 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 Tags$ { - /** @deprecated use `Tags$inboundSchema` instead. */ - export const inboundSchema = Tags$inboundSchema; - /** @deprecated use `Tags$outboundSchema` instead. */ - export const outboundSchema = Tags$outboundSchema; - /** @deprecated use `Tags$Outbound` instead. */ - export type Outbound = Tags$Outbound; -} - export function tagsToJSON(tags: Tags): string { return JSON.stringify(Tags$outboundSchema.parse(tags)); } - export function tagsFromJSON( jsonString: string, ): SafeParseResult { @@ -77,23 +62,11 @@ export function tagsFromJSON( export const InvalidateByTagsTarget$inboundSchema: z.ZodNativeEnum< typeof InvalidateByTagsTarget > = z.nativeEnum(InvalidateByTagsTarget); - /** @internal */ export const InvalidateByTagsTarget$outboundSchema: z.ZodNativeEnum< typeof InvalidateByTagsTarget > = InvalidateByTagsTarget$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace InvalidateByTagsTarget$ { - /** @deprecated use `InvalidateByTagsTarget$inboundSchema` instead. */ - export const inboundSchema = InvalidateByTagsTarget$inboundSchema; - /** @deprecated use `InvalidateByTagsTarget$outboundSchema` instead. */ - export const outboundSchema = InvalidateByTagsTarget$outboundSchema; -} - /** @internal */ export const InvalidateByTagsRequestBody$inboundSchema: z.ZodType< InvalidateByTagsRequestBody, @@ -103,7 +76,6 @@ export const InvalidateByTagsRequestBody$inboundSchema: z.ZodType< tags: z.union([z.array(z.string()), z.string()]), target: InvalidateByTagsTarget$inboundSchema.optional(), }); - /** @internal */ export type InvalidateByTagsRequestBody$Outbound = { tags: Array | string; @@ -120,19 +92,6 @@ export const InvalidateByTagsRequestBody$outboundSchema: z.ZodType< target: InvalidateByTagsTarget$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 InvalidateByTagsRequestBody$ { - /** @deprecated use `InvalidateByTagsRequestBody$inboundSchema` instead. */ - export const inboundSchema = InvalidateByTagsRequestBody$inboundSchema; - /** @deprecated use `InvalidateByTagsRequestBody$outboundSchema` instead. */ - export const outboundSchema = InvalidateByTagsRequestBody$outboundSchema; - /** @deprecated use `InvalidateByTagsRequestBody$Outbound` instead. */ - export type Outbound = InvalidateByTagsRequestBody$Outbound; -} - export function invalidateByTagsRequestBodyToJSON( invalidateByTagsRequestBody: InvalidateByTagsRequestBody, ): string { @@ -142,7 +101,6 @@ export function invalidateByTagsRequestBodyToJSON( ), ); } - export function invalidateByTagsRequestBodyFromJSON( jsonString: string, ): SafeParseResult { @@ -169,7 +127,6 @@ export const InvalidateByTagsRequest$inboundSchema: z.ZodType< "RequestBody": "requestBody", }); }); - /** @internal */ export type InvalidateByTagsRequest$Outbound = { projectIdOrName: string; @@ -195,19 +152,6 @@ export const InvalidateByTagsRequest$outboundSchema: z.ZodType< }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace InvalidateByTagsRequest$ { - /** @deprecated use `InvalidateByTagsRequest$inboundSchema` instead. */ - export const inboundSchema = InvalidateByTagsRequest$inboundSchema; - /** @deprecated use `InvalidateByTagsRequest$outboundSchema` instead. */ - export const outboundSchema = InvalidateByTagsRequest$outboundSchema; - /** @deprecated use `InvalidateByTagsRequest$Outbound` instead. */ - export type Outbound = InvalidateByTagsRequest$Outbound; -} - export function invalidateByTagsRequestToJSON( invalidateByTagsRequest: InvalidateByTagsRequest, ): string { @@ -215,7 +159,6 @@ export function invalidateByTagsRequestToJSON( InvalidateByTagsRequest$outboundSchema.parse(invalidateByTagsRequest), ); } - export function invalidateByTagsRequestFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/invitedteammember.ts b/src/models/invitedteammember.ts new file mode 100644 index 000000000..13e03085a --- /dev/null +++ b/src/models/invitedteammember.ts @@ -0,0 +1,172 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +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 used for the invitation + */ +export const Role = { + Owner: "OWNER", + Member: "MEMBER", + Developer: "DEVELOPER", + Security: "SECURITY", + Billing: "BILLING", + Viewer: "VIEWER", + ViewerForPlus: "VIEWER_FOR_PLUS", + Contributor: "CONTRIBUTOR", +} as const; +/** + * The role used for the invitation + */ +export type Role = ClosedEnum; + +/** + * The team roles of the user + */ +export const TeamRoles = { + Owner: "OWNER", + Member: "MEMBER", + Developer: "DEVELOPER", + Security: "SECURITY", + Billing: "BILLING", + Viewer: "VIEWER", + ViewerForPlus: "VIEWER_FOR_PLUS", + Contributor: "CONTRIBUTOR", +} as const; +/** + * The team roles of the user + */ +export type TeamRoles = ClosedEnum; + +/** + * The team permissions of the user + */ +export const TeamPermissions = { + IntegrationManager: "IntegrationManager", + CreateProject: "CreateProject", + FullProductionDeployment: "FullProductionDeployment", + UsageViewer: "UsageViewer", + EnvVariableManager: "EnvVariableManager", + EnvironmentManager: "EnvironmentManager", + V0Builder: "V0Builder", + V0Chatter: "V0Chatter", + V0Viewer: "V0Viewer", +} as const; +/** + * The team permissions of the user + */ +export type TeamPermissions = ClosedEnum; + +/** + * The member was successfully added to the team. + */ +export type InvitedTeamMember = { + /** + * The ID of the invited user + */ + uid: string; + /** + * The username of the invited user + */ + username: string; + /** + * The email of the invited user. + */ + email: string; + /** + * The role used for the invitation + */ + role: Role; + /** + * The team roles of the user + */ + teamRoles?: Array | undefined; + /** + * The team permissions of the user + */ + teamPermissions?: Array | undefined; +}; + +/** @internal */ +export const Role$inboundSchema: z.ZodNativeEnum = z.nativeEnum( + Role, +); +/** @internal */ +export const Role$outboundSchema: z.ZodNativeEnum = + Role$inboundSchema; + +/** @internal */ +export const TeamRoles$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(TeamRoles); +/** @internal */ +export const TeamRoles$outboundSchema: z.ZodNativeEnum = + TeamRoles$inboundSchema; + +/** @internal */ +export const TeamPermissions$inboundSchema: z.ZodNativeEnum< + typeof TeamPermissions +> = z.nativeEnum(TeamPermissions); +/** @internal */ +export const TeamPermissions$outboundSchema: z.ZodNativeEnum< + typeof TeamPermissions +> = TeamPermissions$inboundSchema; + +/** @internal */ +export const InvitedTeamMember$inboundSchema: z.ZodType< + InvitedTeamMember, + z.ZodTypeDef, + unknown +> = z.object({ + uid: z.string(), + username: z.string(), + email: z.string(), + role: Role$inboundSchema, + teamRoles: z.array(TeamRoles$inboundSchema).optional(), + teamPermissions: z.array(TeamPermissions$inboundSchema).optional(), +}); +/** @internal */ +export type InvitedTeamMember$Outbound = { + uid: string; + username: string; + email: string; + role: string; + teamRoles?: Array | undefined; + teamPermissions?: Array | undefined; +}; + +/** @internal */ +export const InvitedTeamMember$outboundSchema: z.ZodType< + InvitedTeamMember$Outbound, + z.ZodTypeDef, + InvitedTeamMember +> = z.object({ + uid: z.string(), + username: z.string(), + email: z.string(), + role: Role$outboundSchema, + teamRoles: z.array(TeamRoles$outboundSchema).optional(), + teamPermissions: z.array(TeamPermissions$outboundSchema).optional(), +}); + +export function invitedTeamMemberToJSON( + invitedTeamMember: InvitedTeamMember, +): string { + return JSON.stringify( + InvitedTeamMember$outboundSchema.parse(invitedTeamMember), + ); +} +export function invitedTeamMemberFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => InvitedTeamMember$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'InvitedTeamMember' from JSON`, + ); +} diff --git a/src/models/inviteusertoteamop.ts b/src/models/inviteusertoteamop.ts index 1c6af4c34..1cbb0e223 100644 --- a/src/models/inviteusertoteamop.ts +++ b/src/models/inviteusertoteamop.ts @@ -2,8 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; -import { remap as remap$ } from "../lib/primitives.js"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; @@ -65,144 +64,24 @@ export type InviteUserToTeamRequestBody = { projects?: Array | undefined; }; -export type InviteUserToTeamRequest = { - teamId: string; - requestBody: InviteUserToTeamRequestBody; -}; - -/** - * The role used for the invitation - */ -export const InviteUserToTeamTeamsResponseRole = { - Owner: "OWNER", - Member: "MEMBER", - Developer: "DEVELOPER", - Security: "SECURITY", - Billing: "BILLING", - Viewer: "VIEWER", - ViewerForPlus: "VIEWER_FOR_PLUS", - Contributor: "CONTRIBUTOR", -} as const; -/** - * The role used for the invitation - */ -export type InviteUserToTeamTeamsResponseRole = ClosedEnum< - typeof InviteUserToTeamTeamsResponseRole ->; - -/** - * The team roles of the user - */ -export const InviteUserToTeamTeamRoles = { - Owner: "OWNER", - Member: "MEMBER", - Developer: "DEVELOPER", - Security: "SECURITY", - Billing: "BILLING", - Viewer: "VIEWER", - ViewerForPlus: "VIEWER_FOR_PLUS", - Contributor: "CONTRIBUTOR", -} as const; -/** - * The team roles of the user - */ -export type InviteUserToTeamTeamRoles = ClosedEnum< - typeof InviteUserToTeamTeamRoles ->; - -/** - * The team permissions of the user - */ -export const InviteUserToTeamTeamPermissions = { - IntegrationManager: "IntegrationManager", - CreateProject: "CreateProject", - FullProductionDeployment: "FullProductionDeployment", - UsageViewer: "UsageViewer", - EnvVariableManager: "EnvVariableManager", - EnvironmentManager: "EnvironmentManager", - V0Builder: "V0Builder", - V0Chatter: "V0Chatter", - V0Viewer: "V0Viewer", -} as const; -/** - * The team permissions of the user - */ -export type InviteUserToTeamTeamPermissions = ClosedEnum< - typeof InviteUserToTeamTeamPermissions ->; - -/** - * The member was successfully added to the team - */ -export type InviteUserToTeamResponseBody = { - /** - * The ID of the invited user - */ - uid: string; - /** - * The username of the invited user - */ - username: string; - /** - * The email of the invited user. - */ - email: string; - /** - * The role used for the invitation - */ - role: InviteUserToTeamTeamsResponseRole; - /** - * The team roles of the user - */ - teamRoles?: Array | undefined; - /** - * The team permissions of the user - */ - teamPermissions?: Array | undefined; -}; - /** @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, @@ -212,7 +91,6 @@ export const InviteUserToTeamProjects$inboundSchema: z.ZodType< projectId: z.string(), role: InviteUserToTeamTeamsRole$inboundSchema, }); - /** @internal */ export type InviteUserToTeamProjects$Outbound = { projectId: string; @@ -229,19 +107,6 @@ export const InviteUserToTeamProjects$outboundSchema: z.ZodType< 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 { @@ -249,7 +114,6 @@ export function inviteUserToTeamProjectsToJSON( InviteUserToTeamProjects$outboundSchema.parse(inviteUserToTeamProjects), ); } - export function inviteUserToTeamProjectsFromJSON( jsonString: string, ): SafeParseResult { @@ -267,11 +131,10 @@ export const InviteUserToTeamRequestBody$inboundSchema: z.ZodType< unknown > = z.object({ email: z.string(), - role: InviteUserToTeamRole$inboundSchema.default("MEMBER"), + role: InviteUserToTeamRole$inboundSchema.default("VIEWER"), projects: z.array(z.lazy(() => InviteUserToTeamProjects$inboundSchema)) .optional(), }); - /** @internal */ export type InviteUserToTeamRequestBody$Outbound = { email: string; @@ -286,24 +149,11 @@ export const InviteUserToTeamRequestBody$outboundSchema: z.ZodType< InviteUserToTeamRequestBody > = z.object({ email: z.string(), - role: InviteUserToTeamRole$outboundSchema.default("MEMBER"), + role: InviteUserToTeamRole$outboundSchema.default("VIEWER"), 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 { @@ -313,7 +163,6 @@ export function inviteUserToTeamRequestBodyToJSON( ), ); } - export function inviteUserToTeamRequestBodyFromJSON( jsonString: string, ): SafeParseResult { @@ -323,205 +172,3 @@ export function inviteUserToTeamRequestBodyFromJSON( `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 InviteUserToTeamTeamsResponseRole$inboundSchema: z.ZodNativeEnum< - typeof InviteUserToTeamTeamsResponseRole -> = z.nativeEnum(InviteUserToTeamTeamsResponseRole); - -/** @internal */ -export const InviteUserToTeamTeamsResponseRole$outboundSchema: z.ZodNativeEnum< - typeof InviteUserToTeamTeamsResponseRole -> = InviteUserToTeamTeamsResponseRole$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace InviteUserToTeamTeamsResponseRole$ { - /** @deprecated use `InviteUserToTeamTeamsResponseRole$inboundSchema` instead. */ - export const inboundSchema = InviteUserToTeamTeamsResponseRole$inboundSchema; - /** @deprecated use `InviteUserToTeamTeamsResponseRole$outboundSchema` instead. */ - export const outboundSchema = - InviteUserToTeamTeamsResponseRole$outboundSchema; -} - -/** @internal */ -export const InviteUserToTeamTeamRoles$inboundSchema: z.ZodNativeEnum< - typeof InviteUserToTeamTeamRoles -> = z.nativeEnum(InviteUserToTeamTeamRoles); - -/** @internal */ -export const InviteUserToTeamTeamRoles$outboundSchema: z.ZodNativeEnum< - typeof InviteUserToTeamTeamRoles -> = InviteUserToTeamTeamRoles$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace InviteUserToTeamTeamRoles$ { - /** @deprecated use `InviteUserToTeamTeamRoles$inboundSchema` instead. */ - export const inboundSchema = InviteUserToTeamTeamRoles$inboundSchema; - /** @deprecated use `InviteUserToTeamTeamRoles$outboundSchema` instead. */ - export const outboundSchema = InviteUserToTeamTeamRoles$outboundSchema; -} - -/** @internal */ -export const InviteUserToTeamTeamPermissions$inboundSchema: z.ZodNativeEnum< - typeof InviteUserToTeamTeamPermissions -> = z.nativeEnum(InviteUserToTeamTeamPermissions); - -/** @internal */ -export const InviteUserToTeamTeamPermissions$outboundSchema: z.ZodNativeEnum< - typeof InviteUserToTeamTeamPermissions -> = InviteUserToTeamTeamPermissions$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace InviteUserToTeamTeamPermissions$ { - /** @deprecated use `InviteUserToTeamTeamPermissions$inboundSchema` instead. */ - export const inboundSchema = InviteUserToTeamTeamPermissions$inboundSchema; - /** @deprecated use `InviteUserToTeamTeamPermissions$outboundSchema` instead. */ - export const outboundSchema = InviteUserToTeamTeamPermissions$outboundSchema; -} - -/** @internal */ -export const InviteUserToTeamResponseBody$inboundSchema: z.ZodType< - InviteUserToTeamResponseBody, - z.ZodTypeDef, - unknown -> = z.object({ - uid: z.string(), - username: z.string(), - email: z.string(), - role: InviteUserToTeamTeamsResponseRole$inboundSchema, - teamRoles: z.array(InviteUserToTeamTeamRoles$inboundSchema).optional(), - teamPermissions: z.array(InviteUserToTeamTeamPermissions$inboundSchema) - .optional(), -}); - -/** @internal */ -export type InviteUserToTeamResponseBody$Outbound = { - uid: string; - username: string; - email: string; - role: string; - teamRoles?: Array | undefined; - teamPermissions?: Array | undefined; -}; - -/** @internal */ -export const InviteUserToTeamResponseBody$outboundSchema: z.ZodType< - InviteUserToTeamResponseBody$Outbound, - z.ZodTypeDef, - InviteUserToTeamResponseBody -> = z.object({ - uid: z.string(), - username: z.string(), - email: z.string(), - role: InviteUserToTeamTeamsResponseRole$outboundSchema, - teamRoles: z.array(InviteUserToTeamTeamRoles$outboundSchema).optional(), - teamPermissions: z.array(InviteUserToTeamTeamPermissions$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 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 index 0a0add91e..e4b8f0cd8 100644 --- a/src/models/issuecertop.ts +++ b/src/models/issuecertop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; @@ -43,7 +43,6 @@ export const IssueCertRequestBody$inboundSchema: z.ZodType< > = z.object({ cns: z.array(z.string()).optional(), }); - /** @internal */ export type IssueCertRequestBody$Outbound = { cns?: Array | undefined; @@ -58,19 +57,6 @@ export const IssueCertRequestBody$outboundSchema: z.ZodType< 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 { @@ -78,7 +64,6 @@ export function issueCertRequestBodyToJSON( IssueCertRequestBody$outboundSchema.parse(issueCertRequestBody), ); } - export function issueCertRequestBodyFromJSON( jsonString: string, ): SafeParseResult { @@ -103,7 +88,6 @@ export const IssueCertRequest$inboundSchema: z.ZodType< "RequestBody": "requestBody", }); }); - /** @internal */ export type IssueCertRequest$Outbound = { teamId?: string | undefined; @@ -126,19 +110,6 @@ export const IssueCertRequest$outboundSchema: z.ZodType< }); }); -/** - * @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 { @@ -146,7 +117,6 @@ export function issueCertRequestToJSON( IssueCertRequest$outboundSchema.parse(issueCertRequest), ); } - export function issueCertRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -169,7 +139,6 @@ export const IssueCertResponseBody$inboundSchema: z.ZodType< autoRenew: z.boolean(), cns: z.array(z.string()), }); - /** @internal */ export type IssueCertResponseBody$Outbound = { id: string; @@ -192,19 +161,6 @@ export const IssueCertResponseBody$outboundSchema: z.ZodType< 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 { @@ -212,7 +168,6 @@ export function issueCertResponseBodyToJSON( IssueCertResponseBody$outboundSchema.parse(issueCertResponseBody), ); } - export function issueCertResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/jointeamop.ts b/src/models/jointeamop.ts index 4d3dade56..f5540fe6a 100644 --- a/src/models/jointeamop.ts +++ b/src/models/jointeamop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; @@ -50,7 +50,6 @@ export const JoinTeamRequestBody$inboundSchema: z.ZodType< > = z.object({ inviteCode: z.string().optional(), }); - /** @internal */ export type JoinTeamRequestBody$Outbound = { inviteCode?: string | undefined; @@ -65,19 +64,6 @@ export const JoinTeamRequestBody$outboundSchema: z.ZodType< 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 { @@ -85,7 +71,6 @@ export function joinTeamRequestBodyToJSON( JoinTeamRequestBody$outboundSchema.parse(joinTeamRequestBody), ); } - export function joinTeamRequestBodyFromJSON( jsonString: string, ): SafeParseResult { @@ -109,7 +94,6 @@ export const JoinTeamRequest$inboundSchema: z.ZodType< "RequestBody": "requestBody", }); }); - /** @internal */ export type JoinTeamRequest$Outbound = { teamId: string; @@ -130,25 +114,11 @@ export const JoinTeamRequest$outboundSchema: z.ZodType< }); }); -/** - * @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 { @@ -170,7 +140,6 @@ export const JoinTeamResponseBody$inboundSchema: z.ZodType< name: z.string(), from: z.string(), }); - /** @internal */ export type JoinTeamResponseBody$Outbound = { teamId: string; @@ -191,19 +160,6 @@ export const JoinTeamResponseBody$outboundSchema: z.ZodType< 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 { @@ -211,7 +167,6 @@ export function joinTeamResponseBodyToJSON( JoinTeamResponseBody$outboundSchema.parse(joinTeamResponseBody), ); } - export function joinTeamResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/listaccessgroupmembersop.ts b/src/models/listaccessgroupmembersop.ts index 3e0c8fb3b..343099787 100644 --- a/src/models/listaccessgroupmembersop.ts +++ b/src/models/listaccessgroupmembersop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; @@ -35,7 +35,7 @@ export type ListAccessGroupMembersRequest = { slug?: string | undefined; }; -export const TeamRole = { +export const ListAccessGroupMembersTeamRole = { Owner: "OWNER", Member: "MEMBER", Developer: "DEVELOPER", @@ -45,7 +45,9 @@ export const TeamRole = { ViewerForPlus: "VIEWER_FOR_PLUS", Contributor: "CONTRIBUTOR", } as const; -export type TeamRole = ClosedEnum; +export type ListAccessGroupMembersTeamRole = ClosedEnum< + typeof ListAccessGroupMembersTeamRole +>; export type Members = { avatar?: string | undefined; @@ -54,7 +56,7 @@ export type Members = { username: string; name?: string | undefined; createdAt?: string | undefined; - teamRole: TeamRole; + teamRole: ListAccessGroupMembersTeamRole; }; export type ListAccessGroupMembersPagination = { @@ -80,7 +82,6 @@ export const ListAccessGroupMembersRequest$inboundSchema: z.ZodType< teamId: z.string().optional(), slug: z.string().optional(), }); - /** @internal */ export type ListAccessGroupMembersRequest$Outbound = { idOrName: string; @@ -105,19 +106,6 @@ export const ListAccessGroupMembersRequest$outboundSchema: z.ZodType< 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 { @@ -127,7 +115,6 @@ export function listAccessGroupMembersRequestToJSON( ), ); } - export function listAccessGroupMembersRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -139,23 +126,13 @@ export function listAccessGroupMembersRequestFromJSON( } /** @internal */ -export const TeamRole$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(TeamRole); - +export const ListAccessGroupMembersTeamRole$inboundSchema: z.ZodNativeEnum< + typeof ListAccessGroupMembersTeamRole +> = z.nativeEnum(ListAccessGroupMembersTeamRole); /** @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; -} +export const ListAccessGroupMembersTeamRole$outboundSchema: z.ZodNativeEnum< + typeof ListAccessGroupMembersTeamRole +> = ListAccessGroupMembersTeamRole$inboundSchema; /** @internal */ export const Members$inboundSchema: z.ZodType = @@ -166,9 +143,8 @@ export const Members$inboundSchema: z.ZodType = username: z.string(), name: z.string().optional(), createdAt: z.string().optional(), - teamRole: TeamRole$inboundSchema, + teamRole: ListAccessGroupMembersTeamRole$inboundSchema, }); - /** @internal */ export type Members$Outbound = { avatar?: string | undefined; @@ -192,26 +168,12 @@ export const Members$outboundSchema: z.ZodType< username: z.string(), name: z.string().optional(), createdAt: z.string().optional(), - teamRole: TeamRole$outboundSchema, + teamRole: ListAccessGroupMembersTeamRole$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 { @@ -231,7 +193,6 @@ export const ListAccessGroupMembersPagination$inboundSchema: z.ZodType< count: z.number(), next: z.nullable(z.string()), }); - /** @internal */ export type ListAccessGroupMembersPagination$Outbound = { count: number; @@ -248,19 +209,6 @@ export const ListAccessGroupMembersPagination$outboundSchema: z.ZodType< 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 { @@ -270,7 +218,6 @@ export function listAccessGroupMembersPaginationToJSON( ), ); } - export function listAccessGroupMembersPaginationFromJSON( jsonString: string, ): SafeParseResult { @@ -290,7 +237,6 @@ export const ListAccessGroupMembersResponseBody$inboundSchema: z.ZodType< members: z.array(z.lazy(() => Members$inboundSchema)), pagination: z.lazy(() => ListAccessGroupMembersPagination$inboundSchema), }); - /** @internal */ export type ListAccessGroupMembersResponseBody$Outbound = { members: Array; @@ -307,20 +253,6 @@ export const ListAccessGroupMembersResponseBody$outboundSchema: z.ZodType< 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 { @@ -330,7 +262,6 @@ export function listAccessGroupMembersResponseBodyToJSON( ), ); } - export function listAccessGroupMembersResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/listaccessgroupprojectsop.ts b/src/models/listaccessgroupprojectsop.ts index 1fe3934a2..dc90dc17a 100644 --- a/src/models/listaccessgroupprojectsop.ts +++ b/src/models/listaccessgroupprojectsop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; @@ -76,7 +76,6 @@ export const ListAccessGroupProjectsRequest$inboundSchema: z.ZodType< teamId: z.string().optional(), slug: z.string().optional(), }); - /** @internal */ export type ListAccessGroupProjectsRequest$Outbound = { idOrName: string; @@ -99,19 +98,6 @@ export const ListAccessGroupProjectsRequest$outboundSchema: z.ZodType< 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 { @@ -121,7 +107,6 @@ export function listAccessGroupProjectsRequestToJSON( ), ); } - export function listAccessGroupProjectsRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -136,23 +121,11 @@ export function listAccessGroupProjectsRequestFromJSON( 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, @@ -163,7 +136,6 @@ export const ListAccessGroupProjectsProject$inboundSchema: z.ZodType< framework: z.nullable(z.string()).optional(), latestDeploymentId: z.string().optional(), }); - /** @internal */ export type ListAccessGroupProjectsProject$Outbound = { name?: string | undefined; @@ -182,19 +154,6 @@ export const ListAccessGroupProjectsProject$outboundSchema: z.ZodType< 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 { @@ -204,7 +163,6 @@ export function listAccessGroupProjectsProjectToJSON( ), ); } - export function listAccessGroupProjectsProjectFromJSON( jsonString: string, ): SafeParseResult { @@ -227,7 +185,6 @@ export const ListAccessGroupProjectsProjects$inboundSchema: z.ZodType< updatedAt: z.string(), project: z.lazy(() => ListAccessGroupProjectsProject$inboundSchema), }); - /** @internal */ export type ListAccessGroupProjectsProjects$Outbound = { projectId: string; @@ -250,19 +207,6 @@ export const ListAccessGroupProjectsProjects$outboundSchema: z.ZodType< 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 { @@ -272,7 +216,6 @@ export function listAccessGroupProjectsProjectsToJSON( ), ); } - export function listAccessGroupProjectsProjectsFromJSON( jsonString: string, ): SafeParseResult { @@ -292,7 +235,6 @@ export const ListAccessGroupProjectsPagination$inboundSchema: z.ZodType< count: z.number(), next: z.nullable(z.string()), }); - /** @internal */ export type ListAccessGroupProjectsPagination$Outbound = { count: number; @@ -309,20 +251,6 @@ export const ListAccessGroupProjectsPagination$outboundSchema: z.ZodType< 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 { @@ -332,7 +260,6 @@ export function listAccessGroupProjectsPaginationToJSON( ), ); } - export function listAccessGroupProjectsPaginationFromJSON( jsonString: string, ): SafeParseResult { @@ -354,7 +281,6 @@ export const ListAccessGroupProjectsResponseBody$inboundSchema: z.ZodType< ), pagination: z.lazy(() => ListAccessGroupProjectsPagination$inboundSchema), }); - /** @internal */ export type ListAccessGroupProjectsResponseBody$Outbound = { projects: Array; @@ -373,21 +299,6 @@ export const ListAccessGroupProjectsResponseBody$outboundSchema: z.ZodType< 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 { @@ -397,7 +308,6 @@ export function listAccessGroupProjectsResponseBodyToJSON( ), ); } - export function listAccessGroupProjectsResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/listaccessgroupsop.ts b/src/models/listaccessgroupsop.ts index f0b52c1f5..d2d88a5bd 100644 --- a/src/models/listaccessgroupsop.ts +++ b/src/models/listaccessgroupsop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -113,7 +113,6 @@ export const ListAccessGroupsRequest$inboundSchema: z.ZodType< teamId: z.string().optional(), slug: z.string().optional(), }); - /** @internal */ export type ListAccessGroupsRequest$Outbound = { projectId?: string | undefined; @@ -142,19 +141,6 @@ export const ListAccessGroupsRequest$outboundSchema: z.ZodType< 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 { @@ -162,7 +148,6 @@ export function listAccessGroupsRequestToJSON( ListAccessGroupsRequest$outboundSchema.parse(listAccessGroupsRequest), ); } - export function listAccessGroupsRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -193,7 +178,6 @@ export const AccessGroups$inboundSchema: z.ZodType< projectsCount: z.number(), teamRoles: z.array(z.string()).optional(), }); - /** @internal */ export type AccessGroups$Outbound = { members?: Array | undefined; @@ -232,23 +216,9 @@ export const AccessGroups$outboundSchema: z.ZodType< teamRoles: 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 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 { @@ -268,7 +238,6 @@ export const ResponseBodyPagination$inboundSchema: z.ZodType< count: z.number(), next: z.nullable(z.string()), }); - /** @internal */ export type ResponseBodyPagination$Outbound = { count: number; @@ -285,19 +254,6 @@ export const ResponseBodyPagination$outboundSchema: z.ZodType< 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 { @@ -305,7 +261,6 @@ export function responseBodyPaginationToJSON( ResponseBodyPagination$outboundSchema.parse(responseBodyPagination), ); } - export function responseBodyPaginationFromJSON( jsonString: string, ): SafeParseResult { @@ -325,7 +280,6 @@ export const ListAccessGroupsResponseBody2$inboundSchema: z.ZodType< accessGroups: z.array(z.lazy(() => AccessGroups$inboundSchema)), pagination: z.lazy(() => ResponseBodyPagination$inboundSchema), }); - /** @internal */ export type ListAccessGroupsResponseBody2$Outbound = { accessGroups: Array; @@ -342,19 +296,6 @@ export const ListAccessGroupsResponseBody2$outboundSchema: z.ZodType< 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 { @@ -364,7 +305,6 @@ export function listAccessGroupsResponseBody2ToJSON( ), ); } - export function listAccessGroupsResponseBody2FromJSON( jsonString: string, ): SafeParseResult { @@ -381,7 +321,6 @@ export const ListAccessGroupsResponseBody1$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({}); - /** @internal */ export type ListAccessGroupsResponseBody1$Outbound = {}; @@ -392,19 +331,6 @@ export const ListAccessGroupsResponseBody1$outboundSchema: z.ZodType< 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 { @@ -414,7 +340,6 @@ export function listAccessGroupsResponseBody1ToJSON( ), ); } - export function listAccessGroupsResponseBody1FromJSON( jsonString: string, ): SafeParseResult { @@ -434,7 +359,6 @@ export const ListAccessGroupsResponseBody$inboundSchema: z.ZodType< z.lazy(() => ListAccessGroupsResponseBody2$inboundSchema), z.lazy(() => ListAccessGroupsResponseBody1$inboundSchema), ]); - /** @internal */ export type ListAccessGroupsResponseBody$Outbound = | ListAccessGroupsResponseBody2$Outbound @@ -450,19 +374,6 @@ export const ListAccessGroupsResponseBody$outboundSchema: z.ZodType< z.lazy(() => ListAccessGroupsResponseBody1$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 { @@ -472,7 +383,6 @@ export function listAccessGroupsResponseBodyToJSON( ), ); } - export function listAccessGroupsResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/listaliasesop.ts b/src/models/listaliasesop.ts index 093cfad14..b5ef806fc 100644 --- a/src/models/listaliasesop.ts +++ b/src/models/listaliasesop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; @@ -334,7 +334,6 @@ export type ListAliasesResponseBody = { /** @internal */ export const Domain$inboundSchema: z.ZodType = z .union([z.array(z.string()), z.string()]); - /** @internal */ export type Domain$Outbound = Array | string; @@ -345,23 +344,9 @@ export const Domain$outboundSchema: z.ZodType< 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 { @@ -388,7 +373,6 @@ export const ListAliasesRequest$inboundSchema: z.ZodType< teamId: z.string().optional(), slug: z.string().optional(), }); - /** @internal */ export type ListAliasesRequest$Outbound = { domain?: Array | string | undefined; @@ -419,19 +403,6 @@ export const ListAliasesRequest$outboundSchema: z.ZodType< 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 { @@ -439,7 +410,6 @@ export function listAliasesRequestToJSON( ListAliasesRequest$outboundSchema.parse(listAliasesRequest), ); } - export function listAliasesRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -460,7 +430,6 @@ export const ListAliasesCreator$inboundSchema: z.ZodType< email: z.string(), username: z.string(), }); - /** @internal */ export type ListAliasesCreator$Outbound = { uid: string; @@ -479,19 +448,6 @@ export const ListAliasesCreator$outboundSchema: z.ZodType< 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 { @@ -499,7 +455,6 @@ export function listAliasesCreatorToJSON( ListAliasesCreator$outboundSchema.parse(listAliasesCreator), ); } - export function listAliasesCreatorFromJSON( jsonString: string, ): SafeParseResult { @@ -520,7 +475,6 @@ export const ListAliasesDeployment$inboundSchema: z.ZodType< url: z.string(), meta: z.string().optional(), }); - /** @internal */ export type ListAliasesDeployment$Outbound = { id: string; @@ -539,19 +493,6 @@ export const ListAliasesDeployment$outboundSchema: z.ZodType< 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 { @@ -559,7 +500,6 @@ export function listAliasesDeploymentToJSON( ListAliasesDeployment$outboundSchema.parse(listAliasesDeployment), ); } - export function listAliasesDeploymentFromJSON( jsonString: string, ): SafeParseResult { @@ -574,25 +514,11 @@ export function listAliasesDeploymentFromJSON( 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 ListAliasesProtectionBypass4$inboundSchema: z.ZodType< ListAliasesProtectionBypass4, @@ -604,7 +530,6 @@ export const ListAliasesProtectionBypass4$inboundSchema: z.ZodType< lastUpdatedBy: z.string(), scope: ListAliasesProtectionBypassAliasesResponse200Scope$inboundSchema, }); - /** @internal */ export type ListAliasesProtectionBypass4$Outbound = { createdAt: number; @@ -625,19 +550,6 @@ export const ListAliasesProtectionBypass4$outboundSchema: z.ZodType< 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 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 { @@ -647,7 +559,6 @@ export function listAliasesProtectionBypass4ToJSON( ), ); } - export function listAliasesProtectionBypass4FromJSON( jsonString: string, ): SafeParseResult { @@ -662,25 +573,11 @@ export function listAliasesProtectionBypass4FromJSON( 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 ListAliasesProtectionBypass3$inboundSchema: z.ZodType< ListAliasesProtectionBypass3, @@ -691,7 +588,6 @@ export const ListAliasesProtectionBypass3$inboundSchema: z.ZodType< createdBy: z.string(), scope: ListAliasesProtectionBypassAliasesResponseScope$inboundSchema, }); - /** @internal */ export type ListAliasesProtectionBypass3$Outbound = { createdAt: number; @@ -710,19 +606,6 @@ export const ListAliasesProtectionBypass3$outboundSchema: z.ZodType< 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 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 { @@ -732,7 +615,6 @@ export function listAliasesProtectionBypass3ToJSON( ), ); } - export function listAliasesProtectionBypass3FromJSON( jsonString: string, ): SafeParseResult { @@ -747,47 +629,20 @@ export function listAliasesProtectionBypass3FromJSON( export const ListAliasesProtectionBypassAccess$inboundSchema: z.ZodNativeEnum< typeof ListAliasesProtectionBypassAccess > = z.nativeEnum(ListAliasesProtectionBypassAccess); - /** @internal */ export const ListAliasesProtectionBypassAccess$outboundSchema: z.ZodNativeEnum< typeof ListAliasesProtectionBypassAccess > = ListAliasesProtectionBypassAccess$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ListAliasesProtectionBypassAccess$ { - /** @deprecated use `ListAliasesProtectionBypassAccess$inboundSchema` instead. */ - export const inboundSchema = ListAliasesProtectionBypassAccess$inboundSchema; - /** @deprecated use `ListAliasesProtectionBypassAccess$outboundSchema` instead. */ - export const outboundSchema = - ListAliasesProtectionBypassAccess$outboundSchema; -} - /** @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 ListAliasesProtectionBypass2$inboundSchema: z.ZodType< ListAliasesProtectionBypass2, @@ -800,7 +655,6 @@ export const ListAliasesProtectionBypass2$inboundSchema: z.ZodType< access: ListAliasesProtectionBypassAccess$inboundSchema, scope: ListAliasesProtectionBypassAliasesScope$inboundSchema, }); - /** @internal */ export type ListAliasesProtectionBypass2$Outbound = { createdAt: number; @@ -823,19 +677,6 @@ export const ListAliasesProtectionBypass2$outboundSchema: z.ZodType< 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 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 { @@ -845,7 +686,6 @@ export function listAliasesProtectionBypass2ToJSON( ), ); } - export function listAliasesProtectionBypass2FromJSON( jsonString: string, ): SafeParseResult { @@ -860,23 +700,11 @@ export function listAliasesProtectionBypass2FromJSON( 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 ListAliasesProtectionBypass1$inboundSchema: z.ZodType< ListAliasesProtectionBypass1, @@ -888,7 +716,6 @@ export const ListAliasesProtectionBypass1$inboundSchema: z.ZodType< scope: ListAliasesProtectionBypassScope$inboundSchema, expires: z.number().optional(), }); - /** @internal */ export type ListAliasesProtectionBypass1$Outbound = { createdAt: number; @@ -909,19 +736,6 @@ export const ListAliasesProtectionBypass1$outboundSchema: z.ZodType< expires: 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 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 { @@ -931,7 +745,6 @@ export function listAliasesProtectionBypass1ToJSON( ), ); } - export function listAliasesProtectionBypass1FromJSON( jsonString: string, ): SafeParseResult { @@ -953,7 +766,6 @@ export const ListAliasesProtectionBypass$inboundSchema: z.ZodType< z.lazy(() => ListAliasesProtectionBypass1$inboundSchema), z.lazy(() => ListAliasesProtectionBypass3$inboundSchema), ]); - /** @internal */ export type ListAliasesProtectionBypass$Outbound = | ListAliasesProtectionBypass2$Outbound @@ -973,19 +785,6 @@ export const ListAliasesProtectionBypass$outboundSchema: z.ZodType< z.lazy(() => ListAliasesProtectionBypass3$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 { @@ -995,7 +794,6 @@ export function listAliasesProtectionBypassToJSON( ), ); } - export function listAliasesProtectionBypassFromJSON( jsonString: string, ): SafeParseResult { @@ -1014,7 +812,6 @@ export const ListAliasesDefaultApp$inboundSchema: z.ZodType< > = z.object({ projectId: z.string(), }); - /** @internal */ export type ListAliasesDefaultApp$Outbound = { projectId: string; @@ -1029,19 +826,6 @@ export const ListAliasesDefaultApp$outboundSchema: z.ZodType< 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 ListAliasesDefaultApp$ { - /** @deprecated use `ListAliasesDefaultApp$inboundSchema` instead. */ - export const inboundSchema = ListAliasesDefaultApp$inboundSchema; - /** @deprecated use `ListAliasesDefaultApp$outboundSchema` instead. */ - export const outboundSchema = ListAliasesDefaultApp$outboundSchema; - /** @deprecated use `ListAliasesDefaultApp$Outbound` instead. */ - export type Outbound = ListAliasesDefaultApp$Outbound; -} - export function listAliasesDefaultAppToJSON( listAliasesDefaultApp: ListAliasesDefaultApp, ): string { @@ -1049,7 +833,6 @@ export function listAliasesDefaultAppToJSON( ListAliasesDefaultApp$outboundSchema.parse(listAliasesDefaultApp), ); } - export function listAliasesDefaultAppFromJSON( jsonString: string, ): SafeParseResult { @@ -1073,7 +856,6 @@ export const ListAliasesApplications3$inboundSchema: z.ZodType< branchAlias: z.string().optional(), projectId: z.string(), }); - /** @internal */ export type ListAliasesApplications3$Outbound = { deploymentId?: string | undefined; @@ -1098,19 +880,6 @@ export const ListAliasesApplications3$outboundSchema: z.ZodType< 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 ListAliasesApplications3$ { - /** @deprecated use `ListAliasesApplications3$inboundSchema` instead. */ - export const inboundSchema = ListAliasesApplications3$inboundSchema; - /** @deprecated use `ListAliasesApplications3$outboundSchema` instead. */ - export const outboundSchema = ListAliasesApplications3$outboundSchema; - /** @deprecated use `ListAliasesApplications3$Outbound` instead. */ - export type Outbound = ListAliasesApplications3$Outbound; -} - export function listAliasesApplications3ToJSON( listAliasesApplications3: ListAliasesApplications3, ): string { @@ -1118,7 +887,6 @@ export function listAliasesApplications3ToJSON( ListAliasesApplications3$outboundSchema.parse(listAliasesApplications3), ); } - export function listAliasesApplications3FromJSON( jsonString: string, ): SafeParseResult { @@ -1139,7 +907,6 @@ export const ListAliasesApplications2$inboundSchema: z.ZodType< branchAlias: z.string(), projectId: z.string(), }); - /** @internal */ export type ListAliasesApplications2$Outbound = { fallbackHost: string; @@ -1158,19 +925,6 @@ export const ListAliasesApplications2$outboundSchema: z.ZodType< 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 ListAliasesApplications2$ { - /** @deprecated use `ListAliasesApplications2$inboundSchema` instead. */ - export const inboundSchema = ListAliasesApplications2$inboundSchema; - /** @deprecated use `ListAliasesApplications2$outboundSchema` instead. */ - export const outboundSchema = ListAliasesApplications2$outboundSchema; - /** @deprecated use `ListAliasesApplications2$Outbound` instead. */ - export type Outbound = ListAliasesApplications2$Outbound; -} - export function listAliasesApplications2ToJSON( listAliasesApplications2: ListAliasesApplications2, ): string { @@ -1178,7 +932,6 @@ export function listAliasesApplications2ToJSON( ListAliasesApplications2$outboundSchema.parse(listAliasesApplications2), ); } - export function listAliasesApplications2FromJSON( jsonString: string, ): SafeParseResult { @@ -1198,7 +951,6 @@ export const ListAliasesApplications1$inboundSchema: z.ZodType< fallbackHost: z.string(), projectId: z.string(), }); - /** @internal */ export type ListAliasesApplications1$Outbound = { fallbackHost: string; @@ -1215,19 +967,6 @@ export const ListAliasesApplications1$outboundSchema: z.ZodType< 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 ListAliasesApplications1$ { - /** @deprecated use `ListAliasesApplications1$inboundSchema` instead. */ - export const inboundSchema = ListAliasesApplications1$inboundSchema; - /** @deprecated use `ListAliasesApplications1$outboundSchema` instead. */ - export const outboundSchema = ListAliasesApplications1$outboundSchema; - /** @deprecated use `ListAliasesApplications1$Outbound` instead. */ - export type Outbound = ListAliasesApplications1$Outbound; -} - export function listAliasesApplications1ToJSON( listAliasesApplications1: ListAliasesApplications1, ): string { @@ -1235,7 +974,6 @@ export function listAliasesApplications1ToJSON( ListAliasesApplications1$outboundSchema.parse(listAliasesApplications1), ); } - export function listAliasesApplications1FromJSON( jsonString: string, ): SafeParseResult { @@ -1256,7 +994,6 @@ export const ListAliasesApplications$inboundSchema: z.ZodType< z.array(z.lazy(() => ListAliasesApplications2$inboundSchema)), z.array(z.lazy(() => ListAliasesApplications3$inboundSchema)), ]); - /** @internal */ export type ListAliasesApplications$Outbound = | Array @@ -1274,19 +1011,6 @@ export const ListAliasesApplications$outboundSchema: z.ZodType< z.array(z.lazy(() => ListAliasesApplications3$outboundSchema)), ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ListAliasesApplications$ { - /** @deprecated use `ListAliasesApplications$inboundSchema` instead. */ - export const inboundSchema = ListAliasesApplications$inboundSchema; - /** @deprecated use `ListAliasesApplications$outboundSchema` instead. */ - export const outboundSchema = ListAliasesApplications$outboundSchema; - /** @deprecated use `ListAliasesApplications$Outbound` instead. */ - export type Outbound = ListAliasesApplications$Outbound; -} - export function listAliasesApplicationsToJSON( listAliasesApplications: ListAliasesApplications, ): string { @@ -1294,7 +1018,6 @@ export function listAliasesApplicationsToJSON( ListAliasesApplications$outboundSchema.parse(listAliasesApplications), ); } - export function listAliasesApplicationsFromJSON( jsonString: string, ): SafeParseResult { @@ -1318,7 +1041,6 @@ export const ListAliasesMicrofrontends$inboundSchema: z.ZodType< z.array(z.lazy(() => ListAliasesApplications3$inboundSchema)), ]), }); - /** @internal */ export type ListAliasesMicrofrontends$Outbound = { defaultApp: ListAliasesDefaultApp$Outbound; @@ -1342,19 +1064,6 @@ export const ListAliasesMicrofrontends$outboundSchema: z.ZodType< ]), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ListAliasesMicrofrontends$ { - /** @deprecated use `ListAliasesMicrofrontends$inboundSchema` instead. */ - export const inboundSchema = ListAliasesMicrofrontends$inboundSchema; - /** @deprecated use `ListAliasesMicrofrontends$outboundSchema` instead. */ - export const outboundSchema = ListAliasesMicrofrontends$outboundSchema; - /** @deprecated use `ListAliasesMicrofrontends$Outbound` instead. */ - export type Outbound = ListAliasesMicrofrontends$Outbound; -} - export function listAliasesMicrofrontendsToJSON( listAliasesMicrofrontends: ListAliasesMicrofrontends, ): string { @@ -1362,7 +1071,6 @@ export function listAliasesMicrofrontendsToJSON( ListAliasesMicrofrontends$outboundSchema.parse(listAliasesMicrofrontends), ); } - export function listAliasesMicrofrontendsFromJSON( jsonString: string, ): SafeParseResult { @@ -1402,7 +1110,6 @@ export const ListAliasesAliases$inboundSchema: z.ZodType< microfrontends: z.lazy(() => ListAliasesMicrofrontends$inboundSchema) .optional(), }); - /** @internal */ export type ListAliasesAliases$Outbound = { alias: string; @@ -1457,19 +1164,6 @@ export const ListAliasesAliases$outboundSchema: z.ZodType< .optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ListAliasesAliases$ { - /** @deprecated use `ListAliasesAliases$inboundSchema` instead. */ - export const inboundSchema = ListAliasesAliases$inboundSchema; - /** @deprecated use `ListAliasesAliases$outboundSchema` instead. */ - export const outboundSchema = ListAliasesAliases$outboundSchema; - /** @deprecated use `ListAliasesAliases$Outbound` instead. */ - export type Outbound = ListAliasesAliases$Outbound; -} - export function listAliasesAliasesToJSON( listAliasesAliases: ListAliasesAliases, ): string { @@ -1477,7 +1171,6 @@ export function listAliasesAliasesToJSON( ListAliasesAliases$outboundSchema.parse(listAliasesAliases), ); } - export function listAliasesAliasesFromJSON( jsonString: string, ): SafeParseResult { @@ -1497,7 +1190,6 @@ export const ListAliasesResponseBody$inboundSchema: z.ZodType< aliases: z.array(z.lazy(() => ListAliasesAliases$inboundSchema)), pagination: Pagination$inboundSchema, }); - /** @internal */ export type ListAliasesResponseBody$Outbound = { aliases: Array; @@ -1514,19 +1206,6 @@ export const ListAliasesResponseBody$outboundSchema: z.ZodType< 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 { @@ -1534,7 +1213,6 @@ export function listAliasesResponseBodyToJSON( ListAliasesResponseBody$outboundSchema.parse(listAliasesResponseBody), ); } - export function listAliasesResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/listauthtokensop.ts b/src/models/listauthtokensop.ts index dd4a0cdd4..ef0b80bc6 100644 --- a/src/models/listauthtokensop.ts +++ b/src/models/listauthtokensop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { @@ -36,7 +36,6 @@ export const ListAuthTokensResponseBody$inboundSchema: z.ZodType< tokens: z.array(AuthToken$inboundSchema), pagination: Pagination$inboundSchema, }); - /** @internal */ export type ListAuthTokensResponseBody$Outbound = { tokens: Array; @@ -53,19 +52,6 @@ export const ListAuthTokensResponseBody$outboundSchema: z.ZodType< 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 { @@ -73,7 +59,6 @@ export function listAuthTokensResponseBodyToJSON( ListAuthTokensResponseBody$outboundSchema.parse(listAuthTokensResponseBody), ); } - export function listAuthTokensResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/listdeploymentaliasesop.ts b/src/models/listdeploymentaliasesop.ts index 0f88fc4cc..d81765da8 100644 --- a/src/models/listdeploymentaliasesop.ts +++ b/src/models/listdeploymentaliasesop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; @@ -157,7 +157,6 @@ export const ListDeploymentAliasesRequest$inboundSchema: z.ZodType< teamId: z.string().optional(), slug: z.string().optional(), }); - /** @internal */ export type ListDeploymentAliasesRequest$Outbound = { id: string; @@ -176,19 +175,6 @@ export const ListDeploymentAliasesRequest$outboundSchema: z.ZodType< 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 { @@ -198,7 +184,6 @@ export function listDeploymentAliasesRequestToJSON( ), ); } - export function listDeploymentAliasesRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -216,7 +201,6 @@ export const ListDeploymentAliasesProtectionBypassAliasesResponse200Scope$inboun > = z.nativeEnum( ListDeploymentAliasesProtectionBypassAliasesResponse200Scope, ); - /** @internal */ export const ListDeploymentAliasesProtectionBypassAliasesResponse200Scope$outboundSchema: z.ZodNativeEnum< @@ -224,19 +208,6 @@ export const ListDeploymentAliasesProtectionBypassAliasesResponse200Scope$outbou > = 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, @@ -249,7 +220,6 @@ export const ListDeploymentAliasesProtectionBypass4$inboundSchema: z.ZodType< scope: ListDeploymentAliasesProtectionBypassAliasesResponse200Scope$inboundSchema, }); - /** @internal */ export type ListDeploymentAliasesProtectionBypass4$Outbound = { createdAt: number; @@ -271,21 +241,6 @@ export const ListDeploymentAliasesProtectionBypass4$outboundSchema: z.ZodType< 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, @@ -296,7 +251,6 @@ export function listDeploymentAliasesProtectionBypass4ToJSON( ), ); } - export function listDeploymentAliasesProtectionBypass4FromJSON( jsonString: string, ): SafeParseResult { @@ -313,26 +267,12 @@ export const ListDeploymentAliasesProtectionBypassAliasesResponseScope$inboundSc 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, @@ -344,7 +284,6 @@ export const ListDeploymentAliasesProtectionBypass3$inboundSchema: z.ZodType< scope: ListDeploymentAliasesProtectionBypassAliasesResponseScope$inboundSchema, }); - /** @internal */ export type ListDeploymentAliasesProtectionBypass3$Outbound = { createdAt: number; @@ -364,21 +303,6 @@ export const ListDeploymentAliasesProtectionBypass3$outboundSchema: z.ZodType< 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, @@ -389,7 +313,6 @@ export function listDeploymentAliasesProtectionBypass3ToJSON( ), ); } - export function listDeploymentAliasesProtectionBypass3FromJSON( jsonString: string, ): SafeParseResult { @@ -405,48 +328,20 @@ export function listDeploymentAliasesProtectionBypass3FromJSON( 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, @@ -459,7 +354,6 @@ export const ListDeploymentAliasesProtectionBypass2$inboundSchema: z.ZodType< access: ListDeploymentAliasesProtectionBypassAccess$inboundSchema, scope: ListDeploymentAliasesProtectionBypassAliasesScope$inboundSchema, }); - /** @internal */ export type ListDeploymentAliasesProtectionBypass2$Outbound = { createdAt: number; @@ -482,21 +376,6 @@ export const ListDeploymentAliasesProtectionBypass2$outboundSchema: z.ZodType< 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, @@ -507,7 +386,6 @@ export function listDeploymentAliasesProtectionBypass2ToJSON( ), ); } - export function listDeploymentAliasesProtectionBypass2FromJSON( jsonString: string, ): SafeParseResult { @@ -523,25 +401,11 @@ export function listDeploymentAliasesProtectionBypass2FromJSON( 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, @@ -553,7 +417,6 @@ export const ListDeploymentAliasesProtectionBypass1$inboundSchema: z.ZodType< scope: ListDeploymentAliasesProtectionBypassScope$inboundSchema, expires: z.number().optional(), }); - /** @internal */ export type ListDeploymentAliasesProtectionBypass1$Outbound = { createdAt: number; @@ -574,21 +437,6 @@ export const ListDeploymentAliasesProtectionBypass1$outboundSchema: z.ZodType< expires: 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 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, @@ -599,7 +447,6 @@ export function listDeploymentAliasesProtectionBypass1ToJSON( ), ); } - export function listDeploymentAliasesProtectionBypass1FromJSON( jsonString: string, ): SafeParseResult { @@ -622,7 +469,6 @@ export const ListDeploymentAliasesProtectionBypass$inboundSchema: z.ZodType< z.lazy(() => ListDeploymentAliasesProtectionBypass1$inboundSchema), z.lazy(() => ListDeploymentAliasesProtectionBypass3$inboundSchema), ]); - /** @internal */ export type ListDeploymentAliasesProtectionBypass$Outbound = | ListDeploymentAliasesProtectionBypass2$Outbound @@ -642,21 +488,6 @@ export const ListDeploymentAliasesProtectionBypass$outboundSchema: z.ZodType< z.lazy(() => ListDeploymentAliasesProtectionBypass3$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 { @@ -666,7 +497,6 @@ export function listDeploymentAliasesProtectionBypassToJSON( ), ); } - export function listDeploymentAliasesProtectionBypassFromJSON( jsonString: string, ): SafeParseResult { @@ -694,7 +524,6 @@ export const Aliases$inboundSchema: z.ZodType = ]), ).optional(), }); - /** @internal */ export type Aliases$Outbound = { uid: string; @@ -730,23 +559,9 @@ export const Aliases$outboundSchema: z.ZodType< ).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 { @@ -765,7 +580,6 @@ export const ListDeploymentAliasesResponseBody$inboundSchema: z.ZodType< > = z.object({ aliases: z.array(z.lazy(() => Aliases$inboundSchema)), }); - /** @internal */ export type ListDeploymentAliasesResponseBody$Outbound = { aliases: Array; @@ -780,20 +594,6 @@ export const ListDeploymentAliasesResponseBody$outboundSchema: z.ZodType< aliases: z.array(z.lazy(() => Aliases$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 { @@ -803,7 +603,6 @@ export function listDeploymentAliasesResponseBodyToJSON( ), ); } - export function listDeploymentAliasesResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/listdeploymentfilesop.ts b/src/models/listdeploymentfilesop.ts index a0909599e..dcd1aacc1 100644 --- a/src/models/listdeploymentfilesop.ts +++ b/src/models/listdeploymentfilesop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -32,7 +32,6 @@ export const ListDeploymentFilesRequest$inboundSchema: z.ZodType< teamId: z.string().optional(), slug: z.string().optional(), }); - /** @internal */ export type ListDeploymentFilesRequest$Outbound = { id: string; @@ -51,19 +50,6 @@ export const ListDeploymentFilesRequest$outboundSchema: z.ZodType< 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 { @@ -71,7 +57,6 @@ export function listDeploymentFilesRequestToJSON( ListDeploymentFilesRequest$outboundSchema.parse(listDeploymentFilesRequest), ); } - export function listDeploymentFilesRequestFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/listpromotealiasesop.ts b/src/models/listpromotealiasesop.ts index 865c87175..f744d6d59 100644 --- a/src/models/listpromotealiasesop.ts +++ b/src/models/listpromotealiasesop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { @@ -75,7 +75,6 @@ export const ListPromoteAliasesRequest$inboundSchema: z.ZodType< teamId: z.string().optional(), slug: z.string().optional(), }); - /** @internal */ export type ListPromoteAliasesRequest$Outbound = { projectId: string; @@ -102,19 +101,6 @@ export const ListPromoteAliasesRequest$outboundSchema: z.ZodType< 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 { @@ -122,7 +108,6 @@ export function listPromoteAliasesRequestToJSON( ListPromoteAliasesRequest$outboundSchema.parse(listPromoteAliasesRequest), ); } - export function listPromoteAliasesRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -143,7 +128,6 @@ export const ResponseBodyAliases$inboundSchema: z.ZodType< alias: z.string(), id: z.string(), }); - /** @internal */ export type ResponseBodyAliases$Outbound = { status: string; @@ -162,19 +146,6 @@ export const ResponseBodyAliases$outboundSchema: z.ZodType< 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 { @@ -182,7 +153,6 @@ export function responseBodyAliasesToJSON( ResponseBodyAliases$outboundSchema.parse(responseBodyAliases), ); } - export function responseBodyAliasesFromJSON( jsonString: string, ): SafeParseResult { @@ -202,7 +172,6 @@ export const ListPromoteAliasesResponseBody2$inboundSchema: z.ZodType< aliases: z.array(z.lazy(() => ResponseBodyAliases$inboundSchema)), pagination: Pagination$inboundSchema, }); - /** @internal */ export type ListPromoteAliasesResponseBody2$Outbound = { aliases: Array; @@ -219,19 +188,6 @@ export const ListPromoteAliasesResponseBody2$outboundSchema: z.ZodType< 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 { @@ -241,7 +197,6 @@ export function listPromoteAliasesResponseBody2ToJSON( ), ); } - export function listPromoteAliasesResponseBody2FromJSON( jsonString: string, ): SafeParseResult { @@ -258,7 +213,6 @@ export const ListPromoteAliasesResponseBody1$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({}); - /** @internal */ export type ListPromoteAliasesResponseBody1$Outbound = {}; @@ -269,19 +223,6 @@ export const ListPromoteAliasesResponseBody1$outboundSchema: z.ZodType< 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 { @@ -291,7 +232,6 @@ export function listPromoteAliasesResponseBody1ToJSON( ), ); } - export function listPromoteAliasesResponseBody1FromJSON( jsonString: string, ): SafeParseResult { @@ -311,7 +251,6 @@ export const ListPromoteAliasesResponseBody$inboundSchema: z.ZodType< z.lazy(() => ListPromoteAliasesResponseBody2$inboundSchema), z.lazy(() => ListPromoteAliasesResponseBody1$inboundSchema), ]); - /** @internal */ export type ListPromoteAliasesResponseBody$Outbound = | ListPromoteAliasesResponseBody2$Outbound @@ -327,19 +266,6 @@ export const ListPromoteAliasesResponseBody$outboundSchema: z.ZodType< z.lazy(() => ListPromoteAliasesResponseBody1$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 { @@ -349,7 +275,6 @@ export function listPromoteAliasesResponseBodyToJSON( ), ); } - export function listPromoteAliasesResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/listsharedenvvariableop.ts b/src/models/listsharedenvvariableop.ts new file mode 100644 index 000000000..dc712e93b --- /dev/null +++ b/src/models/listsharedenvvariableop.ts @@ -0,0 +1,388 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +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 { + Pagination, + Pagination$inboundSchema, + Pagination$Outbound, + Pagination$outboundSchema, +} from "./pagination.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type ListSharedEnvVariableRequest = { + search?: string | undefined; + /** + * Filter SharedEnvVariables that belong to a project + */ + projectId?: string | undefined; + /** + * Filter SharedEnvVariables based on comma separated ids + */ + ids?: string | undefined; + /** + * Filter SharedEnvVariables based on comma separated ids + */ + excludeIdsQueryParameter?: string | undefined; + /** + * Filter SharedEnvVariables based on comma separated ids + */ + excludeIdsQueryParameter1?: string | undefined; + /** + * Filter SharedEnvVariables that belong to a project + */ + excludeProjectIdQueryParameter?: string | undefined; + /** + * Filter SharedEnvVariables that belong to a project + */ + excludeProjectIdQueryParameter1?: 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 type of this cosmos doc instance, if blank, assume secret. + */ +export const ListSharedEnvVariableType = { + Encrypted: "encrypted", + Sensitive: "sensitive", + System: "system", + Plain: "plain", +} as const; +/** + * The type of this cosmos doc instance, if blank, assume secret. + */ +export type ListSharedEnvVariableType = ClosedEnum< + typeof ListSharedEnvVariableType +>; + +/** + * environments this env variable targets + */ +export const ListSharedEnvVariableTarget = { + Production: "production", + Preview: "preview", + Development: "development", +} as const; +/** + * environments this env variable targets + */ +export type ListSharedEnvVariableTarget = ClosedEnum< + typeof ListSharedEnvVariableTarget +>; + +export type Data = { + /** + * The date when the Shared Env Var was created. + */ + created?: Date | undefined; + /** + * The name of the Shared Env Var. + */ + key?: string | undefined; + /** + * The unique identifier of the owner (team) the Shared Env Var was created for. + */ + ownerId?: string | null | undefined; + /** + * The unique identifier of the Shared Env Var. + */ + id?: string | undefined; + /** + * The unique identifier of the user who created the Shared Env Var. + */ + createdBy?: string | null | undefined; + /** + * The unique identifier of the user who deleted the Shared Env Var. + */ + deletedBy?: string | null | undefined; + /** + * The unique identifier of the user who last updated the Shared Env Var. + */ + updatedBy?: string | null | undefined; + /** + * Timestamp for when the Shared Env Var was created. + */ + createdAt?: number | undefined; + /** + * Timestamp for when the Shared Env Var was (soft) deleted. + */ + deletedAt?: number | undefined; + /** + * Timestamp for when the Shared Env Var was last updated. + */ + updatedAt?: number | undefined; + /** + * The value of the Shared Env Var. + */ + value?: string | undefined; + /** + * The unique identifiers of the projects which the Shared Env Var is linked to. + */ + projectId?: Array | undefined; + /** + * The type of this cosmos doc instance, if blank, assume secret. + */ + type?: ListSharedEnvVariableType | undefined; + /** + * environments this env variable targets + */ + target?: Array | undefined; + /** + * whether or not this env varible applies to custom environments + */ + applyToAllCustomEnvironments?: boolean | undefined; + /** + * whether or not this env variable is decrypted + */ + decrypted?: boolean | undefined; + /** + * A user provided comment that describes what this Shared Env Var is for. + */ + comment?: string | undefined; + /** + * The last editor full name or username. + */ + lastEditedByDisplayName?: string | undefined; +}; + +export type ListSharedEnvVariableResponseBody = { + data: 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 ListSharedEnvVariableRequest$inboundSchema: z.ZodType< + ListSharedEnvVariableRequest, + z.ZodTypeDef, + unknown +> = z.object({ + search: z.string().optional(), + projectId: z.string().optional(), + ids: z.string().optional(), + exclude_idsQueryParameter: z.string().optional(), + "exclude-idsQueryParameter1": z.string().optional(), + exclude_projectIdQueryParameter: z.string().optional(), + "exclude-projectIdQueryParameter1": z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), +}).transform((v) => { + return remap$(v, { + "exclude_idsQueryParameter": "excludeIdsQueryParameter", + "exclude-idsQueryParameter1": "excludeIdsQueryParameter1", + "exclude_projectIdQueryParameter": "excludeProjectIdQueryParameter", + "exclude-projectIdQueryParameter1": "excludeProjectIdQueryParameter1", + }); +}); +/** @internal */ +export type ListSharedEnvVariableRequest$Outbound = { + search?: string | undefined; + projectId?: string | undefined; + ids?: string | undefined; + exclude_idsQueryParameter?: string | undefined; + "exclude-idsQueryParameter1"?: string | undefined; + exclude_projectIdQueryParameter?: string | undefined; + "exclude-projectIdQueryParameter1"?: string | undefined; + teamId?: string | undefined; + slug?: string | undefined; +}; + +/** @internal */ +export const ListSharedEnvVariableRequest$outboundSchema: z.ZodType< + ListSharedEnvVariableRequest$Outbound, + z.ZodTypeDef, + ListSharedEnvVariableRequest +> = z.object({ + search: z.string().optional(), + projectId: z.string().optional(), + ids: z.string().optional(), + excludeIdsQueryParameter: z.string().optional(), + excludeIdsQueryParameter1: z.string().optional(), + excludeProjectIdQueryParameter: z.string().optional(), + excludeProjectIdQueryParameter1: z.string().optional(), + teamId: z.string().optional(), + slug: z.string().optional(), +}).transform((v) => { + return remap$(v, { + excludeIdsQueryParameter: "exclude_idsQueryParameter", + excludeIdsQueryParameter1: "exclude-idsQueryParameter1", + excludeProjectIdQueryParameter: "exclude_projectIdQueryParameter", + excludeProjectIdQueryParameter1: "exclude-projectIdQueryParameter1", + }); +}); + +export function listSharedEnvVariableRequestToJSON( + listSharedEnvVariableRequest: ListSharedEnvVariableRequest, +): string { + return JSON.stringify( + ListSharedEnvVariableRequest$outboundSchema.parse( + listSharedEnvVariableRequest, + ), + ); +} +export function listSharedEnvVariableRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ListSharedEnvVariableRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ListSharedEnvVariableRequest' from JSON`, + ); +} + +/** @internal */ +export const ListSharedEnvVariableType$inboundSchema: z.ZodNativeEnum< + typeof ListSharedEnvVariableType +> = z.nativeEnum(ListSharedEnvVariableType); +/** @internal */ +export const ListSharedEnvVariableType$outboundSchema: z.ZodNativeEnum< + typeof ListSharedEnvVariableType +> = ListSharedEnvVariableType$inboundSchema; + +/** @internal */ +export const ListSharedEnvVariableTarget$inboundSchema: z.ZodNativeEnum< + typeof ListSharedEnvVariableTarget +> = z.nativeEnum(ListSharedEnvVariableTarget); +/** @internal */ +export const ListSharedEnvVariableTarget$outboundSchema: z.ZodNativeEnum< + typeof ListSharedEnvVariableTarget +> = ListSharedEnvVariableTarget$inboundSchema; + +/** @internal */ +export const Data$inboundSchema: z.ZodType = z + .object({ + created: z.string().datetime({ offset: true }).transform(v => new Date(v)) + .optional(), + key: z.string().optional(), + ownerId: z.nullable(z.string()).optional(), + id: z.string().optional(), + createdBy: z.nullable(z.string()).optional(), + deletedBy: z.nullable(z.string()).optional(), + updatedBy: z.nullable(z.string()).optional(), + createdAt: z.number().optional(), + deletedAt: z.number().optional(), + updatedAt: z.number().optional(), + value: z.string().optional(), + projectId: z.array(z.string()).optional(), + type: ListSharedEnvVariableType$inboundSchema.optional(), + target: z.array(ListSharedEnvVariableTarget$inboundSchema).optional(), + applyToAllCustomEnvironments: z.boolean().optional(), + decrypted: z.boolean().optional(), + comment: z.string().optional(), + lastEditedByDisplayName: z.string().optional(), + }); +/** @internal */ +export type Data$Outbound = { + created?: string | undefined; + key?: string | undefined; + ownerId?: string | null | undefined; + id?: string | undefined; + createdBy?: string | null | undefined; + deletedBy?: string | null | undefined; + updatedBy?: string | null | undefined; + createdAt?: number | undefined; + deletedAt?: number | undefined; + updatedAt?: number | undefined; + value?: string | undefined; + projectId?: Array | undefined; + type?: string | undefined; + target?: Array | undefined; + applyToAllCustomEnvironments?: boolean | undefined; + decrypted?: boolean | undefined; + comment?: string | undefined; + lastEditedByDisplayName?: string | undefined; +}; + +/** @internal */ +export const Data$outboundSchema: z.ZodType = + z.object({ + created: z.date().transform(v => v.toISOString()).optional(), + key: z.string().optional(), + ownerId: z.nullable(z.string()).optional(), + id: z.string().optional(), + createdBy: z.nullable(z.string()).optional(), + deletedBy: z.nullable(z.string()).optional(), + updatedBy: z.nullable(z.string()).optional(), + createdAt: z.number().optional(), + deletedAt: z.number().optional(), + updatedAt: z.number().optional(), + value: z.string().optional(), + projectId: z.array(z.string()).optional(), + type: ListSharedEnvVariableType$outboundSchema.optional(), + target: z.array(ListSharedEnvVariableTarget$outboundSchema).optional(), + applyToAllCustomEnvironments: z.boolean().optional(), + decrypted: z.boolean().optional(), + comment: z.string().optional(), + lastEditedByDisplayName: z.string().optional(), + }); + +export function dataToJSON(data: Data): string { + return JSON.stringify(Data$outboundSchema.parse(data)); +} +export function dataFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Data$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Data' from JSON`, + ); +} + +/** @internal */ +export const ListSharedEnvVariableResponseBody$inboundSchema: z.ZodType< + ListSharedEnvVariableResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + data: z.array(z.lazy(() => Data$inboundSchema)), + pagination: Pagination$inboundSchema, +}); +/** @internal */ +export type ListSharedEnvVariableResponseBody$Outbound = { + data: Array; + pagination: Pagination$Outbound; +}; + +/** @internal */ +export const ListSharedEnvVariableResponseBody$outboundSchema: z.ZodType< + ListSharedEnvVariableResponseBody$Outbound, + z.ZodTypeDef, + ListSharedEnvVariableResponseBody +> = z.object({ + data: z.array(z.lazy(() => Data$outboundSchema)), + pagination: Pagination$outboundSchema, +}); + +export function listSharedEnvVariableResponseBodyToJSON( + listSharedEnvVariableResponseBody: ListSharedEnvVariableResponseBody, +): string { + return JSON.stringify( + ListSharedEnvVariableResponseBody$outboundSchema.parse( + listSharedEnvVariableResponseBody, + ), + ); +} +export function listSharedEnvVariableResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ListSharedEnvVariableResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ListSharedEnvVariableResponseBody' from JSON`, + ); +} diff --git a/src/models/listusereventsop.ts b/src/models/listusereventsop.ts index 4571a9a34..a78617f1c 100644 --- a/src/models/listusereventsop.ts +++ b/src/models/listusereventsop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -83,7 +83,6 @@ export const ListUserEventsRequest$inboundSchema: z.ZodType< teamId: z.string().optional(), slug: z.string().optional(), }); - /** @internal */ export type ListUserEventsRequest$Outbound = { limit?: number | undefined; @@ -116,19 +115,6 @@ export const ListUserEventsRequest$outboundSchema: z.ZodType< 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 { @@ -136,7 +122,6 @@ export function listUserEventsRequestToJSON( ListUserEventsRequest$outboundSchema.parse(listUserEventsRequest), ); } - export function listUserEventsRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -155,7 +140,6 @@ export const ListUserEventsResponseBody$inboundSchema: z.ZodType< > = z.object({ events: z.array(UserEvent$inboundSchema), }); - /** @internal */ export type ListUserEventsResponseBody$Outbound = { events: Array; @@ -170,19 +154,6 @@ export const ListUserEventsResponseBody$outboundSchema: z.ZodType< 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 { @@ -190,7 +161,6 @@ export function listUserEventsResponseBodyToJSON( ListUserEventsResponseBody$outboundSchema.parse(listUserEventsResponseBody), ); } - export function listUserEventsResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/moveprojectdomainop.ts b/src/models/moveprojectdomainop.ts index a7ff3403d..df703cc20 100644 --- a/src/models/moveprojectdomainop.ts +++ b/src/models/moveprojectdomainop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; @@ -76,7 +76,6 @@ export const MoveProjectDomainRequestBody$inboundSchema: z.ZodType< > = z.object({ projectId: z.string(), }); - /** @internal */ export type MoveProjectDomainRequestBody$Outbound = { projectId: string; @@ -91,19 +90,6 @@ export const MoveProjectDomainRequestBody$outboundSchema: z.ZodType< 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 MoveProjectDomainRequestBody$ { - /** @deprecated use `MoveProjectDomainRequestBody$inboundSchema` instead. */ - export const inboundSchema = MoveProjectDomainRequestBody$inboundSchema; - /** @deprecated use `MoveProjectDomainRequestBody$outboundSchema` instead. */ - export const outboundSchema = MoveProjectDomainRequestBody$outboundSchema; - /** @deprecated use `MoveProjectDomainRequestBody$Outbound` instead. */ - export type Outbound = MoveProjectDomainRequestBody$Outbound; -} - export function moveProjectDomainRequestBodyToJSON( moveProjectDomainRequestBody: MoveProjectDomainRequestBody, ): string { @@ -113,7 +99,6 @@ export function moveProjectDomainRequestBodyToJSON( ), ); } - export function moveProjectDomainRequestBodyFromJSON( jsonString: string, ): SafeParseResult { @@ -141,7 +126,6 @@ export const MoveProjectDomainRequest$inboundSchema: z.ZodType< "RequestBody": "requestBody", }); }); - /** @internal */ export type MoveProjectDomainRequest$Outbound = { idOrName: string; @@ -169,19 +153,6 @@ export const MoveProjectDomainRequest$outboundSchema: z.ZodType< }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace MoveProjectDomainRequest$ { - /** @deprecated use `MoveProjectDomainRequest$inboundSchema` instead. */ - export const inboundSchema = MoveProjectDomainRequest$inboundSchema; - /** @deprecated use `MoveProjectDomainRequest$outboundSchema` instead. */ - export const outboundSchema = MoveProjectDomainRequest$outboundSchema; - /** @deprecated use `MoveProjectDomainRequest$Outbound` instead. */ - export type Outbound = MoveProjectDomainRequest$Outbound; -} - export function moveProjectDomainRequestToJSON( moveProjectDomainRequest: MoveProjectDomainRequest, ): string { @@ -189,7 +160,6 @@ export function moveProjectDomainRequestToJSON( MoveProjectDomainRequest$outboundSchema.parse(moveProjectDomainRequest), ); } - export function moveProjectDomainRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -211,7 +181,6 @@ export const MoveProjectDomainVerification$inboundSchema: z.ZodType< value: z.string(), reason: z.string(), }); - /** @internal */ export type MoveProjectDomainVerification$Outbound = { type: string; @@ -232,19 +201,6 @@ export const MoveProjectDomainVerification$outboundSchema: z.ZodType< 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 MoveProjectDomainVerification$ { - /** @deprecated use `MoveProjectDomainVerification$inboundSchema` instead. */ - export const inboundSchema = MoveProjectDomainVerification$inboundSchema; - /** @deprecated use `MoveProjectDomainVerification$outboundSchema` instead. */ - export const outboundSchema = MoveProjectDomainVerification$outboundSchema; - /** @deprecated use `MoveProjectDomainVerification$Outbound` instead. */ - export type Outbound = MoveProjectDomainVerification$Outbound; -} - export function moveProjectDomainVerificationToJSON( moveProjectDomainVerification: MoveProjectDomainVerification, ): string { @@ -254,7 +210,6 @@ export function moveProjectDomainVerificationToJSON( ), ); } - export function moveProjectDomainVerificationFromJSON( jsonString: string, ): SafeParseResult { @@ -285,7 +240,6 @@ export const MoveProjectDomainResponseBody$inboundSchema: z.ZodType< z.lazy(() => MoveProjectDomainVerification$inboundSchema), ).optional(), }); - /** @internal */ export type MoveProjectDomainResponseBody$Outbound = { name: string; @@ -322,19 +276,6 @@ export const MoveProjectDomainResponseBody$outboundSchema: z.ZodType< ).optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace MoveProjectDomainResponseBody$ { - /** @deprecated use `MoveProjectDomainResponseBody$inboundSchema` instead. */ - export const inboundSchema = MoveProjectDomainResponseBody$inboundSchema; - /** @deprecated use `MoveProjectDomainResponseBody$outboundSchema` instead. */ - export const outboundSchema = MoveProjectDomainResponseBody$outboundSchema; - /** @deprecated use `MoveProjectDomainResponseBody$Outbound` instead. */ - export type Outbound = MoveProjectDomainResponseBody$Outbound; -} - export function moveProjectDomainResponseBodyToJSON( moveProjectDomainResponseBody: MoveProjectDomainResponseBody, ): string { @@ -344,7 +285,6 @@ export function moveProjectDomainResponseBodyToJSON( ), ); } - export function moveProjectDomainResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/notauthorizedforscope.ts b/src/models/notauthorizedforscope.ts new file mode 100644 index 000000000..4c8926869 --- /dev/null +++ b/src/models/notauthorizedforscope.ts @@ -0,0 +1,88 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { ClosedEnum } from "../types/enums.js"; +import { VercelError } from "./vercelerror.js"; + +export const Code = { + NotAuthorizedForScope: "not_authorized_for_scope", +} as const; +export type Code = ClosedEnum; + +export type NotAuthorizedForScopeData = { + status: number; + code: Code; + message: string; +}; + +export class NotAuthorizedForScope extends VercelError { + status: number; + code: Code; + + /** The original data that was passed to this error instance. */ + data$: NotAuthorizedForScopeData; + + constructor( + err: NotAuthorizedForScopeData, + httpMeta: { response: Response; request: Request; body: string }, + ) { + const message = err.message || `API error occurred: ${JSON.stringify(err)}`; + super(message, httpMeta); + this.data$ = err; + this.status = err.status; + this.code = err.code; + + this.name = "NotAuthorizedForScope"; + } +} + +/** @internal */ +export const Code$inboundSchema: z.ZodNativeEnum = z.nativeEnum( + Code, +); +/** @internal */ +export const Code$outboundSchema: z.ZodNativeEnum = + Code$inboundSchema; + +/** @internal */ +export const NotAuthorizedForScope$inboundSchema: z.ZodType< + NotAuthorizedForScope, + z.ZodTypeDef, + unknown +> = z.object({ + status: z.number(), + code: Code$inboundSchema, + message: z.string(), + request$: z.instanceof(Request), + response$: z.instanceof(Response), + body$: z.string(), +}) + .transform((v) => { + return new NotAuthorizedForScope(v, { + request: v.request$, + response: v.response$, + body: v.body$, + }); + }); + +/** @internal */ +export type NotAuthorizedForScope$Outbound = { + status: number; + code: string; + message: string; +}; + +/** @internal */ +export const NotAuthorizedForScope$outboundSchema: z.ZodType< + NotAuthorizedForScope$Outbound, + z.ZodTypeDef, + NotAuthorizedForScope +> = z.instanceof(NotAuthorizedForScope) + .transform(v => v.data$) + .pipe(z.object({ + status: z.number(), + code: Code$outboundSchema, + message: z.string(), + })); diff --git a/src/models/pagination.ts b/src/models/pagination.ts index 60d549e55..bdf69aebc 100644 --- a/src/models/pagination.ts +++ b/src/models/pagination.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -35,7 +35,6 @@ export const Pagination$inboundSchema: z.ZodType< next: z.nullable(z.number()), prev: z.nullable(z.number()), }); - /** @internal */ export type Pagination$Outbound = { count: number; @@ -54,23 +53,9 @@ export const Pagination$outboundSchema: z.ZodType< 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 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 { diff --git a/src/models/patchdomainop.ts b/src/models/patchdomainop.ts index f0d819e84..6ba313bb1 100644 --- a/src/models/patchdomainop.ts +++ b/src/models/patchdomainop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; @@ -25,11 +25,15 @@ export type PatchDomainRequestBody2 = { export type PatchDomainRequestBody1 = { op?: string | undefined; /** - * Specifies whether domain should be renewed. + * This field is deprecated. Please use PATCH /v1/registrar/domains/{domainName}/auto-renew instead. + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ renew?: boolean | undefined; /** - * The custom nameservers for this project. + * This field is deprecated. Please use PATCH /v1/registrar/domains/{domainName}/nameservers instead. + * + * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ customNameservers?: Array | undefined; /** @@ -84,7 +88,6 @@ export const PatchDomainRequestBody2$inboundSchema: z.ZodType< op: z.string().optional(), destination: z.string().optional(), }); - /** @internal */ export type PatchDomainRequestBody2$Outbound = { op?: string | undefined; @@ -101,19 +104,6 @@ export const PatchDomainRequestBody2$outboundSchema: z.ZodType< 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 { @@ -121,7 +111,6 @@ export function patchDomainRequestBody2ToJSON( PatchDomainRequestBody2$outboundSchema.parse(patchDomainRequestBody2), ); } - export function patchDomainRequestBody2FromJSON( jsonString: string, ): SafeParseResult { @@ -143,7 +132,6 @@ export const PatchDomainRequestBody1$inboundSchema: z.ZodType< customNameservers: z.array(z.string()).optional(), zone: z.boolean().optional(), }); - /** @internal */ export type PatchDomainRequestBody1$Outbound = { op?: string | undefined; @@ -164,19 +152,6 @@ export const PatchDomainRequestBody1$outboundSchema: z.ZodType< 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 { @@ -184,7 +159,6 @@ export function patchDomainRequestBody1ToJSON( PatchDomainRequestBody1$outboundSchema.parse(patchDomainRequestBody1), ); } - export function patchDomainRequestBody1FromJSON( jsonString: string, ): SafeParseResult { @@ -204,7 +178,6 @@ export const PatchDomainRequestBody$inboundSchema: z.ZodType< z.lazy(() => PatchDomainRequestBody1$inboundSchema), z.lazy(() => PatchDomainRequestBody2$inboundSchema), ]); - /** @internal */ export type PatchDomainRequestBody$Outbound = | PatchDomainRequestBody1$Outbound @@ -220,19 +193,6 @@ export const PatchDomainRequestBody$outboundSchema: z.ZodType< z.lazy(() => PatchDomainRequestBody2$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 { @@ -240,7 +200,6 @@ export function patchDomainRequestBodyToJSON( PatchDomainRequestBody$outboundSchema.parse(patchDomainRequestBody), ); } - export function patchDomainRequestBodyFromJSON( jsonString: string, ): SafeParseResult { @@ -269,7 +228,6 @@ export const PatchDomainRequest$inboundSchema: z.ZodType< "RequestBody": "requestBody", }); }); - /** @internal */ export type PatchDomainRequest$Outbound = { domain: string; @@ -299,19 +257,6 @@ export const PatchDomainRequest$outboundSchema: z.ZodType< }); }); -/** - * @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 { @@ -319,7 +264,6 @@ export function patchDomainRequestToJSON( PatchDomainRequest$outboundSchema.parse(patchDomainRequest), ); } - export function patchDomainRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -340,7 +284,6 @@ export const PatchDomainResponseBody3$inboundSchema: z.ZodType< customNameservers: z.array(z.string()).optional(), zone: z.boolean().optional(), }); - /** @internal */ export type PatchDomainResponseBody3$Outbound = { renew?: boolean | undefined; @@ -359,19 +302,6 @@ export const PatchDomainResponseBody3$outboundSchema: z.ZodType< 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 { @@ -379,7 +309,6 @@ export function patchDomainResponseBody3ToJSON( PatchDomainResponseBody3$outboundSchema.parse(patchDomainResponseBody3), ); } - export function patchDomainResponseBody3FromJSON( jsonString: string, ): SafeParseResult { @@ -399,7 +328,6 @@ export const PatchDomainResponseBody2$inboundSchema: z.ZodType< moved: z.boolean(), token: z.string(), }); - /** @internal */ export type PatchDomainResponseBody2$Outbound = { moved: boolean; @@ -416,19 +344,6 @@ export const PatchDomainResponseBody2$outboundSchema: z.ZodType< 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 { @@ -436,7 +351,6 @@ export function patchDomainResponseBody2ToJSON( PatchDomainResponseBody2$outboundSchema.parse(patchDomainResponseBody2), ); } - export function patchDomainResponseBody2FromJSON( jsonString: string, ): SafeParseResult { @@ -455,7 +369,6 @@ export const PatchDomainResponseBody1$inboundSchema: z.ZodType< > = z.object({ moved: z.boolean(), }); - /** @internal */ export type PatchDomainResponseBody1$Outbound = { moved: boolean; @@ -470,19 +383,6 @@ export const PatchDomainResponseBody1$outboundSchema: z.ZodType< 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 { @@ -490,7 +390,6 @@ export function patchDomainResponseBody1ToJSON( PatchDomainResponseBody1$outboundSchema.parse(patchDomainResponseBody1), ); } - export function patchDomainResponseBody1FromJSON( jsonString: string, ): SafeParseResult { @@ -511,7 +410,6 @@ export const PatchDomainResponseBody$inboundSchema: z.ZodType< z.lazy(() => PatchDomainResponseBody1$inboundSchema), z.lazy(() => PatchDomainResponseBody3$inboundSchema), ]); - /** @internal */ export type PatchDomainResponseBody$Outbound = | PatchDomainResponseBody2$Outbound @@ -529,19 +427,6 @@ export const PatchDomainResponseBody$outboundSchema: z.ZodType< 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 { @@ -549,7 +434,6 @@ export function patchDomainResponseBodyToJSON( PatchDomainResponseBody$outboundSchema.parse(patchDomainResponseBody), ); } - export function patchDomainResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/patchedgeconfigitemsop.ts b/src/models/patchedgeconfigitemsop.ts index 7e0322651..a6655a384 100644 --- a/src/models/patchedgeconfigitemsop.ts +++ b/src/models/patchedgeconfigitemsop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; @@ -21,7 +21,7 @@ export type PatchEdgeConfigItems1Operation = ClosedEnum< export type PatchEdgeConfigItems1Description = string | any; -export type One3 = { +export type PatchEdgeConfigItems13 = { operation: PatchEdgeConfigItems1Operation; key: string; value?: any | null | undefined; @@ -38,7 +38,7 @@ export type OneOperation = ClosedEnum; export type OneDescription = string | any; -export type One2 = { +export type PatchEdgeConfigItems12 = { operation: OneOperation; key: string; value?: any | null | undefined; @@ -55,19 +55,27 @@ export type Operation = ClosedEnum; export type Description = string | any; -export type One1 = { +export type PatchEdgeConfigItems11 = { operation: Operation; key: string; value?: any | null | undefined; description?: string | any | null | undefined; }; -export type Items1 = One1 | One2 | One3; +export type Items1 = + | PatchEdgeConfigItems11 + | PatchEdgeConfigItems12 + | PatchEdgeConfigItems13; -export type Items = One1 | One2 | One3; +export type PatchEdgeConfigItemsItems = + | PatchEdgeConfigItems11 + | PatchEdgeConfigItems12 + | PatchEdgeConfigItems13; export type PatchEdgeConfigItemsRequestBody = { - items: Array; + items: Array< + PatchEdgeConfigItems11 | PatchEdgeConfigItems12 | PatchEdgeConfigItems13 + >; }; export type PatchEdgeConfigItemsRequest = { @@ -91,30 +99,17 @@ export type PatchEdgeConfigItemsResponseBody = { export const PatchEdgeConfigItems1Operation$inboundSchema: z.ZodNativeEnum< typeof PatchEdgeConfigItems1Operation > = z.nativeEnum(PatchEdgeConfigItems1Operation); - /** @internal */ export const PatchEdgeConfigItems1Operation$outboundSchema: z.ZodNativeEnum< typeof PatchEdgeConfigItems1Operation > = PatchEdgeConfigItems1Operation$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PatchEdgeConfigItems1Operation$ { - /** @deprecated use `PatchEdgeConfigItems1Operation$inboundSchema` instead. */ - export const inboundSchema = PatchEdgeConfigItems1Operation$inboundSchema; - /** @deprecated use `PatchEdgeConfigItems1Operation$outboundSchema` instead. */ - export const outboundSchema = PatchEdgeConfigItems1Operation$outboundSchema; -} - /** @internal */ export const PatchEdgeConfigItems1Description$inboundSchema: z.ZodType< PatchEdgeConfigItems1Description, z.ZodTypeDef, unknown > = z.union([z.string(), z.any()]); - /** @internal */ export type PatchEdgeConfigItems1Description$Outbound = string | any; @@ -125,19 +120,6 @@ export const PatchEdgeConfigItems1Description$outboundSchema: z.ZodType< PatchEdgeConfigItems1Description > = z.union([z.string(), 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 PatchEdgeConfigItems1Description$ { - /** @deprecated use `PatchEdgeConfigItems1Description$inboundSchema` instead. */ - export const inboundSchema = PatchEdgeConfigItems1Description$inboundSchema; - /** @deprecated use `PatchEdgeConfigItems1Description$outboundSchema` instead. */ - export const outboundSchema = PatchEdgeConfigItems1Description$outboundSchema; - /** @deprecated use `PatchEdgeConfigItems1Description$Outbound` instead. */ - export type Outbound = PatchEdgeConfigItems1Description$Outbound; -} - export function patchEdgeConfigItems1DescriptionToJSON( patchEdgeConfigItems1Description: PatchEdgeConfigItems1Description, ): string { @@ -147,7 +129,6 @@ export function patchEdgeConfigItems1DescriptionToJSON( ), ); } - export function patchEdgeConfigItems1DescriptionFromJSON( jsonString: string, ): SafeParseResult { @@ -159,16 +140,18 @@ export function patchEdgeConfigItems1DescriptionFromJSON( } /** @internal */ -export const One3$inboundSchema: z.ZodType = z - .object({ - operation: PatchEdgeConfigItems1Operation$inboundSchema, - key: z.string(), - value: z.nullable(z.any()).optional(), - description: z.nullable(z.union([z.string(), z.any()])).optional(), - }); - +export const PatchEdgeConfigItems13$inboundSchema: z.ZodType< + PatchEdgeConfigItems13, + z.ZodTypeDef, + unknown +> = z.object({ + operation: PatchEdgeConfigItems1Operation$inboundSchema, + key: z.string(), + value: z.nullable(z.any()).optional(), + description: z.nullable(z.union([z.string(), z.any()])).optional(), +}); /** @internal */ -export type One3$Outbound = { +export type PatchEdgeConfigItems13$Outbound = { operation: string; key: string; value?: any | null | undefined; @@ -176,67 +159,47 @@ export type One3$Outbound = { }; /** @internal */ -export const One3$outboundSchema: z.ZodType = - z.object({ - operation: PatchEdgeConfigItems1Operation$outboundSchema, - key: z.string(), - value: z.nullable(z.any()).optional(), - description: z.nullable(z.union([z.string(), 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 One3$ { - /** @deprecated use `One3$inboundSchema` instead. */ - export const inboundSchema = One3$inboundSchema; - /** @deprecated use `One3$outboundSchema` instead. */ - export const outboundSchema = One3$outboundSchema; - /** @deprecated use `One3$Outbound` instead. */ - export type Outbound = One3$Outbound; -} +export const PatchEdgeConfigItems13$outboundSchema: z.ZodType< + PatchEdgeConfigItems13$Outbound, + z.ZodTypeDef, + PatchEdgeConfigItems13 +> = z.object({ + operation: PatchEdgeConfigItems1Operation$outboundSchema, + key: z.string(), + value: z.nullable(z.any()).optional(), + description: z.nullable(z.union([z.string(), z.any()])).optional(), +}); -export function one3ToJSON(one3: One3): string { - return JSON.stringify(One3$outboundSchema.parse(one3)); +export function patchEdgeConfigItems13ToJSON( + patchEdgeConfigItems13: PatchEdgeConfigItems13, +): string { + return JSON.stringify( + PatchEdgeConfigItems13$outboundSchema.parse(patchEdgeConfigItems13), + ); } - -export function one3FromJSON( +export function patchEdgeConfigItems13FromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => One3$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'One3' from JSON`, + (x) => PatchEdgeConfigItems13$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PatchEdgeConfigItems13' from JSON`, ); } /** @internal */ export const OneOperation$inboundSchema: z.ZodNativeEnum = z.nativeEnum(OneOperation); - /** @internal */ export const OneOperation$outboundSchema: z.ZodNativeEnum = OneOperation$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace OneOperation$ { - /** @deprecated use `OneOperation$inboundSchema` instead. */ - export const inboundSchema = OneOperation$inboundSchema; - /** @deprecated use `OneOperation$outboundSchema` instead. */ - export const outboundSchema = OneOperation$outboundSchema; -} - /** @internal */ export const OneDescription$inboundSchema: z.ZodType< OneDescription, z.ZodTypeDef, unknown > = z.union([z.string(), z.any()]); - /** @internal */ export type OneDescription$Outbound = string | any; @@ -247,23 +210,9 @@ export const OneDescription$outboundSchema: z.ZodType< OneDescription > = z.union([z.string(), 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 OneDescription$ { - /** @deprecated use `OneDescription$inboundSchema` instead. */ - export const inboundSchema = OneDescription$inboundSchema; - /** @deprecated use `OneDescription$outboundSchema` instead. */ - export const outboundSchema = OneDescription$outboundSchema; - /** @deprecated use `OneDescription$Outbound` instead. */ - export type Outbound = OneDescription$Outbound; -} - export function oneDescriptionToJSON(oneDescription: OneDescription): string { return JSON.stringify(OneDescription$outboundSchema.parse(oneDescription)); } - export function oneDescriptionFromJSON( jsonString: string, ): SafeParseResult { @@ -275,16 +224,18 @@ export function oneDescriptionFromJSON( } /** @internal */ -export const One2$inboundSchema: z.ZodType = z - .object({ - operation: OneOperation$inboundSchema, - key: z.string(), - value: z.nullable(z.any()).optional(), - description: z.nullable(z.union([z.string(), z.any()])).optional(), - }); - +export const PatchEdgeConfigItems12$inboundSchema: z.ZodType< + PatchEdgeConfigItems12, + z.ZodTypeDef, + unknown +> = z.object({ + operation: OneOperation$inboundSchema, + key: z.string(), + value: z.nullable(z.any()).optional(), + description: z.nullable(z.union([z.string(), z.any()])).optional(), +}); /** @internal */ -export type One2$Outbound = { +export type PatchEdgeConfigItems12$Outbound = { operation: string; key: string; value?: any | null | undefined; @@ -292,67 +243,47 @@ export type One2$Outbound = { }; /** @internal */ -export const One2$outboundSchema: z.ZodType = - z.object({ - operation: OneOperation$outboundSchema, - key: z.string(), - value: z.nullable(z.any()).optional(), - description: z.nullable(z.union([z.string(), 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 One2$ { - /** @deprecated use `One2$inboundSchema` instead. */ - export const inboundSchema = One2$inboundSchema; - /** @deprecated use `One2$outboundSchema` instead. */ - export const outboundSchema = One2$outboundSchema; - /** @deprecated use `One2$Outbound` instead. */ - export type Outbound = One2$Outbound; -} +export const PatchEdgeConfigItems12$outboundSchema: z.ZodType< + PatchEdgeConfigItems12$Outbound, + z.ZodTypeDef, + PatchEdgeConfigItems12 +> = z.object({ + operation: OneOperation$outboundSchema, + key: z.string(), + value: z.nullable(z.any()).optional(), + description: z.nullable(z.union([z.string(), z.any()])).optional(), +}); -export function one2ToJSON(one2: One2): string { - return JSON.stringify(One2$outboundSchema.parse(one2)); +export function patchEdgeConfigItems12ToJSON( + patchEdgeConfigItems12: PatchEdgeConfigItems12, +): string { + return JSON.stringify( + PatchEdgeConfigItems12$outboundSchema.parse(patchEdgeConfigItems12), + ); } - -export function one2FromJSON( +export function patchEdgeConfigItems12FromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => One2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'One2' from JSON`, + (x) => PatchEdgeConfigItems12$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PatchEdgeConfigItems12' from JSON`, ); } /** @internal */ export const Operation$inboundSchema: z.ZodNativeEnum = z .nativeEnum(Operation); - /** @internal */ export const Operation$outboundSchema: z.ZodNativeEnum = Operation$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Operation$ { - /** @deprecated use `Operation$inboundSchema` instead. */ - export const inboundSchema = Operation$inboundSchema; - /** @deprecated use `Operation$outboundSchema` instead. */ - export const outboundSchema = Operation$outboundSchema; -} - /** @internal */ export const Description$inboundSchema: z.ZodType< Description, z.ZodTypeDef, unknown > = z.union([z.string(), z.any()]); - /** @internal */ export type Description$Outbound = string | any; @@ -363,23 +294,9 @@ export const Description$outboundSchema: z.ZodType< Description > = z.union([z.string(), 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 Description$ { - /** @deprecated use `Description$inboundSchema` instead. */ - export const inboundSchema = Description$inboundSchema; - /** @deprecated use `Description$outboundSchema` instead. */ - export const outboundSchema = Description$outboundSchema; - /** @deprecated use `Description$Outbound` instead. */ - export type Outbound = Description$Outbound; -} - export function descriptionToJSON(description: Description): string { return JSON.stringify(Description$outboundSchema.parse(description)); } - export function descriptionFromJSON( jsonString: string, ): SafeParseResult { @@ -391,16 +308,18 @@ export function descriptionFromJSON( } /** @internal */ -export const One1$inboundSchema: z.ZodType = z - .object({ - operation: Operation$inboundSchema, - key: z.string(), - value: z.nullable(z.any()).optional(), - description: z.nullable(z.union([z.string(), z.any()])).optional(), - }); - +export const PatchEdgeConfigItems11$inboundSchema: z.ZodType< + PatchEdgeConfigItems11, + z.ZodTypeDef, + unknown +> = z.object({ + operation: Operation$inboundSchema, + key: z.string(), + value: z.nullable(z.any()).optional(), + description: z.nullable(z.union([z.string(), z.any()])).optional(), +}); /** @internal */ -export type One1$Outbound = { +export type PatchEdgeConfigItems11$Outbound = { operation: string; key: string; value?: any | null | undefined; @@ -408,51 +327,46 @@ export type One1$Outbound = { }; /** @internal */ -export const One1$outboundSchema: z.ZodType = - z.object({ - operation: Operation$outboundSchema, - key: z.string(), - value: z.nullable(z.any()).optional(), - description: z.nullable(z.union([z.string(), 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 One1$ { - /** @deprecated use `One1$inboundSchema` instead. */ - export const inboundSchema = One1$inboundSchema; - /** @deprecated use `One1$outboundSchema` instead. */ - export const outboundSchema = One1$outboundSchema; - /** @deprecated use `One1$Outbound` instead. */ - export type Outbound = One1$Outbound; -} +export const PatchEdgeConfigItems11$outboundSchema: z.ZodType< + PatchEdgeConfigItems11$Outbound, + z.ZodTypeDef, + PatchEdgeConfigItems11 +> = z.object({ + operation: Operation$outboundSchema, + key: z.string(), + value: z.nullable(z.any()).optional(), + description: z.nullable(z.union([z.string(), z.any()])).optional(), +}); -export function one1ToJSON(one1: One1): string { - return JSON.stringify(One1$outboundSchema.parse(one1)); +export function patchEdgeConfigItems11ToJSON( + patchEdgeConfigItems11: PatchEdgeConfigItems11, +): string { + return JSON.stringify( + PatchEdgeConfigItems11$outboundSchema.parse(patchEdgeConfigItems11), + ); } - -export function one1FromJSON( +export function patchEdgeConfigItems11FromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => One1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'One1' from JSON`, + (x) => PatchEdgeConfigItems11$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PatchEdgeConfigItems11' from JSON`, ); } /** @internal */ export const Items1$inboundSchema: z.ZodType = z .union([ - z.lazy(() => One1$inboundSchema), - z.lazy(() => One2$inboundSchema), - z.lazy(() => One3$inboundSchema), + z.lazy(() => PatchEdgeConfigItems11$inboundSchema), + z.lazy(() => PatchEdgeConfigItems12$inboundSchema), + z.lazy(() => PatchEdgeConfigItems13$inboundSchema), ]); - /** @internal */ -export type Items1$Outbound = One1$Outbound | One2$Outbound | One3$Outbound; +export type Items1$Outbound = + | PatchEdgeConfigItems11$Outbound + | PatchEdgeConfigItems12$Outbound + | PatchEdgeConfigItems13$Outbound; /** @internal */ export const Items1$outboundSchema: z.ZodType< @@ -460,28 +374,14 @@ export const Items1$outboundSchema: z.ZodType< z.ZodTypeDef, Items1 > = z.union([ - z.lazy(() => One1$outboundSchema), - z.lazy(() => One2$outboundSchema), - z.lazy(() => One3$outboundSchema), + z.lazy(() => PatchEdgeConfigItems11$outboundSchema), + z.lazy(() => PatchEdgeConfigItems12$outboundSchema), + z.lazy(() => PatchEdgeConfigItems13$outboundSchema), ]); -/** - * @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 { @@ -493,51 +393,46 @@ export function items1FromJSON( } /** @internal */ -export const Items$inboundSchema: z.ZodType = z - .union([ - z.lazy(() => One1$inboundSchema), - z.lazy(() => One2$inboundSchema), - z.lazy(() => One3$inboundSchema), - ]); - +export const PatchEdgeConfigItemsItems$inboundSchema: z.ZodType< + PatchEdgeConfigItemsItems, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => PatchEdgeConfigItems11$inboundSchema), + z.lazy(() => PatchEdgeConfigItems12$inboundSchema), + z.lazy(() => PatchEdgeConfigItems13$inboundSchema), +]); /** @internal */ -export type Items$Outbound = One1$Outbound | One2$Outbound | One3$Outbound; +export type PatchEdgeConfigItemsItems$Outbound = + | PatchEdgeConfigItems11$Outbound + | PatchEdgeConfigItems12$Outbound + | PatchEdgeConfigItems13$Outbound; /** @internal */ -export const Items$outboundSchema: z.ZodType< - Items$Outbound, +export const PatchEdgeConfigItemsItems$outboundSchema: z.ZodType< + PatchEdgeConfigItemsItems$Outbound, z.ZodTypeDef, - Items + PatchEdgeConfigItemsItems > = z.union([ - z.lazy(() => One1$outboundSchema), - z.lazy(() => One2$outboundSchema), - z.lazy(() => One3$outboundSchema), + z.lazy(() => PatchEdgeConfigItems11$outboundSchema), + z.lazy(() => PatchEdgeConfigItems12$outboundSchema), + z.lazy(() => PatchEdgeConfigItems13$outboundSchema), ]); -/** - * @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 patchEdgeConfigItemsItemsToJSON( + patchEdgeConfigItemsItems: PatchEdgeConfigItemsItems, +): string { + return JSON.stringify( + PatchEdgeConfigItemsItems$outboundSchema.parse(patchEdgeConfigItemsItems), + ); } - -export function itemsFromJSON( +export function patchEdgeConfigItemsItemsFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => Items$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Items' from JSON`, + (x) => PatchEdgeConfigItemsItems$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PatchEdgeConfigItemsItems' from JSON`, ); } @@ -549,16 +444,19 @@ export const PatchEdgeConfigItemsRequestBody$inboundSchema: z.ZodType< > = z.object({ items: z.array( z.union([ - z.lazy(() => One1$inboundSchema), - z.lazy(() => One2$inboundSchema), - z.lazy(() => One3$inboundSchema), + z.lazy(() => PatchEdgeConfigItems11$inboundSchema), + z.lazy(() => PatchEdgeConfigItems12$inboundSchema), + z.lazy(() => PatchEdgeConfigItems13$inboundSchema), ]), ), }); - /** @internal */ export type PatchEdgeConfigItemsRequestBody$Outbound = { - items: Array; + items: Array< + | PatchEdgeConfigItems11$Outbound + | PatchEdgeConfigItems12$Outbound + | PatchEdgeConfigItems13$Outbound + >; }; /** @internal */ @@ -569,26 +467,13 @@ export const PatchEdgeConfigItemsRequestBody$outboundSchema: z.ZodType< > = z.object({ items: z.array( z.union([ - z.lazy(() => One1$outboundSchema), - z.lazy(() => One2$outboundSchema), - z.lazy(() => One3$outboundSchema), + z.lazy(() => PatchEdgeConfigItems11$outboundSchema), + z.lazy(() => PatchEdgeConfigItems12$outboundSchema), + z.lazy(() => PatchEdgeConfigItems13$outboundSchema), ]), ), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PatchEdgeConfigItemsRequestBody$ { - /** @deprecated use `PatchEdgeConfigItemsRequestBody$inboundSchema` instead. */ - export const inboundSchema = PatchEdgeConfigItemsRequestBody$inboundSchema; - /** @deprecated use `PatchEdgeConfigItemsRequestBody$outboundSchema` instead. */ - export const outboundSchema = PatchEdgeConfigItemsRequestBody$outboundSchema; - /** @deprecated use `PatchEdgeConfigItemsRequestBody$Outbound` instead. */ - export type Outbound = PatchEdgeConfigItemsRequestBody$Outbound; -} - export function patchEdgeConfigItemsRequestBodyToJSON( patchEdgeConfigItemsRequestBody: PatchEdgeConfigItemsRequestBody, ): string { @@ -598,7 +483,6 @@ export function patchEdgeConfigItemsRequestBodyToJSON( ), ); } - export function patchEdgeConfigItemsRequestBodyFromJSON( jsonString: string, ): SafeParseResult { @@ -625,7 +509,6 @@ export const PatchEdgeConfigItemsRequest$inboundSchema: z.ZodType< "RequestBody": "requestBody", }); }); - /** @internal */ export type PatchEdgeConfigItemsRequest$Outbound = { edgeConfigId: string; @@ -651,19 +534,6 @@ export const PatchEdgeConfigItemsRequest$outboundSchema: z.ZodType< }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PatchEdgeConfigItemsRequest$ { - /** @deprecated use `PatchEdgeConfigItemsRequest$inboundSchema` instead. */ - export const inboundSchema = PatchEdgeConfigItemsRequest$inboundSchema; - /** @deprecated use `PatchEdgeConfigItemsRequest$outboundSchema` instead. */ - export const outboundSchema = PatchEdgeConfigItemsRequest$outboundSchema; - /** @deprecated use `PatchEdgeConfigItemsRequest$Outbound` instead. */ - export type Outbound = PatchEdgeConfigItemsRequest$Outbound; -} - export function patchEdgeConfigItemsRequestToJSON( patchEdgeConfigItemsRequest: PatchEdgeConfigItemsRequest, ): string { @@ -673,7 +543,6 @@ export function patchEdgeConfigItemsRequestToJSON( ), ); } - export function patchEdgeConfigItemsRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -692,7 +561,6 @@ export const PatchEdgeConfigItemsResponseBody$inboundSchema: z.ZodType< > = z.object({ status: z.string(), }); - /** @internal */ export type PatchEdgeConfigItemsResponseBody$Outbound = { status: string; @@ -707,19 +575,6 @@ export const PatchEdgeConfigItemsResponseBody$outboundSchema: z.ZodType< status: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PatchEdgeConfigItemsResponseBody$ { - /** @deprecated use `PatchEdgeConfigItemsResponseBody$inboundSchema` instead. */ - export const inboundSchema = PatchEdgeConfigItemsResponseBody$inboundSchema; - /** @deprecated use `PatchEdgeConfigItemsResponseBody$outboundSchema` instead. */ - export const outboundSchema = PatchEdgeConfigItemsResponseBody$outboundSchema; - /** @deprecated use `PatchEdgeConfigItemsResponseBody$Outbound` instead. */ - export type Outbound = PatchEdgeConfigItemsResponseBody$Outbound; -} - export function patchEdgeConfigItemsResponseBodyToJSON( patchEdgeConfigItemsResponseBody: PatchEdgeConfigItemsResponseBody, ): string { @@ -729,7 +584,6 @@ export function patchEdgeConfigItemsResponseBodyToJSON( ), ); } - export function patchEdgeConfigItemsResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/patchedgeconfigschemaop.ts b/src/models/patchedgeconfigschemaop.ts index 064fe986a..47622ea0f 100644 --- a/src/models/patchedgeconfigschemaop.ts +++ b/src/models/patchedgeconfigschemaop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; @@ -39,7 +39,6 @@ export const PatchEdgeConfigSchemaRequestBody$inboundSchema: z.ZodType< > = z.object({ definition: z.any().optional(), }); - /** @internal */ export type PatchEdgeConfigSchemaRequestBody$Outbound = { definition?: any | undefined; @@ -54,19 +53,6 @@ export const PatchEdgeConfigSchemaRequestBody$outboundSchema: z.ZodType< 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 { @@ -76,7 +62,6 @@ export function patchEdgeConfigSchemaRequestBodyToJSON( ), ); } - export function patchEdgeConfigSchemaRequestBodyFromJSON( jsonString: string, ): SafeParseResult { @@ -103,7 +88,6 @@ export const PatchEdgeConfigSchemaRequest$inboundSchema: z.ZodType< "RequestBody": "requestBody", }); }); - /** @internal */ export type PatchEdgeConfigSchemaRequest$Outbound = { edgeConfigId: string; @@ -130,19 +114,6 @@ export const PatchEdgeConfigSchemaRequest$outboundSchema: z.ZodType< }); }); -/** - * @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 { @@ -152,7 +123,6 @@ export function patchEdgeConfigSchemaRequestToJSON( ), ); } - export function patchEdgeConfigSchemaRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -169,7 +139,6 @@ export const PatchEdgeConfigSchemaResponseBody$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({}); - /** @internal */ export type PatchEdgeConfigSchemaResponseBody$Outbound = {}; @@ -180,20 +149,6 @@ export const PatchEdgeConfigSchemaResponseBody$outboundSchema: z.ZodType< 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 { @@ -203,7 +158,6 @@ export function patchEdgeConfigSchemaResponseBodyToJSON( ), ); } - export function patchEdgeConfigSchemaResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/patchteamop.ts b/src/models/patchteamop.ts index 885d97a11..519640b92 100644 --- a/src/models/patchteamop.ts +++ b/src/models/patchteamop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; @@ -297,7 +297,6 @@ export const PatchTeamRoles2$inboundSchema: z.ZodType< > = z.object({ accessGroupId: z.string(), }); - /** @internal */ export type PatchTeamRoles2$Outbound = { accessGroupId: string; @@ -312,25 +311,11 @@ export const PatchTeamRoles2$outboundSchema: z.ZodType< 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 PatchTeamRoles2$ { - /** @deprecated use `PatchTeamRoles2$inboundSchema` instead. */ - export const inboundSchema = PatchTeamRoles2$inboundSchema; - /** @deprecated use `PatchTeamRoles2$outboundSchema` instead. */ - export const outboundSchema = PatchTeamRoles2$outboundSchema; - /** @deprecated use `PatchTeamRoles2$Outbound` instead. */ - export type Outbound = PatchTeamRoles2$Outbound; -} - export function patchTeamRoles2ToJSON( patchTeamRoles2: PatchTeamRoles2, ): string { return JSON.stringify(PatchTeamRoles2$outboundSchema.parse(patchTeamRoles2)); } - export function patchTeamRoles2FromJSON( jsonString: string, ): SafeParseResult { @@ -345,23 +330,11 @@ export function patchTeamRoles2FromJSON( export const PatchTeamRoles1$inboundSchema: z.ZodNativeEnum< typeof PatchTeamRoles1 > = z.nativeEnum(PatchTeamRoles1); - /** @internal */ export const PatchTeamRoles1$outboundSchema: z.ZodNativeEnum< typeof PatchTeamRoles1 > = PatchTeamRoles1$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PatchTeamRoles1$ { - /** @deprecated use `PatchTeamRoles1$inboundSchema` instead. */ - export const inboundSchema = PatchTeamRoles1$inboundSchema; - /** @deprecated use `PatchTeamRoles1$outboundSchema` instead. */ - export const outboundSchema = PatchTeamRoles1$outboundSchema; -} - /** @internal */ export const PatchTeamRoles$inboundSchema: z.ZodType< PatchTeamRoles, @@ -371,7 +344,6 @@ export const PatchTeamRoles$inboundSchema: z.ZodType< z.lazy(() => PatchTeamRoles2$inboundSchema), PatchTeamRoles1$inboundSchema, ]); - /** @internal */ export type PatchTeamRoles$Outbound = PatchTeamRoles2$Outbound | string; @@ -385,23 +357,9 @@ export const PatchTeamRoles$outboundSchema: z.ZodType< PatchTeamRoles1$outboundSchema, ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PatchTeamRoles$ { - /** @deprecated use `PatchTeamRoles$inboundSchema` instead. */ - export const inboundSchema = PatchTeamRoles$inboundSchema; - /** @deprecated use `PatchTeamRoles$outboundSchema` instead. */ - export const outboundSchema = PatchTeamRoles$outboundSchema; - /** @deprecated use `PatchTeamRoles$Outbound` instead. */ - export type Outbound = PatchTeamRoles$Outbound; -} - export function patchTeamRolesToJSON(patchTeamRoles: PatchTeamRoles): string { return JSON.stringify(PatchTeamRoles$outboundSchema.parse(patchTeamRoles)); } - export function patchTeamRolesFromJSON( jsonString: string, ): SafeParseResult { @@ -426,7 +384,6 @@ export const PatchTeamSaml$inboundSchema: z.ZodType< ]), ).optional(), }); - /** @internal */ export type PatchTeamSaml$Outbound = { enforced?: boolean | undefined; @@ -448,23 +405,9 @@ export const PatchTeamSaml$outboundSchema: z.ZodType< ).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 { @@ -483,7 +426,6 @@ export const PatchTeamRemoteCaching$inboundSchema: z.ZodType< > = z.object({ enabled: z.boolean().optional(), }); - /** @internal */ export type PatchTeamRemoteCaching$Outbound = { enabled?: boolean | undefined; @@ -498,19 +440,6 @@ export const PatchTeamRemoteCaching$outboundSchema: z.ZodType< 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 { @@ -518,7 +447,6 @@ export function patchTeamRemoteCachingToJSON( PatchTeamRemoteCaching$outboundSchema.parse(patchTeamRemoteCaching), ); } - export function patchTeamRemoteCachingFromJSON( jsonString: string, ): SafeParseResult { @@ -533,23 +461,11 @@ export function patchTeamRemoteCachingFromJSON( export const PatchTeamDeploymentType$inboundSchema: z.ZodNativeEnum< typeof PatchTeamDeploymentType > = z.nativeEnum(PatchTeamDeploymentType); - /** @internal */ export const PatchTeamDeploymentType$outboundSchema: z.ZodNativeEnum< typeof PatchTeamDeploymentType > = PatchTeamDeploymentType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PatchTeamDeploymentType$ { - /** @deprecated use `PatchTeamDeploymentType$inboundSchema` instead. */ - export const inboundSchema = PatchTeamDeploymentType$inboundSchema; - /** @deprecated use `PatchTeamDeploymentType$outboundSchema` instead. */ - export const outboundSchema = PatchTeamDeploymentType$outboundSchema; -} - /** @internal */ export const PatchTeamPasswordProtection$inboundSchema: z.ZodType< PatchTeamPasswordProtection, @@ -559,7 +475,6 @@ export const PatchTeamPasswordProtection$inboundSchema: z.ZodType< deploymentType: PatchTeamDeploymentType$inboundSchema, password: z.nullable(z.string()).optional(), }); - /** @internal */ export type PatchTeamPasswordProtection$Outbound = { deploymentType: string; @@ -576,19 +491,6 @@ export const PatchTeamPasswordProtection$outboundSchema: z.ZodType< 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 PatchTeamPasswordProtection$ { - /** @deprecated use `PatchTeamPasswordProtection$inboundSchema` instead. */ - export const inboundSchema = PatchTeamPasswordProtection$inboundSchema; - /** @deprecated use `PatchTeamPasswordProtection$outboundSchema` instead. */ - export const outboundSchema = PatchTeamPasswordProtection$outboundSchema; - /** @deprecated use `PatchTeamPasswordProtection$Outbound` instead. */ - export type Outbound = PatchTeamPasswordProtection$Outbound; -} - export function patchTeamPasswordProtectionToJSON( patchTeamPasswordProtection: PatchTeamPasswordProtection, ): string { @@ -598,7 +500,6 @@ export function patchTeamPasswordProtectionToJSON( ), ); } - export function patchTeamPasswordProtectionFromJSON( jsonString: string, ): SafeParseResult { @@ -613,23 +514,11 @@ export function patchTeamPasswordProtectionFromJSON( export const PatchTeamTeamsDeploymentType$inboundSchema: z.ZodNativeEnum< typeof PatchTeamTeamsDeploymentType > = z.nativeEnum(PatchTeamTeamsDeploymentType); - /** @internal */ export const PatchTeamTeamsDeploymentType$outboundSchema: z.ZodNativeEnum< typeof PatchTeamTeamsDeploymentType > = PatchTeamTeamsDeploymentType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PatchTeamTeamsDeploymentType$ { - /** @deprecated use `PatchTeamTeamsDeploymentType$inboundSchema` instead. */ - export const inboundSchema = PatchTeamTeamsDeploymentType$inboundSchema; - /** @deprecated use `PatchTeamTeamsDeploymentType$outboundSchema` instead. */ - export const outboundSchema = PatchTeamTeamsDeploymentType$outboundSchema; -} - /** @internal */ export const PatchTeamSsoProtection$inboundSchema: z.ZodType< PatchTeamSsoProtection, @@ -638,7 +527,6 @@ export const PatchTeamSsoProtection$inboundSchema: z.ZodType< > = z.object({ deploymentType: PatchTeamTeamsDeploymentType$inboundSchema.default("preview"), }); - /** @internal */ export type PatchTeamSsoProtection$Outbound = { deploymentType: string; @@ -655,19 +543,6 @@ export const PatchTeamSsoProtection$outboundSchema: z.ZodType< ), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PatchTeamSsoProtection$ { - /** @deprecated use `PatchTeamSsoProtection$inboundSchema` instead. */ - export const inboundSchema = PatchTeamSsoProtection$inboundSchema; - /** @deprecated use `PatchTeamSsoProtection$outboundSchema` instead. */ - export const outboundSchema = PatchTeamSsoProtection$outboundSchema; - /** @deprecated use `PatchTeamSsoProtection$Outbound` instead. */ - export type Outbound = PatchTeamSsoProtection$Outbound; -} - export function patchTeamSsoProtectionToJSON( patchTeamSsoProtection: PatchTeamSsoProtection, ): string { @@ -675,7 +550,6 @@ export function patchTeamSsoProtectionToJSON( PatchTeamSsoProtection$outboundSchema.parse(patchTeamSsoProtection), ); } - export function patchTeamSsoProtectionFromJSON( jsonString: string, ): SafeParseResult { @@ -698,7 +572,6 @@ export const PatchTeamDefaultDeploymentProtection$inboundSchema: z.ZodType< ssoProtection: z.nullable(z.lazy(() => PatchTeamSsoProtection$inboundSchema)) .optional(), }); - /** @internal */ export type PatchTeamDefaultDeploymentProtection$Outbound = { passwordProtection?: PatchTeamPasswordProtection$Outbound | null | undefined; @@ -718,21 +591,6 @@ export const PatchTeamDefaultDeploymentProtection$outboundSchema: z.ZodType< .optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PatchTeamDefaultDeploymentProtection$ { - /** @deprecated use `PatchTeamDefaultDeploymentProtection$inboundSchema` instead. */ - export const inboundSchema = - PatchTeamDefaultDeploymentProtection$inboundSchema; - /** @deprecated use `PatchTeamDefaultDeploymentProtection$outboundSchema` instead. */ - export const outboundSchema = - PatchTeamDefaultDeploymentProtection$outboundSchema; - /** @deprecated use `PatchTeamDefaultDeploymentProtection$Outbound` instead. */ - export type Outbound = PatchTeamDefaultDeploymentProtection$Outbound; -} - export function patchTeamDefaultDeploymentProtectionToJSON( patchTeamDefaultDeploymentProtection: PatchTeamDefaultDeploymentProtection, ): string { @@ -742,7 +600,6 @@ export function patchTeamDefaultDeploymentProtectionToJSON( ), ); } - export function patchTeamDefaultDeploymentProtectionFromJSON( jsonString: string, ): SafeParseResult { @@ -757,85 +614,37 @@ export function patchTeamDefaultDeploymentProtectionFromJSON( /** @internal */ export const Expiration$inboundSchema: z.ZodNativeEnum = z .nativeEnum(Expiration); - /** @internal */ export const Expiration$outboundSchema: z.ZodNativeEnum = Expiration$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Expiration$ { - /** @deprecated use `Expiration$inboundSchema` instead. */ - export const inboundSchema = Expiration$inboundSchema; - /** @deprecated use `Expiration$outboundSchema` instead. */ - export const outboundSchema = Expiration$outboundSchema; -} - /** @internal */ export const ExpirationProduction$inboundSchema: z.ZodNativeEnum< typeof ExpirationProduction > = z.nativeEnum(ExpirationProduction); - /** @internal */ export const ExpirationProduction$outboundSchema: z.ZodNativeEnum< typeof ExpirationProduction > = ExpirationProduction$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ExpirationProduction$ { - /** @deprecated use `ExpirationProduction$inboundSchema` instead. */ - export const inboundSchema = ExpirationProduction$inboundSchema; - /** @deprecated use `ExpirationProduction$outboundSchema` instead. */ - export const outboundSchema = ExpirationProduction$outboundSchema; -} - /** @internal */ export const ExpirationCanceled$inboundSchema: z.ZodNativeEnum< typeof ExpirationCanceled > = z.nativeEnum(ExpirationCanceled); - /** @internal */ export const ExpirationCanceled$outboundSchema: z.ZodNativeEnum< typeof ExpirationCanceled > = ExpirationCanceled$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ExpirationCanceled$ { - /** @deprecated use `ExpirationCanceled$inboundSchema` instead. */ - export const inboundSchema = ExpirationCanceled$inboundSchema; - /** @deprecated use `ExpirationCanceled$outboundSchema` instead. */ - export const outboundSchema = ExpirationCanceled$outboundSchema; -} - /** @internal */ export const ExpirationErrored$inboundSchema: z.ZodNativeEnum< typeof ExpirationErrored > = z.nativeEnum(ExpirationErrored); - /** @internal */ export const ExpirationErrored$outboundSchema: z.ZodNativeEnum< typeof ExpirationErrored > = ExpirationErrored$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ExpirationErrored$ { - /** @deprecated use `ExpirationErrored$inboundSchema` instead. */ - export const inboundSchema = ExpirationErrored$inboundSchema; - /** @deprecated use `ExpirationErrored$outboundSchema` instead. */ - export const outboundSchema = ExpirationErrored$outboundSchema; -} - /** @internal */ export const PatchTeamDefaultExpirationSettings$inboundSchema: z.ZodType< PatchTeamDefaultExpirationSettings, @@ -847,7 +656,6 @@ export const PatchTeamDefaultExpirationSettings$inboundSchema: z.ZodType< expirationCanceled: ExpirationCanceled$inboundSchema.optional(), expirationErrored: ExpirationErrored$inboundSchema.optional(), }); - /** @internal */ export type PatchTeamDefaultExpirationSettings$Outbound = { expiration?: string | undefined; @@ -868,20 +676,6 @@ export const PatchTeamDefaultExpirationSettings$outboundSchema: z.ZodType< expirationErrored: ExpirationErrored$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 PatchTeamDefaultExpirationSettings$ { - /** @deprecated use `PatchTeamDefaultExpirationSettings$inboundSchema` instead. */ - export const inboundSchema = PatchTeamDefaultExpirationSettings$inboundSchema; - /** @deprecated use `PatchTeamDefaultExpirationSettings$outboundSchema` instead. */ - export const outboundSchema = - PatchTeamDefaultExpirationSettings$outboundSchema; - /** @deprecated use `PatchTeamDefaultExpirationSettings$Outbound` instead. */ - export type Outbound = PatchTeamDefaultExpirationSettings$Outbound; -} - export function patchTeamDefaultExpirationSettingsToJSON( patchTeamDefaultExpirationSettings: PatchTeamDefaultExpirationSettings, ): string { @@ -891,7 +685,6 @@ export function patchTeamDefaultExpirationSettingsToJSON( ), ); } - export function patchTeamDefaultExpirationSettingsFromJSON( jsonString: string, ): SafeParseResult { @@ -930,7 +723,6 @@ export const PatchTeamRequestBody$inboundSchema: z.ZodType< PatchTeamDefaultExpirationSettings$inboundSchema ).optional(), }); - /** @internal */ export type PatchTeamRequestBody$Outbound = { avatar?: string | undefined; @@ -983,19 +775,6 @@ export const PatchTeamRequestBody$outboundSchema: z.ZodType< ).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 { @@ -1003,7 +782,6 @@ export function patchTeamRequestBodyToJSON( PatchTeamRequestBody$outboundSchema.parse(patchTeamRequestBody), ); } - export function patchTeamRequestBodyFromJSON( jsonString: string, ): SafeParseResult { @@ -1028,7 +806,6 @@ export const PatchTeamRequest$inboundSchema: z.ZodType< "RequestBody": "requestBody", }); }); - /** @internal */ export type PatchTeamRequest$Outbound = { teamId: string; @@ -1051,19 +828,6 @@ export const PatchTeamRequest$outboundSchema: z.ZodType< }); }); -/** - * @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 { @@ -1071,7 +835,6 @@ export function patchTeamRequestToJSON( PatchTeamRequest$outboundSchema.parse(patchTeamRequest), ); } - export function patchTeamRequestFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/patchurlprotectionbypassop.ts b/src/models/patchurlprotectionbypassop.ts index ee83d8b64..590764ff2 100644 --- a/src/models/patchurlprotectionbypassop.ts +++ b/src/models/patchurlprotectionbypassop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; @@ -151,46 +151,20 @@ export type PatchUrlProtectionBypassRequest = { export const RequestBodyScope$inboundSchema: z.ZodNativeEnum< typeof RequestBodyScope > = z.nativeEnum(RequestBodyScope); - /** @internal */ export const RequestBodyScope$outboundSchema: z.ZodNativeEnum< typeof RequestBodyScope > = RequestBodyScope$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RequestBodyScope$ { - /** @deprecated use `RequestBodyScope$inboundSchema` instead. */ - export const inboundSchema = RequestBodyScope$inboundSchema; - /** @deprecated use `RequestBodyScope$outboundSchema` instead. */ - export const outboundSchema = RequestBodyScope$outboundSchema; -} - /** @internal */ export const PatchUrlProtectionBypassRequestBodyAction$inboundSchema: z.ZodNativeEnum = z .nativeEnum(PatchUrlProtectionBypassRequestBodyAction); - /** @internal */ export const PatchUrlProtectionBypassRequestBodyAction$outboundSchema: z.ZodNativeEnum = PatchUrlProtectionBypassRequestBodyAction$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PatchUrlProtectionBypassRequestBodyAction$ { - /** @deprecated use `PatchUrlProtectionBypassRequestBodyAction$inboundSchema` instead. */ - export const inboundSchema = - PatchUrlProtectionBypassRequestBodyAction$inboundSchema; - /** @deprecated use `PatchUrlProtectionBypassRequestBodyAction$outboundSchema` instead. */ - export const outboundSchema = - PatchUrlProtectionBypassRequestBodyAction$outboundSchema; -} - /** @internal */ export const Override$inboundSchema: z.ZodType< Override, @@ -200,7 +174,6 @@ export const Override$inboundSchema: z.ZodType< scope: RequestBodyScope$inboundSchema, action: PatchUrlProtectionBypassRequestBodyAction$inboundSchema, }); - /** @internal */ export type Override$Outbound = { scope: string; @@ -217,23 +190,9 @@ export const Override$outboundSchema: z.ZodType< action: PatchUrlProtectionBypassRequestBodyAction$outboundSchema, }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Override$ { - /** @deprecated use `Override$inboundSchema` instead. */ - export const inboundSchema = Override$inboundSchema; - /** @deprecated use `Override$outboundSchema` instead. */ - export const outboundSchema = Override$outboundSchema; - /** @deprecated use `Override$Outbound` instead. */ - export type Outbound = Override$Outbound; -} - export function overrideToJSON(override: Override): string { return JSON.stringify(Override$outboundSchema.parse(override)); } - export function overrideFromJSON( jsonString: string, ): SafeParseResult { @@ -252,7 +211,6 @@ export const PatchUrlProtectionBypassRequestBody3$inboundSchema: z.ZodType< > = z.object({ override: z.lazy(() => Override$inboundSchema), }); - /** @internal */ export type PatchUrlProtectionBypassRequestBody3$Outbound = { override: Override$Outbound; @@ -267,21 +225,6 @@ export const PatchUrlProtectionBypassRequestBody3$outboundSchema: z.ZodType< override: z.lazy(() => Override$outboundSchema), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PatchUrlProtectionBypassRequestBody3$ { - /** @deprecated use `PatchUrlProtectionBypassRequestBody3$inboundSchema` instead. */ - export const inboundSchema = - PatchUrlProtectionBypassRequestBody3$inboundSchema; - /** @deprecated use `PatchUrlProtectionBypassRequestBody3$outboundSchema` instead. */ - export const outboundSchema = - PatchUrlProtectionBypassRequestBody3$outboundSchema; - /** @deprecated use `PatchUrlProtectionBypassRequestBody3$Outbound` instead. */ - export type Outbound = PatchUrlProtectionBypassRequestBody3$Outbound; -} - export function patchUrlProtectionBypassRequestBody3ToJSON( patchUrlProtectionBypassRequestBody3: PatchUrlProtectionBypassRequestBody3, ): string { @@ -291,7 +234,6 @@ export function patchUrlProtectionBypassRequestBody3ToJSON( ), ); } - export function patchUrlProtectionBypassRequestBody3FromJSON( jsonString: string, ): SafeParseResult { @@ -306,22 +248,10 @@ export function patchUrlProtectionBypassRequestBody3FromJSON( /** @internal */ export const ScopeAccess$inboundSchema: z.ZodNativeEnum = z .nativeEnum(ScopeAccess); - /** @internal */ export const ScopeAccess$outboundSchema: z.ZodNativeEnum = ScopeAccess$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ScopeAccess$ { - /** @deprecated use `ScopeAccess$inboundSchema` instead. */ - export const inboundSchema = ScopeAccess$inboundSchema; - /** @deprecated use `ScopeAccess$outboundSchema` instead. */ - export const outboundSchema = ScopeAccess$outboundSchema; -} - /** @internal */ export const Scope2$inboundSchema: z.ZodType = z .object({ @@ -329,7 +259,6 @@ export const Scope2$inboundSchema: z.ZodType = z email: z.string(), access: ScopeAccess$inboundSchema, }); - /** @internal */ export type Scope2$Outbound = { userId?: string | undefined; @@ -348,23 +277,9 @@ export const Scope2$outboundSchema: z.ZodType< access: ScopeAccess$outboundSchema, }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Scope2$ { - /** @deprecated use `Scope2$inboundSchema` instead. */ - export const inboundSchema = Scope2$inboundSchema; - /** @deprecated use `Scope2$outboundSchema` instead. */ - export const outboundSchema = Scope2$outboundSchema; - /** @deprecated use `Scope2$Outbound` instead. */ - export type Outbound = Scope2$Outbound; -} - export function scope2ToJSON(scope2: Scope2): string { return JSON.stringify(Scope2$outboundSchema.parse(scope2)); } - export function scope2FromJSON( jsonString: string, ): SafeParseResult { @@ -378,22 +293,10 @@ export function scope2FromJSON( /** @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 Scope1$inboundSchema: z.ZodType = z .object({ @@ -401,7 +304,6 @@ export const Scope1$inboundSchema: z.ZodType = z email: z.string().optional(), access: Access$inboundSchema, }); - /** @internal */ export type Scope1$Outbound = { userId: string; @@ -420,23 +322,9 @@ export const Scope1$outboundSchema: z.ZodType< access: Access$outboundSchema, }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Scope1$ { - /** @deprecated use `Scope1$inboundSchema` instead. */ - export const inboundSchema = Scope1$inboundSchema; - /** @deprecated use `Scope1$outboundSchema` instead. */ - export const outboundSchema = Scope1$outboundSchema; - /** @deprecated use `Scope1$Outbound` instead. */ - export type Outbound = Scope1$Outbound; -} - export function scope1ToJSON(scope1: Scope1): string { return JSON.stringify(Scope1$outboundSchema.parse(scope1)); } - export function scope1FromJSON( jsonString: string, ): SafeParseResult { @@ -453,7 +341,6 @@ export const Scope$inboundSchema: z.ZodType = z z.lazy(() => Scope1$inboundSchema), z.lazy(() => Scope2$inboundSchema), ]); - /** @internal */ export type Scope$Outbound = Scope1$Outbound | Scope2$Outbound; @@ -467,23 +354,9 @@ export const Scope$outboundSchema: z.ZodType< z.lazy(() => Scope2$outboundSchema), ]); -/** - * @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; - /** @deprecated use `Scope$Outbound` instead. */ - export type Outbound = Scope$Outbound; -} - export function scopeToJSON(scope: Scope): string { return JSON.stringify(Scope$outboundSchema.parse(scope)); } - export function scopeFromJSON( jsonString: string, ): SafeParseResult { @@ -505,7 +378,6 @@ export const PatchUrlProtectionBypassRequestBody2$inboundSchema: z.ZodType< z.lazy(() => Scope2$inboundSchema), ]), }); - /** @internal */ export type PatchUrlProtectionBypassRequestBody2$Outbound = { scope: Scope1$Outbound | Scope2$Outbound; @@ -523,21 +395,6 @@ export const PatchUrlProtectionBypassRequestBody2$outboundSchema: z.ZodType< ]), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PatchUrlProtectionBypassRequestBody2$ { - /** @deprecated use `PatchUrlProtectionBypassRequestBody2$inboundSchema` instead. */ - export const inboundSchema = - PatchUrlProtectionBypassRequestBody2$inboundSchema; - /** @deprecated use `PatchUrlProtectionBypassRequestBody2$outboundSchema` instead. */ - export const outboundSchema = - PatchUrlProtectionBypassRequestBody2$outboundSchema; - /** @deprecated use `PatchUrlProtectionBypassRequestBody2$Outbound` instead. */ - export type Outbound = PatchUrlProtectionBypassRequestBody2$Outbound; -} - export function patchUrlProtectionBypassRequestBody2ToJSON( patchUrlProtectionBypassRequestBody2: PatchUrlProtectionBypassRequestBody2, ): string { @@ -547,7 +404,6 @@ export function patchUrlProtectionBypassRequestBody2ToJSON( ), ); } - export function patchUrlProtectionBypassRequestBody2FromJSON( jsonString: string, ): SafeParseResult { @@ -568,7 +424,6 @@ export const RequestBodyRevoke$inboundSchema: z.ZodType< secret: z.string(), regenerate: z.boolean(), }); - /** @internal */ export type RequestBodyRevoke$Outbound = { secret: string; @@ -585,19 +440,6 @@ export const RequestBodyRevoke$outboundSchema: z.ZodType< 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 RequestBodyRevoke$ { - /** @deprecated use `RequestBodyRevoke$inboundSchema` instead. */ - export const inboundSchema = RequestBodyRevoke$inboundSchema; - /** @deprecated use `RequestBodyRevoke$outboundSchema` instead. */ - export const outboundSchema = RequestBodyRevoke$outboundSchema; - /** @deprecated use `RequestBodyRevoke$Outbound` instead. */ - export type Outbound = RequestBodyRevoke$Outbound; -} - export function requestBodyRevokeToJSON( requestBodyRevoke: RequestBodyRevoke, ): string { @@ -605,7 +447,6 @@ export function requestBodyRevokeToJSON( RequestBodyRevoke$outboundSchema.parse(requestBodyRevoke), ); } - export function requestBodyRevokeFromJSON( jsonString: string, ): SafeParseResult { @@ -625,7 +466,6 @@ export const PatchUrlProtectionBypassRequestBody1$inboundSchema: z.ZodType< ttl: z.number().optional(), revoke: z.lazy(() => RequestBodyRevoke$inboundSchema).optional(), }); - /** @internal */ export type PatchUrlProtectionBypassRequestBody1$Outbound = { ttl?: number | undefined; @@ -642,21 +482,6 @@ export const PatchUrlProtectionBypassRequestBody1$outboundSchema: z.ZodType< revoke: z.lazy(() => RequestBodyRevoke$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 PatchUrlProtectionBypassRequestBody1$ { - /** @deprecated use `PatchUrlProtectionBypassRequestBody1$inboundSchema` instead. */ - export const inboundSchema = - PatchUrlProtectionBypassRequestBody1$inboundSchema; - /** @deprecated use `PatchUrlProtectionBypassRequestBody1$outboundSchema` instead. */ - export const outboundSchema = - PatchUrlProtectionBypassRequestBody1$outboundSchema; - /** @deprecated use `PatchUrlProtectionBypassRequestBody1$Outbound` instead. */ - export type Outbound = PatchUrlProtectionBypassRequestBody1$Outbound; -} - export function patchUrlProtectionBypassRequestBody1ToJSON( patchUrlProtectionBypassRequestBody1: PatchUrlProtectionBypassRequestBody1, ): string { @@ -666,7 +491,6 @@ export function patchUrlProtectionBypassRequestBody1ToJSON( ), ); } - export function patchUrlProtectionBypassRequestBody1FromJSON( jsonString: string, ): SafeParseResult { @@ -688,7 +512,6 @@ export const PatchUrlProtectionBypassRequestBody$inboundSchema: z.ZodType< z.lazy(() => PatchUrlProtectionBypassRequestBody3$inboundSchema), z.lazy(() => PatchUrlProtectionBypassRequestBody1$inboundSchema), ]); - /** @internal */ export type PatchUrlProtectionBypassRequestBody$Outbound = | PatchUrlProtectionBypassRequestBody2$Outbound @@ -706,21 +529,6 @@ export const PatchUrlProtectionBypassRequestBody$outboundSchema: z.ZodType< z.lazy(() => PatchUrlProtectionBypassRequestBody1$outboundSchema), ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PatchUrlProtectionBypassRequestBody$ { - /** @deprecated use `PatchUrlProtectionBypassRequestBody$inboundSchema` instead. */ - export const inboundSchema = - PatchUrlProtectionBypassRequestBody$inboundSchema; - /** @deprecated use `PatchUrlProtectionBypassRequestBody$outboundSchema` instead. */ - export const outboundSchema = - PatchUrlProtectionBypassRequestBody$outboundSchema; - /** @deprecated use `PatchUrlProtectionBypassRequestBody$Outbound` instead. */ - export type Outbound = PatchUrlProtectionBypassRequestBody$Outbound; -} - export function patchUrlProtectionBypassRequestBodyToJSON( patchUrlProtectionBypassRequestBody: PatchUrlProtectionBypassRequestBody, ): string { @@ -730,7 +538,6 @@ export function patchUrlProtectionBypassRequestBodyToJSON( ), ); } - export function patchUrlProtectionBypassRequestBodyFromJSON( jsonString: string, ): SafeParseResult { @@ -761,7 +568,6 @@ export const PatchUrlProtectionBypassRequest$inboundSchema: z.ZodType< "RequestBody": "requestBody", }); }); - /** @internal */ export type PatchUrlProtectionBypassRequest$Outbound = { id: string; @@ -794,19 +600,6 @@ export const PatchUrlProtectionBypassRequest$outboundSchema: z.ZodType< }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PatchUrlProtectionBypassRequest$ { - /** @deprecated use `PatchUrlProtectionBypassRequest$inboundSchema` instead. */ - export const inboundSchema = PatchUrlProtectionBypassRequest$inboundSchema; - /** @deprecated use `PatchUrlProtectionBypassRequest$outboundSchema` instead. */ - export const outboundSchema = PatchUrlProtectionBypassRequest$outboundSchema; - /** @deprecated use `PatchUrlProtectionBypassRequest$Outbound` instead. */ - export type Outbound = PatchUrlProtectionBypassRequest$Outbound; -} - export function patchUrlProtectionBypassRequestToJSON( patchUrlProtectionBypassRequest: PatchUrlProtectionBypassRequest, ): string { @@ -816,7 +609,6 @@ export function patchUrlProtectionBypassRequestToJSON( ), ); } - export function patchUrlProtectionBypassRequestFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/patchv1installationsintegrationconfigurationidresourcesresourceidexperimentationitemsitemidop.ts b/src/models/patchv1installationsintegrationconfigurationidresourcesresourceidexperimentationitemsitemidop.ts index b058c1e04..759839a46 100644 --- a/src/models/patchv1installationsintegrationconfigurationidresourcesresourceidexperimentationitemsitemidop.ts +++ b/src/models/patchv1installationsintegrationconfigurationidresourcesresourceidexperimentationitemsitemidop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; @@ -50,7 +50,6 @@ export const PatchV1InstallationsIntegrationConfigurationIdResourcesResourceIdEx > = z.nativeEnum( PatchV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsItemIdCategory, ); - /** @internal */ export const PatchV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsItemIdCategory$outboundSchema: z.ZodNativeEnum< @@ -58,19 +57,6 @@ export const PatchV1InstallationsIntegrationConfigurationIdResourcesResourceIdEx > = PatchV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsItemIdCategory$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PatchV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsItemIdCategory$ { - /** @deprecated use `PatchV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsItemIdCategory$inboundSchema` instead. */ - export const inboundSchema = - PatchV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsItemIdCategory$inboundSchema; - /** @deprecated use `PatchV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsItemIdCategory$outboundSchema` instead. */ - export const outboundSchema = - PatchV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsItemIdCategory$outboundSchema; -} - /** @internal */ export const PatchV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsItemIdRequestBody$inboundSchema: z.ZodType< @@ -89,7 +75,6 @@ export const PatchV1InstallationsIntegrationConfigurationIdResourcesResourceIdEx createdAt: z.number().optional(), updatedAt: z.number().optional(), }); - /** @internal */ export type PatchV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsItemIdRequestBody$Outbound = { @@ -122,22 +107,6 @@ export const PatchV1InstallationsIntegrationConfigurationIdResourcesResourceIdEx updatedAt: 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 PatchV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsItemIdRequestBody$ { - /** @deprecated use `PatchV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsItemIdRequestBody$inboundSchema` instead. */ - export const inboundSchema = - PatchV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsItemIdRequestBody$inboundSchema; - /** @deprecated use `PatchV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsItemIdRequestBody$outboundSchema` instead. */ - export const outboundSchema = - PatchV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsItemIdRequestBody$outboundSchema; - /** @deprecated use `PatchV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsItemIdRequestBody$Outbound` instead. */ - export type Outbound = - PatchV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsItemIdRequestBody$Outbound; -} - export function patchV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsItemIdRequestBodyToJSON( patchV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsItemIdRequestBody: PatchV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsItemIdRequestBody, @@ -149,7 +118,6 @@ export function patchV1InstallationsIntegrationConfigurationIdResourcesResourceI ), ); } - export function patchV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsItemIdRequestBodyFromJSON( jsonString: string, ): SafeParseResult< @@ -183,7 +151,6 @@ export const PatchV1InstallationsIntegrationConfigurationIdResourcesResourceIdEx "RequestBody": "requestBody", }); }); - /** @internal */ export type PatchV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsItemIdRequest$Outbound = { @@ -214,22 +181,6 @@ export const PatchV1InstallationsIntegrationConfigurationIdResourcesResourceIdEx }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PatchV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsItemIdRequest$ { - /** @deprecated use `PatchV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsItemIdRequest$inboundSchema` instead. */ - export const inboundSchema = - PatchV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsItemIdRequest$inboundSchema; - /** @deprecated use `PatchV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsItemIdRequest$outboundSchema` instead. */ - export const outboundSchema = - PatchV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsItemIdRequest$outboundSchema; - /** @deprecated use `PatchV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsItemIdRequest$Outbound` instead. */ - export type Outbound = - PatchV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsItemIdRequest$Outbound; -} - export function patchV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsItemIdRequestToJSON( patchV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsItemIdRequest: PatchV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsItemIdRequest, @@ -241,7 +192,6 @@ export function patchV1InstallationsIntegrationConfigurationIdResourcesResourceI ), ); } - export function patchV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsItemIdRequestFromJSON( jsonString: string, ): SafeParseResult< diff --git a/src/models/pauseprojectop.ts b/src/models/pauseprojectop.ts index 76185b67f..fda26a069 100644 --- a/src/models/pauseprojectop.ts +++ b/src/models/pauseprojectop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -32,7 +32,6 @@ export const PauseProjectRequest$inboundSchema: z.ZodType< teamId: z.string().optional(), slug: z.string().optional(), }); - /** @internal */ export type PauseProjectRequest$Outbound = { projectId: string; @@ -51,19 +50,6 @@ export const PauseProjectRequest$outboundSchema: z.ZodType< 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 PauseProjectRequest$ { - /** @deprecated use `PauseProjectRequest$inboundSchema` instead. */ - export const inboundSchema = PauseProjectRequest$inboundSchema; - /** @deprecated use `PauseProjectRequest$outboundSchema` instead. */ - export const outboundSchema = PauseProjectRequest$outboundSchema; - /** @deprecated use `PauseProjectRequest$Outbound` instead. */ - export type Outbound = PauseProjectRequest$Outbound; -} - export function pauseProjectRequestToJSON( pauseProjectRequest: PauseProjectRequest, ): string { @@ -71,7 +57,6 @@ export function pauseProjectRequestToJSON( PauseProjectRequest$outboundSchema.parse(pauseProjectRequest), ); } - export function pauseProjectRequestFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/postv1installationsintegrationconfigurationidresourcesresourceidexperimentationitemsop.ts b/src/models/postv1installationsintegrationconfigurationidresourcesresourceidexperimentationitemsop.ts index 53effd034..0e612524b 100644 --- a/src/models/postv1installationsintegrationconfigurationidresourcesresourceidexperimentationitemsop.ts +++ b/src/models/postv1installationsintegrationconfigurationidresourcesresourceidexperimentationitemsop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; @@ -47,22 +47,10 @@ export type PostV1InstallationsIntegrationConfigurationIdResourcesResourceIdExpe /** @internal */ export const Category$inboundSchema: z.ZodNativeEnum = z .nativeEnum(Category); - /** @internal */ export const Category$outboundSchema: z.ZodNativeEnum = Category$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Category$ { - /** @deprecated use `Category$inboundSchema` instead. */ - export const inboundSchema = Category$inboundSchema; - /** @deprecated use `Category$outboundSchema` instead. */ - export const outboundSchema = Category$outboundSchema; -} - /** @internal */ export const PostV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsItems$inboundSchema: z.ZodType< @@ -80,7 +68,6 @@ export const PostV1InstallationsIntegrationConfigurationIdResourcesResourceIdExp createdAt: z.number().optional(), updatedAt: z.number().optional(), }); - /** @internal */ export type PostV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsItems$Outbound = { @@ -113,22 +100,6 @@ export const PostV1InstallationsIntegrationConfigurationIdResourcesResourceIdExp updatedAt: 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 PostV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsItems$ { - /** @deprecated use `PostV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsItems$inboundSchema` instead. */ - export const inboundSchema = - PostV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsItems$inboundSchema; - /** @deprecated use `PostV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsItems$outboundSchema` instead. */ - export const outboundSchema = - PostV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsItems$outboundSchema; - /** @deprecated use `PostV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsItems$Outbound` instead. */ - export type Outbound = - PostV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsItems$Outbound; -} - export function postV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsItemsToJSON( postV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsItems: PostV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsItems, @@ -140,7 +111,6 @@ export function postV1InstallationsIntegrationConfigurationIdResourcesResourceId ), ); } - export function postV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsItemsFromJSON( jsonString: string, ): SafeParseResult< @@ -169,7 +139,6 @@ export const PostV1InstallationsIntegrationConfigurationIdResourcesResourceIdExp ), ), }); - /** @internal */ export type PostV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsRequestBody$Outbound = { @@ -192,22 +161,6 @@ export const PostV1InstallationsIntegrationConfigurationIdResourcesResourceIdExp ), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PostV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsRequestBody$ { - /** @deprecated use `PostV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsRequestBody$inboundSchema` instead. */ - export const inboundSchema = - PostV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsRequestBody$inboundSchema; - /** @deprecated use `PostV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsRequestBody$outboundSchema` instead. */ - export const outboundSchema = - PostV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsRequestBody$outboundSchema; - /** @deprecated use `PostV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsRequestBody$Outbound` instead. */ - export type Outbound = - PostV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsRequestBody$Outbound; -} - export function postV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsRequestBodyToJSON( postV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsRequestBody: PostV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsRequestBody, @@ -219,7 +172,6 @@ export function postV1InstallationsIntegrationConfigurationIdResourcesResourceId ), ); } - export function postV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsRequestBodyFromJSON( jsonString: string, ): SafeParseResult< @@ -252,7 +204,6 @@ export const PostV1InstallationsIntegrationConfigurationIdResourcesResourceIdExp "RequestBody": "requestBody", }); }); - /** @internal */ export type PostV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsRequest$Outbound = { @@ -281,22 +232,6 @@ export const PostV1InstallationsIntegrationConfigurationIdResourcesResourceIdExp }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PostV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsRequest$ { - /** @deprecated use `PostV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsRequest$inboundSchema` instead. */ - export const inboundSchema = - PostV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsRequest$inboundSchema; - /** @deprecated use `PostV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsRequest$outboundSchema` instead. */ - export const outboundSchema = - PostV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsRequest$outboundSchema; - /** @deprecated use `PostV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsRequest$Outbound` instead. */ - export type Outbound = - PostV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsRequest$Outbound; -} - export function postV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsRequestToJSON( postV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsRequest: PostV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsRequest, @@ -308,7 +243,6 @@ export function postV1InstallationsIntegrationConfigurationIdResourcesResourceId ), ); } - export function postV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationItemsRequestFromJSON( jsonString: string, ): SafeParseResult< diff --git a/src/models/putfirewallconfigop.ts b/src/models/putfirewallconfigop.ts index e5dc352ef..6259a5a3e 100644 --- a/src/models/putfirewallconfigop.ts +++ b/src/models/putfirewallconfigop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; @@ -909,29 +909,16 @@ export type PutFirewallConfigResponseBody = { 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; @@ -945,23 +932,9 @@ export const Sd$outboundSchema: z.ZodType = z 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 { @@ -976,29 +949,16 @@ export function sdFromJSON( 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; @@ -1012,23 +972,9 @@ export const Ma$outboundSchema: z.ZodType = z 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 { @@ -1044,32 +990,17 @@ 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; @@ -1083,23 +1014,9 @@ export const Lfi$outboundSchema: z.ZodType = z 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 { @@ -1114,32 +1031,17 @@ export function lfiFromJSON( 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; @@ -1153,23 +1055,9 @@ export const Rfi$outboundSchema: z.ZodType = z 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 { @@ -1184,32 +1072,17 @@ export function rfiFromJSON( 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; @@ -1223,23 +1096,9 @@ export const Rce$outboundSchema: z.ZodType = z 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 { @@ -1255,26 +1114,12 @@ export const PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction$inboundSche 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({ @@ -1282,7 +1127,6 @@ export const Php$inboundSchema: z.ZodType = z action: PutFirewallConfigSecurityRequestRequestBodyCrsPhpAction$inboundSchema, }); - /** @internal */ export type Php$Outbound = { active: boolean; @@ -1297,23 +1141,9 @@ export const Php$outboundSchema: z.ZodType = z 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 { @@ -1329,26 +1159,12 @@ export const PutFirewallConfigSecurityRequestRequestBodyCrsGenAction$inboundSche 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({ @@ -1356,7 +1172,6 @@ export const Gen$inboundSchema: z.ZodType = z action: PutFirewallConfigSecurityRequestRequestBodyCrsGenAction$inboundSchema, }); - /** @internal */ export type Gen$Outbound = { active: boolean; @@ -1371,23 +1186,9 @@ export const Gen$outboundSchema: z.ZodType = z 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 { @@ -1403,26 +1204,12 @@ export const PutFirewallConfigSecurityRequestRequestBodyCrsXssAction$inboundSche 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({ @@ -1430,7 +1217,6 @@ export const Xss$inboundSchema: z.ZodType = z action: PutFirewallConfigSecurityRequestRequestBodyCrsXssAction$inboundSchema, }); - /** @internal */ export type Xss$Outbound = { active: boolean; @@ -1445,23 +1231,9 @@ export const Xss$outboundSchema: z.ZodType = z 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 { @@ -1477,26 +1249,12 @@ export const PutFirewallConfigSecurityRequestRequestBodyCrsSqliAction$inboundSch 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({ @@ -1504,7 +1262,6 @@ export const Sqli$inboundSchema: z.ZodType = z action: PutFirewallConfigSecurityRequestRequestBodyCrsSqliAction$inboundSchema, }); - /** @internal */ export type Sqli$Outbound = { active: boolean; @@ -1519,23 +1276,9 @@ export const Sqli$outboundSchema: z.ZodType = 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 { @@ -1551,32 +1294,17 @@ export const PutFirewallConfigSecurityRequestRequestBodyCrsSfAction$inboundSchem 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; @@ -1591,23 +1319,9 @@ export const Sf$outboundSchema: z.ZodType = z 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 { @@ -1623,26 +1337,12 @@ export const PutFirewallConfigSecurityRequestRequestBodyCrsJavaAction$inboundSch 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({ @@ -1650,7 +1350,6 @@ export const Java$inboundSchema: z.ZodType = z action: PutFirewallConfigSecurityRequestRequestBodyCrsJavaAction$inboundSchema, }); - /** @internal */ export type Java$Outbound = { active: boolean; @@ -1665,23 +1364,9 @@ export const Java$outboundSchema: z.ZodType = 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 { @@ -1707,7 +1392,6 @@ export const Crs$inboundSchema: z.ZodType = z sf: z.lazy(() => Sf$inboundSchema).optional(), java: z.lazy(() => Java$inboundSchema).optional(), }); - /** @internal */ export type Crs$Outbound = { sd?: Sd$Outbound | undefined; @@ -1739,23 +1423,9 @@ export const Crs$outboundSchema: z.ZodType = z 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 { @@ -1770,44 +1440,19 @@ export function crsFromJSON( 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 Value$inboundSchema: z.ZodType = z .union([z.string(), z.array(z.string()), z.number()]); - /** @internal */ export type Value$Outbound = string | Array | number; @@ -1818,23 +1463,9 @@ export const Value$outboundSchema: z.ZodType< Value > = 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 Value$ { - /** @deprecated use `Value$inboundSchema` instead. */ - export const inboundSchema = Value$inboundSchema; - /** @deprecated use `Value$outboundSchema` instead. */ - export const outboundSchema = Value$outboundSchema; - /** @deprecated use `Value$Outbound` instead. */ - export type Outbound = Value$Outbound; -} - export function valueToJSON(value: Value): string { return JSON.stringify(Value$outboundSchema.parse(value)); } - export function valueFromJSON( jsonString: string, ): SafeParseResult { @@ -1857,7 +1488,6 @@ export const Conditions$inboundSchema: z.ZodType< key: z.string().optional(), value: z.union([z.string(), z.array(z.string()), z.number()]).optional(), }); - /** @internal */ export type Conditions$Outbound = { type: string; @@ -1880,23 +1510,9 @@ export const Conditions$outboundSchema: z.ZodType< 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 { @@ -1915,7 +1531,6 @@ export const ConditionGroup$inboundSchema: z.ZodType< > = z.object({ conditions: z.array(z.lazy(() => Conditions$inboundSchema)), }); - /** @internal */ export type ConditionGroup$Outbound = { conditions: Array; @@ -1930,23 +1545,9 @@ export const ConditionGroup$outboundSchema: z.ZodType< 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 { @@ -1964,7 +1565,6 @@ export const PutFirewallConfigSecurityRequestRequestBodyRulesActionAction$inboun > = z.nativeEnum( PutFirewallConfigSecurityRequestRequestBodyRulesActionAction, ); - /** @internal */ export const PutFirewallConfigSecurityRequestRequestBodyRulesActionAction$outboundSchema: z.ZodNativeEnum< @@ -1972,65 +1572,27 @@ export const PutFirewallConfigSecurityRequestRequestBodyRulesActionAction$outbou > = 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; @@ -2041,25 +1603,11 @@ export const RateLimitAction$outboundSchema: z.ZodType< 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 { @@ -2082,7 +1630,6 @@ export const RateLimit1$inboundSchema: z.ZodType< keys: z.array(z.string()), action: z.nullable(z.union([Action1$inboundSchema, z.any()])).optional(), }); - /** @internal */ export type RateLimit1$Outbound = { algo: string; @@ -2105,23 +1652,9 @@ export const RateLimit1$outboundSchema: z.ZodType< 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 { @@ -2138,7 +1671,6 @@ export const RateLimit$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.union([z.lazy(() => RateLimit1$inboundSchema), z.any()]); - /** @internal */ export type RateLimit$Outbound = RateLimit1$Outbound | any; @@ -2149,23 +1681,9 @@ export const RateLimit$outboundSchema: z.ZodType< 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 { @@ -2185,7 +1703,6 @@ export const Redirect1$inboundSchema: z.ZodType< location: z.string(), permanent: z.boolean(), }); - /** @internal */ export type Redirect1$Outbound = { location: string; @@ -2202,23 +1719,9 @@ export const Redirect1$outboundSchema: z.ZodType< 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 { @@ -2235,7 +1738,6 @@ export const Redirect$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.union([z.lazy(() => Redirect1$inboundSchema), z.any()]); - /** @internal */ export type Redirect$Outbound = Redirect1$Outbound | any; @@ -2246,23 +1748,9 @@ export const Redirect$outboundSchema: z.ZodType< 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 { @@ -2290,7 +1778,6 @@ export const Mitigate$inboundSchema: z.ZodType< actionDuration: z.nullable(z.string()).optional(), bypassSystem: z.nullable(z.boolean()).optional(), }); - /** @internal */ export type Mitigate$Outbound = { action: string; @@ -2318,23 +1805,9 @@ export const Mitigate$outboundSchema: z.ZodType< bypassSystem: z.nullable(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 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 { @@ -2354,7 +1827,6 @@ export const PutFirewallConfigSecurityRequestRequestBodyRulesAction$inboundSchem > = z.object({ mitigate: z.lazy(() => Mitigate$inboundSchema).optional(), }); - /** @internal */ export type PutFirewallConfigSecurityRequestRequestBodyRulesAction$Outbound = { mitigate?: Mitigate$Outbound | undefined; @@ -2370,22 +1842,6 @@ export const PutFirewallConfigSecurityRequestRequestBodyRulesAction$outboundSche 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, @@ -2396,7 +1852,6 @@ export function putFirewallConfigSecurityRequestRequestBodyRulesActionToJSON( ), ); } - export function putFirewallConfigSecurityRequestRequestBodyRulesActionFromJSON( jsonString: string, ): SafeParseResult< @@ -2427,7 +1882,6 @@ export const PutFirewallConfigRules$inboundSchema: z.ZodType< PutFirewallConfigSecurityRequestRequestBodyRulesAction$inboundSchema ), }); - /** @internal */ export type PutFirewallConfigRules$Outbound = { id?: string | undefined; @@ -2454,19 +1908,6 @@ export const PutFirewallConfigRules$outboundSchema: z.ZodType< ), }); -/** - * @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 { @@ -2474,7 +1915,6 @@ export function putFirewallConfigRulesToJSON( PutFirewallConfigRules$outboundSchema.parse(putFirewallConfigRules), ); } - export function putFirewallConfigRulesFromJSON( jsonString: string, ): SafeParseResult { @@ -2489,25 +1929,11 @@ export function putFirewallConfigRulesFromJSON( 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({ @@ -2517,7 +1943,6 @@ export const Ips$inboundSchema: z.ZodType = z notes: z.string().optional(), action: PutFirewallConfigSecurityRequestRequestBodyIpsAction$inboundSchema, }); - /** @internal */ export type Ips$Outbound = { id?: string | undefined; @@ -2537,23 +1962,9 @@ export const Ips$outboundSchema: z.ZodType = z 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 { @@ -2577,7 +1988,6 @@ export const PutFirewallConfigRequestBody$inboundSchema: z.ZodType< ips: z.array(z.lazy(() => Ips$inboundSchema)).optional(), botIdEnabled: z.boolean().optional(), }); - /** @internal */ export type PutFirewallConfigRequestBody$Outbound = { firewallEnabled: boolean; @@ -2603,19 +2013,6 @@ export const PutFirewallConfigRequestBody$outboundSchema: z.ZodType< botIdEnabled: 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 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 { @@ -2625,7 +2022,6 @@ export function putFirewallConfigRequestBodyToJSON( ), ); } - export function putFirewallConfigRequestBodyFromJSON( jsonString: string, ): SafeParseResult { @@ -2651,7 +2047,6 @@ export const PutFirewallConfigRequest$inboundSchema: z.ZodType< "RequestBody": "requestBody", }); }); - /** @internal */ export type PutFirewallConfigRequest$Outbound = { projectId: string; @@ -2676,19 +2071,6 @@ export const PutFirewallConfigRequest$outboundSchema: z.ZodType< }); }); -/** - * @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 { @@ -2696,7 +2078,6 @@ export function putFirewallConfigRequestToJSON( PutFirewallConfigRequest$outboundSchema.parse(putFirewallConfigRequest), ); } - export function putFirewallConfigRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -2714,7 +2095,6 @@ export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActi > = z.nativeEnum( PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSdAction, ); - /** @internal */ export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSdAction$outboundSchema: z.ZodNativeEnum< @@ -2722,19 +2102,6 @@ export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActi > = 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, @@ -2745,7 +2112,6 @@ export const PutFirewallConfigSd$inboundSchema: z.ZodType< action: PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSdAction$inboundSchema, }); - /** @internal */ export type PutFirewallConfigSd$Outbound = { active: boolean; @@ -2763,19 +2129,6 @@ export const PutFirewallConfigSd$outboundSchema: z.ZodType< 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 { @@ -2783,7 +2136,6 @@ export function putFirewallConfigSdToJSON( PutFirewallConfigSd$outboundSchema.parse(putFirewallConfigSd), ); } - export function putFirewallConfigSdFromJSON( jsonString: string, ): SafeParseResult { @@ -2801,7 +2153,6 @@ export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActi > = z.nativeEnum( PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsMaAction, ); - /** @internal */ export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsMaAction$outboundSchema: z.ZodNativeEnum< @@ -2809,19 +2160,6 @@ export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActi > = 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, @@ -2832,7 +2170,6 @@ export const PutFirewallConfigMa$inboundSchema: z.ZodType< action: PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsMaAction$inboundSchema, }); - /** @internal */ export type PutFirewallConfigMa$Outbound = { active: boolean; @@ -2850,19 +2187,6 @@ export const PutFirewallConfigMa$outboundSchema: z.ZodType< 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 { @@ -2870,7 +2194,6 @@ export function putFirewallConfigMaToJSON( PutFirewallConfigMa$outboundSchema.parse(putFirewallConfigMa), ); } - export function putFirewallConfigMaFromJSON( jsonString: string, ): SafeParseResult { @@ -2886,25 +2209,11 @@ export const PutFirewallConfigSecurityResponse200ApplicationJSONAction$inboundSc 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; -} + > = PutFirewallConfigSecurityResponse200ApplicationJSONAction$inboundSchema; /** @internal */ export const PutFirewallConfigLfi$inboundSchema: z.ZodType< @@ -2916,7 +2225,6 @@ export const PutFirewallConfigLfi$inboundSchema: z.ZodType< action: PutFirewallConfigSecurityResponse200ApplicationJSONAction$inboundSchema, }); - /** @internal */ export type PutFirewallConfigLfi$Outbound = { active: boolean; @@ -2934,19 +2242,6 @@ export const PutFirewallConfigLfi$outboundSchema: z.ZodType< 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 { @@ -2954,7 +2249,6 @@ export function putFirewallConfigLfiToJSON( PutFirewallConfigLfi$outboundSchema.parse(putFirewallConfigLfi), ); } - export function putFirewallConfigLfiFromJSON( jsonString: string, ): SafeParseResult { @@ -2972,7 +2266,6 @@ export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActi > = z.nativeEnum( PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction, ); - /** @internal */ export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction$outboundSchema: z.ZodNativeEnum< @@ -2980,19 +2273,6 @@ export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActi > = 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, @@ -3003,7 +2283,6 @@ export const PutFirewallConfigRfi$inboundSchema: z.ZodType< action: PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyAction$inboundSchema, }); - /** @internal */ export type PutFirewallConfigRfi$Outbound = { active: boolean; @@ -3021,19 +2300,6 @@ export const PutFirewallConfigRfi$outboundSchema: z.ZodType< 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 { @@ -3041,7 +2307,6 @@ export function putFirewallConfigRfiToJSON( PutFirewallConfigRfi$outboundSchema.parse(putFirewallConfigRfi), ); } - export function putFirewallConfigRfiFromJSON( jsonString: string, ): SafeParseResult { @@ -3059,7 +2324,6 @@ export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActi > = z.nativeEnum( PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveAction, ); - /** @internal */ export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveAction$outboundSchema: z.ZodNativeEnum< @@ -3067,19 +2331,6 @@ export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActi > = 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, @@ -3090,7 +2341,6 @@ export const PutFirewallConfigRce$inboundSchema: z.ZodType< action: PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveAction$inboundSchema, }); - /** @internal */ export type PutFirewallConfigRce$Outbound = { active: boolean; @@ -3108,19 +2358,6 @@ export const PutFirewallConfigRce$outboundSchema: z.ZodType< 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 { @@ -3128,7 +2365,6 @@ export function putFirewallConfigRceToJSON( PutFirewallConfigRce$outboundSchema.parse(putFirewallConfigRce), ); } - export function putFirewallConfigRceFromJSON( jsonString: string, ): SafeParseResult { @@ -3146,7 +2382,6 @@ export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActi > = z.nativeEnum( PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsAction, ); - /** @internal */ export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsAction$outboundSchema: z.ZodNativeEnum< @@ -3154,19 +2389,6 @@ export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActi > = 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, @@ -3177,7 +2399,6 @@ export const PutFirewallConfigPhp$inboundSchema: z.ZodType< action: PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsAction$inboundSchema, }); - /** @internal */ export type PutFirewallConfigPhp$Outbound = { active: boolean; @@ -3195,19 +2416,6 @@ export const PutFirewallConfigPhp$outboundSchema: z.ZodType< 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 { @@ -3215,7 +2423,6 @@ export function putFirewallConfigPhpToJSON( PutFirewallConfigPhp$outboundSchema.parse(putFirewallConfigPhp), ); } - export function putFirewallConfigPhpFromJSON( jsonString: string, ): SafeParseResult { @@ -3233,7 +2440,6 @@ export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActi > = z.nativeEnum( PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsGenAction, ); - /** @internal */ export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsGenAction$outboundSchema: z.ZodNativeEnum< @@ -3241,19 +2447,6 @@ export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActi > = 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, @@ -3264,7 +2457,6 @@ export const PutFirewallConfigGen$inboundSchema: z.ZodType< action: PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsGenAction$inboundSchema, }); - /** @internal */ export type PutFirewallConfigGen$Outbound = { active: boolean; @@ -3282,19 +2474,6 @@ export const PutFirewallConfigGen$outboundSchema: z.ZodType< 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 { @@ -3302,7 +2481,6 @@ export function putFirewallConfigGenToJSON( PutFirewallConfigGen$outboundSchema.parse(putFirewallConfigGen), ); } - export function putFirewallConfigGenFromJSON( jsonString: string, ): SafeParseResult { @@ -3320,7 +2498,6 @@ export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActi > = z.nativeEnum( PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsXssAction, ); - /** @internal */ export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsXssAction$outboundSchema: z.ZodNativeEnum< @@ -3328,19 +2505,6 @@ export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActi > = 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, @@ -3351,7 +2515,6 @@ export const PutFirewallConfigXss$inboundSchema: z.ZodType< action: PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsXssAction$inboundSchema, }); - /** @internal */ export type PutFirewallConfigXss$Outbound = { active: boolean; @@ -3369,19 +2532,6 @@ export const PutFirewallConfigXss$outboundSchema: z.ZodType< 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 { @@ -3389,7 +2539,6 @@ export function putFirewallConfigXssToJSON( PutFirewallConfigXss$outboundSchema.parse(putFirewallConfigXss), ); } - export function putFirewallConfigXssFromJSON( jsonString: string, ): SafeParseResult { @@ -3407,7 +2556,6 @@ export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActi > = z.nativeEnum( PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSqliAction, ); - /** @internal */ export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSqliAction$outboundSchema: z.ZodNativeEnum< @@ -3415,19 +2563,6 @@ export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActi > = 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, @@ -3438,7 +2573,6 @@ export const PutFirewallConfigSqli$inboundSchema: z.ZodType< action: PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSqliAction$inboundSchema, }); - /** @internal */ export type PutFirewallConfigSqli$Outbound = { active: boolean; @@ -3456,19 +2590,6 @@ export const PutFirewallConfigSqli$outboundSchema: z.ZodType< 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 { @@ -3476,7 +2597,6 @@ export function putFirewallConfigSqliToJSON( PutFirewallConfigSqli$outboundSchema.parse(putFirewallConfigSqli), ); } - export function putFirewallConfigSqliFromJSON( jsonString: string, ): SafeParseResult { @@ -3494,7 +2614,6 @@ export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActi > = z.nativeEnum( PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSfAction, ); - /** @internal */ export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSfAction$outboundSchema: z.ZodNativeEnum< @@ -3502,19 +2621,6 @@ export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActi > = 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, @@ -3525,7 +2631,6 @@ export const PutFirewallConfigSf$inboundSchema: z.ZodType< action: PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsSfAction$inboundSchema, }); - /** @internal */ export type PutFirewallConfigSf$Outbound = { active: boolean; @@ -3543,19 +2648,6 @@ export const PutFirewallConfigSf$outboundSchema: z.ZodType< 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 { @@ -3563,7 +2655,6 @@ export function putFirewallConfigSfToJSON( PutFirewallConfigSf$outboundSchema.parse(putFirewallConfigSf), ); } - export function putFirewallConfigSfFromJSON( jsonString: string, ): SafeParseResult { @@ -3581,7 +2672,6 @@ export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActi > = z.nativeEnum( PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsJavaAction, ); - /** @internal */ export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsJavaAction$outboundSchema: z.ZodNativeEnum< @@ -3589,19 +2679,6 @@ export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActi > = 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, @@ -3612,7 +2689,6 @@ export const PutFirewallConfigJava$inboundSchema: z.ZodType< action: PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveCrsJavaAction$inboundSchema, }); - /** @internal */ export type PutFirewallConfigJava$Outbound = { active: boolean; @@ -3630,19 +2706,6 @@ export const PutFirewallConfigJava$outboundSchema: z.ZodType< 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 { @@ -3650,7 +2713,6 @@ export function putFirewallConfigJavaToJSON( PutFirewallConfigJava$outboundSchema.parse(putFirewallConfigJava), ); } - export function putFirewallConfigJavaFromJSON( jsonString: string, ): SafeParseResult { @@ -3679,7 +2741,6 @@ export const PutFirewallConfigCrs$inboundSchema: z.ZodType< sf: z.lazy(() => PutFirewallConfigSf$inboundSchema), java: z.lazy(() => PutFirewallConfigJava$inboundSchema), }); - /** @internal */ export type PutFirewallConfigCrs$Outbound = { sd: PutFirewallConfigSd$Outbound; @@ -3714,19 +2775,6 @@ export const PutFirewallConfigCrs$outboundSchema: z.ZodType< 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 { @@ -3734,7 +2782,6 @@ export function putFirewallConfigCrsToJSON( PutFirewallConfigCrs$outboundSchema.parse(putFirewallConfigCrs), ); } - export function putFirewallConfigCrsFromJSON( jsonString: string, ): SafeParseResult { @@ -3749,51 +2796,26 @@ export function putFirewallConfigCrsFromJSON( 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 PutFirewallConfigValue$inboundSchema: z.ZodType< PutFirewallConfigValue, z.ZodTypeDef, unknown > = z.union([z.string(), z.number(), z.array(z.string())]); - /** @internal */ export type PutFirewallConfigValue$Outbound = string | number | Array; @@ -3804,19 +2826,6 @@ export const PutFirewallConfigValue$outboundSchema: z.ZodType< PutFirewallConfigValue > = 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 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 { @@ -3824,7 +2833,6 @@ export function putFirewallConfigValueToJSON( PutFirewallConfigValue$outboundSchema.parse(putFirewallConfigValue), ); } - export function putFirewallConfigValueFromJSON( jsonString: string, ): SafeParseResult { @@ -3847,7 +2855,6 @@ export const PutFirewallConfigConditions$inboundSchema: z.ZodType< key: z.string().optional(), value: z.union([z.string(), z.number(), z.array(z.string())]).optional(), }); - /** @internal */ export type PutFirewallConfigConditions$Outbound = { type: string; @@ -3870,19 +2877,6 @@ export const PutFirewallConfigConditions$outboundSchema: z.ZodType< 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 { @@ -3892,7 +2886,6 @@ export function putFirewallConfigConditionsToJSON( ), ); } - export function putFirewallConfigConditionsFromJSON( jsonString: string, ): SafeParseResult { @@ -3911,7 +2904,6 @@ export const PutFirewallConfigConditionGroup$inboundSchema: z.ZodType< > = z.object({ conditions: z.array(z.lazy(() => PutFirewallConfigConditions$inboundSchema)), }); - /** @internal */ export type PutFirewallConfigConditionGroup$Outbound = { conditions: Array; @@ -3926,19 +2918,6 @@ export const PutFirewallConfigConditionGroup$outboundSchema: z.ZodType< 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 { @@ -3948,7 +2927,6 @@ export function putFirewallConfigConditionGroupToJSON( ), ); } - export function putFirewallConfigConditionGroupFromJSON( jsonString: string, ): SafeParseResult { @@ -3966,7 +2944,6 @@ export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActi > = z.nativeEnum( PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesAction, ); - /** @internal */ export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesAction$outboundSchema: z.ZodNativeEnum< @@ -3974,40 +2951,15 @@ export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActi > = 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< @@ -4015,7 +2967,6 @@ export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActi > = z.nativeEnum( PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesActionAction, ); - /** @internal */ export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesActionAction$outboundSchema: z.ZodNativeEnum< @@ -4023,19 +2974,6 @@ export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActi > = 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, @@ -4050,7 +2988,6 @@ export const PutFirewallConfigRateLimit$inboundSchema: z.ZodType< PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveRulesActionAction$inboundSchema, ).optional(), }); - /** @internal */ export type PutFirewallConfigRateLimit$Outbound = { algo: string; @@ -4075,19 +3012,6 @@ export const PutFirewallConfigRateLimit$outboundSchema: z.ZodType< ).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 { @@ -4095,7 +3019,6 @@ export function putFirewallConfigRateLimitToJSON( PutFirewallConfigRateLimit$outboundSchema.parse(putFirewallConfigRateLimit), ); } - export function putFirewallConfigRateLimitFromJSON( jsonString: string, ): SafeParseResult { @@ -4115,7 +3038,6 @@ export const PutFirewallConfigRedirect$inboundSchema: z.ZodType< location: z.string(), permanent: z.boolean(), }); - /** @internal */ export type PutFirewallConfigRedirect$Outbound = { location: string; @@ -4132,19 +3054,6 @@ export const PutFirewallConfigRedirect$outboundSchema: z.ZodType< 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 { @@ -4152,7 +3061,6 @@ export function putFirewallConfigRedirectToJSON( PutFirewallConfigRedirect$outboundSchema.parse(putFirewallConfigRedirect), ); } - export function putFirewallConfigRedirectFromJSON( jsonString: string, ): SafeParseResult { @@ -4178,7 +3086,6 @@ export const PutFirewallConfigMitigate$inboundSchema: z.ZodType< actionDuration: z.nullable(z.string()).optional(), bypassSystem: z.nullable(z.boolean()).optional(), }); - /** @internal */ export type PutFirewallConfigMitigate$Outbound = { action: string; @@ -4204,19 +3111,6 @@ export const PutFirewallConfigMitigate$outboundSchema: z.ZodType< bypassSystem: z.nullable(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 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 { @@ -4224,7 +3118,6 @@ export function putFirewallConfigMitigateToJSON( PutFirewallConfigMitigate$outboundSchema.parse(putFirewallConfigMitigate), ); } - export function putFirewallConfigMitigateFromJSON( jsonString: string, ): SafeParseResult { @@ -4243,7 +3136,6 @@ export const PutFirewallConfigSecurityResponseAction$inboundSchema: z.ZodType< > = z.object({ mitigate: z.lazy(() => PutFirewallConfigMitigate$inboundSchema).optional(), }); - /** @internal */ export type PutFirewallConfigSecurityResponseAction$Outbound = { mitigate?: PutFirewallConfigMitigate$Outbound | undefined; @@ -4258,21 +3150,6 @@ export const PutFirewallConfigSecurityResponseAction$outboundSchema: z.ZodType< 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, @@ -4283,7 +3160,6 @@ export function putFirewallConfigSecurityResponseActionToJSON( ), ); } - export function putFirewallConfigSecurityResponseActionFromJSON( jsonString: string, ): SafeParseResult< @@ -4315,7 +3191,6 @@ export const PutFirewallConfigSecurityRules$inboundSchema: z.ZodType< ), action: z.lazy(() => PutFirewallConfigSecurityResponseAction$inboundSchema), }); - /** @internal */ export type PutFirewallConfigSecurityRules$Outbound = { id: string; @@ -4342,19 +3217,6 @@ export const PutFirewallConfigSecurityRules$outboundSchema: z.ZodType< 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 PutFirewallConfigSecurityRules$ { - /** @deprecated use `PutFirewallConfigSecurityRules$inboundSchema` instead. */ - export const inboundSchema = PutFirewallConfigSecurityRules$inboundSchema; - /** @deprecated use `PutFirewallConfigSecurityRules$outboundSchema` instead. */ - export const outboundSchema = PutFirewallConfigSecurityRules$outboundSchema; - /** @deprecated use `PutFirewallConfigSecurityRules$Outbound` instead. */ - export type Outbound = PutFirewallConfigSecurityRules$Outbound; -} - export function putFirewallConfigSecurityRulesToJSON( putFirewallConfigSecurityRules: PutFirewallConfigSecurityRules, ): string { @@ -4364,7 +3226,6 @@ export function putFirewallConfigSecurityRulesToJSON( ), ); } - export function putFirewallConfigSecurityRulesFromJSON( jsonString: string, ): SafeParseResult { @@ -4379,25 +3240,11 @@ export function putFirewallConfigSecurityRulesFromJSON( 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, @@ -4410,7 +3257,6 @@ export const PutFirewallConfigIps$inboundSchema: z.ZodType< notes: z.string().optional(), action: PutFirewallConfigSecurityResponse200Action$inboundSchema, }); - /** @internal */ export type PutFirewallConfigIps$Outbound = { id: string; @@ -4433,19 +3279,6 @@ export const PutFirewallConfigIps$outboundSchema: z.ZodType< 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 { @@ -4453,7 +3286,6 @@ export function putFirewallConfigIpsToJSON( PutFirewallConfigIps$outboundSchema.parse(putFirewallConfigIps), ); } - export function putFirewallConfigIpsFromJSON( jsonString: string, ): SafeParseResult { @@ -4470,7 +3302,6 @@ export const PutFirewallConfigChanges$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({}); - /** @internal */ export type PutFirewallConfigChanges$Outbound = {}; @@ -4481,19 +3312,6 @@ export const PutFirewallConfigChanges$outboundSchema: z.ZodType< 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 { @@ -4501,7 +3319,6 @@ export function putFirewallConfigChangesToJSON( PutFirewallConfigChanges$outboundSchema.parse(putFirewallConfigChanges), ); } - export function putFirewallConfigChangesFromJSON( jsonString: string, ): SafeParseResult { @@ -4519,7 +3336,6 @@ export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActi > = z.nativeEnum( PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveManagedRulesAction, ); - /** @internal */ export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveManagedRulesAction$outboundSchema: z.ZodNativeEnum< @@ -4527,19 +3343,6 @@ export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActi > = PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveManagedRulesAction$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveManagedRulesAction$ { - /** @deprecated use `PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveManagedRulesAction$inboundSchema` instead. */ - export const inboundSchema = - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveManagedRulesAction$inboundSchema; - /** @deprecated use `PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveManagedRulesAction$outboundSchema` instead. */ - export const outboundSchema = - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveManagedRulesAction$outboundSchema; -} - /** @internal */ export const PutFirewallConfigBotProtection$inboundSchema: z.ZodType< PutFirewallConfigBotProtection, @@ -4554,7 +3357,6 @@ export const PutFirewallConfigBotProtection$inboundSchema: z.ZodType< userId: z.string().optional(), username: z.string().optional(), }); - /** @internal */ export type PutFirewallConfigBotProtection$Outbound = { active: boolean; @@ -4579,19 +3381,6 @@ export const PutFirewallConfigBotProtection$outboundSchema: z.ZodType< 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 PutFirewallConfigBotProtection$ { - /** @deprecated use `PutFirewallConfigBotProtection$inboundSchema` instead. */ - export const inboundSchema = PutFirewallConfigBotProtection$inboundSchema; - /** @deprecated use `PutFirewallConfigBotProtection$outboundSchema` instead. */ - export const outboundSchema = PutFirewallConfigBotProtection$outboundSchema; - /** @deprecated use `PutFirewallConfigBotProtection$Outbound` instead. */ - export type Outbound = PutFirewallConfigBotProtection$Outbound; -} - export function putFirewallConfigBotProtectionToJSON( putFirewallConfigBotProtection: PutFirewallConfigBotProtection, ): string { @@ -4601,7 +3390,6 @@ export function putFirewallConfigBotProtectionToJSON( ), ); } - export function putFirewallConfigBotProtectionFromJSON( jsonString: string, ): SafeParseResult { @@ -4619,7 +3407,6 @@ export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActi > = z.nativeEnum( PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveManagedRulesAiBotsAction, ); - /** @internal */ export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveManagedRulesAiBotsAction$outboundSchema: z.ZodNativeEnum< @@ -4627,19 +3414,6 @@ export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActi > = PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveManagedRulesAiBotsAction$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveManagedRulesAiBotsAction$ { - /** @deprecated use `PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveManagedRulesAiBotsAction$inboundSchema` instead. */ - export const inboundSchema = - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveManagedRulesAiBotsAction$inboundSchema; - /** @deprecated use `PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveManagedRulesAiBotsAction$outboundSchema` instead. */ - export const outboundSchema = - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveManagedRulesAiBotsAction$outboundSchema; -} - /** @internal */ export const PutFirewallConfigAiBots$inboundSchema: z.ZodType< PutFirewallConfigAiBots, @@ -4654,7 +3428,6 @@ export const PutFirewallConfigAiBots$inboundSchema: z.ZodType< userId: z.string().optional(), username: z.string().optional(), }); - /** @internal */ export type PutFirewallConfigAiBots$Outbound = { active: boolean; @@ -4679,19 +3452,6 @@ export const PutFirewallConfigAiBots$outboundSchema: z.ZodType< 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 PutFirewallConfigAiBots$ { - /** @deprecated use `PutFirewallConfigAiBots$inboundSchema` instead. */ - export const inboundSchema = PutFirewallConfigAiBots$inboundSchema; - /** @deprecated use `PutFirewallConfigAiBots$outboundSchema` instead. */ - export const outboundSchema = PutFirewallConfigAiBots$outboundSchema; - /** @deprecated use `PutFirewallConfigAiBots$Outbound` instead. */ - export type Outbound = PutFirewallConfigAiBots$Outbound; -} - export function putFirewallConfigAiBotsToJSON( putFirewallConfigAiBots: PutFirewallConfigAiBots, ): string { @@ -4699,7 +3459,6 @@ export function putFirewallConfigAiBotsToJSON( PutFirewallConfigAiBots$outboundSchema.parse(putFirewallConfigAiBots), ); } - export function putFirewallConfigAiBotsFromJSON( jsonString: string, ): SafeParseResult { @@ -4717,7 +3476,6 @@ export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActi > = z.nativeEnum( PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveManagedRulesOwaspAction, ); - /** @internal */ export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveManagedRulesOwaspAction$outboundSchema: z.ZodNativeEnum< @@ -4725,19 +3483,6 @@ export const PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActi > = PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveManagedRulesOwaspAction$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveManagedRulesOwaspAction$ { - /** @deprecated use `PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveManagedRulesOwaspAction$inboundSchema` instead. */ - export const inboundSchema = - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveManagedRulesOwaspAction$inboundSchema; - /** @deprecated use `PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveManagedRulesOwaspAction$outboundSchema` instead. */ - export const outboundSchema = - PutFirewallConfigSecurityResponse200ApplicationJSONResponseBodyActiveManagedRulesOwaspAction$outboundSchema; -} - /** @internal */ export const PutFirewallConfigOwasp$inboundSchema: z.ZodType< PutFirewallConfigOwasp, @@ -4752,7 +3497,6 @@ export const PutFirewallConfigOwasp$inboundSchema: z.ZodType< userId: z.string().optional(), username: z.string().optional(), }); - /** @internal */ export type PutFirewallConfigOwasp$Outbound = { active: boolean; @@ -4777,19 +3521,6 @@ export const PutFirewallConfigOwasp$outboundSchema: z.ZodType< 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 { @@ -4797,7 +3528,6 @@ export function putFirewallConfigOwaspToJSON( PutFirewallConfigOwasp$outboundSchema.parse(putFirewallConfigOwasp), ); } - export function putFirewallConfigOwaspFromJSON( jsonString: string, ): SafeParseResult { @@ -4824,7 +3554,6 @@ export const PutFirewallConfigManagedRules$inboundSchema: z.ZodType< "ai_bots": "aiBots", }); }); - /** @internal */ export type PutFirewallConfigManagedRules$Outbound = { bot_protection?: PutFirewallConfigBotProtection$Outbound | undefined; @@ -4849,19 +3578,6 @@ export const PutFirewallConfigManagedRules$outboundSchema: z.ZodType< }); }); -/** - * @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 { @@ -4871,7 +3587,6 @@ export function putFirewallConfigManagedRulesToJSON( ), ); } - export function putFirewallConfigManagedRulesFromJSON( jsonString: string, ): SafeParseResult { @@ -4899,7 +3614,6 @@ export const Active$inboundSchema: z.ZodType = z .optional(), botIdEnabled: z.boolean().optional(), }); - /** @internal */ export type Active$Outbound = { ownerId: string; @@ -4937,23 +3651,9 @@ export const Active$outboundSchema: z.ZodType< botIdEnabled: 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 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 { @@ -4972,7 +3672,6 @@ export const PutFirewallConfigResponseBody$inboundSchema: z.ZodType< > = z.object({ active: z.lazy(() => Active$inboundSchema), }); - /** @internal */ export type PutFirewallConfigResponseBody$Outbound = { active: Active$Outbound; @@ -4987,19 +3686,6 @@ export const PutFirewallConfigResponseBody$outboundSchema: z.ZodType< 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 { @@ -5009,7 +3695,6 @@ export function putFirewallConfigResponseBodyToJSON( ), ); } - export function putFirewallConfigResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/putv1installationsintegrationconfigurationidresourcesresourceidexperimentationedgeconfigop.ts b/src/models/putv1installationsintegrationconfigurationidresourcesresourceidexperimentationedgeconfigop.ts index 05ad113b1..e7e5cf849 100644 --- a/src/models/putv1installationsintegrationconfigurationidresourcesresourceidexperimentationedgeconfigop.ts +++ b/src/models/putv1installationsintegrationconfigurationidresourcesresourceidexperimentationedgeconfigop.ts @@ -2,9 +2,10 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; 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 { EdgeConfigItemValue, @@ -28,6 +29,16 @@ export type PutV1InstallationsIntegrationConfigurationIdResourcesResourceIdExper | undefined; }; +export const PutV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigPurpose = + { + Flags: "flags", + Experimentation: "experimentation", + } as const; +export type PutV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigPurpose = + ClosedEnum< + typeof PutV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigPurpose + >; + /** * The Edge Config was updated */ @@ -36,6 +47,9 @@ export type PutV1InstallationsIntegrationConfigurationIdResourcesResourceIdExper items: { [k: string]: EdgeConfigItemValue | null }; updatedAt: number; digest: string; + purpose?: + | PutV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigPurpose + | undefined; }; /** @internal */ @@ -47,7 +61,6 @@ export const PutV1InstallationsIntegrationConfigurationIdResourcesResourceIdExpe > = z.object({ data: z.record(z.any()), }); - /** @internal */ export type PutV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigRequestBody$Outbound = { @@ -64,22 +77,6 @@ export const PutV1InstallationsIntegrationConfigurationIdResourcesResourceIdExpe data: 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 PutV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigRequestBody$ { - /** @deprecated use `PutV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigRequestBody$inboundSchema` instead. */ - export const inboundSchema = - PutV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigRequestBody$inboundSchema; - /** @deprecated use `PutV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigRequestBody$outboundSchema` instead. */ - export const outboundSchema = - PutV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigRequestBody$outboundSchema; - /** @deprecated use `PutV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigRequestBody$Outbound` instead. */ - export type Outbound = - PutV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigRequestBody$Outbound; -} - export function putV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigRequestBodyToJSON( putV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigRequestBody: PutV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigRequestBody, @@ -91,7 +88,6 @@ export function putV1InstallationsIntegrationConfigurationIdResourcesResourceIdE ), ); } - export function putV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigRequestBodyFromJSON( jsonString: string, ): SafeParseResult< @@ -124,7 +120,6 @@ export const PutV1InstallationsIntegrationConfigurationIdResourcesResourceIdExpe "RequestBody": "requestBody", }); }); - /** @internal */ export type PutV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigRequest$Outbound = { @@ -153,22 +148,6 @@ export const PutV1InstallationsIntegrationConfigurationIdResourcesResourceIdExpe }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PutV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigRequest$ { - /** @deprecated use `PutV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigRequest$inboundSchema` instead. */ - export const inboundSchema = - PutV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigRequest$inboundSchema; - /** @deprecated use `PutV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigRequest$outboundSchema` instead. */ - export const outboundSchema = - PutV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigRequest$outboundSchema; - /** @deprecated use `PutV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigRequest$Outbound` instead. */ - export type Outbound = - PutV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigRequest$Outbound; -} - export function putV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigRequestToJSON( putV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigRequest: PutV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigRequest, @@ -180,7 +159,6 @@ export function putV1InstallationsIntegrationConfigurationIdResourcesResourceIdE ), ); } - export function putV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigRequestFromJSON( jsonString: string, ): SafeParseResult< @@ -196,6 +174,20 @@ export function putV1InstallationsIntegrationConfigurationIdResourcesResourceIdE ); } +/** @internal */ +export const PutV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigPurpose$inboundSchema: + z.ZodNativeEnum< + typeof PutV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigPurpose + > = z.nativeEnum( + PutV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigPurpose, + ); +/** @internal */ +export const PutV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigPurpose$outboundSchema: + z.ZodNativeEnum< + typeof PutV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigPurpose + > = + PutV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigPurpose$inboundSchema; + /** @internal */ export const PutV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigResponseBody$inboundSchema: z.ZodType< @@ -206,14 +198,17 @@ export const PutV1InstallationsIntegrationConfigurationIdResourcesResourceIdExpe items: z.record(z.nullable(EdgeConfigItemValue$inboundSchema)), updatedAt: z.number(), digest: z.string(), + purpose: + PutV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigPurpose$inboundSchema + .optional(), }); - /** @internal */ export type PutV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigResponseBody$Outbound = { items: { [k: string]: EdgeConfigItemValue$Outbound | null }; updatedAt: number; digest: string; + purpose?: string | undefined; }; /** @internal */ @@ -226,24 +221,11 @@ export const PutV1InstallationsIntegrationConfigurationIdResourcesResourceIdExpe items: z.record(z.nullable(EdgeConfigItemValue$outboundSchema)), updatedAt: z.number(), digest: z.string(), + purpose: + PutV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigPurpose$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 PutV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigResponseBody$ { - /** @deprecated use `PutV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigResponseBody$inboundSchema` instead. */ - export const inboundSchema = - PutV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigResponseBody$inboundSchema; - /** @deprecated use `PutV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigResponseBody$outboundSchema` instead. */ - export const outboundSchema = - PutV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigResponseBody$outboundSchema; - /** @deprecated use `PutV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigResponseBody$Outbound` instead. */ - export type Outbound = - PutV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigResponseBody$Outbound; -} - export function putV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigResponseBodyToJSON( putV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigResponseBody: PutV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigResponseBody, @@ -255,7 +237,6 @@ export function putV1InstallationsIntegrationConfigurationIdResourcesResourceIdE ), ); } - export function putV1InstallationsIntegrationConfigurationIdResourcesResourceIdExperimentationEdgeConfigResponseBodyFromJSON( jsonString: string, ): SafeParseResult< diff --git a/src/models/ratelimitnotice.ts b/src/models/ratelimitnotice.ts index 1706c3432..dde8d20a6 100644 --- a/src/models/ratelimitnotice.ts +++ b/src/models/ratelimitnotice.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -25,7 +25,6 @@ export const RateLimitNotice$inboundSchema: z.ZodType< resetMs: z.number().int(), total: z.number().int(), }); - /** @internal */ export type RateLimitNotice$Outbound = { remaining: number; @@ -46,25 +45,11 @@ export const RateLimitNotice$outboundSchema: z.ZodType< 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 { diff --git a/src/models/readaccessgroupop.ts b/src/models/readaccessgroupop.ts index 10d0472db..a589f220e 100644 --- a/src/models/readaccessgroupop.ts +++ b/src/models/readaccessgroupop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; @@ -90,7 +90,6 @@ export const ReadAccessGroupRequest$inboundSchema: z.ZodType< teamId: z.string().optional(), slug: z.string().optional(), }); - /** @internal */ export type ReadAccessGroupRequest$Outbound = { idOrName: string; @@ -109,19 +108,6 @@ export const ReadAccessGroupRequest$outboundSchema: z.ZodType< 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 { @@ -129,7 +115,6 @@ export function readAccessGroupRequestToJSON( ReadAccessGroupRequest$outboundSchema.parse(readAccessGroupRequest), ); } - export function readAccessGroupRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -144,44 +129,20 @@ export function readAccessGroupRequestFromJSON( export const ReadAccessGroupTeamPermissions$inboundSchema: z.ZodNativeEnum< typeof ReadAccessGroupTeamPermissions > = z.nativeEnum(ReadAccessGroupTeamPermissions); - /** @internal */ export const ReadAccessGroupTeamPermissions$outboundSchema: z.ZodNativeEnum< typeof ReadAccessGroupTeamPermissions > = ReadAccessGroupTeamPermissions$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ReadAccessGroupTeamPermissions$ { - /** @deprecated use `ReadAccessGroupTeamPermissions$inboundSchema` instead. */ - export const inboundSchema = ReadAccessGroupTeamPermissions$inboundSchema; - /** @deprecated use `ReadAccessGroupTeamPermissions$outboundSchema` instead. */ - export const outboundSchema = ReadAccessGroupTeamPermissions$outboundSchema; -} - /** @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, @@ -201,7 +162,6 @@ export const ReadAccessGroupResponseBody$inboundSchema: z.ZodType< projectsCount: z.number(), teamRoles: z.array(z.string()).optional(), }); - /** @internal */ export type ReadAccessGroupResponseBody$Outbound = { teamPermissions?: Array | undefined; @@ -237,19 +197,6 @@ export const ReadAccessGroupResponseBody$outboundSchema: z.ZodType< teamRoles: 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 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 { @@ -259,7 +206,6 @@ export function readAccessGroupResponseBodyToJSON( ), ); } - export function readAccessGroupResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/readaccessgroupprojectop.ts b/src/models/readaccessgroupprojectop.ts index 64ecefdd0..f45c3bb4a 100644 --- a/src/models/readaccessgroupprojectop.ts +++ b/src/models/readaccessgroupprojectop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; @@ -50,7 +50,6 @@ export const ReadAccessGroupProjectRequest$inboundSchema: z.ZodType< teamId: z.string().optional(), slug: z.string().optional(), }); - /** @internal */ export type ReadAccessGroupProjectRequest$Outbound = { accessGroupIdOrName: string; @@ -71,19 +70,6 @@ export const ReadAccessGroupProjectRequest$outboundSchema: z.ZodType< 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 { @@ -93,7 +79,6 @@ export function readAccessGroupProjectRequestToJSON( ), ); } - export function readAccessGroupProjectRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -108,23 +93,11 @@ export function readAccessGroupProjectRequestFromJSON( 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, @@ -138,7 +111,6 @@ export const ReadAccessGroupProjectResponseBody$inboundSchema: z.ZodType< createdAt: z.string(), updatedAt: z.string(), }); - /** @internal */ export type ReadAccessGroupProjectResponseBody$Outbound = { teamId: string; @@ -163,20 +135,6 @@ export const ReadAccessGroupProjectResponseBody$outboundSchema: z.ZodType< 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 { @@ -186,7 +144,6 @@ export function readAccessGroupProjectResponseBodyToJSON( ), ); } - export function readAccessGroupProjectResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/recordeventsop.ts b/src/models/recordeventsop.ts index a573d362a..8a6a1b56d 100644 --- a/src/models/recordeventsop.ts +++ b/src/models/recordeventsop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; @@ -79,42 +79,18 @@ export type RecordEventsRequest = { /** @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, @@ -127,7 +103,6 @@ export const RequestBody$inboundSchema: z.ZodType< hash: z.string(), duration: z.number().optional(), }); - /** @internal */ export type RequestBody$Outbound = { sessionId: string; @@ -150,23 +125,9 @@ export const RequestBody$outboundSchema: z.ZodType< 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 { @@ -195,7 +156,6 @@ export const RecordEventsRequest$inboundSchema: z.ZodType< "RequestBody": "requestBody", }); }); - /** @internal */ export type RecordEventsRequest$Outbound = { "x-artifact-client-ci"?: string | undefined; @@ -224,19 +184,6 @@ export const RecordEventsRequest$outboundSchema: z.ZodType< }); }); -/** - * @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 { @@ -244,7 +191,6 @@ export function recordEventsRequestToJSON( RecordEventsRequest$outboundSchema.parse(recordEventsRequest), ); } - export function recordEventsRequestFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/removebypassipop.ts b/src/models/removebypassipop.ts index 3377ea0df..66a0be388 100644 --- a/src/models/removebypassipop.ts +++ b/src/models/removebypassipop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; @@ -60,7 +60,6 @@ export const RemoveBypassIpRequestBody2$inboundSchema: z.ZodType< allSources: z.boolean().optional(), note: z.string().optional(), }); - /** @internal */ export type RemoveBypassIpRequestBody2$Outbound = { domain?: string | undefined; @@ -83,19 +82,6 @@ export const RemoveBypassIpRequestBody2$outboundSchema: z.ZodType< 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 RemoveBypassIpRequestBody2$ { - /** @deprecated use `RemoveBypassIpRequestBody2$inboundSchema` instead. */ - export const inboundSchema = RemoveBypassIpRequestBody2$inboundSchema; - /** @deprecated use `RemoveBypassIpRequestBody2$outboundSchema` instead. */ - export const outboundSchema = RemoveBypassIpRequestBody2$outboundSchema; - /** @deprecated use `RemoveBypassIpRequestBody2$Outbound` instead. */ - export type Outbound = RemoveBypassIpRequestBody2$Outbound; -} - export function removeBypassIpRequestBody2ToJSON( removeBypassIpRequestBody2: RemoveBypassIpRequestBody2, ): string { @@ -103,7 +89,6 @@ export function removeBypassIpRequestBody2ToJSON( RemoveBypassIpRequestBody2$outboundSchema.parse(removeBypassIpRequestBody2), ); } - export function removeBypassIpRequestBody2FromJSON( jsonString: string, ): SafeParseResult { @@ -126,7 +111,6 @@ export const RemoveBypassIpRequestBody1$inboundSchema: z.ZodType< allSources: z.boolean().optional(), note: z.string().optional(), }); - /** @internal */ export type RemoveBypassIpRequestBody1$Outbound = { domain: string; @@ -149,19 +133,6 @@ export const RemoveBypassIpRequestBody1$outboundSchema: z.ZodType< 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 RemoveBypassIpRequestBody1$ { - /** @deprecated use `RemoveBypassIpRequestBody1$inboundSchema` instead. */ - export const inboundSchema = RemoveBypassIpRequestBody1$inboundSchema; - /** @deprecated use `RemoveBypassIpRequestBody1$outboundSchema` instead. */ - export const outboundSchema = RemoveBypassIpRequestBody1$outboundSchema; - /** @deprecated use `RemoveBypassIpRequestBody1$Outbound` instead. */ - export type Outbound = RemoveBypassIpRequestBody1$Outbound; -} - export function removeBypassIpRequestBody1ToJSON( removeBypassIpRequestBody1: RemoveBypassIpRequestBody1, ): string { @@ -169,7 +140,6 @@ export function removeBypassIpRequestBody1ToJSON( RemoveBypassIpRequestBody1$outboundSchema.parse(removeBypassIpRequestBody1), ); } - export function removeBypassIpRequestBody1FromJSON( jsonString: string, ): SafeParseResult { @@ -189,7 +159,6 @@ export const RemoveBypassIpRequestBody$inboundSchema: z.ZodType< z.lazy(() => RemoveBypassIpRequestBody1$inboundSchema), z.lazy(() => RemoveBypassIpRequestBody2$inboundSchema), ]); - /** @internal */ export type RemoveBypassIpRequestBody$Outbound = | RemoveBypassIpRequestBody1$Outbound @@ -205,19 +174,6 @@ export const RemoveBypassIpRequestBody$outboundSchema: z.ZodType< z.lazy(() => RemoveBypassIpRequestBody2$outboundSchema), ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveBypassIpRequestBody$ { - /** @deprecated use `RemoveBypassIpRequestBody$inboundSchema` instead. */ - export const inboundSchema = RemoveBypassIpRequestBody$inboundSchema; - /** @deprecated use `RemoveBypassIpRequestBody$outboundSchema` instead. */ - export const outboundSchema = RemoveBypassIpRequestBody$outboundSchema; - /** @deprecated use `RemoveBypassIpRequestBody$Outbound` instead. */ - export type Outbound = RemoveBypassIpRequestBody$Outbound; -} - export function removeBypassIpRequestBodyToJSON( removeBypassIpRequestBody: RemoveBypassIpRequestBody, ): string { @@ -225,7 +181,6 @@ export function removeBypassIpRequestBodyToJSON( RemoveBypassIpRequestBody$outboundSchema.parse(removeBypassIpRequestBody), ); } - export function removeBypassIpRequestBodyFromJSON( jsonString: string, ): SafeParseResult { @@ -254,7 +209,6 @@ export const RemoveBypassIpRequest$inboundSchema: z.ZodType< "RequestBody": "requestBody", }); }); - /** @internal */ export type RemoveBypassIpRequest$Outbound = { projectId: string; @@ -285,19 +239,6 @@ export const RemoveBypassIpRequest$outboundSchema: z.ZodType< }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveBypassIpRequest$ { - /** @deprecated use `RemoveBypassIpRequest$inboundSchema` instead. */ - export const inboundSchema = RemoveBypassIpRequest$inboundSchema; - /** @deprecated use `RemoveBypassIpRequest$outboundSchema` instead. */ - export const outboundSchema = RemoveBypassIpRequest$outboundSchema; - /** @deprecated use `RemoveBypassIpRequest$Outbound` instead. */ - export type Outbound = RemoveBypassIpRequest$Outbound; -} - export function removeBypassIpRequestToJSON( removeBypassIpRequest: RemoveBypassIpRequest, ): string { @@ -305,7 +246,6 @@ export function removeBypassIpRequestToJSON( RemoveBypassIpRequest$outboundSchema.parse(removeBypassIpRequest), ); } - export function removeBypassIpRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -324,7 +264,6 @@ export const RemoveBypassIpResponseBody$inboundSchema: z.ZodType< > = z.object({ ok: z.boolean(), }); - /** @internal */ export type RemoveBypassIpResponseBody$Outbound = { ok: boolean; @@ -339,19 +278,6 @@ export const RemoveBypassIpResponseBody$outboundSchema: z.ZodType< ok: 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 RemoveBypassIpResponseBody$ { - /** @deprecated use `RemoveBypassIpResponseBody$inboundSchema` instead. */ - export const inboundSchema = RemoveBypassIpResponseBody$inboundSchema; - /** @deprecated use `RemoveBypassIpResponseBody$outboundSchema` instead. */ - export const outboundSchema = RemoveBypassIpResponseBody$outboundSchema; - /** @deprecated use `RemoveBypassIpResponseBody$Outbound` instead. */ - export type Outbound = RemoveBypassIpResponseBody$Outbound; -} - export function removeBypassIpResponseBodyToJSON( removeBypassIpResponseBody: RemoveBypassIpResponseBody, ): string { @@ -359,7 +285,6 @@ export function removeBypassIpResponseBodyToJSON( RemoveBypassIpResponseBody$outboundSchema.parse(removeBypassIpResponseBody), ); } - export function removeBypassIpResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/removecertop.ts b/src/models/removecertop.ts index 96b50c790..57923f41f 100644 --- a/src/models/removecertop.ts +++ b/src/models/removecertop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -34,7 +34,6 @@ export const RemoveCertRequest$inboundSchema: z.ZodType< teamId: z.string().optional(), slug: z.string().optional(), }); - /** @internal */ export type RemoveCertRequest$Outbound = { id: string; @@ -53,19 +52,6 @@ export const RemoveCertRequest$outboundSchema: z.ZodType< 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 { @@ -73,7 +59,6 @@ export function removeCertRequestToJSON( RemoveCertRequest$outboundSchema.parse(removeCertRequest), ); } - export function removeCertRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -90,7 +75,6 @@ export const RemoveCertResponseBody$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({}); - /** @internal */ export type RemoveCertResponseBody$Outbound = {}; @@ -101,19 +85,6 @@ export const RemoveCertResponseBody$outboundSchema: z.ZodType< 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 { @@ -121,7 +92,6 @@ export function removeCertResponseBodyToJSON( RemoveCertResponseBody$outboundSchema.parse(removeCertResponseBody), ); } - export function removeCertResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/removecustomenvironmentop.ts b/src/models/removecustomenvironmentop.ts index 87e4c87a7..139048cfe 100644 --- a/src/models/removecustomenvironmentop.ts +++ b/src/models/removecustomenvironmentop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; @@ -163,7 +163,6 @@ export const RemoveCustomEnvironmentRequestBody$inboundSchema: z.ZodType< > = z.object({ deleteUnassignedEnvironmentVariables: z.boolean().optional(), }); - /** @internal */ export type RemoveCustomEnvironmentRequestBody$Outbound = { deleteUnassignedEnvironmentVariables?: boolean | undefined; @@ -178,20 +177,6 @@ export const RemoveCustomEnvironmentRequestBody$outboundSchema: z.ZodType< deleteUnassignedEnvironmentVariables: 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 RemoveCustomEnvironmentRequestBody$ { - /** @deprecated use `RemoveCustomEnvironmentRequestBody$inboundSchema` instead. */ - export const inboundSchema = RemoveCustomEnvironmentRequestBody$inboundSchema; - /** @deprecated use `RemoveCustomEnvironmentRequestBody$outboundSchema` instead. */ - export const outboundSchema = - RemoveCustomEnvironmentRequestBody$outboundSchema; - /** @deprecated use `RemoveCustomEnvironmentRequestBody$Outbound` instead. */ - export type Outbound = RemoveCustomEnvironmentRequestBody$Outbound; -} - export function removeCustomEnvironmentRequestBodyToJSON( removeCustomEnvironmentRequestBody: RemoveCustomEnvironmentRequestBody, ): string { @@ -201,7 +186,6 @@ export function removeCustomEnvironmentRequestBodyToJSON( ), ); } - export function removeCustomEnvironmentRequestBodyFromJSON( jsonString: string, ): SafeParseResult { @@ -230,7 +214,6 @@ export const RemoveCustomEnvironmentRequest$inboundSchema: z.ZodType< "RequestBody": "requestBody", }); }); - /** @internal */ export type RemoveCustomEnvironmentRequest$Outbound = { idOrName: string; @@ -258,19 +241,6 @@ export const RemoveCustomEnvironmentRequest$outboundSchema: z.ZodType< }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveCustomEnvironmentRequest$ { - /** @deprecated use `RemoveCustomEnvironmentRequest$inboundSchema` instead. */ - export const inboundSchema = RemoveCustomEnvironmentRequest$inboundSchema; - /** @deprecated use `RemoveCustomEnvironmentRequest$outboundSchema` instead. */ - export const outboundSchema = RemoveCustomEnvironmentRequest$outboundSchema; - /** @deprecated use `RemoveCustomEnvironmentRequest$Outbound` instead. */ - export type Outbound = RemoveCustomEnvironmentRequest$Outbound; -} - export function removeCustomEnvironmentRequestToJSON( removeCustomEnvironmentRequest: RemoveCustomEnvironmentRequest, ): string { @@ -280,7 +250,6 @@ export function removeCustomEnvironmentRequestToJSON( ), ); } - export function removeCustomEnvironmentRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -295,47 +264,21 @@ export function removeCustomEnvironmentRequestFromJSON( export const RemoveCustomEnvironmentType$inboundSchema: z.ZodNativeEnum< typeof RemoveCustomEnvironmentType > = z.nativeEnum(RemoveCustomEnvironmentType); - /** @internal */ export const RemoveCustomEnvironmentType$outboundSchema: z.ZodNativeEnum< typeof RemoveCustomEnvironmentType > = RemoveCustomEnvironmentType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveCustomEnvironmentType$ { - /** @deprecated use `RemoveCustomEnvironmentType$inboundSchema` instead. */ - export const inboundSchema = RemoveCustomEnvironmentType$inboundSchema; - /** @deprecated use `RemoveCustomEnvironmentType$outboundSchema` instead. */ - export const outboundSchema = RemoveCustomEnvironmentType$outboundSchema; -} - /** @internal */ export const RemoveCustomEnvironmentEnvironmentType$inboundSchema: z.ZodNativeEnum = z.nativeEnum( RemoveCustomEnvironmentEnvironmentType, ); - /** @internal */ export const RemoveCustomEnvironmentEnvironmentType$outboundSchema: z.ZodNativeEnum = RemoveCustomEnvironmentEnvironmentType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveCustomEnvironmentEnvironmentType$ { - /** @deprecated use `RemoveCustomEnvironmentEnvironmentType$inboundSchema` instead. */ - export const inboundSchema = - RemoveCustomEnvironmentEnvironmentType$inboundSchema; - /** @deprecated use `RemoveCustomEnvironmentEnvironmentType$outboundSchema` instead. */ - export const outboundSchema = - RemoveCustomEnvironmentEnvironmentType$outboundSchema; -} - /** @internal */ export const RemoveCustomEnvironmentBranchMatcher$inboundSchema: z.ZodType< RemoveCustomEnvironmentBranchMatcher, @@ -345,7 +288,6 @@ export const RemoveCustomEnvironmentBranchMatcher$inboundSchema: z.ZodType< type: RemoveCustomEnvironmentEnvironmentType$inboundSchema, pattern: z.string(), }); - /** @internal */ export type RemoveCustomEnvironmentBranchMatcher$Outbound = { type: string; @@ -362,21 +304,6 @@ export const RemoveCustomEnvironmentBranchMatcher$outboundSchema: z.ZodType< 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 RemoveCustomEnvironmentBranchMatcher$ { - /** @deprecated use `RemoveCustomEnvironmentBranchMatcher$inboundSchema` instead. */ - export const inboundSchema = - RemoveCustomEnvironmentBranchMatcher$inboundSchema; - /** @deprecated use `RemoveCustomEnvironmentBranchMatcher$outboundSchema` instead. */ - export const outboundSchema = - RemoveCustomEnvironmentBranchMatcher$outboundSchema; - /** @deprecated use `RemoveCustomEnvironmentBranchMatcher$Outbound` instead. */ - export type Outbound = RemoveCustomEnvironmentBranchMatcher$Outbound; -} - export function removeCustomEnvironmentBranchMatcherToJSON( removeCustomEnvironmentBranchMatcher: RemoveCustomEnvironmentBranchMatcher, ): string { @@ -386,7 +313,6 @@ export function removeCustomEnvironmentBranchMatcherToJSON( ), ); } - export function removeCustomEnvironmentBranchMatcherFromJSON( jsonString: string, ): SafeParseResult { @@ -409,7 +335,6 @@ export const RemoveCustomEnvironmentVerification$inboundSchema: z.ZodType< value: z.string(), reason: z.string(), }); - /** @internal */ export type RemoveCustomEnvironmentVerification$Outbound = { type: string; @@ -430,21 +355,6 @@ export const RemoveCustomEnvironmentVerification$outboundSchema: z.ZodType< 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 RemoveCustomEnvironmentVerification$ { - /** @deprecated use `RemoveCustomEnvironmentVerification$inboundSchema` instead. */ - export const inboundSchema = - RemoveCustomEnvironmentVerification$inboundSchema; - /** @deprecated use `RemoveCustomEnvironmentVerification$outboundSchema` instead. */ - export const outboundSchema = - RemoveCustomEnvironmentVerification$outboundSchema; - /** @deprecated use `RemoveCustomEnvironmentVerification$Outbound` instead. */ - export type Outbound = RemoveCustomEnvironmentVerification$Outbound; -} - export function removeCustomEnvironmentVerificationToJSON( removeCustomEnvironmentVerification: RemoveCustomEnvironmentVerification, ): string { @@ -454,7 +364,6 @@ export function removeCustomEnvironmentVerificationToJSON( ), ); } - export function removeCustomEnvironmentVerificationFromJSON( jsonString: string, ): SafeParseResult { @@ -486,7 +395,6 @@ export const RemoveCustomEnvironmentDomains$inboundSchema: z.ZodType< z.lazy(() => RemoveCustomEnvironmentVerification$inboundSchema), ).optional(), }); - /** @internal */ export type RemoveCustomEnvironmentDomains$Outbound = { name: string; @@ -525,19 +433,6 @@ export const RemoveCustomEnvironmentDomains$outboundSchema: z.ZodType< ).optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RemoveCustomEnvironmentDomains$ { - /** @deprecated use `RemoveCustomEnvironmentDomains$inboundSchema` instead. */ - export const inboundSchema = RemoveCustomEnvironmentDomains$inboundSchema; - /** @deprecated use `RemoveCustomEnvironmentDomains$outboundSchema` instead. */ - export const outboundSchema = RemoveCustomEnvironmentDomains$outboundSchema; - /** @deprecated use `RemoveCustomEnvironmentDomains$Outbound` instead. */ - export type Outbound = RemoveCustomEnvironmentDomains$Outbound; -} - export function removeCustomEnvironmentDomainsToJSON( removeCustomEnvironmentDomains: RemoveCustomEnvironmentDomains, ): string { @@ -547,7 +442,6 @@ export function removeCustomEnvironmentDomainsToJSON( ), ); } - export function removeCustomEnvironmentDomainsFromJSON( jsonString: string, ): SafeParseResult { @@ -577,7 +471,6 @@ export const RemoveCustomEnvironmentResponseBody$inboundSchema: z.ZodType< createdAt: z.number(), updatedAt: z.number(), }); - /** @internal */ export type RemoveCustomEnvironmentResponseBody$Outbound = { id: string; @@ -611,21 +504,6 @@ export const RemoveCustomEnvironmentResponseBody$outboundSchema: z.ZodType< 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 RemoveCustomEnvironmentResponseBody$ { - /** @deprecated use `RemoveCustomEnvironmentResponseBody$inboundSchema` instead. */ - export const inboundSchema = - RemoveCustomEnvironmentResponseBody$inboundSchema; - /** @deprecated use `RemoveCustomEnvironmentResponseBody$outboundSchema` instead. */ - export const outboundSchema = - RemoveCustomEnvironmentResponseBody$outboundSchema; - /** @deprecated use `RemoveCustomEnvironmentResponseBody$Outbound` instead. */ - export type Outbound = RemoveCustomEnvironmentResponseBody$Outbound; -} - export function removeCustomEnvironmentResponseBodyToJSON( removeCustomEnvironmentResponseBody: RemoveCustomEnvironmentResponseBody, ): string { @@ -635,7 +513,6 @@ export function removeCustomEnvironmentResponseBodyToJSON( ), ); } - export function removeCustomEnvironmentResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/removeprojectdomainop.ts b/src/models/removeprojectdomainop.ts index bc6cc825d..bc080112b 100644 --- a/src/models/removeprojectdomainop.ts +++ b/src/models/removeprojectdomainop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; @@ -48,7 +48,6 @@ export const RemoveProjectDomainRequestBody$inboundSchema: z.ZodType< > = z.object({ removeRedirects: z.boolean().optional(), }); - /** @internal */ export type RemoveProjectDomainRequestBody$Outbound = { removeRedirects?: boolean | undefined; @@ -63,19 +62,6 @@ export const RemoveProjectDomainRequestBody$outboundSchema: z.ZodType< removeRedirects: 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 RemoveProjectDomainRequestBody$ { - /** @deprecated use `RemoveProjectDomainRequestBody$inboundSchema` instead. */ - export const inboundSchema = RemoveProjectDomainRequestBody$inboundSchema; - /** @deprecated use `RemoveProjectDomainRequestBody$outboundSchema` instead. */ - export const outboundSchema = RemoveProjectDomainRequestBody$outboundSchema; - /** @deprecated use `RemoveProjectDomainRequestBody$Outbound` instead. */ - export type Outbound = RemoveProjectDomainRequestBody$Outbound; -} - export function removeProjectDomainRequestBodyToJSON( removeProjectDomainRequestBody: RemoveProjectDomainRequestBody, ): string { @@ -85,7 +71,6 @@ export function removeProjectDomainRequestBodyToJSON( ), ); } - export function removeProjectDomainRequestBodyFromJSON( jsonString: string, ): SafeParseResult { @@ -113,7 +98,6 @@ export const RemoveProjectDomainRequest$inboundSchema: z.ZodType< "RequestBody": "requestBody", }); }); - /** @internal */ export type RemoveProjectDomainRequest$Outbound = { idOrName: string; @@ -141,19 +125,6 @@ export const RemoveProjectDomainRequest$outboundSchema: z.ZodType< }); }); -/** - * @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 { @@ -161,7 +132,6 @@ export function removeProjectDomainRequestToJSON( RemoveProjectDomainRequest$outboundSchema.parse(removeProjectDomainRequest), ); } - export function removeProjectDomainRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -178,7 +148,6 @@ export const RemoveProjectDomainResponseBody$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({}); - /** @internal */ export type RemoveProjectDomainResponseBody$Outbound = {}; @@ -189,19 +158,6 @@ export const RemoveProjectDomainResponseBody$outboundSchema: z.ZodType< 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 { @@ -211,7 +167,6 @@ export function removeProjectDomainResponseBodyToJSON( ), ); } - export function removeProjectDomainResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/removeprojectenvop.ts b/src/models/removeprojectenvop.ts index 57c42dc83..9fc212048 100644 --- a/src/models/removeprojectenvop.ts +++ b/src/models/removeprojectenvop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; @@ -1084,7 +1084,6 @@ export const RemoveProjectEnvRequest$inboundSchema: z.ZodType< teamId: z.string().optional(), slug: z.string().optional(), }); - /** @internal */ export type RemoveProjectEnvRequest$Outbound = { idOrName: string; @@ -1107,19 +1106,6 @@ export const RemoveProjectEnvRequest$outboundSchema: z.ZodType< 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 { @@ -1127,7 +1113,6 @@ export function removeProjectEnvRequestToJSON( RemoveProjectEnvRequest$outboundSchema.parse(removeProjectEnvRequest), ); } - export function removeProjectEnvRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -1142,48 +1127,20 @@ export function removeProjectEnvRequestFromJSON( 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< @@ -1194,7 +1151,6 @@ export const RemoveProjectEnvResponseBodyProjectsResponseTarget$inboundSchema: z.array(RemoveProjectEnvTargetProjectsResponse1$inboundSchema), RemoveProjectEnvTargetProjectsResponse2$inboundSchema, ]); - /** @internal */ export type RemoveProjectEnvResponseBodyProjectsResponseTarget$Outbound = | Array @@ -1211,22 +1167,6 @@ export const RemoveProjectEnvResponseBodyProjectsResponseTarget$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, @@ -1237,7 +1177,6 @@ export function removeProjectEnvResponseBodyProjectsResponseTargetToJSON( ), ); } - export function removeProjectEnvResponseBodyProjectsResponseTargetFromJSON( jsonString: string, ): SafeParseResult< @@ -1258,25 +1197,11 @@ export function removeProjectEnvResponseBodyProjectsResponseTargetFromJSON( 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< @@ -1284,7 +1209,6 @@ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONRespon > = z.nativeEnum( RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody315Type, ); - /** @internal */ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody315Type$outboundSchema: z.ZodNativeEnum< @@ -1292,19 +1216,6 @@ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONRespon > = 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< @@ -1316,7 +1227,6 @@ export const RemoveProjectEnvContentHintProjectsResponse15$inboundSchema: RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody315Type$inboundSchema, projectId: z.string(), }); - /** @internal */ export type RemoveProjectEnvContentHintProjectsResponse15$Outbound = { type: string; @@ -1335,21 +1245,6 @@ export const RemoveProjectEnvContentHintProjectsResponse15$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, @@ -1360,7 +1255,6 @@ export function removeProjectEnvContentHintProjectsResponse15ToJSON( ), ); } - export function removeProjectEnvContentHintProjectsResponse15FromJSON( jsonString: string, ): SafeParseResult< @@ -1384,7 +1278,6 @@ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONRespon > = z.nativeEnum( RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody314Type, ); - /** @internal */ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody314Type$outboundSchema: z.ZodNativeEnum< @@ -1392,19 +1285,6 @@ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONRespon > = 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< @@ -1419,7 +1299,6 @@ export const RemoveProjectEnvContentHintProjectsResponse14$inboundSchema: integrationProductId: z.string(), integrationConfigurationId: z.string(), }); - /** @internal */ export type RemoveProjectEnvContentHintProjectsResponse14$Outbound = { type: string; @@ -1444,21 +1323,6 @@ export const RemoveProjectEnvContentHintProjectsResponse14$outboundSchema: 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, @@ -1469,7 +1333,6 @@ export function removeProjectEnvContentHintProjectsResponse14ToJSON( ), ); } - export function removeProjectEnvContentHintProjectsResponse14FromJSON( jsonString: string, ): SafeParseResult< @@ -1493,7 +1356,6 @@ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONRespon > = z.nativeEnum( RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody313Type, ); - /** @internal */ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody313Type$outboundSchema: z.ZodNativeEnum< @@ -1501,19 +1363,6 @@ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONRespon > = 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< @@ -1525,7 +1374,6 @@ export const RemoveProjectEnvContentHintProjectsResponse13$inboundSchema: RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody313Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type RemoveProjectEnvContentHintProjectsResponse13$Outbound = { type: string; @@ -1544,21 +1392,6 @@ export const RemoveProjectEnvContentHintProjectsResponse13$outboundSchema: storeId: z.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, @@ -1569,7 +1402,6 @@ export function removeProjectEnvContentHintProjectsResponse13ToJSON( ), ); } - export function removeProjectEnvContentHintProjectsResponse13FromJSON( jsonString: string, ): SafeParseResult< @@ -1593,7 +1425,6 @@ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONRespon > = z.nativeEnum( RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody312Type, ); - /** @internal */ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody312Type$outboundSchema: z.ZodNativeEnum< @@ -1601,19 +1432,6 @@ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONRespon > = 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< @@ -1625,7 +1443,6 @@ export const RemoveProjectEnvContentHintProjectsResponse12$inboundSchema: RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody312Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type RemoveProjectEnvContentHintProjectsResponse12$Outbound = { type: string; @@ -1644,21 +1461,6 @@ export const RemoveProjectEnvContentHintProjectsResponse12$outboundSchema: storeId: z.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, @@ -1669,7 +1471,6 @@ export function removeProjectEnvContentHintProjectsResponse12ToJSON( ), ); } - export function removeProjectEnvContentHintProjectsResponse12FromJSON( jsonString: string, ): SafeParseResult< @@ -1693,7 +1494,6 @@ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONRespon > = z.nativeEnum( RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody311Type, ); - /** @internal */ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody311Type$outboundSchema: z.ZodNativeEnum< @@ -1701,19 +1501,6 @@ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONRespon > = 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< @@ -1725,7 +1512,6 @@ export const RemoveProjectEnvContentHintProjectsResponse11$inboundSchema: RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody311Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type RemoveProjectEnvContentHintProjectsResponse11$Outbound = { type: string; @@ -1744,21 +1530,6 @@ export const RemoveProjectEnvContentHintProjectsResponse11$outboundSchema: storeId: z.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, @@ -1769,7 +1540,6 @@ export function removeProjectEnvContentHintProjectsResponse11ToJSON( ), ); } - export function removeProjectEnvContentHintProjectsResponse11FromJSON( jsonString: string, ): SafeParseResult< @@ -1793,7 +1563,6 @@ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONRespon > = z.nativeEnum( RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody310Type, ); - /** @internal */ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody310Type$outboundSchema: z.ZodNativeEnum< @@ -1801,19 +1570,6 @@ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONRespon > = 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< @@ -1825,7 +1581,6 @@ export const RemoveProjectEnvContentHintProjectsResponse10$inboundSchema: RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody310Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type RemoveProjectEnvContentHintProjectsResponse10$Outbound = { type: string; @@ -1844,21 +1599,6 @@ export const RemoveProjectEnvContentHintProjectsResponse10$outboundSchema: storeId: z.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, @@ -1869,7 +1609,6 @@ export function removeProjectEnvContentHintProjectsResponse10ToJSON( ), ); } - export function removeProjectEnvContentHintProjectsResponse10FromJSON( jsonString: string, ): SafeParseResult< @@ -1893,7 +1632,6 @@ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONRespon > = z.nativeEnum( RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody39Type, ); - /** @internal */ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody39Type$outboundSchema: z.ZodNativeEnum< @@ -1901,19 +1639,6 @@ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONRespon > = 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< @@ -1925,7 +1650,6 @@ export const RemoveProjectEnvContentHintProjectsResponse9$inboundSchema: RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody39Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type RemoveProjectEnvContentHintProjectsResponse9$Outbound = { type: string; @@ -1944,21 +1668,6 @@ export const RemoveProjectEnvContentHintProjectsResponse9$outboundSchema: storeId: z.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, @@ -1969,7 +1678,6 @@ export function removeProjectEnvContentHintProjectsResponse9ToJSON( ), ); } - export function removeProjectEnvContentHintProjectsResponse9FromJSON( jsonString: string, ): SafeParseResult< @@ -1993,7 +1701,6 @@ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONRespon > = z.nativeEnum( RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody38Type, ); - /** @internal */ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody38Type$outboundSchema: z.ZodNativeEnum< @@ -2001,19 +1708,6 @@ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONRespon > = 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< @@ -2025,7 +1719,6 @@ export const RemoveProjectEnvContentHintProjectsResponse8$inboundSchema: RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody38Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type RemoveProjectEnvContentHintProjectsResponse8$Outbound = { type: string; @@ -2044,21 +1737,6 @@ export const RemoveProjectEnvContentHintProjectsResponse8$outboundSchema: storeId: z.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, @@ -2069,7 +1747,6 @@ export function removeProjectEnvContentHintProjectsResponse8ToJSON( ), ); } - export function removeProjectEnvContentHintProjectsResponse8FromJSON( jsonString: string, ): SafeParseResult< @@ -2093,7 +1770,6 @@ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONRespon > = z.nativeEnum( RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody37Type, ); - /** @internal */ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody37Type$outboundSchema: z.ZodNativeEnum< @@ -2101,19 +1777,6 @@ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONRespon > = 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< @@ -2125,7 +1788,6 @@ export const RemoveProjectEnvContentHintProjectsResponse7$inboundSchema: RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody37Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type RemoveProjectEnvContentHintProjectsResponse7$Outbound = { type: string; @@ -2144,21 +1806,6 @@ export const RemoveProjectEnvContentHintProjectsResponse7$outboundSchema: storeId: z.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, @@ -2169,7 +1816,6 @@ export function removeProjectEnvContentHintProjectsResponse7ToJSON( ), ); } - export function removeProjectEnvContentHintProjectsResponse7FromJSON( jsonString: string, ): SafeParseResult< @@ -2193,7 +1839,6 @@ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONRespon > = z.nativeEnum( RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody36Type, ); - /** @internal */ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody36Type$outboundSchema: z.ZodNativeEnum< @@ -2201,19 +1846,6 @@ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONRespon > = 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< @@ -2225,7 +1857,6 @@ export const RemoveProjectEnvContentHintProjectsResponse6$inboundSchema: RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody36Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type RemoveProjectEnvContentHintProjectsResponse6$Outbound = { type: string; @@ -2244,21 +1875,6 @@ export const RemoveProjectEnvContentHintProjectsResponse6$outboundSchema: storeId: z.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, @@ -2269,7 +1885,6 @@ export function removeProjectEnvContentHintProjectsResponse6ToJSON( ), ); } - export function removeProjectEnvContentHintProjectsResponse6FromJSON( jsonString: string, ): SafeParseResult< @@ -2293,7 +1908,6 @@ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONRespon > = z.nativeEnum( RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody35Type, ); - /** @internal */ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody35Type$outboundSchema: z.ZodNativeEnum< @@ -2301,19 +1915,6 @@ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONRespon > = 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< @@ -2325,7 +1926,6 @@ export const RemoveProjectEnvContentHintProjectsResponse5$inboundSchema: RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody35Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type RemoveProjectEnvContentHintProjectsResponse5$Outbound = { type: string; @@ -2344,21 +1944,6 @@ export const RemoveProjectEnvContentHintProjectsResponse5$outboundSchema: storeId: z.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, @@ -2369,7 +1954,6 @@ export function removeProjectEnvContentHintProjectsResponse5ToJSON( ), ); } - export function removeProjectEnvContentHintProjectsResponse5FromJSON( jsonString: string, ): SafeParseResult< @@ -2393,7 +1977,6 @@ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONRespon > = z.nativeEnum( RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody34Type, ); - /** @internal */ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody34Type$outboundSchema: z.ZodNativeEnum< @@ -2401,19 +1984,6 @@ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONRespon > = 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< @@ -2425,7 +1995,6 @@ export const RemoveProjectEnvContentHintProjectsResponse4$inboundSchema: RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody34Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type RemoveProjectEnvContentHintProjectsResponse4$Outbound = { type: string; @@ -2444,21 +2013,6 @@ export const RemoveProjectEnvContentHintProjectsResponse4$outboundSchema: storeId: z.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, @@ -2469,7 +2023,6 @@ export function removeProjectEnvContentHintProjectsResponse4ToJSON( ), ); } - export function removeProjectEnvContentHintProjectsResponse4FromJSON( jsonString: string, ): SafeParseResult< @@ -2493,7 +2046,6 @@ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONRespon > = z.nativeEnum( RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody33Type, ); - /** @internal */ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody33Type$outboundSchema: z.ZodNativeEnum< @@ -2501,19 +2053,6 @@ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONRespon > = 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< @@ -2525,7 +2064,6 @@ export const RemoveProjectEnvContentHintProjectsResponse3$inboundSchema: RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody33Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type RemoveProjectEnvContentHintProjectsResponse3$Outbound = { type: string; @@ -2544,21 +2082,6 @@ export const RemoveProjectEnvContentHintProjectsResponse3$outboundSchema: storeId: z.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, @@ -2569,7 +2092,6 @@ export function removeProjectEnvContentHintProjectsResponse3ToJSON( ), ); } - export function removeProjectEnvContentHintProjectsResponse3FromJSON( jsonString: string, ): SafeParseResult< @@ -2593,7 +2115,6 @@ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONRespon > = z.nativeEnum( RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody32Type, ); - /** @internal */ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody32Type$outboundSchema: z.ZodNativeEnum< @@ -2601,19 +2122,6 @@ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONRespon > = 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< @@ -2625,7 +2133,6 @@ export const RemoveProjectEnvContentHintProjectsResponse2$inboundSchema: RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody32Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type RemoveProjectEnvContentHintProjectsResponse2$Outbound = { type: string; @@ -2644,21 +2151,6 @@ export const RemoveProjectEnvContentHintProjectsResponse2$outboundSchema: storeId: z.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, @@ -2669,7 +2161,6 @@ export function removeProjectEnvContentHintProjectsResponse2ToJSON( ), ); } - export function removeProjectEnvContentHintProjectsResponse2FromJSON( jsonString: string, ): SafeParseResult< @@ -2693,7 +2184,6 @@ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONRespon > = z.nativeEnum( RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody3Type, ); - /** @internal */ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody3Type$outboundSchema: z.ZodNativeEnum< @@ -2701,19 +2191,6 @@ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONRespon > = 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< @@ -2725,7 +2202,6 @@ export const RemoveProjectEnvContentHintProjectsResponse1$inboundSchema: RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody3Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type RemoveProjectEnvContentHintProjectsResponse1$Outbound = { type: string; @@ -2744,21 +2220,6 @@ export const RemoveProjectEnvContentHintProjectsResponse1$outboundSchema: storeId: z.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, @@ -2769,7 +2230,6 @@ export function removeProjectEnvContentHintProjectsResponse1ToJSON( ), ); } - export function removeProjectEnvContentHintProjectsResponse1FromJSON( jsonString: string, ): SafeParseResult< @@ -2809,7 +2269,6 @@ export const RemoveProjectEnvResponseBodyProjectsResponseContentHint$inboundSche z.lazy(() => RemoveProjectEnvContentHintProjectsResponse13$inboundSchema), z.lazy(() => RemoveProjectEnvContentHintProjectsResponse15$inboundSchema), ]); - /** @internal */ export type RemoveProjectEnvResponseBodyProjectsResponseContentHint$Outbound = | RemoveProjectEnvContentHintProjectsResponse14$Outbound @@ -2852,22 +2311,6 @@ export const RemoveProjectEnvResponseBodyProjectsResponseContentHint$outboundSch z.lazy(() => RemoveProjectEnvContentHintProjectsResponse15$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, @@ -2877,7 +2320,6 @@ export function removeProjectEnvResponseBodyProjectsResponseContentHintToJSON( .parse(removeProjectEnvResponseBodyProjectsResponseContentHint), ); } - export function removeProjectEnvResponseBodyProjectsResponseContentHintFromJSON( jsonString: string, ): SafeParseResult< @@ -2900,7 +2342,6 @@ export const RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJson3Type > = z.nativeEnum( RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJson3Type, ); - /** @internal */ export const RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJson3Type$outboundSchema: z.ZodNativeEnum< @@ -2908,19 +2349,6 @@ export const 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< @@ -2932,7 +2360,6 @@ export const RemoveProjectEnvResponseBodyProjectsResponseInternalContentHint$inb RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJson3Type$inboundSchema, encryptedValue: z.string(), }); - /** @internal */ export type RemoveProjectEnvResponseBodyProjectsResponseInternalContentHint$Outbound = { @@ -2952,22 +2379,6 @@ export const RemoveProjectEnvResponseBodyProjectsResponseInternalContentHint$out 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, @@ -2977,7 +2388,6 @@ export function removeProjectEnvResponseBodyProjectsResponseInternalContentHintT .parse(removeProjectEnvResponseBodyProjectsResponseInternalContentHint), ); } - export function removeProjectEnvResponseBodyProjectsResponseInternalContentHintFromJSON( jsonString: string, ): SafeParseResult< @@ -3045,7 +2455,6 @@ export const RemoveProjectEnvResponseBody3$inboundSchema: z.ZodType< comment: z.string().optional(), customEnvironmentIds: z.array(z.string()).optional(), }); - /** @internal */ export type RemoveProjectEnvResponseBody3$Outbound = { target?: Array | string | undefined; @@ -3155,19 +2564,6 @@ export const RemoveProjectEnvResponseBody3$outboundSchema: z.ZodType< 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 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 { @@ -3177,7 +2573,6 @@ export function removeProjectEnvResponseBody3ToJSON( ), ); } - export function removeProjectEnvResponseBody3FromJSON( jsonString: string, ): SafeParseResult { @@ -3192,44 +2587,20 @@ export function removeProjectEnvResponseBody3FromJSON( 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 = @@ -3237,7 +2608,6 @@ export const RemoveProjectEnvResponseBodyProjectsTarget$inboundSchema: z.array(RemoveProjectEnvTargetProjects1$inboundSchema), RemoveProjectEnvTargetProjects2$inboundSchema, ]); - /** @internal */ export type RemoveProjectEnvResponseBodyProjectsTarget$Outbound = | Array @@ -3254,21 +2624,6 @@ export const RemoveProjectEnvResponseBodyProjectsTarget$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, @@ -3279,7 +2634,6 @@ export function removeProjectEnvResponseBodyProjectsTargetToJSON( ), ); } - export function removeProjectEnvResponseBodyProjectsTargetFromJSON( jsonString: string, ): SafeParseResult< @@ -3300,25 +2654,11 @@ export function removeProjectEnvResponseBodyProjectsTargetFromJSON( 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< @@ -3326,7 +2666,6 @@ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONRespon > = z.nativeEnum( RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody215Type, ); - /** @internal */ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody215Type$outboundSchema: z.ZodNativeEnum< @@ -3334,19 +2673,6 @@ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONRespon > = 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, @@ -3357,7 +2683,6 @@ export const RemoveProjectEnvContentHintProjects15$inboundSchema: z.ZodType< RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody215Type$inboundSchema, projectId: z.string(), }); - /** @internal */ export type RemoveProjectEnvContentHintProjects15$Outbound = { type: string; @@ -3375,21 +2700,6 @@ export const RemoveProjectEnvContentHintProjects15$outboundSchema: z.ZodType< 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 { @@ -3399,7 +2709,6 @@ export function removeProjectEnvContentHintProjects15ToJSON( ), ); } - export function removeProjectEnvContentHintProjects15FromJSON( jsonString: string, ): SafeParseResult { @@ -3418,7 +2727,6 @@ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONRespon > = z.nativeEnum( RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody214Type, ); - /** @internal */ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody214Type$outboundSchema: z.ZodNativeEnum< @@ -3426,19 +2734,6 @@ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONRespon > = 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, @@ -3452,7 +2747,6 @@ export const RemoveProjectEnvContentHintProjects14$inboundSchema: z.ZodType< integrationProductId: z.string(), integrationConfigurationId: z.string(), }); - /** @internal */ export type RemoveProjectEnvContentHintProjects14$Outbound = { type: string; @@ -3476,21 +2770,6 @@ export const RemoveProjectEnvContentHintProjects14$outboundSchema: z.ZodType< 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 { @@ -3500,7 +2779,6 @@ export function removeProjectEnvContentHintProjects14ToJSON( ), ); } - export function removeProjectEnvContentHintProjects14FromJSON( jsonString: string, ): SafeParseResult { @@ -3519,7 +2797,6 @@ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONRespon > = z.nativeEnum( RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody213Type, ); - /** @internal */ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody213Type$outboundSchema: z.ZodNativeEnum< @@ -3527,19 +2804,6 @@ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONRespon > = 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, @@ -3550,7 +2814,6 @@ export const RemoveProjectEnvContentHintProjects13$inboundSchema: z.ZodType< RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody213Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type RemoveProjectEnvContentHintProjects13$Outbound = { type: string; @@ -3568,21 +2831,6 @@ export const RemoveProjectEnvContentHintProjects13$outboundSchema: z.ZodType< storeId: z.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 { @@ -3592,7 +2840,6 @@ export function removeProjectEnvContentHintProjects13ToJSON( ), ); } - export function removeProjectEnvContentHintProjects13FromJSON( jsonString: string, ): SafeParseResult { @@ -3611,7 +2858,6 @@ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONRespon > = z.nativeEnum( RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody212Type, ); - /** @internal */ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody212Type$outboundSchema: z.ZodNativeEnum< @@ -3619,19 +2865,6 @@ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONRespon > = 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, @@ -3642,7 +2875,6 @@ export const RemoveProjectEnvContentHintProjects12$inboundSchema: z.ZodType< RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody212Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type RemoveProjectEnvContentHintProjects12$Outbound = { type: string; @@ -3660,21 +2892,6 @@ export const RemoveProjectEnvContentHintProjects12$outboundSchema: z.ZodType< storeId: z.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 { @@ -3684,7 +2901,6 @@ export function removeProjectEnvContentHintProjects12ToJSON( ), ); } - export function removeProjectEnvContentHintProjects12FromJSON( jsonString: string, ): SafeParseResult { @@ -3703,7 +2919,6 @@ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONRespon > = z.nativeEnum( RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody211Type, ); - /** @internal */ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody211Type$outboundSchema: z.ZodNativeEnum< @@ -3711,19 +2926,6 @@ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONRespon > = 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, @@ -3734,7 +2936,6 @@ export const RemoveProjectEnvContentHintProjects11$inboundSchema: z.ZodType< RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody211Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type RemoveProjectEnvContentHintProjects11$Outbound = { type: string; @@ -3752,21 +2953,6 @@ export const RemoveProjectEnvContentHintProjects11$outboundSchema: z.ZodType< storeId: z.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 { @@ -3776,7 +2962,6 @@ export function removeProjectEnvContentHintProjects11ToJSON( ), ); } - export function removeProjectEnvContentHintProjects11FromJSON( jsonString: string, ): SafeParseResult { @@ -3795,7 +2980,6 @@ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONRespon > = z.nativeEnum( RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody210Type, ); - /** @internal */ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody210Type$outboundSchema: z.ZodNativeEnum< @@ -3803,19 +2987,6 @@ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONRespon > = 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, @@ -3826,7 +2997,6 @@ export const RemoveProjectEnvContentHintProjects10$inboundSchema: z.ZodType< RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody210Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type RemoveProjectEnvContentHintProjects10$Outbound = { type: string; @@ -3844,21 +3014,6 @@ export const RemoveProjectEnvContentHintProjects10$outboundSchema: z.ZodType< storeId: z.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 { @@ -3868,7 +3023,6 @@ export function removeProjectEnvContentHintProjects10ToJSON( ), ); } - export function removeProjectEnvContentHintProjects10FromJSON( jsonString: string, ): SafeParseResult { @@ -3887,7 +3041,6 @@ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONRespon > = z.nativeEnum( RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody29Type, ); - /** @internal */ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody29Type$outboundSchema: z.ZodNativeEnum< @@ -3895,19 +3048,6 @@ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONRespon > = 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, @@ -3918,7 +3058,6 @@ export const RemoveProjectEnvContentHintProjects9$inboundSchema: z.ZodType< RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody29Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type RemoveProjectEnvContentHintProjects9$Outbound = { type: string; @@ -3936,21 +3075,6 @@ export const RemoveProjectEnvContentHintProjects9$outboundSchema: z.ZodType< storeId: z.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 { @@ -3960,7 +3084,6 @@ export function removeProjectEnvContentHintProjects9ToJSON( ), ); } - export function removeProjectEnvContentHintProjects9FromJSON( jsonString: string, ): SafeParseResult { @@ -3979,7 +3102,6 @@ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONRespon > = z.nativeEnum( RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody28Type, ); - /** @internal */ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody28Type$outboundSchema: z.ZodNativeEnum< @@ -3987,19 +3109,6 @@ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONRespon > = 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, @@ -4010,7 +3119,6 @@ export const RemoveProjectEnvContentHintProjects8$inboundSchema: z.ZodType< RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody28Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type RemoveProjectEnvContentHintProjects8$Outbound = { type: string; @@ -4028,21 +3136,6 @@ export const RemoveProjectEnvContentHintProjects8$outboundSchema: z.ZodType< storeId: z.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 { @@ -4052,7 +3145,6 @@ export function removeProjectEnvContentHintProjects8ToJSON( ), ); } - export function removeProjectEnvContentHintProjects8FromJSON( jsonString: string, ): SafeParseResult { @@ -4071,7 +3163,6 @@ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONRespon > = z.nativeEnum( RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody27Type, ); - /** @internal */ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody27Type$outboundSchema: z.ZodNativeEnum< @@ -4079,19 +3170,6 @@ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONRespon > = 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, @@ -4102,7 +3180,6 @@ export const RemoveProjectEnvContentHintProjects7$inboundSchema: z.ZodType< RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody27Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type RemoveProjectEnvContentHintProjects7$Outbound = { type: string; @@ -4120,21 +3197,6 @@ export const RemoveProjectEnvContentHintProjects7$outboundSchema: z.ZodType< storeId: z.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 { @@ -4144,7 +3206,6 @@ export function removeProjectEnvContentHintProjects7ToJSON( ), ); } - export function removeProjectEnvContentHintProjects7FromJSON( jsonString: string, ): SafeParseResult { @@ -4163,7 +3224,6 @@ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONRespon > = z.nativeEnum( RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody26Type, ); - /** @internal */ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody26Type$outboundSchema: z.ZodNativeEnum< @@ -4171,19 +3231,6 @@ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONRespon > = 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, @@ -4194,7 +3241,6 @@ export const RemoveProjectEnvContentHintProjects6$inboundSchema: z.ZodType< RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody26Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type RemoveProjectEnvContentHintProjects6$Outbound = { type: string; @@ -4212,21 +3258,6 @@ export const RemoveProjectEnvContentHintProjects6$outboundSchema: z.ZodType< storeId: z.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 { @@ -4236,7 +3267,6 @@ export function removeProjectEnvContentHintProjects6ToJSON( ), ); } - export function removeProjectEnvContentHintProjects6FromJSON( jsonString: string, ): SafeParseResult { @@ -4255,7 +3285,6 @@ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONRespon > = z.nativeEnum( RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody25Type, ); - /** @internal */ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody25Type$outboundSchema: z.ZodNativeEnum< @@ -4263,19 +3292,6 @@ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONRespon > = 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, @@ -4286,7 +3302,6 @@ export const RemoveProjectEnvContentHintProjects5$inboundSchema: z.ZodType< RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody25Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type RemoveProjectEnvContentHintProjects5$Outbound = { type: string; @@ -4304,21 +3319,6 @@ export const RemoveProjectEnvContentHintProjects5$outboundSchema: z.ZodType< storeId: z.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 { @@ -4328,7 +3328,6 @@ export function removeProjectEnvContentHintProjects5ToJSON( ), ); } - export function removeProjectEnvContentHintProjects5FromJSON( jsonString: string, ): SafeParseResult { @@ -4347,7 +3346,6 @@ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONRespon > = z.nativeEnum( RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody24Type, ); - /** @internal */ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody24Type$outboundSchema: z.ZodNativeEnum< @@ -4355,19 +3353,6 @@ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONRespon > = 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, @@ -4378,7 +3363,6 @@ export const RemoveProjectEnvContentHintProjects4$inboundSchema: z.ZodType< RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody24Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type RemoveProjectEnvContentHintProjects4$Outbound = { type: string; @@ -4396,21 +3380,6 @@ export const RemoveProjectEnvContentHintProjects4$outboundSchema: z.ZodType< storeId: z.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 { @@ -4420,7 +3389,6 @@ export function removeProjectEnvContentHintProjects4ToJSON( ), ); } - export function removeProjectEnvContentHintProjects4FromJSON( jsonString: string, ): SafeParseResult { @@ -4439,7 +3407,6 @@ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONRespon > = z.nativeEnum( RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody23Type, ); - /** @internal */ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody23Type$outboundSchema: z.ZodNativeEnum< @@ -4447,19 +3414,6 @@ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONRespon > = 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, @@ -4470,7 +3424,6 @@ export const RemoveProjectEnvContentHintProjects3$inboundSchema: z.ZodType< RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody23Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type RemoveProjectEnvContentHintProjects3$Outbound = { type: string; @@ -4488,21 +3441,6 @@ export const RemoveProjectEnvContentHintProjects3$outboundSchema: z.ZodType< storeId: z.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 { @@ -4512,7 +3450,6 @@ export function removeProjectEnvContentHintProjects3ToJSON( ), ); } - export function removeProjectEnvContentHintProjects3FromJSON( jsonString: string, ): SafeParseResult { @@ -4531,7 +3468,6 @@ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONRespon > = z.nativeEnum( RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody22Type, ); - /** @internal */ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody22Type$outboundSchema: z.ZodNativeEnum< @@ -4539,19 +3475,6 @@ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONRespon > = 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, @@ -4562,7 +3485,6 @@ export const RemoveProjectEnvContentHintProjects2$inboundSchema: z.ZodType< RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody22Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type RemoveProjectEnvContentHintProjects2$Outbound = { type: string; @@ -4580,21 +3502,6 @@ export const RemoveProjectEnvContentHintProjects2$outboundSchema: z.ZodType< storeId: z.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 { @@ -4604,7 +3511,6 @@ export function removeProjectEnvContentHintProjects2ToJSON( ), ); } - export function removeProjectEnvContentHintProjects2FromJSON( jsonString: string, ): SafeParseResult { @@ -4623,7 +3529,6 @@ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONRespon > = z.nativeEnum( RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody2Type, ); - /** @internal */ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody2Type$outboundSchema: z.ZodNativeEnum< @@ -4631,19 +3536,6 @@ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONRespon > = 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, @@ -4654,7 +3546,6 @@ export const RemoveProjectEnvContentHintProjects1$inboundSchema: z.ZodType< RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody2Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type RemoveProjectEnvContentHintProjects1$Outbound = { type: string; @@ -4670,22 +3561,7 @@ export const RemoveProjectEnvContentHintProjects1$outboundSchema: z.ZodType< 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, @@ -4696,7 +3572,6 @@ export function removeProjectEnvContentHintProjects1ToJSON( ), ); } - export function removeProjectEnvContentHintProjects1FromJSON( jsonString: string, ): SafeParseResult { @@ -4731,7 +3606,6 @@ export const RemoveProjectEnvResponseBodyProjectsContentHint$inboundSchema: z.lazy(() => RemoveProjectEnvContentHintProjects13$inboundSchema), z.lazy(() => RemoveProjectEnvContentHintProjects15$inboundSchema), ]); - /** @internal */ export type RemoveProjectEnvResponseBodyProjectsContentHint$Outbound = | RemoveProjectEnvContentHintProjects14$Outbound @@ -4774,22 +3648,6 @@ export const RemoveProjectEnvResponseBodyProjectsContentHint$outboundSchema: z.lazy(() => RemoveProjectEnvContentHintProjects15$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, @@ -4800,7 +3658,6 @@ export function removeProjectEnvResponseBodyProjectsContentHintToJSON( ), ); } - export function removeProjectEnvResponseBodyProjectsContentHintFromJSON( jsonString: string, ): SafeParseResult< @@ -4821,25 +3678,11 @@ export function removeProjectEnvResponseBodyProjectsContentHintFromJSON( 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< @@ -4850,7 +3693,6 @@ export const RemoveProjectEnvResponseBodyProjectsInternalContentHint$inboundSche type: RemoveProjectEnvResponseBodyProjectsResponse200Type$inboundSchema, encryptedValue: z.string(), }); - /** @internal */ export type RemoveProjectEnvResponseBodyProjectsInternalContentHint$Outbound = { type: string; @@ -4868,22 +3710,6 @@ export const RemoveProjectEnvResponseBodyProjectsInternalContentHint$outboundSch 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, @@ -4893,7 +3719,6 @@ export function removeProjectEnvResponseBodyProjectsInternalContentHintToJSON( .parse(removeProjectEnvResponseBodyProjectsInternalContentHint), ); } - export function removeProjectEnvResponseBodyProjectsInternalContentHintFromJSON( jsonString: string, ): SafeParseResult< @@ -4962,7 +3787,6 @@ export const RemoveProjectEnvResponseBody2$inboundSchema: z.ZodType< comment: z.string().optional(), customEnvironmentIds: z.array(z.string()).optional(), }); - /** @internal */ export type RemoveProjectEnvResponseBody2$Outbound = { system?: boolean | undefined; @@ -5062,19 +3886,6 @@ export const RemoveProjectEnvResponseBody2$outboundSchema: z.ZodType< 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 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 { @@ -5084,7 +3895,6 @@ export function removeProjectEnvResponseBody2ToJSON( ), ); } - export function removeProjectEnvResponseBody2FromJSON( jsonString: string, ): SafeParseResult { @@ -5099,44 +3909,20 @@ export function removeProjectEnvResponseBody2FromJSON( 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, @@ -5146,7 +3932,6 @@ export const RemoveProjectEnvResponseBodyTarget$inboundSchema: z.ZodType< z.array(RemoveProjectEnvTarget1$inboundSchema), RemoveProjectEnvTarget2$inboundSchema, ]); - /** @internal */ export type RemoveProjectEnvResponseBodyTarget$Outbound = | Array @@ -5162,20 +3947,6 @@ export const RemoveProjectEnvResponseBodyTarget$outboundSchema: z.ZodType< 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 { @@ -5185,7 +3956,6 @@ export function removeProjectEnvResponseBodyTargetToJSON( ), ); } - export function removeProjectEnvResponseBodyTargetFromJSON( jsonString: string, ): SafeParseResult { @@ -5201,23 +3971,11 @@ export function removeProjectEnvResponseBodyTargetFromJSON( 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< @@ -5225,7 +3983,6 @@ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONRespon > = z.nativeEnum( RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type, ); - /** @internal */ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type$outboundSchema: z.ZodNativeEnum< @@ -5233,19 +3990,6 @@ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONRespon > = 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, @@ -5256,7 +4000,6 @@ export const RemoveProjectEnvContentHint15$inboundSchema: z.ZodType< RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody115Type$inboundSchema, projectId: z.string(), }); - /** @internal */ export type RemoveProjectEnvContentHint15$Outbound = { type: string; @@ -5274,19 +4017,6 @@ export const RemoveProjectEnvContentHint15$outboundSchema: z.ZodType< 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 { @@ -5296,7 +4026,6 @@ export function removeProjectEnvContentHint15ToJSON( ), ); } - export function removeProjectEnvContentHint15FromJSON( jsonString: string, ): SafeParseResult { @@ -5314,7 +4043,6 @@ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONRespon > = z.nativeEnum( RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type, ); - /** @internal */ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody114Type$outboundSchema: z.ZodNativeEnum< @@ -5322,19 +4050,6 @@ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONRespon > = 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, @@ -5348,7 +4063,6 @@ export const RemoveProjectEnvContentHint14$inboundSchema: z.ZodType< integrationProductId: z.string(), integrationConfigurationId: z.string(), }); - /** @internal */ export type RemoveProjectEnvContentHint14$Outbound = { type: string; @@ -5372,19 +4086,6 @@ export const RemoveProjectEnvContentHint14$outboundSchema: z.ZodType< 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 { @@ -5394,7 +4095,6 @@ export function removeProjectEnvContentHint14ToJSON( ), ); } - export function removeProjectEnvContentHint14FromJSON( jsonString: string, ): SafeParseResult { @@ -5412,7 +4112,6 @@ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONRespon > = z.nativeEnum( RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type, ); - /** @internal */ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type$outboundSchema: z.ZodNativeEnum< @@ -5420,19 +4119,6 @@ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONRespon > = 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, @@ -5443,7 +4129,6 @@ export const RemoveProjectEnvContentHint13$inboundSchema: z.ZodType< RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody113Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type RemoveProjectEnvContentHint13$Outbound = { type: string; @@ -5461,19 +4146,6 @@ export const RemoveProjectEnvContentHint13$outboundSchema: z.ZodType< storeId: z.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 { @@ -5483,7 +4155,6 @@ export function removeProjectEnvContentHint13ToJSON( ), ); } - export function removeProjectEnvContentHint13FromJSON( jsonString: string, ): SafeParseResult { @@ -5501,7 +4172,6 @@ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONRespon > = z.nativeEnum( RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type, ); - /** @internal */ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type$outboundSchema: z.ZodNativeEnum< @@ -5509,19 +4179,6 @@ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONRespon > = 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, @@ -5532,7 +4189,6 @@ export const RemoveProjectEnvContentHint12$inboundSchema: z.ZodType< RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody112Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type RemoveProjectEnvContentHint12$Outbound = { type: string; @@ -5550,19 +4206,6 @@ export const RemoveProjectEnvContentHint12$outboundSchema: z.ZodType< storeId: z.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 { @@ -5572,7 +4215,6 @@ export function removeProjectEnvContentHint12ToJSON( ), ); } - export function removeProjectEnvContentHint12FromJSON( jsonString: string, ): SafeParseResult { @@ -5590,7 +4232,6 @@ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONRespon > = z.nativeEnum( RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type, ); - /** @internal */ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type$outboundSchema: z.ZodNativeEnum< @@ -5598,19 +4239,6 @@ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONRespon > = 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, @@ -5621,7 +4249,6 @@ export const RemoveProjectEnvContentHint11$inboundSchema: z.ZodType< RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody111Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type RemoveProjectEnvContentHint11$Outbound = { type: string; @@ -5639,19 +4266,6 @@ export const RemoveProjectEnvContentHint11$outboundSchema: z.ZodType< storeId: z.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 { @@ -5661,7 +4275,6 @@ export function removeProjectEnvContentHint11ToJSON( ), ); } - export function removeProjectEnvContentHint11FromJSON( jsonString: string, ): SafeParseResult { @@ -5679,7 +4292,6 @@ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONRespon > = z.nativeEnum( RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type, ); - /** @internal */ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type$outboundSchema: z.ZodNativeEnum< @@ -5687,19 +4299,6 @@ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONRespon > = 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, @@ -5710,7 +4309,6 @@ export const RemoveProjectEnvContentHint10$inboundSchema: z.ZodType< RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody110Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type RemoveProjectEnvContentHint10$Outbound = { type: string; @@ -5728,19 +4326,6 @@ export const RemoveProjectEnvContentHint10$outboundSchema: z.ZodType< storeId: z.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 { @@ -5750,7 +4335,6 @@ export function removeProjectEnvContentHint10ToJSON( ), ); } - export function removeProjectEnvContentHint10FromJSON( jsonString: string, ): SafeParseResult { @@ -5768,7 +4352,6 @@ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONRespon > = z.nativeEnum( RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type, ); - /** @internal */ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type$outboundSchema: z.ZodNativeEnum< @@ -5776,19 +4359,6 @@ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONRespon > = 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, @@ -5799,7 +4369,6 @@ export const RemoveProjectEnvContentHint9$inboundSchema: z.ZodType< RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody19Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type RemoveProjectEnvContentHint9$Outbound = { type: string; @@ -5817,19 +4386,6 @@ export const RemoveProjectEnvContentHint9$outboundSchema: z.ZodType< storeId: z.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 { @@ -5839,7 +4395,6 @@ export function removeProjectEnvContentHint9ToJSON( ), ); } - export function removeProjectEnvContentHint9FromJSON( jsonString: string, ): SafeParseResult { @@ -5857,7 +4412,6 @@ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONRespon > = z.nativeEnum( RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type, ); - /** @internal */ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type$outboundSchema: z.ZodNativeEnum< @@ -5865,19 +4419,6 @@ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONRespon > = 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, @@ -5888,7 +4429,6 @@ export const RemoveProjectEnvContentHint8$inboundSchema: z.ZodType< RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody18Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type RemoveProjectEnvContentHint8$Outbound = { type: string; @@ -5906,19 +4446,6 @@ export const RemoveProjectEnvContentHint8$outboundSchema: z.ZodType< storeId: z.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 { @@ -5928,7 +4455,6 @@ export function removeProjectEnvContentHint8ToJSON( ), ); } - export function removeProjectEnvContentHint8FromJSON( jsonString: string, ): SafeParseResult { @@ -5946,7 +4472,6 @@ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONRespon > = z.nativeEnum( RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type, ); - /** @internal */ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type$outboundSchema: z.ZodNativeEnum< @@ -5954,19 +4479,6 @@ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONRespon > = 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, @@ -5977,7 +4489,6 @@ export const RemoveProjectEnvContentHint7$inboundSchema: z.ZodType< RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBody1Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type RemoveProjectEnvContentHint7$Outbound = { type: string; @@ -5995,19 +4506,6 @@ export const RemoveProjectEnvContentHint7$outboundSchema: z.ZodType< storeId: z.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 { @@ -6017,7 +4515,6 @@ export function removeProjectEnvContentHint7ToJSON( ), ); } - export function removeProjectEnvContentHint7FromJSON( jsonString: string, ): SafeParseResult { @@ -6035,7 +4532,6 @@ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONRespon > = z.nativeEnum( RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType, ); - /** @internal */ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema: z.ZodNativeEnum< @@ -6043,19 +4539,6 @@ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONRespon > = 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, @@ -6066,7 +4549,6 @@ export const RemoveProjectEnvContentHint6$inboundSchema: z.ZodType< RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema, storeId: z.string(), }); - /** @internal */ export type RemoveProjectEnvContentHint6$Outbound = { type: string; @@ -6084,19 +4566,6 @@ export const RemoveProjectEnvContentHint6$outboundSchema: z.ZodType< storeId: z.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 { @@ -6106,7 +4575,6 @@ export function removeProjectEnvContentHint6ToJSON( ), ); } - export function removeProjectEnvContentHint6FromJSON( jsonString: string, ): SafeParseResult { @@ -6124,7 +4592,6 @@ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONType$i > = z.nativeEnum( RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONType, ); - /** @internal */ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONType$outboundSchema: z.ZodNativeEnum< @@ -6132,19 +4599,6 @@ export const RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONType$o > = 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, @@ -6155,7 +4609,6 @@ export const RemoveProjectEnvContentHint5$inboundSchema: z.ZodType< RemoveProjectEnvContentHintProjectsResponse200ApplicationJSONType$inboundSchema, storeId: z.string(), }); - /** @internal */ export type RemoveProjectEnvContentHint5$Outbound = { type: string; @@ -6173,19 +4626,6 @@ export const RemoveProjectEnvContentHint5$outboundSchema: z.ZodType< storeId: z.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 { @@ -6195,7 +4635,6 @@ export function removeProjectEnvContentHint5ToJSON( ), ); } - export function removeProjectEnvContentHint5FromJSON( jsonString: string, ): SafeParseResult { @@ -6210,25 +4649,11 @@ export function removeProjectEnvContentHint5FromJSON( 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, @@ -6238,7 +4663,6 @@ export const RemoveProjectEnvContentHint4$inboundSchema: z.ZodType< type: RemoveProjectEnvContentHintProjectsResponse200Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type RemoveProjectEnvContentHint4$Outbound = { type: string; @@ -6255,19 +4679,6 @@ export const RemoveProjectEnvContentHint4$outboundSchema: z.ZodType< storeId: z.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 { @@ -6277,7 +4688,6 @@ export function removeProjectEnvContentHint4ToJSON( ), ); } - export function removeProjectEnvContentHint4FromJSON( jsonString: string, ): SafeParseResult { @@ -6292,25 +4702,11 @@ export function removeProjectEnvContentHint4FromJSON( 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, @@ -6320,7 +4716,6 @@ export const RemoveProjectEnvContentHint3$inboundSchema: z.ZodType< type: RemoveProjectEnvContentHintProjectsResponseType$inboundSchema, storeId: z.string(), }); - /** @internal */ export type RemoveProjectEnvContentHint3$Outbound = { type: string; @@ -6337,19 +4732,6 @@ export const RemoveProjectEnvContentHint3$outboundSchema: z.ZodType< storeId: z.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 { @@ -6359,7 +4741,6 @@ export function removeProjectEnvContentHint3ToJSON( ), ); } - export function removeProjectEnvContentHint3FromJSON( jsonString: string, ): SafeParseResult { @@ -6374,25 +4755,11 @@ export function removeProjectEnvContentHint3FromJSON( 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, @@ -6402,7 +4769,6 @@ export const RemoveProjectEnvContentHint2$inboundSchema: z.ZodType< type: RemoveProjectEnvContentHintProjectsType$inboundSchema, storeId: z.string(), }); - /** @internal */ export type RemoveProjectEnvContentHint2$Outbound = { type: string; @@ -6419,19 +4785,6 @@ export const RemoveProjectEnvContentHint2$outboundSchema: z.ZodType< storeId: z.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 { @@ -6441,7 +4794,6 @@ export function removeProjectEnvContentHint2ToJSON( ), ); } - export function removeProjectEnvContentHint2FromJSON( jsonString: string, ): SafeParseResult { @@ -6456,23 +4808,11 @@ export function removeProjectEnvContentHint2FromJSON( 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, @@ -6482,7 +4822,6 @@ export const RemoveProjectEnvContentHint1$inboundSchema: z.ZodType< type: RemoveProjectEnvContentHintType$inboundSchema, storeId: z.string(), }); - /** @internal */ export type RemoveProjectEnvContentHint1$Outbound = { type: string; @@ -6499,19 +4838,6 @@ export const RemoveProjectEnvContentHint1$outboundSchema: z.ZodType< storeId: z.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 { @@ -6521,7 +4847,6 @@ export function removeProjectEnvContentHint1ToJSON( ), ); } - export function removeProjectEnvContentHint1FromJSON( jsonString: string, ): SafeParseResult { @@ -6554,7 +4879,6 @@ export const RemoveProjectEnvResponseBodyContentHint$inboundSchema: z.ZodType< z.lazy(() => RemoveProjectEnvContentHint13$inboundSchema), z.lazy(() => RemoveProjectEnvContentHint15$inboundSchema), ]); - /** @internal */ export type RemoveProjectEnvResponseBodyContentHint$Outbound = | RemoveProjectEnvContentHint14$Outbound @@ -6596,21 +4920,6 @@ export const RemoveProjectEnvResponseBodyContentHint$outboundSchema: z.ZodType< z.lazy(() => RemoveProjectEnvContentHint15$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, @@ -6621,7 +4930,6 @@ export function removeProjectEnvResponseBodyContentHintToJSON( ), ); } - export function removeProjectEnvResponseBodyContentHintFromJSON( jsonString: string, ): SafeParseResult< @@ -6645,7 +4953,6 @@ export const RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJSONType$ > = z.nativeEnum( RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJSONType, ); - /** @internal */ export const RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJSONType$outboundSchema: z.ZodNativeEnum< @@ -6653,19 +4960,6 @@ export const 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< @@ -6677,7 +4971,6 @@ export const RemoveProjectEnvResponseBodyInternalContentHint$inboundSchema: RemoveProjectEnvResponseBodyProjectsResponse200ApplicationJSONType$inboundSchema, encryptedValue: z.string(), }); - /** @internal */ export type RemoveProjectEnvResponseBodyInternalContentHint$Outbound = { type: string; @@ -6696,22 +4989,6 @@ export const RemoveProjectEnvResponseBodyInternalContentHint$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, @@ -6722,7 +4999,6 @@ export function removeProjectEnvResponseBodyInternalContentHintToJSON( ), ); } - export function removeProjectEnvResponseBodyInternalContentHintFromJSON( jsonString: string, ): SafeParseResult< @@ -6789,7 +5065,6 @@ export const RemoveProjectEnvResponseBody1$inboundSchema: z.ZodType< comment: z.string().optional(), customEnvironmentIds: z.array(z.string()).optional(), }); - /** @internal */ export type RemoveProjectEnvResponseBody1$Outbound = { target?: Array | string | undefined; @@ -6887,19 +5162,6 @@ export const RemoveProjectEnvResponseBody1$outboundSchema: z.ZodType< 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 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 { @@ -6909,7 +5171,6 @@ export function removeProjectEnvResponseBody1ToJSON( ), ); } - export function removeProjectEnvResponseBody1FromJSON( jsonString: string, ): SafeParseResult { @@ -6930,7 +5191,6 @@ export const RemoveProjectEnvResponseBody$inboundSchema: z.ZodType< z.lazy(() => RemoveProjectEnvResponseBody3$inboundSchema), z.array(z.lazy(() => RemoveProjectEnvResponseBody1$inboundSchema)), ]); - /** @internal */ export type RemoveProjectEnvResponseBody$Outbound = | RemoveProjectEnvResponseBody2$Outbound @@ -6948,19 +5208,6 @@ export const RemoveProjectEnvResponseBody$outboundSchema: z.ZodType< 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 { @@ -6970,7 +5217,6 @@ export function removeProjectEnvResponseBodyToJSON( ), ); } - export function removeProjectEnvResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/removeprojectmemberop.ts b/src/models/removeprojectmemberop.ts index baf3505ee..cbdaf5d1a 100644 --- a/src/models/removeprojectmemberop.ts +++ b/src/models/removeprojectmemberop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -41,7 +41,6 @@ export const RemoveProjectMemberRequest$inboundSchema: z.ZodType< teamId: z.string().optional(), slug: z.string().optional(), }); - /** @internal */ export type RemoveProjectMemberRequest$Outbound = { idOrName: string; @@ -62,19 +61,6 @@ export const RemoveProjectMemberRequest$outboundSchema: z.ZodType< 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 { @@ -82,7 +68,6 @@ export function removeProjectMemberRequestToJSON( RemoveProjectMemberRequest$outboundSchema.parse(removeProjectMemberRequest), ); } - export function removeProjectMemberRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -101,7 +86,6 @@ export const RemoveProjectMemberResponseBody$inboundSchema: z.ZodType< > = z.object({ id: z.string(), }); - /** @internal */ export type RemoveProjectMemberResponseBody$Outbound = { id: string; @@ -116,19 +100,6 @@ export const RemoveProjectMemberResponseBody$outboundSchema: z.ZodType< 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 { @@ -138,7 +109,6 @@ export function removeProjectMemberResponseBodyToJSON( ), ); } - export function removeProjectMemberResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/removerecordop.ts b/src/models/removerecordop.ts index bdec67b2f..53f202ab2 100644 --- a/src/models/removerecordop.ts +++ b/src/models/removerecordop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -36,7 +36,6 @@ export const RemoveRecordRequest$inboundSchema: z.ZodType< teamId: z.string().optional(), slug: z.string().optional(), }); - /** @internal */ export type RemoveRecordRequest$Outbound = { domain: string; @@ -57,19 +56,6 @@ export const RemoveRecordRequest$outboundSchema: z.ZodType< 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 { @@ -77,7 +63,6 @@ export function removeRecordRequestToJSON( RemoveRecordRequest$outboundSchema.parse(removeRecordRequest), ); } - export function removeRecordRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -94,7 +79,6 @@ export const RemoveRecordResponseBody$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({}); - /** @internal */ export type RemoveRecordResponseBody$Outbound = {}; @@ -105,19 +89,6 @@ export const RemoveRecordResponseBody$outboundSchema: z.ZodType< 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 { @@ -125,7 +96,6 @@ export function removeRecordResponseBodyToJSON( RemoveRecordResponseBody$outboundSchema.parse(removeRecordResponseBody), ); } - export function removeRecordResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/removeteammemberop.ts b/src/models/removeteammemberop.ts index bcf9e1a61..8908ebda5 100644 --- a/src/models/removeteammemberop.ts +++ b/src/models/removeteammemberop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -39,7 +39,6 @@ export const RemoveTeamMemberRequest$inboundSchema: z.ZodType< newDefaultTeamId: z.string().optional(), teamId: z.string(), }); - /** @internal */ export type RemoveTeamMemberRequest$Outbound = { uid: string; @@ -58,19 +57,6 @@ export const RemoveTeamMemberRequest$outboundSchema: z.ZodType< 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 { @@ -78,7 +64,6 @@ export function removeTeamMemberRequestToJSON( RemoveTeamMemberRequest$outboundSchema.parse(removeTeamMemberRequest), ); } - export function removeTeamMemberRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -97,7 +82,6 @@ export const RemoveTeamMemberResponseBody$inboundSchema: z.ZodType< > = z.object({ id: z.string(), }); - /** @internal */ export type RemoveTeamMemberResponseBody$Outbound = { id: string; @@ -112,19 +96,6 @@ export const RemoveTeamMemberResponseBody$outboundSchema: z.ZodType< 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 { @@ -134,7 +105,6 @@ export function removeTeamMemberResponseBodyToJSON( ), ); } - export function removeTeamMemberResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/renewdomainop.ts b/src/models/renewdomainop.ts new file mode 100644 index 000000000..d05a978f0 --- /dev/null +++ b/src/models/renewdomainop.ts @@ -0,0 +1,439 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +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 { + Forbidden, + Forbidden$inboundSchema, + Forbidden$Outbound, + Forbidden$outboundSchema, +} from "./forbidden.js"; +import { + NotAuthorizedForScope, + NotAuthorizedForScope$inboundSchema, + NotAuthorizedForScope$Outbound, + NotAuthorizedForScope$outboundSchema, +} from "./notauthorizedforscope.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type RenewDomainContactInformation = { + /** + * a non empty string + */ + firstName: string; + /** + * a non empty string + */ + lastName: string; + /** + * a non empty string + */ + email: string; + /** + * A valid E.164 phone number + */ + phone: string; + /** + * a non empty string + */ + address1: string; + /** + * a non empty string + */ + address2?: string | undefined; + /** + * a non empty string + */ + city: string; + /** + * a non empty string + */ + state: string; + /** + * a non empty string + */ + zip: string; + /** + * A valid ISO 3166-1 alpha-2 country code + */ + country: string; + /** + * a non empty string + */ + companyName?: string | undefined; + /** + * A valid E.164 phone number + */ + fax?: string | undefined; +}; + +export type RenewDomainRequestBody = { + /** + * The number of years to renew the domain for. + */ + years: number; + /** + * The expected price for the domain. Use the [Get price data for a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/get-price-data-for-a-domain) endpoint to retrieve the price data for a domain. + */ + expectedPrice: number; + contactInformation?: RenewDomainContactInformation | undefined; +}; + +export type RenewDomainRequest = { + domain: string; + teamId?: string | undefined; + requestBody: RenewDomainRequestBody; +}; + +/** + * NotAuthorizedForScope + */ +export type RenewDomainDomainsRegistrarResponseBody = + | NotAuthorizedForScope + | Forbidden; + +export const RenewDomainMethod = { + Get: "GET", + Post: "POST", + Put: "PUT", + Delete: "DELETE", + Patch: "PATCH", +} as const; +export type RenewDomainMethod = ClosedEnum; + +export type RenewDomainLinks = { + href: string; + method: RenewDomainMethod; +}; + +/** + * Success + */ +export type RenewDomainResponseBody = { + orderId: string; + links: { [k: string]: RenewDomainLinks }; +}; + +/** @internal */ +export const RenewDomainContactInformation$inboundSchema: z.ZodType< + RenewDomainContactInformation, + z.ZodTypeDef, + unknown +> = z.object({ + firstName: z.string(), + lastName: z.string(), + email: z.string(), + phone: z.string(), + address1: z.string(), + address2: z.string().optional(), + city: z.string(), + state: z.string(), + zip: z.string(), + country: z.string(), + companyName: z.string().optional(), + fax: z.string().optional(), +}); +/** @internal */ +export type RenewDomainContactInformation$Outbound = { + firstName: string; + lastName: string; + email: string; + phone: string; + address1: string; + address2?: string | undefined; + city: string; + state: string; + zip: string; + country: string; + companyName?: string | undefined; + fax?: string | undefined; +}; + +/** @internal */ +export const RenewDomainContactInformation$outboundSchema: z.ZodType< + RenewDomainContactInformation$Outbound, + z.ZodTypeDef, + RenewDomainContactInformation +> = z.object({ + firstName: z.string(), + lastName: z.string(), + email: z.string(), + phone: z.string(), + address1: z.string(), + address2: z.string().optional(), + city: z.string(), + state: z.string(), + zip: z.string(), + country: z.string(), + companyName: z.string().optional(), + fax: z.string().optional(), +}); + +export function renewDomainContactInformationToJSON( + renewDomainContactInformation: RenewDomainContactInformation, +): string { + return JSON.stringify( + RenewDomainContactInformation$outboundSchema.parse( + renewDomainContactInformation, + ), + ); +} +export function renewDomainContactInformationFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RenewDomainContactInformation$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RenewDomainContactInformation' from JSON`, + ); +} + +/** @internal */ +export const RenewDomainRequestBody$inboundSchema: z.ZodType< + RenewDomainRequestBody, + z.ZodTypeDef, + unknown +> = z.object({ + years: z.number(), + expectedPrice: z.number(), + contactInformation: z.lazy(() => RenewDomainContactInformation$inboundSchema) + .optional(), +}); +/** @internal */ +export type RenewDomainRequestBody$Outbound = { + years: number; + expectedPrice: number; + contactInformation?: RenewDomainContactInformation$Outbound | undefined; +}; + +/** @internal */ +export const RenewDomainRequestBody$outboundSchema: z.ZodType< + RenewDomainRequestBody$Outbound, + z.ZodTypeDef, + RenewDomainRequestBody +> = z.object({ + years: z.number(), + expectedPrice: z.number(), + contactInformation: z.lazy(() => RenewDomainContactInformation$outboundSchema) + .optional(), +}); + +export function renewDomainRequestBodyToJSON( + renewDomainRequestBody: RenewDomainRequestBody, +): string { + return JSON.stringify( + RenewDomainRequestBody$outboundSchema.parse(renewDomainRequestBody), + ); +} +export function renewDomainRequestBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RenewDomainRequestBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RenewDomainRequestBody' from JSON`, + ); +} + +/** @internal */ +export const RenewDomainRequest$inboundSchema: z.ZodType< + RenewDomainRequest, + z.ZodTypeDef, + unknown +> = z.object({ + domain: z.string(), + teamId: z.string().optional(), + RequestBody: z.lazy(() => RenewDomainRequestBody$inboundSchema), +}).transform((v) => { + return remap$(v, { + "RequestBody": "requestBody", + }); +}); +/** @internal */ +export type RenewDomainRequest$Outbound = { + domain: string; + teamId?: string | undefined; + RequestBody: RenewDomainRequestBody$Outbound; +}; + +/** @internal */ +export const RenewDomainRequest$outboundSchema: z.ZodType< + RenewDomainRequest$Outbound, + z.ZodTypeDef, + RenewDomainRequest +> = z.object({ + domain: z.string(), + teamId: z.string().optional(), + requestBody: z.lazy(() => RenewDomainRequestBody$outboundSchema), +}).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); +}); + +export function renewDomainRequestToJSON( + renewDomainRequest: RenewDomainRequest, +): string { + return JSON.stringify( + RenewDomainRequest$outboundSchema.parse(renewDomainRequest), + ); +} +export function renewDomainRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RenewDomainRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RenewDomainRequest' from JSON`, + ); +} + +/** @internal */ +export const RenewDomainDomainsRegistrarResponseBody$inboundSchema: z.ZodType< + RenewDomainDomainsRegistrarResponseBody, + z.ZodTypeDef, + unknown +> = z.union([NotAuthorizedForScope$inboundSchema, Forbidden$inboundSchema]); +/** @internal */ +export type RenewDomainDomainsRegistrarResponseBody$Outbound = + | NotAuthorizedForScope$Outbound + | Forbidden$Outbound; + +/** @internal */ +export const RenewDomainDomainsRegistrarResponseBody$outboundSchema: z.ZodType< + RenewDomainDomainsRegistrarResponseBody$Outbound, + z.ZodTypeDef, + unknown +> = z.union([NotAuthorizedForScope$outboundSchema, Forbidden$outboundSchema]); + +export function renewDomainDomainsRegistrarResponseBodyToJSON( + renewDomainDomainsRegistrarResponseBody: + RenewDomainDomainsRegistrarResponseBody, +): string { + return JSON.stringify( + RenewDomainDomainsRegistrarResponseBody$outboundSchema.parse( + renewDomainDomainsRegistrarResponseBody, + ), + ); +} +export function renewDomainDomainsRegistrarResponseBodyFromJSON( + jsonString: string, +): SafeParseResult< + RenewDomainDomainsRegistrarResponseBody, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + RenewDomainDomainsRegistrarResponseBody$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'RenewDomainDomainsRegistrarResponseBody' from JSON`, + ); +} + +/** @internal */ +export const RenewDomainMethod$inboundSchema: z.ZodNativeEnum< + typeof RenewDomainMethod +> = z.nativeEnum(RenewDomainMethod); +/** @internal */ +export const RenewDomainMethod$outboundSchema: z.ZodNativeEnum< + typeof RenewDomainMethod +> = RenewDomainMethod$inboundSchema; + +/** @internal */ +export const RenewDomainLinks$inboundSchema: z.ZodType< + RenewDomainLinks, + z.ZodTypeDef, + unknown +> = z.object({ + href: z.string(), + method: RenewDomainMethod$inboundSchema, +}); +/** @internal */ +export type RenewDomainLinks$Outbound = { + href: string; + method: string; +}; + +/** @internal */ +export const RenewDomainLinks$outboundSchema: z.ZodType< + RenewDomainLinks$Outbound, + z.ZodTypeDef, + RenewDomainLinks +> = z.object({ + href: z.string(), + method: RenewDomainMethod$outboundSchema, +}); + +export function renewDomainLinksToJSON( + renewDomainLinks: RenewDomainLinks, +): string { + return JSON.stringify( + RenewDomainLinks$outboundSchema.parse(renewDomainLinks), + ); +} +export function renewDomainLinksFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RenewDomainLinks$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RenewDomainLinks' from JSON`, + ); +} + +/** @internal */ +export const RenewDomainResponseBody$inboundSchema: z.ZodType< + RenewDomainResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + orderId: z.string(), + _links: z.record(z.lazy(() => RenewDomainLinks$inboundSchema)), +}).transform((v) => { + return remap$(v, { + "_links": "links", + }); +}); +/** @internal */ +export type RenewDomainResponseBody$Outbound = { + orderId: string; + _links: { [k: string]: RenewDomainLinks$Outbound }; +}; + +/** @internal */ +export const RenewDomainResponseBody$outboundSchema: z.ZodType< + RenewDomainResponseBody$Outbound, + z.ZodTypeDef, + RenewDomainResponseBody +> = z.object({ + orderId: z.string(), + links: z.record(z.lazy(() => RenewDomainLinks$outboundSchema)), +}).transform((v) => { + return remap$(v, { + links: "_links", + }); +}); + +export function renewDomainResponseBodyToJSON( + renewDomainResponseBody: RenewDomainResponseBody, +): string { + return JSON.stringify( + RenewDomainResponseBody$outboundSchema.parse(renewDomainResponseBody), + ); +} +export function renewDomainResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => RenewDomainResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RenewDomainResponseBody' from JSON`, + ); +} diff --git a/src/models/requestaccesstoteamop.ts b/src/models/requestaccesstoteamop.ts index 3ae0febec..0a95db440 100644 --- a/src/models/requestaccesstoteamop.ts +++ b/src/models/requestaccesstoteamop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; @@ -132,30 +132,17 @@ export type RequestAccessToTeamResponseBody = { 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; @@ -166,19 +153,6 @@ export const RequestAccessToTeamGitUserId$outboundSchema: z.ZodType< 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 { @@ -188,7 +162,6 @@ export function requestAccessToTeamGitUserIdToJSON( ), ); } - export function requestAccessToTeamGitUserIdFromJSON( jsonString: string, ): SafeParseResult { @@ -212,7 +185,6 @@ export const RequestAccessToTeamJoinedFrom$inboundSchema: z.ZodType< gitUserId: z.union([z.string(), z.number()]).optional(), gitUserLogin: z.string().optional(), }); - /** @internal */ export type RequestAccessToTeamJoinedFrom$Outbound = { origin: string; @@ -237,19 +209,6 @@ export const RequestAccessToTeamJoinedFrom$outboundSchema: z.ZodType< 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 { @@ -259,7 +218,6 @@ export function requestAccessToTeamJoinedFromToJSON( ), ); } - export function requestAccessToTeamJoinedFromFromJSON( jsonString: string, ): SafeParseResult { @@ -278,7 +236,6 @@ export const RequestAccessToTeamRequestBody$inboundSchema: z.ZodType< > = z.object({ joinedFrom: z.lazy(() => RequestAccessToTeamJoinedFrom$inboundSchema), }); - /** @internal */ export type RequestAccessToTeamRequestBody$Outbound = { joinedFrom: RequestAccessToTeamJoinedFrom$Outbound; @@ -293,19 +250,6 @@ export const RequestAccessToTeamRequestBody$outboundSchema: z.ZodType< 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 { @@ -315,7 +259,6 @@ export function requestAccessToTeamRequestBodyToJSON( ), ); } - export function requestAccessToTeamRequestBodyFromJSON( jsonString: string, ): SafeParseResult { @@ -339,7 +282,6 @@ export const RequestAccessToTeamRequest$inboundSchema: z.ZodType< "RequestBody": "requestBody", }); }); - /** @internal */ export type RequestAccessToTeamRequest$Outbound = { teamId: string; @@ -360,19 +302,6 @@ export const RequestAccessToTeamRequest$outboundSchema: z.ZodType< }); }); -/** - * @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 { @@ -380,7 +309,6 @@ export function requestAccessToTeamRequestToJSON( RequestAccessToTeamRequest$outboundSchema.parse(requestAccessToTeamRequest), ); } - export function requestAccessToTeamRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -395,30 +323,17 @@ export function requestAccessToTeamRequestFromJSON( 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; @@ -429,20 +344,6 @@ export const RequestAccessToTeamTeamsGitUserId$outboundSchema: z.ZodType< 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 { @@ -452,7 +353,6 @@ export function requestAccessToTeamTeamsGitUserIdToJSON( ), ); } - export function requestAccessToTeamTeamsGitUserIdFromJSON( jsonString: string, ): SafeParseResult { @@ -481,7 +381,6 @@ export const RequestAccessToTeamTeamsJoinedFrom$inboundSchema: z.ZodType< dsyncUserId: z.string().optional(), dsyncConnectedAt: z.number().optional(), }); - /** @internal */ export type RequestAccessToTeamTeamsJoinedFrom$Outbound = { origin: string; @@ -516,20 +415,6 @@ export const RequestAccessToTeamTeamsJoinedFrom$outboundSchema: z.ZodType< 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 { @@ -539,7 +424,6 @@ export function requestAccessToTeamTeamsJoinedFromToJSON( ), ); } - export function requestAccessToTeamTeamsJoinedFromFromJSON( jsonString: string, ): SafeParseResult { @@ -556,7 +440,6 @@ export const Github$inboundSchema: z.ZodType = z .object({ login: z.string().optional(), }); - /** @internal */ export type Github$Outbound = { login?: string | undefined; @@ -571,23 +454,9 @@ export const Github$outboundSchema: z.ZodType< 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 { @@ -603,7 +472,6 @@ export const Gitlab$inboundSchema: z.ZodType = z .object({ login: z.string().optional(), }); - /** @internal */ export type Gitlab$Outbound = { login?: string | undefined; @@ -618,23 +486,9 @@ export const Gitlab$outboundSchema: z.ZodType< 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 { @@ -653,7 +507,6 @@ export const Bitbucket$inboundSchema: z.ZodType< > = z.object({ login: z.string().optional(), }); - /** @internal */ export type Bitbucket$Outbound = { login?: string | undefined; @@ -668,23 +521,9 @@ export const Bitbucket$outboundSchema: z.ZodType< 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 { @@ -711,7 +550,6 @@ export const RequestAccessToTeamResponseBody$inboundSchema: z.ZodType< gitlab: z.nullable(z.lazy(() => Gitlab$inboundSchema)), bitbucket: z.nullable(z.lazy(() => Bitbucket$inboundSchema)), }); - /** @internal */ export type RequestAccessToTeamResponseBody$Outbound = { teamSlug: string; @@ -741,19 +579,6 @@ export const RequestAccessToTeamResponseBody$outboundSchema: z.ZodType< 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 { @@ -763,7 +588,6 @@ export function requestAccessToTeamResponseBodyToJSON( ), ); } - export function requestAccessToTeamResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/requestdeleteop.ts b/src/models/requestdeleteop.ts index 076cb2da9..c30fc2a38 100644 --- a/src/models/requestdeleteop.ts +++ b/src/models/requestdeleteop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -55,7 +55,6 @@ export const RequestDeleteReasons$inboundSchema: z.ZodType< slug: z.string(), description: z.string(), }); - /** @internal */ export type RequestDeleteReasons$Outbound = { slug: string; @@ -72,19 +71,6 @@ export const RequestDeleteReasons$outboundSchema: z.ZodType< 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 { @@ -92,7 +78,6 @@ export function requestDeleteReasonsToJSON( RequestDeleteReasons$outboundSchema.parse(requestDeleteReasons), ); } - export function requestDeleteReasonsFromJSON( jsonString: string, ): SafeParseResult { @@ -111,7 +96,6 @@ export const RequestDeleteRequestBody$inboundSchema: z.ZodType< > = z.object({ reasons: z.array(z.lazy(() => RequestDeleteReasons$inboundSchema)).optional(), }); - /** @internal */ export type RequestDeleteRequestBody$Outbound = { reasons?: Array | undefined; @@ -127,19 +111,6 @@ export const RequestDeleteRequestBody$outboundSchema: z.ZodType< .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 { @@ -147,7 +118,6 @@ export function requestDeleteRequestBodyToJSON( RequestDeleteRequestBody$outboundSchema.parse(requestDeleteRequestBody), ); } - export function requestDeleteRequestBodyFromJSON( jsonString: string, ): SafeParseResult { @@ -168,7 +138,6 @@ export const RequestDeleteResponseBody$inboundSchema: z.ZodType< email: z.string(), message: z.string(), }); - /** @internal */ export type RequestDeleteResponseBody$Outbound = { id: string; @@ -187,19 +156,6 @@ export const RequestDeleteResponseBody$outboundSchema: z.ZodType< 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 { @@ -207,7 +163,6 @@ export function requestDeleteResponseBodyToJSON( RequestDeleteResponseBody$outboundSchema.parse(requestDeleteResponseBody), ); } - export function requestDeleteResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/requestpromoteop.ts b/src/models/requestpromoteop.ts index fbd1269b0..f18197579 100644 --- a/src/models/requestpromoteop.ts +++ b/src/models/requestpromoteop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -31,7 +31,6 @@ export const RequestPromoteRequest$inboundSchema: z.ZodType< teamId: z.string().optional(), slug: z.string().optional(), }); - /** @internal */ export type RequestPromoteRequest$Outbound = { projectId: string; @@ -52,19 +51,6 @@ export const RequestPromoteRequest$outboundSchema: z.ZodType< 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 { @@ -72,7 +58,6 @@ export function requestPromoteRequestToJSON( RequestPromoteRequest$outboundSchema.parse(requestPromoteRequest), ); } - export function requestPromoteRequestFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/rerequestcheckop.ts b/src/models/rerequestcheckop.ts index 2a0a17baf..ce59058bc 100644 --- a/src/models/rerequestcheckop.ts +++ b/src/models/rerequestcheckop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -44,7 +44,6 @@ export const RerequestCheckRequest$inboundSchema: z.ZodType< teamId: z.string().optional(), slug: z.string().optional(), }); - /** @internal */ export type RerequestCheckRequest$Outbound = { deploymentId: string; @@ -67,19 +66,6 @@ export const RerequestCheckRequest$outboundSchema: z.ZodType< 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 { @@ -87,7 +73,6 @@ export function rerequestCheckRequestToJSON( RerequestCheckRequest$outboundSchema.parse(rerequestCheckRequest), ); } - export function rerequestCheckRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -104,7 +89,6 @@ export const RerequestCheckResponseBody$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({}); - /** @internal */ export type RerequestCheckResponseBody$Outbound = {}; @@ -115,19 +99,6 @@ export const RerequestCheckResponseBody$outboundSchema: z.ZodType< 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 { @@ -135,7 +106,6 @@ export function rerequestCheckResponseBodyToJSON( RerequestCheckResponseBody$outboundSchema.parse(rerequestCheckResponseBody), ); } - export function rerequestCheckResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/responsevalidationerror.ts b/src/models/responsevalidationerror.ts index cda5f59b9..ebb6567a1 100644 --- a/src/models/responsevalidationerror.ts +++ b/src/models/responsevalidationerror.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { formatZodError } from "./sdkvalidationerror.js"; import { VercelError } from "./vercelerror.js"; diff --git a/src/models/sdkvalidationerror.ts b/src/models/sdkvalidationerror.ts index 37face8ae..6826e1208 100644 --- a/src/models/sdkvalidationerror.ts +++ b/src/models/sdkvalidationerror.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; export class SDKValidationError extends Error { /** diff --git a/src/models/security.ts b/src/models/security.ts index e82c81809..3ae4d61ef 100644 --- a/src/models/security.ts +++ b/src/models/security.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -19,7 +19,6 @@ export const Security$inboundSchema: z.ZodType< > = z.object({ bearerToken: z.string().optional(), }); - /** @internal */ export type Security$Outbound = { bearerToken?: string | undefined; @@ -34,23 +33,9 @@ export const Security$outboundSchema: z.ZodType< bearerToken: z.string().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 { diff --git a/src/models/statusop.ts b/src/models/statusop.ts index 039549934..1cbbafbc8 100644 --- a/src/models/statusop.ts +++ b/src/models/statusop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; @@ -40,7 +40,6 @@ export const StatusRequest$inboundSchema: z.ZodType< teamId: z.string().optional(), slug: z.string().optional(), }); - /** @internal */ export type StatusRequest$Outbound = { teamId?: string | undefined; @@ -57,23 +56,9 @@ export const StatusRequest$outboundSchema: z.ZodType< 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 { @@ -87,22 +72,10 @@ export function statusRequestFromJSON( /** @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, @@ -111,7 +84,6 @@ export const StatusResponseBody$inboundSchema: z.ZodType< > = z.object({ status: StatusStatus$inboundSchema, }); - /** @internal */ export type StatusResponseBody$Outbound = { status: string; @@ -126,19 +98,6 @@ export const StatusResponseBody$outboundSchema: z.ZodType< 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 { @@ -146,7 +105,6 @@ export function statusResponseBodyToJSON( StatusResponseBody$outboundSchema.parse(statusResponseBody), ); } - export function statusResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/submitbillingdataop.ts b/src/models/submitbillingdataop.ts index 72dd58f14..7ec1afe10 100644 --- a/src/models/submitbillingdataop.ts +++ b/src/models/submitbillingdataop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; @@ -219,7 +219,6 @@ export const Period$inboundSchema: z.ZodType = z 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; @@ -236,23 +235,9 @@ export const Period$outboundSchema: z.ZodType< 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 { @@ -282,7 +267,6 @@ export const BillingItems$inboundSchema: z.ZodType< units: z.string(), total: z.string(), }); - /** @internal */ export type BillingItems$Outbound = { billingPlanId: string; @@ -315,23 +299,9 @@ export const BillingItems$outboundSchema: z.ZodType< 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 { @@ -358,7 +328,6 @@ export const Discounts$inboundSchema: z.ZodType< details: z.string().optional(), amount: z.string(), }); - /** @internal */ export type Discounts$Outbound = { billingPlanId: string; @@ -385,23 +354,9 @@ export const Discounts$outboundSchema: z.ZodType< 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 { @@ -421,7 +376,6 @@ export const Billing2$inboundSchema: z.ZodType< items: z.array(z.lazy(() => BillingItems$inboundSchema)), discounts: z.array(z.lazy(() => Discounts$inboundSchema)).optional(), }); - /** @internal */ export type Billing2$Outbound = { items: Array; @@ -438,23 +392,9 @@ export const Billing2$outboundSchema: z.ZodType< 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 { @@ -484,7 +424,6 @@ export const Billing1$inboundSchema: z.ZodType< units: z.string(), total: z.string(), }); - /** @internal */ export type Billing1$Outbound = { billingPlanId: string; @@ -517,23 +456,9 @@ export const Billing1$outboundSchema: z.ZodType< 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 { @@ -553,7 +478,6 @@ export const SubmitBillingDataBilling$inboundSchema: z.ZodType< z.lazy(() => Billing2$inboundSchema), z.array(z.lazy(() => Billing1$inboundSchema)), ]); - /** @internal */ export type SubmitBillingDataBilling$Outbound = | Billing2$Outbound @@ -569,19 +493,6 @@ export const SubmitBillingDataBilling$outboundSchema: z.ZodType< 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 { @@ -589,7 +500,6 @@ export function submitBillingDataBillingToJSON( SubmitBillingDataBilling$outboundSchema.parse(submitBillingDataBilling), ); } - export function submitBillingDataBillingFromJSON( jsonString: string, ): SafeParseResult { @@ -604,23 +514,11 @@ export function submitBillingDataBillingFromJSON( 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({ @@ -632,7 +530,6 @@ export const Usage$inboundSchema: z.ZodType = z periodValue: z.number(), planValue: z.number().optional(), }); - /** @internal */ export type Usage$Outbound = { resourceId?: string | undefined; @@ -659,23 +556,9 @@ export const Usage$outboundSchema: z.ZodType< 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 { @@ -701,7 +584,6 @@ export const SubmitBillingDataRequestBody$inboundSchema: z.ZodType< ]), usage: z.array(z.lazy(() => Usage$inboundSchema)), }); - /** @internal */ export type SubmitBillingDataRequestBody$Outbound = { timestamp: string; @@ -727,19 +609,6 @@ export const SubmitBillingDataRequestBody$outboundSchema: z.ZodType< 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 { @@ -749,7 +618,6 @@ export function submitBillingDataRequestBodyToJSON( ), ); } - export function submitBillingDataRequestBodyFromJSON( jsonString: string, ): SafeParseResult { @@ -773,7 +641,6 @@ export const SubmitBillingDataRequest$inboundSchema: z.ZodType< "RequestBody": "requestBody", }); }); - /** @internal */ export type SubmitBillingDataRequest$Outbound = { integrationConfigurationId: string; @@ -794,19 +661,6 @@ export const SubmitBillingDataRequest$outboundSchema: z.ZodType< }); }); -/** - * @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 { @@ -814,7 +668,6 @@ export function submitBillingDataRequestToJSON( SubmitBillingDataRequest$outboundSchema.parse(submitBillingDataRequest), ); } - export function submitBillingDataRequestFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/submitinvoiceop.ts b/src/models/submitinvoiceop.ts index a501f00c8..4eb1d548a 100644 --- a/src/models/submitinvoiceop.ts +++ b/src/models/submitinvoiceop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; @@ -129,7 +129,6 @@ export const SubmitInvoicePeriod$inboundSchema: z.ZodType< 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; @@ -146,19 +145,6 @@ export const SubmitInvoicePeriod$outboundSchema: z.ZodType< 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 { @@ -166,7 +152,6 @@ export function submitInvoicePeriodToJSON( SubmitInvoicePeriod$outboundSchema.parse(submitInvoicePeriod), ); } - export function submitInvoicePeriodFromJSON( jsonString: string, ): SafeParseResult { @@ -196,7 +181,6 @@ export const SubmitInvoiceItems$inboundSchema: z.ZodType< units: z.string(), total: z.string(), }); - /** @internal */ export type SubmitInvoiceItems$Outbound = { resourceId?: string | undefined; @@ -229,19 +213,6 @@ export const SubmitInvoiceItems$outboundSchema: z.ZodType< 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 { @@ -249,7 +220,6 @@ export function submitInvoiceItemsToJSON( SubmitInvoiceItems$outboundSchema.parse(submitInvoiceItems), ); } - export function submitInvoiceItemsFromJSON( jsonString: string, ): SafeParseResult { @@ -276,7 +246,6 @@ export const SubmitInvoiceDiscounts$inboundSchema: z.ZodType< details: z.string().optional(), amount: z.string(), }); - /** @internal */ export type SubmitInvoiceDiscounts$Outbound = { resourceId?: string | undefined; @@ -303,19 +272,6 @@ export const SubmitInvoiceDiscounts$outboundSchema: z.ZodType< 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 { @@ -323,7 +279,6 @@ export function submitInvoiceDiscountsToJSON( SubmitInvoiceDiscounts$outboundSchema.parse(submitInvoiceDiscounts), ); } - export function submitInvoiceDiscountsFromJSON( jsonString: string, ): SafeParseResult { @@ -337,29 +292,16 @@ export function submitInvoiceDiscountsFromJSON( /** @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; @@ -373,23 +315,9 @@ export const Test$outboundSchema: z.ZodType = 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 { @@ -417,7 +345,6 @@ export const SubmitInvoiceRequestBody$inboundSchema: z.ZodType< .optional(), test: z.lazy(() => Test$inboundSchema).optional(), }); - /** @internal */ export type SubmitInvoiceRequestBody$Outbound = { externalId?: string | undefined; @@ -445,19 +372,6 @@ export const SubmitInvoiceRequestBody$outboundSchema: z.ZodType< 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 { @@ -465,7 +379,6 @@ export function submitInvoiceRequestBodyToJSON( SubmitInvoiceRequestBody$outboundSchema.parse(submitInvoiceRequestBody), ); } - export function submitInvoiceRequestBodyFromJSON( jsonString: string, ): SafeParseResult { @@ -489,7 +402,6 @@ export const SubmitInvoiceRequest$inboundSchema: z.ZodType< "RequestBody": "requestBody", }); }); - /** @internal */ export type SubmitInvoiceRequest$Outbound = { integrationConfigurationId: string; @@ -510,19 +422,6 @@ export const SubmitInvoiceRequest$outboundSchema: z.ZodType< }); }); -/** - * @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 { @@ -530,7 +429,6 @@ export function submitInvoiceRequestToJSON( SubmitInvoiceRequest$outboundSchema.parse(submitInvoiceRequest), ); } - export function submitInvoiceRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -551,7 +449,6 @@ export const SubmitInvoiceResponseBody$inboundSchema: z.ZodType< test: z.boolean().optional(), validationErrors: z.array(z.string()).optional(), }); - /** @internal */ export type SubmitInvoiceResponseBody$Outbound = { invoiceId?: string | undefined; @@ -570,19 +467,6 @@ export const SubmitInvoiceResponseBody$outboundSchema: z.ZodType< 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 { @@ -590,7 +474,6 @@ export function submitInvoiceResponseBodyToJSON( SubmitInvoiceResponseBody$outboundSchema.parse(submitInvoiceResponseBody), ); } - export function submitInvoiceResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/submitprepaymentbalancesop.ts b/src/models/submitprepaymentbalancesop.ts index 9997392af..33f6ce59c 100644 --- a/src/models/submitprepaymentbalancesop.ts +++ b/src/models/submitprepaymentbalancesop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; @@ -54,7 +54,6 @@ export const Balances$inboundSchema: z.ZodType< nameLabel: z.string().optional(), currencyValueInCents: z.number(), }); - /** @internal */ export type Balances$Outbound = { resourceId?: string | undefined; @@ -75,23 +74,9 @@ export const Balances$outboundSchema: z.ZodType< currencyValueInCents: 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 Balances$ { - /** @deprecated use `Balances$inboundSchema` instead. */ - export const inboundSchema = Balances$inboundSchema; - /** @deprecated use `Balances$outboundSchema` instead. */ - export const outboundSchema = Balances$outboundSchema; - /** @deprecated use `Balances$Outbound` instead. */ - export type Outbound = Balances$Outbound; -} - export function balancesToJSON(balances: Balances): string { return JSON.stringify(Balances$outboundSchema.parse(balances)); } - export function balancesFromJSON( jsonString: string, ): SafeParseResult { @@ -111,7 +96,6 @@ export const SubmitPrepaymentBalancesRequestBody$inboundSchema: z.ZodType< timestamp: z.string().datetime({ offset: true }).transform(v => new Date(v)), balances: z.array(z.lazy(() => Balances$inboundSchema)), }); - /** @internal */ export type SubmitPrepaymentBalancesRequestBody$Outbound = { timestamp: string; @@ -128,21 +112,6 @@ export const SubmitPrepaymentBalancesRequestBody$outboundSchema: z.ZodType< balances: z.array(z.lazy(() => Balances$outboundSchema)), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace SubmitPrepaymentBalancesRequestBody$ { - /** @deprecated use `SubmitPrepaymentBalancesRequestBody$inboundSchema` instead. */ - export const inboundSchema = - SubmitPrepaymentBalancesRequestBody$inboundSchema; - /** @deprecated use `SubmitPrepaymentBalancesRequestBody$outboundSchema` instead. */ - export const outboundSchema = - SubmitPrepaymentBalancesRequestBody$outboundSchema; - /** @deprecated use `SubmitPrepaymentBalancesRequestBody$Outbound` instead. */ - export type Outbound = SubmitPrepaymentBalancesRequestBody$Outbound; -} - export function submitPrepaymentBalancesRequestBodyToJSON( submitPrepaymentBalancesRequestBody: SubmitPrepaymentBalancesRequestBody, ): string { @@ -152,7 +121,6 @@ export function submitPrepaymentBalancesRequestBodyToJSON( ), ); } - export function submitPrepaymentBalancesRequestBodyFromJSON( jsonString: string, ): SafeParseResult { @@ -178,7 +146,6 @@ export const SubmitPrepaymentBalancesRequest$inboundSchema: z.ZodType< "RequestBody": "requestBody", }); }); - /** @internal */ export type SubmitPrepaymentBalancesRequest$Outbound = { integrationConfigurationId: string; @@ -200,19 +167,6 @@ export const SubmitPrepaymentBalancesRequest$outboundSchema: z.ZodType< }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace SubmitPrepaymentBalancesRequest$ { - /** @deprecated use `SubmitPrepaymentBalancesRequest$inboundSchema` instead. */ - export const inboundSchema = SubmitPrepaymentBalancesRequest$inboundSchema; - /** @deprecated use `SubmitPrepaymentBalancesRequest$outboundSchema` instead. */ - export const outboundSchema = SubmitPrepaymentBalancesRequest$outboundSchema; - /** @deprecated use `SubmitPrepaymentBalancesRequest$Outbound` instead. */ - export type Outbound = SubmitPrepaymentBalancesRequest$Outbound; -} - export function submitPrepaymentBalancesRequestToJSON( submitPrepaymentBalancesRequest: SubmitPrepaymentBalancesRequest, ): string { @@ -222,7 +176,6 @@ export function submitPrepaymentBalancesRequestToJSON( ), ); } - export function submitPrepaymentBalancesRequestFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/team.ts b/src/models/team.ts index f034a06d2..f00cc762b 100644 --- a/src/models/team.ts +++ b/src/models/team.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; import { collectExtraKeys as collectExtraKeys$, @@ -124,7 +124,7 @@ export type Saml = { roles?: { [k: string]: Roles1 | Roles2 } | undefined; }; -export const TeamRoles = { +export const TeamTeamRoles = { Owner: "OWNER", Member: "MEMBER", Developer: "DEVELOPER", @@ -134,9 +134,9 @@ export const TeamRoles = { ViewerForPlus: "VIEWER_FOR_PLUS", Contributor: "CONTRIBUTOR", } as const; -export type TeamRoles = ClosedEnum; +export type TeamTeamRoles = ClosedEnum; -export const TeamPermissions = { +export const TeamTeamPermissions = { IntegrationManager: "IntegrationManager", CreateProject: "CreateProject", FullProductionDeployment: "FullProductionDeployment", @@ -147,14 +147,14 @@ export const TeamPermissions = { V0Chatter: "V0Chatter", V0Viewer: "V0Viewer", } as const; -export type TeamPermissions = ClosedEnum; +export type TeamTeamPermissions = ClosedEnum; /** * Default roles for the team. */ export type DefaultRoles = { - teamRoles?: Array | undefined; - teamPermissions?: Array | undefined; + teamRoles?: Array | undefined; + teamPermissions?: Array | undefined; }; export type BuildEntitlements = { @@ -302,7 +302,7 @@ export type Entitlements = { entitlement: string; }; -export const Role = { +export const TeamRole = { Owner: "OWNER", Member: "MEMBER", Developer: "DEVELOPER", @@ -312,9 +312,9 @@ export const Role = { ViewerForPlus: "VIEWER_FOR_PLUS", Contributor: "CONTRIBUTOR", } as const; -export type Role = ClosedEnum; +export type TeamRole = ClosedEnum; -export const TeamTeamRoles = { +export const TeamMembershipTeamRoles = { Owner: "OWNER", Member: "MEMBER", Developer: "DEVELOPER", @@ -324,9 +324,11 @@ export const TeamTeamRoles = { ViewerForPlus: "VIEWER_FOR_PLUS", Contributor: "CONTRIBUTOR", } as const; -export type TeamTeamRoles = ClosedEnum; +export type TeamMembershipTeamRoles = ClosedEnum< + typeof TeamMembershipTeamRoles +>; -export const TeamTeamPermissions = { +export const TeamMembershipTeamPermissions = { IntegrationManager: "IntegrationManager", CreateProject: "CreateProject", FullProductionDeployment: "FullProductionDeployment", @@ -337,7 +339,9 @@ export const TeamTeamPermissions = { V0Chatter: "V0Chatter", V0Viewer: "V0Viewer", } as const; -export type TeamTeamPermissions = ClosedEnum; +export type TeamMembershipTeamPermissions = ClosedEnum< + typeof TeamMembershipTeamPermissions +>; export const Origin = { Link: "link", @@ -379,9 +383,9 @@ export type Membership = { teamId?: string | undefined; confirmed: boolean; accessRequestedAt?: number | undefined; - role: Role; - teamRoles?: Array | undefined; - teamPermissions?: Array | undefined; + role: TeamRole; + teamRoles?: Array | undefined; + teamPermissions?: Array | undefined; createdAt: number; created: number; joinedFrom?: JoinedFrom | undefined; @@ -494,7 +498,7 @@ export type Team = { * UNIX timestamp (in milliseconds) when the Team was created. */ createdAt: number; - additionalProperties?: { [k: string]: any }; + additionalProperties?: { [k: string]: any } | undefined; }; /** @internal */ @@ -502,7 +506,6 @@ export const Connect$inboundSchema: z.ZodType = z.object({ enabled: z.boolean().optional(), }); - /** @internal */ export type Connect$Outbound = { enabled?: boolean | undefined; @@ -517,23 +520,9 @@ export const Connect$outboundSchema: z.ZodType< 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 Connect$ { - /** @deprecated use `Connect$inboundSchema` instead. */ - export const inboundSchema = Connect$inboundSchema; - /** @deprecated use `Connect$outboundSchema` instead. */ - export const outboundSchema = Connect$outboundSchema; - /** @deprecated use `Connect$Outbound` instead. */ - export type Outbound = Connect$Outbound; -} - export function connectToJSON(connect: Connect): string { return JSON.stringify(Connect$outboundSchema.parse(connect)); } - export function connectFromJSON( jsonString: string, ): SafeParseResult { @@ -556,7 +545,6 @@ export const Connection$inboundSchema: z.ZodType< connectedAt: z.number(), lastReceivedWebhookEvent: z.number().optional(), }); - /** @internal */ export type Connection$Outbound = { type: string; @@ -579,23 +567,9 @@ export const Connection$outboundSchema: z.ZodType< lastReceivedWebhookEvent: 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 Connection$ { - /** @deprecated use `Connection$inboundSchema` instead. */ - export const inboundSchema = Connection$inboundSchema; - /** @deprecated use `Connection$outboundSchema` instead. */ - export const outboundSchema = Connection$outboundSchema; - /** @deprecated use `Connection$Outbound` instead. */ - export type Outbound = Connection$Outbound; -} - export function connectionToJSON(connection: Connection): string { return JSON.stringify(Connection$outboundSchema.parse(connection)); } - export function connectionFromJSON( jsonString: string, ): SafeParseResult { @@ -617,7 +591,6 @@ export const Directory$inboundSchema: z.ZodType< connectedAt: z.number(), lastReceivedWebhookEvent: z.number().optional(), }); - /** @internal */ export type Directory$Outbound = { type: string; @@ -638,23 +611,9 @@ export const Directory$outboundSchema: z.ZodType< lastReceivedWebhookEvent: 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 Directory$ { - /** @deprecated use `Directory$inboundSchema` instead. */ - export const inboundSchema = Directory$inboundSchema; - /** @deprecated use `Directory$outboundSchema` instead. */ - export const outboundSchema = Directory$outboundSchema; - /** @deprecated use `Directory$Outbound` instead. */ - export type Outbound = Directory$Outbound; -} - export function directoryToJSON(directory: Directory): string { return JSON.stringify(Directory$outboundSchema.parse(directory)); } - export function directoryFromJSON( jsonString: string, ): SafeParseResult { @@ -669,48 +628,23 @@ export function directoryFromJSON( export const DefaultRedirectUri$inboundSchema: z.ZodNativeEnum< typeof DefaultRedirectUri > = z.nativeEnum(DefaultRedirectUri); - /** @internal */ export const DefaultRedirectUri$outboundSchema: z.ZodNativeEnum< typeof DefaultRedirectUri > = DefaultRedirectUri$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace DefaultRedirectUri$ { - /** @deprecated use `DefaultRedirectUri$inboundSchema` instead. */ - export const inboundSchema = DefaultRedirectUri$inboundSchema; - /** @deprecated use `DefaultRedirectUri$outboundSchema` instead. */ - export const outboundSchema = DefaultRedirectUri$outboundSchema; -} - /** @internal */ export const Roles2$inboundSchema: z.ZodNativeEnum = z .nativeEnum(Roles2); - /** @internal */ export const Roles2$outboundSchema: z.ZodNativeEnum = Roles2$inboundSchema; -/** - * @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; -} - /** @internal */ export const Roles1$inboundSchema: z.ZodType = z .object({ accessGroupId: z.string(), }); - /** @internal */ export type Roles1$Outbound = { accessGroupId: string; @@ -725,23 +659,9 @@ export const Roles1$outboundSchema: z.ZodType< 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 Roles1$ { - /** @deprecated use `Roles1$inboundSchema` instead. */ - export const inboundSchema = Roles1$inboundSchema; - /** @deprecated use `Roles1$outboundSchema` instead. */ - export const outboundSchema = Roles1$outboundSchema; - /** @deprecated use `Roles1$Outbound` instead. */ - export type Outbound = Roles1$Outbound; -} - export function roles1ToJSON(roles1: Roles1): string { return JSON.stringify(Roles1$outboundSchema.parse(roles1)); } - export function roles1FromJSON( jsonString: string, ): SafeParseResult { @@ -755,7 +675,6 @@ export function roles1FromJSON( /** @internal */ export const Roles$inboundSchema: z.ZodType = z .union([z.lazy(() => Roles1$inboundSchema), Roles2$inboundSchema]); - /** @internal */ export type Roles$Outbound = Roles1$Outbound | string; @@ -766,23 +685,9 @@ export const Roles$outboundSchema: z.ZodType< Roles > = z.union([z.lazy(() => Roles1$outboundSchema), Roles2$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 { @@ -804,7 +709,6 @@ export const Saml$inboundSchema: z.ZodType = z z.union([z.lazy(() => Roles1$inboundSchema), Roles2$inboundSchema]), ).optional(), }); - /** @internal */ export type Saml$Outbound = { connection?: Connection$Outbound | undefined; @@ -826,23 +730,9 @@ export const Saml$outboundSchema: z.ZodType = ).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 { @@ -854,44 +744,22 @@ export function samlFromJSON( } /** @internal */ -export const TeamRoles$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(TeamRoles); - +export const TeamTeamRoles$inboundSchema: z.ZodNativeEnum< + typeof TeamTeamRoles +> = z.nativeEnum(TeamTeamRoles); /** @internal */ -export const TeamRoles$outboundSchema: z.ZodNativeEnum = - TeamRoles$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace TeamRoles$ { - /** @deprecated use `TeamRoles$inboundSchema` instead. */ - export const inboundSchema = TeamRoles$inboundSchema; - /** @deprecated use `TeamRoles$outboundSchema` instead. */ - export const outboundSchema = TeamRoles$outboundSchema; -} +export const TeamTeamRoles$outboundSchema: z.ZodNativeEnum< + typeof TeamTeamRoles +> = TeamTeamRoles$inboundSchema; /** @internal */ -export const TeamPermissions$inboundSchema: z.ZodNativeEnum< - typeof TeamPermissions -> = z.nativeEnum(TeamPermissions); - +export const TeamTeamPermissions$inboundSchema: z.ZodNativeEnum< + typeof TeamTeamPermissions +> = z.nativeEnum(TeamTeamPermissions); /** @internal */ -export const TeamPermissions$outboundSchema: z.ZodNativeEnum< - typeof TeamPermissions -> = TeamPermissions$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace TeamPermissions$ { - /** @deprecated use `TeamPermissions$inboundSchema` instead. */ - export const inboundSchema = TeamPermissions$inboundSchema; - /** @deprecated use `TeamPermissions$outboundSchema` instead. */ - export const outboundSchema = TeamPermissions$outboundSchema; -} +export const TeamTeamPermissions$outboundSchema: z.ZodNativeEnum< + typeof TeamTeamPermissions +> = TeamTeamPermissions$inboundSchema; /** @internal */ export const DefaultRoles$inboundSchema: z.ZodType< @@ -899,10 +767,9 @@ export const DefaultRoles$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - teamRoles: z.array(TeamRoles$inboundSchema).optional(), - teamPermissions: z.array(TeamPermissions$inboundSchema).optional(), + teamRoles: z.array(TeamTeamRoles$inboundSchema).optional(), + teamPermissions: z.array(TeamTeamPermissions$inboundSchema).optional(), }); - /** @internal */ export type DefaultRoles$Outbound = { teamRoles?: Array | undefined; @@ -915,27 +782,13 @@ export const DefaultRoles$outboundSchema: z.ZodType< z.ZodTypeDef, DefaultRoles > = z.object({ - teamRoles: z.array(TeamRoles$outboundSchema).optional(), - teamPermissions: z.array(TeamPermissions$outboundSchema).optional(), + teamRoles: z.array(TeamTeamRoles$outboundSchema).optional(), + teamPermissions: z.array(TeamTeamPermissions$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 DefaultRoles$ { - /** @deprecated use `DefaultRoles$inboundSchema` instead. */ - export const inboundSchema = DefaultRoles$inboundSchema; - /** @deprecated use `DefaultRoles$outboundSchema` instead. */ - export const outboundSchema = DefaultRoles$outboundSchema; - /** @deprecated use `DefaultRoles$Outbound` instead. */ - export type Outbound = DefaultRoles$Outbound; -} - export function defaultRolesToJSON(defaultRoles: DefaultRoles): string { return JSON.stringify(DefaultRoles$outboundSchema.parse(defaultRoles)); } - export function defaultRolesFromJSON( jsonString: string, ): SafeParseResult { @@ -954,7 +807,6 @@ export const BuildEntitlements$inboundSchema: z.ZodType< > = z.object({ enhancedBuilds: z.boolean().optional(), }); - /** @internal */ export type BuildEntitlements$Outbound = { enhancedBuilds?: boolean | undefined; @@ -969,19 +821,6 @@ export const BuildEntitlements$outboundSchema: z.ZodType< enhancedBuilds: 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 BuildEntitlements$ { - /** @deprecated use `BuildEntitlements$inboundSchema` instead. */ - export const inboundSchema = BuildEntitlements$inboundSchema; - /** @deprecated use `BuildEntitlements$outboundSchema` instead. */ - export const outboundSchema = BuildEntitlements$outboundSchema; - /** @deprecated use `BuildEntitlements$Outbound` instead. */ - export type Outbound = BuildEntitlements$Outbound; -} - export function buildEntitlementsToJSON( buildEntitlements: BuildEntitlements, ): string { @@ -989,7 +828,6 @@ export function buildEntitlementsToJSON( BuildEntitlements$outboundSchema.parse(buildEntitlements), ); } - export function buildEntitlementsFromJSON( jsonString: string, ): SafeParseResult { @@ -1015,7 +853,6 @@ export const ResourceConfig$inboundSchema: z.ZodType< postgresDatabases: z.number().optional(), buildEntitlements: z.lazy(() => BuildEntitlements$inboundSchema).optional(), }); - /** @internal */ export type ResourceConfig$Outbound = { concurrentBuilds?: number | undefined; @@ -1044,23 +881,9 @@ export const ResourceConfig$outboundSchema: z.ZodType< buildEntitlements: z.lazy(() => BuildEntitlements$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 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 { @@ -1077,7 +900,6 @@ export const DisableHardAutoBlocks$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.union([z.number(), z.boolean()]); - /** @internal */ export type DisableHardAutoBlocks$Outbound = number | boolean; @@ -1088,19 +910,6 @@ export const DisableHardAutoBlocks$outboundSchema: z.ZodType< DisableHardAutoBlocks > = 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 DisableHardAutoBlocks$ { - /** @deprecated use `DisableHardAutoBlocks$inboundSchema` instead. */ - export const inboundSchema = DisableHardAutoBlocks$inboundSchema; - /** @deprecated use `DisableHardAutoBlocks$outboundSchema` instead. */ - export const outboundSchema = DisableHardAutoBlocks$outboundSchema; - /** @deprecated use `DisableHardAutoBlocks$Outbound` instead. */ - export type Outbound = DisableHardAutoBlocks$Outbound; -} - export function disableHardAutoBlocksToJSON( disableHardAutoBlocks: DisableHardAutoBlocks, ): string { @@ -1108,7 +917,6 @@ export function disableHardAutoBlocksToJSON( DisableHardAutoBlocks$outboundSchema.parse(disableHardAutoBlocks), ); } - export function disableHardAutoBlocksFromJSON( jsonString: string, ): SafeParseResult { @@ -1127,7 +935,6 @@ export const RemoteCaching$inboundSchema: z.ZodType< > = z.object({ enabled: z.boolean().optional(), }); - /** @internal */ export type RemoteCaching$Outbound = { enabled?: boolean | undefined; @@ -1142,23 +949,9 @@ export const RemoteCaching$outboundSchema: z.ZodType< 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 { @@ -1177,7 +970,6 @@ export const PasswordProtection$inboundSchema: z.ZodType< > = z.object({ deploymentType: z.string(), }); - /** @internal */ export type PasswordProtection$Outbound = { deploymentType: string; @@ -1192,19 +984,6 @@ export const PasswordProtection$outboundSchema: z.ZodType< deploymentType: z.string(), }); -/** - * @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 { @@ -1212,7 +991,6 @@ export function passwordProtectionToJSON( PasswordProtection$outboundSchema.parse(passwordProtection), ); } - export function passwordProtectionFromJSON( jsonString: string, ): SafeParseResult { @@ -1231,7 +1009,6 @@ export const SsoProtection$inboundSchema: z.ZodType< > = z.object({ deploymentType: z.string(), }); - /** @internal */ export type SsoProtection$Outbound = { deploymentType: string; @@ -1246,23 +1023,9 @@ export const SsoProtection$outboundSchema: z.ZodType< deploymentType: z.string(), }); -/** - * @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 { @@ -1282,7 +1045,6 @@ export const DefaultDeploymentProtection$inboundSchema: z.ZodType< passwordProtection: z.lazy(() => PasswordProtection$inboundSchema).optional(), ssoProtection: z.lazy(() => SsoProtection$inboundSchema).optional(), }); - /** @internal */ export type DefaultDeploymentProtection$Outbound = { passwordProtection?: PasswordProtection$Outbound | undefined; @@ -1300,19 +1062,6 @@ export const DefaultDeploymentProtection$outboundSchema: z.ZodType< ssoProtection: z.lazy(() => SsoProtection$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 DefaultDeploymentProtection$ { - /** @deprecated use `DefaultDeploymentProtection$inboundSchema` instead. */ - export const inboundSchema = DefaultDeploymentProtection$inboundSchema; - /** @deprecated use `DefaultDeploymentProtection$outboundSchema` instead. */ - export const outboundSchema = DefaultDeploymentProtection$outboundSchema; - /** @deprecated use `DefaultDeploymentProtection$Outbound` instead. */ - export type Outbound = DefaultDeploymentProtection$Outbound; -} - export function defaultDeploymentProtectionToJSON( defaultDeploymentProtection: DefaultDeploymentProtection, ): string { @@ -1322,7 +1071,6 @@ export function defaultDeploymentProtectionToJSON( ), ); } - export function defaultDeploymentProtectionFromJSON( jsonString: string, ): SafeParseResult { @@ -1345,7 +1093,6 @@ export const DefaultExpirationSettings$inboundSchema: z.ZodType< expirationDaysErrored: z.number().optional(), deploymentsToKeep: z.number().optional(), }); - /** @internal */ export type DefaultExpirationSettings$Outbound = { expirationDays?: number | undefined; @@ -1368,19 +1115,6 @@ export const DefaultExpirationSettings$outboundSchema: z.ZodType< 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 DefaultExpirationSettings$ { - /** @deprecated use `DefaultExpirationSettings$inboundSchema` instead. */ - export const inboundSchema = DefaultExpirationSettings$inboundSchema; - /** @deprecated use `DefaultExpirationSettings$outboundSchema` instead. */ - export const outboundSchema = DefaultExpirationSettings$outboundSchema; - /** @deprecated use `DefaultExpirationSettings$Outbound` instead. */ - export type Outbound = DefaultExpirationSettings$Outbound; -} - export function defaultExpirationSettingsToJSON( defaultExpirationSettings: DefaultExpirationSettings, ): string { @@ -1388,7 +1122,6 @@ export function defaultExpirationSettingsToJSON( DefaultExpirationSettings$outboundSchema.parse(defaultExpirationSettings), ); } - export function defaultExpirationSettingsFromJSON( jsonString: string, ): SafeParseResult { @@ -1403,66 +1136,29 @@ export function defaultExpirationSettingsFromJSON( export const EnablePreviewFeedback$inboundSchema: z.ZodNativeEnum< typeof EnablePreviewFeedback > = z.nativeEnum(EnablePreviewFeedback); - /** @internal */ export const EnablePreviewFeedback$outboundSchema: z.ZodNativeEnum< typeof EnablePreviewFeedback > = EnablePreviewFeedback$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace EnablePreviewFeedback$ { - /** @deprecated use `EnablePreviewFeedback$inboundSchema` instead. */ - export const inboundSchema = EnablePreviewFeedback$inboundSchema; - /** @deprecated use `EnablePreviewFeedback$outboundSchema` instead. */ - export const outboundSchema = EnablePreviewFeedback$outboundSchema; -} - /** @internal */ export const EnableProductionFeedback$inboundSchema: z.ZodNativeEnum< typeof EnableProductionFeedback > = z.nativeEnum(EnableProductionFeedback); - /** @internal */ export const EnableProductionFeedback$outboundSchema: z.ZodNativeEnum< typeof EnableProductionFeedback > = EnableProductionFeedback$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace EnableProductionFeedback$ { - /** @deprecated use `EnableProductionFeedback$inboundSchema` instead. */ - export const inboundSchema = EnableProductionFeedback$inboundSchema; - /** @deprecated use `EnableProductionFeedback$outboundSchema` instead. */ - export const outboundSchema = EnableProductionFeedback$outboundSchema; -} - /** @internal */ export const SensitiveEnvironmentVariablePolicy$inboundSchema: z.ZodNativeEnum< typeof SensitiveEnvironmentVariablePolicy > = z.nativeEnum(SensitiveEnvironmentVariablePolicy); - /** @internal */ export const SensitiveEnvironmentVariablePolicy$outboundSchema: z.ZodNativeEnum< typeof SensitiveEnvironmentVariablePolicy > = SensitiveEnvironmentVariablePolicy$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace SensitiveEnvironmentVariablePolicy$ { - /** @deprecated use `SensitiveEnvironmentVariablePolicy$inboundSchema` instead. */ - export const inboundSchema = SensitiveEnvironmentVariablePolicy$inboundSchema; - /** @deprecated use `SensitiveEnvironmentVariablePolicy$outboundSchema` instead. */ - export const outboundSchema = - SensitiveEnvironmentVariablePolicy$outboundSchema; -} - /** @internal */ export const IpBuckets$inboundSchema: z.ZodType< IpBuckets, @@ -1472,7 +1168,6 @@ export const IpBuckets$inboundSchema: z.ZodType< bucket: z.string(), supportUntil: z.number().optional(), }); - /** @internal */ export type IpBuckets$Outbound = { bucket: string; @@ -1489,23 +1184,9 @@ export const IpBuckets$outboundSchema: z.ZodType< 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 { @@ -1524,7 +1205,6 @@ export const Entitlements$inboundSchema: z.ZodType< > = z.object({ entitlement: z.string(), }); - /** @internal */ export type Entitlements$Outbound = { entitlement: string; @@ -1539,23 +1219,9 @@ export const Entitlements$outboundSchema: z.ZodType< entitlement: z.string(), }); -/** - * @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; - /** @deprecated use `Entitlements$Outbound` instead. */ - export type Outbound = Entitlements$Outbound; -} - export function entitlementsToJSON(entitlements: Entitlements): string { return JSON.stringify(Entitlements$outboundSchema.parse(entitlements)); } - export function entitlementsFromJSON( jsonString: string, ): SafeParseResult { @@ -1567,93 +1233,43 @@ export function entitlementsFromJSON( } /** @internal */ -export const Role$inboundSchema: z.ZodNativeEnum = z.nativeEnum( - Role, -); - +export const TeamRole$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(TeamRole); /** @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; -} +export const TeamRole$outboundSchema: z.ZodNativeEnum = + TeamRole$inboundSchema; /** @internal */ -export const TeamTeamRoles$inboundSchema: z.ZodNativeEnum< - typeof TeamTeamRoles -> = z.nativeEnum(TeamTeamRoles); - +export const TeamMembershipTeamRoles$inboundSchema: z.ZodNativeEnum< + typeof TeamMembershipTeamRoles +> = z.nativeEnum(TeamMembershipTeamRoles); /** @internal */ -export const TeamTeamRoles$outboundSchema: z.ZodNativeEnum< - typeof TeamTeamRoles -> = TeamTeamRoles$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace TeamTeamRoles$ { - /** @deprecated use `TeamTeamRoles$inboundSchema` instead. */ - export const inboundSchema = TeamTeamRoles$inboundSchema; - /** @deprecated use `TeamTeamRoles$outboundSchema` instead. */ - export const outboundSchema = TeamTeamRoles$outboundSchema; -} +export const TeamMembershipTeamRoles$outboundSchema: z.ZodNativeEnum< + typeof TeamMembershipTeamRoles +> = TeamMembershipTeamRoles$inboundSchema; /** @internal */ -export const TeamTeamPermissions$inboundSchema: z.ZodNativeEnum< - typeof TeamTeamPermissions -> = z.nativeEnum(TeamTeamPermissions); - +export const TeamMembershipTeamPermissions$inboundSchema: z.ZodNativeEnum< + typeof TeamMembershipTeamPermissions +> = z.nativeEnum(TeamMembershipTeamPermissions); /** @internal */ -export const TeamTeamPermissions$outboundSchema: z.ZodNativeEnum< - typeof TeamTeamPermissions -> = TeamTeamPermissions$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace TeamTeamPermissions$ { - /** @deprecated use `TeamTeamPermissions$inboundSchema` instead. */ - export const inboundSchema = TeamTeamPermissions$inboundSchema; - /** @deprecated use `TeamTeamPermissions$outboundSchema` instead. */ - export const outboundSchema = TeamTeamPermissions$outboundSchema; -} +export const TeamMembershipTeamPermissions$outboundSchema: z.ZodNativeEnum< + typeof TeamMembershipTeamPermissions +> = TeamMembershipTeamPermissions$inboundSchema; /** @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; @@ -1664,23 +1280,9 @@ export const GitUserId$outboundSchema: z.ZodType< 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 { @@ -1709,7 +1311,6 @@ export const JoinedFrom$inboundSchema: z.ZodType< dsyncUserId: z.string().optional(), dsyncConnectedAt: z.number().optional(), }); - /** @internal */ export type JoinedFrom$Outbound = { origin: string; @@ -1744,23 +1345,9 @@ export const JoinedFrom$outboundSchema: z.ZodType< 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 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 { @@ -1782,14 +1369,14 @@ export const Membership$inboundSchema: z.ZodType< teamId: z.string().optional(), confirmed: z.boolean(), accessRequestedAt: z.number().optional(), - role: Role$inboundSchema, - teamRoles: z.array(TeamTeamRoles$inboundSchema).optional(), - teamPermissions: z.array(TeamTeamPermissions$inboundSchema).optional(), + role: TeamRole$inboundSchema, + teamRoles: z.array(TeamMembershipTeamRoles$inboundSchema).optional(), + teamPermissions: z.array(TeamMembershipTeamPermissions$inboundSchema) + .optional(), createdAt: z.number(), created: z.number(), joinedFrom: z.lazy(() => JoinedFrom$inboundSchema).optional(), }); - /** @internal */ export type Membership$Outbound = { uid?: string | undefined; @@ -1816,31 +1403,18 @@ export const Membership$outboundSchema: z.ZodType< teamId: z.string().optional(), confirmed: z.boolean(), accessRequestedAt: z.number().optional(), - role: Role$outboundSchema, - teamRoles: z.array(TeamTeamRoles$outboundSchema).optional(), - teamPermissions: z.array(TeamTeamPermissions$outboundSchema).optional(), + role: TeamRole$outboundSchema, + teamRoles: z.array(TeamMembershipTeamRoles$outboundSchema).optional(), + teamPermissions: z.array(TeamMembershipTeamPermissions$outboundSchema) + .optional(), createdAt: z.number(), created: z.number(), joinedFrom: z.lazy(() => JoinedFrom$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 Membership$ { - /** @deprecated use `Membership$inboundSchema` instead. */ - export const inboundSchema = Membership$inboundSchema; - /** @deprecated use `Membership$outboundSchema` instead. */ - export const outboundSchema = Membership$outboundSchema; - /** @deprecated use `Membership$Outbound` instead. */ - export type Outbound = Membership$Outbound; -} - export function membershipToJSON(membership: Membership): string { return JSON.stringify(Membership$outboundSchema.parse(membership)); } - export function membershipFromJSON( jsonString: string, ): SafeParseResult { @@ -1896,7 +1470,6 @@ export const Team$inboundSchema: z.ZodType = "additionalProperties", true, ); - /** @internal */ export type Team$Outbound = { connect?: Connect$Outbound | undefined; @@ -1972,7 +1545,7 @@ export const Team$outboundSchema: z.ZodType = avatar: z.nullable(z.string()), membership: z.lazy(() => Membership$outboundSchema), createdAt: z.number(), - additionalProperties: z.record(z.any()), + additionalProperties: z.record(z.any()).optional(), }).transform((v) => { return { ...v.additionalProperties, @@ -1982,23 +1555,9 @@ export const Team$outboundSchema: z.ZodType = }; }); -/** - * @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 { diff --git a/src/models/teamlimited.ts b/src/models/teamlimited.ts index c0c0ed1c1..e87e5df33 100644 --- a/src/models/teamlimited.ts +++ b/src/models/teamlimited.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; @@ -213,22 +213,10 @@ export type TeamLimited = { /** @internal */ export const LimitedBy$inboundSchema: z.ZodNativeEnum = z .nativeEnum(LimitedBy); - /** @internal */ export const LimitedBy$outboundSchema: z.ZodNativeEnum = LimitedBy$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace LimitedBy$ { - /** @deprecated use `LimitedBy$inboundSchema` instead. */ - export const inboundSchema = LimitedBy$inboundSchema; - /** @deprecated use `LimitedBy$outboundSchema` instead. */ - export const outboundSchema = LimitedBy$outboundSchema; -} - /** @internal */ export const TeamLimitedConnection$inboundSchema: z.ZodType< TeamLimitedConnection, @@ -241,7 +229,6 @@ export const TeamLimitedConnection$inboundSchema: z.ZodType< connectedAt: z.number(), lastReceivedWebhookEvent: z.number().optional(), }); - /** @internal */ export type TeamLimitedConnection$Outbound = { type: string; @@ -264,19 +251,6 @@ export const TeamLimitedConnection$outboundSchema: z.ZodType< lastReceivedWebhookEvent: 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 TeamLimitedConnection$ { - /** @deprecated use `TeamLimitedConnection$inboundSchema` instead. */ - export const inboundSchema = TeamLimitedConnection$inboundSchema; - /** @deprecated use `TeamLimitedConnection$outboundSchema` instead. */ - export const outboundSchema = TeamLimitedConnection$outboundSchema; - /** @deprecated use `TeamLimitedConnection$Outbound` instead. */ - export type Outbound = TeamLimitedConnection$Outbound; -} - export function teamLimitedConnectionToJSON( teamLimitedConnection: TeamLimitedConnection, ): string { @@ -284,7 +258,6 @@ export function teamLimitedConnectionToJSON( TeamLimitedConnection$outboundSchema.parse(teamLimitedConnection), ); } - export function teamLimitedConnectionFromJSON( jsonString: string, ): SafeParseResult { @@ -306,7 +279,6 @@ export const TeamLimitedDirectory$inboundSchema: z.ZodType< connectedAt: z.number(), lastReceivedWebhookEvent: z.number().optional(), }); - /** @internal */ export type TeamLimitedDirectory$Outbound = { type: string; @@ -327,19 +299,6 @@ export const TeamLimitedDirectory$outboundSchema: z.ZodType< lastReceivedWebhookEvent: 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 TeamLimitedDirectory$ { - /** @deprecated use `TeamLimitedDirectory$inboundSchema` instead. */ - export const inboundSchema = TeamLimitedDirectory$inboundSchema; - /** @deprecated use `TeamLimitedDirectory$outboundSchema` instead. */ - export const outboundSchema = TeamLimitedDirectory$outboundSchema; - /** @deprecated use `TeamLimitedDirectory$Outbound` instead. */ - export type Outbound = TeamLimitedDirectory$Outbound; -} - export function teamLimitedDirectoryToJSON( teamLimitedDirectory: TeamLimitedDirectory, ): string { @@ -347,7 +306,6 @@ export function teamLimitedDirectoryToJSON( TeamLimitedDirectory$outboundSchema.parse(teamLimitedDirectory), ); } - export function teamLimitedDirectoryFromJSON( jsonString: string, ): SafeParseResult { @@ -368,7 +326,6 @@ export const TeamLimitedSaml$inboundSchema: z.ZodType< directory: z.lazy(() => TeamLimitedDirectory$inboundSchema).optional(), enforced: z.boolean(), }); - /** @internal */ export type TeamLimitedSaml$Outbound = { connection?: TeamLimitedConnection$Outbound | undefined; @@ -387,25 +344,11 @@ export const TeamLimitedSaml$outboundSchema: z.ZodType< enforced: 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 TeamLimitedSaml$ { - /** @deprecated use `TeamLimitedSaml$inboundSchema` instead. */ - export const inboundSchema = TeamLimitedSaml$inboundSchema; - /** @deprecated use `TeamLimitedSaml$outboundSchema` instead. */ - export const outboundSchema = TeamLimitedSaml$outboundSchema; - /** @deprecated use `TeamLimitedSaml$Outbound` instead. */ - export type Outbound = TeamLimitedSaml$Outbound; -} - export function teamLimitedSamlToJSON( teamLimitedSaml: TeamLimitedSaml, ): string { return JSON.stringify(TeamLimitedSaml$outboundSchema.parse(teamLimitedSaml)); } - export function teamLimitedSamlFromJSON( jsonString: string, ): SafeParseResult { @@ -424,7 +367,6 @@ export const TeamLimitedEntitlements$inboundSchema: z.ZodType< > = z.object({ entitlement: z.string(), }); - /** @internal */ export type TeamLimitedEntitlements$Outbound = { entitlement: string; @@ -439,19 +381,6 @@ export const TeamLimitedEntitlements$outboundSchema: z.ZodType< entitlement: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace TeamLimitedEntitlements$ { - /** @deprecated use `TeamLimitedEntitlements$inboundSchema` instead. */ - export const inboundSchema = TeamLimitedEntitlements$inboundSchema; - /** @deprecated use `TeamLimitedEntitlements$outboundSchema` instead. */ - export const outboundSchema = TeamLimitedEntitlements$outboundSchema; - /** @deprecated use `TeamLimitedEntitlements$Outbound` instead. */ - export type Outbound = TeamLimitedEntitlements$Outbound; -} - export function teamLimitedEntitlementsToJSON( teamLimitedEntitlements: TeamLimitedEntitlements, ): string { @@ -459,7 +388,6 @@ export function teamLimitedEntitlementsToJSON( TeamLimitedEntitlements$outboundSchema.parse(teamLimitedEntitlements), ); } - export function teamLimitedEntitlementsFromJSON( jsonString: string, ): SafeParseResult { @@ -474,93 +402,44 @@ export function teamLimitedEntitlementsFromJSON( export const TeamLimitedRole$inboundSchema: z.ZodNativeEnum< typeof TeamLimitedRole > = z.nativeEnum(TeamLimitedRole); - /** @internal */ export const TeamLimitedRole$outboundSchema: z.ZodNativeEnum< typeof TeamLimitedRole > = TeamLimitedRole$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace TeamLimitedRole$ { - /** @deprecated use `TeamLimitedRole$inboundSchema` instead. */ - export const inboundSchema = TeamLimitedRole$inboundSchema; - /** @deprecated use `TeamLimitedRole$outboundSchema` instead. */ - export const outboundSchema = TeamLimitedRole$outboundSchema; -} - /** @internal */ export const TeamLimitedTeamRoles$inboundSchema: z.ZodNativeEnum< typeof TeamLimitedTeamRoles > = z.nativeEnum(TeamLimitedTeamRoles); - /** @internal */ export const TeamLimitedTeamRoles$outboundSchema: z.ZodNativeEnum< typeof TeamLimitedTeamRoles > = TeamLimitedTeamRoles$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace TeamLimitedTeamRoles$ { - /** @deprecated use `TeamLimitedTeamRoles$inboundSchema` instead. */ - export const inboundSchema = TeamLimitedTeamRoles$inboundSchema; - /** @deprecated use `TeamLimitedTeamRoles$outboundSchema` instead. */ - export const outboundSchema = TeamLimitedTeamRoles$outboundSchema; -} - /** @internal */ export const TeamLimitedTeamPermissions$inboundSchema: z.ZodNativeEnum< typeof TeamLimitedTeamPermissions > = z.nativeEnum(TeamLimitedTeamPermissions); - /** @internal */ export const TeamLimitedTeamPermissions$outboundSchema: z.ZodNativeEnum< typeof TeamLimitedTeamPermissions > = TeamLimitedTeamPermissions$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace TeamLimitedTeamPermissions$ { - /** @deprecated use `TeamLimitedTeamPermissions$inboundSchema` instead. */ - export const inboundSchema = TeamLimitedTeamPermissions$inboundSchema; - /** @deprecated use `TeamLimitedTeamPermissions$outboundSchema` instead. */ - export const outboundSchema = TeamLimitedTeamPermissions$outboundSchema; -} - /** @internal */ export const TeamLimitedOrigin$inboundSchema: z.ZodNativeEnum< typeof TeamLimitedOrigin > = z.nativeEnum(TeamLimitedOrigin); - /** @internal */ export const TeamLimitedOrigin$outboundSchema: z.ZodNativeEnum< typeof TeamLimitedOrigin > = TeamLimitedOrigin$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace TeamLimitedOrigin$ { - /** @deprecated use `TeamLimitedOrigin$inboundSchema` instead. */ - export const inboundSchema = TeamLimitedOrigin$inboundSchema; - /** @deprecated use `TeamLimitedOrigin$outboundSchema` instead. */ - export const outboundSchema = TeamLimitedOrigin$outboundSchema; -} - /** @internal */ export const TeamLimitedGitUserId$inboundSchema: z.ZodType< TeamLimitedGitUserId, z.ZodTypeDef, unknown > = z.union([z.string(), z.number()]); - /** @internal */ export type TeamLimitedGitUserId$Outbound = string | number; @@ -571,19 +450,6 @@ export const TeamLimitedGitUserId$outboundSchema: z.ZodType< TeamLimitedGitUserId > = 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 TeamLimitedGitUserId$ { - /** @deprecated use `TeamLimitedGitUserId$inboundSchema` instead. */ - export const inboundSchema = TeamLimitedGitUserId$inboundSchema; - /** @deprecated use `TeamLimitedGitUserId$outboundSchema` instead. */ - export const outboundSchema = TeamLimitedGitUserId$outboundSchema; - /** @deprecated use `TeamLimitedGitUserId$Outbound` instead. */ - export type Outbound = TeamLimitedGitUserId$Outbound; -} - export function teamLimitedGitUserIdToJSON( teamLimitedGitUserId: TeamLimitedGitUserId, ): string { @@ -591,7 +457,6 @@ export function teamLimitedGitUserIdToJSON( TeamLimitedGitUserId$outboundSchema.parse(teamLimitedGitUserId), ); } - export function teamLimitedGitUserIdFromJSON( jsonString: string, ): SafeParseResult { @@ -620,7 +485,6 @@ export const TeamLimitedJoinedFrom$inboundSchema: z.ZodType< dsyncUserId: z.string().optional(), dsyncConnectedAt: z.number().optional(), }); - /** @internal */ export type TeamLimitedJoinedFrom$Outbound = { origin: string; @@ -655,19 +519,6 @@ export const TeamLimitedJoinedFrom$outboundSchema: z.ZodType< 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 TeamLimitedJoinedFrom$ { - /** @deprecated use `TeamLimitedJoinedFrom$inboundSchema` instead. */ - export const inboundSchema = TeamLimitedJoinedFrom$inboundSchema; - /** @deprecated use `TeamLimitedJoinedFrom$outboundSchema` instead. */ - export const outboundSchema = TeamLimitedJoinedFrom$outboundSchema; - /** @deprecated use `TeamLimitedJoinedFrom$Outbound` instead. */ - export type Outbound = TeamLimitedJoinedFrom$Outbound; -} - export function teamLimitedJoinedFromToJSON( teamLimitedJoinedFrom: TeamLimitedJoinedFrom, ): string { @@ -675,7 +526,6 @@ export function teamLimitedJoinedFromToJSON( TeamLimitedJoinedFrom$outboundSchema.parse(teamLimitedJoinedFrom), ); } - export function teamLimitedJoinedFromFromJSON( jsonString: string, ): SafeParseResult { @@ -705,7 +555,6 @@ export const TeamLimitedMembership$inboundSchema: z.ZodType< created: z.number(), joinedFrom: z.lazy(() => TeamLimitedJoinedFrom$inboundSchema).optional(), }); - /** @internal */ export type TeamLimitedMembership$Outbound = { uid?: string | undefined; @@ -742,19 +591,6 @@ export const TeamLimitedMembership$outboundSchema: z.ZodType< joinedFrom: z.lazy(() => TeamLimitedJoinedFrom$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 TeamLimitedMembership$ { - /** @deprecated use `TeamLimitedMembership$inboundSchema` instead. */ - export const inboundSchema = TeamLimitedMembership$inboundSchema; - /** @deprecated use `TeamLimitedMembership$outboundSchema` instead. */ - export const outboundSchema = TeamLimitedMembership$outboundSchema; - /** @deprecated use `TeamLimitedMembership$Outbound` instead. */ - export type Outbound = TeamLimitedMembership$Outbound; -} - export function teamLimitedMembershipToJSON( teamLimitedMembership: TeamLimitedMembership, ): string { @@ -762,7 +598,6 @@ export function teamLimitedMembershipToJSON( TeamLimitedMembership$outboundSchema.parse(teamLimitedMembership), ); } - export function teamLimitedMembershipFromJSON( jsonString: string, ): SafeParseResult { @@ -789,7 +624,6 @@ export const TeamLimited$inboundSchema: z.ZodType< membership: z.lazy(() => TeamLimitedMembership$inboundSchema), createdAt: z.number(), }); - /** @internal */ export type TeamLimited$Outbound = { limited: boolean; @@ -820,23 +654,9 @@ export const TeamLimited$outboundSchema: z.ZodType< 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 TeamLimited$ { - /** @deprecated use `TeamLimited$inboundSchema` instead. */ - export const inboundSchema = TeamLimited$inboundSchema; - /** @deprecated use `TeamLimited$outboundSchema` instead. */ - export const outboundSchema = TeamLimited$outboundSchema; - /** @deprecated use `TeamLimited$Outbound` instead. */ - export type Outbound = TeamLimited$Outbound; -} - export function teamLimitedToJSON(teamLimited: TeamLimited): string { return JSON.stringify(TeamLimited$outboundSchema.parse(teamLimited)); } - export function teamLimitedFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/testdrainop.ts b/src/models/testdrainop.ts new file mode 100644 index 000000000..ac4efcecc --- /dev/null +++ b/src/models/testdrainop.ts @@ -0,0 +1,596 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +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 TestDrainSchemas = { + version: string; +}; + +export type TestDrainEndpoint1 = { + traces: string; +}; + +export type TestDrainDeliveryEndpoint = TestDrainEndpoint1; + +export const TestDrainDeliveryDrainsEncoding = { + Proto: "proto", + Json: "json", +} as const; +export type TestDrainDeliveryDrainsEncoding = ClosedEnum< + typeof TestDrainDeliveryDrainsEncoding +>; + +export type TestDrainDelivery2 = { + type: string; + endpoint: TestDrainEndpoint1; + encoding: TestDrainDeliveryDrainsEncoding; + headers: { [k: string]: string }; + secret?: string | undefined; +}; + +export const TestDrainDeliveryCompression = { + Gzip: "gzip", + None: "none", +} as const; +export type TestDrainDeliveryCompression = ClosedEnum< + typeof TestDrainDeliveryCompression +>; + +export const TestDrainDeliveryEncoding = { + Json: "json", + Ndjson: "ndjson", +} as const; +export type TestDrainDeliveryEncoding = ClosedEnum< + typeof TestDrainDeliveryEncoding +>; + +export type TestDrainDelivery1 = { + type: string; + endpoint: string; + compression?: TestDrainDeliveryCompression | undefined; + encoding: TestDrainDeliveryEncoding; + headers: { [k: string]: string }; + secret?: string | undefined; +}; + +export type TestDrainDelivery = TestDrainDelivery1 | TestDrainDelivery2; + +export type TestDrainRequestBody = { + schemas: { [k: string]: TestDrainSchemas }; + delivery: TestDrainDelivery1 | TestDrainDelivery2; +}; + +export type TestDrainRequest = { + /** + * 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?: TestDrainRequestBody | undefined; +}; + +export type TestDrainResponseBody2 = { + status: string; + error: string; + endpoint: string; +}; + +export type TestDrainResponseBody1 = {}; + +export type TestDrainResponseBody = + | TestDrainResponseBody2 + | TestDrainResponseBody1; + +/** @internal */ +export const TestDrainSchemas$inboundSchema: z.ZodType< + TestDrainSchemas, + z.ZodTypeDef, + unknown +> = z.object({ + version: z.string(), +}); +/** @internal */ +export type TestDrainSchemas$Outbound = { + version: string; +}; + +/** @internal */ +export const TestDrainSchemas$outboundSchema: z.ZodType< + TestDrainSchemas$Outbound, + z.ZodTypeDef, + TestDrainSchemas +> = z.object({ + version: z.string(), +}); + +export function testDrainSchemasToJSON( + testDrainSchemas: TestDrainSchemas, +): string { + return JSON.stringify( + TestDrainSchemas$outboundSchema.parse(testDrainSchemas), + ); +} +export function testDrainSchemasFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => TestDrainSchemas$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TestDrainSchemas' from JSON`, + ); +} + +/** @internal */ +export const TestDrainEndpoint1$inboundSchema: z.ZodType< + TestDrainEndpoint1, + z.ZodTypeDef, + unknown +> = z.object({ + traces: z.string(), +}); +/** @internal */ +export type TestDrainEndpoint1$Outbound = { + traces: string; +}; + +/** @internal */ +export const TestDrainEndpoint1$outboundSchema: z.ZodType< + TestDrainEndpoint1$Outbound, + z.ZodTypeDef, + TestDrainEndpoint1 +> = z.object({ + traces: z.string(), +}); + +export function testDrainEndpoint1ToJSON( + testDrainEndpoint1: TestDrainEndpoint1, +): string { + return JSON.stringify( + TestDrainEndpoint1$outboundSchema.parse(testDrainEndpoint1), + ); +} +export function testDrainEndpoint1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => TestDrainEndpoint1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TestDrainEndpoint1' from JSON`, + ); +} + +/** @internal */ +export const TestDrainDeliveryEndpoint$inboundSchema: z.ZodType< + TestDrainDeliveryEndpoint, + z.ZodTypeDef, + unknown +> = z.lazy(() => TestDrainEndpoint1$inboundSchema); +/** @internal */ +export type TestDrainDeliveryEndpoint$Outbound = TestDrainEndpoint1$Outbound; + +/** @internal */ +export const TestDrainDeliveryEndpoint$outboundSchema: z.ZodType< + TestDrainDeliveryEndpoint$Outbound, + z.ZodTypeDef, + TestDrainDeliveryEndpoint +> = z.lazy(() => TestDrainEndpoint1$outboundSchema); + +export function testDrainDeliveryEndpointToJSON( + testDrainDeliveryEndpoint: TestDrainDeliveryEndpoint, +): string { + return JSON.stringify( + TestDrainDeliveryEndpoint$outboundSchema.parse(testDrainDeliveryEndpoint), + ); +} +export function testDrainDeliveryEndpointFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => TestDrainDeliveryEndpoint$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TestDrainDeliveryEndpoint' from JSON`, + ); +} + +/** @internal */ +export const TestDrainDeliveryDrainsEncoding$inboundSchema: z.ZodNativeEnum< + typeof TestDrainDeliveryDrainsEncoding +> = z.nativeEnum(TestDrainDeliveryDrainsEncoding); +/** @internal */ +export const TestDrainDeliveryDrainsEncoding$outboundSchema: z.ZodNativeEnum< + typeof TestDrainDeliveryDrainsEncoding +> = TestDrainDeliveryDrainsEncoding$inboundSchema; + +/** @internal */ +export const TestDrainDelivery2$inboundSchema: z.ZodType< + TestDrainDelivery2, + z.ZodTypeDef, + unknown +> = z.object({ + type: z.string(), + endpoint: z.lazy(() => TestDrainEndpoint1$inboundSchema), + encoding: TestDrainDeliveryDrainsEncoding$inboundSchema, + headers: z.record(z.string()), + secret: z.string().optional(), +}); +/** @internal */ +export type TestDrainDelivery2$Outbound = { + type: string; + endpoint: TestDrainEndpoint1$Outbound; + encoding: string; + headers: { [k: string]: string }; + secret?: string | undefined; +}; + +/** @internal */ +export const TestDrainDelivery2$outboundSchema: z.ZodType< + TestDrainDelivery2$Outbound, + z.ZodTypeDef, + TestDrainDelivery2 +> = z.object({ + type: z.string(), + endpoint: z.lazy(() => TestDrainEndpoint1$outboundSchema), + encoding: TestDrainDeliveryDrainsEncoding$outboundSchema, + headers: z.record(z.string()), + secret: z.string().optional(), +}); + +export function testDrainDelivery2ToJSON( + testDrainDelivery2: TestDrainDelivery2, +): string { + return JSON.stringify( + TestDrainDelivery2$outboundSchema.parse(testDrainDelivery2), + ); +} +export function testDrainDelivery2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => TestDrainDelivery2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TestDrainDelivery2' from JSON`, + ); +} + +/** @internal */ +export const TestDrainDeliveryCompression$inboundSchema: z.ZodNativeEnum< + typeof TestDrainDeliveryCompression +> = z.nativeEnum(TestDrainDeliveryCompression); +/** @internal */ +export const TestDrainDeliveryCompression$outboundSchema: z.ZodNativeEnum< + typeof TestDrainDeliveryCompression +> = TestDrainDeliveryCompression$inboundSchema; + +/** @internal */ +export const TestDrainDeliveryEncoding$inboundSchema: z.ZodNativeEnum< + typeof TestDrainDeliveryEncoding +> = z.nativeEnum(TestDrainDeliveryEncoding); +/** @internal */ +export const TestDrainDeliveryEncoding$outboundSchema: z.ZodNativeEnum< + typeof TestDrainDeliveryEncoding +> = TestDrainDeliveryEncoding$inboundSchema; + +/** @internal */ +export const TestDrainDelivery1$inboundSchema: z.ZodType< + TestDrainDelivery1, + z.ZodTypeDef, + unknown +> = z.object({ + type: z.string(), + endpoint: z.string(), + compression: TestDrainDeliveryCompression$inboundSchema.optional(), + encoding: TestDrainDeliveryEncoding$inboundSchema, + headers: z.record(z.string()), + secret: z.string().optional(), +}); +/** @internal */ +export type TestDrainDelivery1$Outbound = { + type: string; + endpoint: string; + compression?: string | undefined; + encoding: string; + headers: { [k: string]: string }; + secret?: string | undefined; +}; + +/** @internal */ +export const TestDrainDelivery1$outboundSchema: z.ZodType< + TestDrainDelivery1$Outbound, + z.ZodTypeDef, + TestDrainDelivery1 +> = z.object({ + type: z.string(), + endpoint: z.string(), + compression: TestDrainDeliveryCompression$outboundSchema.optional(), + encoding: TestDrainDeliveryEncoding$outboundSchema, + headers: z.record(z.string()), + secret: z.string().optional(), +}); + +export function testDrainDelivery1ToJSON( + testDrainDelivery1: TestDrainDelivery1, +): string { + return JSON.stringify( + TestDrainDelivery1$outboundSchema.parse(testDrainDelivery1), + ); +} +export function testDrainDelivery1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => TestDrainDelivery1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TestDrainDelivery1' from JSON`, + ); +} + +/** @internal */ +export const TestDrainDelivery$inboundSchema: z.ZodType< + TestDrainDelivery, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => TestDrainDelivery1$inboundSchema), + z.lazy(() => TestDrainDelivery2$inboundSchema), +]); +/** @internal */ +export type TestDrainDelivery$Outbound = + | TestDrainDelivery1$Outbound + | TestDrainDelivery2$Outbound; + +/** @internal */ +export const TestDrainDelivery$outboundSchema: z.ZodType< + TestDrainDelivery$Outbound, + z.ZodTypeDef, + TestDrainDelivery +> = z.union([ + z.lazy(() => TestDrainDelivery1$outboundSchema), + z.lazy(() => TestDrainDelivery2$outboundSchema), +]); + +export function testDrainDeliveryToJSON( + testDrainDelivery: TestDrainDelivery, +): string { + return JSON.stringify( + TestDrainDelivery$outboundSchema.parse(testDrainDelivery), + ); +} +export function testDrainDeliveryFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => TestDrainDelivery$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TestDrainDelivery' from JSON`, + ); +} + +/** @internal */ +export const TestDrainRequestBody$inboundSchema: z.ZodType< + TestDrainRequestBody, + z.ZodTypeDef, + unknown +> = z.object({ + schemas: z.record(z.lazy(() => TestDrainSchemas$inboundSchema)), + delivery: z.union([ + z.lazy(() => TestDrainDelivery1$inboundSchema), + z.lazy(() => TestDrainDelivery2$inboundSchema), + ]), +}); +/** @internal */ +export type TestDrainRequestBody$Outbound = { + schemas: { [k: string]: TestDrainSchemas$Outbound }; + delivery: TestDrainDelivery1$Outbound | TestDrainDelivery2$Outbound; +}; + +/** @internal */ +export const TestDrainRequestBody$outboundSchema: z.ZodType< + TestDrainRequestBody$Outbound, + z.ZodTypeDef, + TestDrainRequestBody +> = z.object({ + schemas: z.record(z.lazy(() => TestDrainSchemas$outboundSchema)), + delivery: z.union([ + z.lazy(() => TestDrainDelivery1$outboundSchema), + z.lazy(() => TestDrainDelivery2$outboundSchema), + ]), +}); + +export function testDrainRequestBodyToJSON( + testDrainRequestBody: TestDrainRequestBody, +): string { + return JSON.stringify( + TestDrainRequestBody$outboundSchema.parse(testDrainRequestBody), + ); +} +export function testDrainRequestBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => TestDrainRequestBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TestDrainRequestBody' from JSON`, + ); +} + +/** @internal */ +export const TestDrainRequest$inboundSchema: z.ZodType< + TestDrainRequest, + z.ZodTypeDef, + unknown +> = z.object({ + teamId: z.string().optional(), + slug: z.string().optional(), + RequestBody: z.lazy(() => TestDrainRequestBody$inboundSchema).optional(), +}).transform((v) => { + return remap$(v, { + "RequestBody": "requestBody", + }); +}); +/** @internal */ +export type TestDrainRequest$Outbound = { + teamId?: string | undefined; + slug?: string | undefined; + RequestBody?: TestDrainRequestBody$Outbound | undefined; +}; + +/** @internal */ +export const TestDrainRequest$outboundSchema: z.ZodType< + TestDrainRequest$Outbound, + z.ZodTypeDef, + TestDrainRequest +> = z.object({ + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => TestDrainRequestBody$outboundSchema).optional(), +}).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); +}); + +export function testDrainRequestToJSON( + testDrainRequest: TestDrainRequest, +): string { + return JSON.stringify( + TestDrainRequest$outboundSchema.parse(testDrainRequest), + ); +} +export function testDrainRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => TestDrainRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TestDrainRequest' from JSON`, + ); +} + +/** @internal */ +export const TestDrainResponseBody2$inboundSchema: z.ZodType< + TestDrainResponseBody2, + z.ZodTypeDef, + unknown +> = z.object({ + status: z.string(), + error: z.string(), + endpoint: z.string(), +}); +/** @internal */ +export type TestDrainResponseBody2$Outbound = { + status: string; + error: string; + endpoint: string; +}; + +/** @internal */ +export const TestDrainResponseBody2$outboundSchema: z.ZodType< + TestDrainResponseBody2$Outbound, + z.ZodTypeDef, + TestDrainResponseBody2 +> = z.object({ + status: z.string(), + error: z.string(), + endpoint: z.string(), +}); + +export function testDrainResponseBody2ToJSON( + testDrainResponseBody2: TestDrainResponseBody2, +): string { + return JSON.stringify( + TestDrainResponseBody2$outboundSchema.parse(testDrainResponseBody2), + ); +} +export function testDrainResponseBody2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => TestDrainResponseBody2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TestDrainResponseBody2' from JSON`, + ); +} + +/** @internal */ +export const TestDrainResponseBody1$inboundSchema: z.ZodType< + TestDrainResponseBody1, + z.ZodTypeDef, + unknown +> = z.object({}); +/** @internal */ +export type TestDrainResponseBody1$Outbound = {}; + +/** @internal */ +export const TestDrainResponseBody1$outboundSchema: z.ZodType< + TestDrainResponseBody1$Outbound, + z.ZodTypeDef, + TestDrainResponseBody1 +> = z.object({}); + +export function testDrainResponseBody1ToJSON( + testDrainResponseBody1: TestDrainResponseBody1, +): string { + return JSON.stringify( + TestDrainResponseBody1$outboundSchema.parse(testDrainResponseBody1), + ); +} +export function testDrainResponseBody1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => TestDrainResponseBody1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TestDrainResponseBody1' from JSON`, + ); +} + +/** @internal */ +export const TestDrainResponseBody$inboundSchema: z.ZodType< + TestDrainResponseBody, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => TestDrainResponseBody2$inboundSchema), + z.lazy(() => TestDrainResponseBody1$inboundSchema), +]); +/** @internal */ +export type TestDrainResponseBody$Outbound = + | TestDrainResponseBody2$Outbound + | TestDrainResponseBody1$Outbound; + +/** @internal */ +export const TestDrainResponseBody$outboundSchema: z.ZodType< + TestDrainResponseBody$Outbound, + z.ZodTypeDef, + TestDrainResponseBody +> = z.union([ + z.lazy(() => TestDrainResponseBody2$outboundSchema), + z.lazy(() => TestDrainResponseBody1$outboundSchema), +]); + +export function testDrainResponseBodyToJSON( + testDrainResponseBody: TestDrainResponseBody, +): string { + return JSON.stringify( + TestDrainResponseBody$outboundSchema.parse(testDrainResponseBody), + ); +} +export function testDrainResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => TestDrainResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TestDrainResponseBody' from JSON`, + ); +} diff --git a/src/models/transferindomainop.ts b/src/models/transferindomainop.ts new file mode 100644 index 000000000..7de659354 --- /dev/null +++ b/src/models/transferindomainop.ts @@ -0,0 +1,459 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +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 { + Forbidden, + Forbidden$inboundSchema, + Forbidden$Outbound, + Forbidden$outboundSchema, +} from "./forbidden.js"; +import { + NotAuthorizedForScope, + NotAuthorizedForScope$inboundSchema, + NotAuthorizedForScope$Outbound, + NotAuthorizedForScope$outboundSchema, +} from "./notauthorizedforscope.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type TransferInDomainContactInformation = { + /** + * a non empty string + */ + firstName: string; + /** + * a non empty string + */ + lastName: string; + /** + * a non empty string + */ + email: string; + /** + * A valid E.164 phone number + */ + phone: string; + /** + * a non empty string + */ + address1: string; + /** + * a non empty string + */ + address2?: string | undefined; + /** + * a non empty string + */ + city: string; + /** + * a non empty string + */ + state: string; + /** + * a non empty string + */ + zip: string; + /** + * A valid ISO 3166-1 alpha-2 country code + */ + country: string; + /** + * a non empty string + */ + companyName?: string | undefined; + /** + * A valid E.164 phone number + */ + fax?: string | undefined; +}; + +export type TransferInDomainRequestBody = { + authCode: string; + /** + * Whether the domain should be auto-renewed before it expires. This can be configured later through the Vercel Dashboard or the [Update auto-renew for a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/update-auto-renew-for-a-domain) endpoint. + */ + autoRenew: boolean; + /** + * The number of years to renew the domain for once it is transferred in. This must be a valid number of transfer years for the TLD. + */ + years: number; + /** + * The expected price for the domain. Use the [Get price data for a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/get-price-data-for-a-domain) endpoint to retrieve the price data for a domain. + */ + expectedPrice: number; + contactInformation: TransferInDomainContactInformation; +}; + +export type TransferInDomainRequest = { + domain: string; + teamId?: string | undefined; + requestBody: TransferInDomainRequestBody; +}; + +/** + * NotAuthorizedForScope + */ +export type TransferInDomainDomainsRegistrarResponseBody = + | NotAuthorizedForScope + | Forbidden; + +export const TransferInDomainMethod = { + Get: "GET", + Post: "POST", + Put: "PUT", + Delete: "DELETE", + Patch: "PATCH", +} as const; +export type TransferInDomainMethod = ClosedEnum; + +export type TransferInDomainLinks = { + href: string; + method: TransferInDomainMethod; +}; + +/** + * Success + */ +export type TransferInDomainResponseBody = { + orderId: string; + links: { [k: string]: TransferInDomainLinks }; +}; + +/** @internal */ +export const TransferInDomainContactInformation$inboundSchema: z.ZodType< + TransferInDomainContactInformation, + z.ZodTypeDef, + unknown +> = z.object({ + firstName: z.string(), + lastName: z.string(), + email: z.string(), + phone: z.string(), + address1: z.string(), + address2: z.string().optional(), + city: z.string(), + state: z.string(), + zip: z.string(), + country: z.string(), + companyName: z.string().optional(), + fax: z.string().optional(), +}); +/** @internal */ +export type TransferInDomainContactInformation$Outbound = { + firstName: string; + lastName: string; + email: string; + phone: string; + address1: string; + address2?: string | undefined; + city: string; + state: string; + zip: string; + country: string; + companyName?: string | undefined; + fax?: string | undefined; +}; + +/** @internal */ +export const TransferInDomainContactInformation$outboundSchema: z.ZodType< + TransferInDomainContactInformation$Outbound, + z.ZodTypeDef, + TransferInDomainContactInformation +> = z.object({ + firstName: z.string(), + lastName: z.string(), + email: z.string(), + phone: z.string(), + address1: z.string(), + address2: z.string().optional(), + city: z.string(), + state: z.string(), + zip: z.string(), + country: z.string(), + companyName: z.string().optional(), + fax: z.string().optional(), +}); + +export function transferInDomainContactInformationToJSON( + transferInDomainContactInformation: TransferInDomainContactInformation, +): string { + return JSON.stringify( + TransferInDomainContactInformation$outboundSchema.parse( + transferInDomainContactInformation, + ), + ); +} +export function transferInDomainContactInformationFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + TransferInDomainContactInformation$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TransferInDomainContactInformation' from JSON`, + ); +} + +/** @internal */ +export const TransferInDomainRequestBody$inboundSchema: z.ZodType< + TransferInDomainRequestBody, + z.ZodTypeDef, + unknown +> = z.object({ + authCode: z.string(), + autoRenew: z.boolean(), + years: z.number(), + expectedPrice: z.number(), + contactInformation: z.lazy(() => + TransferInDomainContactInformation$inboundSchema + ), +}); +/** @internal */ +export type TransferInDomainRequestBody$Outbound = { + authCode: string; + autoRenew: boolean; + years: number; + expectedPrice: number; + contactInformation: TransferInDomainContactInformation$Outbound; +}; + +/** @internal */ +export const TransferInDomainRequestBody$outboundSchema: z.ZodType< + TransferInDomainRequestBody$Outbound, + z.ZodTypeDef, + TransferInDomainRequestBody +> = z.object({ + authCode: z.string(), + autoRenew: z.boolean(), + years: z.number(), + expectedPrice: z.number(), + contactInformation: z.lazy(() => + TransferInDomainContactInformation$outboundSchema + ), +}); + +export function transferInDomainRequestBodyToJSON( + transferInDomainRequestBody: TransferInDomainRequestBody, +): string { + return JSON.stringify( + TransferInDomainRequestBody$outboundSchema.parse( + transferInDomainRequestBody, + ), + ); +} +export function transferInDomainRequestBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => TransferInDomainRequestBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TransferInDomainRequestBody' from JSON`, + ); +} + +/** @internal */ +export const TransferInDomainRequest$inboundSchema: z.ZodType< + TransferInDomainRequest, + z.ZodTypeDef, + unknown +> = z.object({ + domain: z.string(), + teamId: z.string().optional(), + RequestBody: z.lazy(() => TransferInDomainRequestBody$inboundSchema), +}).transform((v) => { + return remap$(v, { + "RequestBody": "requestBody", + }); +}); +/** @internal */ +export type TransferInDomainRequest$Outbound = { + domain: string; + teamId?: string | undefined; + RequestBody: TransferInDomainRequestBody$Outbound; +}; + +/** @internal */ +export const TransferInDomainRequest$outboundSchema: z.ZodType< + TransferInDomainRequest$Outbound, + z.ZodTypeDef, + TransferInDomainRequest +> = z.object({ + domain: z.string(), + teamId: z.string().optional(), + requestBody: z.lazy(() => TransferInDomainRequestBody$outboundSchema), +}).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); +}); + +export function transferInDomainRequestToJSON( + transferInDomainRequest: TransferInDomainRequest, +): string { + return JSON.stringify( + TransferInDomainRequest$outboundSchema.parse(transferInDomainRequest), + ); +} +export function transferInDomainRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => TransferInDomainRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TransferInDomainRequest' from JSON`, + ); +} + +/** @internal */ +export const TransferInDomainDomainsRegistrarResponseBody$inboundSchema: + z.ZodType< + TransferInDomainDomainsRegistrarResponseBody, + z.ZodTypeDef, + unknown + > = z.union([NotAuthorizedForScope$inboundSchema, Forbidden$inboundSchema]); +/** @internal */ +export type TransferInDomainDomainsRegistrarResponseBody$Outbound = + | NotAuthorizedForScope$Outbound + | Forbidden$Outbound; + +/** @internal */ +export const TransferInDomainDomainsRegistrarResponseBody$outboundSchema: + z.ZodType< + TransferInDomainDomainsRegistrarResponseBody$Outbound, + z.ZodTypeDef, + unknown + > = z.union([NotAuthorizedForScope$outboundSchema, Forbidden$outboundSchema]); + +export function transferInDomainDomainsRegistrarResponseBodyToJSON( + transferInDomainDomainsRegistrarResponseBody: + TransferInDomainDomainsRegistrarResponseBody, +): string { + return JSON.stringify( + TransferInDomainDomainsRegistrarResponseBody$outboundSchema.parse( + transferInDomainDomainsRegistrarResponseBody, + ), + ); +} +export function transferInDomainDomainsRegistrarResponseBodyFromJSON( + jsonString: string, +): SafeParseResult< + TransferInDomainDomainsRegistrarResponseBody, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + TransferInDomainDomainsRegistrarResponseBody$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'TransferInDomainDomainsRegistrarResponseBody' from JSON`, + ); +} + +/** @internal */ +export const TransferInDomainMethod$inboundSchema: z.ZodNativeEnum< + typeof TransferInDomainMethod +> = z.nativeEnum(TransferInDomainMethod); +/** @internal */ +export const TransferInDomainMethod$outboundSchema: z.ZodNativeEnum< + typeof TransferInDomainMethod +> = TransferInDomainMethod$inboundSchema; + +/** @internal */ +export const TransferInDomainLinks$inboundSchema: z.ZodType< + TransferInDomainLinks, + z.ZodTypeDef, + unknown +> = z.object({ + href: z.string(), + method: TransferInDomainMethod$inboundSchema, +}); +/** @internal */ +export type TransferInDomainLinks$Outbound = { + href: string; + method: string; +}; + +/** @internal */ +export const TransferInDomainLinks$outboundSchema: z.ZodType< + TransferInDomainLinks$Outbound, + z.ZodTypeDef, + TransferInDomainLinks +> = z.object({ + href: z.string(), + method: TransferInDomainMethod$outboundSchema, +}); + +export function transferInDomainLinksToJSON( + transferInDomainLinks: TransferInDomainLinks, +): string { + return JSON.stringify( + TransferInDomainLinks$outboundSchema.parse(transferInDomainLinks), + ); +} +export function transferInDomainLinksFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => TransferInDomainLinks$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TransferInDomainLinks' from JSON`, + ); +} + +/** @internal */ +export const TransferInDomainResponseBody$inboundSchema: z.ZodType< + TransferInDomainResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + orderId: z.string(), + _links: z.record(z.lazy(() => TransferInDomainLinks$inboundSchema)), +}).transform((v) => { + return remap$(v, { + "_links": "links", + }); +}); +/** @internal */ +export type TransferInDomainResponseBody$Outbound = { + orderId: string; + _links: { [k: string]: TransferInDomainLinks$Outbound }; +}; + +/** @internal */ +export const TransferInDomainResponseBody$outboundSchema: z.ZodType< + TransferInDomainResponseBody$Outbound, + z.ZodTypeDef, + TransferInDomainResponseBody +> = z.object({ + orderId: z.string(), + links: z.record(z.lazy(() => TransferInDomainLinks$outboundSchema)), +}).transform((v) => { + return remap$(v, { + links: "_links", + }); +}); + +export function transferInDomainResponseBodyToJSON( + transferInDomainResponseBody: TransferInDomainResponseBody, +): string { + return JSON.stringify( + TransferInDomainResponseBody$outboundSchema.parse( + transferInDomainResponseBody, + ), + ); +} +export function transferInDomainResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => TransferInDomainResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'TransferInDomainResponseBody' from JSON`, + ); +} diff --git a/src/models/unlinksharedenvvariableop.ts b/src/models/unlinksharedenvvariableop.ts new file mode 100644 index 000000000..6b2a80ea3 --- /dev/null +++ b/src/models/unlinksharedenvvariableop.ts @@ -0,0 +1,120 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { safeParse } from "../lib/schemas.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type UnlinkSharedEnvVariableRequest = { + /** + * The unique ID for the Shared Environment Variable to unlink from the project. + */ + id: 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 type UnlinkSharedEnvVariableResponseBody = { + id: string; +}; + +/** @internal */ +export const UnlinkSharedEnvVariableRequest$inboundSchema: z.ZodType< + UnlinkSharedEnvVariableRequest, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + projectId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); +/** @internal */ +export type UnlinkSharedEnvVariableRequest$Outbound = { + id: string; + projectId: string; + teamId?: string | undefined; + slug?: string | undefined; +}; + +/** @internal */ +export const UnlinkSharedEnvVariableRequest$outboundSchema: z.ZodType< + UnlinkSharedEnvVariableRequest$Outbound, + z.ZodTypeDef, + UnlinkSharedEnvVariableRequest +> = z.object({ + id: z.string(), + projectId: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), +}); + +export function unlinkSharedEnvVariableRequestToJSON( + unlinkSharedEnvVariableRequest: UnlinkSharedEnvVariableRequest, +): string { + return JSON.stringify( + UnlinkSharedEnvVariableRequest$outboundSchema.parse( + unlinkSharedEnvVariableRequest, + ), + ); +} +export function unlinkSharedEnvVariableRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UnlinkSharedEnvVariableRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UnlinkSharedEnvVariableRequest' from JSON`, + ); +} + +/** @internal */ +export const UnlinkSharedEnvVariableResponseBody$inboundSchema: z.ZodType< + UnlinkSharedEnvVariableResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), +}); +/** @internal */ +export type UnlinkSharedEnvVariableResponseBody$Outbound = { + id: string; +}; + +/** @internal */ +export const UnlinkSharedEnvVariableResponseBody$outboundSchema: z.ZodType< + UnlinkSharedEnvVariableResponseBody$Outbound, + z.ZodTypeDef, + UnlinkSharedEnvVariableResponseBody +> = z.object({ + id: z.string(), +}); + +export function unlinkSharedEnvVariableResponseBodyToJSON( + unlinkSharedEnvVariableResponseBody: UnlinkSharedEnvVariableResponseBody, +): string { + return JSON.stringify( + UnlinkSharedEnvVariableResponseBody$outboundSchema.parse( + unlinkSharedEnvVariableResponseBody, + ), + ); +} +export function unlinkSharedEnvVariableResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + UnlinkSharedEnvVariableResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UnlinkSharedEnvVariableResponseBody' from JSON`, + ); +} diff --git a/src/models/unpauseprojectop.ts b/src/models/unpauseprojectop.ts index 714fc6976..400bbde79 100644 --- a/src/models/unpauseprojectop.ts +++ b/src/models/unpauseprojectop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -32,7 +32,6 @@ export const UnpauseProjectRequest$inboundSchema: z.ZodType< teamId: z.string().optional(), slug: z.string().optional(), }); - /** @internal */ export type UnpauseProjectRequest$Outbound = { projectId: string; @@ -51,19 +50,6 @@ export const UnpauseProjectRequest$outboundSchema: z.ZodType< 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 UnpauseProjectRequest$ { - /** @deprecated use `UnpauseProjectRequest$inboundSchema` instead. */ - export const inboundSchema = UnpauseProjectRequest$inboundSchema; - /** @deprecated use `UnpauseProjectRequest$outboundSchema` instead. */ - export const outboundSchema = UnpauseProjectRequest$outboundSchema; - /** @deprecated use `UnpauseProjectRequest$Outbound` instead. */ - export type Outbound = UnpauseProjectRequest$Outbound; -} - export function unpauseProjectRequestToJSON( unpauseProjectRequest: UnpauseProjectRequest, ): string { @@ -71,7 +57,6 @@ export function unpauseProjectRequestToJSON( UnpauseProjectRequest$outboundSchema.parse(unpauseProjectRequest), ); } - export function unpauseProjectRequestFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/updateaccessgroupop.ts b/src/models/updateaccessgroupop.ts index 223e48e34..60fb4dfff 100644 --- a/src/models/updateaccessgroupop.ts +++ b/src/models/updateaccessgroupop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; @@ -113,23 +113,11 @@ export type UpdateAccessGroupResponseBody = { 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, @@ -139,7 +127,6 @@ export const Projects$inboundSchema: z.ZodType< projectId: z.string(), role: z.nullable(UpdateAccessGroupRole$inboundSchema), }); - /** @internal */ export type Projects$Outbound = { projectId: string; @@ -156,23 +143,9 @@ export const Projects$outboundSchema: z.ZodType< 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 { @@ -194,7 +167,6 @@ export const UpdateAccessGroupRequestBody$inboundSchema: z.ZodType< membersToAdd: z.array(z.string()).optional(), membersToRemove: z.array(z.string()).optional(), }); - /** @internal */ export type UpdateAccessGroupRequestBody$Outbound = { name?: string | undefined; @@ -215,19 +187,6 @@ export const UpdateAccessGroupRequestBody$outboundSchema: z.ZodType< 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 { @@ -237,7 +196,6 @@ export function updateAccessGroupRequestBodyToJSON( ), ); } - export function updateAccessGroupRequestBodyFromJSON( jsonString: string, ): SafeParseResult { @@ -263,7 +221,6 @@ export const UpdateAccessGroupRequest$inboundSchema: z.ZodType< "RequestBody": "requestBody", }); }); - /** @internal */ export type UpdateAccessGroupRequest$Outbound = { idOrName: string; @@ -288,19 +245,6 @@ export const UpdateAccessGroupRequest$outboundSchema: z.ZodType< }); }); -/** - * @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 { @@ -308,7 +252,6 @@ export function updateAccessGroupRequestToJSON( UpdateAccessGroupRequest$outboundSchema.parse(updateAccessGroupRequest), ); } - export function updateAccessGroupRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -323,23 +266,11 @@ export function updateAccessGroupRequestFromJSON( 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, @@ -357,7 +288,6 @@ export const UpdateAccessGroupResponseBody$inboundSchema: z.ZodType< teamRoles: z.array(z.string()).optional(), teamPermissions: z.array(z.string()).optional(), }); - /** @internal */ export type UpdateAccessGroupResponseBody$Outbound = { entitlements: Array; @@ -390,19 +320,6 @@ export const UpdateAccessGroupResponseBody$outboundSchema: z.ZodType< teamPermissions: 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 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 { @@ -412,7 +329,6 @@ export function updateAccessGroupResponseBodyToJSON( ), ); } - export function updateAccessGroupResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/updateaccessgroupprojectop.ts b/src/models/updateaccessgroupprojectop.ts index 09b67baac..2a29f8725 100644 --- a/src/models/updateaccessgroupprojectop.ts +++ b/src/models/updateaccessgroupprojectop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; @@ -67,23 +67,11 @@ export type UpdateAccessGroupProjectResponseBody = { 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, @@ -92,7 +80,6 @@ export const UpdateAccessGroupProjectRequestBody$inboundSchema: z.ZodType< > = z.object({ role: UpdateAccessGroupProjectRole$inboundSchema, }); - /** @internal */ export type UpdateAccessGroupProjectRequestBody$Outbound = { role: string; @@ -107,21 +94,6 @@ export const UpdateAccessGroupProjectRequestBody$outboundSchema: z.ZodType< 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 { @@ -131,7 +103,6 @@ export function updateAccessGroupProjectRequestBodyToJSON( ), ); } - export function updateAccessGroupProjectRequestBodyFromJSON( jsonString: string, ): SafeParseResult { @@ -159,7 +130,6 @@ export const UpdateAccessGroupProjectRequest$inboundSchema: z.ZodType< "RequestBody": "requestBody", }); }); - /** @internal */ export type UpdateAccessGroupProjectRequest$Outbound = { accessGroupIdOrName: string; @@ -186,19 +156,6 @@ export const UpdateAccessGroupProjectRequest$outboundSchema: z.ZodType< }); }); -/** - * @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 { @@ -208,7 +165,6 @@ export function updateAccessGroupProjectRequestToJSON( ), ); } - export function updateAccessGroupProjectRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -223,25 +179,11 @@ export function updateAccessGroupProjectRequestFromJSON( 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, @@ -255,7 +197,6 @@ export const UpdateAccessGroupProjectResponseBody$inboundSchema: z.ZodType< createdAt: z.string(), updatedAt: z.string(), }); - /** @internal */ export type UpdateAccessGroupProjectResponseBody$Outbound = { teamId: string; @@ -280,21 +221,6 @@ export const UpdateAccessGroupProjectResponseBody$outboundSchema: z.ZodType< 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 { @@ -304,7 +230,6 @@ export function updateAccessGroupProjectResponseBodyToJSON( ), ); } - export function updateAccessGroupProjectResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/updateattackchallengemodeop.ts b/src/models/updateattackchallengemodeop.ts index bcb55dbf2..4e3973545 100644 --- a/src/models/updateattackchallengemodeop.ts +++ b/src/models/updateattackchallengemodeop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; @@ -41,7 +41,6 @@ export const UpdateAttackChallengeModeRequestBody$inboundSchema: z.ZodType< attackModeEnabled: z.boolean(), attackModeActiveUntil: z.nullable(z.number()).optional(), }); - /** @internal */ export type UpdateAttackChallengeModeRequestBody$Outbound = { projectId: string; @@ -60,21 +59,6 @@ export const UpdateAttackChallengeModeRequestBody$outboundSchema: z.ZodType< 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 { @@ -84,7 +68,6 @@ export function updateAttackChallengeModeRequestBodyToJSON( ), ); } - export function updateAttackChallengeModeRequestBodyFromJSON( jsonString: string, ): SafeParseResult { @@ -110,7 +93,6 @@ export const UpdateAttackChallengeModeRequest$inboundSchema: z.ZodType< "RequestBody": "requestBody", }); }); - /** @internal */ export type UpdateAttackChallengeModeRequest$Outbound = { teamId?: string | undefined; @@ -135,19 +117,6 @@ export const UpdateAttackChallengeModeRequest$outboundSchema: z.ZodType< }); }); -/** - * @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 { @@ -157,7 +126,6 @@ export function updateAttackChallengeModeRequestToJSON( ), ); } - export function updateAttackChallengeModeRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -177,7 +145,6 @@ export const UpdateAttackChallengeModeResponseBody$inboundSchema: z.ZodType< attackModeEnabled: z.boolean(), attackModeUpdatedAt: z.number(), }); - /** @internal */ export type UpdateAttackChallengeModeResponseBody$Outbound = { attackModeEnabled: boolean; @@ -194,21 +161,6 @@ export const UpdateAttackChallengeModeResponseBody$outboundSchema: z.ZodType< 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 { @@ -218,7 +170,6 @@ export function updateAttackChallengeModeResponseBodyToJSON( ), ); } - export function updateAttackChallengeModeResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/updatecheckop.ts b/src/models/updatecheckop.ts index b8089458a..5423886a3 100644 --- a/src/models/updatecheckop.ts +++ b/src/models/updatecheckop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; @@ -320,62 +320,26 @@ export type UpdateCheckResponseBody = { /** @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({ @@ -383,7 +347,6 @@ export const Fcp$inboundSchema: z.ZodType = z previousValue: z.number().optional(), source: UpdateCheckSource$inboundSchema, }); - /** @internal */ export type Fcp$Outbound = { value: number | null; @@ -399,23 +362,9 @@ export const Fcp$outboundSchema: z.ZodType = z 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 { @@ -430,23 +379,11 @@ export function fcpFromJSON( 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({ @@ -454,7 +391,6 @@ export const Lcp$inboundSchema: z.ZodType = z previousValue: z.number().optional(), source: UpdateCheckChecksSource$inboundSchema, }); - /** @internal */ export type Lcp$Outbound = { value: number | null; @@ -470,23 +406,9 @@ export const Lcp$outboundSchema: z.ZodType = z 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 { @@ -501,23 +423,11 @@ export function lcpFromJSON( 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({ @@ -525,7 +435,6 @@ export const Cls$inboundSchema: z.ZodType = z previousValue: z.number().optional(), source: UpdateCheckChecksRequestSource$inboundSchema, }); - /** @internal */ export type Cls$Outbound = { value: number | null; @@ -541,23 +450,9 @@ export const Cls$outboundSchema: z.ZodType = z 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 { @@ -572,25 +467,11 @@ export function clsFromJSON( 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({ @@ -598,7 +479,6 @@ export const Tbt$inboundSchema: z.ZodType = z previousValue: z.number().optional(), source: UpdateCheckChecksRequestRequestBodySource$inboundSchema, }); - /** @internal */ export type Tbt$Outbound = { value: number | null; @@ -614,23 +494,9 @@ export const Tbt$outboundSchema: z.ZodType = z 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 { @@ -645,25 +511,11 @@ export function tbtFromJSON( 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, @@ -674,7 +526,6 @@ export const VirtualExperienceScore$inboundSchema: z.ZodType< previousValue: z.number().int().optional(), source: UpdateCheckChecksRequestRequestBodyOutputSource$inboundSchema, }); - /** @internal */ export type VirtualExperienceScore$Outbound = { value: number | null; @@ -693,19 +544,6 @@ export const VirtualExperienceScore$outboundSchema: z.ZodType< 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 { @@ -713,7 +551,6 @@ export function virtualExperienceScoreToJSON( VirtualExperienceScore$outboundSchema.parse(virtualExperienceScore), ); } - export function virtualExperienceScoreFromJSON( jsonString: string, ): SafeParseResult { @@ -741,7 +578,6 @@ export const Metrics$inboundSchema: z.ZodType = "TBT": "tbt", }); }); - /** @internal */ export type Metrics$Outbound = { FCP: Fcp$Outbound; @@ -772,23 +608,9 @@ export const Metrics$outboundSchema: z.ZodType< }); }); -/** - * @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 { @@ -804,7 +626,6 @@ export const Output$inboundSchema: z.ZodType = z .object({ metrics: z.lazy(() => Metrics$inboundSchema).optional(), }); - /** @internal */ export type Output$Outbound = { metrics?: Metrics$Outbound | undefined; @@ -819,23 +640,9 @@ export const Output$outboundSchema: z.ZodType< 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 { @@ -860,7 +667,6 @@ export const UpdateCheckRequestBody$inboundSchema: z.ZodType< output: z.lazy(() => Output$inboundSchema).optional(), externalId: z.string().optional(), }); - /** @internal */ export type UpdateCheckRequestBody$Outbound = { name?: string | undefined; @@ -887,19 +693,6 @@ export const UpdateCheckRequestBody$outboundSchema: z.ZodType< 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 { @@ -907,7 +700,6 @@ export function updateCheckRequestBodyToJSON( UpdateCheckRequestBody$outboundSchema.parse(updateCheckRequestBody), ); } - export function updateCheckRequestBodyFromJSON( jsonString: string, ): SafeParseResult { @@ -934,7 +726,6 @@ export const UpdateCheckRequest$inboundSchema: z.ZodType< "RequestBody": "requestBody", }); }); - /** @internal */ export type UpdateCheckRequest$Outbound = { deploymentId: string; @@ -961,19 +752,6 @@ export const UpdateCheckRequest$outboundSchema: z.ZodType< }); }); -/** - * @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 { @@ -981,7 +759,6 @@ export function updateCheckRequestToJSON( UpdateCheckRequest$outboundSchema.parse(updateCheckRequest), ); } - export function updateCheckRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -996,65 +773,29 @@ export function updateCheckRequestFromJSON( 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, @@ -1065,7 +806,6 @@ export const UpdateCheckFCP$inboundSchema: z.ZodType< previousValue: z.number().optional(), source: UpdateCheckChecksResponseSource$inboundSchema, }); - /** @internal */ export type UpdateCheckFCP$Outbound = { value: number | null; @@ -1084,23 +824,9 @@ export const UpdateCheckFCP$outboundSchema: z.ZodType< 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 { @@ -1115,24 +841,11 @@ export function updateCheckFCPFromJSON( 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, @@ -1143,7 +856,6 @@ export const UpdateCheckLCP$inboundSchema: z.ZodType< previousValue: z.number().optional(), source: UpdateCheckChecksResponse200Source$inboundSchema, }); - /** @internal */ export type UpdateCheckLCP$Outbound = { value: number | null; @@ -1162,23 +874,9 @@ export const UpdateCheckLCP$outboundSchema: z.ZodType< 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 { @@ -1193,25 +891,11 @@ export function updateCheckLCPFromJSON( 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, @@ -1222,7 +906,6 @@ export const UpdateCheckCLS$inboundSchema: z.ZodType< previousValue: z.number().optional(), source: UpdateCheckChecksResponse200ApplicationJSONSource$inboundSchema, }); - /** @internal */ export type UpdateCheckCLS$Outbound = { value: number | null; @@ -1241,23 +924,9 @@ export const UpdateCheckCLS$outboundSchema: z.ZodType< 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 { @@ -1275,7 +944,6 @@ export const UpdateCheckChecksResponse200ApplicationJSONResponseBodySource$inbou > = z.nativeEnum( UpdateCheckChecksResponse200ApplicationJSONResponseBodySource, ); - /** @internal */ export const UpdateCheckChecksResponse200ApplicationJSONResponseBodySource$outboundSchema: z.ZodNativeEnum< @@ -1283,19 +951,6 @@ export const UpdateCheckChecksResponse200ApplicationJSONResponseBodySource$outbo > = 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, @@ -1307,7 +962,6 @@ export const UpdateCheckTBT$inboundSchema: z.ZodType< source: UpdateCheckChecksResponse200ApplicationJSONResponseBodySource$inboundSchema, }); - /** @internal */ export type UpdateCheckTBT$Outbound = { value: number | null; @@ -1327,23 +981,9 @@ export const UpdateCheckTBT$outboundSchema: z.ZodType< 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 { @@ -1361,7 +1001,6 @@ export const UpdateCheckChecksResponse200ApplicationJSONResponseBodyOutputSource > = z.nativeEnum( UpdateCheckChecksResponse200ApplicationJSONResponseBodyOutputSource, ); - /** @internal */ export const UpdateCheckChecksResponse200ApplicationJSONResponseBodyOutputSource$outboundSchema: z.ZodNativeEnum< @@ -1369,19 +1008,6 @@ export const 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, @@ -1393,7 +1019,6 @@ export const UpdateCheckVirtualExperienceScore$inboundSchema: z.ZodType< source: UpdateCheckChecksResponse200ApplicationJSONResponseBodyOutputSource$inboundSchema, }); - /** @internal */ export type UpdateCheckVirtualExperienceScore$Outbound = { value: number | null; @@ -1413,20 +1038,6 @@ export const UpdateCheckVirtualExperienceScore$outboundSchema: z.ZodType< 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 { @@ -1436,7 +1047,6 @@ export function updateCheckVirtualExperienceScoreToJSON( ), ); } - export function updateCheckVirtualExperienceScoreFromJSON( jsonString: string, ): SafeParseResult { @@ -1468,7 +1078,6 @@ export const UpdateCheckMetrics$inboundSchema: z.ZodType< "TBT": "tbt", }); }); - /** @internal */ export type UpdateCheckMetrics$Outbound = { FCP: UpdateCheckFCP$Outbound; @@ -1502,19 +1111,6 @@ export const UpdateCheckMetrics$outboundSchema: z.ZodType< }); }); -/** - * @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 { @@ -1522,7 +1118,6 @@ export function updateCheckMetricsToJSON( UpdateCheckMetrics$outboundSchema.parse(updateCheckMetrics), ); } - export function updateCheckMetricsFromJSON( jsonString: string, ): SafeParseResult { @@ -1541,7 +1136,6 @@ export const UpdateCheckOutput$inboundSchema: z.ZodType< > = z.object({ metrics: z.lazy(() => UpdateCheckMetrics$inboundSchema).optional(), }); - /** @internal */ export type UpdateCheckOutput$Outbound = { metrics?: UpdateCheckMetrics$Outbound | undefined; @@ -1556,19 +1150,6 @@ export const UpdateCheckOutput$outboundSchema: z.ZodType< 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 { @@ -1576,7 +1157,6 @@ export function updateCheckOutputToJSON( UpdateCheckOutput$outboundSchema.parse(updateCheckOutput), ); } - export function updateCheckOutputFromJSON( jsonString: string, ): SafeParseResult { @@ -1610,7 +1190,6 @@ export const UpdateCheckResponseBody$inboundSchema: z.ZodType< completedAt: z.number().optional(), rerequestable: z.boolean().optional(), }); - /** @internal */ export type UpdateCheckResponseBody$Outbound = { id: string; @@ -1655,19 +1234,6 @@ export const UpdateCheckResponseBody$outboundSchema: z.ZodType< 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 { @@ -1675,7 +1241,6 @@ export function updateCheckResponseBodyToJSON( UpdateCheckResponseBody$outboundSchema.parse(updateCheckResponseBody), ); } - export function updateCheckResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/updatecustomenvironmentop.ts b/src/models/updatecustomenvironmentop.ts index e49341fd0..197634025 100644 --- a/src/models/updatecustomenvironmentop.ts +++ b/src/models/updatecustomenvironmentop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; @@ -196,23 +196,11 @@ export type UpdateCustomEnvironmentResponseBody = { export const UpdateCustomEnvironmentType$inboundSchema: z.ZodNativeEnum< typeof UpdateCustomEnvironmentType > = z.nativeEnum(UpdateCustomEnvironmentType); - /** @internal */ export const UpdateCustomEnvironmentType$outboundSchema: z.ZodNativeEnum< typeof UpdateCustomEnvironmentType > = UpdateCustomEnvironmentType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateCustomEnvironmentType$ { - /** @deprecated use `UpdateCustomEnvironmentType$inboundSchema` instead. */ - export const inboundSchema = UpdateCustomEnvironmentType$inboundSchema; - /** @deprecated use `UpdateCustomEnvironmentType$outboundSchema` instead. */ - export const outboundSchema = UpdateCustomEnvironmentType$outboundSchema; -} - /** @internal */ export const UpdateCustomEnvironmentBranchMatcher$inboundSchema: z.ZodType< UpdateCustomEnvironmentBranchMatcher, @@ -222,7 +210,6 @@ export const UpdateCustomEnvironmentBranchMatcher$inboundSchema: z.ZodType< type: UpdateCustomEnvironmentType$inboundSchema, pattern: z.string(), }); - /** @internal */ export type UpdateCustomEnvironmentBranchMatcher$Outbound = { type: string; @@ -239,21 +226,6 @@ export const UpdateCustomEnvironmentBranchMatcher$outboundSchema: z.ZodType< 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 UpdateCustomEnvironmentBranchMatcher$ { - /** @deprecated use `UpdateCustomEnvironmentBranchMatcher$inboundSchema` instead. */ - export const inboundSchema = - UpdateCustomEnvironmentBranchMatcher$inboundSchema; - /** @deprecated use `UpdateCustomEnvironmentBranchMatcher$outboundSchema` instead. */ - export const outboundSchema = - UpdateCustomEnvironmentBranchMatcher$outboundSchema; - /** @deprecated use `UpdateCustomEnvironmentBranchMatcher$Outbound` instead. */ - export type Outbound = UpdateCustomEnvironmentBranchMatcher$Outbound; -} - export function updateCustomEnvironmentBranchMatcherToJSON( updateCustomEnvironmentBranchMatcher: UpdateCustomEnvironmentBranchMatcher, ): string { @@ -263,7 +235,6 @@ export function updateCustomEnvironmentBranchMatcherToJSON( ), ); } - export function updateCustomEnvironmentBranchMatcherFromJSON( jsonString: string, ): SafeParseResult { @@ -287,7 +258,6 @@ export const UpdateCustomEnvironmentRequestBody$inboundSchema: z.ZodType< z.lazy(() => UpdateCustomEnvironmentBranchMatcher$inboundSchema), ).optional(), }); - /** @internal */ export type UpdateCustomEnvironmentRequestBody$Outbound = { slug?: string | undefined; @@ -311,20 +281,6 @@ export const UpdateCustomEnvironmentRequestBody$outboundSchema: z.ZodType< ).optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateCustomEnvironmentRequestBody$ { - /** @deprecated use `UpdateCustomEnvironmentRequestBody$inboundSchema` instead. */ - export const inboundSchema = UpdateCustomEnvironmentRequestBody$inboundSchema; - /** @deprecated use `UpdateCustomEnvironmentRequestBody$outboundSchema` instead. */ - export const outboundSchema = - UpdateCustomEnvironmentRequestBody$outboundSchema; - /** @deprecated use `UpdateCustomEnvironmentRequestBody$Outbound` instead. */ - export type Outbound = UpdateCustomEnvironmentRequestBody$Outbound; -} - export function updateCustomEnvironmentRequestBodyToJSON( updateCustomEnvironmentRequestBody: UpdateCustomEnvironmentRequestBody, ): string { @@ -334,7 +290,6 @@ export function updateCustomEnvironmentRequestBodyToJSON( ), ); } - export function updateCustomEnvironmentRequestBodyFromJSON( jsonString: string, ): SafeParseResult { @@ -363,7 +318,6 @@ export const UpdateCustomEnvironmentRequest$inboundSchema: z.ZodType< "RequestBody": "requestBody", }); }); - /** @internal */ export type UpdateCustomEnvironmentRequest$Outbound = { idOrName: string; @@ -391,19 +345,6 @@ export const UpdateCustomEnvironmentRequest$outboundSchema: z.ZodType< }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateCustomEnvironmentRequest$ { - /** @deprecated use `UpdateCustomEnvironmentRequest$inboundSchema` instead. */ - export const inboundSchema = UpdateCustomEnvironmentRequest$inboundSchema; - /** @deprecated use `UpdateCustomEnvironmentRequest$outboundSchema` instead. */ - export const outboundSchema = UpdateCustomEnvironmentRequest$outboundSchema; - /** @deprecated use `UpdateCustomEnvironmentRequest$Outbound` instead. */ - export type Outbound = UpdateCustomEnvironmentRequest$Outbound; -} - export function updateCustomEnvironmentRequestToJSON( updateCustomEnvironmentRequest: UpdateCustomEnvironmentRequest, ): string { @@ -413,7 +354,6 @@ export function updateCustomEnvironmentRequestToJSON( ), ); } - export function updateCustomEnvironmentRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -429,48 +369,20 @@ export const UpdateCustomEnvironmentEnvironmentType$inboundSchema: z.ZodNativeEnum = z.nativeEnum( UpdateCustomEnvironmentEnvironmentType, ); - /** @internal */ export const UpdateCustomEnvironmentEnvironmentType$outboundSchema: z.ZodNativeEnum = UpdateCustomEnvironmentEnvironmentType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateCustomEnvironmentEnvironmentType$ { - /** @deprecated use `UpdateCustomEnvironmentEnvironmentType$inboundSchema` instead. */ - export const inboundSchema = - UpdateCustomEnvironmentEnvironmentType$inboundSchema; - /** @deprecated use `UpdateCustomEnvironmentEnvironmentType$outboundSchema` instead. */ - export const outboundSchema = - UpdateCustomEnvironmentEnvironmentType$outboundSchema; -} - /** @internal */ export const UpdateCustomEnvironmentEnvironmentResponseType$inboundSchema: z.ZodNativeEnum = z .nativeEnum(UpdateCustomEnvironmentEnvironmentResponseType); - /** @internal */ export const UpdateCustomEnvironmentEnvironmentResponseType$outboundSchema: z.ZodNativeEnum = UpdateCustomEnvironmentEnvironmentResponseType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateCustomEnvironmentEnvironmentResponseType$ { - /** @deprecated use `UpdateCustomEnvironmentEnvironmentResponseType$inboundSchema` instead. */ - export const inboundSchema = - UpdateCustomEnvironmentEnvironmentResponseType$inboundSchema; - /** @deprecated use `UpdateCustomEnvironmentEnvironmentResponseType$outboundSchema` instead. */ - export const outboundSchema = - UpdateCustomEnvironmentEnvironmentResponseType$outboundSchema; -} - /** @internal */ export const UpdateCustomEnvironmentEnvironmentBranchMatcher$inboundSchema: z.ZodType< @@ -481,7 +393,6 @@ export const UpdateCustomEnvironmentEnvironmentBranchMatcher$inboundSchema: type: UpdateCustomEnvironmentEnvironmentResponseType$inboundSchema, pattern: z.string(), }); - /** @internal */ export type UpdateCustomEnvironmentEnvironmentBranchMatcher$Outbound = { type: string; @@ -499,22 +410,6 @@ export const UpdateCustomEnvironmentEnvironmentBranchMatcher$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 UpdateCustomEnvironmentEnvironmentBranchMatcher$ { - /** @deprecated use `UpdateCustomEnvironmentEnvironmentBranchMatcher$inboundSchema` instead. */ - export const inboundSchema = - UpdateCustomEnvironmentEnvironmentBranchMatcher$inboundSchema; - /** @deprecated use `UpdateCustomEnvironmentEnvironmentBranchMatcher$outboundSchema` instead. */ - export const outboundSchema = - UpdateCustomEnvironmentEnvironmentBranchMatcher$outboundSchema; - /** @deprecated use `UpdateCustomEnvironmentEnvironmentBranchMatcher$Outbound` instead. */ - export type Outbound = - UpdateCustomEnvironmentEnvironmentBranchMatcher$Outbound; -} - export function updateCustomEnvironmentEnvironmentBranchMatcherToJSON( updateCustomEnvironmentEnvironmentBranchMatcher: UpdateCustomEnvironmentEnvironmentBranchMatcher, @@ -525,7 +420,6 @@ export function updateCustomEnvironmentEnvironmentBranchMatcherToJSON( ), ); } - export function updateCustomEnvironmentEnvironmentBranchMatcherFromJSON( jsonString: string, ): SafeParseResult< @@ -553,7 +447,6 @@ export const UpdateCustomEnvironmentVerification$inboundSchema: z.ZodType< value: z.string(), reason: z.string(), }); - /** @internal */ export type UpdateCustomEnvironmentVerification$Outbound = { type: string; @@ -574,21 +467,6 @@ export const UpdateCustomEnvironmentVerification$outboundSchema: z.ZodType< 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 UpdateCustomEnvironmentVerification$ { - /** @deprecated use `UpdateCustomEnvironmentVerification$inboundSchema` instead. */ - export const inboundSchema = - UpdateCustomEnvironmentVerification$inboundSchema; - /** @deprecated use `UpdateCustomEnvironmentVerification$outboundSchema` instead. */ - export const outboundSchema = - UpdateCustomEnvironmentVerification$outboundSchema; - /** @deprecated use `UpdateCustomEnvironmentVerification$Outbound` instead. */ - export type Outbound = UpdateCustomEnvironmentVerification$Outbound; -} - export function updateCustomEnvironmentVerificationToJSON( updateCustomEnvironmentVerification: UpdateCustomEnvironmentVerification, ): string { @@ -598,7 +476,6 @@ export function updateCustomEnvironmentVerificationToJSON( ), ); } - export function updateCustomEnvironmentVerificationFromJSON( jsonString: string, ): SafeParseResult { @@ -630,7 +507,6 @@ export const UpdateCustomEnvironmentDomains$inboundSchema: z.ZodType< z.lazy(() => UpdateCustomEnvironmentVerification$inboundSchema), ).optional(), }); - /** @internal */ export type UpdateCustomEnvironmentDomains$Outbound = { name: string; @@ -669,19 +545,6 @@ export const UpdateCustomEnvironmentDomains$outboundSchema: z.ZodType< ).optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateCustomEnvironmentDomains$ { - /** @deprecated use `UpdateCustomEnvironmentDomains$inboundSchema` instead. */ - export const inboundSchema = UpdateCustomEnvironmentDomains$inboundSchema; - /** @deprecated use `UpdateCustomEnvironmentDomains$outboundSchema` instead. */ - export const outboundSchema = UpdateCustomEnvironmentDomains$outboundSchema; - /** @deprecated use `UpdateCustomEnvironmentDomains$Outbound` instead. */ - export type Outbound = UpdateCustomEnvironmentDomains$Outbound; -} - export function updateCustomEnvironmentDomainsToJSON( updateCustomEnvironmentDomains: UpdateCustomEnvironmentDomains, ): string { @@ -691,7 +554,6 @@ export function updateCustomEnvironmentDomainsToJSON( ), ); } - export function updateCustomEnvironmentDomainsFromJSON( jsonString: string, ): SafeParseResult { @@ -721,7 +583,6 @@ export const UpdateCustomEnvironmentResponseBody$inboundSchema: z.ZodType< createdAt: z.number(), updatedAt: z.number(), }); - /** @internal */ export type UpdateCustomEnvironmentResponseBody$Outbound = { id: string; @@ -757,21 +618,6 @@ export const UpdateCustomEnvironmentResponseBody$outboundSchema: z.ZodType< 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 UpdateCustomEnvironmentResponseBody$ { - /** @deprecated use `UpdateCustomEnvironmentResponseBody$inboundSchema` instead. */ - export const inboundSchema = - UpdateCustomEnvironmentResponseBody$inboundSchema; - /** @deprecated use `UpdateCustomEnvironmentResponseBody$outboundSchema` instead. */ - export const outboundSchema = - UpdateCustomEnvironmentResponseBody$outboundSchema; - /** @deprecated use `UpdateCustomEnvironmentResponseBody$Outbound` instead. */ - export type Outbound = UpdateCustomEnvironmentResponseBody$Outbound; -} - export function updateCustomEnvironmentResponseBodyToJSON( updateCustomEnvironmentResponseBody: UpdateCustomEnvironmentResponseBody, ): string { @@ -781,7 +627,6 @@ export function updateCustomEnvironmentResponseBodyToJSON( ), ); } - export function updateCustomEnvironmentResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/updatedomainautorenewop.ts b/src/models/updatedomainautorenewop.ts new file mode 100644 index 000000000..d745f045f --- /dev/null +++ b/src/models/updatedomainautorenewop.ts @@ -0,0 +1,171 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { remap as remap$ } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { + Forbidden, + Forbidden$inboundSchema, + Forbidden$Outbound, + Forbidden$outboundSchema, +} from "./forbidden.js"; +import { + NotAuthorizedForScope, + NotAuthorizedForScope$inboundSchema, + NotAuthorizedForScope$Outbound, + NotAuthorizedForScope$outboundSchema, +} from "./notauthorizedforscope.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type UpdateDomainAutoRenewRequestBody = { + autoRenew: boolean; +}; + +export type UpdateDomainAutoRenewRequest = { + domain: string; + teamId?: string | undefined; + requestBody: UpdateDomainAutoRenewRequestBody; +}; + +/** + * NotAuthorizedForScope + */ +export type UpdateDomainAutoRenewResponseBody = + | NotAuthorizedForScope + | Forbidden; + +/** @internal */ +export const UpdateDomainAutoRenewRequestBody$inboundSchema: z.ZodType< + UpdateDomainAutoRenewRequestBody, + z.ZodTypeDef, + unknown +> = z.object({ + autoRenew: z.boolean(), +}); +/** @internal */ +export type UpdateDomainAutoRenewRequestBody$Outbound = { + autoRenew: boolean; +}; + +/** @internal */ +export const UpdateDomainAutoRenewRequestBody$outboundSchema: z.ZodType< + UpdateDomainAutoRenewRequestBody$Outbound, + z.ZodTypeDef, + UpdateDomainAutoRenewRequestBody +> = z.object({ + autoRenew: z.boolean(), +}); + +export function updateDomainAutoRenewRequestBodyToJSON( + updateDomainAutoRenewRequestBody: UpdateDomainAutoRenewRequestBody, +): string { + return JSON.stringify( + UpdateDomainAutoRenewRequestBody$outboundSchema.parse( + updateDomainAutoRenewRequestBody, + ), + ); +} +export function updateDomainAutoRenewRequestBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateDomainAutoRenewRequestBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateDomainAutoRenewRequestBody' from JSON`, + ); +} + +/** @internal */ +export const UpdateDomainAutoRenewRequest$inboundSchema: z.ZodType< + UpdateDomainAutoRenewRequest, + z.ZodTypeDef, + unknown +> = z.object({ + domain: z.string(), + teamId: z.string().optional(), + RequestBody: z.lazy(() => UpdateDomainAutoRenewRequestBody$inboundSchema), +}).transform((v) => { + return remap$(v, { + "RequestBody": "requestBody", + }); +}); +/** @internal */ +export type UpdateDomainAutoRenewRequest$Outbound = { + domain: string; + teamId?: string | undefined; + RequestBody: UpdateDomainAutoRenewRequestBody$Outbound; +}; + +/** @internal */ +export const UpdateDomainAutoRenewRequest$outboundSchema: z.ZodType< + UpdateDomainAutoRenewRequest$Outbound, + z.ZodTypeDef, + UpdateDomainAutoRenewRequest +> = z.object({ + domain: z.string(), + teamId: z.string().optional(), + requestBody: z.lazy(() => UpdateDomainAutoRenewRequestBody$outboundSchema), +}).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); +}); + +export function updateDomainAutoRenewRequestToJSON( + updateDomainAutoRenewRequest: UpdateDomainAutoRenewRequest, +): string { + return JSON.stringify( + UpdateDomainAutoRenewRequest$outboundSchema.parse( + updateDomainAutoRenewRequest, + ), + ); +} +export function updateDomainAutoRenewRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateDomainAutoRenewRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateDomainAutoRenewRequest' from JSON`, + ); +} + +/** @internal */ +export const UpdateDomainAutoRenewResponseBody$inboundSchema: z.ZodType< + UpdateDomainAutoRenewResponseBody, + z.ZodTypeDef, + unknown +> = z.union([NotAuthorizedForScope$inboundSchema, Forbidden$inboundSchema]); +/** @internal */ +export type UpdateDomainAutoRenewResponseBody$Outbound = + | NotAuthorizedForScope$Outbound + | Forbidden$Outbound; + +/** @internal */ +export const UpdateDomainAutoRenewResponseBody$outboundSchema: z.ZodType< + UpdateDomainAutoRenewResponseBody$Outbound, + z.ZodTypeDef, + unknown +> = z.union([NotAuthorizedForScope$outboundSchema, Forbidden$outboundSchema]); + +export function updateDomainAutoRenewResponseBodyToJSON( + updateDomainAutoRenewResponseBody: UpdateDomainAutoRenewResponseBody, +): string { + return JSON.stringify( + UpdateDomainAutoRenewResponseBody$outboundSchema.parse( + updateDomainAutoRenewResponseBody, + ), + ); +} +export function updateDomainAutoRenewResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateDomainAutoRenewResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateDomainAutoRenewResponseBody' from JSON`, + ); +} diff --git a/src/models/updatedomainnameserversop.ts b/src/models/updatedomainnameserversop.ts new file mode 100644 index 000000000..d95f3752e --- /dev/null +++ b/src/models/updatedomainnameserversop.ts @@ -0,0 +1,173 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { remap as remap$ } from "../lib/primitives.js"; +import { safeParse } from "../lib/schemas.js"; +import { Result as SafeParseResult } from "../types/fp.js"; +import { + Forbidden, + Forbidden$inboundSchema, + Forbidden$Outbound, + Forbidden$outboundSchema, +} from "./forbidden.js"; +import { + NotAuthorizedForScope, + NotAuthorizedForScope$inboundSchema, + NotAuthorizedForScope$Outbound, + NotAuthorizedForScope$outboundSchema, +} from "./notauthorizedforscope.js"; +import { SDKValidationError } from "./sdkvalidationerror.js"; + +export type UpdateDomainNameserversRequestBody = { + nameservers: Array; +}; + +export type UpdateDomainNameserversRequest = { + domain: string; + teamId?: string | undefined; + requestBody: UpdateDomainNameserversRequestBody; +}; + +/** + * NotAuthorizedForScope + */ +export type UpdateDomainNameserversResponseBody = + | NotAuthorizedForScope + | Forbidden; + +/** @internal */ +export const UpdateDomainNameserversRequestBody$inboundSchema: z.ZodType< + UpdateDomainNameserversRequestBody, + z.ZodTypeDef, + unknown +> = z.object({ + nameservers: z.array(z.string()), +}); +/** @internal */ +export type UpdateDomainNameserversRequestBody$Outbound = { + nameservers: Array; +}; + +/** @internal */ +export const UpdateDomainNameserversRequestBody$outboundSchema: z.ZodType< + UpdateDomainNameserversRequestBody$Outbound, + z.ZodTypeDef, + UpdateDomainNameserversRequestBody +> = z.object({ + nameservers: z.array(z.string()), +}); + +export function updateDomainNameserversRequestBodyToJSON( + updateDomainNameserversRequestBody: UpdateDomainNameserversRequestBody, +): string { + return JSON.stringify( + UpdateDomainNameserversRequestBody$outboundSchema.parse( + updateDomainNameserversRequestBody, + ), + ); +} +export function updateDomainNameserversRequestBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + UpdateDomainNameserversRequestBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateDomainNameserversRequestBody' from JSON`, + ); +} + +/** @internal */ +export const UpdateDomainNameserversRequest$inboundSchema: z.ZodType< + UpdateDomainNameserversRequest, + z.ZodTypeDef, + unknown +> = z.object({ + domain: z.string(), + teamId: z.string().optional(), + RequestBody: z.lazy(() => UpdateDomainNameserversRequestBody$inboundSchema), +}).transform((v) => { + return remap$(v, { + "RequestBody": "requestBody", + }); +}); +/** @internal */ +export type UpdateDomainNameserversRequest$Outbound = { + domain: string; + teamId?: string | undefined; + RequestBody: UpdateDomainNameserversRequestBody$Outbound; +}; + +/** @internal */ +export const UpdateDomainNameserversRequest$outboundSchema: z.ZodType< + UpdateDomainNameserversRequest$Outbound, + z.ZodTypeDef, + UpdateDomainNameserversRequest +> = z.object({ + domain: z.string(), + teamId: z.string().optional(), + requestBody: z.lazy(() => UpdateDomainNameserversRequestBody$outboundSchema), +}).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); +}); + +export function updateDomainNameserversRequestToJSON( + updateDomainNameserversRequest: UpdateDomainNameserversRequest, +): string { + return JSON.stringify( + UpdateDomainNameserversRequest$outboundSchema.parse( + updateDomainNameserversRequest, + ), + ); +} +export function updateDomainNameserversRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateDomainNameserversRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateDomainNameserversRequest' from JSON`, + ); +} + +/** @internal */ +export const UpdateDomainNameserversResponseBody$inboundSchema: z.ZodType< + UpdateDomainNameserversResponseBody, + z.ZodTypeDef, + unknown +> = z.union([NotAuthorizedForScope$inboundSchema, Forbidden$inboundSchema]); +/** @internal */ +export type UpdateDomainNameserversResponseBody$Outbound = + | NotAuthorizedForScope$Outbound + | Forbidden$Outbound; + +/** @internal */ +export const UpdateDomainNameserversResponseBody$outboundSchema: z.ZodType< + UpdateDomainNameserversResponseBody$Outbound, + z.ZodTypeDef, + unknown +> = z.union([NotAuthorizedForScope$outboundSchema, Forbidden$outboundSchema]); + +export function updateDomainNameserversResponseBodyToJSON( + updateDomainNameserversResponseBody: UpdateDomainNameserversResponseBody, +): string { + return JSON.stringify( + UpdateDomainNameserversResponseBody$outboundSchema.parse( + updateDomainNameserversResponseBody, + ), + ); +} +export function updateDomainNameserversResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + UpdateDomainNameserversResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateDomainNameserversResponseBody' from JSON`, + ); +} diff --git a/src/models/updatedrainop.ts b/src/models/updatedrainop.ts new file mode 100644 index 000000000..12fee1f6f --- /dev/null +++ b/src/models/updatedrainop.ts @@ -0,0 +1,5070 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +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 UpdateDrainProjects = { + Some: "some", + All: "all", +} as const; +export type UpdateDrainProjects = ClosedEnum; + +export type UpdateDrainFilterDrains2 = { + type: string; + text: string; +}; + +export type FilterProject = { + ids?: Array | undefined; +}; + +export const UpdateDrainFilterSources = { + Build: "build", + Edge: "edge", + Lambda: "lambda", + Static: "static", + External: "external", + Firewall: "firewall", + Redirect: "redirect", +} as const; +export type UpdateDrainFilterSources = ClosedEnum< + typeof UpdateDrainFilterSources +>; + +export type FilterLog = { + sources?: Array | undefined; +}; + +export const UpdateDrainFilterEnvironments = { + Production: "production", + Preview: "preview", +} as const; +export type UpdateDrainFilterEnvironments = ClosedEnum< + typeof UpdateDrainFilterEnvironments +>; + +export type FilterDeployment = { + environments?: Array | undefined; +}; + +export type UpdateDrainFilter1 = { + type: string; + project?: FilterProject | undefined; + log?: FilterLog | undefined; + deployment?: FilterDeployment | undefined; +}; + +export type UpdateDrainFilterFilter = + | UpdateDrainFilterDrains2 + | UpdateDrainFilter1; + +export type UpdateDrainFilter2 = { + version: string; + filter: UpdateDrainFilterDrains2 | UpdateDrainFilter1; +}; + +export type UpdateDrainFilter = UpdateDrainFilter2 | string; + +export type UpdateDrainSchemas = { + version: string; +}; + +export type UpdateDrainEndpoint1 = { + traces: string; +}; + +export type DeliveryEndpoint = UpdateDrainEndpoint1; + +export const UpdateDrainDeliveryDrainsEncoding = { + Proto: "proto", + Json: "json", +} as const; +export type UpdateDrainDeliveryDrainsEncoding = ClosedEnum< + typeof UpdateDrainDeliveryDrainsEncoding +>; + +export type UpdateDrainDelivery2 = { + type: string; + endpoint: UpdateDrainEndpoint1; + encoding: UpdateDrainDeliveryDrainsEncoding; + headers: { [k: string]: string }; + secret?: string | undefined; +}; + +export const DeliveryCompression = { + Gzip: "gzip", + None: "none", +} as const; +export type DeliveryCompression = ClosedEnum; + +export const UpdateDrainDeliveryEncoding = { + Json: "json", + Ndjson: "ndjson", +} as const; +export type UpdateDrainDeliveryEncoding = ClosedEnum< + typeof UpdateDrainDeliveryEncoding +>; + +export type UpdateDrainDelivery1 = { + type: string; + endpoint: string; + compression?: DeliveryCompression | undefined; + encoding: UpdateDrainDeliveryEncoding; + headers: { [k: string]: string }; + secret?: string | undefined; +}; + +export type UpdateDrainDelivery = UpdateDrainDelivery1 | UpdateDrainDelivery2; + +/** + * Environment to apply sampling to + */ +export const UpdateDrainEnv = { + Production: "production", + Preview: "preview", +} as const; +/** + * Environment to apply sampling to + */ +export type UpdateDrainEnv = ClosedEnum; + +export type UpdateDrainSampling = { + type: string; + /** + * Sampling rate from 0 to 1 (e.g., 0.1 for 10%) + */ + rate: number; + /** + * Environment to apply sampling to + */ + env?: UpdateDrainEnv | undefined; + /** + * Request path prefix to apply the sampling rule to + */ + requestPath?: string | undefined; +}; + +export type UpdateDrainTransforms = { + id: string; +}; + +export const UpdateDrainStatus = { + Enabled: "enabled", + Disabled: "disabled", +} as const; +export type UpdateDrainStatus = ClosedEnum; + +export type UpdateDrainSource2 = { + kind?: string | undefined; +}; + +export type UpdateDrain13 = { + kind?: string | undefined; +}; + +export type UpdateDrain12 = { + kind?: string | undefined; + resourceId: string; +}; + +export type UpdateDrain11 = { + kind?: string | undefined; + externalResourceId: string; +}; + +export type UpdateDrainSource1 = UpdateDrain11 | UpdateDrain12 | UpdateDrain13; + +export type UpdateDrainSource = + | UpdateDrain11 + | UpdateDrain12 + | UpdateDrain13 + | UpdateDrainSource2; + +export type UpdateDrainRequestBody = { + name?: string | undefined; + projects?: UpdateDrainProjects | undefined; + projectIds?: Array | null | undefined; + filter?: UpdateDrainFilter2 | string | null | undefined; + schemas?: { [k: string]: UpdateDrainSchemas } | undefined; + delivery?: UpdateDrainDelivery1 | UpdateDrainDelivery2 | undefined; + sampling?: Array | null | undefined; + transforms?: Array | null | undefined; + status?: UpdateDrainStatus | undefined; + source?: + | UpdateDrain11 + | UpdateDrain12 + | UpdateDrain13 + | UpdateDrainSource2 + | undefined; +}; + +export type UpdateDrainRequest = { + 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?: UpdateDrainRequestBody | undefined; +}; + +export const UpdateDrainResponseBodyDrainsCreatedFrom = { + SelfServed: "self-served", + Integration: "integration", +} as const; +export type UpdateDrainResponseBodyDrainsCreatedFrom = ClosedEnum< + typeof UpdateDrainResponseBodyDrainsCreatedFrom +>; + +export type UpdateDrainResponseBodyDrainsLog = {}; + +export type UpdateDrainResponseBodyDrainsTrace = {}; + +export type UpdateDrainResponseBodyDrainsAnalytics = {}; + +export type UpdateDrainResponseBodyDrainsSpeedInsights = {}; + +export type UpdateDrainResponseBodyDrainsSchemas = { + log?: UpdateDrainResponseBodyDrainsLog | undefined; + trace?: UpdateDrainResponseBodyDrainsTrace | undefined; + analytics?: UpdateDrainResponseBodyDrainsAnalytics | undefined; + speedInsights?: UpdateDrainResponseBodyDrainsSpeedInsights | undefined; +}; + +export const UpdateDrainDeliveryDrainsResponse200ApplicationJSONResponseBody24Type = + { + Internal: "internal", + } as const; +export type UpdateDrainDeliveryDrainsResponse200ApplicationJSONResponseBody24Type = + ClosedEnum< + typeof UpdateDrainDeliveryDrainsResponse200ApplicationJSONResponseBody24Type + >; + +export const UpdateDrainDeliveryDrainsTarget = { + VercelOtelTracesDb: "vercel-otel-traces-db", +} as const; +export type UpdateDrainDeliveryDrainsTarget = ClosedEnum< + typeof UpdateDrainDeliveryDrainsTarget +>; + +export type UpdateDrainDeliveryDrains4 = { + type: UpdateDrainDeliveryDrainsResponse200ApplicationJSONResponseBody24Type; + target: UpdateDrainDeliveryDrainsTarget; +}; + +export const UpdateDrainDeliveryDrainsResponse200ApplicationJSONResponseBody2Type = + { + Clickhouse: "clickhouse", + } as const; +export type UpdateDrainDeliveryDrainsResponse200ApplicationJSONResponseBody2Type = + ClosedEnum< + typeof UpdateDrainDeliveryDrainsResponse200ApplicationJSONResponseBody2Type + >; + +export type UpdateDrainDeliveryDrains3 = { + type: UpdateDrainDeliveryDrainsResponse200ApplicationJSONResponseBody2Type; + endpoint: string; + table: string; +}; + +export const UpdateDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyType = + { + Otlphttp: "otlphttp", + } as const; +export type UpdateDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyType = + ClosedEnum< + typeof UpdateDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyType + >; + +export type UpdateDrainDeliveryDrainsEndpoint = { + traces: string; +}; + +export const UpdateDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyEncoding = + { + Json: "json", + Proto: "proto", + } as const; +export type UpdateDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyEncoding = + ClosedEnum< + typeof UpdateDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyEncoding + >; + +export type UpdateDrainDeliveryDrainsResponse2 = { + type: UpdateDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyType; + endpoint: UpdateDrainDeliveryDrainsEndpoint; + encoding: + UpdateDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyEncoding; + headers: { [k: string]: string }; + secret?: string | undefined; +}; + +export const UpdateDrainDeliveryDrainsResponse200ApplicationJSONType = { + Http: "http", +} as const; +export type UpdateDrainDeliveryDrainsResponse200ApplicationJSONType = + ClosedEnum; + +export const UpdateDrainDeliveryDrainsResponse200ApplicationJSONEncoding = { + Json: "json", + Ndjson: "ndjson", +} as const; +export type UpdateDrainDeliveryDrainsResponse200ApplicationJSONEncoding = + ClosedEnum< + typeof UpdateDrainDeliveryDrainsResponse200ApplicationJSONEncoding + >; + +export const UpdateDrainDeliveryDrainsCompression = { + Gzip: "gzip", + None: "none", +} as const; +export type UpdateDrainDeliveryDrainsCompression = ClosedEnum< + typeof UpdateDrainDeliveryDrainsCompression +>; + +export type UpdateDrainDeliveryDrainsResponse1 = { + type: UpdateDrainDeliveryDrainsResponse200ApplicationJSONType; + endpoint: string; + encoding: UpdateDrainDeliveryDrainsResponse200ApplicationJSONEncoding; + compression?: UpdateDrainDeliveryDrainsCompression | undefined; + headers: { [k: string]: string }; + secret?: string | undefined; +}; + +export type UpdateDrainResponseBodyDrainsDelivery = + | UpdateDrainDeliveryDrainsResponse1 + | UpdateDrainDeliveryDrainsResponse2 + | UpdateDrainDeliveryDrains3 + | UpdateDrainDeliveryDrains4; + +export const UpdateDrainResponseBodyDrainsType = { + HeadSampling: "head_sampling", +} as const; +export type UpdateDrainResponseBodyDrainsType = ClosedEnum< + typeof UpdateDrainResponseBodyDrainsType +>; + +export const UpdateDrainResponseBodyDrainsEnv = { + Production: "production", + Preview: "preview", +} as const; +export type UpdateDrainResponseBodyDrainsEnv = ClosedEnum< + typeof UpdateDrainResponseBodyDrainsEnv +>; + +export type UpdateDrainResponseBodyDrainsSampling = { + type: UpdateDrainResponseBodyDrainsType; + rate: number; + env?: UpdateDrainResponseBodyDrainsEnv | undefined; + requestPath?: string | undefined; +}; + +export const UpdateDrainResponseBodyDrainsStatus = { + Enabled: "enabled", + Disabled: "disabled", + Errored: "errored", +} as const; +export type UpdateDrainResponseBodyDrainsStatus = ClosedEnum< + typeof UpdateDrainResponseBodyDrainsStatus +>; + +export const UpdateDrainResponseBodyDrainsDisabledReason = { + DisabledByOwner: "disabled-by-owner", + FeatureNotAvailable: "feature-not-available", + AccountPlanDowngrade: "account-plan-downgrade", + DisabledByAdmin: "disabled-by-admin", +} as const; +export type UpdateDrainResponseBodyDrainsDisabledReason = ClosedEnum< + typeof UpdateDrainResponseBodyDrainsDisabledReason +>; + +export const UpdateDrainSourceDrainsResponse200Kind = { + Integration: "integration", +} as const; +export type UpdateDrainSourceDrainsResponse200Kind = ClosedEnum< + typeof UpdateDrainSourceDrainsResponse200Kind +>; + +export type UpdateDrainSourceDrainsResponse2 = { + kind: UpdateDrainSourceDrainsResponse200Kind; + resourceId?: string | undefined; + externalResourceId?: string | undefined; + integrationId: string; + integrationConfigurationId: string; +}; + +export const UpdateDrainSourceDrainsResponseKind = { + SelfServed: "self-served", +} as const; +export type UpdateDrainSourceDrainsResponseKind = ClosedEnum< + typeof UpdateDrainSourceDrainsResponseKind +>; + +export type UpdateDrainSourceDrainsResponse1 = { + kind: UpdateDrainSourceDrainsResponseKind; +}; + +export type UpdateDrainResponseBodyDrainsSource = + | UpdateDrainSourceDrainsResponse2 + | UpdateDrainSourceDrainsResponse1; + +export const UpdateDrainFilterV2DrainsResponse200Version = { + V2: "v2", +} as const; +export type UpdateDrainFilterV2DrainsResponse200Version = ClosedEnum< + typeof UpdateDrainFilterV2DrainsResponse200Version +>; + +export const UpdateDrainFilterDrainsResponse200Type = { + Odata: "odata", +} as const; +export type UpdateDrainFilterDrainsResponse200Type = ClosedEnum< + typeof UpdateDrainFilterDrainsResponse200Type +>; + +export type UpdateDrainFilterDrainsResponse2002 = { + type: UpdateDrainFilterDrainsResponse200Type; + text: string; +}; + +export const UpdateDrainFilterDrainsResponseType = { + Basic: "basic", +} as const; +export type UpdateDrainFilterDrainsResponseType = ClosedEnum< + typeof UpdateDrainFilterDrainsResponseType +>; + +export type UpdateDrainFilterDrainsProject = { + ids?: Array | undefined; +}; + +export const UpdateDrainFilterDrainsResponseSources = { + Build: "build", + Edge: "edge", + Lambda: "lambda", + Static: "static", + External: "external", + Firewall: "firewall", + Redirect: "redirect", +} as const; +export type UpdateDrainFilterDrainsResponseSources = ClosedEnum< + typeof UpdateDrainFilterDrainsResponseSources +>; + +export type UpdateDrainFilterDrainsLog = { + sources?: Array | undefined; + legacyExcludeCachedStaticAssetLogs?: boolean | undefined; +}; + +export const UpdateDrainFilterDrainsResponseEnvironments = { + Production: "production", + Preview: "preview", +} as const; +export type UpdateDrainFilterDrainsResponseEnvironments = ClosedEnum< + typeof UpdateDrainFilterDrainsResponseEnvironments +>; + +export type UpdateDrainFilterDrainsDeployment = { + environments?: Array | undefined; +}; + +export type UpdateDrainFilterDrainsResponse1 = { + type: UpdateDrainFilterDrainsResponseType; + project?: UpdateDrainFilterDrainsProject | undefined; + log?: UpdateDrainFilterDrainsLog | undefined; + deployment?: UpdateDrainFilterDrainsDeployment | undefined; +}; + +export type UpdateDrainFilterV2DrainsFilter = + | UpdateDrainFilterDrainsResponse2002 + | UpdateDrainFilterDrainsResponse1; + +export type UpdateDrainFilterV2Drains2 = { + version: UpdateDrainFilterV2DrainsResponse200Version; + filter: + | UpdateDrainFilterDrainsResponse2002 + | UpdateDrainFilterDrainsResponse1; +}; + +export const UpdateDrainFilterV2DrainsResponseVersion = { + V1: "v1", +} as const; +export type UpdateDrainFilterV2DrainsResponseVersion = ClosedEnum< + typeof UpdateDrainFilterV2DrainsResponseVersion +>; + +export type UpdateDrainFilterV2Drains1 = { + version: UpdateDrainFilterV2DrainsResponseVersion; +}; + +export type UpdateDrainResponseBodyDrainsFilterV2 = + | UpdateDrainFilterV2Drains2 + | UpdateDrainFilterV2Drains1; + +export const UpdateDrainResponseBodyFramework = { + Blitzjs: "blitzjs", + Nextjs: "nextjs", + Gatsby: "gatsby", + Remix: "remix", + ReactRouter: "react-router", + 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", + TanstackStart: "tanstack-start", + Vitepress: "vitepress", + Vuepress: "vuepress", + Parcel: "parcel", + Fastapi: "fastapi", + Flask: "flask", + Fasthtml: "fasthtml", + SanityV3: "sanity-v3", + Sanity: "sanity", + Storybook: "storybook", + Nitro: "nitro", + Hono: "hono", + Express: "express", + H3: "h3", + Nestjs: "nestjs", + Elysia: "elysia", + Fastify: "fastify", + Xmcp: "xmcp", +} as const; +export type UpdateDrainResponseBodyFramework = ClosedEnum< + typeof UpdateDrainResponseBodyFramework +>; + +export type UpdateDrainResponseBodyProjectsMetadata = { + id: string; + name: string; + framework?: UpdateDrainResponseBodyFramework | null | undefined; + latestDeployment?: string | undefined; +}; + +export type UpdateDrainResponseBody2 = { + id: string; + ownerId: string; + name: string; + createdAt: number; + createdFrom?: UpdateDrainResponseBodyDrainsCreatedFrom | undefined; + updatedAt: number; + projectIds?: Array | undefined; + schemas?: UpdateDrainResponseBodyDrainsSchemas | undefined; + delivery?: + | UpdateDrainDeliveryDrainsResponse1 + | UpdateDrainDeliveryDrainsResponse2 + | UpdateDrainDeliveryDrains3 + | UpdateDrainDeliveryDrains4 + | undefined; + sampling?: Array | undefined; + teamId?: string | null | undefined; + status?: UpdateDrainResponseBodyDrainsStatus | undefined; + disabledAt?: number | undefined; + disabledReason?: UpdateDrainResponseBodyDrainsDisabledReason | undefined; + disabledBy?: string | undefined; + firstErrorTimestamp?: number | undefined; + configurationId?: string | undefined; + clientId?: string | undefined; + source: UpdateDrainSourceDrainsResponse2 | UpdateDrainSourceDrainsResponse1; + filter?: string | undefined; + filterV2?: + | UpdateDrainFilterV2Drains2 + | UpdateDrainFilterV2Drains1 + | undefined; + integrationIcon?: string | undefined; + integrationConfigurationUri?: string | undefined; + integrationWebsite?: string | undefined; + projectsMetadata?: Array | undefined; +}; + +export const UpdateDrainResponseBodyCreatedFrom = { + SelfServed: "self-served", + Integration: "integration", +} as const; +export type UpdateDrainResponseBodyCreatedFrom = ClosedEnum< + typeof UpdateDrainResponseBodyCreatedFrom +>; + +export type UpdateDrainResponseBodyLog = {}; + +export type UpdateDrainResponseBodyTrace = {}; + +export type UpdateDrainResponseBodyAnalytics = {}; + +export type UpdateDrainResponseBodySpeedInsights = {}; + +export type UpdateDrainResponseBodySchemas = { + log?: UpdateDrainResponseBodyLog | undefined; + trace?: UpdateDrainResponseBodyTrace | undefined; + analytics?: UpdateDrainResponseBodyAnalytics | undefined; + speedInsights?: UpdateDrainResponseBodySpeedInsights | undefined; +}; + +export const UpdateDrainDeliveryDrainsResponse200Type = { + Internal: "internal", +} as const; +export type UpdateDrainDeliveryDrainsResponse200Type = ClosedEnum< + typeof UpdateDrainDeliveryDrainsResponse200Type +>; + +export const UpdateDrainDeliveryTarget = { + VercelOtelTracesDb: "vercel-otel-traces-db", +} as const; +export type UpdateDrainDeliveryTarget = ClosedEnum< + typeof UpdateDrainDeliveryTarget +>; + +export type UpdateDrainDelivery4 = { + type: UpdateDrainDeliveryDrainsResponse200Type; + target: UpdateDrainDeliveryTarget; +}; + +export const UpdateDrainDeliveryDrainsResponseType = { + Clickhouse: "clickhouse", +} as const; +export type UpdateDrainDeliveryDrainsResponseType = ClosedEnum< + typeof UpdateDrainDeliveryDrainsResponseType +>; + +export type UpdateDrainDelivery3 = { + type: UpdateDrainDeliveryDrainsResponseType; + endpoint: string; + table: string; +}; + +export const UpdateDrainDeliveryDrainsType = { + Otlphttp: "otlphttp", +} as const; +export type UpdateDrainDeliveryDrainsType = ClosedEnum< + typeof UpdateDrainDeliveryDrainsType +>; + +export type UpdateDrainDeliveryEndpoint = { + traces: string; +}; + +export const UpdateDrainDeliveryDrainsResponse200Encoding = { + Json: "json", + Proto: "proto", +} as const; +export type UpdateDrainDeliveryDrainsResponse200Encoding = ClosedEnum< + typeof UpdateDrainDeliveryDrainsResponse200Encoding +>; + +export type UpdateDrainDeliveryDrains2 = { + type: UpdateDrainDeliveryDrainsType; + endpoint: UpdateDrainDeliveryEndpoint; + encoding: UpdateDrainDeliveryDrainsResponse200Encoding; + headers: { [k: string]: string }; + secret?: string | undefined; +}; + +export const UpdateDrainDeliveryType = { + Http: "http", +} as const; +export type UpdateDrainDeliveryType = ClosedEnum< + typeof UpdateDrainDeliveryType +>; + +export const UpdateDrainDeliveryDrainsResponseEncoding = { + Json: "json", + Ndjson: "ndjson", +} as const; +export type UpdateDrainDeliveryDrainsResponseEncoding = ClosedEnum< + typeof UpdateDrainDeliveryDrainsResponseEncoding +>; + +export const UpdateDrainDeliveryCompression = { + Gzip: "gzip", + None: "none", +} as const; +export type UpdateDrainDeliveryCompression = ClosedEnum< + typeof UpdateDrainDeliveryCompression +>; + +export type UpdateDrainDeliveryDrains1 = { + type: UpdateDrainDeliveryType; + endpoint: string; + encoding: UpdateDrainDeliveryDrainsResponseEncoding; + compression?: UpdateDrainDeliveryCompression | undefined; + headers: { [k: string]: string }; + secret?: string | undefined; +}; + +export type UpdateDrainResponseBodyDelivery = + | UpdateDrainDeliveryDrains1 + | UpdateDrainDeliveryDrains2 + | UpdateDrainDelivery3 + | UpdateDrainDelivery4; + +export const UpdateDrainResponseBodyType = { + HeadSampling: "head_sampling", +} as const; +export type UpdateDrainResponseBodyType = ClosedEnum< + typeof UpdateDrainResponseBodyType +>; + +export const UpdateDrainResponseBodyEnv = { + Production: "production", + Preview: "preview", +} as const; +export type UpdateDrainResponseBodyEnv = ClosedEnum< + typeof UpdateDrainResponseBodyEnv +>; + +export type UpdateDrainResponseBodySampling = { + type: UpdateDrainResponseBodyType; + rate: number; + env?: UpdateDrainResponseBodyEnv | undefined; + requestPath?: string | undefined; +}; + +export const UpdateDrainResponseBodyStatus = { + Enabled: "enabled", + Disabled: "disabled", + Errored: "errored", +} as const; +export type UpdateDrainResponseBodyStatus = ClosedEnum< + typeof UpdateDrainResponseBodyStatus +>; + +export const UpdateDrainResponseBodyDisabledReason = { + DisabledByOwner: "disabled-by-owner", + FeatureNotAvailable: "feature-not-available", + AccountPlanDowngrade: "account-plan-downgrade", + DisabledByAdmin: "disabled-by-admin", +} as const; +export type UpdateDrainResponseBodyDisabledReason = ClosedEnum< + typeof UpdateDrainResponseBodyDisabledReason +>; + +export const UpdateDrainSourceDrainsKind = { + Integration: "integration", +} as const; +export type UpdateDrainSourceDrainsKind = ClosedEnum< + typeof UpdateDrainSourceDrainsKind +>; + +export type UpdateDrainSourceDrains2 = { + kind: UpdateDrainSourceDrainsKind; + resourceId?: string | undefined; + externalResourceId?: string | undefined; + integrationId: string; + integrationConfigurationId: string; +}; + +export const UpdateDrainSourceKind = { + SelfServed: "self-served", +} as const; +export type UpdateDrainSourceKind = ClosedEnum; + +export type UpdateDrainSourceDrains1 = { + kind: UpdateDrainSourceKind; +}; + +export type UpdateDrainResponseBodySource = + | UpdateDrainSourceDrains2 + | UpdateDrainSourceDrains1; + +export const UpdateDrainFilterV2DrainsVersion = { + V2: "v2", +} as const; +export type UpdateDrainFilterV2DrainsVersion = ClosedEnum< + typeof UpdateDrainFilterV2DrainsVersion +>; + +export const UpdateDrainFilterDrainsType = { + Odata: "odata", +} as const; +export type UpdateDrainFilterDrainsType = ClosedEnum< + typeof UpdateDrainFilterDrainsType +>; + +export type UpdateDrainFilterDrainsResponse2 = { + type: UpdateDrainFilterDrainsType; + text: string; +}; + +export const UpdateDrainFilterType = { + Basic: "basic", +} as const; +export type UpdateDrainFilterType = ClosedEnum; + +export type UpdateDrainFilterProject = { + ids?: Array | undefined; +}; + +export const UpdateDrainFilterDrainsSources = { + Build: "build", + Edge: "edge", + Lambda: "lambda", + Static: "static", + External: "external", + Firewall: "firewall", + Redirect: "redirect", +} as const; +export type UpdateDrainFilterDrainsSources = ClosedEnum< + typeof UpdateDrainFilterDrainsSources +>; + +export type UpdateDrainFilterLog = { + sources?: Array | undefined; + legacyExcludeCachedStaticAssetLogs?: boolean | undefined; +}; + +export const UpdateDrainFilterDrainsEnvironments = { + Production: "production", + Preview: "preview", +} as const; +export type UpdateDrainFilterDrainsEnvironments = ClosedEnum< + typeof UpdateDrainFilterDrainsEnvironments +>; + +export type UpdateDrainFilterDeployment = { + environments?: Array | undefined; +}; + +export type UpdateDrainFilterDrains1 = { + type: UpdateDrainFilterType; + project?: UpdateDrainFilterProject | undefined; + log?: UpdateDrainFilterLog | undefined; + deployment?: UpdateDrainFilterDeployment | undefined; +}; + +export type UpdateDrainFilterV2Filter = + | UpdateDrainFilterDrainsResponse2 + | UpdateDrainFilterDrains1; + +export type UpdateDrainFilterV22 = { + version: UpdateDrainFilterV2DrainsVersion; + filter: UpdateDrainFilterDrainsResponse2 | UpdateDrainFilterDrains1; +}; + +export const UpdateDrainFilterV2Version = { + V1: "v1", +} as const; +export type UpdateDrainFilterV2Version = ClosedEnum< + typeof UpdateDrainFilterV2Version +>; + +export type UpdateDrainFilterV21 = { + version: UpdateDrainFilterV2Version; +}; + +export type UpdateDrainResponseBodyFilterV2 = + | UpdateDrainFilterV22 + | UpdateDrainFilterV21; + +export type UpdateDrainResponseBody1 = { + id: string; + ownerId: string; + name: string; + createdAt: number; + createdFrom?: UpdateDrainResponseBodyCreatedFrom | undefined; + updatedAt: number; + projectIds?: Array | undefined; + schemas?: UpdateDrainResponseBodySchemas | undefined; + delivery?: + | UpdateDrainDeliveryDrains1 + | UpdateDrainDeliveryDrains2 + | UpdateDrainDelivery3 + | UpdateDrainDelivery4 + | undefined; + sampling?: Array | undefined; + teamId?: string | null | undefined; + status?: UpdateDrainResponseBodyStatus | undefined; + disabledAt?: number | undefined; + disabledReason?: UpdateDrainResponseBodyDisabledReason | undefined; + disabledBy?: string | undefined; + firstErrorTimestamp?: number | undefined; + configurationId?: string | undefined; + clientId?: string | undefined; + source: UpdateDrainSourceDrains2 | UpdateDrainSourceDrains1; + filter?: string | undefined; + filterV2?: UpdateDrainFilterV22 | UpdateDrainFilterV21 | undefined; +}; + +export type UpdateDrainResponseBody = + | UpdateDrainResponseBody1 + | UpdateDrainResponseBody2; + +/** @internal */ +export const UpdateDrainProjects$inboundSchema: z.ZodNativeEnum< + typeof UpdateDrainProjects +> = z.nativeEnum(UpdateDrainProjects); +/** @internal */ +export const UpdateDrainProjects$outboundSchema: z.ZodNativeEnum< + typeof UpdateDrainProjects +> = UpdateDrainProjects$inboundSchema; + +/** @internal */ +export const UpdateDrainFilterDrains2$inboundSchema: z.ZodType< + UpdateDrainFilterDrains2, + z.ZodTypeDef, + unknown +> = z.object({ + type: z.string(), + text: z.string(), +}); +/** @internal */ +export type UpdateDrainFilterDrains2$Outbound = { + type: string; + text: string; +}; + +/** @internal */ +export const UpdateDrainFilterDrains2$outboundSchema: z.ZodType< + UpdateDrainFilterDrains2$Outbound, + z.ZodTypeDef, + UpdateDrainFilterDrains2 +> = z.object({ + type: z.string(), + text: z.string(), +}); + +export function updateDrainFilterDrains2ToJSON( + updateDrainFilterDrains2: UpdateDrainFilterDrains2, +): string { + return JSON.stringify( + UpdateDrainFilterDrains2$outboundSchema.parse(updateDrainFilterDrains2), + ); +} +export function updateDrainFilterDrains2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateDrainFilterDrains2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateDrainFilterDrains2' from JSON`, + ); +} + +/** @internal */ +export const FilterProject$inboundSchema: z.ZodType< + FilterProject, + z.ZodTypeDef, + unknown +> = z.object({ + ids: z.array(z.string()).optional(), +}); +/** @internal */ +export type FilterProject$Outbound = { + ids?: Array | undefined; +}; + +/** @internal */ +export const FilterProject$outboundSchema: z.ZodType< + FilterProject$Outbound, + z.ZodTypeDef, + FilterProject +> = z.object({ + ids: z.array(z.string()).optional(), +}); + +export function filterProjectToJSON(filterProject: FilterProject): string { + return JSON.stringify(FilterProject$outboundSchema.parse(filterProject)); +} +export function filterProjectFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => FilterProject$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FilterProject' from JSON`, + ); +} + +/** @internal */ +export const UpdateDrainFilterSources$inboundSchema: z.ZodNativeEnum< + typeof UpdateDrainFilterSources +> = z.nativeEnum(UpdateDrainFilterSources); +/** @internal */ +export const UpdateDrainFilterSources$outboundSchema: z.ZodNativeEnum< + typeof UpdateDrainFilterSources +> = UpdateDrainFilterSources$inboundSchema; + +/** @internal */ +export const FilterLog$inboundSchema: z.ZodType< + FilterLog, + z.ZodTypeDef, + unknown +> = z.object({ + sources: z.array(UpdateDrainFilterSources$inboundSchema).optional(), +}); +/** @internal */ +export type FilterLog$Outbound = { + sources?: Array | undefined; +}; + +/** @internal */ +export const FilterLog$outboundSchema: z.ZodType< + FilterLog$Outbound, + z.ZodTypeDef, + FilterLog +> = z.object({ + sources: z.array(UpdateDrainFilterSources$outboundSchema).optional(), +}); + +export function filterLogToJSON(filterLog: FilterLog): string { + return JSON.stringify(FilterLog$outboundSchema.parse(filterLog)); +} +export function filterLogFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => FilterLog$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FilterLog' from JSON`, + ); +} + +/** @internal */ +export const UpdateDrainFilterEnvironments$inboundSchema: z.ZodNativeEnum< + typeof UpdateDrainFilterEnvironments +> = z.nativeEnum(UpdateDrainFilterEnvironments); +/** @internal */ +export const UpdateDrainFilterEnvironments$outboundSchema: z.ZodNativeEnum< + typeof UpdateDrainFilterEnvironments +> = UpdateDrainFilterEnvironments$inboundSchema; + +/** @internal */ +export const FilterDeployment$inboundSchema: z.ZodType< + FilterDeployment, + z.ZodTypeDef, + unknown +> = z.object({ + environments: z.array(UpdateDrainFilterEnvironments$inboundSchema).optional(), +}); +/** @internal */ +export type FilterDeployment$Outbound = { + environments?: Array | undefined; +}; + +/** @internal */ +export const FilterDeployment$outboundSchema: z.ZodType< + FilterDeployment$Outbound, + z.ZodTypeDef, + FilterDeployment +> = z.object({ + environments: z.array(UpdateDrainFilterEnvironments$outboundSchema) + .optional(), +}); + +export function filterDeploymentToJSON( + filterDeployment: FilterDeployment, +): string { + return JSON.stringify( + FilterDeployment$outboundSchema.parse(filterDeployment), + ); +} +export function filterDeploymentFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => FilterDeployment$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FilterDeployment' from JSON`, + ); +} + +/** @internal */ +export const UpdateDrainFilter1$inboundSchema: z.ZodType< + UpdateDrainFilter1, + z.ZodTypeDef, + unknown +> = z.object({ + type: z.string(), + project: z.lazy(() => FilterProject$inboundSchema).optional(), + log: z.lazy(() => FilterLog$inboundSchema).optional(), + deployment: z.lazy(() => FilterDeployment$inboundSchema).optional(), +}); +/** @internal */ +export type UpdateDrainFilter1$Outbound = { + type: string; + project?: FilterProject$Outbound | undefined; + log?: FilterLog$Outbound | undefined; + deployment?: FilterDeployment$Outbound | undefined; +}; + +/** @internal */ +export const UpdateDrainFilter1$outboundSchema: z.ZodType< + UpdateDrainFilter1$Outbound, + z.ZodTypeDef, + UpdateDrainFilter1 +> = z.object({ + type: z.string(), + project: z.lazy(() => FilterProject$outboundSchema).optional(), + log: z.lazy(() => FilterLog$outboundSchema).optional(), + deployment: z.lazy(() => FilterDeployment$outboundSchema).optional(), +}); + +export function updateDrainFilter1ToJSON( + updateDrainFilter1: UpdateDrainFilter1, +): string { + return JSON.stringify( + UpdateDrainFilter1$outboundSchema.parse(updateDrainFilter1), + ); +} +export function updateDrainFilter1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateDrainFilter1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateDrainFilter1' from JSON`, + ); +} + +/** @internal */ +export const UpdateDrainFilterFilter$inboundSchema: z.ZodType< + UpdateDrainFilterFilter, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => UpdateDrainFilterDrains2$inboundSchema), + z.lazy(() => UpdateDrainFilter1$inboundSchema), +]); +/** @internal */ +export type UpdateDrainFilterFilter$Outbound = + | UpdateDrainFilterDrains2$Outbound + | UpdateDrainFilter1$Outbound; + +/** @internal */ +export const UpdateDrainFilterFilter$outboundSchema: z.ZodType< + UpdateDrainFilterFilter$Outbound, + z.ZodTypeDef, + UpdateDrainFilterFilter +> = z.union([ + z.lazy(() => UpdateDrainFilterDrains2$outboundSchema), + z.lazy(() => UpdateDrainFilter1$outboundSchema), +]); + +export function updateDrainFilterFilterToJSON( + updateDrainFilterFilter: UpdateDrainFilterFilter, +): string { + return JSON.stringify( + UpdateDrainFilterFilter$outboundSchema.parse(updateDrainFilterFilter), + ); +} +export function updateDrainFilterFilterFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateDrainFilterFilter$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateDrainFilterFilter' from JSON`, + ); +} + +/** @internal */ +export const UpdateDrainFilter2$inboundSchema: z.ZodType< + UpdateDrainFilter2, + z.ZodTypeDef, + unknown +> = z.object({ + version: z.string(), + filter: z.union([ + z.lazy(() => UpdateDrainFilterDrains2$inboundSchema), + z.lazy(() => UpdateDrainFilter1$inboundSchema), + ]), +}); +/** @internal */ +export type UpdateDrainFilter2$Outbound = { + version: string; + filter: UpdateDrainFilterDrains2$Outbound | UpdateDrainFilter1$Outbound; +}; + +/** @internal */ +export const UpdateDrainFilter2$outboundSchema: z.ZodType< + UpdateDrainFilter2$Outbound, + z.ZodTypeDef, + UpdateDrainFilter2 +> = z.object({ + version: z.string(), + filter: z.union([ + z.lazy(() => UpdateDrainFilterDrains2$outboundSchema), + z.lazy(() => UpdateDrainFilter1$outboundSchema), + ]), +}); + +export function updateDrainFilter2ToJSON( + updateDrainFilter2: UpdateDrainFilter2, +): string { + return JSON.stringify( + UpdateDrainFilter2$outboundSchema.parse(updateDrainFilter2), + ); +} +export function updateDrainFilter2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateDrainFilter2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateDrainFilter2' from JSON`, + ); +} + +/** @internal */ +export const UpdateDrainFilter$inboundSchema: z.ZodType< + UpdateDrainFilter, + z.ZodTypeDef, + unknown +> = z.union([z.lazy(() => UpdateDrainFilter2$inboundSchema), z.string()]); +/** @internal */ +export type UpdateDrainFilter$Outbound = UpdateDrainFilter2$Outbound | string; + +/** @internal */ +export const UpdateDrainFilter$outboundSchema: z.ZodType< + UpdateDrainFilter$Outbound, + z.ZodTypeDef, + UpdateDrainFilter +> = z.union([z.lazy(() => UpdateDrainFilter2$outboundSchema), z.string()]); + +export function updateDrainFilterToJSON( + updateDrainFilter: UpdateDrainFilter, +): string { + return JSON.stringify( + UpdateDrainFilter$outboundSchema.parse(updateDrainFilter), + ); +} +export function updateDrainFilterFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateDrainFilter$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateDrainFilter' from JSON`, + ); +} + +/** @internal */ +export const UpdateDrainSchemas$inboundSchema: z.ZodType< + UpdateDrainSchemas, + z.ZodTypeDef, + unknown +> = z.object({ + version: z.string(), +}); +/** @internal */ +export type UpdateDrainSchemas$Outbound = { + version: string; +}; + +/** @internal */ +export const UpdateDrainSchemas$outboundSchema: z.ZodType< + UpdateDrainSchemas$Outbound, + z.ZodTypeDef, + UpdateDrainSchemas +> = z.object({ + version: z.string(), +}); + +export function updateDrainSchemasToJSON( + updateDrainSchemas: UpdateDrainSchemas, +): string { + return JSON.stringify( + UpdateDrainSchemas$outboundSchema.parse(updateDrainSchemas), + ); +} +export function updateDrainSchemasFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateDrainSchemas$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateDrainSchemas' from JSON`, + ); +} + +/** @internal */ +export const UpdateDrainEndpoint1$inboundSchema: z.ZodType< + UpdateDrainEndpoint1, + z.ZodTypeDef, + unknown +> = z.object({ + traces: z.string(), +}); +/** @internal */ +export type UpdateDrainEndpoint1$Outbound = { + traces: string; +}; + +/** @internal */ +export const UpdateDrainEndpoint1$outboundSchema: z.ZodType< + UpdateDrainEndpoint1$Outbound, + z.ZodTypeDef, + UpdateDrainEndpoint1 +> = z.object({ + traces: z.string(), +}); + +export function updateDrainEndpoint1ToJSON( + updateDrainEndpoint1: UpdateDrainEndpoint1, +): string { + return JSON.stringify( + UpdateDrainEndpoint1$outboundSchema.parse(updateDrainEndpoint1), + ); +} +export function updateDrainEndpoint1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateDrainEndpoint1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateDrainEndpoint1' from JSON`, + ); +} + +/** @internal */ +export const DeliveryEndpoint$inboundSchema: z.ZodType< + DeliveryEndpoint, + z.ZodTypeDef, + unknown +> = z.lazy(() => UpdateDrainEndpoint1$inboundSchema); +/** @internal */ +export type DeliveryEndpoint$Outbound = UpdateDrainEndpoint1$Outbound; + +/** @internal */ +export const DeliveryEndpoint$outboundSchema: z.ZodType< + DeliveryEndpoint$Outbound, + z.ZodTypeDef, + DeliveryEndpoint +> = z.lazy(() => UpdateDrainEndpoint1$outboundSchema); + +export function deliveryEndpointToJSON( + deliveryEndpoint: DeliveryEndpoint, +): string { + return JSON.stringify( + DeliveryEndpoint$outboundSchema.parse(deliveryEndpoint), + ); +} +export function deliveryEndpointFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => DeliveryEndpoint$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'DeliveryEndpoint' from JSON`, + ); +} + +/** @internal */ +export const UpdateDrainDeliveryDrainsEncoding$inboundSchema: z.ZodNativeEnum< + typeof UpdateDrainDeliveryDrainsEncoding +> = z.nativeEnum(UpdateDrainDeliveryDrainsEncoding); +/** @internal */ +export const UpdateDrainDeliveryDrainsEncoding$outboundSchema: z.ZodNativeEnum< + typeof UpdateDrainDeliveryDrainsEncoding +> = UpdateDrainDeliveryDrainsEncoding$inboundSchema; + +/** @internal */ +export const UpdateDrainDelivery2$inboundSchema: z.ZodType< + UpdateDrainDelivery2, + z.ZodTypeDef, + unknown +> = z.object({ + type: z.string(), + endpoint: z.lazy(() => UpdateDrainEndpoint1$inboundSchema), + encoding: UpdateDrainDeliveryDrainsEncoding$inboundSchema, + headers: z.record(z.string()), + secret: z.string().optional(), +}); +/** @internal */ +export type UpdateDrainDelivery2$Outbound = { + type: string; + endpoint: UpdateDrainEndpoint1$Outbound; + encoding: string; + headers: { [k: string]: string }; + secret?: string | undefined; +}; + +/** @internal */ +export const UpdateDrainDelivery2$outboundSchema: z.ZodType< + UpdateDrainDelivery2$Outbound, + z.ZodTypeDef, + UpdateDrainDelivery2 +> = z.object({ + type: z.string(), + endpoint: z.lazy(() => UpdateDrainEndpoint1$outboundSchema), + encoding: UpdateDrainDeliveryDrainsEncoding$outboundSchema, + headers: z.record(z.string()), + secret: z.string().optional(), +}); + +export function updateDrainDelivery2ToJSON( + updateDrainDelivery2: UpdateDrainDelivery2, +): string { + return JSON.stringify( + UpdateDrainDelivery2$outboundSchema.parse(updateDrainDelivery2), + ); +} +export function updateDrainDelivery2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateDrainDelivery2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateDrainDelivery2' from JSON`, + ); +} + +/** @internal */ +export const DeliveryCompression$inboundSchema: z.ZodNativeEnum< + typeof DeliveryCompression +> = z.nativeEnum(DeliveryCompression); +/** @internal */ +export const DeliveryCompression$outboundSchema: z.ZodNativeEnum< + typeof DeliveryCompression +> = DeliveryCompression$inboundSchema; + +/** @internal */ +export const UpdateDrainDeliveryEncoding$inboundSchema: z.ZodNativeEnum< + typeof UpdateDrainDeliveryEncoding +> = z.nativeEnum(UpdateDrainDeliveryEncoding); +/** @internal */ +export const UpdateDrainDeliveryEncoding$outboundSchema: z.ZodNativeEnum< + typeof UpdateDrainDeliveryEncoding +> = UpdateDrainDeliveryEncoding$inboundSchema; + +/** @internal */ +export const UpdateDrainDelivery1$inboundSchema: z.ZodType< + UpdateDrainDelivery1, + z.ZodTypeDef, + unknown +> = z.object({ + type: z.string(), + endpoint: z.string(), + compression: DeliveryCompression$inboundSchema.optional(), + encoding: UpdateDrainDeliveryEncoding$inboundSchema, + headers: z.record(z.string()), + secret: z.string().optional(), +}); +/** @internal */ +export type UpdateDrainDelivery1$Outbound = { + type: string; + endpoint: string; + compression?: string | undefined; + encoding: string; + headers: { [k: string]: string }; + secret?: string | undefined; +}; + +/** @internal */ +export const UpdateDrainDelivery1$outboundSchema: z.ZodType< + UpdateDrainDelivery1$Outbound, + z.ZodTypeDef, + UpdateDrainDelivery1 +> = z.object({ + type: z.string(), + endpoint: z.string(), + compression: DeliveryCompression$outboundSchema.optional(), + encoding: UpdateDrainDeliveryEncoding$outboundSchema, + headers: z.record(z.string()), + secret: z.string().optional(), +}); + +export function updateDrainDelivery1ToJSON( + updateDrainDelivery1: UpdateDrainDelivery1, +): string { + return JSON.stringify( + UpdateDrainDelivery1$outboundSchema.parse(updateDrainDelivery1), + ); +} +export function updateDrainDelivery1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateDrainDelivery1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateDrainDelivery1' from JSON`, + ); +} + +/** @internal */ +export const UpdateDrainDelivery$inboundSchema: z.ZodType< + UpdateDrainDelivery, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => UpdateDrainDelivery1$inboundSchema), + z.lazy(() => UpdateDrainDelivery2$inboundSchema), +]); +/** @internal */ +export type UpdateDrainDelivery$Outbound = + | UpdateDrainDelivery1$Outbound + | UpdateDrainDelivery2$Outbound; + +/** @internal */ +export const UpdateDrainDelivery$outboundSchema: z.ZodType< + UpdateDrainDelivery$Outbound, + z.ZodTypeDef, + UpdateDrainDelivery +> = z.union([ + z.lazy(() => UpdateDrainDelivery1$outboundSchema), + z.lazy(() => UpdateDrainDelivery2$outboundSchema), +]); + +export function updateDrainDeliveryToJSON( + updateDrainDelivery: UpdateDrainDelivery, +): string { + return JSON.stringify( + UpdateDrainDelivery$outboundSchema.parse(updateDrainDelivery), + ); +} +export function updateDrainDeliveryFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateDrainDelivery$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateDrainDelivery' from JSON`, + ); +} + +/** @internal */ +export const UpdateDrainEnv$inboundSchema: z.ZodNativeEnum< + typeof UpdateDrainEnv +> = z.nativeEnum(UpdateDrainEnv); +/** @internal */ +export const UpdateDrainEnv$outboundSchema: z.ZodNativeEnum< + typeof UpdateDrainEnv +> = UpdateDrainEnv$inboundSchema; + +/** @internal */ +export const UpdateDrainSampling$inboundSchema: z.ZodType< + UpdateDrainSampling, + z.ZodTypeDef, + unknown +> = z.object({ + type: z.string(), + rate: z.number(), + env: UpdateDrainEnv$inboundSchema.optional(), + requestPath: z.string().optional(), +}); +/** @internal */ +export type UpdateDrainSampling$Outbound = { + type: string; + rate: number; + env?: string | undefined; + requestPath?: string | undefined; +}; + +/** @internal */ +export const UpdateDrainSampling$outboundSchema: z.ZodType< + UpdateDrainSampling$Outbound, + z.ZodTypeDef, + UpdateDrainSampling +> = z.object({ + type: z.string(), + rate: z.number(), + env: UpdateDrainEnv$outboundSchema.optional(), + requestPath: z.string().optional(), +}); + +export function updateDrainSamplingToJSON( + updateDrainSampling: UpdateDrainSampling, +): string { + return JSON.stringify( + UpdateDrainSampling$outboundSchema.parse(updateDrainSampling), + ); +} +export function updateDrainSamplingFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateDrainSampling$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateDrainSampling' from JSON`, + ); +} + +/** @internal */ +export const UpdateDrainTransforms$inboundSchema: z.ZodType< + UpdateDrainTransforms, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), +}); +/** @internal */ +export type UpdateDrainTransforms$Outbound = { + id: string; +}; + +/** @internal */ +export const UpdateDrainTransforms$outboundSchema: z.ZodType< + UpdateDrainTransforms$Outbound, + z.ZodTypeDef, + UpdateDrainTransforms +> = z.object({ + id: z.string(), +}); + +export function updateDrainTransformsToJSON( + updateDrainTransforms: UpdateDrainTransforms, +): string { + return JSON.stringify( + UpdateDrainTransforms$outboundSchema.parse(updateDrainTransforms), + ); +} +export function updateDrainTransformsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateDrainTransforms$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateDrainTransforms' from JSON`, + ); +} + +/** @internal */ +export const UpdateDrainStatus$inboundSchema: z.ZodNativeEnum< + typeof UpdateDrainStatus +> = z.nativeEnum(UpdateDrainStatus); +/** @internal */ +export const UpdateDrainStatus$outboundSchema: z.ZodNativeEnum< + typeof UpdateDrainStatus +> = UpdateDrainStatus$inboundSchema; + +/** @internal */ +export const UpdateDrainSource2$inboundSchema: z.ZodType< + UpdateDrainSource2, + z.ZodTypeDef, + unknown +> = z.object({ + kind: z.string().default("self-served"), +}); +/** @internal */ +export type UpdateDrainSource2$Outbound = { + kind: string; +}; + +/** @internal */ +export const UpdateDrainSource2$outboundSchema: z.ZodType< + UpdateDrainSource2$Outbound, + z.ZodTypeDef, + UpdateDrainSource2 +> = z.object({ + kind: z.string().default("self-served"), +}); + +export function updateDrainSource2ToJSON( + updateDrainSource2: UpdateDrainSource2, +): string { + return JSON.stringify( + UpdateDrainSource2$outboundSchema.parse(updateDrainSource2), + ); +} +export function updateDrainSource2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateDrainSource2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateDrainSource2' from JSON`, + ); +} + +/** @internal */ +export const UpdateDrain13$inboundSchema: z.ZodType< + UpdateDrain13, + z.ZodTypeDef, + unknown +> = z.object({ + kind: z.string().default("integration"), +}); +/** @internal */ +export type UpdateDrain13$Outbound = { + kind: string; +}; + +/** @internal */ +export const UpdateDrain13$outboundSchema: z.ZodType< + UpdateDrain13$Outbound, + z.ZodTypeDef, + UpdateDrain13 +> = z.object({ + kind: z.string().default("integration"), +}); + +export function updateDrain13ToJSON(updateDrain13: UpdateDrain13): string { + return JSON.stringify(UpdateDrain13$outboundSchema.parse(updateDrain13)); +} +export function updateDrain13FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateDrain13$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateDrain13' from JSON`, + ); +} + +/** @internal */ +export const UpdateDrain12$inboundSchema: z.ZodType< + UpdateDrain12, + z.ZodTypeDef, + unknown +> = z.object({ + kind: z.string().default("integration"), + resourceId: z.string(), +}); +/** @internal */ +export type UpdateDrain12$Outbound = { + kind: string; + resourceId: string; +}; + +/** @internal */ +export const UpdateDrain12$outboundSchema: z.ZodType< + UpdateDrain12$Outbound, + z.ZodTypeDef, + UpdateDrain12 +> = z.object({ + kind: z.string().default("integration"), + resourceId: z.string(), +}); + +export function updateDrain12ToJSON(updateDrain12: UpdateDrain12): string { + return JSON.stringify(UpdateDrain12$outboundSchema.parse(updateDrain12)); +} +export function updateDrain12FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateDrain12$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateDrain12' from JSON`, + ); +} + +/** @internal */ +export const UpdateDrain11$inboundSchema: z.ZodType< + UpdateDrain11, + z.ZodTypeDef, + unknown +> = z.object({ + kind: z.string().default("integration"), + externalResourceId: z.string(), +}); +/** @internal */ +export type UpdateDrain11$Outbound = { + kind: string; + externalResourceId: string; +}; + +/** @internal */ +export const UpdateDrain11$outboundSchema: z.ZodType< + UpdateDrain11$Outbound, + z.ZodTypeDef, + UpdateDrain11 +> = z.object({ + kind: z.string().default("integration"), + externalResourceId: z.string(), +}); + +export function updateDrain11ToJSON(updateDrain11: UpdateDrain11): string { + return JSON.stringify(UpdateDrain11$outboundSchema.parse(updateDrain11)); +} +export function updateDrain11FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateDrain11$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateDrain11' from JSON`, + ); +} + +/** @internal */ +export const UpdateDrainSource1$inboundSchema: z.ZodType< + UpdateDrainSource1, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => UpdateDrain11$inboundSchema), + z.lazy(() => UpdateDrain12$inboundSchema), + z.lazy(() => UpdateDrain13$inboundSchema), +]); +/** @internal */ +export type UpdateDrainSource1$Outbound = + | UpdateDrain11$Outbound + | UpdateDrain12$Outbound + | UpdateDrain13$Outbound; + +/** @internal */ +export const UpdateDrainSource1$outboundSchema: z.ZodType< + UpdateDrainSource1$Outbound, + z.ZodTypeDef, + UpdateDrainSource1 +> = z.union([ + z.lazy(() => UpdateDrain11$outboundSchema), + z.lazy(() => UpdateDrain12$outboundSchema), + z.lazy(() => UpdateDrain13$outboundSchema), +]); + +export function updateDrainSource1ToJSON( + updateDrainSource1: UpdateDrainSource1, +): string { + return JSON.stringify( + UpdateDrainSource1$outboundSchema.parse(updateDrainSource1), + ); +} +export function updateDrainSource1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateDrainSource1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateDrainSource1' from JSON`, + ); +} + +/** @internal */ +export const UpdateDrainSource$inboundSchema: z.ZodType< + UpdateDrainSource, + z.ZodTypeDef, + unknown +> = z.union([ + z.union([ + z.lazy(() => UpdateDrain11$inboundSchema), + z.lazy(() => UpdateDrain12$inboundSchema), + z.lazy(() => UpdateDrain13$inboundSchema), + ]), + z.lazy(() => UpdateDrainSource2$inboundSchema), +]); +/** @internal */ +export type UpdateDrainSource$Outbound = + | UpdateDrain11$Outbound + | UpdateDrain12$Outbound + | UpdateDrain13$Outbound + | UpdateDrainSource2$Outbound; + +/** @internal */ +export const UpdateDrainSource$outboundSchema: z.ZodType< + UpdateDrainSource$Outbound, + z.ZodTypeDef, + UpdateDrainSource +> = z.union([ + z.union([ + z.lazy(() => UpdateDrain11$outboundSchema), + z.lazy(() => UpdateDrain12$outboundSchema), + z.lazy(() => UpdateDrain13$outboundSchema), + ]), + z.lazy(() => UpdateDrainSource2$outboundSchema), +]); + +export function updateDrainSourceToJSON( + updateDrainSource: UpdateDrainSource, +): string { + return JSON.stringify( + UpdateDrainSource$outboundSchema.parse(updateDrainSource), + ); +} +export function updateDrainSourceFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateDrainSource$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateDrainSource' from JSON`, + ); +} + +/** @internal */ +export const UpdateDrainRequestBody$inboundSchema: z.ZodType< + UpdateDrainRequestBody, + z.ZodTypeDef, + unknown +> = z.object({ + name: z.string().optional(), + projects: UpdateDrainProjects$inboundSchema.optional(), + projectIds: z.nullable(z.array(z.string())).optional(), + filter: z.nullable( + z.union([z.lazy(() => UpdateDrainFilter2$inboundSchema), z.string()]), + ).optional(), + schemas: z.record(z.lazy(() => UpdateDrainSchemas$inboundSchema)).optional(), + delivery: z.union([ + z.lazy(() => UpdateDrainDelivery1$inboundSchema), + z.lazy(() => UpdateDrainDelivery2$inboundSchema), + ]).optional(), + sampling: z.nullable(z.array(z.lazy(() => UpdateDrainSampling$inboundSchema))) + .optional(), + transforms: z.nullable( + z.array(z.lazy(() => UpdateDrainTransforms$inboundSchema)), + ).optional(), + status: UpdateDrainStatus$inboundSchema.optional(), + source: z.union([ + z.union([ + z.lazy(() => UpdateDrain11$inboundSchema), + z.lazy(() => UpdateDrain12$inboundSchema), + z.lazy(() => UpdateDrain13$inboundSchema), + ]), + z.lazy(() => UpdateDrainSource2$inboundSchema), + ]).optional(), +}); +/** @internal */ +export type UpdateDrainRequestBody$Outbound = { + name?: string | undefined; + projects?: string | undefined; + projectIds?: Array | null | undefined; + filter?: UpdateDrainFilter2$Outbound | string | null | undefined; + schemas?: { [k: string]: UpdateDrainSchemas$Outbound } | undefined; + delivery?: + | UpdateDrainDelivery1$Outbound + | UpdateDrainDelivery2$Outbound + | undefined; + sampling?: Array | null | undefined; + transforms?: Array | null | undefined; + status?: string | undefined; + source?: + | UpdateDrain11$Outbound + | UpdateDrain12$Outbound + | UpdateDrain13$Outbound + | UpdateDrainSource2$Outbound + | undefined; +}; + +/** @internal */ +export const UpdateDrainRequestBody$outboundSchema: z.ZodType< + UpdateDrainRequestBody$Outbound, + z.ZodTypeDef, + UpdateDrainRequestBody +> = z.object({ + name: z.string().optional(), + projects: UpdateDrainProjects$outboundSchema.optional(), + projectIds: z.nullable(z.array(z.string())).optional(), + filter: z.nullable( + z.union([z.lazy(() => UpdateDrainFilter2$outboundSchema), z.string()]), + ).optional(), + schemas: z.record(z.lazy(() => UpdateDrainSchemas$outboundSchema)).optional(), + delivery: z.union([ + z.lazy(() => UpdateDrainDelivery1$outboundSchema), + z.lazy(() => UpdateDrainDelivery2$outboundSchema), + ]).optional(), + sampling: z.nullable( + z.array(z.lazy(() => UpdateDrainSampling$outboundSchema)), + ).optional(), + transforms: z.nullable( + z.array(z.lazy(() => UpdateDrainTransforms$outboundSchema)), + ).optional(), + status: UpdateDrainStatus$outboundSchema.optional(), + source: z.union([ + z.union([ + z.lazy(() => UpdateDrain11$outboundSchema), + z.lazy(() => UpdateDrain12$outboundSchema), + z.lazy(() => UpdateDrain13$outboundSchema), + ]), + z.lazy(() => UpdateDrainSource2$outboundSchema), + ]).optional(), +}); + +export function updateDrainRequestBodyToJSON( + updateDrainRequestBody: UpdateDrainRequestBody, +): string { + return JSON.stringify( + UpdateDrainRequestBody$outboundSchema.parse(updateDrainRequestBody), + ); +} +export function updateDrainRequestBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateDrainRequestBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateDrainRequestBody' from JSON`, + ); +} + +/** @internal */ +export const UpdateDrainRequest$inboundSchema: z.ZodType< + UpdateDrainRequest, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + RequestBody: z.lazy(() => UpdateDrainRequestBody$inboundSchema).optional(), +}).transform((v) => { + return remap$(v, { + "RequestBody": "requestBody", + }); +}); +/** @internal */ +export type UpdateDrainRequest$Outbound = { + id: string; + teamId?: string | undefined; + slug?: string | undefined; + RequestBody?: UpdateDrainRequestBody$Outbound | undefined; +}; + +/** @internal */ +export const UpdateDrainRequest$outboundSchema: z.ZodType< + UpdateDrainRequest$Outbound, + z.ZodTypeDef, + UpdateDrainRequest +> = z.object({ + id: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => UpdateDrainRequestBody$outboundSchema).optional(), +}).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); +}); + +export function updateDrainRequestToJSON( + updateDrainRequest: UpdateDrainRequest, +): string { + return JSON.stringify( + UpdateDrainRequest$outboundSchema.parse(updateDrainRequest), + ); +} +export function updateDrainRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateDrainRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateDrainRequest' from JSON`, + ); +} + +/** @internal */ +export const UpdateDrainResponseBodyDrainsCreatedFrom$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(UpdateDrainResponseBodyDrainsCreatedFrom); +/** @internal */ +export const UpdateDrainResponseBodyDrainsCreatedFrom$outboundSchema: + z.ZodNativeEnum = + UpdateDrainResponseBodyDrainsCreatedFrom$inboundSchema; + +/** @internal */ +export const UpdateDrainResponseBodyDrainsLog$inboundSchema: z.ZodType< + UpdateDrainResponseBodyDrainsLog, + z.ZodTypeDef, + unknown +> = z.object({}); +/** @internal */ +export type UpdateDrainResponseBodyDrainsLog$Outbound = {}; + +/** @internal */ +export const UpdateDrainResponseBodyDrainsLog$outboundSchema: z.ZodType< + UpdateDrainResponseBodyDrainsLog$Outbound, + z.ZodTypeDef, + UpdateDrainResponseBodyDrainsLog +> = z.object({}); + +export function updateDrainResponseBodyDrainsLogToJSON( + updateDrainResponseBodyDrainsLog: UpdateDrainResponseBodyDrainsLog, +): string { + return JSON.stringify( + UpdateDrainResponseBodyDrainsLog$outboundSchema.parse( + updateDrainResponseBodyDrainsLog, + ), + ); +} +export function updateDrainResponseBodyDrainsLogFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateDrainResponseBodyDrainsLog$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateDrainResponseBodyDrainsLog' from JSON`, + ); +} + +/** @internal */ +export const UpdateDrainResponseBodyDrainsTrace$inboundSchema: z.ZodType< + UpdateDrainResponseBodyDrainsTrace, + z.ZodTypeDef, + unknown +> = z.object({}); +/** @internal */ +export type UpdateDrainResponseBodyDrainsTrace$Outbound = {}; + +/** @internal */ +export const UpdateDrainResponseBodyDrainsTrace$outboundSchema: z.ZodType< + UpdateDrainResponseBodyDrainsTrace$Outbound, + z.ZodTypeDef, + UpdateDrainResponseBodyDrainsTrace +> = z.object({}); + +export function updateDrainResponseBodyDrainsTraceToJSON( + updateDrainResponseBodyDrainsTrace: UpdateDrainResponseBodyDrainsTrace, +): string { + return JSON.stringify( + UpdateDrainResponseBodyDrainsTrace$outboundSchema.parse( + updateDrainResponseBodyDrainsTrace, + ), + ); +} +export function updateDrainResponseBodyDrainsTraceFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + UpdateDrainResponseBodyDrainsTrace$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateDrainResponseBodyDrainsTrace' from JSON`, + ); +} + +/** @internal */ +export const UpdateDrainResponseBodyDrainsAnalytics$inboundSchema: z.ZodType< + UpdateDrainResponseBodyDrainsAnalytics, + z.ZodTypeDef, + unknown +> = z.object({}); +/** @internal */ +export type UpdateDrainResponseBodyDrainsAnalytics$Outbound = {}; + +/** @internal */ +export const UpdateDrainResponseBodyDrainsAnalytics$outboundSchema: z.ZodType< + UpdateDrainResponseBodyDrainsAnalytics$Outbound, + z.ZodTypeDef, + UpdateDrainResponseBodyDrainsAnalytics +> = z.object({}); + +export function updateDrainResponseBodyDrainsAnalyticsToJSON( + updateDrainResponseBodyDrainsAnalytics: + UpdateDrainResponseBodyDrainsAnalytics, +): string { + return JSON.stringify( + UpdateDrainResponseBodyDrainsAnalytics$outboundSchema.parse( + updateDrainResponseBodyDrainsAnalytics, + ), + ); +} +export function updateDrainResponseBodyDrainsAnalyticsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + UpdateDrainResponseBodyDrainsAnalytics$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateDrainResponseBodyDrainsAnalytics' from JSON`, + ); +} + +/** @internal */ +export const UpdateDrainResponseBodyDrainsSpeedInsights$inboundSchema: + z.ZodType = + z.object({}); +/** @internal */ +export type UpdateDrainResponseBodyDrainsSpeedInsights$Outbound = {}; + +/** @internal */ +export const UpdateDrainResponseBodyDrainsSpeedInsights$outboundSchema: + z.ZodType< + UpdateDrainResponseBodyDrainsSpeedInsights$Outbound, + z.ZodTypeDef, + UpdateDrainResponseBodyDrainsSpeedInsights + > = z.object({}); + +export function updateDrainResponseBodyDrainsSpeedInsightsToJSON( + updateDrainResponseBodyDrainsSpeedInsights: + UpdateDrainResponseBodyDrainsSpeedInsights, +): string { + return JSON.stringify( + UpdateDrainResponseBodyDrainsSpeedInsights$outboundSchema.parse( + updateDrainResponseBodyDrainsSpeedInsights, + ), + ); +} +export function updateDrainResponseBodyDrainsSpeedInsightsFromJSON( + jsonString: string, +): SafeParseResult< + UpdateDrainResponseBodyDrainsSpeedInsights, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + UpdateDrainResponseBodyDrainsSpeedInsights$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'UpdateDrainResponseBodyDrainsSpeedInsights' from JSON`, + ); +} + +/** @internal */ +export const UpdateDrainResponseBodyDrainsSchemas$inboundSchema: z.ZodType< + UpdateDrainResponseBodyDrainsSchemas, + z.ZodTypeDef, + unknown +> = z.object({ + log: z.lazy(() => UpdateDrainResponseBodyDrainsLog$inboundSchema).optional(), + trace: z.lazy(() => UpdateDrainResponseBodyDrainsTrace$inboundSchema) + .optional(), + analytics: z.lazy(() => UpdateDrainResponseBodyDrainsAnalytics$inboundSchema) + .optional(), + speed_insights: z.lazy(() => + UpdateDrainResponseBodyDrainsSpeedInsights$inboundSchema + ).optional(), +}).transform((v) => { + return remap$(v, { + "speed_insights": "speedInsights", + }); +}); +/** @internal */ +export type UpdateDrainResponseBodyDrainsSchemas$Outbound = { + log?: UpdateDrainResponseBodyDrainsLog$Outbound | undefined; + trace?: UpdateDrainResponseBodyDrainsTrace$Outbound | undefined; + analytics?: UpdateDrainResponseBodyDrainsAnalytics$Outbound | undefined; + speed_insights?: + | UpdateDrainResponseBodyDrainsSpeedInsights$Outbound + | undefined; +}; + +/** @internal */ +export const UpdateDrainResponseBodyDrainsSchemas$outboundSchema: z.ZodType< + UpdateDrainResponseBodyDrainsSchemas$Outbound, + z.ZodTypeDef, + UpdateDrainResponseBodyDrainsSchemas +> = z.object({ + log: z.lazy(() => UpdateDrainResponseBodyDrainsLog$outboundSchema).optional(), + trace: z.lazy(() => UpdateDrainResponseBodyDrainsTrace$outboundSchema) + .optional(), + analytics: z.lazy(() => UpdateDrainResponseBodyDrainsAnalytics$outboundSchema) + .optional(), + speedInsights: z.lazy(() => + UpdateDrainResponseBodyDrainsSpeedInsights$outboundSchema + ).optional(), +}).transform((v) => { + return remap$(v, { + speedInsights: "speed_insights", + }); +}); + +export function updateDrainResponseBodyDrainsSchemasToJSON( + updateDrainResponseBodyDrainsSchemas: UpdateDrainResponseBodyDrainsSchemas, +): string { + return JSON.stringify( + UpdateDrainResponseBodyDrainsSchemas$outboundSchema.parse( + updateDrainResponseBodyDrainsSchemas, + ), + ); +} +export function updateDrainResponseBodyDrainsSchemasFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + UpdateDrainResponseBodyDrainsSchemas$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateDrainResponseBodyDrainsSchemas' from JSON`, + ); +} + +/** @internal */ +export const UpdateDrainDeliveryDrainsResponse200ApplicationJSONResponseBody24Type$inboundSchema: + z.ZodNativeEnum< + typeof UpdateDrainDeliveryDrainsResponse200ApplicationJSONResponseBody24Type + > = z.nativeEnum( + UpdateDrainDeliveryDrainsResponse200ApplicationJSONResponseBody24Type, + ); +/** @internal */ +export const UpdateDrainDeliveryDrainsResponse200ApplicationJSONResponseBody24Type$outboundSchema: + z.ZodNativeEnum< + typeof UpdateDrainDeliveryDrainsResponse200ApplicationJSONResponseBody24Type + > = + UpdateDrainDeliveryDrainsResponse200ApplicationJSONResponseBody24Type$inboundSchema; + +/** @internal */ +export const UpdateDrainDeliveryDrainsTarget$inboundSchema: z.ZodNativeEnum< + typeof UpdateDrainDeliveryDrainsTarget +> = z.nativeEnum(UpdateDrainDeliveryDrainsTarget); +/** @internal */ +export const UpdateDrainDeliveryDrainsTarget$outboundSchema: z.ZodNativeEnum< + typeof UpdateDrainDeliveryDrainsTarget +> = UpdateDrainDeliveryDrainsTarget$inboundSchema; + +/** @internal */ +export const UpdateDrainDeliveryDrains4$inboundSchema: z.ZodType< + UpdateDrainDeliveryDrains4, + z.ZodTypeDef, + unknown +> = z.object({ + type: + UpdateDrainDeliveryDrainsResponse200ApplicationJSONResponseBody24Type$inboundSchema, + target: UpdateDrainDeliveryDrainsTarget$inboundSchema, +}); +/** @internal */ +export type UpdateDrainDeliveryDrains4$Outbound = { + type: string; + target: string; +}; + +/** @internal */ +export const UpdateDrainDeliveryDrains4$outboundSchema: z.ZodType< + UpdateDrainDeliveryDrains4$Outbound, + z.ZodTypeDef, + UpdateDrainDeliveryDrains4 +> = z.object({ + type: + UpdateDrainDeliveryDrainsResponse200ApplicationJSONResponseBody24Type$outboundSchema, + target: UpdateDrainDeliveryDrainsTarget$outboundSchema, +}); + +export function updateDrainDeliveryDrains4ToJSON( + updateDrainDeliveryDrains4: UpdateDrainDeliveryDrains4, +): string { + return JSON.stringify( + UpdateDrainDeliveryDrains4$outboundSchema.parse(updateDrainDeliveryDrains4), + ); +} +export function updateDrainDeliveryDrains4FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateDrainDeliveryDrains4$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateDrainDeliveryDrains4' from JSON`, + ); +} + +/** @internal */ +export const UpdateDrainDeliveryDrainsResponse200ApplicationJSONResponseBody2Type$inboundSchema: + z.ZodNativeEnum< + typeof UpdateDrainDeliveryDrainsResponse200ApplicationJSONResponseBody2Type + > = z.nativeEnum( + UpdateDrainDeliveryDrainsResponse200ApplicationJSONResponseBody2Type, + ); +/** @internal */ +export const UpdateDrainDeliveryDrainsResponse200ApplicationJSONResponseBody2Type$outboundSchema: + z.ZodNativeEnum< + typeof UpdateDrainDeliveryDrainsResponse200ApplicationJSONResponseBody2Type + > = + UpdateDrainDeliveryDrainsResponse200ApplicationJSONResponseBody2Type$inboundSchema; + +/** @internal */ +export const UpdateDrainDeliveryDrains3$inboundSchema: z.ZodType< + UpdateDrainDeliveryDrains3, + z.ZodTypeDef, + unknown +> = z.object({ + type: + UpdateDrainDeliveryDrainsResponse200ApplicationJSONResponseBody2Type$inboundSchema, + endpoint: z.string(), + table: z.string(), +}); +/** @internal */ +export type UpdateDrainDeliveryDrains3$Outbound = { + type: string; + endpoint: string; + table: string; +}; + +/** @internal */ +export const UpdateDrainDeliveryDrains3$outboundSchema: z.ZodType< + UpdateDrainDeliveryDrains3$Outbound, + z.ZodTypeDef, + UpdateDrainDeliveryDrains3 +> = z.object({ + type: + UpdateDrainDeliveryDrainsResponse200ApplicationJSONResponseBody2Type$outboundSchema, + endpoint: z.string(), + table: z.string(), +}); + +export function updateDrainDeliveryDrains3ToJSON( + updateDrainDeliveryDrains3: UpdateDrainDeliveryDrains3, +): string { + return JSON.stringify( + UpdateDrainDeliveryDrains3$outboundSchema.parse(updateDrainDeliveryDrains3), + ); +} +export function updateDrainDeliveryDrains3FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateDrainDeliveryDrains3$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateDrainDeliveryDrains3' from JSON`, + ); +} + +/** @internal */ +export const UpdateDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyType$inboundSchema: + z.ZodNativeEnum< + typeof UpdateDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyType + > = z.nativeEnum( + UpdateDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyType, + ); +/** @internal */ +export const UpdateDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyType$outboundSchema: + z.ZodNativeEnum< + typeof UpdateDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyType + > = + UpdateDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyType$inboundSchema; + +/** @internal */ +export const UpdateDrainDeliveryDrainsEndpoint$inboundSchema: z.ZodType< + UpdateDrainDeliveryDrainsEndpoint, + z.ZodTypeDef, + unknown +> = z.object({ + traces: z.string(), +}); +/** @internal */ +export type UpdateDrainDeliveryDrainsEndpoint$Outbound = { + traces: string; +}; + +/** @internal */ +export const UpdateDrainDeliveryDrainsEndpoint$outboundSchema: z.ZodType< + UpdateDrainDeliveryDrainsEndpoint$Outbound, + z.ZodTypeDef, + UpdateDrainDeliveryDrainsEndpoint +> = z.object({ + traces: z.string(), +}); + +export function updateDrainDeliveryDrainsEndpointToJSON( + updateDrainDeliveryDrainsEndpoint: UpdateDrainDeliveryDrainsEndpoint, +): string { + return JSON.stringify( + UpdateDrainDeliveryDrainsEndpoint$outboundSchema.parse( + updateDrainDeliveryDrainsEndpoint, + ), + ); +} +export function updateDrainDeliveryDrainsEndpointFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateDrainDeliveryDrainsEndpoint$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateDrainDeliveryDrainsEndpoint' from JSON`, + ); +} + +/** @internal */ +export const UpdateDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyEncoding$inboundSchema: + z.ZodNativeEnum< + typeof UpdateDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyEncoding + > = z.nativeEnum( + UpdateDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyEncoding, + ); +/** @internal */ +export const UpdateDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyEncoding$outboundSchema: + z.ZodNativeEnum< + typeof UpdateDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyEncoding + > = + UpdateDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyEncoding$inboundSchema; + +/** @internal */ +export const UpdateDrainDeliveryDrainsResponse2$inboundSchema: z.ZodType< + UpdateDrainDeliveryDrainsResponse2, + z.ZodTypeDef, + unknown +> = z.object({ + type: + UpdateDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyType$inboundSchema, + endpoint: z.lazy(() => UpdateDrainDeliveryDrainsEndpoint$inboundSchema), + encoding: + UpdateDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyEncoding$inboundSchema, + headers: z.record(z.string()), + secret: z.string().optional(), +}); +/** @internal */ +export type UpdateDrainDeliveryDrainsResponse2$Outbound = { + type: string; + endpoint: UpdateDrainDeliveryDrainsEndpoint$Outbound; + encoding: string; + headers: { [k: string]: string }; + secret?: string | undefined; +}; + +/** @internal */ +export const UpdateDrainDeliveryDrainsResponse2$outboundSchema: z.ZodType< + UpdateDrainDeliveryDrainsResponse2$Outbound, + z.ZodTypeDef, + UpdateDrainDeliveryDrainsResponse2 +> = z.object({ + type: + UpdateDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyType$outboundSchema, + endpoint: z.lazy(() => UpdateDrainDeliveryDrainsEndpoint$outboundSchema), + encoding: + UpdateDrainDeliveryDrainsResponse200ApplicationJSONResponseBodyEncoding$outboundSchema, + headers: z.record(z.string()), + secret: z.string().optional(), +}); + +export function updateDrainDeliveryDrainsResponse2ToJSON( + updateDrainDeliveryDrainsResponse2: UpdateDrainDeliveryDrainsResponse2, +): string { + return JSON.stringify( + UpdateDrainDeliveryDrainsResponse2$outboundSchema.parse( + updateDrainDeliveryDrainsResponse2, + ), + ); +} +export function updateDrainDeliveryDrainsResponse2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + UpdateDrainDeliveryDrainsResponse2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateDrainDeliveryDrainsResponse2' from JSON`, + ); +} + +/** @internal */ +export const UpdateDrainDeliveryDrainsResponse200ApplicationJSONType$inboundSchema: + z.ZodNativeEnum< + typeof UpdateDrainDeliveryDrainsResponse200ApplicationJSONType + > = z.nativeEnum(UpdateDrainDeliveryDrainsResponse200ApplicationJSONType); +/** @internal */ +export const UpdateDrainDeliveryDrainsResponse200ApplicationJSONType$outboundSchema: + z.ZodNativeEnum< + typeof UpdateDrainDeliveryDrainsResponse200ApplicationJSONType + > = UpdateDrainDeliveryDrainsResponse200ApplicationJSONType$inboundSchema; + +/** @internal */ +export const UpdateDrainDeliveryDrainsResponse200ApplicationJSONEncoding$inboundSchema: + z.ZodNativeEnum< + typeof UpdateDrainDeliveryDrainsResponse200ApplicationJSONEncoding + > = z.nativeEnum(UpdateDrainDeliveryDrainsResponse200ApplicationJSONEncoding); +/** @internal */ +export const UpdateDrainDeliveryDrainsResponse200ApplicationJSONEncoding$outboundSchema: + z.ZodNativeEnum< + typeof UpdateDrainDeliveryDrainsResponse200ApplicationJSONEncoding + > = UpdateDrainDeliveryDrainsResponse200ApplicationJSONEncoding$inboundSchema; + +/** @internal */ +export const UpdateDrainDeliveryDrainsCompression$inboundSchema: + z.ZodNativeEnum = z.nativeEnum( + UpdateDrainDeliveryDrainsCompression, + ); +/** @internal */ +export const UpdateDrainDeliveryDrainsCompression$outboundSchema: + z.ZodNativeEnum = + UpdateDrainDeliveryDrainsCompression$inboundSchema; + +/** @internal */ +export const UpdateDrainDeliveryDrainsResponse1$inboundSchema: z.ZodType< + UpdateDrainDeliveryDrainsResponse1, + z.ZodTypeDef, + unknown +> = z.object({ + type: UpdateDrainDeliveryDrainsResponse200ApplicationJSONType$inboundSchema, + endpoint: z.string(), + encoding: + UpdateDrainDeliveryDrainsResponse200ApplicationJSONEncoding$inboundSchema, + compression: UpdateDrainDeliveryDrainsCompression$inboundSchema.optional(), + headers: z.record(z.string()), + secret: z.string().optional(), +}); +/** @internal */ +export type UpdateDrainDeliveryDrainsResponse1$Outbound = { + type: string; + endpoint: string; + encoding: string; + compression?: string | undefined; + headers: { [k: string]: string }; + secret?: string | undefined; +}; + +/** @internal */ +export const UpdateDrainDeliveryDrainsResponse1$outboundSchema: z.ZodType< + UpdateDrainDeliveryDrainsResponse1$Outbound, + z.ZodTypeDef, + UpdateDrainDeliveryDrainsResponse1 +> = z.object({ + type: UpdateDrainDeliveryDrainsResponse200ApplicationJSONType$outboundSchema, + endpoint: z.string(), + encoding: + UpdateDrainDeliveryDrainsResponse200ApplicationJSONEncoding$outboundSchema, + compression: UpdateDrainDeliveryDrainsCompression$outboundSchema.optional(), + headers: z.record(z.string()), + secret: z.string().optional(), +}); + +export function updateDrainDeliveryDrainsResponse1ToJSON( + updateDrainDeliveryDrainsResponse1: UpdateDrainDeliveryDrainsResponse1, +): string { + return JSON.stringify( + UpdateDrainDeliveryDrainsResponse1$outboundSchema.parse( + updateDrainDeliveryDrainsResponse1, + ), + ); +} +export function updateDrainDeliveryDrainsResponse1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + UpdateDrainDeliveryDrainsResponse1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateDrainDeliveryDrainsResponse1' from JSON`, + ); +} + +/** @internal */ +export const UpdateDrainResponseBodyDrainsDelivery$inboundSchema: z.ZodType< + UpdateDrainResponseBodyDrainsDelivery, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => UpdateDrainDeliveryDrainsResponse1$inboundSchema), + z.lazy(() => UpdateDrainDeliveryDrainsResponse2$inboundSchema), + z.lazy(() => UpdateDrainDeliveryDrains3$inboundSchema), + z.lazy(() => UpdateDrainDeliveryDrains4$inboundSchema), +]); +/** @internal */ +export type UpdateDrainResponseBodyDrainsDelivery$Outbound = + | UpdateDrainDeliveryDrainsResponse1$Outbound + | UpdateDrainDeliveryDrainsResponse2$Outbound + | UpdateDrainDeliveryDrains3$Outbound + | UpdateDrainDeliveryDrains4$Outbound; + +/** @internal */ +export const UpdateDrainResponseBodyDrainsDelivery$outboundSchema: z.ZodType< + UpdateDrainResponseBodyDrainsDelivery$Outbound, + z.ZodTypeDef, + UpdateDrainResponseBodyDrainsDelivery +> = z.union([ + z.lazy(() => UpdateDrainDeliveryDrainsResponse1$outboundSchema), + z.lazy(() => UpdateDrainDeliveryDrainsResponse2$outboundSchema), + z.lazy(() => UpdateDrainDeliveryDrains3$outboundSchema), + z.lazy(() => UpdateDrainDeliveryDrains4$outboundSchema), +]); + +export function updateDrainResponseBodyDrainsDeliveryToJSON( + updateDrainResponseBodyDrainsDelivery: UpdateDrainResponseBodyDrainsDelivery, +): string { + return JSON.stringify( + UpdateDrainResponseBodyDrainsDelivery$outboundSchema.parse( + updateDrainResponseBodyDrainsDelivery, + ), + ); +} +export function updateDrainResponseBodyDrainsDeliveryFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + UpdateDrainResponseBodyDrainsDelivery$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateDrainResponseBodyDrainsDelivery' from JSON`, + ); +} + +/** @internal */ +export const UpdateDrainResponseBodyDrainsType$inboundSchema: z.ZodNativeEnum< + typeof UpdateDrainResponseBodyDrainsType +> = z.nativeEnum(UpdateDrainResponseBodyDrainsType); +/** @internal */ +export const UpdateDrainResponseBodyDrainsType$outboundSchema: z.ZodNativeEnum< + typeof UpdateDrainResponseBodyDrainsType +> = UpdateDrainResponseBodyDrainsType$inboundSchema; + +/** @internal */ +export const UpdateDrainResponseBodyDrainsEnv$inboundSchema: z.ZodNativeEnum< + typeof UpdateDrainResponseBodyDrainsEnv +> = z.nativeEnum(UpdateDrainResponseBodyDrainsEnv); +/** @internal */ +export const UpdateDrainResponseBodyDrainsEnv$outboundSchema: z.ZodNativeEnum< + typeof UpdateDrainResponseBodyDrainsEnv +> = UpdateDrainResponseBodyDrainsEnv$inboundSchema; + +/** @internal */ +export const UpdateDrainResponseBodyDrainsSampling$inboundSchema: z.ZodType< + UpdateDrainResponseBodyDrainsSampling, + z.ZodTypeDef, + unknown +> = z.object({ + type: UpdateDrainResponseBodyDrainsType$inboundSchema, + rate: z.number(), + env: UpdateDrainResponseBodyDrainsEnv$inboundSchema.optional(), + requestPath: z.string().optional(), +}); +/** @internal */ +export type UpdateDrainResponseBodyDrainsSampling$Outbound = { + type: string; + rate: number; + env?: string | undefined; + requestPath?: string | undefined; +}; + +/** @internal */ +export const UpdateDrainResponseBodyDrainsSampling$outboundSchema: z.ZodType< + UpdateDrainResponseBodyDrainsSampling$Outbound, + z.ZodTypeDef, + UpdateDrainResponseBodyDrainsSampling +> = z.object({ + type: UpdateDrainResponseBodyDrainsType$outboundSchema, + rate: z.number(), + env: UpdateDrainResponseBodyDrainsEnv$outboundSchema.optional(), + requestPath: z.string().optional(), +}); + +export function updateDrainResponseBodyDrainsSamplingToJSON( + updateDrainResponseBodyDrainsSampling: UpdateDrainResponseBodyDrainsSampling, +): string { + return JSON.stringify( + UpdateDrainResponseBodyDrainsSampling$outboundSchema.parse( + updateDrainResponseBodyDrainsSampling, + ), + ); +} +export function updateDrainResponseBodyDrainsSamplingFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + UpdateDrainResponseBodyDrainsSampling$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateDrainResponseBodyDrainsSampling' from JSON`, + ); +} + +/** @internal */ +export const UpdateDrainResponseBodyDrainsStatus$inboundSchema: z.ZodNativeEnum< + typeof UpdateDrainResponseBodyDrainsStatus +> = z.nativeEnum(UpdateDrainResponseBodyDrainsStatus); +/** @internal */ +export const UpdateDrainResponseBodyDrainsStatus$outboundSchema: + z.ZodNativeEnum = + UpdateDrainResponseBodyDrainsStatus$inboundSchema; + +/** @internal */ +export const UpdateDrainResponseBodyDrainsDisabledReason$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(UpdateDrainResponseBodyDrainsDisabledReason); +/** @internal */ +export const UpdateDrainResponseBodyDrainsDisabledReason$outboundSchema: + z.ZodNativeEnum = + UpdateDrainResponseBodyDrainsDisabledReason$inboundSchema; + +/** @internal */ +export const UpdateDrainSourceDrainsResponse200Kind$inboundSchema: + z.ZodNativeEnum = z.nativeEnum( + UpdateDrainSourceDrainsResponse200Kind, + ); +/** @internal */ +export const UpdateDrainSourceDrainsResponse200Kind$outboundSchema: + z.ZodNativeEnum = + UpdateDrainSourceDrainsResponse200Kind$inboundSchema; + +/** @internal */ +export const UpdateDrainSourceDrainsResponse2$inboundSchema: z.ZodType< + UpdateDrainSourceDrainsResponse2, + z.ZodTypeDef, + unknown +> = z.object({ + kind: UpdateDrainSourceDrainsResponse200Kind$inboundSchema, + resourceId: z.string().optional(), + externalResourceId: z.string().optional(), + integrationId: z.string(), + integrationConfigurationId: z.string(), +}); +/** @internal */ +export type UpdateDrainSourceDrainsResponse2$Outbound = { + kind: string; + resourceId?: string | undefined; + externalResourceId?: string | undefined; + integrationId: string; + integrationConfigurationId: string; +}; + +/** @internal */ +export const UpdateDrainSourceDrainsResponse2$outboundSchema: z.ZodType< + UpdateDrainSourceDrainsResponse2$Outbound, + z.ZodTypeDef, + UpdateDrainSourceDrainsResponse2 +> = z.object({ + kind: UpdateDrainSourceDrainsResponse200Kind$outboundSchema, + resourceId: z.string().optional(), + externalResourceId: z.string().optional(), + integrationId: z.string(), + integrationConfigurationId: z.string(), +}); + +export function updateDrainSourceDrainsResponse2ToJSON( + updateDrainSourceDrainsResponse2: UpdateDrainSourceDrainsResponse2, +): string { + return JSON.stringify( + UpdateDrainSourceDrainsResponse2$outboundSchema.parse( + updateDrainSourceDrainsResponse2, + ), + ); +} +export function updateDrainSourceDrainsResponse2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateDrainSourceDrainsResponse2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateDrainSourceDrainsResponse2' from JSON`, + ); +} + +/** @internal */ +export const UpdateDrainSourceDrainsResponseKind$inboundSchema: z.ZodNativeEnum< + typeof UpdateDrainSourceDrainsResponseKind +> = z.nativeEnum(UpdateDrainSourceDrainsResponseKind); +/** @internal */ +export const UpdateDrainSourceDrainsResponseKind$outboundSchema: + z.ZodNativeEnum = + UpdateDrainSourceDrainsResponseKind$inboundSchema; + +/** @internal */ +export const UpdateDrainSourceDrainsResponse1$inboundSchema: z.ZodType< + UpdateDrainSourceDrainsResponse1, + z.ZodTypeDef, + unknown +> = z.object({ + kind: UpdateDrainSourceDrainsResponseKind$inboundSchema, +}); +/** @internal */ +export type UpdateDrainSourceDrainsResponse1$Outbound = { + kind: string; +}; + +/** @internal */ +export const UpdateDrainSourceDrainsResponse1$outboundSchema: z.ZodType< + UpdateDrainSourceDrainsResponse1$Outbound, + z.ZodTypeDef, + UpdateDrainSourceDrainsResponse1 +> = z.object({ + kind: UpdateDrainSourceDrainsResponseKind$outboundSchema, +}); + +export function updateDrainSourceDrainsResponse1ToJSON( + updateDrainSourceDrainsResponse1: UpdateDrainSourceDrainsResponse1, +): string { + return JSON.stringify( + UpdateDrainSourceDrainsResponse1$outboundSchema.parse( + updateDrainSourceDrainsResponse1, + ), + ); +} +export function updateDrainSourceDrainsResponse1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateDrainSourceDrainsResponse1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateDrainSourceDrainsResponse1' from JSON`, + ); +} + +/** @internal */ +export const UpdateDrainResponseBodyDrainsSource$inboundSchema: z.ZodType< + UpdateDrainResponseBodyDrainsSource, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => UpdateDrainSourceDrainsResponse2$inboundSchema), + z.lazy(() => UpdateDrainSourceDrainsResponse1$inboundSchema), +]); +/** @internal */ +export type UpdateDrainResponseBodyDrainsSource$Outbound = + | UpdateDrainSourceDrainsResponse2$Outbound + | UpdateDrainSourceDrainsResponse1$Outbound; + +/** @internal */ +export const UpdateDrainResponseBodyDrainsSource$outboundSchema: z.ZodType< + UpdateDrainResponseBodyDrainsSource$Outbound, + z.ZodTypeDef, + UpdateDrainResponseBodyDrainsSource +> = z.union([ + z.lazy(() => UpdateDrainSourceDrainsResponse2$outboundSchema), + z.lazy(() => UpdateDrainSourceDrainsResponse1$outboundSchema), +]); + +export function updateDrainResponseBodyDrainsSourceToJSON( + updateDrainResponseBodyDrainsSource: UpdateDrainResponseBodyDrainsSource, +): string { + return JSON.stringify( + UpdateDrainResponseBodyDrainsSource$outboundSchema.parse( + updateDrainResponseBodyDrainsSource, + ), + ); +} +export function updateDrainResponseBodyDrainsSourceFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + UpdateDrainResponseBodyDrainsSource$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateDrainResponseBodyDrainsSource' from JSON`, + ); +} + +/** @internal */ +export const UpdateDrainFilterV2DrainsResponse200Version$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(UpdateDrainFilterV2DrainsResponse200Version); +/** @internal */ +export const UpdateDrainFilterV2DrainsResponse200Version$outboundSchema: + z.ZodNativeEnum = + UpdateDrainFilterV2DrainsResponse200Version$inboundSchema; + +/** @internal */ +export const UpdateDrainFilterDrainsResponse200Type$inboundSchema: + z.ZodNativeEnum = z.nativeEnum( + UpdateDrainFilterDrainsResponse200Type, + ); +/** @internal */ +export const UpdateDrainFilterDrainsResponse200Type$outboundSchema: + z.ZodNativeEnum = + UpdateDrainFilterDrainsResponse200Type$inboundSchema; + +/** @internal */ +export const UpdateDrainFilterDrainsResponse2002$inboundSchema: z.ZodType< + UpdateDrainFilterDrainsResponse2002, + z.ZodTypeDef, + unknown +> = z.object({ + type: UpdateDrainFilterDrainsResponse200Type$inboundSchema, + text: z.string(), +}); +/** @internal */ +export type UpdateDrainFilterDrainsResponse2002$Outbound = { + type: string; + text: string; +}; + +/** @internal */ +export const UpdateDrainFilterDrainsResponse2002$outboundSchema: z.ZodType< + UpdateDrainFilterDrainsResponse2002$Outbound, + z.ZodTypeDef, + UpdateDrainFilterDrainsResponse2002 +> = z.object({ + type: UpdateDrainFilterDrainsResponse200Type$outboundSchema, + text: z.string(), +}); + +export function updateDrainFilterDrainsResponse2002ToJSON( + updateDrainFilterDrainsResponse2002: UpdateDrainFilterDrainsResponse2002, +): string { + return JSON.stringify( + UpdateDrainFilterDrainsResponse2002$outboundSchema.parse( + updateDrainFilterDrainsResponse2002, + ), + ); +} +export function updateDrainFilterDrainsResponse2002FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + UpdateDrainFilterDrainsResponse2002$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateDrainFilterDrainsResponse2002' from JSON`, + ); +} + +/** @internal */ +export const UpdateDrainFilterDrainsResponseType$inboundSchema: z.ZodNativeEnum< + typeof UpdateDrainFilterDrainsResponseType +> = z.nativeEnum(UpdateDrainFilterDrainsResponseType); +/** @internal */ +export const UpdateDrainFilterDrainsResponseType$outboundSchema: + z.ZodNativeEnum = + UpdateDrainFilterDrainsResponseType$inboundSchema; + +/** @internal */ +export const UpdateDrainFilterDrainsProject$inboundSchema: z.ZodType< + UpdateDrainFilterDrainsProject, + z.ZodTypeDef, + unknown +> = z.object({ + ids: z.array(z.string()).optional(), +}); +/** @internal */ +export type UpdateDrainFilterDrainsProject$Outbound = { + ids?: Array | undefined; +}; + +/** @internal */ +export const UpdateDrainFilterDrainsProject$outboundSchema: z.ZodType< + UpdateDrainFilterDrainsProject$Outbound, + z.ZodTypeDef, + UpdateDrainFilterDrainsProject +> = z.object({ + ids: z.array(z.string()).optional(), +}); + +export function updateDrainFilterDrainsProjectToJSON( + updateDrainFilterDrainsProject: UpdateDrainFilterDrainsProject, +): string { + return JSON.stringify( + UpdateDrainFilterDrainsProject$outboundSchema.parse( + updateDrainFilterDrainsProject, + ), + ); +} +export function updateDrainFilterDrainsProjectFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateDrainFilterDrainsProject$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateDrainFilterDrainsProject' from JSON`, + ); +} + +/** @internal */ +export const UpdateDrainFilterDrainsResponseSources$inboundSchema: + z.ZodNativeEnum = z.nativeEnum( + UpdateDrainFilterDrainsResponseSources, + ); +/** @internal */ +export const UpdateDrainFilterDrainsResponseSources$outboundSchema: + z.ZodNativeEnum = + UpdateDrainFilterDrainsResponseSources$inboundSchema; + +/** @internal */ +export const UpdateDrainFilterDrainsLog$inboundSchema: z.ZodType< + UpdateDrainFilterDrainsLog, + z.ZodTypeDef, + unknown +> = z.object({ + sources: z.array(UpdateDrainFilterDrainsResponseSources$inboundSchema) + .optional(), + legacy_excludeCachedStaticAssetLogs: z.boolean().optional(), +}).transform((v) => { + return remap$(v, { + "legacy_excludeCachedStaticAssetLogs": "legacyExcludeCachedStaticAssetLogs", + }); +}); +/** @internal */ +export type UpdateDrainFilterDrainsLog$Outbound = { + sources?: Array | undefined; + legacy_excludeCachedStaticAssetLogs?: boolean | undefined; +}; + +/** @internal */ +export const UpdateDrainFilterDrainsLog$outboundSchema: z.ZodType< + UpdateDrainFilterDrainsLog$Outbound, + z.ZodTypeDef, + UpdateDrainFilterDrainsLog +> = z.object({ + sources: z.array(UpdateDrainFilterDrainsResponseSources$outboundSchema) + .optional(), + legacyExcludeCachedStaticAssetLogs: z.boolean().optional(), +}).transform((v) => { + return remap$(v, { + legacyExcludeCachedStaticAssetLogs: "legacy_excludeCachedStaticAssetLogs", + }); +}); + +export function updateDrainFilterDrainsLogToJSON( + updateDrainFilterDrainsLog: UpdateDrainFilterDrainsLog, +): string { + return JSON.stringify( + UpdateDrainFilterDrainsLog$outboundSchema.parse(updateDrainFilterDrainsLog), + ); +} +export function updateDrainFilterDrainsLogFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateDrainFilterDrainsLog$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateDrainFilterDrainsLog' from JSON`, + ); +} + +/** @internal */ +export const UpdateDrainFilterDrainsResponseEnvironments$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(UpdateDrainFilterDrainsResponseEnvironments); +/** @internal */ +export const UpdateDrainFilterDrainsResponseEnvironments$outboundSchema: + z.ZodNativeEnum = + UpdateDrainFilterDrainsResponseEnvironments$inboundSchema; + +/** @internal */ +export const UpdateDrainFilterDrainsDeployment$inboundSchema: z.ZodType< + UpdateDrainFilterDrainsDeployment, + z.ZodTypeDef, + unknown +> = z.object({ + environments: z.array( + UpdateDrainFilterDrainsResponseEnvironments$inboundSchema, + ).optional(), +}); +/** @internal */ +export type UpdateDrainFilterDrainsDeployment$Outbound = { + environments?: Array | undefined; +}; + +/** @internal */ +export const UpdateDrainFilterDrainsDeployment$outboundSchema: z.ZodType< + UpdateDrainFilterDrainsDeployment$Outbound, + z.ZodTypeDef, + UpdateDrainFilterDrainsDeployment +> = z.object({ + environments: z.array( + UpdateDrainFilterDrainsResponseEnvironments$outboundSchema, + ).optional(), +}); + +export function updateDrainFilterDrainsDeploymentToJSON( + updateDrainFilterDrainsDeployment: UpdateDrainFilterDrainsDeployment, +): string { + return JSON.stringify( + UpdateDrainFilterDrainsDeployment$outboundSchema.parse( + updateDrainFilterDrainsDeployment, + ), + ); +} +export function updateDrainFilterDrainsDeploymentFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateDrainFilterDrainsDeployment$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateDrainFilterDrainsDeployment' from JSON`, + ); +} + +/** @internal */ +export const UpdateDrainFilterDrainsResponse1$inboundSchema: z.ZodType< + UpdateDrainFilterDrainsResponse1, + z.ZodTypeDef, + unknown +> = z.object({ + type: UpdateDrainFilterDrainsResponseType$inboundSchema, + project: z.lazy(() => UpdateDrainFilterDrainsProject$inboundSchema) + .optional(), + log: z.lazy(() => UpdateDrainFilterDrainsLog$inboundSchema).optional(), + deployment: z.lazy(() => UpdateDrainFilterDrainsDeployment$inboundSchema) + .optional(), +}); +/** @internal */ +export type UpdateDrainFilterDrainsResponse1$Outbound = { + type: string; + project?: UpdateDrainFilterDrainsProject$Outbound | undefined; + log?: UpdateDrainFilterDrainsLog$Outbound | undefined; + deployment?: UpdateDrainFilterDrainsDeployment$Outbound | undefined; +}; + +/** @internal */ +export const UpdateDrainFilterDrainsResponse1$outboundSchema: z.ZodType< + UpdateDrainFilterDrainsResponse1$Outbound, + z.ZodTypeDef, + UpdateDrainFilterDrainsResponse1 +> = z.object({ + type: UpdateDrainFilterDrainsResponseType$outboundSchema, + project: z.lazy(() => UpdateDrainFilterDrainsProject$outboundSchema) + .optional(), + log: z.lazy(() => UpdateDrainFilterDrainsLog$outboundSchema).optional(), + deployment: z.lazy(() => UpdateDrainFilterDrainsDeployment$outboundSchema) + .optional(), +}); + +export function updateDrainFilterDrainsResponse1ToJSON( + updateDrainFilterDrainsResponse1: UpdateDrainFilterDrainsResponse1, +): string { + return JSON.stringify( + UpdateDrainFilterDrainsResponse1$outboundSchema.parse( + updateDrainFilterDrainsResponse1, + ), + ); +} +export function updateDrainFilterDrainsResponse1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateDrainFilterDrainsResponse1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateDrainFilterDrainsResponse1' from JSON`, + ); +} + +/** @internal */ +export const UpdateDrainFilterV2DrainsFilter$inboundSchema: z.ZodType< + UpdateDrainFilterV2DrainsFilter, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => UpdateDrainFilterDrainsResponse2002$inboundSchema), + z.lazy(() => UpdateDrainFilterDrainsResponse1$inboundSchema), +]); +/** @internal */ +export type UpdateDrainFilterV2DrainsFilter$Outbound = + | UpdateDrainFilterDrainsResponse2002$Outbound + | UpdateDrainFilterDrainsResponse1$Outbound; + +/** @internal */ +export const UpdateDrainFilterV2DrainsFilter$outboundSchema: z.ZodType< + UpdateDrainFilterV2DrainsFilter$Outbound, + z.ZodTypeDef, + UpdateDrainFilterV2DrainsFilter +> = z.union([ + z.lazy(() => UpdateDrainFilterDrainsResponse2002$outboundSchema), + z.lazy(() => UpdateDrainFilterDrainsResponse1$outboundSchema), +]); + +export function updateDrainFilterV2DrainsFilterToJSON( + updateDrainFilterV2DrainsFilter: UpdateDrainFilterV2DrainsFilter, +): string { + return JSON.stringify( + UpdateDrainFilterV2DrainsFilter$outboundSchema.parse( + updateDrainFilterV2DrainsFilter, + ), + ); +} +export function updateDrainFilterV2DrainsFilterFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateDrainFilterV2DrainsFilter$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateDrainFilterV2DrainsFilter' from JSON`, + ); +} + +/** @internal */ +export const UpdateDrainFilterV2Drains2$inboundSchema: z.ZodType< + UpdateDrainFilterV2Drains2, + z.ZodTypeDef, + unknown +> = z.object({ + version: UpdateDrainFilterV2DrainsResponse200Version$inboundSchema, + filter: z.union([ + z.lazy(() => UpdateDrainFilterDrainsResponse2002$inboundSchema), + z.lazy(() => UpdateDrainFilterDrainsResponse1$inboundSchema), + ]), +}); +/** @internal */ +export type UpdateDrainFilterV2Drains2$Outbound = { + version: string; + filter: + | UpdateDrainFilterDrainsResponse2002$Outbound + | UpdateDrainFilterDrainsResponse1$Outbound; +}; + +/** @internal */ +export const UpdateDrainFilterV2Drains2$outboundSchema: z.ZodType< + UpdateDrainFilterV2Drains2$Outbound, + z.ZodTypeDef, + UpdateDrainFilterV2Drains2 +> = z.object({ + version: UpdateDrainFilterV2DrainsResponse200Version$outboundSchema, + filter: z.union([ + z.lazy(() => UpdateDrainFilterDrainsResponse2002$outboundSchema), + z.lazy(() => UpdateDrainFilterDrainsResponse1$outboundSchema), + ]), +}); + +export function updateDrainFilterV2Drains2ToJSON( + updateDrainFilterV2Drains2: UpdateDrainFilterV2Drains2, +): string { + return JSON.stringify( + UpdateDrainFilterV2Drains2$outboundSchema.parse(updateDrainFilterV2Drains2), + ); +} +export function updateDrainFilterV2Drains2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateDrainFilterV2Drains2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateDrainFilterV2Drains2' from JSON`, + ); +} + +/** @internal */ +export const UpdateDrainFilterV2DrainsResponseVersion$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(UpdateDrainFilterV2DrainsResponseVersion); +/** @internal */ +export const UpdateDrainFilterV2DrainsResponseVersion$outboundSchema: + z.ZodNativeEnum = + UpdateDrainFilterV2DrainsResponseVersion$inboundSchema; + +/** @internal */ +export const UpdateDrainFilterV2Drains1$inboundSchema: z.ZodType< + UpdateDrainFilterV2Drains1, + z.ZodTypeDef, + unknown +> = z.object({ + version: UpdateDrainFilterV2DrainsResponseVersion$inboundSchema, +}); +/** @internal */ +export type UpdateDrainFilterV2Drains1$Outbound = { + version: string; +}; + +/** @internal */ +export const UpdateDrainFilterV2Drains1$outboundSchema: z.ZodType< + UpdateDrainFilterV2Drains1$Outbound, + z.ZodTypeDef, + UpdateDrainFilterV2Drains1 +> = z.object({ + version: UpdateDrainFilterV2DrainsResponseVersion$outboundSchema, +}); + +export function updateDrainFilterV2Drains1ToJSON( + updateDrainFilterV2Drains1: UpdateDrainFilterV2Drains1, +): string { + return JSON.stringify( + UpdateDrainFilterV2Drains1$outboundSchema.parse(updateDrainFilterV2Drains1), + ); +} +export function updateDrainFilterV2Drains1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateDrainFilterV2Drains1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateDrainFilterV2Drains1' from JSON`, + ); +} + +/** @internal */ +export const UpdateDrainResponseBodyDrainsFilterV2$inboundSchema: z.ZodType< + UpdateDrainResponseBodyDrainsFilterV2, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => UpdateDrainFilterV2Drains2$inboundSchema), + z.lazy(() => UpdateDrainFilterV2Drains1$inboundSchema), +]); +/** @internal */ +export type UpdateDrainResponseBodyDrainsFilterV2$Outbound = + | UpdateDrainFilterV2Drains2$Outbound + | UpdateDrainFilterV2Drains1$Outbound; + +/** @internal */ +export const UpdateDrainResponseBodyDrainsFilterV2$outboundSchema: z.ZodType< + UpdateDrainResponseBodyDrainsFilterV2$Outbound, + z.ZodTypeDef, + UpdateDrainResponseBodyDrainsFilterV2 +> = z.union([ + z.lazy(() => UpdateDrainFilterV2Drains2$outboundSchema), + z.lazy(() => UpdateDrainFilterV2Drains1$outboundSchema), +]); + +export function updateDrainResponseBodyDrainsFilterV2ToJSON( + updateDrainResponseBodyDrainsFilterV2: UpdateDrainResponseBodyDrainsFilterV2, +): string { + return JSON.stringify( + UpdateDrainResponseBodyDrainsFilterV2$outboundSchema.parse( + updateDrainResponseBodyDrainsFilterV2, + ), + ); +} +export function updateDrainResponseBodyDrainsFilterV2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + UpdateDrainResponseBodyDrainsFilterV2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateDrainResponseBodyDrainsFilterV2' from JSON`, + ); +} + +/** @internal */ +export const UpdateDrainResponseBodyFramework$inboundSchema: z.ZodNativeEnum< + typeof UpdateDrainResponseBodyFramework +> = z.nativeEnum(UpdateDrainResponseBodyFramework); +/** @internal */ +export const UpdateDrainResponseBodyFramework$outboundSchema: z.ZodNativeEnum< + typeof UpdateDrainResponseBodyFramework +> = UpdateDrainResponseBodyFramework$inboundSchema; + +/** @internal */ +export const UpdateDrainResponseBodyProjectsMetadata$inboundSchema: z.ZodType< + UpdateDrainResponseBodyProjectsMetadata, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + name: z.string(), + framework: z.nullable(UpdateDrainResponseBodyFramework$inboundSchema) + .optional(), + latestDeployment: z.string().optional(), +}); +/** @internal */ +export type UpdateDrainResponseBodyProjectsMetadata$Outbound = { + id: string; + name: string; + framework?: string | null | undefined; + latestDeployment?: string | undefined; +}; + +/** @internal */ +export const UpdateDrainResponseBodyProjectsMetadata$outboundSchema: z.ZodType< + UpdateDrainResponseBodyProjectsMetadata$Outbound, + z.ZodTypeDef, + UpdateDrainResponseBodyProjectsMetadata +> = z.object({ + id: z.string(), + name: z.string(), + framework: z.nullable(UpdateDrainResponseBodyFramework$outboundSchema) + .optional(), + latestDeployment: z.string().optional(), +}); + +export function updateDrainResponseBodyProjectsMetadataToJSON( + updateDrainResponseBodyProjectsMetadata: + UpdateDrainResponseBodyProjectsMetadata, +): string { + return JSON.stringify( + UpdateDrainResponseBodyProjectsMetadata$outboundSchema.parse( + updateDrainResponseBodyProjectsMetadata, + ), + ); +} +export function updateDrainResponseBodyProjectsMetadataFromJSON( + jsonString: string, +): SafeParseResult< + UpdateDrainResponseBodyProjectsMetadata, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + UpdateDrainResponseBodyProjectsMetadata$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'UpdateDrainResponseBodyProjectsMetadata' from JSON`, + ); +} + +/** @internal */ +export const UpdateDrainResponseBody2$inboundSchema: z.ZodType< + UpdateDrainResponseBody2, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + ownerId: z.string(), + name: z.string(), + createdAt: z.number(), + createdFrom: UpdateDrainResponseBodyDrainsCreatedFrom$inboundSchema + .optional(), + updatedAt: z.number(), + projectIds: z.array(z.string()).optional(), + schemas: z.lazy(() => UpdateDrainResponseBodyDrainsSchemas$inboundSchema) + .optional(), + delivery: z.union([ + z.lazy(() => UpdateDrainDeliveryDrainsResponse1$inboundSchema), + z.lazy(() => UpdateDrainDeliveryDrainsResponse2$inboundSchema), + z.lazy(() => UpdateDrainDeliveryDrains3$inboundSchema), + z.lazy(() => UpdateDrainDeliveryDrains4$inboundSchema), + ]).optional(), + sampling: z.array( + z.lazy(() => UpdateDrainResponseBodyDrainsSampling$inboundSchema), + ).optional(), + teamId: z.nullable(z.string()).optional(), + status: UpdateDrainResponseBodyDrainsStatus$inboundSchema.optional(), + disabledAt: z.number().optional(), + disabledReason: UpdateDrainResponseBodyDrainsDisabledReason$inboundSchema + .optional(), + disabledBy: z.string().optional(), + firstErrorTimestamp: z.number().optional(), + configurationId: z.string().optional(), + clientId: z.string().optional(), + source: z.union([ + z.lazy(() => UpdateDrainSourceDrainsResponse2$inboundSchema), + z.lazy(() => UpdateDrainSourceDrainsResponse1$inboundSchema), + ]), + filter: z.string().optional(), + filterV2: z.union([ + z.lazy(() => UpdateDrainFilterV2Drains2$inboundSchema), + z.lazy(() => UpdateDrainFilterV2Drains1$inboundSchema), + ]).optional(), + integrationIcon: z.string().optional(), + integrationConfigurationUri: z.string().optional(), + integrationWebsite: z.string().optional(), + projectsMetadata: z.array( + z.lazy(() => UpdateDrainResponseBodyProjectsMetadata$inboundSchema), + ).optional(), +}); +/** @internal */ +export type UpdateDrainResponseBody2$Outbound = { + id: string; + ownerId: string; + name: string; + createdAt: number; + createdFrom?: string | undefined; + updatedAt: number; + projectIds?: Array | undefined; + schemas?: UpdateDrainResponseBodyDrainsSchemas$Outbound | undefined; + delivery?: + | UpdateDrainDeliveryDrainsResponse1$Outbound + | UpdateDrainDeliveryDrainsResponse2$Outbound + | UpdateDrainDeliveryDrains3$Outbound + | UpdateDrainDeliveryDrains4$Outbound + | undefined; + sampling?: Array | undefined; + teamId?: string | null | undefined; + status?: string | undefined; + disabledAt?: number | undefined; + disabledReason?: string | undefined; + disabledBy?: string | undefined; + firstErrorTimestamp?: number | undefined; + configurationId?: string | undefined; + clientId?: string | undefined; + source: + | UpdateDrainSourceDrainsResponse2$Outbound + | UpdateDrainSourceDrainsResponse1$Outbound; + filter?: string | undefined; + filterV2?: + | UpdateDrainFilterV2Drains2$Outbound + | UpdateDrainFilterV2Drains1$Outbound + | undefined; + integrationIcon?: string | undefined; + integrationConfigurationUri?: string | undefined; + integrationWebsite?: string | undefined; + projectsMetadata?: + | Array + | undefined; +}; + +/** @internal */ +export const UpdateDrainResponseBody2$outboundSchema: z.ZodType< + UpdateDrainResponseBody2$Outbound, + z.ZodTypeDef, + UpdateDrainResponseBody2 +> = z.object({ + id: z.string(), + ownerId: z.string(), + name: z.string(), + createdAt: z.number(), + createdFrom: UpdateDrainResponseBodyDrainsCreatedFrom$outboundSchema + .optional(), + updatedAt: z.number(), + projectIds: z.array(z.string()).optional(), + schemas: z.lazy(() => UpdateDrainResponseBodyDrainsSchemas$outboundSchema) + .optional(), + delivery: z.union([ + z.lazy(() => UpdateDrainDeliveryDrainsResponse1$outboundSchema), + z.lazy(() => UpdateDrainDeliveryDrainsResponse2$outboundSchema), + z.lazy(() => UpdateDrainDeliveryDrains3$outboundSchema), + z.lazy(() => UpdateDrainDeliveryDrains4$outboundSchema), + ]).optional(), + sampling: z.array( + z.lazy(() => UpdateDrainResponseBodyDrainsSampling$outboundSchema), + ).optional(), + teamId: z.nullable(z.string()).optional(), + status: UpdateDrainResponseBodyDrainsStatus$outboundSchema.optional(), + disabledAt: z.number().optional(), + disabledReason: UpdateDrainResponseBodyDrainsDisabledReason$outboundSchema + .optional(), + disabledBy: z.string().optional(), + firstErrorTimestamp: z.number().optional(), + configurationId: z.string().optional(), + clientId: z.string().optional(), + source: z.union([ + z.lazy(() => UpdateDrainSourceDrainsResponse2$outboundSchema), + z.lazy(() => UpdateDrainSourceDrainsResponse1$outboundSchema), + ]), + filter: z.string().optional(), + filterV2: z.union([ + z.lazy(() => UpdateDrainFilterV2Drains2$outboundSchema), + z.lazy(() => UpdateDrainFilterV2Drains1$outboundSchema), + ]).optional(), + integrationIcon: z.string().optional(), + integrationConfigurationUri: z.string().optional(), + integrationWebsite: z.string().optional(), + projectsMetadata: z.array( + z.lazy(() => UpdateDrainResponseBodyProjectsMetadata$outboundSchema), + ).optional(), +}); + +export function updateDrainResponseBody2ToJSON( + updateDrainResponseBody2: UpdateDrainResponseBody2, +): string { + return JSON.stringify( + UpdateDrainResponseBody2$outboundSchema.parse(updateDrainResponseBody2), + ); +} +export function updateDrainResponseBody2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateDrainResponseBody2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateDrainResponseBody2' from JSON`, + ); +} + +/** @internal */ +export const UpdateDrainResponseBodyCreatedFrom$inboundSchema: z.ZodNativeEnum< + typeof UpdateDrainResponseBodyCreatedFrom +> = z.nativeEnum(UpdateDrainResponseBodyCreatedFrom); +/** @internal */ +export const UpdateDrainResponseBodyCreatedFrom$outboundSchema: z.ZodNativeEnum< + typeof UpdateDrainResponseBodyCreatedFrom +> = UpdateDrainResponseBodyCreatedFrom$inboundSchema; + +/** @internal */ +export const UpdateDrainResponseBodyLog$inboundSchema: z.ZodType< + UpdateDrainResponseBodyLog, + z.ZodTypeDef, + unknown +> = z.object({}); +/** @internal */ +export type UpdateDrainResponseBodyLog$Outbound = {}; + +/** @internal */ +export const UpdateDrainResponseBodyLog$outboundSchema: z.ZodType< + UpdateDrainResponseBodyLog$Outbound, + z.ZodTypeDef, + UpdateDrainResponseBodyLog +> = z.object({}); + +export function updateDrainResponseBodyLogToJSON( + updateDrainResponseBodyLog: UpdateDrainResponseBodyLog, +): string { + return JSON.stringify( + UpdateDrainResponseBodyLog$outboundSchema.parse(updateDrainResponseBodyLog), + ); +} +export function updateDrainResponseBodyLogFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateDrainResponseBodyLog$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateDrainResponseBodyLog' from JSON`, + ); +} + +/** @internal */ +export const UpdateDrainResponseBodyTrace$inboundSchema: z.ZodType< + UpdateDrainResponseBodyTrace, + z.ZodTypeDef, + unknown +> = z.object({}); +/** @internal */ +export type UpdateDrainResponseBodyTrace$Outbound = {}; + +/** @internal */ +export const UpdateDrainResponseBodyTrace$outboundSchema: z.ZodType< + UpdateDrainResponseBodyTrace$Outbound, + z.ZodTypeDef, + UpdateDrainResponseBodyTrace +> = z.object({}); + +export function updateDrainResponseBodyTraceToJSON( + updateDrainResponseBodyTrace: UpdateDrainResponseBodyTrace, +): string { + return JSON.stringify( + UpdateDrainResponseBodyTrace$outboundSchema.parse( + updateDrainResponseBodyTrace, + ), + ); +} +export function updateDrainResponseBodyTraceFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateDrainResponseBodyTrace$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateDrainResponseBodyTrace' from JSON`, + ); +} + +/** @internal */ +export const UpdateDrainResponseBodyAnalytics$inboundSchema: z.ZodType< + UpdateDrainResponseBodyAnalytics, + z.ZodTypeDef, + unknown +> = z.object({}); +/** @internal */ +export type UpdateDrainResponseBodyAnalytics$Outbound = {}; + +/** @internal */ +export const UpdateDrainResponseBodyAnalytics$outboundSchema: z.ZodType< + UpdateDrainResponseBodyAnalytics$Outbound, + z.ZodTypeDef, + UpdateDrainResponseBodyAnalytics +> = z.object({}); + +export function updateDrainResponseBodyAnalyticsToJSON( + updateDrainResponseBodyAnalytics: UpdateDrainResponseBodyAnalytics, +): string { + return JSON.stringify( + UpdateDrainResponseBodyAnalytics$outboundSchema.parse( + updateDrainResponseBodyAnalytics, + ), + ); +} +export function updateDrainResponseBodyAnalyticsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateDrainResponseBodyAnalytics$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateDrainResponseBodyAnalytics' from JSON`, + ); +} + +/** @internal */ +export const UpdateDrainResponseBodySpeedInsights$inboundSchema: z.ZodType< + UpdateDrainResponseBodySpeedInsights, + z.ZodTypeDef, + unknown +> = z.object({}); +/** @internal */ +export type UpdateDrainResponseBodySpeedInsights$Outbound = {}; + +/** @internal */ +export const UpdateDrainResponseBodySpeedInsights$outboundSchema: z.ZodType< + UpdateDrainResponseBodySpeedInsights$Outbound, + z.ZodTypeDef, + UpdateDrainResponseBodySpeedInsights +> = z.object({}); + +export function updateDrainResponseBodySpeedInsightsToJSON( + updateDrainResponseBodySpeedInsights: UpdateDrainResponseBodySpeedInsights, +): string { + return JSON.stringify( + UpdateDrainResponseBodySpeedInsights$outboundSchema.parse( + updateDrainResponseBodySpeedInsights, + ), + ); +} +export function updateDrainResponseBodySpeedInsightsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + UpdateDrainResponseBodySpeedInsights$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateDrainResponseBodySpeedInsights' from JSON`, + ); +} + +/** @internal */ +export const UpdateDrainResponseBodySchemas$inboundSchema: z.ZodType< + UpdateDrainResponseBodySchemas, + z.ZodTypeDef, + unknown +> = z.object({ + log: z.lazy(() => UpdateDrainResponseBodyLog$inboundSchema).optional(), + trace: z.lazy(() => UpdateDrainResponseBodyTrace$inboundSchema).optional(), + analytics: z.lazy(() => UpdateDrainResponseBodyAnalytics$inboundSchema) + .optional(), + speed_insights: z.lazy(() => + UpdateDrainResponseBodySpeedInsights$inboundSchema + ).optional(), +}).transform((v) => { + return remap$(v, { + "speed_insights": "speedInsights", + }); +}); +/** @internal */ +export type UpdateDrainResponseBodySchemas$Outbound = { + log?: UpdateDrainResponseBodyLog$Outbound | undefined; + trace?: UpdateDrainResponseBodyTrace$Outbound | undefined; + analytics?: UpdateDrainResponseBodyAnalytics$Outbound | undefined; + speed_insights?: UpdateDrainResponseBodySpeedInsights$Outbound | undefined; +}; + +/** @internal */ +export const UpdateDrainResponseBodySchemas$outboundSchema: z.ZodType< + UpdateDrainResponseBodySchemas$Outbound, + z.ZodTypeDef, + UpdateDrainResponseBodySchemas +> = z.object({ + log: z.lazy(() => UpdateDrainResponseBodyLog$outboundSchema).optional(), + trace: z.lazy(() => UpdateDrainResponseBodyTrace$outboundSchema).optional(), + analytics: z.lazy(() => UpdateDrainResponseBodyAnalytics$outboundSchema) + .optional(), + speedInsights: z.lazy(() => + UpdateDrainResponseBodySpeedInsights$outboundSchema + ).optional(), +}).transform((v) => { + return remap$(v, { + speedInsights: "speed_insights", + }); +}); + +export function updateDrainResponseBodySchemasToJSON( + updateDrainResponseBodySchemas: UpdateDrainResponseBodySchemas, +): string { + return JSON.stringify( + UpdateDrainResponseBodySchemas$outboundSchema.parse( + updateDrainResponseBodySchemas, + ), + ); +} +export function updateDrainResponseBodySchemasFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateDrainResponseBodySchemas$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateDrainResponseBodySchemas' from JSON`, + ); +} + +/** @internal */ +export const UpdateDrainDeliveryDrainsResponse200Type$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(UpdateDrainDeliveryDrainsResponse200Type); +/** @internal */ +export const UpdateDrainDeliveryDrainsResponse200Type$outboundSchema: + z.ZodNativeEnum = + UpdateDrainDeliveryDrainsResponse200Type$inboundSchema; + +/** @internal */ +export const UpdateDrainDeliveryTarget$inboundSchema: z.ZodNativeEnum< + typeof UpdateDrainDeliveryTarget +> = z.nativeEnum(UpdateDrainDeliveryTarget); +/** @internal */ +export const UpdateDrainDeliveryTarget$outboundSchema: z.ZodNativeEnum< + typeof UpdateDrainDeliveryTarget +> = UpdateDrainDeliveryTarget$inboundSchema; + +/** @internal */ +export const UpdateDrainDelivery4$inboundSchema: z.ZodType< + UpdateDrainDelivery4, + z.ZodTypeDef, + unknown +> = z.object({ + type: UpdateDrainDeliveryDrainsResponse200Type$inboundSchema, + target: UpdateDrainDeliveryTarget$inboundSchema, +}); +/** @internal */ +export type UpdateDrainDelivery4$Outbound = { + type: string; + target: string; +}; + +/** @internal */ +export const UpdateDrainDelivery4$outboundSchema: z.ZodType< + UpdateDrainDelivery4$Outbound, + z.ZodTypeDef, + UpdateDrainDelivery4 +> = z.object({ + type: UpdateDrainDeliveryDrainsResponse200Type$outboundSchema, + target: UpdateDrainDeliveryTarget$outboundSchema, +}); + +export function updateDrainDelivery4ToJSON( + updateDrainDelivery4: UpdateDrainDelivery4, +): string { + return JSON.stringify( + UpdateDrainDelivery4$outboundSchema.parse(updateDrainDelivery4), + ); +} +export function updateDrainDelivery4FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateDrainDelivery4$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateDrainDelivery4' from JSON`, + ); +} + +/** @internal */ +export const UpdateDrainDeliveryDrainsResponseType$inboundSchema: + z.ZodNativeEnum = z.nativeEnum( + UpdateDrainDeliveryDrainsResponseType, + ); +/** @internal */ +export const UpdateDrainDeliveryDrainsResponseType$outboundSchema: + z.ZodNativeEnum = + UpdateDrainDeliveryDrainsResponseType$inboundSchema; + +/** @internal */ +export const UpdateDrainDelivery3$inboundSchema: z.ZodType< + UpdateDrainDelivery3, + z.ZodTypeDef, + unknown +> = z.object({ + type: UpdateDrainDeliveryDrainsResponseType$inboundSchema, + endpoint: z.string(), + table: z.string(), +}); +/** @internal */ +export type UpdateDrainDelivery3$Outbound = { + type: string; + endpoint: string; + table: string; +}; + +/** @internal */ +export const UpdateDrainDelivery3$outboundSchema: z.ZodType< + UpdateDrainDelivery3$Outbound, + z.ZodTypeDef, + UpdateDrainDelivery3 +> = z.object({ + type: UpdateDrainDeliveryDrainsResponseType$outboundSchema, + endpoint: z.string(), + table: z.string(), +}); + +export function updateDrainDelivery3ToJSON( + updateDrainDelivery3: UpdateDrainDelivery3, +): string { + return JSON.stringify( + UpdateDrainDelivery3$outboundSchema.parse(updateDrainDelivery3), + ); +} +export function updateDrainDelivery3FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateDrainDelivery3$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateDrainDelivery3' from JSON`, + ); +} + +/** @internal */ +export const UpdateDrainDeliveryDrainsType$inboundSchema: z.ZodNativeEnum< + typeof UpdateDrainDeliveryDrainsType +> = z.nativeEnum(UpdateDrainDeliveryDrainsType); +/** @internal */ +export const UpdateDrainDeliveryDrainsType$outboundSchema: z.ZodNativeEnum< + typeof UpdateDrainDeliveryDrainsType +> = UpdateDrainDeliveryDrainsType$inboundSchema; + +/** @internal */ +export const UpdateDrainDeliveryEndpoint$inboundSchema: z.ZodType< + UpdateDrainDeliveryEndpoint, + z.ZodTypeDef, + unknown +> = z.object({ + traces: z.string(), +}); +/** @internal */ +export type UpdateDrainDeliveryEndpoint$Outbound = { + traces: string; +}; + +/** @internal */ +export const UpdateDrainDeliveryEndpoint$outboundSchema: z.ZodType< + UpdateDrainDeliveryEndpoint$Outbound, + z.ZodTypeDef, + UpdateDrainDeliveryEndpoint +> = z.object({ + traces: z.string(), +}); + +export function updateDrainDeliveryEndpointToJSON( + updateDrainDeliveryEndpoint: UpdateDrainDeliveryEndpoint, +): string { + return JSON.stringify( + UpdateDrainDeliveryEndpoint$outboundSchema.parse( + updateDrainDeliveryEndpoint, + ), + ); +} +export function updateDrainDeliveryEndpointFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateDrainDeliveryEndpoint$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateDrainDeliveryEndpoint' from JSON`, + ); +} + +/** @internal */ +export const UpdateDrainDeliveryDrainsResponse200Encoding$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(UpdateDrainDeliveryDrainsResponse200Encoding); +/** @internal */ +export const UpdateDrainDeliveryDrainsResponse200Encoding$outboundSchema: + z.ZodNativeEnum = + UpdateDrainDeliveryDrainsResponse200Encoding$inboundSchema; + +/** @internal */ +export const UpdateDrainDeliveryDrains2$inboundSchema: z.ZodType< + UpdateDrainDeliveryDrains2, + z.ZodTypeDef, + unknown +> = z.object({ + type: UpdateDrainDeliveryDrainsType$inboundSchema, + endpoint: z.lazy(() => UpdateDrainDeliveryEndpoint$inboundSchema), + encoding: UpdateDrainDeliveryDrainsResponse200Encoding$inboundSchema, + headers: z.record(z.string()), + secret: z.string().optional(), +}); +/** @internal */ +export type UpdateDrainDeliveryDrains2$Outbound = { + type: string; + endpoint: UpdateDrainDeliveryEndpoint$Outbound; + encoding: string; + headers: { [k: string]: string }; + secret?: string | undefined; +}; + +/** @internal */ +export const UpdateDrainDeliveryDrains2$outboundSchema: z.ZodType< + UpdateDrainDeliveryDrains2$Outbound, + z.ZodTypeDef, + UpdateDrainDeliveryDrains2 +> = z.object({ + type: UpdateDrainDeliveryDrainsType$outboundSchema, + endpoint: z.lazy(() => UpdateDrainDeliveryEndpoint$outboundSchema), + encoding: UpdateDrainDeliveryDrainsResponse200Encoding$outboundSchema, + headers: z.record(z.string()), + secret: z.string().optional(), +}); + +export function updateDrainDeliveryDrains2ToJSON( + updateDrainDeliveryDrains2: UpdateDrainDeliveryDrains2, +): string { + return JSON.stringify( + UpdateDrainDeliveryDrains2$outboundSchema.parse(updateDrainDeliveryDrains2), + ); +} +export function updateDrainDeliveryDrains2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateDrainDeliveryDrains2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateDrainDeliveryDrains2' from JSON`, + ); +} + +/** @internal */ +export const UpdateDrainDeliveryType$inboundSchema: z.ZodNativeEnum< + typeof UpdateDrainDeliveryType +> = z.nativeEnum(UpdateDrainDeliveryType); +/** @internal */ +export const UpdateDrainDeliveryType$outboundSchema: z.ZodNativeEnum< + typeof UpdateDrainDeliveryType +> = UpdateDrainDeliveryType$inboundSchema; + +/** @internal */ +export const UpdateDrainDeliveryDrainsResponseEncoding$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(UpdateDrainDeliveryDrainsResponseEncoding); +/** @internal */ +export const UpdateDrainDeliveryDrainsResponseEncoding$outboundSchema: + z.ZodNativeEnum = + UpdateDrainDeliveryDrainsResponseEncoding$inboundSchema; + +/** @internal */ +export const UpdateDrainDeliveryCompression$inboundSchema: z.ZodNativeEnum< + typeof UpdateDrainDeliveryCompression +> = z.nativeEnum(UpdateDrainDeliveryCompression); +/** @internal */ +export const UpdateDrainDeliveryCompression$outboundSchema: z.ZodNativeEnum< + typeof UpdateDrainDeliveryCompression +> = UpdateDrainDeliveryCompression$inboundSchema; + +/** @internal */ +export const UpdateDrainDeliveryDrains1$inboundSchema: z.ZodType< + UpdateDrainDeliveryDrains1, + z.ZodTypeDef, + unknown +> = z.object({ + type: UpdateDrainDeliveryType$inboundSchema, + endpoint: z.string(), + encoding: UpdateDrainDeliveryDrainsResponseEncoding$inboundSchema, + compression: UpdateDrainDeliveryCompression$inboundSchema.optional(), + headers: z.record(z.string()), + secret: z.string().optional(), +}); +/** @internal */ +export type UpdateDrainDeliveryDrains1$Outbound = { + type: string; + endpoint: string; + encoding: string; + compression?: string | undefined; + headers: { [k: string]: string }; + secret?: string | undefined; +}; + +/** @internal */ +export const UpdateDrainDeliveryDrains1$outboundSchema: z.ZodType< + UpdateDrainDeliveryDrains1$Outbound, + z.ZodTypeDef, + UpdateDrainDeliveryDrains1 +> = z.object({ + type: UpdateDrainDeliveryType$outboundSchema, + endpoint: z.string(), + encoding: UpdateDrainDeliveryDrainsResponseEncoding$outboundSchema, + compression: UpdateDrainDeliveryCompression$outboundSchema.optional(), + headers: z.record(z.string()), + secret: z.string().optional(), +}); + +export function updateDrainDeliveryDrains1ToJSON( + updateDrainDeliveryDrains1: UpdateDrainDeliveryDrains1, +): string { + return JSON.stringify( + UpdateDrainDeliveryDrains1$outboundSchema.parse(updateDrainDeliveryDrains1), + ); +} +export function updateDrainDeliveryDrains1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateDrainDeliveryDrains1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateDrainDeliveryDrains1' from JSON`, + ); +} + +/** @internal */ +export const UpdateDrainResponseBodyDelivery$inboundSchema: z.ZodType< + UpdateDrainResponseBodyDelivery, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => UpdateDrainDeliveryDrains1$inboundSchema), + z.lazy(() => UpdateDrainDeliveryDrains2$inboundSchema), + z.lazy(() => UpdateDrainDelivery3$inboundSchema), + z.lazy(() => UpdateDrainDelivery4$inboundSchema), +]); +/** @internal */ +export type UpdateDrainResponseBodyDelivery$Outbound = + | UpdateDrainDeliveryDrains1$Outbound + | UpdateDrainDeliveryDrains2$Outbound + | UpdateDrainDelivery3$Outbound + | UpdateDrainDelivery4$Outbound; + +/** @internal */ +export const UpdateDrainResponseBodyDelivery$outboundSchema: z.ZodType< + UpdateDrainResponseBodyDelivery$Outbound, + z.ZodTypeDef, + UpdateDrainResponseBodyDelivery +> = z.union([ + z.lazy(() => UpdateDrainDeliveryDrains1$outboundSchema), + z.lazy(() => UpdateDrainDeliveryDrains2$outboundSchema), + z.lazy(() => UpdateDrainDelivery3$outboundSchema), + z.lazy(() => UpdateDrainDelivery4$outboundSchema), +]); + +export function updateDrainResponseBodyDeliveryToJSON( + updateDrainResponseBodyDelivery: UpdateDrainResponseBodyDelivery, +): string { + return JSON.stringify( + UpdateDrainResponseBodyDelivery$outboundSchema.parse( + updateDrainResponseBodyDelivery, + ), + ); +} +export function updateDrainResponseBodyDeliveryFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateDrainResponseBodyDelivery$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateDrainResponseBodyDelivery' from JSON`, + ); +} + +/** @internal */ +export const UpdateDrainResponseBodyType$inboundSchema: z.ZodNativeEnum< + typeof UpdateDrainResponseBodyType +> = z.nativeEnum(UpdateDrainResponseBodyType); +/** @internal */ +export const UpdateDrainResponseBodyType$outboundSchema: z.ZodNativeEnum< + typeof UpdateDrainResponseBodyType +> = UpdateDrainResponseBodyType$inboundSchema; + +/** @internal */ +export const UpdateDrainResponseBodyEnv$inboundSchema: z.ZodNativeEnum< + typeof UpdateDrainResponseBodyEnv +> = z.nativeEnum(UpdateDrainResponseBodyEnv); +/** @internal */ +export const UpdateDrainResponseBodyEnv$outboundSchema: z.ZodNativeEnum< + typeof UpdateDrainResponseBodyEnv +> = UpdateDrainResponseBodyEnv$inboundSchema; + +/** @internal */ +export const UpdateDrainResponseBodySampling$inboundSchema: z.ZodType< + UpdateDrainResponseBodySampling, + z.ZodTypeDef, + unknown +> = z.object({ + type: UpdateDrainResponseBodyType$inboundSchema, + rate: z.number(), + env: UpdateDrainResponseBodyEnv$inboundSchema.optional(), + requestPath: z.string().optional(), +}); +/** @internal */ +export type UpdateDrainResponseBodySampling$Outbound = { + type: string; + rate: number; + env?: string | undefined; + requestPath?: string | undefined; +}; + +/** @internal */ +export const UpdateDrainResponseBodySampling$outboundSchema: z.ZodType< + UpdateDrainResponseBodySampling$Outbound, + z.ZodTypeDef, + UpdateDrainResponseBodySampling +> = z.object({ + type: UpdateDrainResponseBodyType$outboundSchema, + rate: z.number(), + env: UpdateDrainResponseBodyEnv$outboundSchema.optional(), + requestPath: z.string().optional(), +}); + +export function updateDrainResponseBodySamplingToJSON( + updateDrainResponseBodySampling: UpdateDrainResponseBodySampling, +): string { + return JSON.stringify( + UpdateDrainResponseBodySampling$outboundSchema.parse( + updateDrainResponseBodySampling, + ), + ); +} +export function updateDrainResponseBodySamplingFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateDrainResponseBodySampling$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateDrainResponseBodySampling' from JSON`, + ); +} + +/** @internal */ +export const UpdateDrainResponseBodyStatus$inboundSchema: z.ZodNativeEnum< + typeof UpdateDrainResponseBodyStatus +> = z.nativeEnum(UpdateDrainResponseBodyStatus); +/** @internal */ +export const UpdateDrainResponseBodyStatus$outboundSchema: z.ZodNativeEnum< + typeof UpdateDrainResponseBodyStatus +> = UpdateDrainResponseBodyStatus$inboundSchema; + +/** @internal */ +export const UpdateDrainResponseBodyDisabledReason$inboundSchema: + z.ZodNativeEnum = z.nativeEnum( + UpdateDrainResponseBodyDisabledReason, + ); +/** @internal */ +export const UpdateDrainResponseBodyDisabledReason$outboundSchema: + z.ZodNativeEnum = + UpdateDrainResponseBodyDisabledReason$inboundSchema; + +/** @internal */ +export const UpdateDrainSourceDrainsKind$inboundSchema: z.ZodNativeEnum< + typeof UpdateDrainSourceDrainsKind +> = z.nativeEnum(UpdateDrainSourceDrainsKind); +/** @internal */ +export const UpdateDrainSourceDrainsKind$outboundSchema: z.ZodNativeEnum< + typeof UpdateDrainSourceDrainsKind +> = UpdateDrainSourceDrainsKind$inboundSchema; + +/** @internal */ +export const UpdateDrainSourceDrains2$inboundSchema: z.ZodType< + UpdateDrainSourceDrains2, + z.ZodTypeDef, + unknown +> = z.object({ + kind: UpdateDrainSourceDrainsKind$inboundSchema, + resourceId: z.string().optional(), + externalResourceId: z.string().optional(), + integrationId: z.string(), + integrationConfigurationId: z.string(), +}); +/** @internal */ +export type UpdateDrainSourceDrains2$Outbound = { + kind: string; + resourceId?: string | undefined; + externalResourceId?: string | undefined; + integrationId: string; + integrationConfigurationId: string; +}; + +/** @internal */ +export const UpdateDrainSourceDrains2$outboundSchema: z.ZodType< + UpdateDrainSourceDrains2$Outbound, + z.ZodTypeDef, + UpdateDrainSourceDrains2 +> = z.object({ + kind: UpdateDrainSourceDrainsKind$outboundSchema, + resourceId: z.string().optional(), + externalResourceId: z.string().optional(), + integrationId: z.string(), + integrationConfigurationId: z.string(), +}); + +export function updateDrainSourceDrains2ToJSON( + updateDrainSourceDrains2: UpdateDrainSourceDrains2, +): string { + return JSON.stringify( + UpdateDrainSourceDrains2$outboundSchema.parse(updateDrainSourceDrains2), + ); +} +export function updateDrainSourceDrains2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateDrainSourceDrains2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateDrainSourceDrains2' from JSON`, + ); +} + +/** @internal */ +export const UpdateDrainSourceKind$inboundSchema: z.ZodNativeEnum< + typeof UpdateDrainSourceKind +> = z.nativeEnum(UpdateDrainSourceKind); +/** @internal */ +export const UpdateDrainSourceKind$outboundSchema: z.ZodNativeEnum< + typeof UpdateDrainSourceKind +> = UpdateDrainSourceKind$inboundSchema; + +/** @internal */ +export const UpdateDrainSourceDrains1$inboundSchema: z.ZodType< + UpdateDrainSourceDrains1, + z.ZodTypeDef, + unknown +> = z.object({ + kind: UpdateDrainSourceKind$inboundSchema, +}); +/** @internal */ +export type UpdateDrainSourceDrains1$Outbound = { + kind: string; +}; + +/** @internal */ +export const UpdateDrainSourceDrains1$outboundSchema: z.ZodType< + UpdateDrainSourceDrains1$Outbound, + z.ZodTypeDef, + UpdateDrainSourceDrains1 +> = z.object({ + kind: UpdateDrainSourceKind$outboundSchema, +}); + +export function updateDrainSourceDrains1ToJSON( + updateDrainSourceDrains1: UpdateDrainSourceDrains1, +): string { + return JSON.stringify( + UpdateDrainSourceDrains1$outboundSchema.parse(updateDrainSourceDrains1), + ); +} +export function updateDrainSourceDrains1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateDrainSourceDrains1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateDrainSourceDrains1' from JSON`, + ); +} + +/** @internal */ +export const UpdateDrainResponseBodySource$inboundSchema: z.ZodType< + UpdateDrainResponseBodySource, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => UpdateDrainSourceDrains2$inboundSchema), + z.lazy(() => UpdateDrainSourceDrains1$inboundSchema), +]); +/** @internal */ +export type UpdateDrainResponseBodySource$Outbound = + | UpdateDrainSourceDrains2$Outbound + | UpdateDrainSourceDrains1$Outbound; + +/** @internal */ +export const UpdateDrainResponseBodySource$outboundSchema: z.ZodType< + UpdateDrainResponseBodySource$Outbound, + z.ZodTypeDef, + UpdateDrainResponseBodySource +> = z.union([ + z.lazy(() => UpdateDrainSourceDrains2$outboundSchema), + z.lazy(() => UpdateDrainSourceDrains1$outboundSchema), +]); + +export function updateDrainResponseBodySourceToJSON( + updateDrainResponseBodySource: UpdateDrainResponseBodySource, +): string { + return JSON.stringify( + UpdateDrainResponseBodySource$outboundSchema.parse( + updateDrainResponseBodySource, + ), + ); +} +export function updateDrainResponseBodySourceFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateDrainResponseBodySource$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateDrainResponseBodySource' from JSON`, + ); +} + +/** @internal */ +export const UpdateDrainFilterV2DrainsVersion$inboundSchema: z.ZodNativeEnum< + typeof UpdateDrainFilterV2DrainsVersion +> = z.nativeEnum(UpdateDrainFilterV2DrainsVersion); +/** @internal */ +export const UpdateDrainFilterV2DrainsVersion$outboundSchema: z.ZodNativeEnum< + typeof UpdateDrainFilterV2DrainsVersion +> = UpdateDrainFilterV2DrainsVersion$inboundSchema; + +/** @internal */ +export const UpdateDrainFilterDrainsType$inboundSchema: z.ZodNativeEnum< + typeof UpdateDrainFilterDrainsType +> = z.nativeEnum(UpdateDrainFilterDrainsType); +/** @internal */ +export const UpdateDrainFilterDrainsType$outboundSchema: z.ZodNativeEnum< + typeof UpdateDrainFilterDrainsType +> = UpdateDrainFilterDrainsType$inboundSchema; + +/** @internal */ +export const UpdateDrainFilterDrainsResponse2$inboundSchema: z.ZodType< + UpdateDrainFilterDrainsResponse2, + z.ZodTypeDef, + unknown +> = z.object({ + type: UpdateDrainFilterDrainsType$inboundSchema, + text: z.string(), +}); +/** @internal */ +export type UpdateDrainFilterDrainsResponse2$Outbound = { + type: string; + text: string; +}; + +/** @internal */ +export const UpdateDrainFilterDrainsResponse2$outboundSchema: z.ZodType< + UpdateDrainFilterDrainsResponse2$Outbound, + z.ZodTypeDef, + UpdateDrainFilterDrainsResponse2 +> = z.object({ + type: UpdateDrainFilterDrainsType$outboundSchema, + text: z.string(), +}); + +export function updateDrainFilterDrainsResponse2ToJSON( + updateDrainFilterDrainsResponse2: UpdateDrainFilterDrainsResponse2, +): string { + return JSON.stringify( + UpdateDrainFilterDrainsResponse2$outboundSchema.parse( + updateDrainFilterDrainsResponse2, + ), + ); +} +export function updateDrainFilterDrainsResponse2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateDrainFilterDrainsResponse2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateDrainFilterDrainsResponse2' from JSON`, + ); +} + +/** @internal */ +export const UpdateDrainFilterType$inboundSchema: z.ZodNativeEnum< + typeof UpdateDrainFilterType +> = z.nativeEnum(UpdateDrainFilterType); +/** @internal */ +export const UpdateDrainFilterType$outboundSchema: z.ZodNativeEnum< + typeof UpdateDrainFilterType +> = UpdateDrainFilterType$inboundSchema; + +/** @internal */ +export const UpdateDrainFilterProject$inboundSchema: z.ZodType< + UpdateDrainFilterProject, + z.ZodTypeDef, + unknown +> = z.object({ + ids: z.array(z.string()).optional(), +}); +/** @internal */ +export type UpdateDrainFilterProject$Outbound = { + ids?: Array | undefined; +}; + +/** @internal */ +export const UpdateDrainFilterProject$outboundSchema: z.ZodType< + UpdateDrainFilterProject$Outbound, + z.ZodTypeDef, + UpdateDrainFilterProject +> = z.object({ + ids: z.array(z.string()).optional(), +}); + +export function updateDrainFilterProjectToJSON( + updateDrainFilterProject: UpdateDrainFilterProject, +): string { + return JSON.stringify( + UpdateDrainFilterProject$outboundSchema.parse(updateDrainFilterProject), + ); +} +export function updateDrainFilterProjectFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateDrainFilterProject$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateDrainFilterProject' from JSON`, + ); +} + +/** @internal */ +export const UpdateDrainFilterDrainsSources$inboundSchema: z.ZodNativeEnum< + typeof UpdateDrainFilterDrainsSources +> = z.nativeEnum(UpdateDrainFilterDrainsSources); +/** @internal */ +export const UpdateDrainFilterDrainsSources$outboundSchema: z.ZodNativeEnum< + typeof UpdateDrainFilterDrainsSources +> = UpdateDrainFilterDrainsSources$inboundSchema; + +/** @internal */ +export const UpdateDrainFilterLog$inboundSchema: z.ZodType< + UpdateDrainFilterLog, + z.ZodTypeDef, + unknown +> = z.object({ + sources: z.array(UpdateDrainFilterDrainsSources$inboundSchema).optional(), + legacy_excludeCachedStaticAssetLogs: z.boolean().optional(), +}).transform((v) => { + return remap$(v, { + "legacy_excludeCachedStaticAssetLogs": "legacyExcludeCachedStaticAssetLogs", + }); +}); +/** @internal */ +export type UpdateDrainFilterLog$Outbound = { + sources?: Array | undefined; + legacy_excludeCachedStaticAssetLogs?: boolean | undefined; +}; + +/** @internal */ +export const UpdateDrainFilterLog$outboundSchema: z.ZodType< + UpdateDrainFilterLog$Outbound, + z.ZodTypeDef, + UpdateDrainFilterLog +> = z.object({ + sources: z.array(UpdateDrainFilterDrainsSources$outboundSchema).optional(), + legacyExcludeCachedStaticAssetLogs: z.boolean().optional(), +}).transform((v) => { + return remap$(v, { + legacyExcludeCachedStaticAssetLogs: "legacy_excludeCachedStaticAssetLogs", + }); +}); + +export function updateDrainFilterLogToJSON( + updateDrainFilterLog: UpdateDrainFilterLog, +): string { + return JSON.stringify( + UpdateDrainFilterLog$outboundSchema.parse(updateDrainFilterLog), + ); +} +export function updateDrainFilterLogFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateDrainFilterLog$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateDrainFilterLog' from JSON`, + ); +} + +/** @internal */ +export const UpdateDrainFilterDrainsEnvironments$inboundSchema: z.ZodNativeEnum< + typeof UpdateDrainFilterDrainsEnvironments +> = z.nativeEnum(UpdateDrainFilterDrainsEnvironments); +/** @internal */ +export const UpdateDrainFilterDrainsEnvironments$outboundSchema: + z.ZodNativeEnum = + UpdateDrainFilterDrainsEnvironments$inboundSchema; + +/** @internal */ +export const UpdateDrainFilterDeployment$inboundSchema: z.ZodType< + UpdateDrainFilterDeployment, + z.ZodTypeDef, + unknown +> = z.object({ + environments: z.array(UpdateDrainFilterDrainsEnvironments$inboundSchema) + .optional(), +}); +/** @internal */ +export type UpdateDrainFilterDeployment$Outbound = { + environments?: Array | undefined; +}; + +/** @internal */ +export const UpdateDrainFilterDeployment$outboundSchema: z.ZodType< + UpdateDrainFilterDeployment$Outbound, + z.ZodTypeDef, + UpdateDrainFilterDeployment +> = z.object({ + environments: z.array(UpdateDrainFilterDrainsEnvironments$outboundSchema) + .optional(), +}); + +export function updateDrainFilterDeploymentToJSON( + updateDrainFilterDeployment: UpdateDrainFilterDeployment, +): string { + return JSON.stringify( + UpdateDrainFilterDeployment$outboundSchema.parse( + updateDrainFilterDeployment, + ), + ); +} +export function updateDrainFilterDeploymentFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateDrainFilterDeployment$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateDrainFilterDeployment' from JSON`, + ); +} + +/** @internal */ +export const UpdateDrainFilterDrains1$inboundSchema: z.ZodType< + UpdateDrainFilterDrains1, + z.ZodTypeDef, + unknown +> = z.object({ + type: UpdateDrainFilterType$inboundSchema, + project: z.lazy(() => UpdateDrainFilterProject$inboundSchema).optional(), + log: z.lazy(() => UpdateDrainFilterLog$inboundSchema).optional(), + deployment: z.lazy(() => UpdateDrainFilterDeployment$inboundSchema) + .optional(), +}); +/** @internal */ +export type UpdateDrainFilterDrains1$Outbound = { + type: string; + project?: UpdateDrainFilterProject$Outbound | undefined; + log?: UpdateDrainFilterLog$Outbound | undefined; + deployment?: UpdateDrainFilterDeployment$Outbound | undefined; +}; + +/** @internal */ +export const UpdateDrainFilterDrains1$outboundSchema: z.ZodType< + UpdateDrainFilterDrains1$Outbound, + z.ZodTypeDef, + UpdateDrainFilterDrains1 +> = z.object({ + type: UpdateDrainFilterType$outboundSchema, + project: z.lazy(() => UpdateDrainFilterProject$outboundSchema).optional(), + log: z.lazy(() => UpdateDrainFilterLog$outboundSchema).optional(), + deployment: z.lazy(() => UpdateDrainFilterDeployment$outboundSchema) + .optional(), +}); + +export function updateDrainFilterDrains1ToJSON( + updateDrainFilterDrains1: UpdateDrainFilterDrains1, +): string { + return JSON.stringify( + UpdateDrainFilterDrains1$outboundSchema.parse(updateDrainFilterDrains1), + ); +} +export function updateDrainFilterDrains1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateDrainFilterDrains1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateDrainFilterDrains1' from JSON`, + ); +} + +/** @internal */ +export const UpdateDrainFilterV2Filter$inboundSchema: z.ZodType< + UpdateDrainFilterV2Filter, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => UpdateDrainFilterDrainsResponse2$inboundSchema), + z.lazy(() => UpdateDrainFilterDrains1$inboundSchema), +]); +/** @internal */ +export type UpdateDrainFilterV2Filter$Outbound = + | UpdateDrainFilterDrainsResponse2$Outbound + | UpdateDrainFilterDrains1$Outbound; + +/** @internal */ +export const UpdateDrainFilterV2Filter$outboundSchema: z.ZodType< + UpdateDrainFilterV2Filter$Outbound, + z.ZodTypeDef, + UpdateDrainFilterV2Filter +> = z.union([ + z.lazy(() => UpdateDrainFilterDrainsResponse2$outboundSchema), + z.lazy(() => UpdateDrainFilterDrains1$outboundSchema), +]); + +export function updateDrainFilterV2FilterToJSON( + updateDrainFilterV2Filter: UpdateDrainFilterV2Filter, +): string { + return JSON.stringify( + UpdateDrainFilterV2Filter$outboundSchema.parse(updateDrainFilterV2Filter), + ); +} +export function updateDrainFilterV2FilterFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateDrainFilterV2Filter$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateDrainFilterV2Filter' from JSON`, + ); +} + +/** @internal */ +export const UpdateDrainFilterV22$inboundSchema: z.ZodType< + UpdateDrainFilterV22, + z.ZodTypeDef, + unknown +> = z.object({ + version: UpdateDrainFilterV2DrainsVersion$inboundSchema, + filter: z.union([ + z.lazy(() => UpdateDrainFilterDrainsResponse2$inboundSchema), + z.lazy(() => UpdateDrainFilterDrains1$inboundSchema), + ]), +}); +/** @internal */ +export type UpdateDrainFilterV22$Outbound = { + version: string; + filter: + | UpdateDrainFilterDrainsResponse2$Outbound + | UpdateDrainFilterDrains1$Outbound; +}; + +/** @internal */ +export const UpdateDrainFilterV22$outboundSchema: z.ZodType< + UpdateDrainFilterV22$Outbound, + z.ZodTypeDef, + UpdateDrainFilterV22 +> = z.object({ + version: UpdateDrainFilterV2DrainsVersion$outboundSchema, + filter: z.union([ + z.lazy(() => UpdateDrainFilterDrainsResponse2$outboundSchema), + z.lazy(() => UpdateDrainFilterDrains1$outboundSchema), + ]), +}); + +export function updateDrainFilterV22ToJSON( + updateDrainFilterV22: UpdateDrainFilterV22, +): string { + return JSON.stringify( + UpdateDrainFilterV22$outboundSchema.parse(updateDrainFilterV22), + ); +} +export function updateDrainFilterV22FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateDrainFilterV22$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateDrainFilterV22' from JSON`, + ); +} + +/** @internal */ +export const UpdateDrainFilterV2Version$inboundSchema: z.ZodNativeEnum< + typeof UpdateDrainFilterV2Version +> = z.nativeEnum(UpdateDrainFilterV2Version); +/** @internal */ +export const UpdateDrainFilterV2Version$outboundSchema: z.ZodNativeEnum< + typeof UpdateDrainFilterV2Version +> = UpdateDrainFilterV2Version$inboundSchema; + +/** @internal */ +export const UpdateDrainFilterV21$inboundSchema: z.ZodType< + UpdateDrainFilterV21, + z.ZodTypeDef, + unknown +> = z.object({ + version: UpdateDrainFilterV2Version$inboundSchema, +}); +/** @internal */ +export type UpdateDrainFilterV21$Outbound = { + version: string; +}; + +/** @internal */ +export const UpdateDrainFilterV21$outboundSchema: z.ZodType< + UpdateDrainFilterV21$Outbound, + z.ZodTypeDef, + UpdateDrainFilterV21 +> = z.object({ + version: UpdateDrainFilterV2Version$outboundSchema, +}); + +export function updateDrainFilterV21ToJSON( + updateDrainFilterV21: UpdateDrainFilterV21, +): string { + return JSON.stringify( + UpdateDrainFilterV21$outboundSchema.parse(updateDrainFilterV21), + ); +} +export function updateDrainFilterV21FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateDrainFilterV21$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateDrainFilterV21' from JSON`, + ); +} + +/** @internal */ +export const UpdateDrainResponseBodyFilterV2$inboundSchema: z.ZodType< + UpdateDrainResponseBodyFilterV2, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => UpdateDrainFilterV22$inboundSchema), + z.lazy(() => UpdateDrainFilterV21$inboundSchema), +]); +/** @internal */ +export type UpdateDrainResponseBodyFilterV2$Outbound = + | UpdateDrainFilterV22$Outbound + | UpdateDrainFilterV21$Outbound; + +/** @internal */ +export const UpdateDrainResponseBodyFilterV2$outboundSchema: z.ZodType< + UpdateDrainResponseBodyFilterV2$Outbound, + z.ZodTypeDef, + UpdateDrainResponseBodyFilterV2 +> = z.union([ + z.lazy(() => UpdateDrainFilterV22$outboundSchema), + z.lazy(() => UpdateDrainFilterV21$outboundSchema), +]); + +export function updateDrainResponseBodyFilterV2ToJSON( + updateDrainResponseBodyFilterV2: UpdateDrainResponseBodyFilterV2, +): string { + return JSON.stringify( + UpdateDrainResponseBodyFilterV2$outboundSchema.parse( + updateDrainResponseBodyFilterV2, + ), + ); +} +export function updateDrainResponseBodyFilterV2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateDrainResponseBodyFilterV2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateDrainResponseBodyFilterV2' from JSON`, + ); +} + +/** @internal */ +export const UpdateDrainResponseBody1$inboundSchema: z.ZodType< + UpdateDrainResponseBody1, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + ownerId: z.string(), + name: z.string(), + createdAt: z.number(), + createdFrom: UpdateDrainResponseBodyCreatedFrom$inboundSchema.optional(), + updatedAt: z.number(), + projectIds: z.array(z.string()).optional(), + schemas: z.lazy(() => UpdateDrainResponseBodySchemas$inboundSchema) + .optional(), + delivery: z.union([ + z.lazy(() => UpdateDrainDeliveryDrains1$inboundSchema), + z.lazy(() => UpdateDrainDeliveryDrains2$inboundSchema), + z.lazy(() => UpdateDrainDelivery3$inboundSchema), + z.lazy(() => UpdateDrainDelivery4$inboundSchema), + ]).optional(), + sampling: z.array(z.lazy(() => UpdateDrainResponseBodySampling$inboundSchema)) + .optional(), + teamId: z.nullable(z.string()).optional(), + status: UpdateDrainResponseBodyStatus$inboundSchema.optional(), + disabledAt: z.number().optional(), + disabledReason: UpdateDrainResponseBodyDisabledReason$inboundSchema + .optional(), + disabledBy: z.string().optional(), + firstErrorTimestamp: z.number().optional(), + configurationId: z.string().optional(), + clientId: z.string().optional(), + source: z.union([ + z.lazy(() => UpdateDrainSourceDrains2$inboundSchema), + z.lazy(() => UpdateDrainSourceDrains1$inboundSchema), + ]), + filter: z.string().optional(), + filterV2: z.union([ + z.lazy(() => UpdateDrainFilterV22$inboundSchema), + z.lazy(() => UpdateDrainFilterV21$inboundSchema), + ]).optional(), +}); +/** @internal */ +export type UpdateDrainResponseBody1$Outbound = { + id: string; + ownerId: string; + name: string; + createdAt: number; + createdFrom?: string | undefined; + updatedAt: number; + projectIds?: Array | undefined; + schemas?: UpdateDrainResponseBodySchemas$Outbound | undefined; + delivery?: + | UpdateDrainDeliveryDrains1$Outbound + | UpdateDrainDeliveryDrains2$Outbound + | UpdateDrainDelivery3$Outbound + | UpdateDrainDelivery4$Outbound + | undefined; + sampling?: Array | undefined; + teamId?: string | null | undefined; + status?: string | undefined; + disabledAt?: number | undefined; + disabledReason?: string | undefined; + disabledBy?: string | undefined; + firstErrorTimestamp?: number | undefined; + configurationId?: string | undefined; + clientId?: string | undefined; + source: UpdateDrainSourceDrains2$Outbound | UpdateDrainSourceDrains1$Outbound; + filter?: string | undefined; + filterV2?: + | UpdateDrainFilterV22$Outbound + | UpdateDrainFilterV21$Outbound + | undefined; +}; + +/** @internal */ +export const UpdateDrainResponseBody1$outboundSchema: z.ZodType< + UpdateDrainResponseBody1$Outbound, + z.ZodTypeDef, + UpdateDrainResponseBody1 +> = z.object({ + id: z.string(), + ownerId: z.string(), + name: z.string(), + createdAt: z.number(), + createdFrom: UpdateDrainResponseBodyCreatedFrom$outboundSchema.optional(), + updatedAt: z.number(), + projectIds: z.array(z.string()).optional(), + schemas: z.lazy(() => UpdateDrainResponseBodySchemas$outboundSchema) + .optional(), + delivery: z.union([ + z.lazy(() => UpdateDrainDeliveryDrains1$outboundSchema), + z.lazy(() => UpdateDrainDeliveryDrains2$outboundSchema), + z.lazy(() => UpdateDrainDelivery3$outboundSchema), + z.lazy(() => UpdateDrainDelivery4$outboundSchema), + ]).optional(), + sampling: z.array( + z.lazy(() => UpdateDrainResponseBodySampling$outboundSchema), + ).optional(), + teamId: z.nullable(z.string()).optional(), + status: UpdateDrainResponseBodyStatus$outboundSchema.optional(), + disabledAt: z.number().optional(), + disabledReason: UpdateDrainResponseBodyDisabledReason$outboundSchema + .optional(), + disabledBy: z.string().optional(), + firstErrorTimestamp: z.number().optional(), + configurationId: z.string().optional(), + clientId: z.string().optional(), + source: z.union([ + z.lazy(() => UpdateDrainSourceDrains2$outboundSchema), + z.lazy(() => UpdateDrainSourceDrains1$outboundSchema), + ]), + filter: z.string().optional(), + filterV2: z.union([ + z.lazy(() => UpdateDrainFilterV22$outboundSchema), + z.lazy(() => UpdateDrainFilterV21$outboundSchema), + ]).optional(), +}); + +export function updateDrainResponseBody1ToJSON( + updateDrainResponseBody1: UpdateDrainResponseBody1, +): string { + return JSON.stringify( + UpdateDrainResponseBody1$outboundSchema.parse(updateDrainResponseBody1), + ); +} +export function updateDrainResponseBody1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateDrainResponseBody1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateDrainResponseBody1' from JSON`, + ); +} + +/** @internal */ +export const UpdateDrainResponseBody$inboundSchema: z.ZodType< + UpdateDrainResponseBody, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => UpdateDrainResponseBody1$inboundSchema), + z.lazy(() => UpdateDrainResponseBody2$inboundSchema), +]); +/** @internal */ +export type UpdateDrainResponseBody$Outbound = + | UpdateDrainResponseBody1$Outbound + | UpdateDrainResponseBody2$Outbound; + +/** @internal */ +export const UpdateDrainResponseBody$outboundSchema: z.ZodType< + UpdateDrainResponseBody$Outbound, + z.ZodTypeDef, + UpdateDrainResponseBody +> = z.union([ + z.lazy(() => UpdateDrainResponseBody1$outboundSchema), + z.lazy(() => UpdateDrainResponseBody2$outboundSchema), +]); + +export function updateDrainResponseBodyToJSON( + updateDrainResponseBody: UpdateDrainResponseBody, +): string { + return JSON.stringify( + UpdateDrainResponseBody$outboundSchema.parse(updateDrainResponseBody), + ); +} +export function updateDrainResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateDrainResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateDrainResponseBody' from JSON`, + ); +} diff --git a/src/models/updateedgeconfigop.ts b/src/models/updateedgeconfigop.ts index a36d9fd10..29fbbd424 100644 --- a/src/models/updateedgeconfigop.ts +++ b/src/models/updateedgeconfigop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; @@ -101,7 +101,6 @@ export const UpdateEdgeConfigRequestBody$inboundSchema: z.ZodType< > = z.object({ slug: z.string(), }); - /** @internal */ export type UpdateEdgeConfigRequestBody$Outbound = { slug: string; @@ -116,19 +115,6 @@ export const UpdateEdgeConfigRequestBody$outboundSchema: z.ZodType< 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 { @@ -138,7 +124,6 @@ export function updateEdgeConfigRequestBodyToJSON( ), ); } - export function updateEdgeConfigRequestBodyFromJSON( jsonString: string, ): SafeParseResult { @@ -164,7 +149,6 @@ export const UpdateEdgeConfigRequest$inboundSchema: z.ZodType< "RequestBody": "requestBody", }); }); - /** @internal */ export type UpdateEdgeConfigRequest$Outbound = { edgeConfigId: string; @@ -189,19 +173,6 @@ export const UpdateEdgeConfigRequest$outboundSchema: z.ZodType< }); }); -/** - * @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 { @@ -209,7 +180,6 @@ export function updateEdgeConfigRequestToJSON( UpdateEdgeConfigRequest$outboundSchema.parse(updateEdgeConfigRequest), ); } - export function updateEdgeConfigRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -230,7 +200,6 @@ export const UpdateEdgeConfigTransfer$inboundSchema: z.ZodType< startedAt: z.number(), doneAt: z.nullable(z.number()), }); - /** @internal */ export type UpdateEdgeConfigTransfer$Outbound = { fromAccountId: string; @@ -249,19 +218,6 @@ export const UpdateEdgeConfigTransfer$outboundSchema: z.ZodType< 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 { @@ -269,7 +225,6 @@ export function updateEdgeConfigTransferToJSON( UpdateEdgeConfigTransfer$outboundSchema.parse(updateEdgeConfigTransfer), ); } - export function updateEdgeConfigTransferFromJSON( jsonString: string, ): SafeParseResult { @@ -286,7 +241,6 @@ export const UpdateEdgeConfigSchema$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({}); - /** @internal */ export type UpdateEdgeConfigSchema$Outbound = {}; @@ -297,19 +251,6 @@ export const UpdateEdgeConfigSchema$outboundSchema: z.ZodType< 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 { @@ -317,7 +258,6 @@ export function updateEdgeConfigSchemaToJSON( UpdateEdgeConfigSchema$outboundSchema.parse(updateEdgeConfigSchema), ); } - export function updateEdgeConfigSchemaFromJSON( jsonString: string, ): SafeParseResult { @@ -333,25 +273,11 @@ export const UpdateEdgeConfigPurposeEdgeConfigType$inboundSchema: z.ZodNativeEnum = z.nativeEnum( UpdateEdgeConfigPurposeEdgeConfigType, ); - /** @internal */ export const UpdateEdgeConfigPurposeEdgeConfigType$outboundSchema: z.ZodNativeEnum = UpdateEdgeConfigPurposeEdgeConfigType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateEdgeConfigPurposeEdgeConfigType$ { - /** @deprecated use `UpdateEdgeConfigPurposeEdgeConfigType$inboundSchema` instead. */ - export const inboundSchema = - UpdateEdgeConfigPurposeEdgeConfigType$inboundSchema; - /** @deprecated use `UpdateEdgeConfigPurposeEdgeConfigType$outboundSchema` instead. */ - export const outboundSchema = - UpdateEdgeConfigPurposeEdgeConfigType$outboundSchema; -} - /** @internal */ export const UpdateEdgeConfigPurpose2$inboundSchema: z.ZodType< UpdateEdgeConfigPurpose2, @@ -361,7 +287,6 @@ export const UpdateEdgeConfigPurpose2$inboundSchema: z.ZodType< type: UpdateEdgeConfigPurposeEdgeConfigType$inboundSchema, resourceId: z.string(), }); - /** @internal */ export type UpdateEdgeConfigPurpose2$Outbound = { type: string; @@ -378,19 +303,6 @@ export const UpdateEdgeConfigPurpose2$outboundSchema: z.ZodType< 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 UpdateEdgeConfigPurpose2$ { - /** @deprecated use `UpdateEdgeConfigPurpose2$inboundSchema` instead. */ - export const inboundSchema = UpdateEdgeConfigPurpose2$inboundSchema; - /** @deprecated use `UpdateEdgeConfigPurpose2$outboundSchema` instead. */ - export const outboundSchema = UpdateEdgeConfigPurpose2$outboundSchema; - /** @deprecated use `UpdateEdgeConfigPurpose2$Outbound` instead. */ - export type Outbound = UpdateEdgeConfigPurpose2$Outbound; -} - export function updateEdgeConfigPurpose2ToJSON( updateEdgeConfigPurpose2: UpdateEdgeConfigPurpose2, ): string { @@ -398,7 +310,6 @@ export function updateEdgeConfigPurpose2ToJSON( UpdateEdgeConfigPurpose2$outboundSchema.parse(updateEdgeConfigPurpose2), ); } - export function updateEdgeConfigPurpose2FromJSON( jsonString: string, ): SafeParseResult { @@ -413,23 +324,11 @@ export function updateEdgeConfigPurpose2FromJSON( export const UpdateEdgeConfigPurposeType$inboundSchema: z.ZodNativeEnum< typeof UpdateEdgeConfigPurposeType > = z.nativeEnum(UpdateEdgeConfigPurposeType); - /** @internal */ export const UpdateEdgeConfigPurposeType$outboundSchema: z.ZodNativeEnum< typeof UpdateEdgeConfigPurposeType > = UpdateEdgeConfigPurposeType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateEdgeConfigPurposeType$ { - /** @deprecated use `UpdateEdgeConfigPurposeType$inboundSchema` instead. */ - export const inboundSchema = UpdateEdgeConfigPurposeType$inboundSchema; - /** @deprecated use `UpdateEdgeConfigPurposeType$outboundSchema` instead. */ - export const outboundSchema = UpdateEdgeConfigPurposeType$outboundSchema; -} - /** @internal */ export const UpdateEdgeConfigPurpose1$inboundSchema: z.ZodType< UpdateEdgeConfigPurpose1, @@ -439,7 +338,6 @@ export const UpdateEdgeConfigPurpose1$inboundSchema: z.ZodType< type: UpdateEdgeConfigPurposeType$inboundSchema, projectId: z.string(), }); - /** @internal */ export type UpdateEdgeConfigPurpose1$Outbound = { type: string; @@ -456,19 +354,6 @@ export const UpdateEdgeConfigPurpose1$outboundSchema: z.ZodType< 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 UpdateEdgeConfigPurpose1$ { - /** @deprecated use `UpdateEdgeConfigPurpose1$inboundSchema` instead. */ - export const inboundSchema = UpdateEdgeConfigPurpose1$inboundSchema; - /** @deprecated use `UpdateEdgeConfigPurpose1$outboundSchema` instead. */ - export const outboundSchema = UpdateEdgeConfigPurpose1$outboundSchema; - /** @deprecated use `UpdateEdgeConfigPurpose1$Outbound` instead. */ - export type Outbound = UpdateEdgeConfigPurpose1$Outbound; -} - export function updateEdgeConfigPurpose1ToJSON( updateEdgeConfigPurpose1: UpdateEdgeConfigPurpose1, ): string { @@ -476,7 +361,6 @@ export function updateEdgeConfigPurpose1ToJSON( UpdateEdgeConfigPurpose1$outboundSchema.parse(updateEdgeConfigPurpose1), ); } - export function updateEdgeConfigPurpose1FromJSON( jsonString: string, ): SafeParseResult { @@ -496,7 +380,6 @@ export const UpdateEdgeConfigPurpose$inboundSchema: z.ZodType< z.lazy(() => UpdateEdgeConfigPurpose1$inboundSchema), z.lazy(() => UpdateEdgeConfigPurpose2$inboundSchema), ]); - /** @internal */ export type UpdateEdgeConfigPurpose$Outbound = | UpdateEdgeConfigPurpose1$Outbound @@ -512,19 +395,6 @@ export const UpdateEdgeConfigPurpose$outboundSchema: z.ZodType< z.lazy(() => UpdateEdgeConfigPurpose2$outboundSchema), ]); -/** - * @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 { @@ -532,7 +402,6 @@ export function updateEdgeConfigPurposeToJSON( UpdateEdgeConfigPurpose$outboundSchema.parse(updateEdgeConfigPurpose), ); } - export function updateEdgeConfigPurposeFromJSON( jsonString: string, ): SafeParseResult { @@ -566,7 +435,6 @@ export const UpdateEdgeConfigResponseBody$inboundSchema: z.ZodType< sizeInBytes: z.number(), itemCount: z.number(), }); - /** @internal */ export type UpdateEdgeConfigResponseBody$Outbound = { createdAt: number; @@ -611,19 +479,6 @@ export const UpdateEdgeConfigResponseBody$outboundSchema: z.ZodType< 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 { @@ -633,7 +488,6 @@ export function updateEdgeConfigResponseBodyToJSON( ), ); } - export function updateEdgeConfigResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/updatefirewallconfigop.ts b/src/models/updatefirewallconfigop.ts index f1014d300..bacca79c3 100644 --- a/src/models/updatefirewallconfigop.ts +++ b/src/models/updatefirewallconfigop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; @@ -638,7 +638,6 @@ export const RequestBody13$inboundSchema: z.ZodType< id: z.string().optional(), value: z.boolean(), }); - /** @internal */ export type RequestBody13$Outbound = { action: string; @@ -657,23 +656,9 @@ export const RequestBody13$outboundSchema: z.ZodType< 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 RequestBody13$ { - /** @deprecated use `RequestBody13$inboundSchema` instead. */ - export const inboundSchema = RequestBody13$inboundSchema; - /** @deprecated use `RequestBody13$outboundSchema` instead. */ - export const outboundSchema = RequestBody13$outboundSchema; - /** @deprecated use `RequestBody13$Outbound` instead. */ - export type Outbound = RequestBody13$Outbound; -} - export function requestBody13ToJSON(requestBody13: RequestBody13): string { return JSON.stringify(RequestBody13$outboundSchema.parse(requestBody13)); } - export function requestBody13FromJSON( jsonString: string, ): SafeParseResult { @@ -688,49 +673,22 @@ export function requestBody13FromJSON( export const UpdateFirewallConfigRequestBodyId$inboundSchema: z.ZodNativeEnum< typeof UpdateFirewallConfigRequestBodyId > = z.nativeEnum(UpdateFirewallConfigRequestBodyId); - /** @internal */ export const UpdateFirewallConfigRequestBodyId$outboundSchema: z.ZodNativeEnum< typeof UpdateFirewallConfigRequestBodyId > = UpdateFirewallConfigRequestBodyId$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateFirewallConfigRequestBodyId$ { - /** @deprecated use `UpdateFirewallConfigRequestBodyId$inboundSchema` instead. */ - export const inboundSchema = UpdateFirewallConfigRequestBodyId$inboundSchema; - /** @deprecated use `UpdateFirewallConfigRequestBodyId$outboundSchema` instead. */ - export const outboundSchema = - UpdateFirewallConfigRequestBodyId$outboundSchema; -} - /** @internal */ export const UpdateFirewallConfigRequestBodySecurityRequest12Action$inboundSchema: z.ZodNativeEnum< typeof UpdateFirewallConfigRequestBodySecurityRequest12Action > = z.nativeEnum(UpdateFirewallConfigRequestBodySecurityRequest12Action); - /** @internal */ export const UpdateFirewallConfigRequestBodySecurityRequest12Action$outboundSchema: z.ZodNativeEnum< typeof UpdateFirewallConfigRequestBodySecurityRequest12Action > = UpdateFirewallConfigRequestBodySecurityRequest12Action$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateFirewallConfigRequestBodySecurityRequest12Action$ { - /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest12Action$inboundSchema` instead. */ - export const inboundSchema = - UpdateFirewallConfigRequestBodySecurityRequest12Action$inboundSchema; - /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest12Action$outboundSchema` instead. */ - export const outboundSchema = - UpdateFirewallConfigRequestBodySecurityRequest12Action$outboundSchema; -} - /** @internal */ export const UpdateFirewallConfigRequestBodySecurityRequest12Value$inboundSchema: z.ZodType< @@ -742,7 +700,6 @@ export const UpdateFirewallConfigRequestBodySecurityRequest12Value$inboundSchema action: UpdateFirewallConfigRequestBodySecurityRequest12Action$inboundSchema .optional(), }); - /** @internal */ export type UpdateFirewallConfigRequestBodySecurityRequest12Value$Outbound = { active: boolean; @@ -762,22 +719,6 @@ export const UpdateFirewallConfigRequestBodySecurityRequest12Value$outboundSchem .optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateFirewallConfigRequestBodySecurityRequest12Value$ { - /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest12Value$inboundSchema` instead. */ - export const inboundSchema = - UpdateFirewallConfigRequestBodySecurityRequest12Value$inboundSchema; - /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest12Value$outboundSchema` instead. */ - export const outboundSchema = - UpdateFirewallConfigRequestBodySecurityRequest12Value$outboundSchema; - /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest12Value$Outbound` instead. */ - export type Outbound = - UpdateFirewallConfigRequestBodySecurityRequest12Value$Outbound; -} - export function updateFirewallConfigRequestBodySecurityRequest12ValueToJSON( updateFirewallConfigRequestBodySecurityRequest12Value: UpdateFirewallConfigRequestBodySecurityRequest12Value, @@ -788,7 +729,6 @@ export function updateFirewallConfigRequestBodySecurityRequest12ValueToJSON( ), ); } - export function updateFirewallConfigRequestBodySecurityRequest12ValueFromJSON( jsonString: string, ): SafeParseResult< @@ -819,7 +759,6 @@ export const RequestBody12$inboundSchema: z.ZodType< ), ), }); - /** @internal */ export type RequestBody12$Outbound = { action: string; @@ -844,23 +783,9 @@ export const RequestBody12$outboundSchema: z.ZodType< ), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RequestBody12$ { - /** @deprecated use `RequestBody12$inboundSchema` instead. */ - export const inboundSchema = RequestBody12$inboundSchema; - /** @deprecated use `RequestBody12$outboundSchema` instead. */ - export const outboundSchema = RequestBody12$outboundSchema; - /** @deprecated use `RequestBody12$Outbound` instead. */ - export type Outbound = RequestBody12$Outbound; -} - export function requestBody12ToJSON(requestBody12: RequestBody12): string { return JSON.stringify(RequestBody12$outboundSchema.parse(requestBody12)); } - export function requestBody12FromJSON( jsonString: string, ): SafeParseResult { @@ -876,72 +801,32 @@ export const UpdateFirewallConfigRequestBodySecurityRequest11Action$inboundSchem 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 UpdateFirewallConfigRequestBodySecurityRequest11ValueAction$inboundSchema: z.ZodNativeEnum< typeof UpdateFirewallConfigRequestBodySecurityRequest11ValueAction > = z.nativeEnum(UpdateFirewallConfigRequestBodySecurityRequest11ValueAction); - /** @internal */ export const UpdateFirewallConfigRequestBodySecurityRequest11ValueAction$outboundSchema: z.ZodNativeEnum< typeof UpdateFirewallConfigRequestBodySecurityRequest11ValueAction > = UpdateFirewallConfigRequestBodySecurityRequest11ValueAction$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateFirewallConfigRequestBodySecurityRequest11ValueAction$ { - /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest11ValueAction$inboundSchema` instead. */ - export const inboundSchema = - UpdateFirewallConfigRequestBodySecurityRequest11ValueAction$inboundSchema; - /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest11ValueAction$outboundSchema` instead. */ - export const outboundSchema = - UpdateFirewallConfigRequestBodySecurityRequest11ValueAction$outboundSchema; -} - /** @internal */ export const UpdateFirewallConfigRequestBodySecurityRequest11Value$inboundSchema: z.ZodType< @@ -954,7 +839,6 @@ export const UpdateFirewallConfigRequestBodySecurityRequest11Value$inboundSchema .optional(), active: z.boolean(), }); - /** @internal */ export type UpdateFirewallConfigRequestBodySecurityRequest11Value$Outbound = { action?: string | undefined; @@ -974,22 +858,6 @@ export const UpdateFirewallConfigRequestBodySecurityRequest11Value$outboundSchem 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, @@ -1000,7 +868,6 @@ export function updateFirewallConfigRequestBodySecurityRequest11ValueToJSON( ), ); } - export function updateFirewallConfigRequestBodySecurityRequest11ValueFromJSON( jsonString: string, ): SafeParseResult< @@ -1029,7 +896,6 @@ export const RequestBody11$inboundSchema: z.ZodType< UpdateFirewallConfigRequestBodySecurityRequest11Value$inboundSchema ), }); - /** @internal */ export type RequestBody11$Outbound = { action: string; @@ -1050,23 +916,9 @@ export const RequestBody11$outboundSchema: z.ZodType< ), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RequestBody11$ { - /** @deprecated use `RequestBody11$inboundSchema` instead. */ - export const inboundSchema = RequestBody11$inboundSchema; - /** @deprecated use `RequestBody11$outboundSchema` instead. */ - export const outboundSchema = RequestBody11$outboundSchema; - /** @deprecated use `RequestBody11$Outbound` instead. */ - export type Outbound = RequestBody11$Outbound; -} - export function requestBody11ToJSON(requestBody11: RequestBody11): string { return JSON.stringify(RequestBody11$outboundSchema.parse(requestBody11)); } - export function requestBody11FromJSON( jsonString: string, ): SafeParseResult { @@ -1082,26 +934,12 @@ export const UpdateFirewallConfigRequestBodySecurityRequest10Action$inboundSchem 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 UpdateFirewallConfigRequestBody10$inboundSchema: z.ZodType< UpdateFirewallConfigRequestBody10, @@ -1112,7 +950,6 @@ export const UpdateFirewallConfigRequestBody10$inboundSchema: z.ZodType< id: z.string(), value: z.nullable(z.any()).optional(), }); - /** @internal */ export type UpdateFirewallConfigRequestBody10$Outbound = { action: string; @@ -1131,20 +968,6 @@ export const UpdateFirewallConfigRequestBody10$outboundSchema: z.ZodType< 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 UpdateFirewallConfigRequestBody10$ { - /** @deprecated use `UpdateFirewallConfigRequestBody10$inboundSchema` instead. */ - export const inboundSchema = UpdateFirewallConfigRequestBody10$inboundSchema; - /** @deprecated use `UpdateFirewallConfigRequestBody10$outboundSchema` instead. */ - export const outboundSchema = - UpdateFirewallConfigRequestBody10$outboundSchema; - /** @deprecated use `UpdateFirewallConfigRequestBody10$Outbound` instead. */ - export type Outbound = UpdateFirewallConfigRequestBody10$Outbound; -} - export function updateFirewallConfigRequestBody10ToJSON( updateFirewallConfigRequestBody10: UpdateFirewallConfigRequestBody10, ): string { @@ -1154,7 +977,6 @@ export function updateFirewallConfigRequestBody10ToJSON( ), ); } - export function updateFirewallConfigRequestBody10FromJSON( jsonString: string, ): SafeParseResult { @@ -1170,51 +992,23 @@ 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< @@ -1228,7 +1022,6 @@ export const UpdateFirewallConfigRequestBodySecurityRequest9Value$inboundSchema: action: UpdateFirewallConfigRequestBodySecurityRequest9ValueAction$inboundSchema, }); - /** @internal */ export type UpdateFirewallConfigRequestBodySecurityRequest9Value$Outbound = { hostname: string; @@ -1251,22 +1044,6 @@ export const UpdateFirewallConfigRequestBodySecurityRequest9Value$outboundSchema 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, @@ -1277,7 +1054,6 @@ export function updateFirewallConfigRequestBodySecurityRequest9ValueToJSON( ), ); } - export function updateFirewallConfigRequestBodySecurityRequest9ValueFromJSON( jsonString: string, ): SafeParseResult< @@ -1306,7 +1082,6 @@ export const UpdateFirewallConfigRequestBody9$inboundSchema: z.ZodType< UpdateFirewallConfigRequestBodySecurityRequest9Value$inboundSchema ), }); - /** @internal */ export type UpdateFirewallConfigRequestBody9$Outbound = { action: string; @@ -1327,19 +1102,6 @@ export const UpdateFirewallConfigRequestBody9$outboundSchema: z.ZodType< ), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateFirewallConfigRequestBody9$ { - /** @deprecated use `UpdateFirewallConfigRequestBody9$inboundSchema` instead. */ - export const inboundSchema = UpdateFirewallConfigRequestBody9$inboundSchema; - /** @deprecated use `UpdateFirewallConfigRequestBody9$outboundSchema` instead. */ - export const outboundSchema = UpdateFirewallConfigRequestBody9$outboundSchema; - /** @deprecated use `UpdateFirewallConfigRequestBody9$Outbound` instead. */ - export type Outbound = UpdateFirewallConfigRequestBody9$Outbound; -} - export function updateFirewallConfigRequestBody9ToJSON( updateFirewallConfigRequestBody9: UpdateFirewallConfigRequestBody9, ): string { @@ -1349,7 +1111,6 @@ export function updateFirewallConfigRequestBody9ToJSON( ), ); } - export function updateFirewallConfigRequestBody9FromJSON( jsonString: string, ): SafeParseResult { @@ -1365,51 +1126,23 @@ 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< @@ -1423,7 +1156,6 @@ export const UpdateFirewallConfigRequestBodySecurityRequestValue$inboundSchema: action: UpdateFirewallConfigRequestBodySecurityRequest8ValueAction$inboundSchema, }); - /** @internal */ export type UpdateFirewallConfigRequestBodySecurityRequestValue$Outbound = { hostname: string; @@ -1446,22 +1178,6 @@ export const UpdateFirewallConfigRequestBodySecurityRequestValue$outboundSchema: 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, @@ -1472,7 +1188,6 @@ export function updateFirewallConfigRequestBodySecurityRequestValueToJSON( ), ); } - export function updateFirewallConfigRequestBodySecurityRequestValueFromJSON( jsonString: string, ): SafeParseResult< @@ -1501,7 +1216,6 @@ export const UpdateFirewallConfigRequestBody8$inboundSchema: z.ZodType< UpdateFirewallConfigRequestBodySecurityRequestValue$inboundSchema ), }); - /** @internal */ export type UpdateFirewallConfigRequestBody8$Outbound = { action: string; @@ -1522,19 +1236,6 @@ export const UpdateFirewallConfigRequestBody8$outboundSchema: z.ZodType< ), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateFirewallConfigRequestBody8$ { - /** @deprecated use `UpdateFirewallConfigRequestBody8$inboundSchema` instead. */ - export const inboundSchema = UpdateFirewallConfigRequestBody8$inboundSchema; - /** @deprecated use `UpdateFirewallConfigRequestBody8$outboundSchema` instead. */ - export const outboundSchema = UpdateFirewallConfigRequestBody8$outboundSchema; - /** @deprecated use `UpdateFirewallConfigRequestBody8$Outbound` instead. */ - export type Outbound = UpdateFirewallConfigRequestBody8$Outbound; -} - export function updateFirewallConfigRequestBody8ToJSON( updateFirewallConfigRequestBody8: UpdateFirewallConfigRequestBody8, ): string { @@ -1544,7 +1245,6 @@ export function updateFirewallConfigRequestBody8ToJSON( ), ); } - export function updateFirewallConfigRequestBody8FromJSON( jsonString: string, ): SafeParseResult { @@ -1560,26 +1260,12 @@ 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 UpdateFirewallConfigRequestBody7$inboundSchema: z.ZodType< UpdateFirewallConfigRequestBody7, @@ -1590,7 +1276,6 @@ export const UpdateFirewallConfigRequestBody7$inboundSchema: z.ZodType< id: z.nullable(z.any()).optional(), value: z.nullable(z.any()).optional(), }); - /** @internal */ export type UpdateFirewallConfigRequestBody7$Outbound = { action: string; @@ -1609,19 +1294,6 @@ export const UpdateFirewallConfigRequestBody7$outboundSchema: z.ZodType< 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 UpdateFirewallConfigRequestBody7$ { - /** @deprecated use `UpdateFirewallConfigRequestBody7$inboundSchema` instead. */ - export const inboundSchema = UpdateFirewallConfigRequestBody7$inboundSchema; - /** @deprecated use `UpdateFirewallConfigRequestBody7$outboundSchema` instead. */ - export const outboundSchema = UpdateFirewallConfigRequestBody7$outboundSchema; - /** @deprecated use `UpdateFirewallConfigRequestBody7$Outbound` instead. */ - export type Outbound = UpdateFirewallConfigRequestBody7$Outbound; -} - export function updateFirewallConfigRequestBody7ToJSON( updateFirewallConfigRequestBody7: UpdateFirewallConfigRequestBody7, ): string { @@ -1631,7 +1303,6 @@ export function updateFirewallConfigRequestBody7ToJSON( ), ); } - export function updateFirewallConfigRequestBody7FromJSON( jsonString: string, ): SafeParseResult { @@ -1647,68 +1318,28 @@ 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< @@ -1720,7 +1351,6 @@ export const UpdateFirewallConfigRequestBodySecurityValue$inboundSchema: action: UpdateFirewallConfigRequestBodySecurityRequest6ValueAction$inboundSchema, }); - /** @internal */ export type UpdateFirewallConfigRequestBodySecurityValue$Outbound = { active: boolean; @@ -1739,21 +1369,6 @@ export const UpdateFirewallConfigRequestBodySecurityValue$outboundSchema: 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, @@ -1764,7 +1379,6 @@ export function updateFirewallConfigRequestBodySecurityValueToJSON( ), ); } - export function updateFirewallConfigRequestBodySecurityValueFromJSON( jsonString: string, ): SafeParseResult< @@ -1793,7 +1407,6 @@ export const UpdateFirewallConfigRequestBody6$inboundSchema: z.ZodType< UpdateFirewallConfigRequestBodySecurityValue$inboundSchema ), }); - /** @internal */ export type UpdateFirewallConfigRequestBody6$Outbound = { action: string; @@ -1814,19 +1427,6 @@ export const UpdateFirewallConfigRequestBody6$outboundSchema: z.ZodType< ), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateFirewallConfigRequestBody6$ { - /** @deprecated use `UpdateFirewallConfigRequestBody6$inboundSchema` instead. */ - export const inboundSchema = UpdateFirewallConfigRequestBody6$inboundSchema; - /** @deprecated use `UpdateFirewallConfigRequestBody6$outboundSchema` instead. */ - export const outboundSchema = UpdateFirewallConfigRequestBody6$outboundSchema; - /** @deprecated use `UpdateFirewallConfigRequestBody6$Outbound` instead. */ - export type Outbound = UpdateFirewallConfigRequestBody6$Outbound; -} - export function updateFirewallConfigRequestBody6ToJSON( updateFirewallConfigRequestBody6: UpdateFirewallConfigRequestBody6, ): string { @@ -1836,7 +1436,6 @@ export function updateFirewallConfigRequestBody6ToJSON( ), ); } - export function updateFirewallConfigRequestBody6FromJSON( jsonString: string, ): SafeParseResult { @@ -1852,26 +1451,12 @@ 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, @@ -1882,7 +1467,6 @@ export const UpdateFirewallConfigRequestBody5$inboundSchema: z.ZodType< id: z.string(), value: z.number(), }); - /** @internal */ export type UpdateFirewallConfigRequestBody5$Outbound = { action: string; @@ -1901,19 +1485,6 @@ export const UpdateFirewallConfigRequestBody5$outboundSchema: z.ZodType< 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 { @@ -1923,7 +1494,6 @@ export function updateFirewallConfigRequestBody5ToJSON( ), ); } - export function updateFirewallConfigRequestBody5FromJSON( jsonString: string, ): SafeParseResult { @@ -1939,26 +1509,12 @@ export const UpdateFirewallConfigRequestBodySecurityRequest4Action$inboundSchema z.ZodNativeEnum< typeof UpdateFirewallConfigRequestBodySecurityRequest4Action > = z.nativeEnum(UpdateFirewallConfigRequestBodySecurityRequest4Action); - /** @internal */ export const UpdateFirewallConfigRequestBodySecurityRequest4Action$outboundSchema: z.ZodNativeEnum< typeof UpdateFirewallConfigRequestBodySecurityRequest4Action > = UpdateFirewallConfigRequestBodySecurityRequest4Action$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateFirewallConfigRequestBodySecurityRequest4Action$ { - /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest4Action$inboundSchema` instead. */ - export const inboundSchema = - UpdateFirewallConfigRequestBodySecurityRequest4Action$inboundSchema; - /** @deprecated use `UpdateFirewallConfigRequestBodySecurityRequest4Action$outboundSchema` instead. */ - export const outboundSchema = - UpdateFirewallConfigRequestBodySecurityRequest4Action$outboundSchema; -} - /** @internal */ export const UpdateFirewallConfigRequestBody4$inboundSchema: z.ZodType< UpdateFirewallConfigRequestBody4, @@ -1969,7 +1525,6 @@ export const UpdateFirewallConfigRequestBody4$inboundSchema: z.ZodType< id: z.string(), value: z.nullable(z.any()).optional(), }); - /** @internal */ export type UpdateFirewallConfigRequestBody4$Outbound = { action: string; @@ -1988,19 +1543,6 @@ export const UpdateFirewallConfigRequestBody4$outboundSchema: z.ZodType< 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 { @@ -2010,7 +1552,6 @@ export function updateFirewallConfigRequestBody4ToJSON( ), ); } - export function updateFirewallConfigRequestBody4FromJSON( jsonString: string, ): SafeParseResult { @@ -2025,70 +1566,29 @@ export function updateFirewallConfigRequestBody4FromJSON( 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 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< @@ -2096,7 +1596,6 @@ export const UpdateFirewallConfigRequestBodySecurityRequest3Value$inboundSchema: z.ZodTypeDef, unknown > = z.union([z.string(), z.array(z.string()), z.number()]); - /** @internal */ export type UpdateFirewallConfigRequestBodySecurityRequest3Value$Outbound = | string @@ -2111,22 +1610,6 @@ export const UpdateFirewallConfigRequestBodySecurityRequest3Value$outboundSchema 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, @@ -2137,7 +1620,6 @@ export function updateFirewallConfigRequestBodySecurityRequest3ValueToJSON( ), ); } - export function updateFirewallConfigRequestBodySecurityRequest3ValueFromJSON( jsonString: string, ): SafeParseResult< @@ -2166,7 +1648,6 @@ export const UpdateFirewallConfigRequestBodyConditions$inboundSchema: z.ZodType< key: z.string().optional(), value: z.union([z.string(), z.array(z.string()), z.number()]).optional(), }); - /** @internal */ export type UpdateFirewallConfigRequestBodyConditions$Outbound = { type: string; @@ -2190,21 +1671,6 @@ export const UpdateFirewallConfigRequestBodyConditions$outboundSchema: 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, @@ -2215,7 +1681,6 @@ export function updateFirewallConfigRequestBodyConditionsToJSON( ), ); } - export function updateFirewallConfigRequestBodyConditionsFromJSON( jsonString: string, ): SafeParseResult< @@ -2243,7 +1708,6 @@ export const UpdateFirewallConfigRequestBodyConditionGroup$inboundSchema: z.lazy(() => UpdateFirewallConfigRequestBodyConditions$inboundSchema), ), }); - /** @internal */ export type UpdateFirewallConfigRequestBodyConditionGroup$Outbound = { conditions: Array; @@ -2261,21 +1725,6 @@ export const UpdateFirewallConfigRequestBodyConditionGroup$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, @@ -2286,7 +1735,6 @@ export function updateFirewallConfigRequestBodyConditionGroupToJSON( ), ); } - export function updateFirewallConfigRequestBodyConditionGroupFromJSON( jsonString: string, ): SafeParseResult< @@ -2308,71 +1756,30 @@ export const UpdateFirewallConfigRequestBodySecurityRequest3ValueAction$inboundS 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< @@ -2380,7 +1787,6 @@ export const UpdateFirewallConfigRateLimitSecurityAction$inboundSchema: z.ZodTypeDef, unknown > = z.union([UpdateFirewallConfigActionSecurity1$inboundSchema, z.any()]); - /** @internal */ export type UpdateFirewallConfigRateLimitSecurityAction$Outbound = string | any; @@ -2392,21 +1798,6 @@ export const UpdateFirewallConfigRateLimitSecurityAction$outboundSchema: 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, @@ -2417,7 +1808,6 @@ export function updateFirewallConfigRateLimitSecurityActionToJSON( ), ); } - export function updateFirewallConfigRateLimitSecurityActionFromJSON( jsonString: string, ): SafeParseResult< @@ -2448,7 +1838,6 @@ export const UpdateFirewallConfigRateLimitSecurity1$inboundSchema: z.ZodType< z.union([UpdateFirewallConfigActionSecurity1$inboundSchema, z.any()]), ).optional(), }); - /** @internal */ export type UpdateFirewallConfigRateLimitSecurity1$Outbound = { algo: string; @@ -2473,21 +1862,6 @@ export const UpdateFirewallConfigRateLimitSecurity1$outboundSchema: z.ZodType< ).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, @@ -2498,7 +1872,6 @@ export function updateFirewallConfigRateLimitSecurity1ToJSON( ), ); } - export function updateFirewallConfigRateLimitSecurity1FromJSON( jsonString: string, ): SafeParseResult { @@ -2519,7 +1892,6 @@ export const UpdateFirewallConfigRequestBodyRateLimit$inboundSchema: z.ZodType< z.lazy(() => UpdateFirewallConfigRateLimitSecurity1$inboundSchema), z.any(), ]); - /** @internal */ export type UpdateFirewallConfigRequestBodyRateLimit$Outbound = | UpdateFirewallConfigRateLimitSecurity1$Outbound @@ -2535,21 +1907,6 @@ export const UpdateFirewallConfigRequestBodyRateLimit$outboundSchema: z.ZodType< 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, @@ -2560,7 +1917,6 @@ export function updateFirewallConfigRequestBodyRateLimitToJSON( ), ); } - export function updateFirewallConfigRequestBodyRateLimitFromJSON( jsonString: string, ): SafeParseResult< @@ -2586,7 +1942,6 @@ export const UpdateFirewallConfigRedirectSecurity1$inboundSchema: z.ZodType< location: z.string(), permanent: z.boolean(), }); - /** @internal */ export type UpdateFirewallConfigRedirectSecurity1$Outbound = { location: string; @@ -2603,21 +1958,6 @@ export const UpdateFirewallConfigRedirectSecurity1$outboundSchema: z.ZodType< 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 { @@ -2627,7 +1967,6 @@ export function updateFirewallConfigRedirectSecurity1ToJSON( ), ); } - export function updateFirewallConfigRedirectSecurity1FromJSON( jsonString: string, ): SafeParseResult { @@ -2648,7 +1987,6 @@ export const UpdateFirewallConfigRequestBodyRedirect$inboundSchema: z.ZodType< z.lazy(() => UpdateFirewallConfigRedirectSecurity1$inboundSchema), z.any(), ]); - /** @internal */ export type UpdateFirewallConfigRequestBodyRedirect$Outbound = | UpdateFirewallConfigRedirectSecurity1$Outbound @@ -2664,21 +2002,6 @@ export const UpdateFirewallConfigRequestBodyRedirect$outboundSchema: z.ZodType< 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, @@ -2689,7 +2012,6 @@ export function updateFirewallConfigRequestBodyRedirectToJSON( ), ); } - export function updateFirewallConfigRequestBodyRedirectFromJSON( jsonString: string, ): SafeParseResult< @@ -2729,7 +2051,6 @@ export const UpdateFirewallConfigRequestBodyMitigate$inboundSchema: z.ZodType< actionDuration: z.nullable(z.string()).optional(), bypassSystem: z.nullable(z.boolean()).optional(), }); - /** @internal */ export type UpdateFirewallConfigRequestBodyMitigate$Outbound = { action: string; @@ -2771,21 +2092,6 @@ export const UpdateFirewallConfigRequestBodyMitigate$outboundSchema: z.ZodType< bypassSystem: z.nullable(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 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, @@ -2796,7 +2102,6 @@ export function updateFirewallConfigRequestBodyMitigateToJSON( ), ); } - export function updateFirewallConfigRequestBodyMitigateFromJSON( jsonString: string, ): SafeParseResult< @@ -2824,7 +2129,6 @@ export const UpdateFirewallConfigRequestBodySecurityRequest3Action$inboundSchema UpdateFirewallConfigRequestBodyMitigate$inboundSchema ).optional(), }); - /** @internal */ export type UpdateFirewallConfigRequestBodySecurityRequest3Action$Outbound = { mitigate?: UpdateFirewallConfigRequestBodyMitigate$Outbound | undefined; @@ -2842,22 +2146,6 @@ export const UpdateFirewallConfigRequestBodySecurityRequest3Action$outboundSchem ).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, @@ -2868,7 +2156,6 @@ export function updateFirewallConfigRequestBodySecurityRequest3ActionToJSON( ), ); } - export function updateFirewallConfigRequestBodySecurityRequest3ActionFromJSON( jsonString: string, ): SafeParseResult< @@ -2901,7 +2188,6 @@ export const UpdateFirewallConfigRequestBodyValue$inboundSchema: z.ZodType< UpdateFirewallConfigRequestBodySecurityRequest3Action$inboundSchema ), }); - /** @internal */ export type UpdateFirewallConfigRequestBodyValue$Outbound = { name: string; @@ -2928,21 +2214,6 @@ export const UpdateFirewallConfigRequestBodyValue$outboundSchema: z.ZodType< ), }); -/** - * @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 { @@ -2952,7 +2223,6 @@ export function updateFirewallConfigRequestBodyValueToJSON( ), ); } - export function updateFirewallConfigRequestBodyValueFromJSON( jsonString: string, ): SafeParseResult { @@ -2974,7 +2244,6 @@ export const UpdateFirewallConfigRequestBody3$inboundSchema: z.ZodType< id: z.string(), value: z.lazy(() => UpdateFirewallConfigRequestBodyValue$inboundSchema), }); - /** @internal */ export type UpdateFirewallConfigRequestBody3$Outbound = { action: string; @@ -2993,19 +2262,6 @@ export const UpdateFirewallConfigRequestBody3$outboundSchema: z.ZodType< 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 { @@ -3015,7 +2271,6 @@ export function updateFirewallConfigRequestBody3ToJSON( ), ); } - export function updateFirewallConfigRequestBody3FromJSON( jsonString: string, ): SafeParseResult { @@ -3030,69 +2285,29 @@ export function updateFirewallConfigRequestBody3FromJSON( 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 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< @@ -3100,7 +2315,6 @@ export const UpdateFirewallConfigRequestBodySecurityRequest2Value$inboundSchema: z.ZodTypeDef, unknown > = z.union([z.string(), z.array(z.string()), z.number()]); - /** @internal */ export type UpdateFirewallConfigRequestBodySecurityRequest2Value$Outbound = | string @@ -3115,22 +2329,6 @@ export const UpdateFirewallConfigRequestBodySecurityRequest2Value$outboundSchema 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, @@ -3141,7 +2339,6 @@ export function updateFirewallConfigRequestBodySecurityRequest2ValueToJSON( ), ); } - export function updateFirewallConfigRequestBodySecurityRequest2ValueFromJSON( jsonString: string, ): SafeParseResult< @@ -3170,7 +2367,6 @@ export const RequestBodyConditions$inboundSchema: z.ZodType< key: z.string().optional(), value: z.union([z.string(), z.array(z.string()), z.number()]).optional(), }); - /** @internal */ export type RequestBodyConditions$Outbound = { type: string; @@ -3193,19 +2389,6 @@ export const RequestBodyConditions$outboundSchema: z.ZodType< 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 { @@ -3213,7 +2396,6 @@ export function requestBodyConditionsToJSON( RequestBodyConditions$outboundSchema.parse(requestBodyConditions), ); } - export function requestBodyConditionsFromJSON( jsonString: string, ): SafeParseResult { @@ -3232,7 +2414,6 @@ export const RequestBodyConditionGroup$inboundSchema: z.ZodType< > = z.object({ conditions: z.array(z.lazy(() => RequestBodyConditions$inboundSchema)), }); - /** @internal */ export type RequestBodyConditionGroup$Outbound = { conditions: Array; @@ -3247,19 +2428,6 @@ export const RequestBodyConditionGroup$outboundSchema: z.ZodType< 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 { @@ -3267,7 +2435,6 @@ export function requestBodyConditionGroupToJSON( RequestBodyConditionGroup$outboundSchema.parse(requestBodyConditionGroup), ); } - export function requestBodyConditionGroupFromJSON( jsonString: string, ): SafeParseResult { @@ -3283,75 +2450,36 @@ export const UpdateFirewallConfigRequestBodySecurityRequest2ValueAction$inboundS 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; @@ -3362,21 +2490,6 @@ export const UpdateFirewallConfigRateLimitAction$outboundSchema: z.ZodType< 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 { @@ -3386,7 +2499,6 @@ export function updateFirewallConfigRateLimitActionToJSON( ), ); } - export function updateFirewallConfigRateLimitActionFromJSON( jsonString: string, ): SafeParseResult { @@ -3412,7 +2524,6 @@ export const UpdateFirewallConfigRateLimit1$inboundSchema: z.ZodType< z.union([UpdateFirewallConfigAction1$inboundSchema, z.any()]), ).optional(), }); - /** @internal */ export type UpdateFirewallConfigRateLimit1$Outbound = { algo: string; @@ -3437,19 +2548,6 @@ export const UpdateFirewallConfigRateLimit1$outboundSchema: z.ZodType< ).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 { @@ -3459,7 +2557,6 @@ export function updateFirewallConfigRateLimit1ToJSON( ), ); } - export function updateFirewallConfigRateLimit1FromJSON( jsonString: string, ): SafeParseResult { @@ -3479,7 +2576,6 @@ export const RequestBodyRateLimit$inboundSchema: z.ZodType< z.lazy(() => UpdateFirewallConfigRateLimit1$inboundSchema), z.any(), ]); - /** @internal */ export type RequestBodyRateLimit$Outbound = | UpdateFirewallConfigRateLimit1$Outbound @@ -3495,19 +2591,6 @@ export const RequestBodyRateLimit$outboundSchema: z.ZodType< 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 { @@ -3515,7 +2598,6 @@ export function requestBodyRateLimitToJSON( RequestBodyRateLimit$outboundSchema.parse(requestBodyRateLimit), ); } - export function requestBodyRateLimitFromJSON( jsonString: string, ): SafeParseResult { @@ -3535,7 +2617,6 @@ export const UpdateFirewallConfigRedirect1$inboundSchema: z.ZodType< location: z.string(), permanent: z.boolean(), }); - /** @internal */ export type UpdateFirewallConfigRedirect1$Outbound = { location: string; @@ -3552,19 +2633,6 @@ export const UpdateFirewallConfigRedirect1$outboundSchema: z.ZodType< 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 { @@ -3574,7 +2642,6 @@ export function updateFirewallConfigRedirect1ToJSON( ), ); } - export function updateFirewallConfigRedirect1FromJSON( jsonString: string, ): SafeParseResult { @@ -3594,7 +2661,6 @@ export const RequestBodyRedirect$inboundSchema: z.ZodType< z.lazy(() => UpdateFirewallConfigRedirect1$inboundSchema), z.any(), ]); - /** @internal */ export type RequestBodyRedirect$Outbound = | UpdateFirewallConfigRedirect1$Outbound @@ -3610,19 +2676,6 @@ export const RequestBodyRedirect$outboundSchema: z.ZodType< 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 { @@ -3630,7 +2683,6 @@ export function requestBodyRedirectToJSON( RequestBodyRedirect$outboundSchema.parse(requestBodyRedirect), ); } - export function requestBodyRedirectFromJSON( jsonString: string, ): SafeParseResult { @@ -3664,7 +2716,6 @@ export const RequestBodyMitigate$inboundSchema: z.ZodType< actionDuration: z.nullable(z.string()).optional(), bypassSystem: z.nullable(z.boolean()).optional(), }); - /** @internal */ export type RequestBodyMitigate$Outbound = { action: string; @@ -3698,19 +2749,6 @@ export const RequestBodyMitigate$outboundSchema: z.ZodType< bypassSystem: z.nullable(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 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 { @@ -3718,7 +2756,6 @@ export function requestBodyMitigateToJSON( RequestBodyMitigate$outboundSchema.parse(requestBodyMitigate), ); } - export function requestBodyMitigateFromJSON( jsonString: string, ): SafeParseResult { @@ -3738,7 +2775,6 @@ export const UpdateFirewallConfigRequestBodySecurityRequest2Action$inboundSchema > = z.object({ mitigate: z.lazy(() => RequestBodyMitigate$inboundSchema).optional(), }); - /** @internal */ export type UpdateFirewallConfigRequestBodySecurityRequest2Action$Outbound = { mitigate?: RequestBodyMitigate$Outbound | undefined; @@ -3754,22 +2790,6 @@ export const UpdateFirewallConfigRequestBodySecurityRequest2Action$outboundSchem 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, @@ -3780,7 +2800,6 @@ export function updateFirewallConfigRequestBodySecurityRequest2ActionToJSON( ), ); } - export function updateFirewallConfigRequestBodySecurityRequest2ActionFromJSON( jsonString: string, ): SafeParseResult< @@ -3813,7 +2832,6 @@ export const RequestBodyValue$inboundSchema: z.ZodType< UpdateFirewallConfigRequestBodySecurityRequest2Action$inboundSchema ), }); - /** @internal */ export type RequestBodyValue$Outbound = { name: string; @@ -3840,19 +2858,6 @@ export const RequestBodyValue$outboundSchema: z.ZodType< ), }); -/** - * @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 { @@ -3860,7 +2865,6 @@ export function requestBodyValueToJSON( RequestBodyValue$outboundSchema.parse(requestBodyValue), ); } - export function requestBodyValueFromJSON( jsonString: string, ): SafeParseResult { @@ -3881,7 +2885,6 @@ export const UpdateFirewallConfigRequestBody2$inboundSchema: z.ZodType< id: z.nullable(z.any()).optional(), value: z.lazy(() => RequestBodyValue$inboundSchema), }); - /** @internal */ export type UpdateFirewallConfigRequestBody2$Outbound = { action: string; @@ -3900,19 +2903,6 @@ export const UpdateFirewallConfigRequestBody2$outboundSchema: z.ZodType< 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 { @@ -3922,7 +2912,6 @@ export function updateFirewallConfigRequestBody2ToJSON( ), ); } - export function updateFirewallConfigRequestBody2FromJSON( jsonString: string, ): SafeParseResult { @@ -3938,25 +2927,11 @@ 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 UpdateFirewallConfigRequestBody1$inboundSchema: z.ZodType< UpdateFirewallConfigRequestBody1, @@ -3967,7 +2942,6 @@ export const UpdateFirewallConfigRequestBody1$inboundSchema: z.ZodType< id: z.nullable(z.any()).optional(), value: z.boolean(), }); - /** @internal */ export type UpdateFirewallConfigRequestBody1$Outbound = { action: string; @@ -3986,19 +2960,6 @@ export const UpdateFirewallConfigRequestBody1$outboundSchema: z.ZodType< 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 { @@ -4008,7 +2969,6 @@ export function updateFirewallConfigRequestBody1ToJSON( ), ); } - export function updateFirewallConfigRequestBody1FromJSON( jsonString: string, ): SafeParseResult { @@ -4039,7 +2999,6 @@ export const UpdateFirewallConfigRequestBody$inboundSchema: z.ZodType< z.lazy(() => RequestBody13$inboundSchema), z.lazy(() => UpdateFirewallConfigRequestBody7$inboundSchema), ]); - /** @internal */ export type UpdateFirewallConfigRequestBody$Outbound = | UpdateFirewallConfigRequestBody3$Outbound @@ -4077,19 +3036,6 @@ export const UpdateFirewallConfigRequestBody$outboundSchema: z.ZodType< z.lazy(() => UpdateFirewallConfigRequestBody7$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 { @@ -4099,7 +3045,6 @@ export function updateFirewallConfigRequestBodyToJSON( ), ); } - export function updateFirewallConfigRequestBodyFromJSON( jsonString: string, ): SafeParseResult { @@ -4139,7 +3084,6 @@ export const UpdateFirewallConfigRequest$inboundSchema: z.ZodType< "RequestBody": "requestBody", }); }); - /** @internal */ export type UpdateFirewallConfigRequest$Outbound = { projectId: string; @@ -4191,19 +3135,6 @@ export const UpdateFirewallConfigRequest$outboundSchema: z.ZodType< }); }); -/** - * @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 { @@ -4213,7 +3144,6 @@ export function updateFirewallConfigRequestToJSON( ), ); } - export function updateFirewallConfigRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -4230,7 +3160,6 @@ export const UpdateFirewallConfigResponseBody$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({}); - /** @internal */ export type UpdateFirewallConfigResponseBody$Outbound = {}; @@ -4241,19 +3170,6 @@ export const UpdateFirewallConfigResponseBody$outboundSchema: z.ZodType< 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 { @@ -4263,7 +3179,6 @@ export function updateFirewallConfigResponseBodyToJSON( ), ); } - export function updateFirewallConfigResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/updateinstallationop.ts b/src/models/updateinstallationop.ts new file mode 100644 index 000000000..a884cda1a --- /dev/null +++ b/src/models/updateinstallationop.ts @@ -0,0 +1,415 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { remap as remap$ } from "../lib/primitives.js"; +import { + collectExtraKeys as collectExtraKeys$, + 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 UpdateInstallationType = { + Prepayment: "prepayment", + Subscription: "subscription", +} as const; +export type UpdateInstallationType = ClosedEnum; + +export type Details = { + label: string; + value?: string | undefined; +}; + +export type HighlightedDetails = { + label: string; + value?: string | undefined; +}; + +export type BillingPlan = { + id: string; + type: UpdateInstallationType; + name: string; + description?: string | undefined; + paymentMethodRequired?: boolean | undefined; + cost?: string | undefined; + details?: Array
| undefined; + highlightedDetails?: Array | undefined; + effectiveDate?: string | undefined; + additionalProperties?: { [k: string]: any } | undefined; +}; + +export const Level = { + Info: "info", + Warn: "warn", + Error: "error", +} as const; +export type Level = ClosedEnum; + +export type Notification1 = { + level: Level; + title: string; + message?: string | undefined; + href?: string | undefined; +}; + +/** + * A notification to display to your customer. Send `null` to clear the current notification. + */ +export type Notification = Notification1 | string; + +export type UpdateInstallationRequestBody = { + billingPlan?: BillingPlan | undefined; + /** + * A notification to display to your customer. Send `null` to clear the current notification. + */ + notification?: Notification1 | string | undefined; +}; + +export type UpdateInstallationRequest = { + integrationConfigurationId: string; + requestBody?: UpdateInstallationRequestBody | undefined; +}; + +/** @internal */ +export const UpdateInstallationType$inboundSchema: z.ZodNativeEnum< + typeof UpdateInstallationType +> = z.nativeEnum(UpdateInstallationType); +/** @internal */ +export const UpdateInstallationType$outboundSchema: z.ZodNativeEnum< + typeof UpdateInstallationType +> = UpdateInstallationType$inboundSchema; + +/** @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(), +}); + +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 HighlightedDetails$inboundSchema: z.ZodType< + HighlightedDetails, + z.ZodTypeDef, + unknown +> = z.object({ + label: z.string(), + value: z.string().optional(), +}); +/** @internal */ +export type HighlightedDetails$Outbound = { + label: string; + value?: string | undefined; +}; + +/** @internal */ +export const HighlightedDetails$outboundSchema: z.ZodType< + HighlightedDetails$Outbound, + z.ZodTypeDef, + HighlightedDetails +> = z.object({ + label: z.string(), + value: z.string().optional(), +}); + +export function highlightedDetailsToJSON( + highlightedDetails: HighlightedDetails, +): string { + return JSON.stringify( + HighlightedDetails$outboundSchema.parse(highlightedDetails), + ); +} +export function highlightedDetailsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => HighlightedDetails$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'HighlightedDetails' from JSON`, + ); +} + +/** @internal */ +export const BillingPlan$inboundSchema: z.ZodType< + BillingPlan, + z.ZodTypeDef, + unknown +> = collectExtraKeys$( + z.object({ + id: z.string(), + type: UpdateInstallationType$inboundSchema, + name: z.string(), + description: z.string().optional(), + paymentMethodRequired: z.boolean().optional(), + cost: z.string().optional(), + details: z.array(z.lazy(() => Details$inboundSchema)).optional(), + highlightedDetails: z.array(z.lazy(() => HighlightedDetails$inboundSchema)) + .optional(), + effectiveDate: z.string().optional(), + }).catchall(z.any()), + "additionalProperties", + true, +); +/** @internal */ +export type BillingPlan$Outbound = { + id: string; + type: string; + name: string; + description?: string | undefined; + paymentMethodRequired?: boolean | undefined; + cost?: string | undefined; + details?: Array | undefined; + highlightedDetails?: Array | undefined; + effectiveDate?: string | undefined; + [additionalProperties: string]: unknown; +}; + +/** @internal */ +export const BillingPlan$outboundSchema: z.ZodType< + BillingPlan$Outbound, + z.ZodTypeDef, + BillingPlan +> = z.object({ + id: z.string(), + type: UpdateInstallationType$outboundSchema, + name: z.string(), + description: z.string().optional(), + paymentMethodRequired: z.boolean().optional(), + cost: z.string().optional(), + details: z.array(z.lazy(() => Details$outboundSchema)).optional(), + highlightedDetails: z.array(z.lazy(() => HighlightedDetails$outboundSchema)) + .optional(), + effectiveDate: z.string().optional(), + additionalProperties: z.record(z.any()).optional(), +}).transform((v) => { + return { + ...v.additionalProperties, + ...remap$(v, { + additionalProperties: null, + }), + }; +}); + +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 Level$inboundSchema: z.ZodNativeEnum = z.nativeEnum( + Level, +); +/** @internal */ +export const Level$outboundSchema: z.ZodNativeEnum = + Level$inboundSchema; + +/** @internal */ +export const Notification1$inboundSchema: z.ZodType< + Notification1, + z.ZodTypeDef, + unknown +> = z.object({ + level: Level$inboundSchema, + title: z.string(), + message: z.string().optional(), + href: z.string().optional(), +}); +/** @internal */ +export type Notification1$Outbound = { + level: string; + title: string; + message?: string | undefined; + href?: string | undefined; +}; + +/** @internal */ +export const Notification1$outboundSchema: z.ZodType< + Notification1$Outbound, + z.ZodTypeDef, + Notification1 +> = z.object({ + level: Level$outboundSchema, + title: z.string(), + message: z.string().optional(), + href: z.string().optional(), +}); + +export function notification1ToJSON(notification1: Notification1): string { + return JSON.stringify(Notification1$outboundSchema.parse(notification1)); +} +export function notification1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Notification1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Notification1' from JSON`, + ); +} + +/** @internal */ +export const Notification$inboundSchema: z.ZodType< + Notification, + z.ZodTypeDef, + unknown +> = z.union([z.lazy(() => Notification1$inboundSchema), z.string()]); +/** @internal */ +export type Notification$Outbound = Notification1$Outbound | string; + +/** @internal */ +export const Notification$outboundSchema: z.ZodType< + Notification$Outbound, + z.ZodTypeDef, + Notification +> = z.union([z.lazy(() => Notification1$outboundSchema), z.string()]); + +export function notificationToJSON(notification: Notification): string { + return JSON.stringify(Notification$outboundSchema.parse(notification)); +} +export function notificationFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Notification$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Notification' from JSON`, + ); +} + +/** @internal */ +export const UpdateInstallationRequestBody$inboundSchema: z.ZodType< + UpdateInstallationRequestBody, + z.ZodTypeDef, + unknown +> = z.object({ + billingPlan: z.lazy(() => BillingPlan$inboundSchema).optional(), + notification: z.union([z.lazy(() => Notification1$inboundSchema), z.string()]) + .optional(), +}); +/** @internal */ +export type UpdateInstallationRequestBody$Outbound = { + billingPlan?: BillingPlan$Outbound | undefined; + notification?: Notification1$Outbound | string | undefined; +}; + +/** @internal */ +export const UpdateInstallationRequestBody$outboundSchema: z.ZodType< + UpdateInstallationRequestBody$Outbound, + z.ZodTypeDef, + UpdateInstallationRequestBody +> = z.object({ + billingPlan: z.lazy(() => BillingPlan$outboundSchema).optional(), + notification: z.union([ + z.lazy(() => Notification1$outboundSchema), + z.string(), + ]).optional(), +}); + +export function updateInstallationRequestBodyToJSON( + updateInstallationRequestBody: UpdateInstallationRequestBody, +): string { + return JSON.stringify( + UpdateInstallationRequestBody$outboundSchema.parse( + updateInstallationRequestBody, + ), + ); +} +export function updateInstallationRequestBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateInstallationRequestBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateInstallationRequestBody' from JSON`, + ); +} + +/** @internal */ +export const UpdateInstallationRequest$inboundSchema: z.ZodType< + UpdateInstallationRequest, + z.ZodTypeDef, + unknown +> = z.object({ + integrationConfigurationId: z.string(), + RequestBody: z.lazy(() => UpdateInstallationRequestBody$inboundSchema) + .optional(), +}).transform((v) => { + return remap$(v, { + "RequestBody": "requestBody", + }); +}); +/** @internal */ +export type UpdateInstallationRequest$Outbound = { + integrationConfigurationId: string; + RequestBody?: UpdateInstallationRequestBody$Outbound | undefined; +}; + +/** @internal */ +export const UpdateInstallationRequest$outboundSchema: z.ZodType< + UpdateInstallationRequest$Outbound, + z.ZodTypeDef, + UpdateInstallationRequest +> = z.object({ + integrationConfigurationId: z.string(), + requestBody: z.lazy(() => UpdateInstallationRequestBody$outboundSchema) + .optional(), +}).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); +}); + +export function updateInstallationRequestToJSON( + updateInstallationRequest: UpdateInstallationRequest, +): string { + return JSON.stringify( + UpdateInstallationRequest$outboundSchema.parse(updateInstallationRequest), + ); +} +export function updateInstallationRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateInstallationRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateInstallationRequest' from JSON`, + ); +} diff --git a/src/models/updateintegrationdeploymentactionop.ts b/src/models/updateintegrationdeploymentactionop.ts index 1cb8c5c64..812ecb393 100644 --- a/src/models/updateintegrationdeploymentactionop.ts +++ b/src/models/updateintegrationdeploymentactionop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; @@ -49,32 +49,17 @@ export type UpdateIntegrationDeploymentActionRequest = { export const UpdateIntegrationDeploymentActionStatus$inboundSchema: z.ZodNativeEnum = z .nativeEnum(UpdateIntegrationDeploymentActionStatus); - /** @internal */ export const UpdateIntegrationDeploymentActionStatus$outboundSchema: z.ZodNativeEnum = UpdateIntegrationDeploymentActionStatus$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateIntegrationDeploymentActionStatus$ { - /** @deprecated use `UpdateIntegrationDeploymentActionStatus$inboundSchema` instead. */ - export const inboundSchema = - UpdateIntegrationDeploymentActionStatus$inboundSchema; - /** @deprecated use `UpdateIntegrationDeploymentActionStatus$outboundSchema` instead. */ - export const outboundSchema = - UpdateIntegrationDeploymentActionStatus$outboundSchema; -} - /** @internal */ export const Secrets$inboundSchema: z.ZodType = z.object({ name: z.string(), value: z.string(), }); - /** @internal */ export type Secrets$Outbound = { name: string; @@ -91,23 +76,9 @@ export const Secrets$outboundSchema: z.ZodType< 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 { @@ -127,7 +98,6 @@ export const Outcomes1$inboundSchema: z.ZodType< kind: z.string(), secrets: z.array(z.lazy(() => Secrets$inboundSchema)), }); - /** @internal */ export type Outcomes1$Outbound = { kind: string; @@ -144,23 +114,9 @@ export const Outcomes1$outboundSchema: z.ZodType< 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 Outcomes1$ { - /** @deprecated use `Outcomes1$inboundSchema` instead. */ - export const inboundSchema = Outcomes1$inboundSchema; - /** @deprecated use `Outcomes1$outboundSchema` instead. */ - export const outboundSchema = Outcomes1$outboundSchema; - /** @deprecated use `Outcomes1$Outbound` instead. */ - export type Outbound = Outcomes1$Outbound; -} - export function outcomes1ToJSON(outcomes1: Outcomes1): string { return JSON.stringify(Outcomes1$outboundSchema.parse(outcomes1)); } - export function outcomes1FromJSON( jsonString: string, ): SafeParseResult { @@ -177,7 +133,6 @@ export const Outcomes$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.lazy(() => Outcomes1$inboundSchema); - /** @internal */ export type Outcomes$Outbound = Outcomes1$Outbound; @@ -188,23 +143,9 @@ export const Outcomes$outboundSchema: z.ZodType< Outcomes > = z.lazy(() => Outcomes1$outboundSchema); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Outcomes$ { - /** @deprecated use `Outcomes$inboundSchema` instead. */ - export const inboundSchema = Outcomes$inboundSchema; - /** @deprecated use `Outcomes$outboundSchema` instead. */ - export const outboundSchema = Outcomes$outboundSchema; - /** @deprecated use `Outcomes$Outbound` instead. */ - export type Outbound = Outcomes$Outbound; -} - export function outcomesToJSON(outcomes: Outcomes): string { return JSON.stringify(Outcomes$outboundSchema.parse(outcomes)); } - export function outcomesFromJSON( jsonString: string, ): SafeParseResult { @@ -227,7 +168,6 @@ export const UpdateIntegrationDeploymentActionRequestBody$inboundSchema: statusUrl: z.string().optional(), outcomes: z.array(z.lazy(() => Outcomes1$inboundSchema)).optional(), }); - /** @internal */ export type UpdateIntegrationDeploymentActionRequestBody$Outbound = { status?: string | undefined; @@ -249,21 +189,6 @@ export const UpdateIntegrationDeploymentActionRequestBody$outboundSchema: outcomes: z.array(z.lazy(() => Outcomes1$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 UpdateIntegrationDeploymentActionRequestBody$ { - /** @deprecated use `UpdateIntegrationDeploymentActionRequestBody$inboundSchema` instead. */ - export const inboundSchema = - UpdateIntegrationDeploymentActionRequestBody$inboundSchema; - /** @deprecated use `UpdateIntegrationDeploymentActionRequestBody$outboundSchema` instead. */ - export const outboundSchema = - UpdateIntegrationDeploymentActionRequestBody$outboundSchema; - /** @deprecated use `UpdateIntegrationDeploymentActionRequestBody$Outbound` instead. */ - export type Outbound = UpdateIntegrationDeploymentActionRequestBody$Outbound; -} - export function updateIntegrationDeploymentActionRequestBodyToJSON( updateIntegrationDeploymentActionRequestBody: UpdateIntegrationDeploymentActionRequestBody, @@ -274,7 +199,6 @@ export function updateIntegrationDeploymentActionRequestBodyToJSON( ), ); } - export function updateIntegrationDeploymentActionRequestBodyFromJSON( jsonString: string, ): SafeParseResult< @@ -309,7 +233,6 @@ export const UpdateIntegrationDeploymentActionRequest$inboundSchema: z.ZodType< "RequestBody": "requestBody", }); }); - /** @internal */ export type UpdateIntegrationDeploymentActionRequest$Outbound = { deploymentId: string; @@ -340,21 +263,6 @@ export const UpdateIntegrationDeploymentActionRequest$outboundSchema: z.ZodType< }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateIntegrationDeploymentActionRequest$ { - /** @deprecated use `UpdateIntegrationDeploymentActionRequest$inboundSchema` instead. */ - export const inboundSchema = - UpdateIntegrationDeploymentActionRequest$inboundSchema; - /** @deprecated use `UpdateIntegrationDeploymentActionRequest$outboundSchema` instead. */ - export const outboundSchema = - UpdateIntegrationDeploymentActionRequest$outboundSchema; - /** @deprecated use `UpdateIntegrationDeploymentActionRequest$Outbound` instead. */ - export type Outbound = UpdateIntegrationDeploymentActionRequest$Outbound; -} - export function updateIntegrationDeploymentActionRequestToJSON( updateIntegrationDeploymentActionRequest: UpdateIntegrationDeploymentActionRequest, @@ -365,7 +273,6 @@ export function updateIntegrationDeploymentActionRequestToJSON( ), ); } - export function updateIntegrationDeploymentActionRequestFromJSON( jsonString: string, ): SafeParseResult< diff --git a/src/models/updateinvoiceop.ts b/src/models/updateinvoiceop.ts index 287516053..1c62e6eea 100644 --- a/src/models/updateinvoiceop.ts +++ b/src/models/updateinvoiceop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; @@ -38,23 +38,11 @@ export type UpdateInvoiceRequest = { 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 UpdateInvoiceRequestBody1$inboundSchema: z.ZodType< UpdateInvoiceRequestBody1, @@ -65,7 +53,6 @@ export const UpdateInvoiceRequestBody1$inboundSchema: z.ZodType< reason: z.string(), total: z.string(), }); - /** @internal */ export type UpdateInvoiceRequestBody1$Outbound = { action: string; @@ -84,19 +71,6 @@ export const UpdateInvoiceRequestBody1$outboundSchema: z.ZodType< 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 UpdateInvoiceRequestBody1$ { - /** @deprecated use `UpdateInvoiceRequestBody1$inboundSchema` instead. */ - export const inboundSchema = UpdateInvoiceRequestBody1$inboundSchema; - /** @deprecated use `UpdateInvoiceRequestBody1$outboundSchema` instead. */ - export const outboundSchema = UpdateInvoiceRequestBody1$outboundSchema; - /** @deprecated use `UpdateInvoiceRequestBody1$Outbound` instead. */ - export type Outbound = UpdateInvoiceRequestBody1$Outbound; -} - export function updateInvoiceRequestBody1ToJSON( updateInvoiceRequestBody1: UpdateInvoiceRequestBody1, ): string { @@ -104,7 +78,6 @@ export function updateInvoiceRequestBody1ToJSON( UpdateInvoiceRequestBody1$outboundSchema.parse(updateInvoiceRequestBody1), ); } - export function updateInvoiceRequestBody1FromJSON( jsonString: string, ): SafeParseResult { @@ -121,7 +94,6 @@ export const UpdateInvoiceRequestBody$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.lazy(() => UpdateInvoiceRequestBody1$inboundSchema); - /** @internal */ export type UpdateInvoiceRequestBody$Outbound = UpdateInvoiceRequestBody1$Outbound; @@ -133,19 +105,6 @@ export const UpdateInvoiceRequestBody$outboundSchema: z.ZodType< UpdateInvoiceRequestBody > = z.lazy(() => UpdateInvoiceRequestBody1$outboundSchema); -/** - * @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 { @@ -153,7 +112,6 @@ export function updateInvoiceRequestBodyToJSON( UpdateInvoiceRequestBody$outboundSchema.parse(updateInvoiceRequestBody), ); } - export function updateInvoiceRequestBodyFromJSON( jsonString: string, ): SafeParseResult { @@ -178,7 +136,6 @@ export const UpdateInvoiceRequest$inboundSchema: z.ZodType< "RequestBody": "requestBody", }); }); - /** @internal */ export type UpdateInvoiceRequest$Outbound = { integrationConfigurationId: string; @@ -201,19 +158,6 @@ export const UpdateInvoiceRequest$outboundSchema: z.ZodType< }); }); -/** - * @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 { @@ -221,7 +165,6 @@ export function updateInvoiceRequestToJSON( UpdateInvoiceRequest$outboundSchema.parse(updateInvoiceRequest), ); } - export function updateInvoiceRequestFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/updateprojectdatacacheop.ts b/src/models/updateprojectdatacacheop.ts index 59bd3bc4d..6b763ef8c 100644 --- a/src/models/updateprojectdatacacheop.ts +++ b/src/models/updateprojectdatacacheop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; @@ -427,7 +427,7 @@ export type InternalContentHint = { encryptedValue: string; }; -export type Env = { +export type UpdateProjectDataCacheEnv = { target?: | Array | UpdateProjectDataCacheTarget2 @@ -640,10 +640,12 @@ export const UpdateProjectDataCacheFramework = { Zola: "zola", Hydrogen: "hydrogen", Vite: "vite", + TanstackStart: "tanstack-start", Vitepress: "vitepress", Vuepress: "vuepress", Parcel: "parcel", Fastapi: "fastapi", + Flask: "flask", Fasthtml: "fasthtml", SanityV3: "sanity-v3", Sanity: "sanity", @@ -652,6 +654,9 @@ export const UpdateProjectDataCacheFramework = { Hono: "hono", Express: "express", H3: "h3", + Nestjs: "nestjs", + Elysia: "elysia", + Fastify: "fastify", Xmcp: "xmcp", } as const; export type UpdateProjectDataCacheFramework = ClosedEnum< @@ -742,6 +747,7 @@ export type UpdateProjectDataCacheProjectsOidcTokenClaims = { project: string; projectId: string; environment: string; + plan: string; }; export const UpdateProjectDataCacheProjectsPlan = { @@ -984,13 +990,23 @@ export type Link1 = { export type Link = Link4 | Link5 | Link3 | Link1 | Link2; -export type UpdateProjectDataCacheMicrofrontends2 = { +export type UpdateProjectDataCacheMicrofrontends3 = { updatedAt: number; groupIds: Array; enabled: boolean; + freeProjectForLegacyLimits?: boolean | undefined; }; -export type UpdateProjectDataCacheMicrofrontends1 = { +export type UpdateProjectDataCacheMicrofrontends2 = { + isDefaultApp?: boolean | undefined; + /** + * Whether observability data should be routed to this microfrontend project or a root project. + */ + routeObservabilityToThisProject?: boolean | undefined; + /** + * Whether to add microfrontends routing to aliases. This means domains in this project will route as a microfrontend. + */ + doNotRouteWithMicrofrontendsRouting?: boolean | undefined; /** * Timestamp when the microfrontends settings were last updated. */ @@ -1004,24 +1020,46 @@ export type UpdateProjectDataCacheMicrofrontends1 = { */ 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. + * 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. Includes the leading slash, e.g. `/docs` + */ + defaultRoute?: string | undefined; + /** + * Whether the project was part of the legacy limits for hobby and pro-trial before billing was added. This field is only set when the team is upgraded to a paid plan and we are backfilling the subscription status. We cap the subscription to 2 projects and set this field for the 3rd project. When this field is set, the project is not charged for and we do not call any billing APIs for this project. */ - isDefaultApp?: boolean | undefined; + freeProjectForLegacyLimits?: boolean | undefined; +}; + +export type UpdateProjectDataCacheMicrofrontends1 = { + isDefaultApp: boolean; + /** + * 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; /** * 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. Includes the leading slash, e.g. `/docs` */ defaultRoute?: string | undefined; /** - * Whether observability data should be routed to this microfrontend project or a root project. + * Whether the project was part of the legacy limits for hobby and pro-trial before billing was added. This field is only set when the team is upgraded to a paid plan and we are backfilling the subscription status. We cap the subscription to 2 projects and set this field for the 3rd project. When this field is set, the project is not charged for and we do not call any billing APIs for this project. */ - routeObservabilityToThisProject?: boolean | undefined; + freeProjectForLegacyLimits?: boolean | undefined; }; export type UpdateProjectDataCacheMicrofrontends = | UpdateProjectDataCacheMicrofrontends1 - | UpdateProjectDataCacheMicrofrontends2; + | UpdateProjectDataCacheMicrofrontends2 + | UpdateProjectDataCacheMicrofrontends3; export const UpdateProjectDataCacheNodeVersion = { + TwentyFourDotX: "24.x", TwentyTwoDotX: "22.x", TwentyDotX: "20.x", EighteenDotX: "18.x", @@ -1166,6 +1204,12 @@ export type DefaultResourceConfig = { isNSNBDisabled?: boolean | undefined; }; +export type UpdateProjectDataCacheStaticIps = { + builds: boolean; + enabled: boolean; + regions: Array; +}; + export const UpdateProjectDataCacheDeploymentType = { Preview: "preview", All: "all", @@ -1259,6 +1303,7 @@ export type UpdateProjectDataCacheOidcTokenClaims = { project: string; projectId: string; environment: string; + plan: string; }; export const UpdateProjectDataCachePlan = { @@ -1340,16 +1385,24 @@ export type Targets = { withCache?: boolean | undefined; }; -export type Permissions = { +export type UpdateProjectDataCachePermissions = { oauth2Connection?: Array | undefined; user?: Array | undefined; userConnection?: Array | undefined; userSudo?: Array | undefined; webAuthn?: Array | undefined; accessGroup?: Array | undefined; + agent?: Array | undefined; + alerts?: Array | undefined; aliasGlobal?: Array | undefined; analyticsSampling?: Array | undefined; analyticsUsage?: Array | undefined; + apiKey?: Array | undefined; + apiKeyAiGateway?: Array | undefined; + apiKeyOwnedBySelf?: Array | undefined; + oauth2Application?: Array | undefined; + vercelAppInstallation?: Array | undefined; + vercelAppInstallationRequest?: Array | undefined; auditLog?: Array | undefined; billingAddress?: Array | undefined; billingInformation?: Array | undefined; @@ -1361,6 +1414,7 @@ export type Permissions = { billingRefund?: Array | undefined; billingTaxId?: Array | undefined; blob?: Array | undefined; + blobStoreTokenSet?: Array | undefined; budget?: Array | undefined; cacheArtifact?: Array | undefined; cacheArtifactUsageEvent?: Array | undefined; @@ -1368,6 +1422,7 @@ export type Permissions = { concurrentBuilds?: Array | undefined; connect?: Array | undefined; connectConfiguration?: Array | undefined; + dataCacheBillingSettings?: Array | undefined; defaultDeploymentProtection?: Array | undefined; domain?: Array | undefined; domainAcceptDelegation?: Array | undefined; @@ -1378,40 +1433,48 @@ export type Permissions = { domainPurchase?: Array | undefined; domainRecord?: Array | undefined; domainTransferIn?: Array | undefined; + drain?: Array | undefined; + edgeConfig?: Array | undefined; + edgeConfigItem?: Array | undefined; + edgeConfigSchema?: Array | undefined; + edgeConfigToken?: Array | undefined; + endpointVerification?: Array | undefined; event?: Array | undefined; - ownEvent?: Array | undefined; - sensitiveEnvironmentVariablePolicy?: Array | undefined; fileUpload?: Array | undefined; flagsExplorerSubscription?: Array | undefined; gitRepository?: Array | undefined; - ipBlocking?: Array | undefined; imageOptimizationNewPrice?: Array | undefined; integration?: Array | undefined; integrationAccount?: Array | undefined; integrationConfiguration?: Array | undefined; - integrationConfigurationTransfer?: Array | undefined; integrationConfigurationProjects?: Array | undefined; - integrationVercelConfigurationOverride?: Array | undefined; integrationConfigurationRole?: Array | undefined; - integrationSSOSession?: Array | undefined; - integrationResource?: Array | undefined; + integrationConfigurationTransfer?: Array | undefined; + integrationDeploymentAction?: Array | undefined; integrationEvent?: Array | undefined; + integrationLog?: Array | undefined; + integrationResource?: Array | undefined; + integrationResourceReplCommand?: Array | undefined; integrationResourceSecrets?: Array | undefined; - integrationDeploymentAction?: Array | undefined; - marketplaceInstallationMember?: Array | undefined; + integrationSSOSession?: Array | undefined; + integrationStoreTokenSet?: Array | undefined; + integrationVercelConfigurationOverride?: Array | undefined; + integrationPullRequest?: Array | undefined; + ipBlocking?: Array | undefined; + jobGlobal?: Array | undefined; + logDrain?: Array | undefined; marketplaceBillingData?: Array | undefined; + marketplaceExperimentationEdgeConfigData?: Array | undefined; + marketplaceExperimentationItem?: Array | undefined; + marketplaceInstallationMember?: Array | undefined; marketplaceInvoice?: Array | undefined; marketplaceSettings?: Array | undefined; - marketplaceExperimentationItem?: Array | undefined; - marketplaceExperimentationEdgeConfigData?: Array | undefined; - jobGlobal?: Array | undefined; - drain?: Array | undefined; - logDrain?: Array | undefined; monitoring?: Array | undefined; - monitoringSettings?: Array | undefined; - monitoringQuery?: Array | undefined; - monitoringChart?: Array | undefined; monitoringAlert?: Array | undefined; + monitoringChart?: Array | undefined; + monitoringQuery?: Array | undefined; + monitoringSettings?: Array | undefined; + notificationCustomerBudget?: Array | undefined; notificationDeploymentFailed?: Array | undefined; notificationDomainConfiguration?: Array | undefined; notificationDomainExpire?: Array | undefined; @@ -1422,42 +1485,38 @@ export type Permissions = { notificationDomainUnverified?: Array | undefined; notificationMonitoringAlert?: Array | undefined; notificationPaymentFailed?: Array | undefined; - notificationUsageAlert?: Array | undefined; notificationPreferences?: Array | undefined; - notificationCustomerBudget?: Array | undefined; notificationStatementOfReasons?: Array | undefined; + notificationUsageAlert?: Array | undefined; observabilityConfiguration?: Array | undefined; - alerts?: Array | undefined; - observabilityNotebook?: Array | undefined; observabilityFunnel?: Array | undefined; + observabilityNotebook?: Array | undefined; openTelemetryEndpoint?: Array | undefined; - vercelAppInstallation?: Array | undefined; - vercelAppInstallationRequest?: Array | undefined; + ownEvent?: Array | undefined; + organizationDomain?: Array | undefined; + passwordProtectionInvoiceItem?: Array | undefined; paymentMethod?: Array | undefined; permissions?: Array | undefined; postgres?: Array | undefined; + postgresStoreTokenSet?: Array | undefined; previewDeploymentSuffix?: Array | undefined; + projectTransferIn?: 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; + redisStoreTokenSet?: Array | undefined; remoteCaching?: Array | undefined; + repository?: Array | undefined; samlConfig?: Array | undefined; secret?: Array | undefined; - redisStoreTokenSet?: Array | undefined; - blobStoreTokenSet?: Array | undefined; - postgresStoreTokenSet?: Array | undefined; - integrationStoreTokenSet?: Array | undefined; - integrationResourceReplCommand?: Array | undefined; + sensitiveEnvironmentVariablePolicy?: Array | undefined; + sharedEnvVars?: Array | undefined; + sharedEnvVarsProduction?: Array | undefined; + space?: Array | undefined; + spaceRun?: Array | undefined; storeTransfer?: Array | undefined; supportCase?: Array | undefined; supportCaseComment?: Array | undefined; - dataCacheBillingSettings?: Array | undefined; team?: Array | undefined; teamAccessRequest?: Array | undefined; teamFellowMembership?: Array | undefined; @@ -1472,26 +1531,15 @@ export type Permissions = { token?: Array | undefined; usage?: Array | undefined; usageCycle?: Array | undefined; + vercelRun?: Array | undefined; + vercelRunExec?: Array | undefined; vpcPeeringConnection?: Array | undefined; webAnalyticsPlan?: 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; - vercelRun?: Array | undefined; - vercelRunExec?: Array | undefined; - apiKey?: Array | undefined; - apiKeyOwnedBySelf?: Array | undefined; - apiKeyAiGateway?: Array | undefined; aliasProject?: Array | undefined; aliasProtectionBypass?: Array | undefined; buildMachine?: Array | undefined; - productionAliasProtectionBypass?: Array | undefined; connectConfigurationLink?: Array | undefined; dataCacheNamespace?: Array | undefined; deployment?: Array | undefined; @@ -1507,54 +1555,55 @@ export type Permissions = { deploymentRollback?: Array | undefined; edgeCacheNamespace?: Array | undefined; environments?: Array | undefined; + job?: Array | undefined; logs?: Array | undefined; logsPreset?: Array | undefined; - passwordProtection?: Array | undefined; - optionsAllowlist?: Array | undefined; - job?: Array | undefined; observabilityData?: Array | undefined; onDemandBuild?: Array | undefined; onDemandConcurrency?: Array | undefined; + optionsAllowlist?: Array | undefined; + passwordProtection?: Array | undefined; + productionAliasProtectionBypass?: Array | undefined; project?: Array | undefined; - projectFromV0?: Array | undefined; projectAccessGroup?: Array | undefined; projectAnalyticsSampling?: Array | undefined; + projectAnalyticsUsage?: Array | undefined; projectCheck?: Array | undefined; projectCheckRun?: Array | undefined; + projectDeploymentExpiration?: Array | undefined; projectDeploymentHook?: Array | undefined; projectDomain?: Array | undefined; - projectDomainMove?: Array | undefined; projectDomainCheckConfig?: Array | undefined; + projectDomainMove?: Array | undefined; projectEnvVars?: Array | undefined; projectEnvVarsProduction?: Array | undefined; projectEnvVarsUnownedByIntegration?: Array | undefined; projectFlags?: Array | undefined; + projectFlagsProduction?: Array | undefined; + projectFromV0?: Array | undefined; projectId?: Array | undefined; projectIntegrationConfiguration?: Array | undefined; projectLink?: Array | undefined; projectMember?: Array | undefined; projectMonitoring?: Array | undefined; + projectOIDCToken?: Array | undefined; projectPermissions?: Array | undefined; projectProductionBranch?: Array | undefined; - projectTransfer?: Array | undefined; - projectTransferOut?: Array | undefined; projectProtectionBypass?: Array | undefined; - projectUsage?: Array | undefined; - projectAnalyticsUsage?: Array | undefined; + projectRollingRelease?: Array | undefined; projectSupportCase?: Array | undefined; projectSupportCaseComment?: Array | undefined; - projectDeploymentExpiration?: Array | undefined; - projectRollingRelease?: Array | undefined; projectTier?: Array | undefined; - projectOIDCToken?: Array | undefined; + projectTransfer?: Array | undefined; + projectTransferOut?: Array | undefined; + projectUsage?: Array | undefined; seawallConfig?: Array | undefined; + sharedEnvVarConnection?: Array | undefined; skewProtection?: Array | undefined; analytics?: Array | undefined; trustedIps?: Array | undefined; v0Chat?: Array | undefined; webAnalytics?: Array | undefined; - sharedEnvVarConnection?: Array | undefined; - sonar?: Array | undefined; }; export type LastRollbackTarget = {}; @@ -1695,6 +1744,10 @@ export type GitProviderOptions = { * Whether the Vercel bot should not automatically create GitHub repository-dispatch events on deployment events. https://vercel.com/docs/git/vercel-for-github#repository-dispatch-events */ disableRepositoryDispatchEvents?: boolean | undefined; + /** + * Whether the project requires commits to be signed before deployments will be created. + */ + requireVerifiedCommits?: boolean | undefined; }; export type UpdateProjectDataCacheWebAnalytics = { @@ -1733,18 +1786,21 @@ export type UpdateProjectDataCacheAiBots = { action?: UpdateProjectDataCacheProjectsResponse200Action | undefined; }; -export const UpdateProjectDataCacheProjectsAction = { +export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONAction = { Log: "log", Challenge: "challenge", Deny: "deny", } as const; -export type UpdateProjectDataCacheProjectsAction = ClosedEnum< - typeof UpdateProjectDataCacheProjectsAction ->; +export type UpdateProjectDataCacheProjectsResponse200ApplicationJSONAction = + ClosedEnum< + typeof UpdateProjectDataCacheProjectsResponse200ApplicationJSONAction + >; export type UpdateProjectDataCacheOwasp = { active: boolean; - action?: UpdateProjectDataCacheProjectsAction | undefined; + action?: + | UpdateProjectDataCacheProjectsResponse200ApplicationJSONAction + | undefined; }; export type UpdateProjectDataCacheManagedRules = { @@ -1814,15 +1870,15 @@ export type UpdateProjectDataCacheHistory = { at: number; }; -export const UpdateProjectDataCacheAction = { +export const UpdateProjectDataCacheProjectsAction = { Blocked: "blocked", } as const; -export type UpdateProjectDataCacheAction = ClosedEnum< - typeof UpdateProjectDataCacheAction +export type UpdateProjectDataCacheProjectsAction = ClosedEnum< + typeof UpdateProjectDataCacheProjectsAction >; export type Block = { - action: UpdateProjectDataCacheAction; + action: UpdateProjectDataCacheProjectsAction; reason: string; statusCode: number; createdAt: number; @@ -2050,6 +2106,7 @@ export type UpdateProjectDataCacheAbuse = { blockHistory?: | Array | undefined; + interstitial?: boolean | undefined; }; export const UpdateProjectDataCacheHasType = { @@ -2112,6 +2169,36 @@ export type InternalRoutes1 = { export type InternalRoutes = InternalRoutes1 | InternalRoutes2; +export const UpdateProjectDataCacheAction = { + Cancel: "cancel", + Accept: "accept", + Delete: "delete", +} as const; +export type UpdateProjectDataCacheAction = ClosedEnum< + typeof UpdateProjectDataCacheAction +>; + +export type UpdateProjectDataCacheValuePreviousValue = + | string + | number + | boolean; + +export type UpdateProjectDataCacheValueCurrentValue = string | number | boolean; + +export type Value4 = { + previousValue: string | number | boolean; + currentValue: string | number | boolean; +}; + +export type UpdateProjectDataCacheValue = Value4 | string | number | boolean; + +export type UpdateProjectDataCacheDismissedToasts = { + key: string; + dismissedAt: number; + action: UpdateProjectDataCacheAction; + value: Value4 | string | number | boolean | null; +}; + export type UpdateProjectDataCacheResponseBody = { accountId: string; analytics?: Analytics | undefined; @@ -2139,7 +2226,7 @@ export type UpdateProjectDataCacheResponseBody = { devCommand?: string | null | undefined; directoryListing: boolean; installCommand?: string | null | undefined; - env?: Array | undefined; + env?: Array | undefined; customEnvironments?: Array | undefined; framework?: UpdateProjectDataCacheFramework | null | undefined; gitForkProtection?: boolean | undefined; @@ -2151,6 +2238,7 @@ export type UpdateProjectDataCacheResponseBody = { microfrontends?: | UpdateProjectDataCacheMicrofrontends1 | UpdateProjectDataCacheMicrofrontends2 + | UpdateProjectDataCacheMicrofrontends3 | undefined; name: string; nodeVersion: UpdateProjectDataCacheNodeVersion; @@ -2177,6 +2265,7 @@ export type UpdateProjectDataCacheResponseBody = { skewProtectionBoundaryAt?: number | undefined; skewProtectionMaxAge?: number | undefined; skipGitConnectDuringLink?: boolean | undefined; + staticIps?: UpdateProjectDataCacheStaticIps | undefined; sourceFilesOutsideRootDirectory?: boolean | undefined; enableAffectedProjectsDeployments?: boolean | undefined; ssoProtection?: UpdateProjectDataCacheSsoProtection | null | undefined; @@ -2189,7 +2278,7 @@ export type UpdateProjectDataCacheResponseBody = { live?: boolean | undefined; enablePreviewFeedback?: boolean | null | undefined; enableProductionFeedback?: boolean | null | undefined; - permissions?: Permissions | undefined; + permissions?: UpdateProjectDataCachePermissions | undefined; lastRollbackTarget?: LastRollbackTarget | null | undefined; lastAliasRequest?: LastAliasRequest | null | undefined; protectionBypass?: @@ -2209,6 +2298,8 @@ export type UpdateProjectDataCacheResponseBody = { v0?: boolean | undefined; abuse?: UpdateProjectDataCacheAbuse | undefined; internalRoutes?: Array | undefined; + hasDeployments?: boolean | undefined; + dismissedToasts?: Array | undefined; }; /** @internal */ @@ -2219,7 +2310,6 @@ export const UpdateProjectDataCacheRequestBody$inboundSchema: z.ZodType< > = z.object({ disabled: z.boolean().optional(), }); - /** @internal */ export type UpdateProjectDataCacheRequestBody$Outbound = { disabled?: boolean | undefined; @@ -2234,20 +2324,6 @@ export const UpdateProjectDataCacheRequestBody$outboundSchema: z.ZodType< 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 { @@ -2257,7 +2333,6 @@ export function updateProjectDataCacheRequestBodyToJSON( ), ); } - export function updateProjectDataCacheRequestBodyFromJSON( jsonString: string, ): SafeParseResult { @@ -2283,7 +2358,6 @@ export const UpdateProjectDataCacheRequest$inboundSchema: z.ZodType< "RequestBody": "requestBody", }); }); - /** @internal */ export type UpdateProjectDataCacheRequest$Outbound = { projectId: string; @@ -2308,19 +2382,6 @@ export const UpdateProjectDataCacheRequest$outboundSchema: z.ZodType< }); }); -/** - * @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 { @@ -2330,7 +2391,6 @@ export function updateProjectDataCacheRequestToJSON( ), ); } - export function updateProjectDataCacheRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -2355,7 +2415,6 @@ export const Analytics$inboundSchema: z.ZodType< sampleRatePercent: z.nullable(z.number()).optional(), spendLimitInDollars: z.nullable(z.number()).optional(), }); - /** @internal */ export type Analytics$Outbound = { id: string; @@ -2382,23 +2441,9 @@ export const Analytics$outboundSchema: z.ZodType< 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 { @@ -2422,7 +2467,6 @@ export const SpeedInsights$inboundSchema: z.ZodType< hasData: z.boolean().optional(), paidAt: z.number().optional(), }); - /** @internal */ export type SpeedInsights$Outbound = { id: string; @@ -2447,23 +2491,9 @@ export const SpeedInsights$outboundSchema: z.ZodType< 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 { @@ -2478,30 +2508,17 @@ export function speedInsightsFromJSON( export const UpdateProjectDataCacheEnvId2$inboundSchema: z.ZodNativeEnum< typeof UpdateProjectDataCacheEnvId2 > = z.nativeEnum(UpdateProjectDataCacheEnvId2); - /** @internal */ export const UpdateProjectDataCacheEnvId2$outboundSchema: z.ZodNativeEnum< typeof UpdateProjectDataCacheEnvId2 > = UpdateProjectDataCacheEnvId2$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheEnvId2$ { - /** @deprecated use `UpdateProjectDataCacheEnvId2$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectDataCacheEnvId2$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheEnvId2$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectDataCacheEnvId2$outboundSchema; -} - /** @internal */ export const UpdateProjectDataCacheEnvId$inboundSchema: z.ZodType< UpdateProjectDataCacheEnvId, z.ZodTypeDef, unknown > = z.union([z.string(), UpdateProjectDataCacheEnvId2$inboundSchema]); - /** @internal */ export type UpdateProjectDataCacheEnvId$Outbound = string | string; @@ -2512,19 +2529,6 @@ export const UpdateProjectDataCacheEnvId$outboundSchema: z.ZodType< UpdateProjectDataCacheEnvId > = z.union([z.string(), UpdateProjectDataCacheEnvId2$outboundSchema]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheEnvId$ { - /** @deprecated use `UpdateProjectDataCacheEnvId$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectDataCacheEnvId$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheEnvId$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectDataCacheEnvId$outboundSchema; - /** @deprecated use `UpdateProjectDataCacheEnvId$Outbound` instead. */ - export type Outbound = UpdateProjectDataCacheEnvId$Outbound; -} - export function updateProjectDataCacheEnvIdToJSON( updateProjectDataCacheEnvId: UpdateProjectDataCacheEnvId, ): string { @@ -2534,7 +2538,6 @@ export function updateProjectDataCacheEnvIdToJSON( ), ); } - export function updateProjectDataCacheEnvIdFromJSON( jsonString: string, ): SafeParseResult { @@ -2554,7 +2557,6 @@ export const UpdateProjectDataCacheAws$inboundSchema: z.ZodType< subnetIds: z.array(z.string()), securityGroupId: z.string(), }); - /** @internal */ export type UpdateProjectDataCacheAws$Outbound = { subnetIds: Array; @@ -2571,19 +2573,6 @@ export const UpdateProjectDataCacheAws$outboundSchema: z.ZodType< securityGroupId: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheAws$ { - /** @deprecated use `UpdateProjectDataCacheAws$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectDataCacheAws$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheAws$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectDataCacheAws$outboundSchema; - /** @deprecated use `UpdateProjectDataCacheAws$Outbound` instead. */ - export type Outbound = UpdateProjectDataCacheAws$Outbound; -} - export function updateProjectDataCacheAwsToJSON( updateProjectDataCacheAws: UpdateProjectDataCacheAws, ): string { @@ -2591,7 +2580,6 @@ export function updateProjectDataCacheAwsToJSON( UpdateProjectDataCacheAws$outboundSchema.parse(updateProjectDataCacheAws), ); } - export function updateProjectDataCacheAwsFromJSON( jsonString: string, ): SafeParseResult { @@ -2618,7 +2606,6 @@ export const UpdateProjectDataCacheConnectConfigurations$inboundSchema: createdAt: z.number(), updatedAt: z.number(), }); - /** @internal */ export type UpdateProjectDataCacheConnectConfigurations$Outbound = { envId: string | string; @@ -2648,21 +2635,6 @@ export const UpdateProjectDataCacheConnectConfigurations$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 UpdateProjectDataCacheConnectConfigurations$ { - /** @deprecated use `UpdateProjectDataCacheConnectConfigurations$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectDataCacheConnectConfigurations$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheConnectConfigurations$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheConnectConfigurations$outboundSchema; - /** @deprecated use `UpdateProjectDataCacheConnectConfigurations$Outbound` instead. */ - export type Outbound = UpdateProjectDataCacheConnectConfigurations$Outbound; -} - export function updateProjectDataCacheConnectConfigurationsToJSON( updateProjectDataCacheConnectConfigurations: UpdateProjectDataCacheConnectConfigurations, @@ -2673,7 +2645,6 @@ export function updateProjectDataCacheConnectConfigurationsToJSON( ), ); } - export function updateProjectDataCacheConnectConfigurationsFromJSON( jsonString: string, ): SafeParseResult< @@ -2700,7 +2671,6 @@ export const Definitions$inboundSchema: z.ZodType< path: z.string(), schedule: z.string(), }); - /** @internal */ export type Definitions$Outbound = { host: string; @@ -2719,23 +2689,9 @@ export const Definitions$outboundSchema: z.ZodType< 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 { @@ -2755,7 +2711,6 @@ export const Crons$inboundSchema: z.ZodType = z deploymentId: z.nullable(z.string()), definitions: z.array(z.lazy(() => Definitions$inboundSchema)), }); - /** @internal */ export type Crons$Outbound = { enabledAt: number; @@ -2778,23 +2733,9 @@ export const Crons$outboundSchema: z.ZodType< 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 { @@ -2815,7 +2756,6 @@ export const UpdateProjectDataCacheDataCache$inboundSchema: z.ZodType< storageSizeBytes: z.nullable(z.number()).optional(), unlimited: z.boolean().optional(), }); - /** @internal */ export type UpdateProjectDataCacheDataCache$Outbound = { userDisabled: boolean; @@ -2834,19 +2774,6 @@ export const UpdateProjectDataCacheDataCache$outboundSchema: z.ZodType< 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 { @@ -2856,7 +2783,6 @@ export function updateProjectDataCacheDataCacheToJSON( ), ); } - export function updateProjectDataCacheDataCacheFromJSON( jsonString: string, ): SafeParseResult { @@ -2879,7 +2805,6 @@ export const DeploymentExpiration$inboundSchema: z.ZodType< expirationDaysErrored: z.number().optional(), deploymentsToKeep: z.number().optional(), }); - /** @internal */ export type DeploymentExpiration$Outbound = { expirationDays?: number | undefined; @@ -2902,19 +2827,6 @@ export const DeploymentExpiration$outboundSchema: z.ZodType< 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 { @@ -2922,7 +2834,6 @@ export function deploymentExpirationToJSON( DeploymentExpiration$outboundSchema.parse(deploymentExpiration), ); } - export function deploymentExpirationFromJSON( jsonString: string, ): SafeParseResult { @@ -2937,44 +2848,20 @@ export function deploymentExpirationFromJSON( 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, @@ -2984,7 +2871,6 @@ export const UpdateProjectDataCacheTarget$inboundSchema: z.ZodType< z.array(UpdateProjectDataCacheTarget1$inboundSchema), UpdateProjectDataCacheTarget2$inboundSchema, ]); - /** @internal */ export type UpdateProjectDataCacheTarget$Outbound = Array | string; @@ -2998,19 +2884,6 @@ export const UpdateProjectDataCacheTarget$outboundSchema: z.ZodType< 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 { @@ -3020,7 +2893,6 @@ export function updateProjectDataCacheTargetToJSON( ), ); } - export function updateProjectDataCacheTargetFromJSON( jsonString: string, ): SafeParseResult { @@ -3038,7 +2910,6 @@ export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONType$inboun > = z.nativeEnum( UpdateProjectDataCacheProjectsResponse200ApplicationJSONType, ); - /** @internal */ export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONType$outboundSchema: z.ZodNativeEnum< @@ -3046,19 +2917,6 @@ export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONType$outbou > = 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 UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type$inboundSchema: z.ZodNativeEnum< @@ -3066,7 +2924,6 @@ export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSON > = z.nativeEnum( UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type, ); - /** @internal */ export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type$outboundSchema: z.ZodNativeEnum< @@ -3074,19 +2931,6 @@ export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSON > = 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 ContentHint15$inboundSchema: z.ZodType< ContentHint15, @@ -3097,7 +2941,6 @@ export const ContentHint15$inboundSchema: z.ZodType< UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type$inboundSchema, projectId: z.string(), }); - /** @internal */ export type ContentHint15$Outbound = { type: string; @@ -3115,23 +2958,9 @@ export const ContentHint15$outboundSchema: z.ZodType< 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 { @@ -3149,7 +2978,6 @@ export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSON > = z.nativeEnum( UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type, ); - /** @internal */ export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type$outboundSchema: z.ZodNativeEnum< @@ -3157,19 +2985,6 @@ export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSON > = 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 ContentHint14$inboundSchema: z.ZodType< ContentHint14, @@ -3183,7 +2998,6 @@ export const ContentHint14$inboundSchema: z.ZodType< integrationProductId: z.string(), integrationConfigurationId: z.string(), }); - /** @internal */ export type ContentHint14$Outbound = { type: string; @@ -3207,23 +3021,9 @@ export const ContentHint14$outboundSchema: z.ZodType< 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 { @@ -3241,7 +3041,6 @@ export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSON > = z.nativeEnum( UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type, ); - /** @internal */ export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type$outboundSchema: z.ZodNativeEnum< @@ -3249,19 +3048,6 @@ export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSON > = 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 ContentHint13$inboundSchema: z.ZodType< ContentHint13, @@ -3272,7 +3058,6 @@ export const ContentHint13$inboundSchema: z.ZodType< UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type ContentHint13$Outbound = { type: string; @@ -3290,23 +3075,9 @@ export const ContentHint13$outboundSchema: z.ZodType< storeId: z.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 { @@ -3324,7 +3095,6 @@ export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSON > = z.nativeEnum( UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type, ); - /** @internal */ export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type$outboundSchema: z.ZodNativeEnum< @@ -3332,19 +3102,6 @@ export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSON > = 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 ContentHint12$inboundSchema: z.ZodType< ContentHint12, @@ -3355,7 +3112,6 @@ export const ContentHint12$inboundSchema: z.ZodType< UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type ContentHint12$Outbound = { type: string; @@ -3373,23 +3129,9 @@ export const ContentHint12$outboundSchema: z.ZodType< storeId: z.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 { @@ -3407,7 +3149,6 @@ export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSON > = z.nativeEnum( UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type, ); - /** @internal */ export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type$outboundSchema: z.ZodNativeEnum< @@ -3415,19 +3156,6 @@ export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSON > = 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 ContentHint11$inboundSchema: z.ZodType< ContentHint11, @@ -3438,7 +3166,6 @@ export const ContentHint11$inboundSchema: z.ZodType< UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type ContentHint11$Outbound = { type: string; @@ -3456,23 +3183,9 @@ export const ContentHint11$outboundSchema: z.ZodType< storeId: z.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 { @@ -3490,7 +3203,6 @@ export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSON > = z.nativeEnum( UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type, ); - /** @internal */ export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type$outboundSchema: z.ZodNativeEnum< @@ -3498,19 +3210,6 @@ export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSON > = 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, @@ -3521,7 +3220,6 @@ export const ContentHint10$inboundSchema: z.ZodType< UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type ContentHint10$Outbound = { type: string; @@ -3539,23 +3237,9 @@ export const ContentHint10$outboundSchema: z.ZodType< storeId: z.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 { @@ -3573,7 +3257,6 @@ export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSON > = z.nativeEnum( UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type, ); - /** @internal */ export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type$outboundSchema: z.ZodNativeEnum< @@ -3581,19 +3264,6 @@ export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSON > = 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, @@ -3604,7 +3274,6 @@ export const ContentHint9$inboundSchema: z.ZodType< UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type ContentHint9$Outbound = { type: string; @@ -3622,23 +3291,9 @@ export const ContentHint9$outboundSchema: z.ZodType< storeId: z.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 { @@ -3656,7 +3311,6 @@ export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSON > = z.nativeEnum( UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType, ); - /** @internal */ export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType$outboundSchema: z.ZodNativeEnum< @@ -3664,19 +3318,6 @@ export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSON > = 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, @@ -3687,7 +3328,6 @@ export const ContentHint8$inboundSchema: z.ZodType< UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema, storeId: z.string(), }); - /** @internal */ export type ContentHint8$Outbound = { type: string; @@ -3705,23 +3345,9 @@ export const ContentHint8$outboundSchema: z.ZodType< storeId: z.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 { @@ -3739,7 +3365,6 @@ export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSON > = z.nativeEnum( UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyType, ); - /** @internal */ export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema: z.ZodNativeEnum< @@ -3747,19 +3372,6 @@ export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSON > = 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, @@ -3770,7 +3382,6 @@ export const ContentHint7$inboundSchema: z.ZodType< UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema, storeId: z.string(), }); - /** @internal */ export type ContentHint7$Outbound = { type: string; @@ -3788,23 +3399,9 @@ export const ContentHint7$outboundSchema: z.ZodType< storeId: z.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 { @@ -3822,7 +3419,6 @@ export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSON > = z.nativeEnum( UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONType, ); - /** @internal */ export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONType$outboundSchema: z.ZodNativeEnum< @@ -3830,19 +3426,6 @@ export const UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSON > = 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, @@ -3853,7 +3436,6 @@ export const ContentHint6$inboundSchema: z.ZodType< UpdateProjectDataCacheContentHintProjectsResponse200ApplicationJSONType$inboundSchema, storeId: z.string(), }); - /** @internal */ export type ContentHint6$Outbound = { type: string; @@ -3871,23 +3453,9 @@ export const ContentHint6$outboundSchema: z.ZodType< storeId: z.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 { @@ -3903,26 +3471,12 @@ export const UpdateProjectDataCacheContentHintProjectsResponse200Type$inboundSch 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, @@ -3932,7 +3486,6 @@ export const ContentHint5$inboundSchema: z.ZodType< type: UpdateProjectDataCacheContentHintProjectsResponse200Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type ContentHint5$Outbound = { type: string; @@ -3949,23 +3502,9 @@ export const ContentHint5$outboundSchema: z.ZodType< storeId: z.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 { @@ -3981,26 +3520,12 @@ 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, @@ -4010,7 +3535,6 @@ export const ContentHint4$inboundSchema: z.ZodType< type: UpdateProjectDataCacheContentHintProjectsResponseType$inboundSchema, storeId: z.string(), }); - /** @internal */ export type ContentHint4$Outbound = { type: string; @@ -4027,23 +3551,9 @@ export const ContentHint4$outboundSchema: z.ZodType< storeId: z.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 { @@ -4058,25 +3568,11 @@ export function contentHint4FromJSON( 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, @@ -4086,7 +3582,6 @@ export const ContentHint3$inboundSchema: z.ZodType< type: UpdateProjectDataCacheContentHintProjectsType$inboundSchema, storeId: z.string(), }); - /** @internal */ export type ContentHint3$Outbound = { type: string; @@ -4103,23 +3598,9 @@ export const ContentHint3$outboundSchema: z.ZodType< storeId: z.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 { @@ -4135,25 +3616,11 @@ 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, @@ -4163,7 +3630,6 @@ export const ContentHint2$inboundSchema: z.ZodType< type: UpdateProjectDataCacheContentHintType$inboundSchema, storeId: z.string(), }); - /** @internal */ export type ContentHint2$Outbound = { type: string; @@ -4180,23 +3646,9 @@ export const ContentHint2$outboundSchema: z.ZodType< storeId: z.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 { @@ -4211,23 +3663,11 @@ export function contentHint2FromJSON( 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, @@ -4237,7 +3677,6 @@ export const ContentHint1$inboundSchema: z.ZodType< type: ContentHintType$inboundSchema, storeId: z.string(), }); - /** @internal */ export type ContentHint1$Outbound = { type: string; @@ -4254,23 +3693,9 @@ export const ContentHint1$outboundSchema: z.ZodType< storeId: z.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 { @@ -4303,7 +3728,6 @@ export const ContentHint$inboundSchema: z.ZodType< z.lazy(() => ContentHint13$inboundSchema), z.lazy(() => ContentHint15$inboundSchema), ]); - /** @internal */ export type ContentHint$Outbound = | ContentHint14$Outbound @@ -4345,23 +3769,9 @@ export const ContentHint$outboundSchema: z.ZodType< z.lazy(() => ContentHint15$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 { @@ -4379,7 +3789,6 @@ export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBod > = z.nativeEnum( UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyEnvType, ); - /** @internal */ export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyEnvType$outboundSchema: z.ZodNativeEnum< @@ -4387,19 +3796,6 @@ export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBod > = UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyEnvType$ { - /** @deprecated use `UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyEnvType$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyEnvType$outboundSchema; -} - /** @internal */ export const InternalContentHint$inboundSchema: z.ZodType< InternalContentHint, @@ -4410,7 +3806,6 @@ export const InternalContentHint$inboundSchema: z.ZodType< UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema, encryptedValue: z.string(), }); - /** @internal */ export type InternalContentHint$Outbound = { type: string; @@ -4428,19 +3823,6 @@ export const InternalContentHint$outboundSchema: z.ZodType< 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 { @@ -4448,7 +3830,6 @@ export function internalContentHintToJSON( InternalContentHint$outboundSchema.parse(internalContentHint), ); } - export function internalContentHintFromJSON( jsonString: string, ): SafeParseResult { @@ -4460,56 +3841,58 @@ export function internalContentHintFromJSON( } /** @internal */ -export const Env$inboundSchema: z.ZodType = z - .object({ - target: z.union([ - z.array(UpdateProjectDataCacheTarget1$inboundSchema), - UpdateProjectDataCacheTarget2$inboundSchema, - ]).optional(), - type: - UpdateProjectDataCacheProjectsResponse200ApplicationJSONType$inboundSchema, - sunsetSecretId: z.string().optional(), - decrypted: z.boolean().optional(), - value: z.string(), - vsmValue: 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(() => ContentHint14$inboundSchema), - 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(() => ContentHint11$inboundSchema), - z.lazy(() => ContentHint12$inboundSchema), - z.lazy(() => ContentHint13$inboundSchema), - z.lazy(() => ContentHint15$inboundSchema), - ]), - ).optional(), - internalContentHint: z.nullable( - z.lazy(() => InternalContentHint$inboundSchema), - ).optional(), - comment: z.string().optional(), - customEnvironmentIds: z.array(z.string()).optional(), - }); - +export const UpdateProjectDataCacheEnv$inboundSchema: z.ZodType< + UpdateProjectDataCacheEnv, + z.ZodTypeDef, + unknown +> = z.object({ + target: z.union([ + z.array(UpdateProjectDataCacheTarget1$inboundSchema), + UpdateProjectDataCacheTarget2$inboundSchema, + ]).optional(), + type: + UpdateProjectDataCacheProjectsResponse200ApplicationJSONType$inboundSchema, + sunsetSecretId: z.string().optional(), + decrypted: z.boolean().optional(), + value: z.string(), + vsmValue: 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(() => ContentHint14$inboundSchema), + 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(() => ContentHint11$inboundSchema), + z.lazy(() => ContentHint12$inboundSchema), + z.lazy(() => ContentHint13$inboundSchema), + z.lazy(() => ContentHint15$inboundSchema), + ]), + ).optional(), + internalContentHint: z.nullable( + z.lazy(() => InternalContentHint$inboundSchema), + ).optional(), + comment: z.string().optional(), + customEnvironmentIds: z.array(z.string()).optional(), +}); /** @internal */ -export type Env$Outbound = { +export type UpdateProjectDataCacheEnv$Outbound = { target?: Array | string | undefined; type: string; sunsetSecretId?: string | undefined; @@ -4550,78 +3933,71 @@ export type Env$Outbound = { }; /** @internal */ -export const Env$outboundSchema: z.ZodType = z - .object({ - target: z.union([ - z.array(UpdateProjectDataCacheTarget1$outboundSchema), - UpdateProjectDataCacheTarget2$outboundSchema, - ]).optional(), - type: - UpdateProjectDataCacheProjectsResponse200ApplicationJSONType$outboundSchema, - sunsetSecretId: z.string().optional(), - decrypted: z.boolean().optional(), - value: z.string(), - vsmValue: 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(() => ContentHint14$outboundSchema), - 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(() => ContentHint11$outboundSchema), - z.lazy(() => ContentHint12$outboundSchema), - z.lazy(() => ContentHint13$outboundSchema), - z.lazy(() => ContentHint15$outboundSchema), - ]), - ).optional(), - internalContentHint: z.nullable( - z.lazy(() => InternalContentHint$outboundSchema), - ).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 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 const UpdateProjectDataCacheEnv$outboundSchema: z.ZodType< + UpdateProjectDataCacheEnv$Outbound, + z.ZodTypeDef, + UpdateProjectDataCacheEnv +> = z.object({ + target: z.union([ + z.array(UpdateProjectDataCacheTarget1$outboundSchema), + UpdateProjectDataCacheTarget2$outboundSchema, + ]).optional(), + type: + UpdateProjectDataCacheProjectsResponse200ApplicationJSONType$outboundSchema, + sunsetSecretId: z.string().optional(), + decrypted: z.boolean().optional(), + value: z.string(), + vsmValue: 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(() => ContentHint14$outboundSchema), + 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(() => ContentHint11$outboundSchema), + z.lazy(() => ContentHint12$outboundSchema), + z.lazy(() => ContentHint13$outboundSchema), + z.lazy(() => ContentHint15$outboundSchema), + ]), + ).optional(), + internalContentHint: z.nullable( + z.lazy(() => InternalContentHint$outboundSchema), + ).optional(), + comment: z.string().optional(), + customEnvironmentIds: z.array(z.string()).optional(), +}); -export function envToJSON(env: Env): string { - return JSON.stringify(Env$outboundSchema.parse(env)); +export function updateProjectDataCacheEnvToJSON( + updateProjectDataCacheEnv: UpdateProjectDataCacheEnv, +): string { + return JSON.stringify( + UpdateProjectDataCacheEnv$outboundSchema.parse(updateProjectDataCacheEnv), + ); } - -export function envFromJSON( +export function updateProjectDataCacheEnvFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => Env$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Env' from JSON`, + (x) => UpdateProjectDataCacheEnv$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectDataCacheEnv' from JSON`, ); } @@ -4629,23 +4005,11 @@ export function envFromJSON( 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 UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$inboundSchema: z.ZodNativeEnum< @@ -4653,7 +4017,6 @@ export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBod > = z.nativeEnum( UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType, ); - /** @internal */ export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$outboundSchema: z.ZodNativeEnum< @@ -4661,19 +4024,6 @@ export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBod > = UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$ { - /** @deprecated use `UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$outboundSchema; -} - /** @internal */ export const UpdateProjectDataCacheProjectsResponseBranchMatcher$inboundSchema: z.ZodType< @@ -4685,7 +4035,6 @@ export const UpdateProjectDataCacheProjectsResponseBranchMatcher$inboundSchema: UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$inboundSchema, pattern: z.string(), }); - /** @internal */ export type UpdateProjectDataCacheProjectsResponseBranchMatcher$Outbound = { type: string; @@ -4704,22 +4053,6 @@ export const UpdateProjectDataCacheProjectsResponseBranchMatcher$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 UpdateProjectDataCacheProjectsResponseBranchMatcher$ { - /** @deprecated use `UpdateProjectDataCacheProjectsResponseBranchMatcher$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectDataCacheProjectsResponseBranchMatcher$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheProjectsResponseBranchMatcher$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheProjectsResponseBranchMatcher$outboundSchema; - /** @deprecated use `UpdateProjectDataCacheProjectsResponseBranchMatcher$Outbound` instead. */ - export type Outbound = - UpdateProjectDataCacheProjectsResponseBranchMatcher$Outbound; -} - export function updateProjectDataCacheProjectsResponseBranchMatcherToJSON( updateProjectDataCacheProjectsResponseBranchMatcher: UpdateProjectDataCacheProjectsResponseBranchMatcher, @@ -4730,7 +4063,6 @@ export function updateProjectDataCacheProjectsResponseBranchMatcherToJSON( ), ); } - export function updateProjectDataCacheProjectsResponseBranchMatcherFromJSON( jsonString: string, ): SafeParseResult< @@ -4758,7 +4090,6 @@ export const UpdateProjectDataCacheVerification$inboundSchema: z.ZodType< value: z.string(), reason: z.string(), }); - /** @internal */ export type UpdateProjectDataCacheVerification$Outbound = { type: string; @@ -4779,20 +4110,6 @@ export const UpdateProjectDataCacheVerification$outboundSchema: z.ZodType< 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 UpdateProjectDataCacheVerification$ { - /** @deprecated use `UpdateProjectDataCacheVerification$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectDataCacheVerification$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheVerification$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheVerification$outboundSchema; - /** @deprecated use `UpdateProjectDataCacheVerification$Outbound` instead. */ - export type Outbound = UpdateProjectDataCacheVerification$Outbound; -} - export function updateProjectDataCacheVerificationToJSON( updateProjectDataCacheVerification: UpdateProjectDataCacheVerification, ): string { @@ -4802,7 +4119,6 @@ export function updateProjectDataCacheVerificationToJSON( ), ); } - export function updateProjectDataCacheVerificationFromJSON( jsonString: string, ): SafeParseResult { @@ -4834,7 +4150,6 @@ export const UpdateProjectDataCacheDomains$inboundSchema: z.ZodType< z.lazy(() => UpdateProjectDataCacheVerification$inboundSchema), ).optional(), }); - /** @internal */ export type UpdateProjectDataCacheDomains$Outbound = { name: string; @@ -4871,19 +4186,6 @@ export const UpdateProjectDataCacheDomains$outboundSchema: z.ZodType< ).optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheDomains$ { - /** @deprecated use `UpdateProjectDataCacheDomains$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectDataCacheDomains$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheDomains$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectDataCacheDomains$outboundSchema; - /** @deprecated use `UpdateProjectDataCacheDomains$Outbound` instead. */ - export type Outbound = UpdateProjectDataCacheDomains$Outbound; -} - export function updateProjectDataCacheDomainsToJSON( updateProjectDataCacheDomains: UpdateProjectDataCacheDomains, ): string { @@ -4893,7 +4195,6 @@ export function updateProjectDataCacheDomainsToJSON( ), ); } - export function updateProjectDataCacheDomainsFromJSON( jsonString: string, ): SafeParseResult { @@ -4923,7 +4224,6 @@ export const CustomEnvironments$inboundSchema: z.ZodType< createdAt: z.number(), updatedAt: z.number(), }); - /** @internal */ export type CustomEnvironments$Outbound = { id: string; @@ -4959,19 +4259,6 @@ export const CustomEnvironments$outboundSchema: z.ZodType< 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 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 { @@ -4979,7 +4266,6 @@ export function customEnvironmentsToJSON( CustomEnvironments$outboundSchema.parse(customEnvironments), ); } - export function customEnvironmentsFromJSON( jsonString: string, ): SafeParseResult { @@ -4994,23 +4280,11 @@ export function customEnvironmentsFromJSON( 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 UpdateProjectDataCacheIpBuckets$inboundSchema: z.ZodType< UpdateProjectDataCacheIpBuckets, @@ -5020,7 +4294,6 @@ export const UpdateProjectDataCacheIpBuckets$inboundSchema: z.ZodType< bucket: z.string(), supportUntil: z.number().optional(), }); - /** @internal */ export type UpdateProjectDataCacheIpBuckets$Outbound = { bucket: string; @@ -5037,19 +4310,6 @@ export const UpdateProjectDataCacheIpBuckets$outboundSchema: z.ZodType< 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 UpdateProjectDataCacheIpBuckets$ { - /** @deprecated use `UpdateProjectDataCacheIpBuckets$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectDataCacheIpBuckets$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheIpBuckets$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectDataCacheIpBuckets$outboundSchema; - /** @deprecated use `UpdateProjectDataCacheIpBuckets$Outbound` instead. */ - export type Outbound = UpdateProjectDataCacheIpBuckets$Outbound; -} - export function updateProjectDataCacheIpBucketsToJSON( updateProjectDataCacheIpBuckets: UpdateProjectDataCacheIpBuckets, ): string { @@ -5059,7 +4319,6 @@ export function updateProjectDataCacheIpBucketsToJSON( ), ); } - export function updateProjectDataCacheIpBucketsFromJSON( jsonString: string, ): SafeParseResult { @@ -5076,7 +4335,6 @@ export const AliasAssigned$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.union([z.number(), z.boolean()]); - /** @internal */ export type AliasAssigned$Outbound = number | boolean; @@ -5087,23 +4345,9 @@ export const AliasAssigned$outboundSchema: z.ZodType< 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 { @@ -5123,7 +4367,6 @@ export const UpdateProjectDataCacheProjectsAliasError$inboundSchema: z.ZodType< code: z.string(), message: z.string(), }); - /** @internal */ export type UpdateProjectDataCacheProjectsAliasError$Outbound = { code: string; @@ -5140,21 +4383,6 @@ export const UpdateProjectDataCacheProjectsAliasError$outboundSchema: z.ZodType< 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, @@ -5165,7 +4393,6 @@ export function updateProjectDataCacheProjectsAliasErrorToJSON( ), ); } - export function updateProjectDataCacheProjectsAliasErrorFromJSON( jsonString: string, ): SafeParseResult< @@ -5189,7 +4416,6 @@ export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBod > = z.nativeEnum( UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType, ); - /** @internal */ export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$outboundSchema: z.ZodNativeEnum< @@ -5197,19 +4423,6 @@ export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBod > = UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$ { - /** @deprecated use `UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$outboundSchema; -} - /** @internal */ export const UpdateProjectDataCacheBranchMatcher$inboundSchema: z.ZodType< UpdateProjectDataCacheBranchMatcher, @@ -5220,7 +4433,6 @@ export const UpdateProjectDataCacheBranchMatcher$inboundSchema: z.ZodType< UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$inboundSchema, pattern: z.string(), }); - /** @internal */ export type UpdateProjectDataCacheBranchMatcher$Outbound = { type: string; @@ -5238,21 +4450,6 @@ export const UpdateProjectDataCacheBranchMatcher$outboundSchema: z.ZodType< 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 { @@ -5262,7 +4459,6 @@ export function updateProjectDataCacheBranchMatcherToJSON( ), ); } - export function updateProjectDataCacheBranchMatcherFromJSON( jsonString: string, ): SafeParseResult { @@ -5284,7 +4480,6 @@ export const UpdateProjectDataCacheProjectsBuilds$inboundSchema: z.ZodType< src: z.string().optional(), dest: z.string().optional(), }); - /** @internal */ export type UpdateProjectDataCacheProjectsBuilds$Outbound = { use: string; @@ -5303,21 +4498,6 @@ export const UpdateProjectDataCacheProjectsBuilds$outboundSchema: z.ZodType< 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 { @@ -5327,7 +4507,6 @@ export function updateProjectDataCacheProjectsBuildsToJSON( ), ); } - export function updateProjectDataCacheProjectsBuildsFromJSON( jsonString: string, ): SafeParseResult { @@ -5343,48 +4522,20 @@ export function updateProjectDataCacheProjectsBuildsFromJSON( 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, @@ -5397,7 +4548,6 @@ export const UpdateProjectDataCacheProjectsCreator$inboundSchema: z.ZodType< uid: z.string(), username: z.string(), }); - /** @internal */ export type UpdateProjectDataCacheProjectsCreator$Outbound = { email: string; @@ -5420,21 +4570,6 @@ export const UpdateProjectDataCacheProjectsCreator$outboundSchema: z.ZodType< 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 { @@ -5444,7 +4579,6 @@ export function updateProjectDataCacheProjectsCreatorToJSON( ), ); } - export function updateProjectDataCacheProjectsCreatorFromJSON( jsonString: string, ): SafeParseResult { @@ -5472,13 +4606,13 @@ export const UpdateProjectDataCacheProjectsOidcTokenClaims$inboundSchema: project: z.string(), project_id: z.string(), environment: z.string(), + plan: z.string(), }).transform((v) => { return remap$(v, { "owner_id": "ownerId", "project_id": "projectId", }); }); - /** @internal */ export type UpdateProjectDataCacheProjectsOidcTokenClaims$Outbound = { iss: string; @@ -5490,6 +4624,7 @@ export type UpdateProjectDataCacheProjectsOidcTokenClaims$Outbound = { project: string; project_id: string; environment: string; + plan: string; }; /** @internal */ @@ -5508,6 +4643,7 @@ export const UpdateProjectDataCacheProjectsOidcTokenClaims$outboundSchema: project: z.string(), projectId: z.string(), environment: z.string(), + plan: z.string(), }).transform((v) => { return remap$(v, { ownerId: "owner_id", @@ -5515,21 +4651,6 @@ export const UpdateProjectDataCacheProjectsOidcTokenClaims$outboundSchema: }); }); -/** - * @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, @@ -5540,7 +4661,6 @@ export function updateProjectDataCacheProjectsOidcTokenClaimsToJSON( ), ); } - export function updateProjectDataCacheProjectsOidcTokenClaimsFromJSON( jsonString: string, ): SafeParseResult< @@ -5561,92 +4681,38 @@ export function updateProjectDataCacheProjectsOidcTokenClaimsFromJSON( 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 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 LatestDeployments$inboundSchema: z.ZodType< LatestDeployments, @@ -5702,7 +4768,6 @@ export const LatestDeployments$inboundSchema: z.ZodType< userId: z.string(), withCache: z.boolean().optional(), }); - /** @internal */ export type LatestDeployments$Outbound = { id: string; @@ -5805,19 +4870,6 @@ export const LatestDeployments$outboundSchema: z.ZodType< 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 { @@ -5825,7 +4877,6 @@ export function latestDeploymentsToJSON( LatestDeployments$outboundSchema.parse(latestDeployments), ); } - export function latestDeploymentsFromJSON( jsonString: string, ): SafeParseResult { @@ -5840,25 +4891,11 @@ export function latestDeploymentsFromJSON( export const UpdateProjectDataCacheLinkProjectsResponse200Type$inboundSchema: z.ZodNativeEnum = z .nativeEnum(UpdateProjectDataCacheLinkProjectsResponse200Type); - /** @internal */ export const UpdateProjectDataCacheLinkProjectsResponse200Type$outboundSchema: z.ZodNativeEnum = UpdateProjectDataCacheLinkProjectsResponse200Type$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheLinkProjectsResponse200Type$ { - /** @deprecated use `UpdateProjectDataCacheLinkProjectsResponse200Type$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectDataCacheLinkProjectsResponse200Type$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheLinkProjectsResponse200Type$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheLinkProjectsResponse200Type$outboundSchema; -} - /** @internal */ export const UpdateProjectDataCacheLinkProjectsResponseDeployHooks$inboundSchema: z.ZodType< @@ -5872,7 +4909,6 @@ export const UpdateProjectDataCacheLinkProjectsResponseDeployHooks$inboundSchema ref: z.string(), url: z.string(), }); - /** @internal */ export type UpdateProjectDataCacheLinkProjectsResponseDeployHooks$Outbound = { createdAt?: number | undefined; @@ -5896,22 +4932,6 @@ export const UpdateProjectDataCacheLinkProjectsResponseDeployHooks$outboundSchem 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 UpdateProjectDataCacheLinkProjectsResponseDeployHooks$ { - /** @deprecated use `UpdateProjectDataCacheLinkProjectsResponseDeployHooks$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectDataCacheLinkProjectsResponseDeployHooks$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheLinkProjectsResponseDeployHooks$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheLinkProjectsResponseDeployHooks$outboundSchema; - /** @deprecated use `UpdateProjectDataCacheLinkProjectsResponseDeployHooks$Outbound` instead. */ - export type Outbound = - UpdateProjectDataCacheLinkProjectsResponseDeployHooks$Outbound; -} - export function updateProjectDataCacheLinkProjectsResponseDeployHooksToJSON( updateProjectDataCacheLinkProjectsResponseDeployHooks: UpdateProjectDataCacheLinkProjectsResponseDeployHooks, @@ -5922,7 +4942,6 @@ export function updateProjectDataCacheLinkProjectsResponseDeployHooksToJSON( ), ); } - export function updateProjectDataCacheLinkProjectsResponseDeployHooksFromJSON( jsonString: string, ): SafeParseResult< @@ -5959,7 +4978,6 @@ export const Link5$inboundSchema: z.ZodType = z sourceless: z.boolean().optional(), productionBranch: z.string(), }); - /** @internal */ export type Link5$Outbound = { name: string; @@ -6002,23 +5020,9 @@ export const Link5$outboundSchema: z.ZodType< productionBranch: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Link5$ { - /** @deprecated use `Link5$inboundSchema` instead. */ - export const inboundSchema = Link5$inboundSchema; - /** @deprecated use `Link5$outboundSchema` instead. */ - export const outboundSchema = Link5$outboundSchema; - /** @deprecated use `Link5$Outbound` instead. */ - export type Outbound = Link5$Outbound; -} - export function link5ToJSON(link5: Link5): string { return JSON.stringify(Link5$outboundSchema.parse(link5)); } - export function link5FromJSON( jsonString: string, ): SafeParseResult { @@ -6033,25 +5037,11 @@ export function link5FromJSON( export const UpdateProjectDataCacheLinkProjectsResponseType$inboundSchema: z.ZodNativeEnum = z .nativeEnum(UpdateProjectDataCacheLinkProjectsResponseType); - /** @internal */ export const UpdateProjectDataCacheLinkProjectsResponseType$outboundSchema: z.ZodNativeEnum = UpdateProjectDataCacheLinkProjectsResponseType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheLinkProjectsResponseType$ { - /** @deprecated use `UpdateProjectDataCacheLinkProjectsResponseType$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectDataCacheLinkProjectsResponseType$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheLinkProjectsResponseType$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheLinkProjectsResponseType$outboundSchema; -} - /** @internal */ export const UpdateProjectDataCacheLinkProjectsDeployHooks$inboundSchema: z.ZodType< @@ -6065,7 +5055,6 @@ export const UpdateProjectDataCacheLinkProjectsDeployHooks$inboundSchema: ref: z.string(), url: z.string(), }); - /** @internal */ export type UpdateProjectDataCacheLinkProjectsDeployHooks$Outbound = { createdAt?: number | undefined; @@ -6089,21 +5078,6 @@ export const UpdateProjectDataCacheLinkProjectsDeployHooks$outboundSchema: 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 UpdateProjectDataCacheLinkProjectsDeployHooks$ { - /** @deprecated use `UpdateProjectDataCacheLinkProjectsDeployHooks$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectDataCacheLinkProjectsDeployHooks$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheLinkProjectsDeployHooks$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheLinkProjectsDeployHooks$outboundSchema; - /** @deprecated use `UpdateProjectDataCacheLinkProjectsDeployHooks$Outbound` instead. */ - export type Outbound = UpdateProjectDataCacheLinkProjectsDeployHooks$Outbound; -} - export function updateProjectDataCacheLinkProjectsDeployHooksToJSON( updateProjectDataCacheLinkProjectsDeployHooks: UpdateProjectDataCacheLinkProjectsDeployHooks, @@ -6114,7 +5088,6 @@ export function updateProjectDataCacheLinkProjectsDeployHooksToJSON( ), ); } - export function updateProjectDataCacheLinkProjectsDeployHooksFromJSON( jsonString: string, ): SafeParseResult< @@ -6150,7 +5123,6 @@ export const Link4$inboundSchema: z.ZodType = z sourceless: z.boolean().optional(), productionBranch: z.string(), }); - /** @internal */ export type Link4$Outbound = { projectId: string; @@ -6191,23 +5163,9 @@ export const Link4$outboundSchema: z.ZodType< productionBranch: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Link4$ { - /** @deprecated use `Link4$inboundSchema` instead. */ - export const inboundSchema = Link4$inboundSchema; - /** @deprecated use `Link4$outboundSchema` instead. */ - export const outboundSchema = Link4$outboundSchema; - /** @deprecated use `Link4$Outbound` instead. */ - export type Outbound = Link4$Outbound; -} - export function link4ToJSON(link4: Link4): string { return JSON.stringify(Link4$outboundSchema.parse(link4)); } - export function link4FromJSON( jsonString: string, ): SafeParseResult { @@ -6223,25 +5181,11 @@ 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, @@ -6254,7 +5198,6 @@ export const UpdateProjectDataCacheLinkDeployHooks$inboundSchema: z.ZodType< ref: z.string(), url: z.string(), }); - /** @internal */ export type UpdateProjectDataCacheLinkDeployHooks$Outbound = { createdAt?: number | undefined; @@ -6277,21 +5220,6 @@ export const UpdateProjectDataCacheLinkDeployHooks$outboundSchema: z.ZodType< 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 { @@ -6301,7 +5229,6 @@ export function updateProjectDataCacheLinkDeployHooksToJSON( ), ); } - export function updateProjectDataCacheLinkDeployHooksFromJSON( jsonString: string, ): SafeParseResult { @@ -6331,7 +5258,6 @@ export const Link3$inboundSchema: z.ZodType = z sourceless: z.boolean().optional(), productionBranch: z.string(), }); - /** @internal */ export type Link3$Outbound = { org: string; @@ -6370,23 +5296,9 @@ export const Link3$outboundSchema: z.ZodType< productionBranch: z.string(), }); -/** - * @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 { @@ -6401,23 +5313,11 @@ export function link3FromJSON( 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, @@ -6430,7 +5330,6 @@ export const LinkDeployHooks$inboundSchema: z.ZodType< ref: z.string(), url: z.string(), }); - /** @internal */ export type LinkDeployHooks$Outbound = { createdAt?: number | undefined; @@ -6453,25 +5352,11 @@ export const LinkDeployHooks$outboundSchema: z.ZodType< 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 { @@ -6497,7 +5382,6 @@ export const Link2$inboundSchema: z.ZodType = z sourceless: z.boolean().optional(), productionBranch: z.string(), }); - /** @internal */ export type Link2$Outbound = { type: string; @@ -6532,23 +5416,9 @@ export const Link2$outboundSchema: z.ZodType< productionBranch: z.string(), }); -/** - * @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 { @@ -6562,22 +5432,10 @@ export function link2FromJSON( /** @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, @@ -6590,7 +5448,6 @@ export const DeployHooks$inboundSchema: z.ZodType< ref: z.string(), url: z.string(), }); - /** @internal */ export type DeployHooks$Outbound = { createdAt?: number | undefined; @@ -6613,23 +5470,9 @@ export const DeployHooks$outboundSchema: z.ZodType< 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 { @@ -6655,7 +5498,6 @@ export const Link1$inboundSchema: z.ZodType = z sourceless: z.boolean().optional(), productionBranch: z.string(), }); - /** @internal */ export type Link1$Outbound = { org: string; @@ -6690,23 +5532,9 @@ export const Link1$outboundSchema: z.ZodType< productionBranch: z.string(), }); -/** - * @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 { @@ -6726,7 +5554,6 @@ export const Link$inboundSchema: z.ZodType = z z.lazy(() => Link1$inboundSchema), z.lazy(() => Link2$inboundSchema), ]); - /** @internal */ export type Link$Outbound = | Link4$Outbound @@ -6745,23 +5572,9 @@ export const Link$outboundSchema: z.ZodType = 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 { @@ -6773,49 +5586,99 @@ export function linkFromJSON( } /** @internal */ -export const UpdateProjectDataCacheMicrofrontends2$inboundSchema: z.ZodType< - UpdateProjectDataCacheMicrofrontends2, +export const UpdateProjectDataCacheMicrofrontends3$inboundSchema: z.ZodType< + UpdateProjectDataCacheMicrofrontends3, z.ZodTypeDef, unknown > = z.object({ updatedAt: z.number(), groupIds: z.array(z.any()), enabled: z.boolean(), + freeProjectForLegacyLimits: z.boolean().optional(), }); - /** @internal */ -export type UpdateProjectDataCacheMicrofrontends2$Outbound = { +export type UpdateProjectDataCacheMicrofrontends3$Outbound = { updatedAt: number; groupIds: Array; enabled: boolean; + freeProjectForLegacyLimits?: boolean | undefined; }; /** @internal */ -export const UpdateProjectDataCacheMicrofrontends2$outboundSchema: z.ZodType< - UpdateProjectDataCacheMicrofrontends2$Outbound, +export const UpdateProjectDataCacheMicrofrontends3$outboundSchema: z.ZodType< + UpdateProjectDataCacheMicrofrontends3$Outbound, z.ZodTypeDef, - UpdateProjectDataCacheMicrofrontends2 + UpdateProjectDataCacheMicrofrontends3 > = z.object({ updatedAt: z.number(), groupIds: z.array(z.any()), enabled: z.boolean(), + freeProjectForLegacyLimits: 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 UpdateProjectDataCacheMicrofrontends2$ { - /** @deprecated use `UpdateProjectDataCacheMicrofrontends2$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectDataCacheMicrofrontends2$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheMicrofrontends2$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheMicrofrontends2$outboundSchema; - /** @deprecated use `UpdateProjectDataCacheMicrofrontends2$Outbound` instead. */ - export type Outbound = UpdateProjectDataCacheMicrofrontends2$Outbound; +export function updateProjectDataCacheMicrofrontends3ToJSON( + updateProjectDataCacheMicrofrontends3: UpdateProjectDataCacheMicrofrontends3, +): string { + return JSON.stringify( + UpdateProjectDataCacheMicrofrontends3$outboundSchema.parse( + updateProjectDataCacheMicrofrontends3, + ), + ); +} +export function updateProjectDataCacheMicrofrontends3FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + UpdateProjectDataCacheMicrofrontends3$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectDataCacheMicrofrontends3' from JSON`, + ); } +/** @internal */ +export const UpdateProjectDataCacheMicrofrontends2$inboundSchema: z.ZodType< + UpdateProjectDataCacheMicrofrontends2, + z.ZodTypeDef, + unknown +> = z.object({ + isDefaultApp: z.boolean().optional(), + routeObservabilityToThisProject: z.boolean().optional(), + doNotRouteWithMicrofrontendsRouting: z.boolean().optional(), + updatedAt: z.number(), + groupIds: z.array(z.string()), + enabled: z.boolean(), + defaultRoute: z.string().optional(), + freeProjectForLegacyLimits: z.boolean().optional(), +}); +/** @internal */ +export type UpdateProjectDataCacheMicrofrontends2$Outbound = { + isDefaultApp?: boolean | undefined; + routeObservabilityToThisProject?: boolean | undefined; + doNotRouteWithMicrofrontendsRouting?: boolean | undefined; + updatedAt: number; + groupIds: Array; + enabled: boolean; + defaultRoute?: string | undefined; + freeProjectForLegacyLimits?: boolean | undefined; +}; + +/** @internal */ +export const UpdateProjectDataCacheMicrofrontends2$outboundSchema: z.ZodType< + UpdateProjectDataCacheMicrofrontends2$Outbound, + z.ZodTypeDef, + UpdateProjectDataCacheMicrofrontends2 +> = z.object({ + isDefaultApp: z.boolean().optional(), + routeObservabilityToThisProject: z.boolean().optional(), + doNotRouteWithMicrofrontendsRouting: z.boolean().optional(), + updatedAt: z.number(), + groupIds: z.array(z.string()), + enabled: z.boolean(), + defaultRoute: z.string().optional(), + freeProjectForLegacyLimits: z.boolean().optional(), +}); + export function updateProjectDataCacheMicrofrontends2ToJSON( updateProjectDataCacheMicrofrontends2: UpdateProjectDataCacheMicrofrontends2, ): string { @@ -6825,7 +5688,6 @@ export function updateProjectDataCacheMicrofrontends2ToJSON( ), ); } - export function updateProjectDataCacheMicrofrontends2FromJSON( jsonString: string, ): SafeParseResult { @@ -6843,22 +5705,21 @@ export const UpdateProjectDataCacheMicrofrontends1$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ + isDefaultApp: z.boolean(), updatedAt: z.number(), groupIds: z.array(z.string()), enabled: z.boolean(), - isDefaultApp: z.boolean().optional(), defaultRoute: z.string().optional(), - routeObservabilityToThisProject: z.boolean().optional(), + freeProjectForLegacyLimits: z.boolean().optional(), }); - /** @internal */ export type UpdateProjectDataCacheMicrofrontends1$Outbound = { + isDefaultApp: boolean; updatedAt: number; groupIds: Array; enabled: boolean; - isDefaultApp?: boolean | undefined; defaultRoute?: string | undefined; - routeObservabilityToThisProject?: boolean | undefined; + freeProjectForLegacyLimits?: boolean | undefined; }; /** @internal */ @@ -6867,29 +5728,14 @@ export const UpdateProjectDataCacheMicrofrontends1$outboundSchema: z.ZodType< z.ZodTypeDef, UpdateProjectDataCacheMicrofrontends1 > = z.object({ + isDefaultApp: z.boolean(), updatedAt: z.number(), groupIds: z.array(z.string()), enabled: z.boolean(), - isDefaultApp: z.boolean().optional(), defaultRoute: z.string().optional(), - routeObservabilityToThisProject: z.boolean().optional(), + freeProjectForLegacyLimits: 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 UpdateProjectDataCacheMicrofrontends1$ { - /** @deprecated use `UpdateProjectDataCacheMicrofrontends1$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectDataCacheMicrofrontends1$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheMicrofrontends1$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheMicrofrontends1$outboundSchema; - /** @deprecated use `UpdateProjectDataCacheMicrofrontends1$Outbound` instead. */ - export type Outbound = UpdateProjectDataCacheMicrofrontends1$Outbound; -} - export function updateProjectDataCacheMicrofrontends1ToJSON( updateProjectDataCacheMicrofrontends1: UpdateProjectDataCacheMicrofrontends1, ): string { @@ -6899,7 +5745,6 @@ export function updateProjectDataCacheMicrofrontends1ToJSON( ), ); } - export function updateProjectDataCacheMicrofrontends1FromJSON( jsonString: string, ): SafeParseResult { @@ -6919,12 +5764,13 @@ export const UpdateProjectDataCacheMicrofrontends$inboundSchema: z.ZodType< > = z.union([ z.lazy(() => UpdateProjectDataCacheMicrofrontends1$inboundSchema), z.lazy(() => UpdateProjectDataCacheMicrofrontends2$inboundSchema), + z.lazy(() => UpdateProjectDataCacheMicrofrontends3$inboundSchema), ]); - /** @internal */ export type UpdateProjectDataCacheMicrofrontends$Outbound = | UpdateProjectDataCacheMicrofrontends1$Outbound - | UpdateProjectDataCacheMicrofrontends2$Outbound; + | UpdateProjectDataCacheMicrofrontends2$Outbound + | UpdateProjectDataCacheMicrofrontends3$Outbound; /** @internal */ export const UpdateProjectDataCacheMicrofrontends$outboundSchema: z.ZodType< @@ -6934,23 +5780,9 @@ export const UpdateProjectDataCacheMicrofrontends$outboundSchema: z.ZodType< > = z.union([ z.lazy(() => UpdateProjectDataCacheMicrofrontends1$outboundSchema), z.lazy(() => UpdateProjectDataCacheMicrofrontends2$outboundSchema), + z.lazy(() => UpdateProjectDataCacheMicrofrontends3$outboundSchema), ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheMicrofrontends$ { - /** @deprecated use `UpdateProjectDataCacheMicrofrontends$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectDataCacheMicrofrontends$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheMicrofrontends$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheMicrofrontends$outboundSchema; - /** @deprecated use `UpdateProjectDataCacheMicrofrontends$Outbound` instead. */ - export type Outbound = UpdateProjectDataCacheMicrofrontends$Outbound; -} - export function updateProjectDataCacheMicrofrontendsToJSON( updateProjectDataCacheMicrofrontends: UpdateProjectDataCacheMicrofrontends, ): string { @@ -6960,7 +5792,6 @@ export function updateProjectDataCacheMicrofrontendsToJSON( ), ); } - export function updateProjectDataCacheMicrofrontendsFromJSON( jsonString: string, ): SafeParseResult { @@ -6976,24 +5807,11 @@ export function updateProjectDataCacheMicrofrontendsFromJSON( 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, @@ -7002,7 +5820,6 @@ export const UpdateProjectDataCachePaths$inboundSchema: z.ZodType< > = z.object({ value: z.string(), }); - /** @internal */ export type UpdateProjectDataCachePaths$Outbound = { value: string; @@ -7017,19 +5834,6 @@ export const UpdateProjectDataCachePaths$outboundSchema: z.ZodType< 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 { @@ -7039,7 +5843,6 @@ export function updateProjectDataCachePathsToJSON( ), ); } - export function updateProjectDataCachePathsFromJSON( jsonString: string, ): SafeParseResult { @@ -7058,7 +5861,6 @@ export const UpdateProjectDataCacheOptionsAllowlist$inboundSchema: z.ZodType< > = z.object({ paths: z.array(z.lazy(() => UpdateProjectDataCachePaths$inboundSchema)), }); - /** @internal */ export type UpdateProjectDataCacheOptionsAllowlist$Outbound = { paths: Array; @@ -7073,21 +5875,6 @@ export const UpdateProjectDataCacheOptionsAllowlist$outboundSchema: z.ZodType< 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, @@ -7098,7 +5885,6 @@ export function updateProjectDataCacheOptionsAllowlistToJSON( ), ); } - export function updateProjectDataCacheOptionsAllowlistFromJSON( jsonString: string, ): SafeParseResult { @@ -7116,7 +5902,6 @@ export const UpdateProjectDataCachePasswordProtection$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({}); - /** @internal */ export type UpdateProjectDataCachePasswordProtection$Outbound = {}; @@ -7127,21 +5912,6 @@ export const UpdateProjectDataCachePasswordProtection$outboundSchema: z.ZodType< 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, @@ -7152,7 +5922,6 @@ export function updateProjectDataCachePasswordProtectionToJSON( ), ); } - export function updateProjectDataCachePasswordProtectionFromJSON( jsonString: string, ): SafeParseResult< @@ -7174,49 +5943,21 @@ export const UpdateProjectDataCacheProjectsFunctionDefaultMemoryType$inboundSche z.ZodNativeEnum< typeof UpdateProjectDataCacheProjectsFunctionDefaultMemoryType > = z.nativeEnum(UpdateProjectDataCacheProjectsFunctionDefaultMemoryType); - /** @internal */ export const UpdateProjectDataCacheProjectsFunctionDefaultMemoryType$outboundSchema: z.ZodNativeEnum< typeof UpdateProjectDataCacheProjectsFunctionDefaultMemoryType > = UpdateProjectDataCacheProjectsFunctionDefaultMemoryType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheProjectsFunctionDefaultMemoryType$ { - /** @deprecated use `UpdateProjectDataCacheProjectsFunctionDefaultMemoryType$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectDataCacheProjectsFunctionDefaultMemoryType$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheProjectsFunctionDefaultMemoryType$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheProjectsFunctionDefaultMemoryType$outboundSchema; -} - /** @internal */ export const UpdateProjectDataCacheProjectsBuildMachineType$inboundSchema: z.ZodNativeEnum = z .nativeEnum(UpdateProjectDataCacheProjectsBuildMachineType); - /** @internal */ export const UpdateProjectDataCacheProjectsBuildMachineType$outboundSchema: z.ZodNativeEnum = UpdateProjectDataCacheProjectsBuildMachineType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheProjectsBuildMachineType$ { - /** @deprecated use `UpdateProjectDataCacheProjectsBuildMachineType$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectDataCacheProjectsBuildMachineType$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheProjectsBuildMachineType$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheProjectsBuildMachineType$outboundSchema; -} - /** @internal */ export const UpdateProjectDataCacheResourceConfig$inboundSchema: z.ZodType< UpdateProjectDataCacheResourceConfig, @@ -7235,7 +5976,6 @@ export const UpdateProjectDataCacheResourceConfig$inboundSchema: z.ZodType< .optional(), isNSNBDisabled: z.boolean().optional(), }); - /** @internal */ export type UpdateProjectDataCacheResourceConfig$Outbound = { fluid?: boolean | undefined; @@ -7267,21 +6007,6 @@ export const UpdateProjectDataCacheResourceConfig$outboundSchema: z.ZodType< isNSNBDisabled: 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 { @@ -7291,7 +6016,6 @@ export function updateProjectDataCacheResourceConfigToJSON( ), ); } - export function updateProjectDataCacheResourceConfigFromJSON( jsonString: string, ): SafeParseResult { @@ -7314,7 +6038,6 @@ export const RollbackDescription$inboundSchema: z.ZodType< description: z.string(), createdAt: z.number(), }); - /** @internal */ export type RollbackDescription$Outbound = { userId: string; @@ -7335,19 +6058,6 @@ export const RollbackDescription$outboundSchema: z.ZodType< 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 RollbackDescription$ { - /** @deprecated use `RollbackDescription$inboundSchema` instead. */ - export const inboundSchema = RollbackDescription$inboundSchema; - /** @deprecated use `RollbackDescription$outboundSchema` instead. */ - export const outboundSchema = RollbackDescription$outboundSchema; - /** @deprecated use `RollbackDescription$Outbound` instead. */ - export type Outbound = RollbackDescription$Outbound; -} - export function rollbackDescriptionToJSON( rollbackDescription: RollbackDescription, ): string { @@ -7355,7 +6065,6 @@ export function rollbackDescriptionToJSON( RollbackDescription$outboundSchema.parse(rollbackDescription), ); } - export function rollbackDescriptionFromJSON( jsonString: string, ): SafeParseResult { @@ -7374,7 +6083,6 @@ export const Stages$inboundSchema: z.ZodType = z duration: z.number().optional(), linearShift: z.boolean().optional(), }); - /** @internal */ export type Stages$Outbound = { targetPercentage: number; @@ -7395,23 +6103,9 @@ export const Stages$outboundSchema: z.ZodType< linearShift: 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 Stages$ { - /** @deprecated use `Stages$inboundSchema` instead. */ - export const inboundSchema = Stages$inboundSchema; - /** @deprecated use `Stages$outboundSchema` instead. */ - export const outboundSchema = Stages$outboundSchema; - /** @deprecated use `Stages$Outbound` instead. */ - export type Outbound = Stages$Outbound; -} - export function stagesToJSON(stages: Stages): string { return JSON.stringify(Stages$outboundSchema.parse(stages)); } - export function stagesFromJSON( jsonString: string, ): SafeParseResult { @@ -7432,7 +6126,6 @@ export const RollingRelease$inboundSchema: z.ZodType< stages: z.nullable(z.array(z.lazy(() => Stages$inboundSchema))).optional(), canaryResponseHeader: z.boolean().optional(), }); - /** @internal */ export type RollingRelease$Outbound = { target: string; @@ -7451,23 +6144,9 @@ export const RollingRelease$outboundSchema: z.ZodType< canaryResponseHeader: 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 RollingRelease$ { - /** @deprecated use `RollingRelease$inboundSchema` instead. */ - export const inboundSchema = RollingRelease$inboundSchema; - /** @deprecated use `RollingRelease$outboundSchema` instead. */ - export const outboundSchema = RollingRelease$outboundSchema; - /** @deprecated use `RollingRelease$Outbound` instead. */ - export type Outbound = RollingRelease$Outbound; -} - export function rollingReleaseToJSON(rollingRelease: RollingRelease): string { return JSON.stringify(RollingRelease$outboundSchema.parse(rollingRelease)); } - export function rollingReleaseFromJSON( jsonString: string, ): SafeParseResult { @@ -7482,49 +6161,21 @@ export function rollingReleaseFromJSON( export const UpdateProjectDataCacheFunctionDefaultMemoryType$inboundSchema: z.ZodNativeEnum = z .nativeEnum(UpdateProjectDataCacheFunctionDefaultMemoryType); - /** @internal */ export const UpdateProjectDataCacheFunctionDefaultMemoryType$outboundSchema: z.ZodNativeEnum = UpdateProjectDataCacheFunctionDefaultMemoryType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheFunctionDefaultMemoryType$ { - /** @deprecated use `UpdateProjectDataCacheFunctionDefaultMemoryType$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectDataCacheFunctionDefaultMemoryType$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheFunctionDefaultMemoryType$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheFunctionDefaultMemoryType$outboundSchema; -} - /** @internal */ export const UpdateProjectDataCacheBuildMachineType$inboundSchema: z.ZodNativeEnum = z.nativeEnum( UpdateProjectDataCacheBuildMachineType, ); - /** @internal */ export const UpdateProjectDataCacheBuildMachineType$outboundSchema: z.ZodNativeEnum = UpdateProjectDataCacheBuildMachineType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheBuildMachineType$ { - /** @deprecated use `UpdateProjectDataCacheBuildMachineType$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectDataCacheBuildMachineType$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheBuildMachineType$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheBuildMachineType$outboundSchema; -} - /** @internal */ export const DefaultResourceConfig$inboundSchema: z.ZodType< DefaultResourceConfig, @@ -7542,7 +6193,6 @@ export const DefaultResourceConfig$inboundSchema: z.ZodType< .optional(), isNSNBDisabled: z.boolean().optional(), }); - /** @internal */ export type DefaultResourceConfig$Outbound = { fluid?: boolean | undefined; @@ -7573,19 +6223,6 @@ export const DefaultResourceConfig$outboundSchema: z.ZodType< isNSNBDisabled: 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 DefaultResourceConfig$ { - /** @deprecated use `DefaultResourceConfig$inboundSchema` instead. */ - export const inboundSchema = DefaultResourceConfig$inboundSchema; - /** @deprecated use `DefaultResourceConfig$outboundSchema` instead. */ - export const outboundSchema = DefaultResourceConfig$outboundSchema; - /** @deprecated use `DefaultResourceConfig$Outbound` instead. */ - export type Outbound = DefaultResourceConfig$Outbound; -} - export function defaultResourceConfigToJSON( defaultResourceConfig: DefaultResourceConfig, ): string { @@ -7593,7 +6230,6 @@ export function defaultResourceConfigToJSON( DefaultResourceConfig$outboundSchema.parse(defaultResourceConfig), ); } - export function defaultResourceConfigFromJSON( jsonString: string, ): SafeParseResult { @@ -7604,30 +6240,63 @@ export function defaultResourceConfigFromJSON( ); } +/** @internal */ +export const UpdateProjectDataCacheStaticIps$inboundSchema: z.ZodType< + UpdateProjectDataCacheStaticIps, + z.ZodTypeDef, + unknown +> = z.object({ + builds: z.boolean(), + enabled: z.boolean(), + regions: z.array(z.string()), +}); +/** @internal */ +export type UpdateProjectDataCacheStaticIps$Outbound = { + builds: boolean; + enabled: boolean; + regions: Array; +}; + +/** @internal */ +export const UpdateProjectDataCacheStaticIps$outboundSchema: z.ZodType< + UpdateProjectDataCacheStaticIps$Outbound, + z.ZodTypeDef, + UpdateProjectDataCacheStaticIps +> = z.object({ + builds: z.boolean(), + enabled: z.boolean(), + regions: z.array(z.string()), +}); + +export function updateProjectDataCacheStaticIpsToJSON( + updateProjectDataCacheStaticIps: UpdateProjectDataCacheStaticIps, +): string { + return JSON.stringify( + UpdateProjectDataCacheStaticIps$outboundSchema.parse( + updateProjectDataCacheStaticIps, + ), + ); +} +export function updateProjectDataCacheStaticIpsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectDataCacheStaticIps$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectDataCacheStaticIps' 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, @@ -7636,7 +6305,6 @@ export const UpdateProjectDataCacheSsoProtection$inboundSchema: z.ZodType< > = z.object({ deploymentType: UpdateProjectDataCacheDeploymentType$inboundSchema, }); - /** @internal */ export type UpdateProjectDataCacheSsoProtection$Outbound = { deploymentType: string; @@ -7651,21 +6319,6 @@ export const UpdateProjectDataCacheSsoProtection$outboundSchema: z.ZodType< 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 { @@ -7675,7 +6328,6 @@ export function updateProjectDataCacheSsoProtectionToJSON( ), ); } - export function updateProjectDataCacheSsoProtectionFromJSON( jsonString: string, ): SafeParseResult { @@ -7693,7 +6345,6 @@ export const UpdateProjectDataCacheAliasAssigned$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.union([z.number(), z.boolean()]); - /** @internal */ export type UpdateProjectDataCacheAliasAssigned$Outbound = number | boolean; @@ -7704,21 +6355,6 @@ export const UpdateProjectDataCacheAliasAssigned$outboundSchema: z.ZodType< 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 { @@ -7728,7 +6364,6 @@ export function updateProjectDataCacheAliasAssignedToJSON( ), ); } - export function updateProjectDataCacheAliasAssignedFromJSON( jsonString: string, ): SafeParseResult { @@ -7749,7 +6384,6 @@ export const UpdateProjectDataCacheAliasError$inboundSchema: z.ZodType< code: z.string(), message: z.string(), }); - /** @internal */ export type UpdateProjectDataCacheAliasError$Outbound = { code: string; @@ -7766,19 +6400,6 @@ export const UpdateProjectDataCacheAliasError$outboundSchema: z.ZodType< 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 { @@ -7788,7 +6409,6 @@ export function updateProjectDataCacheAliasErrorToJSON( ), ); } - export function updateProjectDataCacheAliasErrorFromJSON( jsonString: string, ): SafeParseResult { @@ -7806,7 +6426,6 @@ export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBod > = z.nativeEnum( UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType, ); - /** @internal */ export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema: z.ZodNativeEnum< @@ -7814,19 +6433,6 @@ export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBod > = 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 UpdateProjectDataCacheProjectsBranchMatcher$inboundSchema: z.ZodType< @@ -7838,7 +6444,6 @@ export const UpdateProjectDataCacheProjectsBranchMatcher$inboundSchema: UpdateProjectDataCacheProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema, pattern: z.string(), }); - /** @internal */ export type UpdateProjectDataCacheProjectsBranchMatcher$Outbound = { type: string; @@ -7857,21 +6462,6 @@ export const UpdateProjectDataCacheProjectsBranchMatcher$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 UpdateProjectDataCacheProjectsBranchMatcher$ { - /** @deprecated use `UpdateProjectDataCacheProjectsBranchMatcher$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectDataCacheProjectsBranchMatcher$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheProjectsBranchMatcher$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheProjectsBranchMatcher$outboundSchema; - /** @deprecated use `UpdateProjectDataCacheProjectsBranchMatcher$Outbound` instead. */ - export type Outbound = UpdateProjectDataCacheProjectsBranchMatcher$Outbound; -} - export function updateProjectDataCacheProjectsBranchMatcherToJSON( updateProjectDataCacheProjectsBranchMatcher: UpdateProjectDataCacheProjectsBranchMatcher, @@ -7882,7 +6472,6 @@ export function updateProjectDataCacheProjectsBranchMatcherToJSON( ), ); } - export function updateProjectDataCacheProjectsBranchMatcherFromJSON( jsonString: string, ): SafeParseResult< @@ -7909,7 +6498,6 @@ export const UpdateProjectDataCacheBuilds$inboundSchema: z.ZodType< src: z.string().optional(), dest: z.string().optional(), }); - /** @internal */ export type UpdateProjectDataCacheBuilds$Outbound = { use: string; @@ -7928,19 +6516,6 @@ export const UpdateProjectDataCacheBuilds$outboundSchema: z.ZodType< 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 { @@ -7950,7 +6525,6 @@ export function updateProjectDataCacheBuildsToJSON( ), ); } - export function updateProjectDataCacheBuildsFromJSON( jsonString: string, ): SafeParseResult { @@ -7966,47 +6540,20 @@ 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, @@ -8019,7 +6566,6 @@ export const UpdateProjectDataCacheCreator$inboundSchema: z.ZodType< uid: z.string(), username: z.string(), }); - /** @internal */ export type UpdateProjectDataCacheCreator$Outbound = { email: string; @@ -8042,19 +6588,6 @@ export const UpdateProjectDataCacheCreator$outboundSchema: z.ZodType< 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 { @@ -8064,7 +6597,6 @@ export function updateProjectDataCacheCreatorToJSON( ), ); } - export function updateProjectDataCacheCreatorFromJSON( jsonString: string, ): SafeParseResult { @@ -8090,13 +6622,13 @@ export const UpdateProjectDataCacheOidcTokenClaims$inboundSchema: z.ZodType< project: z.string(), project_id: z.string(), environment: z.string(), + plan: z.string(), }).transform((v) => { return remap$(v, { "owner_id": "ownerId", "project_id": "projectId", }); }); - /** @internal */ export type UpdateProjectDataCacheOidcTokenClaims$Outbound = { iss: string; @@ -8108,6 +6640,7 @@ export type UpdateProjectDataCacheOidcTokenClaims$Outbound = { project: string; project_id: string; environment: string; + plan: string; }; /** @internal */ @@ -8125,6 +6658,7 @@ export const UpdateProjectDataCacheOidcTokenClaims$outboundSchema: z.ZodType< project: z.string(), projectId: z.string(), environment: z.string(), + plan: z.string(), }).transform((v) => { return remap$(v, { ownerId: "owner_id", @@ -8132,21 +6666,6 @@ export const UpdateProjectDataCacheOidcTokenClaims$outboundSchema: z.ZodType< }); }); -/** - * @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 { @@ -8156,7 +6675,6 @@ export function updateProjectDataCacheOidcTokenClaimsToJSON( ), ); } - export function updateProjectDataCacheOidcTokenClaimsFromJSON( jsonString: string, ): SafeParseResult { @@ -8172,90 +6690,38 @@ export function updateProjectDataCacheOidcTokenClaimsFromJSON( 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 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 Targets$inboundSchema: z.ZodType = z.object({ @@ -8306,7 +6772,6 @@ export const Targets$inboundSchema: z.ZodType = userId: z.string(), withCache: z.boolean().optional(), }); - /** @internal */ export type Targets$Outbound = { id: string; @@ -8403,23 +6868,9 @@ export const Targets$outboundSchema: z.ZodType< 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 { @@ -8431,8 +6882,8 @@ export function targetsFromJSON( } /** @internal */ -export const Permissions$inboundSchema: z.ZodType< - Permissions, +export const UpdateProjectDataCachePermissions$inboundSchema: z.ZodType< + UpdateProjectDataCachePermissions, z.ZodTypeDef, unknown > = z.object({ @@ -8442,9 +6893,17 @@ export const Permissions$inboundSchema: z.ZodType< userSudo: z.array(ACLAction$inboundSchema).optional(), webAuthn: z.array(ACLAction$inboundSchema).optional(), accessGroup: z.array(ACLAction$inboundSchema).optional(), + agent: z.array(ACLAction$inboundSchema).optional(), + alerts: z.array(ACLAction$inboundSchema).optional(), aliasGlobal: z.array(ACLAction$inboundSchema).optional(), analyticsSampling: z.array(ACLAction$inboundSchema).optional(), analyticsUsage: z.array(ACLAction$inboundSchema).optional(), + apiKey: z.array(ACLAction$inboundSchema).optional(), + apiKeyAiGateway: z.array(ACLAction$inboundSchema).optional(), + apiKeyOwnedBySelf: z.array(ACLAction$inboundSchema).optional(), + oauth2Application: z.array(ACLAction$inboundSchema).optional(), + vercelAppInstallation: z.array(ACLAction$inboundSchema).optional(), + vercelAppInstallationRequest: z.array(ACLAction$inboundSchema).optional(), auditLog: z.array(ACLAction$inboundSchema).optional(), billingAddress: z.array(ACLAction$inboundSchema).optional(), billingInformation: z.array(ACLAction$inboundSchema).optional(), @@ -8456,6 +6915,7 @@ export const Permissions$inboundSchema: z.ZodType< billingRefund: z.array(ACLAction$inboundSchema).optional(), billingTaxId: z.array(ACLAction$inboundSchema).optional(), blob: z.array(ACLAction$inboundSchema).optional(), + blobStoreTokenSet: z.array(ACLAction$inboundSchema).optional(), budget: z.array(ACLAction$inboundSchema).optional(), cacheArtifact: z.array(ACLAction$inboundSchema).optional(), cacheArtifactUsageEvent: z.array(ACLAction$inboundSchema).optional(), @@ -8463,6 +6923,7 @@ export const Permissions$inboundSchema: z.ZodType< concurrentBuilds: z.array(ACLAction$inboundSchema).optional(), connect: z.array(ACLAction$inboundSchema).optional(), connectConfiguration: z.array(ACLAction$inboundSchema).optional(), + dataCacheBillingSettings: z.array(ACLAction$inboundSchema).optional(), defaultDeploymentProtection: z.array(ACLAction$inboundSchema).optional(), domain: z.array(ACLAction$inboundSchema).optional(), domainAcceptDelegation: z.array(ACLAction$inboundSchema).optional(), @@ -8473,43 +6934,50 @@ export const Permissions$inboundSchema: z.ZodType< domainPurchase: z.array(ACLAction$inboundSchema).optional(), domainRecord: z.array(ACLAction$inboundSchema).optional(), domainTransferIn: z.array(ACLAction$inboundSchema).optional(), + drain: 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(), + endpointVerification: 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(), flagsExplorerSubscription: z.array(ACLAction$inboundSchema).optional(), gitRepository: z.array(ACLAction$inboundSchema).optional(), - ipBlocking: z.array(ACLAction$inboundSchema).optional(), imageOptimizationNewPrice: 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(), - integrationSSOSession: z.array(ACLAction$inboundSchema).optional(), - integrationResource: z.array(ACLAction$inboundSchema).optional(), + integrationConfigurationTransfer: z.array(ACLAction$inboundSchema).optional(), + integrationDeploymentAction: z.array(ACLAction$inboundSchema).optional(), integrationEvent: z.array(ACLAction$inboundSchema).optional(), + integrationLog: z.array(ACLAction$inboundSchema).optional(), + integrationResource: z.array(ACLAction$inboundSchema).optional(), + integrationResourceReplCommand: 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(), - marketplaceSettings: z.array(ACLAction$inboundSchema).optional(), - marketplaceExperimentationItem: z.array(ACLAction$inboundSchema).optional(), - marketplaceExperimentationEdgeConfigData: z.array(ACLAction$inboundSchema) + integrationSSOSession: z.array(ACLAction$inboundSchema).optional(), + integrationStoreTokenSet: z.array(ACLAction$inboundSchema).optional(), + integrationVercelConfigurationOverride: z.array(ACLAction$inboundSchema) .optional(), + integrationPullRequest: z.array(ACLAction$inboundSchema).optional(), + ipBlocking: z.array(ACLAction$inboundSchema).optional(), jobGlobal: z.array(ACLAction$inboundSchema).optional(), - drain: z.array(ACLAction$inboundSchema).optional(), logDrain: z.array(ACLAction$inboundSchema).optional(), + marketplaceBillingData: z.array(ACLAction$inboundSchema).optional(), + marketplaceExperimentationEdgeConfigData: z.array(ACLAction$inboundSchema) + .optional(), + marketplaceExperimentationItem: z.array(ACLAction$inboundSchema).optional(), + marketplaceInstallationMember: z.array(ACLAction$inboundSchema).optional(), + marketplaceInvoice: z.array(ACLAction$inboundSchema).optional(), + marketplaceSettings: 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(), + monitoringChart: z.array(ACLAction$inboundSchema).optional(), + monitoringQuery: z.array(ACLAction$inboundSchema).optional(), + monitoringSettings: z.array(ACLAction$inboundSchema).optional(), + notificationCustomerBudget: z.array(ACLAction$inboundSchema).optional(), notificationDeploymentFailed: z.array(ACLAction$inboundSchema).optional(), notificationDomainConfiguration: z.array(ACLAction$inboundSchema).optional(), notificationDomainExpire: z.array(ACLAction$inboundSchema).optional(), @@ -8520,42 +6988,39 @@ export const Permissions$inboundSchema: z.ZodType< notificationDomainUnverified: z.array(ACLAction$inboundSchema).optional(), NotificationMonitoringAlert: z.array(ACLAction$inboundSchema).optional(), notificationPaymentFailed: z.array(ACLAction$inboundSchema).optional(), - notificationUsageAlert: z.array(ACLAction$inboundSchema).optional(), notificationPreferences: z.array(ACLAction$inboundSchema).optional(), - notificationCustomerBudget: z.array(ACLAction$inboundSchema).optional(), notificationStatementOfReasons: z.array(ACLAction$inboundSchema).optional(), + notificationUsageAlert: z.array(ACLAction$inboundSchema).optional(), observabilityConfiguration: z.array(ACLAction$inboundSchema).optional(), - alerts: z.array(ACLAction$inboundSchema).optional(), - observabilityNotebook: z.array(ACLAction$inboundSchema).optional(), observabilityFunnel: z.array(ACLAction$inboundSchema).optional(), + observabilityNotebook: z.array(ACLAction$inboundSchema).optional(), openTelemetryEndpoint: z.array(ACLAction$inboundSchema).optional(), - vercelAppInstallation: z.array(ACLAction$inboundSchema).optional(), - vercelAppInstallationRequest: z.array(ACLAction$inboundSchema).optional(), + ownEvent: z.array(ACLAction$inboundSchema).optional(), + organizationDomain: z.array(ACLAction$inboundSchema).optional(), + passwordProtectionInvoiceItem: z.array(ACLAction$inboundSchema).optional(), paymentMethod: z.array(ACLAction$inboundSchema).optional(), permissions: z.array(ACLAction$inboundSchema).optional(), postgres: z.array(ACLAction$inboundSchema).optional(), + postgresStoreTokenSet: z.array(ACLAction$inboundSchema).optional(), previewDeploymentSuffix: z.array(ACLAction$inboundSchema).optional(), + projectTransferIn: 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(), + redisStoreTokenSet: z.array(ACLAction$inboundSchema).optional(), remoteCaching: z.array(ACLAction$inboundSchema).optional(), + repository: 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(), + sensitiveEnvironmentVariablePolicy: 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(), 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(), @@ -8570,26 +7035,15 @@ export const Permissions$inboundSchema: z.ZodType< token: z.array(ACLAction$inboundSchema).optional(), usage: z.array(ACLAction$inboundSchema).optional(), usageCycle: z.array(ACLAction$inboundSchema).optional(), + vercelRun: z.array(ACLAction$inboundSchema).optional(), + vercelRunExec: z.array(ACLAction$inboundSchema).optional(), vpcPeeringConnection: z.array(ACLAction$inboundSchema).optional(), webAnalyticsPlan: 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(), - vercelRun: z.array(ACLAction$inboundSchema).optional(), - vercelRunExec: z.array(ACLAction$inboundSchema).optional(), - apiKey: z.array(ACLAction$inboundSchema).optional(), - apiKeyOwnedBySelf: z.array(ACLAction$inboundSchema).optional(), - apiKeyAiGateway: z.array(ACLAction$inboundSchema).optional(), aliasProject: z.array(ACLAction$inboundSchema).optional(), aliasProtectionBypass: z.array(ACLAction$inboundSchema).optional(), buildMachine: 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(), @@ -8606,55 +7060,56 @@ export const Permissions$inboundSchema: z.ZodType< deploymentRollback: z.array(ACLAction$inboundSchema).optional(), edgeCacheNamespace: z.array(ACLAction$inboundSchema).optional(), environments: z.array(ACLAction$inboundSchema).optional(), + job: 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(), onDemandBuild: z.array(ACLAction$inboundSchema).optional(), onDemandConcurrency: z.array(ACLAction$inboundSchema).optional(), + optionsAllowlist: z.array(ACLAction$inboundSchema).optional(), + passwordProtection: z.array(ACLAction$inboundSchema).optional(), + productionAliasProtectionBypass: 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(), + projectAnalyticsUsage: z.array(ACLAction$inboundSchema).optional(), projectCheck: z.array(ACLAction$inboundSchema).optional(), projectCheckRun: z.array(ACLAction$inboundSchema).optional(), + projectDeploymentExpiration: 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(), + projectDomainMove: 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(), + projectFlagsProduction: z.array(ACLAction$inboundSchema).optional(), + projectFromV0: 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(), + projectOIDCToken: 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(), + projectRollingRelease: z.array(ACLAction$inboundSchema).optional(), projectSupportCase: z.array(ACLAction$inboundSchema).optional(), projectSupportCaseComment: z.array(ACLAction$inboundSchema).optional(), - projectDeploymentExpiration: z.array(ACLAction$inboundSchema).optional(), - projectRollingRelease: z.array(ACLAction$inboundSchema).optional(), projectTier: z.array(ACLAction$inboundSchema).optional(), - projectOIDCToken: z.array(ACLAction$inboundSchema).optional(), + projectTransfer: z.array(ACLAction$inboundSchema).optional(), + projectTransferOut: z.array(ACLAction$inboundSchema).optional(), + projectUsage: z.array(ACLAction$inboundSchema).optional(), seawallConfig: z.array(ACLAction$inboundSchema).optional(), + sharedEnvVarConnection: z.array(ACLAction$inboundSchema).optional(), skewProtection: z.array(ACLAction$inboundSchema).optional(), analytics: z.array(ACLAction$inboundSchema).optional(), trustedIps: z.array(ACLAction$inboundSchema).optional(), v0Chat: 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", @@ -8662,18 +7117,25 @@ export const Permissions$inboundSchema: z.ZodType< "webhook-event": "webhookEvent", }); }); - /** @internal */ -export type Permissions$Outbound = { +export type UpdateProjectDataCachePermissions$Outbound = { oauth2Connection?: Array | undefined; user?: Array | undefined; userConnection?: Array | undefined; userSudo?: Array | undefined; webAuthn?: Array | undefined; accessGroup?: Array | undefined; + agent?: Array | undefined; + alerts?: Array | undefined; aliasGlobal?: Array | undefined; analyticsSampling?: Array | undefined; analyticsUsage?: Array | undefined; + apiKey?: Array | undefined; + apiKeyAiGateway?: Array | undefined; + apiKeyOwnedBySelf?: Array | undefined; + oauth2Application?: Array | undefined; + vercelAppInstallation?: Array | undefined; + vercelAppInstallationRequest?: Array | undefined; auditLog?: Array | undefined; billingAddress?: Array | undefined; billingInformation?: Array | undefined; @@ -8685,6 +7147,7 @@ export type Permissions$Outbound = { billingRefund?: Array | undefined; billingTaxId?: Array | undefined; blob?: Array | undefined; + blobStoreTokenSet?: Array | undefined; budget?: Array | undefined; cacheArtifact?: Array | undefined; cacheArtifactUsageEvent?: Array | undefined; @@ -8692,6 +7155,7 @@ export type Permissions$Outbound = { concurrentBuilds?: Array | undefined; connect?: Array | undefined; connectConfiguration?: Array | undefined; + dataCacheBillingSettings?: Array | undefined; defaultDeploymentProtection?: Array | undefined; domain?: Array | undefined; domainAcceptDelegation?: Array | undefined; @@ -8702,40 +7166,48 @@ export type Permissions$Outbound = { domainPurchase?: Array | undefined; domainRecord?: Array | undefined; domainTransferIn?: Array | undefined; + drain?: Array | undefined; + edgeConfig?: Array | undefined; + edgeConfigItem?: Array | undefined; + edgeConfigSchema?: Array | undefined; + edgeConfigToken?: Array | undefined; + endpointVerification?: Array | undefined; event?: Array | undefined; - ownEvent?: Array | undefined; - sensitiveEnvironmentVariablePolicy?: Array | undefined; fileUpload?: Array | undefined; flagsExplorerSubscription?: Array | undefined; gitRepository?: Array | undefined; - ipBlocking?: Array | undefined; imageOptimizationNewPrice?: Array | undefined; integration?: Array | undefined; integrationAccount?: Array | undefined; integrationConfiguration?: Array | undefined; - integrationConfigurationTransfer?: Array | undefined; integrationConfigurationProjects?: Array | undefined; - integrationVercelConfigurationOverride?: Array | undefined; integrationConfigurationRole?: Array | undefined; - integrationSSOSession?: Array | undefined; - integrationResource?: Array | undefined; + integrationConfigurationTransfer?: Array | undefined; + integrationDeploymentAction?: Array | undefined; integrationEvent?: Array | undefined; + integrationLog?: Array | undefined; + integrationResource?: Array | undefined; + integrationResourceReplCommand?: Array | undefined; integrationResourceSecrets?: Array | undefined; - integrationDeploymentAction?: Array | undefined; - marketplaceInstallationMember?: Array | undefined; + integrationSSOSession?: Array | undefined; + integrationStoreTokenSet?: Array | undefined; + integrationVercelConfigurationOverride?: Array | undefined; + integrationPullRequest?: Array | undefined; + ipBlocking?: Array | undefined; + jobGlobal?: Array | undefined; + logDrain?: Array | undefined; marketplaceBillingData?: Array | undefined; + marketplaceExperimentationEdgeConfigData?: Array | undefined; + marketplaceExperimentationItem?: Array | undefined; + marketplaceInstallationMember?: Array | undefined; marketplaceInvoice?: Array | undefined; marketplaceSettings?: Array | undefined; - marketplaceExperimentationItem?: Array | undefined; - marketplaceExperimentationEdgeConfigData?: Array | undefined; - jobGlobal?: Array | undefined; - drain?: Array | undefined; - logDrain?: Array | undefined; Monitoring?: Array | undefined; - monitoringSettings?: Array | undefined; - monitoringQuery?: Array | undefined; - monitoringChart?: Array | undefined; monitoringAlert?: Array | undefined; + monitoringChart?: Array | undefined; + monitoringQuery?: Array | undefined; + monitoringSettings?: Array | undefined; + notificationCustomerBudget?: Array | undefined; notificationDeploymentFailed?: Array | undefined; notificationDomainConfiguration?: Array | undefined; notificationDomainExpire?: Array | undefined; @@ -8746,42 +7218,38 @@ export type Permissions$Outbound = { notificationDomainUnverified?: Array | undefined; NotificationMonitoringAlert?: Array | undefined; notificationPaymentFailed?: Array | undefined; - notificationUsageAlert?: Array | undefined; notificationPreferences?: Array | undefined; - notificationCustomerBudget?: Array | undefined; notificationStatementOfReasons?: Array | undefined; + notificationUsageAlert?: Array | undefined; observabilityConfiguration?: Array | undefined; - alerts?: Array | undefined; - observabilityNotebook?: Array | undefined; observabilityFunnel?: Array | undefined; + observabilityNotebook?: Array | undefined; openTelemetryEndpoint?: Array | undefined; - vercelAppInstallation?: Array | undefined; - vercelAppInstallationRequest?: Array | undefined; + ownEvent?: Array | undefined; + organizationDomain?: Array | undefined; + passwordProtectionInvoiceItem?: Array | undefined; paymentMethod?: Array | undefined; permissions?: Array | undefined; postgres?: Array | undefined; + postgresStoreTokenSet?: Array | undefined; previewDeploymentSuffix?: Array | undefined; + projectTransferIn?: 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; + redisStoreTokenSet?: Array | undefined; remoteCaching?: Array | undefined; + repository?: Array | undefined; samlConfig?: Array | undefined; secret?: Array | undefined; - redisStoreTokenSet?: Array | undefined; - blobStoreTokenSet?: Array | undefined; - postgresStoreTokenSet?: Array | undefined; - integrationStoreTokenSet?: Array | undefined; - integrationResourceReplCommand?: Array | undefined; + sensitiveEnvironmentVariablePolicy?: Array | undefined; + sharedEnvVars?: Array | undefined; + sharedEnvVarsProduction?: Array | undefined; + space?: Array | undefined; + spaceRun?: Array | undefined; storeTransfer?: Array | undefined; supportCase?: Array | undefined; supportCaseComment?: Array | undefined; - dataCacheBillingSettings?: Array | undefined; team?: Array | undefined; teamAccessRequest?: Array | undefined; teamFellowMembership?: Array | undefined; @@ -8796,26 +7264,15 @@ export type Permissions$Outbound = { token?: Array | undefined; usage?: Array | undefined; usageCycle?: Array | undefined; + vercelRun?: Array | undefined; + vercelRunExec?: Array | undefined; vpcPeeringConnection?: Array | undefined; webAnalyticsPlan?: 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; - vercelRun?: Array | undefined; - vercelRunExec?: Array | undefined; - apiKey?: Array | undefined; - apiKeyOwnedBySelf?: Array | undefined; - apiKeyAiGateway?: Array | undefined; aliasProject?: Array | undefined; aliasProtectionBypass?: Array | undefined; buildMachine?: Array | undefined; - productionAliasProtectionBypass?: Array | undefined; connectConfigurationLink?: Array | undefined; dataCacheNamespace?: Array | undefined; deployment?: Array | undefined; @@ -8831,61 +7288,62 @@ export type Permissions$Outbound = { deploymentRollback?: Array | undefined; edgeCacheNamespace?: Array | undefined; environments?: Array | undefined; + job?: Array | undefined; logs?: Array | undefined; logsPreset?: Array | undefined; - passwordProtection?: Array | undefined; - optionsAllowlist?: Array | undefined; - job?: Array | undefined; observabilityData?: Array | undefined; onDemandBuild?: Array | undefined; onDemandConcurrency?: Array | undefined; + optionsAllowlist?: Array | undefined; + passwordProtection?: Array | undefined; + productionAliasProtectionBypass?: Array | undefined; project?: Array | undefined; - projectFromV0?: Array | undefined; projectAccessGroup?: Array | undefined; projectAnalyticsSampling?: Array | undefined; + projectAnalyticsUsage?: Array | undefined; projectCheck?: Array | undefined; projectCheckRun?: Array | undefined; + projectDeploymentExpiration?: Array | undefined; projectDeploymentHook?: Array | undefined; projectDomain?: Array | undefined; - projectDomainMove?: Array | undefined; projectDomainCheckConfig?: Array | undefined; + projectDomainMove?: Array | undefined; projectEnvVars?: Array | undefined; projectEnvVarsProduction?: Array | undefined; projectEnvVarsUnownedByIntegration?: Array | undefined; projectFlags?: Array | undefined; + projectFlagsProduction?: Array | undefined; + projectFromV0?: Array | undefined; projectId?: Array | undefined; projectIntegrationConfiguration?: Array | undefined; projectLink?: Array | undefined; projectMember?: Array | undefined; projectMonitoring?: Array | undefined; + projectOIDCToken?: Array | undefined; projectPermissions?: Array | undefined; projectProductionBranch?: Array | undefined; - projectTransfer?: Array | undefined; - projectTransferOut?: Array | undefined; projectProtectionBypass?: Array | undefined; - projectUsage?: Array | undefined; - projectAnalyticsUsage?: Array | undefined; + projectRollingRelease?: Array | undefined; projectSupportCase?: Array | undefined; projectSupportCaseComment?: Array | undefined; - projectDeploymentExpiration?: Array | undefined; - projectRollingRelease?: Array | undefined; projectTier?: Array | undefined; - projectOIDCToken?: Array | undefined; + projectTransfer?: Array | undefined; + projectTransferOut?: Array | undefined; + projectUsage?: Array | undefined; seawallConfig?: Array | undefined; + sharedEnvVarConnection?: Array | undefined; skewProtection?: Array | undefined; analytics?: Array | undefined; trustedIps?: Array | undefined; v0Chat?: Array | undefined; webAnalytics?: Array | undefined; - sharedEnvVarConnection?: Array | undefined; - sonar?: Array | undefined; }; /** @internal */ -export const Permissions$outboundSchema: z.ZodType< - Permissions$Outbound, +export const UpdateProjectDataCachePermissions$outboundSchema: z.ZodType< + UpdateProjectDataCachePermissions$Outbound, z.ZodTypeDef, - Permissions + UpdateProjectDataCachePermissions > = z.object({ oauth2Connection: z.array(ACLAction$outboundSchema).optional(), user: z.array(ACLAction$outboundSchema).optional(), @@ -8893,9 +7351,17 @@ export const Permissions$outboundSchema: z.ZodType< userSudo: z.array(ACLAction$outboundSchema).optional(), webAuthn: z.array(ACLAction$outboundSchema).optional(), accessGroup: z.array(ACLAction$outboundSchema).optional(), + agent: z.array(ACLAction$outboundSchema).optional(), + alerts: z.array(ACLAction$outboundSchema).optional(), aliasGlobal: z.array(ACLAction$outboundSchema).optional(), analyticsSampling: z.array(ACLAction$outboundSchema).optional(), analyticsUsage: z.array(ACLAction$outboundSchema).optional(), + apiKey: z.array(ACLAction$outboundSchema).optional(), + apiKeyAiGateway: z.array(ACLAction$outboundSchema).optional(), + apiKeyOwnedBySelf: z.array(ACLAction$outboundSchema).optional(), + oauth2Application: z.array(ACLAction$outboundSchema).optional(), + vercelAppInstallation: z.array(ACLAction$outboundSchema).optional(), + vercelAppInstallationRequest: z.array(ACLAction$outboundSchema).optional(), auditLog: z.array(ACLAction$outboundSchema).optional(), billingAddress: z.array(ACLAction$outboundSchema).optional(), billingInformation: z.array(ACLAction$outboundSchema).optional(), @@ -8907,6 +7373,7 @@ export const Permissions$outboundSchema: z.ZodType< billingRefund: z.array(ACLAction$outboundSchema).optional(), billingTaxId: z.array(ACLAction$outboundSchema).optional(), blob: z.array(ACLAction$outboundSchema).optional(), + blobStoreTokenSet: z.array(ACLAction$outboundSchema).optional(), budget: z.array(ACLAction$outboundSchema).optional(), cacheArtifact: z.array(ACLAction$outboundSchema).optional(), cacheArtifactUsageEvent: z.array(ACLAction$outboundSchema).optional(), @@ -8914,6 +7381,7 @@ export const Permissions$outboundSchema: z.ZodType< concurrentBuilds: z.array(ACLAction$outboundSchema).optional(), connect: z.array(ACLAction$outboundSchema).optional(), connectConfiguration: z.array(ACLAction$outboundSchema).optional(), + dataCacheBillingSettings: z.array(ACLAction$outboundSchema).optional(), defaultDeploymentProtection: z.array(ACLAction$outboundSchema).optional(), domain: z.array(ACLAction$outboundSchema).optional(), domainAcceptDelegation: z.array(ACLAction$outboundSchema).optional(), @@ -8924,45 +7392,52 @@ export const Permissions$outboundSchema: z.ZodType< domainPurchase: z.array(ACLAction$outboundSchema).optional(), domainRecord: z.array(ACLAction$outboundSchema).optional(), domainTransferIn: z.array(ACLAction$outboundSchema).optional(), + drain: 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(), + endpointVerification: 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(), flagsExplorerSubscription: z.array(ACLAction$outboundSchema).optional(), gitRepository: z.array(ACLAction$outboundSchema).optional(), - ipBlocking: z.array(ACLAction$outboundSchema).optional(), imageOptimizationNewPrice: 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(), - integrationSSOSession: z.array(ACLAction$outboundSchema).optional(), - integrationResource: z.array(ACLAction$outboundSchema).optional(), + integrationConfigurationTransfer: z.array(ACLAction$outboundSchema) + .optional(), + integrationDeploymentAction: z.array(ACLAction$outboundSchema).optional(), integrationEvent: z.array(ACLAction$outboundSchema).optional(), + integrationLog: z.array(ACLAction$outboundSchema).optional(), + integrationResource: z.array(ACLAction$outboundSchema).optional(), + integrationResourceReplCommand: z.array(ACLAction$outboundSchema).optional(), integrationResourceSecrets: z.array(ACLAction$outboundSchema).optional(), - integrationDeploymentAction: z.array(ACLAction$outboundSchema).optional(), - marketplaceInstallationMember: z.array(ACLAction$outboundSchema).optional(), + integrationSSOSession: z.array(ACLAction$outboundSchema).optional(), + integrationStoreTokenSet: z.array(ACLAction$outboundSchema).optional(), + integrationVercelConfigurationOverride: z.array(ACLAction$outboundSchema) + .optional(), + integrationPullRequest: z.array(ACLAction$outboundSchema).optional(), + ipBlocking: z.array(ACLAction$outboundSchema).optional(), + jobGlobal: z.array(ACLAction$outboundSchema).optional(), + logDrain: z.array(ACLAction$outboundSchema).optional(), marketplaceBillingData: z.array(ACLAction$outboundSchema).optional(), + marketplaceExperimentationEdgeConfigData: z.array(ACLAction$outboundSchema) + .optional(), + marketplaceExperimentationItem: z.array(ACLAction$outboundSchema).optional(), + marketplaceInstallationMember: z.array(ACLAction$outboundSchema).optional(), marketplaceInvoice: z.array(ACLAction$outboundSchema).optional(), marketplaceSettings: z.array(ACLAction$outboundSchema).optional(), - marketplaceExperimentationItem: z.array(ACLAction$outboundSchema).optional(), - marketplaceExperimentationEdgeConfigData: z.array(ACLAction$outboundSchema) - .optional(), - jobGlobal: z.array(ACLAction$outboundSchema).optional(), - drain: 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(), + monitoringChart: z.array(ACLAction$outboundSchema).optional(), + monitoringQuery: z.array(ACLAction$outboundSchema).optional(), + monitoringSettings: z.array(ACLAction$outboundSchema).optional(), + notificationCustomerBudget: z.array(ACLAction$outboundSchema).optional(), notificationDeploymentFailed: z.array(ACLAction$outboundSchema).optional(), notificationDomainConfiguration: z.array(ACLAction$outboundSchema).optional(), notificationDomainExpire: z.array(ACLAction$outboundSchema).optional(), @@ -8973,42 +7448,39 @@ export const Permissions$outboundSchema: z.ZodType< notificationDomainUnverified: z.array(ACLAction$outboundSchema).optional(), notificationMonitoringAlert: z.array(ACLAction$outboundSchema).optional(), notificationPaymentFailed: z.array(ACLAction$outboundSchema).optional(), - notificationUsageAlert: z.array(ACLAction$outboundSchema).optional(), notificationPreferences: z.array(ACLAction$outboundSchema).optional(), - notificationCustomerBudget: z.array(ACLAction$outboundSchema).optional(), notificationStatementOfReasons: z.array(ACLAction$outboundSchema).optional(), + notificationUsageAlert: z.array(ACLAction$outboundSchema).optional(), observabilityConfiguration: z.array(ACLAction$outboundSchema).optional(), - alerts: z.array(ACLAction$outboundSchema).optional(), - observabilityNotebook: z.array(ACLAction$outboundSchema).optional(), observabilityFunnel: z.array(ACLAction$outboundSchema).optional(), + observabilityNotebook: z.array(ACLAction$outboundSchema).optional(), openTelemetryEndpoint: z.array(ACLAction$outboundSchema).optional(), - vercelAppInstallation: z.array(ACLAction$outboundSchema).optional(), - vercelAppInstallationRequest: z.array(ACLAction$outboundSchema).optional(), + ownEvent: z.array(ACLAction$outboundSchema).optional(), + organizationDomain: z.array(ACLAction$outboundSchema).optional(), + passwordProtectionInvoiceItem: z.array(ACLAction$outboundSchema).optional(), paymentMethod: z.array(ACLAction$outboundSchema).optional(), permissions: z.array(ACLAction$outboundSchema).optional(), postgres: z.array(ACLAction$outboundSchema).optional(), + postgresStoreTokenSet: z.array(ACLAction$outboundSchema).optional(), previewDeploymentSuffix: z.array(ACLAction$outboundSchema).optional(), + projectTransferIn: 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(), + redisStoreTokenSet: z.array(ACLAction$outboundSchema).optional(), remoteCaching: z.array(ACLAction$outboundSchema).optional(), + repository: 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(), + sensitiveEnvironmentVariablePolicy: 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(), 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(), @@ -9023,26 +7495,15 @@ export const Permissions$outboundSchema: z.ZodType< token: z.array(ACLAction$outboundSchema).optional(), usage: z.array(ACLAction$outboundSchema).optional(), usageCycle: z.array(ACLAction$outboundSchema).optional(), + vercelRun: z.array(ACLAction$outboundSchema).optional(), + vercelRunExec: z.array(ACLAction$outboundSchema).optional(), vpcPeeringConnection: z.array(ACLAction$outboundSchema).optional(), webAnalyticsPlan: 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(), - vercelRun: z.array(ACLAction$outboundSchema).optional(), - vercelRunExec: z.array(ACLAction$outboundSchema).optional(), - apiKey: z.array(ACLAction$outboundSchema).optional(), - apiKeyOwnedBySelf: z.array(ACLAction$outboundSchema).optional(), - apiKeyAiGateway: z.array(ACLAction$outboundSchema).optional(), aliasProject: z.array(ACLAction$outboundSchema).optional(), aliasProtectionBypass: z.array(ACLAction$outboundSchema).optional(), buildMachine: 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(), @@ -9059,55 +7520,56 @@ export const Permissions$outboundSchema: z.ZodType< deploymentRollback: z.array(ACLAction$outboundSchema).optional(), edgeCacheNamespace: z.array(ACLAction$outboundSchema).optional(), environments: z.array(ACLAction$outboundSchema).optional(), + job: 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(), onDemandBuild: z.array(ACLAction$outboundSchema).optional(), onDemandConcurrency: z.array(ACLAction$outboundSchema).optional(), + optionsAllowlist: z.array(ACLAction$outboundSchema).optional(), + passwordProtection: z.array(ACLAction$outboundSchema).optional(), + productionAliasProtectionBypass: 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(), + projectAnalyticsUsage: z.array(ACLAction$outboundSchema).optional(), projectCheck: z.array(ACLAction$outboundSchema).optional(), projectCheckRun: z.array(ACLAction$outboundSchema).optional(), + projectDeploymentExpiration: 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(), + projectDomainMove: 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(), + projectFlagsProduction: z.array(ACLAction$outboundSchema).optional(), + projectFromV0: 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(), + projectOIDCToken: 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(), + projectRollingRelease: z.array(ACLAction$outboundSchema).optional(), projectSupportCase: z.array(ACLAction$outboundSchema).optional(), projectSupportCaseComment: z.array(ACLAction$outboundSchema).optional(), - projectDeploymentExpiration: z.array(ACLAction$outboundSchema).optional(), - projectRollingRelease: z.array(ACLAction$outboundSchema).optional(), projectTier: z.array(ACLAction$outboundSchema).optional(), - projectOIDCToken: z.array(ACLAction$outboundSchema).optional(), + projectTransfer: z.array(ACLAction$outboundSchema).optional(), + projectTransferOut: z.array(ACLAction$outboundSchema).optional(), + projectUsage: z.array(ACLAction$outboundSchema).optional(), seawallConfig: z.array(ACLAction$outboundSchema).optional(), + sharedEnvVarConnection: z.array(ACLAction$outboundSchema).optional(), skewProtection: z.array(ACLAction$outboundSchema).optional(), analytics: z.array(ACLAction$outboundSchema).optional(), trustedIps: z.array(ACLAction$outboundSchema).optional(), v0Chat: 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", @@ -9116,30 +7578,22 @@ export const Permissions$outboundSchema: z.ZodType< }); }); -/** - * @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 updateProjectDataCachePermissionsToJSON( + updateProjectDataCachePermissions: UpdateProjectDataCachePermissions, +): string { + return JSON.stringify( + UpdateProjectDataCachePermissions$outboundSchema.parse( + updateProjectDataCachePermissions, + ), + ); } - -export function permissionsFromJSON( +export function updateProjectDataCachePermissionsFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => Permissions$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Permissions' from JSON`, + (x) => UpdateProjectDataCachePermissions$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectDataCachePermissions' from JSON`, ); } @@ -9149,7 +7603,6 @@ export const LastRollbackTarget$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({}); - /** @internal */ export type LastRollbackTarget$Outbound = {}; @@ -9160,19 +7613,6 @@ export const LastRollbackTarget$outboundSchema: z.ZodType< 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 { @@ -9180,7 +7620,6 @@ export function lastRollbackTargetToJSON( LastRollbackTarget$outboundSchema.parse(lastRollbackTarget), ); } - export function lastRollbackTargetFromJSON( jsonString: string, ): SafeParseResult { @@ -9194,45 +7633,19 @@ export function lastRollbackTargetFromJSON( /** @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 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 LastAliasRequest$inboundSchema: z.ZodType< LastAliasRequest, @@ -9246,7 +7659,6 @@ export const LastAliasRequest$inboundSchema: z.ZodType< requestedAt: z.number(), type: UpdateProjectDataCacheProjectsResponse200Type$inboundSchema, }); - /** @internal */ export type LastAliasRequest$Outbound = { fromDeploymentId: string; @@ -9271,19 +7683,6 @@ export const LastAliasRequest$outboundSchema: z.ZodType< type: UpdateProjectDataCacheProjectsResponse200Type$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 { @@ -9291,7 +7690,6 @@ export function lastAliasRequestToJSON( LastAliasRequest$outboundSchema.parse(lastAliasRequest), ); } - export function lastAliasRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -9306,23 +7704,11 @@ export function lastAliasRequestFromJSON( 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 ProtectionBypass2$inboundSchema: z.ZodType< ProtectionBypass2, @@ -9333,7 +7719,6 @@ export const ProtectionBypass2$inboundSchema: z.ZodType< createdBy: z.string(), scope: ProtectionBypassScope$inboundSchema, }); - /** @internal */ export type ProtectionBypass2$Outbound = { createdAt: number; @@ -9352,19 +7737,6 @@ export const ProtectionBypass2$outboundSchema: z.ZodType< 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 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 { @@ -9372,7 +7744,6 @@ export function protectionBypass2ToJSON( ProtectionBypass2$outboundSchema.parse(protectionBypass2), ); } - export function protectionBypass2FromJSON( jsonString: string, ): SafeParseResult { @@ -9387,25 +7758,11 @@ export function protectionBypass2FromJSON( export const UpdateProjectDataCacheProtectionBypassScope$inboundSchema: z.ZodNativeEnum = z .nativeEnum(UpdateProjectDataCacheProtectionBypassScope); - /** @internal */ export const UpdateProjectDataCacheProtectionBypassScope$outboundSchema: z.ZodNativeEnum = UpdateProjectDataCacheProtectionBypassScope$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheProtectionBypassScope$ { - /** @deprecated use `UpdateProjectDataCacheProtectionBypassScope$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectDataCacheProtectionBypassScope$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheProtectionBypassScope$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheProtectionBypassScope$outboundSchema; -} - /** @internal */ export const ProtectionBypass1$inboundSchema: z.ZodType< ProtectionBypass1, @@ -9418,7 +7775,6 @@ export const ProtectionBypass1$inboundSchema: z.ZodType< integrationId: z.string(), configurationId: z.string(), }); - /** @internal */ export type ProtectionBypass1$Outbound = { createdAt: number; @@ -9441,19 +7797,6 @@ export const ProtectionBypass1$outboundSchema: z.ZodType< configurationId: z.string(), }); -/** - * @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 { @@ -9461,7 +7804,6 @@ export function protectionBypass1ToJSON( ProtectionBypass1$outboundSchema.parse(protectionBypass1), ); } - export function protectionBypass1FromJSON( jsonString: string, ): SafeParseResult { @@ -9481,7 +7823,6 @@ export const ProtectionBypass$inboundSchema: z.ZodType< z.lazy(() => ProtectionBypass1$inboundSchema), z.lazy(() => ProtectionBypass2$inboundSchema), ]); - /** @internal */ export type ProtectionBypass$Outbound = | ProtectionBypass1$Outbound @@ -9497,19 +7838,6 @@ export const ProtectionBypass$outboundSchema: z.ZodType< 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 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 { @@ -9517,7 +7845,6 @@ export function protectionBypassToJSON( ProtectionBypass$outboundSchema.parse(protectionBypass), ); } - export function protectionBypassFromJSON( jsonString: string, ): SafeParseResult { @@ -9532,25 +7859,11 @@ export function protectionBypassFromJSON( 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, @@ -9559,7 +7872,6 @@ export const TrustedIps2$inboundSchema: z.ZodType< > = z.object({ deploymentType: UpdateProjectDataCacheTrustedIpsDeploymentType$inboundSchema, }); - /** @internal */ export type TrustedIps2$Outbound = { deploymentType: string; @@ -9574,23 +7886,9 @@ export const TrustedIps2$outboundSchema: z.ZodType< 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 { @@ -9605,23 +7903,11 @@ export function trustedIps2FromJSON( 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, @@ -9631,7 +7917,6 @@ export const UpdateProjectDataCacheTrustedIpsAddresses$inboundSchema: z.ZodType< value: z.string(), note: z.string().optional(), }); - /** @internal */ export type UpdateProjectDataCacheTrustedIpsAddresses$Outbound = { value: string; @@ -9649,21 +7934,6 @@ export const UpdateProjectDataCacheTrustedIpsAddresses$outboundSchema: 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, @@ -9674,7 +7944,6 @@ export function updateProjectDataCacheTrustedIpsAddressesToJSON( ), ); } - export function updateProjectDataCacheTrustedIpsAddressesFromJSON( jsonString: string, ): SafeParseResult< @@ -9695,25 +7964,11 @@ export function updateProjectDataCacheTrustedIpsAddressesFromJSON( 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, @@ -9726,7 +7981,6 @@ export const TrustedIps1$inboundSchema: z.ZodType< ), protectionMode: UpdateProjectDataCacheTrustedIpsProtectionMode$inboundSchema, }); - /** @internal */ export type TrustedIps1$Outbound = { deploymentType: string; @@ -9747,23 +8001,9 @@ export const TrustedIps1$outboundSchema: z.ZodType< 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 { @@ -9783,7 +8023,6 @@ export const UpdateProjectDataCacheTrustedIps$inboundSchema: z.ZodType< z.lazy(() => TrustedIps1$inboundSchema), z.lazy(() => TrustedIps2$inboundSchema), ]); - /** @internal */ export type UpdateProjectDataCacheTrustedIps$Outbound = | TrustedIps1$Outbound @@ -9799,19 +8038,6 @@ export const UpdateProjectDataCacheTrustedIps$outboundSchema: z.ZodType< z.lazy(() => TrustedIps2$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 { @@ -9821,7 +8047,6 @@ export function updateProjectDataCacheTrustedIpsToJSON( ), ); } - export function updateProjectDataCacheTrustedIpsFromJSON( jsonString: string, ): SafeParseResult { @@ -9841,7 +8066,6 @@ export const GitComments$inboundSchema: z.ZodType< onPullRequest: z.boolean(), onCommit: z.boolean(), }); - /** @internal */ export type GitComments$Outbound = { onPullRequest: boolean; @@ -9858,23 +8082,9 @@ export const GitComments$outboundSchema: z.ZodType< 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 { @@ -9889,23 +8099,11 @@ export function gitCommentsFromJSON( export const CreateDeployments$inboundSchema: z.ZodNativeEnum< typeof CreateDeployments > = z.nativeEnum(CreateDeployments); - /** @internal */ export const CreateDeployments$outboundSchema: z.ZodNativeEnum< typeof CreateDeployments > = CreateDeployments$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CreateDeployments$ { - /** @deprecated use `CreateDeployments$inboundSchema` instead. */ - export const inboundSchema = CreateDeployments$inboundSchema; - /** @deprecated use `CreateDeployments$outboundSchema` instead. */ - export const outboundSchema = CreateDeployments$outboundSchema; -} - /** @internal */ export const GitProviderOptions$inboundSchema: z.ZodType< GitProviderOptions, @@ -9914,12 +8112,13 @@ export const GitProviderOptions$inboundSchema: z.ZodType< > = z.object({ createDeployments: CreateDeployments$inboundSchema, disableRepositoryDispatchEvents: z.boolean().optional(), + requireVerifiedCommits: z.boolean().optional(), }); - /** @internal */ export type GitProviderOptions$Outbound = { createDeployments: string; disableRepositoryDispatchEvents?: boolean | undefined; + requireVerifiedCommits?: boolean | undefined; }; /** @internal */ @@ -9930,21 +8129,9 @@ export const GitProviderOptions$outboundSchema: z.ZodType< > = z.object({ createDeployments: CreateDeployments$outboundSchema, disableRepositoryDispatchEvents: z.boolean().optional(), + requireVerifiedCommits: 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 GitProviderOptions$ { - /** @deprecated use `GitProviderOptions$inboundSchema` instead. */ - export const inboundSchema = GitProviderOptions$inboundSchema; - /** @deprecated use `GitProviderOptions$outboundSchema` instead. */ - export const outboundSchema = GitProviderOptions$outboundSchema; - /** @deprecated use `GitProviderOptions$Outbound` instead. */ - export type Outbound = GitProviderOptions$Outbound; -} - export function gitProviderOptionsToJSON( gitProviderOptions: GitProviderOptions, ): string { @@ -9952,7 +8139,6 @@ export function gitProviderOptionsToJSON( GitProviderOptions$outboundSchema.parse(gitProviderOptions), ); } - export function gitProviderOptionsFromJSON( jsonString: string, ): SafeParseResult { @@ -9975,7 +8161,6 @@ export const UpdateProjectDataCacheWebAnalytics$inboundSchema: z.ZodType< enabledAt: z.number().optional(), hasData: z.boolean().optional(), }); - /** @internal */ export type UpdateProjectDataCacheWebAnalytics$Outbound = { id: string; @@ -9998,20 +8183,6 @@ export const UpdateProjectDataCacheWebAnalytics$outboundSchema: z.ZodType< 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 { @@ -10021,7 +8192,6 @@ export function updateProjectDataCacheWebAnalyticsToJSON( ), ); } - export function updateProjectDataCacheWebAnalyticsFromJSON( jsonString: string, ): SafeParseResult { @@ -10037,25 +8207,11 @@ export function updateProjectDataCacheWebAnalyticsFromJSON( export const UpdateProjectDataCacheProjectsResponseAction$inboundSchema: z.ZodNativeEnum = z .nativeEnum(UpdateProjectDataCacheProjectsResponseAction); - /** @internal */ export const UpdateProjectDataCacheProjectsResponseAction$outboundSchema: z.ZodNativeEnum = UpdateProjectDataCacheProjectsResponseAction$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheProjectsResponseAction$ { - /** @deprecated use `UpdateProjectDataCacheProjectsResponseAction$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectDataCacheProjectsResponseAction$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheProjectsResponseAction$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheProjectsResponseAction$outboundSchema; -} - /** @internal */ export const BotFilter$inboundSchema: z.ZodType< BotFilter, @@ -10065,7 +8221,6 @@ export const BotFilter$inboundSchema: z.ZodType< active: z.boolean(), action: UpdateProjectDataCacheProjectsResponseAction$inboundSchema.optional(), }); - /** @internal */ export type BotFilter$Outbound = { active: boolean; @@ -10083,23 +8238,9 @@ export const BotFilter$outboundSchema: z.ZodType< .optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace BotFilter$ { - /** @deprecated use `BotFilter$inboundSchema` instead. */ - export const inboundSchema = BotFilter$inboundSchema; - /** @deprecated use `BotFilter$outboundSchema` instead. */ - export const outboundSchema = BotFilter$outboundSchema; - /** @deprecated use `BotFilter$Outbound` instead. */ - export type Outbound = BotFilter$Outbound; -} - export function botFilterToJSON(botFilter: BotFilter): string { return JSON.stringify(BotFilter$outboundSchema.parse(botFilter)); } - export function botFilterFromJSON( jsonString: string, ): SafeParseResult { @@ -10114,25 +8255,11 @@ export function botFilterFromJSON( export const UpdateProjectDataCacheProjectsResponse200Action$inboundSchema: z.ZodNativeEnum = z .nativeEnum(UpdateProjectDataCacheProjectsResponse200Action); - /** @internal */ export const UpdateProjectDataCacheProjectsResponse200Action$outboundSchema: z.ZodNativeEnum = UpdateProjectDataCacheProjectsResponse200Action$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheProjectsResponse200Action$ { - /** @deprecated use `UpdateProjectDataCacheProjectsResponse200Action$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectDataCacheProjectsResponse200Action$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheProjectsResponse200Action$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheProjectsResponse200Action$outboundSchema; -} - /** @internal */ export const UpdateProjectDataCacheAiBots$inboundSchema: z.ZodType< UpdateProjectDataCacheAiBots, @@ -10143,7 +8270,6 @@ export const UpdateProjectDataCacheAiBots$inboundSchema: z.ZodType< action: UpdateProjectDataCacheProjectsResponse200Action$inboundSchema .optional(), }); - /** @internal */ export type UpdateProjectDataCacheAiBots$Outbound = { active: boolean; @@ -10161,19 +8287,6 @@ export const UpdateProjectDataCacheAiBots$outboundSchema: z.ZodType< .optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheAiBots$ { - /** @deprecated use `UpdateProjectDataCacheAiBots$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectDataCacheAiBots$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheAiBots$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectDataCacheAiBots$outboundSchema; - /** @deprecated use `UpdateProjectDataCacheAiBots$Outbound` instead. */ - export type Outbound = UpdateProjectDataCacheAiBots$Outbound; -} - export function updateProjectDataCacheAiBotsToJSON( updateProjectDataCacheAiBots: UpdateProjectDataCacheAiBots, ): string { @@ -10183,7 +8296,6 @@ export function updateProjectDataCacheAiBotsToJSON( ), ); } - export function updateProjectDataCacheAiBotsFromJSON( jsonString: string, ): SafeParseResult { @@ -10195,28 +8307,18 @@ export function updateProjectDataCacheAiBotsFromJSON( } /** @internal */ -export const UpdateProjectDataCacheProjectsAction$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - UpdateProjectDataCacheProjectsAction, +export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONAction$inboundSchema: + z.ZodNativeEnum< + typeof UpdateProjectDataCacheProjectsResponse200ApplicationJSONAction + > = z.nativeEnum( + UpdateProjectDataCacheProjectsResponse200ApplicationJSONAction, ); - /** @internal */ -export const UpdateProjectDataCacheProjectsAction$outboundSchema: - z.ZodNativeEnum = - UpdateProjectDataCacheProjectsAction$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheProjectsAction$ { - /** @deprecated use `UpdateProjectDataCacheProjectsAction$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectDataCacheProjectsAction$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheProjectsAction$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheProjectsAction$outboundSchema; -} +export const UpdateProjectDataCacheProjectsResponse200ApplicationJSONAction$outboundSchema: + z.ZodNativeEnum< + typeof UpdateProjectDataCacheProjectsResponse200ApplicationJSONAction + > = + UpdateProjectDataCacheProjectsResponse200ApplicationJSONAction$inboundSchema; /** @internal */ export const UpdateProjectDataCacheOwasp$inboundSchema: z.ZodType< @@ -10225,9 +8327,10 @@ export const UpdateProjectDataCacheOwasp$inboundSchema: z.ZodType< unknown > = z.object({ active: z.boolean(), - action: UpdateProjectDataCacheProjectsAction$inboundSchema.optional(), + action: + UpdateProjectDataCacheProjectsResponse200ApplicationJSONAction$inboundSchema + .optional(), }); - /** @internal */ export type UpdateProjectDataCacheOwasp$Outbound = { active: boolean; @@ -10241,22 +8344,11 @@ export const UpdateProjectDataCacheOwasp$outboundSchema: z.ZodType< UpdateProjectDataCacheOwasp > = z.object({ active: z.boolean(), - action: UpdateProjectDataCacheProjectsAction$outboundSchema.optional(), + action: + UpdateProjectDataCacheProjectsResponse200ApplicationJSONAction$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 UpdateProjectDataCacheOwasp$ { - /** @deprecated use `UpdateProjectDataCacheOwasp$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectDataCacheOwasp$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheOwasp$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectDataCacheOwasp$outboundSchema; - /** @deprecated use `UpdateProjectDataCacheOwasp$Outbound` instead. */ - export type Outbound = UpdateProjectDataCacheOwasp$Outbound; -} - export function updateProjectDataCacheOwaspToJSON( updateProjectDataCacheOwasp: UpdateProjectDataCacheOwasp, ): string { @@ -10266,7 +8358,6 @@ export function updateProjectDataCacheOwaspToJSON( ), ); } - export function updateProjectDataCacheOwaspFromJSON( jsonString: string, ): SafeParseResult { @@ -10292,7 +8383,6 @@ export const UpdateProjectDataCacheManagedRules$inboundSchema: z.ZodType< "ai_bots": "aiBots", }); }); - /** @internal */ export type UpdateProjectDataCacheManagedRules$Outbound = { bot_filter: BotFilter$Outbound; @@ -10316,20 +8406,6 @@ export const UpdateProjectDataCacheManagedRules$outboundSchema: z.ZodType< }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheManagedRules$ { - /** @deprecated use `UpdateProjectDataCacheManagedRules$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectDataCacheManagedRules$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheManagedRules$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheManagedRules$outboundSchema; - /** @deprecated use `UpdateProjectDataCacheManagedRules$Outbound` instead. */ - export type Outbound = UpdateProjectDataCacheManagedRules$Outbound; -} - export function updateProjectDataCacheManagedRulesToJSON( updateProjectDataCacheManagedRules: UpdateProjectDataCacheManagedRules, ): string { @@ -10339,7 +8415,6 @@ export function updateProjectDataCacheManagedRulesToJSON( ), ); } - export function updateProjectDataCacheManagedRulesFromJSON( jsonString: string, ): SafeParseResult { @@ -10372,7 +8447,6 @@ export const UpdateProjectDataCacheSecurity$inboundSchema: z.ZodType< ).optional(), botIdEnabled: z.boolean().optional(), }); - /** @internal */ export type UpdateProjectDataCacheSecurity$Outbound = { attackModeEnabled?: boolean | undefined; @@ -10411,19 +8485,6 @@ export const UpdateProjectDataCacheSecurity$outboundSchema: z.ZodType< botIdEnabled: 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 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 { @@ -10433,7 +8494,6 @@ export function updateProjectDataCacheSecurityToJSON( ), ); } - export function updateProjectDataCacheSecurityFromJSON( jsonString: string, ): SafeParseResult { @@ -10448,23 +8508,11 @@ export function updateProjectDataCacheSecurityFromJSON( 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, @@ -10474,7 +8522,6 @@ export const UpdateProjectDataCacheOidcTokenConfig$inboundSchema: z.ZodType< enabled: z.boolean().optional(), issuerMode: UpdateProjectDataCacheIssuerMode$inboundSchema.optional(), }); - /** @internal */ export type UpdateProjectDataCacheOidcTokenConfig$Outbound = { enabled?: boolean | undefined; @@ -10491,21 +8538,6 @@ export const UpdateProjectDataCacheOidcTokenConfig$outboundSchema: z.ZodType< 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 { @@ -10515,7 +8547,6 @@ export function updateProjectDataCacheOidcTokenConfigToJSON( ), ); } - export function updateProjectDataCacheOidcTokenConfigFromJSON( jsonString: string, ): SafeParseResult { @@ -10531,23 +8562,11 @@ export function updateProjectDataCacheOidcTokenConfigFromJSON( export const UpdateProjectDataCacheTier$inboundSchema: z.ZodNativeEnum< typeof UpdateProjectDataCacheTier > = z.nativeEnum(UpdateProjectDataCacheTier); - /** @internal */ export const UpdateProjectDataCacheTier$outboundSchema: z.ZodNativeEnum< typeof UpdateProjectDataCacheTier > = UpdateProjectDataCacheTier$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheTier$ { - /** @deprecated use `UpdateProjectDataCacheTier$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectDataCacheTier$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheTier$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectDataCacheTier$outboundSchema; -} - /** @internal */ export const Features$inboundSchema: z.ZodType< Features, @@ -10556,7 +8575,6 @@ export const Features$inboundSchema: z.ZodType< > = z.object({ webAnalytics: z.boolean().optional(), }); - /** @internal */ export type Features$Outbound = { webAnalytics?: boolean | undefined; @@ -10571,23 +8589,9 @@ export const Features$outboundSchema: z.ZodType< webAnalytics: 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 Features$ { - /** @deprecated use `Features$inboundSchema` instead. */ - export const inboundSchema = Features$inboundSchema; - /** @deprecated use `Features$outboundSchema` instead. */ - export const outboundSchema = Features$outboundSchema; - /** @deprecated use `Features$Outbound` instead. */ - export type Outbound = Features$Outbound; -} - export function featuresToJSON(features: Features): string { return JSON.stringify(Features$outboundSchema.parse(features)); } - export function featuresFromJSON( jsonString: string, ): SafeParseResult { @@ -10610,7 +8614,6 @@ export const UpdateProjectDataCacheHistory$inboundSchema: z.ZodType< byId: z.string(), at: z.number(), }); - /** @internal */ export type UpdateProjectDataCacheHistory$Outbound = { scanner: string; @@ -10633,19 +8636,6 @@ export const UpdateProjectDataCacheHistory$outboundSchema: z.ZodType< at: 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 UpdateProjectDataCacheHistory$ { - /** @deprecated use `UpdateProjectDataCacheHistory$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectDataCacheHistory$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheHistory$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectDataCacheHistory$outboundSchema; - /** @deprecated use `UpdateProjectDataCacheHistory$Outbound` instead. */ - export type Outbound = UpdateProjectDataCacheHistory$Outbound; -} - export function updateProjectDataCacheHistoryToJSON( updateProjectDataCacheHistory: UpdateProjectDataCacheHistory, ): string { @@ -10655,7 +8645,6 @@ export function updateProjectDataCacheHistoryToJSON( ), ); } - export function updateProjectDataCacheHistoryFromJSON( jsonString: string, ): SafeParseResult { @@ -10667,30 +8656,19 @@ export function updateProjectDataCacheHistoryFromJSON( } /** @internal */ -export const UpdateProjectDataCacheAction$inboundSchema: z.ZodNativeEnum< - typeof UpdateProjectDataCacheAction -> = z.nativeEnum(UpdateProjectDataCacheAction); - +export const UpdateProjectDataCacheProjectsAction$inboundSchema: + z.ZodNativeEnum = z.nativeEnum( + UpdateProjectDataCacheProjectsAction, + ); /** @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; -} +export const UpdateProjectDataCacheProjectsAction$outboundSchema: + z.ZodNativeEnum = + UpdateProjectDataCacheProjectsAction$inboundSchema; /** @internal */ export const Block$inboundSchema: z.ZodType = z .object({ - action: UpdateProjectDataCacheAction$inboundSchema, + action: UpdateProjectDataCacheProjectsAction$inboundSchema, reason: z.string(), statusCode: z.number(), createdAt: z.number(), @@ -10699,7 +8677,6 @@ export const Block$inboundSchema: z.ZodType = z comment: z.string().optional(), isCascading: z.boolean().optional(), }); - /** @internal */ export type Block$Outbound = { action: string; @@ -10718,7 +8695,7 @@ export const Block$outboundSchema: z.ZodType< z.ZodTypeDef, Block > = z.object({ - action: UpdateProjectDataCacheAction$outboundSchema, + action: UpdateProjectDataCacheProjectsAction$outboundSchema, reason: z.string(), statusCode: z.number(), createdAt: z.number(), @@ -10728,23 +8705,9 @@ export const Block$outboundSchema: z.ZodType< isCascading: 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 Block$ { - /** @deprecated use `Block$inboundSchema` instead. */ - export const inboundSchema = Block$inboundSchema; - /** @deprecated use `Block$outboundSchema` instead. */ - export const outboundSchema = Block$outboundSchema; - /** @deprecated use `Block$Outbound` instead. */ - export type Outbound = Block$Outbound; -} - export function blockToJSON(block: Block): string { return JSON.stringify(Block$outboundSchema.parse(block)); } - export function blockFromJSON( jsonString: string, ): SafeParseResult { @@ -10760,49 +8723,21 @@ export const UpdateProjectDataCacheBlockHistoryProjectsResponseAction$inboundSch z.ZodNativeEnum< typeof UpdateProjectDataCacheBlockHistoryProjectsResponseAction > = z.nativeEnum(UpdateProjectDataCacheBlockHistoryProjectsResponseAction); - /** @internal */ export const UpdateProjectDataCacheBlockHistoryProjectsResponseAction$outboundSchema: z.ZodNativeEnum< typeof UpdateProjectDataCacheBlockHistoryProjectsResponseAction > = UpdateProjectDataCacheBlockHistoryProjectsResponseAction$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheBlockHistoryProjectsResponseAction$ { - /** @deprecated use `UpdateProjectDataCacheBlockHistoryProjectsResponseAction$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectDataCacheBlockHistoryProjectsResponseAction$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheBlockHistoryProjectsResponseAction$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheBlockHistoryProjectsResponseAction$outboundSchema; -} - /** @internal */ export const UpdateProjectDataCacheHasProjectsResponseType$inboundSchema: z.ZodNativeEnum = z .nativeEnum(UpdateProjectDataCacheHasProjectsResponseType); - /** @internal */ export const UpdateProjectDataCacheHasProjectsResponseType$outboundSchema: z.ZodNativeEnum = UpdateProjectDataCacheHasProjectsResponseType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheHasProjectsResponseType$ { - /** @deprecated use `UpdateProjectDataCacheHasProjectsResponseType$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectDataCacheHasProjectsResponseType$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheHasProjectsResponseType$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheHasProjectsResponseType$outboundSchema; -} - /** @internal */ export const UpdateProjectDataCacheHasProjectsValue$inboundSchema: z.ZodType< UpdateProjectDataCacheHasProjectsValue, @@ -10811,7 +8746,6 @@ export const UpdateProjectDataCacheHasProjectsValue$inboundSchema: z.ZodType< > = z.object({ eq: z.string(), }); - /** @internal */ export type UpdateProjectDataCacheHasProjectsValue$Outbound = { eq: string; @@ -10826,21 +8760,6 @@ export const UpdateProjectDataCacheHasProjectsValue$outboundSchema: z.ZodType< eq: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheHasProjectsValue$ { - /** @deprecated use `UpdateProjectDataCacheHasProjectsValue$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectDataCacheHasProjectsValue$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheHasProjectsValue$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheHasProjectsValue$outboundSchema; - /** @deprecated use `UpdateProjectDataCacheHasProjectsValue$Outbound` instead. */ - export type Outbound = UpdateProjectDataCacheHasProjectsValue$Outbound; -} - export function updateProjectDataCacheHasProjectsValueToJSON( updateProjectDataCacheHasProjectsValue: UpdateProjectDataCacheHasProjectsValue, @@ -10851,7 +8770,6 @@ export function updateProjectDataCacheHasProjectsValueToJSON( ), ); } - export function updateProjectDataCacheHasProjectsValueFromJSON( jsonString: string, ): SafeParseResult { @@ -10872,7 +8790,6 @@ export const UpdateProjectDataCacheHas2$inboundSchema: z.ZodType< type: UpdateProjectDataCacheHasProjectsResponseType$inboundSchema, value: z.lazy(() => UpdateProjectDataCacheHasProjectsValue$inboundSchema), }); - /** @internal */ export type UpdateProjectDataCacheHas2$Outbound = { type: string; @@ -10889,19 +8806,6 @@ export const UpdateProjectDataCacheHas2$outboundSchema: z.ZodType< value: z.lazy(() => UpdateProjectDataCacheHasProjectsValue$outboundSchema), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheHas2$ { - /** @deprecated use `UpdateProjectDataCacheHas2$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectDataCacheHas2$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheHas2$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectDataCacheHas2$outboundSchema; - /** @deprecated use `UpdateProjectDataCacheHas2$Outbound` instead. */ - export type Outbound = UpdateProjectDataCacheHas2$Outbound; -} - export function updateProjectDataCacheHas2ToJSON( updateProjectDataCacheHas2: UpdateProjectDataCacheHas2, ): string { @@ -10909,7 +8813,6 @@ export function updateProjectDataCacheHas2ToJSON( UpdateProjectDataCacheHas2$outboundSchema.parse(updateProjectDataCacheHas2), ); } - export function updateProjectDataCacheHas2FromJSON( jsonString: string, ): SafeParseResult { @@ -10925,49 +8828,21 @@ export const UpdateProjectDataCacheHasProjectsType$inboundSchema: z.ZodNativeEnum = z.nativeEnum( UpdateProjectDataCacheHasProjectsType, ); - /** @internal */ export const UpdateProjectDataCacheHasProjectsType$outboundSchema: z.ZodNativeEnum = UpdateProjectDataCacheHasProjectsType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheHasProjectsType$ { - /** @deprecated use `UpdateProjectDataCacheHasProjectsType$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectDataCacheHasProjectsType$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheHasProjectsType$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheHasProjectsType$outboundSchema; -} - /** @internal */ export const UpdateProjectDataCacheHasProjectsKey$inboundSchema: z.ZodNativeEnum = z.nativeEnum( UpdateProjectDataCacheHasProjectsKey, ); - /** @internal */ export const UpdateProjectDataCacheHasProjectsKey$outboundSchema: z.ZodNativeEnum = UpdateProjectDataCacheHasProjectsKey$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheHasProjectsKey$ { - /** @deprecated use `UpdateProjectDataCacheHasProjectsKey$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectDataCacheHasProjectsKey$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheHasProjectsKey$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheHasProjectsKey$outboundSchema; -} - /** @internal */ export const UpdateProjectDataCacheHasProjectsResponse200ApplicationJSONValue$inboundSchema: z.ZodType< @@ -10977,7 +8852,6 @@ export const UpdateProjectDataCacheHasProjectsResponse200ApplicationJSONValue$in > = z.object({ eq: z.string(), }); - /** @internal */ export type UpdateProjectDataCacheHasProjectsResponse200ApplicationJSONValue$Outbound = { @@ -10994,22 +8868,6 @@ export const UpdateProjectDataCacheHasProjectsResponse200ApplicationJSONValue$ou eq: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheHasProjectsResponse200ApplicationJSONValue$ { - /** @deprecated use `UpdateProjectDataCacheHasProjectsResponse200ApplicationJSONValue$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectDataCacheHasProjectsResponse200ApplicationJSONValue$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheHasProjectsResponse200ApplicationJSONValue$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheHasProjectsResponse200ApplicationJSONValue$outboundSchema; - /** @deprecated use `UpdateProjectDataCacheHasProjectsResponse200ApplicationJSONValue$Outbound` instead. */ - export type Outbound = - UpdateProjectDataCacheHasProjectsResponse200ApplicationJSONValue$Outbound; -} - export function updateProjectDataCacheHasProjectsResponse200ApplicationJSONValueToJSON( updateProjectDataCacheHasProjectsResponse200ApplicationJSONValue: UpdateProjectDataCacheHasProjectsResponse200ApplicationJSONValue, @@ -11019,7 +8877,6 @@ export function updateProjectDataCacheHasProjectsResponse200ApplicationJSONValue .parse(updateProjectDataCacheHasProjectsResponse200ApplicationJSONValue), ); } - export function updateProjectDataCacheHasProjectsResponse200ApplicationJSONValueFromJSON( jsonString: string, ): SafeParseResult< @@ -11047,7 +8904,6 @@ export const UpdateProjectDataCacheHas1$inboundSchema: z.ZodType< UpdateProjectDataCacheHasProjectsResponse200ApplicationJSONValue$inboundSchema ), }); - /** @internal */ export type UpdateProjectDataCacheHas1$Outbound = { type: string; @@ -11069,19 +8925,6 @@ export const UpdateProjectDataCacheHas1$outboundSchema: z.ZodType< ), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheHas1$ { - /** @deprecated use `UpdateProjectDataCacheHas1$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectDataCacheHas1$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheHas1$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectDataCacheHas1$outboundSchema; - /** @deprecated use `UpdateProjectDataCacheHas1$Outbound` instead. */ - export type Outbound = UpdateProjectDataCacheHas1$Outbound; -} - export function updateProjectDataCacheHas1ToJSON( updateProjectDataCacheHas1: UpdateProjectDataCacheHas1, ): string { @@ -11089,7 +8932,6 @@ export function updateProjectDataCacheHas1ToJSON( UpdateProjectDataCacheHas1$outboundSchema.parse(updateProjectDataCacheHas1), ); } - export function updateProjectDataCacheHas1FromJSON( jsonString: string, ): SafeParseResult { @@ -11109,7 +8951,6 @@ export const RouteHas$inboundSchema: z.ZodType< z.lazy(() => UpdateProjectDataCacheHas1$inboundSchema), z.lazy(() => UpdateProjectDataCacheHas2$inboundSchema), ]); - /** @internal */ export type RouteHas$Outbound = | UpdateProjectDataCacheHas1$Outbound @@ -11125,23 +8966,9 @@ export const RouteHas$outboundSchema: z.ZodType< z.lazy(() => UpdateProjectDataCacheHas2$outboundSchema), ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RouteHas$ { - /** @deprecated use `RouteHas$inboundSchema` instead. */ - export const inboundSchema = RouteHas$inboundSchema; - /** @deprecated use `RouteHas$outboundSchema` instead. */ - export const outboundSchema = RouteHas$outboundSchema; - /** @deprecated use `RouteHas$Outbound` instead. */ - export type Outbound = RouteHas$Outbound; -} - export function routeHasToJSON(routeHas: RouteHas): string { return JSON.stringify(RouteHas$outboundSchema.parse(routeHas)); } - export function routeHasFromJSON( jsonString: string, ): SafeParseResult { @@ -11156,24 +8983,11 @@ export function routeHasFromJSON( export const UpdateProjectDataCacheRouteAction$inboundSchema: z.ZodNativeEnum< typeof UpdateProjectDataCacheRouteAction > = z.nativeEnum(UpdateProjectDataCacheRouteAction); - /** @internal */ export const UpdateProjectDataCacheRouteAction$outboundSchema: z.ZodNativeEnum< typeof UpdateProjectDataCacheRouteAction > = UpdateProjectDataCacheRouteAction$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheRouteAction$ { - /** @deprecated use `UpdateProjectDataCacheRouteAction$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectDataCacheRouteAction$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheRouteAction$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheRouteAction$outboundSchema; -} - /** @internal */ export const RouteMitigate$inboundSchema: z.ZodType< RouteMitigate, @@ -11182,7 +8996,6 @@ export const RouteMitigate$inboundSchema: z.ZodType< > = z.object({ action: UpdateProjectDataCacheRouteAction$inboundSchema, }); - /** @internal */ export type RouteMitigate$Outbound = { action: string; @@ -11197,23 +9010,9 @@ export const RouteMitigate$outboundSchema: z.ZodType< action: UpdateProjectDataCacheRouteAction$outboundSchema, }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RouteMitigate$ { - /** @deprecated use `RouteMitigate$inboundSchema` instead. */ - export const inboundSchema = RouteMitigate$inboundSchema; - /** @deprecated use `RouteMitigate$outboundSchema` instead. */ - export const outboundSchema = RouteMitigate$outboundSchema; - /** @deprecated use `RouteMitigate$Outbound` instead. */ - export type Outbound = RouteMitigate$Outbound; -} - export function routeMitigateToJSON(routeMitigate: RouteMitigate): string { return JSON.stringify(RouteMitigate$outboundSchema.parse(routeMitigate)); } - export function routeMitigateFromJSON( jsonString: string, ): SafeParseResult { @@ -11239,7 +9038,6 @@ export const UpdateProjectDataCacheRoute2$inboundSchema: z.ZodType< mitigate: z.lazy(() => RouteMitigate$inboundSchema), src: z.string().optional(), }); - /** @internal */ export type UpdateProjectDataCacheRoute2$Outbound = { has: Array< @@ -11265,19 +9063,6 @@ export const UpdateProjectDataCacheRoute2$outboundSchema: z.ZodType< src: z.string().optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheRoute2$ { - /** @deprecated use `UpdateProjectDataCacheRoute2$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectDataCacheRoute2$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheRoute2$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectDataCacheRoute2$outboundSchema; - /** @deprecated use `UpdateProjectDataCacheRoute2$Outbound` instead. */ - export type Outbound = UpdateProjectDataCacheRoute2$Outbound; -} - export function updateProjectDataCacheRoute2ToJSON( updateProjectDataCacheRoute2: UpdateProjectDataCacheRoute2, ): string { @@ -11287,7 +9072,6 @@ export function updateProjectDataCacheRoute2ToJSON( ), ); } - export function updateProjectDataCacheRoute2FromJSON( jsonString: string, ): SafeParseResult { @@ -11307,7 +9091,6 @@ export const UpdateProjectDataCacheRoute1$inboundSchema: z.ZodType< src: z.string(), status: z.number(), }); - /** @internal */ export type UpdateProjectDataCacheRoute1$Outbound = { src: string; @@ -11324,19 +9107,6 @@ export const UpdateProjectDataCacheRoute1$outboundSchema: z.ZodType< status: 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 UpdateProjectDataCacheRoute1$ { - /** @deprecated use `UpdateProjectDataCacheRoute1$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectDataCacheRoute1$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheRoute1$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectDataCacheRoute1$outboundSchema; - /** @deprecated use `UpdateProjectDataCacheRoute1$Outbound` instead. */ - export type Outbound = UpdateProjectDataCacheRoute1$Outbound; -} - export function updateProjectDataCacheRoute1ToJSON( updateProjectDataCacheRoute1: UpdateProjectDataCacheRoute1, ): string { @@ -11346,7 +9116,6 @@ export function updateProjectDataCacheRoute1ToJSON( ), ); } - export function updateProjectDataCacheRoute1FromJSON( jsonString: string, ): SafeParseResult { @@ -11366,7 +9135,6 @@ export const BlockHistoryRoute$inboundSchema: z.ZodType< z.lazy(() => UpdateProjectDataCacheRoute1$inboundSchema), z.lazy(() => UpdateProjectDataCacheRoute2$inboundSchema), ]); - /** @internal */ export type BlockHistoryRoute$Outbound = | UpdateProjectDataCacheRoute1$Outbound @@ -11382,19 +9150,6 @@ export const BlockHistoryRoute$outboundSchema: z.ZodType< z.lazy(() => UpdateProjectDataCacheRoute2$outboundSchema), ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace BlockHistoryRoute$ { - /** @deprecated use `BlockHistoryRoute$inboundSchema` instead. */ - export const inboundSchema = BlockHistoryRoute$inboundSchema; - /** @deprecated use `BlockHistoryRoute$outboundSchema` instead. */ - export const outboundSchema = BlockHistoryRoute$outboundSchema; - /** @deprecated use `BlockHistoryRoute$Outbound` instead. */ - export type Outbound = BlockHistoryRoute$Outbound; -} - export function blockHistoryRouteToJSON( blockHistoryRoute: BlockHistoryRoute, ): string { @@ -11402,7 +9157,6 @@ export function blockHistoryRouteToJSON( BlockHistoryRoute$outboundSchema.parse(blockHistoryRoute), ); } - export function blockHistoryRouteFromJSON( jsonString: string, ): SafeParseResult { @@ -11432,7 +9186,6 @@ export const BlockHistory4$inboundSchema: z.ZodType< comment: z.string().optional(), isCascading: z.boolean().optional(), }); - /** @internal */ export type BlockHistory4$Outbound = { action: string; @@ -11467,23 +9220,9 @@ export const BlockHistory4$outboundSchema: z.ZodType< isCascading: 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 BlockHistory4$ { - /** @deprecated use `BlockHistory4$inboundSchema` instead. */ - export const inboundSchema = BlockHistory4$inboundSchema; - /** @deprecated use `BlockHistory4$outboundSchema` instead. */ - export const outboundSchema = BlockHistory4$outboundSchema; - /** @deprecated use `BlockHistory4$Outbound` instead. */ - export type Outbound = BlockHistory4$Outbound; -} - export function blockHistory4ToJSON(blockHistory4: BlockHistory4): string { return JSON.stringify(BlockHistory4$outboundSchema.parse(blockHistory4)); } - export function blockHistory4FromJSON( jsonString: string, ): SafeParseResult { @@ -11498,25 +9237,11 @@ export function blockHistory4FromJSON( export const UpdateProjectDataCacheBlockHistoryProjectsAction$inboundSchema: z.ZodNativeEnum = z .nativeEnum(UpdateProjectDataCacheBlockHistoryProjectsAction); - /** @internal */ export const UpdateProjectDataCacheBlockHistoryProjectsAction$outboundSchema: z.ZodNativeEnum = UpdateProjectDataCacheBlockHistoryProjectsAction$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheBlockHistoryProjectsAction$ { - /** @deprecated use `UpdateProjectDataCacheBlockHistoryProjectsAction$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectDataCacheBlockHistoryProjectsAction$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheBlockHistoryProjectsAction$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheBlockHistoryProjectsAction$outboundSchema; -} - /** @internal */ export const UpdateProjectDataCacheHasProjectsResponse200ApplicationJSONType$inboundSchema: z.ZodNativeEnum< @@ -11524,7 +9249,6 @@ export const UpdateProjectDataCacheHasProjectsResponse200ApplicationJSONType$inb > = z.nativeEnum( UpdateProjectDataCacheHasProjectsResponse200ApplicationJSONType, ); - /** @internal */ export const UpdateProjectDataCacheHasProjectsResponse200ApplicationJSONType$outboundSchema: z.ZodNativeEnum< @@ -11532,19 +9256,6 @@ export const UpdateProjectDataCacheHasProjectsResponse200ApplicationJSONType$out > = UpdateProjectDataCacheHasProjectsResponse200ApplicationJSONType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheHasProjectsResponse200ApplicationJSONType$ { - /** @deprecated use `UpdateProjectDataCacheHasProjectsResponse200ApplicationJSONType$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectDataCacheHasProjectsResponse200ApplicationJSONType$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheHasProjectsResponse200ApplicationJSONType$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheHasProjectsResponse200ApplicationJSONType$outboundSchema; -} - /** @internal */ export const UpdateProjectDataCacheHasProjectsResponse200Value$inboundSchema: z.ZodType< @@ -11554,7 +9265,6 @@ export const UpdateProjectDataCacheHasProjectsResponse200Value$inboundSchema: > = z.object({ eq: z.string(), }); - /** @internal */ export type UpdateProjectDataCacheHasProjectsResponse200Value$Outbound = { eq: string; @@ -11570,22 +9280,6 @@ export const UpdateProjectDataCacheHasProjectsResponse200Value$outboundSchema: eq: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheHasProjectsResponse200Value$ { - /** @deprecated use `UpdateProjectDataCacheHasProjectsResponse200Value$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectDataCacheHasProjectsResponse200Value$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheHasProjectsResponse200Value$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheHasProjectsResponse200Value$outboundSchema; - /** @deprecated use `UpdateProjectDataCacheHasProjectsResponse200Value$Outbound` instead. */ - export type Outbound = - UpdateProjectDataCacheHasProjectsResponse200Value$Outbound; -} - export function updateProjectDataCacheHasProjectsResponse200ValueToJSON( updateProjectDataCacheHasProjectsResponse200Value: UpdateProjectDataCacheHasProjectsResponse200Value, @@ -11596,7 +9290,6 @@ export function updateProjectDataCacheHasProjectsResponse200ValueToJSON( ), ); } - export function updateProjectDataCacheHasProjectsResponse200ValueFromJSON( jsonString: string, ): SafeParseResult< @@ -11625,7 +9318,6 @@ export const UpdateProjectDataCacheHasProjects2$inboundSchema: z.ZodType< UpdateProjectDataCacheHasProjectsResponse200Value$inboundSchema ), }); - /** @internal */ export type UpdateProjectDataCacheHasProjects2$Outbound = { type: string; @@ -11645,20 +9337,6 @@ export const UpdateProjectDataCacheHasProjects2$outboundSchema: z.ZodType< ), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheHasProjects2$ { - /** @deprecated use `UpdateProjectDataCacheHasProjects2$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectDataCacheHasProjects2$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheHasProjects2$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheHasProjects2$outboundSchema; - /** @deprecated use `UpdateProjectDataCacheHasProjects2$Outbound` instead. */ - export type Outbound = UpdateProjectDataCacheHasProjects2$Outbound; -} - export function updateProjectDataCacheHasProjects2ToJSON( updateProjectDataCacheHasProjects2: UpdateProjectDataCacheHasProjects2, ): string { @@ -11668,7 +9346,6 @@ export function updateProjectDataCacheHasProjects2ToJSON( ), ); } - export function updateProjectDataCacheHasProjects2FromJSON( jsonString: string, ): SafeParseResult { @@ -11684,46 +9361,20 @@ export function updateProjectDataCacheHasProjects2FromJSON( export const UpdateProjectDataCacheHasProjectsResponse200Type$inboundSchema: z.ZodNativeEnum = z .nativeEnum(UpdateProjectDataCacheHasProjectsResponse200Type); - /** @internal */ export const UpdateProjectDataCacheHasProjectsResponse200Type$outboundSchema: z.ZodNativeEnum = UpdateProjectDataCacheHasProjectsResponse200Type$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheHasProjectsResponse200Type$ { - /** @deprecated use `UpdateProjectDataCacheHasProjectsResponse200Type$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectDataCacheHasProjectsResponse200Type$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheHasProjectsResponse200Type$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheHasProjectsResponse200Type$outboundSchema; -} - /** @internal */ export const UpdateProjectDataCacheHasKey$inboundSchema: z.ZodNativeEnum< typeof UpdateProjectDataCacheHasKey > = z.nativeEnum(UpdateProjectDataCacheHasKey); - /** @internal */ export const UpdateProjectDataCacheHasKey$outboundSchema: z.ZodNativeEnum< typeof UpdateProjectDataCacheHasKey > = UpdateProjectDataCacheHasKey$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheHasKey$ { - /** @deprecated use `UpdateProjectDataCacheHasKey$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectDataCacheHasKey$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheHasKey$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectDataCacheHasKey$outboundSchema; -} - /** @internal */ export const UpdateProjectDataCacheHasProjectsResponseValue$inboundSchema: z.ZodType< @@ -11733,7 +9384,6 @@ export const UpdateProjectDataCacheHasProjectsResponseValue$inboundSchema: > = z.object({ eq: z.string(), }); - /** @internal */ export type UpdateProjectDataCacheHasProjectsResponseValue$Outbound = { eq: string; @@ -11749,22 +9399,6 @@ export const UpdateProjectDataCacheHasProjectsResponseValue$outboundSchema: eq: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheHasProjectsResponseValue$ { - /** @deprecated use `UpdateProjectDataCacheHasProjectsResponseValue$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectDataCacheHasProjectsResponseValue$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheHasProjectsResponseValue$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheHasProjectsResponseValue$outboundSchema; - /** @deprecated use `UpdateProjectDataCacheHasProjectsResponseValue$Outbound` instead. */ - export type Outbound = - UpdateProjectDataCacheHasProjectsResponseValue$Outbound; -} - export function updateProjectDataCacheHasProjectsResponseValueToJSON( updateProjectDataCacheHasProjectsResponseValue: UpdateProjectDataCacheHasProjectsResponseValue, @@ -11775,7 +9409,6 @@ export function updateProjectDataCacheHasProjectsResponseValueToJSON( ), ); } - export function updateProjectDataCacheHasProjectsResponseValueFromJSON( jsonString: string, ): SafeParseResult< @@ -11804,7 +9437,6 @@ export const UpdateProjectDataCacheHasProjects1$inboundSchema: z.ZodType< UpdateProjectDataCacheHasProjectsResponseValue$inboundSchema ), }); - /** @internal */ export type UpdateProjectDataCacheHasProjects1$Outbound = { type: string; @@ -11825,20 +9457,6 @@ export const UpdateProjectDataCacheHasProjects1$outboundSchema: z.ZodType< ), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheHasProjects1$ { - /** @deprecated use `UpdateProjectDataCacheHasProjects1$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectDataCacheHasProjects1$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheHasProjects1$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheHasProjects1$outboundSchema; - /** @deprecated use `UpdateProjectDataCacheHasProjects1$Outbound` instead. */ - export type Outbound = UpdateProjectDataCacheHasProjects1$Outbound; -} - export function updateProjectDataCacheHasProjects1ToJSON( updateProjectDataCacheHasProjects1: UpdateProjectDataCacheHasProjects1, ): string { @@ -11848,7 +9466,6 @@ export function updateProjectDataCacheHasProjects1ToJSON( ), ); } - export function updateProjectDataCacheHasProjects1FromJSON( jsonString: string, ): SafeParseResult { @@ -11869,7 +9486,6 @@ export const UpdateProjectDataCacheRouteHas$inboundSchema: z.ZodType< z.lazy(() => UpdateProjectDataCacheHasProjects1$inboundSchema), z.lazy(() => UpdateProjectDataCacheHasProjects2$inboundSchema), ]); - /** @internal */ export type UpdateProjectDataCacheRouteHas$Outbound = | UpdateProjectDataCacheHasProjects1$Outbound @@ -11885,19 +9501,6 @@ export const UpdateProjectDataCacheRouteHas$outboundSchema: z.ZodType< z.lazy(() => UpdateProjectDataCacheHasProjects2$outboundSchema), ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheRouteHas$ { - /** @deprecated use `UpdateProjectDataCacheRouteHas$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectDataCacheRouteHas$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheRouteHas$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectDataCacheRouteHas$outboundSchema; - /** @deprecated use `UpdateProjectDataCacheRouteHas$Outbound` instead. */ - export type Outbound = UpdateProjectDataCacheRouteHas$Outbound; -} - export function updateProjectDataCacheRouteHasToJSON( updateProjectDataCacheRouteHas: UpdateProjectDataCacheRouteHas, ): string { @@ -11907,7 +9510,6 @@ export function updateProjectDataCacheRouteHasToJSON( ), ); } - export function updateProjectDataCacheRouteHasFromJSON( jsonString: string, ): SafeParseResult { @@ -11921,22 +9523,10 @@ export function updateProjectDataCacheRouteHasFromJSON( /** @internal */ export const RouteAction$inboundSchema: z.ZodNativeEnum = z .nativeEnum(RouteAction); - /** @internal */ export const RouteAction$outboundSchema: z.ZodNativeEnum = RouteAction$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace RouteAction$ { - /** @deprecated use `RouteAction$inboundSchema` instead. */ - export const inboundSchema = RouteAction$inboundSchema; - /** @deprecated use `RouteAction$outboundSchema` instead. */ - export const outboundSchema = RouteAction$outboundSchema; -} - /** @internal */ export const UpdateProjectDataCacheRouteMitigate$inboundSchema: z.ZodType< UpdateProjectDataCacheRouteMitigate, @@ -11945,7 +9535,6 @@ export const UpdateProjectDataCacheRouteMitigate$inboundSchema: z.ZodType< > = z.object({ action: RouteAction$inboundSchema, }); - /** @internal */ export type UpdateProjectDataCacheRouteMitigate$Outbound = { action: string; @@ -11960,21 +9549,6 @@ export const UpdateProjectDataCacheRouteMitigate$outboundSchema: z.ZodType< action: RouteAction$outboundSchema, }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheRouteMitigate$ { - /** @deprecated use `UpdateProjectDataCacheRouteMitigate$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectDataCacheRouteMitigate$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheRouteMitigate$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheRouteMitigate$outboundSchema; - /** @deprecated use `UpdateProjectDataCacheRouteMitigate$Outbound` instead. */ - export type Outbound = UpdateProjectDataCacheRouteMitigate$Outbound; -} - export function updateProjectDataCacheRouteMitigateToJSON( updateProjectDataCacheRouteMitigate: UpdateProjectDataCacheRouteMitigate, ): string { @@ -11984,7 +9558,6 @@ export function updateProjectDataCacheRouteMitigateToJSON( ), ); } - export function updateProjectDataCacheRouteMitigateFromJSON( jsonString: string, ): SafeParseResult { @@ -12008,7 +9581,6 @@ export const Route2$inboundSchema: z.ZodType = z mitigate: z.lazy(() => UpdateProjectDataCacheRouteMitigate$inboundSchema), src: z.string().optional(), }); - /** @internal */ export type Route2$Outbound = { has: Array< @@ -12035,23 +9607,9 @@ export const Route2$outboundSchema: z.ZodType< src: z.string().optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Route2$ { - /** @deprecated use `Route2$inboundSchema` instead. */ - export const inboundSchema = Route2$inboundSchema; - /** @deprecated use `Route2$outboundSchema` instead. */ - export const outboundSchema = Route2$outboundSchema; - /** @deprecated use `Route2$Outbound` instead. */ - export type Outbound = Route2$Outbound; -} - export function route2ToJSON(route2: Route2): string { return JSON.stringify(Route2$outboundSchema.parse(route2)); } - export function route2FromJSON( jsonString: string, ): SafeParseResult { @@ -12068,7 +9626,6 @@ export const Route1$inboundSchema: z.ZodType = z src: z.string(), status: z.number(), }); - /** @internal */ export type Route1$Outbound = { src: string; @@ -12085,23 +9642,9 @@ export const Route1$outboundSchema: z.ZodType< status: 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 Route1$ { - /** @deprecated use `Route1$inboundSchema` instead. */ - export const inboundSchema = Route1$inboundSchema; - /** @deprecated use `Route1$outboundSchema` instead. */ - export const outboundSchema = Route1$outboundSchema; - /** @deprecated use `Route1$Outbound` instead. */ - export type Outbound = Route1$Outbound; -} - export function route1ToJSON(route1: Route1): string { return JSON.stringify(Route1$outboundSchema.parse(route1)); } - export function route1FromJSON( jsonString: string, ): SafeParseResult { @@ -12118,7 +9661,6 @@ export const Route$inboundSchema: z.ZodType = z z.lazy(() => Route1$inboundSchema), z.lazy(() => Route2$inboundSchema), ]); - /** @internal */ export type Route$Outbound = Route1$Outbound | Route2$Outbound; @@ -12132,23 +9674,9 @@ export const Route$outboundSchema: z.ZodType< z.lazy(() => Route2$outboundSchema), ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Route$ { - /** @deprecated use `Route$inboundSchema` instead. */ - export const inboundSchema = Route$inboundSchema; - /** @deprecated use `Route$outboundSchema` instead. */ - export const outboundSchema = Route$outboundSchema; - /** @deprecated use `Route$Outbound` instead. */ - export type Outbound = Route$Outbound; -} - export function routeToJSON(route: Route): string { return JSON.stringify(Route$outboundSchema.parse(route)); } - export function routeFromJSON( jsonString: string, ): SafeParseResult { @@ -12177,7 +9705,6 @@ export const BlockHistory3$inboundSchema: z.ZodType< comment: z.string().optional(), isCascading: z.boolean().optional(), }); - /** @internal */ export type BlockHistory3$Outbound = { action: string; @@ -12209,23 +9736,9 @@ export const BlockHistory3$outboundSchema: z.ZodType< isCascading: 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 BlockHistory3$ { - /** @deprecated use `BlockHistory3$inboundSchema` instead. */ - export const inboundSchema = BlockHistory3$inboundSchema; - /** @deprecated use `BlockHistory3$outboundSchema` instead. */ - export const outboundSchema = BlockHistory3$outboundSchema; - /** @deprecated use `BlockHistory3$Outbound` instead. */ - export type Outbound = BlockHistory3$Outbound; -} - export function blockHistory3ToJSON(blockHistory3: BlockHistory3): string { return JSON.stringify(BlockHistory3$outboundSchema.parse(blockHistory3)); } - export function blockHistory3FromJSON( jsonString: string, ): SafeParseResult { @@ -12240,24 +9753,10 @@ export function blockHistory3FromJSON( export const UpdateProjectDataCacheBlockHistoryAction$inboundSchema: z.ZodNativeEnum = z .nativeEnum(UpdateProjectDataCacheBlockHistoryAction); - -/** @internal */ -export const UpdateProjectDataCacheBlockHistoryAction$outboundSchema: - z.ZodNativeEnum = - UpdateProjectDataCacheBlockHistoryAction$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheBlockHistoryAction$ { - /** @deprecated use `UpdateProjectDataCacheBlockHistoryAction$inboundSchema` instead. */ - export const inboundSchema = +/** @internal */ +export const UpdateProjectDataCacheBlockHistoryAction$outboundSchema: + z.ZodNativeEnum = UpdateProjectDataCacheBlockHistoryAction$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheBlockHistoryAction$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheBlockHistoryAction$outboundSchema; -} /** @internal */ export const BlockHistory2$inboundSchema: z.ZodType< @@ -12272,7 +9771,6 @@ export const BlockHistory2$inboundSchema: z.ZodType< comment: z.string().optional(), isCascading: z.boolean().optional(), }); - /** @internal */ export type BlockHistory2$Outbound = { action: string; @@ -12297,23 +9795,9 @@ export const BlockHistory2$outboundSchema: z.ZodType< isCascading: 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 BlockHistory2$ { - /** @deprecated use `BlockHistory2$inboundSchema` instead. */ - export const inboundSchema = BlockHistory2$inboundSchema; - /** @deprecated use `BlockHistory2$outboundSchema` instead. */ - export const outboundSchema = BlockHistory2$outboundSchema; - /** @deprecated use `BlockHistory2$Outbound` instead. */ - export type Outbound = BlockHistory2$Outbound; -} - export function blockHistory2ToJSON(blockHistory2: BlockHistory2): string { return JSON.stringify(BlockHistory2$outboundSchema.parse(blockHistory2)); } - export function blockHistory2FromJSON( jsonString: string, ): SafeParseResult { @@ -12328,23 +9812,11 @@ export function blockHistory2FromJSON( export const BlockHistoryAction$inboundSchema: z.ZodNativeEnum< typeof BlockHistoryAction > = z.nativeEnum(BlockHistoryAction); - /** @internal */ export const BlockHistoryAction$outboundSchema: z.ZodNativeEnum< typeof BlockHistoryAction > = BlockHistoryAction$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace BlockHistoryAction$ { - /** @deprecated use `BlockHistoryAction$inboundSchema` instead. */ - export const inboundSchema = BlockHistoryAction$inboundSchema; - /** @deprecated use `BlockHistoryAction$outboundSchema` instead. */ - export const outboundSchema = BlockHistoryAction$outboundSchema; -} - /** @internal */ export const BlockHistory1$inboundSchema: z.ZodType< BlockHistory1, @@ -12360,7 +9832,6 @@ export const BlockHistory1$inboundSchema: z.ZodType< comment: z.string().optional(), isCascading: z.boolean().optional(), }); - /** @internal */ export type BlockHistory1$Outbound = { action: string; @@ -12389,23 +9860,9 @@ export const BlockHistory1$outboundSchema: z.ZodType< isCascading: 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 BlockHistory1$ { - /** @deprecated use `BlockHistory1$inboundSchema` instead. */ - export const inboundSchema = BlockHistory1$inboundSchema; - /** @deprecated use `BlockHistory1$outboundSchema` instead. */ - export const outboundSchema = BlockHistory1$outboundSchema; - /** @deprecated use `BlockHistory1$Outbound` instead. */ - export type Outbound = BlockHistory1$Outbound; -} - export function blockHistory1ToJSON(blockHistory1: BlockHistory1): string { return JSON.stringify(BlockHistory1$outboundSchema.parse(blockHistory1)); } - export function blockHistory1FromJSON( jsonString: string, ): SafeParseResult { @@ -12427,7 +9884,6 @@ export const UpdateProjectDataCacheBlockHistory$inboundSchema: z.ZodType< z.lazy(() => BlockHistory4$inboundSchema), z.lazy(() => BlockHistory2$inboundSchema), ]); - /** @internal */ export type UpdateProjectDataCacheBlockHistory$Outbound = | BlockHistory1$Outbound @@ -12447,20 +9903,6 @@ export const UpdateProjectDataCacheBlockHistory$outboundSchema: z.ZodType< z.lazy(() => BlockHistory2$outboundSchema), ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheBlockHistory$ { - /** @deprecated use `UpdateProjectDataCacheBlockHistory$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectDataCacheBlockHistory$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheBlockHistory$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheBlockHistory$outboundSchema; - /** @deprecated use `UpdateProjectDataCacheBlockHistory$Outbound` instead. */ - export type Outbound = UpdateProjectDataCacheBlockHistory$Outbound; -} - export function updateProjectDataCacheBlockHistoryToJSON( updateProjectDataCacheBlockHistory: UpdateProjectDataCacheBlockHistory, ): string { @@ -12470,7 +9912,6 @@ export function updateProjectDataCacheBlockHistoryToJSON( ), ); } - export function updateProjectDataCacheBlockHistoryFromJSON( jsonString: string, ): SafeParseResult { @@ -12500,8 +9941,8 @@ export const UpdateProjectDataCacheAbuse$inboundSchema: z.ZodType< z.lazy(() => BlockHistory2$inboundSchema), ]), ).optional(), + interstitial: z.boolean().optional(), }); - /** @internal */ export type UpdateProjectDataCacheAbuse$Outbound = { scanner?: string | undefined; @@ -12516,6 +9957,7 @@ export type UpdateProjectDataCacheAbuse$Outbound = { | BlockHistory2$Outbound > | undefined; + interstitial?: boolean | undefined; }; /** @internal */ @@ -12536,21 +9978,9 @@ export const UpdateProjectDataCacheAbuse$outboundSchema: z.ZodType< z.lazy(() => BlockHistory2$outboundSchema), ]), ).optional(), + interstitial: 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 UpdateProjectDataCacheAbuse$ { - /** @deprecated use `UpdateProjectDataCacheAbuse$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectDataCacheAbuse$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheAbuse$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectDataCacheAbuse$outboundSchema; - /** @deprecated use `UpdateProjectDataCacheAbuse$Outbound` instead. */ - export type Outbound = UpdateProjectDataCacheAbuse$Outbound; -} - export function updateProjectDataCacheAbuseToJSON( updateProjectDataCacheAbuse: UpdateProjectDataCacheAbuse, ): string { @@ -12560,7 +9990,6 @@ export function updateProjectDataCacheAbuseToJSON( ), ); } - export function updateProjectDataCacheAbuseFromJSON( jsonString: string, ): SafeParseResult { @@ -12575,23 +10004,11 @@ export function updateProjectDataCacheAbuseFromJSON( export const UpdateProjectDataCacheHasType$inboundSchema: z.ZodNativeEnum< typeof UpdateProjectDataCacheHasType > = z.nativeEnum(UpdateProjectDataCacheHasType); - /** @internal */ export const UpdateProjectDataCacheHasType$outboundSchema: z.ZodNativeEnum< typeof UpdateProjectDataCacheHasType > = UpdateProjectDataCacheHasType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheHasType$ { - /** @deprecated use `UpdateProjectDataCacheHasType$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectDataCacheHasType$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheHasType$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectDataCacheHasType$outboundSchema; -} - /** @internal */ export const HasValue$inboundSchema: z.ZodType< HasValue, @@ -12600,7 +10017,6 @@ export const HasValue$inboundSchema: z.ZodType< > = z.object({ eq: z.string(), }); - /** @internal */ export type HasValue$Outbound = { eq: string; @@ -12615,23 +10031,9 @@ export const HasValue$outboundSchema: z.ZodType< eq: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace HasValue$ { - /** @deprecated use `HasValue$inboundSchema` instead. */ - export const inboundSchema = HasValue$inboundSchema; - /** @deprecated use `HasValue$outboundSchema` instead. */ - export const outboundSchema = HasValue$outboundSchema; - /** @deprecated use `HasValue$Outbound` instead. */ - export type Outbound = HasValue$Outbound; -} - export function hasValueToJSON(hasValue: HasValue): string { return JSON.stringify(HasValue$outboundSchema.parse(hasValue)); } - export function hasValueFromJSON( jsonString: string, ): SafeParseResult { @@ -12648,7 +10050,6 @@ export const Has2$inboundSchema: z.ZodType = z type: UpdateProjectDataCacheHasType$inboundSchema, value: z.lazy(() => HasValue$inboundSchema), }); - /** @internal */ export type Has2$Outbound = { type: string; @@ -12662,23 +10063,9 @@ export const Has2$outboundSchema: z.ZodType = value: z.lazy(() => HasValue$outboundSchema), }); -/** - * @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 { @@ -12692,40 +10079,16 @@ export function has2FromJSON( /** @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 Key$inboundSchema: z.ZodNativeEnum = z.nativeEnum(Key); - /** @internal */ export const Key$outboundSchema: z.ZodNativeEnum = Key$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Key$ { - /** @deprecated use `Key$inboundSchema` instead. */ - export const inboundSchema = Key$inboundSchema; - /** @deprecated use `Key$outboundSchema` instead. */ - export const outboundSchema = Key$outboundSchema; -} - /** @internal */ export const UpdateProjectDataCacheHasValue$inboundSchema: z.ZodType< UpdateProjectDataCacheHasValue, @@ -12734,7 +10097,6 @@ export const UpdateProjectDataCacheHasValue$inboundSchema: z.ZodType< > = z.object({ eq: z.string(), }); - /** @internal */ export type UpdateProjectDataCacheHasValue$Outbound = { eq: string; @@ -12749,19 +10111,6 @@ export const UpdateProjectDataCacheHasValue$outboundSchema: z.ZodType< eq: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheHasValue$ { - /** @deprecated use `UpdateProjectDataCacheHasValue$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectDataCacheHasValue$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheHasValue$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectDataCacheHasValue$outboundSchema; - /** @deprecated use `UpdateProjectDataCacheHasValue$Outbound` instead. */ - export type Outbound = UpdateProjectDataCacheHasValue$Outbound; -} - export function updateProjectDataCacheHasValueToJSON( updateProjectDataCacheHasValue: UpdateProjectDataCacheHasValue, ): string { @@ -12771,7 +10120,6 @@ export function updateProjectDataCacheHasValueToJSON( ), ); } - export function updateProjectDataCacheHasValueFromJSON( jsonString: string, ): SafeParseResult { @@ -12789,7 +10137,6 @@ export const Has1$inboundSchema: z.ZodType = z key: Key$inboundSchema, value: z.lazy(() => UpdateProjectDataCacheHasValue$inboundSchema), }); - /** @internal */ export type Has1$Outbound = { type: string; @@ -12805,23 +10152,9 @@ export const Has1$outboundSchema: z.ZodType = value: z.lazy(() => UpdateProjectDataCacheHasValue$outboundSchema), }); -/** - * @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 { @@ -12836,7 +10169,6 @@ export function has1FromJSON( export const Has$inboundSchema: z.ZodType = z.union( [z.lazy(() => Has1$inboundSchema), z.lazy(() => Has2$inboundSchema)], ); - /** @internal */ export type Has$Outbound = Has1$Outbound | Has2$Outbound; @@ -12847,23 +10179,9 @@ export const Has$outboundSchema: z.ZodType = z 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 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 { @@ -12878,23 +10196,11 @@ export function hasFromJSON( export const InternalRoutesAction$inboundSchema: z.ZodNativeEnum< typeof InternalRoutesAction > = z.nativeEnum(InternalRoutesAction); - /** @internal */ export const InternalRoutesAction$outboundSchema: z.ZodNativeEnum< typeof InternalRoutesAction > = InternalRoutesAction$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace InternalRoutesAction$ { - /** @deprecated use `InternalRoutesAction$inboundSchema` instead. */ - export const inboundSchema = InternalRoutesAction$inboundSchema; - /** @deprecated use `InternalRoutesAction$outboundSchema` instead. */ - export const outboundSchema = InternalRoutesAction$outboundSchema; -} - /** @internal */ export const UpdateProjectDataCacheInternalRoutesMitigate$inboundSchema: z.ZodType< @@ -12904,7 +10210,6 @@ export const UpdateProjectDataCacheInternalRoutesMitigate$inboundSchema: > = z.object({ action: InternalRoutesAction$inboundSchema, }); - /** @internal */ export type UpdateProjectDataCacheInternalRoutesMitigate$Outbound = { action: string; @@ -12920,21 +10225,6 @@ export const UpdateProjectDataCacheInternalRoutesMitigate$outboundSchema: action: InternalRoutesAction$outboundSchema, }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDataCacheInternalRoutesMitigate$ { - /** @deprecated use `UpdateProjectDataCacheInternalRoutesMitigate$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectDataCacheInternalRoutesMitigate$inboundSchema; - /** @deprecated use `UpdateProjectDataCacheInternalRoutesMitigate$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDataCacheInternalRoutesMitigate$outboundSchema; - /** @deprecated use `UpdateProjectDataCacheInternalRoutesMitigate$Outbound` instead. */ - export type Outbound = UpdateProjectDataCacheInternalRoutesMitigate$Outbound; -} - export function updateProjectDataCacheInternalRoutesMitigateToJSON( updateProjectDataCacheInternalRoutesMitigate: UpdateProjectDataCacheInternalRoutesMitigate, @@ -12945,7 +10235,6 @@ export function updateProjectDataCacheInternalRoutesMitigateToJSON( ), ); } - export function updateProjectDataCacheInternalRoutesMitigateFromJSON( jsonString: string, ): SafeParseResult< @@ -12979,7 +10268,6 @@ export const InternalRoutes2$inboundSchema: z.ZodType< ), src: z.string().optional(), }); - /** @internal */ export type InternalRoutes2$Outbound = { has: Array; @@ -13005,25 +10293,11 @@ export const InternalRoutes2$outboundSchema: z.ZodType< src: z.string().optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace InternalRoutes2$ { - /** @deprecated use `InternalRoutes2$inboundSchema` instead. */ - export const inboundSchema = InternalRoutes2$inboundSchema; - /** @deprecated use `InternalRoutes2$outboundSchema` instead. */ - export const outboundSchema = InternalRoutes2$outboundSchema; - /** @deprecated use `InternalRoutes2$Outbound` instead. */ - export type Outbound = InternalRoutes2$Outbound; -} - export function internalRoutes2ToJSON( internalRoutes2: InternalRoutes2, ): string { return JSON.stringify(InternalRoutes2$outboundSchema.parse(internalRoutes2)); } - export function internalRoutes2FromJSON( jsonString: string, ): SafeParseResult { @@ -13043,7 +10317,6 @@ export const InternalRoutes1$inboundSchema: z.ZodType< src: z.string(), status: z.number(), }); - /** @internal */ export type InternalRoutes1$Outbound = { src: string; @@ -13060,25 +10333,11 @@ export const InternalRoutes1$outboundSchema: z.ZodType< status: 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 InternalRoutes1$ { - /** @deprecated use `InternalRoutes1$inboundSchema` instead. */ - export const inboundSchema = InternalRoutes1$inboundSchema; - /** @deprecated use `InternalRoutes1$outboundSchema` instead. */ - export const outboundSchema = InternalRoutes1$outboundSchema; - /** @deprecated use `InternalRoutes1$Outbound` instead. */ - export type Outbound = InternalRoutes1$Outbound; -} - export function internalRoutes1ToJSON( internalRoutes1: InternalRoutes1, ): string { return JSON.stringify(InternalRoutes1$outboundSchema.parse(internalRoutes1)); } - export function internalRoutes1FromJSON( jsonString: string, ): SafeParseResult { @@ -13098,7 +10357,6 @@ export const InternalRoutes$inboundSchema: z.ZodType< z.lazy(() => InternalRoutes1$inboundSchema), z.lazy(() => InternalRoutes2$inboundSchema), ]); - /** @internal */ export type InternalRoutes$Outbound = | InternalRoutes1$Outbound @@ -13114,23 +10372,9 @@ export const InternalRoutes$outboundSchema: z.ZodType< z.lazy(() => InternalRoutes2$outboundSchema), ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace InternalRoutes$ { - /** @deprecated use `InternalRoutes$inboundSchema` instead. */ - export const inboundSchema = InternalRoutes$inboundSchema; - /** @deprecated use `InternalRoutes$outboundSchema` instead. */ - export const outboundSchema = InternalRoutes$outboundSchema; - /** @deprecated use `InternalRoutes$Outbound` instead. */ - export type Outbound = InternalRoutes$Outbound; -} - export function internalRoutesToJSON(internalRoutes: InternalRoutes): string { return JSON.stringify(InternalRoutes$outboundSchema.parse(internalRoutes)); } - export function internalRoutesFromJSON( jsonString: string, ): SafeParseResult { @@ -13141,6 +10385,254 @@ export function internalRoutesFromJSON( ); } +/** @internal */ +export const UpdateProjectDataCacheAction$inboundSchema: z.ZodNativeEnum< + typeof UpdateProjectDataCacheAction +> = z.nativeEnum(UpdateProjectDataCacheAction); +/** @internal */ +export const UpdateProjectDataCacheAction$outboundSchema: z.ZodNativeEnum< + typeof UpdateProjectDataCacheAction +> = UpdateProjectDataCacheAction$inboundSchema; + +/** @internal */ +export const UpdateProjectDataCacheValuePreviousValue$inboundSchema: z.ZodType< + UpdateProjectDataCacheValuePreviousValue, + z.ZodTypeDef, + unknown +> = z.union([z.string(), z.number(), z.boolean()]); +/** @internal */ +export type UpdateProjectDataCacheValuePreviousValue$Outbound = + | string + | number + | boolean; + +/** @internal */ +export const UpdateProjectDataCacheValuePreviousValue$outboundSchema: z.ZodType< + UpdateProjectDataCacheValuePreviousValue$Outbound, + z.ZodTypeDef, + UpdateProjectDataCacheValuePreviousValue +> = z.union([z.string(), z.number(), z.boolean()]); + +export function updateProjectDataCacheValuePreviousValueToJSON( + updateProjectDataCacheValuePreviousValue: + UpdateProjectDataCacheValuePreviousValue, +): string { + return JSON.stringify( + UpdateProjectDataCacheValuePreviousValue$outboundSchema.parse( + updateProjectDataCacheValuePreviousValue, + ), + ); +} +export function updateProjectDataCacheValuePreviousValueFromJSON( + jsonString: string, +): SafeParseResult< + UpdateProjectDataCacheValuePreviousValue, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + UpdateProjectDataCacheValuePreviousValue$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'UpdateProjectDataCacheValuePreviousValue' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectDataCacheValueCurrentValue$inboundSchema: z.ZodType< + UpdateProjectDataCacheValueCurrentValue, + z.ZodTypeDef, + unknown +> = z.union([z.string(), z.number(), z.boolean()]); +/** @internal */ +export type UpdateProjectDataCacheValueCurrentValue$Outbound = + | string + | number + | boolean; + +/** @internal */ +export const UpdateProjectDataCacheValueCurrentValue$outboundSchema: z.ZodType< + UpdateProjectDataCacheValueCurrentValue$Outbound, + z.ZodTypeDef, + UpdateProjectDataCacheValueCurrentValue +> = z.union([z.string(), z.number(), z.boolean()]); + +export function updateProjectDataCacheValueCurrentValueToJSON( + updateProjectDataCacheValueCurrentValue: + UpdateProjectDataCacheValueCurrentValue, +): string { + return JSON.stringify( + UpdateProjectDataCacheValueCurrentValue$outboundSchema.parse( + updateProjectDataCacheValueCurrentValue, + ), + ); +} +export function updateProjectDataCacheValueCurrentValueFromJSON( + jsonString: string, +): SafeParseResult< + UpdateProjectDataCacheValueCurrentValue, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + UpdateProjectDataCacheValueCurrentValue$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'UpdateProjectDataCacheValueCurrentValue' from JSON`, + ); +} + +/** @internal */ +export const Value4$inboundSchema: z.ZodType = z + .object({ + previousValue: z.union([z.string(), z.number(), z.boolean()]), + currentValue: z.union([z.string(), z.number(), z.boolean()]), + }); +/** @internal */ +export type Value4$Outbound = { + previousValue: string | number | boolean; + currentValue: string | number | boolean; +}; + +/** @internal */ +export const Value4$outboundSchema: z.ZodType< + Value4$Outbound, + z.ZodTypeDef, + Value4 +> = z.object({ + previousValue: z.union([z.string(), z.number(), z.boolean()]), + currentValue: z.union([z.string(), z.number(), z.boolean()]), +}); + +export function value4ToJSON(value4: Value4): string { + return JSON.stringify(Value4$outboundSchema.parse(value4)); +} +export function value4FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Value4$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Value4' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectDataCacheValue$inboundSchema: z.ZodType< + UpdateProjectDataCacheValue, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => Value4$inboundSchema), + z.string(), + z.number(), + z.boolean(), +]); +/** @internal */ +export type UpdateProjectDataCacheValue$Outbound = + | Value4$Outbound + | string + | number + | boolean; + +/** @internal */ +export const UpdateProjectDataCacheValue$outboundSchema: z.ZodType< + UpdateProjectDataCacheValue$Outbound, + z.ZodTypeDef, + UpdateProjectDataCacheValue +> = z.union([ + z.lazy(() => Value4$outboundSchema), + z.string(), + z.number(), + z.boolean(), +]); + +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 UpdateProjectDataCacheDismissedToasts$inboundSchema: z.ZodType< + UpdateProjectDataCacheDismissedToasts, + z.ZodTypeDef, + unknown +> = z.object({ + key: z.string(), + dismissedAt: z.number(), + action: UpdateProjectDataCacheAction$inboundSchema, + value: z.nullable( + z.union([ + z.lazy(() => Value4$inboundSchema), + z.string(), + z.number(), + z.boolean(), + ]), + ), +}); +/** @internal */ +export type UpdateProjectDataCacheDismissedToasts$Outbound = { + key: string; + dismissedAt: number; + action: string; + value: Value4$Outbound | string | number | boolean | null; +}; + +/** @internal */ +export const UpdateProjectDataCacheDismissedToasts$outboundSchema: z.ZodType< + UpdateProjectDataCacheDismissedToasts$Outbound, + z.ZodTypeDef, + UpdateProjectDataCacheDismissedToasts +> = z.object({ + key: z.string(), + dismissedAt: z.number(), + action: UpdateProjectDataCacheAction$outboundSchema, + value: z.nullable( + z.union([ + z.lazy(() => Value4$outboundSchema), + z.string(), + z.number(), + z.boolean(), + ]), + ), +}); + +export function updateProjectDataCacheDismissedToastsToJSON( + updateProjectDataCacheDismissedToasts: UpdateProjectDataCacheDismissedToasts, +): string { + return JSON.stringify( + UpdateProjectDataCacheDismissedToasts$outboundSchema.parse( + updateProjectDataCacheDismissedToasts, + ), + ); +} +export function updateProjectDataCacheDismissedToastsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + UpdateProjectDataCacheDismissedToasts$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectDataCacheDismissedToasts' from JSON`, + ); +} + /** @internal */ export const UpdateProjectDataCacheResponseBody$inboundSchema: z.ZodType< UpdateProjectDataCacheResponseBody, @@ -13174,7 +10666,8 @@ export const UpdateProjectDataCacheResponseBody$inboundSchema: z.ZodType< devCommand: z.nullable(z.string()).optional(), directoryListing: z.boolean(), installCommand: z.nullable(z.string()).optional(), - env: z.array(z.lazy(() => Env$inboundSchema)).optional(), + env: z.array(z.lazy(() => UpdateProjectDataCacheEnv$inboundSchema)) + .optional(), customEnvironments: z.array(z.lazy(() => CustomEnvironments$inboundSchema)) .optional(), framework: z.nullable(UpdateProjectDataCacheFramework$inboundSchema) @@ -13197,6 +10690,7 @@ export const UpdateProjectDataCacheResponseBody$inboundSchema: z.ZodType< microfrontends: z.union([ z.lazy(() => UpdateProjectDataCacheMicrofrontends1$inboundSchema), z.lazy(() => UpdateProjectDataCacheMicrofrontends2$inboundSchema), + z.lazy(() => UpdateProjectDataCacheMicrofrontends3$inboundSchema), ]).optional(), name: z.string(), nodeVersion: UpdateProjectDataCacheNodeVersion$inboundSchema, @@ -13222,6 +10716,8 @@ export const UpdateProjectDataCacheResponseBody$inboundSchema: z.ZodType< skewProtectionBoundaryAt: z.number().optional(), skewProtectionMaxAge: z.number().optional(), skipGitConnectDuringLink: z.boolean().optional(), + staticIps: z.lazy(() => UpdateProjectDataCacheStaticIps$inboundSchema) + .optional(), sourceFilesOutsideRootDirectory: z.boolean().optional(), enableAffectedProjectsDeployments: z.boolean().optional(), ssoProtection: z.nullable( @@ -13236,7 +10732,8 @@ export const UpdateProjectDataCacheResponseBody$inboundSchema: z.ZodType< live: z.boolean().optional(), enablePreviewFeedback: z.nullable(z.boolean()).optional(), enableProductionFeedback: z.nullable(z.boolean()).optional(), - permissions: z.lazy(() => Permissions$inboundSchema).optional(), + permissions: z.lazy(() => UpdateProjectDataCachePermissions$inboundSchema) + .optional(), lastRollbackTarget: z.nullable(z.lazy(() => LastRollbackTarget$inboundSchema)) .optional(), lastAliasRequest: z.nullable(z.lazy(() => LastAliasRequest$inboundSchema)) @@ -13275,8 +10772,11 @@ export const UpdateProjectDataCacheResponseBody$inboundSchema: z.ZodType< z.lazy(() => InternalRoutes2$inboundSchema), ]), ).optional(), + hasDeployments: z.boolean().optional(), + dismissedToasts: z.array( + z.lazy(() => UpdateProjectDataCacheDismissedToasts$inboundSchema), + ).optional(), }); - /** @internal */ export type UpdateProjectDataCacheResponseBody$Outbound = { accountId: string; @@ -13302,7 +10802,7 @@ export type UpdateProjectDataCacheResponseBody$Outbound = { devCommand?: string | null | undefined; directoryListing: boolean; installCommand?: string | null | undefined; - env?: Array | undefined; + env?: Array | undefined; customEnvironments?: Array | undefined; framework?: string | null | undefined; gitForkProtection?: boolean | undefined; @@ -13320,6 +10820,7 @@ export type UpdateProjectDataCacheResponseBody$Outbound = { microfrontends?: | UpdateProjectDataCacheMicrofrontends1$Outbound | UpdateProjectDataCacheMicrofrontends2$Outbound + | UpdateProjectDataCacheMicrofrontends3$Outbound | undefined; name: string; nodeVersion: string; @@ -13343,6 +10844,7 @@ export type UpdateProjectDataCacheResponseBody$Outbound = { skewProtectionBoundaryAt?: number | undefined; skewProtectionMaxAge?: number | undefined; skipGitConnectDuringLink?: boolean | undefined; + staticIps?: UpdateProjectDataCacheStaticIps$Outbound | undefined; sourceFilesOutsideRootDirectory?: boolean | undefined; enableAffectedProjectsDeployments?: boolean | undefined; ssoProtection?: @@ -13358,7 +10860,7 @@ export type UpdateProjectDataCacheResponseBody$Outbound = { live?: boolean | undefined; enablePreviewFeedback?: boolean | null | undefined; enableProductionFeedback?: boolean | null | undefined; - permissions?: Permissions$Outbound | undefined; + permissions?: UpdateProjectDataCachePermissions$Outbound | undefined; lastRollbackTarget?: LastRollbackTarget$Outbound | null | undefined; lastAliasRequest?: LastAliasRequest$Outbound | null | undefined; protectionBypass?: { @@ -13380,6 +10882,10 @@ export type UpdateProjectDataCacheResponseBody$Outbound = { internalRoutes?: | Array | undefined; + hasDeployments?: boolean | undefined; + dismissedToasts?: + | Array + | undefined; }; /** @internal */ @@ -13415,7 +10921,8 @@ export const UpdateProjectDataCacheResponseBody$outboundSchema: z.ZodType< devCommand: z.nullable(z.string()).optional(), directoryListing: z.boolean(), installCommand: z.nullable(z.string()).optional(), - env: z.array(z.lazy(() => Env$outboundSchema)).optional(), + env: z.array(z.lazy(() => UpdateProjectDataCacheEnv$outboundSchema)) + .optional(), customEnvironments: z.array(z.lazy(() => CustomEnvironments$outboundSchema)) .optional(), framework: z.nullable(UpdateProjectDataCacheFramework$outboundSchema) @@ -13438,6 +10945,7 @@ export const UpdateProjectDataCacheResponseBody$outboundSchema: z.ZodType< microfrontends: z.union([ z.lazy(() => UpdateProjectDataCacheMicrofrontends1$outboundSchema), z.lazy(() => UpdateProjectDataCacheMicrofrontends2$outboundSchema), + z.lazy(() => UpdateProjectDataCacheMicrofrontends3$outboundSchema), ]).optional(), name: z.string(), nodeVersion: UpdateProjectDataCacheNodeVersion$outboundSchema, @@ -13463,6 +10971,8 @@ export const UpdateProjectDataCacheResponseBody$outboundSchema: z.ZodType< skewProtectionBoundaryAt: z.number().optional(), skewProtectionMaxAge: z.number().optional(), skipGitConnectDuringLink: z.boolean().optional(), + staticIps: z.lazy(() => UpdateProjectDataCacheStaticIps$outboundSchema) + .optional(), sourceFilesOutsideRootDirectory: z.boolean().optional(), enableAffectedProjectsDeployments: z.boolean().optional(), ssoProtection: z.nullable( @@ -13478,7 +10988,8 @@ export const UpdateProjectDataCacheResponseBody$outboundSchema: z.ZodType< live: z.boolean().optional(), enablePreviewFeedback: z.nullable(z.boolean()).optional(), enableProductionFeedback: z.nullable(z.boolean()).optional(), - permissions: z.lazy(() => Permissions$outboundSchema).optional(), + permissions: z.lazy(() => UpdateProjectDataCachePermissions$outboundSchema) + .optional(), lastRollbackTarget: z.nullable( z.lazy(() => LastRollbackTarget$outboundSchema), ).optional(), @@ -13519,22 +11030,12 @@ export const UpdateProjectDataCacheResponseBody$outboundSchema: z.ZodType< z.lazy(() => InternalRoutes2$outboundSchema), ]), ).optional(), + hasDeployments: z.boolean().optional(), + dismissedToasts: z.array( + z.lazy(() => UpdateProjectDataCacheDismissedToasts$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 { @@ -13544,7 +11045,6 @@ export function updateProjectDataCacheResponseBodyToJSON( ), ); } - export function updateProjectDataCacheResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/updateprojectdomainop.ts b/src/models/updateprojectdomainop.ts index 7f0e7d770..27351eb6e 100644 --- a/src/models/updateprojectdomainop.ts +++ b/src/models/updateprojectdomainop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; @@ -95,23 +95,11 @@ export type UpdateProjectDomainResponseBody = { 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, @@ -122,7 +110,6 @@ export const UpdateProjectDomainRequestBody$inboundSchema: z.ZodType< redirect: z.nullable(z.string()).optional(), redirectStatusCode: z.nullable(RedirectStatusCode$inboundSchema).optional(), }); - /** @internal */ export type UpdateProjectDomainRequestBody$Outbound = { gitBranch?: string | null | undefined; @@ -141,19 +128,6 @@ export const UpdateProjectDomainRequestBody$outboundSchema: z.ZodType< 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 { @@ -163,7 +137,6 @@ export function updateProjectDomainRequestBodyToJSON( ), ); } - export function updateProjectDomainRequestBodyFromJSON( jsonString: string, ): SafeParseResult { @@ -190,7 +163,6 @@ export const UpdateProjectDomainRequest$inboundSchema: z.ZodType< "RequestBody": "requestBody", }); }); - /** @internal */ export type UpdateProjectDomainRequest$Outbound = { idOrName: string; @@ -217,19 +189,6 @@ export const UpdateProjectDomainRequest$outboundSchema: z.ZodType< }); }); -/** - * @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 { @@ -237,7 +196,6 @@ export function updateProjectDomainRequestToJSON( UpdateProjectDomainRequest$outboundSchema.parse(updateProjectDomainRequest), ); } - export function updateProjectDomainRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -259,7 +217,6 @@ export const UpdateProjectDomainVerification$inboundSchema: z.ZodType< value: z.string(), reason: z.string(), }); - /** @internal */ export type UpdateProjectDomainVerification$Outbound = { type: string; @@ -280,19 +237,6 @@ export const UpdateProjectDomainVerification$outboundSchema: z.ZodType< 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 { @@ -302,7 +246,6 @@ export function updateProjectDomainVerificationToJSON( ), ); } - export function updateProjectDomainVerificationFromJSON( jsonString: string, ): SafeParseResult { @@ -333,7 +276,6 @@ export const UpdateProjectDomainResponseBody$inboundSchema: z.ZodType< z.lazy(() => UpdateProjectDomainVerification$inboundSchema), ).optional(), }); - /** @internal */ export type UpdateProjectDomainResponseBody$Outbound = { name: string; @@ -370,19 +312,6 @@ export const UpdateProjectDomainResponseBody$outboundSchema: z.ZodType< ).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 { @@ -392,7 +321,6 @@ export function updateProjectDomainResponseBodyToJSON( ), ); } - export function updateProjectDomainResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/updateprojectop.ts b/src/models/updateprojectop.ts index 015a2fc2a..980cfcf60 100644 --- a/src/models/updateprojectop.ts +++ b/src/models/updateprojectop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; @@ -57,10 +57,12 @@ export const UpdateProjectFramework = { Zola: "zola", Hydrogen: "hydrogen", Vite: "vite", + TanstackStart: "tanstack-start", Vitepress: "vitepress", Vuepress: "vuepress", Parcel: "parcel", Fastapi: "fastapi", + Flask: "flask", Fasthtml: "fasthtml", SanityV3: "sanity-v3", Sanity: "sanity", @@ -69,6 +71,9 @@ export const UpdateProjectFramework = { Hono: "hono", Express: "express", H3: "h3", + Nestjs: "nestjs", + Elysia: "elysia", + Fastify: "fastify", Xmcp: "xmcp", } as const; /** @@ -77,6 +82,7 @@ export const UpdateProjectFramework = { export type UpdateProjectFramework = ClosedEnum; export const UpdateProjectNodeVersion = { + TwentyFourDotX: "24.x", TwentyTwoDotX: "22.x", TwentyDotX: "20.x", EighteenDotX: "18.x", @@ -128,6 +134,16 @@ export type UpdateProjectResourceConfig = { isNSNBDisabled?: boolean | undefined; }; +/** + * Manage Static IPs for this project + */ +export type UpdateProjectStaticIps = { + /** + * Opt-in to Static IPs for this project + */ + enabled: boolean; +}; + /** * team: `https://oidc.vercel.com/[team_slug]` global: `https://oidc.vercel.com` */ @@ -304,6 +320,44 @@ export type ConnectConfigurations1 = { export type ConnectConfigurations = ConnectConfigurations1; +/** + * Whether the toast was dismissed, the action was accepted, or the dismissal with this key should be removed + */ +export const UpdateProjectAction = { + Cancel: "cancel", + Accept: "accept", + Delete: "delete", +} as const; +/** + * Whether the toast was dismissed, the action was accepted, or the dismissal with this key should be removed + */ +export type UpdateProjectAction = ClosedEnum; + +export type PreviousValue = number | boolean | string; + +export type CurrentValue = number | boolean | string; + +export type Value5 = { + previousValue: number | boolean | string; + currentValue: number | boolean | string; +}; + +export type UpdateProjectDismissedToasts = { + /** + * unique identifier for the dismissed toast + */ + key: string; + /** + * unix timestamp representing the time the toast was dimissed + */ + dismissedAt: number; + /** + * Whether the toast was dismissed, the action was accepted, or the dismissal with this key should be removed + */ + action: UpdateProjectAction; + value?: any | undefined; +}; + export type UpdateProjectRequestBody = { autoExposeSystemEnvs?: boolean | undefined; autoAssignCustomDomains?: boolean | undefined; @@ -351,6 +405,10 @@ export type UpdateProjectRequestBody = { * Specifies whether preview deployments are disabled for this project. */ previewDeploymentsDisabled?: boolean | null | undefined; + /** + * Custom domain suffix for preview deployments. Takes precedence over team-level suffix. Must be a domain owned by the team. + */ + previewDeploymentSuffix?: string | null | undefined; /** * Specifies whether the source code and logs of the deployments for this project should be public or not */ @@ -401,6 +459,10 @@ export type UpdateProjectRequestBody = { * Opt-in to skip deployments when there are no changes to the root directory and its dependencies */ enableAffectedProjectsDeployments?: boolean | undefined; + /** + * Manage Static IPs for this project + */ + staticIps?: UpdateProjectStaticIps | undefined; /** * OpenID Connect JSON Web Token generation configuration. */ @@ -425,6 +487,10 @@ export type UpdateProjectRequestBody = { * The list of connections from project environment to Secure Compute network */ connectConfigurations?: Array | null | undefined; + /** + * An array of objects representing a Dismissed Toast in regards to a Project. Objects are either merged with existing toasts (on key match), or added to the `dimissedToasts` array.` + */ + dismissedToasts?: Array | undefined; }; export type UpdateProjectRequest = { @@ -1026,10 +1092,12 @@ export const UpdateProjectProjectsFramework = { Zola: "zola", Hydrogen: "hydrogen", Vite: "vite", + TanstackStart: "tanstack-start", Vitepress: "vitepress", Vuepress: "vuepress", Parcel: "parcel", Fastapi: "fastapi", + Flask: "flask", Fasthtml: "fasthtml", SanityV3: "sanity-v3", Sanity: "sanity", @@ -1038,6 +1106,9 @@ export const UpdateProjectProjectsFramework = { Hono: "hono", Express: "express", H3: "h3", + Nestjs: "nestjs", + Elysia: "elysia", + Fastify: "fastify", Xmcp: "xmcp", } as const; export type UpdateProjectProjectsFramework = ClosedEnum< @@ -1128,6 +1199,7 @@ export type UpdateProjectOidcTokenClaims = { project: string; projectId: string; environment: string; + plan: string; }; export const UpdateProjectPlan = { @@ -1374,13 +1446,23 @@ export type UpdateProjectLink = | UpdateProjectLink1 | UpdateProjectLink2; -export type UpdateProjectMicrofrontends2 = { +export type UpdateProjectMicrofrontends3 = { updatedAt: number; groupIds: Array; enabled: boolean; + freeProjectForLegacyLimits?: boolean | undefined; }; -export type UpdateProjectMicrofrontends1 = { +export type UpdateProjectMicrofrontends2 = { + isDefaultApp?: boolean | undefined; + /** + * Whether observability data should be routed to this microfrontend project or a root project. + */ + routeObservabilityToThisProject?: boolean | undefined; + /** + * Whether to add microfrontends routing to aliases. This means domains in this project will route as a microfrontend. + */ + doNotRouteWithMicrofrontendsRouting?: boolean | undefined; /** * Timestamp when the microfrontends settings were last updated. */ @@ -1394,24 +1476,46 @@ export type UpdateProjectMicrofrontends1 = { */ 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. + * 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. Includes the leading slash, e.g. `/docs` */ - isDefaultApp?: boolean | undefined; + defaultRoute?: string | undefined; + /** + * Whether the project was part of the legacy limits for hobby and pro-trial before billing was added. This field is only set when the team is upgraded to a paid plan and we are backfilling the subscription status. We cap the subscription to 2 projects and set this field for the 3rd project. When this field is set, the project is not charged for and we do not call any billing APIs for this project. + */ + freeProjectForLegacyLimits?: boolean | undefined; +}; + +export type UpdateProjectMicrofrontends1 = { + isDefaultApp: boolean; + /** + * 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; /** * 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. Includes the leading slash, e.g. `/docs` */ defaultRoute?: string | undefined; /** - * Whether observability data should be routed to this microfrontend project or a root project. + * Whether the project was part of the legacy limits for hobby and pro-trial before billing was added. This field is only set when the team is upgraded to a paid plan and we are backfilling the subscription status. We cap the subscription to 2 projects and set this field for the 3rd project. When this field is set, the project is not charged for and we do not call any billing APIs for this project. */ - routeObservabilityToThisProject?: boolean | undefined; + freeProjectForLegacyLimits?: boolean | undefined; }; export type UpdateProjectMicrofrontends = | UpdateProjectMicrofrontends1 - | UpdateProjectMicrofrontends2; + | UpdateProjectMicrofrontends2 + | UpdateProjectMicrofrontends3; export const UpdateProjectProjectsNodeVersion = { + TwentyFourDotX: "24.x", TwentyTwoDotX: "22.x", TwentyDotX: "20.x", EighteenDotX: "18.x", @@ -1557,6 +1661,12 @@ export type UpdateProjectDefaultResourceConfig = { isNSNBDisabled?: boolean | undefined; }; +export type UpdateProjectProjectsStaticIps = { + builds: boolean; + enabled: boolean; + regions: Array; +}; + export const UpdateProjectProjectsResponseDeploymentType = { Preview: "preview", All: "all", @@ -1649,6 +1759,7 @@ export type UpdateProjectProjectsOidcTokenClaims = { project: string; projectId: string; environment: string; + plan: string; }; export const UpdateProjectProjectsPlan = { @@ -1737,9 +1848,17 @@ export type UpdateProjectPermissions = { userSudo?: Array | undefined; webAuthn?: Array | undefined; accessGroup?: Array | undefined; + agent?: Array | undefined; + alerts?: Array | undefined; aliasGlobal?: Array | undefined; analyticsSampling?: Array | undefined; analyticsUsage?: Array | undefined; + apiKey?: Array | undefined; + apiKeyAiGateway?: Array | undefined; + apiKeyOwnedBySelf?: Array | undefined; + oauth2Application?: Array | undefined; + vercelAppInstallation?: Array | undefined; + vercelAppInstallationRequest?: Array | undefined; auditLog?: Array | undefined; billingAddress?: Array | undefined; billingInformation?: Array | undefined; @@ -1751,6 +1870,7 @@ export type UpdateProjectPermissions = { billingRefund?: Array | undefined; billingTaxId?: Array | undefined; blob?: Array | undefined; + blobStoreTokenSet?: Array | undefined; budget?: Array | undefined; cacheArtifact?: Array | undefined; cacheArtifactUsageEvent?: Array | undefined; @@ -1758,6 +1878,7 @@ export type UpdateProjectPermissions = { concurrentBuilds?: Array | undefined; connect?: Array | undefined; connectConfiguration?: Array | undefined; + dataCacheBillingSettings?: Array | undefined; defaultDeploymentProtection?: Array | undefined; domain?: Array | undefined; domainAcceptDelegation?: Array | undefined; @@ -1768,40 +1889,48 @@ export type UpdateProjectPermissions = { domainPurchase?: Array | undefined; domainRecord?: Array | undefined; domainTransferIn?: Array | undefined; + drain?: Array | undefined; + edgeConfig?: Array | undefined; + edgeConfigItem?: Array | undefined; + edgeConfigSchema?: Array | undefined; + edgeConfigToken?: Array | undefined; + endpointVerification?: Array | undefined; event?: Array | undefined; - ownEvent?: Array | undefined; - sensitiveEnvironmentVariablePolicy?: Array | undefined; fileUpload?: Array | undefined; flagsExplorerSubscription?: Array | undefined; gitRepository?: Array | undefined; - ipBlocking?: Array | undefined; imageOptimizationNewPrice?: Array | undefined; integration?: Array | undefined; integrationAccount?: Array | undefined; integrationConfiguration?: Array | undefined; - integrationConfigurationTransfer?: Array | undefined; integrationConfigurationProjects?: Array | undefined; - integrationVercelConfigurationOverride?: Array | undefined; integrationConfigurationRole?: Array | undefined; - integrationSSOSession?: Array | undefined; - integrationResource?: Array | undefined; + integrationConfigurationTransfer?: Array | undefined; + integrationDeploymentAction?: Array | undefined; integrationEvent?: Array | undefined; + integrationLog?: Array | undefined; + integrationResource?: Array | undefined; + integrationResourceReplCommand?: Array | undefined; integrationResourceSecrets?: Array | undefined; - integrationDeploymentAction?: Array | undefined; - marketplaceInstallationMember?: Array | undefined; + integrationSSOSession?: Array | undefined; + integrationStoreTokenSet?: Array | undefined; + integrationVercelConfigurationOverride?: Array | undefined; + integrationPullRequest?: Array | undefined; + ipBlocking?: Array | undefined; + jobGlobal?: Array | undefined; + logDrain?: Array | undefined; marketplaceBillingData?: Array | undefined; + marketplaceExperimentationEdgeConfigData?: Array | undefined; + marketplaceExperimentationItem?: Array | undefined; + marketplaceInstallationMember?: Array | undefined; marketplaceInvoice?: Array | undefined; marketplaceSettings?: Array | undefined; - marketplaceExperimentationItem?: Array | undefined; - marketplaceExperimentationEdgeConfigData?: Array | undefined; - jobGlobal?: Array | undefined; - drain?: Array | undefined; - logDrain?: Array | undefined; monitoring?: Array | undefined; - monitoringSettings?: Array | undefined; - monitoringQuery?: Array | undefined; - monitoringChart?: Array | undefined; monitoringAlert?: Array | undefined; + monitoringChart?: Array | undefined; + monitoringQuery?: Array | undefined; + monitoringSettings?: Array | undefined; + notificationCustomerBudget?: Array | undefined; notificationDeploymentFailed?: Array | undefined; notificationDomainConfiguration?: Array | undefined; notificationDomainExpire?: Array | undefined; @@ -1812,42 +1941,38 @@ export type UpdateProjectPermissions = { notificationDomainUnverified?: Array | undefined; notificationMonitoringAlert?: Array | undefined; notificationPaymentFailed?: Array | undefined; - notificationUsageAlert?: Array | undefined; notificationPreferences?: Array | undefined; - notificationCustomerBudget?: Array | undefined; notificationStatementOfReasons?: Array | undefined; + notificationUsageAlert?: Array | undefined; observabilityConfiguration?: Array | undefined; - alerts?: Array | undefined; - observabilityNotebook?: Array | undefined; observabilityFunnel?: Array | undefined; + observabilityNotebook?: Array | undefined; openTelemetryEndpoint?: Array | undefined; - vercelAppInstallation?: Array | undefined; - vercelAppInstallationRequest?: Array | undefined; + ownEvent?: Array | undefined; + organizationDomain?: Array | undefined; + passwordProtectionInvoiceItem?: Array | undefined; paymentMethod?: Array | undefined; permissions?: Array | undefined; postgres?: Array | undefined; + postgresStoreTokenSet?: Array | undefined; previewDeploymentSuffix?: Array | undefined; + projectTransferIn?: 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; + redisStoreTokenSet?: Array | undefined; remoteCaching?: Array | undefined; + repository?: Array | undefined; samlConfig?: Array | undefined; secret?: Array | undefined; - redisStoreTokenSet?: Array | undefined; - blobStoreTokenSet?: Array | undefined; - postgresStoreTokenSet?: Array | undefined; - integrationStoreTokenSet?: Array | undefined; - integrationResourceReplCommand?: Array | undefined; + sensitiveEnvironmentVariablePolicy?: Array | undefined; + sharedEnvVars?: Array | undefined; + sharedEnvVarsProduction?: Array | undefined; + space?: Array | undefined; + spaceRun?: Array | undefined; storeTransfer?: Array | undefined; supportCase?: Array | undefined; supportCaseComment?: Array | undefined; - dataCacheBillingSettings?: Array | undefined; team?: Array | undefined; teamAccessRequest?: Array | undefined; teamFellowMembership?: Array | undefined; @@ -1862,26 +1987,15 @@ export type UpdateProjectPermissions = { token?: Array | undefined; usage?: Array | undefined; usageCycle?: Array | undefined; + vercelRun?: Array | undefined; + vercelRunExec?: Array | undefined; vpcPeeringConnection?: Array | undefined; webAnalyticsPlan?: 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; - vercelRun?: Array | undefined; - vercelRunExec?: Array | undefined; - apiKey?: Array | undefined; - apiKeyOwnedBySelf?: Array | undefined; - apiKeyAiGateway?: Array | undefined; aliasProject?: Array | undefined; aliasProtectionBypass?: Array | undefined; buildMachine?: Array | undefined; - productionAliasProtectionBypass?: Array | undefined; connectConfigurationLink?: Array | undefined; dataCacheNamespace?: Array | undefined; deployment?: Array | undefined; @@ -1897,54 +2011,55 @@ export type UpdateProjectPermissions = { deploymentRollback?: Array | undefined; edgeCacheNamespace?: Array | undefined; environments?: Array | undefined; + job?: Array | undefined; logs?: Array | undefined; logsPreset?: Array | undefined; - passwordProtection?: Array | undefined; - optionsAllowlist?: Array | undefined; - job?: Array | undefined; observabilityData?: Array | undefined; onDemandBuild?: Array | undefined; onDemandConcurrency?: Array | undefined; + optionsAllowlist?: Array | undefined; + passwordProtection?: Array | undefined; + productionAliasProtectionBypass?: Array | undefined; project?: Array | undefined; - projectFromV0?: Array | undefined; projectAccessGroup?: Array | undefined; projectAnalyticsSampling?: Array | undefined; + projectAnalyticsUsage?: Array | undefined; projectCheck?: Array | undefined; projectCheckRun?: Array | undefined; + projectDeploymentExpiration?: Array | undefined; projectDeploymentHook?: Array | undefined; projectDomain?: Array | undefined; - projectDomainMove?: Array | undefined; projectDomainCheckConfig?: Array | undefined; + projectDomainMove?: Array | undefined; projectEnvVars?: Array | undefined; projectEnvVarsProduction?: Array | undefined; projectEnvVarsUnownedByIntegration?: Array | undefined; projectFlags?: Array | undefined; + projectFlagsProduction?: Array | undefined; + projectFromV0?: Array | undefined; projectId?: Array | undefined; projectIntegrationConfiguration?: Array | undefined; projectLink?: Array | undefined; projectMember?: Array | undefined; projectMonitoring?: Array | undefined; + projectOIDCToken?: Array | undefined; projectPermissions?: Array | undefined; projectProductionBranch?: Array | undefined; - projectTransfer?: Array | undefined; - projectTransferOut?: Array | undefined; projectProtectionBypass?: Array | undefined; - projectUsage?: Array | undefined; - projectAnalyticsUsage?: Array | undefined; + projectRollingRelease?: Array | undefined; projectSupportCase?: Array | undefined; projectSupportCaseComment?: Array | undefined; - projectDeploymentExpiration?: Array | undefined; - projectRollingRelease?: Array | undefined; projectTier?: Array | undefined; - projectOIDCToken?: Array | undefined; + projectTransfer?: Array | undefined; + projectTransferOut?: Array | undefined; + projectUsage?: Array | undefined; seawallConfig?: Array | undefined; + sharedEnvVarConnection?: Array | undefined; skewProtection?: Array | undefined; analytics?: Array | undefined; trustedIps?: Array | undefined; v0Chat?: Array | undefined; webAnalytics?: Array | undefined; - sharedEnvVarConnection?: Array | undefined; - sonar?: Array | undefined; }; export type UpdateProjectLastRollbackTarget = {}; @@ -2093,6 +2208,10 @@ export type UpdateProjectGitProviderOptions = { * Whether the Vercel bot should not automatically create GitHub repository-dispatch events on deployment events. https://vercel.com/docs/git/vercel-for-github#repository-dispatch-events */ disableRepositoryDispatchEvents?: boolean | undefined; + /** + * Whether the project requires commits to be signed before deployments will be created. + */ + requireVerifiedCommits?: boolean | undefined; }; export type UpdateProjectWebAnalytics = { @@ -2103,46 +2222,50 @@ export type UpdateProjectWebAnalytics = { hasData?: boolean | undefined; }; -export const UpdateProjectProjectsResponse200Action = { +export const UpdateProjectProjectsResponse200ApplicationJSONAction = { Log: "log", Challenge: "challenge", Deny: "deny", } as const; -export type UpdateProjectProjectsResponse200Action = ClosedEnum< - typeof UpdateProjectProjectsResponse200Action +export type UpdateProjectProjectsResponse200ApplicationJSONAction = ClosedEnum< + typeof UpdateProjectProjectsResponse200ApplicationJSONAction >; export type UpdateProjectBotFilter = { active: boolean; - action?: UpdateProjectProjectsResponse200Action | undefined; + action?: UpdateProjectProjectsResponse200ApplicationJSONAction | undefined; }; -export const UpdateProjectProjectsAction = { - Log: "log", - Challenge: "challenge", - Deny: "deny", -} as const; -export type UpdateProjectProjectsAction = ClosedEnum< - typeof UpdateProjectProjectsAction ->; +export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyAction = + { + Log: "log", + Challenge: "challenge", + Deny: "deny", + } as const; +export type UpdateProjectProjectsResponse200ApplicationJSONResponseBodyAction = + ClosedEnum< + typeof UpdateProjectProjectsResponse200ApplicationJSONResponseBodyAction + >; export type UpdateProjectAiBots = { active: boolean; - action?: UpdateProjectProjectsAction | undefined; + action?: + | UpdateProjectProjectsResponse200ApplicationJSONResponseBodyAction + | undefined; }; -export const UpdateProjectProjectsResponseAction = { +export const UpdateProjectProjectsResponse200Action = { Log: "log", Challenge: "challenge", Deny: "deny", } as const; -export type UpdateProjectProjectsResponseAction = ClosedEnum< - typeof UpdateProjectProjectsResponseAction +export type UpdateProjectProjectsResponse200Action = ClosedEnum< + typeof UpdateProjectProjectsResponse200Action >; export type UpdateProjectOwasp = { active: boolean; - action?: UpdateProjectProjectsResponseAction | undefined; + action?: UpdateProjectProjectsResponse200Action | undefined; }; export type UpdateProjectManagedRules = { @@ -2210,13 +2333,15 @@ export type UpdateProjectHistory = { at: number; }; -export const UpdateProjectAction = { +export const UpdateProjectProjectsResponseAction = { Blocked: "blocked", } as const; -export type UpdateProjectAction = ClosedEnum; +export type UpdateProjectProjectsResponseAction = ClosedEnum< + typeof UpdateProjectProjectsResponseAction +>; export type UpdateProjectBlock = { - action: UpdateProjectAction; + action: UpdateProjectProjectsResponseAction; reason: string; statusCode: number; createdAt: number; @@ -2460,6 +2585,7 @@ export type UpdateProjectAbuse = { | UpdateProjectBlockHistory2 > | undefined; + interstitial?: boolean | undefined; }; export const UpdateProjectHasProjectsType = { @@ -2528,6 +2654,37 @@ export type UpdateProjectInternalRoutes = | UpdateProjectInternalRoutes1 | UpdateProjectInternalRoutes2; +export const UpdateProjectProjectsAction = { + Cancel: "cancel", + Accept: "accept", + Delete: "delete", +} as const; +export type UpdateProjectProjectsAction = ClosedEnum< + typeof UpdateProjectProjectsAction +>; + +export type UpdateProjectValuePreviousValue = string | number | boolean; + +export type UpdateProjectValueCurrentValue = string | number | boolean; + +export type UpdateProjectValue4 = { + previousValue: string | number | boolean; + currentValue: string | number | boolean; +}; + +export type UpdateProjectValue = + | UpdateProjectValue4 + | string + | number + | boolean; + +export type UpdateProjectProjectsDismissedToasts = { + key: string; + dismissedAt: number; + action: UpdateProjectProjectsAction; + value: UpdateProjectValue4 | string | number | boolean | null; +}; + /** * The project was successfully updated */ @@ -2576,6 +2733,7 @@ export type UpdateProjectResponseBody = { microfrontends?: | UpdateProjectMicrofrontends1 | UpdateProjectMicrofrontends2 + | UpdateProjectMicrofrontends3 | undefined; name: string; nodeVersion: UpdateProjectProjectsNodeVersion; @@ -2602,6 +2760,7 @@ export type UpdateProjectResponseBody = { skewProtectionBoundaryAt?: number | undefined; skewProtectionMaxAge?: number | undefined; skipGitConnectDuringLink?: boolean | undefined; + staticIps?: UpdateProjectProjectsStaticIps | undefined; sourceFilesOutsideRootDirectory?: boolean | undefined; enableAffectedProjectsDeployments?: boolean | undefined; ssoProtection?: UpdateProjectProjectsSsoProtection | null | undefined; @@ -2642,95 +2801,47 @@ export type UpdateProjectResponseBody = { internalRoutes?: | Array | undefined; + hasDeployments?: boolean | undefined; + dismissedToasts?: Array | 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 UpdateProjectBuildMachineType$inboundSchema: z.ZodNativeEnum< typeof UpdateProjectBuildMachineType > = z.nativeEnum(UpdateProjectBuildMachineType); - /** @internal */ export const UpdateProjectBuildMachineType$outboundSchema: z.ZodNativeEnum< typeof UpdateProjectBuildMachineType > = UpdateProjectBuildMachineType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectBuildMachineType$ { - /** @deprecated use `UpdateProjectBuildMachineType$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectBuildMachineType$inboundSchema; - /** @deprecated use `UpdateProjectBuildMachineType$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectBuildMachineType$outboundSchema; -} - /** @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, @@ -2747,7 +2858,6 @@ export const UpdateProjectResourceConfig$inboundSchema: z.ZodType< elasticConcurrencyEnabled: z.boolean().optional(), isNSNBDisabled: z.boolean().optional(), }); - /** @internal */ export type UpdateProjectResourceConfig$Outbound = { buildMachineType?: string | undefined; @@ -2777,19 +2887,6 @@ export const UpdateProjectResourceConfig$outboundSchema: z.ZodType< isNSNBDisabled: 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 { @@ -2799,7 +2896,6 @@ export function updateProjectResourceConfigToJSON( ), ); } - export function updateProjectResourceConfigFromJSON( jsonString: string, ): SafeParseResult { @@ -2810,27 +2906,54 @@ export function updateProjectResourceConfigFromJSON( ); } +/** @internal */ +export const UpdateProjectStaticIps$inboundSchema: z.ZodType< + UpdateProjectStaticIps, + z.ZodTypeDef, + unknown +> = z.object({ + enabled: z.boolean(), +}); +/** @internal */ +export type UpdateProjectStaticIps$Outbound = { + enabled: boolean; +}; + +/** @internal */ +export const UpdateProjectStaticIps$outboundSchema: z.ZodType< + UpdateProjectStaticIps$Outbound, + z.ZodTypeDef, + UpdateProjectStaticIps +> = z.object({ + enabled: z.boolean(), +}); + +export function updateProjectStaticIpsToJSON( + updateProjectStaticIps: UpdateProjectStaticIps, +): string { + return JSON.stringify( + UpdateProjectStaticIps$outboundSchema.parse(updateProjectStaticIps), + ); +} +export function updateProjectStaticIpsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectStaticIps$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectStaticIps' from JSON`, + ); +} + /** @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, @@ -2840,7 +2963,6 @@ export const UpdateProjectOidcTokenConfig$inboundSchema: z.ZodType< enabled: z.boolean().default(true), issuerMode: UpdateProjectIssuerMode$inboundSchema.default("team"), }); - /** @internal */ export type UpdateProjectOidcTokenConfig$Outbound = { enabled: boolean; @@ -2857,19 +2979,6 @@ export const UpdateProjectOidcTokenConfig$outboundSchema: z.ZodType< issuerMode: UpdateProjectIssuerMode$outboundSchema.default("team"), }); -/** - * @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 { @@ -2879,7 +2988,6 @@ export function updateProjectOidcTokenConfigToJSON( ), ); } - export function updateProjectOidcTokenConfigFromJSON( jsonString: string, ): SafeParseResult { @@ -2894,23 +3002,11 @@ export function updateProjectOidcTokenConfigFromJSON( 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 UpdateProjectPasswordProtection$inboundSchema: z.ZodType< UpdateProjectPasswordProtection, @@ -2920,7 +3016,6 @@ export const UpdateProjectPasswordProtection$inboundSchema: z.ZodType< deploymentType: UpdateProjectDeploymentType$inboundSchema, password: z.nullable(z.string()).optional(), }); - /** @internal */ export type UpdateProjectPasswordProtection$Outbound = { deploymentType: string; @@ -2937,19 +3032,6 @@ export const UpdateProjectPasswordProtection$outboundSchema: z.ZodType< 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 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 { @@ -2959,7 +3041,6 @@ export function updateProjectPasswordProtectionToJSON( ), ); } - export function updateProjectPasswordProtectionFromJSON( jsonString: string, ): SafeParseResult { @@ -2974,25 +3055,11 @@ export function updateProjectPasswordProtectionFromJSON( 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 UpdateProjectSsoProtection$inboundSchema: z.ZodType< UpdateProjectSsoProtection, @@ -3003,7 +3070,6 @@ export const UpdateProjectSsoProtection$inboundSchema: z.ZodType< "preview", ), }); - /** @internal */ export type UpdateProjectSsoProtection$Outbound = { deploymentType: string; @@ -3020,19 +3086,6 @@ export const UpdateProjectSsoProtection$outboundSchema: z.ZodType< ), }); -/** - * @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 { @@ -3040,7 +3093,6 @@ export function updateProjectSsoProtectionToJSON( UpdateProjectSsoProtection$outboundSchema.parse(updateProjectSsoProtection), ); } - export function updateProjectSsoProtectionFromJSON( jsonString: string, ): SafeParseResult { @@ -3055,25 +3107,11 @@ export function updateProjectSsoProtectionFromJSON( export const UpdateProjectProjectsRequestDeploymentType$inboundSchema: z.ZodNativeEnum = z .nativeEnum(UpdateProjectProjectsRequestDeploymentType); - /** @internal */ export const UpdateProjectProjectsRequestDeploymentType$outboundSchema: z.ZodNativeEnum = UpdateProjectProjectsRequestDeploymentType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectProjectsRequestDeploymentType$ { - /** @deprecated use `UpdateProjectProjectsRequestDeploymentType$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectProjectsRequestDeploymentType$inboundSchema; - /** @deprecated use `UpdateProjectProjectsRequestDeploymentType$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectProjectsRequestDeploymentType$outboundSchema; -} - /** @internal */ export const Addresses$inboundSchema: z.ZodType< Addresses, @@ -3083,7 +3121,6 @@ export const Addresses$inboundSchema: z.ZodType< value: z.string(), note: z.string().optional(), }); - /** @internal */ export type Addresses$Outbound = { value: string; @@ -3100,23 +3137,9 @@ export const Addresses$outboundSchema: z.ZodType< 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 { @@ -3131,23 +3154,11 @@ export function addressesFromJSON( 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 UpdateProjectTrustedIps$inboundSchema: z.ZodType< UpdateProjectTrustedIps, @@ -3158,7 +3169,6 @@ export const UpdateProjectTrustedIps$inboundSchema: z.ZodType< addresses: z.array(z.lazy(() => Addresses$inboundSchema)), protectionMode: ProtectionMode$inboundSchema, }); - /** @internal */ export type UpdateProjectTrustedIps$Outbound = { deploymentType: string; @@ -3177,19 +3187,6 @@ export const UpdateProjectTrustedIps$outboundSchema: z.ZodType< 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 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 { @@ -3197,7 +3194,6 @@ export function updateProjectTrustedIpsToJSON( UpdateProjectTrustedIps$outboundSchema.parse(updateProjectTrustedIps), ); } - export function updateProjectTrustedIpsFromJSON( jsonString: string, ): SafeParseResult { @@ -3216,7 +3212,6 @@ export const UpdateProjectPaths$inboundSchema: z.ZodType< > = z.object({ value: z.string(), }); - /** @internal */ export type UpdateProjectPaths$Outbound = { value: string; @@ -3231,19 +3226,6 @@ export const UpdateProjectPaths$outboundSchema: z.ZodType< 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 { @@ -3251,7 +3233,6 @@ export function updateProjectPathsToJSON( UpdateProjectPaths$outboundSchema.parse(updateProjectPaths), ); } - export function updateProjectPathsFromJSON( jsonString: string, ): SafeParseResult { @@ -3270,7 +3251,6 @@ export const UpdateProjectOptionsAllowlist$inboundSchema: z.ZodType< > = z.object({ paths: z.array(z.lazy(() => UpdateProjectPaths$inboundSchema)), }); - /** @internal */ export type UpdateProjectOptionsAllowlist$Outbound = { paths: Array; @@ -3285,19 +3265,6 @@ export const UpdateProjectOptionsAllowlist$outboundSchema: z.ZodType< 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 { @@ -3307,7 +3274,6 @@ export function updateProjectOptionsAllowlistToJSON( ), ); } - export function updateProjectOptionsAllowlistFromJSON( jsonString: string, ): SafeParseResult { @@ -3329,7 +3295,6 @@ export const ConnectConfigurations1$inboundSchema: z.ZodType< passive: z.boolean(), buildsEnabled: z.boolean(), }); - /** @internal */ export type ConnectConfigurations1$Outbound = { envId: string; @@ -3350,19 +3315,6 @@ export const ConnectConfigurations1$outboundSchema: z.ZodType< buildsEnabled: 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 ConnectConfigurations1$ { - /** @deprecated use `ConnectConfigurations1$inboundSchema` instead. */ - export const inboundSchema = ConnectConfigurations1$inboundSchema; - /** @deprecated use `ConnectConfigurations1$outboundSchema` instead. */ - export const outboundSchema = ConnectConfigurations1$outboundSchema; - /** @deprecated use `ConnectConfigurations1$Outbound` instead. */ - export type Outbound = ConnectConfigurations1$Outbound; -} - export function connectConfigurations1ToJSON( connectConfigurations1: ConnectConfigurations1, ): string { @@ -3370,7 +3322,6 @@ export function connectConfigurations1ToJSON( ConnectConfigurations1$outboundSchema.parse(connectConfigurations1), ); } - export function connectConfigurations1FromJSON( jsonString: string, ): SafeParseResult { @@ -3387,7 +3338,6 @@ export const ConnectConfigurations$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.lazy(() => ConnectConfigurations1$inboundSchema); - /** @internal */ export type ConnectConfigurations$Outbound = ConnectConfigurations1$Outbound; @@ -3398,19 +3348,6 @@ export const ConnectConfigurations$outboundSchema: z.ZodType< ConnectConfigurations > = z.lazy(() => ConnectConfigurations1$outboundSchema); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ConnectConfigurations$ { - /** @deprecated use `ConnectConfigurations$inboundSchema` instead. */ - export const inboundSchema = ConnectConfigurations$inboundSchema; - /** @deprecated use `ConnectConfigurations$outboundSchema` instead. */ - export const outboundSchema = ConnectConfigurations$outboundSchema; - /** @deprecated use `ConnectConfigurations$Outbound` instead. */ - export type Outbound = ConnectConfigurations$Outbound; -} - export function connectConfigurationsToJSON( connectConfigurations: ConnectConfigurations, ): string { @@ -3418,7 +3355,6 @@ export function connectConfigurationsToJSON( ConnectConfigurations$outboundSchema.parse(connectConfigurations), ); } - export function connectConfigurationsFromJSON( jsonString: string, ): SafeParseResult { @@ -3429,6 +3365,158 @@ export function connectConfigurationsFromJSON( ); } +/** @internal */ +export const UpdateProjectAction$inboundSchema: z.ZodNativeEnum< + typeof UpdateProjectAction +> = z.nativeEnum(UpdateProjectAction); +/** @internal */ +export const UpdateProjectAction$outboundSchema: z.ZodNativeEnum< + typeof UpdateProjectAction +> = UpdateProjectAction$inboundSchema; + +/** @internal */ +export const PreviousValue$inboundSchema: z.ZodType< + PreviousValue, + z.ZodTypeDef, + unknown +> = z.union([z.number(), z.boolean(), z.string()]); +/** @internal */ +export type PreviousValue$Outbound = number | boolean | string; + +/** @internal */ +export const PreviousValue$outboundSchema: z.ZodType< + PreviousValue$Outbound, + z.ZodTypeDef, + PreviousValue +> = z.union([z.number(), z.boolean(), z.string()]); + +export function previousValueToJSON(previousValue: PreviousValue): string { + return JSON.stringify(PreviousValue$outboundSchema.parse(previousValue)); +} +export function previousValueFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => PreviousValue$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PreviousValue' from JSON`, + ); +} + +/** @internal */ +export const CurrentValue$inboundSchema: z.ZodType< + CurrentValue, + z.ZodTypeDef, + unknown +> = z.union([z.number(), z.boolean(), z.string()]); +/** @internal */ +export type CurrentValue$Outbound = number | boolean | string; + +/** @internal */ +export const CurrentValue$outboundSchema: z.ZodType< + CurrentValue$Outbound, + z.ZodTypeDef, + CurrentValue +> = z.union([z.number(), z.boolean(), z.string()]); + +export function currentValueToJSON(currentValue: CurrentValue): string { + return JSON.stringify(CurrentValue$outboundSchema.parse(currentValue)); +} +export function currentValueFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => CurrentValue$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'CurrentValue' from JSON`, + ); +} + +/** @internal */ +export const Value5$inboundSchema: z.ZodType = z + .object({ + previousValue: z.union([z.number(), z.boolean(), z.string()]), + currentValue: z.union([z.number(), z.boolean(), z.string()]), + }); +/** @internal */ +export type Value5$Outbound = { + previousValue: number | boolean | string; + currentValue: number | boolean | string; +}; + +/** @internal */ +export const Value5$outboundSchema: z.ZodType< + Value5$Outbound, + z.ZodTypeDef, + Value5 +> = z.object({ + previousValue: z.union([z.number(), z.boolean(), z.string()]), + currentValue: z.union([z.number(), z.boolean(), z.string()]), +}); + +export function value5ToJSON(value5: Value5): string { + return JSON.stringify(Value5$outboundSchema.parse(value5)); +} +export function value5FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Value5$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Value5' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectDismissedToasts$inboundSchema: z.ZodType< + UpdateProjectDismissedToasts, + z.ZodTypeDef, + unknown +> = z.object({ + key: z.string(), + dismissedAt: z.number(), + action: UpdateProjectAction$inboundSchema, + value: z.any().optional(), +}); +/** @internal */ +export type UpdateProjectDismissedToasts$Outbound = { + key: string; + dismissedAt: number; + action: string; + value?: any | undefined; +}; + +/** @internal */ +export const UpdateProjectDismissedToasts$outboundSchema: z.ZodType< + UpdateProjectDismissedToasts$Outbound, + z.ZodTypeDef, + UpdateProjectDismissedToasts +> = z.object({ + key: z.string(), + dismissedAt: z.number(), + action: UpdateProjectAction$outboundSchema, + value: z.any().optional(), +}); + +export function updateProjectDismissedToastsToJSON( + updateProjectDismissedToasts: UpdateProjectDismissedToasts, +): string { + return JSON.stringify( + UpdateProjectDismissedToasts$outboundSchema.parse( + updateProjectDismissedToasts, + ), + ); +} +export function updateProjectDismissedToastsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectDismissedToasts$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectDismissedToasts' from JSON`, + ); +} + /** @internal */ export const UpdateProjectRequestBody$inboundSchema: z.ZodType< UpdateProjectRequestBody, @@ -3451,6 +3539,7 @@ export const UpdateProjectRequestBody$inboundSchema: z.ZodType< nodeVersion: UpdateProjectNodeVersion$inboundSchema.optional(), outputDirectory: z.nullable(z.string()).optional(), previewDeploymentsDisabled: z.nullable(z.boolean()).optional(), + previewDeploymentSuffix: z.nullable(z.string()).optional(), publicSource: z.nullable(z.boolean()).optional(), resourceConfig: z.lazy(() => UpdateProjectResourceConfig$inboundSchema) .optional(), @@ -3464,6 +3553,7 @@ export const UpdateProjectRequestBody$inboundSchema: z.ZodType< enablePreviewFeedback: z.nullable(z.boolean()).optional(), enableProductionFeedback: z.nullable(z.boolean()).optional(), enableAffectedProjectsDeployments: z.boolean().optional(), + staticIps: z.lazy(() => UpdateProjectStaticIps$inboundSchema).optional(), oidcTokenConfig: z.lazy(() => UpdateProjectOidcTokenConfig$inboundSchema) .optional(), passwordProtection: z.nullable( @@ -3480,8 +3570,10 @@ export const UpdateProjectRequestBody$inboundSchema: z.ZodType< connectConfigurations: z.nullable( z.array(z.lazy(() => ConnectConfigurations1$inboundSchema)), ).optional(), + dismissedToasts: z.array( + z.lazy(() => UpdateProjectDismissedToasts$inboundSchema), + ).optional(), }); - /** @internal */ export type UpdateProjectRequestBody$Outbound = { autoExposeSystemEnvs?: boolean | undefined; @@ -3500,6 +3592,7 @@ export type UpdateProjectRequestBody$Outbound = { nodeVersion?: string | undefined; outputDirectory?: string | null | undefined; previewDeploymentsDisabled?: boolean | null | undefined; + previewDeploymentSuffix?: string | null | undefined; publicSource?: boolean | null | undefined; resourceConfig?: UpdateProjectResourceConfig$Outbound | undefined; rootDirectory?: string | null | undefined; @@ -3512,6 +3605,7 @@ export type UpdateProjectRequestBody$Outbound = { enablePreviewFeedback?: boolean | null | undefined; enableProductionFeedback?: boolean | null | undefined; enableAffectedProjectsDeployments?: boolean | undefined; + staticIps?: UpdateProjectStaticIps$Outbound | undefined; oidcTokenConfig?: UpdateProjectOidcTokenConfig$Outbound | undefined; passwordProtection?: | UpdateProjectPasswordProtection$Outbound @@ -3524,6 +3618,7 @@ export type UpdateProjectRequestBody$Outbound = { | Array | null | undefined; + dismissedToasts?: Array | undefined; }; /** @internal */ @@ -3548,6 +3643,7 @@ export const UpdateProjectRequestBody$outboundSchema: z.ZodType< nodeVersion: UpdateProjectNodeVersion$outboundSchema.optional(), outputDirectory: z.nullable(z.string()).optional(), previewDeploymentsDisabled: z.nullable(z.boolean()).optional(), + previewDeploymentSuffix: z.nullable(z.string()).optional(), publicSource: z.nullable(z.boolean()).optional(), resourceConfig: z.lazy(() => UpdateProjectResourceConfig$outboundSchema) .optional(), @@ -3561,6 +3657,7 @@ export const UpdateProjectRequestBody$outboundSchema: z.ZodType< enablePreviewFeedback: z.nullable(z.boolean()).optional(), enableProductionFeedback: z.nullable(z.boolean()).optional(), enableAffectedProjectsDeployments: z.boolean().optional(), + staticIps: z.lazy(() => UpdateProjectStaticIps$outboundSchema).optional(), oidcTokenConfig: z.lazy(() => UpdateProjectOidcTokenConfig$outboundSchema) .optional(), passwordProtection: z.nullable( @@ -3577,21 +3674,11 @@ export const UpdateProjectRequestBody$outboundSchema: z.ZodType< connectConfigurations: z.nullable( z.array(z.lazy(() => ConnectConfigurations1$outboundSchema)), ).optional(), + dismissedToasts: z.array( + z.lazy(() => UpdateProjectDismissedToasts$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 { @@ -3599,7 +3686,6 @@ export function updateProjectRequestBodyToJSON( UpdateProjectRequestBody$outboundSchema.parse(updateProjectRequestBody), ); } - export function updateProjectRequestBodyFromJSON( jsonString: string, ): SafeParseResult { @@ -3625,7 +3711,6 @@ export const UpdateProjectRequest$inboundSchema: z.ZodType< "RequestBody": "requestBody", }); }); - /** @internal */ export type UpdateProjectRequest$Outbound = { idOrName: string; @@ -3650,19 +3735,6 @@ export const UpdateProjectRequest$outboundSchema: z.ZodType< }); }); -/** - * @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 { @@ -3670,7 +3742,6 @@ export function updateProjectRequestToJSON( UpdateProjectRequest$outboundSchema.parse(updateProjectRequest), ); } - export function updateProjectRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -3695,7 +3766,6 @@ export const UpdateProjectAnalytics$inboundSchema: z.ZodType< sampleRatePercent: z.nullable(z.number()).optional(), spendLimitInDollars: z.nullable(z.number()).optional(), }); - /** @internal */ export type UpdateProjectAnalytics$Outbound = { id: string; @@ -3722,19 +3792,6 @@ export const UpdateProjectAnalytics$outboundSchema: z.ZodType< 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 { @@ -3742,7 +3799,6 @@ export function updateProjectAnalyticsToJSON( UpdateProjectAnalytics$outboundSchema.parse(updateProjectAnalytics), ); } - export function updateProjectAnalyticsFromJSON( jsonString: string, ): SafeParseResult { @@ -3766,7 +3822,6 @@ export const UpdateProjectSpeedInsights$inboundSchema: z.ZodType< hasData: z.boolean().optional(), paidAt: z.number().optional(), }); - /** @internal */ export type UpdateProjectSpeedInsights$Outbound = { id: string; @@ -3791,19 +3846,6 @@ export const UpdateProjectSpeedInsights$outboundSchema: z.ZodType< 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 { @@ -3811,7 +3853,6 @@ export function updateProjectSpeedInsightsToJSON( UpdateProjectSpeedInsights$outboundSchema.parse(updateProjectSpeedInsights), ); } - export function updateProjectSpeedInsightsFromJSON( jsonString: string, ): SafeParseResult { @@ -3826,30 +3867,17 @@ export function updateProjectSpeedInsightsFromJSON( export const UpdateProjectEnvId2$inboundSchema: z.ZodNativeEnum< typeof UpdateProjectEnvId2 > = z.nativeEnum(UpdateProjectEnvId2); - /** @internal */ export const UpdateProjectEnvId2$outboundSchema: z.ZodNativeEnum< typeof UpdateProjectEnvId2 > = UpdateProjectEnvId2$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectEnvId2$ { - /** @deprecated use `UpdateProjectEnvId2$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectEnvId2$inboundSchema; - /** @deprecated use `UpdateProjectEnvId2$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectEnvId2$outboundSchema; -} - /** @internal */ export const UpdateProjectEnvId$inboundSchema: z.ZodType< UpdateProjectEnvId, z.ZodTypeDef, unknown > = z.union([z.string(), UpdateProjectEnvId2$inboundSchema]); - /** @internal */ export type UpdateProjectEnvId$Outbound = string | string; @@ -3860,19 +3888,6 @@ export const UpdateProjectEnvId$outboundSchema: z.ZodType< UpdateProjectEnvId > = z.union([z.string(), UpdateProjectEnvId2$outboundSchema]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectEnvId$ { - /** @deprecated use `UpdateProjectEnvId$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectEnvId$inboundSchema; - /** @deprecated use `UpdateProjectEnvId$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectEnvId$outboundSchema; - /** @deprecated use `UpdateProjectEnvId$Outbound` instead. */ - export type Outbound = UpdateProjectEnvId$Outbound; -} - export function updateProjectEnvIdToJSON( updateProjectEnvId: UpdateProjectEnvId, ): string { @@ -3880,7 +3895,6 @@ export function updateProjectEnvIdToJSON( UpdateProjectEnvId$outboundSchema.parse(updateProjectEnvId), ); } - export function updateProjectEnvIdFromJSON( jsonString: string, ): SafeParseResult { @@ -3900,7 +3914,6 @@ export const UpdateProjectAws$inboundSchema: z.ZodType< subnetIds: z.array(z.string()), securityGroupId: z.string(), }); - /** @internal */ export type UpdateProjectAws$Outbound = { subnetIds: Array; @@ -3917,19 +3930,6 @@ export const UpdateProjectAws$outboundSchema: z.ZodType< securityGroupId: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectAws$ { - /** @deprecated use `UpdateProjectAws$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectAws$inboundSchema; - /** @deprecated use `UpdateProjectAws$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectAws$outboundSchema; - /** @deprecated use `UpdateProjectAws$Outbound` instead. */ - export type Outbound = UpdateProjectAws$Outbound; -} - export function updateProjectAwsToJSON( updateProjectAws: UpdateProjectAws, ): string { @@ -3937,7 +3937,6 @@ export function updateProjectAwsToJSON( UpdateProjectAws$outboundSchema.parse(updateProjectAws), ); } - export function updateProjectAwsFromJSON( jsonString: string, ): SafeParseResult { @@ -3963,7 +3962,6 @@ export const UpdateProjectConnectConfigurations$inboundSchema: z.ZodType< createdAt: z.number(), updatedAt: z.number(), }); - /** @internal */ export type UpdateProjectConnectConfigurations$Outbound = { envId: string | string; @@ -3992,20 +3990,6 @@ export const UpdateProjectConnectConfigurations$outboundSchema: z.ZodType< 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 UpdateProjectConnectConfigurations$ { - /** @deprecated use `UpdateProjectConnectConfigurations$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectConnectConfigurations$inboundSchema; - /** @deprecated use `UpdateProjectConnectConfigurations$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectConnectConfigurations$outboundSchema; - /** @deprecated use `UpdateProjectConnectConfigurations$Outbound` instead. */ - export type Outbound = UpdateProjectConnectConfigurations$Outbound; -} - export function updateProjectConnectConfigurationsToJSON( updateProjectConnectConfigurations: UpdateProjectConnectConfigurations, ): string { @@ -4015,7 +3999,6 @@ export function updateProjectConnectConfigurationsToJSON( ), ); } - export function updateProjectConnectConfigurationsFromJSON( jsonString: string, ): SafeParseResult { @@ -4037,7 +4020,6 @@ export const UpdateProjectDefinitions$inboundSchema: z.ZodType< path: z.string(), schedule: z.string(), }); - /** @internal */ export type UpdateProjectDefinitions$Outbound = { host: string; @@ -4056,19 +4038,6 @@ export const UpdateProjectDefinitions$outboundSchema: z.ZodType< 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 { @@ -4076,7 +4045,6 @@ export function updateProjectDefinitionsToJSON( UpdateProjectDefinitions$outboundSchema.parse(updateProjectDefinitions), ); } - export function updateProjectDefinitionsFromJSON( jsonString: string, ): SafeParseResult { @@ -4099,7 +4067,6 @@ export const UpdateProjectCrons$inboundSchema: z.ZodType< deploymentId: z.nullable(z.string()), definitions: z.array(z.lazy(() => UpdateProjectDefinitions$inboundSchema)), }); - /** @internal */ export type UpdateProjectCrons$Outbound = { enabledAt: number; @@ -4122,19 +4089,6 @@ export const UpdateProjectCrons$outboundSchema: z.ZodType< 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 { @@ -4142,7 +4096,6 @@ export function updateProjectCronsToJSON( UpdateProjectCrons$outboundSchema.parse(updateProjectCrons), ); } - export function updateProjectCronsFromJSON( jsonString: string, ): SafeParseResult { @@ -4163,7 +4116,6 @@ export const UpdateProjectDataCache$inboundSchema: z.ZodType< storageSizeBytes: z.nullable(z.number()).optional(), unlimited: z.boolean().optional(), }); - /** @internal */ export type UpdateProjectDataCache$Outbound = { userDisabled: boolean; @@ -4182,19 +4134,6 @@ export const UpdateProjectDataCache$outboundSchema: z.ZodType< 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 { @@ -4202,7 +4141,6 @@ export function updateProjectDataCacheToJSON( UpdateProjectDataCache$outboundSchema.parse(updateProjectDataCache), ); } - export function updateProjectDataCacheFromJSON( jsonString: string, ): SafeParseResult { @@ -4225,7 +4163,6 @@ export const UpdateProjectDeploymentExpiration$inboundSchema: z.ZodType< expirationDaysErrored: z.number().optional(), deploymentsToKeep: z.number().optional(), }); - /** @internal */ export type UpdateProjectDeploymentExpiration$Outbound = { expirationDays?: number | undefined; @@ -4248,20 +4185,6 @@ export const UpdateProjectDeploymentExpiration$outboundSchema: z.ZodType< 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 { @@ -4271,7 +4194,6 @@ export function updateProjectDeploymentExpirationToJSON( ), ); } - export function updateProjectDeploymentExpirationFromJSON( jsonString: string, ): SafeParseResult { @@ -4286,30 +4208,17 @@ export function updateProjectDeploymentExpirationFromJSON( 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; @@ -4320,19 +4229,6 @@ export const UpdateProjectTarget$outboundSchema: z.ZodType< 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 { @@ -4340,7 +4236,6 @@ export function updateProjectTargetToJSON( UpdateProjectTarget$outboundSchema.parse(updateProjectTarget), ); } - export function updateProjectTargetFromJSON( jsonString: string, ): SafeParseResult { @@ -4355,23 +4250,11 @@ export function updateProjectTargetFromJSON( 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< @@ -4379,7 +4262,6 @@ export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseB > = z.nativeEnum( UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type, ); - /** @internal */ export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type$outboundSchema: z.ZodNativeEnum< @@ -4387,19 +4269,6 @@ export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseB > = 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, @@ -4410,7 +4279,6 @@ export const UpdateProjectContentHint15$inboundSchema: z.ZodType< UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv15Type$inboundSchema, projectId: z.string(), }); - /** @internal */ export type UpdateProjectContentHint15$Outbound = { type: string; @@ -4428,19 +4296,6 @@ export const UpdateProjectContentHint15$outboundSchema: z.ZodType< 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 { @@ -4448,7 +4303,6 @@ export function updateProjectContentHint15ToJSON( UpdateProjectContentHint15$outboundSchema.parse(updateProjectContentHint15), ); } - export function updateProjectContentHint15FromJSON( jsonString: string, ): SafeParseResult { @@ -4466,7 +4320,6 @@ export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseB > = z.nativeEnum( UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type, ); - /** @internal */ export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv14Type$outboundSchema: z.ZodNativeEnum< @@ -4474,19 +4327,6 @@ export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseB > = 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, @@ -4500,7 +4340,6 @@ export const UpdateProjectContentHint14$inboundSchema: z.ZodType< integrationProductId: z.string(), integrationConfigurationId: z.string(), }); - /** @internal */ export type UpdateProjectContentHint14$Outbound = { type: string; @@ -4524,19 +4363,6 @@ export const UpdateProjectContentHint14$outboundSchema: z.ZodType< 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 { @@ -4544,7 +4370,6 @@ export function updateProjectContentHint14ToJSON( UpdateProjectContentHint14$outboundSchema.parse(updateProjectContentHint14), ); } - export function updateProjectContentHint14FromJSON( jsonString: string, ): SafeParseResult { @@ -4562,7 +4387,6 @@ export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseB > = z.nativeEnum( UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type, ); - /** @internal */ export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type$outboundSchema: z.ZodNativeEnum< @@ -4570,19 +4394,6 @@ export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseB > = 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, @@ -4593,7 +4404,6 @@ export const UpdateProjectContentHint13$inboundSchema: z.ZodType< UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv13Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type UpdateProjectContentHint13$Outbound = { type: string; @@ -4611,19 +4421,6 @@ export const UpdateProjectContentHint13$outboundSchema: z.ZodType< storeId: z.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 { @@ -4631,7 +4428,6 @@ export function updateProjectContentHint13ToJSON( UpdateProjectContentHint13$outboundSchema.parse(updateProjectContentHint13), ); } - export function updateProjectContentHint13FromJSON( jsonString: string, ): SafeParseResult { @@ -4649,7 +4445,6 @@ export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseB > = z.nativeEnum( UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type, ); - /** @internal */ export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type$outboundSchema: z.ZodNativeEnum< @@ -4657,19 +4452,6 @@ export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseB > = 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, @@ -4680,7 +4462,6 @@ export const UpdateProjectContentHint12$inboundSchema: z.ZodType< UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv12Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type UpdateProjectContentHint12$Outbound = { type: string; @@ -4698,19 +4479,6 @@ export const UpdateProjectContentHint12$outboundSchema: z.ZodType< storeId: z.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 { @@ -4718,7 +4486,6 @@ export function updateProjectContentHint12ToJSON( UpdateProjectContentHint12$outboundSchema.parse(updateProjectContentHint12), ); } - export function updateProjectContentHint12FromJSON( jsonString: string, ): SafeParseResult { @@ -4736,7 +4503,6 @@ export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseB > = z.nativeEnum( UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type, ); - /** @internal */ export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type$outboundSchema: z.ZodNativeEnum< @@ -4744,19 +4510,6 @@ export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseB > = 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, @@ -4767,7 +4520,6 @@ export const UpdateProjectContentHint11$inboundSchema: z.ZodType< UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv11Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type UpdateProjectContentHint11$Outbound = { type: string; @@ -4785,19 +4537,6 @@ export const UpdateProjectContentHint11$outboundSchema: z.ZodType< storeId: z.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 { @@ -4805,7 +4544,6 @@ export function updateProjectContentHint11ToJSON( UpdateProjectContentHint11$outboundSchema.parse(updateProjectContentHint11), ); } - export function updateProjectContentHint11FromJSON( jsonString: string, ): SafeParseResult { @@ -4823,7 +4561,6 @@ export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseB > = z.nativeEnum( UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type, ); - /** @internal */ export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type$outboundSchema: z.ZodNativeEnum< @@ -4831,19 +4568,6 @@ export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseB > = 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, @@ -4854,7 +4578,6 @@ export const UpdateProjectContentHint10$inboundSchema: z.ZodType< UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv10Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type UpdateProjectContentHint10$Outbound = { type: string; @@ -4872,19 +4595,6 @@ export const UpdateProjectContentHint10$outboundSchema: z.ZodType< storeId: z.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 { @@ -4892,7 +4602,6 @@ export function updateProjectContentHint10ToJSON( UpdateProjectContentHint10$outboundSchema.parse(updateProjectContentHint10), ); } - export function updateProjectContentHint10FromJSON( jsonString: string, ): SafeParseResult { @@ -4910,7 +4619,6 @@ export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseB > = z.nativeEnum( UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type, ); - /** @internal */ export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type$outboundSchema: z.ZodNativeEnum< @@ -4918,19 +4626,6 @@ export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseB > = 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, @@ -4941,7 +4636,6 @@ export const UpdateProjectContentHint9$inboundSchema: z.ZodType< UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv9Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type UpdateProjectContentHint9$Outbound = { type: string; @@ -4959,19 +4653,6 @@ export const UpdateProjectContentHint9$outboundSchema: z.ZodType< storeId: z.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 { @@ -4979,7 +4660,6 @@ export function updateProjectContentHint9ToJSON( UpdateProjectContentHint9$outboundSchema.parse(updateProjectContentHint9), ); } - export function updateProjectContentHint9FromJSON( jsonString: string, ): SafeParseResult { @@ -4997,7 +4677,6 @@ export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseB > = z.nativeEnum( UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type, ); - /** @internal */ export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type$outboundSchema: z.ZodNativeEnum< @@ -5005,19 +4684,6 @@ export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseB > = 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, @@ -5028,7 +4694,6 @@ export const UpdateProjectContentHint8$inboundSchema: z.ZodType< UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnv8Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type UpdateProjectContentHint8$Outbound = { type: string; @@ -5046,19 +4711,6 @@ export const UpdateProjectContentHint8$outboundSchema: z.ZodType< storeId: z.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 { @@ -5066,7 +4718,6 @@ export function updateProjectContentHint8ToJSON( UpdateProjectContentHint8$outboundSchema.parse(updateProjectContentHint8), ); } - export function updateProjectContentHint8FromJSON( jsonString: string, ): SafeParseResult { @@ -5084,7 +4735,6 @@ export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseB > = z.nativeEnum( UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType, ); - /** @internal */ export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType$outboundSchema: z.ZodNativeEnum< @@ -5092,19 +4742,6 @@ export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseB > = 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, @@ -5115,7 +4752,6 @@ export const UpdateProjectContentHint7$inboundSchema: z.ZodType< UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyEnvType$inboundSchema, storeId: z.string(), }); - /** @internal */ export type UpdateProjectContentHint7$Outbound = { type: string; @@ -5133,19 +4769,6 @@ export const UpdateProjectContentHint7$outboundSchema: z.ZodType< storeId: z.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 { @@ -5153,7 +4776,6 @@ export function updateProjectContentHint7ToJSON( UpdateProjectContentHint7$outboundSchema.parse(updateProjectContentHint7), ); } - export function updateProjectContentHint7FromJSON( jsonString: string, ): SafeParseResult { @@ -5171,7 +4793,6 @@ export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseB > = z.nativeEnum( UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType, ); - /** @internal */ export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema: z.ZodNativeEnum< @@ -5179,19 +4800,6 @@ export const UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseB > = 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, @@ -5202,7 +4810,6 @@ export const UpdateProjectContentHint6$inboundSchema: z.ZodType< UpdateProjectContentHintProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema, storeId: z.string(), }); - /** @internal */ export type UpdateProjectContentHint6$Outbound = { type: string; @@ -5220,19 +4827,6 @@ export const UpdateProjectContentHint6$outboundSchema: z.ZodType< storeId: z.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 { @@ -5240,7 +4834,6 @@ export function updateProjectContentHint6ToJSON( UpdateProjectContentHint6$outboundSchema.parse(updateProjectContentHint6), ); } - export function updateProjectContentHint6FromJSON( jsonString: string, ): SafeParseResult { @@ -5258,7 +4851,6 @@ export const UpdateProjectContentHintProjectsResponse200ApplicationJSONType$inbo > = z.nativeEnum( UpdateProjectContentHintProjectsResponse200ApplicationJSONType, ); - /** @internal */ export const UpdateProjectContentHintProjectsResponse200ApplicationJSONType$outboundSchema: z.ZodNativeEnum< @@ -5266,19 +4858,6 @@ export const UpdateProjectContentHintProjectsResponse200ApplicationJSONType$outb > = 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, @@ -5289,7 +4868,6 @@ export const UpdateProjectContentHint5$inboundSchema: z.ZodType< UpdateProjectContentHintProjectsResponse200ApplicationJSONType$inboundSchema, storeId: z.string(), }); - /** @internal */ export type UpdateProjectContentHint5$Outbound = { type: string; @@ -5307,19 +4885,6 @@ export const UpdateProjectContentHint5$outboundSchema: z.ZodType< storeId: z.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 { @@ -5327,7 +4892,6 @@ export function updateProjectContentHint5ToJSON( UpdateProjectContentHint5$outboundSchema.parse(updateProjectContentHint5), ); } - export function updateProjectContentHint5FromJSON( jsonString: string, ): SafeParseResult { @@ -5342,25 +4906,11 @@ export function updateProjectContentHint5FromJSON( 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, @@ -5370,7 +4920,6 @@ export const UpdateProjectContentHint4$inboundSchema: z.ZodType< type: UpdateProjectContentHintProjectsResponse200Type$inboundSchema, storeId: z.string(), }); - /** @internal */ export type UpdateProjectContentHint4$Outbound = { type: string; @@ -5387,19 +4936,6 @@ export const UpdateProjectContentHint4$outboundSchema: z.ZodType< storeId: z.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 { @@ -5407,7 +4943,6 @@ export function updateProjectContentHint4ToJSON( UpdateProjectContentHint4$outboundSchema.parse(updateProjectContentHint4), ); } - export function updateProjectContentHint4FromJSON( jsonString: string, ): SafeParseResult { @@ -5422,25 +4957,11 @@ export function updateProjectContentHint4FromJSON( 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, @@ -5450,7 +4971,6 @@ export const UpdateProjectContentHint3$inboundSchema: z.ZodType< type: UpdateProjectContentHintProjectsResponseType$inboundSchema, storeId: z.string(), }); - /** @internal */ export type UpdateProjectContentHint3$Outbound = { type: string; @@ -5467,19 +4987,6 @@ export const UpdateProjectContentHint3$outboundSchema: z.ZodType< storeId: z.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 { @@ -5487,7 +4994,6 @@ export function updateProjectContentHint3ToJSON( UpdateProjectContentHint3$outboundSchema.parse(updateProjectContentHint3), ); } - export function updateProjectContentHint3FromJSON( jsonString: string, ): SafeParseResult { @@ -5503,25 +5009,11 @@ 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, @@ -5531,7 +5023,6 @@ export const UpdateProjectContentHint2$inboundSchema: z.ZodType< type: UpdateProjectContentHintProjectsType$inboundSchema, storeId: z.string(), }); - /** @internal */ export type UpdateProjectContentHint2$Outbound = { type: string; @@ -5548,19 +5039,6 @@ export const UpdateProjectContentHint2$outboundSchema: z.ZodType< storeId: z.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 { @@ -5568,7 +5046,6 @@ export function updateProjectContentHint2ToJSON( UpdateProjectContentHint2$outboundSchema.parse(updateProjectContentHint2), ); } - export function updateProjectContentHint2FromJSON( jsonString: string, ): SafeParseResult { @@ -5583,23 +5060,11 @@ export function updateProjectContentHint2FromJSON( 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, @@ -5609,7 +5074,6 @@ export const UpdateProjectContentHint1$inboundSchema: z.ZodType< type: UpdateProjectContentHintType$inboundSchema, storeId: z.string(), }); - /** @internal */ export type UpdateProjectContentHint1$Outbound = { type: string; @@ -5626,19 +5090,6 @@ export const UpdateProjectContentHint1$outboundSchema: z.ZodType< storeId: z.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 { @@ -5646,7 +5097,6 @@ export function updateProjectContentHint1ToJSON( UpdateProjectContentHint1$outboundSchema.parse(updateProjectContentHint1), ); } - export function updateProjectContentHint1FromJSON( jsonString: string, ): SafeParseResult { @@ -5679,7 +5129,6 @@ export const UpdateProjectContentHint$inboundSchema: z.ZodType< z.lazy(() => UpdateProjectContentHint13$inboundSchema), z.lazy(() => UpdateProjectContentHint15$inboundSchema), ]); - /** @internal */ export type UpdateProjectContentHint$Outbound = | UpdateProjectContentHint14$Outbound @@ -5721,19 +5170,6 @@ export const UpdateProjectContentHint$outboundSchema: z.ZodType< z.lazy(() => UpdateProjectContentHint15$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 { @@ -5741,7 +5177,6 @@ export function updateProjectContentHintToJSON( UpdateProjectContentHint$outboundSchema.parse(updateProjectContentHint), ); } - export function updateProjectContentHintFromJSON( jsonString: string, ): SafeParseResult { @@ -5759,7 +5194,6 @@ export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$inb > = z.nativeEnum( UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType, ); - /** @internal */ export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema: z.ZodNativeEnum< @@ -5767,19 +5201,6 @@ export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$out > = 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 UpdateProjectInternalContentHint$inboundSchema: z.ZodType< UpdateProjectInternalContentHint, @@ -5790,7 +5211,6 @@ export const UpdateProjectInternalContentHint$inboundSchema: z.ZodType< UpdateProjectProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema, encryptedValue: z.string(), }); - /** @internal */ export type UpdateProjectInternalContentHint$Outbound = { type: string; @@ -5808,19 +5228,6 @@ export const UpdateProjectInternalContentHint$outboundSchema: z.ZodType< 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 { @@ -5830,7 +5237,6 @@ export function updateProjectInternalContentHintToJSON( ), ); } - export function updateProjectInternalContentHintFromJSON( jsonString: string, ): SafeParseResult { @@ -5889,7 +5295,6 @@ export const UpdateProjectEnv$inboundSchema: z.ZodType< comment: z.string().optional(), customEnvironmentIds: z.array(z.string()).optional(), }); - /** @internal */ export type UpdateProjectEnv$Outbound = { target?: Array | string | undefined; @@ -5983,19 +5388,6 @@ export const UpdateProjectEnv$outboundSchema: z.ZodType< 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 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 { @@ -6003,7 +5395,6 @@ export function updateProjectEnvToJSON( UpdateProjectEnv$outboundSchema.parse(updateProjectEnv), ); } - export function updateProjectEnvFromJSON( jsonString: string, ): SafeParseResult { @@ -6018,23 +5409,11 @@ export function updateProjectEnvFromJSON( 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 UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$inboundSchema: z.ZodNativeEnum< @@ -6042,7 +5421,6 @@ export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEn > = z.nativeEnum( UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType, ); - /** @internal */ export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$outboundSchema: z.ZodNativeEnum< @@ -6050,19 +5428,6 @@ export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEn > = UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$ { - /** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$inboundSchema; - /** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$outboundSchema; -} - /** @internal */ export const UpdateProjectBranchMatcher$inboundSchema: z.ZodType< UpdateProjectBranchMatcher, @@ -6073,7 +5438,6 @@ export const UpdateProjectBranchMatcher$inboundSchema: z.ZodType< UpdateProjectProjectsResponse200ApplicationJSONResponseBodyCustomEnvironmentsType$inboundSchema, pattern: z.string(), }); - /** @internal */ export type UpdateProjectBranchMatcher$Outbound = { type: string; @@ -6091,19 +5455,6 @@ export const UpdateProjectBranchMatcher$outboundSchema: z.ZodType< 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 { @@ -6111,7 +5462,6 @@ export function updateProjectBranchMatcherToJSON( UpdateProjectBranchMatcher$outboundSchema.parse(updateProjectBranchMatcher), ); } - export function updateProjectBranchMatcherFromJSON( jsonString: string, ): SafeParseResult { @@ -6133,7 +5483,6 @@ export const UpdateProjectVerification$inboundSchema: z.ZodType< value: z.string(), reason: z.string(), }); - /** @internal */ export type UpdateProjectVerification$Outbound = { type: string; @@ -6154,19 +5503,6 @@ export const UpdateProjectVerification$outboundSchema: z.ZodType< 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 UpdateProjectVerification$ { - /** @deprecated use `UpdateProjectVerification$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectVerification$inboundSchema; - /** @deprecated use `UpdateProjectVerification$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectVerification$outboundSchema; - /** @deprecated use `UpdateProjectVerification$Outbound` instead. */ - export type Outbound = UpdateProjectVerification$Outbound; -} - export function updateProjectVerificationToJSON( updateProjectVerification: UpdateProjectVerification, ): string { @@ -6174,7 +5510,6 @@ export function updateProjectVerificationToJSON( UpdateProjectVerification$outboundSchema.parse(updateProjectVerification), ); } - export function updateProjectVerificationFromJSON( jsonString: string, ): SafeParseResult { @@ -6204,7 +5539,6 @@ export const UpdateProjectDomains$inboundSchema: z.ZodType< verification: z.array(z.lazy(() => UpdateProjectVerification$inboundSchema)) .optional(), }); - /** @internal */ export type UpdateProjectDomains$Outbound = { name: string; @@ -6240,19 +5574,6 @@ export const UpdateProjectDomains$outboundSchema: z.ZodType< .optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectDomains$ { - /** @deprecated use `UpdateProjectDomains$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectDomains$inboundSchema; - /** @deprecated use `UpdateProjectDomains$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectDomains$outboundSchema; - /** @deprecated use `UpdateProjectDomains$Outbound` instead. */ - export type Outbound = UpdateProjectDomains$Outbound; -} - export function updateProjectDomainsToJSON( updateProjectDomains: UpdateProjectDomains, ): string { @@ -6260,7 +5581,6 @@ export function updateProjectDomainsToJSON( UpdateProjectDomains$outboundSchema.parse(updateProjectDomains), ); } - export function updateProjectDomainsFromJSON( jsonString: string, ): SafeParseResult { @@ -6288,7 +5608,6 @@ export const UpdateProjectCustomEnvironments$inboundSchema: z.ZodType< createdAt: z.number(), updatedAt: z.number(), }); - /** @internal */ export type UpdateProjectCustomEnvironments$Outbound = { id: string; @@ -6321,19 +5640,6 @@ export const UpdateProjectCustomEnvironments$outboundSchema: z.ZodType< 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 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 { @@ -6343,7 +5649,6 @@ export function updateProjectCustomEnvironmentsToJSON( ), ); } - export function updateProjectCustomEnvironmentsFromJSON( jsonString: string, ): SafeParseResult { @@ -6358,23 +5663,11 @@ export function updateProjectCustomEnvironmentsFromJSON( 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, @@ -6384,7 +5677,6 @@ export const UpdateProjectIpBuckets$inboundSchema: z.ZodType< bucket: z.string(), supportUntil: z.number().optional(), }); - /** @internal */ export type UpdateProjectIpBuckets$Outbound = { bucket: string; @@ -6401,19 +5693,6 @@ export const UpdateProjectIpBuckets$outboundSchema: z.ZodType< 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 { @@ -6421,7 +5700,6 @@ export function updateProjectIpBucketsToJSON( UpdateProjectIpBuckets$outboundSchema.parse(updateProjectIpBuckets), ); } - export function updateProjectIpBucketsFromJSON( jsonString: string, ): SafeParseResult { @@ -6438,7 +5716,6 @@ export const UpdateProjectAliasAssigned$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.union([z.number(), z.boolean()]); - /** @internal */ export type UpdateProjectAliasAssigned$Outbound = number | boolean; @@ -6449,19 +5726,6 @@ export const UpdateProjectAliasAssigned$outboundSchema: z.ZodType< 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 { @@ -6469,7 +5733,6 @@ export function updateProjectAliasAssignedToJSON( UpdateProjectAliasAssigned$outboundSchema.parse(updateProjectAliasAssigned), ); } - export function updateProjectAliasAssignedFromJSON( jsonString: string, ): SafeParseResult { @@ -6489,7 +5752,6 @@ export const UpdateProjectAliasError$inboundSchema: z.ZodType< code: z.string(), message: z.string(), }); - /** @internal */ export type UpdateProjectAliasError$Outbound = { code: string; @@ -6506,19 +5768,6 @@ export const UpdateProjectAliasError$outboundSchema: z.ZodType< 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 { @@ -6526,7 +5775,6 @@ export function updateProjectAliasErrorToJSON( UpdateProjectAliasError$outboundSchema.parse(updateProjectAliasError), ); } - export function updateProjectAliasErrorFromJSON( jsonString: string, ): SafeParseResult { @@ -6544,7 +5792,6 @@ export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDe > = z.nativeEnum( UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType, ); - /** @internal */ export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$outboundSchema: z.ZodNativeEnum< @@ -6552,19 +5799,6 @@ export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDe > = UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$ { - /** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$inboundSchema; - /** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$outboundSchema; -} - /** @internal */ export const UpdateProjectProjectsBranchMatcher$inboundSchema: z.ZodType< UpdateProjectProjectsBranchMatcher, @@ -6575,7 +5809,6 @@ export const UpdateProjectProjectsBranchMatcher$inboundSchema: z.ZodType< UpdateProjectProjectsResponse200ApplicationJSONResponseBodyLatestDeploymentsType$inboundSchema, pattern: z.string(), }); - /** @internal */ export type UpdateProjectProjectsBranchMatcher$Outbound = { type: string; @@ -6593,20 +5826,6 @@ export const UpdateProjectProjectsBranchMatcher$outboundSchema: z.ZodType< 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 { @@ -6616,7 +5835,6 @@ export function updateProjectProjectsBranchMatcherToJSON( ), ); } - export function updateProjectProjectsBranchMatcherFromJSON( jsonString: string, ): SafeParseResult { @@ -6638,7 +5856,6 @@ export const UpdateProjectBuilds$inboundSchema: z.ZodType< src: z.string().optional(), dest: z.string().optional(), }); - /** @internal */ export type UpdateProjectBuilds$Outbound = { use: string; @@ -6657,19 +5874,6 @@ export const UpdateProjectBuilds$outboundSchema: z.ZodType< 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 { @@ -6677,7 +5881,6 @@ export function updateProjectBuildsToJSON( UpdateProjectBuilds$outboundSchema.parse(updateProjectBuilds), ); } - export function updateProjectBuildsFromJSON( jsonString: string, ): SafeParseResult { @@ -6692,44 +5895,20 @@ export function updateProjectBuildsFromJSON( 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, @@ -6742,7 +5921,6 @@ export const UpdateProjectCreator$inboundSchema: z.ZodType< uid: z.string(), username: z.string(), }); - /** @internal */ export type UpdateProjectCreator$Outbound = { email: string; @@ -6765,19 +5943,6 @@ export const UpdateProjectCreator$outboundSchema: z.ZodType< 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 { @@ -6785,7 +5950,6 @@ export function updateProjectCreatorToJSON( UpdateProjectCreator$outboundSchema.parse(updateProjectCreator), ); } - export function updateProjectCreatorFromJSON( jsonString: string, ): SafeParseResult { @@ -6811,13 +5975,13 @@ export const UpdateProjectOidcTokenClaims$inboundSchema: z.ZodType< project: z.string(), project_id: z.string(), environment: z.string(), + plan: z.string(), }).transform((v) => { return remap$(v, { "owner_id": "ownerId", "project_id": "projectId", }); }); - /** @internal */ export type UpdateProjectOidcTokenClaims$Outbound = { iss: string; @@ -6829,6 +5993,7 @@ export type UpdateProjectOidcTokenClaims$Outbound = { project: string; project_id: string; environment: string; + plan: string; }; /** @internal */ @@ -6846,6 +6011,7 @@ export const UpdateProjectOidcTokenClaims$outboundSchema: z.ZodType< project: z.string(), projectId: z.string(), environment: z.string(), + plan: z.string(), }).transform((v) => { return remap$(v, { ownerId: "owner_id", @@ -6853,19 +6019,6 @@ export const UpdateProjectOidcTokenClaims$outboundSchema: z.ZodType< }); }); -/** - * @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 { @@ -6875,7 +6028,6 @@ export function updateProjectOidcTokenClaimsToJSON( ), ); } - export function updateProjectOidcTokenClaimsFromJSON( jsonString: string, ): SafeParseResult { @@ -6890,87 +6042,38 @@ export function updateProjectOidcTokenClaimsFromJSON( 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 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 UpdateProjectLatestDeployments$inboundSchema: z.ZodType< UpdateProjectLatestDeployments, @@ -7017,7 +6120,6 @@ export const UpdateProjectLatestDeployments$inboundSchema: z.ZodType< userId: z.string(), withCache: z.boolean().optional(), }); - /** @internal */ export type UpdateProjectLatestDeployments$Outbound = { id: string; @@ -7105,19 +6207,6 @@ export const UpdateProjectLatestDeployments$outboundSchema: z.ZodType< 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 { @@ -7127,7 +6216,6 @@ export function updateProjectLatestDeploymentsToJSON( ), ); } - export function updateProjectLatestDeploymentsFromJSON( jsonString: string, ): SafeParseResult { @@ -7143,26 +6231,12 @@ export const UpdateProjectLinkProjectsResponse200ApplicationJSONType$inboundSche z.ZodNativeEnum< typeof UpdateProjectLinkProjectsResponse200ApplicationJSONType > = z.nativeEnum(UpdateProjectLinkProjectsResponse200ApplicationJSONType); - /** @internal */ export const UpdateProjectLinkProjectsResponse200ApplicationJSONType$outboundSchema: z.ZodNativeEnum< typeof UpdateProjectLinkProjectsResponse200ApplicationJSONType > = UpdateProjectLinkProjectsResponse200ApplicationJSONType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectLinkProjectsResponse200ApplicationJSONType$ { - /** @deprecated use `UpdateProjectLinkProjectsResponse200ApplicationJSONType$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectLinkProjectsResponse200ApplicationJSONType$inboundSchema; - /** @deprecated use `UpdateProjectLinkProjectsResponse200ApplicationJSONType$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectLinkProjectsResponse200ApplicationJSONType$outboundSchema; -} - /** @internal */ export const UpdateProjectLinkProjectsResponse200ApplicationJSONDeployHooks$inboundSchema: z.ZodType< @@ -7176,7 +6250,6 @@ export const UpdateProjectLinkProjectsResponse200ApplicationJSONDeployHooks$inbo ref: z.string(), url: z.string(), }); - /** @internal */ export type UpdateProjectLinkProjectsResponse200ApplicationJSONDeployHooks$Outbound = { @@ -7201,22 +6274,6 @@ export const UpdateProjectLinkProjectsResponse200ApplicationJSONDeployHooks$outb 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 UpdateProjectLinkProjectsResponse200ApplicationJSONDeployHooks$ { - /** @deprecated use `UpdateProjectLinkProjectsResponse200ApplicationJSONDeployHooks$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectLinkProjectsResponse200ApplicationJSONDeployHooks$inboundSchema; - /** @deprecated use `UpdateProjectLinkProjectsResponse200ApplicationJSONDeployHooks$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectLinkProjectsResponse200ApplicationJSONDeployHooks$outboundSchema; - /** @deprecated use `UpdateProjectLinkProjectsResponse200ApplicationJSONDeployHooks$Outbound` instead. */ - export type Outbound = - UpdateProjectLinkProjectsResponse200ApplicationJSONDeployHooks$Outbound; -} - export function updateProjectLinkProjectsResponse200ApplicationJSONDeployHooksToJSON( updateProjectLinkProjectsResponse200ApplicationJSONDeployHooks: UpdateProjectLinkProjectsResponse200ApplicationJSONDeployHooks, @@ -7226,7 +6283,6 @@ export function updateProjectLinkProjectsResponse200ApplicationJSONDeployHooksTo .parse(updateProjectLinkProjectsResponse200ApplicationJSONDeployHooks), ); } - export function updateProjectLinkProjectsResponse200ApplicationJSONDeployHooksFromJSON( jsonString: string, ): SafeParseResult< @@ -7265,7 +6321,6 @@ export const UpdateProjectLink5$inboundSchema: z.ZodType< sourceless: z.boolean().optional(), productionBranch: z.string(), }); - /** @internal */ export type UpdateProjectLink5$Outbound = { name: string; @@ -7308,19 +6363,6 @@ export const UpdateProjectLink5$outboundSchema: z.ZodType< productionBranch: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectLink5$ { - /** @deprecated use `UpdateProjectLink5$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectLink5$inboundSchema; - /** @deprecated use `UpdateProjectLink5$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectLink5$outboundSchema; - /** @deprecated use `UpdateProjectLink5$Outbound` instead. */ - export type Outbound = UpdateProjectLink5$Outbound; -} - export function updateProjectLink5ToJSON( updateProjectLink5: UpdateProjectLink5, ): string { @@ -7328,7 +6370,6 @@ export function updateProjectLink5ToJSON( UpdateProjectLink5$outboundSchema.parse(updateProjectLink5), ); } - export function updateProjectLink5FromJSON( jsonString: string, ): SafeParseResult { @@ -7343,25 +6384,11 @@ export function updateProjectLink5FromJSON( export const UpdateProjectLinkProjectsResponse200Type$inboundSchema: z.ZodNativeEnum = z .nativeEnum(UpdateProjectLinkProjectsResponse200Type); - /** @internal */ export const UpdateProjectLinkProjectsResponse200Type$outboundSchema: z.ZodNativeEnum = UpdateProjectLinkProjectsResponse200Type$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectLinkProjectsResponse200Type$ { - /** @deprecated use `UpdateProjectLinkProjectsResponse200Type$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectLinkProjectsResponse200Type$inboundSchema; - /** @deprecated use `UpdateProjectLinkProjectsResponse200Type$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectLinkProjectsResponse200Type$outboundSchema; -} - /** @internal */ export const UpdateProjectLinkProjectsResponse200DeployHooks$inboundSchema: z.ZodType< @@ -7375,7 +6402,6 @@ export const UpdateProjectLinkProjectsResponse200DeployHooks$inboundSchema: ref: z.string(), url: z.string(), }); - /** @internal */ export type UpdateProjectLinkProjectsResponse200DeployHooks$Outbound = { createdAt?: number | undefined; @@ -7399,22 +6425,6 @@ export const UpdateProjectLinkProjectsResponse200DeployHooks$outboundSchema: 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 UpdateProjectLinkProjectsResponse200DeployHooks$ { - /** @deprecated use `UpdateProjectLinkProjectsResponse200DeployHooks$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectLinkProjectsResponse200DeployHooks$inboundSchema; - /** @deprecated use `UpdateProjectLinkProjectsResponse200DeployHooks$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectLinkProjectsResponse200DeployHooks$outboundSchema; - /** @deprecated use `UpdateProjectLinkProjectsResponse200DeployHooks$Outbound` instead. */ - export type Outbound = - UpdateProjectLinkProjectsResponse200DeployHooks$Outbound; -} - export function updateProjectLinkProjectsResponse200DeployHooksToJSON( updateProjectLinkProjectsResponse200DeployHooks: UpdateProjectLinkProjectsResponse200DeployHooks, @@ -7425,7 +6435,6 @@ export function updateProjectLinkProjectsResponse200DeployHooksToJSON( ), ); } - export function updateProjectLinkProjectsResponse200DeployHooksFromJSON( jsonString: string, ): SafeParseResult< @@ -7464,7 +6473,6 @@ export const UpdateProjectLink4$inboundSchema: z.ZodType< sourceless: z.boolean().optional(), productionBranch: z.string(), }); - /** @internal */ export type UpdateProjectLink4$Outbound = { projectId: string; @@ -7507,19 +6515,6 @@ export const UpdateProjectLink4$outboundSchema: z.ZodType< productionBranch: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectLink4$ { - /** @deprecated use `UpdateProjectLink4$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectLink4$inboundSchema; - /** @deprecated use `UpdateProjectLink4$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectLink4$outboundSchema; - /** @deprecated use `UpdateProjectLink4$Outbound` instead. */ - export type Outbound = UpdateProjectLink4$Outbound; -} - export function updateProjectLink4ToJSON( updateProjectLink4: UpdateProjectLink4, ): string { @@ -7527,7 +6522,6 @@ export function updateProjectLink4ToJSON( UpdateProjectLink4$outboundSchema.parse(updateProjectLink4), ); } - export function updateProjectLink4FromJSON( jsonString: string, ): SafeParseResult { @@ -7543,25 +6537,11 @@ 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< @@ -7575,7 +6555,6 @@ export const UpdateProjectLinkProjectsResponseDeployHooks$inboundSchema: ref: z.string(), url: z.string(), }); - /** @internal */ export type UpdateProjectLinkProjectsResponseDeployHooks$Outbound = { createdAt?: number | undefined; @@ -7599,21 +6578,6 @@ export const UpdateProjectLinkProjectsResponseDeployHooks$outboundSchema: 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, @@ -7624,7 +6588,6 @@ export function updateProjectLinkProjectsResponseDeployHooksToJSON( ), ); } - export function updateProjectLinkProjectsResponseDeployHooksFromJSON( jsonString: string, ): SafeParseResult< @@ -7662,7 +6625,6 @@ export const UpdateProjectLink3$inboundSchema: z.ZodType< sourceless: z.boolean().optional(), productionBranch: z.string(), }); - /** @internal */ export type UpdateProjectLink3$Outbound = { org: string; @@ -7701,19 +6663,6 @@ export const UpdateProjectLink3$outboundSchema: z.ZodType< productionBranch: z.string(), }); -/** - * @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 { @@ -7721,7 +6670,6 @@ export function updateProjectLink3ToJSON( UpdateProjectLink3$outboundSchema.parse(updateProjectLink3), ); } - export function updateProjectLink3FromJSON( jsonString: string, ): SafeParseResult { @@ -7736,23 +6684,11 @@ export function updateProjectLink3FromJSON( 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, @@ -7765,7 +6701,6 @@ export const UpdateProjectLinkProjectsDeployHooks$inboundSchema: z.ZodType< ref: z.string(), url: z.string(), }); - /** @internal */ export type UpdateProjectLinkProjectsDeployHooks$Outbound = { createdAt?: number | undefined; @@ -7788,21 +6723,6 @@ export const UpdateProjectLinkProjectsDeployHooks$outboundSchema: z.ZodType< 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 { @@ -7812,7 +6732,6 @@ export function updateProjectLinkProjectsDeployHooksToJSON( ), ); } - export function updateProjectLinkProjectsDeployHooksFromJSON( jsonString: string, ): SafeParseResult { @@ -7844,7 +6763,6 @@ export const UpdateProjectLink2$inboundSchema: z.ZodType< sourceless: z.boolean().optional(), productionBranch: z.string(), }); - /** @internal */ export type UpdateProjectLink2$Outbound = { type: string; @@ -7881,19 +6799,6 @@ export const UpdateProjectLink2$outboundSchema: z.ZodType< productionBranch: z.string(), }); -/** - * @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 { @@ -7901,7 +6806,6 @@ export function updateProjectLink2ToJSON( UpdateProjectLink2$outboundSchema.parse(updateProjectLink2), ); } - export function updateProjectLink2FromJSON( jsonString: string, ): SafeParseResult { @@ -7916,23 +6820,11 @@ export function updateProjectLink2FromJSON( 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, @@ -7945,7 +6837,6 @@ export const UpdateProjectLinkDeployHooks$inboundSchema: z.ZodType< ref: z.string(), url: z.string(), }); - /** @internal */ export type UpdateProjectLinkDeployHooks$Outbound = { createdAt?: number | undefined; @@ -7968,19 +6859,6 @@ export const UpdateProjectLinkDeployHooks$outboundSchema: z.ZodType< 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 { @@ -7990,7 +6868,6 @@ export function updateProjectLinkDeployHooksToJSON( ), ); } - export function updateProjectLinkDeployHooksFromJSON( jsonString: string, ): SafeParseResult { @@ -8021,7 +6898,6 @@ export const UpdateProjectLink1$inboundSchema: z.ZodType< sourceless: z.boolean().optional(), productionBranch: z.string(), }); - /** @internal */ export type UpdateProjectLink1$Outbound = { org: string; @@ -8058,19 +6934,6 @@ export const UpdateProjectLink1$outboundSchema: z.ZodType< productionBranch: z.string(), }); -/** - * @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 { @@ -8078,7 +6941,6 @@ export function updateProjectLink1ToJSON( UpdateProjectLink1$outboundSchema.parse(updateProjectLink1), ); } - export function updateProjectLink1FromJSON( jsonString: string, ): SafeParseResult { @@ -8101,7 +6963,6 @@ export const UpdateProjectLink$inboundSchema: z.ZodType< z.lazy(() => UpdateProjectLink1$inboundSchema), z.lazy(() => UpdateProjectLink2$inboundSchema), ]); - /** @internal */ export type UpdateProjectLink$Outbound = | UpdateProjectLink4$Outbound @@ -8123,19 +6984,6 @@ export const UpdateProjectLink$outboundSchema: z.ZodType< 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 { @@ -8143,7 +6991,6 @@ export function updateProjectLinkToJSON( UpdateProjectLink$outboundSchema.parse(updateProjectLink), ); } - export function updateProjectLinkFromJSON( jsonString: string, ): SafeParseResult { @@ -8155,120 +7002,156 @@ export function updateProjectLinkFromJSON( } /** @internal */ -export const UpdateProjectMicrofrontends2$inboundSchema: z.ZodType< - UpdateProjectMicrofrontends2, +export const UpdateProjectMicrofrontends3$inboundSchema: z.ZodType< + UpdateProjectMicrofrontends3, z.ZodTypeDef, unknown > = z.object({ updatedAt: z.number(), groupIds: z.array(z.any()), enabled: z.boolean(), + freeProjectForLegacyLimits: z.boolean().optional(), }); - /** @internal */ -export type UpdateProjectMicrofrontends2$Outbound = { +export type UpdateProjectMicrofrontends3$Outbound = { updatedAt: number; groupIds: Array; enabled: boolean; + freeProjectForLegacyLimits?: boolean | undefined; }; /** @internal */ -export const UpdateProjectMicrofrontends2$outboundSchema: z.ZodType< - UpdateProjectMicrofrontends2$Outbound, +export const UpdateProjectMicrofrontends3$outboundSchema: z.ZodType< + UpdateProjectMicrofrontends3$Outbound, z.ZodTypeDef, - UpdateProjectMicrofrontends2 + UpdateProjectMicrofrontends3 > = z.object({ updatedAt: z.number(), groupIds: z.array(z.any()), enabled: z.boolean(), + freeProjectForLegacyLimits: 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 UpdateProjectMicrofrontends2$ { - /** @deprecated use `UpdateProjectMicrofrontends2$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectMicrofrontends2$inboundSchema; - /** @deprecated use `UpdateProjectMicrofrontends2$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectMicrofrontends2$outboundSchema; - /** @deprecated use `UpdateProjectMicrofrontends2$Outbound` instead. */ - export type Outbound = UpdateProjectMicrofrontends2$Outbound; -} - -export function updateProjectMicrofrontends2ToJSON( - updateProjectMicrofrontends2: UpdateProjectMicrofrontends2, +export function updateProjectMicrofrontends3ToJSON( + updateProjectMicrofrontends3: UpdateProjectMicrofrontends3, ): string { return JSON.stringify( - UpdateProjectMicrofrontends2$outboundSchema.parse( - updateProjectMicrofrontends2, + UpdateProjectMicrofrontends3$outboundSchema.parse( + updateProjectMicrofrontends3, ), ); } - -export function updateProjectMicrofrontends2FromJSON( +export function updateProjectMicrofrontends3FromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UpdateProjectMicrofrontends2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdateProjectMicrofrontends2' from JSON`, + (x) => UpdateProjectMicrofrontends3$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectMicrofrontends3' from JSON`, ); } /** @internal */ -export const UpdateProjectMicrofrontends1$inboundSchema: z.ZodType< - UpdateProjectMicrofrontends1, +export const UpdateProjectMicrofrontends2$inboundSchema: z.ZodType< + UpdateProjectMicrofrontends2, z.ZodTypeDef, unknown > = z.object({ + isDefaultApp: z.boolean().optional(), + routeObservabilityToThisProject: z.boolean().optional(), + doNotRouteWithMicrofrontendsRouting: z.boolean().optional(), updatedAt: z.number(), groupIds: z.array(z.string()), enabled: z.boolean(), - isDefaultApp: z.boolean().optional(), defaultRoute: z.string().optional(), - routeObservabilityToThisProject: z.boolean().optional(), + freeProjectForLegacyLimits: z.boolean().optional(), }); - /** @internal */ -export type UpdateProjectMicrofrontends1$Outbound = { +export type UpdateProjectMicrofrontends2$Outbound = { + isDefaultApp?: boolean | undefined; + routeObservabilityToThisProject?: boolean | undefined; + doNotRouteWithMicrofrontendsRouting?: boolean | undefined; updatedAt: number; groupIds: Array; enabled: boolean; - isDefaultApp?: boolean | undefined; defaultRoute?: string | undefined; - routeObservabilityToThisProject?: boolean | undefined; + freeProjectForLegacyLimits?: boolean | undefined; }; /** @internal */ -export const UpdateProjectMicrofrontends1$outboundSchema: z.ZodType< - UpdateProjectMicrofrontends1$Outbound, +export const UpdateProjectMicrofrontends2$outboundSchema: z.ZodType< + UpdateProjectMicrofrontends2$Outbound, z.ZodTypeDef, - UpdateProjectMicrofrontends1 + UpdateProjectMicrofrontends2 > = z.object({ + isDefaultApp: z.boolean().optional(), + routeObservabilityToThisProject: z.boolean().optional(), + doNotRouteWithMicrofrontendsRouting: z.boolean().optional(), updatedAt: z.number(), groupIds: z.array(z.string()), enabled: z.boolean(), - isDefaultApp: z.boolean().optional(), defaultRoute: z.string().optional(), - routeObservabilityToThisProject: z.boolean().optional(), + freeProjectForLegacyLimits: 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 UpdateProjectMicrofrontends1$ { - /** @deprecated use `UpdateProjectMicrofrontends1$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectMicrofrontends1$inboundSchema; - /** @deprecated use `UpdateProjectMicrofrontends1$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectMicrofrontends1$outboundSchema; - /** @deprecated use `UpdateProjectMicrofrontends1$Outbound` instead. */ - export type Outbound = UpdateProjectMicrofrontends1$Outbound; -} - -export function updateProjectMicrofrontends1ToJSON( - updateProjectMicrofrontends1: UpdateProjectMicrofrontends1, +export function updateProjectMicrofrontends2ToJSON( + updateProjectMicrofrontends2: UpdateProjectMicrofrontends2, +): string { + return JSON.stringify( + UpdateProjectMicrofrontends2$outboundSchema.parse( + updateProjectMicrofrontends2, + ), + ); +} +export function updateProjectMicrofrontends2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectMicrofrontends2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectMicrofrontends2' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectMicrofrontends1$inboundSchema: z.ZodType< + UpdateProjectMicrofrontends1, + z.ZodTypeDef, + unknown +> = z.object({ + isDefaultApp: z.boolean(), + updatedAt: z.number(), + groupIds: z.array(z.string()), + enabled: z.boolean(), + defaultRoute: z.string().optional(), + freeProjectForLegacyLimits: z.boolean().optional(), +}); +/** @internal */ +export type UpdateProjectMicrofrontends1$Outbound = { + isDefaultApp: boolean; + updatedAt: number; + groupIds: Array; + enabled: boolean; + defaultRoute?: string | undefined; + freeProjectForLegacyLimits?: boolean | undefined; +}; + +/** @internal */ +export const UpdateProjectMicrofrontends1$outboundSchema: z.ZodType< + UpdateProjectMicrofrontends1$Outbound, + z.ZodTypeDef, + UpdateProjectMicrofrontends1 +> = z.object({ + isDefaultApp: z.boolean(), + updatedAt: z.number(), + groupIds: z.array(z.string()), + enabled: z.boolean(), + defaultRoute: z.string().optional(), + freeProjectForLegacyLimits: z.boolean().optional(), +}); + +export function updateProjectMicrofrontends1ToJSON( + updateProjectMicrofrontends1: UpdateProjectMicrofrontends1, ): string { return JSON.stringify( UpdateProjectMicrofrontends1$outboundSchema.parse( @@ -8276,7 +7159,6 @@ export function updateProjectMicrofrontends1ToJSON( ), ); } - export function updateProjectMicrofrontends1FromJSON( jsonString: string, ): SafeParseResult { @@ -8295,12 +7177,13 @@ export const UpdateProjectMicrofrontends$inboundSchema: z.ZodType< > = z.union([ z.lazy(() => UpdateProjectMicrofrontends1$inboundSchema), z.lazy(() => UpdateProjectMicrofrontends2$inboundSchema), + z.lazy(() => UpdateProjectMicrofrontends3$inboundSchema), ]); - /** @internal */ export type UpdateProjectMicrofrontends$Outbound = | UpdateProjectMicrofrontends1$Outbound - | UpdateProjectMicrofrontends2$Outbound; + | UpdateProjectMicrofrontends2$Outbound + | UpdateProjectMicrofrontends3$Outbound; /** @internal */ export const UpdateProjectMicrofrontends$outboundSchema: z.ZodType< @@ -8310,21 +7193,9 @@ export const UpdateProjectMicrofrontends$outboundSchema: z.ZodType< > = z.union([ z.lazy(() => UpdateProjectMicrofrontends1$outboundSchema), z.lazy(() => UpdateProjectMicrofrontends2$outboundSchema), + z.lazy(() => UpdateProjectMicrofrontends3$outboundSchema), ]); -/** - * @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 { @@ -8334,7 +7205,6 @@ export function updateProjectMicrofrontendsToJSON( ), ); } - export function updateProjectMicrofrontendsFromJSON( jsonString: string, ): SafeParseResult { @@ -8349,23 +7219,11 @@ export function updateProjectMicrofrontendsFromJSON( 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 UpdateProjectProjectsPaths$inboundSchema: z.ZodType< UpdateProjectProjectsPaths, @@ -8374,7 +7232,6 @@ export const UpdateProjectProjectsPaths$inboundSchema: z.ZodType< > = z.object({ value: z.string(), }); - /** @internal */ export type UpdateProjectProjectsPaths$Outbound = { value: string; @@ -8389,19 +7246,6 @@ export const UpdateProjectProjectsPaths$outboundSchema: z.ZodType< 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 UpdateProjectProjectsPaths$ { - /** @deprecated use `UpdateProjectProjectsPaths$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectProjectsPaths$inboundSchema; - /** @deprecated use `UpdateProjectProjectsPaths$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectProjectsPaths$outboundSchema; - /** @deprecated use `UpdateProjectProjectsPaths$Outbound` instead. */ - export type Outbound = UpdateProjectProjectsPaths$Outbound; -} - export function updateProjectProjectsPathsToJSON( updateProjectProjectsPaths: UpdateProjectProjectsPaths, ): string { @@ -8409,7 +7253,6 @@ export function updateProjectProjectsPathsToJSON( UpdateProjectProjectsPaths$outboundSchema.parse(updateProjectProjectsPaths), ); } - export function updateProjectProjectsPathsFromJSON( jsonString: string, ): SafeParseResult { @@ -8428,7 +7271,6 @@ export const UpdateProjectProjectsOptionsAllowlist$inboundSchema: z.ZodType< > = z.object({ paths: z.array(z.lazy(() => UpdateProjectProjectsPaths$inboundSchema)), }); - /** @internal */ export type UpdateProjectProjectsOptionsAllowlist$Outbound = { paths: Array; @@ -8443,21 +7285,6 @@ export const UpdateProjectProjectsOptionsAllowlist$outboundSchema: z.ZodType< paths: z.array(z.lazy(() => UpdateProjectProjectsPaths$outboundSchema)), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectProjectsOptionsAllowlist$ { - /** @deprecated use `UpdateProjectProjectsOptionsAllowlist$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectProjectsOptionsAllowlist$inboundSchema; - /** @deprecated use `UpdateProjectProjectsOptionsAllowlist$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectProjectsOptionsAllowlist$outboundSchema; - /** @deprecated use `UpdateProjectProjectsOptionsAllowlist$Outbound` instead. */ - export type Outbound = UpdateProjectProjectsOptionsAllowlist$Outbound; -} - export function updateProjectProjectsOptionsAllowlistToJSON( updateProjectProjectsOptionsAllowlist: UpdateProjectProjectsOptionsAllowlist, ): string { @@ -8467,7 +7294,6 @@ export function updateProjectProjectsOptionsAllowlistToJSON( ), ); } - export function updateProjectProjectsOptionsAllowlistFromJSON( jsonString: string, ): SafeParseResult { @@ -8485,7 +7311,6 @@ export const UpdateProjectProjectsPasswordProtection$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({}); - /** @internal */ export type UpdateProjectProjectsPasswordProtection$Outbound = {}; @@ -8496,21 +7321,6 @@ export const UpdateProjectProjectsPasswordProtection$outboundSchema: z.ZodType< UpdateProjectProjectsPasswordProtection > = 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 UpdateProjectProjectsPasswordProtection$ { - /** @deprecated use `UpdateProjectProjectsPasswordProtection$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectProjectsPasswordProtection$inboundSchema; - /** @deprecated use `UpdateProjectProjectsPasswordProtection$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectProjectsPasswordProtection$outboundSchema; - /** @deprecated use `UpdateProjectProjectsPasswordProtection$Outbound` instead. */ - export type Outbound = UpdateProjectProjectsPasswordProtection$Outbound; -} - export function updateProjectProjectsPasswordProtectionToJSON( updateProjectProjectsPasswordProtection: UpdateProjectProjectsPasswordProtection, @@ -8521,7 +7331,6 @@ export function updateProjectProjectsPasswordProtectionToJSON( ), ); } - export function updateProjectProjectsPasswordProtectionFromJSON( jsonString: string, ): SafeParseResult< @@ -8542,49 +7351,21 @@ export function updateProjectProjectsPasswordProtectionFromJSON( export const UpdateProjectProjectsFunctionDefaultMemoryType$inboundSchema: z.ZodNativeEnum = z .nativeEnum(UpdateProjectProjectsFunctionDefaultMemoryType); - /** @internal */ export const UpdateProjectProjectsFunctionDefaultMemoryType$outboundSchema: z.ZodNativeEnum = UpdateProjectProjectsFunctionDefaultMemoryType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectProjectsFunctionDefaultMemoryType$ { - /** @deprecated use `UpdateProjectProjectsFunctionDefaultMemoryType$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectProjectsFunctionDefaultMemoryType$inboundSchema; - /** @deprecated use `UpdateProjectProjectsFunctionDefaultMemoryType$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectProjectsFunctionDefaultMemoryType$outboundSchema; -} - /** @internal */ export const UpdateProjectProjectsBuildMachineType$inboundSchema: z.ZodNativeEnum = z.nativeEnum( UpdateProjectProjectsBuildMachineType, ); - /** @internal */ export const UpdateProjectProjectsBuildMachineType$outboundSchema: z.ZodNativeEnum = UpdateProjectProjectsBuildMachineType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectProjectsBuildMachineType$ { - /** @deprecated use `UpdateProjectProjectsBuildMachineType$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectProjectsBuildMachineType$inboundSchema; - /** @deprecated use `UpdateProjectProjectsBuildMachineType$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectProjectsBuildMachineType$outboundSchema; -} - /** @internal */ export const UpdateProjectProjectsResourceConfig$inboundSchema: z.ZodType< UpdateProjectProjectsResourceConfig, @@ -8602,7 +7383,6 @@ export const UpdateProjectProjectsResourceConfig$inboundSchema: z.ZodType< .optional(), isNSNBDisabled: z.boolean().optional(), }); - /** @internal */ export type UpdateProjectProjectsResourceConfig$Outbound = { elasticConcurrencyEnabled?: boolean | undefined; @@ -8633,21 +7413,6 @@ export const UpdateProjectProjectsResourceConfig$outboundSchema: z.ZodType< isNSNBDisabled: 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 UpdateProjectProjectsResourceConfig$ { - /** @deprecated use `UpdateProjectProjectsResourceConfig$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectProjectsResourceConfig$inboundSchema; - /** @deprecated use `UpdateProjectProjectsResourceConfig$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectProjectsResourceConfig$outboundSchema; - /** @deprecated use `UpdateProjectProjectsResourceConfig$Outbound` instead. */ - export type Outbound = UpdateProjectProjectsResourceConfig$Outbound; -} - export function updateProjectProjectsResourceConfigToJSON( updateProjectProjectsResourceConfig: UpdateProjectProjectsResourceConfig, ): string { @@ -8657,7 +7422,6 @@ export function updateProjectProjectsResourceConfigToJSON( ), ); } - export function updateProjectProjectsResourceConfigFromJSON( jsonString: string, ): SafeParseResult { @@ -8680,7 +7444,6 @@ export const UpdateProjectRollbackDescription$inboundSchema: z.ZodType< description: z.string(), createdAt: z.number(), }); - /** @internal */ export type UpdateProjectRollbackDescription$Outbound = { userId: string; @@ -8701,19 +7464,6 @@ export const UpdateProjectRollbackDescription$outboundSchema: z.ZodType< 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 UpdateProjectRollbackDescription$ { - /** @deprecated use `UpdateProjectRollbackDescription$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectRollbackDescription$inboundSchema; - /** @deprecated use `UpdateProjectRollbackDescription$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectRollbackDescription$outboundSchema; - /** @deprecated use `UpdateProjectRollbackDescription$Outbound` instead. */ - export type Outbound = UpdateProjectRollbackDescription$Outbound; -} - export function updateProjectRollbackDescriptionToJSON( updateProjectRollbackDescription: UpdateProjectRollbackDescription, ): string { @@ -8723,7 +7473,6 @@ export function updateProjectRollbackDescriptionToJSON( ), ); } - export function updateProjectRollbackDescriptionFromJSON( jsonString: string, ): SafeParseResult { @@ -8745,7 +7494,6 @@ export const UpdateProjectStages$inboundSchema: z.ZodType< duration: z.number().optional(), linearShift: z.boolean().optional(), }); - /** @internal */ export type UpdateProjectStages$Outbound = { targetPercentage: number; @@ -8766,19 +7514,6 @@ export const UpdateProjectStages$outboundSchema: z.ZodType< linearShift: 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 UpdateProjectStages$ { - /** @deprecated use `UpdateProjectStages$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectStages$inboundSchema; - /** @deprecated use `UpdateProjectStages$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectStages$outboundSchema; - /** @deprecated use `UpdateProjectStages$Outbound` instead. */ - export type Outbound = UpdateProjectStages$Outbound; -} - export function updateProjectStagesToJSON( updateProjectStages: UpdateProjectStages, ): string { @@ -8786,7 +7521,6 @@ export function updateProjectStagesToJSON( UpdateProjectStages$outboundSchema.parse(updateProjectStages), ); } - export function updateProjectStagesFromJSON( jsonString: string, ): SafeParseResult { @@ -8808,7 +7542,6 @@ export const UpdateProjectRollingRelease$inboundSchema: z.ZodType< .optional(), canaryResponseHeader: z.boolean().optional(), }); - /** @internal */ export type UpdateProjectRollingRelease$Outbound = { target: string; @@ -8828,19 +7561,6 @@ export const UpdateProjectRollingRelease$outboundSchema: z.ZodType< canaryResponseHeader: 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 UpdateProjectRollingRelease$ { - /** @deprecated use `UpdateProjectRollingRelease$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectRollingRelease$inboundSchema; - /** @deprecated use `UpdateProjectRollingRelease$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectRollingRelease$outboundSchema; - /** @deprecated use `UpdateProjectRollingRelease$Outbound` instead. */ - export type Outbound = UpdateProjectRollingRelease$Outbound; -} - export function updateProjectRollingReleaseToJSON( updateProjectRollingRelease: UpdateProjectRollingRelease, ): string { @@ -8850,7 +7570,6 @@ export function updateProjectRollingReleaseToJSON( ), ); } - export function updateProjectRollingReleaseFromJSON( jsonString: string, ): SafeParseResult { @@ -8866,49 +7585,21 @@ export const UpdateProjectProjectsResponseFunctionDefaultMemoryType$inboundSchem z.ZodNativeEnum< typeof UpdateProjectProjectsResponseFunctionDefaultMemoryType > = z.nativeEnum(UpdateProjectProjectsResponseFunctionDefaultMemoryType); - /** @internal */ export const UpdateProjectProjectsResponseFunctionDefaultMemoryType$outboundSchema: z.ZodNativeEnum< typeof UpdateProjectProjectsResponseFunctionDefaultMemoryType > = UpdateProjectProjectsResponseFunctionDefaultMemoryType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectProjectsResponseFunctionDefaultMemoryType$ { - /** @deprecated use `UpdateProjectProjectsResponseFunctionDefaultMemoryType$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectProjectsResponseFunctionDefaultMemoryType$inboundSchema; - /** @deprecated use `UpdateProjectProjectsResponseFunctionDefaultMemoryType$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectProjectsResponseFunctionDefaultMemoryType$outboundSchema; -} - /** @internal */ export const UpdateProjectProjectsResponseBuildMachineType$inboundSchema: z.ZodNativeEnum = z .nativeEnum(UpdateProjectProjectsResponseBuildMachineType); - /** @internal */ export const UpdateProjectProjectsResponseBuildMachineType$outboundSchema: z.ZodNativeEnum = UpdateProjectProjectsResponseBuildMachineType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectProjectsResponseBuildMachineType$ { - /** @deprecated use `UpdateProjectProjectsResponseBuildMachineType$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectProjectsResponseBuildMachineType$inboundSchema; - /** @deprecated use `UpdateProjectProjectsResponseBuildMachineType$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectProjectsResponseBuildMachineType$outboundSchema; -} - /** @internal */ export const UpdateProjectDefaultResourceConfig$inboundSchema: z.ZodType< UpdateProjectDefaultResourceConfig, @@ -8927,7 +7618,6 @@ export const UpdateProjectDefaultResourceConfig$inboundSchema: z.ZodType< .optional(), isNSNBDisabled: z.boolean().optional(), }); - /** @internal */ export type UpdateProjectDefaultResourceConfig$Outbound = { elasticConcurrencyEnabled?: boolean | undefined; @@ -8959,20 +7649,6 @@ export const UpdateProjectDefaultResourceConfig$outboundSchema: z.ZodType< isNSNBDisabled: 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 UpdateProjectDefaultResourceConfig$ { - /** @deprecated use `UpdateProjectDefaultResourceConfig$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectDefaultResourceConfig$inboundSchema; - /** @deprecated use `UpdateProjectDefaultResourceConfig$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectDefaultResourceConfig$outboundSchema; - /** @deprecated use `UpdateProjectDefaultResourceConfig$Outbound` instead. */ - export type Outbound = UpdateProjectDefaultResourceConfig$Outbound; -} - export function updateProjectDefaultResourceConfigToJSON( updateProjectDefaultResourceConfig: UpdateProjectDefaultResourceConfig, ): string { @@ -8982,7 +7658,6 @@ export function updateProjectDefaultResourceConfigToJSON( ), ); } - export function updateProjectDefaultResourceConfigFromJSON( jsonString: string, ): SafeParseResult { @@ -8994,29 +7669,62 @@ export function updateProjectDefaultResourceConfigFromJSON( ); } +/** @internal */ +export const UpdateProjectProjectsStaticIps$inboundSchema: z.ZodType< + UpdateProjectProjectsStaticIps, + z.ZodTypeDef, + unknown +> = z.object({ + builds: z.boolean(), + enabled: z.boolean(), + regions: z.array(z.string()), +}); +/** @internal */ +export type UpdateProjectProjectsStaticIps$Outbound = { + builds: boolean; + enabled: boolean; + regions: Array; +}; + +/** @internal */ +export const UpdateProjectProjectsStaticIps$outboundSchema: z.ZodType< + UpdateProjectProjectsStaticIps$Outbound, + z.ZodTypeDef, + UpdateProjectProjectsStaticIps +> = z.object({ + builds: z.boolean(), + enabled: z.boolean(), + regions: z.array(z.string()), +}); + +export function updateProjectProjectsStaticIpsToJSON( + updateProjectProjectsStaticIps: UpdateProjectProjectsStaticIps, +): string { + return JSON.stringify( + UpdateProjectProjectsStaticIps$outboundSchema.parse( + updateProjectProjectsStaticIps, + ), + ); +} +export function updateProjectProjectsStaticIpsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectProjectsStaticIps$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectProjectsStaticIps' 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 UpdateProjectProjectsSsoProtection$inboundSchema: z.ZodType< UpdateProjectProjectsSsoProtection, @@ -9025,7 +7733,6 @@ export const UpdateProjectProjectsSsoProtection$inboundSchema: z.ZodType< > = z.object({ deploymentType: UpdateProjectProjectsResponseDeploymentType$inboundSchema, }); - /** @internal */ export type UpdateProjectProjectsSsoProtection$Outbound = { deploymentType: string; @@ -9040,20 +7747,6 @@ export const UpdateProjectProjectsSsoProtection$outboundSchema: z.ZodType< 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 UpdateProjectProjectsSsoProtection$ { - /** @deprecated use `UpdateProjectProjectsSsoProtection$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectProjectsSsoProtection$inboundSchema; - /** @deprecated use `UpdateProjectProjectsSsoProtection$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectProjectsSsoProtection$outboundSchema; - /** @deprecated use `UpdateProjectProjectsSsoProtection$Outbound` instead. */ - export type Outbound = UpdateProjectProjectsSsoProtection$Outbound; -} - export function updateProjectProjectsSsoProtectionToJSON( updateProjectProjectsSsoProtection: UpdateProjectProjectsSsoProtection, ): string { @@ -9063,7 +7756,6 @@ export function updateProjectProjectsSsoProtectionToJSON( ), ); } - export function updateProjectProjectsSsoProtectionFromJSON( jsonString: string, ): SafeParseResult { @@ -9081,7 +7773,6 @@ export const UpdateProjectProjectsAliasAssigned$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.union([z.number(), z.boolean()]); - /** @internal */ export type UpdateProjectProjectsAliasAssigned$Outbound = number | boolean; @@ -9092,20 +7783,6 @@ export const UpdateProjectProjectsAliasAssigned$outboundSchema: z.ZodType< 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 { @@ -9115,7 +7792,6 @@ export function updateProjectProjectsAliasAssignedToJSON( ), ); } - export function updateProjectProjectsAliasAssignedFromJSON( jsonString: string, ): SafeParseResult { @@ -9136,7 +7812,6 @@ export const UpdateProjectProjectsAliasError$inboundSchema: z.ZodType< code: z.string(), message: z.string(), }); - /** @internal */ export type UpdateProjectProjectsAliasError$Outbound = { code: string; @@ -9153,19 +7828,6 @@ export const UpdateProjectProjectsAliasError$outboundSchema: z.ZodType< 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 { @@ -9175,7 +7837,6 @@ export function updateProjectProjectsAliasErrorToJSON( ), ); } - export function updateProjectProjectsAliasErrorFromJSON( jsonString: string, ): SafeParseResult { @@ -9193,7 +7854,6 @@ export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsT > = z.nativeEnum( UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType, ); - /** @internal */ export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$outboundSchema: z.ZodNativeEnum< @@ -9201,19 +7861,6 @@ export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsT > = UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$ { - /** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$inboundSchema; - /** @deprecated use `UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$outboundSchema; -} - /** @internal */ export const UpdateProjectProjectsResponseBranchMatcher$inboundSchema: z.ZodType = @@ -9222,7 +7869,6 @@ export const UpdateProjectProjectsResponseBranchMatcher$inboundSchema: UpdateProjectProjectsResponse200ApplicationJSONResponseBodyTargetsType$inboundSchema, pattern: z.string(), }); - /** @internal */ export type UpdateProjectProjectsResponseBranchMatcher$Outbound = { type: string; @@ -9241,21 +7887,6 @@ export const UpdateProjectProjectsResponseBranchMatcher$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 UpdateProjectProjectsResponseBranchMatcher$ { - /** @deprecated use `UpdateProjectProjectsResponseBranchMatcher$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectProjectsResponseBranchMatcher$inboundSchema; - /** @deprecated use `UpdateProjectProjectsResponseBranchMatcher$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectProjectsResponseBranchMatcher$outboundSchema; - /** @deprecated use `UpdateProjectProjectsResponseBranchMatcher$Outbound` instead. */ - export type Outbound = UpdateProjectProjectsResponseBranchMatcher$Outbound; -} - export function updateProjectProjectsResponseBranchMatcherToJSON( updateProjectProjectsResponseBranchMatcher: UpdateProjectProjectsResponseBranchMatcher, @@ -9266,7 +7897,6 @@ export function updateProjectProjectsResponseBranchMatcherToJSON( ), ); } - export function updateProjectProjectsResponseBranchMatcherFromJSON( jsonString: string, ): SafeParseResult< @@ -9293,7 +7923,6 @@ export const UpdateProjectProjectsBuilds$inboundSchema: z.ZodType< src: z.string().optional(), dest: z.string().optional(), }); - /** @internal */ export type UpdateProjectProjectsBuilds$Outbound = { use: string; @@ -9312,19 +7941,6 @@ export const UpdateProjectProjectsBuilds$outboundSchema: z.ZodType< 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 { @@ -9334,7 +7950,6 @@ export function updateProjectProjectsBuildsToJSON( ), ); } - export function updateProjectProjectsBuildsFromJSON( jsonString: string, ): SafeParseResult { @@ -9350,46 +7965,20 @@ 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, @@ -9402,7 +7991,6 @@ export const UpdateProjectProjectsCreator$inboundSchema: z.ZodType< uid: z.string(), username: z.string(), }); - /** @internal */ export type UpdateProjectProjectsCreator$Outbound = { email: string; @@ -9425,19 +8013,6 @@ export const UpdateProjectProjectsCreator$outboundSchema: z.ZodType< 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 { @@ -9447,7 +8022,6 @@ export function updateProjectProjectsCreatorToJSON( ), ); } - export function updateProjectProjectsCreatorFromJSON( jsonString: string, ): SafeParseResult { @@ -9473,13 +8047,13 @@ export const UpdateProjectProjectsOidcTokenClaims$inboundSchema: z.ZodType< project: z.string(), project_id: z.string(), environment: z.string(), + plan: z.string(), }).transform((v) => { return remap$(v, { "owner_id": "ownerId", "project_id": "projectId", }); }); - /** @internal */ export type UpdateProjectProjectsOidcTokenClaims$Outbound = { iss: string; @@ -9491,6 +8065,7 @@ export type UpdateProjectProjectsOidcTokenClaims$Outbound = { project: string; project_id: string; environment: string; + plan: string; }; /** @internal */ @@ -9508,6 +8083,7 @@ export const UpdateProjectProjectsOidcTokenClaims$outboundSchema: z.ZodType< project: z.string(), projectId: z.string(), environment: z.string(), + plan: z.string(), }).transform((v) => { return remap$(v, { ownerId: "owner_id", @@ -9515,21 +8091,6 @@ export const UpdateProjectProjectsOidcTokenClaims$outboundSchema: z.ZodType< }); }); -/** - * @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 { @@ -9539,7 +8100,6 @@ export function updateProjectProjectsOidcTokenClaimsToJSON( ), ); } - export function updateProjectProjectsOidcTokenClaimsFromJSON( jsonString: string, ): SafeParseResult { @@ -9555,90 +8115,39 @@ export function updateProjectProjectsOidcTokenClaimsFromJSON( 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 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 UpdateProjectTargets$inboundSchema: z.ZodType< UpdateProjectTargets, @@ -9690,7 +8199,6 @@ export const UpdateProjectTargets$inboundSchema: z.ZodType< userId: z.string(), withCache: z.boolean().optional(), }); - /** @internal */ export type UpdateProjectTargets$Outbound = { id: string; @@ -9787,19 +8295,6 @@ export const UpdateProjectTargets$outboundSchema: z.ZodType< 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 { @@ -9807,7 +8302,6 @@ export function updateProjectTargetsToJSON( UpdateProjectTargets$outboundSchema.parse(updateProjectTargets), ); } - export function updateProjectTargetsFromJSON( jsonString: string, ): SafeParseResult { @@ -9830,11 +8324,19 @@ export const UpdateProjectPermissions$inboundSchema: z.ZodType< userSudo: z.array(ACLAction$inboundSchema).optional(), webAuthn: z.array(ACLAction$inboundSchema).optional(), accessGroup: z.array(ACLAction$inboundSchema).optional(), + agent: z.array(ACLAction$inboundSchema).optional(), + alerts: 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(), + apiKey: z.array(ACLAction$inboundSchema).optional(), + apiKeyAiGateway: z.array(ACLAction$inboundSchema).optional(), + apiKeyOwnedBySelf: z.array(ACLAction$inboundSchema).optional(), + oauth2Application: z.array(ACLAction$inboundSchema).optional(), + vercelAppInstallation: z.array(ACLAction$inboundSchema).optional(), + vercelAppInstallationRequest: 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(), @@ -9844,6 +8346,7 @@ export const UpdateProjectPermissions$inboundSchema: z.ZodType< billingRefund: z.array(ACLAction$inboundSchema).optional(), billingTaxId: z.array(ACLAction$inboundSchema).optional(), blob: z.array(ACLAction$inboundSchema).optional(), + blobStoreTokenSet: z.array(ACLAction$inboundSchema).optional(), budget: z.array(ACLAction$inboundSchema).optional(), cacheArtifact: z.array(ACLAction$inboundSchema).optional(), cacheArtifactUsageEvent: z.array(ACLAction$inboundSchema).optional(), @@ -9851,6 +8354,7 @@ export const UpdateProjectPermissions$inboundSchema: z.ZodType< concurrentBuilds: z.array(ACLAction$inboundSchema).optional(), connect: z.array(ACLAction$inboundSchema).optional(), connectConfiguration: z.array(ACLAction$inboundSchema).optional(), + dataCacheBillingSettings: z.array(ACLAction$inboundSchema).optional(), defaultDeploymentProtection: z.array(ACLAction$inboundSchema).optional(), domain: z.array(ACLAction$inboundSchema).optional(), domainAcceptDelegation: z.array(ACLAction$inboundSchema).optional(), @@ -9861,43 +8365,50 @@ export const UpdateProjectPermissions$inboundSchema: z.ZodType< domainPurchase: z.array(ACLAction$inboundSchema).optional(), domainRecord: z.array(ACLAction$inboundSchema).optional(), domainTransferIn: z.array(ACLAction$inboundSchema).optional(), + drain: 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(), + endpointVerification: 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(), flagsExplorerSubscription: z.array(ACLAction$inboundSchema).optional(), gitRepository: z.array(ACLAction$inboundSchema).optional(), - ipBlocking: z.array(ACLAction$inboundSchema).optional(), imageOptimizationNewPrice: 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(), - integrationSSOSession: z.array(ACLAction$inboundSchema).optional(), - integrationResource: z.array(ACLAction$inboundSchema).optional(), + integrationConfigurationTransfer: z.array(ACLAction$inboundSchema).optional(), + integrationDeploymentAction: z.array(ACLAction$inboundSchema).optional(), integrationEvent: z.array(ACLAction$inboundSchema).optional(), + integrationLog: z.array(ACLAction$inboundSchema).optional(), + integrationResource: z.array(ACLAction$inboundSchema).optional(), + integrationResourceReplCommand: 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(), - marketplaceSettings: z.array(ACLAction$inboundSchema).optional(), - marketplaceExperimentationItem: z.array(ACLAction$inboundSchema).optional(), - marketplaceExperimentationEdgeConfigData: z.array(ACLAction$inboundSchema) + integrationSSOSession: z.array(ACLAction$inboundSchema).optional(), + integrationStoreTokenSet: z.array(ACLAction$inboundSchema).optional(), + integrationVercelConfigurationOverride: z.array(ACLAction$inboundSchema) .optional(), + integrationPullRequest: z.array(ACLAction$inboundSchema).optional(), + ipBlocking: z.array(ACLAction$inboundSchema).optional(), jobGlobal: z.array(ACLAction$inboundSchema).optional(), - drain: z.array(ACLAction$inboundSchema).optional(), logDrain: z.array(ACLAction$inboundSchema).optional(), + marketplaceBillingData: z.array(ACLAction$inboundSchema).optional(), + marketplaceExperimentationEdgeConfigData: z.array(ACLAction$inboundSchema) + .optional(), + marketplaceExperimentationItem: z.array(ACLAction$inboundSchema).optional(), + marketplaceInstallationMember: z.array(ACLAction$inboundSchema).optional(), + marketplaceInvoice: z.array(ACLAction$inboundSchema).optional(), + marketplaceSettings: 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(), + monitoringChart: z.array(ACLAction$inboundSchema).optional(), + monitoringQuery: z.array(ACLAction$inboundSchema).optional(), + monitoringSettings: z.array(ACLAction$inboundSchema).optional(), + notificationCustomerBudget: z.array(ACLAction$inboundSchema).optional(), notificationDeploymentFailed: z.array(ACLAction$inboundSchema).optional(), notificationDomainConfiguration: z.array(ACLAction$inboundSchema).optional(), notificationDomainExpire: z.array(ACLAction$inboundSchema).optional(), @@ -9908,42 +8419,39 @@ export const UpdateProjectPermissions$inboundSchema: z.ZodType< notificationDomainUnverified: z.array(ACLAction$inboundSchema).optional(), NotificationMonitoringAlert: z.array(ACLAction$inboundSchema).optional(), notificationPaymentFailed: z.array(ACLAction$inboundSchema).optional(), - notificationUsageAlert: z.array(ACLAction$inboundSchema).optional(), notificationPreferences: z.array(ACLAction$inboundSchema).optional(), - notificationCustomerBudget: z.array(ACLAction$inboundSchema).optional(), notificationStatementOfReasons: z.array(ACLAction$inboundSchema).optional(), + notificationUsageAlert: z.array(ACLAction$inboundSchema).optional(), observabilityConfiguration: z.array(ACLAction$inboundSchema).optional(), - alerts: z.array(ACLAction$inboundSchema).optional(), - observabilityNotebook: z.array(ACLAction$inboundSchema).optional(), observabilityFunnel: z.array(ACLAction$inboundSchema).optional(), + observabilityNotebook: z.array(ACLAction$inboundSchema).optional(), openTelemetryEndpoint: z.array(ACLAction$inboundSchema).optional(), - vercelAppInstallation: z.array(ACLAction$inboundSchema).optional(), - vercelAppInstallationRequest: z.array(ACLAction$inboundSchema).optional(), + ownEvent: z.array(ACLAction$inboundSchema).optional(), + organizationDomain: z.array(ACLAction$inboundSchema).optional(), + passwordProtectionInvoiceItem: z.array(ACLAction$inboundSchema).optional(), paymentMethod: z.array(ACLAction$inboundSchema).optional(), permissions: z.array(ACLAction$inboundSchema).optional(), postgres: z.array(ACLAction$inboundSchema).optional(), + postgresStoreTokenSet: z.array(ACLAction$inboundSchema).optional(), previewDeploymentSuffix: z.array(ACLAction$inboundSchema).optional(), + projectTransferIn: 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(), + redisStoreTokenSet: z.array(ACLAction$inboundSchema).optional(), remoteCaching: z.array(ACLAction$inboundSchema).optional(), + repository: 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(), + sensitiveEnvironmentVariablePolicy: 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(), 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(), @@ -9958,26 +8466,15 @@ export const UpdateProjectPermissions$inboundSchema: z.ZodType< token: z.array(ACLAction$inboundSchema).optional(), usage: z.array(ACLAction$inboundSchema).optional(), usageCycle: z.array(ACLAction$inboundSchema).optional(), + vercelRun: z.array(ACLAction$inboundSchema).optional(), + vercelRunExec: z.array(ACLAction$inboundSchema).optional(), vpcPeeringConnection: z.array(ACLAction$inboundSchema).optional(), webAnalyticsPlan: 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(), - vercelRun: z.array(ACLAction$inboundSchema).optional(), - vercelRunExec: z.array(ACLAction$inboundSchema).optional(), - apiKey: z.array(ACLAction$inboundSchema).optional(), - apiKeyOwnedBySelf: z.array(ACLAction$inboundSchema).optional(), - apiKeyAiGateway: z.array(ACLAction$inboundSchema).optional(), aliasProject: z.array(ACLAction$inboundSchema).optional(), aliasProtectionBypass: z.array(ACLAction$inboundSchema).optional(), buildMachine: 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(), @@ -9994,55 +8491,56 @@ export const UpdateProjectPermissions$inboundSchema: z.ZodType< deploymentRollback: z.array(ACLAction$inboundSchema).optional(), edgeCacheNamespace: z.array(ACLAction$inboundSchema).optional(), environments: z.array(ACLAction$inboundSchema).optional(), + job: 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(), onDemandBuild: z.array(ACLAction$inboundSchema).optional(), onDemandConcurrency: z.array(ACLAction$inboundSchema).optional(), + optionsAllowlist: z.array(ACLAction$inboundSchema).optional(), + passwordProtection: z.array(ACLAction$inboundSchema).optional(), + productionAliasProtectionBypass: 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(), + projectAnalyticsUsage: z.array(ACLAction$inboundSchema).optional(), projectCheck: z.array(ACLAction$inboundSchema).optional(), projectCheckRun: z.array(ACLAction$inboundSchema).optional(), + projectDeploymentExpiration: 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(), + projectDomainMove: 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(), + projectFlagsProduction: z.array(ACLAction$inboundSchema).optional(), + projectFromV0: 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(), + projectOIDCToken: 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(), + projectRollingRelease: z.array(ACLAction$inboundSchema).optional(), projectSupportCase: z.array(ACLAction$inboundSchema).optional(), projectSupportCaseComment: z.array(ACLAction$inboundSchema).optional(), - projectDeploymentExpiration: z.array(ACLAction$inboundSchema).optional(), - projectRollingRelease: z.array(ACLAction$inboundSchema).optional(), projectTier: z.array(ACLAction$inboundSchema).optional(), - projectOIDCToken: z.array(ACLAction$inboundSchema).optional(), + projectTransfer: z.array(ACLAction$inboundSchema).optional(), + projectTransferOut: z.array(ACLAction$inboundSchema).optional(), + projectUsage: z.array(ACLAction$inboundSchema).optional(), seawallConfig: z.array(ACLAction$inboundSchema).optional(), + sharedEnvVarConnection: z.array(ACLAction$inboundSchema).optional(), skewProtection: z.array(ACLAction$inboundSchema).optional(), analytics: z.array(ACLAction$inboundSchema).optional(), trustedIps: z.array(ACLAction$inboundSchema).optional(), v0Chat: 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", @@ -10050,7 +8548,6 @@ export const UpdateProjectPermissions$inboundSchema: z.ZodType< "webhook-event": "webhookEvent", }); }); - /** @internal */ export type UpdateProjectPermissions$Outbound = { oauth2Connection?: Array | undefined; @@ -10059,9 +8556,17 @@ export type UpdateProjectPermissions$Outbound = { userSudo?: Array | undefined; webAuthn?: Array | undefined; accessGroup?: Array | undefined; + agent?: Array | undefined; + alerts?: Array | undefined; aliasGlobal?: Array | undefined; analyticsSampling?: Array | undefined; analyticsUsage?: Array | undefined; + apiKey?: Array | undefined; + apiKeyAiGateway?: Array | undefined; + apiKeyOwnedBySelf?: Array | undefined; + oauth2Application?: Array | undefined; + vercelAppInstallation?: Array | undefined; + vercelAppInstallationRequest?: Array | undefined; auditLog?: Array | undefined; billingAddress?: Array | undefined; billingInformation?: Array | undefined; @@ -10073,6 +8578,7 @@ export type UpdateProjectPermissions$Outbound = { billingRefund?: Array | undefined; billingTaxId?: Array | undefined; blob?: Array | undefined; + blobStoreTokenSet?: Array | undefined; budget?: Array | undefined; cacheArtifact?: Array | undefined; cacheArtifactUsageEvent?: Array | undefined; @@ -10080,6 +8586,7 @@ export type UpdateProjectPermissions$Outbound = { concurrentBuilds?: Array | undefined; connect?: Array | undefined; connectConfiguration?: Array | undefined; + dataCacheBillingSettings?: Array | undefined; defaultDeploymentProtection?: Array | undefined; domain?: Array | undefined; domainAcceptDelegation?: Array | undefined; @@ -10090,40 +8597,48 @@ export type UpdateProjectPermissions$Outbound = { domainPurchase?: Array | undefined; domainRecord?: Array | undefined; domainTransferIn?: Array | undefined; + drain?: Array | undefined; + edgeConfig?: Array | undefined; + edgeConfigItem?: Array | undefined; + edgeConfigSchema?: Array | undefined; + edgeConfigToken?: Array | undefined; + endpointVerification?: Array | undefined; event?: Array | undefined; - ownEvent?: Array | undefined; - sensitiveEnvironmentVariablePolicy?: Array | undefined; fileUpload?: Array | undefined; flagsExplorerSubscription?: Array | undefined; gitRepository?: Array | undefined; - ipBlocking?: Array | undefined; imageOptimizationNewPrice?: Array | undefined; integration?: Array | undefined; integrationAccount?: Array | undefined; integrationConfiguration?: Array | undefined; - integrationConfigurationTransfer?: Array | undefined; integrationConfigurationProjects?: Array | undefined; - integrationVercelConfigurationOverride?: Array | undefined; integrationConfigurationRole?: Array | undefined; - integrationSSOSession?: Array | undefined; - integrationResource?: Array | undefined; + integrationConfigurationTransfer?: Array | undefined; + integrationDeploymentAction?: Array | undefined; integrationEvent?: Array | undefined; + integrationLog?: Array | undefined; + integrationResource?: Array | undefined; + integrationResourceReplCommand?: Array | undefined; integrationResourceSecrets?: Array | undefined; - integrationDeploymentAction?: Array | undefined; - marketplaceInstallationMember?: Array | undefined; + integrationSSOSession?: Array | undefined; + integrationStoreTokenSet?: Array | undefined; + integrationVercelConfigurationOverride?: Array | undefined; + integrationPullRequest?: Array | undefined; + ipBlocking?: Array | undefined; + jobGlobal?: Array | undefined; + logDrain?: Array | undefined; marketplaceBillingData?: Array | undefined; + marketplaceExperimentationEdgeConfigData?: Array | undefined; + marketplaceExperimentationItem?: Array | undefined; + marketplaceInstallationMember?: Array | undefined; marketplaceInvoice?: Array | undefined; marketplaceSettings?: Array | undefined; - marketplaceExperimentationItem?: Array | undefined; - marketplaceExperimentationEdgeConfigData?: Array | undefined; - jobGlobal?: Array | undefined; - drain?: Array | undefined; - logDrain?: Array | undefined; Monitoring?: Array | undefined; - monitoringSettings?: Array | undefined; - monitoringQuery?: Array | undefined; - monitoringChart?: Array | undefined; monitoringAlert?: Array | undefined; + monitoringChart?: Array | undefined; + monitoringQuery?: Array | undefined; + monitoringSettings?: Array | undefined; + notificationCustomerBudget?: Array | undefined; notificationDeploymentFailed?: Array | undefined; notificationDomainConfiguration?: Array | undefined; notificationDomainExpire?: Array | undefined; @@ -10134,42 +8649,38 @@ export type UpdateProjectPermissions$Outbound = { notificationDomainUnverified?: Array | undefined; NotificationMonitoringAlert?: Array | undefined; notificationPaymentFailed?: Array | undefined; - notificationUsageAlert?: Array | undefined; notificationPreferences?: Array | undefined; - notificationCustomerBudget?: Array | undefined; notificationStatementOfReasons?: Array | undefined; + notificationUsageAlert?: Array | undefined; observabilityConfiguration?: Array | undefined; - alerts?: Array | undefined; - observabilityNotebook?: Array | undefined; observabilityFunnel?: Array | undefined; + observabilityNotebook?: Array | undefined; openTelemetryEndpoint?: Array | undefined; - vercelAppInstallation?: Array | undefined; - vercelAppInstallationRequest?: Array | undefined; + ownEvent?: Array | undefined; + organizationDomain?: Array | undefined; + passwordProtectionInvoiceItem?: Array | undefined; paymentMethod?: Array | undefined; permissions?: Array | undefined; postgres?: Array | undefined; + postgresStoreTokenSet?: Array | undefined; previewDeploymentSuffix?: Array | undefined; + projectTransferIn?: 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; + redisStoreTokenSet?: Array | undefined; remoteCaching?: Array | undefined; + repository?: Array | undefined; samlConfig?: Array | undefined; secret?: Array | undefined; - redisStoreTokenSet?: Array | undefined; - blobStoreTokenSet?: Array | undefined; - postgresStoreTokenSet?: Array | undefined; - integrationStoreTokenSet?: Array | undefined; - integrationResourceReplCommand?: Array | undefined; + sensitiveEnvironmentVariablePolicy?: Array | undefined; + sharedEnvVars?: Array | undefined; + sharedEnvVarsProduction?: Array | undefined; + space?: Array | undefined; + spaceRun?: Array | undefined; storeTransfer?: Array | undefined; supportCase?: Array | undefined; supportCaseComment?: Array | undefined; - dataCacheBillingSettings?: Array | undefined; team?: Array | undefined; teamAccessRequest?: Array | undefined; teamFellowMembership?: Array | undefined; @@ -10184,26 +8695,15 @@ export type UpdateProjectPermissions$Outbound = { token?: Array | undefined; usage?: Array | undefined; usageCycle?: Array | undefined; + vercelRun?: Array | undefined; + vercelRunExec?: Array | undefined; vpcPeeringConnection?: Array | undefined; webAnalyticsPlan?: 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; - vercelRun?: Array | undefined; - vercelRunExec?: Array | undefined; - apiKey?: Array | undefined; - apiKeyOwnedBySelf?: Array | undefined; - apiKeyAiGateway?: Array | undefined; aliasProject?: Array | undefined; aliasProtectionBypass?: Array | undefined; buildMachine?: Array | undefined; - productionAliasProtectionBypass?: Array | undefined; connectConfigurationLink?: Array | undefined; dataCacheNamespace?: Array | undefined; deployment?: Array | undefined; @@ -10219,54 +8719,55 @@ export type UpdateProjectPermissions$Outbound = { deploymentRollback?: Array | undefined; edgeCacheNamespace?: Array | undefined; environments?: Array | undefined; + job?: Array | undefined; logs?: Array | undefined; logsPreset?: Array | undefined; - passwordProtection?: Array | undefined; - optionsAllowlist?: Array | undefined; - job?: Array | undefined; observabilityData?: Array | undefined; onDemandBuild?: Array | undefined; onDemandConcurrency?: Array | undefined; + optionsAllowlist?: Array | undefined; + passwordProtection?: Array | undefined; + productionAliasProtectionBypass?: Array | undefined; project?: Array | undefined; - projectFromV0?: Array | undefined; projectAccessGroup?: Array | undefined; projectAnalyticsSampling?: Array | undefined; + projectAnalyticsUsage?: Array | undefined; projectCheck?: Array | undefined; projectCheckRun?: Array | undefined; + projectDeploymentExpiration?: Array | undefined; projectDeploymentHook?: Array | undefined; projectDomain?: Array | undefined; - projectDomainMove?: Array | undefined; projectDomainCheckConfig?: Array | undefined; + projectDomainMove?: Array | undefined; projectEnvVars?: Array | undefined; projectEnvVarsProduction?: Array | undefined; projectEnvVarsUnownedByIntegration?: Array | undefined; projectFlags?: Array | undefined; + projectFlagsProduction?: Array | undefined; + projectFromV0?: Array | undefined; projectId?: Array | undefined; projectIntegrationConfiguration?: Array | undefined; projectLink?: Array | undefined; projectMember?: Array | undefined; projectMonitoring?: Array | undefined; + projectOIDCToken?: Array | undefined; projectPermissions?: Array | undefined; projectProductionBranch?: Array | undefined; - projectTransfer?: Array | undefined; - projectTransferOut?: Array | undefined; projectProtectionBypass?: Array | undefined; - projectUsage?: Array | undefined; - projectAnalyticsUsage?: Array | undefined; + projectRollingRelease?: Array | undefined; projectSupportCase?: Array | undefined; projectSupportCaseComment?: Array | undefined; - projectDeploymentExpiration?: Array | undefined; - projectRollingRelease?: Array | undefined; projectTier?: Array | undefined; - projectOIDCToken?: Array | undefined; + projectTransfer?: Array | undefined; + projectTransferOut?: Array | undefined; + projectUsage?: Array | undefined; seawallConfig?: Array | undefined; + sharedEnvVarConnection?: Array | undefined; skewProtection?: Array | undefined; analytics?: Array | undefined; trustedIps?: Array | undefined; v0Chat?: Array | undefined; webAnalytics?: Array | undefined; - sharedEnvVarConnection?: Array | undefined; - sonar?: Array | undefined; }; /** @internal */ @@ -10281,9 +8782,17 @@ export const UpdateProjectPermissions$outboundSchema: z.ZodType< userSudo: z.array(ACLAction$outboundSchema).optional(), webAuthn: z.array(ACLAction$outboundSchema).optional(), accessGroup: z.array(ACLAction$outboundSchema).optional(), + agent: z.array(ACLAction$outboundSchema).optional(), + alerts: z.array(ACLAction$outboundSchema).optional(), aliasGlobal: z.array(ACLAction$outboundSchema).optional(), analyticsSampling: z.array(ACLAction$outboundSchema).optional(), analyticsUsage: z.array(ACLAction$outboundSchema).optional(), + apiKey: z.array(ACLAction$outboundSchema).optional(), + apiKeyAiGateway: z.array(ACLAction$outboundSchema).optional(), + apiKeyOwnedBySelf: z.array(ACLAction$outboundSchema).optional(), + oauth2Application: z.array(ACLAction$outboundSchema).optional(), + vercelAppInstallation: z.array(ACLAction$outboundSchema).optional(), + vercelAppInstallationRequest: z.array(ACLAction$outboundSchema).optional(), auditLog: z.array(ACLAction$outboundSchema).optional(), billingAddress: z.array(ACLAction$outboundSchema).optional(), billingInformation: z.array(ACLAction$outboundSchema).optional(), @@ -10295,6 +8804,7 @@ export const UpdateProjectPermissions$outboundSchema: z.ZodType< billingRefund: z.array(ACLAction$outboundSchema).optional(), billingTaxId: z.array(ACLAction$outboundSchema).optional(), blob: z.array(ACLAction$outboundSchema).optional(), + blobStoreTokenSet: z.array(ACLAction$outboundSchema).optional(), budget: z.array(ACLAction$outboundSchema).optional(), cacheArtifact: z.array(ACLAction$outboundSchema).optional(), cacheArtifactUsageEvent: z.array(ACLAction$outboundSchema).optional(), @@ -10302,6 +8812,7 @@ export const UpdateProjectPermissions$outboundSchema: z.ZodType< concurrentBuilds: z.array(ACLAction$outboundSchema).optional(), connect: z.array(ACLAction$outboundSchema).optional(), connectConfiguration: z.array(ACLAction$outboundSchema).optional(), + dataCacheBillingSettings: z.array(ACLAction$outboundSchema).optional(), defaultDeploymentProtection: z.array(ACLAction$outboundSchema).optional(), domain: z.array(ACLAction$outboundSchema).optional(), domainAcceptDelegation: z.array(ACLAction$outboundSchema).optional(), @@ -10312,45 +8823,52 @@ export const UpdateProjectPermissions$outboundSchema: z.ZodType< domainPurchase: z.array(ACLAction$outboundSchema).optional(), domainRecord: z.array(ACLAction$outboundSchema).optional(), domainTransferIn: z.array(ACLAction$outboundSchema).optional(), + drain: 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(), + endpointVerification: 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(), flagsExplorerSubscription: z.array(ACLAction$outboundSchema).optional(), gitRepository: z.array(ACLAction$outboundSchema).optional(), - ipBlocking: z.array(ACLAction$outboundSchema).optional(), imageOptimizationNewPrice: 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(), - integrationSSOSession: z.array(ACLAction$outboundSchema).optional(), - integrationResource: z.array(ACLAction$outboundSchema).optional(), + integrationConfigurationTransfer: z.array(ACLAction$outboundSchema) + .optional(), + integrationDeploymentAction: z.array(ACLAction$outboundSchema).optional(), integrationEvent: z.array(ACLAction$outboundSchema).optional(), + integrationLog: z.array(ACLAction$outboundSchema).optional(), + integrationResource: z.array(ACLAction$outboundSchema).optional(), + integrationResourceReplCommand: 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(), - marketplaceSettings: z.array(ACLAction$outboundSchema).optional(), - marketplaceExperimentationItem: z.array(ACLAction$outboundSchema).optional(), - marketplaceExperimentationEdgeConfigData: z.array(ACLAction$outboundSchema) + integrationSSOSession: z.array(ACLAction$outboundSchema).optional(), + integrationStoreTokenSet: z.array(ACLAction$outboundSchema).optional(), + integrationVercelConfigurationOverride: z.array(ACLAction$outboundSchema) .optional(), + integrationPullRequest: z.array(ACLAction$outboundSchema).optional(), + ipBlocking: z.array(ACLAction$outboundSchema).optional(), jobGlobal: z.array(ACLAction$outboundSchema).optional(), - drain: z.array(ACLAction$outboundSchema).optional(), logDrain: z.array(ACLAction$outboundSchema).optional(), + marketplaceBillingData: z.array(ACLAction$outboundSchema).optional(), + marketplaceExperimentationEdgeConfigData: z.array(ACLAction$outboundSchema) + .optional(), + marketplaceExperimentationItem: z.array(ACLAction$outboundSchema).optional(), + marketplaceInstallationMember: z.array(ACLAction$outboundSchema).optional(), + marketplaceInvoice: z.array(ACLAction$outboundSchema).optional(), + marketplaceSettings: 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(), + monitoringChart: z.array(ACLAction$outboundSchema).optional(), + monitoringQuery: z.array(ACLAction$outboundSchema).optional(), + monitoringSettings: z.array(ACLAction$outboundSchema).optional(), + notificationCustomerBudget: z.array(ACLAction$outboundSchema).optional(), notificationDeploymentFailed: z.array(ACLAction$outboundSchema).optional(), notificationDomainConfiguration: z.array(ACLAction$outboundSchema).optional(), notificationDomainExpire: z.array(ACLAction$outboundSchema).optional(), @@ -10361,42 +8879,39 @@ export const UpdateProjectPermissions$outboundSchema: z.ZodType< notificationDomainUnverified: z.array(ACLAction$outboundSchema).optional(), notificationMonitoringAlert: z.array(ACLAction$outboundSchema).optional(), notificationPaymentFailed: z.array(ACLAction$outboundSchema).optional(), - notificationUsageAlert: z.array(ACLAction$outboundSchema).optional(), notificationPreferences: z.array(ACLAction$outboundSchema).optional(), - notificationCustomerBudget: z.array(ACLAction$outboundSchema).optional(), notificationStatementOfReasons: z.array(ACLAction$outboundSchema).optional(), + notificationUsageAlert: z.array(ACLAction$outboundSchema).optional(), observabilityConfiguration: z.array(ACLAction$outboundSchema).optional(), - alerts: z.array(ACLAction$outboundSchema).optional(), - observabilityNotebook: z.array(ACLAction$outboundSchema).optional(), observabilityFunnel: z.array(ACLAction$outboundSchema).optional(), + observabilityNotebook: z.array(ACLAction$outboundSchema).optional(), openTelemetryEndpoint: z.array(ACLAction$outboundSchema).optional(), - vercelAppInstallation: z.array(ACLAction$outboundSchema).optional(), - vercelAppInstallationRequest: z.array(ACLAction$outboundSchema).optional(), + ownEvent: z.array(ACLAction$outboundSchema).optional(), + organizationDomain: z.array(ACLAction$outboundSchema).optional(), + passwordProtectionInvoiceItem: z.array(ACLAction$outboundSchema).optional(), paymentMethod: z.array(ACLAction$outboundSchema).optional(), permissions: z.array(ACLAction$outboundSchema).optional(), postgres: z.array(ACLAction$outboundSchema).optional(), + postgresStoreTokenSet: z.array(ACLAction$outboundSchema).optional(), previewDeploymentSuffix: z.array(ACLAction$outboundSchema).optional(), + projectTransferIn: 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(), + redisStoreTokenSet: z.array(ACLAction$outboundSchema).optional(), remoteCaching: z.array(ACLAction$outboundSchema).optional(), + repository: 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(), + sensitiveEnvironmentVariablePolicy: 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(), 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(), @@ -10411,26 +8926,15 @@ export const UpdateProjectPermissions$outboundSchema: z.ZodType< token: z.array(ACLAction$outboundSchema).optional(), usage: z.array(ACLAction$outboundSchema).optional(), usageCycle: z.array(ACLAction$outboundSchema).optional(), + vercelRun: z.array(ACLAction$outboundSchema).optional(), + vercelRunExec: z.array(ACLAction$outboundSchema).optional(), vpcPeeringConnection: z.array(ACLAction$outboundSchema).optional(), webAnalyticsPlan: 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(), - vercelRun: z.array(ACLAction$outboundSchema).optional(), - vercelRunExec: z.array(ACLAction$outboundSchema).optional(), - apiKey: z.array(ACLAction$outboundSchema).optional(), - apiKeyOwnedBySelf: z.array(ACLAction$outboundSchema).optional(), - apiKeyAiGateway: z.array(ACLAction$outboundSchema).optional(), aliasProject: z.array(ACLAction$outboundSchema).optional(), aliasProtectionBypass: z.array(ACLAction$outboundSchema).optional(), buildMachine: 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(), @@ -10447,55 +8951,56 @@ export const UpdateProjectPermissions$outboundSchema: z.ZodType< deploymentRollback: z.array(ACLAction$outboundSchema).optional(), edgeCacheNamespace: z.array(ACLAction$outboundSchema).optional(), environments: z.array(ACLAction$outboundSchema).optional(), + job: 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(), onDemandBuild: z.array(ACLAction$outboundSchema).optional(), onDemandConcurrency: z.array(ACLAction$outboundSchema).optional(), + optionsAllowlist: z.array(ACLAction$outboundSchema).optional(), + passwordProtection: z.array(ACLAction$outboundSchema).optional(), + productionAliasProtectionBypass: 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(), + projectAnalyticsUsage: z.array(ACLAction$outboundSchema).optional(), projectCheck: z.array(ACLAction$outboundSchema).optional(), projectCheckRun: z.array(ACLAction$outboundSchema).optional(), + projectDeploymentExpiration: 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(), + projectDomainMove: 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(), + projectFlagsProduction: z.array(ACLAction$outboundSchema).optional(), + projectFromV0: 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(), + projectOIDCToken: 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(), + projectRollingRelease: z.array(ACLAction$outboundSchema).optional(), projectSupportCase: z.array(ACLAction$outboundSchema).optional(), projectSupportCaseComment: z.array(ACLAction$outboundSchema).optional(), - projectDeploymentExpiration: z.array(ACLAction$outboundSchema).optional(), - projectRollingRelease: z.array(ACLAction$outboundSchema).optional(), projectTier: z.array(ACLAction$outboundSchema).optional(), - projectOIDCToken: z.array(ACLAction$outboundSchema).optional(), + projectTransfer: z.array(ACLAction$outboundSchema).optional(), + projectTransferOut: z.array(ACLAction$outboundSchema).optional(), + projectUsage: z.array(ACLAction$outboundSchema).optional(), seawallConfig: z.array(ACLAction$outboundSchema).optional(), + sharedEnvVarConnection: z.array(ACLAction$outboundSchema).optional(), skewProtection: z.array(ACLAction$outboundSchema).optional(), analytics: z.array(ACLAction$outboundSchema).optional(), trustedIps: z.array(ACLAction$outboundSchema).optional(), v0Chat: 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", @@ -10504,19 +9009,6 @@ export const UpdateProjectPermissions$outboundSchema: z.ZodType< }); }); -/** - * @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 { @@ -10524,7 +9016,6 @@ export function updateProjectPermissionsToJSON( UpdateProjectPermissions$outboundSchema.parse(updateProjectPermissions), ); } - export function updateProjectPermissionsFromJSON( jsonString: string, ): SafeParseResult { @@ -10541,7 +9032,6 @@ export const UpdateProjectLastRollbackTarget$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({}); - /** @internal */ export type UpdateProjectLastRollbackTarget$Outbound = {}; @@ -10552,19 +9042,6 @@ export const UpdateProjectLastRollbackTarget$outboundSchema: z.ZodType< 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 { @@ -10574,7 +9051,6 @@ export function updateProjectLastRollbackTargetToJSON( ), ); } - export function updateProjectLastRollbackTargetFromJSON( jsonString: string, ): SafeParseResult { @@ -10589,46 +9065,20 @@ export function updateProjectLastRollbackTargetFromJSON( 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 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 UpdateProjectLastAliasRequest$inboundSchema: z.ZodType< UpdateProjectLastAliasRequest, @@ -10642,7 +9092,6 @@ export const UpdateProjectLastAliasRequest$inboundSchema: z.ZodType< requestedAt: z.number(), type: UpdateProjectProjectsResponse200ApplicationJSONType$inboundSchema, }); - /** @internal */ export type UpdateProjectLastAliasRequest$Outbound = { fromDeploymentId: string; @@ -10667,19 +9116,6 @@ export const UpdateProjectLastAliasRequest$outboundSchema: z.ZodType< type: UpdateProjectProjectsResponse200ApplicationJSONType$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 { @@ -10689,7 +9125,6 @@ export function updateProjectLastAliasRequestToJSON( ), ); } - export function updateProjectLastAliasRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -10704,25 +9139,11 @@ export function updateProjectLastAliasRequestFromJSON( export const UpdateProjectProtectionBypassProjectsScope$inboundSchema: z.ZodNativeEnum = z .nativeEnum(UpdateProjectProtectionBypassProjectsScope); - /** @internal */ export const UpdateProjectProtectionBypassProjectsScope$outboundSchema: z.ZodNativeEnum = UpdateProjectProtectionBypassProjectsScope$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectProtectionBypassProjectsScope$ { - /** @deprecated use `UpdateProjectProtectionBypassProjectsScope$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectProtectionBypassProjectsScope$inboundSchema; - /** @deprecated use `UpdateProjectProtectionBypassProjectsScope$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectProtectionBypassProjectsScope$outboundSchema; -} - /** @internal */ export const UpdateProjectProtectionBypass2$inboundSchema: z.ZodType< UpdateProjectProtectionBypass2, @@ -10733,7 +9154,6 @@ export const UpdateProjectProtectionBypass2$inboundSchema: z.ZodType< createdBy: z.string(), scope: UpdateProjectProtectionBypassProjectsScope$inboundSchema, }); - /** @internal */ export type UpdateProjectProtectionBypass2$Outbound = { createdAt: number; @@ -10752,19 +9172,6 @@ export const UpdateProjectProtectionBypass2$outboundSchema: z.ZodType< scope: UpdateProjectProtectionBypassProjectsScope$outboundSchema, }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectProtectionBypass2$ { - /** @deprecated use `UpdateProjectProtectionBypass2$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectProtectionBypass2$inboundSchema; - /** @deprecated use `UpdateProjectProtectionBypass2$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectProtectionBypass2$outboundSchema; - /** @deprecated use `UpdateProjectProtectionBypass2$Outbound` instead. */ - export type Outbound = UpdateProjectProtectionBypass2$Outbound; -} - export function updateProjectProtectionBypass2ToJSON( updateProjectProtectionBypass2: UpdateProjectProtectionBypass2, ): string { @@ -10774,7 +9181,6 @@ export function updateProjectProtectionBypass2ToJSON( ), ); } - export function updateProjectProtectionBypass2FromJSON( jsonString: string, ): SafeParseResult { @@ -10789,24 +9195,11 @@ export function updateProjectProtectionBypass2FromJSON( 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 UpdateProjectProtectionBypass1$inboundSchema: z.ZodType< UpdateProjectProtectionBypass1, @@ -10819,7 +9212,6 @@ export const UpdateProjectProtectionBypass1$inboundSchema: z.ZodType< integrationId: z.string(), configurationId: z.string(), }); - /** @internal */ export type UpdateProjectProtectionBypass1$Outbound = { createdAt: number; @@ -10842,19 +9234,6 @@ export const UpdateProjectProtectionBypass1$outboundSchema: z.ZodType< configurationId: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectProtectionBypass1$ { - /** @deprecated use `UpdateProjectProtectionBypass1$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectProtectionBypass1$inboundSchema; - /** @deprecated use `UpdateProjectProtectionBypass1$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectProtectionBypass1$outboundSchema; - /** @deprecated use `UpdateProjectProtectionBypass1$Outbound` instead. */ - export type Outbound = UpdateProjectProtectionBypass1$Outbound; -} - export function updateProjectProtectionBypass1ToJSON( updateProjectProtectionBypass1: UpdateProjectProtectionBypass1, ): string { @@ -10864,7 +9243,6 @@ export function updateProjectProtectionBypass1ToJSON( ), ); } - export function updateProjectProtectionBypass1FromJSON( jsonString: string, ): SafeParseResult { @@ -10884,7 +9262,6 @@ export const UpdateProjectProtectionBypass$inboundSchema: z.ZodType< z.lazy(() => UpdateProjectProtectionBypass1$inboundSchema), z.lazy(() => UpdateProjectProtectionBypass2$inboundSchema), ]); - /** @internal */ export type UpdateProjectProtectionBypass$Outbound = | UpdateProjectProtectionBypass1$Outbound @@ -10900,19 +9277,6 @@ export const UpdateProjectProtectionBypass$outboundSchema: z.ZodType< z.lazy(() => UpdateProjectProtectionBypass2$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 { @@ -10922,7 +9286,6 @@ export function updateProjectProtectionBypassToJSON( ), ); } - export function updateProjectProtectionBypassFromJSON( jsonString: string, ): SafeParseResult { @@ -10937,25 +9300,11 @@ export function updateProjectProtectionBypassFromJSON( 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, @@ -10964,7 +9313,6 @@ export const UpdateProjectTrustedIps2$inboundSchema: z.ZodType< > = z.object({ deploymentType: UpdateProjectTrustedIpsProjectsDeploymentType$inboundSchema, }); - /** @internal */ export type UpdateProjectTrustedIps2$Outbound = { deploymentType: string; @@ -10979,19 +9327,6 @@ export const UpdateProjectTrustedIps2$outboundSchema: z.ZodType< 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 { @@ -10999,7 +9334,6 @@ export function updateProjectTrustedIps2ToJSON( UpdateProjectTrustedIps2$outboundSchema.parse(updateProjectTrustedIps2), ); } - export function updateProjectTrustedIps2FromJSON( jsonString: string, ): SafeParseResult { @@ -11015,25 +9349,11 @@ 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, @@ -11043,7 +9363,6 @@ export const UpdateProjectTrustedIpsAddresses$inboundSchema: z.ZodType< value: z.string(), note: z.string().optional(), }); - /** @internal */ export type UpdateProjectTrustedIpsAddresses$Outbound = { value: string; @@ -11060,19 +9379,6 @@ export const UpdateProjectTrustedIpsAddresses$outboundSchema: z.ZodType< 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 { @@ -11082,7 +9388,6 @@ export function updateProjectTrustedIpsAddressesToJSON( ), ); } - export function updateProjectTrustedIpsAddressesFromJSON( jsonString: string, ): SafeParseResult { @@ -11098,25 +9403,11 @@ 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, @@ -11129,7 +9420,6 @@ export const UpdateProjectTrustedIps1$inboundSchema: z.ZodType< ), protectionMode: UpdateProjectTrustedIpsProtectionMode$inboundSchema, }); - /** @internal */ export type UpdateProjectTrustedIps1$Outbound = { deploymentType: string; @@ -11150,19 +9440,6 @@ export const UpdateProjectTrustedIps1$outboundSchema: z.ZodType< 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 { @@ -11170,7 +9447,6 @@ export function updateProjectTrustedIps1ToJSON( UpdateProjectTrustedIps1$outboundSchema.parse(updateProjectTrustedIps1), ); } - export function updateProjectTrustedIps1FromJSON( jsonString: string, ): SafeParseResult { @@ -11190,7 +9466,6 @@ export const UpdateProjectProjectsTrustedIps$inboundSchema: z.ZodType< z.lazy(() => UpdateProjectTrustedIps1$inboundSchema), z.lazy(() => UpdateProjectTrustedIps2$inboundSchema), ]); - /** @internal */ export type UpdateProjectProjectsTrustedIps$Outbound = | UpdateProjectTrustedIps1$Outbound @@ -11206,19 +9481,6 @@ export const UpdateProjectProjectsTrustedIps$outboundSchema: z.ZodType< z.lazy(() => UpdateProjectTrustedIps2$outboundSchema), ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectProjectsTrustedIps$ { - /** @deprecated use `UpdateProjectProjectsTrustedIps$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectProjectsTrustedIps$inboundSchema; - /** @deprecated use `UpdateProjectProjectsTrustedIps$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectProjectsTrustedIps$outboundSchema; - /** @deprecated use `UpdateProjectProjectsTrustedIps$Outbound` instead. */ - export type Outbound = UpdateProjectProjectsTrustedIps$Outbound; -} - export function updateProjectProjectsTrustedIpsToJSON( updateProjectProjectsTrustedIps: UpdateProjectProjectsTrustedIps, ): string { @@ -11228,7 +9490,6 @@ export function updateProjectProjectsTrustedIpsToJSON( ), ); } - export function updateProjectProjectsTrustedIpsFromJSON( jsonString: string, ): SafeParseResult { @@ -11248,7 +9509,6 @@ export const UpdateProjectGitComments$inboundSchema: z.ZodType< onPullRequest: z.boolean(), onCommit: z.boolean(), }); - /** @internal */ export type UpdateProjectGitComments$Outbound = { onPullRequest: boolean; @@ -11265,19 +9525,6 @@ export const UpdateProjectGitComments$outboundSchema: z.ZodType< 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 { @@ -11285,7 +9532,6 @@ export function updateProjectGitCommentsToJSON( UpdateProjectGitComments$outboundSchema.parse(updateProjectGitComments), ); } - export function updateProjectGitCommentsFromJSON( jsonString: string, ): SafeParseResult { @@ -11300,23 +9546,11 @@ export function updateProjectGitCommentsFromJSON( export const UpdateProjectCreateDeployments$inboundSchema: z.ZodNativeEnum< typeof UpdateProjectCreateDeployments > = z.nativeEnum(UpdateProjectCreateDeployments); - /** @internal */ export const UpdateProjectCreateDeployments$outboundSchema: z.ZodNativeEnum< typeof UpdateProjectCreateDeployments > = UpdateProjectCreateDeployments$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectCreateDeployments$ { - /** @deprecated use `UpdateProjectCreateDeployments$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectCreateDeployments$inboundSchema; - /** @deprecated use `UpdateProjectCreateDeployments$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectCreateDeployments$outboundSchema; -} - /** @internal */ export const UpdateProjectGitProviderOptions$inboundSchema: z.ZodType< UpdateProjectGitProviderOptions, @@ -11325,12 +9559,13 @@ export const UpdateProjectGitProviderOptions$inboundSchema: z.ZodType< > = z.object({ createDeployments: UpdateProjectCreateDeployments$inboundSchema, disableRepositoryDispatchEvents: z.boolean().optional(), + requireVerifiedCommits: z.boolean().optional(), }); - /** @internal */ export type UpdateProjectGitProviderOptions$Outbound = { createDeployments: string; disableRepositoryDispatchEvents?: boolean | undefined; + requireVerifiedCommits?: boolean | undefined; }; /** @internal */ @@ -11341,21 +9576,9 @@ export const UpdateProjectGitProviderOptions$outboundSchema: z.ZodType< > = z.object({ createDeployments: UpdateProjectCreateDeployments$outboundSchema, disableRepositoryDispatchEvents: z.boolean().optional(), + requireVerifiedCommits: 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 UpdateProjectGitProviderOptions$ { - /** @deprecated use `UpdateProjectGitProviderOptions$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectGitProviderOptions$inboundSchema; - /** @deprecated use `UpdateProjectGitProviderOptions$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectGitProviderOptions$outboundSchema; - /** @deprecated use `UpdateProjectGitProviderOptions$Outbound` instead. */ - export type Outbound = UpdateProjectGitProviderOptions$Outbound; -} - export function updateProjectGitProviderOptionsToJSON( updateProjectGitProviderOptions: UpdateProjectGitProviderOptions, ): string { @@ -11365,7 +9588,6 @@ export function updateProjectGitProviderOptionsToJSON( ), ); } - export function updateProjectGitProviderOptionsFromJSON( jsonString: string, ): SafeParseResult { @@ -11388,7 +9610,6 @@ export const UpdateProjectWebAnalytics$inboundSchema: z.ZodType< enabledAt: z.number().optional(), hasData: z.boolean().optional(), }); - /** @internal */ export type UpdateProjectWebAnalytics$Outbound = { id: string; @@ -11411,19 +9632,6 @@ export const UpdateProjectWebAnalytics$outboundSchema: z.ZodType< 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 { @@ -11431,7 +9639,6 @@ export function updateProjectWebAnalyticsToJSON( UpdateProjectWebAnalytics$outboundSchema.parse(updateProjectWebAnalytics), ); } - export function updateProjectWebAnalyticsFromJSON( jsonString: string, ): SafeParseResult { @@ -11443,28 +9650,15 @@ export function updateProjectWebAnalyticsFromJSON( } /** @internal */ -export const UpdateProjectProjectsResponse200Action$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - UpdateProjectProjectsResponse200Action, - ); - +export const UpdateProjectProjectsResponse200ApplicationJSONAction$inboundSchema: + z.ZodNativeEnum< + typeof UpdateProjectProjectsResponse200ApplicationJSONAction + > = z.nativeEnum(UpdateProjectProjectsResponse200ApplicationJSONAction); /** @internal */ -export const UpdateProjectProjectsResponse200Action$outboundSchema: - z.ZodNativeEnum = - UpdateProjectProjectsResponse200Action$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectProjectsResponse200Action$ { - /** @deprecated use `UpdateProjectProjectsResponse200Action$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectProjectsResponse200Action$inboundSchema; - /** @deprecated use `UpdateProjectProjectsResponse200Action$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectProjectsResponse200Action$outboundSchema; -} +export const UpdateProjectProjectsResponse200ApplicationJSONAction$outboundSchema: + z.ZodNativeEnum< + typeof UpdateProjectProjectsResponse200ApplicationJSONAction + > = UpdateProjectProjectsResponse200ApplicationJSONAction$inboundSchema; /** @internal */ export const UpdateProjectBotFilter$inboundSchema: z.ZodType< @@ -11473,9 +9667,9 @@ export const UpdateProjectBotFilter$inboundSchema: z.ZodType< unknown > = z.object({ active: z.boolean(), - action: UpdateProjectProjectsResponse200Action$inboundSchema.optional(), + action: UpdateProjectProjectsResponse200ApplicationJSONAction$inboundSchema + .optional(), }); - /** @internal */ export type UpdateProjectBotFilter$Outbound = { active: boolean; @@ -11489,22 +9683,10 @@ export const UpdateProjectBotFilter$outboundSchema: z.ZodType< UpdateProjectBotFilter > = z.object({ active: z.boolean(), - action: UpdateProjectProjectsResponse200Action$outboundSchema.optional(), + action: UpdateProjectProjectsResponse200ApplicationJSONAction$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 UpdateProjectBotFilter$ { - /** @deprecated use `UpdateProjectBotFilter$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectBotFilter$inboundSchema; - /** @deprecated use `UpdateProjectBotFilter$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectBotFilter$outboundSchema; - /** @deprecated use `UpdateProjectBotFilter$Outbound` instead. */ - export type Outbound = UpdateProjectBotFilter$Outbound; -} - export function updateProjectBotFilterToJSON( updateProjectBotFilter: UpdateProjectBotFilter, ): string { @@ -11512,7 +9694,6 @@ export function updateProjectBotFilterToJSON( UpdateProjectBotFilter$outboundSchema.parse(updateProjectBotFilter), ); } - export function updateProjectBotFilterFromJSON( jsonString: string, ): SafeParseResult { @@ -11524,25 +9705,18 @@ export function updateProjectBotFilterFromJSON( } /** @internal */ -export const UpdateProjectProjectsAction$inboundSchema: z.ZodNativeEnum< - typeof UpdateProjectProjectsAction -> = z.nativeEnum(UpdateProjectProjectsAction); - +export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyAction$inboundSchema: + z.ZodNativeEnum< + typeof UpdateProjectProjectsResponse200ApplicationJSONResponseBodyAction + > = z.nativeEnum( + UpdateProjectProjectsResponse200ApplicationJSONResponseBodyAction, + ); /** @internal */ -export const UpdateProjectProjectsAction$outboundSchema: z.ZodNativeEnum< - typeof UpdateProjectProjectsAction -> = UpdateProjectProjectsAction$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectProjectsAction$ { - /** @deprecated use `UpdateProjectProjectsAction$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectProjectsAction$inboundSchema; - /** @deprecated use `UpdateProjectProjectsAction$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectProjectsAction$outboundSchema; -} +export const UpdateProjectProjectsResponse200ApplicationJSONResponseBodyAction$outboundSchema: + z.ZodNativeEnum< + typeof UpdateProjectProjectsResponse200ApplicationJSONResponseBodyAction + > = + UpdateProjectProjectsResponse200ApplicationJSONResponseBodyAction$inboundSchema; /** @internal */ export const UpdateProjectAiBots$inboundSchema: z.ZodType< @@ -11551,9 +9725,10 @@ export const UpdateProjectAiBots$inboundSchema: z.ZodType< unknown > = z.object({ active: z.boolean(), - action: UpdateProjectProjectsAction$inboundSchema.optional(), + action: + UpdateProjectProjectsResponse200ApplicationJSONResponseBodyAction$inboundSchema + .optional(), }); - /** @internal */ export type UpdateProjectAiBots$Outbound = { active: boolean; @@ -11567,22 +9742,11 @@ export const UpdateProjectAiBots$outboundSchema: z.ZodType< UpdateProjectAiBots > = z.object({ active: z.boolean(), - action: UpdateProjectProjectsAction$outboundSchema.optional(), + action: + UpdateProjectProjectsResponse200ApplicationJSONResponseBodyAction$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 UpdateProjectAiBots$ { - /** @deprecated use `UpdateProjectAiBots$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectAiBots$inboundSchema; - /** @deprecated use `UpdateProjectAiBots$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectAiBots$outboundSchema; - /** @deprecated use `UpdateProjectAiBots$Outbound` instead. */ - export type Outbound = UpdateProjectAiBots$Outbound; -} - export function updateProjectAiBotsToJSON( updateProjectAiBots: UpdateProjectAiBots, ): string { @@ -11590,7 +9754,6 @@ export function updateProjectAiBotsToJSON( UpdateProjectAiBots$outboundSchema.parse(updateProjectAiBots), ); } - export function updateProjectAiBotsFromJSON( jsonString: string, ): SafeParseResult { @@ -11598,32 +9761,19 @@ export function updateProjectAiBotsFromJSON( jsonString, (x) => UpdateProjectAiBots$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpdateProjectAiBots' from JSON`, - ); -} - -/** @internal */ -export const UpdateProjectProjectsResponseAction$inboundSchema: z.ZodNativeEnum< - typeof UpdateProjectProjectsResponseAction -> = z.nativeEnum(UpdateProjectProjectsResponseAction); - -/** @internal */ -export const UpdateProjectProjectsResponseAction$outboundSchema: - z.ZodNativeEnum = - UpdateProjectProjectsResponseAction$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectProjectsResponseAction$ { - /** @deprecated use `UpdateProjectProjectsResponseAction$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectProjectsResponseAction$inboundSchema; - /** @deprecated use `UpdateProjectProjectsResponseAction$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectProjectsResponseAction$outboundSchema; + ); } +/** @internal */ +export const UpdateProjectProjectsResponse200Action$inboundSchema: + z.ZodNativeEnum = z.nativeEnum( + UpdateProjectProjectsResponse200Action, + ); +/** @internal */ +export const UpdateProjectProjectsResponse200Action$outboundSchema: + z.ZodNativeEnum = + UpdateProjectProjectsResponse200Action$inboundSchema; + /** @internal */ export const UpdateProjectOwasp$inboundSchema: z.ZodType< UpdateProjectOwasp, @@ -11631,9 +9781,8 @@ export const UpdateProjectOwasp$inboundSchema: z.ZodType< unknown > = z.object({ active: z.boolean(), - action: UpdateProjectProjectsResponseAction$inboundSchema.optional(), + action: UpdateProjectProjectsResponse200Action$inboundSchema.optional(), }); - /** @internal */ export type UpdateProjectOwasp$Outbound = { active: boolean; @@ -11647,22 +9796,9 @@ export const UpdateProjectOwasp$outboundSchema: z.ZodType< UpdateProjectOwasp > = z.object({ active: z.boolean(), - action: UpdateProjectProjectsResponseAction$outboundSchema.optional(), + action: UpdateProjectProjectsResponse200Action$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 UpdateProjectOwasp$ { - /** @deprecated use `UpdateProjectOwasp$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectOwasp$inboundSchema; - /** @deprecated use `UpdateProjectOwasp$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectOwasp$outboundSchema; - /** @deprecated use `UpdateProjectOwasp$Outbound` instead. */ - export type Outbound = UpdateProjectOwasp$Outbound; -} - export function updateProjectOwaspToJSON( updateProjectOwasp: UpdateProjectOwasp, ): string { @@ -11670,7 +9806,6 @@ export function updateProjectOwaspToJSON( UpdateProjectOwasp$outboundSchema.parse(updateProjectOwasp), ); } - export function updateProjectOwaspFromJSON( jsonString: string, ): SafeParseResult { @@ -11696,7 +9831,6 @@ export const UpdateProjectManagedRules$inboundSchema: z.ZodType< "ai_bots": "aiBots", }); }); - /** @internal */ export type UpdateProjectManagedRules$Outbound = { bot_filter: UpdateProjectBotFilter$Outbound; @@ -11720,19 +9854,6 @@ export const UpdateProjectManagedRules$outboundSchema: z.ZodType< }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectManagedRules$ { - /** @deprecated use `UpdateProjectManagedRules$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectManagedRules$inboundSchema; - /** @deprecated use `UpdateProjectManagedRules$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectManagedRules$outboundSchema; - /** @deprecated use `UpdateProjectManagedRules$Outbound` instead. */ - export type Outbound = UpdateProjectManagedRules$Outbound; -} - export function updateProjectManagedRulesToJSON( updateProjectManagedRules: UpdateProjectManagedRules, ): string { @@ -11740,7 +9861,6 @@ export function updateProjectManagedRulesToJSON( UpdateProjectManagedRules$outboundSchema.parse(updateProjectManagedRules), ); } - export function updateProjectManagedRulesFromJSON( jsonString: string, ): SafeParseResult { @@ -11772,7 +9892,6 @@ export const UpdateProjectSecurity$inboundSchema: z.ZodType< ).optional(), botIdEnabled: z.boolean().optional(), }); - /** @internal */ export type UpdateProjectSecurity$Outbound = { attackModeEnabled?: boolean | undefined; @@ -11811,19 +9930,6 @@ export const UpdateProjectSecurity$outboundSchema: z.ZodType< botIdEnabled: 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 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 { @@ -11831,7 +9937,6 @@ export function updateProjectSecurityToJSON( UpdateProjectSecurity$outboundSchema.parse(updateProjectSecurity), ); } - export function updateProjectSecurityFromJSON( jsonString: string, ): SafeParseResult { @@ -11846,23 +9951,11 @@ export function updateProjectSecurityFromJSON( 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, @@ -11872,7 +9965,6 @@ export const UpdateProjectProjectsOidcTokenConfig$inboundSchema: z.ZodType< enabled: z.boolean().optional(), issuerMode: UpdateProjectProjectsIssuerMode$inboundSchema.optional(), }); - /** @internal */ export type UpdateProjectProjectsOidcTokenConfig$Outbound = { enabled?: boolean | undefined; @@ -11889,21 +9981,6 @@ export const UpdateProjectProjectsOidcTokenConfig$outboundSchema: z.ZodType< 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 { @@ -11913,7 +9990,6 @@ export function updateProjectProjectsOidcTokenConfigToJSON( ), ); } - export function updateProjectProjectsOidcTokenConfigFromJSON( jsonString: string, ): SafeParseResult { @@ -11929,23 +10005,11 @@ export function updateProjectProjectsOidcTokenConfigFromJSON( 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 UpdateProjectFeatures$inboundSchema: z.ZodType< UpdateProjectFeatures, @@ -11954,7 +10018,6 @@ export const UpdateProjectFeatures$inboundSchema: z.ZodType< > = z.object({ webAnalytics: z.boolean().optional(), }); - /** @internal */ export type UpdateProjectFeatures$Outbound = { webAnalytics?: boolean | undefined; @@ -11969,19 +10032,6 @@ export const UpdateProjectFeatures$outboundSchema: z.ZodType< webAnalytics: 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 UpdateProjectFeatures$ { - /** @deprecated use `UpdateProjectFeatures$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectFeatures$inboundSchema; - /** @deprecated use `UpdateProjectFeatures$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectFeatures$outboundSchema; - /** @deprecated use `UpdateProjectFeatures$Outbound` instead. */ - export type Outbound = UpdateProjectFeatures$Outbound; -} - export function updateProjectFeaturesToJSON( updateProjectFeatures: UpdateProjectFeatures, ): string { @@ -11989,7 +10039,6 @@ export function updateProjectFeaturesToJSON( UpdateProjectFeatures$outboundSchema.parse(updateProjectFeatures), ); } - export function updateProjectFeaturesFromJSON( jsonString: string, ): SafeParseResult { @@ -12012,7 +10061,6 @@ export const UpdateProjectHistory$inboundSchema: z.ZodType< byId: z.string(), at: z.number(), }); - /** @internal */ export type UpdateProjectHistory$Outbound = { scanner: string; @@ -12035,19 +10083,6 @@ export const UpdateProjectHistory$outboundSchema: z.ZodType< at: 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 UpdateProjectHistory$ { - /** @deprecated use `UpdateProjectHistory$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectHistory$inboundSchema; - /** @deprecated use `UpdateProjectHistory$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectHistory$outboundSchema; - /** @deprecated use `UpdateProjectHistory$Outbound` instead. */ - export type Outbound = UpdateProjectHistory$Outbound; -} - export function updateProjectHistoryToJSON( updateProjectHistory: UpdateProjectHistory, ): string { @@ -12055,7 +10090,6 @@ export function updateProjectHistoryToJSON( UpdateProjectHistory$outboundSchema.parse(updateProjectHistory), ); } - export function updateProjectHistoryFromJSON( jsonString: string, ): SafeParseResult { @@ -12067,25 +10101,13 @@ export function updateProjectHistoryFromJSON( } /** @internal */ -export const UpdateProjectAction$inboundSchema: z.ZodNativeEnum< - typeof UpdateProjectAction -> = z.nativeEnum(UpdateProjectAction); - +export const UpdateProjectProjectsResponseAction$inboundSchema: z.ZodNativeEnum< + typeof UpdateProjectProjectsResponseAction +> = z.nativeEnum(UpdateProjectProjectsResponseAction); /** @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; -} +export const UpdateProjectProjectsResponseAction$outboundSchema: + z.ZodNativeEnum = + UpdateProjectProjectsResponseAction$inboundSchema; /** @internal */ export const UpdateProjectBlock$inboundSchema: z.ZodType< @@ -12093,7 +10115,7 @@ export const UpdateProjectBlock$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - action: UpdateProjectAction$inboundSchema, + action: UpdateProjectProjectsResponseAction$inboundSchema, reason: z.string(), statusCode: z.number(), createdAt: z.number(), @@ -12102,7 +10124,6 @@ export const UpdateProjectBlock$inboundSchema: z.ZodType< comment: z.string().optional(), isCascading: z.boolean().optional(), }); - /** @internal */ export type UpdateProjectBlock$Outbound = { action: string; @@ -12121,7 +10142,7 @@ export const UpdateProjectBlock$outboundSchema: z.ZodType< z.ZodTypeDef, UpdateProjectBlock > = z.object({ - action: UpdateProjectAction$outboundSchema, + action: UpdateProjectProjectsResponseAction$outboundSchema, reason: z.string(), statusCode: z.number(), createdAt: z.number(), @@ -12131,19 +10152,6 @@ export const UpdateProjectBlock$outboundSchema: z.ZodType< isCascading: 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 UpdateProjectBlock$ { - /** @deprecated use `UpdateProjectBlock$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectBlock$inboundSchema; - /** @deprecated use `UpdateProjectBlock$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectBlock$outboundSchema; - /** @deprecated use `UpdateProjectBlock$Outbound` instead. */ - export type Outbound = UpdateProjectBlock$Outbound; -} - export function updateProjectBlockToJSON( updateProjectBlock: UpdateProjectBlock, ): string { @@ -12151,7 +10159,6 @@ export function updateProjectBlockToJSON( UpdateProjectBlock$outboundSchema.parse(updateProjectBlock), ); } - export function updateProjectBlockFromJSON( jsonString: string, ): SafeParseResult { @@ -12166,48 +10173,20 @@ export function updateProjectBlockFromJSON( export const UpdateProjectBlockHistoryProjectsResponse200Action$inboundSchema: z.ZodNativeEnum = z .nativeEnum(UpdateProjectBlockHistoryProjectsResponse200Action); - /** @internal */ export const UpdateProjectBlockHistoryProjectsResponse200Action$outboundSchema: z.ZodNativeEnum = UpdateProjectBlockHistoryProjectsResponse200Action$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectBlockHistoryProjectsResponse200Action$ { - /** @deprecated use `UpdateProjectBlockHistoryProjectsResponse200Action$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectBlockHistoryProjectsResponse200Action$inboundSchema; - /** @deprecated use `UpdateProjectBlockHistoryProjectsResponse200Action$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectBlockHistoryProjectsResponse200Action$outboundSchema; -} - /** @internal */ export const UpdateProjectHasProjectsResponse200Type$inboundSchema: z.ZodNativeEnum = z .nativeEnum(UpdateProjectHasProjectsResponse200Type); - /** @internal */ export const UpdateProjectHasProjectsResponse200Type$outboundSchema: z.ZodNativeEnum = UpdateProjectHasProjectsResponse200Type$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectHasProjectsResponse200Type$ { - /** @deprecated use `UpdateProjectHasProjectsResponse200Type$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectHasProjectsResponse200Type$inboundSchema; - /** @deprecated use `UpdateProjectHasProjectsResponse200Type$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectHasProjectsResponse200Type$outboundSchema; -} - /** @internal */ export const UpdateProjectHasProjectsResponse200Value$inboundSchema: z.ZodType< UpdateProjectHasProjectsResponse200Value, @@ -12216,7 +10195,6 @@ export const UpdateProjectHasProjectsResponse200Value$inboundSchema: z.ZodType< > = z.object({ eq: z.string(), }); - /** @internal */ export type UpdateProjectHasProjectsResponse200Value$Outbound = { eq: string; @@ -12231,21 +10209,6 @@ export const UpdateProjectHasProjectsResponse200Value$outboundSchema: z.ZodType< eq: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectHasProjectsResponse200Value$ { - /** @deprecated use `UpdateProjectHasProjectsResponse200Value$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectHasProjectsResponse200Value$inboundSchema; - /** @deprecated use `UpdateProjectHasProjectsResponse200Value$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectHasProjectsResponse200Value$outboundSchema; - /** @deprecated use `UpdateProjectHasProjectsResponse200Value$Outbound` instead. */ - export type Outbound = UpdateProjectHasProjectsResponse200Value$Outbound; -} - export function updateProjectHasProjectsResponse200ValueToJSON( updateProjectHasProjectsResponse200Value: UpdateProjectHasProjectsResponse200Value, @@ -12256,7 +10219,6 @@ export function updateProjectHasProjectsResponse200ValueToJSON( ), ); } - export function updateProjectHasProjectsResponse200ValueFromJSON( jsonString: string, ): SafeParseResult< @@ -12282,7 +10244,6 @@ export const UpdateProjectHasProjects2$inboundSchema: z.ZodType< type: UpdateProjectHasProjectsResponse200Type$inboundSchema, value: z.lazy(() => UpdateProjectHasProjectsResponse200Value$inboundSchema), }); - /** @internal */ export type UpdateProjectHasProjects2$Outbound = { type: string; @@ -12299,19 +10260,6 @@ export const UpdateProjectHasProjects2$outboundSchema: z.ZodType< value: z.lazy(() => UpdateProjectHasProjectsResponse200Value$outboundSchema), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectHasProjects2$ { - /** @deprecated use `UpdateProjectHasProjects2$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectHasProjects2$inboundSchema; - /** @deprecated use `UpdateProjectHasProjects2$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectHasProjects2$outboundSchema; - /** @deprecated use `UpdateProjectHasProjects2$Outbound` instead. */ - export type Outbound = UpdateProjectHasProjects2$Outbound; -} - export function updateProjectHasProjects2ToJSON( updateProjectHasProjects2: UpdateProjectHasProjects2, ): string { @@ -12319,7 +10267,6 @@ export function updateProjectHasProjects2ToJSON( UpdateProjectHasProjects2$outboundSchema.parse(updateProjectHasProjects2), ); } - export function updateProjectHasProjects2FromJSON( jsonString: string, ): SafeParseResult { @@ -12335,46 +10282,20 @@ export const UpdateProjectHasProjectsResponseType$inboundSchema: z.ZodNativeEnum = z.nativeEnum( UpdateProjectHasProjectsResponseType, ); - /** @internal */ export const UpdateProjectHasProjectsResponseType$outboundSchema: z.ZodNativeEnum = UpdateProjectHasProjectsResponseType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectHasProjectsResponseType$ { - /** @deprecated use `UpdateProjectHasProjectsResponseType$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectHasProjectsResponseType$inboundSchema; - /** @deprecated use `UpdateProjectHasProjectsResponseType$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectHasProjectsResponseType$outboundSchema; -} - /** @internal */ export const UpdateProjectHasProjectsKey$inboundSchema: z.ZodNativeEnum< typeof UpdateProjectHasProjectsKey > = z.nativeEnum(UpdateProjectHasProjectsKey); - /** @internal */ export const UpdateProjectHasProjectsKey$outboundSchema: z.ZodNativeEnum< typeof UpdateProjectHasProjectsKey > = UpdateProjectHasProjectsKey$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectHasProjectsKey$ { - /** @deprecated use `UpdateProjectHasProjectsKey$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectHasProjectsKey$inboundSchema; - /** @deprecated use `UpdateProjectHasProjectsKey$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectHasProjectsKey$outboundSchema; -} - /** @internal */ export const UpdateProjectHasProjectsResponseValue$inboundSchema: z.ZodType< UpdateProjectHasProjectsResponseValue, @@ -12383,7 +10304,6 @@ export const UpdateProjectHasProjectsResponseValue$inboundSchema: z.ZodType< > = z.object({ eq: z.string(), }); - /** @internal */ export type UpdateProjectHasProjectsResponseValue$Outbound = { eq: string; @@ -12398,21 +10318,6 @@ export const UpdateProjectHasProjectsResponseValue$outboundSchema: z.ZodType< eq: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectHasProjectsResponseValue$ { - /** @deprecated use `UpdateProjectHasProjectsResponseValue$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectHasProjectsResponseValue$inboundSchema; - /** @deprecated use `UpdateProjectHasProjectsResponseValue$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectHasProjectsResponseValue$outboundSchema; - /** @deprecated use `UpdateProjectHasProjectsResponseValue$Outbound` instead. */ - export type Outbound = UpdateProjectHasProjectsResponseValue$Outbound; -} - export function updateProjectHasProjectsResponseValueToJSON( updateProjectHasProjectsResponseValue: UpdateProjectHasProjectsResponseValue, ): string { @@ -12422,7 +10327,6 @@ export function updateProjectHasProjectsResponseValueToJSON( ), ); } - export function updateProjectHasProjectsResponseValueFromJSON( jsonString: string, ): SafeParseResult { @@ -12444,7 +10348,6 @@ export const UpdateProjectHasProjects1$inboundSchema: z.ZodType< key: UpdateProjectHasProjectsKey$inboundSchema, value: z.lazy(() => UpdateProjectHasProjectsResponseValue$inboundSchema), }); - /** @internal */ export type UpdateProjectHasProjects1$Outbound = { type: string; @@ -12463,19 +10366,6 @@ export const UpdateProjectHasProjects1$outboundSchema: z.ZodType< value: z.lazy(() => UpdateProjectHasProjectsResponseValue$outboundSchema), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectHasProjects1$ { - /** @deprecated use `UpdateProjectHasProjects1$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectHasProjects1$inboundSchema; - /** @deprecated use `UpdateProjectHasProjects1$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectHasProjects1$outboundSchema; - /** @deprecated use `UpdateProjectHasProjects1$Outbound` instead. */ - export type Outbound = UpdateProjectHasProjects1$Outbound; -} - export function updateProjectHasProjects1ToJSON( updateProjectHasProjects1: UpdateProjectHasProjects1, ): string { @@ -12483,7 +10373,6 @@ export function updateProjectHasProjects1ToJSON( UpdateProjectHasProjects1$outboundSchema.parse(updateProjectHasProjects1), ); } - export function updateProjectHasProjects1FromJSON( jsonString: string, ): SafeParseResult { @@ -12503,7 +10392,6 @@ export const UpdateProjectRouteProjectsHas$inboundSchema: z.ZodType< z.lazy(() => UpdateProjectHasProjects1$inboundSchema), z.lazy(() => UpdateProjectHasProjects2$inboundSchema), ]); - /** @internal */ export type UpdateProjectRouteProjectsHas$Outbound = | UpdateProjectHasProjects1$Outbound @@ -12519,19 +10407,6 @@ export const UpdateProjectRouteProjectsHas$outboundSchema: z.ZodType< z.lazy(() => UpdateProjectHasProjects2$outboundSchema), ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectRouteProjectsHas$ { - /** @deprecated use `UpdateProjectRouteProjectsHas$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectRouteProjectsHas$inboundSchema; - /** @deprecated use `UpdateProjectRouteProjectsHas$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectRouteProjectsHas$outboundSchema; - /** @deprecated use `UpdateProjectRouteProjectsHas$Outbound` instead. */ - export type Outbound = UpdateProjectRouteProjectsHas$Outbound; -} - export function updateProjectRouteProjectsHasToJSON( updateProjectRouteProjectsHas: UpdateProjectRouteProjectsHas, ): string { @@ -12541,7 +10416,6 @@ export function updateProjectRouteProjectsHasToJSON( ), ); } - export function updateProjectRouteProjectsHasFromJSON( jsonString: string, ): SafeParseResult { @@ -12556,23 +10430,11 @@ export function updateProjectRouteProjectsHasFromJSON( export const UpdateProjectRouteProjectsAction$inboundSchema: z.ZodNativeEnum< typeof UpdateProjectRouteProjectsAction > = z.nativeEnum(UpdateProjectRouteProjectsAction); - /** @internal */ export const UpdateProjectRouteProjectsAction$outboundSchema: z.ZodNativeEnum< typeof UpdateProjectRouteProjectsAction > = UpdateProjectRouteProjectsAction$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectRouteProjectsAction$ { - /** @deprecated use `UpdateProjectRouteProjectsAction$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectRouteProjectsAction$inboundSchema; - /** @deprecated use `UpdateProjectRouteProjectsAction$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectRouteProjectsAction$outboundSchema; -} - /** @internal */ export const UpdateProjectRouteProjectsMitigate$inboundSchema: z.ZodType< UpdateProjectRouteProjectsMitigate, @@ -12581,7 +10443,6 @@ export const UpdateProjectRouteProjectsMitigate$inboundSchema: z.ZodType< > = z.object({ action: UpdateProjectRouteProjectsAction$inboundSchema, }); - /** @internal */ export type UpdateProjectRouteProjectsMitigate$Outbound = { action: string; @@ -12596,20 +10457,6 @@ export const UpdateProjectRouteProjectsMitigate$outboundSchema: z.ZodType< action: UpdateProjectRouteProjectsAction$outboundSchema, }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectRouteProjectsMitigate$ { - /** @deprecated use `UpdateProjectRouteProjectsMitigate$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectRouteProjectsMitigate$inboundSchema; - /** @deprecated use `UpdateProjectRouteProjectsMitigate$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectRouteProjectsMitigate$outboundSchema; - /** @deprecated use `UpdateProjectRouteProjectsMitigate$Outbound` instead. */ - export type Outbound = UpdateProjectRouteProjectsMitigate$Outbound; -} - export function updateProjectRouteProjectsMitigateToJSON( updateProjectRouteProjectsMitigate: UpdateProjectRouteProjectsMitigate, ): string { @@ -12619,7 +10466,6 @@ export function updateProjectRouteProjectsMitigateToJSON( ), ); } - export function updateProjectRouteProjectsMitigateFromJSON( jsonString: string, ): SafeParseResult { @@ -12646,7 +10492,6 @@ export const UpdateProjectRouteProjects2$inboundSchema: z.ZodType< mitigate: z.lazy(() => UpdateProjectRouteProjectsMitigate$inboundSchema), src: z.string().optional(), }); - /** @internal */ export type UpdateProjectRouteProjects2$Outbound = { has: Array< @@ -12672,19 +10517,6 @@ export const UpdateProjectRouteProjects2$outboundSchema: z.ZodType< src: z.string().optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectRouteProjects2$ { - /** @deprecated use `UpdateProjectRouteProjects2$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectRouteProjects2$inboundSchema; - /** @deprecated use `UpdateProjectRouteProjects2$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectRouteProjects2$outboundSchema; - /** @deprecated use `UpdateProjectRouteProjects2$Outbound` instead. */ - export type Outbound = UpdateProjectRouteProjects2$Outbound; -} - export function updateProjectRouteProjects2ToJSON( updateProjectRouteProjects2: UpdateProjectRouteProjects2, ): string { @@ -12694,7 +10526,6 @@ export function updateProjectRouteProjects2ToJSON( ), ); } - export function updateProjectRouteProjects2FromJSON( jsonString: string, ): SafeParseResult { @@ -12714,7 +10545,6 @@ export const UpdateProjectRouteProjects1$inboundSchema: z.ZodType< src: z.string(), status: z.number(), }); - /** @internal */ export type UpdateProjectRouteProjects1$Outbound = { src: string; @@ -12731,19 +10561,6 @@ export const UpdateProjectRouteProjects1$outboundSchema: z.ZodType< status: 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 UpdateProjectRouteProjects1$ { - /** @deprecated use `UpdateProjectRouteProjects1$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectRouteProjects1$inboundSchema; - /** @deprecated use `UpdateProjectRouteProjects1$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectRouteProjects1$outboundSchema; - /** @deprecated use `UpdateProjectRouteProjects1$Outbound` instead. */ - export type Outbound = UpdateProjectRouteProjects1$Outbound; -} - export function updateProjectRouteProjects1ToJSON( updateProjectRouteProjects1: UpdateProjectRouteProjects1, ): string { @@ -12753,7 +10570,6 @@ export function updateProjectRouteProjects1ToJSON( ), ); } - export function updateProjectRouteProjects1FromJSON( jsonString: string, ): SafeParseResult { @@ -12773,7 +10589,6 @@ export const UpdateProjectBlockHistoryProjectsRoute$inboundSchema: z.ZodType< z.lazy(() => UpdateProjectRouteProjects1$inboundSchema), z.lazy(() => UpdateProjectRouteProjects2$inboundSchema), ]); - /** @internal */ export type UpdateProjectBlockHistoryProjectsRoute$Outbound = | UpdateProjectRouteProjects1$Outbound @@ -12789,21 +10604,6 @@ export const UpdateProjectBlockHistoryProjectsRoute$outboundSchema: z.ZodType< z.lazy(() => UpdateProjectRouteProjects2$outboundSchema), ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectBlockHistoryProjectsRoute$ { - /** @deprecated use `UpdateProjectBlockHistoryProjectsRoute$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectBlockHistoryProjectsRoute$inboundSchema; - /** @deprecated use `UpdateProjectBlockHistoryProjectsRoute$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectBlockHistoryProjectsRoute$outboundSchema; - /** @deprecated use `UpdateProjectBlockHistoryProjectsRoute$Outbound` instead. */ - export type Outbound = UpdateProjectBlockHistoryProjectsRoute$Outbound; -} - export function updateProjectBlockHistoryProjectsRouteToJSON( updateProjectBlockHistoryProjectsRoute: UpdateProjectBlockHistoryProjectsRoute, @@ -12814,7 +10614,6 @@ export function updateProjectBlockHistoryProjectsRouteToJSON( ), ); } - export function updateProjectBlockHistoryProjectsRouteFromJSON( jsonString: string, ): SafeParseResult { @@ -12844,7 +10643,6 @@ export const UpdateProjectBlockHistory4$inboundSchema: z.ZodType< comment: z.string().optional(), isCascading: z.boolean().optional(), }); - /** @internal */ export type UpdateProjectBlockHistory4$Outbound = { action: string; @@ -12878,19 +10676,6 @@ export const UpdateProjectBlockHistory4$outboundSchema: z.ZodType< isCascading: 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 UpdateProjectBlockHistory4$ { - /** @deprecated use `UpdateProjectBlockHistory4$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectBlockHistory4$inboundSchema; - /** @deprecated use `UpdateProjectBlockHistory4$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectBlockHistory4$outboundSchema; - /** @deprecated use `UpdateProjectBlockHistory4$Outbound` instead. */ - export type Outbound = UpdateProjectBlockHistory4$Outbound; -} - export function updateProjectBlockHistory4ToJSON( updateProjectBlockHistory4: UpdateProjectBlockHistory4, ): string { @@ -12898,7 +10683,6 @@ export function updateProjectBlockHistory4ToJSON( UpdateProjectBlockHistory4$outboundSchema.parse(updateProjectBlockHistory4), ); } - export function updateProjectBlockHistory4FromJSON( jsonString: string, ): SafeParseResult { @@ -12913,25 +10697,11 @@ export function updateProjectBlockHistory4FromJSON( export const UpdateProjectBlockHistoryProjectsResponseAction$inboundSchema: z.ZodNativeEnum = z .nativeEnum(UpdateProjectBlockHistoryProjectsResponseAction); - /** @internal */ export const UpdateProjectBlockHistoryProjectsResponseAction$outboundSchema: z.ZodNativeEnum = UpdateProjectBlockHistoryProjectsResponseAction$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectBlockHistoryProjectsResponseAction$ { - /** @deprecated use `UpdateProjectBlockHistoryProjectsResponseAction$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectBlockHistoryProjectsResponseAction$inboundSchema; - /** @deprecated use `UpdateProjectBlockHistoryProjectsResponseAction$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectBlockHistoryProjectsResponseAction$outboundSchema; -} - /** @internal */ export const UpdateProjectHasProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema: z.ZodNativeEnum< @@ -12939,7 +10709,6 @@ export const UpdateProjectHasProjectsResponse200ApplicationJSONResponseBodyType$ > = z.nativeEnum( UpdateProjectHasProjectsResponse200ApplicationJSONResponseBodyType, ); - /** @internal */ export const UpdateProjectHasProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema: z.ZodNativeEnum< @@ -12947,19 +10716,6 @@ export const UpdateProjectHasProjectsResponse200ApplicationJSONResponseBodyType$ > = UpdateProjectHasProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectHasProjectsResponse200ApplicationJSONResponseBodyType$ { - /** @deprecated use `UpdateProjectHasProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectHasProjectsResponse200ApplicationJSONResponseBodyType$inboundSchema; - /** @deprecated use `UpdateProjectHasProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectHasProjectsResponse200ApplicationJSONResponseBodyType$outboundSchema; -} - /** @internal */ export const UpdateProjectHasProjectsResponse200ApplicationJSONResponseBodyValue$inboundSchema: z.ZodType< @@ -12969,7 +10725,6 @@ export const UpdateProjectHasProjectsResponse200ApplicationJSONResponseBodyValue > = z.object({ eq: z.string(), }); - /** @internal */ export type UpdateProjectHasProjectsResponse200ApplicationJSONResponseBodyValue$Outbound = { @@ -12986,22 +10741,6 @@ export const UpdateProjectHasProjectsResponse200ApplicationJSONResponseBodyValue eq: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectHasProjectsResponse200ApplicationJSONResponseBodyValue$ { - /** @deprecated use `UpdateProjectHasProjectsResponse200ApplicationJSONResponseBodyValue$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectHasProjectsResponse200ApplicationJSONResponseBodyValue$inboundSchema; - /** @deprecated use `UpdateProjectHasProjectsResponse200ApplicationJSONResponseBodyValue$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectHasProjectsResponse200ApplicationJSONResponseBodyValue$outboundSchema; - /** @deprecated use `UpdateProjectHasProjectsResponse200ApplicationJSONResponseBodyValue$Outbound` instead. */ - export type Outbound = - UpdateProjectHasProjectsResponse200ApplicationJSONResponseBodyValue$Outbound; -} - export function updateProjectHasProjectsResponse200ApplicationJSONResponseBodyValueToJSON( updateProjectHasProjectsResponse200ApplicationJSONResponseBodyValue: UpdateProjectHasProjectsResponse200ApplicationJSONResponseBodyValue, @@ -13013,7 +10752,6 @@ export function updateProjectHasProjectsResponse200ApplicationJSONResponseBodyVa ), ); } - export function updateProjectHasProjectsResponse200ApplicationJSONResponseBodyValueFromJSON( jsonString: string, ): SafeParseResult< @@ -13041,7 +10779,6 @@ export const UpdateProjectHasProjectsResponse2$inboundSchema: z.ZodType< UpdateProjectHasProjectsResponse200ApplicationJSONResponseBodyValue$inboundSchema ), }); - /** @internal */ export type UpdateProjectHasProjectsResponse2$Outbound = { type: string; @@ -13062,20 +10799,6 @@ export const UpdateProjectHasProjectsResponse2$outboundSchema: z.ZodType< ), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectHasProjectsResponse2$ { - /** @deprecated use `UpdateProjectHasProjectsResponse2$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectHasProjectsResponse2$inboundSchema; - /** @deprecated use `UpdateProjectHasProjectsResponse2$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectHasProjectsResponse2$outboundSchema; - /** @deprecated use `UpdateProjectHasProjectsResponse2$Outbound` instead. */ - export type Outbound = UpdateProjectHasProjectsResponse2$Outbound; -} - export function updateProjectHasProjectsResponse2ToJSON( updateProjectHasProjectsResponse2: UpdateProjectHasProjectsResponse2, ): string { @@ -13085,7 +10808,6 @@ export function updateProjectHasProjectsResponse2ToJSON( ), ); } - export function updateProjectHasProjectsResponse2FromJSON( jsonString: string, ): SafeParseResult { @@ -13101,49 +10823,21 @@ export const UpdateProjectHasProjectsResponse200ApplicationJSONType$inboundSchem z.ZodNativeEnum< typeof UpdateProjectHasProjectsResponse200ApplicationJSONType > = z.nativeEnum(UpdateProjectHasProjectsResponse200ApplicationJSONType); - /** @internal */ export const UpdateProjectHasProjectsResponse200ApplicationJSONType$outboundSchema: z.ZodNativeEnum< typeof UpdateProjectHasProjectsResponse200ApplicationJSONType > = UpdateProjectHasProjectsResponse200ApplicationJSONType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectHasProjectsResponse200ApplicationJSONType$ { - /** @deprecated use `UpdateProjectHasProjectsResponse200ApplicationJSONType$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectHasProjectsResponse200ApplicationJSONType$inboundSchema; - /** @deprecated use `UpdateProjectHasProjectsResponse200ApplicationJSONType$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectHasProjectsResponse200ApplicationJSONType$outboundSchema; -} - /** @internal */ export const UpdateProjectHasProjectsResponseKey$inboundSchema: z.ZodNativeEnum< typeof UpdateProjectHasProjectsResponseKey > = z.nativeEnum(UpdateProjectHasProjectsResponseKey); - /** @internal */ export const UpdateProjectHasProjectsResponseKey$outboundSchema: z.ZodNativeEnum = UpdateProjectHasProjectsResponseKey$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectHasProjectsResponseKey$ { - /** @deprecated use `UpdateProjectHasProjectsResponseKey$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectHasProjectsResponseKey$inboundSchema; - /** @deprecated use `UpdateProjectHasProjectsResponseKey$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectHasProjectsResponseKey$outboundSchema; -} - /** @internal */ export const UpdateProjectHasProjectsResponse200ApplicationJSONValue$inboundSchema: z.ZodType< @@ -13153,7 +10847,6 @@ export const UpdateProjectHasProjectsResponse200ApplicationJSONValue$inboundSche > = z.object({ eq: z.string(), }); - /** @internal */ export type UpdateProjectHasProjectsResponse200ApplicationJSONValue$Outbound = { eq: string; @@ -13169,22 +10862,6 @@ export const UpdateProjectHasProjectsResponse200ApplicationJSONValue$outboundSch eq: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectHasProjectsResponse200ApplicationJSONValue$ { - /** @deprecated use `UpdateProjectHasProjectsResponse200ApplicationJSONValue$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectHasProjectsResponse200ApplicationJSONValue$inboundSchema; - /** @deprecated use `UpdateProjectHasProjectsResponse200ApplicationJSONValue$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectHasProjectsResponse200ApplicationJSONValue$outboundSchema; - /** @deprecated use `UpdateProjectHasProjectsResponse200ApplicationJSONValue$Outbound` instead. */ - export type Outbound = - UpdateProjectHasProjectsResponse200ApplicationJSONValue$Outbound; -} - export function updateProjectHasProjectsResponse200ApplicationJSONValueToJSON( updateProjectHasProjectsResponse200ApplicationJSONValue: UpdateProjectHasProjectsResponse200ApplicationJSONValue, @@ -13194,7 +10871,6 @@ export function updateProjectHasProjectsResponse200ApplicationJSONValueToJSON( .parse(updateProjectHasProjectsResponse200ApplicationJSONValue), ); } - export function updateProjectHasProjectsResponse200ApplicationJSONValueFromJSON( jsonString: string, ): SafeParseResult< @@ -13222,7 +10898,6 @@ export const UpdateProjectHasProjectsResponse1$inboundSchema: z.ZodType< UpdateProjectHasProjectsResponse200ApplicationJSONValue$inboundSchema ), }); - /** @internal */ export type UpdateProjectHasProjectsResponse1$Outbound = { type: string; @@ -13243,20 +10918,6 @@ export const UpdateProjectHasProjectsResponse1$outboundSchema: z.ZodType< ), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectHasProjectsResponse1$ { - /** @deprecated use `UpdateProjectHasProjectsResponse1$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectHasProjectsResponse1$inboundSchema; - /** @deprecated use `UpdateProjectHasProjectsResponse1$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectHasProjectsResponse1$outboundSchema; - /** @deprecated use `UpdateProjectHasProjectsResponse1$Outbound` instead. */ - export type Outbound = UpdateProjectHasProjectsResponse1$Outbound; -} - export function updateProjectHasProjectsResponse1ToJSON( updateProjectHasProjectsResponse1: UpdateProjectHasProjectsResponse1, ): string { @@ -13266,7 +10927,6 @@ export function updateProjectHasProjectsResponse1ToJSON( ), ); } - export function updateProjectHasProjectsResponse1FromJSON( jsonString: string, ): SafeParseResult { @@ -13286,7 +10946,6 @@ export const UpdateProjectRouteHas$inboundSchema: z.ZodType< z.lazy(() => UpdateProjectHasProjectsResponse1$inboundSchema), z.lazy(() => UpdateProjectHasProjectsResponse2$inboundSchema), ]); - /** @internal */ export type UpdateProjectRouteHas$Outbound = | UpdateProjectHasProjectsResponse1$Outbound @@ -13302,19 +10961,6 @@ export const UpdateProjectRouteHas$outboundSchema: z.ZodType< z.lazy(() => UpdateProjectHasProjectsResponse2$outboundSchema), ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectRouteHas$ { - /** @deprecated use `UpdateProjectRouteHas$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectRouteHas$inboundSchema; - /** @deprecated use `UpdateProjectRouteHas$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectRouteHas$outboundSchema; - /** @deprecated use `UpdateProjectRouteHas$Outbound` instead. */ - export type Outbound = UpdateProjectRouteHas$Outbound; -} - export function updateProjectRouteHasToJSON( updateProjectRouteHas: UpdateProjectRouteHas, ): string { @@ -13322,7 +10968,6 @@ export function updateProjectRouteHasToJSON( UpdateProjectRouteHas$outboundSchema.parse(updateProjectRouteHas), ); } - export function updateProjectRouteHasFromJSON( jsonString: string, ): SafeParseResult { @@ -13337,23 +10982,11 @@ export function updateProjectRouteHasFromJSON( export const UpdateProjectRouteAction$inboundSchema: z.ZodNativeEnum< typeof UpdateProjectRouteAction > = z.nativeEnum(UpdateProjectRouteAction); - /** @internal */ export const UpdateProjectRouteAction$outboundSchema: z.ZodNativeEnum< typeof UpdateProjectRouteAction > = UpdateProjectRouteAction$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectRouteAction$ { - /** @deprecated use `UpdateProjectRouteAction$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectRouteAction$inboundSchema; - /** @deprecated use `UpdateProjectRouteAction$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectRouteAction$outboundSchema; -} - /** @internal */ export const UpdateProjectRouteMitigate$inboundSchema: z.ZodType< UpdateProjectRouteMitigate, @@ -13362,7 +10995,6 @@ export const UpdateProjectRouteMitigate$inboundSchema: z.ZodType< > = z.object({ action: UpdateProjectRouteAction$inboundSchema, }); - /** @internal */ export type UpdateProjectRouteMitigate$Outbound = { action: string; @@ -13377,19 +11009,6 @@ export const UpdateProjectRouteMitigate$outboundSchema: z.ZodType< action: UpdateProjectRouteAction$outboundSchema, }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectRouteMitigate$ { - /** @deprecated use `UpdateProjectRouteMitigate$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectRouteMitigate$inboundSchema; - /** @deprecated use `UpdateProjectRouteMitigate$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectRouteMitigate$outboundSchema; - /** @deprecated use `UpdateProjectRouteMitigate$Outbound` instead. */ - export type Outbound = UpdateProjectRouteMitigate$Outbound; -} - export function updateProjectRouteMitigateToJSON( updateProjectRouteMitigate: UpdateProjectRouteMitigate, ): string { @@ -13397,7 +11016,6 @@ export function updateProjectRouteMitigateToJSON( UpdateProjectRouteMitigate$outboundSchema.parse(updateProjectRouteMitigate), ); } - export function updateProjectRouteMitigateFromJSON( jsonString: string, ): SafeParseResult { @@ -13423,7 +11041,6 @@ export const UpdateProjectRoute2$inboundSchema: z.ZodType< mitigate: z.lazy(() => UpdateProjectRouteMitigate$inboundSchema), src: z.string().optional(), }); - /** @internal */ export type UpdateProjectRoute2$Outbound = { has: Array< @@ -13450,19 +11067,6 @@ export const UpdateProjectRoute2$outboundSchema: z.ZodType< src: z.string().optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectRoute2$ { - /** @deprecated use `UpdateProjectRoute2$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectRoute2$inboundSchema; - /** @deprecated use `UpdateProjectRoute2$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectRoute2$outboundSchema; - /** @deprecated use `UpdateProjectRoute2$Outbound` instead. */ - export type Outbound = UpdateProjectRoute2$Outbound; -} - export function updateProjectRoute2ToJSON( updateProjectRoute2: UpdateProjectRoute2, ): string { @@ -13470,7 +11074,6 @@ export function updateProjectRoute2ToJSON( UpdateProjectRoute2$outboundSchema.parse(updateProjectRoute2), ); } - export function updateProjectRoute2FromJSON( jsonString: string, ): SafeParseResult { @@ -13490,7 +11093,6 @@ export const UpdateProjectRoute1$inboundSchema: z.ZodType< src: z.string(), status: z.number(), }); - /** @internal */ export type UpdateProjectRoute1$Outbound = { src: string; @@ -13507,19 +11109,6 @@ export const UpdateProjectRoute1$outboundSchema: z.ZodType< status: 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 UpdateProjectRoute1$ { - /** @deprecated use `UpdateProjectRoute1$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectRoute1$inboundSchema; - /** @deprecated use `UpdateProjectRoute1$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectRoute1$outboundSchema; - /** @deprecated use `UpdateProjectRoute1$Outbound` instead. */ - export type Outbound = UpdateProjectRoute1$Outbound; -} - export function updateProjectRoute1ToJSON( updateProjectRoute1: UpdateProjectRoute1, ): string { @@ -13527,7 +11116,6 @@ export function updateProjectRoute1ToJSON( UpdateProjectRoute1$outboundSchema.parse(updateProjectRoute1), ); } - export function updateProjectRoute1FromJSON( jsonString: string, ): SafeParseResult { @@ -13547,7 +11135,6 @@ export const UpdateProjectBlockHistoryRoute$inboundSchema: z.ZodType< z.lazy(() => UpdateProjectRoute1$inboundSchema), z.lazy(() => UpdateProjectRoute2$inboundSchema), ]); - /** @internal */ export type UpdateProjectBlockHistoryRoute$Outbound = | UpdateProjectRoute1$Outbound @@ -13560,21 +11147,8 @@ export const UpdateProjectBlockHistoryRoute$outboundSchema: z.ZodType< UpdateProjectBlockHistoryRoute > = z.union([ z.lazy(() => UpdateProjectRoute1$outboundSchema), - z.lazy(() => UpdateProjectRoute2$outboundSchema), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectBlockHistoryRoute$ { - /** @deprecated use `UpdateProjectBlockHistoryRoute$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectBlockHistoryRoute$inboundSchema; - /** @deprecated use `UpdateProjectBlockHistoryRoute$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectBlockHistoryRoute$outboundSchema; - /** @deprecated use `UpdateProjectBlockHistoryRoute$Outbound` instead. */ - export type Outbound = UpdateProjectBlockHistoryRoute$Outbound; -} + z.lazy(() => UpdateProjectRoute2$outboundSchema), +]); export function updateProjectBlockHistoryRouteToJSON( updateProjectBlockHistoryRoute: UpdateProjectBlockHistoryRoute, @@ -13585,7 +11159,6 @@ export function updateProjectBlockHistoryRouteToJSON( ), ); } - export function updateProjectBlockHistoryRouteFromJSON( jsonString: string, ): SafeParseResult { @@ -13614,7 +11187,6 @@ export const UpdateProjectBlockHistory3$inboundSchema: z.ZodType< comment: z.string().optional(), isCascading: z.boolean().optional(), }); - /** @internal */ export type UpdateProjectBlockHistory3$Outbound = { action: string; @@ -13646,19 +11218,6 @@ export const UpdateProjectBlockHistory3$outboundSchema: z.ZodType< isCascading: 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 UpdateProjectBlockHistory3$ { - /** @deprecated use `UpdateProjectBlockHistory3$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectBlockHistory3$inboundSchema; - /** @deprecated use `UpdateProjectBlockHistory3$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectBlockHistory3$outboundSchema; - /** @deprecated use `UpdateProjectBlockHistory3$Outbound` instead. */ - export type Outbound = UpdateProjectBlockHistory3$Outbound; -} - export function updateProjectBlockHistory3ToJSON( updateProjectBlockHistory3: UpdateProjectBlockHistory3, ): string { @@ -13666,7 +11225,6 @@ export function updateProjectBlockHistory3ToJSON( UpdateProjectBlockHistory3$outboundSchema.parse(updateProjectBlockHistory3), ); } - export function updateProjectBlockHistory3FromJSON( jsonString: string, ): SafeParseResult { @@ -13681,25 +11239,11 @@ export function updateProjectBlockHistory3FromJSON( export const UpdateProjectBlockHistoryProjectsAction$inboundSchema: z.ZodNativeEnum = z .nativeEnum(UpdateProjectBlockHistoryProjectsAction); - /** @internal */ export const UpdateProjectBlockHistoryProjectsAction$outboundSchema: z.ZodNativeEnum = UpdateProjectBlockHistoryProjectsAction$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectBlockHistoryProjectsAction$ { - /** @deprecated use `UpdateProjectBlockHistoryProjectsAction$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectBlockHistoryProjectsAction$inboundSchema; - /** @deprecated use `UpdateProjectBlockHistoryProjectsAction$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectBlockHistoryProjectsAction$outboundSchema; -} - /** @internal */ export const UpdateProjectBlockHistory2$inboundSchema: z.ZodType< UpdateProjectBlockHistory2, @@ -13713,7 +11257,6 @@ export const UpdateProjectBlockHistory2$inboundSchema: z.ZodType< comment: z.string().optional(), isCascading: z.boolean().optional(), }); - /** @internal */ export type UpdateProjectBlockHistory2$Outbound = { action: string; @@ -13738,19 +11281,6 @@ export const UpdateProjectBlockHistory2$outboundSchema: z.ZodType< isCascading: 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 UpdateProjectBlockHistory2$ { - /** @deprecated use `UpdateProjectBlockHistory2$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectBlockHistory2$inboundSchema; - /** @deprecated use `UpdateProjectBlockHistory2$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectBlockHistory2$outboundSchema; - /** @deprecated use `UpdateProjectBlockHistory2$Outbound` instead. */ - export type Outbound = UpdateProjectBlockHistory2$Outbound; -} - export function updateProjectBlockHistory2ToJSON( updateProjectBlockHistory2: UpdateProjectBlockHistory2, ): string { @@ -13758,7 +11288,6 @@ export function updateProjectBlockHistory2ToJSON( UpdateProjectBlockHistory2$outboundSchema.parse(updateProjectBlockHistory2), ); } - export function updateProjectBlockHistory2FromJSON( jsonString: string, ): SafeParseResult { @@ -13773,23 +11302,11 @@ export function updateProjectBlockHistory2FromJSON( export const UpdateProjectBlockHistoryAction$inboundSchema: z.ZodNativeEnum< typeof UpdateProjectBlockHistoryAction > = z.nativeEnum(UpdateProjectBlockHistoryAction); - /** @internal */ export const UpdateProjectBlockHistoryAction$outboundSchema: z.ZodNativeEnum< typeof UpdateProjectBlockHistoryAction > = UpdateProjectBlockHistoryAction$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectBlockHistoryAction$ { - /** @deprecated use `UpdateProjectBlockHistoryAction$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectBlockHistoryAction$inboundSchema; - /** @deprecated use `UpdateProjectBlockHistoryAction$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectBlockHistoryAction$outboundSchema; -} - /** @internal */ export const UpdateProjectBlockHistory1$inboundSchema: z.ZodType< UpdateProjectBlockHistory1, @@ -13805,7 +11322,6 @@ export const UpdateProjectBlockHistory1$inboundSchema: z.ZodType< comment: z.string().optional(), isCascading: z.boolean().optional(), }); - /** @internal */ export type UpdateProjectBlockHistory1$Outbound = { action: string; @@ -13834,19 +11350,6 @@ export const UpdateProjectBlockHistory1$outboundSchema: z.ZodType< isCascading: 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 UpdateProjectBlockHistory1$ { - /** @deprecated use `UpdateProjectBlockHistory1$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectBlockHistory1$inboundSchema; - /** @deprecated use `UpdateProjectBlockHistory1$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectBlockHistory1$outboundSchema; - /** @deprecated use `UpdateProjectBlockHistory1$Outbound` instead. */ - export type Outbound = UpdateProjectBlockHistory1$Outbound; -} - export function updateProjectBlockHistory1ToJSON( updateProjectBlockHistory1: UpdateProjectBlockHistory1, ): string { @@ -13854,7 +11357,6 @@ export function updateProjectBlockHistory1ToJSON( UpdateProjectBlockHistory1$outboundSchema.parse(updateProjectBlockHistory1), ); } - export function updateProjectBlockHistory1FromJSON( jsonString: string, ): SafeParseResult { @@ -13876,7 +11378,6 @@ export const UpdateProjectBlockHistory$inboundSchema: z.ZodType< z.lazy(() => UpdateProjectBlockHistory4$inboundSchema), z.lazy(() => UpdateProjectBlockHistory2$inboundSchema), ]); - /** @internal */ export type UpdateProjectBlockHistory$Outbound = | UpdateProjectBlockHistory1$Outbound @@ -13896,19 +11397,6 @@ export const UpdateProjectBlockHistory$outboundSchema: z.ZodType< z.lazy(() => UpdateProjectBlockHistory2$outboundSchema), ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectBlockHistory$ { - /** @deprecated use `UpdateProjectBlockHistory$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectBlockHistory$inboundSchema; - /** @deprecated use `UpdateProjectBlockHistory$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectBlockHistory$outboundSchema; - /** @deprecated use `UpdateProjectBlockHistory$Outbound` instead. */ - export type Outbound = UpdateProjectBlockHistory$Outbound; -} - export function updateProjectBlockHistoryToJSON( updateProjectBlockHistory: UpdateProjectBlockHistory, ): string { @@ -13916,7 +11404,6 @@ export function updateProjectBlockHistoryToJSON( UpdateProjectBlockHistory$outboundSchema.parse(updateProjectBlockHistory), ); } - export function updateProjectBlockHistoryFromJSON( jsonString: string, ): SafeParseResult { @@ -13945,8 +11432,8 @@ export const UpdateProjectAbuse$inboundSchema: z.ZodType< z.lazy(() => UpdateProjectBlockHistory2$inboundSchema), ]), ).optional(), + interstitial: z.boolean().optional(), }); - /** @internal */ export type UpdateProjectAbuse$Outbound = { scanner?: string | undefined; @@ -13961,6 +11448,7 @@ export type UpdateProjectAbuse$Outbound = { | UpdateProjectBlockHistory2$Outbound > | undefined; + interstitial?: boolean | undefined; }; /** @internal */ @@ -13981,21 +11469,9 @@ export const UpdateProjectAbuse$outboundSchema: z.ZodType< z.lazy(() => UpdateProjectBlockHistory2$outboundSchema), ]), ).optional(), + interstitial: 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 UpdateProjectAbuse$ { - /** @deprecated use `UpdateProjectAbuse$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectAbuse$inboundSchema; - /** @deprecated use `UpdateProjectAbuse$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectAbuse$outboundSchema; - /** @deprecated use `UpdateProjectAbuse$Outbound` instead. */ - export type Outbound = UpdateProjectAbuse$Outbound; -} - export function updateProjectAbuseToJSON( updateProjectAbuse: UpdateProjectAbuse, ): string { @@ -14003,7 +11479,6 @@ export function updateProjectAbuseToJSON( UpdateProjectAbuse$outboundSchema.parse(updateProjectAbuse), ); } - export function updateProjectAbuseFromJSON( jsonString: string, ): SafeParseResult { @@ -14018,23 +11493,11 @@ export function updateProjectAbuseFromJSON( export const UpdateProjectHasProjectsType$inboundSchema: z.ZodNativeEnum< typeof UpdateProjectHasProjectsType > = z.nativeEnum(UpdateProjectHasProjectsType); - /** @internal */ export const UpdateProjectHasProjectsType$outboundSchema: z.ZodNativeEnum< typeof UpdateProjectHasProjectsType > = UpdateProjectHasProjectsType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectHasProjectsType$ { - /** @deprecated use `UpdateProjectHasProjectsType$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectHasProjectsType$inboundSchema; - /** @deprecated use `UpdateProjectHasProjectsType$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectHasProjectsType$outboundSchema; -} - /** @internal */ export const UpdateProjectHasProjectsValue$inboundSchema: z.ZodType< UpdateProjectHasProjectsValue, @@ -14043,7 +11506,6 @@ export const UpdateProjectHasProjectsValue$inboundSchema: z.ZodType< > = z.object({ eq: z.string(), }); - /** @internal */ export type UpdateProjectHasProjectsValue$Outbound = { eq: string; @@ -14058,19 +11520,6 @@ export const UpdateProjectHasProjectsValue$outboundSchema: z.ZodType< eq: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectHasProjectsValue$ { - /** @deprecated use `UpdateProjectHasProjectsValue$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectHasProjectsValue$inboundSchema; - /** @deprecated use `UpdateProjectHasProjectsValue$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectHasProjectsValue$outboundSchema; - /** @deprecated use `UpdateProjectHasProjectsValue$Outbound` instead. */ - export type Outbound = UpdateProjectHasProjectsValue$Outbound; -} - export function updateProjectHasProjectsValueToJSON( updateProjectHasProjectsValue: UpdateProjectHasProjectsValue, ): string { @@ -14080,7 +11529,6 @@ export function updateProjectHasProjectsValueToJSON( ), ); } - export function updateProjectHasProjectsValueFromJSON( jsonString: string, ): SafeParseResult { @@ -14100,7 +11548,6 @@ export const UpdateProjectHas2$inboundSchema: z.ZodType< type: UpdateProjectHasProjectsType$inboundSchema, value: z.lazy(() => UpdateProjectHasProjectsValue$inboundSchema), }); - /** @internal */ export type UpdateProjectHas2$Outbound = { type: string; @@ -14117,19 +11564,6 @@ export const UpdateProjectHas2$outboundSchema: z.ZodType< value: z.lazy(() => UpdateProjectHasProjectsValue$outboundSchema), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectHas2$ { - /** @deprecated use `UpdateProjectHas2$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectHas2$inboundSchema; - /** @deprecated use `UpdateProjectHas2$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectHas2$outboundSchema; - /** @deprecated use `UpdateProjectHas2$Outbound` instead. */ - export type Outbound = UpdateProjectHas2$Outbound; -} - export function updateProjectHas2ToJSON( updateProjectHas2: UpdateProjectHas2, ): string { @@ -14137,7 +11571,6 @@ export function updateProjectHas2ToJSON( UpdateProjectHas2$outboundSchema.parse(updateProjectHas2), ); } - export function updateProjectHas2FromJSON( jsonString: string, ): SafeParseResult { @@ -14152,44 +11585,20 @@ export function updateProjectHas2FromJSON( export const UpdateProjectHasType$inboundSchema: z.ZodNativeEnum< typeof UpdateProjectHasType > = z.nativeEnum(UpdateProjectHasType); - /** @internal */ export const UpdateProjectHasType$outboundSchema: z.ZodNativeEnum< typeof UpdateProjectHasType > = UpdateProjectHasType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectHasType$ { - /** @deprecated use `UpdateProjectHasType$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectHasType$inboundSchema; - /** @deprecated use `UpdateProjectHasType$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectHasType$outboundSchema; -} - /** @internal */ export const UpdateProjectHasKey$inboundSchema: z.ZodNativeEnum< typeof UpdateProjectHasKey > = z.nativeEnum(UpdateProjectHasKey); - /** @internal */ export const UpdateProjectHasKey$outboundSchema: z.ZodNativeEnum< typeof UpdateProjectHasKey > = UpdateProjectHasKey$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectHasKey$ { - /** @deprecated use `UpdateProjectHasKey$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectHasKey$inboundSchema; - /** @deprecated use `UpdateProjectHasKey$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectHasKey$outboundSchema; -} - /** @internal */ export const UpdateProjectHasValue$inboundSchema: z.ZodType< UpdateProjectHasValue, @@ -14198,7 +11607,6 @@ export const UpdateProjectHasValue$inboundSchema: z.ZodType< > = z.object({ eq: z.string(), }); - /** @internal */ export type UpdateProjectHasValue$Outbound = { eq: string; @@ -14213,19 +11621,6 @@ export const UpdateProjectHasValue$outboundSchema: z.ZodType< eq: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectHasValue$ { - /** @deprecated use `UpdateProjectHasValue$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectHasValue$inboundSchema; - /** @deprecated use `UpdateProjectHasValue$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectHasValue$outboundSchema; - /** @deprecated use `UpdateProjectHasValue$Outbound` instead. */ - export type Outbound = UpdateProjectHasValue$Outbound; -} - export function updateProjectHasValueToJSON( updateProjectHasValue: UpdateProjectHasValue, ): string { @@ -14233,7 +11628,6 @@ export function updateProjectHasValueToJSON( UpdateProjectHasValue$outboundSchema.parse(updateProjectHasValue), ); } - export function updateProjectHasValueFromJSON( jsonString: string, ): SafeParseResult { @@ -14254,7 +11648,6 @@ export const UpdateProjectHas1$inboundSchema: z.ZodType< key: UpdateProjectHasKey$inboundSchema, value: z.lazy(() => UpdateProjectHasValue$inboundSchema), }); - /** @internal */ export type UpdateProjectHas1$Outbound = { type: string; @@ -14273,19 +11666,6 @@ export const UpdateProjectHas1$outboundSchema: z.ZodType< value: z.lazy(() => UpdateProjectHasValue$outboundSchema), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectHas1$ { - /** @deprecated use `UpdateProjectHas1$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectHas1$inboundSchema; - /** @deprecated use `UpdateProjectHas1$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectHas1$outboundSchema; - /** @deprecated use `UpdateProjectHas1$Outbound` instead. */ - export type Outbound = UpdateProjectHas1$Outbound; -} - export function updateProjectHas1ToJSON( updateProjectHas1: UpdateProjectHas1, ): string { @@ -14293,7 +11673,6 @@ export function updateProjectHas1ToJSON( UpdateProjectHas1$outboundSchema.parse(updateProjectHas1), ); } - export function updateProjectHas1FromJSON( jsonString: string, ): SafeParseResult { @@ -14313,7 +11692,6 @@ export const UpdateProjectInternalRoutesHas$inboundSchema: z.ZodType< z.lazy(() => UpdateProjectHas1$inboundSchema), z.lazy(() => UpdateProjectHas2$inboundSchema), ]); - /** @internal */ export type UpdateProjectInternalRoutesHas$Outbound = | UpdateProjectHas1$Outbound @@ -14329,19 +11707,6 @@ export const UpdateProjectInternalRoutesHas$outboundSchema: z.ZodType< z.lazy(() => UpdateProjectHas2$outboundSchema), ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectInternalRoutesHas$ { - /** @deprecated use `UpdateProjectInternalRoutesHas$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectInternalRoutesHas$inboundSchema; - /** @deprecated use `UpdateProjectInternalRoutesHas$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectInternalRoutesHas$outboundSchema; - /** @deprecated use `UpdateProjectInternalRoutesHas$Outbound` instead. */ - export type Outbound = UpdateProjectInternalRoutesHas$Outbound; -} - export function updateProjectInternalRoutesHasToJSON( updateProjectInternalRoutesHas: UpdateProjectInternalRoutesHas, ): string { @@ -14351,7 +11716,6 @@ export function updateProjectInternalRoutesHasToJSON( ), ); } - export function updateProjectInternalRoutesHasFromJSON( jsonString: string, ): SafeParseResult { @@ -14366,24 +11730,11 @@ export function updateProjectInternalRoutesHasFromJSON( export const UpdateProjectInternalRoutesAction$inboundSchema: z.ZodNativeEnum< typeof UpdateProjectInternalRoutesAction > = z.nativeEnum(UpdateProjectInternalRoutesAction); - /** @internal */ export const UpdateProjectInternalRoutesAction$outboundSchema: z.ZodNativeEnum< typeof UpdateProjectInternalRoutesAction > = UpdateProjectInternalRoutesAction$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectInternalRoutesAction$ { - /** @deprecated use `UpdateProjectInternalRoutesAction$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectInternalRoutesAction$inboundSchema; - /** @deprecated use `UpdateProjectInternalRoutesAction$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectInternalRoutesAction$outboundSchema; -} - /** @internal */ export const UpdateProjectInternalRoutesMitigate$inboundSchema: z.ZodType< UpdateProjectInternalRoutesMitigate, @@ -14392,7 +11743,6 @@ export const UpdateProjectInternalRoutesMitigate$inboundSchema: z.ZodType< > = z.object({ action: UpdateProjectInternalRoutesAction$inboundSchema, }); - /** @internal */ export type UpdateProjectInternalRoutesMitigate$Outbound = { action: string; @@ -14407,21 +11757,6 @@ export const UpdateProjectInternalRoutesMitigate$outboundSchema: z.ZodType< action: UpdateProjectInternalRoutesAction$outboundSchema, }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectInternalRoutesMitigate$ { - /** @deprecated use `UpdateProjectInternalRoutesMitigate$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectInternalRoutesMitigate$inboundSchema; - /** @deprecated use `UpdateProjectInternalRoutesMitigate$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectInternalRoutesMitigate$outboundSchema; - /** @deprecated use `UpdateProjectInternalRoutesMitigate$Outbound` instead. */ - export type Outbound = UpdateProjectInternalRoutesMitigate$Outbound; -} - export function updateProjectInternalRoutesMitigateToJSON( updateProjectInternalRoutesMitigate: UpdateProjectInternalRoutesMitigate, ): string { @@ -14431,7 +11766,6 @@ export function updateProjectInternalRoutesMitigateToJSON( ), ); } - export function updateProjectInternalRoutesMitigateFromJSON( jsonString: string, ): SafeParseResult { @@ -14458,7 +11792,6 @@ export const UpdateProjectInternalRoutes2$inboundSchema: z.ZodType< mitigate: z.lazy(() => UpdateProjectInternalRoutesMitigate$inboundSchema), src: z.string().optional(), }); - /** @internal */ export type UpdateProjectInternalRoutes2$Outbound = { has: Array; @@ -14482,19 +11815,6 @@ export const UpdateProjectInternalRoutes2$outboundSchema: z.ZodType< src: z.string().optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectInternalRoutes2$ { - /** @deprecated use `UpdateProjectInternalRoutes2$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectInternalRoutes2$inboundSchema; - /** @deprecated use `UpdateProjectInternalRoutes2$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectInternalRoutes2$outboundSchema; - /** @deprecated use `UpdateProjectInternalRoutes2$Outbound` instead. */ - export type Outbound = UpdateProjectInternalRoutes2$Outbound; -} - export function updateProjectInternalRoutes2ToJSON( updateProjectInternalRoutes2: UpdateProjectInternalRoutes2, ): string { @@ -14504,7 +11824,6 @@ export function updateProjectInternalRoutes2ToJSON( ), ); } - export function updateProjectInternalRoutes2FromJSON( jsonString: string, ): SafeParseResult { @@ -14524,7 +11843,6 @@ export const UpdateProjectInternalRoutes1$inboundSchema: z.ZodType< src: z.string(), status: z.number(), }); - /** @internal */ export type UpdateProjectInternalRoutes1$Outbound = { src: string; @@ -14541,19 +11859,6 @@ export const UpdateProjectInternalRoutes1$outboundSchema: z.ZodType< status: 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 UpdateProjectInternalRoutes1$ { - /** @deprecated use `UpdateProjectInternalRoutes1$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectInternalRoutes1$inboundSchema; - /** @deprecated use `UpdateProjectInternalRoutes1$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectInternalRoutes1$outboundSchema; - /** @deprecated use `UpdateProjectInternalRoutes1$Outbound` instead. */ - export type Outbound = UpdateProjectInternalRoutes1$Outbound; -} - export function updateProjectInternalRoutes1ToJSON( updateProjectInternalRoutes1: UpdateProjectInternalRoutes1, ): string { @@ -14563,7 +11868,6 @@ export function updateProjectInternalRoutes1ToJSON( ), ); } - export function updateProjectInternalRoutes1FromJSON( jsonString: string, ): SafeParseResult { @@ -14583,7 +11887,6 @@ export const UpdateProjectInternalRoutes$inboundSchema: z.ZodType< z.lazy(() => UpdateProjectInternalRoutes1$inboundSchema), z.lazy(() => UpdateProjectInternalRoutes2$inboundSchema), ]); - /** @internal */ export type UpdateProjectInternalRoutes$Outbound = | UpdateProjectInternalRoutes1$Outbound @@ -14599,19 +11902,6 @@ export const UpdateProjectInternalRoutes$outboundSchema: z.ZodType< z.lazy(() => UpdateProjectInternalRoutes2$outboundSchema), ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectInternalRoutes$ { - /** @deprecated use `UpdateProjectInternalRoutes$inboundSchema` instead. */ - export const inboundSchema = UpdateProjectInternalRoutes$inboundSchema; - /** @deprecated use `UpdateProjectInternalRoutes$outboundSchema` instead. */ - export const outboundSchema = UpdateProjectInternalRoutes$outboundSchema; - /** @deprecated use `UpdateProjectInternalRoutes$Outbound` instead. */ - export type Outbound = UpdateProjectInternalRoutes$Outbound; -} - export function updateProjectInternalRoutesToJSON( updateProjectInternalRoutes: UpdateProjectInternalRoutes, ): string { @@ -14621,7 +11911,6 @@ export function updateProjectInternalRoutesToJSON( ), ); } - export function updateProjectInternalRoutesFromJSON( jsonString: string, ): SafeParseResult { @@ -14632,6 +11921,242 @@ export function updateProjectInternalRoutesFromJSON( ); } +/** @internal */ +export const UpdateProjectProjectsAction$inboundSchema: z.ZodNativeEnum< + typeof UpdateProjectProjectsAction +> = z.nativeEnum(UpdateProjectProjectsAction); +/** @internal */ +export const UpdateProjectProjectsAction$outboundSchema: z.ZodNativeEnum< + typeof UpdateProjectProjectsAction +> = UpdateProjectProjectsAction$inboundSchema; + +/** @internal */ +export const UpdateProjectValuePreviousValue$inboundSchema: z.ZodType< + UpdateProjectValuePreviousValue, + z.ZodTypeDef, + unknown +> = z.union([z.string(), z.number(), z.boolean()]); +/** @internal */ +export type UpdateProjectValuePreviousValue$Outbound = + | string + | number + | boolean; + +/** @internal */ +export const UpdateProjectValuePreviousValue$outboundSchema: z.ZodType< + UpdateProjectValuePreviousValue$Outbound, + z.ZodTypeDef, + UpdateProjectValuePreviousValue +> = z.union([z.string(), z.number(), z.boolean()]); + +export function updateProjectValuePreviousValueToJSON( + updateProjectValuePreviousValue: UpdateProjectValuePreviousValue, +): string { + return JSON.stringify( + UpdateProjectValuePreviousValue$outboundSchema.parse( + updateProjectValuePreviousValue, + ), + ); +} +export function updateProjectValuePreviousValueFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectValuePreviousValue$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectValuePreviousValue' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectValueCurrentValue$inboundSchema: z.ZodType< + UpdateProjectValueCurrentValue, + z.ZodTypeDef, + unknown +> = z.union([z.string(), z.number(), z.boolean()]); +/** @internal */ +export type UpdateProjectValueCurrentValue$Outbound = string | number | boolean; + +/** @internal */ +export const UpdateProjectValueCurrentValue$outboundSchema: z.ZodType< + UpdateProjectValueCurrentValue$Outbound, + z.ZodTypeDef, + UpdateProjectValueCurrentValue +> = z.union([z.string(), z.number(), z.boolean()]); + +export function updateProjectValueCurrentValueToJSON( + updateProjectValueCurrentValue: UpdateProjectValueCurrentValue, +): string { + return JSON.stringify( + UpdateProjectValueCurrentValue$outboundSchema.parse( + updateProjectValueCurrentValue, + ), + ); +} +export function updateProjectValueCurrentValueFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectValueCurrentValue$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectValueCurrentValue' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectValue4$inboundSchema: z.ZodType< + UpdateProjectValue4, + z.ZodTypeDef, + unknown +> = z.object({ + previousValue: z.union([z.string(), z.number(), z.boolean()]), + currentValue: z.union([z.string(), z.number(), z.boolean()]), +}); +/** @internal */ +export type UpdateProjectValue4$Outbound = { + previousValue: string | number | boolean; + currentValue: string | number | boolean; +}; + +/** @internal */ +export const UpdateProjectValue4$outboundSchema: z.ZodType< + UpdateProjectValue4$Outbound, + z.ZodTypeDef, + UpdateProjectValue4 +> = z.object({ + previousValue: z.union([z.string(), z.number(), z.boolean()]), + currentValue: z.union([z.string(), z.number(), z.boolean()]), +}); + +export function updateProjectValue4ToJSON( + updateProjectValue4: UpdateProjectValue4, +): string { + return JSON.stringify( + UpdateProjectValue4$outboundSchema.parse(updateProjectValue4), + ); +} +export function updateProjectValue4FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateProjectValue4$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectValue4' from JSON`, + ); +} + +/** @internal */ +export const UpdateProjectValue$inboundSchema: z.ZodType< + UpdateProjectValue, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => UpdateProjectValue4$inboundSchema), + z.string(), + z.number(), + z.boolean(), +]); +/** @internal */ +export type UpdateProjectValue$Outbound = + | UpdateProjectValue4$Outbound + | string + | number + | boolean; + +/** @internal */ +export const UpdateProjectValue$outboundSchema: z.ZodType< + UpdateProjectValue$Outbound, + z.ZodTypeDef, + UpdateProjectValue +> = z.union([ + z.lazy(() => UpdateProjectValue4$outboundSchema), + z.string(), + z.number(), + z.boolean(), +]); + +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 UpdateProjectProjectsDismissedToasts$inboundSchema: z.ZodType< + UpdateProjectProjectsDismissedToasts, + z.ZodTypeDef, + unknown +> = z.object({ + key: z.string(), + dismissedAt: z.number(), + action: UpdateProjectProjectsAction$inboundSchema, + value: z.nullable( + z.union([ + z.lazy(() => UpdateProjectValue4$inboundSchema), + z.string(), + z.number(), + z.boolean(), + ]), + ), +}); +/** @internal */ +export type UpdateProjectProjectsDismissedToasts$Outbound = { + key: string; + dismissedAt: number; + action: string; + value: UpdateProjectValue4$Outbound | string | number | boolean | null; +}; + +/** @internal */ +export const UpdateProjectProjectsDismissedToasts$outboundSchema: z.ZodType< + UpdateProjectProjectsDismissedToasts$Outbound, + z.ZodTypeDef, + UpdateProjectProjectsDismissedToasts +> = z.object({ + key: z.string(), + dismissedAt: z.number(), + action: UpdateProjectProjectsAction$outboundSchema, + value: z.nullable( + z.union([ + z.lazy(() => UpdateProjectValue4$outboundSchema), + z.string(), + z.number(), + z.boolean(), + ]), + ), +}); + +export function updateProjectProjectsDismissedToastsToJSON( + updateProjectProjectsDismissedToasts: UpdateProjectProjectsDismissedToasts, +): string { + return JSON.stringify( + UpdateProjectProjectsDismissedToasts$outboundSchema.parse( + updateProjectProjectsDismissedToasts, + ), + ); +} +export function updateProjectProjectsDismissedToastsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + UpdateProjectProjectsDismissedToasts$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateProjectProjectsDismissedToasts' from JSON`, + ); +} + /** @internal */ export const UpdateProjectResponseBody$inboundSchema: z.ZodType< UpdateProjectResponseBody, @@ -14687,6 +12212,7 @@ export const UpdateProjectResponseBody$inboundSchema: z.ZodType< microfrontends: z.union([ z.lazy(() => UpdateProjectMicrofrontends1$inboundSchema), z.lazy(() => UpdateProjectMicrofrontends2$inboundSchema), + z.lazy(() => UpdateProjectMicrofrontends3$inboundSchema), ]).optional(), name: z.string(), nodeVersion: UpdateProjectProjectsNodeVersion$inboundSchema, @@ -14716,6 +12242,8 @@ export const UpdateProjectResponseBody$inboundSchema: z.ZodType< skewProtectionBoundaryAt: z.number().optional(), skewProtectionMaxAge: z.number().optional(), skipGitConnectDuringLink: z.boolean().optional(), + staticIps: z.lazy(() => UpdateProjectProjectsStaticIps$inboundSchema) + .optional(), sourceFilesOutsideRootDirectory: z.boolean().optional(), enableAffectedProjectsDeployments: z.boolean().optional(), ssoProtection: z.nullable( @@ -14774,8 +12302,11 @@ export const UpdateProjectResponseBody$inboundSchema: z.ZodType< z.lazy(() => UpdateProjectInternalRoutes2$inboundSchema), ]), ).optional(), + hasDeployments: z.boolean().optional(), + dismissedToasts: z.array( + z.lazy(() => UpdateProjectProjectsDismissedToasts$inboundSchema), + ).optional(), }); - /** @internal */ export type UpdateProjectResponseBody$Outbound = { accountId: string; @@ -14826,6 +12357,7 @@ export type UpdateProjectResponseBody$Outbound = { microfrontends?: | UpdateProjectMicrofrontends1$Outbound | UpdateProjectMicrofrontends2$Outbound + | UpdateProjectMicrofrontends3$Outbound | undefined; name: string; nodeVersion: string; @@ -14849,6 +12381,7 @@ export type UpdateProjectResponseBody$Outbound = { skewProtectionBoundaryAt?: number | undefined; skewProtectionMaxAge?: number | undefined; skipGitConnectDuringLink?: boolean | undefined; + staticIps?: UpdateProjectProjectsStaticIps$Outbound | undefined; sourceFilesOutsideRootDirectory?: boolean | undefined; enableAffectedProjectsDeployments?: boolean | undefined; ssoProtection?: @@ -14898,6 +12431,10 @@ export type UpdateProjectResponseBody$Outbound = { | UpdateProjectInternalRoutes2$Outbound > | undefined; + hasDeployments?: boolean | undefined; + dismissedToasts?: + | Array + | undefined; }; /** @internal */ @@ -14955,6 +12492,7 @@ export const UpdateProjectResponseBody$outboundSchema: z.ZodType< microfrontends: z.union([ z.lazy(() => UpdateProjectMicrofrontends1$outboundSchema), z.lazy(() => UpdateProjectMicrofrontends2$outboundSchema), + z.lazy(() => UpdateProjectMicrofrontends3$outboundSchema), ]).optional(), name: z.string(), nodeVersion: UpdateProjectProjectsNodeVersion$outboundSchema, @@ -14984,6 +12522,8 @@ export const UpdateProjectResponseBody$outboundSchema: z.ZodType< skewProtectionBoundaryAt: z.number().optional(), skewProtectionMaxAge: z.number().optional(), skipGitConnectDuringLink: z.boolean().optional(), + staticIps: z.lazy(() => UpdateProjectProjectsStaticIps$outboundSchema) + .optional(), sourceFilesOutsideRootDirectory: z.boolean().optional(), enableAffectedProjectsDeployments: z.boolean().optional(), ssoProtection: z.nullable( @@ -15042,21 +12582,12 @@ export const UpdateProjectResponseBody$outboundSchema: z.ZodType< z.lazy(() => UpdateProjectInternalRoutes2$outboundSchema), ]), ).optional(), + hasDeployments: z.boolean().optional(), + dismissedToasts: z.array( + z.lazy(() => UpdateProjectProjectsDismissedToasts$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 { @@ -15064,7 +12595,6 @@ export function updateProjectResponseBodyToJSON( UpdateProjectResponseBody$outboundSchema.parse(updateProjectResponseBody), ); } - export function updateProjectResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/updateprojectprotectionbypassop.ts b/src/models/updateprojectprotectionbypassop.ts index b920fda5f..4fbceece2 100644 --- a/src/models/updateprojectprotectionbypassop.ts +++ b/src/models/updateprojectprotectionbypassop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; @@ -105,7 +105,6 @@ export const Revoke$inboundSchema: z.ZodType = z secret: z.string(), regenerate: z.boolean(), }); - /** @internal */ export type Revoke$Outbound = { secret: string; @@ -122,23 +121,9 @@ export const Revoke$outboundSchema: z.ZodType< 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 { @@ -157,7 +142,6 @@ export const Generate$inboundSchema: z.ZodType< > = z.object({ secret: z.string().optional(), }); - /** @internal */ export type Generate$Outbound = { secret?: string | undefined; @@ -172,23 +156,9 @@ export const Generate$outboundSchema: z.ZodType< 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 { @@ -208,7 +178,6 @@ export const UpdateProjectProtectionBypassRequestBody$inboundSchema: z.ZodType< revoke: z.lazy(() => Revoke$inboundSchema).optional(), generate: z.lazy(() => Generate$inboundSchema).optional(), }); - /** @internal */ export type UpdateProjectProtectionBypassRequestBody$Outbound = { revoke?: Revoke$Outbound | undefined; @@ -225,21 +194,6 @@ export const UpdateProjectProtectionBypassRequestBody$outboundSchema: z.ZodType< 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, @@ -250,7 +204,6 @@ export function updateProjectProtectionBypassRequestBodyToJSON( ), ); } - export function updateProjectProtectionBypassRequestBodyFromJSON( jsonString: string, ): SafeParseResult< @@ -284,7 +237,6 @@ export const UpdateProjectProtectionBypassRequest$inboundSchema: z.ZodType< "RequestBody": "requestBody", }); }); - /** @internal */ export type UpdateProjectProtectionBypassRequest$Outbound = { idOrName: string; @@ -311,21 +263,6 @@ export const UpdateProjectProtectionBypassRequest$outboundSchema: z.ZodType< }); }); -/** - * @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 { @@ -335,7 +272,6 @@ export function updateProjectProtectionBypassRequestToJSON( ), ); } - export function updateProjectProtectionBypassRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -352,26 +288,12 @@ export const UpdateProjectProtectionBypassProtectionBypassProjectsScope$inboundS z.ZodNativeEnum< typeof UpdateProjectProtectionBypassProtectionBypassProjectsScope > = z.nativeEnum(UpdateProjectProtectionBypassProtectionBypassProjectsScope); - /** @internal */ export const UpdateProjectProtectionBypassProtectionBypassProjectsScope$outboundSchema: z.ZodNativeEnum< typeof UpdateProjectProtectionBypassProtectionBypassProjectsScope > = UpdateProjectProtectionBypassProtectionBypassProjectsScope$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectProtectionBypassProtectionBypassProjectsScope$ { - /** @deprecated use `UpdateProjectProtectionBypassProtectionBypassProjectsScope$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectProtectionBypassProtectionBypassProjectsScope$inboundSchema; - /** @deprecated use `UpdateProjectProtectionBypassProtectionBypassProjectsScope$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectProtectionBypassProtectionBypassProjectsScope$outboundSchema; -} - /** @internal */ export const UpdateProjectProtectionBypassProtectionBypass2$inboundSchema: z.ZodType< @@ -384,7 +306,6 @@ export const UpdateProjectProtectionBypassProtectionBypass2$inboundSchema: scope: UpdateProjectProtectionBypassProtectionBypassProjectsScope$inboundSchema, }); - /** @internal */ export type UpdateProjectProtectionBypassProtectionBypass2$Outbound = { createdAt: number; @@ -405,22 +326,6 @@ export const UpdateProjectProtectionBypassProtectionBypass2$outboundSchema: UpdateProjectProtectionBypassProtectionBypassProjectsScope$outboundSchema, }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectProtectionBypassProtectionBypass2$ { - /** @deprecated use `UpdateProjectProtectionBypassProtectionBypass2$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectProtectionBypassProtectionBypass2$inboundSchema; - /** @deprecated use `UpdateProjectProtectionBypassProtectionBypass2$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectProtectionBypassProtectionBypass2$outboundSchema; - /** @deprecated use `UpdateProjectProtectionBypassProtectionBypass2$Outbound` instead. */ - export type Outbound = - UpdateProjectProtectionBypassProtectionBypass2$Outbound; -} - export function updateProjectProtectionBypassProtectionBypass2ToJSON( updateProjectProtectionBypassProtectionBypass2: UpdateProjectProtectionBypassProtectionBypass2, @@ -431,7 +336,6 @@ export function updateProjectProtectionBypassProtectionBypass2ToJSON( ), ); } - export function updateProjectProtectionBypassProtectionBypass2FromJSON( jsonString: string, ): SafeParseResult< @@ -452,25 +356,11 @@ export function updateProjectProtectionBypassProtectionBypass2FromJSON( export const UpdateProjectProtectionBypassProtectionBypassScope$inboundSchema: z.ZodNativeEnum = z .nativeEnum(UpdateProjectProtectionBypassProtectionBypassScope); - /** @internal */ export const UpdateProjectProtectionBypassProtectionBypassScope$outboundSchema: z.ZodNativeEnum = UpdateProjectProtectionBypassProtectionBypassScope$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectProtectionBypassProtectionBypassScope$ { - /** @deprecated use `UpdateProjectProtectionBypassProtectionBypassScope$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectProtectionBypassProtectionBypassScope$inboundSchema; - /** @deprecated use `UpdateProjectProtectionBypassProtectionBypassScope$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectProtectionBypassProtectionBypassScope$outboundSchema; -} - /** @internal */ export const UpdateProjectProtectionBypassProtectionBypass1$inboundSchema: z.ZodType< @@ -484,7 +374,6 @@ export const UpdateProjectProtectionBypassProtectionBypass1$inboundSchema: integrationId: z.string(), configurationId: z.string(), }); - /** @internal */ export type UpdateProjectProtectionBypassProtectionBypass1$Outbound = { createdAt: number; @@ -508,22 +397,6 @@ export const UpdateProjectProtectionBypassProtectionBypass1$outboundSchema: configurationId: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateProjectProtectionBypassProtectionBypass1$ { - /** @deprecated use `UpdateProjectProtectionBypassProtectionBypass1$inboundSchema` instead. */ - export const inboundSchema = - UpdateProjectProtectionBypassProtectionBypass1$inboundSchema; - /** @deprecated use `UpdateProjectProtectionBypassProtectionBypass1$outboundSchema` instead. */ - export const outboundSchema = - UpdateProjectProtectionBypassProtectionBypass1$outboundSchema; - /** @deprecated use `UpdateProjectProtectionBypassProtectionBypass1$Outbound` instead. */ - export type Outbound = - UpdateProjectProtectionBypassProtectionBypass1$Outbound; -} - export function updateProjectProtectionBypassProtectionBypass1ToJSON( updateProjectProtectionBypassProtectionBypass1: UpdateProjectProtectionBypassProtectionBypass1, @@ -534,7 +407,6 @@ export function updateProjectProtectionBypassProtectionBypass1ToJSON( ), ); } - export function updateProjectProtectionBypassProtectionBypass1FromJSON( jsonString: string, ): SafeParseResult< @@ -561,7 +433,6 @@ export const UpdateProjectProtectionBypassProtectionBypass$inboundSchema: z.lazy(() => UpdateProjectProtectionBypassProtectionBypass1$inboundSchema), z.lazy(() => UpdateProjectProtectionBypassProtectionBypass2$inboundSchema), ]); - /** @internal */ export type UpdateProjectProtectionBypassProtectionBypass$Outbound = | UpdateProjectProtectionBypassProtectionBypass1$Outbound @@ -578,21 +449,6 @@ export const UpdateProjectProtectionBypassProtectionBypass$outboundSchema: z.lazy(() => UpdateProjectProtectionBypassProtectionBypass2$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, @@ -603,7 +459,6 @@ export function updateProjectProtectionBypassProtectionBypassToJSON( ), ); } - export function updateProjectProtectionBypassProtectionBypassFromJSON( jsonString: string, ): SafeParseResult< @@ -637,7 +492,6 @@ export const UpdateProjectProtectionBypassResponseBody$inboundSchema: z.ZodType< ]), ).optional(), }); - /** @internal */ export type UpdateProjectProtectionBypassResponseBody$Outbound = { protectionBypass?: { @@ -666,21 +520,6 @@ export const UpdateProjectProtectionBypassResponseBody$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, @@ -691,7 +530,6 @@ export function updateProjectProtectionBypassResponseBodyToJSON( ), ); } - export function updateProjectProtectionBypassResponseBodyFromJSON( jsonString: string, ): SafeParseResult< diff --git a/src/models/updaterecordop.ts b/src/models/updaterecordop.ts index c2922c6fb..ae98877ee 100644 --- a/src/models/updaterecordop.ts +++ b/src/models/updaterecordop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; @@ -124,23 +124,11 @@ export type UpdateRecordResponseBody = { 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({ @@ -149,7 +137,6 @@ export const Srv$inboundSchema: z.ZodType = z port: z.nullable(z.number().int()), priority: z.nullable(z.number().int()), }); - /** @internal */ export type Srv$Outbound = { target: string | null; @@ -167,23 +154,9 @@ export const Srv$outboundSchema: z.ZodType = z 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 { @@ -201,7 +174,6 @@ export const Https$inboundSchema: z.ZodType = z target: z.nullable(z.string()), params: z.nullable(z.string()).optional(), }); - /** @internal */ export type Https$Outbound = { priority: number | null; @@ -220,23 +192,9 @@ export const Https$outboundSchema: z.ZodType< 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 { @@ -262,7 +220,6 @@ export const UpdateRecordRequestBody$inboundSchema: z.ZodType< https: z.nullable(z.lazy(() => Https$inboundSchema)).optional(), comment: z.string().optional(), }); - /** @internal */ export type UpdateRecordRequestBody$Outbound = { name?: string | null | undefined; @@ -291,19 +248,6 @@ export const UpdateRecordRequestBody$outboundSchema: z.ZodType< 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 { @@ -311,7 +255,6 @@ export function updateRecordRequestBodyToJSON( UpdateRecordRequestBody$outboundSchema.parse(updateRecordRequestBody), ); } - export function updateRecordRequestBodyFromJSON( jsonString: string, ): SafeParseResult { @@ -337,7 +280,6 @@ export const UpdateRecordRequest$inboundSchema: z.ZodType< "RequestBody": "requestBody", }); }); - /** @internal */ export type UpdateRecordRequest$Outbound = { recordId: string; @@ -362,19 +304,6 @@ export const UpdateRecordRequest$outboundSchema: z.ZodType< }); }); -/** - * @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 { @@ -382,7 +311,6 @@ export function updateRecordRequestToJSON( UpdateRecordRequest$outboundSchema.parse(updateRecordRequest), ); } - export function updateRecordRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -396,43 +324,19 @@ export function updateRecordRequestFromJSON( /** @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, @@ -450,7 +354,6 @@ export const UpdateRecordResponseBody$inboundSchema: z.ZodType< value: z.string(), comment: z.string().optional(), }); - /** @internal */ export type UpdateRecordResponseBody$Outbound = { createdAt?: number | null | undefined; @@ -483,19 +386,6 @@ export const UpdateRecordResponseBody$outboundSchema: z.ZodType< 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 { @@ -503,7 +393,6 @@ export function updateRecordResponseBodyToJSON( UpdateRecordResponseBody$outboundSchema.parse(updateRecordResponseBody), ); } - export function updateRecordResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/updateresourceop.ts b/src/models/updateresourceop.ts new file mode 100644 index 000000000..eef5e9bc3 --- /dev/null +++ b/src/models/updateresourceop.ts @@ -0,0 +1,908 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +import { remap as remap$ } from "../lib/primitives.js"; +import { + collectExtraKeys as collectExtraKeys$, + 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 UpdateResourceOwnership = { + Owned: "owned", + Linked: "linked", + Sandbox: "sandbox", +} as const; +export type UpdateResourceOwnership = ClosedEnum< + typeof UpdateResourceOwnership +>; + +export const UpdateResourceStatus = { + Ready: "ready", + Pending: "pending", + Onboarding: "onboarding", + Suspended: "suspended", + Resumed: "resumed", + Uninstalled: "uninstalled", + Error: "error", +} as const; +export type UpdateResourceStatus = ClosedEnum; + +export const UpdateResourceType = { + Prepayment: "prepayment", + Subscription: "subscription", +} as const; +export type UpdateResourceType = ClosedEnum; + +export type UpdateResourceDetails = { + label: string; + value?: string | undefined; +}; + +export type UpdateResourceHighlightedDetails = { + label: string; + value?: string | undefined; +}; + +export type UpdateResourceBillingPlan = { + id: string; + type: UpdateResourceType; + name: string; + description?: string | undefined; + paymentMethodRequired?: boolean | undefined; + cost?: string | undefined; + details?: Array | undefined; + highlightedDetails?: Array | undefined; + effectiveDate?: string | undefined; + additionalProperties?: { [k: string]: any } | undefined; +}; + +export const NotificationLevel = { + Info: "info", + Warn: "warn", + Error: "error", +} as const; +export type NotificationLevel = ClosedEnum; + +export type UpdateResourceNotification1 = { + level: NotificationLevel; + title: string; + message?: string | undefined; + href?: string | undefined; +}; + +export type UpdateResourceNotification = UpdateResourceNotification1 | string; + +/** + * A map of environments to override values for the secret, used for setting different values across deployments in production, preview, and development environments. Note: the same value will be used for all deployments in the given environment. + */ +export type UpdateResourceSecretsMarketplaceEnvironmentOverrides = { + /** + * Value used for development environment. + */ + development?: string | undefined; + /** + * Value used for preview environment. + */ + preview?: string | undefined; + /** + * Value used for production environment. + */ + production?: string | undefined; +}; + +export type SecretsSecrets = { + name: string; + value: string; + prefix?: string | undefined; + /** + * A map of environments to override values for the secret, used for setting different values across deployments in production, preview, and development environments. Note: the same value will be used for all deployments in the given environment. + */ + environmentOverrides?: + | UpdateResourceSecretsMarketplaceEnvironmentOverrides + | undefined; +}; + +export type Secrets2 = { + secrets: Array; + /** + * If true, will only overwrite the provided secrets instead of replacing all secrets. + */ + partial?: boolean | undefined; +}; + +/** + * A map of environments to override values for the secret, used for setting different values across deployments in production, preview, and development environments. Note: the same value will be used for all deployments in the given environment. + */ +export type SecretsEnvironmentOverrides = { + /** + * Value used for development environment. + */ + development?: string | undefined; + /** + * Value used for preview environment. + */ + preview?: string | undefined; + /** + * Value used for production environment. + */ + production?: string | undefined; +}; + +export type Secrets1 = { + name: string; + value: string; + prefix?: string | undefined; + /** + * A map of environments to override values for the secret, used for setting different values across deployments in production, preview, and development environments. Note: the same value will be used for all deployments in the given environment. + */ + environmentOverrides?: SecretsEnvironmentOverrides | undefined; +}; + +export type UpdateResourceSecrets = Secrets2 | Array; + +export type UpdateResourceRequestBody = { + ownership?: UpdateResourceOwnership | undefined; + name?: string | undefined; + status?: UpdateResourceStatus | undefined; + metadata?: { [k: string]: any } | undefined; + billingPlan?: UpdateResourceBillingPlan | undefined; + notification?: UpdateResourceNotification1 | string | undefined; + extras?: { [k: string]: any } | undefined; + secrets?: Secrets2 | Array | undefined; +}; + +export type UpdateResourceRequest = { + integrationConfigurationId: string; + resourceId: string; + requestBody?: UpdateResourceRequestBody | undefined; +}; + +export type UpdateResourceResponseBody = { + name: string; +}; + +/** @internal */ +export const UpdateResourceOwnership$inboundSchema: z.ZodNativeEnum< + typeof UpdateResourceOwnership +> = z.nativeEnum(UpdateResourceOwnership); +/** @internal */ +export const UpdateResourceOwnership$outboundSchema: z.ZodNativeEnum< + typeof UpdateResourceOwnership +> = UpdateResourceOwnership$inboundSchema; + +/** @internal */ +export const UpdateResourceStatus$inboundSchema: z.ZodNativeEnum< + typeof UpdateResourceStatus +> = z.nativeEnum(UpdateResourceStatus); +/** @internal */ +export const UpdateResourceStatus$outboundSchema: z.ZodNativeEnum< + typeof UpdateResourceStatus +> = UpdateResourceStatus$inboundSchema; + +/** @internal */ +export const UpdateResourceType$inboundSchema: z.ZodNativeEnum< + typeof UpdateResourceType +> = z.nativeEnum(UpdateResourceType); +/** @internal */ +export const UpdateResourceType$outboundSchema: z.ZodNativeEnum< + typeof UpdateResourceType +> = UpdateResourceType$inboundSchema; + +/** @internal */ +export const UpdateResourceDetails$inboundSchema: z.ZodType< + UpdateResourceDetails, + z.ZodTypeDef, + unknown +> = z.object({ + label: z.string(), + value: z.string().optional(), +}); +/** @internal */ +export type UpdateResourceDetails$Outbound = { + label: string; + value?: string | undefined; +}; + +/** @internal */ +export const UpdateResourceDetails$outboundSchema: z.ZodType< + UpdateResourceDetails$Outbound, + z.ZodTypeDef, + UpdateResourceDetails +> = z.object({ + label: z.string(), + value: z.string().optional(), +}); + +export function updateResourceDetailsToJSON( + updateResourceDetails: UpdateResourceDetails, +): string { + return JSON.stringify( + UpdateResourceDetails$outboundSchema.parse(updateResourceDetails), + ); +} +export function updateResourceDetailsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateResourceDetails$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateResourceDetails' from JSON`, + ); +} + +/** @internal */ +export const UpdateResourceHighlightedDetails$inboundSchema: z.ZodType< + UpdateResourceHighlightedDetails, + z.ZodTypeDef, + unknown +> = z.object({ + label: z.string(), + value: z.string().optional(), +}); +/** @internal */ +export type UpdateResourceHighlightedDetails$Outbound = { + label: string; + value?: string | undefined; +}; + +/** @internal */ +export const UpdateResourceHighlightedDetails$outboundSchema: z.ZodType< + UpdateResourceHighlightedDetails$Outbound, + z.ZodTypeDef, + UpdateResourceHighlightedDetails +> = z.object({ + label: z.string(), + value: z.string().optional(), +}); + +export function updateResourceHighlightedDetailsToJSON( + updateResourceHighlightedDetails: UpdateResourceHighlightedDetails, +): string { + return JSON.stringify( + UpdateResourceHighlightedDetails$outboundSchema.parse( + updateResourceHighlightedDetails, + ), + ); +} +export function updateResourceHighlightedDetailsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateResourceHighlightedDetails$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateResourceHighlightedDetails' from JSON`, + ); +} + +/** @internal */ +export const UpdateResourceBillingPlan$inboundSchema: z.ZodType< + UpdateResourceBillingPlan, + z.ZodTypeDef, + unknown +> = collectExtraKeys$( + z.object({ + id: z.string(), + type: UpdateResourceType$inboundSchema, + name: z.string(), + description: z.string().optional(), + paymentMethodRequired: z.boolean().optional(), + cost: z.string().optional(), + details: z.array(z.lazy(() => UpdateResourceDetails$inboundSchema)) + .optional(), + highlightedDetails: z.array( + z.lazy(() => UpdateResourceHighlightedDetails$inboundSchema), + ).optional(), + effectiveDate: z.string().optional(), + }).catchall(z.any()), + "additionalProperties", + true, +); +/** @internal */ +export type UpdateResourceBillingPlan$Outbound = { + id: string; + type: string; + name: string; + description?: string | undefined; + paymentMethodRequired?: boolean | undefined; + cost?: string | undefined; + details?: Array | undefined; + highlightedDetails?: + | Array + | undefined; + effectiveDate?: string | undefined; + [additionalProperties: string]: unknown; +}; + +/** @internal */ +export const UpdateResourceBillingPlan$outboundSchema: z.ZodType< + UpdateResourceBillingPlan$Outbound, + z.ZodTypeDef, + UpdateResourceBillingPlan +> = z.object({ + id: z.string(), + type: UpdateResourceType$outboundSchema, + name: z.string(), + description: z.string().optional(), + paymentMethodRequired: z.boolean().optional(), + cost: z.string().optional(), + details: z.array(z.lazy(() => UpdateResourceDetails$outboundSchema)) + .optional(), + highlightedDetails: z.array( + z.lazy(() => UpdateResourceHighlightedDetails$outboundSchema), + ).optional(), + effectiveDate: z.string().optional(), + additionalProperties: z.record(z.any()).optional(), +}).transform((v) => { + return { + ...v.additionalProperties, + ...remap$(v, { + additionalProperties: null, + }), + }; +}); + +export function updateResourceBillingPlanToJSON( + updateResourceBillingPlan: UpdateResourceBillingPlan, +): string { + return JSON.stringify( + UpdateResourceBillingPlan$outboundSchema.parse(updateResourceBillingPlan), + ); +} +export function updateResourceBillingPlanFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateResourceBillingPlan$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateResourceBillingPlan' from JSON`, + ); +} + +/** @internal */ +export const NotificationLevel$inboundSchema: z.ZodNativeEnum< + typeof NotificationLevel +> = z.nativeEnum(NotificationLevel); +/** @internal */ +export const NotificationLevel$outboundSchema: z.ZodNativeEnum< + typeof NotificationLevel +> = NotificationLevel$inboundSchema; + +/** @internal */ +export const UpdateResourceNotification1$inboundSchema: z.ZodType< + UpdateResourceNotification1, + z.ZodTypeDef, + unknown +> = z.object({ + level: NotificationLevel$inboundSchema, + title: z.string(), + message: z.string().optional(), + href: z.string().optional(), +}); +/** @internal */ +export type UpdateResourceNotification1$Outbound = { + level: string; + title: string; + message?: string | undefined; + href?: string | undefined; +}; + +/** @internal */ +export const UpdateResourceNotification1$outboundSchema: z.ZodType< + UpdateResourceNotification1$Outbound, + z.ZodTypeDef, + UpdateResourceNotification1 +> = z.object({ + level: NotificationLevel$outboundSchema, + title: z.string(), + message: z.string().optional(), + href: z.string().optional(), +}); + +export function updateResourceNotification1ToJSON( + updateResourceNotification1: UpdateResourceNotification1, +): string { + return JSON.stringify( + UpdateResourceNotification1$outboundSchema.parse( + updateResourceNotification1, + ), + ); +} +export function updateResourceNotification1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateResourceNotification1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateResourceNotification1' from JSON`, + ); +} + +/** @internal */ +export const UpdateResourceNotification$inboundSchema: z.ZodType< + UpdateResourceNotification, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => UpdateResourceNotification1$inboundSchema), + z.string(), +]); +/** @internal */ +export type UpdateResourceNotification$Outbound = + | UpdateResourceNotification1$Outbound + | string; + +/** @internal */ +export const UpdateResourceNotification$outboundSchema: z.ZodType< + UpdateResourceNotification$Outbound, + z.ZodTypeDef, + UpdateResourceNotification +> = z.union([ + z.lazy(() => UpdateResourceNotification1$outboundSchema), + z.string(), +]); + +export function updateResourceNotificationToJSON( + updateResourceNotification: UpdateResourceNotification, +): string { + return JSON.stringify( + UpdateResourceNotification$outboundSchema.parse(updateResourceNotification), + ); +} +export function updateResourceNotificationFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateResourceNotification$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateResourceNotification' from JSON`, + ); +} + +/** @internal */ +export const UpdateResourceSecretsMarketplaceEnvironmentOverrides$inboundSchema: + z.ZodType< + UpdateResourceSecretsMarketplaceEnvironmentOverrides, + z.ZodTypeDef, + unknown + > = z.object({ + development: z.string().optional(), + preview: z.string().optional(), + production: z.string().optional(), + }); +/** @internal */ +export type UpdateResourceSecretsMarketplaceEnvironmentOverrides$Outbound = { + development?: string | undefined; + preview?: string | undefined; + production?: string | undefined; +}; + +/** @internal */ +export const UpdateResourceSecretsMarketplaceEnvironmentOverrides$outboundSchema: + z.ZodType< + UpdateResourceSecretsMarketplaceEnvironmentOverrides$Outbound, + z.ZodTypeDef, + UpdateResourceSecretsMarketplaceEnvironmentOverrides + > = z.object({ + development: z.string().optional(), + preview: z.string().optional(), + production: z.string().optional(), + }); + +export function updateResourceSecretsMarketplaceEnvironmentOverridesToJSON( + updateResourceSecretsMarketplaceEnvironmentOverrides: + UpdateResourceSecretsMarketplaceEnvironmentOverrides, +): string { + return JSON.stringify( + UpdateResourceSecretsMarketplaceEnvironmentOverrides$outboundSchema.parse( + updateResourceSecretsMarketplaceEnvironmentOverrides, + ), + ); +} +export function updateResourceSecretsMarketplaceEnvironmentOverridesFromJSON( + jsonString: string, +): SafeParseResult< + UpdateResourceSecretsMarketplaceEnvironmentOverrides, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + UpdateResourceSecretsMarketplaceEnvironmentOverrides$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'UpdateResourceSecretsMarketplaceEnvironmentOverrides' from JSON`, + ); +} + +/** @internal */ +export const SecretsSecrets$inboundSchema: z.ZodType< + SecretsSecrets, + z.ZodTypeDef, + unknown +> = z.object({ + name: z.string(), + value: z.string(), + prefix: z.string().optional(), + environmentOverrides: z.lazy(() => + UpdateResourceSecretsMarketplaceEnvironmentOverrides$inboundSchema + ).optional(), +}); +/** @internal */ +export type SecretsSecrets$Outbound = { + name: string; + value: string; + prefix?: string | undefined; + environmentOverrides?: + | UpdateResourceSecretsMarketplaceEnvironmentOverrides$Outbound + | undefined; +}; + +/** @internal */ +export const SecretsSecrets$outboundSchema: z.ZodType< + SecretsSecrets$Outbound, + z.ZodTypeDef, + SecretsSecrets +> = z.object({ + name: z.string(), + value: z.string(), + prefix: z.string().optional(), + environmentOverrides: z.lazy(() => + UpdateResourceSecretsMarketplaceEnvironmentOverrides$outboundSchema + ).optional(), +}); + +export function secretsSecretsToJSON(secretsSecrets: SecretsSecrets): string { + return JSON.stringify(SecretsSecrets$outboundSchema.parse(secretsSecrets)); +} +export function secretsSecretsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => SecretsSecrets$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'SecretsSecrets' from JSON`, + ); +} + +/** @internal */ +export const Secrets2$inboundSchema: z.ZodType< + Secrets2, + z.ZodTypeDef, + unknown +> = z.object({ + secrets: z.array(z.lazy(() => SecretsSecrets$inboundSchema)), + partial: z.boolean().optional(), +}); +/** @internal */ +export type Secrets2$Outbound = { + secrets: Array; + partial?: boolean | undefined; +}; + +/** @internal */ +export const Secrets2$outboundSchema: z.ZodType< + Secrets2$Outbound, + z.ZodTypeDef, + Secrets2 +> = z.object({ + secrets: z.array(z.lazy(() => SecretsSecrets$outboundSchema)), + partial: z.boolean().optional(), +}); + +export function secrets2ToJSON(secrets2: Secrets2): string { + return JSON.stringify(Secrets2$outboundSchema.parse(secrets2)); +} +export function secrets2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Secrets2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Secrets2' from JSON`, + ); +} + +/** @internal */ +export const SecretsEnvironmentOverrides$inboundSchema: z.ZodType< + SecretsEnvironmentOverrides, + z.ZodTypeDef, + unknown +> = z.object({ + development: z.string().optional(), + preview: z.string().optional(), + production: z.string().optional(), +}); +/** @internal */ +export type SecretsEnvironmentOverrides$Outbound = { + development?: string | undefined; + preview?: string | undefined; + production?: string | undefined; +}; + +/** @internal */ +export const SecretsEnvironmentOverrides$outboundSchema: z.ZodType< + SecretsEnvironmentOverrides$Outbound, + z.ZodTypeDef, + SecretsEnvironmentOverrides +> = z.object({ + development: z.string().optional(), + preview: z.string().optional(), + production: z.string().optional(), +}); + +export function secretsEnvironmentOverridesToJSON( + secretsEnvironmentOverrides: SecretsEnvironmentOverrides, +): string { + return JSON.stringify( + SecretsEnvironmentOverrides$outboundSchema.parse( + secretsEnvironmentOverrides, + ), + ); +} +export function secretsEnvironmentOverridesFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => SecretsEnvironmentOverrides$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'SecretsEnvironmentOverrides' from JSON`, + ); +} + +/** @internal */ +export const Secrets1$inboundSchema: z.ZodType< + Secrets1, + z.ZodTypeDef, + unknown +> = z.object({ + name: z.string(), + value: z.string(), + prefix: z.string().optional(), + environmentOverrides: z.lazy(() => SecretsEnvironmentOverrides$inboundSchema) + .optional(), +}); +/** @internal */ +export type Secrets1$Outbound = { + name: string; + value: string; + prefix?: string | undefined; + environmentOverrides?: SecretsEnvironmentOverrides$Outbound | undefined; +}; + +/** @internal */ +export const Secrets1$outboundSchema: z.ZodType< + Secrets1$Outbound, + z.ZodTypeDef, + Secrets1 +> = z.object({ + name: z.string(), + value: z.string(), + prefix: z.string().optional(), + environmentOverrides: z.lazy(() => SecretsEnvironmentOverrides$outboundSchema) + .optional(), +}); + +export function secrets1ToJSON(secrets1: Secrets1): string { + return JSON.stringify(Secrets1$outboundSchema.parse(secrets1)); +} +export function secrets1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Secrets1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Secrets1' from JSON`, + ); +} + +/** @internal */ +export const UpdateResourceSecrets$inboundSchema: z.ZodType< + UpdateResourceSecrets, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => Secrets2$inboundSchema), + z.array(z.lazy(() => Secrets1$inboundSchema)), +]); +/** @internal */ +export type UpdateResourceSecrets$Outbound = + | Secrets2$Outbound + | Array; + +/** @internal */ +export const UpdateResourceSecrets$outboundSchema: z.ZodType< + UpdateResourceSecrets$Outbound, + z.ZodTypeDef, + UpdateResourceSecrets +> = z.union([ + z.lazy(() => Secrets2$outboundSchema), + z.array(z.lazy(() => Secrets1$outboundSchema)), +]); + +export function updateResourceSecretsToJSON( + updateResourceSecrets: UpdateResourceSecrets, +): string { + return JSON.stringify( + UpdateResourceSecrets$outboundSchema.parse(updateResourceSecrets), + ); +} +export function updateResourceSecretsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateResourceSecrets$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateResourceSecrets' from JSON`, + ); +} + +/** @internal */ +export const UpdateResourceRequestBody$inboundSchema: z.ZodType< + UpdateResourceRequestBody, + z.ZodTypeDef, + unknown +> = z.object({ + ownership: UpdateResourceOwnership$inboundSchema.optional(), + name: z.string().optional(), + status: UpdateResourceStatus$inboundSchema.optional(), + metadata: z.record(z.any()).optional(), + billingPlan: z.lazy(() => UpdateResourceBillingPlan$inboundSchema).optional(), + notification: z.union([ + z.lazy(() => UpdateResourceNotification1$inboundSchema), + z.string(), + ]).optional(), + extras: z.record(z.any()).optional(), + secrets: z.union([ + z.lazy(() => Secrets2$inboundSchema), + z.array(z.lazy(() => Secrets1$inboundSchema)), + ]).optional(), +}); +/** @internal */ +export type UpdateResourceRequestBody$Outbound = { + ownership?: string | undefined; + name?: string | undefined; + status?: string | undefined; + metadata?: { [k: string]: any } | undefined; + billingPlan?: UpdateResourceBillingPlan$Outbound | undefined; + notification?: UpdateResourceNotification1$Outbound | string | undefined; + extras?: { [k: string]: any } | undefined; + secrets?: Secrets2$Outbound | Array | undefined; +}; + +/** @internal */ +export const UpdateResourceRequestBody$outboundSchema: z.ZodType< + UpdateResourceRequestBody$Outbound, + z.ZodTypeDef, + UpdateResourceRequestBody +> = z.object({ + ownership: UpdateResourceOwnership$outboundSchema.optional(), + name: z.string().optional(), + status: UpdateResourceStatus$outboundSchema.optional(), + metadata: z.record(z.any()).optional(), + billingPlan: z.lazy(() => UpdateResourceBillingPlan$outboundSchema) + .optional(), + notification: z.union([ + z.lazy(() => UpdateResourceNotification1$outboundSchema), + z.string(), + ]).optional(), + extras: z.record(z.any()).optional(), + secrets: z.union([ + z.lazy(() => Secrets2$outboundSchema), + z.array(z.lazy(() => Secrets1$outboundSchema)), + ]).optional(), +}); + +export function updateResourceRequestBodyToJSON( + updateResourceRequestBody: UpdateResourceRequestBody, +): string { + return JSON.stringify( + UpdateResourceRequestBody$outboundSchema.parse(updateResourceRequestBody), + ); +} +export function updateResourceRequestBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateResourceRequestBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateResourceRequestBody' from JSON`, + ); +} + +/** @internal */ +export const UpdateResourceRequest$inboundSchema: z.ZodType< + UpdateResourceRequest, + z.ZodTypeDef, + unknown +> = z.object({ + integrationConfigurationId: z.string(), + resourceId: z.string(), + RequestBody: z.lazy(() => UpdateResourceRequestBody$inboundSchema).optional(), +}).transform((v) => { + return remap$(v, { + "RequestBody": "requestBody", + }); +}); +/** @internal */ +export type UpdateResourceRequest$Outbound = { + integrationConfigurationId: string; + resourceId: string; + RequestBody?: UpdateResourceRequestBody$Outbound | undefined; +}; + +/** @internal */ +export const UpdateResourceRequest$outboundSchema: z.ZodType< + UpdateResourceRequest$Outbound, + z.ZodTypeDef, + UpdateResourceRequest +> = z.object({ + integrationConfigurationId: z.string(), + resourceId: z.string(), + requestBody: z.lazy(() => UpdateResourceRequestBody$outboundSchema) + .optional(), +}).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); +}); + +export function updateResourceRequestToJSON( + updateResourceRequest: UpdateResourceRequest, +): string { + return JSON.stringify( + UpdateResourceRequest$outboundSchema.parse(updateResourceRequest), + ); +} +export function updateResourceRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateResourceRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateResourceRequest' from JSON`, + ); +} + +/** @internal */ +export const UpdateResourceResponseBody$inboundSchema: z.ZodType< + UpdateResourceResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + name: z.string(), +}); +/** @internal */ +export type UpdateResourceResponseBody$Outbound = { + name: string; +}; + +/** @internal */ +export const UpdateResourceResponseBody$outboundSchema: z.ZodType< + UpdateResourceResponseBody$Outbound, + z.ZodTypeDef, + UpdateResourceResponseBody +> = z.object({ + name: z.string(), +}); + +export function updateResourceResponseBodyToJSON( + updateResourceResponseBody: UpdateResourceResponseBody, +): string { + return JSON.stringify( + UpdateResourceResponseBody$outboundSchema.parse(updateResourceResponseBody), + ); +} +export function updateResourceResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateResourceResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateResourceResponseBody' from JSON`, + ); +} diff --git a/src/models/updateresourcesecretsbyidop.ts b/src/models/updateresourcesecretsbyidop.ts index e95e3fd4a..990757639 100644 --- a/src/models/updateresourcesecretsbyidop.ts +++ b/src/models/updateresourcesecretsbyidop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; @@ -63,7 +63,6 @@ export const UpdateResourceSecretsByIdEnvironmentOverrides$inboundSchema: preview: z.string().optional(), production: z.string().optional(), }); - /** @internal */ export type UpdateResourceSecretsByIdEnvironmentOverrides$Outbound = { development?: string | undefined; @@ -83,21 +82,6 @@ export const UpdateResourceSecretsByIdEnvironmentOverrides$outboundSchema: production: z.string().optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateResourceSecretsByIdEnvironmentOverrides$ { - /** @deprecated use `UpdateResourceSecretsByIdEnvironmentOverrides$inboundSchema` instead. */ - export const inboundSchema = - UpdateResourceSecretsByIdEnvironmentOverrides$inboundSchema; - /** @deprecated use `UpdateResourceSecretsByIdEnvironmentOverrides$outboundSchema` instead. */ - export const outboundSchema = - UpdateResourceSecretsByIdEnvironmentOverrides$outboundSchema; - /** @deprecated use `UpdateResourceSecretsByIdEnvironmentOverrides$Outbound` instead. */ - export type Outbound = UpdateResourceSecretsByIdEnvironmentOverrides$Outbound; -} - export function updateResourceSecretsByIdEnvironmentOverridesToJSON( updateResourceSecretsByIdEnvironmentOverrides: UpdateResourceSecretsByIdEnvironmentOverrides, @@ -108,7 +92,6 @@ export function updateResourceSecretsByIdEnvironmentOverridesToJSON( ), ); } - export function updateResourceSecretsByIdEnvironmentOverridesFromJSON( jsonString: string, ): SafeParseResult< @@ -138,7 +121,6 @@ export const UpdateResourceSecretsByIdSecrets$inboundSchema: z.ZodType< UpdateResourceSecretsByIdEnvironmentOverrides$inboundSchema ).optional(), }); - /** @internal */ export type UpdateResourceSecretsByIdSecrets$Outbound = { name: string; @@ -163,19 +145,6 @@ export const UpdateResourceSecretsByIdSecrets$outboundSchema: z.ZodType< ).optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateResourceSecretsByIdSecrets$ { - /** @deprecated use `UpdateResourceSecretsByIdSecrets$inboundSchema` instead. */ - export const inboundSchema = UpdateResourceSecretsByIdSecrets$inboundSchema; - /** @deprecated use `UpdateResourceSecretsByIdSecrets$outboundSchema` instead. */ - export const outboundSchema = UpdateResourceSecretsByIdSecrets$outboundSchema; - /** @deprecated use `UpdateResourceSecretsByIdSecrets$Outbound` instead. */ - export type Outbound = UpdateResourceSecretsByIdSecrets$Outbound; -} - export function updateResourceSecretsByIdSecretsToJSON( updateResourceSecretsByIdSecrets: UpdateResourceSecretsByIdSecrets, ): string { @@ -185,7 +154,6 @@ export function updateResourceSecretsByIdSecretsToJSON( ), ); } - export function updateResourceSecretsByIdSecretsFromJSON( jsonString: string, ): SafeParseResult { @@ -207,7 +175,6 @@ export const UpdateResourceSecretsByIdRequestBody$inboundSchema: z.ZodType< ), partial: z.boolean().optional(), }); - /** @internal */ export type UpdateResourceSecretsByIdRequestBody$Outbound = { secrets: Array; @@ -226,21 +193,6 @@ export const UpdateResourceSecretsByIdRequestBody$outboundSchema: z.ZodType< partial: 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 UpdateResourceSecretsByIdRequestBody$ { - /** @deprecated use `UpdateResourceSecretsByIdRequestBody$inboundSchema` instead. */ - export const inboundSchema = - UpdateResourceSecretsByIdRequestBody$inboundSchema; - /** @deprecated use `UpdateResourceSecretsByIdRequestBody$outboundSchema` instead. */ - export const outboundSchema = - UpdateResourceSecretsByIdRequestBody$outboundSchema; - /** @deprecated use `UpdateResourceSecretsByIdRequestBody$Outbound` instead. */ - export type Outbound = UpdateResourceSecretsByIdRequestBody$Outbound; -} - export function updateResourceSecretsByIdRequestBodyToJSON( updateResourceSecretsByIdRequestBody: UpdateResourceSecretsByIdRequestBody, ): string { @@ -250,7 +202,6 @@ export function updateResourceSecretsByIdRequestBodyToJSON( ), ); } - export function updateResourceSecretsByIdRequestBodyFromJSON( jsonString: string, ): SafeParseResult { @@ -277,7 +228,6 @@ export const UpdateResourceSecretsByIdRequest$inboundSchema: z.ZodType< "RequestBody": "requestBody", }); }); - /** @internal */ export type UpdateResourceSecretsByIdRequest$Outbound = { integrationConfigurationId: string; @@ -301,19 +251,6 @@ export const UpdateResourceSecretsByIdRequest$outboundSchema: z.ZodType< }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateResourceSecretsByIdRequest$ { - /** @deprecated use `UpdateResourceSecretsByIdRequest$inboundSchema` instead. */ - export const inboundSchema = UpdateResourceSecretsByIdRequest$inboundSchema; - /** @deprecated use `UpdateResourceSecretsByIdRequest$outboundSchema` instead. */ - export const outboundSchema = UpdateResourceSecretsByIdRequest$outboundSchema; - /** @deprecated use `UpdateResourceSecretsByIdRequest$Outbound` instead. */ - export type Outbound = UpdateResourceSecretsByIdRequest$Outbound; -} - export function updateResourceSecretsByIdRequestToJSON( updateResourceSecretsByIdRequest: UpdateResourceSecretsByIdRequest, ): string { @@ -323,7 +260,6 @@ export function updateResourceSecretsByIdRequestToJSON( ), ); } - export function updateResourceSecretsByIdRequestFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/updateresourcesecretsop.ts b/src/models/updateresourcesecretsop.ts index b2a2d617d..56bc61f7c 100644 --- a/src/models/updateresourcesecretsop.ts +++ b/src/models/updateresourcesecretsop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; @@ -61,7 +61,6 @@ export const UpdateResourceSecretsEnvironmentOverrides$inboundSchema: z.ZodType< preview: z.string().optional(), production: z.string().optional(), }); - /** @internal */ export type UpdateResourceSecretsEnvironmentOverrides$Outbound = { development?: string | undefined; @@ -81,21 +80,6 @@ export const UpdateResourceSecretsEnvironmentOverrides$outboundSchema: production: z.string().optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateResourceSecretsEnvironmentOverrides$ { - /** @deprecated use `UpdateResourceSecretsEnvironmentOverrides$inboundSchema` instead. */ - export const inboundSchema = - UpdateResourceSecretsEnvironmentOverrides$inboundSchema; - /** @deprecated use `UpdateResourceSecretsEnvironmentOverrides$outboundSchema` instead. */ - export const outboundSchema = - UpdateResourceSecretsEnvironmentOverrides$outboundSchema; - /** @deprecated use `UpdateResourceSecretsEnvironmentOverrides$Outbound` instead. */ - export type Outbound = UpdateResourceSecretsEnvironmentOverrides$Outbound; -} - export function updateResourceSecretsEnvironmentOverridesToJSON( updateResourceSecretsEnvironmentOverrides: UpdateResourceSecretsEnvironmentOverrides, @@ -106,7 +90,6 @@ export function updateResourceSecretsEnvironmentOverridesToJSON( ), ); } - export function updateResourceSecretsEnvironmentOverridesFromJSON( jsonString: string, ): SafeParseResult< @@ -136,7 +119,6 @@ export const UpdateResourceSecretsSecrets$inboundSchema: z.ZodType< UpdateResourceSecretsEnvironmentOverrides$inboundSchema ).optional(), }); - /** @internal */ export type UpdateResourceSecretsSecrets$Outbound = { name: string; @@ -161,19 +143,6 @@ export const UpdateResourceSecretsSecrets$outboundSchema: z.ZodType< ).optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateResourceSecretsSecrets$ { - /** @deprecated use `UpdateResourceSecretsSecrets$inboundSchema` instead. */ - export const inboundSchema = UpdateResourceSecretsSecrets$inboundSchema; - /** @deprecated use `UpdateResourceSecretsSecrets$outboundSchema` instead. */ - export const outboundSchema = UpdateResourceSecretsSecrets$outboundSchema; - /** @deprecated use `UpdateResourceSecretsSecrets$Outbound` instead. */ - export type Outbound = UpdateResourceSecretsSecrets$Outbound; -} - export function updateResourceSecretsSecretsToJSON( updateResourceSecretsSecrets: UpdateResourceSecretsSecrets, ): string { @@ -183,7 +152,6 @@ export function updateResourceSecretsSecretsToJSON( ), ); } - export function updateResourceSecretsSecretsFromJSON( jsonString: string, ): SafeParseResult { @@ -203,7 +171,6 @@ export const UpdateResourceSecretsRequestBody$inboundSchema: z.ZodType< secrets: z.array(z.lazy(() => UpdateResourceSecretsSecrets$inboundSchema)), partial: z.boolean().optional(), }); - /** @internal */ export type UpdateResourceSecretsRequestBody$Outbound = { secrets: Array; @@ -220,19 +187,6 @@ export const UpdateResourceSecretsRequestBody$outboundSchema: z.ZodType< partial: 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 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 { @@ -242,7 +196,6 @@ export function updateResourceSecretsRequestBodyToJSON( ), ); } - export function updateResourceSecretsRequestBodyFromJSON( jsonString: string, ): SafeParseResult { @@ -268,7 +221,6 @@ export const UpdateResourceSecretsRequest$inboundSchema: z.ZodType< "RequestBody": "requestBody", }); }); - /** @internal */ export type UpdateResourceSecretsRequest$Outbound = { integrationConfigurationId: string; @@ -293,19 +245,6 @@ export const UpdateResourceSecretsRequest$outboundSchema: z.ZodType< }); }); -/** - * @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 { @@ -315,7 +254,6 @@ export function updateResourceSecretsRequestToJSON( ), ); } - export function updateResourceSecretsRequestFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/updaterollingreleaseconfigop.ts b/src/models/updaterollingreleaseconfigop.ts index dab00b869..8a14d13d2 100644 --- a/src/models/updaterollingreleaseconfigop.ts +++ b/src/models/updaterollingreleaseconfigop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -70,7 +70,6 @@ export const UpdateRollingReleaseConfigRequest$inboundSchema: z.ZodType< teamId: z.string().optional(), slug: z.string().optional(), }); - /** @internal */ export type UpdateRollingReleaseConfigRequest$Outbound = { idOrName: string; @@ -89,20 +88,6 @@ export const UpdateRollingReleaseConfigRequest$outboundSchema: z.ZodType< 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 UpdateRollingReleaseConfigRequest$ { - /** @deprecated use `UpdateRollingReleaseConfigRequest$inboundSchema` instead. */ - export const inboundSchema = UpdateRollingReleaseConfigRequest$inboundSchema; - /** @deprecated use `UpdateRollingReleaseConfigRequest$outboundSchema` instead. */ - export const outboundSchema = - UpdateRollingReleaseConfigRequest$outboundSchema; - /** @deprecated use `UpdateRollingReleaseConfigRequest$Outbound` instead. */ - export type Outbound = UpdateRollingReleaseConfigRequest$Outbound; -} - export function updateRollingReleaseConfigRequestToJSON( updateRollingReleaseConfigRequest: UpdateRollingReleaseConfigRequest, ): string { @@ -112,7 +97,6 @@ export function updateRollingReleaseConfigRequestToJSON( ), ); } - export function updateRollingReleaseConfigRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -134,7 +118,6 @@ export const ResponseBodyStages$inboundSchema: z.ZodType< duration: z.number().optional(), linearShift: z.boolean().optional(), }); - /** @internal */ export type ResponseBodyStages$Outbound = { targetPercentage: number; @@ -155,19 +138,6 @@ export const ResponseBodyStages$outboundSchema: z.ZodType< linearShift: 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 ResponseBodyStages$ { - /** @deprecated use `ResponseBodyStages$inboundSchema` instead. */ - export const inboundSchema = ResponseBodyStages$inboundSchema; - /** @deprecated use `ResponseBodyStages$outboundSchema` instead. */ - export const outboundSchema = ResponseBodyStages$outboundSchema; - /** @deprecated use `ResponseBodyStages$Outbound` instead. */ - export type Outbound = ResponseBodyStages$Outbound; -} - export function responseBodyStagesToJSON( responseBodyStages: ResponseBodyStages, ): string { @@ -175,7 +145,6 @@ export function responseBodyStagesToJSON( ResponseBodyStages$outboundSchema.parse(responseBodyStages), ); } - export function responseBodyStagesFromJSON( jsonString: string, ): SafeParseResult { @@ -195,7 +164,6 @@ export const ResponseBodyRollingRelease$inboundSchema: z.ZodType< stages: z.nullable(z.array(z.lazy(() => ResponseBodyStages$inboundSchema))) .optional(), }); - /** @internal */ export type ResponseBodyRollingRelease$Outbound = { stages?: Array | null | undefined; @@ -211,19 +179,6 @@ export const ResponseBodyRollingRelease$outboundSchema: z.ZodType< .optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ResponseBodyRollingRelease$ { - /** @deprecated use `ResponseBodyRollingRelease$inboundSchema` instead. */ - export const inboundSchema = ResponseBodyRollingRelease$inboundSchema; - /** @deprecated use `ResponseBodyRollingRelease$outboundSchema` instead. */ - export const outboundSchema = ResponseBodyRollingRelease$outboundSchema; - /** @deprecated use `ResponseBodyRollingRelease$Outbound` instead. */ - export type Outbound = ResponseBodyRollingRelease$Outbound; -} - export function responseBodyRollingReleaseToJSON( responseBodyRollingRelease: ResponseBodyRollingRelease, ): string { @@ -231,7 +186,6 @@ export function responseBodyRollingReleaseToJSON( ResponseBodyRollingRelease$outboundSchema.parse(responseBodyRollingRelease), ); } - export function responseBodyRollingReleaseFromJSON( jsonString: string, ): SafeParseResult { @@ -252,7 +206,6 @@ export const UpdateRollingReleaseConfigResponseBody2$inboundSchema: z.ZodType< z.lazy(() => ResponseBodyRollingRelease$inboundSchema), ), }); - /** @internal */ export type UpdateRollingReleaseConfigResponseBody2$Outbound = { rollingRelease: ResponseBodyRollingRelease$Outbound | null; @@ -269,21 +222,6 @@ export const UpdateRollingReleaseConfigResponseBody2$outboundSchema: z.ZodType< ), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateRollingReleaseConfigResponseBody2$ { - /** @deprecated use `UpdateRollingReleaseConfigResponseBody2$inboundSchema` instead. */ - export const inboundSchema = - UpdateRollingReleaseConfigResponseBody2$inboundSchema; - /** @deprecated use `UpdateRollingReleaseConfigResponseBody2$outboundSchema` instead. */ - export const outboundSchema = - UpdateRollingReleaseConfigResponseBody2$outboundSchema; - /** @deprecated use `UpdateRollingReleaseConfigResponseBody2$Outbound` instead. */ - export type Outbound = UpdateRollingReleaseConfigResponseBody2$Outbound; -} - export function updateRollingReleaseConfigResponseBody2ToJSON( updateRollingReleaseConfigResponseBody2: UpdateRollingReleaseConfigResponseBody2, @@ -294,7 +232,6 @@ export function updateRollingReleaseConfigResponseBody2ToJSON( ), ); } - export function updateRollingReleaseConfigResponseBody2FromJSON( jsonString: string, ): SafeParseResult< @@ -319,7 +256,6 @@ export const UpdateRollingReleaseConfigResponseBody1$inboundSchema: z.ZodType< > = z.object({ rollingRelease: z.nullable(z.any()).optional(), }); - /** @internal */ export type UpdateRollingReleaseConfigResponseBody1$Outbound = { rollingRelease?: any | null | undefined; @@ -334,21 +270,6 @@ export const UpdateRollingReleaseConfigResponseBody1$outboundSchema: z.ZodType< rollingRelease: 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 UpdateRollingReleaseConfigResponseBody1$ { - /** @deprecated use `UpdateRollingReleaseConfigResponseBody1$inboundSchema` instead. */ - export const inboundSchema = - UpdateRollingReleaseConfigResponseBody1$inboundSchema; - /** @deprecated use `UpdateRollingReleaseConfigResponseBody1$outboundSchema` instead. */ - export const outboundSchema = - UpdateRollingReleaseConfigResponseBody1$outboundSchema; - /** @deprecated use `UpdateRollingReleaseConfigResponseBody1$Outbound` instead. */ - export type Outbound = UpdateRollingReleaseConfigResponseBody1$Outbound; -} - export function updateRollingReleaseConfigResponseBody1ToJSON( updateRollingReleaseConfigResponseBody1: UpdateRollingReleaseConfigResponseBody1, @@ -359,7 +280,6 @@ export function updateRollingReleaseConfigResponseBody1ToJSON( ), ); } - export function updateRollingReleaseConfigResponseBody1FromJSON( jsonString: string, ): SafeParseResult< @@ -385,7 +305,6 @@ export const UpdateRollingReleaseConfigResponseBody$inboundSchema: z.ZodType< z.lazy(() => UpdateRollingReleaseConfigResponseBody1$inboundSchema), z.lazy(() => UpdateRollingReleaseConfigResponseBody2$inboundSchema), ]); - /** @internal */ export type UpdateRollingReleaseConfigResponseBody$Outbound = | UpdateRollingReleaseConfigResponseBody1$Outbound @@ -401,21 +320,6 @@ export const UpdateRollingReleaseConfigResponseBody$outboundSchema: z.ZodType< z.lazy(() => UpdateRollingReleaseConfigResponseBody2$outboundSchema), ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UpdateRollingReleaseConfigResponseBody$ { - /** @deprecated use `UpdateRollingReleaseConfigResponseBody$inboundSchema` instead. */ - export const inboundSchema = - UpdateRollingReleaseConfigResponseBody$inboundSchema; - /** @deprecated use `UpdateRollingReleaseConfigResponseBody$outboundSchema` instead. */ - export const outboundSchema = - UpdateRollingReleaseConfigResponseBody$outboundSchema; - /** @deprecated use `UpdateRollingReleaseConfigResponseBody$Outbound` instead. */ - export type Outbound = UpdateRollingReleaseConfigResponseBody$Outbound; -} - export function updateRollingReleaseConfigResponseBodyToJSON( updateRollingReleaseConfigResponseBody: UpdateRollingReleaseConfigResponseBody, @@ -426,7 +330,6 @@ export function updateRollingReleaseConfigResponseBodyToJSON( ), ); } - export function updateRollingReleaseConfigResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/updatesharedenvvariableop.ts b/src/models/updatesharedenvvariableop.ts new file mode 100644 index 000000000..09f9d1e00 --- /dev/null +++ b/src/models/updatesharedenvvariableop.ts @@ -0,0 +1,861 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +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 UpdateSharedEnvVariableTarget = { + Production: "production", + Preview: "preview", + Development: "development", +} as const; +export type UpdateSharedEnvVariableTarget = ClosedEnum< + typeof UpdateSharedEnvVariableTarget +>; + +/** + * Incrementally update project associations without specifying the full list + */ +export type ProjectIdUpdates = { + /** + * Project IDs to add to this environment variable + */ + link?: Array | undefined; + /** + * Project IDs to remove from this environment variable + */ + unlink?: Array | undefined; +}; + +/** + * The new type of the Shared Environment Variable + */ +export const UpdateSharedEnvVariableType = { + Encrypted: "encrypted", + Sensitive: "sensitive", +} as const; +/** + * The new type of the Shared Environment Variable + */ +export type UpdateSharedEnvVariableType = ClosedEnum< + typeof UpdateSharedEnvVariableType +>; + +export type Updates = { + /** + * The name of the Shared Environment Variable + */ + key?: string | undefined; + /** + * The value of the Shared Environment Variable + */ + value?: string | undefined; + /** + * The target environment of the Shared Environment Variable + */ + target?: Array | undefined; + /** + * Associate a Shared Environment Variable to projects. + */ + projectId?: Array | undefined; + /** + * Incrementally update project associations without specifying the full list + */ + projectIdUpdates?: ProjectIdUpdates | undefined; + /** + * The new type of the Shared Environment Variable + */ + type?: UpdateSharedEnvVariableType | undefined; + /** + * A comment to add context on what this Shared Environment Variable is for + */ + comment?: string | undefined; +}; + +export type UpdateSharedEnvVariableRequestBody = { + updates: { [k: string]: Updates }; +}; + +export type UpdateSharedEnvVariableRequest = { + /** + * 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?: UpdateSharedEnvVariableRequestBody | undefined; +}; + +/** + * The type of this cosmos doc instance, if blank, assume secret. + */ +export const UpdateSharedEnvVariableEnvironmentType = { + Encrypted: "encrypted", + Sensitive: "sensitive", + System: "system", + Plain: "plain", +} as const; +/** + * The type of this cosmos doc instance, if blank, assume secret. + */ +export type UpdateSharedEnvVariableEnvironmentType = ClosedEnum< + typeof UpdateSharedEnvVariableEnvironmentType +>; + +/** + * environments this env variable targets + */ +export const UpdateSharedEnvVariableEnvironmentTarget = { + Production: "production", + Preview: "preview", + Development: "development", +} as const; +/** + * environments this env variable targets + */ +export type UpdateSharedEnvVariableEnvironmentTarget = ClosedEnum< + typeof UpdateSharedEnvVariableEnvironmentTarget +>; + +export type Updated = { + /** + * The date when the Shared Env Var was created. + */ + created?: Date | undefined; + /** + * The name of the Shared Env Var. + */ + key?: string | undefined; + /** + * The unique identifier of the owner (team) the Shared Env Var was created for. + */ + ownerId?: string | null | undefined; + /** + * The unique identifier of the Shared Env Var. + */ + id?: string | undefined; + /** + * The unique identifier of the user who created the Shared Env Var. + */ + createdBy?: string | null | undefined; + /** + * The unique identifier of the user who deleted the Shared Env Var. + */ + deletedBy?: string | null | undefined; + /** + * The unique identifier of the user who last updated the Shared Env Var. + */ + updatedBy?: string | null | undefined; + /** + * Timestamp for when the Shared Env Var was created. + */ + createdAt?: number | undefined; + /** + * Timestamp for when the Shared Env Var was (soft) deleted. + */ + deletedAt?: number | undefined; + /** + * Timestamp for when the Shared Env Var was last updated. + */ + updatedAt?: number | undefined; + /** + * The value of the Shared Env Var. + */ + value?: string | undefined; + /** + * The unique identifiers of the projects which the Shared Env Var is linked to. + */ + projectId?: Array | undefined; + /** + * The type of this cosmos doc instance, if blank, assume secret. + */ + type?: UpdateSharedEnvVariableEnvironmentType | undefined; + /** + * environments this env variable targets + */ + target?: Array | undefined; + /** + * whether or not this env varible applies to custom environments + */ + applyToAllCustomEnvironments?: boolean | undefined; + /** + * whether or not this env variable is decrypted + */ + decrypted?: boolean | undefined; + /** + * A user provided comment that describes what this Shared Env Var is for. + */ + comment?: string | undefined; + /** + * The last editor full name or username. + */ + lastEditedByDisplayName?: string | undefined; +}; + +export const UpdateSharedEnvVariableValue2 = { + Production: "production", + Preview: "preview", + Development: "development", +} as const; +export type UpdateSharedEnvVariableValue2 = ClosedEnum< + typeof UpdateSharedEnvVariableValue2 +>; + +export type UpdateSharedEnvVariableValue = + | string + | Array; + +export const UpdateSharedEnvVariableTarget2 = { + Production: "production", + Preview: "preview", + Development: "development", +} as const; +export type UpdateSharedEnvVariableTarget2 = ClosedEnum< + typeof UpdateSharedEnvVariableTarget2 +>; + +export const UpdateSharedEnvVariableTarget1 = { + Production: "production", + Preview: "preview", + Development: "development", +} as const; +export type UpdateSharedEnvVariableTarget1 = ClosedEnum< + typeof UpdateSharedEnvVariableTarget1 +>; + +export type UpdateSharedEnvVariableEnvironmentResponseTarget = + | Array + | UpdateSharedEnvVariableTarget2; + +export type UpdateSharedEnvVariableError = { + 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 + | UpdateSharedEnvVariableTarget2 + | undefined; + project?: string | undefined; +}; + +export type UpdateSharedEnvVariableFailed = { + error: UpdateSharedEnvVariableError; +}; + +export type UpdateSharedEnvVariableResponseBody = { + updated: Array; + failed: Array; +}; + +/** @internal */ +export const UpdateSharedEnvVariableTarget$inboundSchema: z.ZodNativeEnum< + typeof UpdateSharedEnvVariableTarget +> = z.nativeEnum(UpdateSharedEnvVariableTarget); +/** @internal */ +export const UpdateSharedEnvVariableTarget$outboundSchema: z.ZodNativeEnum< + typeof UpdateSharedEnvVariableTarget +> = UpdateSharedEnvVariableTarget$inboundSchema; + +/** @internal */ +export const ProjectIdUpdates$inboundSchema: z.ZodType< + ProjectIdUpdates, + z.ZodTypeDef, + unknown +> = z.object({ + link: z.array(z.string()).optional(), + unlink: z.array(z.string()).optional(), +}); +/** @internal */ +export type ProjectIdUpdates$Outbound = { + link?: Array | undefined; + unlink?: Array | undefined; +}; + +/** @internal */ +export const ProjectIdUpdates$outboundSchema: z.ZodType< + ProjectIdUpdates$Outbound, + z.ZodTypeDef, + ProjectIdUpdates +> = z.object({ + link: z.array(z.string()).optional(), + unlink: z.array(z.string()).optional(), +}); + +export function projectIdUpdatesToJSON( + projectIdUpdates: ProjectIdUpdates, +): string { + return JSON.stringify( + ProjectIdUpdates$outboundSchema.parse(projectIdUpdates), + ); +} +export function projectIdUpdatesFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ProjectIdUpdates$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ProjectIdUpdates' from JSON`, + ); +} + +/** @internal */ +export const UpdateSharedEnvVariableType$inboundSchema: z.ZodNativeEnum< + typeof UpdateSharedEnvVariableType +> = z.nativeEnum(UpdateSharedEnvVariableType); +/** @internal */ +export const UpdateSharedEnvVariableType$outboundSchema: z.ZodNativeEnum< + typeof UpdateSharedEnvVariableType +> = UpdateSharedEnvVariableType$inboundSchema; + +/** @internal */ +export const Updates$inboundSchema: z.ZodType = + z.object({ + key: z.string().optional(), + value: z.string().optional(), + target: z.array(UpdateSharedEnvVariableTarget$inboundSchema).optional(), + projectId: z.array(z.string()).optional(), + projectIdUpdates: z.lazy(() => ProjectIdUpdates$inboundSchema).optional(), + type: UpdateSharedEnvVariableType$inboundSchema.optional(), + comment: z.string().optional(), + }); +/** @internal */ +export type Updates$Outbound = { + key?: string | undefined; + value?: string | undefined; + target?: Array | undefined; + projectId?: Array | undefined; + projectIdUpdates?: ProjectIdUpdates$Outbound | undefined; + type?: string | undefined; + comment?: string | undefined; +}; + +/** @internal */ +export const Updates$outboundSchema: z.ZodType< + Updates$Outbound, + z.ZodTypeDef, + Updates +> = z.object({ + key: z.string().optional(), + value: z.string().optional(), + target: z.array(UpdateSharedEnvVariableTarget$outboundSchema).optional(), + projectId: z.array(z.string()).optional(), + projectIdUpdates: z.lazy(() => ProjectIdUpdates$outboundSchema).optional(), + type: UpdateSharedEnvVariableType$outboundSchema.optional(), + comment: z.string().optional(), +}); + +export function updatesToJSON(updates: Updates): string { + return JSON.stringify(Updates$outboundSchema.parse(updates)); +} +export function updatesFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Updates$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Updates' from JSON`, + ); +} + +/** @internal */ +export const UpdateSharedEnvVariableRequestBody$inboundSchema: z.ZodType< + UpdateSharedEnvVariableRequestBody, + z.ZodTypeDef, + unknown +> = z.object({ + updates: z.record(z.lazy(() => Updates$inboundSchema)), +}); +/** @internal */ +export type UpdateSharedEnvVariableRequestBody$Outbound = { + updates: { [k: string]: Updates$Outbound }; +}; + +/** @internal */ +export const UpdateSharedEnvVariableRequestBody$outboundSchema: z.ZodType< + UpdateSharedEnvVariableRequestBody$Outbound, + z.ZodTypeDef, + UpdateSharedEnvVariableRequestBody +> = z.object({ + updates: z.record(z.lazy(() => Updates$outboundSchema)), +}); + +export function updateSharedEnvVariableRequestBodyToJSON( + updateSharedEnvVariableRequestBody: UpdateSharedEnvVariableRequestBody, +): string { + return JSON.stringify( + UpdateSharedEnvVariableRequestBody$outboundSchema.parse( + updateSharedEnvVariableRequestBody, + ), + ); +} +export function updateSharedEnvVariableRequestBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + UpdateSharedEnvVariableRequestBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateSharedEnvVariableRequestBody' from JSON`, + ); +} + +/** @internal */ +export const UpdateSharedEnvVariableRequest$inboundSchema: z.ZodType< + UpdateSharedEnvVariableRequest, + z.ZodTypeDef, + unknown +> = z.object({ + teamId: z.string().optional(), + slug: z.string().optional(), + RequestBody: z.lazy(() => UpdateSharedEnvVariableRequestBody$inboundSchema) + .optional(), +}).transform((v) => { + return remap$(v, { + "RequestBody": "requestBody", + }); +}); +/** @internal */ +export type UpdateSharedEnvVariableRequest$Outbound = { + teamId?: string | undefined; + slug?: string | undefined; + RequestBody?: UpdateSharedEnvVariableRequestBody$Outbound | undefined; +}; + +/** @internal */ +export const UpdateSharedEnvVariableRequest$outboundSchema: z.ZodType< + UpdateSharedEnvVariableRequest$Outbound, + z.ZodTypeDef, + UpdateSharedEnvVariableRequest +> = z.object({ + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => UpdateSharedEnvVariableRequestBody$outboundSchema) + .optional(), +}).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); +}); + +export function updateSharedEnvVariableRequestToJSON( + updateSharedEnvVariableRequest: UpdateSharedEnvVariableRequest, +): string { + return JSON.stringify( + UpdateSharedEnvVariableRequest$outboundSchema.parse( + updateSharedEnvVariableRequest, + ), + ); +} +export function updateSharedEnvVariableRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateSharedEnvVariableRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateSharedEnvVariableRequest' from JSON`, + ); +} + +/** @internal */ +export const UpdateSharedEnvVariableEnvironmentType$inboundSchema: + z.ZodNativeEnum = z.nativeEnum( + UpdateSharedEnvVariableEnvironmentType, + ); +/** @internal */ +export const UpdateSharedEnvVariableEnvironmentType$outboundSchema: + z.ZodNativeEnum = + UpdateSharedEnvVariableEnvironmentType$inboundSchema; + +/** @internal */ +export const UpdateSharedEnvVariableEnvironmentTarget$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(UpdateSharedEnvVariableEnvironmentTarget); +/** @internal */ +export const UpdateSharedEnvVariableEnvironmentTarget$outboundSchema: + z.ZodNativeEnum = + UpdateSharedEnvVariableEnvironmentTarget$inboundSchema; + +/** @internal */ +export const Updated$inboundSchema: z.ZodType = + z.object({ + created: z.string().datetime({ offset: true }).transform(v => new Date(v)) + .optional(), + key: z.string().optional(), + ownerId: z.nullable(z.string()).optional(), + id: z.string().optional(), + createdBy: z.nullable(z.string()).optional(), + deletedBy: z.nullable(z.string()).optional(), + updatedBy: z.nullable(z.string()).optional(), + createdAt: z.number().optional(), + deletedAt: z.number().optional(), + updatedAt: z.number().optional(), + value: z.string().optional(), + projectId: z.array(z.string()).optional(), + type: UpdateSharedEnvVariableEnvironmentType$inboundSchema.optional(), + target: z.array(UpdateSharedEnvVariableEnvironmentTarget$inboundSchema) + .optional(), + applyToAllCustomEnvironments: z.boolean().optional(), + decrypted: z.boolean().optional(), + comment: z.string().optional(), + lastEditedByDisplayName: z.string().optional(), + }); +/** @internal */ +export type Updated$Outbound = { + created?: string | undefined; + key?: string | undefined; + ownerId?: string | null | undefined; + id?: string | undefined; + createdBy?: string | null | undefined; + deletedBy?: string | null | undefined; + updatedBy?: string | null | undefined; + createdAt?: number | undefined; + deletedAt?: number | undefined; + updatedAt?: number | undefined; + value?: string | undefined; + projectId?: Array | undefined; + type?: string | undefined; + target?: Array | undefined; + applyToAllCustomEnvironments?: boolean | undefined; + decrypted?: boolean | undefined; + comment?: string | undefined; + lastEditedByDisplayName?: string | undefined; +}; + +/** @internal */ +export const Updated$outboundSchema: z.ZodType< + Updated$Outbound, + z.ZodTypeDef, + Updated +> = z.object({ + created: z.date().transform(v => v.toISOString()).optional(), + key: z.string().optional(), + ownerId: z.nullable(z.string()).optional(), + id: z.string().optional(), + createdBy: z.nullable(z.string()).optional(), + deletedBy: z.nullable(z.string()).optional(), + updatedBy: z.nullable(z.string()).optional(), + createdAt: z.number().optional(), + deletedAt: z.number().optional(), + updatedAt: z.number().optional(), + value: z.string().optional(), + projectId: z.array(z.string()).optional(), + type: UpdateSharedEnvVariableEnvironmentType$outboundSchema.optional(), + target: z.array(UpdateSharedEnvVariableEnvironmentTarget$outboundSchema) + .optional(), + applyToAllCustomEnvironments: z.boolean().optional(), + decrypted: z.boolean().optional(), + comment: z.string().optional(), + lastEditedByDisplayName: z.string().optional(), +}); + +export function updatedToJSON(updated: Updated): string { + return JSON.stringify(Updated$outboundSchema.parse(updated)); +} +export function updatedFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Updated$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Updated' from JSON`, + ); +} + +/** @internal */ +export const UpdateSharedEnvVariableValue2$inboundSchema: z.ZodNativeEnum< + typeof UpdateSharedEnvVariableValue2 +> = z.nativeEnum(UpdateSharedEnvVariableValue2); +/** @internal */ +export const UpdateSharedEnvVariableValue2$outboundSchema: z.ZodNativeEnum< + typeof UpdateSharedEnvVariableValue2 +> = UpdateSharedEnvVariableValue2$inboundSchema; + +/** @internal */ +export const UpdateSharedEnvVariableValue$inboundSchema: z.ZodType< + UpdateSharedEnvVariableValue, + z.ZodTypeDef, + unknown +> = z.union([z.string(), z.array(UpdateSharedEnvVariableValue2$inboundSchema)]); +/** @internal */ +export type UpdateSharedEnvVariableValue$Outbound = string | Array; + +/** @internal */ +export const UpdateSharedEnvVariableValue$outboundSchema: z.ZodType< + UpdateSharedEnvVariableValue$Outbound, + z.ZodTypeDef, + UpdateSharedEnvVariableValue +> = z.union([ + z.string(), + z.array(UpdateSharedEnvVariableValue2$outboundSchema), +]); + +export function updateSharedEnvVariableValueToJSON( + updateSharedEnvVariableValue: UpdateSharedEnvVariableValue, +): string { + return JSON.stringify( + UpdateSharedEnvVariableValue$outboundSchema.parse( + updateSharedEnvVariableValue, + ), + ); +} +export function updateSharedEnvVariableValueFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateSharedEnvVariableValue$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateSharedEnvVariableValue' from JSON`, + ); +} + +/** @internal */ +export const UpdateSharedEnvVariableTarget2$inboundSchema: z.ZodNativeEnum< + typeof UpdateSharedEnvVariableTarget2 +> = z.nativeEnum(UpdateSharedEnvVariableTarget2); +/** @internal */ +export const UpdateSharedEnvVariableTarget2$outboundSchema: z.ZodNativeEnum< + typeof UpdateSharedEnvVariableTarget2 +> = UpdateSharedEnvVariableTarget2$inboundSchema; + +/** @internal */ +export const UpdateSharedEnvVariableTarget1$inboundSchema: z.ZodNativeEnum< + typeof UpdateSharedEnvVariableTarget1 +> = z.nativeEnum(UpdateSharedEnvVariableTarget1); +/** @internal */ +export const UpdateSharedEnvVariableTarget1$outboundSchema: z.ZodNativeEnum< + typeof UpdateSharedEnvVariableTarget1 +> = UpdateSharedEnvVariableTarget1$inboundSchema; + +/** @internal */ +export const UpdateSharedEnvVariableEnvironmentResponseTarget$inboundSchema: + z.ZodType< + UpdateSharedEnvVariableEnvironmentResponseTarget, + z.ZodTypeDef, + unknown + > = z.union([ + z.array(UpdateSharedEnvVariableTarget1$inboundSchema), + UpdateSharedEnvVariableTarget2$inboundSchema, + ]); +/** @internal */ +export type UpdateSharedEnvVariableEnvironmentResponseTarget$Outbound = + | Array + | string; + +/** @internal */ +export const UpdateSharedEnvVariableEnvironmentResponseTarget$outboundSchema: + z.ZodType< + UpdateSharedEnvVariableEnvironmentResponseTarget$Outbound, + z.ZodTypeDef, + UpdateSharedEnvVariableEnvironmentResponseTarget + > = z.union([ + z.array(UpdateSharedEnvVariableTarget1$outboundSchema), + UpdateSharedEnvVariableTarget2$outboundSchema, + ]); + +export function updateSharedEnvVariableEnvironmentResponseTargetToJSON( + updateSharedEnvVariableEnvironmentResponseTarget: + UpdateSharedEnvVariableEnvironmentResponseTarget, +): string { + return JSON.stringify( + UpdateSharedEnvVariableEnvironmentResponseTarget$outboundSchema.parse( + updateSharedEnvVariableEnvironmentResponseTarget, + ), + ); +} +export function updateSharedEnvVariableEnvironmentResponseTargetFromJSON( + jsonString: string, +): SafeParseResult< + UpdateSharedEnvVariableEnvironmentResponseTarget, + SDKValidationError +> { + return safeParse( + jsonString, + (x) => + UpdateSharedEnvVariableEnvironmentResponseTarget$inboundSchema.parse( + JSON.parse(x), + ), + `Failed to parse 'UpdateSharedEnvVariableEnvironmentResponseTarget' from JSON`, + ); +} + +/** @internal */ +export const UpdateSharedEnvVariableError$inboundSchema: z.ZodType< + UpdateSharedEnvVariableError, + 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(UpdateSharedEnvVariableValue2$inboundSchema), + ]).optional(), + gitBranch: z.string().optional(), + target: z.union([ + z.array(UpdateSharedEnvVariableTarget1$inboundSchema), + UpdateSharedEnvVariableTarget2$inboundSchema, + ]).optional(), + project: z.string().optional(), +}); +/** @internal */ +export type UpdateSharedEnvVariableError$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 UpdateSharedEnvVariableError$outboundSchema: z.ZodType< + UpdateSharedEnvVariableError$Outbound, + z.ZodTypeDef, + UpdateSharedEnvVariableError +> = 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(UpdateSharedEnvVariableValue2$outboundSchema), + ]).optional(), + gitBranch: z.string().optional(), + target: z.union([ + z.array(UpdateSharedEnvVariableTarget1$outboundSchema), + UpdateSharedEnvVariableTarget2$outboundSchema, + ]).optional(), + project: z.string().optional(), +}); + +export function updateSharedEnvVariableErrorToJSON( + updateSharedEnvVariableError: UpdateSharedEnvVariableError, +): string { + return JSON.stringify( + UpdateSharedEnvVariableError$outboundSchema.parse( + updateSharedEnvVariableError, + ), + ); +} +export function updateSharedEnvVariableErrorFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateSharedEnvVariableError$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateSharedEnvVariableError' from JSON`, + ); +} + +/** @internal */ +export const UpdateSharedEnvVariableFailed$inboundSchema: z.ZodType< + UpdateSharedEnvVariableFailed, + z.ZodTypeDef, + unknown +> = z.object({ + error: z.lazy(() => UpdateSharedEnvVariableError$inboundSchema), +}); +/** @internal */ +export type UpdateSharedEnvVariableFailed$Outbound = { + error: UpdateSharedEnvVariableError$Outbound; +}; + +/** @internal */ +export const UpdateSharedEnvVariableFailed$outboundSchema: z.ZodType< + UpdateSharedEnvVariableFailed$Outbound, + z.ZodTypeDef, + UpdateSharedEnvVariableFailed +> = z.object({ + error: z.lazy(() => UpdateSharedEnvVariableError$outboundSchema), +}); + +export function updateSharedEnvVariableFailedToJSON( + updateSharedEnvVariableFailed: UpdateSharedEnvVariableFailed, +): string { + return JSON.stringify( + UpdateSharedEnvVariableFailed$outboundSchema.parse( + updateSharedEnvVariableFailed, + ), + ); +} +export function updateSharedEnvVariableFailedFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateSharedEnvVariableFailed$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateSharedEnvVariableFailed' from JSON`, + ); +} + +/** @internal */ +export const UpdateSharedEnvVariableResponseBody$inboundSchema: z.ZodType< + UpdateSharedEnvVariableResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + updated: z.array(z.lazy(() => Updated$inboundSchema)), + failed: z.array(z.lazy(() => UpdateSharedEnvVariableFailed$inboundSchema)), +}); +/** @internal */ +export type UpdateSharedEnvVariableResponseBody$Outbound = { + updated: Array; + failed: Array; +}; + +/** @internal */ +export const UpdateSharedEnvVariableResponseBody$outboundSchema: z.ZodType< + UpdateSharedEnvVariableResponseBody$Outbound, + z.ZodTypeDef, + UpdateSharedEnvVariableResponseBody +> = z.object({ + updated: z.array(z.lazy(() => Updated$outboundSchema)), + failed: z.array(z.lazy(() => UpdateSharedEnvVariableFailed$outboundSchema)), +}); + +export function updateSharedEnvVariableResponseBodyToJSON( + updateSharedEnvVariableResponseBody: UpdateSharedEnvVariableResponseBody, +): string { + return JSON.stringify( + UpdateSharedEnvVariableResponseBody$outboundSchema.parse( + updateSharedEnvVariableResponseBody, + ), + ); +} +export function updateSharedEnvVariableResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + UpdateSharedEnvVariableResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateSharedEnvVariableResponseBody' from JSON`, + ); +} diff --git a/src/models/updatestaticipsop.ts b/src/models/updatestaticipsop.ts new file mode 100644 index 000000000..b6c71fd32 --- /dev/null +++ b/src/models/updatestaticipsop.ts @@ -0,0 +1,413 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +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 UpdateStaticIpsRequestBody2 = { + /** + * Whether to use Static IPs for builds. + */ + builds?: boolean | undefined; + regions: Array; +}; + +export type UpdateStaticIpsRequestBody1 = { + /** + * Whether to use Static IPs for builds. + */ + builds: boolean; + regions?: Array | undefined; +}; + +export type UpdateStaticIpsRequestBody = + | UpdateStaticIpsRequestBody1 + | UpdateStaticIpsRequestBody2; + +export type UpdateStaticIpsRequest = { + /** + * 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?: + | UpdateStaticIpsRequestBody1 + | UpdateStaticIpsRequestBody2 + | undefined; +}; + +export const UpdateStaticIpsEnvId2 = { + Preview: "preview", + Production: "production", +} as const; +export type UpdateStaticIpsEnvId2 = ClosedEnum; + +export type UpdateStaticIpsEnvId = string | UpdateStaticIpsEnvId2; + +export type UpdateStaticIpsAws = { + subnetIds: Array; + securityGroupId: string; +}; + +export type UpdateStaticIpsResponseBody = { + envId: string | UpdateStaticIpsEnvId2; + connectConfigurationId: string; + dc?: string | undefined; + passive: boolean; + buildsEnabled: boolean; + aws?: UpdateStaticIpsAws | undefined; + createdAt: number; + updatedAt: number; +}; + +/** @internal */ +export const UpdateStaticIpsRequestBody2$inboundSchema: z.ZodType< + UpdateStaticIpsRequestBody2, + z.ZodTypeDef, + unknown +> = z.object({ + builds: z.boolean().optional(), + regions: z.array(z.string()), +}); +/** @internal */ +export type UpdateStaticIpsRequestBody2$Outbound = { + builds?: boolean | undefined; + regions: Array; +}; + +/** @internal */ +export const UpdateStaticIpsRequestBody2$outboundSchema: z.ZodType< + UpdateStaticIpsRequestBody2$Outbound, + z.ZodTypeDef, + UpdateStaticIpsRequestBody2 +> = z.object({ + builds: z.boolean().optional(), + regions: z.array(z.string()), +}); + +export function updateStaticIpsRequestBody2ToJSON( + updateStaticIpsRequestBody2: UpdateStaticIpsRequestBody2, +): string { + return JSON.stringify( + UpdateStaticIpsRequestBody2$outboundSchema.parse( + updateStaticIpsRequestBody2, + ), + ); +} +export function updateStaticIpsRequestBody2FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateStaticIpsRequestBody2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateStaticIpsRequestBody2' from JSON`, + ); +} + +/** @internal */ +export const UpdateStaticIpsRequestBody1$inboundSchema: z.ZodType< + UpdateStaticIpsRequestBody1, + z.ZodTypeDef, + unknown +> = z.object({ + builds: z.boolean(), + regions: z.array(z.string()).optional(), +}); +/** @internal */ +export type UpdateStaticIpsRequestBody1$Outbound = { + builds: boolean; + regions?: Array | undefined; +}; + +/** @internal */ +export const UpdateStaticIpsRequestBody1$outboundSchema: z.ZodType< + UpdateStaticIpsRequestBody1$Outbound, + z.ZodTypeDef, + UpdateStaticIpsRequestBody1 +> = z.object({ + builds: z.boolean(), + regions: z.array(z.string()).optional(), +}); + +export function updateStaticIpsRequestBody1ToJSON( + updateStaticIpsRequestBody1: UpdateStaticIpsRequestBody1, +): string { + return JSON.stringify( + UpdateStaticIpsRequestBody1$outboundSchema.parse( + updateStaticIpsRequestBody1, + ), + ); +} +export function updateStaticIpsRequestBody1FromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateStaticIpsRequestBody1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateStaticIpsRequestBody1' from JSON`, + ); +} + +/** @internal */ +export const UpdateStaticIpsRequestBody$inboundSchema: z.ZodType< + UpdateStaticIpsRequestBody, + z.ZodTypeDef, + unknown +> = z.union([ + z.lazy(() => UpdateStaticIpsRequestBody1$inboundSchema), + z.lazy(() => UpdateStaticIpsRequestBody2$inboundSchema), +]); +/** @internal */ +export type UpdateStaticIpsRequestBody$Outbound = + | UpdateStaticIpsRequestBody1$Outbound + | UpdateStaticIpsRequestBody2$Outbound; + +/** @internal */ +export const UpdateStaticIpsRequestBody$outboundSchema: z.ZodType< + UpdateStaticIpsRequestBody$Outbound, + z.ZodTypeDef, + UpdateStaticIpsRequestBody +> = z.union([ + z.lazy(() => UpdateStaticIpsRequestBody1$outboundSchema), + z.lazy(() => UpdateStaticIpsRequestBody2$outboundSchema), +]); + +export function updateStaticIpsRequestBodyToJSON( + updateStaticIpsRequestBody: UpdateStaticIpsRequestBody, +): string { + return JSON.stringify( + UpdateStaticIpsRequestBody$outboundSchema.parse(updateStaticIpsRequestBody), + ); +} +export function updateStaticIpsRequestBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateStaticIpsRequestBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateStaticIpsRequestBody' from JSON`, + ); +} + +/** @internal */ +export const UpdateStaticIpsRequest$inboundSchema: z.ZodType< + UpdateStaticIpsRequest, + z.ZodTypeDef, + unknown +> = z.object({ + idOrName: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + RequestBody: z.union([ + z.lazy(() => UpdateStaticIpsRequestBody1$inboundSchema), + z.lazy(() => UpdateStaticIpsRequestBody2$inboundSchema), + ]).optional(), +}).transform((v) => { + return remap$(v, { + "RequestBody": "requestBody", + }); +}); +/** @internal */ +export type UpdateStaticIpsRequest$Outbound = { + idOrName: string; + teamId?: string | undefined; + slug?: string | undefined; + RequestBody?: + | UpdateStaticIpsRequestBody1$Outbound + | UpdateStaticIpsRequestBody2$Outbound + | undefined; +}; + +/** @internal */ +export const UpdateStaticIpsRequest$outboundSchema: z.ZodType< + UpdateStaticIpsRequest$Outbound, + z.ZodTypeDef, + UpdateStaticIpsRequest +> = z.object({ + idOrName: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.union([ + z.lazy(() => UpdateStaticIpsRequestBody1$outboundSchema), + z.lazy(() => UpdateStaticIpsRequestBody2$outboundSchema), + ]).optional(), +}).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); +}); + +export function updateStaticIpsRequestToJSON( + updateStaticIpsRequest: UpdateStaticIpsRequest, +): string { + return JSON.stringify( + UpdateStaticIpsRequest$outboundSchema.parse(updateStaticIpsRequest), + ); +} +export function updateStaticIpsRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateStaticIpsRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateStaticIpsRequest' from JSON`, + ); +} + +/** @internal */ +export const UpdateStaticIpsEnvId2$inboundSchema: z.ZodNativeEnum< + typeof UpdateStaticIpsEnvId2 +> = z.nativeEnum(UpdateStaticIpsEnvId2); +/** @internal */ +export const UpdateStaticIpsEnvId2$outboundSchema: z.ZodNativeEnum< + typeof UpdateStaticIpsEnvId2 +> = UpdateStaticIpsEnvId2$inboundSchema; + +/** @internal */ +export const UpdateStaticIpsEnvId$inboundSchema: z.ZodType< + UpdateStaticIpsEnvId, + z.ZodTypeDef, + unknown +> = z.union([z.string(), UpdateStaticIpsEnvId2$inboundSchema]); +/** @internal */ +export type UpdateStaticIpsEnvId$Outbound = string | string; + +/** @internal */ +export const UpdateStaticIpsEnvId$outboundSchema: z.ZodType< + UpdateStaticIpsEnvId$Outbound, + z.ZodTypeDef, + UpdateStaticIpsEnvId +> = z.union([z.string(), UpdateStaticIpsEnvId2$outboundSchema]); + +export function updateStaticIpsEnvIdToJSON( + updateStaticIpsEnvId: UpdateStaticIpsEnvId, +): string { + return JSON.stringify( + UpdateStaticIpsEnvId$outboundSchema.parse(updateStaticIpsEnvId), + ); +} +export function updateStaticIpsEnvIdFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateStaticIpsEnvId$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateStaticIpsEnvId' from JSON`, + ); +} + +/** @internal */ +export const UpdateStaticIpsAws$inboundSchema: z.ZodType< + UpdateStaticIpsAws, + z.ZodTypeDef, + unknown +> = z.object({ + subnetIds: z.array(z.string()), + securityGroupId: z.string(), +}); +/** @internal */ +export type UpdateStaticIpsAws$Outbound = { + subnetIds: Array; + securityGroupId: string; +}; + +/** @internal */ +export const UpdateStaticIpsAws$outboundSchema: z.ZodType< + UpdateStaticIpsAws$Outbound, + z.ZodTypeDef, + UpdateStaticIpsAws +> = z.object({ + subnetIds: z.array(z.string()), + securityGroupId: z.string(), +}); + +export function updateStaticIpsAwsToJSON( + updateStaticIpsAws: UpdateStaticIpsAws, +): string { + return JSON.stringify( + UpdateStaticIpsAws$outboundSchema.parse(updateStaticIpsAws), + ); +} +export function updateStaticIpsAwsFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateStaticIpsAws$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateStaticIpsAws' from JSON`, + ); +} + +/** @internal */ +export const UpdateStaticIpsResponseBody$inboundSchema: z.ZodType< + UpdateStaticIpsResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + envId: z.union([z.string(), UpdateStaticIpsEnvId2$inboundSchema]), + connectConfigurationId: z.string(), + dc: z.string().optional(), + passive: z.boolean(), + buildsEnabled: z.boolean(), + aws: z.lazy(() => UpdateStaticIpsAws$inboundSchema).optional(), + createdAt: z.number(), + updatedAt: z.number(), +}); +/** @internal */ +export type UpdateStaticIpsResponseBody$Outbound = { + envId: string | string; + connectConfigurationId: string; + dc?: string | undefined; + passive: boolean; + buildsEnabled: boolean; + aws?: UpdateStaticIpsAws$Outbound | undefined; + createdAt: number; + updatedAt: number; +}; + +/** @internal */ +export const UpdateStaticIpsResponseBody$outboundSchema: z.ZodType< + UpdateStaticIpsResponseBody$Outbound, + z.ZodTypeDef, + UpdateStaticIpsResponseBody +> = z.object({ + envId: z.union([z.string(), UpdateStaticIpsEnvId2$outboundSchema]), + connectConfigurationId: z.string(), + dc: z.string().optional(), + passive: z.boolean(), + buildsEnabled: z.boolean(), + aws: z.lazy(() => UpdateStaticIpsAws$outboundSchema).optional(), + createdAt: z.number(), + updatedAt: z.number(), +}); + +export function updateStaticIpsResponseBodyToJSON( + updateStaticIpsResponseBody: UpdateStaticIpsResponseBody, +): string { + return JSON.stringify( + UpdateStaticIpsResponseBody$outboundSchema.parse( + updateStaticIpsResponseBody, + ), + ); +} +export function updateStaticIpsResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UpdateStaticIpsResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdateStaticIpsResponseBody' from JSON`, + ); +} diff --git a/src/models/updateteammemberop.ts b/src/models/updateteammemberop.ts index 69a539e44..0b4dd7794 100644 --- a/src/models/updateteammemberop.ts +++ b/src/models/updateteammemberop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; @@ -73,23 +73,11 @@ export type UpdateTeamMemberResponseBody = { 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, @@ -99,7 +87,6 @@ export const UpdateTeamMemberProjects$inboundSchema: z.ZodType< projectId: z.string(), role: z.nullable(UpdateTeamMemberRole$inboundSchema), }); - /** @internal */ export type UpdateTeamMemberProjects$Outbound = { projectId: string; @@ -116,19 +103,6 @@ export const UpdateTeamMemberProjects$outboundSchema: z.ZodType< 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 { @@ -136,7 +110,6 @@ export function updateTeamMemberProjectsToJSON( UpdateTeamMemberProjects$outboundSchema.parse(updateTeamMemberProjects), ); } - export function updateTeamMemberProjectsFromJSON( jsonString: string, ): SafeParseResult { @@ -155,7 +128,6 @@ export const UpdateTeamMemberJoinedFrom$inboundSchema: z.ZodType< > = z.object({ ssoUserId: z.nullable(z.any()).optional(), }); - /** @internal */ export type UpdateTeamMemberJoinedFrom$Outbound = { ssoUserId?: any | null | undefined; @@ -170,19 +142,6 @@ export const UpdateTeamMemberJoinedFrom$outboundSchema: z.ZodType< 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 { @@ -190,7 +149,6 @@ export function updateTeamMemberJoinedFromToJSON( UpdateTeamMemberJoinedFrom$outboundSchema.parse(updateTeamMemberJoinedFrom), ); } - export function updateTeamMemberJoinedFromFromJSON( jsonString: string, ): SafeParseResult { @@ -213,7 +171,6 @@ export const UpdateTeamMemberRequestBody$inboundSchema: z.ZodType< .optional(), joinedFrom: z.lazy(() => UpdateTeamMemberJoinedFrom$inboundSchema).optional(), }); - /** @internal */ export type UpdateTeamMemberRequestBody$Outbound = { confirmed?: boolean | undefined; @@ -236,19 +193,6 @@ export const UpdateTeamMemberRequestBody$outboundSchema: z.ZodType< .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 { @@ -258,7 +202,6 @@ export function updateTeamMemberRequestBodyToJSON( ), ); } - export function updateTeamMemberRequestBodyFromJSON( jsonString: string, ): SafeParseResult { @@ -283,7 +226,6 @@ export const UpdateTeamMemberRequest$inboundSchema: z.ZodType< "RequestBody": "requestBody", }); }); - /** @internal */ export type UpdateTeamMemberRequest$Outbound = { uid: string; @@ -306,19 +248,6 @@ export const UpdateTeamMemberRequest$outboundSchema: z.ZodType< }); }); -/** - * @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 { @@ -326,7 +255,6 @@ export function updateTeamMemberRequestToJSON( UpdateTeamMemberRequest$outboundSchema.parse(updateTeamMemberRequest), ); } - export function updateTeamMemberRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -345,7 +273,6 @@ export const UpdateTeamMemberResponseBody$inboundSchema: z.ZodType< > = z.object({ id: z.string(), }); - /** @internal */ export type UpdateTeamMemberResponseBody$Outbound = { id: string; @@ -360,19 +287,6 @@ export const UpdateTeamMemberResponseBody$outboundSchema: z.ZodType< 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 { @@ -382,7 +296,6 @@ export function updateTeamMemberResponseBodyToJSON( ), ); } - export function updateTeamMemberResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/uploadartifactop.ts b/src/models/uploadartifactop.ts index 6320f27fc..f94138dd1 100644 --- a/src/models/uploadartifactop.ts +++ b/src/models/uploadartifactop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; @@ -84,7 +84,6 @@ export const UploadArtifactRequest$inboundSchema: z.ZodType< "RequestBody": "requestBody", }); }); - /** @internal */ export type UploadArtifactRequest$Outbound = { "Content-Length": number; @@ -129,19 +128,6 @@ export const UploadArtifactRequest$outboundSchema: z.ZodType< }); }); -/** - * @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 { @@ -149,7 +135,6 @@ export function uploadArtifactRequestToJSON( UploadArtifactRequest$outboundSchema.parse(uploadArtifactRequest), ); } - export function uploadArtifactRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -168,7 +153,6 @@ export const UploadArtifactResponseBody$inboundSchema: z.ZodType< > = z.object({ urls: z.array(z.string()), }); - /** @internal */ export type UploadArtifactResponseBody$Outbound = { urls: Array; @@ -183,19 +167,6 @@ export const UploadArtifactResponseBody$outboundSchema: z.ZodType< 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 { @@ -203,7 +174,6 @@ export function uploadArtifactResponseBodyToJSON( UploadArtifactResponseBody$outboundSchema.parse(uploadArtifactResponseBody), ); } - export function uploadArtifactResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/uploadcertop.ts b/src/models/uploadcertop.ts index af32fe99b..847c15488 100644 --- a/src/models/uploadcertop.ts +++ b/src/models/uploadcertop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; @@ -58,7 +58,6 @@ export const UploadCertRequestBody$inboundSchema: z.ZodType< cert: z.string(), skipValidation: z.boolean().optional(), }); - /** @internal */ export type UploadCertRequestBody$Outbound = { ca: string; @@ -79,19 +78,6 @@ export const UploadCertRequestBody$outboundSchema: z.ZodType< 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 { @@ -99,7 +85,6 @@ export function uploadCertRequestBodyToJSON( UploadCertRequestBody$outboundSchema.parse(uploadCertRequestBody), ); } - export function uploadCertRequestBodyFromJSON( jsonString: string, ): SafeParseResult { @@ -124,7 +109,6 @@ export const UploadCertRequest$inboundSchema: z.ZodType< "RequestBody": "requestBody", }); }); - /** @internal */ export type UploadCertRequest$Outbound = { teamId?: string | undefined; @@ -147,19 +131,6 @@ export const UploadCertRequest$outboundSchema: z.ZodType< }); }); -/** - * @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 { @@ -167,7 +138,6 @@ export function uploadCertRequestToJSON( UploadCertRequest$outboundSchema.parse(uploadCertRequest), ); } - export function uploadCertRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -190,7 +160,6 @@ export const UploadCertResponseBody$inboundSchema: z.ZodType< autoRenew: z.boolean(), cns: z.array(z.string()), }); - /** @internal */ export type UploadCertResponseBody$Outbound = { id: string; @@ -213,19 +182,6 @@ export const UploadCertResponseBody$outboundSchema: z.ZodType< 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 { @@ -233,7 +189,6 @@ export function uploadCertResponseBodyToJSON( UploadCertResponseBody$outboundSchema.parse(uploadCertResponseBody), ); } - export function uploadCertResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/uploadfileop.ts b/src/models/uploadfileop.ts index 00793f467..2d2cbfff7 100644 --- a/src/models/uploadfileop.ts +++ b/src/models/uploadfileop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; @@ -87,7 +87,6 @@ export const UploadFileRequest$inboundSchema: z.ZodType< "RequestBody": "requestBody", }); }); - /** @internal */ export type UploadFileRequest$Outbound = { "Content-Length"?: number | undefined; @@ -132,19 +131,6 @@ export const UploadFileRequest$outboundSchema: z.ZodType< }); }); -/** - * @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 { @@ -152,7 +138,6 @@ export function uploadFileRequestToJSON( UploadFileRequest$outboundSchema.parse(uploadFileRequest), ); } - export function uploadFileRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -169,7 +154,6 @@ export const UploadFileResponseBody2$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({}); - /** @internal */ export type UploadFileResponseBody2$Outbound = {}; @@ -180,19 +164,6 @@ export const UploadFileResponseBody2$outboundSchema: z.ZodType< 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 { @@ -200,7 +171,6 @@ export function uploadFileResponseBody2ToJSON( UploadFileResponseBody2$outboundSchema.parse(uploadFileResponseBody2), ); } - export function uploadFileResponseBody2FromJSON( jsonString: string, ): SafeParseResult { @@ -219,7 +189,6 @@ export const UploadFileResponseBody1$inboundSchema: z.ZodType< > = z.object({ urls: z.array(z.string()), }); - /** @internal */ export type UploadFileResponseBody1$Outbound = { urls: Array; @@ -234,19 +203,6 @@ export const UploadFileResponseBody1$outboundSchema: z.ZodType< 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 { @@ -254,7 +210,6 @@ export function uploadFileResponseBody1ToJSON( UploadFileResponseBody1$outboundSchema.parse(uploadFileResponseBody1), ); } - export function uploadFileResponseBody1FromJSON( jsonString: string, ): SafeParseResult { @@ -274,7 +229,6 @@ export const UploadFileResponseBody$inboundSchema: z.ZodType< z.lazy(() => UploadFileResponseBody1$inboundSchema), z.lazy(() => UploadFileResponseBody2$inboundSchema), ]); - /** @internal */ export type UploadFileResponseBody$Outbound = | UploadFileResponseBody1$Outbound @@ -290,19 +244,6 @@ export const UploadFileResponseBody$outboundSchema: z.ZodType< z.lazy(() => UploadFileResponseBody2$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 { @@ -310,7 +251,6 @@ export function uploadFileResponseBodyToJSON( UploadFileResponseBody$outboundSchema.parse(uploadFileResponseBody), ); } - export function uploadFileResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/uploadprojectclientcertop.ts b/src/models/uploadprojectclientcertop.ts new file mode 100644 index 000000000..fd296bbf0 --- /dev/null +++ b/src/models/uploadprojectclientcertop.ts @@ -0,0 +1,219 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import * as z from "zod/v3"; +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 UploadProjectClientCertRequestBody = { + /** + * The client certificate in PEM format + */ + cert: string; + /** + * The private key in PEM format + */ + key: string; + /** + * The certificate authority in PEM format + */ + ca: string; + /** + * The origin this certificate should be used for. If not specified, the certificate will be project-wide. + */ + origin?: string | undefined; + /** + * Skip validation of the certificate + */ + skipValidation?: boolean | undefined; +}; + +export type UploadProjectClientCertRequest = { + /** + * 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?: UploadProjectClientCertRequestBody | undefined; +}; + +/** + * Client certificate uploaded successfully + */ +export type UploadProjectClientCertResponseBody = { + updated: boolean; + origin: string; + certId: string; +}; + +/** @internal */ +export const UploadProjectClientCertRequestBody$inboundSchema: z.ZodType< + UploadProjectClientCertRequestBody, + z.ZodTypeDef, + unknown +> = z.object({ + cert: z.string(), + key: z.string(), + ca: z.string(), + origin: z.string().optional(), + skipValidation: z.boolean().optional(), +}); +/** @internal */ +export type UploadProjectClientCertRequestBody$Outbound = { + cert: string; + key: string; + ca: string; + origin?: string | undefined; + skipValidation?: boolean | undefined; +}; + +/** @internal */ +export const UploadProjectClientCertRequestBody$outboundSchema: z.ZodType< + UploadProjectClientCertRequestBody$Outbound, + z.ZodTypeDef, + UploadProjectClientCertRequestBody +> = z.object({ + cert: z.string(), + key: z.string(), + ca: z.string(), + origin: z.string().optional(), + skipValidation: z.boolean().optional(), +}); + +export function uploadProjectClientCertRequestBodyToJSON( + uploadProjectClientCertRequestBody: UploadProjectClientCertRequestBody, +): string { + return JSON.stringify( + UploadProjectClientCertRequestBody$outboundSchema.parse( + uploadProjectClientCertRequestBody, + ), + ); +} +export function uploadProjectClientCertRequestBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + UploadProjectClientCertRequestBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UploadProjectClientCertRequestBody' from JSON`, + ); +} + +/** @internal */ +export const UploadProjectClientCertRequest$inboundSchema: z.ZodType< + UploadProjectClientCertRequest, + z.ZodTypeDef, + unknown +> = z.object({ + idOrName: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + RequestBody: z.lazy(() => UploadProjectClientCertRequestBody$inboundSchema) + .optional(), +}).transform((v) => { + return remap$(v, { + "RequestBody": "requestBody", + }); +}); +/** @internal */ +export type UploadProjectClientCertRequest$Outbound = { + idOrName: string; + teamId?: string | undefined; + slug?: string | undefined; + RequestBody?: UploadProjectClientCertRequestBody$Outbound | undefined; +}; + +/** @internal */ +export const UploadProjectClientCertRequest$outboundSchema: z.ZodType< + UploadProjectClientCertRequest$Outbound, + z.ZodTypeDef, + UploadProjectClientCertRequest +> = z.object({ + idOrName: z.string(), + teamId: z.string().optional(), + slug: z.string().optional(), + requestBody: z.lazy(() => UploadProjectClientCertRequestBody$outboundSchema) + .optional(), +}).transform((v) => { + return remap$(v, { + requestBody: "RequestBody", + }); +}); + +export function uploadProjectClientCertRequestToJSON( + uploadProjectClientCertRequest: UploadProjectClientCertRequest, +): string { + return JSON.stringify( + UploadProjectClientCertRequest$outboundSchema.parse( + uploadProjectClientCertRequest, + ), + ); +} +export function uploadProjectClientCertRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => UploadProjectClientCertRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UploadProjectClientCertRequest' from JSON`, + ); +} + +/** @internal */ +export const UploadProjectClientCertResponseBody$inboundSchema: z.ZodType< + UploadProjectClientCertResponseBody, + z.ZodTypeDef, + unknown +> = z.object({ + updated: z.boolean(), + origin: z.string(), + certId: z.string(), +}); +/** @internal */ +export type UploadProjectClientCertResponseBody$Outbound = { + updated: boolean; + origin: string; + certId: string; +}; + +/** @internal */ +export const UploadProjectClientCertResponseBody$outboundSchema: z.ZodType< + UploadProjectClientCertResponseBody$Outbound, + z.ZodTypeDef, + UploadProjectClientCertResponseBody +> = z.object({ + updated: z.boolean(), + origin: z.string(), + certId: z.string(), +}); + +export function uploadProjectClientCertResponseBodyToJSON( + uploadProjectClientCertResponseBody: UploadProjectClientCertResponseBody, +): string { + return JSON.stringify( + UploadProjectClientCertResponseBody$outboundSchema.parse( + uploadProjectClientCertResponseBody, + ), + ); +} +export function uploadProjectClientCertResponseBodyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => + UploadProjectClientCertResponseBody$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UploadProjectClientCertResponseBody' from JSON`, + ); +} diff --git a/src/models/userevent.ts b/src/models/userevent.ts index 767071f2f..09bde280c 100644 --- a/src/models/userevent.ts +++ b/src/models/userevent.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { remap as remap$ } from "../lib/primitives.js"; import { safeParse } from "../lib/schemas.js"; import { ClosedEnum } from "../types/enums.js"; @@ -13,6 +13,7 @@ import { SDKValidationError } from "./sdkvalidationerror.js"; * The type of entity. */ export const UserEventType = { + App: "app", Author: "author", BitbucketLogin: "bitbucket_login", Bold: "bold", @@ -137,10 +138,8 @@ export type Via = Via1 | Via2; export const GrantType = { AuthorizationCode: "authorization_code", - RefreshToken: "refresh_token", UrnIetfParamsOauthGrantTypeDeviceCode: "urn:ietf:params:oauth:grant-type:device_code", - ClientCredentials: "client_credentials", } as const; export type GrantType = ClosedEnum; @@ -157,14 +156,45 @@ export const AuthMethod = { Sms: "sms", Invite: "invite", Google: "google", + Apple: "apple", } as const; export type AuthMethod = ClosedEnum; +export const Method = { + None: "none", + ClientSecretBasic: "client_secret_basic", + ClientSecretPost: "client_secret_post", + ClientSecretJwt: "client_secret_jwt", + PrivateKeyJwt: "private_key_jwt", + OidcToken: "oidc_token", +} as const; +export type Method = ClosedEnum; + +export type ClientAuthenticationUsed = { + method: Method; + secretId?: string | undefined; +}; + +/** + * optional since entries prior to 2025-10-13 do not contain app information + */ +export type PayloadApp = { + clientId: string; + /** + * the app's name at the time the event was published (it could have changed since then) + */ + name: string; + clientAuthenticationUsed: ClientAuthenticationUsed; +}; + /** * The payload of the event, if requested. */ -export type OneHundredAndSixtyFour = { +export type OneHundredAndSixtySeven = { grantType: GrantType; + /** + * the app's name at the time the event was published (it could have changed since then) + */ appName: string; /** * access_token TTL @@ -176,14 +206,30 @@ export type OneHundredAndSixtyFour = { rtTTL?: number | undefined; scope: string; authMethod: AuthMethod; + /** + * optional since entries prior to 2025-10-13 do not contain app information + */ + app?: PayloadApp | undefined; + /** + * optional since entries prior to 2025-10-13 do not contain this field + */ + includesRefreshToken?: boolean | undefined; + /** + * optional since entries prior to 2025-10-13 do not contain this field + */ + publicId?: string | undefined; + /** + * optional since entries prior to 2025-10-13 do not contain this field + */ + sessionId?: string | undefined; }; -export type UserEventPayload163Team = { +export type UserEventPayload166Team = { id: string; name: string; }; -export type UserEventPayload163Configuration = { +export type UserEventPayload166Configuration = { id: string; name?: string | undefined; }; @@ -196,19 +242,19 @@ export type UserEventPayloadPeering = { /** * The payload of the event, if requested. */ -export type OneHundredAndSixtyThree = { - team: UserEventPayload163Team; - configuration: UserEventPayload163Configuration; +export type OneHundredAndSixtySix = { + team: UserEventPayload166Team; + configuration: UserEventPayload166Configuration; peering: UserEventPayloadPeering; newName?: string | undefined; }; -export type UserEventPayload162Team = { +export type UserEventPayload165Team = { id: string; name: string; }; -export type UserEventPayload162Configuration = { +export type UserEventPayload165Configuration = { id: string; name?: string | undefined; }; @@ -221,18 +267,18 @@ export type PayloadPeering = { /** * The payload of the event, if requested. */ -export type OneHundredAndSixtyTwo = { - team: UserEventPayload162Team; - configuration: UserEventPayload162Configuration; +export type OneHundredAndSixtyFive = { + team: UserEventPayload165Team; + configuration: UserEventPayload165Configuration; peering: PayloadPeering; }; -export type UserEventPayload161Team = { +export type UserEventPayload164Team = { id: string; name: string; }; -export type UserEventPayload161Configuration = { +export type UserEventPayload164Configuration = { id: string; name?: string | undefined; }; @@ -247,64 +293,271 @@ export type Peering = { /** * The payload of the event, if requested. */ -export type OneHundredAndSixtyOne = { - team: UserEventPayload161Team; - configuration: UserEventPayload161Configuration; +export type OneHundredAndSixtyFour = { + team: UserEventPayload164Team; + configuration: UserEventPayload164Configuration; peering: Peering; }; +/** + * Note that not all historical events have this field. + */ +export type App = { + /** + * The App's ID. + */ + id: string; + /** + * The App's name at the moment this even was published (it may have changed since then). + */ + name: string; +}; + /** * The payload of the event, if requested. */ -export type OneHundredAndSixty = { +export type OneHundredAndSixtyThree = { + /** + * The App's name at the moment this even was published (it may have changed since then). + */ + appName: string; + /** + * The App's ID. Note that not all historical events have this field. + */ + appId?: string | undefined; + /** + * Note that not all historical events have this field. + */ + app?: App | undefined; + /** + * UNIX timestamp in seconds. Tokens issued before this timestamp will be revoked. Note that not all historical events have this field. + */ + issuedBefore?: number | undefined; +}; + +export const UserEventPayload162Type = { + List: "list", +} as const; +export type UserEventPayload162Type = ClosedEnum< + typeof UserEventPayload162Type +>; + +export const UserEventPayload162BeforeType = { + String: "string", +} as const; +export type UserEventPayload162BeforeType = ClosedEnum< + typeof UserEventPayload162BeforeType +>; + +export type PayloadItems = { + type: UserEventPayload162BeforeType; +}; + +export type PayloadProjectIds = { + type: UserEventPayload162Type; + required: boolean; + items: PayloadItems; +}; + +export type PayloadResources = { + projectIds: PayloadProjectIds; +}; + +export type Before = { + resources?: PayloadResources | undefined; +}; + +export const UserEventPayload162AfterType = { + List: "list", +} as const; +export type UserEventPayload162AfterType = ClosedEnum< + typeof UserEventPayload162AfterType +>; + +export const UserEventPayload162AfterResourcesType = { + String: "string", +} as const; +export type UserEventPayload162AfterResourcesType = ClosedEnum< + typeof UserEventPayload162AfterResourcesType +>; + +export type UserEventPayloadItems = { + type: UserEventPayload162AfterResourcesType; +}; + +export type UserEventPayloadProjectIds = { + type: UserEventPayload162AfterType; + required: boolean; + items: UserEventPayloadItems; +}; + +export type UserEventPayloadResources = { + projectIds: UserEventPayloadProjectIds; +}; + +export type After = { + resources?: UserEventPayloadResources | undefined; +}; + +/** + * The payload of the event, if requested. + */ +export type OneHundredAndSixtyTwo = { appName: string; appId?: string | undefined; installationId?: string | undefined; + before?: Before | undefined; + after?: After | undefined; +}; + +export const UserEventPayload161Type = { + List: "list", +} as const; +export type UserEventPayload161Type = ClosedEnum< + typeof UserEventPayload161Type +>; + +export const UserEventPayload161ResourcesType = { + String: "string", +} as const; +export type UserEventPayload161ResourcesType = ClosedEnum< + typeof UserEventPayload161ResourcesType +>; + +export type Items = { + type: UserEventPayload161ResourcesType; +}; + +export type ProjectIds = { + type: UserEventPayload161Type; + required: boolean; + items: Items; +}; + +export type Resources = { + projectIds: ProjectIds; }; /** * The payload of the event, if requested. */ -export type OneHundredAndFiftyNine = { +export type OneHundredAndSixtyOne = { appName: string; appId?: string | undefined; + resources?: Resources | undefined; }; /** * The payload of the event, if requested. */ -export type OneHundredAndFiftyEight = { +export type OneHundredAndSixty = { appName: string; - appId: string; + appId?: string | undefined; + secretLastFourChars?: string | undefined; }; /** * The payload of the event, if requested. */ -export type OneHundredAndFiftySeven = { +export type OneHundredAndFiftyNine = { appName: string; + appId?: string | undefined; +}; + +export const NextScopes = { + Openid: "openid", + Email: "email", + Profile: "profile", + OfflineAccess: "offline_access", +} as const; +export type NextScopes = ClosedEnum; + +export const NextPermissions = { + Wildcard: "*", + ReadUser: "read:user", + ReadWriteUser: "read-write:user", + ReadDomain: "read:domain", + ReadWriteDomain: "read-write:domain", + ReadTeam: "read:team", + ReadWriteTeam: "read-write:team", + ReadBilling: "read:billing", + ReadProject: "read:project", + ReadWriteProject: "read-write:project", + ReadDeployment: "read:deployment", + ReadWriteDeployment: "read-write:deployment", +} as const; +export type NextPermissions = ClosedEnum; + +export const PayloadUserPermissionSet = { + ReadUser: "read:user", +} as const; +export type PayloadUserPermissionSet = ClosedEnum< + typeof PayloadUserPermissionSet +>; + +export type NextAcceptedPermissionSets = { + userPermissionSet?: Array | undefined; }; /** * The payload of the event, if requested. */ -export type OneHundredAndFiftySix = { +export type OneHundredAndFiftyEight = { appName: string; - nextScopes: Array; + appId?: string | undefined; + nextScopes: Array; + nextPermissions?: Array | undefined; + nextAcceptedPermissionSets?: NextAcceptedPermissionSets | undefined; +}; + +export const PayloadScopes = { + Openid: "openid", + Email: "email", + Profile: "profile", + OfflineAccess: "offline_access", +} as const; +export type PayloadScopes = ClosedEnum; + +export const Permissions = { + Wildcard: "*", + ReadUser: "read:user", + ReadWriteUser: "read-write:user", + ReadDomain: "read:domain", + ReadWriteDomain: "read-write:domain", + ReadTeam: "read:team", + ReadWriteTeam: "read-write:team", + ReadBilling: "read:billing", + ReadProject: "read:project", + ReadWriteProject: "read-write:project", + ReadDeployment: "read:deployment", + ReadWriteDeployment: "read-write:deployment", +} as const; +export type Permissions = ClosedEnum; + +export const UserPermissionSet = { + ReadUser: "read:user", +} as const; +export type UserPermissionSet = ClosedEnum; + +export type AcceptedPermissionSets = { + userPermissionSet?: Array | undefined; }; /** * The payload of the event, if requested. */ -export type OneHundredAndFiftyFive = { +export type OneHundredAndFiftySeven = { appName: string; - scopes: Array; + appId?: string | undefined; + scopes: Array; + permissions?: Array | undefined; + acceptedPermissionSets?: AcceptedPermissionSets | undefined; }; /** * The payload of the event, if requested. */ -export type OneHundredAndFiftyFour = { +export type OneHundredAndFiftySix = { oldName: string; newName: string; }; @@ -318,7 +571,7 @@ export type Tier = ClosedEnum; /** * The payload of the event, if requested. */ -export type OneHundredAndFiftyThree = { +export type OneHundredAndFiftyFive = { tier: Tier; }; @@ -341,20 +594,30 @@ export type PrevProjectWebAnalytics = { /** * The payload of the event, if requested. */ -export type OneHundredAndFiftyTwo = { +export type OneHundredAndFiftyFour = { projectId: string; projectName: string; projectWebAnalytics?: ProjectWebAnalytics | undefined; prevProjectWebAnalytics?: PrevProjectWebAnalytics | null | undefined; }; -export type Microfrontends2 = { +export type Microfrontends3 = { updatedAt: number; groupIds: Array; enabled: boolean; + freeProjectForLegacyLimits?: boolean | undefined; }; -export type Microfrontends1 = { +export type Microfrontends2 = { + isDefaultApp?: boolean | undefined; + /** + * Whether observability data should be routed to this microfrontend project or a root project. + */ + routeObservabilityToThisProject?: boolean | undefined; + /** + * Whether to add microfrontends routing to aliases. This means domains in this project will route as a microfrontend. + */ + doNotRouteWithMicrofrontendsRouting?: boolean | undefined; /** * Timestamp when the microfrontends settings were last updated. */ @@ -368,34 +631,71 @@ export type Microfrontends1 = { */ 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. + * 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. Includes the leading slash, e.g. `/docs` + */ + defaultRoute?: string | undefined; + /** + * Whether the project was part of the legacy limits for hobby and pro-trial before billing was added. This field is only set when the team is upgraded to a paid plan and we are backfilling the subscription status. We cap the subscription to 2 projects and set this field for the 3rd project. When this field is set, the project is not charged for and we do not call any billing APIs for this project. */ - isDefaultApp?: boolean | undefined; + freeProjectForLegacyLimits?: boolean | undefined; +}; + +export type Microfrontends1 = { + isDefaultApp: boolean; + /** + * 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; /** * 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. Includes the leading slash, e.g. `/docs` */ defaultRoute?: string | undefined; /** - * Whether observability data should be routed to this microfrontend project or a root project. + * Whether the project was part of the legacy limits for hobby and pro-trial before billing was added. This field is only set when the team is upgraded to a paid plan and we are backfilling the subscription status. We cap the subscription to 2 projects and set this field for the 3rd project. When this field is set, the project is not charged for and we do not call any billing APIs for this project. */ - routeObservabilityToThisProject?: boolean | undefined; + freeProjectForLegacyLimits?: boolean | undefined; }; -export type Microfrontends = Microfrontends1 | Microfrontends2; +export type Microfrontends = + | Microfrontends1 + | Microfrontends2 + | Microfrontends3; -export type UserEventPayload151Project = { +export type UserEventPayload153Project = { id: string; name: string; - microfrontends?: Microfrontends1 | Microfrontends2 | undefined; + microfrontends?: + | Microfrontends1 + | Microfrontends2 + | Microfrontends3 + | undefined; }; -export type UserEventMicrofrontends2 = { +export type UserEventMicrofrontends3 = { updatedAt: number; groupIds: Array; enabled: boolean; + freeProjectForLegacyLimits?: boolean | undefined; }; -export type UserEventMicrofrontends1 = { +export type UserEventMicrofrontends2 = { + isDefaultApp?: boolean | undefined; + /** + * Whether observability data should be routed to this microfrontend project or a root project. + */ + routeObservabilityToThisProject?: boolean | undefined; + /** + * Whether to add microfrontends routing to aliases. This means domains in this project will route as a microfrontend. + */ + doNotRouteWithMicrofrontendsRouting?: boolean | undefined; /** * Timestamp when the microfrontends settings were last updated. */ @@ -409,32 +709,54 @@ export type UserEventMicrofrontends1 = { */ 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. + * 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. Includes the leading slash, e.g. `/docs` */ - isDefaultApp?: boolean | undefined; + defaultRoute?: string | undefined; + /** + * Whether the project was part of the legacy limits for hobby and pro-trial before billing was added. This field is only set when the team is upgraded to a paid plan and we are backfilling the subscription status. We cap the subscription to 2 projects and set this field for the 3rd project. When this field is set, the project is not charged for and we do not call any billing APIs for this project. + */ + freeProjectForLegacyLimits?: boolean | undefined; +}; + +export type UserEventMicrofrontends1 = { + isDefaultApp: boolean; + /** + * 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; /** * 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. Includes the leading slash, e.g. `/docs` */ defaultRoute?: string | undefined; /** - * Whether observability data should be routed to this microfrontend project or a root project. + * Whether the project was part of the legacy limits for hobby and pro-trial before billing was added. This field is only set when the team is upgraded to a paid plan and we are backfilling the subscription status. We cap the subscription to 2 projects and set this field for the 3rd project. When this field is set, the project is not charged for and we do not call any billing APIs for this project. */ - routeObservabilityToThisProject?: boolean | undefined; + freeProjectForLegacyLimits?: boolean | undefined; }; export type PayloadMicrofrontends = | UserEventMicrofrontends1 - | UserEventMicrofrontends2; + | UserEventMicrofrontends2 + | UserEventMicrofrontends3; -export type UserEventPayload151PrevProject = { +export type UserEventPayload153PrevProject = { microfrontends?: | UserEventMicrofrontends1 | UserEventMicrofrontends2 + | UserEventMicrofrontends3 | undefined; }; export type PayloadPrev = { - project: UserEventPayload151PrevProject; + project: UserEventPayload153PrevProject; }; export type PayloadGroup = { @@ -446,13 +768,13 @@ export type PayloadGroup = { /** * The payload of the event, if requested. */ -export type OneHundredAndFiftyOne = { - project: UserEventPayload151Project; +export type OneHundredAndFiftyThree = { + project: UserEventPayload153Project; prev: PayloadPrev; group: PayloadGroup; }; -export type UserEventPayload150Project = { +export type UserEventPayload152Project = { id: string; name: string; }; @@ -466,8 +788,8 @@ export type Group = { /** * The payload of the event, if requested. */ -export type OneHundredAndFifty = { - project: UserEventPayload150Project; +export type OneHundredAndFiftyTwo = { + project: UserEventPayload152Project; group: Group; }; @@ -475,49 +797,47 @@ export type Prev = { name: string; slug: string; fallbackEnvironment: string; - enableMfeAliases?: boolean | undefined; }; /** * The payload of the event, if requested. */ -export type OneHundredAndFortyNine = { +export type OneHundredAndFiftyOne = { id: string; slug?: string | undefined; name?: string | undefined; fallbackEnvironment?: string | undefined; - enableMfeAliases?: boolean | undefined; prev: Prev; }; /** * The payload of the event, if requested. */ -export type OneHundredAndFortyEight = { +export type OneHundredAndFifty = { id: string; slug: string; name: string; }; -export const UserEventPayload147Action = { +export const UserEventPayload149Action = { Enable: "enable", Disable: "disable", } as const; -export type UserEventPayload147Action = ClosedEnum< - typeof UserEventPayload147Action +export type UserEventPayload149Action = ClosedEnum< + typeof UserEventPayload149Action >; /** * The payload of the event, if requested. */ -export type OneHundredAndFortySeven = { - action: UserEventPayload147Action; +export type OneHundredAndFortyNine = { + action: UserEventPayload149Action; }; /** * The payload of the event, if requested. */ -export type OneHundredAndFortySix = { +export type OneHundredAndFortyEight = { edgeConfigId: string; edgeConfigSlug: string; /** @@ -529,7 +849,7 @@ export type OneHundredAndFortySix = { /** * The payload of the event, if requested. */ -export type OneHundredAndFortyFive = { +export type OneHundredAndFortySeven = { edgeConfigId: string; edgeConfigSlug: string; edgeConfigTokenId: string; @@ -539,7 +859,7 @@ export type OneHundredAndFortyFive = { /** * The payload of the event, if requested. */ -export type OneHundredAndFortyFour = { +export type OneHundredAndFortySix = { edgeConfigId: string; edgeConfigSlug: string; edgeConfigDigest: string; @@ -548,32 +868,32 @@ export type OneHundredAndFortyFour = { /** * The payload of the event, if requested. */ -export type OneHundredAndFortyThree = { +export type OneHundredAndFortyFive = { projectName: string; - urls: Array; + srcImages: Array; }; /** * The payload of the event, if requested. */ -export type OneHundredAndFortyTwo = { +export type OneHundredAndFortyFour = { projectName: string; tags: Array; target?: string | undefined; }; -export const UserEventPayload141Role = { +export const UserEventPayload143Role = { Admin: "ADMIN", ProjectDeveloper: "PROJECT_DEVELOPER", ProjectViewer: "PROJECT_VIEWER", } as const; -export type UserEventPayload141Role = ClosedEnum< - typeof UserEventPayload141Role +export type UserEventPayload143Role = ClosedEnum< + typeof UserEventPayload143Role >; -export type UserEventPayload141Project = { +export type UserEventPayload143Project = { name: string; - role: UserEventPayload141Role; + role: UserEventPayload143Role; invitedUserName: string; id?: string | undefined; invitedUserId?: string | undefined; @@ -582,22 +902,22 @@ export type UserEventPayload141Project = { /** * The payload of the event, if requested. */ -export type OneHundredAndFortyOne = { - project: UserEventPayload141Project; +export type OneHundredAndFortyThree = { + project: UserEventPayload143Project; }; -export type UserEventPayload140Project = { +export type UserEventPayload142Project = { id: string; name: string; }; -export const UserEventPayload140Role = { +export const UserEventPayload142Role = { Admin: "ADMIN", ProjectDeveloper: "PROJECT_DEVELOPER", ProjectViewer: "PROJECT_VIEWER", } as const; -export type UserEventPayload140Role = ClosedEnum< - typeof UserEventPayload140Role +export type UserEventPayload142Role = ClosedEnum< + typeof UserEventPayload142Role >; export const PayloadPreviousRole = { @@ -608,7 +928,7 @@ export const PayloadPreviousRole = { export type PayloadPreviousRole = ClosedEnum; export type PayloadProjectMembership = { - role?: UserEventPayload140Role | undefined; + role?: UserEventPayload142Role | undefined; uid?: string | undefined; createdAt?: number | undefined; username?: string | undefined; @@ -618,25 +938,27 @@ export type PayloadProjectMembership = { /** * The payload of the event, if requested. */ -export type OneHundredAndForty = { - project: UserEventPayload140Project; +export type OneHundredAndFortyTwo = { + project: UserEventPayload142Project; projectMembership: PayloadProjectMembership; }; -export type UserEventPayload139Project = { +export type UserEventPayload141Project = { name: string; id?: string | undefined; }; -export const UserEventPayloadRole = { +export const UserEventPayload141Role = { Admin: "ADMIN", ProjectDeveloper: "PROJECT_DEVELOPER", ProjectViewer: "PROJECT_VIEWER", } as const; -export type UserEventPayloadRole = ClosedEnum; +export type UserEventPayload141Role = ClosedEnum< + typeof UserEventPayload141Role +>; export type RemovedMembership = { - role: UserEventPayloadRole; + role: UserEventPayload141Role; uid: string; createdAt: number; username?: string | undefined; @@ -645,25 +967,25 @@ export type RemovedMembership = { /** * The payload of the event, if requested. */ -export type OneHundredAndThirtyNine = { - project: UserEventPayload139Project; +export type OneHundredAndFortyOne = { + project: UserEventPayload141Project; removedMembership: RemovedMembership; }; -export type UserEventPayload138Project = { +export type UserEventPayload140Project = { name: string; id?: string | undefined; }; -export const PayloadRole = { +export const UserEventPayloadRole = { Admin: "ADMIN", ProjectDeveloper: "PROJECT_DEVELOPER", ProjectViewer: "PROJECT_VIEWER", } as const; -export type PayloadRole = ClosedEnum; +export type UserEventPayloadRole = ClosedEnum; export type ProjectMembership = { - role: PayloadRole; + role: UserEventPayloadRole; uid: string; createdAt: number; username?: string | undefined; @@ -672,15 +994,15 @@ export type ProjectMembership = { /** * The payload of the event, if requested. */ -export type OneHundredAndThirtyEight = { - project: UserEventPayload138Project; +export type OneHundredAndForty = { + project: UserEventPayload140Project; projectMembership: ProjectMembership | null; }; /** * The payload of the event, if requested. */ -export type OneHundredAndThirtySeven = { +export type OneHundredAndThirtyNine = { previousProjectName: string; newProjectName: string; originAccountName: string; @@ -690,7 +1012,7 @@ export type OneHundredAndThirtySeven = { /** * The payload of the event, if requested. */ -export type OneHundredAndThirtySix = { +export type OneHundredAndThirtyEight = { previousProjectName: string; newProjectName: string; destinationAccountName: string; @@ -700,7 +1022,7 @@ export type OneHundredAndThirtySix = { /** * The payload of the event, if requested. */ -export type OneHundredAndThirtyFive = { +export type OneHundredAndThirtySeven = { projectName: string; destinationAccountName: string | null; transferId?: string | undefined; @@ -709,7 +1031,7 @@ export type OneHundredAndThirtyFive = { /** * The payload of the event, if requested. */ -export type OneHundredAndThirtyFour = { +export type OneHundredAndThirtySix = { projectId: string; projectName: string; originAccountName: string; @@ -721,7 +1043,7 @@ export type OneHundredAndThirtyFour = { /** * The payload of the event, if requested. */ -export type OneHundredAndThirtyThree = { +export type OneHundredAndThirtyFive = { requestedTeamName: string; requestedUserName?: string | undefined; gitUsername?: string | undefined; @@ -733,7 +1055,7 @@ export type OneHundredAndThirtyThree = { /** * The payload of the event, if requested. */ -export type OneHundredAndThirtyTwo = { +export type OneHundredAndThirtyFour = { teamName: string; username?: string | undefined; gitUsername?: string | null | undefined; @@ -745,7 +1067,7 @@ export type OneHundredAndThirtyTwo = { /** * The payload of the event, if requested. */ -export type OneHundredAndThirtyOne = { +export type OneHundredAndThirtyThree = { teamName: string; username?: string | undefined; gitUsername?: string | undefined; @@ -759,7 +1081,7 @@ export type OneHundredAndThirtyOne = { /** * The payload of the event, if requested. */ -export type OneHundredAndThirty = { +export type OneHundredAndThirtyTwo = { price?: number | undefined; currency?: string | undefined; }; @@ -767,7 +1089,7 @@ export type OneHundredAndThirty = { /** * The payload of the event, if requested. */ -export type OneHundredAndTwentyNine = { +export type OneHundredAndThirtyOne = { previewDeploymentSuffix?: string | null | undefined; previousPreviewDeploymentSuffix?: string | null | undefined; }; @@ -775,7 +1097,7 @@ export type OneHundredAndTwentyNine = { /** * The payload of the event, if requested. */ -export type OneHundredAndTwentyEight = { +export type OneHundredAndThirty = { price?: number | undefined; currency?: string | undefined; enabled?: boolean | undefined; @@ -784,14 +1106,14 @@ export type OneHundredAndTwentyEight = { /** * The payload of the event, if requested. */ -export type OneHundredAndTwentySeven = { +export type OneHundredAndTwentyNine = { username: string; }; /** * The payload of the event, if requested. */ -export type OneHundredAndTwentySix = { +export type OneHundredAndTwentyEight = { email: string; prevEmail: string; }; @@ -799,14 +1121,14 @@ export type OneHundredAndTwentySix = { /** * The payload of the event, if requested. */ -export type OneHundredAndTwentyFive = { +export type OneHundredAndTwentySeven = { mfaEnabled: boolean; }; /** * The payload of the event, if requested. */ -export type OneHundredAndTwentyFour = { +export type OneHundredAndTwentySix = { enabled: boolean; totpVerified: boolean; }; @@ -824,7 +1146,7 @@ export type PayloadNext = { /** * The payload of the event, if requested. */ -export type OneHundredAndTwentyThree = { +export type OneHundredAndTwentyFive = { previous: PayloadPrevious; next: PayloadNext; }; @@ -839,7 +1161,7 @@ export type PayloadRemoteCaching = { /** * The payload of the event, if requested. */ -export type OneHundredAndTwentyTwo = { +export type OneHundredAndTwentyFour = { /** * Represents configuration for remote caching */ @@ -849,25 +1171,25 @@ export type OneHundredAndTwentyTwo = { /** * The payload of the event, if requested. */ -export type OneHundredAndTwentyOne = { +export type OneHundredAndTwentyThree = { slug?: string | undefined; }; /** * The payload of the event, if requested. */ -export type OneHundredAndTwenty = { +export type OneHundredAndTwentyTwo = { name?: string | undefined; }; /** * The payload of the event, if requested. */ -export type OneHundredAndNineteen = { +export type OneHundredAndTwentyOne = { enforced: boolean; }; -export type UserEventPayload118User = { +export type UserEventPayload120User = { id: string; username: string; }; @@ -875,9 +1197,9 @@ export type UserEventPayload118User = { /** * The payload of the event, if requested. */ -export type OneHundredAndEighteen = { +export type OneHundredAndTwenty = { entitlement: string; - user: UserEventPayload118User; + user: UserEventPayload120User; previousCanceledAt?: string | undefined; }; @@ -889,7 +1211,7 @@ export type UserEventPayloadUser = { /** * The payload of the event, if requested. */ -export type OneHundredAndSeventeen = { +export type OneHundredAndNineteen = { entitlement: string; user: UserEventPayloadUser; }; @@ -902,7 +1224,7 @@ export type UpdatedUser = { /** * The payload of the event, if requested. */ -export type OneHundredAndSixteen = { +export type OneHundredAndEighteen = { directoryType?: string | undefined; updatedUser?: UpdatedUser | undefined; role?: string | undefined; @@ -913,7 +1235,7 @@ export type OneHundredAndSixteen = { /** * The payload of the event, if requested. */ -export type OneHundredAndFifteen = { +export type OneHundredAndSeventeen = { role?: string | undefined; uid: string; origin?: string | undefined; @@ -927,16 +1249,47 @@ export type DeletedUser = { email: string; }; +export const PayloadRole = { + Owner: "OWNER", + Member: "MEMBER", + Developer: "DEVELOPER", + Security: "SECURITY", + Billing: "BILLING", + Viewer: "VIEWER", + ViewerForPlus: "VIEWER_FOR_PLUS", + Contributor: "CONTRIBUTOR", +} as const; +export type PayloadRole = ClosedEnum; + +export const PreviousPlan = { + Pro: "pro", + Enterprise: "enterprise", + Hobby: "hobby", +} as const; +export type PreviousPlan = ClosedEnum; + +export const NewPlan = { + Pro: "pro", + Enterprise: "enterprise", + Hobby: "hobby", +} as const; +export type NewPlan = ClosedEnum; + /** * The payload of the event, if requested. */ -export type OneHundredAndFourteen = { +export type OneHundredAndSixteen = { deletedUser?: DeletedUser | undefined; deletedUid?: string | undefined; githubUsername?: string | null | undefined; gitlabUsername?: string | null | undefined; bitbucketUsername?: string | null | undefined; directoryType?: string | undefined; + role?: PayloadRole | undefined; + reason?: string | undefined; + previousPlan?: PreviousPlan | undefined; + newPlan?: NewPlan | undefined; + automated?: boolean | undefined; }; export type InvitedUser = { @@ -947,7 +1300,7 @@ export type InvitedUser = { /** * The payload of the event, if requested. */ -export type OneHundredAndThirteen = { +export type OneHundredAndFifteen = { directoryType?: string | undefined; ssoType?: string | undefined; invitedUser?: InvitedUser | undefined; @@ -965,7 +1318,7 @@ export type Reasons = { /** * The payload of the event, if requested. */ -export type OneHundredAndTwelve = { +export type OneHundredAndFourteen = { slug: string; teamId: string; by: string; @@ -975,7 +1328,7 @@ export type OneHundredAndTwelve = { /** * The payload of the event, if requested. */ -export type OneHundredAndEleven = { +export type OneHundredAndThirteen = { slug: string; }; @@ -987,7 +1340,7 @@ export type Store = { /** * The payload of the event, if requested. */ -export type OneHundredAndTen = { +export type OneHundredAndTwelve = { store: Store; ownerId?: string | undefined; }; @@ -1001,14 +1354,14 @@ export type StoreType = ClosedEnum; /** * The payload of the event, if requested. */ -export type OneHundredAndNine = { +export type OneHundredAndEleven = { storeType: StoreType; }; export const UserEventPayloadType = { Redis: "redis", - Postgres: "postgres", EdgeConfig: "edge-config", + Postgres: "postgres", Blob: "blob", Integration: "integration", } as const; @@ -1017,7 +1370,7 @@ export type UserEventPayloadType = ClosedEnum; /** * The payload of the event, if requested. */ -export type OneHundredAndEight = { +export type OneHundredAndTen = { id: string; name?: string | undefined; computeUnitsMax?: number | undefined; @@ -1029,21 +1382,21 @@ export type OneHundredAndEight = { /** * The payload of the event, if requested. */ -export type OneHundredAndSeven = { +export type OneHundredAndNine = { webhookUrl?: string | undefined; }; /** * The budget type */ -export const UserEventPayload106Type = { +export const UserEventPayload108Type = { Fixed: "fixed", } as const; /** * The budget type */ -export type UserEventPayload106Type = ClosedEnum< - typeof UserEventPayload106Type +export type UserEventPayload108Type = ClosedEnum< + typeof UserEventPayload108Type >; /** @@ -1066,7 +1419,7 @@ export type UserEventPayloadBudget = { /** * The budget type */ - type: UserEventPayload106Type; + type: UserEventPayload108Type; /** * Budget amount (USD / dollars) */ @@ -1120,7 +1473,7 @@ export type UserEventPayloadBudget = { /** * The payload of the event, if requested. */ -export type OneHundredAndSix = { +export type OneHundredAndEight = { /** * Represents a budget for tracking and notifying teams on their spending. */ @@ -1131,14 +1484,14 @@ export type OneHundredAndSix = { /** * The budget type */ -export const UserEventPayload105Type = { +export const UserEventPayload107Type = { Fixed: "fixed", } as const; /** * The budget type */ -export type UserEventPayload105Type = ClosedEnum< - typeof UserEventPayload105Type +export type UserEventPayload107Type = ClosedEnum< + typeof UserEventPayload107Type >; /** @@ -1161,7 +1514,7 @@ export type PayloadBudget = { /** * The budget type */ - type: UserEventPayload105Type; + type: UserEventPayload107Type; /** * Budget amount (USD / dollars) */ @@ -1215,7 +1568,7 @@ export type PayloadBudget = { /** * The payload of the event, if requested. */ -export type OneHundredAndFive = { +export type OneHundredAndSeven = { /** * Represents a budget for tracking and notifying teams on their spending. */ @@ -1225,14 +1578,14 @@ export type OneHundredAndFive = { /** * The budget type */ -export const UserEventPayload104Type = { +export const UserEventPayload106Type = { Fixed: "fixed", } as const; /** * The budget type */ -export type UserEventPayload104Type = ClosedEnum< - typeof UserEventPayload104Type +export type UserEventPayload106Type = ClosedEnum< + typeof UserEventPayload106Type >; /** @@ -1257,7 +1610,7 @@ export type BudgetItem = { /** * The budget type */ - type: UserEventPayload104Type; + type: UserEventPayload106Type; /** * Budget amount (USD / dollars) */ @@ -1318,7 +1671,7 @@ export type Budget = { /** * The payload of the event, if requested. */ -export type OneHundredAndFour = { +export type OneHundredAndSix = { budget: Budget; }; @@ -1330,7 +1683,7 @@ export type ScalingRules = { /** * The payload of the event, if requested. */ -export type OneHundredAndThree = { +export type OneHundredAndFive = { scalingRules: { [k: string]: ScalingRules }; min: number; max: number; @@ -1340,14 +1693,14 @@ export type OneHundredAndThree = { /** * The payload of the event, if requested. */ -export type OneHundredAndTwo = { +export type OneHundredAndFour = { bio: string; }; /** * The payload of the event, if requested. */ -export type OneHundredAndOne = { +export type OneHundredAndThree = { oldName: string; newName: string; uid?: string | undefined; @@ -1362,12 +1715,12 @@ export type Name = Name2 | string; /** * The payload of the event, if requested. */ -export type OneHundred = { +export type OneHundredAndTwo = { uid: string; name: Name2 | string; }; -export type UserEventPayload99Team = { +export type UserEventPayload101Team = { id: string; name?: string | undefined; }; @@ -1379,12 +1732,12 @@ export type PayloadPreviousRule = { /** * The payload of the event, if requested. */ -export type NinetyNine = { - team: UserEventPayload99Team; +export type OneHundredAndOne = { + team: UserEventPayload101Team; previousRule: PayloadPreviousRule; }; -export type UserEventPayload98Team = { +export type UserEventPayload100Team = { id: string; name?: string | undefined; }; @@ -1400,8 +1753,8 @@ export type NextRule = { /** * The payload of the event, if requested. */ -export type NinetyEight = { - team: UserEventPayload98Team; +export type OneHundred = { + team: UserEventPayload100Team; previousRule?: PreviousRule | undefined; nextRule?: NextRule | undefined; }; @@ -1409,14 +1762,14 @@ export type NinetyEight = { /** * The payload of the event, if requested. */ -export type NinetySeven = { +export type NinetyNine = { email: string; }; /** * The payload of the event, if requested. */ -export type NinetySix = { +export type NinetyEight = { email: string; verified: boolean; }; @@ -1424,7 +1777,7 @@ export type NinetySix = { /** * The payload of the event, if requested. */ -export type NinetyFive = { +export type NinetySeven = { instances: number; url: string; }; @@ -1432,7 +1785,7 @@ export type NinetyFive = { /** * The payload of the event, if requested. */ -export type NinetyFour = { +export type NinetySix = { gitProvider: string; gitProviderGroupDescriptor: string; gitScope: string; @@ -1441,7 +1794,7 @@ export type NinetyFour = { /** * The payload of the event, if requested. */ -export type NinetyThree = { +export type NinetyFive = { projectId: string; projectName: string; targetDeploymentId?: string | undefined; @@ -1451,44 +1804,46 @@ export type NinetyThree = { /** * The payload of the event, if requested. */ -export type NinetyTwo = { +export type NinetyFour = { projectId: string; projectName: string; targetDeploymentId?: string | undefined; }; export type StaticIps = { + builds?: boolean | undefined; enabled: boolean; regions?: Array | undefined; }; -export type UserEventPayload91Project = { +export type UserEventPayload93Project = { id: string; staticIps: StaticIps; }; export type Next = { - project: UserEventPayload91Project; + project: UserEventPayload93Project; }; export type PayloadStaticIps = { + builds?: boolean | undefined; enabled: boolean; regions?: Array | undefined; }; -export type UserEventPayload91PreviousProject = { +export type UserEventPayload93PreviousProject = { id: string; staticIps: PayloadStaticIps; }; export type Previous = { - project: UserEventPayload91PreviousProject; + project: UserEventPayload93PreviousProject; }; /** * The payload of the event, if requested. */ -export type NinetyOne = { +export type NinetyThree = { next: Next; previous: Previous; }; @@ -1496,33 +1851,41 @@ export type NinetyOne = { /** * The payload of the event, if requested. */ -export type Ninety = { +export type NinetyTwo = { source: string; projectId: string; }; +export const PayloadReasonCode = { + PublicApi: "PUBLIC_API", + Backoffice: "BACKOFFICE", +} as const; +export type PayloadReasonCode = ClosedEnum; + /** * The payload of the event, if requested. */ -export type EightyNine = { +export type NinetyOne = { projectId: string; + reasonCode?: PayloadReasonCode | undefined; }; export const ReasonCode = { BudgetReached: "BUDGET_REACHED", PublicApi: "PUBLIC_API", + Backoffice: "BACKOFFICE", } as const; export type ReasonCode = ClosedEnum; /** * The payload of the event, if requested. */ -export type EightyEight = { +export type Ninety = { projectId: string; reasonCode?: ReasonCode | undefined; }; -export type UserEventPayload87Team = { +export type UserEventPayload89Team = { id: string; name: string; }; @@ -1575,7 +1938,7 @@ export type NewConnectConfigurations = { updatedAt: number; }; -export type UserEventPayload87Project = { +export type UserEventPayload89Project = { id: string; name?: string | undefined; oldConnectConfigurations: Array | null; @@ -1585,34 +1948,34 @@ export type UserEventPayload87Project = { /** * The payload of the event, if requested. */ -export type EightySeven = { - team: UserEventPayload87Team; - project: UserEventPayload87Project; +export type EightyNine = { + team: UserEventPayload89Team; + project: UserEventPayload89Project; }; /** * The payload of the event, if requested. */ -export type EightySix = { +export type EightyEight = { name: string; ownerId: string; }; -export const UserEventPayload85Action = { +export const UserEventPayload87Action = { Enabled: "enabled", Disabled: "disabled", Regenerated: "regenerated", } as const; -export type UserEventPayload85Action = ClosedEnum< - typeof UserEventPayload85Action +export type UserEventPayload87Action = ClosedEnum< + typeof UserEventPayload87Action >; /** * The payload of the event, if requested. */ -export type EightyFive = { +export type EightySeven = { projectName: string; - action: UserEventPayload85Action; + action: UserEventPayload87Action; }; export type Paths = { @@ -1634,7 +1997,7 @@ export type OldOptionsAllowlist = { /** * The payload of the event, if requested. */ -export type EightyFour = { +export type EightySix = { projectName: string; optionsAllowlist?: OptionsAllowlist | null | undefined; oldOptionsAllowlist?: OldOptionsAllowlist | null | undefined; @@ -1661,7 +2024,7 @@ export type OldTrustedIps = ClosedEnum; /** * The payload of the event, if requested. */ -export type EightyThree = { +export type EightyFive = { projectName: string; trustedIps?: TrustedIps | null | undefined; oldTrustedIps?: OldTrustedIps | null | undefined; @@ -1724,7 +2087,7 @@ export type OldPasswordProtection = /** * The payload of the event, if requested. */ -export type EightyTwo = { +export type EightyFour = { projectName: string; passwordProtection: PasswordProtection1 | PasswordProtection2 | null; oldPasswordProtection: OldPasswordProtection1 | OldPasswordProtection2 | null; @@ -1779,7 +2142,7 @@ export type OldSsoProtection = OldSsoProtection1 | OldSsoProtection2; /** * The payload of the event, if requested. */ -export type EightyOne = { +export type EightyThree = { projectName: string; ssoProtection: SsoProtection1 | SsoProtection2 | null; oldSsoProtection: OldSsoProtection1 | OldSsoProtection2 | null; @@ -1788,7 +2151,7 @@ export type EightyOne = { /** * The payload of the event, if requested. */ -export type Eighty = { +export type EightyTwo = { projectName?: string | undefined; projectId: string; }; @@ -1796,7 +2159,7 @@ export type Eighty = { /** * The payload of the event, if requested. */ -export type SeventyNine = { +export type EightyOne = { projectName?: string | undefined; projectId: string; projectAnalytics?: { [k: string]: any } | undefined; @@ -1826,7 +2189,7 @@ export type PrevProjectAnalytics = { /** * The payload of the event, if requested. */ -export type SeventyEight = { +export type Eighty = { projectName?: string | undefined; projectId: string; projectAnalytics: ProjectAnalytics | null; @@ -1836,12 +2199,12 @@ export type SeventyEight = { /** * The payload of the event, if requested. */ -export type SeventySeven = { +export type SeventyNine = { projectName: string; branch: string; }; -export const UserEventPayload76Role = { +export const UserEventPayload78Role = { Owner: "OWNER", Member: "MEMBER", Developer: "DEVELOPER", @@ -1851,7 +2214,7 @@ export const UserEventPayload76Role = { ViewerForPlus: "VIEWER_FOR_PLUS", Contributor: "CONTRIBUTOR", } as const; -export type UserEventPayload76Role = ClosedEnum; +export type UserEventPayload78Role = ClosedEnum; export const PayloadOrigin = { Teams: "teams", @@ -1885,7 +2248,7 @@ export type PayloadJoinedFrom = { }; export type RemovedUsers = { - role: UserEventPayload76Role; + role: UserEventPayload78Role; confirmed: boolean; confirmedAt?: number | undefined; joinedFrom?: PayloadJoinedFrom | undefined; @@ -1894,27 +2257,32 @@ export type RemovedUsers = { /** * The payload of the event, if requested. */ -export type SeventySix = { +export type SeventyEight = { plan: string; removedUsers?: { [k: string]: RemovedUsers } | undefined; + prevPlan?: string | undefined; priorPlan?: string | undefined; isDowngrade?: boolean | undefined; userAgent?: string | undefined; isReactivate?: boolean | undefined; isTrialUpgrade?: boolean | undefined; + automated?: boolean | undefined; + reason?: string | undefined; + timestamp?: number | undefined; + removedMemberCount?: number | undefined; }; /** * The payload of the event, if requested. */ -export type SeventyFive = { +export type SeventySeven = { projectName: string; }; /** * The payload of the event, if requested. */ -export type SeventyFour = { +export type SeventySix = { projectId: string; toDeploymentId: string; projectName: string; @@ -1923,7 +2291,7 @@ export type SeventyFour = { /** * The payload of the event, if requested. */ -export type SeventyThree = { +export type SeventyFive = { drainUrl: string | null; integrationName?: string | undefined; }; @@ -1931,7 +2299,7 @@ export type SeventyThree = { /** * The payload of the event, if requested. */ -export type SeventyTwo = { +export type SeventyFour = { logDrainUrl: string; integrationName?: string | undefined; }; @@ -1939,7 +2307,7 @@ export type SeventyTwo = { /** * The payload of the event, if requested. */ -export type SeventyOne = { +export type SeventyThree = { logDrainUrl: string | null; integrationName?: string | undefined; }; @@ -2021,13 +2389,14 @@ export type Geolocation = { /** * The payload of the event, if requested. */ -export type Seventy = { +export type SeventyTwo = { userAgent?: UserAgent | undefined; geolocation?: Geolocation | null | undefined; viaGithub: boolean; viaGitlab: boolean; viaBitbucket: boolean; viaGoogle: boolean; + viaApple: boolean; viaSamlSso: boolean; viaPasskey: boolean; ssoType?: string | undefined; @@ -2039,7 +2408,7 @@ export type Seventy = { /** * The payload of the event, if requested. */ -export type SixtyNine = { +export type SeventyOne = { integrationId: string; configurationId: string; integrationSlug: string; @@ -2052,7 +2421,7 @@ export type SixtyNine = { /** * The payload of the event, if requested. */ -export type SixtyEight = { +export type Seventy = { projectId: string; fromDeploymentId: string; toDeploymentId: string; @@ -2063,7 +2432,7 @@ export type SixtyEight = { /** * The payload of the event, if requested. */ -export type SixtySeven = { +export type SixtyNine = { integrationId: string; configurationId: string; integrationSlug: string; @@ -2075,7 +2444,7 @@ export type SixtySeven = { /** * The payload of the event, if requested. */ -export type SixtySix = { +export type SixtyEight = { integrationId: string; configurationId: string; integrationSlug: string; @@ -2095,25 +2464,25 @@ export type Configurations = { /** * The payload of the event, if requested. */ -export type SixtyFive = { +export type SixtySeven = { configurations: Array; ownerId: string; }; -export const UserEventPayload64Action = { +export const UserEventPayload66Action = { HardBlocked: "hard-blocked", SoftBlocked: "soft-blocked", Unblocked: "unblocked", } as const; -export type UserEventPayload64Action = ClosedEnum< - typeof UserEventPayload64Action +export type UserEventPayload66Action = ClosedEnum< + typeof UserEventPayload66Action >; /** * Since June 2023 */ export type BlockHistory = { - action: UserEventPayload64Action; + action: UserEventPayload66Action; createdAt: number; caseId?: string | undefined; reason: string; @@ -2195,6 +2564,7 @@ export const CredentialsType = { Gitlab: "gitlab", Bitbucket: "bitbucket", Google: "google", + Apple: "apple", GithubOauth: "github-oauth", GithubOauthLimited: "github-oauth-limited", } as const; @@ -2261,6 +2631,18 @@ export type PayloadBuildEntitlements = { enhancedBuilds?: boolean | undefined; }; +export const UserEventPayload66Configuration = { + SkipNamespaceQueue: "SKIP_NAMESPACE_QUEUE", + WaitForNamespaceQueue: "WAIT_FOR_NAMESPACE_QUEUE", +} as const; +export type UserEventPayload66Configuration = ClosedEnum< + typeof UserEventPayload66Configuration +>; + +export type PayloadBuildQueue = { + configuration?: UserEventPayload66Configuration | undefined; +}; + export const PayloadPurchaseType = { Enhanced: "enhanced", Turbo: "turbo", @@ -2286,6 +2668,7 @@ export type PayloadResourceConfig = { concurrentBuilds?: number | undefined; elasticConcurrencyEnabled?: boolean | undefined; buildEntitlements?: PayloadBuildEntitlements | undefined; + buildQueue?: PayloadBuildQueue | undefined; awsAccountType?: string | undefined; awsAccountIds?: Array | undefined; cfZoneName?: string | undefined; @@ -2316,8 +2699,8 @@ export type ResourceLimits = { }; export const PayloadViewPreference = { - Cards: "cards", List: "list", + Cards: "cards", } as const; export type PayloadViewPreference = ClosedEnum; @@ -2367,13 +2750,13 @@ export type SiftScores = { reasons: Array; }; -export const UserEventPayload64Name = { +export const UserEventPayload66Name = { String: "string", } as const; -export type UserEventPayload64Name = ClosedEnum; +export type UserEventPayload66Name = ClosedEnum; export type SiftRoute = { - name: UserEventPayload64Name; + name: UserEventPayload66Name; }; export const PayloadReason = { @@ -2438,7 +2821,7 @@ export type PayloadSoftBlock = { blockedDueToOverageType?: PayloadBlockedDueToOverageType | undefined; }; -export const UserEventPayload64Role = { +export const UserEventPayload66Role = { Owner: "OWNER", Member: "MEMBER", Developer: "DEVELOPER", @@ -2448,7 +2831,7 @@ export const UserEventPayload64Role = { ViewerForPlus: "VIEWER_FOR_PLUS", Contributor: "CONTRIBUTOR", } as const; -export type UserEventPayload64Role = ClosedEnum; +export type UserEventPayload66Role = ClosedEnum; export const PayloadTeamRoles = { Owner: "OWNER", @@ -2510,19 +2893,19 @@ export type Teams = { created: number; createdAt: number; teamId: string; - role: UserEventPayload64Role; + role: UserEventPayload66Role; + teamRoles?: Array | undefined; + teamPermissions?: Array | undefined; confirmed: boolean; confirmedAt: number; accessRequestedAt?: number | undefined; - teamRoles?: Array | undefined; - teamPermissions?: Array | undefined; joinedFrom?: UserEventPayloadJoinedFrom | undefined; }; -export const UserEventPayload64Type = { +export const UserEventPayload66Type = { User: "user", } as const; -export type UserEventPayload64Type = ClosedEnum; +export type UserEventPayload66Type = ClosedEnum; /** * Contains the timestamps when a user was notified about their usage @@ -2919,57 +3302,57 @@ export type ObservabilityPlus = { blockType: PayloadBlockType; }; -export const UserEventPayload64BlockReason = { +export const UserEventPayload66BlockReason = { AdminOverride: "admin_override", LimitsExceeded: "limits_exceeded", } as const; -export type UserEventPayload64BlockReason = ClosedEnum< - typeof UserEventPayload64BlockReason +export type UserEventPayload66BlockReason = ClosedEnum< + typeof UserEventPayload66BlockReason >; export type UserEventPayloadDataCache = { updatedAt: number; blockedFrom?: number | undefined; blockedUntil?: number | undefined; - blockReason: UserEventPayload64BlockReason; + blockReason: UserEventPayload66BlockReason; }; -export const UserEventPayload64NewOwnerBlockReason = { +export const UserEventPayload66NewOwnerBlockReason = { AdminOverride: "admin_override", LimitsExceeded: "limits_exceeded", } as const; -export type UserEventPayload64NewOwnerBlockReason = ClosedEnum< - typeof UserEventPayload64NewOwnerBlockReason +export type UserEventPayload66NewOwnerBlockReason = ClosedEnum< + typeof UserEventPayload66NewOwnerBlockReason >; export type PayloadImageOptimizationTransformation = { updatedAt: number; blockedFrom?: number | undefined; blockedUntil?: number | undefined; - blockReason: UserEventPayload64NewOwnerBlockReason; + blockReason: UserEventPayload66NewOwnerBlockReason; }; -export const UserEventPayload64NewOwnerFeatureBlocksBlockReason = { +export const UserEventPayload66NewOwnerFeatureBlocksBlockReason = { AdminOverride: "admin_override", LimitsExceeded: "limits_exceeded", } as const; -export type UserEventPayload64NewOwnerFeatureBlocksBlockReason = ClosedEnum< - typeof UserEventPayload64NewOwnerFeatureBlocksBlockReason +export type UserEventPayload66NewOwnerFeatureBlocksBlockReason = ClosedEnum< + typeof UserEventPayload66NewOwnerFeatureBlocksBlockReason >; export type PayloadSourceImages = { updatedAt: number; blockedFrom?: number | undefined; blockedUntil?: number | undefined; - blockReason: UserEventPayload64NewOwnerFeatureBlocksBlockReason; + blockReason: UserEventPayload66NewOwnerFeatureBlocksBlockReason; }; -export const UserEventPayload64NewOwnerFeatureBlocksBlobBlockReason = { +export const UserEventPayload66NewOwnerFeatureBlocksBlobBlockReason = { AdminOverride: "admin_override", LimitsExceeded: "limits_exceeded", } as const; -export type UserEventPayload64NewOwnerFeatureBlocksBlobBlockReason = ClosedEnum< - typeof UserEventPayload64NewOwnerFeatureBlocksBlobBlockReason +export type UserEventPayload66NewOwnerFeatureBlocksBlobBlockReason = ClosedEnum< + typeof UserEventPayload66NewOwnerFeatureBlocksBlobBlockReason >; export const OverageReason = { @@ -3020,16 +3403,16 @@ export type BlobT = { updatedAt: number; blockedFrom?: number | undefined; blockedUntil?: number | undefined; - blockReason: UserEventPayload64NewOwnerFeatureBlocksBlobBlockReason; + blockReason: UserEventPayload66NewOwnerFeatureBlocksBlobBlockReason; overageReason: OverageReason; }; -export const UserEventPayload64NewOwnerFeatureBlocksPostgresBlockReason = { +export const UserEventPayload66NewOwnerFeatureBlocksPostgresBlockReason = { AdminOverride: "admin_override", LimitsExceeded: "limits_exceeded", } as const; -export type UserEventPayload64NewOwnerFeatureBlocksPostgresBlockReason = - ClosedEnum; +export type UserEventPayload66NewOwnerFeatureBlocksPostgresBlockReason = + ClosedEnum; export const PayloadOverageReason = { AnalyticsUsage: "analyticsUsage", @@ -3079,16 +3462,16 @@ export type Postgres = { updatedAt: number; blockedFrom?: number | undefined; blockedUntil?: number | undefined; - blockReason: UserEventPayload64NewOwnerFeatureBlocksPostgresBlockReason; + blockReason: UserEventPayload66NewOwnerFeatureBlocksPostgresBlockReason; overageReason: PayloadOverageReason; }; -export const UserEventPayload64NewOwnerFeatureBlocksRedisBlockReason = { +export const UserEventPayload66NewOwnerFeatureBlocksRedisBlockReason = { AdminOverride: "admin_override", LimitsExceeded: "limits_exceeded", } as const; -export type UserEventPayload64NewOwnerFeatureBlocksRedisBlockReason = - ClosedEnum; +export type UserEventPayload66NewOwnerFeatureBlocksRedisBlockReason = + ClosedEnum; export const UserEventPayloadOverageReason = { AnalyticsUsage: "analyticsUsage", @@ -3140,10 +3523,28 @@ export type Redis = { updatedAt: number; blockedFrom?: number | undefined; blockedUntil?: number | undefined; - blockReason: UserEventPayload64NewOwnerFeatureBlocksRedisBlockReason; + blockReason: UserEventPayload66NewOwnerFeatureBlocksRedisBlockReason; overageReason: UserEventPayloadOverageReason; }; +export const UserEventPayload66NewOwnerFeatureBlocksMicrofrontendsRequestBlockReason = + { + AdminOverride: "admin_override", + LimitsExceeded: "limits_exceeded", + } as const; +export type UserEventPayload66NewOwnerFeatureBlocksMicrofrontendsRequestBlockReason = + ClosedEnum< + typeof UserEventPayload66NewOwnerFeatureBlocksMicrofrontendsRequestBlockReason + >; + +export type MicrofrontendsRequest = { + updatedAt: number; + blockedFrom?: number | undefined; + blockedUntil?: number | undefined; + blockReason: + UserEventPayload66NewOwnerFeatureBlocksMicrofrontendsRequestBlockReason; +}; + /** * Information about which features are blocked for a user. Blocks can be either soft (the user can still access the feature, but with a warning, e.g. prompting an upgrade) or hard (the user cannot access the feature at all). */ @@ -3162,6 +3563,7 @@ export type PayloadFeatureBlocks = { blob?: BlobT | undefined; postgres?: Postgres | undefined; redis?: Redis | undefined; + microfrontendsRequest?: MicrofrontendsRequest | undefined; }; export const Version = { @@ -3279,6 +3681,7 @@ export type NewOwner = { resourceLimits?: { [k: string]: ResourceLimits } | undefined; activeDashboardViews?: Array | undefined; secondaryEmails?: Array | undefined; + emailDomains?: Array | undefined; emailNotifications?: EmailNotifications | undefined; siftScore?: number | undefined; siftScores?: { [k: string]: SiftScores } | undefined; @@ -3303,7 +3706,7 @@ export type NewOwner = { * Deprecated on 2022-04-12 in favor of trialTeamIds and using utils/api-teams/user-has-trial-available.ts. */ trialTeamId?: string | undefined; - type: UserEventPayload64Type; + type: UserEventPayload66Type; /** * Contains the timestamps when a user was notified about their usage */ @@ -3342,7 +3745,7 @@ export type NewOwner = { /** * The payload of the event, if requested. */ -export type SixtyFour = { +export type SixtySix = { userId: string; integrationId: string; configurationId: string; @@ -3354,7 +3757,7 @@ export type SixtyFour = { /** * The payload of the event, if requested. */ -export type SixtyThree = { +export type SixtyFive = { integrationId: string; integrationSlug: string; integrationName: string; @@ -3363,7 +3766,7 @@ export type SixtyThree = { /** * The payload of the event, if requested. */ -export type SixtyTwo = { +export type SixtyFour = { projectId: string; prevAttackModeEnabled?: boolean | undefined; prevAttackModeActiveUntil?: number | null | undefined; @@ -3371,24 +3774,24 @@ export type SixtyTwo = { attackModeActiveUntil?: number | null | undefined; }; -export const UserEventPayload61Action = { +export const UserEventPayload63Action = { Log: "log", Challenge: "challenge", Deny: "deny", } as const; -export type UserEventPayload61Action = ClosedEnum< - typeof UserEventPayload61Action +export type UserEventPayload63Action = ClosedEnum< + typeof UserEventPayload63Action >; export type RuleGroups = { active: boolean; - action?: UserEventPayload61Action | undefined; + action?: UserEventPayload63Action | undefined; }; /** * The payload of the event, if requested. */ -export type SixtyOne = { +export type SixtyThree = { projectId: string; rulesetName: string; ruleGroups: { [k: string]: RuleGroups }; @@ -3404,7 +3807,7 @@ export type UserEventPayloadAction = ClosedEnum; /** * The payload of the event, if requested. */ -export type Sixty = { +export type SixtyTwo = { projectId: string; rulesetName: string; active: boolean; @@ -3414,7 +3817,7 @@ export type Sixty = { /** * The payload of the event, if requested. */ -export type FiftyNine = { +export type SixtyOne = { projectId: string; scope: string; source: string; @@ -3425,7 +3828,7 @@ export type ConfigChanges = {}; /** * The payload of the event, if requested. */ -export type FiftyEight = { +export type Sixty = { projectId: string; restore: boolean; configVersion: number; @@ -3436,7 +3839,7 @@ export type FiftyEight = { /** * The type of this cosmos doc instance, if blank, assume secret. */ -export const UserEventPayload57OldEnvVarType = { +export const UserEventPayload59OldEnvVarType = { System: "system", Encrypted: "encrypted", Plain: "plain", @@ -3445,8 +3848,8 @@ export const UserEventPayload57OldEnvVarType = { /** * The type of this cosmos doc instance, if blank, assume secret. */ -export type UserEventPayload57OldEnvVarType = ClosedEnum< - typeof UserEventPayload57OldEnvVarType +export type UserEventPayload59OldEnvVarType = ClosedEnum< + typeof UserEventPayload59OldEnvVarType >; /** @@ -3514,7 +3917,7 @@ export type OldEnvVar = { /** * The type of this cosmos doc instance, if blank, assume secret. */ - type?: UserEventPayload57OldEnvVarType | undefined; + type?: UserEventPayload59OldEnvVarType | undefined; /** * environments this env variable targets */ @@ -3540,7 +3943,7 @@ export type OldEnvVar = { /** * The type of this cosmos doc instance, if blank, assume secret. */ -export const UserEventPayload57Type = { +export const UserEventPayload59Type = { System: "system", Encrypted: "encrypted", Plain: "plain", @@ -3549,12 +3952,12 @@ export const UserEventPayload57Type = { /** * The type of this cosmos doc instance, if blank, assume secret. */ -export type UserEventPayload57Type = ClosedEnum; +export type UserEventPayload59Type = ClosedEnum; /** * environments this env variable targets */ -export const UserEventPayload57Target = { +export const UserEventPayload59Target = { Production: "production", Preview: "preview", Development: "development", @@ -3562,8 +3965,8 @@ export const UserEventPayload57Target = { /** * environments this env variable targets */ -export type UserEventPayload57Target = ClosedEnum< - typeof UserEventPayload57Target +export type UserEventPayload59Target = ClosedEnum< + typeof UserEventPayload59Target >; export type NewEnvVar = { @@ -3618,11 +4021,11 @@ export type NewEnvVar = { /** * The type of this cosmos doc instance, if blank, assume secret. */ - type?: UserEventPayload57Type | undefined; + type?: UserEventPayload59Type | undefined; /** * environments this env variable targets */ - target?: Array | undefined; + target?: Array | undefined; /** * whether or not this env varible applies to custom environments */ @@ -3681,7 +4084,7 @@ export type UpdateDiff = { /** * The payload of the event, if requested. */ -export type FiftySeven = { +export type FiftyNine = { oldEnvVar?: OldEnvVar | undefined; newEnvVar?: NewEnvVar | undefined; updateDiff?: UpdateDiff | undefined; @@ -3717,7 +4120,7 @@ export type PayloadTarget = ClosedEnum; /** * The payload of the event, if requested. */ -export type FiftySix = { +export type FiftyEight = { /** * The date when the Shared Env Var was created. */ @@ -3798,7 +4201,7 @@ export type Target = string | Array; /** * The payload of the event, if requested. */ -export type FiftyFive = { +export type FiftySeven = { key?: string | undefined; projectId?: string | undefined; projectName?: string | undefined; @@ -3813,7 +4216,7 @@ export type FiftyFive = { /** * The payload of the event, if requested. */ -export type FiftyFour = { +export type FiftySix = { email: string; name: string; }; @@ -3821,7 +4224,7 @@ export type FiftyFour = { /** * The payload of the event, if requested. */ -export type FiftyThree = { +export type FiftyFive = { sha: string; gitUserPlatform: string; projectName: string; @@ -3832,7 +4235,7 @@ export type FiftyThree = { /** * The payload of the event, if requested. */ -export type FiftyTwo = { +export type FiftyFour = { name: string; price?: number | undefined; currency?: string | undefined; @@ -3841,7 +4244,7 @@ export type FiftyTwo = { /** * The payload of the event, if requested. */ -export type FiftyOne = { +export type FiftyThree = { renew?: boolean | undefined; domain: string; }; @@ -3849,7 +4252,7 @@ export type FiftyOne = { /** * The payload of the event, if requested. */ -export type Fifty = { +export type FiftyTwo = { name: string; destinationId: string; destinationName: string; @@ -3858,7 +4261,7 @@ export type Fifty = { /** * The payload of the event, if requested. */ -export type FortyNine = { +export type FiftyOne = { name: string; destinationId: string | null; destinationName: string | null; @@ -3867,7 +4270,7 @@ export type FortyNine = { /** * The payload of the event, if requested. */ -export type FortyEight = { +export type Fifty = { name: string; fromId: string | null; fromName: string | null; @@ -3876,32 +4279,32 @@ export type FortyEight = { /** * The payload of the event, if requested. */ -export type FortySeven = { +export type FortyNine = { domainId: string; name: string; }; -export type UserEventPayload46OldTeam = { +export type UserEventPayload48OldTeam = { name: string; }; -export type UserEventPayload46NewTeam = { +export type UserEventPayload48NewTeam = { name: string; }; /** * The payload of the event, if requested. */ -export type FortySix = { +export type FortyEight = { name: string; - oldTeam?: UserEventPayload46OldTeam | undefined; - newTeam?: UserEventPayload46NewTeam | undefined; + oldTeam?: UserEventPayload48OldTeam | undefined; + newTeam?: UserEventPayload48NewTeam | undefined; }; /** * The payload of the event, if requested. */ -export type FortyFive = { +export type FortySeven = { name: string; userId: string; teamId: string; @@ -3911,7 +4314,7 @@ export type FortyFive = { /** * The payload of the event, if requested. */ -export type FortyFour = { +export type FortySix = { name: string; cdnEnabled: boolean; }; @@ -3919,7 +4322,7 @@ export type FortyFour = { /** * The payload of the event, if requested. */ -export type FortyThree = { +export type FortyFive = { name: string; price: number; currency?: string | undefined; @@ -3928,14 +4331,14 @@ export type FortyThree = { /** * The payload of the event, if requested. */ -export type FortyTwo = { +export type FortyFour = { name: string; }; /** * The payload of the event, if requested. */ -export type FortyOne = { +export type FortyThree = { id: string; value: string; name: string; @@ -3946,7 +4349,7 @@ export type FortyOne = { /** * The payload of the event, if requested. */ -export type Forty = { +export type FortyTwo = { id: string; value: string; name: string; @@ -3965,7 +4368,7 @@ export type UserEventPayloadDeployment = { /** * The payload of the event, if requested. */ -export type ThirtyNine = { +export type FortyOne = { deployment: UserEventPayloadDeployment; deploymentId: string; url: string; @@ -3982,7 +4385,7 @@ export type UserEventPayloadNewTeam = { /** * The payload of the event, if requested. */ -export type ThirtyEight = { +export type Forty = { url: string; oldTeam?: UserEventPayloadOldTeam | undefined; newTeam?: UserEventPayloadNewTeam | undefined; @@ -3998,7 +4401,7 @@ export type PayloadDeployment = { /** * The payload of the event, if requested. */ -export type ThirtySeven = { +export type ThirtyNine = { name?: string | undefined; alias?: Array | undefined; target?: string | null | undefined; @@ -4013,7 +4416,7 @@ export type ThirtySeven = { type?: string | undefined; }; -export type UserEventPayload36Project = { +export type UserEventPayload38Project = { name: string; }; @@ -4032,15 +4435,15 @@ export type Job = { /** * The payload of the event, if requested. */ -export type ThirtySix = { - project: UserEventPayload36Project; +export type ThirtyEight = { + project: UserEventPayload38Project; job: Job; }; /** * The payload of the event, if requested. */ -export type ThirtyFive = { +export type ThirtySeven = { bitbucketEmail: string; bitbucketLogin: string; bitbucketName?: string | undefined; @@ -4049,7 +4452,7 @@ export type ThirtyFive = { /** * The payload of the event, if requested. */ -export type ThirtyFour = { +export type ThirtySix = { gitlabLogin: string; gitlabEmail: string; gitlabName?: string | undefined; @@ -4058,16 +4461,16 @@ export type ThirtyFour = { /** * The payload of the event, if requested. */ -export type ThirtyThree = { +export type ThirtyFive = { githubLogin: string; }; -export type UserEventPayload32Team = { +export type UserEventPayload34Team = { id: string; name: string; }; -export type UserEventPayload32Configuration = { +export type UserEventPayload34Configuration = { id: string; name?: string | undefined; }; @@ -4075,9 +4478,9 @@ export type UserEventPayload32Configuration = { /** * The payload of the event, if requested. */ -export type ThirtyTwo = { - team: UserEventPayload32Team; - configuration: UserEventPayload32Configuration; +export type ThirtyFour = { + team: UserEventPayload34Team; + configuration: UserEventPayload34Configuration; newName: string; }; @@ -4091,7 +4494,7 @@ export type UserEventPayloadConfiguration = { name?: string | undefined; }; -export type UserEventPayload31Project = { +export type UserEventPayload33Project = { id: string; name?: string | undefined; }; @@ -4099,10 +4502,10 @@ export type UserEventPayload31Project = { /** * The payload of the event, if requested. */ -export type ThirtyOne = { +export type ThirtyThree = { team: UserEventPayloadTeam; configuration: UserEventPayloadConfiguration; - project: UserEventPayload31Project; + project: UserEventPayload33Project; }; export type PayloadTeam = { @@ -4123,7 +4526,7 @@ export type UserEventPayloadProject = { /** * The payload of the event, if requested. */ -export type Thirty = { +export type ThirtyTwo = { team: PayloadTeam; configuration: PayloadConfiguration; project: UserEventPayloadProject; @@ -4131,7 +4534,7 @@ export type Thirty = { passive?: boolean | undefined; }; -export type UserEventPayload29Team = { +export type UserEventPayload31Team = { id: string; name: string; }; @@ -4149,8 +4552,8 @@ export type PayloadProject = { /** * The payload of the event, if requested. */ -export type TwentyNine = { - team: UserEventPayload29Team; +export type ThirtyOne = { + team: UserEventPayload31Team; configuration: Configuration; project: PayloadProject; buildsEnabled?: boolean | undefined; @@ -4159,14 +4562,14 @@ export type TwentyNine = { /** * The payload of the event, if requested. */ -export type TwentyEight = { +export type Thirty = { suffix: string; }; /** * The payload of the event, if requested. */ -export type TwentySeven = { +export type TwentyNine = { status: string; suffix: string; }; @@ -4174,11 +4577,31 @@ export type TwentySeven = { /** * The payload of the event, if requested. */ -export type TwentySix = { +export type TwentyEight = { reason?: string | undefined; suffix: string; }; +/** + * The payload of the event, if requested. + */ +export type TwentySeven = { + projectId?: string | undefined; + projectName?: string | undefined; + certId?: string | undefined; + origin?: string | undefined; +}; + +/** + * The payload of the event, if requested. + */ +export type TwentySix = { + projectId?: string | undefined; + projectName?: string | undefined; + target?: Array | undefined; + updated?: boolean | undefined; +}; + /** * The payload of the event, if requested. */ @@ -4486,147 +4909,148 @@ export type Payload2 = { export type Payload1 = {}; export type Payload = + | SeventyTwo + | SixtyEight + | SeventyOne + | FortyTwo + | FortyThree + | FiftyFive + | Sixty | SixtySix | SixtyNine - | Seventy - | Forty - | FortyOne - | FiftyThree - | FiftyEight - | SixtyFour - | SixtySeven - | OneHundredAndThirtyFour - | OneHundredAndSixtyFour + | OneHundredAndThirtySix + | OneHundredAndSixtySeven | Payload2 - | FortyFive - | SixtyEight - | OneHundredAndThree - | OneHundredAndFortyFive + | FortySeven + | Seventy + | OneHundredAndFive + | OneHundredAndFortySeven | Twelve | Sixteen - | TwentyNine - | Thirty | ThirtyOne | ThirtyTwo - | ThirtyNine - | FortyEight - | FortyNine + | ThirtyThree + | ThirtyFour + | FortyOne | Fifty - | FiftyNine - | Sixty + | FiftyOne + | FiftyTwo | SixtyOne + | SixtyTwo | SixtyThree - | SeventyFour - | SeventyEight - | EightyOne - | EightyTwo - | NinetyFour - | OneHundredAndTwelve - | OneHundredAndThirtySix - | OneHundredAndThirtySeven - | OneHundredAndFortyFour + | SixtyFive + | SeventySix + | Eighty + | EightyThree + | EightyFour + | NinetySix + | OneHundredAndFourteen + | OneHundredAndThirtyEight + | OneHundredAndThirtyNine | OneHundredAndFortySix | OneHundredAndFortyEight - | OneHundredAndFiftyOne - | OneHundredAndSixtyOne - | OneHundredAndSixtyTwo - | OneHundredAndSixtyThree + | OneHundredAndFifty + | OneHundredAndFiftyThree + | OneHundredAndSixtyFour + | OneHundredAndSixtyFive + | OneHundredAndSixtySix | Four | Five | Six | Seventeen | Eighteen | TwentyThree - | TwentySeven - | ThirtyFour - | ThirtyFive + | TwentyNine | ThirtySix - | FortyThree - | FortyFour - | FortySeven - | FiftyFour - | SixtyTwo - | SixtyFive - | SeventySeven - | EightyFive - | EightySix + | ThirtySeven + | ThirtyEight + | FortyFive + | FortySix + | FortyNine + | FiftySix + | SixtyFour + | SixtySeven + | SeventyNine | EightySeven - | Ninety - | NinetyOne + | EightyEight + | EightyNine | NinetyTwo | NinetyThree + | NinetyFour | NinetyFive - | NinetySix - | NinetyNine - | OneHundred + | NinetySeven + | NinetyEight | OneHundredAndOne - | OneHundredAndEight - | OneHundredAndSeventeen - | OneHundredAndEighteen - | OneHundredAndTwentyThree - | OneHundredAndTwentyFour + | OneHundredAndTwo + | OneHundredAndThree + | OneHundredAndTen + | OneHundredAndNineteen + | OneHundredAndTwenty + | OneHundredAndTwentyFive | OneHundredAndTwentySix - | OneHundredAndThirtyFive - | OneHundredAndThirtyEight - | OneHundredAndThirtyNine + | OneHundredAndTwentyEight + | OneHundredAndThirtySeven | OneHundredAndForty + | OneHundredAndFortyOne | OneHundredAndFortyTwo - | OneHundredAndFortyThree - | OneHundredAndFortyNine - | OneHundredAndFifty + | OneHundredAndFortyFour + | OneHundredAndFortyFive + | OneHundredAndFiftyOne | OneHundredAndFiftyTwo | OneHundredAndFiftyFour - | OneHundredAndFiftyFive | OneHundredAndFiftySix + | OneHundredAndFiftySeven | OneHundredAndFiftyEight | Three | Fifteen | Twenty | TwentyTwo | TwentyFour - | TwentySix | TwentyEight - | ThirtyThree - | ThirtySeven - | ThirtyEight - | FortyTwo - | FortySix - | FiftyOne - | FiftyTwo - | SeventyOne - | SeventyTwo + | Thirty + | ThirtyFive + | ThirtyNine + | Forty + | FortyFour + | FortyEight + | FiftyThree + | FiftyFour | SeventyThree + | SeventyFour | SeventyFive - | SeventySix - | SeventyNine - | Eighty - | EightyThree - | EightyFour - | EightyEight - | EightyNine - | NinetySeven - | NinetyEight - | OneHundredAndTwo + | SeventySeven + | SeventyEight + | EightyOne + | EightyTwo + | EightyFive + | EightySix + | Ninety + | NinetyOne + | NinetyNine + | OneHundred | OneHundredAndFour - | OneHundredAndFive | OneHundredAndSix - | OneHundredAndNine - | OneHundredAndTen + | OneHundredAndSeven + | OneHundredAndEight | OneHundredAndEleven - | OneHundredAndFifteen - | OneHundredAndSixteen - | OneHundredAndNineteen - | OneHundredAndTwentyFive + | OneHundredAndTwelve + | OneHundredAndThirteen + | OneHundredAndSeventeen + | OneHundredAndEighteen + | OneHundredAndTwentyOne | OneHundredAndTwentySeven - | OneHundredAndThirtyOne - | OneHundredAndThirtyTwo + | OneHundredAndTwentyNine | OneHundredAndThirtyThree - | OneHundredAndFortyOne - | OneHundredAndFortySeven - | OneHundredAndFiftyThree - | OneHundredAndFiftySeven + | OneHundredAndThirtyFour + | OneHundredAndThirtyFive + | OneHundredAndFortyThree + | OneHundredAndFortyNine + | OneHundredAndFiftyFive | OneHundredAndFiftyNine | OneHundredAndSixty + | OneHundredAndSixtyOne + | OneHundredAndSixtyTwo + | OneHundredAndSixtyThree | Payload1 | Seven | Eight @@ -4638,18 +5062,20 @@ export type Payload = | Nineteen | TwentyOne | TwentyFive - | FiftyFive - | FiftySix + | TwentySix + | TwentySeven | FiftySeven - | OneHundredAndSeven - | OneHundredAndThirteen - | OneHundredAndFourteen - | OneHundredAndTwenty - | OneHundredAndTwentyOne + | FiftyEight + | FiftyNine + | OneHundredAndNine + | OneHundredAndFifteen + | OneHundredAndSixteen | OneHundredAndTwentyTwo - | OneHundredAndTwentyEight - | OneHundredAndTwentyNine - | OneHundredAndThirty; + | OneHundredAndTwentyThree + | OneHundredAndTwentyFour + | OneHundredAndThirty + | OneHundredAndThirtyOne + | OneHundredAndThirtyTwo; /** * Array of events generated by the User. @@ -4693,147 +5119,148 @@ export type UserEvent = { */ viaIds?: Array | undefined; payload?: - | SixtySix - | SixtyNine - | Seventy - | Forty - | FortyOne - | FiftyThree - | FiftyEight - | SixtyFour - | SixtySeven - | OneHundredAndThirtyFour - | OneHundredAndSixtyFour - | Payload2 - | FortyFive + | SeventyTwo | SixtyEight - | OneHundredAndThree - | OneHundredAndFortyFive + | SeventyOne + | FortyTwo + | FortyThree + | FiftyFive + | Sixty + | SixtySix + | SixtyNine + | OneHundredAndThirtySix + | OneHundredAndSixtySeven + | Payload2 + | FortySeven + | Seventy + | OneHundredAndFive + | OneHundredAndFortySeven | Twelve | Sixteen - | TwentyNine - | Thirty | ThirtyOne | ThirtyTwo - | ThirtyNine - | FortyEight - | FortyNine + | ThirtyThree + | ThirtyFour + | FortyOne | Fifty - | FiftyNine - | Sixty + | FiftyOne + | FiftyTwo | SixtyOne + | SixtyTwo | SixtyThree - | SeventyFour - | SeventyEight - | EightyOne - | EightyTwo - | NinetyFour - | OneHundredAndTwelve - | OneHundredAndThirtySix - | OneHundredAndThirtySeven - | OneHundredAndFortyFour + | SixtyFive + | SeventySix + | Eighty + | EightyThree + | EightyFour + | NinetySix + | OneHundredAndFourteen + | OneHundredAndThirtyEight + | OneHundredAndThirtyNine | OneHundredAndFortySix | OneHundredAndFortyEight - | OneHundredAndFiftyOne - | OneHundredAndSixtyOne - | OneHundredAndSixtyTwo - | OneHundredAndSixtyThree + | OneHundredAndFifty + | OneHundredAndFiftyThree + | OneHundredAndSixtyFour + | OneHundredAndSixtyFive + | OneHundredAndSixtySix | Four | Five | Six | Seventeen | Eighteen | TwentyThree - | TwentySeven - | ThirtyFour - | ThirtyFive + | TwentyNine | ThirtySix - | FortyThree - | FortyFour - | FortySeven - | FiftyFour - | SixtyTwo - | SixtyFive - | SeventySeven - | EightyFive - | EightySix + | ThirtySeven + | ThirtyEight + | FortyFive + | FortySix + | FortyNine + | FiftySix + | SixtyFour + | SixtySeven + | SeventyNine | EightySeven - | Ninety - | NinetyOne + | EightyEight + | EightyNine | NinetyTwo | NinetyThree + | NinetyFour | NinetyFive - | NinetySix - | NinetyNine - | OneHundred + | NinetySeven + | NinetyEight | OneHundredAndOne - | OneHundredAndEight - | OneHundredAndSeventeen - | OneHundredAndEighteen - | OneHundredAndTwentyThree - | OneHundredAndTwentyFour + | OneHundredAndTwo + | OneHundredAndThree + | OneHundredAndTen + | OneHundredAndNineteen + | OneHundredAndTwenty + | OneHundredAndTwentyFive | OneHundredAndTwentySix - | OneHundredAndThirtyFive - | OneHundredAndThirtyEight - | OneHundredAndThirtyNine + | OneHundredAndTwentyEight + | OneHundredAndThirtySeven | OneHundredAndForty + | OneHundredAndFortyOne | OneHundredAndFortyTwo - | OneHundredAndFortyThree - | OneHundredAndFortyNine - | OneHundredAndFifty + | OneHundredAndFortyFour + | OneHundredAndFortyFive + | OneHundredAndFiftyOne | OneHundredAndFiftyTwo | OneHundredAndFiftyFour - | OneHundredAndFiftyFive | OneHundredAndFiftySix + | OneHundredAndFiftySeven | OneHundredAndFiftyEight | Three | Fifteen | Twenty | TwentyTwo | TwentyFour - | TwentySix | TwentyEight - | ThirtyThree - | ThirtySeven - | ThirtyEight - | FortyTwo - | FortySix - | FiftyOne - | FiftyTwo - | SeventyOne - | SeventyTwo + | Thirty + | ThirtyFive + | ThirtyNine + | Forty + | FortyFour + | FortyEight + | FiftyThree + | FiftyFour | SeventyThree + | SeventyFour | SeventyFive - | SeventySix - | SeventyNine - | Eighty - | EightyThree - | EightyFour - | EightyEight - | EightyNine - | NinetySeven - | NinetyEight - | OneHundredAndTwo + | SeventySeven + | SeventyEight + | EightyOne + | EightyTwo + | EightyFive + | EightySix + | Ninety + | NinetyOne + | NinetyNine + | OneHundred | OneHundredAndFour - | OneHundredAndFive | OneHundredAndSix - | OneHundredAndNine - | OneHundredAndTen + | OneHundredAndSeven + | OneHundredAndEight | OneHundredAndEleven - | OneHundredAndFifteen - | OneHundredAndSixteen - | OneHundredAndNineteen - | OneHundredAndTwentyFive + | OneHundredAndTwelve + | OneHundredAndThirteen + | OneHundredAndSeventeen + | OneHundredAndEighteen + | OneHundredAndTwentyOne | OneHundredAndTwentySeven - | OneHundredAndThirtyOne - | OneHundredAndThirtyTwo + | OneHundredAndTwentyNine | OneHundredAndThirtyThree - | OneHundredAndFortyOne - | OneHundredAndFortySeven - | OneHundredAndFiftyThree - | OneHundredAndFiftySeven + | OneHundredAndThirtyFour + | OneHundredAndThirtyFive + | OneHundredAndFortyThree + | OneHundredAndFortyNine + | OneHundredAndFiftyFive | OneHundredAndFiftyNine | OneHundredAndSixty + | OneHundredAndSixtyOne + | OneHundredAndSixtyTwo + | OneHundredAndSixtyThree | Payload1 | Seven | Eight @@ -4845,18 +5272,20 @@ export type UserEvent = { | Nineteen | TwentyOne | TwentyFive - | FiftyFive - | FiftySix + | TwentySix + | TwentySeven | FiftySeven - | OneHundredAndSeven - | OneHundredAndThirteen - | OneHundredAndFourteen - | OneHundredAndTwenty - | OneHundredAndTwentyOne + | FiftyEight + | FiftyNine + | OneHundredAndNine + | OneHundredAndFifteen + | OneHundredAndSixteen | OneHundredAndTwentyTwo - | OneHundredAndTwentyEight - | OneHundredAndTwentyNine + | OneHundredAndTwentyThree + | OneHundredAndTwentyFour | OneHundredAndThirty + | OneHundredAndThirtyOne + | OneHundredAndThirtyTwo | undefined; }; @@ -4864,23 +5293,11 @@ export type UserEvent = { export const UserEventType$inboundSchema: z.ZodNativeEnum< typeof UserEventType > = z.nativeEnum(UserEventType); - /** @internal */ export const UserEventType$outboundSchema: z.ZodNativeEnum< typeof UserEventType > = UserEventType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UserEventType$ { - /** @deprecated use `UserEventType$inboundSchema` instead. */ - export const inboundSchema = UserEventType$inboundSchema; - /** @deprecated use `UserEventType$outboundSchema` instead. */ - export const outboundSchema = UserEventType$outboundSchema; -} - /** @internal */ export const Entities$inboundSchema: z.ZodType< Entities, @@ -4891,7 +5308,6 @@ export const Entities$inboundSchema: z.ZodType< start: z.number(), end: z.number(), }); - /** @internal */ export type Entities$Outbound = { type: string; @@ -4910,23 +5326,9 @@ export const Entities$outboundSchema: z.ZodType< end: 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 Entities$ { - /** @deprecated use `Entities$inboundSchema` instead. */ - export const inboundSchema = Entities$inboundSchema; - /** @deprecated use `Entities$outboundSchema` instead. */ - export const outboundSchema = Entities$outboundSchema; - /** @deprecated use `Entities$Outbound` instead. */ - export type Outbound = Entities$Outbound; -} - export function entitiesToJSON(entities: Entities): string { return JSON.stringify(Entities$outboundSchema.parse(entities)); } - export function entitiesFromJSON( jsonString: string, ): SafeParseResult { @@ -4946,7 +5348,6 @@ export const User$inboundSchema: z.ZodType = z slug: z.string().optional(), uid: z.string(), }); - /** @internal */ export type User$Outbound = { username: string; @@ -4966,23 +5367,9 @@ export const User$outboundSchema: z.ZodType = 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 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 { @@ -4997,23 +5384,11 @@ export function userFromJSON( export const UserEventPrincipalType$inboundSchema: z.ZodNativeEnum< typeof UserEventPrincipalType > = z.nativeEnum(UserEventPrincipalType); - /** @internal */ export const UserEventPrincipalType$outboundSchema: z.ZodNativeEnum< typeof UserEventPrincipalType > = UserEventPrincipalType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UserEventPrincipalType$ { - /** @deprecated use `UserEventPrincipalType$inboundSchema` instead. */ - export const inboundSchema = UserEventPrincipalType$inboundSchema; - /** @deprecated use `UserEventPrincipalType$outboundSchema` instead. */ - export const outboundSchema = UserEventPrincipalType$outboundSchema; -} - /** @internal */ export const Two$inboundSchema: z.ZodType = z .object({ @@ -5021,7 +5396,6 @@ export const Two$inboundSchema: z.ZodType = z clientId: z.string(), name: z.string(), }); - /** @internal */ export type Two$Outbound = { type: string; @@ -5037,23 +5411,9 @@ export const Two$outboundSchema: z.ZodType = z 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 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 { @@ -5068,23 +5428,11 @@ export function twoFromJSON( export const PrincipalType$inboundSchema: z.ZodNativeEnum< typeof PrincipalType > = z.nativeEnum(PrincipalType); - /** @internal */ export const PrincipalType$outboundSchema: z.ZodNativeEnum< typeof PrincipalType > = PrincipalType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PrincipalType$ { - /** @deprecated use `PrincipalType$inboundSchema` instead. */ - export const inboundSchema = PrincipalType$inboundSchema; - /** @deprecated use `PrincipalType$outboundSchema` instead. */ - export const outboundSchema = PrincipalType$outboundSchema; -} - /** @internal */ export const One$inboundSchema: z.ZodType = z .object({ @@ -5095,7 +5443,6 @@ export const One$inboundSchema: z.ZodType = z uid: z.string(), username: z.string(), }); - /** @internal */ export type One$Outbound = { type?: string | undefined; @@ -5117,23 +5464,9 @@ export const One$outboundSchema: z.ZodType = z 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 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 { @@ -5150,7 +5483,6 @@ export const Principal$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.union([z.lazy(() => One$inboundSchema), z.lazy(() => Two$inboundSchema)]); - /** @internal */ export type Principal$Outbound = One$Outbound | Two$Outbound; @@ -5164,23 +5496,9 @@ export const Principal$outboundSchema: z.ZodType< z.lazy(() => Two$outboundSchema), ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Principal$ { - /** @deprecated use `Principal$inboundSchema` instead. */ - export const inboundSchema = Principal$inboundSchema; - /** @deprecated use `Principal$outboundSchema` instead. */ - export const outboundSchema = Principal$outboundSchema; - /** @deprecated use `Principal$Outbound` instead. */ - export type Outbound = Principal$Outbound; -} - export function principalToJSON(principal: Principal): string { return JSON.stringify(Principal$outboundSchema.parse(principal)); } - export function principalFromJSON( jsonString: string, ): SafeParseResult { @@ -5195,23 +5513,11 @@ export function principalFromJSON( export const UserEventViaType$inboundSchema: z.ZodNativeEnum< typeof UserEventViaType > = z.nativeEnum(UserEventViaType); - /** @internal */ export const UserEventViaType$outboundSchema: z.ZodNativeEnum< typeof UserEventViaType > = UserEventViaType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UserEventViaType$ { - /** @deprecated use `UserEventViaType$inboundSchema` instead. */ - export const inboundSchema = UserEventViaType$inboundSchema; - /** @deprecated use `UserEventViaType$outboundSchema` instead. */ - export const outboundSchema = UserEventViaType$outboundSchema; -} - /** @internal */ export const Via2$inboundSchema: z.ZodType = z .object({ @@ -5219,7 +5525,6 @@ export const Via2$inboundSchema: z.ZodType = z clientId: z.string(), name: z.string(), }); - /** @internal */ export type Via2$Outbound = { type: string; @@ -5235,23 +5540,9 @@ export const Via2$outboundSchema: z.ZodType = 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 Via2$ { - /** @deprecated use `Via2$inboundSchema` instead. */ - export const inboundSchema = Via2$inboundSchema; - /** @deprecated use `Via2$outboundSchema` instead. */ - export const outboundSchema = Via2$outboundSchema; - /** @deprecated use `Via2$Outbound` instead. */ - export type Outbound = Via2$Outbound; -} - export function via2ToJSON(via2: Via2): string { return JSON.stringify(Via2$outboundSchema.parse(via2)); } - export function via2FromJSON( jsonString: string, ): SafeParseResult { @@ -5265,22 +5556,10 @@ export function via2FromJSON( /** @internal */ export const ViaType$inboundSchema: z.ZodNativeEnum = z .nativeEnum(ViaType); - /** @internal */ export const ViaType$outboundSchema: z.ZodNativeEnum = ViaType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ViaType$ { - /** @deprecated use `ViaType$inboundSchema` instead. */ - export const inboundSchema = ViaType$inboundSchema; - /** @deprecated use `ViaType$outboundSchema` instead. */ - export const outboundSchema = ViaType$outboundSchema; -} - /** @internal */ export const Via1$inboundSchema: z.ZodType = z .object({ @@ -5291,7 +5570,6 @@ export const Via1$inboundSchema: z.ZodType = z uid: z.string(), username: z.string(), }); - /** @internal */ export type Via1$Outbound = { type?: string | undefined; @@ -5313,23 +5591,9 @@ export const Via1$outboundSchema: z.ZodType = 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 Via1$ { - /** @deprecated use `Via1$inboundSchema` instead. */ - export const inboundSchema = Via1$inboundSchema; - /** @deprecated use `Via1$outboundSchema` instead. */ - export const outboundSchema = Via1$outboundSchema; - /** @deprecated use `Via1$Outbound` instead. */ - export type Outbound = Via1$Outbound; -} - export function via1ToJSON(via1: Via1): string { return JSON.stringify(Via1$outboundSchema.parse(via1)); } - export function via1FromJSON( jsonString: string, ): SafeParseResult { @@ -5344,7 +5608,6 @@ export function via1FromJSON( export const Via$inboundSchema: z.ZodType = z.union( [z.lazy(() => Via1$inboundSchema), z.lazy(() => Via2$inboundSchema)], ); - /** @internal */ export type Via$Outbound = Via1$Outbound | Via2$Outbound; @@ -5355,23 +5618,9 @@ export const Via$outboundSchema: z.ZodType = z z.lazy(() => Via2$outboundSchema), ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Via$ { - /** @deprecated use `Via$inboundSchema` instead. */ - export const inboundSchema = Via$inboundSchema; - /** @deprecated use `Via$outboundSchema` instead. */ - export const outboundSchema = Via$outboundSchema; - /** @deprecated use `Via$Outbound` instead. */ - export type Outbound = Via$Outbound; -} - export function viaToJSON(via: Via): string { return JSON.stringify(Via$outboundSchema.parse(via)); } - export function viaFromJSON( jsonString: string, ): SafeParseResult { @@ -5385,44 +5634,114 @@ export function viaFromJSON( /** @internal */ export const GrantType$inboundSchema: z.ZodNativeEnum = z .nativeEnum(GrantType); - /** @internal */ export const GrantType$outboundSchema: z.ZodNativeEnum = GrantType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace GrantType$ { - /** @deprecated use `GrantType$inboundSchema` instead. */ - export const inboundSchema = GrantType$inboundSchema; - /** @deprecated use `GrantType$outboundSchema` instead. */ - export const outboundSchema = GrantType$outboundSchema; -} - /** @internal */ export const AuthMethod$inboundSchema: z.ZodNativeEnum = z .nativeEnum(AuthMethod); - /** @internal */ export const AuthMethod$outboundSchema: z.ZodNativeEnum = AuthMethod$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace AuthMethod$ { - /** @deprecated use `AuthMethod$inboundSchema` instead. */ - export const inboundSchema = AuthMethod$inboundSchema; - /** @deprecated use `AuthMethod$outboundSchema` instead. */ - export const outboundSchema = AuthMethod$outboundSchema; +/** @internal */ +export const Method$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(Method); +/** @internal */ +export const Method$outboundSchema: z.ZodNativeEnum = + Method$inboundSchema; + +/** @internal */ +export const ClientAuthenticationUsed$inboundSchema: z.ZodType< + ClientAuthenticationUsed, + z.ZodTypeDef, + unknown +> = z.object({ + method: Method$inboundSchema, + secretId: z.string().optional(), +}); +/** @internal */ +export type ClientAuthenticationUsed$Outbound = { + method: string; + secretId?: string | undefined; +}; + +/** @internal */ +export const ClientAuthenticationUsed$outboundSchema: z.ZodType< + ClientAuthenticationUsed$Outbound, + z.ZodTypeDef, + ClientAuthenticationUsed +> = z.object({ + method: Method$outboundSchema, + secretId: z.string().optional(), +}); + +export function clientAuthenticationUsedToJSON( + clientAuthenticationUsed: ClientAuthenticationUsed, +): string { + return JSON.stringify( + ClientAuthenticationUsed$outboundSchema.parse(clientAuthenticationUsed), + ); +} +export function clientAuthenticationUsedFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ClientAuthenticationUsed$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ClientAuthenticationUsed' from JSON`, + ); } /** @internal */ -export const OneHundredAndSixtyFour$inboundSchema: z.ZodType< - OneHundredAndSixtyFour, +export const PayloadApp$inboundSchema: z.ZodType< + PayloadApp, + z.ZodTypeDef, + unknown +> = z.object({ + clientId: z.string(), + name: z.string(), + clientAuthenticationUsed: z.lazy(() => + ClientAuthenticationUsed$inboundSchema + ), +}); +/** @internal */ +export type PayloadApp$Outbound = { + clientId: string; + name: string; + clientAuthenticationUsed: ClientAuthenticationUsed$Outbound; +}; + +/** @internal */ +export const PayloadApp$outboundSchema: z.ZodType< + PayloadApp$Outbound, + z.ZodTypeDef, + PayloadApp +> = z.object({ + clientId: z.string(), + name: z.string(), + clientAuthenticationUsed: z.lazy(() => + ClientAuthenticationUsed$outboundSchema + ), +}); + +export function payloadAppToJSON(payloadApp: PayloadApp): string { + return JSON.stringify(PayloadApp$outboundSchema.parse(payloadApp)); +} +export function payloadAppFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => PayloadApp$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PayloadApp' from JSON`, + ); +} + +/** @internal */ +export const OneHundredAndSixtySeven$inboundSchema: z.ZodType< + OneHundredAndSixtySeven, z.ZodTypeDef, unknown > = z.object({ @@ -5432,23 +5751,30 @@ export const OneHundredAndSixtyFour$inboundSchema: z.ZodType< rtTTL: z.number().optional(), scope: z.string(), authMethod: AuthMethod$inboundSchema, + app: z.lazy(() => PayloadApp$inboundSchema).optional(), + includesRefreshToken: z.boolean().optional(), + publicId: z.string().optional(), + sessionId: z.string().optional(), }); - /** @internal */ -export type OneHundredAndSixtyFour$Outbound = { +export type OneHundredAndSixtySeven$Outbound = { grantType: string; appName: string; atTTL: number; rtTTL?: number | undefined; scope: string; authMethod: string; + app?: PayloadApp$Outbound | undefined; + includesRefreshToken?: boolean | undefined; + publicId?: string | undefined; + sessionId?: string | undefined; }; /** @internal */ -export const OneHundredAndSixtyFour$outboundSchema: z.ZodType< - OneHundredAndSixtyFour$Outbound, +export const OneHundredAndSixtySeven$outboundSchema: z.ZodType< + OneHundredAndSixtySeven$Outbound, z.ZodTypeDef, - OneHundredAndSixtyFour + OneHundredAndSixtySeven > = z.object({ grantType: GrantType$outboundSchema, appName: z.string(), @@ -5456,152 +5782,112 @@ export const OneHundredAndSixtyFour$outboundSchema: z.ZodType< rtTTL: z.number().optional(), scope: z.string(), authMethod: AuthMethod$outboundSchema, + app: z.lazy(() => PayloadApp$outboundSchema).optional(), + includesRefreshToken: z.boolean().optional(), + publicId: z.string().optional(), + sessionId: z.string().optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace OneHundredAndSixtyFour$ { - /** @deprecated use `OneHundredAndSixtyFour$inboundSchema` instead. */ - export const inboundSchema = OneHundredAndSixtyFour$inboundSchema; - /** @deprecated use `OneHundredAndSixtyFour$outboundSchema` instead. */ - export const outboundSchema = OneHundredAndSixtyFour$outboundSchema; - /** @deprecated use `OneHundredAndSixtyFour$Outbound` instead. */ - export type Outbound = OneHundredAndSixtyFour$Outbound; -} - -export function oneHundredAndSixtyFourToJSON( - oneHundredAndSixtyFour: OneHundredAndSixtyFour, +export function oneHundredAndSixtySevenToJSON( + oneHundredAndSixtySeven: OneHundredAndSixtySeven, ): string { return JSON.stringify( - OneHundredAndSixtyFour$outboundSchema.parse(oneHundredAndSixtyFour), + OneHundredAndSixtySeven$outboundSchema.parse(oneHundredAndSixtySeven), ); } - -export function oneHundredAndSixtyFourFromJSON( +export function oneHundredAndSixtySevenFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndSixtyFour$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndSixtyFour' from JSON`, + (x) => OneHundredAndSixtySeven$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndSixtySeven' from JSON`, ); } /** @internal */ -export const UserEventPayload163Team$inboundSchema: z.ZodType< - UserEventPayload163Team, +export const UserEventPayload166Team$inboundSchema: z.ZodType< + UserEventPayload166Team, z.ZodTypeDef, unknown > = z.object({ id: z.string(), name: z.string(), }); - /** @internal */ -export type UserEventPayload163Team$Outbound = { +export type UserEventPayload166Team$Outbound = { id: string; name: string; }; /** @internal */ -export const UserEventPayload163Team$outboundSchema: z.ZodType< - UserEventPayload163Team$Outbound, +export const UserEventPayload166Team$outboundSchema: z.ZodType< + UserEventPayload166Team$Outbound, z.ZodTypeDef, - UserEventPayload163Team + UserEventPayload166Team > = z.object({ id: z.string(), 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 UserEventPayload163Team$ { - /** @deprecated use `UserEventPayload163Team$inboundSchema` instead. */ - export const inboundSchema = UserEventPayload163Team$inboundSchema; - /** @deprecated use `UserEventPayload163Team$outboundSchema` instead. */ - export const outboundSchema = UserEventPayload163Team$outboundSchema; - /** @deprecated use `UserEventPayload163Team$Outbound` instead. */ - export type Outbound = UserEventPayload163Team$Outbound; -} - -export function userEventPayload163TeamToJSON( - userEventPayload163Team: UserEventPayload163Team, +export function userEventPayload166TeamToJSON( + userEventPayload166Team: UserEventPayload166Team, ): string { return JSON.stringify( - UserEventPayload163Team$outboundSchema.parse(userEventPayload163Team), + UserEventPayload166Team$outboundSchema.parse(userEventPayload166Team), ); } - -export function userEventPayload163TeamFromJSON( +export function userEventPayload166TeamFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload163Team$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload163Team' from JSON`, + (x) => UserEventPayload166Team$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload166Team' from JSON`, ); } /** @internal */ -export const UserEventPayload163Configuration$inboundSchema: z.ZodType< - UserEventPayload163Configuration, +export const UserEventPayload166Configuration$inboundSchema: z.ZodType< + UserEventPayload166Configuration, z.ZodTypeDef, unknown > = z.object({ id: z.string(), name: z.string().optional(), }); - /** @internal */ -export type UserEventPayload163Configuration$Outbound = { +export type UserEventPayload166Configuration$Outbound = { id: string; name?: string | undefined; }; /** @internal */ -export const UserEventPayload163Configuration$outboundSchema: z.ZodType< - UserEventPayload163Configuration$Outbound, +export const UserEventPayload166Configuration$outboundSchema: z.ZodType< + UserEventPayload166Configuration$Outbound, z.ZodTypeDef, - UserEventPayload163Configuration + UserEventPayload166Configuration > = 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 UserEventPayload163Configuration$ { - /** @deprecated use `UserEventPayload163Configuration$inboundSchema` instead. */ - export const inboundSchema = UserEventPayload163Configuration$inboundSchema; - /** @deprecated use `UserEventPayload163Configuration$outboundSchema` instead. */ - export const outboundSchema = UserEventPayload163Configuration$outboundSchema; - /** @deprecated use `UserEventPayload163Configuration$Outbound` instead. */ - export type Outbound = UserEventPayload163Configuration$Outbound; -} - -export function userEventPayload163ConfigurationToJSON( - userEventPayload163Configuration: UserEventPayload163Configuration, +export function userEventPayload166ConfigurationToJSON( + userEventPayload166Configuration: UserEventPayload166Configuration, ): string { return JSON.stringify( - UserEventPayload163Configuration$outboundSchema.parse( - userEventPayload163Configuration, + UserEventPayload166Configuration$outboundSchema.parse( + userEventPayload166Configuration, ), ); } - -export function userEventPayload163ConfigurationFromJSON( +export function userEventPayload166ConfigurationFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload163Configuration$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload163Configuration' from JSON`, + (x) => UserEventPayload166Configuration$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload166Configuration' from JSON`, ); } @@ -5614,7 +5900,6 @@ export const UserEventPayloadPeering$inboundSchema: z.ZodType< id: z.string(), name: z.string().optional(), }); - /** @internal */ export type UserEventPayloadPeering$Outbound = { id: string; @@ -5631,19 +5916,6 @@ export const UserEventPayloadPeering$outboundSchema: z.ZodType< 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 UserEventPayloadPeering$ { - /** @deprecated use `UserEventPayloadPeering$inboundSchema` instead. */ - export const inboundSchema = UserEventPayloadPeering$inboundSchema; - /** @deprecated use `UserEventPayloadPeering$outboundSchema` instead. */ - export const outboundSchema = UserEventPayloadPeering$outboundSchema; - /** @deprecated use `UserEventPayloadPeering$Outbound` instead. */ - export type Outbound = UserEventPayloadPeering$Outbound; -} - export function userEventPayloadPeeringToJSON( userEventPayloadPeering: UserEventPayloadPeering, ): string { @@ -5651,7 +5923,6 @@ export function userEventPayloadPeeringToJSON( UserEventPayloadPeering$outboundSchema.parse(userEventPayloadPeering), ); } - export function userEventPayloadPeeringFromJSON( jsonString: string, ): SafeParseResult { @@ -5663,181 +5934,136 @@ export function userEventPayloadPeeringFromJSON( } /** @internal */ -export const OneHundredAndSixtyThree$inboundSchema: z.ZodType< - OneHundredAndSixtyThree, +export const OneHundredAndSixtySix$inboundSchema: z.ZodType< + OneHundredAndSixtySix, z.ZodTypeDef, unknown > = z.object({ - team: z.lazy(() => UserEventPayload163Team$inboundSchema), - configuration: z.lazy(() => UserEventPayload163Configuration$inboundSchema), + team: z.lazy(() => UserEventPayload166Team$inboundSchema), + configuration: z.lazy(() => UserEventPayload166Configuration$inboundSchema), peering: z.lazy(() => UserEventPayloadPeering$inboundSchema), newName: z.string().optional(), }); - /** @internal */ -export type OneHundredAndSixtyThree$Outbound = { - team: UserEventPayload163Team$Outbound; - configuration: UserEventPayload163Configuration$Outbound; +export type OneHundredAndSixtySix$Outbound = { + team: UserEventPayload166Team$Outbound; + configuration: UserEventPayload166Configuration$Outbound; peering: UserEventPayloadPeering$Outbound; newName?: string | undefined; }; /** @internal */ -export const OneHundredAndSixtyThree$outboundSchema: z.ZodType< - OneHundredAndSixtyThree$Outbound, +export const OneHundredAndSixtySix$outboundSchema: z.ZodType< + OneHundredAndSixtySix$Outbound, z.ZodTypeDef, - OneHundredAndSixtyThree + OneHundredAndSixtySix > = z.object({ - team: z.lazy(() => UserEventPayload163Team$outboundSchema), - configuration: z.lazy(() => UserEventPayload163Configuration$outboundSchema), + team: z.lazy(() => UserEventPayload166Team$outboundSchema), + configuration: z.lazy(() => UserEventPayload166Configuration$outboundSchema), peering: z.lazy(() => UserEventPayloadPeering$outboundSchema), newName: z.string().optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace OneHundredAndSixtyThree$ { - /** @deprecated use `OneHundredAndSixtyThree$inboundSchema` instead. */ - export const inboundSchema = OneHundredAndSixtyThree$inboundSchema; - /** @deprecated use `OneHundredAndSixtyThree$outboundSchema` instead. */ - export const outboundSchema = OneHundredAndSixtyThree$outboundSchema; - /** @deprecated use `OneHundredAndSixtyThree$Outbound` instead. */ - export type Outbound = OneHundredAndSixtyThree$Outbound; -} - -export function oneHundredAndSixtyThreeToJSON( - oneHundredAndSixtyThree: OneHundredAndSixtyThree, +export function oneHundredAndSixtySixToJSON( + oneHundredAndSixtySix: OneHundredAndSixtySix, ): string { return JSON.stringify( - OneHundredAndSixtyThree$outboundSchema.parse(oneHundredAndSixtyThree), + OneHundredAndSixtySix$outboundSchema.parse(oneHundredAndSixtySix), ); } - -export function oneHundredAndSixtyThreeFromJSON( +export function oneHundredAndSixtySixFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndSixtyThree$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndSixtyThree' from JSON`, + (x) => OneHundredAndSixtySix$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndSixtySix' from JSON`, ); } /** @internal */ -export const UserEventPayload162Team$inboundSchema: z.ZodType< - UserEventPayload162Team, +export const UserEventPayload165Team$inboundSchema: z.ZodType< + UserEventPayload165Team, z.ZodTypeDef, unknown > = z.object({ id: z.string(), name: z.string(), }); - /** @internal */ -export type UserEventPayload162Team$Outbound = { +export type UserEventPayload165Team$Outbound = { id: string; name: string; }; /** @internal */ -export const UserEventPayload162Team$outboundSchema: z.ZodType< - UserEventPayload162Team$Outbound, +export const UserEventPayload165Team$outboundSchema: z.ZodType< + UserEventPayload165Team$Outbound, z.ZodTypeDef, - UserEventPayload162Team + UserEventPayload165Team > = z.object({ id: z.string(), 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 UserEventPayload162Team$ { - /** @deprecated use `UserEventPayload162Team$inboundSchema` instead. */ - export const inboundSchema = UserEventPayload162Team$inboundSchema; - /** @deprecated use `UserEventPayload162Team$outboundSchema` instead. */ - export const outboundSchema = UserEventPayload162Team$outboundSchema; - /** @deprecated use `UserEventPayload162Team$Outbound` instead. */ - export type Outbound = UserEventPayload162Team$Outbound; -} - -export function userEventPayload162TeamToJSON( - userEventPayload162Team: UserEventPayload162Team, +export function userEventPayload165TeamToJSON( + userEventPayload165Team: UserEventPayload165Team, ): string { return JSON.stringify( - UserEventPayload162Team$outboundSchema.parse(userEventPayload162Team), + UserEventPayload165Team$outboundSchema.parse(userEventPayload165Team), ); } - -export function userEventPayload162TeamFromJSON( +export function userEventPayload165TeamFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload162Team$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload162Team' from JSON`, + (x) => UserEventPayload165Team$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload165Team' from JSON`, ); } /** @internal */ -export const UserEventPayload162Configuration$inboundSchema: z.ZodType< - UserEventPayload162Configuration, +export const UserEventPayload165Configuration$inboundSchema: z.ZodType< + UserEventPayload165Configuration, z.ZodTypeDef, unknown > = z.object({ id: z.string(), name: z.string().optional(), }); - /** @internal */ -export type UserEventPayload162Configuration$Outbound = { +export type UserEventPayload165Configuration$Outbound = { id: string; name?: string | undefined; }; /** @internal */ -export const UserEventPayload162Configuration$outboundSchema: z.ZodType< - UserEventPayload162Configuration$Outbound, +export const UserEventPayload165Configuration$outboundSchema: z.ZodType< + UserEventPayload165Configuration$Outbound, z.ZodTypeDef, - UserEventPayload162Configuration + UserEventPayload165Configuration > = 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 UserEventPayload162Configuration$ { - /** @deprecated use `UserEventPayload162Configuration$inboundSchema` instead. */ - export const inboundSchema = UserEventPayload162Configuration$inboundSchema; - /** @deprecated use `UserEventPayload162Configuration$outboundSchema` instead. */ - export const outboundSchema = UserEventPayload162Configuration$outboundSchema; - /** @deprecated use `UserEventPayload162Configuration$Outbound` instead. */ - export type Outbound = UserEventPayload162Configuration$Outbound; -} - -export function userEventPayload162ConfigurationToJSON( - userEventPayload162Configuration: UserEventPayload162Configuration, +export function userEventPayload165ConfigurationToJSON( + userEventPayload165Configuration: UserEventPayload165Configuration, ): string { return JSON.stringify( - UserEventPayload162Configuration$outboundSchema.parse( - userEventPayload162Configuration, + UserEventPayload165Configuration$outboundSchema.parse( + userEventPayload165Configuration, ), ); } - -export function userEventPayload162ConfigurationFromJSON( +export function userEventPayload165ConfigurationFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload162Configuration$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload162Configuration' from JSON`, + (x) => UserEventPayload165Configuration$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload165Configuration' from JSON`, ); } @@ -5850,7 +6076,6 @@ export const PayloadPeering$inboundSchema: z.ZodType< id: z.string(), name: z.string().optional(), }); - /** @internal */ export type PayloadPeering$Outbound = { id: string; @@ -5867,23 +6092,9 @@ export const PayloadPeering$outboundSchema: z.ZodType< 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 PayloadPeering$ { - /** @deprecated use `PayloadPeering$inboundSchema` instead. */ - export const inboundSchema = PayloadPeering$inboundSchema; - /** @deprecated use `PayloadPeering$outboundSchema` instead. */ - export const outboundSchema = PayloadPeering$outboundSchema; - /** @deprecated use `PayloadPeering$Outbound` instead. */ - export type Outbound = PayloadPeering$Outbound; -} - export function payloadPeeringToJSON(payloadPeering: PayloadPeering): string { return JSON.stringify(PayloadPeering$outboundSchema.parse(payloadPeering)); } - export function payloadPeeringFromJSON( jsonString: string, ): SafeParseResult { @@ -5895,178 +6106,133 @@ export function payloadPeeringFromJSON( } /** @internal */ -export const OneHundredAndSixtyTwo$inboundSchema: z.ZodType< - OneHundredAndSixtyTwo, +export const OneHundredAndSixtyFive$inboundSchema: z.ZodType< + OneHundredAndSixtyFive, z.ZodTypeDef, unknown > = z.object({ - team: z.lazy(() => UserEventPayload162Team$inboundSchema), - configuration: z.lazy(() => UserEventPayload162Configuration$inboundSchema), + team: z.lazy(() => UserEventPayload165Team$inboundSchema), + configuration: z.lazy(() => UserEventPayload165Configuration$inboundSchema), peering: z.lazy(() => PayloadPeering$inboundSchema), }); - /** @internal */ -export type OneHundredAndSixtyTwo$Outbound = { - team: UserEventPayload162Team$Outbound; - configuration: UserEventPayload162Configuration$Outbound; +export type OneHundredAndSixtyFive$Outbound = { + team: UserEventPayload165Team$Outbound; + configuration: UserEventPayload165Configuration$Outbound; peering: PayloadPeering$Outbound; }; /** @internal */ -export const OneHundredAndSixtyTwo$outboundSchema: z.ZodType< - OneHundredAndSixtyTwo$Outbound, +export const OneHundredAndSixtyFive$outboundSchema: z.ZodType< + OneHundredAndSixtyFive$Outbound, z.ZodTypeDef, - OneHundredAndSixtyTwo + OneHundredAndSixtyFive > = z.object({ - team: z.lazy(() => UserEventPayload162Team$outboundSchema), - configuration: z.lazy(() => UserEventPayload162Configuration$outboundSchema), + team: z.lazy(() => UserEventPayload165Team$outboundSchema), + configuration: z.lazy(() => UserEventPayload165Configuration$outboundSchema), peering: z.lazy(() => PayloadPeering$outboundSchema), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace OneHundredAndSixtyTwo$ { - /** @deprecated use `OneHundredAndSixtyTwo$inboundSchema` instead. */ - export const inboundSchema = OneHundredAndSixtyTwo$inboundSchema; - /** @deprecated use `OneHundredAndSixtyTwo$outboundSchema` instead. */ - export const outboundSchema = OneHundredAndSixtyTwo$outboundSchema; - /** @deprecated use `OneHundredAndSixtyTwo$Outbound` instead. */ - export type Outbound = OneHundredAndSixtyTwo$Outbound; -} - -export function oneHundredAndSixtyTwoToJSON( - oneHundredAndSixtyTwo: OneHundredAndSixtyTwo, +export function oneHundredAndSixtyFiveToJSON( + oneHundredAndSixtyFive: OneHundredAndSixtyFive, ): string { return JSON.stringify( - OneHundredAndSixtyTwo$outboundSchema.parse(oneHundredAndSixtyTwo), + OneHundredAndSixtyFive$outboundSchema.parse(oneHundredAndSixtyFive), ); } - -export function oneHundredAndSixtyTwoFromJSON( +export function oneHundredAndSixtyFiveFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndSixtyTwo$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndSixtyTwo' from JSON`, + (x) => OneHundredAndSixtyFive$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndSixtyFive' from JSON`, ); } /** @internal */ -export const UserEventPayload161Team$inboundSchema: z.ZodType< - UserEventPayload161Team, +export const UserEventPayload164Team$inboundSchema: z.ZodType< + UserEventPayload164Team, z.ZodTypeDef, unknown > = z.object({ id: z.string(), name: z.string(), }); - /** @internal */ -export type UserEventPayload161Team$Outbound = { +export type UserEventPayload164Team$Outbound = { id: string; name: string; }; /** @internal */ -export const UserEventPayload161Team$outboundSchema: z.ZodType< - UserEventPayload161Team$Outbound, +export const UserEventPayload164Team$outboundSchema: z.ZodType< + UserEventPayload164Team$Outbound, z.ZodTypeDef, - UserEventPayload161Team + UserEventPayload164Team > = z.object({ id: z.string(), 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 UserEventPayload161Team$ { - /** @deprecated use `UserEventPayload161Team$inboundSchema` instead. */ - export const inboundSchema = UserEventPayload161Team$inboundSchema; - /** @deprecated use `UserEventPayload161Team$outboundSchema` instead. */ - export const outboundSchema = UserEventPayload161Team$outboundSchema; - /** @deprecated use `UserEventPayload161Team$Outbound` instead. */ - export type Outbound = UserEventPayload161Team$Outbound; -} - -export function userEventPayload161TeamToJSON( - userEventPayload161Team: UserEventPayload161Team, +export function userEventPayload164TeamToJSON( + userEventPayload164Team: UserEventPayload164Team, ): string { return JSON.stringify( - UserEventPayload161Team$outboundSchema.parse(userEventPayload161Team), + UserEventPayload164Team$outboundSchema.parse(userEventPayload164Team), ); } - -export function userEventPayload161TeamFromJSON( +export function userEventPayload164TeamFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload161Team$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload161Team' from JSON`, + (x) => UserEventPayload164Team$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload164Team' from JSON`, ); } /** @internal */ -export const UserEventPayload161Configuration$inboundSchema: z.ZodType< - UserEventPayload161Configuration, +export const UserEventPayload164Configuration$inboundSchema: z.ZodType< + UserEventPayload164Configuration, z.ZodTypeDef, unknown > = z.object({ id: z.string(), name: z.string().optional(), }); - /** @internal */ -export type UserEventPayload161Configuration$Outbound = { +export type UserEventPayload164Configuration$Outbound = { id: string; name?: string | undefined; }; /** @internal */ -export const UserEventPayload161Configuration$outboundSchema: z.ZodType< - UserEventPayload161Configuration$Outbound, +export const UserEventPayload164Configuration$outboundSchema: z.ZodType< + UserEventPayload164Configuration$Outbound, z.ZodTypeDef, - UserEventPayload161Configuration + UserEventPayload164Configuration > = 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 UserEventPayload161Configuration$ { - /** @deprecated use `UserEventPayload161Configuration$inboundSchema` instead. */ - export const inboundSchema = UserEventPayload161Configuration$inboundSchema; - /** @deprecated use `UserEventPayload161Configuration$outboundSchema` instead. */ - export const outboundSchema = UserEventPayload161Configuration$outboundSchema; - /** @deprecated use `UserEventPayload161Configuration$Outbound` instead. */ - export type Outbound = UserEventPayload161Configuration$Outbound; -} - -export function userEventPayload161ConfigurationToJSON( - userEventPayload161Configuration: UserEventPayload161Configuration, +export function userEventPayload164ConfigurationToJSON( + userEventPayload164Configuration: UserEventPayload164Configuration, ): string { return JSON.stringify( - UserEventPayload161Configuration$outboundSchema.parse( - userEventPayload161Configuration, + UserEventPayload164Configuration$outboundSchema.parse( + userEventPayload164Configuration, ), ); } - -export function userEventPayload161ConfigurationFromJSON( +export function userEventPayload164ConfigurationFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload161Configuration$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload161Configuration' from JSON`, + (x) => UserEventPayload164Configuration$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload164Configuration' from JSON`, ); } @@ -6078,7 +6244,6 @@ export const Peering$inboundSchema: z.ZodType = region: z.string(), vpcId: z.string(), }); - /** @internal */ export type Peering$Outbound = { id: string; @@ -6099,23 +6264,9 @@ export const Peering$outboundSchema: z.ZodType< vpcId: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Peering$ { - /** @deprecated use `Peering$inboundSchema` instead. */ - export const inboundSchema = Peering$inboundSchema; - /** @deprecated use `Peering$outboundSchema` instead. */ - export const outboundSchema = Peering$outboundSchema; - /** @deprecated use `Peering$Outbound` instead. */ - export type Outbound = Peering$Outbound; -} - export function peeringToJSON(peering: Peering): string { return JSON.stringify(Peering$outboundSchema.parse(peering)); } - export function peeringFromJSON( jsonString: string, ): SafeParseResult { @@ -6127,5387 +6278,4835 @@ export function peeringFromJSON( } /** @internal */ -export const OneHundredAndSixtyOne$inboundSchema: z.ZodType< - OneHundredAndSixtyOne, +export const OneHundredAndSixtyFour$inboundSchema: z.ZodType< + OneHundredAndSixtyFour, z.ZodTypeDef, unknown > = z.object({ - team: z.lazy(() => UserEventPayload161Team$inboundSchema), - configuration: z.lazy(() => UserEventPayload161Configuration$inboundSchema), + team: z.lazy(() => UserEventPayload164Team$inboundSchema), + configuration: z.lazy(() => UserEventPayload164Configuration$inboundSchema), peering: z.lazy(() => Peering$inboundSchema), }); - /** @internal */ -export type OneHundredAndSixtyOne$Outbound = { - team: UserEventPayload161Team$Outbound; - configuration: UserEventPayload161Configuration$Outbound; +export type OneHundredAndSixtyFour$Outbound = { + team: UserEventPayload164Team$Outbound; + configuration: UserEventPayload164Configuration$Outbound; peering: Peering$Outbound; }; /** @internal */ -export const OneHundredAndSixtyOne$outboundSchema: z.ZodType< - OneHundredAndSixtyOne$Outbound, +export const OneHundredAndSixtyFour$outboundSchema: z.ZodType< + OneHundredAndSixtyFour$Outbound, z.ZodTypeDef, - OneHundredAndSixtyOne + OneHundredAndSixtyFour > = z.object({ - team: z.lazy(() => UserEventPayload161Team$outboundSchema), - configuration: z.lazy(() => UserEventPayload161Configuration$outboundSchema), + team: z.lazy(() => UserEventPayload164Team$outboundSchema), + configuration: z.lazy(() => UserEventPayload164Configuration$outboundSchema), peering: z.lazy(() => Peering$outboundSchema), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace OneHundredAndSixtyOne$ { - /** @deprecated use `OneHundredAndSixtyOne$inboundSchema` instead. */ - export const inboundSchema = OneHundredAndSixtyOne$inboundSchema; - /** @deprecated use `OneHundredAndSixtyOne$outboundSchema` instead. */ - export const outboundSchema = OneHundredAndSixtyOne$outboundSchema; - /** @deprecated use `OneHundredAndSixtyOne$Outbound` instead. */ - export type Outbound = OneHundredAndSixtyOne$Outbound; -} - -export function oneHundredAndSixtyOneToJSON( - oneHundredAndSixtyOne: OneHundredAndSixtyOne, +export function oneHundredAndSixtyFourToJSON( + oneHundredAndSixtyFour: OneHundredAndSixtyFour, ): string { return JSON.stringify( - OneHundredAndSixtyOne$outboundSchema.parse(oneHundredAndSixtyOne), + OneHundredAndSixtyFour$outboundSchema.parse(oneHundredAndSixtyFour), + ); +} +export function oneHundredAndSixtyFourFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => OneHundredAndSixtyFour$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndSixtyFour' from JSON`, ); } -export function oneHundredAndSixtyOneFromJSON( +/** @internal */ +export const App$inboundSchema: z.ZodType = z + .object({ + id: z.string(), + name: z.string(), + }); +/** @internal */ +export type App$Outbound = { + id: string; + name: string; +}; + +/** @internal */ +export const App$outboundSchema: z.ZodType = z + .object({ + id: z.string(), + name: z.string(), + }); + +export function appToJSON(app: App): string { + return JSON.stringify(App$outboundSchema.parse(app)); +} +export function appFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndSixtyOne$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndSixtyOne' from JSON`, + (x) => App$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'App' from JSON`, ); } /** @internal */ -export const OneHundredAndSixty$inboundSchema: z.ZodType< - OneHundredAndSixty, +export const OneHundredAndSixtyThree$inboundSchema: z.ZodType< + OneHundredAndSixtyThree, z.ZodTypeDef, unknown > = z.object({ appName: z.string(), appId: z.string().optional(), - installationId: z.string().optional(), + app: z.lazy(() => App$inboundSchema).optional(), + issuedBefore: z.number().optional(), }); - /** @internal */ -export type OneHundredAndSixty$Outbound = { +export type OneHundredAndSixtyThree$Outbound = { appName: string; appId?: string | undefined; - installationId?: string | undefined; + app?: App$Outbound | undefined; + issuedBefore?: number | undefined; }; /** @internal */ -export const OneHundredAndSixty$outboundSchema: z.ZodType< - OneHundredAndSixty$Outbound, +export const OneHundredAndSixtyThree$outboundSchema: z.ZodType< + OneHundredAndSixtyThree$Outbound, z.ZodTypeDef, - OneHundredAndSixty + OneHundredAndSixtyThree > = z.object({ appName: z.string(), appId: z.string().optional(), - installationId: z.string().optional(), + app: z.lazy(() => App$outboundSchema).optional(), + issuedBefore: 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 OneHundredAndSixty$ { - /** @deprecated use `OneHundredAndSixty$inboundSchema` instead. */ - export const inboundSchema = OneHundredAndSixty$inboundSchema; - /** @deprecated use `OneHundredAndSixty$outboundSchema` instead. */ - export const outboundSchema = OneHundredAndSixty$outboundSchema; - /** @deprecated use `OneHundredAndSixty$Outbound` instead. */ - export type Outbound = OneHundredAndSixty$Outbound; -} - -export function oneHundredAndSixtyToJSON( - oneHundredAndSixty: OneHundredAndSixty, +export function oneHundredAndSixtyThreeToJSON( + oneHundredAndSixtyThree: OneHundredAndSixtyThree, ): string { return JSON.stringify( - OneHundredAndSixty$outboundSchema.parse(oneHundredAndSixty), + OneHundredAndSixtyThree$outboundSchema.parse(oneHundredAndSixtyThree), ); } - -export function oneHundredAndSixtyFromJSON( +export function oneHundredAndSixtyThreeFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndSixty$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndSixty' from JSON`, + (x) => OneHundredAndSixtyThree$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndSixtyThree' from JSON`, ); } /** @internal */ -export const OneHundredAndFiftyNine$inboundSchema: z.ZodType< - OneHundredAndFiftyNine, +export const UserEventPayload162Type$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload162Type +> = z.nativeEnum(UserEventPayload162Type); +/** @internal */ +export const UserEventPayload162Type$outboundSchema: z.ZodNativeEnum< + typeof UserEventPayload162Type +> = UserEventPayload162Type$inboundSchema; + +/** @internal */ +export const UserEventPayload162BeforeType$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload162BeforeType +> = z.nativeEnum(UserEventPayload162BeforeType); +/** @internal */ +export const UserEventPayload162BeforeType$outboundSchema: z.ZodNativeEnum< + typeof UserEventPayload162BeforeType +> = UserEventPayload162BeforeType$inboundSchema; + +/** @internal */ +export const PayloadItems$inboundSchema: z.ZodType< + PayloadItems, z.ZodTypeDef, unknown > = z.object({ - appName: z.string(), - appId: z.string().optional(), + type: UserEventPayload162BeforeType$inboundSchema, }); - /** @internal */ -export type OneHundredAndFiftyNine$Outbound = { - appName: string; - appId?: string | undefined; +export type PayloadItems$Outbound = { + type: string; }; /** @internal */ -export const OneHundredAndFiftyNine$outboundSchema: z.ZodType< - OneHundredAndFiftyNine$Outbound, +export const PayloadItems$outboundSchema: z.ZodType< + PayloadItems$Outbound, z.ZodTypeDef, - OneHundredAndFiftyNine + PayloadItems > = z.object({ - appName: z.string(), - appId: z.string().optional(), + type: UserEventPayload162BeforeType$outboundSchema, }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace OneHundredAndFiftyNine$ { - /** @deprecated use `OneHundredAndFiftyNine$inboundSchema` instead. */ - export const inboundSchema = OneHundredAndFiftyNine$inboundSchema; - /** @deprecated use `OneHundredAndFiftyNine$outboundSchema` instead. */ - export const outboundSchema = OneHundredAndFiftyNine$outboundSchema; - /** @deprecated use `OneHundredAndFiftyNine$Outbound` instead. */ - export type Outbound = OneHundredAndFiftyNine$Outbound; -} - -export function oneHundredAndFiftyNineToJSON( - oneHundredAndFiftyNine: OneHundredAndFiftyNine, -): string { - return JSON.stringify( - OneHundredAndFiftyNine$outboundSchema.parse(oneHundredAndFiftyNine), - ); +export function payloadItemsToJSON(payloadItems: PayloadItems): string { + return JSON.stringify(PayloadItems$outboundSchema.parse(payloadItems)); } - -export function oneHundredAndFiftyNineFromJSON( +export function payloadItemsFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndFiftyNine$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndFiftyNine' from JSON`, + (x) => PayloadItems$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PayloadItems' from JSON`, ); } /** @internal */ -export const OneHundredAndFiftyEight$inboundSchema: z.ZodType< - OneHundredAndFiftyEight, +export const PayloadProjectIds$inboundSchema: z.ZodType< + PayloadProjectIds, z.ZodTypeDef, unknown > = z.object({ - appName: z.string(), - appId: z.string(), + type: UserEventPayload162Type$inboundSchema, + required: z.boolean(), + items: z.lazy(() => PayloadItems$inboundSchema), }); - /** @internal */ -export type OneHundredAndFiftyEight$Outbound = { - appName: string; - appId: string; +export type PayloadProjectIds$Outbound = { + type: string; + required: boolean; + items: PayloadItems$Outbound; }; /** @internal */ -export const OneHundredAndFiftyEight$outboundSchema: z.ZodType< - OneHundredAndFiftyEight$Outbound, +export const PayloadProjectIds$outboundSchema: z.ZodType< + PayloadProjectIds$Outbound, z.ZodTypeDef, - OneHundredAndFiftyEight + PayloadProjectIds > = z.object({ - appName: z.string(), - appId: z.string(), + type: UserEventPayload162Type$outboundSchema, + required: z.boolean(), + items: z.lazy(() => PayloadItems$outboundSchema), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace OneHundredAndFiftyEight$ { - /** @deprecated use `OneHundredAndFiftyEight$inboundSchema` instead. */ - export const inboundSchema = OneHundredAndFiftyEight$inboundSchema; - /** @deprecated use `OneHundredAndFiftyEight$outboundSchema` instead. */ - export const outboundSchema = OneHundredAndFiftyEight$outboundSchema; - /** @deprecated use `OneHundredAndFiftyEight$Outbound` instead. */ - export type Outbound = OneHundredAndFiftyEight$Outbound; -} - -export function oneHundredAndFiftyEightToJSON( - oneHundredAndFiftyEight: OneHundredAndFiftyEight, +export function payloadProjectIdsToJSON( + payloadProjectIds: PayloadProjectIds, ): string { return JSON.stringify( - OneHundredAndFiftyEight$outboundSchema.parse(oneHundredAndFiftyEight), + PayloadProjectIds$outboundSchema.parse(payloadProjectIds), ); } - -export function oneHundredAndFiftyEightFromJSON( +export function payloadProjectIdsFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndFiftyEight$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndFiftyEight' from JSON`, + (x) => PayloadProjectIds$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PayloadProjectIds' from JSON`, ); } /** @internal */ -export const OneHundredAndFiftySeven$inboundSchema: z.ZodType< - OneHundredAndFiftySeven, +export const PayloadResources$inboundSchema: z.ZodType< + PayloadResources, z.ZodTypeDef, unknown > = z.object({ - appName: z.string(), + projectIds: z.lazy(() => PayloadProjectIds$inboundSchema), }); - /** @internal */ -export type OneHundredAndFiftySeven$Outbound = { - appName: string; +export type PayloadResources$Outbound = { + projectIds: PayloadProjectIds$Outbound; }; /** @internal */ -export const OneHundredAndFiftySeven$outboundSchema: z.ZodType< - OneHundredAndFiftySeven$Outbound, +export const PayloadResources$outboundSchema: z.ZodType< + PayloadResources$Outbound, z.ZodTypeDef, - OneHundredAndFiftySeven + PayloadResources > = z.object({ - appName: z.string(), + projectIds: z.lazy(() => PayloadProjectIds$outboundSchema), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace OneHundredAndFiftySeven$ { - /** @deprecated use `OneHundredAndFiftySeven$inboundSchema` instead. */ - export const inboundSchema = OneHundredAndFiftySeven$inboundSchema; - /** @deprecated use `OneHundredAndFiftySeven$outboundSchema` instead. */ - export const outboundSchema = OneHundredAndFiftySeven$outboundSchema; - /** @deprecated use `OneHundredAndFiftySeven$Outbound` instead. */ - export type Outbound = OneHundredAndFiftySeven$Outbound; -} - -export function oneHundredAndFiftySevenToJSON( - oneHundredAndFiftySeven: OneHundredAndFiftySeven, +export function payloadResourcesToJSON( + payloadResources: PayloadResources, ): string { return JSON.stringify( - OneHundredAndFiftySeven$outboundSchema.parse(oneHundredAndFiftySeven), + PayloadResources$outboundSchema.parse(payloadResources), + ); +} +export function payloadResourcesFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => PayloadResources$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PayloadResources' from JSON`, ); } -export function oneHundredAndFiftySevenFromJSON( +/** @internal */ +export const Before$inboundSchema: z.ZodType = z + .object({ + resources: z.lazy(() => PayloadResources$inboundSchema).optional(), + }); +/** @internal */ +export type Before$Outbound = { + resources?: PayloadResources$Outbound | undefined; +}; + +/** @internal */ +export const Before$outboundSchema: z.ZodType< + Before$Outbound, + z.ZodTypeDef, + Before +> = z.object({ + resources: z.lazy(() => PayloadResources$outboundSchema).optional(), +}); + +export function beforeToJSON(before: Before): string { + return JSON.stringify(Before$outboundSchema.parse(before)); +} +export function beforeFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndFiftySeven$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndFiftySeven' from JSON`, + (x) => Before$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Before' from JSON`, ); } /** @internal */ -export const OneHundredAndFiftySix$inboundSchema: z.ZodType< - OneHundredAndFiftySix, +export const UserEventPayload162AfterType$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload162AfterType +> = z.nativeEnum(UserEventPayload162AfterType); +/** @internal */ +export const UserEventPayload162AfterType$outboundSchema: z.ZodNativeEnum< + typeof UserEventPayload162AfterType +> = UserEventPayload162AfterType$inboundSchema; + +/** @internal */ +export const UserEventPayload162AfterResourcesType$inboundSchema: + z.ZodNativeEnum = z.nativeEnum( + UserEventPayload162AfterResourcesType, + ); +/** @internal */ +export const UserEventPayload162AfterResourcesType$outboundSchema: + z.ZodNativeEnum = + UserEventPayload162AfterResourcesType$inboundSchema; + +/** @internal */ +export const UserEventPayloadItems$inboundSchema: z.ZodType< + UserEventPayloadItems, z.ZodTypeDef, unknown > = z.object({ - appName: z.string(), - nextScopes: z.array(z.string()), + type: UserEventPayload162AfterResourcesType$inboundSchema, }); - /** @internal */ -export type OneHundredAndFiftySix$Outbound = { - appName: string; - nextScopes: Array; +export type UserEventPayloadItems$Outbound = { + type: string; }; /** @internal */ -export const OneHundredAndFiftySix$outboundSchema: z.ZodType< - OneHundredAndFiftySix$Outbound, +export const UserEventPayloadItems$outboundSchema: z.ZodType< + UserEventPayloadItems$Outbound, z.ZodTypeDef, - OneHundredAndFiftySix + UserEventPayloadItems > = z.object({ - appName: z.string(), - nextScopes: z.array(z.string()), + type: UserEventPayload162AfterResourcesType$outboundSchema, }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace OneHundredAndFiftySix$ { - /** @deprecated use `OneHundredAndFiftySix$inboundSchema` instead. */ - export const inboundSchema = OneHundredAndFiftySix$inboundSchema; - /** @deprecated use `OneHundredAndFiftySix$outboundSchema` instead. */ - export const outboundSchema = OneHundredAndFiftySix$outboundSchema; - /** @deprecated use `OneHundredAndFiftySix$Outbound` instead. */ - export type Outbound = OneHundredAndFiftySix$Outbound; -} - -export function oneHundredAndFiftySixToJSON( - oneHundredAndFiftySix: OneHundredAndFiftySix, +export function userEventPayloadItemsToJSON( + userEventPayloadItems: UserEventPayloadItems, ): string { return JSON.stringify( - OneHundredAndFiftySix$outboundSchema.parse(oneHundredAndFiftySix), + UserEventPayloadItems$outboundSchema.parse(userEventPayloadItems), ); } - -export function oneHundredAndFiftySixFromJSON( +export function userEventPayloadItemsFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndFiftySix$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndFiftySix' from JSON`, + (x) => UserEventPayloadItems$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayloadItems' from JSON`, ); } /** @internal */ -export const OneHundredAndFiftyFive$inboundSchema: z.ZodType< - OneHundredAndFiftyFive, +export const UserEventPayloadProjectIds$inboundSchema: z.ZodType< + UserEventPayloadProjectIds, z.ZodTypeDef, unknown > = z.object({ - appName: z.string(), - scopes: z.array(z.string()), + type: UserEventPayload162AfterType$inboundSchema, + required: z.boolean(), + items: z.lazy(() => UserEventPayloadItems$inboundSchema), }); - /** @internal */ -export type OneHundredAndFiftyFive$Outbound = { - appName: string; - scopes: Array; +export type UserEventPayloadProjectIds$Outbound = { + type: string; + required: boolean; + items: UserEventPayloadItems$Outbound; }; /** @internal */ -export const OneHundredAndFiftyFive$outboundSchema: z.ZodType< - OneHundredAndFiftyFive$Outbound, +export const UserEventPayloadProjectIds$outboundSchema: z.ZodType< + UserEventPayloadProjectIds$Outbound, z.ZodTypeDef, - OneHundredAndFiftyFive + UserEventPayloadProjectIds > = z.object({ - appName: z.string(), - scopes: z.array(z.string()), + type: UserEventPayload162AfterType$outboundSchema, + required: z.boolean(), + items: z.lazy(() => UserEventPayloadItems$outboundSchema), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace OneHundredAndFiftyFive$ { - /** @deprecated use `OneHundredAndFiftyFive$inboundSchema` instead. */ - export const inboundSchema = OneHundredAndFiftyFive$inboundSchema; - /** @deprecated use `OneHundredAndFiftyFive$outboundSchema` instead. */ - export const outboundSchema = OneHundredAndFiftyFive$outboundSchema; - /** @deprecated use `OneHundredAndFiftyFive$Outbound` instead. */ - export type Outbound = OneHundredAndFiftyFive$Outbound; -} - -export function oneHundredAndFiftyFiveToJSON( - oneHundredAndFiftyFive: OneHundredAndFiftyFive, +export function userEventPayloadProjectIdsToJSON( + userEventPayloadProjectIds: UserEventPayloadProjectIds, ): string { return JSON.stringify( - OneHundredAndFiftyFive$outboundSchema.parse(oneHundredAndFiftyFive), + UserEventPayloadProjectIds$outboundSchema.parse(userEventPayloadProjectIds), ); } - -export function oneHundredAndFiftyFiveFromJSON( +export function userEventPayloadProjectIdsFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndFiftyFive$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndFiftyFive' from JSON`, + (x) => UserEventPayloadProjectIds$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayloadProjectIds' from JSON`, ); } /** @internal */ -export const OneHundredAndFiftyFour$inboundSchema: z.ZodType< - OneHundredAndFiftyFour, +export const UserEventPayloadResources$inboundSchema: z.ZodType< + UserEventPayloadResources, z.ZodTypeDef, unknown > = z.object({ - oldName: z.string(), - newName: z.string(), + projectIds: z.lazy(() => UserEventPayloadProjectIds$inboundSchema), }); - /** @internal */ -export type OneHundredAndFiftyFour$Outbound = { - oldName: string; - newName: string; +export type UserEventPayloadResources$Outbound = { + projectIds: UserEventPayloadProjectIds$Outbound; }; /** @internal */ -export const OneHundredAndFiftyFour$outboundSchema: z.ZodType< - OneHundredAndFiftyFour$Outbound, +export const UserEventPayloadResources$outboundSchema: z.ZodType< + UserEventPayloadResources$Outbound, z.ZodTypeDef, - OneHundredAndFiftyFour + UserEventPayloadResources > = z.object({ - oldName: z.string(), - newName: z.string(), + projectIds: z.lazy(() => UserEventPayloadProjectIds$outboundSchema), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace OneHundredAndFiftyFour$ { - /** @deprecated use `OneHundredAndFiftyFour$inboundSchema` instead. */ - export const inboundSchema = OneHundredAndFiftyFour$inboundSchema; - /** @deprecated use `OneHundredAndFiftyFour$outboundSchema` instead. */ - export const outboundSchema = OneHundredAndFiftyFour$outboundSchema; - /** @deprecated use `OneHundredAndFiftyFour$Outbound` instead. */ - export type Outbound = OneHundredAndFiftyFour$Outbound; -} - -export function oneHundredAndFiftyFourToJSON( - oneHundredAndFiftyFour: OneHundredAndFiftyFour, +export function userEventPayloadResourcesToJSON( + userEventPayloadResources: UserEventPayloadResources, ): string { return JSON.stringify( - OneHundredAndFiftyFour$outboundSchema.parse(oneHundredAndFiftyFour), + UserEventPayloadResources$outboundSchema.parse(userEventPayloadResources), ); } - -export function oneHundredAndFiftyFourFromJSON( +export function userEventPayloadResourcesFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndFiftyFour$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndFiftyFour' from JSON`, + (x) => UserEventPayloadResources$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayloadResources' from JSON`, ); } /** @internal */ -export const Tier$inboundSchema: z.ZodNativeEnum = z.nativeEnum( - Tier, -); +export const After$inboundSchema: z.ZodType = z + .object({ + resources: z.lazy(() => UserEventPayloadResources$inboundSchema).optional(), + }); +/** @internal */ +export type After$Outbound = { + resources?: UserEventPayloadResources$Outbound | undefined; +}; /** @internal */ -export const Tier$outboundSchema: z.ZodNativeEnum = - Tier$inboundSchema; +export const After$outboundSchema: z.ZodType< + After$Outbound, + z.ZodTypeDef, + After +> = z.object({ + resources: z.lazy(() => UserEventPayloadResources$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 Tier$ { - /** @deprecated use `Tier$inboundSchema` instead. */ - export const inboundSchema = Tier$inboundSchema; - /** @deprecated use `Tier$outboundSchema` instead. */ - export const outboundSchema = Tier$outboundSchema; +export function afterToJSON(after: After): string { + return JSON.stringify(After$outboundSchema.parse(after)); +} +export function afterFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => After$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'After' from JSON`, + ); } /** @internal */ -export const OneHundredAndFiftyThree$inboundSchema: z.ZodType< - OneHundredAndFiftyThree, +export const OneHundredAndSixtyTwo$inboundSchema: z.ZodType< + OneHundredAndSixtyTwo, z.ZodTypeDef, unknown > = z.object({ - tier: Tier$inboundSchema, + appName: z.string(), + appId: z.string().optional(), + installationId: z.string().optional(), + before: z.lazy(() => Before$inboundSchema).optional(), + after: z.lazy(() => After$inboundSchema).optional(), }); - /** @internal */ -export type OneHundredAndFiftyThree$Outbound = { - tier: string; +export type OneHundredAndSixtyTwo$Outbound = { + appName: string; + appId?: string | undefined; + installationId?: string | undefined; + before?: Before$Outbound | undefined; + after?: After$Outbound | undefined; }; /** @internal */ -export const OneHundredAndFiftyThree$outboundSchema: z.ZodType< - OneHundredAndFiftyThree$Outbound, +export const OneHundredAndSixtyTwo$outboundSchema: z.ZodType< + OneHundredAndSixtyTwo$Outbound, z.ZodTypeDef, - OneHundredAndFiftyThree + OneHundredAndSixtyTwo > = z.object({ - tier: Tier$outboundSchema, + appName: z.string(), + appId: z.string().optional(), + installationId: z.string().optional(), + before: z.lazy(() => Before$outboundSchema).optional(), + after: z.lazy(() => After$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 OneHundredAndFiftyThree$ { - /** @deprecated use `OneHundredAndFiftyThree$inboundSchema` instead. */ - export const inboundSchema = OneHundredAndFiftyThree$inboundSchema; - /** @deprecated use `OneHundredAndFiftyThree$outboundSchema` instead. */ - export const outboundSchema = OneHundredAndFiftyThree$outboundSchema; - /** @deprecated use `OneHundredAndFiftyThree$Outbound` instead. */ - export type Outbound = OneHundredAndFiftyThree$Outbound; -} - -export function oneHundredAndFiftyThreeToJSON( - oneHundredAndFiftyThree: OneHundredAndFiftyThree, +export function oneHundredAndSixtyTwoToJSON( + oneHundredAndSixtyTwo: OneHundredAndSixtyTwo, ): string { return JSON.stringify( - OneHundredAndFiftyThree$outboundSchema.parse(oneHundredAndFiftyThree), + OneHundredAndSixtyTwo$outboundSchema.parse(oneHundredAndSixtyTwo), ); } - -export function oneHundredAndFiftyThreeFromJSON( +export function oneHundredAndSixtyTwoFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndFiftyThree$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndFiftyThree' from JSON`, + (x) => OneHundredAndSixtyTwo$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndSixtyTwo' from JSON`, ); } /** @internal */ -export const ProjectWebAnalytics$inboundSchema: z.ZodType< - ProjectWebAnalytics, - z.ZodTypeDef, - unknown -> = z.object({ - id: z.string(), - disabledAt: z.number().optional(), - canceledAt: z.number().optional(), - enabledAt: z.number().optional(), - hasData: z.boolean().optional(), -}); +export const UserEventPayload161Type$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload161Type +> = z.nativeEnum(UserEventPayload161Type); +/** @internal */ +export const UserEventPayload161Type$outboundSchema: z.ZodNativeEnum< + typeof UserEventPayload161Type +> = UserEventPayload161Type$inboundSchema; /** @internal */ -export type ProjectWebAnalytics$Outbound = { - id: string; - disabledAt?: number | undefined; - canceledAt?: number | undefined; - enabledAt?: number | undefined; - hasData?: boolean | undefined; +export const UserEventPayload161ResourcesType$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload161ResourcesType +> = z.nativeEnum(UserEventPayload161ResourcesType); +/** @internal */ +export const UserEventPayload161ResourcesType$outboundSchema: z.ZodNativeEnum< + typeof UserEventPayload161ResourcesType +> = UserEventPayload161ResourcesType$inboundSchema; + +/** @internal */ +export const Items$inboundSchema: z.ZodType = z + .object({ + type: UserEventPayload161ResourcesType$inboundSchema, + }); +/** @internal */ +export type Items$Outbound = { + type: string; }; /** @internal */ -export const ProjectWebAnalytics$outboundSchema: z.ZodType< - ProjectWebAnalytics$Outbound, +export const Items$outboundSchema: z.ZodType< + Items$Outbound, z.ZodTypeDef, - ProjectWebAnalytics + Items > = z.object({ - id: z.string(), - disabledAt: z.number().optional(), - canceledAt: z.number().optional(), - enabledAt: z.number().optional(), - hasData: z.boolean().optional(), + type: UserEventPayload161ResourcesType$outboundSchema, }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ProjectWebAnalytics$ { - /** @deprecated use `ProjectWebAnalytics$inboundSchema` instead. */ - export const inboundSchema = ProjectWebAnalytics$inboundSchema; - /** @deprecated use `ProjectWebAnalytics$outboundSchema` instead. */ - export const outboundSchema = ProjectWebAnalytics$outboundSchema; - /** @deprecated use `ProjectWebAnalytics$Outbound` instead. */ - export type Outbound = ProjectWebAnalytics$Outbound; -} - -export function projectWebAnalyticsToJSON( - projectWebAnalytics: ProjectWebAnalytics, -): string { - return JSON.stringify( - ProjectWebAnalytics$outboundSchema.parse(projectWebAnalytics), - ); +export function itemsToJSON(items: Items): string { + return JSON.stringify(Items$outboundSchema.parse(items)); } - -export function projectWebAnalyticsFromJSON( +export function itemsFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => ProjectWebAnalytics$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ProjectWebAnalytics' from JSON`, + (x) => Items$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Items' from JSON`, ); } /** @internal */ -export const PrevProjectWebAnalytics$inboundSchema: z.ZodType< - PrevProjectWebAnalytics, +export const ProjectIds$inboundSchema: z.ZodType< + ProjectIds, z.ZodTypeDef, unknown > = z.object({ - id: z.string(), - disabledAt: z.number().optional(), - canceledAt: z.number().optional(), - enabledAt: z.number().optional(), - hasData: z.boolean().optional(), + type: UserEventPayload161Type$inboundSchema, + required: z.boolean(), + items: z.lazy(() => Items$inboundSchema), }); - /** @internal */ -export type PrevProjectWebAnalytics$Outbound = { - id: string; - disabledAt?: number | undefined; - canceledAt?: number | undefined; - enabledAt?: number | undefined; - hasData?: boolean | undefined; +export type ProjectIds$Outbound = { + type: string; + required: boolean; + items: Items$Outbound; }; /** @internal */ -export const PrevProjectWebAnalytics$outboundSchema: z.ZodType< - PrevProjectWebAnalytics$Outbound, +export const ProjectIds$outboundSchema: z.ZodType< + ProjectIds$Outbound, z.ZodTypeDef, - PrevProjectWebAnalytics + ProjectIds > = z.object({ - id: z.string(), - disabledAt: z.number().optional(), - canceledAt: z.number().optional(), - enabledAt: z.number().optional(), - hasData: z.boolean().optional(), + type: UserEventPayload161Type$outboundSchema, + required: z.boolean(), + items: z.lazy(() => Items$outboundSchema), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PrevProjectWebAnalytics$ { - /** @deprecated use `PrevProjectWebAnalytics$inboundSchema` instead. */ - export const inboundSchema = PrevProjectWebAnalytics$inboundSchema; - /** @deprecated use `PrevProjectWebAnalytics$outboundSchema` instead. */ - export const outboundSchema = PrevProjectWebAnalytics$outboundSchema; - /** @deprecated use `PrevProjectWebAnalytics$Outbound` instead. */ - export type Outbound = PrevProjectWebAnalytics$Outbound; -} - -export function prevProjectWebAnalyticsToJSON( - prevProjectWebAnalytics: PrevProjectWebAnalytics, -): string { - return JSON.stringify( - PrevProjectWebAnalytics$outboundSchema.parse(prevProjectWebAnalytics), - ); +export function projectIdsToJSON(projectIds: ProjectIds): string { + return JSON.stringify(ProjectIds$outboundSchema.parse(projectIds)); } - -export function prevProjectWebAnalyticsFromJSON( +export function projectIdsFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => PrevProjectWebAnalytics$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'PrevProjectWebAnalytics' from JSON`, + (x) => ProjectIds$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ProjectIds' from JSON`, ); } /** @internal */ -export const OneHundredAndFiftyTwo$inboundSchema: z.ZodType< - OneHundredAndFiftyTwo, +export const Resources$inboundSchema: z.ZodType< + Resources, z.ZodTypeDef, unknown > = z.object({ - projectId: z.string(), - projectName: z.string(), - projectWebAnalytics: z.lazy(() => ProjectWebAnalytics$inboundSchema) - .optional(), - prevProjectWebAnalytics: z.nullable( - z.lazy(() => PrevProjectWebAnalytics$inboundSchema), - ).optional(), + projectIds: z.lazy(() => ProjectIds$inboundSchema), }); - /** @internal */ -export type OneHundredAndFiftyTwo$Outbound = { - projectId: string; - projectName: string; - projectWebAnalytics?: ProjectWebAnalytics$Outbound | undefined; - prevProjectWebAnalytics?: PrevProjectWebAnalytics$Outbound | null | undefined; +export type Resources$Outbound = { + projectIds: ProjectIds$Outbound; }; /** @internal */ -export const OneHundredAndFiftyTwo$outboundSchema: z.ZodType< - OneHundredAndFiftyTwo$Outbound, +export const Resources$outboundSchema: z.ZodType< + Resources$Outbound, z.ZodTypeDef, - OneHundredAndFiftyTwo + Resources > = z.object({ - projectId: z.string(), - projectName: z.string(), - projectWebAnalytics: z.lazy(() => ProjectWebAnalytics$outboundSchema) - .optional(), - prevProjectWebAnalytics: z.nullable( - z.lazy(() => PrevProjectWebAnalytics$outboundSchema), - ).optional(), + projectIds: z.lazy(() => ProjectIds$outboundSchema), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace OneHundredAndFiftyTwo$ { - /** @deprecated use `OneHundredAndFiftyTwo$inboundSchema` instead. */ - export const inboundSchema = OneHundredAndFiftyTwo$inboundSchema; - /** @deprecated use `OneHundredAndFiftyTwo$outboundSchema` instead. */ - export const outboundSchema = OneHundredAndFiftyTwo$outboundSchema; - /** @deprecated use `OneHundredAndFiftyTwo$Outbound` instead. */ - export type Outbound = OneHundredAndFiftyTwo$Outbound; -} - -export function oneHundredAndFiftyTwoToJSON( - oneHundredAndFiftyTwo: OneHundredAndFiftyTwo, -): string { - return JSON.stringify( - OneHundredAndFiftyTwo$outboundSchema.parse(oneHundredAndFiftyTwo), - ); +export function resourcesToJSON(resources: Resources): string { + return JSON.stringify(Resources$outboundSchema.parse(resources)); } - -export function oneHundredAndFiftyTwoFromJSON( +export function resourcesFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndFiftyTwo$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndFiftyTwo' from JSON`, + (x) => Resources$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Resources' from JSON`, ); } /** @internal */ -export const Microfrontends2$inboundSchema: z.ZodType< - Microfrontends2, +export const OneHundredAndSixtyOne$inboundSchema: z.ZodType< + OneHundredAndSixtyOne, z.ZodTypeDef, unknown > = z.object({ - updatedAt: z.number(), - groupIds: z.array(z.any()), - enabled: z.boolean(), + appName: z.string(), + appId: z.string().optional(), + resources: z.lazy(() => Resources$inboundSchema).optional(), }); - /** @internal */ -export type Microfrontends2$Outbound = { - updatedAt: number; - groupIds: Array; - enabled: boolean; +export type OneHundredAndSixtyOne$Outbound = { + appName: string; + appId?: string | undefined; + resources?: Resources$Outbound | undefined; }; /** @internal */ -export const Microfrontends2$outboundSchema: z.ZodType< - Microfrontends2$Outbound, +export const OneHundredAndSixtyOne$outboundSchema: z.ZodType< + OneHundredAndSixtyOne$Outbound, z.ZodTypeDef, - Microfrontends2 + OneHundredAndSixtyOne > = z.object({ - updatedAt: z.number(), - groupIds: z.array(z.any()), - enabled: z.boolean(), + appName: z.string(), + appId: z.string().optional(), + resources: z.lazy(() => Resources$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 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, +export function oneHundredAndSixtyOneToJSON( + oneHundredAndSixtyOne: OneHundredAndSixtyOne, ): string { - return JSON.stringify(Microfrontends2$outboundSchema.parse(microfrontends2)); + return JSON.stringify( + OneHundredAndSixtyOne$outboundSchema.parse(oneHundredAndSixtyOne), + ); } - -export function microfrontends2FromJSON( +export function oneHundredAndSixtyOneFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => Microfrontends2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Microfrontends2' from JSON`, + (x) => OneHundredAndSixtyOne$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndSixtyOne' from JSON`, ); } /** @internal */ -export const Microfrontends1$inboundSchema: z.ZodType< - Microfrontends1, +export const OneHundredAndSixty$inboundSchema: z.ZodType< + OneHundredAndSixty, z.ZodTypeDef, unknown > = z.object({ - updatedAt: z.number(), - groupIds: z.array(z.string()), - enabled: z.boolean(), - isDefaultApp: z.boolean().optional(), - defaultRoute: z.string().optional(), - routeObservabilityToThisProject: z.boolean().optional(), + appName: z.string(), + appId: z.string().optional(), + secretLastFourChars: z.string().optional(), }); - /** @internal */ -export type Microfrontends1$Outbound = { - updatedAt: number; - groupIds: Array; - enabled: boolean; - isDefaultApp?: boolean | undefined; - defaultRoute?: string | undefined; - routeObservabilityToThisProject?: boolean | undefined; +export type OneHundredAndSixty$Outbound = { + appName: string; + appId?: string | undefined; + secretLastFourChars?: string | undefined; }; /** @internal */ -export const Microfrontends1$outboundSchema: z.ZodType< - Microfrontends1$Outbound, +export const OneHundredAndSixty$outboundSchema: z.ZodType< + OneHundredAndSixty$Outbound, z.ZodTypeDef, - Microfrontends1 + OneHundredAndSixty > = z.object({ - updatedAt: z.number(), - groupIds: z.array(z.string()), - enabled: z.boolean(), - isDefaultApp: z.boolean().optional(), - defaultRoute: z.string().optional(), - routeObservabilityToThisProject: z.boolean().optional(), + appName: z.string(), + appId: z.string().optional(), + secretLastFourChars: z.string().optional(), }); -/** - * @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, +export function oneHundredAndSixtyToJSON( + oneHundredAndSixty: OneHundredAndSixty, ): string { - return JSON.stringify(Microfrontends1$outboundSchema.parse(microfrontends1)); + return JSON.stringify( + OneHundredAndSixty$outboundSchema.parse(oneHundredAndSixty), + ); } - -export function microfrontends1FromJSON( +export function oneHundredAndSixtyFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => Microfrontends1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Microfrontends1' from JSON`, + (x) => OneHundredAndSixty$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndSixty' from JSON`, ); } /** @internal */ -export const Microfrontends$inboundSchema: z.ZodType< - Microfrontends, +export const OneHundredAndFiftyNine$inboundSchema: z.ZodType< + OneHundredAndFiftyNine, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => Microfrontends1$inboundSchema), - z.lazy(() => Microfrontends2$inboundSchema), -]); - +> = z.object({ + appName: z.string(), + appId: z.string().optional(), +}); /** @internal */ -export type Microfrontends$Outbound = - | Microfrontends1$Outbound - | Microfrontends2$Outbound; +export type OneHundredAndFiftyNine$Outbound = { + appName: string; + appId?: string | undefined; +}; /** @internal */ -export const Microfrontends$outboundSchema: z.ZodType< - Microfrontends$Outbound, +export const OneHundredAndFiftyNine$outboundSchema: z.ZodType< + OneHundredAndFiftyNine$Outbound, z.ZodTypeDef, - Microfrontends -> = 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 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; -} + OneHundredAndFiftyNine +> = z.object({ + appName: z.string(), + appId: z.string().optional(), +}); -export function microfrontendsToJSON(microfrontends: Microfrontends): string { - return JSON.stringify(Microfrontends$outboundSchema.parse(microfrontends)); +export function oneHundredAndFiftyNineToJSON( + oneHundredAndFiftyNine: OneHundredAndFiftyNine, +): string { + return JSON.stringify( + OneHundredAndFiftyNine$outboundSchema.parse(oneHundredAndFiftyNine), + ); } - -export function microfrontendsFromJSON( +export function oneHundredAndFiftyNineFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => Microfrontends$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Microfrontends' from JSON`, + (x) => OneHundredAndFiftyNine$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndFiftyNine' from JSON`, ); } /** @internal */ -export const UserEventPayload151Project$inboundSchema: z.ZodType< - UserEventPayload151Project, +export const NextScopes$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(NextScopes); +/** @internal */ +export const NextScopes$outboundSchema: z.ZodNativeEnum = + NextScopes$inboundSchema; + +/** @internal */ +export const NextPermissions$inboundSchema: z.ZodNativeEnum< + typeof NextPermissions +> = z.nativeEnum(NextPermissions); +/** @internal */ +export const NextPermissions$outboundSchema: z.ZodNativeEnum< + typeof NextPermissions +> = NextPermissions$inboundSchema; + +/** @internal */ +export const PayloadUserPermissionSet$inboundSchema: z.ZodNativeEnum< + typeof PayloadUserPermissionSet +> = z.nativeEnum(PayloadUserPermissionSet); +/** @internal */ +export const PayloadUserPermissionSet$outboundSchema: z.ZodNativeEnum< + typeof PayloadUserPermissionSet +> = PayloadUserPermissionSet$inboundSchema; + +/** @internal */ +export const NextAcceptedPermissionSets$inboundSchema: z.ZodType< + NextAcceptedPermissionSets, z.ZodTypeDef, unknown > = z.object({ - id: z.string(), - name: z.string(), - microfrontends: z.union([ - z.lazy(() => Microfrontends1$inboundSchema), - z.lazy(() => Microfrontends2$inboundSchema), - ]).optional(), + userPermissionSet: z.array(PayloadUserPermissionSet$inboundSchema).optional(), }); - /** @internal */ -export type UserEventPayload151Project$Outbound = { - id: string; - name: string; - microfrontends?: - | Microfrontends1$Outbound - | Microfrontends2$Outbound - | undefined; +export type NextAcceptedPermissionSets$Outbound = { + userPermissionSet?: Array | undefined; }; /** @internal */ -export const UserEventPayload151Project$outboundSchema: z.ZodType< - UserEventPayload151Project$Outbound, +export const NextAcceptedPermissionSets$outboundSchema: z.ZodType< + NextAcceptedPermissionSets$Outbound, z.ZodTypeDef, - UserEventPayload151Project + NextAcceptedPermissionSets > = z.object({ - id: z.string(), - name: z.string(), - microfrontends: z.union([ - z.lazy(() => Microfrontends1$outboundSchema), - z.lazy(() => Microfrontends2$outboundSchema), - ]).optional(), + userPermissionSet: z.array(PayloadUserPermissionSet$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 UserEventPayload151Project$ { - /** @deprecated use `UserEventPayload151Project$inboundSchema` instead. */ - export const inboundSchema = UserEventPayload151Project$inboundSchema; - /** @deprecated use `UserEventPayload151Project$outboundSchema` instead. */ - export const outboundSchema = UserEventPayload151Project$outboundSchema; - /** @deprecated use `UserEventPayload151Project$Outbound` instead. */ - export type Outbound = UserEventPayload151Project$Outbound; -} - -export function userEventPayload151ProjectToJSON( - userEventPayload151Project: UserEventPayload151Project, +export function nextAcceptedPermissionSetsToJSON( + nextAcceptedPermissionSets: NextAcceptedPermissionSets, ): string { return JSON.stringify( - UserEventPayload151Project$outboundSchema.parse(userEventPayload151Project), + NextAcceptedPermissionSets$outboundSchema.parse(nextAcceptedPermissionSets), ); } - -export function userEventPayload151ProjectFromJSON( +export function nextAcceptedPermissionSetsFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload151Project$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload151Project' from JSON`, + (x) => NextAcceptedPermissionSets$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'NextAcceptedPermissionSets' from JSON`, ); } /** @internal */ -export const UserEventMicrofrontends2$inboundSchema: z.ZodType< - UserEventMicrofrontends2, +export const OneHundredAndFiftyEight$inboundSchema: z.ZodType< + OneHundredAndFiftyEight, z.ZodTypeDef, unknown > = z.object({ - updatedAt: z.number(), - groupIds: z.array(z.any()), - enabled: z.boolean(), + appName: z.string(), + appId: z.string().optional(), + nextScopes: z.array(NextScopes$inboundSchema), + nextPermissions: z.array(NextPermissions$inboundSchema).optional(), + nextAcceptedPermissionSets: z.lazy(() => + NextAcceptedPermissionSets$inboundSchema + ).optional(), }); - /** @internal */ -export type UserEventMicrofrontends2$Outbound = { - updatedAt: number; - groupIds: Array; - enabled: boolean; +export type OneHundredAndFiftyEight$Outbound = { + appName: string; + appId?: string | undefined; + nextScopes: Array; + nextPermissions?: Array | undefined; + nextAcceptedPermissionSets?: NextAcceptedPermissionSets$Outbound | undefined; }; /** @internal */ -export const UserEventMicrofrontends2$outboundSchema: z.ZodType< - UserEventMicrofrontends2$Outbound, +export const OneHundredAndFiftyEight$outboundSchema: z.ZodType< + OneHundredAndFiftyEight$Outbound, z.ZodTypeDef, - UserEventMicrofrontends2 + OneHundredAndFiftyEight > = z.object({ - updatedAt: z.number(), - groupIds: z.array(z.any()), - enabled: z.boolean(), + appName: z.string(), + appId: z.string().optional(), + nextScopes: z.array(NextScopes$outboundSchema), + nextPermissions: z.array(NextPermissions$outboundSchema).optional(), + nextAcceptedPermissionSets: z.lazy(() => + NextAcceptedPermissionSets$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 UserEventMicrofrontends2$ { - /** @deprecated use `UserEventMicrofrontends2$inboundSchema` instead. */ - export const inboundSchema = UserEventMicrofrontends2$inboundSchema; - /** @deprecated use `UserEventMicrofrontends2$outboundSchema` instead. */ - export const outboundSchema = UserEventMicrofrontends2$outboundSchema; - /** @deprecated use `UserEventMicrofrontends2$Outbound` instead. */ - export type Outbound = UserEventMicrofrontends2$Outbound; -} - -export function userEventMicrofrontends2ToJSON( - userEventMicrofrontends2: UserEventMicrofrontends2, +export function oneHundredAndFiftyEightToJSON( + oneHundredAndFiftyEight: OneHundredAndFiftyEight, ): string { return JSON.stringify( - UserEventMicrofrontends2$outboundSchema.parse(userEventMicrofrontends2), + OneHundredAndFiftyEight$outboundSchema.parse(oneHundredAndFiftyEight), ); } - -export function userEventMicrofrontends2FromJSON( +export function oneHundredAndFiftyEightFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventMicrofrontends2$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventMicrofrontends2' from JSON`, + (x) => OneHundredAndFiftyEight$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndFiftyEight' from JSON`, ); } /** @internal */ -export const UserEventMicrofrontends1$inboundSchema: z.ZodType< - UserEventMicrofrontends1, +export const PayloadScopes$inboundSchema: z.ZodNativeEnum< + typeof PayloadScopes +> = z.nativeEnum(PayloadScopes); +/** @internal */ +export const PayloadScopes$outboundSchema: z.ZodNativeEnum< + typeof PayloadScopes +> = PayloadScopes$inboundSchema; + +/** @internal */ +export const Permissions$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(Permissions); +/** @internal */ +export const Permissions$outboundSchema: z.ZodNativeEnum = + Permissions$inboundSchema; + +/** @internal */ +export const UserPermissionSet$inboundSchema: z.ZodNativeEnum< + typeof UserPermissionSet +> = z.nativeEnum(UserPermissionSet); +/** @internal */ +export const UserPermissionSet$outboundSchema: z.ZodNativeEnum< + typeof UserPermissionSet +> = UserPermissionSet$inboundSchema; + +/** @internal */ +export const AcceptedPermissionSets$inboundSchema: z.ZodType< + AcceptedPermissionSets, z.ZodTypeDef, unknown > = z.object({ - updatedAt: z.number(), - groupIds: z.array(z.string()), - enabled: z.boolean(), - isDefaultApp: z.boolean().optional(), - defaultRoute: z.string().optional(), - routeObservabilityToThisProject: z.boolean().optional(), + userPermissionSet: z.array(UserPermissionSet$inboundSchema).optional(), }); - /** @internal */ -export type UserEventMicrofrontends1$Outbound = { - updatedAt: number; - groupIds: Array; - enabled: boolean; - isDefaultApp?: boolean | undefined; - defaultRoute?: string | undefined; - routeObservabilityToThisProject?: boolean | undefined; +export type AcceptedPermissionSets$Outbound = { + userPermissionSet?: Array | undefined; }; /** @internal */ -export const UserEventMicrofrontends1$outboundSchema: z.ZodType< - UserEventMicrofrontends1$Outbound, +export const AcceptedPermissionSets$outboundSchema: z.ZodType< + AcceptedPermissionSets$Outbound, z.ZodTypeDef, - UserEventMicrofrontends1 + AcceptedPermissionSets > = z.object({ - updatedAt: z.number(), - groupIds: z.array(z.string()), - enabled: z.boolean(), - isDefaultApp: z.boolean().optional(), - defaultRoute: z.string().optional(), - routeObservabilityToThisProject: z.boolean().optional(), + userPermissionSet: z.array(UserPermissionSet$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 UserEventMicrofrontends1$ { - /** @deprecated use `UserEventMicrofrontends1$inboundSchema` instead. */ - export const inboundSchema = UserEventMicrofrontends1$inboundSchema; - /** @deprecated use `UserEventMicrofrontends1$outboundSchema` instead. */ - export const outboundSchema = UserEventMicrofrontends1$outboundSchema; - /** @deprecated use `UserEventMicrofrontends1$Outbound` instead. */ - export type Outbound = UserEventMicrofrontends1$Outbound; -} - -export function userEventMicrofrontends1ToJSON( - userEventMicrofrontends1: UserEventMicrofrontends1, +export function acceptedPermissionSetsToJSON( + acceptedPermissionSets: AcceptedPermissionSets, ): string { return JSON.stringify( - UserEventMicrofrontends1$outboundSchema.parse(userEventMicrofrontends1), + AcceptedPermissionSets$outboundSchema.parse(acceptedPermissionSets), ); } - -export function userEventMicrofrontends1FromJSON( +export function acceptedPermissionSetsFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventMicrofrontends1$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventMicrofrontends1' from JSON`, + (x) => AcceptedPermissionSets$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'AcceptedPermissionSets' from JSON`, ); } /** @internal */ -export const PayloadMicrofrontends$inboundSchema: z.ZodType< - PayloadMicrofrontends, +export const OneHundredAndFiftySeven$inboundSchema: z.ZodType< + OneHundredAndFiftySeven, z.ZodTypeDef, unknown -> = z.union([ - z.lazy(() => UserEventMicrofrontends1$inboundSchema), - z.lazy(() => UserEventMicrofrontends2$inboundSchema), -]); - +> = z.object({ + appName: z.string(), + appId: z.string().optional(), + scopes: z.array(PayloadScopes$inboundSchema), + permissions: z.array(Permissions$inboundSchema).optional(), + acceptedPermissionSets: z.lazy(() => AcceptedPermissionSets$inboundSchema) + .optional(), +}); /** @internal */ -export type PayloadMicrofrontends$Outbound = - | UserEventMicrofrontends1$Outbound - | UserEventMicrofrontends2$Outbound; +export type OneHundredAndFiftySeven$Outbound = { + appName: string; + appId?: string | undefined; + scopes: Array; + permissions?: Array | undefined; + acceptedPermissionSets?: AcceptedPermissionSets$Outbound | undefined; +}; /** @internal */ -export const PayloadMicrofrontends$outboundSchema: z.ZodType< - PayloadMicrofrontends$Outbound, +export const OneHundredAndFiftySeven$outboundSchema: z.ZodType< + OneHundredAndFiftySeven$Outbound, z.ZodTypeDef, - PayloadMicrofrontends -> = z.union([ - z.lazy(() => UserEventMicrofrontends1$outboundSchema), - z.lazy(() => UserEventMicrofrontends2$outboundSchema), -]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PayloadMicrofrontends$ { - /** @deprecated use `PayloadMicrofrontends$inboundSchema` instead. */ - export const inboundSchema = PayloadMicrofrontends$inboundSchema; - /** @deprecated use `PayloadMicrofrontends$outboundSchema` instead. */ - export const outboundSchema = PayloadMicrofrontends$outboundSchema; - /** @deprecated use `PayloadMicrofrontends$Outbound` instead. */ - export type Outbound = PayloadMicrofrontends$Outbound; -} + OneHundredAndFiftySeven +> = z.object({ + appName: z.string(), + appId: z.string().optional(), + scopes: z.array(PayloadScopes$outboundSchema), + permissions: z.array(Permissions$outboundSchema).optional(), + acceptedPermissionSets: z.lazy(() => AcceptedPermissionSets$outboundSchema) + .optional(), +}); -export function payloadMicrofrontendsToJSON( - payloadMicrofrontends: PayloadMicrofrontends, +export function oneHundredAndFiftySevenToJSON( + oneHundredAndFiftySeven: OneHundredAndFiftySeven, ): string { return JSON.stringify( - PayloadMicrofrontends$outboundSchema.parse(payloadMicrofrontends), + OneHundredAndFiftySeven$outboundSchema.parse(oneHundredAndFiftySeven), ); } - -export function payloadMicrofrontendsFromJSON( +export function oneHundredAndFiftySevenFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => PayloadMicrofrontends$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'PayloadMicrofrontends' from JSON`, + (x) => OneHundredAndFiftySeven$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndFiftySeven' from JSON`, ); } /** @internal */ -export const UserEventPayload151PrevProject$inboundSchema: z.ZodType< - UserEventPayload151PrevProject, +export const OneHundredAndFiftySix$inboundSchema: z.ZodType< + OneHundredAndFiftySix, z.ZodTypeDef, unknown > = z.object({ - microfrontends: z.union([ - z.lazy(() => UserEventMicrofrontends1$inboundSchema), - z.lazy(() => UserEventMicrofrontends2$inboundSchema), - ]).optional(), + oldName: z.string(), + newName: z.string(), }); - /** @internal */ -export type UserEventPayload151PrevProject$Outbound = { - microfrontends?: - | UserEventMicrofrontends1$Outbound - | UserEventMicrofrontends2$Outbound - | undefined; +export type OneHundredAndFiftySix$Outbound = { + oldName: string; + newName: string; }; /** @internal */ -export const UserEventPayload151PrevProject$outboundSchema: z.ZodType< - UserEventPayload151PrevProject$Outbound, +export const OneHundredAndFiftySix$outboundSchema: z.ZodType< + OneHundredAndFiftySix$Outbound, z.ZodTypeDef, - UserEventPayload151PrevProject + OneHundredAndFiftySix > = z.object({ - microfrontends: z.union([ - z.lazy(() => UserEventMicrofrontends1$outboundSchema), - z.lazy(() => UserEventMicrofrontends2$outboundSchema), - ]).optional(), + oldName: z.string(), + newName: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UserEventPayload151PrevProject$ { - /** @deprecated use `UserEventPayload151PrevProject$inboundSchema` instead. */ - export const inboundSchema = UserEventPayload151PrevProject$inboundSchema; - /** @deprecated use `UserEventPayload151PrevProject$outboundSchema` instead. */ - export const outboundSchema = UserEventPayload151PrevProject$outboundSchema; - /** @deprecated use `UserEventPayload151PrevProject$Outbound` instead. */ - export type Outbound = UserEventPayload151PrevProject$Outbound; -} - -export function userEventPayload151PrevProjectToJSON( - userEventPayload151PrevProject: UserEventPayload151PrevProject, +export function oneHundredAndFiftySixToJSON( + oneHundredAndFiftySix: OneHundredAndFiftySix, ): string { return JSON.stringify( - UserEventPayload151PrevProject$outboundSchema.parse( - userEventPayload151PrevProject, - ), + OneHundredAndFiftySix$outboundSchema.parse(oneHundredAndFiftySix), ); } - -export function userEventPayload151PrevProjectFromJSON( +export function oneHundredAndFiftySixFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload151PrevProject$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload151PrevProject' from JSON`, + (x) => OneHundredAndFiftySix$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndFiftySix' from JSON`, ); } /** @internal */ -export const PayloadPrev$inboundSchema: z.ZodType< - PayloadPrev, +export const Tier$inboundSchema: z.ZodNativeEnum = z.nativeEnum( + Tier, +); +/** @internal */ +export const Tier$outboundSchema: z.ZodNativeEnum = + Tier$inboundSchema; + +/** @internal */ +export const OneHundredAndFiftyFive$inboundSchema: z.ZodType< + OneHundredAndFiftyFive, z.ZodTypeDef, unknown > = z.object({ - project: z.lazy(() => UserEventPayload151PrevProject$inboundSchema), + tier: Tier$inboundSchema, }); - /** @internal */ -export type PayloadPrev$Outbound = { - project: UserEventPayload151PrevProject$Outbound; +export type OneHundredAndFiftyFive$Outbound = { + tier: string; }; /** @internal */ -export const PayloadPrev$outboundSchema: z.ZodType< - PayloadPrev$Outbound, +export const OneHundredAndFiftyFive$outboundSchema: z.ZodType< + OneHundredAndFiftyFive$Outbound, z.ZodTypeDef, - PayloadPrev + OneHundredAndFiftyFive > = z.object({ - project: z.lazy(() => UserEventPayload151PrevProject$outboundSchema), + tier: Tier$outboundSchema, }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PayloadPrev$ { - /** @deprecated use `PayloadPrev$inboundSchema` instead. */ - export const inboundSchema = PayloadPrev$inboundSchema; - /** @deprecated use `PayloadPrev$outboundSchema` instead. */ - export const outboundSchema = PayloadPrev$outboundSchema; - /** @deprecated use `PayloadPrev$Outbound` instead. */ - export type Outbound = PayloadPrev$Outbound; -} - -export function payloadPrevToJSON(payloadPrev: PayloadPrev): string { - return JSON.stringify(PayloadPrev$outboundSchema.parse(payloadPrev)); +export function oneHundredAndFiftyFiveToJSON( + oneHundredAndFiftyFive: OneHundredAndFiftyFive, +): string { + return JSON.stringify( + OneHundredAndFiftyFive$outboundSchema.parse(oneHundredAndFiftyFive), + ); } - -export function payloadPrevFromJSON( +export function oneHundredAndFiftyFiveFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => PayloadPrev$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'PayloadPrev' from JSON`, + (x) => OneHundredAndFiftyFive$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndFiftyFive' from JSON`, ); } /** @internal */ -export const PayloadGroup$inboundSchema: z.ZodType< - PayloadGroup, +export const ProjectWebAnalytics$inboundSchema: z.ZodType< + ProjectWebAnalytics, z.ZodTypeDef, unknown > = z.object({ id: z.string(), - slug: z.string(), - name: z.string(), + disabledAt: z.number().optional(), + canceledAt: z.number().optional(), + enabledAt: z.number().optional(), + hasData: z.boolean().optional(), }); - /** @internal */ -export type PayloadGroup$Outbound = { +export type ProjectWebAnalytics$Outbound = { id: string; - slug: string; - name: string; + disabledAt?: number | undefined; + canceledAt?: number | undefined; + enabledAt?: number | undefined; + hasData?: boolean | undefined; }; /** @internal */ -export const PayloadGroup$outboundSchema: z.ZodType< - PayloadGroup$Outbound, +export const ProjectWebAnalytics$outboundSchema: z.ZodType< + ProjectWebAnalytics$Outbound, z.ZodTypeDef, - PayloadGroup + ProjectWebAnalytics > = z.object({ id: z.string(), - slug: z.string(), - name: 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 PayloadGroup$ { - /** @deprecated use `PayloadGroup$inboundSchema` instead. */ - export const inboundSchema = PayloadGroup$inboundSchema; - /** @deprecated use `PayloadGroup$outboundSchema` instead. */ - export const outboundSchema = PayloadGroup$outboundSchema; - /** @deprecated use `PayloadGroup$Outbound` instead. */ - export type Outbound = PayloadGroup$Outbound; -} - -export function payloadGroupToJSON(payloadGroup: PayloadGroup): string { - return JSON.stringify(PayloadGroup$outboundSchema.parse(payloadGroup)); +export function projectWebAnalyticsToJSON( + projectWebAnalytics: ProjectWebAnalytics, +): string { + return JSON.stringify( + ProjectWebAnalytics$outboundSchema.parse(projectWebAnalytics), + ); } - -export function payloadGroupFromJSON( +export function projectWebAnalyticsFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => PayloadGroup$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'PayloadGroup' from JSON`, + (x) => ProjectWebAnalytics$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ProjectWebAnalytics' from JSON`, ); } /** @internal */ -export const OneHundredAndFiftyOne$inboundSchema: z.ZodType< - OneHundredAndFiftyOne, +export const PrevProjectWebAnalytics$inboundSchema: z.ZodType< + PrevProjectWebAnalytics, z.ZodTypeDef, unknown > = z.object({ - project: z.lazy(() => UserEventPayload151Project$inboundSchema), - prev: z.lazy(() => PayloadPrev$inboundSchema), - group: z.lazy(() => PayloadGroup$inboundSchema), + id: z.string(), + disabledAt: z.number().optional(), + canceledAt: z.number().optional(), + enabledAt: z.number().optional(), + hasData: z.boolean().optional(), }); - /** @internal */ -export type OneHundredAndFiftyOne$Outbound = { - project: UserEventPayload151Project$Outbound; - prev: PayloadPrev$Outbound; - group: PayloadGroup$Outbound; +export type PrevProjectWebAnalytics$Outbound = { + id: string; + disabledAt?: number | undefined; + canceledAt?: number | undefined; + enabledAt?: number | undefined; + hasData?: boolean | undefined; }; /** @internal */ -export const OneHundredAndFiftyOne$outboundSchema: z.ZodType< - OneHundredAndFiftyOne$Outbound, +export const PrevProjectWebAnalytics$outboundSchema: z.ZodType< + PrevProjectWebAnalytics$Outbound, z.ZodTypeDef, - OneHundredAndFiftyOne + PrevProjectWebAnalytics > = z.object({ - project: z.lazy(() => UserEventPayload151Project$outboundSchema), - prev: z.lazy(() => PayloadPrev$outboundSchema), - group: z.lazy(() => PayloadGroup$outboundSchema), + 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 OneHundredAndFiftyOne$ { - /** @deprecated use `OneHundredAndFiftyOne$inboundSchema` instead. */ - export const inboundSchema = OneHundredAndFiftyOne$inboundSchema; - /** @deprecated use `OneHundredAndFiftyOne$outboundSchema` instead. */ - export const outboundSchema = OneHundredAndFiftyOne$outboundSchema; - /** @deprecated use `OneHundredAndFiftyOne$Outbound` instead. */ - export type Outbound = OneHundredAndFiftyOne$Outbound; -} - -export function oneHundredAndFiftyOneToJSON( - oneHundredAndFiftyOne: OneHundredAndFiftyOne, +export function prevProjectWebAnalyticsToJSON( + prevProjectWebAnalytics: PrevProjectWebAnalytics, ): string { return JSON.stringify( - OneHundredAndFiftyOne$outboundSchema.parse(oneHundredAndFiftyOne), + PrevProjectWebAnalytics$outboundSchema.parse(prevProjectWebAnalytics), ); } - -export function oneHundredAndFiftyOneFromJSON( +export function prevProjectWebAnalyticsFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndFiftyOne$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndFiftyOne' from JSON`, + (x) => PrevProjectWebAnalytics$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PrevProjectWebAnalytics' from JSON`, ); } /** @internal */ -export const UserEventPayload150Project$inboundSchema: z.ZodType< - UserEventPayload150Project, +export const OneHundredAndFiftyFour$inboundSchema: z.ZodType< + OneHundredAndFiftyFour, z.ZodTypeDef, unknown > = z.object({ - id: z.string(), - name: z.string(), + projectId: z.string(), + projectName: z.string(), + projectWebAnalytics: z.lazy(() => ProjectWebAnalytics$inboundSchema) + .optional(), + prevProjectWebAnalytics: z.nullable( + z.lazy(() => PrevProjectWebAnalytics$inboundSchema), + ).optional(), }); - /** @internal */ -export type UserEventPayload150Project$Outbound = { - id: string; - name: string; +export type OneHundredAndFiftyFour$Outbound = { + projectId: string; + projectName: string; + projectWebAnalytics?: ProjectWebAnalytics$Outbound | undefined; + prevProjectWebAnalytics?: PrevProjectWebAnalytics$Outbound | null | undefined; }; /** @internal */ -export const UserEventPayload150Project$outboundSchema: z.ZodType< - UserEventPayload150Project$Outbound, +export const OneHundredAndFiftyFour$outboundSchema: z.ZodType< + OneHundredAndFiftyFour$Outbound, z.ZodTypeDef, - UserEventPayload150Project + OneHundredAndFiftyFour > = z.object({ - id: z.string(), - name: z.string(), + projectId: z.string(), + projectName: z.string(), + projectWebAnalytics: z.lazy(() => ProjectWebAnalytics$outboundSchema) + .optional(), + prevProjectWebAnalytics: z.nullable( + z.lazy(() => PrevProjectWebAnalytics$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 UserEventPayload150Project$ { - /** @deprecated use `UserEventPayload150Project$inboundSchema` instead. */ - export const inboundSchema = UserEventPayload150Project$inboundSchema; - /** @deprecated use `UserEventPayload150Project$outboundSchema` instead. */ - export const outboundSchema = UserEventPayload150Project$outboundSchema; - /** @deprecated use `UserEventPayload150Project$Outbound` instead. */ - export type Outbound = UserEventPayload150Project$Outbound; -} - -export function userEventPayload150ProjectToJSON( - userEventPayload150Project: UserEventPayload150Project, +export function oneHundredAndFiftyFourToJSON( + oneHundredAndFiftyFour: OneHundredAndFiftyFour, ): string { return JSON.stringify( - UserEventPayload150Project$outboundSchema.parse(userEventPayload150Project), + OneHundredAndFiftyFour$outboundSchema.parse(oneHundredAndFiftyFour), ); } - -export function userEventPayload150ProjectFromJSON( +export function oneHundredAndFiftyFourFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload150Project$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload150Project' from JSON`, + (x) => OneHundredAndFiftyFour$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndFiftyFour' from JSON`, ); } /** @internal */ -export const Group$inboundSchema: z.ZodType = z - .object({ - id: z.string(), - slug: z.string(), - name: z.string(), - }); - +export const Microfrontends3$inboundSchema: z.ZodType< + Microfrontends3, + z.ZodTypeDef, + unknown +> = z.object({ + updatedAt: z.number(), + groupIds: z.array(z.any()), + enabled: z.boolean(), + freeProjectForLegacyLimits: z.boolean().optional(), +}); /** @internal */ -export type Group$Outbound = { - id: string; - slug: string; - name: string; +export type Microfrontends3$Outbound = { + updatedAt: number; + groupIds: Array; + enabled: boolean; + freeProjectForLegacyLimits?: boolean | undefined; }; /** @internal */ -export const Group$outboundSchema: z.ZodType< - Group$Outbound, +export const Microfrontends3$outboundSchema: z.ZodType< + Microfrontends3$Outbound, z.ZodTypeDef, - Group + Microfrontends3 > = z.object({ - id: z.string(), - slug: z.string(), - name: z.string(), + updatedAt: z.number(), + groupIds: z.array(z.any()), + enabled: z.boolean(), + freeProjectForLegacyLimits: 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 Group$ { - /** @deprecated use `Group$inboundSchema` instead. */ - export const inboundSchema = Group$inboundSchema; - /** @deprecated use `Group$outboundSchema` instead. */ - export const outboundSchema = Group$outboundSchema; - /** @deprecated use `Group$Outbound` instead. */ - export type Outbound = Group$Outbound; -} - -export function groupToJSON(group: Group): string { - return JSON.stringify(Group$outboundSchema.parse(group)); +export function microfrontends3ToJSON( + microfrontends3: Microfrontends3, +): string { + return JSON.stringify(Microfrontends3$outboundSchema.parse(microfrontends3)); } - -export function groupFromJSON( +export function microfrontends3FromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => Group$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Group' from JSON`, + (x) => Microfrontends3$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Microfrontends3' from JSON`, ); } /** @internal */ -export const OneHundredAndFifty$inboundSchema: z.ZodType< - OneHundredAndFifty, +export const Microfrontends2$inboundSchema: z.ZodType< + Microfrontends2, z.ZodTypeDef, unknown > = z.object({ - project: z.lazy(() => UserEventPayload150Project$inboundSchema), - group: z.lazy(() => Group$inboundSchema), + isDefaultApp: z.boolean().optional(), + routeObservabilityToThisProject: z.boolean().optional(), + doNotRouteWithMicrofrontendsRouting: z.boolean().optional(), + updatedAt: z.number(), + groupIds: z.array(z.string()), + enabled: z.boolean(), + defaultRoute: z.string().optional(), + freeProjectForLegacyLimits: z.boolean().optional(), }); - /** @internal */ -export type OneHundredAndFifty$Outbound = { - project: UserEventPayload150Project$Outbound; - group: Group$Outbound; -}; +export type Microfrontends2$Outbound = { + isDefaultApp?: boolean | undefined; + routeObservabilityToThisProject?: boolean | undefined; + doNotRouteWithMicrofrontendsRouting?: boolean | undefined; + updatedAt: number; + groupIds: Array; + enabled: boolean; + defaultRoute?: string | undefined; + freeProjectForLegacyLimits?: boolean | undefined; +}; /** @internal */ -export const OneHundredAndFifty$outboundSchema: z.ZodType< - OneHundredAndFifty$Outbound, +export const Microfrontends2$outboundSchema: z.ZodType< + Microfrontends2$Outbound, z.ZodTypeDef, - OneHundredAndFifty + Microfrontends2 > = z.object({ - project: z.lazy(() => UserEventPayload150Project$outboundSchema), - group: z.lazy(() => Group$outboundSchema), + isDefaultApp: z.boolean().optional(), + routeObservabilityToThisProject: z.boolean().optional(), + doNotRouteWithMicrofrontendsRouting: z.boolean().optional(), + updatedAt: z.number(), + groupIds: z.array(z.string()), + enabled: z.boolean(), + defaultRoute: z.string().optional(), + freeProjectForLegacyLimits: 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 OneHundredAndFifty$ { - /** @deprecated use `OneHundredAndFifty$inboundSchema` instead. */ - export const inboundSchema = OneHundredAndFifty$inboundSchema; - /** @deprecated use `OneHundredAndFifty$outboundSchema` instead. */ - export const outboundSchema = OneHundredAndFifty$outboundSchema; - /** @deprecated use `OneHundredAndFifty$Outbound` instead. */ - export type Outbound = OneHundredAndFifty$Outbound; -} - -export function oneHundredAndFiftyToJSON( - oneHundredAndFifty: OneHundredAndFifty, +export function microfrontends2ToJSON( + microfrontends2: Microfrontends2, ): string { - return JSON.stringify( - OneHundredAndFifty$outboundSchema.parse(oneHundredAndFifty), - ); + return JSON.stringify(Microfrontends2$outboundSchema.parse(microfrontends2)); } - -export function oneHundredAndFiftyFromJSON( +export function microfrontends2FromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndFifty$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndFifty' from JSON`, + (x) => Microfrontends2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Microfrontends2' from JSON`, ); } /** @internal */ -export const Prev$inboundSchema: z.ZodType = z - .object({ - name: z.string(), - slug: z.string(), - fallbackEnvironment: z.string(), - enableMfeAliases: z.boolean().optional(), - }); - +export const Microfrontends1$inboundSchema: z.ZodType< + Microfrontends1, + z.ZodTypeDef, + unknown +> = z.object({ + isDefaultApp: z.boolean(), + updatedAt: z.number(), + groupIds: z.array(z.string()), + enabled: z.boolean(), + defaultRoute: z.string().optional(), + freeProjectForLegacyLimits: z.boolean().optional(), +}); /** @internal */ -export type Prev$Outbound = { - name: string; - slug: string; - fallbackEnvironment: string; - enableMfeAliases?: boolean | undefined; +export type Microfrontends1$Outbound = { + isDefaultApp: boolean; + updatedAt: number; + groupIds: Array; + enabled: boolean; + defaultRoute?: string | undefined; + freeProjectForLegacyLimits?: boolean | undefined; }; /** @internal */ -export const Prev$outboundSchema: z.ZodType = - z.object({ - name: z.string(), - slug: z.string(), - fallbackEnvironment: z.string(), - enableMfeAliases: 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 Prev$ { - /** @deprecated use `Prev$inboundSchema` instead. */ - export const inboundSchema = Prev$inboundSchema; - /** @deprecated use `Prev$outboundSchema` instead. */ - export const outboundSchema = Prev$outboundSchema; - /** @deprecated use `Prev$Outbound` instead. */ - export type Outbound = Prev$Outbound; -} +export const Microfrontends1$outboundSchema: z.ZodType< + Microfrontends1$Outbound, + z.ZodTypeDef, + Microfrontends1 +> = z.object({ + isDefaultApp: z.boolean(), + updatedAt: z.number(), + groupIds: z.array(z.string()), + enabled: z.boolean(), + defaultRoute: z.string().optional(), + freeProjectForLegacyLimits: z.boolean().optional(), +}); -export function prevToJSON(prev: Prev): string { - return JSON.stringify(Prev$outboundSchema.parse(prev)); +export function microfrontends1ToJSON( + microfrontends1: Microfrontends1, +): string { + return JSON.stringify(Microfrontends1$outboundSchema.parse(microfrontends1)); } - -export function prevFromJSON( +export function microfrontends1FromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => Prev$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Prev' from JSON`, + (x) => Microfrontends1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Microfrontends1' from JSON`, ); } /** @internal */ -export const OneHundredAndFortyNine$inboundSchema: z.ZodType< - OneHundredAndFortyNine, +export const Microfrontends$inboundSchema: z.ZodType< + Microfrontends, z.ZodTypeDef, unknown -> = z.object({ - id: z.string(), - slug: z.string().optional(), - name: z.string().optional(), - fallbackEnvironment: z.string().optional(), - enableMfeAliases: z.boolean().optional(), - prev: z.lazy(() => Prev$inboundSchema), -}); - +> = z.union([ + z.lazy(() => Microfrontends1$inboundSchema), + z.lazy(() => Microfrontends2$inboundSchema), + z.lazy(() => Microfrontends3$inboundSchema), +]); /** @internal */ -export type OneHundredAndFortyNine$Outbound = { - id: string; - slug?: string | undefined; - name?: string | undefined; - fallbackEnvironment?: string | undefined; - enableMfeAliases?: boolean | undefined; - prev: Prev$Outbound; -}; +export type Microfrontends$Outbound = + | Microfrontends1$Outbound + | Microfrontends2$Outbound + | Microfrontends3$Outbound; /** @internal */ -export const OneHundredAndFortyNine$outboundSchema: z.ZodType< - OneHundredAndFortyNine$Outbound, +export const Microfrontends$outboundSchema: z.ZodType< + Microfrontends$Outbound, z.ZodTypeDef, - OneHundredAndFortyNine -> = z.object({ - id: z.string(), - slug: z.string().optional(), - name: z.string().optional(), - fallbackEnvironment: z.string().optional(), - enableMfeAliases: z.boolean().optional(), - prev: z.lazy(() => Prev$outboundSchema), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace OneHundredAndFortyNine$ { - /** @deprecated use `OneHundredAndFortyNine$inboundSchema` instead. */ - export const inboundSchema = OneHundredAndFortyNine$inboundSchema; - /** @deprecated use `OneHundredAndFortyNine$outboundSchema` instead. */ - export const outboundSchema = OneHundredAndFortyNine$outboundSchema; - /** @deprecated use `OneHundredAndFortyNine$Outbound` instead. */ - export type Outbound = OneHundredAndFortyNine$Outbound; -} + Microfrontends +> = z.union([ + z.lazy(() => Microfrontends1$outboundSchema), + z.lazy(() => Microfrontends2$outboundSchema), + z.lazy(() => Microfrontends3$outboundSchema), +]); -export function oneHundredAndFortyNineToJSON( - oneHundredAndFortyNine: OneHundredAndFortyNine, -): string { - return JSON.stringify( - OneHundredAndFortyNine$outboundSchema.parse(oneHundredAndFortyNine), - ); +export function microfrontendsToJSON(microfrontends: Microfrontends): string { + return JSON.stringify(Microfrontends$outboundSchema.parse(microfrontends)); } - -export function oneHundredAndFortyNineFromJSON( +export function microfrontendsFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndFortyNine$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndFortyNine' from JSON`, + (x) => Microfrontends$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Microfrontends' from JSON`, ); } /** @internal */ -export const OneHundredAndFortyEight$inboundSchema: z.ZodType< - OneHundredAndFortyEight, +export const UserEventPayload153Project$inboundSchema: z.ZodType< + UserEventPayload153Project, z.ZodTypeDef, unknown > = z.object({ id: z.string(), - slug: z.string(), name: z.string(), + microfrontends: z.union([ + z.lazy(() => Microfrontends1$inboundSchema), + z.lazy(() => Microfrontends2$inboundSchema), + z.lazy(() => Microfrontends3$inboundSchema), + ]).optional(), }); - /** @internal */ -export type OneHundredAndFortyEight$Outbound = { +export type UserEventPayload153Project$Outbound = { id: string; - slug: string; name: string; + microfrontends?: + | Microfrontends1$Outbound + | Microfrontends2$Outbound + | Microfrontends3$Outbound + | undefined; }; /** @internal */ -export const OneHundredAndFortyEight$outboundSchema: z.ZodType< - OneHundredAndFortyEight$Outbound, +export const UserEventPayload153Project$outboundSchema: z.ZodType< + UserEventPayload153Project$Outbound, z.ZodTypeDef, - OneHundredAndFortyEight + UserEventPayload153Project > = z.object({ id: z.string(), - slug: z.string(), name: z.string(), + microfrontends: z.union([ + z.lazy(() => Microfrontends1$outboundSchema), + z.lazy(() => Microfrontends2$outboundSchema), + z.lazy(() => Microfrontends3$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 OneHundredAndFortyEight$ { - /** @deprecated use `OneHundredAndFortyEight$inboundSchema` instead. */ - export const inboundSchema = OneHundredAndFortyEight$inboundSchema; - /** @deprecated use `OneHundredAndFortyEight$outboundSchema` instead. */ - export const outboundSchema = OneHundredAndFortyEight$outboundSchema; - /** @deprecated use `OneHundredAndFortyEight$Outbound` instead. */ - export type Outbound = OneHundredAndFortyEight$Outbound; -} - -export function oneHundredAndFortyEightToJSON( - oneHundredAndFortyEight: OneHundredAndFortyEight, +export function userEventPayload153ProjectToJSON( + userEventPayload153Project: UserEventPayload153Project, ): string { return JSON.stringify( - OneHundredAndFortyEight$outboundSchema.parse(oneHundredAndFortyEight), + UserEventPayload153Project$outboundSchema.parse(userEventPayload153Project), ); } - -export function oneHundredAndFortyEightFromJSON( +export function userEventPayload153ProjectFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndFortyEight$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndFortyEight' from JSON`, + (x) => UserEventPayload153Project$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload153Project' from JSON`, ); } /** @internal */ -export const UserEventPayload147Action$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload147Action -> = z.nativeEnum(UserEventPayload147Action); - -/** @internal */ -export const UserEventPayload147Action$outboundSchema: z.ZodNativeEnum< - typeof UserEventPayload147Action -> = UserEventPayload147Action$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UserEventPayload147Action$ { - /** @deprecated use `UserEventPayload147Action$inboundSchema` instead. */ - export const inboundSchema = UserEventPayload147Action$inboundSchema; - /** @deprecated use `UserEventPayload147Action$outboundSchema` instead. */ - export const outboundSchema = UserEventPayload147Action$outboundSchema; -} - -/** @internal */ -export const OneHundredAndFortySeven$inboundSchema: z.ZodType< - OneHundredAndFortySeven, +export const UserEventMicrofrontends3$inboundSchema: z.ZodType< + UserEventMicrofrontends3, z.ZodTypeDef, unknown > = z.object({ - action: UserEventPayload147Action$inboundSchema, + updatedAt: z.number(), + groupIds: z.array(z.any()), + enabled: z.boolean(), + freeProjectForLegacyLimits: z.boolean().optional(), }); - /** @internal */ -export type OneHundredAndFortySeven$Outbound = { - action: string; +export type UserEventMicrofrontends3$Outbound = { + updatedAt: number; + groupIds: Array; + enabled: boolean; + freeProjectForLegacyLimits?: boolean | undefined; }; /** @internal */ -export const OneHundredAndFortySeven$outboundSchema: z.ZodType< - OneHundredAndFortySeven$Outbound, +export const UserEventMicrofrontends3$outboundSchema: z.ZodType< + UserEventMicrofrontends3$Outbound, z.ZodTypeDef, - OneHundredAndFortySeven + UserEventMicrofrontends3 > = z.object({ - action: UserEventPayload147Action$outboundSchema, + updatedAt: z.number(), + groupIds: z.array(z.any()), + enabled: z.boolean(), + freeProjectForLegacyLimits: 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 OneHundredAndFortySeven$ { - /** @deprecated use `OneHundredAndFortySeven$inboundSchema` instead. */ - export const inboundSchema = OneHundredAndFortySeven$inboundSchema; - /** @deprecated use `OneHundredAndFortySeven$outboundSchema` instead. */ - export const outboundSchema = OneHundredAndFortySeven$outboundSchema; - /** @deprecated use `OneHundredAndFortySeven$Outbound` instead. */ - export type Outbound = OneHundredAndFortySeven$Outbound; -} - -export function oneHundredAndFortySevenToJSON( - oneHundredAndFortySeven: OneHundredAndFortySeven, +export function userEventMicrofrontends3ToJSON( + userEventMicrofrontends3: UserEventMicrofrontends3, ): string { return JSON.stringify( - OneHundredAndFortySeven$outboundSchema.parse(oneHundredAndFortySeven), + UserEventMicrofrontends3$outboundSchema.parse(userEventMicrofrontends3), ); } - -export function oneHundredAndFortySevenFromJSON( +export function userEventMicrofrontends3FromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndFortySeven$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndFortySeven' from JSON`, + (x) => UserEventMicrofrontends3$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventMicrofrontends3' from JSON`, ); } /** @internal */ -export const OneHundredAndFortySix$inboundSchema: z.ZodType< - OneHundredAndFortySix, +export const UserEventMicrofrontends2$inboundSchema: z.ZodType< + UserEventMicrofrontends2, z.ZodTypeDef, unknown > = z.object({ - edgeConfigId: z.string(), - edgeConfigSlug: z.string(), - edgeConfigTokenIds: z.array(z.string()), + isDefaultApp: z.boolean().optional(), + routeObservabilityToThisProject: z.boolean().optional(), + doNotRouteWithMicrofrontendsRouting: z.boolean().optional(), + updatedAt: z.number(), + groupIds: z.array(z.string()), + enabled: z.boolean(), + defaultRoute: z.string().optional(), + freeProjectForLegacyLimits: z.boolean().optional(), }); - /** @internal */ -export type OneHundredAndFortySix$Outbound = { - edgeConfigId: string; - edgeConfigSlug: string; - edgeConfigTokenIds: Array; -}; +export type UserEventMicrofrontends2$Outbound = { + isDefaultApp?: boolean | undefined; + routeObservabilityToThisProject?: boolean | undefined; + doNotRouteWithMicrofrontendsRouting?: boolean | undefined; + updatedAt: number; + groupIds: Array; + enabled: boolean; + defaultRoute?: string | undefined; + freeProjectForLegacyLimits?: boolean | undefined; +}; /** @internal */ -export const OneHundredAndFortySix$outboundSchema: z.ZodType< - OneHundredAndFortySix$Outbound, +export const UserEventMicrofrontends2$outboundSchema: z.ZodType< + UserEventMicrofrontends2$Outbound, z.ZodTypeDef, - OneHundredAndFortySix + UserEventMicrofrontends2 > = z.object({ - edgeConfigId: z.string(), - edgeConfigSlug: z.string(), - edgeConfigTokenIds: z.array(z.string()), + isDefaultApp: z.boolean().optional(), + routeObservabilityToThisProject: z.boolean().optional(), + doNotRouteWithMicrofrontendsRouting: z.boolean().optional(), + updatedAt: z.number(), + groupIds: z.array(z.string()), + enabled: z.boolean(), + defaultRoute: z.string().optional(), + freeProjectForLegacyLimits: 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 OneHundredAndFortySix$ { - /** @deprecated use `OneHundredAndFortySix$inboundSchema` instead. */ - export const inboundSchema = OneHundredAndFortySix$inboundSchema; - /** @deprecated use `OneHundredAndFortySix$outboundSchema` instead. */ - export const outboundSchema = OneHundredAndFortySix$outboundSchema; - /** @deprecated use `OneHundredAndFortySix$Outbound` instead. */ - export type Outbound = OneHundredAndFortySix$Outbound; -} - -export function oneHundredAndFortySixToJSON( - oneHundredAndFortySix: OneHundredAndFortySix, +export function userEventMicrofrontends2ToJSON( + userEventMicrofrontends2: UserEventMicrofrontends2, ): string { return JSON.stringify( - OneHundredAndFortySix$outboundSchema.parse(oneHundredAndFortySix), + UserEventMicrofrontends2$outboundSchema.parse(userEventMicrofrontends2), ); } - -export function oneHundredAndFortySixFromJSON( +export function userEventMicrofrontends2FromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndFortySix$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndFortySix' from JSON`, + (x) => UserEventMicrofrontends2$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventMicrofrontends2' from JSON`, ); } /** @internal */ -export const OneHundredAndFortyFive$inboundSchema: z.ZodType< - OneHundredAndFortyFive, +export const UserEventMicrofrontends1$inboundSchema: z.ZodType< + UserEventMicrofrontends1, z.ZodTypeDef, unknown > = z.object({ - edgeConfigId: z.string(), - edgeConfigSlug: z.string(), - edgeConfigTokenId: z.string(), - label: z.string(), + isDefaultApp: z.boolean(), + updatedAt: z.number(), + groupIds: z.array(z.string()), + enabled: z.boolean(), + defaultRoute: z.string().optional(), + freeProjectForLegacyLimits: z.boolean().optional(), }); - /** @internal */ -export type OneHundredAndFortyFive$Outbound = { - edgeConfigId: string; - edgeConfigSlug: string; - edgeConfigTokenId: string; - label: string; +export type UserEventMicrofrontends1$Outbound = { + isDefaultApp: boolean; + updatedAt: number; + groupIds: Array; + enabled: boolean; + defaultRoute?: string | undefined; + freeProjectForLegacyLimits?: boolean | undefined; }; /** @internal */ -export const OneHundredAndFortyFive$outboundSchema: z.ZodType< - OneHundredAndFortyFive$Outbound, +export const UserEventMicrofrontends1$outboundSchema: z.ZodType< + UserEventMicrofrontends1$Outbound, z.ZodTypeDef, - OneHundredAndFortyFive + UserEventMicrofrontends1 > = z.object({ - edgeConfigId: z.string(), - edgeConfigSlug: z.string(), - edgeConfigTokenId: z.string(), - label: z.string(), + isDefaultApp: z.boolean(), + updatedAt: z.number(), + groupIds: z.array(z.string()), + enabled: z.boolean(), + defaultRoute: z.string().optional(), + freeProjectForLegacyLimits: 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 OneHundredAndFortyFive$ { - /** @deprecated use `OneHundredAndFortyFive$inboundSchema` instead. */ - export const inboundSchema = OneHundredAndFortyFive$inboundSchema; - /** @deprecated use `OneHundredAndFortyFive$outboundSchema` instead. */ - export const outboundSchema = OneHundredAndFortyFive$outboundSchema; - /** @deprecated use `OneHundredAndFortyFive$Outbound` instead. */ - export type Outbound = OneHundredAndFortyFive$Outbound; -} - -export function oneHundredAndFortyFiveToJSON( - oneHundredAndFortyFive: OneHundredAndFortyFive, +export function userEventMicrofrontends1ToJSON( + userEventMicrofrontends1: UserEventMicrofrontends1, ): string { return JSON.stringify( - OneHundredAndFortyFive$outboundSchema.parse(oneHundredAndFortyFive), + UserEventMicrofrontends1$outboundSchema.parse(userEventMicrofrontends1), ); } - -export function oneHundredAndFortyFiveFromJSON( +export function userEventMicrofrontends1FromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndFortyFive$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndFortyFive' from JSON`, + (x) => UserEventMicrofrontends1$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventMicrofrontends1' from JSON`, ); } /** @internal */ -export const OneHundredAndFortyFour$inboundSchema: z.ZodType< - OneHundredAndFortyFour, +export const PayloadMicrofrontends$inboundSchema: z.ZodType< + PayloadMicrofrontends, z.ZodTypeDef, unknown -> = z.object({ - edgeConfigId: z.string(), - edgeConfigSlug: z.string(), - edgeConfigDigest: z.string(), -}); - +> = z.union([ + z.lazy(() => UserEventMicrofrontends1$inboundSchema), + z.lazy(() => UserEventMicrofrontends2$inboundSchema), + z.lazy(() => UserEventMicrofrontends3$inboundSchema), +]); /** @internal */ -export type OneHundredAndFortyFour$Outbound = { - edgeConfigId: string; - edgeConfigSlug: string; - edgeConfigDigest: string; -}; +export type PayloadMicrofrontends$Outbound = + | UserEventMicrofrontends1$Outbound + | UserEventMicrofrontends2$Outbound + | UserEventMicrofrontends3$Outbound; /** @internal */ -export const OneHundredAndFortyFour$outboundSchema: z.ZodType< - OneHundredAndFortyFour$Outbound, +export const PayloadMicrofrontends$outboundSchema: z.ZodType< + PayloadMicrofrontends$Outbound, z.ZodTypeDef, - OneHundredAndFortyFour -> = z.object({ - edgeConfigId: z.string(), - edgeConfigSlug: z.string(), - edgeConfigDigest: z.string(), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace OneHundredAndFortyFour$ { - /** @deprecated use `OneHundredAndFortyFour$inboundSchema` instead. */ - export const inboundSchema = OneHundredAndFortyFour$inboundSchema; - /** @deprecated use `OneHundredAndFortyFour$outboundSchema` instead. */ - export const outboundSchema = OneHundredAndFortyFour$outboundSchema; - /** @deprecated use `OneHundredAndFortyFour$Outbound` instead. */ - export type Outbound = OneHundredAndFortyFour$Outbound; -} + PayloadMicrofrontends +> = z.union([ + z.lazy(() => UserEventMicrofrontends1$outboundSchema), + z.lazy(() => UserEventMicrofrontends2$outboundSchema), + z.lazy(() => UserEventMicrofrontends3$outboundSchema), +]); -export function oneHundredAndFortyFourToJSON( - oneHundredAndFortyFour: OneHundredAndFortyFour, +export function payloadMicrofrontendsToJSON( + payloadMicrofrontends: PayloadMicrofrontends, ): string { return JSON.stringify( - OneHundredAndFortyFour$outboundSchema.parse(oneHundredAndFortyFour), + PayloadMicrofrontends$outboundSchema.parse(payloadMicrofrontends), ); } - -export function oneHundredAndFortyFourFromJSON( +export function payloadMicrofrontendsFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndFortyFour$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndFortyFour' from JSON`, + (x) => PayloadMicrofrontends$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PayloadMicrofrontends' from JSON`, ); } /** @internal */ -export const OneHundredAndFortyThree$inboundSchema: z.ZodType< - OneHundredAndFortyThree, +export const UserEventPayload153PrevProject$inboundSchema: z.ZodType< + UserEventPayload153PrevProject, z.ZodTypeDef, unknown > = z.object({ - projectName: z.string(), - urls: z.array(z.string()), + microfrontends: z.union([ + z.lazy(() => UserEventMicrofrontends1$inboundSchema), + z.lazy(() => UserEventMicrofrontends2$inboundSchema), + z.lazy(() => UserEventMicrofrontends3$inboundSchema), + ]).optional(), }); - /** @internal */ -export type OneHundredAndFortyThree$Outbound = { - projectName: string; - urls: Array; +export type UserEventPayload153PrevProject$Outbound = { + microfrontends?: + | UserEventMicrofrontends1$Outbound + | UserEventMicrofrontends2$Outbound + | UserEventMicrofrontends3$Outbound + | undefined; }; /** @internal */ -export const OneHundredAndFortyThree$outboundSchema: z.ZodType< - OneHundredAndFortyThree$Outbound, +export const UserEventPayload153PrevProject$outboundSchema: z.ZodType< + UserEventPayload153PrevProject$Outbound, z.ZodTypeDef, - OneHundredAndFortyThree + UserEventPayload153PrevProject > = z.object({ - projectName: z.string(), - urls: z.array(z.string()), + microfrontends: z.union([ + z.lazy(() => UserEventMicrofrontends1$outboundSchema), + z.lazy(() => UserEventMicrofrontends2$outboundSchema), + z.lazy(() => UserEventMicrofrontends3$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 OneHundredAndFortyThree$ { - /** @deprecated use `OneHundredAndFortyThree$inboundSchema` instead. */ - export const inboundSchema = OneHundredAndFortyThree$inboundSchema; - /** @deprecated use `OneHundredAndFortyThree$outboundSchema` instead. */ - export const outboundSchema = OneHundredAndFortyThree$outboundSchema; - /** @deprecated use `OneHundredAndFortyThree$Outbound` instead. */ - export type Outbound = OneHundredAndFortyThree$Outbound; -} - -export function oneHundredAndFortyThreeToJSON( - oneHundredAndFortyThree: OneHundredAndFortyThree, +export function userEventPayload153PrevProjectToJSON( + userEventPayload153PrevProject: UserEventPayload153PrevProject, ): string { return JSON.stringify( - OneHundredAndFortyThree$outboundSchema.parse(oneHundredAndFortyThree), + UserEventPayload153PrevProject$outboundSchema.parse( + userEventPayload153PrevProject, + ), ); } - -export function oneHundredAndFortyThreeFromJSON( +export function userEventPayload153PrevProjectFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndFortyThree$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndFortyThree' from JSON`, + (x) => UserEventPayload153PrevProject$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload153PrevProject' from JSON`, ); } /** @internal */ -export const OneHundredAndFortyTwo$inboundSchema: z.ZodType< - OneHundredAndFortyTwo, +export const PayloadPrev$inboundSchema: z.ZodType< + PayloadPrev, z.ZodTypeDef, unknown > = z.object({ - projectName: z.string(), - tags: z.array(z.string()), - target: z.string().optional(), + project: z.lazy(() => UserEventPayload153PrevProject$inboundSchema), }); - /** @internal */ -export type OneHundredAndFortyTwo$Outbound = { - projectName: string; - tags: Array; - target?: string | undefined; +export type PayloadPrev$Outbound = { + project: UserEventPayload153PrevProject$Outbound; }; /** @internal */ -export const OneHundredAndFortyTwo$outboundSchema: z.ZodType< - OneHundredAndFortyTwo$Outbound, +export const PayloadPrev$outboundSchema: z.ZodType< + PayloadPrev$Outbound, z.ZodTypeDef, - OneHundredAndFortyTwo + PayloadPrev > = z.object({ - projectName: z.string(), - tags: z.array(z.string()), - target: z.string().optional(), + project: z.lazy(() => UserEventPayload153PrevProject$outboundSchema), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace OneHundredAndFortyTwo$ { - /** @deprecated use `OneHundredAndFortyTwo$inboundSchema` instead. */ - export const inboundSchema = OneHundredAndFortyTwo$inboundSchema; - /** @deprecated use `OneHundredAndFortyTwo$outboundSchema` instead. */ - export const outboundSchema = OneHundredAndFortyTwo$outboundSchema; - /** @deprecated use `OneHundredAndFortyTwo$Outbound` instead. */ - export type Outbound = OneHundredAndFortyTwo$Outbound; -} - -export function oneHundredAndFortyTwoToJSON( - oneHundredAndFortyTwo: OneHundredAndFortyTwo, -): string { - return JSON.stringify( - OneHundredAndFortyTwo$outboundSchema.parse(oneHundredAndFortyTwo), - ); +export function payloadPrevToJSON(payloadPrev: PayloadPrev): string { + return JSON.stringify(PayloadPrev$outboundSchema.parse(payloadPrev)); } - -export function oneHundredAndFortyTwoFromJSON( +export function payloadPrevFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndFortyTwo$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndFortyTwo' from JSON`, + (x) => PayloadPrev$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PayloadPrev' from JSON`, ); } /** @internal */ -export const UserEventPayload141Role$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload141Role -> = z.nativeEnum(UserEventPayload141Role); - -/** @internal */ -export const UserEventPayload141Role$outboundSchema: z.ZodNativeEnum< - typeof UserEventPayload141Role -> = UserEventPayload141Role$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UserEventPayload141Role$ { - /** @deprecated use `UserEventPayload141Role$inboundSchema` instead. */ - export const inboundSchema = UserEventPayload141Role$inboundSchema; - /** @deprecated use `UserEventPayload141Role$outboundSchema` instead. */ - export const outboundSchema = UserEventPayload141Role$outboundSchema; -} - -/** @internal */ -export const UserEventPayload141Project$inboundSchema: z.ZodType< - UserEventPayload141Project, +export const PayloadGroup$inboundSchema: z.ZodType< + PayloadGroup, z.ZodTypeDef, unknown > = z.object({ + id: z.string(), + slug: z.string(), name: z.string(), - role: UserEventPayload141Role$inboundSchema, - invitedUserName: z.string(), - id: z.string().optional(), - invitedUserId: z.string().optional(), }); - /** @internal */ -export type UserEventPayload141Project$Outbound = { +export type PayloadGroup$Outbound = { + id: string; + slug: string; name: string; - role: string; - invitedUserName: string; - id?: string | undefined; - invitedUserId?: string | undefined; }; /** @internal */ -export const UserEventPayload141Project$outboundSchema: z.ZodType< - UserEventPayload141Project$Outbound, +export const PayloadGroup$outboundSchema: z.ZodType< + PayloadGroup$Outbound, z.ZodTypeDef, - UserEventPayload141Project + PayloadGroup > = z.object({ + id: z.string(), + slug: z.string(), name: z.string(), - role: UserEventPayload141Role$outboundSchema, - invitedUserName: z.string(), - id: z.string().optional(), - invitedUserId: z.string().optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UserEventPayload141Project$ { - /** @deprecated use `UserEventPayload141Project$inboundSchema` instead. */ - export const inboundSchema = UserEventPayload141Project$inboundSchema; - /** @deprecated use `UserEventPayload141Project$outboundSchema` instead. */ - export const outboundSchema = UserEventPayload141Project$outboundSchema; - /** @deprecated use `UserEventPayload141Project$Outbound` instead. */ - export type Outbound = UserEventPayload141Project$Outbound; -} - -export function userEventPayload141ProjectToJSON( - userEventPayload141Project: UserEventPayload141Project, -): string { - return JSON.stringify( - UserEventPayload141Project$outboundSchema.parse(userEventPayload141Project), - ); +export function payloadGroupToJSON(payloadGroup: PayloadGroup): string { + return JSON.stringify(PayloadGroup$outboundSchema.parse(payloadGroup)); } - -export function userEventPayload141ProjectFromJSON( +export function payloadGroupFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload141Project$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload141Project' from JSON`, + (x) => PayloadGroup$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PayloadGroup' from JSON`, ); } /** @internal */ -export const OneHundredAndFortyOne$inboundSchema: z.ZodType< - OneHundredAndFortyOne, +export const OneHundredAndFiftyThree$inboundSchema: z.ZodType< + OneHundredAndFiftyThree, z.ZodTypeDef, unknown > = z.object({ - project: z.lazy(() => UserEventPayload141Project$inboundSchema), + project: z.lazy(() => UserEventPayload153Project$inboundSchema), + prev: z.lazy(() => PayloadPrev$inboundSchema), + group: z.lazy(() => PayloadGroup$inboundSchema), }); - /** @internal */ -export type OneHundredAndFortyOne$Outbound = { - project: UserEventPayload141Project$Outbound; +export type OneHundredAndFiftyThree$Outbound = { + project: UserEventPayload153Project$Outbound; + prev: PayloadPrev$Outbound; + group: PayloadGroup$Outbound; }; /** @internal */ -export const OneHundredAndFortyOne$outboundSchema: z.ZodType< - OneHundredAndFortyOne$Outbound, +export const OneHundredAndFiftyThree$outboundSchema: z.ZodType< + OneHundredAndFiftyThree$Outbound, z.ZodTypeDef, - OneHundredAndFortyOne + OneHundredAndFiftyThree > = z.object({ - project: z.lazy(() => UserEventPayload141Project$outboundSchema), + project: z.lazy(() => UserEventPayload153Project$outboundSchema), + prev: z.lazy(() => PayloadPrev$outboundSchema), + group: z.lazy(() => PayloadGroup$outboundSchema), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace OneHundredAndFortyOne$ { - /** @deprecated use `OneHundredAndFortyOne$inboundSchema` instead. */ - export const inboundSchema = OneHundredAndFortyOne$inboundSchema; - /** @deprecated use `OneHundredAndFortyOne$outboundSchema` instead. */ - export const outboundSchema = OneHundredAndFortyOne$outboundSchema; - /** @deprecated use `OneHundredAndFortyOne$Outbound` instead. */ - export type Outbound = OneHundredAndFortyOne$Outbound; -} - -export function oneHundredAndFortyOneToJSON( - oneHundredAndFortyOne: OneHundredAndFortyOne, +export function oneHundredAndFiftyThreeToJSON( + oneHundredAndFiftyThree: OneHundredAndFiftyThree, ): string { return JSON.stringify( - OneHundredAndFortyOne$outboundSchema.parse(oneHundredAndFortyOne), + OneHundredAndFiftyThree$outboundSchema.parse(oneHundredAndFiftyThree), ); } - -export function oneHundredAndFortyOneFromJSON( +export function oneHundredAndFiftyThreeFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndFortyOne$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndFortyOne' from JSON`, + (x) => OneHundredAndFiftyThree$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndFiftyThree' from JSON`, ); } /** @internal */ -export const UserEventPayload140Project$inboundSchema: z.ZodType< - UserEventPayload140Project, +export const UserEventPayload152Project$inboundSchema: z.ZodType< + UserEventPayload152Project, z.ZodTypeDef, unknown > = z.object({ id: z.string(), name: z.string(), }); - /** @internal */ -export type UserEventPayload140Project$Outbound = { +export type UserEventPayload152Project$Outbound = { id: string; name: string; }; /** @internal */ -export const UserEventPayload140Project$outboundSchema: z.ZodType< - UserEventPayload140Project$Outbound, +export const UserEventPayload152Project$outboundSchema: z.ZodType< + UserEventPayload152Project$Outbound, z.ZodTypeDef, - UserEventPayload140Project + UserEventPayload152Project > = z.object({ id: z.string(), 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 UserEventPayload140Project$ { - /** @deprecated use `UserEventPayload140Project$inboundSchema` instead. */ - export const inboundSchema = UserEventPayload140Project$inboundSchema; - /** @deprecated use `UserEventPayload140Project$outboundSchema` instead. */ - export const outboundSchema = UserEventPayload140Project$outboundSchema; - /** @deprecated use `UserEventPayload140Project$Outbound` instead. */ - export type Outbound = UserEventPayload140Project$Outbound; -} - -export function userEventPayload140ProjectToJSON( - userEventPayload140Project: UserEventPayload140Project, +export function userEventPayload152ProjectToJSON( + userEventPayload152Project: UserEventPayload152Project, ): string { return JSON.stringify( - UserEventPayload140Project$outboundSchema.parse(userEventPayload140Project), + UserEventPayload152Project$outboundSchema.parse(userEventPayload152Project), ); } - -export function userEventPayload140ProjectFromJSON( +export function userEventPayload152ProjectFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload140Project$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload140Project' from JSON`, + (x) => UserEventPayload152Project$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload152Project' from JSON`, ); } /** @internal */ -export const UserEventPayload140Role$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload140Role -> = z.nativeEnum(UserEventPayload140Role); - -/** @internal */ -export const UserEventPayload140Role$outboundSchema: z.ZodNativeEnum< - typeof UserEventPayload140Role -> = UserEventPayload140Role$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UserEventPayload140Role$ { - /** @deprecated use `UserEventPayload140Role$inboundSchema` instead. */ - export const inboundSchema = UserEventPayload140Role$inboundSchema; - /** @deprecated use `UserEventPayload140Role$outboundSchema` instead. */ - export const outboundSchema = UserEventPayload140Role$outboundSchema; -} - +export const Group$inboundSchema: z.ZodType = z + .object({ + id: z.string(), + slug: z.string(), + name: z.string(), + }); /** @internal */ -export const PayloadPreviousRole$inboundSchema: z.ZodNativeEnum< - typeof PayloadPreviousRole -> = z.nativeEnum(PayloadPreviousRole); +export type Group$Outbound = { + id: string; + slug: string; + name: string; +}; /** @internal */ -export const PayloadPreviousRole$outboundSchema: z.ZodNativeEnum< - typeof PayloadPreviousRole -> = PayloadPreviousRole$inboundSchema; +export const Group$outboundSchema: z.ZodType< + Group$Outbound, + z.ZodTypeDef, + Group +> = z.object({ + id: z.string(), + slug: z.string(), + 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 PayloadPreviousRole$ { - /** @deprecated use `PayloadPreviousRole$inboundSchema` instead. */ - export const inboundSchema = PayloadPreviousRole$inboundSchema; - /** @deprecated use `PayloadPreviousRole$outboundSchema` instead. */ - export const outboundSchema = PayloadPreviousRole$outboundSchema; +export function groupToJSON(group: Group): string { + return JSON.stringify(Group$outboundSchema.parse(group)); +} +export function groupFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Group$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Group' from JSON`, + ); } /** @internal */ -export const PayloadProjectMembership$inboundSchema: z.ZodType< - PayloadProjectMembership, +export const OneHundredAndFiftyTwo$inboundSchema: z.ZodType< + OneHundredAndFiftyTwo, z.ZodTypeDef, unknown > = z.object({ - role: UserEventPayload140Role$inboundSchema.optional(), - uid: z.string().optional(), - createdAt: z.number().optional(), - username: z.string().optional(), - previousRole: PayloadPreviousRole$inboundSchema.optional(), + project: z.lazy(() => UserEventPayload152Project$inboundSchema), + group: z.lazy(() => Group$inboundSchema), }); - /** @internal */ -export type PayloadProjectMembership$Outbound = { - role?: string | undefined; - uid?: string | undefined; - createdAt?: number | undefined; - username?: string | undefined; - previousRole?: string | undefined; +export type OneHundredAndFiftyTwo$Outbound = { + project: UserEventPayload152Project$Outbound; + group: Group$Outbound; }; /** @internal */ -export const PayloadProjectMembership$outboundSchema: z.ZodType< - PayloadProjectMembership$Outbound, +export const OneHundredAndFiftyTwo$outboundSchema: z.ZodType< + OneHundredAndFiftyTwo$Outbound, z.ZodTypeDef, - PayloadProjectMembership + OneHundredAndFiftyTwo > = z.object({ - role: UserEventPayload140Role$outboundSchema.optional(), - uid: z.string().optional(), - createdAt: z.number().optional(), - username: z.string().optional(), - previousRole: PayloadPreviousRole$outboundSchema.optional(), + project: z.lazy(() => UserEventPayload152Project$outboundSchema), + group: z.lazy(() => Group$outboundSchema), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PayloadProjectMembership$ { - /** @deprecated use `PayloadProjectMembership$inboundSchema` instead. */ - export const inboundSchema = PayloadProjectMembership$inboundSchema; - /** @deprecated use `PayloadProjectMembership$outboundSchema` instead. */ - export const outboundSchema = PayloadProjectMembership$outboundSchema; - /** @deprecated use `PayloadProjectMembership$Outbound` instead. */ - export type Outbound = PayloadProjectMembership$Outbound; -} - -export function payloadProjectMembershipToJSON( - payloadProjectMembership: PayloadProjectMembership, +export function oneHundredAndFiftyTwoToJSON( + oneHundredAndFiftyTwo: OneHundredAndFiftyTwo, ): string { return JSON.stringify( - PayloadProjectMembership$outboundSchema.parse(payloadProjectMembership), + OneHundredAndFiftyTwo$outboundSchema.parse(oneHundredAndFiftyTwo), ); } - -export function payloadProjectMembershipFromJSON( +export function oneHundredAndFiftyTwoFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => PayloadProjectMembership$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'PayloadProjectMembership' from JSON`, + (x) => OneHundredAndFiftyTwo$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndFiftyTwo' from JSON`, ); } /** @internal */ -export const OneHundredAndForty$inboundSchema: z.ZodType< - OneHundredAndForty, - z.ZodTypeDef, - unknown -> = z.object({ - project: z.lazy(() => UserEventPayload140Project$inboundSchema), - projectMembership: z.lazy(() => PayloadProjectMembership$inboundSchema), -}); - +export const Prev$inboundSchema: z.ZodType = z + .object({ + name: z.string(), + slug: z.string(), + fallbackEnvironment: z.string(), + }); /** @internal */ -export type OneHundredAndForty$Outbound = { - project: UserEventPayload140Project$Outbound; - projectMembership: PayloadProjectMembership$Outbound; +export type Prev$Outbound = { + name: string; + slug: string; + fallbackEnvironment: string; }; /** @internal */ -export const OneHundredAndForty$outboundSchema: z.ZodType< - OneHundredAndForty$Outbound, - z.ZodTypeDef, - OneHundredAndForty -> = z.object({ - project: z.lazy(() => UserEventPayload140Project$outboundSchema), - projectMembership: z.lazy(() => PayloadProjectMembership$outboundSchema), -}); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace OneHundredAndForty$ { - /** @deprecated use `OneHundredAndForty$inboundSchema` instead. */ - export const inboundSchema = OneHundredAndForty$inboundSchema; - /** @deprecated use `OneHundredAndForty$outboundSchema` instead. */ - export const outboundSchema = OneHundredAndForty$outboundSchema; - /** @deprecated use `OneHundredAndForty$Outbound` instead. */ - export type Outbound = OneHundredAndForty$Outbound; -} +export const Prev$outboundSchema: z.ZodType = + z.object({ + name: z.string(), + slug: z.string(), + fallbackEnvironment: z.string(), + }); -export function oneHundredAndFortyToJSON( - oneHundredAndForty: OneHundredAndForty, -): string { - return JSON.stringify( - OneHundredAndForty$outboundSchema.parse(oneHundredAndForty), - ); +export function prevToJSON(prev: Prev): string { + return JSON.stringify(Prev$outboundSchema.parse(prev)); } - -export function oneHundredAndFortyFromJSON( +export function prevFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndForty$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndForty' from JSON`, + (x) => Prev$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Prev' from JSON`, ); } /** @internal */ -export const UserEventPayload139Project$inboundSchema: z.ZodType< - UserEventPayload139Project, +export const OneHundredAndFiftyOne$inboundSchema: z.ZodType< + OneHundredAndFiftyOne, z.ZodTypeDef, unknown > = z.object({ - name: z.string(), - id: z.string().optional(), + id: z.string(), + slug: z.string().optional(), + name: z.string().optional(), + fallbackEnvironment: z.string().optional(), + prev: z.lazy(() => Prev$inboundSchema), }); - /** @internal */ -export type UserEventPayload139Project$Outbound = { - name: string; - id?: string | undefined; +export type OneHundredAndFiftyOne$Outbound = { + id: string; + slug?: string | undefined; + name?: string | undefined; + fallbackEnvironment?: string | undefined; + prev: Prev$Outbound; }; /** @internal */ -export const UserEventPayload139Project$outboundSchema: z.ZodType< - UserEventPayload139Project$Outbound, +export const OneHundredAndFiftyOne$outboundSchema: z.ZodType< + OneHundredAndFiftyOne$Outbound, z.ZodTypeDef, - UserEventPayload139Project + OneHundredAndFiftyOne > = z.object({ - name: z.string(), - id: z.string().optional(), + id: z.string(), + slug: z.string().optional(), + name: z.string().optional(), + fallbackEnvironment: z.string().optional(), + prev: z.lazy(() => Prev$outboundSchema), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UserEventPayload139Project$ { - /** @deprecated use `UserEventPayload139Project$inboundSchema` instead. */ - export const inboundSchema = UserEventPayload139Project$inboundSchema; - /** @deprecated use `UserEventPayload139Project$outboundSchema` instead. */ - export const outboundSchema = UserEventPayload139Project$outboundSchema; - /** @deprecated use `UserEventPayload139Project$Outbound` instead. */ - export type Outbound = UserEventPayload139Project$Outbound; -} - -export function userEventPayload139ProjectToJSON( - userEventPayload139Project: UserEventPayload139Project, +export function oneHundredAndFiftyOneToJSON( + oneHundredAndFiftyOne: OneHundredAndFiftyOne, ): string { return JSON.stringify( - UserEventPayload139Project$outboundSchema.parse(userEventPayload139Project), + OneHundredAndFiftyOne$outboundSchema.parse(oneHundredAndFiftyOne), ); } - -export function userEventPayload139ProjectFromJSON( +export function oneHundredAndFiftyOneFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload139Project$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload139Project' from JSON`, + (x) => OneHundredAndFiftyOne$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndFiftyOne' from JSON`, ); } /** @internal */ -export const UserEventPayloadRole$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayloadRole -> = z.nativeEnum(UserEventPayloadRole); - -/** @internal */ -export const UserEventPayloadRole$outboundSchema: z.ZodNativeEnum< - typeof UserEventPayloadRole -> = UserEventPayloadRole$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UserEventPayloadRole$ { - /** @deprecated use `UserEventPayloadRole$inboundSchema` instead. */ - export const inboundSchema = UserEventPayloadRole$inboundSchema; - /** @deprecated use `UserEventPayloadRole$outboundSchema` instead. */ - export const outboundSchema = UserEventPayloadRole$outboundSchema; -} - -/** @internal */ -export const RemovedMembership$inboundSchema: z.ZodType< - RemovedMembership, +export const OneHundredAndFifty$inboundSchema: z.ZodType< + OneHundredAndFifty, z.ZodTypeDef, unknown > = z.object({ - role: UserEventPayloadRole$inboundSchema, - uid: z.string(), - createdAt: z.number(), - username: z.string().optional(), + id: z.string(), + slug: z.string(), + name: z.string(), }); - /** @internal */ -export type RemovedMembership$Outbound = { - role: string; - uid: string; - createdAt: number; - username?: string | undefined; +export type OneHundredAndFifty$Outbound = { + id: string; + slug: string; + name: string; }; /** @internal */ -export const RemovedMembership$outboundSchema: z.ZodType< - RemovedMembership$Outbound, +export const OneHundredAndFifty$outboundSchema: z.ZodType< + OneHundredAndFifty$Outbound, z.ZodTypeDef, - RemovedMembership + OneHundredAndFifty > = z.object({ - role: UserEventPayloadRole$outboundSchema, - uid: z.string(), - createdAt: z.number(), - username: z.string().optional(), + id: z.string(), + slug: z.string(), + 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 RemovedMembership$ { - /** @deprecated use `RemovedMembership$inboundSchema` instead. */ - export const inboundSchema = RemovedMembership$inboundSchema; - /** @deprecated use `RemovedMembership$outboundSchema` instead. */ - export const outboundSchema = RemovedMembership$outboundSchema; - /** @deprecated use `RemovedMembership$Outbound` instead. */ - export type Outbound = RemovedMembership$Outbound; -} - -export function removedMembershipToJSON( - removedMembership: RemovedMembership, +export function oneHundredAndFiftyToJSON( + oneHundredAndFifty: OneHundredAndFifty, ): string { return JSON.stringify( - RemovedMembership$outboundSchema.parse(removedMembership), + OneHundredAndFifty$outboundSchema.parse(oneHundredAndFifty), ); } - -export function removedMembershipFromJSON( +export function oneHundredAndFiftyFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => RemovedMembership$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'RemovedMembership' from JSON`, + (x) => OneHundredAndFifty$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndFifty' from JSON`, ); } /** @internal */ -export const OneHundredAndThirtyNine$inboundSchema: z.ZodType< - OneHundredAndThirtyNine, +export const UserEventPayload149Action$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload149Action +> = z.nativeEnum(UserEventPayload149Action); +/** @internal */ +export const UserEventPayload149Action$outboundSchema: z.ZodNativeEnum< + typeof UserEventPayload149Action +> = UserEventPayload149Action$inboundSchema; + +/** @internal */ +export const OneHundredAndFortyNine$inboundSchema: z.ZodType< + OneHundredAndFortyNine, z.ZodTypeDef, unknown > = z.object({ - project: z.lazy(() => UserEventPayload139Project$inboundSchema), - removedMembership: z.lazy(() => RemovedMembership$inboundSchema), + action: UserEventPayload149Action$inboundSchema, }); - /** @internal */ -export type OneHundredAndThirtyNine$Outbound = { - project: UserEventPayload139Project$Outbound; - removedMembership: RemovedMembership$Outbound; +export type OneHundredAndFortyNine$Outbound = { + action: string; }; /** @internal */ -export const OneHundredAndThirtyNine$outboundSchema: z.ZodType< - OneHundredAndThirtyNine$Outbound, +export const OneHundredAndFortyNine$outboundSchema: z.ZodType< + OneHundredAndFortyNine$Outbound, z.ZodTypeDef, - OneHundredAndThirtyNine + OneHundredAndFortyNine > = z.object({ - project: z.lazy(() => UserEventPayload139Project$outboundSchema), - removedMembership: z.lazy(() => RemovedMembership$outboundSchema), + action: UserEventPayload149Action$outboundSchema, }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace OneHundredAndThirtyNine$ { - /** @deprecated use `OneHundredAndThirtyNine$inboundSchema` instead. */ - export const inboundSchema = OneHundredAndThirtyNine$inboundSchema; - /** @deprecated use `OneHundredAndThirtyNine$outboundSchema` instead. */ - export const outboundSchema = OneHundredAndThirtyNine$outboundSchema; - /** @deprecated use `OneHundredAndThirtyNine$Outbound` instead. */ - export type Outbound = OneHundredAndThirtyNine$Outbound; -} - -export function oneHundredAndThirtyNineToJSON( - oneHundredAndThirtyNine: OneHundredAndThirtyNine, +export function oneHundredAndFortyNineToJSON( + oneHundredAndFortyNine: OneHundredAndFortyNine, ): string { return JSON.stringify( - OneHundredAndThirtyNine$outboundSchema.parse(oneHundredAndThirtyNine), + OneHundredAndFortyNine$outboundSchema.parse(oneHundredAndFortyNine), ); } - -export function oneHundredAndThirtyNineFromJSON( +export function oneHundredAndFortyNineFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndThirtyNine$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndThirtyNine' from JSON`, + (x) => OneHundredAndFortyNine$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndFortyNine' from JSON`, ); } /** @internal */ -export const UserEventPayload138Project$inboundSchema: z.ZodType< - UserEventPayload138Project, +export const OneHundredAndFortyEight$inboundSchema: z.ZodType< + OneHundredAndFortyEight, z.ZodTypeDef, unknown > = z.object({ - name: z.string(), - id: z.string().optional(), + edgeConfigId: z.string(), + edgeConfigSlug: z.string(), + edgeConfigTokenIds: z.array(z.string()), }); - /** @internal */ -export type UserEventPayload138Project$Outbound = { - name: string; - id?: string | undefined; +export type OneHundredAndFortyEight$Outbound = { + edgeConfigId: string; + edgeConfigSlug: string; + edgeConfigTokenIds: Array; }; /** @internal */ -export const UserEventPayload138Project$outboundSchema: z.ZodType< - UserEventPayload138Project$Outbound, +export const OneHundredAndFortyEight$outboundSchema: z.ZodType< + OneHundredAndFortyEight$Outbound, z.ZodTypeDef, - UserEventPayload138Project + OneHundredAndFortyEight > = z.object({ - name: z.string(), - id: z.string().optional(), + edgeConfigId: z.string(), + edgeConfigSlug: z.string(), + edgeConfigTokenIds: 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 UserEventPayload138Project$ { - /** @deprecated use `UserEventPayload138Project$inboundSchema` instead. */ - export const inboundSchema = UserEventPayload138Project$inboundSchema; - /** @deprecated use `UserEventPayload138Project$outboundSchema` instead. */ - export const outboundSchema = UserEventPayload138Project$outboundSchema; - /** @deprecated use `UserEventPayload138Project$Outbound` instead. */ - export type Outbound = UserEventPayload138Project$Outbound; -} - -export function userEventPayload138ProjectToJSON( - userEventPayload138Project: UserEventPayload138Project, +export function oneHundredAndFortyEightToJSON( + oneHundredAndFortyEight: OneHundredAndFortyEight, ): string { return JSON.stringify( - UserEventPayload138Project$outboundSchema.parse(userEventPayload138Project), + OneHundredAndFortyEight$outboundSchema.parse(oneHundredAndFortyEight), ); } - -export function userEventPayload138ProjectFromJSON( +export function oneHundredAndFortyEightFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload138Project$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload138Project' from JSON`, + (x) => OneHundredAndFortyEight$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndFortyEight' from JSON`, ); } /** @internal */ -export const PayloadRole$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(PayloadRole); - -/** @internal */ -export const PayloadRole$outboundSchema: z.ZodNativeEnum = - PayloadRole$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PayloadRole$ { - /** @deprecated use `PayloadRole$inboundSchema` instead. */ - export const inboundSchema = PayloadRole$inboundSchema; - /** @deprecated use `PayloadRole$outboundSchema` instead. */ - export const outboundSchema = PayloadRole$outboundSchema; -} - -/** @internal */ -export const ProjectMembership$inboundSchema: z.ZodType< - ProjectMembership, +export const OneHundredAndFortySeven$inboundSchema: z.ZodType< + OneHundredAndFortySeven, z.ZodTypeDef, unknown > = z.object({ - role: PayloadRole$inboundSchema, - uid: z.string(), - createdAt: z.number(), - username: z.string().optional(), + edgeConfigId: z.string(), + edgeConfigSlug: z.string(), + edgeConfigTokenId: z.string(), + label: z.string(), }); - /** @internal */ -export type ProjectMembership$Outbound = { - role: string; - uid: string; - createdAt: number; - username?: string | undefined; +export type OneHundredAndFortySeven$Outbound = { + edgeConfigId: string; + edgeConfigSlug: string; + edgeConfigTokenId: string; + label: string; }; /** @internal */ -export const ProjectMembership$outboundSchema: z.ZodType< - ProjectMembership$Outbound, +export const OneHundredAndFortySeven$outboundSchema: z.ZodType< + OneHundredAndFortySeven$Outbound, z.ZodTypeDef, - ProjectMembership + OneHundredAndFortySeven > = z.object({ - role: PayloadRole$outboundSchema, - uid: z.string(), - createdAt: z.number(), - username: z.string().optional(), + edgeConfigId: z.string(), + edgeConfigSlug: z.string(), + edgeConfigTokenId: z.string(), + 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 ProjectMembership$ { - /** @deprecated use `ProjectMembership$inboundSchema` instead. */ - export const inboundSchema = ProjectMembership$inboundSchema; - /** @deprecated use `ProjectMembership$outboundSchema` instead. */ - export const outboundSchema = ProjectMembership$outboundSchema; - /** @deprecated use `ProjectMembership$Outbound` instead. */ - export type Outbound = ProjectMembership$Outbound; -} - -export function projectMembershipToJSON( - projectMembership: ProjectMembership, +export function oneHundredAndFortySevenToJSON( + oneHundredAndFortySeven: OneHundredAndFortySeven, ): string { return JSON.stringify( - ProjectMembership$outboundSchema.parse(projectMembership), + OneHundredAndFortySeven$outboundSchema.parse(oneHundredAndFortySeven), ); } - -export function projectMembershipFromJSON( +export function oneHundredAndFortySevenFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => ProjectMembership$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ProjectMembership' from JSON`, + (x) => OneHundredAndFortySeven$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndFortySeven' from JSON`, ); } /** @internal */ -export const OneHundredAndThirtyEight$inboundSchema: z.ZodType< - OneHundredAndThirtyEight, +export const OneHundredAndFortySix$inboundSchema: z.ZodType< + OneHundredAndFortySix, z.ZodTypeDef, unknown > = z.object({ - project: z.lazy(() => UserEventPayload138Project$inboundSchema), - projectMembership: z.nullable(z.lazy(() => ProjectMembership$inboundSchema)), + edgeConfigId: z.string(), + edgeConfigSlug: z.string(), + edgeConfigDigest: z.string(), }); +/** @internal */ +export type OneHundredAndFortySix$Outbound = { + edgeConfigId: string; + edgeConfigSlug: string; + edgeConfigDigest: string; +}; /** @internal */ -export type OneHundredAndThirtyEight$Outbound = { - project: UserEventPayload138Project$Outbound; - projectMembership: ProjectMembership$Outbound | null; -}; - -/** @internal */ -export const OneHundredAndThirtyEight$outboundSchema: z.ZodType< - OneHundredAndThirtyEight$Outbound, +export const OneHundredAndFortySix$outboundSchema: z.ZodType< + OneHundredAndFortySix$Outbound, z.ZodTypeDef, - OneHundredAndThirtyEight + OneHundredAndFortySix > = z.object({ - project: z.lazy(() => UserEventPayload138Project$outboundSchema), - projectMembership: z.nullable(z.lazy(() => ProjectMembership$outboundSchema)), + edgeConfigId: z.string(), + edgeConfigSlug: z.string(), + edgeConfigDigest: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace OneHundredAndThirtyEight$ { - /** @deprecated use `OneHundredAndThirtyEight$inboundSchema` instead. */ - export const inboundSchema = OneHundredAndThirtyEight$inboundSchema; - /** @deprecated use `OneHundredAndThirtyEight$outboundSchema` instead. */ - export const outboundSchema = OneHundredAndThirtyEight$outboundSchema; - /** @deprecated use `OneHundredAndThirtyEight$Outbound` instead. */ - export type Outbound = OneHundredAndThirtyEight$Outbound; -} - -export function oneHundredAndThirtyEightToJSON( - oneHundredAndThirtyEight: OneHundredAndThirtyEight, +export function oneHundredAndFortySixToJSON( + oneHundredAndFortySix: OneHundredAndFortySix, ): string { return JSON.stringify( - OneHundredAndThirtyEight$outboundSchema.parse(oneHundredAndThirtyEight), + OneHundredAndFortySix$outboundSchema.parse(oneHundredAndFortySix), ); } - -export function oneHundredAndThirtyEightFromJSON( +export function oneHundredAndFortySixFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndThirtyEight$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndThirtyEight' from JSON`, + (x) => OneHundredAndFortySix$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndFortySix' from JSON`, ); } /** @internal */ -export const OneHundredAndThirtySeven$inboundSchema: z.ZodType< - OneHundredAndThirtySeven, +export const OneHundredAndFortyFive$inboundSchema: z.ZodType< + OneHundredAndFortyFive, z.ZodTypeDef, unknown > = z.object({ - previousProjectName: z.string(), - newProjectName: z.string(), - originAccountName: z.string(), - transferId: z.string().optional(), + projectName: z.string(), + srcImages: z.array(z.string()), }); - /** @internal */ -export type OneHundredAndThirtySeven$Outbound = { - previousProjectName: string; - newProjectName: string; - originAccountName: string; - transferId?: string | undefined; +export type OneHundredAndFortyFive$Outbound = { + projectName: string; + srcImages: Array; }; /** @internal */ -export const OneHundredAndThirtySeven$outboundSchema: z.ZodType< - OneHundredAndThirtySeven$Outbound, +export const OneHundredAndFortyFive$outboundSchema: z.ZodType< + OneHundredAndFortyFive$Outbound, z.ZodTypeDef, - OneHundredAndThirtySeven + OneHundredAndFortyFive > = z.object({ - previousProjectName: z.string(), - newProjectName: z.string(), - originAccountName: z.string(), - transferId: z.string().optional(), + projectName: z.string(), + srcImages: 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 OneHundredAndThirtySeven$ { - /** @deprecated use `OneHundredAndThirtySeven$inboundSchema` instead. */ - export const inboundSchema = OneHundredAndThirtySeven$inboundSchema; - /** @deprecated use `OneHundredAndThirtySeven$outboundSchema` instead. */ - export const outboundSchema = OneHundredAndThirtySeven$outboundSchema; - /** @deprecated use `OneHundredAndThirtySeven$Outbound` instead. */ - export type Outbound = OneHundredAndThirtySeven$Outbound; -} - -export function oneHundredAndThirtySevenToJSON( - oneHundredAndThirtySeven: OneHundredAndThirtySeven, +export function oneHundredAndFortyFiveToJSON( + oneHundredAndFortyFive: OneHundredAndFortyFive, ): string { return JSON.stringify( - OneHundredAndThirtySeven$outboundSchema.parse(oneHundredAndThirtySeven), + OneHundredAndFortyFive$outboundSchema.parse(oneHundredAndFortyFive), ); } - -export function oneHundredAndThirtySevenFromJSON( +export function oneHundredAndFortyFiveFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndThirtySeven$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndThirtySeven' from JSON`, + (x) => OneHundredAndFortyFive$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndFortyFive' from JSON`, ); } /** @internal */ -export const OneHundredAndThirtySix$inboundSchema: z.ZodType< - OneHundredAndThirtySix, +export const OneHundredAndFortyFour$inboundSchema: z.ZodType< + OneHundredAndFortyFour, z.ZodTypeDef, unknown > = z.object({ - previousProjectName: z.string(), - newProjectName: z.string(), - destinationAccountName: z.string(), - transferId: z.string().optional(), + projectName: z.string(), + tags: z.array(z.string()), + target: z.string().optional(), }); - /** @internal */ -export type OneHundredAndThirtySix$Outbound = { - previousProjectName: string; - newProjectName: string; - destinationAccountName: string; - transferId?: string | undefined; +export type OneHundredAndFortyFour$Outbound = { + projectName: string; + tags: Array; + target?: string | undefined; }; /** @internal */ -export const OneHundredAndThirtySix$outboundSchema: z.ZodType< - OneHundredAndThirtySix$Outbound, +export const OneHundredAndFortyFour$outboundSchema: z.ZodType< + OneHundredAndFortyFour$Outbound, z.ZodTypeDef, - OneHundredAndThirtySix + OneHundredAndFortyFour > = z.object({ - previousProjectName: z.string(), - newProjectName: z.string(), - destinationAccountName: z.string(), - transferId: z.string().optional(), + projectName: z.string(), + tags: z.array(z.string()), + target: z.string().optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace OneHundredAndThirtySix$ { - /** @deprecated use `OneHundredAndThirtySix$inboundSchema` instead. */ - export const inboundSchema = OneHundredAndThirtySix$inboundSchema; - /** @deprecated use `OneHundredAndThirtySix$outboundSchema` instead. */ - export const outboundSchema = OneHundredAndThirtySix$outboundSchema; - /** @deprecated use `OneHundredAndThirtySix$Outbound` instead. */ - export type Outbound = OneHundredAndThirtySix$Outbound; -} - -export function oneHundredAndThirtySixToJSON( - oneHundredAndThirtySix: OneHundredAndThirtySix, +export function oneHundredAndFortyFourToJSON( + oneHundredAndFortyFour: OneHundredAndFortyFour, ): string { return JSON.stringify( - OneHundredAndThirtySix$outboundSchema.parse(oneHundredAndThirtySix), + OneHundredAndFortyFour$outboundSchema.parse(oneHundredAndFortyFour), ); } - -export function oneHundredAndThirtySixFromJSON( +export function oneHundredAndFortyFourFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndThirtySix$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndThirtySix' from JSON`, + (x) => OneHundredAndFortyFour$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndFortyFour' from JSON`, ); } /** @internal */ -export const OneHundredAndThirtyFive$inboundSchema: z.ZodType< - OneHundredAndThirtyFive, +export const UserEventPayload143Role$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload143Role +> = z.nativeEnum(UserEventPayload143Role); +/** @internal */ +export const UserEventPayload143Role$outboundSchema: z.ZodNativeEnum< + typeof UserEventPayload143Role +> = UserEventPayload143Role$inboundSchema; + +/** @internal */ +export const UserEventPayload143Project$inboundSchema: z.ZodType< + UserEventPayload143Project, z.ZodTypeDef, unknown > = z.object({ - projectName: z.string(), - destinationAccountName: z.nullable(z.string()), - transferId: z.string().optional(), + name: z.string(), + role: UserEventPayload143Role$inboundSchema, + invitedUserName: z.string(), + id: z.string().optional(), + invitedUserId: z.string().optional(), }); - /** @internal */ -export type OneHundredAndThirtyFive$Outbound = { - projectName: string; - destinationAccountName: string | null; - transferId?: string | undefined; +export type UserEventPayload143Project$Outbound = { + name: string; + role: string; + invitedUserName: string; + id?: string | undefined; + invitedUserId?: string | undefined; }; /** @internal */ -export const OneHundredAndThirtyFive$outboundSchema: z.ZodType< - OneHundredAndThirtyFive$Outbound, +export const UserEventPayload143Project$outboundSchema: z.ZodType< + UserEventPayload143Project$Outbound, z.ZodTypeDef, - OneHundredAndThirtyFive + UserEventPayload143Project > = z.object({ - projectName: z.string(), - destinationAccountName: z.nullable(z.string()), - transferId: z.string().optional(), + name: z.string(), + role: UserEventPayload143Role$outboundSchema, + invitedUserName: z.string(), + id: z.string().optional(), + invitedUserId: z.string().optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace OneHundredAndThirtyFive$ { - /** @deprecated use `OneHundredAndThirtyFive$inboundSchema` instead. */ - export const inboundSchema = OneHundredAndThirtyFive$inboundSchema; - /** @deprecated use `OneHundredAndThirtyFive$outboundSchema` instead. */ - export const outboundSchema = OneHundredAndThirtyFive$outboundSchema; - /** @deprecated use `OneHundredAndThirtyFive$Outbound` instead. */ - export type Outbound = OneHundredAndThirtyFive$Outbound; -} - -export function oneHundredAndThirtyFiveToJSON( - oneHundredAndThirtyFive: OneHundredAndThirtyFive, +export function userEventPayload143ProjectToJSON( + userEventPayload143Project: UserEventPayload143Project, ): string { return JSON.stringify( - OneHundredAndThirtyFive$outboundSchema.parse(oneHundredAndThirtyFive), + UserEventPayload143Project$outboundSchema.parse(userEventPayload143Project), ); } - -export function oneHundredAndThirtyFiveFromJSON( +export function userEventPayload143ProjectFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndThirtyFive$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndThirtyFive' from JSON`, + (x) => UserEventPayload143Project$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload143Project' from JSON`, ); } /** @internal */ -export const OneHundredAndThirtyFour$inboundSchema: z.ZodType< - OneHundredAndThirtyFour, +export const OneHundredAndFortyThree$inboundSchema: z.ZodType< + OneHundredAndFortyThree, z.ZodTypeDef, unknown > = z.object({ - projectId: z.string(), - projectName: z.string(), - originAccountName: z.string(), - destinationAccountName: z.string(), - destinationAccountId: z.string(), - transferId: z.string().optional(), + project: z.lazy(() => UserEventPayload143Project$inboundSchema), }); - /** @internal */ -export type OneHundredAndThirtyFour$Outbound = { - projectId: string; - projectName: string; - originAccountName: string; - destinationAccountName: string; - destinationAccountId: string; - transferId?: string | undefined; +export type OneHundredAndFortyThree$Outbound = { + project: UserEventPayload143Project$Outbound; }; /** @internal */ -export const OneHundredAndThirtyFour$outboundSchema: z.ZodType< - OneHundredAndThirtyFour$Outbound, +export const OneHundredAndFortyThree$outboundSchema: z.ZodType< + OneHundredAndFortyThree$Outbound, z.ZodTypeDef, - OneHundredAndThirtyFour + OneHundredAndFortyThree > = z.object({ - projectId: z.string(), - projectName: z.string(), - originAccountName: z.string(), - destinationAccountName: z.string(), - destinationAccountId: z.string(), - transferId: z.string().optional(), + project: z.lazy(() => UserEventPayload143Project$outboundSchema), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace OneHundredAndThirtyFour$ { - /** @deprecated use `OneHundredAndThirtyFour$inboundSchema` instead. */ - export const inboundSchema = OneHundredAndThirtyFour$inboundSchema; - /** @deprecated use `OneHundredAndThirtyFour$outboundSchema` instead. */ - export const outboundSchema = OneHundredAndThirtyFour$outboundSchema; - /** @deprecated use `OneHundredAndThirtyFour$Outbound` instead. */ - export type Outbound = OneHundredAndThirtyFour$Outbound; -} - -export function oneHundredAndThirtyFourToJSON( - oneHundredAndThirtyFour: OneHundredAndThirtyFour, +export function oneHundredAndFortyThreeToJSON( + oneHundredAndFortyThree: OneHundredAndFortyThree, ): string { return JSON.stringify( - OneHundredAndThirtyFour$outboundSchema.parse(oneHundredAndThirtyFour), + OneHundredAndFortyThree$outboundSchema.parse(oneHundredAndFortyThree), ); } - -export function oneHundredAndThirtyFourFromJSON( +export function oneHundredAndFortyThreeFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndThirtyFour$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndThirtyFour' from JSON`, + (x) => OneHundredAndFortyThree$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndFortyThree' from JSON`, ); } /** @internal */ -export const OneHundredAndThirtyThree$inboundSchema: z.ZodType< - OneHundredAndThirtyThree, +export const UserEventPayload142Project$inboundSchema: z.ZodType< + UserEventPayload142Project, z.ZodTypeDef, unknown > = z.object({ - requestedTeamName: z.string(), - requestedUserName: z.string().optional(), - gitUsername: z.string().optional(), - githubUsername: z.string().optional(), - gitlabUsername: z.string().optional(), - bitbucketUsername: z.string().optional(), + id: z.string(), + name: z.string(), }); - /** @internal */ -export type OneHundredAndThirtyThree$Outbound = { - requestedTeamName: string; - requestedUserName?: string | undefined; - gitUsername?: string | undefined; - githubUsername?: string | undefined; - gitlabUsername?: string | undefined; - bitbucketUsername?: string | undefined; +export type UserEventPayload142Project$Outbound = { + id: string; + name: string; }; /** @internal */ -export const OneHundredAndThirtyThree$outboundSchema: z.ZodType< - OneHundredAndThirtyThree$Outbound, +export const UserEventPayload142Project$outboundSchema: z.ZodType< + UserEventPayload142Project$Outbound, z.ZodTypeDef, - OneHundredAndThirtyThree + UserEventPayload142Project > = z.object({ - requestedTeamName: z.string(), - requestedUserName: z.string().optional(), - gitUsername: z.string().optional(), - githubUsername: z.string().optional(), - gitlabUsername: z.string().optional(), - bitbucketUsername: z.string().optional(), + id: z.string(), + 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 OneHundredAndThirtyThree$ { - /** @deprecated use `OneHundredAndThirtyThree$inboundSchema` instead. */ - export const inboundSchema = OneHundredAndThirtyThree$inboundSchema; - /** @deprecated use `OneHundredAndThirtyThree$outboundSchema` instead. */ - export const outboundSchema = OneHundredAndThirtyThree$outboundSchema; - /** @deprecated use `OneHundredAndThirtyThree$Outbound` instead. */ - export type Outbound = OneHundredAndThirtyThree$Outbound; -} - -export function oneHundredAndThirtyThreeToJSON( - oneHundredAndThirtyThree: OneHundredAndThirtyThree, +export function userEventPayload142ProjectToJSON( + userEventPayload142Project: UserEventPayload142Project, ): string { return JSON.stringify( - OneHundredAndThirtyThree$outboundSchema.parse(oneHundredAndThirtyThree), + UserEventPayload142Project$outboundSchema.parse(userEventPayload142Project), ); } - -export function oneHundredAndThirtyThreeFromJSON( +export function userEventPayload142ProjectFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndThirtyThree$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndThirtyThree' from JSON`, + (x) => UserEventPayload142Project$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload142Project' from JSON`, ); } /** @internal */ -export const OneHundredAndThirtyTwo$inboundSchema: z.ZodType< - OneHundredAndThirtyTwo, +export const UserEventPayload142Role$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload142Role +> = z.nativeEnum(UserEventPayload142Role); +/** @internal */ +export const UserEventPayload142Role$outboundSchema: z.ZodNativeEnum< + typeof UserEventPayload142Role +> = UserEventPayload142Role$inboundSchema; + +/** @internal */ +export const PayloadPreviousRole$inboundSchema: z.ZodNativeEnum< + typeof PayloadPreviousRole +> = z.nativeEnum(PayloadPreviousRole); +/** @internal */ +export const PayloadPreviousRole$outboundSchema: z.ZodNativeEnum< + typeof PayloadPreviousRole +> = PayloadPreviousRole$inboundSchema; + +/** @internal */ +export const PayloadProjectMembership$inboundSchema: z.ZodType< + PayloadProjectMembership, z.ZodTypeDef, unknown > = z.object({ - teamName: z.string(), + role: UserEventPayload142Role$inboundSchema.optional(), + uid: z.string().optional(), + createdAt: z.number().optional(), username: z.string().optional(), - gitUsername: z.nullable(z.string()).optional(), - githubUsername: z.nullable(z.string()).optional(), - gitlabUsername: z.nullable(z.string()).optional(), - bitbucketUsername: z.nullable(z.string()).optional(), + previousRole: PayloadPreviousRole$inboundSchema.optional(), }); - /** @internal */ -export type OneHundredAndThirtyTwo$Outbound = { - teamName: string; +export type PayloadProjectMembership$Outbound = { + role?: string | undefined; + uid?: string | undefined; + createdAt?: number | undefined; username?: string | undefined; - gitUsername?: string | null | undefined; - githubUsername?: string | null | undefined; - gitlabUsername?: string | null | undefined; - bitbucketUsername?: string | null | undefined; + previousRole?: string | undefined; }; /** @internal */ -export const OneHundredAndThirtyTwo$outboundSchema: z.ZodType< - OneHundredAndThirtyTwo$Outbound, +export const PayloadProjectMembership$outboundSchema: z.ZodType< + PayloadProjectMembership$Outbound, z.ZodTypeDef, - OneHundredAndThirtyTwo + PayloadProjectMembership > = z.object({ - teamName: z.string(), + role: UserEventPayload142Role$outboundSchema.optional(), + uid: z.string().optional(), + createdAt: z.number().optional(), username: z.string().optional(), - gitUsername: z.nullable(z.string()).optional(), - githubUsername: z.nullable(z.string()).optional(), - gitlabUsername: z.nullable(z.string()).optional(), - bitbucketUsername: z.nullable(z.string()).optional(), + previousRole: PayloadPreviousRole$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 OneHundredAndThirtyTwo$ { - /** @deprecated use `OneHundredAndThirtyTwo$inboundSchema` instead. */ - export const inboundSchema = OneHundredAndThirtyTwo$inboundSchema; - /** @deprecated use `OneHundredAndThirtyTwo$outboundSchema` instead. */ - export const outboundSchema = OneHundredAndThirtyTwo$outboundSchema; - /** @deprecated use `OneHundredAndThirtyTwo$Outbound` instead. */ - export type Outbound = OneHundredAndThirtyTwo$Outbound; -} - -export function oneHundredAndThirtyTwoToJSON( - oneHundredAndThirtyTwo: OneHundredAndThirtyTwo, +export function payloadProjectMembershipToJSON( + payloadProjectMembership: PayloadProjectMembership, ): string { return JSON.stringify( - OneHundredAndThirtyTwo$outboundSchema.parse(oneHundredAndThirtyTwo), + PayloadProjectMembership$outboundSchema.parse(payloadProjectMembership), ); } - -export function oneHundredAndThirtyTwoFromJSON( +export function payloadProjectMembershipFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndThirtyTwo$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndThirtyTwo' from JSON`, + (x) => PayloadProjectMembership$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PayloadProjectMembership' from JSON`, ); } /** @internal */ -export const OneHundredAndThirtyOne$inboundSchema: z.ZodType< - OneHundredAndThirtyOne, +export const OneHundredAndFortyTwo$inboundSchema: z.ZodType< + OneHundredAndFortyTwo, z.ZodTypeDef, unknown > = z.object({ - teamName: z.string(), - username: z.string().optional(), - gitUsername: z.string().optional(), - githubUsername: z.nullable(z.string()).optional(), - gitlabUsername: z.nullable(z.string()).optional(), - bitbucketUsername: z.nullable(z.string()).optional(), - updatedUid: z.string().optional(), - teamId: z.string().optional(), + project: z.lazy(() => UserEventPayload142Project$inboundSchema), + projectMembership: z.lazy(() => PayloadProjectMembership$inboundSchema), }); - /** @internal */ -export type OneHundredAndThirtyOne$Outbound = { - teamName: string; - username?: string | undefined; - gitUsername?: string | undefined; - githubUsername?: string | null | undefined; - gitlabUsername?: string | null | undefined; - bitbucketUsername?: string | null | undefined; - updatedUid?: string | undefined; - teamId?: string | undefined; +export type OneHundredAndFortyTwo$Outbound = { + project: UserEventPayload142Project$Outbound; + projectMembership: PayloadProjectMembership$Outbound; }; /** @internal */ -export const OneHundredAndThirtyOne$outboundSchema: z.ZodType< - OneHundredAndThirtyOne$Outbound, +export const OneHundredAndFortyTwo$outboundSchema: z.ZodType< + OneHundredAndFortyTwo$Outbound, z.ZodTypeDef, - OneHundredAndThirtyOne + OneHundredAndFortyTwo > = z.object({ - teamName: z.string(), - username: z.string().optional(), - gitUsername: z.string().optional(), - githubUsername: z.nullable(z.string()).optional(), - gitlabUsername: z.nullable(z.string()).optional(), - bitbucketUsername: z.nullable(z.string()).optional(), - updatedUid: z.string().optional(), - teamId: z.string().optional(), + project: z.lazy(() => UserEventPayload142Project$outboundSchema), + projectMembership: z.lazy(() => PayloadProjectMembership$outboundSchema), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace OneHundredAndThirtyOne$ { - /** @deprecated use `OneHundredAndThirtyOne$inboundSchema` instead. */ - export const inboundSchema = OneHundredAndThirtyOne$inboundSchema; - /** @deprecated use `OneHundredAndThirtyOne$outboundSchema` instead. */ - export const outboundSchema = OneHundredAndThirtyOne$outboundSchema; - /** @deprecated use `OneHundredAndThirtyOne$Outbound` instead. */ - export type Outbound = OneHundredAndThirtyOne$Outbound; -} - -export function oneHundredAndThirtyOneToJSON( - oneHundredAndThirtyOne: OneHundredAndThirtyOne, +export function oneHundredAndFortyTwoToJSON( + oneHundredAndFortyTwo: OneHundredAndFortyTwo, ): string { return JSON.stringify( - OneHundredAndThirtyOne$outboundSchema.parse(oneHundredAndThirtyOne), + OneHundredAndFortyTwo$outboundSchema.parse(oneHundredAndFortyTwo), ); } - -export function oneHundredAndThirtyOneFromJSON( +export function oneHundredAndFortyTwoFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndThirtyOne$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndThirtyOne' from JSON`, + (x) => OneHundredAndFortyTwo$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndFortyTwo' from JSON`, ); } /** @internal */ -export const OneHundredAndThirty$inboundSchema: z.ZodType< - OneHundredAndThirty, +export const UserEventPayload141Project$inboundSchema: z.ZodType< + UserEventPayload141Project, z.ZodTypeDef, unknown > = z.object({ - price: z.number().optional(), - currency: z.string().optional(), + name: z.string(), + id: z.string().optional(), }); - /** @internal */ -export type OneHundredAndThirty$Outbound = { - price?: number | undefined; - currency?: string | undefined; +export type UserEventPayload141Project$Outbound = { + name: string; + id?: string | undefined; }; /** @internal */ -export const OneHundredAndThirty$outboundSchema: z.ZodType< - OneHundredAndThirty$Outbound, +export const UserEventPayload141Project$outboundSchema: z.ZodType< + UserEventPayload141Project$Outbound, z.ZodTypeDef, - OneHundredAndThirty + UserEventPayload141Project > = z.object({ - price: z.number().optional(), - currency: z.string().optional(), + name: z.string(), + id: z.string().optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace OneHundredAndThirty$ { - /** @deprecated use `OneHundredAndThirty$inboundSchema` instead. */ - export const inboundSchema = OneHundredAndThirty$inboundSchema; - /** @deprecated use `OneHundredAndThirty$outboundSchema` instead. */ - export const outboundSchema = OneHundredAndThirty$outboundSchema; - /** @deprecated use `OneHundredAndThirty$Outbound` instead. */ - export type Outbound = OneHundredAndThirty$Outbound; -} - -export function oneHundredAndThirtyToJSON( - oneHundredAndThirty: OneHundredAndThirty, +export function userEventPayload141ProjectToJSON( + userEventPayload141Project: UserEventPayload141Project, ): string { return JSON.stringify( - OneHundredAndThirty$outboundSchema.parse(oneHundredAndThirty), + UserEventPayload141Project$outboundSchema.parse(userEventPayload141Project), ); } - -export function oneHundredAndThirtyFromJSON( +export function userEventPayload141ProjectFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndThirty$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndThirty' from JSON`, + (x) => UserEventPayload141Project$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload141Project' from JSON`, ); } /** @internal */ -export const OneHundredAndTwentyNine$inboundSchema: z.ZodType< - OneHundredAndTwentyNine, +export const UserEventPayload141Role$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload141Role +> = z.nativeEnum(UserEventPayload141Role); +/** @internal */ +export const UserEventPayload141Role$outboundSchema: z.ZodNativeEnum< + typeof UserEventPayload141Role +> = UserEventPayload141Role$inboundSchema; + +/** @internal */ +export const RemovedMembership$inboundSchema: z.ZodType< + RemovedMembership, z.ZodTypeDef, unknown > = z.object({ - previewDeploymentSuffix: z.nullable(z.string()).optional(), - previousPreviewDeploymentSuffix: z.nullable(z.string()).optional(), + role: UserEventPayload141Role$inboundSchema, + uid: z.string(), + createdAt: z.number(), + username: z.string().optional(), }); - /** @internal */ -export type OneHundredAndTwentyNine$Outbound = { - previewDeploymentSuffix?: string | null | undefined; - previousPreviewDeploymentSuffix?: string | null | undefined; +export type RemovedMembership$Outbound = { + role: string; + uid: string; + createdAt: number; + username?: string | undefined; }; /** @internal */ -export const OneHundredAndTwentyNine$outboundSchema: z.ZodType< - OneHundredAndTwentyNine$Outbound, +export const RemovedMembership$outboundSchema: z.ZodType< + RemovedMembership$Outbound, z.ZodTypeDef, - OneHundredAndTwentyNine + RemovedMembership > = z.object({ - previewDeploymentSuffix: z.nullable(z.string()).optional(), - previousPreviewDeploymentSuffix: z.nullable(z.string()).optional(), + role: UserEventPayload141Role$outboundSchema, + uid: z.string(), + createdAt: z.number(), + 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 OneHundredAndTwentyNine$ { - /** @deprecated use `OneHundredAndTwentyNine$inboundSchema` instead. */ - export const inboundSchema = OneHundredAndTwentyNine$inboundSchema; - /** @deprecated use `OneHundredAndTwentyNine$outboundSchema` instead. */ - export const outboundSchema = OneHundredAndTwentyNine$outboundSchema; - /** @deprecated use `OneHundredAndTwentyNine$Outbound` instead. */ - export type Outbound = OneHundredAndTwentyNine$Outbound; -} - -export function oneHundredAndTwentyNineToJSON( - oneHundredAndTwentyNine: OneHundredAndTwentyNine, +export function removedMembershipToJSON( + removedMembership: RemovedMembership, ): string { return JSON.stringify( - OneHundredAndTwentyNine$outboundSchema.parse(oneHundredAndTwentyNine), + RemovedMembership$outboundSchema.parse(removedMembership), ); } - -export function oneHundredAndTwentyNineFromJSON( +export function removedMembershipFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndTwentyNine$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndTwentyNine' from JSON`, + (x) => RemovedMembership$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'RemovedMembership' from JSON`, ); } /** @internal */ -export const OneHundredAndTwentyEight$inboundSchema: z.ZodType< - OneHundredAndTwentyEight, +export const OneHundredAndFortyOne$inboundSchema: z.ZodType< + OneHundredAndFortyOne, z.ZodTypeDef, unknown > = z.object({ - price: z.number().optional(), - currency: z.string().optional(), - enabled: z.boolean().optional(), + project: z.lazy(() => UserEventPayload141Project$inboundSchema), + removedMembership: z.lazy(() => RemovedMembership$inboundSchema), }); - /** @internal */ -export type OneHundredAndTwentyEight$Outbound = { - price?: number | undefined; - currency?: string | undefined; - enabled?: boolean | undefined; +export type OneHundredAndFortyOne$Outbound = { + project: UserEventPayload141Project$Outbound; + removedMembership: RemovedMembership$Outbound; }; /** @internal */ -export const OneHundredAndTwentyEight$outboundSchema: z.ZodType< - OneHundredAndTwentyEight$Outbound, +export const OneHundredAndFortyOne$outboundSchema: z.ZodType< + OneHundredAndFortyOne$Outbound, z.ZodTypeDef, - OneHundredAndTwentyEight + OneHundredAndFortyOne > = z.object({ - price: z.number().optional(), - currency: z.string().optional(), - enabled: z.boolean().optional(), + project: z.lazy(() => UserEventPayload141Project$outboundSchema), + removedMembership: z.lazy(() => RemovedMembership$outboundSchema), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace OneHundredAndTwentyEight$ { - /** @deprecated use `OneHundredAndTwentyEight$inboundSchema` instead. */ - export const inboundSchema = OneHundredAndTwentyEight$inboundSchema; - /** @deprecated use `OneHundredAndTwentyEight$outboundSchema` instead. */ - export const outboundSchema = OneHundredAndTwentyEight$outboundSchema; - /** @deprecated use `OneHundredAndTwentyEight$Outbound` instead. */ - export type Outbound = OneHundredAndTwentyEight$Outbound; -} - -export function oneHundredAndTwentyEightToJSON( - oneHundredAndTwentyEight: OneHundredAndTwentyEight, +export function oneHundredAndFortyOneToJSON( + oneHundredAndFortyOne: OneHundredAndFortyOne, ): string { return JSON.stringify( - OneHundredAndTwentyEight$outboundSchema.parse(oneHundredAndTwentyEight), + OneHundredAndFortyOne$outboundSchema.parse(oneHundredAndFortyOne), ); } - -export function oneHundredAndTwentyEightFromJSON( +export function oneHundredAndFortyOneFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndTwentyEight$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndTwentyEight' from JSON`, + (x) => OneHundredAndFortyOne$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndFortyOne' from JSON`, ); } /** @internal */ -export const OneHundredAndTwentySeven$inboundSchema: z.ZodType< - OneHundredAndTwentySeven, +export const UserEventPayload140Project$inboundSchema: z.ZodType< + UserEventPayload140Project, z.ZodTypeDef, unknown > = z.object({ - username: z.string(), + name: z.string(), + id: z.string().optional(), }); - /** @internal */ -export type OneHundredAndTwentySeven$Outbound = { - username: string; +export type UserEventPayload140Project$Outbound = { + name: string; + id?: string | undefined; }; /** @internal */ -export const OneHundredAndTwentySeven$outboundSchema: z.ZodType< - OneHundredAndTwentySeven$Outbound, +export const UserEventPayload140Project$outboundSchema: z.ZodType< + UserEventPayload140Project$Outbound, z.ZodTypeDef, - OneHundredAndTwentySeven + UserEventPayload140Project > = z.object({ - username: z.string(), + name: z.string(), + id: z.string().optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace OneHundredAndTwentySeven$ { - /** @deprecated use `OneHundredAndTwentySeven$inboundSchema` instead. */ - export const inboundSchema = OneHundredAndTwentySeven$inboundSchema; - /** @deprecated use `OneHundredAndTwentySeven$outboundSchema` instead. */ - export const outboundSchema = OneHundredAndTwentySeven$outboundSchema; - /** @deprecated use `OneHundredAndTwentySeven$Outbound` instead. */ - export type Outbound = OneHundredAndTwentySeven$Outbound; -} - -export function oneHundredAndTwentySevenToJSON( - oneHundredAndTwentySeven: OneHundredAndTwentySeven, +export function userEventPayload140ProjectToJSON( + userEventPayload140Project: UserEventPayload140Project, ): string { return JSON.stringify( - OneHundredAndTwentySeven$outboundSchema.parse(oneHundredAndTwentySeven), + UserEventPayload140Project$outboundSchema.parse(userEventPayload140Project), ); } - -export function oneHundredAndTwentySevenFromJSON( +export function userEventPayload140ProjectFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndTwentySeven$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndTwentySeven' from JSON`, + (x) => UserEventPayload140Project$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload140Project' from JSON`, ); } /** @internal */ -export const OneHundredAndTwentySix$inboundSchema: z.ZodType< - OneHundredAndTwentySix, +export const UserEventPayloadRole$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayloadRole +> = z.nativeEnum(UserEventPayloadRole); +/** @internal */ +export const UserEventPayloadRole$outboundSchema: z.ZodNativeEnum< + typeof UserEventPayloadRole +> = UserEventPayloadRole$inboundSchema; + +/** @internal */ +export const ProjectMembership$inboundSchema: z.ZodType< + ProjectMembership, z.ZodTypeDef, unknown > = z.object({ - email: z.string(), - prevEmail: z.string(), + role: UserEventPayloadRole$inboundSchema, + uid: z.string(), + createdAt: z.number(), + username: z.string().optional(), }); - /** @internal */ -export type OneHundredAndTwentySix$Outbound = { - email: string; - prevEmail: string; +export type ProjectMembership$Outbound = { + role: string; + uid: string; + createdAt: number; + username?: string | undefined; }; /** @internal */ -export const OneHundredAndTwentySix$outboundSchema: z.ZodType< - OneHundredAndTwentySix$Outbound, +export const ProjectMembership$outboundSchema: z.ZodType< + ProjectMembership$Outbound, z.ZodTypeDef, - OneHundredAndTwentySix + ProjectMembership > = z.object({ - email: z.string(), - prevEmail: z.string(), + role: UserEventPayloadRole$outboundSchema, + uid: z.string(), + createdAt: z.number(), + 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 OneHundredAndTwentySix$ { - /** @deprecated use `OneHundredAndTwentySix$inboundSchema` instead. */ - export const inboundSchema = OneHundredAndTwentySix$inboundSchema; - /** @deprecated use `OneHundredAndTwentySix$outboundSchema` instead. */ - export const outboundSchema = OneHundredAndTwentySix$outboundSchema; - /** @deprecated use `OneHundredAndTwentySix$Outbound` instead. */ - export type Outbound = OneHundredAndTwentySix$Outbound; -} - -export function oneHundredAndTwentySixToJSON( - oneHundredAndTwentySix: OneHundredAndTwentySix, +export function projectMembershipToJSON( + projectMembership: ProjectMembership, ): string { return JSON.stringify( - OneHundredAndTwentySix$outboundSchema.parse(oneHundredAndTwentySix), + ProjectMembership$outboundSchema.parse(projectMembership), ); } - -export function oneHundredAndTwentySixFromJSON( +export function projectMembershipFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndTwentySix$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndTwentySix' from JSON`, + (x) => ProjectMembership$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ProjectMembership' from JSON`, ); } /** @internal */ -export const OneHundredAndTwentyFive$inboundSchema: z.ZodType< - OneHundredAndTwentyFive, +export const OneHundredAndForty$inboundSchema: z.ZodType< + OneHundredAndForty, z.ZodTypeDef, unknown > = z.object({ - mfaEnabled: z.boolean(), + project: z.lazy(() => UserEventPayload140Project$inboundSchema), + projectMembership: z.nullable(z.lazy(() => ProjectMembership$inboundSchema)), }); - /** @internal */ -export type OneHundredAndTwentyFive$Outbound = { - mfaEnabled: boolean; +export type OneHundredAndForty$Outbound = { + project: UserEventPayload140Project$Outbound; + projectMembership: ProjectMembership$Outbound | null; }; /** @internal */ -export const OneHundredAndTwentyFive$outboundSchema: z.ZodType< - OneHundredAndTwentyFive$Outbound, +export const OneHundredAndForty$outboundSchema: z.ZodType< + OneHundredAndForty$Outbound, z.ZodTypeDef, - OneHundredAndTwentyFive + OneHundredAndForty > = z.object({ - mfaEnabled: z.boolean(), + project: z.lazy(() => UserEventPayload140Project$outboundSchema), + projectMembership: z.nullable(z.lazy(() => ProjectMembership$outboundSchema)), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace OneHundredAndTwentyFive$ { - /** @deprecated use `OneHundredAndTwentyFive$inboundSchema` instead. */ - export const inboundSchema = OneHundredAndTwentyFive$inboundSchema; - /** @deprecated use `OneHundredAndTwentyFive$outboundSchema` instead. */ - export const outboundSchema = OneHundredAndTwentyFive$outboundSchema; - /** @deprecated use `OneHundredAndTwentyFive$Outbound` instead. */ - export type Outbound = OneHundredAndTwentyFive$Outbound; -} - -export function oneHundredAndTwentyFiveToJSON( - oneHundredAndTwentyFive: OneHundredAndTwentyFive, +export function oneHundredAndFortyToJSON( + oneHundredAndForty: OneHundredAndForty, ): string { return JSON.stringify( - OneHundredAndTwentyFive$outboundSchema.parse(oneHundredAndTwentyFive), + OneHundredAndForty$outboundSchema.parse(oneHundredAndForty), ); } - -export function oneHundredAndTwentyFiveFromJSON( +export function oneHundredAndFortyFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndTwentyFive$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndTwentyFive' from JSON`, + (x) => OneHundredAndForty$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndForty' from JSON`, ); } /** @internal */ -export const OneHundredAndTwentyFour$inboundSchema: z.ZodType< - OneHundredAndTwentyFour, +export const OneHundredAndThirtyNine$inboundSchema: z.ZodType< + OneHundredAndThirtyNine, z.ZodTypeDef, unknown > = z.object({ - enabled: z.boolean(), - totpVerified: z.boolean(), + previousProjectName: z.string(), + newProjectName: z.string(), + originAccountName: z.string(), + transferId: z.string().optional(), }); - /** @internal */ -export type OneHundredAndTwentyFour$Outbound = { - enabled: boolean; - totpVerified: boolean; +export type OneHundredAndThirtyNine$Outbound = { + previousProjectName: string; + newProjectName: string; + originAccountName: string; + transferId?: string | undefined; }; /** @internal */ -export const OneHundredAndTwentyFour$outboundSchema: z.ZodType< - OneHundredAndTwentyFour$Outbound, +export const OneHundredAndThirtyNine$outboundSchema: z.ZodType< + OneHundredAndThirtyNine$Outbound, z.ZodTypeDef, - OneHundredAndTwentyFour + OneHundredAndThirtyNine > = z.object({ - enabled: z.boolean(), - totpVerified: z.boolean(), + previousProjectName: z.string(), + newProjectName: z.string(), + originAccountName: z.string(), + transferId: z.string().optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace OneHundredAndTwentyFour$ { - /** @deprecated use `OneHundredAndTwentyFour$inboundSchema` instead. */ - export const inboundSchema = OneHundredAndTwentyFour$inboundSchema; - /** @deprecated use `OneHundredAndTwentyFour$outboundSchema` instead. */ - export const outboundSchema = OneHundredAndTwentyFour$outboundSchema; - /** @deprecated use `OneHundredAndTwentyFour$Outbound` instead. */ - export type Outbound = OneHundredAndTwentyFour$Outbound; -} - -export function oneHundredAndTwentyFourToJSON( - oneHundredAndTwentyFour: OneHundredAndTwentyFour, +export function oneHundredAndThirtyNineToJSON( + oneHundredAndThirtyNine: OneHundredAndThirtyNine, ): string { return JSON.stringify( - OneHundredAndTwentyFour$outboundSchema.parse(oneHundredAndTwentyFour), + OneHundredAndThirtyNine$outboundSchema.parse(oneHundredAndThirtyNine), ); } - -export function oneHundredAndTwentyFourFromJSON( +export function oneHundredAndThirtyNineFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndTwentyFour$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndTwentyFour' from JSON`, + (x) => OneHundredAndThirtyNine$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndThirtyNine' from JSON`, ); } /** @internal */ -export const PayloadPrevious$inboundSchema: z.ZodType< - PayloadPrevious, +export const OneHundredAndThirtyEight$inboundSchema: z.ZodType< + OneHundredAndThirtyEight, z.ZodTypeDef, unknown > = z.object({ - enabled: z.boolean(), - totpVerified: z.boolean(), + previousProjectName: z.string(), + newProjectName: z.string(), + destinationAccountName: z.string(), + transferId: z.string().optional(), }); - /** @internal */ -export type PayloadPrevious$Outbound = { - enabled: boolean; - totpVerified: boolean; +export type OneHundredAndThirtyEight$Outbound = { + previousProjectName: string; + newProjectName: string; + destinationAccountName: string; + transferId?: string | undefined; }; /** @internal */ -export const PayloadPrevious$outboundSchema: z.ZodType< - PayloadPrevious$Outbound, +export const OneHundredAndThirtyEight$outboundSchema: z.ZodType< + OneHundredAndThirtyEight$Outbound, z.ZodTypeDef, - PayloadPrevious + OneHundredAndThirtyEight > = z.object({ - enabled: z.boolean(), - totpVerified: 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 PayloadPrevious$ { - /** @deprecated use `PayloadPrevious$inboundSchema` instead. */ - export const inboundSchema = PayloadPrevious$inboundSchema; - /** @deprecated use `PayloadPrevious$outboundSchema` instead. */ - export const outboundSchema = PayloadPrevious$outboundSchema; - /** @deprecated use `PayloadPrevious$Outbound` instead. */ - export type Outbound = PayloadPrevious$Outbound; -} + previousProjectName: z.string(), + newProjectName: z.string(), + destinationAccountName: z.string(), + transferId: z.string().optional(), +}); -export function payloadPreviousToJSON( - payloadPrevious: PayloadPrevious, +export function oneHundredAndThirtyEightToJSON( + oneHundredAndThirtyEight: OneHundredAndThirtyEight, ): string { - return JSON.stringify(PayloadPrevious$outboundSchema.parse(payloadPrevious)); + return JSON.stringify( + OneHundredAndThirtyEight$outboundSchema.parse(oneHundredAndThirtyEight), + ); } - -export function payloadPreviousFromJSON( +export function oneHundredAndThirtyEightFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => PayloadPrevious$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'PayloadPrevious' from JSON`, + (x) => OneHundredAndThirtyEight$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndThirtyEight' from JSON`, ); } /** @internal */ -export const PayloadNext$inboundSchema: z.ZodType< - PayloadNext, +export const OneHundredAndThirtySeven$inboundSchema: z.ZodType< + OneHundredAndThirtySeven, z.ZodTypeDef, unknown > = z.object({ - enabled: z.boolean(), - totpVerified: z.boolean(), + projectName: z.string(), + destinationAccountName: z.nullable(z.string()), + transferId: z.string().optional(), }); - /** @internal */ -export type PayloadNext$Outbound = { - enabled: boolean; - totpVerified: boolean; +export type OneHundredAndThirtySeven$Outbound = { + projectName: string; + destinationAccountName: string | null; + transferId?: string | undefined; }; /** @internal */ -export const PayloadNext$outboundSchema: z.ZodType< - PayloadNext$Outbound, +export const OneHundredAndThirtySeven$outboundSchema: z.ZodType< + OneHundredAndThirtySeven$Outbound, z.ZodTypeDef, - PayloadNext + OneHundredAndThirtySeven > = z.object({ - enabled: z.boolean(), - totpVerified: z.boolean(), + projectName: z.string(), + destinationAccountName: z.nullable(z.string()), + transferId: z.string().optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PayloadNext$ { - /** @deprecated use `PayloadNext$inboundSchema` instead. */ - export const inboundSchema = PayloadNext$inboundSchema; - /** @deprecated use `PayloadNext$outboundSchema` instead. */ - export const outboundSchema = PayloadNext$outboundSchema; - /** @deprecated use `PayloadNext$Outbound` instead. */ - export type Outbound = PayloadNext$Outbound; -} - -export function payloadNextToJSON(payloadNext: PayloadNext): string { - return JSON.stringify(PayloadNext$outboundSchema.parse(payloadNext)); +export function oneHundredAndThirtySevenToJSON( + oneHundredAndThirtySeven: OneHundredAndThirtySeven, +): string { + return JSON.stringify( + OneHundredAndThirtySeven$outboundSchema.parse(oneHundredAndThirtySeven), + ); } - -export function payloadNextFromJSON( +export function oneHundredAndThirtySevenFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => PayloadNext$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'PayloadNext' from JSON`, + (x) => OneHundredAndThirtySeven$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndThirtySeven' from JSON`, ); } /** @internal */ -export const OneHundredAndTwentyThree$inboundSchema: z.ZodType< - OneHundredAndTwentyThree, +export const OneHundredAndThirtySix$inboundSchema: z.ZodType< + OneHundredAndThirtySix, z.ZodTypeDef, unknown > = z.object({ - previous: z.lazy(() => PayloadPrevious$inboundSchema), - next: z.lazy(() => PayloadNext$inboundSchema), + projectId: z.string(), + projectName: z.string(), + originAccountName: z.string(), + destinationAccountName: z.string(), + destinationAccountId: z.string(), + transferId: z.string().optional(), }); - /** @internal */ -export type OneHundredAndTwentyThree$Outbound = { - previous: PayloadPrevious$Outbound; - next: PayloadNext$Outbound; +export type OneHundredAndThirtySix$Outbound = { + projectId: string; + projectName: string; + originAccountName: string; + destinationAccountName: string; + destinationAccountId: string; + transferId?: string | undefined; }; /** @internal */ -export const OneHundredAndTwentyThree$outboundSchema: z.ZodType< - OneHundredAndTwentyThree$Outbound, +export const OneHundredAndThirtySix$outboundSchema: z.ZodType< + OneHundredAndThirtySix$Outbound, z.ZodTypeDef, - OneHundredAndTwentyThree + OneHundredAndThirtySix > = z.object({ - previous: z.lazy(() => PayloadPrevious$outboundSchema), - next: z.lazy(() => PayloadNext$outboundSchema), + projectId: z.string(), + projectName: z.string(), + originAccountName: z.string(), + destinationAccountName: z.string(), + destinationAccountId: z.string(), + transferId: z.string().optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace OneHundredAndTwentyThree$ { - /** @deprecated use `OneHundredAndTwentyThree$inboundSchema` instead. */ - export const inboundSchema = OneHundredAndTwentyThree$inboundSchema; - /** @deprecated use `OneHundredAndTwentyThree$outboundSchema` instead. */ - export const outboundSchema = OneHundredAndTwentyThree$outboundSchema; - /** @deprecated use `OneHundredAndTwentyThree$Outbound` instead. */ - export type Outbound = OneHundredAndTwentyThree$Outbound; -} - -export function oneHundredAndTwentyThreeToJSON( - oneHundredAndTwentyThree: OneHundredAndTwentyThree, +export function oneHundredAndThirtySixToJSON( + oneHundredAndThirtySix: OneHundredAndThirtySix, ): string { return JSON.stringify( - OneHundredAndTwentyThree$outboundSchema.parse(oneHundredAndTwentyThree), + OneHundredAndThirtySix$outboundSchema.parse(oneHundredAndThirtySix), ); } - -export function oneHundredAndTwentyThreeFromJSON( +export function oneHundredAndThirtySixFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndTwentyThree$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndTwentyThree' from JSON`, + (x) => OneHundredAndThirtySix$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndThirtySix' from JSON`, ); } /** @internal */ -export const PayloadRemoteCaching$inboundSchema: z.ZodType< - PayloadRemoteCaching, +export const OneHundredAndThirtyFive$inboundSchema: z.ZodType< + OneHundredAndThirtyFive, z.ZodTypeDef, unknown > = z.object({ - enabled: z.boolean().optional(), + requestedTeamName: z.string(), + requestedUserName: z.string().optional(), + gitUsername: z.string().optional(), + githubUsername: z.string().optional(), + gitlabUsername: z.string().optional(), + bitbucketUsername: z.string().optional(), }); - /** @internal */ -export type PayloadRemoteCaching$Outbound = { - enabled?: boolean | undefined; +export type OneHundredAndThirtyFive$Outbound = { + requestedTeamName: string; + requestedUserName?: string | undefined; + gitUsername?: string | undefined; + githubUsername?: string | undefined; + gitlabUsername?: string | undefined; + bitbucketUsername?: string | undefined; }; /** @internal */ -export const PayloadRemoteCaching$outboundSchema: z.ZodType< - PayloadRemoteCaching$Outbound, +export const OneHundredAndThirtyFive$outboundSchema: z.ZodType< + OneHundredAndThirtyFive$Outbound, z.ZodTypeDef, - PayloadRemoteCaching + OneHundredAndThirtyFive > = z.object({ - enabled: z.boolean().optional(), + requestedTeamName: z.string(), + requestedUserName: z.string().optional(), + gitUsername: z.string().optional(), + githubUsername: z.string().optional(), + gitlabUsername: z.string().optional(), + bitbucketUsername: z.string().optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PayloadRemoteCaching$ { - /** @deprecated use `PayloadRemoteCaching$inboundSchema` instead. */ - export const inboundSchema = PayloadRemoteCaching$inboundSchema; - /** @deprecated use `PayloadRemoteCaching$outboundSchema` instead. */ - export const outboundSchema = PayloadRemoteCaching$outboundSchema; - /** @deprecated use `PayloadRemoteCaching$Outbound` instead. */ - export type Outbound = PayloadRemoteCaching$Outbound; -} - -export function payloadRemoteCachingToJSON( - payloadRemoteCaching: PayloadRemoteCaching, +export function oneHundredAndThirtyFiveToJSON( + oneHundredAndThirtyFive: OneHundredAndThirtyFive, ): string { return JSON.stringify( - PayloadRemoteCaching$outboundSchema.parse(payloadRemoteCaching), + OneHundredAndThirtyFive$outboundSchema.parse(oneHundredAndThirtyFive), ); } - -export function payloadRemoteCachingFromJSON( +export function oneHundredAndThirtyFiveFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => PayloadRemoteCaching$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'PayloadRemoteCaching' from JSON`, + (x) => OneHundredAndThirtyFive$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndThirtyFive' from JSON`, ); } /** @internal */ -export const OneHundredAndTwentyTwo$inboundSchema: z.ZodType< - OneHundredAndTwentyTwo, +export const OneHundredAndThirtyFour$inboundSchema: z.ZodType< + OneHundredAndThirtyFour, z.ZodTypeDef, unknown > = z.object({ - remoteCaching: z.lazy(() => PayloadRemoteCaching$inboundSchema).optional(), + teamName: z.string(), + username: z.string().optional(), + gitUsername: z.nullable(z.string()).optional(), + githubUsername: z.nullable(z.string()).optional(), + gitlabUsername: z.nullable(z.string()).optional(), + bitbucketUsername: z.nullable(z.string()).optional(), }); - /** @internal */ -export type OneHundredAndTwentyTwo$Outbound = { - remoteCaching?: PayloadRemoteCaching$Outbound | undefined; +export type OneHundredAndThirtyFour$Outbound = { + teamName: string; + username?: string | undefined; + gitUsername?: string | null | undefined; + githubUsername?: string | null | undefined; + gitlabUsername?: string | null | undefined; + bitbucketUsername?: string | null | undefined; }; /** @internal */ -export const OneHundredAndTwentyTwo$outboundSchema: z.ZodType< - OneHundredAndTwentyTwo$Outbound, +export const OneHundredAndThirtyFour$outboundSchema: z.ZodType< + OneHundredAndThirtyFour$Outbound, z.ZodTypeDef, - OneHundredAndTwentyTwo + OneHundredAndThirtyFour > = z.object({ - remoteCaching: z.lazy(() => PayloadRemoteCaching$outboundSchema).optional(), + teamName: z.string(), + username: z.string().optional(), + gitUsername: z.nullable(z.string()).optional(), + githubUsername: z.nullable(z.string()).optional(), + gitlabUsername: z.nullable(z.string()).optional(), + bitbucketUsername: 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 OneHundredAndTwentyTwo$ { - /** @deprecated use `OneHundredAndTwentyTwo$inboundSchema` instead. */ - export const inboundSchema = OneHundredAndTwentyTwo$inboundSchema; - /** @deprecated use `OneHundredAndTwentyTwo$outboundSchema` instead. */ - export const outboundSchema = OneHundredAndTwentyTwo$outboundSchema; - /** @deprecated use `OneHundredAndTwentyTwo$Outbound` instead. */ - export type Outbound = OneHundredAndTwentyTwo$Outbound; -} - -export function oneHundredAndTwentyTwoToJSON( - oneHundredAndTwentyTwo: OneHundredAndTwentyTwo, +export function oneHundredAndThirtyFourToJSON( + oneHundredAndThirtyFour: OneHundredAndThirtyFour, ): string { return JSON.stringify( - OneHundredAndTwentyTwo$outboundSchema.parse(oneHundredAndTwentyTwo), + OneHundredAndThirtyFour$outboundSchema.parse(oneHundredAndThirtyFour), ); } - -export function oneHundredAndTwentyTwoFromJSON( +export function oneHundredAndThirtyFourFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndTwentyTwo$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndTwentyTwo' from JSON`, + (x) => OneHundredAndThirtyFour$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndThirtyFour' from JSON`, ); } /** @internal */ -export const OneHundredAndTwentyOne$inboundSchema: z.ZodType< - OneHundredAndTwentyOne, +export const OneHundredAndThirtyThree$inboundSchema: z.ZodType< + OneHundredAndThirtyThree, z.ZodTypeDef, unknown > = z.object({ - slug: z.string().optional(), + teamName: z.string(), + username: z.string().optional(), + gitUsername: z.string().optional(), + githubUsername: z.nullable(z.string()).optional(), + gitlabUsername: z.nullable(z.string()).optional(), + bitbucketUsername: z.nullable(z.string()).optional(), + updatedUid: z.string().optional(), + teamId: z.string().optional(), }); - -/** @internal */ -export type OneHundredAndTwentyOne$Outbound = { - slug?: string | undefined; -}; - /** @internal */ -export const OneHundredAndTwentyOne$outboundSchema: z.ZodType< - OneHundredAndTwentyOne$Outbound, +export type OneHundredAndThirtyThree$Outbound = { + teamName: string; + username?: string | undefined; + gitUsername?: string | undefined; + githubUsername?: string | null | undefined; + gitlabUsername?: string | null | undefined; + bitbucketUsername?: string | null | undefined; + updatedUid?: string | undefined; + teamId?: string | undefined; +}; + +/** @internal */ +export const OneHundredAndThirtyThree$outboundSchema: z.ZodType< + OneHundredAndThirtyThree$Outbound, z.ZodTypeDef, - OneHundredAndTwentyOne + OneHundredAndThirtyThree > = z.object({ - slug: z.string().optional(), + teamName: z.string(), + username: z.string().optional(), + gitUsername: z.string().optional(), + githubUsername: z.nullable(z.string()).optional(), + gitlabUsername: z.nullable(z.string()).optional(), + bitbucketUsername: z.nullable(z.string()).optional(), + updatedUid: z.string().optional(), + teamId: z.string().optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace OneHundredAndTwentyOne$ { - /** @deprecated use `OneHundredAndTwentyOne$inboundSchema` instead. */ - export const inboundSchema = OneHundredAndTwentyOne$inboundSchema; - /** @deprecated use `OneHundredAndTwentyOne$outboundSchema` instead. */ - export const outboundSchema = OneHundredAndTwentyOne$outboundSchema; - /** @deprecated use `OneHundredAndTwentyOne$Outbound` instead. */ - export type Outbound = OneHundredAndTwentyOne$Outbound; -} - -export function oneHundredAndTwentyOneToJSON( - oneHundredAndTwentyOne: OneHundredAndTwentyOne, +export function oneHundredAndThirtyThreeToJSON( + oneHundredAndThirtyThree: OneHundredAndThirtyThree, ): string { return JSON.stringify( - OneHundredAndTwentyOne$outboundSchema.parse(oneHundredAndTwentyOne), + OneHundredAndThirtyThree$outboundSchema.parse(oneHundredAndThirtyThree), ); } - -export function oneHundredAndTwentyOneFromJSON( +export function oneHundredAndThirtyThreeFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndTwentyOne$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndTwentyOne' from JSON`, + (x) => OneHundredAndThirtyThree$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndThirtyThree' from JSON`, ); } /** @internal */ -export const OneHundredAndTwenty$inboundSchema: z.ZodType< - OneHundredAndTwenty, +export const OneHundredAndThirtyTwo$inboundSchema: z.ZodType< + OneHundredAndThirtyTwo, z.ZodTypeDef, unknown > = z.object({ - name: z.string().optional(), + price: z.number().optional(), + currency: z.string().optional(), }); - /** @internal */ -export type OneHundredAndTwenty$Outbound = { - name?: string | undefined; +export type OneHundredAndThirtyTwo$Outbound = { + price?: number | undefined; + currency?: string | undefined; }; /** @internal */ -export const OneHundredAndTwenty$outboundSchema: z.ZodType< - OneHundredAndTwenty$Outbound, +export const OneHundredAndThirtyTwo$outboundSchema: z.ZodType< + OneHundredAndThirtyTwo$Outbound, z.ZodTypeDef, - OneHundredAndTwenty + OneHundredAndThirtyTwo > = z.object({ - name: z.string().optional(), + price: z.number().optional(), + currency: z.string().optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace OneHundredAndTwenty$ { - /** @deprecated use `OneHundredAndTwenty$inboundSchema` instead. */ - export const inboundSchema = OneHundredAndTwenty$inboundSchema; - /** @deprecated use `OneHundredAndTwenty$outboundSchema` instead. */ - export const outboundSchema = OneHundredAndTwenty$outboundSchema; - /** @deprecated use `OneHundredAndTwenty$Outbound` instead. */ - export type Outbound = OneHundredAndTwenty$Outbound; -} - -export function oneHundredAndTwentyToJSON( - oneHundredAndTwenty: OneHundredAndTwenty, +export function oneHundredAndThirtyTwoToJSON( + oneHundredAndThirtyTwo: OneHundredAndThirtyTwo, ): string { return JSON.stringify( - OneHundredAndTwenty$outboundSchema.parse(oneHundredAndTwenty), + OneHundredAndThirtyTwo$outboundSchema.parse(oneHundredAndThirtyTwo), ); } - -export function oneHundredAndTwentyFromJSON( +export function oneHundredAndThirtyTwoFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndTwenty$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndTwenty' from JSON`, + (x) => OneHundredAndThirtyTwo$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndThirtyTwo' from JSON`, ); } /** @internal */ -export const OneHundredAndNineteen$inboundSchema: z.ZodType< - OneHundredAndNineteen, +export const OneHundredAndThirtyOne$inboundSchema: z.ZodType< + OneHundredAndThirtyOne, z.ZodTypeDef, unknown > = z.object({ - enforced: z.boolean(), + previewDeploymentSuffix: z.nullable(z.string()).optional(), + previousPreviewDeploymentSuffix: z.nullable(z.string()).optional(), }); - /** @internal */ -export type OneHundredAndNineteen$Outbound = { - enforced: boolean; +export type OneHundredAndThirtyOne$Outbound = { + previewDeploymentSuffix?: string | null | undefined; + previousPreviewDeploymentSuffix?: string | null | undefined; }; /** @internal */ -export const OneHundredAndNineteen$outboundSchema: z.ZodType< - OneHundredAndNineteen$Outbound, +export const OneHundredAndThirtyOne$outboundSchema: z.ZodType< + OneHundredAndThirtyOne$Outbound, z.ZodTypeDef, - OneHundredAndNineteen + OneHundredAndThirtyOne > = z.object({ - enforced: z.boolean(), + previewDeploymentSuffix: z.nullable(z.string()).optional(), + previousPreviewDeploymentSuffix: 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 OneHundredAndNineteen$ { - /** @deprecated use `OneHundredAndNineteen$inboundSchema` instead. */ - export const inboundSchema = OneHundredAndNineteen$inboundSchema; - /** @deprecated use `OneHundredAndNineteen$outboundSchema` instead. */ - export const outboundSchema = OneHundredAndNineteen$outboundSchema; - /** @deprecated use `OneHundredAndNineteen$Outbound` instead. */ - export type Outbound = OneHundredAndNineteen$Outbound; -} - -export function oneHundredAndNineteenToJSON( - oneHundredAndNineteen: OneHundredAndNineteen, +export function oneHundredAndThirtyOneToJSON( + oneHundredAndThirtyOne: OneHundredAndThirtyOne, ): string { return JSON.stringify( - OneHundredAndNineteen$outboundSchema.parse(oneHundredAndNineteen), + OneHundredAndThirtyOne$outboundSchema.parse(oneHundredAndThirtyOne), ); } - -export function oneHundredAndNineteenFromJSON( +export function oneHundredAndThirtyOneFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndNineteen$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndNineteen' from JSON`, + (x) => OneHundredAndThirtyOne$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndThirtyOne' from JSON`, ); } /** @internal */ -export const UserEventPayload118User$inboundSchema: z.ZodType< - UserEventPayload118User, +export const OneHundredAndThirty$inboundSchema: z.ZodType< + OneHundredAndThirty, z.ZodTypeDef, unknown > = z.object({ - id: z.string(), - username: z.string(), + price: z.number().optional(), + currency: z.string().optional(), + enabled: z.boolean().optional(), }); - /** @internal */ -export type UserEventPayload118User$Outbound = { - id: string; - username: string; +export type OneHundredAndThirty$Outbound = { + price?: number | undefined; + currency?: string | undefined; + enabled?: boolean | undefined; }; /** @internal */ -export const UserEventPayload118User$outboundSchema: z.ZodType< - UserEventPayload118User$Outbound, +export const OneHundredAndThirty$outboundSchema: z.ZodType< + OneHundredAndThirty$Outbound, z.ZodTypeDef, - UserEventPayload118User + OneHundredAndThirty > = z.object({ - id: z.string(), - username: z.string(), + price: z.number().optional(), + currency: z.string().optional(), + 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 UserEventPayload118User$ { - /** @deprecated use `UserEventPayload118User$inboundSchema` instead. */ - export const inboundSchema = UserEventPayload118User$inboundSchema; - /** @deprecated use `UserEventPayload118User$outboundSchema` instead. */ - export const outboundSchema = UserEventPayload118User$outboundSchema; - /** @deprecated use `UserEventPayload118User$Outbound` instead. */ - export type Outbound = UserEventPayload118User$Outbound; -} - -export function userEventPayload118UserToJSON( - userEventPayload118User: UserEventPayload118User, +export function oneHundredAndThirtyToJSON( + oneHundredAndThirty: OneHundredAndThirty, ): string { return JSON.stringify( - UserEventPayload118User$outboundSchema.parse(userEventPayload118User), + OneHundredAndThirty$outboundSchema.parse(oneHundredAndThirty), ); } - -export function userEventPayload118UserFromJSON( +export function oneHundredAndThirtyFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload118User$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload118User' from JSON`, + (x) => OneHundredAndThirty$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndThirty' from JSON`, ); } /** @internal */ -export const OneHundredAndEighteen$inboundSchema: z.ZodType< - OneHundredAndEighteen, +export const OneHundredAndTwentyNine$inboundSchema: z.ZodType< + OneHundredAndTwentyNine, z.ZodTypeDef, unknown > = z.object({ - entitlement: z.string(), - user: z.lazy(() => UserEventPayload118User$inboundSchema), - previousCanceledAt: z.string().optional(), + username: z.string(), }); - /** @internal */ -export type OneHundredAndEighteen$Outbound = { - entitlement: string; - user: UserEventPayload118User$Outbound; - previousCanceledAt?: string | undefined; +export type OneHundredAndTwentyNine$Outbound = { + username: string; }; /** @internal */ -export const OneHundredAndEighteen$outboundSchema: z.ZodType< - OneHundredAndEighteen$Outbound, +export const OneHundredAndTwentyNine$outboundSchema: z.ZodType< + OneHundredAndTwentyNine$Outbound, z.ZodTypeDef, - OneHundredAndEighteen + OneHundredAndTwentyNine > = z.object({ - entitlement: z.string(), - user: z.lazy(() => UserEventPayload118User$outboundSchema), - previousCanceledAt: z.string().optional(), + 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 OneHundredAndEighteen$ { - /** @deprecated use `OneHundredAndEighteen$inboundSchema` instead. */ - export const inboundSchema = OneHundredAndEighteen$inboundSchema; - /** @deprecated use `OneHundredAndEighteen$outboundSchema` instead. */ - export const outboundSchema = OneHundredAndEighteen$outboundSchema; - /** @deprecated use `OneHundredAndEighteen$Outbound` instead. */ - export type Outbound = OneHundredAndEighteen$Outbound; -} - -export function oneHundredAndEighteenToJSON( - oneHundredAndEighteen: OneHundredAndEighteen, +export function oneHundredAndTwentyNineToJSON( + oneHundredAndTwentyNine: OneHundredAndTwentyNine, ): string { return JSON.stringify( - OneHundredAndEighteen$outboundSchema.parse(oneHundredAndEighteen), + OneHundredAndTwentyNine$outboundSchema.parse(oneHundredAndTwentyNine), ); } - -export function oneHundredAndEighteenFromJSON( +export function oneHundredAndTwentyNineFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndEighteen$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndEighteen' from JSON`, + (x) => OneHundredAndTwentyNine$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndTwentyNine' from JSON`, ); } /** @internal */ -export const UserEventPayloadUser$inboundSchema: z.ZodType< - UserEventPayloadUser, +export const OneHundredAndTwentyEight$inboundSchema: z.ZodType< + OneHundredAndTwentyEight, z.ZodTypeDef, unknown > = z.object({ - id: z.string(), - username: z.string(), + email: z.string(), + prevEmail: z.string(), }); - /** @internal */ -export type UserEventPayloadUser$Outbound = { - id: string; - username: string; +export type OneHundredAndTwentyEight$Outbound = { + email: string; + prevEmail: string; }; /** @internal */ -export const UserEventPayloadUser$outboundSchema: z.ZodType< - UserEventPayloadUser$Outbound, +export const OneHundredAndTwentyEight$outboundSchema: z.ZodType< + OneHundredAndTwentyEight$Outbound, z.ZodTypeDef, - UserEventPayloadUser + OneHundredAndTwentyEight > = z.object({ - id: z.string(), - username: z.string(), + email: z.string(), + prevEmail: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UserEventPayloadUser$ { - /** @deprecated use `UserEventPayloadUser$inboundSchema` instead. */ - export const inboundSchema = UserEventPayloadUser$inboundSchema; - /** @deprecated use `UserEventPayloadUser$outboundSchema` instead. */ - export const outboundSchema = UserEventPayloadUser$outboundSchema; - /** @deprecated use `UserEventPayloadUser$Outbound` instead. */ - export type Outbound = UserEventPayloadUser$Outbound; -} - -export function userEventPayloadUserToJSON( - userEventPayloadUser: UserEventPayloadUser, +export function oneHundredAndTwentyEightToJSON( + oneHundredAndTwentyEight: OneHundredAndTwentyEight, ): string { return JSON.stringify( - UserEventPayloadUser$outboundSchema.parse(userEventPayloadUser), + OneHundredAndTwentyEight$outboundSchema.parse(oneHundredAndTwentyEight), ); } - -export function userEventPayloadUserFromJSON( +export function oneHundredAndTwentyEightFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayloadUser$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayloadUser' from JSON`, + (x) => OneHundredAndTwentyEight$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndTwentyEight' from JSON`, ); } /** @internal */ -export const OneHundredAndSeventeen$inboundSchema: z.ZodType< - OneHundredAndSeventeen, +export const OneHundredAndTwentySeven$inboundSchema: z.ZodType< + OneHundredAndTwentySeven, z.ZodTypeDef, unknown > = z.object({ - entitlement: z.string(), - user: z.lazy(() => UserEventPayloadUser$inboundSchema), + mfaEnabled: z.boolean(), }); - /** @internal */ -export type OneHundredAndSeventeen$Outbound = { - entitlement: string; - user: UserEventPayloadUser$Outbound; +export type OneHundredAndTwentySeven$Outbound = { + mfaEnabled: boolean; }; /** @internal */ -export const OneHundredAndSeventeen$outboundSchema: z.ZodType< - OneHundredAndSeventeen$Outbound, +export const OneHundredAndTwentySeven$outboundSchema: z.ZodType< + OneHundredAndTwentySeven$Outbound, z.ZodTypeDef, - OneHundredAndSeventeen + OneHundredAndTwentySeven > = z.object({ - entitlement: z.string(), - user: z.lazy(() => UserEventPayloadUser$outboundSchema), + mfaEnabled: 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 OneHundredAndSeventeen$ { - /** @deprecated use `OneHundredAndSeventeen$inboundSchema` instead. */ - export const inboundSchema = OneHundredAndSeventeen$inboundSchema; - /** @deprecated use `OneHundredAndSeventeen$outboundSchema` instead. */ - export const outboundSchema = OneHundredAndSeventeen$outboundSchema; - /** @deprecated use `OneHundredAndSeventeen$Outbound` instead. */ - export type Outbound = OneHundredAndSeventeen$Outbound; -} - -export function oneHundredAndSeventeenToJSON( - oneHundredAndSeventeen: OneHundredAndSeventeen, +export function oneHundredAndTwentySevenToJSON( + oneHundredAndTwentySeven: OneHundredAndTwentySeven, ): string { return JSON.stringify( - OneHundredAndSeventeen$outboundSchema.parse(oneHundredAndSeventeen), + OneHundredAndTwentySeven$outboundSchema.parse(oneHundredAndTwentySeven), ); } - -export function oneHundredAndSeventeenFromJSON( +export function oneHundredAndTwentySevenFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndSeventeen$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndSeventeen' from JSON`, + (x) => OneHundredAndTwentySeven$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndTwentySeven' from JSON`, ); } /** @internal */ -export const UpdatedUser$inboundSchema: z.ZodType< - UpdatedUser, +export const OneHundredAndTwentySix$inboundSchema: z.ZodType< + OneHundredAndTwentySix, z.ZodTypeDef, unknown > = z.object({ - username: z.string(), - email: z.string(), + enabled: z.boolean(), + totpVerified: z.boolean(), }); - /** @internal */ -export type UpdatedUser$Outbound = { - username: string; - email: string; +export type OneHundredAndTwentySix$Outbound = { + enabled: boolean; + totpVerified: boolean; }; /** @internal */ -export const UpdatedUser$outboundSchema: z.ZodType< - UpdatedUser$Outbound, +export const OneHundredAndTwentySix$outboundSchema: z.ZodType< + OneHundredAndTwentySix$Outbound, z.ZodTypeDef, - UpdatedUser + OneHundredAndTwentySix > = z.object({ - username: z.string(), - email: z.string(), + enabled: z.boolean(), + totpVerified: 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 UpdatedUser$ { - /** @deprecated use `UpdatedUser$inboundSchema` instead. */ - export const inboundSchema = UpdatedUser$inboundSchema; - /** @deprecated use `UpdatedUser$outboundSchema` instead. */ - export const outboundSchema = UpdatedUser$outboundSchema; - /** @deprecated use `UpdatedUser$Outbound` instead. */ - export type Outbound = UpdatedUser$Outbound; -} - -export function updatedUserToJSON(updatedUser: UpdatedUser): string { - return JSON.stringify(UpdatedUser$outboundSchema.parse(updatedUser)); +export function oneHundredAndTwentySixToJSON( + oneHundredAndTwentySix: OneHundredAndTwentySix, +): string { + return JSON.stringify( + OneHundredAndTwentySix$outboundSchema.parse(oneHundredAndTwentySix), + ); } - -export function updatedUserFromJSON( +export function oneHundredAndTwentySixFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UpdatedUser$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UpdatedUser' from JSON`, + (x) => OneHundredAndTwentySix$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndTwentySix' from JSON`, ); } /** @internal */ -export const OneHundredAndSixteen$inboundSchema: z.ZodType< - OneHundredAndSixteen, +export const PayloadPrevious$inboundSchema: z.ZodType< + PayloadPrevious, z.ZodTypeDef, unknown > = z.object({ - directoryType: z.string().optional(), - updatedUser: z.lazy(() => UpdatedUser$inboundSchema).optional(), - role: z.string().optional(), - previousRole: z.string(), - updatedUid: z.string().optional(), + enabled: z.boolean(), + totpVerified: z.boolean(), }); - /** @internal */ -export type OneHundredAndSixteen$Outbound = { - directoryType?: string | undefined; - updatedUser?: UpdatedUser$Outbound | undefined; - role?: string | undefined; - previousRole: string; - updatedUid?: string | undefined; +export type PayloadPrevious$Outbound = { + enabled: boolean; + totpVerified: boolean; }; /** @internal */ -export const OneHundredAndSixteen$outboundSchema: z.ZodType< - OneHundredAndSixteen$Outbound, +export const PayloadPrevious$outboundSchema: z.ZodType< + PayloadPrevious$Outbound, z.ZodTypeDef, - OneHundredAndSixteen + PayloadPrevious > = z.object({ - directoryType: z.string().optional(), - updatedUser: z.lazy(() => UpdatedUser$outboundSchema).optional(), - role: z.string().optional(), - previousRole: z.string(), - updatedUid: z.string().optional(), + enabled: z.boolean(), + totpVerified: 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 OneHundredAndSixteen$ { - /** @deprecated use `OneHundredAndSixteen$inboundSchema` instead. */ - export const inboundSchema = OneHundredAndSixteen$inboundSchema; - /** @deprecated use `OneHundredAndSixteen$outboundSchema` instead. */ - export const outboundSchema = OneHundredAndSixteen$outboundSchema; - /** @deprecated use `OneHundredAndSixteen$Outbound` instead. */ - export type Outbound = OneHundredAndSixteen$Outbound; -} - -export function oneHundredAndSixteenToJSON( - oneHundredAndSixteen: OneHundredAndSixteen, +export function payloadPreviousToJSON( + payloadPrevious: PayloadPrevious, ): string { - return JSON.stringify( - OneHundredAndSixteen$outboundSchema.parse(oneHundredAndSixteen), - ); + return JSON.stringify(PayloadPrevious$outboundSchema.parse(payloadPrevious)); } - -export function oneHundredAndSixteenFromJSON( +export function payloadPreviousFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndSixteen$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndSixteen' from JSON`, + (x) => PayloadPrevious$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PayloadPrevious' from JSON`, ); } /** @internal */ -export const OneHundredAndFifteen$inboundSchema: z.ZodType< - OneHundredAndFifteen, +export const PayloadNext$inboundSchema: z.ZodType< + PayloadNext, z.ZodTypeDef, unknown > = z.object({ - role: z.string().optional(), - uid: z.string(), - origin: z.string().optional(), - teamRoles: z.array(z.string()).optional(), - teamPermissions: z.array(z.string()).optional(), - entitlements: z.array(z.string()).optional(), + enabled: z.boolean(), + totpVerified: z.boolean(), }); - /** @internal */ -export type OneHundredAndFifteen$Outbound = { - role?: string | undefined; - uid: string; - origin?: string | undefined; - teamRoles?: Array | undefined; - teamPermissions?: Array | undefined; - entitlements?: Array | undefined; +export type PayloadNext$Outbound = { + enabled: boolean; + totpVerified: boolean; }; /** @internal */ -export const OneHundredAndFifteen$outboundSchema: z.ZodType< - OneHundredAndFifteen$Outbound, +export const PayloadNext$outboundSchema: z.ZodType< + PayloadNext$Outbound, z.ZodTypeDef, - OneHundredAndFifteen + PayloadNext > = z.object({ - role: z.string().optional(), - uid: z.string(), - origin: z.string().optional(), - teamRoles: z.array(z.string()).optional(), - teamPermissions: z.array(z.string()).optional(), - entitlements: z.array(z.string()).optional(), + enabled: z.boolean(), + totpVerified: 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 OneHundredAndFifteen$ { - /** @deprecated use `OneHundredAndFifteen$inboundSchema` instead. */ - export const inboundSchema = OneHundredAndFifteen$inboundSchema; - /** @deprecated use `OneHundredAndFifteen$outboundSchema` instead. */ - export const outboundSchema = OneHundredAndFifteen$outboundSchema; - /** @deprecated use `OneHundredAndFifteen$Outbound` instead. */ - export type Outbound = OneHundredAndFifteen$Outbound; -} - -export function oneHundredAndFifteenToJSON( - oneHundredAndFifteen: OneHundredAndFifteen, -): string { - return JSON.stringify( - OneHundredAndFifteen$outboundSchema.parse(oneHundredAndFifteen), - ); +export function payloadNextToJSON(payloadNext: PayloadNext): string { + return JSON.stringify(PayloadNext$outboundSchema.parse(payloadNext)); } - -export function oneHundredAndFifteenFromJSON( +export function payloadNextFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndFifteen$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndFifteen' from JSON`, + (x) => PayloadNext$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PayloadNext' from JSON`, ); } /** @internal */ -export const DeletedUser$inboundSchema: z.ZodType< - DeletedUser, +export const OneHundredAndTwentyFive$inboundSchema: z.ZodType< + OneHundredAndTwentyFive, z.ZodTypeDef, unknown > = z.object({ - username: z.string(), - email: z.string(), + previous: z.lazy(() => PayloadPrevious$inboundSchema), + next: z.lazy(() => PayloadNext$inboundSchema), }); - /** @internal */ -export type DeletedUser$Outbound = { - username: string; - email: string; +export type OneHundredAndTwentyFive$Outbound = { + previous: PayloadPrevious$Outbound; + next: PayloadNext$Outbound; }; /** @internal */ -export const DeletedUser$outboundSchema: z.ZodType< - DeletedUser$Outbound, +export const OneHundredAndTwentyFive$outboundSchema: z.ZodType< + OneHundredAndTwentyFive$Outbound, z.ZodTypeDef, - DeletedUser + OneHundredAndTwentyFive > = z.object({ - username: z.string(), - email: z.string(), + previous: z.lazy(() => PayloadPrevious$outboundSchema), + next: z.lazy(() => PayloadNext$outboundSchema), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace DeletedUser$ { - /** @deprecated use `DeletedUser$inboundSchema` instead. */ - export const inboundSchema = DeletedUser$inboundSchema; - /** @deprecated use `DeletedUser$outboundSchema` instead. */ - export const outboundSchema = DeletedUser$outboundSchema; - /** @deprecated use `DeletedUser$Outbound` instead. */ - export type Outbound = DeletedUser$Outbound; -} - -export function deletedUserToJSON(deletedUser: DeletedUser): string { - return JSON.stringify(DeletedUser$outboundSchema.parse(deletedUser)); +export function oneHundredAndTwentyFiveToJSON( + oneHundredAndTwentyFive: OneHundredAndTwentyFive, +): string { + return JSON.stringify( + OneHundredAndTwentyFive$outboundSchema.parse(oneHundredAndTwentyFive), + ); } - -export function deletedUserFromJSON( +export function oneHundredAndTwentyFiveFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => DeletedUser$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'DeletedUser' from JSON`, + (x) => OneHundredAndTwentyFive$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndTwentyFive' from JSON`, ); } /** @internal */ -export const OneHundredAndFourteen$inboundSchema: z.ZodType< - OneHundredAndFourteen, +export const PayloadRemoteCaching$inboundSchema: z.ZodType< + PayloadRemoteCaching, z.ZodTypeDef, unknown > = z.object({ - deletedUser: z.lazy(() => DeletedUser$inboundSchema).optional(), - deletedUid: z.string().optional(), - githubUsername: z.nullable(z.string()).optional(), - gitlabUsername: z.nullable(z.string()).optional(), - bitbucketUsername: z.nullable(z.string()).optional(), - directoryType: z.string().optional(), + enabled: z.boolean().optional(), }); +/** @internal */ +export type PayloadRemoteCaching$Outbound = { + enabled?: boolean | undefined; +}; /** @internal */ -export type OneHundredAndFourteen$Outbound = { - deletedUser?: DeletedUser$Outbound | undefined; - deletedUid?: string | undefined; - githubUsername?: string | null | undefined; - gitlabUsername?: string | null | undefined; - bitbucketUsername?: string | null | undefined; - directoryType?: string | undefined; -}; - -/** @internal */ -export const OneHundredAndFourteen$outboundSchema: z.ZodType< - OneHundredAndFourteen$Outbound, +export const PayloadRemoteCaching$outboundSchema: z.ZodType< + PayloadRemoteCaching$Outbound, z.ZodTypeDef, - OneHundredAndFourteen + PayloadRemoteCaching > = z.object({ - deletedUser: z.lazy(() => DeletedUser$outboundSchema).optional(), - deletedUid: z.string().optional(), - githubUsername: z.nullable(z.string()).optional(), - gitlabUsername: z.nullable(z.string()).optional(), - bitbucketUsername: z.nullable(z.string()).optional(), - directoryType: z.string().optional(), + 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 OneHundredAndFourteen$ { - /** @deprecated use `OneHundredAndFourteen$inboundSchema` instead. */ - export const inboundSchema = OneHundredAndFourteen$inboundSchema; - /** @deprecated use `OneHundredAndFourteen$outboundSchema` instead. */ - export const outboundSchema = OneHundredAndFourteen$outboundSchema; - /** @deprecated use `OneHundredAndFourteen$Outbound` instead. */ - export type Outbound = OneHundredAndFourteen$Outbound; -} - -export function oneHundredAndFourteenToJSON( - oneHundredAndFourteen: OneHundredAndFourteen, +export function payloadRemoteCachingToJSON( + payloadRemoteCaching: PayloadRemoteCaching, ): string { return JSON.stringify( - OneHundredAndFourteen$outboundSchema.parse(oneHundredAndFourteen), + PayloadRemoteCaching$outboundSchema.parse(payloadRemoteCaching), ); } - -export function oneHundredAndFourteenFromJSON( +export function payloadRemoteCachingFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndFourteen$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndFourteen' from JSON`, + (x) => PayloadRemoteCaching$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PayloadRemoteCaching' from JSON`, ); } /** @internal */ -export const InvitedUser$inboundSchema: z.ZodType< - InvitedUser, +export const OneHundredAndTwentyFour$inboundSchema: z.ZodType< + OneHundredAndTwentyFour, z.ZodTypeDef, unknown > = z.object({ - username: z.string(), - email: z.string(), + remoteCaching: z.lazy(() => PayloadRemoteCaching$inboundSchema).optional(), }); - /** @internal */ -export type InvitedUser$Outbound = { - username: string; - email: string; +export type OneHundredAndTwentyFour$Outbound = { + remoteCaching?: PayloadRemoteCaching$Outbound | undefined; }; /** @internal */ -export const InvitedUser$outboundSchema: z.ZodType< - InvitedUser$Outbound, +export const OneHundredAndTwentyFour$outboundSchema: z.ZodType< + OneHundredAndTwentyFour$Outbound, z.ZodTypeDef, - InvitedUser + OneHundredAndTwentyFour > = z.object({ - username: z.string(), - email: z.string(), + remoteCaching: z.lazy(() => PayloadRemoteCaching$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 InvitedUser$ { - /** @deprecated use `InvitedUser$inboundSchema` instead. */ - export const inboundSchema = InvitedUser$inboundSchema; - /** @deprecated use `InvitedUser$outboundSchema` instead. */ - export const outboundSchema = InvitedUser$outboundSchema; - /** @deprecated use `InvitedUser$Outbound` instead. */ - export type Outbound = InvitedUser$Outbound; -} - -export function invitedUserToJSON(invitedUser: InvitedUser): string { - return JSON.stringify(InvitedUser$outboundSchema.parse(invitedUser)); +export function oneHundredAndTwentyFourToJSON( + oneHundredAndTwentyFour: OneHundredAndTwentyFour, +): string { + return JSON.stringify( + OneHundredAndTwentyFour$outboundSchema.parse(oneHundredAndTwentyFour), + ); } - -export function invitedUserFromJSON( +export function oneHundredAndTwentyFourFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => InvitedUser$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'InvitedUser' from JSON`, + (x) => OneHundredAndTwentyFour$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndTwentyFour' from JSON`, ); } /** @internal */ -export const OneHundredAndThirteen$inboundSchema: z.ZodType< - OneHundredAndThirteen, +export const OneHundredAndTwentyThree$inboundSchema: z.ZodType< + OneHundredAndTwentyThree, z.ZodTypeDef, unknown > = z.object({ - directoryType: z.string().optional(), - ssoType: z.string().optional(), - invitedUser: z.lazy(() => InvitedUser$inboundSchema).optional(), - invitedEmail: z.string().optional(), - invitationRole: z.string().optional(), - entitlements: z.array(z.string()).optional(), - invitedUid: z.string().optional(), + slug: z.string().optional(), }); - /** @internal */ -export type OneHundredAndThirteen$Outbound = { - directoryType?: string | undefined; - ssoType?: string | undefined; - invitedUser?: InvitedUser$Outbound | undefined; - invitedEmail?: string | undefined; - invitationRole?: string | undefined; - entitlements?: Array | undefined; - invitedUid?: string | undefined; +export type OneHundredAndTwentyThree$Outbound = { + slug?: string | undefined; }; /** @internal */ -export const OneHundredAndThirteen$outboundSchema: z.ZodType< - OneHundredAndThirteen$Outbound, +export const OneHundredAndTwentyThree$outboundSchema: z.ZodType< + OneHundredAndTwentyThree$Outbound, z.ZodTypeDef, - OneHundredAndThirteen + OneHundredAndTwentyThree > = z.object({ - directoryType: z.string().optional(), - ssoType: z.string().optional(), - invitedUser: z.lazy(() => InvitedUser$outboundSchema).optional(), - invitedEmail: z.string().optional(), - invitationRole: z.string().optional(), - entitlements: z.array(z.string()).optional(), - invitedUid: 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 OneHundredAndThirteen$ { - /** @deprecated use `OneHundredAndThirteen$inboundSchema` instead. */ - export const inboundSchema = OneHundredAndThirteen$inboundSchema; - /** @deprecated use `OneHundredAndThirteen$outboundSchema` instead. */ - export const outboundSchema = OneHundredAndThirteen$outboundSchema; - /** @deprecated use `OneHundredAndThirteen$Outbound` instead. */ - export type Outbound = OneHundredAndThirteen$Outbound; -} - -export function oneHundredAndThirteenToJSON( - oneHundredAndThirteen: OneHundredAndThirteen, +export function oneHundredAndTwentyThreeToJSON( + oneHundredAndTwentyThree: OneHundredAndTwentyThree, ): string { return JSON.stringify( - OneHundredAndThirteen$outboundSchema.parse(oneHundredAndThirteen), + OneHundredAndTwentyThree$outboundSchema.parse(oneHundredAndTwentyThree), ); } - -export function oneHundredAndThirteenFromJSON( +export function oneHundredAndTwentyThreeFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndThirteen$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndThirteen' from JSON`, + (x) => OneHundredAndTwentyThree$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndTwentyThree' from JSON`, ); } /** @internal */ -export const Reasons$inboundSchema: z.ZodType = - z.object({ - slug: z.string(), - description: z.string(), - }); - +export const OneHundredAndTwentyTwo$inboundSchema: z.ZodType< + OneHundredAndTwentyTwo, + z.ZodTypeDef, + unknown +> = z.object({ + name: z.string().optional(), +}); /** @internal */ -export type Reasons$Outbound = { - slug: string; - description: string; +export type OneHundredAndTwentyTwo$Outbound = { + name?: string | undefined; }; /** @internal */ -export const Reasons$outboundSchema: z.ZodType< - Reasons$Outbound, +export const OneHundredAndTwentyTwo$outboundSchema: z.ZodType< + OneHundredAndTwentyTwo$Outbound, z.ZodTypeDef, - Reasons + OneHundredAndTwentyTwo > = z.object({ - slug: z.string(), - description: 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 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 oneHundredAndTwentyTwoToJSON( + oneHundredAndTwentyTwo: OneHundredAndTwentyTwo, +): string { + return JSON.stringify( + OneHundredAndTwentyTwo$outboundSchema.parse(oneHundredAndTwentyTwo), + ); } - -export function reasonsFromJSON( +export function oneHundredAndTwentyTwoFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => Reasons$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Reasons' from JSON`, + (x) => OneHundredAndTwentyTwo$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndTwentyTwo' from JSON`, ); } /** @internal */ -export const OneHundredAndTwelve$inboundSchema: z.ZodType< - OneHundredAndTwelve, +export const OneHundredAndTwentyOne$inboundSchema: z.ZodType< + OneHundredAndTwentyOne, z.ZodTypeDef, unknown > = z.object({ - slug: z.string(), - teamId: z.string(), - by: z.string(), - reasons: z.array(z.lazy(() => Reasons$inboundSchema)).optional(), + enforced: z.boolean(), }); - /** @internal */ -export type OneHundredAndTwelve$Outbound = { - slug: string; - teamId: string; - by: string; - reasons?: Array | undefined; +export type OneHundredAndTwentyOne$Outbound = { + enforced: boolean; }; /** @internal */ -export const OneHundredAndTwelve$outboundSchema: z.ZodType< - OneHundredAndTwelve$Outbound, +export const OneHundredAndTwentyOne$outboundSchema: z.ZodType< + OneHundredAndTwentyOne$Outbound, z.ZodTypeDef, - OneHundredAndTwelve + OneHundredAndTwentyOne > = z.object({ - slug: z.string(), - teamId: z.string(), - by: z.string(), - reasons: z.array(z.lazy(() => Reasons$outboundSchema)).optional(), + enforced: 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 OneHundredAndTwelve$ { - /** @deprecated use `OneHundredAndTwelve$inboundSchema` instead. */ - export const inboundSchema = OneHundredAndTwelve$inboundSchema; - /** @deprecated use `OneHundredAndTwelve$outboundSchema` instead. */ - export const outboundSchema = OneHundredAndTwelve$outboundSchema; - /** @deprecated use `OneHundredAndTwelve$Outbound` instead. */ - export type Outbound = OneHundredAndTwelve$Outbound; -} - -export function oneHundredAndTwelveToJSON( - oneHundredAndTwelve: OneHundredAndTwelve, +export function oneHundredAndTwentyOneToJSON( + oneHundredAndTwentyOne: OneHundredAndTwentyOne, ): string { return JSON.stringify( - OneHundredAndTwelve$outboundSchema.parse(oneHundredAndTwelve), + OneHundredAndTwentyOne$outboundSchema.parse(oneHundredAndTwentyOne), ); } - -export function oneHundredAndTwelveFromJSON( +export function oneHundredAndTwentyOneFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndTwelve$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndTwelve' from JSON`, + (x) => OneHundredAndTwentyOne$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndTwentyOne' from JSON`, ); } /** @internal */ -export const OneHundredAndEleven$inboundSchema: z.ZodType< - OneHundredAndEleven, +export const UserEventPayload120User$inboundSchema: z.ZodType< + UserEventPayload120User, z.ZodTypeDef, unknown > = z.object({ - slug: z.string(), + id: z.string(), + username: z.string(), }); - /** @internal */ -export type OneHundredAndEleven$Outbound = { - slug: string; +export type UserEventPayload120User$Outbound = { + id: string; + username: string; }; /** @internal */ -export const OneHundredAndEleven$outboundSchema: z.ZodType< - OneHundredAndEleven$Outbound, +export const UserEventPayload120User$outboundSchema: z.ZodType< + UserEventPayload120User$Outbound, z.ZodTypeDef, - OneHundredAndEleven + UserEventPayload120User > = z.object({ - slug: z.string(), + id: 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 OneHundredAndEleven$ { - /** @deprecated use `OneHundredAndEleven$inboundSchema` instead. */ - export const inboundSchema = OneHundredAndEleven$inboundSchema; - /** @deprecated use `OneHundredAndEleven$outboundSchema` instead. */ - export const outboundSchema = OneHundredAndEleven$outboundSchema; - /** @deprecated use `OneHundredAndEleven$Outbound` instead. */ - export type Outbound = OneHundredAndEleven$Outbound; -} - -export function oneHundredAndElevenToJSON( - oneHundredAndEleven: OneHundredAndEleven, +export function userEventPayload120UserToJSON( + userEventPayload120User: UserEventPayload120User, ): string { return JSON.stringify( - OneHundredAndEleven$outboundSchema.parse(oneHundredAndEleven), + UserEventPayload120User$outboundSchema.parse(userEventPayload120User), ); } - -export function oneHundredAndElevenFromJSON( +export function userEventPayload120UserFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndEleven$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndEleven' from JSON`, + (x) => UserEventPayload120User$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload120User' from JSON`, ); } /** @internal */ -export const Store$inboundSchema: z.ZodType = z - .object({ - name: z.string(), - id: z.string(), - }); - +export const OneHundredAndTwenty$inboundSchema: z.ZodType< + OneHundredAndTwenty, + z.ZodTypeDef, + unknown +> = z.object({ + entitlement: z.string(), + user: z.lazy(() => UserEventPayload120User$inboundSchema), + previousCanceledAt: z.string().optional(), +}); /** @internal */ -export type Store$Outbound = { - name: string; - id: string; +export type OneHundredAndTwenty$Outbound = { + entitlement: string; + user: UserEventPayload120User$Outbound; + previousCanceledAt?: string | undefined; }; /** @internal */ -export const Store$outboundSchema: z.ZodType< - Store$Outbound, +export const OneHundredAndTwenty$outboundSchema: z.ZodType< + OneHundredAndTwenty$Outbound, z.ZodTypeDef, - Store + OneHundredAndTwenty > = z.object({ - name: z.string(), - id: z.string(), + entitlement: z.string(), + user: z.lazy(() => UserEventPayload120User$outboundSchema), + previousCanceledAt: z.string().optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Store$ { - /** @deprecated use `Store$inboundSchema` instead. */ - export const inboundSchema = Store$inboundSchema; - /** @deprecated use `Store$outboundSchema` instead. */ - export const outboundSchema = Store$outboundSchema; - /** @deprecated use `Store$Outbound` instead. */ - export type Outbound = Store$Outbound; -} - -export function storeToJSON(store: Store): string { - return JSON.stringify(Store$outboundSchema.parse(store)); +export function oneHundredAndTwentyToJSON( + oneHundredAndTwenty: OneHundredAndTwenty, +): string { + return JSON.stringify( + OneHundredAndTwenty$outboundSchema.parse(oneHundredAndTwenty), + ); } - -export function storeFromJSON( +export function oneHundredAndTwentyFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => Store$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Store' from JSON`, + (x) => OneHundredAndTwenty$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndTwenty' from JSON`, ); } /** @internal */ -export const OneHundredAndTen$inboundSchema: z.ZodType< - OneHundredAndTen, +export const UserEventPayloadUser$inboundSchema: z.ZodType< + UserEventPayloadUser, z.ZodTypeDef, unknown > = z.object({ - store: z.lazy(() => Store$inboundSchema), - ownerId: z.string().optional(), + id: z.string(), + username: z.string(), }); - /** @internal */ -export type OneHundredAndTen$Outbound = { - store: Store$Outbound; - ownerId?: string | undefined; +export type UserEventPayloadUser$Outbound = { + id: string; + username: string; }; /** @internal */ -export const OneHundredAndTen$outboundSchema: z.ZodType< - OneHundredAndTen$Outbound, +export const UserEventPayloadUser$outboundSchema: z.ZodType< + UserEventPayloadUser$Outbound, z.ZodTypeDef, - OneHundredAndTen + UserEventPayloadUser > = z.object({ - store: z.lazy(() => Store$outboundSchema), - ownerId: z.string().optional(), + id: 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 OneHundredAndTen$ { - /** @deprecated use `OneHundredAndTen$inboundSchema` instead. */ - export const inboundSchema = OneHundredAndTen$inboundSchema; - /** @deprecated use `OneHundredAndTen$outboundSchema` instead. */ - export const outboundSchema = OneHundredAndTen$outboundSchema; - /** @deprecated use `OneHundredAndTen$Outbound` instead. */ - export type Outbound = OneHundredAndTen$Outbound; -} - -export function oneHundredAndTenToJSON( - oneHundredAndTen: OneHundredAndTen, +export function userEventPayloadUserToJSON( + userEventPayloadUser: UserEventPayloadUser, ): string { return JSON.stringify( - OneHundredAndTen$outboundSchema.parse(oneHundredAndTen), + UserEventPayloadUser$outboundSchema.parse(userEventPayloadUser), ); } - -export function oneHundredAndTenFromJSON( +export function userEventPayloadUserFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndTen$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndTen' from JSON`, + (x) => UserEventPayloadUser$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayloadUser' from JSON`, ); } /** @internal */ -export const StoreType$inboundSchema: z.ZodNativeEnum = z - .nativeEnum(StoreType); - -/** @internal */ -export const StoreType$outboundSchema: z.ZodNativeEnum = - StoreType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace StoreType$ { - /** @deprecated use `StoreType$inboundSchema` instead. */ - export const inboundSchema = StoreType$inboundSchema; - /** @deprecated use `StoreType$outboundSchema` instead. */ - export const outboundSchema = StoreType$outboundSchema; -} - -/** @internal */ -export const OneHundredAndNine$inboundSchema: z.ZodType< - OneHundredAndNine, +export const OneHundredAndNineteen$inboundSchema: z.ZodType< + OneHundredAndNineteen, z.ZodTypeDef, unknown > = z.object({ - storeType: StoreType$inboundSchema, + entitlement: z.string(), + user: z.lazy(() => UserEventPayloadUser$inboundSchema), }); - /** @internal */ -export type OneHundredAndNine$Outbound = { - storeType: string; +export type OneHundredAndNineteen$Outbound = { + entitlement: string; + user: UserEventPayloadUser$Outbound; }; /** @internal */ -export const OneHundredAndNine$outboundSchema: z.ZodType< - OneHundredAndNine$Outbound, +export const OneHundredAndNineteen$outboundSchema: z.ZodType< + OneHundredAndNineteen$Outbound, z.ZodTypeDef, - OneHundredAndNine + OneHundredAndNineteen > = z.object({ - storeType: StoreType$outboundSchema, + entitlement: z.string(), + user: z.lazy(() => UserEventPayloadUser$outboundSchema), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace OneHundredAndNine$ { - /** @deprecated use `OneHundredAndNine$inboundSchema` instead. */ - export const inboundSchema = OneHundredAndNine$inboundSchema; - /** @deprecated use `OneHundredAndNine$outboundSchema` instead. */ - export const outboundSchema = OneHundredAndNine$outboundSchema; - /** @deprecated use `OneHundredAndNine$Outbound` instead. */ - export type Outbound = OneHundredAndNine$Outbound; -} - -export function oneHundredAndNineToJSON( - oneHundredAndNine: OneHundredAndNine, +export function oneHundredAndNineteenToJSON( + oneHundredAndNineteen: OneHundredAndNineteen, ): string { return JSON.stringify( - OneHundredAndNine$outboundSchema.parse(oneHundredAndNine), + OneHundredAndNineteen$outboundSchema.parse(oneHundredAndNineteen), ); } - -export function oneHundredAndNineFromJSON( +export function oneHundredAndNineteenFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndNine$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndNine' from JSON`, + (x) => OneHundredAndNineteen$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndNineteen' from JSON`, ); } /** @internal */ -export const UserEventPayloadType$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayloadType -> = z.nativeEnum(UserEventPayloadType); - -/** @internal */ -export const UserEventPayloadType$outboundSchema: z.ZodNativeEnum< - typeof UserEventPayloadType -> = UserEventPayloadType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UserEventPayloadType$ { - /** @deprecated use `UserEventPayloadType$inboundSchema` instead. */ - export const inboundSchema = UserEventPayloadType$inboundSchema; - /** @deprecated use `UserEventPayloadType$outboundSchema` instead. */ - export const outboundSchema = UserEventPayloadType$outboundSchema; -} - -/** @internal */ -export const OneHundredAndEight$inboundSchema: z.ZodType< - OneHundredAndEight, +export const UpdatedUser$inboundSchema: z.ZodType< + UpdatedUser, z.ZodTypeDef, unknown > = z.object({ - id: z.string(), - name: z.string().optional(), - computeUnitsMax: z.number().optional(), - computeUnitsMin: z.number().optional(), - suspendTimeoutSeconds: z.number().optional(), - type: UserEventPayloadType$inboundSchema, + username: z.string(), + email: z.string(), }); - /** @internal */ -export type OneHundredAndEight$Outbound = { - id: string; - name?: string | undefined; - computeUnitsMax?: number | undefined; - computeUnitsMin?: number | undefined; - suspendTimeoutSeconds?: number | undefined; - type: string; +export type UpdatedUser$Outbound = { + username: string; + email: string; }; /** @internal */ -export const OneHundredAndEight$outboundSchema: z.ZodType< - OneHundredAndEight$Outbound, +export const UpdatedUser$outboundSchema: z.ZodType< + UpdatedUser$Outbound, z.ZodTypeDef, - OneHundredAndEight + UpdatedUser > = z.object({ - id: z.string(), - name: z.string().optional(), - computeUnitsMax: z.number().optional(), - computeUnitsMin: z.number().optional(), - suspendTimeoutSeconds: z.number().optional(), - type: UserEventPayloadType$outboundSchema, + username: 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 OneHundredAndEight$ { - /** @deprecated use `OneHundredAndEight$inboundSchema` instead. */ - export const inboundSchema = OneHundredAndEight$inboundSchema; - /** @deprecated use `OneHundredAndEight$outboundSchema` instead. */ - export const outboundSchema = OneHundredAndEight$outboundSchema; - /** @deprecated use `OneHundredAndEight$Outbound` instead. */ - export type Outbound = OneHundredAndEight$Outbound; -} - -export function oneHundredAndEightToJSON( - oneHundredAndEight: OneHundredAndEight, -): string { - return JSON.stringify( - OneHundredAndEight$outboundSchema.parse(oneHundredAndEight), - ); +export function updatedUserToJSON(updatedUser: UpdatedUser): string { + return JSON.stringify(UpdatedUser$outboundSchema.parse(updatedUser)); } - -export function oneHundredAndEightFromJSON( +export function updatedUserFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndEight$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndEight' from JSON`, + (x) => UpdatedUser$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UpdatedUser' from JSON`, ); } /** @internal */ -export const OneHundredAndSeven$inboundSchema: z.ZodType< - OneHundredAndSeven, +export const OneHundredAndEighteen$inboundSchema: z.ZodType< + OneHundredAndEighteen, z.ZodTypeDef, unknown > = z.object({ - webhookUrl: z.string().optional(), + directoryType: z.string().optional(), + updatedUser: z.lazy(() => UpdatedUser$inboundSchema).optional(), + role: z.string().optional(), + previousRole: z.string(), + updatedUid: z.string().optional(), }); - /** @internal */ -export type OneHundredAndSeven$Outbound = { - webhookUrl?: string | undefined; +export type OneHundredAndEighteen$Outbound = { + directoryType?: string | undefined; + updatedUser?: UpdatedUser$Outbound | undefined; + role?: string | undefined; + previousRole: string; + updatedUid?: string | undefined; }; /** @internal */ -export const OneHundredAndSeven$outboundSchema: z.ZodType< - OneHundredAndSeven$Outbound, +export const OneHundredAndEighteen$outboundSchema: z.ZodType< + OneHundredAndEighteen$Outbound, z.ZodTypeDef, - OneHundredAndSeven + OneHundredAndEighteen > = z.object({ - webhookUrl: z.string().optional(), + directoryType: z.string().optional(), + updatedUser: z.lazy(() => UpdatedUser$outboundSchema).optional(), + role: z.string().optional(), + previousRole: z.string(), + updatedUid: z.string().optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace OneHundredAndSeven$ { - /** @deprecated use `OneHundredAndSeven$inboundSchema` instead. */ - export const inboundSchema = OneHundredAndSeven$inboundSchema; - /** @deprecated use `OneHundredAndSeven$outboundSchema` instead. */ - export const outboundSchema = OneHundredAndSeven$outboundSchema; - /** @deprecated use `OneHundredAndSeven$Outbound` instead. */ - export type Outbound = OneHundredAndSeven$Outbound; +export function oneHundredAndEighteenToJSON( + oneHundredAndEighteen: OneHundredAndEighteen, +): string { + return JSON.stringify( + OneHundredAndEighteen$outboundSchema.parse(oneHundredAndEighteen), + ); +} +export function oneHundredAndEighteenFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => OneHundredAndEighteen$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndEighteen' from JSON`, + ); +} + +/** @internal */ +export const OneHundredAndSeventeen$inboundSchema: z.ZodType< + OneHundredAndSeventeen, + z.ZodTypeDef, + unknown +> = z.object({ + role: z.string().optional(), + uid: z.string(), + origin: z.string().optional(), + teamRoles: z.array(z.string()).optional(), + teamPermissions: z.array(z.string()).optional(), + entitlements: z.array(z.string()).optional(), +}); +/** @internal */ +export type OneHundredAndSeventeen$Outbound = { + role?: string | undefined; + uid: string; + origin?: string | undefined; + teamRoles?: Array | undefined; + teamPermissions?: Array | undefined; + entitlements?: Array | undefined; +}; + +/** @internal */ +export const OneHundredAndSeventeen$outboundSchema: z.ZodType< + OneHundredAndSeventeen$Outbound, + z.ZodTypeDef, + OneHundredAndSeventeen +> = z.object({ + role: z.string().optional(), + uid: z.string(), + origin: z.string().optional(), + teamRoles: z.array(z.string()).optional(), + teamPermissions: z.array(z.string()).optional(), + entitlements: z.array(z.string()).optional(), +}); + +export function oneHundredAndSeventeenToJSON( + oneHundredAndSeventeen: OneHundredAndSeventeen, +): string { + return JSON.stringify( + OneHundredAndSeventeen$outboundSchema.parse(oneHundredAndSeventeen), + ); +} +export function oneHundredAndSeventeenFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => OneHundredAndSeventeen$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndSeventeen' from JSON`, + ); +} + +/** @internal */ +export const DeletedUser$inboundSchema: z.ZodType< + DeletedUser, + z.ZodTypeDef, + unknown +> = z.object({ + username: z.string(), + email: z.string(), +}); +/** @internal */ +export type DeletedUser$Outbound = { + username: string; + email: string; +}; + +/** @internal */ +export const DeletedUser$outboundSchema: z.ZodType< + DeletedUser$Outbound, + z.ZodTypeDef, + DeletedUser +> = z.object({ + username: z.string(), + email: z.string(), +}); + +export function deletedUserToJSON(deletedUser: DeletedUser): string { + return JSON.stringify(DeletedUser$outboundSchema.parse(deletedUser)); +} +export function deletedUserFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => DeletedUser$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'DeletedUser' from JSON`, + ); +} + +/** @internal */ +export const PayloadRole$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(PayloadRole); +/** @internal */ +export const PayloadRole$outboundSchema: z.ZodNativeEnum = + PayloadRole$inboundSchema; + +/** @internal */ +export const PreviousPlan$inboundSchema: z.ZodNativeEnum = + z.nativeEnum(PreviousPlan); +/** @internal */ +export const PreviousPlan$outboundSchema: z.ZodNativeEnum = + PreviousPlan$inboundSchema; + +/** @internal */ +export const NewPlan$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(NewPlan); +/** @internal */ +export const NewPlan$outboundSchema: z.ZodNativeEnum = + NewPlan$inboundSchema; + +/** @internal */ +export const OneHundredAndSixteen$inboundSchema: z.ZodType< + OneHundredAndSixteen, + z.ZodTypeDef, + unknown +> = z.object({ + deletedUser: z.lazy(() => DeletedUser$inboundSchema).optional(), + deletedUid: z.string().optional(), + githubUsername: z.nullable(z.string()).optional(), + gitlabUsername: z.nullable(z.string()).optional(), + bitbucketUsername: z.nullable(z.string()).optional(), + directoryType: z.string().optional(), + role: PayloadRole$inboundSchema.optional(), + reason: z.string().optional(), + previousPlan: PreviousPlan$inboundSchema.optional(), + newPlan: NewPlan$inboundSchema.optional(), + automated: z.boolean().optional(), +}); +/** @internal */ +export type OneHundredAndSixteen$Outbound = { + deletedUser?: DeletedUser$Outbound | undefined; + deletedUid?: string | undefined; + githubUsername?: string | null | undefined; + gitlabUsername?: string | null | undefined; + bitbucketUsername?: string | null | undefined; + directoryType?: string | undefined; + role?: string | undefined; + reason?: string | undefined; + previousPlan?: string | undefined; + newPlan?: string | undefined; + automated?: boolean | undefined; +}; + +/** @internal */ +export const OneHundredAndSixteen$outboundSchema: z.ZodType< + OneHundredAndSixteen$Outbound, + z.ZodTypeDef, + OneHundredAndSixteen +> = z.object({ + deletedUser: z.lazy(() => DeletedUser$outboundSchema).optional(), + deletedUid: z.string().optional(), + githubUsername: z.nullable(z.string()).optional(), + gitlabUsername: z.nullable(z.string()).optional(), + bitbucketUsername: z.nullable(z.string()).optional(), + directoryType: z.string().optional(), + role: PayloadRole$outboundSchema.optional(), + reason: z.string().optional(), + previousPlan: PreviousPlan$outboundSchema.optional(), + newPlan: NewPlan$outboundSchema.optional(), + automated: z.boolean().optional(), +}); + +export function oneHundredAndSixteenToJSON( + oneHundredAndSixteen: OneHundredAndSixteen, +): string { + return JSON.stringify( + OneHundredAndSixteen$outboundSchema.parse(oneHundredAndSixteen), + ); +} +export function oneHundredAndSixteenFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => OneHundredAndSixteen$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndSixteen' from JSON`, + ); +} + +/** @internal */ +export const InvitedUser$inboundSchema: z.ZodType< + InvitedUser, + z.ZodTypeDef, + unknown +> = z.object({ + username: z.string(), + email: z.string(), +}); +/** @internal */ +export type InvitedUser$Outbound = { + username: string; + email: string; +}; + +/** @internal */ +export const InvitedUser$outboundSchema: z.ZodType< + InvitedUser$Outbound, + z.ZodTypeDef, + InvitedUser +> = z.object({ + username: z.string(), + email: z.string(), +}); + +export function invitedUserToJSON(invitedUser: InvitedUser): string { + return JSON.stringify(InvitedUser$outboundSchema.parse(invitedUser)); +} +export function invitedUserFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => InvitedUser$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'InvitedUser' from JSON`, + ); +} + +/** @internal */ +export const OneHundredAndFifteen$inboundSchema: z.ZodType< + OneHundredAndFifteen, + z.ZodTypeDef, + unknown +> = z.object({ + directoryType: z.string().optional(), + ssoType: z.string().optional(), + invitedUser: z.lazy(() => InvitedUser$inboundSchema).optional(), + invitedEmail: z.string().optional(), + invitationRole: z.string().optional(), + entitlements: z.array(z.string()).optional(), + invitedUid: z.string().optional(), +}); +/** @internal */ +export type OneHundredAndFifteen$Outbound = { + directoryType?: string | undefined; + ssoType?: string | undefined; + invitedUser?: InvitedUser$Outbound | undefined; + invitedEmail?: string | undefined; + invitationRole?: string | undefined; + entitlements?: Array | undefined; + invitedUid?: string | undefined; +}; + +/** @internal */ +export const OneHundredAndFifteen$outboundSchema: z.ZodType< + OneHundredAndFifteen$Outbound, + z.ZodTypeDef, + OneHundredAndFifteen +> = z.object({ + directoryType: z.string().optional(), + ssoType: z.string().optional(), + invitedUser: z.lazy(() => InvitedUser$outboundSchema).optional(), + invitedEmail: z.string().optional(), + invitationRole: z.string().optional(), + entitlements: z.array(z.string()).optional(), + invitedUid: z.string().optional(), +}); + +export function oneHundredAndFifteenToJSON( + oneHundredAndFifteen: OneHundredAndFifteen, +): string { + return JSON.stringify( + OneHundredAndFifteen$outboundSchema.parse(oneHundredAndFifteen), + ); +} +export function oneHundredAndFifteenFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => OneHundredAndFifteen$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndFifteen' from JSON`, + ); +} + +/** @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(), +}); + +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 OneHundredAndFourteen$inboundSchema: z.ZodType< + OneHundredAndFourteen, + z.ZodTypeDef, + unknown +> = z.object({ + slug: z.string(), + teamId: z.string(), + by: z.string(), + reasons: z.array(z.lazy(() => Reasons$inboundSchema)).optional(), +}); +/** @internal */ +export type OneHundredAndFourteen$Outbound = { + slug: string; + teamId: string; + by: string; + reasons?: Array | undefined; +}; + +/** @internal */ +export const OneHundredAndFourteen$outboundSchema: z.ZodType< + OneHundredAndFourteen$Outbound, + z.ZodTypeDef, + OneHundredAndFourteen +> = z.object({ + slug: z.string(), + teamId: z.string(), + by: z.string(), + reasons: z.array(z.lazy(() => Reasons$outboundSchema)).optional(), +}); + +export function oneHundredAndFourteenToJSON( + oneHundredAndFourteen: OneHundredAndFourteen, +): string { + return JSON.stringify( + OneHundredAndFourteen$outboundSchema.parse(oneHundredAndFourteen), + ); +} +export function oneHundredAndFourteenFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => OneHundredAndFourteen$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndFourteen' from JSON`, + ); +} + +/** @internal */ +export const OneHundredAndThirteen$inboundSchema: z.ZodType< + OneHundredAndThirteen, + z.ZodTypeDef, + unknown +> = z.object({ + slug: z.string(), +}); +/** @internal */ +export type OneHundredAndThirteen$Outbound = { + slug: string; +}; + +/** @internal */ +export const OneHundredAndThirteen$outboundSchema: z.ZodType< + OneHundredAndThirteen$Outbound, + z.ZodTypeDef, + OneHundredAndThirteen +> = z.object({ + slug: z.string(), +}); + +export function oneHundredAndThirteenToJSON( + oneHundredAndThirteen: OneHundredAndThirteen, +): string { + return JSON.stringify( + OneHundredAndThirteen$outboundSchema.parse(oneHundredAndThirteen), + ); +} +export function oneHundredAndThirteenFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => OneHundredAndThirteen$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndThirteen' from JSON`, + ); } -export function oneHundredAndSevenToJSON( - oneHundredAndSeven: OneHundredAndSeven, +/** @internal */ +export const Store$inboundSchema: z.ZodType = z + .object({ + name: z.string(), + id: z.string(), + }); +/** @internal */ +export type Store$Outbound = { + name: string; + id: string; +}; + +/** @internal */ +export const Store$outboundSchema: z.ZodType< + Store$Outbound, + z.ZodTypeDef, + Store +> = z.object({ + name: z.string(), + id: z.string(), +}); + +export function storeToJSON(store: Store): string { + return JSON.stringify(Store$outboundSchema.parse(store)); +} +export function storeFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Store$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Store' from JSON`, + ); +} + +/** @internal */ +export const OneHundredAndTwelve$inboundSchema: z.ZodType< + OneHundredAndTwelve, + z.ZodTypeDef, + unknown +> = z.object({ + store: z.lazy(() => Store$inboundSchema), + ownerId: z.string().optional(), +}); +/** @internal */ +export type OneHundredAndTwelve$Outbound = { + store: Store$Outbound; + ownerId?: string | undefined; +}; + +/** @internal */ +export const OneHundredAndTwelve$outboundSchema: z.ZodType< + OneHundredAndTwelve$Outbound, + z.ZodTypeDef, + OneHundredAndTwelve +> = z.object({ + store: z.lazy(() => Store$outboundSchema), + ownerId: z.string().optional(), +}); + +export function oneHundredAndTwelveToJSON( + oneHundredAndTwelve: OneHundredAndTwelve, ): string { return JSON.stringify( - OneHundredAndSeven$outboundSchema.parse(oneHundredAndSeven), + OneHundredAndTwelve$outboundSchema.parse(oneHundredAndTwelve), + ); +} +export function oneHundredAndTwelveFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => OneHundredAndTwelve$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndTwelve' from JSON`, ); } -export function oneHundredAndSevenFromJSON( +/** @internal */ +export const StoreType$inboundSchema: z.ZodNativeEnum = z + .nativeEnum(StoreType); +/** @internal */ +export const StoreType$outboundSchema: z.ZodNativeEnum = + StoreType$inboundSchema; + +/** @internal */ +export const OneHundredAndEleven$inboundSchema: z.ZodType< + OneHundredAndEleven, + z.ZodTypeDef, + unknown +> = z.object({ + storeType: StoreType$inboundSchema, +}); +/** @internal */ +export type OneHundredAndEleven$Outbound = { + storeType: string; +}; + +/** @internal */ +export const OneHundredAndEleven$outboundSchema: z.ZodType< + OneHundredAndEleven$Outbound, + z.ZodTypeDef, + OneHundredAndEleven +> = z.object({ + storeType: StoreType$outboundSchema, +}); + +export function oneHundredAndElevenToJSON( + oneHundredAndEleven: OneHundredAndEleven, +): string { + return JSON.stringify( + OneHundredAndEleven$outboundSchema.parse(oneHundredAndEleven), + ); +} +export function oneHundredAndElevenFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndSeven$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndSeven' from JSON`, + (x) => OneHundredAndEleven$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndEleven' from JSON`, ); } /** @internal */ -export const UserEventPayload106Type$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload106Type -> = z.nativeEnum(UserEventPayload106Type); +export const UserEventPayloadType$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayloadType +> = z.nativeEnum(UserEventPayloadType); +/** @internal */ +export const UserEventPayloadType$outboundSchema: z.ZodNativeEnum< + typeof UserEventPayloadType +> = UserEventPayloadType$inboundSchema; /** @internal */ -export const UserEventPayload106Type$outboundSchema: z.ZodNativeEnum< - typeof UserEventPayload106Type -> = UserEventPayload106Type$inboundSchema; +export const OneHundredAndTen$inboundSchema: z.ZodType< + OneHundredAndTen, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + name: z.string().optional(), + computeUnitsMax: z.number().optional(), + computeUnitsMin: z.number().optional(), + suspendTimeoutSeconds: z.number().optional(), + type: UserEventPayloadType$inboundSchema, +}); +/** @internal */ +export type OneHundredAndTen$Outbound = { + id: string; + name?: string | undefined; + computeUnitsMax?: number | undefined; + computeUnitsMin?: number | undefined; + suspendTimeoutSeconds?: number | undefined; + type: string; +}; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UserEventPayload106Type$ { - /** @deprecated use `UserEventPayload106Type$inboundSchema` instead. */ - export const inboundSchema = UserEventPayload106Type$inboundSchema; - /** @deprecated use `UserEventPayload106Type$outboundSchema` instead. */ - export const outboundSchema = UserEventPayload106Type$outboundSchema; +/** @internal */ +export const OneHundredAndTen$outboundSchema: z.ZodType< + OneHundredAndTen$Outbound, + z.ZodTypeDef, + OneHundredAndTen +> = z.object({ + id: z.string(), + name: z.string().optional(), + computeUnitsMax: z.number().optional(), + computeUnitsMin: z.number().optional(), + suspendTimeoutSeconds: z.number().optional(), + type: UserEventPayloadType$outboundSchema, +}); + +export function oneHundredAndTenToJSON( + oneHundredAndTen: OneHundredAndTen, +): string { + return JSON.stringify( + OneHundredAndTen$outboundSchema.parse(oneHundredAndTen), + ); +} +export function oneHundredAndTenFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => OneHundredAndTen$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndTen' from JSON`, + ); +} + +/** @internal */ +export const OneHundredAndNine$inboundSchema: z.ZodType< + OneHundredAndNine, + z.ZodTypeDef, + unknown +> = z.object({ + webhookUrl: z.string().optional(), +}); +/** @internal */ +export type OneHundredAndNine$Outbound = { + webhookUrl?: string | undefined; +}; + +/** @internal */ +export const OneHundredAndNine$outboundSchema: z.ZodType< + OneHundredAndNine$Outbound, + z.ZodTypeDef, + OneHundredAndNine +> = z.object({ + webhookUrl: z.string().optional(), +}); + +export function oneHundredAndNineToJSON( + oneHundredAndNine: OneHundredAndNine, +): string { + return JSON.stringify( + OneHundredAndNine$outboundSchema.parse(oneHundredAndNine), + ); +} +export function oneHundredAndNineFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => OneHundredAndNine$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndNine' from JSON`, + ); } +/** @internal */ +export const UserEventPayload108Type$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload108Type +> = z.nativeEnum(UserEventPayload108Type); +/** @internal */ +export const UserEventPayload108Type$outboundSchema: z.ZodNativeEnum< + typeof UserEventPayload108Type +> = UserEventPayload108Type$inboundSchema; + /** @internal */ export const PayloadPricingPlan$inboundSchema: z.ZodNativeEnum< typeof PayloadPricingPlan > = z.nativeEnum(PayloadPricingPlan); - /** @internal */ export const PayloadPricingPlan$outboundSchema: z.ZodNativeEnum< typeof PayloadPricingPlan > = PayloadPricingPlan$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PayloadPricingPlan$ { - /** @deprecated use `PayloadPricingPlan$inboundSchema` instead. */ - export const inboundSchema = PayloadPricingPlan$inboundSchema; - /** @deprecated use `PayloadPricingPlan$outboundSchema` instead. */ - export const outboundSchema = PayloadPricingPlan$outboundSchema; -} - /** @internal */ export const UserEventPayloadBudget$inboundSchema: z.ZodType< UserEventPayloadBudget, z.ZodTypeDef, unknown > = z.object({ - type: UserEventPayload106Type$inboundSchema, + type: UserEventPayload108Type$inboundSchema, fixedBudget: z.number(), previousSpend: z.array(z.number()), notifiedAt: z.array(z.number()), @@ -11521,7 +11120,6 @@ export const UserEventPayloadBudget$inboundSchema: z.ZodType< teamId: z.string(), id: z.string(), }); - /** @internal */ export type UserEventPayloadBudget$Outbound = { type: string; @@ -11545,7 +11143,7 @@ export const UserEventPayloadBudget$outboundSchema: z.ZodType< z.ZodTypeDef, UserEventPayloadBudget > = z.object({ - type: UserEventPayload106Type$outboundSchema, + type: UserEventPayload108Type$outboundSchema, fixedBudget: z.number(), previousSpend: z.array(z.number()), notifiedAt: z.array(z.number()), @@ -11560,19 +11158,6 @@ export const UserEventPayloadBudget$outboundSchema: z.ZodType< 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 UserEventPayloadBudget$ { - /** @deprecated use `UserEventPayloadBudget$inboundSchema` instead. */ - export const inboundSchema = UserEventPayloadBudget$inboundSchema; - /** @deprecated use `UserEventPayloadBudget$outboundSchema` instead. */ - export const outboundSchema = UserEventPayloadBudget$outboundSchema; - /** @deprecated use `UserEventPayloadBudget$Outbound` instead. */ - export type Outbound = UserEventPayloadBudget$Outbound; -} - export function userEventPayloadBudgetToJSON( userEventPayloadBudget: UserEventPayloadBudget, ): string { @@ -11580,7 +11165,6 @@ export function userEventPayloadBudgetToJSON( UserEventPayloadBudget$outboundSchema.parse(userEventPayloadBudget), ); } - export function userEventPayloadBudgetFromJSON( jsonString: string, ): SafeParseResult { @@ -11592,109 +11176,70 @@ export function userEventPayloadBudgetFromJSON( } /** @internal */ -export const OneHundredAndSix$inboundSchema: z.ZodType< - OneHundredAndSix, +export const OneHundredAndEight$inboundSchema: z.ZodType< + OneHundredAndEight, z.ZodTypeDef, unknown > = z.object({ budget: z.lazy(() => UserEventPayloadBudget$inboundSchema), webhookUrl: z.string().optional(), }); - /** @internal */ -export type OneHundredAndSix$Outbound = { +export type OneHundredAndEight$Outbound = { budget: UserEventPayloadBudget$Outbound; webhookUrl?: string | undefined; }; /** @internal */ -export const OneHundredAndSix$outboundSchema: z.ZodType< - OneHundredAndSix$Outbound, +export const OneHundredAndEight$outboundSchema: z.ZodType< + OneHundredAndEight$Outbound, z.ZodTypeDef, - OneHundredAndSix + OneHundredAndEight > = z.object({ budget: z.lazy(() => UserEventPayloadBudget$outboundSchema), webhookUrl: z.string().optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace OneHundredAndSix$ { - /** @deprecated use `OneHundredAndSix$inboundSchema` instead. */ - export const inboundSchema = OneHundredAndSix$inboundSchema; - /** @deprecated use `OneHundredAndSix$outboundSchema` instead. */ - export const outboundSchema = OneHundredAndSix$outboundSchema; - /** @deprecated use `OneHundredAndSix$Outbound` instead. */ - export type Outbound = OneHundredAndSix$Outbound; -} - -export function oneHundredAndSixToJSON( - oneHundredAndSix: OneHundredAndSix, +export function oneHundredAndEightToJSON( + oneHundredAndEight: OneHundredAndEight, ): string { return JSON.stringify( - OneHundredAndSix$outboundSchema.parse(oneHundredAndSix), + OneHundredAndEight$outboundSchema.parse(oneHundredAndEight), ); } - -export function oneHundredAndSixFromJSON( +export function oneHundredAndEightFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndSix$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndSix' from JSON`, + (x) => OneHundredAndEight$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndEight' from JSON`, ); } /** @internal */ -export const UserEventPayload105Type$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload105Type -> = z.nativeEnum(UserEventPayload105Type); - +export const UserEventPayload107Type$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload107Type +> = z.nativeEnum(UserEventPayload107Type); /** @internal */ -export const UserEventPayload105Type$outboundSchema: z.ZodNativeEnum< - typeof UserEventPayload105Type -> = UserEventPayload105Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UserEventPayload105Type$ { - /** @deprecated use `UserEventPayload105Type$inboundSchema` instead. */ - export const inboundSchema = UserEventPayload105Type$inboundSchema; - /** @deprecated use `UserEventPayload105Type$outboundSchema` instead. */ - export const outboundSchema = UserEventPayload105Type$outboundSchema; -} +export const UserEventPayload107Type$outboundSchema: z.ZodNativeEnum< + typeof UserEventPayload107Type +> = UserEventPayload107Type$inboundSchema; /** @internal */ export const PricingPlan$inboundSchema: z.ZodNativeEnum = z .nativeEnum(PricingPlan); - /** @internal */ export const PricingPlan$outboundSchema: z.ZodNativeEnum = PricingPlan$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PricingPlan$ { - /** @deprecated use `PricingPlan$inboundSchema` instead. */ - export const inboundSchema = PricingPlan$inboundSchema; - /** @deprecated use `PricingPlan$outboundSchema` instead. */ - export const outboundSchema = PricingPlan$outboundSchema; -} - /** @internal */ export const PayloadBudget$inboundSchema: z.ZodType< PayloadBudget, z.ZodTypeDef, unknown > = z.object({ - type: UserEventPayload105Type$inboundSchema, + type: UserEventPayload107Type$inboundSchema, fixedBudget: z.number(), previousSpend: z.array(z.number()), notifiedAt: z.array(z.number()), @@ -11708,7 +11253,6 @@ export const PayloadBudget$inboundSchema: z.ZodType< teamId: z.string(), id: z.string(), }); - /** @internal */ export type PayloadBudget$Outbound = { type: string; @@ -11732,7 +11276,7 @@ export const PayloadBudget$outboundSchema: z.ZodType< z.ZodTypeDef, PayloadBudget > = z.object({ - type: UserEventPayload105Type$outboundSchema, + type: UserEventPayload107Type$outboundSchema, fixedBudget: z.number(), previousSpend: z.array(z.number()), notifiedAt: z.array(z.number()), @@ -11747,23 +11291,9 @@ export const PayloadBudget$outboundSchema: z.ZodType< 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 PayloadBudget$ { - /** @deprecated use `PayloadBudget$inboundSchema` instead. */ - export const inboundSchema = PayloadBudget$inboundSchema; - /** @deprecated use `PayloadBudget$outboundSchema` instead. */ - export const outboundSchema = PayloadBudget$outboundSchema; - /** @deprecated use `PayloadBudget$Outbound` instead. */ - export type Outbound = PayloadBudget$Outbound; -} - export function payloadBudgetToJSON(payloadBudget: PayloadBudget): string { return JSON.stringify(PayloadBudget$outboundSchema.parse(payloadBudget)); } - export function payloadBudgetFromJSON( jsonString: string, ): SafeParseResult { @@ -11775,108 +11305,69 @@ export function payloadBudgetFromJSON( } /** @internal */ -export const OneHundredAndFive$inboundSchema: z.ZodType< - OneHundredAndFive, +export const OneHundredAndSeven$inboundSchema: z.ZodType< + OneHundredAndSeven, z.ZodTypeDef, unknown > = z.object({ budget: z.lazy(() => PayloadBudget$inboundSchema), }); - /** @internal */ -export type OneHundredAndFive$Outbound = { +export type OneHundredAndSeven$Outbound = { budget: PayloadBudget$Outbound; }; /** @internal */ -export const OneHundredAndFive$outboundSchema: z.ZodType< - OneHundredAndFive$Outbound, +export const OneHundredAndSeven$outboundSchema: z.ZodType< + OneHundredAndSeven$Outbound, z.ZodTypeDef, - OneHundredAndFive + OneHundredAndSeven > = z.object({ budget: z.lazy(() => PayloadBudget$outboundSchema), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace OneHundredAndFive$ { - /** @deprecated use `OneHundredAndFive$inboundSchema` instead. */ - export const inboundSchema = OneHundredAndFive$inboundSchema; - /** @deprecated use `OneHundredAndFive$outboundSchema` instead. */ - export const outboundSchema = OneHundredAndFive$outboundSchema; - /** @deprecated use `OneHundredAndFive$Outbound` instead. */ - export type Outbound = OneHundredAndFive$Outbound; -} - -export function oneHundredAndFiveToJSON( - oneHundredAndFive: OneHundredAndFive, +export function oneHundredAndSevenToJSON( + oneHundredAndSeven: OneHundredAndSeven, ): string { return JSON.stringify( - OneHundredAndFive$outboundSchema.parse(oneHundredAndFive), + OneHundredAndSeven$outboundSchema.parse(oneHundredAndSeven), ); } - -export function oneHundredAndFiveFromJSON( +export function oneHundredAndSevenFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndFive$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndFive' from JSON`, + (x) => OneHundredAndSeven$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndSeven' from JSON`, ); } /** @internal */ -export const UserEventPayload104Type$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload104Type -> = z.nativeEnum(UserEventPayload104Type); - +export const UserEventPayload106Type$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload106Type +> = z.nativeEnum(UserEventPayload106Type); /** @internal */ -export const UserEventPayload104Type$outboundSchema: z.ZodNativeEnum< - typeof UserEventPayload104Type -> = UserEventPayload104Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UserEventPayload104Type$ { - /** @deprecated use `UserEventPayload104Type$inboundSchema` instead. */ - export const inboundSchema = UserEventPayload104Type$inboundSchema; - /** @deprecated use `UserEventPayload104Type$outboundSchema` instead. */ - export const outboundSchema = UserEventPayload104Type$outboundSchema; -} +export const UserEventPayload106Type$outboundSchema: z.ZodNativeEnum< + typeof UserEventPayload106Type +> = UserEventPayload106Type$inboundSchema; /** @internal */ export const UserEventPayloadPricingPlan$inboundSchema: z.ZodNativeEnum< typeof UserEventPayloadPricingPlan > = z.nativeEnum(UserEventPayloadPricingPlan); - /** @internal */ export const UserEventPayloadPricingPlan$outboundSchema: z.ZodNativeEnum< typeof UserEventPayloadPricingPlan > = UserEventPayloadPricingPlan$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UserEventPayloadPricingPlan$ { - /** @deprecated use `UserEventPayloadPricingPlan$inboundSchema` instead. */ - export const inboundSchema = UserEventPayloadPricingPlan$inboundSchema; - /** @deprecated use `UserEventPayloadPricingPlan$outboundSchema` instead. */ - export const outboundSchema = UserEventPayloadPricingPlan$outboundSchema; -} - /** @internal */ export const BudgetItem$inboundSchema: z.ZodType< BudgetItem, z.ZodTypeDef, unknown > = z.object({ - type: UserEventPayload104Type$inboundSchema, + type: UserEventPayload106Type$inboundSchema, fixedBudget: z.number(), previousSpend: z.array(z.number()), notifiedAt: z.array(z.number()), @@ -11890,7 +11381,6 @@ export const BudgetItem$inboundSchema: z.ZodType< teamId: z.string(), id: z.string(), }); - /** @internal */ export type BudgetItem$Outbound = { type: string; @@ -11914,7 +11404,7 @@ export const BudgetItem$outboundSchema: z.ZodType< z.ZodTypeDef, BudgetItem > = z.object({ - type: UserEventPayload104Type$outboundSchema, + type: UserEventPayload106Type$outboundSchema, fixedBudget: z.number(), previousSpend: z.array(z.number()), notifiedAt: z.array(z.number()), @@ -11929,23 +11419,9 @@ export const BudgetItem$outboundSchema: z.ZodType< 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 BudgetItem$ { - /** @deprecated use `BudgetItem$inboundSchema` instead. */ - export const inboundSchema = BudgetItem$inboundSchema; - /** @deprecated use `BudgetItem$outboundSchema` instead. */ - export const outboundSchema = BudgetItem$outboundSchema; - /** @deprecated use `BudgetItem$Outbound` instead. */ - export type Outbound = BudgetItem$Outbound; -} - export function budgetItemToJSON(budgetItem: BudgetItem): string { return JSON.stringify(BudgetItem$outboundSchema.parse(budgetItem)); } - export function budgetItemFromJSON( jsonString: string, ): SafeParseResult { @@ -11961,7 +11437,6 @@ export const Budget$inboundSchema: z.ZodType = z .object({ budgetItem: z.lazy(() => BudgetItem$inboundSchema), }); - /** @internal */ export type Budget$Outbound = { budgetItem: BudgetItem$Outbound; @@ -11976,23 +11451,9 @@ export const Budget$outboundSchema: z.ZodType< budgetItem: z.lazy(() => BudgetItem$outboundSchema), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Budget$ { - /** @deprecated use `Budget$inboundSchema` instead. */ - export const inboundSchema = Budget$inboundSchema; - /** @deprecated use `Budget$outboundSchema` instead. */ - export const outboundSchema = Budget$outboundSchema; - /** @deprecated use `Budget$Outbound` instead. */ - export type Outbound = Budget$Outbound; -} - export function budgetToJSON(budget: Budget): string { return JSON.stringify(Budget$outboundSchema.parse(budget)); } - export function budgetFromJSON( jsonString: string, ): SafeParseResult { @@ -12004,56 +11465,41 @@ export function budgetFromJSON( } /** @internal */ -export const OneHundredAndFour$inboundSchema: z.ZodType< - OneHundredAndFour, +export const OneHundredAndSix$inboundSchema: z.ZodType< + OneHundredAndSix, z.ZodTypeDef, unknown > = z.object({ budget: z.lazy(() => Budget$inboundSchema), }); - /** @internal */ -export type OneHundredAndFour$Outbound = { +export type OneHundredAndSix$Outbound = { budget: Budget$Outbound; }; /** @internal */ -export const OneHundredAndFour$outboundSchema: z.ZodType< - OneHundredAndFour$Outbound, +export const OneHundredAndSix$outboundSchema: z.ZodType< + OneHundredAndSix$Outbound, z.ZodTypeDef, - OneHundredAndFour + OneHundredAndSix > = z.object({ budget: z.lazy(() => Budget$outboundSchema), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace OneHundredAndFour$ { - /** @deprecated use `OneHundredAndFour$inboundSchema` instead. */ - export const inboundSchema = OneHundredAndFour$inboundSchema; - /** @deprecated use `OneHundredAndFour$outboundSchema` instead. */ - export const outboundSchema = OneHundredAndFour$outboundSchema; - /** @deprecated use `OneHundredAndFour$Outbound` instead. */ - export type Outbound = OneHundredAndFour$Outbound; -} - -export function oneHundredAndFourToJSON( - oneHundredAndFour: OneHundredAndFour, +export function oneHundredAndSixToJSON( + oneHundredAndSix: OneHundredAndSix, ): string { return JSON.stringify( - OneHundredAndFour$outboundSchema.parse(oneHundredAndFour), + OneHundredAndSix$outboundSchema.parse(oneHundredAndSix), ); } - -export function oneHundredAndFourFromJSON( +export function oneHundredAndSixFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndFour$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndFour' from JSON`, + (x) => OneHundredAndSix$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndSix' from JSON`, ); } @@ -12066,7 +11512,6 @@ export const ScalingRules$inboundSchema: z.ZodType< min: z.number(), max: z.number(), }); - /** @internal */ export type ScalingRules$Outbound = { min: number; @@ -12083,23 +11528,9 @@ export const ScalingRules$outboundSchema: z.ZodType< max: 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 ScalingRules$ { - /** @deprecated use `ScalingRules$inboundSchema` instead. */ - export const inboundSchema = ScalingRules$inboundSchema; - /** @deprecated use `ScalingRules$outboundSchema` instead. */ - export const outboundSchema = ScalingRules$outboundSchema; - /** @deprecated use `ScalingRules$Outbound` instead. */ - export type Outbound = ScalingRules$Outbound; -} - export function scalingRulesToJSON(scalingRules: ScalingRules): string { return JSON.stringify(ScalingRules$outboundSchema.parse(scalingRules)); } - export function scalingRulesFromJSON( jsonString: string, ): SafeParseResult { @@ -12111,8 +11542,8 @@ export function scalingRulesFromJSON( } /** @internal */ -export const OneHundredAndThree$inboundSchema: z.ZodType< - OneHundredAndThree, +export const OneHundredAndFive$inboundSchema: z.ZodType< + OneHundredAndFive, z.ZodTypeDef, unknown > = z.object({ @@ -12121,9 +11552,8 @@ export const OneHundredAndThree$inboundSchema: z.ZodType< max: z.number(), url: z.string(), }); - /** @internal */ -export type OneHundredAndThree$Outbound = { +export type OneHundredAndFive$Outbound = { scalingRules: { [k: string]: ScalingRules$Outbound }; min: number; max: number; @@ -12131,10 +11561,10 @@ export type OneHundredAndThree$Outbound = { }; /** @internal */ -export const OneHundredAndThree$outboundSchema: z.ZodType< - OneHundredAndThree$Outbound, +export const OneHundredAndFive$outboundSchema: z.ZodType< + OneHundredAndFive$Outbound, z.ZodTypeDef, - OneHundredAndThree + OneHundredAndFive > = z.object({ scalingRules: z.record(z.lazy(() => ScalingRules$outboundSchema)), min: z.number(), @@ -12142,94 +11572,65 @@ export const OneHundredAndThree$outboundSchema: z.ZodType< 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 OneHundredAndThree$ { - /** @deprecated use `OneHundredAndThree$inboundSchema` instead. */ - export const inboundSchema = OneHundredAndThree$inboundSchema; - /** @deprecated use `OneHundredAndThree$outboundSchema` instead. */ - export const outboundSchema = OneHundredAndThree$outboundSchema; - /** @deprecated use `OneHundredAndThree$Outbound` instead. */ - export type Outbound = OneHundredAndThree$Outbound; -} - -export function oneHundredAndThreeToJSON( - oneHundredAndThree: OneHundredAndThree, +export function oneHundredAndFiveToJSON( + oneHundredAndFive: OneHundredAndFive, ): string { return JSON.stringify( - OneHundredAndThree$outboundSchema.parse(oneHundredAndThree), + OneHundredAndFive$outboundSchema.parse(oneHundredAndFive), ); } - -export function oneHundredAndThreeFromJSON( +export function oneHundredAndFiveFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndThree$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndThree' from JSON`, + (x) => OneHundredAndFive$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndFive' from JSON`, ); } /** @internal */ -export const OneHundredAndTwo$inboundSchema: z.ZodType< - OneHundredAndTwo, +export const OneHundredAndFour$inboundSchema: z.ZodType< + OneHundredAndFour, z.ZodTypeDef, unknown > = z.object({ bio: z.string(), }); - /** @internal */ -export type OneHundredAndTwo$Outbound = { +export type OneHundredAndFour$Outbound = { bio: string; }; /** @internal */ -export const OneHundredAndTwo$outboundSchema: z.ZodType< - OneHundredAndTwo$Outbound, +export const OneHundredAndFour$outboundSchema: z.ZodType< + OneHundredAndFour$Outbound, z.ZodTypeDef, - OneHundredAndTwo + OneHundredAndFour > = z.object({ bio: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace OneHundredAndTwo$ { - /** @deprecated use `OneHundredAndTwo$inboundSchema` instead. */ - export const inboundSchema = OneHundredAndTwo$inboundSchema; - /** @deprecated use `OneHundredAndTwo$outboundSchema` instead. */ - export const outboundSchema = OneHundredAndTwo$outboundSchema; - /** @deprecated use `OneHundredAndTwo$Outbound` instead. */ - export type Outbound = OneHundredAndTwo$Outbound; -} - -export function oneHundredAndTwoToJSON( - oneHundredAndTwo: OneHundredAndTwo, +export function oneHundredAndFourToJSON( + oneHundredAndFour: OneHundredAndFour, ): string { return JSON.stringify( - OneHundredAndTwo$outboundSchema.parse(oneHundredAndTwo), + OneHundredAndFour$outboundSchema.parse(oneHundredAndFour), ); } - -export function oneHundredAndTwoFromJSON( +export function oneHundredAndFourFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndTwo$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndTwo' from JSON`, + (x) => OneHundredAndFour$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndFour' from JSON`, ); } /** @internal */ -export const OneHundredAndOne$inboundSchema: z.ZodType< - OneHundredAndOne, +export const OneHundredAndThree$inboundSchema: z.ZodType< + OneHundredAndThree, z.ZodTypeDef, unknown > = z.object({ @@ -12237,53 +11638,38 @@ export const OneHundredAndOne$inboundSchema: z.ZodType< newName: z.string(), uid: z.string().optional(), }); - /** @internal */ -export type OneHundredAndOne$Outbound = { +export type OneHundredAndThree$Outbound = { oldName: string; newName: string; uid?: string | undefined; }; /** @internal */ -export const OneHundredAndOne$outboundSchema: z.ZodType< - OneHundredAndOne$Outbound, +export const OneHundredAndThree$outboundSchema: z.ZodType< + OneHundredAndThree$Outbound, z.ZodTypeDef, - OneHundredAndOne + OneHundredAndThree > = z.object({ oldName: z.string(), newName: z.string(), uid: z.string().optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace OneHundredAndOne$ { - /** @deprecated use `OneHundredAndOne$inboundSchema` instead. */ - export const inboundSchema = OneHundredAndOne$inboundSchema; - /** @deprecated use `OneHundredAndOne$outboundSchema` instead. */ - export const outboundSchema = OneHundredAndOne$outboundSchema; - /** @deprecated use `OneHundredAndOne$Outbound` instead. */ - export type Outbound = OneHundredAndOne$Outbound; -} - -export function oneHundredAndOneToJSON( - oneHundredAndOne: OneHundredAndOne, +export function oneHundredAndThreeToJSON( + oneHundredAndThree: OneHundredAndThree, ): string { return JSON.stringify( - OneHundredAndOne$outboundSchema.parse(oneHundredAndOne), + OneHundredAndThree$outboundSchema.parse(oneHundredAndThree), ); } - -export function oneHundredAndOneFromJSON( +export function oneHundredAndThreeFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundredAndOne$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundredAndOne' from JSON`, + (x) => OneHundredAndThree$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndThree' from JSON`, ); } @@ -12292,7 +11678,6 @@ export const Name2$inboundSchema: z.ZodType = z .object({ name: z.string(), }); - /** @internal */ export type Name2$Outbound = { name: string; @@ -12305,25 +11690,11 @@ export const Name2$outboundSchema: z.ZodType< Name2 > = z.object({ 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 Name2$ { - /** @deprecated use `Name2$inboundSchema` instead. */ - export const inboundSchema = Name2$inboundSchema; - /** @deprecated use `Name2$outboundSchema` instead. */ - export const outboundSchema = Name2$outboundSchema; - /** @deprecated use `Name2$Outbound` instead. */ - export type Outbound = Name2$Outbound; -} +}); export function name2ToJSON(name2: Name2): string { return JSON.stringify(Name2$outboundSchema.parse(name2)); } - export function name2FromJSON( jsonString: string, ): SafeParseResult { @@ -12337,7 +11708,6 @@ export function name2FromJSON( /** @internal */ export const Name$inboundSchema: z.ZodType = z .union([z.lazy(() => Name2$inboundSchema), z.string()]); - /** @internal */ export type Name$Outbound = Name2$Outbound | string; @@ -12345,23 +11715,9 @@ export type Name$Outbound = Name2$Outbound | string; export const Name$outboundSchema: z.ZodType = z.union([z.lazy(() => Name2$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 Name$ { - /** @deprecated use `Name$inboundSchema` instead. */ - export const inboundSchema = Name$inboundSchema; - /** @deprecated use `Name$outboundSchema` instead. */ - export const outboundSchema = Name$outboundSchema; - /** @deprecated use `Name$Outbound` instead. */ - export type Outbound = Name$Outbound; -} - export function nameToJSON(name: Name): string { return JSON.stringify(Name$outboundSchema.parse(name)); } - export function nameFromJSON( jsonString: string, ): SafeParseResult { @@ -12373,112 +11729,86 @@ export function nameFromJSON( } /** @internal */ -export const OneHundred$inboundSchema: z.ZodType< - OneHundred, +export const OneHundredAndTwo$inboundSchema: z.ZodType< + OneHundredAndTwo, z.ZodTypeDef, unknown > = z.object({ uid: z.string(), name: z.union([z.lazy(() => Name2$inboundSchema), z.string()]), }); - /** @internal */ -export type OneHundred$Outbound = { +export type OneHundredAndTwo$Outbound = { uid: string; name: Name2$Outbound | string; }; /** @internal */ -export const OneHundred$outboundSchema: z.ZodType< - OneHundred$Outbound, +export const OneHundredAndTwo$outboundSchema: z.ZodType< + OneHundredAndTwo$Outbound, z.ZodTypeDef, - OneHundred + OneHundredAndTwo > = z.object({ uid: z.string(), name: z.union([z.lazy(() => Name2$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 OneHundred$ { - /** @deprecated use `OneHundred$inboundSchema` instead. */ - export const inboundSchema = OneHundred$inboundSchema; - /** @deprecated use `OneHundred$outboundSchema` instead. */ - export const outboundSchema = OneHundred$outboundSchema; - /** @deprecated use `OneHundred$Outbound` instead. */ - export type Outbound = OneHundred$Outbound; -} - -export function oneHundredToJSON(oneHundred: OneHundred): string { - return JSON.stringify(OneHundred$outboundSchema.parse(oneHundred)); +export function oneHundredAndTwoToJSON( + oneHundredAndTwo: OneHundredAndTwo, +): string { + return JSON.stringify( + OneHundredAndTwo$outboundSchema.parse(oneHundredAndTwo), + ); } - -export function oneHundredFromJSON( +export function oneHundredAndTwoFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => OneHundred$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'OneHundred' from JSON`, + (x) => OneHundredAndTwo$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndTwo' from JSON`, ); } /** @internal */ -export const UserEventPayload99Team$inboundSchema: z.ZodType< - UserEventPayload99Team, +export const UserEventPayload101Team$inboundSchema: z.ZodType< + UserEventPayload101Team, z.ZodTypeDef, unknown > = z.object({ id: z.string(), name: z.string().optional(), }); - /** @internal */ -export type UserEventPayload99Team$Outbound = { +export type UserEventPayload101Team$Outbound = { id: string; name?: string | undefined; }; /** @internal */ -export const UserEventPayload99Team$outboundSchema: z.ZodType< - UserEventPayload99Team$Outbound, +export const UserEventPayload101Team$outboundSchema: z.ZodType< + UserEventPayload101Team$Outbound, z.ZodTypeDef, - UserEventPayload99Team + UserEventPayload101Team > = 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 UserEventPayload99Team$ { - /** @deprecated use `UserEventPayload99Team$inboundSchema` instead. */ - export const inboundSchema = UserEventPayload99Team$inboundSchema; - /** @deprecated use `UserEventPayload99Team$outboundSchema` instead. */ - export const outboundSchema = UserEventPayload99Team$outboundSchema; - /** @deprecated use `UserEventPayload99Team$Outbound` instead. */ - export type Outbound = UserEventPayload99Team$Outbound; -} - -export function userEventPayload99TeamToJSON( - userEventPayload99Team: UserEventPayload99Team, +export function userEventPayload101TeamToJSON( + userEventPayload101Team: UserEventPayload101Team, ): string { return JSON.stringify( - UserEventPayload99Team$outboundSchema.parse(userEventPayload99Team), + UserEventPayload101Team$outboundSchema.parse(userEventPayload101Team), ); } - -export function userEventPayload99TeamFromJSON( +export function userEventPayload101TeamFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload99Team$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload99Team' from JSON`, + (x) => UserEventPayload101Team$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload101Team' from JSON`, ); } @@ -12490,7 +11820,6 @@ export const PayloadPreviousRule$inboundSchema: z.ZodType< > = z.object({ email: z.string(), }); - /** @internal */ export type PayloadPreviousRule$Outbound = { email: string; @@ -12505,19 +11834,6 @@ export const PayloadPreviousRule$outboundSchema: z.ZodType< 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 PayloadPreviousRule$ { - /** @deprecated use `PayloadPreviousRule$inboundSchema` instead. */ - export const inboundSchema = PayloadPreviousRule$inboundSchema; - /** @deprecated use `PayloadPreviousRule$outboundSchema` instead. */ - export const outboundSchema = PayloadPreviousRule$outboundSchema; - /** @deprecated use `PayloadPreviousRule$Outbound` instead. */ - export type Outbound = PayloadPreviousRule$Outbound; -} - export function payloadPreviousRuleToJSON( payloadPreviousRule: PayloadPreviousRule, ): string { @@ -12525,7 +11841,6 @@ export function payloadPreviousRuleToJSON( PayloadPreviousRule$outboundSchema.parse(payloadPreviousRule), ); } - export function payloadPreviousRuleFromJSON( jsonString: string, ): SafeParseResult { @@ -12537,112 +11852,86 @@ export function payloadPreviousRuleFromJSON( } /** @internal */ -export const NinetyNine$inboundSchema: z.ZodType< - NinetyNine, +export const OneHundredAndOne$inboundSchema: z.ZodType< + OneHundredAndOne, z.ZodTypeDef, unknown > = z.object({ - team: z.lazy(() => UserEventPayload99Team$inboundSchema), + team: z.lazy(() => UserEventPayload101Team$inboundSchema), previousRule: z.lazy(() => PayloadPreviousRule$inboundSchema), }); - /** @internal */ -export type NinetyNine$Outbound = { - team: UserEventPayload99Team$Outbound; +export type OneHundredAndOne$Outbound = { + team: UserEventPayload101Team$Outbound; previousRule: PayloadPreviousRule$Outbound; }; /** @internal */ -export const NinetyNine$outboundSchema: z.ZodType< - NinetyNine$Outbound, +export const OneHundredAndOne$outboundSchema: z.ZodType< + OneHundredAndOne$Outbound, z.ZodTypeDef, - NinetyNine + OneHundredAndOne > = z.object({ - team: z.lazy(() => UserEventPayload99Team$outboundSchema), + team: z.lazy(() => UserEventPayload101Team$outboundSchema), previousRule: z.lazy(() => PayloadPreviousRule$outboundSchema), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace NinetyNine$ { - /** @deprecated use `NinetyNine$inboundSchema` instead. */ - export const inboundSchema = NinetyNine$inboundSchema; - /** @deprecated use `NinetyNine$outboundSchema` instead. */ - export const outboundSchema = NinetyNine$outboundSchema; - /** @deprecated use `NinetyNine$Outbound` instead. */ - export type Outbound = NinetyNine$Outbound; -} - -export function ninetyNineToJSON(ninetyNine: NinetyNine): string { - return JSON.stringify(NinetyNine$outboundSchema.parse(ninetyNine)); +export function oneHundredAndOneToJSON( + oneHundredAndOne: OneHundredAndOne, +): string { + return JSON.stringify( + OneHundredAndOne$outboundSchema.parse(oneHundredAndOne), + ); } - -export function ninetyNineFromJSON( +export function oneHundredAndOneFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => NinetyNine$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'NinetyNine' from JSON`, + (x) => OneHundredAndOne$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundredAndOne' from JSON`, ); } /** @internal */ -export const UserEventPayload98Team$inboundSchema: z.ZodType< - UserEventPayload98Team, +export const UserEventPayload100Team$inboundSchema: z.ZodType< + UserEventPayload100Team, z.ZodTypeDef, unknown > = z.object({ id: z.string(), name: z.string().optional(), }); - /** @internal */ -export type UserEventPayload98Team$Outbound = { +export type UserEventPayload100Team$Outbound = { id: string; name?: string | undefined; }; /** @internal */ -export const UserEventPayload98Team$outboundSchema: z.ZodType< - UserEventPayload98Team$Outbound, +export const UserEventPayload100Team$outboundSchema: z.ZodType< + UserEventPayload100Team$Outbound, z.ZodTypeDef, - UserEventPayload98Team + UserEventPayload100Team > = 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 UserEventPayload98Team$ { - /** @deprecated use `UserEventPayload98Team$inboundSchema` instead. */ - export const inboundSchema = UserEventPayload98Team$inboundSchema; - /** @deprecated use `UserEventPayload98Team$outboundSchema` instead. */ - export const outboundSchema = UserEventPayload98Team$outboundSchema; - /** @deprecated use `UserEventPayload98Team$Outbound` instead. */ - export type Outbound = UserEventPayload98Team$Outbound; -} - -export function userEventPayload98TeamToJSON( - userEventPayload98Team: UserEventPayload98Team, +export function userEventPayload100TeamToJSON( + userEventPayload100Team: UserEventPayload100Team, ): string { return JSON.stringify( - UserEventPayload98Team$outboundSchema.parse(userEventPayload98Team), + UserEventPayload100Team$outboundSchema.parse(userEventPayload100Team), ); } - -export function userEventPayload98TeamFromJSON( +export function userEventPayload100TeamFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload98Team$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload98Team' from JSON`, + (x) => UserEventPayload100Team$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload100Team' from JSON`, ); } @@ -12654,7 +11943,6 @@ export const PreviousRule$inboundSchema: z.ZodType< > = z.object({ email: z.string(), }); - /** @internal */ export type PreviousRule$Outbound = { email: string; @@ -12669,23 +11957,9 @@ export const PreviousRule$outboundSchema: z.ZodType< 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 PreviousRule$ { - /** @deprecated use `PreviousRule$inboundSchema` instead. */ - export const inboundSchema = PreviousRule$inboundSchema; - /** @deprecated use `PreviousRule$outboundSchema` instead. */ - export const outboundSchema = PreviousRule$outboundSchema; - /** @deprecated use `PreviousRule$Outbound` instead. */ - export type Outbound = PreviousRule$Outbound; -} - export function previousRuleToJSON(previousRule: PreviousRule): string { return JSON.stringify(PreviousRule$outboundSchema.parse(previousRule)); } - export function previousRuleFromJSON( jsonString: string, ): SafeParseResult { @@ -12704,7 +11978,6 @@ export const NextRule$inboundSchema: z.ZodType< > = z.object({ email: z.string(), }); - /** @internal */ export type NextRule$Outbound = { email: string; @@ -12719,23 +11992,9 @@ export const NextRule$outboundSchema: z.ZodType< 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 NextRule$ { - /** @deprecated use `NextRule$inboundSchema` instead. */ - export const inboundSchema = NextRule$inboundSchema; - /** @deprecated use `NextRule$outboundSchema` instead. */ - export const outboundSchema = NextRule$outboundSchema; - /** @deprecated use `NextRule$Outbound` instead. */ - export type Outbound = NextRule$Outbound; -} - export function nextRuleToJSON(nextRule: NextRule): string { return JSON.stringify(NextRule$outboundSchema.parse(nextRule)); } - export function nextRuleFromJSON( jsonString: string, ): SafeParseResult { @@ -12747,220 +12006,160 @@ export function nextRuleFromJSON( } /** @internal */ -export const NinetyEight$inboundSchema: z.ZodType< - NinetyEight, +export const OneHundred$inboundSchema: z.ZodType< + OneHundred, z.ZodTypeDef, unknown > = z.object({ - team: z.lazy(() => UserEventPayload98Team$inboundSchema), + team: z.lazy(() => UserEventPayload100Team$inboundSchema), previousRule: z.lazy(() => PreviousRule$inboundSchema).optional(), nextRule: z.lazy(() => NextRule$inboundSchema).optional(), }); - /** @internal */ -export type NinetyEight$Outbound = { - team: UserEventPayload98Team$Outbound; +export type OneHundred$Outbound = { + team: UserEventPayload100Team$Outbound; previousRule?: PreviousRule$Outbound | undefined; nextRule?: NextRule$Outbound | undefined; }; /** @internal */ -export const NinetyEight$outboundSchema: z.ZodType< - NinetyEight$Outbound, +export const OneHundred$outboundSchema: z.ZodType< + OneHundred$Outbound, z.ZodTypeDef, - NinetyEight + OneHundred > = z.object({ - team: z.lazy(() => UserEventPayload98Team$outboundSchema), + team: z.lazy(() => UserEventPayload100Team$outboundSchema), previousRule: z.lazy(() => PreviousRule$outboundSchema).optional(), nextRule: z.lazy(() => NextRule$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 NinetyEight$ { - /** @deprecated use `NinetyEight$inboundSchema` instead. */ - export const inboundSchema = NinetyEight$inboundSchema; - /** @deprecated use `NinetyEight$outboundSchema` instead. */ - export const outboundSchema = NinetyEight$outboundSchema; - /** @deprecated use `NinetyEight$Outbound` instead. */ - export type Outbound = NinetyEight$Outbound; -} - -export function ninetyEightToJSON(ninetyEight: NinetyEight): string { - return JSON.stringify(NinetyEight$outboundSchema.parse(ninetyEight)); +export function oneHundredToJSON(oneHundred: OneHundred): string { + return JSON.stringify(OneHundred$outboundSchema.parse(oneHundred)); } - -export function ninetyEightFromJSON( +export function oneHundredFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => NinetyEight$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'NinetyEight' from JSON`, + (x) => OneHundred$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'OneHundred' from JSON`, ); } /** @internal */ -export const NinetySeven$inboundSchema: z.ZodType< - NinetySeven, +export const NinetyNine$inboundSchema: z.ZodType< + NinetyNine, z.ZodTypeDef, unknown > = z.object({ email: z.string(), }); - /** @internal */ -export type NinetySeven$Outbound = { +export type NinetyNine$Outbound = { email: string; }; /** @internal */ -export const NinetySeven$outboundSchema: z.ZodType< - NinetySeven$Outbound, +export const NinetyNine$outboundSchema: z.ZodType< + NinetyNine$Outbound, z.ZodTypeDef, - NinetySeven + NinetyNine > = z.object({ 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 NinetySeven$ { - /** @deprecated use `NinetySeven$inboundSchema` instead. */ - export const inboundSchema = NinetySeven$inboundSchema; - /** @deprecated use `NinetySeven$outboundSchema` instead. */ - export const outboundSchema = NinetySeven$outboundSchema; - /** @deprecated use `NinetySeven$Outbound` instead. */ - export type Outbound = NinetySeven$Outbound; -} - -export function ninetySevenToJSON(ninetySeven: NinetySeven): string { - return JSON.stringify(NinetySeven$outboundSchema.parse(ninetySeven)); +export function ninetyNineToJSON(ninetyNine: NinetyNine): string { + return JSON.stringify(NinetyNine$outboundSchema.parse(ninetyNine)); } - -export function ninetySevenFromJSON( +export function ninetyNineFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => NinetySeven$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'NinetySeven' from JSON`, + (x) => NinetyNine$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'NinetyNine' from JSON`, ); } /** @internal */ -export const NinetySix$inboundSchema: z.ZodType< - NinetySix, +export const NinetyEight$inboundSchema: z.ZodType< + NinetyEight, z.ZodTypeDef, unknown > = z.object({ email: z.string(), verified: z.boolean(), }); - /** @internal */ -export type NinetySix$Outbound = { +export type NinetyEight$Outbound = { email: string; verified: boolean; }; /** @internal */ -export const NinetySix$outboundSchema: z.ZodType< - NinetySix$Outbound, +export const NinetyEight$outboundSchema: z.ZodType< + NinetyEight$Outbound, z.ZodTypeDef, - NinetySix + NinetyEight > = z.object({ email: z.string(), verified: 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 NinetySix$ { - /** @deprecated use `NinetySix$inboundSchema` instead. */ - export const inboundSchema = NinetySix$inboundSchema; - /** @deprecated use `NinetySix$outboundSchema` instead. */ - export const outboundSchema = NinetySix$outboundSchema; - /** @deprecated use `NinetySix$Outbound` instead. */ - export type Outbound = NinetySix$Outbound; -} - -export function ninetySixToJSON(ninetySix: NinetySix): string { - return JSON.stringify(NinetySix$outboundSchema.parse(ninetySix)); +export function ninetyEightToJSON(ninetyEight: NinetyEight): string { + return JSON.stringify(NinetyEight$outboundSchema.parse(ninetyEight)); } - -export function ninetySixFromJSON( +export function ninetyEightFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => NinetySix$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'NinetySix' from JSON`, + (x) => NinetyEight$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'NinetyEight' from JSON`, ); } /** @internal */ -export const NinetyFive$inboundSchema: z.ZodType< - NinetyFive, +export const NinetySeven$inboundSchema: z.ZodType< + NinetySeven, z.ZodTypeDef, unknown > = z.object({ instances: z.number(), url: z.string(), }); - /** @internal */ -export type NinetyFive$Outbound = { +export type NinetySeven$Outbound = { instances: number; url: string; }; /** @internal */ -export const NinetyFive$outboundSchema: z.ZodType< - NinetyFive$Outbound, +export const NinetySeven$outboundSchema: z.ZodType< + NinetySeven$Outbound, z.ZodTypeDef, - NinetyFive + NinetySeven > = z.object({ instances: z.number(), 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 NinetyFive$ { - /** @deprecated use `NinetyFive$inboundSchema` instead. */ - export const inboundSchema = NinetyFive$inboundSchema; - /** @deprecated use `NinetyFive$outboundSchema` instead. */ - export const outboundSchema = NinetyFive$outboundSchema; - /** @deprecated use `NinetyFive$Outbound` instead. */ - export type Outbound = NinetyFive$Outbound; -} - -export function ninetyFiveToJSON(ninetyFive: NinetyFive): string { - return JSON.stringify(NinetyFive$outboundSchema.parse(ninetyFive)); +export function ninetySevenToJSON(ninetySeven: NinetySeven): string { + return JSON.stringify(NinetySeven$outboundSchema.parse(ninetySeven)); } - -export function ninetyFiveFromJSON( +export function ninetySevenFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => NinetyFive$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'NinetyFive' from JSON`, + (x) => NinetySeven$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'NinetySeven' from JSON`, ); } /** @internal */ -export const NinetyFour$inboundSchema: z.ZodType< - NinetyFour, +export const NinetySix$inboundSchema: z.ZodType< + NinetySix, z.ZodTypeDef, unknown > = z.object({ @@ -12968,55 +12167,40 @@ export const NinetyFour$inboundSchema: z.ZodType< gitProviderGroupDescriptor: z.string(), gitScope: z.string(), }); - /** @internal */ -export type NinetyFour$Outbound = { +export type NinetySix$Outbound = { gitProvider: string; gitProviderGroupDescriptor: string; gitScope: string; }; /** @internal */ -export const NinetyFour$outboundSchema: z.ZodType< - NinetyFour$Outbound, +export const NinetySix$outboundSchema: z.ZodType< + NinetySix$Outbound, z.ZodTypeDef, - NinetyFour + NinetySix > = z.object({ gitProvider: z.string(), gitProviderGroupDescriptor: z.string(), gitScope: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace NinetyFour$ { - /** @deprecated use `NinetyFour$inboundSchema` instead. */ - export const inboundSchema = NinetyFour$inboundSchema; - /** @deprecated use `NinetyFour$outboundSchema` instead. */ - export const outboundSchema = NinetyFour$outboundSchema; - /** @deprecated use `NinetyFour$Outbound` instead. */ - export type Outbound = NinetyFour$Outbound; -} - -export function ninetyFourToJSON(ninetyFour: NinetyFour): string { - return JSON.stringify(NinetyFour$outboundSchema.parse(ninetyFour)); +export function ninetySixToJSON(ninetySix: NinetySix): string { + return JSON.stringify(NinetySix$outboundSchema.parse(ninetySix)); } - -export function ninetyFourFromJSON( +export function ninetySixFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => NinetyFour$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'NinetyFour' from JSON`, + (x) => NinetySix$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'NinetySix' from JSON`, ); } /** @internal */ -export const NinetyThree$inboundSchema: z.ZodType< - NinetyThree, +export const NinetyFive$inboundSchema: z.ZodType< + NinetyFive, z.ZodTypeDef, unknown > = z.object({ @@ -13025,9 +12209,8 @@ export const NinetyThree$inboundSchema: z.ZodType< targetDeploymentId: z.string().optional(), newTargetPercentage: z.number().optional(), }); - /** @internal */ -export type NinetyThree$Outbound = { +export type NinetyFive$Outbound = { projectId: string; projectName: string; targetDeploymentId?: string | undefined; @@ -13035,10 +12218,10 @@ export type NinetyThree$Outbound = { }; /** @internal */ -export const NinetyThree$outboundSchema: z.ZodType< - NinetyThree$Outbound, +export const NinetyFive$outboundSchema: z.ZodType< + NinetyFive$Outbound, z.ZodTypeDef, - NinetyThree + NinetyFive > = z.object({ projectId: z.string(), projectName: z.string(), @@ -13046,36 +12229,22 @@ export const NinetyThree$outboundSchema: z.ZodType< newTargetPercentage: 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 NinetyThree$ { - /** @deprecated use `NinetyThree$inboundSchema` instead. */ - export const inboundSchema = NinetyThree$inboundSchema; - /** @deprecated use `NinetyThree$outboundSchema` instead. */ - export const outboundSchema = NinetyThree$outboundSchema; - /** @deprecated use `NinetyThree$Outbound` instead. */ - export type Outbound = NinetyThree$Outbound; -} - -export function ninetyThreeToJSON(ninetyThree: NinetyThree): string { - return JSON.stringify(NinetyThree$outboundSchema.parse(ninetyThree)); +export function ninetyFiveToJSON(ninetyFive: NinetyFive): string { + return JSON.stringify(NinetyFive$outboundSchema.parse(ninetyFive)); } - -export function ninetyThreeFromJSON( +export function ninetyFiveFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => NinetyThree$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'NinetyThree' from JSON`, + (x) => NinetyFive$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'NinetyFive' from JSON`, ); } /** @internal */ -export const NinetyTwo$inboundSchema: z.ZodType< - NinetyTwo, +export const NinetyFour$inboundSchema: z.ZodType< + NinetyFour, z.ZodTypeDef, unknown > = z.object({ @@ -13083,49 +12252,34 @@ export const NinetyTwo$inboundSchema: z.ZodType< projectName: z.string(), targetDeploymentId: z.string().optional(), }); - /** @internal */ -export type NinetyTwo$Outbound = { +export type NinetyFour$Outbound = { projectId: string; projectName: string; targetDeploymentId?: string | undefined; }; /** @internal */ -export const NinetyTwo$outboundSchema: z.ZodType< - NinetyTwo$Outbound, +export const NinetyFour$outboundSchema: z.ZodType< + NinetyFour$Outbound, z.ZodTypeDef, - NinetyTwo + NinetyFour > = z.object({ projectId: z.string(), projectName: z.string(), targetDeploymentId: z.string().optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace NinetyTwo$ { - /** @deprecated use `NinetyTwo$inboundSchema` instead. */ - export const inboundSchema = NinetyTwo$inboundSchema; - /** @deprecated use `NinetyTwo$outboundSchema` instead. */ - export const outboundSchema = NinetyTwo$outboundSchema; - /** @deprecated use `NinetyTwo$Outbound` instead. */ - export type Outbound = NinetyTwo$Outbound; -} - -export function ninetyTwoToJSON(ninetyTwo: NinetyTwo): string { - return JSON.stringify(NinetyTwo$outboundSchema.parse(ninetyTwo)); +export function ninetyFourToJSON(ninetyFour: NinetyFour): string { + return JSON.stringify(NinetyFour$outboundSchema.parse(ninetyFour)); } - -export function ninetyTwoFromJSON( +export function ninetyFourFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => NinetyTwo$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'NinetyTwo' from JSON`, + (x) => NinetyFour$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'NinetyFour' from JSON`, ); } @@ -13135,12 +12289,13 @@ export const StaticIps$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ + builds: z.boolean().optional(), enabled: z.boolean(), regions: z.array(z.string()).optional(), }); - /** @internal */ export type StaticIps$Outbound = { + builds?: boolean | undefined; enabled: boolean; regions?: Array | undefined; }; @@ -13151,27 +12306,14 @@ export const StaticIps$outboundSchema: z.ZodType< z.ZodTypeDef, StaticIps > = z.object({ + builds: z.boolean().optional(), enabled: z.boolean(), regions: 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 StaticIps$ { - /** @deprecated use `StaticIps$inboundSchema` instead. */ - export const inboundSchema = StaticIps$inboundSchema; - /** @deprecated use `StaticIps$outboundSchema` instead. */ - export const outboundSchema = StaticIps$outboundSchema; - /** @deprecated use `StaticIps$Outbound` instead. */ - export type Outbound = StaticIps$Outbound; -} - export function staticIpsToJSON(staticIps: StaticIps): string { return JSON.stringify(StaticIps$outboundSchema.parse(staticIps)); } - export function staticIpsFromJSON( jsonString: string, ): SafeParseResult { @@ -13183,96 +12325,66 @@ export function staticIpsFromJSON( } /** @internal */ -export const UserEventPayload91Project$inboundSchema: z.ZodType< - UserEventPayload91Project, +export const UserEventPayload93Project$inboundSchema: z.ZodType< + UserEventPayload93Project, z.ZodTypeDef, unknown > = z.object({ id: z.string(), staticIps: z.lazy(() => StaticIps$inboundSchema), }); - /** @internal */ -export type UserEventPayload91Project$Outbound = { +export type UserEventPayload93Project$Outbound = { id: string; staticIps: StaticIps$Outbound; }; /** @internal */ -export const UserEventPayload91Project$outboundSchema: z.ZodType< - UserEventPayload91Project$Outbound, +export const UserEventPayload93Project$outboundSchema: z.ZodType< + UserEventPayload93Project$Outbound, z.ZodTypeDef, - UserEventPayload91Project + UserEventPayload93Project > = z.object({ id: z.string(), staticIps: z.lazy(() => StaticIps$outboundSchema), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UserEventPayload91Project$ { - /** @deprecated use `UserEventPayload91Project$inboundSchema` instead. */ - export const inboundSchema = UserEventPayload91Project$inboundSchema; - /** @deprecated use `UserEventPayload91Project$outboundSchema` instead. */ - export const outboundSchema = UserEventPayload91Project$outboundSchema; - /** @deprecated use `UserEventPayload91Project$Outbound` instead. */ - export type Outbound = UserEventPayload91Project$Outbound; -} - -export function userEventPayload91ProjectToJSON( - userEventPayload91Project: UserEventPayload91Project, +export function userEventPayload93ProjectToJSON( + userEventPayload93Project: UserEventPayload93Project, ): string { return JSON.stringify( - UserEventPayload91Project$outboundSchema.parse(userEventPayload91Project), + UserEventPayload93Project$outboundSchema.parse(userEventPayload93Project), ); } - -export function userEventPayload91ProjectFromJSON( +export function userEventPayload93ProjectFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload91Project$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload91Project' from JSON`, + (x) => UserEventPayload93Project$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload93Project' from JSON`, ); } /** @internal */ export const Next$inboundSchema: z.ZodType = z .object({ - project: z.lazy(() => UserEventPayload91Project$inboundSchema), + project: z.lazy(() => UserEventPayload93Project$inboundSchema), }); - /** @internal */ export type Next$Outbound = { - project: UserEventPayload91Project$Outbound; + project: UserEventPayload93Project$Outbound; }; /** @internal */ export const Next$outboundSchema: z.ZodType = z.object({ - project: z.lazy(() => UserEventPayload91Project$outboundSchema), + project: z.lazy(() => UserEventPayload93Project$outboundSchema), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Next$ { - /** @deprecated use `Next$inboundSchema` instead. */ - export const inboundSchema = Next$inboundSchema; - /** @deprecated use `Next$outboundSchema` instead. */ - export const outboundSchema = Next$outboundSchema; - /** @deprecated use `Next$Outbound` instead. */ - export type Outbound = Next$Outbound; -} - export function nextToJSON(next: Next): string { return JSON.stringify(Next$outboundSchema.parse(next)); } - export function nextFromJSON( jsonString: string, ): SafeParseResult { @@ -13289,12 +12401,13 @@ export const PayloadStaticIps$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ + builds: z.boolean().optional(), enabled: z.boolean(), regions: z.array(z.string()).optional(), }); - /** @internal */ export type PayloadStaticIps$Outbound = { + builds?: boolean | undefined; enabled: boolean; regions?: Array | undefined; }; @@ -13305,23 +12418,11 @@ export const PayloadStaticIps$outboundSchema: z.ZodType< z.ZodTypeDef, PayloadStaticIps > = z.object({ + builds: z.boolean().optional(), enabled: z.boolean(), regions: 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 PayloadStaticIps$ { - /** @deprecated use `PayloadStaticIps$inboundSchema` instead. */ - export const inboundSchema = PayloadStaticIps$inboundSchema; - /** @deprecated use `PayloadStaticIps$outboundSchema` instead. */ - export const outboundSchema = PayloadStaticIps$outboundSchema; - /** @deprecated use `PayloadStaticIps$Outbound` instead. */ - export type Outbound = PayloadStaticIps$Outbound; -} - export function payloadStaticIpsToJSON( payloadStaticIps: PayloadStaticIps, ): string { @@ -13329,7 +12430,6 @@ export function payloadStaticIpsToJSON( PayloadStaticIps$outboundSchema.parse(payloadStaticIps), ); } - export function payloadStaticIpsFromJSON( jsonString: string, ): SafeParseResult { @@ -13341,62 +12441,46 @@ export function payloadStaticIpsFromJSON( } /** @internal */ -export const UserEventPayload91PreviousProject$inboundSchema: z.ZodType< - UserEventPayload91PreviousProject, +export const UserEventPayload93PreviousProject$inboundSchema: z.ZodType< + UserEventPayload93PreviousProject, z.ZodTypeDef, unknown > = z.object({ id: z.string(), staticIps: z.lazy(() => PayloadStaticIps$inboundSchema), }); - /** @internal */ -export type UserEventPayload91PreviousProject$Outbound = { +export type UserEventPayload93PreviousProject$Outbound = { id: string; staticIps: PayloadStaticIps$Outbound; }; /** @internal */ -export const UserEventPayload91PreviousProject$outboundSchema: z.ZodType< - UserEventPayload91PreviousProject$Outbound, +export const UserEventPayload93PreviousProject$outboundSchema: z.ZodType< + UserEventPayload93PreviousProject$Outbound, z.ZodTypeDef, - UserEventPayload91PreviousProject + UserEventPayload93PreviousProject > = z.object({ id: z.string(), staticIps: z.lazy(() => PayloadStaticIps$outboundSchema), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UserEventPayload91PreviousProject$ { - /** @deprecated use `UserEventPayload91PreviousProject$inboundSchema` instead. */ - export const inboundSchema = UserEventPayload91PreviousProject$inboundSchema; - /** @deprecated use `UserEventPayload91PreviousProject$outboundSchema` instead. */ - export const outboundSchema = - UserEventPayload91PreviousProject$outboundSchema; - /** @deprecated use `UserEventPayload91PreviousProject$Outbound` instead. */ - export type Outbound = UserEventPayload91PreviousProject$Outbound; -} - -export function userEventPayload91PreviousProjectToJSON( - userEventPayload91PreviousProject: UserEventPayload91PreviousProject, +export function userEventPayload93PreviousProjectToJSON( + userEventPayload93PreviousProject: UserEventPayload93PreviousProject, ): string { return JSON.stringify( - UserEventPayload91PreviousProject$outboundSchema.parse( - userEventPayload91PreviousProject, + UserEventPayload93PreviousProject$outboundSchema.parse( + userEventPayload93PreviousProject, ), ); } - -export function userEventPayload91PreviousProjectFromJSON( +export function userEventPayload93PreviousProjectFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload91PreviousProject$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload91PreviousProject' from JSON`, + (x) => UserEventPayload93PreviousProject$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload93PreviousProject' from JSON`, ); } @@ -13406,12 +12490,11 @@ export const Previous$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - project: z.lazy(() => UserEventPayload91PreviousProject$inboundSchema), + project: z.lazy(() => UserEventPayload93PreviousProject$inboundSchema), }); - /** @internal */ export type Previous$Outbound = { - project: UserEventPayload91PreviousProject$Outbound; + project: UserEventPayload93PreviousProject$Outbound; }; /** @internal */ @@ -13420,26 +12503,12 @@ export const Previous$outboundSchema: z.ZodType< z.ZodTypeDef, Previous > = z.object({ - project: z.lazy(() => UserEventPayload91PreviousProject$outboundSchema), + project: z.lazy(() => UserEventPayload93PreviousProject$outboundSchema), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Previous$ { - /** @deprecated use `Previous$inboundSchema` instead. */ - export const inboundSchema = Previous$inboundSchema; - /** @deprecated use `Previous$outboundSchema` instead. */ - export const outboundSchema = Previous$outboundSchema; - /** @deprecated use `Previous$Outbound` instead. */ - export type Outbound = Previous$Outbound; -} - export function previousToJSON(previous: Previous): string { return JSON.stringify(Previous$outboundSchema.parse(previous)); } - export function previousFromJSON( jsonString: string, ): SafeParseResult { @@ -13451,310 +12520,222 @@ export function previousFromJSON( } /** @internal */ -export const NinetyOne$inboundSchema: z.ZodType< - NinetyOne, +export const NinetyThree$inboundSchema: z.ZodType< + NinetyThree, z.ZodTypeDef, unknown > = z.object({ next: z.lazy(() => Next$inboundSchema), previous: z.lazy(() => Previous$inboundSchema), }); - /** @internal */ -export type NinetyOne$Outbound = { +export type NinetyThree$Outbound = { next: Next$Outbound; previous: Previous$Outbound; }; /** @internal */ -export const NinetyOne$outboundSchema: z.ZodType< - NinetyOne$Outbound, +export const NinetyThree$outboundSchema: z.ZodType< + NinetyThree$Outbound, z.ZodTypeDef, - NinetyOne + NinetyThree > = z.object({ next: z.lazy(() => Next$outboundSchema), previous: z.lazy(() => Previous$outboundSchema), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace NinetyOne$ { - /** @deprecated use `NinetyOne$inboundSchema` instead. */ - export const inboundSchema = NinetyOne$inboundSchema; - /** @deprecated use `NinetyOne$outboundSchema` instead. */ - export const outboundSchema = NinetyOne$outboundSchema; - /** @deprecated use `NinetyOne$Outbound` instead. */ - export type Outbound = NinetyOne$Outbound; -} - -export function ninetyOneToJSON(ninetyOne: NinetyOne): string { - return JSON.stringify(NinetyOne$outboundSchema.parse(ninetyOne)); +export function ninetyThreeToJSON(ninetyThree: NinetyThree): string { + return JSON.stringify(NinetyThree$outboundSchema.parse(ninetyThree)); } - -export function ninetyOneFromJSON( +export function ninetyThreeFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => NinetyOne$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'NinetyOne' from JSON`, + (x) => NinetyThree$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'NinetyThree' from JSON`, ); } /** @internal */ -export const Ninety$inboundSchema: z.ZodType = z - .object({ - source: z.string(), - projectId: z.string(), - }); - +export const NinetyTwo$inboundSchema: z.ZodType< + NinetyTwo, + z.ZodTypeDef, + unknown +> = z.object({ + source: z.string(), + projectId: z.string(), +}); /** @internal */ -export type Ninety$Outbound = { +export type NinetyTwo$Outbound = { source: string; projectId: string; }; /** @internal */ -export const Ninety$outboundSchema: z.ZodType< - Ninety$Outbound, +export const NinetyTwo$outboundSchema: z.ZodType< + NinetyTwo$Outbound, z.ZodTypeDef, - Ninety + NinetyTwo > = z.object({ source: z.string(), 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 Ninety$ { - /** @deprecated use `Ninety$inboundSchema` instead. */ - export const inboundSchema = Ninety$inboundSchema; - /** @deprecated use `Ninety$outboundSchema` instead. */ - export const outboundSchema = Ninety$outboundSchema; - /** @deprecated use `Ninety$Outbound` instead. */ - export type Outbound = Ninety$Outbound; -} - -export function ninetyToJSON(ninety: Ninety): string { - return JSON.stringify(Ninety$outboundSchema.parse(ninety)); +export function ninetyTwoToJSON(ninetyTwo: NinetyTwo): string { + return JSON.stringify(NinetyTwo$outboundSchema.parse(ninetyTwo)); } - -export function ninetyFromJSON( +export function ninetyTwoFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => Ninety$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Ninety' from JSON`, + (x) => NinetyTwo$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'NinetyTwo' from JSON`, ); } /** @internal */ -export const EightyNine$inboundSchema: z.ZodType< - EightyNine, +export const PayloadReasonCode$inboundSchema: z.ZodNativeEnum< + typeof PayloadReasonCode +> = z.nativeEnum(PayloadReasonCode); +/** @internal */ +export const PayloadReasonCode$outboundSchema: z.ZodNativeEnum< + typeof PayloadReasonCode +> = PayloadReasonCode$inboundSchema; + +/** @internal */ +export const NinetyOne$inboundSchema: z.ZodType< + NinetyOne, z.ZodTypeDef, unknown > = z.object({ projectId: z.string(), + reasonCode: PayloadReasonCode$inboundSchema.optional(), }); - /** @internal */ -export type EightyNine$Outbound = { +export type NinetyOne$Outbound = { projectId: string; + reasonCode?: string | undefined; }; /** @internal */ -export const EightyNine$outboundSchema: z.ZodType< - EightyNine$Outbound, +export const NinetyOne$outboundSchema: z.ZodType< + NinetyOne$Outbound, z.ZodTypeDef, - EightyNine + NinetyOne > = z.object({ projectId: z.string(), + reasonCode: PayloadReasonCode$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 EightyNine$ { - /** @deprecated use `EightyNine$inboundSchema` instead. */ - export const inboundSchema = EightyNine$inboundSchema; - /** @deprecated use `EightyNine$outboundSchema` instead. */ - export const outboundSchema = EightyNine$outboundSchema; - /** @deprecated use `EightyNine$Outbound` instead. */ - export type Outbound = EightyNine$Outbound; -} - -export function eightyNineToJSON(eightyNine: EightyNine): string { - return JSON.stringify(EightyNine$outboundSchema.parse(eightyNine)); +export function ninetyOneToJSON(ninetyOne: NinetyOne): string { + return JSON.stringify(NinetyOne$outboundSchema.parse(ninetyOne)); } - -export function eightyNineFromJSON( +export function ninetyOneFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => EightyNine$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'EightyNine' from JSON`, + (x) => NinetyOne$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'NinetyOne' from JSON`, ); } /** @internal */ export const ReasonCode$inboundSchema: z.ZodNativeEnum = z .nativeEnum(ReasonCode); - /** @internal */ export const ReasonCode$outboundSchema: z.ZodNativeEnum = ReasonCode$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ReasonCode$ { - /** @deprecated use `ReasonCode$inboundSchema` instead. */ - export const inboundSchema = ReasonCode$inboundSchema; - /** @deprecated use `ReasonCode$outboundSchema` instead. */ - export const outboundSchema = ReasonCode$outboundSchema; -} - /** @internal */ -export const EightyEight$inboundSchema: z.ZodType< - EightyEight, - z.ZodTypeDef, - unknown -> = z.object({ - projectId: z.string(), - reasonCode: ReasonCode$inboundSchema.optional(), -}); - +export const Ninety$inboundSchema: z.ZodType = z + .object({ + projectId: z.string(), + reasonCode: ReasonCode$inboundSchema.optional(), + }); /** @internal */ -export type EightyEight$Outbound = { +export type Ninety$Outbound = { projectId: string; reasonCode?: string | undefined; }; /** @internal */ -export const EightyEight$outboundSchema: z.ZodType< - EightyEight$Outbound, +export const Ninety$outboundSchema: z.ZodType< + Ninety$Outbound, z.ZodTypeDef, - EightyEight + Ninety > = z.object({ projectId: z.string(), reasonCode: ReasonCode$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 EightyEight$ { - /** @deprecated use `EightyEight$inboundSchema` instead. */ - export const inboundSchema = EightyEight$inboundSchema; - /** @deprecated use `EightyEight$outboundSchema` instead. */ - export const outboundSchema = EightyEight$outboundSchema; - /** @deprecated use `EightyEight$Outbound` instead. */ - export type Outbound = EightyEight$Outbound; -} - -export function eightyEightToJSON(eightyEight: EightyEight): string { - return JSON.stringify(EightyEight$outboundSchema.parse(eightyEight)); +export function ninetyToJSON(ninety: Ninety): string { + return JSON.stringify(Ninety$outboundSchema.parse(ninety)); } - -export function eightyEightFromJSON( +export function ninetyFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => EightyEight$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'EightyEight' from JSON`, + (x) => Ninety$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Ninety' from JSON`, ); } /** @internal */ -export const UserEventPayload87Team$inboundSchema: z.ZodType< - UserEventPayload87Team, +export const UserEventPayload89Team$inboundSchema: z.ZodType< + UserEventPayload89Team, z.ZodTypeDef, unknown > = z.object({ id: z.string(), name: z.string(), }); - /** @internal */ -export type UserEventPayload87Team$Outbound = { +export type UserEventPayload89Team$Outbound = { id: string; name: string; }; /** @internal */ -export const UserEventPayload87Team$outboundSchema: z.ZodType< - UserEventPayload87Team$Outbound, +export const UserEventPayload89Team$outboundSchema: z.ZodType< + UserEventPayload89Team$Outbound, z.ZodTypeDef, - UserEventPayload87Team + UserEventPayload89Team > = z.object({ id: z.string(), 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 UserEventPayload87Team$ { - /** @deprecated use `UserEventPayload87Team$inboundSchema` instead. */ - export const inboundSchema = UserEventPayload87Team$inboundSchema; - /** @deprecated use `UserEventPayload87Team$outboundSchema` instead. */ - export const outboundSchema = UserEventPayload87Team$outboundSchema; - /** @deprecated use `UserEventPayload87Team$Outbound` instead. */ - export type Outbound = UserEventPayload87Team$Outbound; -} - -export function userEventPayload87TeamToJSON( - userEventPayload87Team: UserEventPayload87Team, +export function userEventPayload89TeamToJSON( + userEventPayload89Team: UserEventPayload89Team, ): string { return JSON.stringify( - UserEventPayload87Team$outboundSchema.parse(userEventPayload87Team), + UserEventPayload89Team$outboundSchema.parse(userEventPayload89Team), ); } - -export function userEventPayload87TeamFromJSON( +export function userEventPayload89TeamFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload87Team$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload87Team' from JSON`, + (x) => UserEventPayload89Team$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload89Team' from JSON`, ); } /** @internal */ export const EnvId2$inboundSchema: z.ZodNativeEnum = z .nativeEnum(EnvId2); - /** @internal */ export const EnvId2$outboundSchema: z.ZodNativeEnum = EnvId2$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace EnvId2$ { - /** @deprecated use `EnvId2$inboundSchema` instead. */ - export const inboundSchema = EnvId2$inboundSchema; - /** @deprecated use `EnvId2$outboundSchema` instead. */ - export const outboundSchema = EnvId2$outboundSchema; -} - /** @internal */ export const EnvId$inboundSchema: z.ZodType = z .union([z.string(), EnvId2$inboundSchema]); - /** @internal */ export type EnvId$Outbound = string | string; @@ -13762,26 +12743,12 @@ export type EnvId$Outbound = string | string; export const EnvId$outboundSchema: z.ZodType< EnvId$Outbound, z.ZodTypeDef, - EnvId -> = z.union([z.string(), EnvId2$outboundSchema]); - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace EnvId$ { - /** @deprecated use `EnvId$inboundSchema` instead. */ - export const inboundSchema = EnvId$inboundSchema; - /** @deprecated use `EnvId$outboundSchema` instead. */ - export const outboundSchema = EnvId$outboundSchema; - /** @deprecated use `EnvId$Outbound` instead. */ - export type Outbound = EnvId$Outbound; -} + EnvId +> = z.union([z.string(), EnvId2$outboundSchema]); export function envIdToJSON(envId: EnvId): string { return JSON.stringify(EnvId$outboundSchema.parse(envId)); } - export function envIdFromJSON( jsonString: string, ): SafeParseResult { @@ -13798,7 +12765,6 @@ export const Aws$inboundSchema: z.ZodType = z subnetIds: z.array(z.string()), securityGroupId: z.string(), }); - /** @internal */ export type Aws$Outbound = { subnetIds: Array; @@ -13812,23 +12778,9 @@ export const Aws$outboundSchema: z.ZodType = z securityGroupId: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Aws$ { - /** @deprecated use `Aws$inboundSchema` instead. */ - export const inboundSchema = Aws$inboundSchema; - /** @deprecated use `Aws$outboundSchema` instead. */ - export const outboundSchema = Aws$outboundSchema; - /** @deprecated use `Aws$Outbound` instead. */ - export type Outbound = Aws$Outbound; -} - export function awsToJSON(aws: Aws): string { return JSON.stringify(Aws$outboundSchema.parse(aws)); } - export function awsFromJSON( jsonString: string, ): SafeParseResult { @@ -13854,7 +12806,6 @@ export const OldConnectConfigurations$inboundSchema: z.ZodType< createdAt: z.number(), updatedAt: z.number(), }); - /** @internal */ export type OldConnectConfigurations$Outbound = { envId: string | string; @@ -13883,19 +12834,6 @@ export const OldConnectConfigurations$outboundSchema: z.ZodType< 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 OldConnectConfigurations$ { - /** @deprecated use `OldConnectConfigurations$inboundSchema` instead. */ - export const inboundSchema = OldConnectConfigurations$inboundSchema; - /** @deprecated use `OldConnectConfigurations$outboundSchema` instead. */ - export const outboundSchema = OldConnectConfigurations$outboundSchema; - /** @deprecated use `OldConnectConfigurations$Outbound` instead. */ - export type Outbound = OldConnectConfigurations$Outbound; -} - export function oldConnectConfigurationsToJSON( oldConnectConfigurations: OldConnectConfigurations, ): string { @@ -13903,7 +12841,6 @@ export function oldConnectConfigurationsToJSON( OldConnectConfigurations$outboundSchema.parse(oldConnectConfigurations), ); } - export function oldConnectConfigurationsFromJSON( jsonString: string, ): SafeParseResult { @@ -13918,30 +12855,17 @@ export function oldConnectConfigurationsFromJSON( export const UserEventEnvId2$inboundSchema: z.ZodNativeEnum< typeof UserEventEnvId2 > = z.nativeEnum(UserEventEnvId2); - /** @internal */ export const UserEventEnvId2$outboundSchema: z.ZodNativeEnum< typeof UserEventEnvId2 > = UserEventEnvId2$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UserEventEnvId2$ { - /** @deprecated use `UserEventEnvId2$inboundSchema` instead. */ - export const inboundSchema = UserEventEnvId2$inboundSchema; - /** @deprecated use `UserEventEnvId2$outboundSchema` instead. */ - export const outboundSchema = UserEventEnvId2$outboundSchema; -} - /** @internal */ export const PayloadEnvId$inboundSchema: z.ZodType< PayloadEnvId, z.ZodTypeDef, unknown > = z.union([z.string(), UserEventEnvId2$inboundSchema]); - /** @internal */ export type PayloadEnvId$Outbound = string | string; @@ -13952,23 +12876,9 @@ export const PayloadEnvId$outboundSchema: z.ZodType< PayloadEnvId > = z.union([z.string(), UserEventEnvId2$outboundSchema]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PayloadEnvId$ { - /** @deprecated use `PayloadEnvId$inboundSchema` instead. */ - export const inboundSchema = PayloadEnvId$inboundSchema; - /** @deprecated use `PayloadEnvId$outboundSchema` instead. */ - export const outboundSchema = PayloadEnvId$outboundSchema; - /** @deprecated use `PayloadEnvId$Outbound` instead. */ - export type Outbound = PayloadEnvId$Outbound; -} - export function payloadEnvIdToJSON(payloadEnvId: PayloadEnvId): string { return JSON.stringify(PayloadEnvId$outboundSchema.parse(payloadEnvId)); } - export function payloadEnvIdFromJSON( jsonString: string, ): SafeParseResult { @@ -13988,7 +12898,6 @@ export const PayloadAws$inboundSchema: z.ZodType< subnetIds: z.array(z.string()), securityGroupId: z.string(), }); - /** @internal */ export type PayloadAws$Outbound = { subnetIds: Array; @@ -14005,23 +12914,9 @@ export const PayloadAws$outboundSchema: z.ZodType< securityGroupId: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PayloadAws$ { - /** @deprecated use `PayloadAws$inboundSchema` instead. */ - export const inboundSchema = PayloadAws$inboundSchema; - /** @deprecated use `PayloadAws$outboundSchema` instead. */ - export const outboundSchema = PayloadAws$outboundSchema; - /** @deprecated use `PayloadAws$Outbound` instead. */ - export type Outbound = PayloadAws$Outbound; -} - export function payloadAwsToJSON(payloadAws: PayloadAws): string { return JSON.stringify(PayloadAws$outboundSchema.parse(payloadAws)); } - export function payloadAwsFromJSON( jsonString: string, ): SafeParseResult { @@ -14047,7 +12942,6 @@ export const NewConnectConfigurations$inboundSchema: z.ZodType< createdAt: z.number(), updatedAt: z.number(), }); - /** @internal */ export type NewConnectConfigurations$Outbound = { envId: string | string; @@ -14076,19 +12970,6 @@ export const NewConnectConfigurations$outboundSchema: z.ZodType< 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 NewConnectConfigurations$ { - /** @deprecated use `NewConnectConfigurations$inboundSchema` instead. */ - export const inboundSchema = NewConnectConfigurations$inboundSchema; - /** @deprecated use `NewConnectConfigurations$outboundSchema` instead. */ - export const outboundSchema = NewConnectConfigurations$outboundSchema; - /** @deprecated use `NewConnectConfigurations$Outbound` instead. */ - export type Outbound = NewConnectConfigurations$Outbound; -} - export function newConnectConfigurationsToJSON( newConnectConfigurations: NewConnectConfigurations, ): string { @@ -14096,7 +12977,6 @@ export function newConnectConfigurationsToJSON( NewConnectConfigurations$outboundSchema.parse(newConnectConfigurations), ); } - export function newConnectConfigurationsFromJSON( jsonString: string, ): SafeParseResult { @@ -14108,8 +12988,8 @@ export function newConnectConfigurationsFromJSON( } /** @internal */ -export const UserEventPayload87Project$inboundSchema: z.ZodType< - UserEventPayload87Project, +export const UserEventPayload89Project$inboundSchema: z.ZodType< + UserEventPayload89Project, z.ZodTypeDef, unknown > = z.object({ @@ -14122,9 +13002,8 @@ export const UserEventPayload87Project$inboundSchema: z.ZodType< z.array(z.lazy(() => NewConnectConfigurations$inboundSchema)), ), }); - /** @internal */ -export type UserEventPayload87Project$Outbound = { +export type UserEventPayload89Project$Outbound = { id: string; name?: string | undefined; oldConnectConfigurations: Array | null; @@ -14132,10 +13011,10 @@ export type UserEventPayload87Project$Outbound = { }; /** @internal */ -export const UserEventPayload87Project$outboundSchema: z.ZodType< - UserEventPayload87Project$Outbound, +export const UserEventPayload89Project$outboundSchema: z.ZodType< + UserEventPayload89Project$Outbound, z.ZodTypeDef, - UserEventPayload87Project + UserEventPayload89Project > = z.object({ id: z.string(), name: z.string().optional(), @@ -14147,214 +13026,143 @@ export const UserEventPayload87Project$outboundSchema: z.ZodType< ), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UserEventPayload87Project$ { - /** @deprecated use `UserEventPayload87Project$inboundSchema` instead. */ - export const inboundSchema = UserEventPayload87Project$inboundSchema; - /** @deprecated use `UserEventPayload87Project$outboundSchema` instead. */ - export const outboundSchema = UserEventPayload87Project$outboundSchema; - /** @deprecated use `UserEventPayload87Project$Outbound` instead. */ - export type Outbound = UserEventPayload87Project$Outbound; -} - -export function userEventPayload87ProjectToJSON( - userEventPayload87Project: UserEventPayload87Project, +export function userEventPayload89ProjectToJSON( + userEventPayload89Project: UserEventPayload89Project, ): string { return JSON.stringify( - UserEventPayload87Project$outboundSchema.parse(userEventPayload87Project), + UserEventPayload89Project$outboundSchema.parse(userEventPayload89Project), ); } - -export function userEventPayload87ProjectFromJSON( +export function userEventPayload89ProjectFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload87Project$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload87Project' from JSON`, + (x) => UserEventPayload89Project$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload89Project' from JSON`, ); } /** @internal */ -export const EightySeven$inboundSchema: z.ZodType< - EightySeven, +export const EightyNine$inboundSchema: z.ZodType< + EightyNine, z.ZodTypeDef, unknown > = z.object({ - team: z.lazy(() => UserEventPayload87Team$inboundSchema), - project: z.lazy(() => UserEventPayload87Project$inboundSchema), + team: z.lazy(() => UserEventPayload89Team$inboundSchema), + project: z.lazy(() => UserEventPayload89Project$inboundSchema), }); - /** @internal */ -export type EightySeven$Outbound = { - team: UserEventPayload87Team$Outbound; - project: UserEventPayload87Project$Outbound; +export type EightyNine$Outbound = { + team: UserEventPayload89Team$Outbound; + project: UserEventPayload89Project$Outbound; }; /** @internal */ -export const EightySeven$outboundSchema: z.ZodType< - EightySeven$Outbound, +export const EightyNine$outboundSchema: z.ZodType< + EightyNine$Outbound, z.ZodTypeDef, - EightySeven + EightyNine > = z.object({ - team: z.lazy(() => UserEventPayload87Team$outboundSchema), - project: z.lazy(() => UserEventPayload87Project$outboundSchema), + team: z.lazy(() => UserEventPayload89Team$outboundSchema), + project: z.lazy(() => UserEventPayload89Project$outboundSchema), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace EightySeven$ { - /** @deprecated use `EightySeven$inboundSchema` instead. */ - export const inboundSchema = EightySeven$inboundSchema; - /** @deprecated use `EightySeven$outboundSchema` instead. */ - export const outboundSchema = EightySeven$outboundSchema; - /** @deprecated use `EightySeven$Outbound` instead. */ - export type Outbound = EightySeven$Outbound; -} - -export function eightySevenToJSON(eightySeven: EightySeven): string { - return JSON.stringify(EightySeven$outboundSchema.parse(eightySeven)); +export function eightyNineToJSON(eightyNine: EightyNine): string { + return JSON.stringify(EightyNine$outboundSchema.parse(eightyNine)); } - -export function eightySevenFromJSON( +export function eightyNineFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => EightySeven$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'EightySeven' from JSON`, + (x) => EightyNine$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'EightyNine' from JSON`, ); } /** @internal */ -export const EightySix$inboundSchema: z.ZodType< - EightySix, +export const EightyEight$inboundSchema: z.ZodType< + EightyEight, z.ZodTypeDef, unknown > = z.object({ name: z.string(), ownerId: z.string(), }); - /** @internal */ -export type EightySix$Outbound = { +export type EightyEight$Outbound = { name: string; ownerId: string; }; /** @internal */ -export const EightySix$outboundSchema: z.ZodType< - EightySix$Outbound, +export const EightyEight$outboundSchema: z.ZodType< + EightyEight$Outbound, z.ZodTypeDef, - EightySix + EightyEight > = z.object({ name: z.string(), ownerId: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace EightySix$ { - /** @deprecated use `EightySix$inboundSchema` instead. */ - export const inboundSchema = EightySix$inboundSchema; - /** @deprecated use `EightySix$outboundSchema` instead. */ - export const outboundSchema = EightySix$outboundSchema; - /** @deprecated use `EightySix$Outbound` instead. */ - export type Outbound = EightySix$Outbound; -} - -export function eightySixToJSON(eightySix: EightySix): string { - return JSON.stringify(EightySix$outboundSchema.parse(eightySix)); +export function eightyEightToJSON(eightyEight: EightyEight): string { + return JSON.stringify(EightyEight$outboundSchema.parse(eightyEight)); } - -export function eightySixFromJSON( +export function eightyEightFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => EightySix$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'EightySix' from JSON`, + (x) => EightyEight$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'EightyEight' from JSON`, ); } /** @internal */ -export const UserEventPayload85Action$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload85Action -> = z.nativeEnum(UserEventPayload85Action); - +export const UserEventPayload87Action$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload87Action +> = z.nativeEnum(UserEventPayload87Action); /** @internal */ -export const UserEventPayload85Action$outboundSchema: z.ZodNativeEnum< - typeof UserEventPayload85Action -> = UserEventPayload85Action$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UserEventPayload85Action$ { - /** @deprecated use `UserEventPayload85Action$inboundSchema` instead. */ - export const inboundSchema = UserEventPayload85Action$inboundSchema; - /** @deprecated use `UserEventPayload85Action$outboundSchema` instead. */ - export const outboundSchema = UserEventPayload85Action$outboundSchema; -} +export const UserEventPayload87Action$outboundSchema: z.ZodNativeEnum< + typeof UserEventPayload87Action +> = UserEventPayload87Action$inboundSchema; /** @internal */ -export const EightyFive$inboundSchema: z.ZodType< - EightyFive, +export const EightySeven$inboundSchema: z.ZodType< + EightySeven, z.ZodTypeDef, unknown > = z.object({ projectName: z.string(), - action: UserEventPayload85Action$inboundSchema, + action: UserEventPayload87Action$inboundSchema, }); - /** @internal */ -export type EightyFive$Outbound = { +export type EightySeven$Outbound = { projectName: string; action: string; }; /** @internal */ -export const EightyFive$outboundSchema: z.ZodType< - EightyFive$Outbound, +export const EightySeven$outboundSchema: z.ZodType< + EightySeven$Outbound, z.ZodTypeDef, - EightyFive + EightySeven > = z.object({ projectName: z.string(), - action: UserEventPayload85Action$outboundSchema, + action: UserEventPayload87Action$outboundSchema, }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace EightyFive$ { - /** @deprecated use `EightyFive$inboundSchema` instead. */ - export const inboundSchema = EightyFive$inboundSchema; - /** @deprecated use `EightyFive$outboundSchema` instead. */ - export const outboundSchema = EightyFive$outboundSchema; - /** @deprecated use `EightyFive$Outbound` instead. */ - export type Outbound = EightyFive$Outbound; -} - -export function eightyFiveToJSON(eightyFive: EightyFive): string { - return JSON.stringify(EightyFive$outboundSchema.parse(eightyFive)); +export function eightySevenToJSON(eightySeven: EightySeven): string { + return JSON.stringify(EightySeven$outboundSchema.parse(eightySeven)); } - -export function eightyFiveFromJSON( +export function eightySevenFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => EightyFive$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'EightyFive' from JSON`, + (x) => EightySeven$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'EightySeven' from JSON`, ); } @@ -14363,7 +13171,6 @@ export const Paths$inboundSchema: z.ZodType = z .object({ value: z.string(), }); - /** @internal */ export type Paths$Outbound = { value: string; @@ -14378,23 +13185,9 @@ export const Paths$outboundSchema: z.ZodType< 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 { @@ -14413,7 +13206,6 @@ export const OptionsAllowlist$inboundSchema: z.ZodType< > = z.object({ paths: z.array(z.lazy(() => Paths$inboundSchema)), }); - /** @internal */ export type OptionsAllowlist$Outbound = { paths: Array; @@ -14428,19 +13220,6 @@ export const OptionsAllowlist$outboundSchema: z.ZodType< 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 { @@ -14448,7 +13227,6 @@ export function optionsAllowlistToJSON( OptionsAllowlist$outboundSchema.parse(optionsAllowlist), ); } - export function optionsAllowlistFromJSON( jsonString: string, ): SafeParseResult { @@ -14467,7 +13245,6 @@ export const PayloadPaths$inboundSchema: z.ZodType< > = z.object({ value: z.string(), }); - /** @internal */ export type PayloadPaths$Outbound = { value: string; @@ -14482,23 +13259,9 @@ export const PayloadPaths$outboundSchema: z.ZodType< 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 PayloadPaths$ { - /** @deprecated use `PayloadPaths$inboundSchema` instead. */ - export const inboundSchema = PayloadPaths$inboundSchema; - /** @deprecated use `PayloadPaths$outboundSchema` instead. */ - export const outboundSchema = PayloadPaths$outboundSchema; - /** @deprecated use `PayloadPaths$Outbound` instead. */ - export type Outbound = PayloadPaths$Outbound; -} - export function payloadPathsToJSON(payloadPaths: PayloadPaths): string { return JSON.stringify(PayloadPaths$outboundSchema.parse(payloadPaths)); } - export function payloadPathsFromJSON( jsonString: string, ): SafeParseResult { @@ -14517,7 +13280,6 @@ export const OldOptionsAllowlist$inboundSchema: z.ZodType< > = z.object({ paths: z.array(z.lazy(() => PayloadPaths$inboundSchema)), }); - /** @internal */ export type OldOptionsAllowlist$Outbound = { paths: Array; @@ -14532,19 +13294,6 @@ export const OldOptionsAllowlist$outboundSchema: z.ZodType< paths: z.array(z.lazy(() => PayloadPaths$outboundSchema)), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace OldOptionsAllowlist$ { - /** @deprecated use `OldOptionsAllowlist$inboundSchema` instead. */ - export const inboundSchema = OldOptionsAllowlist$inboundSchema; - /** @deprecated use `OldOptionsAllowlist$outboundSchema` instead. */ - export const outboundSchema = OldOptionsAllowlist$outboundSchema; - /** @deprecated use `OldOptionsAllowlist$Outbound` instead. */ - export type Outbound = OldOptionsAllowlist$Outbound; -} - export function oldOptionsAllowlistToJSON( oldOptionsAllowlist: OldOptionsAllowlist, ): string { @@ -14552,7 +13301,6 @@ export function oldOptionsAllowlistToJSON( OldOptionsAllowlist$outboundSchema.parse(oldOptionsAllowlist), ); } - export function oldOptionsAllowlistFromJSON( jsonString: string, ): SafeParseResult { @@ -14564,8 +13312,8 @@ export function oldOptionsAllowlistFromJSON( } /** @internal */ -export const EightyFour$inboundSchema: z.ZodType< - EightyFour, +export const EightySix$inboundSchema: z.ZodType< + EightySix, z.ZodTypeDef, unknown > = z.object({ @@ -14576,19 +13324,18 @@ export const EightyFour$inboundSchema: z.ZodType< z.lazy(() => OldOptionsAllowlist$inboundSchema), ).optional(), }); - /** @internal */ -export type EightyFour$Outbound = { +export type EightySix$Outbound = { projectName: string; optionsAllowlist?: OptionsAllowlist$Outbound | null | undefined; oldOptionsAllowlist?: OldOptionsAllowlist$Outbound | null | undefined; }; /** @internal */ -export const EightyFour$outboundSchema: z.ZodType< - EightyFour$Outbound, +export const EightySix$outboundSchema: z.ZodType< + EightySix$Outbound, z.ZodTypeDef, - EightyFour + EightySix > = z.object({ projectName: z.string(), optionsAllowlist: z.nullable(z.lazy(() => OptionsAllowlist$outboundSchema)) @@ -14598,76 +13345,38 @@ export const EightyFour$outboundSchema: z.ZodType< ).optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace EightyFour$ { - /** @deprecated use `EightyFour$inboundSchema` instead. */ - export const inboundSchema = EightyFour$inboundSchema; - /** @deprecated use `EightyFour$outboundSchema` instead. */ - export const outboundSchema = EightyFour$outboundSchema; - /** @deprecated use `EightyFour$Outbound` instead. */ - export type Outbound = EightyFour$Outbound; -} - -export function eightyFourToJSON(eightyFour: EightyFour): string { - return JSON.stringify(EightyFour$outboundSchema.parse(eightyFour)); +export function eightySixToJSON(eightySix: EightySix): string { + return JSON.stringify(EightySix$outboundSchema.parse(eightySix)); } - -export function eightyFourFromJSON( +export function eightySixFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => EightyFour$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'EightyFour' from JSON`, + (x) => EightySix$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'EightySix' from JSON`, ); } /** @internal */ export const TrustedIps$inboundSchema: z.ZodNativeEnum = z .nativeEnum(TrustedIps); - /** @internal */ export const TrustedIps$outboundSchema: z.ZodNativeEnum = TrustedIps$inboundSchema; -/** - * @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; -} - /** @internal */ export const OldTrustedIps$inboundSchema: z.ZodNativeEnum< typeof OldTrustedIps > = z.nativeEnum(OldTrustedIps); - /** @internal */ export const OldTrustedIps$outboundSchema: z.ZodNativeEnum< typeof OldTrustedIps > = OldTrustedIps$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace OldTrustedIps$ { - /** @deprecated use `OldTrustedIps$inboundSchema` instead. */ - export const inboundSchema = OldTrustedIps$inboundSchema; - /** @deprecated use `OldTrustedIps$outboundSchema` instead. */ - export const outboundSchema = OldTrustedIps$outboundSchema; -} - /** @internal */ -export const EightyThree$inboundSchema: z.ZodType< - EightyThree, +export const EightyFive$inboundSchema: z.ZodType< + EightyFive, z.ZodTypeDef, unknown > = z.object({ @@ -14677,9 +13386,8 @@ export const EightyThree$inboundSchema: z.ZodType< addedAddresses: z.nullable(z.array(z.string())).optional(), removedAddresses: z.nullable(z.array(z.string())).optional(), }); - /** @internal */ -export type EightyThree$Outbound = { +export type EightyFive$Outbound = { projectName: string; trustedIps?: string | null | undefined; oldTrustedIps?: string | null | undefined; @@ -14688,10 +13396,10 @@ export type EightyThree$Outbound = { }; /** @internal */ -export const EightyThree$outboundSchema: z.ZodType< - EightyThree$Outbound, +export const EightyFive$outboundSchema: z.ZodType< + EightyFive$Outbound, z.ZodTypeDef, - EightyThree + EightyFive > = z.object({ projectName: z.string(), trustedIps: z.nullable(TrustedIps$outboundSchema).optional(), @@ -14700,30 +13408,16 @@ export const EightyThree$outboundSchema: z.ZodType< removedAddresses: z.nullable(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 EightyThree$ { - /** @deprecated use `EightyThree$inboundSchema` instead. */ - export const inboundSchema = EightyThree$inboundSchema; - /** @deprecated use `EightyThree$outboundSchema` instead. */ - export const outboundSchema = EightyThree$outboundSchema; - /** @deprecated use `EightyThree$Outbound` instead. */ - export type Outbound = EightyThree$Outbound; -} - -export function eightyThreeToJSON(eightyThree: EightyThree): string { - return JSON.stringify(EightyThree$outboundSchema.parse(eightyThree)); +export function eightyFiveToJSON(eightyFive: EightyFive): string { + return JSON.stringify(EightyFive$outboundSchema.parse(eightyFive)); } - -export function eightyThreeFromJSON( +export function eightyFiveFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => EightyThree$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'EightyThree' from JSON`, + (x) => EightyFive$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'EightyFive' from JSON`, ); } @@ -14731,44 +13425,20 @@ export function eightyThreeFromJSON( export const PasswordProtection2$inboundSchema: z.ZodNativeEnum< typeof PasswordProtection2 > = z.nativeEnum(PasswordProtection2); - /** @internal */ export const PasswordProtection2$outboundSchema: z.ZodNativeEnum< typeof PasswordProtection2 > = PasswordProtection2$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PasswordProtection2$ { - /** @deprecated use `PasswordProtection2$inboundSchema` instead. */ - export const inboundSchema = PasswordProtection2$inboundSchema; - /** @deprecated use `PasswordProtection2$outboundSchema` instead. */ - export const outboundSchema = PasswordProtection2$outboundSchema; -} - /** @internal */ export const PasswordProtectionDeploymentType$inboundSchema: z.ZodNativeEnum< typeof PasswordProtectionDeploymentType > = z.nativeEnum(PasswordProtectionDeploymentType); - /** @internal */ export const PasswordProtectionDeploymentType$outboundSchema: z.ZodNativeEnum< typeof PasswordProtectionDeploymentType > = PasswordProtectionDeploymentType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PasswordProtectionDeploymentType$ { - /** @deprecated use `PasswordProtectionDeploymentType$inboundSchema` instead. */ - export const inboundSchema = PasswordProtectionDeploymentType$inboundSchema; - /** @deprecated use `PasswordProtectionDeploymentType$outboundSchema` instead. */ - export const outboundSchema = PasswordProtectionDeploymentType$outboundSchema; -} - /** @internal */ export const PasswordProtection1$inboundSchema: z.ZodType< PasswordProtection1, @@ -14777,7 +13447,6 @@ export const PasswordProtection1$inboundSchema: z.ZodType< > = z.object({ deploymentType: PasswordProtectionDeploymentType$inboundSchema, }); - /** @internal */ export type PasswordProtection1$Outbound = { deploymentType: string; @@ -14792,19 +13461,6 @@ export const PasswordProtection1$outboundSchema: z.ZodType< deploymentType: PasswordProtectionDeploymentType$outboundSchema, }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PasswordProtection1$ { - /** @deprecated use `PasswordProtection1$inboundSchema` instead. */ - export const inboundSchema = PasswordProtection1$inboundSchema; - /** @deprecated use `PasswordProtection1$outboundSchema` instead. */ - export const outboundSchema = PasswordProtection1$outboundSchema; - /** @deprecated use `PasswordProtection1$Outbound` instead. */ - export type Outbound = PasswordProtection1$Outbound; -} - export function passwordProtection1ToJSON( passwordProtection1: PasswordProtection1, ): string { @@ -14812,7 +13468,6 @@ export function passwordProtection1ToJSON( PasswordProtection1$outboundSchema.parse(passwordProtection1), ); } - export function passwordProtection1FromJSON( jsonString: string, ): SafeParseResult { @@ -14832,7 +13487,6 @@ export const PayloadPasswordProtection$inboundSchema: z.ZodType< z.lazy(() => PasswordProtection1$inboundSchema), PasswordProtection2$inboundSchema, ]); - /** @internal */ export type PayloadPasswordProtection$Outbound = | PasswordProtection1$Outbound @@ -14848,19 +13502,6 @@ export const PayloadPasswordProtection$outboundSchema: z.ZodType< PasswordProtection2$outboundSchema, ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PayloadPasswordProtection$ { - /** @deprecated use `PayloadPasswordProtection$inboundSchema` instead. */ - export const inboundSchema = PayloadPasswordProtection$inboundSchema; - /** @deprecated use `PayloadPasswordProtection$outboundSchema` instead. */ - export const outboundSchema = PayloadPasswordProtection$outboundSchema; - /** @deprecated use `PayloadPasswordProtection$Outbound` instead. */ - export type Outbound = PayloadPasswordProtection$Outbound; -} - export function payloadPasswordProtectionToJSON( payloadPasswordProtection: PayloadPasswordProtection, ): string { @@ -14868,7 +13509,6 @@ export function payloadPasswordProtectionToJSON( PayloadPasswordProtection$outboundSchema.parse(payloadPasswordProtection), ); } - export function payloadPasswordProtectionFromJSON( jsonString: string, ): SafeParseResult { @@ -14883,46 +13523,20 @@ export function payloadPasswordProtectionFromJSON( export const OldPasswordProtection2$inboundSchema: z.ZodNativeEnum< typeof OldPasswordProtection2 > = z.nativeEnum(OldPasswordProtection2); - /** @internal */ export const OldPasswordProtection2$outboundSchema: z.ZodNativeEnum< typeof OldPasswordProtection2 > = OldPasswordProtection2$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace OldPasswordProtection2$ { - /** @deprecated use `OldPasswordProtection2$inboundSchema` instead. */ - export const inboundSchema = OldPasswordProtection2$inboundSchema; - /** @deprecated use `OldPasswordProtection2$outboundSchema` instead. */ - export const outboundSchema = OldPasswordProtection2$outboundSchema; -} - /** @internal */ export const OldPasswordProtectionDeploymentType$inboundSchema: z.ZodNativeEnum< typeof OldPasswordProtectionDeploymentType > = z.nativeEnum(OldPasswordProtectionDeploymentType); - /** @internal */ export const OldPasswordProtectionDeploymentType$outboundSchema: z.ZodNativeEnum = OldPasswordProtectionDeploymentType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace OldPasswordProtectionDeploymentType$ { - /** @deprecated use `OldPasswordProtectionDeploymentType$inboundSchema` instead. */ - export const inboundSchema = - OldPasswordProtectionDeploymentType$inboundSchema; - /** @deprecated use `OldPasswordProtectionDeploymentType$outboundSchema` instead. */ - export const outboundSchema = - OldPasswordProtectionDeploymentType$outboundSchema; -} - /** @internal */ export const OldPasswordProtection1$inboundSchema: z.ZodType< OldPasswordProtection1, @@ -14931,7 +13545,6 @@ export const OldPasswordProtection1$inboundSchema: z.ZodType< > = z.object({ deploymentType: OldPasswordProtectionDeploymentType$inboundSchema, }); - /** @internal */ export type OldPasswordProtection1$Outbound = { deploymentType: string; @@ -14946,19 +13559,6 @@ export const OldPasswordProtection1$outboundSchema: z.ZodType< deploymentType: OldPasswordProtectionDeploymentType$outboundSchema, }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace OldPasswordProtection1$ { - /** @deprecated use `OldPasswordProtection1$inboundSchema` instead. */ - export const inboundSchema = OldPasswordProtection1$inboundSchema; - /** @deprecated use `OldPasswordProtection1$outboundSchema` instead. */ - export const outboundSchema = OldPasswordProtection1$outboundSchema; - /** @deprecated use `OldPasswordProtection1$Outbound` instead. */ - export type Outbound = OldPasswordProtection1$Outbound; -} - export function oldPasswordProtection1ToJSON( oldPasswordProtection1: OldPasswordProtection1, ): string { @@ -14966,7 +13566,6 @@ export function oldPasswordProtection1ToJSON( OldPasswordProtection1$outboundSchema.parse(oldPasswordProtection1), ); } - export function oldPasswordProtection1FromJSON( jsonString: string, ): SafeParseResult { @@ -14986,7 +13585,6 @@ export const OldPasswordProtection$inboundSchema: z.ZodType< z.lazy(() => OldPasswordProtection1$inboundSchema), OldPasswordProtection2$inboundSchema, ]); - /** @internal */ export type OldPasswordProtection$Outbound = | OldPasswordProtection1$Outbound @@ -15002,19 +13600,6 @@ export const OldPasswordProtection$outboundSchema: z.ZodType< OldPasswordProtection2$outboundSchema, ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace OldPasswordProtection$ { - /** @deprecated use `OldPasswordProtection$inboundSchema` instead. */ - export const inboundSchema = OldPasswordProtection$inboundSchema; - /** @deprecated use `OldPasswordProtection$outboundSchema` instead. */ - export const outboundSchema = OldPasswordProtection$outboundSchema; - /** @deprecated use `OldPasswordProtection$Outbound` instead. */ - export type Outbound = OldPasswordProtection$Outbound; -} - export function oldPasswordProtectionToJSON( oldPasswordProtection: OldPasswordProtection, ): string { @@ -15022,7 +13607,6 @@ export function oldPasswordProtectionToJSON( OldPasswordProtection$outboundSchema.parse(oldPasswordProtection), ); } - export function oldPasswordProtectionFromJSON( jsonString: string, ): SafeParseResult { @@ -15034,8 +13618,8 @@ export function oldPasswordProtectionFromJSON( } /** @internal */ -export const EightyTwo$inboundSchema: z.ZodType< - EightyTwo, +export const EightyFour$inboundSchema: z.ZodType< + EightyFour, z.ZodTypeDef, unknown > = z.object({ @@ -15053,19 +13637,18 @@ export const EightyTwo$inboundSchema: z.ZodType< ]), ), }); - /** @internal */ -export type EightyTwo$Outbound = { +export type EightyFour$Outbound = { projectName: string; passwordProtection: PasswordProtection1$Outbound | string | null; oldPasswordProtection: OldPasswordProtection1$Outbound | string | null; }; /** @internal */ -export const EightyTwo$outboundSchema: z.ZodType< - EightyTwo$Outbound, +export const EightyFour$outboundSchema: z.ZodType< + EightyFour$Outbound, z.ZodTypeDef, - EightyTwo + EightyFour > = z.object({ projectName: z.string(), passwordProtection: z.nullable( @@ -15082,30 +13665,16 @@ export const EightyTwo$outboundSchema: z.ZodType< ), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace EightyTwo$ { - /** @deprecated use `EightyTwo$inboundSchema` instead. */ - export const inboundSchema = EightyTwo$inboundSchema; - /** @deprecated use `EightyTwo$outboundSchema` instead. */ - export const outboundSchema = EightyTwo$outboundSchema; - /** @deprecated use `EightyTwo$Outbound` instead. */ - export type Outbound = EightyTwo$Outbound; -} - -export function eightyTwoToJSON(eightyTwo: EightyTwo): string { - return JSON.stringify(EightyTwo$outboundSchema.parse(eightyTwo)); +export function eightyFourToJSON(eightyFour: EightyFour): string { + return JSON.stringify(EightyFour$outboundSchema.parse(eightyFour)); } - -export function eightyTwoFromJSON( +export function eightyFourFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => EightyTwo$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'EightyTwo' from JSON`, + (x) => EightyFour$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'EightyFour' from JSON`, ); } @@ -15113,44 +13682,20 @@ export function eightyTwoFromJSON( export const SsoProtection2$inboundSchema: z.ZodNativeEnum< typeof SsoProtection2 > = z.nativeEnum(SsoProtection2); - /** @internal */ export const SsoProtection2$outboundSchema: z.ZodNativeEnum< typeof SsoProtection2 > = SsoProtection2$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace SsoProtection2$ { - /** @deprecated use `SsoProtection2$inboundSchema` instead. */ - export const inboundSchema = SsoProtection2$inboundSchema; - /** @deprecated use `SsoProtection2$outboundSchema` instead. */ - export const outboundSchema = SsoProtection2$outboundSchema; -} - /** @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 SsoProtection1$inboundSchema: z.ZodType< SsoProtection1, @@ -15159,7 +13704,6 @@ export const SsoProtection1$inboundSchema: z.ZodType< > = z.object({ deploymentType: DeploymentType$inboundSchema, }); - /** @internal */ export type SsoProtection1$Outbound = { deploymentType: string; @@ -15174,23 +13718,9 @@ export const SsoProtection1$outboundSchema: z.ZodType< deploymentType: DeploymentType$outboundSchema, }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace SsoProtection1$ { - /** @deprecated use `SsoProtection1$inboundSchema` instead. */ - export const inboundSchema = SsoProtection1$inboundSchema; - /** @deprecated use `SsoProtection1$outboundSchema` instead. */ - export const outboundSchema = SsoProtection1$outboundSchema; - /** @deprecated use `SsoProtection1$Outbound` instead. */ - export type Outbound = SsoProtection1$Outbound; -} - export function ssoProtection1ToJSON(ssoProtection1: SsoProtection1): string { return JSON.stringify(SsoProtection1$outboundSchema.parse(ssoProtection1)); } - export function ssoProtection1FromJSON( jsonString: string, ): SafeParseResult { @@ -15210,7 +13740,6 @@ export const PayloadSsoProtection$inboundSchema: z.ZodType< z.lazy(() => SsoProtection1$inboundSchema), SsoProtection2$inboundSchema, ]); - /** @internal */ export type PayloadSsoProtection$Outbound = SsoProtection1$Outbound | string; @@ -15224,19 +13753,6 @@ export const PayloadSsoProtection$outboundSchema: z.ZodType< SsoProtection2$outboundSchema, ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PayloadSsoProtection$ { - /** @deprecated use `PayloadSsoProtection$inboundSchema` instead. */ - export const inboundSchema = PayloadSsoProtection$inboundSchema; - /** @deprecated use `PayloadSsoProtection$outboundSchema` instead. */ - export const outboundSchema = PayloadSsoProtection$outboundSchema; - /** @deprecated use `PayloadSsoProtection$Outbound` instead. */ - export type Outbound = PayloadSsoProtection$Outbound; -} - export function payloadSsoProtectionToJSON( payloadSsoProtection: PayloadSsoProtection, ): string { @@ -15244,7 +13760,6 @@ export function payloadSsoProtectionToJSON( PayloadSsoProtection$outboundSchema.parse(payloadSsoProtection), ); } - export function payloadSsoProtectionFromJSON( jsonString: string, ): SafeParseResult { @@ -15259,44 +13774,20 @@ export function payloadSsoProtectionFromJSON( export const OldSsoProtection2$inboundSchema: z.ZodNativeEnum< typeof OldSsoProtection2 > = z.nativeEnum(OldSsoProtection2); - /** @internal */ export const OldSsoProtection2$outboundSchema: z.ZodNativeEnum< typeof OldSsoProtection2 > = OldSsoProtection2$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace OldSsoProtection2$ { - /** @deprecated use `OldSsoProtection2$inboundSchema` instead. */ - export const inboundSchema = OldSsoProtection2$inboundSchema; - /** @deprecated use `OldSsoProtection2$outboundSchema` instead. */ - export const outboundSchema = OldSsoProtection2$outboundSchema; -} - /** @internal */ export const OldSsoProtectionDeploymentType$inboundSchema: z.ZodNativeEnum< typeof OldSsoProtectionDeploymentType > = z.nativeEnum(OldSsoProtectionDeploymentType); - /** @internal */ export const OldSsoProtectionDeploymentType$outboundSchema: z.ZodNativeEnum< typeof OldSsoProtectionDeploymentType > = OldSsoProtectionDeploymentType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace OldSsoProtectionDeploymentType$ { - /** @deprecated use `OldSsoProtectionDeploymentType$inboundSchema` instead. */ - export const inboundSchema = OldSsoProtectionDeploymentType$inboundSchema; - /** @deprecated use `OldSsoProtectionDeploymentType$outboundSchema` instead. */ - export const outboundSchema = OldSsoProtectionDeploymentType$outboundSchema; -} - /** @internal */ export const OldSsoProtection1$inboundSchema: z.ZodType< OldSsoProtection1, @@ -15305,7 +13796,6 @@ export const OldSsoProtection1$inboundSchema: z.ZodType< > = z.object({ deploymentType: OldSsoProtectionDeploymentType$inboundSchema, }); - /** @internal */ export type OldSsoProtection1$Outbound = { deploymentType: string; @@ -15320,19 +13810,6 @@ export const OldSsoProtection1$outboundSchema: z.ZodType< deploymentType: OldSsoProtectionDeploymentType$outboundSchema, }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace OldSsoProtection1$ { - /** @deprecated use `OldSsoProtection1$inboundSchema` instead. */ - export const inboundSchema = OldSsoProtection1$inboundSchema; - /** @deprecated use `OldSsoProtection1$outboundSchema` instead. */ - export const outboundSchema = OldSsoProtection1$outboundSchema; - /** @deprecated use `OldSsoProtection1$Outbound` instead. */ - export type Outbound = OldSsoProtection1$Outbound; -} - export function oldSsoProtection1ToJSON( oldSsoProtection1: OldSsoProtection1, ): string { @@ -15340,7 +13817,6 @@ export function oldSsoProtection1ToJSON( OldSsoProtection1$outboundSchema.parse(oldSsoProtection1), ); } - export function oldSsoProtection1FromJSON( jsonString: string, ): SafeParseResult { @@ -15360,7 +13836,6 @@ export const OldSsoProtection$inboundSchema: z.ZodType< z.lazy(() => OldSsoProtection1$inboundSchema), OldSsoProtection2$inboundSchema, ]); - /** @internal */ export type OldSsoProtection$Outbound = OldSsoProtection1$Outbound | string; @@ -15374,19 +13849,6 @@ export const OldSsoProtection$outboundSchema: z.ZodType< OldSsoProtection2$outboundSchema, ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace OldSsoProtection$ { - /** @deprecated use `OldSsoProtection$inboundSchema` instead. */ - export const inboundSchema = OldSsoProtection$inboundSchema; - /** @deprecated use `OldSsoProtection$outboundSchema` instead. */ - export const outboundSchema = OldSsoProtection$outboundSchema; - /** @deprecated use `OldSsoProtection$Outbound` instead. */ - export type Outbound = OldSsoProtection$Outbound; -} - export function oldSsoProtectionToJSON( oldSsoProtection: OldSsoProtection, ): string { @@ -15394,7 +13856,6 @@ export function oldSsoProtectionToJSON( OldSsoProtection$outboundSchema.parse(oldSsoProtection), ); } - export function oldSsoProtectionFromJSON( jsonString: string, ): SafeParseResult { @@ -15406,8 +13867,8 @@ export function oldSsoProtectionFromJSON( } /** @internal */ -export const EightyOne$inboundSchema: z.ZodType< - EightyOne, +export const EightyThree$inboundSchema: z.ZodType< + EightyThree, z.ZodTypeDef, unknown > = z.object({ @@ -15425,19 +13886,18 @@ export const EightyOne$inboundSchema: z.ZodType< ]), ), }); - /** @internal */ -export type EightyOne$Outbound = { +export type EightyThree$Outbound = { projectName: string; ssoProtection: SsoProtection1$Outbound | string | null; oldSsoProtection: OldSsoProtection1$Outbound | string | null; }; /** @internal */ -export const EightyOne$outboundSchema: z.ZodType< - EightyOne$Outbound, +export const EightyThree$outboundSchema: z.ZodType< + EightyThree$Outbound, z.ZodTypeDef, - EightyOne + EightyThree > = z.object({ projectName: z.string(), ssoProtection: z.nullable( @@ -15454,86 +13914,60 @@ export const EightyOne$outboundSchema: z.ZodType< ), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace EightyOne$ { - /** @deprecated use `EightyOne$inboundSchema` instead. */ - export const inboundSchema = EightyOne$inboundSchema; - /** @deprecated use `EightyOne$outboundSchema` instead. */ - export const outboundSchema = EightyOne$outboundSchema; - /** @deprecated use `EightyOne$Outbound` instead. */ - export type Outbound = EightyOne$Outbound; -} - -export function eightyOneToJSON(eightyOne: EightyOne): string { - return JSON.stringify(EightyOne$outboundSchema.parse(eightyOne)); +export function eightyThreeToJSON(eightyThree: EightyThree): string { + return JSON.stringify(EightyThree$outboundSchema.parse(eightyThree)); } - -export function eightyOneFromJSON( +export function eightyThreeFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => EightyOne$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'EightyOne' from JSON`, + (x) => EightyThree$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'EightyThree' from JSON`, ); } /** @internal */ -export const Eighty$inboundSchema: z.ZodType = z - .object({ - projectName: z.string().optional(), - projectId: z.string(), - }); - +export const EightyTwo$inboundSchema: z.ZodType< + EightyTwo, + z.ZodTypeDef, + unknown +> = z.object({ + projectName: z.string().optional(), + projectId: z.string(), +}); /** @internal */ -export type Eighty$Outbound = { +export type EightyTwo$Outbound = { projectName?: string | undefined; projectId: string; }; /** @internal */ -export const Eighty$outboundSchema: z.ZodType< - Eighty$Outbound, +export const EightyTwo$outboundSchema: z.ZodType< + EightyTwo$Outbound, z.ZodTypeDef, - Eighty + EightyTwo > = z.object({ projectName: z.string().optional(), 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 Eighty$ { - /** @deprecated use `Eighty$inboundSchema` instead. */ - export const inboundSchema = Eighty$inboundSchema; - /** @deprecated use `Eighty$outboundSchema` instead. */ - export const outboundSchema = Eighty$outboundSchema; - /** @deprecated use `Eighty$Outbound` instead. */ - export type Outbound = Eighty$Outbound; -} - -export function eightyToJSON(eighty: Eighty): string { - return JSON.stringify(Eighty$outboundSchema.parse(eighty)); +export function eightyTwoToJSON(eightyTwo: EightyTwo): string { + return JSON.stringify(EightyTwo$outboundSchema.parse(eightyTwo)); } - -export function eightyFromJSON( +export function eightyTwoFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => Eighty$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Eighty' from JSON`, + (x) => EightyTwo$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'EightyTwo' from JSON`, ); } /** @internal */ -export const SeventyNine$inboundSchema: z.ZodType< - SeventyNine, +export const EightyOne$inboundSchema: z.ZodType< + EightyOne, z.ZodTypeDef, unknown > = z.object({ @@ -15542,9 +13976,8 @@ export const SeventyNine$inboundSchema: z.ZodType< projectAnalytics: z.record(z.any()).optional(), prevProjectAnalytics: z.nullable(z.record(z.any())).optional(), }); - /** @internal */ -export type SeventyNine$Outbound = { +export type EightyOne$Outbound = { projectName?: string | undefined; projectId: string; projectAnalytics?: { [k: string]: any } | undefined; @@ -15552,10 +13985,10 @@ export type SeventyNine$Outbound = { }; /** @internal */ -export const SeventyNine$outboundSchema: z.ZodType< - SeventyNine$Outbound, +export const EightyOne$outboundSchema: z.ZodType< + EightyOne$Outbound, z.ZodTypeDef, - SeventyNine + EightyOne > = z.object({ projectName: z.string().optional(), projectId: z.string(), @@ -15563,30 +13996,16 @@ export const SeventyNine$outboundSchema: z.ZodType< prevProjectAnalytics: z.nullable(z.record(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 SeventyNine$ { - /** @deprecated use `SeventyNine$inboundSchema` instead. */ - export const inboundSchema = SeventyNine$inboundSchema; - /** @deprecated use `SeventyNine$outboundSchema` instead. */ - export const outboundSchema = SeventyNine$outboundSchema; - /** @deprecated use `SeventyNine$Outbound` instead. */ - export type Outbound = SeventyNine$Outbound; -} - -export function seventyNineToJSON(seventyNine: SeventyNine): string { - return JSON.stringify(SeventyNine$outboundSchema.parse(seventyNine)); +export function eightyOneToJSON(eightyOne: EightyOne): string { + return JSON.stringify(EightyOne$outboundSchema.parse(eightyOne)); } - -export function seventyNineFromJSON( +export function eightyOneFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => SeventyNine$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'SeventyNine' from JSON`, + (x) => EightyOne$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'EightyOne' from JSON`, ); } @@ -15604,7 +14023,6 @@ export const ProjectAnalytics$inboundSchema: z.ZodType< sampleRatePercent: z.nullable(z.number()).optional(), spendLimitInDollars: z.nullable(z.number()).optional(), }); - /** @internal */ export type ProjectAnalytics$Outbound = { id: string; @@ -15631,19 +14049,6 @@ export const ProjectAnalytics$outboundSchema: z.ZodType< 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 ProjectAnalytics$ { - /** @deprecated use `ProjectAnalytics$inboundSchema` instead. */ - export const inboundSchema = ProjectAnalytics$inboundSchema; - /** @deprecated use `ProjectAnalytics$outboundSchema` instead. */ - export const outboundSchema = ProjectAnalytics$outboundSchema; - /** @deprecated use `ProjectAnalytics$Outbound` instead. */ - export type Outbound = ProjectAnalytics$Outbound; -} - export function projectAnalyticsToJSON( projectAnalytics: ProjectAnalytics, ): string { @@ -15651,7 +14056,6 @@ export function projectAnalyticsToJSON( ProjectAnalytics$outboundSchema.parse(projectAnalytics), ); } - export function projectAnalyticsFromJSON( jsonString: string, ): SafeParseResult { @@ -15676,7 +14080,6 @@ export const PrevProjectAnalytics$inboundSchema: z.ZodType< sampleRatePercent: z.nullable(z.number()).optional(), spendLimitInDollars: z.nullable(z.number()).optional(), }); - /** @internal */ export type PrevProjectAnalytics$Outbound = { id: string; @@ -15703,19 +14106,6 @@ export const PrevProjectAnalytics$outboundSchema: z.ZodType< 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 PrevProjectAnalytics$ { - /** @deprecated use `PrevProjectAnalytics$inboundSchema` instead. */ - export const inboundSchema = PrevProjectAnalytics$inboundSchema; - /** @deprecated use `PrevProjectAnalytics$outboundSchema` instead. */ - export const outboundSchema = PrevProjectAnalytics$outboundSchema; - /** @deprecated use `PrevProjectAnalytics$Outbound` instead. */ - export type Outbound = PrevProjectAnalytics$Outbound; -} - export function prevProjectAnalyticsToJSON( prevProjectAnalytics: PrevProjectAnalytics, ): string { @@ -15723,7 +14113,6 @@ export function prevProjectAnalyticsToJSON( PrevProjectAnalytics$outboundSchema.parse(prevProjectAnalytics), ); } - export function prevProjectAnalyticsFromJSON( jsonString: string, ): SafeParseResult { @@ -15735,21 +14124,17 @@ export function prevProjectAnalyticsFromJSON( } /** @internal */ -export const SeventyEight$inboundSchema: z.ZodType< - SeventyEight, - z.ZodTypeDef, - unknown -> = z.object({ - projectName: z.string().optional(), - projectId: z.string(), - projectAnalytics: z.nullable(z.lazy(() => ProjectAnalytics$inboundSchema)), - prevProjectAnalytics: z.nullable( - z.lazy(() => PrevProjectAnalytics$inboundSchema), - ), -}); - +export const Eighty$inboundSchema: z.ZodType = z + .object({ + projectName: z.string().optional(), + projectId: z.string(), + projectAnalytics: z.nullable(z.lazy(() => ProjectAnalytics$inboundSchema)), + prevProjectAnalytics: z.nullable( + z.lazy(() => PrevProjectAnalytics$inboundSchema), + ), + }); /** @internal */ -export type SeventyEight$Outbound = { +export type Eighty$Outbound = { projectName?: string | undefined; projectId: string; projectAnalytics: ProjectAnalytics$Outbound | null; @@ -15757,10 +14142,10 @@ export type SeventyEight$Outbound = { }; /** @internal */ -export const SeventyEight$outboundSchema: z.ZodType< - SeventyEight$Outbound, +export const Eighty$outboundSchema: z.ZodType< + Eighty$Outbound, z.ZodTypeDef, - SeventyEight + Eighty > = z.object({ projectName: z.string().optional(), projectId: z.string(), @@ -15770,135 +14155,81 @@ export const SeventyEight$outboundSchema: z.ZodType< ), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace SeventyEight$ { - /** @deprecated use `SeventyEight$inboundSchema` instead. */ - export const inboundSchema = SeventyEight$inboundSchema; - /** @deprecated use `SeventyEight$outboundSchema` instead. */ - export const outboundSchema = SeventyEight$outboundSchema; - /** @deprecated use `SeventyEight$Outbound` instead. */ - export type Outbound = SeventyEight$Outbound; -} - -export function seventyEightToJSON(seventyEight: SeventyEight): string { - return JSON.stringify(SeventyEight$outboundSchema.parse(seventyEight)); +export function eightyToJSON(eighty: Eighty): string { + return JSON.stringify(Eighty$outboundSchema.parse(eighty)); } - -export function seventyEightFromJSON( +export function eightyFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => SeventyEight$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'SeventyEight' from JSON`, + (x) => Eighty$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Eighty' from JSON`, ); } /** @internal */ -export const SeventySeven$inboundSchema: z.ZodType< - SeventySeven, +export const SeventyNine$inboundSchema: z.ZodType< + SeventyNine, z.ZodTypeDef, unknown > = z.object({ projectName: z.string(), branch: z.string(), }); - /** @internal */ -export type SeventySeven$Outbound = { +export type SeventyNine$Outbound = { projectName: string; branch: string; }; /** @internal */ -export const SeventySeven$outboundSchema: z.ZodType< - SeventySeven$Outbound, +export const SeventyNine$outboundSchema: z.ZodType< + SeventyNine$Outbound, z.ZodTypeDef, - SeventySeven + SeventyNine > = z.object({ projectName: z.string(), branch: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace SeventySeven$ { - /** @deprecated use `SeventySeven$inboundSchema` instead. */ - export const inboundSchema = SeventySeven$inboundSchema; - /** @deprecated use `SeventySeven$outboundSchema` instead. */ - export const outboundSchema = SeventySeven$outboundSchema; - /** @deprecated use `SeventySeven$Outbound` instead. */ - export type Outbound = SeventySeven$Outbound; -} - -export function seventySevenToJSON(seventySeven: SeventySeven): string { - return JSON.stringify(SeventySeven$outboundSchema.parse(seventySeven)); +export function seventyNineToJSON(seventyNine: SeventyNine): string { + return JSON.stringify(SeventyNine$outboundSchema.parse(seventyNine)); } - -export function seventySevenFromJSON( +export function seventyNineFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => SeventySeven$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'SeventySeven' from JSON`, + (x) => SeventyNine$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'SeventyNine' from JSON`, ); } /** @internal */ -export const UserEventPayload76Role$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload76Role -> = z.nativeEnum(UserEventPayload76Role); - +export const UserEventPayload78Role$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload78Role +> = z.nativeEnum(UserEventPayload78Role); /** @internal */ -export const UserEventPayload76Role$outboundSchema: z.ZodNativeEnum< - typeof UserEventPayload76Role -> = UserEventPayload76Role$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UserEventPayload76Role$ { - /** @deprecated use `UserEventPayload76Role$inboundSchema` instead. */ - export const inboundSchema = UserEventPayload76Role$inboundSchema; - /** @deprecated use `UserEventPayload76Role$outboundSchema` instead. */ - export const outboundSchema = UserEventPayload76Role$outboundSchema; -} +export const UserEventPayload78Role$outboundSchema: z.ZodNativeEnum< + typeof UserEventPayload78Role +> = UserEventPayload78Role$inboundSchema; /** @internal */ export const PayloadOrigin$inboundSchema: z.ZodNativeEnum< typeof PayloadOrigin > = z.nativeEnum(PayloadOrigin); - /** @internal */ export const PayloadOrigin$outboundSchema: z.ZodNativeEnum< typeof PayloadOrigin > = PayloadOrigin$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PayloadOrigin$ { - /** @deprecated use `PayloadOrigin$inboundSchema` instead. */ - export const inboundSchema = PayloadOrigin$inboundSchema; - /** @deprecated use `PayloadOrigin$outboundSchema` instead. */ - export const outboundSchema = PayloadOrigin$outboundSchema; -} - /** @internal */ export const PayloadGitUserId$inboundSchema: z.ZodType< PayloadGitUserId, z.ZodTypeDef, unknown > = z.union([z.string(), z.number()]); - /** @internal */ export type PayloadGitUserId$Outbound = string | number; @@ -15909,19 +14240,6 @@ export const PayloadGitUserId$outboundSchema: z.ZodType< PayloadGitUserId > = 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 PayloadGitUserId$ { - /** @deprecated use `PayloadGitUserId$inboundSchema` instead. */ - export const inboundSchema = PayloadGitUserId$inboundSchema; - /** @deprecated use `PayloadGitUserId$outboundSchema` instead. */ - export const outboundSchema = PayloadGitUserId$outboundSchema; - /** @deprecated use `PayloadGitUserId$Outbound` instead. */ - export type Outbound = PayloadGitUserId$Outbound; -} - export function payloadGitUserIdToJSON( payloadGitUserId: PayloadGitUserId, ): string { @@ -15929,7 +14247,6 @@ export function payloadGitUserIdToJSON( PayloadGitUserId$outboundSchema.parse(payloadGitUserId), ); } - export function payloadGitUserIdFromJSON( jsonString: string, ): SafeParseResult { @@ -15958,7 +14275,6 @@ export const PayloadJoinedFrom$inboundSchema: z.ZodType< dsyncUserId: z.string().optional(), dsyncConnectedAt: z.number().optional(), }); - /** @internal */ export type PayloadJoinedFrom$Outbound = { origin: string; @@ -15993,19 +14309,6 @@ export const PayloadJoinedFrom$outboundSchema: z.ZodType< 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 PayloadJoinedFrom$ { - /** @deprecated use `PayloadJoinedFrom$inboundSchema` instead. */ - export const inboundSchema = PayloadJoinedFrom$inboundSchema; - /** @deprecated use `PayloadJoinedFrom$outboundSchema` instead. */ - export const outboundSchema = PayloadJoinedFrom$outboundSchema; - /** @deprecated use `PayloadJoinedFrom$Outbound` instead. */ - export type Outbound = PayloadJoinedFrom$Outbound; -} - export function payloadJoinedFromToJSON( payloadJoinedFrom: PayloadJoinedFrom, ): string { @@ -16013,7 +14316,6 @@ export function payloadJoinedFromToJSON( PayloadJoinedFrom$outboundSchema.parse(payloadJoinedFrom), ); } - export function payloadJoinedFromFromJSON( jsonString: string, ): SafeParseResult { @@ -16030,12 +14332,11 @@ export const RemovedUsers$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - role: UserEventPayload76Role$inboundSchema, + role: UserEventPayload78Role$inboundSchema, confirmed: z.boolean(), confirmedAt: z.number().optional(), joinedFrom: z.lazy(() => PayloadJoinedFrom$inboundSchema).optional(), }); - /** @internal */ export type RemovedUsers$Outbound = { role: string; @@ -16050,29 +14351,15 @@ export const RemovedUsers$outboundSchema: z.ZodType< z.ZodTypeDef, RemovedUsers > = z.object({ - role: UserEventPayload76Role$outboundSchema, + role: UserEventPayload78Role$outboundSchema, confirmed: z.boolean(), confirmedAt: z.number().optional(), joinedFrom: z.lazy(() => PayloadJoinedFrom$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 RemovedUsers$ { - /** @deprecated use `RemovedUsers$inboundSchema` instead. */ - export const inboundSchema = RemovedUsers$inboundSchema; - /** @deprecated use `RemovedUsers$outboundSchema` instead. */ - export const outboundSchema = RemovedUsers$outboundSchema; - /** @deprecated use `RemovedUsers$Outbound` instead. */ - export type Outbound = RemovedUsers$Outbound; -} - export function removedUsersToJSON(removedUsers: RemovedUsers): string { return JSON.stringify(RemovedUsers$outboundSchema.parse(removedUsers)); } - export function removedUsersFromJSON( jsonString: string, ): SafeParseResult { @@ -16084,126 +14371,111 @@ export function removedUsersFromJSON( } /** @internal */ -export const SeventySix$inboundSchema: z.ZodType< - SeventySix, +export const SeventyEight$inboundSchema: z.ZodType< + SeventyEight, z.ZodTypeDef, unknown > = z.object({ plan: z.string(), removedUsers: z.record(z.lazy(() => RemovedUsers$inboundSchema)).optional(), + prevPlan: z.string().optional(), priorPlan: z.string().optional(), isDowngrade: z.boolean().optional(), userAgent: z.string().optional(), isReactivate: z.boolean().optional(), isTrialUpgrade: z.boolean().optional(), + automated: z.boolean().optional(), + reason: z.string().optional(), + timestamp: z.number().optional(), + removedMemberCount: z.number().optional(), }); - /** @internal */ -export type SeventySix$Outbound = { +export type SeventyEight$Outbound = { plan: string; removedUsers?: { [k: string]: RemovedUsers$Outbound } | undefined; + prevPlan?: string | undefined; priorPlan?: string | undefined; isDowngrade?: boolean | undefined; userAgent?: string | undefined; isReactivate?: boolean | undefined; isTrialUpgrade?: boolean | undefined; + automated?: boolean | undefined; + reason?: string | undefined; + timestamp?: number | undefined; + removedMemberCount?: number | undefined; }; /** @internal */ -export const SeventySix$outboundSchema: z.ZodType< - SeventySix$Outbound, +export const SeventyEight$outboundSchema: z.ZodType< + SeventyEight$Outbound, z.ZodTypeDef, - SeventySix + SeventyEight > = z.object({ plan: z.string(), removedUsers: z.record(z.lazy(() => RemovedUsers$outboundSchema)).optional(), + prevPlan: z.string().optional(), priorPlan: z.string().optional(), isDowngrade: z.boolean().optional(), userAgent: z.string().optional(), isReactivate: z.boolean().optional(), isTrialUpgrade: z.boolean().optional(), + automated: z.boolean().optional(), + reason: z.string().optional(), + timestamp: z.number().optional(), + removedMemberCount: 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 SeventySix$ { - /** @deprecated use `SeventySix$inboundSchema` instead. */ - export const inboundSchema = SeventySix$inboundSchema; - /** @deprecated use `SeventySix$outboundSchema` instead. */ - export const outboundSchema = SeventySix$outboundSchema; - /** @deprecated use `SeventySix$Outbound` instead. */ - export type Outbound = SeventySix$Outbound; -} - -export function seventySixToJSON(seventySix: SeventySix): string { - return JSON.stringify(SeventySix$outboundSchema.parse(seventySix)); +export function seventyEightToJSON(seventyEight: SeventyEight): string { + return JSON.stringify(SeventyEight$outboundSchema.parse(seventyEight)); } - -export function seventySixFromJSON( +export function seventyEightFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => SeventySix$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'SeventySix' from JSON`, + (x) => SeventyEight$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'SeventyEight' from JSON`, ); } /** @internal */ -export const SeventyFive$inboundSchema: z.ZodType< - SeventyFive, +export const SeventySeven$inboundSchema: z.ZodType< + SeventySeven, z.ZodTypeDef, unknown > = z.object({ projectName: z.string(), }); - /** @internal */ -export type SeventyFive$Outbound = { +export type SeventySeven$Outbound = { projectName: string; }; /** @internal */ -export const SeventyFive$outboundSchema: z.ZodType< - SeventyFive$Outbound, +export const SeventySeven$outboundSchema: z.ZodType< + SeventySeven$Outbound, z.ZodTypeDef, - SeventyFive + SeventySeven > = z.object({ projectName: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace SeventyFive$ { - /** @deprecated use `SeventyFive$inboundSchema` instead. */ - export const inboundSchema = SeventyFive$inboundSchema; - /** @deprecated use `SeventyFive$outboundSchema` instead. */ - export const outboundSchema = SeventyFive$outboundSchema; - /** @deprecated use `SeventyFive$Outbound` instead. */ - export type Outbound = SeventyFive$Outbound; -} - -export function seventyFiveToJSON(seventyFive: SeventyFive): string { - return JSON.stringify(SeventyFive$outboundSchema.parse(seventyFive)); +export function seventySevenToJSON(seventySeven: SeventySeven): string { + return JSON.stringify(SeventySeven$outboundSchema.parse(seventySeven)); } - -export function seventyFiveFromJSON( +export function seventySevenFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => SeventyFive$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'SeventyFive' from JSON`, + (x) => SeventySeven$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'SeventySeven' from JSON`, ); } /** @internal */ -export const SeventyFour$inboundSchema: z.ZodType< - SeventyFour, +export const SeventySix$inboundSchema: z.ZodType< + SeventySix, z.ZodTypeDef, unknown > = z.object({ @@ -16211,236 +14483,163 @@ export const SeventyFour$inboundSchema: z.ZodType< toDeploymentId: z.string(), projectName: z.string(), }); - /** @internal */ -export type SeventyFour$Outbound = { +export type SeventySix$Outbound = { projectId: string; toDeploymentId: string; projectName: string; }; /** @internal */ -export const SeventyFour$outboundSchema: z.ZodType< - SeventyFour$Outbound, +export const SeventySix$outboundSchema: z.ZodType< + SeventySix$Outbound, z.ZodTypeDef, - SeventyFour + SeventySix > = z.object({ projectId: z.string(), toDeploymentId: z.string(), projectName: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace SeventyFour$ { - /** @deprecated use `SeventyFour$inboundSchema` instead. */ - export const inboundSchema = SeventyFour$inboundSchema; - /** @deprecated use `SeventyFour$outboundSchema` instead. */ - export const outboundSchema = SeventyFour$outboundSchema; - /** @deprecated use `SeventyFour$Outbound` instead. */ - export type Outbound = SeventyFour$Outbound; -} - -export function seventyFourToJSON(seventyFour: SeventyFour): string { - return JSON.stringify(SeventyFour$outboundSchema.parse(seventyFour)); +export function seventySixToJSON(seventySix: SeventySix): string { + return JSON.stringify(SeventySix$outboundSchema.parse(seventySix)); } - -export function seventyFourFromJSON( +export function seventySixFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => SeventyFour$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'SeventyFour' from JSON`, + (x) => SeventySix$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'SeventySix' from JSON`, ); } /** @internal */ -export const SeventyThree$inboundSchema: z.ZodType< - SeventyThree, +export const SeventyFive$inboundSchema: z.ZodType< + SeventyFive, z.ZodTypeDef, unknown > = z.object({ drainUrl: z.nullable(z.string()), integrationName: z.string().optional(), }); - /** @internal */ -export type SeventyThree$Outbound = { +export type SeventyFive$Outbound = { drainUrl: string | null; integrationName?: string | undefined; }; /** @internal */ -export const SeventyThree$outboundSchema: z.ZodType< - SeventyThree$Outbound, +export const SeventyFive$outboundSchema: z.ZodType< + SeventyFive$Outbound, z.ZodTypeDef, - SeventyThree + SeventyFive > = z.object({ drainUrl: z.nullable(z.string()), integrationName: z.string().optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace SeventyThree$ { - /** @deprecated use `SeventyThree$inboundSchema` instead. */ - export const inboundSchema = SeventyThree$inboundSchema; - /** @deprecated use `SeventyThree$outboundSchema` instead. */ - export const outboundSchema = SeventyThree$outboundSchema; - /** @deprecated use `SeventyThree$Outbound` instead. */ - export type Outbound = SeventyThree$Outbound; -} - -export function seventyThreeToJSON(seventyThree: SeventyThree): string { - return JSON.stringify(SeventyThree$outboundSchema.parse(seventyThree)); +export function seventyFiveToJSON(seventyFive: SeventyFive): string { + return JSON.stringify(SeventyFive$outboundSchema.parse(seventyFive)); } - -export function seventyThreeFromJSON( +export function seventyFiveFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => SeventyThree$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'SeventyThree' from JSON`, + (x) => SeventyFive$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'SeventyFive' from JSON`, ); } /** @internal */ -export const SeventyTwo$inboundSchema: z.ZodType< - SeventyTwo, +export const SeventyFour$inboundSchema: z.ZodType< + SeventyFour, z.ZodTypeDef, unknown > = z.object({ logDrainUrl: z.string(), integrationName: z.string().optional(), }); - /** @internal */ -export type SeventyTwo$Outbound = { +export type SeventyFour$Outbound = { logDrainUrl: string; integrationName?: string | undefined; }; /** @internal */ -export const SeventyTwo$outboundSchema: z.ZodType< - SeventyTwo$Outbound, +export const SeventyFour$outboundSchema: z.ZodType< + SeventyFour$Outbound, z.ZodTypeDef, - SeventyTwo + SeventyFour > = z.object({ logDrainUrl: z.string(), integrationName: z.string().optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace SeventyTwo$ { - /** @deprecated use `SeventyTwo$inboundSchema` instead. */ - export const inboundSchema = SeventyTwo$inboundSchema; - /** @deprecated use `SeventyTwo$outboundSchema` instead. */ - export const outboundSchema = SeventyTwo$outboundSchema; - /** @deprecated use `SeventyTwo$Outbound` instead. */ - export type Outbound = SeventyTwo$Outbound; -} - -export function seventyTwoToJSON(seventyTwo: SeventyTwo): string { - return JSON.stringify(SeventyTwo$outboundSchema.parse(seventyTwo)); +export function seventyFourToJSON(seventyFour: SeventyFour): string { + return JSON.stringify(SeventyFour$outboundSchema.parse(seventyFour)); } - -export function seventyTwoFromJSON( +export function seventyFourFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => SeventyTwo$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'SeventyTwo' from JSON`, + (x) => SeventyFour$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'SeventyFour' from JSON`, ); } /** @internal */ -export const SeventyOne$inboundSchema: z.ZodType< - SeventyOne, +export const SeventyThree$inboundSchema: z.ZodType< + SeventyThree, z.ZodTypeDef, unknown > = z.object({ logDrainUrl: z.nullable(z.string()), integrationName: z.string().optional(), }); - /** @internal */ -export type SeventyOne$Outbound = { +export type SeventyThree$Outbound = { logDrainUrl: string | null; integrationName?: string | undefined; }; /** @internal */ -export const SeventyOne$outboundSchema: z.ZodType< - SeventyOne$Outbound, +export const SeventyThree$outboundSchema: z.ZodType< + SeventyThree$Outbound, z.ZodTypeDef, - SeventyOne + SeventyThree > = z.object({ logDrainUrl: z.nullable(z.string()), integrationName: z.string().optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace SeventyOne$ { - /** @deprecated use `SeventyOne$inboundSchema` instead. */ - export const inboundSchema = SeventyOne$inboundSchema; - /** @deprecated use `SeventyOne$outboundSchema` instead. */ - export const outboundSchema = SeventyOne$outboundSchema; - /** @deprecated use `SeventyOne$Outbound` instead. */ - export type Outbound = SeventyOne$Outbound; -} - -export function seventyOneToJSON(seventyOne: SeventyOne): string { - return JSON.stringify(SeventyOne$outboundSchema.parse(seventyOne)); +export function seventyThreeToJSON(seventyThree: SeventyThree): string { + return JSON.stringify(SeventyThree$outboundSchema.parse(seventyThree)); } - -export function seventyOneFromJSON( +export function seventyThreeFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => SeventyOne$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'SeventyOne' from JSON`, + (x) => SeventyThree$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'SeventyThree' from JSON`, ); } /** @internal */ export const PayloadName$inboundSchema: z.ZodNativeEnum = z .nativeEnum(PayloadName); - /** @internal */ export const PayloadName$outboundSchema: z.ZodNativeEnum = PayloadName$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PayloadName$ { - /** @deprecated use `PayloadName$inboundSchema` instead. */ - export const inboundSchema = PayloadName$inboundSchema; - /** @deprecated use `PayloadName$outboundSchema` instead. */ - export const outboundSchema = PayloadName$outboundSchema; -} - /** @internal */ export const Browser$inboundSchema: z.ZodType = z.object({ name: PayloadName$inboundSchema, }); - /** @internal */ export type Browser$Outbound = { name: string; @@ -16455,23 +14654,9 @@ export const Browser$outboundSchema: z.ZodType< name: PayloadName$outboundSchema, }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Browser$ { - /** @deprecated use `Browser$inboundSchema` instead. */ - export const inboundSchema = Browser$inboundSchema; - /** @deprecated use `Browser$outboundSchema` instead. */ - export const outboundSchema = Browser$outboundSchema; - /** @deprecated use `Browser$Outbound` instead. */ - export type Outbound = Browser$Outbound; -} - export function browserToJSON(browser: Browser): string { return JSON.stringify(Browser$outboundSchema.parse(browser)); } - export function browserFromJSON( jsonString: string, ): SafeParseResult { @@ -16486,28 +14671,15 @@ export function browserFromJSON( export const UserEventPayloadName$inboundSchema: z.ZodNativeEnum< typeof UserEventPayloadName > = z.nativeEnum(UserEventPayloadName); - /** @internal */ export const UserEventPayloadName$outboundSchema: z.ZodNativeEnum< typeof UserEventPayloadName > = UserEventPayloadName$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UserEventPayloadName$ { - /** @deprecated use `UserEventPayloadName$inboundSchema` instead. */ - export const inboundSchema = UserEventPayloadName$inboundSchema; - /** @deprecated use `UserEventPayloadName$outboundSchema` instead. */ - export const outboundSchema = UserEventPayloadName$outboundSchema; -} - /** @internal */ export const Os$inboundSchema: z.ZodType = z.object({ name: UserEventPayloadName$inboundSchema, }); - /** @internal */ export type Os$Outbound = { name: string; @@ -16519,23 +14691,9 @@ export const Os$outboundSchema: z.ZodType = z name: UserEventPayloadName$outboundSchema, }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Os$ { - /** @deprecated use `Os$inboundSchema` instead. */ - export const inboundSchema = Os$inboundSchema; - /** @deprecated use `Os$outboundSchema` instead. */ - export const outboundSchema = Os$outboundSchema; - /** @deprecated use `Os$Outbound` instead. */ - export type Outbound = Os$Outbound; -} - export function osToJSON(os: Os): string { return JSON.stringify(Os$outboundSchema.parse(os)); } - export function osFromJSON( jsonString: string, ): SafeParseResult { @@ -16557,7 +14715,6 @@ export const UserAgent$inboundSchema: z.ZodType< program: z.string(), os: z.lazy(() => Os$inboundSchema), }); - /** @internal */ export type UserAgent$Outbound = { browser: Browser$Outbound; @@ -16578,23 +14735,9 @@ export const UserAgent$outboundSchema: z.ZodType< os: z.lazy(() => Os$outboundSchema), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UserAgent$ { - /** @deprecated use `UserAgent$inboundSchema` instead. */ - export const inboundSchema = UserAgent$inboundSchema; - /** @deprecated use `UserAgent$outboundSchema` instead. */ - export const outboundSchema = UserAgent$outboundSchema; - /** @deprecated use `UserAgent$Outbound` instead. */ - export type Outbound = UserAgent$Outbound; -} - export function userAgentToJSON(userAgent: UserAgent): string { return JSON.stringify(UserAgent$outboundSchema.parse(userAgent)); } - export function userAgentFromJSON( jsonString: string, ): SafeParseResult { @@ -16610,7 +14753,6 @@ export const Names$inboundSchema: z.ZodType = z .object({ en: z.string(), }); - /** @internal */ export type Names$Outbound = { en: string; @@ -16625,23 +14767,9 @@ export const Names$outboundSchema: z.ZodType< en: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Names$ { - /** @deprecated use `Names$inboundSchema` instead. */ - export const inboundSchema = Names$inboundSchema; - /** @deprecated use `Names$outboundSchema` instead. */ - export const outboundSchema = Names$outboundSchema; - /** @deprecated use `Names$Outbound` instead. */ - export type Outbound = Names$Outbound; -} - export function namesToJSON(names: Names): string { return JSON.stringify(Names$outboundSchema.parse(names)); } - export function namesFromJSON( jsonString: string, ): SafeParseResult { @@ -16657,7 +14785,6 @@ export const City$inboundSchema: z.ZodType = z .object({ names: z.lazy(() => Names$inboundSchema), }); - /** @internal */ export type City$Outbound = { names: Names$Outbound; @@ -16669,23 +14796,9 @@ export const City$outboundSchema: z.ZodType = names: z.lazy(() => Names$outboundSchema), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace City$ { - /** @deprecated use `City$inboundSchema` instead. */ - export const inboundSchema = City$inboundSchema; - /** @deprecated use `City$outboundSchema` instead. */ - export const outboundSchema = City$outboundSchema; - /** @deprecated use `City$Outbound` instead. */ - export type Outbound = City$Outbound; -} - export function cityToJSON(city: City): string { return JSON.stringify(City$outboundSchema.parse(city)); } - export function cityFromJSON( jsonString: string, ): SafeParseResult { @@ -16704,7 +14817,6 @@ export const PayloadNames$inboundSchema: z.ZodType< > = z.object({ en: z.string(), }); - /** @internal */ export type PayloadNames$Outbound = { en: string; @@ -16719,23 +14831,9 @@ export const PayloadNames$outboundSchema: z.ZodType< en: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PayloadNames$ { - /** @deprecated use `PayloadNames$inboundSchema` instead. */ - export const inboundSchema = PayloadNames$inboundSchema; - /** @deprecated use `PayloadNames$outboundSchema` instead. */ - export const outboundSchema = PayloadNames$outboundSchema; - /** @deprecated use `PayloadNames$Outbound` instead. */ - export type Outbound = PayloadNames$Outbound; -} - export function payloadNamesToJSON(payloadNames: PayloadNames): string { return JSON.stringify(PayloadNames$outboundSchema.parse(payloadNames)); } - export function payloadNamesFromJSON( jsonString: string, ): SafeParseResult { @@ -16751,7 +14849,6 @@ export const Country$inboundSchema: z.ZodType = z.object({ names: z.lazy(() => PayloadNames$inboundSchema), }); - /** @internal */ export type Country$Outbound = { names: PayloadNames$Outbound; @@ -16766,23 +14863,9 @@ export const Country$outboundSchema: z.ZodType< names: z.lazy(() => PayloadNames$outboundSchema), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Country$ { - /** @deprecated use `Country$inboundSchema` instead. */ - export const inboundSchema = Country$inboundSchema; - /** @deprecated use `Country$outboundSchema` instead. */ - export const outboundSchema = Country$outboundSchema; - /** @deprecated use `Country$Outbound` instead. */ - export type Outbound = Country$Outbound; -} - export function countryToJSON(country: Country): string { return JSON.stringify(Country$outboundSchema.parse(country)); } - export function countryFromJSON( jsonString: string, ): SafeParseResult { @@ -16801,7 +14884,6 @@ export const UserEventPayloadNames$inboundSchema: z.ZodType< > = z.object({ en: z.string(), }); - /** @internal */ export type UserEventPayloadNames$Outbound = { en: string; @@ -16816,19 +14898,6 @@ export const UserEventPayloadNames$outboundSchema: z.ZodType< en: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UserEventPayloadNames$ { - /** @deprecated use `UserEventPayloadNames$inboundSchema` instead. */ - export const inboundSchema = UserEventPayloadNames$inboundSchema; - /** @deprecated use `UserEventPayloadNames$outboundSchema` instead. */ - export const outboundSchema = UserEventPayloadNames$outboundSchema; - /** @deprecated use `UserEventPayloadNames$Outbound` instead. */ - export type Outbound = UserEventPayloadNames$Outbound; -} - export function userEventPayloadNamesToJSON( userEventPayloadNames: UserEventPayloadNames, ): string { @@ -16836,7 +14905,6 @@ export function userEventPayloadNamesToJSON( UserEventPayloadNames$outboundSchema.parse(userEventPayloadNames), ); } - export function userEventPayloadNamesFromJSON( jsonString: string, ): SafeParseResult { @@ -16855,7 +14923,6 @@ export const MostSpecificSubdivision$inboundSchema: z.ZodType< > = z.object({ names: z.lazy(() => UserEventPayloadNames$inboundSchema), }); - /** @internal */ export type MostSpecificSubdivision$Outbound = { names: UserEventPayloadNames$Outbound; @@ -16870,19 +14937,6 @@ export const MostSpecificSubdivision$outboundSchema: z.ZodType< names: z.lazy(() => UserEventPayloadNames$outboundSchema), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace MostSpecificSubdivision$ { - /** @deprecated use `MostSpecificSubdivision$inboundSchema` instead. */ - export const inboundSchema = MostSpecificSubdivision$inboundSchema; - /** @deprecated use `MostSpecificSubdivision$outboundSchema` instead. */ - export const outboundSchema = MostSpecificSubdivision$outboundSchema; - /** @deprecated use `MostSpecificSubdivision$Outbound` instead. */ - export type Outbound = MostSpecificSubdivision$Outbound; -} - export function mostSpecificSubdivisionToJSON( mostSpecificSubdivision: MostSpecificSubdivision, ): string { @@ -16890,7 +14944,6 @@ export function mostSpecificSubdivisionToJSON( MostSpecificSubdivision$outboundSchema.parse(mostSpecificSubdivision), ); } - export function mostSpecificSubdivisionFromJSON( jsonString: string, ): SafeParseResult { @@ -16917,7 +14970,6 @@ export const Geolocation$inboundSchema: z.ZodType< "most_specific_subdivision": "mostSpecificSubdivision", }); }); - /** @internal */ export type Geolocation$Outbound = { city?: City$Outbound | undefined; @@ -16943,23 +14995,9 @@ export const Geolocation$outboundSchema: z.ZodType< }); }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Geolocation$ { - /** @deprecated use `Geolocation$inboundSchema` instead. */ - export const inboundSchema = Geolocation$inboundSchema; - /** @deprecated use `Geolocation$outboundSchema` instead. */ - export const outboundSchema = Geolocation$outboundSchema; - /** @deprecated use `Geolocation$Outbound` instead. */ - export type Outbound = Geolocation$Outbound; -} - export function geolocationToJSON(geolocation: Geolocation): string { return JSON.stringify(Geolocation$outboundSchema.parse(geolocation)); } - export function geolocationFromJSON( jsonString: string, ): SafeParseResult { @@ -16971,30 +15009,34 @@ export function geolocationFromJSON( } /** @internal */ -export const Seventy$inboundSchema: z.ZodType = - z.object({ - userAgent: z.lazy(() => UserAgent$inboundSchema).optional(), - geolocation: z.nullable(z.lazy(() => Geolocation$inboundSchema)).optional(), - viaGithub: z.boolean(), - viaGitlab: z.boolean(), - viaBitbucket: z.boolean(), - viaGoogle: z.boolean(), - viaSamlSso: z.boolean(), - viaPasskey: z.boolean(), - ssoType: z.string().optional(), - env: z.string().optional(), - os: z.string().optional(), - username: z.string().optional(), - }); - +export const SeventyTwo$inboundSchema: z.ZodType< + SeventyTwo, + z.ZodTypeDef, + unknown +> = z.object({ + userAgent: z.lazy(() => UserAgent$inboundSchema).optional(), + geolocation: z.nullable(z.lazy(() => Geolocation$inboundSchema)).optional(), + viaGithub: z.boolean(), + viaGitlab: z.boolean(), + viaBitbucket: z.boolean(), + viaGoogle: z.boolean(), + viaApple: z.boolean(), + viaSamlSso: z.boolean(), + viaPasskey: z.boolean(), + ssoType: z.string().optional(), + env: z.string().optional(), + os: z.string().optional(), + username: z.string().optional(), +}); /** @internal */ -export type Seventy$Outbound = { +export type SeventyTwo$Outbound = { userAgent?: UserAgent$Outbound | undefined; geolocation?: Geolocation$Outbound | null | undefined; viaGithub: boolean; viaGitlab: boolean; viaBitbucket: boolean; viaGoogle: boolean; + viaApple: boolean; viaSamlSso: boolean; viaPasskey: boolean; ssoType?: string | undefined; @@ -17004,10 +15046,10 @@ export type Seventy$Outbound = { }; /** @internal */ -export const Seventy$outboundSchema: z.ZodType< - Seventy$Outbound, +export const SeventyTwo$outboundSchema: z.ZodType< + SeventyTwo$Outbound, z.ZodTypeDef, - Seventy + SeventyTwo > = z.object({ userAgent: z.lazy(() => UserAgent$outboundSchema).optional(), geolocation: z.nullable(z.lazy(() => Geolocation$outboundSchema)).optional(), @@ -17015,6 +15057,7 @@ export const Seventy$outboundSchema: z.ZodType< viaGitlab: z.boolean(), viaBitbucket: z.boolean(), viaGoogle: z.boolean(), + viaApple: z.boolean(), viaSamlSso: z.boolean(), viaPasskey: z.boolean(), ssoType: z.string().optional(), @@ -17023,36 +15066,22 @@ export const Seventy$outboundSchema: z.ZodType< 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 Seventy$ { - /** @deprecated use `Seventy$inboundSchema` instead. */ - export const inboundSchema = Seventy$inboundSchema; - /** @deprecated use `Seventy$outboundSchema` instead. */ - export const outboundSchema = Seventy$outboundSchema; - /** @deprecated use `Seventy$Outbound` instead. */ - export type Outbound = Seventy$Outbound; -} - -export function seventyToJSON(seventy: Seventy): string { - return JSON.stringify(Seventy$outboundSchema.parse(seventy)); +export function seventyTwoToJSON(seventyTwo: SeventyTwo): string { + return JSON.stringify(SeventyTwo$outboundSchema.parse(seventyTwo)); } - -export function seventyFromJSON( +export function seventyTwoFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => Seventy$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Seventy' from JSON`, + (x) => SeventyTwo$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'SeventyTwo' from JSON`, ); } /** @internal */ -export const SixtyNine$inboundSchema: z.ZodType< - SixtyNine, +export const SeventyOne$inboundSchema: z.ZodType< + SeventyOne, z.ZodTypeDef, unknown > = z.object({ @@ -17064,9 +15093,8 @@ export const SixtyNine$inboundSchema: z.ZodType< projectIds: z.array(z.string()).optional(), confirmedScopes: z.array(z.string()), }); - /** @internal */ -export type SixtyNine$Outbound = { +export type SeventyOne$Outbound = { integrationId: string; configurationId: string; integrationSlug: string; @@ -17077,10 +15105,10 @@ export type SixtyNine$Outbound = { }; /** @internal */ -export const SixtyNine$outboundSchema: z.ZodType< - SixtyNine$Outbound, +export const SeventyOne$outboundSchema: z.ZodType< + SeventyOne$Outbound, z.ZodTypeDef, - SixtyNine + SeventyOne > = z.object({ integrationId: z.string(), configurationId: z.string(), @@ -17091,48 +15119,30 @@ export const SixtyNine$outboundSchema: z.ZodType< confirmedScopes: 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 SixtyNine$ { - /** @deprecated use `SixtyNine$inboundSchema` instead. */ - export const inboundSchema = SixtyNine$inboundSchema; - /** @deprecated use `SixtyNine$outboundSchema` instead. */ - export const outboundSchema = SixtyNine$outboundSchema; - /** @deprecated use `SixtyNine$Outbound` instead. */ - export type Outbound = SixtyNine$Outbound; -} - -export function sixtyNineToJSON(sixtyNine: SixtyNine): string { - return JSON.stringify(SixtyNine$outboundSchema.parse(sixtyNine)); +export function seventyOneToJSON(seventyOne: SeventyOne): string { + return JSON.stringify(SeventyOne$outboundSchema.parse(seventyOne)); } - -export function sixtyNineFromJSON( +export function seventyOneFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => SixtyNine$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'SixtyNine' from JSON`, + (x) => SeventyOne$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'SeventyOne' from JSON`, ); } /** @internal */ -export const SixtyEight$inboundSchema: z.ZodType< - SixtyEight, - z.ZodTypeDef, - unknown -> = z.object({ - projectId: z.string(), - fromDeploymentId: z.string(), - toDeploymentId: z.string(), - projectName: z.string(), - reason: z.string().optional(), -}); - +export const Seventy$inboundSchema: z.ZodType = + z.object({ + projectId: z.string(), + fromDeploymentId: z.string(), + toDeploymentId: z.string(), + projectName: z.string(), + reason: z.string().optional(), + }); /** @internal */ -export type SixtyEight$Outbound = { +export type Seventy$Outbound = { projectId: string; fromDeploymentId: string; toDeploymentId: string; @@ -17141,10 +15151,10 @@ export type SixtyEight$Outbound = { }; /** @internal */ -export const SixtyEight$outboundSchema: z.ZodType< - SixtyEight$Outbound, +export const Seventy$outboundSchema: z.ZodType< + Seventy$Outbound, z.ZodTypeDef, - SixtyEight + Seventy > = z.object({ projectId: z.string(), fromDeploymentId: z.string(), @@ -17153,36 +15163,22 @@ export const SixtyEight$outboundSchema: z.ZodType< reason: z.string().optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace SixtyEight$ { - /** @deprecated use `SixtyEight$inboundSchema` instead. */ - export const inboundSchema = SixtyEight$inboundSchema; - /** @deprecated use `SixtyEight$outboundSchema` instead. */ - export const outboundSchema = SixtyEight$outboundSchema; - /** @deprecated use `SixtyEight$Outbound` instead. */ - export type Outbound = SixtyEight$Outbound; -} - -export function sixtyEightToJSON(sixtyEight: SixtyEight): string { - return JSON.stringify(SixtyEight$outboundSchema.parse(sixtyEight)); +export function seventyToJSON(seventy: Seventy): string { + return JSON.stringify(Seventy$outboundSchema.parse(seventy)); } - -export function sixtyEightFromJSON( +export function seventyFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => SixtyEight$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'SixtyEight' from JSON`, + (x) => Seventy$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Seventy' from JSON`, ); } /** @internal */ -export const SixtySeven$inboundSchema: z.ZodType< - SixtySeven, +export const SixtyNine$inboundSchema: z.ZodType< + SixtyNine, z.ZodTypeDef, unknown > = z.object({ @@ -17193,9 +15189,8 @@ export const SixtySeven$inboundSchema: z.ZodType< ownerId: z.string(), projectIds: z.array(z.string()).optional(), }); - /** @internal */ -export type SixtySeven$Outbound = { +export type SixtyNine$Outbound = { integrationId: string; configurationId: string; integrationSlug: string; @@ -17205,10 +15200,10 @@ export type SixtySeven$Outbound = { }; /** @internal */ -export const SixtySeven$outboundSchema: z.ZodType< - SixtySeven$Outbound, +export const SixtyNine$outboundSchema: z.ZodType< + SixtyNine$Outbound, z.ZodTypeDef, - SixtySeven + SixtyNine > = z.object({ integrationId: z.string(), configurationId: z.string(), @@ -17218,36 +15213,22 @@ export const SixtySeven$outboundSchema: z.ZodType< 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 SixtySeven$ { - /** @deprecated use `SixtySeven$inboundSchema` instead. */ - export const inboundSchema = SixtySeven$inboundSchema; - /** @deprecated use `SixtySeven$outboundSchema` instead. */ - export const outboundSchema = SixtySeven$outboundSchema; - /** @deprecated use `SixtySeven$Outbound` instead. */ - export type Outbound = SixtySeven$Outbound; -} - -export function sixtySevenToJSON(sixtySeven: SixtySeven): string { - return JSON.stringify(SixtySeven$outboundSchema.parse(sixtySeven)); +export function sixtyNineToJSON(sixtyNine: SixtyNine): string { + return JSON.stringify(SixtyNine$outboundSchema.parse(sixtyNine)); } - -export function sixtySevenFromJSON( +export function sixtyNineFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => SixtySeven$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'SixtySeven' from JSON`, + (x) => SixtyNine$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'SixtyNine' from JSON`, ); } /** @internal */ -export const SixtySix$inboundSchema: z.ZodType< - SixtySix, +export const SixtyEight$inboundSchema: z.ZodType< + SixtyEight, z.ZodTypeDef, unknown > = z.object({ @@ -17259,9 +15240,8 @@ export const SixtySix$inboundSchema: z.ZodType< billingPlanId: z.string(), billingPlanName: z.string().optional(), }); - /** @internal */ -export type SixtySix$Outbound = { +export type SixtyEight$Outbound = { integrationId: string; configurationId: string; integrationSlug: string; @@ -17272,10 +15252,10 @@ export type SixtySix$Outbound = { }; /** @internal */ -export const SixtySix$outboundSchema: z.ZodType< - SixtySix$Outbound, +export const SixtyEight$outboundSchema: z.ZodType< + SixtyEight$Outbound, z.ZodTypeDef, - SixtySix + SixtyEight > = z.object({ integrationId: z.string(), configurationId: z.string(), @@ -17286,30 +15266,16 @@ export const SixtySix$outboundSchema: z.ZodType< billingPlanName: z.string().optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace SixtySix$ { - /** @deprecated use `SixtySix$inboundSchema` instead. */ - export const inboundSchema = SixtySix$inboundSchema; - /** @deprecated use `SixtySix$outboundSchema` instead. */ - export const outboundSchema = SixtySix$outboundSchema; - /** @deprecated use `SixtySix$Outbound` instead. */ - export type Outbound = SixtySix$Outbound; -} - -export function sixtySixToJSON(sixtySix: SixtySix): string { - return JSON.stringify(SixtySix$outboundSchema.parse(sixtySix)); +export function sixtyEightToJSON(sixtyEight: SixtyEight): string { + return JSON.stringify(SixtyEight$outboundSchema.parse(sixtyEight)); } - -export function sixtySixFromJSON( +export function sixtyEightFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => SixtySix$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'SixtySix' from JSON`, + (x) => SixtyEight$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'SixtyEight' from JSON`, ); } @@ -17324,7 +15290,6 @@ export const Configurations$inboundSchema: z.ZodType< integrationSlug: z.string(), integrationName: z.string().optional(), }); - /** @internal */ export type Configurations$Outbound = { integrationId: string; @@ -17345,23 +15310,9 @@ export const Configurations$outboundSchema: z.ZodType< integrationName: z.string().optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Configurations$ { - /** @deprecated use `Configurations$inboundSchema` instead. */ - export const inboundSchema = Configurations$inboundSchema; - /** @deprecated use `Configurations$outboundSchema` instead. */ - export const outboundSchema = Configurations$outboundSchema; - /** @deprecated use `Configurations$Outbound` instead. */ - export type Outbound = Configurations$Outbound; -} - export function configurationsToJSON(configurations: Configurations): string { return JSON.stringify(Configurations$outboundSchema.parse(configurations)); } - export function configurationsFromJSON( jsonString: string, ): SafeParseResult { @@ -17373,78 +15324,51 @@ export function configurationsFromJSON( } /** @internal */ -export const SixtyFive$inboundSchema: z.ZodType< - SixtyFive, +export const SixtySeven$inboundSchema: z.ZodType< + SixtySeven, z.ZodTypeDef, unknown > = z.object({ configurations: z.array(z.lazy(() => Configurations$inboundSchema)), ownerId: z.string(), }); - /** @internal */ -export type SixtyFive$Outbound = { +export type SixtySeven$Outbound = { configurations: Array; ownerId: string; }; /** @internal */ -export const SixtyFive$outboundSchema: z.ZodType< - SixtyFive$Outbound, +export const SixtySeven$outboundSchema: z.ZodType< + SixtySeven$Outbound, z.ZodTypeDef, - SixtyFive + SixtySeven > = z.object({ configurations: z.array(z.lazy(() => Configurations$outboundSchema)), ownerId: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace SixtyFive$ { - /** @deprecated use `SixtyFive$inboundSchema` instead. */ - export const inboundSchema = SixtyFive$inboundSchema; - /** @deprecated use `SixtyFive$outboundSchema` instead. */ - export const outboundSchema = SixtyFive$outboundSchema; - /** @deprecated use `SixtyFive$Outbound` instead. */ - export type Outbound = SixtyFive$Outbound; -} - -export function sixtyFiveToJSON(sixtyFive: SixtyFive): string { - return JSON.stringify(SixtyFive$outboundSchema.parse(sixtyFive)); -} - -export function sixtyFiveFromJSON( +export function sixtySevenToJSON(sixtySeven: SixtySeven): string { + return JSON.stringify(SixtySeven$outboundSchema.parse(sixtySeven)); +} +export function sixtySevenFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => SixtyFive$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'SixtyFive' from JSON`, + (x) => SixtySeven$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'SixtySeven' from JSON`, ); } /** @internal */ -export const UserEventPayload64Action$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload64Action -> = z.nativeEnum(UserEventPayload64Action); - +export const UserEventPayload66Action$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload66Action +> = z.nativeEnum(UserEventPayload66Action); /** @internal */ -export const UserEventPayload64Action$outboundSchema: z.ZodNativeEnum< - typeof UserEventPayload64Action -> = UserEventPayload64Action$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UserEventPayload64Action$ { - /** @deprecated use `UserEventPayload64Action$inboundSchema` instead. */ - export const inboundSchema = UserEventPayload64Action$inboundSchema; - /** @deprecated use `UserEventPayload64Action$outboundSchema` instead. */ - export const outboundSchema = UserEventPayload64Action$outboundSchema; -} +export const UserEventPayload66Action$outboundSchema: z.ZodNativeEnum< + typeof UserEventPayload66Action +> = UserEventPayload66Action$inboundSchema; /** @internal */ export const BlockHistory$inboundSchema: z.ZodType< @@ -17452,7 +15376,7 @@ export const BlockHistory$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - action: UserEventPayload64Action$inboundSchema, + action: UserEventPayload66Action$inboundSchema, createdAt: z.number(), caseId: z.string().optional(), reason: z.string(), @@ -17460,7 +15384,6 @@ export const BlockHistory$inboundSchema: z.ZodType< statusCode: z.number().optional(), comment: z.string().optional(), }); - /** @internal */ export type BlockHistory$Outbound = { action: string; @@ -17478,7 +15401,7 @@ export const BlockHistory$outboundSchema: z.ZodType< z.ZodTypeDef, BlockHistory > = z.object({ - action: UserEventPayload64Action$outboundSchema, + action: UserEventPayload66Action$outboundSchema, createdAt: z.number(), caseId: z.string().optional(), reason: z.string(), @@ -17487,23 +15410,9 @@ export const BlockHistory$outboundSchema: z.ZodType< 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 BlockHistory$ { - /** @deprecated use `BlockHistory$inboundSchema` instead. */ - export const inboundSchema = BlockHistory$inboundSchema; - /** @deprecated use `BlockHistory$outboundSchema` instead. */ - export const outboundSchema = BlockHistory$outboundSchema; - /** @deprecated use `BlockHistory$Outbound` instead. */ - export type Outbound = BlockHistory$Outbound; -} - export function blockHistoryToJSON(blockHistory: BlockHistory): string { return JSON.stringify(BlockHistory$outboundSchema.parse(blockHistory)); } - export function blockHistoryFromJSON( jsonString: string, ): SafeParseResult { @@ -17523,7 +15432,6 @@ export const History$inboundSchema: z.ZodType = byId: z.string(), at: z.number(), }); - /** @internal */ export type History$Outbound = { scanner: string; @@ -17546,23 +15454,9 @@ export const History$outboundSchema: z.ZodType< at: 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 History$ { - /** @deprecated use `History$inboundSchema` instead. */ - export const inboundSchema = History$inboundSchema; - /** @deprecated use `History$outboundSchema` instead. */ - export const outboundSchema = History$outboundSchema; - /** @deprecated use `History$Outbound` instead. */ - export type Outbound = History$Outbound; -} - export function historyToJSON(history: History): string { return JSON.stringify(History$outboundSchema.parse(history)); } - export function historyFromJSON( jsonString: string, ): SafeParseResult { @@ -17587,7 +15481,6 @@ export const Abuse$inboundSchema: z.ZodType = z creationIp: z.string().optional(), removedPhoneNumbers: z.string().optional(), }); - /** @internal */ export type Abuse$Outbound = { blockHistory?: Array | undefined; @@ -17620,23 +15513,9 @@ export const Abuse$outboundSchema: z.ZodType< removedPhoneNumbers: z.string().optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Abuse$ { - /** @deprecated use `Abuse$inboundSchema` instead. */ - export const inboundSchema = Abuse$inboundSchema; - /** @deprecated use `Abuse$outboundSchema` instead. */ - export const outboundSchema = Abuse$outboundSchema; - /** @deprecated use `Abuse$Outbound` instead. */ - export type Outbound = Abuse$Outbound; -} - export function abuseToJSON(abuse: Abuse): string { return JSON.stringify(Abuse$outboundSchema.parse(abuse)); } - export function abuseFromJSON( jsonString: string, ): SafeParseResult { @@ -17651,22 +15530,10 @@ export function abuseFromJSON( 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 PayloadBilling$inboundSchema: z.ZodType< PayloadBilling, @@ -17675,7 +15542,6 @@ export const PayloadBilling$inboundSchema: z.ZodType< > = z.object({ plan: Plan$inboundSchema, }); - /** @internal */ export type PayloadBilling$Outbound = { plan: string; @@ -17690,23 +15556,9 @@ export const PayloadBilling$outboundSchema: z.ZodType< plan: Plan$outboundSchema, }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PayloadBilling$ { - /** @deprecated use `PayloadBilling$inboundSchema` instead. */ - export const inboundSchema = PayloadBilling$inboundSchema; - /** @deprecated use `PayloadBilling$outboundSchema` instead. */ - export const outboundSchema = PayloadBilling$outboundSchema; - /** @deprecated use `PayloadBilling$Outbound` instead. */ - export type Outbound = PayloadBilling$Outbound; -} - export function payloadBillingToJSON(payloadBilling: PayloadBilling): string { return JSON.stringify(PayloadBilling$outboundSchema.parse(payloadBilling)); } - export function payloadBillingFromJSON( jsonString: string, ): SafeParseResult { @@ -17721,23 +15573,11 @@ export function payloadBillingFromJSON( export const UserEventCredentialsType$inboundSchema: z.ZodNativeEnum< typeof UserEventCredentialsType > = z.nativeEnum(UserEventCredentialsType); - /** @internal */ export const UserEventCredentialsType$outboundSchema: z.ZodNativeEnum< typeof UserEventCredentialsType > = UserEventCredentialsType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UserEventCredentialsType$ { - /** @deprecated use `UserEventCredentialsType$inboundSchema` instead. */ - export const inboundSchema = UserEventCredentialsType$inboundSchema; - /** @deprecated use `UserEventCredentialsType$outboundSchema` instead. */ - export const outboundSchema = UserEventCredentialsType$outboundSchema; -} - /** @internal */ export const Credentials2$inboundSchema: z.ZodType< Credentials2, @@ -17748,7 +15588,6 @@ export const Credentials2$inboundSchema: z.ZodType< host: z.string(), id: z.string(), }); - /** @internal */ export type Credentials2$Outbound = { type: string; @@ -17767,23 +15606,9 @@ export const Credentials2$outboundSchema: z.ZodType< 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 Credentials2$ { - /** @deprecated use `Credentials2$inboundSchema` instead. */ - export const inboundSchema = Credentials2$inboundSchema; - /** @deprecated use `Credentials2$outboundSchema` instead. */ - export const outboundSchema = Credentials2$outboundSchema; - /** @deprecated use `Credentials2$Outbound` instead. */ - export type Outbound = Credentials2$Outbound; -} - export function credentials2ToJSON(credentials2: Credentials2): string { return JSON.stringify(Credentials2$outboundSchema.parse(credentials2)); } - export function credentials2FromJSON( jsonString: string, ): SafeParseResult { @@ -17798,23 +15623,11 @@ export function credentials2FromJSON( export const CredentialsType$inboundSchema: z.ZodNativeEnum< typeof CredentialsType > = z.nativeEnum(CredentialsType); - /** @internal */ export const CredentialsType$outboundSchema: z.ZodNativeEnum< typeof CredentialsType > = CredentialsType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace CredentialsType$ { - /** @deprecated use `CredentialsType$inboundSchema` instead. */ - export const inboundSchema = CredentialsType$inboundSchema; - /** @deprecated use `CredentialsType$outboundSchema` instead. */ - export const outboundSchema = CredentialsType$outboundSchema; -} - /** @internal */ export const Credentials1$inboundSchema: z.ZodType< Credentials1, @@ -17824,7 +15637,6 @@ export const Credentials1$inboundSchema: z.ZodType< type: CredentialsType$inboundSchema, id: z.string(), }); - /** @internal */ export type Credentials1$Outbound = { type: string; @@ -17841,23 +15653,9 @@ export const Credentials1$outboundSchema: z.ZodType< 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 Credentials1$ { - /** @deprecated use `Credentials1$inboundSchema` instead. */ - export const inboundSchema = Credentials1$inboundSchema; - /** @deprecated use `Credentials1$outboundSchema` instead. */ - export const outboundSchema = Credentials1$outboundSchema; - /** @deprecated use `Credentials1$Outbound` instead. */ - export type Outbound = Credentials1$Outbound; -} - export function credentials1ToJSON(credentials1: Credentials1): string { return JSON.stringify(Credentials1$outboundSchema.parse(credentials1)); } - export function credentials1FromJSON( jsonString: string, ): SafeParseResult { @@ -17877,7 +15675,6 @@ export const Credentials$inboundSchema: z.ZodType< z.lazy(() => Credentials2$inboundSchema), z.lazy(() => Credentials1$inboundSchema), ]); - /** @internal */ export type Credentials$Outbound = | Credentials2$Outbound @@ -17893,23 +15690,9 @@ export const Credentials$outboundSchema: z.ZodType< z.lazy(() => Credentials1$outboundSchema), ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Credentials$ { - /** @deprecated use `Credentials$inboundSchema` instead. */ - export const inboundSchema = Credentials$inboundSchema; - /** @deprecated use `Credentials$outboundSchema` instead. */ - export const outboundSchema = Credentials$outboundSchema; - /** @deprecated use `Credentials$Outbound` instead. */ - export type Outbound = Credentials$Outbound; -} - export function credentialsToJSON(credentials: Credentials): string { return JSON.stringify(Credentials$outboundSchema.parse(credentials)); } - export function credentialsFromJSON( jsonString: string, ): SafeParseResult { @@ -17928,7 +15711,6 @@ export const PayloadDataCache$inboundSchema: z.ZodType< > = z.object({ excessBillingEnabled: z.boolean().optional(), }); - /** @internal */ export type PayloadDataCache$Outbound = { excessBillingEnabled?: boolean | undefined; @@ -17943,19 +15725,6 @@ export const PayloadDataCache$outboundSchema: z.ZodType< excessBillingEnabled: 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 PayloadDataCache$ { - /** @deprecated use `PayloadDataCache$inboundSchema` instead. */ - export const inboundSchema = PayloadDataCache$inboundSchema; - /** @deprecated use `PayloadDataCache$outboundSchema` instead. */ - export const outboundSchema = PayloadDataCache$outboundSchema; - /** @deprecated use `PayloadDataCache$Outbound` instead. */ - export type Outbound = PayloadDataCache$Outbound; -} - export function payloadDataCacheToJSON( payloadDataCache: PayloadDataCache, ): string { @@ -17963,7 +15732,6 @@ export function payloadDataCacheToJSON( PayloadDataCache$outboundSchema.parse(payloadDataCache), ); } - export function payloadDataCacheFromJSON( jsonString: string, ): SafeParseResult { @@ -17983,7 +15751,6 @@ export const PayloadDismissals$inboundSchema: z.ZodType< scopeId: z.string(), createdAt: z.number(), }); - /** @internal */ export type PayloadDismissals$Outbound = { scopeId: string; @@ -18000,19 +15767,6 @@ export const PayloadDismissals$outboundSchema: z.ZodType< 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 PayloadDismissals$ { - /** @deprecated use `PayloadDismissals$inboundSchema` instead. */ - export const inboundSchema = PayloadDismissals$inboundSchema; - /** @deprecated use `PayloadDismissals$outboundSchema` instead. */ - export const outboundSchema = PayloadDismissals$outboundSchema; - /** @deprecated use `PayloadDismissals$Outbound` instead. */ - export type Outbound = PayloadDismissals$Outbound; -} - export function payloadDismissalsToJSON( payloadDismissals: PayloadDismissals, ): string { @@ -18020,7 +15774,6 @@ export function payloadDismissalsToJSON( PayloadDismissals$outboundSchema.parse(payloadDismissals), ); } - export function payloadDismissalsFromJSON( jsonString: string, ): SafeParseResult { @@ -18040,7 +15793,6 @@ export const PayloadDismissedToasts$inboundSchema: z.ZodType< name: z.string(), dismissals: z.array(z.lazy(() => PayloadDismissals$inboundSchema)), }); - /** @internal */ export type PayloadDismissedToasts$Outbound = { name: string; @@ -18057,19 +15809,6 @@ export const PayloadDismissedToasts$outboundSchema: z.ZodType< dismissals: z.array(z.lazy(() => PayloadDismissals$outboundSchema)), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PayloadDismissedToasts$ { - /** @deprecated use `PayloadDismissedToasts$inboundSchema` instead. */ - export const inboundSchema = PayloadDismissedToasts$inboundSchema; - /** @deprecated use `PayloadDismissedToasts$outboundSchema` instead. */ - export const outboundSchema = PayloadDismissedToasts$outboundSchema; - /** @deprecated use `PayloadDismissedToasts$Outbound` instead. */ - export type Outbound = PayloadDismissedToasts$Outbound; -} - export function payloadDismissedToastsToJSON( payloadDismissedToasts: PayloadDismissedToasts, ): string { @@ -18077,7 +15816,6 @@ export function payloadDismissedToastsToJSON( PayloadDismissedToasts$outboundSchema.parse(payloadDismissedToasts), ); } - export function payloadDismissedToastsFromJSON( jsonString: string, ): SafeParseResult { @@ -18097,7 +15835,6 @@ export const PayloadFavoriteProjectsAndSpaces$inboundSchema: z.ZodType< teamId: z.string(), projectId: z.string(), }); - /** @internal */ export type PayloadFavoriteProjectsAndSpaces$Outbound = { teamId: string; @@ -18114,19 +15851,6 @@ export const PayloadFavoriteProjectsAndSpaces$outboundSchema: z.ZodType< 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 PayloadFavoriteProjectsAndSpaces$ { - /** @deprecated use `PayloadFavoriteProjectsAndSpaces$inboundSchema` instead. */ - export const inboundSchema = PayloadFavoriteProjectsAndSpaces$inboundSchema; - /** @deprecated use `PayloadFavoriteProjectsAndSpaces$outboundSchema` instead. */ - export const outboundSchema = PayloadFavoriteProjectsAndSpaces$outboundSchema; - /** @deprecated use `PayloadFavoriteProjectsAndSpaces$Outbound` instead. */ - export type Outbound = PayloadFavoriteProjectsAndSpaces$Outbound; -} - export function payloadFavoriteProjectsAndSpacesToJSON( payloadFavoriteProjectsAndSpaces: PayloadFavoriteProjectsAndSpaces, ): string { @@ -18136,7 +15860,6 @@ export function payloadFavoriteProjectsAndSpacesToJSON( ), ); } - export function payloadFavoriteProjectsAndSpacesFromJSON( jsonString: string, ): SafeParseResult { @@ -18153,7 +15876,6 @@ export const PayloadImportFlowGitNamespace$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.union([z.string(), z.number()]); - /** @internal */ export type PayloadImportFlowGitNamespace$Outbound = string | number; @@ -18164,19 +15886,6 @@ export const PayloadImportFlowGitNamespace$outboundSchema: z.ZodType< PayloadImportFlowGitNamespace > = 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 PayloadImportFlowGitNamespace$ { - /** @deprecated use `PayloadImportFlowGitNamespace$inboundSchema` instead. */ - export const inboundSchema = PayloadImportFlowGitNamespace$inboundSchema; - /** @deprecated use `PayloadImportFlowGitNamespace$outboundSchema` instead. */ - export const outboundSchema = PayloadImportFlowGitNamespace$outboundSchema; - /** @deprecated use `PayloadImportFlowGitNamespace$Outbound` instead. */ - export type Outbound = PayloadImportFlowGitNamespace$Outbound; -} - export function payloadImportFlowGitNamespaceToJSON( payloadImportFlowGitNamespace: PayloadImportFlowGitNamespace, ): string { @@ -18186,7 +15895,6 @@ export function payloadImportFlowGitNamespaceToJSON( ), ); } - export function payloadImportFlowGitNamespaceFromJSON( jsonString: string, ): SafeParseResult { @@ -18203,7 +15911,6 @@ export const PayloadImportFlowGitNamespaceId$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.union([z.string(), z.number()]); - /** @internal */ export type PayloadImportFlowGitNamespaceId$Outbound = string | number; @@ -18214,19 +15921,6 @@ export const PayloadImportFlowGitNamespaceId$outboundSchema: z.ZodType< PayloadImportFlowGitNamespaceId > = 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 PayloadImportFlowGitNamespaceId$ { - /** @deprecated use `PayloadImportFlowGitNamespaceId$inboundSchema` instead. */ - export const inboundSchema = PayloadImportFlowGitNamespaceId$inboundSchema; - /** @deprecated use `PayloadImportFlowGitNamespaceId$outboundSchema` instead. */ - export const outboundSchema = PayloadImportFlowGitNamespaceId$outboundSchema; - /** @deprecated use `PayloadImportFlowGitNamespaceId$Outbound` instead. */ - export type Outbound = PayloadImportFlowGitNamespaceId$Outbound; -} - export function payloadImportFlowGitNamespaceIdToJSON( payloadImportFlowGitNamespaceId: PayloadImportFlowGitNamespaceId, ): string { @@ -18236,7 +15930,6 @@ export function payloadImportFlowGitNamespaceIdToJSON( ), ); } - export function payloadImportFlowGitNamespaceIdFromJSON( jsonString: string, ): SafeParseResult { @@ -18251,30 +15944,17 @@ export function payloadImportFlowGitNamespaceIdFromJSON( export const PayloadImportFlowGitProvider$inboundSchema: z.ZodNativeEnum< typeof PayloadImportFlowGitProvider > = z.nativeEnum(PayloadImportFlowGitProvider); - /** @internal */ export const PayloadImportFlowGitProvider$outboundSchema: z.ZodNativeEnum< typeof PayloadImportFlowGitProvider > = PayloadImportFlowGitProvider$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PayloadImportFlowGitProvider$ { - /** @deprecated use `PayloadImportFlowGitProvider$inboundSchema` instead. */ - export const inboundSchema = PayloadImportFlowGitProvider$inboundSchema; - /** @deprecated use `PayloadImportFlowGitProvider$outboundSchema` instead. */ - export const outboundSchema = PayloadImportFlowGitProvider$outboundSchema; -} - /** @internal */ export const PayloadGitNamespaceId$inboundSchema: z.ZodType< PayloadGitNamespaceId, z.ZodTypeDef, unknown > = z.union([z.string(), z.number()]); - /** @internal */ export type PayloadGitNamespaceId$Outbound = string | number; @@ -18285,19 +15965,6 @@ export const PayloadGitNamespaceId$outboundSchema: z.ZodType< PayloadGitNamespaceId > = 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 PayloadGitNamespaceId$ { - /** @deprecated use `PayloadGitNamespaceId$inboundSchema` instead. */ - export const inboundSchema = PayloadGitNamespaceId$inboundSchema; - /** @deprecated use `PayloadGitNamespaceId$outboundSchema` instead. */ - export const outboundSchema = PayloadGitNamespaceId$outboundSchema; - /** @deprecated use `PayloadGitNamespaceId$Outbound` instead. */ - export type Outbound = PayloadGitNamespaceId$Outbound; -} - export function payloadGitNamespaceIdToJSON( payloadGitNamespaceId: PayloadGitNamespaceId, ): string { @@ -18305,7 +15972,6 @@ export function payloadGitNamespaceIdToJSON( PayloadGitNamespaceId$outboundSchema.parse(payloadGitNamespaceId), ); } - export function payloadGitNamespaceIdFromJSON( jsonString: string, ): SafeParseResult { @@ -18325,7 +15991,6 @@ export const PayloadPreferredScopesAndGitNamespaces$inboundSchema: z.ZodType< scopeId: z.string(), gitNamespaceId: z.nullable(z.union([z.string(), z.number()])), }); - /** @internal */ export type PayloadPreferredScopesAndGitNamespaces$Outbound = { scopeId: string; @@ -18342,21 +16007,6 @@ export const PayloadPreferredScopesAndGitNamespaces$outboundSchema: z.ZodType< gitNamespaceId: 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 PayloadPreferredScopesAndGitNamespaces$ { - /** @deprecated use `PayloadPreferredScopesAndGitNamespaces$inboundSchema` instead. */ - export const inboundSchema = - PayloadPreferredScopesAndGitNamespaces$inboundSchema; - /** @deprecated use `PayloadPreferredScopesAndGitNamespaces$outboundSchema` instead. */ - export const outboundSchema = - PayloadPreferredScopesAndGitNamespaces$outboundSchema; - /** @deprecated use `PayloadPreferredScopesAndGitNamespaces$Outbound` instead. */ - export type Outbound = PayloadPreferredScopesAndGitNamespaces$Outbound; -} - export function payloadPreferredScopesAndGitNamespacesToJSON( payloadPreferredScopesAndGitNamespaces: PayloadPreferredScopesAndGitNamespaces, @@ -18367,7 +16017,6 @@ export function payloadPreferredScopesAndGitNamespacesToJSON( ), ); } - export function payloadPreferredScopesAndGitNamespacesFromJSON( jsonString: string, ): SafeParseResult { @@ -18385,7 +16034,6 @@ export const PreventAutoBlocking$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.union([z.number(), z.boolean()]); - /** @internal */ export type PreventAutoBlocking$Outbound = number | boolean; @@ -18396,19 +16044,6 @@ export const PreventAutoBlocking$outboundSchema: z.ZodType< PreventAutoBlocking > = 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 PreventAutoBlocking$ { - /** @deprecated use `PreventAutoBlocking$inboundSchema` instead. */ - export const inboundSchema = PreventAutoBlocking$inboundSchema; - /** @deprecated use `PreventAutoBlocking$outboundSchema` instead. */ - export const outboundSchema = PreventAutoBlocking$outboundSchema; - /** @deprecated use `PreventAutoBlocking$Outbound` instead. */ - export type Outbound = PreventAutoBlocking$Outbound; -} - export function preventAutoBlockingToJSON( preventAutoBlocking: PreventAutoBlocking, ): string { @@ -18416,7 +16051,6 @@ export function preventAutoBlockingToJSON( PreventAutoBlocking$outboundSchema.parse(preventAutoBlocking), ); } - export function preventAutoBlockingFromJSON( jsonString: string, ): SafeParseResult { @@ -18435,7 +16069,6 @@ export const UserEventPayloadRemoteCaching$inboundSchema: z.ZodType< > = z.object({ enabled: z.boolean().optional(), }); - /** @internal */ export type UserEventPayloadRemoteCaching$Outbound = { enabled?: boolean | undefined; @@ -18450,19 +16083,6 @@ export const UserEventPayloadRemoteCaching$outboundSchema: z.ZodType< 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 UserEventPayloadRemoteCaching$ { - /** @deprecated use `UserEventPayloadRemoteCaching$inboundSchema` instead. */ - export const inboundSchema = UserEventPayloadRemoteCaching$inboundSchema; - /** @deprecated use `UserEventPayloadRemoteCaching$outboundSchema` instead. */ - export const outboundSchema = UserEventPayloadRemoteCaching$outboundSchema; - /** @deprecated use `UserEventPayloadRemoteCaching$Outbound` instead. */ - export type Outbound = UserEventPayloadRemoteCaching$Outbound; -} - export function userEventPayloadRemoteCachingToJSON( userEventPayloadRemoteCaching: UserEventPayloadRemoteCaching, ): string { @@ -18472,7 +16092,6 @@ export function userEventPayloadRemoteCachingToJSON( ), ); } - export function userEventPayloadRemoteCachingFromJSON( jsonString: string, ): SafeParseResult { @@ -18491,7 +16110,6 @@ export const PayloadBuildEntitlements$inboundSchema: z.ZodType< > = z.object({ enhancedBuilds: z.boolean().optional(), }); - /** @internal */ export type PayloadBuildEntitlements$Outbound = { enhancedBuilds?: boolean | undefined; @@ -18506,19 +16124,6 @@ export const PayloadBuildEntitlements$outboundSchema: z.ZodType< enhancedBuilds: 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 PayloadBuildEntitlements$ { - /** @deprecated use `PayloadBuildEntitlements$inboundSchema` instead. */ - export const inboundSchema = PayloadBuildEntitlements$inboundSchema; - /** @deprecated use `PayloadBuildEntitlements$outboundSchema` instead. */ - export const outboundSchema = PayloadBuildEntitlements$outboundSchema; - /** @deprecated use `PayloadBuildEntitlements$Outbound` instead. */ - export type Outbound = PayloadBuildEntitlements$Outbound; -} - export function payloadBuildEntitlementsToJSON( payloadBuildEntitlements: PayloadBuildEntitlements, ): string { @@ -18526,7 +16131,6 @@ export function payloadBuildEntitlementsToJSON( PayloadBuildEntitlements$outboundSchema.parse(payloadBuildEntitlements), ); } - export function payloadBuildEntitlementsFromJSON( jsonString: string, ): SafeParseResult { @@ -18537,27 +16141,63 @@ export function payloadBuildEntitlementsFromJSON( ); } +/** @internal */ +export const UserEventPayload66Configuration$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload66Configuration +> = z.nativeEnum(UserEventPayload66Configuration); +/** @internal */ +export const UserEventPayload66Configuration$outboundSchema: z.ZodNativeEnum< + typeof UserEventPayload66Configuration +> = UserEventPayload66Configuration$inboundSchema; + +/** @internal */ +export const PayloadBuildQueue$inboundSchema: z.ZodType< + PayloadBuildQueue, + z.ZodTypeDef, + unknown +> = z.object({ + configuration: UserEventPayload66Configuration$inboundSchema.optional(), +}); +/** @internal */ +export type PayloadBuildQueue$Outbound = { + configuration?: string | undefined; +}; + +/** @internal */ +export const PayloadBuildQueue$outboundSchema: z.ZodType< + PayloadBuildQueue$Outbound, + z.ZodTypeDef, + PayloadBuildQueue +> = z.object({ + configuration: UserEventPayload66Configuration$outboundSchema.optional(), +}); + +export function payloadBuildQueueToJSON( + payloadBuildQueue: PayloadBuildQueue, +): string { + return JSON.stringify( + PayloadBuildQueue$outboundSchema.parse(payloadBuildQueue), + ); +} +export function payloadBuildQueueFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => PayloadBuildQueue$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'PayloadBuildQueue' from JSON`, + ); +} + /** @internal */ export const PayloadPurchaseType$inboundSchema: z.ZodNativeEnum< typeof PayloadPurchaseType > = z.nativeEnum(PayloadPurchaseType); - /** @internal */ export const PayloadPurchaseType$outboundSchema: z.ZodNativeEnum< typeof PayloadPurchaseType > = PayloadPurchaseType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PayloadPurchaseType$ { - /** @deprecated use `PayloadPurchaseType$inboundSchema` instead. */ - export const inboundSchema = PayloadPurchaseType$inboundSchema; - /** @deprecated use `PayloadPurchaseType$outboundSchema` instead. */ - export const outboundSchema = PayloadPurchaseType$outboundSchema; -} - /** @internal */ export const PayloadBuildMachine$inboundSchema: z.ZodType< PayloadBuildMachine, @@ -18569,7 +16209,6 @@ export const PayloadBuildMachine$inboundSchema: z.ZodType< cores: z.number().optional(), memory: z.number().optional(), }); - /** @internal */ export type PayloadBuildMachine$Outbound = { purchaseType?: string | undefined; @@ -18590,19 +16229,6 @@ export const PayloadBuildMachine$outboundSchema: z.ZodType< memory: 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 PayloadBuildMachine$ { - /** @deprecated use `PayloadBuildMachine$inboundSchema` instead. */ - export const inboundSchema = PayloadBuildMachine$inboundSchema; - /** @deprecated use `PayloadBuildMachine$outboundSchema` instead. */ - export const outboundSchema = PayloadBuildMachine$outboundSchema; - /** @deprecated use `PayloadBuildMachine$Outbound` instead. */ - export type Outbound = PayloadBuildMachine$Outbound; -} - export function payloadBuildMachineToJSON( payloadBuildMachine: PayloadBuildMachine, ): string { @@ -18610,7 +16236,6 @@ export function payloadBuildMachineToJSON( PayloadBuildMachine$outboundSchema.parse(payloadBuildMachine), ); } - export function payloadBuildMachineFromJSON( jsonString: string, ): SafeParseResult { @@ -18632,7 +16257,6 @@ export const PayloadSecurity$inboundSchema: z.ZodType< ipBypass: z.number().optional(), rateLimit: z.number().optional(), }); - /** @internal */ export type PayloadSecurity$Outbound = { customRules?: number | undefined; @@ -18653,25 +16277,11 @@ export const PayloadSecurity$outboundSchema: z.ZodType< rateLimit: 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 PayloadSecurity$ { - /** @deprecated use `PayloadSecurity$inboundSchema` instead. */ - export const inboundSchema = PayloadSecurity$inboundSchema; - /** @deprecated use `PayloadSecurity$outboundSchema` instead. */ - export const outboundSchema = PayloadSecurity$outboundSchema; - /** @deprecated use `PayloadSecurity$Outbound` instead. */ - export type Outbound = PayloadSecurity$Outbound; -} - export function payloadSecurityToJSON( payloadSecurity: PayloadSecurity, ): string { return JSON.stringify(PayloadSecurity$outboundSchema.parse(payloadSecurity)); } - export function payloadSecurityFromJSON( jsonString: string, ): SafeParseResult { @@ -18693,6 +16303,7 @@ export const PayloadResourceConfig$inboundSchema: z.ZodType< elasticConcurrencyEnabled: z.boolean().optional(), buildEntitlements: z.lazy(() => PayloadBuildEntitlements$inboundSchema) .optional(), + buildQueue: z.lazy(() => PayloadBuildQueue$inboundSchema).optional(), awsAccountType: z.string().optional(), awsAccountIds: z.array(z.string()).optional(), cfZoneName: z.string().optional(), @@ -18716,13 +16327,13 @@ export const PayloadResourceConfig$inboundSchema: z.ZodType< buildMachine: z.lazy(() => PayloadBuildMachine$inboundSchema).optional(), security: z.lazy(() => PayloadSecurity$inboundSchema).optional(), }); - /** @internal */ export type PayloadResourceConfig$Outbound = { nodeType?: string | undefined; concurrentBuilds?: number | undefined; elasticConcurrencyEnabled?: boolean | undefined; buildEntitlements?: PayloadBuildEntitlements$Outbound | undefined; + buildQueue?: PayloadBuildQueue$Outbound | undefined; awsAccountType?: string | undefined; awsAccountIds?: Array | undefined; cfZoneName?: string | undefined; @@ -18758,6 +16369,7 @@ export const PayloadResourceConfig$outboundSchema: z.ZodType< elasticConcurrencyEnabled: z.boolean().optional(), buildEntitlements: z.lazy(() => PayloadBuildEntitlements$outboundSchema) .optional(), + buildQueue: z.lazy(() => PayloadBuildQueue$outboundSchema).optional(), awsAccountType: z.string().optional(), awsAccountIds: z.array(z.string()).optional(), cfZoneName: z.string().optional(), @@ -18782,19 +16394,6 @@ export const PayloadResourceConfig$outboundSchema: z.ZodType< security: z.lazy(() => PayloadSecurity$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 PayloadResourceConfig$ { - /** @deprecated use `PayloadResourceConfig$inboundSchema` instead. */ - export const inboundSchema = PayloadResourceConfig$inboundSchema; - /** @deprecated use `PayloadResourceConfig$outboundSchema` instead. */ - export const outboundSchema = PayloadResourceConfig$outboundSchema; - /** @deprecated use `PayloadResourceConfig$Outbound` instead. */ - export type Outbound = PayloadResourceConfig$Outbound; -} - export function payloadResourceConfigToJSON( payloadResourceConfig: PayloadResourceConfig, ): string { @@ -18802,7 +16401,6 @@ export function payloadResourceConfigToJSON( PayloadResourceConfig$outboundSchema.parse(payloadResourceConfig), ); } - export function payloadResourceConfigFromJSON( jsonString: string, ): SafeParseResult { @@ -18822,7 +16420,6 @@ export const ResourceLimits$inboundSchema: z.ZodType< max: z.number(), duration: z.number(), }); - /** @internal */ export type ResourceLimits$Outbound = { max: number; @@ -18839,23 +16436,9 @@ export const ResourceLimits$outboundSchema: z.ZodType< duration: 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 ResourceLimits$ { - /** @deprecated use `ResourceLimits$inboundSchema` instead. */ - export const inboundSchema = ResourceLimits$inboundSchema; - /** @deprecated use `ResourceLimits$outboundSchema` instead. */ - export const outboundSchema = ResourceLimits$outboundSchema; - /** @deprecated use `ResourceLimits$Outbound` instead. */ - export type Outbound = ResourceLimits$Outbound; -} - export function resourceLimitsToJSON(resourceLimits: ResourceLimits): string { return JSON.stringify(ResourceLimits$outboundSchema.parse(resourceLimits)); } - export function resourceLimitsFromJSON( jsonString: string, ): SafeParseResult { @@ -18870,65 +16453,29 @@ export function resourceLimitsFromJSON( export const PayloadViewPreference$inboundSchema: z.ZodNativeEnum< typeof PayloadViewPreference > = z.nativeEnum(PayloadViewPreference); - /** @internal */ export const PayloadViewPreference$outboundSchema: z.ZodNativeEnum< typeof PayloadViewPreference > = PayloadViewPreference$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PayloadViewPreference$ { - /** @deprecated use `PayloadViewPreference$inboundSchema` instead. */ - export const inboundSchema = PayloadViewPreference$inboundSchema; - /** @deprecated use `PayloadViewPreference$outboundSchema` instead. */ - export const outboundSchema = PayloadViewPreference$outboundSchema; -} - /** @internal */ export const PayloadFavoritesViewPreference$inboundSchema: z.ZodNativeEnum< typeof PayloadFavoritesViewPreference > = z.nativeEnum(PayloadFavoritesViewPreference); - /** @internal */ export const PayloadFavoritesViewPreference$outboundSchema: z.ZodNativeEnum< typeof PayloadFavoritesViewPreference > = PayloadFavoritesViewPreference$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PayloadFavoritesViewPreference$ { - /** @deprecated use `PayloadFavoritesViewPreference$inboundSchema` instead. */ - export const inboundSchema = PayloadFavoritesViewPreference$inboundSchema; - /** @deprecated use `PayloadFavoritesViewPreference$outboundSchema` instead. */ - export const outboundSchema = PayloadFavoritesViewPreference$outboundSchema; -} - /** @internal */ export const PayloadRecentsViewPreference$inboundSchema: z.ZodNativeEnum< typeof PayloadRecentsViewPreference > = z.nativeEnum(PayloadRecentsViewPreference); - /** @internal */ export const PayloadRecentsViewPreference$outboundSchema: z.ZodNativeEnum< typeof PayloadRecentsViewPreference > = PayloadRecentsViewPreference$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PayloadRecentsViewPreference$ { - /** @deprecated use `PayloadRecentsViewPreference$inboundSchema` instead. */ - export const inboundSchema = PayloadRecentsViewPreference$inboundSchema; - /** @deprecated use `PayloadRecentsViewPreference$outboundSchema` instead. */ - export const outboundSchema = PayloadRecentsViewPreference$outboundSchema; -} - /** @internal */ export const PayloadActiveDashboardViews$inboundSchema: z.ZodType< PayloadActiveDashboardViews, @@ -18943,7 +16490,6 @@ export const PayloadActiveDashboardViews$inboundSchema: z.ZodType< recentsViewPreference: z.nullable(PayloadRecentsViewPreference$inboundSchema) .optional(), }); - /** @internal */ export type PayloadActiveDashboardViews$Outbound = { scopeId: string; @@ -18967,19 +16513,6 @@ export const PayloadActiveDashboardViews$outboundSchema: z.ZodType< .optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PayloadActiveDashboardViews$ { - /** @deprecated use `PayloadActiveDashboardViews$inboundSchema` instead. */ - export const inboundSchema = PayloadActiveDashboardViews$inboundSchema; - /** @deprecated use `PayloadActiveDashboardViews$outboundSchema` instead. */ - export const outboundSchema = PayloadActiveDashboardViews$outboundSchema; - /** @deprecated use `PayloadActiveDashboardViews$Outbound` instead. */ - export type Outbound = PayloadActiveDashboardViews$Outbound; -} - export function payloadActiveDashboardViewsToJSON( payloadActiveDashboardViews: PayloadActiveDashboardViews, ): string { @@ -18989,7 +16522,6 @@ export function payloadActiveDashboardViewsToJSON( ), ); } - export function payloadActiveDashboardViewsFromJSON( jsonString: string, ): SafeParseResult { @@ -19009,7 +16541,6 @@ export const SecondaryEmails$inboundSchema: z.ZodType< email: z.string(), verified: z.boolean(), }); - /** @internal */ export type SecondaryEmails$Outbound = { email: string; @@ -19026,25 +16557,11 @@ export const SecondaryEmails$outboundSchema: z.ZodType< verified: 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 SecondaryEmails$ { - /** @deprecated use `SecondaryEmails$inboundSchema` instead. */ - export const inboundSchema = SecondaryEmails$inboundSchema; - /** @deprecated use `SecondaryEmails$outboundSchema` instead. */ - export const outboundSchema = SecondaryEmails$outboundSchema; - /** @deprecated use `SecondaryEmails$Outbound` instead. */ - export type Outbound = SecondaryEmails$Outbound; -} - export function secondaryEmailsToJSON( secondaryEmails: SecondaryEmails, ): string { return JSON.stringify(SecondaryEmails$outboundSchema.parse(secondaryEmails)); } - export function secondaryEmailsFromJSON( jsonString: string, ): SafeParseResult { @@ -19060,7 +16577,6 @@ export const Rules$inboundSchema: z.ZodType = z .object({ email: z.string(), }); - /** @internal */ export type Rules$Outbound = { email: string; @@ -19075,23 +16591,9 @@ export const Rules$outboundSchema: z.ZodType< 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 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 { @@ -19110,7 +16612,6 @@ export const EmailNotifications$inboundSchema: z.ZodType< > = z.object({ rules: z.record(z.lazy(() => Rules$inboundSchema)).optional(), }); - /** @internal */ export type EmailNotifications$Outbound = { rules?: { [k: string]: Rules$Outbound } | undefined; @@ -19125,19 +16626,6 @@ export const EmailNotifications$outboundSchema: z.ZodType< rules: z.record(z.lazy(() => Rules$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 EmailNotifications$ { - /** @deprecated use `EmailNotifications$inboundSchema` instead. */ - export const inboundSchema = EmailNotifications$inboundSchema; - /** @deprecated use `EmailNotifications$outboundSchema` instead. */ - export const outboundSchema = EmailNotifications$outboundSchema; - /** @deprecated use `EmailNotifications$Outbound` instead. */ - export type Outbound = EmailNotifications$Outbound; -} - export function emailNotificationsToJSON( emailNotifications: EmailNotifications, ): string { @@ -19145,7 +16633,6 @@ export function emailNotificationsToJSON( EmailNotifications$outboundSchema.parse(emailNotifications), ); } - export function emailNotificationsFromJSON( jsonString: string, ): SafeParseResult { @@ -19165,7 +16652,6 @@ export const PayloadReasons$inboundSchema: z.ZodType< name: z.string(), value: z.string(), }); - /** @internal */ export type PayloadReasons$Outbound = { name: string; @@ -19182,23 +16668,9 @@ export const PayloadReasons$outboundSchema: z.ZodType< 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 PayloadReasons$ { - /** @deprecated use `PayloadReasons$inboundSchema` instead. */ - export const inboundSchema = PayloadReasons$inboundSchema; - /** @deprecated use `PayloadReasons$outboundSchema` instead. */ - export const outboundSchema = PayloadReasons$outboundSchema; - /** @deprecated use `PayloadReasons$Outbound` instead. */ - export type Outbound = PayloadReasons$Outbound; -} - export function payloadReasonsToJSON(payloadReasons: PayloadReasons): string { return JSON.stringify(PayloadReasons$outboundSchema.parse(payloadReasons)); } - export function payloadReasonsFromJSON( jsonString: string, ): SafeParseResult { @@ -19218,7 +16690,6 @@ export const SiftScores$inboundSchema: z.ZodType< score: z.number(), reasons: z.array(z.lazy(() => PayloadReasons$inboundSchema)), }); - /** @internal */ export type SiftScores$Outbound = { score: number; @@ -19235,23 +16706,9 @@ export const SiftScores$outboundSchema: z.ZodType< reasons: z.array(z.lazy(() => PayloadReasons$outboundSchema)), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace SiftScores$ { - /** @deprecated use `SiftScores$inboundSchema` instead. */ - export const inboundSchema = SiftScores$inboundSchema; - /** @deprecated use `SiftScores$outboundSchema` instead. */ - export const outboundSchema = SiftScores$outboundSchema; - /** @deprecated use `SiftScores$Outbound` instead. */ - export type Outbound = SiftScores$Outbound; -} - export function siftScoresToJSON(siftScores: SiftScores): string { return JSON.stringify(SiftScores$outboundSchema.parse(siftScores)); } - export function siftScoresFromJSON( jsonString: string, ): SafeParseResult { @@ -19259,39 +16716,26 @@ export function siftScoresFromJSON( jsonString, (x) => SiftScores$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SiftScores' from JSON`, - ); -} - -/** @internal */ -export const UserEventPayload64Name$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload64Name -> = z.nativeEnum(UserEventPayload64Name); - -/** @internal */ -export const UserEventPayload64Name$outboundSchema: z.ZodNativeEnum< - typeof UserEventPayload64Name -> = UserEventPayload64Name$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UserEventPayload64Name$ { - /** @deprecated use `UserEventPayload64Name$inboundSchema` instead. */ - export const inboundSchema = UserEventPayload64Name$inboundSchema; - /** @deprecated use `UserEventPayload64Name$outboundSchema` instead. */ - export const outboundSchema = UserEventPayload64Name$outboundSchema; + ); } +/** @internal */ +export const UserEventPayload66Name$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload66Name +> = z.nativeEnum(UserEventPayload66Name); +/** @internal */ +export const UserEventPayload66Name$outboundSchema: z.ZodNativeEnum< + typeof UserEventPayload66Name +> = UserEventPayload66Name$inboundSchema; + /** @internal */ export const SiftRoute$inboundSchema: z.ZodType< SiftRoute, z.ZodTypeDef, unknown > = z.object({ - name: UserEventPayload64Name$inboundSchema, + name: UserEventPayload66Name$inboundSchema, }); - /** @internal */ export type SiftRoute$Outbound = { name: string; @@ -19303,26 +16747,12 @@ export const SiftRoute$outboundSchema: z.ZodType< z.ZodTypeDef, SiftRoute > = z.object({ - name: UserEventPayload64Name$outboundSchema, + name: UserEventPayload66Name$outboundSchema, }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace SiftRoute$ { - /** @deprecated use `SiftRoute$inboundSchema` instead. */ - export const inboundSchema = SiftRoute$inboundSchema; - /** @deprecated use `SiftRoute$outboundSchema` instead. */ - export const outboundSchema = SiftRoute$outboundSchema; - /** @deprecated use `SiftRoute$Outbound` instead. */ - export type Outbound = SiftRoute$Outbound; -} - export function siftRouteToJSON(siftRoute: SiftRoute): string { return JSON.stringify(SiftRoute$outboundSchema.parse(siftRoute)); } - export function siftRouteFromJSON( jsonString: string, ): SafeParseResult { @@ -19337,44 +16767,20 @@ export function siftRouteFromJSON( export const PayloadReason$inboundSchema: z.ZodNativeEnum< typeof PayloadReason > = z.nativeEnum(PayloadReason); - /** @internal */ export const PayloadReason$outboundSchema: z.ZodNativeEnum< typeof PayloadReason > = PayloadReason$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PayloadReason$ { - /** @deprecated use `PayloadReason$inboundSchema` instead. */ - export const inboundSchema = PayloadReason$inboundSchema; - /** @deprecated use `PayloadReason$outboundSchema` instead. */ - export const outboundSchema = PayloadReason$outboundSchema; -} - /** @internal */ export const PayloadBlockedDueToOverageType$inboundSchema: z.ZodNativeEnum< typeof PayloadBlockedDueToOverageType > = z.nativeEnum(PayloadBlockedDueToOverageType); - /** @internal */ export const PayloadBlockedDueToOverageType$outboundSchema: z.ZodNativeEnum< typeof PayloadBlockedDueToOverageType > = PayloadBlockedDueToOverageType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PayloadBlockedDueToOverageType$ { - /** @deprecated use `PayloadBlockedDueToOverageType$inboundSchema` instead. */ - export const inboundSchema = PayloadBlockedDueToOverageType$inboundSchema; - /** @deprecated use `PayloadBlockedDueToOverageType$outboundSchema` instead. */ - export const outboundSchema = PayloadBlockedDueToOverageType$outboundSchema; -} - /** @internal */ export const PayloadSoftBlock$inboundSchema: z.ZodType< PayloadSoftBlock, @@ -19386,7 +16792,6 @@ export const PayloadSoftBlock$inboundSchema: z.ZodType< blockedDueToOverageType: PayloadBlockedDueToOverageType$inboundSchema .optional(), }); - /** @internal */ export type PayloadSoftBlock$Outbound = { blockedAt: number; @@ -19406,19 +16811,6 @@ export const PayloadSoftBlock$outboundSchema: z.ZodType< .optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PayloadSoftBlock$ { - /** @deprecated use `PayloadSoftBlock$inboundSchema` instead. */ - export const inboundSchema = PayloadSoftBlock$inboundSchema; - /** @deprecated use `PayloadSoftBlock$outboundSchema` instead. */ - export const outboundSchema = PayloadSoftBlock$outboundSchema; - /** @deprecated use `PayloadSoftBlock$Outbound` instead. */ - export type Outbound = PayloadSoftBlock$Outbound; -} - export function payloadSoftBlockToJSON( payloadSoftBlock: PayloadSoftBlock, ): string { @@ -19426,7 +16818,6 @@ export function payloadSoftBlockToJSON( PayloadSoftBlock$outboundSchema.parse(payloadSoftBlock), ); } - export function payloadSoftBlockFromJSON( jsonString: string, ): SafeParseResult { @@ -19438,96 +16829,47 @@ export function payloadSoftBlockFromJSON( } /** @internal */ -export const UserEventPayload64Role$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload64Role -> = z.nativeEnum(UserEventPayload64Role); - +export const UserEventPayload66Role$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload66Role +> = z.nativeEnum(UserEventPayload66Role); /** @internal */ -export const UserEventPayload64Role$outboundSchema: z.ZodNativeEnum< - typeof UserEventPayload64Role -> = UserEventPayload64Role$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UserEventPayload64Role$ { - /** @deprecated use `UserEventPayload64Role$inboundSchema` instead. */ - export const inboundSchema = UserEventPayload64Role$inboundSchema; - /** @deprecated use `UserEventPayload64Role$outboundSchema` instead. */ - export const outboundSchema = UserEventPayload64Role$outboundSchema; -} +export const UserEventPayload66Role$outboundSchema: z.ZodNativeEnum< + typeof UserEventPayload66Role +> = UserEventPayload66Role$inboundSchema; /** @internal */ export const PayloadTeamRoles$inboundSchema: z.ZodNativeEnum< typeof PayloadTeamRoles > = z.nativeEnum(PayloadTeamRoles); - /** @internal */ export const PayloadTeamRoles$outboundSchema: z.ZodNativeEnum< typeof PayloadTeamRoles > = PayloadTeamRoles$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PayloadTeamRoles$ { - /** @deprecated use `PayloadTeamRoles$inboundSchema` instead. */ - export const inboundSchema = PayloadTeamRoles$inboundSchema; - /** @deprecated use `PayloadTeamRoles$outboundSchema` instead. */ - export const outboundSchema = PayloadTeamRoles$outboundSchema; -} - /** @internal */ export const PayloadTeamPermissions$inboundSchema: z.ZodNativeEnum< typeof PayloadTeamPermissions > = z.nativeEnum(PayloadTeamPermissions); - /** @internal */ export const PayloadTeamPermissions$outboundSchema: z.ZodNativeEnum< typeof PayloadTeamPermissions > = PayloadTeamPermissions$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PayloadTeamPermissions$ { - /** @deprecated use `PayloadTeamPermissions$inboundSchema` instead. */ - export const inboundSchema = PayloadTeamPermissions$inboundSchema; - /** @deprecated use `PayloadTeamPermissions$outboundSchema` instead. */ - export const outboundSchema = PayloadTeamPermissions$outboundSchema; -} - /** @internal */ export const UserEventPayloadOrigin$inboundSchema: z.ZodNativeEnum< typeof UserEventPayloadOrigin > = z.nativeEnum(UserEventPayloadOrigin); - /** @internal */ export const UserEventPayloadOrigin$outboundSchema: z.ZodNativeEnum< typeof UserEventPayloadOrigin > = UserEventPayloadOrigin$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UserEventPayloadOrigin$ { - /** @deprecated use `UserEventPayloadOrigin$inboundSchema` instead. */ - export const inboundSchema = UserEventPayloadOrigin$inboundSchema; - /** @deprecated use `UserEventPayloadOrigin$outboundSchema` instead. */ - export const outboundSchema = UserEventPayloadOrigin$outboundSchema; -} - /** @internal */ export const UserEventPayloadGitUserId$inboundSchema: z.ZodType< UserEventPayloadGitUserId, z.ZodTypeDef, unknown > = z.union([z.string(), z.number()]); - /** @internal */ export type UserEventPayloadGitUserId$Outbound = string | number; @@ -19538,19 +16880,6 @@ export const UserEventPayloadGitUserId$outboundSchema: z.ZodType< UserEventPayloadGitUserId > = 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 UserEventPayloadGitUserId$ { - /** @deprecated use `UserEventPayloadGitUserId$inboundSchema` instead. */ - export const inboundSchema = UserEventPayloadGitUserId$inboundSchema; - /** @deprecated use `UserEventPayloadGitUserId$outboundSchema` instead. */ - export const outboundSchema = UserEventPayloadGitUserId$outboundSchema; - /** @deprecated use `UserEventPayloadGitUserId$Outbound` instead. */ - export type Outbound = UserEventPayloadGitUserId$Outbound; -} - export function userEventPayloadGitUserIdToJSON( userEventPayloadGitUserId: UserEventPayloadGitUserId, ): string { @@ -19558,7 +16887,6 @@ export function userEventPayloadGitUserIdToJSON( UserEventPayloadGitUserId$outboundSchema.parse(userEventPayloadGitUserId), ); } - export function userEventPayloadGitUserIdFromJSON( jsonString: string, ): SafeParseResult { @@ -19587,7 +16915,6 @@ export const UserEventPayloadJoinedFrom$inboundSchema: z.ZodType< dsyncUserId: z.string().optional(), dsyncConnectedAt: z.number().optional(), }); - /** @internal */ export type UserEventPayloadJoinedFrom$Outbound = { origin: string; @@ -19622,19 +16949,6 @@ export const UserEventPayloadJoinedFrom$outboundSchema: z.ZodType< 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 UserEventPayloadJoinedFrom$ { - /** @deprecated use `UserEventPayloadJoinedFrom$inboundSchema` instead. */ - export const inboundSchema = UserEventPayloadJoinedFrom$inboundSchema; - /** @deprecated use `UserEventPayloadJoinedFrom$outboundSchema` instead. */ - export const outboundSchema = UserEventPayloadJoinedFrom$outboundSchema; - /** @deprecated use `UserEventPayloadJoinedFrom$Outbound` instead. */ - export type Outbound = UserEventPayloadJoinedFrom$Outbound; -} - export function userEventPayloadJoinedFromToJSON( userEventPayloadJoinedFrom: UserEventPayloadJoinedFrom, ): string { @@ -19642,7 +16956,6 @@ export function userEventPayloadJoinedFromToJSON( UserEventPayloadJoinedFrom$outboundSchema.parse(userEventPayloadJoinedFrom), ); } - export function userEventPayloadJoinedFromFromJSON( jsonString: string, ): SafeParseResult { @@ -19659,27 +16972,26 @@ export const Teams$inboundSchema: z.ZodType = z created: z.number(), createdAt: z.number(), teamId: z.string(), - role: UserEventPayload64Role$inboundSchema, + role: UserEventPayload66Role$inboundSchema, + teamRoles: z.array(PayloadTeamRoles$inboundSchema).optional(), + teamPermissions: z.array(PayloadTeamPermissions$inboundSchema).optional(), confirmed: z.boolean(), confirmedAt: z.number(), accessRequestedAt: z.number().optional(), - teamRoles: z.array(PayloadTeamRoles$inboundSchema).optional(), - teamPermissions: z.array(PayloadTeamPermissions$inboundSchema).optional(), joinedFrom: z.lazy(() => UserEventPayloadJoinedFrom$inboundSchema) .optional(), }); - /** @internal */ export type Teams$Outbound = { created: number; createdAt: number; teamId: string; role: string; + teamRoles?: Array | undefined; + teamPermissions?: Array | undefined; confirmed: boolean; confirmedAt: number; accessRequestedAt?: number | undefined; - teamRoles?: Array | undefined; - teamPermissions?: Array | undefined; joinedFrom?: UserEventPayloadJoinedFrom$Outbound | undefined; }; @@ -19692,33 +17004,19 @@ export const Teams$outboundSchema: z.ZodType< created: z.number(), createdAt: z.number(), teamId: z.string(), - role: UserEventPayload64Role$outboundSchema, + role: UserEventPayload66Role$outboundSchema, + teamRoles: z.array(PayloadTeamRoles$outboundSchema).optional(), + teamPermissions: z.array(PayloadTeamPermissions$outboundSchema).optional(), confirmed: z.boolean(), confirmedAt: z.number(), accessRequestedAt: z.number().optional(), - teamRoles: z.array(PayloadTeamRoles$outboundSchema).optional(), - teamPermissions: z.array(PayloadTeamPermissions$outboundSchema).optional(), joinedFrom: z.lazy(() => UserEventPayloadJoinedFrom$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 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 { @@ -19730,25 +17028,13 @@ export function teamsFromJSON( } /** @internal */ -export const UserEventPayload64Type$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload64Type -> = z.nativeEnum(UserEventPayload64Type); - +export const UserEventPayload66Type$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload66Type +> = z.nativeEnum(UserEventPayload66Type); /** @internal */ -export const UserEventPayload64Type$outboundSchema: z.ZodNativeEnum< - typeof UserEventPayload64Type -> = UserEventPayload64Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UserEventPayload64Type$ { - /** @deprecated use `UserEventPayload64Type$inboundSchema` instead. */ - export const inboundSchema = UserEventPayload64Type$inboundSchema; - /** @deprecated use `UserEventPayload64Type$outboundSchema` instead. */ - export const outboundSchema = UserEventPayload64Type$outboundSchema; -} +export const UserEventPayload66Type$outboundSchema: z.ZodNativeEnum< + typeof UserEventPayload66Type +> = UserEventPayload66Type$inboundSchema; /** @internal */ export const UsageAlerts$inboundSchema: z.ZodType< @@ -19759,7 +17045,6 @@ export const UsageAlerts$inboundSchema: z.ZodType< warningAt: z.nullable(z.number()).optional(), blockingAt: z.nullable(z.number()).optional(), }); - /** @internal */ export type UsageAlerts$Outbound = { warningAt?: number | null | undefined; @@ -19776,23 +17061,9 @@ export const UsageAlerts$outboundSchema: z.ZodType< blockingAt: 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 UsageAlerts$ { - /** @deprecated use `UsageAlerts$inboundSchema` instead. */ - export const inboundSchema = UsageAlerts$inboundSchema; - /** @deprecated use `UsageAlerts$outboundSchema` instead. */ - export const outboundSchema = UsageAlerts$outboundSchema; - /** @deprecated use `UsageAlerts$Outbound` instead. */ - export type Outbound = UsageAlerts$Outbound; -} - export function usageAlertsToJSON(usageAlerts: UsageAlerts): string { return JSON.stringify(UsageAlerts$outboundSchema.parse(usageAlerts)); } - export function usageAlertsFromJSON( jsonString: string, ): SafeParseResult { @@ -19813,7 +17084,6 @@ export const AnalyticsUsage$inboundSchema: z.ZodType< warningAt: z.nullable(z.number()).optional(), blockedAt: z.nullable(z.number()).optional(), }); - /** @internal */ export type AnalyticsUsage$Outbound = { currentThreshold: number; @@ -19832,23 +17102,9 @@ export const AnalyticsUsage$outboundSchema: z.ZodType< blockedAt: 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 AnalyticsUsage$ { - /** @deprecated use `AnalyticsUsage$inboundSchema` instead. */ - export const inboundSchema = AnalyticsUsage$inboundSchema; - /** @deprecated use `AnalyticsUsage$outboundSchema` instead. */ - export const outboundSchema = AnalyticsUsage$outboundSchema; - /** @deprecated use `AnalyticsUsage$Outbound` instead. */ - export type Outbound = AnalyticsUsage$Outbound; -} - export function analyticsUsageToJSON(analyticsUsage: AnalyticsUsage): string { return JSON.stringify(AnalyticsUsage$outboundSchema.parse(analyticsUsage)); } - export function analyticsUsageFromJSON( jsonString: string, ): SafeParseResult { @@ -19869,7 +17125,6 @@ export const Artifacts$inboundSchema: z.ZodType< warningAt: z.nullable(z.number()).optional(), blockedAt: z.nullable(z.number()).optional(), }); - /** @internal */ export type Artifacts$Outbound = { currentThreshold: number; @@ -19888,23 +17143,9 @@ export const Artifacts$outboundSchema: z.ZodType< blockedAt: 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 Artifacts$ { - /** @deprecated use `Artifacts$inboundSchema` instead. */ - export const inboundSchema = Artifacts$inboundSchema; - /** @deprecated use `Artifacts$outboundSchema` instead. */ - export const outboundSchema = Artifacts$outboundSchema; - /** @deprecated use `Artifacts$Outbound` instead. */ - export type Outbound = Artifacts$Outbound; -} - export function artifactsToJSON(artifacts: Artifacts): string { return JSON.stringify(Artifacts$outboundSchema.parse(artifacts)); } - export function artifactsFromJSON( jsonString: string, ): SafeParseResult { @@ -19925,7 +17166,6 @@ export const Bandwidth$inboundSchema: z.ZodType< warningAt: z.nullable(z.number()).optional(), blockedAt: z.nullable(z.number()).optional(), }); - /** @internal */ export type Bandwidth$Outbound = { currentThreshold: number; @@ -19944,23 +17184,9 @@ export const Bandwidth$outboundSchema: z.ZodType< blockedAt: 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 Bandwidth$ { - /** @deprecated use `Bandwidth$inboundSchema` instead. */ - export const inboundSchema = Bandwidth$inboundSchema; - /** @deprecated use `Bandwidth$outboundSchema` instead. */ - export const outboundSchema = Bandwidth$outboundSchema; - /** @deprecated use `Bandwidth$Outbound` instead. */ - export type Outbound = Bandwidth$Outbound; -} - export function bandwidthToJSON(bandwidth: Bandwidth): string { return JSON.stringify(Bandwidth$outboundSchema.parse(bandwidth)); } - export function bandwidthFromJSON( jsonString: string, ): SafeParseResult { @@ -19981,7 +17207,6 @@ export const BlobTotalAdvancedRequests$inboundSchema: z.ZodType< warningAt: z.nullable(z.number()).optional(), blockedAt: z.nullable(z.number()).optional(), }); - /** @internal */ export type BlobTotalAdvancedRequests$Outbound = { currentThreshold: number; @@ -20000,19 +17225,6 @@ export const BlobTotalAdvancedRequests$outboundSchema: z.ZodType< blockedAt: 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 BlobTotalAdvancedRequests$ { - /** @deprecated use `BlobTotalAdvancedRequests$inboundSchema` instead. */ - export const inboundSchema = BlobTotalAdvancedRequests$inboundSchema; - /** @deprecated use `BlobTotalAdvancedRequests$outboundSchema` instead. */ - export const outboundSchema = BlobTotalAdvancedRequests$outboundSchema; - /** @deprecated use `BlobTotalAdvancedRequests$Outbound` instead. */ - export type Outbound = BlobTotalAdvancedRequests$Outbound; -} - export function blobTotalAdvancedRequestsToJSON( blobTotalAdvancedRequests: BlobTotalAdvancedRequests, ): string { @@ -20020,7 +17232,6 @@ export function blobTotalAdvancedRequestsToJSON( BlobTotalAdvancedRequests$outboundSchema.parse(blobTotalAdvancedRequests), ); } - export function blobTotalAdvancedRequestsFromJSON( jsonString: string, ): SafeParseResult { @@ -20041,7 +17252,6 @@ export const BlobTotalAvgSizeInBytes$inboundSchema: z.ZodType< warningAt: z.nullable(z.number()).optional(), blockedAt: z.nullable(z.number()).optional(), }); - /** @internal */ export type BlobTotalAvgSizeInBytes$Outbound = { currentThreshold: number; @@ -20060,19 +17270,6 @@ export const BlobTotalAvgSizeInBytes$outboundSchema: z.ZodType< blockedAt: 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 BlobTotalAvgSizeInBytes$ { - /** @deprecated use `BlobTotalAvgSizeInBytes$inboundSchema` instead. */ - export const inboundSchema = BlobTotalAvgSizeInBytes$inboundSchema; - /** @deprecated use `BlobTotalAvgSizeInBytes$outboundSchema` instead. */ - export const outboundSchema = BlobTotalAvgSizeInBytes$outboundSchema; - /** @deprecated use `BlobTotalAvgSizeInBytes$Outbound` instead. */ - export type Outbound = BlobTotalAvgSizeInBytes$Outbound; -} - export function blobTotalAvgSizeInBytesToJSON( blobTotalAvgSizeInBytes: BlobTotalAvgSizeInBytes, ): string { @@ -20080,7 +17277,6 @@ export function blobTotalAvgSizeInBytesToJSON( BlobTotalAvgSizeInBytes$outboundSchema.parse(blobTotalAvgSizeInBytes), ); } - export function blobTotalAvgSizeInBytesFromJSON( jsonString: string, ): SafeParseResult { @@ -20101,7 +17297,6 @@ export const BlobTotalGetResponseObjectSizeInBytes$inboundSchema: z.ZodType< warningAt: z.nullable(z.number()).optional(), blockedAt: z.nullable(z.number()).optional(), }); - /** @internal */ export type BlobTotalGetResponseObjectSizeInBytes$Outbound = { currentThreshold: number; @@ -20120,21 +17315,6 @@ export const BlobTotalGetResponseObjectSizeInBytes$outboundSchema: z.ZodType< blockedAt: 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 BlobTotalGetResponseObjectSizeInBytes$ { - /** @deprecated use `BlobTotalGetResponseObjectSizeInBytes$inboundSchema` instead. */ - export const inboundSchema = - BlobTotalGetResponseObjectSizeInBytes$inboundSchema; - /** @deprecated use `BlobTotalGetResponseObjectSizeInBytes$outboundSchema` instead. */ - export const outboundSchema = - BlobTotalGetResponseObjectSizeInBytes$outboundSchema; - /** @deprecated use `BlobTotalGetResponseObjectSizeInBytes$Outbound` instead. */ - export type Outbound = BlobTotalGetResponseObjectSizeInBytes$Outbound; -} - export function blobTotalGetResponseObjectSizeInBytesToJSON( blobTotalGetResponseObjectSizeInBytes: BlobTotalGetResponseObjectSizeInBytes, ): string { @@ -20144,7 +17324,6 @@ export function blobTotalGetResponseObjectSizeInBytesToJSON( ), ); } - export function blobTotalGetResponseObjectSizeInBytesFromJSON( jsonString: string, ): SafeParseResult { @@ -20166,7 +17345,6 @@ export const BlobTotalSimpleRequests$inboundSchema: z.ZodType< warningAt: z.nullable(z.number()).optional(), blockedAt: z.nullable(z.number()).optional(), }); - /** @internal */ export type BlobTotalSimpleRequests$Outbound = { currentThreshold: number; @@ -20185,19 +17363,6 @@ export const BlobTotalSimpleRequests$outboundSchema: z.ZodType< blockedAt: 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 BlobTotalSimpleRequests$ { - /** @deprecated use `BlobTotalSimpleRequests$inboundSchema` instead. */ - export const inboundSchema = BlobTotalSimpleRequests$inboundSchema; - /** @deprecated use `BlobTotalSimpleRequests$outboundSchema` instead. */ - export const outboundSchema = BlobTotalSimpleRequests$outboundSchema; - /** @deprecated use `BlobTotalSimpleRequests$Outbound` instead. */ - export type Outbound = BlobTotalSimpleRequests$Outbound; -} - export function blobTotalSimpleRequestsToJSON( blobTotalSimpleRequests: BlobTotalSimpleRequests, ): string { @@ -20205,7 +17370,6 @@ export function blobTotalSimpleRequestsToJSON( BlobTotalSimpleRequests$outboundSchema.parse(blobTotalSimpleRequests), ); } - export function blobTotalSimpleRequestsFromJSON( jsonString: string, ): SafeParseResult { @@ -20226,7 +17390,6 @@ export const ConnectDataTransfer$inboundSchema: z.ZodType< warningAt: z.nullable(z.number()).optional(), blockedAt: z.nullable(z.number()).optional(), }); - /** @internal */ export type ConnectDataTransfer$Outbound = { currentThreshold: number; @@ -20245,19 +17408,6 @@ export const ConnectDataTransfer$outboundSchema: z.ZodType< blockedAt: 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 ConnectDataTransfer$ { - /** @deprecated use `ConnectDataTransfer$inboundSchema` instead. */ - export const inboundSchema = ConnectDataTransfer$inboundSchema; - /** @deprecated use `ConnectDataTransfer$outboundSchema` instead. */ - export const outboundSchema = ConnectDataTransfer$outboundSchema; - /** @deprecated use `ConnectDataTransfer$Outbound` instead. */ - export type Outbound = ConnectDataTransfer$Outbound; -} - export function connectDataTransferToJSON( connectDataTransfer: ConnectDataTransfer, ): string { @@ -20265,7 +17415,6 @@ export function connectDataTransferToJSON( ConnectDataTransfer$outboundSchema.parse(connectDataTransfer), ); } - export function connectDataTransferFromJSON( jsonString: string, ): SafeParseResult { @@ -20286,7 +17435,6 @@ export const DataCacheRead$inboundSchema: z.ZodType< warningAt: z.nullable(z.number()).optional(), blockedAt: z.nullable(z.number()).optional(), }); - /** @internal */ export type DataCacheRead$Outbound = { currentThreshold: number; @@ -20305,23 +17453,9 @@ export const DataCacheRead$outboundSchema: z.ZodType< blockedAt: 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 DataCacheRead$ { - /** @deprecated use `DataCacheRead$inboundSchema` instead. */ - export const inboundSchema = DataCacheRead$inboundSchema; - /** @deprecated use `DataCacheRead$outboundSchema` instead. */ - export const outboundSchema = DataCacheRead$outboundSchema; - /** @deprecated use `DataCacheRead$Outbound` instead. */ - export type Outbound = DataCacheRead$Outbound; -} - export function dataCacheReadToJSON(dataCacheRead: DataCacheRead): string { return JSON.stringify(DataCacheRead$outboundSchema.parse(dataCacheRead)); } - export function dataCacheReadFromJSON( jsonString: string, ): SafeParseResult { @@ -20342,7 +17476,6 @@ export const DataCacheWrite$inboundSchema: z.ZodType< warningAt: z.nullable(z.number()).optional(), blockedAt: z.nullable(z.number()).optional(), }); - /** @internal */ export type DataCacheWrite$Outbound = { currentThreshold: number; @@ -20361,23 +17494,9 @@ export const DataCacheWrite$outboundSchema: z.ZodType< blockedAt: 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 DataCacheWrite$ { - /** @deprecated use `DataCacheWrite$inboundSchema` instead. */ - export const inboundSchema = DataCacheWrite$inboundSchema; - /** @deprecated use `DataCacheWrite$outboundSchema` instead. */ - export const outboundSchema = DataCacheWrite$outboundSchema; - /** @deprecated use `DataCacheWrite$Outbound` instead. */ - export type Outbound = DataCacheWrite$Outbound; -} - export function dataCacheWriteToJSON(dataCacheWrite: DataCacheWrite): string { return JSON.stringify(DataCacheWrite$outboundSchema.parse(dataCacheWrite)); } - export function dataCacheWriteFromJSON( jsonString: string, ): SafeParseResult { @@ -20398,7 +17517,6 @@ export const EdgeConfigRead$inboundSchema: z.ZodType< warningAt: z.nullable(z.number()).optional(), blockedAt: z.nullable(z.number()).optional(), }); - /** @internal */ export type EdgeConfigRead$Outbound = { currentThreshold: number; @@ -20417,23 +17535,9 @@ export const EdgeConfigRead$outboundSchema: z.ZodType< blockedAt: 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 EdgeConfigRead$ { - /** @deprecated use `EdgeConfigRead$inboundSchema` instead. */ - export const inboundSchema = EdgeConfigRead$inboundSchema; - /** @deprecated use `EdgeConfigRead$outboundSchema` instead. */ - export const outboundSchema = EdgeConfigRead$outboundSchema; - /** @deprecated use `EdgeConfigRead$Outbound` instead. */ - export type Outbound = EdgeConfigRead$Outbound; -} - export function edgeConfigReadToJSON(edgeConfigRead: EdgeConfigRead): string { return JSON.stringify(EdgeConfigRead$outboundSchema.parse(edgeConfigRead)); } - export function edgeConfigReadFromJSON( jsonString: string, ): SafeParseResult { @@ -20454,7 +17558,6 @@ export const EdgeConfigWrite$inboundSchema: z.ZodType< warningAt: z.nullable(z.number()).optional(), blockedAt: z.nullable(z.number()).optional(), }); - /** @internal */ export type EdgeConfigWrite$Outbound = { currentThreshold: number; @@ -20473,25 +17576,11 @@ export const EdgeConfigWrite$outboundSchema: z.ZodType< blockedAt: 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 EdgeConfigWrite$ { - /** @deprecated use `EdgeConfigWrite$inboundSchema` instead. */ - export const inboundSchema = EdgeConfigWrite$inboundSchema; - /** @deprecated use `EdgeConfigWrite$outboundSchema` instead. */ - export const outboundSchema = EdgeConfigWrite$outboundSchema; - /** @deprecated use `EdgeConfigWrite$Outbound` instead. */ - export type Outbound = EdgeConfigWrite$Outbound; -} - export function edgeConfigWriteToJSON( edgeConfigWrite: EdgeConfigWrite, ): string { return JSON.stringify(EdgeConfigWrite$outboundSchema.parse(edgeConfigWrite)); } - export function edgeConfigWriteFromJSON( jsonString: string, ): SafeParseResult { @@ -20512,7 +17601,6 @@ export const EdgeFunctionExecutionUnits$inboundSchema: z.ZodType< warningAt: z.nullable(z.number()).optional(), blockedAt: z.nullable(z.number()).optional(), }); - /** @internal */ export type EdgeFunctionExecutionUnits$Outbound = { currentThreshold: number; @@ -20531,19 +17619,6 @@ export const EdgeFunctionExecutionUnits$outboundSchema: z.ZodType< blockedAt: 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 EdgeFunctionExecutionUnits$ { - /** @deprecated use `EdgeFunctionExecutionUnits$inboundSchema` instead. */ - export const inboundSchema = EdgeFunctionExecutionUnits$inboundSchema; - /** @deprecated use `EdgeFunctionExecutionUnits$outboundSchema` instead. */ - export const outboundSchema = EdgeFunctionExecutionUnits$outboundSchema; - /** @deprecated use `EdgeFunctionExecutionUnits$Outbound` instead. */ - export type Outbound = EdgeFunctionExecutionUnits$Outbound; -} - export function edgeFunctionExecutionUnitsToJSON( edgeFunctionExecutionUnits: EdgeFunctionExecutionUnits, ): string { @@ -20551,7 +17626,6 @@ export function edgeFunctionExecutionUnitsToJSON( EdgeFunctionExecutionUnits$outboundSchema.parse(edgeFunctionExecutionUnits), ); } - export function edgeFunctionExecutionUnitsFromJSON( jsonString: string, ): SafeParseResult { @@ -20572,7 +17646,6 @@ export const EdgeMiddlewareInvocations$inboundSchema: z.ZodType< warningAt: z.nullable(z.number()).optional(), blockedAt: z.nullable(z.number()).optional(), }); - /** @internal */ export type EdgeMiddlewareInvocations$Outbound = { currentThreshold: number; @@ -20591,19 +17664,6 @@ export const EdgeMiddlewareInvocations$outboundSchema: z.ZodType< blockedAt: 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 EdgeMiddlewareInvocations$ { - /** @deprecated use `EdgeMiddlewareInvocations$inboundSchema` instead. */ - export const inboundSchema = EdgeMiddlewareInvocations$inboundSchema; - /** @deprecated use `EdgeMiddlewareInvocations$outboundSchema` instead. */ - export const outboundSchema = EdgeMiddlewareInvocations$outboundSchema; - /** @deprecated use `EdgeMiddlewareInvocations$Outbound` instead. */ - export type Outbound = EdgeMiddlewareInvocations$Outbound; -} - export function edgeMiddlewareInvocationsToJSON( edgeMiddlewareInvocations: EdgeMiddlewareInvocations, ): string { @@ -20611,7 +17671,6 @@ export function edgeMiddlewareInvocationsToJSON( EdgeMiddlewareInvocations$outboundSchema.parse(edgeMiddlewareInvocations), ); } - export function edgeMiddlewareInvocationsFromJSON( jsonString: string, ): SafeParseResult { @@ -20632,7 +17691,6 @@ export const EdgeRequestAdditionalCpuDuration$inboundSchema: z.ZodType< warningAt: z.nullable(z.number()).optional(), blockedAt: z.nullable(z.number()).optional(), }); - /** @internal */ export type EdgeRequestAdditionalCpuDuration$Outbound = { currentThreshold: number; @@ -20651,19 +17709,6 @@ export const EdgeRequestAdditionalCpuDuration$outboundSchema: z.ZodType< blockedAt: 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 EdgeRequestAdditionalCpuDuration$ { - /** @deprecated use `EdgeRequestAdditionalCpuDuration$inboundSchema` instead. */ - export const inboundSchema = EdgeRequestAdditionalCpuDuration$inboundSchema; - /** @deprecated use `EdgeRequestAdditionalCpuDuration$outboundSchema` instead. */ - export const outboundSchema = EdgeRequestAdditionalCpuDuration$outboundSchema; - /** @deprecated use `EdgeRequestAdditionalCpuDuration$Outbound` instead. */ - export type Outbound = EdgeRequestAdditionalCpuDuration$Outbound; -} - export function edgeRequestAdditionalCpuDurationToJSON( edgeRequestAdditionalCpuDuration: EdgeRequestAdditionalCpuDuration, ): string { @@ -20673,7 +17718,6 @@ export function edgeRequestAdditionalCpuDurationToJSON( ), ); } - export function edgeRequestAdditionalCpuDurationFromJSON( jsonString: string, ): SafeParseResult { @@ -20694,7 +17738,6 @@ export const EdgeRequest$inboundSchema: z.ZodType< warningAt: z.nullable(z.number()).optional(), blockedAt: z.nullable(z.number()).optional(), }); - /** @internal */ export type EdgeRequest$Outbound = { currentThreshold: number; @@ -20713,23 +17756,9 @@ export const EdgeRequest$outboundSchema: z.ZodType< blockedAt: 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 EdgeRequest$ { - /** @deprecated use `EdgeRequest$inboundSchema` instead. */ - export const inboundSchema = EdgeRequest$inboundSchema; - /** @deprecated use `EdgeRequest$outboundSchema` instead. */ - export const outboundSchema = EdgeRequest$outboundSchema; - /** @deprecated use `EdgeRequest$Outbound` instead. */ - export type Outbound = EdgeRequest$Outbound; -} - export function edgeRequestToJSON(edgeRequest: EdgeRequest): string { return JSON.stringify(EdgeRequest$outboundSchema.parse(edgeRequest)); } - export function edgeRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -20750,7 +17779,6 @@ export const ElasticConcurrencyBuildSlots$inboundSchema: z.ZodType< warningAt: z.nullable(z.number()).optional(), blockedAt: z.nullable(z.number()).optional(), }); - /** @internal */ export type ElasticConcurrencyBuildSlots$Outbound = { currentThreshold: number; @@ -20769,19 +17797,6 @@ export const ElasticConcurrencyBuildSlots$outboundSchema: z.ZodType< blockedAt: 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 ElasticConcurrencyBuildSlots$ { - /** @deprecated use `ElasticConcurrencyBuildSlots$inboundSchema` instead. */ - export const inboundSchema = ElasticConcurrencyBuildSlots$inboundSchema; - /** @deprecated use `ElasticConcurrencyBuildSlots$outboundSchema` instead. */ - export const outboundSchema = ElasticConcurrencyBuildSlots$outboundSchema; - /** @deprecated use `ElasticConcurrencyBuildSlots$Outbound` instead. */ - export type Outbound = ElasticConcurrencyBuildSlots$Outbound; -} - export function elasticConcurrencyBuildSlotsToJSON( elasticConcurrencyBuildSlots: ElasticConcurrencyBuildSlots, ): string { @@ -20791,7 +17806,6 @@ export function elasticConcurrencyBuildSlotsToJSON( ), ); } - export function elasticConcurrencyBuildSlotsFromJSON( jsonString: string, ): SafeParseResult { @@ -20812,7 +17826,6 @@ export const FastDataTransfer$inboundSchema: z.ZodType< warningAt: z.nullable(z.number()).optional(), blockedAt: z.nullable(z.number()).optional(), }); - /** @internal */ export type FastDataTransfer$Outbound = { currentThreshold: number; @@ -20831,19 +17844,6 @@ export const FastDataTransfer$outboundSchema: z.ZodType< blockedAt: 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 FastDataTransfer$ { - /** @deprecated use `FastDataTransfer$inboundSchema` instead. */ - export const inboundSchema = FastDataTransfer$inboundSchema; - /** @deprecated use `FastDataTransfer$outboundSchema` instead. */ - export const outboundSchema = FastDataTransfer$outboundSchema; - /** @deprecated use `FastDataTransfer$Outbound` instead. */ - export type Outbound = FastDataTransfer$Outbound; -} - export function fastDataTransferToJSON( fastDataTransfer: FastDataTransfer, ): string { @@ -20851,7 +17851,6 @@ export function fastDataTransferToJSON( FastDataTransfer$outboundSchema.parse(fastDataTransfer), ); } - export function fastDataTransferFromJSON( jsonString: string, ): SafeParseResult { @@ -20872,7 +17871,6 @@ export const FastOriginTransfer$inboundSchema: z.ZodType< warningAt: z.nullable(z.number()).optional(), blockedAt: z.nullable(z.number()).optional(), }); - /** @internal */ export type FastOriginTransfer$Outbound = { currentThreshold: number; @@ -20891,19 +17889,6 @@ export const FastOriginTransfer$outboundSchema: z.ZodType< blockedAt: 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 FastOriginTransfer$ { - /** @deprecated use `FastOriginTransfer$inboundSchema` instead. */ - export const inboundSchema = FastOriginTransfer$inboundSchema; - /** @deprecated use `FastOriginTransfer$outboundSchema` instead. */ - export const outboundSchema = FastOriginTransfer$outboundSchema; - /** @deprecated use `FastOriginTransfer$Outbound` instead. */ - export type Outbound = FastOriginTransfer$Outbound; -} - export function fastOriginTransferToJSON( fastOriginTransfer: FastOriginTransfer, ): string { @@ -20911,7 +17896,6 @@ export function fastOriginTransferToJSON( FastOriginTransfer$outboundSchema.parse(fastOriginTransfer), ); } - export function fastOriginTransferFromJSON( jsonString: string, ): SafeParseResult { @@ -20932,7 +17916,6 @@ export const FluidCpuDuration$inboundSchema: z.ZodType< warningAt: z.nullable(z.number()).optional(), blockedAt: z.nullable(z.number()).optional(), }); - /** @internal */ export type FluidCpuDuration$Outbound = { currentThreshold: number; @@ -20951,19 +17934,6 @@ export const FluidCpuDuration$outboundSchema: z.ZodType< blockedAt: 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 FluidCpuDuration$ { - /** @deprecated use `FluidCpuDuration$inboundSchema` instead. */ - export const inboundSchema = FluidCpuDuration$inboundSchema; - /** @deprecated use `FluidCpuDuration$outboundSchema` instead. */ - export const outboundSchema = FluidCpuDuration$outboundSchema; - /** @deprecated use `FluidCpuDuration$Outbound` instead. */ - export type Outbound = FluidCpuDuration$Outbound; -} - export function fluidCpuDurationToJSON( fluidCpuDuration: FluidCpuDuration, ): string { @@ -20971,7 +17941,6 @@ export function fluidCpuDurationToJSON( FluidCpuDuration$outboundSchema.parse(fluidCpuDuration), ); } - export function fluidCpuDurationFromJSON( jsonString: string, ): SafeParseResult { @@ -20992,7 +17961,6 @@ export const FluidDuration$inboundSchema: z.ZodType< warningAt: z.nullable(z.number()).optional(), blockedAt: z.nullable(z.number()).optional(), }); - /** @internal */ export type FluidDuration$Outbound = { currentThreshold: number; @@ -21011,23 +17979,9 @@ export const FluidDuration$outboundSchema: z.ZodType< blockedAt: 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 FluidDuration$ { - /** @deprecated use `FluidDuration$inboundSchema` instead. */ - export const inboundSchema = FluidDuration$inboundSchema; - /** @deprecated use `FluidDuration$outboundSchema` instead. */ - export const outboundSchema = FluidDuration$outboundSchema; - /** @deprecated use `FluidDuration$Outbound` instead. */ - export type Outbound = FluidDuration$Outbound; -} - export function fluidDurationToJSON(fluidDuration: FluidDuration): string { return JSON.stringify(FluidDuration$outboundSchema.parse(fluidDuration)); } - export function fluidDurationFromJSON( jsonString: string, ): SafeParseResult { @@ -21048,7 +18002,6 @@ export const FunctionDuration$inboundSchema: z.ZodType< warningAt: z.nullable(z.number()).optional(), blockedAt: z.nullable(z.number()).optional(), }); - /** @internal */ export type FunctionDuration$Outbound = { currentThreshold: number; @@ -21067,19 +18020,6 @@ export const FunctionDuration$outboundSchema: z.ZodType< blockedAt: 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 FunctionDuration$ { - /** @deprecated use `FunctionDuration$inboundSchema` instead. */ - export const inboundSchema = FunctionDuration$inboundSchema; - /** @deprecated use `FunctionDuration$outboundSchema` instead. */ - export const outboundSchema = FunctionDuration$outboundSchema; - /** @deprecated use `FunctionDuration$Outbound` instead. */ - export type Outbound = FunctionDuration$Outbound; -} - export function functionDurationToJSON( functionDuration: FunctionDuration, ): string { @@ -21087,7 +18027,6 @@ export function functionDurationToJSON( FunctionDuration$outboundSchema.parse(functionDuration), ); } - export function functionDurationFromJSON( jsonString: string, ): SafeParseResult { @@ -21108,7 +18047,6 @@ export const FunctionInvocation$inboundSchema: z.ZodType< warningAt: z.nullable(z.number()).optional(), blockedAt: z.nullable(z.number()).optional(), }); - /** @internal */ export type FunctionInvocation$Outbound = { currentThreshold: number; @@ -21127,19 +18065,6 @@ export const FunctionInvocation$outboundSchema: z.ZodType< blockedAt: 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 FunctionInvocation$ { - /** @deprecated use `FunctionInvocation$inboundSchema` instead. */ - export const inboundSchema = FunctionInvocation$inboundSchema; - /** @deprecated use `FunctionInvocation$outboundSchema` instead. */ - export const outboundSchema = FunctionInvocation$outboundSchema; - /** @deprecated use `FunctionInvocation$Outbound` instead. */ - export type Outbound = FunctionInvocation$Outbound; -} - export function functionInvocationToJSON( functionInvocation: FunctionInvocation, ): string { @@ -21147,7 +18072,6 @@ export function functionInvocationToJSON( FunctionInvocation$outboundSchema.parse(functionInvocation), ); } - export function functionInvocationFromJSON( jsonString: string, ): SafeParseResult { @@ -21168,7 +18092,6 @@ export const ImageOptimizationCacheRead$inboundSchema: z.ZodType< warningAt: z.nullable(z.number()).optional(), blockedAt: z.nullable(z.number()).optional(), }); - /** @internal */ export type ImageOptimizationCacheRead$Outbound = { currentThreshold: number; @@ -21187,19 +18110,6 @@ export const ImageOptimizationCacheRead$outboundSchema: z.ZodType< blockedAt: 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 ImageOptimizationCacheRead$ { - /** @deprecated use `ImageOptimizationCacheRead$inboundSchema` instead. */ - export const inboundSchema = ImageOptimizationCacheRead$inboundSchema; - /** @deprecated use `ImageOptimizationCacheRead$outboundSchema` instead. */ - export const outboundSchema = ImageOptimizationCacheRead$outboundSchema; - /** @deprecated use `ImageOptimizationCacheRead$Outbound` instead. */ - export type Outbound = ImageOptimizationCacheRead$Outbound; -} - export function imageOptimizationCacheReadToJSON( imageOptimizationCacheRead: ImageOptimizationCacheRead, ): string { @@ -21207,7 +18117,6 @@ export function imageOptimizationCacheReadToJSON( ImageOptimizationCacheRead$outboundSchema.parse(imageOptimizationCacheRead), ); } - export function imageOptimizationCacheReadFromJSON( jsonString: string, ): SafeParseResult { @@ -21228,7 +18137,6 @@ export const ImageOptimizationCacheWrite$inboundSchema: z.ZodType< warningAt: z.nullable(z.number()).optional(), blockedAt: z.nullable(z.number()).optional(), }); - /** @internal */ export type ImageOptimizationCacheWrite$Outbound = { currentThreshold: number; @@ -21247,19 +18155,6 @@ export const ImageOptimizationCacheWrite$outboundSchema: z.ZodType< blockedAt: 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 ImageOptimizationCacheWrite$ { - /** @deprecated use `ImageOptimizationCacheWrite$inboundSchema` instead. */ - export const inboundSchema = ImageOptimizationCacheWrite$inboundSchema; - /** @deprecated use `ImageOptimizationCacheWrite$outboundSchema` instead. */ - export const outboundSchema = ImageOptimizationCacheWrite$outboundSchema; - /** @deprecated use `ImageOptimizationCacheWrite$Outbound` instead. */ - export type Outbound = ImageOptimizationCacheWrite$Outbound; -} - export function imageOptimizationCacheWriteToJSON( imageOptimizationCacheWrite: ImageOptimizationCacheWrite, ): string { @@ -21269,7 +18164,6 @@ export function imageOptimizationCacheWriteToJSON( ), ); } - export function imageOptimizationCacheWriteFromJSON( jsonString: string, ): SafeParseResult { @@ -21290,7 +18184,6 @@ export const ImageOptimizationTransformation$inboundSchema: z.ZodType< warningAt: z.nullable(z.number()).optional(), blockedAt: z.nullable(z.number()).optional(), }); - /** @internal */ export type ImageOptimizationTransformation$Outbound = { currentThreshold: number; @@ -21309,19 +18202,6 @@ export const ImageOptimizationTransformation$outboundSchema: z.ZodType< blockedAt: 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 ImageOptimizationTransformation$ { - /** @deprecated use `ImageOptimizationTransformation$inboundSchema` instead. */ - export const inboundSchema = ImageOptimizationTransformation$inboundSchema; - /** @deprecated use `ImageOptimizationTransformation$outboundSchema` instead. */ - export const outboundSchema = ImageOptimizationTransformation$outboundSchema; - /** @deprecated use `ImageOptimizationTransformation$Outbound` instead. */ - export type Outbound = ImageOptimizationTransformation$Outbound; -} - export function imageOptimizationTransformationToJSON( imageOptimizationTransformation: ImageOptimizationTransformation, ): string { @@ -21331,7 +18211,6 @@ export function imageOptimizationTransformationToJSON( ), ); } - export function imageOptimizationTransformationFromJSON( jsonString: string, ): SafeParseResult { @@ -21352,7 +18231,6 @@ export const LogDrainsVolume$inboundSchema: z.ZodType< warningAt: z.nullable(z.number()).optional(), blockedAt: z.nullable(z.number()).optional(), }); - /** @internal */ export type LogDrainsVolume$Outbound = { currentThreshold: number; @@ -21371,25 +18249,11 @@ export const LogDrainsVolume$outboundSchema: z.ZodType< blockedAt: 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 LogDrainsVolume$ { - /** @deprecated use `LogDrainsVolume$inboundSchema` instead. */ - export const inboundSchema = LogDrainsVolume$inboundSchema; - /** @deprecated use `LogDrainsVolume$outboundSchema` instead. */ - export const outboundSchema = LogDrainsVolume$outboundSchema; - /** @deprecated use `LogDrainsVolume$Outbound` instead. */ - export type Outbound = LogDrainsVolume$Outbound; -} - export function logDrainsVolumeToJSON( logDrainsVolume: LogDrainsVolume, ): string { return JSON.stringify(LogDrainsVolume$outboundSchema.parse(logDrainsVolume)); } - export function logDrainsVolumeFromJSON( jsonString: string, ): SafeParseResult { @@ -21410,7 +18274,6 @@ export const MonitoringMetric$inboundSchema: z.ZodType< warningAt: z.nullable(z.number()).optional(), blockedAt: z.nullable(z.number()).optional(), }); - /** @internal */ export type MonitoringMetric$Outbound = { currentThreshold: number; @@ -21429,19 +18292,6 @@ export const MonitoringMetric$outboundSchema: z.ZodType< blockedAt: 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 MonitoringMetric$ { - /** @deprecated use `MonitoringMetric$inboundSchema` instead. */ - export const inboundSchema = MonitoringMetric$inboundSchema; - /** @deprecated use `MonitoringMetric$outboundSchema` instead. */ - export const outboundSchema = MonitoringMetric$outboundSchema; - /** @deprecated use `MonitoringMetric$Outbound` instead. */ - export type Outbound = MonitoringMetric$Outbound; -} - export function monitoringMetricToJSON( monitoringMetric: MonitoringMetric, ): string { @@ -21449,7 +18299,6 @@ export function monitoringMetricToJSON( MonitoringMetric$outboundSchema.parse(monitoringMetric), ); } - export function monitoringMetricFromJSON( jsonString: string, ): SafeParseResult { @@ -21470,7 +18319,6 @@ export const BlobDataTransfer$inboundSchema: z.ZodType< warningAt: z.nullable(z.number()).optional(), blockedAt: z.nullable(z.number()).optional(), }); - /** @internal */ export type BlobDataTransfer$Outbound = { currentThreshold: number; @@ -21489,19 +18337,6 @@ export const BlobDataTransfer$outboundSchema: z.ZodType< blockedAt: 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 BlobDataTransfer$ { - /** @deprecated use `BlobDataTransfer$inboundSchema` instead. */ - export const inboundSchema = BlobDataTransfer$inboundSchema; - /** @deprecated use `BlobDataTransfer$outboundSchema` instead. */ - export const outboundSchema = BlobDataTransfer$outboundSchema; - /** @deprecated use `BlobDataTransfer$Outbound` instead. */ - export type Outbound = BlobDataTransfer$Outbound; -} - export function blobDataTransferToJSON( blobDataTransfer: BlobDataTransfer, ): string { @@ -21509,7 +18344,6 @@ export function blobDataTransferToJSON( BlobDataTransfer$outboundSchema.parse(blobDataTransfer), ); } - export function blobDataTransferFromJSON( jsonString: string, ): SafeParseResult { @@ -21530,7 +18364,6 @@ export const ObservabilityEvent$inboundSchema: z.ZodType< warningAt: z.nullable(z.number()).optional(), blockedAt: z.nullable(z.number()).optional(), }); - /** @internal */ export type ObservabilityEvent$Outbound = { currentThreshold: number; @@ -21549,19 +18382,6 @@ export const ObservabilityEvent$outboundSchema: z.ZodType< blockedAt: 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 ObservabilityEvent$ { - /** @deprecated use `ObservabilityEvent$inboundSchema` instead. */ - export const inboundSchema = ObservabilityEvent$inboundSchema; - /** @deprecated use `ObservabilityEvent$outboundSchema` instead. */ - export const outboundSchema = ObservabilityEvent$outboundSchema; - /** @deprecated use `ObservabilityEvent$Outbound` instead. */ - export type Outbound = ObservabilityEvent$Outbound; -} - export function observabilityEventToJSON( observabilityEvent: ObservabilityEvent, ): string { @@ -21569,7 +18389,6 @@ export function observabilityEventToJSON( ObservabilityEvent$outboundSchema.parse(observabilityEvent), ); } - export function observabilityEventFromJSON( jsonString: string, ): SafeParseResult { @@ -21590,7 +18409,6 @@ export const OnDemandConcurrencyMinutes$inboundSchema: z.ZodType< warningAt: z.nullable(z.number()).optional(), blockedAt: z.nullable(z.number()).optional(), }); - /** @internal */ export type OnDemandConcurrencyMinutes$Outbound = { currentThreshold: number; @@ -21609,19 +18427,6 @@ export const OnDemandConcurrencyMinutes$outboundSchema: z.ZodType< blockedAt: 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 OnDemandConcurrencyMinutes$ { - /** @deprecated use `OnDemandConcurrencyMinutes$inboundSchema` instead. */ - export const inboundSchema = OnDemandConcurrencyMinutes$inboundSchema; - /** @deprecated use `OnDemandConcurrencyMinutes$outboundSchema` instead. */ - export const outboundSchema = OnDemandConcurrencyMinutes$outboundSchema; - /** @deprecated use `OnDemandConcurrencyMinutes$Outbound` instead. */ - export type Outbound = OnDemandConcurrencyMinutes$Outbound; -} - export function onDemandConcurrencyMinutesToJSON( onDemandConcurrencyMinutes: OnDemandConcurrencyMinutes, ): string { @@ -21629,7 +18434,6 @@ export function onDemandConcurrencyMinutesToJSON( OnDemandConcurrencyMinutes$outboundSchema.parse(onDemandConcurrencyMinutes), ); } - export function onDemandConcurrencyMinutesFromJSON( jsonString: string, ): SafeParseResult { @@ -21650,7 +18454,6 @@ export const RuntimeCacheRead$inboundSchema: z.ZodType< warningAt: z.nullable(z.number()).optional(), blockedAt: z.nullable(z.number()).optional(), }); - /** @internal */ export type RuntimeCacheRead$Outbound = { currentThreshold: number; @@ -21669,19 +18472,6 @@ export const RuntimeCacheRead$outboundSchema: z.ZodType< blockedAt: 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 RuntimeCacheRead$ { - /** @deprecated use `RuntimeCacheRead$inboundSchema` instead. */ - export const inboundSchema = RuntimeCacheRead$inboundSchema; - /** @deprecated use `RuntimeCacheRead$outboundSchema` instead. */ - export const outboundSchema = RuntimeCacheRead$outboundSchema; - /** @deprecated use `RuntimeCacheRead$Outbound` instead. */ - export type Outbound = RuntimeCacheRead$Outbound; -} - export function runtimeCacheReadToJSON( runtimeCacheRead: RuntimeCacheRead, ): string { @@ -21689,7 +18479,6 @@ export function runtimeCacheReadToJSON( RuntimeCacheRead$outboundSchema.parse(runtimeCacheRead), ); } - export function runtimeCacheReadFromJSON( jsonString: string, ): SafeParseResult { @@ -21710,7 +18499,6 @@ export const RuntimeCacheWrite$inboundSchema: z.ZodType< warningAt: z.nullable(z.number()).optional(), blockedAt: z.nullable(z.number()).optional(), }); - /** @internal */ export type RuntimeCacheWrite$Outbound = { currentThreshold: number; @@ -21729,19 +18517,6 @@ export const RuntimeCacheWrite$outboundSchema: z.ZodType< blockedAt: 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 RuntimeCacheWrite$ { - /** @deprecated use `RuntimeCacheWrite$inboundSchema` instead. */ - export const inboundSchema = RuntimeCacheWrite$inboundSchema; - /** @deprecated use `RuntimeCacheWrite$outboundSchema` instead. */ - export const outboundSchema = RuntimeCacheWrite$outboundSchema; - /** @deprecated use `RuntimeCacheWrite$Outbound` instead. */ - export type Outbound = RuntimeCacheWrite$Outbound; -} - export function runtimeCacheWriteToJSON( runtimeCacheWrite: RuntimeCacheWrite, ): string { @@ -21749,7 +18524,6 @@ export function runtimeCacheWriteToJSON( RuntimeCacheWrite$outboundSchema.parse(runtimeCacheWrite), ); } - export function runtimeCacheWriteFromJSON( jsonString: string, ): SafeParseResult { @@ -21770,7 +18544,6 @@ export const ServerlessFunctionExecution$inboundSchema: z.ZodType< warningAt: z.nullable(z.number()).optional(), blockedAt: z.nullable(z.number()).optional(), }); - /** @internal */ export type ServerlessFunctionExecution$Outbound = { currentThreshold: number; @@ -21789,19 +18562,6 @@ export const ServerlessFunctionExecution$outboundSchema: z.ZodType< blockedAt: 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 ServerlessFunctionExecution$ { - /** @deprecated use `ServerlessFunctionExecution$inboundSchema` instead. */ - export const inboundSchema = ServerlessFunctionExecution$inboundSchema; - /** @deprecated use `ServerlessFunctionExecution$outboundSchema` instead. */ - export const outboundSchema = ServerlessFunctionExecution$outboundSchema; - /** @deprecated use `ServerlessFunctionExecution$Outbound` instead. */ - export type Outbound = ServerlessFunctionExecution$Outbound; -} - export function serverlessFunctionExecutionToJSON( serverlessFunctionExecution: ServerlessFunctionExecution, ): string { @@ -21811,7 +18571,6 @@ export function serverlessFunctionExecutionToJSON( ), ); } - export function serverlessFunctionExecutionFromJSON( jsonString: string, ): SafeParseResult { @@ -21832,7 +18591,6 @@ export const SourceImages$inboundSchema: z.ZodType< warningAt: z.nullable(z.number()).optional(), blockedAt: z.nullable(z.number()).optional(), }); - /** @internal */ export type SourceImages$Outbound = { currentThreshold: number; @@ -21851,23 +18609,9 @@ export const SourceImages$outboundSchema: z.ZodType< blockedAt: 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 SourceImages$ { - /** @deprecated use `SourceImages$inboundSchema` instead. */ - export const inboundSchema = SourceImages$inboundSchema; - /** @deprecated use `SourceImages$outboundSchema` instead. */ - export const outboundSchema = SourceImages$outboundSchema; - /** @deprecated use `SourceImages$Outbound` instead. */ - export type Outbound = SourceImages$Outbound; -} - export function sourceImagesToJSON(sourceImages: SourceImages): string { return JSON.stringify(SourceImages$outboundSchema.parse(sourceImages)); } - export function sourceImagesFromJSON( jsonString: string, ): SafeParseResult { @@ -21888,7 +18632,6 @@ export const WafOwaspExcessBytes$inboundSchema: z.ZodType< warningAt: z.nullable(z.number()).optional(), blockedAt: z.nullable(z.number()).optional(), }); - /** @internal */ export type WafOwaspExcessBytes$Outbound = { currentThreshold: number; @@ -21907,19 +18650,6 @@ export const WafOwaspExcessBytes$outboundSchema: z.ZodType< blockedAt: 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 WafOwaspExcessBytes$ { - /** @deprecated use `WafOwaspExcessBytes$inboundSchema` instead. */ - export const inboundSchema = WafOwaspExcessBytes$inboundSchema; - /** @deprecated use `WafOwaspExcessBytes$outboundSchema` instead. */ - export const outboundSchema = WafOwaspExcessBytes$outboundSchema; - /** @deprecated use `WafOwaspExcessBytes$Outbound` instead. */ - export type Outbound = WafOwaspExcessBytes$Outbound; -} - export function wafOwaspExcessBytesToJSON( wafOwaspExcessBytes: WafOwaspExcessBytes, ): string { @@ -21927,7 +18657,6 @@ export function wafOwaspExcessBytesToJSON( WafOwaspExcessBytes$outboundSchema.parse(wafOwaspExcessBytes), ); } - export function wafOwaspExcessBytesFromJSON( jsonString: string, ): SafeParseResult { @@ -21948,7 +18677,6 @@ export const WafOwaspRequests$inboundSchema: z.ZodType< warningAt: z.nullable(z.number()).optional(), blockedAt: z.nullable(z.number()).optional(), }); - /** @internal */ export type WafOwaspRequests$Outbound = { currentThreshold: number; @@ -21967,19 +18695,6 @@ export const WafOwaspRequests$outboundSchema: z.ZodType< blockedAt: 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 WafOwaspRequests$ { - /** @deprecated use `WafOwaspRequests$inboundSchema` instead. */ - export const inboundSchema = WafOwaspRequests$inboundSchema; - /** @deprecated use `WafOwaspRequests$outboundSchema` instead. */ - export const outboundSchema = WafOwaspRequests$outboundSchema; - /** @deprecated use `WafOwaspRequests$Outbound` instead. */ - export type Outbound = WafOwaspRequests$Outbound; -} - export function wafOwaspRequestsToJSON( wafOwaspRequests: WafOwaspRequests, ): string { @@ -21987,7 +18702,6 @@ export function wafOwaspRequestsToJSON( WafOwaspRequests$outboundSchema.parse(wafOwaspRequests), ); } - export function wafOwaspRequestsFromJSON( jsonString: string, ): SafeParseResult { @@ -22008,7 +18722,6 @@ export const WafRateLimitRequest$inboundSchema: z.ZodType< warningAt: z.nullable(z.number()).optional(), blockedAt: z.nullable(z.number()).optional(), }); - /** @internal */ export type WafRateLimitRequest$Outbound = { currentThreshold: number; @@ -22027,19 +18740,6 @@ export const WafRateLimitRequest$outboundSchema: z.ZodType< blockedAt: 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 WafRateLimitRequest$ { - /** @deprecated use `WafRateLimitRequest$inboundSchema` instead. */ - export const inboundSchema = WafRateLimitRequest$inboundSchema; - /** @deprecated use `WafRateLimitRequest$outboundSchema` instead. */ - export const outboundSchema = WafRateLimitRequest$outboundSchema; - /** @deprecated use `WafRateLimitRequest$Outbound` instead. */ - export type Outbound = WafRateLimitRequest$Outbound; -} - export function wafRateLimitRequestToJSON( wafRateLimitRequest: WafRateLimitRequest, ): string { @@ -22047,7 +18747,6 @@ export function wafRateLimitRequestToJSON( WafRateLimitRequest$outboundSchema.parse(wafRateLimitRequest), ); } - export function wafRateLimitRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -22068,7 +18767,6 @@ export const WebAnalyticsEvent$inboundSchema: z.ZodType< warningAt: z.nullable(z.number()).optional(), blockedAt: z.nullable(z.number()).optional(), }); - /** @internal */ export type WebAnalyticsEvent$Outbound = { currentThreshold: number; @@ -22087,19 +18785,6 @@ export const WebAnalyticsEvent$outboundSchema: z.ZodType< blockedAt: 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 WebAnalyticsEvent$ { - /** @deprecated use `WebAnalyticsEvent$inboundSchema` instead. */ - export const inboundSchema = WebAnalyticsEvent$inboundSchema; - /** @deprecated use `WebAnalyticsEvent$outboundSchema` instead. */ - export const outboundSchema = WebAnalyticsEvent$outboundSchema; - /** @deprecated use `WebAnalyticsEvent$Outbound` instead. */ - export type Outbound = WebAnalyticsEvent$Outbound; -} - export function webAnalyticsEventToJSON( webAnalyticsEvent: WebAnalyticsEvent, ): string { @@ -22107,7 +18792,6 @@ export function webAnalyticsEventToJSON( WebAnalyticsEvent$outboundSchema.parse(webAnalyticsEvent), ); } - export function webAnalyticsEventFromJSON( jsonString: string, ): SafeParseResult { @@ -22191,7 +18875,6 @@ export const OverageUsageAlerts$inboundSchema: z.ZodType< .optional(), webAnalyticsEvent: z.lazy(() => WebAnalyticsEvent$inboundSchema).optional(), }); - /** @internal */ export type OverageUsageAlerts$Outbound = { analyticsUsage?: AnalyticsUsage$Outbound | undefined; @@ -22324,19 +19007,6 @@ export const OverageUsageAlerts$outboundSchema: z.ZodType< webAnalyticsEvent: z.lazy(() => WebAnalyticsEvent$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 OverageUsageAlerts$ { - /** @deprecated use `OverageUsageAlerts$inboundSchema` instead. */ - export const inboundSchema = OverageUsageAlerts$inboundSchema; - /** @deprecated use `OverageUsageAlerts$outboundSchema` instead. */ - export const outboundSchema = OverageUsageAlerts$outboundSchema; - /** @deprecated use `OverageUsageAlerts$Outbound` instead. */ - export type Outbound = OverageUsageAlerts$Outbound; -} - export function overageUsageAlertsToJSON( overageUsageAlerts: OverageUsageAlerts, ): string { @@ -22344,7 +19014,6 @@ export function overageUsageAlertsToJSON( OverageUsageAlerts$outboundSchema.parse(overageUsageAlerts), ); } - export function overageUsageAlertsFromJSON( jsonString: string, ): SafeParseResult { @@ -22368,7 +19037,6 @@ export const OverageMetadata$inboundSchema: z.ZodType< increasedOnDemandEmailSentAt: z.number().optional(), increasedOnDemandEmailAttemptedAt: z.number().optional(), }); - /** @internal */ export type OverageMetadata$Outbound = { firstTimeOnDemandNotificationSentAt?: number | undefined; @@ -22393,25 +19061,11 @@ export const OverageMetadata$outboundSchema: z.ZodType< increasedOnDemandEmailAttemptedAt: 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 OverageMetadata$ { - /** @deprecated use `OverageMetadata$inboundSchema` instead. */ - export const inboundSchema = OverageMetadata$inboundSchema; - /** @deprecated use `OverageMetadata$outboundSchema` instead. */ - export const outboundSchema = OverageMetadata$outboundSchema; - /** @deprecated use `OverageMetadata$Outbound` instead. */ - export type Outbound = OverageMetadata$Outbound; -} - export function overageMetadataToJSON( overageMetadata: OverageMetadata, ): string { return JSON.stringify(OverageMetadata$outboundSchema.parse(overageMetadata)); } - export function overageMetadataFromJSON( jsonString: string, ): SafeParseResult { @@ -22426,42 +19080,18 @@ export function overageMetadataFromJSON( export const PayloadEnablePreviewFeedback$inboundSchema: z.ZodNativeEnum< typeof PayloadEnablePreviewFeedback > = z.nativeEnum(PayloadEnablePreviewFeedback); - /** @internal */ export const PayloadEnablePreviewFeedback$outboundSchema: z.ZodNativeEnum< typeof PayloadEnablePreviewFeedback > = PayloadEnablePreviewFeedback$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PayloadEnablePreviewFeedback$ { - /** @deprecated use `PayloadEnablePreviewFeedback$inboundSchema` instead. */ - export const inboundSchema = PayloadEnablePreviewFeedback$inboundSchema; - /** @deprecated use `PayloadEnablePreviewFeedback$outboundSchema` instead. */ - export const outboundSchema = PayloadEnablePreviewFeedback$outboundSchema; -} - /** @internal */ export const BlockReason$inboundSchema: z.ZodNativeEnum = z .nativeEnum(BlockReason); - /** @internal */ export const BlockReason$outboundSchema: z.ZodNativeEnum = BlockReason$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace BlockReason$ { - /** @deprecated use `BlockReason$inboundSchema` instead. */ - export const inboundSchema = BlockReason$inboundSchema; - /** @deprecated use `BlockReason$outboundSchema` instead. */ - export const outboundSchema = BlockReason$outboundSchema; -} - /** @internal */ export const PayloadWebAnalytics$inboundSchema: z.ZodType< PayloadWebAnalytics, @@ -22474,7 +19104,6 @@ export const PayloadWebAnalytics$inboundSchema: z.ZodType< blockReason: BlockReason$inboundSchema, graceEmailSentAt: z.number().optional(), }); - /** @internal */ export type PayloadWebAnalytics$Outbound = { updatedAt: number; @@ -22497,19 +19126,6 @@ export const PayloadWebAnalytics$outboundSchema: z.ZodType< graceEmailSentAt: 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 PayloadWebAnalytics$ { - /** @deprecated use `PayloadWebAnalytics$inboundSchema` instead. */ - export const inboundSchema = PayloadWebAnalytics$inboundSchema; - /** @deprecated use `PayloadWebAnalytics$outboundSchema` instead. */ - export const outboundSchema = PayloadWebAnalytics$outboundSchema; - /** @deprecated use `PayloadWebAnalytics$Outbound` instead. */ - export type Outbound = PayloadWebAnalytics$Outbound; -} - export function payloadWebAnalyticsToJSON( payloadWebAnalytics: PayloadWebAnalytics, ): string { @@ -22517,7 +19133,6 @@ export function payloadWebAnalyticsToJSON( PayloadWebAnalytics$outboundSchema.parse(payloadWebAnalytics), ); } - export function payloadWebAnalyticsFromJSON( jsonString: string, ): SafeParseResult { @@ -22532,42 +19147,18 @@ export function payloadWebAnalyticsFromJSON( export const PayloadBlockReason$inboundSchema: z.ZodNativeEnum< typeof PayloadBlockReason > = z.nativeEnum(PayloadBlockReason); - /** @internal */ export const PayloadBlockReason$outboundSchema: z.ZodNativeEnum< typeof PayloadBlockReason > = PayloadBlockReason$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PayloadBlockReason$ { - /** @deprecated use `PayloadBlockReason$inboundSchema` instead. */ - export const inboundSchema = PayloadBlockReason$inboundSchema; - /** @deprecated use `PayloadBlockReason$outboundSchema` instead. */ - export const outboundSchema = PayloadBlockReason$outboundSchema; -} - /** @internal */ export const BlockType$inboundSchema: z.ZodNativeEnum = z .nativeEnum(BlockType); - /** @internal */ export const BlockType$outboundSchema: z.ZodNativeEnum = BlockType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace BlockType$ { - /** @deprecated use `BlockType$inboundSchema` instead. */ - export const inboundSchema = BlockType$inboundSchema; - /** @deprecated use `BlockType$outboundSchema` instead. */ - export const outboundSchema = BlockType$outboundSchema; -} - /** @internal */ export const Monitoring$inboundSchema: z.ZodType< Monitoring, @@ -22580,7 +19171,6 @@ export const Monitoring$inboundSchema: z.ZodType< blockReason: PayloadBlockReason$inboundSchema, blockType: BlockType$inboundSchema, }); - /** @internal */ export type Monitoring$Outbound = { updatedAt: number; @@ -22603,23 +19193,9 @@ export const Monitoring$outboundSchema: z.ZodType< blockType: BlockType$outboundSchema, }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Monitoring$ { - /** @deprecated use `Monitoring$inboundSchema` instead. */ - export const inboundSchema = Monitoring$inboundSchema; - /** @deprecated use `Monitoring$outboundSchema` instead. */ - export const outboundSchema = Monitoring$outboundSchema; - /** @deprecated use `Monitoring$Outbound` instead. */ - export type Outbound = Monitoring$Outbound; -} - export function monitoringToJSON(monitoring: Monitoring): string { return JSON.stringify(Monitoring$outboundSchema.parse(monitoring)); } - export function monitoringFromJSON( jsonString: string, ): SafeParseResult { @@ -22634,44 +19210,20 @@ export function monitoringFromJSON( export const UserEventPayloadBlockReason$inboundSchema: z.ZodNativeEnum< typeof UserEventPayloadBlockReason > = z.nativeEnum(UserEventPayloadBlockReason); - /** @internal */ export const UserEventPayloadBlockReason$outboundSchema: z.ZodNativeEnum< typeof UserEventPayloadBlockReason > = UserEventPayloadBlockReason$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UserEventPayloadBlockReason$ { - /** @deprecated use `UserEventPayloadBlockReason$inboundSchema` instead. */ - export const inboundSchema = UserEventPayloadBlockReason$inboundSchema; - /** @deprecated use `UserEventPayloadBlockReason$outboundSchema` instead. */ - export const outboundSchema = UserEventPayloadBlockReason$outboundSchema; -} - /** @internal */ export const PayloadBlockType$inboundSchema: z.ZodNativeEnum< typeof PayloadBlockType > = z.nativeEnum(PayloadBlockType); - /** @internal */ export const PayloadBlockType$outboundSchema: z.ZodNativeEnum< typeof PayloadBlockType > = PayloadBlockType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PayloadBlockType$ { - /** @deprecated use `PayloadBlockType$inboundSchema` instead. */ - export const inboundSchema = PayloadBlockType$inboundSchema; - /** @deprecated use `PayloadBlockType$outboundSchema` instead. */ - export const outboundSchema = PayloadBlockType$outboundSchema; -} - /** @internal */ export const ObservabilityPlus$inboundSchema: z.ZodType< ObservabilityPlus, @@ -22684,7 +19236,6 @@ export const ObservabilityPlus$inboundSchema: z.ZodType< blockReason: UserEventPayloadBlockReason$inboundSchema, blockType: PayloadBlockType$inboundSchema, }); - /** @internal */ export type ObservabilityPlus$Outbound = { updatedAt: number; @@ -22707,19 +19258,6 @@ export const ObservabilityPlus$outboundSchema: z.ZodType< blockType: PayloadBlockType$outboundSchema, }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ObservabilityPlus$ { - /** @deprecated use `ObservabilityPlus$inboundSchema` instead. */ - export const inboundSchema = ObservabilityPlus$inboundSchema; - /** @deprecated use `ObservabilityPlus$outboundSchema` instead. */ - export const outboundSchema = ObservabilityPlus$outboundSchema; - /** @deprecated use `ObservabilityPlus$Outbound` instead. */ - export type Outbound = ObservabilityPlus$Outbound; -} - export function observabilityPlusToJSON( observabilityPlus: ObservabilityPlus, ): string { @@ -22727,7 +19265,6 @@ export function observabilityPlusToJSON( ObservabilityPlus$outboundSchema.parse(observabilityPlus), ); } - export function observabilityPlusFromJSON( jsonString: string, ): SafeParseResult { @@ -22739,25 +19276,13 @@ export function observabilityPlusFromJSON( } /** @internal */ -export const UserEventPayload64BlockReason$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload64BlockReason -> = z.nativeEnum(UserEventPayload64BlockReason); - +export const UserEventPayload66BlockReason$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload66BlockReason +> = z.nativeEnum(UserEventPayload66BlockReason); /** @internal */ -export const UserEventPayload64BlockReason$outboundSchema: z.ZodNativeEnum< - typeof UserEventPayload64BlockReason -> = UserEventPayload64BlockReason$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UserEventPayload64BlockReason$ { - /** @deprecated use `UserEventPayload64BlockReason$inboundSchema` instead. */ - export const inboundSchema = UserEventPayload64BlockReason$inboundSchema; - /** @deprecated use `UserEventPayload64BlockReason$outboundSchema` instead. */ - export const outboundSchema = UserEventPayload64BlockReason$outboundSchema; -} +export const UserEventPayload66BlockReason$outboundSchema: z.ZodNativeEnum< + typeof UserEventPayload66BlockReason +> = UserEventPayload66BlockReason$inboundSchema; /** @internal */ export const UserEventPayloadDataCache$inboundSchema: z.ZodType< @@ -22768,9 +19293,8 @@ export const UserEventPayloadDataCache$inboundSchema: z.ZodType< updatedAt: z.number(), blockedFrom: z.number().optional(), blockedUntil: z.number().optional(), - blockReason: UserEventPayload64BlockReason$inboundSchema, + blockReason: UserEventPayload66BlockReason$inboundSchema, }); - /** @internal */ export type UserEventPayloadDataCache$Outbound = { updatedAt: number; @@ -22788,22 +19312,9 @@ export const UserEventPayloadDataCache$outboundSchema: z.ZodType< updatedAt: z.number(), blockedFrom: z.number().optional(), blockedUntil: z.number().optional(), - blockReason: UserEventPayload64BlockReason$outboundSchema, + blockReason: UserEventPayload66BlockReason$outboundSchema, }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UserEventPayloadDataCache$ { - /** @deprecated use `UserEventPayloadDataCache$inboundSchema` instead. */ - export const inboundSchema = UserEventPayloadDataCache$inboundSchema; - /** @deprecated use `UserEventPayloadDataCache$outboundSchema` instead. */ - export const outboundSchema = UserEventPayloadDataCache$outboundSchema; - /** @deprecated use `UserEventPayloadDataCache$Outbound` instead. */ - export type Outbound = UserEventPayloadDataCache$Outbound; -} - export function userEventPayloadDataCacheToJSON( userEventPayloadDataCache: UserEventPayloadDataCache, ): string { @@ -22811,7 +19322,6 @@ export function userEventPayloadDataCacheToJSON( UserEventPayloadDataCache$outboundSchema.parse(userEventPayloadDataCache), ); } - export function userEventPayloadDataCacheFromJSON( jsonString: string, ): SafeParseResult { @@ -22823,28 +19333,14 @@ export function userEventPayloadDataCacheFromJSON( } /** @internal */ -export const UserEventPayload64NewOwnerBlockReason$inboundSchema: - z.ZodNativeEnum = z.nativeEnum( - UserEventPayload64NewOwnerBlockReason, +export const UserEventPayload66NewOwnerBlockReason$inboundSchema: + z.ZodNativeEnum = z.nativeEnum( + UserEventPayload66NewOwnerBlockReason, ); - /** @internal */ -export const UserEventPayload64NewOwnerBlockReason$outboundSchema: - z.ZodNativeEnum = - UserEventPayload64NewOwnerBlockReason$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UserEventPayload64NewOwnerBlockReason$ { - /** @deprecated use `UserEventPayload64NewOwnerBlockReason$inboundSchema` instead. */ - export const inboundSchema = - UserEventPayload64NewOwnerBlockReason$inboundSchema; - /** @deprecated use `UserEventPayload64NewOwnerBlockReason$outboundSchema` instead. */ - export const outboundSchema = - UserEventPayload64NewOwnerBlockReason$outboundSchema; -} +export const UserEventPayload66NewOwnerBlockReason$outboundSchema: + z.ZodNativeEnum = + UserEventPayload66NewOwnerBlockReason$inboundSchema; /** @internal */ export const PayloadImageOptimizationTransformation$inboundSchema: z.ZodType< @@ -22855,9 +19351,8 @@ export const PayloadImageOptimizationTransformation$inboundSchema: z.ZodType< updatedAt: z.number(), blockedFrom: z.number().optional(), blockedUntil: z.number().optional(), - blockReason: UserEventPayload64NewOwnerBlockReason$inboundSchema, + blockReason: UserEventPayload66NewOwnerBlockReason$inboundSchema, }); - /** @internal */ export type PayloadImageOptimizationTransformation$Outbound = { updatedAt: number; @@ -22875,24 +19370,9 @@ export const PayloadImageOptimizationTransformation$outboundSchema: z.ZodType< updatedAt: z.number(), blockedFrom: z.number().optional(), blockedUntil: z.number().optional(), - blockReason: UserEventPayload64NewOwnerBlockReason$outboundSchema, + blockReason: UserEventPayload66NewOwnerBlockReason$outboundSchema, }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PayloadImageOptimizationTransformation$ { - /** @deprecated use `PayloadImageOptimizationTransformation$inboundSchema` instead. */ - export const inboundSchema = - PayloadImageOptimizationTransformation$inboundSchema; - /** @deprecated use `PayloadImageOptimizationTransformation$outboundSchema` instead. */ - export const outboundSchema = - PayloadImageOptimizationTransformation$outboundSchema; - /** @deprecated use `PayloadImageOptimizationTransformation$Outbound` instead. */ - export type Outbound = PayloadImageOptimizationTransformation$Outbound; -} - export function payloadImageOptimizationTransformationToJSON( payloadImageOptimizationTransformation: PayloadImageOptimizationTransformation, @@ -22903,7 +19383,6 @@ export function payloadImageOptimizationTransformationToJSON( ), ); } - export function payloadImageOptimizationTransformationFromJSON( jsonString: string, ): SafeParseResult { @@ -22916,27 +19395,13 @@ export function payloadImageOptimizationTransformationFromJSON( } /** @internal */ -export const UserEventPayload64NewOwnerFeatureBlocksBlockReason$inboundSchema: - z.ZodNativeEnum = z - .nativeEnum(UserEventPayload64NewOwnerFeatureBlocksBlockReason); - +export const UserEventPayload66NewOwnerFeatureBlocksBlockReason$inboundSchema: + z.ZodNativeEnum = z + .nativeEnum(UserEventPayload66NewOwnerFeatureBlocksBlockReason); /** @internal */ -export const UserEventPayload64NewOwnerFeatureBlocksBlockReason$outboundSchema: - z.ZodNativeEnum = - UserEventPayload64NewOwnerFeatureBlocksBlockReason$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UserEventPayload64NewOwnerFeatureBlocksBlockReason$ { - /** @deprecated use `UserEventPayload64NewOwnerFeatureBlocksBlockReason$inboundSchema` instead. */ - export const inboundSchema = - UserEventPayload64NewOwnerFeatureBlocksBlockReason$inboundSchema; - /** @deprecated use `UserEventPayload64NewOwnerFeatureBlocksBlockReason$outboundSchema` instead. */ - export const outboundSchema = - UserEventPayload64NewOwnerFeatureBlocksBlockReason$outboundSchema; -} +export const UserEventPayload66NewOwnerFeatureBlocksBlockReason$outboundSchema: + z.ZodNativeEnum = + UserEventPayload66NewOwnerFeatureBlocksBlockReason$inboundSchema; /** @internal */ export const PayloadSourceImages$inboundSchema: z.ZodType< @@ -22947,9 +19412,8 @@ export const PayloadSourceImages$inboundSchema: z.ZodType< updatedAt: z.number(), blockedFrom: z.number().optional(), blockedUntil: z.number().optional(), - blockReason: UserEventPayload64NewOwnerFeatureBlocksBlockReason$inboundSchema, + blockReason: UserEventPayload66NewOwnerFeatureBlocksBlockReason$inboundSchema, }); - /** @internal */ export type PayloadSourceImages$Outbound = { updatedAt: number; @@ -22968,22 +19432,9 @@ export const PayloadSourceImages$outboundSchema: z.ZodType< blockedFrom: z.number().optional(), blockedUntil: z.number().optional(), blockReason: - UserEventPayload64NewOwnerFeatureBlocksBlockReason$outboundSchema, + UserEventPayload66NewOwnerFeatureBlocksBlockReason$outboundSchema, }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PayloadSourceImages$ { - /** @deprecated use `PayloadSourceImages$inboundSchema` instead. */ - export const inboundSchema = PayloadSourceImages$inboundSchema; - /** @deprecated use `PayloadSourceImages$outboundSchema` instead. */ - export const outboundSchema = PayloadSourceImages$outboundSchema; - /** @deprecated use `PayloadSourceImages$Outbound` instead. */ - export type Outbound = PayloadSourceImages$Outbound; -} - export function payloadSourceImagesToJSON( payloadSourceImages: PayloadSourceImages, ): string { @@ -22991,7 +19442,6 @@ export function payloadSourceImagesToJSON( PayloadSourceImages$outboundSchema.parse(payloadSourceImages), ); } - export function payloadSourceImagesFromJSON( jsonString: string, ): SafeParseResult { @@ -23003,51 +19453,25 @@ export function payloadSourceImagesFromJSON( } /** @internal */ -export const UserEventPayload64NewOwnerFeatureBlocksBlobBlockReason$inboundSchema: +export const UserEventPayload66NewOwnerFeatureBlocksBlobBlockReason$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload64NewOwnerFeatureBlocksBlobBlockReason - > = z.nativeEnum(UserEventPayload64NewOwnerFeatureBlocksBlobBlockReason); - + typeof UserEventPayload66NewOwnerFeatureBlocksBlobBlockReason + > = z.nativeEnum(UserEventPayload66NewOwnerFeatureBlocksBlobBlockReason); /** @internal */ -export const UserEventPayload64NewOwnerFeatureBlocksBlobBlockReason$outboundSchema: +export const UserEventPayload66NewOwnerFeatureBlocksBlobBlockReason$outboundSchema: z.ZodNativeEnum< - typeof UserEventPayload64NewOwnerFeatureBlocksBlobBlockReason - > = UserEventPayload64NewOwnerFeatureBlocksBlobBlockReason$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UserEventPayload64NewOwnerFeatureBlocksBlobBlockReason$ { - /** @deprecated use `UserEventPayload64NewOwnerFeatureBlocksBlobBlockReason$inboundSchema` instead. */ - export const inboundSchema = - UserEventPayload64NewOwnerFeatureBlocksBlobBlockReason$inboundSchema; - /** @deprecated use `UserEventPayload64NewOwnerFeatureBlocksBlobBlockReason$outboundSchema` instead. */ - export const outboundSchema = - UserEventPayload64NewOwnerFeatureBlocksBlobBlockReason$outboundSchema; -} + typeof UserEventPayload66NewOwnerFeatureBlocksBlobBlockReason + > = UserEventPayload66NewOwnerFeatureBlocksBlobBlockReason$inboundSchema; /** @internal */ export const OverageReason$inboundSchema: z.ZodNativeEnum< typeof OverageReason > = z.nativeEnum(OverageReason); - /** @internal */ export const OverageReason$outboundSchema: z.ZodNativeEnum< typeof OverageReason > = OverageReason$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace OverageReason$ { - /** @deprecated use `OverageReason$inboundSchema` instead. */ - export const inboundSchema = OverageReason$inboundSchema; - /** @deprecated use `OverageReason$outboundSchema` instead. */ - export const outboundSchema = OverageReason$outboundSchema; -} - /** @internal */ export const BlobT$inboundSchema: z.ZodType = z .object({ @@ -23055,10 +19479,9 @@ export const BlobT$inboundSchema: z.ZodType = z blockedFrom: z.number().optional(), blockedUntil: z.number().optional(), blockReason: - UserEventPayload64NewOwnerFeatureBlocksBlobBlockReason$inboundSchema, + UserEventPayload66NewOwnerFeatureBlocksBlobBlockReason$inboundSchema, overageReason: OverageReason$inboundSchema, }); - /** @internal */ export type BlobT$Outbound = { updatedAt: number; @@ -23078,27 +19501,13 @@ export const BlobT$outboundSchema: z.ZodType< blockedFrom: z.number().optional(), blockedUntil: z.number().optional(), blockReason: - UserEventPayload64NewOwnerFeatureBlocksBlobBlockReason$outboundSchema, + UserEventPayload66NewOwnerFeatureBlocksBlobBlockReason$outboundSchema, overageReason: OverageReason$outboundSchema, }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace BlobT$ { - /** @deprecated use `BlobT$inboundSchema` instead. */ - export const inboundSchema = BlobT$inboundSchema; - /** @deprecated use `BlobT$outboundSchema` instead. */ - export const outboundSchema = BlobT$outboundSchema; - /** @deprecated use `BlobT$Outbound` instead. */ - export type Outbound = BlobT$Outbound; -} - export function blobToJSON(blobT: BlobT): string { return JSON.stringify(BlobT$outboundSchema.parse(blobT)); } - export function blobFromJSON( jsonString: string, ): SafeParseResult { @@ -23110,51 +19519,25 @@ export function blobFromJSON( } /** @internal */ -export const UserEventPayload64NewOwnerFeatureBlocksPostgresBlockReason$inboundSchema: +export const UserEventPayload66NewOwnerFeatureBlocksPostgresBlockReason$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload64NewOwnerFeatureBlocksPostgresBlockReason - > = z.nativeEnum(UserEventPayload64NewOwnerFeatureBlocksPostgresBlockReason); - + typeof UserEventPayload66NewOwnerFeatureBlocksPostgresBlockReason + > = z.nativeEnum(UserEventPayload66NewOwnerFeatureBlocksPostgresBlockReason); /** @internal */ -export const UserEventPayload64NewOwnerFeatureBlocksPostgresBlockReason$outboundSchema: +export const UserEventPayload66NewOwnerFeatureBlocksPostgresBlockReason$outboundSchema: z.ZodNativeEnum< - typeof UserEventPayload64NewOwnerFeatureBlocksPostgresBlockReason - > = UserEventPayload64NewOwnerFeatureBlocksPostgresBlockReason$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UserEventPayload64NewOwnerFeatureBlocksPostgresBlockReason$ { - /** @deprecated use `UserEventPayload64NewOwnerFeatureBlocksPostgresBlockReason$inboundSchema` instead. */ - export const inboundSchema = - UserEventPayload64NewOwnerFeatureBlocksPostgresBlockReason$inboundSchema; - /** @deprecated use `UserEventPayload64NewOwnerFeatureBlocksPostgresBlockReason$outboundSchema` instead. */ - export const outboundSchema = - UserEventPayload64NewOwnerFeatureBlocksPostgresBlockReason$outboundSchema; -} + typeof UserEventPayload66NewOwnerFeatureBlocksPostgresBlockReason + > = UserEventPayload66NewOwnerFeatureBlocksPostgresBlockReason$inboundSchema; /** @internal */ export const PayloadOverageReason$inboundSchema: z.ZodNativeEnum< typeof PayloadOverageReason > = z.nativeEnum(PayloadOverageReason); - /** @internal */ export const PayloadOverageReason$outboundSchema: z.ZodNativeEnum< typeof PayloadOverageReason > = PayloadOverageReason$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PayloadOverageReason$ { - /** @deprecated use `PayloadOverageReason$inboundSchema` instead. */ - export const inboundSchema = PayloadOverageReason$inboundSchema; - /** @deprecated use `PayloadOverageReason$outboundSchema` instead. */ - export const outboundSchema = PayloadOverageReason$outboundSchema; -} - /** @internal */ export const Postgres$inboundSchema: z.ZodType< Postgres, @@ -23165,10 +19548,9 @@ export const Postgres$inboundSchema: z.ZodType< blockedFrom: z.number().optional(), blockedUntil: z.number().optional(), blockReason: - UserEventPayload64NewOwnerFeatureBlocksPostgresBlockReason$inboundSchema, + UserEventPayload66NewOwnerFeatureBlocksPostgresBlockReason$inboundSchema, overageReason: PayloadOverageReason$inboundSchema, }); - /** @internal */ export type Postgres$Outbound = { updatedAt: number; @@ -23188,27 +19570,13 @@ export const Postgres$outboundSchema: z.ZodType< blockedFrom: z.number().optional(), blockedUntil: z.number().optional(), blockReason: - UserEventPayload64NewOwnerFeatureBlocksPostgresBlockReason$outboundSchema, + UserEventPayload66NewOwnerFeatureBlocksPostgresBlockReason$outboundSchema, overageReason: PayloadOverageReason$outboundSchema, }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Postgres$ { - /** @deprecated use `Postgres$inboundSchema` instead. */ - export const inboundSchema = Postgres$inboundSchema; - /** @deprecated use `Postgres$outboundSchema` instead. */ - export const outboundSchema = Postgres$outboundSchema; - /** @deprecated use `Postgres$Outbound` instead. */ - export type Outbound = Postgres$Outbound; -} - export function postgresToJSON(postgres: Postgres): string { return JSON.stringify(Postgres$outboundSchema.parse(postgres)); } - export function postgresFromJSON( jsonString: string, ): SafeParseResult { @@ -23220,51 +19588,25 @@ export function postgresFromJSON( } /** @internal */ -export const UserEventPayload64NewOwnerFeatureBlocksRedisBlockReason$inboundSchema: +export const UserEventPayload66NewOwnerFeatureBlocksRedisBlockReason$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload64NewOwnerFeatureBlocksRedisBlockReason - > = z.nativeEnum(UserEventPayload64NewOwnerFeatureBlocksRedisBlockReason); - + typeof UserEventPayload66NewOwnerFeatureBlocksRedisBlockReason + > = z.nativeEnum(UserEventPayload66NewOwnerFeatureBlocksRedisBlockReason); /** @internal */ -export const UserEventPayload64NewOwnerFeatureBlocksRedisBlockReason$outboundSchema: +export const UserEventPayload66NewOwnerFeatureBlocksRedisBlockReason$outboundSchema: z.ZodNativeEnum< - typeof UserEventPayload64NewOwnerFeatureBlocksRedisBlockReason - > = UserEventPayload64NewOwnerFeatureBlocksRedisBlockReason$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UserEventPayload64NewOwnerFeatureBlocksRedisBlockReason$ { - /** @deprecated use `UserEventPayload64NewOwnerFeatureBlocksRedisBlockReason$inboundSchema` instead. */ - export const inboundSchema = - UserEventPayload64NewOwnerFeatureBlocksRedisBlockReason$inboundSchema; - /** @deprecated use `UserEventPayload64NewOwnerFeatureBlocksRedisBlockReason$outboundSchema` instead. */ - export const outboundSchema = - UserEventPayload64NewOwnerFeatureBlocksRedisBlockReason$outboundSchema; -} + typeof UserEventPayload66NewOwnerFeatureBlocksRedisBlockReason + > = UserEventPayload66NewOwnerFeatureBlocksRedisBlockReason$inboundSchema; /** @internal */ export const UserEventPayloadOverageReason$inboundSchema: z.ZodNativeEnum< typeof UserEventPayloadOverageReason > = z.nativeEnum(UserEventPayloadOverageReason); - /** @internal */ export const UserEventPayloadOverageReason$outboundSchema: z.ZodNativeEnum< typeof UserEventPayloadOverageReason > = UserEventPayloadOverageReason$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UserEventPayloadOverageReason$ { - /** @deprecated use `UserEventPayloadOverageReason$inboundSchema` instead. */ - export const inboundSchema = UserEventPayloadOverageReason$inboundSchema; - /** @deprecated use `UserEventPayloadOverageReason$outboundSchema` instead. */ - export const outboundSchema = UserEventPayloadOverageReason$outboundSchema; -} - /** @internal */ export const Redis$inboundSchema: z.ZodType = z .object({ @@ -23272,10 +19614,9 @@ export const Redis$inboundSchema: z.ZodType = z blockedFrom: z.number().optional(), blockedUntil: z.number().optional(), blockReason: - UserEventPayload64NewOwnerFeatureBlocksRedisBlockReason$inboundSchema, + UserEventPayload66NewOwnerFeatureBlocksRedisBlockReason$inboundSchema, overageReason: UserEventPayloadOverageReason$inboundSchema, }); - /** @internal */ export type Redis$Outbound = { updatedAt: number; @@ -23295,27 +19636,13 @@ export const Redis$outboundSchema: z.ZodType< blockedFrom: z.number().optional(), blockedUntil: z.number().optional(), blockReason: - UserEventPayload64NewOwnerFeatureBlocksRedisBlockReason$outboundSchema, + UserEventPayload66NewOwnerFeatureBlocksRedisBlockReason$outboundSchema, overageReason: UserEventPayloadOverageReason$outboundSchema, }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Redis$ { - /** @deprecated use `Redis$inboundSchema` instead. */ - export const inboundSchema = Redis$inboundSchema; - /** @deprecated use `Redis$outboundSchema` instead. */ - export const outboundSchema = Redis$outboundSchema; - /** @deprecated use `Redis$Outbound` instead. */ - export type Outbound = Redis$Outbound; -} - export function redisToJSON(redis: Redis): string { return JSON.stringify(Redis$outboundSchema.parse(redis)); } - export function redisFromJSON( jsonString: string, ): SafeParseResult { @@ -23326,6 +19653,70 @@ export function redisFromJSON( ); } +/** @internal */ +export const UserEventPayload66NewOwnerFeatureBlocksMicrofrontendsRequestBlockReason$inboundSchema: + z.ZodNativeEnum< + typeof UserEventPayload66NewOwnerFeatureBlocksMicrofrontendsRequestBlockReason + > = z.nativeEnum( + UserEventPayload66NewOwnerFeatureBlocksMicrofrontendsRequestBlockReason, + ); +/** @internal */ +export const UserEventPayload66NewOwnerFeatureBlocksMicrofrontendsRequestBlockReason$outboundSchema: + z.ZodNativeEnum< + typeof UserEventPayload66NewOwnerFeatureBlocksMicrofrontendsRequestBlockReason + > = + UserEventPayload66NewOwnerFeatureBlocksMicrofrontendsRequestBlockReason$inboundSchema; + +/** @internal */ +export const MicrofrontendsRequest$inboundSchema: z.ZodType< + MicrofrontendsRequest, + z.ZodTypeDef, + unknown +> = z.object({ + updatedAt: z.number(), + blockedFrom: z.number().optional(), + blockedUntil: z.number().optional(), + blockReason: + UserEventPayload66NewOwnerFeatureBlocksMicrofrontendsRequestBlockReason$inboundSchema, +}); +/** @internal */ +export type MicrofrontendsRequest$Outbound = { + updatedAt: number; + blockedFrom?: number | undefined; + blockedUntil?: number | undefined; + blockReason: string; +}; + +/** @internal */ +export const MicrofrontendsRequest$outboundSchema: z.ZodType< + MicrofrontendsRequest$Outbound, + z.ZodTypeDef, + MicrofrontendsRequest +> = z.object({ + updatedAt: z.number(), + blockedFrom: z.number().optional(), + blockedUntil: z.number().optional(), + blockReason: + UserEventPayload66NewOwnerFeatureBlocksMicrofrontendsRequestBlockReason$outboundSchema, +}); + +export function microfrontendsRequestToJSON( + microfrontendsRequest: MicrofrontendsRequest, +): string { + return JSON.stringify( + MicrofrontendsRequest$outboundSchema.parse(microfrontendsRequest), + ); +} +export function microfrontendsRequestFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => MicrofrontendsRequest$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'MicrofrontendsRequest' from JSON`, + ); +} + /** @internal */ export const PayloadFeatureBlocks$inboundSchema: z.ZodType< PayloadFeatureBlocks, @@ -23343,8 +19734,9 @@ export const PayloadFeatureBlocks$inboundSchema: z.ZodType< blob: z.lazy(() => BlobT$inboundSchema).optional(), postgres: z.lazy(() => Postgres$inboundSchema).optional(), redis: z.lazy(() => Redis$inboundSchema).optional(), + microfrontendsRequest: z.lazy(() => MicrofrontendsRequest$inboundSchema) + .optional(), }); - /** @internal */ export type PayloadFeatureBlocks$Outbound = { webAnalytics?: PayloadWebAnalytics$Outbound | undefined; @@ -23358,6 +19750,7 @@ export type PayloadFeatureBlocks$Outbound = { blob?: BlobT$Outbound | undefined; postgres?: Postgres$Outbound | undefined; redis?: Redis$Outbound | undefined; + microfrontendsRequest?: MicrofrontendsRequest$Outbound | undefined; }; /** @internal */ @@ -23377,21 +19770,10 @@ export const PayloadFeatureBlocks$outboundSchema: z.ZodType< blob: z.lazy(() => BlobT$outboundSchema).optional(), postgres: z.lazy(() => Postgres$outboundSchema).optional(), redis: z.lazy(() => Redis$outboundSchema).optional(), + microfrontendsRequest: z.lazy(() => MicrofrontendsRequest$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 PayloadFeatureBlocks$ { - /** @deprecated use `PayloadFeatureBlocks$inboundSchema` instead. */ - export const inboundSchema = PayloadFeatureBlocks$inboundSchema; - /** @deprecated use `PayloadFeatureBlocks$outboundSchema` instead. */ - export const outboundSchema = PayloadFeatureBlocks$outboundSchema; - /** @deprecated use `PayloadFeatureBlocks$Outbound` instead. */ - export type Outbound = PayloadFeatureBlocks$Outbound; -} - export function payloadFeatureBlocksToJSON( payloadFeatureBlocks: PayloadFeatureBlocks, ): string { @@ -23399,7 +19781,6 @@ export function payloadFeatureBlocksToJSON( PayloadFeatureBlocks$outboundSchema.parse(payloadFeatureBlocks), ); } - export function payloadFeatureBlocksFromJSON( jsonString: string, ): SafeParseResult { @@ -23413,22 +19794,10 @@ export function payloadFeatureBlocksFromJSON( /** @internal */ export const Version$inboundSchema: z.ZodNativeEnum = z .nativeEnum(Version); - /** @internal */ export const Version$outboundSchema: z.ZodNativeEnum = Version$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Version$ { - /** @deprecated use `Version$inboundSchema` instead. */ - export const inboundSchema = Version$inboundSchema; - /** @deprecated use `Version$outboundSchema` instead. */ - export const outboundSchema = Version$outboundSchema; -} - /** @internal */ export const NorthstarMigration$inboundSchema: z.ZodType< NorthstarMigration, @@ -23443,7 +19812,6 @@ export const NorthstarMigration$inboundSchema: z.ZodType< startTime: z.number(), endTime: z.number(), }); - /** @internal */ export type NorthstarMigration$Outbound = { teamId: string; @@ -23470,19 +19838,6 @@ export const NorthstarMigration$outboundSchema: z.ZodType< endTime: 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 NorthstarMigration$ { - /** @deprecated use `NorthstarMigration$inboundSchema` instead. */ - export const inboundSchema = NorthstarMigration$inboundSchema; - /** @deprecated use `NorthstarMigration$outboundSchema` instead. */ - export const outboundSchema = NorthstarMigration$outboundSchema; - /** @deprecated use `NorthstarMigration$Outbound` instead. */ - export type Outbound = NorthstarMigration$Outbound; -} - export function northstarMigrationToJSON( northstarMigration: NorthstarMigration, ): string { @@ -23490,7 +19845,6 @@ export function northstarMigrationToJSON( NorthstarMigration$outboundSchema.parse(northstarMigration), ); } - export function northstarMigrationFromJSON( jsonString: string, ): SafeParseResult { @@ -23507,7 +19861,6 @@ export const Totp$inboundSchema: z.ZodType = z secret: z.string(), createdAt: z.number(), }); - /** @internal */ export type Totp$Outbound = { secret: string; @@ -23521,23 +19874,9 @@ export const Totp$outboundSchema: z.ZodType = 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 Totp$ { - /** @deprecated use `Totp$inboundSchema` instead. */ - export const inboundSchema = Totp$inboundSchema; - /** @deprecated use `Totp$outboundSchema` instead. */ - export const outboundSchema = Totp$outboundSchema; - /** @deprecated use `Totp$Outbound` instead. */ - export type Outbound = Totp$Outbound; -} - export function totpToJSON(totp: Totp): string { return JSON.stringify(Totp$outboundSchema.parse(totp)); } - export function totpFromJSON( jsonString: string, ): SafeParseResult { @@ -23559,7 +19898,6 @@ export const MfaConfiguration$inboundSchema: z.ZodType< recoveryCodes: z.array(z.string()), totp: z.lazy(() => Totp$inboundSchema).optional(), }); - /** @internal */ export type MfaConfiguration$Outbound = { enabled: boolean; @@ -23580,19 +19918,6 @@ export const MfaConfiguration$outboundSchema: z.ZodType< totp: z.lazy(() => Totp$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 MfaConfiguration$ { - /** @deprecated use `MfaConfiguration$inboundSchema` instead. */ - export const inboundSchema = MfaConfiguration$inboundSchema; - /** @deprecated use `MfaConfiguration$outboundSchema` instead. */ - export const outboundSchema = MfaConfiguration$outboundSchema; - /** @deprecated use `MfaConfiguration$Outbound` instead. */ - export type Outbound = MfaConfiguration$Outbound; -} - export function mfaConfigurationToJSON( mfaConfiguration: MfaConfiguration, ): string { @@ -23600,7 +19925,6 @@ export function mfaConfigurationToJSON( MfaConfiguration$outboundSchema.parse(mfaConfiguration), ); } - export function mfaConfigurationFromJSON( jsonString: string, ): SafeParseResult { @@ -23682,6 +20006,7 @@ export const NewOwner$inboundSchema: z.ZodType< ).optional(), secondaryEmails: z.array(z.lazy(() => SecondaryEmails$inboundSchema)) .optional(), + emailDomains: z.array(z.string()).optional(), emailNotifications: z.lazy(() => EmailNotifications$inboundSchema).optional(), siftScore: z.number().optional(), siftScores: z.record(z.lazy(() => SiftScores$inboundSchema)).optional(), @@ -23695,7 +20020,7 @@ export const NewOwner$inboundSchema: z.ZodType< trialTeamIds: z.array(z.string()).optional(), maxTrials: z.number().optional(), trialTeamId: z.string().optional(), - type: UserEventPayload64Type$inboundSchema, + type: UserEventPayload66Type$inboundSchema, usageAlerts: z.nullable(z.lazy(() => UsageAlerts$inboundSchema)).optional(), overageUsageAlerts: z.lazy(() => OverageUsageAlerts$inboundSchema).optional(), overageMetadata: z.lazy(() => OverageMetadata$inboundSchema).optional(), @@ -23709,7 +20034,6 @@ export const NewOwner$inboundSchema: z.ZodType< opportunityId: z.string().optional(), mfaConfiguration: z.lazy(() => MfaConfiguration$inboundSchema).optional(), }); - /** @internal */ export type NewOwner$Outbound = { abuse?: Abuse$Outbound | undefined; @@ -23767,6 +20091,7 @@ export type NewOwner$Outbound = { | Array | undefined; secondaryEmails?: Array | undefined; + emailDomains?: Array | undefined; emailNotifications?: EmailNotifications$Outbound | undefined; siftScore?: number | undefined; siftScores?: { [k: string]: SiftScores$Outbound } | undefined; @@ -23865,6 +20190,7 @@ export const NewOwner$outboundSchema: z.ZodType< ).optional(), secondaryEmails: z.array(z.lazy(() => SecondaryEmails$outboundSchema)) .optional(), + emailDomains: z.array(z.string()).optional(), emailNotifications: z.lazy(() => EmailNotifications$outboundSchema) .optional(), siftScore: z.number().optional(), @@ -23879,7 +20205,7 @@ export const NewOwner$outboundSchema: z.ZodType< trialTeamIds: z.array(z.string()).optional(), maxTrials: z.number().optional(), trialTeamId: z.string().optional(), - type: UserEventPayload64Type$outboundSchema, + type: UserEventPayload66Type$outboundSchema, usageAlerts: z.nullable(z.lazy(() => UsageAlerts$outboundSchema)).optional(), overageUsageAlerts: z.lazy(() => OverageUsageAlerts$outboundSchema) .optional(), @@ -23896,23 +20222,9 @@ export const NewOwner$outboundSchema: z.ZodType< mfaConfiguration: z.lazy(() => MfaConfiguration$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 NewOwner$ { - /** @deprecated use `NewOwner$inboundSchema` instead. */ - export const inboundSchema = NewOwner$inboundSchema; - /** @deprecated use `NewOwner$outboundSchema` instead. */ - export const outboundSchema = NewOwner$outboundSchema; - /** @deprecated use `NewOwner$Outbound` instead. */ - export type Outbound = NewOwner$Outbound; -} - export function newOwnerToJSON(newOwner: NewOwner): string { return JSON.stringify(NewOwner$outboundSchema.parse(newOwner)); } - export function newOwnerFromJSON( jsonString: string, ): SafeParseResult { @@ -23924,8 +20236,8 @@ export function newOwnerFromJSON( } /** @internal */ -export const SixtyFour$inboundSchema: z.ZodType< - SixtyFour, +export const SixtySix$inboundSchema: z.ZodType< + SixtySix, z.ZodTypeDef, unknown > = z.object({ @@ -23936,9 +20248,8 @@ export const SixtyFour$inboundSchema: z.ZodType< integrationName: z.string().optional(), newOwner: z.nullable(z.lazy(() => NewOwner$inboundSchema)), }); - /** @internal */ -export type SixtyFour$Outbound = { +export type SixtySix$Outbound = { userId: string; integrationId: string; configurationId: string; @@ -23948,10 +20259,10 @@ export type SixtyFour$Outbound = { }; /** @internal */ -export const SixtyFour$outboundSchema: z.ZodType< - SixtyFour$Outbound, +export const SixtySix$outboundSchema: z.ZodType< + SixtySix$Outbound, z.ZodTypeDef, - SixtyFour + SixtySix > = z.object({ userId: z.string(), integrationId: z.string(), @@ -23961,36 +20272,22 @@ export const SixtyFour$outboundSchema: z.ZodType< newOwner: z.nullable(z.lazy(() => NewOwner$outboundSchema)), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace SixtyFour$ { - /** @deprecated use `SixtyFour$inboundSchema` instead. */ - export const inboundSchema = SixtyFour$inboundSchema; - /** @deprecated use `SixtyFour$outboundSchema` instead. */ - export const outboundSchema = SixtyFour$outboundSchema; - /** @deprecated use `SixtyFour$Outbound` instead. */ - export type Outbound = SixtyFour$Outbound; -} - -export function sixtyFourToJSON(sixtyFour: SixtyFour): string { - return JSON.stringify(SixtyFour$outboundSchema.parse(sixtyFour)); +export function sixtySixToJSON(sixtySix: SixtySix): string { + return JSON.stringify(SixtySix$outboundSchema.parse(sixtySix)); } - -export function sixtyFourFromJSON( +export function sixtySixFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => SixtyFour$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'SixtyFour' from JSON`, + (x) => SixtySix$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'SixtySix' from JSON`, ); } /** @internal */ -export const SixtyThree$inboundSchema: z.ZodType< - SixtyThree, +export const SixtyFive$inboundSchema: z.ZodType< + SixtyFive, z.ZodTypeDef, unknown > = z.object({ @@ -23998,55 +20295,40 @@ export const SixtyThree$inboundSchema: z.ZodType< integrationSlug: z.string(), integrationName: z.string(), }); - /** @internal */ -export type SixtyThree$Outbound = { +export type SixtyFive$Outbound = { integrationId: string; integrationSlug: string; integrationName: string; }; /** @internal */ -export const SixtyThree$outboundSchema: z.ZodType< - SixtyThree$Outbound, +export const SixtyFive$outboundSchema: z.ZodType< + SixtyFive$Outbound, z.ZodTypeDef, - SixtyThree + SixtyFive > = z.object({ integrationId: z.string(), integrationSlug: z.string(), integrationName: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace SixtyThree$ { - /** @deprecated use `SixtyThree$inboundSchema` instead. */ - export const inboundSchema = SixtyThree$inboundSchema; - /** @deprecated use `SixtyThree$outboundSchema` instead. */ - export const outboundSchema = SixtyThree$outboundSchema; - /** @deprecated use `SixtyThree$Outbound` instead. */ - export type Outbound = SixtyThree$Outbound; -} - -export function sixtyThreeToJSON(sixtyThree: SixtyThree): string { - return JSON.stringify(SixtyThree$outboundSchema.parse(sixtyThree)); +export function sixtyFiveToJSON(sixtyFive: SixtyFive): string { + return JSON.stringify(SixtyFive$outboundSchema.parse(sixtyFive)); } - -export function sixtyThreeFromJSON( +export function sixtyFiveFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => SixtyThree$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'SixtyThree' from JSON`, + (x) => SixtyFive$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'SixtyFive' from JSON`, ); } /** @internal */ -export const SixtyTwo$inboundSchema: z.ZodType< - SixtyTwo, +export const SixtyFour$inboundSchema: z.ZodType< + SixtyFour, z.ZodTypeDef, unknown > = z.object({ @@ -24056,9 +20338,8 @@ export const SixtyTwo$inboundSchema: z.ZodType< attackModeEnabled: z.boolean(), attackModeActiveUntil: z.nullable(z.number()).optional(), }); - /** @internal */ -export type SixtyTwo$Outbound = { +export type SixtyFour$Outbound = { projectId: string; prevAttackModeEnabled?: boolean | undefined; prevAttackModeActiveUntil?: number | null | undefined; @@ -24067,10 +20348,10 @@ export type SixtyTwo$Outbound = { }; /** @internal */ -export const SixtyTwo$outboundSchema: z.ZodType< - SixtyTwo$Outbound, +export const SixtyFour$outboundSchema: z.ZodType< + SixtyFour$Outbound, z.ZodTypeDef, - SixtyTwo + SixtyFour > = z.object({ projectId: z.string(), prevAttackModeEnabled: z.boolean().optional(), @@ -24079,53 +20360,27 @@ export const SixtyTwo$outboundSchema: z.ZodType< 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 SixtyTwo$ { - /** @deprecated use `SixtyTwo$inboundSchema` instead. */ - export const inboundSchema = SixtyTwo$inboundSchema; - /** @deprecated use `SixtyTwo$outboundSchema` instead. */ - export const outboundSchema = SixtyTwo$outboundSchema; - /** @deprecated use `SixtyTwo$Outbound` instead. */ - export type Outbound = SixtyTwo$Outbound; -} - -export function sixtyTwoToJSON(sixtyTwo: SixtyTwo): string { - return JSON.stringify(SixtyTwo$outboundSchema.parse(sixtyTwo)); +export function sixtyFourToJSON(sixtyFour: SixtyFour): string { + return JSON.stringify(SixtyFour$outboundSchema.parse(sixtyFour)); } - -export function sixtyTwoFromJSON( +export function sixtyFourFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => SixtyTwo$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'SixtyTwo' from JSON`, + (x) => SixtyFour$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'SixtyFour' from JSON`, ); } /** @internal */ -export const UserEventPayload61Action$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload61Action -> = z.nativeEnum(UserEventPayload61Action); - +export const UserEventPayload63Action$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload63Action +> = z.nativeEnum(UserEventPayload63Action); /** @internal */ -export const UserEventPayload61Action$outboundSchema: z.ZodNativeEnum< - typeof UserEventPayload61Action -> = UserEventPayload61Action$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UserEventPayload61Action$ { - /** @deprecated use `UserEventPayload61Action$inboundSchema` instead. */ - export const inboundSchema = UserEventPayload61Action$inboundSchema; - /** @deprecated use `UserEventPayload61Action$outboundSchema` instead. */ - export const outboundSchema = UserEventPayload61Action$outboundSchema; -} +export const UserEventPayload63Action$outboundSchema: z.ZodNativeEnum< + typeof UserEventPayload63Action +> = UserEventPayload63Action$inboundSchema; /** @internal */ export const RuleGroups$inboundSchema: z.ZodType< @@ -24134,9 +20389,8 @@ export const RuleGroups$inboundSchema: z.ZodType< unknown > = z.object({ active: z.boolean(), - action: UserEventPayload61Action$inboundSchema.optional(), + action: UserEventPayload63Action$inboundSchema.optional(), }); - /** @internal */ export type RuleGroups$Outbound = { active: boolean; @@ -24150,26 +20404,12 @@ export const RuleGroups$outboundSchema: z.ZodType< RuleGroups > = z.object({ active: z.boolean(), - action: UserEventPayload61Action$outboundSchema.optional(), + action: UserEventPayload63Action$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 RuleGroups$ { - /** @deprecated use `RuleGroups$inboundSchema` instead. */ - export const inboundSchema = RuleGroups$inboundSchema; - /** @deprecated use `RuleGroups$outboundSchema` instead. */ - export const outboundSchema = RuleGroups$outboundSchema; - /** @deprecated use `RuleGroups$Outbound` instead. */ - export type Outbound = RuleGroups$Outbound; -} - export function ruleGroupsToJSON(ruleGroups: RuleGroups): string { return JSON.stringify(RuleGroups$outboundSchema.parse(ruleGroups)); } - export function ruleGroupsFromJSON( jsonString: string, ): SafeParseResult { @@ -24181,8 +20421,8 @@ export function ruleGroupsFromJSON( } /** @internal */ -export const SixtyOne$inboundSchema: z.ZodType< - SixtyOne, +export const SixtyThree$inboundSchema: z.ZodType< + SixtyThree, z.ZodTypeDef, unknown > = z.object({ @@ -24190,49 +20430,34 @@ export const SixtyOne$inboundSchema: z.ZodType< rulesetName: z.string(), ruleGroups: z.record(z.lazy(() => RuleGroups$inboundSchema)), }); - /** @internal */ -export type SixtyOne$Outbound = { +export type SixtyThree$Outbound = { projectId: string; rulesetName: string; ruleGroups: { [k: string]: RuleGroups$Outbound }; }; /** @internal */ -export const SixtyOne$outboundSchema: z.ZodType< - SixtyOne$Outbound, +export const SixtyThree$outboundSchema: z.ZodType< + SixtyThree$Outbound, z.ZodTypeDef, - SixtyOne + SixtyThree > = z.object({ projectId: z.string(), rulesetName: z.string(), ruleGroups: z.record(z.lazy(() => RuleGroups$outboundSchema)), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace SixtyOne$ { - /** @deprecated use `SixtyOne$inboundSchema` instead. */ - export const inboundSchema = SixtyOne$inboundSchema; - /** @deprecated use `SixtyOne$outboundSchema` instead. */ - export const outboundSchema = SixtyOne$outboundSchema; - /** @deprecated use `SixtyOne$Outbound` instead. */ - export type Outbound = SixtyOne$Outbound; -} - -export function sixtyOneToJSON(sixtyOne: SixtyOne): string { - return JSON.stringify(SixtyOne$outboundSchema.parse(sixtyOne)); +export function sixtyThreeToJSON(sixtyThree: SixtyThree): string { + return JSON.stringify(SixtyThree$outboundSchema.parse(sixtyThree)); } - -export function sixtyOneFromJSON( +export function sixtyThreeFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => SixtyOne$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'SixtyOne' from JSON`, + (x) => SixtyThree$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'SixtyThree' from JSON`, ); } @@ -24240,34 +20465,24 @@ export function sixtyOneFromJSON( export const UserEventPayloadAction$inboundSchema: z.ZodNativeEnum< typeof UserEventPayloadAction > = z.nativeEnum(UserEventPayloadAction); - /** @internal */ export const UserEventPayloadAction$outboundSchema: z.ZodNativeEnum< typeof UserEventPayloadAction > = UserEventPayloadAction$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UserEventPayloadAction$ { - /** @deprecated use `UserEventPayloadAction$inboundSchema` instead. */ - export const inboundSchema = UserEventPayloadAction$inboundSchema; - /** @deprecated use `UserEventPayloadAction$outboundSchema` instead. */ - export const outboundSchema = UserEventPayloadAction$outboundSchema; -} - /** @internal */ -export const Sixty$inboundSchema: z.ZodType = z - .object({ - projectId: z.string(), - rulesetName: z.string(), - active: z.boolean(), - action: UserEventPayloadAction$inboundSchema.optional(), - }); - +export const SixtyTwo$inboundSchema: z.ZodType< + SixtyTwo, + z.ZodTypeDef, + unknown +> = z.object({ + projectId: z.string(), + rulesetName: z.string(), + active: z.boolean(), + action: UserEventPayloadAction$inboundSchema.optional(), +}); /** @internal */ -export type Sixty$Outbound = { +export type SixtyTwo$Outbound = { projectId: string; rulesetName: string; active: boolean; @@ -24275,10 +20490,10 @@ export type Sixty$Outbound = { }; /** @internal */ -export const Sixty$outboundSchema: z.ZodType< - Sixty$Outbound, +export const SixtyTwo$outboundSchema: z.ZodType< + SixtyTwo$Outbound, z.ZodTypeDef, - Sixty + SixtyTwo > = z.object({ projectId: z.string(), rulesetName: z.string(), @@ -24286,36 +20501,22 @@ export const Sixty$outboundSchema: z.ZodType< action: UserEventPayloadAction$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 Sixty$ { - /** @deprecated use `Sixty$inboundSchema` instead. */ - export const inboundSchema = Sixty$inboundSchema; - /** @deprecated use `Sixty$outboundSchema` instead. */ - export const outboundSchema = Sixty$outboundSchema; - /** @deprecated use `Sixty$Outbound` instead. */ - export type Outbound = Sixty$Outbound; -} - -export function sixtyToJSON(sixty: Sixty): string { - return JSON.stringify(Sixty$outboundSchema.parse(sixty)); +export function sixtyTwoToJSON(sixtyTwo: SixtyTwo): string { + return JSON.stringify(SixtyTwo$outboundSchema.parse(sixtyTwo)); } - -export function sixtyFromJSON( +export function sixtyTwoFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => Sixty$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Sixty' from JSON`, + (x) => SixtyTwo$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'SixtyTwo' from JSON`, ); } /** @internal */ -export const FiftyNine$inboundSchema: z.ZodType< - FiftyNine, +export const SixtyOne$inboundSchema: z.ZodType< + SixtyOne, z.ZodTypeDef, unknown > = z.object({ @@ -24323,49 +20524,34 @@ export const FiftyNine$inboundSchema: z.ZodType< scope: z.string(), source: z.string(), }); - /** @internal */ -export type FiftyNine$Outbound = { +export type SixtyOne$Outbound = { projectId: string; scope: string; source: string; }; /** @internal */ -export const FiftyNine$outboundSchema: z.ZodType< - FiftyNine$Outbound, +export const SixtyOne$outboundSchema: z.ZodType< + SixtyOne$Outbound, z.ZodTypeDef, - FiftyNine + SixtyOne > = z.object({ projectId: z.string(), scope: z.string(), source: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FiftyNine$ { - /** @deprecated use `FiftyNine$inboundSchema` instead. */ - export const inboundSchema = FiftyNine$inboundSchema; - /** @deprecated use `FiftyNine$outboundSchema` instead. */ - export const outboundSchema = FiftyNine$outboundSchema; - /** @deprecated use `FiftyNine$Outbound` instead. */ - export type Outbound = FiftyNine$Outbound; -} - -export function fiftyNineToJSON(fiftyNine: FiftyNine): string { - return JSON.stringify(FiftyNine$outboundSchema.parse(fiftyNine)); +export function sixtyOneToJSON(sixtyOne: SixtyOne): string { + return JSON.stringify(SixtyOne$outboundSchema.parse(sixtyOne)); } - -export function fiftyNineFromJSON( +export function sixtyOneFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FiftyNine$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FiftyNine' from JSON`, + (x) => SixtyOne$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'SixtyOne' from JSON`, ); } @@ -24375,7 +20561,6 @@ export const ConfigChanges$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({}); - /** @internal */ export type ConfigChanges$Outbound = {}; @@ -24386,23 +20571,9 @@ export const ConfigChanges$outboundSchema: z.ZodType< ConfigChanges > = 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 ConfigChanges$ { - /** @deprecated use `ConfigChanges$inboundSchema` instead. */ - export const inboundSchema = ConfigChanges$inboundSchema; - /** @deprecated use `ConfigChanges$outboundSchema` instead. */ - export const outboundSchema = ConfigChanges$outboundSchema; - /** @deprecated use `ConfigChanges$Outbound` instead. */ - export type Outbound = ConfigChanges$Outbound; -} - export function configChangesToJSON(configChanges: ConfigChanges): string { return JSON.stringify(ConfigChanges$outboundSchema.parse(configChanges)); } - export function configChangesFromJSON( jsonString: string, ): SafeParseResult { @@ -24414,20 +20585,16 @@ export function configChangesFromJSON( } /** @internal */ -export const FiftyEight$inboundSchema: z.ZodType< - FiftyEight, - z.ZodTypeDef, - unknown -> = z.object({ - projectId: z.string(), - restore: z.boolean(), - configVersion: z.number(), - configChangeCount: z.number(), - configChanges: z.array(z.lazy(() => ConfigChanges$inboundSchema)), -}); - +export const Sixty$inboundSchema: z.ZodType = z + .object({ + projectId: z.string(), + restore: z.boolean(), + configVersion: z.number(), + configChangeCount: z.number(), + configChanges: z.array(z.lazy(() => ConfigChanges$inboundSchema)), + }); /** @internal */ -export type FiftyEight$Outbound = { +export type Sixty$Outbound = { projectId: string; restore: boolean; configVersion: number; @@ -24436,10 +20603,10 @@ export type FiftyEight$Outbound = { }; /** @internal */ -export const FiftyEight$outboundSchema: z.ZodType< - FiftyEight$Outbound, +export const Sixty$outboundSchema: z.ZodType< + Sixty$Outbound, z.ZodTypeDef, - FiftyEight + Sixty > = z.object({ projectId: z.string(), restore: z.boolean(), @@ -24448,75 +20615,37 @@ export const FiftyEight$outboundSchema: z.ZodType< configChanges: z.array(z.lazy(() => ConfigChanges$outboundSchema)), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FiftyEight$ { - /** @deprecated use `FiftyEight$inboundSchema` instead. */ - export const inboundSchema = FiftyEight$inboundSchema; - /** @deprecated use `FiftyEight$outboundSchema` instead. */ - export const outboundSchema = FiftyEight$outboundSchema; - /** @deprecated use `FiftyEight$Outbound` instead. */ - export type Outbound = FiftyEight$Outbound; -} - -export function fiftyEightToJSON(fiftyEight: FiftyEight): string { - return JSON.stringify(FiftyEight$outboundSchema.parse(fiftyEight)); +export function sixtyToJSON(sixty: Sixty): string { + return JSON.stringify(Sixty$outboundSchema.parse(sixty)); } - -export function fiftyEightFromJSON( +export function sixtyFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FiftyEight$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FiftyEight' from JSON`, + (x) => Sixty$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Sixty' from JSON`, ); } /** @internal */ -export const UserEventPayload57OldEnvVarType$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload57OldEnvVarType -> = z.nativeEnum(UserEventPayload57OldEnvVarType); - +export const UserEventPayload59OldEnvVarType$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload59OldEnvVarType +> = z.nativeEnum(UserEventPayload59OldEnvVarType); /** @internal */ -export const UserEventPayload57OldEnvVarType$outboundSchema: z.ZodNativeEnum< - typeof UserEventPayload57OldEnvVarType -> = UserEventPayload57OldEnvVarType$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UserEventPayload57OldEnvVarType$ { - /** @deprecated use `UserEventPayload57OldEnvVarType$inboundSchema` instead. */ - export const inboundSchema = UserEventPayload57OldEnvVarType$inboundSchema; - /** @deprecated use `UserEventPayload57OldEnvVarType$outboundSchema` instead. */ - export const outboundSchema = UserEventPayload57OldEnvVarType$outboundSchema; -} +export const UserEventPayload59OldEnvVarType$outboundSchema: z.ZodNativeEnum< + typeof UserEventPayload59OldEnvVarType +> = UserEventPayload59OldEnvVarType$inboundSchema; /** @internal */ export const UserEventPayloadTarget$inboundSchema: z.ZodNativeEnum< typeof UserEventPayloadTarget > = z.nativeEnum(UserEventPayloadTarget); - /** @internal */ export const UserEventPayloadTarget$outboundSchema: z.ZodNativeEnum< typeof UserEventPayloadTarget > = UserEventPayloadTarget$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UserEventPayloadTarget$ { - /** @deprecated use `UserEventPayloadTarget$inboundSchema` instead. */ - export const inboundSchema = UserEventPayloadTarget$inboundSchema; - /** @deprecated use `UserEventPayloadTarget$outboundSchema` instead. */ - export const outboundSchema = UserEventPayloadTarget$outboundSchema; -} - /** @internal */ export const OldEnvVar$inboundSchema: z.ZodType< OldEnvVar, @@ -24536,14 +20665,13 @@ export const OldEnvVar$inboundSchema: z.ZodType< updatedAt: z.number().optional(), value: z.string().optional(), projectId: z.array(z.string()).optional(), - type: UserEventPayload57OldEnvVarType$inboundSchema.optional(), + type: UserEventPayload59OldEnvVarType$inboundSchema.optional(), target: z.array(UserEventPayloadTarget$inboundSchema).optional(), applyToAllCustomEnvironments: z.boolean().optional(), decrypted: z.boolean().optional(), comment: z.string().optional(), lastEditedByDisplayName: z.string().optional(), }); - /** @internal */ export type OldEnvVar$Outbound = { created?: string | undefined; @@ -24584,7 +20712,7 @@ export const OldEnvVar$outboundSchema: z.ZodType< updatedAt: z.number().optional(), value: z.string().optional(), projectId: z.array(z.string()).optional(), - type: UserEventPayload57OldEnvVarType$outboundSchema.optional(), + type: UserEventPayload59OldEnvVarType$outboundSchema.optional(), target: z.array(UserEventPayloadTarget$outboundSchema).optional(), applyToAllCustomEnvironments: z.boolean().optional(), decrypted: z.boolean().optional(), @@ -24592,23 +20720,9 @@ export const OldEnvVar$outboundSchema: z.ZodType< lastEditedByDisplayName: z.string().optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace OldEnvVar$ { - /** @deprecated use `OldEnvVar$inboundSchema` instead. */ - export const inboundSchema = OldEnvVar$inboundSchema; - /** @deprecated use `OldEnvVar$outboundSchema` instead. */ - export const outboundSchema = OldEnvVar$outboundSchema; - /** @deprecated use `OldEnvVar$Outbound` instead. */ - export type Outbound = OldEnvVar$Outbound; -} - export function oldEnvVarToJSON(oldEnvVar: OldEnvVar): string { return JSON.stringify(OldEnvVar$outboundSchema.parse(oldEnvVar)); } - export function oldEnvVarFromJSON( jsonString: string, ): SafeParseResult { @@ -24620,46 +20734,22 @@ export function oldEnvVarFromJSON( } /** @internal */ -export const UserEventPayload57Type$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload57Type -> = z.nativeEnum(UserEventPayload57Type); - +export const UserEventPayload59Type$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload59Type +> = z.nativeEnum(UserEventPayload59Type); /** @internal */ -export const UserEventPayload57Type$outboundSchema: z.ZodNativeEnum< - typeof UserEventPayload57Type -> = UserEventPayload57Type$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UserEventPayload57Type$ { - /** @deprecated use `UserEventPayload57Type$inboundSchema` instead. */ - export const inboundSchema = UserEventPayload57Type$inboundSchema; - /** @deprecated use `UserEventPayload57Type$outboundSchema` instead. */ - export const outboundSchema = UserEventPayload57Type$outboundSchema; -} +export const UserEventPayload59Type$outboundSchema: z.ZodNativeEnum< + typeof UserEventPayload59Type +> = UserEventPayload59Type$inboundSchema; /** @internal */ -export const UserEventPayload57Target$inboundSchema: z.ZodNativeEnum< - typeof UserEventPayload57Target -> = z.nativeEnum(UserEventPayload57Target); - +export const UserEventPayload59Target$inboundSchema: z.ZodNativeEnum< + typeof UserEventPayload59Target +> = z.nativeEnum(UserEventPayload59Target); /** @internal */ -export const UserEventPayload57Target$outboundSchema: z.ZodNativeEnum< - typeof UserEventPayload57Target -> = UserEventPayload57Target$inboundSchema; - -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UserEventPayload57Target$ { - /** @deprecated use `UserEventPayload57Target$inboundSchema` instead. */ - export const inboundSchema = UserEventPayload57Target$inboundSchema; - /** @deprecated use `UserEventPayload57Target$outboundSchema` instead. */ - export const outboundSchema = UserEventPayload57Target$outboundSchema; -} +export const UserEventPayload59Target$outboundSchema: z.ZodNativeEnum< + typeof UserEventPayload59Target +> = UserEventPayload59Target$inboundSchema; /** @internal */ export const NewEnvVar$inboundSchema: z.ZodType< @@ -24680,14 +20770,13 @@ export const NewEnvVar$inboundSchema: z.ZodType< updatedAt: z.number().optional(), value: z.string().optional(), projectId: z.array(z.string()).optional(), - type: UserEventPayload57Type$inboundSchema.optional(), - target: z.array(UserEventPayload57Target$inboundSchema).optional(), + type: UserEventPayload59Type$inboundSchema.optional(), + target: z.array(UserEventPayload59Target$inboundSchema).optional(), applyToAllCustomEnvironments: z.boolean().optional(), decrypted: z.boolean().optional(), comment: z.string().optional(), lastEditedByDisplayName: z.string().optional(), }); - /** @internal */ export type NewEnvVar$Outbound = { created?: string | undefined; @@ -24728,31 +20817,17 @@ export const NewEnvVar$outboundSchema: z.ZodType< updatedAt: z.number().optional(), value: z.string().optional(), projectId: z.array(z.string()).optional(), - type: UserEventPayload57Type$outboundSchema.optional(), - target: z.array(UserEventPayload57Target$outboundSchema).optional(), + type: UserEventPayload59Type$outboundSchema.optional(), + target: z.array(UserEventPayload59Target$outboundSchema).optional(), applyToAllCustomEnvironments: z.boolean().optional(), decrypted: z.boolean().optional(), comment: z.string().optional(), lastEditedByDisplayName: z.string().optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace NewEnvVar$ { - /** @deprecated use `NewEnvVar$inboundSchema` instead. */ - export const inboundSchema = NewEnvVar$inboundSchema; - /** @deprecated use `NewEnvVar$outboundSchema` instead. */ - export const outboundSchema = NewEnvVar$outboundSchema; - /** @deprecated use `NewEnvVar$Outbound` instead. */ - export type Outbound = NewEnvVar$Outbound; -} - export function newEnvVarToJSON(newEnvVar: NewEnvVar): string { return JSON.stringify(NewEnvVar$outboundSchema.parse(newEnvVar)); } - export function newEnvVarFromJSON( jsonString: string, ): SafeParseResult { @@ -24766,41 +20841,17 @@ export function newEnvVarFromJSON( /** @internal */ export const OldTarget$inboundSchema: z.ZodNativeEnum = z .nativeEnum(OldTarget); - /** @internal */ export const OldTarget$outboundSchema: z.ZodNativeEnum = OldTarget$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace OldTarget$ { - /** @deprecated use `OldTarget$inboundSchema` instead. */ - export const inboundSchema = OldTarget$inboundSchema; - /** @deprecated use `OldTarget$outboundSchema` instead. */ - export const outboundSchema = OldTarget$outboundSchema; -} - /** @internal */ export const NewTarget$inboundSchema: z.ZodNativeEnum = z .nativeEnum(NewTarget); - /** @internal */ export const NewTarget$outboundSchema: z.ZodNativeEnum = NewTarget$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace NewTarget$ { - /** @deprecated use `NewTarget$inboundSchema` instead. */ - export const inboundSchema = NewTarget$inboundSchema; - /** @deprecated use `NewTarget$outboundSchema` instead. */ - export const outboundSchema = NewTarget$outboundSchema; -} - /** @internal */ export const OldProjects$inboundSchema: z.ZodType< OldProjects, @@ -24810,7 +20861,6 @@ export const OldProjects$inboundSchema: z.ZodType< projectName: z.string().optional(), projectId: z.string(), }); - /** @internal */ export type OldProjects$Outbound = { projectName?: string | undefined; @@ -24827,23 +20877,9 @@ export const OldProjects$outboundSchema: z.ZodType< 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 OldProjects$ { - /** @deprecated use `OldProjects$inboundSchema` instead. */ - export const inboundSchema = OldProjects$inboundSchema; - /** @deprecated use `OldProjects$outboundSchema` instead. */ - export const outboundSchema = OldProjects$outboundSchema; - /** @deprecated use `OldProjects$Outbound` instead. */ - export type Outbound = OldProjects$Outbound; -} - export function oldProjectsToJSON(oldProjects: OldProjects): string { return JSON.stringify(OldProjects$outboundSchema.parse(oldProjects)); } - export function oldProjectsFromJSON( jsonString: string, ): SafeParseResult { @@ -24863,7 +20899,6 @@ export const NewProjects$inboundSchema: z.ZodType< projectName: z.string().optional(), projectId: z.string(), }); - /** @internal */ export type NewProjects$Outbound = { projectName?: string | undefined; @@ -24880,23 +20915,9 @@ export const NewProjects$outboundSchema: z.ZodType< 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 NewProjects$ { - /** @deprecated use `NewProjects$inboundSchema` instead. */ - export const inboundSchema = NewProjects$inboundSchema; - /** @deprecated use `NewProjects$outboundSchema` instead. */ - export const outboundSchema = NewProjects$outboundSchema; - /** @deprecated use `NewProjects$Outbound` instead. */ - export type Outbound = NewProjects$Outbound; -} - export function newProjectsToJSON(newProjects: NewProjects): string { return JSON.stringify(NewProjects$outboundSchema.parse(newProjects)); } - export function newProjectsFromJSON( jsonString: string, ): SafeParseResult { @@ -24924,7 +20945,6 @@ export const UpdateDiff$inboundSchema: z.ZodType< newProjects: z.array(z.lazy(() => NewProjects$inboundSchema)).optional(), changedValue: z.boolean(), }); - /** @internal */ export type UpdateDiff$Outbound = { id: string; @@ -24957,23 +20977,9 @@ export const UpdateDiff$outboundSchema: z.ZodType< changedValue: 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 UpdateDiff$ { - /** @deprecated use `UpdateDiff$inboundSchema` instead. */ - export const inboundSchema = UpdateDiff$inboundSchema; - /** @deprecated use `UpdateDiff$outboundSchema` instead. */ - export const outboundSchema = UpdateDiff$outboundSchema; - /** @deprecated use `UpdateDiff$Outbound` instead. */ - export type Outbound = UpdateDiff$Outbound; -} - export function updateDiffToJSON(updateDiff: UpdateDiff): string { return JSON.stringify(UpdateDiff$outboundSchema.parse(updateDiff)); } - export function updateDiffFromJSON( jsonString: string, ): SafeParseResult { @@ -24985,8 +20991,8 @@ export function updateDiffFromJSON( } /** @internal */ -export const FiftySeven$inboundSchema: z.ZodType< - FiftySeven, +export const FiftyNine$inboundSchema: z.ZodType< + FiftyNine, z.ZodTypeDef, unknown > = z.object({ @@ -24994,95 +21000,56 @@ export const FiftySeven$inboundSchema: z.ZodType< newEnvVar: z.lazy(() => NewEnvVar$inboundSchema).optional(), updateDiff: z.lazy(() => UpdateDiff$inboundSchema).optional(), }); - /** @internal */ -export type FiftySeven$Outbound = { +export type FiftyNine$Outbound = { oldEnvVar?: OldEnvVar$Outbound | undefined; newEnvVar?: NewEnvVar$Outbound | undefined; updateDiff?: UpdateDiff$Outbound | undefined; }; /** @internal */ -export const FiftySeven$outboundSchema: z.ZodType< - FiftySeven$Outbound, +export const FiftyNine$outboundSchema: z.ZodType< + FiftyNine$Outbound, z.ZodTypeDef, - FiftySeven + FiftyNine > = z.object({ oldEnvVar: z.lazy(() => OldEnvVar$outboundSchema).optional(), newEnvVar: z.lazy(() => NewEnvVar$outboundSchema).optional(), updateDiff: z.lazy(() => UpdateDiff$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 FiftySeven$ { - /** @deprecated use `FiftySeven$inboundSchema` instead. */ - export const inboundSchema = FiftySeven$inboundSchema; - /** @deprecated use `FiftySeven$outboundSchema` instead. */ - export const outboundSchema = FiftySeven$outboundSchema; - /** @deprecated use `FiftySeven$Outbound` instead. */ - export type Outbound = FiftySeven$Outbound; -} - -export function fiftySevenToJSON(fiftySeven: FiftySeven): string { - return JSON.stringify(FiftySeven$outboundSchema.parse(fiftySeven)); +export function fiftyNineToJSON(fiftyNine: FiftyNine): string { + return JSON.stringify(FiftyNine$outboundSchema.parse(fiftyNine)); } - -export function fiftySevenFromJSON( +export function fiftyNineFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FiftySeven$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FiftySeven' from JSON`, + (x) => FiftyNine$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FiftyNine' from JSON`, ); } /** @internal */ export const PayloadType$inboundSchema: z.ZodNativeEnum = z .nativeEnum(PayloadType); - /** @internal */ export const PayloadType$outboundSchema: z.ZodNativeEnum = PayloadType$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PayloadType$ { - /** @deprecated use `PayloadType$inboundSchema` instead. */ - export const inboundSchema = PayloadType$inboundSchema; - /** @deprecated use `PayloadType$outboundSchema` instead. */ - export const outboundSchema = PayloadType$outboundSchema; -} - /** @internal */ export const PayloadTarget$inboundSchema: z.ZodNativeEnum< typeof PayloadTarget > = z.nativeEnum(PayloadTarget); - /** @internal */ export const PayloadTarget$outboundSchema: z.ZodNativeEnum< typeof PayloadTarget > = PayloadTarget$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PayloadTarget$ { - /** @deprecated use `PayloadTarget$inboundSchema` instead. */ - export const inboundSchema = PayloadTarget$inboundSchema; - /** @deprecated use `PayloadTarget$outboundSchema` instead. */ - export const outboundSchema = PayloadTarget$outboundSchema; -} - /** @internal */ -export const FiftySix$inboundSchema: z.ZodType< - FiftySix, +export const FiftyEight$inboundSchema: z.ZodType< + FiftyEight, z.ZodTypeDef, unknown > = z.object({ @@ -25107,9 +21074,8 @@ export const FiftySix$inboundSchema: z.ZodType< lastEditedByDisplayName: z.string().optional(), projectNames: z.array(z.string()).optional(), }); - /** @internal */ -export type FiftySix$Outbound = { +export type FiftyEight$Outbound = { created?: string | undefined; key?: string | undefined; ownerId?: string | null | undefined; @@ -25132,10 +21098,10 @@ export type FiftySix$Outbound = { }; /** @internal */ -export const FiftySix$outboundSchema: z.ZodType< - FiftySix$Outbound, +export const FiftyEight$outboundSchema: z.ZodType< + FiftyEight$Outbound, z.ZodTypeDef, - FiftySix + FiftyEight > = z.object({ created: z.date().transform(v => v.toISOString()).optional(), key: z.string().optional(), @@ -25158,37 +21124,22 @@ export const FiftySix$outboundSchema: z.ZodType< projectNames: 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 FiftySix$ { - /** @deprecated use `FiftySix$inboundSchema` instead. */ - export const inboundSchema = FiftySix$inboundSchema; - /** @deprecated use `FiftySix$outboundSchema` instead. */ - export const outboundSchema = FiftySix$outboundSchema; - /** @deprecated use `FiftySix$Outbound` instead. */ - export type Outbound = FiftySix$Outbound; -} - -export function fiftySixToJSON(fiftySix: FiftySix): string { - return JSON.stringify(FiftySix$outboundSchema.parse(fiftySix)); +export function fiftyEightToJSON(fiftyEight: FiftyEight): string { + return JSON.stringify(FiftyEight$outboundSchema.parse(fiftyEight)); } - -export function fiftySixFromJSON( +export function fiftyEightFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FiftySix$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FiftySix' from JSON`, + (x) => FiftyEight$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FiftyEight' from JSON`, ); } /** @internal */ export const Target$inboundSchema: z.ZodType = z .union([z.string(), z.array(z.string())]); - /** @internal */ export type Target$Outbound = string | Array; @@ -25199,30 +21150,113 @@ export const Target$outboundSchema: z.ZodType< Target > = z.union([z.string(), 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 Target$ { - /** @deprecated use `Target$inboundSchema` instead. */ - export const inboundSchema = Target$inboundSchema; - /** @deprecated use `Target$outboundSchema` instead. */ - export const outboundSchema = Target$outboundSchema; - /** @deprecated use `Target$Outbound` instead. */ - export type Outbound = Target$Outbound; -} - export function targetToJSON(target: Target): string { return JSON.stringify(Target$outboundSchema.parse(target)); } - export function targetFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { + return safeParse( + jsonString, + (x) => Target$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Target' from JSON`, + ); +} + +/** @internal */ +export const FiftySeven$inboundSchema: z.ZodType< + FiftySeven, + z.ZodTypeDef, + unknown +> = z.object({ + key: z.string().optional(), + projectId: z.string().optional(), + projectName: z.string().optional(), + target: z.union([z.string(), z.array(z.string())]).optional(), + id: z.string().optional(), + gitBranch: z.string().optional(), + edgeConfigId: z.nullable(z.string()).optional(), + edgeConfigTokenId: z.nullable(z.string()).optional(), + source: z.string().optional(), +}); +/** @internal */ +export type FiftySeven$Outbound = { + key?: string | undefined; + projectId?: string | undefined; + projectName?: string | undefined; + target?: string | Array | undefined; + id?: string | undefined; + gitBranch?: string | undefined; + edgeConfigId?: string | null | undefined; + edgeConfigTokenId?: string | null | undefined; + source?: string | undefined; +}; + +/** @internal */ +export const FiftySeven$outboundSchema: z.ZodType< + FiftySeven$Outbound, + z.ZodTypeDef, + FiftySeven +> = z.object({ + key: z.string().optional(), + projectId: z.string().optional(), + projectName: z.string().optional(), + target: z.union([z.string(), z.array(z.string())]).optional(), + id: z.string().optional(), + gitBranch: z.string().optional(), + edgeConfigId: z.nullable(z.string()).optional(), + edgeConfigTokenId: z.nullable(z.string()).optional(), + source: z.string().optional(), +}); + +export function fiftySevenToJSON(fiftySeven: FiftySeven): string { + return JSON.stringify(FiftySeven$outboundSchema.parse(fiftySeven)); +} +export function fiftySevenFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => FiftySeven$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FiftySeven' from JSON`, + ); +} + +/** @internal */ +export const FiftySix$inboundSchema: z.ZodType< + FiftySix, + z.ZodTypeDef, + unknown +> = z.object({ + email: z.string(), + name: z.string(), +}); +/** @internal */ +export type FiftySix$Outbound = { + email: string; + name: string; +}; + +/** @internal */ +export const FiftySix$outboundSchema: z.ZodType< + FiftySix$Outbound, + z.ZodTypeDef, + FiftySix +> = z.object({ + email: z.string(), + name: z.string(), +}); + +export function fiftySixToJSON(fiftySix: FiftySix): string { + return JSON.stringify(FiftySix$outboundSchema.parse(fiftySix)); +} +export function fiftySixFromJSON( + jsonString: string, +): SafeParseResult { return safeParse( jsonString, - (x) => Target$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Target' from JSON`, + (x) => FiftySix$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FiftySix' from JSON`, ); } @@ -25232,28 +21266,19 @@ export const FiftyFive$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - key: z.string().optional(), - projectId: z.string().optional(), - projectName: z.string().optional(), - target: z.union([z.string(), z.array(z.string())]).optional(), - id: z.string().optional(), - gitBranch: z.string().optional(), - edgeConfigId: z.nullable(z.string()).optional(), - edgeConfigTokenId: z.nullable(z.string()).optional(), - source: z.string().optional(), + sha: z.string(), + gitUserPlatform: z.string(), + projectName: z.string(), + gitCommitterName: z.string(), + source: z.string(), }); - /** @internal */ export type FiftyFive$Outbound = { - key?: string | undefined; - projectId?: string | undefined; - projectName?: string | undefined; - target?: string | Array | undefined; - id?: string | undefined; - gitBranch?: string | undefined; - edgeConfigId?: string | null | undefined; - edgeConfigTokenId?: string | null | undefined; - source?: string | undefined; + sha: string; + gitUserPlatform: string; + projectName: string; + gitCommitterName: string; + source: string; }; /** @internal */ @@ -25262,34 +21287,16 @@ export const FiftyFive$outboundSchema: z.ZodType< z.ZodTypeDef, FiftyFive > = z.object({ - key: z.string().optional(), - projectId: z.string().optional(), - projectName: z.string().optional(), - target: z.union([z.string(), z.array(z.string())]).optional(), - id: z.string().optional(), - gitBranch: z.string().optional(), - edgeConfigId: z.nullable(z.string()).optional(), - edgeConfigTokenId: z.nullable(z.string()).optional(), - source: z.string().optional(), + sha: z.string(), + gitUserPlatform: z.string(), + projectName: z.string(), + gitCommitterName: z.string(), + source: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FiftyFive$ { - /** @deprecated use `FiftyFive$inboundSchema` instead. */ - export const inboundSchema = FiftyFive$inboundSchema; - /** @deprecated use `FiftyFive$outboundSchema` instead. */ - export const outboundSchema = FiftyFive$outboundSchema; - /** @deprecated use `FiftyFive$Outbound` instead. */ - export type Outbound = FiftyFive$Outbound; -} - export function fiftyFiveToJSON(fiftyFive: FiftyFive): string { return JSON.stringify(FiftyFive$outboundSchema.parse(fiftyFive)); } - export function fiftyFiveFromJSON( jsonString: string, ): SafeParseResult { @@ -25306,14 +21313,15 @@ export const FiftyFour$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - email: z.string(), name: z.string(), + price: z.number().optional(), + currency: z.string().optional(), }); - /** @internal */ export type FiftyFour$Outbound = { - email: string; name: string; + price?: number | undefined; + currency?: string | undefined; }; /** @internal */ @@ -25322,27 +21330,14 @@ export const FiftyFour$outboundSchema: z.ZodType< z.ZodTypeDef, FiftyFour > = z.object({ - email: z.string(), name: z.string(), + price: z.number().optional(), + currency: z.string().optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FiftyFour$ { - /** @deprecated use `FiftyFour$inboundSchema` instead. */ - export const inboundSchema = FiftyFour$inboundSchema; - /** @deprecated use `FiftyFour$outboundSchema` instead. */ - export const outboundSchema = FiftyFour$outboundSchema; - /** @deprecated use `FiftyFour$Outbound` instead. */ - export type Outbound = FiftyFour$Outbound; -} - export function fiftyFourToJSON(fiftyFour: FiftyFour): string { return JSON.stringify(FiftyFour$outboundSchema.parse(fiftyFour)); } - export function fiftyFourFromJSON( jsonString: string, ): SafeParseResult { @@ -25359,20 +21354,13 @@ export const FiftyThree$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - sha: z.string(), - gitUserPlatform: z.string(), - projectName: z.string(), - gitCommitterName: z.string(), - source: z.string(), + renew: z.boolean().optional(), + domain: z.string(), }); - /** @internal */ export type FiftyThree$Outbound = { - sha: string; - gitUserPlatform: string; - projectName: string; - gitCommitterName: string; - source: string; + renew?: boolean | undefined; + domain: string; }; /** @internal */ @@ -25381,30 +21369,13 @@ export const FiftyThree$outboundSchema: z.ZodType< z.ZodTypeDef, FiftyThree > = z.object({ - sha: z.string(), - gitUserPlatform: z.string(), - projectName: z.string(), - gitCommitterName: z.string(), - source: z.string(), + renew: z.boolean().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 FiftyThree$ { - /** @deprecated use `FiftyThree$inboundSchema` instead. */ - export const inboundSchema = FiftyThree$inboundSchema; - /** @deprecated use `FiftyThree$outboundSchema` instead. */ - export const outboundSchema = FiftyThree$outboundSchema; - /** @deprecated use `FiftyThree$Outbound` instead. */ - export type Outbound = FiftyThree$Outbound; -} - export function fiftyThreeToJSON(fiftyThree: FiftyThree): string { return JSON.stringify(FiftyThree$outboundSchema.parse(fiftyThree)); } - export function fiftyThreeFromJSON( jsonString: string, ): SafeParseResult { @@ -25422,15 +21393,14 @@ export const FiftyTwo$inboundSchema: z.ZodType< unknown > = z.object({ name: z.string(), - price: z.number().optional(), - currency: z.string().optional(), + destinationId: z.string(), + destinationName: z.string(), }); - /** @internal */ export type FiftyTwo$Outbound = { name: string; - price?: number | undefined; - currency?: string | undefined; + destinationId: string; + destinationName: string; }; /** @internal */ @@ -25440,27 +21410,13 @@ export const FiftyTwo$outboundSchema: z.ZodType< FiftyTwo > = z.object({ name: z.string(), - price: z.number().optional(), - currency: z.string().optional(), + destinationId: z.string(), + destinationName: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FiftyTwo$ { - /** @deprecated use `FiftyTwo$inboundSchema` instead. */ - export const inboundSchema = FiftyTwo$inboundSchema; - /** @deprecated use `FiftyTwo$outboundSchema` instead. */ - export const outboundSchema = FiftyTwo$outboundSchema; - /** @deprecated use `FiftyTwo$Outbound` instead. */ - export type Outbound = FiftyTwo$Outbound; -} - export function fiftyTwoToJSON(fiftyTwo: FiftyTwo): string { return JSON.stringify(FiftyTwo$outboundSchema.parse(fiftyTwo)); } - export function fiftyTwoFromJSON( jsonString: string, ): SafeParseResult { @@ -25477,14 +21433,15 @@ export const FiftyOne$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - renew: z.boolean().optional(), - domain: z.string(), + name: z.string(), + destinationId: z.nullable(z.string()), + destinationName: z.nullable(z.string()), }); - /** @internal */ export type FiftyOne$Outbound = { - renew?: boolean | undefined; - domain: string; + name: string; + destinationId: string | null; + destinationName: string | null; }; /** @internal */ @@ -25493,27 +21450,14 @@ export const FiftyOne$outboundSchema: z.ZodType< z.ZodTypeDef, FiftyOne > = z.object({ - renew: z.boolean().optional(), - domain: z.string(), + name: z.string(), + destinationId: z.nullable(z.string()), + destinationName: 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 FiftyOne$ { - /** @deprecated use `FiftyOne$inboundSchema` instead. */ - export const inboundSchema = FiftyOne$inboundSchema; - /** @deprecated use `FiftyOne$outboundSchema` instead. */ - export const outboundSchema = FiftyOne$outboundSchema; - /** @deprecated use `FiftyOne$Outbound` instead. */ - export type Outbound = FiftyOne$Outbound; -} - export function fiftyOneToJSON(fiftyOne: FiftyOne): string { return JSON.stringify(FiftyOne$outboundSchema.parse(fiftyOne)); } - export function fiftyOneFromJSON( jsonString: string, ): SafeParseResult { @@ -25528,15 +21472,14 @@ export function fiftyOneFromJSON( export const Fifty$inboundSchema: z.ZodType = z .object({ name: z.string(), - destinationId: z.string(), - destinationName: z.string(), + fromId: z.nullable(z.string()), + fromName: z.nullable(z.string()), }); - /** @internal */ export type Fifty$Outbound = { name: string; - destinationId: string; - destinationName: string; + fromId: string | null; + fromName: string | null; }; /** @internal */ @@ -25546,27 +21489,13 @@ export const Fifty$outboundSchema: z.ZodType< Fifty > = z.object({ name: z.string(), - destinationId: z.string(), - destinationName: z.string(), + fromId: z.nullable(z.string()), + fromName: 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 Fifty$ { - /** @deprecated use `Fifty$inboundSchema` instead. */ - export const inboundSchema = Fifty$inboundSchema; - /** @deprecated use `Fifty$outboundSchema` instead. */ - export const outboundSchema = Fifty$outboundSchema; - /** @deprecated use `Fifty$Outbound` instead. */ - export type Outbound = Fifty$Outbound; -} - export function fiftyToJSON(fifty: Fifty): string { return JSON.stringify(Fifty$outboundSchema.parse(fifty)); } - export function fiftyFromJSON( jsonString: string, ): SafeParseResult { @@ -25583,16 +21512,13 @@ export const FortyNine$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ + domainId: z.string(), name: z.string(), - destinationId: z.nullable(z.string()), - destinationName: z.nullable(z.string()), }); - /** @internal */ export type FortyNine$Outbound = { + domainId: string; name: string; - destinationId: string | null; - destinationName: string | null; }; /** @internal */ @@ -25600,315 +21526,146 @@ export const FortyNine$outboundSchema: z.ZodType< FortyNine$Outbound, z.ZodTypeDef, FortyNine -> = z.object({ - name: z.string(), - destinationId: z.nullable(z.string()), - destinationName: 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 FortyNine$ { - /** @deprecated use `FortyNine$inboundSchema` instead. */ - export const inboundSchema = FortyNine$inboundSchema; - /** @deprecated use `FortyNine$outboundSchema` instead. */ - export const outboundSchema = FortyNine$outboundSchema; - /** @deprecated use `FortyNine$Outbound` instead. */ - export type Outbound = FortyNine$Outbound; -} - -export function fortyNineToJSON(fortyNine: FortyNine): string { - return JSON.stringify(FortyNine$outboundSchema.parse(fortyNine)); -} - -export function fortyNineFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => FortyNine$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FortyNine' from JSON`, - ); -} - -/** @internal */ -export const FortyEight$inboundSchema: z.ZodType< - FortyEight, - z.ZodTypeDef, - unknown -> = z.object({ - name: z.string(), - fromId: z.nullable(z.string()), - fromName: z.nullable(z.string()), -}); - -/** @internal */ -export type FortyEight$Outbound = { - name: string; - fromId: string | null; - fromName: string | null; -}; - -/** @internal */ -export const FortyEight$outboundSchema: z.ZodType< - FortyEight$Outbound, - z.ZodTypeDef, - FortyEight -> = z.object({ - name: z.string(), - fromId: z.nullable(z.string()), - fromName: 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 FortyEight$ { - /** @deprecated use `FortyEight$inboundSchema` instead. */ - export const inboundSchema = FortyEight$inboundSchema; - /** @deprecated use `FortyEight$outboundSchema` instead. */ - export const outboundSchema = FortyEight$outboundSchema; - /** @deprecated use `FortyEight$Outbound` instead. */ - export type Outbound = FortyEight$Outbound; -} - -export function fortyEightToJSON(fortyEight: FortyEight): string { - return JSON.stringify(FortyEight$outboundSchema.parse(fortyEight)); -} - -export function fortyEightFromJSON( - jsonString: string, -): SafeParseResult { - return safeParse( - jsonString, - (x) => FortyEight$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FortyEight' from JSON`, - ); -} - -/** @internal */ -export const FortySeven$inboundSchema: z.ZodType< - FortySeven, - z.ZodTypeDef, - unknown -> = z.object({ - domainId: z.string(), - name: z.string(), -}); - -/** @internal */ -export type FortySeven$Outbound = { - domainId: string; - name: string; -}; - -/** @internal */ -export const FortySeven$outboundSchema: z.ZodType< - FortySeven$Outbound, - z.ZodTypeDef, - FortySeven > = z.object({ domainId: z.string(), 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 FortySeven$ { - /** @deprecated use `FortySeven$inboundSchema` instead. */ - export const inboundSchema = FortySeven$inboundSchema; - /** @deprecated use `FortySeven$outboundSchema` instead. */ - export const outboundSchema = FortySeven$outboundSchema; - /** @deprecated use `FortySeven$Outbound` instead. */ - export type Outbound = FortySeven$Outbound; -} - -export function fortySevenToJSON(fortySeven: FortySeven): string { - return JSON.stringify(FortySeven$outboundSchema.parse(fortySeven)); -} - -export function fortySevenFromJSON( +export function fortyNineToJSON(fortyNine: FortyNine): string { + return JSON.stringify(FortyNine$outboundSchema.parse(fortyNine)); +} +export function fortyNineFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FortySeven$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FortySeven' from JSON`, + (x) => FortyNine$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FortyNine' from JSON`, ); } /** @internal */ -export const UserEventPayload46OldTeam$inboundSchema: z.ZodType< - UserEventPayload46OldTeam, +export const UserEventPayload48OldTeam$inboundSchema: z.ZodType< + UserEventPayload48OldTeam, z.ZodTypeDef, unknown > = z.object({ name: z.string(), }); - /** @internal */ -export type UserEventPayload46OldTeam$Outbound = { +export type UserEventPayload48OldTeam$Outbound = { name: string; }; /** @internal */ -export const UserEventPayload46OldTeam$outboundSchema: z.ZodType< - UserEventPayload46OldTeam$Outbound, +export const UserEventPayload48OldTeam$outboundSchema: z.ZodType< + UserEventPayload48OldTeam$Outbound, z.ZodTypeDef, - UserEventPayload46OldTeam + UserEventPayload48OldTeam > = z.object({ 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 UserEventPayload46OldTeam$ { - /** @deprecated use `UserEventPayload46OldTeam$inboundSchema` instead. */ - export const inboundSchema = UserEventPayload46OldTeam$inboundSchema; - /** @deprecated use `UserEventPayload46OldTeam$outboundSchema` instead. */ - export const outboundSchema = UserEventPayload46OldTeam$outboundSchema; - /** @deprecated use `UserEventPayload46OldTeam$Outbound` instead. */ - export type Outbound = UserEventPayload46OldTeam$Outbound; -} - -export function userEventPayload46OldTeamToJSON( - userEventPayload46OldTeam: UserEventPayload46OldTeam, +export function userEventPayload48OldTeamToJSON( + userEventPayload48OldTeam: UserEventPayload48OldTeam, ): string { return JSON.stringify( - UserEventPayload46OldTeam$outboundSchema.parse(userEventPayload46OldTeam), + UserEventPayload48OldTeam$outboundSchema.parse(userEventPayload48OldTeam), ); } - -export function userEventPayload46OldTeamFromJSON( +export function userEventPayload48OldTeamFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload46OldTeam$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload46OldTeam' from JSON`, + (x) => UserEventPayload48OldTeam$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload48OldTeam' from JSON`, ); } /** @internal */ -export const UserEventPayload46NewTeam$inboundSchema: z.ZodType< - UserEventPayload46NewTeam, +export const UserEventPayload48NewTeam$inboundSchema: z.ZodType< + UserEventPayload48NewTeam, z.ZodTypeDef, unknown > = z.object({ name: z.string(), }); - /** @internal */ -export type UserEventPayload46NewTeam$Outbound = { +export type UserEventPayload48NewTeam$Outbound = { name: string; }; /** @internal */ -export const UserEventPayload46NewTeam$outboundSchema: z.ZodType< - UserEventPayload46NewTeam$Outbound, +export const UserEventPayload48NewTeam$outboundSchema: z.ZodType< + UserEventPayload48NewTeam$Outbound, z.ZodTypeDef, - UserEventPayload46NewTeam + UserEventPayload48NewTeam > = z.object({ 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 UserEventPayload46NewTeam$ { - /** @deprecated use `UserEventPayload46NewTeam$inboundSchema` instead. */ - export const inboundSchema = UserEventPayload46NewTeam$inboundSchema; - /** @deprecated use `UserEventPayload46NewTeam$outboundSchema` instead. */ - export const outboundSchema = UserEventPayload46NewTeam$outboundSchema; - /** @deprecated use `UserEventPayload46NewTeam$Outbound` instead. */ - export type Outbound = UserEventPayload46NewTeam$Outbound; -} - -export function userEventPayload46NewTeamToJSON( - userEventPayload46NewTeam: UserEventPayload46NewTeam, +export function userEventPayload48NewTeamToJSON( + userEventPayload48NewTeam: UserEventPayload48NewTeam, ): string { return JSON.stringify( - UserEventPayload46NewTeam$outboundSchema.parse(userEventPayload46NewTeam), + UserEventPayload48NewTeam$outboundSchema.parse(userEventPayload48NewTeam), ); } - -export function userEventPayload46NewTeamFromJSON( +export function userEventPayload48NewTeamFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload46NewTeam$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload46NewTeam' from JSON`, + (x) => UserEventPayload48NewTeam$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload48NewTeam' from JSON`, ); } /** @internal */ -export const FortySix$inboundSchema: z.ZodType< - FortySix, +export const FortyEight$inboundSchema: z.ZodType< + FortyEight, z.ZodTypeDef, unknown > = z.object({ name: z.string(), - oldTeam: z.lazy(() => UserEventPayload46OldTeam$inboundSchema).optional(), - newTeam: z.lazy(() => UserEventPayload46NewTeam$inboundSchema).optional(), + oldTeam: z.lazy(() => UserEventPayload48OldTeam$inboundSchema).optional(), + newTeam: z.lazy(() => UserEventPayload48NewTeam$inboundSchema).optional(), }); - /** @internal */ -export type FortySix$Outbound = { +export type FortyEight$Outbound = { name: string; - oldTeam?: UserEventPayload46OldTeam$Outbound | undefined; - newTeam?: UserEventPayload46NewTeam$Outbound | undefined; + oldTeam?: UserEventPayload48OldTeam$Outbound | undefined; + newTeam?: UserEventPayload48NewTeam$Outbound | undefined; }; /** @internal */ -export const FortySix$outboundSchema: z.ZodType< - FortySix$Outbound, +export const FortyEight$outboundSchema: z.ZodType< + FortyEight$Outbound, z.ZodTypeDef, - FortySix + FortyEight > = z.object({ name: z.string(), - oldTeam: z.lazy(() => UserEventPayload46OldTeam$outboundSchema).optional(), - newTeam: z.lazy(() => UserEventPayload46NewTeam$outboundSchema).optional(), + oldTeam: z.lazy(() => UserEventPayload48OldTeam$outboundSchema).optional(), + newTeam: z.lazy(() => UserEventPayload48NewTeam$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 FortySix$ { - /** @deprecated use `FortySix$inboundSchema` instead. */ - export const inboundSchema = FortySix$inboundSchema; - /** @deprecated use `FortySix$outboundSchema` instead. */ - export const outboundSchema = FortySix$outboundSchema; - /** @deprecated use `FortySix$Outbound` instead. */ - export type Outbound = FortySix$Outbound; -} - -export function fortySixToJSON(fortySix: FortySix): string { - return JSON.stringify(FortySix$outboundSchema.parse(fortySix)); +export function fortyEightToJSON(fortyEight: FortyEight): string { + return JSON.stringify(FortyEight$outboundSchema.parse(fortyEight)); } - -export function fortySixFromJSON( +export function fortyEightFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FortySix$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FortySix' from JSON`, + (x) => FortyEight$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FortyEight' from JSON`, ); } /** @internal */ -export const FortyFive$inboundSchema: z.ZodType< - FortyFive, +export const FortySeven$inboundSchema: z.ZodType< + FortySeven, z.ZodTypeDef, unknown > = z.object({ @@ -25917,9 +21674,8 @@ export const FortyFive$inboundSchema: z.ZodType< teamId: z.string(), ownerName: z.string(), }); - /** @internal */ -export type FortyFive$Outbound = { +export type FortySeven$Outbound = { name: string; userId: string; teamId: string; @@ -25927,10 +21683,10 @@ export type FortyFive$Outbound = { }; /** @internal */ -export const FortyFive$outboundSchema: z.ZodType< - FortyFive$Outbound, +export const FortySeven$outboundSchema: z.ZodType< + FortySeven$Outbound, z.ZodTypeDef, - FortyFive + FortySeven > = z.object({ name: z.string(), userId: z.string(), @@ -25938,89 +21694,60 @@ export const FortyFive$outboundSchema: z.ZodType< ownerName: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FortyFive$ { - /** @deprecated use `FortyFive$inboundSchema` instead. */ - export const inboundSchema = FortyFive$inboundSchema; - /** @deprecated use `FortyFive$outboundSchema` instead. */ - export const outboundSchema = FortyFive$outboundSchema; - /** @deprecated use `FortyFive$Outbound` instead. */ - export type Outbound = FortyFive$Outbound; -} - -export function fortyFiveToJSON(fortyFive: FortyFive): string { - return JSON.stringify(FortyFive$outboundSchema.parse(fortyFive)); +export function fortySevenToJSON(fortySeven: FortySeven): string { + return JSON.stringify(FortySeven$outboundSchema.parse(fortySeven)); } - -export function fortyFiveFromJSON( +export function fortySevenFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FortyFive$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FortyFive' from JSON`, + (x) => FortySeven$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FortySeven' from JSON`, ); } /** @internal */ -export const FortyFour$inboundSchema: z.ZodType< - FortyFour, +export const FortySix$inboundSchema: z.ZodType< + FortySix, z.ZodTypeDef, unknown > = z.object({ name: z.string(), cdnEnabled: z.boolean(), }); - /** @internal */ -export type FortyFour$Outbound = { +export type FortySix$Outbound = { name: string; cdnEnabled: boolean; }; /** @internal */ -export const FortyFour$outboundSchema: z.ZodType< - FortyFour$Outbound, +export const FortySix$outboundSchema: z.ZodType< + FortySix$Outbound, z.ZodTypeDef, - FortyFour + FortySix > = z.object({ name: z.string(), cdnEnabled: 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 FortyFour$ { - /** @deprecated use `FortyFour$inboundSchema` instead. */ - export const inboundSchema = FortyFour$inboundSchema; - /** @deprecated use `FortyFour$outboundSchema` instead. */ - export const outboundSchema = FortyFour$outboundSchema; - /** @deprecated use `FortyFour$Outbound` instead. */ - export type Outbound = FortyFour$Outbound; -} - -export function fortyFourToJSON(fortyFour: FortyFour): string { - return JSON.stringify(FortyFour$outboundSchema.parse(fortyFour)); +export function fortySixToJSON(fortySix: FortySix): string { + return JSON.stringify(FortySix$outboundSchema.parse(fortySix)); } - -export function fortyFourFromJSON( +export function fortySixFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FortyFour$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FortyFour' from JSON`, + (x) => FortySix$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FortySix' from JSON`, ); } /** @internal */ -export const FortyThree$inboundSchema: z.ZodType< - FortyThree, +export const FortyFive$inboundSchema: z.ZodType< + FortyFive, z.ZodTypeDef, unknown > = z.object({ @@ -26028,105 +21755,75 @@ export const FortyThree$inboundSchema: z.ZodType< price: z.number(), currency: z.string().optional(), }); - /** @internal */ -export type FortyThree$Outbound = { +export type FortyFive$Outbound = { name: string; price: number; currency?: string | undefined; }; /** @internal */ -export const FortyThree$outboundSchema: z.ZodType< - FortyThree$Outbound, +export const FortyFive$outboundSchema: z.ZodType< + FortyFive$Outbound, z.ZodTypeDef, - FortyThree + FortyFive > = z.object({ name: z.string(), price: z.number(), currency: z.string().optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FortyThree$ { - /** @deprecated use `FortyThree$inboundSchema` instead. */ - export const inboundSchema = FortyThree$inboundSchema; - /** @deprecated use `FortyThree$outboundSchema` instead. */ - export const outboundSchema = FortyThree$outboundSchema; - /** @deprecated use `FortyThree$Outbound` instead. */ - export type Outbound = FortyThree$Outbound; -} - -export function fortyThreeToJSON(fortyThree: FortyThree): string { - return JSON.stringify(FortyThree$outboundSchema.parse(fortyThree)); +export function fortyFiveToJSON(fortyFive: FortyFive): string { + return JSON.stringify(FortyFive$outboundSchema.parse(fortyFive)); } - -export function fortyThreeFromJSON( +export function fortyFiveFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FortyThree$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FortyThree' from JSON`, + (x) => FortyFive$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FortyFive' from JSON`, ); } /** @internal */ -export const FortyTwo$inboundSchema: z.ZodType< - FortyTwo, +export const FortyFour$inboundSchema: z.ZodType< + FortyFour, z.ZodTypeDef, unknown > = z.object({ name: z.string(), }); - /** @internal */ -export type FortyTwo$Outbound = { +export type FortyFour$Outbound = { name: string; }; /** @internal */ -export const FortyTwo$outboundSchema: z.ZodType< - FortyTwo$Outbound, +export const FortyFour$outboundSchema: z.ZodType< + FortyFour$Outbound, z.ZodTypeDef, - FortyTwo + FortyFour > = z.object({ 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 FortyTwo$ { - /** @deprecated use `FortyTwo$inboundSchema` instead. */ - export const inboundSchema = FortyTwo$inboundSchema; - /** @deprecated use `FortyTwo$outboundSchema` instead. */ - export const outboundSchema = FortyTwo$outboundSchema; - /** @deprecated use `FortyTwo$Outbound` instead. */ - export type Outbound = FortyTwo$Outbound; -} - -export function fortyTwoToJSON(fortyTwo: FortyTwo): string { - return JSON.stringify(FortyTwo$outboundSchema.parse(fortyTwo)); +export function fortyFourToJSON(fortyFour: FortyFour): string { + return JSON.stringify(FortyFour$outboundSchema.parse(fortyFour)); } - -export function fortyTwoFromJSON( +export function fortyFourFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FortyTwo$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FortyTwo' from JSON`, + (x) => FortyFour$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FortyFour' from JSON`, ); } /** @internal */ -export const FortyOne$inboundSchema: z.ZodType< - FortyOne, +export const FortyThree$inboundSchema: z.ZodType< + FortyThree, z.ZodTypeDef, unknown > = z.object({ @@ -26136,9 +21833,8 @@ export const FortyOne$inboundSchema: z.ZodType< domain: z.string(), type: z.string(), }); - /** @internal */ -export type FortyOne$Outbound = { +export type FortyThree$Outbound = { id: string; value: string; name: string; @@ -26147,10 +21843,10 @@ export type FortyOne$Outbound = { }; /** @internal */ -export const FortyOne$outboundSchema: z.ZodType< - FortyOne$Outbound, +export const FortyThree$outboundSchema: z.ZodType< + FortyThree$Outbound, z.ZodTypeDef, - FortyOne + FortyThree > = z.object({ id: z.string(), value: z.string(), @@ -26159,46 +21855,34 @@ export const FortyOne$outboundSchema: z.ZodType< type: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace FortyOne$ { - /** @deprecated use `FortyOne$inboundSchema` instead. */ - export const inboundSchema = FortyOne$inboundSchema; - /** @deprecated use `FortyOne$outboundSchema` instead. */ - export const outboundSchema = FortyOne$outboundSchema; - /** @deprecated use `FortyOne$Outbound` instead. */ - export type Outbound = FortyOne$Outbound; -} - -export function fortyOneToJSON(fortyOne: FortyOne): string { - return JSON.stringify(FortyOne$outboundSchema.parse(fortyOne)); +export function fortyThreeToJSON(fortyThree: FortyThree): string { + return JSON.stringify(FortyThree$outboundSchema.parse(fortyThree)); } - -export function fortyOneFromJSON( +export function fortyThreeFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => FortyOne$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'FortyOne' from JSON`, + (x) => FortyThree$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FortyThree' from JSON`, ); } /** @internal */ -export const Forty$inboundSchema: z.ZodType = z - .object({ - id: z.string(), - value: z.string(), - name: z.string(), - domain: z.string(), - type: z.string(), - mxPriority: z.number().optional(), - }); - +export const FortyTwo$inboundSchema: z.ZodType< + FortyTwo, + z.ZodTypeDef, + unknown +> = z.object({ + id: z.string(), + value: z.string(), + name: z.string(), + domain: z.string(), + type: z.string(), + mxPriority: z.number().optional(), +}); /** @internal */ -export type Forty$Outbound = { +export type FortyTwo$Outbound = { id: string; value: string; name: string; @@ -26208,10 +21892,10 @@ export type Forty$Outbound = { }; /** @internal */ -export const Forty$outboundSchema: z.ZodType< - Forty$Outbound, +export const FortyTwo$outboundSchema: z.ZodType< + FortyTwo$Outbound, z.ZodTypeDef, - Forty + FortyTwo > = z.object({ id: z.string(), value: z.string(), @@ -26221,30 +21905,16 @@ export const Forty$outboundSchema: z.ZodType< mxPriority: 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 Forty$ { - /** @deprecated use `Forty$inboundSchema` instead. */ - export const inboundSchema = Forty$inboundSchema; - /** @deprecated use `Forty$outboundSchema` instead. */ - export const outboundSchema = Forty$outboundSchema; - /** @deprecated use `Forty$Outbound` instead. */ - export type Outbound = Forty$Outbound; -} - -export function fortyToJSON(forty: Forty): string { - return JSON.stringify(Forty$outboundSchema.parse(forty)); +export function fortyTwoToJSON(fortyTwo: FortyTwo): string { + return JSON.stringify(FortyTwo$outboundSchema.parse(fortyTwo)); } - -export function fortyFromJSON( +export function fortyTwoFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => Forty$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Forty' from JSON`, + (x) => FortyTwo$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FortyTwo' from JSON`, ); } @@ -26259,7 +21929,6 @@ export const UserEventPayloadDeployment$inboundSchema: z.ZodType< url: z.string(), meta: z.record(z.string()), }); - /** @internal */ export type UserEventPayloadDeployment$Outbound = { id: string; @@ -26280,19 +21949,6 @@ export const UserEventPayloadDeployment$outboundSchema: z.ZodType< meta: z.record(z.string()), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace UserEventPayloadDeployment$ { - /** @deprecated use `UserEventPayloadDeployment$inboundSchema` instead. */ - export const inboundSchema = UserEventPayloadDeployment$inboundSchema; - /** @deprecated use `UserEventPayloadDeployment$outboundSchema` instead. */ - export const outboundSchema = UserEventPayloadDeployment$outboundSchema; - /** @deprecated use `UserEventPayloadDeployment$Outbound` instead. */ - export type Outbound = UserEventPayloadDeployment$Outbound; -} - export function userEventPayloadDeploymentToJSON( userEventPayloadDeployment: UserEventPayloadDeployment, ): string { @@ -26300,7 +21956,6 @@ export function userEventPayloadDeploymentToJSON( UserEventPayloadDeployment$outboundSchema.parse(userEventPayloadDeployment), ); } - export function userEventPayloadDeploymentFromJSON( jsonString: string, ): SafeParseResult { @@ -26312,8 +21967,8 @@ export function userEventPayloadDeploymentFromJSON( } /** @internal */ -export const ThirtyNine$inboundSchema: z.ZodType< - ThirtyNine, +export const FortyOne$inboundSchema: z.ZodType< + FortyOne, z.ZodTypeDef, unknown > = z.object({ @@ -26321,49 +21976,34 @@ export const ThirtyNine$inboundSchema: z.ZodType< deploymentId: z.string(), url: z.string(), }); - /** @internal */ -export type ThirtyNine$Outbound = { +export type FortyOne$Outbound = { deployment: UserEventPayloadDeployment$Outbound; deploymentId: string; url: string; }; /** @internal */ -export const ThirtyNine$outboundSchema: z.ZodType< - ThirtyNine$Outbound, +export const FortyOne$outboundSchema: z.ZodType< + FortyOne$Outbound, z.ZodTypeDef, - ThirtyNine + FortyOne > = z.object({ deployment: z.lazy(() => UserEventPayloadDeployment$outboundSchema), deploymentId: 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 ThirtyNine$ { - /** @deprecated use `ThirtyNine$inboundSchema` instead. */ - export const inboundSchema = ThirtyNine$inboundSchema; - /** @deprecated use `ThirtyNine$outboundSchema` instead. */ - export const outboundSchema = ThirtyNine$outboundSchema; - /** @deprecated use `ThirtyNine$Outbound` instead. */ - export type Outbound = ThirtyNine$Outbound; -} - -export function thirtyNineToJSON(thirtyNine: ThirtyNine): string { - return JSON.stringify(ThirtyNine$outboundSchema.parse(thirtyNine)); +export function fortyOneToJSON(fortyOne: FortyOne): string { + return JSON.stringify(FortyOne$outboundSchema.parse(fortyOne)); } - -export function thirtyNineFromJSON( +export function fortyOneFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => ThirtyNine$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ThirtyNine' from JSON`, + (x) => FortyOne$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'FortyOne' from JSON`, ); } @@ -26375,7 +22015,6 @@ export const UserEventPayloadOldTeam$inboundSchema: z.ZodType< > = z.object({ name: z.string(), }); - /** @internal */ export type UserEventPayloadOldTeam$Outbound = { name: string; @@ -26390,19 +22029,6 @@ export const UserEventPayloadOldTeam$outboundSchema: z.ZodType< 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 UserEventPayloadOldTeam$ { - /** @deprecated use `UserEventPayloadOldTeam$inboundSchema` instead. */ - export const inboundSchema = UserEventPayloadOldTeam$inboundSchema; - /** @deprecated use `UserEventPayloadOldTeam$outboundSchema` instead. */ - export const outboundSchema = UserEventPayloadOldTeam$outboundSchema; - /** @deprecated use `UserEventPayloadOldTeam$Outbound` instead. */ - export type Outbound = UserEventPayloadOldTeam$Outbound; -} - export function userEventPayloadOldTeamToJSON( userEventPayloadOldTeam: UserEventPayloadOldTeam, ): string { @@ -26410,7 +22036,6 @@ export function userEventPayloadOldTeamToJSON( UserEventPayloadOldTeam$outboundSchema.parse(userEventPayloadOldTeam), ); } - export function userEventPayloadOldTeamFromJSON( jsonString: string, ): SafeParseResult { @@ -26429,7 +22054,6 @@ export const UserEventPayloadNewTeam$inboundSchema: z.ZodType< > = z.object({ name: z.string(), }); - /** @internal */ export type UserEventPayloadNewTeam$Outbound = { name: string; @@ -26444,19 +22068,6 @@ export const UserEventPayloadNewTeam$outboundSchema: z.ZodType< 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 UserEventPayloadNewTeam$ { - /** @deprecated use `UserEventPayloadNewTeam$inboundSchema` instead. */ - export const inboundSchema = UserEventPayloadNewTeam$inboundSchema; - /** @deprecated use `UserEventPayloadNewTeam$outboundSchema` instead. */ - export const outboundSchema = UserEventPayloadNewTeam$outboundSchema; - /** @deprecated use `UserEventPayloadNewTeam$Outbound` instead. */ - export type Outbound = UserEventPayloadNewTeam$Outbound; -} - export function userEventPayloadNewTeamToJSON( userEventPayloadNewTeam: UserEventPayloadNewTeam, ): string { @@ -26464,7 +22075,6 @@ export function userEventPayloadNewTeamToJSON( UserEventPayloadNewTeam$outboundSchema.parse(userEventPayloadNewTeam), ); } - export function userEventPayloadNewTeamFromJSON( jsonString: string, ): SafeParseResult { @@ -26476,58 +22086,40 @@ export function userEventPayloadNewTeamFromJSON( } /** @internal */ -export const ThirtyEight$inboundSchema: z.ZodType< - ThirtyEight, - z.ZodTypeDef, - unknown -> = z.object({ - url: z.string(), - oldTeam: z.lazy(() => UserEventPayloadOldTeam$inboundSchema).optional(), - newTeam: z.lazy(() => UserEventPayloadNewTeam$inboundSchema).optional(), -}); - +export const Forty$inboundSchema: z.ZodType = z + .object({ + url: z.string(), + oldTeam: z.lazy(() => UserEventPayloadOldTeam$inboundSchema).optional(), + newTeam: z.lazy(() => UserEventPayloadNewTeam$inboundSchema).optional(), + }); /** @internal */ -export type ThirtyEight$Outbound = { +export type Forty$Outbound = { url: string; oldTeam?: UserEventPayloadOldTeam$Outbound | undefined; newTeam?: UserEventPayloadNewTeam$Outbound | undefined; }; /** @internal */ -export const ThirtyEight$outboundSchema: z.ZodType< - ThirtyEight$Outbound, +export const Forty$outboundSchema: z.ZodType< + Forty$Outbound, z.ZodTypeDef, - ThirtyEight + Forty > = z.object({ url: z.string(), oldTeam: z.lazy(() => UserEventPayloadOldTeam$outboundSchema).optional(), newTeam: z.lazy(() => UserEventPayloadNewTeam$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 ThirtyEight$ { - /** @deprecated use `ThirtyEight$inboundSchema` instead. */ - export const inboundSchema = ThirtyEight$inboundSchema; - /** @deprecated use `ThirtyEight$outboundSchema` instead. */ - export const outboundSchema = ThirtyEight$outboundSchema; - /** @deprecated use `ThirtyEight$Outbound` instead. */ - export type Outbound = ThirtyEight$Outbound; -} - -export function thirtyEightToJSON(thirtyEight: ThirtyEight): string { - return JSON.stringify(ThirtyEight$outboundSchema.parse(thirtyEight)); +export function fortyToJSON(forty: Forty): string { + return JSON.stringify(Forty$outboundSchema.parse(forty)); } - -export function thirtyEightFromJSON( +export function fortyFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => ThirtyEight$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ThirtyEight' from JSON`, + (x) => Forty$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Forty' from JSON`, ); } @@ -26542,7 +22134,6 @@ export const PayloadDeployment$inboundSchema: z.ZodType< url: z.string(), meta: z.record(z.string()), }); - /** @internal */ export type PayloadDeployment$Outbound = { id: string; @@ -26563,19 +22154,6 @@ export const PayloadDeployment$outboundSchema: z.ZodType< meta: z.record(z.string()), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PayloadDeployment$ { - /** @deprecated use `PayloadDeployment$inboundSchema` instead. */ - export const inboundSchema = PayloadDeployment$inboundSchema; - /** @deprecated use `PayloadDeployment$outboundSchema` instead. */ - export const outboundSchema = PayloadDeployment$outboundSchema; - /** @deprecated use `PayloadDeployment$Outbound` instead. */ - export type Outbound = PayloadDeployment$Outbound; -} - export function payloadDeploymentToJSON( payloadDeployment: PayloadDeployment, ): string { @@ -26583,7 +22161,6 @@ export function payloadDeploymentToJSON( PayloadDeployment$outboundSchema.parse(payloadDeployment), ); } - export function payloadDeploymentFromJSON( jsonString: string, ): SafeParseResult { @@ -26595,8 +22172,8 @@ export function payloadDeploymentFromJSON( } /** @internal */ -export const ThirtySeven$inboundSchema: z.ZodType< - ThirtySeven, +export const ThirtyNine$inboundSchema: z.ZodType< + ThirtyNine, z.ZodTypeDef, unknown > = z.object({ @@ -26614,9 +22191,8 @@ export const ThirtySeven$inboundSchema: z.ZodType< regions: z.array(z.string()).optional(), type: z.string().optional(), }); - /** @internal */ -export type ThirtySeven$Outbound = { +export type ThirtyNine$Outbound = { name?: string | undefined; alias?: Array | undefined; target?: string | null | undefined; @@ -26632,10 +22208,10 @@ export type ThirtySeven$Outbound = { }; /** @internal */ -export const ThirtySeven$outboundSchema: z.ZodType< - ThirtySeven$Outbound, +export const ThirtyNine$outboundSchema: z.ZodType< + ThirtyNine$Outbound, z.ZodTypeDef, - ThirtySeven + ThirtyNine > = z.object({ name: z.string().optional(), alias: z.array(z.string()).optional(), @@ -26652,84 +22228,55 @@ export const ThirtySeven$outboundSchema: z.ZodType< type: z.string().optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ThirtySeven$ { - /** @deprecated use `ThirtySeven$inboundSchema` instead. */ - export const inboundSchema = ThirtySeven$inboundSchema; - /** @deprecated use `ThirtySeven$outboundSchema` instead. */ - export const outboundSchema = ThirtySeven$outboundSchema; - /** @deprecated use `ThirtySeven$Outbound` instead. */ - export type Outbound = ThirtySeven$Outbound; -} - -export function thirtySevenToJSON(thirtySeven: ThirtySeven): string { - return JSON.stringify(ThirtySeven$outboundSchema.parse(thirtySeven)); +export function thirtyNineToJSON(thirtyNine: ThirtyNine): string { + return JSON.stringify(ThirtyNine$outboundSchema.parse(thirtyNine)); } - -export function thirtySevenFromJSON( +export function thirtyNineFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => ThirtySeven$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ThirtySeven' from JSON`, + (x) => ThirtyNine$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ThirtyNine' from JSON`, ); } /** @internal */ -export const UserEventPayload36Project$inboundSchema: z.ZodType< - UserEventPayload36Project, +export const UserEventPayload38Project$inboundSchema: z.ZodType< + UserEventPayload38Project, z.ZodTypeDef, unknown > = z.object({ name: z.string(), }); - /** @internal */ -export type UserEventPayload36Project$Outbound = { +export type UserEventPayload38Project$Outbound = { name: string; }; /** @internal */ -export const UserEventPayload36Project$outboundSchema: z.ZodType< - UserEventPayload36Project$Outbound, +export const UserEventPayload38Project$outboundSchema: z.ZodType< + UserEventPayload38Project$Outbound, z.ZodTypeDef, - UserEventPayload36Project + UserEventPayload38Project > = z.object({ 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 UserEventPayload36Project$ { - /** @deprecated use `UserEventPayload36Project$inboundSchema` instead. */ - export const inboundSchema = UserEventPayload36Project$inboundSchema; - /** @deprecated use `UserEventPayload36Project$outboundSchema` instead. */ - export const outboundSchema = UserEventPayload36Project$outboundSchema; - /** @deprecated use `UserEventPayload36Project$Outbound` instead. */ - export type Outbound = UserEventPayload36Project$Outbound; -} - -export function userEventPayload36ProjectToJSON( - userEventPayload36Project: UserEventPayload36Project, +export function userEventPayload38ProjectToJSON( + userEventPayload38Project: UserEventPayload38Project, ): string { return JSON.stringify( - UserEventPayload36Project$outboundSchema.parse(userEventPayload36Project), + UserEventPayload38Project$outboundSchema.parse(userEventPayload38Project), ); } - -export function userEventPayload36ProjectFromJSON( +export function userEventPayload38ProjectFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload36Project$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload36Project' from JSON`, + (x) => UserEventPayload38Project$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload38Project' from JSON`, ); } @@ -26744,7 +22291,6 @@ export const DeployHook$inboundSchema: z.ZodType< name: z.string(), ref: z.string(), }); - /** @internal */ export type DeployHook$Outbound = { createdAt: number; @@ -26765,23 +22311,9 @@ export const DeployHook$outboundSchema: z.ZodType< ref: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace DeployHook$ { - /** @deprecated use `DeployHook$inboundSchema` instead. */ - export const inboundSchema = DeployHook$inboundSchema; - /** @deprecated use `DeployHook$outboundSchema` instead. */ - export const outboundSchema = DeployHook$outboundSchema; - /** @deprecated use `DeployHook$Outbound` instead. */ - export type Outbound = DeployHook$Outbound; -} - export function deployHookToJSON(deployHook: DeployHook): string { return JSON.stringify(DeployHook$outboundSchema.parse(deployHook)); } - export function deployHookFromJSON( jsonString: string, ): SafeParseResult { @@ -26798,7 +22330,6 @@ export const Job$inboundSchema: z.ZodType = z deployHook: z.lazy(() => DeployHook$inboundSchema), state: z.string(), }); - /** @internal */ export type Job$Outbound = { deployHook: DeployHook$Outbound; @@ -26812,23 +22343,9 @@ export const Job$outboundSchema: z.ZodType = z state: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Job$ { - /** @deprecated use `Job$inboundSchema` instead. */ - export const inboundSchema = Job$inboundSchema; - /** @deprecated use `Job$outboundSchema` instead. */ - export const outboundSchema = Job$outboundSchema; - /** @deprecated use `Job$Outbound` instead. */ - export type Outbound = Job$Outbound; -} - export function jobToJSON(job: Job): string { return JSON.stringify(Job$outboundSchema.parse(job)); } - export function jobFromJSON( jsonString: string, ): SafeParseResult { @@ -26840,61 +22357,46 @@ export function jobFromJSON( } /** @internal */ -export const ThirtySix$inboundSchema: z.ZodType< - ThirtySix, +export const ThirtyEight$inboundSchema: z.ZodType< + ThirtyEight, z.ZodTypeDef, unknown > = z.object({ - project: z.lazy(() => UserEventPayload36Project$inboundSchema), + project: z.lazy(() => UserEventPayload38Project$inboundSchema), job: z.lazy(() => Job$inboundSchema), }); - /** @internal */ -export type ThirtySix$Outbound = { - project: UserEventPayload36Project$Outbound; +export type ThirtyEight$Outbound = { + project: UserEventPayload38Project$Outbound; job: Job$Outbound; }; /** @internal */ -export const ThirtySix$outboundSchema: z.ZodType< - ThirtySix$Outbound, +export const ThirtyEight$outboundSchema: z.ZodType< + ThirtyEight$Outbound, z.ZodTypeDef, - ThirtySix + ThirtyEight > = z.object({ - project: z.lazy(() => UserEventPayload36Project$outboundSchema), + project: z.lazy(() => UserEventPayload38Project$outboundSchema), job: z.lazy(() => Job$outboundSchema), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ThirtySix$ { - /** @deprecated use `ThirtySix$inboundSchema` instead. */ - export const inboundSchema = ThirtySix$inboundSchema; - /** @deprecated use `ThirtySix$outboundSchema` instead. */ - export const outboundSchema = ThirtySix$outboundSchema; - /** @deprecated use `ThirtySix$Outbound` instead. */ - export type Outbound = ThirtySix$Outbound; -} - -export function thirtySixToJSON(thirtySix: ThirtySix): string { - return JSON.stringify(ThirtySix$outboundSchema.parse(thirtySix)); +export function thirtyEightToJSON(thirtyEight: ThirtyEight): string { + return JSON.stringify(ThirtyEight$outboundSchema.parse(thirtyEight)); } - -export function thirtySixFromJSON( +export function thirtyEightFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => ThirtySix$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ThirtySix' from JSON`, + (x) => ThirtyEight$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ThirtyEight' from JSON`, ); } /** @internal */ -export const ThirtyFive$inboundSchema: z.ZodType< - ThirtyFive, +export const ThirtySeven$inboundSchema: z.ZodType< + ThirtySeven, z.ZodTypeDef, unknown > = z.object({ @@ -26902,55 +22404,40 @@ export const ThirtyFive$inboundSchema: z.ZodType< bitbucketLogin: z.string(), bitbucketName: z.string().optional(), }); - /** @internal */ -export type ThirtyFive$Outbound = { +export type ThirtySeven$Outbound = { bitbucketEmail: string; bitbucketLogin: string; bitbucketName?: string | undefined; }; /** @internal */ -export const ThirtyFive$outboundSchema: z.ZodType< - ThirtyFive$Outbound, +export const ThirtySeven$outboundSchema: z.ZodType< + ThirtySeven$Outbound, z.ZodTypeDef, - ThirtyFive + ThirtySeven > = z.object({ bitbucketEmail: z.string(), bitbucketLogin: z.string(), bitbucketName: z.string().optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ThirtyFive$ { - /** @deprecated use `ThirtyFive$inboundSchema` instead. */ - export const inboundSchema = ThirtyFive$inboundSchema; - /** @deprecated use `ThirtyFive$outboundSchema` instead. */ - export const outboundSchema = ThirtyFive$outboundSchema; - /** @deprecated use `ThirtyFive$Outbound` instead. */ - export type Outbound = ThirtyFive$Outbound; -} - -export function thirtyFiveToJSON(thirtyFive: ThirtyFive): string { - return JSON.stringify(ThirtyFive$outboundSchema.parse(thirtyFive)); +export function thirtySevenToJSON(thirtySeven: ThirtySeven): string { + return JSON.stringify(ThirtySeven$outboundSchema.parse(thirtySeven)); } - -export function thirtyFiveFromJSON( +export function thirtySevenFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => ThirtyFive$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ThirtyFive' from JSON`, + (x) => ThirtySeven$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ThirtySeven' from JSON`, ); } /** @internal */ -export const ThirtyFour$inboundSchema: z.ZodType< - ThirtyFour, +export const ThirtySix$inboundSchema: z.ZodType< + ThirtySix, z.ZodTypeDef, unknown > = z.object({ @@ -26958,271 +22445,196 @@ export const ThirtyFour$inboundSchema: z.ZodType< gitlabEmail: z.string(), gitlabName: z.string().optional(), }); - /** @internal */ -export type ThirtyFour$Outbound = { +export type ThirtySix$Outbound = { gitlabLogin: string; gitlabEmail: string; gitlabName?: string | undefined; }; /** @internal */ -export const ThirtyFour$outboundSchema: z.ZodType< - ThirtyFour$Outbound, +export const ThirtySix$outboundSchema: z.ZodType< + ThirtySix$Outbound, z.ZodTypeDef, - ThirtyFour + ThirtySix > = z.object({ gitlabLogin: z.string(), gitlabEmail: z.string(), gitlabName: z.string().optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ThirtyFour$ { - /** @deprecated use `ThirtyFour$inboundSchema` instead. */ - export const inboundSchema = ThirtyFour$inboundSchema; - /** @deprecated use `ThirtyFour$outboundSchema` instead. */ - export const outboundSchema = ThirtyFour$outboundSchema; - /** @deprecated use `ThirtyFour$Outbound` instead. */ - export type Outbound = ThirtyFour$Outbound; -} - -export function thirtyFourToJSON(thirtyFour: ThirtyFour): string { - return JSON.stringify(ThirtyFour$outboundSchema.parse(thirtyFour)); +export function thirtySixToJSON(thirtySix: ThirtySix): string { + return JSON.stringify(ThirtySix$outboundSchema.parse(thirtySix)); } - -export function thirtyFourFromJSON( +export function thirtySixFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => ThirtyFour$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ThirtyFour' from JSON`, + (x) => ThirtySix$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ThirtySix' from JSON`, ); } /** @internal */ -export const ThirtyThree$inboundSchema: z.ZodType< - ThirtyThree, +export const ThirtyFive$inboundSchema: z.ZodType< + ThirtyFive, z.ZodTypeDef, unknown > = z.object({ githubLogin: z.string(), }); - /** @internal */ -export type ThirtyThree$Outbound = { +export type ThirtyFive$Outbound = { githubLogin: string; }; /** @internal */ -export const ThirtyThree$outboundSchema: z.ZodType< - ThirtyThree$Outbound, +export const ThirtyFive$outboundSchema: z.ZodType< + ThirtyFive$Outbound, z.ZodTypeDef, - ThirtyThree + ThirtyFive > = z.object({ githubLogin: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ThirtyThree$ { - /** @deprecated use `ThirtyThree$inboundSchema` instead. */ - export const inboundSchema = ThirtyThree$inboundSchema; - /** @deprecated use `ThirtyThree$outboundSchema` instead. */ - export const outboundSchema = ThirtyThree$outboundSchema; - /** @deprecated use `ThirtyThree$Outbound` instead. */ - export type Outbound = ThirtyThree$Outbound; -} - -export function thirtyThreeToJSON(thirtyThree: ThirtyThree): string { - return JSON.stringify(ThirtyThree$outboundSchema.parse(thirtyThree)); +export function thirtyFiveToJSON(thirtyFive: ThirtyFive): string { + return JSON.stringify(ThirtyFive$outboundSchema.parse(thirtyFive)); } - -export function thirtyThreeFromJSON( +export function thirtyFiveFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => ThirtyThree$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ThirtyThree' from JSON`, + (x) => ThirtyFive$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ThirtyFive' from JSON`, ); } /** @internal */ -export const UserEventPayload32Team$inboundSchema: z.ZodType< - UserEventPayload32Team, +export const UserEventPayload34Team$inboundSchema: z.ZodType< + UserEventPayload34Team, z.ZodTypeDef, unknown > = z.object({ id: z.string(), name: z.string(), }); - /** @internal */ -export type UserEventPayload32Team$Outbound = { +export type UserEventPayload34Team$Outbound = { id: string; name: string; }; /** @internal */ -export const UserEventPayload32Team$outboundSchema: z.ZodType< - UserEventPayload32Team$Outbound, +export const UserEventPayload34Team$outboundSchema: z.ZodType< + UserEventPayload34Team$Outbound, z.ZodTypeDef, - UserEventPayload32Team + UserEventPayload34Team > = z.object({ id: z.string(), - 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 UserEventPayload32Team$ { - /** @deprecated use `UserEventPayload32Team$inboundSchema` instead. */ - export const inboundSchema = UserEventPayload32Team$inboundSchema; - /** @deprecated use `UserEventPayload32Team$outboundSchema` instead. */ - export const outboundSchema = UserEventPayload32Team$outboundSchema; - /** @deprecated use `UserEventPayload32Team$Outbound` instead. */ - export type Outbound = UserEventPayload32Team$Outbound; -} + name: z.string(), +}); -export function userEventPayload32TeamToJSON( - userEventPayload32Team: UserEventPayload32Team, +export function userEventPayload34TeamToJSON( + userEventPayload34Team: UserEventPayload34Team, ): string { return JSON.stringify( - UserEventPayload32Team$outboundSchema.parse(userEventPayload32Team), + UserEventPayload34Team$outboundSchema.parse(userEventPayload34Team), ); } - -export function userEventPayload32TeamFromJSON( +export function userEventPayload34TeamFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload32Team$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload32Team' from JSON`, + (x) => UserEventPayload34Team$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload34Team' from JSON`, ); } /** @internal */ -export const UserEventPayload32Configuration$inboundSchema: z.ZodType< - UserEventPayload32Configuration, +export const UserEventPayload34Configuration$inboundSchema: z.ZodType< + UserEventPayload34Configuration, z.ZodTypeDef, unknown > = z.object({ id: z.string(), name: z.string().optional(), }); - /** @internal */ -export type UserEventPayload32Configuration$Outbound = { +export type UserEventPayload34Configuration$Outbound = { id: string; name?: string | undefined; }; /** @internal */ -export const UserEventPayload32Configuration$outboundSchema: z.ZodType< - UserEventPayload32Configuration$Outbound, +export const UserEventPayload34Configuration$outboundSchema: z.ZodType< + UserEventPayload34Configuration$Outbound, z.ZodTypeDef, - UserEventPayload32Configuration + UserEventPayload34Configuration > = 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 UserEventPayload32Configuration$ { - /** @deprecated use `UserEventPayload32Configuration$inboundSchema` instead. */ - export const inboundSchema = UserEventPayload32Configuration$inboundSchema; - /** @deprecated use `UserEventPayload32Configuration$outboundSchema` instead. */ - export const outboundSchema = UserEventPayload32Configuration$outboundSchema; - /** @deprecated use `UserEventPayload32Configuration$Outbound` instead. */ - export type Outbound = UserEventPayload32Configuration$Outbound; -} - -export function userEventPayload32ConfigurationToJSON( - userEventPayload32Configuration: UserEventPayload32Configuration, +export function userEventPayload34ConfigurationToJSON( + userEventPayload34Configuration: UserEventPayload34Configuration, ): string { return JSON.stringify( - UserEventPayload32Configuration$outboundSchema.parse( - userEventPayload32Configuration, + UserEventPayload34Configuration$outboundSchema.parse( + userEventPayload34Configuration, ), ); } - -export function userEventPayload32ConfigurationFromJSON( +export function userEventPayload34ConfigurationFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload32Configuration$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload32Configuration' from JSON`, + (x) => UserEventPayload34Configuration$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload34Configuration' from JSON`, ); } /** @internal */ -export const ThirtyTwo$inboundSchema: z.ZodType< - ThirtyTwo, +export const ThirtyFour$inboundSchema: z.ZodType< + ThirtyFour, z.ZodTypeDef, unknown > = z.object({ - team: z.lazy(() => UserEventPayload32Team$inboundSchema), - configuration: z.lazy(() => UserEventPayload32Configuration$inboundSchema), + team: z.lazy(() => UserEventPayload34Team$inboundSchema), + configuration: z.lazy(() => UserEventPayload34Configuration$inboundSchema), newName: z.string(), }); - /** @internal */ -export type ThirtyTwo$Outbound = { - team: UserEventPayload32Team$Outbound; - configuration: UserEventPayload32Configuration$Outbound; +export type ThirtyFour$Outbound = { + team: UserEventPayload34Team$Outbound; + configuration: UserEventPayload34Configuration$Outbound; newName: string; }; /** @internal */ -export const ThirtyTwo$outboundSchema: z.ZodType< - ThirtyTwo$Outbound, +export const ThirtyFour$outboundSchema: z.ZodType< + ThirtyFour$Outbound, z.ZodTypeDef, - ThirtyTwo + ThirtyFour > = z.object({ - team: z.lazy(() => UserEventPayload32Team$outboundSchema), - configuration: z.lazy(() => UserEventPayload32Configuration$outboundSchema), + team: z.lazy(() => UserEventPayload34Team$outboundSchema), + configuration: z.lazy(() => UserEventPayload34Configuration$outboundSchema), newName: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ThirtyTwo$ { - /** @deprecated use `ThirtyTwo$inboundSchema` instead. */ - export const inboundSchema = ThirtyTwo$inboundSchema; - /** @deprecated use `ThirtyTwo$outboundSchema` instead. */ - export const outboundSchema = ThirtyTwo$outboundSchema; - /** @deprecated use `ThirtyTwo$Outbound` instead. */ - export type Outbound = ThirtyTwo$Outbound; -} - -export function thirtyTwoToJSON(thirtyTwo: ThirtyTwo): string { - return JSON.stringify(ThirtyTwo$outboundSchema.parse(thirtyTwo)); +export function thirtyFourToJSON(thirtyFour: ThirtyFour): string { + return JSON.stringify(ThirtyFour$outboundSchema.parse(thirtyFour)); } - -export function thirtyTwoFromJSON( +export function thirtyFourFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => ThirtyTwo$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ThirtyTwo' from JSON`, + (x) => ThirtyFour$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ThirtyFour' from JSON`, ); } @@ -27235,7 +22647,6 @@ export const UserEventPayloadTeam$inboundSchema: z.ZodType< id: z.string(), name: z.string(), }); - /** @internal */ export type UserEventPayloadTeam$Outbound = { id: string; @@ -27252,19 +22663,6 @@ export const UserEventPayloadTeam$outboundSchema: z.ZodType< 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 UserEventPayloadTeam$ { - /** @deprecated use `UserEventPayloadTeam$inboundSchema` instead. */ - export const inboundSchema = UserEventPayloadTeam$inboundSchema; - /** @deprecated use `UserEventPayloadTeam$outboundSchema` instead. */ - export const outboundSchema = UserEventPayloadTeam$outboundSchema; - /** @deprecated use `UserEventPayloadTeam$Outbound` instead. */ - export type Outbound = UserEventPayloadTeam$Outbound; -} - export function userEventPayloadTeamToJSON( userEventPayloadTeam: UserEventPayloadTeam, ): string { @@ -27272,7 +22670,6 @@ export function userEventPayloadTeamToJSON( UserEventPayloadTeam$outboundSchema.parse(userEventPayloadTeam), ); } - export function userEventPayloadTeamFromJSON( jsonString: string, ): SafeParseResult { @@ -27292,7 +22689,6 @@ export const UserEventPayloadConfiguration$inboundSchema: z.ZodType< id: z.string(), name: z.string().optional(), }); - /** @internal */ export type UserEventPayloadConfiguration$Outbound = { id: string; @@ -27309,19 +22705,6 @@ export const UserEventPayloadConfiguration$outboundSchema: z.ZodType< 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 UserEventPayloadConfiguration$ { - /** @deprecated use `UserEventPayloadConfiguration$inboundSchema` instead. */ - export const inboundSchema = UserEventPayloadConfiguration$inboundSchema; - /** @deprecated use `UserEventPayloadConfiguration$outboundSchema` instead. */ - export const outboundSchema = UserEventPayloadConfiguration$outboundSchema; - /** @deprecated use `UserEventPayloadConfiguration$Outbound` instead. */ - export type Outbound = UserEventPayloadConfiguration$Outbound; -} - export function userEventPayloadConfigurationToJSON( userEventPayloadConfiguration: UserEventPayloadConfiguration, ): string { @@ -27331,7 +22714,6 @@ export function userEventPayloadConfigurationToJSON( ), ); } - export function userEventPayloadConfigurationFromJSON( jsonString: string, ): SafeParseResult { @@ -27343,115 +22725,85 @@ export function userEventPayloadConfigurationFromJSON( } /** @internal */ -export const UserEventPayload31Project$inboundSchema: z.ZodType< - UserEventPayload31Project, +export const UserEventPayload33Project$inboundSchema: z.ZodType< + UserEventPayload33Project, z.ZodTypeDef, unknown > = z.object({ id: z.string(), name: z.string().optional(), }); - /** @internal */ -export type UserEventPayload31Project$Outbound = { +export type UserEventPayload33Project$Outbound = { id: string; name?: string | undefined; }; /** @internal */ -export const UserEventPayload31Project$outboundSchema: z.ZodType< - UserEventPayload31Project$Outbound, +export const UserEventPayload33Project$outboundSchema: z.ZodType< + UserEventPayload33Project$Outbound, z.ZodTypeDef, - UserEventPayload31Project + UserEventPayload33Project > = 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 UserEventPayload31Project$ { - /** @deprecated use `UserEventPayload31Project$inboundSchema` instead. */ - export const inboundSchema = UserEventPayload31Project$inboundSchema; - /** @deprecated use `UserEventPayload31Project$outboundSchema` instead. */ - export const outboundSchema = UserEventPayload31Project$outboundSchema; - /** @deprecated use `UserEventPayload31Project$Outbound` instead. */ - export type Outbound = UserEventPayload31Project$Outbound; -} - -export function userEventPayload31ProjectToJSON( - userEventPayload31Project: UserEventPayload31Project, +export function userEventPayload33ProjectToJSON( + userEventPayload33Project: UserEventPayload33Project, ): string { return JSON.stringify( - UserEventPayload31Project$outboundSchema.parse(userEventPayload31Project), + UserEventPayload33Project$outboundSchema.parse(userEventPayload33Project), ); } - -export function userEventPayload31ProjectFromJSON( +export function userEventPayload33ProjectFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload31Project$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload31Project' from JSON`, + (x) => UserEventPayload33Project$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload33Project' from JSON`, ); } /** @internal */ -export const ThirtyOne$inboundSchema: z.ZodType< - ThirtyOne, +export const ThirtyThree$inboundSchema: z.ZodType< + ThirtyThree, z.ZodTypeDef, unknown > = z.object({ team: z.lazy(() => UserEventPayloadTeam$inboundSchema), configuration: z.lazy(() => UserEventPayloadConfiguration$inboundSchema), - project: z.lazy(() => UserEventPayload31Project$inboundSchema), + project: z.lazy(() => UserEventPayload33Project$inboundSchema), }); - /** @internal */ -export type ThirtyOne$Outbound = { +export type ThirtyThree$Outbound = { team: UserEventPayloadTeam$Outbound; configuration: UserEventPayloadConfiguration$Outbound; - project: UserEventPayload31Project$Outbound; + project: UserEventPayload33Project$Outbound; }; /** @internal */ -export const ThirtyOne$outboundSchema: z.ZodType< - ThirtyOne$Outbound, +export const ThirtyThree$outboundSchema: z.ZodType< + ThirtyThree$Outbound, z.ZodTypeDef, - ThirtyOne + ThirtyThree > = z.object({ team: z.lazy(() => UserEventPayloadTeam$outboundSchema), configuration: z.lazy(() => UserEventPayloadConfiguration$outboundSchema), - project: z.lazy(() => UserEventPayload31Project$outboundSchema), + project: z.lazy(() => UserEventPayload33Project$outboundSchema), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace ThirtyOne$ { - /** @deprecated use `ThirtyOne$inboundSchema` instead. */ - export const inboundSchema = ThirtyOne$inboundSchema; - /** @deprecated use `ThirtyOne$outboundSchema` instead. */ - export const outboundSchema = ThirtyOne$outboundSchema; - /** @deprecated use `ThirtyOne$Outbound` instead. */ - export type Outbound = ThirtyOne$Outbound; -} - -export function thirtyOneToJSON(thirtyOne: ThirtyOne): string { - return JSON.stringify(ThirtyOne$outboundSchema.parse(thirtyOne)); +export function thirtyThreeToJSON(thirtyThree: ThirtyThree): string { + return JSON.stringify(ThirtyThree$outboundSchema.parse(thirtyThree)); } - -export function thirtyOneFromJSON( +export function thirtyThreeFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => ThirtyOne$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'ThirtyOne' from JSON`, + (x) => ThirtyThree$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ThirtyThree' from JSON`, ); } @@ -27464,7 +22816,6 @@ export const PayloadTeam$inboundSchema: z.ZodType< id: z.string(), name: z.string(), }); - /** @internal */ export type PayloadTeam$Outbound = { id: string; @@ -27481,23 +22832,9 @@ export const PayloadTeam$outboundSchema: z.ZodType< 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 PayloadTeam$ { - /** @deprecated use `PayloadTeam$inboundSchema` instead. */ - export const inboundSchema = PayloadTeam$inboundSchema; - /** @deprecated use `PayloadTeam$outboundSchema` instead. */ - export const outboundSchema = PayloadTeam$outboundSchema; - /** @deprecated use `PayloadTeam$Outbound` instead. */ - export type Outbound = PayloadTeam$Outbound; -} - export function payloadTeamToJSON(payloadTeam: PayloadTeam): string { return JSON.stringify(PayloadTeam$outboundSchema.parse(payloadTeam)); } - export function payloadTeamFromJSON( jsonString: string, ): SafeParseResult { @@ -27517,7 +22854,6 @@ export const PayloadConfiguration$inboundSchema: z.ZodType< id: z.string(), name: z.string().optional(), }); - /** @internal */ export type PayloadConfiguration$Outbound = { id: string; @@ -27534,19 +22870,6 @@ export const PayloadConfiguration$outboundSchema: z.ZodType< 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 PayloadConfiguration$ { - /** @deprecated use `PayloadConfiguration$inboundSchema` instead. */ - export const inboundSchema = PayloadConfiguration$inboundSchema; - /** @deprecated use `PayloadConfiguration$outboundSchema` instead. */ - export const outboundSchema = PayloadConfiguration$outboundSchema; - /** @deprecated use `PayloadConfiguration$Outbound` instead. */ - export type Outbound = PayloadConfiguration$Outbound; -} - export function payloadConfigurationToJSON( payloadConfiguration: PayloadConfiguration, ): string { @@ -27554,7 +22877,6 @@ export function payloadConfigurationToJSON( PayloadConfiguration$outboundSchema.parse(payloadConfiguration), ); } - export function payloadConfigurationFromJSON( jsonString: string, ): SafeParseResult { @@ -27574,7 +22896,6 @@ export const UserEventPayloadProject$inboundSchema: z.ZodType< id: z.string(), name: z.string().optional(), }); - /** @internal */ export type UserEventPayloadProject$Outbound = { id: string; @@ -27591,19 +22912,6 @@ export const UserEventPayloadProject$outboundSchema: z.ZodType< 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 UserEventPayloadProject$ { - /** @deprecated use `UserEventPayloadProject$inboundSchema` instead. */ - export const inboundSchema = UserEventPayloadProject$inboundSchema; - /** @deprecated use `UserEventPayloadProject$outboundSchema` instead. */ - export const outboundSchema = UserEventPayloadProject$outboundSchema; - /** @deprecated use `UserEventPayloadProject$Outbound` instead. */ - export type Outbound = UserEventPayloadProject$Outbound; -} - export function userEventPayloadProjectToJSON( userEventPayloadProject: UserEventPayloadProject, ): string { @@ -27611,7 +22919,6 @@ export function userEventPayloadProjectToJSON( UserEventPayloadProject$outboundSchema.parse(userEventPayloadProject), ); } - export function userEventPayloadProjectFromJSON( jsonString: string, ): SafeParseResult { @@ -27623,17 +22930,19 @@ export function userEventPayloadProjectFromJSON( } /** @internal */ -export const Thirty$inboundSchema: z.ZodType = z - .object({ - team: z.lazy(() => PayloadTeam$inboundSchema), - configuration: z.lazy(() => PayloadConfiguration$inboundSchema), - project: z.lazy(() => UserEventPayloadProject$inboundSchema), - buildsEnabled: z.boolean().optional(), - passive: z.boolean().optional(), - }); - +export const ThirtyTwo$inboundSchema: z.ZodType< + ThirtyTwo, + z.ZodTypeDef, + unknown +> = z.object({ + team: z.lazy(() => PayloadTeam$inboundSchema), + configuration: z.lazy(() => PayloadConfiguration$inboundSchema), + project: z.lazy(() => UserEventPayloadProject$inboundSchema), + buildsEnabled: z.boolean().optional(), + passive: z.boolean().optional(), +}); /** @internal */ -export type Thirty$Outbound = { +export type ThirtyTwo$Outbound = { team: PayloadTeam$Outbound; configuration: PayloadConfiguration$Outbound; project: UserEventPayloadProject$Outbound; @@ -27642,10 +22951,10 @@ export type Thirty$Outbound = { }; /** @internal */ -export const Thirty$outboundSchema: z.ZodType< - Thirty$Outbound, +export const ThirtyTwo$outboundSchema: z.ZodType< + ThirtyTwo$Outbound, z.ZodTypeDef, - Thirty + ThirtyTwo > = z.object({ team: z.lazy(() => PayloadTeam$outboundSchema), configuration: z.lazy(() => PayloadConfiguration$outboundSchema), @@ -27654,87 +22963,58 @@ export const Thirty$outboundSchema: z.ZodType< passive: 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 Thirty$ { - /** @deprecated use `Thirty$inboundSchema` instead. */ - export const inboundSchema = Thirty$inboundSchema; - /** @deprecated use `Thirty$outboundSchema` instead. */ - export const outboundSchema = Thirty$outboundSchema; - /** @deprecated use `Thirty$Outbound` instead. */ - export type Outbound = Thirty$Outbound; -} - -export function thirtyToJSON(thirty: Thirty): string { - return JSON.stringify(Thirty$outboundSchema.parse(thirty)); +export function thirtyTwoToJSON(thirtyTwo: ThirtyTwo): string { + return JSON.stringify(ThirtyTwo$outboundSchema.parse(thirtyTwo)); } - -export function thirtyFromJSON( +export function thirtyTwoFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => Thirty$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'Thirty' from JSON`, + (x) => ThirtyTwo$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ThirtyTwo' from JSON`, ); } /** @internal */ -export const UserEventPayload29Team$inboundSchema: z.ZodType< - UserEventPayload29Team, +export const UserEventPayload31Team$inboundSchema: z.ZodType< + UserEventPayload31Team, z.ZodTypeDef, unknown > = z.object({ id: z.string(), name: z.string(), }); - /** @internal */ -export type UserEventPayload29Team$Outbound = { +export type UserEventPayload31Team$Outbound = { id: string; name: string; }; /** @internal */ -export const UserEventPayload29Team$outboundSchema: z.ZodType< - UserEventPayload29Team$Outbound, +export const UserEventPayload31Team$outboundSchema: z.ZodType< + UserEventPayload31Team$Outbound, z.ZodTypeDef, - UserEventPayload29Team + UserEventPayload31Team > = z.object({ id: z.string(), 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 UserEventPayload29Team$ { - /** @deprecated use `UserEventPayload29Team$inboundSchema` instead. */ - export const inboundSchema = UserEventPayload29Team$inboundSchema; - /** @deprecated use `UserEventPayload29Team$outboundSchema` instead. */ - export const outboundSchema = UserEventPayload29Team$outboundSchema; - /** @deprecated use `UserEventPayload29Team$Outbound` instead. */ - export type Outbound = UserEventPayload29Team$Outbound; -} - -export function userEventPayload29TeamToJSON( - userEventPayload29Team: UserEventPayload29Team, +export function userEventPayload31TeamToJSON( + userEventPayload31Team: UserEventPayload31Team, ): string { return JSON.stringify( - UserEventPayload29Team$outboundSchema.parse(userEventPayload29Team), + UserEventPayload31Team$outboundSchema.parse(userEventPayload31Team), ); } - -export function userEventPayload29TeamFromJSON( +export function userEventPayload31TeamFromJSON( jsonString: string, -): SafeParseResult { +): SafeParseResult { return safeParse( jsonString, - (x) => UserEventPayload29Team$inboundSchema.parse(JSON.parse(x)), - `Failed to parse 'UserEventPayload29Team' from JSON`, + (x) => UserEventPayload31Team$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'UserEventPayload31Team' from JSON`, ); } @@ -27747,7 +23027,6 @@ export const Configuration$inboundSchema: z.ZodType< id: z.string(), name: z.string().optional(), }); - /** @internal */ export type Configuration$Outbound = { id: string; @@ -27764,23 +23043,9 @@ export const Configuration$outboundSchema: z.ZodType< 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 Configuration$ { - /** @deprecated use `Configuration$inboundSchema` instead. */ - export const inboundSchema = Configuration$inboundSchema; - /** @deprecated use `Configuration$outboundSchema` instead. */ - export const outboundSchema = Configuration$outboundSchema; - /** @deprecated use `Configuration$Outbound` instead. */ - export type Outbound = Configuration$Outbound; -} - export function configurationToJSON(configuration: Configuration): string { return JSON.stringify(Configuration$outboundSchema.parse(configuration)); } - export function configurationFromJSON( jsonString: string, ): SafeParseResult { @@ -27800,7 +23065,6 @@ export const PayloadProject$inboundSchema: z.ZodType< id: z.string(), name: z.string().optional(), }); - /** @internal */ export type PayloadProject$Outbound = { id: string; @@ -27817,23 +23081,9 @@ export const PayloadProject$outboundSchema: z.ZodType< 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 PayloadProject$ { - /** @deprecated use `PayloadProject$inboundSchema` instead. */ - export const inboundSchema = PayloadProject$inboundSchema; - /** @deprecated use `PayloadProject$outboundSchema` instead. */ - export const outboundSchema = PayloadProject$outboundSchema; - /** @deprecated use `PayloadProject$Outbound` instead. */ - export type Outbound = PayloadProject$Outbound; -} - export function payloadProjectToJSON(payloadProject: PayloadProject): string { return JSON.stringify(PayloadProject$outboundSchema.parse(payloadProject)); } - export function payloadProjectFromJSON( jsonString: string, ): SafeParseResult { @@ -27845,54 +23095,109 @@ export function payloadProjectFromJSON( } /** @internal */ -export const TwentyNine$inboundSchema: z.ZodType< - TwentyNine, +export const ThirtyOne$inboundSchema: z.ZodType< + ThirtyOne, z.ZodTypeDef, unknown > = z.object({ - team: z.lazy(() => UserEventPayload29Team$inboundSchema), + team: z.lazy(() => UserEventPayload31Team$inboundSchema), configuration: z.lazy(() => Configuration$inboundSchema), project: z.lazy(() => PayloadProject$inboundSchema), buildsEnabled: z.boolean().optional(), }); - /** @internal */ -export type TwentyNine$Outbound = { - team: UserEventPayload29Team$Outbound; +export type ThirtyOne$Outbound = { + team: UserEventPayload31Team$Outbound; configuration: Configuration$Outbound; project: PayloadProject$Outbound; buildsEnabled?: boolean | undefined; }; /** @internal */ -export const TwentyNine$outboundSchema: z.ZodType< - TwentyNine$Outbound, +export const ThirtyOne$outboundSchema: z.ZodType< + ThirtyOne$Outbound, z.ZodTypeDef, - TwentyNine + ThirtyOne > = z.object({ - team: z.lazy(() => UserEventPayload29Team$outboundSchema), + team: z.lazy(() => UserEventPayload31Team$outboundSchema), configuration: z.lazy(() => Configuration$outboundSchema), project: z.lazy(() => PayloadProject$outboundSchema), buildsEnabled: 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 TwentyNine$ { - /** @deprecated use `TwentyNine$inboundSchema` instead. */ - export const inboundSchema = TwentyNine$inboundSchema; - /** @deprecated use `TwentyNine$outboundSchema` instead. */ - export const outboundSchema = TwentyNine$outboundSchema; - /** @deprecated use `TwentyNine$Outbound` instead. */ - export type Outbound = TwentyNine$Outbound; +export function thirtyOneToJSON(thirtyOne: ThirtyOne): string { + return JSON.stringify(ThirtyOne$outboundSchema.parse(thirtyOne)); +} +export function thirtyOneFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => ThirtyOne$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'ThirtyOne' from JSON`, + ); +} + +/** @internal */ +export const Thirty$inboundSchema: z.ZodType = z + .object({ + suffix: z.string(), + }); +/** @internal */ +export type Thirty$Outbound = { + suffix: string; +}; + +/** @internal */ +export const Thirty$outboundSchema: z.ZodType< + Thirty$Outbound, + z.ZodTypeDef, + Thirty +> = z.object({ + suffix: z.string(), +}); + +export function thirtyToJSON(thirty: Thirty): string { + return JSON.stringify(Thirty$outboundSchema.parse(thirty)); } +export function thirtyFromJSON( + jsonString: string, +): SafeParseResult { + return safeParse( + jsonString, + (x) => Thirty$inboundSchema.parse(JSON.parse(x)), + `Failed to parse 'Thirty' from JSON`, + ); +} + +/** @internal */ +export const TwentyNine$inboundSchema: z.ZodType< + TwentyNine, + z.ZodTypeDef, + unknown +> = z.object({ + status: z.string(), + suffix: z.string(), +}); +/** @internal */ +export type TwentyNine$Outbound = { + status: string; + suffix: string; +}; + +/** @internal */ +export const TwentyNine$outboundSchema: z.ZodType< + TwentyNine$Outbound, + z.ZodTypeDef, + TwentyNine +> = z.object({ + status: z.string(), + suffix: z.string(), +}); export function twentyNineToJSON(twentyNine: TwentyNine): string { return JSON.stringify(TwentyNine$outboundSchema.parse(twentyNine)); } - export function twentyNineFromJSON( jsonString: string, ): SafeParseResult { @@ -27909,11 +23214,12 @@ export const TwentyEight$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ + reason: z.string().optional(), suffix: z.string(), }); - /** @internal */ export type TwentyEight$Outbound = { + reason?: string | undefined; suffix: string; }; @@ -27923,26 +23229,13 @@ export const TwentyEight$outboundSchema: z.ZodType< z.ZodTypeDef, TwentyEight > = z.object({ + reason: z.string().optional(), suffix: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace TwentyEight$ { - /** @deprecated use `TwentyEight$inboundSchema` instead. */ - export const inboundSchema = TwentyEight$inboundSchema; - /** @deprecated use `TwentyEight$outboundSchema` instead. */ - export const outboundSchema = TwentyEight$outboundSchema; - /** @deprecated use `TwentyEight$Outbound` instead. */ - export type Outbound = TwentyEight$Outbound; -} - export function twentyEightToJSON(twentyEight: TwentyEight): string { return JSON.stringify(TwentyEight$outboundSchema.parse(twentyEight)); } - export function twentyEightFromJSON( jsonString: string, ): SafeParseResult { @@ -27959,14 +23252,17 @@ export const TwentySeven$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - status: z.string(), - suffix: z.string(), + projectId: z.string().optional(), + projectName: z.string().optional(), + certId: z.string().optional(), + origin: z.string().optional(), }); - /** @internal */ export type TwentySeven$Outbound = { - status: string; - suffix: string; + projectId?: string | undefined; + projectName?: string | undefined; + certId?: string | undefined; + origin?: string | undefined; }; /** @internal */ @@ -27975,27 +23271,15 @@ export const TwentySeven$outboundSchema: z.ZodType< z.ZodTypeDef, TwentySeven > = z.object({ - status: z.string(), - suffix: z.string(), + projectId: z.string().optional(), + projectName: z.string().optional(), + certId: z.string().optional(), + origin: z.string().optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace TwentySeven$ { - /** @deprecated use `TwentySeven$inboundSchema` instead. */ - export const inboundSchema = TwentySeven$inboundSchema; - /** @deprecated use `TwentySeven$outboundSchema` instead. */ - export const outboundSchema = TwentySeven$outboundSchema; - /** @deprecated use `TwentySeven$Outbound` instead. */ - export type Outbound = TwentySeven$Outbound; -} - export function twentySevenToJSON(twentySeven: TwentySeven): string { return JSON.stringify(TwentySeven$outboundSchema.parse(twentySeven)); } - export function twentySevenFromJSON( jsonString: string, ): SafeParseResult { @@ -28012,14 +23296,17 @@ export const TwentySix$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({ - reason: z.string().optional(), - suffix: z.string(), + projectId: z.string().optional(), + projectName: z.string().optional(), + target: z.array(z.string()).optional(), + updated: z.boolean().optional(), }); - /** @internal */ export type TwentySix$Outbound = { - reason?: string | undefined; - suffix: string; + projectId?: string | undefined; + projectName?: string | undefined; + target?: Array | undefined; + updated?: boolean | undefined; }; /** @internal */ @@ -28028,27 +23315,15 @@ export const TwentySix$outboundSchema: z.ZodType< z.ZodTypeDef, TwentySix > = z.object({ - reason: z.string().optional(), - suffix: z.string(), + projectId: z.string().optional(), + projectName: z.string().optional(), + target: z.array(z.string()).optional(), + updated: 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 TwentySix$ { - /** @deprecated use `TwentySix$inboundSchema` instead. */ - export const inboundSchema = TwentySix$inboundSchema; - /** @deprecated use `TwentySix$outboundSchema` instead. */ - export const outboundSchema = TwentySix$outboundSchema; - /** @deprecated use `TwentySix$Outbound` instead. */ - export type Outbound = TwentySix$Outbound; -} - export function twentySixToJSON(twentySix: TwentySix): string { return JSON.stringify(TwentySix$outboundSchema.parse(twentySix)); } - export function twentySixFromJSON( jsonString: string, ): SafeParseResult { @@ -28068,7 +23343,6 @@ export const TwentyFive$inboundSchema: z.ZodType< cn: z.string().optional(), cns: z.array(z.string()).optional(), }); - /** @internal */ export type TwentyFive$Outbound = { cn?: string | undefined; @@ -28085,23 +23359,9 @@ export const TwentyFive$outboundSchema: z.ZodType< 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 TwentyFive$ { - /** @deprecated use `TwentyFive$inboundSchema` instead. */ - export const inboundSchema = TwentyFive$inboundSchema; - /** @deprecated use `TwentyFive$outboundSchema` instead. */ - export const outboundSchema = TwentyFive$outboundSchema; - /** @deprecated use `TwentyFive$Outbound` instead. */ - export type Outbound = TwentyFive$Outbound; -} - export function twentyFiveToJSON(twentyFive: TwentyFive): string { return JSON.stringify(TwentyFive$outboundSchema.parse(twentyFive)); } - export function twentyFiveFromJSON( jsonString: string, ): SafeParseResult { @@ -28122,7 +23382,6 @@ export const TwentyFour$inboundSchema: z.ZodType< cn: z.string().optional(), cns: z.array(z.string()).optional(), }); - /** @internal */ export type TwentyFour$Outbound = { id: string; @@ -28141,23 +23400,9 @@ export const TwentyFour$outboundSchema: z.ZodType< 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 TwentyFour$ { - /** @deprecated use `TwentyFour$inboundSchema` instead. */ - export const inboundSchema = TwentyFour$inboundSchema; - /** @deprecated use `TwentyFour$outboundSchema` instead. */ - export const outboundSchema = TwentyFour$outboundSchema; - /** @deprecated use `TwentyFour$Outbound` instead. */ - export type Outbound = TwentyFour$Outbound; -} - export function twentyFourToJSON(twentyFour: TwentyFour): string { return JSON.stringify(TwentyFour$outboundSchema.parse(twentyFour)); } - export function twentyFourFromJSON( jsonString: string, ): SafeParseResult { @@ -28177,7 +23422,6 @@ export const TwentyThree$inboundSchema: z.ZodType< src: z.string(), dst: z.string(), }); - /** @internal */ export type TwentyThree$Outbound = { src: string; @@ -28194,23 +23438,9 @@ export const TwentyThree$outboundSchema: z.ZodType< dst: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace TwentyThree$ { - /** @deprecated use `TwentyThree$inboundSchema` instead. */ - export const inboundSchema = TwentyThree$inboundSchema; - /** @deprecated use `TwentyThree$outboundSchema` instead. */ - export const outboundSchema = TwentyThree$outboundSchema; - /** @deprecated use `TwentyThree$Outbound` instead. */ - export type Outbound = TwentyThree$Outbound; -} - export function twentyThreeToJSON(twentyThree: TwentyThree): string { return JSON.stringify(TwentyThree$outboundSchema.parse(twentyThree)); } - export function twentyThreeFromJSON( jsonString: string, ): SafeParseResult { @@ -28229,7 +23459,6 @@ export const PayloadOldTeam$inboundSchema: z.ZodType< > = z.object({ name: z.string(), }); - /** @internal */ export type PayloadOldTeam$Outbound = { name: string; @@ -28244,23 +23473,9 @@ export const PayloadOldTeam$outboundSchema: z.ZodType< 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 PayloadOldTeam$ { - /** @deprecated use `PayloadOldTeam$inboundSchema` instead. */ - export const inboundSchema = PayloadOldTeam$inboundSchema; - /** @deprecated use `PayloadOldTeam$outboundSchema` instead. */ - export const outboundSchema = PayloadOldTeam$outboundSchema; - /** @deprecated use `PayloadOldTeam$Outbound` instead. */ - export type Outbound = PayloadOldTeam$Outbound; -} - export function payloadOldTeamToJSON(payloadOldTeam: PayloadOldTeam): string { return JSON.stringify(PayloadOldTeam$outboundSchema.parse(payloadOldTeam)); } - export function payloadOldTeamFromJSON( jsonString: string, ): SafeParseResult { @@ -28279,7 +23494,6 @@ export const PayloadNewTeam$inboundSchema: z.ZodType< > = z.object({ name: z.string(), }); - /** @internal */ export type PayloadNewTeam$Outbound = { name: string; @@ -28294,23 +23508,9 @@ export const PayloadNewTeam$outboundSchema: z.ZodType< 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 PayloadNewTeam$ { - /** @deprecated use `PayloadNewTeam$inboundSchema` instead. */ - export const inboundSchema = PayloadNewTeam$inboundSchema; - /** @deprecated use `PayloadNewTeam$outboundSchema` instead. */ - export const outboundSchema = PayloadNewTeam$outboundSchema; - /** @deprecated use `PayloadNewTeam$Outbound` instead. */ - export type Outbound = PayloadNewTeam$Outbound; -} - export function payloadNewTeamToJSON(payloadNewTeam: PayloadNewTeam): string { return JSON.stringify(PayloadNewTeam$outboundSchema.parse(payloadNewTeam)); } - export function payloadNewTeamFromJSON( jsonString: string, ): SafeParseResult { @@ -28331,7 +23531,6 @@ export const TwentyTwo$inboundSchema: z.ZodType< oldTeam: z.lazy(() => PayloadOldTeam$inboundSchema).optional(), newTeam: z.lazy(() => PayloadNewTeam$inboundSchema).optional(), }); - /** @internal */ export type TwentyTwo$Outbound = { id: string; @@ -28350,23 +23549,9 @@ export const TwentyTwo$outboundSchema: z.ZodType< newTeam: z.lazy(() => PayloadNewTeam$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 TwentyTwo$ { - /** @deprecated use `TwentyTwo$inboundSchema` instead. */ - export const inboundSchema = TwentyTwo$inboundSchema; - /** @deprecated use `TwentyTwo$outboundSchema` instead. */ - export const outboundSchema = TwentyTwo$outboundSchema; - /** @deprecated use `TwentyTwo$Outbound` instead. */ - export type Outbound = TwentyTwo$Outbound; -} - export function twentyTwoToJSON(twentyTwo: TwentyTwo): string { return JSON.stringify(TwentyTwo$outboundSchema.parse(twentyTwo)); } - export function twentyTwoFromJSON( jsonString: string, ): SafeParseResult { @@ -28387,7 +23572,6 @@ export const TwentyOne$inboundSchema: z.ZodType< cns: z.array(z.string()).optional(), id: z.string().optional(), }); - /** @internal */ export type TwentyOne$Outbound = { cn?: string | undefined; @@ -28406,23 +23590,9 @@ export const TwentyOne$outboundSchema: z.ZodType< id: z.string().optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace TwentyOne$ { - /** @deprecated use `TwentyOne$inboundSchema` instead. */ - export const inboundSchema = TwentyOne$inboundSchema; - /** @deprecated use `TwentyOne$outboundSchema` instead. */ - export const outboundSchema = TwentyOne$outboundSchema; - /** @deprecated use `TwentyOne$Outbound` instead. */ - export type Outbound = TwentyOne$Outbound; -} - export function twentyOneToJSON(twentyOne: TwentyOne): string { return JSON.stringify(TwentyOne$outboundSchema.parse(twentyOne)); } - export function twentyOneFromJSON( jsonString: string, ): SafeParseResult { @@ -28441,7 +23611,6 @@ export const Twenty$inboundSchema: z.ZodType = z custom: z.boolean(), id: z.string().optional(), }); - /** @internal */ export type Twenty$Outbound = { cn?: string | undefined; @@ -28462,23 +23631,9 @@ export const Twenty$outboundSchema: z.ZodType< id: z.string().optional(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Twenty$ { - /** @deprecated use `Twenty$inboundSchema` instead. */ - export const inboundSchema = Twenty$inboundSchema; - /** @deprecated use `Twenty$outboundSchema` instead. */ - export const outboundSchema = Twenty$outboundSchema; - /** @deprecated use `Twenty$Outbound` instead. */ - export type Outbound = Twenty$Outbound; -} - export function twentyToJSON(twenty: Twenty): string { return JSON.stringify(Twenty$outboundSchema.parse(twenty)); } - export function twentyFromJSON( jsonString: string, ): SafeParseResult { @@ -28497,7 +23652,6 @@ export const Nineteen$inboundSchema: z.ZodType< > = z.object({ avatar: z.string().optional(), }); - /** @internal */ export type Nineteen$Outbound = { avatar?: string | undefined; @@ -28512,23 +23666,9 @@ export const Nineteen$outboundSchema: z.ZodType< 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 Nineteen$ { - /** @deprecated use `Nineteen$inboundSchema` instead. */ - export const inboundSchema = Nineteen$inboundSchema; - /** @deprecated use `Nineteen$outboundSchema` instead. */ - export const outboundSchema = Nineteen$outboundSchema; - /** @deprecated use `Nineteen$Outbound` instead. */ - export type Outbound = Nineteen$Outbound; -} - export function nineteenToJSON(nineteen: Nineteen): string { return JSON.stringify(Nineteen$outboundSchema.parse(nineteen)); } - export function nineteenFromJSON( jsonString: string, ): SafeParseResult { @@ -28548,7 +23688,6 @@ export const Eighteen$inboundSchema: z.ZodType< projectName: z.string(), autoExposeSystemEnvs: z.boolean(), }); - /** @internal */ export type Eighteen$Outbound = { projectName: string; @@ -28565,23 +23704,9 @@ export const Eighteen$outboundSchema: z.ZodType< autoExposeSystemEnvs: 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 Eighteen$ { - /** @deprecated use `Eighteen$inboundSchema` instead. */ - export const inboundSchema = Eighteen$inboundSchema; - /** @deprecated use `Eighteen$outboundSchema` instead. */ - export const outboundSchema = Eighteen$outboundSchema; - /** @deprecated use `Eighteen$Outbound` instead. */ - export type Outbound = Eighteen$Outbound; -} - export function eighteenToJSON(eighteen: Eighteen): string { return JSON.stringify(Eighteen$outboundSchema.parse(eighteen)); } - export function eighteenFromJSON( jsonString: string, ): SafeParseResult { @@ -28601,7 +23726,6 @@ export const Seventeen$inboundSchema: z.ZodType< alias: z.string(), deploymentUrl: z.string(), }); - /** @internal */ export type Seventeen$Outbound = { alias: string; @@ -28618,23 +23742,9 @@ export const Seventeen$outboundSchema: z.ZodType< deploymentUrl: z.string(), }); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Seventeen$ { - /** @deprecated use `Seventeen$inboundSchema` instead. */ - export const inboundSchema = Seventeen$inboundSchema; - /** @deprecated use `Seventeen$outboundSchema` instead. */ - export const outboundSchema = Seventeen$outboundSchema; - /** @deprecated use `Seventeen$Outbound` instead. */ - export type Outbound = Seventeen$Outbound; -} - export function seventeenToJSON(seventeen: Seventeen): string { return JSON.stringify(Seventeen$outboundSchema.parse(seventeen)); } - export function seventeenFromJSON( jsonString: string, ): SafeParseResult { @@ -28653,7 +23763,6 @@ export const Sixteen$inboundSchema: z.ZodType = aliasId: z.string(), deploymentId: z.nullable(z.string()), }); - /** @internal */ export type Sixteen$Outbound = { name?: string | undefined; @@ -28674,23 +23783,9 @@ export const Sixteen$outboundSchema: z.ZodType< deploymentId: 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 Sixteen$ { - /** @deprecated use `Sixteen$inboundSchema` instead. */ - export const inboundSchema = Sixteen$inboundSchema; - /** @deprecated use `Sixteen$outboundSchema` instead. */ - export const outboundSchema = Sixteen$outboundSchema; - /** @deprecated use `Sixteen$Outbound` instead. */ - export type Outbound = Sixteen$Outbound; -} - export function sixteenToJSON(sixteen: Sixteen): string { return JSON.stringify(Sixteen$outboundSchema.parse(sixteen)); } - export function sixteenFromJSON( jsonString: string, ): SafeParseResult { @@ -28706,7 +23801,6 @@ export const OldTeam$inboundSchema: z.ZodType = z.object({ name: z.string(), }); - /** @internal */ export type OldTeam$Outbound = { name: string; @@ -28721,23 +23815,9 @@ export const OldTeam$outboundSchema: z.ZodType< 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 OldTeam$ { - /** @deprecated use `OldTeam$inboundSchema` instead. */ - export const inboundSchema = OldTeam$inboundSchema; - /** @deprecated use `OldTeam$outboundSchema` instead. */ - export const outboundSchema = OldTeam$outboundSchema; - /** @deprecated use `OldTeam$Outbound` instead. */ - export type Outbound = OldTeam$Outbound; -} - export function oldTeamToJSON(oldTeam: OldTeam): string { return JSON.stringify(OldTeam$outboundSchema.parse(oldTeam)); } - export function oldTeamFromJSON( jsonString: string, ): SafeParseResult { @@ -28753,7 +23833,6 @@ export const NewTeam$inboundSchema: z.ZodType = z.object({ name: z.string(), }); - /** @internal */ export type NewTeam$Outbound = { name: string; @@ -28768,23 +23847,9 @@ export const NewTeam$outboundSchema: z.ZodType< 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 NewTeam$ { - /** @deprecated use `NewTeam$inboundSchema` instead. */ - export const inboundSchema = NewTeam$inboundSchema; - /** @deprecated use `NewTeam$outboundSchema` instead. */ - export const outboundSchema = NewTeam$outboundSchema; - /** @deprecated use `NewTeam$Outbound` instead. */ - export type Outbound = NewTeam$Outbound; -} - export function newTeamToJSON(newTeam: NewTeam): string { return JSON.stringify(NewTeam$outboundSchema.parse(newTeam)); } - export function newTeamFromJSON( jsonString: string, ): SafeParseResult { @@ -28803,7 +23868,6 @@ export const Fifteen$inboundSchema: z.ZodType = oldTeam: z.lazy(() => OldTeam$inboundSchema).optional(), newTeam: z.lazy(() => NewTeam$inboundSchema).optional(), }); - /** @internal */ export type Fifteen$Outbound = { name?: string | undefined; @@ -28824,23 +23888,9 @@ export const Fifteen$outboundSchema: z.ZodType< newTeam: z.lazy(() => NewTeam$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 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 { @@ -28860,7 +23910,6 @@ export const Fourteen$inboundSchema: z.ZodType< alias: z.string().optional(), email: z.string().optional(), }); - /** @internal */ export type Fourteen$Outbound = { alias?: string | undefined; @@ -28877,23 +23926,9 @@ export const Fourteen$outboundSchema: z.ZodType< email: z.string().optional(), }); -/** - * @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 { @@ -28914,7 +23949,6 @@ export const Thirteen$inboundSchema: z.ZodType< email: z.string().optional(), username: z.string().optional(), }); - /** @internal */ export type Thirteen$Outbound = { alias?: string | undefined; @@ -28933,23 +23967,9 @@ export const Thirteen$outboundSchema: z.ZodType< 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 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 { @@ -28964,23 +23984,11 @@ export function thirteenFromJSON( export const PayloadAction$inboundSchema: z.ZodNativeEnum< typeof PayloadAction > = z.nativeEnum(PayloadAction); - /** @internal */ export const PayloadAction$outboundSchema: z.ZodNativeEnum< typeof PayloadAction > = PayloadAction$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PayloadAction$ { - /** @deprecated use `PayloadAction$inboundSchema` instead. */ - export const inboundSchema = PayloadAction$inboundSchema; - /** @deprecated use `PayloadAction$outboundSchema` instead. */ - export const outboundSchema = PayloadAction$outboundSchema; -} - /** @internal */ export const Twelve$inboundSchema: z.ZodType = z .object({ @@ -28988,7 +23996,6 @@ export const Twelve$inboundSchema: z.ZodType = z alias: z.string(), action: PayloadAction$inboundSchema, }); - /** @internal */ export type Twelve$Outbound = { projectName: string; @@ -29007,23 +24014,9 @@ export const Twelve$outboundSchema: z.ZodType< action: PayloadAction$outboundSchema, }); -/** - * @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 { @@ -29042,7 +24035,6 @@ export const Eleven$inboundSchema: z.ZodType = z userId: z.string().optional(), username: z.string().optional(), }); - /** @internal */ export type Eleven$Outbound = { alias?: string | undefined; @@ -29063,23 +24055,9 @@ export const Eleven$outboundSchema: z.ZodType< 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 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 { @@ -29097,7 +24075,6 @@ export const Ten$inboundSchema: z.ZodType = z userId: z.string().optional(), username: z.string().optional(), }); - /** @internal */ export type Ten$Outbound = { alias?: string | undefined; @@ -29113,23 +24090,9 @@ export const Ten$outboundSchema: z.ZodType = z 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 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 { @@ -29145,7 +24108,6 @@ export const Nine$inboundSchema: z.ZodType = z .object({ alias: z.string().optional(), }); - /** @internal */ export type Nine$Outbound = { alias?: string | undefined; @@ -29157,23 +24119,9 @@ export const Nine$outboundSchema: z.ZodType = alias: z.string().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 { @@ -29191,7 +24139,6 @@ export const Eight$inboundSchema: z.ZodType = z alias: z.string().optional(), projectName: z.string().optional(), }); - /** @internal */ export type Eight$Outbound = { aliasId?: string | undefined; @@ -29210,23 +24157,9 @@ export const Eight$outboundSchema: z.ZodType< projectName: z.string().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 { @@ -29248,7 +24181,6 @@ export const Deployment$inboundSchema: z.ZodType< url: z.string(), meta: z.record(z.string()), }); - /** @internal */ export type Deployment$Outbound = { id: string; @@ -29269,23 +24201,9 @@ export const Deployment$outboundSchema: z.ZodType< meta: z.record(z.string()), }); -/** - * @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 { @@ -29312,7 +24230,6 @@ export const Seven$inboundSchema: z.ZodType = z system: z.boolean().optional(), aliasUpdatedAt: z.number().optional(), }); - /** @internal */ export type Seven$Outbound = { alias?: string | undefined; @@ -29349,23 +24266,9 @@ export const Seven$outboundSchema: z.ZodType< aliasUpdatedAt: 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 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 { @@ -29385,7 +24288,6 @@ export const UserEventPayload6AccessGroup$inboundSchema: z.ZodType< id: z.string(), name: z.string(), }); - /** @internal */ export type UserEventPayload6AccessGroup$Outbound = { id: string; @@ -29402,19 +24304,6 @@ export const UserEventPayload6AccessGroup$outboundSchema: z.ZodType< 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 UserEventPayload6AccessGroup$ { - /** @deprecated use `UserEventPayload6AccessGroup$inboundSchema` instead. */ - export const inboundSchema = UserEventPayload6AccessGroup$inboundSchema; - /** @deprecated use `UserEventPayload6AccessGroup$outboundSchema` instead. */ - export const outboundSchema = UserEventPayload6AccessGroup$outboundSchema; - /** @deprecated use `UserEventPayload6AccessGroup$Outbound` instead. */ - export type Outbound = UserEventPayload6AccessGroup$Outbound; -} - export function userEventPayload6AccessGroupToJSON( userEventPayload6AccessGroup: UserEventPayload6AccessGroup, ): string { @@ -29424,7 +24313,6 @@ export function userEventPayload6AccessGroupToJSON( ), ); } - export function userEventPayload6AccessGroupFromJSON( jsonString: string, ): SafeParseResult { @@ -29441,7 +24329,6 @@ export const Project$inboundSchema: z.ZodType = id: z.string(), name: z.string().optional(), }); - /** @internal */ export type Project$Outbound = { id: string; @@ -29458,23 +24345,9 @@ export const Project$outboundSchema: z.ZodType< 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 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 { @@ -29488,41 +24361,17 @@ export function projectFromJSON( /** @internal */ export const NextRole$inboundSchema: z.ZodNativeEnum = z .nativeEnum(NextRole); - /** @internal */ export const NextRole$outboundSchema: z.ZodNativeEnum = NextRole$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace NextRole$ { - /** @deprecated use `NextRole$inboundSchema` instead. */ - export const inboundSchema = NextRole$inboundSchema; - /** @deprecated use `NextRole$outboundSchema` instead. */ - export const outboundSchema = NextRole$outboundSchema; -} - /** @internal */ export const PreviousRole$inboundSchema: z.ZodNativeEnum = z.nativeEnum(PreviousRole); - /** @internal */ export const PreviousRole$outboundSchema: z.ZodNativeEnum = PreviousRole$inboundSchema; -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace PreviousRole$ { - /** @deprecated use `PreviousRole$inboundSchema` instead. */ - export const inboundSchema = PreviousRole$inboundSchema; - /** @deprecated use `PreviousRole$outboundSchema` instead. */ - export const outboundSchema = PreviousRole$outboundSchema; -} - /** @internal */ export const Six$inboundSchema: z.ZodType = z .object({ @@ -29536,7 +24385,6 @@ export const Six$inboundSchema: z.ZodType = z "previous_role": "previousRole", }); }); - /** @internal */ export type Six$Outbound = { accessGroup: UserEventPayload6AccessGroup$Outbound; @@ -29559,23 +24407,9 @@ export const Six$outboundSchema: z.ZodType = z }); }); -/** - * @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 { @@ -29595,7 +24429,6 @@ export const UserEventPayloadAccessGroup$inboundSchema: z.ZodType< id: z.string(), name: z.string().optional(), }); - /** @internal */ export type UserEventPayloadAccessGroup$Outbound = { id: string; @@ -29612,19 +24445,6 @@ export const UserEventPayloadAccessGroup$outboundSchema: z.ZodType< 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 UserEventPayloadAccessGroup$ { - /** @deprecated use `UserEventPayloadAccessGroup$inboundSchema` instead. */ - export const inboundSchema = UserEventPayloadAccessGroup$inboundSchema; - /** @deprecated use `UserEventPayloadAccessGroup$outboundSchema` instead. */ - export const outboundSchema = UserEventPayloadAccessGroup$outboundSchema; - /** @deprecated use `UserEventPayloadAccessGroup$Outbound` instead. */ - export type Outbound = UserEventPayloadAccessGroup$Outbound; -} - export function userEventPayloadAccessGroupToJSON( userEventPayloadAccessGroup: UserEventPayloadAccessGroup, ): string { @@ -29634,7 +24454,6 @@ export function userEventPayloadAccessGroupToJSON( ), ); } - export function userEventPayloadAccessGroupFromJSON( jsonString: string, ): SafeParseResult { @@ -29654,7 +24473,6 @@ export const PayloadUser$inboundSchema: z.ZodType< id: z.string(), username: z.string().optional(), }); - /** @internal */ export type PayloadUser$Outbound = { id: string; @@ -29671,23 +24489,9 @@ export const PayloadUser$outboundSchema: z.ZodType< 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 PayloadUser$ { - /** @deprecated use `PayloadUser$inboundSchema` instead. */ - export const inboundSchema = PayloadUser$inboundSchema; - /** @deprecated use `PayloadUser$outboundSchema` instead. */ - export const outboundSchema = PayloadUser$outboundSchema; - /** @deprecated use `PayloadUser$Outbound` instead. */ - export type Outbound = PayloadUser$Outbound; -} - export function payloadUserToJSON(payloadUser: PayloadUser): string { return JSON.stringify(PayloadUser$outboundSchema.parse(payloadUser)); } - export function payloadUserFromJSON( jsonString: string, ): SafeParseResult { @@ -29705,7 +24509,6 @@ export const Five$inboundSchema: z.ZodType = z user: z.lazy(() => PayloadUser$inboundSchema), directoryType: z.string().optional(), }); - /** @internal */ export type Five$Outbound = { accessGroup: UserEventPayloadAccessGroup$Outbound; @@ -29721,23 +24524,9 @@ export const Five$outboundSchema: z.ZodType = directoryType: z.string().optional(), }); -/** - * @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 { @@ -29757,7 +24546,6 @@ export const PayloadAccessGroup$inboundSchema: z.ZodType< id: z.string(), name: z.string(), }); - /** @internal */ export type PayloadAccessGroup$Outbound = { id: string; @@ -29774,19 +24562,6 @@ export const PayloadAccessGroup$outboundSchema: z.ZodType< 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 PayloadAccessGroup$ { - /** @deprecated use `PayloadAccessGroup$inboundSchema` instead. */ - export const inboundSchema = PayloadAccessGroup$inboundSchema; - /** @deprecated use `PayloadAccessGroup$outboundSchema` instead. */ - export const outboundSchema = PayloadAccessGroup$outboundSchema; - /** @deprecated use `PayloadAccessGroup$Outbound` instead. */ - export type Outbound = PayloadAccessGroup$Outbound; -} - export function payloadAccessGroupToJSON( payloadAccessGroup: PayloadAccessGroup, ): string { @@ -29794,7 +24569,6 @@ export function payloadAccessGroupToJSON( PayloadAccessGroup$outboundSchema.parse(payloadAccessGroup), ); } - export function payloadAccessGroupFromJSON( jsonString: string, ): SafeParseResult { @@ -29811,7 +24585,6 @@ export const Four$inboundSchema: z.ZodType = z author: z.string(), accessGroup: z.lazy(() => PayloadAccessGroup$inboundSchema), }); - /** @internal */ export type Four$Outbound = { author: string; @@ -29825,23 +24598,9 @@ export const Four$outboundSchema: z.ZodType = accessGroup: z.lazy(() => PayloadAccessGroup$outboundSchema), }); -/** - * @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 { @@ -29861,7 +24620,6 @@ export const AccessGroup$inboundSchema: z.ZodType< id: z.string(), name: z.string(), }); - /** @internal */ export type AccessGroup$Outbound = { id: string; @@ -29878,23 +24636,9 @@ export const AccessGroup$outboundSchema: z.ZodType< 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 AccessGroup$ { - /** @deprecated use `AccessGroup$inboundSchema` instead. */ - export const inboundSchema = AccessGroup$inboundSchema; - /** @deprecated use `AccessGroup$outboundSchema` instead. */ - export const outboundSchema = AccessGroup$outboundSchema; - /** @deprecated use `AccessGroup$Outbound` instead. */ - export type Outbound = AccessGroup$Outbound; -} - export function accessGroupToJSON(accessGroup: AccessGroup): string { return JSON.stringify(AccessGroup$outboundSchema.parse(accessGroup)); } - export function accessGroupFromJSON( jsonString: string, ): SafeParseResult { @@ -29910,7 +24654,6 @@ export const Three$inboundSchema: z.ZodType = z .object({ accessGroup: z.lazy(() => AccessGroup$inboundSchema), }); - /** @internal */ export type Three$Outbound = { accessGroup: AccessGroup$Outbound; @@ -29922,26 +24665,12 @@ export const Three$outboundSchema: z.ZodType< z.ZodTypeDef, Three > = z.object({ - accessGroup: z.lazy(() => AccessGroup$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; -} + accessGroup: z.lazy(() => AccessGroup$outboundSchema), +}); export function threeToJSON(three: Three): string { return JSON.stringify(Three$outboundSchema.parse(three)); } - export function threeFromJSON( jsonString: string, ): SafeParseResult { @@ -29955,22 +24684,10 @@ export function threeFromJSON( /** @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 Payload2$inboundSchema: z.ZodType< Payload2, @@ -29982,7 +24699,6 @@ export const Payload2$inboundSchema: z.ZodType< slug: z.string(), projectId: z.string(), }); - /** @internal */ export type Payload2$Outbound = { action: string; @@ -30003,23 +24719,9 @@ export const Payload2$outboundSchema: z.ZodType< 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 Payload2$ { - /** @deprecated use `Payload2$inboundSchema` instead. */ - export const inboundSchema = Payload2$inboundSchema; - /** @deprecated use `Payload2$outboundSchema` instead. */ - export const outboundSchema = Payload2$outboundSchema; - /** @deprecated use `Payload2$Outbound` instead. */ - export type Outbound = Payload2$Outbound; -} - export function payload2ToJSON(payload2: Payload2): string { return JSON.stringify(Payload2$outboundSchema.parse(payload2)); } - export function payload2FromJSON( jsonString: string, ): SafeParseResult { @@ -30036,7 +24738,6 @@ export const Payload1$inboundSchema: z.ZodType< z.ZodTypeDef, unknown > = z.object({}); - /** @internal */ export type Payload1$Outbound = {}; @@ -30047,23 +24748,9 @@ export const Payload1$outboundSchema: z.ZodType< Payload1 > = 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 Payload1$ { - /** @deprecated use `Payload1$inboundSchema` instead. */ - export const inboundSchema = Payload1$inboundSchema; - /** @deprecated use `Payload1$outboundSchema` instead. */ - export const outboundSchema = Payload1$outboundSchema; - /** @deprecated use `Payload1$Outbound` instead. */ - export type Outbound = Payload1$Outbound; -} - export function payload1ToJSON(payload1: Payload1): string { return JSON.stringify(Payload1$outboundSchema.parse(payload1)); } - export function payload1FromJSON( jsonString: string, ): SafeParseResult { @@ -30077,147 +24764,148 @@ export function payload1FromJSON( /** @internal */ export const Payload$inboundSchema: z.ZodType = z.union([ + z.lazy(() => SeventyTwo$inboundSchema), + z.lazy(() => SixtyEight$inboundSchema), + z.lazy(() => SeventyOne$inboundSchema), + z.lazy(() => FortyTwo$inboundSchema), + z.lazy(() => FortyThree$inboundSchema), + z.lazy(() => FiftyFive$inboundSchema), + z.lazy(() => Sixty$inboundSchema), z.lazy(() => SixtySix$inboundSchema), z.lazy(() => SixtyNine$inboundSchema), - z.lazy(() => Seventy$inboundSchema), - z.lazy(() => Forty$inboundSchema), - z.lazy(() => FortyOne$inboundSchema), - z.lazy(() => FiftyThree$inboundSchema), - z.lazy(() => FiftyEight$inboundSchema), - z.lazy(() => SixtyFour$inboundSchema), - z.lazy(() => SixtySeven$inboundSchema), - z.lazy(() => OneHundredAndThirtyFour$inboundSchema), - z.lazy(() => OneHundredAndSixtyFour$inboundSchema), + z.lazy(() => OneHundredAndThirtySix$inboundSchema), + z.lazy(() => OneHundredAndSixtySeven$inboundSchema), z.lazy(() => Payload2$inboundSchema), - z.lazy(() => FortyFive$inboundSchema), - z.lazy(() => SixtyEight$inboundSchema), - z.lazy(() => OneHundredAndThree$inboundSchema), - z.lazy(() => OneHundredAndFortyFive$inboundSchema), + z.lazy(() => FortySeven$inboundSchema), + z.lazy(() => Seventy$inboundSchema), + z.lazy(() => OneHundredAndFive$inboundSchema), + z.lazy(() => OneHundredAndFortySeven$inboundSchema), z.lazy(() => Twelve$inboundSchema), z.lazy(() => Sixteen$inboundSchema), - z.lazy(() => TwentyNine$inboundSchema), - z.lazy(() => Thirty$inboundSchema), z.lazy(() => ThirtyOne$inboundSchema), z.lazy(() => ThirtyTwo$inboundSchema), - z.lazy(() => ThirtyNine$inboundSchema), - z.lazy(() => FortyEight$inboundSchema), - z.lazy(() => FortyNine$inboundSchema), + z.lazy(() => ThirtyThree$inboundSchema), + z.lazy(() => ThirtyFour$inboundSchema), + z.lazy(() => FortyOne$inboundSchema), z.lazy(() => Fifty$inboundSchema), - z.lazy(() => FiftyNine$inboundSchema), - z.lazy(() => Sixty$inboundSchema), + z.lazy(() => FiftyOne$inboundSchema), + z.lazy(() => FiftyTwo$inboundSchema), z.lazy(() => SixtyOne$inboundSchema), + z.lazy(() => SixtyTwo$inboundSchema), z.lazy(() => SixtyThree$inboundSchema), - z.lazy(() => SeventyFour$inboundSchema), - z.lazy(() => SeventyEight$inboundSchema), - z.lazy(() => EightyOne$inboundSchema), - z.lazy(() => EightyTwo$inboundSchema), - z.lazy(() => NinetyFour$inboundSchema), - z.lazy(() => OneHundredAndTwelve$inboundSchema), - z.lazy(() => OneHundredAndThirtySix$inboundSchema), - z.lazy(() => OneHundredAndThirtySeven$inboundSchema), - z.lazy(() => OneHundredAndFortyFour$inboundSchema), + z.lazy(() => SixtyFive$inboundSchema), + z.lazy(() => SeventySix$inboundSchema), + z.lazy(() => Eighty$inboundSchema), + z.lazy(() => EightyThree$inboundSchema), + z.lazy(() => EightyFour$inboundSchema), + z.lazy(() => NinetySix$inboundSchema), + z.lazy(() => OneHundredAndFourteen$inboundSchema), + z.lazy(() => OneHundredAndThirtyEight$inboundSchema), + z.lazy(() => OneHundredAndThirtyNine$inboundSchema), z.lazy(() => OneHundredAndFortySix$inboundSchema), z.lazy(() => OneHundredAndFortyEight$inboundSchema), - z.lazy(() => OneHundredAndFiftyOne$inboundSchema), - z.lazy(() => OneHundredAndSixtyOne$inboundSchema), - z.lazy(() => OneHundredAndSixtyTwo$inboundSchema), - z.lazy(() => OneHundredAndSixtyThree$inboundSchema), + z.lazy(() => OneHundredAndFifty$inboundSchema), + z.lazy(() => OneHundredAndFiftyThree$inboundSchema), + z.lazy(() => OneHundredAndSixtyFour$inboundSchema), + z.lazy(() => OneHundredAndSixtyFive$inboundSchema), + z.lazy(() => OneHundredAndSixtySix$inboundSchema), z.lazy(() => Four$inboundSchema), z.lazy(() => Five$inboundSchema), z.lazy(() => Six$inboundSchema), z.lazy(() => Seventeen$inboundSchema), z.lazy(() => Eighteen$inboundSchema), z.lazy(() => TwentyThree$inboundSchema), - z.lazy(() => TwentySeven$inboundSchema), - z.lazy(() => ThirtyFour$inboundSchema), - z.lazy(() => ThirtyFive$inboundSchema), + z.lazy(() => TwentyNine$inboundSchema), z.lazy(() => ThirtySix$inboundSchema), - z.lazy(() => FortyThree$inboundSchema), - z.lazy(() => FortyFour$inboundSchema), - z.lazy(() => FortySeven$inboundSchema), - z.lazy(() => FiftyFour$inboundSchema), - z.lazy(() => SixtyTwo$inboundSchema), - z.lazy(() => SixtyFive$inboundSchema), - z.lazy(() => SeventySeven$inboundSchema), - z.lazy(() => EightyFive$inboundSchema), - z.lazy(() => EightySix$inboundSchema), + z.lazy(() => ThirtySeven$inboundSchema), + z.lazy(() => ThirtyEight$inboundSchema), + z.lazy(() => FortyFive$inboundSchema), + z.lazy(() => FortySix$inboundSchema), + z.lazy(() => FortyNine$inboundSchema), + z.lazy(() => FiftySix$inboundSchema), + z.lazy(() => SixtyFour$inboundSchema), + z.lazy(() => SixtySeven$inboundSchema), + z.lazy(() => SeventyNine$inboundSchema), z.lazy(() => EightySeven$inboundSchema), - z.lazy(() => Ninety$inboundSchema), - z.lazy(() => NinetyOne$inboundSchema), + z.lazy(() => EightyEight$inboundSchema), + z.lazy(() => EightyNine$inboundSchema), z.lazy(() => NinetyTwo$inboundSchema), z.lazy(() => NinetyThree$inboundSchema), + z.lazy(() => NinetyFour$inboundSchema), z.lazy(() => NinetyFive$inboundSchema), - z.lazy(() => NinetySix$inboundSchema), - z.lazy(() => NinetyNine$inboundSchema), - z.lazy(() => OneHundred$inboundSchema), + z.lazy(() => NinetySeven$inboundSchema), + z.lazy(() => NinetyEight$inboundSchema), z.lazy(() => OneHundredAndOne$inboundSchema), - z.lazy(() => OneHundredAndEight$inboundSchema), - z.lazy(() => OneHundredAndSeventeen$inboundSchema), - z.lazy(() => OneHundredAndEighteen$inboundSchema), - z.lazy(() => OneHundredAndTwentyThree$inboundSchema), - z.lazy(() => OneHundredAndTwentyFour$inboundSchema), + z.lazy(() => OneHundredAndTwo$inboundSchema), + z.lazy(() => OneHundredAndThree$inboundSchema), + z.lazy(() => OneHundredAndTen$inboundSchema), + z.lazy(() => OneHundredAndNineteen$inboundSchema), + z.lazy(() => OneHundredAndTwenty$inboundSchema), + z.lazy(() => OneHundredAndTwentyFive$inboundSchema), z.lazy(() => OneHundredAndTwentySix$inboundSchema), - z.lazy(() => OneHundredAndThirtyFive$inboundSchema), - z.lazy(() => OneHundredAndThirtyEight$inboundSchema), - z.lazy(() => OneHundredAndThirtyNine$inboundSchema), + z.lazy(() => OneHundredAndTwentyEight$inboundSchema), + z.lazy(() => OneHundredAndThirtySeven$inboundSchema), z.lazy(() => OneHundredAndForty$inboundSchema), + z.lazy(() => OneHundredAndFortyOne$inboundSchema), z.lazy(() => OneHundredAndFortyTwo$inboundSchema), - z.lazy(() => OneHundredAndFortyThree$inboundSchema), - z.lazy(() => OneHundredAndFortyNine$inboundSchema), - z.lazy(() => OneHundredAndFifty$inboundSchema), + z.lazy(() => OneHundredAndFortyFour$inboundSchema), + z.lazy(() => OneHundredAndFortyFive$inboundSchema), + z.lazy(() => OneHundredAndFiftyOne$inboundSchema), z.lazy(() => OneHundredAndFiftyTwo$inboundSchema), z.lazy(() => OneHundredAndFiftyFour$inboundSchema), - z.lazy(() => OneHundredAndFiftyFive$inboundSchema), z.lazy(() => OneHundredAndFiftySix$inboundSchema), + z.lazy(() => OneHundredAndFiftySeven$inboundSchema), z.lazy(() => OneHundredAndFiftyEight$inboundSchema), z.lazy(() => Three$inboundSchema), z.lazy(() => Fifteen$inboundSchema), z.lazy(() => Twenty$inboundSchema), z.lazy(() => TwentyTwo$inboundSchema), z.lazy(() => TwentyFour$inboundSchema), - z.lazy(() => TwentySix$inboundSchema), z.lazy(() => TwentyEight$inboundSchema), - z.lazy(() => ThirtyThree$inboundSchema), - z.lazy(() => ThirtySeven$inboundSchema), - z.lazy(() => ThirtyEight$inboundSchema), - z.lazy(() => FortyTwo$inboundSchema), - z.lazy(() => FortySix$inboundSchema), - z.lazy(() => FiftyOne$inboundSchema), - z.lazy(() => FiftyTwo$inboundSchema), - z.lazy(() => SeventyOne$inboundSchema), - z.lazy(() => SeventyTwo$inboundSchema), + z.lazy(() => Thirty$inboundSchema), + z.lazy(() => ThirtyFive$inboundSchema), + z.lazy(() => ThirtyNine$inboundSchema), + z.lazy(() => Forty$inboundSchema), + z.lazy(() => FortyFour$inboundSchema), + z.lazy(() => FortyEight$inboundSchema), + z.lazy(() => FiftyThree$inboundSchema), + z.lazy(() => FiftyFour$inboundSchema), z.lazy(() => SeventyThree$inboundSchema), + z.lazy(() => SeventyFour$inboundSchema), z.lazy(() => SeventyFive$inboundSchema), - z.lazy(() => SeventySix$inboundSchema), - z.lazy(() => SeventyNine$inboundSchema), - z.lazy(() => Eighty$inboundSchema), - z.lazy(() => EightyThree$inboundSchema), - z.lazy(() => EightyFour$inboundSchema), - z.lazy(() => EightyEight$inboundSchema), - z.lazy(() => EightyNine$inboundSchema), - z.lazy(() => NinetySeven$inboundSchema), - z.lazy(() => NinetyEight$inboundSchema), - z.lazy(() => OneHundredAndTwo$inboundSchema), + z.lazy(() => SeventySeven$inboundSchema), + z.lazy(() => SeventyEight$inboundSchema), + z.lazy(() => EightyOne$inboundSchema), + z.lazy(() => EightyTwo$inboundSchema), + z.lazy(() => EightyFive$inboundSchema), + z.lazy(() => EightySix$inboundSchema), + z.lazy(() => Ninety$inboundSchema), + z.lazy(() => NinetyOne$inboundSchema), + z.lazy(() => NinetyNine$inboundSchema), + z.lazy(() => OneHundred$inboundSchema), z.lazy(() => OneHundredAndFour$inboundSchema), - z.lazy(() => OneHundredAndFive$inboundSchema), z.lazy(() => OneHundredAndSix$inboundSchema), - z.lazy(() => OneHundredAndNine$inboundSchema), - z.lazy(() => OneHundredAndTen$inboundSchema), + z.lazy(() => OneHundredAndSeven$inboundSchema), + z.lazy(() => OneHundredAndEight$inboundSchema), z.lazy(() => OneHundredAndEleven$inboundSchema), - z.lazy(() => OneHundredAndFifteen$inboundSchema), - z.lazy(() => OneHundredAndSixteen$inboundSchema), - z.lazy(() => OneHundredAndNineteen$inboundSchema), - z.lazy(() => OneHundredAndTwentyFive$inboundSchema), + z.lazy(() => OneHundredAndTwelve$inboundSchema), + z.lazy(() => OneHundredAndThirteen$inboundSchema), + z.lazy(() => OneHundredAndSeventeen$inboundSchema), + z.lazy(() => OneHundredAndEighteen$inboundSchema), + z.lazy(() => OneHundredAndTwentyOne$inboundSchema), z.lazy(() => OneHundredAndTwentySeven$inboundSchema), - z.lazy(() => OneHundredAndThirtyOne$inboundSchema), - z.lazy(() => OneHundredAndThirtyTwo$inboundSchema), + z.lazy(() => OneHundredAndTwentyNine$inboundSchema), z.lazy(() => OneHundredAndThirtyThree$inboundSchema), - z.lazy(() => OneHundredAndFortyOne$inboundSchema), - z.lazy(() => OneHundredAndFortySeven$inboundSchema), - z.lazy(() => OneHundredAndFiftyThree$inboundSchema), - z.lazy(() => OneHundredAndFiftySeven$inboundSchema), + z.lazy(() => OneHundredAndThirtyFour$inboundSchema), + z.lazy(() => OneHundredAndThirtyFive$inboundSchema), + z.lazy(() => OneHundredAndFortyThree$inboundSchema), + z.lazy(() => OneHundredAndFortyNine$inboundSchema), + z.lazy(() => OneHundredAndFiftyFive$inboundSchema), z.lazy(() => OneHundredAndFiftyNine$inboundSchema), z.lazy(() => OneHundredAndSixty$inboundSchema), + z.lazy(() => OneHundredAndSixtyOne$inboundSchema), + z.lazy(() => OneHundredAndSixtyTwo$inboundSchema), + z.lazy(() => OneHundredAndSixtyThree$inboundSchema), z.lazy(() => Payload1$inboundSchema), z.lazy(() => Seven$inboundSchema), z.lazy(() => Eight$inboundSchema), @@ -30229,163 +24917,165 @@ export const Payload$inboundSchema: z.ZodType = z.lazy(() => Nineteen$inboundSchema), z.lazy(() => TwentyOne$inboundSchema), z.lazy(() => TwentyFive$inboundSchema), - z.lazy(() => FiftyFive$inboundSchema), - z.lazy(() => FiftySix$inboundSchema), + z.lazy(() => TwentySix$inboundSchema), + z.lazy(() => TwentySeven$inboundSchema), z.lazy(() => FiftySeven$inboundSchema), - z.lazy(() => OneHundredAndSeven$inboundSchema), - z.lazy(() => OneHundredAndThirteen$inboundSchema), - z.lazy(() => OneHundredAndFourteen$inboundSchema), - z.lazy(() => OneHundredAndTwenty$inboundSchema), - z.lazy(() => OneHundredAndTwentyOne$inboundSchema), + z.lazy(() => FiftyEight$inboundSchema), + z.lazy(() => FiftyNine$inboundSchema), + z.lazy(() => OneHundredAndNine$inboundSchema), + z.lazy(() => OneHundredAndFifteen$inboundSchema), + z.lazy(() => OneHundredAndSixteen$inboundSchema), z.lazy(() => OneHundredAndTwentyTwo$inboundSchema), - z.lazy(() => OneHundredAndTwentyEight$inboundSchema), - z.lazy(() => OneHundredAndTwentyNine$inboundSchema), + z.lazy(() => OneHundredAndTwentyThree$inboundSchema), + z.lazy(() => OneHundredAndTwentyFour$inboundSchema), z.lazy(() => OneHundredAndThirty$inboundSchema), + z.lazy(() => OneHundredAndThirtyOne$inboundSchema), + z.lazy(() => OneHundredAndThirtyTwo$inboundSchema), ]); - /** @internal */ export type Payload$Outbound = + | SeventyTwo$Outbound + | SixtyEight$Outbound + | SeventyOne$Outbound + | FortyTwo$Outbound + | FortyThree$Outbound + | FiftyFive$Outbound + | Sixty$Outbound | SixtySix$Outbound | SixtyNine$Outbound - | Seventy$Outbound - | Forty$Outbound - | FortyOne$Outbound - | FiftyThree$Outbound - | FiftyEight$Outbound - | SixtyFour$Outbound - | SixtySeven$Outbound - | OneHundredAndThirtyFour$Outbound - | OneHundredAndSixtyFour$Outbound + | OneHundredAndThirtySix$Outbound + | OneHundredAndSixtySeven$Outbound | Payload2$Outbound - | FortyFive$Outbound - | SixtyEight$Outbound - | OneHundredAndThree$Outbound - | OneHundredAndFortyFive$Outbound + | FortySeven$Outbound + | Seventy$Outbound + | OneHundredAndFive$Outbound + | OneHundredAndFortySeven$Outbound | Twelve$Outbound | Sixteen$Outbound - | TwentyNine$Outbound - | Thirty$Outbound | ThirtyOne$Outbound | ThirtyTwo$Outbound - | ThirtyNine$Outbound - | FortyEight$Outbound - | FortyNine$Outbound + | ThirtyThree$Outbound + | ThirtyFour$Outbound + | FortyOne$Outbound | Fifty$Outbound - | FiftyNine$Outbound - | Sixty$Outbound + | FiftyOne$Outbound + | FiftyTwo$Outbound | SixtyOne$Outbound + | SixtyTwo$Outbound | SixtyThree$Outbound - | SeventyFour$Outbound - | SeventyEight$Outbound - | EightyOne$Outbound - | EightyTwo$Outbound - | NinetyFour$Outbound - | OneHundredAndTwelve$Outbound - | OneHundredAndThirtySix$Outbound - | OneHundredAndThirtySeven$Outbound - | OneHundredAndFortyFour$Outbound + | SixtyFive$Outbound + | SeventySix$Outbound + | Eighty$Outbound + | EightyThree$Outbound + | EightyFour$Outbound + | NinetySix$Outbound + | OneHundredAndFourteen$Outbound + | OneHundredAndThirtyEight$Outbound + | OneHundredAndThirtyNine$Outbound | OneHundredAndFortySix$Outbound | OneHundredAndFortyEight$Outbound - | OneHundredAndFiftyOne$Outbound - | OneHundredAndSixtyOne$Outbound - | OneHundredAndSixtyTwo$Outbound - | OneHundredAndSixtyThree$Outbound + | OneHundredAndFifty$Outbound + | OneHundredAndFiftyThree$Outbound + | OneHundredAndSixtyFour$Outbound + | OneHundredAndSixtyFive$Outbound + | OneHundredAndSixtySix$Outbound | Four$Outbound | Five$Outbound | Six$Outbound | Seventeen$Outbound | Eighteen$Outbound | TwentyThree$Outbound - | TwentySeven$Outbound - | ThirtyFour$Outbound - | ThirtyFive$Outbound + | TwentyNine$Outbound | ThirtySix$Outbound - | FortyThree$Outbound - | FortyFour$Outbound - | FortySeven$Outbound - | FiftyFour$Outbound - | SixtyTwo$Outbound - | SixtyFive$Outbound - | SeventySeven$Outbound - | EightyFive$Outbound - | EightySix$Outbound + | ThirtySeven$Outbound + | ThirtyEight$Outbound + | FortyFive$Outbound + | FortySix$Outbound + | FortyNine$Outbound + | FiftySix$Outbound + | SixtyFour$Outbound + | SixtySeven$Outbound + | SeventyNine$Outbound | EightySeven$Outbound - | Ninety$Outbound - | NinetyOne$Outbound + | EightyEight$Outbound + | EightyNine$Outbound | NinetyTwo$Outbound | NinetyThree$Outbound + | NinetyFour$Outbound | NinetyFive$Outbound - | NinetySix$Outbound - | NinetyNine$Outbound - | OneHundred$Outbound + | NinetySeven$Outbound + | NinetyEight$Outbound | OneHundredAndOne$Outbound - | OneHundredAndEight$Outbound - | OneHundredAndSeventeen$Outbound - | OneHundredAndEighteen$Outbound - | OneHundredAndTwentyThree$Outbound - | OneHundredAndTwentyFour$Outbound + | OneHundredAndTwo$Outbound + | OneHundredAndThree$Outbound + | OneHundredAndTen$Outbound + | OneHundredAndNineteen$Outbound + | OneHundredAndTwenty$Outbound + | OneHundredAndTwentyFive$Outbound | OneHundredAndTwentySix$Outbound - | OneHundredAndThirtyFive$Outbound - | OneHundredAndThirtyEight$Outbound - | OneHundredAndThirtyNine$Outbound + | OneHundredAndTwentyEight$Outbound + | OneHundredAndThirtySeven$Outbound | OneHundredAndForty$Outbound + | OneHundredAndFortyOne$Outbound | OneHundredAndFortyTwo$Outbound - | OneHundredAndFortyThree$Outbound - | OneHundredAndFortyNine$Outbound - | OneHundredAndFifty$Outbound + | OneHundredAndFortyFour$Outbound + | OneHundredAndFortyFive$Outbound + | OneHundredAndFiftyOne$Outbound | OneHundredAndFiftyTwo$Outbound | OneHundredAndFiftyFour$Outbound - | OneHundredAndFiftyFive$Outbound | OneHundredAndFiftySix$Outbound + | OneHundredAndFiftySeven$Outbound | OneHundredAndFiftyEight$Outbound | Three$Outbound | Fifteen$Outbound | Twenty$Outbound | TwentyTwo$Outbound | TwentyFour$Outbound - | TwentySix$Outbound | TwentyEight$Outbound - | ThirtyThree$Outbound - | ThirtySeven$Outbound - | ThirtyEight$Outbound - | FortyTwo$Outbound - | FortySix$Outbound - | FiftyOne$Outbound - | FiftyTwo$Outbound - | SeventyOne$Outbound - | SeventyTwo$Outbound + | Thirty$Outbound + | ThirtyFive$Outbound + | ThirtyNine$Outbound + | Forty$Outbound + | FortyFour$Outbound + | FortyEight$Outbound + | FiftyThree$Outbound + | FiftyFour$Outbound | SeventyThree$Outbound + | SeventyFour$Outbound | SeventyFive$Outbound - | SeventySix$Outbound - | SeventyNine$Outbound - | Eighty$Outbound - | EightyThree$Outbound - | EightyFour$Outbound - | EightyEight$Outbound - | EightyNine$Outbound - | NinetySeven$Outbound - | NinetyEight$Outbound - | OneHundredAndTwo$Outbound + | SeventySeven$Outbound + | SeventyEight$Outbound + | EightyOne$Outbound + | EightyTwo$Outbound + | EightyFive$Outbound + | EightySix$Outbound + | Ninety$Outbound + | NinetyOne$Outbound + | NinetyNine$Outbound + | OneHundred$Outbound | OneHundredAndFour$Outbound - | OneHundredAndFive$Outbound | OneHundredAndSix$Outbound - | OneHundredAndNine$Outbound - | OneHundredAndTen$Outbound + | OneHundredAndSeven$Outbound + | OneHundredAndEight$Outbound | OneHundredAndEleven$Outbound - | OneHundredAndFifteen$Outbound - | OneHundredAndSixteen$Outbound - | OneHundredAndNineteen$Outbound - | OneHundredAndTwentyFive$Outbound + | OneHundredAndTwelve$Outbound + | OneHundredAndThirteen$Outbound + | OneHundredAndSeventeen$Outbound + | OneHundredAndEighteen$Outbound + | OneHundredAndTwentyOne$Outbound | OneHundredAndTwentySeven$Outbound - | OneHundredAndThirtyOne$Outbound - | OneHundredAndThirtyTwo$Outbound + | OneHundredAndTwentyNine$Outbound | OneHundredAndThirtyThree$Outbound - | OneHundredAndFortyOne$Outbound - | OneHundredAndFortySeven$Outbound - | OneHundredAndFiftyThree$Outbound - | OneHundredAndFiftySeven$Outbound + | OneHundredAndThirtyFour$Outbound + | OneHundredAndThirtyFive$Outbound + | OneHundredAndFortyThree$Outbound + | OneHundredAndFortyNine$Outbound + | OneHundredAndFiftyFive$Outbound | OneHundredAndFiftyNine$Outbound | OneHundredAndSixty$Outbound + | OneHundredAndSixtyOne$Outbound + | OneHundredAndSixtyTwo$Outbound + | OneHundredAndSixtyThree$Outbound | Payload1$Outbound | Seven$Outbound | Eight$Outbound @@ -30397,18 +25087,20 @@ export type Payload$Outbound = | Nineteen$Outbound | TwentyOne$Outbound | TwentyFive$Outbound - | FiftyFive$Outbound - | FiftySix$Outbound + | TwentySix$Outbound + | TwentySeven$Outbound | FiftySeven$Outbound - | OneHundredAndSeven$Outbound - | OneHundredAndThirteen$Outbound - | OneHundredAndFourteen$Outbound - | OneHundredAndTwenty$Outbound - | OneHundredAndTwentyOne$Outbound + | FiftyEight$Outbound + | FiftyNine$Outbound + | OneHundredAndNine$Outbound + | OneHundredAndFifteen$Outbound + | OneHundredAndSixteen$Outbound | OneHundredAndTwentyTwo$Outbound - | OneHundredAndTwentyEight$Outbound - | OneHundredAndTwentyNine$Outbound - | OneHundredAndThirty$Outbound; + | OneHundredAndTwentyThree$Outbound + | OneHundredAndTwentyFour$Outbound + | OneHundredAndThirty$Outbound + | OneHundredAndThirtyOne$Outbound + | OneHundredAndThirtyTwo$Outbound; /** @internal */ export const Payload$outboundSchema: z.ZodType< @@ -30416,147 +25108,148 @@ export const Payload$outboundSchema: z.ZodType< z.ZodTypeDef, Payload > = z.union([ + z.lazy(() => SeventyTwo$outboundSchema), + z.lazy(() => SixtyEight$outboundSchema), + z.lazy(() => SeventyOne$outboundSchema), + z.lazy(() => FortyTwo$outboundSchema), + z.lazy(() => FortyThree$outboundSchema), + z.lazy(() => FiftyFive$outboundSchema), + z.lazy(() => Sixty$outboundSchema), z.lazy(() => SixtySix$outboundSchema), z.lazy(() => SixtyNine$outboundSchema), - z.lazy(() => Seventy$outboundSchema), - z.lazy(() => Forty$outboundSchema), - z.lazy(() => FortyOne$outboundSchema), - z.lazy(() => FiftyThree$outboundSchema), - z.lazy(() => FiftyEight$outboundSchema), - z.lazy(() => SixtyFour$outboundSchema), - z.lazy(() => SixtySeven$outboundSchema), - z.lazy(() => OneHundredAndThirtyFour$outboundSchema), - z.lazy(() => OneHundredAndSixtyFour$outboundSchema), + z.lazy(() => OneHundredAndThirtySix$outboundSchema), + z.lazy(() => OneHundredAndSixtySeven$outboundSchema), z.lazy(() => Payload2$outboundSchema), - z.lazy(() => FortyFive$outboundSchema), - z.lazy(() => SixtyEight$outboundSchema), - z.lazy(() => OneHundredAndThree$outboundSchema), - z.lazy(() => OneHundredAndFortyFive$outboundSchema), + z.lazy(() => FortySeven$outboundSchema), + z.lazy(() => Seventy$outboundSchema), + z.lazy(() => OneHundredAndFive$outboundSchema), + z.lazy(() => OneHundredAndFortySeven$outboundSchema), z.lazy(() => Twelve$outboundSchema), z.lazy(() => Sixteen$outboundSchema), - z.lazy(() => TwentyNine$outboundSchema), - z.lazy(() => Thirty$outboundSchema), z.lazy(() => ThirtyOne$outboundSchema), z.lazy(() => ThirtyTwo$outboundSchema), - z.lazy(() => ThirtyNine$outboundSchema), - z.lazy(() => FortyEight$outboundSchema), - z.lazy(() => FortyNine$outboundSchema), + z.lazy(() => ThirtyThree$outboundSchema), + z.lazy(() => ThirtyFour$outboundSchema), + z.lazy(() => FortyOne$outboundSchema), z.lazy(() => Fifty$outboundSchema), - z.lazy(() => FiftyNine$outboundSchema), - z.lazy(() => Sixty$outboundSchema), + z.lazy(() => FiftyOne$outboundSchema), + z.lazy(() => FiftyTwo$outboundSchema), z.lazy(() => SixtyOne$outboundSchema), + z.lazy(() => SixtyTwo$outboundSchema), z.lazy(() => SixtyThree$outboundSchema), - z.lazy(() => SeventyFour$outboundSchema), - z.lazy(() => SeventyEight$outboundSchema), - z.lazy(() => EightyOne$outboundSchema), - z.lazy(() => EightyTwo$outboundSchema), - z.lazy(() => NinetyFour$outboundSchema), - z.lazy(() => OneHundredAndTwelve$outboundSchema), - z.lazy(() => OneHundredAndThirtySix$outboundSchema), - z.lazy(() => OneHundredAndThirtySeven$outboundSchema), - z.lazy(() => OneHundredAndFortyFour$outboundSchema), + z.lazy(() => SixtyFive$outboundSchema), + z.lazy(() => SeventySix$outboundSchema), + z.lazy(() => Eighty$outboundSchema), + z.lazy(() => EightyThree$outboundSchema), + z.lazy(() => EightyFour$outboundSchema), + z.lazy(() => NinetySix$outboundSchema), + z.lazy(() => OneHundredAndFourteen$outboundSchema), + z.lazy(() => OneHundredAndThirtyEight$outboundSchema), + z.lazy(() => OneHundredAndThirtyNine$outboundSchema), z.lazy(() => OneHundredAndFortySix$outboundSchema), z.lazy(() => OneHundredAndFortyEight$outboundSchema), - z.lazy(() => OneHundredAndFiftyOne$outboundSchema), - z.lazy(() => OneHundredAndSixtyOne$outboundSchema), - z.lazy(() => OneHundredAndSixtyTwo$outboundSchema), - z.lazy(() => OneHundredAndSixtyThree$outboundSchema), + z.lazy(() => OneHundredAndFifty$outboundSchema), + z.lazy(() => OneHundredAndFiftyThree$outboundSchema), + z.lazy(() => OneHundredAndSixtyFour$outboundSchema), + z.lazy(() => OneHundredAndSixtyFive$outboundSchema), + z.lazy(() => OneHundredAndSixtySix$outboundSchema), z.lazy(() => Four$outboundSchema), z.lazy(() => Five$outboundSchema), z.lazy(() => Six$outboundSchema), z.lazy(() => Seventeen$outboundSchema), z.lazy(() => Eighteen$outboundSchema), z.lazy(() => TwentyThree$outboundSchema), - z.lazy(() => TwentySeven$outboundSchema), - z.lazy(() => ThirtyFour$outboundSchema), - z.lazy(() => ThirtyFive$outboundSchema), + z.lazy(() => TwentyNine$outboundSchema), z.lazy(() => ThirtySix$outboundSchema), - z.lazy(() => FortyThree$outboundSchema), - z.lazy(() => FortyFour$outboundSchema), - z.lazy(() => FortySeven$outboundSchema), - z.lazy(() => FiftyFour$outboundSchema), - z.lazy(() => SixtyTwo$outboundSchema), - z.lazy(() => SixtyFive$outboundSchema), - z.lazy(() => SeventySeven$outboundSchema), - z.lazy(() => EightyFive$outboundSchema), - z.lazy(() => EightySix$outboundSchema), + z.lazy(() => ThirtySeven$outboundSchema), + z.lazy(() => ThirtyEight$outboundSchema), + z.lazy(() => FortyFive$outboundSchema), + z.lazy(() => FortySix$outboundSchema), + z.lazy(() => FortyNine$outboundSchema), + z.lazy(() => FiftySix$outboundSchema), + z.lazy(() => SixtyFour$outboundSchema), + z.lazy(() => SixtySeven$outboundSchema), + z.lazy(() => SeventyNine$outboundSchema), z.lazy(() => EightySeven$outboundSchema), - z.lazy(() => Ninety$outboundSchema), - z.lazy(() => NinetyOne$outboundSchema), + z.lazy(() => EightyEight$outboundSchema), + z.lazy(() => EightyNine$outboundSchema), z.lazy(() => NinetyTwo$outboundSchema), z.lazy(() => NinetyThree$outboundSchema), + z.lazy(() => NinetyFour$outboundSchema), z.lazy(() => NinetyFive$outboundSchema), - z.lazy(() => NinetySix$outboundSchema), - z.lazy(() => NinetyNine$outboundSchema), - z.lazy(() => OneHundred$outboundSchema), + z.lazy(() => NinetySeven$outboundSchema), + z.lazy(() => NinetyEight$outboundSchema), z.lazy(() => OneHundredAndOne$outboundSchema), - z.lazy(() => OneHundredAndEight$outboundSchema), - z.lazy(() => OneHundredAndSeventeen$outboundSchema), - z.lazy(() => OneHundredAndEighteen$outboundSchema), - z.lazy(() => OneHundredAndTwentyThree$outboundSchema), - z.lazy(() => OneHundredAndTwentyFour$outboundSchema), + z.lazy(() => OneHundredAndTwo$outboundSchema), + z.lazy(() => OneHundredAndThree$outboundSchema), + z.lazy(() => OneHundredAndTen$outboundSchema), + z.lazy(() => OneHundredAndNineteen$outboundSchema), + z.lazy(() => OneHundredAndTwenty$outboundSchema), + z.lazy(() => OneHundredAndTwentyFive$outboundSchema), z.lazy(() => OneHundredAndTwentySix$outboundSchema), - z.lazy(() => OneHundredAndThirtyFive$outboundSchema), - z.lazy(() => OneHundredAndThirtyEight$outboundSchema), - z.lazy(() => OneHundredAndThirtyNine$outboundSchema), + z.lazy(() => OneHundredAndTwentyEight$outboundSchema), + z.lazy(() => OneHundredAndThirtySeven$outboundSchema), z.lazy(() => OneHundredAndForty$outboundSchema), + z.lazy(() => OneHundredAndFortyOne$outboundSchema), z.lazy(() => OneHundredAndFortyTwo$outboundSchema), - z.lazy(() => OneHundredAndFortyThree$outboundSchema), - z.lazy(() => OneHundredAndFortyNine$outboundSchema), - z.lazy(() => OneHundredAndFifty$outboundSchema), + z.lazy(() => OneHundredAndFortyFour$outboundSchema), + z.lazy(() => OneHundredAndFortyFive$outboundSchema), + z.lazy(() => OneHundredAndFiftyOne$outboundSchema), z.lazy(() => OneHundredAndFiftyTwo$outboundSchema), z.lazy(() => OneHundredAndFiftyFour$outboundSchema), - z.lazy(() => OneHundredAndFiftyFive$outboundSchema), z.lazy(() => OneHundredAndFiftySix$outboundSchema), + z.lazy(() => OneHundredAndFiftySeven$outboundSchema), z.lazy(() => OneHundredAndFiftyEight$outboundSchema), z.lazy(() => Three$outboundSchema), z.lazy(() => Fifteen$outboundSchema), z.lazy(() => Twenty$outboundSchema), z.lazy(() => TwentyTwo$outboundSchema), z.lazy(() => TwentyFour$outboundSchema), - z.lazy(() => TwentySix$outboundSchema), z.lazy(() => TwentyEight$outboundSchema), - z.lazy(() => ThirtyThree$outboundSchema), - z.lazy(() => ThirtySeven$outboundSchema), - z.lazy(() => ThirtyEight$outboundSchema), - z.lazy(() => FortyTwo$outboundSchema), - z.lazy(() => FortySix$outboundSchema), - z.lazy(() => FiftyOne$outboundSchema), - z.lazy(() => FiftyTwo$outboundSchema), - z.lazy(() => SeventyOne$outboundSchema), - z.lazy(() => SeventyTwo$outboundSchema), + z.lazy(() => Thirty$outboundSchema), + z.lazy(() => ThirtyFive$outboundSchema), + z.lazy(() => ThirtyNine$outboundSchema), + z.lazy(() => Forty$outboundSchema), + z.lazy(() => FortyFour$outboundSchema), + z.lazy(() => FortyEight$outboundSchema), + z.lazy(() => FiftyThree$outboundSchema), + z.lazy(() => FiftyFour$outboundSchema), z.lazy(() => SeventyThree$outboundSchema), + z.lazy(() => SeventyFour$outboundSchema), z.lazy(() => SeventyFive$outboundSchema), - z.lazy(() => SeventySix$outboundSchema), - z.lazy(() => SeventyNine$outboundSchema), - z.lazy(() => Eighty$outboundSchema), - z.lazy(() => EightyThree$outboundSchema), - z.lazy(() => EightyFour$outboundSchema), - z.lazy(() => EightyEight$outboundSchema), - z.lazy(() => EightyNine$outboundSchema), - z.lazy(() => NinetySeven$outboundSchema), - z.lazy(() => NinetyEight$outboundSchema), - z.lazy(() => OneHundredAndTwo$outboundSchema), + z.lazy(() => SeventySeven$outboundSchema), + z.lazy(() => SeventyEight$outboundSchema), + z.lazy(() => EightyOne$outboundSchema), + z.lazy(() => EightyTwo$outboundSchema), + z.lazy(() => EightyFive$outboundSchema), + z.lazy(() => EightySix$outboundSchema), + z.lazy(() => Ninety$outboundSchema), + z.lazy(() => NinetyOne$outboundSchema), + z.lazy(() => NinetyNine$outboundSchema), + z.lazy(() => OneHundred$outboundSchema), z.lazy(() => OneHundredAndFour$outboundSchema), - z.lazy(() => OneHundredAndFive$outboundSchema), z.lazy(() => OneHundredAndSix$outboundSchema), - z.lazy(() => OneHundredAndNine$outboundSchema), - z.lazy(() => OneHundredAndTen$outboundSchema), + z.lazy(() => OneHundredAndSeven$outboundSchema), + z.lazy(() => OneHundredAndEight$outboundSchema), z.lazy(() => OneHundredAndEleven$outboundSchema), - z.lazy(() => OneHundredAndFifteen$outboundSchema), - z.lazy(() => OneHundredAndSixteen$outboundSchema), - z.lazy(() => OneHundredAndNineteen$outboundSchema), - z.lazy(() => OneHundredAndTwentyFive$outboundSchema), + z.lazy(() => OneHundredAndTwelve$outboundSchema), + z.lazy(() => OneHundredAndThirteen$outboundSchema), + z.lazy(() => OneHundredAndSeventeen$outboundSchema), + z.lazy(() => OneHundredAndEighteen$outboundSchema), + z.lazy(() => OneHundredAndTwentyOne$outboundSchema), z.lazy(() => OneHundredAndTwentySeven$outboundSchema), - z.lazy(() => OneHundredAndThirtyOne$outboundSchema), - z.lazy(() => OneHundredAndThirtyTwo$outboundSchema), + z.lazy(() => OneHundredAndTwentyNine$outboundSchema), z.lazy(() => OneHundredAndThirtyThree$outboundSchema), - z.lazy(() => OneHundredAndFortyOne$outboundSchema), - z.lazy(() => OneHundredAndFortySeven$outboundSchema), - z.lazy(() => OneHundredAndFiftyThree$outboundSchema), - z.lazy(() => OneHundredAndFiftySeven$outboundSchema), + z.lazy(() => OneHundredAndThirtyFour$outboundSchema), + z.lazy(() => OneHundredAndThirtyFive$outboundSchema), + z.lazy(() => OneHundredAndFortyThree$outboundSchema), + z.lazy(() => OneHundredAndFortyNine$outboundSchema), + z.lazy(() => OneHundredAndFiftyFive$outboundSchema), z.lazy(() => OneHundredAndFiftyNine$outboundSchema), z.lazy(() => OneHundredAndSixty$outboundSchema), + z.lazy(() => OneHundredAndSixtyOne$outboundSchema), + z.lazy(() => OneHundredAndSixtyTwo$outboundSchema), + z.lazy(() => OneHundredAndSixtyThree$outboundSchema), z.lazy(() => Payload1$outboundSchema), z.lazy(() => Seven$outboundSchema), z.lazy(() => Eight$outboundSchema), @@ -30568,37 +25261,25 @@ export const Payload$outboundSchema: z.ZodType< z.lazy(() => Nineteen$outboundSchema), z.lazy(() => TwentyOne$outboundSchema), z.lazy(() => TwentyFive$outboundSchema), - z.lazy(() => FiftyFive$outboundSchema), - z.lazy(() => FiftySix$outboundSchema), + z.lazy(() => TwentySix$outboundSchema), + z.lazy(() => TwentySeven$outboundSchema), z.lazy(() => FiftySeven$outboundSchema), - z.lazy(() => OneHundredAndSeven$outboundSchema), - z.lazy(() => OneHundredAndThirteen$outboundSchema), - z.lazy(() => OneHundredAndFourteen$outboundSchema), - z.lazy(() => OneHundredAndTwenty$outboundSchema), - z.lazy(() => OneHundredAndTwentyOne$outboundSchema), + z.lazy(() => FiftyEight$outboundSchema), + z.lazy(() => FiftyNine$outboundSchema), + z.lazy(() => OneHundredAndNine$outboundSchema), + z.lazy(() => OneHundredAndFifteen$outboundSchema), + z.lazy(() => OneHundredAndSixteen$outboundSchema), z.lazy(() => OneHundredAndTwentyTwo$outboundSchema), - z.lazy(() => OneHundredAndTwentyEight$outboundSchema), - z.lazy(() => OneHundredAndTwentyNine$outboundSchema), + z.lazy(() => OneHundredAndTwentyThree$outboundSchema), + z.lazy(() => OneHundredAndTwentyFour$outboundSchema), z.lazy(() => OneHundredAndThirty$outboundSchema), + z.lazy(() => OneHundredAndThirtyOne$outboundSchema), + z.lazy(() => OneHundredAndThirtyTwo$outboundSchema), ]); -/** - * @internal - * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. - */ -export namespace Payload$ { - /** @deprecated use `Payload$inboundSchema` instead. */ - export const inboundSchema = Payload$inboundSchema; - /** @deprecated use `Payload$outboundSchema` instead. */ - export const outboundSchema = Payload$outboundSchema; - /** @deprecated use `Payload$Outbound` instead. */ - export type Outbound = Payload$Outbound; -} - export function payloadToJSON(payload: Payload): string { return JSON.stringify(Payload$outboundSchema.parse(payload)); } - export function payloadFromJSON( jsonString: string, ): SafeParseResult { @@ -30634,147 +25315,148 @@ export const UserEvent$inboundSchema: z.ZodType< principalId: z.string(), viaIds: z.array(z.string()).optional(), payload: z.union([ + z.lazy(() => SeventyTwo$inboundSchema), + z.lazy(() => SixtyEight$inboundSchema), + z.lazy(() => SeventyOne$inboundSchema), + z.lazy(() => FortyTwo$inboundSchema), + z.lazy(() => FortyThree$inboundSchema), + z.lazy(() => FiftyFive$inboundSchema), + z.lazy(() => Sixty$inboundSchema), z.lazy(() => SixtySix$inboundSchema), z.lazy(() => SixtyNine$inboundSchema), - z.lazy(() => Seventy$inboundSchema), - z.lazy(() => Forty$inboundSchema), - z.lazy(() => FortyOne$inboundSchema), - z.lazy(() => FiftyThree$inboundSchema), - z.lazy(() => FiftyEight$inboundSchema), - z.lazy(() => SixtyFour$inboundSchema), - z.lazy(() => SixtySeven$inboundSchema), - z.lazy(() => OneHundredAndThirtyFour$inboundSchema), - z.lazy(() => OneHundredAndSixtyFour$inboundSchema), + z.lazy(() => OneHundredAndThirtySix$inboundSchema), + z.lazy(() => OneHundredAndSixtySeven$inboundSchema), z.lazy(() => Payload2$inboundSchema), - z.lazy(() => FortyFive$inboundSchema), - z.lazy(() => SixtyEight$inboundSchema), - z.lazy(() => OneHundredAndThree$inboundSchema), - z.lazy(() => OneHundredAndFortyFive$inboundSchema), + z.lazy(() => FortySeven$inboundSchema), + z.lazy(() => Seventy$inboundSchema), + z.lazy(() => OneHundredAndFive$inboundSchema), + z.lazy(() => OneHundredAndFortySeven$inboundSchema), z.lazy(() => Twelve$inboundSchema), z.lazy(() => Sixteen$inboundSchema), - z.lazy(() => TwentyNine$inboundSchema), - z.lazy(() => Thirty$inboundSchema), z.lazy(() => ThirtyOne$inboundSchema), z.lazy(() => ThirtyTwo$inboundSchema), - z.lazy(() => ThirtyNine$inboundSchema), - z.lazy(() => FortyEight$inboundSchema), - z.lazy(() => FortyNine$inboundSchema), + z.lazy(() => ThirtyThree$inboundSchema), + z.lazy(() => ThirtyFour$inboundSchema), + z.lazy(() => FortyOne$inboundSchema), z.lazy(() => Fifty$inboundSchema), - z.lazy(() => FiftyNine$inboundSchema), - z.lazy(() => Sixty$inboundSchema), + z.lazy(() => FiftyOne$inboundSchema), + z.lazy(() => FiftyTwo$inboundSchema), z.lazy(() => SixtyOne$inboundSchema), + z.lazy(() => SixtyTwo$inboundSchema), z.lazy(() => SixtyThree$inboundSchema), - z.lazy(() => SeventyFour$inboundSchema), - z.lazy(() => SeventyEight$inboundSchema), - z.lazy(() => EightyOne$inboundSchema), - z.lazy(() => EightyTwo$inboundSchema), - z.lazy(() => NinetyFour$inboundSchema), - z.lazy(() => OneHundredAndTwelve$inboundSchema), - z.lazy(() => OneHundredAndThirtySix$inboundSchema), - z.lazy(() => OneHundredAndThirtySeven$inboundSchema), - z.lazy(() => OneHundredAndFortyFour$inboundSchema), + z.lazy(() => SixtyFive$inboundSchema), + z.lazy(() => SeventySix$inboundSchema), + z.lazy(() => Eighty$inboundSchema), + z.lazy(() => EightyThree$inboundSchema), + z.lazy(() => EightyFour$inboundSchema), + z.lazy(() => NinetySix$inboundSchema), + z.lazy(() => OneHundredAndFourteen$inboundSchema), + z.lazy(() => OneHundredAndThirtyEight$inboundSchema), + z.lazy(() => OneHundredAndThirtyNine$inboundSchema), z.lazy(() => OneHundredAndFortySix$inboundSchema), z.lazy(() => OneHundredAndFortyEight$inboundSchema), - z.lazy(() => OneHundredAndFiftyOne$inboundSchema), - z.lazy(() => OneHundredAndSixtyOne$inboundSchema), - z.lazy(() => OneHundredAndSixtyTwo$inboundSchema), - z.lazy(() => OneHundredAndSixtyThree$inboundSchema), + z.lazy(() => OneHundredAndFifty$inboundSchema), + z.lazy(() => OneHundredAndFiftyThree$inboundSchema), + z.lazy(() => OneHundredAndSixtyFour$inboundSchema), + z.lazy(() => OneHundredAndSixtyFive$inboundSchema), + z.lazy(() => OneHundredAndSixtySix$inboundSchema), z.lazy(() => Four$inboundSchema), z.lazy(() => Five$inboundSchema), z.lazy(() => Six$inboundSchema), z.lazy(() => Seventeen$inboundSchema), z.lazy(() => Eighteen$inboundSchema), z.lazy(() => TwentyThree$inboundSchema), - z.lazy(() => TwentySeven$inboundSchema), - z.lazy(() => ThirtyFour$inboundSchema), - z.lazy(() => ThirtyFive$inboundSchema), + z.lazy(() => TwentyNine$inboundSchema), z.lazy(() => ThirtySix$inboundSchema), - z.lazy(() => FortyThree$inboundSchema), - z.lazy(() => FortyFour$inboundSchema), - z.lazy(() => FortySeven$inboundSchema), - z.lazy(() => FiftyFour$inboundSchema), - z.lazy(() => SixtyTwo$inboundSchema), - z.lazy(() => SixtyFive$inboundSchema), - z.lazy(() => SeventySeven$inboundSchema), - z.lazy(() => EightyFive$inboundSchema), - z.lazy(() => EightySix$inboundSchema), + z.lazy(() => ThirtySeven$inboundSchema), + z.lazy(() => ThirtyEight$inboundSchema), + z.lazy(() => FortyFive$inboundSchema), + z.lazy(() => FortySix$inboundSchema), + z.lazy(() => FortyNine$inboundSchema), + z.lazy(() => FiftySix$inboundSchema), + z.lazy(() => SixtyFour$inboundSchema), + z.lazy(() => SixtySeven$inboundSchema), + z.lazy(() => SeventyNine$inboundSchema), z.lazy(() => EightySeven$inboundSchema), - z.lazy(() => Ninety$inboundSchema), - z.lazy(() => NinetyOne$inboundSchema), + z.lazy(() => EightyEight$inboundSchema), + z.lazy(() => EightyNine$inboundSchema), z.lazy(() => NinetyTwo$inboundSchema), z.lazy(() => NinetyThree$inboundSchema), + z.lazy(() => NinetyFour$inboundSchema), z.lazy(() => NinetyFive$inboundSchema), - z.lazy(() => NinetySix$inboundSchema), - z.lazy(() => NinetyNine$inboundSchema), - z.lazy(() => OneHundred$inboundSchema), + z.lazy(() => NinetySeven$inboundSchema), + z.lazy(() => NinetyEight$inboundSchema), z.lazy(() => OneHundredAndOne$inboundSchema), - z.lazy(() => OneHundredAndEight$inboundSchema), - z.lazy(() => OneHundredAndSeventeen$inboundSchema), - z.lazy(() => OneHundredAndEighteen$inboundSchema), - z.lazy(() => OneHundredAndTwentyThree$inboundSchema), - z.lazy(() => OneHundredAndTwentyFour$inboundSchema), + z.lazy(() => OneHundredAndTwo$inboundSchema), + z.lazy(() => OneHundredAndThree$inboundSchema), + z.lazy(() => OneHundredAndTen$inboundSchema), + z.lazy(() => OneHundredAndNineteen$inboundSchema), + z.lazy(() => OneHundredAndTwenty$inboundSchema), + z.lazy(() => OneHundredAndTwentyFive$inboundSchema), z.lazy(() => OneHundredAndTwentySix$inboundSchema), - z.lazy(() => OneHundredAndThirtyFive$inboundSchema), - z.lazy(() => OneHundredAndThirtyEight$inboundSchema), - z.lazy(() => OneHundredAndThirtyNine$inboundSchema), + z.lazy(() => OneHundredAndTwentyEight$inboundSchema), + z.lazy(() => OneHundredAndThirtySeven$inboundSchema), z.lazy(() => OneHundredAndForty$inboundSchema), + z.lazy(() => OneHundredAndFortyOne$inboundSchema), z.lazy(() => OneHundredAndFortyTwo$inboundSchema), - z.lazy(() => OneHundredAndFortyThree$inboundSchema), - z.lazy(() => OneHundredAndFortyNine$inboundSchema), - z.lazy(() => OneHundredAndFifty$inboundSchema), + z.lazy(() => OneHundredAndFortyFour$inboundSchema), + z.lazy(() => OneHundredAndFortyFive$inboundSchema), + z.lazy(() => OneHundredAndFiftyOne$inboundSchema), z.lazy(() => OneHundredAndFiftyTwo$inboundSchema), z.lazy(() => OneHundredAndFiftyFour$inboundSchema), - z.lazy(() => OneHundredAndFiftyFive$inboundSchema), z.lazy(() => OneHundredAndFiftySix$inboundSchema), + z.lazy(() => OneHundredAndFiftySeven$inboundSchema), z.lazy(() => OneHundredAndFiftyEight$inboundSchema), z.lazy(() => Three$inboundSchema), z.lazy(() => Fifteen$inboundSchema), z.lazy(() => Twenty$inboundSchema), z.lazy(() => TwentyTwo$inboundSchema), z.lazy(() => TwentyFour$inboundSchema), - z.lazy(() => TwentySix$inboundSchema), z.lazy(() => TwentyEight$inboundSchema), - z.lazy(() => ThirtyThree$inboundSchema), - z.lazy(() => ThirtySeven$inboundSchema), - z.lazy(() => ThirtyEight$inboundSchema), - z.lazy(() => FortyTwo$inboundSchema), - z.lazy(() => FortySix$inboundSchema), - z.lazy(() => FiftyOne$inboundSchema), - z.lazy(() => FiftyTwo$inboundSchema), - z.lazy(() => SeventyOne$inboundSchema), - z.lazy(() => SeventyTwo$inboundSchema), + z.lazy(() => Thirty$inboundSchema), + z.lazy(() => ThirtyFive$inboundSchema), + z.lazy(() => ThirtyNine$inboundSchema), + z.lazy(() => Forty$inboundSchema), + z.lazy(() => FortyFour$inboundSchema), + z.lazy(() => FortyEight$inboundSchema), + z.lazy(() => FiftyThree$inboundSchema), + z.lazy(() => FiftyFour$inboundSchema), z.lazy(() => SeventyThree$inboundSchema), + z.lazy(() => SeventyFour$inboundSchema), z.lazy(() => SeventyFive$inboundSchema), - z.lazy(() => SeventySix$inboundSchema), - z.lazy(() => SeventyNine$inboundSchema), - z.lazy(() => Eighty$inboundSchema), - z.lazy(() => EightyThree$inboundSchema), - z.lazy(() => EightyFour$inboundSchema), - z.lazy(() => EightyEight$inboundSchema), - z.lazy(() => EightyNine$inboundSchema), - z.lazy(() => NinetySeven$inboundSchema), - z.lazy(() => NinetyEight$inboundSchema), - z.lazy(() => OneHundredAndTwo$inboundSchema), + z.lazy(() => SeventySeven$inboundSchema), + z.lazy(() => SeventyEight$inboundSchema), + z.lazy(() => EightyOne$inboundSchema), + z.lazy(() => EightyTwo$inboundSchema), + z.lazy(() => EightyFive$inboundSchema), + z.lazy(() => EightySix$inboundSchema), + z.lazy(() => Ninety$inboundSchema), + z.lazy(() => NinetyOne$inboundSchema), + z.lazy(() => NinetyNine$inboundSchema), + z.lazy(() => OneHundred$inboundSchema), z.lazy(() => OneHundredAndFour$inboundSchema), - z.lazy(() => OneHundredAndFive$inboundSchema), z.lazy(() => OneHundredAndSix$inboundSchema), - z.lazy(() => OneHundredAndNine$inboundSchema), - z.lazy(() => OneHundredAndTen$inboundSchema), + z.lazy(() => OneHundredAndSeven$inboundSchema), + z.lazy(() => OneHundredAndEight$inboundSchema), z.lazy(() => OneHundredAndEleven$inboundSchema), - z.lazy(() => OneHundredAndFifteen$inboundSchema), - z.lazy(() => OneHundredAndSixteen$inboundSchema), - z.lazy(() => OneHundredAndNineteen$inboundSchema), - z.lazy(() => OneHundredAndTwentyFive$inboundSchema), + z.lazy(() => OneHundredAndTwelve$inboundSchema), + z.lazy(() => OneHundredAndThirteen$inboundSchema), + z.lazy(() => OneHundredAndSeventeen$inboundSchema), + z.lazy(() => OneHundredAndEighteen$inboundSchema), + z.lazy(() => OneHundredAndTwentyOne$inboundSchema), z.lazy(() => OneHundredAndTwentySeven$inboundSchema), - z.lazy(() => OneHundredAndThirtyOne$inboundSchema), - z.lazy(() => OneHundredAndThirtyTwo$inboundSchema), + z.lazy(() => OneHundredAndTwentyNine$inboundSchema), z.lazy(() => OneHundredAndThirtyThree$inboundSchema), - z.lazy(() => OneHundredAndFortyOne$inboundSchema), - z.lazy(() => OneHundredAndFortySeven$inboundSchema), - z.lazy(() => OneHundredAndFiftyThree$inboundSchema), - z.lazy(() => OneHundredAndFiftySeven$inboundSchema), + z.lazy(() => OneHundredAndThirtyFour$inboundSchema), + z.lazy(() => OneHundredAndThirtyFive$inboundSchema), + z.lazy(() => OneHundredAndFortyThree$inboundSchema), + z.lazy(() => OneHundredAndFortyNine$inboundSchema), + z.lazy(() => OneHundredAndFiftyFive$inboundSchema), z.lazy(() => OneHundredAndFiftyNine$inboundSchema), z.lazy(() => OneHundredAndSixty$inboundSchema), + z.lazy(() => OneHundredAndSixtyOne$inboundSchema), + z.lazy(() => OneHundredAndSixtyTwo$inboundSchema), + z.lazy(() => OneHundredAndSixtyThree$inboundSchema), z.lazy(() => Payload1$inboundSchema), z.lazy(() => Seven$inboundSchema), z.lazy(() => Eight$inboundSchema), @@ -30786,21 +25468,22 @@ export const UserEvent$inboundSchema: z.ZodType< z.lazy(() => Nineteen$inboundSchema), z.lazy(() => TwentyOne$inboundSchema), z.lazy(() => TwentyFive$inboundSchema), - z.lazy(() => FiftyFive$inboundSchema), - z.lazy(() => FiftySix$inboundSchema), + z.lazy(() => TwentySix$inboundSchema), + z.lazy(() => TwentySeven$inboundSchema), z.lazy(() => FiftySeven$inboundSchema), - z.lazy(() => OneHundredAndSeven$inboundSchema), - z.lazy(() => OneHundredAndThirteen$inboundSchema), - z.lazy(() => OneHundredAndFourteen$inboundSchema), - z.lazy(() => OneHundredAndTwenty$inboundSchema), - z.lazy(() => OneHundredAndTwentyOne$inboundSchema), + z.lazy(() => FiftyEight$inboundSchema), + z.lazy(() => FiftyNine$inboundSchema), + z.lazy(() => OneHundredAndNine$inboundSchema), + z.lazy(() => OneHundredAndFifteen$inboundSchema), + z.lazy(() => OneHundredAndSixteen$inboundSchema), z.lazy(() => OneHundredAndTwentyTwo$inboundSchema), - z.lazy(() => OneHundredAndTwentyEight$inboundSchema), - z.lazy(() => OneHundredAndTwentyNine$inboundSchema), + z.lazy(() => OneHundredAndTwentyThree$inboundSchema), + z.lazy(() => OneHundredAndTwentyFour$inboundSchema), z.lazy(() => OneHundredAndThirty$inboundSchema), + z.lazy(() => OneHundredAndThirtyOne$inboundSchema), + z.lazy(() => OneHundredAndThirtyTwo$inboundSchema), ]).optional(), }); - /** @internal */ export type UserEvent$Outbound = { id: string; @@ -30814,147 +25497,148 @@ export type UserEvent$Outbound = { principalId: string; viaIds?: Array | undefined; payload?: + | SeventyTwo$Outbound + | SixtyEight$Outbound + | SeventyOne$Outbound + | FortyTwo$Outbound + | FortyThree$Outbound + | FiftyFive$Outbound + | Sixty$Outbound | SixtySix$Outbound | SixtyNine$Outbound - | Seventy$Outbound - | Forty$Outbound - | FortyOne$Outbound - | FiftyThree$Outbound - | FiftyEight$Outbound - | SixtyFour$Outbound - | SixtySeven$Outbound - | OneHundredAndThirtyFour$Outbound - | OneHundredAndSixtyFour$Outbound + | OneHundredAndThirtySix$Outbound + | OneHundredAndSixtySeven$Outbound | Payload2$Outbound - | FortyFive$Outbound - | SixtyEight$Outbound - | OneHundredAndThree$Outbound - | OneHundredAndFortyFive$Outbound + | FortySeven$Outbound + | Seventy$Outbound + | OneHundredAndFive$Outbound + | OneHundredAndFortySeven$Outbound | Twelve$Outbound | Sixteen$Outbound - | TwentyNine$Outbound - | Thirty$Outbound | ThirtyOne$Outbound | ThirtyTwo$Outbound - | ThirtyNine$Outbound - | FortyEight$Outbound - | FortyNine$Outbound + | ThirtyThree$Outbound + | ThirtyFour$Outbound + | FortyOne$Outbound | Fifty$Outbound - | FiftyNine$Outbound - | Sixty$Outbound + | FiftyOne$Outbound + | FiftyTwo$Outbound | SixtyOne$Outbound + | SixtyTwo$Outbound | SixtyThree$Outbound - | SeventyFour$Outbound - | SeventyEight$Outbound - | EightyOne$Outbound - | EightyTwo$Outbound - | NinetyFour$Outbound - | OneHundredAndTwelve$Outbound - | OneHundredAndThirtySix$Outbound - | OneHundredAndThirtySeven$Outbound - | OneHundredAndFortyFour$Outbound + | SixtyFive$Outbound + | SeventySix$Outbound + | Eighty$Outbound + | EightyThree$Outbound + | EightyFour$Outbound + | NinetySix$Outbound + | OneHundredAndFourteen$Outbound + | OneHundredAndThirtyEight$Outbound + | OneHundredAndThirtyNine$Outbound | OneHundredAndFortySix$Outbound | OneHundredAndFortyEight$Outbound - | OneHundredAndFiftyOne$Outbound - | OneHundredAndSixtyOne$Outbound - | OneHundredAndSixtyTwo$Outbound - | OneHundredAndSixtyThree$Outbound + | OneHundredAndFifty$Outbound + | OneHundredAndFiftyThree$Outbound + | OneHundredAndSixtyFour$Outbound + | OneHundredAndSixtyFive$Outbound + | OneHundredAndSixtySix$Outbound | Four$Outbound | Five$Outbound | Six$Outbound | Seventeen$Outbound | Eighteen$Outbound | TwentyThree$Outbound - | TwentySeven$Outbound - | ThirtyFour$Outbound - | ThirtyFive$Outbound + | TwentyNine$Outbound | ThirtySix$Outbound - | FortyThree$Outbound - | FortyFour$Outbound - | FortySeven$Outbound - | FiftyFour$Outbound - | SixtyTwo$Outbound - | SixtyFive$Outbound - | SeventySeven$Outbound - | EightyFive$Outbound - | EightySix$Outbound + | ThirtySeven$Outbound + | ThirtyEight$Outbound + | FortyFive$Outbound + | FortySix$Outbound + | FortyNine$Outbound + | FiftySix$Outbound + | SixtyFour$Outbound + | SixtySeven$Outbound + | SeventyNine$Outbound | EightySeven$Outbound - | Ninety$Outbound - | NinetyOne$Outbound + | EightyEight$Outbound + | EightyNine$Outbound | NinetyTwo$Outbound | NinetyThree$Outbound + | NinetyFour$Outbound | NinetyFive$Outbound - | NinetySix$Outbound - | NinetyNine$Outbound - | OneHundred$Outbound + | NinetySeven$Outbound + | NinetyEight$Outbound | OneHundredAndOne$Outbound - | OneHundredAndEight$Outbound - | OneHundredAndSeventeen$Outbound - | OneHundredAndEighteen$Outbound - | OneHundredAndTwentyThree$Outbound - | OneHundredAndTwentyFour$Outbound + | OneHundredAndTwo$Outbound + | OneHundredAndThree$Outbound + | OneHundredAndTen$Outbound + | OneHundredAndNineteen$Outbound + | OneHundredAndTwenty$Outbound + | OneHundredAndTwentyFive$Outbound | OneHundredAndTwentySix$Outbound - | OneHundredAndThirtyFive$Outbound - | OneHundredAndThirtyEight$Outbound - | OneHundredAndThirtyNine$Outbound + | OneHundredAndTwentyEight$Outbound + | OneHundredAndThirtySeven$Outbound | OneHundredAndForty$Outbound + | OneHundredAndFortyOne$Outbound | OneHundredAndFortyTwo$Outbound - | OneHundredAndFortyThree$Outbound - | OneHundredAndFortyNine$Outbound - | OneHundredAndFifty$Outbound + | OneHundredAndFortyFour$Outbound + | OneHundredAndFortyFive$Outbound + | OneHundredAndFiftyOne$Outbound | OneHundredAndFiftyTwo$Outbound | OneHundredAndFiftyFour$Outbound - | OneHundredAndFiftyFive$Outbound | OneHundredAndFiftySix$Outbound + | OneHundredAndFiftySeven$Outbound | OneHundredAndFiftyEight$Outbound | Three$Outbound | Fifteen$Outbound | Twenty$Outbound | TwentyTwo$Outbound | TwentyFour$Outbound - | TwentySix$Outbound | TwentyEight$Outbound - | ThirtyThree$Outbound - | ThirtySeven$Outbound - | ThirtyEight$Outbound - | FortyTwo$Outbound - | FortySix$Outbound - | FiftyOne$Outbound - | FiftyTwo$Outbound - | SeventyOne$Outbound - | SeventyTwo$Outbound + | Thirty$Outbound + | ThirtyFive$Outbound + | ThirtyNine$Outbound + | Forty$Outbound + | FortyFour$Outbound + | FortyEight$Outbound + | FiftyThree$Outbound + | FiftyFour$Outbound | SeventyThree$Outbound + | SeventyFour$Outbound | SeventyFive$Outbound - | SeventySix$Outbound - | SeventyNine$Outbound - | Eighty$Outbound - | EightyThree$Outbound - | EightyFour$Outbound - | EightyEight$Outbound - | EightyNine$Outbound - | NinetySeven$Outbound - | NinetyEight$Outbound - | OneHundredAndTwo$Outbound + | SeventySeven$Outbound + | SeventyEight$Outbound + | EightyOne$Outbound + | EightyTwo$Outbound + | EightyFive$Outbound + | EightySix$Outbound + | Ninety$Outbound + | NinetyOne$Outbound + | NinetyNine$Outbound + | OneHundred$Outbound | OneHundredAndFour$Outbound - | OneHundredAndFive$Outbound | OneHundredAndSix$Outbound - | OneHundredAndNine$Outbound - | OneHundredAndTen$Outbound - | OneHundredAndEleven$Outbound - | OneHundredAndFifteen$Outbound - | OneHundredAndSixteen$Outbound - | OneHundredAndNineteen$Outbound - | OneHundredAndTwentyFive$Outbound + | OneHundredAndSeven$Outbound + | OneHundredAndEight$Outbound + | OneHundredAndEleven$Outbound + | OneHundredAndTwelve$Outbound + | OneHundredAndThirteen$Outbound + | OneHundredAndSeventeen$Outbound + | OneHundredAndEighteen$Outbound + | OneHundredAndTwentyOne$Outbound | OneHundredAndTwentySeven$Outbound - | OneHundredAndThirtyOne$Outbound - | OneHundredAndThirtyTwo$Outbound + | OneHundredAndTwentyNine$Outbound | OneHundredAndThirtyThree$Outbound - | OneHundredAndFortyOne$Outbound - | OneHundredAndFortySeven$Outbound - | OneHundredAndFiftyThree$Outbound - | OneHundredAndFiftySeven$Outbound + | OneHundredAndThirtyFour$Outbound + | OneHundredAndThirtyFive$Outbound + | OneHundredAndFortyThree$Outbound + | OneHundredAndFortyNine$Outbound + | OneHundredAndFiftyFive$Outbound | OneHundredAndFiftyNine$Outbound | OneHundredAndSixty$Outbound + | OneHundredAndSixtyOne$Outbound + | OneHundredAndSixtyTwo$Outbound + | OneHundredAndSixtyThree$Outbound | Payload1$Outbound | Seven$Outbound | Eight$Outbound @@ -30966,18 +25650,20 @@ export type UserEvent$Outbound = { | Nineteen$Outbound | TwentyOne$Outbound | TwentyFive$Outbound - | FiftyFive$Outbound - | FiftySix$Outbound + | TwentySix$Outbound + | TwentySeven$Outbound | FiftySeven$Outbound - | OneHundredAndSeven$Outbound - | OneHundredAndThirteen$Outbound - | OneHundredAndFourteen$Outbound - | OneHundredAndTwenty$Outbound - | OneHundredAndTwentyOne$Outbound + | FiftyEight$Outbound + | FiftyNine$Outbound + | OneHundredAndNine$Outbound + | OneHundredAndFifteen$Outbound + | OneHundredAndSixteen$Outbound | OneHundredAndTwentyTwo$Outbound - | OneHundredAndTwentyEight$Outbound - | OneHundredAndTwentyNine$Outbound + | OneHundredAndTwentyThree$Outbound + | OneHundredAndTwentyFour$Outbound | OneHundredAndThirty$Outbound + | OneHundredAndThirtyOne$Outbound + | OneHundredAndThirtyTwo$Outbound | undefined; }; @@ -31006,147 +25692,148 @@ export const UserEvent$outboundSchema: z.ZodType< principalId: z.string(), viaIds: z.array(z.string()).optional(), payload: z.union([ + z.lazy(() => SeventyTwo$outboundSchema), + z.lazy(() => SixtyEight$outboundSchema), + z.lazy(() => SeventyOne$outboundSchema), + z.lazy(() => FortyTwo$outboundSchema), + z.lazy(() => FortyThree$outboundSchema), + z.lazy(() => FiftyFive$outboundSchema), + z.lazy(() => Sixty$outboundSchema), z.lazy(() => SixtySix$outboundSchema), z.lazy(() => SixtyNine$outboundSchema), - z.lazy(() => Seventy$outboundSchema), - z.lazy(() => Forty$outboundSchema), - z.lazy(() => FortyOne$outboundSchema), - z.lazy(() => FiftyThree$outboundSchema), - z.lazy(() => FiftyEight$outboundSchema), - z.lazy(() => SixtyFour$outboundSchema), - z.lazy(() => SixtySeven$outboundSchema), - z.lazy(() => OneHundredAndThirtyFour$outboundSchema), - z.lazy(() => OneHundredAndSixtyFour$outboundSchema), + z.lazy(() => OneHundredAndThirtySix$outboundSchema), + z.lazy(() => OneHundredAndSixtySeven$outboundSchema), z.lazy(() => Payload2$outboundSchema), - z.lazy(() => FortyFive$outboundSchema), - z.lazy(() => SixtyEight$outboundSchema), - z.lazy(() => OneHundredAndThree$outboundSchema), - z.lazy(() => OneHundredAndFortyFive$outboundSchema), + z.lazy(() => FortySeven$outboundSchema), + z.lazy(() => Seventy$outboundSchema), + z.lazy(() => OneHundredAndFive$outboundSchema), + z.lazy(() => OneHundredAndFortySeven$outboundSchema), z.lazy(() => Twelve$outboundSchema), z.lazy(() => Sixteen$outboundSchema), - z.lazy(() => TwentyNine$outboundSchema), - z.lazy(() => Thirty$outboundSchema), z.lazy(() => ThirtyOne$outboundSchema), z.lazy(() => ThirtyTwo$outboundSchema), - z.lazy(() => ThirtyNine$outboundSchema), - z.lazy(() => FortyEight$outboundSchema), - z.lazy(() => FortyNine$outboundSchema), + z.lazy(() => ThirtyThree$outboundSchema), + z.lazy(() => ThirtyFour$outboundSchema), + z.lazy(() => FortyOne$outboundSchema), z.lazy(() => Fifty$outboundSchema), - z.lazy(() => FiftyNine$outboundSchema), - z.lazy(() => Sixty$outboundSchema), + z.lazy(() => FiftyOne$outboundSchema), + z.lazy(() => FiftyTwo$outboundSchema), z.lazy(() => SixtyOne$outboundSchema), + z.lazy(() => SixtyTwo$outboundSchema), z.lazy(() => SixtyThree$outboundSchema), - z.lazy(() => SeventyFour$outboundSchema), - z.lazy(() => SeventyEight$outboundSchema), - z.lazy(() => EightyOne$outboundSchema), - z.lazy(() => EightyTwo$outboundSchema), - z.lazy(() => NinetyFour$outboundSchema), - z.lazy(() => OneHundredAndTwelve$outboundSchema), - z.lazy(() => OneHundredAndThirtySix$outboundSchema), - z.lazy(() => OneHundredAndThirtySeven$outboundSchema), - z.lazy(() => OneHundredAndFortyFour$outboundSchema), + z.lazy(() => SixtyFive$outboundSchema), + z.lazy(() => SeventySix$outboundSchema), + z.lazy(() => Eighty$outboundSchema), + z.lazy(() => EightyThree$outboundSchema), + z.lazy(() => EightyFour$outboundSchema), + z.lazy(() => NinetySix$outboundSchema), + z.lazy(() => OneHundredAndFourteen$outboundSchema), + z.lazy(() => OneHundredAndThirtyEight$outboundSchema), + z.lazy(() => OneHundredAndThirtyNine$outboundSchema), z.lazy(() => OneHundredAndFortySix$outboundSchema), z.lazy(() => OneHundredAndFortyEight$outboundSchema), - z.lazy(() => OneHundredAndFiftyOne$outboundSchema), - z.lazy(() => OneHundredAndSixtyOne$outboundSchema), - z.lazy(() => OneHundredAndSixtyTwo$outboundSchema), - z.lazy(() => OneHundredAndSixtyThree$outboundSchema), + z.lazy(() => OneHundredAndFifty$outboundSchema), + z.lazy(() => OneHundredAndFiftyThree$outboundSchema), + z.lazy(() => OneHundredAndSixtyFour$outboundSchema), + z.lazy(() => OneHundredAndSixtyFive$outboundSchema), + z.lazy(() => OneHundredAndSixtySix$outboundSchema), z.lazy(() => Four$outboundSchema), z.lazy(() => Five$outboundSchema), z.lazy(() => Six$outboundSchema), z.lazy(() => Seventeen$outboundSchema), z.lazy(() => Eighteen$outboundSchema), z.lazy(() => TwentyThree$outboundSchema), - z.lazy(() => TwentySeven$outboundSchema), - z.lazy(() => ThirtyFour$outboundSchema), - z.lazy(() => ThirtyFive$outboundSchema), + z.lazy(() => TwentyNine$outboundSchema), z.lazy(() => ThirtySix$outboundSchema), - z.lazy(() => FortyThree$outboundSchema), - z.lazy(() => FortyFour$outboundSchema), - z.lazy(() => FortySeven$outboundSchema), - z.lazy(() => FiftyFour$outboundSchema), - z.lazy(() => SixtyTwo$outboundSchema), - z.lazy(() => SixtyFive$outboundSchema), - z.lazy(() => SeventySeven$outboundSchema), - z.lazy(() => EightyFive$outboundSchema), - z.lazy(() => EightySix$outboundSchema), + z.lazy(() => ThirtySeven$outboundSchema), + z.lazy(() => ThirtyEight$outboundSchema), + z.lazy(() => FortyFive$outboundSchema), + z.lazy(() => FortySix$outboundSchema), + z.lazy(() => FortyNine$outboundSchema), + z.lazy(() => FiftySix$outboundSchema), + z.lazy(() => SixtyFour$outboundSchema), + z.lazy(() => SixtySeven$outboundSchema), + z.lazy(() => SeventyNine$outboundSchema), z.lazy(() => EightySeven$outboundSchema), - z.lazy(() => Ninety$outboundSchema), - z.lazy(() => NinetyOne$outboundSchema), + z.lazy(() => EightyEight$outboundSchema), + z.lazy(() => EightyNine$outboundSchema), z.lazy(() => NinetyTwo$outboundSchema), z.lazy(() => NinetyThree$outboundSchema), + z.lazy(() => NinetyFour$outboundSchema), z.lazy(() => NinetyFive$outboundSchema), - z.lazy(() => NinetySix$outboundSchema), - z.lazy(() => NinetyNine$outboundSchema), - z.lazy(() => OneHundred$outboundSchema), + z.lazy(() => NinetySeven$outboundSchema), + z.lazy(() => NinetyEight$outboundSchema), z.lazy(() => OneHundredAndOne$outboundSchema), - z.lazy(() => OneHundredAndEight$outboundSchema), - z.lazy(() => OneHundredAndSeventeen$outboundSchema), - z.lazy(() => OneHundredAndEighteen$outboundSchema), - z.lazy(() => OneHundredAndTwentyThree$outboundSchema), - z.lazy(() => OneHundredAndTwentyFour$outboundSchema), + z.lazy(() => OneHundredAndTwo$outboundSchema), + z.lazy(() => OneHundredAndThree$outboundSchema), + z.lazy(() => OneHundredAndTen$outboundSchema), + z.lazy(() => OneHundredAndNineteen$outboundSchema), + z.lazy(() => OneHundredAndTwenty$outboundSchema), + z.lazy(() => OneHundredAndTwentyFive$outboundSchema), z.lazy(() => OneHundredAndTwentySix$outboundSchema), - z.lazy(() => OneHundredAndThirtyFive$outboundSchema), - z.lazy(() => OneHundredAndThirtyEight$outboundSchema), - z.lazy(() => OneHundredAndThirtyNine$outboundSchema), + z.lazy(() => OneHundredAndTwentyEight$outboundSchema), + z.lazy(() => OneHundredAndThirtySeven$outboundSchema), z.lazy(() => OneHundredAndForty$outboundSchema), + z.lazy(() => OneHundredAndFortyOne$outboundSchema), z.lazy(() => OneHundredAndFortyTwo$outboundSchema), - z.lazy(() => OneHundredAndFortyThree$outboundSchema), - z.lazy(() => OneHundredAndFortyNine$outboundSchema), - z.lazy(() => OneHundredAndFifty$outboundSchema), + z.lazy(() => OneHundredAndFortyFour$outboundSchema), + z.lazy(() => OneHundredAndFortyFive$outboundSchema), + z.lazy(() => OneHundredAndFiftyOne$outboundSchema), z.lazy(() => OneHundredAndFiftyTwo$outboundSchema), z.lazy(() => OneHundredAndFiftyFour$outboundSchema), - z.lazy(() => OneHundredAndFiftyFive$outboundSchema), z.lazy(() => OneHundredAndFiftySix$outboundSchema), + z.lazy(() => OneHundredAndFiftySeven$outboundSchema), z.lazy(() => OneHundredAndFiftyEight$outboundSchema), z.lazy(() => Three$outboundSchema), z.lazy(() => Fifteen$outboundSchema), z.lazy(() => Twenty$outboundSchema), z.lazy(() => TwentyTwo$outboundSchema), z.lazy(() => TwentyFour$outboundSchema), - z.lazy(() => TwentySix$outboundSchema), z.lazy(() => TwentyEight$outboundSchema), - z.lazy(() => ThirtyThree$outboundSchema), - z.lazy(() => ThirtySeven$outboundSchema), - z.lazy(() => ThirtyEight$outboundSchema), - z.lazy(() => FortyTwo$outboundSchema), - z.lazy(() => FortySix$outboundSchema), - z.lazy(() => FiftyOne$outboundSchema), - z.lazy(() => FiftyTwo$outboundSchema), - z.lazy(() => SeventyOne$outboundSchema), - z.lazy(() => SeventyTwo$outboundSchema), + z.lazy(() => Thirty$outboundSchema), + z.lazy(() => ThirtyFive$outboundSchema), + z.lazy(() => ThirtyNine$outboundSchema), + z.lazy(() => Forty$outboundSchema), + z.lazy(() => FortyFour$outboundSchema), + z.lazy(() => FortyEight$outboundSchema), + z.lazy(() => FiftyThree$outboundSchema), + z.lazy(() => FiftyFour$outboundSchema), z.lazy(() => SeventyThree$outboundSchema), + z.lazy(() => SeventyFour$outboundSchema), z.lazy(() => SeventyFive$outboundSchema), - z.lazy(() => SeventySix$outboundSchema), - z.lazy(() => SeventyNine$outboundSchema), - z.lazy(() => Eighty$outboundSchema), - z.lazy(() => EightyThree$outboundSchema), - z.lazy(() => EightyFour$outboundSchema), - z.lazy(() => EightyEight$outboundSchema), - z.lazy(() => EightyNine$outboundSchema), - z.lazy(() => NinetySeven$outboundSchema), - z.lazy(() => NinetyEight$outboundSchema), - z.lazy(() => OneHundredAndTwo$outboundSchema), + z.lazy(() => SeventySeven$outboundSchema), + z.lazy(() => SeventyEight$outboundSchema), + z.lazy(() => EightyOne$outboundSchema), + z.lazy(() => EightyTwo$outboundSchema), + z.lazy(() => EightyFive$outboundSchema), + z.lazy(() => EightySix$outboundSchema), + z.lazy(() => Ninety$outboundSchema), + z.lazy(() => NinetyOne$outboundSchema), + z.lazy(() => NinetyNine$outboundSchema), + z.lazy(() => OneHundred$outboundSchema), z.lazy(() => OneHundredAndFour$outboundSchema), - z.lazy(() => OneHundredAndFive$outboundSchema), z.lazy(() => OneHundredAndSix$outboundSchema), - z.lazy(() => OneHundredAndNine$outboundSchema), - z.lazy(() => OneHundredAndTen$outboundSchema), + z.lazy(() => OneHundredAndSeven$outboundSchema), + z.lazy(() => OneHundredAndEight$outboundSchema), z.lazy(() => OneHundredAndEleven$outboundSchema), - z.lazy(() => OneHundredAndFifteen$outboundSchema), - z.lazy(() => OneHundredAndSixteen$outboundSchema), - z.lazy(() => OneHundredAndNineteen$outboundSchema), - z.lazy(() => OneHundredAndTwentyFive$outboundSchema), + z.lazy(() => OneHundredAndTwelve$outboundSchema), + z.lazy(() => OneHundredAndThirteen$outboundSchema), + z.lazy(() => OneHundredAndSeventeen$outboundSchema), + z.lazy(() => OneHundredAndEighteen$outboundSchema), + z.lazy(() => OneHundredAndTwentyOne$outboundSchema), z.lazy(() => OneHundredAndTwentySeven$outboundSchema), - z.lazy(() => OneHundredAndThirtyOne$outboundSchema), - z.lazy(() => OneHundredAndThirtyTwo$outboundSchema), + z.lazy(() => OneHundredAndTwentyNine$outboundSchema), z.lazy(() => OneHundredAndThirtyThree$outboundSchema), - z.lazy(() => OneHundredAndFortyOne$outboundSchema), - z.lazy(() => OneHundredAndFortySeven$outboundSchema), - z.lazy(() => OneHundredAndFiftyThree$outboundSchema), - z.lazy(() => OneHundredAndFiftySeven$outboundSchema), + z.lazy(() => OneHundredAndThirtyFour$outboundSchema), + z.lazy(() => OneHundredAndThirtyFive$outboundSchema), + z.lazy(() => OneHundredAndFortyThree$outboundSchema), + z.lazy(() => OneHundredAndFortyNine$outboundSchema), + z.lazy(() => OneHundredAndFiftyFive$outboundSchema), z.lazy(() => OneHundredAndFiftyNine$outboundSchema), z.lazy(() => OneHundredAndSixty$outboundSchema), + z.lazy(() => OneHundredAndSixtyOne$outboundSchema), + z.lazy(() => OneHundredAndSixtyTwo$outboundSchema), + z.lazy(() => OneHundredAndSixtyThree$outboundSchema), z.lazy(() => Payload1$outboundSchema), z.lazy(() => Seven$outboundSchema), z.lazy(() => Eight$outboundSchema), @@ -31158,38 +25845,26 @@ export const UserEvent$outboundSchema: z.ZodType< z.lazy(() => Nineteen$outboundSchema), z.lazy(() => TwentyOne$outboundSchema), z.lazy(() => TwentyFive$outboundSchema), - z.lazy(() => FiftyFive$outboundSchema), - z.lazy(() => FiftySix$outboundSchema), + z.lazy(() => TwentySix$outboundSchema), + z.lazy(() => TwentySeven$outboundSchema), z.lazy(() => FiftySeven$outboundSchema), - z.lazy(() => OneHundredAndSeven$outboundSchema), - z.lazy(() => OneHundredAndThirteen$outboundSchema), - z.lazy(() => OneHundredAndFourteen$outboundSchema), - z.lazy(() => OneHundredAndTwenty$outboundSchema), - z.lazy(() => OneHundredAndTwentyOne$outboundSchema), + z.lazy(() => FiftyEight$outboundSchema), + z.lazy(() => FiftyNine$outboundSchema), + z.lazy(() => OneHundredAndNine$outboundSchema), + z.lazy(() => OneHundredAndFifteen$outboundSchema), + z.lazy(() => OneHundredAndSixteen$outboundSchema), z.lazy(() => OneHundredAndTwentyTwo$outboundSchema), - z.lazy(() => OneHundredAndTwentyEight$outboundSchema), - z.lazy(() => OneHundredAndTwentyNine$outboundSchema), + z.lazy(() => OneHundredAndTwentyThree$outboundSchema), + z.lazy(() => OneHundredAndTwentyFour$outboundSchema), z.lazy(() => OneHundredAndThirty$outboundSchema), + z.lazy(() => OneHundredAndThirtyOne$outboundSchema), + z.lazy(() => OneHundredAndThirtyTwo$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 UserEvent$ { - /** @deprecated use `UserEvent$inboundSchema` instead. */ - export const inboundSchema = UserEvent$inboundSchema; - /** @deprecated use `UserEvent$outboundSchema` instead. */ - export const outboundSchema = UserEvent$outboundSchema; - /** @deprecated use `UserEvent$Outbound` instead. */ - export type Outbound = UserEvent$Outbound; -} - export function userEventToJSON(userEvent: UserEvent): string { return JSON.stringify(UserEvent$outboundSchema.parse(userEvent)); } - export function userEventFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/models/vercelbadrequesterror.ts b/src/models/vercelbadrequesterror.ts index 853d77f3c..a9c2a59c8 100644 --- a/src/models/vercelbadrequesterror.ts +++ b/src/models/vercelbadrequesterror.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -43,7 +43,6 @@ export const ErrorT$inboundSchema: z.ZodType = z code: z.string(), message: z.string(), }); - /** @internal */ export type ErrorT$Outbound = { code: string; @@ -60,23 +59,9 @@ export const ErrorT$outboundSchema: z.ZodType< 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 errorToJSON(errorT: ErrorT): string { return JSON.stringify(ErrorT$outboundSchema.parse(errorT)); } - export function errorFromJSON( jsonString: string, ): SafeParseResult { @@ -121,16 +106,3 @@ export const VercelBadRequestError$outboundSchema: z.ZodType< .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 index 2a63e3f23..197548cca 100644 --- a/src/models/vercelforbiddenerror.ts +++ b/src/models/vercelforbiddenerror.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -46,7 +46,6 @@ export const VercelForbiddenErrorError$inboundSchema: z.ZodType< code: z.string(), message: z.string(), }); - /** @internal */ export type VercelForbiddenErrorError$Outbound = { code: string; @@ -63,19 +62,6 @@ export const VercelForbiddenErrorError$outboundSchema: z.ZodType< 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 { @@ -83,7 +69,6 @@ export function vercelForbiddenErrorErrorToJSON( VercelForbiddenErrorError$outboundSchema.parse(vercelForbiddenErrorError), ); } - export function vercelForbiddenErrorErrorFromJSON( jsonString: string, ): SafeParseResult { @@ -128,16 +113,3 @@ export const VercelForbiddenError$outboundSchema: z.ZodType< .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 index f5e9e1021..e76148b93 100644 --- a/src/models/vercelnotfounderror.ts +++ b/src/models/vercelnotfounderror.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -46,7 +46,6 @@ export const VercelNotFoundErrorError$inboundSchema: z.ZodType< code: z.string(), message: z.string(), }); - /** @internal */ export type VercelNotFoundErrorError$Outbound = { code: string; @@ -63,19 +62,6 @@ export const VercelNotFoundErrorError$outboundSchema: z.ZodType< 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 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 { @@ -83,7 +69,6 @@ export function vercelNotFoundErrorErrorToJSON( VercelNotFoundErrorError$outboundSchema.parse(vercelNotFoundErrorError), ); } - export function vercelNotFoundErrorErrorFromJSON( jsonString: string, ): SafeParseResult { @@ -128,16 +113,3 @@ export const VercelNotFoundError$outboundSchema: z.ZodType< .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 index 5ecf27303..760ef870d 100644 --- a/src/models/vercelratelimiterror.ts +++ b/src/models/vercelratelimiterror.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { @@ -54,7 +54,6 @@ export const VercelRateLimitErrorError$inboundSchema: z.ZodType< message: z.string(), limit: RateLimitNotice$inboundSchema.optional(), }); - /** @internal */ export type VercelRateLimitErrorError$Outbound = { code: string; @@ -73,19 +72,6 @@ export const VercelRateLimitErrorError$outboundSchema: z.ZodType< 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 { @@ -93,7 +79,6 @@ export function vercelRateLimitErrorErrorToJSON( VercelRateLimitErrorError$outboundSchema.parse(vercelRateLimitErrorError), ); } - export function vercelRateLimitErrorErrorFromJSON( jsonString: string, ): SafeParseResult { @@ -138,16 +123,3 @@ export const VercelRateLimitError$outboundSchema: z.ZodType< .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 index cd1290708..698bfbd23 100644 --- a/src/models/verifyprojectdomainop.ts +++ b/src/models/verifyprojectdomainop.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; import { safeParse } from "../lib/schemas.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./sdkvalidationerror.js"; @@ -59,7 +59,6 @@ export const VerifyProjectDomainRequest$inboundSchema: z.ZodType< teamId: z.string().optional(), slug: z.string().optional(), }); - /** @internal */ export type VerifyProjectDomainRequest$Outbound = { idOrName: string; @@ -80,19 +79,6 @@ export const VerifyProjectDomainRequest$outboundSchema: z.ZodType< 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 { @@ -100,7 +86,6 @@ export function verifyProjectDomainRequestToJSON( VerifyProjectDomainRequest$outboundSchema.parse(verifyProjectDomainRequest), ); } - export function verifyProjectDomainRequestFromJSON( jsonString: string, ): SafeParseResult { @@ -128,7 +113,6 @@ export const VerifyProjectDomainResponseBody$inboundSchema: z.ZodType< createdAt: z.number().optional(), verified: z.boolean(), }); - /** @internal */ export type VerifyProjectDomainResponseBody$Outbound = { name: string; @@ -161,19 +145,6 @@ export const VerifyProjectDomainResponseBody$outboundSchema: z.ZodType< verified: 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 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 { @@ -183,7 +154,6 @@ export function verifyProjectDomainResponseBodyToJSON( ), ); } - export function verifyProjectDomainResponseBodyFromJSON( jsonString: string, ): SafeParseResult { diff --git a/src/sdk/connect.ts b/src/sdk/connect.ts new file mode 100644 index 000000000..a1a6ad5af --- /dev/null +++ b/src/sdk/connect.ts @@ -0,0 +1,30 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { connectUpdateStaticIps } from "../funcs/connectUpdateStaticIps.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import { + UpdateStaticIpsRequest, + UpdateStaticIpsResponseBody, +} from "../models/updatestaticipsop.js"; +import { unwrapAsync } from "../types/fp.js"; + +export class Connect extends ClientSDK { + /** + * Configures Static IPs for a project + * + * @remarks + * Allows configuring Static IPs for a project + */ + async updateStaticIps( + request: UpdateStaticIpsRequest, + options?: RequestOptions, + ): Promise> { + return unwrapAsync(connectUpdateStaticIps( + this, + request, + options, + )); + } +} diff --git a/src/sdk/domains.ts b/src/sdk/domains.ts index 4d127f32b..8cd444bc6 100644 --- a/src/sdk/domains.ts +++ b/src/sdk/domains.ts @@ -54,10 +54,10 @@ import { unwrapAsync } from "../types/fp.js"; export class Domains extends ClientSDK { /** - * Purchase a domain + * Purchase a domain (deprecated) * * @remarks - * Allows to purchase the specified domain. + * This endpoint is deprecated and replaced with the endpoint [Buy a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/buy-a-domain). Purchases the specified domain. */ async buyDomain( request: BuyDomainRequest, @@ -71,10 +71,10 @@ export class Domains extends ClientSDK { } /** - * Check the price for a domain + * Check the price for a domain (deprecated) * * @remarks - * Check the price to purchase a domain and how long a single purchase period is. + * This endpoint is deprecated and replaced with the endpoint [Get price data for a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/get-price-data-for-a-domain). Check the price to purchase a domain and how long a single purchase period is. */ async checkDomainPrice( request: CheckDomainPriceRequest, @@ -88,10 +88,10 @@ export class Domains extends ClientSDK { } /** - * Check a Domain Availability + * Check a Domain Availability (deprecated) * * @remarks - * Check if a domain name is available for purchase. + * This endpoint is deprecated and replaced with the endpoint [Get availability for a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/get-availability-for-a-domain). Check if a domain name is available for purchase. */ async checkDomainStatus( request: CheckDomainStatusRequest, @@ -105,10 +105,10 @@ export class Domains extends ClientSDK { } /** - * Get domain transfer info. + * Get domain transfer info (deprecated) * * @remarks - * Fetch domain transfer availability or transfer status if a transfer is in progress. + * This endpoint is deprecated and replaced with the endpoint [Get a domain's transfer status](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/get-a-domains-transfer-status). Fetch domain transfer availability or transfer status if a transfer is in progress. */ async getDomainTransfer( request: GetDomainTransferRequest, @@ -173,10 +173,10 @@ export class Domains extends ClientSDK { } /** - * Register or transfer-in a new Domain + * Add an existing domain to the Vercel platform * * @remarks - * This endpoint is used for adding a new apex domain name with Vercel for the authenticating user. Can also be used for initiating a domain transfer request from an external Registrar to Vercel. + * This endpoint is used for adding a new apex domain name with Vercel for the authenticating user. Note: This endpoint is no longer used for initiating domain transfers from external registrars to Vercel. For this, please use the endpoint [Transfer-in a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/transfer-in-a-domain). */ async createOrTransferDomain( request: CreateOrTransferDomainRequest, @@ -193,7 +193,7 @@ export class Domains extends ClientSDK { * Update or move apex domain * * @remarks - * Update or move apex domain. + * Update or move apex domain. Note: This endpoint is no longer used for updating auto-renew or nameservers. For this, please use the endpoints [Update auto-renew for a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/update-auto-renew-for-a-domain) and [Update nameservers for a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/update-nameservers-for-a-domain). */ async patchDomain( request: PatchDomainRequest, diff --git a/src/sdk/domainsregistrar.ts b/src/sdk/domainsregistrar.ts new file mode 100644 index 000000000..1535d0dad --- /dev/null +++ b/src/sdk/domainsregistrar.ts @@ -0,0 +1,326 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { domainsRegistrarBuyDomains } from "../funcs/domainsRegistrarBuyDomains.js"; +import { domainsRegistrarBuySingleDomain } from "../funcs/domainsRegistrarBuySingleDomain.js"; +import { domainsRegistrarGetBulkAvailability } from "../funcs/domainsRegistrarGetBulkAvailability.js"; +import { domainsRegistrarGetContactInfoSchema } from "../funcs/domainsRegistrarGetContactInfoSchema.js"; +import { domainsRegistrarGetDomainAuthCode } from "../funcs/domainsRegistrarGetDomainAuthCode.js"; +import { domainsRegistrarGetDomainAvailability } from "../funcs/domainsRegistrarGetDomainAvailability.js"; +import { domainsRegistrarGetDomainPrice } from "../funcs/domainsRegistrarGetDomainPrice.js"; +import { domainsRegistrarGetDomainTransferIn } from "../funcs/domainsRegistrarGetDomainTransferIn.js"; +import { domainsRegistrarGetOrder } from "../funcs/domainsRegistrarGetOrder.js"; +import { domainsRegistrarGetSupportedTlds } from "../funcs/domainsRegistrarGetSupportedTlds.js"; +import { domainsRegistrarGetTldPrice } from "../funcs/domainsRegistrarGetTldPrice.js"; +import { domainsRegistrarRenewDomain } from "../funcs/domainsRegistrarRenewDomain.js"; +import { domainsRegistrarTransferInDomain } from "../funcs/domainsRegistrarTransferInDomain.js"; +import { domainsRegistrarUpdateDomainAutoRenew } from "../funcs/domainsRegistrarUpdateDomainAutoRenew.js"; +import { domainsRegistrarUpdateDomainNameservers } from "../funcs/domainsRegistrarUpdateDomainNameservers.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import { + BuyDomainsRequest, + BuyDomainsResponseBody, +} from "../models/buydomainsop.js"; +import { + BuySingleDomainRequest, + BuySingleDomainResponseBody, +} from "../models/buysingledomainop.js"; +import { + GetBulkAvailabilityRequest, + GetBulkAvailabilityResponseBody, +} from "../models/getbulkavailabilityop.js"; +import { + GetContactInfoSchemaRequest, + GetContactInfoSchemaResponseBody, +} from "../models/getcontactinfoschemaop.js"; +import { + GetDomainAuthCodeRequest, + GetDomainAuthCodeResponseBody, +} from "../models/getdomainauthcodeop.js"; +import { + GetDomainAvailabilityRequest, + GetDomainAvailabilityResponseBody, +} from "../models/getdomainavailabilityop.js"; +import { + GetDomainPriceRequest, + GetDomainPriceResponseBody, +} from "../models/getdomainpriceop.js"; +import { + GetDomainTransferInRequest, + GetDomainTransferInResponseBody, +} from "../models/getdomaintransferinop.js"; +import { GetOrderRequest, GetOrderResponseBody } from "../models/getorderop.js"; +import { GetSupportedTldsRequest } from "../models/getsupportedtldsop.js"; +import { + GetTldPriceRequest, + GetTldPriceResponseBody, +} from "../models/gettldpriceop.js"; +import { + RenewDomainRequest, + RenewDomainResponseBody, +} from "../models/renewdomainop.js"; +import { + TransferInDomainRequest, + TransferInDomainResponseBody, +} from "../models/transferindomainop.js"; +import { UpdateDomainAutoRenewRequest } from "../models/updatedomainautorenewop.js"; +import { UpdateDomainNameserversRequest } from "../models/updatedomainnameserversop.js"; +import { unwrapAsync } from "../types/fp.js"; + +export class DomainsRegistrar extends ClientSDK { + /** + * Get supported TLDs + * + * @remarks + * Get a list of TLDs supported by Vercel + */ + async getSupportedTlds( + request: GetSupportedTldsRequest, + options?: RequestOptions, + ): Promise> { + return unwrapAsync(domainsRegistrarGetSupportedTlds( + this, + request, + options, + )); + } + + /** + * Get TLD price data + * + * @remarks + * Get price data for a specific TLD. This only reflects base prices for the given TLD. Premium domains may have different prices. Use the [Get price data for a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/get-price-data-for-a-domain) endpoint to get the price data for a specific domain. + */ + async getTldPrice( + request: GetTldPriceRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(domainsRegistrarGetTldPrice( + this, + request, + options, + )); + } + + /** + * Get availability for a domain + * + * @remarks + * Get availability for a specific domain. If the domain is available, it can be purchased using the [Buy a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/buy-a-domain) endpoint or the [Buy multiple domains](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/buy-multiple-domains) endpoint. + */ + async getDomainAvailability( + request: GetDomainAvailabilityRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(domainsRegistrarGetDomainAvailability( + this, + request, + options, + )); + } + + /** + * Get price data for a domain + * + * @remarks + * Get price data for a specific domain + */ + async getDomainPrice( + request: GetDomainPriceRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(domainsRegistrarGetDomainPrice( + this, + request, + options, + )); + } + + /** + * Get availability for multiple domains + * + * @remarks + * Get availability for multiple domains. If the domains are available, they can be purchased using the [Buy a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/buy-a-domain) endpoint or the [Buy multiple domains](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/buy-multiple-domains) endpoint. + */ + async getBulkAvailability( + request: GetBulkAvailabilityRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(domainsRegistrarGetBulkAvailability( + this, + request, + options, + )); + } + + /** + * Get the auth code for a domain + * + * @remarks + * Get the auth code for a domain. This is required to transfer a domain from Vercel to another registrar. + */ + async getDomainAuthCode( + request: GetDomainAuthCodeRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(domainsRegistrarGetDomainAuthCode( + this, + request, + options, + )); + } + + /** + * Buy a domain + * + * @remarks + * Buy a domain + */ + async buySingleDomain( + request: BuySingleDomainRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(domainsRegistrarBuySingleDomain( + this, + request, + options, + )); + } + + /** + * Buy multiple domains + * + * @remarks + * Buy multiple domains at once + */ + async buyDomains( + request: BuyDomainsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(domainsRegistrarBuyDomains( + this, + request, + options, + )); + } + + /** + * Transfer-in a domain + * + * @remarks + * Transfer a domain in from another registrar + */ + async transferInDomain( + request: TransferInDomainRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(domainsRegistrarTransferInDomain( + this, + request, + options, + )); + } + + /** + * Get a domain's transfer status + * + * @remarks + * Get the transfer status for a domain + */ + async getDomainTransferIn( + request: GetDomainTransferInRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(domainsRegistrarGetDomainTransferIn( + this, + request, + options, + )); + } + + /** + * Renew a domain + * + * @remarks + * Renew a domain + */ + async renewDomain( + request: RenewDomainRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(domainsRegistrarRenewDomain( + this, + request, + options, + )); + } + + /** + * Update auto-renew for a domain + * + * @remarks + * Update the auto-renew setting for a domain + */ + async updateDomainAutoRenew( + request: UpdateDomainAutoRenewRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(domainsRegistrarUpdateDomainAutoRenew( + this, + request, + options, + )); + } + + /** + * Update nameservers for a domain + * + * @remarks + * Update the nameservers for a domain. Pass an empty array to use Vercel's default nameservers. + */ + async updateDomainNameservers( + request: UpdateDomainNameserversRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(domainsRegistrarUpdateDomainNameservers( + this, + request, + options, + )); + } + + /** + * Get contact info schema + * + * @remarks + * Some TLDs require additional contact information. Use this endpoint to get the schema for the tld-specific contact information for a domain. + */ + async getContactInfoSchema( + request: GetContactInfoSchemaRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(domainsRegistrarGetContactInfoSchema( + this, + request, + options, + )); + } + + /** + * Get a domain order + * + * @remarks + * Get information about a domain order by its ID + */ + async getOrder( + request: GetOrderRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(domainsRegistrarGetOrder( + this, + request, + options, + )); + } +} diff --git a/src/sdk/drains.ts b/src/sdk/drains.ts new file mode 100644 index 000000000..211ff17ee --- /dev/null +++ b/src/sdk/drains.ts @@ -0,0 +1,134 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { drainsCreateDrain } from "../funcs/drainsCreateDrain.js"; +import { drainsDeleteDrain } from "../funcs/drainsDeleteDrain.js"; +import { drainsGetDrain } from "../funcs/drainsGetDrain.js"; +import { drainsGetDrains } from "../funcs/drainsGetDrains.js"; +import { drainsTestDrain } from "../funcs/drainsTestDrain.js"; +import { drainsUpdateDrain } from "../funcs/drainsUpdateDrain.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import { + CreateDrainRequest, + CreateDrainResponseBody, +} from "../models/createdrainop.js"; +import { DeleteDrainRequest } from "../models/deletedrainop.js"; +import { GetDrainRequest, GetDrainResponseBody } from "../models/getdrainop.js"; +import { + GetDrainsRequest, + GetDrainsResponseBody, +} from "../models/getdrainsop.js"; +import { + TestDrainRequest, + TestDrainResponseBody, +} from "../models/testdrainop.js"; +import { + UpdateDrainRequest, + UpdateDrainResponseBody, +} from "../models/updatedrainop.js"; +import { unwrapAsync } from "../types/fp.js"; + +export class Drains extends ClientSDK { + /** + * Create a new Drain + * + * @remarks + * Create a new Drain with the provided configuration. + */ + async createDrain( + request: CreateDrainRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(drainsCreateDrain( + this, + request, + options, + )); + } + + /** + * Retrieve a list of all Drains + * + * @remarks + * Allows to retrieve the list of Drains of the authenticated team. + */ + async getDrains( + request: GetDrainsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(drainsGetDrains( + this, + request, + options, + )); + } + + /** + * Delete a drain + * + * @remarks + * Delete a specific Drain by passing the drain id in the URL. + */ + async deleteDrain( + request: DeleteDrainRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(drainsDeleteDrain( + this, + request, + options, + )); + } + + /** + * Find a Drain by id + * + * @remarks + * Get the information for a specific Drain by passing the drain id in the URL. + */ + async getDrain( + request: GetDrainRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(drainsGetDrain( + this, + request, + options, + )); + } + + /** + * Update an existing Drain + * + * @remarks + * Update the configuration of an existing drain. + */ + async updateDrain( + request: UpdateDrainRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(drainsUpdateDrain( + this, + request, + options, + )); + } + + /** + * Validate Drain delivery configuration + * + * @remarks + * Validate the delivery configuration of a Drain using sample events. + */ + async testDrain( + request: TestDrainRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(drainsTestDrain( + this, + request, + options, + )); + } +} diff --git a/src/sdk/environment.ts b/src/sdk/environment.ts index 49aec3aad..dae17987d 100644 --- a/src/sdk/environment.ts +++ b/src/sdk/environment.ts @@ -3,34 +3,166 @@ */ import { environmentCreateCustomEnvironment } from "../funcs/environmentCreateCustomEnvironment.js"; +import { environmentCreateSharedEnvVariable } from "../funcs/environmentCreateSharedEnvVariable.js"; +import { environmentDeleteSharedEnvVariable } from "../funcs/environmentDeleteSharedEnvVariable.js"; import { environmentGetCustomEnvironment } from "../funcs/environmentGetCustomEnvironment.js"; +import { environmentGetSharedEnvVar } from "../funcs/environmentGetSharedEnvVar.js"; import { environmentGetV9ProjectsIdOrNameCustomEnvironments } from "../funcs/environmentGetV9ProjectsIdOrNameCustomEnvironments.js"; +import { environmentListSharedEnvVariable } from "../funcs/environmentListSharedEnvVariable.js"; import { environmentRemoveCustomEnvironment } from "../funcs/environmentRemoveCustomEnvironment.js"; +import { environmentUnlinkSharedEnvVariable } from "../funcs/environmentUnlinkSharedEnvVariable.js"; import { environmentUpdateCustomEnvironment } from "../funcs/environmentUpdateCustomEnvironment.js"; +import { environmentUpdateSharedEnvVariable } from "../funcs/environmentUpdateSharedEnvVariable.js"; import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import { CreateCustomEnvironmentRequest, CreateCustomEnvironmentResponseBody, } from "../models/createcustomenvironmentop.js"; +import { + CreateSharedEnvVariableRequest, + CreateSharedEnvVariableResponseBody, +} from "../models/createsharedenvvariableop.js"; +import { + DeleteSharedEnvVariableRequest, + DeleteSharedEnvVariableResponseBody, +} from "../models/deletesharedenvvariableop.js"; import { GetCustomEnvironmentRequest, GetCustomEnvironmentResponseBody, } from "../models/getcustomenvironmentop.js"; +import { + GetSharedEnvVarRequest, + GetSharedEnvVarResponseBody, +} from "../models/getsharedenvvarop.js"; import { GetV9ProjectsIdOrNameCustomEnvironmentsRequest, GetV9ProjectsIdOrNameCustomEnvironmentsResponseBody, } from "../models/getv9projectsidornamecustomenvironmentsop.js"; +import { + ListSharedEnvVariableRequest, + ListSharedEnvVariableResponseBody, +} from "../models/listsharedenvvariableop.js"; import { RemoveCustomEnvironmentRequest, RemoveCustomEnvironmentResponseBody, } from "../models/removecustomenvironmentop.js"; +import { + UnlinkSharedEnvVariableRequest, + UnlinkSharedEnvVariableResponseBody, +} from "../models/unlinksharedenvvariableop.js"; import { UpdateCustomEnvironmentRequest, UpdateCustomEnvironmentResponseBody, } from "../models/updatecustomenvironmentop.js"; +import { + UpdateSharedEnvVariableRequest, + UpdateSharedEnvVariableResponseBody, +} from "../models/updatesharedenvvariableop.js"; import { unwrapAsync } from "../types/fp.js"; export class Environment extends ClientSDK { + /** + * Create one or more shared environment variables + * + * @remarks + * Creates shared environment variable(s) for a team. + */ + async createSharedEnvVariable( + request: CreateSharedEnvVariableRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(environmentCreateSharedEnvVariable( + this, + request, + options, + )); + } + + /** + * Lists all Shared Environment Variables for a team + * + * @remarks + * Lists all Shared Environment Variables for a team, taking into account optional filters. + */ + async listSharedEnvVariable( + request: ListSharedEnvVariableRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(environmentListSharedEnvVariable( + this, + request, + options, + )); + } + + /** + * Updates one or more shared environment variables + * + * @remarks + * Updates a given Shared Environment Variable for a Team. + */ + async updateSharedEnvVariable( + request: UpdateSharedEnvVariableRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(environmentUpdateSharedEnvVariable( + this, + request, + options, + )); + } + + /** + * Delete one or more Env Var + * + * @remarks + * Deletes one or many Shared Environment Variables for a given team. + */ + async deleteSharedEnvVariable( + request: DeleteSharedEnvVariableRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(environmentDeleteSharedEnvVariable( + this, + request, + options, + )); + } + + /** + * Retrieve the decrypted value of a Shared Environment Variable by id. + * + * @remarks + * Retrieve the decrypted value of a Shared Environment Variable by id. + */ + async getSharedEnvVar( + request: GetSharedEnvVarRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(environmentGetSharedEnvVar( + this, + request, + options, + )); + } + + /** + * Disconnects a shared environment variable for a given project + * + * @remarks + * Disconnects a shared environment variable for a given project + */ + async unlinkSharedEnvVariable( + request: UnlinkSharedEnvVariableRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(environmentUnlinkSharedEnvVariable( + this, + request, + options, + )); + } + /** * Create a custom environment for the current project. * diff --git a/src/sdk/logdrains.ts b/src/sdk/logdrains.ts index a376e3d93..ed56a4d8e 100644 --- a/src/sdk/logdrains.ts +++ b/src/sdk/logdrains.ts @@ -2,15 +2,32 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ +import { logDrainsCreateConfigurableLogDrain } from "../funcs/logDrainsCreateConfigurableLogDrain.js"; import { logDrainsCreateLogDrain } from "../funcs/logDrainsCreateLogDrain.js"; +import { logDrainsDeleteConfigurableLogDrain } from "../funcs/logDrainsDeleteConfigurableLogDrain.js"; import { logDrainsDeleteIntegrationLogDrain } from "../funcs/logDrainsDeleteIntegrationLogDrain.js"; +import { logDrainsGetAllLogDrains } from "../funcs/logDrainsGetAllLogDrains.js"; +import { logDrainsGetConfigurableLogDrain } from "../funcs/logDrainsGetConfigurableLogDrain.js"; import { logDrainsGetIntegrationLogDrains } from "../funcs/logDrainsGetIntegrationLogDrains.js"; import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import { + CreateConfigurableLogDrainRequest, + CreateConfigurableLogDrainResponseBody, +} from "../models/createconfigurablelogdrainop.js"; import { CreateLogDrainRequest, CreateLogDrainResponseBody, } from "../models/createlogdrainop.js"; +import { DeleteConfigurableLogDrainRequest } from "../models/deleteconfigurablelogdrainop.js"; import { DeleteIntegrationLogDrainRequest } from "../models/deleteintegrationlogdrainop.js"; +import { + GetAllLogDrainsRequest, + GetAllLogDrainsResponseBody, +} from "../models/getalllogdrainsop.js"; +import { + GetConfigurableLogDrainRequest, + GetConfigurableLogDrainResponseBody, +} from "../models/getconfigurablelogdrainop.js"; import { GetIntegrationLogDrainsRequest, GetIntegrationLogDrainsResponseBody, @@ -19,7 +36,75 @@ import { unwrapAsync } from "../types/fp.js"; export class LogDrains extends ClientSDK { /** - * Retrieves a list of Integration log drains + * Retrieves a Configurable Log Drain (deprecated) + * + * @remarks + * Retrieves a Configurable Log Drain. This endpoint must be called with a team AccessToken (integration OAuth2 clients are not allowed). Only log drains owned by the authenticated team can be accessed. + */ + async getConfigurableLogDrain( + request: GetConfigurableLogDrainRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(logDrainsGetConfigurableLogDrain( + this, + request, + options, + )); + } + + /** + * Deletes a Configurable Log Drain (deprecated) + * + * @remarks + * Deletes a Configurable Log Drain. This endpoint must be called with a team AccessToken (integration OAuth2 clients are not allowed). Only log drains owned by the authenticated team can be deleted. + */ + async deleteConfigurableLogDrain( + request: DeleteConfigurableLogDrainRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(logDrainsDeleteConfigurableLogDrain( + this, + request, + options, + )); + } + + /** + * Retrieves a list of all the Log Drains (deprecated) + * + * @remarks + * Retrieves a list of all the Log Drains owned by the account. This endpoint must be called with an account AccessToken (integration OAuth2 clients are not allowed). Only log drains owned by the authenticated account can be accessed. + */ + async getAllLogDrains( + request: GetAllLogDrainsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(logDrainsGetAllLogDrains( + this, + request, + options, + )); + } + + /** + * Creates a Configurable Log Drain (deprecated) + * + * @remarks + * Creates a configurable log drain. This endpoint must be called with a team AccessToken (integration OAuth2 clients are not allowed) + */ + async createConfigurableLogDrain( + request: CreateConfigurableLogDrainRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(logDrainsCreateConfigurableLogDrain( + this, + request, + options, + )); + } + + /** + * Retrieves a list of Integration log drains (deprecated) * * @remarks * Retrieves a list of all Integration log drains that are defined for the authenticated user or team. When using an OAuth2 token, the list is limited to log drains created by the authenticated integration. @@ -36,7 +121,7 @@ export class LogDrains extends ClientSDK { } /** - * Creates a new Integration Log Drain + * Creates a new Integration Log Drain (deprecated) * * @remarks * Creates an Integration log drain. This endpoint must be called with an OAuth2 client (integration), since log drains are tied to integrations. If it is called with a different token type it will produce a 400 error. @@ -53,7 +138,7 @@ export class LogDrains extends ClientSDK { } /** - * Deletes the Integration log drain with the provided `id` + * Deletes the Integration log drain with the provided `id` (deprecated) * * @remarks * Deletes the Integration log drain with the provided `id`. When using an OAuth2 Token, the log drain can be deleted only if the integration owns it. diff --git a/src/sdk/marketplace.ts b/src/sdk/marketplace.ts index 2861b946b..39e962447 100644 --- a/src/sdk/marketplace.ts +++ b/src/sdk/marketplace.ts @@ -17,9 +17,11 @@ import { marketplaceImportResource } from "../funcs/marketplaceImportResource.js import { marketplaceSubmitBillingData } from "../funcs/marketplaceSubmitBillingData.js"; import { marketplaceSubmitInvoice } from "../funcs/marketplaceSubmitInvoice.js"; import { marketplaceSubmitPrepaymentBalances } from "../funcs/marketplaceSubmitPrepaymentBalances.js"; +import { marketplaceUpdateInstallation } from "../funcs/marketplaceUpdateInstallation.js"; import { marketplaceUpdateInstallationIntegrationConfiguration } from "../funcs/marketplaceUpdateInstallationIntegrationConfiguration.js"; import { marketplaceUpdateInstallationIntegrationEdgeConfig } from "../funcs/marketplaceUpdateInstallationIntegrationEdgeConfig.js"; import { marketplaceUpdateInvoice } from "../funcs/marketplaceUpdateInvoice.js"; +import { marketplaceUpdateResource } from "../funcs/marketplaceUpdateResource.js"; import { marketplaceUpdateResourceSecrets } from "../funcs/marketplaceUpdateResourceSecrets.js"; import { marketplaceUpdateResourceSecretsById } from "../funcs/marketplaceUpdateResourceSecretsById.js"; import { ClientSDK, RequestOptions } from "../lib/sdks.js"; @@ -76,12 +78,34 @@ import { SubmitInvoiceResponseBody, } from "../models/submitinvoiceop.js"; import { SubmitPrepaymentBalancesRequest } from "../models/submitprepaymentbalancesop.js"; +import { UpdateInstallationRequest } from "../models/updateinstallationop.js"; import { UpdateInvoiceRequest } from "../models/updateinvoiceop.js"; +import { + UpdateResourceRequest, + UpdateResourceResponseBody, +} from "../models/updateresourceop.js"; import { UpdateResourceSecretsByIdRequest } from "../models/updateresourcesecretsbyidop.js"; import { UpdateResourceSecretsRequest } from "../models/updateresourcesecretsop.js"; import { unwrapAsync } from "../types/fp.js"; export class Marketplace extends ClientSDK { + /** + * Update Installation + * + * @remarks + * This endpoint updates an integration installation. + */ + async updateInstallation( + request: UpdateInstallationRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(marketplaceUpdateInstallation( + this, + request, + options, + )); + } + /** * Get Account Information * @@ -201,6 +225,23 @@ export class Marketplace extends ClientSDK { )); } + /** + * Update Resource + * + * @remarks + * This endpoint updates an existing resource in the installation. All parameters are optional, allowing partial updates. + */ + async updateResource( + request: UpdateResourceRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(marketplaceUpdateResource( + this, + request, + options, + )); + } + /** * Submit Billing Data * diff --git a/src/sdk/projects.ts b/src/sdk/projects.ts index 3a0bc4681..f8ea895b6 100644 --- a/src/sdk/projects.ts +++ b/src/sdk/projects.ts @@ -9,8 +9,10 @@ import { projectsCreateProject } from "../funcs/projectsCreateProject.js"; import { projectsCreateProjectEnv } from "../funcs/projectsCreateProjectEnv.js"; import { projectsCreateProjectTransferRequest } from "../funcs/projectsCreateProjectTransferRequest.js"; import { projectsDeleteProject } from "../funcs/projectsDeleteProject.js"; +import { projectsDeleteProjectClientCert } from "../funcs/projectsDeleteProjectClientCert.js"; import { projectsEditProjectEnv } from "../funcs/projectsEditProjectEnv.js"; import { projectsFilterProjectEnvs } from "../funcs/projectsFilterProjectEnvs.js"; +import { projectsGetProjectClientCerts } from "../funcs/projectsGetProjectClientCerts.js"; import { projectsGetProjectDomain } from "../funcs/projectsGetProjectDomain.js"; import { projectsGetProjectDomains } from "../funcs/projectsGetProjectDomains.js"; import { projectsGetProjectEnv } from "../funcs/projectsGetProjectEnv.js"; @@ -26,6 +28,7 @@ import { projectsUpdateProject } from "../funcs/projectsUpdateProject.js"; import { projectsUpdateProjectDataCache } from "../funcs/projectsUpdateProjectDataCache.js"; import { projectsUpdateProjectDomain } from "../funcs/projectsUpdateProjectDomain.js"; import { projectsUpdateProjectProtectionBypass } from "../funcs/projectsUpdateProjectProtectionBypass.js"; +import { projectsUploadProjectClientCert } from "../funcs/projectsUploadProjectClientCert.js"; import { projectsVerifyProjectDomain } from "../funcs/projectsVerifyProjectDomain.js"; import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import { @@ -52,6 +55,10 @@ import { CreateProjectTransferRequestRequest, CreateProjectTransferRequestResponseBody, } from "../models/createprojecttransferrequestop.js"; +import { + DeleteProjectClientCertRequest, + DeleteProjectClientCertResponseBody, +} from "../models/deleteprojectclientcertop.js"; import { DeleteProjectRequest } from "../models/deleteprojectop.js"; import { EditProjectEnvRequest, @@ -61,6 +68,10 @@ import { FilterProjectEnvsRequest, FilterProjectEnvsResponseBody, } from "../models/filterprojectenvsop.js"; +import { + GetProjectClientCertsRequest, + GetProjectClientCertsResponseBody, +} from "../models/getprojectclientcertsop.js"; import { GetProjectDomainRequest, GetProjectDomainResponseBody, @@ -112,6 +123,10 @@ import { UpdateProjectProtectionBypassRequest, UpdateProjectProtectionBypassResponseBody, } from "../models/updateprojectprotectionbypassop.js"; +import { + UploadProjectClientCertRequest, + UploadProjectClientCertResponseBody, +} from "../models/uploadprojectclientcertop.js"; import { VerifyProjectDomainRequest, VerifyProjectDomainResponseBody, @@ -425,6 +440,57 @@ export class Projects extends ClientSDK { )); } + /** + * Upload client certificate for egress mTLS + * + * @remarks + * Upload a client certificate for mTLS authentication to external origins. + */ + async uploadProjectClientCert( + request: UploadProjectClientCertRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(projectsUploadProjectClientCert( + this, + request, + options, + )); + } + + /** + * Get client certificates for a project + * + * @remarks + * Retrieve client certificates configured for a project's mTLS egress authentication. + */ + async getProjectClientCerts( + request: GetProjectClientCertsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(projectsGetProjectClientCerts( + this, + request, + options, + )); + } + + /** + * Delete client certificate for egress mTLS + * + * @remarks + * Delete a client certificate for mTLS authentication to external origins. + */ + async deleteProjectClientCert( + request: DeleteProjectClientCertRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(projectsDeleteProjectClientCert( + this, + request, + options, + )); + } + /** * Create project transfer request * diff --git a/src/sdk/sdk.ts b/src/sdk/sdk.ts index 044bf7924..ecffcfa0b 100644 --- a/src/sdk/sdk.ts +++ b/src/sdk/sdk.ts @@ -9,9 +9,12 @@ import { Artifacts } from "./artifacts.js"; import { Authentication } from "./authentication.js"; import { Certs } from "./certs.js"; import { Checks } from "./checks.js"; +import { Connect } from "./connect.js"; import { Deployments } from "./deployments.js"; import { Dns } from "./dns.js"; import { Domains } from "./domains.js"; +import { DomainsRegistrar } from "./domainsregistrar.js"; +import { Drains } from "./drains.js"; import { EdgeCache } from "./edgecache.js"; import { EdgeConfig } from "./edgeconfig.js"; import { Environment } from "./environment.js"; @@ -23,6 +26,7 @@ import { ProjectMembers } from "./projectmembers.js"; import { Projects } from "./projects.js"; import { RollingRelease } from "./rollingrelease.js"; import { Security } from "./security.js"; +import { StaticIps } from "./staticips.js"; import { Teams } from "./teams.js"; import { User } from "./user.js"; import { Webhooks } from "./webhooks.js"; @@ -68,6 +72,21 @@ export class Vercel extends ClientSDK { return (this._dns ??= new Dns(this._options)); } + private _domainsRegistrar?: DomainsRegistrar; + get domainsRegistrar(): DomainsRegistrar { + return (this._domainsRegistrar ??= new DomainsRegistrar(this._options)); + } + + private _logDrains?: LogDrains; + get logDrains(): LogDrains { + return (this._logDrains ??= new LogDrains(this._options)); + } + + private _drains?: Drains; + get drains(): Drains { + return (this._drains ??= new Drains(this._options)); + } + private _edgeCache?: EdgeCache; get edgeCache(): EdgeCache { return (this._edgeCache ??= new EdgeCache(this._options)); @@ -78,6 +97,11 @@ export class Vercel extends ClientSDK { return (this._edgeConfig ??= new EdgeConfig(this._options)); } + private _environment?: Environment; + get environment(): Environment { + return (this._environment ??= new Environment(this._options)); + } + private _user?: User; get user(): User { return (this._user ??= new User(this._options)); @@ -93,11 +117,6 @@ export class Vercel extends ClientSDK { return (this._authentication ??= new Authentication(this._options)); } - private _logDrains?: LogDrains; - get logDrains(): LogDrains { - return (this._logDrains ??= new LogDrains(this._options)); - } - private _logs?: Logs; get logs(): Logs { return (this._logs ??= new Logs(this._options)); @@ -108,9 +127,14 @@ export class Vercel extends ClientSDK { return (this._projectMembers ??= new ProjectMembers(this._options)); } - private _environment?: Environment; - get environment(): Environment { - return (this._environment ??= new Environment(this._options)); + private _connect?: Connect; + get connect(): Connect { + return (this._connect ??= new Connect(this._options)); + } + + private _staticIps?: StaticIps; + get staticIps(): StaticIps { + return (this._staticIps ??= new StaticIps(this._options)); } private _rollingRelease?: RollingRelease; diff --git a/src/sdk/security.ts b/src/sdk/security.ts index 58e01aeee..21104fb44 100644 --- a/src/sdk/security.ts +++ b/src/sdk/security.ts @@ -6,6 +6,7 @@ import { securityAddBypassIp } from "../funcs/securityAddBypassIp.js"; import { securityGetActiveAttackStatus } from "../funcs/securityGetActiveAttackStatus.js"; import { securityGetBypassIp } from "../funcs/securityGetBypassIp.js"; import { securityGetFirewallConfig } from "../funcs/securityGetFirewallConfig.js"; +import { securityGetV1SecurityFirewallEvents } from "../funcs/securityGetV1SecurityFirewallEvents.js"; import { securityPutFirewallConfig } from "../funcs/securityPutFirewallConfig.js"; import { securityRemoveBypassIp } from "../funcs/securityRemoveBypassIp.js"; import { securityUpdateAttackChallengeMode } from "../funcs/securityUpdateAttackChallengeMode.js"; @@ -27,6 +28,10 @@ import { GetFirewallConfigRequest, GetFirewallConfigResponseBody, } from "../models/getfirewallconfigop.js"; +import { + GetV1SecurityFirewallEventsRequest, + GetV1SecurityFirewallEventsResponseBody, +} from "../models/getv1securityfirewalleventsop.js"; import { PutFirewallConfigRequest, PutFirewallConfigResponseBody, @@ -118,7 +123,7 @@ export class Security extends ClientSDK { * Read active attack data * * @remarks - * Retrieve active attack data within the last 24h window + * Retrieve active attack data within the last N days (default: 1 day) */ async getActiveAttackStatus( request: GetActiveAttackStatusRequest, @@ -181,4 +186,21 @@ export class Security extends ClientSDK { options, )); } + + /** + * Read Firewall Actions by Project + * + * @remarks + * Retrieve firewall actions for a project + */ + async getV1SecurityFirewallEvents( + request: GetV1SecurityFirewallEventsRequest, + options?: RequestOptions, + ): Promise { + return unwrapAsync(securityGetV1SecurityFirewallEvents( + this, + request, + options, + )); + } } diff --git a/src/sdk/staticips.ts b/src/sdk/staticips.ts new file mode 100644 index 000000000..9c0912809 --- /dev/null +++ b/src/sdk/staticips.ts @@ -0,0 +1,30 @@ +/* + * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + */ + +import { connectUpdateStaticIps } from "../funcs/connectUpdateStaticIps.js"; +import { ClientSDK, RequestOptions } from "../lib/sdks.js"; +import { + UpdateStaticIpsRequest, + UpdateStaticIpsResponseBody, +} from "../models/updatestaticipsop.js"; +import { unwrapAsync } from "../types/fp.js"; + +export class StaticIps extends ClientSDK { + /** + * Configures Static IPs for a project + * + * @remarks + * Allows configuring Static IPs for a project + */ + async updateStaticIps( + request: UpdateStaticIpsRequest, + options?: RequestOptions, + ): Promise> { + return unwrapAsync(connectUpdateStaticIps( + this, + request, + options, + )); + } +} diff --git a/src/sdk/teams.ts b/src/sdk/teams.ts index 47a634a3c..e550d12d4 100644 --- a/src/sdk/teams.ts +++ b/src/sdk/teams.ts @@ -38,10 +38,8 @@ import { } from "../models/getteammembersop.js"; import { GetTeamRequest } from "../models/getteamop.js"; import { GetTeamsRequest, GetTeamsResponseBody } from "../models/getteamsop.js"; -import { - InviteUserToTeamRequest, - InviteUserToTeamResponseBody, -} from "../models/inviteusertoteamop.js"; +import { InvitedTeamMember } from "../models/invitedteammember.js"; +import { InviteUserToTeamRequestBody } from "../models/inviteusertoteamop.js"; import { JoinTeamRequest, JoinTeamResponseBody } from "../models/jointeamop.js"; import { PatchTeamRequest } from "../models/patchteamop.js"; import { @@ -81,12 +79,12 @@ export class Teams extends ClientSDK { * Invite a user * * @remarks - * Invite a user to join the team specified in the URL. The authenticated user needs to be an `OWNER` in order to successfully invoke this endpoint. The user can be specified with an email or an ID. If both email and ID are provided, ID will take priority. + * Invite a user to join the team specified in the URL. The authenticated user needs to be an `OWNER` in order to successfully invoke this endpoint. The user to be invited must be specified by email. */ async inviteUserToTeam( - request: InviteUserToTeamRequest, + request?: Array | undefined, options?: RequestOptions, - ): Promise { + ): Promise { return unwrapAsync(teamsInviteUserToTeam( this, request, diff --git a/src/types/blobs.ts b/src/types/blobs.ts index 4ce846023..cce2892d4 100644 --- a/src/types/blobs.ts +++ b/src/types/blobs.ts @@ -2,13 +2,14 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; -export const blobLikeSchema: z.ZodType = - z.custom(isBlobLike, { - message: "expected a Blob, File or Blob-like object", - fatal: true, - }); +export const blobLikeSchema: z.ZodType = z.custom< + Blob +>(isBlobLike, { + message: "expected a Blob, File or Blob-like object", + fatal: true, +}); export function isBlobLike(val: unknown): val is Blob { if (val instanceof Blob) { diff --git a/src/types/constdatetime.ts b/src/types/constdatetime.ts index eeff4dde2..fe62144ea 100644 --- a/src/types/constdatetime.ts +++ b/src/types/constdatetime.ts @@ -2,7 +2,7 @@ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ -import * as z from "zod"; +import * as z from "zod/v3"; export function constDateTime( val: string, diff --git a/vercel-spec.json b/vercel-spec.json index eabe85240..f3b4e234e 100644 --- a/vercel-spec.json +++ b/vercel-spec.json @@ -5009,10 +5009,12 @@ "zola", "hydrogen", "vite", + "tanstack-start", "vitepress", "vuepress", "parcel", "fastapi", + "flask", "fasthtml", "sanity-v3", "sanity", @@ -5021,6 +5023,9 @@ "hono", "express", "h3", + "nestjs", + "elysia", + "fastify", "xmcp" ] }, @@ -5249,6 +5254,9 @@ }, "environment": { "type": "string" + }, + "plan": { + "type": "string" } }, "required": [ @@ -5260,7 +5268,8 @@ "owner_id", "project", "project_id", - "environment" + "environment", + "plan" ], "type": "object" }, @@ -5750,6 +5759,9 @@ "oneOf": [ { "properties": { + "isDefaultApp": { + "type": "boolean" + }, "updatedAt": { "type": "number", "description": "Timestamp when the microfrontends settings were last updated." @@ -5774,17 +5786,67 @@ "type": "boolean", "description": "Whether microfrontends are enabled for this project." }, + "defaultRoute": { + "type": "string", + "description": "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. Includes the leading slash, e.g. `/docs`" + }, + "freeProjectForLegacyLimits": { + "type": "boolean", + "description": "Whether the project was part of the legacy limits for hobby and pro-trial before billing was added. This field is only set when the team is upgraded to a paid plan and we are backfilling the subscription status. We cap the subscription to 2 projects and set this field for the 3rd project. When this field is set, the project is not charged for and we do not call any billing APIs for this project." + } + }, + "required": [ + "isDefaultApp", + "updatedAt", + "groupIds", + "enabled" + ], + "type": "object" + }, + { + "properties": { "isDefaultApp": { + "type": "boolean" + }, + "routeObservabilityToThisProject": { + "type": "boolean", + "description": "Whether observability data should be routed to this microfrontend project or a root project." + }, + "doNotRouteWithMicrofrontendsRouting": { "type": "boolean", - "description": "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." + "description": "Whether to add microfrontends routing to aliases. This means domains in this project will route as a microfrontend." + }, + "updatedAt": { + "type": "number", + "description": "Timestamp when the microfrontends settings were last updated." + }, + "groupIds": { + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "string" + } + ] + }, + "maxItems": 2, + "minItems": 2, + "type": "array", + "description": "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." + }, + "enabled": { + "type": "boolean", + "description": "Whether microfrontends are enabled for this project." }, "defaultRoute": { "type": "string", "description": "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. Includes the leading slash, e.g. `/docs`" }, - "routeObservabilityToThisProject": { + "freeProjectForLegacyLimits": { "type": "boolean", - "description": "Whether observability data should be routed to this microfrontend project or a root project." + "description": "Whether the project was part of the legacy limits for hobby and pro-trial before billing was added. This field is only set when the team is upgraded to a paid plan and we are backfilling the subscription status. We cap the subscription to 2 projects and set this field for the 3rd project. When this field is set, the project is not charged for and we do not call any billing APIs for this project." } }, "required": [ @@ -5809,6 +5871,9 @@ }, "enabled": { "type": "boolean" + }, + "freeProjectForLegacyLimits": { + "type": "boolean" } }, "required": [ @@ -5826,6 +5891,7 @@ "nodeVersion": { "type": "string", "enum": [ + "24.x", "22.x", "20.x", "18.x", @@ -6060,6 +6126,28 @@ "skipGitConnectDuringLink": { "type": "boolean" }, + "staticIps": { + "properties": { + "builds": { + "type": "boolean" + }, + "enabled": { + "type": "boolean" + }, + "regions": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "builds", + "enabled", + "regions" + ], + "type": "object" + }, "sourceFilesOutsideRootDirectory": { "type": "boolean" }, @@ -6284,6 +6372,9 @@ }, "environment": { "type": "string" + }, + "plan": { + "type": "string" } }, "required": [ @@ -6295,7 +6386,8 @@ "owner_id", "project", "project_id", - "environment" + "environment", + "plan" ], "type": "object" }, @@ -6446,6 +6538,18 @@ }, "type": "array" }, + "agent": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, + "alerts": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, "aliasGlobal": { "items": { "$ref": "#/components/schemas/ACLAction" @@ -6464,6 +6568,42 @@ }, "type": "array" }, + "apiKey": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, + "apiKeyAiGateway": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, + "apiKeyOwnedBySelf": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, + "oauth2Application": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, + "vercelAppInstallation": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, + "vercelAppInstallationRequest": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, "auditLog": { "items": { "$ref": "#/components/schemas/ACLAction" @@ -6530,6 +6670,12 @@ }, "type": "array" }, + "blobStoreTokenSet": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, "budget": { "items": { "$ref": "#/components/schemas/ACLAction" @@ -6572,6 +6718,12 @@ }, "type": "array" }, + "dataCacheBillingSettings": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, "defaultDeploymentProtection": { "items": { "$ref": "#/components/schemas/ACLAction" @@ -6632,43 +6784,61 @@ }, "type": "array" }, - "event": { + "drain": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "ownEvent": { + "edgeConfig": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "sensitiveEnvironmentVariablePolicy": { + "edgeConfigItem": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "fileUpload": { + "edgeConfigSchema": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "flagsExplorerSubscription": { + "edgeConfigToken": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "gitRepository": { + "endpointVerification": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "ipBlocking": { + "event": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, + "fileUpload": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, + "flagsExplorerSubscription": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, + "gitRepository": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -6698,31 +6868,37 @@ }, "type": "array" }, - "integrationConfigurationTransfer": { + "integrationConfigurationProjects": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "integrationConfigurationProjects": { + "integrationConfigurationRole": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "integrationVercelConfigurationOverride": { + "integrationConfigurationTransfer": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "integrationConfigurationRole": { + "integrationDeploymentAction": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "integrationSSOSession": { + "integrationEvent": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, + "integrationLog": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -6734,7 +6910,7 @@ }, "type": "array" }, - "integrationEvent": { + "integrationResourceReplCommand": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -6746,37 +6922,49 @@ }, "type": "array" }, - "integrationDeploymentAction": { + "integrationSSOSession": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "marketplaceInstallationMember": { + "integrationStoreTokenSet": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "marketplaceBillingData": { + "integrationVercelConfigurationOverride": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "marketplaceInvoice": { + "integrationPullRequest": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "marketplaceSettings": { + "ipBlocking": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "marketplaceExperimentationItem": { + "jobGlobal": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, + "logDrain": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, + "marketplaceBillingData": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -6788,19 +6976,25 @@ }, "type": "array" }, - "jobGlobal": { + "marketplaceExperimentationItem": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "drain": { + "marketplaceInstallationMember": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "logDrain": { + "marketplaceInvoice": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, + "marketplaceSettings": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -6812,7 +7006,13 @@ }, "type": "array" }, - "monitoringSettings": { + "monitoringAlert": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, + "monitoringChart": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -6824,13 +7024,13 @@ }, "type": "array" }, - "monitoringChart": { + "monitoringSettings": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "monitoringAlert": { + "notificationCustomerBudget": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -6896,25 +7096,19 @@ }, "type": "array" }, - "notificationUsageAlert": { - "items": { - "$ref": "#/components/schemas/ACLAction" - }, - "type": "array" - }, "notificationPreferences": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "notificationCustomerBudget": { + "notificationStatementOfReasons": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "notificationStatementOfReasons": { + "notificationUsageAlert": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -6926,7 +7120,7 @@ }, "type": "array" }, - "alerts": { + "observabilityFunnel": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -6938,25 +7132,25 @@ }, "type": "array" }, - "observabilityFunnel": { + "openTelemetryEndpoint": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "openTelemetryEndpoint": { + "ownEvent": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "vercelAppInstallation": { + "organizationDomain": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "vercelAppInstallationRequest": { + "passwordProtectionInvoiceItem": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -6980,55 +7174,49 @@ }, "type": "array" }, - "previewDeploymentSuffix": { - "items": { - "$ref": "#/components/schemas/ACLAction" - }, - "type": "array" - }, - "proTrialOnboarding": { + "postgresStoreTokenSet": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "sharedEnvVars": { + "previewDeploymentSuffix": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "sharedEnvVarsProduction": { + "projectTransferIn": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "space": { + "proTrialOnboarding": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "spaceRun": { + "rateLimit": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "passwordProtectionInvoiceItem": { + "redis": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "rateLimit": { + "redisStoreTokenSet": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "redis": { + "remoteCaching": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -7040,12 +7228,6 @@ }, "type": "array" }, - "remoteCaching": { - "items": { - "$ref": "#/components/schemas/ACLAction" - }, - "type": "array" - }, "samlConfig": { "items": { "$ref": "#/components/schemas/ACLAction" @@ -7058,31 +7240,31 @@ }, "type": "array" }, - "redisStoreTokenSet": { + "sensitiveEnvironmentVariablePolicy": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "blobStoreTokenSet": { + "sharedEnvVars": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "postgresStoreTokenSet": { + "sharedEnvVarsProduction": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "integrationStoreTokenSet": { + "space": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "integrationResourceReplCommand": { + "spaceRun": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -7106,12 +7288,6 @@ }, "type": "array" }, - "dataCacheBillingSettings": { - "items": { - "$ref": "#/components/schemas/ACLAction" - }, - "type": "array" - }, "team": { "items": { "$ref": "#/components/schemas/ACLAction" @@ -7196,37 +7372,25 @@ }, "type": "array" }, - "vpcPeeringConnection": { - "items": { - "$ref": "#/components/schemas/ACLAction" - }, - "type": "array" - }, - "webAnalyticsPlan": { - "items": { - "$ref": "#/components/schemas/ACLAction" - }, - "type": "array" - }, - "edgeConfig": { + "vercelRun": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "edgeConfigItem": { + "vercelRunExec": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "edgeConfigSchema": { + "vpcPeeringConnection": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "edgeConfigToken": { + "webAnalyticsPlan": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -7244,54 +7408,6 @@ }, "type": "array" }, - "endpointVerification": { - "items": { - "$ref": "#/components/schemas/ACLAction" - }, - "type": "array" - }, - "projectTransferIn": { - "items": { - "$ref": "#/components/schemas/ACLAction" - }, - "type": "array" - }, - "oauth2Application": { - "items": { - "$ref": "#/components/schemas/ACLAction" - }, - "type": "array" - }, - "vercelRun": { - "items": { - "$ref": "#/components/schemas/ACLAction" - }, - "type": "array" - }, - "vercelRunExec": { - "items": { - "$ref": "#/components/schemas/ACLAction" - }, - "type": "array" - }, - "apiKey": { - "items": { - "$ref": "#/components/schemas/ACLAction" - }, - "type": "array" - }, - "apiKeyOwnedBySelf": { - "items": { - "$ref": "#/components/schemas/ACLAction" - }, - "type": "array" - }, - "apiKeyAiGateway": { - "items": { - "$ref": "#/components/schemas/ACLAction" - }, - "type": "array" - }, "aliasProject": { "items": { "$ref": "#/components/schemas/ACLAction" @@ -7310,12 +7426,6 @@ }, "type": "array" }, - "productionAliasProtectionBypass": { - "items": { - "$ref": "#/components/schemas/ACLAction" - }, - "type": "array" - }, "connectConfigurationLink": { "items": { "$ref": "#/components/schemas/ACLAction" @@ -7406,6 +7516,12 @@ }, "type": "array" }, + "job": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, "logs": { "items": { "$ref": "#/components/schemas/ACLAction" @@ -7418,37 +7534,37 @@ }, "type": "array" }, - "passwordProtection": { + "observabilityData": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "optionsAllowlist": { + "onDemandBuild": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "job": { + "onDemandConcurrency": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "observabilityData": { + "optionsAllowlist": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "onDemandBuild": { + "passwordProtection": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "onDemandConcurrency": { + "productionAliasProtectionBypass": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -7460,19 +7576,19 @@ }, "type": "array" }, - "projectFromV0": { + "projectAccessGroup": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "projectAccessGroup": { + "projectAnalyticsSampling": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "projectAnalyticsSampling": { + "projectAnalyticsUsage": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -7490,6 +7606,12 @@ }, "type": "array" }, + "projectDeploymentExpiration": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, "projectDeploymentHook": { "items": { "$ref": "#/components/schemas/ACLAction" @@ -7502,13 +7624,13 @@ }, "type": "array" }, - "projectDomainMove": { + "projectDomainCheckConfig": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "projectDomainCheckConfig": { + "projectDomainMove": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -7538,73 +7660,73 @@ }, "type": "array" }, - "projectId": { + "projectFlagsProduction": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "projectIntegrationConfiguration": { + "projectFromV0": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "projectLink": { + "projectId": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "projectMember": { + "projectIntegrationConfiguration": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "projectMonitoring": { + "projectLink": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "projectPermissions": { + "projectMember": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "projectProductionBranch": { + "projectMonitoring": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "projectTransfer": { + "projectOIDCToken": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "projectTransferOut": { + "projectPermissions": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "projectProtectionBypass": { + "projectProductionBranch": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "projectUsage": { + "projectProtectionBypass": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "projectAnalyticsUsage": { + "projectRollingRelease": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -7622,25 +7744,25 @@ }, "type": "array" }, - "projectDeploymentExpiration": { + "projectTier": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "projectRollingRelease": { + "projectTransfer": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "projectTier": { + "projectTransferOut": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "projectOIDCToken": { + "projectUsage": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -7652,43 +7774,37 @@ }, "type": "array" }, - "skewProtection": { - "items": { - "$ref": "#/components/schemas/ACLAction" - }, - "type": "array" - }, - "analytics": { + "sharedEnvVarConnection": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "trustedIps": { + "skewProtection": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "v0Chat": { + "analytics": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "webAnalytics": { + "trustedIps": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "sharedEnvVarConnection": { + "v0Chat": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "sonar": { + "webAnalytics": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -7903,6 +8019,10 @@ "disableRepositoryDispatchEvents": { "type": "boolean", "description": "Whether the Vercel bot should not automatically create GitHub repository-dispatch events on deployment events. https://vercel.com/docs/git/vercel-for-github#repository-dispatch-events" + }, + "requireVerifiedCommits": { + "type": "boolean", + "description": "Whether the project requires commits to be signed before deployments will be created." } }, "required": [ @@ -8526,6 +8646,9 @@ ] }, "type": "array" + }, + "interstitial": { + "type": "boolean" } }, "required": [ @@ -8647,6 +8770,86 @@ ] }, "type": "array" + }, + "hasDeployments": { + "type": "boolean" + }, + "dismissedToasts": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "dismissedAt": { + "type": "number" + }, + "action": { + "type": "string", + "enum": [ + "cancel", + "accept", + "delete" + ] + }, + "value": { + "nullable": true, + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "properties": { + "previousValue": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "currentValue": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + }, + "required": [ + "previousValue", + "currentValue" + ], + "type": "object" + } + ] + } + }, + "required": [ + "key", + "dismissedAt", + "action", + "value" + ], + "type": "object" + }, + "type": "array" } }, "required": [ @@ -9782,10 +9985,12 @@ "zola", "hydrogen", "vite", + "tanstack-start", "vitepress", "vuepress", "parcel", "fastapi", + "flask", "fasthtml", "sanity-v3", "sanity", @@ -9794,6 +9999,9 @@ "hono", "express", "h3", + "nestjs", + "elysia", + "fastify", "xmcp" ] }, @@ -9999,10 +10207,14 @@ "items": { "type": "string" }, - "type": "array" + "type": "array", + "description": "A list of all the aliases (default aliases, staging aliases and production aliases) that were assigned upon deployment creation", + "example": [] }, "aliasAssigned": { - "type": "boolean" + "type": "boolean", + "description": "A boolean that will be true when the aliases from the alias property were assigned successfully", + "example": true }, "bootedAt": { "type": "number" @@ -10020,19 +10232,25 @@ "creator": { "properties": { "uid": { - "type": "string" + "type": "string", + "description": "The ID of the user that created the deployment", + "example": "96SnxkFiMyVKsK3pnoHfx3Hz" }, "username": { - "type": "string" + "type": "string", + "description": "The username of the user that created the deployment", + "example": "john-doe" }, "avatar": { - "type": "string" + "type": "string", + "description": "The avatar of the user that created the deployment" } }, "required": [ "uid" ], - "type": "object" + "type": "object", + "description": "Information about the deployment creator" }, "initReadyAt": { "type": "number" @@ -10094,7 +10312,9 @@ "type": "array" }, "public": { - "type": "boolean" + "type": "boolean", + "description": "A boolean representing if the deployment is public or not. By default this is `false`", + "example": false }, "ready": { "type": "number" @@ -10130,16 +10350,24 @@ "name", "slug" ], - "type": "object" + "type": "object", + "description": "The team that owns the deployment if any" }, "userAliases": { "items": { "type": "string" }, - "type": "array" + "type": "array", + "description": "An array of domains that were provided by the user when creating the Deployment.", + "example": [ + "sub1.example.com", + "sub2.example.com" + ] }, "previewCommentsEnabled": { - "type": "boolean" + "type": "boolean", + "description": "Whether or not preview comments are enabled for the deployment", + "example": false }, "ttyBuildLogs": { "type": "boolean" @@ -10301,7 +10529,7 @@ "updatedAt" ], "type": "object", - "description": "Internal representation of a custom environment with all required properties" + "description": "If the deployment was created using a Custom Environment, then this property contains information regarding the environment used." }, { "properties": { @@ -10312,7 +10540,8 @@ "required": [ "id" ], - "type": "object" + "type": "object", + "description": "If the deployment was created using a Custom Environment, then this property contains information regarding the environment used." } ] }, @@ -10345,10 +10574,14 @@ "type": "object" }, "id": { - "type": "string" + "type": "string", + "description": "A string holding the unique ID of the deployment", + "example": "dpl_89qyp1cskzkLrVicDaZoDbjyHuDJ" }, "createdAt": { - "type": "number" + "type": "number", + "description": "A number containing the date when the deployment was created in milliseconds", + "example": 1540257589405 }, "readyState": { "type": "string", @@ -10359,10 +10592,14 @@ "INITIALIZING", "READY", "CANCELED" - ] + ], + "description": "The state of the deployment depending on the process of deploying, or if it is ready or in an error state", + "example": "READY" }, "name": { - "type": "string" + "type": "string", + "description": "The name of the project associated with the deployment at the time that the deployment was created", + "example": "my-project" }, "type": { "type": "string", @@ -10384,7 +10621,9 @@ "code", "message" ], - "type": "object" + "type": "object", + "description": "An object that will contain a `code` and a `message` when the aliasing fails, otherwise the value will be `null`", + "example": null }, "aliasFinal": { "nullable": true, @@ -10422,7 +10661,9 @@ }, "deletedAt": { "nullable": true, - "type": "number" + "type": "number", + "description": "A number containing the date when the deployment was deleted at milliseconds", + "example": 1540257589405 }, "defaultRoute": { "type": "string", @@ -10972,6 +11213,7 @@ "nodeVersion": { "type": "string", "enum": [ + "24.x", "22.x", "20.x", "18.x", @@ -11000,7 +11242,8 @@ "id", "name" ], - "type": "object" + "type": "object", + "description": "The public project information associated with the deployment." }, "readySubstate": { "type": "string", @@ -11015,10 +11258,16 @@ "items": { "type": "string" }, - "type": "array" + "type": "array", + "description": "The regions the deployment exists in", + "example": [ + "sfo1" + ] }, "softDeletedByRetention": { - "type": "boolean" + "type": "boolean", + "description": "flag to indicate if the deployment was deleted by retention policy", + "example": "true" }, "source": { "type": "string", @@ -11031,7 +11280,9 @@ "import/repo", "redeploy", "v0-web" - ] + ], + "description": "Where was the deployment created from", + "example": "cli" }, "target": { "nullable": true, @@ -11039,19 +11290,27 @@ "enum": [ "staging", "production" - ] + ], + "description": "If defined, either `staging` if a staging alias in the format `\u003cproject\u003e.\u003cteam\u003e.now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the \"preview\" deployment.", + "example": null }, "undeletedAt": { - "type": "number" + "type": "number", + "description": "A number containing the date when the deployment was undeleted at milliseconds", + "example": 1540257589405 }, "url": { - "type": "string" + "type": "string", + "description": "A string with the unique URL of the deployment", + "example": "my-instant-deployment-3ij3cxz9qr.now.sh" }, "version": { "type": "number", "enum": [ 2 - ] + ], + "description": "The platform version that was used to create the deployment.", + "example": 2 }, "oidcTokenClaims": { "properties": { @@ -11081,6 +11340,9 @@ }, "environment": { "type": "string" + }, + "plan": { + "type": "string" } }, "required": [ @@ -11092,7 +11354,8 @@ "owner_id", "project", "project_id", - "environment" + "environment", + "plan" ], "type": "object" }, @@ -12032,14 +12295,6 @@ "minItems": 2, "type": "array", "description": "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." - }, - "microfrontendsAlias2Enabled": { - "type": "boolean", - "description": "Whether the MicrofrontendsAlias2 team flag should be considered enabled for this deployment or not." - }, - "microfrontendsAliasRoutingVercelSiteProdTestHost": { - "type": "boolean", - "description": "Temporary flag to safely test MFE alias routing in vercel-site production for specific production hosts (not vercel.com)" } }, "required": [ @@ -12112,14 +12367,6 @@ "minItems": 2, "type": "array", "description": "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." - }, - "microfrontendsAlias2Enabled": { - "type": "boolean", - "description": "Whether the MicrofrontendsAlias2 team flag should be considered enabled for this deployment or not." - }, - "microfrontendsAliasRoutingVercelSiteProdTestHost": { - "type": "boolean", - "description": "Temporary flag to safely test MFE alias routing in vercel-site production for specific production hosts (not vercel.com)" } }, "required": [ @@ -12248,10 +12495,14 @@ "items": { "type": "string" }, - "type": "array" + "type": "array", + "description": "A list of all the aliases (default aliases, staging aliases and production aliases) that were assigned upon deployment creation", + "example": [] }, "aliasAssigned": { - "type": "boolean" + "type": "boolean", + "description": "A boolean that will be true when the aliases from the alias property were assigned successfully", + "example": true }, "bootedAt": { "type": "number" @@ -12269,19 +12520,25 @@ "creator": { "properties": { "uid": { - "type": "string" + "type": "string", + "description": "The ID of the user that created the deployment", + "example": "96SnxkFiMyVKsK3pnoHfx3Hz" }, "username": { - "type": "string" + "type": "string", + "description": "The username of the user that created the deployment", + "example": "john-doe" }, "avatar": { - "type": "string" + "type": "string", + "description": "The avatar of the user that created the deployment" } }, "required": [ "uid" ], - "type": "object" + "type": "object", + "description": "Information about the deployment creator" }, "initReadyAt": { "type": "number" @@ -12343,7 +12600,9 @@ "type": "array" }, "public": { - "type": "boolean" + "type": "boolean", + "description": "A boolean representing if the deployment is public or not. By default this is `false`", + "example": false }, "ready": { "type": "number" @@ -12379,16 +12638,24 @@ "name", "slug" ], - "type": "object" + "type": "object", + "description": "The team that owns the deployment if any" }, "userAliases": { "items": { "type": "string" }, - "type": "array" + "type": "array", + "description": "An array of domains that were provided by the user when creating the Deployment.", + "example": [ + "sub1.example.com", + "sub2.example.com" + ] }, "previewCommentsEnabled": { - "type": "boolean" + "type": "boolean", + "description": "Whether or not preview comments are enabled for the deployment", + "example": false }, "ttyBuildLogs": { "type": "boolean" @@ -12550,7 +12817,7 @@ "updatedAt" ], "type": "object", - "description": "Internal representation of a custom environment with all required properties" + "description": "If the deployment was created using a Custom Environment, then this property contains information regarding the environment used." }, { "properties": { @@ -12561,7 +12828,8 @@ "required": [ "id" ], - "type": "object" + "type": "object", + "description": "If the deployment was created using a Custom Environment, then this property contains information regarding the environment used." } ] }, @@ -12594,10 +12862,14 @@ "type": "object" }, "id": { - "type": "string" + "type": "string", + "description": "A string holding the unique ID of the deployment", + "example": "dpl_89qyp1cskzkLrVicDaZoDbjyHuDJ" }, "createdAt": { - "type": "number" + "type": "number", + "description": "A number containing the date when the deployment was created in milliseconds", + "example": 1540257589405 }, "readyState": { "type": "string", @@ -12608,10 +12880,14 @@ "INITIALIZING", "READY", "CANCELED" - ] + ], + "description": "The state of the deployment depending on the process of deploying, or if it is ready or in an error state", + "example": "READY" }, "name": { - "type": "string" + "type": "string", + "description": "The name of the project associated with the deployment at the time that the deployment was created", + "example": "my-project" }, "type": { "type": "string", @@ -12633,7 +12909,9 @@ "code", "message" ], - "type": "object" + "type": "object", + "description": "An object that will contain a `code` and a `message` when the aliasing fails, otherwise the value will be `null`", + "example": null }, "aliasFinal": { "nullable": true, @@ -12671,7 +12949,9 @@ }, "deletedAt": { "nullable": true, - "type": "number" + "type": "number", + "description": "A number containing the date when the deployment was deleted at milliseconds", + "example": 1540257589405 }, "defaultRoute": { "type": "string", @@ -13221,6 +13501,7 @@ "nodeVersion": { "type": "string", "enum": [ + "24.x", "22.x", "20.x", "18.x", @@ -13249,7 +13530,8 @@ "id", "name" ], - "type": "object" + "type": "object", + "description": "The public project information associated with the deployment." }, "readySubstate": { "type": "string", @@ -13264,10 +13546,16 @@ "items": { "type": "string" }, - "type": "array" + "type": "array", + "description": "The regions the deployment exists in", + "example": [ + "sfo1" + ] }, "softDeletedByRetention": { - "type": "boolean" + "type": "boolean", + "description": "flag to indicate if the deployment was deleted by retention policy", + "example": "true" }, "source": { "type": "string", @@ -13280,7 +13568,9 @@ "import/repo", "redeploy", "v0-web" - ] + ], + "description": "Where was the deployment created from", + "example": "cli" }, "target": { "nullable": true, @@ -13288,19 +13578,27 @@ "enum": [ "staging", "production" - ] + ], + "description": "If defined, either `staging` if a staging alias in the format `\u003cproject\u003e.\u003cteam\u003e.now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the \"preview\" deployment.", + "example": null }, "undeletedAt": { - "type": "number" + "type": "number", + "description": "A number containing the date when the deployment was undeleted at milliseconds", + "example": 1540257589405 }, "url": { - "type": "string" + "type": "string", + "description": "A string with the unique URL of the deployment", + "example": "my-instant-deployment-3ij3cxz9qr.now.sh" }, "version": { "type": "number", "enum": [ 2 - ] + ], + "description": "The platform version that was used to create the deployment.", + "example": 2 }, "oidcTokenClaims": { "properties": { @@ -13330,6 +13628,9 @@ }, "environment": { "type": "string" + }, + "plan": { + "type": "string" } }, "required": [ @@ -13341,7 +13642,8 @@ "owner_id", "project", "project_id", - "environment" + "environment", + "plan" ], "type": "object" } @@ -13537,10 +13839,6 @@ "nullable": true, "type": "string" }, - "commandForIgnoringBuildStep": { - "nullable": true, - "type": "string" - }, "devCommand": { "nullable": true, "type": "string" @@ -13588,10 +13886,12 @@ "zola", "hydrogen", "vite", + "tanstack-start", "vitepress", "vuepress", "parcel", "fastapi", + "flask", "fasthtml", "sanity-v3", "sanity", @@ -13600,9 +13900,16 @@ "hono", "express", "h3", + "nestjs", + "elysia", + "fastify", "xmcp" ] }, + "commandForIgnoringBuildStep": { + "nullable": true, + "type": "string" + }, "installCommand": { "nullable": true, "type": "string" @@ -13801,10 +14108,14 @@ "items": { "type": "string" }, - "type": "array" + "type": "array", + "description": "A list of all the aliases (default aliases, staging aliases and production aliases) that were assigned upon deployment creation", + "example": [] }, "aliasAssigned": { - "type": "boolean" + "type": "boolean", + "description": "A boolean that will be true when the aliases from the alias property were assigned successfully", + "example": true }, "bootedAt": { "type": "number" @@ -13822,19 +14133,25 @@ "creator": { "properties": { "uid": { - "type": "string" + "type": "string", + "description": "The ID of the user that created the deployment", + "example": "96SnxkFiMyVKsK3pnoHfx3Hz" }, "username": { - "type": "string" + "type": "string", + "description": "The username of the user that created the deployment", + "example": "john-doe" }, "avatar": { - "type": "string" + "type": "string", + "description": "The avatar of the user that created the deployment" } }, "required": [ "uid" ], - "type": "object" + "type": "object", + "description": "Information about the deployment creator" }, "initReadyAt": { "type": "number" @@ -13896,7 +14213,9 @@ "type": "array" }, "public": { - "type": "boolean" + "type": "boolean", + "description": "A boolean representing if the deployment is public or not. By default this is `false`", + "example": false }, "ready": { "type": "number" @@ -13904,12 +14223,12 @@ "status": { "type": "string", "enum": [ - "CANCELED", - "ERROR", "QUEUED", "BUILDING", + "ERROR", "INITIALIZING", - "READY" + "READY", + "CANCELED" ] }, "team": { @@ -13932,16 +14251,24 @@ "name", "slug" ], - "type": "object" + "type": "object", + "description": "The team that owns the deployment if any" }, "userAliases": { "items": { "type": "string" }, - "type": "array" + "type": "array", + "description": "An array of domains that were provided by the user when creating the Deployment.", + "example": [ + "sub1.example.com", + "sub2.example.com" + ] }, "previewCommentsEnabled": { - "type": "boolean" + "type": "boolean", + "description": "Whether or not preview comments are enabled for the deployment", + "example": false }, "ttyBuildLogs": { "type": "boolean" @@ -14103,7 +14430,7 @@ "updatedAt" ], "type": "object", - "description": "Internal representation of a custom environment with all required properties" + "description": "If the deployment was created using a Custom Environment, then this property contains information regarding the environment used." }, { "properties": { @@ -14114,7 +14441,8 @@ "required": [ "id" ], - "type": "object" + "type": "object", + "description": "If the deployment was created using a Custom Environment, then this property contains information regarding the environment used." } ] }, @@ -14124,14 +14452,55 @@ "out-of-memory" ] }, - "id": { - "type": "string" + "aliasWarning": { + "nullable": true, + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "link": { + "type": "string" + }, + "action": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" }, - "name": { - "type": "string" + "id": { + "type": "string", + "description": "A string holding the unique ID of the deployment", + "example": "dpl_89qyp1cskzkLrVicDaZoDbjyHuDJ" }, "createdAt": { - "type": "number" + "type": "number", + "description": "A number containing the date when the deployment was created in milliseconds", + "example": 1540257589405 + }, + "readyState": { + "type": "string", + "enum": [ + "QUEUED", + "BUILDING", + "ERROR", + "INITIALIZING", + "READY", + "CANCELED" + ], + "description": "The state of the deployment depending on the process of deploying, or if it is ready or in an error state", + "example": "READY" + }, + "name": { + "type": "string", + "description": "The name of the project associated with the deployment at the time that the deployment was created", + "example": "my-project" }, "type": { "type": "string", @@ -14139,10 +14508,91 @@ "LAMBDAS" ] }, + "aliasError": { + "nullable": true, + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object", + "description": "An object that will contain a `code` and a `message` when the aliasing fails, otherwise the value will be `null`", + "example": null + }, + "aliasFinal": { + "nullable": true, + "type": "string" + }, "autoAssignCustomDomains": { "type": "boolean", "description": "applies to custom domains only, defaults to `true`" }, + "automaticAliases": { + "items": { + "type": "string" + }, + "type": "array" + }, + "buildErrorAt": { + "type": "number" + }, + "checksState": { + "type": "string", + "enum": [ + "registered", + "running", + "completed" + ] + }, + "checksConclusion": { + "type": "string", + "enum": [ + "succeeded", + "failed", + "skipped", + "canceled" + ] + }, + "deletedAt": { + "nullable": true, + "type": "number", + "description": "A number containing the date when the deployment was deleted at milliseconds", + "example": 1540257589405 + }, + "defaultRoute": { + "type": "string", + "description": "Computed field that is only available for deployments with a microfrontend configuration." + }, + "canceledAt": { + "type": "number" + }, + "errorCode": { + "type": "string" + }, + "errorLink": { + "type": "string" + }, + "errorMessage": { + "nullable": true, + "type": "string" + }, + "errorStep": { + "type": "string" + }, + "passiveRegions": { + "items": { + "type": "string" + }, + "type": "array", + "description": "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": { "oneOf": [ { @@ -14658,6 +15108,24 @@ }, "type": "object" }, + "originCacheRegion": { + "type": "string" + }, + "nodeVersion": { + "type": "string", + "enum": [ + "24.x", + "22.x", + "20.x", + "18.x", + "16.x", + "14.x", + "12.x", + "10.x", + "8.10.x" + ], + "description": "If set it overrides the `projectSettings.nodeVersion` for this deployment." + }, "project": { "properties": { "id": { @@ -14675,167 +15143,75 @@ "id", "name" ], - "type": "object" + "type": "object", + "description": "The public project information associated with the deployment." }, - "nodeVersion": { + "readySubstate": { "type": "string", "enum": [ - "22.x", - "20.x", - "18.x", - "16.x", - "14.x", - "12.x", - "10.x", - "8.10.x" + "STAGED", + "ROLLING", + "PROMOTED" ], - "description": "If set it overrides the `projectSettings.nodeVersion` for this deployment." + "description": "Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - ROLLING: in the process of having production traffic gradually transitioned. - PROMOTED: has seen production traffic" }, - "readyState": { - "type": "string", - "enum": [ - "CANCELED", - "ERROR", - "QUEUED", - "BUILDING", - "INITIALIZING", - "READY" + "regions": { + "items": { + "type": "string" + }, + "type": "array", + "description": "The regions the deployment exists in", + "example": [ + "sfo1" ] }, + "softDeletedByRetention": { + "type": "boolean", + "description": "flag to indicate if the deployment was deleted by retention policy", + "example": "true" + }, "source": { "type": "string", "enum": [ + "api-trigger-git-deploy", "cli", + "clone/repo", "git", "import", "import/repo", - "clone/repo", - "api-trigger-git-deploy", "redeploy", "v0-web" - ] + ], + "description": "Where was the deployment created from", + "example": "cli" }, "target": { "nullable": true, "type": "string", "enum": [ - "production", - "staging" - ] - }, - "errorMessage": { - "nullable": true, - "type": "string" - }, - "deletedAt": { - "nullable": true, - "type": "number" + "staging", + "production" + ], + "description": "If defined, either `staging` if a staging alias in the format `\u003cproject\u003e.\u003cteam\u003e.now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the \"preview\" deployment.", + "example": null }, - "passiveRegions": { - "items": { - "type": "string" - }, - "type": "array", - "description": "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" + "undeletedAt": { + "type": "number", + "description": "A number containing the date when the deployment was undeleted at milliseconds", + "example": 1540257589405 }, - "regions": { - "items": { - "type": "string" - }, - "type": "array" + "url": { + "type": "string", + "description": "A string with the unique URL of the deployment", + "example": "my-instant-deployment-3ij3cxz9qr.now.sh" }, "version": { "type": "number", "enum": [ 2 - ] - }, - "aliasError": { - "nullable": true, - "properties": { - "code": { - "type": "string" - }, - "message": { - "type": "string" - } - }, - "required": [ - "code", - "message" - ], - "type": "object" - }, - "aliasFinal": { - "nullable": true, - "type": "string" - }, - "aliasWarning": { - "nullable": true, - "properties": { - "code": { - "type": "string" - }, - "message": { - "type": "string" - }, - "link": { - "type": "string" - }, - "action": { - "type": "string" - } - }, - "required": [ - "code", - "message" ], - "type": "object" - }, - "automaticAliases": { - "items": { - "type": "string" - }, - "type": "array" - }, - "buildErrorAt": { - "type": "number" - }, - "canceledAt": { - "type": "number" - }, - "checksConclusion": { - "type": "string", - "enum": [ - "succeeded", - "failed", - "skipped", - "canceled" - ] - }, - "checksState": { - "type": "string", - "enum": [ - "registered", - "running", - "completed" - ] - }, - "defaultRoute": { - "type": "string", - "description": "Computed field that is only available for deployments with a microfrontend configuration." - }, - "errorCode": { - "type": "string" - }, - "errorLink": { - "type": "string" - }, - "errorStep": { - "type": "string" - }, - "originCacheRegion": { - "type": "string" + "description": "The platform version that was used to create the deployment.", + "example": 2 }, "oidcTokenClaims": { "properties": { @@ -14865,6 +15241,9 @@ }, "environment": { "type": "string" + }, + "plan": { + "type": "string" } }, "required": [ @@ -14876,91 +15255,48 @@ "owner_id", "project", "project_id", - "environment" + "environment", + "plan" ], "type": "object" }, - "readySubstate": { - "type": "string", - "enum": [ - "STAGED", - "ROLLING", - "PROMOTED" - ], - "description": "Substate of deployment when readyState is 'READY' Tracks whether or not deployment has seen production traffic: - STAGED: never seen production traffic - ROLLING: in the process of having production traffic gradually transitioned. - PROMOTED: has seen production traffic" - }, - "softDeletedByRetention": { - "type": "boolean" - }, - "undeletedAt": { - "type": "number" - }, - "url": { - "type": "string" - }, "projectId": { "type": "string" }, - "monorepoManager": { - "nullable": true, - "type": "string" - }, - "ownerId": { - "type": "string" - }, "plan": { "type": "string", "enum": [ - "hobby", "pro", - "enterprise" + "enterprise", + "hobby" ] }, - "config": { - "properties": { - "version": { - "type": "number" - }, - "functionType": { - "type": "string", - "enum": [ - "fluid", - "standard" - ] - }, - "functionMemoryType": { - "type": "string", - "enum": [ - "standard", - "standard_legacy", - "performance" - ] - }, - "functionTimeout": { - "nullable": true, - "type": "number" - }, - "secureComputePrimaryRegion": { - "nullable": true, - "type": "string" - }, - "secureComputeFallbackRegion": { - "nullable": true, - "type": "string" + "connectBuildsEnabled": { + "type": "boolean" + }, + "connectConfigurationId": { + "type": "string" + }, + "createdIn": { + "type": "string" + }, + "crons": { + "items": { + "properties": { + "schedule": { + "type": "string" + }, + "path": { + "type": "string" + } }, - "isUsingActiveCPU": { - "type": "boolean" - } + "required": [ + "schedule", + "path" + ], + "type": "object" }, - "required": [ - "functionType", - "functionMemoryType", - "functionTimeout", - "secureComputePrimaryRegion", - "secureComputeFallbackRegion" - ], - "type": "object", - "description": "Since February 2025 the configuration must include snapshot data at the time of deployment creation to capture properties for the /deployments/:id/config endpoint utilized for displaying Deployment Configuration on the frontend This is optional because older deployments may not have this data captured" + "type": "array" }, "functions": { "nullable": true, @@ -15037,6 +15373,17 @@ }, "type": "object" }, + "monorepoManager": { + "nullable": true, + "type": "string" + }, + "ownerId": { + "type": "string" + }, + "passiveConnectConfigurationId": { + "type": "string", + "description": "Since November 2023 this field defines a Secure Compute network that will only be used to deploy passive lambdas to (as in passiveRegions)" + }, "routes": { "nullable": true, "items": { @@ -15604,250 +15951,6 @@ }, "type": "array" }, - "crons": { - "items": { - "properties": { - "schedule": { - "type": "string" - }, - "path": { - "type": "string" - } - }, - "required": [ - "schedule", - "path" - ], - "type": "object" - }, - "type": "array" - }, - "checks": { - "properties": { - "deployment-alias": { - "properties": { - "state": { - "type": "string", - "enum": [ - "succeeded", - "failed", - "pending" - ] - }, - "startedAt": { - "type": "number" - }, - "completedAt": { - "type": "number" - } - }, - "required": [ - "state", - "startedAt" - ], - "type": "object", - "description": "Condensed check data. Retrieve individual check and check run data using api-checks v2 routes." - } - }, - "required": [ - "deployment-alias" - ], - "type": "object" - }, - "microfrontends": { - "oneOf": [ - { - "properties": { - "isDefaultApp": { - "type": "boolean" - }, - "defaultAppProjectName": { - "type": "string", - "description": "The project name of the default app of this deployment's microfrontends group." - }, - "defaultRoute": { - "type": "string", - "description": "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": { - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "string" - } - ] - }, - "maxItems": 2, - "minItems": 2, - "type": "array", - "description": "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." - }, - "microfrontendsAlias2Enabled": { - "type": "boolean", - "description": "Whether the MicrofrontendsAlias2 team flag should be considered enabled for this deployment or not." - }, - "microfrontendsAliasRoutingVercelSiteProdTestHost": { - "type": "boolean", - "description": "Temporary flag to safely test MFE alias routing in vercel-site production for specific production hosts (not vercel.com)" - } - }, - "required": [ - "defaultAppProjectName", - "groupIds" - ], - "type": "object" - }, - { - "properties": { - "isDefaultApp": { - "type": "boolean" - }, - "applications": { - "additionalProperties": { - "properties": { - "isDefaultApp": { - "type": "boolean" - }, - "productionHost": { - "type": "string", - "description": "This is the production alias, it will always show the most up to date of each application." - }, - "deploymentAlias": { - "type": "string", - "description": "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." - }, - "deploymentHost": { - "type": "string" - } - }, - "required": [ - "productionHost" - ], - "type": "object", - "description": "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. Note: this field will be removed when MFE alias routing is fully rolled out." - }, - "type": "object", - "description": "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. Note: this field will be removed when MFE alias routing is fully rolled out." - }, - "mfeConfigUploadState": { - "type": "string", - "enum": [ - "success", - "waiting_on_build", - "no_config" - ], - "description": "The result of the microfrontends config upload during deployment creation / build. Only set for default app deployments. The config upload is attempted during deployment create, and then again during the build. If the config is not in the root directory, or the deployment is prebuilt, the config cannot be uploaded during deployment create. The upload during deployment build finds the config even if it's not in the root directory, as it has access to all files. Uploading the config during create is ideal, as then all child deployments are guaranteed to have access to the default app deployment config even if the default app has not yet started building. If the config is not uploaded, the child app will show as building until the config has been uploaded during the default app build. - `success` - The config was uploaded successfully, either when the deployment was created or during the build. - `waiting_on_build` - The config could not be uploaded during deployment create, will be attempted again during the build. - `no_config` - No config was found. Only set once the build has not found the config in any of the deployment's files. - `undefined` - Legacy deployments, or there was an error uploading the config during deployment create." - }, - "defaultAppProjectName": { - "type": "string", - "description": "The project name of the default app of this deployment's microfrontends group." - }, - "defaultRoute": { - "type": "string", - "description": "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": { - "items": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "string" - } - ] - }, - "maxItems": 2, - "minItems": 2, - "type": "array", - "description": "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." - }, - "microfrontendsAlias2Enabled": { - "type": "boolean", - "description": "Whether the MicrofrontendsAlias2 team flag should be considered enabled for this deployment or not." - }, - "microfrontendsAliasRoutingVercelSiteProdTestHost": { - "type": "boolean", - "description": "Temporary flag to safely test MFE alias routing in vercel-site production for specific production hosts (not vercel.com)" - } - }, - "required": [ - "isDefaultApp", - "defaultAppProjectName", - "groupIds" - ], - "type": "object" - } - ] - }, - "connectBuildsEnabled": { - "type": "boolean" - }, - "connectConfigurationId": { - "type": "string" - }, - "createdIn": { - "type": "string" - }, - "passiveConnectConfigurationId": { - "type": "string", - "description": "Since November 2023 this field defines a Secure Compute network that will only be used to deploy passive lambdas to (as in passiveRegions)" - }, - "flags": { - "oneOf": [ - { - "properties": { - "definitions": { - "additionalProperties": { - "properties": { - "options": { - "items": { - "properties": { - "value": { - "$ref": "#/components/schemas/FlagJSONValue" - }, - "label": { - "type": "string" - } - }, - "required": [ - "value" - ], - "type": "object" - }, - "type": "array" - }, - "url": { - "type": "string" - }, - "description": { - "type": "string" - } - }, - "type": "object" - }, - "type": "object" - } - }, - "required": [ - "definitions" - ], - "type": "object", - "description": "Flags defined in the Build Output API, used by this deployment. Primarily used by the Toolbar to know about the used flags." - }, - { - "items": { - "type": "object", - "description": "Flags defined in the Build Output API, used by this deployment. Primarily used by the Toolbar to know about the used flags." - }, - "type": "array", - "description": "Flags defined in the Build Output API, used by this deployment. Primarily used by the Toolbar to know about the used flags." - } - ] - }, "gitRepo": { "nullable": true, "oneOf": [ @@ -16010,6 +16113,249 @@ "type": "object" } ] + }, + "flags": { + "oneOf": [ + { + "properties": { + "definitions": { + "additionalProperties": { + "properties": { + "options": { + "items": { + "properties": { + "value": { + "$ref": "#/components/schemas/FlagJSONValue" + }, + "label": { + "type": "string" + } + }, + "required": [ + "value" + ], + "type": "object" + }, + "type": "array" + }, + "url": { + "type": "string" + }, + "description": { + "type": "string" + } + }, + "type": "object" + }, + "type": "object" + } + }, + "required": [ + "definitions" + ], + "type": "object", + "description": "Flags defined in the Build Output API, used by this deployment. Primarily used by the Toolbar to know about the used flags." + }, + { + "items": { + "type": "object", + "description": "Flags defined in the Build Output API, used by this deployment. Primarily used by the Toolbar to know about the used flags." + }, + "type": "array", + "description": "Flags defined in the Build Output API, used by this deployment. Primarily used by the Toolbar to know about the used flags." + } + ] + }, + "microfrontends": { + "oneOf": [ + { + "properties": { + "isDefaultApp": { + "type": "boolean" + }, + "defaultAppProjectName": { + "type": "string", + "description": "The project name of the default app of this deployment's microfrontends group." + }, + "defaultRoute": { + "type": "string", + "description": "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": { + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "string" + } + ] + }, + "maxItems": 2, + "minItems": 2, + "type": "array", + "description": "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." + } + }, + "required": [ + "defaultAppProjectName", + "groupIds" + ], + "type": "object" + }, + { + "properties": { + "isDefaultApp": { + "type": "boolean" + }, + "applications": { + "additionalProperties": { + "properties": { + "isDefaultApp": { + "type": "boolean" + }, + "productionHost": { + "type": "string", + "description": "This is the production alias, it will always show the most up to date of each application." + }, + "deploymentAlias": { + "type": "string", + "description": "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." + }, + "deploymentHost": { + "type": "string" + } + }, + "required": [ + "productionHost" + ], + "type": "object", + "description": "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. Note: this field will be removed when MFE alias routing is fully rolled out." + }, + "type": "object", + "description": "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. Note: this field will be removed when MFE alias routing is fully rolled out." + }, + "mfeConfigUploadState": { + "type": "string", + "enum": [ + "success", + "waiting_on_build", + "no_config" + ], + "description": "The result of the microfrontends config upload during deployment creation / build. Only set for default app deployments. The config upload is attempted during deployment create, and then again during the build. If the config is not in the root directory, or the deployment is prebuilt, the config cannot be uploaded during deployment create. The upload during deployment build finds the config even if it's not in the root directory, as it has access to all files. Uploading the config during create is ideal, as then all child deployments are guaranteed to have access to the default app deployment config even if the default app has not yet started building. If the config is not uploaded, the child app will show as building until the config has been uploaded during the default app build. - `success` - The config was uploaded successfully, either when the deployment was created or during the build. - `waiting_on_build` - The config could not be uploaded during deployment create, will be attempted again during the build. - `no_config` - No config was found. Only set once the build has not found the config in any of the deployment's files. - `undefined` - Legacy deployments, or there was an error uploading the config during deployment create." + }, + "defaultAppProjectName": { + "type": "string", + "description": "The project name of the default app of this deployment's microfrontends group." + }, + "defaultRoute": { + "type": "string", + "description": "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": { + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "string" + } + ] + }, + "maxItems": 2, + "minItems": 2, + "type": "array", + "description": "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." + } + }, + "required": [ + "isDefaultApp", + "defaultAppProjectName", + "groupIds" + ], + "type": "object" + } + ] + }, + "config": { + "properties": { + "version": { + "type": "number" + }, + "functionType": { + "type": "string", + "enum": [ + "fluid", + "standard" + ] + }, + "functionMemoryType": { + "type": "string", + "enum": [ + "standard", + "standard_legacy", + "performance" + ] + }, + "functionTimeout": { + "nullable": true, + "type": "number" + }, + "secureComputePrimaryRegion": { + "nullable": true, + "type": "string" + }, + "secureComputeFallbackRegion": { + "nullable": true, + "type": "string" + }, + "isUsingActiveCPU": { + "type": "boolean" + } + }, + "required": [ + "functionType", + "functionMemoryType", + "functionTimeout", + "secureComputePrimaryRegion", + "secureComputeFallbackRegion" + ], + "type": "object", + "description": "Since February 2025 the configuration must include snapshot data at the time of deployment creation to capture properties for the /deployments/:id/config endpoint utilized for displaying Deployment Configuration on the frontend This is optional because older deployments may not have this data captured" + }, + "checks": { + "properties": { + "deployment-alias": { + "properties": { + "state": { + "type": "string", + "enum": [ + "succeeded", + "failed", + "pending" + ] + }, + "startedAt": { + "type": "number" + }, + "completedAt": { + "type": "number" + } + }, + "required": [ + "state", + "startedAt" + ], + "type": "object", + "description": "Condensed check data. Retrieve individual check and check run data using api-checks v2 routes." + } + }, + "required": [ + "deployment-alias" + ], + "type": "object" } }, "required": [ @@ -16027,19 +16373,19 @@ "public", "status", "id", - "name", "createdAt", + "readyState", + "name", "type", "meta", - "readyState", "regions", - "version", "url", + "version", "projectId", - "ownerId", "plan", - "routes", - "createdIn" + "createdIn", + "ownerId", + "routes" ], "type": "object", "description": "The successfully created deployment" @@ -16605,10 +16951,12 @@ "zola", "hydrogen", "vite", + "tanstack-start", "vitepress", "vuepress", "parcel", "fastapi", + "flask", "fasthtml", "sanity-v3", "sanity", @@ -16617,6 +16965,9 @@ "hono", "express", "h3", + "nestjs", + "elysia", + "fastify", "xmcp" ], "nullable": true @@ -16631,6 +16982,7 @@ "nodeVersion": { "description": "Override the Node.js version that should be used for this deployment", "enum": [ + "24.x", "22.x", "20.x", "18.x", @@ -16837,10 +17189,12 @@ "zola", "hydrogen", "vite", + "tanstack-start", "vitepress", "vuepress", "parcel", "fastapi", + "flask", "fasthtml", "sanity-v3", "sanity", @@ -16849,6 +17203,9 @@ "hono", "express", "h3", + "nestjs", + "elysia", + "fastify", "xmcp" ] }, @@ -17054,10 +17411,14 @@ "items": { "type": "string" }, - "type": "array" + "type": "array", + "description": "A list of all the aliases (default aliases, staging aliases and production aliases) that were assigned upon deployment creation", + "example": [] }, "aliasAssigned": { - "type": "boolean" + "type": "boolean", + "description": "A boolean that will be true when the aliases from the alias property were assigned successfully", + "example": true }, "bootedAt": { "type": "number" @@ -17075,19 +17436,25 @@ "creator": { "properties": { "uid": { - "type": "string" + "type": "string", + "description": "The ID of the user that created the deployment", + "example": "96SnxkFiMyVKsK3pnoHfx3Hz" }, "username": { - "type": "string" + "type": "string", + "description": "The username of the user that created the deployment", + "example": "john-doe" }, "avatar": { - "type": "string" + "type": "string", + "description": "The avatar of the user that created the deployment" } }, "required": [ "uid" ], - "type": "object" + "type": "object", + "description": "Information about the deployment creator" }, "initReadyAt": { "type": "number" @@ -17149,7 +17516,9 @@ "type": "array" }, "public": { - "type": "boolean" + "type": "boolean", + "description": "A boolean representing if the deployment is public or not. By default this is `false`", + "example": false }, "ready": { "type": "number" @@ -17185,16 +17554,24 @@ "name", "slug" ], - "type": "object" + "type": "object", + "description": "The team that owns the deployment if any" }, "userAliases": { "items": { "type": "string" }, - "type": "array" + "type": "array", + "description": "An array of domains that were provided by the user when creating the Deployment.", + "example": [ + "sub1.example.com", + "sub2.example.com" + ] }, "previewCommentsEnabled": { - "type": "boolean" + "type": "boolean", + "description": "Whether or not preview comments are enabled for the deployment", + "example": false }, "ttyBuildLogs": { "type": "boolean" @@ -17356,7 +17733,7 @@ "updatedAt" ], "type": "object", - "description": "Internal representation of a custom environment with all required properties" + "description": "If the deployment was created using a Custom Environment, then this property contains information regarding the environment used." }, { "properties": { @@ -17367,7 +17744,8 @@ "required": [ "id" ], - "type": "object" + "type": "object", + "description": "If the deployment was created using a Custom Environment, then this property contains information regarding the environment used." } ] }, @@ -17378,7 +17756,9 @@ ] }, "id": { - "type": "string" + "type": "string", + "description": "A string holding the unique ID of the deployment", + "example": "dpl_89qyp1cskzkLrVicDaZoDbjyHuDJ" }, "aliasError": { "nullable": true, @@ -17394,7 +17774,9 @@ "code", "message" ], - "type": "object" + "type": "object", + "description": "An object that will contain a `code` and a `message` when the aliasing fails, otherwise the value will be `null`", + "example": null }, "aliasFinal": { "nullable": true, @@ -17453,11 +17835,15 @@ ] }, "createdAt": { - "type": "number" + "type": "number", + "description": "A number containing the date when the deployment was created in milliseconds", + "example": 1540257589405 }, "deletedAt": { "nullable": true, - "type": "number" + "type": "number", + "description": "A number containing the date when the deployment was deleted at milliseconds", + "example": 1540257589405 }, "defaultRoute": { "type": "string", @@ -17996,7 +18382,9 @@ ] }, "name": { - "type": "string" + "type": "string", + "description": "The name of the project associated with the deployment at the time that the deployment was created", + "example": "my-project" }, "meta": { "additionalProperties": { @@ -18010,6 +18398,7 @@ "nodeVersion": { "type": "string", "enum": [ + "24.x", "22.x", "20.x", "18.x", @@ -18038,7 +18427,8 @@ "id", "name" ], - "type": "object" + "type": "object", + "description": "The public project information associated with the deployment." }, "readyState": { "type": "string", @@ -18049,7 +18439,9 @@ "QUEUED", "READY", "CANCELED" - ] + ], + "description": "The state of the deployment depending on the process of deploying, or if it is ready or in an error state", + "example": "READY" }, "readySubstate": { "type": "string", @@ -18064,10 +18456,16 @@ "items": { "type": "string" }, - "type": "array" + "type": "array", + "description": "The regions the deployment exists in", + "example": [ + "sfo1" + ] }, "softDeletedByRetention": { - "type": "boolean" + "type": "boolean", + "description": "flag to indicate if the deployment was deleted by retention policy", + "example": "true" }, "source": { "type": "string", @@ -18080,7 +18478,9 @@ "import/repo", "redeploy", "v0-web" - ] + ], + "description": "Where was the deployment created from", + "example": "cli" }, "target": { "nullable": true, @@ -18088,7 +18488,9 @@ "enum": [ "staging", "production" - ] + ], + "description": "If defined, either `staging` if a staging alias in the format `\u003cproject\u003e.\u003cteam\u003e.now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the \"preview\" deployment.", + "example": null }, "type": { "type": "string", @@ -18097,16 +18499,22 @@ ] }, "undeletedAt": { - "type": "number" + "type": "number", + "description": "A number containing the date when the deployment was undeleted at milliseconds", + "example": 1540257589405 }, "url": { - "type": "string" + "type": "string", + "description": "A string with the unique URL of the deployment", + "example": "my-instant-deployment-3ij3cxz9qr.now.sh" }, "version": { "type": "number", "enum": [ 2 - ] + ], + "description": "The platform version that was used to create the deployment.", + "example": 2 }, "oidcTokenClaims": { "properties": { @@ -18136,6 +18544,9 @@ }, "environment": { "type": "string" + }, + "plan": { + "type": "string" } }, "required": [ @@ -18147,7 +18558,8 @@ "owner_id", "project", "project_id", - "environment" + "environment", + "plan" ], "type": "object" }, @@ -19087,14 +19499,6 @@ "minItems": 2, "type": "array", "description": "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." - }, - "microfrontendsAlias2Enabled": { - "type": "boolean", - "description": "Whether the MicrofrontendsAlias2 team flag should be considered enabled for this deployment or not." - }, - "microfrontendsAliasRoutingVercelSiteProdTestHost": { - "type": "boolean", - "description": "Temporary flag to safely test MFE alias routing in vercel-site production for specific production hosts (not vercel.com)" } }, "required": [ @@ -19167,14 +19571,6 @@ "minItems": 2, "type": "array", "description": "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." - }, - "microfrontendsAlias2Enabled": { - "type": "boolean", - "description": "Whether the MicrofrontendsAlias2 team flag should be considered enabled for this deployment or not." - }, - "microfrontendsAliasRoutingVercelSiteProdTestHost": { - "type": "boolean", - "description": "Temporary flag to safely test MFE alias routing in vercel-site production for specific production hosts (not vercel.com)" } }, "required": [ @@ -19369,14 +19765,14 @@ }, "/v5/domains/buy": { "post": { - "description": "Allows to purchase the specified domain.", + "description": "This endpoint is deprecated and replaced with the endpoint [Buy a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/buy-a-domain). Purchases the specified domain.", "operationId": "buyDomain", "security": [ { "bearerToken": [] } ], - "summary": "Purchase a domain", + "summary": "Purchase a domain (deprecated)", "tags": [ "domains" ], @@ -19625,14 +20021,14 @@ }, "/v4/domains/price": { "get": { - "description": "Check the price to purchase a domain and how long a single purchase period is.", + "description": "This endpoint is deprecated and replaced with the endpoint [Get price data for a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/get-price-data-for-a-domain). Check the price to purchase a domain and how long a single purchase period is.", "operationId": "checkDomainPrice", "security": [ { "bearerToken": [] } ], - "summary": "Check the price for a domain", + "summary": "Check the price for a domain (deprecated)", "tags": [ "domains" ], @@ -19687,6 +20083,16 @@ "403": { "description": "You do not have permission to access this resource." }, + "404": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + }, "500": { "description": "" } @@ -19743,14 +20149,14 @@ }, "/v4/domains/status": { "get": { - "description": "Check if a domain name is available for purchase.", + "description": "This endpoint is deprecated and replaced with the endpoint [Get availability for a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/get-availability-for-a-domain). Check if a domain name is available for purchase.", "operationId": "checkDomainStatus", "security": [ { "bearerToken": [] } ], - "summary": "Check a Domain Availability", + "summary": "Check a Domain Availability (deprecated)", "tags": [ "domains" ], @@ -21148,103 +21554,45 @@ ] } }, - "/v1/domains/{domain}/registry": { + "/v1/registrar/tlds/supported": { "get": { - "description": "Fetch domain transfer availability or transfer status if a transfer is in progress.", - "operationId": "getDomainTransfer", + "tags": [ + "domains-registrar" + ], + "operationId": "getSupportedTlds", + "parameters": [ + { + "name": "teamId", + "in": "query", + "schema": { + "type": "string", + "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" + }, + "required": false + } + ], "security": [ { "bearerToken": [] } ], - "summary": "Get domain transfer info.", - "tags": [ - "domains" - ], "responses": { "200": { - "description": "", + "description": "A list of the TLDs supported by Vercel.", "content": { "application/json": { "schema": { - "oneOf": [ - { - "properties": { - "reason": { - "type": "string" - }, - "status": { - "type": "string" - }, - "transferable": { - "type": "boolean" - }, - "transferPolicy": { - "type": "string", - "enum": [ - "charge-and-renew" - ] - } - }, - "required": [ - "reason", - "status", - "transferable", - "transferPolicy" - ], - "type": "object" - }, - { - "properties": { - "transferable": { - "type": "boolean", - "description": "Whether or not the domain is transferable" - }, - "transferPolicy": { - "nullable": true, - "type": "string", - "enum": [ - "charge-and-renew", - "no-charge-no-change", - "no-change", - "new-term", - "not-supported" - ], - "description": "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": { - "type": "string", - "description": "Description associated with transferable state." - }, - "status": { - "type": "string", - "enum": [ - "completed", - "undef", - "pending_owner", - "pending_admin", - "pending_registry", - "cancelled", - "unknown" - ], - "description": "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." - } - }, - "required": [ - "transferable", - "transferPolicy", - "reason", - "status" - ], - "type": "object" - } - ] + "type": "array", + "items": { + "type": "string" + }, + "description": "A list of the TLDs supported by Vercel." } } } }, "400": { - "description": "", + "description": "There was something wrong with the request", "content": { "application/json": { "schema": { @@ -21254,7 +21602,7 @@ } }, "401": { - "description": "The request is not authorized.", + "description": "Unauthorized", "content": { "application/json": { "schema": { @@ -21264,158 +21612,140 @@ } }, "403": { - "description": "You do not have permission to access this resource." + "description": "NotAuthorizedForScope", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/NotAuthorizedForScope" + } + } + } + }, + "429": { + "description": "TooManyRequests", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelRateLimitError" + } + } + } }, "500": { - "description": "" + "description": "InternalServerError", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InternalServerError" + } + } + } } }, + "description": "Get a list of TLDs supported by Vercel", + "summary": "Get supported TLDs" + } + }, + "/v1/registrar/tlds/{tld}/price": { + "get": { + "tags": [ + "domains-registrar" + ], + "operationId": "getTldPrice", "parameters": [ { - "description": "The Team identifier to perform the request on behalf of.", - "in": "query", - "name": "teamId", + "name": "tld", + "in": "path", "schema": { - "type": "string", - "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" - } + "type": "string" + }, + "required": true }, { - "description": "The Team slug to perform the request on behalf of.", + "name": "years", "in": "query", - "name": "slug", "schema": { - "type": "string", - "example": "my-team-url-slug" - } + "$ref": "#/components/schemas/NumberFromString" + }, + "required": false }, { - "name": "domain", - "in": "path", - "required": true, + "name": "teamId", + "in": "query", "schema": { "type": "string", - "example": "example.com" - } + "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" + }, + "required": false } - ] - } - }, - "/v6/domains/{domain}/config": { - "get": { - "description": "Get a Domain's configuration.", - "operationId": "getDomainConfig", + ], "security": [ { "bearerToken": [] } ], - "summary": "Get a Domain's configuration", - "tags": [ - "domains" - ], "responses": { "200": { - "description": "", + "description": "Success", "content": { "application/json": { "schema": { + "type": "object", + "required": [ + "years", + "purchasePrice", + "renewalPrice", + "transferPrice" + ], "properties": { - "configuredBy": { - "nullable": true, - "type": "string", - "enum": [ - "CNAME", - "A", - "http", - "dns-01" - ], - "description": "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": { - "items": { - "type": "string", - "enum": [ - "dns-01", - "http-01" - ], - "description": "Which challenge types the domain can use for issuing certs." - }, - "type": "array", - "description": "Which challenge types the domain can use for issuing certs." + "years": { + "type": "number", + "description": "The number of years the returned price is for." }, - "recommendedIPv4": { - "items": { - "properties": { - "rank": { - "type": "number" - }, - "value": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "rank", - "value" - ], - "type": "object", - "description": "Recommended IPv4s for the domain. rank=1 is the preferred value(s) to use. Only using 1 ip value is acceptable." - }, - "type": "array", - "description": "Recommended IPv4s for the domain. rank=1 is the preferred value(s) to use. Only using 1 ip value is acceptable." + "purchasePrice": { + "type": "number", + "description": "The base TLD price for purchasing a domain for the given number of years. If null, the TLD does not support purchasing domains for the given number of years.", + "minimum": 0.01, + "nullable": true }, - "recommendedCNAME": { - "items": { - "properties": { - "rank": { - "type": "number" - }, - "value": { - "type": "string" - } - }, - "required": [ - "rank", - "value" - ], - "type": "object", - "description": "Recommended CNAMEs for the domain. rank=1 is the preferred value to use." - }, - "type": "array", - "description": "Recommended CNAMEs for the domain. rank=1 is the preferred value to use." + "renewalPrice": { + "type": "number", + "description": "The base TLD price for renewing a domain for the given number of years. If null, the TLD does not support renewing domains for the given number of years.", + "minimum": 0.01, + "nullable": true }, - "misconfigured": { - "type": "boolean", - "description": "Whether or not the domain is configured AND we can automatically generate a TLS certificate." + "transferPrice": { + "type": "number", + "description": "The base TLD price for transferring a domain in for the given number of years. If null, the TLD does not support transferring domains in for the given number of years.", + "minimum": 0.01, + "nullable": true } }, - "required": [ - "configuredBy", - "acceptedChallenges", - "recommendedIPv4", - "recommendedCNAME", - "misconfigured" - ], - "type": "object" + "additionalProperties": false } } } }, "400": { - "description": "One of the provided values in the request query is invalid.", + "description": "There was something wrong with the request", "content": { "application/json": { "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/TldNotSupported" + }, + { + "$ref": "#/components/schemas/HttpApiDecodeError" + } + ], "$ref": "#/components/schemas/VercelBadRequestError" } } } }, "401": { - "description": "The request is not authorized.", + "description": "Unauthorized", "content": { "application/json": { "schema": { @@ -21425,271 +21755,260 @@ } }, "403": { - "description": "You do not have permission to access this resource." + "description": "NotAuthorizedForScope", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/NotAuthorizedForScope" + } + } + } + }, + "429": { + "description": "TooManyRequests", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelRateLimitError" + } + } + } + }, + "500": { + "description": "InternalServerError", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InternalServerError" + } + } + } } }, + "description": "Get price data for a specific TLD. This only reflects base prices for the given TLD. Premium domains may have different prices. Use the [Get price data for a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/get-price-data-for-a-domain) endpoint to get the price data for a specific domain.", + "summary": "Get TLD price data" + } + }, + "/v1/registrar/domains/{domain}/availability": { + "get": { + "tags": [ + "domains-registrar" + ], + "operationId": "getDomainAvailability", "parameters": [ { "name": "domain", - "description": "The name of the domain.", "in": "path", - "required": true, "schema": { - "description": "The name of the domain.", - "type": "string", - "example": "example.com" - } + "$ref": "#/components/schemas/DomainName" + }, + "required": true }, { - "name": "projectIdOrName", - "description": "The project id or name that will be associated with the domain. Use this when the domain is not yet associated with a project.", + "name": "teamId", "in": "query", - "required": false, "schema": { - "description": "The project id or name that will be associated with the domain. Use this when the domain is not yet associated with a project.", - "type": "string" + "type": "string", + "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" + }, + "required": false + } + ], + "security": [ + { + "bearerToken": [] + } + ], + "responses": { + "200": { + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "available" + ], + "properties": { + "available": { + "type": "boolean" + } + }, + "additionalProperties": false + } + } + } + }, + "400": { + "description": "There was something wrong with the request", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "description": "Unauthorized", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } + }, + "403": { + "description": "NotAuthorizedForScope", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/NotAuthorizedForScope" + } + } + } + }, + "404": { + "description": "NotFound", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + }, + "429": { + "description": "TooManyRequests", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelRateLimitError" + } + } } }, + "500": { + "description": "InternalServerError", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InternalServerError" + } + } + } + } + }, + "description": "Get availability for a specific domain. If the domain is available, it can be purchased using the [Buy a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/buy-a-domain) endpoint or the [Buy multiple domains](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/buy-multiple-domains) endpoint.", + "summary": "Get availability for a domain" + } + }, + "/v1/registrar/domains/{domain}/price": { + "get": { + "tags": [ + "domains-registrar" + ], + "operationId": "getDomainPrice", + "parameters": [ { - "name": "strict", - "description": "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.", - "in": "query", - "required": false, + "name": "domain", + "in": "path", "schema": { - "enum": [ - "true", - "false" - ], - "description": "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." - } + "$ref": "#/components/schemas/DomainName" + }, + "required": true }, { - "description": "The Team identifier to perform the request on behalf of.", + "name": "years", "in": "query", - "name": "teamId", "schema": { - "type": "string", - "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" - } + "$ref": "#/components/schemas/NumberFromString" + }, + "required": false }, { - "description": "The Team slug to perform the request on behalf of.", + "name": "teamId", "in": "query", - "name": "slug", "schema": { "type": "string", - "example": "my-team-url-slug" - } + "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" + }, + "required": false } - ] - } - }, - "/v5/domains/{domain}": { - "get": { - "description": "Get information for a single domain in an account or team.", - "operationId": "getDomain", + ], "security": [ { "bearerToken": [] } ], - "summary": "Get Information for a Single Domain", - "tags": [ - "domains" - ], "responses": { "200": { - "description": "Successful response retrieving an information for a specific domains.", + "description": "Success", "content": { "application/json": { "schema": { + "type": "object", + "required": [ + "years", + "purchasePrice", + "renewalPrice", + "transferPrice" + ], "properties": { - "domain": { - "properties": { - "suffix": { - "type": "boolean" - }, - "verified": { - "type": "boolean", - "description": "If the domain has the ownership verified.", - "example": true - }, - "nameservers": { - "items": { - "type": "string" - }, - "type": "array", - "description": "A list of the current nameservers of the domain.", - "example": [ - "ns1.nameserver.net", - "ns2.nameserver.net" - ] - }, - "intendedNameservers": { - "items": { - "type": "string" - }, - "type": "array", - "description": "A list of the intended nameservers for the domain to point to Vercel DNS.", - "example": [ - "ns1.vercel-dns.com", - "ns2.vercel-dns.com" - ] - }, - "customNameservers": { - "items": { - "type": "string" - }, - "type": "array", - "description": "A list of custom nameservers for the domain to point to. Only applies to domains purchased with Vercel.", - "example": [ - "ns1.nameserver.net", - "ns2.nameserver.net" - ] - }, - "creator": { - "properties": { - "username": { - "type": "string" - }, - "email": { - "type": "string" - }, - "customerId": { - "nullable": true, - "type": "string" - }, - "isDomainReseller": { - "type": "boolean" - }, - "id": { - "type": "string" - } - }, - "required": [ - "username", - "email", - "id" - ], - "type": "object", - "description": "An object containing information of the domain creator, including the user's id, username, and email.", - "example": { - "id": "ZspSRT4ljIEEmMHgoDwKWDei", - "username": "vercel_user", - "email": "demo@example.com" - } - }, - "registrar": { - "type": "string", - "enum": [ - "new" - ], - "description": "Whether or not the domain is registered with Name.com. If set to `true`, the domain is registered with Name.com." - }, - "teamId": { - "nullable": true, - "type": "string" - }, - "boughtAt": { - "nullable": true, - "type": "number", - "description": "If it was purchased through Vercel, the timestamp in milliseconds when it was purchased.", - "example": 1613602938882 - }, - "name": { - "type": "string", - "description": "The domain name.", - "example": "example.com" - }, - "createdAt": { - "type": "number", - "description": "Timestamp in milliseconds when the domain was created in the registry.", - "example": 1613602938882 - }, - "expiresAt": { - "nullable": true, - "type": "number", - "description": "Timestamp in milliseconds at which the domain is set to expire. `null` if not bought with Vercel.", - "example": 1613602938882 - }, - "id": { - "type": "string", - "description": "The unique identifier of the domain.", - "example": "EmTbe5CEJyTk2yVAHBUWy4A3sRusca3GCwRjTC1bpeVnt1" - }, - "orderedAt": { - "type": "number", - "description": "Timestamp in milliseconds at which the domain was ordered.", - "example": 1613602938882 - }, - "renew": { - "type": "boolean", - "description": "Indicates whether the domain is set to automatically renew.", - "example": true - }, - "serviceType": { - "type": "string", - "enum": [ - "zeit.world", - "external", - "na" - ], - "description": "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.", - "example": "zeit.world" - }, - "transferredAt": { - "nullable": true, - "type": "number", - "description": "Timestamp in milliseconds at which the domain was successfully transferred into Vercel. `null` if the transfer is still processing or was never transferred in.", - "example": 1613602938882 - }, - "transferStartedAt": { - "type": "number", - "description": "If transferred into Vercel, timestamp in milliseconds when the domain transfer was initiated.", - "example": 1613602938882 - }, - "userId": { - "type": "string" - } - }, - "required": [ - "suffix", - "verified", - "nameservers", - "intendedNameservers", - "creator", - "teamId", - "boughtAt", - "name", - "createdAt", - "expiresAt", - "id", - "serviceType", - "userId" - ], - "type": "object" + "years": { + "type": "number" + }, + "purchasePrice": { + "type": "number", + "description": "The price for purchasing this domain for the given number of years. If null, the domain is not available for purchase for the given number of years.", + "minimum": 0.01, + "nullable": true + }, + "renewalPrice": { + "type": "number", + "description": "The price for renewing this domain for the given number of years. If null, the domain cannot be renewed for the given number of years.", + "minimum": 0.01, + "nullable": true + }, + "transferPrice": { + "type": "number", + "description": "The price for transferring this domain in for the given number of years. If null, the domain cannot be transferred in for the given number of years.", + "minimum": 0.01, + "nullable": true } }, - "required": [ - "domain" - ], - "type": "object" + "additionalProperties": false } } } }, "400": { - "description": "One of the provided values in the request query is invalid.", + "description": "There was something wrong with the request", "content": { "application/json": { "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/BadRequest" + }, + { + "$ref": "#/components/schemas/DomainTooShort" + }, + { + "$ref": "#/components/schemas/TldNotSupported" + }, + { + "$ref": "#/components/schemas/HttpApiDecodeError" + } + ], "$ref": "#/components/schemas/VercelBadRequestError" } } } }, "401": { - "description": "The request is not authorized.", + "description": "Unauthorized", "content": { "application/json": { "schema": { @@ -21699,251 +22018,100 @@ } }, "403": { - "description": "You do not have permission to access this resource." + "description": "NotAuthorizedForScope", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/NotAuthorizedForScope" + } + } + } }, - "404": { - "description": "", + "429": { + "description": "TooManyRequests", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/VercelNotFoundError" + "$ref": "#/components/schemas/VercelRateLimitError" + } + } + } + }, + "500": { + "description": "InternalServerError", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InternalServerError" } } } } }, + "description": "Get price data for a specific domain", + "summary": "Get price data for a domain" + } + }, + "/v1/registrar/domains/availability": { + "post": { + "tags": [ + "domains-registrar" + ], + "operationId": "getBulkAvailability", "parameters": [ { - "name": "domain", - "description": "The name of the domain.", - "in": "path", - "required": true, - "schema": { - "description": "The name of the domain.", - "type": "string", - "example": "example.com" - } - }, - { - "description": "The Team identifier to perform the request on behalf of.", - "in": "query", "name": "teamId", - "schema": { - "type": "string", - "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" - } - }, - { - "description": "The Team slug to perform the request on behalf of.", "in": "query", - "name": "slug", "schema": { "type": "string", - "example": "my-team-url-slug" - } + "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" + }, + "required": false } - ] - } - }, - "/v5/domains": { - "get": { - "description": "Retrieves a list of domains registered for the authenticated user or team. By default it returns the last 20 domains if no limit is provided.", - "operationId": "getDomains", + ], "security": [ { "bearerToken": [] } ], - "summary": "List all the domains", - "tags": [ - "domains" - ], "responses": { "200": { - "description": "Successful response retrieving a list of domains.", + "description": "Success", "content": { "application/json": { "schema": { + "type": "object", + "required": [ + "results" + ], "properties": { - "domains": { + "results": { + "type": "array", "items": { + "type": "object", + "required": [ + "domain", + "available" + ], "properties": { - "verified": { - "type": "boolean", - "description": "If the domain has the ownership verified.", - "example": true - }, - "nameservers": { - "items": { - "type": "string" - }, - "type": "array", - "description": "A list of the current nameservers of the domain.", - "example": [ - "ns1.nameserver.net", - "ns2.nameserver.net" - ] - }, - "intendedNameservers": { - "items": { - "type": "string" - }, - "type": "array", - "description": "A list of the intended nameservers for the domain to point to Vercel DNS.", - "example": [ - "ns1.vercel-dns.com", - "ns2.vercel-dns.com" - ] - }, - "customNameservers": { - "items": { - "type": "string" - }, - "type": "array", - "description": "A list of custom nameservers for the domain to point to. Only applies to domains purchased with Vercel.", - "example": [ - "ns1.nameserver.net", - "ns2.nameserver.net" - ] - }, - "creator": { - "properties": { - "username": { - "type": "string" - }, - "email": { - "type": "string" - }, - "customerId": { - "nullable": true, - "type": "string" - }, - "isDomainReseller": { - "type": "boolean" - }, - "id": { - "type": "string" - } - }, - "required": [ - "username", - "email", - "id" - ], - "type": "object", - "description": "An object containing information of the domain creator, including the user's id, username, and email.", - "example": { - "id": "ZspSRT4ljIEEmMHgoDwKWDei", - "username": "vercel_user", - "email": "demo@example.com" - } - }, - "registrar": { - "type": "string", - "enum": [ - "new" - ], - "description": "Whether or not the domain is registered with Name.com. If set to `true`, the domain is registered with Name.com." - }, - "teamId": { - "nullable": true, - "type": "string" - }, - "createdAt": { - "type": "number", - "description": "Timestamp in milliseconds when the domain was created in the registry.", - "example": 1613602938882 - }, - "boughtAt": { - "nullable": true, - "type": "number", - "description": "If it was purchased through Vercel, the timestamp in milliseconds when it was purchased.", - "example": 1613602938882 - }, - "expiresAt": { - "nullable": true, - "type": "number", - "description": "Timestamp in milliseconds at which the domain is set to expire. `null` if not bought with Vercel.", - "example": 1613602938882 - }, - "id": { - "type": "string", - "description": "The unique identifier of the domain.", - "example": "EmTbe5CEJyTk2yVAHBUWy4A3sRusca3GCwRjTC1bpeVnt1" - }, - "name": { - "type": "string", - "description": "The domain name.", - "example": "example.com" - }, - "orderedAt": { - "type": "number", - "description": "Timestamp in milliseconds at which the domain was ordered.", - "example": 1613602938882 - }, - "renew": { - "type": "boolean", - "description": "Indicates whether the domain is set to automatically renew.", - "example": true - }, - "serviceType": { - "type": "string", - "enum": [ - "zeit.world", - "external", - "na" - ], - "description": "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.", - "example": "zeit.world" - }, - "transferredAt": { - "nullable": true, - "type": "number", - "description": "Timestamp in milliseconds at which the domain was successfully transferred into Vercel. `null` if the transfer is still processing or was never transferred in.", - "example": 1613602938882 - }, - "transferStartedAt": { - "type": "number", - "description": "If transferred into Vercel, timestamp in milliseconds when the domain transfer was initiated.", - "example": 1613602938882 + "domain": { + "$ref": "#/components/schemas/DomainName" }, - "userId": { - "type": "string" + "available": { + "type": "boolean" } }, - "required": [ - "verified", - "nameservers", - "intendedNameservers", - "creator", - "teamId", - "createdAt", - "boughtAt", - "expiresAt", - "id", - "name", - "serviceType", - "userId" - ], - "type": "object" - }, - "type": "array" - }, - "pagination": { - "$ref": "#/components/schemas/Pagination" + "additionalProperties": false + } } }, - "required": [ - "domains", - "pagination" - ], - "type": "object" + "additionalProperties": false } } } }, "400": { - "description": "One of the provided values in the request query is invalid.", + "description": "There was something wrong with the request", "content": { "application/json": { "schema": { @@ -21953,7 +22121,7 @@ } }, "401": { - "description": "The request is not authorized.", + "description": "Unauthorized", "content": { "application/json": { "schema": { @@ -21963,266 +22131,136 @@ } }, "403": { - "description": "You do not have permission to access this resource." + "description": "NotAuthorizedForScope", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/NotAuthorizedForScope" + } + } + } }, - "409": { - "description": "" - } - }, - "parameters": [ - { - "name": "limit", - "description": "Maximum number of domains to list from a request.", - "in": "query", - "schema": { - "description": "Maximum number of domains to list from a request.", - "type": "number", - "example": 20 + "429": { + "description": "TooManyRequests", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelRateLimitError" + } + } } }, - { - "name": "since", - "description": "Get domains created after this JavaScript timestamp.", - "in": "query", - "schema": { - "description": "Get domains created after this JavaScript timestamp.", - "type": "number", - "example": 1609499532000 + "500": { + "description": "InternalServerError", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InternalServerError" + } + } + } + } + }, + "description": "Get availability for multiple domains. If the domains are available, they can be purchased using the [Buy a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/buy-a-domain) endpoint or the [Buy multiple domains](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/buy-multiple-domains) endpoint.", + "summary": "Get availability for multiple domains", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "domains" + ], + "properties": { + "domains": { + "type": "array", + "minItems": 1, + "items": { + "$ref": "#/components/schemas/DomainName" + }, + "description": "an array of at most 50 item(s)", + "title": "maxItems(50)", + "maxItems": 50 + } + }, + "additionalProperties": false + } } }, + "required": true + } + } + }, + "/v1/registrar/domains/{domain}/auth-code": { + "get": { + "tags": [ + "domains-registrar" + ], + "operationId": "getDomainAuthCode", + "parameters": [ { - "name": "until", - "description": "Get domains created before this JavaScript timestamp.", - "in": "query", + "name": "domain", + "in": "path", "schema": { - "description": "Get domains created before this JavaScript timestamp.", - "type": "number", - "example": 1612264332000 - } + "$ref": "#/components/schemas/DomainName" + }, + "required": true }, { - "description": "The Team identifier to perform the request on behalf of.", - "in": "query", "name": "teamId", + "in": "query", "schema": { "type": "string", "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" - } - }, - { - "description": "The Team slug to perform the request on behalf of.", - "in": "query", - "name": "slug", - "schema": { - "type": "string", - "example": "my-team-url-slug" - } - } - ] - } - }, - "/v7/domains": { - "post": { - "description": "This endpoint is used for adding a new apex domain name with Vercel for the authenticating user. Can also be used for initiating a domain transfer request from an external Registrar to Vercel.", - "operationId": "createOrTransferDomain", - "security": [ + }, + "required": false + } + ], + "security": [ { "bearerToken": [] } ], - "summary": "Register or transfer-in a new Domain", - "tags": [ - "domains" - ], "responses": { "200": { - "description": "", + "description": "Success", "content": { "application/json": { "schema": { + "type": "object", + "required": [ + "authCode" + ], "properties": { - "domain": { - "properties": { - "verified": { - "type": "boolean", - "description": "If the domain has the ownership verified.", - "example": true - }, - "nameservers": { - "items": { - "type": "string" - }, - "type": "array", - "description": "A list of the current nameservers of the domain.", - "example": [ - "ns1.nameserver.net", - "ns2.nameserver.net" - ] - }, - "intendedNameservers": { - "items": { - "type": "string" - }, - "type": "array", - "description": "A list of the intended nameservers for the domain to point to Vercel DNS.", - "example": [ - "ns1.vercel-dns.com", - "ns2.vercel-dns.com" - ] - }, - "customNameservers": { - "items": { - "type": "string" - }, - "type": "array", - "description": "A list of custom nameservers for the domain to point to. Only applies to domains purchased with Vercel.", - "example": [ - "ns1.nameserver.net", - "ns2.nameserver.net" - ] - }, - "creator": { - "properties": { - "username": { - "type": "string" - }, - "email": { - "type": "string" - }, - "customerId": { - "nullable": true, - "type": "string" - }, - "isDomainReseller": { - "type": "boolean" - }, - "id": { - "type": "string" - } - }, - "required": [ - "username", - "email", - "id" - ], - "type": "object", - "description": "An object containing information of the domain creator, including the user's id, username, and email.", - "example": { - "id": "ZspSRT4ljIEEmMHgoDwKWDei", - "username": "vercel_user", - "email": "demo@example.com" - } - }, - "registrar": { - "type": "string", - "enum": [ - "new" - ], - "description": "Whether or not the domain is registered with Name.com. If set to `true`, the domain is registered with Name.com." - }, - "name": { - "type": "string", - "description": "The domain name.", - "example": "example.com" - }, - "boughtAt": { - "nullable": true, - "type": "number", - "description": "If it was purchased through Vercel, the timestamp in milliseconds when it was purchased.", - "example": 1613602938882 - }, - "createdAt": { - "type": "number", - "description": "Timestamp in milliseconds when the domain was created in the registry.", - "example": 1613602938882 - }, - "expiresAt": { - "nullable": true, - "type": "number", - "description": "Timestamp in milliseconds at which the domain is set to expire. `null` if not bought with Vercel.", - "example": 1613602938882 - }, - "id": { - "type": "string", - "description": "The unique identifier of the domain.", - "example": "EmTbe5CEJyTk2yVAHBUWy4A3sRusca3GCwRjTC1bpeVnt1" - }, - "orderedAt": { - "type": "number", - "description": "Timestamp in milliseconds at which the domain was ordered.", - "example": 1613602938882 - }, - "renew": { - "type": "boolean", - "description": "Indicates whether the domain is set to automatically renew.", - "example": true - }, - "serviceType": { - "type": "string", - "enum": [ - "zeit.world", - "external", - "na" - ], - "description": "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.", - "example": "zeit.world" - }, - "transferredAt": { - "nullable": true, - "type": "number", - "description": "Timestamp in milliseconds at which the domain was successfully transferred into Vercel. `null` if the transfer is still processing or was never transferred in.", - "example": 1613602938882 - }, - "transferStartedAt": { - "type": "number", - "description": "If transferred into Vercel, timestamp in milliseconds when the domain transfer was initiated.", - "example": 1613602938882 - }, - "userId": { - "type": "string" - }, - "teamId": { - "nullable": true, - "type": "string" - } - }, - "required": [ - "verified", - "nameservers", - "intendedNameservers", - "creator", - "name", - "boughtAt", - "createdAt", - "expiresAt", - "id", - "serviceType", - "userId", - "teamId" - ], - "type": "object" + "authCode": { + "type": "string" } }, - "required": [ - "domain" - ], - "type": "object" + "additionalProperties": false } } } }, "400": { - "description": "One of the provided values in the request body is invalid.", + "description": "There was something wrong with the request", "content": { "application/json": { "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/DomainNotRegistered" + }, + { + "$ref": "#/components/schemas/HttpApiDecodeError" + } + ], "$ref": "#/components/schemas/VercelBadRequestError" } } } }, "401": { - "description": "The request is not authorized.", + "description": "Unauthorized", "content": { "application/json": { "schema": { @@ -22231,14 +22269,25 @@ } } }, - "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." + "description": "NotAuthorizedForScope", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/NotAuthorizedForScope" + }, + { + "$ref": "#/components/schemas/Forbidden" + } + ] + } + } + } }, "404": { - "description": "", + "description": "The domain was not found in our system.", "content": { "application/json": { "schema": { @@ -22247,217 +22296,146 @@ } } }, - "409": { - "description": "The domain is not allowed to be used" + "429": { + "description": "TooManyRequests", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelRateLimitError" + } + } + } }, "500": { - "description": "" + "description": "InternalServerError", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InternalServerError" + } + } + } } }, + "description": "Get the auth code for a domain. This is required to transfer a domain from Vercel to another registrar.", + "summary": "Get the auth code for a domain" + } + }, + "/v1/registrar/domains/{domain}/buy": { + "post": { + "tags": [ + "domains-registrar" + ], + "operationId": "buySingleDomain", "parameters": [ { - "description": "The Team identifier to perform the request on behalf of.", - "in": "query", - "name": "teamId", + "name": "domain", + "in": "path", "schema": { - "type": "string", - "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" - } + "$ref": "#/components/schemas/DomainName" + }, + "required": true }, { - "description": "The Team slug to perform the request on behalf of.", + "name": "teamId", "in": "query", - "name": "slug", "schema": { "type": "string", - "example": "my-team-url-slug" - } + "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" + }, + "required": false } ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "properties": { - "method": { - "description": "The domain operation to perform. It can be either `add` or `transfer-in`.", - "type": "string", - "example": "transfer-in" - } - }, - "oneOf": [ - { - "additionalProperties": false, - "type": "object", - "description": "add", - "required": [ - "name" - ], - "properties": { - "name": { - "description": "The domain name you want to add.", - "type": "string", - "example": "example.com" - }, - "cdnEnabled": { - "description": "Whether the domain has the Vercel Edge Network enabled or not.", - "type": "boolean", - "example": true - }, - "zone": { - "type": "boolean" - }, - "method": { - "description": "The domain operation to perform.", - "type": "string", - "example": "add" - } - } - }, - { - "additionalProperties": false, - "type": "object", - "description": "move-in", - "required": [ - "method", - "name" - ], - "properties": { - "name": { - "description": "The domain name you want to add.", - "type": "string", - "example": "example.com" - }, - "method": { - "description": "The domain operation to perform.", - "type": "string", - "example": "move-in" - }, - "token": { - "description": "The move-in token from Move Requested email.", - "type": "string", - "example": "fdhfr820ad#@FAdlj$$" - } - } - }, - { - "additionalProperties": false, - "type": "object", - "description": "transfer-in", - "required": [ - "method", - "name" - ], - "properties": { - "name": { - "description": "The domain name you want to add.", - "type": "string", - "example": "example.com" - }, - "method": { - "description": "The domain operation to perform.", - "type": "string", - "example": "transfer-in" - }, - "authCode": { - "description": "The authorization code assigned to the domain.", - "type": "string", - "example": "fdhfr820ad#@FAdlj$$" - }, - "expectedPrice": { - "description": "The price you expect to be charged for the required 1 year renewal.", - "type": "number", - "example": 8 - } - } - } - ] - } - } - } - } - } - }, - "/v3/domains/{domain}": { - "patch": { - "description": "Update or move apex domain.", - "operationId": "patchDomain", "security": [ { "bearerToken": [] } ], - "summary": "Update or move apex domain", - "tags": [ - "domains" - ], "responses": { "200": { - "description": "", + "description": "Success", "content": { "application/json": { "schema": { - "oneOf": [ - { - "properties": { - "moved": { - "type": "boolean" - } - }, - "required": [ - "moved" - ], - "type": "object" - }, - { - "properties": { - "moved": { - "type": "boolean" - }, - "token": { - "type": "string" - } - }, - "required": [ - "moved", - "token" - ], - "type": "object" + "type": "object", + "required": [ + "orderId", + "_links" + ], + "properties": { + "orderId": { + "type": "string" }, - { - "properties": { - "renew": { - "type": "boolean" - }, - "customNameservers": { - "items": { + "_links": { + "type": "object", + "additionalProperties": { + "type": "object", + "required": [ + "href", + "method" + ], + "properties": { + "href": { "type": "string" }, - "type": "array" + "method": { + "type": "string", + "enum": [ + "GET", + "POST", + "PUT", + "DELETE", + "PATCH" + ] + } }, - "zone": { - "type": "boolean" - } - }, - "type": "object" + "additionalProperties": false + } } - ] + }, + "additionalProperties": false } } } }, "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": "There was something wrong with the request", "content": { "application/json": { "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/DomainTooShort" + }, + { + "$ref": "#/components/schemas/OrderTooExpensive" + }, + { + "$ref": "#/components/schemas/InvalidAdditionalContactInfo" + }, + { + "$ref": "#/components/schemas/AdditionalContactInfoRequired" + }, + { + "$ref": "#/components/schemas/ExpectedPriceMismatch" + }, + { + "$ref": "#/components/schemas/DomainNotAvailable" + }, + { + "$ref": "#/components/schemas/TldNotSupported" + }, + { + "$ref": "#/components/schemas/HttpApiDecodeError" + } + ], "$ref": "#/components/schemas/VercelBadRequestError" } } } }, "401": { - "description": "The request is not authorized.", + "description": "Unauthorized", "content": { "application/json": { "schema": { @@ -22467,155 +22445,250 @@ } }, "403": { - "description": "You do not have permission to access this resource." - }, - "404": { - "description": "", + "description": "NotAuthorizedForScope", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/VercelNotFoundError" + "anyOf": [ + { + "$ref": "#/components/schemas/NotAuthorizedForScope" + }, + { + "$ref": "#/components/schemas/Forbidden" + } + ] } } } }, - "409": { - "description": "" - }, - "500": { - "description": "" - } - }, - "parameters": [ - { - "name": "domain", - "in": "path", - "schema": { - "type": "string" - }, - "required": true - }, - { - "description": "The Team identifier to perform the request on behalf of.", - "in": "query", - "name": "teamId", - "schema": { - "type": "string", - "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" + "429": { + "description": "TooManyRequests", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelRateLimitError" + } + } } }, - { - "description": "The Team slug to perform the request on behalf of.", - "in": "query", - "name": "slug", - "schema": { - "type": "string", - "example": "my-team-url-slug" + "500": { + "description": "InternalServerError", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InternalServerError" + } + } } } - ], + }, + "description": "Buy a domain", + "summary": "Buy a domain", "requestBody": { "content": { "application/json": { "schema": { - "oneOf": [ - { + "type": "object", + "required": [ + "autoRenew", + "years", + "expectedPrice", + "contactInformation" + ], + "properties": { + "autoRenew": { + "type": "boolean", + "description": "Whether the domain should be auto-renewed before it expires. This can be configured later through the Vercel Dashboard or the [Update auto-renew for a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/update-auto-renew-for-a-domain) endpoint." + }, + "years": { + "type": "number", + "description": "The number of years to purchase the domain for." + }, + "expectedPrice": { + "type": "number", + "description": "The expected price for the domain. Use the [Get price data for a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/get-price-data-for-a-domain) endpoint to retrieve the price data for a domain.", + "minimum": 0.01 + }, + "contactInformation": { "type": "object", - "description": "update", - "additionalProperties": false, + "required": [ + "firstName", + "lastName", + "email", + "phone", + "address1", + "city", + "state", + "zip", + "country" + ], "properties": { - "op": { - "example": "update", - "type": "string" + "firstName": { + "$ref": "#/components/schemas/NonEmptyTrimmedString" }, - "renew": { - "description": "Specifies whether domain should be renewed.", - "type": "boolean" + "lastName": { + "$ref": "#/components/schemas/NonEmptyTrimmedString" }, - "customNameservers": { - "description": "The custom nameservers for this project.", - "items": { - "type": "string" - }, - "maxItems": 4, - "minItems": 0, - "type": "array", - "uniqueItems": true + "email": { + "$ref": "#/components/schemas/EmailAddress" }, - "zone": { - "description": "Specifies whether this is a DNS zone that intends to use Vercel's nameservers.", - "type": "boolean" - } - } - }, - { - "type": "object", - "description": "move-out", - "additionalProperties": false, - "properties": { - "op": { - "example": "move-out", - "type": "string" + "phone": { + "$ref": "#/components/schemas/E164PhoneNumber" }, - "destination": { - "description": "User or team to move domain to", - "type": "string" + "address1": { + "$ref": "#/components/schemas/NonEmptyTrimmedString" + }, + "address2": { + "$ref": "#/components/schemas/NonEmptyTrimmedString" + }, + "city": { + "$ref": "#/components/schemas/NonEmptyTrimmedString" + }, + "state": { + "$ref": "#/components/schemas/NonEmptyTrimmedString" + }, + "zip": { + "$ref": "#/components/schemas/NonEmptyTrimmedString" + }, + "country": { + "$ref": "#/components/schemas/CountryCode" + }, + "companyName": { + "$ref": "#/components/schemas/NonEmptyTrimmedString" + }, + "fax": { + "$ref": "#/components/schemas/E164PhoneNumber" + }, + "additional": { + "type": "object", + "properties": {} } - } + }, + "additionalProperties": false, + "description": "The contact information for the domain. Some TLDs require additional contact information. Use the [Get contact info schema](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/get-contact-info-schema) endpoint to retrieve the required fields." } - ] + }, + "additionalProperties": false } } }, "required": true - }, - "x-speakeasy-test": false + } } }, - "/v6/domains/{domain}": { - "delete": { - "description": "Delete a previously registered domain name from Vercel. Deleting a domain will automatically remove any associated aliases.", - "operationId": "deleteDomain", + "/v1/registrar/domains/buy": { + "post": { + "tags": [ + "domains-registrar" + ], + "operationId": "buyDomains", + "parameters": [ + { + "name": "teamId", + "in": "query", + "schema": { + "type": "string", + "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" + }, + "required": false + } + ], "security": [ { "bearerToken": [] } ], - "summary": "Remove a domain by name", - "tags": [ - "domains" - ], "responses": { "200": { - "description": "Successful response removing a domain.", + "description": "Success", "content": { "application/json": { "schema": { + "type": "object", + "required": [ + "orderId", + "_links" + ], "properties": { - "uid": { + "orderId": { "type": "string" + }, + "_links": { + "type": "object", + "additionalProperties": { + "type": "object", + "required": [ + "href", + "method" + ], + "properties": { + "href": { + "type": "string" + }, + "method": { + "type": "string", + "enum": [ + "GET", + "POST", + "PUT", + "DELETE", + "PATCH" + ] + } + }, + "additionalProperties": false + } } }, - "required": [ - "uid" - ], - "type": "object" + "additionalProperties": false } } } }, "400": { - "description": "One of the provided values in the request query is invalid.", + "description": "There was something wrong with the request", "content": { "application/json": { "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/DomainTooShort" + }, + { + "$ref": "#/components/schemas/OrderTooExpensive" + }, + { + "$ref": "#/components/schemas/TooManyDomains" + }, + { + "$ref": "#/components/schemas/InvalidAdditionalContactInfo" + }, + { + "$ref": "#/components/schemas/AdditionalContactInfoRequired" + }, + { + "$ref": "#/components/schemas/DuplicateDomains" + }, + { + "$ref": "#/components/schemas/ExpectedPriceMismatch" + }, + { + "$ref": "#/components/schemas/DomainNotAvailable" + }, + { + "$ref": "#/components/schemas/TldNotSupported" + }, + { + "$ref": "#/components/schemas/HttpApiDecodeError" + } + ], "$ref": "#/components/schemas/VercelBadRequestError" } } } }, "401": { - "description": "The request is not authorized.", + "description": "Unauthorized", "content": { "application/json": { "schema": { @@ -22625,84 +22698,269 @@ } }, "403": { - "description": "You do not have permission to access this resource." + "description": "NotAuthorizedForScope", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/NotAuthorizedForScope" + }, + { + "$ref": "#/components/schemas/Forbidden" + } + ] + } + } + } }, - "404": { - "description": "", + "429": { + "description": "TooManyRequests", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/VercelNotFoundError" + "$ref": "#/components/schemas/VercelRateLimitError" } } } }, - "409": { - "description": "" + "500": { + "description": "InternalServerError", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InternalServerError" + } + } + } } }, + "description": "Buy multiple domains at once", + "summary": "Buy multiple domains", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "domains", + "contactInformation" + ], + "properties": { + "domains": { + "type": "array", + "minItems": 1, + "items": { + "type": "object", + "required": [ + "domainName", + "autoRenew", + "years", + "expectedPrice" + ], + "properties": { + "domainName": { + "$ref": "#/components/schemas/DomainName" + }, + "autoRenew": { + "type": "boolean", + "description": "Whether the domain should be auto-renewed before it expires. This can be configured later through the Vercel Dashboard or the [Update auto-renew for a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/update-auto-renew-for-a-domain) endpoint." + }, + "years": { + "type": "number", + "description": "The number of years to purchase the domain for." + }, + "expectedPrice": { + "type": "number", + "description": "The expected price for the domain. Use the [Get price data for a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/get-price-data-for-a-domain) endpoint to retrieve the price data for a domain.", + "minimum": 0.01 + } + }, + "additionalProperties": false + } + }, + "contactInformation": { + "type": "object", + "required": [ + "firstName", + "lastName", + "email", + "phone", + "address1", + "city", + "state", + "zip", + "country" + ], + "properties": { + "firstName": { + "$ref": "#/components/schemas/NonEmptyTrimmedString" + }, + "lastName": { + "$ref": "#/components/schemas/NonEmptyTrimmedString" + }, + "email": { + "$ref": "#/components/schemas/EmailAddress" + }, + "phone": { + "$ref": "#/components/schemas/E164PhoneNumber" + }, + "address1": { + "$ref": "#/components/schemas/NonEmptyTrimmedString" + }, + "address2": { + "$ref": "#/components/schemas/NonEmptyTrimmedString" + }, + "city": { + "$ref": "#/components/schemas/NonEmptyTrimmedString" + }, + "state": { + "$ref": "#/components/schemas/NonEmptyTrimmedString" + }, + "zip": { + "$ref": "#/components/schemas/NonEmptyTrimmedString" + }, + "country": { + "$ref": "#/components/schemas/CountryCode" + }, + "companyName": { + "$ref": "#/components/schemas/NonEmptyTrimmedString" + }, + "fax": { + "$ref": "#/components/schemas/E164PhoneNumber" + }, + "additional": { + "type": "object", + "properties": {} + } + }, + "additionalProperties": false, + "description": "The contact information for the domain. Some TLDs require additional contact information. Use the [Get contact info schema](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/get-contact-info-schema) endpoint to retrieve the required fields." + } + }, + "additionalProperties": false + } + } + }, + "required": true + } + } + }, + "/v1/registrar/domains/{domain}/transfer": { + "post": { + "tags": [ + "domains-registrar" + ], + "operationId": "transferInDomain", "parameters": [ { "name": "domain", - "description": "The name of the domain.", "in": "path", - "required": true, "schema": { - "description": "The name of the domain.", - "type": "string", - "example": "example.com" - } + "$ref": "#/components/schemas/DomainName" + }, + "required": true }, { - "description": "The Team identifier to perform the request on behalf of.", - "in": "query", "name": "teamId", - "schema": { - "type": "string", - "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" - } - }, - { - "description": "The Team slug to perform the request on behalf of.", "in": "query", - "name": "slug", "schema": { "type": "string", - "example": "my-team-url-slug" - } + "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" + }, + "required": false } - ] - } - }, - "/v1/edge-cache/invalidate-by-tags": { - "post": { - "description": "Marks a cache tag as stale, causing cache entries associated with that tag to be revalidated in the background on the next request.", - "operationId": "invalidateByTags", + ], "security": [ { "bearerToken": [] } ], - "summary": "Invalidate by tag", - "tags": [ - "edge-cache" - ], "responses": { "200": { - "description": "" + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "orderId", + "_links" + ], + "properties": { + "orderId": { + "type": "string" + }, + "_links": { + "type": "object", + "additionalProperties": { + "type": "object", + "required": [ + "href", + "method" + ], + "properties": { + "href": { + "type": "string" + }, + "method": { + "type": "string", + "enum": [ + "GET", + "POST", + "PUT", + "DELETE", + "PATCH" + ] + } + }, + "additionalProperties": false + } + } + }, + "additionalProperties": false + } + } + } }, "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": "There was something wrong with the request", "content": { "application/json": { "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/BadRequest" + }, + { + "$ref": "#/components/schemas/DomainAlreadyOwned" + }, + { + "$ref": "#/components/schemas/DomainTooShort" + }, + { + "$ref": "#/components/schemas/DNSSECEnabled" + }, + { + "$ref": "#/components/schemas/ExpectedPriceMismatch" + }, + { + "$ref": "#/components/schemas/DomainNotAvailable" + }, + { + "$ref": "#/components/schemas/TldNotSupported" + }, + { + "$ref": "#/components/schemas/HttpApiDecodeError" + } + ], "$ref": "#/components/schemas/VercelBadRequestError" } } } }, "401": { - "description": "The request is not authorized.", + "description": "Unauthorized", "content": { "application/json": { "schema": { @@ -22712,107 +22970,200 @@ } }, "403": { - "description": "You do not have permission to access this resource." - }, - "404": { - "description": "", + "description": "NotAuthorizedForScope", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/VercelNotFoundError" + "anyOf": [ + { + "$ref": "#/components/schemas/NotAuthorizedForScope" + }, + { + "$ref": "#/components/schemas/Forbidden" + } + ] } } } - } - }, - "parameters": [ - { - "name": "projectIdOrName", - "in": "query", - "required": true, - "schema": { - "type": "string" - } }, - { - "description": "The Team identifier to perform the request on behalf of.", - "in": "query", - "name": "teamId", - "schema": { - "type": "string", - "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" + "429": { + "description": "TooManyRequests", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelRateLimitError" + } + } } }, - { - "description": "The Team slug to perform the request on behalf of.", - "in": "query", - "name": "slug", - "schema": { - "type": "string", - "example": "my-team-url-slug" + "500": { + "description": "InternalServerError", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InternalServerError" + } + } } } - ], + }, + "description": "Transfer a domain in from another registrar", + "summary": "Transfer-in a domain", "requestBody": { "content": { "application/json": { "schema": { - "additionalProperties": false, "type": "object", "required": [ - "tags" + "authCode", + "autoRenew", + "years", + "expectedPrice", + "contactInformation" ], "properties": { - "tags": { - "oneOf": [ - { - "items": { - "maxLength": 256, - "type": "string" - }, - "maxItems": 16, - "minItems": 1, - "type": "array" - }, - { - "maxLength": 8196, - "type": "string" - } - ] + "authCode": { + "type": "string" }, - "target": { - "enum": [ - "production", - "preview" + "autoRenew": { + "type": "boolean", + "description": "Whether the domain should be auto-renewed before it expires. This can be configured later through the Vercel Dashboard or the [Update auto-renew for a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/update-auto-renew-for-a-domain) endpoint." + }, + "years": { + "type": "number", + "description": "The number of years to renew the domain for once it is transferred in. This must be a valid number of transfer years for the TLD." + }, + "expectedPrice": { + "type": "number", + "description": "The expected price for the domain. Use the [Get price data for a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/get-price-data-for-a-domain) endpoint to retrieve the price data for a domain.", + "minimum": 0.01 + }, + "contactInformation": { + "type": "object", + "required": [ + "firstName", + "lastName", + "email", + "phone", + "address1", + "city", + "state", + "zip", + "country" ], - "type": "string" + "properties": { + "firstName": { + "$ref": "#/components/schemas/NonEmptyTrimmedString" + }, + "lastName": { + "$ref": "#/components/schemas/NonEmptyTrimmedString" + }, + "email": { + "$ref": "#/components/schemas/EmailAddress" + }, + "phone": { + "$ref": "#/components/schemas/E164PhoneNumber" + }, + "address1": { + "$ref": "#/components/schemas/NonEmptyTrimmedString" + }, + "address2": { + "$ref": "#/components/schemas/NonEmptyTrimmedString" + }, + "city": { + "$ref": "#/components/schemas/NonEmptyTrimmedString" + }, + "state": { + "$ref": "#/components/schemas/NonEmptyTrimmedString" + }, + "zip": { + "$ref": "#/components/schemas/NonEmptyTrimmedString" + }, + "country": { + "$ref": "#/components/schemas/CountryCode" + }, + "companyName": { + "$ref": "#/components/schemas/NonEmptyTrimmedString" + }, + "fax": { + "$ref": "#/components/schemas/E164PhoneNumber" + } + }, + "additionalProperties": false } - } + }, + "additionalProperties": false } } - } + }, + "required": true } - } - }, - "/v1/edge-cache/dangerously-delete-by-tags": { - "post": { - "description": "Marks a cache tag as deleted, causing cache entries associated with that tag to be revalidated in the foreground on the next request. Use this method with caution because one tag can be associated with many paths and deleting the cache can cause many concurrent requests to the origin leading to cache stampede problem. A good use case for deleting the cache is when the origin has also been deleted, for example it returns a 404 or 410 status code.", - "operationId": "dangerouslyDeleteByTags", + }, + "get": { + "tags": [ + "domains-registrar" + ], + "operationId": "getDomainTransferIn", + "parameters": [ + { + "name": "domain", + "in": "path", + "schema": { + "$ref": "#/components/schemas/DomainName" + }, + "required": true + }, + { + "name": "teamId", + "in": "query", + "schema": { + "type": "string", + "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" + }, + "required": false + } + ], "security": [ { "bearerToken": [] } ], - "summary": "Dangerously delete by tag", - "tags": [ - "edge-cache" - ], "responses": { "200": { - "description": "" + "description": "Success", + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "status" + ], + "properties": { + "status": { + "type": "string", + "enum": [ + "canceled", + "canceled_pending_refund", + "completed", + "created", + "failed", + "pending", + "pending_insert", + "pending_new_auth_code", + "pending_transfer", + "pending_unlock", + "rejected", + "submitting_transfer" + ] + } + }, + "additionalProperties": false + } + } + } }, "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": "There was something wrong with the request", "content": { "application/json": { "schema": { @@ -22822,7 +23173,7 @@ } }, "401": { - "description": "The request is not authorized.", + "description": "Unauthorized", "content": { "application/json": { "schema": { @@ -22832,10 +23183,24 @@ } }, "403": { - "description": "You do not have permission to access this resource." + "description": "NotAuthorizedForScope", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/NotAuthorizedForScope" + }, + { + "$ref": "#/components/schemas/Forbidden" + } + ] + } + } + } }, "404": { - "description": "", + "description": "NotFound", "content": { "application/json": { "schema": { @@ -22843,193 +23208,144 @@ } } } + }, + "429": { + "description": "TooManyRequests", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelRateLimitError" + } + } + } + }, + "500": { + "description": "InternalServerError", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InternalServerError" + } + } + } } }, + "description": "Get the transfer status for a domain", + "summary": "Get a domain's transfer status" + } + }, + "/v1/registrar/domains/{domain}/renew": { + "post": { + "tags": [ + "domains-registrar" + ], + "operationId": "renewDomain", "parameters": [ { - "name": "projectIdOrName", - "in": "query", - "required": true, + "name": "domain", + "in": "path", "schema": { - "type": "string" - } + "$ref": "#/components/schemas/DomainName" + }, + "required": true }, { - "description": "The Team identifier to perform the request on behalf of.", - "in": "query", "name": "teamId", + "in": "query", "schema": { "type": "string", "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" - } - }, - { - "description": "The Team slug to perform the request on behalf of.", - "in": "query", - "name": "slug", - "schema": { - "type": "string", - "example": "my-team-url-slug" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "additionalProperties": false, - "type": "object", - "required": [ - "tags" - ], - "properties": { - "revalidationDeadlineSeconds": { - "minimum": 0, - "type": "number" - }, - "tags": { - "oneOf": [ - { - "items": { - "maxLength": 256, - "type": "string" - }, - "maxItems": 16, - "minItems": 1, - "type": "array" - }, - { - "maxLength": 8196, - "type": "string" - } - ] - }, - "target": { - "enum": [ - "production", - "preview" - ], - "type": "string" - } - } - } - } - } - } - } - }, - "/v1/edge-config": { - "get": { - "description": "Returns all Edge Configs.", - "operationId": "getEdgeConfigs", - "security": [ + }, + "required": false + } + ], + "security": [ { "bearerToken": [] } ], - "summary": "Get Edge Configs", - "tags": [ - "edge-config" - ], "responses": { "200": { - "description": "List of all edge configs.", + "description": "Success", "content": { "application/json": { "schema": { - "type": "array", - "description": "List of all edge configs.", - "items": { - "properties": { - "id": { - "type": "string" - }, - "createdAt": { - "type": "number" - }, - "ownerId": { - "type": "string" - }, - "slug": { - "type": "string", - "description": "Name for the Edge Config Names are not unique. Must start with an alphabetic character and can contain only alphanumeric characters and underscores)." - }, - "updatedAt": { - "type": "number" - }, - "digest": { - "type": "string" - }, - "transfer": { - "properties": { - "fromAccountId": { - "type": "string" - }, - "startedAt": { - "type": "number" - }, - "doneAt": { - "nullable": true, - "type": "number" - } - }, + "type": "object", + "required": [ + "orderId", + "_links" + ], + "properties": { + "orderId": { + "type": "string" + }, + "_links": { + "type": "object", + "additionalProperties": { + "type": "object", "required": [ - "fromAccountId", - "startedAt", - "doneAt" + "href", + "method" ], - "type": "object", - "description": "Keeps track of the current state of the Edge Config while it gets transferred." - }, - "schema": { - "type": "object" - }, - "purpose": { "properties": { - "type": { + "href": { + "type": "string" + }, + "method": { "type": "string", "enum": [ - "flags" + "GET", + "POST", + "PUT", + "DELETE", + "PATCH" ] - }, - "projectId": { - "type": "string" } }, - "required": [ - "type", - "projectId" - ], - "type": "object" - }, - "sizeInBytes": { - "type": "number" - }, - "itemCount": { - "type": "number" + "additionalProperties": false } - }, - "required": [ - "sizeInBytes", - "itemCount" - ] - } + } + }, + "additionalProperties": false } } } }, "400": { - "description": "One of the provided values in the request query is invalid.", + "description": "There was something wrong with the request", "content": { "application/json": { "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/BadRequest" + }, + { + "$ref": "#/components/schemas/DomainTooShort" + }, + { + "$ref": "#/components/schemas/DomainNotRegistered" + }, + { + "$ref": "#/components/schemas/ExpectedPriceMismatch" + }, + { + "$ref": "#/components/schemas/DomainNotAvailable" + }, + { + "$ref": "#/components/schemas/TldNotSupported" + }, + { + "$ref": "#/components/schemas/HttpApiDecodeError" + } + ], "$ref": "#/components/schemas/VercelBadRequestError" } } } }, "401": { - "description": "The request is not authorized.", + "description": "Unauthorized", "content": { "application/json": { "schema": { @@ -23039,229 +23355,268 @@ } }, "403": { - "description": "You do not have permission to access this resource." + "description": "NotAuthorizedForScope", + "content": { + "application/json": { + "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/NotAuthorizedForScope" + }, + { + "$ref": "#/components/schemas/Forbidden" + } + ] + } + } + } + }, + "404": { + "description": "The domain was not found in our system.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + }, + "429": { + "description": "TooManyRequests", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelRateLimitError" + } + } + } + }, + "500": { + "description": "InternalServerError", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InternalServerError" + } + } + } } }, + "description": "Renew a domain", + "summary": "Renew a domain", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "years", + "expectedPrice" + ], + "properties": { + "years": { + "type": "number", + "description": "The number of years to renew the domain for." + }, + "expectedPrice": { + "type": "number", + "description": "The expected price for the domain. Use the [Get price data for a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/get-price-data-for-a-domain) endpoint to retrieve the price data for a domain.", + "minimum": 0.01 + }, + "contactInformation": { + "type": "object", + "required": [ + "firstName", + "lastName", + "email", + "phone", + "address1", + "city", + "state", + "zip", + "country" + ], + "properties": { + "firstName": { + "$ref": "#/components/schemas/NonEmptyTrimmedString" + }, + "lastName": { + "$ref": "#/components/schemas/NonEmptyTrimmedString" + }, + "email": { + "$ref": "#/components/schemas/EmailAddress" + }, + "phone": { + "$ref": "#/components/schemas/E164PhoneNumber" + }, + "address1": { + "$ref": "#/components/schemas/NonEmptyTrimmedString" + }, + "address2": { + "$ref": "#/components/schemas/NonEmptyTrimmedString" + }, + "city": { + "$ref": "#/components/schemas/NonEmptyTrimmedString" + }, + "state": { + "$ref": "#/components/schemas/NonEmptyTrimmedString" + }, + "zip": { + "$ref": "#/components/schemas/NonEmptyTrimmedString" + }, + "country": { + "$ref": "#/components/schemas/CountryCode" + }, + "companyName": { + "$ref": "#/components/schemas/NonEmptyTrimmedString" + }, + "fax": { + "$ref": "#/components/schemas/E164PhoneNumber" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false + } + } + }, + "required": true + } + } + }, + "/v1/registrar/domains/{domain}/auto-renew": { + "patch": { + "tags": [ + "domains-registrar" + ], + "operationId": "updateDomainAutoRenew", "parameters": [ { - "description": "The Team identifier to perform the request on behalf of.", - "in": "query", - "name": "teamId", + "name": "domain", + "in": "path", "schema": { - "type": "string", - "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" - } + "$ref": "#/components/schemas/DomainName" + }, + "required": true }, { - "description": "The Team slug to perform the request on behalf of.", + "name": "teamId", "in": "query", - "name": "slug", "schema": { "type": "string", - "example": "my-team-url-slug" - } + "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" + }, + "required": false } - ] - }, - "post": { - "description": "Creates an Edge Config.", - "operationId": "createEdgeConfig", + ], "security": [ { "bearerToken": [] } ], - "summary": "Create an Edge Config", - "tags": [ - "edge-config" - ], "responses": { - "201": { - "description": "", + "204": { + "description": "Success" + }, + "400": { + "description": "There was something wrong with the request", "content": { "application/json": { "schema": { - "properties": { - "createdAt": { - "type": "number" - }, - "updatedAt": { - "type": "number" - }, - "deletedAt": { - "nullable": true, - "type": "number" - }, - "id": { - "type": "string" - }, - "slug": { - "type": "string", - "description": "Name for the Edge Config Names are not unique. Must start with an alphabetic character and can contain only alphanumeric characters and underscores)." - }, - "ownerId": { - "type": "string" - }, - "digest": { - "type": "string" - }, - "transfer": { - "properties": { - "fromAccountId": { - "type": "string" - }, - "startedAt": { - "type": "number" - }, - "doneAt": { - "nullable": true, - "type": "number" - } - }, - "required": [ - "fromAccountId", - "startedAt", - "doneAt" - ], - "type": "object", - "description": "Keeps track of the current state of the Edge Config while it gets transferred." - }, - "schema": { - "type": "object" - }, - "purpose": { - "oneOf": [ - { - "properties": { - "type": { - "type": "string", - "enum": [ - "flags" - ] - }, - "projectId": { - "type": "string" - } - }, - "required": [ - "type", - "projectId" - ], - "type": "object" - }, - { - "properties": { - "type": { - "type": "string", - "enum": [ - "experimentation" - ] - }, - "resourceId": { - "type": "string" - } - }, - "required": [ - "type", - "resourceId" - ], - "type": "object" - } - ] + "anyOf": [ + { + "$ref": "#/components/schemas/DomainAlreadyRenewing" }, - "syncedToDynamoAt": { - "type": "number", - "description": "Timestamp of when the Edge Config was synced to DynamoDB initially. It is only set when syncing the entire Edge Config, not when updating." + { + "$ref": "#/components/schemas/DomainNotRenewable" }, - "sizeInBytes": { - "type": "number" + { + "$ref": "#/components/schemas/DomainNotRegistered" }, - "itemCount": { - "type": "number" + { + "$ref": "#/components/schemas/HttpApiDecodeError" } - }, - "required": [ - "createdAt", - "updatedAt", - "id", - "slug", - "ownerId", - "digest", - "sizeInBytes", - "itemCount" ], - "type": "object", - "description": "An Edge Config" + "$ref": "#/components/schemas/VercelBadRequestError" } } } }, - "400": { - "description": "One of the provided values in the request body is invalid.", + "401": { + "description": "Unauthorized", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/VercelBadRequestError" + "$ref": "#/components/schemas/VercelForbiddenError" } } } }, - "401": { - "description": "The request is not authorized.", + "403": { + "description": "NotAuthorizedForScope", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/VercelForbiddenError" + "anyOf": [ + { + "$ref": "#/components/schemas/NotAuthorizedForScope" + }, + { + "$ref": "#/components/schemas/Forbidden" + } + ] } } } }, - "402": { - "description": "The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated" + "404": { + "description": "The domain was not found in our system.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } }, - "403": { - "description": "You do not have permission to access this resource." - } - }, - "parameters": [ - { - "description": "The Team identifier to perform the request on behalf of.", - "in": "query", - "name": "teamId", - "schema": { - "type": "string", - "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" + "429": { + "description": "TooManyRequests", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelRateLimitError" + } + } } }, - { - "description": "The Team slug to perform the request on behalf of.", - "in": "query", - "name": "slug", - "schema": { - "type": "string", - "example": "my-team-url-slug" + "500": { + "description": "InternalServerError", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InternalServerError" + } + } } } - ], + }, + "description": "Update the auto-renew setting for a domain", + "summary": "Update auto-renew for a domain", "requestBody": { "content": { "application/json": { "schema": { "type": "object", "required": [ - "slug" + "autoRenew" ], "properties": { - "slug": { - "maxLength": 64, - "pattern": "^[\\\\w-]+$", - "type": "string" - }, - "items": { - "type": "object", - "additionalProperties": {} + "autoRenew": { + "type": "boolean" } - } + }, + "additionalProperties": false } } }, @@ -23269,152 +23624,60 @@ } } }, - "/v1/edge-config/{edgeConfigId}": { - "get": { - "description": "Returns an Edge Config.", - "operationId": "getEdgeConfig", + "/v1/registrar/domains/{domain}/nameservers": { + "patch": { + "tags": [ + "domains-registrar" + ], + "operationId": "updateDomainNameservers", + "parameters": [ + { + "name": "domain", + "in": "path", + "schema": { + "$ref": "#/components/schemas/DomainName" + }, + "required": true + }, + { + "name": "teamId", + "in": "query", + "schema": { + "type": "string", + "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" + }, + "required": false + } + ], "security": [ { "bearerToken": [] } ], - "summary": "Get an Edge Config", - "tags": [ - "edge-config" - ], "responses": { - "200": { - "description": "The EdgeConfig.", + "204": { + "description": "Success" + }, + "400": { + "description": "There was something wrong with the request", "content": { "application/json": { "schema": { - "properties": { - "createdAt": { - "type": "number" - }, - "updatedAt": { - "type": "number" - }, - "deletedAt": { - "nullable": true, - "type": "number" - }, - "id": { - "type": "string" + "anyOf": [ + { + "$ref": "#/components/schemas/DomainNotRegistered" }, - "slug": { - "type": "string", - "description": "Name for the Edge Config Names are not unique. Must start with an alphabetic character and can contain only alphanumeric characters and underscores)." - }, - "ownerId": { - "type": "string" - }, - "digest": { - "type": "string" - }, - "transfer": { - "properties": { - "fromAccountId": { - "type": "string" - }, - "startedAt": { - "type": "number" - }, - "doneAt": { - "nullable": true, - "type": "number" - } - }, - "required": [ - "fromAccountId", - "startedAt", - "doneAt" - ], - "type": "object", - "description": "Keeps track of the current state of the Edge Config while it gets transferred." - }, - "schema": { - "type": "object" - }, - "purpose": { - "oneOf": [ - { - "properties": { - "type": { - "type": "string", - "enum": [ - "flags" - ] - }, - "projectId": { - "type": "string" - } - }, - "required": [ - "type", - "projectId" - ], - "type": "object" - }, - { - "properties": { - "type": { - "type": "string", - "enum": [ - "experimentation" - ] - }, - "resourceId": { - "type": "string" - } - }, - "required": [ - "type", - "resourceId" - ], - "type": "object" - } - ] - }, - "syncedToDynamoAt": { - "type": "number", - "description": "Timestamp of when the Edge Config was synced to DynamoDB initially. It is only set when syncing the entire Edge Config, not when updating." - }, - "sizeInBytes": { - "type": "number" - }, - "itemCount": { - "type": "number" + { + "$ref": "#/components/schemas/HttpApiDecodeError" } - }, - "required": [ - "createdAt", - "updatedAt", - "id", - "slug", - "ownerId", - "digest", - "sizeInBytes", - "itemCount" ], - "type": "object", - "description": "The EdgeConfig." - } - } - } - }, - "400": { - "description": "One of the provided values in the request query is invalid.", - "content": { - "application/json": { - "schema": { "$ref": "#/components/schemas/VercelBadRequestError" } } } }, "401": { - "description": "The request is not authorized.", + "description": "Unauthorized", "content": { "application/json": { "schema": { @@ -23424,392 +23687,141 @@ } }, "403": { - "description": "You do not have permission to access this resource." - }, - "404": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VercelNotFoundError" - } - } - } - } - }, - "parameters": [ - { - "name": "edgeConfigId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "description": "The Team identifier to perform the request on behalf of.", - "in": "query", - "name": "teamId", - "schema": { - "type": "string", - "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" - } - }, - { - "description": "The Team slug to perform the request on behalf of.", - "in": "query", - "name": "slug", - "schema": { - "type": "string", - "example": "my-team-url-slug" - } - } - ] - }, - "put": { - "description": "Updates an Edge Config.", - "operationId": "updateEdgeConfig", - "security": [ - { - "bearerToken": [] - } - ], - "summary": "Update an Edge Config", - "tags": [ - "edge-config" - ], - "responses": { - "200": { - "description": "", + "description": "NotAuthorizedForScope", "content": { "application/json": { "schema": { - "properties": { - "createdAt": { - "type": "number" - }, - "updatedAt": { - "type": "number" - }, - "deletedAt": { - "nullable": true, - "type": "number" - }, - "id": { - "type": "string" - }, - "slug": { - "type": "string", - "description": "Name for the Edge Config Names are not unique. Must start with an alphabetic character and can contain only alphanumeric characters and underscores)." - }, - "ownerId": { - "type": "string" - }, - "digest": { - "type": "string" - }, - "transfer": { - "properties": { - "fromAccountId": { - "type": "string" - }, - "startedAt": { - "type": "number" - }, - "doneAt": { - "nullable": true, - "type": "number" - } - }, - "required": [ - "fromAccountId", - "startedAt", - "doneAt" - ], - "type": "object", - "description": "Keeps track of the current state of the Edge Config while it gets transferred." - }, - "schema": { - "type": "object" - }, - "purpose": { - "oneOf": [ - { - "properties": { - "type": { - "type": "string", - "enum": [ - "flags" - ] - }, - "projectId": { - "type": "string" - } - }, - "required": [ - "type", - "projectId" - ], - "type": "object" - }, - { - "properties": { - "type": { - "type": "string", - "enum": [ - "experimentation" - ] - }, - "resourceId": { - "type": "string" - } - }, - "required": [ - "type", - "resourceId" - ], - "type": "object" - } - ] - }, - "syncedToDynamoAt": { - "type": "number", - "description": "Timestamp of when the Edge Config was synced to DynamoDB initially. It is only set when syncing the entire Edge Config, not when updating." - }, - "sizeInBytes": { - "type": "number" + "anyOf": [ + { + "$ref": "#/components/schemas/NotAuthorizedForScope" }, - "itemCount": { - "type": "number" + { + "$ref": "#/components/schemas/Forbidden" } - }, - "required": [ - "createdAt", - "updatedAt", - "id", - "slug", - "ownerId", - "digest", - "sizeInBytes", - "itemCount" - ], - "type": "object", - "description": "An Edge Config" + ] } } } }, - "400": { - "description": "One of the provided values in the request body is invalid.\nOne of the provided values in the request query is invalid.", + "404": { + "description": "The domain was not found in our system.", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/VercelBadRequestError" + "$ref": "#/components/schemas/VercelNotFoundError" } } } }, - "401": { - "description": "The request is not authorized.", + "429": { + "description": "TooManyRequests", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/VercelForbiddenError" + "$ref": "#/components/schemas/VercelRateLimitError" } } } }, - "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": { - "description": "", + "500": { + "description": "InternalServerError", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/VercelNotFoundError" + "$ref": "#/components/schemas/InternalServerError" } } } - }, - "409": { - "description": "" } }, - "parameters": [ - { - "name": "edgeConfigId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "description": "The Team identifier to perform the request on behalf of.", - "in": "query", - "name": "teamId", - "schema": { - "type": "string", - "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" - } - }, - { - "description": "The Team slug to perform the request on behalf of.", - "in": "query", - "name": "slug", - "schema": { - "type": "string", - "example": "my-team-url-slug" - } - } - ], + "description": "Update the nameservers for a domain. Pass an empty array to use Vercel's default nameservers.", + "summary": "Update nameservers for a domain", "requestBody": { "content": { "application/json": { "schema": { "type": "object", "required": [ - "slug" + "nameservers" ], "properties": { - "slug": { - "maxLength": 64, - "pattern": "^[\\\\w-]+$", - "type": "string" + "nameservers": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Nameserver" + } } - } + }, + "additionalProperties": false } } }, "required": true } - }, - "delete": { - "description": "Delete an Edge Config by id.", - "operationId": "deleteEdgeConfig", - "security": [ - { - "bearerToken": [] - } - ], - "summary": "Delete an Edge Config", + } + }, + "/v1/registrar/domains/{domain}/contact-info/schema": { + "get": { "tags": [ - "edge-config" + "domains-registrar" ], - "responses": { - "204": { - "description": "" - }, - "400": { - "description": "One of the provided values in the request query is invalid.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VercelBadRequestError" - } - } - } - }, - "401": { - "description": "The request is not authorized.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VercelForbiddenError" - } - } - } - }, - "403": { - "description": "You do not have permission to access this resource." - }, - "404": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VercelNotFoundError" - } - } - } - }, - "409": { - "description": "" - } - }, + "operationId": "getContactInfoSchema", "parameters": [ { - "name": "edgeConfigId", + "name": "domain", "in": "path", - "required": true, "schema": { - "type": "string" - } + "$ref": "#/components/schemas/DomainName" + }, + "required": true }, { - "description": "The Team identifier to perform the request on behalf of.", - "in": "query", "name": "teamId", - "schema": { - "type": "string", - "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" - } - }, - { - "description": "The Team slug to perform the request on behalf of.", "in": "query", - "name": "slug", "schema": { "type": "string", - "example": "my-team-url-slug" - } + "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" + }, + "required": false } - ] - } - }, - "/v1/edge-config/{edgeConfigId}/items": { - "get": { - "description": "Returns all items of an Edge Config.", - "operationId": "getEdgeConfigItems", + ], "security": [ { "bearerToken": [] } ], - "summary": "Get Edge Config items", - "tags": [ - "edge-config" - ], "responses": { "200": { - "description": "List of all Edge Config items.", + "description": "Success", "content": { "application/json": { "schema": { - "items": { - "$ref": "#/components/schemas/EdgeConfigItem" - }, - "type": "array" + "type": "object", + "properties": {} } } } }, "400": { - "description": "One of the provided values in the request query is invalid.", + "description": "There was something wrong with the request", "content": { "application/json": { "schema": { + "anyOf": [ + { + "$ref": "#/components/schemas/BadRequest" + }, + { + "$ref": "#/components/schemas/HttpApiDecodeError" + } + ], "$ref": "#/components/schemas/VercelBadRequestError" } } } }, "401": { - "description": "The request is not authorized.", + "description": "Unauthorized", "content": { "application/json": { "schema": { @@ -23819,282 +23831,616 @@ } }, "403": { - "description": "You do not have permission to access this resource." + "description": "NotAuthorizedForScope", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/NotAuthorizedForScope" + } + } + } }, - "404": { - "description": "", + "429": { + "description": "TooManyRequests", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/VercelNotFoundError" + "$ref": "#/components/schemas/VercelRateLimitError" + } + } + } + }, + "500": { + "description": "InternalServerError", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/InternalServerError" } } } } }, + "description": "Some TLDs require additional contact information. Use this endpoint to get the schema for the tld-specific contact information for a domain.", + "summary": "Get contact info schema" + } + }, + "/v1/registrar/orders/{orderId}": { + "get": { + "tags": [ + "domains-registrar" + ], + "operationId": "getOrder", "parameters": [ { - "name": "edgeConfigId", + "name": "orderId", "in": "path", - "required": true, "schema": { - "type": "string", - "pattern": "^ecfg_" - } + "type": "string" + }, + "required": true }, { - "description": "The Team identifier to perform the request on behalf of.", - "in": "query", "name": "teamId", - "schema": { - "type": "string", - "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" - } - }, - { - "description": "The Team slug to perform the request on behalf of.", "in": "query", - "name": "slug", "schema": { "type": "string", - "example": "my-team-url-slug" - } + "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" + }, + "required": false } - ] - }, - "patch": { - "description": "Update multiple Edge Config Items in batch.", - "operationId": "patchEdgeConfigItems", + ], "security": [ { "bearerToken": [] } ], - "summary": "Update Edge Config items in batch", - "tags": [ - "edge-config" - ], "responses": { "200": { - "description": "", + "description": "Success", "content": { "application/json": { "schema": { - "properties": { - "status": { - "type": "string" - } - }, + "type": "object", "required": [ + "orderId", + "domains", "status" ], - "type": "object" - } - } - } - }, - "400": { - "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": { - "description": "The request is not authorized.", - "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" - }, - "403": { - "description": "You do not have permission to access this resource." - }, - "404": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VercelNotFoundError" - } - } - } - }, - "409": { - "description": "" - }, - "412": { - "description": "" - } - }, - "parameters": [ - { - "name": "edgeConfigId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "pattern": "^ecfg_" - } - }, - { - "description": "The Team identifier to perform the request on behalf of.", - "in": "query", - "name": "teamId", - "schema": { - "type": "string", - "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" - } - }, - { - "description": "The Team slug to perform the request on behalf of.", - "in": "query", - "name": "slug", - "schema": { - "type": "string", - "example": "my-team-url-slug" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "additionalProperties": false, - "required": [ - "items" - ], - "properties": { - "items": { - "type": "array", - "items": { - "oneOf": [ - { - "type": "object", - "properties": { - "operation": { - "enum": [ - "create", - "update", - "upsert", - "delete" - ] - }, - "key": { - "maxLength": 256, - "pattern": "^[\\\\w-]+$", - "type": "string" + "properties": { + "orderId": { + "type": "string" + }, + "domains": { + "type": "array", + "items": { + "anyOf": [ + { + "type": "object", + "required": [ + "purchaseType", + "autoRenew", + "years", + "domainName", + "status", + "price" + ], + "properties": { + "purchaseType": { + "type": "string", + "enum": [ + "purchase" + ] + }, + "autoRenew": { + "type": "boolean" + }, + "years": { + "type": "number", + "description": "The number of years the domain is being purchased for." + }, + "domainName": { + "$ref": "#/components/schemas/DomainName" + }, + "status": { + "type": "string", + "enum": [ + "pending", + "completed", + "failed", + "refunded", + "refund-failed" + ] + }, + "price": { + "type": "number", + "description": "The price for the domain.", + "minimum": 0.01 + }, + "error": { + "anyOf": [ + { + "anyOf": [ + { + "type": "object", + "required": [ + "code", + "details" + ], + "properties": { + "code": { + "type": "string", + "enum": [ + "unsupported-language-code" + ] + }, + "details": { + "type": "object", + "required": [ + "detectedLanguageCode" + ], + "properties": { + "detectedLanguageCode": { + "type": "string" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false + }, + { + "type": "object", + "required": [ + "code" + ], + "properties": { + "code": { + "type": "string", + "enum": [ + "client-transfer-prohibited" + ] + } + }, + "additionalProperties": false + }, + { + "type": "object", + "required": [ + "code" + ], + "properties": { + "code": { + "type": "string", + "enum": [ + "claims-notice-required" + ] + } + }, + "additionalProperties": false + } + ] + }, + { + "type": "object", + "required": [ + "code" + ], + "properties": { + "code": { + "type": "string" + }, + "details": { + "$id": "/schemas/unknown", + "title": "unknown" + } + }, + "additionalProperties": false + } + ] + } }, - "value": { - "nullable": true + "additionalProperties": false + }, + { + "type": "object", + "required": [ + "purchaseType", + "years", + "domainName", + "status", + "price" + ], + "properties": { + "purchaseType": { + "type": "string", + "enum": [ + "renewal" + ] + }, + "years": { + "type": "number", + "description": "The number of years the domain is being renewed for." + }, + "domainName": { + "$ref": "#/components/schemas/DomainName" + }, + "status": { + "type": "string", + "enum": [ + "pending", + "completed", + "failed", + "refunded", + "refund-failed" + ] + }, + "price": { + "type": "number", + "description": "The price for the domain.", + "minimum": 0.01 + }, + "error": { + "anyOf": [ + { + "anyOf": [ + { + "type": "object", + "required": [ + "code", + "details" + ], + "properties": { + "code": { + "type": "string", + "enum": [ + "unsupported-language-code" + ] + }, + "details": { + "type": "object", + "required": [ + "detectedLanguageCode" + ], + "properties": { + "detectedLanguageCode": { + "type": "string" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false + }, + { + "type": "object", + "required": [ + "code" + ], + "properties": { + "code": { + "type": "string", + "enum": [ + "client-transfer-prohibited" + ] + } + }, + "additionalProperties": false + }, + { + "type": "object", + "required": [ + "code" + ], + "properties": { + "code": { + "type": "string", + "enum": [ + "claims-notice-required" + ] + } + }, + "additionalProperties": false + } + ] + }, + { + "type": "object", + "required": [ + "code" + ], + "properties": { + "code": { + "type": "string" + }, + "details": { + "$id": "/schemas/unknown", + "title": "unknown" + } + }, + "additionalProperties": false + } + ] + } }, - "description": { - "oneOf": [ - { - "type": "string", - "maxLength": 512 - }, - {} - ], - "nullable": true - } + "additionalProperties": false }, + { + "type": "object", + "required": [ + "purchaseType", + "autoRenew", + "years", + "domainName", + "status", + "price" + ], + "properties": { + "purchaseType": { + "type": "string", + "enum": [ + "transfer" + ] + }, + "autoRenew": { + "type": "boolean" + }, + "years": { + "type": "number", + "description": "The number of years the domain is being transferred for." + }, + "domainName": { + "$ref": "#/components/schemas/DomainName" + }, + "status": { + "type": "string", + "enum": [ + "pending", + "completed", + "failed", + "refunded", + "refund-failed" + ] + }, + "price": { + "type": "number", + "description": "The price for the domain.", + "minimum": 0.01 + }, + "error": { + "anyOf": [ + { + "anyOf": [ + { + "type": "object", + "required": [ + "code", + "details" + ], + "properties": { + "code": { + "type": "string", + "enum": [ + "unsupported-language-code" + ] + }, + "details": { + "type": "object", + "required": [ + "detectedLanguageCode" + ], + "properties": { + "detectedLanguageCode": { + "type": "string" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false + }, + { + "type": "object", + "required": [ + "code" + ], + "properties": { + "code": { + "type": "string", + "enum": [ + "client-transfer-prohibited" + ] + } + }, + "additionalProperties": false + }, + { + "type": "object", + "required": [ + "code" + ], + "properties": { + "code": { + "type": "string", + "enum": [ + "claims-notice-required" + ] + } + }, + "additionalProperties": false + } + ] + }, + { + "type": "object", + "required": [ + "code" + ], + "properties": { + "code": { + "type": "string" + }, + "details": { + "$id": "/schemas/unknown", + "title": "unknown" + } + }, + "additionalProperties": false + } + ] + } + }, + "additionalProperties": false + } + ] + } + }, + "status": { + "type": "string", + "enum": [ + "draft", + "purchasing", + "completed", + "failed" + ] + }, + "error": { + "anyOf": [ + { "anyOf": [ { + "type": "object", + "required": [ + "code" + ], "properties": { - "operation": { + "code": { "type": "string", "enum": [ - "create" + "payment-failed" ] } }, - "required": [ - "operation", - "key", - "value" - ] + "additionalProperties": false }, { + "type": "object", + "required": [ + "code", + "details" + ], "properties": { - "operation": { + "code": { + "type": "string", "enum": [ - "update", - "upsert" + "tld-outage" ] + }, + "details": { + "type": "object", + "required": [ + "tlds" + ], + "properties": { + "tlds": { + "type": "array", + "items": { + "type": "object", + "required": [ + "tldName", + "endsAt" + ], + "properties": { + "tldName": { + "type": "string" + }, + "endsAt": { + "type": "string" + } + }, + "additionalProperties": false + } + } + }, + "additionalProperties": false } }, - "required": [ - "operation", - "key", - "value" - ] + "additionalProperties": false }, { + "type": "object", + "required": [ + "code", + "details" + ], "properties": { - "operation": { + "code": { + "type": "string", "enum": [ - "update", - "upsert" + "price-mismatch" ] + }, + "details": { + "type": "object", + "required": [ + "expectedPrice" + ], + "properties": { + "expectedPrice": { + "type": "number" + }, + "actualPrice": { + "type": "number" + } + }, + "additionalProperties": false } }, + "additionalProperties": false + }, + { + "type": "object", "required": [ - "operation", - "key", - "description" - ] + "code" + ], + "properties": { + "code": { + "type": "string", + "enum": [ + "unexpected-error" + ] + } + }, + "additionalProperties": false } ] + }, + { + "type": "object", + "required": [ + "code" + ], + "properties": { + "code": { + "type": "string" + }, + "details": { + "$id": "/schemas/unknown", + "title": "unknown" + } + }, + "additionalProperties": false } ] } - } - } - } - } - } - } - } - }, - "/v1/edge-config/{edgeConfigId}/schema": { - "get": { - "description": "Returns the schema of an Edge Config.", - "operationId": "getEdgeConfigSchema", - "security": [ - { - "bearerToken": [] - } - ], - "summary": "Get Edge Config schema", - "tags": [ - "edge-config" - ], - "responses": { - "200": { - "description": "The EdgeConfig.", - "content": { - "application/json": { - "schema": { - "nullable": true, - "type": "object", - "description": "The EdgeConfig." + }, + "additionalProperties": false } } } }, "400": { - "description": "One of the provided values in the request query is invalid.", + "description": "There was something wrong with the request", "content": { "application/json": { "schema": { @@ -24104,7 +24450,7 @@ } }, "401": { - "description": "The request is not authorized.", + "description": "Unauthorized", "content": { "application/json": { "schema": { @@ -24114,101 +24460,24 @@ } }, "403": { - "description": "You do not have permission to access this resource." - }, - "404": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VercelNotFoundError" - } - } - } - } - }, - "parameters": [ - { - "name": "edgeConfigId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "description": "The Team identifier to perform the request on behalf of.", - "in": "query", - "name": "teamId", - "schema": { - "type": "string", - "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" - } - }, - { - "description": "The Team slug to perform the request on behalf of.", - "in": "query", - "name": "slug", - "schema": { - "type": "string", - "example": "my-team-url-slug" - } - } - ] - }, - "post": { - "description": "Update an Edge Config's schema.", - "operationId": "patchEdgeConfigSchema", - "security": [ - { - "bearerToken": [] - } - ], - "summary": "Update Edge Config schema", - "tags": [ - "edge-config" - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "nullable": true, - "type": "object", - "description": "The JSON schema uploaded by the user" - } - } - } - }, - "400": { - "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": { - "description": "The request is not authorized.", + "description": "NotAuthorizedForScope", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/VercelForbiddenError" + "anyOf": [ + { + "$ref": "#/components/schemas/NotAuthorizedForScope" + }, + { + "$ref": "#/components/schemas/Forbidden" + } + ] } } } }, - "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": { - "description": "", + "description": "NotFound", "content": { "application/json": { "schema": { @@ -24217,176 +24486,128 @@ } } }, - "409": { - "description": "" - } - }, - "parameters": [ - { - "name": "edgeConfigId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "dryRun", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, - { - "description": "The Team identifier to perform the request on behalf of.", - "in": "query", - "name": "teamId", - "schema": { - "type": "string", - "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" - } - }, - { - "description": "The Team slug to perform the request on behalf of.", - "in": "query", - "name": "slug", - "schema": { - "type": "string", - "example": "my-team-url-slug" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "additionalProperties": false, - "required": [ - "definition" - ], - "properties": { - "definition": {} - } - } - } - }, - "required": true - } - }, - "delete": { - "description": "Deletes the schema of existing Edge Config.", - "operationId": "deleteEdgeConfigSchema", - "security": [ - { - "bearerToken": [] - } - ], - "summary": "Delete an Edge Config's schema", - "tags": [ - "edge-config" - ], - "responses": { - "204": { - "description": "" - }, - "400": { - "description": "One of the provided values in the request query is invalid.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VercelBadRequestError" - } - } - } - }, - "401": { - "description": "The request is not authorized.", + "429": { + "description": "TooManyRequests", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/VercelForbiddenError" + "$ref": "#/components/schemas/VercelRateLimitError" } } } }, - "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": { - "description": "", + "500": { + "description": "InternalServerError", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/VercelNotFoundError" + "$ref": "#/components/schemas/InternalServerError" } } } - }, - "409": { - "description": "" } }, - "parameters": [ - { - "name": "edgeConfigId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "description": "The Team identifier to perform the request on behalf of.", - "in": "query", - "name": "teamId", - "schema": { - "type": "string", - "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" - } - }, - { - "description": "The Team slug to perform the request on behalf of.", - "in": "query", - "name": "slug", - "schema": { - "type": "string", - "example": "my-team-url-slug" - } - } - ] + "description": "Get information about a domain order by its ID", + "summary": "Get a domain order" } }, - "/v1/edge-config/{edgeConfigId}/item/{edgeConfigItemKey}": { + "/v1/domains/{domain}/registry": { "get": { - "description": "Returns a specific Edge Config Item.", - "operationId": "getEdgeConfigItem", + "description": "This endpoint is deprecated and replaced with the endpoint [Get a domain's transfer status](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/get-a-domains-transfer-status). Fetch domain transfer availability or transfer status if a transfer is in progress.", + "operationId": "getDomainTransfer", "security": [ { "bearerToken": [] } ], - "summary": "Get an Edge Config item", + "summary": "Get domain transfer info (deprecated)", "tags": [ - "edge-config" + "domains" ], "responses": { "200": { - "description": "The EdgeConfig.", + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/EdgeConfigItem" + "oneOf": [ + { + "properties": { + "reason": { + "type": "string" + }, + "status": { + "type": "string" + }, + "transferable": { + "type": "boolean" + }, + "transferPolicy": { + "type": "string", + "enum": [ + "charge-and-renew" + ] + } + }, + "required": [ + "reason", + "status", + "transferable", + "transferPolicy" + ], + "type": "object" + }, + { + "properties": { + "transferable": { + "type": "boolean", + "description": "Whether or not the domain is transferable" + }, + "transferPolicy": { + "nullable": true, + "type": "string", + "enum": [ + "charge-and-renew", + "no-charge-no-change", + "no-change", + "new-term", + "not-supported" + ], + "description": "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": { + "type": "string", + "description": "Description associated with transferable state." + }, + "status": { + "type": "string", + "enum": [ + "completed", + "undef", + "pending_owner", + "pending_admin", + "pending_registry", + "cancelled", + "unknown" + ], + "description": "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." + } + }, + "required": [ + "transferable", + "transferPolicy", + "reason", + "status" + ], + "type": "object" + } + ] } } } }, "400": { - "description": "One of the provided values in the request query is invalid.", + "description": "", "content": { "application/json": { "schema": { @@ -24408,35 +24629,11 @@ "403": { "description": "You do not have permission to access this resource." }, - "404": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VercelNotFoundError" - } - } - } + "500": { + "description": "" } }, "parameters": [ - { - "name": "edgeConfigId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "pattern": "^ecfg_" - } - }, - { - "name": "edgeConfigItemKey", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, { "description": "The Team identifier to perform the request on behalf of.", "in": "query", @@ -24454,30 +24651,118 @@ "type": "string", "example": "my-team-url-slug" } + }, + { + "name": "domain", + "in": "path", + "required": true, + "schema": { + "type": "string", + "example": "example.com" + } } ] } }, - "/v1/edge-config/{edgeConfigId}/tokens": { + "/v6/domains/{domain}/config": { "get": { - "description": "Returns all tokens of an Edge Config.", - "operationId": "getEdgeConfigTokens", + "description": "Get a Domain's configuration.", + "operationId": "getDomainConfig", "security": [ { "bearerToken": [] } ], - "summary": "Get all tokens of an Edge Config", + "summary": "Get a Domain's configuration", "tags": [ - "edge-config" + "domains" ], "responses": { "200": { - "description": "The EdgeConfig.", + "description": "", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/EdgeConfigToken" + "properties": { + "configuredBy": { + "nullable": true, + "type": "string", + "enum": [ + "CNAME", + "A", + "http", + "dns-01" + ], + "description": "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": { + "items": { + "type": "string", + "enum": [ + "dns-01", + "http-01" + ], + "description": "Which challenge types the domain can use for issuing certs." + }, + "type": "array", + "description": "Which challenge types the domain can use for issuing certs." + }, + "recommendedIPv4": { + "items": { + "properties": { + "rank": { + "type": "number" + }, + "value": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "rank", + "value" + ], + "type": "object", + "description": "Recommended IPv4s for the domain. rank=1 is the preferred value(s) to use. Only using 1 ip value is acceptable." + }, + "type": "array", + "description": "Recommended IPv4s for the domain. rank=1 is the preferred value(s) to use. Only using 1 ip value is acceptable." + }, + "recommendedCNAME": { + "items": { + "properties": { + "rank": { + "type": "number" + }, + "value": { + "type": "string" + } + }, + "required": [ + "rank", + "value" + ], + "type": "object", + "description": "Recommended CNAMEs for the domain. rank=1 is the preferred value to use." + }, + "type": "array", + "description": "Recommended CNAMEs for the domain. rank=1 is the preferred value to use." + }, + "misconfigured": { + "type": "boolean", + "description": "Whether or not the domain is configured AND we can automatically generate a TLS certificate." + } + }, + "required": [ + "configuredBy", + "acceptedChallenges", + "recommendedIPv4", + "recommendedCNAME", + "misconfigured" + ], + "type": "object" } } } @@ -24504,27 +24789,43 @@ }, "403": { "description": "You do not have permission to access this resource." - }, - "404": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VercelNotFoundError" - } - } - } } }, "parameters": [ { - "name": "edgeConfigId", + "name": "domain", + "description": "The name of the domain.", "in": "path", "required": true, "schema": { + "description": "The name of the domain.", + "type": "string", + "example": "example.com" + } + }, + { + "name": "projectIdOrName", + "description": "The project id or name that will be associated with the domain. Use this when the domain is not yet associated with a project.", + "in": "query", + "required": false, + "schema": { + "description": "The project id or name that will be associated with the domain. Use this when the domain is not yet associated with a project.", "type": "string" } }, + { + "name": "strict", + "description": "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.", + "in": "query", + "required": false, + "schema": { + "enum": [ + "true", + "false" + ], + "description": "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." + } + }, { "description": "The Team identifier to perform the request on behalf of.", "in": "query", @@ -24544,135 +24845,198 @@ } } ] - }, - "delete": { - "description": "Deletes one or more tokens of an existing Edge Config.", - "operationId": "deleteEdgeConfigTokens", + } + }, + "/v5/domains/{domain}": { + "get": { + "description": "Get information for a single domain in an account or team.", + "operationId": "getDomain", "security": [ { "bearerToken": [] } ], - "summary": "Delete one or more Edge Config tokens", + "summary": "Get Information for a Single Domain", "tags": [ - "edge-config" + "domains" ], "responses": { - "204": { - "description": "" - }, - "400": { - "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": { - "description": "The request is not authorized.", + "200": { + "description": "Successful response retrieving an information for a specific domains.", "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" - }, - "403": { - "description": "You do not have permission to access this resource." - }, - "404": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VercelNotFoundError" - } - } - } - }, - "409": { - "description": "" - } - }, - "parameters": [ - { - "name": "edgeConfigId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "description": "The Team identifier to perform the request on behalf of.", - "in": "query", - "name": "teamId", - "schema": { - "type": "string", - "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" - } - }, - { - "description": "The Team slug to perform the request on behalf of.", - "in": "query", - "name": "slug", - "schema": { - "type": "string", - "example": "my-team-url-slug" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "additionalProperties": false, - "required": [ - "tokens" - ], - "properties": { - "tokens": { - "type": "array", - "items": { - "type": "string" + "properties": { + "domain": { + "properties": { + "suffix": { + "type": "boolean" + }, + "verified": { + "type": "boolean", + "description": "If the domain has the ownership verified.", + "example": true + }, + "nameservers": { + "items": { + "type": "string" + }, + "type": "array", + "description": "A list of the current nameservers of the domain.", + "example": [ + "ns1.nameserver.net", + "ns2.nameserver.net" + ] + }, + "intendedNameservers": { + "items": { + "type": "string" + }, + "type": "array", + "description": "A list of the intended nameservers for the domain to point to Vercel DNS.", + "example": [ + "ns1.vercel-dns.com", + "ns2.vercel-dns.com" + ] + }, + "customNameservers": { + "items": { + "type": "string" + }, + "type": "array", + "description": "A list of custom nameservers for the domain to point to. Only applies to domains purchased with Vercel.", + "example": [ + "ns1.nameserver.net", + "ns2.nameserver.net" + ] + }, + "creator": { + "properties": { + "username": { + "type": "string" + }, + "email": { + "type": "string" + }, + "customerId": { + "nullable": true, + "type": "string" + }, + "isDomainReseller": { + "type": "boolean" + }, + "id": { + "type": "string" + } + }, + "required": [ + "username", + "email", + "id" + ], + "type": "object", + "description": "An object containing information of the domain creator, including the user's id, username, and email.", + "example": { + "id": "ZspSRT4ljIEEmMHgoDwKWDei", + "username": "vercel_user", + "email": "demo@example.com" + } + }, + "registrar": { + "type": "string", + "enum": [ + "new" + ], + "description": "Whether or not the domain is registered with Name.com. If set to `true`, the domain is registered with Name.com." + }, + "teamId": { + "nullable": true, + "type": "string" + }, + "boughtAt": { + "nullable": true, + "type": "number", + "description": "If it was purchased through Vercel, the timestamp in milliseconds when it was purchased.", + "example": 1613602938882 + }, + "name": { + "type": "string", + "description": "The domain name.", + "example": "example.com" + }, + "createdAt": { + "type": "number", + "description": "Timestamp in milliseconds when the domain was created in the registry.", + "example": 1613602938882 + }, + "expiresAt": { + "nullable": true, + "type": "number", + "description": "Timestamp in milliseconds at which the domain is set to expire. `null` if not bought with Vercel.", + "example": 1613602938882 + }, + "id": { + "type": "string", + "description": "The unique identifier of the domain.", + "example": "EmTbe5CEJyTk2yVAHBUWy4A3sRusca3GCwRjTC1bpeVnt1" + }, + "orderedAt": { + "type": "number", + "description": "Timestamp in milliseconds at which the domain was ordered.", + "example": 1613602938882 + }, + "renew": { + "type": "boolean", + "description": "Indicates whether the domain is set to automatically renew.", + "example": true + }, + "serviceType": { + "type": "string", + "enum": [ + "zeit.world", + "external", + "na" + ], + "description": "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.", + "example": "zeit.world" + }, + "transferredAt": { + "nullable": true, + "type": "number", + "description": "Timestamp in milliseconds at which the domain was successfully transferred into Vercel. `null` if the transfer is still processing or was never transferred in.", + "example": 1613602938882 + }, + "transferStartedAt": { + "type": "number", + "description": "If transferred into Vercel, timestamp in milliseconds when the domain transfer was initiated.", + "example": 1613602938882 + }, + "userId": { + "type": "string" + } + }, + "required": [ + "suffix", + "verified", + "nameservers", + "intendedNameservers", + "creator", + "teamId", + "boughtAt", + "name", + "createdAt", + "expiresAt", + "id", + "serviceType", + "userId" + ], + "type": "object" } - } - } - } - } - }, - "required": true - } - } - }, - "/v1/edge-config/{edgeConfigId}/token/{token}": { - "get": { - "description": "Return meta data about an Edge Config token.", - "operationId": "getEdgeConfigToken", - "security": [ - { - "bearerToken": [] - } - ], - "summary": "Get Edge Config token meta data", - "tags": [ - "edge-config" - ], - "responses": { - "200": { - "description": "The EdgeConfig.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/EdgeConfigToken" + }, + "required": [ + "domain" + ], + "type": "object" } } } @@ -24713,19 +25077,14 @@ }, "parameters": [ { - "name": "edgeConfigId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "token", + "name": "domain", + "description": "The name of the domain.", "in": "path", "required": true, "schema": { - "type": "string" + "description": "The name of the domain.", + "type": "string", + "example": "example.com" } }, { @@ -24749,36 +25108,197 @@ ] } }, - "/v1/edge-config/{edgeConfigId}/token": { - "post": { - "description": "Adds a token to an existing Edge Config.", - "operationId": "createEdgeConfigToken", + "/v5/domains": { + "get": { + "description": "Retrieves a list of domains registered for the authenticated user or team. By default it returns the last 20 domains if no limit is provided.", + "operationId": "getDomains", "security": [ { "bearerToken": [] } ], - "summary": "Create an Edge Config token", + "summary": "List all the domains", "tags": [ - "edge-config" + "domains" ], "responses": { - "201": { - "description": "", + "200": { + "description": "Successful response retrieving a list of domains.", "content": { "application/json": { "schema": { "properties": { - "token": { - "type": "string" + "domains": { + "items": { + "properties": { + "verified": { + "type": "boolean", + "description": "If the domain has the ownership verified.", + "example": true + }, + "nameservers": { + "items": { + "type": "string" + }, + "type": "array", + "description": "A list of the current nameservers of the domain.", + "example": [ + "ns1.nameserver.net", + "ns2.nameserver.net" + ] + }, + "intendedNameservers": { + "items": { + "type": "string" + }, + "type": "array", + "description": "A list of the intended nameservers for the domain to point to Vercel DNS.", + "example": [ + "ns1.vercel-dns.com", + "ns2.vercel-dns.com" + ] + }, + "customNameservers": { + "items": { + "type": "string" + }, + "type": "array", + "description": "A list of custom nameservers for the domain to point to. Only applies to domains purchased with Vercel.", + "example": [ + "ns1.nameserver.net", + "ns2.nameserver.net" + ] + }, + "creator": { + "properties": { + "username": { + "type": "string" + }, + "email": { + "type": "string" + }, + "customerId": { + "nullable": true, + "type": "string" + }, + "isDomainReseller": { + "type": "boolean" + }, + "id": { + "type": "string" + } + }, + "required": [ + "username", + "email", + "id" + ], + "type": "object", + "description": "An object containing information of the domain creator, including the user's id, username, and email.", + "example": { + "id": "ZspSRT4ljIEEmMHgoDwKWDei", + "username": "vercel_user", + "email": "demo@example.com" + } + }, + "registrar": { + "type": "string", + "enum": [ + "new" + ], + "description": "Whether or not the domain is registered with Name.com. If set to `true`, the domain is registered with Name.com." + }, + "teamId": { + "nullable": true, + "type": "string" + }, + "createdAt": { + "type": "number", + "description": "Timestamp in milliseconds when the domain was created in the registry.", + "example": 1613602938882 + }, + "boughtAt": { + "nullable": true, + "type": "number", + "description": "If it was purchased through Vercel, the timestamp in milliseconds when it was purchased.", + "example": 1613602938882 + }, + "expiresAt": { + "nullable": true, + "type": "number", + "description": "Timestamp in milliseconds at which the domain is set to expire. `null` if not bought with Vercel.", + "example": 1613602938882 + }, + "id": { + "type": "string", + "description": "The unique identifier of the domain.", + "example": "EmTbe5CEJyTk2yVAHBUWy4A3sRusca3GCwRjTC1bpeVnt1" + }, + "name": { + "type": "string", + "description": "The domain name.", + "example": "example.com" + }, + "orderedAt": { + "type": "number", + "description": "Timestamp in milliseconds at which the domain was ordered.", + "example": 1613602938882 + }, + "renew": { + "type": "boolean", + "description": "Indicates whether the domain is set to automatically renew.", + "example": true + }, + "serviceType": { + "type": "string", + "enum": [ + "zeit.world", + "external", + "na" + ], + "description": "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.", + "example": "zeit.world" + }, + "transferredAt": { + "nullable": true, + "type": "number", + "description": "Timestamp in milliseconds at which the domain was successfully transferred into Vercel. `null` if the transfer is still processing or was never transferred in.", + "example": 1613602938882 + }, + "transferStartedAt": { + "type": "number", + "description": "If transferred into Vercel, timestamp in milliseconds when the domain transfer was initiated.", + "example": 1613602938882 + }, + "userId": { + "type": "string" + } + }, + "required": [ + "verified", + "nameservers", + "intendedNameservers", + "creator", + "teamId", + "createdAt", + "boughtAt", + "expiresAt", + "id", + "name", + "serviceType", + "userId" + ], + "type": "object" + }, + "type": "array" }, - "id": { - "type": "string" + "pagination": { + "$ref": "#/components/schemas/Pagination" } }, "required": [ - "token", - "id" + "domains", + "pagination" ], "type": "object" } @@ -24786,7 +25306,7 @@ } }, "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 query is invalid.", "content": { "application/json": { "schema": { @@ -24805,33 +25325,42 @@ } } }, - "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": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VercelNotFoundError" - } - } - } - }, "409": { "description": "" } }, "parameters": [ { - "name": "edgeConfigId", - "in": "path", - "required": true, + "name": "limit", + "description": "Maximum number of domains to list from a request.", + "in": "query", "schema": { - "type": "string" + "description": "Maximum number of domains to list from a request.", + "type": "number", + "example": 20 + } + }, + { + "name": "since", + "description": "Get domains created after this JavaScript timestamp.", + "in": "query", + "schema": { + "description": "Get domains created after this JavaScript timestamp.", + "type": "number", + "example": 1609499532000 + } + }, + { + "name": "until", + "description": "Get domains created before this JavaScript timestamp.", + "in": "query", + "schema": { + "description": "Get domains created before this JavaScript timestamp.", + "type": "number", + "example": 1612264332000 } }, { @@ -24852,41 +25381,21 @@ "example": "my-team-url-slug" } } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "additionalProperties": false, - "required": [ - "label" - ], - "properties": { - "label": { - "maxLength": 52, - "type": "string" - } - } - } - } - }, - "required": true - } + ] } }, - "/v1/edge-config/{edgeConfigId}/backups/{edgeConfigBackupVersionId}": { - "get": { - "description": "Retrieves a specific version of an Edge Config from backup storage.", - "operationId": "getEdgeConfigBackup", + "/v7/domains": { + "post": { + "description": "This endpoint is used for adding a new apex domain name with Vercel for the authenticating user. Note: This endpoint is no longer used for initiating domain transfers from external registrars to Vercel. For this, please use the endpoint [Transfer-in a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/transfer-in-a-domain).", + "operationId": "createOrTransferDomain", "security": [ { "bearerToken": [] } ], - "summary": "Get Edge Config backup", + "summary": "Add an existing domain to the Vercel platform", "tags": [ - "edge-config" + "domains" ], "responses": { "200": { @@ -24894,226 +25403,179 @@ "content": { "application/json": { "schema": { - "oneOf": [ - { + "properties": { + "domain": { "properties": { - "id": { - "type": "string" + "verified": { + "type": "boolean", + "description": "If the domain has the ownership verified.", + "example": true }, - "lastModified": { - "type": "number" + "nameservers": { + "items": { + "type": "string" + }, + "type": "array", + "description": "A list of the current nameservers of the domain.", + "example": [ + "ns1.nameserver.net", + "ns2.nameserver.net" + ] }, - "backup": { - "properties": { - "digest": { - "type": "string" - }, - "items": { - "additionalProperties": { - "properties": { - "updatedAt": { - "type": "number" - }, - "value": { - "$ref": "#/components/schemas/EdgeConfigItemValue" - }, - "description": { - "type": "string" - }, - "createdAt": { - "type": "number" - } - }, - "required": [ - "updatedAt", - "value", - "createdAt" - ], - "type": "object" - }, - "type": "object" - }, - "slug": { - "type": "string", - "description": "Name for the Edge Config Names are not unique. Must start with an alphabetic character and can contain only alphanumeric characters and underscores)." - }, - "updatedAt": { - "type": "number" - } + "intendedNameservers": { + "items": { + "type": "string" }, - "required": [ - "digest", - "items", - "slug", - "updatedAt" - ], - "type": "object" + "type": "array", + "description": "A list of the intended nameservers for the domain to point to Vercel DNS.", + "example": [ + "ns1.vercel-dns.com", + "ns2.vercel-dns.com" + ] }, - "metadata": { - "properties": { - "updatedAt": { - "type": "string" - }, - "updatedBy": { - "type": "string" - }, - "itemsCount": { - "type": "number" - }, - "itemsBytes": { - "type": "number" - } + "customNameservers": { + "items": { + "type": "string" }, - "type": "object" + "type": "array", + "description": "A list of custom nameservers for the domain to point to. Only applies to domains purchased with Vercel.", + "example": [ + "ns1.nameserver.net", + "ns2.nameserver.net" + ] }, - "user": { + "creator": { "properties": { - "id": { - "type": "string" - }, "username": { "type": "string" }, "email": { "type": "string" }, - "name": { - "type": "string" - }, - "avatar": { - "type": "string" - } - }, - "required": [ - "id", - "username", - "email" - ], - "type": "object" - } - }, - "required": [ - "id", - "lastModified", - "backup", - "metadata" - ], - "type": "object", - "description": "The object the API responds with when requesting an Edge Config backup" - }, - { - "properties": { - "user": { - "properties": { - "id": { - "type": "string" - }, - "username": { - "type": "string" - }, - "email": { + "customerId": { + "nullable": true, "type": "string" }, - "name": { - "type": "string" + "isDomainReseller": { + "type": "boolean" }, - "avatar": { + "id": { "type": "string" } }, "required": [ - "id", "username", - "email" + "email", + "id" ], - "type": "object" + "type": "object", + "description": "An object containing information of the domain creator, including the user's id, username, and email.", + "example": { + "id": "ZspSRT4ljIEEmMHgoDwKWDei", + "username": "vercel_user", + "email": "demo@example.com" + } + }, + "registrar": { + "type": "string", + "enum": [ + "new" + ], + "description": "Whether or not the domain is registered with Name.com. If set to `true`, the domain is registered with Name.com." + }, + "name": { + "type": "string", + "description": "The domain name.", + "example": "example.com" + }, + "boughtAt": { + "nullable": true, + "type": "number", + "description": "If it was purchased through Vercel, the timestamp in milliseconds when it was purchased.", + "example": 1613602938882 + }, + "createdAt": { + "type": "number", + "description": "Timestamp in milliseconds when the domain was created in the registry.", + "example": 1613602938882 + }, + "expiresAt": { + "nullable": true, + "type": "number", + "description": "Timestamp in milliseconds at which the domain is set to expire. `null` if not bought with Vercel.", + "example": 1613602938882 }, "id": { - "type": "string" + "type": "string", + "description": "The unique identifier of the domain.", + "example": "EmTbe5CEJyTk2yVAHBUWy4A3sRusca3GCwRjTC1bpeVnt1" }, - "lastModified": { - "type": "number" + "orderedAt": { + "type": "number", + "description": "Timestamp in milliseconds at which the domain was ordered.", + "example": 1613602938882 }, - "backup": { - "properties": { - "digest": { - "type": "string" - }, - "items": { - "additionalProperties": { - "properties": { - "updatedAt": { - "type": "number" - }, - "value": { - "$ref": "#/components/schemas/EdgeConfigItemValue" - }, - "description": { - "type": "string" - }, - "createdAt": { - "type": "number" - } - }, - "required": [ - "updatedAt", - "value", - "createdAt" - ], - "type": "object" - }, - "type": "object" - }, - "slug": { - "type": "string", - "description": "Name for the Edge Config Names are not unique. Must start with an alphabetic character and can contain only alphanumeric characters and underscores)." - }, - "updatedAt": { - "type": "number" - } - }, - "required": [ - "digest", - "items", - "slug", - "updatedAt" + "renew": { + "type": "boolean", + "description": "Indicates whether the domain is set to automatically renew.", + "example": true + }, + "serviceType": { + "type": "string", + "enum": [ + "zeit.world", + "external", + "na" ], - "type": "object" + "description": "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.", + "example": "zeit.world" }, - "metadata": { - "properties": { - "updatedAt": { - "type": "string" - }, - "updatedBy": { - "type": "string" - }, - "itemsCount": { - "type": "number" - }, - "itemsBytes": { - "type": "number" - } - }, - "type": "object" + "transferredAt": { + "nullable": true, + "type": "number", + "description": "Timestamp in milliseconds at which the domain was successfully transferred into Vercel. `null` if the transfer is still processing or was never transferred in.", + "example": 1613602938882 + }, + "transferStartedAt": { + "type": "number", + "description": "If transferred into Vercel, timestamp in milliseconds when the domain transfer was initiated.", + "example": 1613602938882 + }, + "userId": { + "type": "string" + }, + "teamId": { + "nullable": true, + "type": "string" } }, "required": [ - "user", + "verified", + "nameservers", + "intendedNameservers", + "creator", + "name", + "boughtAt", + "createdAt", + "expiresAt", "id", - "lastModified", - "backup", - "metadata" + "serviceType", + "userId", + "teamId" ], "type": "object" } - ] + }, + "required": [ + "domain" + ], + "type": "object" } } } }, "400": { - "description": "One of the provided values in the request query is invalid.", + "description": "One of the provided values in the request body is invalid.", "content": { "application/json": { "schema": { @@ -25132,6 +25594,9 @@ } } }, + "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." }, @@ -25144,25 +25609,15 @@ } } } + }, + "409": { + "description": "The domain is not allowed to be used" + }, + "500": { + "description": "" } }, "parameters": [ - { - "name": "edgeConfigId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "edgeConfigBackupVersionId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, { "description": "The Team identifier to perform the request on behalf of.", "in": "query", @@ -25182,21 +25637,123 @@ } } ], - "x-speakeasy-test": false + "requestBody": { + "content": { + "application/json": { + "schema": { + "properties": { + "method": { + "description": "The domain operation to perform. It can be either `add` or `move-in`.", + "type": "string", + "example": "add" + } + }, + "oneOf": [ + { + "additionalProperties": false, + "type": "object", + "description": "add", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "The domain name you want to add.", + "type": "string", + "example": "example.com" + }, + "cdnEnabled": { + "description": "Whether the domain has the Vercel Edge Network enabled or not.", + "type": "boolean", + "example": true + }, + "zone": { + "type": "boolean" + }, + "method": { + "description": "The domain operation to perform.", + "type": "string", + "example": "add" + } + } + }, + { + "additionalProperties": false, + "type": "object", + "description": "move-in", + "required": [ + "method", + "name" + ], + "properties": { + "name": { + "description": "The domain name you want to add.", + "type": "string", + "example": "example.com" + }, + "method": { + "description": "The domain operation to perform.", + "type": "string", + "example": "move-in" + }, + "token": { + "description": "The move-in token from Move Requested email.", + "type": "string", + "example": "fdhfr820ad#@FAdlj$$" + } + } + }, + { + "deprecated": true, + "additionalProperties": false, + "type": "object", + "description": "transfer-in", + "required": [ + "method", + "name" + ], + "properties": { + "name": { + "description": "The domain name you want to add.", + "type": "string", + "example": "example.com" + }, + "method": { + "description": "The domain operation to perform.", + "type": "string", + "example": "transfer-in" + }, + "authCode": { + "description": "The authorization code assigned to the domain.", + "type": "string", + "example": "fdhfr820ad#@FAdlj$$" + }, + "expectedPrice": { + "description": "The price you expect to be charged for the required 1 year renewal.", + "type": "number", + "example": 8 + } + } + } + ] + } + } + } + } } }, - "/v1/edge-config/{edgeConfigId}/backups": { - "get": { - "description": "Returns backups of an Edge Config.", - "operationId": "getEdgeConfigBackups", + "/v3/domains/{domain}": { + "patch": { + "description": "Update or move apex domain. Note: This endpoint is no longer used for updating auto-renew or nameservers. For this, please use the endpoints [Update auto-renew for a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/update-auto-renew-for-a-domain) and [Update nameservers for a domain](https://vercel.com/docs/rest-api/reference/endpoints/domains-registrar/update-nameservers-for-a-domain).", + "operationId": "patchDomain", "security": [ { "bearerToken": [] } ], - "summary": "Get Edge Config backups", + "summary": "Update or move apex domain", "tags": [ - "edge-config" + "domains" ], "responses": { "200": { @@ -25204,68 +25761,57 @@ "content": { "application/json": { "schema": { - "properties": { - "backups": { - "items": { - "properties": { - "metadata": { - "properties": { - "updatedAt": { - "type": "string" - }, - "updatedBy": { - "type": "string" - }, - "itemsCount": { - "type": "number" - }, - "itemsBytes": { - "type": "number" - } - }, - "type": "object" - }, - "id": { - "type": "string" - }, - "lastModified": { - "type": "number" - } - }, - "required": [ - "id", - "lastModified" - ], - "type": "object" - }, - "type": "array" - }, - "pagination": { + "oneOf": [ + { "properties": { - "hasNext": { + "moved": { + "type": "boolean" + } + }, + "required": [ + "moved" + ], + "type": "object" + }, + { + "properties": { + "moved": { "type": "boolean" }, - "next": { + "token": { "type": "string" } }, "required": [ - "hasNext" + "moved", + "token" ], "type": "object" + }, + { + "properties": { + "renew": { + "type": "boolean" + }, + "customNameservers": { + "items": { + "type": "string" + }, + "type": "array" + }, + "zone": { + "type": "boolean" + } + }, + "type": "object" } - }, - "required": [ - "backups", - "pagination" - ], - "type": "object" + ] } } } }, "400": { - "description": "One 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": { @@ -25296,42 +25842,22 @@ } } } + }, + "409": { + "description": "" + }, + "500": { + "description": "" } }, "parameters": [ { - "name": "edgeConfigId", + "name": "domain", "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "next", - "in": "query", - "required": false, "schema": { "type": "string" - } - }, - { - "name": "limit", - "in": "query", - "required": false, - "schema": { - "type": "number", - "minimum": 0, - "maximum": 50 - } - }, - { - "name": "metadata", - "in": "query", - "required": false, - "schema": { - "type": "string" - } + }, + "required": true }, { "description": "The Team identifier to perform the request on behalf of.", @@ -25351,42 +25877,95 @@ "example": "my-team-url-slug" } } - ] + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "object", + "description": "update", + "additionalProperties": false, + "properties": { + "op": { + "example": "update", + "type": "string" + }, + "renew": { + "description": "This field is deprecated. Please use PATCH /v1/registrar/domains/{domainName}/auto-renew instead.", + "type": "boolean", + "deprecated": true + }, + "customNameservers": { + "description": "This field is deprecated. Please use PATCH /v1/registrar/domains/{domainName}/nameservers instead.", + "items": { + "type": "string" + }, + "maxItems": 4, + "minItems": 0, + "type": "array", + "uniqueItems": true, + "deprecated": true + }, + "zone": { + "description": "Specifies whether this is a DNS zone that intends to use Vercel's nameservers.", + "type": "boolean" + } + } + }, + { + "type": "object", + "description": "move-out", + "additionalProperties": false, + "properties": { + "op": { + "example": "move-out", + "type": "string" + }, + "destination": { + "description": "User or team to move domain to", + "type": "string" + } + } + } + ] + } + } + }, + "required": true + }, + "x-speakeasy-test": false } }, - "/v3/events": { - "get": { - "description": "Retrieves a list of \"events\" generated by the User on Vercel. Events are generated when the User performs a particular action, such as logging in, creating a deployment, and joining a Team (just to name a few). When the `teamId` parameter is supplied, then the events that are returned will be in relation to the Team that was specified.", - "operationId": "listUserEvents", + "/v6/domains/{domain}": { + "delete": { + "description": "Delete a previously registered domain name from Vercel. Deleting a domain will automatically remove any associated aliases.", + "operationId": "deleteDomain", "security": [ { "bearerToken": [] } ], - "summary": "List User Events", + "summary": "Remove a domain by name", "tags": [ - "user" + "domains" ], "responses": { "200": { - "description": "Successful response.", + "description": "Successful response removing a domain.", "content": { "application/json": { "schema": { "properties": { - "events": { - "items": { - "$ref": "#/components/schemas/UserEvent" - }, - "type": "array", - "description": "Array of events generated by the User." + "uid": { + "type": "string" } }, "required": [ - "events" + "uid" ], - "type": "object", - "description": "Successful response." + "type": "object" } } } @@ -25413,87 +25992,31 @@ }, "403": { "description": "You do not have permission to access this resource." - } - }, - "parameters": [ - { - "name": "limit", - "description": "Maximum number of items which may be returned.", - "in": "query", - "schema": { - "description": "Maximum number of items which may be returned.", - "example": 20, - "type": "number" - } - }, - { - "name": "since", - "description": "Timestamp to only include items created since then.", - "in": "query", - "schema": { - "description": "Timestamp to only include items created since then.", - "example": "2019-12-08T10:00:38.976Z", - "type": "string" - } }, - { - "name": "until", - "description": "Timestamp to only include items created until then.", - "in": "query", - "schema": { - "description": "Timestamp to only include items created until then.", - "example": "2019-12-09T23:00:38.976Z", - "type": "string" - } - }, - { - "name": "types", - "description": "Comma-delimited list of event \\\"types\\\" to filter the results by.", - "in": "query", - "schema": { - "description": "Comma-delimited list of event \\\"types\\\" to filter the results by.", - "example": "login,team-member-join,domain-buy", - "type": "string" - } - }, - { - "name": "userId", - "description": "Deprecated. Use `principalId` instead. If `principalId` and `userId` both exist, `principalId` will be used.", - "in": "query", - "schema": { - "description": "Deprecated. Use `principalId` instead. If `principalId` and `userId` both exist, `principalId` will be used.", - "example": "aeIInYVk59zbFF2SxfyxxmuO", - "type": "string" - } - }, - { - "name": "principalId", - "description": "When retrieving events for a Team, the `principalId` parameter may be specified to filter events generated by a specific principal.", - "in": "query", - "schema": { - "description": "When retrieving events for a Team, the `principalId` parameter may be specified to filter events generated by a specific principal.", - "example": "aeIInYVk59zbFF2SxfyxxmuO", - "type": "string" - } - }, - { - "name": "projectIds", - "description": "Comma-delimited list of project IDs to filter the results by.", - "in": "query", - "schema": { - "description": "Comma-delimited list of project IDs to filter the results by.", - "example": "aeIInYVk59zbFF2SxfyxxmuO", - "type": "string" + "404": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } } }, + "409": { + "description": "" + } + }, + "parameters": [ { - "name": "withPayload", - "description": "When set to `true`, the response will include the `payload` field for each event.", - "in": "query", + "name": "domain", + "description": "The name of the domain.", + "in": "path", + "required": true, "schema": { - "description": "When set to `true`, the response will include the `payload` field for each event.", - "example": "true", - "type": "string" + "description": "The name of the domain.", + "type": "string", + "example": "example.com" } }, { @@ -25517,18 +26040,18 @@ ] } }, - "/v1/integrations/integration/{integrationIdOrSlug}/products/{productIdOrSlug}/plans": { + "/v1/log-drains/{id}": { "get": { - "description": "Get a list of billing plans for an integration and product.", - "operationId": "getBillingPlans", + "description": "Retrieves a Configurable Log Drain. This endpoint must be called with a team AccessToken (integration OAuth2 clients are not allowed). Only log drains owned by the authenticated team can be accessed.", + "operationId": "getConfigurableLogDrain", "security": [ { "bearerToken": [] } ], - "summary": "List integration billing plans", + "summary": "Retrieves a Configurable Log Drain (deprecated)", "tags": [ - "integrations" + "logDrains" ], "responses": { "200": { @@ -25536,130 +26059,103 @@ "content": { "application/json": { "schema": { + "type": "object", "properties": { - "plans": { + "projectsMetadata": { + "nullable": true, "items": { "properties": { - "type": { - "type": "string", - "enum": [ - "prepayment", - "subscription" - ] - }, - "description": { - "type": "string" - }, "id": { "type": "string" }, "name": { "type": "string" }, - "scope": { + "framework": { + "nullable": true, "type": "string", "enum": [ - "installation", - "resource" + "blitzjs", + "nextjs", + "gatsby", + "remix", + "react-router", + "astro", + "hexo", + "eleventy", + "docusaurus-2", + "docusaurus", + "preact", + "solidstart-1", + "solidstart", + "dojo", + "ember", + "vue", + "scully", + "ionic-angular", + "angular", + "polymer", + "svelte", + "sveltekit", + "sveltekit-1", + "ionic-react", + "create-react-app", + "gridsome", + "umijs", + "sapper", + "saber", + "stencil", + "nuxtjs", + "redwoodjs", + "hugo", + "jekyll", + "brunch", + "middleman", + "zola", + "hydrogen", + "vite", + "tanstack-start", + "vitepress", + "vuepress", + "parcel", + "fastapi", + "flask", + "fasthtml", + "sanity-v3", + "sanity", + "storybook", + "nitro", + "hono", + "express", + "h3", + "nestjs", + "elysia", + "fastify", + "xmcp" ] }, - "paymentMethodRequired": { - "type": "boolean" - }, - "preauthorizationAmount": { - "type": "number" - }, - "initialCharge": { - "type": "string" - }, - "minimumAmount": { - "type": "string" - }, - "maximumAmount": { - "type": "string" - }, - "maximumAmountAutoPurchasePerPeriod": { - "type": "string" - }, - "cost": { - "type": "string" - }, - "details": { - "items": { - "properties": { - "label": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "label" - ], - "type": "object" - }, - "type": "array" - }, - "highlightedDetails": { - "items": { - "properties": { - "label": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "required": [ - "label" - ], - "type": "object" - }, - "type": "array" - }, - "quote": { - "items": { - "properties": { - "line": { - "type": "string" - }, - "amount": { - "type": "string" - } - }, - "required": [ - "line", - "amount" - ], - "type": "object" - }, - "type": "array" - }, - "effectiveDate": { + "latestDeployment": { "type": "string" - }, - "disabled": { - "type": "boolean" } }, "required": [ - "type", - "description", "id", - "name", - "scope", - "paymentMethodRequired" + "name" ], "type": "object" }, "type": "array" + }, + "integrationIcon": { + "type": "string" + }, + "integrationConfigurationUri": { + "type": "string" + }, + "integrationWebsite": { + "type": "string" } - }, - "required": [ - "plans" - ], - "type": "object" + } } } } @@ -25700,29 +26196,13 @@ }, "parameters": [ { - "name": "integrationIdOrSlug", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "productIdOrSlug", + "name": "id", "in": "path", "required": true, "schema": { "type": "string" } }, - { - "name": "metadata", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - }, { "description": "The Team identifier to perform the request on behalf of.", "in": "query", @@ -25742,27 +26222,25 @@ } } ] - } - }, - "/v1/integrations/installations/{integrationConfigurationId}/resources/{resourceId}/connections": { - "post": { - "description": "Connects an integration resource to a Vercel project. This endpoint establishes a connection between a provisioned integration resource (from storage APIs like `POST /v1/storage/stores/integration/direct`) and a specific Vercel project.", - "operationId": "connectIntegrationResourceToProject", + }, + "delete": { + "description": "Deletes a Configurable Log Drain. This endpoint must be called with a team AccessToken (integration OAuth2 clients are not allowed). Only log drains owned by the authenticated team can be deleted.", + "operationId": "deleteConfigurableLogDrain", "security": [ { "bearerToken": [] } ], - "summary": "Connect integration resource to project", + "summary": "Deletes a Configurable Log Drain (deprecated)", "tags": [ - "integrations" + "logDrains" ], "responses": { - "201": { + "204": { "description": "" }, "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 query is invalid.", "content": { "application/json": { "schema": { @@ -25797,15 +26275,7 @@ }, "parameters": [ { - "name": "integrationConfigurationId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "resourceId", + "name": "id", "in": "path", "required": true, "schema": { @@ -25830,38 +26300,21 @@ "example": "my-team-url-slug" } } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "required": [ - "projectId" - ], - "properties": { - "projectId": { - "type": "string" - } - } - } - } - } - } + ] } }, - "/v1/installations/{integrationConfigurationId}/account": { + "/v1/log-drains": { "get": { - "description": "Fetches the best account or user’s contact info", - "operationId": "get-account-info", + "description": "Retrieves a list of all the Log Drains owned by the account. This endpoint must be called with an account AccessToken (integration OAuth2 clients are not allowed). Only log drains owned by the authenticated account can be accessed.", + "operationId": "getAllLogDrains", "security": [ { "bearerToken": [] } ], - "summary": "Get Account Information", + "summary": "Retrieves a list of all the Log Drains (deprecated)", "tags": [ - "marketplace" + "logDrains" ], "responses": { "200": { @@ -25869,526 +26322,11897 @@ "content": { "application/json": { "schema": { - "properties": { - "name": { - "type": "string", - "description": "The name of the team the installation is tied to." - }, - "url": { - "type": "string", - "description": "A URL linking to the installation in the Vercel Dashboard." - }, - "contact": { - "nullable": true, + "oneOf": [ + { "properties": { - "email": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "required": [ - "email" - ], - "type": "object", - "description": "The best contact for the integration, which can change as team members and their roles change." - } - }, - "required": [ - "url", - "contact" - ], - "type": "object" - } - } - } - }, - "400": { - "description": "One of the provided values in the request query is invalid.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VercelBadRequestError" - } - } - } - }, - "401": { - "description": "The request is not authorized.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VercelForbiddenError" - } - } - } - }, - "403": { - "description": "You do not have permission to access this resource." - }, - "404": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VercelNotFoundError" - } - } - } - } - }, - "parameters": [ - { - "name": "integrationConfigurationId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ] - } - }, - "/v1/installations/{integrationConfigurationId}/member/{memberId}": { - "get": { - "description": "Returns the member role and other information for a given member ID (\"user_id\" claim in the SSO OIDC token).", - "operationId": "get-member", - "security": [ - { - "bearerToken": [] - } - ], - "summary": "Get Member Information", - "tags": [ - "marketplace" - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "properties": { - "id": { - "type": "string" - }, - "role": { - "type": "string", - "enum": [ - "ADMIN", - "USER" - ], - "description": "\"The `ADMIN` role, by default, is provided to users capable of installing integrations, while the `USER` role can be granted to Vercel users with the Vercel `Billing` or Vercel `Viewer` role, which are considered to be Read-Only roles.\"" - } - }, - "required": [ - "id", - "role" - ], - "type": "object" - } - } - } - }, - "400": { - "description": "One of the provided values in the request query is invalid.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VercelBadRequestError" - } - } - } - }, - "401": { - "description": "The request is not authorized.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VercelForbiddenError" - } - } - } - }, - "403": { - "description": "You do not have permission to access this resource." - }, - "404": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VercelNotFoundError" - } - } - } - } - }, - "parameters": [ - { - "name": "integrationConfigurationId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "memberId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ] - } - }, - "/v1/installations/{integrationConfigurationId}/events": { - "post": { - "description": "Partner notifies Vercel of any changes made to an Installation or a Resource. Vercel is expected to use `list-resources` and other read APIs to get the new state.\u003cbr/\u003e \u003cbr/\u003e `resource.updated` event should be dispatched when any state of a resource linked to Vercel is modified by the partner.\u003cbr/\u003e `installation.updated` event should be dispatched when an installation's billing plan is changed via the provider instead of Vercel.\u003cbr/\u003e \u003cbr/\u003e Resource update use cases: \u003cbr/\u003e \u003cbr/\u003e - The user renames a database in the partner’s application. The partner should dispatch a `resource.updated` event to notify Vercel to update the resource in Vercel’s datastores.\u003cbr/\u003e - A resource has been suspended due to a lack of use. The partner should dispatch a `resource.updated` event to notify Vercel to update the resource's status in Vercel's datastores.\u003cbr/\u003e", - "operationId": "create-event", - "security": [ - { - "bearerToken": [] - } - ], - "summary": "Create Event", - "tags": [ - "marketplace" - ], - "responses": { - "201": { - "description": "" - }, - "400": { - "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": { - "description": "The request is not authorized.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VercelForbiddenError" - } - } - } - }, - "403": { - "description": "You do not have permission to access this resource." - }, - "404": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VercelNotFoundError" - } - } - } - } - }, - "parameters": [ - { - "name": "integrationConfigurationId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "object", - "required": [ - "event" - ], - "properties": { - "event": { - "oneOf": [ - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "installation.updated" - ] - }, - "billingPlanId": { - "type": "string", - "description": "The installation-level billing plan ID" - } - }, - "required": [ - "type" - ], - "additionalProperties": false - }, - { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "resource.updated" - ] - }, - "productId": { - "type": "string", - "description": "Partner-provided product slug or id" - }, - "resourceId": { - "type": "string", - "description": "Partner provided resource ID" - } - }, - "required": [ - "type", - "productId", - "resourceId" - ], - "additionalProperties": false - } - ] - } - }, - "additionalProperties": false - } - } - }, - "required": true - } - } - }, - "/v1/installations/{integrationConfigurationId}/resources": { - "get": { - "description": "Get all resources for a given installation ID.", - "operationId": "get-integration-resources", - "security": [ - { - "bearerToken": [] - } - ], - "summary": "Get Integration Resources", - "tags": [ - "marketplace" - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "properties": { - "resources": { - "items": { - "properties": { - "partnerId": { - "type": "string", - "description": "The ID provided by the partner for the given resource" - }, - "internalId": { - "type": "string", - "description": "The ID assigned by Vercel for the given resource" - }, - "name": { - "type": "string", - "description": "The name of the resource as it is recorded in Vercel" - }, - "status": { - "type": "string", - "enum": [ - "ready", - "pending", - "suspended", - "resumed", - "uninstalled", - "error" - ], - "description": "The current status of the resource" - }, - "productId": { - "type": "string", - "description": "The ID of the product the resource is derived from" - }, - "protocolSettings": { - "properties": { - "experimentation": { + "drains": { + "oneOf": [ + { + "items": { "properties": { - "edgeConfigSyncingEnabled": { - "type": "boolean" - }, - "edgeConfigId": { + "id": { "type": "string" }, - "edgeConfigTokenId": { + "ownerId": { "type": "string" - } - }, - "type": "object" - } - }, - "type": "object", - "description": "Any settings provided for the resource to support its product's protocols" - }, - "notification": { - "properties": { - "level": { - "type": "string", - "enum": [ - "error", - "info", - "warn" - ] - }, - "title": { - "type": "string" - }, - "message": { - "type": "string" - }, - "href": { - "type": "string" - } - }, - "required": [ - "level", - "title" - ], - "type": "object", - "description": "The notification, if set, displayed to the user when viewing the resource in Vercel" - }, - "billingPlanId": { - "type": "string", - "description": "The ID of the billing plan the resource is subscribed to, if applicable" - }, - "metadata": { - "additionalProperties": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" - }, - { - "items": { + }, + "name": { "type": "string" }, - "type": "array", - "description": "The configured metadata for the resource as defined by its product's Metadata Schema" - }, - { - "items": { + "createdAt": { "type": "number" }, - "type": "array", - "description": "The configured metadata for the resource as defined by its product's Metadata Schema" - } - ] - }, - "type": "object", - "description": "The configured metadata for the resource as defined by its product's Metadata Schema" - } - }, - "required": [ - "partnerId", - "internalId", - "name", - "productId" - ], - "type": "object" - }, - "type": "array" - } - }, - "required": [ - "resources" - ], - "type": "object" - } - } - } - }, - "400": { - "description": "One of the provided values in the request query is invalid.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VercelBadRequestError" - } - } - } - }, - "401": { - "description": "The request is not authorized.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VercelForbiddenError" - } - } - } - }, - "403": { - "description": "You do not have permission to access this resource." - }, - "404": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VercelNotFoundError" - } - } - } - } - }, - "parameters": [ - { - "name": "integrationConfigurationId", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ] - } - }, - "/v1/installations/{integrationConfigurationId}/resources/{resourceId}": { - "get": { - "description": "Get a resource by its partner ID.", - "operationId": "get-integration-resource", - "security": [ - { - "bearerToken": [] - } - ], - "summary": "Get Integration Resource", - "tags": [ - "marketplace" - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { + "createdFrom": { + "type": "string", + "enum": [ + "self-served", + "integration" + ] + }, + "updatedAt": { + "type": "number" + }, + "projectIds": { + "items": { + "type": "string" + }, + "type": "array" + }, + "schemas": { + "properties": { + "log": { + "type": "object" + }, + "trace": { + "type": "object" + }, + "analytics": { + "type": "object" + }, + "speed_insights": { + "type": "object" + } + }, + "type": "object" + }, + "delivery": { + "oneOf": [ + { + "properties": { + "type": { + "type": "string", + "enum": [ + "http" + ] + }, + "endpoint": { + "type": "string" + }, + "encoding": { + "type": "string", + "enum": [ + "json", + "ndjson" + ] + }, + "compression": { + "type": "string", + "enum": [ + "gzip", + "none" + ] + }, + "headers": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "secret": { + "type": "string" + } + }, + "required": [ + "type", + "endpoint", + "encoding", + "headers" + ], + "type": "object" + }, + { + "properties": { + "type": { + "type": "string", + "enum": [ + "otlphttp" + ] + }, + "endpoint": { + "properties": { + "traces": { + "type": "string" + } + }, + "required": [ + "traces" + ], + "type": "object" + }, + "encoding": { + "type": "string", + "enum": [ + "json", + "proto" + ] + }, + "headers": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "secret": { + "type": "string" + } + }, + "required": [ + "type", + "endpoint", + "encoding", + "headers" + ], + "type": "object" + }, + { + "properties": { + "type": { + "type": "string", + "enum": [ + "clickhouse" + ] + }, + "endpoint": { + "type": "string" + }, + "table": { + "type": "string" + } + }, + "required": [ + "type", + "endpoint", + "table" + ], + "type": "object" + }, + { + "properties": { + "type": { + "type": "string", + "enum": [ + "internal" + ] + }, + "target": { + "type": "string", + "enum": [ + "vercel-otel-traces-db" + ] + } + }, + "required": [ + "type", + "target" + ], + "type": "object" + } + ] + }, + "sampling": { + "items": { + "properties": { + "type": { + "type": "string", + "enum": [ + "head_sampling" + ] + }, + "rate": { + "type": "number" + }, + "env": { + "type": "string", + "enum": [ + "production", + "preview" + ] + }, + "requestPath": { + "type": "string" + } + }, + "required": [ + "type", + "rate" + ], + "type": "object" + }, + "type": "array" + }, + "teamId": { + "nullable": true, + "type": "string" + }, + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled", + "errored" + ] + }, + "disabledAt": { + "type": "number" + }, + "disabledReason": { + "type": "string", + "enum": [ + "disabled-by-owner", + "feature-not-available", + "account-plan-downgrade", + "disabled-by-admin" + ] + }, + "disabledBy": { + "type": "string" + }, + "firstErrorTimestamp": { + "type": "number" + }, + "configurationId": { + "type": "string" + }, + "clientId": { + "type": "string" + }, + "source": { + "oneOf": [ + { + "properties": { + "kind": { + "type": "string", + "enum": [ + "self-served" + ] + } + }, + "required": [ + "kind" + ], + "type": "object" + }, + { + "properties": { + "kind": { + "type": "string", + "enum": [ + "integration" + ] + }, + "resourceId": { + "type": "string" + }, + "externalResourceId": { + "type": "string" + }, + "integrationId": { + "type": "string" + }, + "integrationConfigurationId": { + "type": "string" + } + }, + "required": [ + "kind", + "integrationId", + "integrationConfigurationId" + ], + "type": "object" + } + ] + }, + "filter": { + "type": "string" + }, + "filterV2": { + "oneOf": [ + { + "properties": { + "version": { + "type": "string", + "enum": [ + "v1" + ] + } + }, + "required": [ + "version" + ], + "type": "object" + }, + { + "properties": { + "version": { + "type": "string", + "enum": [ + "v2" + ] + }, + "filter": { + "oneOf": [ + { + "properties": { + "type": { + "type": "string", + "enum": [ + "basic" + ] + }, + "project": { + "properties": { + "ids": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "log": { + "properties": { + "sources": { + "items": { + "type": "string", + "enum": [ + "build", + "edge", + "lambda", + "static", + "external", + "firewall", + "redirect" + ] + }, + "type": "array" + }, + "legacy_excludeCachedStaticAssetLogs": { + "type": "boolean" + } + }, + "type": "object" + }, + "deployment": { + "properties": { + "environments": { + "items": { + "type": "string", + "enum": [ + "production", + "preview" + ] + }, + "type": "array" + } + }, + "type": "object" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "properties": { + "type": { + "type": "string", + "enum": [ + "odata" + ] + }, + "text": { + "type": "string" + } + }, + "required": [ + "type", + "text" + ], + "type": "object" + } + ] + } + }, + "required": [ + "version", + "filter" + ], + "type": "object" + } + ] + } + }, + "required": [ + "id", + "ownerId", + "name", + "createdAt", + "updatedAt", + "source" + ], + "type": "object" + }, + "type": "array" + }, + { + "items": { + "properties": { + "id": { + "type": "string" + }, + "ownerId": { + "type": "string" + }, + "name": { + "type": "string" + }, + "createdAt": { + "type": "number" + }, + "createdFrom": { + "type": "string", + "enum": [ + "self-served", + "integration" + ] + }, + "updatedAt": { + "type": "number" + }, + "projectIds": { + "items": { + "type": "string" + }, + "type": "array" + }, + "schemas": { + "properties": { + "log": { + "type": "object" + }, + "trace": { + "type": "object" + }, + "analytics": { + "type": "object" + }, + "speed_insights": { + "type": "object" + } + }, + "type": "object" + }, + "delivery": { + "oneOf": [ + { + "properties": { + "type": { + "type": "string", + "enum": [ + "http" + ] + }, + "endpoint": { + "type": "string" + }, + "encoding": { + "type": "string", + "enum": [ + "json", + "ndjson" + ] + }, + "compression": { + "type": "string", + "enum": [ + "gzip", + "none" + ] + }, + "headers": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "secret": { + "type": "string" + } + }, + "required": [ + "type", + "endpoint", + "encoding", + "headers" + ], + "type": "object" + }, + { + "properties": { + "type": { + "type": "string", + "enum": [ + "otlphttp" + ] + }, + "endpoint": { + "properties": { + "traces": { + "type": "string" + } + }, + "required": [ + "traces" + ], + "type": "object" + }, + "encoding": { + "type": "string", + "enum": [ + "json", + "proto" + ] + }, + "headers": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "secret": { + "type": "string" + } + }, + "required": [ + "type", + "endpoint", + "encoding", + "headers" + ], + "type": "object" + }, + { + "properties": { + "type": { + "type": "string", + "enum": [ + "clickhouse" + ] + }, + "endpoint": { + "type": "string" + }, + "table": { + "type": "string" + } + }, + "required": [ + "type", + "endpoint", + "table" + ], + "type": "object" + }, + { + "properties": { + "type": { + "type": "string", + "enum": [ + "internal" + ] + }, + "target": { + "type": "string", + "enum": [ + "vercel-otel-traces-db" + ] + } + }, + "required": [ + "type", + "target" + ], + "type": "object" + } + ] + }, + "sampling": { + "items": { + "properties": { + "type": { + "type": "string", + "enum": [ + "head_sampling" + ] + }, + "rate": { + "type": "number" + }, + "env": { + "type": "string", + "enum": [ + "production", + "preview" + ] + }, + "requestPath": { + "type": "string" + } + }, + "required": [ + "type", + "rate" + ], + "type": "object" + }, + "type": "array" + }, + "teamId": { + "nullable": true, + "type": "string" + }, + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled", + "errored" + ] + }, + "disabledAt": { + "type": "number" + }, + "disabledReason": { + "type": "string", + "enum": [ + "disabled-by-owner", + "feature-not-available", + "account-plan-downgrade", + "disabled-by-admin" + ] + }, + "disabledBy": { + "type": "string" + }, + "firstErrorTimestamp": { + "type": "number" + }, + "configurationId": { + "type": "string" + }, + "clientId": { + "type": "string" + }, + "source": { + "oneOf": [ + { + "properties": { + "kind": { + "type": "string", + "enum": [ + "self-served" + ] + } + }, + "required": [ + "kind" + ], + "type": "object" + }, + { + "properties": { + "kind": { + "type": "string", + "enum": [ + "integration" + ] + }, + "resourceId": { + "type": "string" + }, + "externalResourceId": { + "type": "string" + }, + "integrationId": { + "type": "string" + }, + "integrationConfigurationId": { + "type": "string" + } + }, + "required": [ + "kind", + "integrationId", + "integrationConfigurationId" + ], + "type": "object" + } + ] + }, + "filter": { + "type": "string" + }, + "filterV2": { + "oneOf": [ + { + "properties": { + "version": { + "type": "string", + "enum": [ + "v1" + ] + } + }, + "required": [ + "version" + ], + "type": "object" + }, + { + "properties": { + "version": { + "type": "string", + "enum": [ + "v2" + ] + }, + "filter": { + "oneOf": [ + { + "properties": { + "type": { + "type": "string", + "enum": [ + "basic" + ] + }, + "project": { + "properties": { + "ids": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "log": { + "properties": { + "sources": { + "items": { + "type": "string", + "enum": [ + "build", + "edge", + "lambda", + "static", + "external", + "firewall", + "redirect" + ] + }, + "type": "array" + }, + "legacy_excludeCachedStaticAssetLogs": { + "type": "boolean" + } + }, + "type": "object" + }, + "deployment": { + "properties": { + "environments": { + "items": { + "type": "string", + "enum": [ + "production", + "preview" + ] + }, + "type": "array" + } + }, + "type": "object" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "properties": { + "type": { + "type": "string", + "enum": [ + "odata" + ] + }, + "text": { + "type": "string" + } + }, + "required": [ + "type", + "text" + ], + "type": "object" + } + ] + } + }, + "required": [ + "version", + "filter" + ], + "type": "object" + } + ] + }, + "integrationIcon": { + "type": "string" + }, + "integrationConfigurationUri": { + "type": "string" + }, + "integrationWebsite": { + "type": "string" + }, + "projectsMetadata": { + "items": { + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "framework": { + "nullable": true, + "type": "string", + "enum": [ + "blitzjs", + "nextjs", + "gatsby", + "remix", + "react-router", + "astro", + "hexo", + "eleventy", + "docusaurus-2", + "docusaurus", + "preact", + "solidstart-1", + "solidstart", + "dojo", + "ember", + "vue", + "scully", + "ionic-angular", + "angular", + "polymer", + "svelte", + "sveltekit", + "sveltekit-1", + "ionic-react", + "create-react-app", + "gridsome", + "umijs", + "sapper", + "saber", + "stencil", + "nuxtjs", + "redwoodjs", + "hugo", + "jekyll", + "brunch", + "middleman", + "zola", + "hydrogen", + "vite", + "tanstack-start", + "vitepress", + "vuepress", + "parcel", + "fastapi", + "flask", + "fasthtml", + "sanity-v3", + "sanity", + "storybook", + "nitro", + "hono", + "express", + "h3", + "nestjs", + "elysia", + "fastify", + "xmcp" + ] + }, + "latestDeployment": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "id", + "ownerId", + "name", + "createdAt", + "updatedAt", + "source" + ], + "type": "object" + }, + "type": "array" + } + ] + } + }, + "required": [ + "drains" + ], + "type": "object" + }, + { + "items": { + "type": "object", + "properties": { + "projectsMetadata": { + "nullable": true, + "items": { + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "framework": { + "nullable": true, + "type": "string", + "enum": [ + "blitzjs", + "nextjs", + "gatsby", + "remix", + "react-router", + "astro", + "hexo", + "eleventy", + "docusaurus-2", + "docusaurus", + "preact", + "solidstart-1", + "solidstart", + "dojo", + "ember", + "vue", + "scully", + "ionic-angular", + "angular", + "polymer", + "svelte", + "sveltekit", + "sveltekit-1", + "ionic-react", + "create-react-app", + "gridsome", + "umijs", + "sapper", + "saber", + "stencil", + "nuxtjs", + "redwoodjs", + "hugo", + "jekyll", + "brunch", + "middleman", + "zola", + "hydrogen", + "vite", + "tanstack-start", + "vitepress", + "vuepress", + "parcel", + "fastapi", + "flask", + "fasthtml", + "sanity-v3", + "sanity", + "storybook", + "nitro", + "hono", + "express", + "h3", + "nestjs", + "elysia", + "fastify", + "xmcp" + ] + }, + "latestDeployment": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "type": "object" + }, + "type": "array" + }, + "integrationIcon": { + "type": "string" + }, + "integrationConfigurationUri": { + "type": "string" + }, + "integrationWebsite": { + "type": "string" + } + } + }, + "type": "array" + } + ] + } + } + } + }, + "400": { + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "description": "The request is not authorized.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } + }, + "403": { + "description": "You do not have permission to access this resource." + }, + "404": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + } + }, + "parameters": [ + { + "name": "projectId", + "in": "query", + "schema": { + "type": "string" + } + }, + { + "name": "includeMetadata", + "in": "query", + "schema": { + "type": "boolean", + "default": false + } + }, + { + "name": "projectIdOrName", + "in": "query", + "schema": { + "type": "string" + } + }, + { + "description": "The Team identifier to perform the request on behalf of.", + "in": "query", + "name": "teamId", + "schema": { + "type": "string", + "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" + } + }, + { + "description": "The Team slug to perform the request on behalf of.", + "in": "query", + "name": "slug", + "schema": { + "type": "string", + "example": "my-team-url-slug" + } + } + ] + }, + "post": { + "description": "Creates a configurable log drain. This endpoint must be called with a team AccessToken (integration OAuth2 clients are not allowed)", + "operationId": "createConfigurableLogDrain", + "security": [ + { + "bearerToken": [] + } + ], + "summary": "Creates a Configurable Log Drain (deprecated)", + "tags": [ + "logDrains" + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + }, + "400": { + "description": "One of the provided values in the request body is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "description": "The request is not authorized.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } + }, + "403": { + "description": "You do not have permission to access this resource." + } + }, + "parameters": [ + { + "description": "The Team identifier to perform the request on behalf of.", + "in": "query", + "name": "teamId", + "schema": { + "type": "string", + "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" + } + }, + { + "description": "The Team slug to perform the request on behalf of.", + "in": "query", + "name": "slug", + "schema": { + "type": "string", + "example": "my-team-url-slug" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": false, + "required": [ + "deliveryFormat", + "url", + "sources" + ], + "properties": { + "deliveryFormat": { + "description": "The delivery log format", + "example": "json", + "enum": [ + "json", + "ndjson" + ] + }, + "url": { + "description": "The log drain url", + "format": "uri", + "pattern": "^(http|https)?://", + "type": "string" + }, + "headers": { + "description": "Headers to be sent together with the request", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "projectIds": { + "minItems": 1, + "maxItems": 50, + "type": "array", + "items": { + "pattern": "^[a-zA-z0-9_]+$", + "type": "string" + } + }, + "sources": { + "type": "array", + "uniqueItems": true, + "items": { + "type": "string", + "enum": [ + "static", + "lambda", + "build", + "edge", + "external", + "firewall" + ] + }, + "minItems": 1 + }, + "environments": { + "type": "array", + "uniqueItems": true, + "items": { + "type": "string", + "enum": [ + "preview", + "production" + ] + }, + "minItems": 1 + }, + "secret": { + "description": "Custom secret of log drain", + "type": "string" + }, + "samplingRate": { + "type": "number", + "description": "The sampling rate for this log drain. It should be a percentage rate between 0 and 100. With max 2 decimal points", + "minimum": 0.01, + "maximum": 1, + "multipleOf": 0.01 + }, + "name": { + "type": "string", + "description": "The custom name of this log drain." + } + } + } + } + }, + "required": true + } + } + }, + "/v1/drains": { + "post": { + "description": "Create a new Drain with the provided configuration.", + "operationId": "createDrain", + "security": [ + { + "bearerToken": [] + } + ], + "summary": "Create a new Drain", + "tags": [ + "drains" + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "properties": { + "id": { + "type": "string" + }, + "ownerId": { + "type": "string" + }, + "name": { + "type": "string" + }, + "createdAt": { + "type": "number" + }, + "createdFrom": { + "type": "string", + "enum": [ + "self-served", + "integration" + ] + }, + "updatedAt": { + "type": "number" + }, + "projectIds": { + "items": { + "type": "string" + }, + "type": "array" + }, + "schemas": { + "properties": { + "log": { + "type": "object" + }, + "trace": { + "type": "object" + }, + "analytics": { + "type": "object" + }, + "speed_insights": { + "type": "object" + } + }, + "type": "object" + }, + "delivery": { + "oneOf": [ + { + "properties": { + "type": { + "type": "string", + "enum": [ + "http" + ] + }, + "endpoint": { + "type": "string" + }, + "encoding": { + "type": "string", + "enum": [ + "json", + "ndjson" + ] + }, + "compression": { + "type": "string", + "enum": [ + "gzip", + "none" + ] + }, + "headers": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "secret": { + "type": "string" + } + }, + "required": [ + "type", + "endpoint", + "encoding", + "headers" + ], + "type": "object" + }, + { + "properties": { + "type": { + "type": "string", + "enum": [ + "otlphttp" + ] + }, + "endpoint": { + "properties": { + "traces": { + "type": "string" + } + }, + "required": [ + "traces" + ], + "type": "object" + }, + "encoding": { + "type": "string", + "enum": [ + "json", + "proto" + ] + }, + "headers": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "secret": { + "type": "string" + } + }, + "required": [ + "type", + "endpoint", + "encoding", + "headers" + ], + "type": "object" + }, + { + "properties": { + "type": { + "type": "string", + "enum": [ + "clickhouse" + ] + }, + "endpoint": { + "type": "string" + }, + "table": { + "type": "string" + } + }, + "required": [ + "type", + "endpoint", + "table" + ], + "type": "object" + }, + { + "properties": { + "type": { + "type": "string", + "enum": [ + "internal" + ] + }, + "target": { + "type": "string", + "enum": [ + "vercel-otel-traces-db" + ] + } + }, + "required": [ + "type", + "target" + ], + "type": "object" + } + ] + }, + "sampling": { + "items": { + "properties": { + "type": { + "type": "string", + "enum": [ + "head_sampling" + ] + }, + "rate": { + "type": "number" + }, + "env": { + "type": "string", + "enum": [ + "production", + "preview" + ] + }, + "requestPath": { + "type": "string" + } + }, + "required": [ + "type", + "rate" + ], + "type": "object" + }, + "type": "array" + }, + "teamId": { + "nullable": true, + "type": "string" + }, + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled", + "errored" + ] + }, + "disabledAt": { + "type": "number" + }, + "disabledReason": { + "type": "string", + "enum": [ + "disabled-by-owner", + "feature-not-available", + "account-plan-downgrade", + "disabled-by-admin" + ] + }, + "disabledBy": { + "type": "string" + }, + "firstErrorTimestamp": { + "type": "number" + }, + "configurationId": { + "type": "string" + }, + "clientId": { + "type": "string" + }, + "source": { + "oneOf": [ + { + "properties": { + "kind": { + "type": "string", + "enum": [ + "self-served" + ] + } + }, + "required": [ + "kind" + ], + "type": "object" + }, + { + "properties": { + "kind": { + "type": "string", + "enum": [ + "integration" + ] + }, + "resourceId": { + "type": "string" + }, + "externalResourceId": { + "type": "string" + }, + "integrationId": { + "type": "string" + }, + "integrationConfigurationId": { + "type": "string" + } + }, + "required": [ + "kind", + "integrationId", + "integrationConfigurationId" + ], + "type": "object" + } + ] + }, + "filter": { + "type": "string" + }, + "filterV2": { + "oneOf": [ + { + "properties": { + "version": { + "type": "string", + "enum": [ + "v1" + ] + } + }, + "required": [ + "version" + ], + "type": "object" + }, + { + "properties": { + "version": { + "type": "string", + "enum": [ + "v2" + ] + }, + "filter": { + "oneOf": [ + { + "properties": { + "type": { + "type": "string", + "enum": [ + "basic" + ] + }, + "project": { + "properties": { + "ids": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "log": { + "properties": { + "sources": { + "items": { + "type": "string", + "enum": [ + "build", + "edge", + "lambda", + "static", + "external", + "firewall", + "redirect" + ] + }, + "type": "array" + }, + "legacy_excludeCachedStaticAssetLogs": { + "type": "boolean" + } + }, + "type": "object" + }, + "deployment": { + "properties": { + "environments": { + "items": { + "type": "string", + "enum": [ + "production", + "preview" + ] + }, + "type": "array" + } + }, + "type": "object" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "properties": { + "type": { + "type": "string", + "enum": [ + "odata" + ] + }, + "text": { + "type": "string" + } + }, + "required": [ + "type", + "text" + ], + "type": "object" + } + ] + } + }, + "required": [ + "version", + "filter" + ], + "type": "object" + } + ] + } + }, + "required": [ + "id", + "ownerId", + "name", + "createdAt", + "updatedAt", + "source" + ], + "type": "object" + }, + { + "properties": { + "id": { + "type": "string" + }, + "ownerId": { + "type": "string" + }, + "name": { + "type": "string" + }, + "createdAt": { + "type": "number" + }, + "createdFrom": { + "type": "string", + "enum": [ + "self-served", + "integration" + ] + }, + "updatedAt": { + "type": "number" + }, + "projectIds": { + "items": { + "type": "string" + }, + "type": "array" + }, + "schemas": { + "properties": { + "log": { + "type": "object" + }, + "trace": { + "type": "object" + }, + "analytics": { + "type": "object" + }, + "speed_insights": { + "type": "object" + } + }, + "type": "object" + }, + "delivery": { + "oneOf": [ + { + "properties": { + "type": { + "type": "string", + "enum": [ + "http" + ] + }, + "endpoint": { + "type": "string" + }, + "encoding": { + "type": "string", + "enum": [ + "json", + "ndjson" + ] + }, + "compression": { + "type": "string", + "enum": [ + "gzip", + "none" + ] + }, + "headers": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "secret": { + "type": "string" + } + }, + "required": [ + "type", + "endpoint", + "encoding", + "headers" + ], + "type": "object" + }, + { + "properties": { + "type": { + "type": "string", + "enum": [ + "otlphttp" + ] + }, + "endpoint": { + "properties": { + "traces": { + "type": "string" + } + }, + "required": [ + "traces" + ], + "type": "object" + }, + "encoding": { + "type": "string", + "enum": [ + "json", + "proto" + ] + }, + "headers": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "secret": { + "type": "string" + } + }, + "required": [ + "type", + "endpoint", + "encoding", + "headers" + ], + "type": "object" + }, + { + "properties": { + "type": { + "type": "string", + "enum": [ + "clickhouse" + ] + }, + "endpoint": { + "type": "string" + }, + "table": { + "type": "string" + } + }, + "required": [ + "type", + "endpoint", + "table" + ], + "type": "object" + }, + { + "properties": { + "type": { + "type": "string", + "enum": [ + "internal" + ] + }, + "target": { + "type": "string", + "enum": [ + "vercel-otel-traces-db" + ] + } + }, + "required": [ + "type", + "target" + ], + "type": "object" + } + ] + }, + "sampling": { + "items": { + "properties": { + "type": { + "type": "string", + "enum": [ + "head_sampling" + ] + }, + "rate": { + "type": "number" + }, + "env": { + "type": "string", + "enum": [ + "production", + "preview" + ] + }, + "requestPath": { + "type": "string" + } + }, + "required": [ + "type", + "rate" + ], + "type": "object" + }, + "type": "array" + }, + "teamId": { + "nullable": true, + "type": "string" + }, + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled", + "errored" + ] + }, + "disabledAt": { + "type": "number" + }, + "disabledReason": { + "type": "string", + "enum": [ + "disabled-by-owner", + "feature-not-available", + "account-plan-downgrade", + "disabled-by-admin" + ] + }, + "disabledBy": { + "type": "string" + }, + "firstErrorTimestamp": { + "type": "number" + }, + "configurationId": { + "type": "string" + }, + "clientId": { + "type": "string" + }, + "source": { + "oneOf": [ + { + "properties": { + "kind": { + "type": "string", + "enum": [ + "self-served" + ] + } + }, + "required": [ + "kind" + ], + "type": "object" + }, + { + "properties": { + "kind": { + "type": "string", + "enum": [ + "integration" + ] + }, + "resourceId": { + "type": "string" + }, + "externalResourceId": { + "type": "string" + }, + "integrationId": { + "type": "string" + }, + "integrationConfigurationId": { + "type": "string" + } + }, + "required": [ + "kind", + "integrationId", + "integrationConfigurationId" + ], + "type": "object" + } + ] + }, + "filter": { + "type": "string" + }, + "filterV2": { + "oneOf": [ + { + "properties": { + "version": { + "type": "string", + "enum": [ + "v1" + ] + } + }, + "required": [ + "version" + ], + "type": "object" + }, + { + "properties": { + "version": { + "type": "string", + "enum": [ + "v2" + ] + }, + "filter": { + "oneOf": [ + { + "properties": { + "type": { + "type": "string", + "enum": [ + "basic" + ] + }, + "project": { + "properties": { + "ids": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "log": { + "properties": { + "sources": { + "items": { + "type": "string", + "enum": [ + "build", + "edge", + "lambda", + "static", + "external", + "firewall", + "redirect" + ] + }, + "type": "array" + }, + "legacy_excludeCachedStaticAssetLogs": { + "type": "boolean" + } + }, + "type": "object" + }, + "deployment": { + "properties": { + "environments": { + "items": { + "type": "string", + "enum": [ + "production", + "preview" + ] + }, + "type": "array" + } + }, + "type": "object" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "properties": { + "type": { + "type": "string", + "enum": [ + "odata" + ] + }, + "text": { + "type": "string" + } + }, + "required": [ + "type", + "text" + ], + "type": "object" + } + ] + } + }, + "required": [ + "version", + "filter" + ], + "type": "object" + } + ] + }, + "integrationIcon": { + "type": "string" + }, + "integrationConfigurationUri": { + "type": "string" + }, + "integrationWebsite": { + "type": "string" + }, + "projectsMetadata": { + "items": { + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "framework": { + "nullable": true, + "type": "string", + "enum": [ + "blitzjs", + "nextjs", + "gatsby", + "remix", + "react-router", + "astro", + "hexo", + "eleventy", + "docusaurus-2", + "docusaurus", + "preact", + "solidstart-1", + "solidstart", + "dojo", + "ember", + "vue", + "scully", + "ionic-angular", + "angular", + "polymer", + "svelte", + "sveltekit", + "sveltekit-1", + "ionic-react", + "create-react-app", + "gridsome", + "umijs", + "sapper", + "saber", + "stencil", + "nuxtjs", + "redwoodjs", + "hugo", + "jekyll", + "brunch", + "middleman", + "zola", + "hydrogen", + "vite", + "tanstack-start", + "vitepress", + "vuepress", + "parcel", + "fastapi", + "flask", + "fasthtml", + "sanity-v3", + "sanity", + "storybook", + "nitro", + "hono", + "express", + "h3", + "nestjs", + "elysia", + "fastify", + "xmcp" + ] + }, + "latestDeployment": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "id", + "ownerId", + "name", + "createdAt", + "updatedAt", + "source" + ], + "type": "object" + } + ] + } + } + } + }, + "400": { + "description": "One of the provided values in the request body is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "description": "The request is not authorized.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } + }, + "403": { + "description": "You do not have permission to access this resource." + } + }, + "parameters": [ + { + "description": "The Team identifier to perform the request on behalf of.", + "in": "query", + "name": "teamId", + "schema": { + "type": "string", + "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" + } + }, + { + "description": "The Team slug to perform the request on behalf of.", + "in": "query", + "name": "slug", + "schema": { + "type": "string", + "example": "my-team-url-slug" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": false, + "required": [ + "name", + "projects", + "schemas" + ], + "properties": { + "name": { + "type": "string" + }, + "projects": { + "type": "string", + "enum": [ + "some", + "all" + ] + }, + "projectIds": { + "type": "array", + "items": { + "type": "string" + } + }, + "filter": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "additionalProperties": false, + "required": [ + "version", + "filter" + ], + "properties": { + "version": { + "type": "string" + }, + "filter": { + "oneOf": [ + { + "type": "object", + "additionalProperties": false, + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string" + }, + "project": { + "type": "object", + "additionalProperties": false, + "properties": { + "ids": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "log": { + "type": "object", + "additionalProperties": false, + "properties": { + "sources": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "build", + "edge", + "lambda", + "static", + "external", + "firewall", + "redirect" + ] + } + } + } + }, + "deployment": { + "type": "object", + "additionalProperties": false, + "properties": { + "environments": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "production", + "preview" + ] + } + } + } + } + } + }, + { + "type": "object", + "additionalProperties": false, + "required": [ + "type", + "text" + ], + "properties": { + "type": { + "type": "string" + }, + "text": { + "type": "string" + } + } + } + ] + } + } + } + ] + }, + "schemas": { + "type": "object", + "additionalProperties": { + "type": "object", + "required": [ + "version" + ], + "properties": { + "version": { + "type": "string" + } + } + } + }, + "delivery": { + "type": "object", + "oneOf": [ + { + "type": "object", + "additionalProperties": false, + "required": [ + "type", + "endpoint", + "encoding", + "headers" + ], + "properties": { + "type": { + "type": "string" + }, + "endpoint": { + "type": "string" + }, + "compression": { + "type": "string", + "enum": [ + "gzip", + "none" + ] + }, + "encoding": { + "type": "string", + "enum": [ + "json", + "ndjson" + ] + }, + "headers": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "secret": { + "type": "string" + } + } + }, + { + "type": "object", + "additionalProperties": false, + "required": [ + "type", + "endpoint", + "encoding", + "headers" + ], + "properties": { + "type": { + "type": "string" + }, + "endpoint": { + "oneOf": [ + { + "type": "object", + "additionalProperties": false, + "required": [ + "traces" + ], + "properties": { + "traces": { + "type": "string" + } + } + } + ] + }, + "encoding": { + "type": "string", + "enum": [ + "proto", + "json" + ] + }, + "headers": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "secret": { + "type": "string" + } + } + } + ] + }, + "sampling": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": false, + "required": [ + "type", + "rate" + ], + "properties": { + "type": { + "type": "string" + }, + "rate": { + "type": "number", + "minimum": 0, + "maximum": 1, + "description": "Sampling rate from 0 to 1 (e.g., 0.1 for 10%)" + }, + "env": { + "type": "string", + "enum": [ + "production", + "preview" + ], + "description": "Environment to apply sampling to" + }, + "requestPath": { + "type": "string", + "description": "Request path prefix to apply the sampling rule to" + } + } + } + }, + "transforms": { + "type": "array", + "items": { + "type": "object", + "required": [ + "id" + ], + "properties": { + "id": { + "type": "string" + } + } + } + }, + "source": { + "type": "object", + "oneOf": [ + { + "oneOf": [ + { + "properties": { + "kind": { + "type": "string", + "default": "integration" + }, + "externalResourceId": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "externalResourceId" + ] + }, + { + "properties": { + "kind": { + "type": "string", + "default": "integration" + }, + "resourceId": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "resourceId" + ] + }, + { + "properties": { + "kind": { + "type": "string", + "default": "integration" + } + }, + "additionalProperties": false, + "required": [ + "kind" + ] + } + ] + }, + { + "properties": { + "kind": { + "type": "string", + "default": "self-served" + } + }, + "additionalProperties": false, + "required": [ + "kind" + ] + } + ] + } + } + } + } + } + } + }, + "get": { + "description": "Allows to retrieve the list of Drains of the authenticated team.", + "operationId": "getDrains", + "security": [ + { + "bearerToken": [] + } + ], + "summary": "Retrieve a list of all Drains", + "tags": [ + "drains" + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "properties": { + "drains": { + "oneOf": [ + { + "items": { + "properties": { + "id": { + "type": "string" + }, + "ownerId": { + "type": "string" + }, + "name": { + "type": "string" + }, + "createdAt": { + "type": "number" + }, + "createdFrom": { + "type": "string", + "enum": [ + "self-served", + "integration" + ] + }, + "updatedAt": { + "type": "number" + }, + "projectIds": { + "items": { + "type": "string" + }, + "type": "array" + }, + "schemas": { + "properties": { + "log": { + "type": "object" + }, + "trace": { + "type": "object" + }, + "analytics": { + "type": "object" + }, + "speed_insights": { + "type": "object" + } + }, + "type": "object" + }, + "delivery": { + "oneOf": [ + { + "properties": { + "type": { + "type": "string", + "enum": [ + "http" + ] + }, + "endpoint": { + "type": "string" + }, + "encoding": { + "type": "string", + "enum": [ + "json", + "ndjson" + ] + }, + "compression": { + "type": "string", + "enum": [ + "gzip", + "none" + ] + }, + "headers": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "secret": { + "type": "string" + } + }, + "required": [ + "type", + "endpoint", + "encoding", + "headers" + ], + "type": "object" + }, + { + "properties": { + "type": { + "type": "string", + "enum": [ + "otlphttp" + ] + }, + "endpoint": { + "properties": { + "traces": { + "type": "string" + } + }, + "required": [ + "traces" + ], + "type": "object" + }, + "encoding": { + "type": "string", + "enum": [ + "json", + "proto" + ] + }, + "headers": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "secret": { + "type": "string" + } + }, + "required": [ + "type", + "endpoint", + "encoding", + "headers" + ], + "type": "object" + }, + { + "properties": { + "type": { + "type": "string", + "enum": [ + "clickhouse" + ] + }, + "endpoint": { + "type": "string" + }, + "table": { + "type": "string" + } + }, + "required": [ + "type", + "endpoint", + "table" + ], + "type": "object" + }, + { + "properties": { + "type": { + "type": "string", + "enum": [ + "internal" + ] + }, + "target": { + "type": "string", + "enum": [ + "vercel-otel-traces-db" + ] + } + }, + "required": [ + "type", + "target" + ], + "type": "object" + } + ] + }, + "sampling": { + "items": { + "properties": { + "type": { + "type": "string", + "enum": [ + "head_sampling" + ] + }, + "rate": { + "type": "number" + }, + "env": { + "type": "string", + "enum": [ + "production", + "preview" + ] + }, + "requestPath": { + "type": "string" + } + }, + "required": [ + "type", + "rate" + ], + "type": "object" + }, + "type": "array" + }, + "teamId": { + "nullable": true, + "type": "string" + }, + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled", + "errored" + ] + }, + "disabledAt": { + "type": "number" + }, + "disabledReason": { + "type": "string", + "enum": [ + "disabled-by-owner", + "feature-not-available", + "account-plan-downgrade", + "disabled-by-admin" + ] + }, + "disabledBy": { + "type": "string" + }, + "firstErrorTimestamp": { + "type": "number" + }, + "configurationId": { + "type": "string" + }, + "clientId": { + "type": "string" + }, + "source": { + "oneOf": [ + { + "properties": { + "kind": { + "type": "string", + "enum": [ + "self-served" + ] + } + }, + "required": [ + "kind" + ], + "type": "object" + }, + { + "properties": { + "kind": { + "type": "string", + "enum": [ + "integration" + ] + }, + "resourceId": { + "type": "string" + }, + "externalResourceId": { + "type": "string" + }, + "integrationId": { + "type": "string" + }, + "integrationConfigurationId": { + "type": "string" + } + }, + "required": [ + "kind", + "integrationId", + "integrationConfigurationId" + ], + "type": "object" + } + ] + }, + "filter": { + "type": "string" + }, + "filterV2": { + "oneOf": [ + { + "properties": { + "version": { + "type": "string", + "enum": [ + "v1" + ] + } + }, + "required": [ + "version" + ], + "type": "object" + }, + { + "properties": { + "version": { + "type": "string", + "enum": [ + "v2" + ] + }, + "filter": { + "oneOf": [ + { + "properties": { + "type": { + "type": "string", + "enum": [ + "basic" + ] + }, + "project": { + "properties": { + "ids": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "log": { + "properties": { + "sources": { + "items": { + "type": "string", + "enum": [ + "build", + "edge", + "lambda", + "static", + "external", + "firewall", + "redirect" + ] + }, + "type": "array" + }, + "legacy_excludeCachedStaticAssetLogs": { + "type": "boolean" + } + }, + "type": "object" + }, + "deployment": { + "properties": { + "environments": { + "items": { + "type": "string", + "enum": [ + "production", + "preview" + ] + }, + "type": "array" + } + }, + "type": "object" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "properties": { + "type": { + "type": "string", + "enum": [ + "odata" + ] + }, + "text": { + "type": "string" + } + }, + "required": [ + "type", + "text" + ], + "type": "object" + } + ] + } + }, + "required": [ + "version", + "filter" + ], + "type": "object" + } + ] + } + }, + "required": [ + "id", + "ownerId", + "name", + "createdAt", + "updatedAt", + "source" + ], + "type": "object" + }, + "type": "array" + }, + { + "items": { + "properties": { + "id": { + "type": "string" + }, + "ownerId": { + "type": "string" + }, + "name": { + "type": "string" + }, + "createdAt": { + "type": "number" + }, + "createdFrom": { + "type": "string", + "enum": [ + "self-served", + "integration" + ] + }, + "updatedAt": { + "type": "number" + }, + "projectIds": { + "items": { + "type": "string" + }, + "type": "array" + }, + "schemas": { + "properties": { + "log": { + "type": "object" + }, + "trace": { + "type": "object" + }, + "analytics": { + "type": "object" + }, + "speed_insights": { + "type": "object" + } + }, + "type": "object" + }, + "delivery": { + "oneOf": [ + { + "properties": { + "type": { + "type": "string", + "enum": [ + "http" + ] + }, + "endpoint": { + "type": "string" + }, + "encoding": { + "type": "string", + "enum": [ + "json", + "ndjson" + ] + }, + "compression": { + "type": "string", + "enum": [ + "gzip", + "none" + ] + }, + "headers": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "secret": { + "type": "string" + } + }, + "required": [ + "type", + "endpoint", + "encoding", + "headers" + ], + "type": "object" + }, + { + "properties": { + "type": { + "type": "string", + "enum": [ + "otlphttp" + ] + }, + "endpoint": { + "properties": { + "traces": { + "type": "string" + } + }, + "required": [ + "traces" + ], + "type": "object" + }, + "encoding": { + "type": "string", + "enum": [ + "json", + "proto" + ] + }, + "headers": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "secret": { + "type": "string" + } + }, + "required": [ + "type", + "endpoint", + "encoding", + "headers" + ], + "type": "object" + }, + { + "properties": { + "type": { + "type": "string", + "enum": [ + "clickhouse" + ] + }, + "endpoint": { + "type": "string" + }, + "table": { + "type": "string" + } + }, + "required": [ + "type", + "endpoint", + "table" + ], + "type": "object" + }, + { + "properties": { + "type": { + "type": "string", + "enum": [ + "internal" + ] + }, + "target": { + "type": "string", + "enum": [ + "vercel-otel-traces-db" + ] + } + }, + "required": [ + "type", + "target" + ], + "type": "object" + } + ] + }, + "sampling": { + "items": { + "properties": { + "type": { + "type": "string", + "enum": [ + "head_sampling" + ] + }, + "rate": { + "type": "number" + }, + "env": { + "type": "string", + "enum": [ + "production", + "preview" + ] + }, + "requestPath": { + "type": "string" + } + }, + "required": [ + "type", + "rate" + ], + "type": "object" + }, + "type": "array" + }, + "teamId": { + "nullable": true, + "type": "string" + }, + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled", + "errored" + ] + }, + "disabledAt": { + "type": "number" + }, + "disabledReason": { + "type": "string", + "enum": [ + "disabled-by-owner", + "feature-not-available", + "account-plan-downgrade", + "disabled-by-admin" + ] + }, + "disabledBy": { + "type": "string" + }, + "firstErrorTimestamp": { + "type": "number" + }, + "configurationId": { + "type": "string" + }, + "clientId": { + "type": "string" + }, + "source": { + "oneOf": [ + { + "properties": { + "kind": { + "type": "string", + "enum": [ + "self-served" + ] + } + }, + "required": [ + "kind" + ], + "type": "object" + }, + { + "properties": { + "kind": { + "type": "string", + "enum": [ + "integration" + ] + }, + "resourceId": { + "type": "string" + }, + "externalResourceId": { + "type": "string" + }, + "integrationId": { + "type": "string" + }, + "integrationConfigurationId": { + "type": "string" + } + }, + "required": [ + "kind", + "integrationId", + "integrationConfigurationId" + ], + "type": "object" + } + ] + }, + "filter": { + "type": "string" + }, + "filterV2": { + "oneOf": [ + { + "properties": { + "version": { + "type": "string", + "enum": [ + "v1" + ] + } + }, + "required": [ + "version" + ], + "type": "object" + }, + { + "properties": { + "version": { + "type": "string", + "enum": [ + "v2" + ] + }, + "filter": { + "oneOf": [ + { + "properties": { + "type": { + "type": "string", + "enum": [ + "basic" + ] + }, + "project": { + "properties": { + "ids": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "log": { + "properties": { + "sources": { + "items": { + "type": "string", + "enum": [ + "build", + "edge", + "lambda", + "static", + "external", + "firewall", + "redirect" + ] + }, + "type": "array" + }, + "legacy_excludeCachedStaticAssetLogs": { + "type": "boolean" + } + }, + "type": "object" + }, + "deployment": { + "properties": { + "environments": { + "items": { + "type": "string", + "enum": [ + "production", + "preview" + ] + }, + "type": "array" + } + }, + "type": "object" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "properties": { + "type": { + "type": "string", + "enum": [ + "odata" + ] + }, + "text": { + "type": "string" + } + }, + "required": [ + "type", + "text" + ], + "type": "object" + } + ] + } + }, + "required": [ + "version", + "filter" + ], + "type": "object" + } + ] + }, + "integrationIcon": { + "type": "string" + }, + "integrationConfigurationUri": { + "type": "string" + }, + "integrationWebsite": { + "type": "string" + }, + "projectsMetadata": { + "items": { + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "framework": { + "nullable": true, + "type": "string", + "enum": [ + "blitzjs", + "nextjs", + "gatsby", + "remix", + "react-router", + "astro", + "hexo", + "eleventy", + "docusaurus-2", + "docusaurus", + "preact", + "solidstart-1", + "solidstart", + "dojo", + "ember", + "vue", + "scully", + "ionic-angular", + "angular", + "polymer", + "svelte", + "sveltekit", + "sveltekit-1", + "ionic-react", + "create-react-app", + "gridsome", + "umijs", + "sapper", + "saber", + "stencil", + "nuxtjs", + "redwoodjs", + "hugo", + "jekyll", + "brunch", + "middleman", + "zola", + "hydrogen", + "vite", + "tanstack-start", + "vitepress", + "vuepress", + "parcel", + "fastapi", + "flask", + "fasthtml", + "sanity-v3", + "sanity", + "storybook", + "nitro", + "hono", + "express", + "h3", + "nestjs", + "elysia", + "fastify", + "xmcp" + ] + }, + "latestDeployment": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "id", + "ownerId", + "name", + "createdAt", + "updatedAt", + "source" + ], + "type": "object" + }, + "type": "array" + } + ] + } + }, + "required": [ + "drains" + ], + "type": "object" + } + } + } + }, + "400": { + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "description": "The request is not authorized.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } + }, + "403": { + "description": "You do not have permission to access this resource." + }, + "404": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + } + }, + "parameters": [ + { + "name": "projectId", + "in": "query", + "schema": { + "type": "string" + } + }, + { + "name": "includeMetadata", + "in": "query", + "schema": { + "type": "boolean", + "default": false + } + }, + { + "description": "The Team identifier to perform the request on behalf of.", + "in": "query", + "name": "teamId", + "schema": { + "type": "string", + "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" + } + }, + { + "description": "The Team slug to perform the request on behalf of.", + "in": "query", + "name": "slug", + "schema": { + "type": "string", + "example": "my-team-url-slug" + } + } + ] + } + }, + "/v1/drains/{id}": { + "delete": { + "description": "Delete a specific Drain by passing the drain id in the URL.", + "operationId": "deleteDrain", + "security": [ + { + "bearerToken": [] + } + ], + "summary": "Delete a drain", + "tags": [ + "drains" + ], + "responses": { + "204": { + "description": "" + }, + "400": { + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "description": "The request is not authorized.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } + }, + "403": { + "description": "You do not have permission to access this resource." + }, + "404": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "description": "The Team identifier to perform the request on behalf of.", + "in": "query", + "name": "teamId", + "schema": { + "type": "string", + "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" + } + }, + { + "description": "The Team slug to perform the request on behalf of.", + "in": "query", + "name": "slug", + "schema": { + "type": "string", + "example": "my-team-url-slug" + } + } + ] + }, + "get": { + "description": "Get the information for a specific Drain by passing the drain id in the URL.", + "operationId": "getDrain", + "security": [ + { + "bearerToken": [] + } + ], + "summary": "Find a Drain by id", + "tags": [ + "drains" + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "properties": { + "id": { + "type": "string" + }, + "ownerId": { + "type": "string" + }, + "name": { + "type": "string" + }, + "createdAt": { + "type": "number" + }, + "createdFrom": { + "type": "string", + "enum": [ + "self-served", + "integration" + ] + }, + "updatedAt": { + "type": "number" + }, + "projectIds": { + "items": { + "type": "string" + }, + "type": "array" + }, + "schemas": { + "properties": { + "log": { + "type": "object" + }, + "trace": { + "type": "object" + }, + "analytics": { + "type": "object" + }, + "speed_insights": { + "type": "object" + } + }, + "type": "object" + }, + "delivery": { + "oneOf": [ + { + "properties": { + "type": { + "type": "string", + "enum": [ + "http" + ] + }, + "endpoint": { + "type": "string" + }, + "encoding": { + "type": "string", + "enum": [ + "json", + "ndjson" + ] + }, + "compression": { + "type": "string", + "enum": [ + "gzip", + "none" + ] + }, + "headers": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "secret": { + "type": "string" + } + }, + "required": [ + "type", + "endpoint", + "encoding", + "headers" + ], + "type": "object" + }, + { + "properties": { + "type": { + "type": "string", + "enum": [ + "otlphttp" + ] + }, + "endpoint": { + "properties": { + "traces": { + "type": "string" + } + }, + "required": [ + "traces" + ], + "type": "object" + }, + "encoding": { + "type": "string", + "enum": [ + "json", + "proto" + ] + }, + "headers": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "secret": { + "type": "string" + } + }, + "required": [ + "type", + "endpoint", + "encoding", + "headers" + ], + "type": "object" + }, + { + "properties": { + "type": { + "type": "string", + "enum": [ + "clickhouse" + ] + }, + "endpoint": { + "type": "string" + }, + "table": { + "type": "string" + } + }, + "required": [ + "type", + "endpoint", + "table" + ], + "type": "object" + }, + { + "properties": { + "type": { + "type": "string", + "enum": [ + "internal" + ] + }, + "target": { + "type": "string", + "enum": [ + "vercel-otel-traces-db" + ] + } + }, + "required": [ + "type", + "target" + ], + "type": "object" + } + ] + }, + "sampling": { + "items": { + "properties": { + "type": { + "type": "string", + "enum": [ + "head_sampling" + ] + }, + "rate": { + "type": "number" + }, + "env": { + "type": "string", + "enum": [ + "production", + "preview" + ] + }, + "requestPath": { + "type": "string" + } + }, + "required": [ + "type", + "rate" + ], + "type": "object" + }, + "type": "array" + }, + "teamId": { + "nullable": true, + "type": "string" + }, + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled", + "errored" + ] + }, + "disabledAt": { + "type": "number" + }, + "disabledReason": { + "type": "string", + "enum": [ + "disabled-by-owner", + "feature-not-available", + "account-plan-downgrade", + "disabled-by-admin" + ] + }, + "disabledBy": { + "type": "string" + }, + "firstErrorTimestamp": { + "type": "number" + }, + "configurationId": { + "type": "string" + }, + "clientId": { + "type": "string" + }, + "source": { + "oneOf": [ + { + "properties": { + "kind": { + "type": "string", + "enum": [ + "self-served" + ] + } + }, + "required": [ + "kind" + ], + "type": "object" + }, + { + "properties": { + "kind": { + "type": "string", + "enum": [ + "integration" + ] + }, + "resourceId": { + "type": "string" + }, + "externalResourceId": { + "type": "string" + }, + "integrationId": { + "type": "string" + }, + "integrationConfigurationId": { + "type": "string" + } + }, + "required": [ + "kind", + "integrationId", + "integrationConfigurationId" + ], + "type": "object" + } + ] + }, + "filter": { + "type": "string" + }, + "filterV2": { + "oneOf": [ + { + "properties": { + "version": { + "type": "string", + "enum": [ + "v1" + ] + } + }, + "required": [ + "version" + ], + "type": "object" + }, + { + "properties": { + "version": { + "type": "string", + "enum": [ + "v2" + ] + }, + "filter": { + "oneOf": [ + { + "properties": { + "type": { + "type": "string", + "enum": [ + "basic" + ] + }, + "project": { + "properties": { + "ids": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "log": { + "properties": { + "sources": { + "items": { + "type": "string", + "enum": [ + "build", + "edge", + "lambda", + "static", + "external", + "firewall", + "redirect" + ] + }, + "type": "array" + }, + "legacy_excludeCachedStaticAssetLogs": { + "type": "boolean" + } + }, + "type": "object" + }, + "deployment": { + "properties": { + "environments": { + "items": { + "type": "string", + "enum": [ + "production", + "preview" + ] + }, + "type": "array" + } + }, + "type": "object" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "properties": { + "type": { + "type": "string", + "enum": [ + "odata" + ] + }, + "text": { + "type": "string" + } + }, + "required": [ + "type", + "text" + ], + "type": "object" + } + ] + } + }, + "required": [ + "version", + "filter" + ], + "type": "object" + } + ] + } + }, + "required": [ + "id", + "ownerId", + "name", + "createdAt", + "updatedAt", + "source" + ], + "type": "object" + }, + { + "properties": { + "id": { + "type": "string" + }, + "ownerId": { + "type": "string" + }, + "name": { + "type": "string" + }, + "createdAt": { + "type": "number" + }, + "createdFrom": { + "type": "string", + "enum": [ + "self-served", + "integration" + ] + }, + "updatedAt": { + "type": "number" + }, + "projectIds": { + "items": { + "type": "string" + }, + "type": "array" + }, + "schemas": { + "properties": { + "log": { + "type": "object" + }, + "trace": { + "type": "object" + }, + "analytics": { + "type": "object" + }, + "speed_insights": { + "type": "object" + } + }, + "type": "object" + }, + "delivery": { + "oneOf": [ + { + "properties": { + "type": { + "type": "string", + "enum": [ + "http" + ] + }, + "endpoint": { + "type": "string" + }, + "encoding": { + "type": "string", + "enum": [ + "json", + "ndjson" + ] + }, + "compression": { + "type": "string", + "enum": [ + "gzip", + "none" + ] + }, + "headers": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "secret": { + "type": "string" + } + }, + "required": [ + "type", + "endpoint", + "encoding", + "headers" + ], + "type": "object" + }, + { + "properties": { + "type": { + "type": "string", + "enum": [ + "otlphttp" + ] + }, + "endpoint": { + "properties": { + "traces": { + "type": "string" + } + }, + "required": [ + "traces" + ], + "type": "object" + }, + "encoding": { + "type": "string", + "enum": [ + "json", + "proto" + ] + }, + "headers": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "secret": { + "type": "string" + } + }, + "required": [ + "type", + "endpoint", + "encoding", + "headers" + ], + "type": "object" + }, + { + "properties": { + "type": { + "type": "string", + "enum": [ + "clickhouse" + ] + }, + "endpoint": { + "type": "string" + }, + "table": { + "type": "string" + } + }, + "required": [ + "type", + "endpoint", + "table" + ], + "type": "object" + }, + { + "properties": { + "type": { + "type": "string", + "enum": [ + "internal" + ] + }, + "target": { + "type": "string", + "enum": [ + "vercel-otel-traces-db" + ] + } + }, + "required": [ + "type", + "target" + ], + "type": "object" + } + ] + }, + "sampling": { + "items": { + "properties": { + "type": { + "type": "string", + "enum": [ + "head_sampling" + ] + }, + "rate": { + "type": "number" + }, + "env": { + "type": "string", + "enum": [ + "production", + "preview" + ] + }, + "requestPath": { + "type": "string" + } + }, + "required": [ + "type", + "rate" + ], + "type": "object" + }, + "type": "array" + }, + "teamId": { + "nullable": true, + "type": "string" + }, + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled", + "errored" + ] + }, + "disabledAt": { + "type": "number" + }, + "disabledReason": { + "type": "string", + "enum": [ + "disabled-by-owner", + "feature-not-available", + "account-plan-downgrade", + "disabled-by-admin" + ] + }, + "disabledBy": { + "type": "string" + }, + "firstErrorTimestamp": { + "type": "number" + }, + "configurationId": { + "type": "string" + }, + "clientId": { + "type": "string" + }, + "source": { + "oneOf": [ + { + "properties": { + "kind": { + "type": "string", + "enum": [ + "self-served" + ] + } + }, + "required": [ + "kind" + ], + "type": "object" + }, + { + "properties": { + "kind": { + "type": "string", + "enum": [ + "integration" + ] + }, + "resourceId": { + "type": "string" + }, + "externalResourceId": { + "type": "string" + }, + "integrationId": { + "type": "string" + }, + "integrationConfigurationId": { + "type": "string" + } + }, + "required": [ + "kind", + "integrationId", + "integrationConfigurationId" + ], + "type": "object" + } + ] + }, + "filter": { + "type": "string" + }, + "filterV2": { + "oneOf": [ + { + "properties": { + "version": { + "type": "string", + "enum": [ + "v1" + ] + } + }, + "required": [ + "version" + ], + "type": "object" + }, + { + "properties": { + "version": { + "type": "string", + "enum": [ + "v2" + ] + }, + "filter": { + "oneOf": [ + { + "properties": { + "type": { + "type": "string", + "enum": [ + "basic" + ] + }, + "project": { + "properties": { + "ids": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "log": { + "properties": { + "sources": { + "items": { + "type": "string", + "enum": [ + "build", + "edge", + "lambda", + "static", + "external", + "firewall", + "redirect" + ] + }, + "type": "array" + }, + "legacy_excludeCachedStaticAssetLogs": { + "type": "boolean" + } + }, + "type": "object" + }, + "deployment": { + "properties": { + "environments": { + "items": { + "type": "string", + "enum": [ + "production", + "preview" + ] + }, + "type": "array" + } + }, + "type": "object" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "properties": { + "type": { + "type": "string", + "enum": [ + "odata" + ] + }, + "text": { + "type": "string" + } + }, + "required": [ + "type", + "text" + ], + "type": "object" + } + ] + } + }, + "required": [ + "version", + "filter" + ], + "type": "object" + } + ] + }, + "integrationIcon": { + "type": "string" + }, + "integrationConfigurationUri": { + "type": "string" + }, + "integrationWebsite": { + "type": "string" + }, + "projectsMetadata": { + "items": { + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "framework": { + "nullable": true, + "type": "string", + "enum": [ + "blitzjs", + "nextjs", + "gatsby", + "remix", + "react-router", + "astro", + "hexo", + "eleventy", + "docusaurus-2", + "docusaurus", + "preact", + "solidstart-1", + "solidstart", + "dojo", + "ember", + "vue", + "scully", + "ionic-angular", + "angular", + "polymer", + "svelte", + "sveltekit", + "sveltekit-1", + "ionic-react", + "create-react-app", + "gridsome", + "umijs", + "sapper", + "saber", + "stencil", + "nuxtjs", + "redwoodjs", + "hugo", + "jekyll", + "brunch", + "middleman", + "zola", + "hydrogen", + "vite", + "tanstack-start", + "vitepress", + "vuepress", + "parcel", + "fastapi", + "flask", + "fasthtml", + "sanity-v3", + "sanity", + "storybook", + "nitro", + "hono", + "express", + "h3", + "nestjs", + "elysia", + "fastify", + "xmcp" + ] + }, + "latestDeployment": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "id", + "ownerId", + "name", + "createdAt", + "updatedAt", + "source" + ], + "type": "object" + } + ] + } + } + } + }, + "400": { + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "description": "The request is not authorized.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } + }, + "403": { + "description": "You do not have permission to access this resource." + }, + "404": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "description": "The Team identifier to perform the request on behalf of.", + "in": "query", + "name": "teamId", + "schema": { + "type": "string", + "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" + } + }, + { + "description": "The Team slug to perform the request on behalf of.", + "in": "query", + "name": "slug", + "schema": { + "type": "string", + "example": "my-team-url-slug" + } + } + ] + }, + "patch": { + "description": "Update the configuration of an existing drain.", + "operationId": "updateDrain", + "security": [ + { + "bearerToken": [] + } + ], + "summary": "Update an existing Drain", + "tags": [ + "drains" + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "properties": { + "id": { + "type": "string" + }, + "ownerId": { + "type": "string" + }, + "name": { + "type": "string" + }, + "createdAt": { + "type": "number" + }, + "createdFrom": { + "type": "string", + "enum": [ + "self-served", + "integration" + ] + }, + "updatedAt": { + "type": "number" + }, + "projectIds": { + "items": { + "type": "string" + }, + "type": "array" + }, + "schemas": { + "properties": { + "log": { + "type": "object" + }, + "trace": { + "type": "object" + }, + "analytics": { + "type": "object" + }, + "speed_insights": { + "type": "object" + } + }, + "type": "object" + }, + "delivery": { + "oneOf": [ + { + "properties": { + "type": { + "type": "string", + "enum": [ + "http" + ] + }, + "endpoint": { + "type": "string" + }, + "encoding": { + "type": "string", + "enum": [ + "json", + "ndjson" + ] + }, + "compression": { + "type": "string", + "enum": [ + "gzip", + "none" + ] + }, + "headers": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "secret": { + "type": "string" + } + }, + "required": [ + "type", + "endpoint", + "encoding", + "headers" + ], + "type": "object" + }, + { + "properties": { + "type": { + "type": "string", + "enum": [ + "otlphttp" + ] + }, + "endpoint": { + "properties": { + "traces": { + "type": "string" + } + }, + "required": [ + "traces" + ], + "type": "object" + }, + "encoding": { + "type": "string", + "enum": [ + "json", + "proto" + ] + }, + "headers": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "secret": { + "type": "string" + } + }, + "required": [ + "type", + "endpoint", + "encoding", + "headers" + ], + "type": "object" + }, + { + "properties": { + "type": { + "type": "string", + "enum": [ + "clickhouse" + ] + }, + "endpoint": { + "type": "string" + }, + "table": { + "type": "string" + } + }, + "required": [ + "type", + "endpoint", + "table" + ], + "type": "object" + }, + { + "properties": { + "type": { + "type": "string", + "enum": [ + "internal" + ] + }, + "target": { + "type": "string", + "enum": [ + "vercel-otel-traces-db" + ] + } + }, + "required": [ + "type", + "target" + ], + "type": "object" + } + ] + }, + "sampling": { + "items": { + "properties": { + "type": { + "type": "string", + "enum": [ + "head_sampling" + ] + }, + "rate": { + "type": "number" + }, + "env": { + "type": "string", + "enum": [ + "production", + "preview" + ] + }, + "requestPath": { + "type": "string" + } + }, + "required": [ + "type", + "rate" + ], + "type": "object" + }, + "type": "array" + }, + "teamId": { + "nullable": true, + "type": "string" + }, + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled", + "errored" + ] + }, + "disabledAt": { + "type": "number" + }, + "disabledReason": { + "type": "string", + "enum": [ + "disabled-by-owner", + "feature-not-available", + "account-plan-downgrade", + "disabled-by-admin" + ] + }, + "disabledBy": { + "type": "string" + }, + "firstErrorTimestamp": { + "type": "number" + }, + "configurationId": { + "type": "string" + }, + "clientId": { + "type": "string" + }, + "source": { + "oneOf": [ + { + "properties": { + "kind": { + "type": "string", + "enum": [ + "self-served" + ] + } + }, + "required": [ + "kind" + ], + "type": "object" + }, + { + "properties": { + "kind": { + "type": "string", + "enum": [ + "integration" + ] + }, + "resourceId": { + "type": "string" + }, + "externalResourceId": { + "type": "string" + }, + "integrationId": { + "type": "string" + }, + "integrationConfigurationId": { + "type": "string" + } + }, + "required": [ + "kind", + "integrationId", + "integrationConfigurationId" + ], + "type": "object" + } + ] + }, + "filter": { + "type": "string" + }, + "filterV2": { + "oneOf": [ + { + "properties": { + "version": { + "type": "string", + "enum": [ + "v1" + ] + } + }, + "required": [ + "version" + ], + "type": "object" + }, + { + "properties": { + "version": { + "type": "string", + "enum": [ + "v2" + ] + }, + "filter": { + "oneOf": [ + { + "properties": { + "type": { + "type": "string", + "enum": [ + "basic" + ] + }, + "project": { + "properties": { + "ids": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "log": { + "properties": { + "sources": { + "items": { + "type": "string", + "enum": [ + "build", + "edge", + "lambda", + "static", + "external", + "firewall", + "redirect" + ] + }, + "type": "array" + }, + "legacy_excludeCachedStaticAssetLogs": { + "type": "boolean" + } + }, + "type": "object" + }, + "deployment": { + "properties": { + "environments": { + "items": { + "type": "string", + "enum": [ + "production", + "preview" + ] + }, + "type": "array" + } + }, + "type": "object" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "properties": { + "type": { + "type": "string", + "enum": [ + "odata" + ] + }, + "text": { + "type": "string" + } + }, + "required": [ + "type", + "text" + ], + "type": "object" + } + ] + } + }, + "required": [ + "version", + "filter" + ], + "type": "object" + } + ] + } + }, + "required": [ + "id", + "ownerId", + "name", + "createdAt", + "updatedAt", + "source" + ], + "type": "object" + }, + { + "properties": { + "id": { + "type": "string" + }, + "ownerId": { + "type": "string" + }, + "name": { + "type": "string" + }, + "createdAt": { + "type": "number" + }, + "createdFrom": { + "type": "string", + "enum": [ + "self-served", + "integration" + ] + }, + "updatedAt": { + "type": "number" + }, + "projectIds": { + "items": { + "type": "string" + }, + "type": "array" + }, + "schemas": { + "properties": { + "log": { + "type": "object" + }, + "trace": { + "type": "object" + }, + "analytics": { + "type": "object" + }, + "speed_insights": { + "type": "object" + } + }, + "type": "object" + }, + "delivery": { + "oneOf": [ + { + "properties": { + "type": { + "type": "string", + "enum": [ + "http" + ] + }, + "endpoint": { + "type": "string" + }, + "encoding": { + "type": "string", + "enum": [ + "json", + "ndjson" + ] + }, + "compression": { + "type": "string", + "enum": [ + "gzip", + "none" + ] + }, + "headers": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "secret": { + "type": "string" + } + }, + "required": [ + "type", + "endpoint", + "encoding", + "headers" + ], + "type": "object" + }, + { + "properties": { + "type": { + "type": "string", + "enum": [ + "otlphttp" + ] + }, + "endpoint": { + "properties": { + "traces": { + "type": "string" + } + }, + "required": [ + "traces" + ], + "type": "object" + }, + "encoding": { + "type": "string", + "enum": [ + "json", + "proto" + ] + }, + "headers": { + "additionalProperties": { + "type": "string" + }, + "type": "object" + }, + "secret": { + "type": "string" + } + }, + "required": [ + "type", + "endpoint", + "encoding", + "headers" + ], + "type": "object" + }, + { + "properties": { + "type": { + "type": "string", + "enum": [ + "clickhouse" + ] + }, + "endpoint": { + "type": "string" + }, + "table": { + "type": "string" + } + }, + "required": [ + "type", + "endpoint", + "table" + ], + "type": "object" + }, + { + "properties": { + "type": { + "type": "string", + "enum": [ + "internal" + ] + }, + "target": { + "type": "string", + "enum": [ + "vercel-otel-traces-db" + ] + } + }, + "required": [ + "type", + "target" + ], + "type": "object" + } + ] + }, + "sampling": { + "items": { + "properties": { + "type": { + "type": "string", + "enum": [ + "head_sampling" + ] + }, + "rate": { + "type": "number" + }, + "env": { + "type": "string", + "enum": [ + "production", + "preview" + ] + }, + "requestPath": { + "type": "string" + } + }, + "required": [ + "type", + "rate" + ], + "type": "object" + }, + "type": "array" + }, + "teamId": { + "nullable": true, + "type": "string" + }, + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled", + "errored" + ] + }, + "disabledAt": { + "type": "number" + }, + "disabledReason": { + "type": "string", + "enum": [ + "disabled-by-owner", + "feature-not-available", + "account-plan-downgrade", + "disabled-by-admin" + ] + }, + "disabledBy": { + "type": "string" + }, + "firstErrorTimestamp": { + "type": "number" + }, + "configurationId": { + "type": "string" + }, + "clientId": { + "type": "string" + }, + "source": { + "oneOf": [ + { + "properties": { + "kind": { + "type": "string", + "enum": [ + "self-served" + ] + } + }, + "required": [ + "kind" + ], + "type": "object" + }, + { + "properties": { + "kind": { + "type": "string", + "enum": [ + "integration" + ] + }, + "resourceId": { + "type": "string" + }, + "externalResourceId": { + "type": "string" + }, + "integrationId": { + "type": "string" + }, + "integrationConfigurationId": { + "type": "string" + } + }, + "required": [ + "kind", + "integrationId", + "integrationConfigurationId" + ], + "type": "object" + } + ] + }, + "filter": { + "type": "string" + }, + "filterV2": { + "oneOf": [ + { + "properties": { + "version": { + "type": "string", + "enum": [ + "v1" + ] + } + }, + "required": [ + "version" + ], + "type": "object" + }, + { + "properties": { + "version": { + "type": "string", + "enum": [ + "v2" + ] + }, + "filter": { + "oneOf": [ + { + "properties": { + "type": { + "type": "string", + "enum": [ + "basic" + ] + }, + "project": { + "properties": { + "ids": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "type": "object" + }, + "log": { + "properties": { + "sources": { + "items": { + "type": "string", + "enum": [ + "build", + "edge", + "lambda", + "static", + "external", + "firewall", + "redirect" + ] + }, + "type": "array" + }, + "legacy_excludeCachedStaticAssetLogs": { + "type": "boolean" + } + }, + "type": "object" + }, + "deployment": { + "properties": { + "environments": { + "items": { + "type": "string", + "enum": [ + "production", + "preview" + ] + }, + "type": "array" + } + }, + "type": "object" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + { + "properties": { + "type": { + "type": "string", + "enum": [ + "odata" + ] + }, + "text": { + "type": "string" + } + }, + "required": [ + "type", + "text" + ], + "type": "object" + } + ] + } + }, + "required": [ + "version", + "filter" + ], + "type": "object" + } + ] + }, + "integrationIcon": { + "type": "string" + }, + "integrationConfigurationUri": { + "type": "string" + }, + "integrationWebsite": { + "type": "string" + }, + "projectsMetadata": { + "items": { + "properties": { + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "framework": { + "nullable": true, + "type": "string", + "enum": [ + "blitzjs", + "nextjs", + "gatsby", + "remix", + "react-router", + "astro", + "hexo", + "eleventy", + "docusaurus-2", + "docusaurus", + "preact", + "solidstart-1", + "solidstart", + "dojo", + "ember", + "vue", + "scully", + "ionic-angular", + "angular", + "polymer", + "svelte", + "sveltekit", + "sveltekit-1", + "ionic-react", + "create-react-app", + "gridsome", + "umijs", + "sapper", + "saber", + "stencil", + "nuxtjs", + "redwoodjs", + "hugo", + "jekyll", + "brunch", + "middleman", + "zola", + "hydrogen", + "vite", + "tanstack-start", + "vitepress", + "vuepress", + "parcel", + "fastapi", + "flask", + "fasthtml", + "sanity-v3", + "sanity", + "storybook", + "nitro", + "hono", + "express", + "h3", + "nestjs", + "elysia", + "fastify", + "xmcp" + ] + }, + "latestDeployment": { + "type": "string" + } + }, + "required": [ + "id", + "name" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "id", + "ownerId", + "name", + "createdAt", + "updatedAt", + "source" + ], + "type": "object" + } + ] + } + } + } + }, + "400": { + "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": { + "description": "The request is not authorized.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } + }, + "403": { + "description": "You do not have permission to access this resource." + }, + "404": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "description": "The Team identifier to perform the request on behalf of.", + "in": "query", + "name": "teamId", + "schema": { + "type": "string", + "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" + } + }, + { + "description": "The Team slug to perform the request on behalf of.", + "in": "query", + "name": "slug", + "schema": { + "type": "string", + "example": "my-team-url-slug" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": false, + "properties": { + "name": { + "type": "string" + }, + "projects": { + "type": "string", + "enum": [ + "some", + "all" + ] + }, + "projectIds": { + "type": "array", + "items": { + "type": "string" + }, + "nullable": true + }, + "filter": { + "oneOf": [ + { + "type": "string", + "nullable": true + }, + { + "type": "object", + "additionalProperties": false, + "required": [ + "version", + "filter" + ], + "properties": { + "version": { + "type": "string" + }, + "filter": { + "oneOf": [ + { + "type": "object", + "additionalProperties": false, + "required": [ + "type" + ], + "properties": { + "type": { + "type": "string" + }, + "project": { + "type": "object", + "additionalProperties": false, + "properties": { + "ids": { + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "log": { + "type": "object", + "additionalProperties": false, + "properties": { + "sources": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "build", + "edge", + "lambda", + "static", + "external", + "firewall", + "redirect" + ] + } + } + } + }, + "deployment": { + "type": "object", + "additionalProperties": false, + "properties": { + "environments": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "production", + "preview" + ] + } + } + } + } + } + }, + { + "type": "object", + "additionalProperties": false, + "required": [ + "type", + "text" + ], + "properties": { + "type": { + "type": "string" + }, + "text": { + "type": "string" + } + } + } + ] + } + } + } + ] + }, + "schemas": { + "type": "object", + "additionalProperties": { + "type": "object", + "required": [ + "version" + ], + "properties": { + "version": { + "type": "string" + } + } + } + }, + "delivery": { + "type": "object", + "oneOf": [ + { + "type": "object", + "additionalProperties": false, + "required": [ + "type", + "endpoint", + "encoding", + "headers" + ], + "properties": { + "type": { + "type": "string" + }, + "endpoint": { + "type": "string" + }, + "compression": { + "type": "string", + "enum": [ + "gzip", + "none" + ] + }, + "encoding": { + "type": "string", + "enum": [ + "json", + "ndjson" + ] + }, + "headers": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "secret": { + "type": "string" + } + } + }, + { + "type": "object", + "additionalProperties": false, + "required": [ + "type", + "endpoint", + "encoding", + "headers" + ], + "properties": { + "type": { + "type": "string" + }, + "endpoint": { + "oneOf": [ + { + "type": "object", + "additionalProperties": false, + "required": [ + "traces" + ], + "properties": { + "traces": { + "type": "string" + } + } + } + ] + }, + "encoding": { + "type": "string", + "enum": [ + "proto", + "json" + ] + }, + "headers": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "secret": { + "type": "string" + } + } + } + ] + }, + "sampling": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": false, + "required": [ + "type", + "rate" + ], + "properties": { + "type": { + "type": "string" + }, + "rate": { + "type": "number", + "minimum": 0, + "maximum": 1, + "description": "Sampling rate from 0 to 1 (e.g., 0.1 for 10%)" + }, + "env": { + "type": "string", + "enum": [ + "production", + "preview" + ], + "description": "Environment to apply sampling to" + }, + "requestPath": { + "type": "string", + "description": "Request path prefix to apply the sampling rule to" + } + } + }, + "nullable": true + }, + "transforms": { + "type": "array", + "items": { + "type": "object", + "required": [ + "id" + ], + "properties": { + "id": { + "type": "string" + } + } + }, + "nullable": true + }, + "status": { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + }, + "source": { + "type": "object", + "oneOf": [ + { + "oneOf": [ + { + "properties": { + "kind": { + "type": "string", + "default": "integration" + }, + "externalResourceId": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "externalResourceId" + ] + }, + { + "properties": { + "kind": { + "type": "string", + "default": "integration" + }, + "resourceId": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "resourceId" + ] + }, + { + "properties": { + "kind": { + "type": "string", + "default": "integration" + } + }, + "additionalProperties": false, + "required": [ + "kind" + ] + } + ] + }, + { + "properties": { + "kind": { + "type": "string", + "default": "self-served" + } + }, + "additionalProperties": false, + "required": [ + "kind" + ] + } + ] + } + } + } + } + } + } + } + }, + "/v1/drains/test": { + "post": { + "description": "Validate the delivery configuration of a Drain using sample events.", + "operationId": "testDrain", + "security": [ + { + "bearerToken": [] + } + ], + "summary": "Validate Drain delivery configuration", + "tags": [ + "drains" + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "type": "object" + }, + { + "properties": { + "status": { + "type": "string" + }, + "error": { + "type": "string" + }, + "endpoint": { + "type": "string" + } + }, + "required": [ + "status", + "error", + "endpoint" + ], + "type": "object" + } + ] + } + } + } + }, + "400": { + "description": "One of the provided values in the request body is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "description": "The request is not authorized.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } + }, + "403": { + "description": "You do not have permission to access this resource." + } + }, + "parameters": [ + { + "description": "The Team identifier to perform the request on behalf of.", + "in": "query", + "name": "teamId", + "schema": { + "type": "string", + "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" + } + }, + { + "description": "The Team slug to perform the request on behalf of.", + "in": "query", + "name": "slug", + "schema": { + "type": "string", + "example": "my-team-url-slug" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": false, + "required": [ + "schemas", + "delivery" + ], + "properties": { + "schemas": { + "type": "object", + "additionalProperties": { + "type": "object", + "required": [ + "version" + ], + "properties": { + "version": { + "type": "string" + } + } + } + }, + "delivery": { + "type": "object", + "oneOf": [ + { + "type": "object", + "additionalProperties": false, + "required": [ + "type", + "endpoint", + "encoding", + "headers" + ], + "properties": { + "type": { + "type": "string" + }, + "endpoint": { + "type": "string" + }, + "compression": { + "type": "string", + "enum": [ + "gzip", + "none" + ] + }, + "encoding": { + "type": "string", + "enum": [ + "json", + "ndjson" + ] + }, + "headers": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "secret": { + "type": "string" + } + } + }, + { + "type": "object", + "additionalProperties": false, + "required": [ + "type", + "endpoint", + "encoding", + "headers" + ], + "properties": { + "type": { + "type": "string" + }, + "endpoint": { + "oneOf": [ + { + "type": "object", + "additionalProperties": false, + "required": [ + "traces" + ], + "properties": { + "traces": { + "type": "string" + } + } + } + ] + }, + "encoding": { + "type": "string", + "enum": [ + "proto", + "json" + ] + }, + "headers": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "secret": { + "type": "string" + } + } + } + ] + } + } + } + } + } + } + } + }, + "/v1/edge-cache/invalidate-by-tags": { + "post": { + "description": "Marks a cache tag as stale, causing cache entries associated with that tag to be revalidated in the background on the next request.", + "operationId": "invalidateByTags", + "security": [ + { + "bearerToken": [] + } + ], + "summary": "Invalidate by tag", + "tags": [ + "edge-cache" + ], + "responses": { + "200": { + "description": "" + }, + "400": { + "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": { + "description": "The request is not authorized.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } + }, + "403": { + "description": "You do not have permission to access this resource." + }, + "404": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + } + }, + "parameters": [ + { + "name": "projectIdOrName", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + }, + { + "description": "The Team identifier to perform the request on behalf of.", + "in": "query", + "name": "teamId", + "schema": { + "type": "string", + "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" + } + }, + { + "description": "The Team slug to perform the request on behalf of.", + "in": "query", + "name": "slug", + "schema": { + "type": "string", + "example": "my-team-url-slug" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "additionalProperties": false, + "type": "object", + "required": [ + "tags" + ], + "properties": { + "tags": { + "oneOf": [ + { + "items": { + "maxLength": 256, + "type": "string" + }, + "maxItems": 16, + "minItems": 1, + "type": "array" + }, + { + "maxLength": 8196, + "type": "string" + } + ] + }, + "target": { + "enum": [ + "production", + "preview" + ], + "type": "string" + } + } + } + } + } + } + } + }, + "/v1/edge-cache/dangerously-delete-by-tags": { + "post": { + "description": "Marks a cache tag as deleted, causing cache entries associated with that tag to be revalidated in the foreground on the next request. Use this method with caution because one tag can be associated with many paths and deleting the cache can cause many concurrent requests to the origin leading to cache stampede problem. A good use case for deleting the cache is when the origin has also been deleted, for example it returns a 404 or 410 status code.", + "operationId": "dangerouslyDeleteByTags", + "security": [ + { + "bearerToken": [] + } + ], + "summary": "Dangerously delete by tag", + "tags": [ + "edge-cache" + ], + "responses": { + "200": { + "description": "" + }, + "400": { + "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": { + "description": "The request is not authorized.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } + }, + "403": { + "description": "You do not have permission to access this resource." + }, + "404": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + } + }, + "parameters": [ + { + "name": "projectIdOrName", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + }, + { + "description": "The Team identifier to perform the request on behalf of.", + "in": "query", + "name": "teamId", + "schema": { + "type": "string", + "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" + } + }, + { + "description": "The Team slug to perform the request on behalf of.", + "in": "query", + "name": "slug", + "schema": { + "type": "string", + "example": "my-team-url-slug" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "additionalProperties": false, + "type": "object", + "required": [ + "tags" + ], + "properties": { + "revalidationDeadlineSeconds": { + "minimum": 0, + "type": "number" + }, + "tags": { + "oneOf": [ + { + "items": { + "maxLength": 256, + "type": "string" + }, + "maxItems": 16, + "minItems": 1, + "type": "array" + }, + { + "maxLength": 8196, + "type": "string" + } + ] + }, + "target": { + "enum": [ + "production", + "preview" + ], + "type": "string" + } + } + } + } + } + } + } + }, + "/v1/edge-config": { + "get": { + "description": "Returns all Edge Configs.", + "operationId": "getEdgeConfigs", + "security": [ + { + "bearerToken": [] + } + ], + "summary": "Get Edge Configs", + "tags": [ + "edge-config" + ], + "responses": { + "200": { + "description": "List of all edge configs.", + "content": { + "application/json": { + "schema": { + "type": "array", + "description": "List of all edge configs.", + "items": { + "properties": { + "id": { + "type": "string" + }, + "createdAt": { + "type": "number" + }, + "ownerId": { + "type": "string" + }, + "slug": { + "type": "string", + "description": "Name for the Edge Config Names are not unique. Must start with an alphabetic character and can contain only alphanumeric characters and underscores)." + }, + "updatedAt": { + "type": "number" + }, + "digest": { + "type": "string" + }, + "transfer": { + "properties": { + "fromAccountId": { + "type": "string" + }, + "startedAt": { + "type": "number" + }, + "doneAt": { + "nullable": true, + "type": "number" + } + }, + "required": [ + "fromAccountId", + "startedAt", + "doneAt" + ], + "type": "object", + "description": "Keeps track of the current state of the Edge Config while it gets transferred." + }, + "schema": { + "type": "object" + }, + "purpose": { + "properties": { + "type": { + "type": "string", + "enum": [ + "flags" + ] + }, + "projectId": { + "type": "string" + } + }, + "required": [ + "type", + "projectId" + ], + "type": "object" + }, + "sizeInBytes": { + "type": "number" + }, + "itemCount": { + "type": "number" + } + }, + "required": [ + "sizeInBytes", + "itemCount" + ] + } + } + } + } + }, + "400": { + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "description": "The request is not authorized.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } + }, + "403": { + "description": "You do not have permission to access this resource." + } + }, + "parameters": [ + { + "description": "The Team identifier to perform the request on behalf of.", + "in": "query", + "name": "teamId", + "schema": { + "type": "string", + "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" + } + }, + { + "description": "The Team slug to perform the request on behalf of.", + "in": "query", + "name": "slug", + "schema": { + "type": "string", + "example": "my-team-url-slug" + } + } + ] + }, + "post": { + "description": "Creates an Edge Config.", + "operationId": "createEdgeConfig", + "security": [ + { + "bearerToken": [] + } + ], + "summary": "Create an Edge Config", + "tags": [ + "edge-config" + ], + "responses": { + "201": { + "description": "", + "content": { + "application/json": { + "schema": { + "properties": { + "createdAt": { + "type": "number" + }, + "updatedAt": { + "type": "number" + }, + "deletedAt": { + "nullable": true, + "type": "number" + }, + "id": { + "type": "string" + }, + "slug": { + "type": "string", + "description": "Name for the Edge Config Names are not unique. Must start with an alphabetic character and can contain only alphanumeric characters and underscores)." + }, + "ownerId": { + "type": "string" + }, + "digest": { + "type": "string" + }, + "transfer": { + "properties": { + "fromAccountId": { + "type": "string" + }, + "startedAt": { + "type": "number" + }, + "doneAt": { + "nullable": true, + "type": "number" + } + }, + "required": [ + "fromAccountId", + "startedAt", + "doneAt" + ], + "type": "object", + "description": "Keeps track of the current state of the Edge Config while it gets transferred." + }, + "schema": { + "type": "object" + }, + "purpose": { + "oneOf": [ + { + "properties": { + "type": { + "type": "string", + "enum": [ + "flags" + ] + }, + "projectId": { + "type": "string" + } + }, + "required": [ + "type", + "projectId" + ], + "type": "object" + }, + { + "properties": { + "type": { + "type": "string", + "enum": [ + "experimentation" + ] + }, + "resourceId": { + "type": "string" + } + }, + "required": [ + "type", + "resourceId" + ], + "type": "object" + } + ] + }, + "syncedToDynamoAt": { + "type": "number", + "description": "Timestamp of when the Edge Config was synced to DynamoDB initially. It is only set when syncing the entire Edge Config, not when updating." + }, + "sizeInBytes": { + "type": "number" + }, + "itemCount": { + "type": "number" + } + }, + "required": [ + "createdAt", + "updatedAt", + "id", + "slug", + "ownerId", + "digest", + "sizeInBytes", + "itemCount" + ], + "type": "object", + "description": "An Edge Config" + } + } + } + }, + "400": { + "description": "One of the provided values in the request body is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "description": "The request is not authorized.", + "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" + }, + "403": { + "description": "You do not have permission to access this resource." + } + }, + "parameters": [ + { + "description": "The Team identifier to perform the request on behalf of.", + "in": "query", + "name": "teamId", + "schema": { + "type": "string", + "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" + } + }, + { + "description": "The Team slug to perform the request on behalf of.", + "in": "query", + "name": "slug", + "schema": { + "type": "string", + "example": "my-team-url-slug" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "slug" + ], + "properties": { + "slug": { + "maxLength": 64, + "pattern": "^[\\\\w-]+$", + "type": "string" + }, + "items": { + "type": "object", + "additionalProperties": {} + } + } + } + } + }, + "required": true + } + } + }, + "/v1/edge-config/{edgeConfigId}": { + "get": { + "description": "Returns an Edge Config.", + "operationId": "getEdgeConfig", + "security": [ + { + "bearerToken": [] + } + ], + "summary": "Get an Edge Config", + "tags": [ + "edge-config" + ], + "responses": { + "200": { + "description": "The EdgeConfig.", + "content": { + "application/json": { + "schema": { + "properties": { + "createdAt": { + "type": "number" + }, + "updatedAt": { + "type": "number" + }, + "deletedAt": { + "nullable": true, + "type": "number" + }, + "id": { + "type": "string" + }, + "slug": { + "type": "string", + "description": "Name for the Edge Config Names are not unique. Must start with an alphabetic character and can contain only alphanumeric characters and underscores)." + }, + "ownerId": { + "type": "string" + }, + "digest": { + "type": "string" + }, + "transfer": { + "properties": { + "fromAccountId": { + "type": "string" + }, + "startedAt": { + "type": "number" + }, + "doneAt": { + "nullable": true, + "type": "number" + } + }, + "required": [ + "fromAccountId", + "startedAt", + "doneAt" + ], + "type": "object", + "description": "Keeps track of the current state of the Edge Config while it gets transferred." + }, + "schema": { + "type": "object" + }, + "purpose": { + "oneOf": [ + { + "properties": { + "type": { + "type": "string", + "enum": [ + "flags" + ] + }, + "projectId": { + "type": "string" + } + }, + "required": [ + "type", + "projectId" + ], + "type": "object" + }, + { + "properties": { + "type": { + "type": "string", + "enum": [ + "experimentation" + ] + }, + "resourceId": { + "type": "string" + } + }, + "required": [ + "type", + "resourceId" + ], + "type": "object" + } + ] + }, + "syncedToDynamoAt": { + "type": "number", + "description": "Timestamp of when the Edge Config was synced to DynamoDB initially. It is only set when syncing the entire Edge Config, not when updating." + }, + "sizeInBytes": { + "type": "number" + }, + "itemCount": { + "type": "number" + } + }, + "required": [ + "createdAt", + "updatedAt", + "id", + "slug", + "ownerId", + "digest", + "sizeInBytes", + "itemCount" + ], + "type": "object", + "description": "The EdgeConfig." + } + } + } + }, + "400": { + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "description": "The request is not authorized.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } + }, + "403": { + "description": "You do not have permission to access this resource." + }, + "404": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + } + }, + "parameters": [ + { + "name": "edgeConfigId", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "description": "The Team identifier to perform the request on behalf of.", + "in": "query", + "name": "teamId", + "schema": { + "type": "string", + "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" + } + }, + { + "description": "The Team slug to perform the request on behalf of.", + "in": "query", + "name": "slug", + "schema": { + "type": "string", + "example": "my-team-url-slug" + } + } + ] + }, + "put": { + "description": "Updates an Edge Config.", + "operationId": "updateEdgeConfig", + "security": [ + { + "bearerToken": [] + } + ], + "summary": "Update an Edge Config", + "tags": [ + "edge-config" + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "properties": { + "createdAt": { + "type": "number" + }, + "updatedAt": { + "type": "number" + }, + "deletedAt": { + "nullable": true, + "type": "number" + }, + "id": { + "type": "string" + }, + "slug": { + "type": "string", + "description": "Name for the Edge Config Names are not unique. Must start with an alphabetic character and can contain only alphanumeric characters and underscores)." + }, + "ownerId": { + "type": "string" + }, + "digest": { + "type": "string" + }, + "transfer": { + "properties": { + "fromAccountId": { + "type": "string" + }, + "startedAt": { + "type": "number" + }, + "doneAt": { + "nullable": true, + "type": "number" + } + }, + "required": [ + "fromAccountId", + "startedAt", + "doneAt" + ], + "type": "object", + "description": "Keeps track of the current state of the Edge Config while it gets transferred." + }, + "schema": { + "type": "object" + }, + "purpose": { + "oneOf": [ + { + "properties": { + "type": { + "type": "string", + "enum": [ + "flags" + ] + }, + "projectId": { + "type": "string" + } + }, + "required": [ + "type", + "projectId" + ], + "type": "object" + }, + { + "properties": { + "type": { + "type": "string", + "enum": [ + "experimentation" + ] + }, + "resourceId": { + "type": "string" + } + }, + "required": [ + "type", + "resourceId" + ], + "type": "object" + } + ] + }, + "syncedToDynamoAt": { + "type": "number", + "description": "Timestamp of when the Edge Config was synced to DynamoDB initially. It is only set when syncing the entire Edge Config, not when updating." + }, + "sizeInBytes": { + "type": "number" + }, + "itemCount": { + "type": "number" + } + }, + "required": [ + "createdAt", + "updatedAt", + "id", + "slug", + "ownerId", + "digest", + "sizeInBytes", + "itemCount" + ], + "type": "object", + "description": "An Edge Config" + } + } + } + }, + "400": { + "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": { + "description": "The request is not authorized.", + "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" + }, + "403": { + "description": "You do not have permission to access this resource." + }, + "404": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + }, + "409": { + "description": "" + } + }, + "parameters": [ + { + "name": "edgeConfigId", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "description": "The Team identifier to perform the request on behalf of.", + "in": "query", + "name": "teamId", + "schema": { + "type": "string", + "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" + } + }, + { + "description": "The Team slug to perform the request on behalf of.", + "in": "query", + "name": "slug", + "schema": { + "type": "string", + "example": "my-team-url-slug" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "slug" + ], + "properties": { + "slug": { + "maxLength": 64, + "pattern": "^[\\\\w-]+$", + "type": "string" + } + } + } + } + }, + "required": true + } + }, + "delete": { + "description": "Delete an Edge Config by id.", + "operationId": "deleteEdgeConfig", + "security": [ + { + "bearerToken": [] + } + ], + "summary": "Delete an Edge Config", + "tags": [ + "edge-config" + ], + "responses": { + "204": { + "description": "" + }, + "400": { + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "description": "The request is not authorized.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } + }, + "403": { + "description": "You do not have permission to access this resource." + }, + "404": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + }, + "409": { + "description": "" + } + }, + "parameters": [ + { + "name": "edgeConfigId", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "description": "The Team identifier to perform the request on behalf of.", + "in": "query", + "name": "teamId", + "schema": { + "type": "string", + "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" + } + }, + { + "description": "The Team slug to perform the request on behalf of.", + "in": "query", + "name": "slug", + "schema": { + "type": "string", + "example": "my-team-url-slug" + } + } + ] + } + }, + "/v1/edge-config/{edgeConfigId}/items": { + "get": { + "description": "Returns all items of an Edge Config.", + "operationId": "getEdgeConfigItems", + "security": [ + { + "bearerToken": [] + } + ], + "summary": "Get Edge Config items", + "tags": [ + "edge-config" + ], + "responses": { + "200": { + "description": "List of all Edge Config items.", + "content": { + "application/json": { + "schema": { + "items": { + "$ref": "#/components/schemas/EdgeConfigItem" + }, + "type": "array" + } + } + } + }, + "400": { + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "description": "The request is not authorized.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } + }, + "403": { + "description": "You do not have permission to access this resource." + }, + "404": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + } + }, + "parameters": [ + { + "name": "edgeConfigId", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^ecfg_" + } + }, + { + "description": "The Team identifier to perform the request on behalf of.", + "in": "query", + "name": "teamId", + "schema": { + "type": "string", + "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" + } + }, + { + "description": "The Team slug to perform the request on behalf of.", + "in": "query", + "name": "slug", + "schema": { + "type": "string", + "example": "my-team-url-slug" + } + } + ] + }, + "patch": { + "description": "Update multiple Edge Config Items in batch.", + "operationId": "patchEdgeConfigItems", + "security": [ + { + "bearerToken": [] + } + ], + "summary": "Update Edge Config items in batch", + "tags": [ + "edge-config" + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "properties": { + "status": { + "type": "string" + } + }, + "required": [ + "status" + ], + "type": "object" + } + } + } + }, + "400": { + "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": { + "description": "The request is not authorized.", + "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" + }, + "403": { + "description": "You do not have permission to access this resource." + }, + "404": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + }, + "409": { + "description": "" + }, + "412": { + "description": "" + } + }, + "parameters": [ + { + "name": "edgeConfigId", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^ecfg_" + } + }, + { + "description": "The Team identifier to perform the request on behalf of.", + "in": "query", + "name": "teamId", + "schema": { + "type": "string", + "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" + } + }, + { + "description": "The Team slug to perform the request on behalf of.", + "in": "query", + "name": "slug", + "schema": { + "type": "string", + "example": "my-team-url-slug" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": false, + "required": [ + "items" + ], + "properties": { + "items": { + "type": "array", + "items": { + "oneOf": [ + { + "type": "object", + "properties": { + "operation": { + "enum": [ + "create", + "update", + "upsert", + "delete" + ] + }, + "key": { + "maxLength": 256, + "pattern": "^[\\\\w-]+$", + "type": "string" + }, + "value": { + "nullable": true + }, + "description": { + "oneOf": [ + { + "type": "string", + "maxLength": 512 + }, + {} + ], + "nullable": true + } + }, + "anyOf": [ + { + "properties": { + "operation": { + "type": "string", + "enum": [ + "create" + ] + } + }, + "required": [ + "operation", + "key", + "value" + ] + }, + { + "properties": { + "operation": { + "enum": [ + "update", + "upsert" + ] + } + }, + "required": [ + "operation", + "key", + "value" + ] + }, + { + "properties": { + "operation": { + "enum": [ + "update", + "upsert" + ] + } + }, + "required": [ + "operation", + "key", + "description" + ] + } + ] + } + ] + } + } + } + } + } + } + } + } + }, + "/v1/edge-config/{edgeConfigId}/schema": { + "get": { + "description": "Returns the schema of an Edge Config.", + "operationId": "getEdgeConfigSchema", + "security": [ + { + "bearerToken": [] + } + ], + "summary": "Get Edge Config schema", + "tags": [ + "edge-config" + ], + "responses": { + "200": { + "description": "The EdgeConfig.", + "content": { + "application/json": { + "schema": { + "nullable": true, + "type": "object", + "description": "The EdgeConfig." + } + } + } + }, + "400": { + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "description": "The request is not authorized.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } + }, + "403": { + "description": "You do not have permission to access this resource." + }, + "404": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + } + }, + "parameters": [ + { + "name": "edgeConfigId", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "description": "The Team identifier to perform the request on behalf of.", + "in": "query", + "name": "teamId", + "schema": { + "type": "string", + "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" + } + }, + { + "description": "The Team slug to perform the request on behalf of.", + "in": "query", + "name": "slug", + "schema": { + "type": "string", + "example": "my-team-url-slug" + } + } + ] + }, + "post": { + "description": "Update an Edge Config's schema.", + "operationId": "patchEdgeConfigSchema", + "security": [ + { + "bearerToken": [] + } + ], + "summary": "Update Edge Config schema", + "tags": [ + "edge-config" + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "nullable": true, + "type": "object", + "description": "The JSON schema uploaded by the user" + } + } + } + }, + "400": { + "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": { + "description": "The request is not authorized.", + "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" + }, + "403": { + "description": "You do not have permission to access this resource." + }, + "404": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + }, + "409": { + "description": "" + } + }, + "parameters": [ + { + "name": "edgeConfigId", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "dryRun", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "description": "The Team identifier to perform the request on behalf of.", + "in": "query", + "name": "teamId", + "schema": { + "type": "string", + "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" + } + }, + { + "description": "The Team slug to perform the request on behalf of.", + "in": "query", + "name": "slug", + "schema": { + "type": "string", + "example": "my-team-url-slug" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": false, + "required": [ + "definition" + ], + "properties": { + "definition": {} + } + } + } + }, + "required": true + } + }, + "delete": { + "description": "Deletes the schema of existing Edge Config.", + "operationId": "deleteEdgeConfigSchema", + "security": [ + { + "bearerToken": [] + } + ], + "summary": "Delete an Edge Config's schema", + "tags": [ + "edge-config" + ], + "responses": { + "204": { + "description": "" + }, + "400": { + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "description": "The request is not authorized.", + "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" + }, + "403": { + "description": "You do not have permission to access this resource." + }, + "404": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + }, + "409": { + "description": "" + } + }, + "parameters": [ + { + "name": "edgeConfigId", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "description": "The Team identifier to perform the request on behalf of.", + "in": "query", + "name": "teamId", + "schema": { + "type": "string", + "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" + } + }, + { + "description": "The Team slug to perform the request on behalf of.", + "in": "query", + "name": "slug", + "schema": { + "type": "string", + "example": "my-team-url-slug" + } + } + ] + } + }, + "/v1/edge-config/{edgeConfigId}/item/{edgeConfigItemKey}": { + "get": { + "description": "Returns a specific Edge Config Item.", + "operationId": "getEdgeConfigItem", + "security": [ + { + "bearerToken": [] + } + ], + "summary": "Get an Edge Config item", + "tags": [ + "edge-config" + ], + "responses": { + "200": { + "description": "The EdgeConfig.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/EdgeConfigItem" + } + } + } + }, + "400": { + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "description": "The request is not authorized.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } + }, + "403": { + "description": "You do not have permission to access this resource." + }, + "404": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + } + }, + "parameters": [ + { + "name": "edgeConfigId", + "in": "path", + "required": true, + "schema": { + "type": "string", + "pattern": "^ecfg_" + } + }, + { + "name": "edgeConfigItemKey", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "description": "The Team identifier to perform the request on behalf of.", + "in": "query", + "name": "teamId", + "schema": { + "type": "string", + "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" + } + }, + { + "description": "The Team slug to perform the request on behalf of.", + "in": "query", + "name": "slug", + "schema": { + "type": "string", + "example": "my-team-url-slug" + } + } + ] + } + }, + "/v1/edge-config/{edgeConfigId}/tokens": { + "get": { + "description": "Returns all tokens of an Edge Config.", + "operationId": "getEdgeConfigTokens", + "security": [ + { + "bearerToken": [] + } + ], + "summary": "Get all tokens of an Edge Config", + "tags": [ + "edge-config" + ], + "responses": { + "200": { + "description": "The EdgeConfig.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/EdgeConfigToken" + } + } + } + }, + "400": { + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "description": "The request is not authorized.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } + }, + "403": { + "description": "You do not have permission to access this resource." + }, + "404": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + } + }, + "parameters": [ + { + "name": "edgeConfigId", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "description": "The Team identifier to perform the request on behalf of.", + "in": "query", + "name": "teamId", + "schema": { + "type": "string", + "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" + } + }, + { + "description": "The Team slug to perform the request on behalf of.", + "in": "query", + "name": "slug", + "schema": { + "type": "string", + "example": "my-team-url-slug" + } + } + ] + }, + "delete": { + "description": "Deletes one or more tokens of an existing Edge Config.", + "operationId": "deleteEdgeConfigTokens", + "security": [ + { + "bearerToken": [] + } + ], + "summary": "Delete one or more Edge Config tokens", + "tags": [ + "edge-config" + ], + "responses": { + "204": { + "description": "" + }, + "400": { + "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": { + "description": "The request is not authorized.", + "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" + }, + "403": { + "description": "You do not have permission to access this resource." + }, + "404": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + }, + "409": { + "description": "" + } + }, + "parameters": [ + { + "name": "edgeConfigId", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "description": "The Team identifier to perform the request on behalf of.", + "in": "query", + "name": "teamId", + "schema": { + "type": "string", + "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" + } + }, + { + "description": "The Team slug to perform the request on behalf of.", + "in": "query", + "name": "slug", + "schema": { + "type": "string", + "example": "my-team-url-slug" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": false, + "required": [ + "tokens" + ], + "properties": { + "tokens": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + }, + "required": true + } + } + }, + "/v1/edge-config/{edgeConfigId}/token/{token}": { + "get": { + "description": "Return meta data about an Edge Config token.", + "operationId": "getEdgeConfigToken", + "security": [ + { + "bearerToken": [] + } + ], + "summary": "Get Edge Config token meta data", + "tags": [ + "edge-config" + ], + "responses": { + "200": { + "description": "The EdgeConfig.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/EdgeConfigToken" + } + } + } + }, + "400": { + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "description": "The request is not authorized.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } + }, + "403": { + "description": "You do not have permission to access this resource." + }, + "404": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + } + }, + "parameters": [ + { + "name": "edgeConfigId", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "token", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "description": "The Team identifier to perform the request on behalf of.", + "in": "query", + "name": "teamId", + "schema": { + "type": "string", + "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" + } + }, + { + "description": "The Team slug to perform the request on behalf of.", + "in": "query", + "name": "slug", + "schema": { + "type": "string", + "example": "my-team-url-slug" + } + } + ] + } + }, + "/v1/edge-config/{edgeConfigId}/token": { + "post": { + "description": "Adds a token to an existing Edge Config.", + "operationId": "createEdgeConfigToken", + "security": [ + { + "bearerToken": [] + } + ], + "summary": "Create an Edge Config token", + "tags": [ + "edge-config" + ], + "responses": { + "201": { + "description": "", + "content": { + "application/json": { + "schema": { + "properties": { + "token": { + "type": "string" + }, + "id": { + "type": "string" + } + }, + "required": [ + "token", + "id" + ], + "type": "object" + } + } + } + }, + "400": { + "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": { + "description": "The request is not authorized.", + "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" + }, + "403": { + "description": "You do not have permission to access this resource." + }, + "404": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + }, + "409": { + "description": "" + } + }, + "parameters": [ + { + "name": "edgeConfigId", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "description": "The Team identifier to perform the request on behalf of.", + "in": "query", + "name": "teamId", + "schema": { + "type": "string", + "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" + } + }, + { + "description": "The Team slug to perform the request on behalf of.", + "in": "query", + "name": "slug", + "schema": { + "type": "string", + "example": "my-team-url-slug" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": false, + "required": [ + "label" + ], + "properties": { + "label": { + "maxLength": 52, + "type": "string" + } + } + } + } + }, + "required": true + } + } + }, + "/v1/edge-config/{edgeConfigId}/backups/{edgeConfigBackupVersionId}": { + "get": { + "description": "Retrieves a specific version of an Edge Config from backup storage.", + "operationId": "getEdgeConfigBackup", + "security": [ + { + "bearerToken": [] + } + ], + "summary": "Get Edge Config backup", + "tags": [ + "edge-config" + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "oneOf": [ + { + "properties": { + "id": { + "type": "string" + }, + "lastModified": { + "type": "number" + }, + "backup": { + "properties": { + "digest": { + "type": "string" + }, + "items": { + "additionalProperties": { + "properties": { + "updatedAt": { + "type": "number" + }, + "value": { + "$ref": "#/components/schemas/EdgeConfigItemValue" + }, + "description": { + "type": "string" + }, + "createdAt": { + "type": "number" + } + }, + "required": [ + "updatedAt", + "value", + "createdAt" + ], + "type": "object" + }, + "type": "object" + }, + "slug": { + "type": "string", + "description": "Name for the Edge Config Names are not unique. Must start with an alphabetic character and can contain only alphanumeric characters and underscores)." + }, + "updatedAt": { + "type": "number" + } + }, + "required": [ + "digest", + "items", + "slug", + "updatedAt" + ], + "type": "object" + }, + "metadata": { + "properties": { + "updatedAt": { + "type": "string" + }, + "updatedBy": { + "type": "string" + }, + "itemsCount": { + "type": "number" + }, + "itemsBytes": { + "type": "number" + } + }, + "type": "object" + }, + "user": { + "properties": { + "id": { + "type": "string" + }, + "username": { + "type": "string" + }, + "email": { + "type": "string" + }, + "name": { + "type": "string" + }, + "avatar": { + "type": "string" + } + }, + "required": [ + "id", + "username", + "email" + ], + "type": "object" + } + }, + "required": [ + "id", + "lastModified", + "backup", + "metadata" + ], + "type": "object", + "description": "The object the API responds with when requesting an Edge Config backup" + }, + { + "properties": { + "user": { + "properties": { + "id": { + "type": "string" + }, + "username": { + "type": "string" + }, + "email": { + "type": "string" + }, + "name": { + "type": "string" + }, + "avatar": { + "type": "string" + } + }, + "required": [ + "id", + "username", + "email" + ], + "type": "object" + }, + "id": { + "type": "string" + }, + "lastModified": { + "type": "number" + }, + "backup": { + "properties": { + "digest": { + "type": "string" + }, + "items": { + "additionalProperties": { + "properties": { + "updatedAt": { + "type": "number" + }, + "value": { + "$ref": "#/components/schemas/EdgeConfigItemValue" + }, + "description": { + "type": "string" + }, + "createdAt": { + "type": "number" + } + }, + "required": [ + "updatedAt", + "value", + "createdAt" + ], + "type": "object" + }, + "type": "object" + }, + "slug": { + "type": "string", + "description": "Name for the Edge Config Names are not unique. Must start with an alphabetic character and can contain only alphanumeric characters and underscores)." + }, + "updatedAt": { + "type": "number" + } + }, + "required": [ + "digest", + "items", + "slug", + "updatedAt" + ], + "type": "object" + }, + "metadata": { + "properties": { + "updatedAt": { + "type": "string" + }, + "updatedBy": { + "type": "string" + }, + "itemsCount": { + "type": "number" + }, + "itemsBytes": { + "type": "number" + } + }, + "type": "object" + } + }, + "required": [ + "user", + "id", + "lastModified", + "backup", + "metadata" + ], + "type": "object" + } + ] + } + } + } + }, + "400": { + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "description": "The request is not authorized.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } + }, + "403": { + "description": "You do not have permission to access this resource." + }, + "404": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + } + }, + "parameters": [ + { + "name": "edgeConfigId", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "edgeConfigBackupVersionId", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "description": "The Team identifier to perform the request on behalf of.", + "in": "query", + "name": "teamId", + "schema": { + "type": "string", + "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" + } + }, + { + "description": "The Team slug to perform the request on behalf of.", + "in": "query", + "name": "slug", + "schema": { + "type": "string", + "example": "my-team-url-slug" + } + } + ], + "x-speakeasy-test": false + } + }, + "/v1/edge-config/{edgeConfigId}/backups": { + "get": { + "description": "Returns backups of an Edge Config.", + "operationId": "getEdgeConfigBackups", + "security": [ + { + "bearerToken": [] + } + ], + "summary": "Get Edge Config backups", + "tags": [ + "edge-config" + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "properties": { + "backups": { + "items": { + "properties": { + "metadata": { + "properties": { + "updatedAt": { + "type": "string" + }, + "updatedBy": { + "type": "string" + }, + "itemsCount": { + "type": "number" + }, + "itemsBytes": { + "type": "number" + } + }, + "type": "object" + }, + "id": { + "type": "string" + }, + "lastModified": { + "type": "number" + } + }, + "required": [ + "id", + "lastModified" + ], + "type": "object" + }, + "type": "array" + }, + "pagination": { + "properties": { + "hasNext": { + "type": "boolean" + }, + "next": { + "type": "string" + } + }, + "required": [ + "hasNext" + ], + "type": "object" + } + }, + "required": [ + "backups", + "pagination" + ], + "type": "object" + } + } + } + }, + "400": { + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "description": "The request is not authorized.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } + }, + "403": { + "description": "You do not have permission to access this resource." + }, + "404": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + } + }, + "parameters": [ + { + "name": "edgeConfigId", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "next", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "limit", + "in": "query", + "required": false, + "schema": { + "type": "number", + "minimum": 0, + "maximum": 50 + } + }, + { + "name": "metadata", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "description": "The Team identifier to perform the request on behalf of.", + "in": "query", + "name": "teamId", + "schema": { + "type": "string", + "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" + } + }, + { + "description": "The Team slug to perform the request on behalf of.", + "in": "query", + "name": "slug", + "schema": { + "type": "string", + "example": "my-team-url-slug" + } + } + ] + } + }, + "/v1/env": { + "post": { + "description": "Creates shared environment variable(s) for a team.", + "operationId": "createSharedEnvVariable", + "security": [ + { + "bearerToken": [] + } + ], + "summary": "Create one or more shared environment variables", + "tags": [ + "environment" + ], + "responses": { + "201": { + "description": "", + "content": { + "application/json": { + "schema": { + "properties": { + "created": { + "items": { + "properties": { + "created": { + "type": "string", + "format": "date-time", + "description": "The date when the Shared Env Var was created.", + "example": "2021-02-10T13:11:49.180Z" + }, + "key": { + "type": "string", + "description": "The name of the Shared Env Var.", + "example": "my-api-key" + }, + "ownerId": { + "nullable": true, + "type": "string", + "description": "The unique identifier of the owner (team) the Shared Env Var was created for.", + "example": "team_LLHUOMOoDlqOp8wPE4kFo9pE" + }, + "id": { + "type": "string", + "description": "The unique identifier of the Shared Env Var.", + "example": "env_XCG7t7AIHuO2SBA8667zNUiM" + }, + "createdBy": { + "nullable": true, + "type": "string", + "description": "The unique identifier of the user who created the Shared Env Var.", + "example": "2qDDuGFTWXBLDNnqZfWPDp1A" + }, + "deletedBy": { + "nullable": true, + "type": "string", + "description": "The unique identifier of the user who deleted the Shared Env Var.", + "example": "2qDDuGFTWXBLDNnqZfWPDp1A" + }, + "updatedBy": { + "nullable": true, + "type": "string", + "description": "The unique identifier of the user who last updated the Shared Env Var.", + "example": "2qDDuGFTWXBLDNnqZfWPDp1A" + }, + "createdAt": { + "type": "number", + "description": "Timestamp for when the Shared Env Var was created.", + "example": 1609492210000 + }, + "deletedAt": { + "type": "number", + "description": "Timestamp for when the Shared Env Var was (soft) deleted.", + "example": 1609492210000 + }, + "updatedAt": { + "type": "number", + "description": "Timestamp for when the Shared Env Var was last updated.", + "example": 1609492210000 + }, + "value": { + "type": "string", + "description": "The value of the Shared Env Var." + }, + "projectId": { + "items": { + "type": "string" + }, + "type": "array", + "description": "The unique identifiers of the projects which the Shared Env Var is linked to.", + "example": [ + "prj_2WjyKQmM8ZnGcJsPWMrHRHrE", + "prj_2WjyKQmM8ZnGcJsPWMrasEFg" + ] + }, + "type": { + "type": "string", + "enum": [ + "encrypted", + "sensitive", + "system", + "plain" + ], + "description": "The type of this cosmos doc instance, if blank, assume secret.", + "example": "encrypted" + }, + "target": { + "items": { + "type": "string", + "enum": [ + "production", + "preview", + "development" + ], + "description": "environments this env variable targets", + "example": "production" + }, + "type": "array", + "description": "environments this env variable targets", + "example": "production" + }, + "applyToAllCustomEnvironments": { + "type": "boolean", + "description": "whether or not this env varible applies to custom environments" + }, + "decrypted": { + "type": "boolean", + "description": "whether or not this env variable is decrypted" + }, + "comment": { + "type": "string", + "description": "A user provided comment that describes what this Shared Env Var is for." + }, + "lastEditedByDisplayName": { + "type": "string", + "description": "The last editor full name or username." + } + }, + "type": "object" + }, + "type": "array" + }, + "failed": { + "items": { + "properties": { + "error": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "key": { + "type": "string" + }, + "envVarId": { + "type": "string" + }, + "envVarKey": { + "type": "string" + }, + "action": { + "type": "string" + }, + "link": { + "type": "string" + }, + "value": { + "oneOf": [ + { + "type": "string" + }, + { + "items": { + "type": "string", + "enum": [ + "production", + "preview", + "development", + "preview", + "development" + ] + }, + "type": "array" + } + ] + }, + "gitBranch": { + "type": "string" + }, + "target": { + "oneOf": [ + { + "items": { + "type": "string", + "enum": [ + "production", + "preview", + "development", + "preview", + "development" + ] + }, + "type": "array" + }, + { + "type": "string", + "enum": [ + "production", + "preview", + "development", + "preview", + "development" + ] + } + ] + }, + "project": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + } + }, + "required": [ + "error" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "created", + "failed" + ], + "type": "object" + } + } + } + }, + "400": { + "description": "One of the provided values in the request body is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "description": "The request is not authorized.", + "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" + }, + "403": { + "description": "You do not have permission to access this resource." + } + }, + "parameters": [ + { + "description": "The Team identifier to perform the request on behalf of.", + "in": "query", + "name": "teamId", + "schema": { + "type": "string", + "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" + } + }, + { + "description": "The Team slug to perform the request on behalf of.", + "in": "query", + "name": "slug", + "schema": { + "type": "string", + "example": "my-team-url-slug" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "evs" + ], + "anyOf": [ + { + "required": [ + "target" + ] + }, + { + "required": [ + "applyToAllCustomEnvironments" + ] + } + ], + "properties": { + "evs": { + "type": "array", + "maximum": 50, + "minimum": 1, + "items": { + "type": "object", + "required": [ + "key", + "value" + ], + "properties": { + "key": { + "description": "The name of the Shared Environment Variable", + "type": "string", + "example": "API_URL" + }, + "value": { + "description": "The value of the Shared Environment Variable", + "type": "string", + "example": "https://api.vercel.com" + }, + "comment": { + "type": "string", + "description": "A comment to add context on what this Shared Environment Variable is for", + "example": "database connection string for production", + "maxLength": 500 + } + } + } + }, + "type": { + "description": "The type of environment variable", + "type": "string", + "enum": [ + "encrypted", + "sensitive" + ], + "example": "encrypted" + }, + "target": { + "description": "The target environment of the Shared Environment Variable", + "type": "array", + "items": { + "enum": [ + "production", + "preview", + "development" + ] + }, + "example": [ + "production", + "preview" + ] + }, + "projectId": { + "description": "Associate a Shared Environment Variable to projects.", + "type": "array", + "items": { + "type": "string" + }, + "example": [ + "prj_2WjyKQmM8ZnGcJsPWMrHRHrE", + "prj_2WjyKQmM8ZnGcJsPWMrHRCRV" + ], + "deprecated": true + } + } + } + } + } + } + }, + "get": { + "description": "Lists all Shared Environment Variables for a team, taking into account optional filters.", + "operationId": "listSharedEnvVariable", + "security": [ + { + "bearerToken": [] + } + ], + "summary": "Lists all Shared Environment Variables for a team", + "tags": [ + "environment" + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "properties": { + "data": { + "items": { + "properties": { + "created": { + "type": "string", + "format": "date-time", + "description": "The date when the Shared Env Var was created.", + "example": "2021-02-10T13:11:49.180Z" + }, + "key": { + "type": "string", + "description": "The name of the Shared Env Var.", + "example": "my-api-key" + }, + "ownerId": { + "nullable": true, + "type": "string", + "description": "The unique identifier of the owner (team) the Shared Env Var was created for.", + "example": "team_LLHUOMOoDlqOp8wPE4kFo9pE" + }, + "id": { + "type": "string", + "description": "The unique identifier of the Shared Env Var.", + "example": "env_XCG7t7AIHuO2SBA8667zNUiM" + }, + "createdBy": { + "nullable": true, + "type": "string", + "description": "The unique identifier of the user who created the Shared Env Var.", + "example": "2qDDuGFTWXBLDNnqZfWPDp1A" + }, + "deletedBy": { + "nullable": true, + "type": "string", + "description": "The unique identifier of the user who deleted the Shared Env Var.", + "example": "2qDDuGFTWXBLDNnqZfWPDp1A" + }, + "updatedBy": { + "nullable": true, + "type": "string", + "description": "The unique identifier of the user who last updated the Shared Env Var.", + "example": "2qDDuGFTWXBLDNnqZfWPDp1A" + }, + "createdAt": { + "type": "number", + "description": "Timestamp for when the Shared Env Var was created.", + "example": 1609492210000 + }, + "deletedAt": { + "type": "number", + "description": "Timestamp for when the Shared Env Var was (soft) deleted.", + "example": 1609492210000 + }, + "updatedAt": { + "type": "number", + "description": "Timestamp for when the Shared Env Var was last updated.", + "example": 1609492210000 + }, + "value": { + "type": "string", + "description": "The value of the Shared Env Var." + }, + "projectId": { + "items": { + "type": "string" + }, + "type": "array", + "description": "The unique identifiers of the projects which the Shared Env Var is linked to.", + "example": [ + "prj_2WjyKQmM8ZnGcJsPWMrHRHrE", + "prj_2WjyKQmM8ZnGcJsPWMrasEFg" + ] + }, + "type": { + "type": "string", + "enum": [ + "encrypted", + "sensitive", + "system", + "plain" + ], + "description": "The type of this cosmos doc instance, if blank, assume secret.", + "example": "encrypted" + }, + "target": { + "items": { + "type": "string", + "enum": [ + "production", + "preview", + "development" + ], + "description": "environments this env variable targets", + "example": "production" + }, + "type": "array", + "description": "environments this env variable targets", + "example": "production" + }, + "applyToAllCustomEnvironments": { + "type": "boolean", + "description": "whether or not this env varible applies to custom environments" + }, + "decrypted": { + "type": "boolean", + "description": "whether or not this env variable is decrypted" + }, + "comment": { + "type": "string", + "description": "A user provided comment that describes what this Shared Env Var is for." + }, + "lastEditedByDisplayName": { + "type": "string", + "description": "The last editor full name or username." + } + }, + "type": "object" + }, + "type": "array" + }, + "pagination": { + "$ref": "#/components/schemas/Pagination" + } + }, + "required": [ + "data", + "pagination" + ], + "type": "object" + } + } + } + }, + "400": { + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "description": "The request is not authorized.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } + }, + "403": { + "description": "You do not have permission to access this resource." + }, + "404": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + } + }, + "parameters": [ + { + "name": "search", + "in": "query", + "schema": { + "type": "string" + } + }, + { + "name": "projectId", + "description": "Filter SharedEnvVariables that belong to a project", + "in": "query", + "schema": { + "description": "Filter SharedEnvVariables that belong to a project", + "type": "string", + "example": "prj_2WjyKQmM8ZnGcJsPWMrHRHrE" + } + }, + { + "name": "ids", + "description": "Filter SharedEnvVariables based on comma separated ids", + "in": "query", + "schema": { + "description": "Filter SharedEnvVariables based on comma separated ids", + "type": "string", + "example": "env_2WjyKQmM8ZnGcJsPWMrHRHrE,env_2WjyKQmM8ZnGcJsPWMrHRCRV" + } + }, + { + "name": "exclude_ids", + "description": "Filter SharedEnvVariables based on comma separated ids", + "in": "query", + "schema": { + "description": "Filter SharedEnvVariables based on comma separated ids", + "type": "string", + "example": "env_2WjyKQmM8ZnGcJsPWMrHRHrE,env_2WjyKQmM8ZnGcJsPWMrHRCRV" + } + }, + { + "name": "exclude-ids", + "description": "Filter SharedEnvVariables based on comma separated ids", + "in": "query", + "schema": { + "description": "Filter SharedEnvVariables based on comma separated ids", + "type": "string", + "example": "env_2WjyKQmM8ZnGcJsPWMrHRHrE,env_2WjyKQmM8ZnGcJsPWMrHRCRV" + } + }, + { + "name": "exclude_projectId", + "description": "Filter SharedEnvVariables that belong to a project", + "in": "query", + "schema": { + "description": "Filter SharedEnvVariables that belong to a project", + "type": "string", + "example": "prj_2WjyKQmM8ZnGcJsPWMrHRHrE" + } + }, + { + "name": "exclude-projectId", + "description": "Filter SharedEnvVariables that belong to a project", + "in": "query", + "schema": { + "description": "Filter SharedEnvVariables that belong to a project", + "type": "string", + "example": "prj_2WjyKQmM8ZnGcJsPWMrHRHrE" + } + }, + { + "description": "The Team identifier to perform the request on behalf of.", + "in": "query", + "name": "teamId", + "schema": { + "type": "string", + "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" + } + }, + { + "description": "The Team slug to perform the request on behalf of.", + "in": "query", + "name": "slug", + "schema": { + "type": "string", + "example": "my-team-url-slug" + } + } + ] + }, + "patch": { + "description": "Updates a given Shared Environment Variable for a Team.", + "operationId": "updateSharedEnvVariable", + "security": [ + { + "bearerToken": [] + } + ], + "summary": "Updates one or more shared environment variables", + "tags": [ + "environment" + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "properties": { + "updated": { + "items": { + "properties": { + "created": { + "type": "string", + "format": "date-time", + "description": "The date when the Shared Env Var was created.", + "example": "2021-02-10T13:11:49.180Z" + }, + "key": { + "type": "string", + "description": "The name of the Shared Env Var.", + "example": "my-api-key" + }, + "ownerId": { + "nullable": true, + "type": "string", + "description": "The unique identifier of the owner (team) the Shared Env Var was created for.", + "example": "team_LLHUOMOoDlqOp8wPE4kFo9pE" + }, + "id": { + "type": "string", + "description": "The unique identifier of the Shared Env Var.", + "example": "env_XCG7t7AIHuO2SBA8667zNUiM" + }, + "createdBy": { + "nullable": true, + "type": "string", + "description": "The unique identifier of the user who created the Shared Env Var.", + "example": "2qDDuGFTWXBLDNnqZfWPDp1A" + }, + "deletedBy": { + "nullable": true, + "type": "string", + "description": "The unique identifier of the user who deleted the Shared Env Var.", + "example": "2qDDuGFTWXBLDNnqZfWPDp1A" + }, + "updatedBy": { + "nullable": true, + "type": "string", + "description": "The unique identifier of the user who last updated the Shared Env Var.", + "example": "2qDDuGFTWXBLDNnqZfWPDp1A" + }, + "createdAt": { + "type": "number", + "description": "Timestamp for when the Shared Env Var was created.", + "example": 1609492210000 + }, + "deletedAt": { + "type": "number", + "description": "Timestamp for when the Shared Env Var was (soft) deleted.", + "example": 1609492210000 + }, + "updatedAt": { + "type": "number", + "description": "Timestamp for when the Shared Env Var was last updated.", + "example": 1609492210000 + }, + "value": { + "type": "string", + "description": "The value of the Shared Env Var." + }, + "projectId": { + "items": { + "type": "string" + }, + "type": "array", + "description": "The unique identifiers of the projects which the Shared Env Var is linked to.", + "example": [ + "prj_2WjyKQmM8ZnGcJsPWMrHRHrE", + "prj_2WjyKQmM8ZnGcJsPWMrasEFg" + ] + }, + "type": { + "type": "string", + "enum": [ + "encrypted", + "sensitive", + "system", + "plain" + ], + "description": "The type of this cosmos doc instance, if blank, assume secret.", + "example": "encrypted" + }, + "target": { + "items": { + "type": "string", + "enum": [ + "production", + "preview", + "development" + ], + "description": "environments this env variable targets", + "example": "production" + }, + "type": "array", + "description": "environments this env variable targets", + "example": "production" + }, + "applyToAllCustomEnvironments": { + "type": "boolean", + "description": "whether or not this env varible applies to custom environments" + }, + "decrypted": { + "type": "boolean", + "description": "whether or not this env variable is decrypted" + }, + "comment": { + "type": "string", + "description": "A user provided comment that describes what this Shared Env Var is for." + }, + "lastEditedByDisplayName": { + "type": "string", + "description": "The last editor full name or username." + } + }, + "type": "object" + }, + "type": "array" + }, + "failed": { + "items": { + "properties": { + "error": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "key": { + "type": "string" + }, + "envVarId": { + "type": "string" + }, + "envVarKey": { + "type": "string" + }, + "action": { + "type": "string" + }, + "link": { + "type": "string" + }, + "value": { + "oneOf": [ + { + "type": "string" + }, + { + "items": { + "type": "string", + "enum": [ + "production", + "preview", + "development", + "preview", + "development" + ] + }, + "type": "array" + } + ] + }, + "gitBranch": { + "type": "string" + }, + "target": { + "oneOf": [ + { + "items": { + "type": "string", + "enum": [ + "production", + "preview", + "development", + "preview", + "development" + ] + }, + "type": "array" + }, + { + "type": "string", + "enum": [ + "production", + "preview", + "development", + "preview", + "development" + ] + } + ] + }, + "project": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + } + }, + "required": [ + "error" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "updated", + "failed" + ], + "type": "object" + } + } + } + }, + "400": { + "description": "One of the provided values in the request body is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "description": "The request is not authorized.", + "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" + }, + "403": { + "description": "You do not have permission to access this resource." + } + }, + "parameters": [ + { + "description": "The Team identifier to perform the request on behalf of.", + "in": "query", + "name": "teamId", + "schema": { + "type": "string", + "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" + } + }, + { + "description": "The Team slug to perform the request on behalf of.", + "in": "query", + "name": "slug", + "schema": { + "type": "string", + "example": "my-team-url-slug" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "additionalProperties": false, + "type": "object", + "required": [ + "updates" + ], + "properties": { + "updates": { + "type": "object", + "additionalProperties": { + "type": "object", + "additionalProperties": false, + "properties": { + "key": { + "description": "The name of the Shared Environment Variable", + "type": "string", + "example": "API_URL" + }, + "value": { + "description": "The value of the Shared Environment Variable", + "type": "string", + "example": "https://api.vercel.com" + }, + "target": { + "description": "The target environment of the Shared Environment Variable", + "type": "array", + "items": { + "enum": [ + "production", + "preview", + "development" + ] + }, + "example": [ + "production", + "preview" + ] + }, + "projectId": { + "description": "Associate a Shared Environment Variable to projects.", + "type": "array", + "items": { + "type": "string" + }, + "example": [ + "prj_2WjyKQmM8ZnGcJsPWMrHRHrE", + "prj_2WjyKQmM8ZnGcJsPWMrHRCRV" + ] + }, + "projectIdUpdates": { + "description": "Incrementally update project associations without specifying the full list", + "type": "object", + "additionalProperties": false, + "properties": { + "link": { + "description": "Project IDs to add to this environment variable", + "type": "array", + "items": { + "type": "string" + }, + "example": [ + "prj_2WjyKQmM8ZnGcJsPWMrHRHrE" + ] + }, + "unlink": { + "description": "Project IDs to remove from this environment variable", + "type": "array", + "items": { + "type": "string" + }, + "example": [ + "prj_2WjyKQmM8ZnGcJsPWMrHRCRV" + ] + } + } + }, + "type": { + "description": "The new type of the Shared Environment Variable", + "type": "string", + "enum": [ + "encrypted", + "sensitive" + ], + "example": "encrypted" + }, + "comment": { + "type": "string", + "description": "A comment to add context on what this Shared Environment Variable is for", + "example": "database connection string for production", + "maxLength": 500 + } + } + } + } + } + } + } + } + } + }, + "delete": { + "description": "Deletes one or many Shared Environment Variables for a given team.", + "operationId": "deleteSharedEnvVariable", + "security": [ + { + "bearerToken": [] + } + ], + "summary": "Delete one or more Env Var", + "tags": [ + "environment" + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "properties": { + "deleted": { + "items": { + "type": "string" + }, + "type": "array" + }, + "failed": { + "items": { + "properties": { + "error": { + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "key": { + "type": "string" + }, + "envVarId": { + "type": "string" + }, + "envVarKey": { + "type": "string" + }, + "action": { + "type": "string" + }, + "link": { + "type": "string" + }, + "value": { + "oneOf": [ + { + "type": "string" + }, + { + "items": { + "type": "string", + "enum": [ + "production", + "preview", + "development", + "preview", + "development" + ] + }, + "type": "array" + } + ] + }, + "gitBranch": { + "type": "string" + }, + "target": { + "oneOf": [ + { + "items": { + "type": "string", + "enum": [ + "production", + "preview", + "development", + "preview", + "development" + ] + }, + "type": "array" + }, + { + "type": "string", + "enum": [ + "production", + "preview", + "development", + "preview", + "development" + ] + } + ] + }, + "project": { + "type": "string" + } + }, + "required": [ + "code", + "message" + ], + "type": "object" + } + }, + "required": [ + "error" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "deleted", + "failed" + ], + "type": "object" + } + } + } + }, + "400": { + "description": "One of the provided values in the request body is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "description": "The request is not authorized.", + "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" + }, + "403": { + "description": "You do not have permission to access this resource." + } + }, + "parameters": [ + { + "description": "The Team identifier to perform the request on behalf of.", + "in": "query", + "name": "teamId", + "schema": { + "type": "string", + "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" + } + }, + { + "description": "The Team slug to perform the request on behalf of.", + "in": "query", + "name": "slug", + "schema": { + "type": "string", + "example": "my-team-url-slug" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ids" + ], + "properties": { + "ids": { + "description": "IDs of the Shared Environment Variables to delete", + "minimum": 1, + "maximum": 50, + "type": "array", + "items": { + "type": "string" + }, + "example": [ + "env_abc123", + "env_abc124" + ] + } + } + } + } + } + } + } + }, + "/v1/env/{id}": { + "get": { + "description": "Retrieve the decrypted value of a Shared Environment Variable by id.", + "operationId": "getSharedEnvVar", + "security": [ + { + "bearerToken": [] + } + ], + "summary": "Retrieve the decrypted value of a Shared Environment Variable by id.", + "tags": [ + "environment" + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "properties": { + "created": { + "type": "string", + "format": "date-time", + "description": "The date when the Shared Env Var was created.", + "example": "2021-02-10T13:11:49.180Z" + }, + "key": { + "type": "string", + "description": "The name of the Shared Env Var.", + "example": "my-api-key" + }, + "ownerId": { + "nullable": true, + "type": "string", + "description": "The unique identifier of the owner (team) the Shared Env Var was created for.", + "example": "team_LLHUOMOoDlqOp8wPE4kFo9pE" + }, + "id": { + "type": "string", + "description": "The unique identifier of the Shared Env Var.", + "example": "env_XCG7t7AIHuO2SBA8667zNUiM" + }, + "createdBy": { + "nullable": true, + "type": "string", + "description": "The unique identifier of the user who created the Shared Env Var.", + "example": "2qDDuGFTWXBLDNnqZfWPDp1A" + }, + "deletedBy": { + "nullable": true, + "type": "string", + "description": "The unique identifier of the user who deleted the Shared Env Var.", + "example": "2qDDuGFTWXBLDNnqZfWPDp1A" + }, + "updatedBy": { + "nullable": true, + "type": "string", + "description": "The unique identifier of the user who last updated the Shared Env Var.", + "example": "2qDDuGFTWXBLDNnqZfWPDp1A" + }, + "createdAt": { + "type": "number", + "description": "Timestamp for when the Shared Env Var was created.", + "example": 1609492210000 + }, + "deletedAt": { + "type": "number", + "description": "Timestamp for when the Shared Env Var was (soft) deleted.", + "example": 1609492210000 + }, + "updatedAt": { + "type": "number", + "description": "Timestamp for when the Shared Env Var was last updated.", + "example": 1609492210000 + }, + "value": { + "type": "string", + "description": "The value of the Shared Env Var." + }, + "projectId": { + "items": { + "type": "string" + }, + "type": "array", + "description": "The unique identifiers of the projects which the Shared Env Var is linked to.", + "example": [ + "prj_2WjyKQmM8ZnGcJsPWMrHRHrE", + "prj_2WjyKQmM8ZnGcJsPWMrasEFg" + ] + }, + "type": { + "type": "string", + "enum": [ + "encrypted", + "sensitive", + "system", + "plain" + ], + "description": "The type of this cosmos doc instance, if blank, assume secret.", + "example": "encrypted" + }, + "target": { + "items": { + "type": "string", + "enum": [ + "production", + "preview", + "development" + ], + "description": "environments this env variable targets", + "example": "production" + }, + "type": "array", + "description": "environments this env variable targets", + "example": "production" + }, + "applyToAllCustomEnvironments": { + "type": "boolean", + "description": "whether or not this env varible applies to custom environments" + }, + "decrypted": { + "type": "boolean", + "description": "whether or not this env variable is decrypted" + }, + "comment": { + "type": "string", + "description": "A user provided comment that describes what this Shared Env Var is for." + }, + "lastEditedByDisplayName": { + "type": "string", + "description": "The last editor full name or username." + } + }, + "type": "object" + } + } + } + }, + "400": { + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "description": "The request is not authorized.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } + }, + "403": { + "description": "You do not have permission to access this resource." + } + }, + "parameters": [ + { + "name": "id", + "description": "The unique ID for the Shared Environment Variable to get the decrypted value.", + "in": "path", + "required": true, + "schema": { + "description": "The unique ID for the Shared Environment Variable to get the decrypted value.", + "type": "string" + } + }, + { + "description": "The Team identifier to perform the request on behalf of.", + "in": "query", + "name": "teamId", + "schema": { + "type": "string", + "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" + } + }, + { + "description": "The Team slug to perform the request on behalf of.", + "in": "query", + "name": "slug", + "schema": { + "type": "string", + "example": "my-team-url-slug" + } + } + ] + } + }, + "/v1/env/{id}/unlink/{projectId}": { + "patch": { + "description": "Disconnects a shared environment variable for a given project", + "operationId": "unlinkSharedEnvVariable", + "security": [ + { + "bearerToken": [] + } + ], + "summary": "Disconnects a shared environment variable for a given project", + "tags": [ + "environment" + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "properties": { + "id": { + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object" + } + } + } + }, + "400": { + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "description": "The request is not authorized.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } + }, + "403": { + "description": "You do not have permission to access this resource." + } + }, + "parameters": [ + { + "name": "id", + "description": "The unique ID for the Shared Environment Variable to unlink from the project.", + "in": "path", + "required": true, + "schema": { + "description": "The unique ID for the Shared Environment Variable to unlink from the project.", + "type": "string" + } + }, + { + "name": "projectId", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "description": "The Team identifier to perform the request on behalf of.", + "in": "query", + "name": "teamId", + "schema": { + "type": "string", + "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" + } + }, + { + "description": "The Team slug to perform the request on behalf of.", + "in": "query", + "name": "slug", + "schema": { + "type": "string", + "example": "my-team-url-slug" + } + } + ] + } + }, + "/v3/events": { + "get": { + "description": "Retrieves a list of \"events\" generated by the User on Vercel. Events are generated when the User performs a particular action, such as logging in, creating a deployment, and joining a Team (just to name a few). When the `teamId` parameter is supplied, then the events that are returned will be in relation to the Team that was specified.", + "operationId": "listUserEvents", + "security": [ + { + "bearerToken": [] + } + ], + "summary": "List User Events", + "tags": [ + "user" + ], + "responses": { + "200": { + "description": "Successful response.", + "content": { + "application/json": { + "schema": { + "properties": { + "events": { + "items": { + "$ref": "#/components/schemas/UserEvent" + }, + "type": "array", + "description": "Array of events generated by the User." + } + }, + "required": [ + "events" + ], + "type": "object", + "description": "Successful response." + } + } + } + }, + "400": { + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "description": "The request is not authorized.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } + }, + "403": { + "description": "You do not have permission to access this resource." + } + }, + "parameters": [ + { + "name": "limit", + "description": "Maximum number of items which may be returned.", + "in": "query", + "schema": { + "description": "Maximum number of items which may be returned.", + "example": 20, + "type": "number" + } + }, + { + "name": "since", + "description": "Timestamp to only include items created since then.", + "in": "query", + "schema": { + "description": "Timestamp to only include items created since then.", + "example": "2019-12-08T10:00:38.976Z", + "type": "string" + } + }, + { + "name": "until", + "description": "Timestamp to only include items created until then.", + "in": "query", + "schema": { + "description": "Timestamp to only include items created until then.", + "example": "2019-12-09T23:00:38.976Z", + "type": "string" + } + }, + { + "name": "types", + "description": "Comma-delimited list of event \\\"types\\\" to filter the results by.", + "in": "query", + "schema": { + "description": "Comma-delimited list of event \\\"types\\\" to filter the results by.", + "example": "login,team-member-join,domain-buy", + "type": "string" + } + }, + { + "name": "userId", + "description": "Deprecated. Use `principalId` instead. If `principalId` and `userId` both exist, `principalId` will be used.", + "in": "query", + "schema": { + "description": "Deprecated. Use `principalId` instead. If `principalId` and `userId` both exist, `principalId` will be used.", + "example": "aeIInYVk59zbFF2SxfyxxmuO", + "type": "string" + } + }, + { + "name": "principalId", + "description": "When retrieving events for a Team, the `principalId` parameter may be specified to filter events generated by a specific principal.", + "in": "query", + "schema": { + "description": "When retrieving events for a Team, the `principalId` parameter may be specified to filter events generated by a specific principal.", + "example": "aeIInYVk59zbFF2SxfyxxmuO", + "type": "string" + } + }, + { + "name": "projectIds", + "description": "Comma-delimited list of project IDs to filter the results by.", + "in": "query", + "schema": { + "description": "Comma-delimited list of project IDs to filter the results by.", + "example": "aeIInYVk59zbFF2SxfyxxmuO", + "type": "string" + } + }, + { + "name": "withPayload", + "description": "When set to `true`, the response will include the `payload` field for each event.", + "in": "query", + "schema": { + "description": "When set to `true`, the response will include the `payload` field for each event.", + "example": "true", + "type": "string" + } + }, + { + "description": "The Team identifier to perform the request on behalf of.", + "in": "query", + "name": "teamId", + "schema": { + "type": "string", + "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" + } + }, + { + "description": "The Team slug to perform the request on behalf of.", + "in": "query", + "name": "slug", + "schema": { + "type": "string", + "example": "my-team-url-slug" + } + } + ] + } + }, + "/v1/integrations/integration/{integrationIdOrSlug}/products/{productIdOrSlug}/plans": { + "get": { + "description": "Get a list of billing plans for an integration and product.", + "operationId": "getBillingPlans", + "security": [ + { + "bearerToken": [] + } + ], + "summary": "List integration billing plans", + "tags": [ + "integrations" + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "properties": { + "plans": { + "items": { + "properties": { + "type": { + "type": "string", + "enum": [ + "prepayment", + "subscription" + ] + }, + "description": { + "type": "string" + }, + "id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "scope": { + "type": "string", + "enum": [ + "installation", + "resource" + ] + }, + "paymentMethodRequired": { + "type": "boolean" + }, + "preauthorizationAmount": { + "type": "number" + }, + "initialCharge": { + "type": "string" + }, + "minimumAmount": { + "type": "string" + }, + "maximumAmount": { + "type": "string" + }, + "maximumAmountAutoPurchasePerPeriod": { + "type": "string" + }, + "cost": { + "type": "string" + }, + "details": { + "items": { + "properties": { + "label": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "label" + ], + "type": "object" + }, + "type": "array" + }, + "highlightedDetails": { + "items": { + "properties": { + "label": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "label" + ], + "type": "object" + }, + "type": "array" + }, + "quote": { + "items": { + "properties": { + "line": { + "type": "string" + }, + "amount": { + "type": "string" + } + }, + "required": [ + "line", + "amount" + ], + "type": "object" + }, + "type": "array" + }, + "effectiveDate": { + "type": "string" + }, + "disabled": { + "type": "boolean" + } + }, + "required": [ + "type", + "description", + "id", + "name", + "scope", + "paymentMethodRequired" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "plans" + ], + "type": "object" + } + } + } + }, + "400": { + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "description": "The request is not authorized.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } + }, + "403": { + "description": "You do not have permission to access this resource." + }, + "404": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + } + }, + "parameters": [ + { + "name": "integrationIdOrSlug", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "productIdOrSlug", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "metadata", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "description": "The Team identifier to perform the request on behalf of.", + "in": "query", + "name": "teamId", + "schema": { + "type": "string", + "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" + } + }, + { + "description": "The Team slug to perform the request on behalf of.", + "in": "query", + "name": "slug", + "schema": { + "type": "string", + "example": "my-team-url-slug" + } + } + ] + } + }, + "/v1/integrations/installations/{integrationConfigurationId}/resources/{resourceId}/connections": { + "post": { + "description": "Connects an integration resource to a Vercel project. This endpoint establishes a connection between a provisioned integration resource (from storage APIs like `POST /v1/storage/stores/integration/direct`) and a specific Vercel project.", + "operationId": "connectIntegrationResourceToProject", + "security": [ + { + "bearerToken": [] + } + ], + "summary": "Connect integration resource to project", + "tags": [ + "integrations" + ], + "responses": { + "201": { + "description": "" + }, + "400": { + "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": { + "description": "The request is not authorized.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } + }, + "403": { + "description": "You do not have permission to access this resource." + }, + "404": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + } + }, + "parameters": [ + { + "name": "integrationConfigurationId", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "resourceId", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "description": "The Team identifier to perform the request on behalf of.", + "in": "query", + "name": "teamId", + "schema": { + "type": "string", + "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" + } + }, + { + "description": "The Team slug to perform the request on behalf of.", + "in": "query", + "name": "slug", + "schema": { + "type": "string", + "example": "my-team-url-slug" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "projectId" + ], + "properties": { + "projectId": { + "type": "string" + } + } + } + } + } + } + } + }, + "/v1/installations/{integrationConfigurationId}": { + "patch": { + "description": "This endpoint updates an integration installation.", + "operationId": "update-installation", + "security": [ + { + "bearerToken": [] + } + ], + "summary": "Update Installation", + "tags": [ + "marketplace" + ], + "responses": { + "204": { + "description": "" + }, + "400": { + "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": { + "description": "The request is not authorized.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } + }, + "403": { + "description": "You do not have permission to access this resource." + }, + "404": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + } + }, + "parameters": [ + { + "name": "integrationConfigurationId", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "billingPlan": { + "type": "object", + "required": [ + "id", + "type", + "name" + ], + "properties": { + "id": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "prepayment", + "subscription" + ] + }, + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "paymentMethodRequired": { + "type": "boolean" + }, + "cost": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "label": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "label" + ], + "additionalProperties": false + } + }, + "highlightedDetails": { + "type": "array", + "items": { + "type": "object", + "properties": { + "label": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "label" + ], + "additionalProperties": false + } + }, + "effectiveDate": { + "type": "string" + } + }, + "additionalProperties": true + }, + "notification": { + "oneOf": [ + { + "type": "object", + "required": [ + "level", + "title" + ], + "properties": { + "level": { + "type": "string", + "enum": [ + "info", + "warn", + "error" + ] + }, + "title": { + "type": "string" + }, + "message": { + "type": "string" + }, + "href": { + "type": "string", + "format": "uri" + } + } + }, + { + "type": "string" + } + ], + "description": "A notification to display to your customer. Send `null` to clear the current notification." + } + }, + "additionalProperties": false + } + } + } + } + } + }, + "/v1/installations/{integrationConfigurationId}/account": { + "get": { + "description": "Fetches the best account or user’s contact info", + "operationId": "get-account-info", + "security": [ + { + "bearerToken": [] + } + ], + "summary": "Get Account Information", + "tags": [ + "marketplace" + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "properties": { + "name": { + "type": "string", + "description": "The name of the team the installation is tied to." + }, + "url": { + "type": "string", + "description": "A URL linking to the installation in the Vercel Dashboard." + }, + "contact": { + "nullable": true, + "properties": { + "email": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "email" + ], + "type": "object", + "description": "The best contact for the integration, which can change as team members and their roles change." + } + }, + "required": [ + "url", + "contact" + ], + "type": "object" + } + } + } + }, + "400": { + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "description": "The request is not authorized.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } + }, + "403": { + "description": "You do not have permission to access this resource." + }, + "404": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + } + }, + "parameters": [ + { + "name": "integrationConfigurationId", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ] + } + }, + "/v1/installations/{integrationConfigurationId}/member/{memberId}": { + "get": { + "description": "Returns the member role and other information for a given member ID (\"user_id\" claim in the SSO OIDC token).", + "operationId": "get-member", + "security": [ + { + "bearerToken": [] + } + ], + "summary": "Get Member Information", + "tags": [ + "marketplace" + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "properties": { + "id": { + "type": "string" + }, + "role": { + "type": "string", + "enum": [ + "ADMIN", + "USER" + ], + "description": "\"The `ADMIN` role, by default, is provided to users capable of installing integrations, while the `USER` role can be granted to Vercel users with the Vercel `Billing` or Vercel `Viewer` role, which are considered to be Read-Only roles.\"" + } + }, + "required": [ + "id", + "role" + ], + "type": "object" + } + } + } + }, + "400": { + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "description": "The request is not authorized.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } + }, + "403": { + "description": "You do not have permission to access this resource." + }, + "404": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + } + }, + "parameters": [ + { + "name": "integrationConfigurationId", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "memberId", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ] + } + }, + "/v1/installations/{integrationConfigurationId}/events": { + "post": { + "description": "Partner notifies Vercel of any changes made to an Installation or a Resource. Vercel is expected to use `list-resources` and other read APIs to get the new state.\u003cbr/\u003e \u003cbr/\u003e `resource.updated` event should be dispatched when any state of a resource linked to Vercel is modified by the partner.\u003cbr/\u003e `installation.updated` event should be dispatched when an installation's billing plan is changed via the provider instead of Vercel.\u003cbr/\u003e \u003cbr/\u003e Resource update use cases: \u003cbr/\u003e \u003cbr/\u003e - The user renames a database in the partner’s application. The partner should dispatch a `resource.updated` event to notify Vercel to update the resource in Vercel’s datastores.\u003cbr/\u003e - A resource has been suspended due to a lack of use. The partner should dispatch a `resource.updated` event to notify Vercel to update the resource's status in Vercel's datastores.\u003cbr/\u003e", + "operationId": "create-event", + "security": [ + { + "bearerToken": [] + } + ], + "summary": "Create Event", + "tags": [ + "marketplace" + ], + "responses": { + "201": { + "description": "" + }, + "400": { + "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": { + "description": "The request is not authorized.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } + }, + "403": { + "description": "You do not have permission to access this resource." + }, + "404": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + } + }, + "parameters": [ + { + "name": "integrationConfigurationId", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "event" + ], + "properties": { + "event": { + "oneOf": [ + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "installation.updated" + ] + }, + "billingPlanId": { + "type": "string", + "description": "The installation-level billing plan ID" + } + }, + "required": [ + "type" + ], + "additionalProperties": false + }, + { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "resource.updated" + ] + }, + "productId": { + "type": "string", + "description": "Partner-provided product slug or id" + }, + "resourceId": { + "type": "string", + "description": "Partner provided resource ID" + } + }, + "required": [ + "type", + "resourceId" + ], + "additionalProperties": false + } + ] + } + }, + "additionalProperties": false + } + } + }, + "required": true + } + } + }, + "/v1/installations/{integrationConfigurationId}/resources": { + "get": { + "description": "Get all resources for a given installation ID.", + "operationId": "get-integration-resources", + "security": [ + { + "bearerToken": [] + } + ], + "summary": "Get Integration Resources", + "tags": [ + "marketplace" + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "properties": { + "resources": { + "items": { + "properties": { + "partnerId": { + "type": "string", + "description": "The ID provided by the partner for the given resource" + }, + "internalId": { + "type": "string", + "description": "The ID assigned by Vercel for the given resource" + }, + "name": { + "type": "string", + "description": "The name of the resource as it is recorded in Vercel" + }, + "status": { + "type": "string", + "enum": [ + "ready", + "pending", + "onboarding", + "suspended", + "resumed", + "uninstalled", + "error" + ], + "description": "The current status of the resource" + }, + "productId": { + "type": "string", + "description": "The ID of the product the resource is derived from" + }, + "protocolSettings": { + "properties": { + "experimentation": { + "properties": { + "edgeConfigSyncingEnabled": { + "type": "boolean" + }, + "edgeConfigId": { + "type": "string" + }, + "edgeConfigTokenId": { + "type": "string" + } + }, + "type": "object" + } + }, + "type": "object", + "description": "Any settings provided for the resource to support its product's protocols" + }, + "notification": { + "properties": { + "level": { + "type": "string", + "enum": [ + "error", + "info", + "warn" + ] + }, + "title": { + "type": "string" + }, + "message": { + "type": "string" + }, + "href": { + "type": "string" + } + }, + "required": [ + "level", + "title" + ], + "type": "object", + "description": "The notification, if set, displayed to the user when viewing the resource in Vercel" + }, + "billingPlanId": { + "type": "string", + "description": "The ID of the billing plan the resource is subscribed to, if applicable" + }, + "metadata": { + "additionalProperties": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "items": { + "type": "string" + }, + "type": "array", + "description": "The configured metadata for the resource as defined by its product's Metadata Schema" + }, + { + "items": { + "type": "number" + }, + "type": "array", + "description": "The configured metadata for the resource as defined by its product's Metadata Schema" + } + ] + }, + "type": "object", + "description": "The configured metadata for the resource as defined by its product's Metadata Schema" + } + }, + "required": [ + "partnerId", + "internalId", + "name", + "productId" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "resources" + ], + "type": "object" + } + } + } + }, + "400": { + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "description": "The request is not authorized.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } + }, + "403": { + "description": "You do not have permission to access this resource." + }, + "404": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + } + }, + "parameters": [ + { + "name": "integrationConfigurationId", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ] + } + }, + "/v1/installations/{integrationConfigurationId}/resources/{resourceId}": { + "get": { + "description": "Get a resource by its partner ID.", + "operationId": "get-integration-resource", + "security": [ + { + "bearerToken": [] + } + ], + "summary": "Get Integration Resource", + "tags": [ + "marketplace" + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { "schema": { "properties": { "id": { @@ -26408,6 +38232,7 @@ "enum": [ "ready", "pending", + "onboarding", "suspended", "resumed", "uninstalled", @@ -26637,17 +38462,297 @@ "type": "string" } } - ] + ] + }, + "put": { + "description": "This endpoint imports (upserts) a resource to Vercel's installation. This may be needed if resources can be independently created on the partner's side and need to be synchronized to Vercel.", + "operationId": "import-resource", + "security": [ + { + "bearerToken": [] + } + ], + "summary": "Import Resource", + "tags": [ + "marketplace" + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + } + } + } + }, + "400": { + "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": { + "description": "The request is not authorized.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } + }, + "403": { + "description": "You do not have permission to access this resource." + }, + "404": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + }, + "409": { + "description": "" + }, + "422": { + "description": "" + } + }, + "parameters": [ + { + "name": "integrationConfigurationId", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "resourceId", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "productId", + "name", + "status" + ], + "properties": { + "ownership": { + "type": "string", + "enum": [ + "owned", + "linked", + "sandbox" + ] + }, + "productId": { + "type": "string" + }, + "name": { + "type": "string" + }, + "status": { + "type": "string", + "enum": [ + "ready", + "pending", + "onboarding", + "suspended", + "resumed", + "uninstalled", + "error" + ] + }, + "metadata": { + "type": "object", + "additionalProperties": true + }, + "billingPlan": { + "type": "object", + "required": [ + "id", + "type", + "name" + ], + "properties": { + "id": { + "type": "string" + }, + "type": { + "type": "string", + "enum": [ + "prepayment", + "subscription" + ] + }, + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "paymentMethodRequired": { + "type": "boolean" + }, + "cost": { + "type": "string" + }, + "details": { + "type": "array", + "items": { + "type": "object", + "properties": { + "label": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "label" + ], + "additionalProperties": false + } + }, + "highlightedDetails": { + "type": "array", + "items": { + "type": "object", + "properties": { + "label": { + "type": "string" + }, + "value": { + "type": "string" + } + }, + "required": [ + "label" + ], + "additionalProperties": false + } + }, + "effectiveDate": { + "type": "string" + } + }, + "additionalProperties": true + }, + "notification": { + "type": "object", + "required": [ + "level", + "title" + ], + "properties": { + "level": { + "type": "string", + "enum": [ + "info", + "warn", + "error" + ] + }, + "title": { + "type": "string" + }, + "message": { + "type": "string" + }, + "href": { + "type": "string", + "format": "uri" + } + } + }, + "extras": { + "type": "object", + "additionalProperties": true + }, + "secrets": { + "type": "array", + "items": { + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + }, + "prefix": { + "type": "string" + }, + "environmentOverrides": { + "type": "object", + "description": "A map of environments to override values for the secret, used for setting different values across deployments in production, preview, and development environments. Note: the same value will be used for all deployments in the given environment.", + "properties": { + "development": { + "type": "string", + "description": "Value used for development environment." + }, + "preview": { + "type": "string", + "description": "Value used for preview environment." + }, + "production": { + "type": "string", + "description": "Value used for production environment." + } + } + } + }, + "additionalProperties": false + } + } + }, + "additionalProperties": false + } + } + } + } }, - "put": { - "description": "This endpoint imports (upserts) a resource to Vercel's installation. This may be needed if resources can be independently created on the partner's side and need to be synchronized to Vercel.", - "operationId": "import-resource", + "patch": { + "description": "This endpoint updates an existing resource in the installation. All parameters are optional, allowing partial updates.", + "operationId": "update-resource", "security": [ { "bearerToken": [] } ], - "summary": "Import Resource", + "summary": "Update Resource", "tags": [ "marketplace" ], @@ -26733,11 +38838,6 @@ "application/json": { "schema": { "type": "object", - "required": [ - "productId", - "name", - "status" - ], "properties": { "ownership": { "type": "string", @@ -26747,9 +38847,6 @@ "sandbox" ] }, - "productId": { - "type": "string" - }, "name": { "type": "string" }, @@ -26758,6 +38855,7 @@ "enum": [ "ready", "pending", + "onboarding", "suspended", "resumed", "uninstalled", @@ -26841,75 +38939,139 @@ "additionalProperties": true }, "notification": { - "type": "object", - "required": [ - "level", - "title" - ], - "properties": { - "level": { - "type": "string", - "enum": [ - "info", - "warn", - "error" - ] - }, - "title": { - "type": "string" + "oneOf": [ + { + "type": "object", + "required": [ + "level", + "title" + ], + "properties": { + "level": { + "type": "string", + "enum": [ + "info", + "warn", + "error" + ] + }, + "title": { + "type": "string" + }, + "message": { + "type": "string" + }, + "href": { + "type": "string", + "format": "uri" + } + } }, - "message": { + { "type": "string" - }, - "href": { - "type": "string", - "format": "uri" } - } + ] }, "extras": { "type": "object", "additionalProperties": true }, "secrets": { - "type": "array", - "items": { - "type": "object", - "required": [ - "name", - "value" - ], - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - }, - "prefix": { - "type": "string" - }, - "environmentOverrides": { + "oneOf": [ + { + "type": "array", + "items": { "type": "object", - "description": "A map of environments to override values for the secret, used for setting different values across deployments in production, preview, and development environments. Note: the same value will be used for all deployments in the given environment.", + "required": [ + "name", + "value" + ], "properties": { - "development": { - "type": "string", - "description": "Value used for development environment." + "name": { + "type": "string" }, - "preview": { - "type": "string", - "description": "Value used for preview environment." + "value": { + "type": "string" }, - "production": { - "type": "string", - "description": "Value used for production environment." + "prefix": { + "type": "string" + }, + "environmentOverrides": { + "type": "object", + "description": "A map of environments to override values for the secret, used for setting different values across deployments in production, preview, and development environments. Note: the same value will be used for all deployments in the given environment.", + "properties": { + "development": { + "type": "string", + "description": "Value used for development environment." + }, + "preview": { + "type": "string", + "description": "Value used for preview environment." + }, + "production": { + "type": "string", + "description": "Value used for production environment." + } + } } - } + }, + "additionalProperties": false } }, - "additionalProperties": false - } + { + "type": "object", + "required": [ + "secrets" + ], + "properties": { + "secrets": { + "type": "array", + "items": { + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "type": "string" + }, + "value": { + "type": "string" + }, + "prefix": { + "type": "string" + }, + "environmentOverrides": { + "type": "object", + "description": "A map of environments to override values for the secret, used for setting different values across deployments in production, preview, and development environments. Note: the same value will be used for all deployments in the given environment.", + "properties": { + "development": { + "type": "string", + "description": "Value used for development environment." + }, + "preview": { + "type": "string", + "description": "Value used for preview environment." + }, + "production": { + "type": "string", + "description": "Value used for production environment." + } + } + } + }, + "additionalProperties": false + } + }, + "partial": { + "type": "boolean", + "description": "If true, will only overwrite the provided secrets instead of replacing all secrets." + } + }, + "additionalProperties": false + } + ] } }, "additionalProperties": false @@ -27548,6 +39710,7 @@ "state": { "type": "string", "enum": [ + "draft", "pending", "scheduled", "invoiced", @@ -28460,11 +40623,15 @@ "items": { "type": "string", "enum": [ + "tag_agents", "tag_ai", "tag_analytics", "tag_authentication", "tag_cms", "tag_code_repository", + "tag_code_review", + "tag_code_security", + "tag_code_testing", "tag_commerce", "tag_databases", "tag_dev_tools", @@ -28479,8 +40646,10 @@ "tag_productivity", "tag_searching", "tag_security", + "tag_support_agent", "tag_testing", "tag_video", + "tag_web_automation", "tag_workflow" ] }, @@ -29259,91 +41428,88 @@ } } } - } - }, - "parameters": [ - { - "name": "id", - "description": "ID of the configuration to check", - "in": "path", - "required": true, - "schema": { - "type": "string", - "description": "ID of the configuration to check", - "example": "icfg_cuwj0AdCdH3BwWT4LPijCC7t" - } - }, - { - "description": "The Team identifier to perform the request on behalf of.", - "in": "query", - "name": "teamId", - "schema": { - "type": "string", - "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" - } - }, - { - "description": "The Team slug to perform the request on behalf of.", - "in": "query", - "name": "slug", - "schema": { - "type": "string", - "example": "my-team-url-slug" - } - } - ] - }, - "delete": { - "description": "Allows to remove the configuration with the `id` provided in the parameters. The configuration and all of its resources will be removed. This includes Webhooks, LogDrains and Project Env variables.", - "operationId": "deleteConfiguration", - "security": [ - { - "bearerToken": [] - } - ], - "summary": "Delete an integration configuration", - "tags": [ - "integrations" - ], - "responses": { - "204": { - "description": "The configuration was successfully removed" - }, - "400": { - "description": "One of the provided values in the request query is invalid.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VercelBadRequestError" - } - } - } - }, - "401": { - "description": "The request is not authorized.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VercelForbiddenError" - } - } - } - }, - "403": { - "description": "You do not have permission to access this resource." - }, - "404": { - "description": "The configuration was not found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VercelNotFoundError" - } - } - } + } + }, + "parameters": [ + { + "name": "id", + "description": "ID of the configuration to check", + "in": "path", + "required": true, + "schema": { + "type": "string", + "description": "ID of the configuration to check", + "example": "icfg_cuwj0AdCdH3BwWT4LPijCC7t" + } }, - "409": { - "description": "" + { + "description": "The Team identifier to perform the request on behalf of.", + "in": "query", + "name": "teamId", + "schema": { + "type": "string", + "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" + } + }, + { + "description": "The Team slug to perform the request on behalf of.", + "in": "query", + "name": "slug", + "schema": { + "type": "string", + "example": "my-team-url-slug" + } + } + ] + }, + "delete": { + "description": "Allows to remove the configuration with the `id` provided in the parameters. The configuration and all of its resources will be removed. This includes Webhooks, LogDrains and Project Env variables.", + "operationId": "deleteConfiguration", + "security": [ + { + "bearerToken": [] + } + ], + "summary": "Delete an integration configuration", + "tags": [ + "integrations" + ], + "responses": { + "204": { + "description": "The configuration was successfully removed" + }, + "400": { + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "description": "The request is not authorized.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } + }, + "403": { + "description": "You do not have permission to access this resource." + }, + "404": { + "description": "The configuration was not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } } }, "parameters": [ @@ -29698,34 +41864,34 @@ "minLength": { "type": "object", "properties": { - "__@BRAND@543472": { + "__@BRAND@649501": { "type": "object" } }, "required": [ - "__@BRAND@543472" + "__@BRAND@649501" ] }, "maxLength": { "type": "object", "properties": { - "__@BRAND@543472": { + "__@BRAND@649501": { "type": "object" } }, "required": [ - "__@BRAND@543472" + "__@BRAND@649501" ] }, "pattern": { "type": "object", "properties": { - "__@BRAND@543472": { + "__@BRAND@649501": { "type": "object" } }, "required": [ - "__@BRAND@543472" + "__@BRAND@649501" ] }, "default": { @@ -30408,34 +42574,34 @@ "minLength": { "type": "object", "properties": { - "__@BRAND@543472": { + "__@BRAND@649501": { "type": "object" } }, "required": [ - "__@BRAND@543472" + "__@BRAND@649501" ] }, "maxLength": { "type": "object", "properties": { - "__@BRAND@543472": { + "__@BRAND@649501": { "type": "object" } }, "required": [ - "__@BRAND@543472" + "__@BRAND@649501" ] }, "pattern": { "type": "object", "properties": { - "__@BRAND@543472": { + "__@BRAND@649501": { "type": "object" } }, "required": [ - "__@BRAND@543472" + "__@BRAND@649501" ] }, "default": { @@ -30593,34 +42759,34 @@ "minLength": { "type": "object", "properties": { - "__@BRAND@543472": { + "__@BRAND@649501": { "type": "object" } }, "required": [ - "__@BRAND@543472" + "__@BRAND@649501" ] }, "maxLength": { "type": "object", "properties": { - "__@BRAND@543472": { + "__@BRAND@649501": { "type": "object" } }, "required": [ - "__@BRAND@543472" + "__@BRAND@649501" ] }, "pattern": { "type": "object", "properties": { - "__@BRAND@543472": { + "__@BRAND@649501": { "type": "object" } }, "required": [ - "__@BRAND@543472" + "__@BRAND@649501" ] }, "default": { @@ -30931,12 +43097,12 @@ { "type": "object", "properties": { - "__@BRAND@543472": { + "__@BRAND@649501": { "type": "object" } }, "required": [ - "__@BRAND@543472" + "__@BRAND@649501" ] }, { @@ -30944,12 +43110,12 @@ "value": { "type": "object", "properties": { - "__@BRAND@543472": { + "__@BRAND@649501": { "type": "object" } }, "required": [ - "__@BRAND@543472" + "__@BRAND@649501" ] }, "disabled": { @@ -31018,34 +43184,34 @@ "minLength": { "type": "object", "properties": { - "__@BRAND@543472": { + "__@BRAND@649501": { "type": "object" } }, "required": [ - "__@BRAND@543472" + "__@BRAND@649501" ] }, "maxLength": { "type": "object", "properties": { - "__@BRAND@543472": { + "__@BRAND@649501": { "type": "object" } }, "required": [ - "__@BRAND@543472" + "__@BRAND@649501" ] }, "pattern": { "type": "object", "properties": { - "__@BRAND@543472": { + "__@BRAND@649501": { "type": "object" } }, "required": [ - "__@BRAND@543472" + "__@BRAND@649501" ] }, "default": { @@ -31203,34 +43369,34 @@ "minLength": { "type": "object", "properties": { - "__@BRAND@543472": { + "__@BRAND@649501": { "type": "object" } }, "required": [ - "__@BRAND@543472" + "__@BRAND@649501" ] }, "maxLength": { "type": "object", "properties": { - "__@BRAND@543472": { + "__@BRAND@649501": { "type": "object" } }, "required": [ - "__@BRAND@543472" + "__@BRAND@649501" ] }, "pattern": { "type": "object", "properties": { - "__@BRAND@543472": { + "__@BRAND@649501": { "type": "object" } }, "required": [ - "__@BRAND@543472" + "__@BRAND@649501" ] }, "default": { @@ -31319,12 +43485,12 @@ { "type": "object", "properties": { - "__@BRAND@543472": { + "__@BRAND@649501": { "type": "object" } }, "required": [ - "__@BRAND@543472" + "__@BRAND@649501" ] }, { @@ -31332,12 +43498,12 @@ "value": { "type": "object", "properties": { - "__@BRAND@543472": { + "__@BRAND@649501": { "type": "object" } }, "required": [ - "__@BRAND@543472" + "__@BRAND@649501" ] }, "disabled": { @@ -31523,12 +43689,12 @@ "items": { "type": "object", "properties": { - "__@BRAND@543472": { + "__@BRAND@649501": { "type": "object" } }, "required": [ - "__@BRAND@543472" + "__@BRAND@649501" ] }, "type": "array" @@ -31537,12 +43703,12 @@ "items": { "type": "object", "properties": { - "__@BRAND@543472": { + "__@BRAND@649501": { "type": "object" } }, "required": [ - "__@BRAND@543472" + "__@BRAND@649501" ] }, "type": "array" @@ -31576,34 +43742,34 @@ "minLength": { "type": "object", "properties": { - "__@BRAND@543472": { + "__@BRAND@649501": { "type": "object" } }, "required": [ - "__@BRAND@543472" + "__@BRAND@649501" ] }, "maxLength": { "type": "object", "properties": { - "__@BRAND@543472": { + "__@BRAND@649501": { "type": "object" } }, "required": [ - "__@BRAND@543472" + "__@BRAND@649501" ] }, "pattern": { "type": "object", "properties": { - "__@BRAND@543472": { + "__@BRAND@649501": { "type": "object" } }, "required": [ - "__@BRAND@543472" + "__@BRAND@649501" ] }, "default": { @@ -31737,12 +43903,12 @@ "value": { "type": "object", "properties": { - "__@BRAND@543472": { + "__@BRAND@649501": { "type": "object" } }, "required": [ - "__@BRAND@543472" + "__@BRAND@649501" ] }, "disabled": { @@ -31968,6 +44134,9 @@ "token_type": { "nullable": true, "type": "string" + }, + "expires_in": { + "type": "number" } }, "required": [ @@ -32063,7 +44232,7 @@ "bearerToken": [] } ], - "summary": "Retrieves a list of Integration log drains", + "summary": "Retrieves a list of Integration log drains (deprecated)", "tags": [ "logDrains" ], @@ -32100,7 +44269,6 @@ "enum": [ "json", "ndjson", - "syslog", "protobuf" ], "description": "The delivery log format", @@ -32143,7 +44311,8 @@ "lambda", "static", "external", - "firewall" + "firewall", + "redirect" ], "description": "The sources from which logs are currently being delivered to this log drain.", "example": [ @@ -32318,7 +44487,7 @@ "bearerToken": [] } ], - "summary": "Creates a new Integration Log Drain", + "summary": "Creates a new Integration Log Drain (deprecated)", "tags": [ "logDrains" ], @@ -32354,7 +44523,6 @@ "enum": [ "json", "ndjson", - "syslog", "protobuf" ], "description": "The delivery log format", @@ -32397,7 +44565,8 @@ "lambda", "static", "external", - "firewall" + "firewall", + "redirect" ], "description": "The sources from which logs are currently being delivered to this log drain.", "example": [ @@ -32661,7 +44830,7 @@ "bearerToken": [] } ], - "summary": "Deletes the Integration log drain with the provided `id`", + "summary": "Deletes the Integration log drain with the provided `id` (deprecated)", "tags": [ "logDrains" ], @@ -32693,7 +44862,7 @@ "description": "You do not have permission to access this resource." }, "404": { - "description": "The log drain was not found", + "description": "", "content": { "application/json": { "schema": { @@ -33248,6 +45417,13 @@ }, "digest": { "type": "string" + }, + "purpose": { + "type": "string", + "enum": [ + "flags", + "experimentation" + ] } }, "required": [ @@ -33347,6 +45523,13 @@ }, "digest": { "type": "string" + }, + "purpose": { + "type": "string", + "enum": [ + "flags", + "experimentation" + ] } }, "required": [ @@ -34863,10 +47046,12 @@ "zola", "hydrogen", "vite", + "tanstack-start", "vitepress", "vuepress", "parcel", "fastapi", + "flask", "fasthtml", "sanity-v3", "sanity", @@ -34875,6 +47060,9 @@ "hono", "express", "h3", + "nestjs", + "elysia", + "fastify", "xmcp" ] }, @@ -35103,6 +47291,9 @@ }, "environment": { "type": "string" + }, + "plan": { + "type": "string" } }, "required": [ @@ -35114,7 +47305,8 @@ "owner_id", "project", "project_id", - "environment" + "environment", + "plan" ], "type": "object" }, @@ -35604,6 +47796,9 @@ "oneOf": [ { "properties": { + "isDefaultApp": { + "type": "boolean" + }, "updatedAt": { "type": "number", "description": "Timestamp when the microfrontends settings were last updated." @@ -35628,17 +47823,67 @@ "type": "boolean", "description": "Whether microfrontends are enabled for this project." }, + "defaultRoute": { + "type": "string", + "description": "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. Includes the leading slash, e.g. `/docs`" + }, + "freeProjectForLegacyLimits": { + "type": "boolean", + "description": "Whether the project was part of the legacy limits for hobby and pro-trial before billing was added. This field is only set when the team is upgraded to a paid plan and we are backfilling the subscription status. We cap the subscription to 2 projects and set this field for the 3rd project. When this field is set, the project is not charged for and we do not call any billing APIs for this project." + } + }, + "required": [ + "isDefaultApp", + "updatedAt", + "groupIds", + "enabled" + ], + "type": "object" + }, + { + "properties": { "isDefaultApp": { + "type": "boolean" + }, + "routeObservabilityToThisProject": { + "type": "boolean", + "description": "Whether observability data should be routed to this microfrontend project or a root project." + }, + "doNotRouteWithMicrofrontendsRouting": { + "type": "boolean", + "description": "Whether to add microfrontends routing to aliases. This means domains in this project will route as a microfrontend." + }, + "updatedAt": { + "type": "number", + "description": "Timestamp when the microfrontends settings were last updated." + }, + "groupIds": { + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "string" + } + ] + }, + "maxItems": 2, + "minItems": 2, + "type": "array", + "description": "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." + }, + "enabled": { "type": "boolean", - "description": "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." + "description": "Whether microfrontends are enabled for this project." }, "defaultRoute": { "type": "string", "description": "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. Includes the leading slash, e.g. `/docs`" }, - "routeObservabilityToThisProject": { + "freeProjectForLegacyLimits": { "type": "boolean", - "description": "Whether observability data should be routed to this microfrontend project or a root project." + "description": "Whether the project was part of the legacy limits for hobby and pro-trial before billing was added. This field is only set when the team is upgraded to a paid plan and we are backfilling the subscription status. We cap the subscription to 2 projects and set this field for the 3rd project. When this field is set, the project is not charged for and we do not call any billing APIs for this project." } }, "required": [ @@ -35663,6 +47908,9 @@ }, "enabled": { "type": "boolean" + }, + "freeProjectForLegacyLimits": { + "type": "boolean" } }, "required": [ @@ -35680,6 +47928,7 @@ "nodeVersion": { "type": "string", "enum": [ + "24.x", "22.x", "20.x", "18.x", @@ -35914,6 +48163,28 @@ "skipGitConnectDuringLink": { "type": "boolean" }, + "staticIps": { + "properties": { + "builds": { + "type": "boolean" + }, + "enabled": { + "type": "boolean" + }, + "regions": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "builds", + "enabled", + "regions" + ], + "type": "object" + }, "sourceFilesOutsideRootDirectory": { "type": "boolean" }, @@ -36138,6 +48409,9 @@ }, "environment": { "type": "string" + }, + "plan": { + "type": "string" } }, "required": [ @@ -36149,7 +48423,8 @@ "owner_id", "project", "project_id", - "environment" + "environment", + "plan" ], "type": "object" }, @@ -36300,6 +48575,18 @@ }, "type": "array" }, + "agent": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, + "alerts": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, "aliasGlobal": { "items": { "$ref": "#/components/schemas/ACLAction" @@ -36318,6 +48605,42 @@ }, "type": "array" }, + "apiKey": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, + "apiKeyAiGateway": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, + "apiKeyOwnedBySelf": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, + "oauth2Application": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, + "vercelAppInstallation": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, + "vercelAppInstallationRequest": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, "auditLog": { "items": { "$ref": "#/components/schemas/ACLAction" @@ -36384,6 +48707,12 @@ }, "type": "array" }, + "blobStoreTokenSet": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, "budget": { "items": { "$ref": "#/components/schemas/ACLAction" @@ -36426,6 +48755,12 @@ }, "type": "array" }, + "dataCacheBillingSettings": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, "defaultDeploymentProtection": { "items": { "$ref": "#/components/schemas/ACLAction" @@ -36486,43 +48821,61 @@ }, "type": "array" }, - "event": { + "drain": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "ownEvent": { + "edgeConfig": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "sensitiveEnvironmentVariablePolicy": { + "edgeConfigItem": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "fileUpload": { + "edgeConfigSchema": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "flagsExplorerSubscription": { + "edgeConfigToken": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "gitRepository": { + "endpointVerification": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "ipBlocking": { + "event": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, + "fileUpload": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, + "flagsExplorerSubscription": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, + "gitRepository": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -36552,31 +48905,37 @@ }, "type": "array" }, - "integrationConfigurationTransfer": { + "integrationConfigurationProjects": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "integrationConfigurationProjects": { + "integrationConfigurationRole": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "integrationVercelConfigurationOverride": { + "integrationConfigurationTransfer": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "integrationConfigurationRole": { + "integrationDeploymentAction": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "integrationSSOSession": { + "integrationEvent": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, + "integrationLog": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -36588,7 +48947,7 @@ }, "type": "array" }, - "integrationEvent": { + "integrationResourceReplCommand": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -36600,37 +48959,49 @@ }, "type": "array" }, - "integrationDeploymentAction": { + "integrationSSOSession": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "marketplaceInstallationMember": { + "integrationStoreTokenSet": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "marketplaceBillingData": { + "integrationVercelConfigurationOverride": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "marketplaceInvoice": { + "integrationPullRequest": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "marketplaceSettings": { + "ipBlocking": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "marketplaceExperimentationItem": { + "jobGlobal": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, + "logDrain": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, + "marketplaceBillingData": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -36642,19 +49013,25 @@ }, "type": "array" }, - "jobGlobal": { + "marketplaceExperimentationItem": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "drain": { + "marketplaceInstallationMember": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "logDrain": { + "marketplaceInvoice": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, + "marketplaceSettings": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -36666,7 +49043,13 @@ }, "type": "array" }, - "monitoringSettings": { + "monitoringAlert": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, + "monitoringChart": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -36678,13 +49061,13 @@ }, "type": "array" }, - "monitoringChart": { + "monitoringSettings": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "monitoringAlert": { + "notificationCustomerBudget": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -36750,25 +49133,19 @@ }, "type": "array" }, - "notificationUsageAlert": { - "items": { - "$ref": "#/components/schemas/ACLAction" - }, - "type": "array" - }, "notificationPreferences": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "notificationCustomerBudget": { + "notificationStatementOfReasons": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "notificationStatementOfReasons": { + "notificationUsageAlert": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -36780,7 +49157,7 @@ }, "type": "array" }, - "alerts": { + "observabilityFunnel": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -36792,25 +49169,25 @@ }, "type": "array" }, - "observabilityFunnel": { + "openTelemetryEndpoint": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "openTelemetryEndpoint": { + "ownEvent": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "vercelAppInstallation": { + "organizationDomain": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "vercelAppInstallationRequest": { + "passwordProtectionInvoiceItem": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -36834,55 +49211,49 @@ }, "type": "array" }, - "previewDeploymentSuffix": { - "items": { - "$ref": "#/components/schemas/ACLAction" - }, - "type": "array" - }, - "proTrialOnboarding": { + "postgresStoreTokenSet": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "sharedEnvVars": { + "previewDeploymentSuffix": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "sharedEnvVarsProduction": { + "projectTransferIn": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "space": { + "proTrialOnboarding": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "spaceRun": { + "rateLimit": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "passwordProtectionInvoiceItem": { + "redis": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "rateLimit": { + "redisStoreTokenSet": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "redis": { + "remoteCaching": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -36894,12 +49265,6 @@ }, "type": "array" }, - "remoteCaching": { - "items": { - "$ref": "#/components/schemas/ACLAction" - }, - "type": "array" - }, "samlConfig": { "items": { "$ref": "#/components/schemas/ACLAction" @@ -36912,31 +49277,31 @@ }, "type": "array" }, - "redisStoreTokenSet": { + "sensitiveEnvironmentVariablePolicy": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "blobStoreTokenSet": { + "sharedEnvVars": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "postgresStoreTokenSet": { + "sharedEnvVarsProduction": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "integrationStoreTokenSet": { + "space": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "integrationResourceReplCommand": { + "spaceRun": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -36960,12 +49325,6 @@ }, "type": "array" }, - "dataCacheBillingSettings": { - "items": { - "$ref": "#/components/schemas/ACLAction" - }, - "type": "array" - }, "team": { "items": { "$ref": "#/components/schemas/ACLAction" @@ -37050,37 +49409,25 @@ }, "type": "array" }, - "vpcPeeringConnection": { - "items": { - "$ref": "#/components/schemas/ACLAction" - }, - "type": "array" - }, - "webAnalyticsPlan": { - "items": { - "$ref": "#/components/schemas/ACLAction" - }, - "type": "array" - }, - "edgeConfig": { + "vercelRun": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "edgeConfigItem": { + "vercelRunExec": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "edgeConfigSchema": { + "vpcPeeringConnection": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "edgeConfigToken": { + "webAnalyticsPlan": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -37098,54 +49445,6 @@ }, "type": "array" }, - "endpointVerification": { - "items": { - "$ref": "#/components/schemas/ACLAction" - }, - "type": "array" - }, - "projectTransferIn": { - "items": { - "$ref": "#/components/schemas/ACLAction" - }, - "type": "array" - }, - "oauth2Application": { - "items": { - "$ref": "#/components/schemas/ACLAction" - }, - "type": "array" - }, - "vercelRun": { - "items": { - "$ref": "#/components/schemas/ACLAction" - }, - "type": "array" - }, - "vercelRunExec": { - "items": { - "$ref": "#/components/schemas/ACLAction" - }, - "type": "array" - }, - "apiKey": { - "items": { - "$ref": "#/components/schemas/ACLAction" - }, - "type": "array" - }, - "apiKeyOwnedBySelf": { - "items": { - "$ref": "#/components/schemas/ACLAction" - }, - "type": "array" - }, - "apiKeyAiGateway": { - "items": { - "$ref": "#/components/schemas/ACLAction" - }, - "type": "array" - }, "aliasProject": { "items": { "$ref": "#/components/schemas/ACLAction" @@ -37164,12 +49463,6 @@ }, "type": "array" }, - "productionAliasProtectionBypass": { - "items": { - "$ref": "#/components/schemas/ACLAction" - }, - "type": "array" - }, "connectConfigurationLink": { "items": { "$ref": "#/components/schemas/ACLAction" @@ -37260,6 +49553,12 @@ }, "type": "array" }, + "job": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, "logs": { "items": { "$ref": "#/components/schemas/ACLAction" @@ -37272,37 +49571,37 @@ }, "type": "array" }, - "passwordProtection": { + "observabilityData": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "optionsAllowlist": { + "onDemandBuild": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "job": { + "onDemandConcurrency": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "observabilityData": { + "optionsAllowlist": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "onDemandBuild": { + "passwordProtection": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "onDemandConcurrency": { + "productionAliasProtectionBypass": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -37314,19 +49613,19 @@ }, "type": "array" }, - "projectFromV0": { + "projectAccessGroup": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "projectAccessGroup": { + "projectAnalyticsSampling": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "projectAnalyticsSampling": { + "projectAnalyticsUsage": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -37344,6 +49643,12 @@ }, "type": "array" }, + "projectDeploymentExpiration": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, "projectDeploymentHook": { "items": { "$ref": "#/components/schemas/ACLAction" @@ -37356,13 +49661,13 @@ }, "type": "array" }, - "projectDomainMove": { + "projectDomainCheckConfig": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "projectDomainCheckConfig": { + "projectDomainMove": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -37392,73 +49697,73 @@ }, "type": "array" }, - "projectId": { + "projectFlagsProduction": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "projectIntegrationConfiguration": { + "projectFromV0": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "projectLink": { + "projectId": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "projectMember": { + "projectIntegrationConfiguration": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "projectMonitoring": { + "projectLink": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "projectPermissions": { + "projectMember": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "projectProductionBranch": { + "projectMonitoring": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "projectTransfer": { + "projectOIDCToken": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "projectTransferOut": { + "projectPermissions": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "projectProtectionBypass": { + "projectProductionBranch": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "projectUsage": { + "projectProtectionBypass": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "projectAnalyticsUsage": { + "projectRollingRelease": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -37476,25 +49781,25 @@ }, "type": "array" }, - "projectDeploymentExpiration": { + "projectTier": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "projectRollingRelease": { + "projectTransfer": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "projectTier": { + "projectTransferOut": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "projectOIDCToken": { + "projectUsage": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -37506,43 +49811,37 @@ }, "type": "array" }, - "skewProtection": { - "items": { - "$ref": "#/components/schemas/ACLAction" - }, - "type": "array" - }, - "analytics": { + "sharedEnvVarConnection": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "trustedIps": { + "skewProtection": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "v0Chat": { + "analytics": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "webAnalytics": { + "trustedIps": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "sharedEnvVarConnection": { + "v0Chat": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "sonar": { + "webAnalytics": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -37757,6 +50056,10 @@ "disableRepositoryDispatchEvents": { "type": "boolean", "description": "Whether the Vercel bot should not automatically create GitHub repository-dispatch events on deployment events. https://vercel.com/docs/git/vercel-for-github#repository-dispatch-events" + }, + "requireVerifiedCommits": { + "type": "boolean", + "description": "Whether the project requires commits to be signed before deployments will be created." } }, "required": [ @@ -38380,6 +50683,9 @@ ] }, "type": "array" + }, + "interstitial": { + "type": "boolean" } }, "required": [ @@ -38501,6 +50807,86 @@ ] }, "type": "array" + }, + "hasDeployments": { + "type": "boolean" + }, + "dismissedToasts": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "dismissedAt": { + "type": "number" + }, + "action": { + "type": "string", + "enum": [ + "cancel", + "accept", + "delete" + ] + }, + "value": { + "nullable": true, + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "properties": { + "previousValue": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "currentValue": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + }, + "required": [ + "previousValue", + "currentValue" + ], + "type": "object" + } + ] + } + }, + "required": [ + "key", + "dismissedAt", + "action", + "value" + ], + "type": "object" + }, + "type": "array" } }, "required": [ @@ -38698,6 +51084,30 @@ "example": "1" } }, + { + "name": "staticIpsEnabled", + "description": "Filter results by projects with Static IPs enabled", + "in": "query", + "schema": { + "description": "Filter results by projects with Static IPs enabled", + "enum": [ + "0", + "1" + ], + "example": "1", + "type": "string" + } + }, + { + "name": "buildMachineTypes", + "description": "Filter results by build machine types. Accepts comma-separated values. Use \\\"default\\\" for projects without a build machine type set.", + "in": "query", + "schema": { + "description": "Filter results by build machine types. Accepts comma-separated values. Use \\\"default\\\" for projects without a build machine type set.", + "type": "string", + "example": "default,enhanced" + } + }, { "description": "The Team identifier to perform the request on behalf of.", "in": "query", @@ -39634,10 +52044,12 @@ "zola", "hydrogen", "vite", + "tanstack-start", "vitepress", "vuepress", "parcel", "fastapi", + "flask", "fasthtml", "sanity-v3", "sanity", @@ -39646,6 +52058,9 @@ "hono", "express", "h3", + "nestjs", + "elysia", + "fastify", "xmcp" ] }, @@ -39874,6 +52289,9 @@ }, "environment": { "type": "string" + }, + "plan": { + "type": "string" } }, "required": [ @@ -39885,7 +52303,8 @@ "owner_id", "project", "project_id", - "environment" + "environment", + "plan" ], "type": "object" }, @@ -40375,6 +52794,9 @@ "oneOf": [ { "properties": { + "isDefaultApp": { + "type": "boolean" + }, "updatedAt": { "type": "number", "description": "Timestamp when the microfrontends settings were last updated." @@ -40399,17 +52821,67 @@ "type": "boolean", "description": "Whether microfrontends are enabled for this project." }, + "defaultRoute": { + "type": "string", + "description": "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. Includes the leading slash, e.g. `/docs`" + }, + "freeProjectForLegacyLimits": { + "type": "boolean", + "description": "Whether the project was part of the legacy limits for hobby and pro-trial before billing was added. This field is only set when the team is upgraded to a paid plan and we are backfilling the subscription status. We cap the subscription to 2 projects and set this field for the 3rd project. When this field is set, the project is not charged for and we do not call any billing APIs for this project." + } + }, + "required": [ + "isDefaultApp", + "updatedAt", + "groupIds", + "enabled" + ], + "type": "object" + }, + { + "properties": { "isDefaultApp": { + "type": "boolean" + }, + "routeObservabilityToThisProject": { + "type": "boolean", + "description": "Whether observability data should be routed to this microfrontend project or a root project." + }, + "doNotRouteWithMicrofrontendsRouting": { "type": "boolean", - "description": "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." + "description": "Whether to add microfrontends routing to aliases. This means domains in this project will route as a microfrontend." + }, + "updatedAt": { + "type": "number", + "description": "Timestamp when the microfrontends settings were last updated." + }, + "groupIds": { + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "string" + } + ] + }, + "maxItems": 2, + "minItems": 2, + "type": "array", + "description": "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." + }, + "enabled": { + "type": "boolean", + "description": "Whether microfrontends are enabled for this project." }, "defaultRoute": { "type": "string", "description": "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. Includes the leading slash, e.g. `/docs`" }, - "routeObservabilityToThisProject": { + "freeProjectForLegacyLimits": { "type": "boolean", - "description": "Whether observability data should be routed to this microfrontend project or a root project." + "description": "Whether the project was part of the legacy limits for hobby and pro-trial before billing was added. This field is only set when the team is upgraded to a paid plan and we are backfilling the subscription status. We cap the subscription to 2 projects and set this field for the 3rd project. When this field is set, the project is not charged for and we do not call any billing APIs for this project." } }, "required": [ @@ -40434,6 +52906,9 @@ }, "enabled": { "type": "boolean" + }, + "freeProjectForLegacyLimits": { + "type": "boolean" } }, "required": [ @@ -40451,6 +52926,7 @@ "nodeVersion": { "type": "string", "enum": [ + "24.x", "22.x", "20.x", "18.x", @@ -40685,6 +53161,28 @@ "skipGitConnectDuringLink": { "type": "boolean" }, + "staticIps": { + "properties": { + "builds": { + "type": "boolean" + }, + "enabled": { + "type": "boolean" + }, + "regions": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "builds", + "enabled", + "regions" + ], + "type": "object" + }, "sourceFilesOutsideRootDirectory": { "type": "boolean" }, @@ -40909,6 +53407,9 @@ }, "environment": { "type": "string" + }, + "plan": { + "type": "string" } }, "required": [ @@ -40920,7 +53421,8 @@ "owner_id", "project", "project_id", - "environment" + "environment", + "plan" ], "type": "object" }, @@ -41071,6 +53573,18 @@ }, "type": "array" }, + "agent": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, + "alerts": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, "aliasGlobal": { "items": { "$ref": "#/components/schemas/ACLAction" @@ -41089,6 +53603,42 @@ }, "type": "array" }, + "apiKey": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, + "apiKeyAiGateway": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, + "apiKeyOwnedBySelf": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, + "oauth2Application": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, + "vercelAppInstallation": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, + "vercelAppInstallationRequest": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, "auditLog": { "items": { "$ref": "#/components/schemas/ACLAction" @@ -41155,6 +53705,12 @@ }, "type": "array" }, + "blobStoreTokenSet": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, "budget": { "items": { "$ref": "#/components/schemas/ACLAction" @@ -41197,6 +53753,12 @@ }, "type": "array" }, + "dataCacheBillingSettings": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, "defaultDeploymentProtection": { "items": { "$ref": "#/components/schemas/ACLAction" @@ -41257,43 +53819,61 @@ }, "type": "array" }, - "event": { + "drain": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "ownEvent": { + "edgeConfig": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "sensitiveEnvironmentVariablePolicy": { + "edgeConfigItem": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "fileUpload": { + "edgeConfigSchema": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "flagsExplorerSubscription": { + "edgeConfigToken": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "gitRepository": { + "endpointVerification": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "ipBlocking": { + "event": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, + "fileUpload": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, + "flagsExplorerSubscription": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, + "gitRepository": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -41323,31 +53903,37 @@ }, "type": "array" }, - "integrationConfigurationTransfer": { + "integrationConfigurationProjects": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "integrationConfigurationProjects": { + "integrationConfigurationRole": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "integrationVercelConfigurationOverride": { + "integrationConfigurationTransfer": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "integrationConfigurationRole": { + "integrationDeploymentAction": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "integrationSSOSession": { + "integrationEvent": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, + "integrationLog": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -41359,7 +53945,7 @@ }, "type": "array" }, - "integrationEvent": { + "integrationResourceReplCommand": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -41371,37 +53957,49 @@ }, "type": "array" }, - "integrationDeploymentAction": { + "integrationSSOSession": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "marketplaceInstallationMember": { + "integrationStoreTokenSet": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "marketplaceBillingData": { + "integrationVercelConfigurationOverride": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "marketplaceInvoice": { + "integrationPullRequest": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "marketplaceSettings": { + "ipBlocking": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "marketplaceExperimentationItem": { + "jobGlobal": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, + "logDrain": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, + "marketplaceBillingData": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -41413,19 +54011,25 @@ }, "type": "array" }, - "jobGlobal": { + "marketplaceExperimentationItem": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "drain": { + "marketplaceInstallationMember": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "logDrain": { + "marketplaceInvoice": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, + "marketplaceSettings": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -41437,7 +54041,13 @@ }, "type": "array" }, - "monitoringSettings": { + "monitoringAlert": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, + "monitoringChart": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -41449,13 +54059,13 @@ }, "type": "array" }, - "monitoringChart": { + "monitoringSettings": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "monitoringAlert": { + "notificationCustomerBudget": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -41521,25 +54131,19 @@ }, "type": "array" }, - "notificationUsageAlert": { - "items": { - "$ref": "#/components/schemas/ACLAction" - }, - "type": "array" - }, "notificationPreferences": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "notificationCustomerBudget": { + "notificationStatementOfReasons": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "notificationStatementOfReasons": { + "notificationUsageAlert": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -41551,7 +54155,7 @@ }, "type": "array" }, - "alerts": { + "observabilityFunnel": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -41563,25 +54167,25 @@ }, "type": "array" }, - "observabilityFunnel": { + "openTelemetryEndpoint": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "openTelemetryEndpoint": { + "ownEvent": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "vercelAppInstallation": { + "organizationDomain": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "vercelAppInstallationRequest": { + "passwordProtectionInvoiceItem": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -41605,55 +54209,49 @@ }, "type": "array" }, - "previewDeploymentSuffix": { - "items": { - "$ref": "#/components/schemas/ACLAction" - }, - "type": "array" - }, - "proTrialOnboarding": { + "postgresStoreTokenSet": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "sharedEnvVars": { + "previewDeploymentSuffix": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "sharedEnvVarsProduction": { + "projectTransferIn": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "space": { + "proTrialOnboarding": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "spaceRun": { + "rateLimit": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "passwordProtectionInvoiceItem": { + "redis": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "rateLimit": { + "redisStoreTokenSet": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "redis": { + "remoteCaching": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -41665,12 +54263,6 @@ }, "type": "array" }, - "remoteCaching": { - "items": { - "$ref": "#/components/schemas/ACLAction" - }, - "type": "array" - }, "samlConfig": { "items": { "$ref": "#/components/schemas/ACLAction" @@ -41683,31 +54275,31 @@ }, "type": "array" }, - "redisStoreTokenSet": { + "sensitiveEnvironmentVariablePolicy": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "blobStoreTokenSet": { + "sharedEnvVars": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "postgresStoreTokenSet": { + "sharedEnvVarsProduction": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "integrationStoreTokenSet": { + "space": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "integrationResourceReplCommand": { + "spaceRun": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -41731,12 +54323,6 @@ }, "type": "array" }, - "dataCacheBillingSettings": { - "items": { - "$ref": "#/components/schemas/ACLAction" - }, - "type": "array" - }, "team": { "items": { "$ref": "#/components/schemas/ACLAction" @@ -41821,37 +54407,25 @@ }, "type": "array" }, - "vpcPeeringConnection": { - "items": { - "$ref": "#/components/schemas/ACLAction" - }, - "type": "array" - }, - "webAnalyticsPlan": { - "items": { - "$ref": "#/components/schemas/ACLAction" - }, - "type": "array" - }, - "edgeConfig": { + "vercelRun": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "edgeConfigItem": { + "vercelRunExec": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "edgeConfigSchema": { + "vpcPeeringConnection": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "edgeConfigToken": { + "webAnalyticsPlan": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -41869,54 +54443,6 @@ }, "type": "array" }, - "endpointVerification": { - "items": { - "$ref": "#/components/schemas/ACLAction" - }, - "type": "array" - }, - "projectTransferIn": { - "items": { - "$ref": "#/components/schemas/ACLAction" - }, - "type": "array" - }, - "oauth2Application": { - "items": { - "$ref": "#/components/schemas/ACLAction" - }, - "type": "array" - }, - "vercelRun": { - "items": { - "$ref": "#/components/schemas/ACLAction" - }, - "type": "array" - }, - "vercelRunExec": { - "items": { - "$ref": "#/components/schemas/ACLAction" - }, - "type": "array" - }, - "apiKey": { - "items": { - "$ref": "#/components/schemas/ACLAction" - }, - "type": "array" - }, - "apiKeyOwnedBySelf": { - "items": { - "$ref": "#/components/schemas/ACLAction" - }, - "type": "array" - }, - "apiKeyAiGateway": { - "items": { - "$ref": "#/components/schemas/ACLAction" - }, - "type": "array" - }, "aliasProject": { "items": { "$ref": "#/components/schemas/ACLAction" @@ -41935,12 +54461,6 @@ }, "type": "array" }, - "productionAliasProtectionBypass": { - "items": { - "$ref": "#/components/schemas/ACLAction" - }, - "type": "array" - }, "connectConfigurationLink": { "items": { "$ref": "#/components/schemas/ACLAction" @@ -42031,6 +54551,12 @@ }, "type": "array" }, + "job": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, "logs": { "items": { "$ref": "#/components/schemas/ACLAction" @@ -42043,37 +54569,37 @@ }, "type": "array" }, - "passwordProtection": { + "observabilityData": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "optionsAllowlist": { + "onDemandBuild": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "job": { + "onDemandConcurrency": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "observabilityData": { + "optionsAllowlist": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "onDemandBuild": { + "passwordProtection": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "onDemandConcurrency": { + "productionAliasProtectionBypass": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -42085,19 +54611,19 @@ }, "type": "array" }, - "projectFromV0": { + "projectAccessGroup": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "projectAccessGroup": { + "projectAnalyticsSampling": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "projectAnalyticsSampling": { + "projectAnalyticsUsage": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -42115,6 +54641,12 @@ }, "type": "array" }, + "projectDeploymentExpiration": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, "projectDeploymentHook": { "items": { "$ref": "#/components/schemas/ACLAction" @@ -42127,13 +54659,13 @@ }, "type": "array" }, - "projectDomainMove": { + "projectDomainCheckConfig": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "projectDomainCheckConfig": { + "projectDomainMove": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -42163,73 +54695,73 @@ }, "type": "array" }, - "projectId": { + "projectFlagsProduction": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "projectIntegrationConfiguration": { + "projectFromV0": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "projectLink": { + "projectId": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "projectMember": { + "projectIntegrationConfiguration": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "projectMonitoring": { + "projectLink": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "projectPermissions": { + "projectMember": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "projectProductionBranch": { + "projectMonitoring": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "projectTransfer": { + "projectOIDCToken": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "projectTransferOut": { + "projectPermissions": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "projectProtectionBypass": { + "projectProductionBranch": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "projectUsage": { + "projectProtectionBypass": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "projectAnalyticsUsage": { + "projectRollingRelease": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -42247,25 +54779,25 @@ }, "type": "array" }, - "projectDeploymentExpiration": { + "projectTier": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "projectRollingRelease": { + "projectTransfer": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "projectTier": { + "projectTransferOut": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "projectOIDCToken": { + "projectUsage": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -42277,43 +54809,37 @@ }, "type": "array" }, - "skewProtection": { - "items": { - "$ref": "#/components/schemas/ACLAction" - }, - "type": "array" - }, - "analytics": { + "sharedEnvVarConnection": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "trustedIps": { + "skewProtection": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "v0Chat": { + "analytics": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "webAnalytics": { + "trustedIps": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "sharedEnvVarConnection": { + "v0Chat": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "sonar": { + "webAnalytics": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -42528,6 +55054,10 @@ "disableRepositoryDispatchEvents": { "type": "boolean", "description": "Whether the Vercel bot should not automatically create GitHub repository-dispatch events on deployment events. https://vercel.com/docs/git/vercel-for-github#repository-dispatch-events" + }, + "requireVerifiedCommits": { + "type": "boolean", + "description": "Whether the project requires commits to be signed before deployments will be created." } }, "required": [ @@ -43151,6 +55681,9 @@ ] }, "type": "array" + }, + "interstitial": { + "type": "boolean" } }, "required": [ @@ -43272,6 +55805,86 @@ ] }, "type": "array" + }, + "hasDeployments": { + "type": "boolean" + }, + "dismissedToasts": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "dismissedAt": { + "type": "number" + }, + "action": { + "type": "string", + "enum": [ + "cancel", + "accept", + "delete" + ] + }, + "value": { + "nullable": true, + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "properties": { + "previousValue": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "currentValue": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + }, + "required": [ + "previousValue", + "currentValue" + ], + "type": "object" + } + ] + } + }, + "required": [ + "key", + "dismissedAt", + "action", + "value" + ], + "type": "object" + }, + "type": "array" } }, "required": [ @@ -43505,10 +56118,12 @@ "zola", "hydrogen", "vite", + "tanstack-start", "vitepress", "vuepress", "parcel", "fastapi", + "flask", "fasthtml", "sanity-v3", "sanity", @@ -43517,6 +56132,9 @@ "hono", "express", "h3", + "nestjs", + "elysia", + "fastify", "xmcp" ] }, @@ -44645,10 +57263,12 @@ "zola", "hydrogen", "vite", + "tanstack-start", "vitepress", "vuepress", "parcel", "fastapi", + "flask", "fasthtml", "sanity-v3", "sanity", @@ -44657,6 +57277,9 @@ "hono", "express", "h3", + "nestjs", + "elysia", + "fastify", "xmcp" ] }, @@ -44885,6 +57508,9 @@ }, "environment": { "type": "string" + }, + "plan": { + "type": "string" } }, "required": [ @@ -44896,7 +57522,8 @@ "owner_id", "project", "project_id", - "environment" + "environment", + "plan" ], "type": "object" }, @@ -45386,6 +58013,9 @@ "oneOf": [ { "properties": { + "isDefaultApp": { + "type": "boolean" + }, "updatedAt": { "type": "number", "description": "Timestamp when the microfrontends settings were last updated." @@ -45410,17 +58040,67 @@ "type": "boolean", "description": "Whether microfrontends are enabled for this project." }, + "defaultRoute": { + "type": "string", + "description": "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. Includes the leading slash, e.g. `/docs`" + }, + "freeProjectForLegacyLimits": { + "type": "boolean", + "description": "Whether the project was part of the legacy limits for hobby and pro-trial before billing was added. This field is only set when the team is upgraded to a paid plan and we are backfilling the subscription status. We cap the subscription to 2 projects and set this field for the 3rd project. When this field is set, the project is not charged for and we do not call any billing APIs for this project." + } + }, + "required": [ + "isDefaultApp", + "updatedAt", + "groupIds", + "enabled" + ], + "type": "object" + }, + { + "properties": { "isDefaultApp": { + "type": "boolean" + }, + "routeObservabilityToThisProject": { + "type": "boolean", + "description": "Whether observability data should be routed to this microfrontend project or a root project." + }, + "doNotRouteWithMicrofrontendsRouting": { + "type": "boolean", + "description": "Whether to add microfrontends routing to aliases. This means domains in this project will route as a microfrontend." + }, + "updatedAt": { + "type": "number", + "description": "Timestamp when the microfrontends settings were last updated." + }, + "groupIds": { + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "string" + } + ] + }, + "maxItems": 2, + "minItems": 2, + "type": "array", + "description": "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." + }, + "enabled": { "type": "boolean", - "description": "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." + "description": "Whether microfrontends are enabled for this project." }, "defaultRoute": { "type": "string", "description": "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. Includes the leading slash, e.g. `/docs`" }, - "routeObservabilityToThisProject": { + "freeProjectForLegacyLimits": { "type": "boolean", - "description": "Whether observability data should be routed to this microfrontend project or a root project." + "description": "Whether the project was part of the legacy limits for hobby and pro-trial before billing was added. This field is only set when the team is upgraded to a paid plan and we are backfilling the subscription status. We cap the subscription to 2 projects and set this field for the 3rd project. When this field is set, the project is not charged for and we do not call any billing APIs for this project." } }, "required": [ @@ -45445,6 +58125,9 @@ }, "enabled": { "type": "boolean" + }, + "freeProjectForLegacyLimits": { + "type": "boolean" } }, "required": [ @@ -45462,6 +58145,7 @@ "nodeVersion": { "type": "string", "enum": [ + "24.x", "22.x", "20.x", "18.x", @@ -45696,6 +58380,28 @@ "skipGitConnectDuringLink": { "type": "boolean" }, + "staticIps": { + "properties": { + "builds": { + "type": "boolean" + }, + "enabled": { + "type": "boolean" + }, + "regions": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "builds", + "enabled", + "regions" + ], + "type": "object" + }, "sourceFilesOutsideRootDirectory": { "type": "boolean" }, @@ -45920,6 +58626,9 @@ }, "environment": { "type": "string" + }, + "plan": { + "type": "string" } }, "required": [ @@ -45931,7 +58640,8 @@ "owner_id", "project", "project_id", - "environment" + "environment", + "plan" ], "type": "object" }, @@ -46064,12 +58774,6 @@ }, "type": "array" }, - "productionAliasProtectionBypass": { - "items": { - "$ref": "#/components/schemas/ACLAction" - }, - "type": "array" - }, "connectConfigurationLink": { "items": { "$ref": "#/components/schemas/ACLAction" @@ -46160,6 +58864,12 @@ }, "type": "array" }, + "job": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, "logs": { "items": { "$ref": "#/components/schemas/ACLAction" @@ -46172,37 +58882,37 @@ }, "type": "array" }, - "passwordProtection": { + "observabilityData": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "optionsAllowlist": { + "onDemandBuild": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "job": { + "onDemandConcurrency": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "observabilityData": { + "optionsAllowlist": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "onDemandBuild": { + "passwordProtection": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "onDemandConcurrency": { + "productionAliasProtectionBypass": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -46214,19 +58924,19 @@ }, "type": "array" }, - "projectFromV0": { + "projectAccessGroup": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "projectAccessGroup": { + "projectAnalyticsSampling": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "projectAnalyticsSampling": { + "projectAnalyticsUsage": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -46244,6 +58954,12 @@ }, "type": "array" }, + "projectDeploymentExpiration": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, "projectDeploymentHook": { "items": { "$ref": "#/components/schemas/ACLAction" @@ -46256,13 +58972,13 @@ }, "type": "array" }, - "projectDomainMove": { + "projectDomainCheckConfig": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "projectDomainCheckConfig": { + "projectDomainMove": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -46292,73 +59008,73 @@ }, "type": "array" }, - "projectId": { + "projectFlagsProduction": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "projectIntegrationConfiguration": { + "projectFromV0": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "projectLink": { + "projectId": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "projectMember": { + "projectIntegrationConfiguration": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "projectMonitoring": { + "projectLink": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "projectPermissions": { + "projectMember": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "projectProductionBranch": { + "projectMonitoring": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "projectTransfer": { + "projectOIDCToken": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "projectTransferOut": { + "projectPermissions": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "projectProtectionBypass": { + "projectProductionBranch": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "projectUsage": { + "projectProtectionBypass": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "projectAnalyticsUsage": { + "projectRollingRelease": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -46376,25 +59092,25 @@ }, "type": "array" }, - "projectDeploymentExpiration": { + "projectTier": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "projectRollingRelease": { + "projectTransfer": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "projectTier": { + "projectTransferOut": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "projectOIDCToken": { + "projectUsage": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -46406,6 +59122,12 @@ }, "type": "array" }, + "sharedEnvVarConnection": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, "skewProtection": { "items": { "$ref": "#/components/schemas/ACLAction" @@ -46436,19 +59158,19 @@ }, "type": "array" }, - "sharedEnvVarConnection": { + "accessGroup": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "sonar": { + "agent": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "accessGroup": { + "alerts": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -46472,6 +59194,42 @@ }, "type": "array" }, + "apiKey": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, + "apiKeyAiGateway": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, + "apiKeyOwnedBySelf": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, + "oauth2Application": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, + "vercelAppInstallation": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, + "vercelAppInstallationRequest": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, "auditLog": { "items": { "$ref": "#/components/schemas/ACLAction" @@ -46538,6 +59296,12 @@ }, "type": "array" }, + "blobStoreTokenSet": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, "budget": { "items": { "$ref": "#/components/schemas/ACLAction" @@ -46580,6 +59344,12 @@ }, "type": "array" }, + "dataCacheBillingSettings": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, "defaultDeploymentProtection": { "items": { "$ref": "#/components/schemas/ACLAction" @@ -46640,43 +59410,61 @@ }, "type": "array" }, - "event": { + "drain": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "ownEvent": { + "edgeConfig": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "sensitiveEnvironmentVariablePolicy": { + "edgeConfigItem": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "fileUpload": { + "edgeConfigSchema": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "flagsExplorerSubscription": { + "edgeConfigToken": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "gitRepository": { + "endpointVerification": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "ipBlocking": { + "event": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, + "fileUpload": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, + "flagsExplorerSubscription": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, + "gitRepository": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -46706,31 +59494,37 @@ }, "type": "array" }, - "integrationConfigurationTransfer": { + "integrationConfigurationProjects": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "integrationConfigurationProjects": { + "integrationConfigurationRole": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "integrationVercelConfigurationOverride": { + "integrationConfigurationTransfer": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "integrationConfigurationRole": { + "integrationDeploymentAction": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "integrationSSOSession": { + "integrationEvent": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, + "integrationLog": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -46742,7 +59536,7 @@ }, "type": "array" }, - "integrationEvent": { + "integrationResourceReplCommand": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -46754,37 +59548,49 @@ }, "type": "array" }, - "integrationDeploymentAction": { + "integrationSSOSession": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "marketplaceInstallationMember": { + "integrationStoreTokenSet": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "marketplaceBillingData": { + "integrationVercelConfigurationOverride": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "marketplaceInvoice": { + "integrationPullRequest": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "marketplaceSettings": { + "ipBlocking": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "marketplaceExperimentationItem": { + "jobGlobal": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, + "logDrain": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, + "marketplaceBillingData": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -46796,19 +59602,25 @@ }, "type": "array" }, - "jobGlobal": { + "marketplaceExperimentationItem": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "drain": { + "marketplaceInstallationMember": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "logDrain": { + "marketplaceInvoice": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, + "marketplaceSettings": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -46820,7 +59632,13 @@ }, "type": "array" }, - "monitoringSettings": { + "monitoringAlert": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, + "monitoringChart": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -46832,13 +59650,13 @@ }, "type": "array" }, - "monitoringChart": { + "monitoringSettings": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "monitoringAlert": { + "notificationCustomerBudget": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -46904,25 +59722,19 @@ }, "type": "array" }, - "notificationUsageAlert": { - "items": { - "$ref": "#/components/schemas/ACLAction" - }, - "type": "array" - }, "notificationPreferences": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "notificationCustomerBudget": { + "notificationStatementOfReasons": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "notificationStatementOfReasons": { + "notificationUsageAlert": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -46934,7 +59746,7 @@ }, "type": "array" }, - "alerts": { + "observabilityFunnel": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -46946,25 +59758,25 @@ }, "type": "array" }, - "observabilityFunnel": { + "openTelemetryEndpoint": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "openTelemetryEndpoint": { + "ownEvent": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "vercelAppInstallation": { + "organizationDomain": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "vercelAppInstallationRequest": { + "passwordProtectionInvoiceItem": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -46988,55 +59800,49 @@ }, "type": "array" }, - "previewDeploymentSuffix": { - "items": { - "$ref": "#/components/schemas/ACLAction" - }, - "type": "array" - }, - "proTrialOnboarding": { + "postgresStoreTokenSet": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "sharedEnvVars": { + "previewDeploymentSuffix": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "sharedEnvVarsProduction": { + "projectTransferIn": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "space": { + "proTrialOnboarding": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "spaceRun": { + "rateLimit": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "passwordProtectionInvoiceItem": { + "redis": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "rateLimit": { + "redisStoreTokenSet": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "redis": { + "remoteCaching": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -47048,12 +59854,6 @@ }, "type": "array" }, - "remoteCaching": { - "items": { - "$ref": "#/components/schemas/ACLAction" - }, - "type": "array" - }, "samlConfig": { "items": { "$ref": "#/components/schemas/ACLAction" @@ -47066,31 +59866,31 @@ }, "type": "array" }, - "redisStoreTokenSet": { + "sensitiveEnvironmentVariablePolicy": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "blobStoreTokenSet": { + "sharedEnvVars": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "postgresStoreTokenSet": { + "sharedEnvVarsProduction": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "integrationStoreTokenSet": { + "space": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "integrationResourceReplCommand": { + "spaceRun": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -47114,12 +59914,6 @@ }, "type": "array" }, - "dataCacheBillingSettings": { - "items": { - "$ref": "#/components/schemas/ACLAction" - }, - "type": "array" - }, "team": { "items": { "$ref": "#/components/schemas/ACLAction" @@ -47204,37 +59998,25 @@ }, "type": "array" }, - "vpcPeeringConnection": { - "items": { - "$ref": "#/components/schemas/ACLAction" - }, - "type": "array" - }, - "webAnalyticsPlan": { - "items": { - "$ref": "#/components/schemas/ACLAction" - }, - "type": "array" - }, - "edgeConfig": { + "vercelRun": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "edgeConfigItem": { + "vercelRunExec": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "edgeConfigSchema": { + "vpcPeeringConnection": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "edgeConfigToken": { + "webAnalyticsPlan": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -47252,54 +60034,6 @@ }, "type": "array" }, - "endpointVerification": { - "items": { - "$ref": "#/components/schemas/ACLAction" - }, - "type": "array" - }, - "projectTransferIn": { - "items": { - "$ref": "#/components/schemas/ACLAction" - }, - "type": "array" - }, - "oauth2Application": { - "items": { - "$ref": "#/components/schemas/ACLAction" - }, - "type": "array" - }, - "vercelRun": { - "items": { - "$ref": "#/components/schemas/ACLAction" - }, - "type": "array" - }, - "vercelRunExec": { - "items": { - "$ref": "#/components/schemas/ACLAction" - }, - "type": "array" - }, - "apiKey": { - "items": { - "$ref": "#/components/schemas/ACLAction" - }, - "type": "array" - }, - "apiKeyOwnedBySelf": { - "items": { - "$ref": "#/components/schemas/ACLAction" - }, - "type": "array" - }, - "apiKeyAiGateway": { - "items": { - "$ref": "#/components/schemas/ACLAction" - }, - "type": "array" - }, "oauth2Connection": { "items": { "$ref": "#/components/schemas/ACLAction" @@ -47539,6 +60273,10 @@ "disableRepositoryDispatchEvents": { "type": "boolean", "description": "Whether the Vercel bot should not automatically create GitHub repository-dispatch events on deployment events. https://vercel.com/docs/git/vercel-for-github#repository-dispatch-events" + }, + "requireVerifiedCommits": { + "type": "boolean", + "description": "Whether the project requires commits to be signed before deployments will be created." } }, "required": [ @@ -48162,6 +60900,9 @@ ] }, "type": "array" + }, + "interstitial": { + "type": "boolean" } }, "required": [ @@ -48283,6 +61024,86 @@ ] }, "type": "array" + }, + "hasDeployments": { + "type": "boolean" + }, + "dismissedToasts": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "dismissedAt": { + "type": "number" + }, + "action": { + "type": "string", + "enum": [ + "cancel", + "accept", + "delete" + ] + }, + "value": { + "nullable": true, + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "properties": { + "previousValue": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "currentValue": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + }, + "required": [ + "previousValue", + "currentValue" + ], + "type": "object" + } + ] + } + }, + "required": [ + "key", + "dismissedAt", + "action", + "value" + ], + "type": "object" + }, + "type": "array" } }, "required": [ @@ -49266,10 +62087,12 @@ "zola", "hydrogen", "vite", + "tanstack-start", "vitepress", "vuepress", "parcel", "fastapi", + "flask", "fasthtml", "sanity-v3", "sanity", @@ -49278,6 +62101,9 @@ "hono", "express", "h3", + "nestjs", + "elysia", + "fastify", "xmcp" ] }, @@ -49506,6 +62332,9 @@ }, "environment": { "type": "string" + }, + "plan": { + "type": "string" } }, "required": [ @@ -49517,7 +62346,8 @@ "owner_id", "project", "project_id", - "environment" + "environment", + "plan" ], "type": "object" }, @@ -50007,6 +62837,9 @@ "oneOf": [ { "properties": { + "isDefaultApp": { + "type": "boolean" + }, "updatedAt": { "type": "number", "description": "Timestamp when the microfrontends settings were last updated." @@ -50031,17 +62864,67 @@ "type": "boolean", "description": "Whether microfrontends are enabled for this project." }, + "defaultRoute": { + "type": "string", + "description": "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. Includes the leading slash, e.g. `/docs`" + }, + "freeProjectForLegacyLimits": { + "type": "boolean", + "description": "Whether the project was part of the legacy limits for hobby and pro-trial before billing was added. This field is only set when the team is upgraded to a paid plan and we are backfilling the subscription status. We cap the subscription to 2 projects and set this field for the 3rd project. When this field is set, the project is not charged for and we do not call any billing APIs for this project." + } + }, + "required": [ + "isDefaultApp", + "updatedAt", + "groupIds", + "enabled" + ], + "type": "object" + }, + { + "properties": { "isDefaultApp": { + "type": "boolean" + }, + "routeObservabilityToThisProject": { "type": "boolean", - "description": "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." + "description": "Whether observability data should be routed to this microfrontend project or a root project." + }, + "doNotRouteWithMicrofrontendsRouting": { + "type": "boolean", + "description": "Whether to add microfrontends routing to aliases. This means domains in this project will route as a microfrontend." + }, + "updatedAt": { + "type": "number", + "description": "Timestamp when the microfrontends settings were last updated." + }, + "groupIds": { + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "string" + } + ] + }, + "maxItems": 2, + "minItems": 2, + "type": "array", + "description": "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." + }, + "enabled": { + "type": "boolean", + "description": "Whether microfrontends are enabled for this project." }, "defaultRoute": { "type": "string", "description": "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. Includes the leading slash, e.g. `/docs`" }, - "routeObservabilityToThisProject": { + "freeProjectForLegacyLimits": { "type": "boolean", - "description": "Whether observability data should be routed to this microfrontend project or a root project." + "description": "Whether the project was part of the legacy limits for hobby and pro-trial before billing was added. This field is only set when the team is upgraded to a paid plan and we are backfilling the subscription status. We cap the subscription to 2 projects and set this field for the 3rd project. When this field is set, the project is not charged for and we do not call any billing APIs for this project." } }, "required": [ @@ -50066,6 +62949,9 @@ }, "enabled": { "type": "boolean" + }, + "freeProjectForLegacyLimits": { + "type": "boolean" } }, "required": [ @@ -50083,6 +62969,7 @@ "nodeVersion": { "type": "string", "enum": [ + "24.x", "22.x", "20.x", "18.x", @@ -50317,6 +63204,28 @@ "skipGitConnectDuringLink": { "type": "boolean" }, + "staticIps": { + "properties": { + "builds": { + "type": "boolean" + }, + "enabled": { + "type": "boolean" + }, + "regions": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "builds", + "enabled", + "regions" + ], + "type": "object" + }, "sourceFilesOutsideRootDirectory": { "type": "boolean" }, @@ -50541,6 +63450,9 @@ }, "environment": { "type": "string" + }, + "plan": { + "type": "string" } }, "required": [ @@ -50552,7 +63464,8 @@ "owner_id", "project", "project_id", - "environment" + "environment", + "plan" ], "type": "object" }, @@ -50703,6 +63616,18 @@ }, "type": "array" }, + "agent": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, + "alerts": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, "aliasGlobal": { "items": { "$ref": "#/components/schemas/ACLAction" @@ -50721,6 +63646,42 @@ }, "type": "array" }, + "apiKey": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, + "apiKeyAiGateway": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, + "apiKeyOwnedBySelf": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, + "oauth2Application": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, + "vercelAppInstallation": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, + "vercelAppInstallationRequest": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, "auditLog": { "items": { "$ref": "#/components/schemas/ACLAction" @@ -50787,6 +63748,12 @@ }, "type": "array" }, + "blobStoreTokenSet": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, "budget": { "items": { "$ref": "#/components/schemas/ACLAction" @@ -50829,6 +63796,12 @@ }, "type": "array" }, + "dataCacheBillingSettings": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, "defaultDeploymentProtection": { "items": { "$ref": "#/components/schemas/ACLAction" @@ -50889,43 +63862,61 @@ }, "type": "array" }, - "event": { + "drain": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "ownEvent": { + "edgeConfig": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "sensitiveEnvironmentVariablePolicy": { + "edgeConfigItem": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "fileUpload": { + "edgeConfigSchema": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "flagsExplorerSubscription": { + "edgeConfigToken": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "gitRepository": { + "endpointVerification": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "ipBlocking": { + "event": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, + "fileUpload": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, + "flagsExplorerSubscription": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, + "gitRepository": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -50955,31 +63946,37 @@ }, "type": "array" }, - "integrationConfigurationTransfer": { + "integrationConfigurationProjects": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "integrationConfigurationProjects": { + "integrationConfigurationRole": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "integrationVercelConfigurationOverride": { + "integrationConfigurationTransfer": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "integrationConfigurationRole": { + "integrationDeploymentAction": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "integrationSSOSession": { + "integrationEvent": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, + "integrationLog": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -50991,7 +63988,7 @@ }, "type": "array" }, - "integrationEvent": { + "integrationResourceReplCommand": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -51003,37 +64000,49 @@ }, "type": "array" }, - "integrationDeploymentAction": { + "integrationSSOSession": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "marketplaceInstallationMember": { + "integrationStoreTokenSet": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "marketplaceBillingData": { + "integrationVercelConfigurationOverride": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "marketplaceInvoice": { + "integrationPullRequest": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "marketplaceSettings": { + "ipBlocking": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "marketplaceExperimentationItem": { + "jobGlobal": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, + "logDrain": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, + "marketplaceBillingData": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -51045,19 +64054,25 @@ }, "type": "array" }, - "jobGlobal": { + "marketplaceExperimentationItem": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "drain": { + "marketplaceInstallationMember": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "logDrain": { + "marketplaceInvoice": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, + "marketplaceSettings": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -51069,7 +64084,13 @@ }, "type": "array" }, - "monitoringSettings": { + "monitoringAlert": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, + "monitoringChart": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -51081,13 +64102,13 @@ }, "type": "array" }, - "monitoringChart": { + "monitoringSettings": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "monitoringAlert": { + "notificationCustomerBudget": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -51153,25 +64174,19 @@ }, "type": "array" }, - "notificationUsageAlert": { - "items": { - "$ref": "#/components/schemas/ACLAction" - }, - "type": "array" - }, "notificationPreferences": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "notificationCustomerBudget": { + "notificationStatementOfReasons": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "notificationStatementOfReasons": { + "notificationUsageAlert": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -51183,7 +64198,7 @@ }, "type": "array" }, - "alerts": { + "observabilityFunnel": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -51195,25 +64210,25 @@ }, "type": "array" }, - "observabilityFunnel": { + "openTelemetryEndpoint": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "openTelemetryEndpoint": { + "ownEvent": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "vercelAppInstallation": { + "organizationDomain": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "vercelAppInstallationRequest": { + "passwordProtectionInvoiceItem": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -51237,55 +64252,49 @@ }, "type": "array" }, - "previewDeploymentSuffix": { - "items": { - "$ref": "#/components/schemas/ACLAction" - }, - "type": "array" - }, - "proTrialOnboarding": { + "postgresStoreTokenSet": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "sharedEnvVars": { + "previewDeploymentSuffix": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "sharedEnvVarsProduction": { + "projectTransferIn": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "space": { + "proTrialOnboarding": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "spaceRun": { + "rateLimit": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "passwordProtectionInvoiceItem": { + "redis": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "rateLimit": { + "redisStoreTokenSet": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "redis": { + "remoteCaching": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -51297,12 +64306,6 @@ }, "type": "array" }, - "remoteCaching": { - "items": { - "$ref": "#/components/schemas/ACLAction" - }, - "type": "array" - }, "samlConfig": { "items": { "$ref": "#/components/schemas/ACLAction" @@ -51315,31 +64318,31 @@ }, "type": "array" }, - "redisStoreTokenSet": { + "sensitiveEnvironmentVariablePolicy": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "blobStoreTokenSet": { + "sharedEnvVars": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "postgresStoreTokenSet": { + "sharedEnvVarsProduction": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "integrationStoreTokenSet": { + "space": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "integrationResourceReplCommand": { + "spaceRun": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -51363,12 +64366,6 @@ }, "type": "array" }, - "dataCacheBillingSettings": { - "items": { - "$ref": "#/components/schemas/ACLAction" - }, - "type": "array" - }, "team": { "items": { "$ref": "#/components/schemas/ACLAction" @@ -51453,37 +64450,25 @@ }, "type": "array" }, - "vpcPeeringConnection": { - "items": { - "$ref": "#/components/schemas/ACLAction" - }, - "type": "array" - }, - "webAnalyticsPlan": { - "items": { - "$ref": "#/components/schemas/ACLAction" - }, - "type": "array" - }, - "edgeConfig": { + "vercelRun": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "edgeConfigItem": { + "vercelRunExec": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "edgeConfigSchema": { + "vpcPeeringConnection": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "edgeConfigToken": { + "webAnalyticsPlan": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -51501,54 +64486,6 @@ }, "type": "array" }, - "endpointVerification": { - "items": { - "$ref": "#/components/schemas/ACLAction" - }, - "type": "array" - }, - "projectTransferIn": { - "items": { - "$ref": "#/components/schemas/ACLAction" - }, - "type": "array" - }, - "oauth2Application": { - "items": { - "$ref": "#/components/schemas/ACLAction" - }, - "type": "array" - }, - "vercelRun": { - "items": { - "$ref": "#/components/schemas/ACLAction" - }, - "type": "array" - }, - "vercelRunExec": { - "items": { - "$ref": "#/components/schemas/ACLAction" - }, - "type": "array" - }, - "apiKey": { - "items": { - "$ref": "#/components/schemas/ACLAction" - }, - "type": "array" - }, - "apiKeyOwnedBySelf": { - "items": { - "$ref": "#/components/schemas/ACLAction" - }, - "type": "array" - }, - "apiKeyAiGateway": { - "items": { - "$ref": "#/components/schemas/ACLAction" - }, - "type": "array" - }, "aliasProject": { "items": { "$ref": "#/components/schemas/ACLAction" @@ -51567,12 +64504,6 @@ }, "type": "array" }, - "productionAliasProtectionBypass": { - "items": { - "$ref": "#/components/schemas/ACLAction" - }, - "type": "array" - }, "connectConfigurationLink": { "items": { "$ref": "#/components/schemas/ACLAction" @@ -51663,6 +64594,12 @@ }, "type": "array" }, + "job": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, "logs": { "items": { "$ref": "#/components/schemas/ACLAction" @@ -51675,37 +64612,37 @@ }, "type": "array" }, - "passwordProtection": { + "observabilityData": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "optionsAllowlist": { + "onDemandBuild": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "job": { + "onDemandConcurrency": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "observabilityData": { + "optionsAllowlist": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "onDemandBuild": { + "passwordProtection": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "onDemandConcurrency": { + "productionAliasProtectionBypass": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -51717,19 +64654,19 @@ }, "type": "array" }, - "projectFromV0": { + "projectAccessGroup": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "projectAccessGroup": { + "projectAnalyticsSampling": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "projectAnalyticsSampling": { + "projectAnalyticsUsage": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -51747,6 +64684,12 @@ }, "type": "array" }, + "projectDeploymentExpiration": { + "items": { + "$ref": "#/components/schemas/ACLAction" + }, + "type": "array" + }, "projectDeploymentHook": { "items": { "$ref": "#/components/schemas/ACLAction" @@ -51759,13 +64702,13 @@ }, "type": "array" }, - "projectDomainMove": { + "projectDomainCheckConfig": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "projectDomainCheckConfig": { + "projectDomainMove": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -51795,73 +64738,73 @@ }, "type": "array" }, - "projectId": { + "projectFlagsProduction": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "projectIntegrationConfiguration": { + "projectFromV0": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "projectLink": { + "projectId": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "projectMember": { + "projectIntegrationConfiguration": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "projectMonitoring": { + "projectLink": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "projectPermissions": { + "projectMember": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "projectProductionBranch": { + "projectMonitoring": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "projectTransfer": { + "projectOIDCToken": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "projectTransferOut": { + "projectPermissions": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "projectProtectionBypass": { + "projectProductionBranch": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "projectUsage": { + "projectProtectionBypass": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "projectAnalyticsUsage": { + "projectRollingRelease": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -51879,25 +64822,25 @@ }, "type": "array" }, - "projectDeploymentExpiration": { + "projectTier": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "projectRollingRelease": { + "projectTransfer": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "projectTier": { + "projectTransferOut": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "projectOIDCToken": { + "projectUsage": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -51909,43 +64852,37 @@ }, "type": "array" }, - "skewProtection": { - "items": { - "$ref": "#/components/schemas/ACLAction" - }, - "type": "array" - }, - "analytics": { + "sharedEnvVarConnection": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "trustedIps": { + "skewProtection": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "v0Chat": { + "analytics": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "webAnalytics": { + "trustedIps": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "sharedEnvVarConnection": { + "v0Chat": { "items": { "$ref": "#/components/schemas/ACLAction" }, "type": "array" }, - "sonar": { + "webAnalytics": { "items": { "$ref": "#/components/schemas/ACLAction" }, @@ -52160,6 +65097,10 @@ "disableRepositoryDispatchEvents": { "type": "boolean", "description": "Whether the Vercel bot should not automatically create GitHub repository-dispatch events on deployment events. https://vercel.com/docs/git/vercel-for-github#repository-dispatch-events" + }, + "requireVerifiedCommits": { + "type": "boolean", + "description": "Whether the project requires commits to be signed before deployments will be created." } }, "required": [ @@ -52783,6 +65724,9 @@ ] }, "type": "array" + }, + "interstitial": { + "type": "boolean" } }, "required": [ @@ -52904,6 +65848,86 @@ ] }, "type": "array" + }, + "hasDeployments": { + "type": "boolean" + }, + "dismissedToasts": { + "items": { + "properties": { + "key": { + "type": "string" + }, + "dismissedAt": { + "type": "number" + }, + "action": { + "type": "string", + "enum": [ + "cancel", + "accept", + "delete" + ] + }, + "value": { + "nullable": true, + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "properties": { + "previousValue": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + }, + "currentValue": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + } + ] + } + }, + "required": [ + "previousValue", + "currentValue" + ], + "type": "object" + } + ] + } + }, + "required": [ + "key", + "dismissedAt", + "action", + "value" + ], + "type": "object" + }, + "type": "array" } }, "required": [ @@ -53076,10 +66100,12 @@ "zola", "hydrogen", "vite", + "tanstack-start", "vitepress", "vuepress", "parcel", "fastapi", + "flask", "fasthtml", "sanity-v3", "sanity", @@ -53088,6 +66114,9 @@ "hono", "express", "h3", + "nestjs", + "elysia", + "fastify", "xmcp" ], "type": "string", @@ -53115,6 +66144,7 @@ }, "nodeVersion": { "enum": [ + "24.x", "22.x", "20.x", "18.x", @@ -53136,6 +66166,12 @@ "type": "boolean", "nullable": true }, + "previewDeploymentSuffix": { + "description": "Custom domain suffix for preview deployments. Takes precedence over team-level suffix. Must be a domain owned by the team.", + "type": "string", + "maxLength": 253, + "nullable": true + }, "publicSource": { "description": "Specifies whether the source code and logs of the deployments for this project should be public or not", "type": "boolean", @@ -53247,6 +66283,20 @@ "description": "Opt-in to skip deployments when there are no changes to the root directory and its dependencies", "type": "boolean" }, + "staticIps": { + "additionalProperties": false, + "description": "Manage Static IPs for this project", + "properties": { + "enabled": { + "description": "Opt-in to Static IPs for this project", + "type": "boolean" + } + }, + "required": [ + "enabled" + ], + "type": "object" + }, "oidcTokenConfig": { "description": "OpenID Connect JSON Web Token generation configuration.", "type": "object", @@ -53439,6 +66489,92 @@ }, "minItems": 1, "nullable": true + }, + "dismissedToasts": { + "description": "An array of objects representing a Dismissed Toast in regards to a Project. Objects are either merged with existing toasts (on key match), or added to the `dimissedToasts` array.`", + "type": "array", + "minItems": 0, + "maxItems": 50, + "items": { + "type": "object", + "additionalProperties": false, + "required": [ + "key", + "dismissedAt", + "action", + "value" + ], + "properties": { + "key": { + "type": "string", + "description": "unique identifier for the dismissed toast" + }, + "dismissedAt": { + "type": "number", + "description": "unix timestamp representing the time the toast was dimissed" + }, + "action": { + "enum": [ + "cancel", + "accept", + "delete" + ], + "description": "Whether the toast was dismissed, the action was accepted, or the dismissal with this key should be removed" + }, + "value": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "boolean" + }, + { + "type": "number" + }, + { + "type": "object", + "additionalProperties": false, + "required": [ + "previousValue", + "currentValue" + ], + "properties": { + "previousValue": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "string" + } + ] + }, + "currentValue": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "string" + } + ] + } + } + } + ] + } + } + } } }, "type": "object" @@ -53529,6 +66665,205 @@ ] } }, + "/v1/projects/{idOrName}/shared-connect-links": { + "patch": { + "description": "Allows configuring Static IPs for a project", + "operationId": "updateStaticIps", + "security": [ + { + "bearerToken": [] + } + ], + "summary": "Configures Static IPs for a project", + "tags": [ + "connect", + "static-ips" + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "items": { + "properties": { + "envId": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "string", + "enum": [ + "preview", + "production" + ] + } + ] + }, + "connectConfigurationId": { + "type": "string" + }, + "dc": { + "type": "string" + }, + "passive": { + "type": "boolean" + }, + "buildsEnabled": { + "type": "boolean" + }, + "aws": { + "properties": { + "subnetIds": { + "items": { + "type": "string" + }, + "type": "array" + }, + "securityGroupId": { + "type": "string" + } + }, + "required": [ + "subnetIds", + "securityGroupId" + ], + "type": "object" + }, + "createdAt": { + "type": "number" + }, + "updatedAt": { + "type": "number" + } + }, + "required": [ + "envId", + "connectConfigurationId", + "passive", + "buildsEnabled", + "createdAt", + "updatedAt" + ], + "type": "object" + }, + "type": "array" + } + } + } + }, + "400": { + "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": { + "description": "The request is not authorized.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } + }, + "402": { + "description": "" + }, + "403": { + "description": "You do not have permission to access this resource." + }, + "404": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + }, + "500": { + "description": "" + } + }, + "parameters": [ + { + "name": "idOrName", + "description": "The unique project identifier or the project name", + "in": "path", + "required": true, + "schema": { + "description": "The unique project identifier or the project name", + "type": "string" + } + }, + { + "description": "The Team identifier to perform the request on behalf of.", + "in": "query", + "name": "teamId", + "schema": { + "type": "string", + "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" + } + }, + { + "description": "The Team slug to perform the request on behalf of.", + "in": "query", + "name": "slug", + "schema": { + "type": "string", + "example": "my-team-url-slug" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "anyOf": [ + { + "required": [ + "builds" + ] + }, + { + "required": [ + "regions" + ] + } + ], + "properties": { + "builds": { + "type": "boolean", + "description": "Whether to use Static IPs for builds." + }, + "regions": { + "type": "array", + "items": { + "type": "string", + "maxLength": 4, + "description": "The region in which to enable Static IPs.", + "example": "iad1" + }, + "minItems": 0, + "maxItems": 3, + "uniqueItems": true + } + } + } + } + } + } + } + }, "/v9/projects/{idOrName}/custom-environments": { "post": { "description": "Creates a custom environment for the current project. Cannot be named 'Production' or 'Preview'.", @@ -62300,7 +75635,147 @@ } }, "409": { - "description": "" + "description": "" + } + }, + "parameters": [ + { + "name": "idOrName", + "description": "The unique project identifier or the project name", + "in": "path", + "required": true, + "schema": { + "description": "The unique project identifier or the project name", + "type": "string", + "example": "prj_XLKmu1DyR1eY7zq8UgeRKbA7yVLA" + } + }, + { + "description": "The Team identifier to perform the request on behalf of.", + "in": "query", + "name": "teamId", + "schema": { + "type": "string", + "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" + } + }, + { + "description": "The Team slug to perform the request on behalf of.", + "in": "query", + "name": "slug", + "schema": { + "type": "string", + "example": "my-team-url-slug" + } + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "required": [ + "ids" + ], + "properties": { + "ids": { + "description": "Array of environment variable IDs to delete", + "type": "array", + "items": { + "type": "string" + }, + "minItems": 1, + "maxItems": 1000 + } + }, + "additionalProperties": false + } + } + } + } + } + }, + "/v1/projects/{idOrName}/client-cert": { + "post": { + "description": "Upload a client certificate for mTLS authentication to external origins.", + "operationId": "uploadProjectClientCert", + "security": [ + { + "bearerToken": [] + } + ], + "summary": "Upload client certificate for egress mTLS", + "tags": [ + "projects" + ], + "responses": { + "200": { + "description": "Client certificate uploaded successfully", + "content": { + "application/json": { + "schema": { + "properties": { + "updated": { + "type": "boolean" + }, + "origin": { + "type": "string" + }, + "certId": { + "type": "string" + } + }, + "required": [ + "updated", + "origin", + "certId" + ], + "type": "object" + } + } + } + }, + "400": { + "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": { + "description": "The request is not authorized.", + "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" + }, + "403": { + "description": "You do not have permission to access this resource." + }, + "404": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + }, + "409": { + "description": "The project is being transferred and uploading certificates is not possible" + }, + "500": { + "description": "Failed to upload the client certificate\nFailed to encrypt the private key" } }, "parameters": [ @@ -62340,24 +75815,270 @@ "schema": { "type": "object", "required": [ - "ids" + "cert", + "key", + "ca" ], + "additionalProperties": false, "properties": { - "ids": { - "description": "Array of environment variable IDs to delete", - "type": "array", - "items": { - "type": "string" - }, - "minItems": 1, - "maxItems": 1000 + "cert": { + "description": "The client certificate in PEM format", + "type": "string", + "example": "-----BEGIN CERTIFICATE-----\\\\n...\\\\n-----END CERTIFICATE-----" + }, + "key": { + "description": "The private key in PEM format", + "type": "string", + "example": "-----BEGIN PRIVATE KEY-----\\\\n...\\\\n-----END PRIVATE KEY-----" + }, + "ca": { + "description": "The certificate authority in PEM format", + "type": "string", + "example": "-----BEGIN CERTIFICATE-----\\\\n...\\\\n-----END CERTIFICATE-----" + }, + "origin": { + "description": "The origin this certificate should be used for. If not specified, the certificate will be project-wide.", + "type": "string", + "example": "https://api.example.com" + }, + "skipValidation": { + "type": "boolean", + "description": "Skip validation of the certificate" } - }, - "additionalProperties": false + } } } } } + }, + "get": { + "description": "Retrieve client certificates configured for a project's mTLS egress authentication.", + "operationId": "getProjectClientCerts", + "security": [ + { + "bearerToken": [] + } + ], + "summary": "Get client certificates for a project", + "tags": [ + "projects" + ], + "responses": { + "200": { + "description": "Client certificates retrieved successfully", + "content": { + "application/json": { + "schema": { + "properties": { + "clientCerts": { + "items": { + "properties": { + "origin": { + "type": "string" + }, + "id": { + "type": "string" + } + }, + "required": [ + "origin", + "id" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "clientCerts" + ], + "type": "object" + } + } + } + }, + "400": { + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "description": "The request is not authorized.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } + }, + "403": { + "description": "You do not have permission to access this resource." + }, + "404": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + } + }, + "parameters": [ + { + "name": "idOrName", + "description": "The unique project identifier or the project name", + "in": "path", + "required": true, + "schema": { + "description": "The unique project identifier or the project name", + "type": "string", + "example": "prj_XLKmu1DyR1eY7zq8UgeRKbA7yVLA" + } + }, + { + "description": "The Team identifier to perform the request on behalf of.", + "in": "query", + "name": "teamId", + "schema": { + "type": "string", + "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" + } + }, + { + "description": "The Team slug to perform the request on behalf of.", + "in": "query", + "name": "slug", + "schema": { + "type": "string", + "example": "my-team-url-slug" + } + } + ] + } + }, + "/v1/projects/{idOrName}/client-cert/{certId}": { + "delete": { + "description": "Delete a client certificate for mTLS authentication to external origins.", + "operationId": "deleteProjectClientCert", + "security": [ + { + "bearerToken": [] + } + ], + "summary": "Delete client certificate for egress mTLS", + "tags": [ + "projects" + ], + "responses": { + "200": { + "description": "Client certificate deleted successfully", + "content": { + "application/json": { + "schema": { + "properties": { + "origin": { + "type": "string" + }, + "certId": { + "type": "string" + } + }, + "required": [ + "origin", + "certId" + ], + "type": "object" + } + } + } + }, + "400": { + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "description": "The request is not authorized.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } + }, + "403": { + "description": "You do not have permission to access this resource." + }, + "404": { + "description": "The certificate could not be found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + }, + "409": { + "description": "The project is being transferred and deleting certificates is not possible" + } + }, + "parameters": [ + { + "name": "idOrName", + "description": "The unique project identifier or the project name", + "in": "path", + "required": true, + "schema": { + "description": "The unique project identifier or the project name", + "type": "string", + "example": "prj_XLKmu1DyR1eY7zq8UgeRKbA7yVLA" + } + }, + { + "name": "certId", + "description": "The certificate identifier", + "in": "path", + "required": true, + "schema": { + "description": "The certificate identifier", + "type": "string", + "example": "cert_a1b2c3d4e5f6g7h8" + } + }, + { + "description": "The Team identifier to perform the request on behalf of.", + "in": "query", + "name": "teamId", + "schema": { + "type": "string", + "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" + } + }, + { + "description": "The Team slug to perform the request on behalf of.", + "in": "query", + "name": "slug", + "schema": { + "type": "string", + "example": "my-team-url-slug" + } + } + ] } }, "/v1/projects/{idOrName}/rolling-release/billing": { @@ -62984,13 +76705,19 @@ "nullable": true, "properties": { "id": { - "type": "string" + "type": "string", + "description": "A string holding the unique ID of the deployment", + "example": "dpl_89qyp1cskzkLrVicDaZoDbjyHuDJ" }, "name": { - "type": "string" + "type": "string", + "description": "The name of the project associated with the deployment at the time that the deployment was created", + "example": "my-project" }, "url": { - "type": "string" + "type": "string", + "description": "A string with the unique URL of the deployment", + "example": "my-instant-deployment-3ij3cxz9qr.now.sh" }, "target": { "nullable": true, @@ -62998,7 +76725,9 @@ "enum": [ "staging", "production" - ] + ], + "description": "If defined, either `staging` if a staging alias in the format `\u003cproject\u003e.\u003cteam\u003e.now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the \"preview\" deployment.", + "example": null }, "source": { "type": "string", @@ -63011,10 +76740,14 @@ "import/repo", "redeploy", "v0-web" - ] + ], + "description": "Where was the deployment created from", + "example": "cli" }, "createdAt": { - "type": "number" + "type": "number", + "description": "A number containing the date when the deployment was created in milliseconds", + "example": 1540257589405 }, "readyState": { "type": "string", @@ -63025,7 +76758,9 @@ "QUEUED", "READY", "CANCELED" - ] + ], + "description": "The state of the deployment depending on the process of deploying, or if it is ready or in an error state", + "example": "READY" }, "readyStateAt": { "type": "number" @@ -63055,13 +76790,19 @@ "nullable": true, "properties": { "id": { - "type": "string" + "type": "string", + "description": "A string holding the unique ID of the deployment", + "example": "dpl_89qyp1cskzkLrVicDaZoDbjyHuDJ" }, "name": { - "type": "string" + "type": "string", + "description": "The name of the project associated with the deployment at the time that the deployment was created", + "example": "my-project" }, "url": { - "type": "string" + "type": "string", + "description": "A string with the unique URL of the deployment", + "example": "my-instant-deployment-3ij3cxz9qr.now.sh" }, "target": { "nullable": true, @@ -63069,7 +76810,9 @@ "enum": [ "staging", "production" - ] + ], + "description": "If defined, either `staging` if a staging alias in the format `\u003cproject\u003e.\u003cteam\u003e.now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the \"preview\" deployment.", + "example": null }, "source": { "type": "string", @@ -63082,10 +76825,14 @@ "import/repo", "redeploy", "v0-web" - ] + ], + "description": "Where was the deployment created from", + "example": "cli" }, "createdAt": { - "type": "number" + "type": "number", + "description": "A number containing the date when the deployment was created in milliseconds", + "example": 1540257589405 }, "readyState": { "type": "string", @@ -63096,7 +76843,9 @@ "QUEUED", "READY", "CANCELED" - ] + ], + "description": "The state of the deployment depending on the process of deploying, or if it is ready or in an error state", + "example": "READY" }, "readyStateAt": { "type": "number" @@ -63500,13 +77249,19 @@ "nullable": true, "properties": { "id": { - "type": "string" + "type": "string", + "description": "A string holding the unique ID of the deployment", + "example": "dpl_89qyp1cskzkLrVicDaZoDbjyHuDJ" }, "name": { - "type": "string" + "type": "string", + "description": "The name of the project associated with the deployment at the time that the deployment was created", + "example": "my-project" }, "url": { - "type": "string" + "type": "string", + "description": "A string with the unique URL of the deployment", + "example": "my-instant-deployment-3ij3cxz9qr.now.sh" }, "target": { "nullable": true, @@ -63514,7 +77269,9 @@ "enum": [ "staging", "production" - ] + ], + "description": "If defined, either `staging` if a staging alias in the format `\u003cproject\u003e.\u003cteam\u003e.now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the \"preview\" deployment.", + "example": null }, "source": { "type": "string", @@ -63527,10 +77284,14 @@ "import/repo", "redeploy", "v0-web" - ] + ], + "description": "Where was the deployment created from", + "example": "cli" }, "createdAt": { - "type": "number" + "type": "number", + "description": "A number containing the date when the deployment was created in milliseconds", + "example": 1540257589405 }, "readyState": { "type": "string", @@ -63541,7 +77302,9 @@ "QUEUED", "READY", "CANCELED" - ] + ], + "description": "The state of the deployment depending on the process of deploying, or if it is ready or in an error state", + "example": "READY" }, "readyStateAt": { "type": "number" @@ -63571,13 +77334,19 @@ "nullable": true, "properties": { "id": { - "type": "string" + "type": "string", + "description": "A string holding the unique ID of the deployment", + "example": "dpl_89qyp1cskzkLrVicDaZoDbjyHuDJ" }, "name": { - "type": "string" + "type": "string", + "description": "The name of the project associated with the deployment at the time that the deployment was created", + "example": "my-project" }, "url": { - "type": "string" + "type": "string", + "description": "A string with the unique URL of the deployment", + "example": "my-instant-deployment-3ij3cxz9qr.now.sh" }, "target": { "nullable": true, @@ -63585,7 +77354,9 @@ "enum": [ "staging", "production" - ] + ], + "description": "If defined, either `staging` if a staging alias in the format `\u003cproject\u003e.\u003cteam\u003e.now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the \"preview\" deployment.", + "example": null }, "source": { "type": "string", @@ -63598,10 +77369,14 @@ "import/repo", "redeploy", "v0-web" - ] + ], + "description": "Where was the deployment created from", + "example": "cli" }, "createdAt": { - "type": "number" + "type": "number", + "description": "A number containing the date when the deployment was created in milliseconds", + "example": 1540257589405 }, "readyState": { "type": "string", @@ -63612,7 +77387,9 @@ "QUEUED", "READY", "CANCELED" - ] + ], + "description": "The state of the deployment depending on the process of deploying, or if it is ready or in an error state", + "example": "READY" }, "readyStateAt": { "type": "number" @@ -64027,13 +77804,19 @@ "nullable": true, "properties": { "id": { - "type": "string" + "type": "string", + "description": "A string holding the unique ID of the deployment", + "example": "dpl_89qyp1cskzkLrVicDaZoDbjyHuDJ" }, "name": { - "type": "string" + "type": "string", + "description": "The name of the project associated with the deployment at the time that the deployment was created", + "example": "my-project" }, "url": { - "type": "string" + "type": "string", + "description": "A string with the unique URL of the deployment", + "example": "my-instant-deployment-3ij3cxz9qr.now.sh" }, "target": { "nullable": true, @@ -64041,7 +77824,9 @@ "enum": [ "staging", "production" - ] + ], + "description": "If defined, either `staging` if a staging alias in the format `\u003cproject\u003e.\u003cteam\u003e.now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the \"preview\" deployment.", + "example": null }, "source": { "type": "string", @@ -64054,10 +77839,14 @@ "import/repo", "redeploy", "v0-web" - ] + ], + "description": "Where was the deployment created from", + "example": "cli" }, "createdAt": { - "type": "number" + "type": "number", + "description": "A number containing the date when the deployment was created in milliseconds", + "example": 1540257589405 }, "readyState": { "type": "string", @@ -64068,7 +77857,9 @@ "QUEUED", "READY", "CANCELED" - ] + ], + "description": "The state of the deployment depending on the process of deploying, or if it is ready or in an error state", + "example": "READY" }, "readyStateAt": { "type": "number" @@ -64098,13 +77889,19 @@ "nullable": true, "properties": { "id": { - "type": "string" + "type": "string", + "description": "A string holding the unique ID of the deployment", + "example": "dpl_89qyp1cskzkLrVicDaZoDbjyHuDJ" }, "name": { - "type": "string" + "type": "string", + "description": "The name of the project associated with the deployment at the time that the deployment was created", + "example": "my-project" }, "url": { - "type": "string" + "type": "string", + "description": "A string with the unique URL of the deployment", + "example": "my-instant-deployment-3ij3cxz9qr.now.sh" }, "target": { "nullable": true, @@ -64112,7 +77909,9 @@ "enum": [ "staging", "production" - ] + ], + "description": "If defined, either `staging` if a staging alias in the format `\u003cproject\u003e.\u003cteam\u003e.now.sh` was assigned upon creation, or `production` if the aliases from `alias` were assigned. `null` value indicates the \"preview\" deployment.", + "example": null }, "source": { "type": "string", @@ -64125,10 +77924,14 @@ "import/repo", "redeploy", "v0-web" - ] + ], + "description": "Where was the deployment created from", + "example": "cli" }, "createdAt": { - "type": "number" + "type": "number", + "description": "A number containing the date when the deployment was created in milliseconds", + "example": 1540257589405 }, "readyState": { "type": "string", @@ -64139,7 +77942,9 @@ "QUEUED", "READY", "CANCELED" - ] + ], + "description": "The state of the deployment depending on the process of deploying, or if it is ready or in an error state", + "example": "READY" }, "readyStateAt": { "type": "number" @@ -64688,11 +78493,18 @@ "type": "object" }, "type": "array" + }, + "transferredStoreIds": { + "items": { + "type": "string" + }, + "type": "array" } }, "required": [ "partnerCalls", - "resourceTransferErrors" + "resourceTransferErrors", + "transferredStoreIds" ], "type": "object" }, @@ -65321,9 +79133,6 @@ } } }, - "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." }, @@ -68505,7 +82314,7 @@ }, "/v1/security/firewall/attack-status": { "get": { - "description": "Retrieve active attack data within the last 24h window", + "description": "Retrieve active attack data within the last N days (default: 1 day)", "operationId": "getActiveAttackStatus", "security": [ { @@ -68531,10 +82340,10 @@ "anomalies": { "items": { "properties": { - "ownerId": { + "projectId": { "type": "string" }, - "projectId": { + "ownerId": { "type": "string" }, "startTime": { @@ -68608,8 +82417,8 @@ } }, "required": [ - "ownerId", "projectId", + "ownerId", "startTime", "endTime", "atMinute", @@ -68673,6 +82482,15 @@ "type": "string" } }, + { + "name": "since", + "in": "query", + "required": false, + "schema": { + "type": "number", + "minimum": 1 + } + }, { "description": "The Team identifier to perform the request on behalf of.", "in": "query", @@ -69328,6 +83146,141 @@ } } }, + "/v1/security/firewall/events": { + "get": { + "description": "Retrieve firewall actions for a project", + "security": [], + "summary": "Read Firewall Actions by Project", + "tags": [ + "security" + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "properties": { + "actions": { + "items": { + "properties": { + "startTime": { + "type": "string" + }, + "endTime": { + "type": "string" + }, + "isActive": { + "type": "boolean" + }, + "action_type": { + "type": "string" + }, + "host": { + "type": "string" + }, + "public_ip": { + "type": "string" + }, + "count": { + "type": "number" + } + }, + "required": [ + "startTime", + "endTime", + "isActive", + "action_type", + "host", + "public_ip", + "count" + ], + "type": "object" + }, + "type": "array" + } + }, + "required": [ + "actions" + ], + "type": "object" + } + } + } + }, + "400": { + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "description": "The request is not authorized.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } + }, + "403": { + "description": "You do not have permission to access this resource." + }, + "404": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + }, + "500": { + "description": "" + } + }, + "parameters": [ + { + "name": "projectId", + "in": "query", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "startTimestamp", + "in": "query", + "required": false, + "schema": { + "type": "number" + } + }, + { + "name": "endTimestamp", + "in": "query", + "required": false, + "schema": { + "type": "number" + } + }, + { + "name": "hosts", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + } + ] + } + }, "/v1/storage/stores/integration/direct": { "post": { "description": "Creates an integration store for both FREE and PAID billing plans. This simplified endpoint automatically provisions real integration storage resources while handling billing complexity behind the scenes. It supports both free and paid billing plans with automatic authorization creation for paid resources. ## How it works 1. Validates the integration configuration and product 2. For free resources: Auto-discovers available free billing plans 3. For paid resources: Creates billing authorization inline using provided billingPlanId 4. Provisions real resources through the Vercel Marketplace 5. Returns the created store with connection details ## Workflow Before using this endpoint, discover available products and billing plans: 1. List your configurations: `GET /v1/integrations/configurations` 2. Get products for a configuration: `GET /v1/integrations/configuration/{id}/products` 3. Get billing plans for a product: `GET /integrations/integration/{integrationId}/products/{productId}/plans` 4. Review the `metadataSchema` for each product to understand required metadata 5. Create storage with discovered product: `POST /v1/storage/stores/integration/direct` ## Usage Patterns - **Free resources**: Omit `billingPlanId` - endpoint will auto-discover free plans - **Paid resources**: Provide `billingPlanId` from billing plans discovery - **Prepayment plans**: Also provide `prepaymentAmountCents` for variable amount plans ## Limitations - **Admin access required**: Only integration configuration admins can create stores - **Storage limits apply**: Subject to your team's storage quotas - **Payment method required**: For paid plans, ensure valid payment method is configured ## Error Responses - `400 Bad Request`: Invalid input, no plans available, or billing issues - `403 Forbidden`: Insufficient permissions (non-admin users) - `404 Not Found`: Integration configuration or product not found - `429 Too Many Requests`: Rate limit exceeded", @@ -69407,10 +83360,12 @@ "zola", "hydrogen", "vite", + "tanstack-start", "vitepress", "vuepress", "parcel", "fastapi", + "flask", "fasthtml", "sanity-v3", "sanity", @@ -69419,6 +83374,9 @@ "hono", "express", "h3", + "nestjs", + "elysia", + "fastify", "xmcp" ] }, @@ -69497,6 +83455,52 @@ }, "type": "array" }, + "projectFilter": { + "properties": { + "git": { + "properties": { + "providers": { + "oneOf": [ + { + "items": { + "type": "string", + "enum": [ + "github", + "gitlab", + "bitbucket" + ] + }, + "type": "array" + }, + { + "type": "string", + "enum": [ + "*" + ] + } + ] + }, + "owners": { + "items": { + "type": "string" + }, + "type": "array" + }, + "repos": { + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "providers" + ], + "type": "object" + } + }, + "type": "object" + }, "totalConnectedProjects": { "type": "number" }, @@ -69513,6 +83517,7 @@ "limits-exceeded-suspended", "limits-exceeded-suspended-store-count", "initializing", + "onboarding", "uninstalled" ] }, @@ -69535,8 +83540,14 @@ "billable": { "type": "boolean" }, + "transferable": { + "type": "boolean" + }, "secretsSync": { "type": "boolean" + }, + "projects": { + "type": "boolean" } }, "type": "object" @@ -69578,6 +83589,7 @@ "enum": [ "error", "suspended", + "onboarding", "uninstalled", "ready", "pending", @@ -69609,6 +83621,9 @@ "billable": { "type": "boolean" }, + "transferable": { + "type": "boolean" + }, "secretsSync": { "type": "boolean" }, @@ -69617,6 +83632,9 @@ }, "linking": { "type": "boolean" + }, + "projects": { + "type": "boolean" } }, "type": "object" @@ -69658,34 +83676,34 @@ "maxLength": { "type": "object", "properties": { - "__@BRAND@8486": { + "__@BRAND@8795": { "type": "object" } }, "required": [ - "__@BRAND@8486" + "__@BRAND@8795" ] }, "minLength": { "type": "object", "properties": { - "__@BRAND@8486": { + "__@BRAND@8795": { "type": "object" } }, "required": [ - "__@BRAND@8486" + "__@BRAND@8795" ] }, "pattern": { "type": "object", "properties": { - "__@BRAND@8486": { + "__@BRAND@8795": { "type": "object" } }, "required": [ - "__@BRAND@8486" + "__@BRAND@8795" ] }, "description": { @@ -70368,34 +84386,34 @@ "maxLength": { "type": "object", "properties": { - "__@BRAND@8486": { + "__@BRAND@8795": { "type": "object" } }, "required": [ - "__@BRAND@8486" + "__@BRAND@8795" ] }, "minLength": { "type": "object", "properties": { - "__@BRAND@8486": { + "__@BRAND@8795": { "type": "object" } }, "required": [ - "__@BRAND@8486" + "__@BRAND@8795" ] }, "pattern": { "type": "object", "properties": { - "__@BRAND@8486": { + "__@BRAND@8795": { "type": "object" } }, "required": [ - "__@BRAND@8486" + "__@BRAND@8795" ] }, "description": { @@ -70544,34 +84562,34 @@ "minLength": { "type": "object", "properties": { - "__@BRAND@8486": { + "__@BRAND@8795": { "type": "object" } }, "required": [ - "__@BRAND@8486" + "__@BRAND@8795" ] }, "maxLength": { "type": "object", "properties": { - "__@BRAND@8486": { + "__@BRAND@8795": { "type": "object" } }, "required": [ - "__@BRAND@8486" + "__@BRAND@8795" ] }, "pattern": { "type": "object", "properties": { - "__@BRAND@8486": { + "__@BRAND@8795": { "type": "object" } }, "required": [ - "__@BRAND@8486" + "__@BRAND@8795" ] }, "default": { @@ -70888,12 +84906,12 @@ { "type": "object", "properties": { - "__@BRAND@8486": { + "__@BRAND@8795": { "type": "object" } }, "required": [ - "__@BRAND@8486" + "__@BRAND@8795" ] }, { @@ -70901,12 +84919,12 @@ "value": { "type": "object", "properties": { - "__@BRAND@8486": { + "__@BRAND@8795": { "type": "object" } }, "required": [ - "__@BRAND@8486" + "__@BRAND@8795" ] }, "disabled": { @@ -70978,34 +84996,34 @@ "maxLength": { "type": "object", "properties": { - "__@BRAND@8486": { + "__@BRAND@8795": { "type": "object" } }, "required": [ - "__@BRAND@8486" + "__@BRAND@8795" ] }, "minLength": { "type": "object", "properties": { - "__@BRAND@8486": { + "__@BRAND@8795": { "type": "object" } }, "required": [ - "__@BRAND@8486" + "__@BRAND@8795" ] }, "pattern": { "type": "object", "properties": { - "__@BRAND@8486": { + "__@BRAND@8795": { "type": "object" } }, "required": [ - "__@BRAND@8486" + "__@BRAND@8795" ] }, "description": { @@ -71155,34 +85173,34 @@ "maxLength": { "type": "object", "properties": { - "__@BRAND@8486": { + "__@BRAND@8795": { "type": "object" } }, "required": [ - "__@BRAND@8486" + "__@BRAND@8795" ] }, "minLength": { "type": "object", "properties": { - "__@BRAND@8486": { + "__@BRAND@8795": { "type": "object" } }, "required": [ - "__@BRAND@8486" + "__@BRAND@8795" ] }, "pattern": { "type": "object", "properties": { - "__@BRAND@8486": { + "__@BRAND@8795": { "type": "object" } }, "required": [ - "__@BRAND@8486" + "__@BRAND@8795" ] }, "description": { @@ -71313,12 +85331,12 @@ "value": { "type": "object", "properties": { - "__@BRAND@8486": { + "__@BRAND@8795": { "type": "object" } }, "required": [ - "__@BRAND@8486" + "__@BRAND@8795" ] }, "disabled": { @@ -71434,11 +85452,15 @@ "other", "mysql", "vector", + "tag_agents", "tag_ai", "tag_analytics", "tag_authentication", "tag_cms", "tag_code_repository", + "tag_code_review", + "tag_code_security", + "tag_code_testing", "tag_commerce", "tag_databases", "tag_dev_tools", @@ -71453,8 +85475,10 @@ "tag_productivity", "tag_searching", "tag_security", + "tag_support_agent", "tag_testing", "tag_video", + "tag_web_automation", "tag_workflow", "tag_checks", "tag_storage", @@ -71534,7 +85558,8 @@ "type": "string", "enum": [ "connect_to_project", - "configure_project_connections" + "configure_project_connections", + "add_drain" ] } }, @@ -71567,12 +85592,12 @@ "value": { "type": "object", "properties": { - "__@BRAND@8486": { + "__@BRAND@8795": { "type": "object" } }, "required": [ - "__@BRAND@8486" + "__@BRAND@8795" ] }, "disabled": { @@ -71876,6 +85901,9 @@ } } } + }, + "500": { + "description": "" } }, "parameters": [ @@ -72486,9 +86514,9 @@ "x-speakeasy-test": false } }, - "/v1/teams/{teamId}/members": { + "/v2/teams/{teamId}/members": { "post": { - "description": "Invite a user to join the team specified in the URL. The authenticated user needs to be an `OWNER` in order to successfully invoke this endpoint. The user can be specified with an email or an ID. If both email and ID are provided, ID will take priority.", + "description": "Invite a user to join the team specified in the URL. The authenticated user needs to be an `OWNER` in order to successfully invoke this endpoint. The user to be invited must be specified by email.", "operationId": "inviteUserToTeam", "security": [ { @@ -72501,105 +86529,17 @@ ], "responses": { "200": { - "description": "The member was successfully added to the team", + "description": "", "content": { "application/json": { "schema": { - "properties": { - "uid": { - "type": "string", - "description": "The ID of the invited user", - "example": "kr1PsOIzqEL5Xg6M4VZcZosf" - }, - "username": { - "type": "string", - "description": "The username of the invited user", - "example": "john-doe" - }, - "email": { - "type": "string", - "description": "The email of the invited user.", - "example": "john@user.co" - }, - "role": { - "type": "string", - "enum": [ - "OWNER", - "MEMBER", - "DEVELOPER", - "SECURITY", - "BILLING", - "VIEWER", - "VIEWER_FOR_PLUS", - "CONTRIBUTOR" - ], - "description": "The role used for the invitation", - "example": "MEMBER" - }, - "teamRoles": { - "items": { - "type": "string", - "enum": [ - "OWNER", - "MEMBER", - "DEVELOPER", - "SECURITY", - "BILLING", - "VIEWER", - "VIEWER_FOR_PLUS", - "CONTRIBUTOR" - ], - "description": "The team roles of the user", - "example": [ - "MEMBER" - ] - }, - "type": "array", - "description": "The team roles of the user", - "example": [ - "MEMBER" - ] - }, - "teamPermissions": { - "items": { - "type": "string", - "enum": [ - "IntegrationManager", - "CreateProject", - "FullProductionDeployment", - "UsageViewer", - "EnvVariableManager", - "EnvironmentManager", - "V0Builder", - "V0Chatter", - "V0Viewer" - ], - "description": "The team permissions of the user", - "example": [ - "CreateProject" - ] - }, - "type": "array", - "description": "The team permissions of the user", - "example": [ - "CreateProject" - ] - } - }, - "required": [ - "uid", - "username", - "email", - "role" - ], - "type": "object", - "description": "The member was successfully added to the team" + "$ref": "#/components/schemas/InvitedTeamMember" } } } }, "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.", "content": { "application/json": { "schema": { @@ -72625,83 +86565,66 @@ "description": "" } }, - "parameters": [ - { - "name": "teamId", - "in": "path", - "required": true, - "schema": { - "type": "string", - "description": "The unique team identifier", - "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" - } - } - ], + "parameters": [], "requestBody": { "content": { "application/json": { "schema": { - "type": "object", - "required": [ - "email" - ], - "properties": { - "email": { - "type": "string", - "format": "email", - "description": "The email address of the user to invite", - "example": "john@example.com" - }, - "role": { - "type": "string", - "enum": [ - "OWNER", - "MEMBER", - "DEVELOPER", - "SECURITY", - "BILLING", - "VIEWER", - "VIEWER_FOR_PLUS", - "CONTRIBUTOR" - ], - "description": "The role of the user to invite", - "example": [ - "OWNER", - "MEMBER", - "DEVELOPER", - "SECURITY", - "BILLING", - "VIEWER", - "VIEWER_FOR_PLUS", - "CONTRIBUTOR" - ], - "default": "MEMBER" - }, - "projects": { - "type": "array", - "items": { - "type": "object", - "additionalProperties": false, - "required": [ - "role", - "projectId" + "type": "array", + "items": { + "type": "object", + "required": [ + "email" + ], + "properties": { + "email": { + "type": "string", + "format": "email", + "description": "The email address of the user to invite", + "example": "john@example.com" + }, + "role": { + "type": "string", + "enum": [ + "OWNER", + "MEMBER", + "DEVELOPER", + "SECURITY", + "BILLING", + "VIEWER", + "VIEWER_FOR_PLUS", + "CONTRIBUTOR" ], - "properties": { - "projectId": { - "type": "string", - "maxLength": 64, - "example": "prj_ndlgr43fadlPyCtREAqxxdyFK", - "description": "The ID of the project." - }, - "role": { - "type": "string", - "enum": [ - "ADMIN", - "PROJECT_VIEWER", - "PROJECT_DEVELOPER" - ], - "example": "ADMIN", - "description": "Sets the project roles for the invited user" + "default": "VIEWER", + "description": "The role of the user to invite", + "example": "VIEWER" + }, + "projects": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": false, + "required": [ + "role", + "projectId" + ], + "properties": { + "projectId": { + "type": "string", + "maxLength": 64, + "example": "prj_ndlgr43fadlPyCtREAqxxdyFK", + "description": "The ID of the project." + }, + "role": { + "type": "string", + "enum": [ + "ADMIN", + "PROJECT_VIEWER", + "PROJECT_DEVELOPER" + ], + "example": "ADMIN", + "description": "Sets the project roles for the invited user" + } } } } @@ -72709,10 +86632,8 @@ } } } - }, - "required": true - }, - "x-speakeasy-test": false + } + } } }, "/v1/teams/{teamId}/request": { @@ -73365,6 +87286,9 @@ } } }, + "409": { + "description": "" + }, "500": { "description": "" } @@ -73409,10 +87333,7 @@ "role": { "type": "string", "description": "The role in the team of the member.", - "example": [ - "MEMBER", - "VIEWER" - ], + "example": "VIEWER", "default": "MEMBER" }, "projects": { @@ -73690,7 +87611,7 @@ } }, "402": { - "description": "The account was soft-blocked for an unhandled reason.\nThe account is missing a payment so payment method must be updated" + "description": "" }, "403": { "description": "You do not have permission to access this resource.\nNot authorized to update the team. Must be an OWNER." @@ -75219,6 +89140,8 @@ "marketplace.invoice.refunded", "observability.anomaly", "observability.anomaly-error", + "observability.usage-anomaly", + "observability.error-anomaly", "observability.anomaly-botId", "test-webhook" ], @@ -75489,6 +89412,8 @@ "marketplace.invoice.refunded", "observability.anomaly", "observability.anomaly-error", + "observability.usage-anomaly", + "observability.error-anomaly", "observability.anomaly-botId", "test-webhook" ], @@ -75658,10 +89583,12 @@ "zola", "hydrogen", "vite", + "tanstack-start", "vitepress", "vuepress", "parcel", "fastapi", + "flask", "fasthtml", "sanity-v3", "sanity", @@ -75670,6 +89597,9 @@ "hono", "express", "h3", + "nestjs", + "elysia", + "fastify", "xmcp" ] }, @@ -75760,6 +89690,8 @@ "marketplace.invoice.refunded", "observability.anomaly", "observability.anomaly-error", + "observability.usage-anomaly", + "observability.error-anomaly", "observability.anomaly-botId", "test-webhook" ], @@ -75970,6 +89902,8 @@ "marketplace.invoice.refunded", "observability.anomaly", "observability.anomaly-error", + "observability.usage-anomaly", + "observability.error-anomaly", "observability.anomaly-botId", "test-webhook" ], @@ -76255,6 +90189,8 @@ "marketplace.invoice.refunded", "observability.anomaly", "observability.anomaly-error", + "observability.usage-anomaly", + "observability.error-anomaly", "observability.anomaly-botId", "test-webhook" ], @@ -79267,10 +93203,12 @@ "zola", "hydrogen", "vite", + "tanstack-start", "vitepress", "vuepress", "parcel", "fastapi", + "flask", "fasthtml", "sanity-v3", "sanity", @@ -79279,6 +93217,9 @@ "hono", "express", "h3", + "nestjs", + "elysia", + "fastify", "xmcp" ] }, @@ -79306,6 +93247,7 @@ "nodeVersion": { "type": "string", "enum": [ + "24.x", "22.x", "20.x", "18.x", @@ -79464,413 +93406,1494 @@ } }, "required": [ - "pagination", - "deployments" + "pagination", + "deployments" + ], + "type": "object" + } + } + } + }, + "400": { + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "description": "The request is not authorized.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } + }, + "403": { + "description": "You do not have permission to access this resource." + }, + "404": { + "description": "", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + }, + "422": { + "description": "" + } + }, + "parameters": [ + { + "name": "app", + "description": "Name of the deployment.", + "in": "query", + "schema": { + "description": "Name of the deployment.", + "type": "string", + "example": "docs" + } + }, + { + "name": "from", + "description": "Gets the deployment created after this Date timestamp. (default: current time)", + "in": "query", + "schema": { + "description": "Gets the deployment created after this Date timestamp. (default: current time)", + "type": "number", + "example": 1612948664566, + "deprecated": true + } + }, + { + "name": "limit", + "description": "Maximum number of deployments to list from a request.", + "in": "query", + "schema": { + "description": "Maximum number of deployments to list from a request.", + "type": "number", + "example": 10 + } + }, + { + "name": "projectId", + "description": "Filter deployments from the given ID or name.", + "in": "query", + "schema": { + "description": "Filter deployments from the given ID or name.", + "type": "string", + "example": "QmXGTs7mvAMMC7WW5ebrM33qKG32QK3h4vmQMjmY" + } + }, + { + "name": "projectIds", + "description": "Filter deployments from the given project IDs. Cannot be used when projectId is specified.", + "in": "query", + "schema": { + "description": "Filter deployments from the given project IDs. Cannot be used when projectId is specified.", + "type": "array", + "items": { + "type": "string" + }, + "example": [ + "prj_123", + "prj_456" + ], + "minItems": 1, + "maxItems": 20 + } + }, + { + "name": "target", + "description": "Filter deployments based on the environment.", + "in": "query", + "schema": { + "description": "Filter deployments based on the environment.", + "type": "string", + "example": "production" + } + }, + { + "name": "to", + "description": "Gets the deployment created before this Date timestamp. (default: current time)", + "in": "query", + "schema": { + "description": "Gets the deployment created before this Date timestamp. (default: current time)", + "type": "number", + "example": 1612948664566, + "deprecated": true + } + }, + { + "name": "users", + "description": "Filter out deployments based on users who have created the deployment.", + "in": "query", + "schema": { + "description": "Filter out deployments based on users who have created the deployment.", + "type": "string", + "example": "kr1PsOIzqEL5Xg6M4VZcZosf,K4amb7K9dAt5R2vBJWF32bmY" + } + }, + { + "name": "since", + "description": "Get Deployments created after this JavaScript timestamp.", + "in": "query", + "schema": { + "description": "Get Deployments created after this JavaScript timestamp.", + "type": "number", + "example": 1540095775941 + } + }, + { + "name": "until", + "description": "Get Deployments created before this JavaScript timestamp.", + "in": "query", + "schema": { + "description": "Get Deployments created before this JavaScript timestamp.", + "type": "number", + "example": 1540095775951 + } + }, + { + "name": "state", + "description": "Filter deployments based on their state (`BUILDING`, `ERROR`, `INITIALIZING`, `QUEUED`, `READY`, `CANCELED`)", + "in": "query", + "schema": { + "description": "Filter deployments based on their state (`BUILDING`, `ERROR`, `INITIALIZING`, `QUEUED`, `READY`, `CANCELED`)", + "type": "string", + "example": "BUILDING,READY" + } + }, + { + "name": "rollbackCandidate", + "description": "Filter deployments based on their rollback candidacy", + "in": "query", + "schema": { + "description": "Filter deployments based on their rollback candidacy", + "type": "boolean" + } + }, + { + "name": "branch", + "description": "Filter deployments based on the branch name", + "in": "query", + "schema": { + "description": "Filter deployments based on the branch name", + "type": "string" + } + }, + { + "name": "sha", + "description": "Filter deployments based on the SHA", + "in": "query", + "schema": { + "description": "Filter deployments based on the SHA", + "type": "string" + } + }, + { + "description": "The Team identifier to perform the request on behalf of.", + "in": "query", + "name": "teamId", + "schema": { + "type": "string", + "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" + } + }, + { + "description": "The Team slug to perform the request on behalf of.", + "in": "query", + "name": "slug", + "schema": { + "type": "string", + "example": "my-team-url-slug" + } + } + ], + "x-speakeasy-usage-example": { + "title": "List deployments", + "description": "List deployments under the authenticated user or team.", + "position": 1 + } + } + }, + "/v13/deployments/{id}": { + "delete": { + "description": "This API allows you to delete a deployment, either by supplying its `id` in the URL or the `url` of the deployment as a query parameter. You can obtain the ID, for example, by listing all deployments.", + "operationId": "deleteDeployment", + "security": [ + { + "bearerToken": [] + } + ], + "summary": "Delete a Deployment", + "tags": [ + "deployments" + ], + "responses": { + "200": { + "description": "The deployment was successfully deleted", + "content": { + "application/json": { + "schema": { + "properties": { + "uid": { + "type": "string", + "description": "The removed deployment ID.", + "example": "dpl_5WJWYSyB7BpgTj3EuwF37WMRBXBtPQ2iTMJHJBJyRfd" + }, + "state": { + "type": "string", + "enum": [ + "DELETED" + ], + "description": "A constant with the final state of the deployment." + } + }, + "required": [ + "uid", + "state" ], "type": "object" } } } }, - "400": { - "description": "One of the provided values in the request query is invalid.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VercelBadRequestError" - } - } - } + "400": { + "description": "One of the provided values in the request query is invalid.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelBadRequestError" + } + } + } + }, + "401": { + "description": "The request is not authorized.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelForbiddenError" + } + } + } + }, + "403": { + "description": "You do not have permission to access this resource." + }, + "404": { + "description": "The deployment was not found", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/VercelNotFoundError" + } + } + } + } + }, + "parameters": [ + { + "name": "id", + "description": "The ID of the deployment to be deleted", + "in": "path", + "required": true, + "schema": { + "description": "The ID of the deployment to be deleted", + "example": "dpl_5WJWYSyB7BpgTj3EuwF37WMRBXBtPQ2iTMJHJBJyRfd", + "type": "string" + } + }, + { + "name": "url", + "description": "A Deployment or Alias URL. In case it is passed, the ID will be ignored", + "in": "query", + "required": false, + "schema": { + "description": "A Deployment or Alias URL. In case it is passed, the ID will be ignored", + "example": "https://files-orcin-xi.vercel.app/", + "type": "string" + } + }, + { + "description": "The Team identifier to perform the request on behalf of.", + "in": "query", + "name": "teamId", + "schema": { + "type": "string", + "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" + } + }, + { + "description": "The Team slug to perform the request on behalf of.", + "in": "query", + "name": "slug", + "schema": { + "type": "string", + "example": "my-team-url-slug" + } + } + ] + } + } + }, + "components": { + "schemas": { + "ACLAction": { + "type": "string", + "enum": [ + "create", + "delete", + "read", + "update", + "list" + ], + "description": "Enum containing the actions that can be performed against a resource. Group operations are included." + }, + "FlagJSONValue": { + "nullable": true, + "oneOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "items": { + "$ref": "#/components/schemas/FlagJSONValue" + }, + "type": "array", + "description": "TODO: The following types will eventually be exported by a more relevant package." + }, + { + "additionalProperties": { + "$ref": "#/components/schemas/FlagJSONValue" + }, + "type": "object" + } + ] + }, + "Pagination": { + "properties": { + "count": { + "type": "number", + "description": "Amount of items in the current page.", + "example": 20 + }, + "next": { + "nullable": true, + "type": "number", + "description": "Timestamp that must be used to request the next page.", + "example": 1540095775951 + }, + "prev": { + "nullable": true, + "type": "number", + "description": "Timestamp that must be used to request the previous page.", + "example": 1540095775951 + } + }, + "required": [ + "count", + "next", + "prev" + ], + "type": "object", + "description": "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." + }, + "HttpApiDecodeError": { + "type": "object", + "required": [ + "issues", + "message" + ], + "properties": { + "issues": { + "type": "array", + "items": { + "$ref": "#/components/schemas/Issue" + } + }, + "message": { + "type": "string" + } + }, + "additionalProperties": false, + "description": "The request did not match the expected schema" + }, + "Issue": { + "type": "object", + "required": [ + "path", + "message" + ], + "properties": { + "path": { + "type": "array", + "items": { + "$ref": "#/components/schemas/PropertyKey" + }, + "description": "The path to the property where the issue occurred" + }, + "message": { + "type": "string", + "description": "A descriptive message explaining the issue" + } + }, + "additionalProperties": false, + "description": "Represents an error encountered while parsing a value to match the schema" + }, + "PropertyKey": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "object", + "required": [ + "_tag", + "key" + ], + "properties": { + "_tag": { + "type": "string", + "enum": [ + "symbol" + ] + }, + "key": { + "type": "string" + } + }, + "additionalProperties": false, + "description": "an object to be decoded into a globally shared symbol" + } + ] + }, + "TooManyRequests": { + "type": "object", + "required": [ + "status", + "code", + "message", + "retryAfter", + "limit" + ], + "properties": { + "status": { + "type": "number", + "enum": [ + 429 + ] + }, + "code": { + "type": "string", + "enum": [ + "too_many_requests" + ] + }, + "message": { + "type": "string" + }, + "retryAfter": { + "type": "object", + "required": [ + "value", + "str" + ], + "properties": { + "value": { + "type": "number" + }, + "str": { + "type": "string" + } + }, + "additionalProperties": false + }, + "limit": { + "type": "object", + "required": [ + "total", + "remaining", + "reset" + ], + "properties": { + "total": { + "type": "number" + }, + "remaining": { + "type": "number" + }, + "reset": { + "type": "number" + } + }, + "additionalProperties": false + } + }, + "additionalProperties": false + }, + "Unauthorized": { + "type": "object", + "required": [ + "status", + "code", + "message" + ], + "properties": { + "status": { + "type": "number", + "enum": [ + 401 + ] + }, + "code": { + "type": "string", + "enum": [ + "unauthorized" + ] + }, + "message": { + "type": "string" + } + }, + "additionalProperties": false + }, + "NotAuthorizedForScope": { + "type": "object", + "required": [ + "status", + "code", + "message" + ], + "properties": { + "status": { + "type": "number", + "enum": [ + 403 + ] + }, + "code": { + "type": "string", + "enum": [ + "not_authorized_for_scope" + ] + }, + "message": { + "type": "string" + } + }, + "additionalProperties": false + }, + "InternalServerError": { + "type": "object", + "required": [ + "status", + "code", + "message" + ], + "properties": { + "status": { + "type": "number", + "enum": [ + 500 + ] + }, + "code": { + "type": "string", + "enum": [ + "internal_server_error" + ] + }, + "message": { + "type": "string" + } + }, + "additionalProperties": false + }, + "NumberFromString": { + "type": "string", + "description": "a string to be decoded into a number" + }, + "TldNotSupported": { + "type": "object", + "required": [ + "status", + "code", + "message" + ], + "properties": { + "status": { + "type": "number", + "enum": [ + 400 + ] + }, + "code": { + "type": "string", + "enum": [ + "tld_not_supported" + ] + }, + "message": { + "type": "string" + } + }, + "additionalProperties": false, + "description": "The TLD is not currently supported." + }, + "DomainName": { + "type": "string" + }, + "NotFound": { + "type": "object", + "required": [ + "status", + "code", + "message" + ], + "properties": { + "status": { + "type": "number", + "enum": [ + 404 + ] + }, + "code": { + "type": "string", + "enum": [ + "not_found" + ] }, - "401": { - "description": "The request is not authorized.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VercelForbiddenError" - } - } - } + "message": { + "type": "string" + } + }, + "additionalProperties": false + }, + "DomainTooShort": { + "type": "object", + "required": [ + "status", + "code", + "message" + ], + "properties": { + "status": { + "type": "number", + "enum": [ + 400 + ] }, - "403": { - "description": "You do not have permission to access this resource." + "code": { + "type": "string", + "enum": [ + "domain_too_short" + ] }, - "404": { - "description": "", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VercelNotFoundError" - } - } - } + "message": { + "type": "string" + } + }, + "additionalProperties": false, + "description": "The domain name (excluding the TLD) is too short." + }, + "BadRequest": { + "type": "object", + "required": [ + "status", + "code", + "message" + ], + "properties": { + "status": { + "type": "number", + "enum": [ + 400 + ] }, - "422": { - "description": "" + "code": { + "type": "string", + "enum": [ + "bad_request" + ] + }, + "message": { + "type": "string" } }, - "parameters": [ - { - "name": "app", - "description": "Name of the deployment.", - "in": "query", - "schema": { - "description": "Name of the deployment.", - "type": "string", - "example": "docs" - } + "additionalProperties": false + }, + "DomainNotRegistered": { + "type": "object", + "required": [ + "status", + "code", + "message" + ], + "properties": { + "status": { + "type": "number", + "enum": [ + 400 + ] }, - { - "name": "from", - "description": "Gets the deployment created after this Date timestamp. (default: current time)", - "in": "query", - "schema": { - "description": "Gets the deployment created after this Date timestamp. (default: current time)", - "type": "number", - "example": 1612948664566, - "deprecated": true - } + "code": { + "type": "string", + "enum": [ + "domain_not_registered" + ] }, - { - "name": "limit", - "description": "Maximum number of deployments to list from a request.", - "in": "query", - "schema": { - "description": "Maximum number of deployments to list from a request.", - "type": "number", - "example": 10 - } + "message": { + "type": "string" + } + }, + "additionalProperties": false, + "description": "The domain is not registered with Vercel." + }, + "Forbidden": { + "type": "object", + "required": [ + "status", + "code", + "message" + ], + "properties": { + "status": { + "type": "number", + "enum": [ + 403 + ] }, - { - "name": "projectId", - "description": "Filter deployments from the given ID or name.", - "in": "query", - "schema": { - "description": "Filter deployments from the given ID or name.", - "type": "string", - "example": "QmXGTs7mvAMMC7WW5ebrM33qKG32QK3h4vmQMjmY" - } + "code": { + "type": "string", + "enum": [ + "forbidden" + ] }, - { - "name": "projectIds", - "description": "Filter deployments from the given project IDs. Cannot be used when projectId is specified.", - "in": "query", - "schema": { - "description": "Filter deployments from the given project IDs. Cannot be used when projectId is specified.", - "type": "array", - "items": { - "type": "string" - }, - "example": [ - "prj_123", - "prj_456" - ], - "minItems": 1, - "maxItems": 20 - } + "message": { + "type": "string" + } + }, + "additionalProperties": false + }, + "DomainNotFound": { + "type": "object", + "required": [ + "status", + "code", + "message" + ], + "properties": { + "status": { + "type": "number", + "enum": [ + 404 + ] }, - { - "name": "target", - "description": "Filter deployments based on the environment.", - "in": "query", - "schema": { - "description": "Filter deployments based on the environment.", - "type": "string", - "example": "production" - } + "code": { + "type": "string", + "enum": [ + "domain_not_found" + ] }, - { - "name": "to", - "description": "Gets the deployment created before this Date timestamp. (default: current time)", - "in": "query", - "schema": { - "description": "Gets the deployment created before this Date timestamp. (default: current time)", - "type": "number", - "example": 1612948664566, - "deprecated": true - } + "message": { + "type": "string" + } + }, + "additionalProperties": false, + "description": "The domain was not found in our system." + }, + "NonEmptyTrimmedString": { + "type": "string", + "description": "a non empty string", + "title": "nonEmptyString", + "pattern": "^\\S[\\s\\S]*\\S$|^\\S$|^$", + "minLength": 1 + }, + "EmailAddress": { + "type": "string", + "description": "a non empty string", + "title": "nonEmptyString", + "minLength": 1 + }, + "E164PhoneNumber": { + "type": "string", + "description": "A valid E.164 phone number", + "title": "nonEmptyString", + "minLength": 1, + "pattern": "^(?=(?:\\D*\\d){7,15}$)\\+[1-9]\\d{0,2}\\.?\\d+$" + }, + "CountryCode": { + "type": "string", + "description": "A valid ISO 3166-1 alpha-2 country code", + "title": "nonEmptyString", + "minLength": 1, + "pattern": "^[A-Z]{2}$" + }, + "DomainNotAvailable": { + "type": "object", + "required": [ + "status", + "code", + "message" + ], + "properties": { + "status": { + "type": "number", + "enum": [ + 400 + ] }, - { - "name": "users", - "description": "Filter out deployments based on users who have created the deployment.", - "in": "query", - "schema": { - "description": "Filter out deployments based on users who have created the deployment.", - "type": "string", - "example": "kr1PsOIzqEL5Xg6M4VZcZosf,K4amb7K9dAt5R2vBJWF32bmY" - } + "code": { + "type": "string", + "enum": [ + "domain_not_available" + ] }, - { - "name": "since", - "description": "Get Deployments created after this JavaScript timestamp.", - "in": "query", - "schema": { - "description": "Get Deployments created after this JavaScript timestamp.", - "type": "number", - "example": 1540095775941 - } + "message": { + "type": "string" + } + }, + "additionalProperties": false, + "description": "The domain is not available." + }, + "ExpectedPriceMismatch": { + "type": "object", + "required": [ + "status", + "code", + "message" + ], + "properties": { + "status": { + "type": "number", + "enum": [ + 400 + ] }, - { - "name": "until", - "description": "Get Deployments created before this JavaScript timestamp.", - "in": "query", - "schema": { - "description": "Get Deployments created before this JavaScript timestamp.", - "type": "number", - "example": 1540095775951 - } + "code": { + "type": "string", + "enum": [ + "expected_price_mismatch" + ] }, - { - "name": "state", - "description": "Filter deployments based on their state (`BUILDING`, `ERROR`, `INITIALIZING`, `QUEUED`, `READY`, `CANCELED`)", - "in": "query", - "schema": { - "description": "Filter deployments based on their state (`BUILDING`, `ERROR`, `INITIALIZING`, `QUEUED`, `READY`, `CANCELED`)", - "type": "string", - "example": "BUILDING,READY" - } + "message": { + "type": "string" + } + }, + "additionalProperties": false, + "description": "The expected price passed does not match the actual price." + }, + "AdditionalContactInfoRequired": { + "type": "object", + "required": [ + "status", + "code", + "message" + ], + "properties": { + "status": { + "type": "number", + "enum": [ + 400 + ] }, - { - "name": "rollbackCandidate", - "description": "Filter deployments based on their rollback candidacy", - "in": "query", - "schema": { - "description": "Filter deployments based on their rollback candidacy", - "type": "boolean" - } + "code": { + "type": "string", + "enum": [ + "additional_contact_info_required" + ] }, - { - "name": "branch", - "description": "Filter deployments based on the branch name", - "in": "query", - "schema": { - "description": "Filter deployments based on the branch name", - "type": "string" - } + "message": { + "type": "string" + } + }, + "additionalProperties": false, + "description": "Additional contact information is required for the TLD." + }, + "InvalidAdditionalContactInfo": { + "type": "object", + "required": [ + "status", + "code", + "message" + ], + "properties": { + "status": { + "type": "number", + "enum": [ + 400 + ] }, - { - "name": "sha", - "description": "Filter deployments based on the SHA", - "in": "query", - "schema": { - "description": "Filter deployments based on the SHA", - "type": "string" - } + "code": { + "type": "string", + "enum": [ + "invalid_additional_contact_info" + ] }, - { - "description": "The Team identifier to perform the request on behalf of.", - "in": "query", - "name": "teamId", - "schema": { - "type": "string", - "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" - } + "message": { + "type": "string" + } + }, + "additionalProperties": false, + "description": "Additional contact information provided for the TLD is invalid." + }, + "OrderTooExpensive": { + "type": "object", + "required": [ + "status", + "code", + "message" + ], + "properties": { + "status": { + "type": "number", + "enum": [ + 400 + ] }, - { - "description": "The Team slug to perform the request on behalf of.", - "in": "query", - "name": "slug", - "schema": { - "type": "string", - "example": "my-team-url-slug" - } + "code": { + "type": "string", + "enum": [ + "order_too_expensive" + ] + }, + "message": { + "type": "string" } + }, + "additionalProperties": false, + "description": "The total price of the order is too high." + }, + "DuplicateDomains": { + "type": "object", + "required": [ + "status", + "code", + "message" ], - "x-speakeasy-usage-example": { - "title": "List deployments", - "description": "List deployments under the authenticated user or team.", - "position": 1 - } - } - }, - "/v13/deployments/{id}": { - "delete": { - "description": "This API allows you to delete a deployment, either by supplying its `id` in the URL or the `url` of the deployment as a query parameter. You can obtain the ID, for example, by listing all deployments.", - "operationId": "deleteDeployment", - "security": [ - { - "bearerToken": [] + "properties": { + "status": { + "type": "number", + "enum": [ + 400 + ] + }, + "code": { + "type": "string", + "enum": [ + "duplicate_domains" + ] + }, + "message": { + "type": "string" } + }, + "additionalProperties": false, + "description": "Duplicate domains were provided." + }, + "TooManyDomains": { + "type": "object", + "required": [ + "status", + "code", + "message" ], - "summary": "Delete a Deployment", - "tags": [ - "deployments" + "properties": { + "status": { + "type": "number", + "enum": [ + 400 + ] + }, + "code": { + "type": "string", + "enum": [ + "too_many_domains" + ] + }, + "message": { + "type": "string" + } + }, + "additionalProperties": false, + "description": "The number of domains in the order is too high." + }, + "DNSSECEnabled": { + "type": "object", + "required": [ + "status", + "code", + "message" ], - "responses": { - "200": { - "description": "The deployment was successfully deleted", - "content": { - "application/json": { - "schema": { - "properties": { - "uid": { - "type": "string", - "description": "The removed deployment ID.", - "example": "dpl_5WJWYSyB7BpgTj3EuwF37WMRBXBtPQ2iTMJHJBJyRfd" - }, - "state": { - "type": "string", - "enum": [ - "DELETED" - ], - "description": "A constant with the final state of the deployment." - } - }, - "required": [ - "uid", - "state" - ], - "type": "object" - } - } - } + "properties": { + "status": { + "type": "number", + "enum": [ + 400 + ] }, - "400": { - "description": "One of the provided values in the request query is invalid.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VercelBadRequestError" - } - } - } + "code": { + "type": "string", + "enum": [ + "dnssec_enabled" + ] }, - "401": { - "description": "The request is not authorized.", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VercelForbiddenError" - } - } - } + "message": { + "type": "string" + } + }, + "additionalProperties": false, + "description": "The operation cannot be completed because DNSSEC is enabled for the domain." + }, + "DomainAlreadyOwned": { + "type": "object", + "required": [ + "status", + "code", + "message" + ], + "properties": { + "status": { + "type": "number", + "enum": [ + 400 + ] + }, + "code": { + "type": "string", + "enum": [ + "domain_already_owned" + ] + }, + "message": { + "type": "string" + } + }, + "additionalProperties": false, + "description": "The domain is already owned by another team or user." + }, + "DomainNotRenewable": { + "type": "object", + "required": [ + "status", + "code", + "message" + ], + "properties": { + "status": { + "type": "number", + "enum": [ + 400 + ] }, - "403": { - "description": "You do not have permission to access this resource." + "code": { + "type": "string", + "enum": [ + "domain_not_renewable" + ] }, - "404": { - "description": "The deployment was not found", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VercelNotFoundError" - } - } - } + "message": { + "type": "string" } }, - "parameters": [ - { - "name": "id", - "description": "The ID of the deployment to be deleted", - "in": "path", - "required": true, - "schema": { - "description": "The ID of the deployment to be deleted", - "example": "dpl_5WJWYSyB7BpgTj3EuwF37WMRBXBtPQ2iTMJHJBJyRfd", - "type": "string" - } - }, - { - "name": "url", - "description": "A Deployment or Alias URL. In case it is passed, the ID will be ignored", - "in": "query", - "required": false, - "schema": { - "description": "A Deployment or Alias URL. In case it is passed, the ID will be ignored", - "example": "https://files-orcin-xi.vercel.app/", - "type": "string" - } + "additionalProperties": false, + "description": "The domain is not renewable." + }, + "DomainAlreadyRenewing": { + "type": "object", + "required": [ + "status", + "code", + "message" + ], + "properties": { + "status": { + "type": "number", + "enum": [ + 400 + ] }, - { - "description": "The Team identifier to perform the request on behalf of.", - "in": "query", - "name": "teamId", - "schema": { - "type": "string", - "example": "team_1a2b3c4d5e6f7g8h9i0j1k2l" - } + "code": { + "type": "string", + "enum": [ + "domain_already_renewing" + ] }, - { - "description": "The Team slug to perform the request on behalf of.", - "in": "query", - "name": "slug", - "schema": { - "type": "string", - "example": "my-team-url-slug" - } + "message": { + "type": "string" } - ] - } - } - }, - "components": { - "schemas": { - "ACLAction": { - "type": "string", - "enum": [ - "create", - "delete", - "read", - "update", - "list" - ], - "description": "Enum containing the actions that can be performed against a resource. Group operations are included." + }, + "additionalProperties": false, + "description": "The domain is already renewing." }, - "FlagJSONValue": { - "nullable": true, - "oneOf": [ - { - "type": "string" - }, + "Nameserver": { + "type": "string" + }, + "RegistrantField": { + "anyOf": [ { - "type": "number" + "type": "object", + "required": [ + "description", + "required", + "type" + ], + "properties": { + "description": { + "type": "string" + }, + "required": { + "type": "boolean" + }, + "label": { + "type": "string" + }, + "validation": { + "anyOf": [ + { + "type": "string", + "enum": [ + "valid_email", + "valid_countries" + ] + }, + { + "type": "string", + "title": "`regex:${string}`", + "description": "a template literal", + "pattern": "^regex:[\\s\\S]*?$" + }, + { + "type": "string", + "title": "`min_length:${string}`", + "description": "a template literal", + "pattern": "^min_length:[\\s\\S]*?$" + } + ] + }, + "required_when": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "object", + "required": [ + "value_in" + ], + "properties": { + "value_in": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "additionalProperties": false + } + ] + }, + "type": { + "type": "string", + "enum": [ + "string" + ] + }, + "options": { + "type": "array", + "items": { + "type": "object", + "required": [ + "value", + "label" + ], + "properties": { + "value": { + "type": "string" + }, + "label": { + "type": "string" + }, + "fields": { + "type": "object", + "properties": {} + } + }, + "additionalProperties": false + } + }, + "fields": { + "type": "object", + "properties": {} + } + }, + "additionalProperties": false }, { - "type": "boolean" + "type": "object", + "required": [ + "description", + "required", + "type", + "options" + ], + "properties": { + "description": { + "type": "string" + }, + "required": { + "type": "boolean" + }, + "label": { + "type": "string" + }, + "validation": { + "anyOf": [ + { + "type": "string", + "enum": [ + "valid_email", + "valid_countries" + ] + }, + { + "type": "string", + "title": "`regex:${string}`", + "description": "a template literal", + "pattern": "^regex:[\\s\\S]*?$" + }, + { + "type": "string", + "title": "`min_length:${string}`", + "description": "a template literal", + "pattern": "^min_length:[\\s\\S]*?$" + } + ] + }, + "required_when": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "object", + "required": [ + "value_in" + ], + "properties": { + "value_in": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "additionalProperties": false + } + ] + }, + "type": { + "type": "string", + "enum": [ + "enum" + ] + }, + "options": { + "type": "array", + "items": { + "type": "object", + "required": [ + "value", + "label" + ], + "properties": { + "value": { + "type": "string" + }, + "label": { + "type": "string" + }, + "fields": { + "type": "object", + "properties": {} + } + }, + "additionalProperties": false + } + }, + "fields": { + "type": "object", + "properties": {} + } + }, + "additionalProperties": false }, { - "items": { - "$ref": "#/components/schemas/FlagJSONValue" + "type": "object", + "required": [ + "description", + "required", + "type" + ], + "properties": { + "description": { + "type": "string" + }, + "required": { + "type": "boolean" + }, + "label": { + "type": "string" + }, + "validation": { + "anyOf": [ + { + "type": "string", + "enum": [ + "valid_email", + "valid_countries" + ] + }, + { + "type": "string", + "title": "`regex:${string}`", + "description": "a template literal", + "pattern": "^regex:[\\s\\S]*?$" + }, + { + "type": "string", + "title": "`min_length:${string}`", + "description": "a template literal", + "pattern": "^min_length:[\\s\\S]*?$" + } + ] + }, + "required_when": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "object", + "required": [ + "value_in" + ], + "properties": { + "value_in": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "additionalProperties": false + } + ] + }, + "type": { + "type": "string", + "enum": [ + "acknowledgement" + ] + }, + "value": { + "type": "string" + } }, - "type": "array", - "description": "TODO: The following types will eventually be exported by a more relevant package." + "additionalProperties": false }, { - "additionalProperties": { - "$ref": "#/components/schemas/FlagJSONValue" + "type": "object", + "required": [ + "description", + "required", + "type" + ], + "properties": { + "description": { + "type": "string" + }, + "required": { + "type": "boolean" + }, + "label": { + "type": "string" + }, + "validation": { + "anyOf": [ + { + "type": "string", + "enum": [ + "valid_email", + "valid_countries" + ] + }, + { + "type": "string", + "title": "`regex:${string}`", + "description": "a template literal", + "pattern": "^regex:[\\s\\S]*?$" + }, + { + "type": "string", + "title": "`min_length:${string}`", + "description": "a template literal", + "pattern": "^min_length:[\\s\\S]*?$" + } + ] + }, + "required_when": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "object", + "required": [ + "value_in" + ], + "properties": { + "value_in": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "additionalProperties": false + } + ] + }, + "type": { + "type": "string", + "enum": [ + "notice" + ] + } }, - "type": "object" - } - ] - }, - "Pagination": { - "properties": { - "count": { - "type": "number", - "description": "Amount of items in the current page.", - "example": 20 - }, - "next": { - "nullable": true, - "type": "number", - "description": "Timestamp that must be used to request the next page.", - "example": 1540095775951 - }, - "prev": { - "nullable": true, - "type": "number", - "description": "Timestamp that must be used to request the previous page.", - "example": 1540095775951 + "additionalProperties": false } - }, - "required": [ - "count", - "next", - "prev" ], - "type": "object", - "description": "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." + "description": "Schema definition for registrant fields." }, "EdgeConfigItemValue": { "nullable": true, @@ -79976,6 +94999,7 @@ "type": { "type": "string", "enum": [ + "app", "author", "bitbucket_login", "bold", @@ -80591,78 +95615,173 @@ } }, "required": [ - "alias" - ], - "type": "object", - "description": "The payload of the event, if requested." - }, - { - "properties": { - "name": { - "type": "string" - }, - "alias": { - "type": "string" - }, - "aliasId": { - "type": "string" - }, - "deploymentId": { - "nullable": true, - "type": "string" - } - }, - "required": [ - "alias", - "aliasId", - "deploymentId" + "alias" + ], + "type": "object", + "description": "The payload of the event, if requested." + }, + { + "properties": { + "name": { + "type": "string" + }, + "alias": { + "type": "string" + }, + "aliasId": { + "type": "string" + }, + "deploymentId": { + "nullable": true, + "type": "string" + } + }, + "required": [ + "alias", + "aliasId", + "deploymentId" + ], + "type": "object", + "description": "The payload of the event, if requested." + }, + { + "properties": { + "alias": { + "type": "string" + }, + "deploymentUrl": { + "type": "string" + } + }, + "required": [ + "alias", + "deploymentUrl" + ], + "type": "object", + "description": "The payload of the event, if requested." + }, + { + "properties": { + "projectName": { + "type": "string" + }, + "autoExposeSystemEnvs": { + "type": "boolean" + } + }, + "required": [ + "projectName", + "autoExposeSystemEnvs" + ], + "type": "object", + "description": "The payload of the event, if requested." + }, + { + "properties": { + "avatar": { + "type": "string" + } + }, + "type": "object", + "description": "The payload of the event, if requested." + }, + { + "properties": { + "cn": { + "type": "string" + }, + "cns": { + "items": { + "type": "string" + }, + "type": "array" + }, + "custom": { + "type": "boolean" + }, + "id": { + "type": "string" + } + }, + "required": [ + "custom" + ], + "type": "object", + "description": "The payload of the event, if requested." + }, + { + "properties": { + "cn": { + "type": "string" + }, + "cns": { + "items": { + "type": "string" + }, + "type": "array" + }, + "id": { + "type": "string" + } + }, + "type": "object", + "description": "The payload of the event, if requested." + }, + { + "properties": { + "id": { + "type": "string" + }, + "oldTeam": { + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + }, + "newTeam": { + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "type": "object" + } + }, + "required": [ + "id" ], "type": "object", "description": "The payload of the event, if requested." }, { "properties": { - "alias": { + "src": { "type": "string" }, - "deploymentUrl": { + "dst": { "type": "string" } }, "required": [ - "alias", - "deploymentUrl" + "src", + "dst" ], "type": "object", "description": "The payload of the event, if requested." }, { "properties": { - "projectName": { + "id": { "type": "string" }, - "autoExposeSystemEnvs": { - "type": "boolean" - } - }, - "required": [ - "projectName", - "autoExposeSystemEnvs" - ], - "type": "object", - "description": "The payload of the event, if requested." - }, - { - "properties": { - "avatar": { - "type": "string" - } - }, - "type": "object", - "description": "The payload of the event, if requested." - }, - { - "properties": { "cn": { "type": "string" }, @@ -80671,16 +95790,10 @@ "type": "string" }, "type": "array" - }, - "custom": { - "type": "boolean" - }, - "id": { - "type": "string" } }, "required": [ - "custom" + "id" ], "type": "object", "description": "The payload of the event, if requested." @@ -80695,9 +95808,6 @@ "type": "string" }, "type": "array" - }, - "id": { - "type": "string" } }, "type": "object", @@ -80705,85 +95815,38 @@ }, { "properties": { - "id": { + "projectId": { "type": "string" }, - "oldTeam": { - "properties": { - "name": { - "type": "string" - } - }, - "required": [ - "name" - ], - "type": "object" + "projectName": { + "type": "string" }, - "newTeam": { - "properties": { - "name": { - "type": "string" - } + "target": { + "items": { + "type": "string" }, - "required": [ - "name" - ], - "type": "object" - } - }, - "required": [ - "id" - ], - "type": "object", - "description": "The payload of the event, if requested." - }, - { - "properties": { - "src": { - "type": "string" + "type": "array" }, - "dst": { - "type": "string" + "updated": { + "type": "boolean" } }, - "required": [ - "src", - "dst" - ], "type": "object", "description": "The payload of the event, if requested." }, { "properties": { - "id": { + "projectId": { "type": "string" }, - "cn": { + "projectName": { "type": "string" }, - "cns": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "required": [ - "id" - ], - "type": "object", - "description": "The payload of the event, if requested." - }, - { - "properties": { - "cn": { + "certId": { "type": "string" }, - "cns": { - "items": { - "type": "string" - }, - "type": "array" + "origin": { + "type": "string" } }, "type": "object", @@ -82465,6 +97528,7 @@ "gitlab", "bitbucket", "google", + "apple", "github-oauth", "github-oauth-limited" ] @@ -82741,6 +97805,18 @@ }, "type": "object" }, + "buildQueue": { + "properties": { + "configuration": { + "type": "string", + "enum": [ + "SKIP_NAMESPACE_QUEUE", + "WAIT_FOR_NAMESPACE_QUEUE" + ] + } + }, + "type": "object" + }, "awsAccountType": { "type": "string" }, @@ -82874,8 +97950,8 @@ "nullable": true, "type": "string", "enum": [ - "cards", - "list" + "list", + "cards" ] }, "favoritesViewPreference": { @@ -82920,6 +97996,12 @@ }, "type": "array" }, + "emailDomains": { + "items": { + "type": "string" + }, + "type": "array" + }, "emailNotifications": { "properties": { "rules": { @@ -83091,15 +98173,6 @@ "CONTRIBUTOR" ] }, - "confirmed": { - "type": "boolean" - }, - "confirmedAt": { - "type": "number" - }, - "accessRequestedAt": { - "type": "number" - }, "teamRoles": { "items": { "type": "string", @@ -83133,6 +98206,15 @@ }, "type": "array" }, + "confirmed": { + "type": "boolean" + }, + "confirmedAt": { + "type": "number" + }, + "accessRequestedAt": { + "type": "number" + }, "joinedFrom": { "properties": { "origin": { @@ -84280,7 +99362,147 @@ ], "type": "object" }, - "postgres": { + "postgres": { + "properties": { + "updatedAt": { + "type": "number" + }, + "blockedFrom": { + "type": "number" + }, + "blockedUntil": { + "type": "number" + }, + "blockReason": { + "type": "string", + "enum": [ + "admin_override", + "limits_exceeded" + ] + }, + "overageReason": { + "type": "string", + "enum": [ + "analyticsUsage", + "artifacts", + "bandwidth", + "blobTotalAdvancedRequests", + "blobTotalAvgSizeInBytes", + "blobTotalGetResponseObjectSizeInBytes", + "blobTotalSimpleRequests", + "connectDataTransfer", + "dataCacheRead", + "dataCacheWrite", + "edgeConfigRead", + "edgeConfigWrite", + "edgeFunctionExecutionUnits", + "edgeMiddlewareInvocations", + "edgeRequestAdditionalCpuDuration", + "edgeRequest", + "elasticConcurrencyBuildSlots", + "fastDataTransfer", + "fastOriginTransfer", + "fluidCpuDuration", + "fluidDuration", + "functionDuration", + "functionInvocation", + "imageOptimizationCacheRead", + "imageOptimizationCacheWrite", + "imageOptimizationTransformation", + "logDrainsVolume", + "monitoringMetric", + "blobDataTransfer", + "observabilityEvent", + "onDemandConcurrencyMinutes", + "runtimeCacheRead", + "runtimeCacheWrite", + "serverlessFunctionExecution", + "sourceImages", + "wafOwaspExcessBytes", + "wafOwaspRequests", + "wafRateLimitRequest", + "webAnalyticsEvent" + ] + } + }, + "required": [ + "updatedAt", + "blockReason", + "overageReason" + ], + "type": "object" + }, + "redis": { + "properties": { + "updatedAt": { + "type": "number" + }, + "blockedFrom": { + "type": "number" + }, + "blockedUntil": { + "type": "number" + }, + "blockReason": { + "type": "string", + "enum": [ + "admin_override", + "limits_exceeded" + ] + }, + "overageReason": { + "type": "string", + "enum": [ + "analyticsUsage", + "artifacts", + "bandwidth", + "blobTotalAdvancedRequests", + "blobTotalAvgSizeInBytes", + "blobTotalGetResponseObjectSizeInBytes", + "blobTotalSimpleRequests", + "connectDataTransfer", + "dataCacheRead", + "dataCacheWrite", + "edgeConfigRead", + "edgeConfigWrite", + "edgeFunctionExecutionUnits", + "edgeMiddlewareInvocations", + "edgeRequestAdditionalCpuDuration", + "edgeRequest", + "elasticConcurrencyBuildSlots", + "fastDataTransfer", + "fastOriginTransfer", + "fluidCpuDuration", + "fluidDuration", + "functionDuration", + "functionInvocation", + "imageOptimizationCacheRead", + "imageOptimizationCacheWrite", + "imageOptimizationTransformation", + "logDrainsVolume", + "monitoringMetric", + "blobDataTransfer", + "observabilityEvent", + "onDemandConcurrencyMinutes", + "runtimeCacheRead", + "runtimeCacheWrite", + "serverlessFunctionExecution", + "sourceImages", + "wafOwaspExcessBytes", + "wafOwaspRequests", + "wafRateLimitRequest", + "webAnalyticsEvent" + ] + } + }, + "required": [ + "updatedAt", + "blockReason", + "overageReason" + ], + "type": "object" + }, + "microfrontendsRequest": { "properties": { "updatedAt": { "type": "number" @@ -84297,126 +99519,11 @@ "admin_override", "limits_exceeded" ] - }, - "overageReason": { - "type": "string", - "enum": [ - "analyticsUsage", - "artifacts", - "bandwidth", - "blobTotalAdvancedRequests", - "blobTotalAvgSizeInBytes", - "blobTotalGetResponseObjectSizeInBytes", - "blobTotalSimpleRequests", - "connectDataTransfer", - "dataCacheRead", - "dataCacheWrite", - "edgeConfigRead", - "edgeConfigWrite", - "edgeFunctionExecutionUnits", - "edgeMiddlewareInvocations", - "edgeRequestAdditionalCpuDuration", - "edgeRequest", - "elasticConcurrencyBuildSlots", - "fastDataTransfer", - "fastOriginTransfer", - "fluidCpuDuration", - "fluidDuration", - "functionDuration", - "functionInvocation", - "imageOptimizationCacheRead", - "imageOptimizationCacheWrite", - "imageOptimizationTransformation", - "logDrainsVolume", - "monitoringMetric", - "blobDataTransfer", - "observabilityEvent", - "onDemandConcurrencyMinutes", - "runtimeCacheRead", - "runtimeCacheWrite", - "serverlessFunctionExecution", - "sourceImages", - "wafOwaspExcessBytes", - "wafOwaspRequests", - "wafRateLimitRequest", - "webAnalyticsEvent" - ] } }, "required": [ "updatedAt", - "blockReason", - "overageReason" - ], - "type": "object" - }, - "redis": { - "properties": { - "updatedAt": { - "type": "number" - }, - "blockedFrom": { - "type": "number" - }, - "blockedUntil": { - "type": "number" - }, - "blockReason": { - "type": "string", - "enum": [ - "admin_override", - "limits_exceeded" - ] - }, - "overageReason": { - "type": "string", - "enum": [ - "analyticsUsage", - "artifacts", - "bandwidth", - "blobTotalAdvancedRequests", - "blobTotalAvgSizeInBytes", - "blobTotalGetResponseObjectSizeInBytes", - "blobTotalSimpleRequests", - "connectDataTransfer", - "dataCacheRead", - "dataCacheWrite", - "edgeConfigRead", - "edgeConfigWrite", - "edgeFunctionExecutionUnits", - "edgeMiddlewareInvocations", - "edgeRequestAdditionalCpuDuration", - "edgeRequest", - "elasticConcurrencyBuildSlots", - "fastDataTransfer", - "fastOriginTransfer", - "fluidCpuDuration", - "fluidDuration", - "functionDuration", - "functionInvocation", - "imageOptimizationCacheRead", - "imageOptimizationCacheWrite", - "imageOptimizationTransformation", - "logDrainsVolume", - "monitoringMetric", - "blobDataTransfer", - "observabilityEvent", - "onDemandConcurrencyMinutes", - "runtimeCacheRead", - "runtimeCacheWrite", - "serverlessFunctionExecution", - "sourceImages", - "wafOwaspExcessBytes", - "wafOwaspRequests", - "wafRateLimitRequest", - "webAnalyticsEvent" - ] - } - }, - "required": [ - "updatedAt", - "blockReason", - "overageReason" + "blockReason" ], "type": "object" } @@ -84867,6 +99974,9 @@ "viaGoogle": { "type": "boolean" }, + "viaApple": { + "type": "boolean" + }, "viaSamlSso": { "type": "boolean" }, @@ -84891,6 +100001,7 @@ "viaGitlab", "viaBitbucket", "viaGoogle", + "viaApple", "viaSamlSso", "viaPasskey" ], @@ -85073,6 +100184,9 @@ }, "type": "object" }, + "prevPlan": { + "type": "string" + }, "priorPlan": { "type": "string" }, @@ -85087,6 +100201,18 @@ }, "isTrialUpgrade": { "type": "boolean" + }, + "automated": { + "type": "boolean" + }, + "reason": { + "type": "string" + }, + "timestamp": { + "type": "number" + }, + "removedMemberCount": { + "type": "number" } }, "required": [ @@ -85716,7 +100842,8 @@ "type": "string", "enum": [ "BUDGET_REACHED", - "PUBLIC_API" + "PUBLIC_API", + "BACKOFFICE" ] } }, @@ -85730,6 +100857,13 @@ "properties": { "projectId": { "type": "string" + }, + "reasonCode": { + "type": "string", + "enum": [ + "PUBLIC_API", + "BACKOFFICE" + ] } }, "required": [ @@ -85765,6 +100899,9 @@ }, "staticIps": { "properties": { + "builds": { + "type": "boolean" + }, "enabled": { "type": "boolean" }, @@ -85802,6 +100939,9 @@ }, "staticIps": { "properties": { + "builds": { + "type": "boolean" + }, "enabled": { "type": "boolean" }, @@ -86438,8 +101578,8 @@ "type": "string", "enum": [ "redis", - "postgres", "edge-config", + "postgres", "blob", "integration" ] @@ -86621,6 +101761,41 @@ }, "directoryType": { "type": "string" + }, + "role": { + "type": "string", + "enum": [ + "OWNER", + "MEMBER", + "DEVELOPER", + "SECURITY", + "BILLING", + "VIEWER", + "VIEWER_FOR_PLUS", + "CONTRIBUTOR" + ] + }, + "reason": { + "type": "string" + }, + "previousPlan": { + "type": "string", + "enum": [ + "pro", + "enterprise", + "hobby" + ] + }, + "newPlan": { + "type": "string", + "enum": [ + "pro", + "enterprise", + "hobby" + ] + }, + "automated": { + "type": "boolean" } }, "type": "object", @@ -87354,7 +102529,7 @@ "projectName": { "type": "string" }, - "urls": { + "srcImages": { "items": { "type": "string" }, @@ -87363,7 +102538,7 @@ }, "required": [ "projectName", - "urls" + "srcImages" ], "type": "object", "description": "The payload of the event, if requested." @@ -87486,9 +102661,6 @@ "fallbackEnvironment": { "type": "string" }, - "enableMfeAliases": { - "type": "boolean" - }, "prev": { "properties": { "name": { @@ -87499,9 +102671,6 @@ }, "fallbackEnvironment": { "type": "string" - }, - "enableMfeAliases": { - "type": "boolean" } }, "required": [ @@ -87577,6 +102746,9 @@ "oneOf": [ { "properties": { + "isDefaultApp": { + "type": "boolean" + }, "updatedAt": { "type": "number", "description": "Timestamp when the microfrontends settings were last updated." @@ -87601,17 +102773,67 @@ "type": "boolean", "description": "Whether microfrontends are enabled for this project." }, + "defaultRoute": { + "type": "string", + "description": "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. Includes the leading slash, e.g. `/docs`" + }, + "freeProjectForLegacyLimits": { + "type": "boolean", + "description": "Whether the project was part of the legacy limits for hobby and pro-trial before billing was added. This field is only set when the team is upgraded to a paid plan and we are backfilling the subscription status. We cap the subscription to 2 projects and set this field for the 3rd project. When this field is set, the project is not charged for and we do not call any billing APIs for this project." + } + }, + "required": [ + "isDefaultApp", + "updatedAt", + "groupIds", + "enabled" + ], + "type": "object" + }, + { + "properties": { "isDefaultApp": { + "type": "boolean" + }, + "routeObservabilityToThisProject": { + "type": "boolean", + "description": "Whether observability data should be routed to this microfrontend project or a root project." + }, + "doNotRouteWithMicrofrontendsRouting": { + "type": "boolean", + "description": "Whether to add microfrontends routing to aliases. This means domains in this project will route as a microfrontend." + }, + "updatedAt": { + "type": "number", + "description": "Timestamp when the microfrontends settings were last updated." + }, + "groupIds": { + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "string" + } + ] + }, + "maxItems": 2, + "minItems": 2, + "type": "array", + "description": "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." + }, + "enabled": { "type": "boolean", - "description": "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." + "description": "Whether microfrontends are enabled for this project." }, "defaultRoute": { "type": "string", "description": "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. Includes the leading slash, e.g. `/docs`" }, - "routeObservabilityToThisProject": { + "freeProjectForLegacyLimits": { "type": "boolean", - "description": "Whether observability data should be routed to this microfrontend project or a root project." + "description": "Whether the project was part of the legacy limits for hobby and pro-trial before billing was added. This field is only set when the team is upgraded to a paid plan and we are backfilling the subscription status. We cap the subscription to 2 projects and set this field for the 3rd project. When this field is set, the project is not charged for and we do not call any billing APIs for this project." } }, "required": [ @@ -87636,6 +102858,9 @@ }, "enabled": { "type": "boolean" + }, + "freeProjectForLegacyLimits": { + "type": "boolean" } }, "required": [ @@ -87662,6 +102887,9 @@ "oneOf": [ { "properties": { + "isDefaultApp": { + "type": "boolean" + }, "updatedAt": { "type": "number", "description": "Timestamp when the microfrontends settings were last updated." @@ -87686,17 +102914,67 @@ "type": "boolean", "description": "Whether microfrontends are enabled for this project." }, + "defaultRoute": { + "type": "string", + "description": "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. Includes the leading slash, e.g. `/docs`" + }, + "freeProjectForLegacyLimits": { + "type": "boolean", + "description": "Whether the project was part of the legacy limits for hobby and pro-trial before billing was added. This field is only set when the team is upgraded to a paid plan and we are backfilling the subscription status. We cap the subscription to 2 projects and set this field for the 3rd project. When this field is set, the project is not charged for and we do not call any billing APIs for this project." + } + }, + "required": [ + "isDefaultApp", + "updatedAt", + "groupIds", + "enabled" + ], + "type": "object" + }, + { + "properties": { "isDefaultApp": { + "type": "boolean" + }, + "routeObservabilityToThisProject": { "type": "boolean", - "description": "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." + "description": "Whether observability data should be routed to this microfrontend project or a root project." + }, + "doNotRouteWithMicrofrontendsRouting": { + "type": "boolean", + "description": "Whether to add microfrontends routing to aliases. This means domains in this project will route as a microfrontend." + }, + "updatedAt": { + "type": "number", + "description": "Timestamp when the microfrontends settings were last updated." + }, + "groupIds": { + "items": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "string" + } + ] + }, + "maxItems": 2, + "minItems": 2, + "type": "array", + "description": "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." + }, + "enabled": { + "type": "boolean", + "description": "Whether microfrontends are enabled for this project." }, "defaultRoute": { "type": "string", "description": "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. Includes the leading slash, e.g. `/docs`" }, - "routeObservabilityToThisProject": { + "freeProjectForLegacyLimits": { "type": "boolean", - "description": "Whether observability data should be routed to this microfrontend project or a root project." + "description": "Whether the project was part of the legacy limits for hobby and pro-trial before billing was added. This field is only set when the team is upgraded to a paid plan and we are backfilling the subscription status. We cap the subscription to 2 projects and set this field for the 3rd project. When this field is set, the project is not charged for and we do not call any billing APIs for this project." } }, "required": [ @@ -87721,6 +102999,9 @@ }, "enabled": { "type": "boolean" + }, + "freeProjectForLegacyLimits": { + "type": "boolean" } }, "required": [ @@ -87869,11 +103150,54 @@ "appName": { "type": "string" }, + "appId": { + "type": "string" + }, "scopes": { "items": { - "type": "string" + "type": "string", + "enum": [ + "openid", + "email", + "profile", + "offline_access" + ] }, "type": "array" + }, + "permissions": { + "items": { + "type": "string", + "enum": [ + "*", + "read:user", + "read-write:user", + "read:domain", + "read-write:domain", + "read:team", + "read-write:team", + "read:billing", + "read:project", + "read-write:project", + "read:deployment", + "read-write:deployment" + ] + }, + "type": "array" + }, + "acceptedPermissionSets": { + "properties": { + "userPermissionSet": { + "items": { + "type": "string", + "enum": [ + "read:user" + ] + }, + "type": "array" + } + }, + "type": "object" } }, "required": [ @@ -87888,11 +103212,54 @@ "appName": { "type": "string" }, + "appId": { + "type": "string" + }, "nextScopes": { "items": { - "type": "string" + "type": "string", + "enum": [ + "openid", + "email", + "profile", + "offline_access" + ] }, "type": "array" + }, + "nextPermissions": { + "items": { + "type": "string", + "enum": [ + "*", + "read:user", + "read-write:user", + "read:domain", + "read-write:domain", + "read:team", + "read-write:team", + "read:billing", + "read:project", + "read-write:project", + "read:deployment", + "read-write:deployment" + ] + }, + "type": "array" + }, + "nextAcceptedPermissionSets": { + "properties": { + "userPermissionSet": { + "items": { + "type": "string", + "enum": [ + "read:user" + ] + }, + "type": "array" + } + }, + "type": "object" } }, "required": [ @@ -87906,6 +103273,9 @@ "properties": { "appName": { "type": "string" + }, + "appId": { + "type": "string" } }, "required": [ @@ -87921,11 +103291,13 @@ }, "appId": { "type": "string" + }, + "secretLastFourChars": { + "type": "string" } }, "required": [ - "appName", - "appId" + "appName" ], "type": "object", "description": "The payload of the event, if requested." @@ -87937,6 +103309,47 @@ }, "appId": { "type": "string" + }, + "resources": { + "properties": { + "projectIds": { + "properties": { + "type": { + "type": "string", + "enum": [ + "list" + ] + }, + "required": { + "type": "boolean" + }, + "items": { + "properties": { + "type": { + "type": "string", + "enum": [ + "string" + ] + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "required": [ + "type", + "required", + "items" + ], + "type": "object" + } + }, + "required": [ + "projectIds" + ], + "type": "object" } }, "required": [ @@ -87955,6 +103368,137 @@ }, "installationId": { "type": "string" + }, + "before": { + "properties": { + "resources": { + "properties": { + "projectIds": { + "properties": { + "type": { + "type": "string", + "enum": [ + "list" + ] + }, + "required": { + "type": "boolean" + }, + "items": { + "properties": { + "type": { + "type": "string", + "enum": [ + "string" + ] + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "required": [ + "type", + "required", + "items" + ], + "type": "object" + } + }, + "required": [ + "projectIds" + ], + "type": "object" + } + }, + "type": "object" + }, + "after": { + "properties": { + "resources": { + "properties": { + "projectIds": { + "properties": { + "type": { + "type": "string", + "enum": [ + "list" + ] + }, + "required": { + "type": "boolean" + }, + "items": { + "properties": { + "type": { + "type": "string", + "enum": [ + "string" + ] + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "required": [ + "type", + "required", + "items" + ], + "type": "object" + } + }, + "required": [ + "projectIds" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "required": [ + "appName" + ], + "type": "object", + "description": "The payload of the event, if requested." + }, + { + "properties": { + "appName": { + "type": "string", + "description": "The App's name at the moment this even was published (it may have changed since then)." + }, + "appId": { + "type": "string", + "description": "The App's ID. Note that not all historical events have this field." + }, + "app": { + "properties": { + "id": { + "type": "string", + "description": "The App's ID." + }, + "name": { + "type": "string", + "description": "The App's name at the moment this even was published (it may have changed since then)." + } + }, + "required": [ + "id", + "name" + ], + "type": "object", + "description": "Note that not all historical events have this field." + }, + "issuedBefore": { + "type": "number", + "description": "UNIX timestamp in seconds. Tokens issued before this timestamp will be revoked. Note that not all historical events have this field." } }, "required": [ @@ -88143,13 +103687,12 @@ "type": "string", "enum": [ "authorization_code", - "refresh_token", - "urn:ietf:params:oauth:grant-type:device_code", - "client_credentials" + "urn:ietf:params:oauth:grant-type:device_code" ] }, "appName": { - "type": "string" + "type": "string", + "description": "the app's name at the time the event was published (it could have changed since then)" }, "atTTL": { "type": "number", @@ -88176,8 +103719,61 @@ "otp", "sms", "invite", - "google" + "google", + "apple" ] + }, + "app": { + "properties": { + "clientId": { + "type": "string" + }, + "name": { + "type": "string", + "description": "the app's name at the time the event was published (it could have changed since then)" + }, + "clientAuthenticationUsed": { + "properties": { + "method": { + "type": "string", + "enum": [ + "none", + "client_secret_basic", + "client_secret_post", + "client_secret_jwt", + "private_key_jwt", + "oidc_token" + ] + }, + "secretId": { + "type": "string" + } + }, + "required": [ + "method" + ], + "type": "object" + } + }, + "required": [ + "clientId", + "name", + "clientAuthenticationUsed" + ], + "type": "object", + "description": "optional since entries prior to 2025-10-13 do not contain app information" + }, + "includesRefreshToken": { + "type": "boolean", + "description": "optional since entries prior to 2025-10-13 do not contain this field" + }, + "publicId": { + "type": "string", + "description": "optional since entries prior to 2025-10-13 do not contain this field" + }, + "sessionId": { + "type": "string", + "description": "optional since entries prior to 2025-10-13 do not contain this field" } }, "required": [ @@ -88204,6 +103800,97 @@ "type": "object", "description": "Array of events generated by the User." }, + "InvitedTeamMember": { + "properties": { + "uid": { + "type": "string", + "description": "The ID of the invited user", + "example": "kr1PsOIzqEL5Xg6M4VZcZosf" + }, + "username": { + "type": "string", + "description": "The username of the invited user", + "example": "john-doe" + }, + "email": { + "type": "string", + "description": "The email of the invited user.", + "example": "john@user.co" + }, + "role": { + "type": "string", + "enum": [ + "OWNER", + "MEMBER", + "DEVELOPER", + "SECURITY", + "BILLING", + "VIEWER", + "VIEWER_FOR_PLUS", + "CONTRIBUTOR" + ], + "description": "The role used for the invitation", + "example": "MEMBER" + }, + "teamRoles": { + "items": { + "type": "string", + "enum": [ + "OWNER", + "MEMBER", + "DEVELOPER", + "SECURITY", + "BILLING", + "VIEWER", + "VIEWER_FOR_PLUS", + "CONTRIBUTOR" + ], + "description": "The team roles of the user", + "example": [ + "MEMBER" + ] + }, + "type": "array", + "description": "The team roles of the user", + "example": [ + "MEMBER" + ] + }, + "teamPermissions": { + "items": { + "type": "string", + "enum": [ + "IntegrationManager", + "CreateProject", + "FullProductionDeployment", + "UsageViewer", + "EnvVariableManager", + "EnvironmentManager", + "V0Builder", + "V0Chatter", + "V0Viewer" + ], + "description": "The team permissions of the user", + "example": [ + "CreateProject" + ] + }, + "type": "array", + "description": "The team permissions of the user", + "example": [ + "CreateProject" + ] + } + }, + "required": [ + "uid", + "username", + "email", + "role" + ], + "type": "object", + "description": "The member was successfully added to the team." + }, "Team": { "properties": { "connect": { @@ -89146,6 +104833,7 @@ "sms", "invite", "google", + "apple", "app" ] }, @@ -89188,6 +104876,7 @@ "sms", "invite", "google", + "apple", "app" ] }, @@ -89342,6 +105031,20 @@ "type": "object", "description": "An object containing infomation related to the amount of platform resources may be allocated to the User account." }, + "buildQueue": { + "properties": { + "configuration": { + "type": "string", + "enum": [ + "SKIP_NAMESPACE_QUEUE", + "WAIT_FOR_NAMESPACE_QUEUE" + ], + "description": "An object containing infomation related to the amount of platform resources may be allocated to the User account." + } + }, + "type": "object", + "description": "An object containing infomation related to the amount of platform resources may be allocated to the User account." + }, "awsAccountType": { "type": "string", "description": "An object containing infomation related to the amount of platform resources may be allocated to the User account." @@ -89821,10 +105524,6 @@ "mode": { "type": "number", "description": "The file \"mode\" indicating file type and permissions." - }, - "symlink": { - "type": "string", - "description": "Not currently used. See `file-list-to-tree.ts`." } }, "required": [ @@ -90008,5 +105707,6 @@ } } } - } + }, + "security": [] } \ No newline at end of file From 418a38273cd14a8e2de546324db102cc86aade62 Mon Sep 17 00:00:00 2001 From: "speakeasy-github[bot]" <128539517+speakeasy-github[bot]@users.noreply.github.com> Date: Wed, 12 Nov 2025 00:17:02 +0000 Subject: [PATCH 2/2] empty commit to trigger [run-tests] workflow